summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/dist/en-US
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-23 16:45:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-23 16:45:44 +0000
commit17d6a993fc17d533460c5f40f3908c708e057c18 (patch)
tree1a3bd93e0ecd74fa02f93a528fe2f87e5314c4b5 /src/pybind/mgr/dashboard/frontend/dist/en-US
parentReleasing progress-linux version 18.2.2-0progress7.99u1. (diff)
downloadceph-17d6a993fc17d533460c5f40f3908c708e057c18.tar.xz
ceph-17d6a993fc17d533460c5f40f3908c708e057c18.zip
Merging upstream version 18.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/dist/en-US')
-rw-r--r--src/pybind/mgr/dashboard/frontend/dist/en-US/119.5ef73bbadc71cad9.js (renamed from src/pybind/mgr/dashboard/frontend/dist/en-US/119.066087561586659c.js)2
-rw-r--r--src/pybind/mgr/dashboard/frontend/dist/en-US/121.9dd4ed4e557d3110.js1
-rw-r--r--src/pybind/mgr/dashboard/frontend/dist/en-US/25.9d84971ea743706b.js1
-rw-r--r--src/pybind/mgr/dashboard/frontend/dist/en-US/3rdpartylicenses.txt654
-rw-r--r--src/pybind/mgr/dashboard/frontend/dist/en-US/803.08339784f3bb5d16.js1
-rw-r--r--src/pybind/mgr/dashboard/frontend/dist/en-US/889.a4d8d718c0568f41.js1
-rw-r--r--src/pybind/mgr/dashboard/frontend/dist/en-US/index.html4
-rw-r--r--src/pybind/mgr/dashboard/frontend/dist/en-US/main.62dae25cb6f8afb5.js3
-rw-r--r--src/pybind/mgr/dashboard/frontend/dist/en-US/main.a87f559bb03ca0fb.js3
-rw-r--r--src/pybind/mgr/dashboard/frontend/dist/en-US/runtime.a53144ca583f6e2c.js1
-rw-r--r--src/pybind/mgr/dashboard/frontend/dist/en-US/runtime.bf967bb834d79a4e.js1
-rw-r--r--src/pybind/mgr/dashboard/frontend/dist/en-US/scripts.177a7ad3f45b4499.js1
-rw-r--r--src/pybind/mgr/dashboard/frontend/dist/en-US/styles.09190db38b7a2ca4.css (renamed from src/pybind/mgr/dashboard/frontend/dist/en-US/styles.5f6140b407c420b8.css)4
13 files changed, 633 insertions, 44 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/dist/en-US/119.066087561586659c.js b/src/pybind/mgr/dashboard/frontend/dist/en-US/119.5ef73bbadc71cad9.js
index 6ff8073c1..e430b704f 100644
--- a/src/pybind/mgr/dashboard/frontend/dist/en-US/119.066087561586659c.js
+++ b/src/pybind/mgr/dashboard/frontend/dist/en-US/119.5ef73bbadc71cad9.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkceph_dashboard=self.webpackChunkceph_dashboard||[]).push([[119],{22119:(xn,Ae,r)=>{r.r(Ae),r.d(Ae,{PoolModule:()=>qe,RoutedPoolModule:()=>Dn});var C=r(88692),l=r(20092),Oe=r(54247),f=r(51389),M=r(79512),f_=r(44466),E_=r(39025),g_=r(370),p_=r(23815),g=r.n(p_),R_=r(7357),m_=r(26504),ue=r(80842);class T{constructor(){this.nodes=[],this.idTree={},this.allDevices=[],this.buckets=[],this.failureDomains={},this.failureDomainKeys=[],this.devices=[],this.deviceCount=0}static searchFailureDomains(n,_){return this.getFailureDomains(this.search(n,_))}static search(n,_){const[o,i]=_.split("~"),s=n.find(c=>["name","id","type"].some(d=>c[d]===o));return s?(n=this.getSubNodes(s,this.createIdTreeFromNodes(n)),i&&(n=this.filterNodesByDeviceType(n,i)),n):[]}static createIdTreeFromNodes(n){const _={};return n.forEach(o=>{_[o.id]=o}),_}static getSubNodes(n,_){let o=[n];return n.children&&n.children.forEach(i=>{o=o.concat(this.getSubNodes(_[i],_))}),o}static filterNodesByDeviceType(n,_){let i,o=n.filter(c=>c.device_class&&c.device_class!==_).map(c=>c.id),s=o;do{i=!1,n=n.filter(d=>!o.includes(d.id));const c=[];n.forEach(d=>{d.children&&d.children.every(P=>o.includes(P))&&(c.push(d.id),i=!0)}),i&&(o=c,s=s.concat(c))}while(i);return(n=g().cloneDeep(n)).map(c=>(c.children&&(c.children=c.children.filter(d=>!s.includes(d))),c))}static getFailureDomains(n){const _={};return n.forEach(o=>{const i=o.type;_[i]||(_[i]=[]),_[i].push(o)}),_}initCrushNodeSelection(n,_,o,i){this.nodes=n,this.idTree=T.createIdTreeFromNodes(n),n.forEach(s=>{this.idTree[s.id]=s}),this.buckets=g().sortBy(n.filter(s=>s.children),"name"),this.controls={root:_,failure:o,device:i},this.preSelectRoot(),this.controls.root.valueChanges.subscribe(()=>this.onRootChange()),this.controls.failure.valueChanges.subscribe(()=>this.onFailureDomainChange()),this.controls.device.valueChanges.subscribe(()=>this.onDeviceChange())}preSelectRoot(){const n=this.nodes.find(_=>"root"===_.type);this.silentSet(this.controls.root,n),this.onRootChange()}silentSet(n,_){n.setValue(_,{emitEvent:!1})}onRootChange(){const n=T.getSubNodes(this.controls.root.value,this.idTree),_=T.getFailureDomains(n);Object.keys(_).forEach(o=>{_[o].length<=1&&delete _[o]}),this.failureDomains=_,this.failureDomainKeys=Object.keys(_).sort(),this.updateFailureDomain()}updateFailureDomain(){let n=this.getIncludedCustomValue(this.controls.failure,Object.keys(this.failureDomains));""===n&&(n=this.setMostCommonDomain(this.controls.failure)),this.updateDevices(n)}getIncludedCustomValue(n,_){return n.dirty&&_.includes(n.value)?n.value:""}setMostCommonDomain(n){let _={n:0,type:""};return Object.keys(this.failureDomains).forEach(o=>{const i=this.failureDomains[o].length;_.n<i&&(_={n:i,type:o})}),this.silentSet(n,_.type),_.type}onFailureDomainChange(){this.updateDevices()}updateDevices(n=this.controls.failure.value){const _=g().flatten(this.failureDomains[n].map(i=>T.getSubNodes(i,this.idTree)));this.allDevices=_.filter(i=>i.device_class).map(i=>i.device_class),this.devices=g().uniq(this.allDevices).sort();const o=1===this.devices.length?this.devices[0]:this.getIncludedCustomValue(this.controls.device,this.devices);this.silentSet(this.controls.device,o),this.onDeviceChange(o)}onDeviceChange(n=this.controls.device.value){this.deviceCount=""===n?this.allDevices.length:this.allDevices.filter(_=>_===n).length}}var Fe=r(30982),C_=r(14745),b=r(65862),M_=r(93614),Ne=r(95463),E=r(90070),h_=r(30633),v=r(76111),S_=r(47557),T_=r(28211),de=r(32337),e=r(64537),be=r(62862),ve=r(83608),Pe=r(18372),$e=r(60312),fe=r(30839),Ee=r(82945),ge=r(87925),pe=r(94276),Re=r(56310),me=r(41582),Ce=r(10545);function L_(t,n){1&t&&(e.TgZ(0,"span",30),e.SDv(1,31),e.qZA())}function A_(t,n){1&t&&(e.TgZ(0,"span",30),e.SDv(1,32),e.qZA())}function F_(t,n){1&t&&(e.TgZ(0,"span",30),e.SDv(1,33),e.qZA())}function N_(t,n){1&t&&(e.TgZ(0,"option",26),e.SDv(1,34),e.qZA())}function b_(t,n){if(1&t&&(e.TgZ(0,"option",35),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_.name," ")}}function v_(t,n){1&t&&(e.TgZ(0,"span",30),e.SDv(1,36),e.qZA())}function $_(t,n){1&t&&(e.TgZ(0,"option",26),e.SDv(1,37),e.qZA())}function I_(t,n){if(1&t&&(e.TgZ(0,"option",35),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw();e.Q6J("ngValue",_),e.xp6(1),e.AsE(" ",_," ( ",o.failureDomains[_].length," ) ")}}function D_(t,n){1&t&&(e.TgZ(0,"span",30),e.SDv(1,38),e.qZA())}function x_(t,n){if(1&t&&(e.TgZ(0,"option",35),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_," ")}}let y_=(()=>{class t extends T{constructor(_,o,i,s,c){super(),this.formBuilder=_,this.activeModal=o,this.taskWrapper=i,this.crushRuleService=s,this.actionLabels=c,this.submitAction=new e.vpe,this.tooltips=this.crushRuleService.formTooltips,this.action=this.actionLabels.CREATE,this.resource="Crush Rule",this.createForm()}createForm(){this.form=this.formBuilder.group({name:["",[l.kI.required,l.kI.pattern("[A-Za-z0-9_-]+"),E.h.custom("uniqueName",_=>this.names&&-1!==this.names.indexOf(_))]],root:null,failure_domain:"",device_class:""})}ngOnInit(){this.crushRuleService.getInfo().subscribe(({names:_,nodes:o})=>{this.initCrushNodeSelection(o,this.form.get("root"),this.form.get("failure_domain"),this.form.get("device_class")),this.names=_})}onSubmit(){if(this.form.invalid)return void this.form.setErrors({cdSubmitButton:!0});const _=g().cloneDeep(this.form.value);_.root=_.root.name,""===_.device_class&&delete _.device_class,this.taskWrapper.wrapTaskAroundCall({task:new v.R("crushRule/create",_),call:this.crushRuleService.create(_)}).subscribe({error:()=>{this.form.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close(),this.submitAction.emit(_)}})}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(be.O),e.Y36(f.Kz),e.Y36(de.P),e.Y36(ve.H),e.Y36(M.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-crush-rule-form-modal"]],outputs:{submitAction:"submitAction"},features:[e.qOj],decls:55,vars:27,consts:function(){let n,_,o,i,s,c,d,P,p,R,h,S,m;return n="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",_="Name",o="Root",i="Failure domain type",s="Device class",c="Let Ceph decide",d="This field is required!",P="The name can only consist of alphanumeric characters, dashes and underscores.",p="The chosen erasure code profile name is already in use.",R="Loading...",h="This field is required!",S="Loading...",m="This field is required!",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","name",1,"cd-col-form-label"],_,[1,"required"],[1,"cd-col-form-input"],["type","text","id","name","name","name","placeholder","Name...","formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","root",1,"cd-col-form-label"],o,[3,"html"],["id","root","name","root","formControlName","root",1,"form-select"],["ngValue","",4,"ngIf"],[3,"ngValue",4,"ngFor","ngForOf"],["for","failure_domain",1,"cd-col-form-label"],i,["id","failure_domain","name","failure_domain","formControlName","failure_domain",1,"form-select"],["for","device_class",1,"cd-col-form-label"],s,["id","device_class","name","device_class","formControlName","device_class",1,"form-select"],["ngValue",""],c,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],d,P,p,R,[3,"ngValue"],h,S,m]},template:function(_,o){if(1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.ynx(11),e.SDv(12,9),e.BQk(),e._UZ(13,"span",10),e.qZA(),e.TgZ(14,"div",11),e._UZ(15,"input",12),e.YNc(16,L_,2,0,"span",13),e.YNc(17,A_,2,0,"span",13),e.YNc(18,F_,2,0,"span",13),e.qZA()(),e.TgZ(19,"div",7)(20,"label",14),e.ynx(21),e.SDv(22,15),e.BQk(),e._UZ(23,"cd-helper",16)(24,"span",10),e.qZA(),e.TgZ(25,"div",11)(26,"select",17),e.YNc(27,N_,2,0,"option",18),e.YNc(28,b_,2,2,"option",19),e.qZA(),e.YNc(29,v_,2,0,"span",13),e.qZA()(),e.TgZ(30,"div",7)(31,"label",20),e.ynx(32),e.SDv(33,21),e.BQk(),e._UZ(34,"cd-helper",16)(35,"span",10),e.qZA(),e.TgZ(36,"div",11)(37,"select",22),e.YNc(38,$_,2,0,"option",18),e.YNc(39,I_,2,3,"option",19),e.qZA(),e.YNc(40,D_,2,0,"span",13),e.qZA()(),e.TgZ(41,"div",7)(42,"label",23),e.ynx(43),e.SDv(44,24),e.BQk(),e._UZ(45,"cd-helper",16),e.qZA(),e.TgZ(46,"div",11)(47,"select",25)(48,"option",26),e.SDv(49,27),e.qZA(),e.YNc(50,x_,2,2,"option",19),e.qZA()()()(),e.TgZ(51,"div",28)(52,"cd-form-button-panel",29),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(53,"titlecase"),e.ALo(54,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&_){const i=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,19,o.action))(e.lcZ(4,21,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.form),e.xp6(10),e.Q6J("ngIf",o.form.showError("name",i,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",i,"pattern")),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",i,"uniqueName")),e.xp6(5),e.Q6J("html",o.tooltips.root),e.xp6(4),e.Q6J("ngIf",!o.buckets),e.xp6(1),e.Q6J("ngForOf",o.buckets),e.xp6(1),e.Q6J("ngIf",o.form.showError("root",i,"required")),e.xp6(5),e.Q6J("html",o.tooltips.failure_domain),e.xp6(4),e.Q6J("ngIf",!o.failureDomains),e.xp6(1),e.Q6J("ngForOf",o.failureDomainKeys),e.xp6(1),e.Q6J("ngIf",o.form.showError("failure_domain",i,"required")),e.xp6(5),e.Q6J("html",o.tooltips.device_class),e.xp6(5),e.Q6J("ngForOf",o.devices),e.xp6(2),e.Q6J("form",o.form)("submitText",e.lcZ(53,23,o.action)+" "+e.lcZ(54,25,o.resource))}},dependencies:[C.sg,C.O5,Pe.S,$e.z,fe.p,Ee.U,ge.o,pe.b,Re.P,me.V,l._Y,l.YN,l.Kr,l.Fj,l.EJ,l.JJ,l.JL,l.sg,l.u,C.rS,Ce.m]}),t})();class Z_{}var U_=r(35732);let Me=(()=>{class t{constructor(_){this.http=_,this.apiPath="api/erasure_code_profile",this.formTooltips={k:"Each object is split in data-chunks parts, each stored on a different OSD.",m:"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:"The jerasure plugin is the most generic and flexible plugin,\n it is also the default for Ceph erasure coded pools.",technique:"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:"The encoding will be done on packets of bytes size at a time.\n Choosing the right packet size is difficult.\n The jerasure documentation contains extensive information on this topic."},lrc:{description:"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:"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:"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:"The isa plugin encapsulates the ISA library. It only runs on Intel processors.",technique:"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:"The shec plugin encapsulates the multiple SHEC library.\n It allows ceph to recover data more efficiently than Reed Solomon codes.",c:"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."},clay:{description:"CLAY (short for coupled-layer) codes are erasure codes designed to\n bring about significant savings in terms of network bandwidth and disk IO when a failed\n node/OSD/rack is being repaired.",d:"Number of OSDs requested to send data during recovery of a single chunk.\n d needs to be chosen such that k+1 <= d <= k+m-1. The larger the d, the better\n the savings.",scalar_mds:"scalar_mds specifies the plugin that is used as a building block\n in the layered construction. It can be one of jerasure, isa, shec.",technique:"technique specifies the technique that will be picked\n within the 'scalar_mds' plugin specified. Supported techniques\n are 'reed_sol_van', 'reed_sol_r6_op', 'cauchy_orig',\n 'cauchy_good', 'liber8tion' for jerasure, 'reed_sol_van',\n 'cauchy' for isa and 'single', 'multiple' for shec."}},crushRoot:"The name of the crush bucket used for the first step of the CRUSH rule.\n For instance step take default.",crushFailureDomain:"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:"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:"Set the directory name from which the erasure code plugin is loaded."}}list(){return this.http.get(this.apiPath)}create(_){return this.http.post(this.apiPath,_,{observe:"response"})}delete(_){return this.http.delete(`${this.apiPath}/${_}`,{observe:"response"})}getInfo(){return this.http.get(`ui-${this.apiPath}/info`)}}return t.\u0275fac=function(_){return new(_||t)(e.LFG(U_.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function G_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,47),e.qZA())}function H_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,48),e.qZA())}function z_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,49),e.qZA())}function q_(t,n){1&t&&(e.TgZ(0,"option",37),e.SDv(1,50),e.qZA())}function X_(t,n){if(1&t&&(e.TgZ(0,"option",51),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_," ")}}function Q_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,52),e.qZA())}function w_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,53),e.qZA())}function J_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,54),e.qZA())}function k_(t,n){if(1&t&&(e.TgZ(0,"span",46),e.SDv(1,55),e.qZA()),2&t){const _=e.oxw();e.xp6(1),e.pQV(_.deviceCount),e.QtT(1)}}function V_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,56),e.qZA())}function Y_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,57),e.qZA())}function B_(t,n){if(1&t&&(e.TgZ(0,"span",39),e.SDv(1,58),e.qZA()),2&t){const _=e.oxw();e.xp6(1),e.pQV(_.lrcMultiK),e.QtT(1)}}function j_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,59),e.qZA())}function K_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,60),e.qZA())}function W_(t,n){if(1&t&&(e.TgZ(0,"span",46),e.SDv(1,61),e.qZA()),2&t){const _=e.oxw();e.xp6(1),e.pQV(_.deviceCount),e.QtT(1)}}function eo(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,65),e.qZA())}function _o(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,66),e.qZA())}function oo(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",62)(2,"span",14),e.SDv(3,63),e.qZA(),e._UZ(4,"cd-helper",16),e.qZA(),e.TgZ(5,"div",10),e._UZ(6,"input",64),e.YNc(7,eo,2,0,"span",12),e.YNc(8,_o,2,0,"span",12),e.qZA()()),2&t){const _=e.oxw(),o=e.MAs(7);e.xp6(4),e.Q6J("html",_.tooltips.plugins.shec.c),e.xp6(3),e.Q6J("ngIf",_.form.showError("c",o,"min")),e.xp6(1),e.Q6J("ngIf",_.form.showError("c",o,"cGreaterM"))}}function to(t,n){1&t&&(e.TgZ(0,"span",39),e.SDv(1,74),e.qZA())}function no(t,n){if(1&t&&(e.TgZ(0,"span",39),e.SDv(1,75),e.qZA()),2&t){const _=e.oxw(3);e.xp6(1),e.pQV(_.getDMin())(_.getDMax()),e.QtT(1)}}function io(t,n){if(1&t&&(e.TgZ(0,"span",39),e.SDv(1,76),e.qZA()),2&t){const _=e.oxw(3);e.xp6(1),e.pQV(_.getDMax()),e.QtT(1)}}function so(t,n){if(1&t&&(e.ynx(0),e.YNc(1,no,2,2,"span",23),e.YNc(2,io,2,1,"span",23),e.BQk()),2&t){const _=e.oxw(2);e.xp6(1),e.Q6J("ngIf",_.getDMin()<_.getDMax()),e.xp6(1),e.Q6J("ngIf",_.getDMin()===_.getDMax())}}function ao(t,n){if(1&t&&(e.TgZ(0,"span",46),e.SDv(1,77),e.qZA()),2&t){const _=e.oxw(2);e.xp6(1),e.pQV(_.getDMin()),e.QtT(1)}}function lo(t,n){if(1&t&&(e.TgZ(0,"span",46),e.SDv(1,78),e.qZA()),2&t){const _=e.oxw(2);e.xp6(1),e.pQV(_.getDMax()),e.QtT(1)}}function ro(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div",7)(1,"label",67)(2,"span",14),e.SDv(3,68),e.qZA(),e._UZ(4,"cd-helper",16),e.qZA(),e.TgZ(5,"div",10)(6,"div",69),e._UZ(7,"input",70),e.TgZ(8,"button",71),e.NdJ("click",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.toggleDCalc())}),e._UZ(9,"i",72),e.qZA()(),e.YNc(10,to,2,0,"span",23),e.YNc(11,so,3,2,"ng-container",73),e.YNc(12,ao,2,1,"span",12),e.YNc(13,lo,2,1,"span",12),e.qZA()()}if(2&t){const _=e.oxw(),o=e.MAs(7);e.xp6(4),e.Q6J("html",_.tooltips.plugins.clay.d),e.xp6(5),e.Q6J("ngClass",_.dCalc?_.icons.unlock:_.icons.lock),e.xp6(1),e.Q6J("ngIf",_.dCalc),e.xp6(1),e.Q6J("ngIf",!_.dCalc),e.xp6(1),e.Q6J("ngIf",_.form.showError("d",o,"dMin")),e.xp6(1),e.Q6J("ngIf",_.form.showError("d",o,"dMax"))}}function co(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,83),e.qZA())}function Oo(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,84),e.qZA())}function uo(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,85),e.qZA())}function Po(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",79)(2,"span",14),e.SDv(3,80),e.qZA(),e._UZ(4,"cd-helper",16),e.qZA(),e.TgZ(5,"div",10),e._UZ(6,"input",81),e.YNc(7,co,2,0,"span",12),e.YNc(8,Oo,2,0,"span",12),e.YNc(9,uo,2,0,"span",12),e.TgZ(10,"span",39),e.SDv(11,82),e.qZA()()()),2&t){const _=e.oxw(),o=e.MAs(7);e.xp6(4),e.Q6J("html",_.tooltips.plugins.lrc.l),e.xp6(3),e.Q6J("ngIf",_.form.showError("l",o,"required")),e.xp6(1),e.Q6J("ngIf",_.form.showError("l",o,"min")),e.xp6(1),e.Q6J("ngIf",_.form.showError("l",o,"unequal")),e.xp6(2),e.pQV(_.lrcGroups),e.QtT(11)}}function fo(t,n){1&t&&(e.TgZ(0,"option",37),e.SDv(1,86),e.qZA())}function Eo(t,n){if(1&t&&(e.TgZ(0,"option",51),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw();e.Q6J("ngValue",_),e.xp6(1),e.AsE(" ",_," ( ",o.failureDomains[_].length," ) ")}}function go(t,n){1&t&&(e.TgZ(0,"option",37),e.SDv(1,90),e.qZA())}function po(t,n){1&t&&(e.TgZ(0,"option",37),e.SDv(1,91),e.qZA())}function Ro(t,n){if(1&t&&(e.TgZ(0,"option",51),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw(2);e.Q6J("ngValue",_),e.xp6(1),e.AsE(" ",_," ( ",o.failureDomains[_].length," ) ")}}function mo(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",87),e.ynx(2),e.SDv(3,88),e.BQk(),e._UZ(4,"cd-helper",16),e.qZA(),e.TgZ(5,"div",10)(6,"select",89),e.YNc(7,go,2,0,"option",18),e.YNc(8,po,2,0,"option",18),e.YNc(9,Ro,2,3,"option",19),e.qZA()()()),2&t){const _=e.oxw();e.xp6(4),e.Q6J("html",_.tooltips.plugins.lrc.crushLocality),e.xp6(3),e.Q6J("ngIf",!_.failureDomains),e.xp6(1),e.Q6J("ngIf",_.failureDomainKeys.length>0),e.xp6(1),e.Q6J("ngForOf",_.failureDomainKeys)}}function Co(t,n){if(1&t&&(e.TgZ(0,"option",51),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_," ")}}const Ie=function(t,n,_){return[t,n,_]};function Mo(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",92),e.ynx(2),e.SDv(3,93),e.BQk(),e._UZ(4,"cd-helper",16),e.qZA(),e.TgZ(5,"div",10)(6,"select",94),e.YNc(7,Co,2,2,"option",19),e.qZA()()()),2&t){const _=e.oxw();e.xp6(4),e.Q6J("html",_.tooltips.plugins.clay.scalar_mds),e.xp6(3),e.Q6J("ngForOf",e.kEZ(2,Ie,_.PLUGIN.JERASURE,_.PLUGIN.ISA,_.PLUGIN.SHEC))}}function ho(t,n){if(1&t&&(e.TgZ(0,"option",51),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_," ")}}function So(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",95),e.ynx(2),e.SDv(3,96),e.BQk(),e._UZ(4,"cd-helper",16),e.qZA(),e.TgZ(5,"div",10)(6,"select",97),e.YNc(7,ho,2,2,"option",19),e.qZA()()()),2&t){const _=e.oxw();e.xp6(4),e.Q6J("html",_.tooltips.plugins[_.plugin].technique),e.xp6(3),e.Q6J("ngForOf",_.techniques)}}function To(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,101),e.qZA())}function Lo(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",98),e.ynx(2),e.SDv(3,99),e.BQk(),e._UZ(4,"cd-helper",16),e.qZA(),e.TgZ(5,"div",10),e._UZ(6,"input",100),e.YNc(7,To,2,0,"span",12),e.qZA()()),2&t){const _=e.oxw(),o=e.MAs(7);e.xp6(4),e.Q6J("html",_.tooltips.plugins.jerasure.packetSize),e.xp6(3),e.Q6J("ngIf",_.form.showError("packetSize",o,"min"))}}function Ao(t,n){1&t&&(e.TgZ(0,"option",37),e.SDv(1,102),e.qZA())}function Fo(t,n){if(1&t&&(e.TgZ(0,"option",51),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_.name," ")}}function No(t,n){if(1&t&&(e.TgZ(0,"option",51),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_," ")}}let bo=(()=>{class t extends T{constructor(_,o,i,s,c){super(),this.formBuilder=_,this.activeModal=o,this.taskWrapper=i,this.ecpService=s,this.actionLabels=c,this.submitAction=new e.vpe,this.tooltips=this.ecpService.formTooltips,this.PLUGIN={LRC:"lrc",SHEC:"shec",CLAY:"clay",JERASURE:"jerasure",ISA:"isa"},this.plugin=this.PLUGIN.JERASURE,this.icons=b.P,this.action=this.actionLabels.CREATE,this.resource="EC Profile",this.createForm(),this.setJerasureDefaults()}createForm(){this.form=this.formBuilder.group({name:[null,[l.kI.required,l.kI.pattern("[A-Za-z0-9_-]+"),E.h.custom("uniqueName",_=>this.names&&-1!==this.names.indexOf(_))]],plugin:[this.PLUGIN.JERASURE,[l.kI.required]],k:[4,[l.kI.required,E.h.custom("max",()=>this.baseValueValidation(!0)),E.h.custom("unequal",_=>this.lrcDataValidation(_)),E.h.custom("kLowerM",_=>this.shecDataValidation(_))]],m:[2,[l.kI.required,E.h.custom("max",()=>this.baseValueValidation())]],crushFailureDomain:"",crushRoot:null,crushDeviceClass:"",directory:"",technique:"reed_sol_van",packetSize:[2048],l:[3,[l.kI.required,E.h.custom("unequal",_=>this.lrcLocalityValidation(_))]],crushLocality:"",c:[2,[l.kI.required,E.h.custom("cGreaterM",_=>this.shecDurabilityValidation(_))]],d:[5,[l.kI.required,E.h.custom("dMin",_=>this.dMinValidation(_)),E.h.custom("dMax",_=>this.dMaxValidation(_))]],scalar_mds:[this.PLUGIN.JERASURE,[l.kI.required]]}),this.toggleDCalc(),this.form.get("k").valueChanges.subscribe(()=>this.updateValidityOnChange(["m","l","d"])),this.form.get("m").valueChanges.subscribe(()=>this.updateValidityOnChange(["k","l","c","d"])),this.form.get("l").valueChanges.subscribe(()=>this.updateValidityOnChange(["k","m"])),this.form.get("plugin").valueChanges.subscribe(_=>this.onPluginChange(_)),this.form.get("scalar_mds").valueChanges.subscribe(()=>this.setClayDefaultsForScalar())}baseValueValidation(_=!1){return this.validValidation(()=>this.getKMSum()>this.deviceCount&&this.form.getValue("k")>this.form.getValue("m")===_)}validValidation(_,o){return!((!this.form||o)&&this.plugin!==o)&&_()}getKMSum(){return this.form.getValue("k")+this.form.getValue("m")}lrcDataValidation(_){return this.validValidation(()=>{const o=this.form.getValue("m"),i=this.form.getValue("l"),s=_+o;return this.lrcMultiK=_/(s/i),_%(s/i)!=0},"lrc")}shecDataValidation(_){return this.validValidation(()=>this.form.getValue("m")>_,"shec")}lrcLocalityValidation(_){return this.validValidation(()=>{const o=this.getKMSum();return this.lrcGroups=_>0?o/_:0,_>0&&o%_!=0},"lrc")}shecDurabilityValidation(_){return this.validValidation(()=>{const o=this.form.getValue("m");return _>o},"shec")}dMinValidation(_){return this.validValidation(()=>this.getDMin()>_,"clay")}getDMin(){return this.form.getValue("k")+1}dMaxValidation(_){return this.validValidation(()=>_>this.getDMax(),"clay")}getDMax(){const _=this.form.getValue("m");return this.form.getValue("k")+_-1}toggleDCalc(){this.dCalc=!this.dCalc,this.form.get("d")[this.dCalc?"disable":"enable"](),this.calculateD()}calculateD(){this.plugin!==this.PLUGIN.CLAY||!this.dCalc||this.form.silentSet("d",this.getDMax())}updateValidityOnChange(_){_.forEach(o=>{"d"===o&&this.calculateD(),this.form.get(o).updateValueAndValidity({emitEvent:!1})})}onPluginChange(_){this.plugin=_,_===this.PLUGIN.JERASURE?this.setJerasureDefaults():_===this.PLUGIN.LRC?this.setLrcDefaults():_===this.PLUGIN.ISA?this.setIsaDefaults():_===this.PLUGIN.SHEC?this.setShecDefaults():_===this.PLUGIN.CLAY&&this.setClayDefaults(),this.updateValidityOnChange(["m"])}setJerasureDefaults(){this.techniques=["reed_sol_van","reed_sol_r6_op","cauchy_orig","cauchy_good","liberation","blaum_roth","liber8tion"],this.setDefaults({k:4,m:2,technique:"reed_sol_van"})}setLrcDefaults(){this.setDefaults({k:4,m:2,l:3})}setIsaDefaults(){this.techniques=["reed_sol_van","cauchy"],this.setDefaults({k:7,m:3,technique:"reed_sol_van"})}setShecDefaults(){this.setDefaults({k:4,m:3,c:2})}setClayDefaults(){this.setDefaults({k:4,m:2,scalar_mds:this.PLUGIN.JERASURE}),this.setClayDefaultsForScalar()}setClayDefaultsForScalar(){const _=this.form.getValue("scalar_mds");let o="reed_sol_van";_===this.PLUGIN.JERASURE?this.techniques=["reed_sol_van","reed_sol_r6_op","cauchy_orig","cauchy_good","liber8tion"]:_===this.PLUGIN.ISA?this.techniques=["reed_sol_van","cauchy"]:(o="single",this.techniques=["single","multiple"]),this.setDefaults({technique:o})}setDefaults(_){Object.keys(_).forEach(o=>{const i=this.form.get(o),s=i.value;i.pristine||"technique"===o&&!this.techniques.includes(s)||"k"===o&&[4,7].includes(s)||"m"===o&&[2,3].includes(s)?i.setValue(_[o]):i.updateValueAndValidity()})}ngOnInit(){this.ecpService.getInfo().subscribe(({plugins:_,names:o,directory:i,nodes:s})=>{this.initCrushNodeSelection(s,this.form.get("crushRoot"),this.form.get("crushFailureDomain"),this.form.get("crushDeviceClass")),this.plugins=_,this.names=o,this.form.silentSet("directory",i),this.preValidateNumericInputFields()})}preValidateNumericInputFields(){const _=["k","m","l","c","d"].map(o=>this.form.get(o));_.forEach(o=>{o.markAsTouched(),o.markAsDirty()}),_[1].updateValueAndValidity()}onSubmit(){if(this.form.invalid)return void this.form.setErrors({cdSubmitButton:!0});const _=this.createJson();this.taskWrapper.wrapTaskAroundCall({task:new v.R("ecp/create",{name:_.name}),call:this.ecpService.create(_)}).subscribe({error:()=>{this.form.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close(),this.submitAction.emit(_)}})}createJson(){const _={technique:[this.PLUGIN.ISA,this.PLUGIN.JERASURE,this.PLUGIN.CLAY],packetSize:[this.PLUGIN.JERASURE],l:[this.PLUGIN.LRC],crushLocality:[this.PLUGIN.LRC],c:[this.PLUGIN.SHEC],d:[this.PLUGIN.CLAY],scalar_mds:[this.PLUGIN.CLAY]},o=new Z_,i=this.form.getValue("plugin");return Object.keys(this.form.controls).filter(s=>{const c=_[s],d=this.form.getValue(s);return(c&&c.includes(i)||!c)&&d&&""!==d}).forEach(s=>{this.extendJson(s,o)}),o}extendJson(_,o){const s=this.form.getValue(_);o[{crushFailureDomain:"crush-failure-domain",crushRoot:"crush-root",crushDeviceClass:"crush-device-class",packetSize:"packetsize",crushLocality:"crush-locality"}[_]||_]="crushRoot"===_?s.name:s}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(be.O),e.Y36(f.Kz),e.Y36(de.P),e.Y36(Me),e.Y36(M.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-erasure-code-profile-form-modal"]],outputs:{submitAction:"submitAction"},features:[e.qOj],decls:98,vars:53,consts:function(){let n,_,o,i,s,c,d,P,p,R,h,S,m,u,A,$,I,D,x,y,Z,U,G,H,z,q,X,Q,w,J,k,V,Y,B,j,K,N,W,ee,_e,oe,te,ne,ie,se,ae,le,re,ce;return n="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",_="Name",o="Plugin",i="Data chunks (k)",s="Coding chunks (m)",c="Crush failure domain",d="Crush root",P="Crush device class",p="Let Ceph decide",R="Available OSDs: " + "\ufffd0\ufffd" + "",h="Directory",S="This field is required!",m="The name can only consist of alphanumeric characters, dashes and underscores.",u="The chosen erasure code profile name is already in use.",A="Loading...",$="This field is required!",I="This field is required!",D="Must be equal to or greater than 2.",x="Chunks (k+m) have exceeded the available OSDs of " + "\ufffd0\ufffd" + ".",y="For an equal distribution k has to be a multiple of (k+m)/l.",Z="K has to be equal to or greater than m in order to recover data correctly through c.",U="Distribution factor: " + "\ufffd0\ufffd" + "",G="This field is required!",H="Must be equal to or greater than 1.",z="Chunks (k+m) have exceeded the available OSDs of " + "\ufffd0\ufffd" + ".",q="Durability estimator (c)",X="Must be equal to or greater than 1.",Q="C has to be equal to or lower than m as m defines the amount of chunks that can be used.",w="Helper chunks (d)",J="Set d manually or use the plugin's default calculation that maximizes d.",k="D is automatically updated on k and m changes",V="D can be set from " + "\ufffd0\ufffd" + " to " + "\ufffd1\ufffd" + "",Y="D can only be set to " + "\ufffd0\ufffd" + "",B="D has to be greater than k (" + "\ufffd0\ufffd" + ").",j="D has to be lower than k + m (" + "\ufffd0\ufffd" + ").",K="Locality (l)",N="Locality groups: " + "\ufffd0\ufffd" + "",W="This field is required!",ee="Must be equal to or greater than 1.",_e="Can't split up chunks (k+m) correctly with the current locality.",oe="Loading...",te="Crush Locality",ne="Loading...",ie="None",se="Scalar mds",ae="Technique",le="Packetsize",re="Must be equal to or greater than 1.",ce="Loading...",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","name",1,"cd-col-form-label"],_,[1,"cd-col-form-input"],["type","text","id","name","name","name","placeholder","Name...","formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","plugin",1,"cd-col-form-label"],[1,"required"],o,[3,"html"],["id","plugin","name","plugin","formControlName","plugin",1,"form-select"],["ngValue","",4,"ngIf"],[3,"ngValue",4,"ngFor","ngForOf"],["for","k",1,"cd-col-form-label"],i,["type","number","id","k","name","k","ng-model","$ctrl.erasureCodeProfile.k","placeholder","Data chunks...","formControlName","k","min","2",1,"form-control"],["class","form-text text-muted",4,"ngIf"],["for","m",1,"cd-col-form-label"],s,["type","number","id","m","name","m","placeholder","Coding chunks...","formControlName","m","min","1",1,"form-control"],["class","form-group row",4,"ngIf"],["for","crushFailureDomain",1,"cd-col-form-label"],c,["id","crushFailureDomain","name","crushFailureDomain","formControlName","crushFailureDomain",1,"form-select"],["for","crushRoot",1,"cd-col-form-label"],d,["id","crushRoot","name","crushRoot","formControlName","crushRoot",1,"form-select"],["for","crushDeviceClass",1,"cd-col-form-label"],P,["id","crushDeviceClass","name","crushDeviceClass","formControlName","crushDeviceClass",1,"form-select"],["ngValue",""],p,[1,"form-text","text-muted"],R,["for","directory",1,"cd-col-form-label"],h,["type","text","id","directory","name","directory","placeholder","Path...","formControlName","directory",1,"form-control"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],S,m,u,A,[3,"ngValue"],$,I,D,x,y,Z,U,G,H,z,["for","c",1,"cd-col-form-label"],q,["type","number","id","c","name","c","placeholder","Coding chunks...","formControlName","c","min","1",1,"form-control"],X,Q,["for","d",1,"cd-col-form-label"],w,[1,"input-group"],["type","number","id","d","name","d","placeholder","Helper chunks...","formControlName","d",1,"form-control"],["id","d-calc-btn","ngbTooltip",J,"type","button",1,"btn","btn-light",3,"click"],["aria-hidden","true",3,"ngClass"],[4,"ngIf"],k,V,Y,B,j,["for","l",1,"cd-col-form-label"],K,["type","number","id","l","name","l","placeholder","Coding chunks...","formControlName","l","min","1",1,"form-control"],N,W,ee,_e,oe,["for","crushLocality",1,"cd-col-form-label"],te,["id","crushLocality","name","crushLocality","formControlName","crushLocality",1,"form-select"],ne,ie,["for","scalar_mds",1,"cd-col-form-label"],se,["id","scalar_mds","name","scalar_mds","formControlName","scalar_mds",1,"form-select"],["for","technique",1,"cd-col-form-label"],ae,["id","technique","name","technique","formControlName","technique",1,"form-select"],["for","packetSize",1,"cd-col-form-label"],le,["type","number","id","packetSize","name","packetSize","placeholder","Packetsize...","formControlName","packetSize","min","1",1,"form-control"],re,ce]},template:function(_,o){if(1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10),e._UZ(13,"input",11),e.YNc(14,G_,2,0,"span",12),e.YNc(15,H_,2,0,"span",12),e.YNc(16,z_,2,0,"span",12),e.qZA()(),e.TgZ(17,"div",7)(18,"label",13)(19,"span",14),e.SDv(20,15),e.qZA(),e._UZ(21,"cd-helper",16),e.qZA(),e.TgZ(22,"div",10)(23,"select",17),e.YNc(24,q_,2,0,"option",18),e.YNc(25,X_,2,2,"option",19),e.qZA(),e.YNc(26,Q_,2,0,"span",12),e.qZA()(),e.TgZ(27,"div",7)(28,"label",20)(29,"span",14),e.SDv(30,21),e.qZA(),e._UZ(31,"cd-helper",16),e.qZA(),e.TgZ(32,"div",10),e._UZ(33,"input",22),e.YNc(34,w_,2,0,"span",12),e.YNc(35,J_,2,0,"span",12),e.YNc(36,k_,2,1,"span",12),e.YNc(37,V_,2,0,"span",12),e.YNc(38,Y_,2,0,"span",12),e.YNc(39,B_,2,1,"span",23),e.qZA()(),e.TgZ(40,"div",7)(41,"label",24)(42,"span",14),e.SDv(43,25),e.qZA(),e._UZ(44,"cd-helper",16),e.qZA(),e.TgZ(45,"div",10),e._UZ(46,"input",26),e.YNc(47,j_,2,0,"span",12),e.YNc(48,K_,2,0,"span",12),e.YNc(49,W_,2,1,"span",12),e.qZA()(),e.YNc(50,oo,9,3,"div",27),e.YNc(51,ro,14,6,"div",27),e.YNc(52,Po,12,5,"div",27),e.TgZ(53,"div",7)(54,"label",28),e.ynx(55),e.SDv(56,29),e.BQk(),e._UZ(57,"cd-helper",16),e.qZA(),e.TgZ(58,"div",10)(59,"select",30),e.YNc(60,fo,2,0,"option",18),e.YNc(61,Eo,2,3,"option",19),e.qZA()()(),e.YNc(62,mo,10,4,"div",27),e.YNc(63,Mo,8,6,"div",27),e.YNc(64,So,8,2,"div",27),e.YNc(65,Lo,8,2,"div",27),e.TgZ(66,"div",7)(67,"label",31),e.ynx(68),e.SDv(69,32),e.BQk(),e._UZ(70,"cd-helper",16),e.qZA(),e.TgZ(71,"div",10)(72,"select",33),e.YNc(73,Ao,2,0,"option",18),e.YNc(74,Fo,2,2,"option",19),e.qZA()()(),e.TgZ(75,"div",7)(76,"label",34),e.ynx(77),e.SDv(78,35),e.BQk(),e._UZ(79,"cd-helper",16),e.qZA(),e.TgZ(80,"div",10)(81,"select",36)(82,"option",37),e.SDv(83,38),e.qZA(),e.YNc(84,No,2,2,"option",19),e.qZA(),e.TgZ(85,"span",39),e.SDv(86,40),e.qZA()()(),e.TgZ(87,"div",7)(88,"label",41),e.ynx(89),e.SDv(90,42),e.BQk(),e._UZ(91,"cd-helper",16),e.qZA(),e.TgZ(92,"div",10),e._UZ(93,"input",43),e.qZA()()(),e.TgZ(94,"div",44)(95,"cd-form-button-panel",45),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(96,"titlecase"),e.ALo(97,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&_){const i=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,41,o.action))(e.lcZ(4,43,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.form),e.xp6(8),e.Q6J("ngIf",o.form.showError("name",i,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",i,"pattern")),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",i,"uniqueName")),e.xp6(5),e.Q6J("html",o.tooltips.plugins[o.plugin].description),e.xp6(3),e.Q6J("ngIf",!o.plugins),e.xp6(1),e.Q6J("ngForOf",o.plugins),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",i,"required")),e.xp6(5),e.Q6J("html",o.tooltips.k),e.xp6(3),e.Q6J("ngIf",o.form.showError("k",i,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("k",i,"min")),e.xp6(1),e.Q6J("ngIf",o.form.showError("k",i,"max")),e.xp6(1),e.Q6J("ngIf",o.form.showError("k",i,"unequal")),e.xp6(1),e.Q6J("ngIf",o.form.showError("k",i,"kLowerM")),e.xp6(1),e.Q6J("ngIf","lrc"===o.plugin),e.xp6(5),e.Q6J("html",o.tooltips.m),e.xp6(3),e.Q6J("ngIf",o.form.showError("m",i,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("m",i,"min")),e.xp6(1),e.Q6J("ngIf",o.form.showError("m",i,"max")),e.xp6(1),e.Q6J("ngIf","shec"===o.plugin),e.xp6(1),e.Q6J("ngIf","clay"===o.plugin),e.xp6(1),e.Q6J("ngIf",o.plugin===o.PLUGIN.LRC),e.xp6(5),e.Q6J("html",o.tooltips.crushFailureDomain),e.xp6(3),e.Q6J("ngIf",!o.failureDomains),e.xp6(1),e.Q6J("ngForOf",o.failureDomainKeys),e.xp6(1),e.Q6J("ngIf",o.plugin===o.PLUGIN.LRC),e.xp6(1),e.Q6J("ngIf",o.PLUGIN.CLAY===o.plugin),e.xp6(1),e.Q6J("ngIf",e.kEZ(49,Ie,o.PLUGIN.JERASURE,o.PLUGIN.ISA,o.PLUGIN.CLAY).includes(o.plugin)),e.xp6(1),e.Q6J("ngIf",o.plugin===o.PLUGIN.JERASURE),e.xp6(5),e.Q6J("html",o.tooltips.crushRoot),e.xp6(3),e.Q6J("ngIf",!o.buckets),e.xp6(1),e.Q6J("ngForOf",o.buckets),e.xp6(5),e.Q6J("html",o.tooltips.crushDeviceClass),e.xp6(5),e.Q6J("ngForOf",o.devices),e.xp6(2),e.pQV(o.deviceCount),e.QtT(86),e.xp6(5),e.Q6J("html",o.tooltips.directory),e.xp6(4),e.Q6J("form",o.form)("submitText",e.lcZ(96,45,o.action)+" "+e.lcZ(97,47,o.resource))}},dependencies:[C.mk,C.sg,C.O5,Pe.S,$e.z,fe.p,Ee.U,ge.o,pe.b,Re.P,me.V,l._Y,l.YN,l.Kr,l.Fj,l.wV,l.EJ,l.JJ,l.JL,l.qQ,l.sg,l.u,f._L,C.rS,Ce.m]}),t})();var vo=r(7022);class $o{constructor(){this.erasureInfo=!1,this.crushInfo=!1,this.pgs=1,this.poolTypes=["erasure","replicated"],this.applications={selected:[],default:["cephfs","rbd","rgw"],available:[],validators:[l.kI.pattern("[A-Za-z0-9_]+"),l.kI.maxLength(128)],messages:new vo.a({empty:"No applications added",selectionLimit:{text:"Applications limit reached",tooltip:"A pool can only have up to four applications definitions."},customValidations:{pattern:"Allowed characters '_a-zA-Z0-9'",maxlength:"Maximum length is 128 characters"},filter:"Filter or add applications'",add:"Add application"})}}}var De=r(63285),xe=r(47640),Io=r(60192),Do=r(30490),ye=r(61350),xo=r(17932),yo=r(63622),Zo=r(60950);const Uo=["crushInfoTabs"],Go=["crushDeletionBtn"],Ho=["ecpInfoTabs"],zo=["ecpDeletionBtn"];function qo(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,42),e.qZA())}function Xo(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,43),e.qZA())}function Qo(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,44),e.qZA())}function wo(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,45),e.qZA())}function Jo(t,n){if(1&t&&(e.TgZ(0,"option",46),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",_," ")}}function ko(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,47),e.qZA())}function Vo(t,n){if(1&t&&(e.TgZ(0,"option",46),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",_," ")}}function Yo(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,58),e.qZA())}function Bo(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,59),e.qZA())}function jo(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,60),e.qZA())}function Ko(t,n){1&t&&(e.TgZ(0,"span",55),e.SDv(1,61),e.qZA())}function Wo(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div",8)(1,"label",52),e.SDv(2,53),e.qZA(),e.TgZ(3,"div",11)(4,"input",54),e.NdJ("focus",function(){e.CHM(_);const i=e.oxw(3);return e.KtG(i.externalPgChange=!1)})("blur",function(){e.CHM(_);const i=e.oxw(3);return e.KtG(i.alignPgs())}),e.qZA(),e.YNc(5,Yo,2,0,"span",13),e.YNc(6,Bo,2,0,"span",13),e.YNc(7,jo,2,0,"span",13),e.TgZ(8,"span",55),e._UZ(9,"cd-doc",56),e.qZA(),e.YNc(10,Ko,2,0,"span",57),e.qZA()()}if(2&t){e.oxw(2);const _=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.form.showError("pgNum",_,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("pgNum",_,"min")),e.xp6(1),e.Q6J("ngIf",o.form.showError("pgNum",_,"34")),e.xp6(3),e.Q6J("ngIf",o.externalPgChange)}}function et(t,n){if(1&t&&(e.TgZ(0,"span",41)(1,"ul",66)(2,"li"),e.SDv(3,67),e.qZA(),e.TgZ(4,"li"),e.SDv(5,68),e.qZA()()()),2&t){const _=e.oxw(4);e.xp6(3),e.pQV(_.getMinSize()),e.QtT(3),e.xp6(2),e.pQV(_.getMaxSize()),e.QtT(5)}}function _t(t,n){if(1&t&&(e.TgZ(0,"span",41),e.SDv(1,69),e.qZA()),2&t){const _=e.oxw(4);e.xp6(1),e.pQV(_.getMinSize())(_.getMaxSize()),e.QtT(1)}}function ot(t,n){1&t&&(e.TgZ(0,"span",70),e.SDv(1,71),e.qZA())}function tt(t,n){if(1&t&&(e.TgZ(0,"div",8)(1,"label",62),e.SDv(2,63),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",64),e.YNc(5,et,6,2,"span",13),e.YNc(6,_t,2,2,"span",13),e.YNc(7,ot,2,0,"span",65),e.qZA()()),2&t){e.oxw(2);const _=e.MAs(2),o=e.oxw();e.xp6(4),e.Q6J("max",o.getMaxSize())("min",o.getMinSize()),e.xp6(1),e.Q6J("ngIf",o.form.showError("size",_)),e.xp6(1),e.Q6J("ngIf",o.form.showError("size",_)),e.xp6(1),e.Q6J("ngIf",1===o.form.getValue("size"))}}function nt(t,n){1&t&&(e.TgZ(0,"div",8)(1,"label",72),e.SDv(2,73),e.qZA(),e.TgZ(3,"div",11)(4,"div",74),e._UZ(5,"input",75),e.TgZ(6,"label",76),e.SDv(7,77),e.qZA()()()())}function it(t,n){if(1&t&&(e.TgZ(0,"div")(1,"div",8)(2,"label",48),e.SDv(3,49),e.qZA(),e.TgZ(4,"div",11)(5,"select",50),e.YNc(6,Vo,2,2,"option",19),e.qZA()()(),e.YNc(7,Wo,11,4,"div",51),e.YNc(8,tt,8,5,"div",51),e.YNc(9,nt,8,0,"div",51),e.qZA()),2&t){const _=e.oxw(2);e.xp6(6),e.Q6J("ngForOf",_.pgAutoscaleModes),e.xp6(1),e.Q6J("ngIf","on"!==_.form.getValue("pgAutoscaleMode")),e.xp6(1),e.Q6J("ngIf",_.isReplicated),e.xp6(1),e.Q6J("ngIf",_.info.is_all_bluestore&&_.isErasure)}}function st(t,n){if(1&t&&e._UZ(0,"i",78),2&t){const _=e.oxw(2);e.Gre("",_.icons.warning," icon-warning-color")}}function at(t,n){1&t&&(e.TgZ(0,"option",17),e.SDv(1,92),e.qZA())}function lt(t,n){1&t&&(e.TgZ(0,"option",93),e.SDv(1,94),e.qZA()),2&t&&e.Q6J("ngValue",null)}function rt(t,n){1&t&&(e.TgZ(0,"option",93),e.SDv(1,95),e.qZA()),2&t&&e.Q6J("ngValue",null)}function ct(t,n){if(1&t&&(e.TgZ(0,"option",93),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_.name," ")}}const F=function(t){return[t]};function Ot(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"button",96),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(4);return e.KtG(i.addErasureCodeProfile())}),e._UZ(1,"i",88),e.qZA()}if(2&t){const _=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(1,F,_.icons.add))}}function dt(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"button",97,98),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(4);return e.KtG(i.deleteErasureCodeProfile())}),e._UZ(2,"i",88),e.qZA()}if(2&t){const _=e.oxw(4);e.xp6(2),e.Q6J("ngClass",e.VKq(1,F,_.icons.trash))}}const ut=function(){return["name"]};function Pt(t,n){if(1&t&&e._UZ(0,"cd-table-key-value",109),2&t){const _=e.oxw(5);e.Q6J("renderObjects",!0)("hideKeys",e.DdM(4,ut))("data",_.form.getValue("erasureProfile"))("autoReload",!1)}}function ft(t,n){1&t&&(e.TgZ(0,"span"),e.SDv(1,112),e.qZA())}function Et(t,n){if(1&t&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.xp6(1),e.hij(" ",_," ")}}function gt(t,n){if(1&t&&(e.TgZ(0,"ul"),e.YNc(1,Et,2,1,"li",113),e.qZA()),2&t){const _=e.oxw(6);e.xp6(1),e.Q6J("ngForOf",_.ecpUsage)}}function pt(t,n){if(1&t&&(e.YNc(0,ft,2,0,"ng-template",null,110,e.W1O),e.YNc(2,gt,2,1,"ul",111)),2&t){const _=e.MAs(1),o=e.oxw(5);e.xp6(2),e.Q6J("ngIf",o.ecpUsage)("ngIfElse",_)}}function Rt(t,n){if(1&t&&(e.TgZ(0,"span",99)(1,"nav",100,101),e.ynx(3,102),e.TgZ(4,"a",103),e.SDv(5,104),e.qZA(),e.YNc(6,Pt,1,5,"ng-template",105),e.BQk(),e.ynx(7,106),e.TgZ(8,"a",103),e.SDv(9,107),e.qZA(),e.YNc(10,pt,3,2,"ng-template",105),e.BQk(),e.qZA(),e._UZ(11,"div",108),e.qZA()),2&t){const _=e.MAs(2);e.xp6(11),e.Q6J("ngbNavOutlet",_)}}const Ze=function(t){return{active:t}};function mt(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div",8)(1,"label",80),e.SDv(2,81),e.qZA(),e.TgZ(3,"div",11)(4,"div",82)(5,"select",83),e.YNc(6,at,2,0,"option",84),e.YNc(7,lt,2,1,"option",85),e.YNc(8,rt,2,1,"option",85),e.YNc(9,ct,2,2,"option",86),e.qZA(),e.TgZ(10,"button",87),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(3);return e.KtG(i.data.erasureInfo=!i.data.erasureInfo)}),e._UZ(11,"i",88),e.qZA(),e.YNc(12,Ot,2,3,"button",89),e.YNc(13,dt,3,3,"button",90),e.qZA(),e.YNc(14,Rt,12,1,"span",91),e.qZA()()}if(2&t){const _=e.oxw(3);e.xp6(6),e.Q6J("ngIf",!_.ecProfiles),e.xp6(1),e.Q6J("ngIf",_.ecProfiles&&0===_.ecProfiles.length),e.xp6(1),e.Q6J("ngIf",_.ecProfiles&&_.ecProfiles.length>0),e.xp6(1),e.Q6J("ngForOf",_.ecProfiles),e.xp6(1),e.Q6J("ngClass",e.VKq(9,Ze,_.data.erasureInfo)),e.xp6(1),e.Q6J("ngClass",e.VKq(11,F,_.icons.questionCircle)),e.xp6(1),e.Q6J("ngIf",!_.editing),e.xp6(1),e.Q6J("ngIf",!_.editing),e.xp6(1),e.Q6J("ngIf",_.data.erasureInfo&&_.form.getValue("erasureProfile"))}}function Ct(t,n){1&t&&(e.TgZ(0,"div",8)(1,"label",114),e.SDv(2,115),e.qZA(),e.TgZ(3,"div",11)(4,"span",55),e.SDv(5,116),e.qZA()()())}function Mt(t,n){1&t&&(e.TgZ(0,"span",55)(1,"span"),e.SDv(2,119),e.qZA(),e._uU(3,"\xa0 "),e.qZA())}function ht(t,n){if(1&t&&(e.TgZ(0,"option",93),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_.rule_name," ")}}function St(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"button",96),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(5);return e.KtG(i.addCrushRule())}),e._UZ(1,"i",88),e.qZA()}if(2&t){const _=e.oxw(5);e.xp6(1),e.Q6J("ngClass",e.VKq(1,F,_.icons.add))}}function Tt(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"button",126,127),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(5);return e.KtG(i.deleteCrushRule())}),e._UZ(2,"i",88),e.qZA()}if(2&t){const _=e.oxw(5);e.xp6(2),e.Q6J("ngClass",e.VKq(1,F,_.icons.trash))}}const Lt=function(){return["steps","type","rule_name"]};function At(t,n){if(1&t&&e._UZ(0,"cd-table-key-value",109),2&t){const _=e.oxw(6);e.Q6J("renderObjects",!1)("hideKeys",e.DdM(4,Lt))("data",_.form.getValue("crushRule"))("autoReload",!1)}}function Ft(t,n){if(1&t&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw(7);e.xp6(1),e.hij(" ",o.describeCrushStep(_)," ")}}function Nt(t,n){if(1&t&&(e.TgZ(0,"ol"),e.YNc(1,Ft,2,1,"li",113),e.qZA()),2&t){const _=e.oxw(6);e.xp6(1),e.Q6J("ngForOf",_.form.get("crushRule").value.steps)}}function bt(t,n){1&t&&(e.TgZ(0,"span"),e.SDv(1,136),e.qZA())}function vt(t,n){if(1&t&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.xp6(1),e.hij(" ",_," ")}}function $t(t,n){if(1&t&&(e.TgZ(0,"ul"),e.YNc(1,vt,2,1,"li",113),e.qZA()),2&t){const _=e.oxw(7);e.xp6(1),e.Q6J("ngForOf",_.crushUsage)}}function It(t,n){if(1&t&&(e.YNc(0,bt,2,0,"ng-template",null,135,e.W1O),e.YNc(2,$t,2,1,"ul",111)),2&t){const _=e.MAs(1),o=e.oxw(6);e.xp6(2),e.Q6J("ngIf",o.crushUsage)("ngIfElse",_)}}function Dt(t,n){if(1&t&&(e.TgZ(0,"div",128)(1,"nav",100,129),e.ynx(3,130),e.TgZ(4,"a",103),e.SDv(5,131),e.qZA(),e.YNc(6,At,1,5,"ng-template",105),e.BQk(),e.ynx(7,132),e.TgZ(8,"a",103),e.SDv(9,133),e.qZA(),e.YNc(10,Nt,2,1,"ng-template",105),e.BQk(),e.ynx(11,106),e.TgZ(12,"a",103),e.SDv(13,134),e.qZA(),e.YNc(14,It,3,2,"ng-template",105),e.BQk(),e.qZA(),e._UZ(15,"div",108),e.qZA()),2&t){const _=e.MAs(2);e.xp6(15),e.Q6J("ngbNavOutlet",_)}}function xt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,137),e.qZA())}function yt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,138),e.qZA())}function Zt(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div")(1,"div",120)(2,"select",121)(3,"option",93),e.SDv(4,122),e.qZA(),e.YNc(5,ht,2,2,"option",86),e.qZA(),e.TgZ(6,"button",123),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(4);return e.KtG(i.data.crushInfo=!i.data.crushInfo)}),e._UZ(7,"i",88),e.qZA(),e.YNc(8,St,2,3,"button",89),e.YNc(9,Tt,3,3,"button",124),e.qZA(),e.YNc(10,Dt,16,1,"div",125),e.YNc(11,xt,2,0,"span",13),e.YNc(12,yt,2,0,"span",13),e.qZA()}if(2&t){e.oxw(3);const _=e.MAs(2),o=e.oxw();e.xp6(3),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",o.current.rules),e.xp6(1),e.Q6J("ngClass",e.VKq(9,Ze,o.data.crushInfo)),e.xp6(1),e.Q6J("ngClass",e.VKq(11,F,o.icons.questionCircle)),e.xp6(1),e.Q6J("ngIf",o.isReplicated&&!o.editing),e.xp6(1),e.Q6J("ngIf",o.isReplicated&&!o.editing),e.xp6(1),e.Q6J("ngIf",o.data.crushInfo&&o.form.getValue("crushRule")),e.xp6(1),e.Q6J("ngIf",o.form.showError("crushRule",_,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("crushRule",_,"tooFewOsds"))}}function Ut(t,n){if(1&t&&(e.TgZ(0,"div",8)(1,"label",114),e.SDv(2,117),e.qZA(),e.TgZ(3,"div",11),e.YNc(4,Mt,4,0,"ng-template",null,118,e.W1O),e.YNc(6,Zt,13,13,"div",111),e.qZA()()),2&t){const _=e.MAs(5),o=e.oxw(3);e.xp6(6),e.Q6J("ngIf",o.current.rules.length>0)("ngIfElse",_)}}function Gt(t,n){if(1&t&&(e.TgZ(0,"div")(1,"legend"),e.SDv(2,79),e.qZA(),e.YNc(3,mt,15,13,"div",51),e.YNc(4,Ct,6,0,"div",51),e.YNc(5,Ut,7,2,"div",51),e.qZA()),2&t){const _=e.oxw(2);e.xp6(3),e.Q6J("ngIf",_.isErasure),e.xp6(1),e.Q6J("ngIf",_.isErasure&&!_.editing),e.xp6(1),e.Q6J("ngIf",_.isReplicated||_.editing)}}function Ht(t,n){if(1&t&&(e.TgZ(0,"option",46),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",_," ")}}function zt(t,n){1&t&&(e.TgZ(0,"option",17),e.SDv(1,156),e.qZA())}function qt(t,n){1&t&&(e.TgZ(0,"option",17),e.SDv(1,157),e.qZA())}function Xt(t,n){if(1&t&&(e.TgZ(0,"option",46),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",_," ")}}function Qt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,158),e.qZA())}function wt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,159),e.qZA())}function Jt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,160),e.qZA())}function kt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,161),e.qZA())}function Vt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,162),e.qZA())}function Yt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,163),e.qZA())}function Bt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,164),e.qZA())}function jt(t,n){if(1&t&&(e.TgZ(0,"div")(1,"div",8)(2,"label",144),e.SDv(3,145),e.qZA(),e.TgZ(4,"div",11)(5,"select",146),e.YNc(6,zt,2,0,"option",84),e.YNc(7,qt,2,0,"option",84),e.YNc(8,Xt,2,2,"option",19),e.qZA()()(),e.TgZ(9,"div",8)(10,"label",147),e.SDv(11,148),e.qZA(),e.TgZ(12,"div",11),e._UZ(13,"input",149),e.YNc(14,Qt,2,0,"span",13),e.YNc(15,wt,2,0,"span",13),e.YNc(16,Jt,2,0,"span",13),e.qZA()(),e.TgZ(17,"div",8)(18,"label",150),e.SDv(19,151),e.qZA(),e.TgZ(20,"div",11),e._UZ(21,"input",152),e.YNc(22,kt,2,0,"span",13),e.YNc(23,Vt,2,0,"span",13),e.YNc(24,Yt,2,0,"span",13),e.qZA()(),e.TgZ(25,"div",8)(26,"label",153),e.SDv(27,154),e.qZA(),e.TgZ(28,"div",11),e._UZ(29,"input",155),e.YNc(30,Bt,2,0,"span",13),e.qZA()()()),2&t){e.oxw(2);const _=e.MAs(2),o=e.oxw();e.xp6(6),e.Q6J("ngIf",!o.info.compression_algorithms),e.xp6(1),e.Q6J("ngIf",o.info.compression_algorithms&&0===o.info.compression_algorithms.length),e.xp6(1),e.Q6J("ngForOf",o.info.compression_algorithms),e.xp6(6),e.Q6J("ngIf",o.form.showError("minBlobSize",_,"min")),e.xp6(1),e.Q6J("ngIf",o.form.showError("minBlobSize",_,"maximum")),e.xp6(1),e.Q6J("ngIf",o.form.showError("minBlobSize",_,"pattern")),e.xp6(6),e.Q6J("ngIf",o.form.showError("maxBlobSize",_,"min")),e.xp6(1),e.Q6J("ngIf",o.form.showError("maxBlobSize",_,"minimum")),e.xp6(1),e.Q6J("ngIf",o.form.showError("maxBlobSize",_,"pattern")),e.xp6(6),e.Q6J("ngIf",o.form.showError("ratio",_,"min")||o.form.showError("ratio",_,"max"))}}function Kt(t,n){if(1&t&&(e.TgZ(0,"div",139)(1,"legend"),e.SDv(2,140),e.qZA(),e.TgZ(3,"div",8)(4,"label",141),e.SDv(5,142),e.qZA(),e.TgZ(6,"div",11)(7,"select",143),e.YNc(8,Ht,2,2,"option",19),e.qZA()()(),e.YNc(9,jt,31,10,"div",20),e.qZA()),2&t){const _=e.oxw(2);e.xp6(8),e.Q6J("ngForOf",_.info.compression_modes),e.xp6(1),e.Q6J("ngIf",_.hasCompressionEnabled())}}function Wt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,165),e.qZA())}function en(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,166),e.qZA())}function _n(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",7)(9,"div",8)(10,"label",9),e.SDv(11,10),e.qZA(),e.TgZ(12,"div",11),e._UZ(13,"input",12),e.YNc(14,qo,2,0,"span",13),e.YNc(15,Xo,2,0,"span",13),e.YNc(16,Qo,2,0,"span",13),e.YNc(17,wo,2,0,"span",13),e.qZA()(),e.TgZ(18,"div",8)(19,"label",14),e.SDv(20,15),e.qZA(),e.TgZ(21,"div",11)(22,"select",16)(23,"option",17),e.SDv(24,18),e.qZA(),e.YNc(25,Jo,2,2,"option",19),e.qZA(),e.YNc(26,ko,2,0,"span",13),e.qZA()(),e.YNc(27,it,10,4,"div",20),e.TgZ(28,"div",8)(29,"label",21),e.SDv(30,22),e.qZA(),e.TgZ(31,"div",11)(32,"cd-select-badges",23),e.NdJ("selection",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.appSelection())}),e.qZA(),e.YNc(33,st,1,3,"i",24),e.qZA()(),e.YNc(34,Gt,6,3,"div",20),e.YNc(35,Kt,10,2,"div",25),e.TgZ(36,"div")(37,"legend"),e.SDv(38,26),e.qZA(),e.TgZ(39,"div",8)(40,"label",27),e.ynx(41),e.SDv(42,28),e.BQk(),e.TgZ(43,"cd-helper")(44,"span"),e.SDv(45,29),e.qZA(),e._UZ(46,"br"),e.TgZ(47,"span"),e.SDv(48,30),e.qZA()()(),e.TgZ(49,"div",11),e._UZ(50,"input",31),e.YNc(51,Wt,2,0,"span",13),e.qZA()(),e.TgZ(52,"div",8)(53,"label",32),e.ynx(54),e.SDv(55,33),e.BQk(),e.TgZ(56,"cd-helper")(57,"span"),e.SDv(58,34),e.qZA(),e._UZ(59,"br"),e.TgZ(60,"span"),e.SDv(61,35),e.qZA()()(),e.TgZ(62,"div",11),e._UZ(63,"input",36),e.YNc(64,en,2,0,"span",13),e.qZA()()(),e.TgZ(65,"div",37)(66,"cd-rbd-configuration-form",38),e.NdJ("changes",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.currentConfigurationValues=i())}),e.qZA()()(),e.TgZ(67,"div",39)(68,"cd-form-button-panel",40),e.NdJ("submitActionEvent",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.submit())}),e.ALo(69,"titlecase"),e.ALo(70,"upperFirst"),e.qZA()()()()()}if(2&t){const _=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("formGroup",o.form),e.xp6(6),e.pQV(e.lcZ(6,26,o.action))(e.lcZ(7,28,o.resource)),e.QtT(5),e.xp6(7),e.Q6J("ngIf",o.form.showError("name",_,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",_,"uniqueName")),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",_,"rbdPool")),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",_,"pattern")),e.xp6(8),e.Q6J("ngForOf",o.data.poolTypes),e.xp6(1),e.Q6J("ngIf",o.form.showError("poolType",_,"required")),e.xp6(1),e.Q6J("ngIf",o.isReplicated||o.isErasure),e.xp6(5),e.Q6J("customBadges",!0)("customBadgeValidators",o.data.applications.validators)("messages",o.data.applications.messages)("data",o.data.applications.selected)("options",o.data.applications.available)("selectionLimit",4),e.xp6(1),e.Q6J("ngIf",o.data.applications.selected<=0),e.xp6(1),e.Q6J("ngIf",o.isErasure||o.isReplicated),e.xp6(1),e.Q6J("ngIf",o.info.is_all_bluestore),e.xp6(16),e.Q6J("ngIf",o.form.showError("max_bytes",_,"pattern")),e.xp6(13),e.Q6J("ngIf",o.form.showError("max_objects",_,"min")),e.xp6(1),e.Q6J("hidden",o.isErasure||-1===o.data.applications.selected.indexOf("rbd")),e.xp6(1),e.Q6J("form",o.form)("initializeData",o.initializeConfigData),e.xp6(2),e.Q6J("form",o.form)("submitText",e.lcZ(69,30,o.action)+" "+e.lcZ(70,32,o.resource))}}let Ue=(()=>{class t extends M_.E{constructor(_,o,i,s,c,d,P,p,R,h,S){super(),this.dimlessBinaryPipe=_,this.route=o,this.router=i,this.modalService=s,this.poolService=c,this.authStorageService=d,this.formatter=P,this.taskWrapper=p,this.ecpService=R,this.crushRuleService=h,this.actionLabels=S,this.editing=!1,this.isReplicated=!1,this.isErasure=!1,this.data=new $o,this.externalPgChange=!1,this.current={rules:[]},this.initializeConfigData=new R_.t(1),this.currentConfigurationValues={},this.icons=b.P,this.crushUsage=void 0,this.ecpUsage=void 0,this.crushRuleMaxSize=10,this.editing=this.router.url.startsWith(`/pool/${M.MQ.EDIT}`),this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.CREATE,this.resource="pool",this.authenticate(),this.createForm()}authenticate(){if(this.permission=this.authStorageService.getPermissions().pool,!this.permission.read||!this.permission.update&&this.editing||!this.permission.create&&!this.editing)throw new m_._2}createForm(){const _=new Ne.d({mode:new l.p4("none"),algorithm:new l.p4(""),minBlobSize:new l.p4("",{updateOn:"blur"}),maxBlobSize:new l.p4("",{updateOn:"blur"}),ratio:new l.p4("",{updateOn:"blur"})});this.form=new Ne.d({name:new l.p4("",{validators:[l.kI.pattern(/^[.A-Za-z0-9_/-]+$/),l.kI.required,E.h.custom("rbdPool",()=>this.form&&this.form.getValue("name").includes("/")&&this.data&&-1!==this.data.applications.selected.indexOf("rbd"))]}),poolType:new l.p4("",{validators:[l.kI.required]}),crushRule:new l.p4(null,{validators:[E.h.custom("tooFewOsds",o=>this.info&&o&&this.info.osd_count<1),E.h.custom("required",o=>this.isReplicated&&this.info.crush_rules_replicated.length>0&&!o)]}),size:new l.p4("",{updateOn:"blur"}),erasureProfile:new l.p4(null),pgNum:new l.p4("",{validators:[l.kI.required]}),pgAutoscaleMode:new l.p4(null),ecOverwrites:new l.p4(!1),compression:_,max_bytes:new l.p4(""),max_objects:new l.p4(0)},[E.h.custom("form",()=>null)])}ngOnInit(){this.poolService.getInfo().subscribe(_=>{this.initInfo(_),this.editing?this.initEditMode():(this.setAvailableApps(),this.loadingReady()),this.listenToChanges(),this.setComplexValidators()})}initInfo(_){this.pgAutoscaleModes=_.pg_autoscale_modes,this.form.silentSet("pgAutoscaleMode",_.pg_autoscale_default_mode),this.form.silentSet("algorithm",_.bluestore_compression_algorithm),this.info=_,this.initEcp(_.erasure_code_profiles)}initEcp(_){this.setListControlStatus("erasureProfile",_),this.ecProfiles=_}setListControlStatus(_,o){const i=this.form.get(_),s=i.value;1!==o.length||s&&g().isEqual(s,o[0])?0===o.length&&s&&i.setValue(null):i.setValue(o[0]),o.length<=1?i.enabled&&i.disable():i.disabled&&i.enable()}initEditMode(){this.disableForEdit(),this.routeParamsSubscribe=this.route.params.subscribe(_=>this.poolService.get(_.name).subscribe(o=>{this.data.pool=o,this.initEditFormData(o),this.loadingReady()}))}disableForEdit(){["poolType","crushRule","size","erasureProfile","ecOverwrites"].forEach(_=>this.form.get(_).disable())}initEditFormData(_){this.initializeConfigData.next({initialData:_.configuration,sourceType:h_.h.pool}),this.poolTypeChange(_.type);const o=this.info.crush_rules_replicated.concat(this.info.crush_rules_erasure),i={name:_.pool_name,poolType:_.type,crushRule:o.find(s=>s.rule_name===_.crush_rule),size:_.size,erasureProfile:this.ecProfiles.find(s=>s.name===_.erasure_code_profile),pgAutoscaleMode:_.pg_autoscale_mode,pgNum:_.pg_num,ecOverwrites:_.flags_names.includes("ec_overwrites"),mode:_.options.compression_mode,algorithm:_.options.compression_algorithm,minBlobSize:this.dimlessBinaryPipe.transform(_.options.compression_min_blob_size),maxBlobSize:this.dimlessBinaryPipe.transform(_.options.compression_max_blob_size),ratio:_.options.compression_required_ratio,max_bytes:this.dimlessBinaryPipe.transform(_.quota_max_bytes),max_objects:_.quota_max_objects};Object.keys(i).forEach(s=>{const c=i[s];!g().isUndefined(c)&&""!==c&&this.form.silentSet(s,c)}),this.data.pgs=this.form.getValue("pgNum"),this.setAvailableApps(this.data.applications.default.concat(_.application_metadata)),this.data.applications.selected=_.application_metadata}setAvailableApps(_=this.data.applications.default){this.data.applications.available=g().uniq(_.sort()).map(o=>new C_.$(!1,o,""))}listenToChanges(){this.listenToChangesDuringAddEdit(),this.editing||this.listenToChangesDuringAdd()}listenToChangesDuringAddEdit(){this.form.get("pgNum").valueChanges.subscribe(_=>{const o=_-this.data.pgs;1===Math.abs(o)&&2!==_?this.doPgPowerJump(o):this.data.pgs=_})}doPgPowerJump(_){const o=this.calculatePgPower()+_;this.setPgs(-1===_?Math.round(o):Math.floor(o))}calculatePgPower(_=this.form.getValue("pgNum")){return Math.log(_)/Math.log(2)}setPgs(_){const o=Math.pow(2,_<0?0:_);this.data.pgs=o,this.form.silentSet("pgNum",o)}listenToChangesDuringAdd(){this.form.get("poolType").valueChanges.subscribe(_=>{this.poolTypeChange(_)}),this.form.get("crushRule").valueChanges.subscribe(_=>{this.crushDeletionBtn&&this.crushDeletionBtn.isOpen()&&this.crushDeletionBtn.close(),_&&(this.setCorrectMaxSize(_),this.crushRuleIsUsedBy(_.rule_name),this.replicatedRuleChange(),this.pgCalc())}),this.form.get("size").valueChanges.subscribe(()=>{this.pgCalc()}),this.form.get("erasureProfile").valueChanges.subscribe(_=>{this.ecpDeletionBtn&&this.ecpDeletionBtn.isOpen()&&this.ecpDeletionBtn.close(),_&&(this.ecpIsUsedBy(_.name),this.pgCalc())}),this.form.get("mode").valueChanges.subscribe(()=>{["minBlobSize","maxBlobSize","ratio"].forEach(_=>{this.form.get(_).updateValueAndValidity({emitEvent:!1})})}),this.form.get("minBlobSize").valueChanges.subscribe(()=>{this.form.get("maxBlobSize").updateValueAndValidity({emitEvent:!1})}),this.form.get("maxBlobSize").valueChanges.subscribe(()=>{this.form.get("minBlobSize").updateValueAndValidity({emitEvent:!1})})}poolTypeChange(_){if("replicated"===_?this.setTypeBooleans(!0,!1):this.setTypeBooleans(!1,"erasure"===_),!_||!this.info)return void(this.current.rules=[]);const o=this.info["crush_rules_"+_]||[];this.current.rules=o,!this.editing&&(this.isReplicated&&this.setListControlStatus("crushRule",o),this.replicatedRuleChange(),this.pgCalc())}setTypeBooleans(_,o){this.isReplicated=_,this.isErasure=o}replicatedRuleChange(){if(!this.isReplicated)return;const _=this.form.get("size");let o=this.form.getValue("size")||3;const i=this.getMinSize(),s=this.getMaxSize();o<i?o=i:o>s&&(o=s),o!==_.value&&this.form.silentSet("size",o)}getMinSize(){return!this.info||this.info.osd_count<1?0:1}getMaxSize(){const _=this.form.getValue("crushRule");return this.info?_?_.usable_size:Math.min(this.info.osd_count,3):0}pgCalc(){const _=this.form.getValue("poolType");if(!this.info||this.form.get("pgNum").dirty||!_)return;const o=100*this.info.osd_count,i=this.isReplicated?this.replicatedPgCalc(o):this.erasurePgCalc(o);if(!i)return;const s=this.data.pgs;this.alignPgs(i),this.externalPgChange||(this.externalPgChange=s!==this.data.pgs)}setCorrectMaxSize(_=this.form.getValue("crushRule")){if(!_)return;const i=T.searchFailureDomains(this.info.nodes,_.steps[0].item_name)[_.steps[1].type];_.usable_size=Math.min(i?i.length:this.crushRuleMaxSize,this.crushRuleMaxSize)}replicatedPgCalc(_){const o=this.form.get("size"),i=o.value;return o.valid&&i>0?_/i:0}erasurePgCalc(_){const o=this.form.get("erasureProfile"),i=o.value;return(o.valid||o.disabled)&&i?_/(i.k+i.m):0}alignPgs(_=this.form.getValue("pgNum")){this.setPgs(Math.round(this.calculatePgPower(_<1?1:_)))}setComplexValidators(){this.editing?this.form.get("name").setValidators([this.form.get("name").validator,E.h.custom("uniqueName",_=>this.data.pool&&this.info&&-1!==this.info.pool_names.indexOf(_)&&this.info.pool_names.indexOf(_)!==this.info.pool_names.indexOf(this.data.pool.pool_name))]):(E.h.validateIf(this.form.get("size"),()=>this.isReplicated,[E.h.custom("min",_=>this.form.getValue("size")&&_<this.getMinSize()),E.h.custom("max",_=>this.form.getValue("size")&&this.getMaxSize()<_)]),this.form.get("name").setValidators([this.form.get("name").validator,E.h.custom("uniqueName",_=>this.info&&-1!==this.info.pool_names.indexOf(_))])),this.setCompressionValidators()}setCompressionValidators(){E.h.validateIf(this.form.get("minBlobSize"),()=>this.hasCompressionEnabled(),[l.kI.min(0),E.h.custom("maximum",_=>this.oddBlobSize(_,this.form.getValue("maxBlobSize")))]),E.h.validateIf(this.form.get("maxBlobSize"),()=>this.hasCompressionEnabled(),[l.kI.min(0),E.h.custom("minimum",_=>this.oddBlobSize(this.form.getValue("minBlobSize"),_))]),E.h.validateIf(this.form.get("ratio"),()=>this.hasCompressionEnabled(),[l.kI.min(0),l.kI.max(1)])}oddBlobSize(_,o){const i=this.formatter.toBytes(_),s=this.formatter.toBytes(o);return Boolean(i&&s&&i>=s)}hasCompressionEnabled(){return this.form.getValue("mode")&&"none"!==this.form.get("mode").value.toLowerCase()}describeCrushStep(_){return[_.op.replace("_"," "),_.item_name||"",_.type?_.num+" type "+_.type:""].join(" ")}addErasureCodeProfile(){this.addModal(bo,_=>this.reloadECPs(_))}addModal(_,o){this.hideOpenTooltips(),this.modalService.show(_).componentInstance.submitAction.subscribe(s=>{o(s.name)})}hideOpenTooltips(){const _=o=>o&&o.isOpen()&&o.close();_(this.ecpDeletionBtn),_(this.crushDeletionBtn)}reloadECPs(_){this.reloadList({newItemName:_,getInfo:()=>this.ecpService.list(),initInfo:o=>this.initEcp(o),findNewItem:()=>this.ecProfiles.find(o=>o.name===_),controlName:"erasureProfile"})}reloadList({newItemName:_,getInfo:o,initInfo:i,findNewItem:s,controlName:c}){this.modalSubscription&&this.modalSubscription.unsubscribe(),o().subscribe(d=>{if(i(d),!_)return;const P=s();P&&this.form.get(c).setValue(P)})}deleteErasureCodeProfile(){this.deletionModal({value:this.form.getValue("erasureProfile"),usage:this.ecpUsage,deletionBtn:this.ecpDeletionBtn,dataName:"erasureInfo",getTabs:()=>this.ecpInfoTabs,tabPosition:"used-by-pools",nameAttribute:"name",itemDescription:"erasure code profile",reloadFn:()=>this.reloadECPs(),deleteFn:_=>this.ecpService.delete(_),taskName:"ecp/delete"})}deletionModal({value:_,usage:o,deletionBtn:i,dataName:s,getTabs:c,tabPosition:d,nameAttribute:P,itemDescription:p,reloadFn:R,deleteFn:h,taskName:S}){if(!_)return;if(o)return i.animation=!1,i.toggle(),this.data[s]=!0,void setTimeout(()=>{const u=c();u&&u.select(d)},50);const m=_[P];this.modalService.show(Fe.M,{itemDescription:p,itemNames:[m],submitActionObservable:()=>{const u=h(m);return u.subscribe(()=>R()),this.taskWrapper.wrapTaskAroundCall({task:new v.R(S,{name:m}),call:u})}})}addCrushRule(){this.addModal(y_,_=>this.reloadCrushRules(_))}reloadCrushRules(_){this.reloadList({newItemName:_,getInfo:()=>this.poolService.getInfo(),initInfo:o=>{this.initInfo(o),this.poolTypeChange("replicated")},findNewItem:()=>this.info.crush_rules_replicated.find(o=>o.rule_name===_),controlName:"crushRule"})}deleteCrushRule(){this.deletionModal({value:this.form.getValue("crushRule"),usage:this.crushUsage,deletionBtn:this.crushDeletionBtn,dataName:"crushInfo",getTabs:()=>this.crushInfoTabs,tabPosition:"used-by-pools",nameAttribute:"rule_name",itemDescription:"crush rule",reloadFn:()=>this.reloadCrushRules(),deleteFn:_=>this.crushRuleService.delete(_),taskName:"crushRule/delete"})}crushRuleIsUsedBy(_){this.crushUsage=_?this.info.used_rules[_]:void 0}ecpIsUsedBy(_){this.ecpUsage=_?this.info.used_profiles[_]:void 0}submit(){if(this.form.invalid)return void this.form.setErrors({cdSubmitButton:!0});const _={pool:this.form.getValue("name")};this.assignFormFields(_,[{externalFieldName:"pool_type",formControlName:"poolType"},{externalFieldName:"pg_autoscale_mode",formControlName:"pgAutoscaleMode",editable:!0},{externalFieldName:"pg_num",formControlName:"pgNum",replaceFn:i=>"on"===this.form.getValue("pgAutoscaleMode")?1:i,editable:!0},this.isReplicated?{externalFieldName:"size",formControlName:"size"}:{externalFieldName:"erasure_code_profile",formControlName:"erasureProfile",attr:"name"},{externalFieldName:"rule_name",formControlName:"crushRule",replaceFn:i=>this.isReplicated?i&&i.rule_name:void 0},{externalFieldName:"quota_max_bytes",formControlName:"max_bytes",replaceFn:this.formatter.toBytes,editable:!0,resetValue:this.editing?0:void 0},{externalFieldName:"quota_max_objects",formControlName:"max_objects",editable:!0,resetValue:this.editing?0:void 0}]),this.info.is_all_bluestore&&(this.assignFormField(_,{externalFieldName:"flags",formControlName:"ecOverwrites",replaceFn:()=>this.isErasure?["ec_overwrites"]:void 0}),"none"!==this.form.getValue("mode")?this.assignFormFields(_,[{externalFieldName:"compression_mode",formControlName:"mode",editable:!0,replaceFn:i=>this.hasCompressionEnabled()&&i},{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(_,[{externalFieldName:"compression_mode",formControlName:"mode",editable:!0,replaceFn:()=>"unset"},{externalFieldName:"srcpool",formControlName:"name",editable:!0,replaceFn:()=>this.data.pool.pool_name}]));const o=this.data.applications.selected;(o.length>0||this.editing)&&(_.application_metadata=o),this.isReplicated&&!g().isEmpty(this.currentConfigurationValues)&&(_.configuration=this.currentConfigurationValues),this.triggerApiTask(_)}assignFormFields(_,o){o.forEach(i=>this.assignFormField(_,i))}assignFormField(_,{externalFieldName:o,formControlName:i,attr:s,replaceFn:c,editable:d,resetValue:P}){if(this.editing&&(!d||this.form.get(i).pristine))return;const p=this.form.getValue(i);let R=c?c(p):s?g().get(p,s):p;if(!p||!R){if(!d||g().isUndefined(P))return;R=P}_[o]=R}triggerApiTask(_){this.taskWrapper.wrapTaskAroundCall({task:new v.R("pool/"+(this.editing?M.MQ.EDIT:M.MQ.CREATE),{pool_name:_.hasOwnProperty("srcpool")?_.srcpool:_.pool}),call:this.poolService[this.editing?M.MQ.UPDATE:M.MQ.CREATE](_)}).subscribe({error:o=>{g().isObject(o.error)&&"34"===o.error.code&&this.form.get("pgNum").setErrors({34:!0}),this.form.setErrors({cdSubmitButton:!0})},complete:()=>this.router.navigate(["/pool"])})}appSelection(){this.form.get("name").updateValueAndValidity({emitEvent:!1,onlySelf:!0})}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(S_.$),e.Y36(Oe.gz),e.Y36(Oe.F0),e.Y36(De.Z),e.Y36(ue.q),e.Y36(xe.j),e.Y36(T_.H),e.Y36(de.P),e.Y36(Me),e.Y36(ve.H),e.Y36(M.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-pool-form"]],viewQuery:function(_,o){if(1&_&&(e.Gf(Uo,5),e.Gf(Go,5),e.Gf(Ho,5),e.Gf(zo,5)),2&_){let i;e.iGM(i=e.CRH())&&(o.crushInfoTabs=i.first),e.iGM(i=e.CRH())&&(o.crushDeletionBtn=i.first),e.iGM(i=e.CRH())&&(o.ecpInfoTabs=i.first),e.iGM(i=e.CRH())&&(o.ecpDeletionBtn=i.first)}},features:[e.qOj],decls:1,vars:1,consts:function(){let n,_,o,i,s,c,d,P,p,R,h,S,m,u,A,$,I,D,x,y,Z,U,G,H,z,q,X,Q,w,J,k,V,Y,B,j,K,N,W,ee,_e,oe,te,ne,ie,se,ae,le,re,ce,O,Xe,Qe,we,Je,ke,Ve,Ye,Be,je,Ke,We,e_,__,o_,t_,n_,i_,s_,a_,l_,r_,c_,O_,d_,u_,P_;return n="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",_="Name",o="Name...",i="Pool type",s="-- Select a pool type --",c="Applications",d="Pools should be associated with an application tag",P="Quotas",p="Max bytes",R="Leave it blank or specify 0 to disable this quota.",h="A valid quota should be greater than 0.",S="e.g., 10GiB",m="Max objects",u="Leave it blank or specify 0 to disable this quota.",A="A valid quota should be greater than 0.",$="This field is required!",I="The chosen Ceph pool name is already in use.",D="It's not possible to create an RBD pool with '/' in the name. Please change the name or remove 'rbd' from the applications list.",x="Pool name can only contain letters, numbers, '.', '-', '_' or '/'.",y="This field is required!",Z="PG Autoscale",U="Placement groups",G="Calculation help",H="This field is required!",z="At least one placement group is needed!",q="Your cluster can't handle this many PGs. Please recalculate the PG amount needed.",X="The current PGs settings were calculated for you, you should make sure the values suit your needs before submit.",Q="Replicated size",w="Minimum: " + "\ufffd0\ufffd" + "",J="Maximum: " + "\ufffd0\ufffd" + "",k="The size specified is out of range. A value from " + "\ufffd0\ufffd" + " to " + "\ufffd1\ufffd" + " is usable.",V="A size of 1 will not create a replication of the object. The 'Replicated size' includes the object itself.",Y="Flags",B="EC Overwrites",j="CRUSH",K="Erasure code profile",N="This profile can't be deleted as it is in use.",W="Loading...",ee="-- No erasure code profile available --",_e="-- Select an erasure code profile --",oe="Profile",te="Used by pools",ne="Profile is not in use.",ie="Crush ruleset",se="A new crush ruleset will be implicitly created.",ae="Crush ruleset",le="There are no rules.",re="-- Select a crush rule --",ce="Placement and\n replication strategies or distribution policies that allow to\n specify how CRUSH places data replicas.",O="This rule can't be deleted as it is in use.",Xe="Crush rule",Qe="Crush steps",we="Used by pools",Je="Rule is not in use.",ke="This field is required!",Ve="The rule can't be used in the current cluster as it has too few OSDs to meet the minimum required OSD by this rule.",Ye="Compression",Be="Mode",je="Algorithm",Ke="Minimum blob size",We="e.g., 128KiB",e_="Maximum blob size",__="e.g., 512KiB",o_="Ratio",t_="Compression ratio",n_="Loading...",i_="-- No erasure compression algorithm available --",s_="Value should be greater than 0",a_="Value should be less than the maximum blob size",l_="Size must be a number or in a valid format. eg: 5 GiB",r_="Value should be greater than 0",c_="Value should be greater than the minimum blob size",O_="Size must be a number or in a valid format. eg: 5 GiB",d_="Value should be between 0.0 and 1.0",u_="Size must be a number or in a valid format. eg: 5 GiB",P_="The value should be greater or equal to 0",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","form","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],n,[1,"card-body"],[1,"form-group","row"],["for","name",1,"cd-col-form-label","required"],_,[1,"cd-col-form-input"],["id","name","name","name","type","text","placeholder",o,"formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","poolType",1,"cd-col-form-label","required"],i,["id","poolType","formControlName","poolType","name","poolType",1,"form-select"],["ngValue",""],s,[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["for","applications",1,"cd-col-form-label"],c,["id","applications",3,"customBadges","customBadgeValidators","messages","data","options","selectionLimit","selection"],["title",d,3,"class",4,"ngIf"],["formGroupName","compression",4,"ngIf"],P,["for","max_bytes",1,"cd-col-form-label"],p,R,h,["id","max_bytes","name","max_bytes","type","text","formControlName","max_bytes","placeholder",S,"defaultUnit","GiB","cdDimlessBinary","",1,"form-control"],["for","max_objects",1,"cd-col-form-label"],m,u,A,["id","max_objects","min","0","name","max_objects","type","number","formControlName","max_objects",1,"form-control"],[3,"hidden"],[3,"form","initializeData","changes"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],$,I,D,x,[3,"value"],y,["for","pgAutoscaleMode",1,"cd-col-form-label"],Z,["id","pgAutoscaleMode","name","pgAutoscaleMode","formControlName","pgAutoscaleMode",1,"form-select"],["class","form-group row",4,"ngIf"],["for","pgNum",1,"cd-col-form-label","required"],U,["id","pgNum","name","pgNum","formControlName","pgNum","min","1","type","number","required","",1,"form-control",3,"focus","blur"],[1,"form-text","text-muted"],["section","pgs","docText",G],["class","form-text text-muted",4,"ngIf"],H,z,q,X,["for","size",1,"cd-col-form-label","required"],Q,["id","size","name","size","type","number","formControlName","size",1,"form-control",3,"max","min"],["class","text-warning-dark",4,"ngIf"],[1,"list-inline"],w,J,k,[1,"text-warning-dark"],V,[1,"cd-col-form-label"],Y,[1,"custom-control","custom-checkbox"],["type","checkbox","id","ec-overwrites","formControlName","ecOverwrites",1,"custom-control-input"],["for","ec-overwrites",1,"custom-control-label"],B,["title",d],j,["for","erasureProfile",1,"cd-col-form-label"],K,[1,"input-group","mb-1"],["id","erasureProfile","name","erasureProfile","formControlName","erasureProfile",1,"form-select"],["ngValue","",4,"ngIf"],[3,"ngValue",4,"ngIf"],[3,"ngValue",4,"ngFor","ngForOf"],["id","ecp-info-button","type","button",1,"btn","btn-light",3,"ngClass","click"],["aria-hidden","true",3,"ngClass"],["class","btn btn-light","type","button",3,"click",4,"ngIf"],["class","btn btn-light","type","button","ngbTooltip",N,"triggers","manual",3,"click",4,"ngIf"],["class","form-text text-muted","id","ecp-info-block",4,"ngIf"],W,[3,"ngValue"],ee,_e,["type","button",1,"btn","btn-light",3,"click"],["type","button","ngbTooltip",N,"triggers","manual",1,"btn","btn-light",3,"click"],["ecpDeletionBtn","ngbTooltip"],["id","ecp-info-block",1,"form-text","text-muted"],["ngbNav","",1,"nav-tabs"],["ecpInfoTabs","ngbNav"],["ngbNavItem","ecp-info"],["ngbNavLink",""],oe,["ngbNavContent",""],["ngbNavItem","used-by-pools"],te,[3,"ngbNavOutlet"],[3,"renderObjects","hideKeys","data","autoReload"],["ecpIsNotUsed",""],[4,"ngIf","ngIfElse"],ne,[4,"ngFor","ngForOf"],["for","crushRule",1,"cd-col-form-label"],ie,se,ae,["noRules",""],le,[1,"input-group"],["id","crushRule","formControlName","crushRule","name","crushSet",1,"form-select"],re,["id","crush-info-button","type","button","ngbTooltip",ce,1,"btn","btn-light",3,"ngClass","click"],["class","btn btn-light","type","button","ngbTooltip",O,"triggers","manual",3,"click",4,"ngIf"],["class","form-text text-muted","id","crush-info-block",4,"ngIf"],["type","button","ngbTooltip",O,"triggers","manual",1,"btn","btn-light",3,"click"],["crushDeletionBtn","ngbTooltip"],["id","crush-info-block",1,"form-text","text-muted"],["crushInfoTabs","ngbNav"],["ngbNavItem","crush-rule-info"],Xe,["ngbNavItem","crush-rule-steps"],Qe,we,["ruleIsNotUsed",""],Je,ke,Ve,["formGroupName","compression"],Ye,["for","mode",1,"cd-col-form-label"],Be,["id","mode","name","mode","formControlName","mode",1,"form-select"],["for","algorithm",1,"cd-col-form-label"],je,["id","algorithm","name","algorithm","formControlName","algorithm",1,"form-select"],["for","minBlobSize",1,"cd-col-form-label"],Ke,["id","minBlobSize","name","minBlobSize","formControlName","minBlobSize","type","text","min","0","placeholder",We,"defaultUnit","KiB","cdDimlessBinary","",1,"form-control"],["for","maxBlobSize",1,"cd-col-form-label"],e_,["id","maxBlobSize","type","text","min","0","formControlName","maxBlobSize","placeholder",__,"defaultUnit","KiB","cdDimlessBinary","",1,"form-control"],["for","ratio",1,"cd-col-form-label"],o_,["id","ratio","name","ratio","formControlName","ratio","type","number","min","0","max","1","step","0.1","placeholder",t_,1,"form-control"],n_,i_,s_,a_,l_,r_,c_,O_,d_,u_,P_]},template:function(_,o){1&_&&e.YNc(0,_n,71,34,"div",0),2&_&&e.Q6J("cdFormLoading",o.loading)},dependencies:[C.mk,C.sg,C.O5,f.uN,f.Pz,f.nv,f.Vx,f.tO,f.Dy,Pe.S,Io.m,Do.K,fe.p,ye.b,Ee.U,xo.Q,yo.y,ge.o,pe.b,Re.P,me.V,l._Y,l.YN,l.Kr,l.Fj,l.wV,l.Wl,l.EJ,l.JJ,l.JL,l.Q7,l.qQ,l.Fd,l.sg,l.u,l.x0,f._L,Zo.d,C.rS,Ce.m],styles:[".icon-warning-color[_ngcontent-%COMP%]{margin-left:3px}"]}),t})();var on=r(19773),tn=r(20687),nn=r(68136),he=r(69158),Se=r(59019),L=r(99466),sn=r(91801),an=r(68774),ln=r(66369),Ge=r(38047),Te=r(51847);class rn{constructor(n){this.pool_name=n}}var cn=r(64724),On=r(60251),He=r(76317),dn=r(94928),un=r(23240),ze=r(51295),Pn=r(59376),fn=r(42176);function En(t,n){if(1&t&&e._UZ(0,"cd-table-key-value",12),2&t){const _=e.oxw(2);e.Q6J("renderObjects",!0)("data",_.poolDetails)("autoReload",!1)}}function gn(t,n){if(1&t&&e._UZ(0,"cd-grafana",15),2&t){const _=e.oxw(3);e.MGl("grafanaPath","ceph-pool-detail?var-pool_name=",_.selection.pool_name,""),e.Q6J("type","metrics")}}function pn(t,n){1&t&&(e.ynx(0,13),e.TgZ(1,"a",5),e.SDv(2,14),e.qZA(),e.YNc(3,gn,1,2,"ng-template",7),e.BQk())}function Rn(t,n){if(1&t&&e._UZ(0,"cd-rbd-configuration-table",18),2&t){const _=e.oxw(3);e.Q6J("data",_.selectedPoolConfiguration)}}function mn(t,n){1&t&&(e.ynx(0,16),e.TgZ(1,"a",5),e.SDv(2,17),e.qZA(),e.YNc(3,Rn,1,1,"ng-template",7),e.BQk())}function Cn(t,n){if(1&t&&e._UZ(0,"cd-table",21),2&t){const _=e.oxw(3);e.Q6J("data",_.cacheTiers)("columns",_.cacheTierColumns)("autoSave",!1)}}function Mn(t,n){1&t&&(e.ynx(0,19),e.TgZ(1,"a",5),e.SDv(2,20),e.qZA(),e.YNc(3,Cn,1,3,"ng-template",7),e.BQk())}function hn(t,n){if(1&t&&(e.ynx(0,1),e.TgZ(1,"nav",2,3),e.ynx(3,4),e.TgZ(4,"a",5),e.SDv(5,6),e.qZA(),e.YNc(6,En,1,3,"ng-template",7),e.BQk(),e.YNc(7,pn,4,0,"ng-container",8),e.YNc(8,mn,4,0,"ng-container",9),e.YNc(9,Mn,4,0,"ng-container",10),e.qZA(),e._UZ(10,"div",11),e.BQk()),2&t){const _=e.MAs(2),o=e.oxw();e.xp6(7),e.Q6J("ngIf",o.permissions.grafana.read),e.xp6(1),e.Q6J("ngIf","replicated"===o.selection.type),e.xp6(1),e.Q6J("ngIf",(null==o.selection.tiers?null:o.selection.tiers.length)>0),e.xp6(1),e.Q6J("ngbNavOutlet",_)}}let Sn=(()=>{class t{constructor(_){this.poolService=_,this.cacheTierColumns=[],this.omittedPoolAttributes=["cdExecuting","cdIsBinary","stats"],this.cacheTierColumns=[{prop:"pool_name",name:"Name",flexGrow:3},{prop:"cache_mode",name:"Cache Mode",flexGrow:2},{prop:"cache_min_evict_age",name:"Min Evict Age",flexGrow:2},{prop:"cache_min_flush_age",name:"Min Flush Age",flexGrow:2},{prop:"target_max_bytes",name:"Target Max Bytes",flexGrow:2},{prop:"target_max_objects",name:"Target Max Objects",flexGrow:2}]}ngOnChanges(){this.selection&&(this.poolService.getConfiguration(this.selection.pool_name).subscribe(_=>{ze.T.updateChanged(this,{selectedPoolConfiguration:_})}),ze.T.updateChanged(this,{poolDetails:g().omit(this.selection,this.omittedPoolAttributes)}))}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(ue.q))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-pool-details"]],inputs:{cacheTiers:"cacheTiers",permissions:"permissions",selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let n,_,o,i,s;return n="Details",_="Performance Details",o="Pool details",i="Configuration",s="Cache Tiers Details",[["cdTableDetail","",4,"ngIf"],["cdTableDetail",""],["ngbNav","","cdStatefulTab","pool-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],n,["ngbNavContent",""],["ngbNavItem","performance-details",4,"ngIf"],["ngbNavItem","configuration",4,"ngIf"],["ngbNavItem","cache-tiers-details",4,"ngIf"],[3,"ngbNavOutlet"],[3,"renderObjects","data","autoReload"],["ngbNavItem","performance-details"],_,["title",o,"uid","-xyV8KCiz","grafanaStyle","three",3,"grafanaPath","type"],["ngbNavItem","configuration"],i,[3,"data"],["ngbNavItem","cache-tiers-details"],s,["columnMode","flex",3,"data","columns","autoSave"]]},template:function(_,o){1&_&&e.YNc(0,hn,11,4,"ng-container",0),2&_&&e.Q6J("ngIf",o.selection)},dependencies:[C.O5,f.uN,f.Pz,f.nv,f.Vx,f.tO,f.Dy,He.F,Se.a,ye.b,Pn.m,fn.P],changeDetection:0}),t})();const Tn=["poolUsageTpl"],Ln=["poolConfigurationSourceTpl"];function An(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"cd-table",9,10),e.NdJ("fetchData",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.taskListService.fetch())})("setExpandedRow",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.setExpandedRow(i))})("updateSelection",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.updateSelection(i))}),e._UZ(2,"cd-table-actions",11)(3,"cd-pool-details",12),e.qZA()}if(2&t){const _=e.oxw();e.Q6J("data",_.pools)("columns",_.columns)("hasDetails",!0)("status",_.tableStatus)("autoReload",-1),e.xp6(2),e.Q6J("permission",_.permissions.pool)("selection",_.selection)("tableActions",_.tableActions),e.xp6(1),e.Q6J("selection",_.expandedRow)("permissions",_.permissions)("cacheTiers",_.cacheTiers)}}function Fn(t,n){1&t&&e._UZ(0,"cd-grafana",14),2&t&&e.Q6J("grafanaPath","ceph-pools-overview?")("type","metrics")}function Nn(t,n){1&t&&(e.ynx(0,2),e.TgZ(1,"a",3),e.SDv(2,13),e.qZA(),e.YNc(3,Fn,1,2,"ng-template",5),e.BQk())}function bn(t,n){if(1&t&&e._UZ(0,"cd-usage-bar",16),2&t){const _=e.oxw().row;e.Q6J("total",_.stats.bytes_used.latest+_.stats.avail_raw.latest)("used",_.stats.bytes_used.latest)("title",_.pool_name)}}function vn(t,n){if(1&t&&e.YNc(0,bn,1,3,"cd-usage-bar",15),2&t){const _=n.row;e.Q6J("ngIf",null==_.stats||null==_.stats.avail_raw?null:_.stats.avail_raw.latest)}}const Le="pool";let $n=(()=>{class t extends nn.o{constructor(_,o,i,s,c,d,P,p,R,h,S){super(),this.poolService=_,this.taskWrapper=o,this.ecpService=i,this.authStorageService=s,this.taskListService=c,this.modalService=d,this.pgCategoryService=P,this.dimlessPipe=p,this.urlBuilder=R,this.configurationService=h,this.actionLabels=S,this.selection=new an.r,this.executingTasks=[],this.tableStatus=new he.E,this.cacheTiers=[],this.monAllowPoolDelete=!1,this.permissions=this.authStorageService.getPermissions(),this.tableActions=[{permission:"create",icon:b.P.add,routerLink:()=>this.urlBuilder.getCreate(),name:this.actionLabels.CREATE},{permission:"update",icon:b.P.edit,routerLink:()=>this.urlBuilder.getEdit(encodeURIComponent(this.selection.first().pool_name)),name:this.actionLabels.EDIT},{permission:"delete",icon:b.P.destroy,click:()=>this.deletePoolModal(),name:this.actionLabels.DELETE,disable:this.getDisableDesc.bind(this)}],this.permissions.configOpt.read&&this.configurationService.get("mon_allow_pool_delete").subscribe(m=>{if(g().has(m,"value")){const u=g().find(m.value,A=>"mon"===A.section)||{value:!1};this.monAllowPoolDelete="true"===u.value}})}ngOnInit(){const _=(o,i,s)=>g().get(i,o)>g().get(s,o)?1:-1;this.columns=[{prop:"pool_name",name:"Name",flexGrow:4,cellTransformation:L.e.executing},{prop:"data_protection",name:"Data Protection",cellTransformation:L.e.badge,customTemplateConfig:{class:"badge-background-gray"},flexGrow:1.3},{prop:"application_metadata",name:"Applications",cellTransformation:L.e.badge,customTemplateConfig:{class:"badge-background-primary"},flexGrow:1.5},{prop:"pg_status",name:"PG Status",flexGrow:1.2,cellClass:({row:o,column:i,value:s})=>this.getPgStatusCellClass(o,i,s)},{prop:"crush_rule",name:"Crush Ruleset",isHidden:!0,flexGrow:2},{name:"Usage",prop:"usage",cellTemplate:this.poolUsageTpl,flexGrow:1.2},{prop:"stats.rd_bytes.rates",name:"Read bytes",comparator:(o,i,s,c)=>_("stats.rd_bytes.latest",s,c),cellTransformation:L.e.sparkline,flexGrow:1.5},{prop:"stats.wr_bytes.rates",name:"Write bytes",comparator:(o,i,s,c)=>_("stats.wr_bytes.latest",s,c),cellTransformation:L.e.sparkline,flexGrow:1.5},{prop:"stats.rd.rate",name:"Read ops",flexGrow:1,pipe:this.dimlessPipe,cellTransformation:L.e.perSecond},{prop:"stats.wr.rate",name:"Write ops",flexGrow:1,pipe:this.dimlessPipe,cellTransformation:L.e.perSecond}],this.taskListService.init(()=>this.ecpService.list().pipe((0,on.zg)(o=>(this.ecProfileList=o,this.poolService.getList()))),void 0,o=>{this.pools=this.transformPoolsData(o),this.tableStatus=new he.E},()=>{this.table.reset(),this.tableStatus=new he.E(sn.T.ValueException)},o=>o.name.startsWith(`${Le}/`),(o,i)=>i.metadata.pool_name===o.pool_name,{default:o=>new rn(o.pool_name)})}updateSelection(_){this.selection=_}deletePoolModal(){const _=this.selection.first().pool_name;this.modalService.show(Fe.M,{itemDescription:"Pool",itemNames:[_],submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new v.R(`${Le}/${M.MQ.DELETE}`,{pool_name:_}),call:this.poolService.delete(_)})})}getPgStatusCellClass(_,o,i){return{"text-right":!0,[`pg-${this.pgCategoryService.getTypeByStates(i)}`]:!0}}getErasureCodeProfile(_){let o="";return g().forEach(this.ecProfileList,i=>{i.name===_&&(o=`EC: ${i.k}+${i.m}`)}),o}transformPoolsData(_){const o=["bytes_used","max_avail","avail_raw","percent_used","rd_bytes","wr_bytes","rd","wr"],i={latest:0,rate:0,rates:[]};return g().forEach(_,s=>{s.pg_status=this.transformPgStatus(s.pg_status);const c={};g().forEach(o,d=>{c[d]=s.stats&&s.stats[d]?s.stats[d]:i}),s.stats=c,s.usage=c.percent_used.latest,!s.cdExecuting&&s.pg_num+s.pg_placement_num!==s.pg_num_target+s.pg_placement_num_target&&(s.cdExecuting="Updating"),["rd_bytes","wr_bytes"].forEach(d=>{s.stats[d].rates=s.stats[d].rates.map(P=>P[1])}),s.cdIsBinary=!0,"erasure"===s.type&&(s.data_protection=this.getErasureCodeProfile(s.erasure_code_profile)),"replicated"===s.type&&(s.data_protection=`replica: \xd7${s.size}`)}),_}transformPgStatus(_){const o=[];return g().forEach(_,(i,s)=>{o.push(`${i} ${s}`)}),o.join(", ")}getSelectionTiers(){if(typeof this.expandedRow<"u"){const _=this.expandedRow.tiers;this.cacheTiers=this.pools.filter(o=>_.includes(o.pool))}}getDisableDesc(){return!this.selection?.hasSelection||!this.monAllowPoolDelete&&"Pool deletion is disabled by the mon_allow_pool_delete configuration setting."}setExpandedRow(_){super.setExpandedRow(_),this.getSelectionTiers()}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(ue.q),e.Y36(de.P),e.Y36(Me),e.Y36(xe.j),e.Y36(Ge.j),e.Y36(De.Z),e.Y36(tn.j),e.Y36(ln.n),e.Y36(Te.F),e.Y36(cn.e),e.Y36(M.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-pool-list"]],viewQuery:function(_,o){if(1&_&&(e.Gf(Se.a,5),e.Gf(Tn,7),e.Gf(Ln,5)),2&_){let i;e.iGM(i=e.CRH())&&(o.table=i.first),e.iGM(i=e.CRH())&&(o.poolUsageTpl=i.first),e.iGM(i=e.CRH())&&(o.poolConfigurationSourceTpl=i.first)}},features:[e._Bn([Ge.j,{provide:Te.F,useValue:new Te.F(Le)}]),e.qOj],decls:10,vars:2,consts:function(){let n,_,o;return n="Pools List",_="Overall Performance",o="Ceph pools overview",[["ngbNav","",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem",""],["ngbNavLink",""],n,["ngbNavContent",""],["ngbNavItem","",4,"cdScope"],[3,"ngbNavOutlet"],["poolUsageTpl",""],["id","pool-list","selectionType","single",3,"data","columns","hasDetails","status","autoReload","fetchData","setExpandedRow","updateSelection"],["table",""],["id","pool-list-actions",1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","","id","pool-list-details",3,"selection","permissions","cacheTiers"],_,["title",o,"uid","z99hzWtmk","grafanaStyle","two",3,"grafanaPath","type"],["decimals","2",3,"total","used","title",4,"ngIf"],["decimals","2",3,"total","used","title"]]},template:function(_,o){if(1&_&&(e.TgZ(0,"nav",0,1),e.ynx(2,2),e.TgZ(3,"a",3),e.SDv(4,4),e.qZA(),e.YNc(5,An,4,11,"ng-template",5),e.BQk(),e.YNc(6,Nn,4,0,"ng-container",6),e.qZA(),e._UZ(7,"div",7),e.YNc(8,vn,1,1,"ng-template",null,8,e.W1O)),2&_){const i=e.MAs(1);e.xp6(6),e.Q6J("cdScope","grafana"),e.xp6(1),e.Q6J("ngbNavOutlet",i)}},dependencies:[C.O5,f.uN,f.Pz,f.nv,f.Vx,f.tO,f.Dy,On.O,He.F,Se.a,dn.K,un.w,Sn],styles:["cd-pool-list .pg-clean{color:#008a00} cd-pool-list .pg-working{color:#25828e} cd-pool-list .pg-warning{color:#d48200} cd-pool-list .pg-unknown{color:#dc3545}"]}),t})(),qe=(()=>{class t{}return t.\u0275fac=function(_){return new(_||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[g_.t,C.ez,f.Oz,f_.m,Oe.Bz,l.UX,f.HK,E_.BlockModule]}),t})();const In=[{path:"",component:$n},{path:M.MQ.CREATE,component:Ue,data:{breadcrumbs:M.Qn.CREATE}},{path:`${M.MQ.EDIT}/:name`,component:Ue,data:{breadcrumbs:M.Qn.EDIT}}];let Dn=(()=>{class t{}return t.\u0275fac=function(_){return new(_||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[qe,Oe.Bz.forChild(In)]}),t})()}}]); \ No newline at end of file
+"use strict";(self.webpackChunkceph_dashboard=self.webpackChunkceph_dashboard||[]).push([[119],{22119:(xn,Ae,r)=>{r.r(Ae),r.d(Ae,{PoolModule:()=>qe,RoutedPoolModule:()=>Dn});var C=r(88692),l=r(20092),Oe=r(54247),f=r(51389),M=r(79512),f_=r(44466),E_=r(32121),g_=r(370),p_=r(23815),g=r.n(p_),R_=r(7357),m_=r(26504),ue=r(80842);class T{constructor(){this.nodes=[],this.idTree={},this.allDevices=[],this.buckets=[],this.failureDomains={},this.failureDomainKeys=[],this.devices=[],this.deviceCount=0}static searchFailureDomains(n,_){return this.getFailureDomains(this.search(n,_))}static search(n,_){const[o,i]=_.split("~"),s=n.find(c=>["name","id","type"].some(d=>c[d]===o));return s?(n=this.getSubNodes(s,this.createIdTreeFromNodes(n)),i&&(n=this.filterNodesByDeviceType(n,i)),n):[]}static createIdTreeFromNodes(n){const _={};return n.forEach(o=>{_[o.id]=o}),_}static getSubNodes(n,_){let o=[n];return n.children&&n.children.forEach(i=>{o=o.concat(this.getSubNodes(_[i],_))}),o}static filterNodesByDeviceType(n,_){let i,o=n.filter(c=>c.device_class&&c.device_class!==_).map(c=>c.id),s=o;do{i=!1,n=n.filter(d=>!o.includes(d.id));const c=[];n.forEach(d=>{d.children&&d.children.every(P=>o.includes(P))&&(c.push(d.id),i=!0)}),i&&(o=c,s=s.concat(c))}while(i);return(n=g().cloneDeep(n)).map(c=>(c.children&&(c.children=c.children.filter(d=>!s.includes(d))),c))}static getFailureDomains(n){const _={};return n.forEach(o=>{const i=o.type;_[i]||(_[i]=[]),_[i].push(o)}),_}initCrushNodeSelection(n,_,o,i){this.nodes=n,this.idTree=T.createIdTreeFromNodes(n),n.forEach(s=>{this.idTree[s.id]=s}),this.buckets=g().sortBy(n.filter(s=>s.children),"name"),this.controls={root:_,failure:o,device:i},this.preSelectRoot(),this.controls.root.valueChanges.subscribe(()=>this.onRootChange()),this.controls.failure.valueChanges.subscribe(()=>this.onFailureDomainChange()),this.controls.device.valueChanges.subscribe(()=>this.onDeviceChange())}preSelectRoot(){const n=this.nodes.find(_=>"root"===_.type);this.silentSet(this.controls.root,n),this.onRootChange()}silentSet(n,_){n.setValue(_,{emitEvent:!1})}onRootChange(){const n=T.getSubNodes(this.controls.root.value,this.idTree),_=T.getFailureDomains(n);Object.keys(_).forEach(o=>{_[o].length<=1&&delete _[o]}),this.failureDomains=_,this.failureDomainKeys=Object.keys(_).sort(),this.updateFailureDomain()}updateFailureDomain(){let n=this.getIncludedCustomValue(this.controls.failure,Object.keys(this.failureDomains));""===n&&(n=this.setMostCommonDomain(this.controls.failure)),this.updateDevices(n)}getIncludedCustomValue(n,_){return n.dirty&&_.includes(n.value)?n.value:""}setMostCommonDomain(n){let _={n:0,type:""};return Object.keys(this.failureDomains).forEach(o=>{const i=this.failureDomains[o].length;_.n<i&&(_={n:i,type:o})}),this.silentSet(n,_.type),_.type}onFailureDomainChange(){this.updateDevices()}updateDevices(n=this.controls.failure.value){const _=g().flatten(this.failureDomains[n].map(i=>T.getSubNodes(i,this.idTree)));this.allDevices=_.filter(i=>i.device_class).map(i=>i.device_class),this.devices=g().uniq(this.allDevices).sort();const o=1===this.devices.length?this.devices[0]:this.getIncludedCustomValue(this.controls.device,this.devices);this.silentSet(this.controls.device,o),this.onDeviceChange(o)}onDeviceChange(n=this.controls.device.value){this.deviceCount=""===n?this.allDevices.length:this.allDevices.filter(_=>_===n).length}}var Fe=r(30982),C_=r(14745),b=r(65862),M_=r(93614),Ne=r(95463),E=r(90070),h_=r(30633),v=r(76111),S_=r(47557),T_=r(28211),de=r(32337),e=r(64537),be=r(62862),ve=r(83608),Pe=r(18372),$e=r(60312),fe=r(30839),Ee=r(82945),ge=r(87925),pe=r(94276),Re=r(56310),me=r(41582),Ce=r(10545);function L_(t,n){1&t&&(e.TgZ(0,"span",30),e.SDv(1,31),e.qZA())}function A_(t,n){1&t&&(e.TgZ(0,"span",30),e.SDv(1,32),e.qZA())}function F_(t,n){1&t&&(e.TgZ(0,"span",30),e.SDv(1,33),e.qZA())}function N_(t,n){1&t&&(e.TgZ(0,"option",26),e.SDv(1,34),e.qZA())}function b_(t,n){if(1&t&&(e.TgZ(0,"option",35),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_.name," ")}}function v_(t,n){1&t&&(e.TgZ(0,"span",30),e.SDv(1,36),e.qZA())}function $_(t,n){1&t&&(e.TgZ(0,"option",26),e.SDv(1,37),e.qZA())}function I_(t,n){if(1&t&&(e.TgZ(0,"option",35),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw();e.Q6J("ngValue",_),e.xp6(1),e.AsE(" ",_," ( ",o.failureDomains[_].length," ) ")}}function D_(t,n){1&t&&(e.TgZ(0,"span",30),e.SDv(1,38),e.qZA())}function x_(t,n){if(1&t&&(e.TgZ(0,"option",35),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_," ")}}let y_=(()=>{class t extends T{constructor(_,o,i,s,c){super(),this.formBuilder=_,this.activeModal=o,this.taskWrapper=i,this.crushRuleService=s,this.actionLabels=c,this.submitAction=new e.vpe,this.tooltips=this.crushRuleService.formTooltips,this.action=this.actionLabels.CREATE,this.resource="Crush Rule",this.createForm()}createForm(){this.form=this.formBuilder.group({name:["",[l.kI.required,l.kI.pattern("[A-Za-z0-9_-]+"),E.h.custom("uniqueName",_=>this.names&&-1!==this.names.indexOf(_))]],root:null,failure_domain:"",device_class:""})}ngOnInit(){this.crushRuleService.getInfo().subscribe(({names:_,nodes:o})=>{this.initCrushNodeSelection(o,this.form.get("root"),this.form.get("failure_domain"),this.form.get("device_class")),this.names=_})}onSubmit(){if(this.form.invalid)return void this.form.setErrors({cdSubmitButton:!0});const _=g().cloneDeep(this.form.value);_.root=_.root.name,""===_.device_class&&delete _.device_class,this.taskWrapper.wrapTaskAroundCall({task:new v.R("crushRule/create",_),call:this.crushRuleService.create(_)}).subscribe({error:()=>{this.form.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close(),this.submitAction.emit(_)}})}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(be.O),e.Y36(f.Kz),e.Y36(de.P),e.Y36(ve.H),e.Y36(M.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-crush-rule-form-modal"]],outputs:{submitAction:"submitAction"},features:[e.qOj],decls:55,vars:27,consts:function(){let n,_,o,i,s,c,d,P,p,R,h,S,m;return n="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",_="Name",o="Root",i="Failure domain type",s="Device class",c="Let Ceph decide",d="This field is required!",P="The name can only consist of alphanumeric characters, dashes and underscores.",p="The chosen erasure code profile name is already in use.",R="Loading...",h="This field is required!",S="Loading...",m="This field is required!",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","name",1,"cd-col-form-label"],_,[1,"required"],[1,"cd-col-form-input"],["type","text","id","name","name","name","placeholder","Name...","formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","root",1,"cd-col-form-label"],o,[3,"html"],["id","root","name","root","formControlName","root",1,"form-select"],["ngValue","",4,"ngIf"],[3,"ngValue",4,"ngFor","ngForOf"],["for","failure_domain",1,"cd-col-form-label"],i,["id","failure_domain","name","failure_domain","formControlName","failure_domain",1,"form-select"],["for","device_class",1,"cd-col-form-label"],s,["id","device_class","name","device_class","formControlName","device_class",1,"form-select"],["ngValue",""],c,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],d,P,p,R,[3,"ngValue"],h,S,m]},template:function(_,o){if(1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.ynx(11),e.SDv(12,9),e.BQk(),e._UZ(13,"span",10),e.qZA(),e.TgZ(14,"div",11),e._UZ(15,"input",12),e.YNc(16,L_,2,0,"span",13),e.YNc(17,A_,2,0,"span",13),e.YNc(18,F_,2,0,"span",13),e.qZA()(),e.TgZ(19,"div",7)(20,"label",14),e.ynx(21),e.SDv(22,15),e.BQk(),e._UZ(23,"cd-helper",16)(24,"span",10),e.qZA(),e.TgZ(25,"div",11)(26,"select",17),e.YNc(27,N_,2,0,"option",18),e.YNc(28,b_,2,2,"option",19),e.qZA(),e.YNc(29,v_,2,0,"span",13),e.qZA()(),e.TgZ(30,"div",7)(31,"label",20),e.ynx(32),e.SDv(33,21),e.BQk(),e._UZ(34,"cd-helper",16)(35,"span",10),e.qZA(),e.TgZ(36,"div",11)(37,"select",22),e.YNc(38,$_,2,0,"option",18),e.YNc(39,I_,2,3,"option",19),e.qZA(),e.YNc(40,D_,2,0,"span",13),e.qZA()(),e.TgZ(41,"div",7)(42,"label",23),e.ynx(43),e.SDv(44,24),e.BQk(),e._UZ(45,"cd-helper",16),e.qZA(),e.TgZ(46,"div",11)(47,"select",25)(48,"option",26),e.SDv(49,27),e.qZA(),e.YNc(50,x_,2,2,"option",19),e.qZA()()()(),e.TgZ(51,"div",28)(52,"cd-form-button-panel",29),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(53,"titlecase"),e.ALo(54,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&_){const i=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,19,o.action))(e.lcZ(4,21,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.form),e.xp6(10),e.Q6J("ngIf",o.form.showError("name",i,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",i,"pattern")),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",i,"uniqueName")),e.xp6(5),e.Q6J("html",o.tooltips.root),e.xp6(4),e.Q6J("ngIf",!o.buckets),e.xp6(1),e.Q6J("ngForOf",o.buckets),e.xp6(1),e.Q6J("ngIf",o.form.showError("root",i,"required")),e.xp6(5),e.Q6J("html",o.tooltips.failure_domain),e.xp6(4),e.Q6J("ngIf",!o.failureDomains),e.xp6(1),e.Q6J("ngForOf",o.failureDomainKeys),e.xp6(1),e.Q6J("ngIf",o.form.showError("failure_domain",i,"required")),e.xp6(5),e.Q6J("html",o.tooltips.device_class),e.xp6(5),e.Q6J("ngForOf",o.devices),e.xp6(2),e.Q6J("form",o.form)("submitText",e.lcZ(53,23,o.action)+" "+e.lcZ(54,25,o.resource))}},dependencies:[C.sg,C.O5,Pe.S,$e.z,fe.p,Ee.U,ge.o,pe.b,Re.P,me.V,l._Y,l.YN,l.Kr,l.Fj,l.EJ,l.JJ,l.JL,l.sg,l.u,C.rS,Ce.m]}),t})();class Z_{}var U_=r(35732);let Me=(()=>{class t{constructor(_){this.http=_,this.apiPath="api/erasure_code_profile",this.formTooltips={k:"Each object is split in data-chunks parts, each stored on a different OSD.",m:"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:"The jerasure plugin is the most generic and flexible plugin,\n it is also the default for Ceph erasure coded pools.",technique:"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:"The encoding will be done on packets of bytes size at a time.\n Choosing the right packet size is difficult.\n The jerasure documentation contains extensive information on this topic."},lrc:{description:"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:"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:"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:"The isa plugin encapsulates the ISA library. It only runs on Intel processors.",technique:"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:"The shec plugin encapsulates the multiple SHEC library.\n It allows ceph to recover data more efficiently than Reed Solomon codes.",c:"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."},clay:{description:"CLAY (short for coupled-layer) codes are erasure codes designed to\n bring about significant savings in terms of network bandwidth and disk IO when a failed\n node/OSD/rack is being repaired.",d:"Number of OSDs requested to send data during recovery of a single chunk.\n d needs to be chosen such that k+1 <= d <= k+m-1. The larger the d, the better\n the savings.",scalar_mds:"scalar_mds specifies the plugin that is used as a building block\n in the layered construction. It can be one of jerasure, isa, shec.",technique:"technique specifies the technique that will be picked\n within the 'scalar_mds' plugin specified. Supported techniques\n are 'reed_sol_van', 'reed_sol_r6_op', 'cauchy_orig',\n 'cauchy_good', 'liber8tion' for jerasure, 'reed_sol_van',\n 'cauchy' for isa and 'single', 'multiple' for shec."}},crushRoot:"The name of the crush bucket used for the first step of the CRUSH rule.\n For instance step take default.",crushFailureDomain:"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:"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:"Set the directory name from which the erasure code plugin is loaded."}}list(){return this.http.get(this.apiPath)}create(_){return this.http.post(this.apiPath,_,{observe:"response"})}delete(_){return this.http.delete(`${this.apiPath}/${_}`,{observe:"response"})}getInfo(){return this.http.get(`ui-${this.apiPath}/info`)}}return t.\u0275fac=function(_){return new(_||t)(e.LFG(U_.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function G_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,47),e.qZA())}function H_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,48),e.qZA())}function z_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,49),e.qZA())}function q_(t,n){1&t&&(e.TgZ(0,"option",37),e.SDv(1,50),e.qZA())}function X_(t,n){if(1&t&&(e.TgZ(0,"option",51),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_," ")}}function Q_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,52),e.qZA())}function w_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,53),e.qZA())}function J_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,54),e.qZA())}function k_(t,n){if(1&t&&(e.TgZ(0,"span",46),e.SDv(1,55),e.qZA()),2&t){const _=e.oxw();e.xp6(1),e.pQV(_.deviceCount),e.QtT(1)}}function V_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,56),e.qZA())}function Y_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,57),e.qZA())}function B_(t,n){if(1&t&&(e.TgZ(0,"span",39),e.SDv(1,58),e.qZA()),2&t){const _=e.oxw();e.xp6(1),e.pQV(_.lrcMultiK),e.QtT(1)}}function j_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,59),e.qZA())}function K_(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,60),e.qZA())}function W_(t,n){if(1&t&&(e.TgZ(0,"span",46),e.SDv(1,61),e.qZA()),2&t){const _=e.oxw();e.xp6(1),e.pQV(_.deviceCount),e.QtT(1)}}function eo(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,65),e.qZA())}function _o(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,66),e.qZA())}function oo(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",62)(2,"span",14),e.SDv(3,63),e.qZA(),e._UZ(4,"cd-helper",16),e.qZA(),e.TgZ(5,"div",10),e._UZ(6,"input",64),e.YNc(7,eo,2,0,"span",12),e.YNc(8,_o,2,0,"span",12),e.qZA()()),2&t){const _=e.oxw(),o=e.MAs(7);e.xp6(4),e.Q6J("html",_.tooltips.plugins.shec.c),e.xp6(3),e.Q6J("ngIf",_.form.showError("c",o,"min")),e.xp6(1),e.Q6J("ngIf",_.form.showError("c",o,"cGreaterM"))}}function to(t,n){1&t&&(e.TgZ(0,"span",39),e.SDv(1,74),e.qZA())}function no(t,n){if(1&t&&(e.TgZ(0,"span",39),e.SDv(1,75),e.qZA()),2&t){const _=e.oxw(3);e.xp6(1),e.pQV(_.getDMin())(_.getDMax()),e.QtT(1)}}function io(t,n){if(1&t&&(e.TgZ(0,"span",39),e.SDv(1,76),e.qZA()),2&t){const _=e.oxw(3);e.xp6(1),e.pQV(_.getDMax()),e.QtT(1)}}function so(t,n){if(1&t&&(e.ynx(0),e.YNc(1,no,2,2,"span",23),e.YNc(2,io,2,1,"span",23),e.BQk()),2&t){const _=e.oxw(2);e.xp6(1),e.Q6J("ngIf",_.getDMin()<_.getDMax()),e.xp6(1),e.Q6J("ngIf",_.getDMin()===_.getDMax())}}function ao(t,n){if(1&t&&(e.TgZ(0,"span",46),e.SDv(1,77),e.qZA()),2&t){const _=e.oxw(2);e.xp6(1),e.pQV(_.getDMin()),e.QtT(1)}}function lo(t,n){if(1&t&&(e.TgZ(0,"span",46),e.SDv(1,78),e.qZA()),2&t){const _=e.oxw(2);e.xp6(1),e.pQV(_.getDMax()),e.QtT(1)}}function ro(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div",7)(1,"label",67)(2,"span",14),e.SDv(3,68),e.qZA(),e._UZ(4,"cd-helper",16),e.qZA(),e.TgZ(5,"div",10)(6,"div",69),e._UZ(7,"input",70),e.TgZ(8,"button",71),e.NdJ("click",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.toggleDCalc())}),e._UZ(9,"i",72),e.qZA()(),e.YNc(10,to,2,0,"span",23),e.YNc(11,so,3,2,"ng-container",73),e.YNc(12,ao,2,1,"span",12),e.YNc(13,lo,2,1,"span",12),e.qZA()()}if(2&t){const _=e.oxw(),o=e.MAs(7);e.xp6(4),e.Q6J("html",_.tooltips.plugins.clay.d),e.xp6(5),e.Q6J("ngClass",_.dCalc?_.icons.unlock:_.icons.lock),e.xp6(1),e.Q6J("ngIf",_.dCalc),e.xp6(1),e.Q6J("ngIf",!_.dCalc),e.xp6(1),e.Q6J("ngIf",_.form.showError("d",o,"dMin")),e.xp6(1),e.Q6J("ngIf",_.form.showError("d",o,"dMax"))}}function co(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,83),e.qZA())}function Oo(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,84),e.qZA())}function uo(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,85),e.qZA())}function Po(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",79)(2,"span",14),e.SDv(3,80),e.qZA(),e._UZ(4,"cd-helper",16),e.qZA(),e.TgZ(5,"div",10),e._UZ(6,"input",81),e.YNc(7,co,2,0,"span",12),e.YNc(8,Oo,2,0,"span",12),e.YNc(9,uo,2,0,"span",12),e.TgZ(10,"span",39),e.SDv(11,82),e.qZA()()()),2&t){const _=e.oxw(),o=e.MAs(7);e.xp6(4),e.Q6J("html",_.tooltips.plugins.lrc.l),e.xp6(3),e.Q6J("ngIf",_.form.showError("l",o,"required")),e.xp6(1),e.Q6J("ngIf",_.form.showError("l",o,"min")),e.xp6(1),e.Q6J("ngIf",_.form.showError("l",o,"unequal")),e.xp6(2),e.pQV(_.lrcGroups),e.QtT(11)}}function fo(t,n){1&t&&(e.TgZ(0,"option",37),e.SDv(1,86),e.qZA())}function Eo(t,n){if(1&t&&(e.TgZ(0,"option",51),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw();e.Q6J("ngValue",_),e.xp6(1),e.AsE(" ",_," ( ",o.failureDomains[_].length," ) ")}}function go(t,n){1&t&&(e.TgZ(0,"option",37),e.SDv(1,90),e.qZA())}function po(t,n){1&t&&(e.TgZ(0,"option",37),e.SDv(1,91),e.qZA())}function Ro(t,n){if(1&t&&(e.TgZ(0,"option",51),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw(2);e.Q6J("ngValue",_),e.xp6(1),e.AsE(" ",_," ( ",o.failureDomains[_].length," ) ")}}function mo(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",87),e.ynx(2),e.SDv(3,88),e.BQk(),e._UZ(4,"cd-helper",16),e.qZA(),e.TgZ(5,"div",10)(6,"select",89),e.YNc(7,go,2,0,"option",18),e.YNc(8,po,2,0,"option",18),e.YNc(9,Ro,2,3,"option",19),e.qZA()()()),2&t){const _=e.oxw();e.xp6(4),e.Q6J("html",_.tooltips.plugins.lrc.crushLocality),e.xp6(3),e.Q6J("ngIf",!_.failureDomains),e.xp6(1),e.Q6J("ngIf",_.failureDomainKeys.length>0),e.xp6(1),e.Q6J("ngForOf",_.failureDomainKeys)}}function Co(t,n){if(1&t&&(e.TgZ(0,"option",51),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_," ")}}const Ie=function(t,n,_){return[t,n,_]};function Mo(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",92),e.ynx(2),e.SDv(3,93),e.BQk(),e._UZ(4,"cd-helper",16),e.qZA(),e.TgZ(5,"div",10)(6,"select",94),e.YNc(7,Co,2,2,"option",19),e.qZA()()()),2&t){const _=e.oxw();e.xp6(4),e.Q6J("html",_.tooltips.plugins.clay.scalar_mds),e.xp6(3),e.Q6J("ngForOf",e.kEZ(2,Ie,_.PLUGIN.JERASURE,_.PLUGIN.ISA,_.PLUGIN.SHEC))}}function ho(t,n){if(1&t&&(e.TgZ(0,"option",51),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_," ")}}function So(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",95),e.ynx(2),e.SDv(3,96),e.BQk(),e._UZ(4,"cd-helper",16),e.qZA(),e.TgZ(5,"div",10)(6,"select",97),e.YNc(7,ho,2,2,"option",19),e.qZA()()()),2&t){const _=e.oxw();e.xp6(4),e.Q6J("html",_.tooltips.plugins[_.plugin].technique),e.xp6(3),e.Q6J("ngForOf",_.techniques)}}function To(t,n){1&t&&(e.TgZ(0,"span",46),e.SDv(1,101),e.qZA())}function Lo(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",98),e.ynx(2),e.SDv(3,99),e.BQk(),e._UZ(4,"cd-helper",16),e.qZA(),e.TgZ(5,"div",10),e._UZ(6,"input",100),e.YNc(7,To,2,0,"span",12),e.qZA()()),2&t){const _=e.oxw(),o=e.MAs(7);e.xp6(4),e.Q6J("html",_.tooltips.plugins.jerasure.packetSize),e.xp6(3),e.Q6J("ngIf",_.form.showError("packetSize",o,"min"))}}function Ao(t,n){1&t&&(e.TgZ(0,"option",37),e.SDv(1,102),e.qZA())}function Fo(t,n){if(1&t&&(e.TgZ(0,"option",51),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_.name," ")}}function No(t,n){if(1&t&&(e.TgZ(0,"option",51),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_," ")}}let bo=(()=>{class t extends T{constructor(_,o,i,s,c){super(),this.formBuilder=_,this.activeModal=o,this.taskWrapper=i,this.ecpService=s,this.actionLabels=c,this.submitAction=new e.vpe,this.tooltips=this.ecpService.formTooltips,this.PLUGIN={LRC:"lrc",SHEC:"shec",CLAY:"clay",JERASURE:"jerasure",ISA:"isa"},this.plugin=this.PLUGIN.JERASURE,this.icons=b.P,this.action=this.actionLabels.CREATE,this.resource="EC Profile",this.createForm(),this.setJerasureDefaults()}createForm(){this.form=this.formBuilder.group({name:[null,[l.kI.required,l.kI.pattern("[A-Za-z0-9_-]+"),E.h.custom("uniqueName",_=>this.names&&-1!==this.names.indexOf(_))]],plugin:[this.PLUGIN.JERASURE,[l.kI.required]],k:[4,[l.kI.required,E.h.custom("max",()=>this.baseValueValidation(!0)),E.h.custom("unequal",_=>this.lrcDataValidation(_)),E.h.custom("kLowerM",_=>this.shecDataValidation(_))]],m:[2,[l.kI.required,E.h.custom("max",()=>this.baseValueValidation())]],crushFailureDomain:"",crushRoot:null,crushDeviceClass:"",directory:"",technique:"reed_sol_van",packetSize:[2048],l:[3,[l.kI.required,E.h.custom("unequal",_=>this.lrcLocalityValidation(_))]],crushLocality:"",c:[2,[l.kI.required,E.h.custom("cGreaterM",_=>this.shecDurabilityValidation(_))]],d:[5,[l.kI.required,E.h.custom("dMin",_=>this.dMinValidation(_)),E.h.custom("dMax",_=>this.dMaxValidation(_))]],scalar_mds:[this.PLUGIN.JERASURE,[l.kI.required]]}),this.toggleDCalc(),this.form.get("k").valueChanges.subscribe(()=>this.updateValidityOnChange(["m","l","d"])),this.form.get("m").valueChanges.subscribe(()=>this.updateValidityOnChange(["k","l","c","d"])),this.form.get("l").valueChanges.subscribe(()=>this.updateValidityOnChange(["k","m"])),this.form.get("plugin").valueChanges.subscribe(_=>this.onPluginChange(_)),this.form.get("scalar_mds").valueChanges.subscribe(()=>this.setClayDefaultsForScalar())}baseValueValidation(_=!1){return this.validValidation(()=>this.getKMSum()>this.deviceCount&&this.form.getValue("k")>this.form.getValue("m")===_)}validValidation(_,o){return!((!this.form||o)&&this.plugin!==o)&&_()}getKMSum(){return this.form.getValue("k")+this.form.getValue("m")}lrcDataValidation(_){return this.validValidation(()=>{const o=this.form.getValue("m"),i=this.form.getValue("l"),s=_+o;return this.lrcMultiK=_/(s/i),_%(s/i)!=0},"lrc")}shecDataValidation(_){return this.validValidation(()=>this.form.getValue("m")>_,"shec")}lrcLocalityValidation(_){return this.validValidation(()=>{const o=this.getKMSum();return this.lrcGroups=_>0?o/_:0,_>0&&o%_!=0},"lrc")}shecDurabilityValidation(_){return this.validValidation(()=>{const o=this.form.getValue("m");return _>o},"shec")}dMinValidation(_){return this.validValidation(()=>this.getDMin()>_,"clay")}getDMin(){return this.form.getValue("k")+1}dMaxValidation(_){return this.validValidation(()=>_>this.getDMax(),"clay")}getDMax(){const _=this.form.getValue("m");return this.form.getValue("k")+_-1}toggleDCalc(){this.dCalc=!this.dCalc,this.form.get("d")[this.dCalc?"disable":"enable"](),this.calculateD()}calculateD(){this.plugin!==this.PLUGIN.CLAY||!this.dCalc||this.form.silentSet("d",this.getDMax())}updateValidityOnChange(_){_.forEach(o=>{"d"===o&&this.calculateD(),this.form.get(o).updateValueAndValidity({emitEvent:!1})})}onPluginChange(_){this.plugin=_,_===this.PLUGIN.JERASURE?this.setJerasureDefaults():_===this.PLUGIN.LRC?this.setLrcDefaults():_===this.PLUGIN.ISA?this.setIsaDefaults():_===this.PLUGIN.SHEC?this.setShecDefaults():_===this.PLUGIN.CLAY&&this.setClayDefaults(),this.updateValidityOnChange(["m"])}setJerasureDefaults(){this.techniques=["reed_sol_van","reed_sol_r6_op","cauchy_orig","cauchy_good","liberation","blaum_roth","liber8tion"],this.setDefaults({k:4,m:2,technique:"reed_sol_van"})}setLrcDefaults(){this.setDefaults({k:4,m:2,l:3})}setIsaDefaults(){this.techniques=["reed_sol_van","cauchy"],this.setDefaults({k:7,m:3,technique:"reed_sol_van"})}setShecDefaults(){this.setDefaults({k:4,m:3,c:2})}setClayDefaults(){this.setDefaults({k:4,m:2,scalar_mds:this.PLUGIN.JERASURE}),this.setClayDefaultsForScalar()}setClayDefaultsForScalar(){const _=this.form.getValue("scalar_mds");let o="reed_sol_van";_===this.PLUGIN.JERASURE?this.techniques=["reed_sol_van","reed_sol_r6_op","cauchy_orig","cauchy_good","liber8tion"]:_===this.PLUGIN.ISA?this.techniques=["reed_sol_van","cauchy"]:(o="single",this.techniques=["single","multiple"]),this.setDefaults({technique:o})}setDefaults(_){Object.keys(_).forEach(o=>{const i=this.form.get(o),s=i.value;i.pristine||"technique"===o&&!this.techniques.includes(s)||"k"===o&&[4,7].includes(s)||"m"===o&&[2,3].includes(s)?i.setValue(_[o]):i.updateValueAndValidity()})}ngOnInit(){this.ecpService.getInfo().subscribe(({plugins:_,names:o,directory:i,nodes:s})=>{this.initCrushNodeSelection(s,this.form.get("crushRoot"),this.form.get("crushFailureDomain"),this.form.get("crushDeviceClass")),this.plugins=_,this.names=o,this.form.silentSet("directory",i),this.preValidateNumericInputFields()})}preValidateNumericInputFields(){const _=["k","m","l","c","d"].map(o=>this.form.get(o));_.forEach(o=>{o.markAsTouched(),o.markAsDirty()}),_[1].updateValueAndValidity()}onSubmit(){if(this.form.invalid)return void this.form.setErrors({cdSubmitButton:!0});const _=this.createJson();this.taskWrapper.wrapTaskAroundCall({task:new v.R("ecp/create",{name:_.name}),call:this.ecpService.create(_)}).subscribe({error:()=>{this.form.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close(),this.submitAction.emit(_)}})}createJson(){const _={technique:[this.PLUGIN.ISA,this.PLUGIN.JERASURE,this.PLUGIN.CLAY],packetSize:[this.PLUGIN.JERASURE],l:[this.PLUGIN.LRC],crushLocality:[this.PLUGIN.LRC],c:[this.PLUGIN.SHEC],d:[this.PLUGIN.CLAY],scalar_mds:[this.PLUGIN.CLAY]},o=new Z_,i=this.form.getValue("plugin");return Object.keys(this.form.controls).filter(s=>{const c=_[s],d=this.form.getValue(s);return(c&&c.includes(i)||!c)&&d&&""!==d}).forEach(s=>{this.extendJson(s,o)}),o}extendJson(_,o){const s=this.form.getValue(_);o[{crushFailureDomain:"crush-failure-domain",crushRoot:"crush-root",crushDeviceClass:"crush-device-class",packetSize:"packetsize",crushLocality:"crush-locality"}[_]||_]="crushRoot"===_?s.name:s}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(be.O),e.Y36(f.Kz),e.Y36(de.P),e.Y36(Me),e.Y36(M.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-erasure-code-profile-form-modal"]],outputs:{submitAction:"submitAction"},features:[e.qOj],decls:98,vars:53,consts:function(){let n,_,o,i,s,c,d,P,p,R,h,S,m,u,A,$,I,D,x,y,Z,U,G,H,z,q,X,Q,w,J,k,V,Y,B,j,K,N,W,ee,_e,oe,te,ne,ie,se,ae,le,re,ce;return n="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",_="Name",o="Plugin",i="Data chunks (k)",s="Coding chunks (m)",c="Crush failure domain",d="Crush root",P="Crush device class",p="Let Ceph decide",R="Available OSDs: " + "\ufffd0\ufffd" + "",h="Directory",S="This field is required!",m="The name can only consist of alphanumeric characters, dashes and underscores.",u="The chosen erasure code profile name is already in use.",A="Loading...",$="This field is required!",I="This field is required!",D="Must be equal to or greater than 2.",x="Chunks (k+m) have exceeded the available OSDs of " + "\ufffd0\ufffd" + ".",y="For an equal distribution k has to be a multiple of (k+m)/l.",Z="K has to be equal to or greater than m in order to recover data correctly through c.",U="Distribution factor: " + "\ufffd0\ufffd" + "",G="This field is required!",H="Must be equal to or greater than 1.",z="Chunks (k+m) have exceeded the available OSDs of " + "\ufffd0\ufffd" + ".",q="Durability estimator (c)",X="Must be equal to or greater than 1.",Q="C has to be equal to or lower than m as m defines the amount of chunks that can be used.",w="Helper chunks (d)",J="Set d manually or use the plugin's default calculation that maximizes d.",k="D is automatically updated on k and m changes",V="D can be set from " + "\ufffd0\ufffd" + " to " + "\ufffd1\ufffd" + "",Y="D can only be set to " + "\ufffd0\ufffd" + "",B="D has to be greater than k (" + "\ufffd0\ufffd" + ").",j="D has to be lower than k + m (" + "\ufffd0\ufffd" + ").",K="Locality (l)",N="Locality groups: " + "\ufffd0\ufffd" + "",W="This field is required!",ee="Must be equal to or greater than 1.",_e="Can't split up chunks (k+m) correctly with the current locality.",oe="Loading...",te="Crush Locality",ne="Loading...",ie="None",se="Scalar mds",ae="Technique",le="Packetsize",re="Must be equal to or greater than 1.",ce="Loading...",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","name",1,"cd-col-form-label"],_,[1,"cd-col-form-input"],["type","text","id","name","name","name","placeholder","Name...","formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","plugin",1,"cd-col-form-label"],[1,"required"],o,[3,"html"],["id","plugin","name","plugin","formControlName","plugin",1,"form-select"],["ngValue","",4,"ngIf"],[3,"ngValue",4,"ngFor","ngForOf"],["for","k",1,"cd-col-form-label"],i,["type","number","id","k","name","k","ng-model","$ctrl.erasureCodeProfile.k","placeholder","Data chunks...","formControlName","k","min","2",1,"form-control"],["class","form-text text-muted",4,"ngIf"],["for","m",1,"cd-col-form-label"],s,["type","number","id","m","name","m","placeholder","Coding chunks...","formControlName","m","min","1",1,"form-control"],["class","form-group row",4,"ngIf"],["for","crushFailureDomain",1,"cd-col-form-label"],c,["id","crushFailureDomain","name","crushFailureDomain","formControlName","crushFailureDomain",1,"form-select"],["for","crushRoot",1,"cd-col-form-label"],d,["id","crushRoot","name","crushRoot","formControlName","crushRoot",1,"form-select"],["for","crushDeviceClass",1,"cd-col-form-label"],P,["id","crushDeviceClass","name","crushDeviceClass","formControlName","crushDeviceClass",1,"form-select"],["ngValue",""],p,[1,"form-text","text-muted"],R,["for","directory",1,"cd-col-form-label"],h,["type","text","id","directory","name","directory","placeholder","Path...","formControlName","directory",1,"form-control"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],S,m,u,A,[3,"ngValue"],$,I,D,x,y,Z,U,G,H,z,["for","c",1,"cd-col-form-label"],q,["type","number","id","c","name","c","placeholder","Coding chunks...","formControlName","c","min","1",1,"form-control"],X,Q,["for","d",1,"cd-col-form-label"],w,[1,"input-group"],["type","number","id","d","name","d","placeholder","Helper chunks...","formControlName","d",1,"form-control"],["id","d-calc-btn","ngbTooltip",J,"type","button",1,"btn","btn-light",3,"click"],["aria-hidden","true",3,"ngClass"],[4,"ngIf"],k,V,Y,B,j,["for","l",1,"cd-col-form-label"],K,["type","number","id","l","name","l","placeholder","Coding chunks...","formControlName","l","min","1",1,"form-control"],N,W,ee,_e,oe,["for","crushLocality",1,"cd-col-form-label"],te,["id","crushLocality","name","crushLocality","formControlName","crushLocality",1,"form-select"],ne,ie,["for","scalar_mds",1,"cd-col-form-label"],se,["id","scalar_mds","name","scalar_mds","formControlName","scalar_mds",1,"form-select"],["for","technique",1,"cd-col-form-label"],ae,["id","technique","name","technique","formControlName","technique",1,"form-select"],["for","packetSize",1,"cd-col-form-label"],le,["type","number","id","packetSize","name","packetSize","placeholder","Packetsize...","formControlName","packetSize","min","1",1,"form-control"],re,ce]},template:function(_,o){if(1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10),e._UZ(13,"input",11),e.YNc(14,G_,2,0,"span",12),e.YNc(15,H_,2,0,"span",12),e.YNc(16,z_,2,0,"span",12),e.qZA()(),e.TgZ(17,"div",7)(18,"label",13)(19,"span",14),e.SDv(20,15),e.qZA(),e._UZ(21,"cd-helper",16),e.qZA(),e.TgZ(22,"div",10)(23,"select",17),e.YNc(24,q_,2,0,"option",18),e.YNc(25,X_,2,2,"option",19),e.qZA(),e.YNc(26,Q_,2,0,"span",12),e.qZA()(),e.TgZ(27,"div",7)(28,"label",20)(29,"span",14),e.SDv(30,21),e.qZA(),e._UZ(31,"cd-helper",16),e.qZA(),e.TgZ(32,"div",10),e._UZ(33,"input",22),e.YNc(34,w_,2,0,"span",12),e.YNc(35,J_,2,0,"span",12),e.YNc(36,k_,2,1,"span",12),e.YNc(37,V_,2,0,"span",12),e.YNc(38,Y_,2,0,"span",12),e.YNc(39,B_,2,1,"span",23),e.qZA()(),e.TgZ(40,"div",7)(41,"label",24)(42,"span",14),e.SDv(43,25),e.qZA(),e._UZ(44,"cd-helper",16),e.qZA(),e.TgZ(45,"div",10),e._UZ(46,"input",26),e.YNc(47,j_,2,0,"span",12),e.YNc(48,K_,2,0,"span",12),e.YNc(49,W_,2,1,"span",12),e.qZA()(),e.YNc(50,oo,9,3,"div",27),e.YNc(51,ro,14,6,"div",27),e.YNc(52,Po,12,5,"div",27),e.TgZ(53,"div",7)(54,"label",28),e.ynx(55),e.SDv(56,29),e.BQk(),e._UZ(57,"cd-helper",16),e.qZA(),e.TgZ(58,"div",10)(59,"select",30),e.YNc(60,fo,2,0,"option",18),e.YNc(61,Eo,2,3,"option",19),e.qZA()()(),e.YNc(62,mo,10,4,"div",27),e.YNc(63,Mo,8,6,"div",27),e.YNc(64,So,8,2,"div",27),e.YNc(65,Lo,8,2,"div",27),e.TgZ(66,"div",7)(67,"label",31),e.ynx(68),e.SDv(69,32),e.BQk(),e._UZ(70,"cd-helper",16),e.qZA(),e.TgZ(71,"div",10)(72,"select",33),e.YNc(73,Ao,2,0,"option",18),e.YNc(74,Fo,2,2,"option",19),e.qZA()()(),e.TgZ(75,"div",7)(76,"label",34),e.ynx(77),e.SDv(78,35),e.BQk(),e._UZ(79,"cd-helper",16),e.qZA(),e.TgZ(80,"div",10)(81,"select",36)(82,"option",37),e.SDv(83,38),e.qZA(),e.YNc(84,No,2,2,"option",19),e.qZA(),e.TgZ(85,"span",39),e.SDv(86,40),e.qZA()()(),e.TgZ(87,"div",7)(88,"label",41),e.ynx(89),e.SDv(90,42),e.BQk(),e._UZ(91,"cd-helper",16),e.qZA(),e.TgZ(92,"div",10),e._UZ(93,"input",43),e.qZA()()(),e.TgZ(94,"div",44)(95,"cd-form-button-panel",45),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(96,"titlecase"),e.ALo(97,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&_){const i=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,41,o.action))(e.lcZ(4,43,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.form),e.xp6(8),e.Q6J("ngIf",o.form.showError("name",i,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",i,"pattern")),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",i,"uniqueName")),e.xp6(5),e.Q6J("html",o.tooltips.plugins[o.plugin].description),e.xp6(3),e.Q6J("ngIf",!o.plugins),e.xp6(1),e.Q6J("ngForOf",o.plugins),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",i,"required")),e.xp6(5),e.Q6J("html",o.tooltips.k),e.xp6(3),e.Q6J("ngIf",o.form.showError("k",i,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("k",i,"min")),e.xp6(1),e.Q6J("ngIf",o.form.showError("k",i,"max")),e.xp6(1),e.Q6J("ngIf",o.form.showError("k",i,"unequal")),e.xp6(1),e.Q6J("ngIf",o.form.showError("k",i,"kLowerM")),e.xp6(1),e.Q6J("ngIf","lrc"===o.plugin),e.xp6(5),e.Q6J("html",o.tooltips.m),e.xp6(3),e.Q6J("ngIf",o.form.showError("m",i,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("m",i,"min")),e.xp6(1),e.Q6J("ngIf",o.form.showError("m",i,"max")),e.xp6(1),e.Q6J("ngIf","shec"===o.plugin),e.xp6(1),e.Q6J("ngIf","clay"===o.plugin),e.xp6(1),e.Q6J("ngIf",o.plugin===o.PLUGIN.LRC),e.xp6(5),e.Q6J("html",o.tooltips.crushFailureDomain),e.xp6(3),e.Q6J("ngIf",!o.failureDomains),e.xp6(1),e.Q6J("ngForOf",o.failureDomainKeys),e.xp6(1),e.Q6J("ngIf",o.plugin===o.PLUGIN.LRC),e.xp6(1),e.Q6J("ngIf",o.PLUGIN.CLAY===o.plugin),e.xp6(1),e.Q6J("ngIf",e.kEZ(49,Ie,o.PLUGIN.JERASURE,o.PLUGIN.ISA,o.PLUGIN.CLAY).includes(o.plugin)),e.xp6(1),e.Q6J("ngIf",o.plugin===o.PLUGIN.JERASURE),e.xp6(5),e.Q6J("html",o.tooltips.crushRoot),e.xp6(3),e.Q6J("ngIf",!o.buckets),e.xp6(1),e.Q6J("ngForOf",o.buckets),e.xp6(5),e.Q6J("html",o.tooltips.crushDeviceClass),e.xp6(5),e.Q6J("ngForOf",o.devices),e.xp6(2),e.pQV(o.deviceCount),e.QtT(86),e.xp6(5),e.Q6J("html",o.tooltips.directory),e.xp6(4),e.Q6J("form",o.form)("submitText",e.lcZ(96,45,o.action)+" "+e.lcZ(97,47,o.resource))}},dependencies:[C.mk,C.sg,C.O5,Pe.S,$e.z,fe.p,Ee.U,ge.o,pe.b,Re.P,me.V,l._Y,l.YN,l.Kr,l.Fj,l.wV,l.EJ,l.JJ,l.JL,l.qQ,l.sg,l.u,f._L,C.rS,Ce.m]}),t})();var vo=r(7022);class $o{constructor(){this.erasureInfo=!1,this.crushInfo=!1,this.pgs=1,this.poolTypes=["erasure","replicated"],this.applications={selected:[],default:["cephfs","rbd","rgw"],available:[],validators:[l.kI.pattern("[A-Za-z0-9_]+"),l.kI.maxLength(128)],messages:new vo.a({empty:"No applications added",selectionLimit:{text:"Applications limit reached",tooltip:"A pool can only have up to four applications definitions."},customValidations:{pattern:"Allowed characters '_a-zA-Z0-9'",maxlength:"Maximum length is 128 characters"},filter:"Filter or add applications'",add:"Add application"})}}}var De=r(63285),xe=r(47640),Io=r(60192),Do=r(30490),ye=r(61350),xo=r(17932),yo=r(63622),Zo=r(60950);const Uo=["crushInfoTabs"],Go=["crushDeletionBtn"],Ho=["ecpInfoTabs"],zo=["ecpDeletionBtn"];function qo(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,42),e.qZA())}function Xo(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,43),e.qZA())}function Qo(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,44),e.qZA())}function wo(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,45),e.qZA())}function Jo(t,n){if(1&t&&(e.TgZ(0,"option",46),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",_," ")}}function ko(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,47),e.qZA())}function Vo(t,n){if(1&t&&(e.TgZ(0,"option",46),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",_," ")}}function Yo(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,58),e.qZA())}function Bo(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,59),e.qZA())}function jo(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,60),e.qZA())}function Ko(t,n){1&t&&(e.TgZ(0,"span",55),e.SDv(1,61),e.qZA())}function Wo(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div",8)(1,"label",52),e.SDv(2,53),e.qZA(),e.TgZ(3,"div",11)(4,"input",54),e.NdJ("focus",function(){e.CHM(_);const i=e.oxw(3);return e.KtG(i.externalPgChange=!1)})("blur",function(){e.CHM(_);const i=e.oxw(3);return e.KtG(i.alignPgs())}),e.qZA(),e.YNc(5,Yo,2,0,"span",13),e.YNc(6,Bo,2,0,"span",13),e.YNc(7,jo,2,0,"span",13),e.TgZ(8,"span",55),e._UZ(9,"cd-doc",56),e.qZA(),e.YNc(10,Ko,2,0,"span",57),e.qZA()()}if(2&t){e.oxw(2);const _=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.form.showError("pgNum",_,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("pgNum",_,"min")),e.xp6(1),e.Q6J("ngIf",o.form.showError("pgNum",_,"34")),e.xp6(3),e.Q6J("ngIf",o.externalPgChange)}}function et(t,n){if(1&t&&(e.TgZ(0,"span",41)(1,"ul",66)(2,"li"),e.SDv(3,67),e.qZA(),e.TgZ(4,"li"),e.SDv(5,68),e.qZA()()()),2&t){const _=e.oxw(4);e.xp6(3),e.pQV(_.getMinSize()),e.QtT(3),e.xp6(2),e.pQV(_.getMaxSize()),e.QtT(5)}}function _t(t,n){if(1&t&&(e.TgZ(0,"span",41),e.SDv(1,69),e.qZA()),2&t){const _=e.oxw(4);e.xp6(1),e.pQV(_.getMinSize())(_.getMaxSize()),e.QtT(1)}}function ot(t,n){1&t&&(e.TgZ(0,"span",70),e.SDv(1,71),e.qZA())}function tt(t,n){if(1&t&&(e.TgZ(0,"div",8)(1,"label",62),e.SDv(2,63),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",64),e.YNc(5,et,6,2,"span",13),e.YNc(6,_t,2,2,"span",13),e.YNc(7,ot,2,0,"span",65),e.qZA()()),2&t){e.oxw(2);const _=e.MAs(2),o=e.oxw();e.xp6(4),e.Q6J("max",o.getMaxSize())("min",o.getMinSize()),e.xp6(1),e.Q6J("ngIf",o.form.showError("size",_)),e.xp6(1),e.Q6J("ngIf",o.form.showError("size",_)),e.xp6(1),e.Q6J("ngIf",1===o.form.getValue("size"))}}function nt(t,n){1&t&&(e.TgZ(0,"div",8)(1,"label",72),e.SDv(2,73),e.qZA(),e.TgZ(3,"div",11)(4,"div",74),e._UZ(5,"input",75),e.TgZ(6,"label",76),e.SDv(7,77),e.qZA()()()())}function it(t,n){if(1&t&&(e.TgZ(0,"div")(1,"div",8)(2,"label",48),e.SDv(3,49),e.qZA(),e.TgZ(4,"div",11)(5,"select",50),e.YNc(6,Vo,2,2,"option",19),e.qZA()()(),e.YNc(7,Wo,11,4,"div",51),e.YNc(8,tt,8,5,"div",51),e.YNc(9,nt,8,0,"div",51),e.qZA()),2&t){const _=e.oxw(2);e.xp6(6),e.Q6J("ngForOf",_.pgAutoscaleModes),e.xp6(1),e.Q6J("ngIf","on"!==_.form.getValue("pgAutoscaleMode")),e.xp6(1),e.Q6J("ngIf",_.isReplicated),e.xp6(1),e.Q6J("ngIf",_.info.is_all_bluestore&&_.isErasure)}}function st(t,n){if(1&t&&e._UZ(0,"i",78),2&t){const _=e.oxw(2);e.Gre("",_.icons.warning," icon-warning-color")}}function at(t,n){1&t&&(e.TgZ(0,"option",17),e.SDv(1,92),e.qZA())}function lt(t,n){1&t&&(e.TgZ(0,"option",93),e.SDv(1,94),e.qZA()),2&t&&e.Q6J("ngValue",null)}function rt(t,n){1&t&&(e.TgZ(0,"option",93),e.SDv(1,95),e.qZA()),2&t&&e.Q6J("ngValue",null)}function ct(t,n){if(1&t&&(e.TgZ(0,"option",93),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_.name," ")}}const F=function(t){return[t]};function Ot(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"button",96),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(4);return e.KtG(i.addErasureCodeProfile())}),e._UZ(1,"i",88),e.qZA()}if(2&t){const _=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(1,F,_.icons.add))}}function dt(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"button",97,98),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(4);return e.KtG(i.deleteErasureCodeProfile())}),e._UZ(2,"i",88),e.qZA()}if(2&t){const _=e.oxw(4);e.xp6(2),e.Q6J("ngClass",e.VKq(1,F,_.icons.trash))}}const ut=function(){return["name"]};function Pt(t,n){if(1&t&&e._UZ(0,"cd-table-key-value",109),2&t){const _=e.oxw(5);e.Q6J("renderObjects",!0)("hideKeys",e.DdM(4,ut))("data",_.form.getValue("erasureProfile"))("autoReload",!1)}}function ft(t,n){1&t&&(e.TgZ(0,"span"),e.SDv(1,112),e.qZA())}function Et(t,n){if(1&t&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.xp6(1),e.hij(" ",_," ")}}function gt(t,n){if(1&t&&(e.TgZ(0,"ul"),e.YNc(1,Et,2,1,"li",113),e.qZA()),2&t){const _=e.oxw(6);e.xp6(1),e.Q6J("ngForOf",_.ecpUsage)}}function pt(t,n){if(1&t&&(e.YNc(0,ft,2,0,"ng-template",null,110,e.W1O),e.YNc(2,gt,2,1,"ul",111)),2&t){const _=e.MAs(1),o=e.oxw(5);e.xp6(2),e.Q6J("ngIf",o.ecpUsage)("ngIfElse",_)}}function Rt(t,n){if(1&t&&(e.TgZ(0,"span",99)(1,"nav",100,101),e.ynx(3,102),e.TgZ(4,"a",103),e.SDv(5,104),e.qZA(),e.YNc(6,Pt,1,5,"ng-template",105),e.BQk(),e.ynx(7,106),e.TgZ(8,"a",103),e.SDv(9,107),e.qZA(),e.YNc(10,pt,3,2,"ng-template",105),e.BQk(),e.qZA(),e._UZ(11,"div",108),e.qZA()),2&t){const _=e.MAs(2);e.xp6(11),e.Q6J("ngbNavOutlet",_)}}const Ze=function(t){return{active:t}};function mt(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div",8)(1,"label",80),e.SDv(2,81),e.qZA(),e.TgZ(3,"div",11)(4,"div",82)(5,"select",83),e.YNc(6,at,2,0,"option",84),e.YNc(7,lt,2,1,"option",85),e.YNc(8,rt,2,1,"option",85),e.YNc(9,ct,2,2,"option",86),e.qZA(),e.TgZ(10,"button",87),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(3);return e.KtG(i.data.erasureInfo=!i.data.erasureInfo)}),e._UZ(11,"i",88),e.qZA(),e.YNc(12,Ot,2,3,"button",89),e.YNc(13,dt,3,3,"button",90),e.qZA(),e.YNc(14,Rt,12,1,"span",91),e.qZA()()}if(2&t){const _=e.oxw(3);e.xp6(6),e.Q6J("ngIf",!_.ecProfiles),e.xp6(1),e.Q6J("ngIf",_.ecProfiles&&0===_.ecProfiles.length),e.xp6(1),e.Q6J("ngIf",_.ecProfiles&&_.ecProfiles.length>0),e.xp6(1),e.Q6J("ngForOf",_.ecProfiles),e.xp6(1),e.Q6J("ngClass",e.VKq(9,Ze,_.data.erasureInfo)),e.xp6(1),e.Q6J("ngClass",e.VKq(11,F,_.icons.questionCircle)),e.xp6(1),e.Q6J("ngIf",!_.editing),e.xp6(1),e.Q6J("ngIf",!_.editing),e.xp6(1),e.Q6J("ngIf",_.data.erasureInfo&&_.form.getValue("erasureProfile"))}}function Ct(t,n){1&t&&(e.TgZ(0,"div",8)(1,"label",114),e.SDv(2,115),e.qZA(),e.TgZ(3,"div",11)(4,"span",55),e.SDv(5,116),e.qZA()()())}function Mt(t,n){1&t&&(e.TgZ(0,"span",55)(1,"span"),e.SDv(2,119),e.qZA(),e._uU(3,"\xa0 "),e.qZA())}function ht(t,n){if(1&t&&(e.TgZ(0,"option",93),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("ngValue",_),e.xp6(1),e.hij(" ",_.rule_name," ")}}function St(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"button",96),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(5);return e.KtG(i.addCrushRule())}),e._UZ(1,"i",88),e.qZA()}if(2&t){const _=e.oxw(5);e.xp6(1),e.Q6J("ngClass",e.VKq(1,F,_.icons.add))}}function Tt(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"button",126,127),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(5);return e.KtG(i.deleteCrushRule())}),e._UZ(2,"i",88),e.qZA()}if(2&t){const _=e.oxw(5);e.xp6(2),e.Q6J("ngClass",e.VKq(1,F,_.icons.trash))}}const Lt=function(){return["steps","type","rule_name"]};function At(t,n){if(1&t&&e._UZ(0,"cd-table-key-value",109),2&t){const _=e.oxw(6);e.Q6J("renderObjects",!1)("hideKeys",e.DdM(4,Lt))("data",_.form.getValue("crushRule"))("autoReload",!1)}}function Ft(t,n){if(1&t&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw(7);e.xp6(1),e.hij(" ",o.describeCrushStep(_)," ")}}function Nt(t,n){if(1&t&&(e.TgZ(0,"ol"),e.YNc(1,Ft,2,1,"li",113),e.qZA()),2&t){const _=e.oxw(6);e.xp6(1),e.Q6J("ngForOf",_.form.get("crushRule").value.steps)}}function bt(t,n){1&t&&(e.TgZ(0,"span"),e.SDv(1,136),e.qZA())}function vt(t,n){if(1&t&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.xp6(1),e.hij(" ",_," ")}}function $t(t,n){if(1&t&&(e.TgZ(0,"ul"),e.YNc(1,vt,2,1,"li",113),e.qZA()),2&t){const _=e.oxw(7);e.xp6(1),e.Q6J("ngForOf",_.crushUsage)}}function It(t,n){if(1&t&&(e.YNc(0,bt,2,0,"ng-template",null,135,e.W1O),e.YNc(2,$t,2,1,"ul",111)),2&t){const _=e.MAs(1),o=e.oxw(6);e.xp6(2),e.Q6J("ngIf",o.crushUsage)("ngIfElse",_)}}function Dt(t,n){if(1&t&&(e.TgZ(0,"div",128)(1,"nav",100,129),e.ynx(3,130),e.TgZ(4,"a",103),e.SDv(5,131),e.qZA(),e.YNc(6,At,1,5,"ng-template",105),e.BQk(),e.ynx(7,132),e.TgZ(8,"a",103),e.SDv(9,133),e.qZA(),e.YNc(10,Nt,2,1,"ng-template",105),e.BQk(),e.ynx(11,106),e.TgZ(12,"a",103),e.SDv(13,134),e.qZA(),e.YNc(14,It,3,2,"ng-template",105),e.BQk(),e.qZA(),e._UZ(15,"div",108),e.qZA()),2&t){const _=e.MAs(2);e.xp6(15),e.Q6J("ngbNavOutlet",_)}}function xt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,137),e.qZA())}function yt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,138),e.qZA())}function Zt(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div")(1,"div",120)(2,"select",121)(3,"option",93),e.SDv(4,122),e.qZA(),e.YNc(5,ht,2,2,"option",86),e.qZA(),e.TgZ(6,"button",123),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(4);return e.KtG(i.data.crushInfo=!i.data.crushInfo)}),e._UZ(7,"i",88),e.qZA(),e.YNc(8,St,2,3,"button",89),e.YNc(9,Tt,3,3,"button",124),e.qZA(),e.YNc(10,Dt,16,1,"div",125),e.YNc(11,xt,2,0,"span",13),e.YNc(12,yt,2,0,"span",13),e.qZA()}if(2&t){e.oxw(3);const _=e.MAs(2),o=e.oxw();e.xp6(3),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",o.current.rules),e.xp6(1),e.Q6J("ngClass",e.VKq(9,Ze,o.data.crushInfo)),e.xp6(1),e.Q6J("ngClass",e.VKq(11,F,o.icons.questionCircle)),e.xp6(1),e.Q6J("ngIf",o.isReplicated&&!o.editing),e.xp6(1),e.Q6J("ngIf",o.isReplicated&&!o.editing),e.xp6(1),e.Q6J("ngIf",o.data.crushInfo&&o.form.getValue("crushRule")),e.xp6(1),e.Q6J("ngIf",o.form.showError("crushRule",_,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("crushRule",_,"tooFewOsds"))}}function Ut(t,n){if(1&t&&(e.TgZ(0,"div",8)(1,"label",114),e.SDv(2,117),e.qZA(),e.TgZ(3,"div",11),e.YNc(4,Mt,4,0,"ng-template",null,118,e.W1O),e.YNc(6,Zt,13,13,"div",111),e.qZA()()),2&t){const _=e.MAs(5),o=e.oxw(3);e.xp6(6),e.Q6J("ngIf",o.current.rules.length>0)("ngIfElse",_)}}function Gt(t,n){if(1&t&&(e.TgZ(0,"div")(1,"legend"),e.SDv(2,79),e.qZA(),e.YNc(3,mt,15,13,"div",51),e.YNc(4,Ct,6,0,"div",51),e.YNc(5,Ut,7,2,"div",51),e.qZA()),2&t){const _=e.oxw(2);e.xp6(3),e.Q6J("ngIf",_.isErasure),e.xp6(1),e.Q6J("ngIf",_.isErasure&&!_.editing),e.xp6(1),e.Q6J("ngIf",_.isReplicated||_.editing)}}function Ht(t,n){if(1&t&&(e.TgZ(0,"option",46),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",_," ")}}function zt(t,n){1&t&&(e.TgZ(0,"option",17),e.SDv(1,156),e.qZA())}function qt(t,n){1&t&&(e.TgZ(0,"option",17),e.SDv(1,157),e.qZA())}function Xt(t,n){if(1&t&&(e.TgZ(0,"option",46),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",_," ")}}function Qt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,158),e.qZA())}function wt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,159),e.qZA())}function Jt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,160),e.qZA())}function kt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,161),e.qZA())}function Vt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,162),e.qZA())}function Yt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,163),e.qZA())}function Bt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,164),e.qZA())}function jt(t,n){if(1&t&&(e.TgZ(0,"div")(1,"div",8)(2,"label",144),e.SDv(3,145),e.qZA(),e.TgZ(4,"div",11)(5,"select",146),e.YNc(6,zt,2,0,"option",84),e.YNc(7,qt,2,0,"option",84),e.YNc(8,Xt,2,2,"option",19),e.qZA()()(),e.TgZ(9,"div",8)(10,"label",147),e.SDv(11,148),e.qZA(),e.TgZ(12,"div",11),e._UZ(13,"input",149),e.YNc(14,Qt,2,0,"span",13),e.YNc(15,wt,2,0,"span",13),e.YNc(16,Jt,2,0,"span",13),e.qZA()(),e.TgZ(17,"div",8)(18,"label",150),e.SDv(19,151),e.qZA(),e.TgZ(20,"div",11),e._UZ(21,"input",152),e.YNc(22,kt,2,0,"span",13),e.YNc(23,Vt,2,0,"span",13),e.YNc(24,Yt,2,0,"span",13),e.qZA()(),e.TgZ(25,"div",8)(26,"label",153),e.SDv(27,154),e.qZA(),e.TgZ(28,"div",11),e._UZ(29,"input",155),e.YNc(30,Bt,2,0,"span",13),e.qZA()()()),2&t){e.oxw(2);const _=e.MAs(2),o=e.oxw();e.xp6(6),e.Q6J("ngIf",!o.info.compression_algorithms),e.xp6(1),e.Q6J("ngIf",o.info.compression_algorithms&&0===o.info.compression_algorithms.length),e.xp6(1),e.Q6J("ngForOf",o.info.compression_algorithms),e.xp6(6),e.Q6J("ngIf",o.form.showError("minBlobSize",_,"min")),e.xp6(1),e.Q6J("ngIf",o.form.showError("minBlobSize",_,"maximum")),e.xp6(1),e.Q6J("ngIf",o.form.showError("minBlobSize",_,"pattern")),e.xp6(6),e.Q6J("ngIf",o.form.showError("maxBlobSize",_,"min")),e.xp6(1),e.Q6J("ngIf",o.form.showError("maxBlobSize",_,"minimum")),e.xp6(1),e.Q6J("ngIf",o.form.showError("maxBlobSize",_,"pattern")),e.xp6(6),e.Q6J("ngIf",o.form.showError("ratio",_,"min")||o.form.showError("ratio",_,"max"))}}function Kt(t,n){if(1&t&&(e.TgZ(0,"div",139)(1,"legend"),e.SDv(2,140),e.qZA(),e.TgZ(3,"div",8)(4,"label",141),e.SDv(5,142),e.qZA(),e.TgZ(6,"div",11)(7,"select",143),e.YNc(8,Ht,2,2,"option",19),e.qZA()()(),e.YNc(9,jt,31,10,"div",20),e.qZA()),2&t){const _=e.oxw(2);e.xp6(8),e.Q6J("ngForOf",_.info.compression_modes),e.xp6(1),e.Q6J("ngIf",_.hasCompressionEnabled())}}function Wt(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,165),e.qZA())}function en(t,n){1&t&&(e.TgZ(0,"span",41),e.SDv(1,166),e.qZA())}function _n(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",7)(9,"div",8)(10,"label",9),e.SDv(11,10),e.qZA(),e.TgZ(12,"div",11),e._UZ(13,"input",12),e.YNc(14,qo,2,0,"span",13),e.YNc(15,Xo,2,0,"span",13),e.YNc(16,Qo,2,0,"span",13),e.YNc(17,wo,2,0,"span",13),e.qZA()(),e.TgZ(18,"div",8)(19,"label",14),e.SDv(20,15),e.qZA(),e.TgZ(21,"div",11)(22,"select",16)(23,"option",17),e.SDv(24,18),e.qZA(),e.YNc(25,Jo,2,2,"option",19),e.qZA(),e.YNc(26,ko,2,0,"span",13),e.qZA()(),e.YNc(27,it,10,4,"div",20),e.TgZ(28,"div",8)(29,"label",21),e.SDv(30,22),e.qZA(),e.TgZ(31,"div",11)(32,"cd-select-badges",23),e.NdJ("selection",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.appSelection())}),e.qZA(),e.YNc(33,st,1,3,"i",24),e.qZA()(),e.YNc(34,Gt,6,3,"div",20),e.YNc(35,Kt,10,2,"div",25),e.TgZ(36,"div")(37,"legend"),e.SDv(38,26),e.qZA(),e.TgZ(39,"div",8)(40,"label",27),e.ynx(41),e.SDv(42,28),e.BQk(),e.TgZ(43,"cd-helper")(44,"span"),e.SDv(45,29),e.qZA(),e._UZ(46,"br"),e.TgZ(47,"span"),e.SDv(48,30),e.qZA()()(),e.TgZ(49,"div",11),e._UZ(50,"input",31),e.YNc(51,Wt,2,0,"span",13),e.qZA()(),e.TgZ(52,"div",8)(53,"label",32),e.ynx(54),e.SDv(55,33),e.BQk(),e.TgZ(56,"cd-helper")(57,"span"),e.SDv(58,34),e.qZA(),e._UZ(59,"br"),e.TgZ(60,"span"),e.SDv(61,35),e.qZA()()(),e.TgZ(62,"div",11),e._UZ(63,"input",36),e.YNc(64,en,2,0,"span",13),e.qZA()()(),e.TgZ(65,"div",37)(66,"cd-rbd-configuration-form",38),e.NdJ("changes",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.currentConfigurationValues=i())}),e.qZA()()(),e.TgZ(67,"div",39)(68,"cd-form-button-panel",40),e.NdJ("submitActionEvent",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.submit())}),e.ALo(69,"titlecase"),e.ALo(70,"upperFirst"),e.qZA()()()()()}if(2&t){const _=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("formGroup",o.form),e.xp6(6),e.pQV(e.lcZ(6,26,o.action))(e.lcZ(7,28,o.resource)),e.QtT(5),e.xp6(7),e.Q6J("ngIf",o.form.showError("name",_,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",_,"uniqueName")),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",_,"rbdPool")),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",_,"pattern")),e.xp6(8),e.Q6J("ngForOf",o.data.poolTypes),e.xp6(1),e.Q6J("ngIf",o.form.showError("poolType",_,"required")),e.xp6(1),e.Q6J("ngIf",o.isReplicated||o.isErasure),e.xp6(5),e.Q6J("customBadges",!0)("customBadgeValidators",o.data.applications.validators)("messages",o.data.applications.messages)("data",o.data.applications.selected)("options",o.data.applications.available)("selectionLimit",4),e.xp6(1),e.Q6J("ngIf",o.data.applications.selected<=0),e.xp6(1),e.Q6J("ngIf",o.isErasure||o.isReplicated),e.xp6(1),e.Q6J("ngIf",o.info.is_all_bluestore),e.xp6(16),e.Q6J("ngIf",o.form.showError("max_bytes",_,"pattern")),e.xp6(13),e.Q6J("ngIf",o.form.showError("max_objects",_,"min")),e.xp6(1),e.Q6J("hidden",o.isErasure||-1===o.data.applications.selected.indexOf("rbd")),e.xp6(1),e.Q6J("form",o.form)("initializeData",o.initializeConfigData),e.xp6(2),e.Q6J("form",o.form)("submitText",e.lcZ(69,30,o.action)+" "+e.lcZ(70,32,o.resource))}}let Ue=(()=>{class t extends M_.E{constructor(_,o,i,s,c,d,P,p,R,h,S){super(),this.dimlessBinaryPipe=_,this.route=o,this.router=i,this.modalService=s,this.poolService=c,this.authStorageService=d,this.formatter=P,this.taskWrapper=p,this.ecpService=R,this.crushRuleService=h,this.actionLabels=S,this.editing=!1,this.isReplicated=!1,this.isErasure=!1,this.data=new $o,this.externalPgChange=!1,this.current={rules:[]},this.initializeConfigData=new R_.t(1),this.currentConfigurationValues={},this.icons=b.P,this.crushUsage=void 0,this.ecpUsage=void 0,this.crushRuleMaxSize=10,this.editing=this.router.url.startsWith(`/pool/${M.MQ.EDIT}`),this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.CREATE,this.resource="pool",this.authenticate(),this.createForm()}authenticate(){if(this.permission=this.authStorageService.getPermissions().pool,!this.permission.read||!this.permission.update&&this.editing||!this.permission.create&&!this.editing)throw new m_._2}createForm(){const _=new Ne.d({mode:new l.p4("none"),algorithm:new l.p4(""),minBlobSize:new l.p4("",{updateOn:"blur"}),maxBlobSize:new l.p4("",{updateOn:"blur"}),ratio:new l.p4("",{updateOn:"blur"})});this.form=new Ne.d({name:new l.p4("",{validators:[l.kI.pattern(/^[.A-Za-z0-9_/-]+$/),l.kI.required,E.h.custom("rbdPool",()=>this.form&&this.form.getValue("name").includes("/")&&this.data&&-1!==this.data.applications.selected.indexOf("rbd"))]}),poolType:new l.p4("",{validators:[l.kI.required]}),crushRule:new l.p4(null,{validators:[E.h.custom("tooFewOsds",o=>this.info&&o&&this.info.osd_count<1),E.h.custom("required",o=>this.isReplicated&&this.info.crush_rules_replicated.length>0&&!o)]}),size:new l.p4("",{updateOn:"blur"}),erasureProfile:new l.p4(null),pgNum:new l.p4("",{validators:[l.kI.required]}),pgAutoscaleMode:new l.p4(null),ecOverwrites:new l.p4(!1),compression:_,max_bytes:new l.p4(""),max_objects:new l.p4(0)},[E.h.custom("form",()=>null)])}ngOnInit(){this.poolService.getInfo().subscribe(_=>{this.initInfo(_),this.editing?this.initEditMode():(this.setAvailableApps(),this.loadingReady()),this.listenToChanges(),this.setComplexValidators()})}initInfo(_){this.pgAutoscaleModes=_.pg_autoscale_modes,this.form.silentSet("pgAutoscaleMode",_.pg_autoscale_default_mode),this.form.silentSet("algorithm",_.bluestore_compression_algorithm),this.info=_,this.initEcp(_.erasure_code_profiles)}initEcp(_){this.setListControlStatus("erasureProfile",_),this.ecProfiles=_}setListControlStatus(_,o){const i=this.form.get(_),s=i.value;1!==o.length||s&&g().isEqual(s,o[0])?0===o.length&&s&&i.setValue(null):i.setValue(o[0]),o.length<=1?i.enabled&&i.disable():i.disabled&&i.enable()}initEditMode(){this.disableForEdit(),this.routeParamsSubscribe=this.route.params.subscribe(_=>this.poolService.get(_.name).subscribe(o=>{this.data.pool=o,this.initEditFormData(o),this.loadingReady()}))}disableForEdit(){["poolType","crushRule","size","erasureProfile","ecOverwrites"].forEach(_=>this.form.get(_).disable())}initEditFormData(_){this.initializeConfigData.next({initialData:_.configuration,sourceType:h_.h.pool}),this.poolTypeChange(_.type);const o=this.info.crush_rules_replicated.concat(this.info.crush_rules_erasure),i={name:_.pool_name,poolType:_.type,crushRule:o.find(s=>s.rule_name===_.crush_rule),size:_.size,erasureProfile:this.ecProfiles.find(s=>s.name===_.erasure_code_profile),pgAutoscaleMode:_.pg_autoscale_mode,pgNum:_.pg_num,ecOverwrites:_.flags_names.includes("ec_overwrites"),mode:_.options.compression_mode,algorithm:_.options.compression_algorithm,minBlobSize:this.dimlessBinaryPipe.transform(_.options.compression_min_blob_size),maxBlobSize:this.dimlessBinaryPipe.transform(_.options.compression_max_blob_size),ratio:_.options.compression_required_ratio,max_bytes:this.dimlessBinaryPipe.transform(_.quota_max_bytes),max_objects:_.quota_max_objects};Object.keys(i).forEach(s=>{const c=i[s];!g().isUndefined(c)&&""!==c&&this.form.silentSet(s,c)}),this.data.pgs=this.form.getValue("pgNum"),this.setAvailableApps(this.data.applications.default.concat(_.application_metadata)),this.data.applications.selected=_.application_metadata}setAvailableApps(_=this.data.applications.default){this.data.applications.available=g().uniq(_.sort()).map(o=>new C_.$(!1,o,""))}listenToChanges(){this.listenToChangesDuringAddEdit(),this.editing||this.listenToChangesDuringAdd()}listenToChangesDuringAddEdit(){this.form.get("pgNum").valueChanges.subscribe(_=>{const o=_-this.data.pgs;1===Math.abs(o)&&2!==_?this.doPgPowerJump(o):this.data.pgs=_})}doPgPowerJump(_){const o=this.calculatePgPower()+_;this.setPgs(-1===_?Math.round(o):Math.floor(o))}calculatePgPower(_=this.form.getValue("pgNum")){return Math.log(_)/Math.log(2)}setPgs(_){const o=Math.pow(2,_<0?0:_);this.data.pgs=o,this.form.silentSet("pgNum",o)}listenToChangesDuringAdd(){this.form.get("poolType").valueChanges.subscribe(_=>{this.poolTypeChange(_)}),this.form.get("crushRule").valueChanges.subscribe(_=>{this.crushDeletionBtn&&this.crushDeletionBtn.isOpen()&&this.crushDeletionBtn.close(),_&&(this.setCorrectMaxSize(_),this.crushRuleIsUsedBy(_.rule_name),this.replicatedRuleChange(),this.pgCalc())}),this.form.get("size").valueChanges.subscribe(()=>{this.pgCalc()}),this.form.get("erasureProfile").valueChanges.subscribe(_=>{this.ecpDeletionBtn&&this.ecpDeletionBtn.isOpen()&&this.ecpDeletionBtn.close(),_&&(this.ecpIsUsedBy(_.name),this.pgCalc())}),this.form.get("mode").valueChanges.subscribe(()=>{["minBlobSize","maxBlobSize","ratio"].forEach(_=>{this.form.get(_).updateValueAndValidity({emitEvent:!1})})}),this.form.get("minBlobSize").valueChanges.subscribe(()=>{this.form.get("maxBlobSize").updateValueAndValidity({emitEvent:!1})}),this.form.get("maxBlobSize").valueChanges.subscribe(()=>{this.form.get("minBlobSize").updateValueAndValidity({emitEvent:!1})})}poolTypeChange(_){if("replicated"===_?this.setTypeBooleans(!0,!1):this.setTypeBooleans(!1,"erasure"===_),!_||!this.info)return void(this.current.rules=[]);const o=this.info["crush_rules_"+_]||[];this.current.rules=o,!this.editing&&(this.isReplicated&&this.setListControlStatus("crushRule",o),this.replicatedRuleChange(),this.pgCalc())}setTypeBooleans(_,o){this.isReplicated=_,this.isErasure=o}replicatedRuleChange(){if(!this.isReplicated)return;const _=this.form.get("size");let o=this.form.getValue("size")||3;const i=this.getMinSize(),s=this.getMaxSize();o<i?o=i:o>s&&(o=s),o!==_.value&&this.form.silentSet("size",o)}getMinSize(){return!this.info||this.info.osd_count<1?0:1}getMaxSize(){const _=this.form.getValue("crushRule");return this.info?_?_.usable_size:Math.min(this.info.osd_count,3):0}pgCalc(){const _=this.form.getValue("poolType");if(!this.info||this.form.get("pgNum").dirty||!_)return;const o=100*this.info.osd_count,i=this.isReplicated?this.replicatedPgCalc(o):this.erasurePgCalc(o);if(!i)return;const s=this.data.pgs;this.alignPgs(i),this.externalPgChange||(this.externalPgChange=s!==this.data.pgs)}setCorrectMaxSize(_=this.form.getValue("crushRule")){if(!_)return;const i=T.searchFailureDomains(this.info.nodes,_.steps[0].item_name)[_.steps[1].type];_.usable_size=Math.min(i?i.length:this.crushRuleMaxSize,this.crushRuleMaxSize)}replicatedPgCalc(_){const o=this.form.get("size"),i=o.value;return o.valid&&i>0?_/i:0}erasurePgCalc(_){const o=this.form.get("erasureProfile"),i=o.value;return(o.valid||o.disabled)&&i?_/(i.k+i.m):0}alignPgs(_=this.form.getValue("pgNum")){this.setPgs(Math.round(this.calculatePgPower(_<1?1:_)))}setComplexValidators(){this.editing?this.form.get("name").setValidators([this.form.get("name").validator,E.h.custom("uniqueName",_=>this.data.pool&&this.info&&-1!==this.info.pool_names.indexOf(_)&&this.info.pool_names.indexOf(_)!==this.info.pool_names.indexOf(this.data.pool.pool_name))]):(E.h.validateIf(this.form.get("size"),()=>this.isReplicated,[E.h.custom("min",_=>this.form.getValue("size")&&_<this.getMinSize()),E.h.custom("max",_=>this.form.getValue("size")&&this.getMaxSize()<_)]),this.form.get("name").setValidators([this.form.get("name").validator,E.h.custom("uniqueName",_=>this.info&&-1!==this.info.pool_names.indexOf(_))])),this.setCompressionValidators()}setCompressionValidators(){E.h.validateIf(this.form.get("minBlobSize"),()=>this.hasCompressionEnabled(),[l.kI.min(0),E.h.custom("maximum",_=>this.oddBlobSize(_,this.form.getValue("maxBlobSize")))]),E.h.validateIf(this.form.get("maxBlobSize"),()=>this.hasCompressionEnabled(),[l.kI.min(0),E.h.custom("minimum",_=>this.oddBlobSize(this.form.getValue("minBlobSize"),_))]),E.h.validateIf(this.form.get("ratio"),()=>this.hasCompressionEnabled(),[l.kI.min(0),l.kI.max(1)])}oddBlobSize(_,o){const i=this.formatter.toBytes(_),s=this.formatter.toBytes(o);return Boolean(i&&s&&i>=s)}hasCompressionEnabled(){return this.form.getValue("mode")&&"none"!==this.form.get("mode").value.toLowerCase()}describeCrushStep(_){return[_.op.replace("_"," "),_.item_name||"",_.type?_.num+" type "+_.type:""].join(" ")}addErasureCodeProfile(){this.addModal(bo,_=>this.reloadECPs(_))}addModal(_,o){this.hideOpenTooltips(),this.modalService.show(_).componentInstance.submitAction.subscribe(s=>{o(s.name)})}hideOpenTooltips(){const _=o=>o&&o.isOpen()&&o.close();_(this.ecpDeletionBtn),_(this.crushDeletionBtn)}reloadECPs(_){this.reloadList({newItemName:_,getInfo:()=>this.ecpService.list(),initInfo:o=>this.initEcp(o),findNewItem:()=>this.ecProfiles.find(o=>o.name===_),controlName:"erasureProfile"})}reloadList({newItemName:_,getInfo:o,initInfo:i,findNewItem:s,controlName:c}){this.modalSubscription&&this.modalSubscription.unsubscribe(),o().subscribe(d=>{if(i(d),!_)return;const P=s();P&&this.form.get(c).setValue(P)})}deleteErasureCodeProfile(){this.deletionModal({value:this.form.getValue("erasureProfile"),usage:this.ecpUsage,deletionBtn:this.ecpDeletionBtn,dataName:"erasureInfo",getTabs:()=>this.ecpInfoTabs,tabPosition:"used-by-pools",nameAttribute:"name",itemDescription:"erasure code profile",reloadFn:()=>this.reloadECPs(),deleteFn:_=>this.ecpService.delete(_),taskName:"ecp/delete"})}deletionModal({value:_,usage:o,deletionBtn:i,dataName:s,getTabs:c,tabPosition:d,nameAttribute:P,itemDescription:p,reloadFn:R,deleteFn:h,taskName:S}){if(!_)return;if(o)return i.animation=!1,i.toggle(),this.data[s]=!0,void setTimeout(()=>{const u=c();u&&u.select(d)},50);const m=_[P];this.modalService.show(Fe.M,{itemDescription:p,itemNames:[m],submitActionObservable:()=>{const u=h(m);return u.subscribe(()=>R()),this.taskWrapper.wrapTaskAroundCall({task:new v.R(S,{name:m}),call:u})}})}addCrushRule(){this.addModal(y_,_=>this.reloadCrushRules(_))}reloadCrushRules(_){this.reloadList({newItemName:_,getInfo:()=>this.poolService.getInfo(),initInfo:o=>{this.initInfo(o),this.poolTypeChange("replicated")},findNewItem:()=>this.info.crush_rules_replicated.find(o=>o.rule_name===_),controlName:"crushRule"})}deleteCrushRule(){this.deletionModal({value:this.form.getValue("crushRule"),usage:this.crushUsage,deletionBtn:this.crushDeletionBtn,dataName:"crushInfo",getTabs:()=>this.crushInfoTabs,tabPosition:"used-by-pools",nameAttribute:"rule_name",itemDescription:"crush rule",reloadFn:()=>this.reloadCrushRules(),deleteFn:_=>this.crushRuleService.delete(_),taskName:"crushRule/delete"})}crushRuleIsUsedBy(_){this.crushUsage=_?this.info.used_rules[_]:void 0}ecpIsUsedBy(_){this.ecpUsage=_?this.info.used_profiles[_]:void 0}submit(){if(this.form.invalid)return void this.form.setErrors({cdSubmitButton:!0});const _={pool:this.form.getValue("name")};this.assignFormFields(_,[{externalFieldName:"pool_type",formControlName:"poolType"},{externalFieldName:"pg_autoscale_mode",formControlName:"pgAutoscaleMode",editable:!0},{externalFieldName:"pg_num",formControlName:"pgNum",replaceFn:i=>"on"===this.form.getValue("pgAutoscaleMode")?1:i,editable:!0},this.isReplicated?{externalFieldName:"size",formControlName:"size"}:{externalFieldName:"erasure_code_profile",formControlName:"erasureProfile",attr:"name"},{externalFieldName:"rule_name",formControlName:"crushRule",replaceFn:i=>this.isReplicated?i&&i.rule_name:void 0},{externalFieldName:"quota_max_bytes",formControlName:"max_bytes",replaceFn:this.formatter.toBytes,editable:!0,resetValue:this.editing?0:void 0},{externalFieldName:"quota_max_objects",formControlName:"max_objects",editable:!0,resetValue:this.editing?0:void 0}]),this.info.is_all_bluestore&&(this.assignFormField(_,{externalFieldName:"flags",formControlName:"ecOverwrites",replaceFn:()=>this.isErasure?["ec_overwrites"]:void 0}),"none"!==this.form.getValue("mode")?this.assignFormFields(_,[{externalFieldName:"compression_mode",formControlName:"mode",editable:!0,replaceFn:i=>this.hasCompressionEnabled()&&i},{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(_,[{externalFieldName:"compression_mode",formControlName:"mode",editable:!0,replaceFn:()=>"unset"},{externalFieldName:"srcpool",formControlName:"name",editable:!0,replaceFn:()=>this.data.pool.pool_name}]));const o=this.data.applications.selected;(o.length>0||this.editing)&&(_.application_metadata=o),this.isReplicated&&!g().isEmpty(this.currentConfigurationValues)&&(_.configuration=this.currentConfigurationValues),this.triggerApiTask(_)}assignFormFields(_,o){o.forEach(i=>this.assignFormField(_,i))}assignFormField(_,{externalFieldName:o,formControlName:i,attr:s,replaceFn:c,editable:d,resetValue:P}){if(this.editing&&(!d||this.form.get(i).pristine))return;const p=this.form.getValue(i);let R=c?c(p):s?g().get(p,s):p;if(!p||!R){if(!d||g().isUndefined(P))return;R=P}_[o]=R}triggerApiTask(_){this.taskWrapper.wrapTaskAroundCall({task:new v.R("pool/"+(this.editing?M.MQ.EDIT:M.MQ.CREATE),{pool_name:_.hasOwnProperty("srcpool")?_.srcpool:_.pool}),call:this.poolService[this.editing?M.MQ.UPDATE:M.MQ.CREATE](_)}).subscribe({error:o=>{g().isObject(o.error)&&"34"===o.error.code&&this.form.get("pgNum").setErrors({34:!0}),this.form.setErrors({cdSubmitButton:!0})},complete:()=>this.router.navigate(["/pool"])})}appSelection(){this.form.get("name").updateValueAndValidity({emitEvent:!1,onlySelf:!0})}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(S_.$),e.Y36(Oe.gz),e.Y36(Oe.F0),e.Y36(De.Z),e.Y36(ue.q),e.Y36(xe.j),e.Y36(T_.H),e.Y36(de.P),e.Y36(Me),e.Y36(ve.H),e.Y36(M.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-pool-form"]],viewQuery:function(_,o){if(1&_&&(e.Gf(Uo,5),e.Gf(Go,5),e.Gf(Ho,5),e.Gf(zo,5)),2&_){let i;e.iGM(i=e.CRH())&&(o.crushInfoTabs=i.first),e.iGM(i=e.CRH())&&(o.crushDeletionBtn=i.first),e.iGM(i=e.CRH())&&(o.ecpInfoTabs=i.first),e.iGM(i=e.CRH())&&(o.ecpDeletionBtn=i.first)}},features:[e.qOj],decls:1,vars:1,consts:function(){let n,_,o,i,s,c,d,P,p,R,h,S,m,u,A,$,I,D,x,y,Z,U,G,H,z,q,X,Q,w,J,k,V,Y,B,j,K,N,W,ee,_e,oe,te,ne,ie,se,ae,le,re,ce,O,Xe,Qe,we,Je,ke,Ve,Ye,Be,je,Ke,We,e_,__,o_,t_,n_,i_,s_,a_,l_,r_,c_,O_,d_,u_,P_;return n="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",_="Name",o="Name...",i="Pool type",s="-- Select a pool type --",c="Applications",d="Pools should be associated with an application tag",P="Quotas",p="Max bytes",R="Leave it blank or specify 0 to disable this quota.",h="A valid quota should be greater than 0.",S="e.g., 10GiB",m="Max objects",u="Leave it blank or specify 0 to disable this quota.",A="A valid quota should be greater than 0.",$="This field is required!",I="The chosen Ceph pool name is already in use.",D="It's not possible to create an RBD pool with '/' in the name. Please change the name or remove 'rbd' from the applications list.",x="Pool name can only contain letters, numbers, '.', '-', '_' or '/'.",y="This field is required!",Z="PG Autoscale",U="Placement groups",G="Calculation help",H="This field is required!",z="At least one placement group is needed!",q="Your cluster can't handle this many PGs. Please recalculate the PG amount needed.",X="The current PGs settings were calculated for you, you should make sure the values suit your needs before submit.",Q="Replicated size",w="Minimum: " + "\ufffd0\ufffd" + "",J="Maximum: " + "\ufffd0\ufffd" + "",k="The size specified is out of range. A value from " + "\ufffd0\ufffd" + " to " + "\ufffd1\ufffd" + " is usable.",V="A size of 1 will not create a replication of the object. The 'Replicated size' includes the object itself.",Y="Flags",B="EC Overwrites",j="CRUSH",K="Erasure code profile",N="This profile can't be deleted as it is in use.",W="Loading...",ee="-- No erasure code profile available --",_e="-- Select an erasure code profile --",oe="Profile",te="Used by pools",ne="Profile is not in use.",ie="Crush ruleset",se="A new crush ruleset will be implicitly created.",ae="Crush ruleset",le="There are no rules.",re="-- Select a crush rule --",ce="Placement and\n replication strategies or distribution policies that allow to\n specify how CRUSH places data replicas.",O="This rule can't be deleted as it is in use.",Xe="Crush rule",Qe="Crush steps",we="Used by pools",Je="Rule is not in use.",ke="This field is required!",Ve="The rule can't be used in the current cluster as it has too few OSDs to meet the minimum required OSD by this rule.",Ye="Compression",Be="Mode",je="Algorithm",Ke="Minimum blob size",We="e.g., 128KiB",e_="Maximum blob size",__="e.g., 512KiB",o_="Ratio",t_="Compression ratio",n_="Loading...",i_="-- No erasure compression algorithm available --",s_="Value should be greater than 0",a_="Value should be less than the maximum blob size",l_="Size must be a number or in a valid format. eg: 5 GiB",r_="Value should be greater than 0",c_="Value should be greater than the minimum blob size",O_="Size must be a number or in a valid format. eg: 5 GiB",d_="Value should be between 0.0 and 1.0",u_="Size must be a number or in a valid format. eg: 5 GiB",P_="The value should be greater or equal to 0",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","form","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],n,[1,"card-body"],[1,"form-group","row"],["for","name",1,"cd-col-form-label","required"],_,[1,"cd-col-form-input"],["id","name","name","name","type","text","placeholder",o,"formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","poolType",1,"cd-col-form-label","required"],i,["id","poolType","formControlName","poolType","name","poolType",1,"form-select"],["ngValue",""],s,[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["for","applications",1,"cd-col-form-label"],c,["id","applications",3,"customBadges","customBadgeValidators","messages","data","options","selectionLimit","selection"],["title",d,3,"class",4,"ngIf"],["formGroupName","compression",4,"ngIf"],P,["for","max_bytes",1,"cd-col-form-label"],p,R,h,["id","max_bytes","name","max_bytes","type","text","formControlName","max_bytes","placeholder",S,"defaultUnit","GiB","cdDimlessBinary","",1,"form-control"],["for","max_objects",1,"cd-col-form-label"],m,u,A,["id","max_objects","min","0","name","max_objects","type","number","formControlName","max_objects",1,"form-control"],[3,"hidden"],[3,"form","initializeData","changes"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],$,I,D,x,[3,"value"],y,["for","pgAutoscaleMode",1,"cd-col-form-label"],Z,["id","pgAutoscaleMode","name","pgAutoscaleMode","formControlName","pgAutoscaleMode",1,"form-select"],["class","form-group row",4,"ngIf"],["for","pgNum",1,"cd-col-form-label","required"],U,["id","pgNum","name","pgNum","formControlName","pgNum","min","1","type","number","required","",1,"form-control",3,"focus","blur"],[1,"form-text","text-muted"],["section","pgs","docText",G],["class","form-text text-muted",4,"ngIf"],H,z,q,X,["for","size",1,"cd-col-form-label","required"],Q,["id","size","name","size","type","number","formControlName","size",1,"form-control",3,"max","min"],["class","text-warning-dark",4,"ngIf"],[1,"list-inline"],w,J,k,[1,"text-warning-dark"],V,[1,"cd-col-form-label"],Y,[1,"custom-control","custom-checkbox"],["type","checkbox","id","ec-overwrites","formControlName","ecOverwrites",1,"custom-control-input"],["for","ec-overwrites",1,"custom-control-label"],B,["title",d],j,["for","erasureProfile",1,"cd-col-form-label"],K,[1,"input-group","mb-1"],["id","erasureProfile","name","erasureProfile","formControlName","erasureProfile",1,"form-select"],["ngValue","",4,"ngIf"],[3,"ngValue",4,"ngIf"],[3,"ngValue",4,"ngFor","ngForOf"],["id","ecp-info-button","type","button",1,"btn","btn-light",3,"ngClass","click"],["aria-hidden","true",3,"ngClass"],["class","btn btn-light","type","button",3,"click",4,"ngIf"],["class","btn btn-light","type","button","ngbTooltip",N,"triggers","manual",3,"click",4,"ngIf"],["class","form-text text-muted","id","ecp-info-block",4,"ngIf"],W,[3,"ngValue"],ee,_e,["type","button",1,"btn","btn-light",3,"click"],["type","button","ngbTooltip",N,"triggers","manual",1,"btn","btn-light",3,"click"],["ecpDeletionBtn","ngbTooltip"],["id","ecp-info-block",1,"form-text","text-muted"],["ngbNav","",1,"nav-tabs"],["ecpInfoTabs","ngbNav"],["ngbNavItem","ecp-info"],["ngbNavLink",""],oe,["ngbNavContent",""],["ngbNavItem","used-by-pools"],te,[3,"ngbNavOutlet"],[3,"renderObjects","hideKeys","data","autoReload"],["ecpIsNotUsed",""],[4,"ngIf","ngIfElse"],ne,[4,"ngFor","ngForOf"],["for","crushRule",1,"cd-col-form-label"],ie,se,ae,["noRules",""],le,[1,"input-group"],["id","crushRule","formControlName","crushRule","name","crushSet",1,"form-select"],re,["id","crush-info-button","type","button","ngbTooltip",ce,1,"btn","btn-light",3,"ngClass","click"],["class","btn btn-light","type","button","ngbTooltip",O,"triggers","manual",3,"click",4,"ngIf"],["class","form-text text-muted","id","crush-info-block",4,"ngIf"],["type","button","ngbTooltip",O,"triggers","manual",1,"btn","btn-light",3,"click"],["crushDeletionBtn","ngbTooltip"],["id","crush-info-block",1,"form-text","text-muted"],["crushInfoTabs","ngbNav"],["ngbNavItem","crush-rule-info"],Xe,["ngbNavItem","crush-rule-steps"],Qe,we,["ruleIsNotUsed",""],Je,ke,Ve,["formGroupName","compression"],Ye,["for","mode",1,"cd-col-form-label"],Be,["id","mode","name","mode","formControlName","mode",1,"form-select"],["for","algorithm",1,"cd-col-form-label"],je,["id","algorithm","name","algorithm","formControlName","algorithm",1,"form-select"],["for","minBlobSize",1,"cd-col-form-label"],Ke,["id","minBlobSize","name","minBlobSize","formControlName","minBlobSize","type","text","min","0","placeholder",We,"defaultUnit","KiB","cdDimlessBinary","",1,"form-control"],["for","maxBlobSize",1,"cd-col-form-label"],e_,["id","maxBlobSize","type","text","min","0","formControlName","maxBlobSize","placeholder",__,"defaultUnit","KiB","cdDimlessBinary","",1,"form-control"],["for","ratio",1,"cd-col-form-label"],o_,["id","ratio","name","ratio","formControlName","ratio","type","number","min","0","max","1","step","0.1","placeholder",t_,1,"form-control"],n_,i_,s_,a_,l_,r_,c_,O_,d_,u_,P_]},template:function(_,o){1&_&&e.YNc(0,_n,71,34,"div",0),2&_&&e.Q6J("cdFormLoading",o.loading)},dependencies:[C.mk,C.sg,C.O5,f.uN,f.Pz,f.nv,f.Vx,f.tO,f.Dy,Pe.S,Io.m,Do.K,fe.p,ye.b,Ee.U,xo.Q,yo.y,ge.o,pe.b,Re.P,me.V,l._Y,l.YN,l.Kr,l.Fj,l.wV,l.Wl,l.EJ,l.JJ,l.JL,l.Q7,l.qQ,l.Fd,l.sg,l.u,l.x0,f._L,Zo.d,C.rS,Ce.m],styles:[".icon-warning-color[_ngcontent-%COMP%]{margin-left:3px}"]}),t})();var on=r(19773),tn=r(20687),nn=r(68136),he=r(69158),Se=r(83697),L=r(99466),sn=r(91801),an=r(68774),ln=r(66369),Ge=r(38047),Te=r(51847);class rn{constructor(n){this.pool_name=n}}var cn=r(64724),On=r(60251),He=r(76317),dn=r(94928),un=r(23240),ze=r(51295),Pn=r(59376),fn=r(42176);function En(t,n){if(1&t&&e._UZ(0,"cd-table-key-value",12),2&t){const _=e.oxw(2);e.Q6J("renderObjects",!0)("data",_.poolDetails)("autoReload",!1)}}function gn(t,n){if(1&t&&e._UZ(0,"cd-grafana",15),2&t){const _=e.oxw(3);e.MGl("grafanaPath","ceph-pool-detail?var-pool_name=",_.selection.pool_name,""),e.Q6J("type","metrics")}}function pn(t,n){1&t&&(e.ynx(0,13),e.TgZ(1,"a",5),e.SDv(2,14),e.qZA(),e.YNc(3,gn,1,2,"ng-template",7),e.BQk())}function Rn(t,n){if(1&t&&e._UZ(0,"cd-rbd-configuration-table",18),2&t){const _=e.oxw(3);e.Q6J("data",_.selectedPoolConfiguration)}}function mn(t,n){1&t&&(e.ynx(0,16),e.TgZ(1,"a",5),e.SDv(2,17),e.qZA(),e.YNc(3,Rn,1,1,"ng-template",7),e.BQk())}function Cn(t,n){if(1&t&&e._UZ(0,"cd-table",21),2&t){const _=e.oxw(3);e.Q6J("data",_.cacheTiers)("columns",_.cacheTierColumns)("autoSave",!1)}}function Mn(t,n){1&t&&(e.ynx(0,19),e.TgZ(1,"a",5),e.SDv(2,20),e.qZA(),e.YNc(3,Cn,1,3,"ng-template",7),e.BQk())}function hn(t,n){if(1&t&&(e.ynx(0,1),e.TgZ(1,"nav",2,3),e.ynx(3,4),e.TgZ(4,"a",5),e.SDv(5,6),e.qZA(),e.YNc(6,En,1,3,"ng-template",7),e.BQk(),e.YNc(7,pn,4,0,"ng-container",8),e.YNc(8,mn,4,0,"ng-container",9),e.YNc(9,Mn,4,0,"ng-container",10),e.qZA(),e._UZ(10,"div",11),e.BQk()),2&t){const _=e.MAs(2),o=e.oxw();e.xp6(7),e.Q6J("ngIf",o.permissions.grafana.read),e.xp6(1),e.Q6J("ngIf","replicated"===o.selection.type),e.xp6(1),e.Q6J("ngIf",(null==o.selection.tiers?null:o.selection.tiers.length)>0),e.xp6(1),e.Q6J("ngbNavOutlet",_)}}let Sn=(()=>{class t{constructor(_){this.poolService=_,this.cacheTierColumns=[],this.omittedPoolAttributes=["cdExecuting","cdIsBinary","stats"],this.cacheTierColumns=[{prop:"pool_name",name:"Name",flexGrow:3},{prop:"cache_mode",name:"Cache Mode",flexGrow:2},{prop:"cache_min_evict_age",name:"Min Evict Age",flexGrow:2},{prop:"cache_min_flush_age",name:"Min Flush Age",flexGrow:2},{prop:"target_max_bytes",name:"Target Max Bytes",flexGrow:2},{prop:"target_max_objects",name:"Target Max Objects",flexGrow:2}]}ngOnChanges(){this.selection&&(this.poolService.getConfiguration(this.selection.pool_name).subscribe(_=>{ze.T.updateChanged(this,{selectedPoolConfiguration:_})}),ze.T.updateChanged(this,{poolDetails:g().omit(this.selection,this.omittedPoolAttributes)}))}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(ue.q))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-pool-details"]],inputs:{cacheTiers:"cacheTiers",permissions:"permissions",selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let n,_,o,i,s;return n="Details",_="Performance Details",o="Pool details",i="Configuration",s="Cache Tiers Details",[["cdTableDetail","",4,"ngIf"],["cdTableDetail",""],["ngbNav","","cdStatefulTab","pool-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],n,["ngbNavContent",""],["ngbNavItem","performance-details",4,"ngIf"],["ngbNavItem","configuration",4,"ngIf"],["ngbNavItem","cache-tiers-details",4,"ngIf"],[3,"ngbNavOutlet"],[3,"renderObjects","data","autoReload"],["ngbNavItem","performance-details"],_,["title",o,"uid","-xyV8KCiz","grafanaStyle","three",3,"grafanaPath","type"],["ngbNavItem","configuration"],i,[3,"data"],["ngbNavItem","cache-tiers-details"],s,["columnMode","flex",3,"data","columns","autoSave"]]},template:function(_,o){1&_&&e.YNc(0,hn,11,4,"ng-container",0),2&_&&e.Q6J("ngIf",o.selection)},dependencies:[C.O5,f.uN,f.Pz,f.nv,f.Vx,f.tO,f.Dy,He.F,Se.a,ye.b,Pn.m,fn.P],changeDetection:0}),t})();const Tn=["poolUsageTpl"],Ln=["poolConfigurationSourceTpl"];function An(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"cd-table",9,10),e.NdJ("fetchData",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.taskListService.fetch())})("setExpandedRow",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.setExpandedRow(i))})("updateSelection",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.updateSelection(i))}),e._UZ(2,"cd-table-actions",11)(3,"cd-pool-details",12),e.qZA()}if(2&t){const _=e.oxw();e.Q6J("data",_.pools)("columns",_.columns)("hasDetails",!0)("status",_.tableStatus)("autoReload",-1),e.xp6(2),e.Q6J("permission",_.permissions.pool)("selection",_.selection)("tableActions",_.tableActions),e.xp6(1),e.Q6J("selection",_.expandedRow)("permissions",_.permissions)("cacheTiers",_.cacheTiers)}}function Fn(t,n){1&t&&e._UZ(0,"cd-grafana",14),2&t&&e.Q6J("grafanaPath","ceph-pools-overview?")("type","metrics")}function Nn(t,n){1&t&&(e.ynx(0,2),e.TgZ(1,"a",3),e.SDv(2,13),e.qZA(),e.YNc(3,Fn,1,2,"ng-template",5),e.BQk())}function bn(t,n){if(1&t&&e._UZ(0,"cd-usage-bar",16),2&t){const _=e.oxw().row;e.Q6J("total",_.stats.bytes_used.latest+_.stats.avail_raw.latest)("used",_.stats.bytes_used.latest)("title",_.pool_name)}}function vn(t,n){if(1&t&&e.YNc(0,bn,1,3,"cd-usage-bar",15),2&t){const _=n.row;e.Q6J("ngIf",null==_.stats||null==_.stats.avail_raw?null:_.stats.avail_raw.latest)}}const Le="pool";let $n=(()=>{class t extends nn.o{constructor(_,o,i,s,c,d,P,p,R,h,S){super(),this.poolService=_,this.taskWrapper=o,this.ecpService=i,this.authStorageService=s,this.taskListService=c,this.modalService=d,this.pgCategoryService=P,this.dimlessPipe=p,this.urlBuilder=R,this.configurationService=h,this.actionLabels=S,this.selection=new an.r,this.executingTasks=[],this.tableStatus=new he.E,this.cacheTiers=[],this.monAllowPoolDelete=!1,this.permissions=this.authStorageService.getPermissions(),this.tableActions=[{permission:"create",icon:b.P.add,routerLink:()=>this.urlBuilder.getCreate(),name:this.actionLabels.CREATE},{permission:"update",icon:b.P.edit,routerLink:()=>this.urlBuilder.getEdit(encodeURIComponent(this.selection.first().pool_name)),name:this.actionLabels.EDIT},{permission:"delete",icon:b.P.destroy,click:()=>this.deletePoolModal(),name:this.actionLabels.DELETE,disable:this.getDisableDesc.bind(this)}],this.permissions.configOpt.read&&this.configurationService.get("mon_allow_pool_delete").subscribe(m=>{if(g().has(m,"value")){const u=g().find(m.value,A=>"mon"===A.section)||{value:!1};this.monAllowPoolDelete="true"===u.value}})}ngOnInit(){const _=(o,i,s)=>g().get(i,o)>g().get(s,o)?1:-1;this.columns=[{prop:"pool_name",name:"Name",flexGrow:4,cellTransformation:L.e.executing},{prop:"data_protection",name:"Data Protection",cellTransformation:L.e.badge,customTemplateConfig:{class:"badge-background-gray"},flexGrow:1.3},{prop:"application_metadata",name:"Applications",cellTransformation:L.e.badge,customTemplateConfig:{class:"badge-background-primary"},flexGrow:1.5},{prop:"pg_status",name:"PG Status",flexGrow:1.2,cellClass:({row:o,column:i,value:s})=>this.getPgStatusCellClass(o,i,s)},{prop:"crush_rule",name:"Crush Ruleset",isHidden:!0,flexGrow:2},{name:"Usage",prop:"usage",cellTemplate:this.poolUsageTpl,flexGrow:1.2},{prop:"stats.rd_bytes.rates",name:"Read bytes",comparator:(o,i,s,c)=>_("stats.rd_bytes.latest",s,c),cellTransformation:L.e.sparkline,flexGrow:1.5},{prop:"stats.wr_bytes.rates",name:"Write bytes",comparator:(o,i,s,c)=>_("stats.wr_bytes.latest",s,c),cellTransformation:L.e.sparkline,flexGrow:1.5},{prop:"stats.rd.rate",name:"Read ops",flexGrow:1,pipe:this.dimlessPipe,cellTransformation:L.e.perSecond},{prop:"stats.wr.rate",name:"Write ops",flexGrow:1,pipe:this.dimlessPipe,cellTransformation:L.e.perSecond}],this.taskListService.init(()=>this.ecpService.list().pipe((0,on.zg)(o=>(this.ecProfileList=o,this.poolService.getList()))),void 0,o=>{this.pools=this.transformPoolsData(o),this.tableStatus=new he.E},()=>{this.table.reset(),this.tableStatus=new he.E(sn.T.ValueException)},o=>o.name.startsWith(`${Le}/`),(o,i)=>i.metadata.pool_name===o.pool_name,{default:o=>new rn(o.pool_name)})}updateSelection(_){this.selection=_}deletePoolModal(){const _=this.selection.first().pool_name;this.modalService.show(Fe.M,{itemDescription:"Pool",itemNames:[_],submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new v.R(`${Le}/${M.MQ.DELETE}`,{pool_name:_}),call:this.poolService.delete(_)})})}getPgStatusCellClass(_,o,i){return{"text-right":!0,[`pg-${this.pgCategoryService.getTypeByStates(i)}`]:!0}}getErasureCodeProfile(_){let o="";return g().forEach(this.ecProfileList,i=>{i.name===_&&(o=`EC: ${i.k}+${i.m}`)}),o}transformPoolsData(_){const o=["bytes_used","max_avail","avail_raw","percent_used","rd_bytes","wr_bytes","rd","wr"],i={latest:0,rate:0,rates:[]};return g().forEach(_,s=>{s.pg_status=this.transformPgStatus(s.pg_status);const c={};g().forEach(o,d=>{c[d]=s.stats&&s.stats[d]?s.stats[d]:i}),s.stats=c,s.usage=c.percent_used.latest,!s.cdExecuting&&s.pg_num+s.pg_placement_num!==s.pg_num_target+s.pg_placement_num_target&&(s.cdExecuting="Updating"),["rd_bytes","wr_bytes"].forEach(d=>{s.stats[d].rates=s.stats[d].rates.map(P=>P[1])}),s.cdIsBinary=!0,"erasure"===s.type&&(s.data_protection=this.getErasureCodeProfile(s.erasure_code_profile)),"replicated"===s.type&&(s.data_protection=`replica: \xd7${s.size}`)}),_}transformPgStatus(_){const o=[];return g().forEach(_,(i,s)=>{o.push(`${i} ${s}`)}),o.join(", ")}getSelectionTiers(){if(typeof this.expandedRow<"u"){const _=this.expandedRow.tiers;this.cacheTiers=this.pools.filter(o=>_.includes(o.pool))}}getDisableDesc(){return!this.selection?.hasSelection||!this.monAllowPoolDelete&&"Pool deletion is disabled by the mon_allow_pool_delete configuration setting."}setExpandedRow(_){super.setExpandedRow(_),this.getSelectionTiers()}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(ue.q),e.Y36(de.P),e.Y36(Me),e.Y36(xe.j),e.Y36(Ge.j),e.Y36(De.Z),e.Y36(tn.j),e.Y36(ln.n),e.Y36(Te.F),e.Y36(cn.e),e.Y36(M.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-pool-list"]],viewQuery:function(_,o){if(1&_&&(e.Gf(Se.a,5),e.Gf(Tn,7),e.Gf(Ln,5)),2&_){let i;e.iGM(i=e.CRH())&&(o.table=i.first),e.iGM(i=e.CRH())&&(o.poolUsageTpl=i.first),e.iGM(i=e.CRH())&&(o.poolConfigurationSourceTpl=i.first)}},features:[e._Bn([Ge.j,{provide:Te.F,useValue:new Te.F(Le)}]),e.qOj],decls:10,vars:2,consts:function(){let n,_,o;return n="Pools List",_="Overall Performance",o="Ceph pools overview",[["ngbNav","",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem",""],["ngbNavLink",""],n,["ngbNavContent",""],["ngbNavItem","",4,"cdScope"],[3,"ngbNavOutlet"],["poolUsageTpl",""],["id","pool-list","selectionType","single",3,"data","columns","hasDetails","status","autoReload","fetchData","setExpandedRow","updateSelection"],["table",""],["id","pool-list-actions",1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","","id","pool-list-details",3,"selection","permissions","cacheTiers"],_,["title",o,"uid","z99hzWtmk","grafanaStyle","two",3,"grafanaPath","type"],["decimals","2",3,"total","used","title",4,"ngIf"],["decimals","2",3,"total","used","title"]]},template:function(_,o){if(1&_&&(e.TgZ(0,"nav",0,1),e.ynx(2,2),e.TgZ(3,"a",3),e.SDv(4,4),e.qZA(),e.YNc(5,An,4,11,"ng-template",5),e.BQk(),e.YNc(6,Nn,4,0,"ng-container",6),e.qZA(),e._UZ(7,"div",7),e.YNc(8,vn,1,1,"ng-template",null,8,e.W1O)),2&_){const i=e.MAs(1);e.xp6(6),e.Q6J("cdScope","grafana"),e.xp6(1),e.Q6J("ngbNavOutlet",i)}},dependencies:[C.O5,f.uN,f.Pz,f.nv,f.Vx,f.tO,f.Dy,On.O,He.F,Se.a,dn.K,un.w,Sn],styles:["cd-pool-list .pg-clean{color:#008a00} cd-pool-list .pg-working{color:#25828e} cd-pool-list .pg-warning{color:#d48200} cd-pool-list .pg-unknown{color:#dc3545}"]}),t})(),qe=(()=>{class t{}return t.\u0275fac=function(_){return new(_||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[g_.t,C.ez,f.Oz,f_.m,Oe.Bz,l.UX,f.HK,E_.BlockModule]}),t})();const In=[{path:"",component:$n},{path:M.MQ.CREATE,component:Ue,data:{breadcrumbs:M.Qn.CREATE}},{path:`${M.MQ.EDIT}/:name`,component:Ue,data:{breadcrumbs:M.Qn.EDIT}}];let Dn=(()=>{class t{}return t.\u0275fac=function(_){return new(_||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[qe,Oe.Bz.forChild(In)]}),t})()}}]); \ No newline at end of file
diff --git a/src/pybind/mgr/dashboard/frontend/dist/en-US/121.9dd4ed4e557d3110.js b/src/pybind/mgr/dashboard/frontend/dist/en-US/121.9dd4ed4e557d3110.js
new file mode 100644
index 000000000..6f99cc9ca
--- /dev/null
+++ b/src/pybind/mgr/dashboard/frontend/dist/en-US/121.9dd4ed4e557d3110.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkceph_dashboard=self.webpackChunkceph_dashboard||[]).push([[121],{32121:(et,ue,p)=>{p.r(ue),p.d(ue,{BlockModule:()=>Bt,RoutedBlockModule:()=>Or});var l=p(88692),r=p(20092),m=p(54247),ie=p(35512),b=p(51389),Oe=p(37496),N=p(79512),k=p(4222),U=p(54462),se=p(44466),j=p(23815),C=p.n(j),de=p(35758),L=p(64762),ae=p(35732),W=p(93523),e=p(64537);let Q=class{constructor(s){this.http=s}listTargets(){return this.http.get("api/iscsi/target")}getTarget(s){return this.http.get(`api/iscsi/target/${s}`)}updateTarget(s,t){return this.http.put(`api/iscsi/target/${s}`,t,{observe:"response"})}status(){return this.http.get("ui-api/iscsi/status")}settings(){return this.http.get("ui-api/iscsi/settings")}version(){return this.http.get("ui-api/iscsi/version")}portals(){return this.http.get("ui-api/iscsi/portals")}createTarget(s){return this.http.post("api/iscsi/target",s,{observe:"response"})}deleteTarget(s){return this.http.delete(`api/iscsi/target/${s}`,{observe:"response"})}getDiscovery(){return this.http.get("api/iscsi/discoveryauth")}updateDiscovery(s){return this.http.put("api/iscsi/discoveryauth",s)}overview(){return this.http.get("ui-api/iscsi/overview")}};Q.\u0275fac=function(s){return new(s||Q)(e.LFG(ae.eN))},Q.\u0275prov=e.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q=(0,L.gn)([W.o,(0,L.w6)("design:paramtypes",[ae.eN])],Q);var Fe=p(88002),De=p(76189),v=p(19358),Ie=p(34089);let H=class extends De.S{constructor(s,t){super(),this.http=s,this.rbdConfigurationService=t}isRBDPool(s){return-1!==C().indexOf(s.application_metadata,"rbd")&&!s.pool_name.includes("/")}create(s){return this.http.post("api/block/image",s,{observe:"response"})}delete(s){return this.http.delete(`api/block/image/${s.toStringEncoded()}`,{observe:"response"})}update(s,t){return this.http.put(`api/block/image/${s.toStringEncoded()}`,t,{observe:"response"})}get(s){return this.http.get(`api/block/image/${s.toStringEncoded()}`)}list(s){return this.http.get("api/block/image",{params:s,headers:{Accept:this.getVersionHeaderValue(2,0)},observe:"response"}).pipe((0,Fe.U)(t=>t.body.map(o=>(o.value.map(i=>(i.configuration&&i.configuration.map(_=>Object.assign(_,this.rbdConfigurationService.getOptionByName(_.name))),i)),o.headers=t.headers,o))))}copy(s,t){return this.http.post(`api/block/image/${s.toStringEncoded()}/copy`,t,{observe:"response"})}flatten(s){return this.http.post(`api/block/image/${s.toStringEncoded()}/flatten`,null,{observe:"response"})}defaultFeatures(){return this.http.get("api/block/image/default_features")}cloneFormatVersion(){return this.http.get("api/block/image/clone_format_version")}createSnapshot(s,t,o){const i={snapshot_name:t,mirrorImageSnapshot:o};return this.http.post(`api/block/image/${s.toStringEncoded()}/snap`,i,{observe:"response"})}renameSnapshot(s,t,o){const i={new_snap_name:o};return this.http.put(`api/block/image/${s.toStringEncoded()}/snap/${t}`,i,{observe:"response"})}protectSnapshot(s,t,o){const i={is_protected:o};return this.http.put(`api/block/image/${s.toStringEncoded()}/snap/${t}`,i,{observe:"response"})}rollbackSnapshot(s,t){return this.http.post(`api/block/image/${s.toStringEncoded()}/snap/${t}/rollback`,null,{observe:"response"})}cloneSnapshot(s,t,o){return this.http.post(`api/block/image/${s.toStringEncoded()}/snap/${t}/clone`,o,{observe:"response"})}deleteSnapshot(s,t){return this.http.delete(`api/block/image/${s.toStringEncoded()}/snap/${t}`,{observe:"response"})}listTrash(){return this.http.get("api/block/image/trash/")}createNamespace(s,t){return this.http.post(`api/block/pool/${s}/namespace`,{namespace:t},{observe:"response"})}listNamespaces(s){return this.http.get(`api/block/pool/${s}/namespace/`)}deleteNamespace(s,t){return this.http.delete(`api/block/pool/${s}/namespace/${t}`,{observe:"response"})}moveTrash(s,t){return this.http.post(`api/block/image/${s.toStringEncoded()}/move_trash`,{delay:t},{observe:"response"})}purgeTrash(s){return this.http.post(`api/block/image/trash/purge/?pool_name=${s}`,null,{observe:"response"})}restoreTrash(s,t){return this.http.post(`api/block/image/trash/${s.toStringEncoded()}/restore`,{new_image_name:t},{observe:"response"})}removeTrash(s,t=!1){return this.http.delete(`api/block/image/trash/${s.toStringEncoded()}/?force=${t}`,{observe:"response"})}};H.\u0275fac=function(s){return new(s||H)(e.LFG(ae.eN),e.LFG(Ie.n))},H.\u0275prov=e.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),(0,L.gn)([(0,L.fM)(1,W.G),(0,L.w6)("design:type",Function),(0,L.w6)("design:paramtypes",[v.N,String,Boolean]),(0,L.w6)("design:returntype",void 0)],H.prototype,"createSnapshot",null),(0,L.gn)([(0,L.fM)(2,W.G),(0,L.w6)("design:type",Function),(0,L.w6)("design:paramtypes",[v.N,String,String]),(0,L.w6)("design:returntype",void 0)],H.prototype,"renameSnapshot",null),(0,L.gn)([(0,L.fM)(2,W.G),(0,L.w6)("design:type",Function),(0,L.w6)("design:paramtypes",[v.N,String,Boolean]),(0,L.w6)("design:returntype",void 0)],H.prototype,"protectSnapshot",null),(0,L.gn)([(0,L.fM)(1,W.G),(0,L.w6)("design:type",Function),(0,L.w6)("design:paramtypes",[v.N,String]),(0,L.w6)("design:returntype",void 0)],H.prototype,"restoreTrash",null),H=(0,L.gn)([W.o,(0,L.w6)("design:paramtypes",[ae.eN,Ie.n])],H);var F=p(7022),x=p(14745),T=p(65862),K=p(93614),Z=p(95463),J=p(90070),h=p(48168),R=p(76111),u=p(32337),f=p(60312),A=p(30839),M=p(87925),B=p(94276),q=p(56310),Y=p(41582);function no(n,s){if(1&n&&(e.TgZ(0,"option",6),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("ngValue",t),e.xp6(1),e.Oqu(t)}}function io(n,s){if(1&n&&(e.TgZ(0,"select",5),e._UZ(1,"option",6),e.YNc(2,no,2,2,"option",7),e.qZA()),2&n){const t=e.oxw();e.s9C("id",t.setting),e.s9C("name",t.setting),e.Q6J("formControlName",t.setting),e.xp6(1),e.Q6J("ngValue",null),e.xp6(1),e.Q6J("ngForOf",t.limits.values)}}function so(n,s){if(1&n&&e._UZ(0,"input",10),2&n){const t=e.oxw(2);e.Q6J("formControlName",t.setting)}}function _o(n,s){if(1&n&&e._UZ(0,"input",11),2&n){const t=e.oxw(2);e.Q6J("formControlName",t.setting)}}function ao(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"br"),e.TgZ(2,"div",12),e._UZ(3,"input",13),e.TgZ(4,"label",14),e._uU(5,"Yes"),e.qZA()(),e.TgZ(6,"div",12),e._UZ(7,"input",13),e.TgZ(8,"label",14),e._uU(9,"No"),e.qZA()(),e.BQk()),2&n){const t=e.oxw(2);e.xp6(3),e.Q6J("id",t.setting+"True")("value",!0)("formControlName",t.setting),e.xp6(1),e.Q6J("for",t.setting+"True"),e.xp6(3),e.Q6J("id",t.setting+"False")("value",!1)("formControlName",t.setting),e.xp6(1),e.Q6J("for",t.setting+"False")}}function ro(n,s){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,so,1,1,"input",8),e.YNc(2,_o,1,1,"input",9),e.YNc(3,ao,10,8,"ng-container",3),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf","int"===t.limits.type),e.xp6(1),e.Q6J("ngIf","str"===t.limits.type),e.xp6(1),e.Q6J("ngIf","bool"===t.limits.type)}}function lo(n,s){if(1&n&&(e.TgZ(0,"span",15),e.ynx(1),e.SDv(2,16),e.BQk(),e.qZA()),2&n){const t=e.oxw();e.xp6(2),e.pQV(t.limits.min),e.QtT(2)}}function co(n,s){if(1&n&&(e.TgZ(0,"span",15),e.ynx(1),e.SDv(2,17),e.BQk(),e.qZA()),2&n){const t=e.oxw();e.xp6(2),e.pQV(t.limits.max),e.QtT(2)}}let ut=(()=>{class n{ngOnInit(){const t=[];"min"in this.limits&&t.push(r.kI.min(Number(this.limits.min))),"max"in this.limits&&t.push(r.kI.max(Number(this.limits.max))),this.settingsForm.get(this.setting).setValidators(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-setting"]],inputs:{settingsForm:"settingsForm",formDir:"formDir",setting:"setting",limits:"limits"},decls:7,vars:7,consts:function(){let s,t;return s="Must be greater than or equal to " + "\ufffd0\ufffd" + ".",t="Must be less than or equal to " + "\ufffd0\ufffd" + ".",[[1,"form-group",3,"formGroup"],[1,"col-form-label",3,"for"],["class","form-control",3,"id","name","formControlName",4,"ngIf"],[4,"ngIf"],["class","invalid-feedback",4,"ngIf"],[1,"form-control",3,"id","name","formControlName"],[3,"ngValue"],[3,"ngValue",4,"ngFor","ngForOf"],["type","number","class","form-control",3,"formControlName",4,"ngIf"],["type","text","class","form-control",3,"formControlName",4,"ngIf"],["type","number",1,"form-control",3,"formControlName"],["type","text",1,"form-control",3,"formControlName"],[1,"custom-control","custom-radio","custom-control-inline"],["type","radio",1,"custom-control-input",3,"id","value","formControlName"],[1,"custom-control-label",3,"for"],[1,"invalid-feedback"],s,t]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"label",1),e._uU(2),e.qZA(),e.YNc(3,io,3,5,"select",2),e.YNc(4,ro,4,3,"span",3),e.YNc(5,lo,3,1,"span",4),e.YNc(6,co,3,1,"span",4),e.qZA()),2&t&&(e.Q6J("formGroup",o.settingsForm),e.xp6(1),e.s9C("for",o.setting),e.xp6(1),e.Oqu(o.setting),e.xp6(1),e.Q6J("ngIf","enum"===o.limits.type),e.xp6(1),e.Q6J("ngIf","enum"!==o.limits.type),e.xp6(1),e.Q6J("ngIf",o.settingsForm.showError(o.setting,o.formDir,"min")),e.xp6(1),e.Q6J("ngIf",o.settingsForm.showError(o.setting,o.formDir,"max")))},dependencies:[l.sg,l.O5,r.YN,r.Kr,r.Fj,r.wV,r.EJ,r._,r.JJ,r.JL,r.sg,r.u,M.o,B.b,q.P,Y.V]}),n})();var Qe=p(88820);function po(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function uo(n,s){if(1&n&&(e.TgZ(0,"span")(1,"legend",10),e.SDv(2,21),e.qZA(),e.TgZ(3,"div",12)(4,"div",13)(5,"label",22),e.SDv(6,23),e.qZA(),e._UZ(7,"input",24),e.YNc(8,po,2,0,"span",25),e.qZA()(),e.TgZ(9,"div",12)(10,"div",13)(11,"label",26),e.SDv(12,27),e.qZA(),e._UZ(13,"input",28),e.qZA()()()),2&n){const t=e.oxw(),o=e.MAs(9);e.xp6(8),e.Q6J("ngIf",t.settingsForm.showError("lun",o,"required"))}}function mo(n,s){if(1&n&&(e.TgZ(0,"option",31),e._uU(1),e.ALo(2,"iscsiBackstore"),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(e.lcZ(2,2,t))}}function go(n,s){if(1&n&&(e.TgZ(0,"div",12)(1,"div",13),e._UZ(2,"cd-iscsi-setting",33),e.qZA()()),2&n){const t=s.$implicit,o=e.oxw(2).$implicit,i=e.oxw(),_=e.MAs(9);e.xp6(2),e.Q6J("settingsForm",i.settingsForm)("formDir",_)("setting",t.key)("limits",i.getDiskControlLimits(o,t.key))}}function To(n,s){if(1&n&&(e.ynx(0),e.YNc(1,go,3,4,"div",32),e.ALo(2,"keyvalue"),e.BQk()),2&n){const t=e.oxw().$implicit,o=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,o.disk_default_controls[t]))}}function fo(n,s){if(1&n&&(e.ynx(0),e.YNc(1,To,3,3,"ng-container",9),e.BQk()),2&n){const t=s.$implicit,o=e.oxw();e.xp6(1),e.Q6J("ngIf",o.settingsForm.value.backstore===t)}}let Co=(()=>{class n{constructor(t,o,i){this.activeModal=t,this.iscsiService=o,this.actionLabels=i}ngOnInit(){const t={backstore:new r.p4(this.imagesSettings[this.image].backstore),lun:new r.p4(this.imagesSettings[this.image].lun),wwn:new r.p4(this.imagesSettings[this.image].wwn)};C().forEach(this.backstores,o=>{const i=this.imagesSettings[this.image][o]||{};C().forIn(this.disk_default_controls[o],(_,a)=>{t[a]=new r.p4(i[a])})}),this.settingsForm=new Z.d(t)}getDiskControlLimits(t,o){return this.disk_controls_limits?this.disk_controls_limits[t][o]:{type:"int"}}save(){const t=this.settingsForm.controls.backstore.value,o=this.settingsForm.controls.lun.value,i=this.settingsForm.controls.wwn.value,_={};C().forIn(this.settingsForm.controls,(a,c)=>{""!==a.value&&null!==a.value&&c in this.disk_default_controls[this.settingsForm.value.backstore]&&(_[c]=a.value,C().forEach(this.backstores,d=>{d!==t&&c in(this.imagesSettings[this.image][d]||{})&&(this.imagesSettings[this.image][d][c]=a.value)}))}),this.imagesSettings[this.image].backstore=t,this.imagesSettings[this.image].lun=o,this.imagesSettings[this.image].wwn=i,this.imagesSettings[this.image][t]=_,this.imagesSettings={...this.imagesSettings},this.control.updateValueAndValidity({emitEvent:!1}),this.activeModal.close()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(b.Kz),e.Y36(Q),e.Y36(N.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-target-image-settings-modal"]],decls:25,vars:8,consts:function(){let s,t,o,i,_,a,c,d;return s="Configure",t="Changing these parameters from their default values is usually not necessary.",o="Settings",i="Backstore",_="Identifier",a="lun",c="wwn",d="This field is required.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","settingsForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"alert-warning"],t,[4,"ngIf"],[1,"cd-header"],o,[1,"form-group","row"],[1,"col-sm-12"],[1,"col-form-label"],i,["id","backstore","name","backstore","formControlName","backstore",1,"form-select"],[3,"value",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],_,["for","lun",1,"col-form-label","required"],a,["type","number","id","lun","name","lun","formControlName","lun",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","wwn",1,"col-form-label"],c,["type","text","id","wwn","name","wwn","formControlName","wwn",1,"form-control"],[1,"invalid-feedback"],d,[3,"value"],["class","form-group row",4,"ngFor","ngForOf"],[3,"settingsForm","formDir","setting","limits"]]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1)(2),e.SDv(3,2),e.BQk(),e._uU(4,"\xa0 "),e.TgZ(5,"small"),e._uU(6),e.qZA(),e.BQk(),e.ynx(7,3),e.TgZ(8,"form",4,5)(10,"div",6)(11,"p",7),e.SDv(12,8),e.qZA(),e.YNc(13,uo,14,1,"span",9),e.TgZ(14,"legend",10),e.SDv(15,11),e.qZA(),e.TgZ(16,"div",12)(17,"div",13)(18,"label",14),e.SDv(19,15),e.qZA(),e.TgZ(20,"select",16),e.YNc(21,mo,3,4,"option",17),e.qZA()()(),e.YNc(22,fo,2,1,"ng-container",18),e.qZA(),e.TgZ(23,"div",19)(24,"cd-form-button-panel",20),e.NdJ("submitActionEvent",function(){return o.save()}),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(6),e.Oqu(o.image),e.xp6(2),e.Q6J("formGroup",o.settingsForm),e.xp6(5),e.Q6J("ngIf",o.api_version>=1),e.xp6(8),e.Q6J("ngForOf",o.backstores),e.xp6(1),e.Q6J("ngForOf",o.backstores),e.xp6(2),e.Q6J("form",o.settingsForm)("submitText",o.actionLabels.UPDATE))},dependencies:[l.sg,l.O5,r._Y,r.YN,r.Kr,r.Fj,r.wV,r.EJ,r.JJ,r.JL,r.sg,r.u,f.z,A.p,M.o,B.b,q.P,Y.V,ut,l.Nd,Qe.V]}),n})();function So(n,s){if(1&n&&(e.TgZ(0,"div",12)(1,"div",13),e._UZ(2,"cd-iscsi-setting",14),e.qZA()()),2&n){const t=s.$implicit,o=e.oxw(),i=e.MAs(5);e.xp6(2),e.Q6J("settingsForm",o.settingsForm)("formDir",i)("setting",t.key)("limits",o.getTargetControlLimits(t.key))}}let Eo=(()=>{class n{constructor(t,o,i){this.activeModal=t,this.iscsiService=o,this.actionLabels=i}ngOnInit(){const t={};C().forIn(this.target_default_controls,(o,i)=>{t[i]=new r.p4(this.target_controls.value[i])}),this.settingsForm=new Z.d(t)}save(){const t={};C().forIn(this.settingsForm.controls,(o,i)=>{""===o.value||null===o.value||(t[i]=o.value)}),this.target_controls.setValue(t),this.activeModal.close()}getTargetControlLimits(t){return this.target_controls_limits?this.target_controls_limits[t]:["Yes","No"].includes(this.target_default_controls[t])?{type:"bool"}:{type:"int"}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(b.Kz),e.Y36(Q),e.Y36(N.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-target-iqn-settings-modal"]],decls:13,vars:7,consts:function(){let s,t;return s="Advanced Settings",t="Changing these parameters from their default values is usually not necessary.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","settingsForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"alert-warning"],t,["class","form-group row",4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"form-group","row"],[1,"col-sm-12"],[3,"settingsForm","formDir","setting","limits"]]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p",7),e.SDv(8,8),e.qZA(),e.YNc(9,So,3,4,"div",9),e.ALo(10,"keyvalue"),e.qZA(),e.TgZ(11,"div",10)(12,"cd-form-button-panel",11),e.NdJ("submitActionEvent",function(){return o.save()}),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.settingsForm),e.xp6(5),e.Q6J("ngForOf",e.lcZ(10,5,o.settingsForm.controls)),e.xp6(3),e.Q6J("form",o.settingsForm)("submitText",o.actionLabels.UPDATE))},dependencies:[l.sg,r._Y,r.JL,r.sg,f.z,A.p,q.P,Y.V,ut,l.Nd]}),n})();var me=p(63285),Ro=p(39092),ze=p(58039),mt=p(4416),Mo=p(12594),gt=p(63622),tt=p(10545);function Oo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,41),e.qZA())}function ho(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,42),e.qZA())}function Ao(n,s){1&n&&(e.TgZ(0,"span",40),e.ynx(1),e.SDv(2,43),e.BQk(),e._UZ(3,"br"),e.ynx(4),e.SDv(5,44),e.BQk(),e._UZ(6,"br"),e.TgZ(7,"a",45),e.SDv(8,46),e.qZA()())}function Po(n,s){1&n&&(e.TgZ(0,"span",47),e.SDv(1,48),e.qZA())}const ee=function(n){return[n]};function bo(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",49),e._UZ(2,"input",50),e.TgZ(3,"button",51),e.NdJ("click",function(){const i=e.CHM(t),_=i.index,a=i.$implicit,c=e.oxw(2);return e.KtG(c.removePortal(_,a))}),e._UZ(4,"i",15),e.qZA()(),e.BQk()}if(2&n){const t=s.$implicit,o=e.oxw(2);e.xp6(2),e.Q6J("value",t),e.xp6(2),e.Q6J("ngClass",e.VKq(2,ee,o.icons.destroy))}}function Io(n,s){if(1&n&&(e.TgZ(0,"span",40),e.SDv(1,52),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.pQV(t.minimum_gateways),e.QtT(1)}}function No(n,s){if(1&n&&(e.TgZ(0,"div",55),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit,o=e.oxw(2);e.xp6(1),e.hij("lun: ",o.imagesSettings[t].lun,"")}}function Fo(n,s){if(1&n&&(e.ynx(0),e.SDv(1,56),e.ALo(2,"iscsiBackstore"),e.BQk()),2&n){const t=e.oxw().$implicit,o=e.oxw(2);e.xp6(2),e.pQV(e.lcZ(2,1,o.imagesSettings[t].backstore)),e.QtT(1)}}function Do(n,s){1&n&&(e.ynx(0),e.SDv(1,57),e.BQk())}function Lo(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",49),e._UZ(2,"input",50),e.YNc(3,No,2,1,"div",53),e.TgZ(4,"button",51),e.NdJ("click",function(){const _=e.CHM(t).$implicit,a=e.oxw(2);return e.KtG(a.imageSettingsModal(_))}),e._UZ(5,"i",15),e.qZA(),e.TgZ(6,"button",51),e.NdJ("click",function(){const i=e.CHM(t),_=i.index,a=i.$implicit,c=e.oxw(2);return e.KtG(c.removeImage(_,a))}),e._UZ(7,"i",15),e.qZA()(),e.TgZ(8,"span",47),e.YNc(9,Fo,3,3,"ng-container",54),e.YNc(10,Do,2,0,"ng-container",54),e.qZA(),e.BQk()}if(2&n){const t=s.$implicit,o=e.oxw(2);e.xp6(2),e.Q6J("value",t),e.xp6(1),e.Q6J("ngIf",o.api_version>=1),e.xp6(2),e.Q6J("ngClass",e.VKq(6,ee,o.icons.deepCheck)),e.xp6(2),e.Q6J("ngClass",e.VKq(8,ee,o.icons.destroy)),e.xp6(2),e.Q6J("ngIf",o.backstores.length>1),e.xp6(1),e.Q6J("ngIf",o.hasAdvancedSettings(o.imagesSettings[t][o.imagesSettings[t].backstore]))}}function vo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,58),e.qZA())}function $o(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,59),e.qZA())}function Bo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,77),e.qZA())}function Go(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,78),e.qZA())}function yo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,79),e.qZA())}function xo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,80),e.qZA())}function Zo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,81),e.qZA())}function wo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,82),e.qZA())}function Ho(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,83),e.qZA())}function ko(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,84),e.qZA())}function Ko(n,s){if(1&n&&(e.TgZ(0,"div",60)(1,"div",8)(2,"label",61),e.ynx(3),e.SDv(4,62),e.BQk(),e.qZA(),e.TgZ(5,"div",11),e._UZ(6,"input",63),e.YNc(7,Bo,2,0,"span",16),e.YNc(8,Go,2,0,"span",16),e.qZA()(),e.TgZ(9,"div",8)(10,"label",64),e.ynx(11),e.SDv(12,65),e.BQk(),e.qZA(),e.TgZ(13,"div",11)(14,"div",12),e._UZ(15,"input",66)(16,"button",67)(17,"cd-copy-2-clipboard-button",68),e.qZA(),e.YNc(18,yo,2,0,"span",16),e.YNc(19,xo,2,0,"span",16),e.qZA()(),e.TgZ(20,"div",8)(21,"label",69),e.ynx(22),e.SDv(23,70),e.BQk(),e.qZA(),e.TgZ(24,"div",11),e._UZ(25,"input",71),e.YNc(26,Zo,2,0,"span",16),e.YNc(27,wo,2,0,"span",16),e.qZA()(),e.TgZ(28,"div",8)(29,"label",72),e.ynx(30),e.SDv(31,73),e.BQk(),e.qZA(),e.TgZ(32,"div",11)(33,"div",12),e._UZ(34,"input",74)(35,"button",75)(36,"cd-copy-2-clipboard-button",76),e.qZA(),e.YNc(37,Ho,2,0,"span",16),e.YNc(38,ko,2,0,"span",16),e.qZA()()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(7),e.Q6J("ngIf",o.targetForm.showError("user",t,"required")),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("user",t,"pattern")),e.xp6(10),e.Q6J("ngIf",o.targetForm.showError("password",t,"required")),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("password",t,"pattern")),e.xp6(7),e.Q6J("ngIf",o.targetForm.showError("mutual_user",t,"required")),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("mutual_user",t,"pattern")),e.xp6(10),e.Q6J("ngIf",o.targetForm.showError("mutual_password",t,"required")),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("mutual_password",t,"pattern"))}}function qo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,114),e.qZA())}function Xo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,115),e.qZA())}function Qo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,116),e.qZA())}function zo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,117),e.qZA())}function Jo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,118),e.qZA())}function Yo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,119),e.qZA())}function Vo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,120),e.qZA())}function Uo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,121),e.qZA())}function jo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,122),e.qZA())}function Wo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,123),e.qZA())}function en(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,124),e.qZA())}function tn(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",49),e._UZ(2,"input",50),e.TgZ(3,"button",51),e.NdJ("click",function(){const i=e.CHM(t),_=i.index,a=i.$implicit,c=e.oxw(),d=c.$implicit,g=c.index,S=e.oxw(3);return e.KtG(S.removeInitiatorImage(d,_,g,a))}),e._UZ(4,"i",15),e.qZA()(),e.BQk()}if(2&n){const t=s.$implicit,o=e.oxw(4);e.xp6(2),e.Q6J("value",t),e.xp6(2),e.Q6J("ngClass",e.VKq(2,ee,o.icons.destroy))}}function on(n,s){1&n&&(e.TgZ(0,"span"),e.SDv(1,125),e.qZA())}function nn(n,s){if(1&n&&(e.TgZ(0,"div",21)(1,"div",22)(2,"cd-select",126),e._UZ(3,"i",24),e.ynx(4),e.SDv(5,127),e.BQk(),e.qZA()()()),2&n){const t=e.oxw(),o=t.$implicit,i=t.index,_=e.oxw(3);e.xp6(2),e.Q6J("data",o.getValue("luns"))("options",_.imagesInitiatorSelections[i])("messages",_.messages.initiatorImage),e.xp6(1),e.Q6J("ngClass",e.VKq(4,ee,_.icons.add))}}function sn(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",91)(1,"div",5),e.ynx(2),e.SDv(3,92),e.BQk(),e._uU(4),e.TgZ(5,"button",93),e.NdJ("click",function(){const _=e.CHM(t).index,a=e.oxw(3);return e.KtG(a.removeInitiator(_))}),e.qZA()(),e.TgZ(6,"div",7)(7,"div",8)(8,"label",94),e.SDv(9,95),e.qZA(),e.TgZ(10,"div",11)(11,"input",96),e.NdJ("blur",function(){e.CHM(t);const i=e.oxw(3);return e.KtG(i.updatedInitiatorSelector())}),e.qZA(),e.YNc(12,qo,2,0,"span",16),e.YNc(13,Xo,2,0,"span",16),e.YNc(14,Qo,2,0,"span",16),e.qZA()(),e.ynx(15,60),e.TgZ(16,"div",8)(17,"label",97),e.SDv(18,98),e.qZA(),e.TgZ(19,"div",11),e._UZ(20,"input",99),e.YNc(21,zo,2,0,"span",16),e.YNc(22,Jo,2,0,"span",16),e.qZA()(),e.TgZ(23,"div",8)(24,"label",100),e.SDv(25,101),e.qZA(),e.TgZ(26,"div",11)(27,"div",12),e._UZ(28,"input",102)(29,"button",103)(30,"cd-copy-2-clipboard-button",104),e.qZA(),e.YNc(31,Yo,2,0,"span",16),e.YNc(32,Vo,2,0,"span",16),e.qZA()(),e.TgZ(33,"div",8)(34,"label",105),e.ynx(35),e.SDv(36,106),e.BQk(),e.qZA(),e.TgZ(37,"div",11),e._UZ(38,"input",107),e.YNc(39,Uo,2,0,"span",16),e.YNc(40,jo,2,0,"span",16),e.qZA()(),e.TgZ(41,"div",8)(42,"label",108),e.SDv(43,109),e.qZA(),e.TgZ(44,"div",11)(45,"div",12),e._UZ(46,"input",110)(47,"button",103)(48,"cd-copy-2-clipboard-button",104),e.qZA(),e.YNc(49,Wo,2,0,"span",16),e.YNc(50,en,2,0,"span",16),e.qZA()(),e.BQk(),e.TgZ(51,"div",8)(52,"label",111),e.SDv(53,112),e.qZA(),e.TgZ(54,"div",11),e.YNc(55,tn,5,4,"ng-container",20),e.YNc(56,on,2,0,"span",54),e.YNc(57,nn,6,6,"div",113),e.qZA()()()()}if(2&n){const t=s.$implicit,o=s.index;e.oxw(2);const i=e.MAs(2);e.Q6J("formGroup",t),e.xp6(4),e.hij(": ",t.getValue("client_iqn")," "),e.xp6(8),e.Q6J("ngIf",t.showError("client_iqn",i,"notUnique")),e.xp6(1),e.Q6J("ngIf",t.showError("client_iqn",i,"required")),e.xp6(1),e.Q6J("ngIf",t.showError("client_iqn",i,"pattern")),e.xp6(6),e.Q6J("id","user"+o),e.xp6(1),e.Q6J("ngIf",t.showError("user",i,"required")),e.xp6(1),e.Q6J("ngIf",t.showError("user",i,"pattern")),e.xp6(6),e.Q6J("id","password"+o),e.xp6(1),e.Q6J("cdPasswordButton","password"+o),e.xp6(1),e.Q6J("source","password"+o),e.xp6(1),e.Q6J("ngIf",t.showError("password",i,"required")),e.xp6(1),e.Q6J("ngIf",t.showError("password",i,"pattern")),e.xp6(6),e.Q6J("id","mutual_user"+o),e.xp6(1),e.Q6J("ngIf",t.showError("mutual_user",i,"required")),e.xp6(1),e.Q6J("ngIf",t.showError("mutual_user",i,"pattern")),e.xp6(6),e.Q6J("id","mutual_password"+o),e.xp6(1),e.Q6J("cdPasswordButton","mutual_password"+o),e.xp6(1),e.Q6J("source","mutual_password"+o),e.xp6(1),e.Q6J("ngIf",t.showError("mutual_password",i,"required")),e.xp6(1),e.Q6J("ngIf",t.showError("mutual_password",i,"pattern")),e.xp6(5),e.Q6J("ngForOf",t.getValue("luns")),e.xp6(1),e.Q6J("ngIf",t.getValue("cdIsInGroup")),e.xp6(1),e.Q6J("ngIf",!t.getValue("cdIsInGroup"))}}function _n(n,s){1&n&&(e.TgZ(0,"span",47),e.SDv(1,128),e.qZA())}function an(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",8)(1,"label",85),e.SDv(2,86),e.qZA(),e.TgZ(3,"div",87),e.YNc(4,sn,58,24,"div",88),e.TgZ(5,"div",21)(6,"div",22),e.YNc(7,_n,2,0,"span",17),e.TgZ(8,"button",89),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).addInitiator(),e.KtG(!1)}),e._UZ(9,"i",24),e.ynx(10),e.SDv(11,90),e.BQk(),e.qZA()()(),e._UZ(12,"hr"),e.qZA()()}if(2&n){const t=e.oxw(2);e.xp6(4),e.Q6J("ngForOf",t.initiators.controls),e.xp6(3),e.Q6J("ngIf",0===t.initiators.controls.length),e.xp6(2),e.Q6J("ngClass",e.VKq(3,ee,t.icons.add))}}function rn(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",49),e._UZ(2,"input",50),e.TgZ(3,"button",51),e.NdJ("click",function(){const _=e.CHM(t).index,a=e.oxw(),c=a.$implicit,d=a.index,g=e.oxw(3);return e.KtG(g.removeGroupInitiator(c,_,d))}),e._UZ(4,"i",15),e.qZA()(),e.BQk()}if(2&n){const t=s.$implicit,o=e.oxw(4);e.xp6(2),e.Q6J("value",t),e.xp6(2),e.Q6J("ngClass",e.VKq(2,ee,o.icons.destroy))}}function ln(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",49),e._UZ(2,"input",50),e.TgZ(3,"button",51),e.NdJ("click",function(){const _=e.CHM(t).index,a=e.oxw(),c=a.$implicit,d=a.index,g=e.oxw(3);return e.KtG(g.removeGroupDisk(c,_,d))}),e._UZ(4,"i",15),e.qZA()(),e.BQk()}if(2&n){const t=s.$implicit,o=e.oxw(4);e.xp6(2),e.Q6J("value",t),e.xp6(2),e.Q6J("ngClass",e.VKq(2,ee,o.icons.destroy))}}function cn(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",91)(1,"div",5),e.ynx(2),e.SDv(3,132),e.BQk(),e._uU(4),e.TgZ(5,"button",93),e.NdJ("click",function(){const _=e.CHM(t).index,a=e.oxw(3);return e.KtG(a.removeGroup(_))}),e.qZA()(),e.TgZ(6,"div",7)(7,"div",8)(8,"label",133),e.SDv(9,134),e.qZA(),e.TgZ(10,"div",11),e._UZ(11,"input",135),e.qZA()(),e.TgZ(12,"div",8)(13,"label",136),e.ynx(14),e.SDv(15,137),e.BQk(),e.qZA(),e.TgZ(16,"div",11),e.YNc(17,rn,5,4,"ng-container",20),e.TgZ(18,"div",21)(19,"div",22)(20,"cd-select",23),e.NdJ("selection",function(i){const a=e.CHM(t).index,c=e.oxw(3);return e.KtG(c.onGroupMemberSelection(i,a))}),e._UZ(21,"i",24),e.ynx(22),e.SDv(23,138),e.BQk(),e.qZA()()(),e._UZ(24,"hr"),e.qZA()(),e.TgZ(25,"div",8)(26,"label",27),e.ynx(27),e.SDv(28,139),e.BQk(),e.qZA(),e.TgZ(29,"div",11),e.YNc(30,ln,5,4,"ng-container",20),e.TgZ(31,"div",21)(32,"div",22)(33,"cd-select",126),e._UZ(34,"i",24),e.ynx(35),e.SDv(36,140),e.BQk(),e.qZA()()(),e._UZ(37,"hr"),e.qZA()()()()}if(2&n){const t=s.$implicit,o=s.index,i=e.oxw(3);e.Q6J("formGroup",t),e.xp6(4),e.hij(": ",t.getValue("group_id")," "),e.xp6(13),e.Q6J("ngForOf",t.getValue("members")),e.xp6(3),e.Q6J("data",t.getValue("members"))("options",i.groupMembersSelections[o])("messages",i.messages.groupInitiator),e.xp6(1),e.Q6J("ngClass",e.VKq(12,ee,i.icons.add)),e.xp6(9),e.Q6J("ngForOf",t.getValue("disks")),e.xp6(3),e.Q6J("data",t.getValue("disks"))("options",i.groupDiskSelections[o])("messages",i.messages.initiatorImage),e.xp6(1),e.Q6J("ngClass",e.VKq(14,ee,i.icons.add))}}function dn(n,s){1&n&&(e.TgZ(0,"span",47),e.SDv(1,141),e.qZA())}function pn(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",8)(1,"label",85),e.SDv(2,129),e.qZA(),e.TgZ(3,"div",130),e.YNc(4,cn,38,16,"div",88),e.TgZ(5,"div",21)(6,"div",22),e.YNc(7,dn,2,0,"span",17),e.TgZ(8,"button",89),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).addGroup(),e.KtG(!1)}),e._UZ(9,"i",24),e.ynx(10),e.SDv(11,131),e.BQk(),e.qZA()()()()()}if(2&n){const t=e.oxw(2);e.xp6(4),e.Q6J("ngForOf",t.groups.controls),e.xp6(3),e.Q6J("ngIf",0===t.groups.controls.length),e.xp6(2),e.Q6J("ngClass",e.VKq(3,ee,t.icons.add))}}function un(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",7)(9,"div",8)(10,"label",9),e.SDv(11,10),e.qZA(),e.TgZ(12,"div",11)(13,"div",12),e._UZ(14,"input",13),e.TgZ(15,"button",14),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.targetSettingsModal())}),e._UZ(16,"i",15),e.qZA()(),e.YNc(17,Oo,2,0,"span",16),e.YNc(18,ho,2,0,"span",16),e.YNc(19,Ao,9,0,"span",16),e.YNc(20,Po,2,0,"span",17),e._UZ(21,"hr"),e.qZA()(),e.TgZ(22,"div",8)(23,"label",18),e.SDv(24,19),e.qZA(),e.TgZ(25,"div",11),e.YNc(26,bo,5,4,"ng-container",20),e.TgZ(27,"div",21)(28,"div",22)(29,"cd-select",23),e.NdJ("selection",function(i){e.CHM(t);const _=e.oxw();return e.KtG(_.onPortalSelection(i))}),e._UZ(30,"i",24),e.ynx(31),e.SDv(32,25),e.BQk(),e.qZA()()(),e._UZ(33,"input",26),e.YNc(34,Io,2,1,"span",16),e._UZ(35,"hr"),e.qZA()(),e.TgZ(36,"div",8)(37,"label",27),e.SDv(38,28),e.qZA(),e.TgZ(39,"div",11),e.YNc(40,Lo,11,10,"ng-container",20),e._UZ(41,"input",29),e.YNc(42,vo,2,0,"span",16),e.YNc(43,$o,2,0,"span",16),e.TgZ(44,"div",21)(45,"div",22)(46,"cd-select",23),e.NdJ("selection",function(i){e.CHM(t);const _=e.oxw();return e.KtG(_.onImageSelection(i))}),e._UZ(47,"i",24),e.ynx(48),e.SDv(49,30),e.BQk(),e.qZA()()(),e._UZ(50,"hr"),e.qZA()(),e.TgZ(51,"div",8)(52,"div",31)(53,"div",32),e._UZ(54,"input",33),e.TgZ(55,"label",34),e.SDv(56,35),e.qZA()(),e._UZ(57,"hr"),e.qZA()(),e.YNc(58,Ko,39,8,"div",36),e.YNc(59,an,13,5,"div",37),e.YNc(60,pn,12,5,"div",37),e.qZA(),e.TgZ(61,"div",38)(62,"cd-form-button-panel",39),e.NdJ("submitActionEvent",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.submit())}),e.ALo(63,"titlecase"),e.ALo(64,"upperFirst"),e.qZA()()()()()}if(2&n){const t=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("formGroup",o.targetForm),e.xp6(6),e.pQV(e.lcZ(6,26,o.action))(e.lcZ(7,28,o.resource)),e.QtT(5),e.xp6(9),e.Q6J("ngClass",e.VKq(34,ee,o.icons.deepCheck)),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("target_iqn",t,"required")),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("target_iqn",t,"pattern")),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("target_iqn",t,"iqn")),e.xp6(1),e.Q6J("ngIf",o.hasAdvancedSettings(o.targetForm.getValue("target_controls"))),e.xp6(6),e.Q6J("ngForOf",o.portals.value),e.xp6(3),e.Q6J("data",o.portals.value)("options",o.portalsSelections)("messages",o.messages.portals),e.xp6(1),e.Q6J("ngClass",e.VKq(36,ee,o.icons.add)),e.xp6(4),e.Q6J("ngIf",o.targetForm.showError("portals",t,"minGateways")),e.xp6(6),e.Q6J("ngForOf",o.targetForm.getValue("disks")),e.xp6(2),e.Q6J("ngIf",o.targetForm.showError("disks",t,"dupLunId")),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("disks",t,"dupWwn")),e.xp6(3),e.Q6J("data",o.disks.value)("options",o.imagesSelections)("messages",o.messages.images),e.xp6(1),e.Q6J("ngClass",e.VKq(38,ee,o.icons.add)),e.xp6(11),e.Q6J("ngIf",o.cephIscsiConfigVersion>10&&!o.targetForm.getValue("acl_enabled")),e.xp6(1),e.Q6J("ngIf",o.targetForm.getValue("acl_enabled")),e.xp6(1),e.Q6J("ngIf",o.targetForm.getValue("acl_enabled")),e.xp6(2),e.Q6J("form",o.targetForm)("submitText",e.lcZ(63,30,o.action)+" "+e.lcZ(64,32,o.resource))}}let Tt=(()=>{class n extends K.E{constructor(t,o,i,_,a,c,d){super(),this.iscsiService=t,this.modalService=o,this.rbdService=i,this.router=_,this.route=a,this.taskWrapper=c,this.actionLabels=d,this.api_version=0,this.minimum_gateways=1,this.icons=T.P,this.isEdit=!1,this.portalsSelections=[],this.imagesInitiatorSelections=[],this.groupDiskSelections=[],this.groupMembersSelections=[],this.imagesSettings={},this.messages={portals:new F.a({noOptions:"There are no portals available."}),images:new F.a({noOptions:"There are no images available."}),initiatorImage:new F.a({noOptions:"There are no images available. Please make sure you add an image to the target."}),groupInitiator:new F.a({noOptions:"There are no initiators available. Please make sure you add an initiator to the target."})},this.IQN_REGEX=/^iqn\.(19|20)\d\d-(0[1-9]|1[0-2])\.\D{2,3}(\.[A-Za-z0-9-]+)+(:[A-Za-z0-9-\.]+)*$/,this.USER_REGEX=/^[\w\.:@_-]{8,64}$/,this.PASSWORD_REGEX=/^[\w@\-_\/]{12,16}$/,this.resource="target"}ngOnInit(){const t=new h.E(()=>{});t.pageInfo.limit=-1;const o=[this.iscsiService.listTargets(),this.rbdService.list(t.toParams()),this.iscsiService.portals(),this.iscsiService.settings(),this.iscsiService.version()];this.router.url.startsWith("/block/iscsi/targets/edit")&&(this.isEdit=!0,this.route.params.subscribe(i=>{this.target_iqn=decodeURIComponent(i.target_iqn),o.push(this.iscsiService.getTarget(this.target_iqn))})),this.action=this.isEdit?this.actionLabels.EDIT:this.actionLabels.CREATE,(0,de.D)(o).subscribe(i=>{const _=C()(i[0]).filter(c=>c.target_iqn!==this.target_iqn).flatMap(c=>c.disks).map(c=>`${c.pool}/${c.image}`).value();"api_version"in i[3]&&(this.api_version=i[3].api_version),this.minimum_gateways=i[3].config.minimum_gateways,this.target_default_controls=i[3].target_default_controls,this.target_controls_limits=i[3].target_controls_limits,this.disk_default_controls=i[3].disk_default_controls,this.disk_controls_limits=i[3].disk_controls_limits,this.backstores=i[3].backstores,this.default_backstore=i[3].default_backstore,this.unsupported_rbd_features=i[3].unsupported_rbd_features,this.required_rbd_features=i[3].required_rbd_features,this.imagesAll=C()(i[1]).flatMap(c=>c.value).filter(c=>!c.namespace&&!(-1!==_.indexOf(`${c.pool_name}/${c.name}`)||0===this.getValidBackstores(c).length)).value(),this.imagesSelections=this.imagesAll.map(c=>new x.$(!1,`${c.pool_name}/${c.name}`,""));const a=[];i[2].forEach(c=>{c.ip_addresses.forEach(d=>{a.push(new x.$(!1,c.name+":"+d,""))})}),this.portalsSelections=[...a],this.cephIscsiConfigVersion=i[4].ceph_iscsi_config_version,this.createForm(),i[5]&&this.resolveModel(i[5]),this.loadingReady()})}createForm(){if(this.targetForm=new Z.d({target_iqn:new r.p4("iqn.2001-07.com.ceph:"+Date.now(),{validators:[r.kI.required,r.kI.pattern(this.IQN_REGEX)]}),target_controls:new r.p4({}),portals:new r.p4([],{validators:[J.h.custom("minGateways",t=>C().uniq(t.map(i=>i.split(":")[0])).length<Math.max(1,this.minimum_gateways))]}),disks:new r.p4([],{validators:[J.h.custom("dupLunId",t=>{const o=this.getLunIds(t);return o.length!==C().uniq(o).length}),J.h.custom("dupWwn",t=>{const o=this.getWwns(t);return o.length!==C().uniq(o).length})]}),initiators:new r.vC([]),groups:new r.vC([]),acl_enabled:new r.p4(!1)}),this.cephIscsiConfigVersion>10){const t=new Z.d({user:new r.p4(""),password:new r.p4(""),mutual_user:new r.p4(""),mutual_password:new r.p4("")});this.setAuthValidator(t),this.targetForm.addControl("auth",t)}}resolveModel(t){this.targetForm.patchValue({target_iqn:t.target_iqn,target_controls:t.target_controls,acl_enabled:t.acl_enabled}),this.cephIscsiConfigVersion>10&&this.targetForm.patchValue({auth:t.auth});const o=[];C().forEach(t.portals,_=>{o.push(`${_.host}:${_.ip}`)}),this.targetForm.patchValue({portals:o});const i=[];C().forEach(t.disks,_=>{const a=`${_.pool}/${_.image}`;i.push(a),this.imagesSettings[a]={backstore:_.backstore},this.imagesSettings[a][_.backstore]=_.controls,"lun"in _&&(this.imagesSettings[a].lun=_.lun),"wwn"in _&&(this.imagesSettings[a].wwn=_.wwn),this.onImageSelection({option:{name:a,selected:!0}})}),this.targetForm.patchValue({disks:i}),C().forEach(t.clients,_=>{const a=this.addInitiator();_.luns=C().map(_.luns,c=>`${c.pool}/${c.image}`),a.patchValue(_)}),t.groups.forEach((_,a)=>{const c=this.addGroup();_.disks=C().map(_.disks,d=>`${d.pool}/${d.image}`),c.patchValue(_),C().forEach(_.members,d=>{this.onGroupMemberSelection({option:new x.$(!0,d,"")},a)})})}hasAdvancedSettings(t){return Object.values(t).length>0}get portals(){return this.targetForm.get("portals")}onPortalSelection(){this.portals.setValue(this.portals.value)}removePortal(t,o){return this.portalsSelections.forEach(i=>{i.name===o&&(i.selected=!1)}),this.portals.value.splice(t,1),this.portals.setValue(this.portals.value),!1}get disks(){return this.targetForm.get("disks")}removeImage(t,o){return this.imagesSelections.forEach(i=>{i.name===o&&(i.selected=!1)}),this.disks.value.splice(t,1),this.removeImageRefs(o),this.targetForm.get("disks").updateValueAndValidity({emitEvent:!1}),!1}removeImageRefs(t){this.initiators.controls.forEach(o=>{const i=o.value.luns.filter(_=>_!==t);o.get("luns").setValue(i)}),this.groups.controls.forEach(o=>{const i=o.value.disks.filter(_=>_!==t);o.get("disks").setValue(i)}),C().forEach(this.imagesInitiatorSelections,(o,i)=>{this.imagesInitiatorSelections[i]=o.filter(_=>_.name!==t)}),C().forEach(this.groupDiskSelections,(o,i)=>{this.groupDiskSelections[i]=o.filter(_=>_.name!==t)})}getDefaultBackstore(t){let o=this.default_backstore;const i=this.getImageById(t);return this.validFeatures(i,this.default_backstore)||this.backstores.forEach(_=>{_!==this.default_backstore&&this.validFeatures(i,_)&&(o=_)}),o}isLunIdInUse(t,o){const i=this.disks.value.filter(_=>_!==o);return this.getLunIds(i).includes(t)}getLunIds(t){return C().map(t,o=>this.imagesSettings[o].lun)}nextLunId(t){const o=this.disks.value.filter(a=>a!==t),i=this.getLunIds(o);let _=0;for(;i.includes(_);)_++;return _}getWwns(t){return C().map(t,i=>this.imagesSettings[i].wwn).filter(i=>C().isString(i)&&""!==i)}onImageSelection(t){const o=t.option;if(o.selected){if(this.imagesSettings[o.name])this.isLunIdInUse(this.imagesSettings[o.name].lun,o.name)&&(this.imagesSettings[o.name].lun=this.nextLunId(o.name));else{const i=this.getDefaultBackstore(o.name);this.imagesSettings[o.name]={backstore:i,lun:this.nextLunId(o.name)},this.imagesSettings[o.name][i]={}}C().forEach(this.imagesInitiatorSelections,(i,_)=>{i.push(new x.$(!1,o.name,"")),this.imagesInitiatorSelections[_]=[...i]}),C().forEach(this.groupDiskSelections,(i,_)=>{i.push(new x.$(!1,o.name,"")),this.groupDiskSelections[_]=[...i]})}else this.removeImageRefs(o.name);this.targetForm.get("disks").updateValueAndValidity({emitEvent:!1})}get initiators(){return this.targetForm.get("initiators")}addInitiator(){const t=new Z.d({client_iqn:new r.p4("",{validators:[r.kI.required,J.h.custom("notUnique",i=>{const _=this.initiators.controls.reduce(function(a,c){return a.concat(c.value.client_iqn)},[]);return _.indexOf(i)!==_.lastIndexOf(i)}),r.kI.pattern(this.IQN_REGEX)]}),auth:new Z.d({user:new r.p4(""),password:new r.p4(""),mutual_user:new r.p4(""),mutual_password:new r.p4("")}),luns:new r.p4([]),cdIsInGroup:new r.p4(!1)});this.setAuthValidator(t),this.initiators.push(t),C().forEach(this.groupMembersSelections,(i,_)=>{i.push(new x.$(!1,"","")),this.groupMembersSelections[_]=[...i]});const o=C().map(this.targetForm.getValue("disks"),i=>new x.$(!1,i,""));return this.imagesInitiatorSelections.push(o),t}setAuthValidator(t){J.h.validateIf(t.get("user"),()=>t.getValue("password")||t.getValue("mutual_user")||t.getValue("mutual_password"),[r.kI.required],[r.kI.pattern(this.USER_REGEX)],[t.get("password"),t.get("mutual_user"),t.get("mutual_password")]),J.h.validateIf(t.get("password"),()=>t.getValue("user")||t.getValue("mutual_user")||t.getValue("mutual_password"),[r.kI.required],[r.kI.pattern(this.PASSWORD_REGEX)],[t.get("user"),t.get("mutual_user"),t.get("mutual_password")]),J.h.validateIf(t.get("mutual_user"),()=>t.getValue("mutual_password"),[r.kI.required],[r.kI.pattern(this.USER_REGEX)],[t.get("user"),t.get("password"),t.get("mutual_password")]),J.h.validateIf(t.get("mutual_password"),()=>t.getValue("mutual_user"),[r.kI.required],[r.kI.pattern(this.PASSWORD_REGEX)],[t.get("user"),t.get("password"),t.get("mutual_user")])}removeInitiator(t){const o=this.initiators.value[t];this.initiators.removeAt(t),C().forEach(this.groupMembersSelections,(i,_)=>{i.splice(t,1),this.groupMembersSelections[_]=[...i]}),this.groups.controls.forEach(i=>{const _=i.value.members.filter(a=>a!==o.client_iqn);i.get("members").setValue(_)}),this.imagesInitiatorSelections.splice(t,1)}updatedInitiatorSelector(){this.initiators.controls.forEach(t=>{t.get("client_iqn").updateValueAndValidity({emitEvent:!1})}),C().forEach(this.groupMembersSelections,(t,o)=>{C().forEach(t,(i,_)=>{const a=i.name;i.name=this.initiators.controls[_].value.client_iqn,this.groups.controls.forEach(c=>{const d=c.value.members,g=d.indexOf(a);-1!==g&&(d[g]=i.name),c.get("members").setValue(d)})}),this.groupMembersSelections[o]=[...this.groupMembersSelections[o]]})}removeInitiatorImage(t,o,i,_){const a=t.getValue("luns");return a.splice(o,1),t.patchValue({luns:a}),this.imagesInitiatorSelections[i].forEach(c=>{c.name===_&&(c.selected=!1)}),!1}get groups(){return this.targetForm.get("groups")}addGroup(){const t=new Z.d({group_id:new r.p4("",{validators:[r.kI.required]}),members:new r.p4([]),disks:new r.p4([])});this.groups.push(t);const o=C().map(this.targetForm.getValue("disks"),_=>new x.$(!1,_,""));this.groupDiskSelections.push(o);const i=C().map(this.initiators.value,_=>new x.$(!1,_.client_iqn,"",!_.cdIsInGroup));return this.groupMembersSelections.push(i),t}removeGroup(t){this.groups.removeAt(t),this.groupMembersSelections[t].filter(i=>i.selected).forEach(i=>{i.selected=!1,this.onGroupMemberSelection({option:i},t)}),this.groupMembersSelections.splice(t,1),this.groupDiskSelections.splice(t,1)}onGroupMemberSelection(t,o){const i=t.option;let _=[];i.selected||(_=this.groupDiskSelections[o].filter(c=>c.selected).map(c=>c.name)),this.initiators.controls.forEach((a,c)=>{a.value.client_iqn===i.name&&(a.patchValue({luns:_}),a.get("cdIsInGroup").setValue(i.selected),C().forEach(this.groupMembersSelections,d=>{d[c].enabled=!i.selected}),this.imagesInitiatorSelections[c].forEach(d=>{d.selected=_.includes(d.name)}))})}removeGroupInitiator(t,o,i){const _=t.getValue("members")[o];t.getValue("members").splice(o,1),this.onGroupMemberSelection({option:new x.$(!1,_,"")},i)}removeGroupDisk(t,o,i){const _=t.getValue("disks")[o];t.getValue("disks").splice(o,1),this.groupDiskSelections[i].forEach(a=>{a.name===_&&(a.selected=!1)}),this.groupDiskSelections[i]=[...this.groupDiskSelections[i]]}submit(){const t=C().cloneDeep(this.targetForm.value),o={target_iqn:this.targetForm.getValue("target_iqn"),target_controls:this.targetForm.getValue("target_controls"),acl_enabled:this.targetForm.getValue("acl_enabled"),portals:[],disks:[],clients:[],groups:[]};if(this.cephIscsiConfigVersion>10){const _=this.targetForm.get("auth");_.getValue("user")||_.get("user").setValue(""),_.getValue("password")||_.get("password").setValue(""),_.getValue("mutual_user")||_.get("mutual_user").setValue(""),_.getValue("mutual_password")||_.get("mutual_password").setValue("");const a=this.targetForm.getValue("acl_enabled");o.auth={user:a?"":_.getValue("user"),password:a?"":_.getValue("password"),mutual_user:a?"":_.getValue("mutual_user"),mutual_password:a?"":_.getValue("mutual_password")}}let i;t.disks.forEach(_=>{const a=_.split("/"),c=this.imagesSettings[_].backstore;o.disks.push({pool:a[0],image:a[1],backstore:c,controls:this.imagesSettings[_][c],lun:this.imagesSettings[_].lun,wwn:this.imagesSettings[_].wwn})}),t.portals.forEach(_=>{const a=_.indexOf(":");o.portals.push({host:_.substring(0,a),ip:_.substring(a+1)})}),o.acl_enabled&&(t.initiators.forEach(_=>{_.auth.user||(_.auth.user=""),_.auth.password||(_.auth.password=""),_.auth.mutual_user||(_.auth.mutual_user=""),_.auth.mutual_password||(_.auth.mutual_password=""),delete _.cdIsInGroup;const a=[];_.luns.forEach(c=>{const d=c.split("/");a.push({pool:d[0],image:d[1]})}),_.luns=a}),o.clients=t.initiators),o.acl_enabled&&(t.groups.forEach(_=>{const a=[];_.disks.forEach(c=>{const d=c.split("/");a.push({pool:d[0],image:d[1]})}),_.disks=a}),o.groups=t.groups),this.isEdit?(o.new_target_iqn=o.target_iqn,o.target_iqn=this.target_iqn,i=this.taskWrapper.wrapTaskAroundCall({task:new R.R("iscsi/target/edit",{target_iqn:o.target_iqn}),call:this.iscsiService.updateTarget(this.target_iqn,o)})):i=this.taskWrapper.wrapTaskAroundCall({task:new R.R("iscsi/target/create",{target_iqn:o.target_iqn}),call:this.iscsiService.createTarget(o)}),i.subscribe({error:()=>{this.targetForm.setErrors({cdSubmitButton:!0})},complete:()=>this.router.navigate(["/block/iscsi/targets"])})}targetSettingsModal(){const t={target_controls:this.targetForm.get("target_controls"),target_default_controls:this.target_default_controls,target_controls_limits:this.target_controls_limits};this.modalRef=this.modalService.show(Eo,t)}imageSettingsModal(t){const o={imagesSettings:this.imagesSettings,image:t,api_version:this.api_version,disk_default_controls:this.disk_default_controls,disk_controls_limits:this.disk_controls_limits,backstores:this.getValidBackstores(this.getImageById(t)),control:this.targetForm.get("disks")};this.modalRef=this.modalService.show(Co,o)}validFeatures(t,o){const i=t.features,_=this.required_rbd_features[o];return(i&_)===_&&0==(i&this.unsupported_rbd_features[o])}getImageById(t){return this.imagesAll.find(o=>t===`${o.pool_name}/${o.name}`)}getValidBackstores(t){return this.backstores.filter(o=>this.validFeatures(t,o))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Q),e.Y36(me.Z),e.Y36(H),e.Y36(m.F0),e.Y36(m.gz),e.Y36(u.P),e.Y36(N.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-target-form"]],features:[e.qOj],decls:1,vars:1,consts:function(){let s,t,o,i,_,a,c,d,g,S,I,P,$,y,z,V,oe,ne,w,le,ce,O,Te,fe,Ce,Se,Ee,Re,Me,G,Ge,ye,xe,Ze,we,He,ke,Ke,qe,Xe,D,Gt,yt,xt,Zt,wt,Ht,kt,Kt,qt,Xt,Qt,zt,Jt,Yt,Vt,Ut,jt,Wt,eo,to,oo;return s="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Target IQN",o="Portals",i="Add portal",_="Images",a="Add image",c="ACL authentication",d="This field is required.",g="IQN has wrong pattern.",S="An IQN has the following notation 'iqn.$year-$month.$reversedAddress:$definedName'",I="For example: iqn.2016-06.org.dashboard:storage:disk.sn-a8675309",P="More information",$="This target has modified advanced settings.",y="At least " + "\ufffd0\ufffd" + " gateways are required.",z="Backstore: " + "\ufffd0\ufffd" + ".\xA0",V="This image has modified settings.",oe="Duplicated LUN numbers.",ne="Duplicated WWN.",w="User",le="Password",ce="Mutual User",O="Mutual Password",Te="This field is required.",fe="User names must have a length of 8 to 64 characters and can contain alphanumeric characters, '.', '@', '-', '_' or ':'.",Ce="This field is required.",Se="Passwords must have a length of 12 to 16 characters and can contain alphanumeric characters, '@', '-', '_' or '/'.",Ee="This field is required.",Re="User names must have a length of 8 to 64 characters and can contain alphanumeric characters, '.', '@', '-', '_' or ':'.",Me="This field is required.",G="Passwords must have a length of 12 to 16 characters and can contain alphanumeric characters, '@', '-', '_' or '/'.",Ge="Initiators",ye="Add initiator",xe="Initiator",Ze="Client IQN",we="User",He="Password",ke="Mutual User",Ke="Mutual Password",qe="Images",Xe="Initiator IQN needs to be unique.",D="This field is required.",Gt="IQN has wrong pattern.",yt="This field is required.",xt="User names must have a length of 8 to 64 characters and can contain alphanumeric characters, '.', '@', '-', '_' or ':'.",Zt="This field is required.",wt="Passwords must have a length of 12 to 16 characters and can contain alphanumeric characters, '@', '-', '_' or '/'.",Ht="This field is required.",kt="User names must have a length of 8 to 64 characters and can contain alphanumeric characters, '.', '@', '-', '_' or ':'.",Kt="This field is required.",qt="Passwords must have a length of 12 to 16 characters and can contain alphanumeric characters, '@', '-', '_' or '/'.",Xt="Initiator belongs to a group. Images will be configure in the group.",Qt="Add image",zt="No items added.",Jt="Groups",Yt="Add group",Vt="Group",Ut="Name",jt="Initiators",Wt="Add initiator",eo="Images",to="Add image",oo="No items added.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","targetForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],s,[1,"card-body"],[1,"form-group","row"],["for","target_iqn",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],[1,"input-group"],["type","text","id","target_iqn","name","target_iqn","formControlName","target_iqn","cdTrim","",1,"form-control"],["id","ecp-info-button","type","button",1,"btn","btn-light",3,"click"],["aria-hidden","true",3,"ngClass"],["class","invalid-feedback",4,"ngIf"],["class","form-text text-muted",4,"ngIf"],["for","portals",1,"cd-col-form-label","required"],o,[4,"ngFor","ngForOf"],[1,"row"],[1,"col-md-12"],["elemClass","btn btn-light float-end",3,"data","options","messages","selection"],[3,"ngClass"],i,["type","hidden","id","portals","name","portals","formControlName","portals",1,"form-control"],["for","disks",1,"cd-col-form-label"],_,["type","hidden","id","disks","name","disks","formControlName","disks",1,"form-control"],a,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","formControlName","acl_enabled","name","acl_enabled","id","acl_enabled",1,"custom-control-input"],["for","acl_enabled",1,"custom-control-label"],c,["formGroupName","auth",4,"ngIf"],["class","form-group row",4,"ngIf"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],d,g,S,I,["target","_blank","href","https://en.wikipedia.org/wiki/ISCSI#Addressing"],P,[1,"form-text","text-muted"],$,[1,"input-group","cd-mb"],["type","text","disabled","",1,"cd-form-control",3,"value"],["type","button",1,"btn","btn-light",3,"click"],y,["class","input-group-text",4,"ngIf"],[4,"ngIf"],[1,"input-group-text"],z,V,oe,ne,["formGroupName","auth"],["for","target_user",1,"cd-col-form-label"],w,["type","text","autocomplete","off","id","target_user","name","target_user","formControlName","user",1,"form-control"],["for","target_password",1,"cd-col-form-label"],le,["type","password","autocomplete","new-password","id","target_password","name","target_password","formControlName","password",1,"form-control"],["type","button","cdPasswordButton","target_password",1,"btn","btn-light"],["source","target_password"],["for","target_mutual_user",1,"cd-col-form-label"],ce,["type","text","autocomplete","off","id","target_mutual_user","name","target_mutual_user","formControlName","mutual_user",1,"form-control"],["for","target_mutual_password",1,"cd-col-form-label"],O,["type","password","autocomplete","new-password","id","target_mutual_password","name","target_mutual_password","formControlName","mutual_password",1,"form-control"],["type","button","cdPasswordButton","target_mutual_password",1,"btn","btn-light"],["source","target_mutual_password"],Te,fe,Ce,Se,Ee,Re,Me,G,["for","initiators",1,"cd-col-form-label"],Ge,["formArrayName","initiators",1,"cd-col-form-input"],["class","card mb-2",3,"formGroup",4,"ngFor","ngForOf"],[1,"btn","btn-light","float-end",3,"click"],ye,[1,"card","mb-2",3,"formGroup"],xe,["type","button",1,"btn-close","float-end",3,"click"],["for","client_iqn",1,"cd-col-form-label","required"],Ze,["type","text","formControlName","client_iqn","cdTrim","",1,"form-control",3,"blur"],["for","user",1,"cd-col-form-label"],we,["formControlName","user","autocomplete","off","type","text",1,"form-control",3,"id"],["for","password",1,"cd-col-form-label"],He,["formControlName","password","autocomplete","new-password","type","password",1,"form-control",3,"id"],["type","button",1,"btn","btn-light",3,"cdPasswordButton"],[3,"source"],["for","mutual_user",1,"cd-col-form-label"],ke,["formControlName","mutual_user","autocomplete","off","type","text",1,"form-control",3,"id"],["for","mutual_password",1,"cd-col-form-label"],Ke,["formControlName","mutual_password","autocomplete","new-password","type","password",1,"form-control",3,"id"],["for","luns",1,"cd-col-form-label"],qe,["class","row",4,"ngIf"],Xe,D,Gt,yt,xt,Zt,wt,Ht,kt,Kt,qt,Xt,["elemClass","btn btn-light float-end",3,"data","options","messages"],Qt,zt,Jt,["formArrayName","groups",1,"cd-col-form-input"],Yt,Vt,["for","group_id",1,"cd-col-form-label","required"],Ut,["type","text","formControlName","group_id",1,"form-control"],["for","members",1,"cd-col-form-label"],jt,Wt,eo,to,oo]},template:function(t,o){1&t&&e.YNc(0,un,65,40,"div",0),2&t&&e.Q6J("cdFormLoading",o.loading)},dependencies:[l.mk,l.sg,l.O5,r._Y,r.Fj,r.Wl,r.JJ,r.JL,r.sg,r.u,r.x0,r.CE,Ro.H,ze.s,A.p,mt.C,Mo.$,gt.y,M.o,B.b,q.P,Y.V,l.rS,Qe.V,tt.m],styles:[".cd-mb[_ngcontent-%COMP%]{margin-bottom:10px}"]}),n})();var ft=p(68136),ge=p(30982),te=p(83697),Le=p(99466),he=p(68774),Ct=p(55657),pe=p(38047),ot=p(18001),ve=p(97161),_e=p(47640);function mn(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function gn(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,31),e.qZA())}function Tn(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,32),e.qZA())}function fn(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,33),e.qZA())}function Cn(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,34),e.qZA())}function Sn(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,35),e.qZA())}function En(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,36),e.qZA())}function Rn(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,37),e.qZA())}let Mn=(()=>{class n{constructor(t,o,i,_,a){this.authStorageService=t,this.activeModal=o,this.actionLabels=i,this.iscsiService=_,this.notificationService=a,this.USER_REGEX=/^[\w\.:@_-]{8,64}$/,this.PASSWORD_REGEX=/^[\w@\-_\/]{12,16}$/,this.permission=this.authStorageService.getPermissions().iscsi}ngOnInit(){this.hasPermission=this.permission.update,this.createForm(),this.iscsiService.getDiscovery().subscribe(t=>{this.discoveryForm.patchValue(t)})}createForm(){this.discoveryForm=new Z.d({user:new r.p4({value:"",disabled:!this.hasPermission}),password:new r.p4({value:"",disabled:!this.hasPermission}),mutual_user:new r.p4({value:"",disabled:!this.hasPermission}),mutual_password:new r.p4({value:"",disabled:!this.hasPermission})}),J.h.validateIf(this.discoveryForm.get("user"),()=>this.discoveryForm.getValue("password")||this.discoveryForm.getValue("mutual_user")||this.discoveryForm.getValue("mutual_password"),[r.kI.required],[r.kI.pattern(this.USER_REGEX)],[this.discoveryForm.get("password"),this.discoveryForm.get("mutual_user"),this.discoveryForm.get("mutual_password")]),J.h.validateIf(this.discoveryForm.get("password"),()=>this.discoveryForm.getValue("user")||this.discoveryForm.getValue("mutual_user")||this.discoveryForm.getValue("mutual_password"),[r.kI.required],[r.kI.pattern(this.PASSWORD_REGEX)],[this.discoveryForm.get("user"),this.discoveryForm.get("mutual_user"),this.discoveryForm.get("mutual_password")]),J.h.validateIf(this.discoveryForm.get("mutual_user"),()=>this.discoveryForm.getValue("mutual_password"),[r.kI.required],[r.kI.pattern(this.USER_REGEX)],[this.discoveryForm.get("user"),this.discoveryForm.get("password"),this.discoveryForm.get("mutual_password")]),J.h.validateIf(this.discoveryForm.get("mutual_password"),()=>this.discoveryForm.getValue("mutual_user"),[r.kI.required],[r.kI.pattern(this.PASSWORD_REGEX)],[this.discoveryForm.get("user"),this.discoveryForm.get("password"),this.discoveryForm.get("mutual_user")])}submitAction(){this.iscsiService.updateDiscovery(this.discoveryForm.value).subscribe(()=>{this.notificationService.show(ot.k.success,"Updated discovery authentication"),this.activeModal.close()},()=>{this.discoveryForm.setErrors({cdSubmitButton:!0})})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(_e.j),e.Y36(b.Kz),e.Y36(N.p4),e.Y36(Q),e.Y36(ve.g))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-target-discovery-modal"]],decls:44,vars:13,consts:function(){let s,t,o,i,_,a,c,d,g,S,I,P,$;return s="Discovery Authentication",t="User",o="Password",i="Mutual User",_="Mutual Password",a="This field is required.",c="User names must have a length of 8 to 64 characters and can contain alphanumeric characters, '.', '@', '-', '_' or ':'.",d="This field is required.",g="Passwords must have a length of 12 to 16 characters and can contain alphanumeric characters, '@', '-', '_' or '/'.",S="This field is required.",I="User names must have a length of 8 to 64 characters and can contain alphanumeric characters, '.', '@', '-', '_' or ':'.",P="This field is required.",$="Passwords must have a length of 12 to 16 characters and can contain alphanumeric characters, '@', '-', '_' or '/'.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","discoveryForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","user",1,"cd-col-form-label"],t,[1,"cd-col-form-input"],["id","user","formControlName","user","type","text","autocomplete","off",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","password",1,"cd-col-form-label"],o,[1,"input-group"],["id","password","formControlName","password","type","password","autocomplete","new-password",1,"form-control"],["type","button","cdPasswordButton","password",1,"btn","btn-light"],["source","password"],["for","mutual_user",1,"cd-col-form-label"],i,["id","mutual_user","formControlName","mutual_user","type","text","autocomplete","off",1,"form-control"],["for","mutual_password",1,"cd-col-form-label"],_,["id","mutual_password","formControlName","mutual_password","type","password","autocomplete","new-password",1,"form-control"],["type","button","cdPasswordButton","mutual_password",1,"btn","btn-light"],["source","mutual_password"],[1,"modal-footer"],[3,"form","showSubmit","submitText","submitActionEvent"],[1,"invalid-feedback"],a,c,d,g,S,I,P,$]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"div",7)(8,"label",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"div",10),e._UZ(11,"input",11),e.YNc(12,mn,2,0,"span",12),e.YNc(13,gn,2,0,"span",12),e.qZA()(),e.TgZ(14,"div",7)(15,"label",13),e.SDv(16,14),e.qZA(),e.TgZ(17,"div",10)(18,"div",15),e._UZ(19,"input",16)(20,"button",17)(21,"cd-copy-2-clipboard-button",18),e.qZA(),e.YNc(22,Tn,2,0,"span",12),e.YNc(23,fn,2,0,"span",12),e.qZA()(),e.TgZ(24,"div",7)(25,"label",19),e.ynx(26),e.SDv(27,20),e.BQk(),e.qZA(),e.TgZ(28,"div",10),e._UZ(29,"input",21),e.YNc(30,Cn,2,0,"span",12),e.YNc(31,Sn,2,0,"span",12),e.qZA()(),e.TgZ(32,"div",7)(33,"label",22),e.SDv(34,23),e.qZA(),e.TgZ(35,"div",10)(36,"div",15),e._UZ(37,"input",24)(38,"button",25)(39,"cd-copy-2-clipboard-button",26),e.qZA(),e.YNc(40,En,2,0,"span",12),e.YNc(41,Rn,2,0,"span",12),e.qZA()()(),e.TgZ(42,"div",27)(43,"cd-form-button-panel",28),e.NdJ("submitActionEvent",function(){return o.submitAction()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.discoveryForm),e.xp6(8),e.Q6J("ngIf",o.discoveryForm.showError("user",i,"required")),e.xp6(1),e.Q6J("ngIf",o.discoveryForm.showError("user",i,"pattern")),e.xp6(9),e.Q6J("ngIf",o.discoveryForm.showError("password",i,"required")),e.xp6(1),e.Q6J("ngIf",o.discoveryForm.showError("password",i,"pattern")),e.xp6(7),e.Q6J("ngIf",o.discoveryForm.showError("mutual_user",i,"required")),e.xp6(1),e.Q6J("ngIf",o.discoveryForm.showError("mutual_user",i,"pattern")),e.xp6(9),e.Q6J("ngIf",o.discoveryForm.showError("mutual_password",i,"required")),e.xp6(1),e.Q6J("ngIf",o.discoveryForm.showError("mutual_password",i,"pattern")),e.xp6(2),e.Q6J("form",o.discoveryForm)("showSubmit",o.hasPermission)("submitText",o.actionLabels.SUBMIT)}},dependencies:[l.O5,r._Y,r.Fj,r.JJ,r.JL,r.sg,r.u,f.z,ze.s,A.p,mt.C,M.o,B.b,q.P,Y.V]}),n})();var On=p(86969),nt=p(34501),hn=p(30490),Ae=p(94928);let St=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-tabs"]],decls:7,vars:0,consts:function(){let s,t;return s="Overview",t="Targets",[[1,"nav","nav-tabs"],[1,"nav-item"],["routerLink","/block/iscsi/overview","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link"],s,["routerLink","/block/iscsi/targets","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link"],t]},template:function(t,o){1&t&&(e.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),e.SDv(3,3),e.qZA()(),e.TgZ(4,"li",1)(5,"a",4),e.SDv(6,5),e.qZA()()())},dependencies:[m.rH,m.Od]}),n})();var An=p(68962);const Pn=["highlightTpl"],bn=["detailTable"],In=["tree"],Nn=function(){return["logged_in"]},Fn=function(){return["logged_out"]},Dn=function(n,s){return{"badge-success":n,"badge-danger":s}};function Ln(n,s){if(1&n&&(e._UZ(0,"i"),e.TgZ(1,"span"),e._uU(2),e.qZA(),e._uU(3," \xa0 "),e.TgZ(4,"span",8),e._uU(5),e.qZA()),2&n){const t=s.$implicit;e.Tol(t.data.cdIcon),e.xp6(2),e.Oqu(t.data.name),e.xp6(2),e.Q6J("ngClass",e.WLB(7,Dn,e.DdM(5,Nn).includes(t.data.status),e.DdM(6,Fn).includes(t.data.status))),e.xp6(1),e.hij(" ",t.data.status," ")}}function vn(n,s){if(1&n&&(e.TgZ(0,"div",9)(1,"legend"),e._uU(2),e.qZA(),e._UZ(3,"cd-table",10,11),e.qZA()),2&n){const t=e.oxw();e.xp6(2),e.Oqu(t.title),e.xp6(1),e.Q6J("data",t.data)("columns",t.columns)("limit",0)}}function $n(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Oqu(t)}}function Bn(n,s){if(1&n&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Oqu(t)}}function Gn(n,s){if(1&n&&(e.YNc(0,$n,2,1,"span",12),e.YNc(1,Bn,2,1,"strong",12)),2&n){const t=s.row;e.Q6J("ngIf",void 0===t.default||t.default===t.current),e.xp6(1),e.Q6J("ngIf",void 0!==t.default&&t.default!==t.current)}}let yn=(()=>{class n{set content(t){this.detailTable=t,t&&t.updateColumns()}constructor(t,o){this.iscsiBackstorePipe=t,this.booleanTextPipe=o,this.icons=T.P,this.metadata={},this.nodes=[],this.treeOptions={useVirtualScroll:!0,actionMapping:{mouse:{click:this.onNodeSelected.bind(this)}}}}ngOnInit(){this.columns=[{prop:"displayName",name:"Name",flexGrow:1,cellTemplate:this.highlightTpl},{prop:"current",name:"Current",flexGrow:1,cellTemplate:this.highlightTpl},{prop:"default",name:"Default",flexGrow:1,cellTemplate:this.highlightTpl}]}ngOnChanges(){this.selection&&(this.selectedItem=this.selection,this.generateTree()),this.data=void 0}generateTree(){const t=C().cloneDeep(this.selectedItem.target_controls);this.cephIscsiConfigVersion>10&&C().extend(t,C().cloneDeep(this.selectedItem.auth)),this.metadata={root:t};const o={target:{expanded:C().join(this.selectedItem.cdExecuting?[T.P.large,T.P.spinner,T.P.spin]:[T.P.large,T.P.bullseye]," ")},initiators:{expanded:C().join([T.P.large,T.P.user]," "),leaf:C().join([T.P.user]," ")},groups:{expanded:C().join([T.P.large,T.P.users]," "),leaf:C().join([T.P.users]," ")},disks:{expanded:C().join([T.P.large,T.P.disk]," "),leaf:C().join([T.P.disk]," ")},portals:{expanded:C().join([T.P.large,T.P.server]," "),leaf:C().join([T.P.server]," ")}},i=[];C().forEach(this.selectedItem.disks,d=>{const g="disk_"+d.pool+"_"+d.image;this.metadata[g]={controls:d.controls,backstore:d.backstore},["wwn","lun"].forEach(S=>{S in d&&(this.metadata[g][S]=d[S])}),i.push({name:`${d.pool}/${d.image}`,cdId:g,cdIcon:o.disks.leaf})});const _=[];C().forEach(this.selectedItem.portals,d=>{_.push({name:`${d.host}:${d.ip}`,cdIcon:o.portals.leaf})});const a=[];C().forEach(this.selectedItem.clients,d=>{const g=C().cloneDeep(d.auth);d.info&&(C().extend(g,d.info),delete g.state,C().forEach(Object.keys(d.info.state),P=>{g[P.toLowerCase()]=d.info.state[P]})),this.metadata["client_"+d.client_iqn]=g;const S=[];d.luns.forEach(P=>{S.push({name:`${P.pool}/${P.image}`,cdId:"disk_"+P.pool+"_"+P.image,cdIcon:o.disks.leaf})});let I="";d.info&&(I=Object.keys(d.info.state).includes("LOGGED_IN")?"logged_in":"logged_out"),a.push({name:d.client_iqn,status:I,cdId:"client_"+d.client_iqn,children:S,cdIcon:o.initiators.leaf})});const c=[];C().forEach(this.selectedItem.groups,d=>{const g=[];d.disks.forEach(I=>{g.push({name:`${I.pool}/${I.image}`,cdId:"disk_"+I.pool+"_"+I.image,cdIcon:o.disks.leaf})});const S=[];d.members.forEach(I=>{S.push({name:I,cdId:"client_"+I})}),c.push({name:d.group_id,cdIcon:o.groups.leaf,children:[{name:"Disks",children:g,cdIcon:o.disks.expanded},{name:"Initiators",children:S,cdIcon:o.initiators.expanded}]})}),this.nodes=[{name:this.selectedItem.target_iqn,cdId:"root",isExpanded:!0,cdIcon:o.target.expanded,children:[{name:"Disks",isExpanded:!0,children:i,cdIcon:o.disks.expanded},{name:"Portals",isExpanded:!0,children:_,cdIcon:o.portals.expanded},{name:"Initiators",isExpanded:!0,children:a,cdIcon:o.initiators.expanded},{name:"Groups",isExpanded:!0,children:c,cdIcon:o.groups.expanded}]}]}format(t){return"boolean"==typeof t?this.booleanTextPipe.transform(t):t}onNodeSelected(t,o){if(ie.iM.ACTIVATE(t,o,!0),o.data.cdId){this.title=o.data.name;const i=this.metadata[o.data.cdId]||{};"root"===o.data.cdId?(this.detailTable?.toggleColumn({prop:"default",isHidden:!0}),this.data=C().map(this.settings.target_default_controls,(_,a)=>({displayName:a,default:_=this.format(_),current:C().isUndefined(i[a])?_:this.format(i[a])})),this.cephIscsiConfigVersion>10&&["user","password","mutual_user","mutual_password"].forEach(_=>{this.data.push({displayName:_,default:null,current:i[_]})})):o.data.cdId.toString().startsWith("disk_")?(this.detailTable?.toggleColumn({prop:"default",isHidden:!0}),this.data=C().map(this.settings.disk_default_controls[i.backstore],(_,a)=>({displayName:a,default:_=this.format(_),current:C().isUndefined(i.controls[a])?_:this.format(i.controls[a])})),this.data.push({displayName:"backstore",default:this.iscsiBackstorePipe.transform(this.settings.default_backstore),current:this.iscsiBackstorePipe.transform(i.backstore)}),["wwn","lun"].forEach(_=>{_ in i&&this.data.push({displayName:_,default:void 0,current:i[_]})})):(this.detailTable?.toggleColumn({prop:"default",isHidden:!1}),this.data=C().map(i,(_,a)=>({displayName:a,default:void 0,current:this.format(_)})))}else this.data=void 0;this.detailTable?.updateColumns()}onUpdateData(){this.tree.treeModel.expandAll()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Qe.V),e.Y36(An.T))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-target-details"]],viewQuery:function(t,o){if(1&t&&(e.Gf(Pn,7),e.Gf(bn,5),e.Gf(In,5)),2&t){let i;e.iGM(i=e.CRH())&&(o.highlightTpl=i.first),e.iGM(i=e.CRH())&&(o.content=i.first),e.iGM(i=e.CRH())&&(o.tree=i.first)}},inputs:{selection:"selection",settings:"settings",cephIscsiConfigVersion:"cephIscsiConfigVersion"},features:[e.TTD],decls:11,vars:3,consts:function(){let s;return s="iSCSI Topology",[[1,"row"],[1,"col-6"],s,[3,"nodes","options","updateData"],["tree",""],["treeNodeTemplate",""],["class","col-6 metadata",4,"ngIf"],["highlightTpl",""],[1,"badge",3,"ngClass"],[1,"col-6","metadata"],["columnMode","flex",3,"data","columns","limit"],["detailTable",""],[4,"ngIf"]]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"legend"),e.SDv(3,2),e.qZA(),e.TgZ(4,"tree-root",3,4),e.NdJ("updateData",function(){return o.onUpdateData()}),e.YNc(6,Ln,6,10,"ng-template",null,5,e.W1O),e.qZA()(),e.YNc(8,vn,5,4,"div",6),e.qZA(),e.YNc(9,Gn,2,2,"ng-template",null,7,e.W1O)),2&t&&(e.xp6(4),e.Q6J("nodes",o.nodes)("options",o.treeOptions),e.xp6(4),e.Q6J("ngIf",o.data))},dependencies:[l.mk,l.O5,te.a,ie.qr]}),n})();function xn(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"br"),e.TgZ(2,"span"),e.SDv(3,6),e.qZA(),e.TgZ(4,"pre"),e._uU(5),e.qZA(),e.BQk()),2&n){const t=e.oxw(2);e.xp6(5),e.Oqu(t.status)}}function Zn(n,s){if(1&n&&(e.TgZ(0,"cd-alert-panel",2),e.ynx(1),e.tHW(2,3),e._UZ(3,"cd-doc",4),e.N_p(),e.BQk(),e.YNc(4,xn,6,1,"ng-container",5),e.qZA()),2&n){const t=e.oxw();e.xp6(4),e.Q6J("ngIf",t.status)}}function wn(n,s){if(1&n&&e._UZ(0,"cd-iscsi-target-details",15),2&n){const t=e.oxw(2);e.Q6J("cephIscsiConfigVersion",t.cephIscsiConfigVersion)("selection",t.expandedRow)("settings",t.settings)}}const Hn=function(n){return[n]};function kn(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",7,8),e.NdJ("fetchData",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.getTargets())})("setExpandedRow",function(i){e.CHM(t);const _=e.oxw();return e.KtG(_.setExpandedRow(i))})("updateSelection",function(i){e.CHM(t);const _=e.oxw();return e.KtG(_.updateSelection(i))}),e.TgZ(2,"div",9),e._UZ(3,"cd-table-actions",10),e.TgZ(4,"button",11),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.configureDiscoveryAuth())}),e._UZ(5,"i",12),e.ynx(6),e.SDv(7,13),e.BQk(),e.qZA()(),e.YNc(8,wn,1,3,"cd-iscsi-target-details",14),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("data",t.targets)("columns",t.columns)("hasDetails",!0)("autoReload",!1)("status",t.tableStatus),e.xp6(3),e.Q6J("permission",t.permission)("selection",t.selection)("tableActions",t.tableActions),e.xp6(2),e.Q6J("ngClass",e.VKq(10,Hn,t.icons.key)),e.xp6(3),e.Q6J("ngIf",t.expandedRow)}}let Kn=(()=>{class n extends ft.o{constructor(t,o,i,_,a,c,d,g,S){super(S),this.authStorageService=t,this.iscsiService=o,this.joinPipe=i,this.taskListService=_,this.notAvailablePipe=a,this.modalService=c,this.taskWrapper=d,this.actionLabels=g,this.ngZone=S,this.available=void 0,this.selection=new he.r,this.targets=[],this.icons=T.P,this.builders={"iscsi/target/create":I=>({target_iqn:I.target_iqn})},this.permission=this.authStorageService.getPermissions().iscsi,this.tableActions=[{permission:"create",icon:T.P.add,routerLink:()=>"/block/iscsi/targets/create",name:this.actionLabels.CREATE},{permission:"update",icon:T.P.edit,routerLink:()=>`/block/iscsi/targets/edit/${this.selection.first().target_iqn}`,name:this.actionLabels.EDIT,disable:()=>this.getEditDisableDesc()},{permission:"delete",icon:T.P.destroy,click:()=>this.deleteIscsiTargetModal(),name:this.actionLabels.DELETE,disable:()=>this.getDeleteDisableDesc()}]}ngOnInit(){this.columns=[{name:"Target",prop:"target_iqn",flexGrow:2,cellTransformation:Le.e.executing},{name:"Portals",prop:"cdPortals",pipe:this.joinPipe,flexGrow:2},{name:"Images",prop:"cdImages",pipe:this.joinPipe,flexGrow:2},{name:"# Sessions",prop:"info.num_sessions",pipe:this.notAvailablePipe,flexGrow:1}],this.iscsiService.status().subscribe(t=>{this.available=t.available,t.available||(this.status=t.message)})}getTargets(){this.available&&(this.setTableRefreshTimeout(),this.iscsiService.version().subscribe(t=>{this.cephIscsiConfigVersion=t.ceph_iscsi_config_version}),this.taskListService.init(()=>this.iscsiService.listTargets(),t=>this.prepareResponse(t),t=>this.targets=t,()=>this.onFetchError(),this.taskFilter,this.itemFilter,this.builders),this.iscsiService.settings().subscribe(t=>{this.settings=t}))}ngOnDestroy(){this.summaryDataSubscription&&this.summaryDataSubscription.unsubscribe()}getEditDisableDesc(){const t=this.selection.first();return t&&t?.cdExecuting?t.cdExecuting:t&&C().isUndefined(t?.info)?"Unavailable gateway(s)":!t}getDeleteDisableDesc(){const t=this.selection.first();return t?.cdExecuting?t.cdExecuting:t&&C().isUndefined(t?.info)?"Unavailable gateway(s)":t&&t?.info?.num_sessions?"Target has active sessions":!t}prepareResponse(t){return t.forEach(o=>{o.cdPortals=o.portals.map(i=>`${i.host}:${i.ip}`),o.cdImages=o.disks.map(i=>`${i.pool}/${i.image}`)}),t}onFetchError(){this.table.reset()}itemFilter(t,o){return t.target_iqn===o.metadata.target_iqn}taskFilter(t){return["iscsi/target/create","iscsi/target/edit","iscsi/target/delete"].includes(t.name)}updateSelection(t){this.selection=t}deleteIscsiTargetModal(){const t=this.selection.first().target_iqn;this.modalRef=this.modalService.show(ge.M,{itemDescription:"iSCSI target",itemNames:[t],submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new R.R("iscsi/target/delete",{target_iqn:t}),call:this.iscsiService.deleteTarget(t)})})}configureDiscoveryAuth(){this.modalService.show(Mn)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(_e.j),e.Y36(Q),e.Y36(On.A),e.Y36(pe.j),e.Y36(Ct.g),e.Y36(me.Z),e.Y36(u.P),e.Y36(N.p4),e.Y36(e.R0b))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-target-list"]],viewQuery:function(t,o){if(1&t&&e.Gf(te.a,5),2&t){let i;e.iGM(i=e.CRH())&&(o.table=i.first)}},features:[e._Bn([pe.j]),e.qOj],decls:3,vars:2,consts:function(){let s,t,o,i;return s="iSCSI Targets not available",t="Please consult the " + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " on how to configure and enable the iSCSI Targets management functionality.",o="Available information:",i="Discovery authentication",[["type","info","title",s,4,"ngIf"],["columnMode","flex","identifier","target_iqn","forceIdentifier","true","selectionType","single",3,"data","columns","hasDetails","autoReload","status","fetchData","setExpandedRow","updateSelection",4,"ngIf"],["type","info","title",s],t,["section","iscsi"],[4,"ngIf"],o,["columnMode","flex","identifier","target_iqn","forceIdentifier","true","selectionType","single",3,"data","columns","hasDetails","autoReload","status","fetchData","setExpandedRow","updateSelection"],["table",""],[1,"table-actions","btn-toolbar"],[1,"btn-group",3,"permission","selection","tableActions"],["type","button",1,"btn","btn-light",3,"click"],["aria-hidden","true",3,"ngClass"],i,["cdTableDetail","",3,"cephIscsiConfigVersion","selection","settings",4,"ngIf"],["cdTableDetail","",3,"cephIscsiConfigVersion","selection","settings"]]},template:function(t,o){1&t&&(e._UZ(0,"cd-iscsi-tabs"),e.YNc(1,Zn,5,1,"cd-alert-panel",0),e.YNc(2,kn,9,12,"cd-table",1)),2&t&&(e.xp6(1),e.Q6J("ngIf",!1===o.available),e.xp6(1),e.Q6J("ngIf",!0===o.available))},dependencies:[l.mk,l.O5,nt.G,hn.K,te.a,Ae.K,M.o,St,yn]}),n})();var it=p(66369),qn=p(76446),Xn=p(90068);const Qn=["iscsiSparklineTpl"],zn=["iscsiPerSecondTpl"],Jn=["iscsiRelativeDateTpl"];function Yn(n,s){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"cd-sparkline",9),e.qZA()),2&n){const t=e.oxw(),o=t.value,i=t.row;e.xp6(1),e.Q6J("data",o)("isBinary",i.cdIsBinary)}}function Vn(n,s){1&n&&(e.TgZ(0,"span",10),e._uU(1," n/a "),e.qZA())}function Un(n,s){if(1&n&&(e.YNc(0,Yn,2,2,"span",7),e.YNc(1,Vn,2,0,"span",8)),2&n){const t=s.row;e.Q6J("ngIf","user:rbd"===t.backstore),e.xp6(1),e.Q6J("ngIf","user:rbd"!==t.backstore)}}function jn(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.hij(" ",t," /s ")}}function Wn(n,s){1&n&&(e.TgZ(0,"span",10),e._uU(1," n/a "),e.qZA())}function ei(n,s){if(1&n&&(e.YNc(0,jn,2,1,"span",7),e.YNc(1,Wn,2,0,"span",8)),2&n){const t=s.row;e.Q6J("ngIf","user:rbd"===t.backstore),e.xp6(1),e.Q6J("ngIf","user:rbd"!==t.backstore)}}function ti(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"notAvailable"),e.ALo(3,"relativeDate"),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.hij(" ",e.lcZ(2,1,e.lcZ(3,3,t))," ")}}function oi(n,s){1&n&&(e.TgZ(0,"span",10),e._uU(1," n/a "),e.qZA())}function ni(n,s){if(1&n&&(e.YNc(0,ti,4,5,"span",7),e.YNc(1,oi,2,0,"span",8)),2&n){const t=s.row;e.Q6J("ngIf","user:rbd"===t.backstore),e.xp6(1),e.Q6J("ngIf","user:rbd"!==t.backstore)}}let ii=(()=>{class n{constructor(t,o,i){this.iscsiService=t,this.dimlessPipe=o,this.iscsiBackstorePipe=i,this.gateways=[],this.images=[]}ngOnInit(){this.gatewaysColumns=[{name:"Name",prop:"name"},{name:"State",prop:"state",flexGrow:1,cellTransformation:Le.e.badge,customTemplateConfig:{map:{up:{class:"badge-success"},down:{class:"badge-danger"}}}},{name:"# Targets",prop:"num_targets"},{name:"# Sessions",prop:"num_sessions"}],this.imagesColumns=[{name:"Pool",prop:"pool"},{name:"Image",prop:"image"},{name:"Backstore",prop:"backstore",pipe:this.iscsiBackstorePipe},{name:"Read Bytes",prop:"stats_history.rd_bytes",cellTemplate:this.iscsiSparklineTpl},{name:"Write Bytes",prop:"stats_history.wr_bytes",cellTemplate:this.iscsiSparklineTpl},{name:"Read Ops",prop:"stats.rd",pipe:this.dimlessPipe,cellTemplate:this.iscsiPerSecondTpl},{name:"Write Ops",prop:"stats.wr",pipe:this.dimlessPipe,cellTemplate:this.iscsiPerSecondTpl},{name:"A/O Since",prop:"optimized_since",cellTemplate:this.iscsiRelativeDateTpl}]}refresh(){this.iscsiService.overview().subscribe(t=>{this.gateways=t.gateways,this.images=t.images,this.images.map(o=>(o.stats_history&&(o.stats_history.rd_bytes=o.stats_history.rd_bytes.map(i=>i[1]),o.stats_history.wr_bytes=o.stats_history.wr_bytes.map(i=>i[1])),o.cdIsBinary=!0,o))})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Q),e.Y36(it.n),e.Y36(Qe.V))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi"]],viewQuery:function(t,o){if(1&t&&(e.Gf(Qn,7),e.Gf(zn,7),e.Gf(Jn,7)),2&t){let i;e.iGM(i=e.CRH())&&(o.iscsiSparklineTpl=i.first),e.iGM(i=e.CRH())&&(o.iscsiPerSecondTpl=i.first),e.iGM(i=e.CRH())&&(o.iscsiRelativeDateTpl=i.first)}},decls:15,vars:4,consts:function(){let s,t;return s="Gateways",t="Images",[s,[3,"data","columns","fetchData"],t,[3,"data","columns"],["iscsiSparklineTpl",""],["iscsiPerSecondTpl",""],["iscsiRelativeDateTpl",""],[4,"ngIf"],["class","text-muted",4,"ngIf"],[3,"data","isBinary"],[1,"text-muted"]]},template:function(t,o){1&t&&(e._UZ(0,"cd-iscsi-tabs"),e.TgZ(1,"legend"),e.SDv(2,0),e.qZA(),e.TgZ(3,"div")(4,"cd-table",1),e.NdJ("fetchData",function(){return o.refresh()}),e.qZA()(),e.TgZ(5,"legend"),e.SDv(6,2),e.qZA(),e.TgZ(7,"div"),e._UZ(8,"cd-table",3),e.qZA(),e.YNc(9,Un,2,2,"ng-template",null,4,e.W1O),e.YNc(11,ei,2,2,"ng-template",null,5,e.W1O),e.YNc(13,ni,2,2,"ng-template",null,6,e.W1O)),2&t&&(e.xp6(4),e.Q6J("data",o.gateways)("columns",o.gatewaysColumns),e.xp6(4),e.Q6J("data",o.images)("columns",o.imagesColumns))},dependencies:[l.O5,qn.l,te.a,St,Xn.h,Ct.g]}),n})(),si=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[l.ez,se.m,b.Oz,m.Bz,r.u5,r.UX,b.ZQ,b.HK]}),n})();var _i=p(13464),ai=p(26215),ri=p(45435),Et=p(36848);let X=class{constructor(s,t){this.http=s,this.timerService=t,this.REFRESH_INTERVAL=3e4,this.summaryDataSource=new ai.X(null),this.summaryData$=this.summaryDataSource.asObservable()}startPolling(){return this.timerService.get(()=>this.retrieveSummaryObservable(),this.REFRESH_INTERVAL).subscribe(this.retrieveSummaryObserver())}refresh(){return this.retrieveSummaryObservable().subscribe(this.retrieveSummaryObserver())}retrieveSummaryObservable(){return this.http.get("api/block/mirroring/summary")}retrieveSummaryObserver(){return s=>{this.summaryDataSource.next(s)}}subscribeSummary(s,t){return this.summaryData$.pipe((0,ri.h)(o=>!!o)).subscribe(s,t)}getPool(s){return this.http.get(`api/block/mirroring/pool/${s}`)}updatePool(s,t){return this.http.put(`api/block/mirroring/pool/${s}`,t,{observe:"response"})}getSiteName(){return this.http.get("api/block/mirroring/site_name")}setSiteName(s){return this.http.put("api/block/mirroring/site_name",{site_name:s},{observe:"response"})}createBootstrapToken(s){return this.http.post(`api/block/mirroring/pool/${s}/bootstrap/token`,{})}importBootstrapToken(s,t,o){return this.http.post(`api/block/mirroring/pool/${s}/bootstrap/peer`,{direction:t,token:o},{observe:"response"})}getPeer(s,t){return this.http.get(`api/block/mirroring/pool/${s}/peer/${t}`)}getPeerForPool(s){return this.http.get(`api/block/mirroring/pool/${s}/peer`)}addPeer(s,t){return this.http.post(`api/block/mirroring/pool/${s}/peer`,t,{observe:"response"})}updatePeer(s,t,o){return this.http.put(`api/block/mirroring/pool/${s}/peer/${t}`,o,{observe:"response"})}deletePeer(s,t){return this.http.delete(`api/block/mirroring/pool/${s}/peer/${t}`,{observe:"response"})}};X.\u0275fac=function(s){return new(s||X)(e.LFG(ae.eN),e.LFG(Et.f))},X.\u0275prov=e.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),(0,L.gn)([(0,L.fM)(0,W.G),(0,L.w6)("design:type",Function),(0,L.w6)("design:paramtypes",[String]),(0,L.w6)("design:returntype",void 0)],X.prototype,"setSiteName",null),(0,L.gn)([(0,L.fM)(1,W.G),(0,L.fM)(2,W.G),(0,L.w6)("design:type",Function),(0,L.w6)("design:paramtypes",[String,String,String]),(0,L.w6)("design:returntype",void 0)],X.prototype,"importBootstrapToken",null),X=(0,L.gn)([W.o,(0,L.w6)("design:paramtypes",[ae.eN,Et.f])],X);var st=p(6481),li=p(68307),Rt=p(12627),ci=p(39749),di=p(13472),Pe=p(82945);function pi(n,s){1&n&&(e.TgZ(0,"span",25),e.SDv(1,26),e.qZA())}function ui(n,s){if(1&n&&(e.TgZ(0,"div",27),e._UZ(1,"input",28),e.TgZ(2,"label",29),e._uU(3),e.qZA()()),2&n){const t=s.$implicit;e.xp6(1),e.s9C("id",t.name),e.s9C("name",t.name),e.s9C("formControlName",t.name),e.xp6(1),e.s9C("for",t.name),e.xp6(1),e.Oqu(t.name)}}function mi(n,s){1&n&&(e.TgZ(0,"span",25),e.SDv(1,30),e.qZA())}let gi=(()=>{class n{constructor(t,o,i){this.activeModal=t,this.rbdMirroringService=o,this.taskWrapper=i,this.pools=[],this.createForm()}createForm(){this.createBootstrapForm=new Z.d({siteName:new r.p4("",{validators:[r.kI.required]}),pools:new r.nJ({},{validators:[this.validatePools()]}),token:new r.p4("",{})})}ngOnInit(){this.createBootstrapForm.get("siteName").setValue(this.siteName),this.rbdMirroringService.getSiteName().subscribe(t=>{this.createBootstrapForm.get("siteName").setValue(t.site_name)}),this.subs=this.rbdMirroringService.subscribeSummary(t=>{this.pools=t.content_data.pools.reduce((_,a)=>(_.push({name:a.name,mirror_mode:a.mirror_mode}),_),[]);const i=this.createBootstrapForm.get("pools");C().each(this.pools,_=>{const a=_.name,c="disabled"===_.mirror_mode,d=i.controls[a];d?c&&d.disabled?d.enable():!c&&d.enabled&&(d.disable(),d.setValue(!0)):i.addControl(a,new r.p4({value:!c,disabled:!c}))})})}ngOnDestroy(){this.subs&&this.subs.unsubscribe()}validatePools(){return t=>{let o=0;return C().each(t.controls,i=>{!0===i.value&&++o}),o>0?null:{requirePool:!0}}}generate(){this.createBootstrapForm.get("token").setValue("");let t="";const o=[],i=this.createBootstrapForm.get("pools");C().each(i.controls,(g,S)=>{!0===g.value&&(t=S,g.disabled||o.push(S))});const _={mirror_mode:"image"},a=(0,st.z)(this.rbdMirroringService.setSiteName(this.createBootstrapForm.getValue("siteName")),(0,de.D)(o.map(g=>this.rbdMirroringService.updatePool(g,_))),this.rbdMirroringService.createBootstrapToken(t).pipe((0,li.b)(g=>this.createBootstrapForm.get("token").setValue(g.token)))).pipe((0,Rt.Z)()),c=()=>{this.rbdMirroringService.refresh(),this.createBootstrapForm.setErrors({cdSubmitButton:!0})};this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/mirroring/bootstrap/create",{}),call:a}).subscribe({error:c,complete:c})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(b.Kz),e.Y36(X),e.Y36(u.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-bootstrap-create-modal"]],decls:32,vars:6,consts:function(){let s,t,o,i,_,a,c,d,g,S,I;return s="Create Bootstrap Token",t="To create a bootstrap token which can be imported by a peer site cluster, provide the local site's name, select which pools will have mirroring enabled, and click\xA0 " + "\ufffd#10\ufffd" + "Generate" + "\ufffd/#10\ufffd" + ".",o="Site Name",i="Name...",_="Pools",a="Generate",c="Token",d="Generated token...",g="Close",S="This field is required.",I="At least one pool is required.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","createBootstrapForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],t,[1,"form-group"],["for","siteName",1,"col-form-label","required"],o,["type","text","placeholder",i,"id","siteName","name","siteName","formControlName","siteName","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["formGroupName","pools",1,"form-group"],["for","pools",1,"col-form-label","required"],_,["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],[1,"mb-4","float-end",3,"form","submitAction"],a,["for","token",1,"col-form-label"],c,["placeholder",d,"id","token","formControlName","token","readonly","",1,"form-control","resize-vertical"],["source","token",1,"float-end"],[1,"modal-footer"],["name",g,3,"backAction"],[1,"invalid-feedback"],S,[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","name","formControlName"],[1,"custom-control-label",3,"for"],I]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p"),e.ynx(8),e.tHW(9,7),e._UZ(10,"kbd"),e.N_p(),e.BQk(),e.qZA(),e.TgZ(11,"div",8)(12,"label",9),e.SDv(13,10),e.qZA(),e._UZ(14,"input",11),e.YNc(15,pi,2,0,"span",12),e.qZA(),e.TgZ(16,"div",13)(17,"label",14),e.SDv(18,15),e.qZA(),e.YNc(19,ui,4,5,"div",16),e.YNc(20,mi,2,0,"span",12),e.qZA(),e.TgZ(21,"cd-submit-button",17),e.NdJ("submitAction",function(){return o.generate()}),e.SDv(22,18),e.qZA(),e.TgZ(23,"div",8)(24,"label",19)(25,"span"),e.SDv(26,20),e.qZA()(),e.TgZ(27,"textarea",21),e._uU(28," "),e.qZA()(),e._UZ(29,"cd-copy-2-clipboard-button",22),e.qZA(),e.TgZ(30,"div",23)(31,"cd-back-button",24),e.NdJ("backAction",function(){return o.activeModal.close()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.createBootstrapForm),e.xp6(11),e.Q6J("ngIf",o.createBootstrapForm.showError("siteName",i,"required")),e.xp6(4),e.Q6J("ngForOf",o.pools),e.xp6(1),e.Q6J("ngIf",o.createBootstrapForm.showError("pools",i,"requirePool")),e.xp6(1),e.Q6J("form",o.createBootstrapForm)}},dependencies:[l.sg,l.O5,ci.w,di.W,f.z,ze.s,Pe.U,M.o,B.b,q.P,Y.V,r._Y,r.Fj,r.Wl,r.JJ,r.JL,r.sg,r.u,r.x0],styles:[".form-group.ng-invalid[_ngcontent-%COMP%] .invalid-feedback[_ngcontent-%COMP%]{display:block}"]}),n})();function Ti(n,s){1&n&&(e.TgZ(0,"span",26),e.SDv(1,27),e.qZA())}function fi(n,s){if(1&n&&(e.TgZ(0,"option",28),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.key),e.xp6(1),e.Oqu(t.desc)}}function Ci(n,s){if(1&n&&(e.TgZ(0,"div",29),e._UZ(1,"input",30),e.TgZ(2,"label",31),e._uU(3),e.qZA()()),2&n){const t=s.$implicit;e.xp6(1),e.s9C("id",t.name),e.s9C("name",t.name),e.s9C("formControlName",t.name),e.xp6(1),e.s9C("for",t.name),e.xp6(1),e.Oqu(t.name)}}function Si(n,s){1&n&&(e.TgZ(0,"span",26),e.SDv(1,32),e.qZA())}function Ei(n,s){1&n&&(e.TgZ(0,"span",26),e.SDv(1,33),e.qZA())}function Ri(n,s){1&n&&(e.TgZ(0,"span",26),e.SDv(1,34),e.qZA())}let Mi=(()=>{class n{constructor(t,o,i,_){this.activeModal=t,this.actionLabels=o,this.rbdMirroringService=i,this.taskWrapper=_,this.pools=[],this.directions=[{key:"rx-tx",desc:"Bidirectional"},{key:"rx",desc:"Unidirectional (receive-only)"}],this.createForm()}createForm(){this.importBootstrapForm=new Z.d({siteName:new r.p4("",{validators:[r.kI.required]}),direction:new r.p4("rx-tx",{}),pools:new r.nJ({},{validators:[this.validatePools()]}),token:new r.p4("",{validators:[r.kI.required,this.validateToken()]})})}ngOnInit(){this.rbdMirroringService.getSiteName().subscribe(t=>{this.importBootstrapForm.get("siteName").setValue(t.site_name)}),this.subs=this.rbdMirroringService.subscribeSummary(t=>{this.pools=t.content_data.pools.reduce((_,a)=>(_.push({name:a.name,mirror_mode:a.mirror_mode}),_),[]);const i=this.importBootstrapForm.get("pools");C().each(this.pools,_=>{const a=_.name,c="disabled"===_.mirror_mode,d=i.controls[a];d?c&&d.disabled?d.enable():!c&&d.enabled&&(d.disable(),d.setValue(!0)):i.addControl(a,new r.p4({value:!c,disabled:!c}))})})}ngOnDestroy(){this.subs&&this.subs.unsubscribe()}validatePools(){return t=>{let o=0;return C().each(t.controls,i=>{!0===i.value&&++o}),o>0?null:{requirePool:!0}}}validateToken(){return t=>{try{if(JSON.parse(atob(t.value)))return null}catch{}return{invalidToken:!0}}}import(){const t=[],o=[],i=this.importBootstrapForm.get("pools");C().each(i.controls,(g,S)=>{!0===g.value&&(t.push(S),g.disabled||o.push(S))});const _={mirror_mode:"image"};let a=(0,st.z)(this.rbdMirroringService.setSiteName(this.importBootstrapForm.getValue("siteName")),(0,de.D)(o.map(g=>this.rbdMirroringService.updatePool(g,_))));a=t.reduce((g,S)=>(0,st.z)(g,this.rbdMirroringService.importBootstrapToken(S,this.importBootstrapForm.getValue("direction"),this.importBootstrapForm.getValue("token"))),a).pipe((0,Rt.Z)());const c=()=>{this.rbdMirroringService.refresh(),this.importBootstrapForm.setErrors({cdSubmitButton:!0})};this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/mirroring/bootstrap/import",{}),call:a}).subscribe({error:c,complete:()=>{c(),this.activeModal.close()}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(b.Kz),e.Y36(N.p4),e.Y36(X),e.Y36(u.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-bootstrap-import-modal"]],decls:36,vars:10,consts:function(){let s,t,o,i,_,a,c,d,g,S,I,P;return s="Import Bootstrap Token",t="To import a bootstrap token which was created by a peer site cluster, provide the local site's name, select which pools will have mirroring enabled, provide the generated token, and click\xA0" + "\ufffd#10\ufffd" + "Import" + "\ufffd/#10\ufffd" + ".",o="Site Name",i="Name...",_="Direction",a="Pools",c="Token",d="Generated token...",g="This field is required.",S="At least one pool is required.",I="This field is required.",P="The token is invalid.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","importBootstrapForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],t,[1,"form-group"],["for","siteName",1,"col-form-label","required"],o,["type","text","placeholder",i,"id","siteName","name","siteName","formControlName","siteName","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","direction",1,"col-form-label"],_,["id","direction","name","direction","formControlName","direction",1,"form-control"],[3,"value",4,"ngFor","ngForOf"],["formGroupName","pools",1,"form-group"],["for","pools",1,"col-form-label","required"],a,["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],["for","token",1,"col-form-label","required"],c,["placeholder",d,"id","token","formControlName","token",1,"form-control","resize-vertical"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],g,[3,"value"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","name","formControlName"],[1,"custom-control-label",3,"for"],S,I,P]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p"),e.ynx(8),e.tHW(9,7),e._UZ(10,"kbd"),e.N_p(),e.BQk(),e.qZA(),e.TgZ(11,"div",8)(12,"label",9),e.SDv(13,10),e.qZA(),e._UZ(14,"input",11),e.YNc(15,Ti,2,0,"span",12),e.qZA(),e.TgZ(16,"div",8)(17,"label",13)(18,"span"),e.SDv(19,14),e.qZA()(),e.TgZ(20,"select",15),e.YNc(21,fi,2,2,"option",16),e.qZA()(),e.TgZ(22,"div",17)(23,"label",18),e.SDv(24,19),e.qZA(),e.YNc(25,Ci,4,5,"div",20),e.YNc(26,Si,2,0,"span",12),e.qZA(),e.TgZ(27,"div",8)(28,"label",21),e.SDv(29,22),e.qZA(),e.TgZ(30,"textarea",23),e._uU(31," "),e.qZA(),e.YNc(32,Ei,2,0,"span",12),e.YNc(33,Ri,2,0,"span",12),e.qZA()(),e.TgZ(34,"div",24)(35,"cd-form-button-panel",25),e.NdJ("submitActionEvent",function(){return o.import()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.importBootstrapForm),e.xp6(11),e.Q6J("ngIf",o.importBootstrapForm.showError("siteName",i,"required")),e.xp6(6),e.Q6J("ngForOf",o.directions),e.xp6(4),e.Q6J("ngForOf",o.pools),e.xp6(1),e.Q6J("ngIf",o.importBootstrapForm.showError("pools",i,"requirePool")),e.xp6(6),e.Q6J("ngIf",o.importBootstrapForm.showError("token",i,"required")),e.xp6(1),e.Q6J("ngIf",o.importBootstrapForm.showError("token",i,"invalidToken")),e.xp6(2),e.Q6J("form",o.importBootstrapForm)("submitText",o.actionLabels.SUBMIT)}},dependencies:[l.sg,l.O5,f.z,A.p,Pe.U,M.o,B.b,q.P,Y.V,r._Y,r.YN,r.Kr,r.Fj,r.Wl,r.EJ,r.JJ,r.JL,r.sg,r.u,r.x0]}),n})();var re=p(69158),Oi=p(58111);let _t=(()=>{class n{transform(t){return"warning"===t?"badge badge-warning":"error"===t?"badge badge-danger":"success"===t?"badge badge-success":"badge badge-info"}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"mirrorHealthColor",type:n,pure:!0}),n})();const hi=["healthTmpl"];function Ai(n,s){if(1&n&&(e.TgZ(0,"span",2),e.ALo(1,"mirrorHealthColor"),e._uU(2),e.qZA()),2&n){const o=s.value;e.Q6J("ngClass",e.lcZ(1,2,s.row.health_color)),e.xp6(2),e.Oqu(o)}}let Pi=(()=>{class n{constructor(t,o){this.rbdMirroringService=t,this.cephShortVersionPipe=o,this.tableStatus=new re.E}ngOnInit(){this.columns=[{prop:"instance_id",name:"Instance",flexGrow:2},{prop:"id",name:"ID",flexGrow:2},{prop:"server_hostname",name:"Hostname",flexGrow:2},{prop:"version",name:"Version",pipe:this.cephShortVersionPipe,flexGrow:2},{prop:"health",name:"Health",cellTemplate:this.healthTmpl,flexGrow:1}],this.subs=this.rbdMirroringService.subscribeSummary(t=>{this.data=t.content_data.daemons,this.tableStatus=new re.E(t.status)})}ngOnDestroy(){this.subs.unsubscribe()}refresh(){this.rbdMirroringService.refresh()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(X),e.Y36(Oi.F))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-mirroring-daemons"]],viewQuery:function(t,o){if(1&t&&e.Gf(hi,7),2&t){let i;e.iGM(i=e.CRH())&&(o.healthTmpl=i.first)}},decls:3,vars:4,consts:[["columnMode","flex",3,"data","columns","autoReload","status","fetchData"],["healthTmpl",""],[3,"ngClass"]],template:function(t,o){1&t&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(){return o.refresh()}),e.qZA(),e.YNc(1,Ai,3,4,"ng-template",null,1,e.W1O)),2&t&&e.Q6J("data",o.data)("columns",o.columns)("autoReload",-1)("status",o.tableStatus)},dependencies:[l.mk,te.a,_t]}),n})();var Mt=p(59376);const bi=["stateTmpl"],Ii=["syncTmpl"],Ni=["progressTmpl"],Fi=["entriesBehindPrimaryTpl"];function Di(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",14),e.NdJ("fetchData",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.refresh())}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("data",t.image_error.data)("columns",t.image_error.columns)("autoReload",-1)("status",t.tableStatus)}}function Li(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",14),e.NdJ("fetchData",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.refresh())}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("data",t.image_syncing.data)("columns",t.image_syncing.columns)("autoReload",-1)("status",t.tableStatus)}}function vi(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",14),e.NdJ("fetchData",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.refresh())}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("data",t.image_ready.data)("columns",t.image_ready.columns)("autoReload",-1)("status",t.tableStatus)}}function $i(n,s){if(1&n&&(e.TgZ(0,"span",15),e.ALo(1,"mirrorHealthColor"),e._uU(2),e.qZA()),2&n){const o=s.value;e.Q6J("ngClass",e.lcZ(1,2,s.row.state_color)),e.xp6(2),e.Oqu(o)}}function Bi(n,s){1&n&&e._UZ(0,"div")}function Gi(n,s){if(1&n&&e._UZ(0,"ngb-progressbar",19),2&n){const t=e.oxw().value;e.Q6J("value",t)("showValue",!0)}}function yi(n,s){if(1&n&&(e.YNc(0,Bi,1,0,"div",16),e.TgZ(1,"div",17),e.YNc(2,Gi,1,2,"ngb-progressbar",18),e.qZA()),2&n){const t=s.row;e.Q6J("ngIf","Replaying"===t.state),e.xp6(2),e.Q6J("ngIf","Replaying"===t.state)}}function xi(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.hij(" ",t," ")}}function Zi(n,s){1&n&&(e.TgZ(0,"span",21),e._uU(1,"-"),e.qZA())}function wi(n,s){if(1&n&&(e.YNc(0,xi,2,1,"span",16),e.YNc(1,Zi,2,0,"span",20)),2&n){const t=s.row;e.Q6J("ngIf","journal"===t.mirror_mode),e.xp6(1),e.Q6J("ngIf","snapshot"===t.mirror_mode)}}let Hi=(()=>{class n{constructor(t){this.rbdMirroringService=t,this.image_error={data:[],columns:{}},this.image_syncing={data:[],columns:{}},this.image_ready={data:[],columns:{}},this.tableStatus=new re.E}ngOnInit(){this.image_error.columns=[{prop:"pool_name",name:"Pool",flexGrow:2},{prop:"name",name:"Image",flexGrow:2},{prop:"state",name:"State",cellTemplate:this.stateTmpl,flexGrow:1},{prop:"description",name:"Issue",flexGrow:4}],this.image_syncing.columns=[{prop:"pool_name",name:"Pool",flexGrow:2},{prop:"name",name:"Image",flexGrow:2},{prop:"state",name:"State",cellTemplate:this.stateTmpl,flexGrow:1},{prop:"syncing_percent",name:"Progress",cellTemplate:this.progressTmpl,flexGrow:2},{prop:"bytes_per_second",name:"Bytes per second",flexGrow:2},{prop:"entries_behind_primary",name:"Entries behind primary",cellTemplate:this.entriesBehindPrimaryTpl,flexGrow:2}],this.image_ready.columns=[{prop:"pool_name",name:"Pool",flexGrow:2},{prop:"name",name:"Image",flexGrow:2},{prop:"state",name:"State",cellTemplate:this.stateTmpl,flexGrow:1},{prop:"description",name:"Description",flexGrow:4}],this.subs=this.rbdMirroringService.subscribeSummary(t=>{this.image_error.data=t.content_data.image_error,this.image_syncing.data=t.content_data.image_syncing,this.image_ready.data=t.content_data.image_ready,this.tableStatus=new re.E(t.status)})}ngOnDestroy(){this.subs.unsubscribe()}refresh(){this.rbdMirroringService.refresh()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(X))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-mirroring-images"]],viewQuery:function(t,o){if(1&t&&(e.Gf(bi,7),e.Gf(Ii,7),e.Gf(Ni,7),e.Gf(Fi,7)),2&t){let i;e.iGM(i=e.CRH())&&(o.stateTmpl=i.first),e.iGM(i=e.CRH())&&(o.syncTmpl=i.first),e.iGM(i=e.CRH())&&(o.progressTmpl=i.first),e.iGM(i=e.CRH())&&(o.entriesBehindPrimaryTpl=i.first)}},decls:21,vars:4,consts:function(){let s,t,o;return s="Issues (" + "\ufffd0\ufffd" + ")",t="Syncing (" + "\ufffd0\ufffd" + ")",o="Ready (" + "\ufffd0\ufffd" + ")",[["ngbNav","","cdStatefulTab","image-list",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","issues"],["ngbNavLink",""],s,["ngbNavContent",""],["ngbNavItem","syncing"],t,["ngbNavItem","ready"],o,[3,"ngbNavOutlet"],["stateTmpl",""],["progressTmpl",""],["entriesBehindPrimaryTpl",""],["columnMode","flex",3,"data","columns","autoReload","status","fetchData"],[3,"ngClass"],[4,"ngIf"],[1,"w-100","h-100","d-flex","justify-content-center","align-items-center"],["type","info","class","w-100",3,"value","showValue",4,"ngIf"],["type","info",1,"w-100",3,"value","showValue"],["ngbTooltip","Not available with mirroring snapshot mode",4,"ngIf"],["ngbTooltip","Not available with mirroring snapshot mode"]]},template:function(t,o){if(1&t&&(e.TgZ(0,"nav",0,1),e.ynx(2,2),e.TgZ(3,"a",3),e.SDv(4,4),e.qZA(),e.YNc(5,Di,1,4,"ng-template",5),e.BQk(),e.ynx(6,6),e.TgZ(7,"a",3),e.SDv(8,7),e.qZA(),e.YNc(9,Li,1,4,"ng-template",5),e.BQk(),e.ynx(10,8),e.TgZ(11,"a",3),e.SDv(12,9),e.qZA(),e.YNc(13,vi,1,4,"ng-template",5),e.BQk(),e.qZA(),e._UZ(14,"div",10),e.YNc(15,$i,3,4,"ng-template",null,11,e.W1O),e.YNc(17,yi,3,2,"ng-template",null,12,e.W1O),e.YNc(19,wi,2,2,"ng-template",null,13,e.W1O)),2&t){const i=e.MAs(1);e.xp6(4),e.pQV(o.image_error.data.length),e.QtT(4),e.xp6(4),e.pQV(o.image_syncing.data.length),e.QtT(8),e.xp6(4),e.pQV(o.image_ready.data.length),e.QtT(12),e.xp6(2),e.Q6J("ngbNavOutlet",i)}},dependencies:[l.mk,l.O5,te.a,Mt.m,b.uN,b.Pz,b.nv,b.Vx,b.tO,b.Dy,b.Ly,b._L,_t]}),n})();var Ot=p(70882);class ki{}function Ki(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,25),e.qZA())}function qi(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,26),e.qZA())}function Xi(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,27),e.qZA())}function Qi(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,28),e.qZA())}function zi(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,29),e.qZA())}function Ji(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,30),e.qZA())}let Yi=(()=>{class n{constructor(t,o,i,_){this.activeModal=t,this.actionLabels=o,this.rbdMirroringService=i,this.taskWrapper=_,this.bsConfig={containerClass:"theme-default"},this.createForm()}createForm(){this.editPeerForm=new Z.d({clusterName:new r.p4("",{validators:[r.kI.required,this.validateClusterName]}),clientID:new r.p4("",{validators:[r.kI.required,this.validateClientID]}),monAddr:new r.p4("",{validators:[this.validateMonAddr]}),key:new r.p4("",{validators:[this.validateKey]})})}ngOnInit(){this.pattern=`${this.poolName}/${this.peerUUID}`,"edit"===this.mode&&this.rbdMirroringService.getPeer(this.poolName,this.peerUUID).subscribe(t=>{this.setResponse(t)})}validateClusterName(t){if(!t.value.match(/^[\w\-_]*$/))return{invalidClusterName:{value:t.value}}}validateClientID(t){if(!t.value.match(/^(?!client\.)[\w\-_.]*$/))return{invalidClientID:{value:t.value}}}validateMonAddr(t){if(!t.value.match(/^[,; ]*([\w.\-_\[\]]+(:[\d]+)?[,; ]*)*$/))return{invalidMonAddr:{value:t.value}}}validateKey(t){try{if(""===t.value||atob(t.value))return null}catch{}return{invalidKey:{value:t.value}}}setResponse(t){this.response=t,this.editPeerForm.get("clusterName").setValue(t.cluster_name),this.editPeerForm.get("clientID").setValue(t.client_id),this.editPeerForm.get("monAddr").setValue(t.mon_host),this.editPeerForm.get("key").setValue(t.key)}update(){const t=new ki;let o;t.cluster_name=this.editPeerForm.getValue("clusterName"),t.client_id=this.editPeerForm.getValue("clientID"),t.mon_host=this.editPeerForm.getValue("monAddr"),t.key=this.editPeerForm.getValue("key"),o=this.taskWrapper.wrapTaskAroundCall("edit"===this.mode?{task:new R.R("rbd/mirroring/peer/edit",{pool_name:this.poolName}),call:this.rbdMirroringService.updatePeer(this.poolName,this.peerUUID,t)}:{task:new R.R("rbd/mirroring/peer/add",{pool_name:this.poolName}),call:this.rbdMirroringService.addPeer(this.poolName,t)}),o.subscribe({error:()=>this.editPeerForm.setErrors({cdSubmitButton:!0}),complete:()=>{this.rbdMirroringService.refresh(),this.activeModal.close()}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(b.Kz),e.Y36(N.p4),e.Y36(X),e.Y36(u.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-pool-edit-peer-modal"]],decls:38,vars:13,consts:function(){let s,t,o,i,_,a,c,d,g,S,I,P,$,y,z,V,oe,ne;return s="{VAR_SELECT, select, edit {Edit} other {Add}}",s=e.Zx4(s,{VAR_SELECT:"\ufffd0\ufffd"}),t="" + s + " pool mirror peer",o="{VAR_SELECT, select, edit {Edit} other {Add}}",o=e.Zx4(o,{VAR_SELECT:"\ufffd0\ufffd"}),i="" + o + " the pool mirror peer attributes for pool " + "[\ufffd#10\ufffd|\ufffd#11\ufffd]" + "" + "\ufffd1\ufffd" + "" + "[\ufffd/#10\ufffd|\ufffd/#11\ufffd]" + " and click " + "[\ufffd#10\ufffd|\ufffd#11\ufffd]" + "Submit" + "[\ufffd/#10\ufffd|\ufffd/#11\ufffd]" + ".",i=e.Zx4(i),_="Cluster Name",a="Name...",c="CephX ID",d="CephX ID...",g="Monitor Addresses",S="Comma-delimited addresses...",I="CephX Key",P="Base64-encoded key...",$="This field is required.",y="The cluster name is not valid.",z="This field is required.",V="The CephX ID is not valid.",oe="The monitory address is not valid.",ne="CephX key must be base64 encoded.",[[3,"modalRef"],[1,"modal-title"],t,[1,"modal-content"],["name","editPeerForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],i,[1,"form-group"],["for","clusterName",1,"col-form-label","required"],_,["type","text","placeholder",a,"id","clusterName","name","clusterName","formControlName","clusterName","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","clientID",1,"col-form-label","required"],c,["type","text","placeholder",d,"id","clientID","name","clientID","formControlName","clientID",1,"form-control"],["for","monAddr",1,"col-form-label"],g,["type","text","placeholder",S,"id","monAddr","name","monAddr","formControlName","monAddr",1,"form-control"],["for","key",1,"col-form-label"],I,["type","text","placeholder",P,"id","key","name","key","formControlName","key",1,"form-control"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],$,y,z,V,oe,ne]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.qZA(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p")(8,"span"),e.tHW(9,7),e._UZ(10,"kbd")(11,"kbd"),e.N_p(),e.qZA()(),e.TgZ(12,"div",8)(13,"label",9),e.SDv(14,10),e.qZA(),e._UZ(15,"input",11),e.YNc(16,Ki,2,0,"span",12),e.YNc(17,qi,2,0,"span",12),e.qZA(),e.TgZ(18,"div",8)(19,"label",13),e.SDv(20,14),e.qZA(),e._UZ(21,"input",15),e.YNc(22,Xi,2,0,"span",12),e.YNc(23,Qi,2,0,"span",12),e.qZA(),e.TgZ(24,"div",8)(25,"label",16)(26,"span"),e.SDv(27,17),e.qZA()(),e._UZ(28,"input",18),e.YNc(29,zi,2,0,"span",12),e.qZA(),e.TgZ(30,"div",8)(31,"label",19)(32,"span"),e.SDv(33,20),e.qZA()(),e._UZ(34,"input",21),e.YNc(35,Ji,2,0,"span",12),e.qZA()(),e.TgZ(36,"div",22)(37,"cd-form-button-panel",23),e.NdJ("submitActionEvent",function(){return o.update()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(2),e.pQV(o.mode),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.editPeerForm),e.xp6(7),e.pQV(o.mode)(o.poolName),e.QtT(9),e.xp6(5),e.Q6J("ngIf",o.editPeerForm.showError("clusterName",i,"required")),e.xp6(1),e.Q6J("ngIf",o.editPeerForm.showError("clusterName",i,"invalidClusterName")),e.xp6(5),e.Q6J("ngIf",o.editPeerForm.showError("clientID",i,"required")),e.xp6(1),e.Q6J("ngIf",o.editPeerForm.showError("clientID",i,"invalidClientID")),e.xp6(6),e.Q6J("ngIf",o.editPeerForm.showError("monAddr",i,"invalidMonAddr")),e.xp6(6),e.Q6J("ngIf",o.editPeerForm.showError("key",i,"invalidKey")),e.xp6(2),e.Q6J("form",o.editPeerForm)("submitText",o.actionLabels.SUBMIT)}},dependencies:[l.O5,f.z,A.p,Pe.U,M.o,B.b,q.P,Y.V,r._Y,r.Fj,r.JJ,r.JL,r.sg,r.u]}),n})();const Vi=["healthTmpl"],Ui=["localTmpl"],ji=["remoteTmpl"];function Wi(n,s){if(1&n&&(e.TgZ(0,"span",6),e.ALo(1,"mirrorHealthColor"),e._uU(2),e.qZA()),2&n){const o=s.value;e.Q6J("ngClass",e.lcZ(1,2,s.row.health_color)),e.xp6(2),e.Oqu(o)}}function es(n,s){1&n&&(e.TgZ(0,"span",7),e.SDv(1,8),e.qZA())}function ts(n,s){1&n&&(e.TgZ(0,"span",9),e.SDv(1,10),e.qZA())}let ns=(()=>{class n{constructor(t,o,i,_,a){this.authStorageService=t,this.rbdMirroringService=o,this.modalService=i,this.taskWrapper=_,this.router=a,this.selection=new he.r,this.tableStatus=new re.E,this.data=[],this.permission=this.authStorageService.getPermissions().rbdMirroring;const c={permission:"update",icon:T.P.edit,click:()=>this.editModeModal(),name:"Edit Mode",canBePrimary:()=>!0},d={permission:"create",icon:T.P.add,name:"Add Peer",click:()=>this.editPeersModal("add"),disable:()=>!this.selection.first()||"disabled"===this.selection.first().mirror_mode,visible:()=>!this.getPeerUUID(),canBePrimary:()=>!1},g={permission:"update",icon:T.P.exchange,name:"Edit Peer",click:()=>this.editPeersModal("edit"),visible:()=>!!this.getPeerUUID()},S={permission:"delete",icon:T.P.destroy,name:"Delete Peer",click:()=>this.deletePeersModal(),visible:()=>!!this.getPeerUUID()};this.tableActions=[c,d,g,S]}ngOnInit(){this.columns=[{prop:"name",name:"Name",flexGrow:2},{prop:"mirror_mode",name:"Mode",flexGrow:2},{prop:"leader_id",name:"Leader",flexGrow:2},{prop:"image_local_count",name:"# Local",headerTemplate:this.localTmpl,flexGrow:2},{prop:"image_remote_count",name:"# Remote",headerTemplate:this.remoteTmpl,flexGrow:2},{prop:"health",name:"Health",cellTemplate:this.healthTmpl,flexGrow:1}],this.subs=this.rbdMirroringService.subscribeSummary(t=>{this.data=t.content_data.pools,this.tableStatus=new re.E(t.status)})}ngOnDestroy(){this.subs.unsubscribe()}refresh(){this.rbdMirroringService.refresh()}editModeModal(){this.router.navigate(["/block/mirroring",{outlets:{modal:[N.MQ.EDIT,this.selection.first().name]}}])}editPeersModal(t){const o={poolName:this.selection.first().name,mode:t};"edit"===t&&(o.peerUUID=this.getPeerUUID()),this.modalRef=this.modalService.show(Yi,o)}deletePeersModal(){const t=this.selection.first().name,o=this.getPeerUUID();this.modalRef=this.modalService.show(ge.M,{itemDescription:"mirror peer",itemNames:[`${t} (${o})`],submitActionObservable:()=>new Ot.y(i=>{this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/mirroring/peer/delete",{pool_name:t}),call:this.rbdMirroringService.deletePeer(t,o)}).subscribe({error:_=>i.error(_),complete:()=>{this.rbdMirroringService.refresh(),i.complete()}})})})}getPeerUUID(){const t=this.selection.first(),o=this.data.find(i=>t&&t.name===i.name);if(o&&o.peer_uuids)return o.peer_uuids[0]}updateSelection(t){this.selection=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(_e.j),e.Y36(X),e.Y36(me.Z),e.Y36(u.P),e.Y36(m.F0))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-mirroring-pools"]],viewQuery:function(t,o){if(1&t&&(e.Gf(Vi,7),e.Gf(Ui,7),e.Gf(ji,7)),2&t){let i;e.iGM(i=e.CRH())&&(o.healthTmpl=i.first),e.iGM(i=e.CRH())&&(o.localTmpl=i.first),e.iGM(i=e.CRH())&&(o.remoteTmpl=i.first)}},decls:9,vars:7,consts:function(){let s,t,o,i;return s="Local image count",t="# Local",o="Remote image count",i="# Remote",[["columnMode","flex","identifier","name","forceIdentifier","true","selectionType","single",3,"data","columns","autoReload","status","fetchData","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["healthTmpl",""],["localTmpl",""],["remoteTmpl",""],["name","modal"],[3,"ngClass"],["ngbTooltip",s],t,["ngbTooltip",o],i]},template:function(t,o){1&t&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(){return o.refresh()})("updateSelection",function(_){return o.updateSelection(_)}),e._UZ(1,"cd-table-actions",1),e.qZA(),e.YNc(2,Wi,3,4,"ng-template",null,2,e.W1O),e.YNc(4,es,2,0,"ng-template",null,3,e.W1O),e.YNc(6,ts,2,0,"ng-template",null,4,e.W1O),e._UZ(8,"router-outlet",5)),2&t&&(e.Q6J("data",o.data)("columns",o.columns)("autoReload",-1)("status",o.tableStatus),e.xp6(1),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions))},dependencies:[l.mk,te.a,Ae.K,m.lC,b._L,_t]}),n})();function is(n,s){if(1&n&&e._UZ(0,"i",19),2&n){const t=e.oxw();e.Q6J("ngClass",t.icons.edit)}}function ss(n,s){if(1&n&&e._UZ(0,"i",19),2&n){const t=e.oxw();e.Q6J("ngClass",t.icons.check)}}let _s=(()=>{class n{constructor(t,o,i,_){this.authStorageService=t,this.rbdMirroringService=o,this.modalService=i,this.taskWrapper=_,this.selection=new he.r,this.peersExist=!0,this.subs=new _i.w,this.editing=!1,this.icons=T.P,this.permission=this.authStorageService.getPermissions().rbdMirroring;const a={permission:"update",icon:T.P.upload,click:()=>this.createBootstrapModal(),name:"Create Bootstrap Token",canBePrimary:()=>!0,disable:()=>!1},c={permission:"update",icon:T.P.download,click:()=>this.importBootstrapModal(),name:"Import Bootstrap Token",disable:()=>!1};this.tableActions=[a,c]}ngOnInit(){this.createForm(),this.subs.add(this.rbdMirroringService.startPolling()),this.subs.add(this.rbdMirroringService.subscribeSummary(t=>{this.status=t.content_data.status,this.peersExist=!!t.content_data.pools.find(o=>o.peer_uuids.length>0)})),this.rbdMirroringService.getSiteName().subscribe(t=>{this.siteName=t.site_name,this.rbdmirroringForm.get("siteName").setValue(this.siteName)})}createForm(){this.rbdmirroringForm=new Z.d({siteName:new r.p4({value:"",disabled:!0})})}ngOnDestroy(){this.subs.unsubscribe()}updateSiteName(){this.editing&&this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/mirroring/site_name/edit",{}),call:this.rbdMirroringService.setSiteName(this.rbdmirroringForm.getValue("siteName"))}).subscribe({complete:()=>{this.rbdMirroringService.refresh()}}),this.editing=!this.editing}createBootstrapModal(){this.modalRef=this.modalService.show(gi,{siteName:this.siteName})}importBootstrapModal(){this.modalRef=this.modalService.show(Mi,{siteName:this.siteName})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(_e.j),e.Y36(X),e.Y36(me.Z),e.Y36(u.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-mirroring"]],decls:31,vars:10,consts:function(){let s,t,o,i;return s="Site Name",t="Daemons",o="Pools",i="Images",[["name","rbdmirroringForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"row","mb-3"],[1,"col-md-auto"],["for","siteName",1,"col-form-label"],s,[1,"col-sm-4","d-flex"],["type","text","id","siteName","name","siteName","formControlName","siteName",1,"form-control"],["id","editSiteName",1,"btn","btn-light",3,"click"],[3,"ngClass",4,"ngIf"],[3,"source","byId"],[1,"col"],[1,"table-actions","float-end",3,"permission","selection","tableActions"],[1,"row"],[1,"col-sm-6"],t,o,[1,"col-md-12"],i,[3,"ngClass"]]},template:function(t,o){1&t&&(e.TgZ(0,"form",0,1)(2,"div",2)(3,"div",3)(4,"label",4),e.SDv(5,5),e.qZA()(),e.TgZ(6,"div",6),e._UZ(7,"input",7),e.TgZ(8,"button",8),e.NdJ("click",function(){return o.updateSiteName()}),e.YNc(9,is,1,1,"i",9),e.YNc(10,ss,1,1,"i",9),e.qZA(),e._UZ(11,"cd-copy-2-clipboard-button",10),e.qZA(),e.TgZ(12,"div",11),e._UZ(13,"cd-table-actions",12),e.qZA()()(),e.TgZ(14,"div",13)(15,"div",14)(16,"legend"),e.SDv(17,15),e.qZA(),e.TgZ(18,"div"),e._UZ(19,"cd-mirroring-daemons"),e.qZA()(),e.TgZ(20,"div",14)(21,"legend"),e.SDv(22,16),e.qZA(),e.TgZ(23,"div"),e._UZ(24,"cd-mirroring-pools"),e.qZA()()(),e.TgZ(25,"div",13)(26,"div",17)(27,"legend"),e.SDv(28,18),e.qZA(),e.TgZ(29,"div"),e._UZ(30,"cd-mirroring-images"),e.qZA()()()),2&t&&(e.Q6J("formGroup",o.rbdmirroringForm),e.xp6(7),e.uIk("disabled",!o.editing||null),e.xp6(1),e.uIk("title",o.editing?"Save":"Edit"),e.xp6(1),e.Q6J("ngIf",!o.editing),e.xp6(1),e.Q6J("ngIf",o.editing),e.xp6(1),e.Q6J("source",o.siteName)("byId",!1),e.xp6(2),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions))},dependencies:[l.mk,l.O5,ze.s,Ae.K,M.o,B.b,Y.V,r._Y,r.Fj,r.JJ,r.JL,r.sg,r.u,Pi,Hi,ns]}),n})();class as{}function rs(n,s){if(1&n&&(e.TgZ(0,"option",16),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.name)}}function ls(n,s){1&n&&(e.TgZ(0,"span",17),e.SDv(1,18),e.qZA())}let cs=(()=>{class n{constructor(t,o,i,_,a,c){this.activeModal=t,this.actionLabels=o,this.rbdMirroringService=i,this.taskWrapper=_,this.route=a,this.location=c,this.bsConfig={containerClass:"theme-default"},this.peerExists=!1,this.mirrorModes=[{id:"disabled",name:"Disabled"},{id:"pool",name:"Pool"},{id:"image",name:"Image"}],this.createForm()}createForm(){this.editModeForm=new Z.d({mirrorMode:new r.p4("",{validators:[r.kI.required,this.validateMode.bind(this)]})})}ngOnInit(){this.route.params.subscribe(t=>{this.poolName=t.pool_name}),this.pattern=`${this.poolName}`,this.rbdMirroringService.getPool(this.poolName).subscribe(t=>{this.setResponse(t)}),this.subs=this.rbdMirroringService.subscribeSummary(t=>{this.peerExists=!1;const i=t.content_data.pools.find(_=>this.poolName===_.name);this.peerExists=i&&i.peer_uuids.length})}ngOnDestroy(){this.subs.unsubscribe()}validateMode(t){return"disabled"===t.value&&this.peerExists?{cannotDisable:{value:t.value}}:null}setResponse(t){this.editModeForm.get("mirrorMode").setValue(t.mirror_mode)}update(){const t=new as;t.mirror_mode=this.editModeForm.getValue("mirrorMode"),this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/mirroring/pool/edit",{pool_name:this.poolName}),call:this.rbdMirroringService.updatePool(this.poolName,t)}).subscribe({error:()=>this.editModeForm.setErrors({cdSubmitButton:!0}),complete:()=>{this.rbdMirroringService.refresh(),this.location.back()}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(b.Kz),e.Y36(N.p4),e.Y36(X),e.Y36(u.P),e.Y36(m.gz),e.Y36(l.Ye))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-pool-edit-mode-modal"]],decls:21,vars:7,consts:function(){let s,t,o,i;return s="Edit pool mirror mode",t="To edit the mirror mode for pool\xA0 " + "[\ufffd#10\ufffd|\ufffd#11\ufffd]" + "" + "\ufffd0\ufffd" + "" + "[\ufffd/#10\ufffd|\ufffd/#11\ufffd]" + ", select a new mode from the list and click\xA0 " + "[\ufffd#10\ufffd|\ufffd#11\ufffd]" + "Update" + "[\ufffd/#10\ufffd|\ufffd/#11\ufffd]" + ".",t=e.Zx4(t),o="Mode",i="Peer clusters must be removed prior to disabling mirror.",[["pageURL","mirroring",3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","editModeForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],t,[1,"form-group"],["for","mirrorMode",1,"col-form-label"],o,["id","mirrorMode","name","mirrorMode","formControlName","mirrorMode",1,"form-select"],[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[3,"value"],[1,"invalid-feedback"],i]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p"),e.ynx(8),e.tHW(9,7),e._UZ(10,"kbd")(11,"kbd"),e.N_p(),e.BQk(),e.qZA(),e.TgZ(12,"div",8)(13,"label",9)(14,"span"),e.SDv(15,10),e.qZA()(),e.TgZ(16,"select",11),e.YNc(17,rs,2,2,"option",12),e.qZA(),e.YNc(18,ls,2,0,"span",13),e.qZA()(),e.TgZ(19,"div",14)(20,"cd-form-button-panel",15),e.NdJ("submitActionEvent",function(){return o.update()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.editModeForm),e.xp6(7),e.pQV(o.poolName),e.QtT(9),e.xp6(6),e.Q6J("ngForOf",o.mirrorModes),e.xp6(1),e.Q6J("ngIf",o.editModeForm.showError("mirrorMode",i,"cannotDisable")),e.xp6(2),e.Q6J("form",o.editModeForm)("submitText",o.actionLabels.UPDATE)}},dependencies:[l.sg,l.O5,f.z,A.p,M.o,q.P,Y.V,r._Y,r.YN,r.Kr,r.EJ,r.JJ,r.JL,r.sg,r.u]}),n})();var ht=p(7357),ds=p(28049),ps=p(43190),Je=p(80842),at=p(30633),Ye=p(47557),us=p(28211);class ms{}var Ne=(()=>{return(n=Ne||(Ne={}))[n.V1=1]="V1",n[n.V2=2]="V2",Ne;var n})();class gs{constructor(){this.features=[]}}class Ts{constructor(){this.features=[]}}class fs{}class Cs extends fs{constructor(){super(...arguments),this.features=[]}}class rt{constructor(){this.features=[],this.remove_scheduling=!1}}var Ve=(()=>{return(n=Ve||(Ve={})).editing="editing",n.cloning="cloning",n.copying="copying",Ve;var n})(),At=p(18372),Ss=p(1372),Es=p(17932),Rs=p(60950);function Ms(n,s){if(1&n&&(e.TgZ(0,"div",9)(1,"label",52),e.SDv(2,53),e.ALo(3,"titlecase"),e.qZA(),e.TgZ(4,"div",12),e._UZ(5,"input",54)(6,"hr"),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(3),e.pQV(e.lcZ(3,1,t.action)),e.QtT(2)}}function Os(n,s){1&n&&(e.TgZ(0,"span",55),e.ynx(1),e.SDv(2,56),e.BQk(),e.qZA())}function hs(n,s){1&n&&(e.TgZ(0,"span",55),e.ynx(1),e.SDv(2,57),e.BQk(),e.qZA())}function As(n,s){1&n&&e._UZ(0,"input",58)}function Ps(n,s){1&n&&(e.TgZ(0,"option",44),e.SDv(1,61),e.qZA()),2&n&&e.Q6J("ngValue",null)}function bs(n,s){1&n&&(e.TgZ(0,"option",44),e.SDv(1,62),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Is(n,s){1&n&&(e.TgZ(0,"option",44),e.SDv(1,63),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Ns(n,s){if(1&n&&(e.TgZ(0,"option",64),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.pool_name),e.xp6(1),e.Oqu(t.pool_name)}}function Fs(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"select",59),e.NdJ("change",function(){e.CHM(t);const i=e.oxw(2);return e.KtG(i.setPoolMirrorMode())}),e.YNc(1,Ps,2,1,"option",60),e.YNc(2,bs,2,1,"option",60),e.YNc(3,Is,2,1,"option",60),e.YNc(4,Ns,2,2,"option",40),e.qZA()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",null===t.pools),e.xp6(1),e.Q6J("ngIf",null!==t.pools&&0===t.pools.length),e.xp6(1),e.Q6J("ngIf",null!==t.pools&&t.pools.length>0),e.xp6(1),e.Q6J("ngForOf",t.pools)}}function Ds(n,s){1&n&&(e.TgZ(0,"span",55),e.SDv(1,65),e.qZA())}const Ls=function(n,s){return[n,s]};function vs(n,s){if(1&n&&(e.TgZ(0,"div",9)(1,"div",20),e._UZ(2,"i",66),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.WLB(1,Ls,t.icons.spinner,t.icons.spin))}}function $s(n,s){1&n&&e._UZ(0,"input",70)}function Bs(n,s){1&n&&(e.TgZ(0,"option",44),e.SDv(1,72),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Gs(n,s){1&n&&(e.TgZ(0,"option",44),e.SDv(1,73),e.qZA()),2&n&&e.Q6J("ngValue",null)}function ys(n,s){1&n&&(e.TgZ(0,"option",44),e.SDv(1,74),e.qZA()),2&n&&e.Q6J("ngValue",null)}function xs(n,s){if(1&n&&(e.TgZ(0,"option",64),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function Zs(n,s){if(1&n&&(e.TgZ(0,"select",71),e.YNc(1,Bs,2,1,"option",60),e.YNc(2,Gs,2,1,"option",60),e.YNc(3,ys,2,1,"option",60),e.YNc(4,xs,2,2,"option",40),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("ngIf",null===t.pools),e.xp6(1),e.Q6J("ngIf",null!==t.pools&&0===t.pools.length),e.xp6(1),e.Q6J("ngIf",null!==t.pools&&t.pools.length>0),e.xp6(1),e.Q6J("ngForOf",t.namespaces)}}function ws(n,s){if(1&n&&(e.TgZ(0,"div",9)(1,"label",67),e._uU(2," Namespace "),e.qZA(),e.TgZ(3,"div",12),e.YNc(4,$s,1,0,"input",68),e.YNc(5,Zs,5,4,"select",69),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(4),e.Q6J("ngIf","editing"===t.mode||!t.poolPermission.read),e.xp6(1),e.Q6J("ngIf","editing"!==t.mode&&t.poolPermission.read)}}function Hs(n,s){1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.SDv(2,75),e.qZA()())}function ks(n,s){1&n&&e._UZ(0,"input",81)}function Ks(n,s){1&n&&(e.TgZ(0,"option",44),e.SDv(1,83),e.qZA()),2&n&&e.Q6J("ngValue",null)}function qs(n,s){1&n&&(e.TgZ(0,"option",44),e.SDv(1,84),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Xs(n,s){1&n&&(e.TgZ(0,"option",44),e._uU(1,"-- Select a data pool -- "),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Qs(n,s){if(1&n&&(e.TgZ(0,"option",64),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.pool_name),e.xp6(1),e.Oqu(t.pool_name)}}function zs(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"select",82),e.NdJ("change",function(i){e.CHM(t);const _=e.oxw(3);return e.KtG(_.onDataPoolChange(i.target.value))}),e.YNc(1,Ks,2,1,"option",60),e.YNc(2,qs,2,1,"option",60),e.YNc(3,Xs,2,1,"option",60),e.YNc(4,Qs,2,2,"option",40),e.qZA()}if(2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("ngIf",null===t.dataPools),e.xp6(1),e.Q6J("ngIf",null!==t.dataPools&&0===t.dataPools.length),e.xp6(1),e.Q6J("ngIf",null!==t.dataPools&&t.dataPools.length>0),e.xp6(1),e.Q6J("ngForOf",t.dataPools)}}function Js(n,s){1&n&&(e.TgZ(0,"span",55),e.SDv(1,85),e.qZA())}const Ue=function(n){return{required:n}};function Ys(n,s){if(1&n&&(e.TgZ(0,"div",9)(1,"label",76)(2,"span",66),e.SDv(3,77),e.qZA(),e._UZ(4,"cd-helper",78),e.qZA(),e.TgZ(5,"div",12),e.YNc(6,ks,1,0,"input",79),e.YNc(7,zs,5,4,"select",80),e.YNc(8,Js,2,0,"span",14),e.qZA()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(4,Ue,"editing"!==o.mode)),e.xp6(4),e.Q6J("ngIf","editing"===o.mode||!o.poolPermission.read),e.xp6(1),e.Q6J("ngIf","editing"!==o.mode&&o.poolPermission.read),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("dataPool",t,"required"))}}function Vs(n,s){1&n&&(e.TgZ(0,"span",55),e.SDv(1,86),e.qZA())}function Us(n,s){1&n&&(e.TgZ(0,"span",55),e.SDv(1,87),e.qZA())}function js(n,s){1&n&&(e.TgZ(0,"span",55),e.SDv(1,88),e.qZA())}function Ws(n,s){if(1&n&&e._UZ(0,"cd-helper",92),2&n){const t=e.oxw().$implicit;e.s9C("html",t.helperHtml)}}function e_(n,s){if(1&n&&(e.TgZ(0,"div",21),e._UZ(1,"input",89),e.TgZ(2,"label",90),e._uU(3),e.qZA(),e.YNc(4,Ws,1,1,"cd-helper",91),e.qZA()),2&n){const t=s.$implicit;e.xp6(1),e.s9C("id",t.key),e.s9C("name",t.key),e.s9C("formControlName",t.key),e.xp6(1),e.s9C("for",t.key),e.xp6(1),e.Oqu(t.desc),e.xp6(1),e.Q6J("ngIf",t.helperHtml)}}const Pt=function(n){return["edit",n]},bt=function(n){return{modal:n}},It=function(n){return{outlets:n}},Nt=function(n){return["/block/mirroring",n]};function t_(n,s){if(1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.tHW(2,93),e._UZ(3,"b")(4,"a",94),e.N_p(),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(4),e.Q6J("routerLink",e.VKq(7,Nt,e.VKq(5,It,e.VKq(3,bt,e.VKq(1,Pt,t.currentPoolName)))))}}function o_(n,s){if(1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.tHW(2,99),e._UZ(3,"b")(4,"a",94),e.N_p(),e.qZA()()),2&n){const t=e.oxw(4);e.xp6(4),e.Q6J("routerLink",e.VKq(7,Nt,e.VKq(5,It,e.VKq(3,bt,e.VKq(1,Pt,t.currentPoolName)))))}}function n_(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",96)(1,"input",97),e.NdJ("change",function(){e.CHM(t);const i=e.oxw(3);return e.KtG(i.setExclusiveLock())}),e.qZA(),e.TgZ(2,"label",98),e._uU(3),e.ALo(4,"titlecase"),e.qZA(),e.YNc(5,o_,5,9,"cd-helper",25),e.qZA()}if(2&n){const t=s.$implicit,o=e.oxw(3);e.xp6(1),e.Q6J("id",t)("value",t),e.uIk("disabled","pool"===o.poolMirrorMode&&"snapshot"===t||null),e.xp6(1),e.Q6J("for",t),e.xp6(1),e.Oqu(e.lcZ(4,6,t)),e.xp6(2),e.Q6J("ngIf","pool"===o.poolMirrorMode&&"snapshot"===t)}}function i_(n,s){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,n_,6,8,"div",95),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.mirroringOptions)}}function s_(n,s){if(1&n&&(e.TgZ(0,"div",9)(1,"label",100),e.tHW(2,101),e._UZ(3,"cd-helper",102),e.N_p(),e.qZA(),e.TgZ(4,"div",12),e._UZ(5,"input",103),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(5),e.uIk("disabled",!1===t.peerConfigured||null)}}function __(n,s){if(1&n&&(e.TgZ(0,"option",64),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function a_(n,s){if(1&n&&(e.TgZ(0,"option",64),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function r_(n,s){1&n&&(e.TgZ(0,"span",55),e.SDv(1,104),e.qZA())}function l_(n,s){1&n&&(e.TgZ(0,"span",55),e.SDv(1,105),e.qZA())}function c_(n,s){1&n&&(e.TgZ(0,"span",55),e.SDv(1,106),e.qZA())}function d_(n,s){1&n&&(e.TgZ(0,"span",55),e.SDv(1,107),e.qZA())}function p_(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",7),e.YNc(9,Ms,7,3,"div",8),e.TgZ(10,"div",9)(11,"label",10),e.SDv(12,11),e.qZA(),e.TgZ(13,"div",12),e._UZ(14,"input",13),e.YNc(15,Os,3,0,"span",14),e.YNc(16,hs,3,0,"span",14),e.qZA()(),e.TgZ(17,"div",15),e.NdJ("change",function(i){e.CHM(t);const _=e.oxw();return e.KtG(_.onPoolChange(i.target.value))}),e.TgZ(18,"label",16),e.SDv(19,17),e.qZA(),e.TgZ(20,"div",12),e.YNc(21,As,1,0,"input",18),e.YNc(22,Fs,5,4,"select",19),e.YNc(23,Ds,2,0,"span",14),e.qZA()(),e.YNc(24,vs,3,4,"div",8),e.YNc(25,ws,6,2,"div",8),e.TgZ(26,"div",9)(27,"div",20)(28,"div",21)(29,"input",22),e.NdJ("change",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.onUseDataPoolChange())}),e.qZA(),e.TgZ(30,"label",23),e.SDv(31,24),e.qZA(),e.YNc(32,Hs,3,0,"cd-helper",25),e.qZA()()(),e.YNc(33,Ys,9,6,"div",8),e.TgZ(34,"div",9)(35,"label",26),e.SDv(36,27),e.qZA(),e.TgZ(37,"div",12),e._UZ(38,"input",28),e.YNc(39,Vs,2,0,"span",14),e.YNc(40,Us,2,0,"span",14),e.YNc(41,js,2,0,"span",14),e.qZA()(),e.TgZ(42,"div",29)(43,"label",30),e.SDv(44,31),e.qZA(),e.TgZ(45,"div",12),e.YNc(46,e_,5,6,"div",32),e.qZA()(),e.TgZ(47,"div",9)(48,"div",20)(49,"div",21)(50,"input",33),e.NdJ("change",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.setMirrorMode())}),e.qZA(),e.TgZ(51,"label",34),e._uU(52,"Mirroring"),e.qZA(),e.YNc(53,t_,5,9,"cd-helper",25),e.qZA(),e.YNc(54,i_,2,1,"div",25),e.qZA()(),e.YNc(55,s_,6,1,"div",8),e.TgZ(56,"cd-form-advanced-fieldset")(57,"h4",35),e.SDv(58,36),e.qZA(),e.TgZ(59,"div",9)(60,"label",37),e.tHW(61,38),e._UZ(62,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(63,"div",12)(64,"select",39),e.YNc(65,__,2,2,"option",40),e.qZA()()(),e.TgZ(66,"div",9)(67,"label",41),e.tHW(68,42),e._UZ(69,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(70,"div",12)(71,"select",43)(72,"option",44),e.SDv(73,45),e.qZA(),e.YNc(74,a_,2,2,"option",40),e.qZA(),e.YNc(75,r_,2,0,"span",14),e.YNc(76,l_,2,0,"span",14),e.qZA()(),e.TgZ(77,"div",9)(78,"label",46),e.tHW(79,47),e._UZ(80,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(81,"div",12),e._UZ(82,"input",48),e.YNc(83,c_,2,0,"span",14),e.YNc(84,d_,2,0,"span",14),e.qZA()(),e.TgZ(85,"cd-rbd-configuration-form",49),e.NdJ("changes",function(i){e.CHM(t);const _=e.oxw();return e.KtG(_.getDirtyConfigurationValues=i)}),e.qZA()()(),e.TgZ(86,"div",50)(87,"cd-form-button-panel",51),e.NdJ("submitActionEvent",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.submit())}),e.ALo(88,"titlecase"),e.ALo(89,"upperFirst"),e.qZA()()()()()}if(2&n){const t=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("formGroup",o.rbdForm),e.xp6(6),e.pQV(e.lcZ(6,34,o.action))(e.lcZ(7,36,o.resource)),e.QtT(5),e.xp6(2),e.Q6J("ngIf",o.rbdForm.getValue("parent")),e.xp6(6),e.Q6J("ngIf",o.rbdForm.showError("name",t,"required")),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("name",t,"pattern")),e.xp6(2),e.Q6J("ngClass",e.VKq(42,Ue,"editing"!==o.mode)),e.xp6(3),e.Q6J("ngIf","editing"===o.mode||!o.poolPermission.read),e.xp6(1),e.Q6J("ngIf","editing"!==o.mode&&o.poolPermission.read),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("pool",t,"required")),e.xp6(1),e.Q6J("ngIf","editing"!==o.mode&&o.rbdForm.getValue("pool")&&null===o.namespaces),e.xp6(1),e.Q6J("ngIf","editing"===o.mode&&o.rbdForm.getValue("namespace")||"editing"!==o.mode&&(o.namespaces&&o.namespaces.length>0||!o.poolPermission.read)),e.xp6(7),e.Q6J("ngIf",o.allDataPools.length<=1),e.xp6(1),e.Q6J("ngIf",o.rbdForm.getValue("useDataPool")),e.xp6(6),e.Q6J("ngIf",o.rbdForm.showError("size",t,"required")),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("size",t,"invalidSizeObject")),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("size",t,"pattern")),e.xp6(5),e.Q6J("ngForOf",o.featuresList),e.xp6(7),e.Q6J("ngIf",!1===o.mirroring&&o.currentPoolName),e.xp6(1),e.Q6J("ngIf",o.mirroring),e.xp6(1),e.Q6J("ngIf","snapshot"===o.rbdForm.getValue("mirroringMode")&&o.mirroring),e.xp6(10),e.Q6J("ngForOf",o.objectSizes),e.xp6(2),e.Q6J("ngClass",e.VKq(44,Ue,o.rbdForm.getValue("stripingCount"))),e.xp6(5),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",o.objectSizes),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("stripingUnit",t,"required")),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("stripingUnit",t,"invalidStripingUnit")),e.xp6(2),e.Q6J("ngClass",e.VKq(46,Ue,o.rbdForm.getValue("stripingUnit"))),e.xp6(5),e.Q6J("ngIf",o.rbdForm.showError("stripingCount",t,"required")),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("stripingCount",t,"min")),e.xp6(1),e.Q6J("form",o.rbdForm)("initializeData",o.initializeConfigData),e.xp6(2),e.Q6J("form",t)("submitText",e.lcZ(88,38,o.action)+" "+e.lcZ(89,40,o.resource))}}let $e=(()=>{class n extends K.E{constructor(t,o,i,_,a,c,d,g,S,I){super(),this.authStorageService=t,this.route=o,this.poolService=i,this.rbdService=_,this.formatter=a,this.taskWrapper=c,this.dimlessBinaryPipe=d,this.actionLabels=g,this.router=S,this.rbdMirroringService=I,this.namespaces=[],this.namespacesByPoolCache={},this.pools=null,this.allPools=null,this.dataPools=null,this.allDataPools=[],this.featuresList=[],this.initializeConfigData=new ht.t(1),this.peerConfigured=!1,this.advancedEnabled=!1,this.rbdFormMode=Ve,this.defaultObjectSize="4 MiB",this.mirroringOptions=["journal","snapshot"],this.mirroring=!1,this.currentPoolName="",this.objectSizes=["4 KiB","8 KiB","16 KiB","32 KiB","64 KiB","128 KiB","256 KiB","512 KiB","1 MiB","2 MiB","4 MiB","8 MiB","16 MiB","32 MiB"],this.defaultStripingUnit="4 MiB",this.defaultStripingCount=1,this.rbdImage=new ht.t(1),this.icons=T.P,this.routerUrl=this.router.url,this.poolPermission=this.authStorageService.getPermissions().pool,this.resource="RBD",this.features={"deep-flatten":{desc:"Deep flatten",requires:null,allowEnable:!1,allowDisable:!0,helperHtml:"Feature can be disabled but can't be re-enabled later"},layering:{desc:"Layering",requires:null,allowEnable:!1,allowDisable:!1,helperHtml:"Feature flag can't be manipulated after the image is created. Disabling this option will also disable the Protect and Clone actions on Snapshot"},"exclusive-lock":{desc:"Exclusive lock",requires:null,allowEnable:!0,allowDisable:!0},"object-map":{desc:"Object map (requires exclusive-lock)",requires:"exclusive-lock",allowEnable:!0,allowDisable:!0,initDisabled:!0},"fast-diff":{desc:"Fast diff (interlocked with object-map)",requires:"object-map",allowEnable:!0,allowDisable:!0,interlockedWith:"object-map",initDisabled:!0}},this.featuresList=this.objToArray(this.features),this.createForm()}objToArray(t){return C().map(t,(o,i)=>Object.assign(o,{key:i}))}createForm(){this.rbdForm=new Z.d({parent:new r.p4(""),name:new r.p4("",{validators:[r.kI.required,r.kI.pattern(/^[^@/]+?$/)]}),pool:new r.p4(null,{validators:[r.kI.required]}),namespace:new r.p4(null),useDataPool:new r.p4(!1),dataPool:new r.p4(null),size:new r.p4(null,{updateOn:"blur"}),obj_size:new r.p4(this.defaultObjectSize),features:new Z.d(this.featuresList.reduce((t,o)=>(t[o.key]=new r.p4({value:!1,disabled:!!o.initDisabled}),t),{})),mirroring:new r.p4(""),schedule:new r.p4("",{validators:[r.kI.pattern(/^([0-9]+)d|([0-9]+)h|([0-9]+)m$/)]}),mirroringMode:new r.p4(""),stripingUnit:new r.p4(this.defaultStripingUnit),stripingCount:new r.p4(this.defaultStripingCount,{updateOn:"blur"})},this.validateRbdForm(this.formatter))}disableForEdit(){this.rbdForm.get("parent").disable(),this.rbdForm.get("pool").disable(),this.rbdForm.get("namespace").disable(),this.rbdForm.get("useDataPool").disable(),this.rbdForm.get("dataPool").disable(),this.rbdForm.get("obj_size").disable(),this.rbdForm.get("stripingUnit").disable(),this.rbdForm.get("stripingCount").disable(),this.rbdImage.subscribe(t=>{t.image_format===Ne.V1?(this.rbdForm.get("deep-flatten").disable(),this.rbdForm.get("layering").disable(),this.rbdForm.get("exclusive-lock").disable()):(this.rbdForm.get("deep-flatten").value||this.rbdForm.get("deep-flatten").disable(),this.rbdForm.get("layering").disable())})}disableForClone(){this.rbdForm.get("parent").disable(),this.rbdForm.get("size").disable()}disableForCopy(){this.rbdForm.get("parent").disable(),this.rbdForm.get("size").disable()}ngOnInit(){this.prepareFormForAction(),this.gatherNeededData().subscribe(this.handleExternalData.bind(this))}setExclusiveLock(){this.mirroring&&"journal"===this.rbdForm.get("mirroringMode").value?(this.rbdForm.get("exclusive-lock").setValue(!0),this.rbdForm.get("exclusive-lock").disable()):(this.rbdForm.get("exclusive-lock").enable(),"pool"===this.poolMirrorMode&&this.rbdForm.get("mirroringMode").setValue(this.mirroringOptions[0]))}setMirrorMode(){this.mirroring=!this.mirroring,this.setExclusiveLock(),this.checkPeersConfigured()}checkPeersConfigured(t){var o=t||this.rbdForm.get("pool").value;this.rbdMirroringService.getPeerForPool(o).subscribe(i=>{i.length>0&&(this.peerConfigured=!0)})}setPoolMirrorMode(){this.currentPoolName=this.mode===this.rbdFormMode.editing?this.response?.pool_name:this.rbdForm.getValue("pool"),this.currentPoolName&&(this.rbdMirroringService.refresh(),this.rbdMirroringService.subscribeSummary(t=>{const o=t.content_data.pools.find(i=>i.name===this.currentPoolName);this.poolMirrorMode=o.mirror_mode,"disabled"===o.mirror_mode&&(this.mirroring=!1,this.rbdForm.get("mirroring").setValue(this.mirroring),this.rbdForm.get("mirroring").disable())})),this.setExclusiveLock()}prepareFormForAction(){const t=this.routerUrl;t.startsWith("/block/rbd/edit")?(this.mode=this.rbdFormMode.editing,this.action=this.actionLabels.EDIT,this.disableForEdit()):t.startsWith("/block/rbd/clone")?(this.mode=this.rbdFormMode.cloning,this.disableForClone(),this.action=this.actionLabels.CLONE):t.startsWith("/block/rbd/copy")?(this.mode=this.rbdFormMode.copying,this.action=this.actionLabels.COPY,this.disableForCopy()):this.action=this.actionLabels.CREATE,C().each(this.features,o=>{this.rbdForm.get("features").get(o.key).valueChanges.subscribe(i=>this.featureFormUpdate(o.key,i))})}gatherNeededData(){const t={};return this.mode?this.route.params.subscribe(o=>{const i=v.N.fromString(decodeURIComponent(o.image_spec));o.snap&&(this.snapName=decodeURIComponent(o.snap)),t.rbd=this.rbdService.get(i),this.checkPeersConfigured(i.poolName)}):t.defaultFeatures=this.rbdService.defaultFeatures(),this.mode!==this.rbdFormMode.editing&&this.poolPermission.read&&(t.pools=this.poolService.list(["pool_name","type","flags_names","application_metadata"])),(0,de.D)(t)}handleExternalData(t){if(this.handlePoolData(t.pools),this.setPoolMirrorMode(),t.defaultFeatures&&this.setFeatures(t.defaultFeatures),t.rbd){const o=t.rbd;this.setResponse(o,this.snapName),this.rbdImage.next(o)}this.loadingReady()}handlePoolData(t){if(!t)return;const o=[],i=[];for(const _ of t)this.rbdService.isRBDPool(_)&&("replicated"===_.type?(o.push(_),i.push(_)):"erasure"===_.type&&-1!==_.flags_names.indexOf("ec_overwrites")&&i.push(_));if(this.pools=o,this.allPools=o,this.dataPools=i,this.allDataPools=i,1===this.pools.length){const _=this.pools[0].pool_name;this.rbdForm.get("pool").setValue(_),this.onPoolChange(_)}this.allDataPools.length<=1&&this.rbdForm.get("useDataPool").disable()}onPoolChange(t){const o=this.rbdForm.get("dataPool");o.value===t&&o.setValue(null),this.dataPools=this.allDataPools?this.allDataPools.filter(i=>i.pool_name!==t):[],this.namespaces=null,t in this.namespacesByPoolCache?this.namespaces=this.namespacesByPoolCache[t]:this.rbdService.listNamespaces(t).subscribe(i=>{i=i.map(_=>_.namespace),this.namespacesByPoolCache[t]=i,this.namespaces=i}),this.rbdForm.get("namespace").setValue(null)}onUseDataPoolChange(){this.rbdForm.getValue("useDataPool")||(this.rbdForm.get("dataPool").setValue(null),this.onDataPoolChange(null))}onDataPoolChange(t){const o=this.allPools.filter(i=>i.pool_name!==t);this.rbdForm.getValue("pool")===t&&this.rbdForm.get("pool").setValue(null),this.pools=o}validateRbdForm(t){return o=>{const i=o.get("useDataPool"),_=o.get("dataPool");let a=null;i.value&&null==_.value&&(a={required:!0}),_.setErrors(a);const c=o.get("size"),d=o.get("obj_size"),g=t.toBytes(null!=d.value?d.value:this.defaultObjectSize),S=o.get("stripingCount"),I=null!=S.value?S.value:this.defaultStripingCount;let P=null;null===c.value?P={required:!0}:I*g>t.toBytes(c.value)&&(P={invalidSizeObject:!0}),c.setErrors(P);const $=o.get("stripingUnit");let y=null;null===$.value&&null!==S.value?y={required:!0}:null!==$.value&&t.toBytes($.value)>g&&(y={invalidStripingUnit:!0}),$.setErrors(y);let z=null;return null===S.value&&null!==$.value?z={required:!0}:I<1&&(z={min:!0}),S.setErrors(z),null}}deepBoxCheck(t,o){this.getDependentChildFeatures(t).forEach(_=>{const a=this.rbdForm.get(_.key);o?a.enable({emitEvent:!1}):(a.disable({emitEvent:!1}),a.setValue(!1,{emitEvent:!1}),this.deepBoxCheck(_.key,o));const c=this.rbdForm.get("features");this.mode===this.rbdFormMode.editing&&c.get(_.key).enabled&&(-1!==this.response.features_name.indexOf(_.key)&&!_.allowDisable||-1===this.response.features_name.indexOf(_.key)&&!_.allowEnable)&&c.get(_.key).disable()})}getDependentChildFeatures(t){return C().filter(this.features,o=>o.requires===t)||[]}interlockCheck(t,o){const i=this.featuresList.find(_=>_.key===t);if(this.response){const _=null!=i.interlockedWith,a=this.featuresList.find(d=>d.interlockedWith===i.key),c=!!this.response.features_name.find(d=>d===i.key);if(_){if(c!==!!this.response.features_name.find(g=>g===i.interlockedWith))return}else if(a&&!!this.response.features_name.find(g=>g===a.key)!==c)return}o?C().filter(this.features,_=>_.interlockedWith===t).forEach(_=>this.rbdForm.get(_.key).setValue(!0,{emitEvent:!1})):i.interlockedWith&&this.rbdForm.get("features").get(i.interlockedWith).setValue(!1)}featureFormUpdate(t,o){if(o){const i=this.features[t].requires;if(i&&!this.rbdForm.getValue(i))return void this.rbdForm.get(`features.${t}`).setValue(!1)}this.deepBoxCheck(t,o),this.interlockCheck(t,o)}setFeatures(t){const o=this.rbdForm.get("features");C().forIn(this.features,i=>{-1!==t.indexOf(i.key)&&o.get(i.key).setValue(!0),this.featureFormUpdate(i.key,o.get(i.key).value)})}setResponse(t,o){this.response=t;const i=new v.N(t.pool_name,t.namespace,t.name).toString();if(this.mode===this.rbdFormMode.cloning)this.rbdForm.get("parent").setValue(`${i}@${o}`);else if(this.mode===this.rbdFormMode.copying)o?this.rbdForm.get("parent").setValue(`${i}@${o}`):this.rbdForm.get("parent").setValue(`${i}`);else if(t.parent){const _=t.parent;this.rbdForm.get("parent").setValue(`${_.pool_name}/${_.image_name}@${_.snap_name}`)}this.mode===this.rbdFormMode.editing&&(this.rbdForm.get("name").setValue(t.name),"snapshot"===t?.mirror_mode||t.features_name.includes("journaling")?(this.mirroring=!0,this.rbdForm.get("mirroring").setValue(this.mirroring),this.rbdForm.get("mirroringMode").setValue(t?.mirror_mode),this.rbdForm.get("schedule").setValue(t?.schedule_interval)):(this.mirroring=!1,this.rbdForm.get("mirroring").setValue(this.mirroring)),this.setPoolMirrorMode()),this.rbdForm.get("pool").setValue(t.pool_name),this.onPoolChange(t.pool_name),this.rbdForm.get("namespace").setValue(t.namespace),t.data_pool&&(this.rbdForm.get("useDataPool").setValue(!0),this.rbdForm.get("dataPool").setValue(t.data_pool)),this.rbdForm.get("size").setValue(this.dimlessBinaryPipe.transform(t.size)),this.rbdForm.get("obj_size").setValue(this.dimlessBinaryPipe.transform(t.obj_size)),this.setFeatures(t.features_name),this.rbdForm.get("stripingUnit").setValue(this.dimlessBinaryPipe.transform(t.stripe_unit)),this.rbdForm.get("stripingCount").setValue(t.stripe_count),this.initializeConfigData.next({initialData:this.response.configuration,sourceType:at.h.image})}createRequest(){const t=new Cs;return t.pool_name=this.rbdForm.getValue("pool"),t.namespace=this.rbdForm.getValue("namespace"),t.name=this.rbdForm.getValue("name"),t.schedule_interval=this.rbdForm.getValue("schedule"),t.size=this.formatter.toBytes(this.rbdForm.getValue("size")),"image"===this.poolMirrorMode&&(t.mirror_mode=this.rbdForm.getValue("mirroringMode")),this.addObjectSizeAndStripingToRequest(t),t.configuration=this.getDirtyConfigurationValues(),t}addObjectSizeAndStripingToRequest(t){t.obj_size=this.formatter.toBytes(this.rbdForm.getValue("obj_size")),C().forIn(this.features,o=>{this.rbdForm.getValue(o.key)&&t.features.push(o.key)}),this.mirroring&&"journal"===this.rbdForm.getValue("mirroringMode")&&t.features.push("journaling"),t.stripe_unit=this.formatter.toBytes(this.rbdForm.getValue("stripingUnit")),t.stripe_count=this.rbdForm.getValue("stripingCount"),t.data_pool=this.rbdForm.getValue("dataPool")}createAction(){const t=this.createRequest();return this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/create",{pool_name:t.pool_name,namespace:t.namespace,image_name:t.name,schedule_interval:t.schedule_interval,start_time:t.start_time}),call:this.rbdService.create(t)})}editRequest(){const t=new rt;if(t.name=this.rbdForm.getValue("name"),t.schedule_interval=this.rbdForm.getValue("schedule"),t.name=this.rbdForm.getValue("name"),t.size=this.formatter.toBytes(this.rbdForm.getValue("size")),C().forIn(this.features,o=>{this.rbdForm.getValue(o.key)&&t.features.push(o.key)}),t.enable_mirror=this.rbdForm.getValue("mirroring"),t.enable_mirror)"journal"===this.rbdForm.getValue("mirroringMode")&&t.features.push("journaling"),"image"===this.poolMirrorMode&&(t.mirror_mode=this.rbdForm.getValue("mirroringMode"));else{const o=t.features.indexOf("journaling",0);o>-1&&t.features.splice(o,1)}return t.configuration=this.getDirtyConfigurationValues(),t}cloneRequest(){const t=new gs;return t.child_pool_name=this.rbdForm.getValue("pool"),t.child_namespace=this.rbdForm.getValue("namespace"),t.child_image_name=this.rbdForm.getValue("name"),this.addObjectSizeAndStripingToRequest(t),t.configuration=this.getDirtyConfigurationValues(!0,at.h.image),t}editAction(){const t=new v.N(this.response.pool_name,this.response.namespace,this.response.name);return this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/edit",{image_spec:t.toString()}),call:this.rbdService.update(t,this.editRequest())})}cloneAction(){const t=this.cloneRequest(),o=new v.N(this.response.pool_name,this.response.namespace,this.response.name);return this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/clone",{parent_image_spec:o.toString(),parent_snap_name:this.snapName,child_pool_name:t.child_pool_name,child_namespace:t.child_namespace,child_image_name:t.child_image_name}),call:this.rbdService.cloneSnapshot(o,this.snapName,t)})}copyRequest(){const t=new Ts;return this.snapName&&(t.snapshot_name=this.snapName),t.dest_pool_name=this.rbdForm.getValue("pool"),t.dest_namespace=this.rbdForm.getValue("namespace"),t.dest_image_name=this.rbdForm.getValue("name"),this.addObjectSizeAndStripingToRequest(t),t.configuration=this.getDirtyConfigurationValues(!0,at.h.image),t}copyAction(){const t=this.copyRequest(),o=new v.N(this.response.pool_name,this.response.namespace,this.response.name);return this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/copy",{src_image_spec:o.toString(),dest_pool_name:t.dest_pool_name,dest_namespace:t.dest_namespace,dest_image_name:t.dest_image_name}),call:this.rbdService.copy(o,t)})}submit(){this.mode||this.rbdImage.next("create"),this.rbdImage.pipe((0,ds.P)(),(0,ps.w)(()=>this.mode===this.rbdFormMode.editing?this.editAction():this.mode===this.rbdFormMode.cloning?this.cloneAction():this.mode===this.rbdFormMode.copying?this.copyAction():this.createAction())).subscribe(()=>{},()=>this.rbdForm.setErrors({cdSubmitButton:!0}),()=>this.router.navigate(["/block/rbd"]))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(_e.j),e.Y36(m.gz),e.Y36(Je.q),e.Y36(H),e.Y36(us.H),e.Y36(u.P),e.Y36(Ye.$),e.Y36(N.p4),e.Y36(m.F0),e.Y36(X))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-form"]],features:[e.qOj],decls:1,vars:1,consts:function(){let s,t,o,i,_,a,c,d,g,S,I,P,$,y,z,V,oe,ne,w,le,ce,O,Te,fe,Ce,Se,Ee,Re,Me,G,Ge,ye,xe,Ze,we,He,ke,Ke,qe,Xe;return s="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Name",o="Pool",i="Use a dedicated data pool",_="Size",a="e.g., 10GiB",c="Features",d="Striping",g="Object size" + "\ufffd#62\ufffd" + "Objects in the Ceph Storage Cluster have a maximum configurable size (e.g., 2MB, 4MB, etc.). The object size should be large enough to accommodate many stripe units, and should be a multiple of the stripe unit." + "\ufffd/#62\ufffd" + "",S="Stripe unit" + "\ufffd#69\ufffd" + "Stripes have a configurable unit size (e.g., 64kb). The Ceph Client divides the data it will write to objects into equally sized stripe units, except for the last stripe unit. A stripe width, should be a fraction of the Object Size so that an object may contain many stripe units." + "\ufffd/#69\ufffd" + "",I="-- Select stripe unit --",P="Stripe count" + "\ufffd#80\ufffd" + "The Ceph Client writes a sequence of stripe units over a series of objects determined by the stripe count. The series of objects is called an object set. After the Ceph Client writes to the last object in the object set, it returns to the first object in the object set." + "\ufffd/#80\ufffd" + "",$="" + "\ufffd0\ufffd" + " from",y="This field is required.",z="'/' and '@' are not allowed.",V="Loading...",oe="-- No rbd pools available --",ne="-- Select a pool --",w="This field is required.",le="Loading...",ce="-- No namespaces available --",O="-- Select a namespace --",Te="You need more than one pool with the rbd application label use to use a dedicated data pool.",fe="Data pool",Ce="Dedicated pool that stores the object-data of the RBD.",Se="Loading...",Ee="-- No data pools available --",Re="This field is required.",Me="This field is required.",G="You have to increase the size.",Ge="Size must be a number or in a valid format. eg: 5 GiB",ye="You need to enable a " + "\ufffd#3\ufffd" + "mirror mode" + "\ufffd/#3\ufffd" + " in the selected pool. Please " + "\ufffd#4\ufffd" + "click here to select a mode and enable it in this pool." + "\ufffd/#4\ufffd" + "",xe="You need to enable " + "\ufffd#3\ufffd" + "image mirror mode" + "\ufffd/#3\ufffd" + " in the selected pool. Please " + "\ufffd#4\ufffd" + "click here to select a mode and enable it in this pool." + "\ufffd/#4\ufffd" + "",Ze="Create Mirror-Snapshots automatically on a periodic basis. The interval can be specified in days, hours, or minutes using d, h, m suffix respectively. To create mirror snapshots, you must import or create and have available peers to mirror",we="Schedule Interval " + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + "",He="e.g., 12h or 1d or 10m",ke="This field is required because stripe count is defined!",Ke="Stripe unit is greater than object size.",qe="This field is required because stripe unit is defined!",Xe="Stripe count must be greater than 0.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","rbdForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],s,[1,"card-body"],["class","form-group row",4,"ngIf"],[1,"form-group","row"],["for","name",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],["type","text","placeholder","Name...","id","name","name","name","formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"form-group","row",3,"change"],["for","pool",1,"cd-col-form-label",3,"ngClass"],o,["class","form-control","type","text","placeholder","Pool name...","id","pool","name","pool","formControlName","pool",4,"ngIf"],["id","pool","name","pool","class","form-select","formControlName","pool",3,"change",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","useDataPool","name","useDataPool","formControlName","useDataPool",1,"custom-control-input",3,"change"],["for","useDataPool",1,"custom-control-label"],i,[4,"ngIf"],["for","size",1,"cd-col-form-label","required"],_,["id","size","name","size","type","text","formControlName","size","placeholder",a,"defaultUnit","GiB","cdDimlessBinary","",1,"form-control"],["formGroupName","features",1,"form-group","row"],["for","features",1,"cd-col-form-label"],c,["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],["type","checkbox","id","mirroring","name","mirroring","formControlName","mirroring",1,"custom-control-input",3,"change"],["for","mirroring",1,"custom-control-label"],[1,"cd-header"],d,["for","size",1,"cd-col-form-label"],g,["id","obj_size","name","obj_size","formControlName","obj_size",1,"form-select"],[3,"value",4,"ngFor","ngForOf"],["for","stripingUnit",1,"cd-col-form-label",3,"ngClass"],S,["id","stripingUnit","name","stripingUnit","formControlName","stripingUnit",1,"form-select"],[3,"ngValue"],I,["for","stripingCount",1,"cd-col-form-label",3,"ngClass"],P,["id","stripingCount","name","stripingCount","formControlName","stripingCount","type","number",1,"form-control"],[3,"form","initializeData","changes"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],["for","name",1,"cd-col-form-label"],$,["type","text","id","parent","name","parent","formControlName","parent",1,"form-control"],[1,"invalid-feedback"],y,z,["type","text","placeholder","Pool name...","id","pool","name","pool","formControlName","pool",1,"form-control"],["id","pool","name","pool","formControlName","pool",1,"form-select",3,"change"],[3,"ngValue",4,"ngIf"],V,oe,ne,[3,"value"],w,[3,"ngClass"],["for","pool",1,"cd-col-form-label"],["class","form-control","type","text","placeholder","Namespace...","id","namespace","name","namespace","formControlName","namespace",4,"ngIf"],["id","namespace","name","namespace","class","form-select","formControlName","namespace",4,"ngIf"],["type","text","placeholder","Namespace...","id","namespace","name","namespace","formControlName","namespace",1,"form-control"],["id","namespace","name","namespace","formControlName","namespace",1,"form-select"],le,ce,O,Te,["for","dataPool",1,"cd-col-form-label"],fe,["html",Ce],["class","form-control","type","text","placeholder","Data pool name...","id","dataPool","name","dataPool","formControlName","dataPool",4,"ngIf"],["id","dataPool","name","dataPool","class","form-select","formControlName","dataPool",3,"change",4,"ngIf"],["type","text","placeholder","Data pool name...","id","dataPool","name","dataPool","formControlName","dataPool",1,"form-control"],["id","dataPool","name","dataPool","formControlName","dataPool",1,"form-select",3,"change"],Se,Ee,Re,Me,G,Ge,["type","checkbox",1,"custom-control-input",3,"id","name","formControlName"],[1,"custom-control-label",3,"for"],[3,"html",4,"ngIf"],[3,"html"],ye,[3,"routerLink"],["class","custom-control custom-radio ms-2",4,"ngFor","ngForOf"],[1,"custom-control","custom-radio","ms-2"],["type","radio","name","mirroringMode","formControlName","mirroringMode",1,"form-check-input",3,"id","value","change"],[1,"form-check-label",3,"for"],xe,[1,"cd-col-form-label"],we,["html",Ze],["id","schedule","name","schedule","type","text","formControlName","schedule","placeholder",He,1,"form-control"],ke,Ke,qe,Xe]},template:function(t,o){1&t&&e.YNc(0,p_,90,48,"div",0),2&t&&e.Q6J("cdFormLoading",o.loading)},dependencies:[l.mk,l.sg,l.O5,r._Y,r.YN,r.Kr,r.Fj,r.wV,r.Wl,r.EJ,r._,r.JJ,r.JL,r.sg,r.u,r.x0,At.S,A.p,Ss.B,Pe.U,Es.Q,gt.y,M.o,B.b,q.P,Y.V,m.rH,Rs.d,l.rS,tt.m]}),n})();var Ft=p(71225),lt=p(36169),u_=p(72427),ct=p(51847),m_=p(16738),be=p.n(m_),dt=p(62862),g_=p(52266);function T_(n,s){1&n&&(e.TgZ(0,"div",18)(1,"span"),e.SDv(2,19),e.qZA()())}function f_(n,s){1&n&&(e.TgZ(0,"span",20),e.SDv(1,21),e.qZA())}function C_(n,s){1&n&&(e.TgZ(0,"span",20),e.SDv(1,22),e.qZA())}function S_(n,s){if(1&n&&e._UZ(0,"cd-date-time-picker",23),2&n){const t=e.oxw();e.Q6J("control",t.moveForm.get("expiresAt"))}}let E_=(()=>{class n{constructor(t,o,i,_,a){this.rbdService=t,this.activeModal=o,this.actionLabels=i,this.fb=_,this.taskWrapper=a,this.createForm()}createForm(){this.moveForm=this.fb.group({expiresAt:["",[J.h.custom("format",t=>!(""===t||be()(t,"YYYY-MM-DD HH:mm:ss").isValid())),J.h.custom("expired",t=>be()().isAfter(t))]]})}ngOnInit(){this.imageSpec=new v.N(this.poolName,this.namespace,this.imageName),this.imageSpecStr=this.imageSpec.toString(),this.pattern=`${this.poolName}/${this.imageName}`}moveImage(){let t=0;const o=this.moveForm.getValue("expiresAt");o&&(t=be()(o,"YYYY-MM-DD HH:mm:ss").diff(be()(),"seconds",!0)),t<0&&(t=0),this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/trash/move",{image_spec:this.imageSpecStr}),call:this.rbdService.moveTrash(this.imageSpec,t)}).subscribe({complete:()=>{this.activeModal.close()}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(H),e.Y36(b.Kz),e.Y36(N.p4),e.Y36(dt.O),e.Y36(u.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-trash-move-modal"]],decls:23,vars:9,consts:function(){let s,t,o,i,_,a,c;return s="Move an image to trash",t="To move " + "[\ufffd#10\ufffd|\ufffd#11\ufffd]" + "" + "\ufffd0\ufffd" + "" + "[\ufffd/#10\ufffd|\ufffd/#11\ufffd]" + " to trash, click " + "[\ufffd#10\ufffd|\ufffd#11\ufffd]" + "Move" + "[\ufffd/#10\ufffd|\ufffd/#11\ufffd]" + ". Optionally, you can pick an expiration date.",t=e.Zx4(t),o="Protection expires at",i="NOT PROTECTED",_="This image contains snapshot(s), which will prevent it from being removed after moved to trash.",a="Wrong date format. Please use \"YYYY-MM-DD HH:mm:ss\".",c="Protection has already expired. Please pick a future date or leave it empty.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","moveForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],["class","alert alert-warning","role","alert",4,"ngIf"],t,[1,"form-group"],["for","expiresAt",1,"col-form-label"],o,["type","text","placeholder",i,"formControlName","expiresAt","triggers","manual",1,"form-control",3,"ngbPopover","click","keypress"],["p","ngbPopover"],["class","invalid-feedback",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],["popContent",""],["role","alert",1,"alert","alert-warning"],_,[1,"invalid-feedback"],a,c,[3,"control"]]},template:function(t,o){if(1&t){const i=e.EpF();e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6),e.YNc(7,T_,3,0,"div",7),e.TgZ(8,"p"),e.tHW(9,8),e._UZ(10,"kbd")(11,"kbd"),e.N_p(),e.qZA(),e.TgZ(12,"div",9)(13,"label",10),e.SDv(14,11),e.qZA(),e.TgZ(15,"input",12,13),e.NdJ("click",function(){e.CHM(i);const a=e.MAs(16);return e.KtG(a.open())})("keypress",function(){e.CHM(i);const a=e.MAs(16);return e.KtG(a.close())}),e.qZA(),e.YNc(17,f_,2,0,"span",14),e.YNc(18,C_,2,0,"span",14),e.qZA()(),e.TgZ(19,"div",15)(20,"cd-form-button-panel",16),e.NdJ("submitActionEvent",function(){return o.moveImage()}),e.qZA()()(),e.BQk(),e.qZA(),e.YNc(21,S_,1,1,"ng-template",null,17,e.W1O)}if(2&t){const i=e.MAs(5),_=e.MAs(22);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.moveForm),e.xp6(3),e.Q6J("ngIf",o.hasSnapshots),e.xp6(4),e.pQV(o.imageSpecStr),e.QtT(9),e.xp6(4),e.Q6J("ngbPopover",_),e.xp6(2),e.Q6J("ngIf",o.moveForm.showError("expiresAt",i,"format")),e.xp6(1),e.Q6J("ngIf",o.moveForm.showError("expiresAt",i,"expired")),e.xp6(2),e.Q6J("form",o.moveForm)("submitText",o.actionLabels.MOVE)}},dependencies:[l.O5,r._Y,r.Fj,r.JJ,r.JL,r.sg,r.u,b.o8,f.z,g_.J,A.p,M.o,B.b,q.P,Y.V]}),n})();var R_=p(60251),Dt=p(76317),M_=p(25917),Lt=p(51295),pt=p(60737),Be=p(96102),O_=p(74255),vt=p(71099),$t=p(79765);function h_(n,s){1&n&&(e.TgZ(0,"span",16),e.SDv(1,17),e.qZA())}function A_(n,s){if(1&n&&(e.TgZ(0,"span"),e.tHW(1,18),e._UZ(2,"b"),e.N_p(),e.qZA()),2&n){const t=e.oxw();e.xp6(2),e.pQV(t.imageName),e.QtT(1)}}function P_(n,s){1&n&&(e.TgZ(0,"cd-helper"),e.SDv(1,25),e.qZA())}function b_(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",7)(1,"div",20)(2,"div",21)(3,"input",22),e.NdJ("change",function(){e.CHM(t);const i=e.oxw(2);return e.KtG(i.onMirrorCheckBoxChange())}),e.qZA(),e.TgZ(4,"label",23),e.SDv(5,24),e.qZA(),e.YNc(6,P_,2,0,"cd-helper",13),e.qZA()()()}if(2&n){const t=s.ngIf;e.xp6(3),e.uIk("disabled",!(t.length>0)||null),e.xp6(3),e.Q6J("ngIf",!t.length>0)}}function I_(n,s){if(1&n&&(e.ynx(0),e.YNc(1,b_,7,2,"div",19),e.ALo(2,"async"),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,t.peerConfigured$))}}let N_=(()=>{class n{constructor(t,o,i,_,a,c){this.activeModal=t,this.rbdService=o,this.taskManagerService=i,this.notificationService=_,this.actionLabels=a,this.rbdMirrorService=c,this.editing=!1,this.onSubmit=new $t.xQ,this.action=this.actionLabels.CREATE,this.resource="RBD Snapshot",this.createForm()}createForm(){this.snapshotForm=new Z.d({snapshotName:new r.p4("",{validators:[r.kI.required]}),mirrorImageSnapshot:new r.p4(!1,{})})}ngOnInit(){this.peerConfigured$=this.rbdMirrorService.getPeerForPool(this.poolName)}setSnapName(t){this.snapName=t,this.snapshotForm.get("snapshotName").setValue(t)}onMirrorCheckBoxChange(){!0===this.snapshotForm.getValue("mirrorImageSnapshot")?(this.snapshotForm.get("snapshotName").setValue(""),this.snapshotForm.get("snapshotName").clearValidators()):(this.snapshotForm.get("snapshotName").setValue(this.snapName),this.snapshotForm.get("snapshotName").setValidators([r.kI.required]),this.snapshotForm.get("snapshotName").updateValueAndValidity())}setEditing(t=!0){this.editing=t,this.action=this.editing?this.actionLabels.RENAME:this.actionLabels.CREATE}editAction(){const t=this.snapshotForm.getValue("snapshotName"),o=new v.N(this.poolName,this.namespace,this.imageName),i=new R.R;i.name="rbd/snap/edit",i.metadata={image_spec:o.toString(),snapshot_name:t},this.rbdService.renameSnapshot(o,this.snapName,t).toPromise().then(()=>{this.taskManagerService.subscribe(i.name,i.metadata,_=>{this.notificationService.notifyTask(_)}),this.activeModal.close(),this.onSubmit.next(this.snapName)}).catch(()=>{this.snapshotForm.setErrors({cdSubmitButton:!0})})}createAction(){const t=this.snapshotForm.getValue("snapshotName"),o=this.snapshotForm.getValue("mirrorImageSnapshot"),i=new v.N(this.poolName,this.namespace,this.imageName),_=new R.R;_.name="rbd/snap/create",_.metadata={image_spec:i.toString(),snapshot_name:t},this.rbdService.createSnapshot(i,t,o).toPromise().then(()=>{this.taskManagerService.subscribe(_.name,_.metadata,a=>{this.notificationService.notifyTask(a)}),this.activeModal.close(),this.onSubmit.next(t)}).catch(()=>{this.snapshotForm.setErrors({cdSubmitButton:!0})})}submit(){this.editing?this.editAction():this.createAction()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(b.Kz),e.Y36(H),e.Y36(vt.k),e.Y36(ve.g),e.Y36(N.p4),e.Y36(X))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-snapshot-form-modal"]],decls:21,vars:18,consts:function(){let s,t,o,i,_,a;return s="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Name",o="This field is required.",i="Snapshot mode is enabled on image " + "\ufffd#2\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#2\ufffd" + ": snapshot names are auto generated",_="Mirror Image Snapshot",a="The peer must be registered to do this action.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","snapshotForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","snapshotName",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],["type","text","placeholder","Snapshot name...","id","snapshotName","name","snapshotName","formControlName","snapshotName","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],o,i,["class","form-group row",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","formControlName","mirrorImageSnapshot","name","mirrorImageSnapshot","id","mirrorImageSnapshot",1,"custom-control-input",3,"change"],["for","mirrorImageSnapshot",1,"custom-control-label"],_,a]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10),e._UZ(13,"input",11),e.YNc(14,h_,2,0,"span",12),e.YNc(15,A_,3,1,"span",13),e.qZA()(),e.YNc(16,I_,3,3,"ng-container",13),e.qZA(),e.TgZ(17,"div",14)(18,"cd-form-button-panel",15),e.NdJ("submitActionEvent",function(){return o.submit()}),e.ALo(19,"titlecase"),e.ALo(20,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,10,o.action))(e.lcZ(4,12,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.snapshotForm),e.xp6(7),e.uIk("disabled","snapshot"===o.mirroring&&!0===o.snapshotForm.getValue("mirrorImageSnapshot")||null),e.xp6(1),e.Q6J("ngIf",o.snapshotForm.showError("snapshotName",i,"required")),e.xp6(1),e.Q6J("ngIf","snapshot"===o.mirroring&&!0===o.snapshotForm.getValue("mirrorImageSnapshot")||null),e.xp6(1),e.Q6J("ngIf","snapshot"===o.mirroring||null),e.xp6(2),e.Q6J("form",o.snapshotForm)("submitText",e.lcZ(19,14,o.action)+" "+e.lcZ(20,16,o.resource))}},dependencies:[l.O5,r._Y,r.Fj,r.Wl,r.JJ,r.JL,r.sg,r.u,At.S,f.z,A.p,Pe.U,M.o,B.b,q.P,Y.V,l.Ov,l.rS,tt.m]}),n})();class F_{constructor(s,t,o){this.featuresName=t,this.cloneFormatVersion=1,o.cloneFormatVersion().subscribe(i=>{this.cloneFormatVersion=i}),this.create={permission:"create",icon:T.P.add,name:s.CREATE},this.rename={permission:"update",icon:T.P.edit,name:s.RENAME,disable:i=>this.disableForMirrorSnapshot(i)||!i.hasSingleSelection},this.protect={permission:"update",icon:T.P.lock,visible:i=>i.hasSingleSelection&&!i.first().is_protected,name:s.PROTECT,disable:i=>this.disableForMirrorSnapshot(i)||this.getProtectDisableDesc(i,this.featuresName)},this.unprotect={permission:"update",icon:T.P.unlock,visible:i=>i.hasSingleSelection&&i.first().is_protected,name:s.UNPROTECT,disable:i=>this.disableForMirrorSnapshot(i)},this.clone={permission:"create",canBePrimary:i=>i.hasSingleSelection,disable:i=>this.getCloneDisableDesc(i)||this.disableForMirrorSnapshot(i),icon:T.P.clone,name:s.CLONE},this.copy={permission:"create",canBePrimary:i=>i.hasSingleSelection,disable:i=>!i.hasSingleSelection||i.first().cdExecuting||this.disableForMirrorSnapshot(i),icon:T.P.copy,name:s.COPY},this.rollback={permission:"update",icon:T.P.undo,name:s.ROLLBACK,disable:i=>this.disableForMirrorSnapshot(i)||!i.hasSingleSelection},this.deleteSnap={permission:"delete",icon:T.P.destroy,disable:i=>{const _=i.first();return!i.hasSingleSelection||_.cdExecuting||_.is_protected||this.disableForMirrorSnapshot(i)},name:s.DELETE},this.ordering=[this.create,this.rename,this.protect,this.unprotect,this.clone,this.copy,this.rollback,this.deleteSnap]}getProtectDisableDesc(s,t){return!(s.hasSingleSelection&&!s.first().cdExecuting)||!t?.includes("layering")&&"The layering feature needs to be enabled on parent image"}getCloneDisableDesc(s){return!(s.hasSingleSelection&&!s.first().cdExecuting)||1===this.cloneFormatVersion&&!s.first().is_protected&&"Snapshot must be protected in order to clone."}disableForMirrorSnapshot(s){return s.hasSingleSelection&&"snapshot"===s.first().mirror_mode&&s.first().name.includes(".mirror.")}}class D_{}const L_=["nameTpl"],v_=["rollbackTpl"];function $_(n,s){if(1&n&&(e.ynx(0),e.SDv(1,3),e.BQk(),e.TgZ(2,"strong"),e._uU(3),e.qZA(),e._uU(4,".\n")),2&n){const t=s.$implicit;e.xp6(3),e.hij(" ",t.snapName,"")}}let B_=(()=>{class n{constructor(t,o,i,_,a,c,d,g,S,I,P){this.authStorageService=t,this.modalService=o,this.dimlessBinaryPipe=i,this.cdDatePipe=_,this.rbdService=a,this.taskManagerService=c,this.notificationService=d,this.summaryService=g,this.taskListService=S,this.actionLabels=I,this.cdr=P,this.snapshots=[],this.selection=new he.r,this.builders={"rbd/snap/create":$=>{const y=new D_;return y.name=$.snapshot_name,y}},this.permission=this.authStorageService.getPermissions().rbdImage}ngOnInit(){this.columns=[{name:"Name",prop:"name",cellTransformation:Le.e.executing,flexGrow:2},{name:"Size",prop:"size",flexGrow:1,cellClass:"text-right",pipe:this.dimlessBinaryPipe},{name:"Used",prop:"disk_usage",flexGrow:1,cellClass:"text-right",pipe:this.dimlessBinaryPipe},{name:"State",prop:"is_protected",flexGrow:1,cellTransformation:Le.e.badge,customTemplateConfig:{map:{true:{value:"PROTECTED",class:"badge-success"},false:{value:"UNPROTECTED",class:"badge-info"}}}},{name:"Created",prop:"timestamp",flexGrow:1,pipe:this.cdDatePipe}],this.imageSpec=new v.N(this.poolName,this.namespace,this.rbdName),this.rbdTableActions=new F_(this.actionLabels,this.featuresName,this.rbdService),this.rbdTableActions.create.click=()=>this.openCreateSnapshotModal(),this.rbdTableActions.rename.click=()=>this.openEditSnapshotModal(),this.rbdTableActions.protect.click=()=>this.toggleProtection(),this.rbdTableActions.unprotect.click=()=>this.toggleProtection();const t=()=>this.selection.first()&&`${this.imageSpec.toStringEncoded()}/${encodeURIComponent(this.selection.first().name)}`;this.rbdTableActions.clone.routerLink=()=>`/block/rbd/clone/${t()}`,this.rbdTableActions.copy.routerLink=()=>`/block/rbd/copy/${t()}`,this.rbdTableActions.rollback.click=()=>this.rollbackModal(),this.rbdTableActions.deleteSnap.click=()=>this.deleteSnapshotModal(),this.tableActions=this.rbdTableActions.ordering,this.taskListService.init(()=>(0,M_.of)(this.snapshots),null,_=>{Lt.T.updateChanged(this,{data:_})&&(this.cdr.detectChanges(),this.data=[...this.data])},()=>{Lt.T.updateChanged(this,{data:this.snapshots})&&(this.cdr.detectChanges(),this.data=[...this.data])},_=>["rbd/snap/create","rbd/snap/delete","rbd/snap/edit","rbd/snap/rollback"].includes(_.name)&&this.imageSpec.toString()===_.metadata.image_spec,(_,a)=>_.name===a.metadata.snapshot_name,this.builders)}ngOnChanges(){this.columns&&(this.imageSpec=new v.N(this.poolName,this.namespace,this.rbdName),this.rbdTableActions&&(this.rbdTableActions.featuresName=this.featuresName),this.taskListService.fetch())}openSnapshotModal(t,o=null){this.modalRef=this.modalService.show(N_,{mirroring:this.mirroring}),this.modalRef.componentInstance.poolName=this.poolName,this.modalRef.componentInstance.imageName=this.rbdName,this.modalRef.componentInstance.namespace=this.namespace,o?this.modalRef.componentInstance.setEditing():o=`${this.rbdName}_${be()().toISOString(!0)}`,this.modalRef.componentInstance.setSnapName(o),this.modalRef.componentInstance.onSubmit.subscribe(_=>{const a=new pt.o;a.name=t,a.metadata={image_spec:this.imageSpec.toString(),snapshot_name:_},this.summaryService.addRunningTask(a)})}openCreateSnapshotModal(){this.openSnapshotModal("rbd/snap/create")}openEditSnapshotModal(){this.openSnapshotModal("rbd/snap/edit",this.selection.first().name)}toggleProtection(){const t=this.selection.first().name,o=this.selection.first().is_protected,i=new R.R;i.name="rbd/snap/edit";const _=new v.N(this.poolName,this.namespace,this.rbdName);i.metadata={image_spec:_.toString(),snapshot_name:t},this.rbdService.protectSnapshot(_,t,!o).toPromise().then(()=>{const a=new pt.o;a.name=i.name,a.metadata=i.metadata,this.summaryService.addRunningTask(a),this.taskManagerService.subscribe(i.name,i.metadata,c=>{this.notificationService.notifyTask(c)})})}_asyncTask(t,o,i){const _=new R.R;_.name=o,_.metadata={image_spec:new v.N(this.poolName,this.namespace,this.rbdName).toString(),snapshot_name:i};const a=new v.N(this.poolName,this.namespace,this.rbdName);this.rbdService[t](a,i).toPromise().then(()=>{const c=new pt.o;c.name=_.name,c.metadata=_.metadata,this.summaryService.addRunningTask(c),this.modalRef.close(),this.taskManagerService.subscribe(c.name,c.metadata,d=>{this.notificationService.notifyTask(d)})}).catch(()=>{this.modalRef.componentInstance.stopLoadingSpinner()})}rollbackModal(){const t=this.selection.selected[0].name,o=new v.N(this.poolName,this.namespace,this.rbdName).toString(),i={titleText:"RBD snapshot rollback",buttonText:"Rollback",bodyTpl:this.rollbackTpl,bodyData:{snapName:`${o}@${t}`},onSubmit:()=>{this._asyncTask("rollbackSnapshot","rbd/snap/rollback",t)}};this.modalRef=this.modalService.show(lt.Y,i)}deleteSnapshotModal(){const t=this.selection.selected[0].name;this.modalRef=this.modalService.show(ge.M,{itemDescription:"RBD snapshot",itemNames:[t],submitAction:()=>this._asyncTask("deleteSnapshot","rbd/snap/delete",t)})}updateSelection(t){this.selection=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(_e.j),e.Y36(me.Z),e.Y36(Ye.$),e.Y36(Be.N),e.Y36(H),e.Y36(vt.k),e.Y36(ve.g),e.Y36(O_.J),e.Y36(pe.j),e.Y36(N.p4),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-snapshot-list"]],viewQuery:function(t,o){if(1&t&&(e.Gf(L_,5),e.Gf(v_,7)),2&t){let i;e.iGM(i=e.CRH())&&(o.nameTpl=i.first),e.iGM(i=e.CRH())&&(o.rollbackTpl=i.first)}},inputs:{snapshots:"snapshots",featuresName:"featuresName",poolName:"poolName",namespace:"namespace",mirroring:"mirroring",primary:"primary",rbdName:"rbdName"},features:[e._Bn([pe.j]),e.TTD],decls:4,vars:5,consts:function(){let s;return s="You are about to rollback",[["columnMode","flex","selectionType","single",3,"data","columns","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["rollbackTpl",""],s]},template:function(t,o){1&t&&(e.TgZ(0,"cd-table",0),e.NdJ("updateSelection",function(_){return o.updateSelection(_)}),e._UZ(1,"cd-table-actions",1),e.qZA(),e.YNc(2,$_,5,1,"ng-template",null,2,e.W1O)),2&t&&(e.Q6J("data",o.data)("columns",o.columns),e.xp6(1),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions))},dependencies:[te.a,Ae.K],changeDetection:0}),n})();var G_=p(42176),y_=p(41039);const x_=["poolConfigurationSourceTpl"];function Z_(n,s){1&n&&(e.ynx(0),e.tHW(1,3),e._UZ(2,"strong"),e.N_p(),e.BQk())}function w_(n,s){if(1&n&&(e.TgZ(0,"span")(1,"span",38),e._uU(2),e.qZA()()),2&n){const t=s.$implicit;e.xp6(2),e.Oqu(t)}}function H_(n,s){if(1&n&&(e.TgZ(0,"span")(1,"span",39),e.SDv(2,40),e.qZA()()),2&n){e.oxw(3);const t=e.MAs(1);e.xp6(1),e.Q6J("ngbTooltip",t)}}function k_(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,t.selection.disk_usage)," ")}}function K_(n,s){if(1&n&&(e.TgZ(0,"span")(1,"span",39),e.SDv(2,41),e.qZA()()),2&n){e.oxw(3);const t=e.MAs(1);e.xp6(1),e.Q6J("ngbTooltip",t)}}function q_(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,t.selection.total_disk_usage)," ")}}function X_(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.hij("/",t.selection.parent.pool_namespace,"")}}function Q_(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.YNc(2,X_,2,1,"span",1),e._uU(3),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Oqu(t.selection.parent.pool_name),e.xp6(1),e.Q6J("ngIf",t.selection.parent.pool_namespace),e.xp6(1),e.AsE("/",t.selection.parent.image_name,"@",t.selection.parent.snap_name,"")}}function z_(n,s){1&n&&(e.TgZ(0,"span"),e._uU(1,"-"),e.qZA())}function J_(n,s){if(1&n&&(e.TgZ(0,"table",17)(1,"tbody")(2,"tr")(3,"td",18),e.SDv(4,19),e.qZA(),e.TgZ(5,"td",20),e._uU(6),e.qZA()(),e.TgZ(7,"tr")(8,"td",21),e.SDv(9,22),e.qZA(),e.TgZ(10,"td"),e._uU(11),e.qZA()(),e.TgZ(12,"tr")(13,"td",21),e.SDv(14,23),e.qZA(),e.TgZ(15,"td"),e._uU(16),e.ALo(17,"empty"),e.qZA()(),e.TgZ(18,"tr")(19,"td",21),e.SDv(20,24),e.qZA(),e.TgZ(21,"td"),e._uU(22),e.ALo(23,"cdDate"),e.qZA()(),e.TgZ(24,"tr")(25,"td",21),e.SDv(26,25),e.qZA(),e.TgZ(27,"td"),e._uU(28),e.ALo(29,"dimlessBinary"),e.qZA()(),e.TgZ(30,"tr")(31,"td",21),e.SDv(32,26),e.qZA(),e.TgZ(33,"td"),e._uU(34),e.ALo(35,"dimless"),e.qZA()(),e.TgZ(36,"tr")(37,"td",21),e.SDv(38,27),e.qZA(),e.TgZ(39,"td"),e._uU(40),e.ALo(41,"dimlessBinary"),e.qZA()(),e.TgZ(42,"tr")(43,"td",21),e.SDv(44,28),e.qZA(),e.TgZ(45,"td"),e.YNc(46,w_,3,1,"span",29),e.qZA()(),e.TgZ(47,"tr")(48,"td",21),e.SDv(49,30),e.qZA(),e.TgZ(50,"td"),e.YNc(51,H_,3,1,"span",1),e.YNc(52,k_,3,3,"span",1),e.qZA()(),e.TgZ(53,"tr")(54,"td",21),e.SDv(55,31),e.qZA(),e.TgZ(56,"td"),e.YNc(57,K_,3,1,"span",1),e.YNc(58,q_,3,3,"span",1),e.qZA()(),e.TgZ(59,"tr")(60,"td",21),e.SDv(61,32),e.qZA(),e.TgZ(62,"td"),e._uU(63),e.ALo(64,"dimlessBinary"),e.qZA()(),e.TgZ(65,"tr")(66,"td",21),e.SDv(67,33),e.qZA(),e.TgZ(68,"td"),e._uU(69),e.qZA()(),e.TgZ(70,"tr")(71,"td",21),e.SDv(72,34),e.qZA(),e.TgZ(73,"td"),e.YNc(74,Q_,4,4,"span",1),e.YNc(75,z_,2,0,"span",1),e.qZA()(),e.TgZ(76,"tr")(77,"td",21),e.SDv(78,35),e.qZA(),e.TgZ(79,"td"),e._uU(80),e.qZA()(),e.TgZ(81,"tr")(82,"td",21),e.SDv(83,36),e.qZA(),e.TgZ(84,"td"),e._uU(85),e.qZA()(),e.TgZ(86,"tr")(87,"td",21),e.SDv(88,37),e.qZA(),e.TgZ(89,"td"),e._uU(90),e.qZA()()()()),2&n){const t=e.oxw(2);e.xp6(6),e.Oqu(t.selection.name),e.xp6(5),e.Oqu(t.selection.pool_name),e.xp6(5),e.Oqu(e.lcZ(17,19,t.selection.data_pool)),e.xp6(6),e.Oqu(e.lcZ(23,21,t.selection.timestamp)),e.xp6(6),e.Oqu(e.lcZ(29,23,t.selection.size)),e.xp6(6),e.Oqu(e.lcZ(35,25,t.selection.num_objs)),e.xp6(6),e.Oqu(e.lcZ(41,27,t.selection.obj_size)),e.xp6(6),e.Q6J("ngForOf",t.selection.features_name),e.xp6(5),e.Q6J("ngIf",-1===(null==t.selection.features_name?null:t.selection.features_name.indexOf("fast-diff"))),e.xp6(1),e.Q6J("ngIf",-1!==(null==t.selection.features_name?null:t.selection.features_name.indexOf("fast-diff"))),e.xp6(5),e.Q6J("ngIf",-1===(null==t.selection.features_name?null:t.selection.features_name.indexOf("fast-diff"))),e.xp6(1),e.Q6J("ngIf",-1!==(null==t.selection.features_name?null:t.selection.features_name.indexOf("fast-diff"))),e.xp6(5),e.Oqu(e.lcZ(64,29,t.selection.stripe_unit)),e.xp6(6),e.Oqu(t.selection.stripe_count),e.xp6(5),e.Q6J("ngIf",t.selection.parent),e.xp6(1),e.Q6J("ngIf",!t.selection.parent),e.xp6(5),e.Oqu(t.selection.block_name_prefix),e.xp6(5),e.Oqu(t.selection.order),e.xp6(5),e.Oqu(t.selection.image_format)}}function Y_(n,s){if(1&n&&e._UZ(0,"cd-rbd-snapshot-list",42),2&n){const t=e.oxw(2);e.Q6J("snapshots",t.selection.snapshots)("featuresName",t.selection.features_name)("poolName",t.selection.pool_name)("primary",t.selection.primary)("namespace",t.selection.namespace)("mirroring",t.selection.mirror_mode)("rbdName",t.selection.name)}}function V_(n,s){if(1&n&&e._UZ(0,"cd-rbd-configuration-table",43),2&n){const t=e.oxw(2);e.Q6J("data",t.selection.configuration)}}function U_(n,s){if(1&n&&e._UZ(0,"cd-grafana",44),2&n){const t=e.oxw(2);e.Q6J("grafanaPath",t.rbdDashboardUrl)("type","metrics")}}function j_(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nav",4,5),e.ynx(3,6),e.TgZ(4,"a",7),e.SDv(5,8),e.qZA(),e.YNc(6,J_,91,31,"ng-template",9),e.BQk(),e.ynx(7,10),e.TgZ(8,"a",7),e.SDv(9,11),e.qZA(),e.YNc(10,Y_,1,7,"ng-template",9),e.BQk(),e.ynx(11,12),e.TgZ(12,"a",7),e.SDv(13,13),e.qZA(),e.YNc(14,V_,1,1,"ng-template",9),e.BQk(),e.ynx(15,14),e.TgZ(16,"a",7),e.SDv(17,15),e.qZA(),e.YNc(18,U_,1,2,"ng-template",9),e.BQk(),e.qZA(),e._UZ(19,"div",16),e.BQk()),2&n){const t=e.MAs(2);e.xp6(19),e.Q6J("ngbNavOutlet",t)}}function W_(n,s){1&n&&(e.ynx(0),e.TgZ(1,"cd-alert-panel",45),e.SDv(2,46),e.qZA(),e.BQk())}function ea(n,s){1&n&&(e.ynx(0),e.TgZ(1,"strong",49),e.SDv(2,50),e.qZA(),e.BQk())}function ta(n,s){1&n&&(e.TgZ(0,"span",51),e.SDv(1,52),e.qZA())}function oa(n,s){if(1&n&&(e.YNc(0,ea,3,0,"ng-container",47),e.YNc(1,ta,2,0,"ng-template",null,48,e.W1O)),2&n){const t=s.value,o=e.MAs(2);e.Q6J("ngIf",+t)("ngIfElse",o)}}let na=(()=>{class n{ngOnChanges(){this.selection&&(this.rbdDashboardUrl=`rbd-details?var-Pool=${this.selection.pool_name}&var-Image=${this.selection.name}`)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-details"]],viewQuery:function(t,o){if(1&t&&(e.Gf(x_,7),e.Gf(b.Pz,7)),2&t){let i;e.iGM(i=e.CRH())&&(o.poolConfigurationSourceTpl=i.first),e.iGM(i=e.CRH())&&(o.nav=i.first)}},inputs:{selection:"selection",images:"images"},features:[e.TTD],decls:6,vars:2,consts:function(){let s,t,o,i,_,a,c,d,g,S,I,P,$,y,z,V,oe,ne,w,le,ce,O,Te,fe,Ce,Se,Ee,Re,Me;return s="Only available for RBD images with " + "\ufffd#2\ufffd" + "fast-diff" + "\ufffd/#2\ufffd" + " enabled",t="Details",o="Snapshots",i="Configuration",_="Performance",a="Name",c="Pool",d="Data Pool",g="Created",S="Size",I="Objects",P="Object size",$="Features",y="Provisioned",z="Total provisioned",V="Striping unit",oe="Striping count",ne="Parent",w="Block name prefix",le="Order",ce="Format Version",O="N/A",Te="N/A",fe="RBD details",Ce="Information can not be displayed for RBD in status 'Removing'.",Se="This setting overrides the global value",Ee="Image",Re="This is the global value. No value for this option has been set for this image.",Me="Global",[["usageNotAvailableTooltipTpl",""],[4,"ngIf"],["poolConfigurationSourceTpl",""],s,["ngbNav","","cdStatefulTab","rbd-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],t,["ngbNavContent",""],["ngbNavItem","snapshots"],o,["ngbNavItem","configuration"],i,["ngbNavItem","performance"],_,[3,"ngbNavOutlet"],[1,"table","table-striped","table-bordered"],[1,"bold","w-25"],a,[1,"w-75"],[1,"bold"],c,d,g,S,I,P,$,[4,"ngFor","ngForOf"],y,z,V,oe,ne,w,le,ce,[1,"badge","badge-dark","me-2"],["placement","top",1,"form-text","text-muted",3,"ngbTooltip"],O,Te,[3,"snapshots","featuresName","poolName","primary","namespace","mirroring","rbdName"],[3,"data"],["title",fe,"uid","YhCYGcuZz","grafanaStyle","one",3,"grafanaPath","type"],["type","warning"],Ce,[4,"ngIf","ngIfElse"],["global",""],["ngbTooltip",Se],Ee,["ngbTooltip",Re],Me]},template:function(t,o){1&t&&(e.YNc(0,Z_,3,0,"ng-template",null,0,e.W1O),e.YNc(2,j_,20,1,"ng-container",1),e.YNc(3,W_,3,0,"ng-container",1),e.YNc(4,oa,3,2,"ng-template",null,2,e.W1O)),2&t&&(e.xp6(2),e.Q6J("ngIf",o.selection&&"REMOVING"!==o.selection.source),e.xp6(1),e.Q6J("ngIf",o.selection&&"REMOVING"===o.selection.source))},dependencies:[l.sg,l.O5,b.uN,b.Pz,b.nv,b.Vx,b.tO,b.Dy,b._L,Dt.F,nt.G,Mt.m,B_,G_.P,Ye.$,it.n,Be.N,y_.W]}),n})();const je=function(){return{exact:!0}};function ia(n,s){1&n&&(e.TgZ(0,"li",1)(1,"a",9),e.SDv(2,10),e.qZA()()),2&n&&(e.xp6(1),e.Q6J("routerLinkActiveOptions",e.DdM(1,je)))}let We=(()=>{class n{constructor(t){this.authStorageService=t,this.grafanaPermission=this.authStorageService.getPermissions().grafana}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(_e.j))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-tabs"]],decls:11,vars:7,consts:function(){let s,t,o,i;return s="Images",t="Namespaces",o="Trash",i="Overall Performance",[[1,"nav","nav-tabs"],[1,"nav-item"],["routerLink","/block/rbd","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],s,["routerLink","/block/rbd/namespaces","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],t,["routerLink","/block/rbd/trash","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],o,["class","nav-item",4,"ngIf"],["routerLink","/block/rbd/performance","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],i]},template:function(t,o){1&t&&(e.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),e.SDv(3,3),e.qZA()(),e.TgZ(4,"li",1)(5,"a",4),e.SDv(6,5),e.qZA()(),e.TgZ(7,"li",1)(8,"a",6),e.SDv(9,7),e.qZA()(),e.YNc(10,ia,3,2,"li",8),e.qZA()),2&t&&(e.xp6(2),e.Q6J("routerLinkActiveOptions",e.DdM(4,je)),e.xp6(3),e.Q6J("routerLinkActiveOptions",e.DdM(5,je)),e.xp6(3),e.Q6J("routerLinkActiveOptions",e.DdM(6,je)),e.xp6(2),e.Q6J("ngIf",o.grafanaPermission.read))},dependencies:[l.O5,m.rH,m.Od]}),n})();const sa=["usageTpl"],_a=["parentTpl"],aa=["nameTpl"],ra=["ScheduleTpl"],la=["mirroringTpl"],ca=["flattenTpl"],da=["deleteTpl"],pa=["removingStatTpl"],ua=["forcePromoteConfirmation"],ma=["usedTmpl"],ga=["totalUsedTmpl"],Ta=["imageUsageTpl"];function fa(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).value;e.xp6(1),e.hij("/",t.pool_namespace,"")}}function Ca(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.YNc(2,fa,2,1,"span",13),e._uU(3),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Oqu(t.pool_name),e.xp6(1),e.Q6J("ngIf",t.pool_namespace),e.xp6(1),e.AsE("/",t.image_name,"@",t.snap_name,"")}}function Sa(n,s){1&n&&(e.TgZ(0,"span"),e._uU(1,"-"),e.qZA())}function Ea(n,s){if(1&n&&(e.YNc(0,Ca,4,4,"span",13),e.YNc(1,Sa,2,0,"span",13)),2&n){const t=s.value;e.Q6J("ngIf",t),e.xp6(1),e.Q6J("ngIf",!t)}}function Ra(n,s){if(1&n&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Oqu(t[0])}}function Ma(n,s){if(1&n&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Oqu(t[1])}}function Oa(n,s){1&n&&(e.TgZ(0,"span",17),e.SDv(1,18),e.qZA())}function ha(n,s){1&n&&(e.TgZ(0,"span",17),e.SDv(1,19),e.qZA())}function Aa(n,s){if(1&n&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Oqu(t)}}function Pa(n,s){if(1&n&&(e.YNc(0,Ra,2,1,"span",14),e._uU(1,"\xa0 "),e.YNc(2,Ma,2,1,"span",15),e._uU(3,"\xa0 "),e.YNc(4,Oa,2,0,"span",15),e.YNc(5,ha,2,0,"span",15),e.YNc(6,Aa,2,1,"ng-template",null,16,e.W1O)),2&n){const t=s.value,o=s.row,i=e.MAs(7);e.Q6J("ngIf",3===t.length)("ngIfElse",i),e.xp6(2),e.Q6J("ngIf",3===t.length),e.xp6(2),e.Q6J("ngIf",!0===o.primary),e.xp6(1),e.Q6J("ngIf",!1===o.primary)}}function ba(n,s){if(1&n&&(e.TgZ(0,"span",17),e._uU(1),e.ALo(2,"cdDate"),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Oqu(e.lcZ(2,1,t[2]))}}function Ia(n,s){1&n&&e.YNc(0,ba,3,3,"span",15),2&n&&e.Q6J("ngIf",3===s.value.length)}function Na(n,s){if(1&n&&(e._uU(0," You are about to flatten "),e.TgZ(1,"strong"),e._uU(2),e.qZA(),e._uU(3,". "),e._UZ(4,"br")(5,"br"),e._uU(6," All blocks will be copied from parent "),e.TgZ(7,"strong"),e._uU(8),e.qZA(),e._uU(9," to child "),e.TgZ(10,"strong"),e._uU(11),e.qZA(),e._uU(12,".\n")),2&n){const t=s.$implicit;e.xp6(2),e.Oqu(t.child),e.xp6(6),e.Oqu(t.parent),e.xp6(3),e.Oqu(t.child)}}function Fa(n,s){if(1&n&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.xp6(1),e.Oqu(t)}}function Da(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"span"),e.SDv(2,23),e.qZA(),e.TgZ(3,"ul"),e.YNc(4,Fa,2,1,"li",24),e.qZA(),e.BQk()),2&n){const t=e.oxw(2).snapshots;e.xp6(4),e.Q6J("ngForOf",t)}}function La(n,s){if(1&n&&(e.TgZ(0,"div",21)(1,"span"),e.SDv(2,22),e.qZA(),e._UZ(3,"br"),e.YNc(4,Da,5,1,"ng-container",13),e.qZA()),2&n){const t=e.oxw().snapshots;e.xp6(4),e.Q6J("ngIf",t.length>0)}}function va(n,s){1&n&&e.YNc(0,La,5,1,"div",20),2&n&&e.Q6J("ngIf",s.hasSnapshots)}const $a=function(n,s){return[n,s]};function Ba(n,s){if(1&n&&e._UZ(0,"i",26),2&n){const t=e.oxw(2);e.Q6J("ngClass",e.WLB(1,$a,t.icons.spinner,t.icons.spin))}}function Ga(n,s){if(1&n&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&n){const t=e.oxw(),o=t.column,i=t.row;e.Q6J("ngClass",null!=o&&null!=o.customTemplateConfig&&o.customTemplateConfig.executingClass?o.customTemplateConfig.executingClass:"text-muted italic"),e.xp6(1),e.hij(" (",i.cdExecuting,") ")}}function ya(n,s){if(1&n&&e._UZ(0,"i",28),2&n){const t=e.oxw(2);e.Gre("",t.icons.warning," warn")}}function xa(n,s){if(1&n&&(e.YNc(0,Ba,1,4,"i",25),e.TgZ(1,"span",26),e._uU(2),e.qZA(),e.YNc(3,Ga,2,2,"span",25),e.YNc(4,ya,1,3,"i",27)),2&n){const t=s.column,o=s.value,i=s.row;e.Q6J("ngIf",i.cdExecuting),e.xp6(1),e.Q6J("ngClass",null==t||null==t.customTemplateConfig?null:t.customTemplateConfig.valueClass),e.xp6(1),e.hij(" ",o," "),e.xp6(1),e.Q6J("ngIf",i.cdExecuting),e.xp6(1),e.Q6J("ngIf",i.source&&"REMOVING"===i.source)}}function Za(n,s){if(1&n&&(e.TgZ(0,"cd-alert-panel",29),e._uU(1),e.qZA(),e.TgZ(2,"div",30),e.tHW(3,31),e._UZ(4,"strong"),e.N_p(),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.errorMessage)}}function wa(n,s){if(1&n&&(e.TgZ(0,"span",34)(1,"span"),e._uU(2,"-"),e.qZA()()),2&n){e.oxw(2);const t=e.MAs(22);e.Q6J("ngbTooltip",t)}}function Ha(n,s){if(1&n&&e._UZ(0,"cd-usage-bar",36),2&n){const t=e.oxw(2).row;e.Q6J("total",t.size)("used",t.disk_usage)("title",t.name)}}function ka(n,s){if(1&n&&e.YNc(0,Ha,1,3,"cd-usage-bar",35),2&n){const t=e.oxw().row;e.Q6J("ngIf",t)}}function Ka(n,s){if(1&n&&(e.YNc(0,wa,3,1,"span",32),e.YNc(1,ka,1,1,"ng-template",null,33,e.W1O)),2&n){const t=s.row,o=e.MAs(2);e.Q6J("ngIf",t.features_name&&(!t.features_name.includes("fast-diff")||"snapshot"===t.mirror_mode))("ngIfElse",o)}}function qa(n,s){1&n&&e._UZ(0,"div",37),2&n&&e.Q6J("innerHtml","Only available for RBD images with <strong>fast-diff</strong> enabled and without snapshot mirroring",e.oJD)}let Qa=(()=>{class n extends ft.o{createRbdFromTaskImageSpec(t){const o=v.N.fromString(t);return this.createRbdFromTask(o.poolName,o.namespace,o.imageName)}createRbdFromTask(t,o,i){const _=new ms;return _.id="-1",_.unique_id="-1",_.name=i,_.namespace=o,_.pool_name=t,_.image_format=Ne.V2,_}constructor(t,o,i,_,a,c,d,g,S){super(),this.authStorageService=t,this.rbdService=o,this.dimlessBinaryPipe=i,this.dimlessPipe=_,this.modalService=a,this.taskWrapper=c,this.taskListService=d,this.urlBuilder=g,this.actionLabels=S,this.tableStatus=new Ft.c("light"),this.selection=new he.r,this.icons=T.P,this.count=0,this.tableContext=null,this.builders={"rbd/create":O=>this.createRbdFromTask(O.pool_name,O.namespace,O.image_name),"rbd/delete":O=>this.createRbdFromTaskImageSpec(O.image_spec),"rbd/clone":O=>this.createRbdFromTask(O.child_pool_name,O.child_namespace,O.child_image_name),"rbd/copy":O=>this.createRbdFromTask(O.dest_pool_name,O.dest_namespace,O.dest_image_name)},this.permission=this.authStorageService.getPermissions().rbdImage;const I=()=>this.selection.first()&&new v.N(this.selection.first().pool_name,this.selection.first().namespace,this.selection.first().name).toStringEncoded();this.tableActions=[{permission:"create",icon:T.P.add,routerLink:()=>this.urlBuilder.getCreate(),canBePrimary:O=>!O.hasSingleSelection,name:this.actionLabels.CREATE},{permission:"update",icon:T.P.edit,routerLink:()=>this.urlBuilder.getEdit(I()),name:this.actionLabels.EDIT,disable:O=>this.getRemovingStatusDesc(O)||this.getInvalidNameDisable(O)},{permission:"create",canBePrimary:O=>O.hasSingleSelection,disable:O=>this.getRemovingStatusDesc(O)||this.getInvalidNameDisable(O)||!!O.first().cdExecuting,icon:T.P.copy,routerLink:()=>`/block/rbd/copy/${I()}`,name:this.actionLabels.COPY},{permission:"update",disable:O=>this.getRemovingStatusDesc(O)||this.getInvalidNameDisable(O)||O.first().cdExecuting||!O.first().parent,icon:T.P.flatten,click:()=>this.flattenRbdModal(),name:this.actionLabels.FLATTEN},{permission:"update",icon:T.P.refresh,click:()=>this.resyncRbdModal(),name:this.actionLabels.RESYNC,disable:O=>this.getResyncDisableDesc(O)},{permission:"delete",icon:T.P.destroy,click:()=>this.deleteRbdModal(),name:this.actionLabels.DELETE,disable:O=>this.getDeleteDisableDesc(O)},{permission:"delete",icon:T.P.trash,click:()=>this.trashRbdModal(),name:this.actionLabels.TRASH,disable:O=>this.getRemovingStatusDesc(O)||this.getInvalidNameDisable(O)||O.first().image_format===Ne.V1},{permission:"update",icon:T.P.edit,click:()=>this.removeSchedulingModal(),name:this.actionLabels.REMOVE_SCHEDULING,disable:O=>this.getRemovingStatusDesc(O)||this.getInvalidNameDisable(O)||void 0===O.first().schedule_info},{permission:"update",icon:T.P.edit,click:()=>this.actionPrimary(!0),name:this.actionLabels.PROMOTE,visible:()=>null!=this.selection.first()&&!this.selection.first().primary,disable:()=>"Disabled"===this.selection.first().mirror_mode?"Mirroring needs to be enabled on the image to perform this action":""},{permission:"update",icon:T.P.edit,click:()=>this.actionPrimary(!1),name:this.actionLabels.DEMOTE,visible:()=>null!=this.selection.first()&&this.selection.first().primary,disable:()=>"Disabled"===this.selection.first().mirror_mode?"Mirroring needs to be enabled on the image to perform this action":""}]}ngOnInit(){this.columns=[{name:"Name",prop:"name",flexGrow:2,cellTemplate:this.removingStatTpl},{name:"Pool",prop:"pool_name",flexGrow:2},{name:"Namespace",prop:"namespace",flexGrow:2},{name:"Size",prop:"size",flexGrow:1,cellClass:"text-right",sortable:!1,pipe:this.dimlessBinaryPipe},{name:"Usage",prop:"usage",cellTemplate:this.imageUsageTpl,flexGrow:1.5},{name:"Objects",prop:"num_objs",flexGrow:1,cellClass:"text-right",sortable:!1,pipe:this.dimlessPipe},{name:"Object size",prop:"obj_size",flexGrow:1,cellClass:"text-right",sortable:!1,pipe:this.dimlessBinaryPipe},{name:"Parent",prop:"parent",flexGrow:2,sortable:!1,cellTemplate:this.parentTpl},{name:"Mirroring",prop:"mirror_mode",flexGrow:3,sortable:!1,cellTemplate:this.mirroringTpl},{name:"Next Scheduled Snapshot",prop:"mirror_mode",flexGrow:3,sortable:!1,cellTemplate:this.ScheduleTpl}],this.taskListService.init(i=>this.getRbdImages(i),i=>this.prepareResponse(i),i=>this.images=i,()=>this.onFetchError(),i=>["rbd/clone","rbd/copy","rbd/create","rbd/delete","rbd/edit","rbd/flatten","rbd/trash/move"].includes(i.name),(i,_)=>{let a;switch(_.name){case"rbd/copy":a=new v.N(_.metadata.dest_pool_name,_.metadata.dest_namespace,_.metadata.dest_image_name).toString();break;case"rbd/clone":a=new v.N(_.metadata.child_pool_name,_.metadata.child_namespace,_.metadata.child_image_name).toString();break;case"rbd/create":a=new v.N(_.metadata.pool_name,_.metadata.namespace,_.metadata.image_name).toString();break;default:a=_.metadata.image_spec}return a===new v.N(i.pool_name,i.namespace,i.name).toString()},this.builders)}onFetchError(){this.table.reset(),this.tableStatus=new Ft.c("danger")}getRbdImages(t){return null!==t&&(this.tableContext=t),null==this.tableContext&&(this.tableContext=new h.E(()=>{})),this.rbdService.list(this.tableContext?.toParams())}prepareResponse(t){let o=[];return t.forEach(i=>{o=o.concat(i.value)}),o.forEach(i=>{if(void 0!==i.schedule_info){let _=[];const a="scheduled";let c=+new Date(i.schedule_info.schedule_time);const d=(new Date).getTimezoneOffset();c+=6e4*Math.abs(d),_.push(i.mirror_mode,a,c),i.mirror_mode=_,_=[]}}),this.count=o.length>0?u_.v.getCount(t[0]):0,o}updateSelection(t){this.selection=t}deleteRbdModal(){const t=this.selection.first().pool_name,o=this.selection.first().namespace,i=this.selection.first().name,_=new v.N(t,o,i);this.modalRef=this.modalService.show(ge.M,{itemDescription:"RBD",itemNames:[_],bodyTemplate:this.deleteTpl,bodyContext:{hasSnapshots:this.hasSnapshots(),snapshots:this.listProtectedSnapshots()},submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/delete",{image_spec:_.toString()}),call:this.rbdService.delete(_)})})}resyncRbdModal(){const t=this.selection.first().pool_name,o=this.selection.first().namespace,i=this.selection.first().name,_=new v.N(t,o,i);this.modalRef=this.modalService.show(ge.M,{itemDescription:"RBD",itemNames:[_],actionDescription:"resync",submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/edit",{image_spec:_.toString()}),call:this.rbdService.update(_,{resync:!0})})})}trashRbdModal(){const t={poolName:this.selection.first().pool_name,namespace:this.selection.first().namespace,imageName:this.selection.first().name,hasSnapshots:this.hasSnapshots()};this.modalRef=this.modalService.show(E_,t)}flattenRbd(t){this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/flatten",{image_spec:t.toString()}),call:this.rbdService.flatten(t)}).subscribe({complete:()=>{this.modalRef.close()}})}flattenRbdModal(){const t=this.selection.first().pool_name,o=this.selection.first().namespace,i=this.selection.first().name,_=this.selection.first().parent,a=new v.N(_.pool_name,_.pool_namespace,_.image_name),c=new v.N(t,o,i),d={titleText:"RBD flatten",buttonText:"Flatten",bodyTpl:this.flattenTpl,bodyData:{parent:`${a}@${_.snap_name}`,child:c.toString()},onSubmit:()=>{this.flattenRbd(c)}};this.modalRef=this.modalService.show(lt.Y,d)}editRequest(){const t=new rt;return t.remove_scheduling=!t.remove_scheduling,t}removeSchedulingModal(){const t=this.selection.first().name,o=new v.N(this.selection.first().pool_name,this.selection.first().namespace,this.selection.first().name);this.modalRef=this.modalService.show(ge.M,{actionDescription:"remove scheduling on",itemDescription:"image",itemNames:[`${t}`],submitActionObservable:()=>new Ot.y(i=>{this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/edit",{image_spec:o.toString()}),call:this.rbdService.update(o,this.editRequest())}).subscribe({error:_=>i.error(_),complete:()=>{this.modalRef.close()}})})})}actionPrimary(t){const o=new rt;o.primary=t,o.features=null;const i=new v.N(this.selection.first().pool_name,this.selection.first().namespace,this.selection.first().name);this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/edit",{image_spec:i.toString()}),call:this.rbdService.update(i,o)}).subscribe(()=>{},_=>{_.preventDefault(),t&&(this.errorMessage=_.error.detail.replace(/\[.*?\]\s*/,""),o.force=!0,this.modalRef=this.modalService.show(lt.Y,{titleText:"Warning",buttonText:"Enforce",warning:!0,bodyTpl:this.forcePromoteConfirmation,onSubmit:()=>{this.rbdService.update(i,o).subscribe(()=>{this.modalRef.close()},()=>{this.modalRef.close()})}}))})}hasSnapshots(){return(this.selection.first().snapshots||[]).length>0}hasClonedSnapshots(t){return(t.snapshots||[]).some(i=>i.children&&i.children.length>0)}listProtectedSnapshots(){return this.selection.first().snapshots.reduce((i,_)=>(_.is_protected&&i.push(_.name),i),[])}getDeleteDisableDesc(t){const o=t.first();return o&&this.hasClonedSnapshots(o)?"This RBD has cloned snapshots. Please delete related RBDs before deleting this RBD.":this.getInvalidNameDisable(t)||this.hasClonedSnapshots(t.first())}getResyncDisableDesc(t){const o=t.first();return o&&this.imageIsPrimary(o)?"Primary RBD images cannot be resynced":this.getInvalidNameDisable(t)}imageIsPrimary(t){return t.primary}getInvalidNameDisable(t){return t.first()?.name?.match(/[@/]/)?"This RBD image has an invalid name and can't be managed by ceph.":!t.first()||!t.hasSingleSelection}getRemovingStatusDesc(t){return"REMOVING"===t.first()?.source&&"Action not possible for an RBD in status 'Removing'"}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(_e.j),e.Y36(H),e.Y36(Ye.$),e.Y36(it.n),e.Y36(me.Z),e.Y36(u.P),e.Y36(pe.j),e.Y36(ct.F),e.Y36(N.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-list"]],viewQuery:function(t,o){if(1&t&&(e.Gf(te.a,7),e.Gf(sa,5),e.Gf(_a,7),e.Gf(aa,5),e.Gf(ra,7),e.Gf(la,7),e.Gf(ca,7),e.Gf(da,7),e.Gf(pa,7),e.Gf(ua,7),e.Gf(ma,7),e.Gf(ga,7),e.Gf(Ta,7)),2&t){let i;e.iGM(i=e.CRH())&&(o.table=i.first),e.iGM(i=e.CRH())&&(o.usageTpl=i.first),e.iGM(i=e.CRH())&&(o.parentTpl=i.first),e.iGM(i=e.CRH())&&(o.nameTpl=i.first),e.iGM(i=e.CRH())&&(o.ScheduleTpl=i.first),e.iGM(i=e.CRH())&&(o.mirroringTpl=i.first),e.iGM(i=e.CRH())&&(o.flattenTpl=i.first),e.iGM(i=e.CRH())&&(o.deleteTpl=i.first),e.iGM(i=e.CRH())&&(o.removingStatTpl=i.first),e.iGM(i=e.CRH())&&(o.forcePromoteConfirmation=i.first),e.iGM(i=e.CRH())&&(o.usedTmpl=i.first),e.iGM(i=e.CRH())&&(o.totalUsedTmpl=i.first),e.iGM(i=e.CRH())&&(o.imageUsageTpl=i.first)}},features:[e._Bn([pe.j,{provide:ct.F,useValue:new ct.F("block/rbd")}]),e.qOj],decls:23,vars:13,consts:function(){let s,t,o,i,_,a;return s="primary",t="secondary",o="Deleting this image will also delete all its snapshots.",i="The following snapshots are currently protected and will be removed:",_="RBD in status 'Removing'",a="" + "\ufffd#4\ufffd" + " Do you want to force the operation? " + "\ufffd/#4\ufffd" + "",[["columnMode","flex","identifier","unique_id","forceIdentifier","true","selectionType","single",3,"data","columns","searchableObjects","serverSide","count","hasDetails","status","maxLimit","autoReload","fetchData","setExpandedRow","updateSelection"],["table",""],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],["parentTpl",""],["mirroringTpl",""],["ScheduleTpl",""],["flattenTpl",""],["deleteTpl",""],["removingStatTpl",""],["forcePromoteConfirmation",""],["imageUsageTpl",""],["usageTooltip",""],[4,"ngIf"],["class","badge badge-info",4,"ngIf","ngIfElse"],["class","badge badge-info",4,"ngIf"],["probb",""],[1,"badge","badge-info"],s,t,["class","alert alert-warning","role","alert",4,"ngIf"],["role","alert",1,"alert","alert-warning"],o,i,[4,"ngFor","ngForOf"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],["title",_,3,"class",4,"ngIf"],["title",_],["type","warning"],[1,"m-4"],a,[3,"ngbTooltip",4,"ngIf","ngIfElse"],["usageBar",""],[3,"ngbTooltip"],["decimals","2",3,"total","used","title",4,"ngIf"],["decimals","2",3,"total","used","title"],[3,"innerHtml"]]},template:function(t,o){1&t&&(e._UZ(0,"cd-rbd-tabs"),e.TgZ(1,"cd-table",0,1),e.NdJ("fetchData",function(_){return o.taskListService.fetch(_)})("setExpandedRow",function(_){return o.setExpandedRow(_)})("updateSelection",function(_){return o.updateSelection(_)}),e._UZ(3,"cd-table-actions",2)(4,"cd-rbd-details",3),e.qZA(),e.YNc(5,Ea,2,2,"ng-template",null,4,e.W1O),e.YNc(7,Pa,8,5,"ng-template",null,5,e.W1O),e.YNc(9,Ia,1,1,"ng-template",null,6,e.W1O),e.YNc(11,Na,13,3,"ng-template",null,7,e.W1O),e.YNc(13,va,1,1,"ng-template",null,8,e.W1O),e.YNc(15,xa,5,5,"ng-template",null,9,e.W1O),e.YNc(17,Za,5,1,"ng-template",null,10,e.W1O),e.YNc(19,Ka,3,2,"ng-template",null,11,e.W1O),e.YNc(21,qa,1,1,"ng-template",null,12,e.W1O)),2&t&&(e.xp6(1),e.Q6J("data",o.images)("columns",o.columns)("searchableObjects",!0)("serverSide",!0)("count",o.count)("hasDetails",!0)("status",o.tableStatus)("maxLimit",25)("autoReload",-1),e.xp6(2),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions),e.xp6(1),e.Q6J("selection",o.expandedRow))},dependencies:[l.mk,l.sg,l.O5,b._L,R_.O,nt.G,te.a,Ae.K,na,We,Be.N],styles:[".warn[_ngcontent-%COMP%]{color:#d48200}"]}),n})();function za(n,s){1&n&&e._UZ(0,"input",19)}function Ja(n,s){1&n&&(e.TgZ(0,"option",23),e.SDv(1,24),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Ya(n,s){1&n&&(e.TgZ(0,"option",23),e.SDv(1,25),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Va(n,s){1&n&&(e.TgZ(0,"option",23),e.SDv(1,26),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Ua(n,s){if(1&n&&(e.TgZ(0,"option",27),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.pool_name),e.xp6(1),e.Oqu(t.pool_name)}}function ja(n,s){if(1&n&&(e.TgZ(0,"select",20),e.YNc(1,Ja,2,1,"option",21),e.YNc(2,Ya,2,1,"option",21),e.YNc(3,Va,2,1,"option",21),e.YNc(4,Ua,2,2,"option",22),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",null===t.pools),e.xp6(1),e.Q6J("ngIf",null!==t.pools&&0===t.pools.length),e.xp6(1),e.Q6J("ngIf",null!==t.pools&&t.pools.length>0),e.xp6(1),e.Q6J("ngForOf",t.pools)}}function Wa(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,29),e.qZA())}function er(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,30),e.qZA())}function tr(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,31),e.qZA())}let or=(()=>{class n{constructor(t,o,i,_,a,c){this.activeModal=t,this.actionLabels=o,this.authStorageService=i,this.notificationService=_,this.poolService=a,this.rbdService=c,this.pools=null,this.editing=!1,this.poolPermission=this.authStorageService.getPermissions().pool,this.createForm()}createForm(){this.namespaceForm=new Z.d({pool:new r.p4(""),namespace:new r.p4("")},this.validator(),this.asyncValidator())}validator(){return t=>{const o=t.get("pool"),i=t.get("namespace");let _=null;o.value||(_={required:!0}),o.setErrors(_);let a=null;return i.value||(a={required:!0}),i.setErrors(a),null}}asyncValidator(){return t=>new Promise(o=>{const i=t.get("pool"),_=t.get("namespace");this.rbdService.listNamespaces(i.value).subscribe(a=>{if(a.some(c=>c.namespace===_.value)){const c={namespaceExists:!0};_.setErrors(c),o(c)}else o(null)})})}ngOnInit(){this.onSubmit=new $t.xQ,this.poolPermission.read&&this.poolService.list(["pool_name","type","application_metadata"]).then(t=>{const o=[];for(const i of t)this.rbdService.isRBDPool(i)&&"replicated"===i.type&&o.push(i);if(this.pools=o,1===this.pools.length){const i=this.pools[0].pool_name;this.namespaceForm.get("pool").setValue(i)}})}submit(){const t=this.namespaceForm.getValue("pool"),o=this.namespaceForm.getValue("namespace"),i=new R.R;i.name="rbd/namespace/create",i.metadata={pool:t,namespace:o},this.rbdService.createNamespace(t,o).toPromise().then(()=>{this.notificationService.show(ot.k.success,"Created namespace '" + t + "/" + o + "'"),this.activeModal.close(),this.onSubmit.next()}).catch(()=>{this.namespaceForm.setErrors({cdSubmitButton:!0})})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(b.Kz),e.Y36(N.p4),e.Y36(_e.j),e.Y36(ve.g),e.Y36(Je.q),e.Y36(H))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-namespace-form-modal"]],decls:23,vars:9,consts:function(){let s,t,o,i,_,a,c,d,g;return s="Create Namespace",t="Pool",o="Name",i="Loading...",_="-- No rbd pools available --",a="-- Select a pool --",c="This field is required.",d="This field is required.",g="Namespace already exists.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","namespaceForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","pool",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],["class","form-control","type","text","placeholder","Pool name...","id","pool","name","pool","formControlName","pool",4,"ngIf"],["id","pool","name","pool","class","form-select","formControlName","pool",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],["for","namespace",1,"cd-col-form-label","required"],o,["type","text","placeholder","Namespace name...","id","namespace","name","namespace","formControlName","namespace","autofocus","",1,"form-control"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],["type","text","placeholder","Pool name...","id","pool","name","pool","formControlName","pool",1,"form-control"],["id","pool","name","pool","formControlName","pool",1,"form-select"],[3,"ngValue",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"ngValue"],i,_,a,[3,"value"],[1,"invalid-feedback"],c,d,g]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"div",7)(8,"label",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"div",10),e.YNc(11,za,1,0,"input",11),e.YNc(12,ja,5,4,"select",12),e.YNc(13,Wa,2,0,"span",13),e.qZA()(),e.TgZ(14,"div",7)(15,"label",14),e.SDv(16,15),e.qZA(),e.TgZ(17,"div",10),e._UZ(18,"input",16),e.YNc(19,er,2,0,"span",13),e.YNc(20,tr,2,0,"span",13),e.qZA()()(),e.TgZ(21,"div",17)(22,"cd-form-button-panel",18),e.NdJ("submitActionEvent",function(){return o.submit()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.namespaceForm),e.xp6(7),e.Q6J("ngIf",!o.poolPermission.read),e.xp6(1),e.Q6J("ngIf",o.poolPermission.read),e.xp6(1),e.Q6J("ngIf",o.namespaceForm.showError("pool",i,"required")),e.xp6(6),e.Q6J("ngIf",o.namespaceForm.showError("namespace",i,"required")),e.xp6(1),e.Q6J("ngIf",o.namespaceForm.showError("namespace",i,"namespaceExists")),e.xp6(2),e.Q6J("form",o.namespaceForm)("submitText",o.actionLabels.CREATE)}},dependencies:[l.sg,l.O5,r._Y,r.YN,r.Kr,r.Fj,r.EJ,r.JJ,r.JL,r.sg,r.u,f.z,A.p,Pe.U,M.o,B.b,q.P,Y.V]}),n})(),nr=(()=>{class n{constructor(t,o,i,_,a,c){this.authStorageService=t,this.rbdService=o,this.poolService=i,this.modalService=_,this.notificationService=a,this.actionLabels=c,this.selection=new he.r,this.permission=this.authStorageService.getPermissions().rbdImage,this.tableActions=[{permission:"create",icon:T.P.add,click:()=>this.createModal(),name:this.actionLabels.CREATE},{permission:"delete",icon:T.P.destroy,click:()=>this.deleteModal(),name:this.actionLabels.DELETE,disable:()=>this.getDeleteDisableDesc()}]}ngOnInit(){this.columns=[{name:"Namespace",prop:"namespace",flexGrow:1},{name:"Pool",prop:"pool",flexGrow:1},{name:"Total images",prop:"num_images",flexGrow:1}],this.refresh()}refresh(){this.poolService.list(["pool_name","type","application_metadata"]).then(t=>{t=t.filter(i=>this.rbdService.isRBDPool(i)&&"replicated"===i.type);const o=[];t.forEach(i=>{o.push(this.rbdService.listNamespaces(i.pool_name))}),o.length>0?(0,de.D)(o).subscribe(i=>{const _=[];for(let a=0;a<i.length;a++){const d=t[a].pool_name;i[a].forEach(g=>{_.push({id:`${d}/${g.namespace}`,pool:d,namespace:g.namespace,num_images:g.num_images})})}this.namespaces=_}):this.namespaces=[]})}updateSelection(t){this.selection=t}createModal(){this.modalRef=this.modalService.show(or),this.modalRef.componentInstance.onSubmit.subscribe(()=>{this.refresh()})}deleteModal(){const t=this.selection.first().pool,o=this.selection.first().namespace;this.modalRef=this.modalService.show(ge.M,{itemDescription:"Namespace",itemNames:[`${t}/${o}`],submitAction:()=>this.rbdService.deleteNamespace(t,o).subscribe(()=>{this.notificationService.show(ot.k.success,"Deleted namespace '" + t + "/" + o + "'"),this.modalRef.close(),this.refresh()},()=>{this.modalRef.componentInstance.stopLoadingSpinner()})})}getDeleteDisableDesc(){return this.selection.first()?.num_images>0?"Namespace contains images":!this.selection?.first()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(_e.j),e.Y36(H),e.Y36(Je.q),e.Y36(me.Z),e.Y36(ve.g),e.Y36(N.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-namespace-list"]],features:[e._Bn([pe.j])],decls:4,vars:5,consts:[["columnMode","flex","identifier","id","forceIdentifier","true","selectionType","single",3,"data","columns","fetchData","updateSelection"],[1,"table-actions","btn-toolbar"],[1,"btn-group",3,"permission","selection","tableActions"]],template:function(t,o){1&t&&(e._UZ(0,"cd-rbd-tabs"),e.TgZ(1,"cd-table",0),e.NdJ("fetchData",function(){return o.refresh()})("updateSelection",function(_){return o.updateSelection(_)}),e.TgZ(2,"div",1),e._UZ(3,"cd-table-actions",2),e.qZA()()),2&t&&(e.xp6(1),e.Q6J("data",o.namespaces)("columns",o.columns),e.xp6(2),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions))},dependencies:[te.a,Ae.K,We]}),n})(),ir=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-performance"]],decls:2,vars:2,consts:function(){let s;return s="RBD overview",[["title",s,"uid","41FrpeUiz","grafanaStyle","two",3,"grafanaPath","type"]]},template:function(t,o){1&t&&e._UZ(0,"cd-rbd-tabs")(1,"cd-grafana",0),2&t&&(e.xp6(1),e.Q6J("grafanaPath","rbd-overview?")("type","metrics"))},dependencies:[Dt.F,We]}),n})();var sr=p(91801);function _r(n,s){1&n&&e._UZ(0,"input",15)}function ar(n,s){if(1&n&&(e.TgZ(0,"option",20),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function rr(n,s){if(1&n&&(e.TgZ(0,"select",16)(1,"option",17),e.SDv(2,18),e.qZA(),e.YNc(3,ar,2,2,"option",19),e.qZA()),2&n){const t=e.oxw();e.xp6(3),e.Q6J("ngForOf",t.pools)}}let lr=(()=>{class n{constructor(t,o,i,_,a,c,d){this.authStorageService=t,this.rbdService=o,this.activeModal=i,this.actionLabels=_,this.fb=a,this.poolService=c,this.taskWrapper=d,this.poolPermission=this.authStorageService.getPermissions().pool}createForm(){this.purgeForm=this.fb.group({poolName:""})}ngOnInit(){this.poolPermission.read&&this.poolService.list(["pool_name","application_metadata"]).then(t=>{this.pools=t.filter(o=>o.application_metadata.includes("rbd")).map(o=>o.pool_name)}),this.createForm()}purge(){const t=this.purgeForm.getValue("poolName")||"";this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/trash/purge",{pool_name:t}),call:this.rbdService.purgeTrash(t)}).subscribe({error:()=>{this.purgeForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(_e.j),e.Y36(H),e.Y36(b.Kz),e.Y36(N.p4),e.Y36(dt.O),e.Y36(Je.q),e.Y36(u.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-trash-purge-modal"]],decls:18,vars:6,consts:function(){let s,t,o,i,_;return s="Purge Trash",t="To purge, select\xA0 " + "[\ufffd#9\ufffd|\ufffd#10\ufffd]" + "All" + "[\ufffd/#9\ufffd|\ufffd/#10\ufffd]" + "\xA0 or one pool and click\xA0 " + "[\ufffd#9\ufffd|\ufffd#10\ufffd]" + "Purge" + "[\ufffd/#9\ufffd|\ufffd/#10\ufffd]" + ".\xA0",t=e.Zx4(t),o="Pool:",i="Pool name...",_="All",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","purgeForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],t,[1,"form-group"],[1,"col-form-label","mx-auto"],o,["class","form-control","type","text","placeholder",i,"formControlName","poolName",4,"ngIf"],["id","poolName","name","poolName","class","form-control","formControlName","poolName",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],["type","text","placeholder",i,"formControlName","poolName",1,"form-control"],["id","poolName","name","poolName","formControlName","poolName",1,"form-control"],["value",""],_,[3,"value",4,"ngFor","ngForOf"],[3,"value"]]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p"),e.tHW(8,7),e._UZ(9,"kbd")(10,"kbd"),e.N_p(),e.qZA(),e.TgZ(11,"div",8)(12,"label",9),e.SDv(13,10),e.qZA(),e.YNc(14,_r,1,0,"input",11),e.YNc(15,rr,4,1,"select",12),e.qZA()(),e.TgZ(16,"div",13)(17,"cd-form-button-panel",14),e.NdJ("submitActionEvent",function(){return o.purge()}),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.purgeForm),e.xp6(10),e.Q6J("ngIf",!o.poolPermission.read),e.xp6(1),e.Q6J("ngIf",o.poolPermission.read),e.xp6(2),e.Q6J("form",o.purgeForm)("submitText",o.actionLabels.PURGE))},dependencies:[l.sg,l.O5,r._Y,r.YN,r.Kr,r.Fj,r.EJ,r.JJ,r.JL,r.sg,r.u,f.z,A.p,M.o,B.b,q.P,Y.V]}),n})();function cr(n,s){1&n&&(e.TgZ(0,"span",15),e.SDv(1,16),e.qZA())}let dr=(()=>{class n{constructor(t,o,i,_,a){this.rbdService=t,this.activeModal=o,this.actionLabels=i,this.fb=_,this.taskWrapper=a}ngOnInit(){this.imageSpec=new v.N(this.poolName,this.namespace,this.imageName).toString(),this.restoreForm=this.fb.group({name:this.imageName})}restore(){const t=this.restoreForm.getValue("name"),o=new v.N(this.poolName,this.namespace,this.imageId);this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/trash/restore",{image_id_spec:o.toString(),new_image_name:t}),call:this.rbdService.restoreTrash(o,t)}).subscribe({error:()=>{this.restoreForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(H),e.Y36(b.Kz),e.Y36(N.p4),e.Y36(dt.O),e.Y36(u.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-trash-restore-modal"]],decls:18,vars:7,consts:function(){let s,t,o,i;return s="Restore Image",t="To restore\xA0 " + "[\ufffd#9\ufffd|\ufffd#10\ufffd]" + "" + "\ufffd0\ufffd" + "@" + "\ufffd1\ufffd" + "" + "[\ufffd/#9\ufffd|\ufffd/#10\ufffd]" + ",\xA0 type the image's new name and click\xA0 " + "[\ufffd#9\ufffd|\ufffd#10\ufffd]" + "Restore" + "[\ufffd/#9\ufffd|\ufffd/#10\ufffd]" + ".",t=e.Zx4(t),o="New Name",i="This field is required.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","restoreForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],t,[1,"form-group"],["for","name",1,"col-form-label"],o,["type","text","name","name","id","name","autocomplete","off","formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],i]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p"),e.tHW(8,7),e._UZ(9,"kbd")(10,"kbd"),e.N_p(),e.qZA(),e.TgZ(11,"div",8)(12,"label",9),e.SDv(13,10),e.qZA(),e._UZ(14,"input",11),e.YNc(15,cr,2,0,"span",12),e.qZA()(),e.TgZ(16,"div",13)(17,"cd-form-button-panel",14),e.NdJ("submitActionEvent",function(){return o.restore()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.restoreForm),e.xp6(6),e.pQV(o.imageSpec)(o.imageId),e.QtT(8),e.xp6(5),e.Q6J("ngIf",o.restoreForm.showError("name",i,"required")),e.xp6(2),e.Q6J("form",o.restoreForm)("submitText",o.actionLabels.RESTORE)}},dependencies:[l.O5,r._Y,r.Fj,r.JJ,r.JL,r.sg,r.u,f.z,A.p,Pe.U,M.o,B.b,q.P,Y.V]}),n})();const pr=["expiresTpl"],ur=["deleteTpl"],mr=function(n){return[n]};function gr(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"button",6),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.purgeModal())}),e._UZ(1,"i",7),e.ynx(2),e.SDv(3,8),e.BQk(),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("disabled",t.disablePurgeBtn),e.xp6(1),e.Q6J("ngClass",e.VKq(2,mr,t.icons.destroy))}}function Tr(n,s){1&n&&(e.ynx(0),e.SDv(1,10),e.BQk())}function fr(n,s){1&n&&(e.ynx(0),e.SDv(1,11),e.BQk())}function Cr(n,s){if(1&n&&(e.YNc(0,Tr,2,0,"ng-container",9),e.YNc(1,fr,2,0,"ng-container",9),e._uU(2),e.ALo(3,"cdDate")),2&n){const t=s.row,o=s.value;e.Q6J("ngIf",t.cdIsExpired),e.xp6(1),e.Q6J("ngIf",!t.cdIsExpired),e.xp6(1),e.hij(" ",e.lcZ(3,3,o),"\n")}}function Sr(n,s){if(1&n&&(e.TgZ(0,"p",13)(1,"strong"),e.ynx(2),e.SDv(3,14),e.ALo(4,"cdDate"),e.BQk(),e.qZA()()),2&n){const t=e.oxw().expiresAt;e.xp6(4),e.pQV(e.lcZ(4,1,t)),e.QtT(3)}}function Er(n,s){1&n&&e.YNc(0,Sr,5,3,"p",12),2&n&&e.Q6J("ngIf",!s.isExpired)}let Rr=(()=>{class n{constructor(t,o,i,_,a,c,d){this.authStorageService=t,this.rbdService=o,this.modalService=i,this.cdDatePipe=_,this.taskListService=a,this.taskWrapper=c,this.actionLabels=d,this.icons=T.P,this.executingTasks=[],this.selection=new he.r,this.tableStatus=new re.E,this.disablePurgeBtn=!0,this.permission=this.authStorageService.getPermissions().rbdImage,this.tableActions=[{permission:"update",icon:T.P.undo,click:()=>this.restoreModal(),name:this.actionLabels.RESTORE},{permission:"delete",icon:T.P.destroy,click:()=>this.deleteModal(),name:this.actionLabels.DELETE}]}ngOnInit(){this.columns=[{name:"ID",prop:"id",flexGrow:1,cellTransformation:Le.e.executing},{name:"Name",prop:"name",flexGrow:1},{name:"Pool",prop:"pool_name",flexGrow:1},{name:"Namespace",prop:"namespace",flexGrow:1},{name:"Status",prop:"deferment_end_time",flexGrow:1,cellTemplate:this.expiresTpl},{name:"Deleted At",prop:"deletion_time",flexGrow:1,pipe:this.cdDatePipe}],this.taskListService.init(()=>this.rbdService.listTrash(),i=>this.prepareResponse(i),i=>this.images=i,()=>this.onFetchError(),i=>["rbd/trash/remove","rbd/trash/restore"].includes(i.name),(i,_)=>new v.N(i.pool_name,i.namespace,i.id).toString()===_.metadata.image_id_spec,void 0)}prepareResponse(t){let o=[];const i={};let _;if(t.forEach(a=>{C().isUndefined(i[a.status])&&(i[a.status]=[]),i[a.status].push(a.pool_name),o=o.concat(a.value),this.disablePurgeBtn=!o.length}),i[3]?_=3:i[1]?_=1:i[2]&&(_=2),_){const a=(i[_].length>1?"pools ":"pool ")+i[_].join();this.tableStatus=new re.E(_,a)}else this.tableStatus=new re.E;return o.forEach(a=>{a.cdIsExpired=be()().isAfter(a.deferment_end_time)}),o}onFetchError(){this.table.reset(),this.tableStatus=new re.E(sr.T.ValueException)}updateSelection(t){this.selection=t}restoreModal(){const t={poolName:this.selection.first().pool_name,namespace:this.selection.first().namespace,imageName:this.selection.first().name,imageId:this.selection.first().id};this.modalRef=this.modalService.show(dr,t)}deleteModal(){const t=this.selection.first().pool_name,o=this.selection.first().namespace,i=this.selection.first().id,_=this.selection.first().deferment_end_time,a=be()().isAfter(_),c=new v.N(t,o,i);this.modalRef=this.modalService.show(ge.M,{itemDescription:"RBD",itemNames:[c],bodyTemplate:this.deleteTpl,bodyContext:{expiresAt:_,isExpired:a},submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new R.R("rbd/trash/remove",{image_id_spec:c.toString()}),call:this.rbdService.removeTrash(c,!0)})})}purgeModal(){this.modalService.show(lr)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(_e.j),e.Y36(H),e.Y36(me.Z),e.Y36(Be.N),e.Y36(pe.j),e.Y36(u.P),e.Y36(N.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-trash-list"]],viewQuery:function(t,o){if(1&t&&(e.Gf(te.a,7),e.Gf(pr,7),e.Gf(ur,7)),2&t){let i;e.iGM(i=e.CRH())&&(o.table=i.first),e.iGM(i=e.CRH())&&(o.expiresTpl=i.first),e.iGM(i=e.CRH())&&(o.deleteTpl=i.first)}},features:[e._Bn([pe.j])],decls:9,vars:8,consts:function(){let s,t,o,i;return s="Purge Trash",t="Expired at",o="Protected until",i="This image is protected until " + "\ufffd0\ufffd" + ".",[["columnMode","flex","identifier","id","forceIdentifier","true","selectionType","single",3,"data","columns","status","autoReload","fetchData","updateSelection"],[1,"table-actions","btn-toolbar"],[1,"btn-group",3,"permission","selection","tableActions"],["class","btn btn-light","type","button",3,"disabled","click",4,"ngIf"],["expiresTpl",""],["deleteTpl",""],["type","button",1,"btn","btn-light",3,"disabled","click"],["aria-hidden","true",3,"ngClass"],s,[4,"ngIf"],t,o,["class","text-danger",4,"ngIf"],[1,"text-danger"],i]},template:function(t,o){1&t&&(e._UZ(0,"cd-rbd-tabs"),e.TgZ(1,"cd-table",0),e.NdJ("fetchData",function(){return o.taskListService.fetch()})("updateSelection",function(_){return o.updateSelection(_)}),e.TgZ(2,"div",1),e._UZ(3,"cd-table-actions",2),e.YNc(4,gr,4,4,"button",3),e.qZA()(),e.YNc(5,Cr,4,5,"ng-template",null,4,e.W1O),e.YNc(7,Er,1,1,"ng-template",null,5,e.W1O)),2&t&&(e.xp6(1),e.Q6J("data",o.images)("columns",o.columns)("status",o.tableStatus)("autoReload",-1),e.xp6(2),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions),e.xp6(1),e.Q6J("ngIf",o.permission.delete))},dependencies:[l.mk,l.O5,te.a,Ae.K,M.o,We,Be.N]}),n})(),Bt=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[l.ez,si,r.u5,r.UX,b.Oz,b.dT,b.HK,Oe.b,se.m,m.Bz,ie.xc]}),n})();const Mr=[{path:"",redirectTo:"rbd",pathMatch:"full"},{path:"rbd",canActivate:[k.T,U.P],data:{moduleStatusGuardConfig:{uiApiPath:"block/rbd",redirectTo:"error",header:"No RBD pools available",button_name:"Create RBD pool",button_route:"/pool/create"},breadcrumbs:"Images"},children:[{path:"",component:Qa},{path:"namespaces",component:nr,data:{breadcrumbs:"Namespaces"}},{path:"trash",component:Rr,data:{breadcrumbs:"Trash"}},{path:"performance",component:ir,data:{breadcrumbs:"Overall Performance"}},{path:N.MQ.CREATE,component:$e,data:{breadcrumbs:N.Qn.CREATE}},{path:`${N.MQ.EDIT}/:image_spec`,component:$e,data:{breadcrumbs:N.Qn.EDIT}},{path:`${N.MQ.CLONE}/:image_spec/:snap`,component:$e,data:{breadcrumbs:N.Qn.CLONE}},{path:`${N.MQ.COPY}/:image_spec`,component:$e,data:{breadcrumbs:N.Qn.COPY}},{path:`${N.MQ.COPY}/:image_spec/:snap`,component:$e,data:{breadcrumbs:N.Qn.COPY}}]},{path:"mirroring",component:_s,canActivate:[k.T,U.P],data:{moduleStatusGuardConfig:{uiApiPath:"block/mirroring",redirectTo:"error",header:"RBD mirroring is not configured",button_name:"Configure RBD Mirroring",button_title:"This will create rbd-mirror service and a replicated RBD pool",component:"RBD Mirroring",uiConfig:!0},breadcrumbs:"Mirroring"},children:[{path:`${N.MQ.EDIT}/:pool_name`,component:cs,outlet:"modal"}]},{path:"iscsi",canActivate:[k.T],data:{breadcrumbs:"iSCSI"},children:[{path:"",redirectTo:"overview",pathMatch:"full"},{path:"overview",component:ii,data:{breadcrumbs:"Overview"}},{path:"targets",data:{breadcrumbs:"Targets"},children:[{path:"",component:Kn},{path:N.MQ.CREATE,component:Tt,data:{breadcrumbs:N.Qn.CREATE}},{path:`${N.MQ.EDIT}/:target_iqn`,component:Tt,data:{breadcrumbs:N.Qn.EDIT}}]}]}];let Or=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[Bt,m.Bz.forChild(Mr)]}),n})()},60950:(et,ue,p)=>{p.d(ue,{d:()=>J});var l=p(64537),r=p(20092),m=p(23815),ie=p.n(m),b=p(7357),Oe=p(65862),N=p(95463),k=p(30633),U=p(28211),se=p(34089),j=p(88692),C=p(18372),de=p(20044);let L=(()=>{class h{constructor(u,f,A,M){this.elementRef=u,this.control=f,this.dimlessBinaryPerSecondPipe=A,this.formatter=M,this.ngModelChange=new l.vpe,this.el=this.elementRef.nativeElement}ngOnInit(){this.setValue(this.el.value),this.ngDataReady&&this.ngDataReady.subscribe(()=>this.setValue(this.el.value))}setValue(u){/^[\d.]+$/.test(u)&&(u+=this.defaultUnit||"m");const f=this.formatter.toBytes(u,0),A=this.round(f);this.el.value=this.dimlessBinaryPerSecondPipe.transform(A),null!==f?(this.ngModelChange.emit(this.el.value),this.control.control.setValue(this.el.value)):(this.ngModelChange.emit(null),this.control.control.setValue(null))}round(u){if(null!==u&&0!==u){if(!ie().isUndefined(this.minBytes)&&u<this.minBytes)return this.minBytes;if(!ie().isUndefined(this.maxBytes)&&u>this.maxBytes)return this.maxBytes;if(!ie().isUndefined(this.roundPower)){const f=Math.round(Math.log(u)/Math.log(this.roundPower));return Math.pow(this.roundPower,f)}}return u}onBlur(u){this.setValue(u)}}return h.\u0275fac=function(u){return new(u||h)(l.Y36(l.SBq),l.Y36(r.a5),l.Y36(de.O),l.Y36(U.H))},h.\u0275dir=l.lG2({type:h,selectors:[["","cdDimlessBinaryPerSecond",""]],hostBindings:function(u,f){1&u&&l.NdJ("blur",function(M){return f.onBlur(M.target.value)})},inputs:{ngDataReady:"ngDataReady",minBytes:"minBytes",maxBytes:"maxBytes",roundPower:"roundPower",defaultUnit:"defaultUnit"},outputs:{ngModelChange:"ngModelChange"}}),h})(),ae=(()=>{class h{constructor(u,f){this.control=u,this.formatter=f}setValue(u){const f=this.formatter.toMilliseconds(u);this.control.control.setValue(`${f} ms`)}ngOnInit(){this.setValue(this.control.value),this.ngDataReady&&this.ngDataReady.subscribe(()=>this.setValue(this.control.value))}onUpdate(u){this.setValue(u)}}return h.\u0275fac=function(u){return new(u||h)(l.Y36(r.a5),l.Y36(U.H))},h.\u0275dir=l.lG2({type:h,selectors:[["","cdMilliseconds",""]],hostBindings:function(u,f){1&u&&l.NdJ("blur",function(M){return f.onUpdate(M.target.value)})},inputs:{ngDataReady:"ngDataReady"}}),h})(),W=(()=>{class h{constructor(u,f){this.formatter=u,this.ngControl=f}setValue(u){const f=this.formatter.toIops(u);this.ngControl.control.setValue(`${f} IOPS`)}ngOnInit(){this.setValue(this.ngControl.value),this.ngDataReady&&this.ngDataReady.subscribe(()=>this.setValue(this.ngControl.value))}onUpdate(u){this.setValue(u)}}return h.\u0275fac=function(u){return new(u||h)(l.Y36(U.H),l.Y36(r.a5))},h.\u0275dir=l.lG2({type:h,selectors:[["","cdIops",""]],hostBindings:function(u,f){1&u&&l.NdJ("blur",function(M){return f.onUpdate(M.target.value)})},inputs:{ngDataReady:"ngDataReady"}}),h})();var e=p(87925),Q=p(94276),Fe=p(56310),De=p(41582);function v(h,R){if(1&h&&(l.ynx(0),l._UZ(1,"input",17),l.BQk()),2&h){const u=l.oxw().$implicit,f=l.oxw(2);l.xp6(1),l.Q6J("id",u.name)("name",u.name)("formControlName",u.name)("ngDataReady",f.ngDataReady)}}function Ie(h,R){if(1&h&&(l.ynx(0),l._UZ(1,"input",18),l.BQk()),2&h){const u=l.oxw().$implicit,f=l.oxw(2);l.xp6(1),l.Q6J("id",u.name)("name",u.name)("formControlName",u.name)("ngDataReady",f.ngDataReady)}}function H(h,R){if(1&h&&(l.ynx(0),l._UZ(1,"input",19),l.BQk()),2&h){const u=l.oxw().$implicit,f=l.oxw(2);l.xp6(1),l.Q6J("id",u.name)("name",u.name)("formControlName",u.name)("ngDataReady",f.ngDataReady)}}function F(h,R){1&h&&(l.TgZ(0,"span",20),l.SDv(1,21),l.qZA())}const x=function(h){return{active:h}},T=function(h){return[h]};function K(h,R){if(1&h){const u=l.EpF();l.TgZ(0,"div",10)(1,"label",11),l._uU(2),l.TgZ(3,"cd-helper"),l._uU(4),l.qZA()(),l.TgZ(5,"div")(6,"div",12),l.ynx(7,13),l.YNc(8,v,2,4,"ng-container",14),l.YNc(9,Ie,2,4,"ng-container",14),l.YNc(10,H,2,4,"ng-container",14),l.BQk(),l.TgZ(11,"button",15),l.NdJ("click",function(){const M=l.CHM(u).$implicit,B=l.oxw(2);return l.KtG(B.reset(M.name))}),l._UZ(12,"i",7),l.qZA()(),l.YNc(13,F,2,0,"span",16),l.qZA()()}if(2&h){const u=R.$implicit,f=l.oxw().$implicit,A=l.oxw(),M=l.MAs(1);l.xp6(1),l.Q6J("for",u.name),l.xp6(1),l.Oqu(u.displayName),l.xp6(2),l.Oqu(u.description),l.xp6(1),l.Gre("cd-col-form-input ",f.heading,""),l.xp6(2),l.Q6J("ngSwitch",u.type),l.xp6(1),l.Q6J("ngSwitchCase",A.configurationType.milliseconds),l.xp6(1),l.Q6J("ngSwitchCase",A.configurationType.bps),l.xp6(1),l.Q6J("ngSwitchCase",A.configurationType.iops),l.xp6(1),l.Q6J("ngClass",l.VKq(13,x,A.isDisabled(u.name))),l.xp6(1),l.Q6J("ngClass",l.VKq(15,T,A.icons.erase)),l.xp6(1),l.Q6J("ngIf",A.form.showError("configuration."+u.name,M,"min"))}}function Z(h,R){if(1&h){const u=l.EpF();l.TgZ(0,"div",4)(1,"h5",5)(2,"span",6),l.NdJ("click",function(){const M=l.CHM(u).$implicit,B=l.oxw();return l.KtG(B.toggleSectionVisibility(M.class))}),l._uU(3),l._UZ(4,"i",7),l.qZA()(),l.TgZ(5,"div",8),l.YNc(6,K,14,17,"div",9),l.qZA()()}if(2&h){const u=R.$implicit,f=l.oxw();l.xp6(3),l.hij(" ",u.heading," "),l.xp6(1),l.Q6J("ngClass",f.sectionVisibility[u.class]?f.icons.minusCircle:f.icons.addCircle),l.xp6(1),l.Tol(u.class),l.Q6J("hidden",!f.sectionVisibility[u.class]),l.xp6(1),l.Q6J("ngForOf",u.options)}}let J=(()=>{class h{constructor(u,f){this.formatterService=u,this.rbdConfigurationService=f,this.initializeData=new b.t(1),this.changes=new l.vpe,this.icons=Oe.P,this.ngDataReady=new l.vpe,this.configurationType=k.r,this.sectionVisibility={}}ngOnInit(){const u=this.createConfigurationFormGroup();this.form.addControl("configuration",u),u.valueChanges.subscribe(()=>{this.changes.emit(this.getDirtyValues.bind(this))}),this.initializeData&&this.initializeData.subscribe(f=>{this.initialData=f.initialData;const A=f.sourceType;this.rbdConfigurationService.getWritableOptionFields().forEach(M=>{const B=f.initialData.filter(q=>q.name===M.name).pop();B&&B.source===A&&this.form.get(`configuration.${M.name}`).setValue(B.value)}),this.ngDataReady.emit()}),this.rbdConfigurationService.getWritableSections().forEach(f=>this.sectionVisibility[f.class]=!1)}getDirtyValues(u=!1,f){if(u&&!f)throw new Error("ProgrammingError: If local values shall be included, a proper localFieldType argument has to be provided, too");const A={};return this.rbdConfigurationService.getWritableOptionFields().forEach(M=>{const B=this.form.get("configuration").get(M.name);this.initialData&&this.initialData[M.name]===B.value||(B.dirty||u&&B.source===f)&&(A[M.name]=null===B.value?B.value:M.type===k.r.bps?this.formatterService.toBytes(B.value):M.type===k.r.milliseconds?this.formatterService.toMilliseconds(B.value):M.type===k.r.iops?this.formatterService.toIops(B.value):B.value)}),A}createConfigurationFormGroup(){const u=new N.d({});return this.rbdConfigurationService.getWritableOptionFields().forEach(f=>{let A;if(f.type!==k.r.milliseconds&&f.type!==k.r.iops&&f.type!==k.r.bps)throw new Error(`Type ${f.type} is unknown, you may need to add it to RbdConfiguration class`);{let M=0;ie().forEach(this.initialData,B=>{B.name===f.name&&(M=B.value)}),A=new r.p4(M,r.kI.min(0))}u.addControl(f.name,A)}),u}reset(u){const f=this.form.get("configuration").get(u);f.disabled?(f.setValue(f.previousValue||0),f.enable(),f.previousValue||f.markAsPristine()):(f.previousValue=f.value,f.setValue(null),f.markAsDirty(),f.disable())}isDisabled(u){return this.form.get("configuration").get(u).disabled}toggleSectionVisibility(u){this.sectionVisibility[u]=!this.sectionVisibility[u]}}return h.\u0275fac=function(u){return new(u||h)(l.Y36(U.H),l.Y36(se.n))},h.\u0275cmp=l.Xpm({type:h,selectors:[["cd-rbd-configuration-form"]],inputs:{form:"form",initializeData:"initializeData"},outputs:{changes:"changes"},decls:5,vars:2,consts:function(){let R,u,f;return R="RBD Configuration",u="Remove the local configuration value. The parent configuration value will be inherited and used instead.",f="The minimum value is 0",[[3,"formGroup"],["cfgFormGroup",""],R,["class","col-12",4,"ngFor","ngForOf"],[1,"col-12"],[1,"cd-header"],[1,"collapsible",3,"click"],["aria-hidden","true",3,"ngClass"],[3,"hidden"],["class","form-group row",4,"ngFor","ngForOf"],[1,"form-group","row"],[1,"cd-col-form-label",3,"for"],[1,"input-group"],[3,"ngSwitch"],[4,"ngSwitchCase"],["type","button","data-toggle","button","title",u,1,"btn","btn-light",3,"ngClass","click"],["class","invalid-feedback",4,"ngIf"],["type","text","cdMilliseconds","",1,"form-control",3,"id","name","formControlName","ngDataReady"],["type","text","defaultUnit","b","cdDimlessBinaryPerSecond","",1,"form-control",3,"id","name","formControlName","ngDataReady"],["type","text","cdIops","",1,"form-control",3,"id","name","formControlName","ngDataReady"],[1,"invalid-feedback"],f]},template:function(u,f){1&u&&(l.TgZ(0,"fieldset",0,1)(2,"legend"),l.SDv(3,2),l.qZA(),l.YNc(4,Z,7,7,"div",3),l.qZA()),2&u&&(l.Q6J("formGroup",f.form.get("configuration")),l.xp6(4),l.Q6J("ngForOf",f.rbdConfigurationService.sections))},dependencies:[j.mk,j.sg,j.O5,j.RF,j.n9,r.Fj,r.JJ,r.JL,r.sg,r.u,C.S,L,ae,W,e.o,Q.b,Fe.P,De.V],styles:[".collapsible[_ngcontent-%COMP%]{cursor:pointer;user-select:none}"]}),h})()},42176:(et,ue,p)=>{p.d(ue,{P:()=>H});var l=p(83697),r=p(30633),m=p(64537);let ie=(()=>{class F{transform(T){return{0:"global",1:"pool",2:"image"}[T]}}return F.\u0275fac=function(T){return new(T||F)},F.\u0275pipe=m.Yjl({name:"rbdConfigurationSource",type:F,pure:!0}),F})();var b=p(28211),Oe=p(34089),N=p(88692),k=p(20044),U=p(48537),se=p(21766);const j=["configurationSourceTpl"],C=["configurationValueTpl"],de=["poolConfTable"];function L(F,x){1&F&&(m.TgZ(0,"span"),m.SDv(1,6),m.qZA())}function ae(F,x){1&F&&(m.TgZ(0,"strong"),m.SDv(1,7),m.qZA())}function W(F,x){1&F&&(m.TgZ(0,"strong"),m.SDv(1,8),m.qZA())}function e(F,x){1&F&&(m.TgZ(0,"div",4),m.YNc(1,L,2,0,"span",5),m.YNc(2,ae,2,0,"strong",5),m.YNc(3,W,2,0,"strong",5),m.qZA()),2&F&&(m.Q6J("ngSwitch",x.value),m.xp6(1),m.Q6J("ngSwitchCase","global"),m.xp6(1),m.Q6J("ngSwitchCase","image"),m.xp6(1),m.Q6J("ngSwitchCase","pool"))}function Q(F,x){if(1&F&&(m.TgZ(0,"span"),m._uU(1),m.ALo(2,"dimlessBinaryPerSecond"),m.qZA()),2&F){const T=m.oxw().value;m.xp6(1),m.Oqu(m.lcZ(2,1,T))}}function Fe(F,x){if(1&F&&(m.TgZ(0,"span"),m._uU(1),m.ALo(2,"milliseconds"),m.qZA()),2&F){const T=m.oxw().value;m.xp6(1),m.Oqu(m.lcZ(2,1,T))}}function De(F,x){if(1&F&&(m.TgZ(0,"span"),m._uU(1),m.ALo(2,"iops"),m.qZA()),2&F){const T=m.oxw().value;m.xp6(1),m.Oqu(m.lcZ(2,1,T))}}function v(F,x){if(1&F&&(m.TgZ(0,"span"),m._uU(1),m.qZA()),2&F){const T=m.oxw().value;m.xp6(1),m.Oqu(T)}}function Ie(F,x){if(1&F&&(m.TgZ(0,"div",4),m.YNc(1,Q,3,3,"span",5),m.YNc(2,Fe,3,3,"span",5),m.YNc(3,De,3,3,"span",5),m.YNc(4,v,2,1,"span",9),m.qZA()),2&F){const T=x.row,K=m.oxw();m.Q6J("ngSwitch",T.type),m.xp6(1),m.Q6J("ngSwitchCase",K.typeField.bps),m.xp6(1),m.Q6J("ngSwitchCase",K.typeField.milliseconds),m.xp6(1),m.Q6J("ngSwitchCase",K.typeField.iops)}}let H=(()=>{class F{constructor(T,K){this.formatterService=T,this.rbdConfigurationService=K,this.sourceField=r.h,this.typeField=r.r}ngOnInit(){this.poolConfigurationColumns=[{prop:"displayName",name:"Name"},{prop:"description",name:"Description"},{prop:"name",name:"Key"},{prop:"source",name:"Source",cellTemplate:this.configurationSourceTpl,pipe:new ie},{prop:"value",name:"Value",cellTemplate:this.configurationValueTpl}]}ngOnChanges(){this.data&&(this.data=this.data.filter(T=>this.rbdConfigurationService.getOptionFields().map(K=>K.name).includes(T.name)))}}return F.\u0275fac=function(T){return new(T||F)(m.Y36(b.H),m.Y36(Oe.n))},F.\u0275cmp=m.Xpm({type:F,selectors:[["cd-rbd-configuration-table"]],viewQuery:function(T,K){if(1&T&&(m.Gf(j,7),m.Gf(C,7),m.Gf(de,7)),2&T){let Z;m.iGM(Z=m.CRH())&&(K.configurationSourceTpl=Z.first),m.iGM(Z=m.CRH())&&(K.configurationValueTpl=Z.first),m.iGM(Z=m.CRH())&&(K.poolConfTable=Z.first)}},inputs:{data:"data"},features:[m.TTD],decls:6,vars:2,consts:function(){let x,T,K;return x="Global",T="Image",K="Pool",[["identifier","name",3,"data","columns"],["poolConfTable",""],["configurationSourceTpl",""],["configurationValueTpl",""],[3,"ngSwitch"],[4,"ngSwitchCase"],x,T,K,[4,"ngSwitchDefault"]]},template:function(T,K){1&T&&(m._UZ(0,"cd-table",0,1),m.YNc(2,e,4,4,"ng-template",null,2,m.W1O),m.YNc(4,Ie,5,4,"ng-template",null,3,m.W1O)),2&T&&m.Q6J("data",K.data)("columns",K.poolConfigurationColumns)},dependencies:[N.RF,N.n9,N.ED,l.a,k.O,U.J,se.A]}),F})()},1372:(et,ue,p)=>{p.d(ue,{B:()=>N});var l=p(64537),r=p(88692),m=p(87925);const ie=function(k){return{collapsed:k}},b=function(k){return{show:k}},Oe=["*"];let N=(()=>{class k{constructor(){this.showAdvanced=!1}}return k.\u0275fac=function(se){return new(se||k)},k.\u0275cmp=l.Xpm({type:k,selectors:[["cd-form-advanced-fieldset"]],ngContentSelectors:Oe,decls:9,vars:6,consts:function(){let U;return U="Advanced ",[[1,"cd-header"],[1,"accordion","accordion-flush"],["type","button","id","advanced-fieldset","aria-label","toggle advanced mode",1,"accordion-button","cd-form-advanced-fieldset-buttton","p-0",3,"ngClass","click"],U,[1,"accordion-collapse","collapse",3,"ngClass"],[1,"accordion-body"],[1,"card-body"]]},template:function(se,j){1&se&&(l.F$t(),l.TgZ(0,"fieldset")(1,"legend",0)(2,"div",1)(3,"button",2),l.NdJ("click",function(){return j.showAdvanced=!j.showAdvanced}),l.SDv(4,3),l.qZA()()(),l.TgZ(5,"div",4)(6,"div",5)(7,"div",6),l.Hsn(8),l.qZA()()()()),2&se&&(l.xp6(3),l.Q6J("ngClass",l.VKq(2,ie,!j.showAdvanced)),l.xp6(2),l.Q6J("ngClass",l.VKq(4,b,j.showAdvanced)))},dependencies:[r.mk,m.o],styles:[".cd-form-advanced-fieldset-buttton[_ngcontent-%COMP%]{--bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);background-color:inherit;border:hidden;border-color:inherit;box-shadow:none;color:inherit;font-size:inherit;outline:0;text-decoration:none}"]}),k})()}}]); \ No newline at end of file
diff --git a/src/pybind/mgr/dashboard/frontend/dist/en-US/25.9d84971ea743706b.js b/src/pybind/mgr/dashboard/frontend/dist/en-US/25.9d84971ea743706b.js
deleted file mode 100644
index a9bdf87f6..000000000
--- a/src/pybind/mgr/dashboard/frontend/dist/en-US/25.9d84971ea743706b.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkceph_dashboard=self.webpackChunkceph_dashboard||[]).push([[25],{39025:(mt,Ae,p)=>{p.r(Ae),p.d(Ae,{BlockModule:()=>yt,RoutedBlockModule:()=>Or});var c=p(88692),r=p(20092),m=p(54247),ne=p(62946),F=p(51389),Ne=p(37496),L=p(79512),j=p(4222),re=p(54462),Pe=p(44466),le=p(23815),C=p.n(le),ce=p(35758),D=p(64762),ie=p(35732),V=p(93523),e=p(64537);let X=class{constructor(s){this.http=s}listTargets(){return this.http.get("api/iscsi/target")}getTarget(s){return this.http.get(`api/iscsi/target/${s}`)}updateTarget(s,t){return this.http.put(`api/iscsi/target/${s}`,t,{observe:"response"})}status(){return this.http.get("ui-api/iscsi/status")}settings(){return this.http.get("ui-api/iscsi/settings")}version(){return this.http.get("ui-api/iscsi/version")}portals(){return this.http.get("ui-api/iscsi/portals")}createTarget(s){return this.http.post("api/iscsi/target",s,{observe:"response"})}deleteTarget(s){return this.http.delete(`api/iscsi/target/${s}`,{observe:"response"})}getDiscovery(){return this.http.get("api/iscsi/discoveryauth")}updateDiscovery(s){return this.http.put("api/iscsi/discoveryauth",s)}overview(){return this.http.get("ui-api/iscsi/overview")}};X.\u0275fac=function(s){return new(s||X)(e.LFG(ie.eN))},X.\u0275prov=e.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X=(0,D.gn)([V.o,(0,D.w6)("design:paramtypes",[ie.eN])],X);var Fe=p(88002),De=p(76189),v=p(19358),be=p(34089);let H=class extends De.S{constructor(s,t){super(),this.http=s,this.rbdConfigurationService=t}isRBDPool(s){return-1!==C().indexOf(s.application_metadata,"rbd")&&!s.pool_name.includes("/")}create(s){return this.http.post("api/block/image",s,{observe:"response"})}delete(s){return this.http.delete(`api/block/image/${s.toStringEncoded()}`,{observe:"response"})}update(s,t){return this.http.put(`api/block/image/${s.toStringEncoded()}`,t,{observe:"response"})}get(s){return this.http.get(`api/block/image/${s.toStringEncoded()}`)}list(s){return this.http.get("api/block/image",{params:s,headers:{Accept:this.getVersionHeaderValue(2,0)},observe:"response"}).pipe((0,Fe.U)(t=>t.body.map(o=>(o.value.map(i=>(i.configuration&&i.configuration.map(_=>Object.assign(_,this.rbdConfigurationService.getOptionByName(_.name))),i)),o.headers=t.headers,o))))}copy(s,t){return this.http.post(`api/block/image/${s.toStringEncoded()}/copy`,t,{observe:"response"})}flatten(s){return this.http.post(`api/block/image/${s.toStringEncoded()}/flatten`,null,{observe:"response"})}defaultFeatures(){return this.http.get("api/block/image/default_features")}cloneFormatVersion(){return this.http.get("api/block/image/clone_format_version")}createSnapshot(s,t,o){const i={snapshot_name:t,mirrorImageSnapshot:o};return this.http.post(`api/block/image/${s.toStringEncoded()}/snap`,i,{observe:"response"})}renameSnapshot(s,t,o){const i={new_snap_name:o};return this.http.put(`api/block/image/${s.toStringEncoded()}/snap/${t}`,i,{observe:"response"})}protectSnapshot(s,t,o){const i={is_protected:o};return this.http.put(`api/block/image/${s.toStringEncoded()}/snap/${t}`,i,{observe:"response"})}rollbackSnapshot(s,t){return this.http.post(`api/block/image/${s.toStringEncoded()}/snap/${t}/rollback`,null,{observe:"response"})}cloneSnapshot(s,t,o){return this.http.post(`api/block/image/${s.toStringEncoded()}/snap/${t}/clone`,o,{observe:"response"})}deleteSnapshot(s,t){return this.http.delete(`api/block/image/${s.toStringEncoded()}/snap/${t}`,{observe:"response"})}listTrash(){return this.http.get("api/block/image/trash/")}createNamespace(s,t){return this.http.post(`api/block/pool/${s}/namespace`,{namespace:t},{observe:"response"})}listNamespaces(s){return this.http.get(`api/block/pool/${s}/namespace/`)}deleteNamespace(s,t){return this.http.delete(`api/block/pool/${s}/namespace/${t}`,{observe:"response"})}moveTrash(s,t){return this.http.post(`api/block/image/${s.toStringEncoded()}/move_trash`,{delay:t},{observe:"response"})}purgeTrash(s){return this.http.post(`api/block/image/trash/purge/?pool_name=${s}`,null,{observe:"response"})}restoreTrash(s,t){return this.http.post(`api/block/image/trash/${s.toStringEncoded()}/restore`,{new_image_name:t},{observe:"response"})}removeTrash(s,t=!1){return this.http.delete(`api/block/image/trash/${s.toStringEncoded()}/?force=${t}`,{observe:"response"})}};H.\u0275fac=function(s){return new(s||H)(e.LFG(ie.eN),e.LFG(be.n))},H.\u0275prov=e.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),(0,D.gn)([(0,D.fM)(1,V.G),(0,D.w6)("design:type",Function),(0,D.w6)("design:paramtypes",[v.N,String,Boolean]),(0,D.w6)("design:returntype",void 0)],H.prototype,"createSnapshot",null),(0,D.gn)([(0,D.fM)(2,V.G),(0,D.w6)("design:type",Function),(0,D.w6)("design:paramtypes",[v.N,String,String]),(0,D.w6)("design:returntype",void 0)],H.prototype,"renameSnapshot",null),(0,D.gn)([(0,D.fM)(2,V.G),(0,D.w6)("design:type",Function),(0,D.w6)("design:paramtypes",[v.N,String,Boolean]),(0,D.w6)("design:returntype",void 0)],H.prototype,"protectSnapshot",null),(0,D.gn)([(0,D.fM)(1,V.G),(0,D.w6)("design:type",Function),(0,D.w6)("design:paramtypes",[v.N,String]),(0,D.w6)("design:returntype",void 0)],H.prototype,"restoreTrash",null),H=(0,D.gn)([V.o,(0,D.w6)("design:paramtypes",[ie.eN,be.n])],H);var N=p(7022),x=p(14745),T=p(65862),k=p(93614),Z=p(95463),z=p(90070),h=p(48168),E=p(76111),u=p(32337),f=p(60312),A=p(30839),M=p(87925),B=p(94276),K=p(56310),J=p(41582);function no(n,s){if(1&n&&(e.TgZ(0,"option",6),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("ngValue",t),e.xp6(1),e.Oqu(t)}}function io(n,s){if(1&n&&(e.TgZ(0,"select",5),e._UZ(1,"option",6),e.YNc(2,no,2,2,"option",7),e.qZA()),2&n){const t=e.oxw();e.s9C("id",t.setting),e.s9C("name",t.setting),e.Q6J("formControlName",t.setting),e.xp6(1),e.Q6J("ngValue",null),e.xp6(1),e.Q6J("ngForOf",t.limits.values)}}function so(n,s){if(1&n&&e._UZ(0,"input",10),2&n){const t=e.oxw(2);e.Q6J("formControlName",t.setting)}}function _o(n,s){if(1&n&&e._UZ(0,"input",11),2&n){const t=e.oxw(2);e.Q6J("formControlName",t.setting)}}function ao(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"br"),e.TgZ(2,"div",12),e._UZ(3,"input",13),e.TgZ(4,"label",14),e._uU(5,"Yes"),e.qZA()(),e.TgZ(6,"div",12),e._UZ(7,"input",13),e.TgZ(8,"label",14),e._uU(9,"No"),e.qZA()(),e.BQk()),2&n){const t=e.oxw(2);e.xp6(3),e.Q6J("id",t.setting+"True")("value",!0)("formControlName",t.setting),e.xp6(1),e.Q6J("for",t.setting+"True"),e.xp6(3),e.Q6J("id",t.setting+"False")("value",!1)("formControlName",t.setting),e.xp6(1),e.Q6J("for",t.setting+"False")}}function ro(n,s){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,so,1,1,"input",8),e.YNc(2,_o,1,1,"input",9),e.YNc(3,ao,10,8,"ng-container",3),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf","int"===t.limits.type),e.xp6(1),e.Q6J("ngIf","str"===t.limits.type),e.xp6(1),e.Q6J("ngIf","bool"===t.limits.type)}}function lo(n,s){if(1&n&&(e.TgZ(0,"span",15),e.ynx(1),e.SDv(2,16),e.BQk(),e.qZA()),2&n){const t=e.oxw();e.xp6(2),e.pQV(t.limits.min),e.QtT(2)}}function co(n,s){if(1&n&&(e.TgZ(0,"span",15),e.ynx(1),e.SDv(2,17),e.BQk(),e.qZA()),2&n){const t=e.oxw();e.xp6(2),e.pQV(t.limits.max),e.QtT(2)}}let gt=(()=>{class n{ngOnInit(){const t=[];"min"in this.limits&&t.push(r.kI.min(Number(this.limits.min))),"max"in this.limits&&t.push(r.kI.max(Number(this.limits.max))),this.settingsForm.get(this.setting).setValidators(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-setting"]],inputs:{settingsForm:"settingsForm",formDir:"formDir",setting:"setting",limits:"limits"},decls:7,vars:7,consts:function(){let s,t;return s="Must be greater than or equal to " + "\ufffd0\ufffd" + ".",t="Must be less than or equal to " + "\ufffd0\ufffd" + ".",[[1,"form-group",3,"formGroup"],[1,"col-form-label",3,"for"],["class","form-control",3,"id","name","formControlName",4,"ngIf"],[4,"ngIf"],["class","invalid-feedback",4,"ngIf"],[1,"form-control",3,"id","name","formControlName"],[3,"ngValue"],[3,"ngValue",4,"ngFor","ngForOf"],["type","number","class","form-control",3,"formControlName",4,"ngIf"],["type","text","class","form-control",3,"formControlName",4,"ngIf"],["type","number",1,"form-control",3,"formControlName"],["type","text",1,"form-control",3,"formControlName"],[1,"custom-control","custom-radio","custom-control-inline"],["type","radio",1,"custom-control-input",3,"id","value","formControlName"],[1,"custom-control-label",3,"for"],[1,"invalid-feedback"],s,t]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"label",1),e._uU(2),e.qZA(),e.YNc(3,io,3,5,"select",2),e.YNc(4,ro,4,3,"span",3),e.YNc(5,lo,3,1,"span",4),e.YNc(6,co,3,1,"span",4),e.qZA()),2&t&&(e.Q6J("formGroup",o.settingsForm),e.xp6(1),e.s9C("for",o.setting),e.xp6(1),e.Oqu(o.setting),e.xp6(1),e.Q6J("ngIf","enum"===o.limits.type),e.xp6(1),e.Q6J("ngIf","enum"!==o.limits.type),e.xp6(1),e.Q6J("ngIf",o.settingsForm.showError(o.setting,o.formDir,"min")),e.xp6(1),e.Q6J("ngIf",o.settingsForm.showError(o.setting,o.formDir,"max")))},dependencies:[c.sg,c.O5,r.YN,r.Kr,r.Fj,r.wV,r.EJ,r._,r.JJ,r.JL,r.sg,r.u,M.o,B.b,K.P,J.V]}),n})();var Je=p(88820);function po(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function uo(n,s){if(1&n&&(e.TgZ(0,"span")(1,"legend",10),e.SDv(2,21),e.qZA(),e.TgZ(3,"div",12)(4,"div",13)(5,"label",22),e.SDv(6,23),e.qZA(),e._UZ(7,"input",24),e.YNc(8,po,2,0,"span",25),e.qZA()(),e.TgZ(9,"div",12)(10,"div",13)(11,"label",26),e.SDv(12,27),e.qZA(),e._UZ(13,"input",28),e.qZA()()()),2&n){const t=e.oxw(),o=e.MAs(9);e.xp6(8),e.Q6J("ngIf",t.settingsForm.showError("lun",o,"required"))}}function mo(n,s){if(1&n&&(e.TgZ(0,"option",31),e._uU(1),e.ALo(2,"iscsiBackstore"),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(e.lcZ(2,2,t))}}function go(n,s){if(1&n&&(e.TgZ(0,"div",12)(1,"div",13),e._UZ(2,"cd-iscsi-setting",33),e.qZA()()),2&n){const t=s.$implicit,o=e.oxw(2).$implicit,i=e.oxw(),_=e.MAs(9);e.xp6(2),e.Q6J("settingsForm",i.settingsForm)("formDir",_)("setting",t.key)("limits",i.getDiskControlLimits(o,t.key))}}function To(n,s){if(1&n&&(e.ynx(0),e.YNc(1,go,3,4,"div",32),e.ALo(2,"keyvalue"),e.BQk()),2&n){const t=e.oxw().$implicit,o=e.oxw();e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,o.disk_default_controls[t]))}}function fo(n,s){if(1&n&&(e.ynx(0),e.YNc(1,To,3,3,"ng-container",9),e.BQk()),2&n){const t=s.$implicit,o=e.oxw();e.xp6(1),e.Q6J("ngIf",o.settingsForm.value.backstore===t)}}let Co=(()=>{class n{constructor(t,o,i){this.activeModal=t,this.iscsiService=o,this.actionLabels=i}ngOnInit(){const t={backstore:new r.p4(this.imagesSettings[this.image].backstore),lun:new r.p4(this.imagesSettings[this.image].lun),wwn:new r.p4(this.imagesSettings[this.image].wwn)};C().forEach(this.backstores,o=>{const i=this.imagesSettings[this.image][o]||{};C().forIn(this.disk_default_controls[o],(_,a)=>{t[a]=new r.p4(i[a])})}),this.settingsForm=new Z.d(t)}getDiskControlLimits(t,o){return this.disk_controls_limits?this.disk_controls_limits[t][o]:{type:"int"}}save(){const t=this.settingsForm.controls.backstore.value,o=this.settingsForm.controls.lun.value,i=this.settingsForm.controls.wwn.value,_={};C().forIn(this.settingsForm.controls,(a,l)=>{""!==a.value&&null!==a.value&&l in this.disk_default_controls[this.settingsForm.value.backstore]&&(_[l]=a.value,C().forEach(this.backstores,d=>{d!==t&&l in(this.imagesSettings[this.image][d]||{})&&(this.imagesSettings[this.image][d][l]=a.value)}))}),this.imagesSettings[this.image].backstore=t,this.imagesSettings[this.image].lun=o,this.imagesSettings[this.image].wwn=i,this.imagesSettings[this.image][t]=_,this.imagesSettings={...this.imagesSettings},this.control.updateValueAndValidity({emitEvent:!1}),this.activeModal.close()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(F.Kz),e.Y36(X),e.Y36(L.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-target-image-settings-modal"]],decls:25,vars:8,consts:function(){let s,t,o,i,_,a,l,d;return s="Configure",t="Changing these parameters from their default values is usually not necessary.",o="Settings",i="Backstore",_="Identifier",a="lun",l="wwn",d="This field is required.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","settingsForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"alert-warning"],t,[4,"ngIf"],[1,"cd-header"],o,[1,"form-group","row"],[1,"col-sm-12"],[1,"col-form-label"],i,["id","backstore","name","backstore","formControlName","backstore",1,"form-select"],[3,"value",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],_,["for","lun",1,"col-form-label","required"],a,["type","number","id","lun","name","lun","formControlName","lun",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","wwn",1,"col-form-label"],l,["type","text","id","wwn","name","wwn","formControlName","wwn",1,"form-control"],[1,"invalid-feedback"],d,[3,"value"],["class","form-group row",4,"ngFor","ngForOf"],[3,"settingsForm","formDir","setting","limits"]]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1)(2),e.SDv(3,2),e.BQk(),e._uU(4,"\xa0 "),e.TgZ(5,"small"),e._uU(6),e.qZA(),e.BQk(),e.ynx(7,3),e.TgZ(8,"form",4,5)(10,"div",6)(11,"p",7),e.SDv(12,8),e.qZA(),e.YNc(13,uo,14,1,"span",9),e.TgZ(14,"legend",10),e.SDv(15,11),e.qZA(),e.TgZ(16,"div",12)(17,"div",13)(18,"label",14),e.SDv(19,15),e.qZA(),e.TgZ(20,"select",16),e.YNc(21,mo,3,4,"option",17),e.qZA()()(),e.YNc(22,fo,2,1,"ng-container",18),e.qZA(),e.TgZ(23,"div",19)(24,"cd-form-button-panel",20),e.NdJ("submitActionEvent",function(){return o.save()}),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(6),e.Oqu(o.image),e.xp6(2),e.Q6J("formGroup",o.settingsForm),e.xp6(5),e.Q6J("ngIf",o.api_version>=1),e.xp6(8),e.Q6J("ngForOf",o.backstores),e.xp6(1),e.Q6J("ngForOf",o.backstores),e.xp6(2),e.Q6J("form",o.settingsForm)("submitText",o.actionLabels.UPDATE))},dependencies:[c.sg,c.O5,r._Y,r.YN,r.Kr,r.Fj,r.wV,r.EJ,r.JJ,r.JL,r.sg,r.u,f.z,A.p,M.o,B.b,K.P,J.V,gt,c.Nd,Je.V]}),n})();function So(n,s){if(1&n&&(e.TgZ(0,"div",12)(1,"div",13),e._UZ(2,"cd-iscsi-setting",14),e.qZA()()),2&n){const t=s.$implicit,o=e.oxw(),i=e.MAs(5);e.xp6(2),e.Q6J("settingsForm",o.settingsForm)("formDir",i)("setting",t.key)("limits",o.getTargetControlLimits(t.key))}}let Ro=(()=>{class n{constructor(t,o,i){this.activeModal=t,this.iscsiService=o,this.actionLabels=i}ngOnInit(){const t={};C().forIn(this.target_default_controls,(o,i)=>{t[i]=new r.p4(this.target_controls.value[i])}),this.settingsForm=new Z.d(t)}save(){const t={};C().forIn(this.settingsForm.controls,(o,i)=>{""===o.value||null===o.value||(t[i]=o.value)}),this.target_controls.setValue(t),this.activeModal.close()}getTargetControlLimits(t){return this.target_controls_limits?this.target_controls_limits[t]:["Yes","No"].includes(this.target_default_controls[t])?{type:"bool"}:{type:"int"}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(F.Kz),e.Y36(X),e.Y36(L.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-target-iqn-settings-modal"]],decls:13,vars:7,consts:function(){let s,t;return s="Advanced Settings",t="Changing these parameters from their default values is usually not necessary.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","settingsForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"alert-warning"],t,["class","form-group row",4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"form-group","row"],[1,"col-sm-12"],[3,"settingsForm","formDir","setting","limits"]]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p",7),e.SDv(8,8),e.qZA(),e.YNc(9,So,3,4,"div",9),e.ALo(10,"keyvalue"),e.qZA(),e.TgZ(11,"div",10)(12,"cd-form-button-panel",11),e.NdJ("submitActionEvent",function(){return o.save()}),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.settingsForm),e.xp6(5),e.Q6J("ngForOf",e.lcZ(10,5,o.settingsForm.controls)),e.xp6(3),e.Q6J("form",o.settingsForm)("submitText",o.actionLabels.UPDATE))},dependencies:[c.sg,r._Y,r.JL,r.sg,f.z,A.p,K.P,J.V,gt,c.Nd]}),n})();var pe=p(63285),Eo=p(39092),Ye=p(58039),Tt=p(4416);let Mo=(()=>{class n{constructor(t){this.ngControl=t}onInput(t){this.setValue(t)}setValue(t){t=C().isString(t)?t.trim():t,this.ngControl.control.setValue(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(r.a5))},n.\u0275dir=e.lG2({type:n,selectors:[["","cdTrim",""]],hostBindings:function(t,o){1&t&&e.NdJ("input",function(_){return o.onInput(_.target.value)})}}),n})();var ft=p(63622),ot=p(10545);function Oo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,41),e.qZA())}function ho(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,42),e.qZA())}function Ao(n,s){1&n&&(e.TgZ(0,"span",40),e.ynx(1),e.SDv(2,43),e.BQk(),e._UZ(3,"br"),e.ynx(4),e.SDv(5,44),e.BQk(),e._UZ(6,"br"),e.TgZ(7,"a",45),e.SDv(8,46),e.qZA()())}function Po(n,s){1&n&&(e.TgZ(0,"span",47),e.SDv(1,48),e.qZA())}const U=function(n){return[n]};function bo(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",49),e._UZ(2,"input",50),e.TgZ(3,"button",51),e.NdJ("click",function(){const i=e.CHM(t),_=i.index,a=i.$implicit,l=e.oxw(2);return e.KtG(l.removePortal(_,a))}),e._UZ(4,"i",15),e.qZA()(),e.BQk()}if(2&n){const t=s.$implicit,o=e.oxw(2);e.xp6(2),e.Q6J("value",t),e.xp6(2),e.Q6J("ngClass",e.VKq(2,U,o.icons.destroy))}}function Io(n,s){if(1&n&&(e.TgZ(0,"span",40),e.SDv(1,52),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.pQV(t.minimum_gateways),e.QtT(1)}}function No(n,s){if(1&n&&(e.TgZ(0,"div",55),e._uU(1),e.qZA()),2&n){const t=e.oxw().$implicit,o=e.oxw(2);e.xp6(1),e.hij("lun: ",o.imagesSettings[t].lun,"")}}function Fo(n,s){if(1&n&&(e.ynx(0),e.SDv(1,56),e.ALo(2,"iscsiBackstore"),e.BQk()),2&n){const t=e.oxw().$implicit,o=e.oxw(2);e.xp6(2),e.pQV(e.lcZ(2,1,o.imagesSettings[t].backstore)),e.QtT(1)}}function Do(n,s){1&n&&(e.ynx(0),e.SDv(1,57),e.BQk())}function Lo(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",49),e._UZ(2,"input",50),e.YNc(3,No,2,1,"div",53),e.TgZ(4,"button",51),e.NdJ("click",function(){const _=e.CHM(t).$implicit,a=e.oxw(2);return e.KtG(a.imageSettingsModal(_))}),e._UZ(5,"i",15),e.qZA(),e.TgZ(6,"button",51),e.NdJ("click",function(){const i=e.CHM(t),_=i.index,a=i.$implicit,l=e.oxw(2);return e.KtG(l.removeImage(_,a))}),e._UZ(7,"i",15),e.qZA()(),e.TgZ(8,"span",47),e.YNc(9,Fo,3,3,"ng-container",54),e.YNc(10,Do,2,0,"ng-container",54),e.qZA(),e.BQk()}if(2&n){const t=s.$implicit,o=e.oxw(2);e.xp6(2),e.Q6J("value",t),e.xp6(1),e.Q6J("ngIf",o.api_version>=1),e.xp6(2),e.Q6J("ngClass",e.VKq(6,U,o.icons.deepCheck)),e.xp6(2),e.Q6J("ngClass",e.VKq(8,U,o.icons.destroy)),e.xp6(2),e.Q6J("ngIf",o.backstores.length>1),e.xp6(1),e.Q6J("ngIf",o.hasAdvancedSettings(o.imagesSettings[t][o.imagesSettings[t].backstore]))}}function vo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,58),e.qZA())}function $o(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,59),e.qZA())}function Bo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,77),e.qZA())}function Go(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,78),e.qZA())}function yo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,79),e.qZA())}function xo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,80),e.qZA())}function Zo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,81),e.qZA())}function wo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,82),e.qZA())}function Ho(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,83),e.qZA())}function ko(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,84),e.qZA())}function Ko(n,s){if(1&n&&(e.TgZ(0,"div",60)(1,"div",8)(2,"label",61),e.ynx(3),e.SDv(4,62),e.BQk(),e.qZA(),e.TgZ(5,"div",11),e._UZ(6,"input",63),e.YNc(7,Bo,2,0,"span",16),e.YNc(8,Go,2,0,"span",16),e.qZA()(),e.TgZ(9,"div",8)(10,"label",64),e.ynx(11),e.SDv(12,65),e.BQk(),e.qZA(),e.TgZ(13,"div",11)(14,"div",12),e._UZ(15,"input",66)(16,"button",67)(17,"cd-copy-2-clipboard-button",68),e.qZA(),e.YNc(18,yo,2,0,"span",16),e.YNc(19,xo,2,0,"span",16),e.qZA()(),e.TgZ(20,"div",8)(21,"label",69),e.ynx(22),e.SDv(23,70),e.BQk(),e.qZA(),e.TgZ(24,"div",11),e._UZ(25,"input",71),e.YNc(26,Zo,2,0,"span",16),e.YNc(27,wo,2,0,"span",16),e.qZA()(),e.TgZ(28,"div",8)(29,"label",72),e.ynx(30),e.SDv(31,73),e.BQk(),e.qZA(),e.TgZ(32,"div",11)(33,"div",12),e._UZ(34,"input",74)(35,"button",75)(36,"cd-copy-2-clipboard-button",76),e.qZA(),e.YNc(37,Ho,2,0,"span",16),e.YNc(38,ko,2,0,"span",16),e.qZA()()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(7),e.Q6J("ngIf",o.targetForm.showError("user",t,"required")),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("user",t,"pattern")),e.xp6(10),e.Q6J("ngIf",o.targetForm.showError("password",t,"required")),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("password",t,"pattern")),e.xp6(7),e.Q6J("ngIf",o.targetForm.showError("mutual_user",t,"required")),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("mutual_user",t,"pattern")),e.xp6(10),e.Q6J("ngIf",o.targetForm.showError("mutual_password",t,"required")),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("mutual_password",t,"pattern"))}}function qo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,114),e.qZA())}function Xo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,115),e.qZA())}function Qo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,116),e.qZA())}function zo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,117),e.qZA())}function Jo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,118),e.qZA())}function Yo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,119),e.qZA())}function Vo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,120),e.qZA())}function Uo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,121),e.qZA())}function jo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,122),e.qZA())}function Wo(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,123),e.qZA())}function en(n,s){1&n&&(e.TgZ(0,"span",40),e.SDv(1,124),e.qZA())}function tn(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",49),e._UZ(2,"input",50),e.TgZ(3,"button",51),e.NdJ("click",function(){const i=e.CHM(t),_=i.index,a=i.$implicit,l=e.oxw(),d=l.$implicit,g=l.index,S=e.oxw(3);return e.KtG(S.removeInitiatorImage(d,_,g,a))}),e._UZ(4,"i",15),e.qZA()(),e.BQk()}if(2&n){const t=s.$implicit,o=e.oxw(4);e.xp6(2),e.Q6J("value",t),e.xp6(2),e.Q6J("ngClass",e.VKq(2,U,o.icons.destroy))}}function on(n,s){1&n&&(e.TgZ(0,"span"),e.SDv(1,125),e.qZA())}function nn(n,s){if(1&n&&(e.TgZ(0,"div",21)(1,"div",22)(2,"cd-select",126),e._UZ(3,"i",24),e.ynx(4),e.SDv(5,127),e.BQk(),e.qZA()()()),2&n){const t=e.oxw(),o=t.$implicit,i=t.index,_=e.oxw(3);e.xp6(2),e.Q6J("data",o.getValue("luns"))("options",_.imagesInitiatorSelections[i])("messages",_.messages.initiatorImage),e.xp6(1),e.Q6J("ngClass",e.VKq(4,U,_.icons.add))}}function sn(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",91)(1,"div",5),e.ynx(2),e.SDv(3,92),e.BQk(),e._uU(4),e.TgZ(5,"button",93),e.NdJ("click",function(){const _=e.CHM(t).index,a=e.oxw(3);return e.KtG(a.removeInitiator(_))}),e.qZA()(),e.TgZ(6,"div",7)(7,"div",8)(8,"label",94),e.SDv(9,95),e.qZA(),e.TgZ(10,"div",11)(11,"input",96),e.NdJ("blur",function(){e.CHM(t);const i=e.oxw(3);return e.KtG(i.updatedInitiatorSelector())}),e.qZA(),e.YNc(12,qo,2,0,"span",16),e.YNc(13,Xo,2,0,"span",16),e.YNc(14,Qo,2,0,"span",16),e.qZA()(),e.ynx(15,60),e.TgZ(16,"div",8)(17,"label",97),e.SDv(18,98),e.qZA(),e.TgZ(19,"div",11),e._UZ(20,"input",99),e.YNc(21,zo,2,0,"span",16),e.YNc(22,Jo,2,0,"span",16),e.qZA()(),e.TgZ(23,"div",8)(24,"label",100),e.SDv(25,101),e.qZA(),e.TgZ(26,"div",11)(27,"div",12),e._UZ(28,"input",102)(29,"button",103)(30,"cd-copy-2-clipboard-button",104),e.qZA(),e.YNc(31,Yo,2,0,"span",16),e.YNc(32,Vo,2,0,"span",16),e.qZA()(),e.TgZ(33,"div",8)(34,"label",105),e.ynx(35),e.SDv(36,106),e.BQk(),e.qZA(),e.TgZ(37,"div",11),e._UZ(38,"input",107),e.YNc(39,Uo,2,0,"span",16),e.YNc(40,jo,2,0,"span",16),e.qZA()(),e.TgZ(41,"div",8)(42,"label",108),e.SDv(43,109),e.qZA(),e.TgZ(44,"div",11)(45,"div",12),e._UZ(46,"input",110)(47,"button",103)(48,"cd-copy-2-clipboard-button",104),e.qZA(),e.YNc(49,Wo,2,0,"span",16),e.YNc(50,en,2,0,"span",16),e.qZA()(),e.BQk(),e.TgZ(51,"div",8)(52,"label",111),e.SDv(53,112),e.qZA(),e.TgZ(54,"div",11),e.YNc(55,tn,5,4,"ng-container",20),e.YNc(56,on,2,0,"span",54),e.YNc(57,nn,6,6,"div",113),e.qZA()()()()}if(2&n){const t=s.$implicit,o=s.index;e.oxw(2);const i=e.MAs(2);e.Q6J("formGroup",t),e.xp6(4),e.hij(": ",t.getValue("client_iqn")," "),e.xp6(8),e.Q6J("ngIf",t.showError("client_iqn",i,"notUnique")),e.xp6(1),e.Q6J("ngIf",t.showError("client_iqn",i,"required")),e.xp6(1),e.Q6J("ngIf",t.showError("client_iqn",i,"pattern")),e.xp6(6),e.Q6J("id","user"+o),e.xp6(1),e.Q6J("ngIf",t.showError("user",i,"required")),e.xp6(1),e.Q6J("ngIf",t.showError("user",i,"pattern")),e.xp6(6),e.Q6J("id","password"+o),e.xp6(1),e.Q6J("cdPasswordButton","password"+o),e.xp6(1),e.Q6J("source","password"+o),e.xp6(1),e.Q6J("ngIf",t.showError("password",i,"required")),e.xp6(1),e.Q6J("ngIf",t.showError("password",i,"pattern")),e.xp6(6),e.Q6J("id","mutual_user"+o),e.xp6(1),e.Q6J("ngIf",t.showError("mutual_user",i,"required")),e.xp6(1),e.Q6J("ngIf",t.showError("mutual_user",i,"pattern")),e.xp6(6),e.Q6J("id","mutual_password"+o),e.xp6(1),e.Q6J("cdPasswordButton","mutual_password"+o),e.xp6(1),e.Q6J("source","mutual_password"+o),e.xp6(1),e.Q6J("ngIf",t.showError("mutual_password",i,"required")),e.xp6(1),e.Q6J("ngIf",t.showError("mutual_password",i,"pattern")),e.xp6(5),e.Q6J("ngForOf",t.getValue("luns")),e.xp6(1),e.Q6J("ngIf",t.getValue("cdIsInGroup")),e.xp6(1),e.Q6J("ngIf",!t.getValue("cdIsInGroup"))}}function _n(n,s){1&n&&(e.TgZ(0,"span",47),e.SDv(1,128),e.qZA())}function an(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",8)(1,"label",85),e.SDv(2,86),e.qZA(),e.TgZ(3,"div",87),e.YNc(4,sn,58,24,"div",88),e.TgZ(5,"div",21)(6,"div",22),e.YNc(7,_n,2,0,"span",17),e.TgZ(8,"button",89),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).addInitiator(),e.KtG(!1)}),e._UZ(9,"i",24),e.ynx(10),e.SDv(11,90),e.BQk(),e.qZA()()(),e._UZ(12,"hr"),e.qZA()()}if(2&n){const t=e.oxw(2);e.xp6(4),e.Q6J("ngForOf",t.initiators.controls),e.xp6(3),e.Q6J("ngIf",0===t.initiators.controls.length),e.xp6(2),e.Q6J("ngClass",e.VKq(3,U,t.icons.add))}}function rn(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",49),e._UZ(2,"input",50),e.TgZ(3,"button",51),e.NdJ("click",function(){const _=e.CHM(t).index,a=e.oxw(),l=a.$implicit,d=a.index,g=e.oxw(3);return e.KtG(g.removeGroupInitiator(l,_,d))}),e._UZ(4,"i",15),e.qZA()(),e.BQk()}if(2&n){const t=s.$implicit,o=e.oxw(4);e.xp6(2),e.Q6J("value",t),e.xp6(2),e.Q6J("ngClass",e.VKq(2,U,o.icons.destroy))}}function ln(n,s){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"div",49),e._UZ(2,"input",50),e.TgZ(3,"button",51),e.NdJ("click",function(){const _=e.CHM(t).index,a=e.oxw(),l=a.$implicit,d=a.index,g=e.oxw(3);return e.KtG(g.removeGroupDisk(l,_,d))}),e._UZ(4,"i",15),e.qZA()(),e.BQk()}if(2&n){const t=s.$implicit,o=e.oxw(4);e.xp6(2),e.Q6J("value",t),e.xp6(2),e.Q6J("ngClass",e.VKq(2,U,o.icons.destroy))}}function cn(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",91)(1,"div",5),e.ynx(2),e.SDv(3,132),e.BQk(),e._uU(4),e.TgZ(5,"button",93),e.NdJ("click",function(){const _=e.CHM(t).index,a=e.oxw(3);return e.KtG(a.removeGroup(_))}),e.qZA()(),e.TgZ(6,"div",7)(7,"div",8)(8,"label",133),e.SDv(9,134),e.qZA(),e.TgZ(10,"div",11),e._UZ(11,"input",135),e.qZA()(),e.TgZ(12,"div",8)(13,"label",136),e.ynx(14),e.SDv(15,137),e.BQk(),e.qZA(),e.TgZ(16,"div",11),e.YNc(17,rn,5,4,"ng-container",20),e.TgZ(18,"div",21)(19,"div",22)(20,"cd-select",23),e.NdJ("selection",function(i){const a=e.CHM(t).index,l=e.oxw(3);return e.KtG(l.onGroupMemberSelection(i,a))}),e._UZ(21,"i",24),e.ynx(22),e.SDv(23,138),e.BQk(),e.qZA()()(),e._UZ(24,"hr"),e.qZA()(),e.TgZ(25,"div",8)(26,"label",27),e.ynx(27),e.SDv(28,139),e.BQk(),e.qZA(),e.TgZ(29,"div",11),e.YNc(30,ln,5,4,"ng-container",20),e.TgZ(31,"div",21)(32,"div",22)(33,"cd-select",126),e._UZ(34,"i",24),e.ynx(35),e.SDv(36,140),e.BQk(),e.qZA()()(),e._UZ(37,"hr"),e.qZA()()()()}if(2&n){const t=s.$implicit,o=s.index,i=e.oxw(3);e.Q6J("formGroup",t),e.xp6(4),e.hij(": ",t.getValue("group_id")," "),e.xp6(13),e.Q6J("ngForOf",t.getValue("members")),e.xp6(3),e.Q6J("data",t.getValue("members"))("options",i.groupMembersSelections[o])("messages",i.messages.groupInitiator),e.xp6(1),e.Q6J("ngClass",e.VKq(12,U,i.icons.add)),e.xp6(9),e.Q6J("ngForOf",t.getValue("disks")),e.xp6(3),e.Q6J("data",t.getValue("disks"))("options",i.groupDiskSelections[o])("messages",i.messages.initiatorImage),e.xp6(1),e.Q6J("ngClass",e.VKq(14,U,i.icons.add))}}function dn(n,s){1&n&&(e.TgZ(0,"span",47),e.SDv(1,141),e.qZA())}function pn(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",8)(1,"label",85),e.SDv(2,129),e.qZA(),e.TgZ(3,"div",130),e.YNc(4,cn,38,16,"div",88),e.TgZ(5,"div",21)(6,"div",22),e.YNc(7,dn,2,0,"span",17),e.TgZ(8,"button",89),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).addGroup(),e.KtG(!1)}),e._UZ(9,"i",24),e.ynx(10),e.SDv(11,131),e.BQk(),e.qZA()()()()()}if(2&n){const t=e.oxw(2);e.xp6(4),e.Q6J("ngForOf",t.groups.controls),e.xp6(3),e.Q6J("ngIf",0===t.groups.controls.length),e.xp6(2),e.Q6J("ngClass",e.VKq(3,U,t.icons.add))}}function un(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",7)(9,"div",8)(10,"label",9),e.SDv(11,10),e.qZA(),e.TgZ(12,"div",11)(13,"div",12),e._UZ(14,"input",13),e.TgZ(15,"button",14),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.targetSettingsModal())}),e._UZ(16,"i",15),e.qZA()(),e.YNc(17,Oo,2,0,"span",16),e.YNc(18,ho,2,0,"span",16),e.YNc(19,Ao,9,0,"span",16),e.YNc(20,Po,2,0,"span",17),e._UZ(21,"hr"),e.qZA()(),e.TgZ(22,"div",8)(23,"label",18),e.SDv(24,19),e.qZA(),e.TgZ(25,"div",11),e.YNc(26,bo,5,4,"ng-container",20),e.TgZ(27,"div",21)(28,"div",22)(29,"cd-select",23),e.NdJ("selection",function(i){e.CHM(t);const _=e.oxw();return e.KtG(_.onPortalSelection(i))}),e._UZ(30,"i",24),e.ynx(31),e.SDv(32,25),e.BQk(),e.qZA()()(),e._UZ(33,"input",26),e.YNc(34,Io,2,1,"span",16),e._UZ(35,"hr"),e.qZA()(),e.TgZ(36,"div",8)(37,"label",27),e.SDv(38,28),e.qZA(),e.TgZ(39,"div",11),e.YNc(40,Lo,11,10,"ng-container",20),e._UZ(41,"input",29),e.YNc(42,vo,2,0,"span",16),e.YNc(43,$o,2,0,"span",16),e.TgZ(44,"div",21)(45,"div",22)(46,"cd-select",23),e.NdJ("selection",function(i){e.CHM(t);const _=e.oxw();return e.KtG(_.onImageSelection(i))}),e._UZ(47,"i",24),e.ynx(48),e.SDv(49,30),e.BQk(),e.qZA()()(),e._UZ(50,"hr"),e.qZA()(),e.TgZ(51,"div",8)(52,"div",31)(53,"div",32),e._UZ(54,"input",33),e.TgZ(55,"label",34),e.SDv(56,35),e.qZA()(),e._UZ(57,"hr"),e.qZA()(),e.YNc(58,Ko,39,8,"div",36),e.YNc(59,an,13,5,"div",37),e.YNc(60,pn,12,5,"div",37),e.qZA(),e.TgZ(61,"div",38)(62,"cd-form-button-panel",39),e.NdJ("submitActionEvent",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.submit())}),e.ALo(63,"titlecase"),e.ALo(64,"upperFirst"),e.qZA()()()()()}if(2&n){const t=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("formGroup",o.targetForm),e.xp6(6),e.pQV(e.lcZ(6,26,o.action))(e.lcZ(7,28,o.resource)),e.QtT(5),e.xp6(9),e.Q6J("ngClass",e.VKq(34,U,o.icons.deepCheck)),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("target_iqn",t,"required")),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("target_iqn",t,"pattern")),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("target_iqn",t,"iqn")),e.xp6(1),e.Q6J("ngIf",o.hasAdvancedSettings(o.targetForm.getValue("target_controls"))),e.xp6(6),e.Q6J("ngForOf",o.portals.value),e.xp6(3),e.Q6J("data",o.portals.value)("options",o.portalsSelections)("messages",o.messages.portals),e.xp6(1),e.Q6J("ngClass",e.VKq(36,U,o.icons.add)),e.xp6(4),e.Q6J("ngIf",o.targetForm.showError("portals",t,"minGateways")),e.xp6(6),e.Q6J("ngForOf",o.targetForm.getValue("disks")),e.xp6(2),e.Q6J("ngIf",o.targetForm.showError("disks",t,"dupLunId")),e.xp6(1),e.Q6J("ngIf",o.targetForm.showError("disks",t,"dupWwn")),e.xp6(3),e.Q6J("data",o.disks.value)("options",o.imagesSelections)("messages",o.messages.images),e.xp6(1),e.Q6J("ngClass",e.VKq(38,U,o.icons.add)),e.xp6(11),e.Q6J("ngIf",o.cephIscsiConfigVersion>10&&!o.targetForm.getValue("acl_enabled")),e.xp6(1),e.Q6J("ngIf",o.targetForm.getValue("acl_enabled")),e.xp6(1),e.Q6J("ngIf",o.targetForm.getValue("acl_enabled")),e.xp6(2),e.Q6J("form",o.targetForm)("submitText",e.lcZ(63,30,o.action)+" "+e.lcZ(64,32,o.resource))}}let Ct=(()=>{class n extends k.E{constructor(t,o,i,_,a,l,d){super(),this.iscsiService=t,this.modalService=o,this.rbdService=i,this.router=_,this.route=a,this.taskWrapper=l,this.actionLabels=d,this.api_version=0,this.minimum_gateways=1,this.icons=T.P,this.isEdit=!1,this.portalsSelections=[],this.imagesInitiatorSelections=[],this.groupDiskSelections=[],this.groupMembersSelections=[],this.imagesSettings={},this.messages={portals:new N.a({noOptions:"There are no portals available."}),images:new N.a({noOptions:"There are no images available."}),initiatorImage:new N.a({noOptions:"There are no images available. Please make sure you add an image to the target."}),groupInitiator:new N.a({noOptions:"There are no initiators available. Please make sure you add an initiator to the target."})},this.IQN_REGEX=/^iqn\.(19|20)\d\d-(0[1-9]|1[0-2])\.\D{2,3}(\.[A-Za-z0-9-]+)+(:[A-Za-z0-9-\.]+)*$/,this.USER_REGEX=/^[\w\.:@_-]{8,64}$/,this.PASSWORD_REGEX=/^[\w@\-_\/]{12,16}$/,this.resource="target"}ngOnInit(){const t=new h.E(()=>{});t.pageInfo.limit=-1;const o=[this.iscsiService.listTargets(),this.rbdService.list(t.toParams()),this.iscsiService.portals(),this.iscsiService.settings(),this.iscsiService.version()];this.router.url.startsWith("/block/iscsi/targets/edit")&&(this.isEdit=!0,this.route.params.subscribe(i=>{this.target_iqn=decodeURIComponent(i.target_iqn),o.push(this.iscsiService.getTarget(this.target_iqn))})),this.action=this.isEdit?this.actionLabels.EDIT:this.actionLabels.CREATE,(0,ce.D)(o).subscribe(i=>{const _=C()(i[0]).filter(l=>l.target_iqn!==this.target_iqn).flatMap(l=>l.disks).map(l=>`${l.pool}/${l.image}`).value();"api_version"in i[3]&&(this.api_version=i[3].api_version),this.minimum_gateways=i[3].config.minimum_gateways,this.target_default_controls=i[3].target_default_controls,this.target_controls_limits=i[3].target_controls_limits,this.disk_default_controls=i[3].disk_default_controls,this.disk_controls_limits=i[3].disk_controls_limits,this.backstores=i[3].backstores,this.default_backstore=i[3].default_backstore,this.unsupported_rbd_features=i[3].unsupported_rbd_features,this.required_rbd_features=i[3].required_rbd_features,this.imagesAll=C()(i[1]).flatMap(l=>l.value).filter(l=>!l.namespace&&!(-1!==_.indexOf(`${l.pool_name}/${l.name}`)||0===this.getValidBackstores(l).length)).value(),this.imagesSelections=this.imagesAll.map(l=>new x.$(!1,`${l.pool_name}/${l.name}`,""));const a=[];i[2].forEach(l=>{l.ip_addresses.forEach(d=>{a.push(new x.$(!1,l.name+":"+d,""))})}),this.portalsSelections=[...a],this.cephIscsiConfigVersion=i[4].ceph_iscsi_config_version,this.createForm(),i[5]&&this.resolveModel(i[5]),this.loadingReady()})}createForm(){if(this.targetForm=new Z.d({target_iqn:new r.p4("iqn.2001-07.com.ceph:"+Date.now(),{validators:[r.kI.required,r.kI.pattern(this.IQN_REGEX)]}),target_controls:new r.p4({}),portals:new r.p4([],{validators:[z.h.custom("minGateways",t=>C().uniq(t.map(i=>i.split(":")[0])).length<Math.max(1,this.minimum_gateways))]}),disks:new r.p4([],{validators:[z.h.custom("dupLunId",t=>{const o=this.getLunIds(t);return o.length!==C().uniq(o).length}),z.h.custom("dupWwn",t=>{const o=this.getWwns(t);return o.length!==C().uniq(o).length})]}),initiators:new r.vC([]),groups:new r.vC([]),acl_enabled:new r.p4(!1)}),this.cephIscsiConfigVersion>10){const t=new Z.d({user:new r.p4(""),password:new r.p4(""),mutual_user:new r.p4(""),mutual_password:new r.p4("")});this.setAuthValidator(t),this.targetForm.addControl("auth",t)}}resolveModel(t){this.targetForm.patchValue({target_iqn:t.target_iqn,target_controls:t.target_controls,acl_enabled:t.acl_enabled}),this.cephIscsiConfigVersion>10&&this.targetForm.patchValue({auth:t.auth});const o=[];C().forEach(t.portals,_=>{o.push(`${_.host}:${_.ip}`)}),this.targetForm.patchValue({portals:o});const i=[];C().forEach(t.disks,_=>{const a=`${_.pool}/${_.image}`;i.push(a),this.imagesSettings[a]={backstore:_.backstore},this.imagesSettings[a][_.backstore]=_.controls,"lun"in _&&(this.imagesSettings[a].lun=_.lun),"wwn"in _&&(this.imagesSettings[a].wwn=_.wwn),this.onImageSelection({option:{name:a,selected:!0}})}),this.targetForm.patchValue({disks:i}),C().forEach(t.clients,_=>{const a=this.addInitiator();_.luns=C().map(_.luns,l=>`${l.pool}/${l.image}`),a.patchValue(_)}),t.groups.forEach((_,a)=>{const l=this.addGroup();_.disks=C().map(_.disks,d=>`${d.pool}/${d.image}`),l.patchValue(_),C().forEach(_.members,d=>{this.onGroupMemberSelection({option:new x.$(!0,d,"")},a)})})}hasAdvancedSettings(t){return Object.values(t).length>0}get portals(){return this.targetForm.get("portals")}onPortalSelection(){this.portals.setValue(this.portals.value)}removePortal(t,o){return this.portalsSelections.forEach(i=>{i.name===o&&(i.selected=!1)}),this.portals.value.splice(t,1),this.portals.setValue(this.portals.value),!1}get disks(){return this.targetForm.get("disks")}removeImage(t,o){return this.imagesSelections.forEach(i=>{i.name===o&&(i.selected=!1)}),this.disks.value.splice(t,1),this.removeImageRefs(o),this.targetForm.get("disks").updateValueAndValidity({emitEvent:!1}),!1}removeImageRefs(t){this.initiators.controls.forEach(o=>{const i=o.value.luns.filter(_=>_!==t);o.get("luns").setValue(i)}),this.groups.controls.forEach(o=>{const i=o.value.disks.filter(_=>_!==t);o.get("disks").setValue(i)}),C().forEach(this.imagesInitiatorSelections,(o,i)=>{this.imagesInitiatorSelections[i]=o.filter(_=>_.name!==t)}),C().forEach(this.groupDiskSelections,(o,i)=>{this.groupDiskSelections[i]=o.filter(_=>_.name!==t)})}getDefaultBackstore(t){let o=this.default_backstore;const i=this.getImageById(t);return this.validFeatures(i,this.default_backstore)||this.backstores.forEach(_=>{_!==this.default_backstore&&this.validFeatures(i,_)&&(o=_)}),o}isLunIdInUse(t,o){const i=this.disks.value.filter(_=>_!==o);return this.getLunIds(i).includes(t)}getLunIds(t){return C().map(t,o=>this.imagesSettings[o].lun)}nextLunId(t){const o=this.disks.value.filter(a=>a!==t),i=this.getLunIds(o);let _=0;for(;i.includes(_);)_++;return _}getWwns(t){return C().map(t,i=>this.imagesSettings[i].wwn).filter(i=>C().isString(i)&&""!==i)}onImageSelection(t){const o=t.option;if(o.selected){if(this.imagesSettings[o.name])this.isLunIdInUse(this.imagesSettings[o.name].lun,o.name)&&(this.imagesSettings[o.name].lun=this.nextLunId(o.name));else{const i=this.getDefaultBackstore(o.name);this.imagesSettings[o.name]={backstore:i,lun:this.nextLunId(o.name)},this.imagesSettings[o.name][i]={}}C().forEach(this.imagesInitiatorSelections,(i,_)=>{i.push(new x.$(!1,o.name,"")),this.imagesInitiatorSelections[_]=[...i]}),C().forEach(this.groupDiskSelections,(i,_)=>{i.push(new x.$(!1,o.name,"")),this.groupDiskSelections[_]=[...i]})}else this.removeImageRefs(o.name);this.targetForm.get("disks").updateValueAndValidity({emitEvent:!1})}get initiators(){return this.targetForm.get("initiators")}addInitiator(){const t=new Z.d({client_iqn:new r.p4("",{validators:[r.kI.required,z.h.custom("notUnique",i=>{const _=this.initiators.controls.reduce(function(a,l){return a.concat(l.value.client_iqn)},[]);return _.indexOf(i)!==_.lastIndexOf(i)}),r.kI.pattern(this.IQN_REGEX)]}),auth:new Z.d({user:new r.p4(""),password:new r.p4(""),mutual_user:new r.p4(""),mutual_password:new r.p4("")}),luns:new r.p4([]),cdIsInGroup:new r.p4(!1)});this.setAuthValidator(t),this.initiators.push(t),C().forEach(this.groupMembersSelections,(i,_)=>{i.push(new x.$(!1,"","")),this.groupMembersSelections[_]=[...i]});const o=C().map(this.targetForm.getValue("disks"),i=>new x.$(!1,i,""));return this.imagesInitiatorSelections.push(o),t}setAuthValidator(t){z.h.validateIf(t.get("user"),()=>t.getValue("password")||t.getValue("mutual_user")||t.getValue("mutual_password"),[r.kI.required],[r.kI.pattern(this.USER_REGEX)],[t.get("password"),t.get("mutual_user"),t.get("mutual_password")]),z.h.validateIf(t.get("password"),()=>t.getValue("user")||t.getValue("mutual_user")||t.getValue("mutual_password"),[r.kI.required],[r.kI.pattern(this.PASSWORD_REGEX)],[t.get("user"),t.get("mutual_user"),t.get("mutual_password")]),z.h.validateIf(t.get("mutual_user"),()=>t.getValue("mutual_password"),[r.kI.required],[r.kI.pattern(this.USER_REGEX)],[t.get("user"),t.get("password"),t.get("mutual_password")]),z.h.validateIf(t.get("mutual_password"),()=>t.getValue("mutual_user"),[r.kI.required],[r.kI.pattern(this.PASSWORD_REGEX)],[t.get("user"),t.get("password"),t.get("mutual_user")])}removeInitiator(t){const o=this.initiators.value[t];this.initiators.removeAt(t),C().forEach(this.groupMembersSelections,(i,_)=>{i.splice(t,1),this.groupMembersSelections[_]=[...i]}),this.groups.controls.forEach(i=>{const _=i.value.members.filter(a=>a!==o.client_iqn);i.get("members").setValue(_)}),this.imagesInitiatorSelections.splice(t,1)}updatedInitiatorSelector(){this.initiators.controls.forEach(t=>{t.get("client_iqn").updateValueAndValidity({emitEvent:!1})}),C().forEach(this.groupMembersSelections,(t,o)=>{C().forEach(t,(i,_)=>{const a=i.name;i.name=this.initiators.controls[_].value.client_iqn,this.groups.controls.forEach(l=>{const d=l.value.members,g=d.indexOf(a);-1!==g&&(d[g]=i.name),l.get("members").setValue(d)})}),this.groupMembersSelections[o]=[...this.groupMembersSelections[o]]})}removeInitiatorImage(t,o,i,_){const a=t.getValue("luns");return a.splice(o,1),t.patchValue({luns:a}),this.imagesInitiatorSelections[i].forEach(l=>{l.name===_&&(l.selected=!1)}),!1}get groups(){return this.targetForm.get("groups")}addGroup(){const t=new Z.d({group_id:new r.p4("",{validators:[r.kI.required]}),members:new r.p4([]),disks:new r.p4([])});this.groups.push(t);const o=C().map(this.targetForm.getValue("disks"),_=>new x.$(!1,_,""));this.groupDiskSelections.push(o);const i=C().map(this.initiators.value,_=>new x.$(!1,_.client_iqn,"",!_.cdIsInGroup));return this.groupMembersSelections.push(i),t}removeGroup(t){this.groups.removeAt(t),this.groupMembersSelections[t].filter(i=>i.selected).forEach(i=>{i.selected=!1,this.onGroupMemberSelection({option:i},t)}),this.groupMembersSelections.splice(t,1),this.groupDiskSelections.splice(t,1)}onGroupMemberSelection(t,o){const i=t.option;let _=[];i.selected||(_=this.groupDiskSelections[o].filter(l=>l.selected).map(l=>l.name)),this.initiators.controls.forEach((a,l)=>{a.value.client_iqn===i.name&&(a.patchValue({luns:_}),a.get("cdIsInGroup").setValue(i.selected),C().forEach(this.groupMembersSelections,d=>{d[l].enabled=!i.selected}),this.imagesInitiatorSelections[l].forEach(d=>{d.selected=_.includes(d.name)}))})}removeGroupInitiator(t,o,i){const _=t.getValue("members")[o];t.getValue("members").splice(o,1),this.onGroupMemberSelection({option:new x.$(!1,_,"")},i)}removeGroupDisk(t,o,i){const _=t.getValue("disks")[o];t.getValue("disks").splice(o,1),this.groupDiskSelections[i].forEach(a=>{a.name===_&&(a.selected=!1)}),this.groupDiskSelections[i]=[...this.groupDiskSelections[i]]}submit(){const t=C().cloneDeep(this.targetForm.value),o={target_iqn:this.targetForm.getValue("target_iqn"),target_controls:this.targetForm.getValue("target_controls"),acl_enabled:this.targetForm.getValue("acl_enabled"),portals:[],disks:[],clients:[],groups:[]};if(this.cephIscsiConfigVersion>10){const _=this.targetForm.get("auth");_.getValue("user")||_.get("user").setValue(""),_.getValue("password")||_.get("password").setValue(""),_.getValue("mutual_user")||_.get("mutual_user").setValue(""),_.getValue("mutual_password")||_.get("mutual_password").setValue("");const a=this.targetForm.getValue("acl_enabled");o.auth={user:a?"":_.getValue("user"),password:a?"":_.getValue("password"),mutual_user:a?"":_.getValue("mutual_user"),mutual_password:a?"":_.getValue("mutual_password")}}let i;t.disks.forEach(_=>{const a=_.split("/"),l=this.imagesSettings[_].backstore;o.disks.push({pool:a[0],image:a[1],backstore:l,controls:this.imagesSettings[_][l],lun:this.imagesSettings[_].lun,wwn:this.imagesSettings[_].wwn})}),t.portals.forEach(_=>{const a=_.indexOf(":");o.portals.push({host:_.substring(0,a),ip:_.substring(a+1)})}),o.acl_enabled&&(t.initiators.forEach(_=>{_.auth.user||(_.auth.user=""),_.auth.password||(_.auth.password=""),_.auth.mutual_user||(_.auth.mutual_user=""),_.auth.mutual_password||(_.auth.mutual_password=""),delete _.cdIsInGroup;const a=[];_.luns.forEach(l=>{const d=l.split("/");a.push({pool:d[0],image:d[1]})}),_.luns=a}),o.clients=t.initiators),o.acl_enabled&&(t.groups.forEach(_=>{const a=[];_.disks.forEach(l=>{const d=l.split("/");a.push({pool:d[0],image:d[1]})}),_.disks=a}),o.groups=t.groups),this.isEdit?(o.new_target_iqn=o.target_iqn,o.target_iqn=this.target_iqn,i=this.taskWrapper.wrapTaskAroundCall({task:new E.R("iscsi/target/edit",{target_iqn:o.target_iqn}),call:this.iscsiService.updateTarget(this.target_iqn,o)})):i=this.taskWrapper.wrapTaskAroundCall({task:new E.R("iscsi/target/create",{target_iqn:o.target_iqn}),call:this.iscsiService.createTarget(o)}),i.subscribe({error:()=>{this.targetForm.setErrors({cdSubmitButton:!0})},complete:()=>this.router.navigate(["/block/iscsi/targets"])})}targetSettingsModal(){const t={target_controls:this.targetForm.get("target_controls"),target_default_controls:this.target_default_controls,target_controls_limits:this.target_controls_limits};this.modalRef=this.modalService.show(Ro,t)}imageSettingsModal(t){const o={imagesSettings:this.imagesSettings,image:t,api_version:this.api_version,disk_default_controls:this.disk_default_controls,disk_controls_limits:this.disk_controls_limits,backstores:this.getValidBackstores(this.getImageById(t)),control:this.targetForm.get("disks")};this.modalRef=this.modalService.show(Co,o)}validFeatures(t,o){const i=t.features,_=this.required_rbd_features[o];return(i&_)===_&&0==(i&this.unsupported_rbd_features[o])}getImageById(t){return this.imagesAll.find(o=>t===`${o.pool_name}/${o.name}`)}getValidBackstores(t){return this.backstores.filter(o=>this.validFeatures(t,o))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(X),e.Y36(pe.Z),e.Y36(H),e.Y36(m.F0),e.Y36(m.gz),e.Y36(u.P),e.Y36(L.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-target-form"]],features:[e.qOj],decls:1,vars:1,consts:function(){let s,t,o,i,_,a,l,d,g,S,I,P,$,y,Q,Y,ee,te,w,_e,ae,O,me,ge,Te,fe,Ce,Se,Re,G,Ge,ye,xe,Ze,we,He,ke,Ke,qe,Xe,Qe,ze,b,xt,Zt,wt,Ht,kt,Kt,qt,Xt,Qt,zt,Jt,Yt,Vt,Ut,jt,Wt,eo,to,oo;return s="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Target IQN",o="Portals",i="Add portal",_="Images",a="Add image",l="ACL authentication",d="This field is required.",g="IQN has wrong pattern.",S="An IQN has the following notation 'iqn.$year-$month.$reversedAddress:$definedName'",I="For example: iqn.2016-06.org.dashboard:storage:disk.sn-a8675309",P="More information",$="This target has modified advanced settings.",y="At least " + "\ufffd0\ufffd" + " gateways are required.",Q="Backstore: " + "\ufffd0\ufffd" + ".\xA0",Y="This image has modified settings.",ee="Duplicated LUN numbers.",te="Duplicated WWN.",w="User",_e="Password",ae="Mutual User",O="Mutual Password",me="This field is required.",ge="User names must have a length of 8 to 64 characters and can contain alphanumeric characters, '.', '@', '-', '_' or ':'.",Te="This field is required.",fe="Passwords must have a length of 12 to 16 characters and can contain alphanumeric characters, '@', '-', '_' or '/'.",Ce="This field is required.",Se="User names must have a length of 8 to 64 characters and can contain alphanumeric characters, '.', '@', '-', '_' or ':'.",Re="This field is required.",G="Passwords must have a length of 12 to 16 characters and can contain alphanumeric characters, '@', '-', '_' or '/'.",Ge="Initiators",ye="Add initiator",xe="Initiator",Ze="Client IQN",we="User",He="Password",ke="Mutual User",Ke="Mutual Password",qe="Images",Xe="Initiator IQN needs to be unique.",Qe="This field is required.",ze="IQN has wrong pattern.",b="This field is required.",xt="User names must have a length of 8 to 64 characters and can contain alphanumeric characters, '.', '@', '-', '_' or ':'.",Zt="This field is required.",wt="Passwords must have a length of 12 to 16 characters and can contain alphanumeric characters, '@', '-', '_' or '/'.",Ht="This field is required.",kt="User names must have a length of 8 to 64 characters and can contain alphanumeric characters, '.', '@', '-', '_' or ':'.",Kt="This field is required.",qt="Passwords must have a length of 12 to 16 characters and can contain alphanumeric characters, '@', '-', '_' or '/'.",Xt="Initiator belongs to a group. Images will be configure in the group.",Qt="Add image",zt="No items added.",Jt="Groups",Yt="Add group",Vt="Group",Ut="Name",jt="Initiators",Wt="Add initiator",eo="Images",to="Add image",oo="No items added.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","targetForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],s,[1,"card-body"],[1,"form-group","row"],["for","target_iqn",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],[1,"input-group"],["type","text","id","target_iqn","name","target_iqn","formControlName","target_iqn","cdTrim","",1,"form-control"],["id","ecp-info-button","type","button",1,"btn","btn-light",3,"click"],["aria-hidden","true",3,"ngClass"],["class","invalid-feedback",4,"ngIf"],["class","form-text text-muted",4,"ngIf"],["for","portals",1,"cd-col-form-label","required"],o,[4,"ngFor","ngForOf"],[1,"row"],[1,"col-md-12"],["elemClass","btn btn-light float-end",3,"data","options","messages","selection"],[3,"ngClass"],i,["type","hidden","id","portals","name","portals","formControlName","portals",1,"form-control"],["for","disks",1,"cd-col-form-label"],_,["type","hidden","id","disks","name","disks","formControlName","disks",1,"form-control"],a,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","formControlName","acl_enabled","name","acl_enabled","id","acl_enabled",1,"custom-control-input"],["for","acl_enabled",1,"custom-control-label"],l,["formGroupName","auth",4,"ngIf"],["class","form-group row",4,"ngIf"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],d,g,S,I,["target","_blank","href","https://en.wikipedia.org/wiki/ISCSI#Addressing"],P,[1,"form-text","text-muted"],$,[1,"input-group","cd-mb"],["type","text","disabled","",1,"cd-form-control",3,"value"],["type","button",1,"btn","btn-light",3,"click"],y,["class","input-group-text",4,"ngIf"],[4,"ngIf"],[1,"input-group-text"],Q,Y,ee,te,["formGroupName","auth"],["for","target_user",1,"cd-col-form-label"],w,["type","text","autocomplete","off","id","target_user","name","target_user","formControlName","user",1,"form-control"],["for","target_password",1,"cd-col-form-label"],_e,["type","password","autocomplete","new-password","id","target_password","name","target_password","formControlName","password",1,"form-control"],["type","button","cdPasswordButton","target_password",1,"btn","btn-light"],["source","target_password"],["for","target_mutual_user",1,"cd-col-form-label"],ae,["type","text","autocomplete","off","id","target_mutual_user","name","target_mutual_user","formControlName","mutual_user",1,"form-control"],["for","target_mutual_password",1,"cd-col-form-label"],O,["type","password","autocomplete","new-password","id","target_mutual_password","name","target_mutual_password","formControlName","mutual_password",1,"form-control"],["type","button","cdPasswordButton","target_mutual_password",1,"btn","btn-light"],["source","target_mutual_password"],me,ge,Te,fe,Ce,Se,Re,G,["for","initiators",1,"cd-col-form-label"],Ge,["formArrayName","initiators",1,"cd-col-form-input"],["class","card mb-2",3,"formGroup",4,"ngFor","ngForOf"],[1,"btn","btn-light","float-end",3,"click"],ye,[1,"card","mb-2",3,"formGroup"],xe,["type","button",1,"btn-close","float-end",3,"click"],["for","client_iqn",1,"cd-col-form-label","required"],Ze,["type","text","formControlName","client_iqn","cdTrim","",1,"form-control",3,"blur"],["for","user",1,"cd-col-form-label"],we,["formControlName","user","autocomplete","off","type","text",1,"form-control",3,"id"],["for","password",1,"cd-col-form-label"],He,["formControlName","password","autocomplete","new-password","type","password",1,"form-control",3,"id"],["type","button",1,"btn","btn-light",3,"cdPasswordButton"],[3,"source"],["for","mutual_user",1,"cd-col-form-label"],ke,["formControlName","mutual_user","autocomplete","off","type","text",1,"form-control",3,"id"],["for","mutual_password",1,"cd-col-form-label"],Ke,["formControlName","mutual_password","autocomplete","new-password","type","password",1,"form-control",3,"id"],["for","luns",1,"cd-col-form-label"],qe,["class","row",4,"ngIf"],Xe,Qe,ze,b,xt,Zt,wt,Ht,kt,Kt,qt,Xt,["elemClass","btn btn-light float-end",3,"data","options","messages"],Qt,zt,Jt,["formArrayName","groups",1,"cd-col-form-input"],Yt,Vt,["for","group_id",1,"cd-col-form-label","required"],Ut,["type","text","formControlName","group_id",1,"form-control"],["for","members",1,"cd-col-form-label"],jt,Wt,eo,to,oo]},template:function(t,o){1&t&&e.YNc(0,un,65,40,"div",0),2&t&&e.Q6J("cdFormLoading",o.loading)},dependencies:[c.mk,c.sg,c.O5,r._Y,r.Fj,r.Wl,r.JJ,r.JL,r.sg,r.u,r.x0,r.CE,Eo.H,Ye.s,A.p,Tt.C,Mo,ft.y,M.o,B.b,K.P,J.V,c.rS,Je.V,ot.m],styles:[".cd-mb[_ngcontent-%COMP%]{margin-bottom:10px}"]}),n})();var St=p(68136),ue=p(30982),W=p(59019),Le=p(99466),Ee=p(68774),Rt=p(55657),de=p(38047),nt=p(18001),ve=p(97161),oe=p(47640);function mn(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function gn(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,31),e.qZA())}function Tn(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,32),e.qZA())}function fn(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,33),e.qZA())}function Cn(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,34),e.qZA())}function Sn(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,35),e.qZA())}function Rn(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,36),e.qZA())}function En(n,s){1&n&&(e.TgZ(0,"span",29),e.SDv(1,37),e.qZA())}let Mn=(()=>{class n{constructor(t,o,i,_,a){this.authStorageService=t,this.activeModal=o,this.actionLabels=i,this.iscsiService=_,this.notificationService=a,this.USER_REGEX=/^[\w\.:@_-]{8,64}$/,this.PASSWORD_REGEX=/^[\w@\-_\/]{12,16}$/,this.permission=this.authStorageService.getPermissions().iscsi}ngOnInit(){this.hasPermission=this.permission.update,this.createForm(),this.iscsiService.getDiscovery().subscribe(t=>{this.discoveryForm.patchValue(t)})}createForm(){this.discoveryForm=new Z.d({user:new r.p4({value:"",disabled:!this.hasPermission}),password:new r.p4({value:"",disabled:!this.hasPermission}),mutual_user:new r.p4({value:"",disabled:!this.hasPermission}),mutual_password:new r.p4({value:"",disabled:!this.hasPermission})}),z.h.validateIf(this.discoveryForm.get("user"),()=>this.discoveryForm.getValue("password")||this.discoveryForm.getValue("mutual_user")||this.discoveryForm.getValue("mutual_password"),[r.kI.required],[r.kI.pattern(this.USER_REGEX)],[this.discoveryForm.get("password"),this.discoveryForm.get("mutual_user"),this.discoveryForm.get("mutual_password")]),z.h.validateIf(this.discoveryForm.get("password"),()=>this.discoveryForm.getValue("user")||this.discoveryForm.getValue("mutual_user")||this.discoveryForm.getValue("mutual_password"),[r.kI.required],[r.kI.pattern(this.PASSWORD_REGEX)],[this.discoveryForm.get("user"),this.discoveryForm.get("mutual_user"),this.discoveryForm.get("mutual_password")]),z.h.validateIf(this.discoveryForm.get("mutual_user"),()=>this.discoveryForm.getValue("mutual_password"),[r.kI.required],[r.kI.pattern(this.USER_REGEX)],[this.discoveryForm.get("user"),this.discoveryForm.get("password"),this.discoveryForm.get("mutual_password")]),z.h.validateIf(this.discoveryForm.get("mutual_password"),()=>this.discoveryForm.getValue("mutual_user"),[r.kI.required],[r.kI.pattern(this.PASSWORD_REGEX)],[this.discoveryForm.get("user"),this.discoveryForm.get("password"),this.discoveryForm.get("mutual_user")])}submitAction(){this.iscsiService.updateDiscovery(this.discoveryForm.value).subscribe(()=>{this.notificationService.show(nt.k.success,"Updated discovery authentication"),this.activeModal.close()},()=>{this.discoveryForm.setErrors({cdSubmitButton:!0})})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(oe.j),e.Y36(F.Kz),e.Y36(L.p4),e.Y36(X),e.Y36(ve.g))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-target-discovery-modal"]],decls:44,vars:13,consts:function(){let s,t,o,i,_,a,l,d,g,S,I,P,$;return s="Discovery Authentication",t="User",o="Password",i="Mutual User",_="Mutual Password",a="This field is required.",l="User names must have a length of 8 to 64 characters and can contain alphanumeric characters, '.', '@', '-', '_' or ':'.",d="This field is required.",g="Passwords must have a length of 12 to 16 characters and can contain alphanumeric characters, '@', '-', '_' or '/'.",S="This field is required.",I="User names must have a length of 8 to 64 characters and can contain alphanumeric characters, '.', '@', '-', '_' or ':'.",P="This field is required.",$="Passwords must have a length of 12 to 16 characters and can contain alphanumeric characters, '@', '-', '_' or '/'.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","discoveryForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","user",1,"cd-col-form-label"],t,[1,"cd-col-form-input"],["id","user","formControlName","user","type","text","autocomplete","off",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","password",1,"cd-col-form-label"],o,[1,"input-group"],["id","password","formControlName","password","type","password","autocomplete","new-password",1,"form-control"],["type","button","cdPasswordButton","password",1,"btn","btn-light"],["source","password"],["for","mutual_user",1,"cd-col-form-label"],i,["id","mutual_user","formControlName","mutual_user","type","text","autocomplete","off",1,"form-control"],["for","mutual_password",1,"cd-col-form-label"],_,["id","mutual_password","formControlName","mutual_password","type","password","autocomplete","new-password",1,"form-control"],["type","button","cdPasswordButton","mutual_password",1,"btn","btn-light"],["source","mutual_password"],[1,"modal-footer"],[3,"form","showSubmit","submitText","submitActionEvent"],[1,"invalid-feedback"],a,l,d,g,S,I,P,$]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"div",7)(8,"label",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"div",10),e._UZ(11,"input",11),e.YNc(12,mn,2,0,"span",12),e.YNc(13,gn,2,0,"span",12),e.qZA()(),e.TgZ(14,"div",7)(15,"label",13),e.SDv(16,14),e.qZA(),e.TgZ(17,"div",10)(18,"div",15),e._UZ(19,"input",16)(20,"button",17)(21,"cd-copy-2-clipboard-button",18),e.qZA(),e.YNc(22,Tn,2,0,"span",12),e.YNc(23,fn,2,0,"span",12),e.qZA()(),e.TgZ(24,"div",7)(25,"label",19),e.ynx(26),e.SDv(27,20),e.BQk(),e.qZA(),e.TgZ(28,"div",10),e._UZ(29,"input",21),e.YNc(30,Cn,2,0,"span",12),e.YNc(31,Sn,2,0,"span",12),e.qZA()(),e.TgZ(32,"div",7)(33,"label",22),e.SDv(34,23),e.qZA(),e.TgZ(35,"div",10)(36,"div",15),e._UZ(37,"input",24)(38,"button",25)(39,"cd-copy-2-clipboard-button",26),e.qZA(),e.YNc(40,Rn,2,0,"span",12),e.YNc(41,En,2,0,"span",12),e.qZA()()(),e.TgZ(42,"div",27)(43,"cd-form-button-panel",28),e.NdJ("submitActionEvent",function(){return o.submitAction()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.discoveryForm),e.xp6(8),e.Q6J("ngIf",o.discoveryForm.showError("user",i,"required")),e.xp6(1),e.Q6J("ngIf",o.discoveryForm.showError("user",i,"pattern")),e.xp6(9),e.Q6J("ngIf",o.discoveryForm.showError("password",i,"required")),e.xp6(1),e.Q6J("ngIf",o.discoveryForm.showError("password",i,"pattern")),e.xp6(7),e.Q6J("ngIf",o.discoveryForm.showError("mutual_user",i,"required")),e.xp6(1),e.Q6J("ngIf",o.discoveryForm.showError("mutual_user",i,"pattern")),e.xp6(9),e.Q6J("ngIf",o.discoveryForm.showError("mutual_password",i,"required")),e.xp6(1),e.Q6J("ngIf",o.discoveryForm.showError("mutual_password",i,"pattern")),e.xp6(2),e.Q6J("form",o.discoveryForm)("showSubmit",o.hasPermission)("submitText",o.actionLabels.SUBMIT)}},dependencies:[c.O5,r._Y,r.Fj,r.JJ,r.JL,r.sg,r.u,f.z,Ye.s,A.p,Tt.C,M.o,B.b,K.P,J.V]}),n})();var On=p(86969),it=p(34501),hn=p(30490),Me=p(94928);let Et=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-tabs"]],decls:7,vars:0,consts:function(){let s,t;return s="Overview",t="Targets",[[1,"nav","nav-tabs"],[1,"nav-item"],["routerLink","/block/iscsi/overview","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link"],s,["routerLink","/block/iscsi/targets","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link"],t]},template:function(t,o){1&t&&(e.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),e.SDv(3,3),e.qZA()(),e.TgZ(4,"li",1)(5,"a",4),e.SDv(6,5),e.qZA()()())},dependencies:[m.rH,m.Od]}),n})();var An=p(68962);const Pn=["highlightTpl"],bn=["detailTable"],In=["tree"],Nn=function(){return["logged_in"]},Fn=function(){return["logged_out"]},Dn=function(n,s){return{"badge-success":n,"badge-danger":s}};function Ln(n,s){if(1&n&&(e._UZ(0,"i"),e.TgZ(1,"span"),e._uU(2),e.qZA(),e._uU(3," \xa0 "),e.TgZ(4,"span",8),e._uU(5),e.qZA()),2&n){const t=s.$implicit;e.Tol(t.data.cdIcon),e.xp6(2),e.Oqu(t.data.name),e.xp6(2),e.Q6J("ngClass",e.WLB(7,Dn,e.DdM(5,Nn).includes(t.data.status),e.DdM(6,Fn).includes(t.data.status))),e.xp6(1),e.hij(" ",t.data.status," ")}}function vn(n,s){if(1&n&&(e.TgZ(0,"div",9)(1,"legend"),e._uU(2),e.qZA(),e._UZ(3,"cd-table",10,11),e.qZA()),2&n){const t=e.oxw();e.xp6(2),e.Oqu(t.title),e.xp6(1),e.Q6J("data",t.data)("columns",t.columns)("limit",0)}}function $n(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Oqu(t)}}function Bn(n,s){if(1&n&&(e.TgZ(0,"strong"),e._uU(1),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Oqu(t)}}function Gn(n,s){if(1&n&&(e.YNc(0,$n,2,1,"span",12),e.YNc(1,Bn,2,1,"strong",12)),2&n){const t=s.row;e.Q6J("ngIf",void 0===t.default||t.default===t.current),e.xp6(1),e.Q6J("ngIf",void 0!==t.default&&t.default!==t.current)}}let yn=(()=>{class n{set content(t){this.detailTable=t,t&&t.updateColumns()}constructor(t,o){this.iscsiBackstorePipe=t,this.booleanTextPipe=o,this.icons=T.P,this.metadata={},this.nodes=[],this.treeOptions={useVirtualScroll:!0,actionMapping:{mouse:{click:this.onNodeSelected.bind(this)}}}}ngOnInit(){this.columns=[{prop:"displayName",name:"Name",flexGrow:1,cellTemplate:this.highlightTpl},{prop:"current",name:"Current",flexGrow:1,cellTemplate:this.highlightTpl},{prop:"default",name:"Default",flexGrow:1,cellTemplate:this.highlightTpl}]}ngOnChanges(){this.selection&&(this.selectedItem=this.selection,this.generateTree()),this.data=void 0}generateTree(){const t=C().cloneDeep(this.selectedItem.target_controls);this.cephIscsiConfigVersion>10&&C().extend(t,C().cloneDeep(this.selectedItem.auth)),this.metadata={root:t};const o={target:{expanded:C().join(this.selectedItem.cdExecuting?[T.P.large,T.P.spinner,T.P.spin]:[T.P.large,T.P.bullseye]," ")},initiators:{expanded:C().join([T.P.large,T.P.user]," "),leaf:C().join([T.P.user]," ")},groups:{expanded:C().join([T.P.large,T.P.users]," "),leaf:C().join([T.P.users]," ")},disks:{expanded:C().join([T.P.large,T.P.disk]," "),leaf:C().join([T.P.disk]," ")},portals:{expanded:C().join([T.P.large,T.P.server]," "),leaf:C().join([T.P.server]," ")}},i=[];C().forEach(this.selectedItem.disks,d=>{const g="disk_"+d.pool+"_"+d.image;this.metadata[g]={controls:d.controls,backstore:d.backstore},["wwn","lun"].forEach(S=>{S in d&&(this.metadata[g][S]=d[S])}),i.push({name:`${d.pool}/${d.image}`,cdId:g,cdIcon:o.disks.leaf})});const _=[];C().forEach(this.selectedItem.portals,d=>{_.push({name:`${d.host}:${d.ip}`,cdIcon:o.portals.leaf})});const a=[];C().forEach(this.selectedItem.clients,d=>{const g=C().cloneDeep(d.auth);d.info&&(C().extend(g,d.info),delete g.state,C().forEach(Object.keys(d.info.state),P=>{g[P.toLowerCase()]=d.info.state[P]})),this.metadata["client_"+d.client_iqn]=g;const S=[];d.luns.forEach(P=>{S.push({name:`${P.pool}/${P.image}`,cdId:"disk_"+P.pool+"_"+P.image,cdIcon:o.disks.leaf})});let I="";d.info&&(I=Object.keys(d.info.state).includes("LOGGED_IN")?"logged_in":"logged_out"),a.push({name:d.client_iqn,status:I,cdId:"client_"+d.client_iqn,children:S,cdIcon:o.initiators.leaf})});const l=[];C().forEach(this.selectedItem.groups,d=>{const g=[];d.disks.forEach(I=>{g.push({name:`${I.pool}/${I.image}`,cdId:"disk_"+I.pool+"_"+I.image,cdIcon:o.disks.leaf})});const S=[];d.members.forEach(I=>{S.push({name:I,cdId:"client_"+I})}),l.push({name:d.group_id,cdIcon:o.groups.leaf,children:[{name:"Disks",children:g,cdIcon:o.disks.expanded},{name:"Initiators",children:S,cdIcon:o.initiators.expanded}]})}),this.nodes=[{name:this.selectedItem.target_iqn,cdId:"root",isExpanded:!0,cdIcon:o.target.expanded,children:[{name:"Disks",isExpanded:!0,children:i,cdIcon:o.disks.expanded},{name:"Portals",isExpanded:!0,children:_,cdIcon:o.portals.expanded},{name:"Initiators",isExpanded:!0,children:a,cdIcon:o.initiators.expanded},{name:"Groups",isExpanded:!0,children:l,cdIcon:o.groups.expanded}]}]}format(t){return"boolean"==typeof t?this.booleanTextPipe.transform(t):t}onNodeSelected(t,o){if(ne.iM.ACTIVATE(t,o,!0),o.data.cdId){this.title=o.data.name;const i=this.metadata[o.data.cdId]||{};"root"===o.data.cdId?(this.detailTable?.toggleColumn({prop:"default",isHidden:!0}),this.data=C().map(this.settings.target_default_controls,(_,a)=>({displayName:a,default:_=this.format(_),current:C().isUndefined(i[a])?_:this.format(i[a])})),this.cephIscsiConfigVersion>10&&["user","password","mutual_user","mutual_password"].forEach(_=>{this.data.push({displayName:_,default:null,current:i[_]})})):o.data.cdId.toString().startsWith("disk_")?(this.detailTable?.toggleColumn({prop:"default",isHidden:!0}),this.data=C().map(this.settings.disk_default_controls[i.backstore],(_,a)=>({displayName:a,default:_=this.format(_),current:C().isUndefined(i.controls[a])?_:this.format(i.controls[a])})),this.data.push({displayName:"backstore",default:this.iscsiBackstorePipe.transform(this.settings.default_backstore),current:this.iscsiBackstorePipe.transform(i.backstore)}),["wwn","lun"].forEach(_=>{_ in i&&this.data.push({displayName:_,default:void 0,current:i[_]})})):(this.detailTable?.toggleColumn({prop:"default",isHidden:!1}),this.data=C().map(i,(_,a)=>({displayName:a,default:void 0,current:this.format(_)})))}else this.data=void 0;this.detailTable?.updateColumns()}onUpdateData(){this.tree.treeModel.expandAll()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Je.V),e.Y36(An.T))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-target-details"]],viewQuery:function(t,o){if(1&t&&(e.Gf(Pn,7),e.Gf(bn,5),e.Gf(In,5)),2&t){let i;e.iGM(i=e.CRH())&&(o.highlightTpl=i.first),e.iGM(i=e.CRH())&&(o.content=i.first),e.iGM(i=e.CRH())&&(o.tree=i.first)}},inputs:{selection:"selection",settings:"settings",cephIscsiConfigVersion:"cephIscsiConfigVersion"},features:[e.TTD],decls:11,vars:3,consts:function(){let s;return s="iSCSI Topology",[[1,"row"],[1,"col-6"],s,[3,"nodes","options","updateData"],["tree",""],["treeNodeTemplate",""],["class","col-6 metadata",4,"ngIf"],["highlightTpl",""],[1,"badge",3,"ngClass"],[1,"col-6","metadata"],["columnMode","flex",3,"data","columns","limit"],["detailTable",""],[4,"ngIf"]]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"legend"),e.SDv(3,2),e.qZA(),e.TgZ(4,"tree-root",3,4),e.NdJ("updateData",function(){return o.onUpdateData()}),e.YNc(6,Ln,6,10,"ng-template",null,5,e.W1O),e.qZA()(),e.YNc(8,vn,5,4,"div",6),e.qZA(),e.YNc(9,Gn,2,2,"ng-template",null,7,e.W1O)),2&t&&(e.xp6(4),e.Q6J("nodes",o.nodes)("options",o.treeOptions),e.xp6(4),e.Q6J("ngIf",o.data))},dependencies:[c.mk,c.O5,W.a,ne.qr]}),n})();function xn(n,s){if(1&n&&(e.ynx(0),e._UZ(1,"br"),e.TgZ(2,"span"),e.SDv(3,6),e.qZA(),e.TgZ(4,"pre"),e._uU(5),e.qZA(),e.BQk()),2&n){const t=e.oxw(2);e.xp6(5),e.Oqu(t.status)}}function Zn(n,s){if(1&n&&(e.TgZ(0,"cd-alert-panel",2),e.ynx(1),e.tHW(2,3),e._UZ(3,"cd-doc",4),e.N_p(),e.BQk(),e.YNc(4,xn,6,1,"ng-container",5),e.qZA()),2&n){const t=e.oxw();e.xp6(4),e.Q6J("ngIf",t.status)}}function wn(n,s){if(1&n&&e._UZ(0,"cd-iscsi-target-details",15),2&n){const t=e.oxw(2);e.Q6J("cephIscsiConfigVersion",t.cephIscsiConfigVersion)("selection",t.expandedRow)("settings",t.settings)}}const Hn=function(n){return[n]};function kn(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",7,8),e.NdJ("fetchData",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.getTargets())})("setExpandedRow",function(i){e.CHM(t);const _=e.oxw();return e.KtG(_.setExpandedRow(i))})("updateSelection",function(i){e.CHM(t);const _=e.oxw();return e.KtG(_.updateSelection(i))}),e.TgZ(2,"div",9),e._UZ(3,"cd-table-actions",10),e.TgZ(4,"button",11),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.configureDiscoveryAuth())}),e._UZ(5,"i",12),e.ynx(6),e.SDv(7,13),e.BQk(),e.qZA()(),e.YNc(8,wn,1,3,"cd-iscsi-target-details",14),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("data",t.targets)("columns",t.columns)("hasDetails",!0)("autoReload",!1)("status",t.tableStatus),e.xp6(3),e.Q6J("permission",t.permission)("selection",t.selection)("tableActions",t.tableActions),e.xp6(2),e.Q6J("ngClass",e.VKq(10,Hn,t.icons.key)),e.xp6(3),e.Q6J("ngIf",t.expandedRow)}}let Kn=(()=>{class n extends St.o{constructor(t,o,i,_,a,l,d,g,S){super(S),this.authStorageService=t,this.iscsiService=o,this.joinPipe=i,this.taskListService=_,this.notAvailablePipe=a,this.modalService=l,this.taskWrapper=d,this.actionLabels=g,this.ngZone=S,this.available=void 0,this.selection=new Ee.r,this.targets=[],this.icons=T.P,this.builders={"iscsi/target/create":I=>({target_iqn:I.target_iqn})},this.permission=this.authStorageService.getPermissions().iscsi,this.tableActions=[{permission:"create",icon:T.P.add,routerLink:()=>"/block/iscsi/targets/create",name:this.actionLabels.CREATE},{permission:"update",icon:T.P.edit,routerLink:()=>`/block/iscsi/targets/edit/${this.selection.first().target_iqn}`,name:this.actionLabels.EDIT,disable:()=>this.getEditDisableDesc()},{permission:"delete",icon:T.P.destroy,click:()=>this.deleteIscsiTargetModal(),name:this.actionLabels.DELETE,disable:()=>this.getDeleteDisableDesc()}]}ngOnInit(){this.columns=[{name:"Target",prop:"target_iqn",flexGrow:2,cellTransformation:Le.e.executing},{name:"Portals",prop:"cdPortals",pipe:this.joinPipe,flexGrow:2},{name:"Images",prop:"cdImages",pipe:this.joinPipe,flexGrow:2},{name:"# Sessions",prop:"info.num_sessions",pipe:this.notAvailablePipe,flexGrow:1}],this.iscsiService.status().subscribe(t=>{this.available=t.available,t.available||(this.status=t.message)})}getTargets(){this.available&&(this.setTableRefreshTimeout(),this.iscsiService.version().subscribe(t=>{this.cephIscsiConfigVersion=t.ceph_iscsi_config_version}),this.taskListService.init(()=>this.iscsiService.listTargets(),t=>this.prepareResponse(t),t=>this.targets=t,()=>this.onFetchError(),this.taskFilter,this.itemFilter,this.builders),this.iscsiService.settings().subscribe(t=>{this.settings=t}))}ngOnDestroy(){this.summaryDataSubscription&&this.summaryDataSubscription.unsubscribe()}getEditDisableDesc(){const t=this.selection.first();return t&&t?.cdExecuting?t.cdExecuting:t&&C().isUndefined(t?.info)?"Unavailable gateway(s)":!t}getDeleteDisableDesc(){const t=this.selection.first();return t?.cdExecuting?t.cdExecuting:t&&C().isUndefined(t?.info)?"Unavailable gateway(s)":t&&t?.info?.num_sessions?"Target has active sessions":!t}prepareResponse(t){return t.forEach(o=>{o.cdPortals=o.portals.map(i=>`${i.host}:${i.ip}`),o.cdImages=o.disks.map(i=>`${i.pool}/${i.image}`)}),t}onFetchError(){this.table.reset()}itemFilter(t,o){return t.target_iqn===o.metadata.target_iqn}taskFilter(t){return["iscsi/target/create","iscsi/target/edit","iscsi/target/delete"].includes(t.name)}updateSelection(t){this.selection=t}deleteIscsiTargetModal(){const t=this.selection.first().target_iqn;this.modalRef=this.modalService.show(ue.M,{itemDescription:"iSCSI target",itemNames:[t],submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new E.R("iscsi/target/delete",{target_iqn:t}),call:this.iscsiService.deleteTarget(t)})})}configureDiscoveryAuth(){this.modalService.show(Mn)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(oe.j),e.Y36(X),e.Y36(On.A),e.Y36(de.j),e.Y36(Rt.g),e.Y36(pe.Z),e.Y36(u.P),e.Y36(L.p4),e.Y36(e.R0b))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi-target-list"]],viewQuery:function(t,o){if(1&t&&e.Gf(W.a,5),2&t){let i;e.iGM(i=e.CRH())&&(o.table=i.first)}},features:[e._Bn([de.j]),e.qOj],decls:3,vars:2,consts:function(){let s,t,o,i;return s="iSCSI Targets not available",t="Please consult the " + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " on how to configure and enable the iSCSI Targets management functionality.",o="Available information:",i="Discovery authentication",[["type","info","title",s,4,"ngIf"],["columnMode","flex","identifier","target_iqn","forceIdentifier","true","selectionType","single",3,"data","columns","hasDetails","autoReload","status","fetchData","setExpandedRow","updateSelection",4,"ngIf"],["type","info","title",s],t,["section","iscsi"],[4,"ngIf"],o,["columnMode","flex","identifier","target_iqn","forceIdentifier","true","selectionType","single",3,"data","columns","hasDetails","autoReload","status","fetchData","setExpandedRow","updateSelection"],["table",""],[1,"table-actions","btn-toolbar"],[1,"btn-group",3,"permission","selection","tableActions"],["type","button",1,"btn","btn-light",3,"click"],["aria-hidden","true",3,"ngClass"],i,["cdTableDetail","",3,"cephIscsiConfigVersion","selection","settings",4,"ngIf"],["cdTableDetail","",3,"cephIscsiConfigVersion","selection","settings"]]},template:function(t,o){1&t&&(e._UZ(0,"cd-iscsi-tabs"),e.YNc(1,Zn,5,1,"cd-alert-panel",0),e.YNc(2,kn,9,12,"cd-table",1)),2&t&&(e.xp6(1),e.Q6J("ngIf",!1===o.available),e.xp6(1),e.Q6J("ngIf",!0===o.available))},dependencies:[c.mk,c.O5,it.G,hn.K,W.a,Me.K,M.o,Et,yn]}),n})();var st=p(66369),qn=p(76446),Xn=p(90068);const Qn=["iscsiSparklineTpl"],zn=["iscsiPerSecondTpl"],Jn=["iscsiRelativeDateTpl"];function Yn(n,s){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"cd-sparkline",9),e.qZA()),2&n){const t=e.oxw(),o=t.value,i=t.row;e.xp6(1),e.Q6J("data",o)("isBinary",i.cdIsBinary)}}function Vn(n,s){1&n&&(e.TgZ(0,"span",10),e._uU(1," n/a "),e.qZA())}function Un(n,s){if(1&n&&(e.YNc(0,Yn,2,2,"span",7),e.YNc(1,Vn,2,0,"span",8)),2&n){const t=s.row;e.Q6J("ngIf","user:rbd"===t.backstore),e.xp6(1),e.Q6J("ngIf","user:rbd"!==t.backstore)}}function jn(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.hij(" ",t," /s ")}}function Wn(n,s){1&n&&(e.TgZ(0,"span",10),e._uU(1," n/a "),e.qZA())}function ei(n,s){if(1&n&&(e.YNc(0,jn,2,1,"span",7),e.YNc(1,Wn,2,0,"span",8)),2&n){const t=s.row;e.Q6J("ngIf","user:rbd"===t.backstore),e.xp6(1),e.Q6J("ngIf","user:rbd"!==t.backstore)}}function ti(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"notAvailable"),e.ALo(3,"relativeDate"),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.hij(" ",e.lcZ(2,1,e.lcZ(3,3,t))," ")}}function oi(n,s){1&n&&(e.TgZ(0,"span",10),e._uU(1," n/a "),e.qZA())}function ni(n,s){if(1&n&&(e.YNc(0,ti,4,5,"span",7),e.YNc(1,oi,2,0,"span",8)),2&n){const t=s.row;e.Q6J("ngIf","user:rbd"===t.backstore),e.xp6(1),e.Q6J("ngIf","user:rbd"!==t.backstore)}}let ii=(()=>{class n{constructor(t,o,i){this.iscsiService=t,this.dimlessPipe=o,this.iscsiBackstorePipe=i,this.gateways=[],this.images=[]}ngOnInit(){this.gatewaysColumns=[{name:"Name",prop:"name"},{name:"State",prop:"state",flexGrow:1,cellTransformation:Le.e.badge,customTemplateConfig:{map:{up:{class:"badge-success"},down:{class:"badge-danger"}}}},{name:"# Targets",prop:"num_targets"},{name:"# Sessions",prop:"num_sessions"}],this.imagesColumns=[{name:"Pool",prop:"pool"},{name:"Image",prop:"image"},{name:"Backstore",prop:"backstore",pipe:this.iscsiBackstorePipe},{name:"Read Bytes",prop:"stats_history.rd_bytes",cellTemplate:this.iscsiSparklineTpl},{name:"Write Bytes",prop:"stats_history.wr_bytes",cellTemplate:this.iscsiSparklineTpl},{name:"Read Ops",prop:"stats.rd",pipe:this.dimlessPipe,cellTemplate:this.iscsiPerSecondTpl},{name:"Write Ops",prop:"stats.wr",pipe:this.dimlessPipe,cellTemplate:this.iscsiPerSecondTpl},{name:"A/O Since",prop:"optimized_since",cellTemplate:this.iscsiRelativeDateTpl}]}refresh(){this.iscsiService.overview().subscribe(t=>{this.gateways=t.gateways,this.images=t.images,this.images.map(o=>(o.stats_history&&(o.stats_history.rd_bytes=o.stats_history.rd_bytes.map(i=>i[1]),o.stats_history.wr_bytes=o.stats_history.wr_bytes.map(i=>i[1])),o.cdIsBinary=!0,o))})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(X),e.Y36(st.n),e.Y36(Je.V))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-iscsi"]],viewQuery:function(t,o){if(1&t&&(e.Gf(Qn,7),e.Gf(zn,7),e.Gf(Jn,7)),2&t){let i;e.iGM(i=e.CRH())&&(o.iscsiSparklineTpl=i.first),e.iGM(i=e.CRH())&&(o.iscsiPerSecondTpl=i.first),e.iGM(i=e.CRH())&&(o.iscsiRelativeDateTpl=i.first)}},decls:15,vars:4,consts:function(){let s,t;return s="Gateways",t="Images",[s,[3,"data","columns","fetchData"],t,[3,"data","columns"],["iscsiSparklineTpl",""],["iscsiPerSecondTpl",""],["iscsiRelativeDateTpl",""],[4,"ngIf"],["class","text-muted",4,"ngIf"],[3,"data","isBinary"],[1,"text-muted"]]},template:function(t,o){1&t&&(e._UZ(0,"cd-iscsi-tabs"),e.TgZ(1,"legend"),e.SDv(2,0),e.qZA(),e.TgZ(3,"div")(4,"cd-table",1),e.NdJ("fetchData",function(){return o.refresh()}),e.qZA()(),e.TgZ(5,"legend"),e.SDv(6,2),e.qZA(),e.TgZ(7,"div"),e._UZ(8,"cd-table",3),e.qZA(),e.YNc(9,Un,2,2,"ng-template",null,4,e.W1O),e.YNc(11,ei,2,2,"ng-template",null,5,e.W1O),e.YNc(13,ni,2,2,"ng-template",null,6,e.W1O)),2&t&&(e.xp6(4),e.Q6J("data",o.gateways)("columns",o.gatewaysColumns),e.xp6(4),e.Q6J("data",o.images)("columns",o.imagesColumns))},dependencies:[c.O5,qn.l,W.a,Et,Xn.h,Rt.g]}),n})(),si=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[c.ez,Pe.m,F.Oz,m.Bz,r.u5,r.UX,F.ZQ,F.HK]}),n})();var _i=p(13464),ai=p(26215),ri=p(45435),Mt=p(36848);let q=class{constructor(s,t){this.http=s,this.timerService=t,this.REFRESH_INTERVAL=3e4,this.summaryDataSource=new ai.X(null),this.summaryData$=this.summaryDataSource.asObservable()}startPolling(){return this.timerService.get(()=>this.retrieveSummaryObservable(),this.REFRESH_INTERVAL).subscribe(this.retrieveSummaryObserver())}refresh(){return this.retrieveSummaryObservable().subscribe(this.retrieveSummaryObserver())}retrieveSummaryObservable(){return this.http.get("api/block/mirroring/summary")}retrieveSummaryObserver(){return s=>{this.summaryDataSource.next(s)}}subscribeSummary(s,t){return this.summaryData$.pipe((0,ri.h)(o=>!!o)).subscribe(s,t)}getPool(s){return this.http.get(`api/block/mirroring/pool/${s}`)}updatePool(s,t){return this.http.put(`api/block/mirroring/pool/${s}`,t,{observe:"response"})}getSiteName(){return this.http.get("api/block/mirroring/site_name")}setSiteName(s){return this.http.put("api/block/mirroring/site_name",{site_name:s},{observe:"response"})}createBootstrapToken(s){return this.http.post(`api/block/mirroring/pool/${s}/bootstrap/token`,{})}importBootstrapToken(s,t,o){return this.http.post(`api/block/mirroring/pool/${s}/bootstrap/peer`,{direction:t,token:o},{observe:"response"})}getPeer(s,t){return this.http.get(`api/block/mirroring/pool/${s}/peer/${t}`)}getPeerForPool(s){return this.http.get(`api/block/mirroring/pool/${s}/peer`)}addPeer(s,t){return this.http.post(`api/block/mirroring/pool/${s}/peer`,t,{observe:"response"})}updatePeer(s,t,o){return this.http.put(`api/block/mirroring/pool/${s}/peer/${t}`,o,{observe:"response"})}deletePeer(s,t){return this.http.delete(`api/block/mirroring/pool/${s}/peer/${t}`,{observe:"response"})}};q.\u0275fac=function(s){return new(s||q)(e.LFG(ie.eN),e.LFG(Mt.f))},q.\u0275prov=e.Yz7({token:q,factory:q.\u0275fac,providedIn:"root"}),(0,D.gn)([(0,D.fM)(0,V.G),(0,D.w6)("design:type",Function),(0,D.w6)("design:paramtypes",[String]),(0,D.w6)("design:returntype",void 0)],q.prototype,"setSiteName",null),(0,D.gn)([(0,D.fM)(1,V.G),(0,D.fM)(2,V.G),(0,D.w6)("design:type",Function),(0,D.w6)("design:paramtypes",[String,String,String]),(0,D.w6)("design:returntype",void 0)],q.prototype,"importBootstrapToken",null),q=(0,D.gn)([V.o,(0,D.w6)("design:paramtypes",[ie.eN,Mt.f])],q);var _t=p(6481),li=p(68307),Ot=p(12627),ci=p(39749),di=p(13472),Oe=p(82945);function pi(n,s){1&n&&(e.TgZ(0,"span",25),e.SDv(1,26),e.qZA())}function ui(n,s){if(1&n&&(e.TgZ(0,"div",27),e._UZ(1,"input",28),e.TgZ(2,"label",29),e._uU(3),e.qZA()()),2&n){const t=s.$implicit;e.xp6(1),e.s9C("id",t.name),e.s9C("name",t.name),e.s9C("formControlName",t.name),e.xp6(1),e.s9C("for",t.name),e.xp6(1),e.Oqu(t.name)}}function mi(n,s){1&n&&(e.TgZ(0,"span",25),e.SDv(1,30),e.qZA())}let gi=(()=>{class n{constructor(t,o,i){this.activeModal=t,this.rbdMirroringService=o,this.taskWrapper=i,this.pools=[],this.createForm()}createForm(){this.createBootstrapForm=new Z.d({siteName:new r.p4("",{validators:[r.kI.required]}),pools:new r.nJ({},{validators:[this.validatePools()]}),token:new r.p4("",{})})}ngOnInit(){this.createBootstrapForm.get("siteName").setValue(this.siteName),this.rbdMirroringService.getSiteName().subscribe(t=>{this.createBootstrapForm.get("siteName").setValue(t.site_name)}),this.subs=this.rbdMirroringService.subscribeSummary(t=>{this.pools=t.content_data.pools.reduce((_,a)=>(_.push({name:a.name,mirror_mode:a.mirror_mode}),_),[]);const i=this.createBootstrapForm.get("pools");C().each(this.pools,_=>{const a=_.name,l="disabled"===_.mirror_mode,d=i.controls[a];d?l&&d.disabled?d.enable():!l&&d.enabled&&(d.disable(),d.setValue(!0)):i.addControl(a,new r.p4({value:!l,disabled:!l}))})})}ngOnDestroy(){this.subs&&this.subs.unsubscribe()}validatePools(){return t=>{let o=0;return C().each(t.controls,i=>{!0===i.value&&++o}),o>0?null:{requirePool:!0}}}generate(){this.createBootstrapForm.get("token").setValue("");let t="";const o=[],i=this.createBootstrapForm.get("pools");C().each(i.controls,(g,S)=>{!0===g.value&&(t=S,g.disabled||o.push(S))});const _={mirror_mode:"image"},a=(0,_t.z)(this.rbdMirroringService.setSiteName(this.createBootstrapForm.getValue("siteName")),(0,ce.D)(o.map(g=>this.rbdMirroringService.updatePool(g,_))),this.rbdMirroringService.createBootstrapToken(t).pipe((0,li.b)(g=>this.createBootstrapForm.get("token").setValue(g.token)))).pipe((0,Ot.Z)()),l=()=>{this.rbdMirroringService.refresh(),this.createBootstrapForm.setErrors({cdSubmitButton:!0})};this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/mirroring/bootstrap/create",{}),call:a}).subscribe({error:l,complete:l})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(F.Kz),e.Y36(q),e.Y36(u.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-bootstrap-create-modal"]],decls:32,vars:6,consts:function(){let s,t,o,i,_,a,l,d,g,S,I;return s="Create Bootstrap Token",t="To create a bootstrap token which can be imported by a peer site cluster, provide the local site's name, select which pools will have mirroring enabled, and click\xA0 " + "\ufffd#10\ufffd" + "Generate" + "\ufffd/#10\ufffd" + ".",o="Site Name",i="Name...",_="Pools",a="Generate",l="Token",d="Generated token...",g="Close",S="This field is required.",I="At least one pool is required.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","createBootstrapForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],t,[1,"form-group"],["for","siteName",1,"col-form-label","required"],o,["type","text","placeholder",i,"id","siteName","name","siteName","formControlName","siteName","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["formGroupName","pools",1,"form-group"],["for","pools",1,"col-form-label","required"],_,["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],[1,"mb-4","float-end",3,"form","submitAction"],a,["for","token",1,"col-form-label"],l,["placeholder",d,"id","token","formControlName","token","readonly","",1,"form-control","resize-vertical"],["source","token",1,"float-end"],[1,"modal-footer"],["name",g,3,"backAction"],[1,"invalid-feedback"],S,[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","name","formControlName"],[1,"custom-control-label",3,"for"],I]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p"),e.ynx(8),e.tHW(9,7),e._UZ(10,"kbd"),e.N_p(),e.BQk(),e.qZA(),e.TgZ(11,"div",8)(12,"label",9),e.SDv(13,10),e.qZA(),e._UZ(14,"input",11),e.YNc(15,pi,2,0,"span",12),e.qZA(),e.TgZ(16,"div",13)(17,"label",14),e.SDv(18,15),e.qZA(),e.YNc(19,ui,4,5,"div",16),e.YNc(20,mi,2,0,"span",12),e.qZA(),e.TgZ(21,"cd-submit-button",17),e.NdJ("submitAction",function(){return o.generate()}),e.SDv(22,18),e.qZA(),e.TgZ(23,"div",8)(24,"label",19)(25,"span"),e.SDv(26,20),e.qZA()(),e.TgZ(27,"textarea",21),e._uU(28," "),e.qZA()(),e._UZ(29,"cd-copy-2-clipboard-button",22),e.qZA(),e.TgZ(30,"div",23)(31,"cd-back-button",24),e.NdJ("backAction",function(){return o.activeModal.close()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.createBootstrapForm),e.xp6(11),e.Q6J("ngIf",o.createBootstrapForm.showError("siteName",i,"required")),e.xp6(4),e.Q6J("ngForOf",o.pools),e.xp6(1),e.Q6J("ngIf",o.createBootstrapForm.showError("pools",i,"requirePool")),e.xp6(1),e.Q6J("form",o.createBootstrapForm)}},dependencies:[c.sg,c.O5,ci.w,di.W,f.z,Ye.s,Oe.U,M.o,B.b,K.P,J.V,r._Y,r.Fj,r.Wl,r.JJ,r.JL,r.sg,r.u,r.x0],styles:[".form-group.ng-invalid[_ngcontent-%COMP%] .invalid-feedback[_ngcontent-%COMP%]{display:block}"]}),n})();function Ti(n,s){1&n&&(e.TgZ(0,"span",26),e.SDv(1,27),e.qZA())}function fi(n,s){if(1&n&&(e.TgZ(0,"option",28),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.key),e.xp6(1),e.Oqu(t.desc)}}function Ci(n,s){if(1&n&&(e.TgZ(0,"div",29),e._UZ(1,"input",30),e.TgZ(2,"label",31),e._uU(3),e.qZA()()),2&n){const t=s.$implicit;e.xp6(1),e.s9C("id",t.name),e.s9C("name",t.name),e.s9C("formControlName",t.name),e.xp6(1),e.s9C("for",t.name),e.xp6(1),e.Oqu(t.name)}}function Si(n,s){1&n&&(e.TgZ(0,"span",26),e.SDv(1,32),e.qZA())}function Ri(n,s){1&n&&(e.TgZ(0,"span",26),e.SDv(1,33),e.qZA())}function Ei(n,s){1&n&&(e.TgZ(0,"span",26),e.SDv(1,34),e.qZA())}let Mi=(()=>{class n{constructor(t,o,i,_){this.activeModal=t,this.actionLabels=o,this.rbdMirroringService=i,this.taskWrapper=_,this.pools=[],this.directions=[{key:"rx-tx",desc:"Bidirectional"},{key:"rx",desc:"Unidirectional (receive-only)"}],this.createForm()}createForm(){this.importBootstrapForm=new Z.d({siteName:new r.p4("",{validators:[r.kI.required]}),direction:new r.p4("rx-tx",{}),pools:new r.nJ({},{validators:[this.validatePools()]}),token:new r.p4("",{validators:[r.kI.required,this.validateToken()]})})}ngOnInit(){this.rbdMirroringService.getSiteName().subscribe(t=>{this.importBootstrapForm.get("siteName").setValue(t.site_name)}),this.subs=this.rbdMirroringService.subscribeSummary(t=>{this.pools=t.content_data.pools.reduce((_,a)=>(_.push({name:a.name,mirror_mode:a.mirror_mode}),_),[]);const i=this.importBootstrapForm.get("pools");C().each(this.pools,_=>{const a=_.name,l="disabled"===_.mirror_mode,d=i.controls[a];d?l&&d.disabled?d.enable():!l&&d.enabled&&(d.disable(),d.setValue(!0)):i.addControl(a,new r.p4({value:!l,disabled:!l}))})})}ngOnDestroy(){this.subs&&this.subs.unsubscribe()}validatePools(){return t=>{let o=0;return C().each(t.controls,i=>{!0===i.value&&++o}),o>0?null:{requirePool:!0}}}validateToken(){return t=>{try{if(JSON.parse(atob(t.value)))return null}catch{}return{invalidToken:!0}}}import(){const t=[],o=[],i=this.importBootstrapForm.get("pools");C().each(i.controls,(g,S)=>{!0===g.value&&(t.push(S),g.disabled||o.push(S))});const _={mirror_mode:"image"};let a=(0,_t.z)(this.rbdMirroringService.setSiteName(this.importBootstrapForm.getValue("siteName")),(0,ce.D)(o.map(g=>this.rbdMirroringService.updatePool(g,_))));a=t.reduce((g,S)=>(0,_t.z)(g,this.rbdMirroringService.importBootstrapToken(S,this.importBootstrapForm.getValue("direction"),this.importBootstrapForm.getValue("token"))),a).pipe((0,Ot.Z)());const l=()=>{this.rbdMirroringService.refresh(),this.importBootstrapForm.setErrors({cdSubmitButton:!0})};this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/mirroring/bootstrap/import",{}),call:a}).subscribe({error:l,complete:()=>{l(),this.activeModal.close()}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(F.Kz),e.Y36(L.p4),e.Y36(q),e.Y36(u.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-bootstrap-import-modal"]],decls:36,vars:10,consts:function(){let s,t,o,i,_,a,l,d,g,S,I,P;return s="Import Bootstrap Token",t="To import a bootstrap token which was created by a peer site cluster, provide the local site's name, select which pools will have mirroring enabled, provide the generated token, and click\xA0" + "\ufffd#10\ufffd" + "Import" + "\ufffd/#10\ufffd" + ".",o="Site Name",i="Name...",_="Direction",a="Pools",l="Token",d="Generated token...",g="This field is required.",S="At least one pool is required.",I="This field is required.",P="The token is invalid.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","importBootstrapForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],t,[1,"form-group"],["for","siteName",1,"col-form-label","required"],o,["type","text","placeholder",i,"id","siteName","name","siteName","formControlName","siteName","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","direction",1,"col-form-label"],_,["id","direction","name","direction","formControlName","direction",1,"form-control"],[3,"value",4,"ngFor","ngForOf"],["formGroupName","pools",1,"form-group"],["for","pools",1,"col-form-label","required"],a,["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],["for","token",1,"col-form-label","required"],l,["placeholder",d,"id","token","formControlName","token",1,"form-control","resize-vertical"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],g,[3,"value"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","name","formControlName"],[1,"custom-control-label",3,"for"],S,I,P]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p"),e.ynx(8),e.tHW(9,7),e._UZ(10,"kbd"),e.N_p(),e.BQk(),e.qZA(),e.TgZ(11,"div",8)(12,"label",9),e.SDv(13,10),e.qZA(),e._UZ(14,"input",11),e.YNc(15,Ti,2,0,"span",12),e.qZA(),e.TgZ(16,"div",8)(17,"label",13)(18,"span"),e.SDv(19,14),e.qZA()(),e.TgZ(20,"select",15),e.YNc(21,fi,2,2,"option",16),e.qZA()(),e.TgZ(22,"div",17)(23,"label",18),e.SDv(24,19),e.qZA(),e.YNc(25,Ci,4,5,"div",20),e.YNc(26,Si,2,0,"span",12),e.qZA(),e.TgZ(27,"div",8)(28,"label",21),e.SDv(29,22),e.qZA(),e.TgZ(30,"textarea",23),e._uU(31," "),e.qZA(),e.YNc(32,Ri,2,0,"span",12),e.YNc(33,Ei,2,0,"span",12),e.qZA()(),e.TgZ(34,"div",24)(35,"cd-form-button-panel",25),e.NdJ("submitActionEvent",function(){return o.import()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.importBootstrapForm),e.xp6(11),e.Q6J("ngIf",o.importBootstrapForm.showError("siteName",i,"required")),e.xp6(6),e.Q6J("ngForOf",o.directions),e.xp6(4),e.Q6J("ngForOf",o.pools),e.xp6(1),e.Q6J("ngIf",o.importBootstrapForm.showError("pools",i,"requirePool")),e.xp6(6),e.Q6J("ngIf",o.importBootstrapForm.showError("token",i,"required")),e.xp6(1),e.Q6J("ngIf",o.importBootstrapForm.showError("token",i,"invalidToken")),e.xp6(2),e.Q6J("form",o.importBootstrapForm)("submitText",o.actionLabels.SUBMIT)}},dependencies:[c.sg,c.O5,f.z,A.p,Oe.U,M.o,B.b,K.P,J.V,r._Y,r.YN,r.Kr,r.Fj,r.Wl,r.EJ,r.JJ,r.JL,r.sg,r.u,r.x0]}),n})();var se=p(69158),Oi=p(58111);let at=(()=>{class n{transform(t){return"warning"===t?"badge badge-warning":"error"===t?"badge badge-danger":"success"===t?"badge badge-success":"badge badge-info"}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275pipe=e.Yjl({name:"mirrorHealthColor",type:n,pure:!0}),n})();const hi=["healthTmpl"];function Ai(n,s){if(1&n&&(e.TgZ(0,"span",2),e.ALo(1,"mirrorHealthColor"),e._uU(2),e.qZA()),2&n){const o=s.value;e.Q6J("ngClass",e.lcZ(1,2,s.row.health_color)),e.xp6(2),e.Oqu(o)}}let Pi=(()=>{class n{constructor(t,o){this.rbdMirroringService=t,this.cephShortVersionPipe=o,this.tableStatus=new se.E}ngOnInit(){this.columns=[{prop:"instance_id",name:"Instance",flexGrow:2},{prop:"id",name:"ID",flexGrow:2},{prop:"server_hostname",name:"Hostname",flexGrow:2},{prop:"version",name:"Version",pipe:this.cephShortVersionPipe,flexGrow:2},{prop:"health",name:"Health",cellTemplate:this.healthTmpl,flexGrow:1}],this.subs=this.rbdMirroringService.subscribeSummary(t=>{this.data=t.content_data.daemons,this.tableStatus=new se.E(t.status)})}ngOnDestroy(){this.subs.unsubscribe()}refresh(){this.rbdMirroringService.refresh()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(q),e.Y36(Oi.F))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-mirroring-daemons"]],viewQuery:function(t,o){if(1&t&&e.Gf(hi,7),2&t){let i;e.iGM(i=e.CRH())&&(o.healthTmpl=i.first)}},decls:3,vars:4,consts:[["columnMode","flex",3,"data","columns","autoReload","status","fetchData"],["healthTmpl",""],[3,"ngClass"]],template:function(t,o){1&t&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(){return o.refresh()}),e.qZA(),e.YNc(1,Ai,3,4,"ng-template",null,1,e.W1O)),2&t&&e.Q6J("data",o.data)("columns",o.columns)("autoReload",-1)("status",o.tableStatus)},dependencies:[c.mk,W.a,at]}),n})();var ht=p(59376);const bi=["stateTmpl"],Ii=["syncTmpl"],Ni=["progressTmpl"],Fi=["entriesBehindPrimaryTpl"];function Di(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",14),e.NdJ("fetchData",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.refresh())}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("data",t.image_error.data)("columns",t.image_error.columns)("autoReload",-1)("status",t.tableStatus)}}function Li(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",14),e.NdJ("fetchData",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.refresh())}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("data",t.image_syncing.data)("columns",t.image_syncing.columns)("autoReload",-1)("status",t.tableStatus)}}function vi(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",14),e.NdJ("fetchData",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.refresh())}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("data",t.image_ready.data)("columns",t.image_ready.columns)("autoReload",-1)("status",t.tableStatus)}}function $i(n,s){if(1&n&&(e.TgZ(0,"span",15),e.ALo(1,"mirrorHealthColor"),e._uU(2),e.qZA()),2&n){const o=s.value;e.Q6J("ngClass",e.lcZ(1,2,s.row.state_color)),e.xp6(2),e.Oqu(o)}}function Bi(n,s){1&n&&e._UZ(0,"div")}function Gi(n,s){if(1&n&&e._UZ(0,"ngb-progressbar",19),2&n){const t=e.oxw().value;e.Q6J("value",t)("showValue",!0)}}function yi(n,s){if(1&n&&(e.YNc(0,Bi,1,0,"div",16),e.TgZ(1,"div",17),e.YNc(2,Gi,1,2,"ngb-progressbar",18),e.qZA()),2&n){const t=s.row;e.Q6J("ngIf","Replaying"===t.state),e.xp6(2),e.Q6J("ngIf","Replaying"===t.state)}}function xi(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.hij(" ",t," ")}}function Zi(n,s){1&n&&(e.TgZ(0,"span",21),e._uU(1,"-"),e.qZA())}function wi(n,s){if(1&n&&(e.YNc(0,xi,2,1,"span",16),e.YNc(1,Zi,2,0,"span",20)),2&n){const t=s.row;e.Q6J("ngIf","journal"===t.mirror_mode),e.xp6(1),e.Q6J("ngIf","snapshot"===t.mirror_mode)}}let Hi=(()=>{class n{constructor(t){this.rbdMirroringService=t,this.image_error={data:[],columns:{}},this.image_syncing={data:[],columns:{}},this.image_ready={data:[],columns:{}},this.tableStatus=new se.E}ngOnInit(){this.image_error.columns=[{prop:"pool_name",name:"Pool",flexGrow:2},{prop:"name",name:"Image",flexGrow:2},{prop:"state",name:"State",cellTemplate:this.stateTmpl,flexGrow:1},{prop:"description",name:"Issue",flexGrow:4}],this.image_syncing.columns=[{prop:"pool_name",name:"Pool",flexGrow:2},{prop:"name",name:"Image",flexGrow:2},{prop:"state",name:"State",cellTemplate:this.stateTmpl,flexGrow:1},{prop:"syncing_percent",name:"Progress",cellTemplate:this.progressTmpl,flexGrow:2},{prop:"bytes_per_second",name:"Bytes per second",flexGrow:2},{prop:"entries_behind_primary",name:"Entries behind primary",cellTemplate:this.entriesBehindPrimaryTpl,flexGrow:2}],this.image_ready.columns=[{prop:"pool_name",name:"Pool",flexGrow:2},{prop:"name",name:"Image",flexGrow:2},{prop:"state",name:"State",cellTemplate:this.stateTmpl,flexGrow:1},{prop:"description",name:"Description",flexGrow:4}],this.subs=this.rbdMirroringService.subscribeSummary(t=>{this.image_error.data=t.content_data.image_error,this.image_syncing.data=t.content_data.image_syncing,this.image_ready.data=t.content_data.image_ready,this.tableStatus=new se.E(t.status)})}ngOnDestroy(){this.subs.unsubscribe()}refresh(){this.rbdMirroringService.refresh()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(q))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-mirroring-images"]],viewQuery:function(t,o){if(1&t&&(e.Gf(bi,7),e.Gf(Ii,7),e.Gf(Ni,7),e.Gf(Fi,7)),2&t){let i;e.iGM(i=e.CRH())&&(o.stateTmpl=i.first),e.iGM(i=e.CRH())&&(o.syncTmpl=i.first),e.iGM(i=e.CRH())&&(o.progressTmpl=i.first),e.iGM(i=e.CRH())&&(o.entriesBehindPrimaryTpl=i.first)}},decls:21,vars:4,consts:function(){let s,t,o;return s="Issues (" + "\ufffd0\ufffd" + ")",t="Syncing (" + "\ufffd0\ufffd" + ")",o="Ready (" + "\ufffd0\ufffd" + ")",[["ngbNav","","cdStatefulTab","image-list",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","issues"],["ngbNavLink",""],s,["ngbNavContent",""],["ngbNavItem","syncing"],t,["ngbNavItem","ready"],o,[3,"ngbNavOutlet"],["stateTmpl",""],["progressTmpl",""],["entriesBehindPrimaryTpl",""],["columnMode","flex",3,"data","columns","autoReload","status","fetchData"],[3,"ngClass"],[4,"ngIf"],[1,"w-100","h-100","d-flex","justify-content-center","align-items-center"],["type","info","class","w-100",3,"value","showValue",4,"ngIf"],["type","info",1,"w-100",3,"value","showValue"],["ngbTooltip","Not available with mirroring snapshot mode",4,"ngIf"],["ngbTooltip","Not available with mirroring snapshot mode"]]},template:function(t,o){if(1&t&&(e.TgZ(0,"nav",0,1),e.ynx(2,2),e.TgZ(3,"a",3),e.SDv(4,4),e.qZA(),e.YNc(5,Di,1,4,"ng-template",5),e.BQk(),e.ynx(6,6),e.TgZ(7,"a",3),e.SDv(8,7),e.qZA(),e.YNc(9,Li,1,4,"ng-template",5),e.BQk(),e.ynx(10,8),e.TgZ(11,"a",3),e.SDv(12,9),e.qZA(),e.YNc(13,vi,1,4,"ng-template",5),e.BQk(),e.qZA(),e._UZ(14,"div",10),e.YNc(15,$i,3,4,"ng-template",null,11,e.W1O),e.YNc(17,yi,3,2,"ng-template",null,12,e.W1O),e.YNc(19,wi,2,2,"ng-template",null,13,e.W1O)),2&t){const i=e.MAs(1);e.xp6(4),e.pQV(o.image_error.data.length),e.QtT(4),e.xp6(4),e.pQV(o.image_syncing.data.length),e.QtT(8),e.xp6(4),e.pQV(o.image_ready.data.length),e.QtT(12),e.xp6(2),e.Q6J("ngbNavOutlet",i)}},dependencies:[c.mk,c.O5,W.a,ht.m,F.uN,F.Pz,F.nv,F.Vx,F.tO,F.Dy,F.Ly,F._L,at]}),n})();var At=p(70882);class ki{}function Ki(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,25),e.qZA())}function qi(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,26),e.qZA())}function Xi(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,27),e.qZA())}function Qi(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,28),e.qZA())}function zi(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,29),e.qZA())}function Ji(n,s){1&n&&(e.TgZ(0,"span",24),e.SDv(1,30),e.qZA())}let Yi=(()=>{class n{constructor(t,o,i,_){this.activeModal=t,this.actionLabels=o,this.rbdMirroringService=i,this.taskWrapper=_,this.bsConfig={containerClass:"theme-default"},this.createForm()}createForm(){this.editPeerForm=new Z.d({clusterName:new r.p4("",{validators:[r.kI.required,this.validateClusterName]}),clientID:new r.p4("",{validators:[r.kI.required,this.validateClientID]}),monAddr:new r.p4("",{validators:[this.validateMonAddr]}),key:new r.p4("",{validators:[this.validateKey]})})}ngOnInit(){this.pattern=`${this.poolName}/${this.peerUUID}`,"edit"===this.mode&&this.rbdMirroringService.getPeer(this.poolName,this.peerUUID).subscribe(t=>{this.setResponse(t)})}validateClusterName(t){if(!t.value.match(/^[\w\-_]*$/))return{invalidClusterName:{value:t.value}}}validateClientID(t){if(!t.value.match(/^(?!client\.)[\w\-_.]*$/))return{invalidClientID:{value:t.value}}}validateMonAddr(t){if(!t.value.match(/^[,; ]*([\w.\-_\[\]]+(:[\d]+)?[,; ]*)*$/))return{invalidMonAddr:{value:t.value}}}validateKey(t){try{if(""===t.value||atob(t.value))return null}catch{}return{invalidKey:{value:t.value}}}setResponse(t){this.response=t,this.editPeerForm.get("clusterName").setValue(t.cluster_name),this.editPeerForm.get("clientID").setValue(t.client_id),this.editPeerForm.get("monAddr").setValue(t.mon_host),this.editPeerForm.get("key").setValue(t.key)}update(){const t=new ki;let o;t.cluster_name=this.editPeerForm.getValue("clusterName"),t.client_id=this.editPeerForm.getValue("clientID"),t.mon_host=this.editPeerForm.getValue("monAddr"),t.key=this.editPeerForm.getValue("key"),o=this.taskWrapper.wrapTaskAroundCall("edit"===this.mode?{task:new E.R("rbd/mirroring/peer/edit",{pool_name:this.poolName}),call:this.rbdMirroringService.updatePeer(this.poolName,this.peerUUID,t)}:{task:new E.R("rbd/mirroring/peer/add",{pool_name:this.poolName}),call:this.rbdMirroringService.addPeer(this.poolName,t)}),o.subscribe({error:()=>this.editPeerForm.setErrors({cdSubmitButton:!0}),complete:()=>{this.rbdMirroringService.refresh(),this.activeModal.close()}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(F.Kz),e.Y36(L.p4),e.Y36(q),e.Y36(u.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-pool-edit-peer-modal"]],decls:38,vars:13,consts:function(){let s,t,o,i,_,a,l,d,g,S,I,P,$,y,Q,Y,ee,te;return s="{VAR_SELECT, select, edit {Edit} other {Add}}",s=e.Zx4(s,{VAR_SELECT:"\ufffd0\ufffd"}),t="" + s + " pool mirror peer",o="{VAR_SELECT, select, edit {Edit} other {Add}}",o=e.Zx4(o,{VAR_SELECT:"\ufffd0\ufffd"}),i="" + o + " the pool mirror peer attributes for pool " + "[\ufffd#10\ufffd|\ufffd#11\ufffd]" + "" + "\ufffd1\ufffd" + "" + "[\ufffd/#10\ufffd|\ufffd/#11\ufffd]" + " and click " + "[\ufffd#10\ufffd|\ufffd#11\ufffd]" + "Submit" + "[\ufffd/#10\ufffd|\ufffd/#11\ufffd]" + ".",i=e.Zx4(i),_="Cluster Name",a="Name...",l="CephX ID",d="CephX ID...",g="Monitor Addresses",S="Comma-delimited addresses...",I="CephX Key",P="Base64-encoded key...",$="This field is required.",y="The cluster name is not valid.",Q="This field is required.",Y="The CephX ID is not valid.",ee="The monitory address is not valid.",te="CephX key must be base64 encoded.",[[3,"modalRef"],[1,"modal-title"],t,[1,"modal-content"],["name","editPeerForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],i,[1,"form-group"],["for","clusterName",1,"col-form-label","required"],_,["type","text","placeholder",a,"id","clusterName","name","clusterName","formControlName","clusterName","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","clientID",1,"col-form-label","required"],l,["type","text","placeholder",d,"id","clientID","name","clientID","formControlName","clientID",1,"form-control"],["for","monAddr",1,"col-form-label"],g,["type","text","placeholder",S,"id","monAddr","name","monAddr","formControlName","monAddr",1,"form-control"],["for","key",1,"col-form-label"],I,["type","text","placeholder",P,"id","key","name","key","formControlName","key",1,"form-control"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],$,y,Q,Y,ee,te]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.qZA(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p")(8,"span"),e.tHW(9,7),e._UZ(10,"kbd")(11,"kbd"),e.N_p(),e.qZA()(),e.TgZ(12,"div",8)(13,"label",9),e.SDv(14,10),e.qZA(),e._UZ(15,"input",11),e.YNc(16,Ki,2,0,"span",12),e.YNc(17,qi,2,0,"span",12),e.qZA(),e.TgZ(18,"div",8)(19,"label",13),e.SDv(20,14),e.qZA(),e._UZ(21,"input",15),e.YNc(22,Xi,2,0,"span",12),e.YNc(23,Qi,2,0,"span",12),e.qZA(),e.TgZ(24,"div",8)(25,"label",16)(26,"span"),e.SDv(27,17),e.qZA()(),e._UZ(28,"input",18),e.YNc(29,zi,2,0,"span",12),e.qZA(),e.TgZ(30,"div",8)(31,"label",19)(32,"span"),e.SDv(33,20),e.qZA()(),e._UZ(34,"input",21),e.YNc(35,Ji,2,0,"span",12),e.qZA()(),e.TgZ(36,"div",22)(37,"cd-form-button-panel",23),e.NdJ("submitActionEvent",function(){return o.update()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(2),e.pQV(o.mode),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.editPeerForm),e.xp6(7),e.pQV(o.mode)(o.poolName),e.QtT(9),e.xp6(5),e.Q6J("ngIf",o.editPeerForm.showError("clusterName",i,"required")),e.xp6(1),e.Q6J("ngIf",o.editPeerForm.showError("clusterName",i,"invalidClusterName")),e.xp6(5),e.Q6J("ngIf",o.editPeerForm.showError("clientID",i,"required")),e.xp6(1),e.Q6J("ngIf",o.editPeerForm.showError("clientID",i,"invalidClientID")),e.xp6(6),e.Q6J("ngIf",o.editPeerForm.showError("monAddr",i,"invalidMonAddr")),e.xp6(6),e.Q6J("ngIf",o.editPeerForm.showError("key",i,"invalidKey")),e.xp6(2),e.Q6J("form",o.editPeerForm)("submitText",o.actionLabels.SUBMIT)}},dependencies:[c.O5,f.z,A.p,Oe.U,M.o,B.b,K.P,J.V,r._Y,r.Fj,r.JJ,r.JL,r.sg,r.u]}),n})();const Vi=["healthTmpl"],Ui=["localTmpl"],ji=["remoteTmpl"];function Wi(n,s){if(1&n&&(e.TgZ(0,"span",6),e.ALo(1,"mirrorHealthColor"),e._uU(2),e.qZA()),2&n){const o=s.value;e.Q6J("ngClass",e.lcZ(1,2,s.row.health_color)),e.xp6(2),e.Oqu(o)}}function es(n,s){1&n&&(e.TgZ(0,"span",7),e.SDv(1,8),e.qZA())}function ts(n,s){1&n&&(e.TgZ(0,"span",9),e.SDv(1,10),e.qZA())}let ns=(()=>{class n{constructor(t,o,i,_,a){this.authStorageService=t,this.rbdMirroringService=o,this.modalService=i,this.taskWrapper=_,this.router=a,this.selection=new Ee.r,this.tableStatus=new se.E,this.data=[],this.permission=this.authStorageService.getPermissions().rbdMirroring;const l={permission:"update",icon:T.P.edit,click:()=>this.editModeModal(),name:"Edit Mode",canBePrimary:()=>!0},d={permission:"create",icon:T.P.add,name:"Add Peer",click:()=>this.editPeersModal("add"),disable:()=>!this.selection.first()||"disabled"===this.selection.first().mirror_mode,visible:()=>!this.getPeerUUID(),canBePrimary:()=>!1},g={permission:"update",icon:T.P.exchange,name:"Edit Peer",click:()=>this.editPeersModal("edit"),visible:()=>!!this.getPeerUUID()},S={permission:"delete",icon:T.P.destroy,name:"Delete Peer",click:()=>this.deletePeersModal(),visible:()=>!!this.getPeerUUID()};this.tableActions=[l,d,g,S]}ngOnInit(){this.columns=[{prop:"name",name:"Name",flexGrow:2},{prop:"mirror_mode",name:"Mode",flexGrow:2},{prop:"leader_id",name:"Leader",flexGrow:2},{prop:"image_local_count",name:"# Local",headerTemplate:this.localTmpl,flexGrow:2},{prop:"image_remote_count",name:"# Remote",headerTemplate:this.remoteTmpl,flexGrow:2},{prop:"health",name:"Health",cellTemplate:this.healthTmpl,flexGrow:1}],this.subs=this.rbdMirroringService.subscribeSummary(t=>{this.data=t.content_data.pools,this.tableStatus=new se.E(t.status)})}ngOnDestroy(){this.subs.unsubscribe()}refresh(){this.rbdMirroringService.refresh()}editModeModal(){this.router.navigate(["/block/mirroring",{outlets:{modal:[L.MQ.EDIT,this.selection.first().name]}}])}editPeersModal(t){const o={poolName:this.selection.first().name,mode:t};"edit"===t&&(o.peerUUID=this.getPeerUUID()),this.modalRef=this.modalService.show(Yi,o)}deletePeersModal(){const t=this.selection.first().name,o=this.getPeerUUID();this.modalRef=this.modalService.show(ue.M,{itemDescription:"mirror peer",itemNames:[`${t} (${o})`],submitActionObservable:()=>new At.y(i=>{this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/mirroring/peer/delete",{pool_name:t}),call:this.rbdMirroringService.deletePeer(t,o)}).subscribe({error:_=>i.error(_),complete:()=>{this.rbdMirroringService.refresh(),i.complete()}})})})}getPeerUUID(){const t=this.selection.first(),o=this.data.find(i=>t&&t.name===i.name);if(o&&o.peer_uuids)return o.peer_uuids[0]}updateSelection(t){this.selection=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(oe.j),e.Y36(q),e.Y36(pe.Z),e.Y36(u.P),e.Y36(m.F0))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-mirroring-pools"]],viewQuery:function(t,o){if(1&t&&(e.Gf(Vi,7),e.Gf(Ui,7),e.Gf(ji,7)),2&t){let i;e.iGM(i=e.CRH())&&(o.healthTmpl=i.first),e.iGM(i=e.CRH())&&(o.localTmpl=i.first),e.iGM(i=e.CRH())&&(o.remoteTmpl=i.first)}},decls:9,vars:7,consts:function(){let s,t,o,i;return s="Local image count",t="# Local",o="Remote image count",i="# Remote",[["columnMode","flex","identifier","name","forceIdentifier","true","selectionType","single",3,"data","columns","autoReload","status","fetchData","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["healthTmpl",""],["localTmpl",""],["remoteTmpl",""],["name","modal"],[3,"ngClass"],["ngbTooltip",s],t,["ngbTooltip",o],i]},template:function(t,o){1&t&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(){return o.refresh()})("updateSelection",function(_){return o.updateSelection(_)}),e._UZ(1,"cd-table-actions",1),e.qZA(),e.YNc(2,Wi,3,4,"ng-template",null,2,e.W1O),e.YNc(4,es,2,0,"ng-template",null,3,e.W1O),e.YNc(6,ts,2,0,"ng-template",null,4,e.W1O),e._UZ(8,"router-outlet",5)),2&t&&(e.Q6J("data",o.data)("columns",o.columns)("autoReload",-1)("status",o.tableStatus),e.xp6(1),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions))},dependencies:[c.mk,W.a,Me.K,m.lC,F._L,at]}),n})();function is(n,s){if(1&n&&e._UZ(0,"i",19),2&n){const t=e.oxw();e.Q6J("ngClass",t.icons.edit)}}function ss(n,s){if(1&n&&e._UZ(0,"i",19),2&n){const t=e.oxw();e.Q6J("ngClass",t.icons.check)}}let _s=(()=>{class n{constructor(t,o,i,_){this.authStorageService=t,this.rbdMirroringService=o,this.modalService=i,this.taskWrapper=_,this.selection=new Ee.r,this.peersExist=!0,this.subs=new _i.w,this.editing=!1,this.icons=T.P,this.permission=this.authStorageService.getPermissions().rbdMirroring;const a={permission:"update",icon:T.P.upload,click:()=>this.createBootstrapModal(),name:"Create Bootstrap Token",canBePrimary:()=>!0,disable:()=>!1},l={permission:"update",icon:T.P.download,click:()=>this.importBootstrapModal(),name:"Import Bootstrap Token",disable:()=>!1};this.tableActions=[a,l]}ngOnInit(){this.createForm(),this.subs.add(this.rbdMirroringService.startPolling()),this.subs.add(this.rbdMirroringService.subscribeSummary(t=>{this.status=t.content_data.status,this.peersExist=!!t.content_data.pools.find(o=>o.peer_uuids.length>0)})),this.rbdMirroringService.getSiteName().subscribe(t=>{this.siteName=t.site_name,this.rbdmirroringForm.get("siteName").setValue(this.siteName)})}createForm(){this.rbdmirroringForm=new Z.d({siteName:new r.p4({value:"",disabled:!0})})}ngOnDestroy(){this.subs.unsubscribe()}updateSiteName(){this.editing&&this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/mirroring/site_name/edit",{}),call:this.rbdMirroringService.setSiteName(this.rbdmirroringForm.getValue("siteName"))}).subscribe({complete:()=>{this.rbdMirroringService.refresh()}}),this.editing=!this.editing}createBootstrapModal(){this.modalRef=this.modalService.show(gi,{siteName:this.siteName})}importBootstrapModal(){this.modalRef=this.modalService.show(Mi,{siteName:this.siteName})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(oe.j),e.Y36(q),e.Y36(pe.Z),e.Y36(u.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-mirroring"]],decls:31,vars:10,consts:function(){let s,t,o,i;return s="Site Name",t="Daemons",o="Pools",i="Images",[["name","rbdmirroringForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"row","mb-3"],[1,"col-md-auto"],["for","siteName",1,"col-form-label"],s,[1,"col-sm-4","d-flex"],["type","text","id","siteName","name","siteName","formControlName","siteName",1,"form-control"],["id","editSiteName",1,"btn","btn-light",3,"click"],[3,"ngClass",4,"ngIf"],[3,"source","byId"],[1,"col"],[1,"table-actions","float-end",3,"permission","selection","tableActions"],[1,"row"],[1,"col-sm-6"],t,o,[1,"col-md-12"],i,[3,"ngClass"]]},template:function(t,o){1&t&&(e.TgZ(0,"form",0,1)(2,"div",2)(3,"div",3)(4,"label",4),e.SDv(5,5),e.qZA()(),e.TgZ(6,"div",6),e._UZ(7,"input",7),e.TgZ(8,"button",8),e.NdJ("click",function(){return o.updateSiteName()}),e.YNc(9,is,1,1,"i",9),e.YNc(10,ss,1,1,"i",9),e.qZA(),e._UZ(11,"cd-copy-2-clipboard-button",10),e.qZA(),e.TgZ(12,"div",11),e._UZ(13,"cd-table-actions",12),e.qZA()()(),e.TgZ(14,"div",13)(15,"div",14)(16,"legend"),e.SDv(17,15),e.qZA(),e.TgZ(18,"div"),e._UZ(19,"cd-mirroring-daemons"),e.qZA()(),e.TgZ(20,"div",14)(21,"legend"),e.SDv(22,16),e.qZA(),e.TgZ(23,"div"),e._UZ(24,"cd-mirroring-pools"),e.qZA()()(),e.TgZ(25,"div",13)(26,"div",17)(27,"legend"),e.SDv(28,18),e.qZA(),e.TgZ(29,"div"),e._UZ(30,"cd-mirroring-images"),e.qZA()()()),2&t&&(e.Q6J("formGroup",o.rbdmirroringForm),e.xp6(7),e.uIk("disabled",!o.editing||null),e.xp6(1),e.uIk("title",o.editing?"Save":"Edit"),e.xp6(1),e.Q6J("ngIf",!o.editing),e.xp6(1),e.Q6J("ngIf",o.editing),e.xp6(1),e.Q6J("source",o.siteName)("byId",!1),e.xp6(2),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions))},dependencies:[c.mk,c.O5,Ye.s,Me.K,M.o,B.b,J.V,r._Y,r.Fj,r.JJ,r.JL,r.sg,r.u,Pi,Hi,ns]}),n})();class as{}function rs(n,s){if(1&n&&(e.TgZ(0,"option",16),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.id),e.xp6(1),e.Oqu(t.name)}}function ls(n,s){1&n&&(e.TgZ(0,"span",17),e.SDv(1,18),e.qZA())}let cs=(()=>{class n{constructor(t,o,i,_,a,l){this.activeModal=t,this.actionLabels=o,this.rbdMirroringService=i,this.taskWrapper=_,this.route=a,this.location=l,this.bsConfig={containerClass:"theme-default"},this.peerExists=!1,this.mirrorModes=[{id:"disabled",name:"Disabled"},{id:"pool",name:"Pool"},{id:"image",name:"Image"}],this.createForm()}createForm(){this.editModeForm=new Z.d({mirrorMode:new r.p4("",{validators:[r.kI.required,this.validateMode.bind(this)]})})}ngOnInit(){this.route.params.subscribe(t=>{this.poolName=t.pool_name}),this.pattern=`${this.poolName}`,this.rbdMirroringService.getPool(this.poolName).subscribe(t=>{this.setResponse(t)}),this.subs=this.rbdMirroringService.subscribeSummary(t=>{this.peerExists=!1;const i=t.content_data.pools.find(_=>this.poolName===_.name);this.peerExists=i&&i.peer_uuids.length})}ngOnDestroy(){this.subs.unsubscribe()}validateMode(t){return"disabled"===t.value&&this.peerExists?{cannotDisable:{value:t.value}}:null}setResponse(t){this.editModeForm.get("mirrorMode").setValue(t.mirror_mode)}update(){const t=new as;t.mirror_mode=this.editModeForm.getValue("mirrorMode"),this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/mirroring/pool/edit",{pool_name:this.poolName}),call:this.rbdMirroringService.updatePool(this.poolName,t)}).subscribe({error:()=>this.editModeForm.setErrors({cdSubmitButton:!0}),complete:()=>{this.rbdMirroringService.refresh(),this.location.back()}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(F.Kz),e.Y36(L.p4),e.Y36(q),e.Y36(u.P),e.Y36(m.gz),e.Y36(c.Ye))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-pool-edit-mode-modal"]],decls:21,vars:7,consts:function(){let s,t,o,i;return s="Edit pool mirror mode",t="To edit the mirror mode for pool\xA0 " + "[\ufffd#10\ufffd|\ufffd#11\ufffd]" + "" + "\ufffd0\ufffd" + "" + "[\ufffd/#10\ufffd|\ufffd/#11\ufffd]" + ", select a new mode from the list and click\xA0 " + "[\ufffd#10\ufffd|\ufffd#11\ufffd]" + "Update" + "[\ufffd/#10\ufffd|\ufffd/#11\ufffd]" + ".",t=e.Zx4(t),o="Mode",i="Peer clusters must be removed prior to disabling mirror.",[["pageURL","mirroring",3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","editModeForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],t,[1,"form-group"],["for","mirrorMode",1,"col-form-label"],o,["id","mirrorMode","name","mirrorMode","formControlName","mirrorMode",1,"form-select"],[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[3,"value"],[1,"invalid-feedback"],i]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p"),e.ynx(8),e.tHW(9,7),e._UZ(10,"kbd")(11,"kbd"),e.N_p(),e.BQk(),e.qZA(),e.TgZ(12,"div",8)(13,"label",9)(14,"span"),e.SDv(15,10),e.qZA()(),e.TgZ(16,"select",11),e.YNc(17,rs,2,2,"option",12),e.qZA(),e.YNc(18,ls,2,0,"span",13),e.qZA()(),e.TgZ(19,"div",14)(20,"cd-form-button-panel",15),e.NdJ("submitActionEvent",function(){return o.update()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.editModeForm),e.xp6(7),e.pQV(o.poolName),e.QtT(9),e.xp6(6),e.Q6J("ngForOf",o.mirrorModes),e.xp6(1),e.Q6J("ngIf",o.editModeForm.showError("mirrorMode",i,"cannotDisable")),e.xp6(2),e.Q6J("form",o.editModeForm)("submitText",o.actionLabels.UPDATE)}},dependencies:[c.sg,c.O5,f.z,A.p,M.o,K.P,J.V,r._Y,r.YN,r.Kr,r.EJ,r.JJ,r.JL,r.sg,r.u]}),n})();var Pt=p(7357),ds=p(28049),ps=p(43190),Ve=p(80842),rt=p(30633),Ue=p(47557),us=p(28211);class ms{}var Ie=(()=>{return(n=Ie||(Ie={}))[n.V1=1]="V1",n[n.V2=2]="V2",Ie;var n})();class gs{constructor(){this.features=[]}}class Ts{constructor(){this.features=[]}}class fs{}class Cs extends fs{constructor(){super(...arguments),this.features=[]}}class lt{constructor(){this.features=[],this.remove_scheduling=!1}}var je=(()=>{return(n=je||(je={})).editing="editing",n.cloning="cloning",n.copying="copying",je;var n})(),bt=p(18372),Ss=p(17932),Rs=p(60950);function Es(n,s){if(1&n&&(e.TgZ(0,"div",9)(1,"label",58),e.SDv(2,59),e.ALo(3,"titlecase"),e.qZA(),e.TgZ(4,"div",12),e._UZ(5,"input",60)(6,"hr"),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(3),e.pQV(e.lcZ(3,1,t.action)),e.QtT(2)}}function Ms(n,s){1&n&&(e.TgZ(0,"span",61),e.ynx(1),e.SDv(2,62),e.BQk(),e.qZA())}function Os(n,s){1&n&&(e.TgZ(0,"span",61),e.ynx(1),e.SDv(2,63),e.BQk(),e.qZA())}function hs(n,s){1&n&&e._UZ(0,"input",64)}function As(n,s){1&n&&(e.TgZ(0,"option",50),e.SDv(1,67),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Ps(n,s){1&n&&(e.TgZ(0,"option",50),e.SDv(1,68),e.qZA()),2&n&&e.Q6J("ngValue",null)}function bs(n,s){1&n&&(e.TgZ(0,"option",50),e.SDv(1,69),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Is(n,s){if(1&n&&(e.TgZ(0,"option",70),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.pool_name),e.xp6(1),e.Oqu(t.pool_name)}}function Ns(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"select",65),e.NdJ("change",function(){e.CHM(t);const i=e.oxw(2);return e.KtG(i.setPoolMirrorMode())}),e.YNc(1,As,2,1,"option",66),e.YNc(2,Ps,2,1,"option",66),e.YNc(3,bs,2,1,"option",66),e.YNc(4,Is,2,2,"option",46),e.qZA()}if(2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",null===t.pools),e.xp6(1),e.Q6J("ngIf",null!==t.pools&&0===t.pools.length),e.xp6(1),e.Q6J("ngIf",null!==t.pools&&t.pools.length>0),e.xp6(1),e.Q6J("ngForOf",t.pools)}}function Fs(n,s){1&n&&(e.TgZ(0,"span",61),e.SDv(1,71),e.qZA())}const Ds=function(n,s){return[n,s]};function Ls(n,s){if(1&n&&(e.TgZ(0,"div",9)(1,"div",20),e._UZ(2,"i",72),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.WLB(1,Ds,t.icons.spinner,t.icons.spin))}}function vs(n,s){1&n&&e._UZ(0,"input",76)}function $s(n,s){1&n&&(e.TgZ(0,"option",50),e.SDv(1,78),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Bs(n,s){1&n&&(e.TgZ(0,"option",50),e.SDv(1,79),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Gs(n,s){1&n&&(e.TgZ(0,"option",50),e.SDv(1,80),e.qZA()),2&n&&e.Q6J("ngValue",null)}function ys(n,s){if(1&n&&(e.TgZ(0,"option",70),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function xs(n,s){if(1&n&&(e.TgZ(0,"select",77),e.YNc(1,$s,2,1,"option",66),e.YNc(2,Bs,2,1,"option",66),e.YNc(3,Gs,2,1,"option",66),e.YNc(4,ys,2,2,"option",46),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("ngIf",null===t.pools),e.xp6(1),e.Q6J("ngIf",null!==t.pools&&0===t.pools.length),e.xp6(1),e.Q6J("ngIf",null!==t.pools&&t.pools.length>0),e.xp6(1),e.Q6J("ngForOf",t.namespaces)}}function Zs(n,s){if(1&n&&(e.TgZ(0,"div",9)(1,"label",73),e._uU(2," Namespace "),e.qZA(),e.TgZ(3,"div",12),e.YNc(4,vs,1,0,"input",74),e.YNc(5,xs,5,4,"select",75),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(4),e.Q6J("ngIf","editing"===t.mode||!t.poolPermission.read),e.xp6(1),e.Q6J("ngIf","editing"!==t.mode&&t.poolPermission.read)}}function ws(n,s){1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.SDv(2,81),e.qZA()())}function Hs(n,s){1&n&&e._UZ(0,"input",87)}function ks(n,s){1&n&&(e.TgZ(0,"option",50),e.SDv(1,89),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Ks(n,s){1&n&&(e.TgZ(0,"option",50),e.SDv(1,90),e.qZA()),2&n&&e.Q6J("ngValue",null)}function qs(n,s){1&n&&(e.TgZ(0,"option",50),e._uU(1,"-- Select a data pool -- "),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Xs(n,s){if(1&n&&(e.TgZ(0,"option",70),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.pool_name),e.xp6(1),e.Oqu(t.pool_name)}}function Qs(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"select",88),e.NdJ("change",function(i){e.CHM(t);const _=e.oxw(3);return e.KtG(_.onDataPoolChange(i.target.value))}),e.YNc(1,ks,2,1,"option",66),e.YNc(2,Ks,2,1,"option",66),e.YNc(3,qs,2,1,"option",66),e.YNc(4,Xs,2,2,"option",46),e.qZA()}if(2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("ngIf",null===t.dataPools),e.xp6(1),e.Q6J("ngIf",null!==t.dataPools&&0===t.dataPools.length),e.xp6(1),e.Q6J("ngIf",null!==t.dataPools&&t.dataPools.length>0),e.xp6(1),e.Q6J("ngForOf",t.dataPools)}}function zs(n,s){1&n&&(e.TgZ(0,"span",61),e.SDv(1,91),e.qZA())}const We=function(n){return{required:n}};function Js(n,s){if(1&n&&(e.TgZ(0,"div",9)(1,"label",82)(2,"span",72),e.SDv(3,83),e.qZA(),e._UZ(4,"cd-helper",84),e.qZA(),e.TgZ(5,"div",12),e.YNc(6,Hs,1,0,"input",85),e.YNc(7,Qs,5,4,"select",86),e.YNc(8,zs,2,0,"span",14),e.qZA()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(4,We,"editing"!==o.mode)),e.xp6(4),e.Q6J("ngIf","editing"===o.mode||!o.poolPermission.read),e.xp6(1),e.Q6J("ngIf","editing"!==o.mode&&o.poolPermission.read),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("dataPool",t,"required"))}}function Ys(n,s){1&n&&(e.TgZ(0,"span",61),e.SDv(1,92),e.qZA())}function Vs(n,s){1&n&&(e.TgZ(0,"span",61),e.SDv(1,93),e.qZA())}function Us(n,s){1&n&&(e.TgZ(0,"span",61),e.SDv(1,94),e.qZA())}function js(n,s){if(1&n&&e._UZ(0,"cd-helper",98),2&n){const t=e.oxw().$implicit;e.s9C("html",t.helperHtml)}}function Ws(n,s){if(1&n&&(e.TgZ(0,"div",21),e._UZ(1,"input",95),e.TgZ(2,"label",96),e._uU(3),e.qZA(),e.YNc(4,js,1,1,"cd-helper",97),e.qZA()),2&n){const t=s.$implicit;e.xp6(1),e.s9C("id",t.key),e.s9C("name",t.key),e.s9C("formControlName",t.key),e.xp6(1),e.s9C("for",t.key),e.xp6(1),e.Oqu(t.desc),e.xp6(1),e.Q6J("ngIf",t.helperHtml)}}const It=function(n){return["edit",n]},Nt=function(n){return{modal:n}},Ft=function(n){return{outlets:n}},Dt=function(n){return["/block/mirroring",n]};function e_(n,s){if(1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.tHW(2,99),e._UZ(3,"b")(4,"a",100),e.N_p(),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(4),e.Q6J("routerLink",e.VKq(7,Dt,e.VKq(5,Ft,e.VKq(3,Nt,e.VKq(1,It,t.currentPoolName)))))}}function t_(n,s){if(1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.tHW(2,105),e._UZ(3,"b")(4,"a",100),e.N_p(),e.qZA()()),2&n){const t=e.oxw(4);e.xp6(4),e.Q6J("routerLink",e.VKq(7,Dt,e.VKq(5,Ft,e.VKq(3,Nt,e.VKq(1,It,t.currentPoolName)))))}}function o_(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",102)(1,"input",103),e.NdJ("change",function(){e.CHM(t);const i=e.oxw(3);return e.KtG(i.setExclusiveLock())}),e.qZA(),e.TgZ(2,"label",104),e._uU(3),e.ALo(4,"titlecase"),e.qZA(),e.YNc(5,t_,5,9,"cd-helper",25),e.qZA()}if(2&n){const t=s.$implicit,o=e.oxw(3);e.xp6(1),e.Q6J("id",t)("value",t),e.uIk("disabled","pool"===o.poolMirrorMode&&"snapshot"===t||null),e.xp6(1),e.Q6J("for",t),e.xp6(1),e.Oqu(e.lcZ(4,6,t)),e.xp6(2),e.Q6J("ngIf","pool"===o.poolMirrorMode&&"snapshot"===t)}}function n_(n,s){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,o_,6,8,"div",101),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",t.mirroringOptions)}}function i_(n,s){if(1&n&&(e.TgZ(0,"div",9)(1,"label",106),e.tHW(2,107),e._UZ(3,"cd-helper",108),e.N_p(),e.qZA(),e.TgZ(4,"div",12),e._UZ(5,"input",109),e.qZA()()),2&n){const t=e.oxw(2);e.xp6(5),e.uIk("disabled",!1===t.peerConfigured||null)}}function s_(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"a",110),e.NdJ("click",function(){return e.CHM(t),e.oxw(2).advancedEnabled=!0,e.KtG(!1)}),e.SDv(1,111),e.qZA()}}function __(n,s){if(1&n&&(e.TgZ(0,"option",70),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function a_(n,s){if(1&n&&(e.TgZ(0,"option",70),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function r_(n,s){1&n&&(e.TgZ(0,"span",61),e.SDv(1,112),e.qZA())}function l_(n,s){1&n&&(e.TgZ(0,"span",61),e.SDv(1,113),e.qZA())}function c_(n,s){1&n&&(e.TgZ(0,"span",61),e.SDv(1,114),e.qZA())}function d_(n,s){1&n&&(e.TgZ(0,"span",61),e.SDv(1,115),e.qZA())}function p_(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",7),e.YNc(9,Es,7,3,"div",8),e.TgZ(10,"div",9)(11,"label",10),e.SDv(12,11),e.qZA(),e.TgZ(13,"div",12),e._UZ(14,"input",13),e.YNc(15,Ms,3,0,"span",14),e.YNc(16,Os,3,0,"span",14),e.qZA()(),e.TgZ(17,"div",15),e.NdJ("change",function(i){e.CHM(t);const _=e.oxw();return e.KtG(_.onPoolChange(i.target.value))}),e.TgZ(18,"label",16),e.SDv(19,17),e.qZA(),e.TgZ(20,"div",12),e.YNc(21,hs,1,0,"input",18),e.YNc(22,Ns,5,4,"select",19),e.YNc(23,Fs,2,0,"span",14),e.qZA()(),e.YNc(24,Ls,3,4,"div",8),e.YNc(25,Zs,6,2,"div",8),e.TgZ(26,"div",9)(27,"div",20)(28,"div",21)(29,"input",22),e.NdJ("change",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.onUseDataPoolChange())}),e.qZA(),e.TgZ(30,"label",23),e.SDv(31,24),e.qZA(),e.YNc(32,ws,3,0,"cd-helper",25),e.qZA()()(),e.YNc(33,Js,9,6,"div",8),e.TgZ(34,"div",9)(35,"label",26),e.SDv(36,27),e.qZA(),e.TgZ(37,"div",12),e._UZ(38,"input",28),e.YNc(39,Ys,2,0,"span",14),e.YNc(40,Vs,2,0,"span",14),e.YNc(41,Us,2,0,"span",14),e.qZA()(),e.TgZ(42,"div",29)(43,"label",30),e.SDv(44,31),e.qZA(),e.TgZ(45,"div",12),e.YNc(46,Ws,5,6,"div",32),e.qZA()(),e.TgZ(47,"div",9)(48,"div",20)(49,"div",21)(50,"input",33),e.NdJ("change",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.setMirrorMode())}),e.qZA(),e.TgZ(51,"label",34),e._uU(52,"Mirroring"),e.qZA(),e.YNc(53,e_,5,9,"cd-helper",25),e.qZA(),e.YNc(54,n_,2,1,"div",25),e.qZA()(),e.YNc(55,i_,6,1,"div",8),e.TgZ(56,"div",35)(57,"div",36),e.YNc(58,s_,2,0,"a",37),e.qZA()(),e.TgZ(59,"div",38)(60,"legend",39),e.SDv(61,40),e.qZA(),e.TgZ(62,"div",41)(63,"h4",39),e.SDv(64,42),e.qZA(),e.TgZ(65,"div",9)(66,"label",43),e.tHW(67,44),e._UZ(68,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(69,"div",12)(70,"select",45),e.YNc(71,__,2,2,"option",46),e.qZA()()(),e.TgZ(72,"div",9)(73,"label",47),e.tHW(74,48),e._UZ(75,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(76,"div",12)(77,"select",49)(78,"option",50),e.SDv(79,51),e.qZA(),e.YNc(80,a_,2,2,"option",46),e.qZA(),e.YNc(81,r_,2,0,"span",14),e.YNc(82,l_,2,0,"span",14),e.qZA()(),e.TgZ(83,"div",9)(84,"label",52),e.tHW(85,53),e._UZ(86,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(87,"div",12),e._UZ(88,"input",54),e.YNc(89,c_,2,0,"span",14),e.YNc(90,d_,2,0,"span",14),e.qZA()()(),e.TgZ(91,"cd-rbd-configuration-form",55),e.NdJ("changes",function(i){e.CHM(t);const _=e.oxw();return e.KtG(_.getDirtyConfigurationValues=i)}),e.qZA()()(),e.TgZ(92,"div",56)(93,"cd-form-button-panel",57),e.NdJ("submitActionEvent",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.submit())}),e.ALo(94,"titlecase"),e.ALo(95,"upperFirst"),e.qZA()()()()()}if(2&n){const t=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("formGroup",o.rbdForm),e.xp6(6),e.pQV(e.lcZ(6,36,o.action))(e.lcZ(7,38,o.resource)),e.QtT(5),e.xp6(2),e.Q6J("ngIf",o.rbdForm.getValue("parent")),e.xp6(6),e.Q6J("ngIf",o.rbdForm.showError("name",t,"required")),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("name",t,"pattern")),e.xp6(2),e.Q6J("ngClass",e.VKq(44,We,"editing"!==o.mode)),e.xp6(3),e.Q6J("ngIf","editing"===o.mode||!o.poolPermission.read),e.xp6(1),e.Q6J("ngIf","editing"!==o.mode&&o.poolPermission.read),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("pool",t,"required")),e.xp6(1),e.Q6J("ngIf","editing"!==o.mode&&o.rbdForm.getValue("pool")&&null===o.namespaces),e.xp6(1),e.Q6J("ngIf","editing"===o.mode&&o.rbdForm.getValue("namespace")||"editing"!==o.mode&&(o.namespaces&&o.namespaces.length>0||!o.poolPermission.read)),e.xp6(7),e.Q6J("ngIf",o.allDataPools.length<=1),e.xp6(1),e.Q6J("ngIf",o.rbdForm.getValue("useDataPool")),e.xp6(6),e.Q6J("ngIf",o.rbdForm.showError("size",t,"required")),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("size",t,"invalidSizeObject")),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("size",t,"pattern")),e.xp6(5),e.Q6J("ngForOf",o.featuresList),e.xp6(7),e.Q6J("ngIf",!1===o.mirroring&&o.currentPoolName),e.xp6(1),e.Q6J("ngIf",o.mirroring),e.xp6(1),e.Q6J("ngIf","snapshot"===o.rbdForm.getValue("mirroringMode")&&o.mirroring),e.xp6(3),e.Q6J("ngIf",!o.advancedEnabled),e.xp6(1),e.Q6J("hidden",!o.advancedEnabled),e.xp6(12),e.Q6J("ngForOf",o.objectSizes),e.xp6(2),e.Q6J("ngClass",e.VKq(46,We,o.rbdForm.getValue("stripingCount"))),e.xp6(5),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",o.objectSizes),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("stripingUnit",t,"required")),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("stripingUnit",t,"invalidStripingUnit")),e.xp6(2),e.Q6J("ngClass",e.VKq(48,We,o.rbdForm.getValue("stripingUnit"))),e.xp6(5),e.Q6J("ngIf",o.rbdForm.showError("stripingCount",t,"required")),e.xp6(1),e.Q6J("ngIf",o.rbdForm.showError("stripingCount",t,"min")),e.xp6(1),e.Q6J("form",o.rbdForm)("initializeData",o.initializeConfigData),e.xp6(2),e.Q6J("form",t)("submitText",e.lcZ(94,40,o.action)+" "+e.lcZ(95,42,o.resource))}}let $e=(()=>{class n extends k.E{constructor(t,o,i,_,a,l,d,g,S,I){super(),this.authStorageService=t,this.route=o,this.poolService=i,this.rbdService=_,this.formatter=a,this.taskWrapper=l,this.dimlessBinaryPipe=d,this.actionLabels=g,this.router=S,this.rbdMirroringService=I,this.namespaces=[],this.namespacesByPoolCache={},this.pools=null,this.allPools=null,this.dataPools=null,this.allDataPools=[],this.featuresList=[],this.initializeConfigData=new Pt.t(1),this.peerConfigured=!1,this.advancedEnabled=!1,this.rbdFormMode=je,this.defaultObjectSize="4 MiB",this.mirroringOptions=["journal","snapshot"],this.mirroring=!1,this.currentPoolName="",this.objectSizes=["4 KiB","8 KiB","16 KiB","32 KiB","64 KiB","128 KiB","256 KiB","512 KiB","1 MiB","2 MiB","4 MiB","8 MiB","16 MiB","32 MiB"],this.defaultStripingUnit="4 MiB",this.defaultStripingCount=1,this.rbdImage=new Pt.t(1),this.icons=T.P,this.routerUrl=this.router.url,this.poolPermission=this.authStorageService.getPermissions().pool,this.resource="RBD",this.features={"deep-flatten":{desc:"Deep flatten",requires:null,allowEnable:!1,allowDisable:!0,helperHtml:"Feature can be disabled but can't be re-enabled later"},layering:{desc:"Layering",requires:null,allowEnable:!1,allowDisable:!1,helperHtml:"Feature flag can't be manipulated after the image is created. Disabling this option will also disable the Protect and Clone actions on Snapshot"},"exclusive-lock":{desc:"Exclusive lock",requires:null,allowEnable:!0,allowDisable:!0},"object-map":{desc:"Object map (requires exclusive-lock)",requires:"exclusive-lock",allowEnable:!0,allowDisable:!0,initDisabled:!0},"fast-diff":{desc:"Fast diff (interlocked with object-map)",requires:"object-map",allowEnable:!0,allowDisable:!0,interlockedWith:"object-map",initDisabled:!0}},this.featuresList=this.objToArray(this.features),this.createForm()}objToArray(t){return C().map(t,(o,i)=>Object.assign(o,{key:i}))}createForm(){this.rbdForm=new Z.d({parent:new r.p4(""),name:new r.p4("",{validators:[r.kI.required,r.kI.pattern(/^[^@/]+?$/)]}),pool:new r.p4(null,{validators:[r.kI.required]}),namespace:new r.p4(null),useDataPool:new r.p4(!1),dataPool:new r.p4(null),size:new r.p4(null,{updateOn:"blur"}),obj_size:new r.p4(this.defaultObjectSize),features:new Z.d(this.featuresList.reduce((t,o)=>(t[o.key]=new r.p4({value:!1,disabled:!!o.initDisabled}),t),{})),mirroring:new r.p4(""),schedule:new r.p4("",{validators:[r.kI.pattern(/^([0-9]+)d|([0-9]+)h|([0-9]+)m$/)]}),mirroringMode:new r.p4(""),stripingUnit:new r.p4(this.defaultStripingUnit),stripingCount:new r.p4(this.defaultStripingCount,{updateOn:"blur"})},this.validateRbdForm(this.formatter))}disableForEdit(){this.rbdForm.get("parent").disable(),this.rbdForm.get("pool").disable(),this.rbdForm.get("namespace").disable(),this.rbdForm.get("useDataPool").disable(),this.rbdForm.get("dataPool").disable(),this.rbdForm.get("obj_size").disable(),this.rbdForm.get("stripingUnit").disable(),this.rbdForm.get("stripingCount").disable(),this.rbdImage.subscribe(t=>{t.image_format===Ie.V1?(this.rbdForm.get("deep-flatten").disable(),this.rbdForm.get("layering").disable(),this.rbdForm.get("exclusive-lock").disable()):(this.rbdForm.get("deep-flatten").value||this.rbdForm.get("deep-flatten").disable(),this.rbdForm.get("layering").disable())})}disableForClone(){this.rbdForm.get("parent").disable(),this.rbdForm.get("size").disable()}disableForCopy(){this.rbdForm.get("parent").disable(),this.rbdForm.get("size").disable()}ngOnInit(){this.prepareFormForAction(),this.gatherNeededData().subscribe(this.handleExternalData.bind(this))}setExclusiveLock(){this.mirroring&&"journal"===this.rbdForm.get("mirroringMode").value?(this.rbdForm.get("exclusive-lock").setValue(!0),this.rbdForm.get("exclusive-lock").disable()):(this.rbdForm.get("exclusive-lock").enable(),"pool"===this.poolMirrorMode&&this.rbdForm.get("mirroringMode").setValue(this.mirroringOptions[0]))}setMirrorMode(){this.mirroring=!this.mirroring,this.setExclusiveLock(),this.checkPeersConfigured()}checkPeersConfigured(t){var o=t||this.rbdForm.get("pool").value;this.rbdMirroringService.getPeerForPool(o).subscribe(i=>{i.length>0&&(this.peerConfigured=!0)})}setPoolMirrorMode(){this.currentPoolName=this.mode===this.rbdFormMode.editing?this.response?.pool_name:this.rbdForm.getValue("pool"),this.currentPoolName&&(this.rbdMirroringService.refresh(),this.rbdMirroringService.subscribeSummary(t=>{const o=t.content_data.pools.find(i=>i.name===this.currentPoolName);this.poolMirrorMode=o.mirror_mode,"disabled"===o.mirror_mode&&(this.mirroring=!1,this.rbdForm.get("mirroring").setValue(this.mirroring),this.rbdForm.get("mirroring").disable())})),this.setExclusiveLock()}prepareFormForAction(){const t=this.routerUrl;t.startsWith("/block/rbd/edit")?(this.mode=this.rbdFormMode.editing,this.action=this.actionLabels.EDIT,this.disableForEdit()):t.startsWith("/block/rbd/clone")?(this.mode=this.rbdFormMode.cloning,this.disableForClone(),this.action=this.actionLabels.CLONE):t.startsWith("/block/rbd/copy")?(this.mode=this.rbdFormMode.copying,this.action=this.actionLabels.COPY,this.disableForCopy()):this.action=this.actionLabels.CREATE,C().each(this.features,o=>{this.rbdForm.get("features").get(o.key).valueChanges.subscribe(i=>this.featureFormUpdate(o.key,i))})}gatherNeededData(){const t={};return this.mode?this.route.params.subscribe(o=>{const i=v.N.fromString(decodeURIComponent(o.image_spec));o.snap&&(this.snapName=decodeURIComponent(o.snap)),t.rbd=this.rbdService.get(i),this.checkPeersConfigured(i.poolName)}):t.defaultFeatures=this.rbdService.defaultFeatures(),this.mode!==this.rbdFormMode.editing&&this.poolPermission.read&&(t.pools=this.poolService.list(["pool_name","type","flags_names","application_metadata"])),(0,ce.D)(t)}handleExternalData(t){if(this.handlePoolData(t.pools),this.setPoolMirrorMode(),t.defaultFeatures&&this.setFeatures(t.defaultFeatures),t.rbd){const o=t.rbd;this.setResponse(o,this.snapName),this.rbdImage.next(o)}this.loadingReady()}handlePoolData(t){if(!t)return;const o=[],i=[];for(const _ of t)this.rbdService.isRBDPool(_)&&("replicated"===_.type?(o.push(_),i.push(_)):"erasure"===_.type&&-1!==_.flags_names.indexOf("ec_overwrites")&&i.push(_));if(this.pools=o,this.allPools=o,this.dataPools=i,this.allDataPools=i,1===this.pools.length){const _=this.pools[0].pool_name;this.rbdForm.get("pool").setValue(_),this.onPoolChange(_)}this.allDataPools.length<=1&&this.rbdForm.get("useDataPool").disable()}onPoolChange(t){const o=this.rbdForm.get("dataPool");o.value===t&&o.setValue(null),this.dataPools=this.allDataPools?this.allDataPools.filter(i=>i.pool_name!==t):[],this.namespaces=null,t in this.namespacesByPoolCache?this.namespaces=this.namespacesByPoolCache[t]:this.rbdService.listNamespaces(t).subscribe(i=>{i=i.map(_=>_.namespace),this.namespacesByPoolCache[t]=i,this.namespaces=i}),this.rbdForm.get("namespace").setValue(null)}onUseDataPoolChange(){this.rbdForm.getValue("useDataPool")||(this.rbdForm.get("dataPool").setValue(null),this.onDataPoolChange(null))}onDataPoolChange(t){const o=this.allPools.filter(i=>i.pool_name!==t);this.rbdForm.getValue("pool")===t&&this.rbdForm.get("pool").setValue(null),this.pools=o}validateRbdForm(t){return o=>{const i=o.get("useDataPool"),_=o.get("dataPool");let a=null;i.value&&null==_.value&&(a={required:!0}),_.setErrors(a);const l=o.get("size"),d=o.get("obj_size"),g=t.toBytes(null!=d.value?d.value:this.defaultObjectSize),S=o.get("stripingCount"),I=null!=S.value?S.value:this.defaultStripingCount;let P=null;null===l.value?P={required:!0}:I*g>t.toBytes(l.value)&&(P={invalidSizeObject:!0}),l.setErrors(P);const $=o.get("stripingUnit");let y=null;null===$.value&&null!==S.value?y={required:!0}:null!==$.value&&t.toBytes($.value)>g&&(y={invalidStripingUnit:!0}),$.setErrors(y);let Q=null;return null===S.value&&null!==$.value?Q={required:!0}:I<1&&(Q={min:!0}),S.setErrors(Q),null}}deepBoxCheck(t,o){this.getDependentChildFeatures(t).forEach(_=>{const a=this.rbdForm.get(_.key);o?a.enable({emitEvent:!1}):(a.disable({emitEvent:!1}),a.setValue(!1,{emitEvent:!1}),this.deepBoxCheck(_.key,o));const l=this.rbdForm.get("features");this.mode===this.rbdFormMode.editing&&l.get(_.key).enabled&&(-1!==this.response.features_name.indexOf(_.key)&&!_.allowDisable||-1===this.response.features_name.indexOf(_.key)&&!_.allowEnable)&&l.get(_.key).disable()})}getDependentChildFeatures(t){return C().filter(this.features,o=>o.requires===t)||[]}interlockCheck(t,o){const i=this.featuresList.find(_=>_.key===t);if(this.response){const _=null!=i.interlockedWith,a=this.featuresList.find(d=>d.interlockedWith===i.key),l=!!this.response.features_name.find(d=>d===i.key);if(_){if(l!==!!this.response.features_name.find(g=>g===i.interlockedWith))return}else if(a&&!!this.response.features_name.find(g=>g===a.key)!==l)return}o?C().filter(this.features,_=>_.interlockedWith===t).forEach(_=>this.rbdForm.get(_.key).setValue(!0,{emitEvent:!1})):i.interlockedWith&&this.rbdForm.get("features").get(i.interlockedWith).setValue(!1)}featureFormUpdate(t,o){if(o){const i=this.features[t].requires;if(i&&!this.rbdForm.getValue(i))return void this.rbdForm.get(`features.${t}`).setValue(!1)}this.deepBoxCheck(t,o),this.interlockCheck(t,o)}setFeatures(t){const o=this.rbdForm.get("features");C().forIn(this.features,i=>{-1!==t.indexOf(i.key)&&o.get(i.key).setValue(!0),this.featureFormUpdate(i.key,o.get(i.key).value)})}setResponse(t,o){this.response=t;const i=new v.N(t.pool_name,t.namespace,t.name).toString();if(this.mode===this.rbdFormMode.cloning)this.rbdForm.get("parent").setValue(`${i}@${o}`);else if(this.mode===this.rbdFormMode.copying)o?this.rbdForm.get("parent").setValue(`${i}@${o}`):this.rbdForm.get("parent").setValue(`${i}`);else if(t.parent){const _=t.parent;this.rbdForm.get("parent").setValue(`${_.pool_name}/${_.image_name}@${_.snap_name}`)}this.mode===this.rbdFormMode.editing&&(this.rbdForm.get("name").setValue(t.name),"snapshot"===t?.mirror_mode||t.features_name.includes("journaling")?(this.mirroring=!0,this.rbdForm.get("mirroring").setValue(this.mirroring),this.rbdForm.get("mirroringMode").setValue(t?.mirror_mode),this.rbdForm.get("schedule").setValue(t?.schedule_interval)):(this.mirroring=!1,this.rbdForm.get("mirroring").setValue(this.mirroring)),this.setPoolMirrorMode()),this.rbdForm.get("pool").setValue(t.pool_name),this.onPoolChange(t.pool_name),this.rbdForm.get("namespace").setValue(t.namespace),t.data_pool&&(this.rbdForm.get("useDataPool").setValue(!0),this.rbdForm.get("dataPool").setValue(t.data_pool)),this.rbdForm.get("size").setValue(this.dimlessBinaryPipe.transform(t.size)),this.rbdForm.get("obj_size").setValue(this.dimlessBinaryPipe.transform(t.obj_size)),this.setFeatures(t.features_name),this.rbdForm.get("stripingUnit").setValue(this.dimlessBinaryPipe.transform(t.stripe_unit)),this.rbdForm.get("stripingCount").setValue(t.stripe_count),this.initializeConfigData.next({initialData:this.response.configuration,sourceType:rt.h.image})}createRequest(){const t=new Cs;return t.pool_name=this.rbdForm.getValue("pool"),t.namespace=this.rbdForm.getValue("namespace"),t.name=this.rbdForm.getValue("name"),t.schedule_interval=this.rbdForm.getValue("schedule"),t.size=this.formatter.toBytes(this.rbdForm.getValue("size")),"image"===this.poolMirrorMode&&(t.mirror_mode=this.rbdForm.getValue("mirroringMode")),this.addObjectSizeAndStripingToRequest(t),t.configuration=this.getDirtyConfigurationValues(),t}addObjectSizeAndStripingToRequest(t){t.obj_size=this.formatter.toBytes(this.rbdForm.getValue("obj_size")),C().forIn(this.features,o=>{this.rbdForm.getValue(o.key)&&t.features.push(o.key)}),this.mirroring&&"journal"===this.rbdForm.getValue("mirroringMode")&&t.features.push("journaling"),t.stripe_unit=this.formatter.toBytes(this.rbdForm.getValue("stripingUnit")),t.stripe_count=this.rbdForm.getValue("stripingCount"),t.data_pool=this.rbdForm.getValue("dataPool")}createAction(){const t=this.createRequest();return this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/create",{pool_name:t.pool_name,namespace:t.namespace,image_name:t.name,schedule_interval:t.schedule_interval,start_time:t.start_time}),call:this.rbdService.create(t)})}editRequest(){const t=new lt;if(t.name=this.rbdForm.getValue("name"),t.schedule_interval=this.rbdForm.getValue("schedule"),t.name=this.rbdForm.getValue("name"),t.size=this.formatter.toBytes(this.rbdForm.getValue("size")),C().forIn(this.features,o=>{this.rbdForm.getValue(o.key)&&t.features.push(o.key)}),t.enable_mirror=this.rbdForm.getValue("mirroring"),t.enable_mirror)"journal"===this.rbdForm.getValue("mirroringMode")&&t.features.push("journaling"),"image"===this.poolMirrorMode&&(t.mirror_mode=this.rbdForm.getValue("mirroringMode"));else{const o=t.features.indexOf("journaling",0);o>-1&&t.features.splice(o,1)}return t.configuration=this.getDirtyConfigurationValues(),t}cloneRequest(){const t=new gs;return t.child_pool_name=this.rbdForm.getValue("pool"),t.child_namespace=this.rbdForm.getValue("namespace"),t.child_image_name=this.rbdForm.getValue("name"),this.addObjectSizeAndStripingToRequest(t),t.configuration=this.getDirtyConfigurationValues(!0,rt.h.image),t}editAction(){const t=new v.N(this.response.pool_name,this.response.namespace,this.response.name);return this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/edit",{image_spec:t.toString()}),call:this.rbdService.update(t,this.editRequest())})}cloneAction(){const t=this.cloneRequest(),o=new v.N(this.response.pool_name,this.response.namespace,this.response.name);return this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/clone",{parent_image_spec:o.toString(),parent_snap_name:this.snapName,child_pool_name:t.child_pool_name,child_namespace:t.child_namespace,child_image_name:t.child_image_name}),call:this.rbdService.cloneSnapshot(o,this.snapName,t)})}copyRequest(){const t=new Ts;return this.snapName&&(t.snapshot_name=this.snapName),t.dest_pool_name=this.rbdForm.getValue("pool"),t.dest_namespace=this.rbdForm.getValue("namespace"),t.dest_image_name=this.rbdForm.getValue("name"),this.addObjectSizeAndStripingToRequest(t),t.configuration=this.getDirtyConfigurationValues(!0,rt.h.image),t}copyAction(){const t=this.copyRequest(),o=new v.N(this.response.pool_name,this.response.namespace,this.response.name);return this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/copy",{src_image_spec:o.toString(),dest_pool_name:t.dest_pool_name,dest_namespace:t.dest_namespace,dest_image_name:t.dest_image_name}),call:this.rbdService.copy(o,t)})}submit(){this.mode||this.rbdImage.next("create"),this.rbdImage.pipe((0,ds.P)(),(0,ps.w)(()=>this.mode===this.rbdFormMode.editing?this.editAction():this.mode===this.rbdFormMode.cloning?this.cloneAction():this.mode===this.rbdFormMode.copying?this.copyAction():this.createAction())).subscribe(()=>{},()=>this.rbdForm.setErrors({cdSubmitButton:!0}),()=>this.router.navigate(["/block/rbd"]))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(oe.j),e.Y36(m.gz),e.Y36(Ve.q),e.Y36(H),e.Y36(us.H),e.Y36(u.P),e.Y36(Ue.$),e.Y36(L.p4),e.Y36(m.F0),e.Y36(q))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-form"]],features:[e.qOj],decls:1,vars:1,consts:function(){let s,t,o,i,_,a,l,d,g,S,I,P,$,y,Q,Y,ee,te,w,_e,ae,O,me,ge,Te,fe,Ce,Se,Re,G,Ge,ye,xe,Ze,we,He,ke,Ke,qe,Xe,Qe,ze;return s="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Name",o="Pool",i="Use a dedicated data pool",_="Size",a="e.g., 10GiB",l="Features",d="Advanced",g="Striping",S="Object size" + "\ufffd#68\ufffd" + "Objects in the Ceph Storage Cluster have a maximum configurable size (e.g., 2MB, 4MB, etc.). The object size should be large enough to accommodate many stripe units, and should be a multiple of the stripe unit." + "\ufffd/#68\ufffd" + "",I="Stripe unit" + "\ufffd#75\ufffd" + "Stripes have a configurable unit size (e.g., 64kb). The Ceph Client divides the data it will write to objects into equally sized stripe units, except for the last stripe unit. A stripe width, should be a fraction of the Object Size so that an object may contain many stripe units." + "\ufffd/#75\ufffd" + "",P="-- Select stripe unit --",$="Stripe count" + "\ufffd#86\ufffd" + "The Ceph Client writes a sequence of stripe units over a series of objects determined by the stripe count. The series of objects is called an object set. After the Ceph Client writes to the last object in the object set, it returns to the first object in the object set." + "\ufffd/#86\ufffd" + "",y="" + "\ufffd0\ufffd" + " from",Q="This field is required.",Y="'/' and '@' are not allowed.",ee="Loading...",te="-- No rbd pools available --",w="-- Select a pool --",_e="This field is required.",ae="Loading...",O="-- No namespaces available --",me="-- Select a namespace --",ge="You need more than one pool with the rbd application label use to use a dedicated data pool.",Te="Data pool",fe="Dedicated pool that stores the object-data of the RBD.",Ce="Loading...",Se="-- No data pools available --",Re="This field is required.",G="This field is required.",Ge="You have to increase the size.",ye="Size must be a number or in a valid format. eg: 5 GiB",xe="You need to enable a " + "\ufffd#3\ufffd" + "mirror mode" + "\ufffd/#3\ufffd" + " in the selected pool. Please " + "\ufffd#4\ufffd" + "click here to select a mode and enable it in this pool." + "\ufffd/#4\ufffd" + "",Ze="You need to enable " + "\ufffd#3\ufffd" + "image mirror mode" + "\ufffd/#3\ufffd" + " in the selected pool. Please " + "\ufffd#4\ufffd" + "click here to select a mode and enable it in this pool." + "\ufffd/#4\ufffd" + "",we="Create Mirror-Snapshots automatically on a periodic basis. The interval can be specified in days, hours, or minutes using d, h, m suffix respectively. To create mirror snapshots, you must import or create and have available peers to mirror",He="Schedule Interval " + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + "",ke="e.g., 12h or 1d or 10m",Ke="Advanced...",qe="This field is required because stripe count is defined!",Xe="Stripe unit is greater than object size.",Qe="This field is required because stripe unit is defined!",ze="Stripe count must be greater than 0.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","rbdForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],s,[1,"card-body"],["class","form-group row",4,"ngIf"],[1,"form-group","row"],["for","name",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],["type","text","placeholder","Name...","id","name","name","name","formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"form-group","row",3,"change"],["for","pool",1,"cd-col-form-label",3,"ngClass"],o,["class","form-control","type","text","placeholder","Pool name...","id","pool","name","pool","formControlName","pool",4,"ngIf"],["id","pool","name","pool","class","form-select","formControlName","pool",3,"change",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","useDataPool","name","useDataPool","formControlName","useDataPool",1,"custom-control-input",3,"change"],["for","useDataPool",1,"custom-control-label"],i,[4,"ngIf"],["for","size",1,"cd-col-form-label","required"],_,["id","size","name","size","type","text","formControlName","size","placeholder",a,"defaultUnit","GiB","cdDimlessBinary","",1,"form-control"],["formGroupName","features",1,"form-group","row"],["for","features",1,"cd-col-form-label"],l,["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],["type","checkbox","id","mirroring","name","mirroring","formControlName","mirroring",1,"custom-control-input",3,"change"],["for","mirroring",1,"custom-control-label"],[1,"row"],[1,"col-sm-12"],["class","float-end margin-right-md","href","",3,"click",4,"ngIf"],[3,"hidden"],[1,"cd-header"],d,[1,"col-md-12"],g,["for","size",1,"cd-col-form-label"],S,["id","obj_size","name","obj_size","formControlName","obj_size",1,"form-select"],[3,"value",4,"ngFor","ngForOf"],["for","stripingUnit",1,"cd-col-form-label",3,"ngClass"],I,["id","stripingUnit","name","stripingUnit","formControlName","stripingUnit",1,"form-select"],[3,"ngValue"],P,["for","stripingCount",1,"cd-col-form-label",3,"ngClass"],$,["id","stripingCount","name","stripingCount","formControlName","stripingCount","type","number",1,"form-control"],[3,"form","initializeData","changes"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],["for","name",1,"cd-col-form-label"],y,["type","text","id","parent","name","parent","formControlName","parent",1,"form-control"],[1,"invalid-feedback"],Q,Y,["type","text","placeholder","Pool name...","id","pool","name","pool","formControlName","pool",1,"form-control"],["id","pool","name","pool","formControlName","pool",1,"form-select",3,"change"],[3,"ngValue",4,"ngIf"],ee,te,w,[3,"value"],_e,[3,"ngClass"],["for","pool",1,"cd-col-form-label"],["class","form-control","type","text","placeholder","Namespace...","id","namespace","name","namespace","formControlName","namespace",4,"ngIf"],["id","namespace","name","namespace","class","form-select","formControlName","namespace",4,"ngIf"],["type","text","placeholder","Namespace...","id","namespace","name","namespace","formControlName","namespace",1,"form-control"],["id","namespace","name","namespace","formControlName","namespace",1,"form-select"],ae,O,me,ge,["for","dataPool",1,"cd-col-form-label"],Te,["html",fe],["class","form-control","type","text","placeholder","Data pool name...","id","dataPool","name","dataPool","formControlName","dataPool",4,"ngIf"],["id","dataPool","name","dataPool","class","form-select","formControlName","dataPool",3,"change",4,"ngIf"],["type","text","placeholder","Data pool name...","id","dataPool","name","dataPool","formControlName","dataPool",1,"form-control"],["id","dataPool","name","dataPool","formControlName","dataPool",1,"form-select",3,"change"],Ce,Se,Re,G,Ge,ye,["type","checkbox",1,"custom-control-input",3,"id","name","formControlName"],[1,"custom-control-label",3,"for"],[3,"html",4,"ngIf"],[3,"html"],xe,[3,"routerLink"],["class","custom-control custom-radio ms-2",4,"ngFor","ngForOf"],[1,"custom-control","custom-radio","ms-2"],["type","radio","name","mirroringMode","formControlName","mirroringMode",1,"form-check-input",3,"id","value","change"],[1,"form-check-label",3,"for"],Ze,[1,"cd-col-form-label"],He,["html",we],["id","schedule","name","schedule","type","text","formControlName","schedule","placeholder",ke,1,"form-control"],["href","",1,"float-end","margin-right-md",3,"click"],Ke,qe,Xe,Qe,ze]},template:function(t,o){1&t&&e.YNc(0,p_,96,50,"div",0),2&t&&e.Q6J("cdFormLoading",o.loading)},dependencies:[c.mk,c.sg,c.O5,r._Y,r.YN,r.Kr,r.Fj,r.wV,r.Wl,r.EJ,r._,r.JJ,r.JL,r.sg,r.u,r.x0,bt.S,A.p,Oe.U,Ss.Q,ft.y,M.o,B.b,K.P,J.V,m.rH,Rs.d,c.rS,ot.m]}),n})();var Lt=p(71225),ct=p(36169),u_=p(72427),dt=p(51847),m_=p(16738),he=p.n(m_),pt=p(62862),g_=p(52266);function T_(n,s){1&n&&(e.TgZ(0,"div",18)(1,"span"),e.SDv(2,19),e.qZA()())}function f_(n,s){1&n&&(e.TgZ(0,"span",20),e.SDv(1,21),e.qZA())}function C_(n,s){1&n&&(e.TgZ(0,"span",20),e.SDv(1,22),e.qZA())}function S_(n,s){if(1&n&&e._UZ(0,"cd-date-time-picker",23),2&n){const t=e.oxw();e.Q6J("control",t.moveForm.get("expiresAt"))}}let R_=(()=>{class n{constructor(t,o,i,_,a){this.rbdService=t,this.activeModal=o,this.actionLabels=i,this.fb=_,this.taskWrapper=a,this.createForm()}createForm(){this.moveForm=this.fb.group({expiresAt:["",[z.h.custom("format",t=>!(""===t||he()(t,"YYYY-MM-DD HH:mm:ss").isValid())),z.h.custom("expired",t=>he()().isAfter(t))]]})}ngOnInit(){this.imageSpec=new v.N(this.poolName,this.namespace,this.imageName),this.imageSpecStr=this.imageSpec.toString(),this.pattern=`${this.poolName}/${this.imageName}`}moveImage(){let t=0;const o=this.moveForm.getValue("expiresAt");o&&(t=he()(o,"YYYY-MM-DD HH:mm:ss").diff(he()(),"seconds",!0)),t<0&&(t=0),this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/trash/move",{image_spec:this.imageSpecStr}),call:this.rbdService.moveTrash(this.imageSpec,t)}).subscribe({complete:()=>{this.activeModal.close()}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(H),e.Y36(F.Kz),e.Y36(L.p4),e.Y36(pt.O),e.Y36(u.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-trash-move-modal"]],decls:23,vars:9,consts:function(){let s,t,o,i,_,a,l;return s="Move an image to trash",t="To move " + "[\ufffd#10\ufffd|\ufffd#11\ufffd]" + "" + "\ufffd0\ufffd" + "" + "[\ufffd/#10\ufffd|\ufffd/#11\ufffd]" + " to trash, click " + "[\ufffd#10\ufffd|\ufffd#11\ufffd]" + "Move" + "[\ufffd/#10\ufffd|\ufffd/#11\ufffd]" + ". Optionally, you can pick an expiration date.",t=e.Zx4(t),o="Protection expires at",i="NOT PROTECTED",_="This image contains snapshot(s), which will prevent it from being removed after moved to trash.",a="Wrong date format. Please use \"YYYY-MM-DD HH:mm:ss\".",l="Protection has already expired. Please pick a future date or leave it empty.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","moveForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],["class","alert alert-warning","role","alert",4,"ngIf"],t,[1,"form-group"],["for","expiresAt",1,"col-form-label"],o,["type","text","placeholder",i,"formControlName","expiresAt","triggers","manual",1,"form-control",3,"ngbPopover","click","keypress"],["p","ngbPopover"],["class","invalid-feedback",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],["popContent",""],["role","alert",1,"alert","alert-warning"],_,[1,"invalid-feedback"],a,l,[3,"control"]]},template:function(t,o){if(1&t){const i=e.EpF();e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6),e.YNc(7,T_,3,0,"div",7),e.TgZ(8,"p"),e.tHW(9,8),e._UZ(10,"kbd")(11,"kbd"),e.N_p(),e.qZA(),e.TgZ(12,"div",9)(13,"label",10),e.SDv(14,11),e.qZA(),e.TgZ(15,"input",12,13),e.NdJ("click",function(){e.CHM(i);const a=e.MAs(16);return e.KtG(a.open())})("keypress",function(){e.CHM(i);const a=e.MAs(16);return e.KtG(a.close())}),e.qZA(),e.YNc(17,f_,2,0,"span",14),e.YNc(18,C_,2,0,"span",14),e.qZA()(),e.TgZ(19,"div",15)(20,"cd-form-button-panel",16),e.NdJ("submitActionEvent",function(){return o.moveImage()}),e.qZA()()(),e.BQk(),e.qZA(),e.YNc(21,S_,1,1,"ng-template",null,17,e.W1O)}if(2&t){const i=e.MAs(5),_=e.MAs(22);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.moveForm),e.xp6(3),e.Q6J("ngIf",o.hasSnapshots),e.xp6(4),e.pQV(o.imageSpecStr),e.QtT(9),e.xp6(4),e.Q6J("ngbPopover",_),e.xp6(2),e.Q6J("ngIf",o.moveForm.showError("expiresAt",i,"format")),e.xp6(1),e.Q6J("ngIf",o.moveForm.showError("expiresAt",i,"expired")),e.xp6(2),e.Q6J("form",o.moveForm)("submitText",o.actionLabels.MOVE)}},dependencies:[c.O5,r._Y,r.Fj,r.JJ,r.JL,r.sg,r.u,F.o8,f.z,g_.J,A.p,M.o,B.b,K.P,J.V]}),n})();var E_=p(60251),vt=p(76317),M_=p(25917),$t=p(51295),ut=p(60737),O_=p(74255),Bt=p(71099),Gt=p(79765);function h_(n,s){1&n&&(e.TgZ(0,"span",16),e.SDv(1,17),e.qZA())}function A_(n,s){if(1&n&&(e.TgZ(0,"span"),e.tHW(1,18),e._UZ(2,"b"),e.N_p(),e.qZA()),2&n){const t=e.oxw();e.xp6(2),e.pQV(t.imageName),e.QtT(1)}}function P_(n,s){1&n&&(e.TgZ(0,"cd-helper"),e.SDv(1,25),e.qZA())}function b_(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"div",7)(1,"div",20)(2,"div",21)(3,"input",22),e.NdJ("change",function(){e.CHM(t);const i=e.oxw(2);return e.KtG(i.onMirrorCheckBoxChange())}),e.qZA(),e.TgZ(4,"label",23),e.SDv(5,24),e.qZA(),e.YNc(6,P_,2,0,"cd-helper",13),e.qZA()()()}if(2&n){const t=s.ngIf;e.xp6(3),e.uIk("disabled",!(t.length>0)||null),e.xp6(3),e.Q6J("ngIf",!t.length>0)}}function I_(n,s){if(1&n&&(e.ynx(0),e.YNc(1,b_,7,2,"div",19),e.ALo(2,"async"),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,t.peerConfigured$))}}let N_=(()=>{class n{constructor(t,o,i,_,a,l){this.activeModal=t,this.rbdService=o,this.taskManagerService=i,this.notificationService=_,this.actionLabels=a,this.rbdMirrorService=l,this.editing=!1,this.onSubmit=new Gt.xQ,this.action=this.actionLabels.CREATE,this.resource="RBD Snapshot",this.createForm()}createForm(){this.snapshotForm=new Z.d({snapshotName:new r.p4("",{validators:[r.kI.required]}),mirrorImageSnapshot:new r.p4(!1,{})})}ngOnInit(){this.peerConfigured$=this.rbdMirrorService.getPeerForPool(this.poolName)}setSnapName(t){this.snapName=t,this.snapshotForm.get("snapshotName").setValue(t)}onMirrorCheckBoxChange(){!0===this.snapshotForm.getValue("mirrorImageSnapshot")?(this.snapshotForm.get("snapshotName").setValue(""),this.snapshotForm.get("snapshotName").clearValidators()):(this.snapshotForm.get("snapshotName").setValue(this.snapName),this.snapshotForm.get("snapshotName").setValidators([r.kI.required]),this.snapshotForm.get("snapshotName").updateValueAndValidity())}setEditing(t=!0){this.editing=t,this.action=this.editing?this.actionLabels.RENAME:this.actionLabels.CREATE}editAction(){const t=this.snapshotForm.getValue("snapshotName"),o=new v.N(this.poolName,this.namespace,this.imageName),i=new E.R;i.name="rbd/snap/edit",i.metadata={image_spec:o.toString(),snapshot_name:t},this.rbdService.renameSnapshot(o,this.snapName,t).toPromise().then(()=>{this.taskManagerService.subscribe(i.name,i.metadata,_=>{this.notificationService.notifyTask(_)}),this.activeModal.close(),this.onSubmit.next(this.snapName)}).catch(()=>{this.snapshotForm.setErrors({cdSubmitButton:!0})})}createAction(){const t=this.snapshotForm.getValue("snapshotName"),o=this.snapshotForm.getValue("mirrorImageSnapshot"),i=new v.N(this.poolName,this.namespace,this.imageName),_=new E.R;_.name="rbd/snap/create",_.metadata={image_spec:i.toString(),snapshot_name:t},this.rbdService.createSnapshot(i,t,o).toPromise().then(()=>{this.taskManagerService.subscribe(_.name,_.metadata,a=>{this.notificationService.notifyTask(a)}),this.activeModal.close(),this.onSubmit.next(t)}).catch(()=>{this.snapshotForm.setErrors({cdSubmitButton:!0})})}submit(){this.editing?this.editAction():this.createAction()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(F.Kz),e.Y36(H),e.Y36(Bt.k),e.Y36(ve.g),e.Y36(L.p4),e.Y36(q))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-snapshot-form-modal"]],decls:21,vars:18,consts:function(){let s,t,o,i,_,a;return s="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Name",o="This field is required.",i="Snapshot mode is enabled on image " + "\ufffd#2\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#2\ufffd" + ": snapshot names are auto generated",_="Mirror Image Snapshot",a="The peer must be registered to do this action.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","snapshotForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","snapshotName",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],["type","text","placeholder","Snapshot name...","id","snapshotName","name","snapshotName","formControlName","snapshotName","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],o,i,["class","form-group row",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","formControlName","mirrorImageSnapshot","name","mirrorImageSnapshot","id","mirrorImageSnapshot",1,"custom-control-input",3,"change"],["for","mirrorImageSnapshot",1,"custom-control-label"],_,a]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10),e._UZ(13,"input",11),e.YNc(14,h_,2,0,"span",12),e.YNc(15,A_,3,1,"span",13),e.qZA()(),e.YNc(16,I_,3,3,"ng-container",13),e.qZA(),e.TgZ(17,"div",14)(18,"cd-form-button-panel",15),e.NdJ("submitActionEvent",function(){return o.submit()}),e.ALo(19,"titlecase"),e.ALo(20,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,10,o.action))(e.lcZ(4,12,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.snapshotForm),e.xp6(7),e.uIk("disabled","snapshot"===o.mirroring&&!0===o.snapshotForm.getValue("mirrorImageSnapshot")||null),e.xp6(1),e.Q6J("ngIf",o.snapshotForm.showError("snapshotName",i,"required")),e.xp6(1),e.Q6J("ngIf","snapshot"===o.mirroring&&!0===o.snapshotForm.getValue("mirrorImageSnapshot")||null),e.xp6(1),e.Q6J("ngIf","snapshot"===o.mirroring||null),e.xp6(2),e.Q6J("form",o.snapshotForm)("submitText",e.lcZ(19,14,o.action)+" "+e.lcZ(20,16,o.resource))}},dependencies:[c.O5,r._Y,r.Fj,r.Wl,r.JJ,r.JL,r.sg,r.u,bt.S,f.z,A.p,Oe.U,M.o,B.b,K.P,J.V,c.Ov,c.rS,ot.m]}),n})();class F_{constructor(s,t,o){this.featuresName=t,this.cloneFormatVersion=1,o.cloneFormatVersion().subscribe(i=>{this.cloneFormatVersion=i}),this.create={permission:"create",icon:T.P.add,name:s.CREATE},this.rename={permission:"update",icon:T.P.edit,name:s.RENAME,disable:i=>this.disableForMirrorSnapshot(i)||!i.hasSingleSelection},this.protect={permission:"update",icon:T.P.lock,visible:i=>i.hasSingleSelection&&!i.first().is_protected,name:s.PROTECT,disable:i=>this.disableForMirrorSnapshot(i)||this.getProtectDisableDesc(i,this.featuresName)},this.unprotect={permission:"update",icon:T.P.unlock,visible:i=>i.hasSingleSelection&&i.first().is_protected,name:s.UNPROTECT,disable:i=>this.disableForMirrorSnapshot(i)},this.clone={permission:"create",canBePrimary:i=>i.hasSingleSelection,disable:i=>this.getCloneDisableDesc(i)||this.disableForMirrorSnapshot(i),icon:T.P.clone,name:s.CLONE},this.copy={permission:"create",canBePrimary:i=>i.hasSingleSelection,disable:i=>!i.hasSingleSelection||i.first().cdExecuting||this.disableForMirrorSnapshot(i),icon:T.P.copy,name:s.COPY},this.rollback={permission:"update",icon:T.P.undo,name:s.ROLLBACK,disable:i=>this.disableForMirrorSnapshot(i)||!i.hasSingleSelection},this.deleteSnap={permission:"delete",icon:T.P.destroy,disable:i=>{const _=i.first();return!i.hasSingleSelection||_.cdExecuting||_.is_protected||this.disableForMirrorSnapshot(i)},name:s.DELETE},this.ordering=[this.create,this.rename,this.protect,this.unprotect,this.clone,this.copy,this.rollback,this.deleteSnap]}getProtectDisableDesc(s,t){return!(s.hasSingleSelection&&!s.first().cdExecuting)||!t?.includes("layering")&&"The layering feature needs to be enabled on parent image"}getCloneDisableDesc(s){return!(s.hasSingleSelection&&!s.first().cdExecuting)||1===this.cloneFormatVersion&&!s.first().is_protected&&"Snapshot must be protected in order to clone."}disableForMirrorSnapshot(s){return s.hasSingleSelection&&"snapshot"===s.first().mirror_mode&&s.first().name.includes(".mirror.")}}class D_{}var Be=p(96102);const L_=["nameTpl"],v_=["rollbackTpl"];function $_(n,s){if(1&n&&(e.ynx(0),e.SDv(1,3),e.BQk(),e.TgZ(2,"strong"),e._uU(3),e.qZA(),e._uU(4,".\n")),2&n){const t=s.$implicit;e.xp6(3),e.hij(" ",t.snapName,"")}}let B_=(()=>{class n{constructor(t,o,i,_,a,l,d,g,S,I,P){this.authStorageService=t,this.modalService=o,this.dimlessBinaryPipe=i,this.cdDatePipe=_,this.rbdService=a,this.taskManagerService=l,this.notificationService=d,this.summaryService=g,this.taskListService=S,this.actionLabels=I,this.cdr=P,this.snapshots=[],this.selection=new Ee.r,this.builders={"rbd/snap/create":$=>{const y=new D_;return y.name=$.snapshot_name,y}},this.permission=this.authStorageService.getPermissions().rbdImage}ngOnInit(){this.columns=[{name:"Name",prop:"name",cellTransformation:Le.e.executing,flexGrow:2},{name:"Size",prop:"size",flexGrow:1,cellClass:"text-right",pipe:this.dimlessBinaryPipe},{name:"Used",prop:"disk_usage",flexGrow:1,cellClass:"text-right",pipe:this.dimlessBinaryPipe},{name:"State",prop:"is_protected",flexGrow:1,cellTransformation:Le.e.badge,customTemplateConfig:{map:{true:{value:"PROTECTED",class:"badge-success"},false:{value:"UNPROTECTED",class:"badge-info"}}}},{name:"Created",prop:"timestamp",flexGrow:1,pipe:this.cdDatePipe}],this.imageSpec=new v.N(this.poolName,this.namespace,this.rbdName),this.rbdTableActions=new F_(this.actionLabels,this.featuresName,this.rbdService),this.rbdTableActions.create.click=()=>this.openCreateSnapshotModal(),this.rbdTableActions.rename.click=()=>this.openEditSnapshotModal(),this.rbdTableActions.protect.click=()=>this.toggleProtection(),this.rbdTableActions.unprotect.click=()=>this.toggleProtection();const t=()=>this.selection.first()&&`${this.imageSpec.toStringEncoded()}/${encodeURIComponent(this.selection.first().name)}`;this.rbdTableActions.clone.routerLink=()=>`/block/rbd/clone/${t()}`,this.rbdTableActions.copy.routerLink=()=>`/block/rbd/copy/${t()}`,this.rbdTableActions.rollback.click=()=>this.rollbackModal(),this.rbdTableActions.deleteSnap.click=()=>this.deleteSnapshotModal(),this.tableActions=this.rbdTableActions.ordering,this.taskListService.init(()=>(0,M_.of)(this.snapshots),null,_=>{$t.T.updateChanged(this,{data:_})&&(this.cdr.detectChanges(),this.data=[...this.data])},()=>{$t.T.updateChanged(this,{data:this.snapshots})&&(this.cdr.detectChanges(),this.data=[...this.data])},_=>["rbd/snap/create","rbd/snap/delete","rbd/snap/edit","rbd/snap/rollback"].includes(_.name)&&this.imageSpec.toString()===_.metadata.image_spec,(_,a)=>_.name===a.metadata.snapshot_name,this.builders)}ngOnChanges(){this.columns&&(this.imageSpec=new v.N(this.poolName,this.namespace,this.rbdName),this.rbdTableActions&&(this.rbdTableActions.featuresName=this.featuresName),this.taskListService.fetch())}openSnapshotModal(t,o=null){this.modalRef=this.modalService.show(N_,{mirroring:this.mirroring}),this.modalRef.componentInstance.poolName=this.poolName,this.modalRef.componentInstance.imageName=this.rbdName,this.modalRef.componentInstance.namespace=this.namespace,o?this.modalRef.componentInstance.setEditing():o=`${this.rbdName}_${he()().toISOString(!0)}`,this.modalRef.componentInstance.setSnapName(o),this.modalRef.componentInstance.onSubmit.subscribe(_=>{const a=new ut.o;a.name=t,a.metadata={image_spec:this.imageSpec.toString(),snapshot_name:_},this.summaryService.addRunningTask(a)})}openCreateSnapshotModal(){this.openSnapshotModal("rbd/snap/create")}openEditSnapshotModal(){this.openSnapshotModal("rbd/snap/edit",this.selection.first().name)}toggleProtection(){const t=this.selection.first().name,o=this.selection.first().is_protected,i=new E.R;i.name="rbd/snap/edit";const _=new v.N(this.poolName,this.namespace,this.rbdName);i.metadata={image_spec:_.toString(),snapshot_name:t},this.rbdService.protectSnapshot(_,t,!o).toPromise().then(()=>{const a=new ut.o;a.name=i.name,a.metadata=i.metadata,this.summaryService.addRunningTask(a),this.taskManagerService.subscribe(i.name,i.metadata,l=>{this.notificationService.notifyTask(l)})})}_asyncTask(t,o,i){const _=new E.R;_.name=o,_.metadata={image_spec:new v.N(this.poolName,this.namespace,this.rbdName).toString(),snapshot_name:i};const a=new v.N(this.poolName,this.namespace,this.rbdName);this.rbdService[t](a,i).toPromise().then(()=>{const l=new ut.o;l.name=_.name,l.metadata=_.metadata,this.summaryService.addRunningTask(l),this.modalRef.close(),this.taskManagerService.subscribe(l.name,l.metadata,d=>{this.notificationService.notifyTask(d)})}).catch(()=>{this.modalRef.componentInstance.stopLoadingSpinner()})}rollbackModal(){const t=this.selection.selected[0].name,o=new v.N(this.poolName,this.namespace,this.rbdName).toString(),i={titleText:"RBD snapshot rollback",buttonText:"Rollback",bodyTpl:this.rollbackTpl,bodyData:{snapName:`${o}@${t}`},onSubmit:()=>{this._asyncTask("rollbackSnapshot","rbd/snap/rollback",t)}};this.modalRef=this.modalService.show(ct.Y,i)}deleteSnapshotModal(){const t=this.selection.selected[0].name;this.modalRef=this.modalService.show(ue.M,{itemDescription:"RBD snapshot",itemNames:[t],submitAction:()=>this._asyncTask("deleteSnapshot","rbd/snap/delete",t)})}updateSelection(t){this.selection=t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(oe.j),e.Y36(pe.Z),e.Y36(Ue.$),e.Y36(Be.N),e.Y36(H),e.Y36(Bt.k),e.Y36(ve.g),e.Y36(O_.J),e.Y36(de.j),e.Y36(L.p4),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-snapshot-list"]],viewQuery:function(t,o){if(1&t&&(e.Gf(L_,5),e.Gf(v_,7)),2&t){let i;e.iGM(i=e.CRH())&&(o.nameTpl=i.first),e.iGM(i=e.CRH())&&(o.rollbackTpl=i.first)}},inputs:{snapshots:"snapshots",featuresName:"featuresName",poolName:"poolName",namespace:"namespace",mirroring:"mirroring",primary:"primary",rbdName:"rbdName"},features:[e._Bn([de.j]),e.TTD],decls:4,vars:5,consts:function(){let s;return s="You are about to rollback",[["columnMode","flex","selectionType","single",3,"data","columns","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["rollbackTpl",""],s]},template:function(t,o){1&t&&(e.TgZ(0,"cd-table",0),e.NdJ("updateSelection",function(_){return o.updateSelection(_)}),e._UZ(1,"cd-table-actions",1),e.qZA(),e.YNc(2,$_,5,1,"ng-template",null,2,e.W1O)),2&t&&(e.Q6J("data",o.data)("columns",o.columns),e.xp6(1),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions))},dependencies:[W.a,Me.K],changeDetection:0}),n})();var G_=p(42176),y_=p(41039);const x_=["poolConfigurationSourceTpl"];function Z_(n,s){1&n&&(e.ynx(0),e.tHW(1,3),e._UZ(2,"strong"),e.N_p(),e.BQk())}function w_(n,s){if(1&n&&(e.TgZ(0,"span")(1,"span",38),e._uU(2),e.qZA()()),2&n){const t=s.$implicit;e.xp6(2),e.Oqu(t)}}function H_(n,s){if(1&n&&(e.TgZ(0,"span")(1,"span",39),e.SDv(2,40),e.qZA()()),2&n){e.oxw(3);const t=e.MAs(1);e.xp6(1),e.Q6J("ngbTooltip",t)}}function k_(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,t.selection.disk_usage)," ")}}function K_(n,s){if(1&n&&(e.TgZ(0,"span")(1,"span",39),e.SDv(2,41),e.qZA()()),2&n){e.oxw(3);const t=e.MAs(1);e.xp6(1),e.Q6J("ngbTooltip",t)}}function q_(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,t.selection.total_disk_usage)," ")}}function X_(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.hij("/",t.selection.parent.pool_namespace,"")}}function Q_(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.YNc(2,X_,2,1,"span",1),e._uU(3),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Oqu(t.selection.parent.pool_name),e.xp6(1),e.Q6J("ngIf",t.selection.parent.pool_namespace),e.xp6(1),e.AsE("/",t.selection.parent.image_name,"@",t.selection.parent.snap_name,"")}}function z_(n,s){1&n&&(e.TgZ(0,"span"),e._uU(1,"-"),e.qZA())}function J_(n,s){if(1&n&&(e.TgZ(0,"table",17)(1,"tbody")(2,"tr")(3,"td",18),e.SDv(4,19),e.qZA(),e.TgZ(5,"td",20),e._uU(6),e.qZA()(),e.TgZ(7,"tr")(8,"td",21),e.SDv(9,22),e.qZA(),e.TgZ(10,"td"),e._uU(11),e.qZA()(),e.TgZ(12,"tr")(13,"td",21),e.SDv(14,23),e.qZA(),e.TgZ(15,"td"),e._uU(16),e.ALo(17,"empty"),e.qZA()(),e.TgZ(18,"tr")(19,"td",21),e.SDv(20,24),e.qZA(),e.TgZ(21,"td"),e._uU(22),e.ALo(23,"cdDate"),e.qZA()(),e.TgZ(24,"tr")(25,"td",21),e.SDv(26,25),e.qZA(),e.TgZ(27,"td"),e._uU(28),e.ALo(29,"dimlessBinary"),e.qZA()(),e.TgZ(30,"tr")(31,"td",21),e.SDv(32,26),e.qZA(),e.TgZ(33,"td"),e._uU(34),e.ALo(35,"dimless"),e.qZA()(),e.TgZ(36,"tr")(37,"td",21),e.SDv(38,27),e.qZA(),e.TgZ(39,"td"),e._uU(40),e.ALo(41,"dimlessBinary"),e.qZA()(),e.TgZ(42,"tr")(43,"td",21),e.SDv(44,28),e.qZA(),e.TgZ(45,"td"),e.YNc(46,w_,3,1,"span",29),e.qZA()(),e.TgZ(47,"tr")(48,"td",21),e.SDv(49,30),e.qZA(),e.TgZ(50,"td"),e.YNc(51,H_,3,1,"span",1),e.YNc(52,k_,3,3,"span",1),e.qZA()(),e.TgZ(53,"tr")(54,"td",21),e.SDv(55,31),e.qZA(),e.TgZ(56,"td"),e.YNc(57,K_,3,1,"span",1),e.YNc(58,q_,3,3,"span",1),e.qZA()(),e.TgZ(59,"tr")(60,"td",21),e.SDv(61,32),e.qZA(),e.TgZ(62,"td"),e._uU(63),e.ALo(64,"dimlessBinary"),e.qZA()(),e.TgZ(65,"tr")(66,"td",21),e.SDv(67,33),e.qZA(),e.TgZ(68,"td"),e._uU(69),e.qZA()(),e.TgZ(70,"tr")(71,"td",21),e.SDv(72,34),e.qZA(),e.TgZ(73,"td"),e.YNc(74,Q_,4,4,"span",1),e.YNc(75,z_,2,0,"span",1),e.qZA()(),e.TgZ(76,"tr")(77,"td",21),e.SDv(78,35),e.qZA(),e.TgZ(79,"td"),e._uU(80),e.qZA()(),e.TgZ(81,"tr")(82,"td",21),e.SDv(83,36),e.qZA(),e.TgZ(84,"td"),e._uU(85),e.qZA()(),e.TgZ(86,"tr")(87,"td",21),e.SDv(88,37),e.qZA(),e.TgZ(89,"td"),e._uU(90),e.qZA()()()()),2&n){const t=e.oxw(2);e.xp6(6),e.Oqu(t.selection.name),e.xp6(5),e.Oqu(t.selection.pool_name),e.xp6(5),e.Oqu(e.lcZ(17,19,t.selection.data_pool)),e.xp6(6),e.Oqu(e.lcZ(23,21,t.selection.timestamp)),e.xp6(6),e.Oqu(e.lcZ(29,23,t.selection.size)),e.xp6(6),e.Oqu(e.lcZ(35,25,t.selection.num_objs)),e.xp6(6),e.Oqu(e.lcZ(41,27,t.selection.obj_size)),e.xp6(6),e.Q6J("ngForOf",t.selection.features_name),e.xp6(5),e.Q6J("ngIf",-1===(null==t.selection.features_name?null:t.selection.features_name.indexOf("fast-diff"))),e.xp6(1),e.Q6J("ngIf",-1!==(null==t.selection.features_name?null:t.selection.features_name.indexOf("fast-diff"))),e.xp6(5),e.Q6J("ngIf",-1===(null==t.selection.features_name?null:t.selection.features_name.indexOf("fast-diff"))),e.xp6(1),e.Q6J("ngIf",-1!==(null==t.selection.features_name?null:t.selection.features_name.indexOf("fast-diff"))),e.xp6(5),e.Oqu(e.lcZ(64,29,t.selection.stripe_unit)),e.xp6(6),e.Oqu(t.selection.stripe_count),e.xp6(5),e.Q6J("ngIf",t.selection.parent),e.xp6(1),e.Q6J("ngIf",!t.selection.parent),e.xp6(5),e.Oqu(t.selection.block_name_prefix),e.xp6(5),e.Oqu(t.selection.order),e.xp6(5),e.Oqu(t.selection.image_format)}}function Y_(n,s){if(1&n&&e._UZ(0,"cd-rbd-snapshot-list",42),2&n){const t=e.oxw(2);e.Q6J("snapshots",t.selection.snapshots)("featuresName",t.selection.features_name)("poolName",t.selection.pool_name)("primary",t.selection.primary)("namespace",t.selection.namespace)("mirroring",t.selection.mirror_mode)("rbdName",t.selection.name)}}function V_(n,s){if(1&n&&e._UZ(0,"cd-rbd-configuration-table",43),2&n){const t=e.oxw(2);e.Q6J("data",t.selection.configuration)}}function U_(n,s){if(1&n&&e._UZ(0,"cd-grafana",44),2&n){const t=e.oxw(2);e.Q6J("grafanaPath",t.rbdDashboardUrl)("type","metrics")}}function j_(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"nav",4,5),e.ynx(3,6),e.TgZ(4,"a",7),e.SDv(5,8),e.qZA(),e.YNc(6,J_,91,31,"ng-template",9),e.BQk(),e.ynx(7,10),e.TgZ(8,"a",7),e.SDv(9,11),e.qZA(),e.YNc(10,Y_,1,7,"ng-template",9),e.BQk(),e.ynx(11,12),e.TgZ(12,"a",7),e.SDv(13,13),e.qZA(),e.YNc(14,V_,1,1,"ng-template",9),e.BQk(),e.ynx(15,14),e.TgZ(16,"a",7),e.SDv(17,15),e.qZA(),e.YNc(18,U_,1,2,"ng-template",9),e.BQk(),e.qZA(),e._UZ(19,"div",16),e.BQk()),2&n){const t=e.MAs(2);e.xp6(19),e.Q6J("ngbNavOutlet",t)}}function W_(n,s){1&n&&(e.ynx(0),e.TgZ(1,"cd-alert-panel",45),e.SDv(2,46),e.qZA(),e.BQk())}function ea(n,s){1&n&&(e.ynx(0),e.TgZ(1,"strong",49),e.SDv(2,50),e.qZA(),e.BQk())}function ta(n,s){1&n&&(e.TgZ(0,"span",51),e.SDv(1,52),e.qZA())}function oa(n,s){if(1&n&&(e.YNc(0,ea,3,0,"ng-container",47),e.YNc(1,ta,2,0,"ng-template",null,48,e.W1O)),2&n){const t=s.value,o=e.MAs(2);e.Q6J("ngIf",+t)("ngIfElse",o)}}let na=(()=>{class n{ngOnChanges(){this.selection&&(this.rbdDashboardUrl=`rbd-details?var-Pool=${this.selection.pool_name}&var-Image=${this.selection.name}`)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-details"]],viewQuery:function(t,o){if(1&t&&(e.Gf(x_,7),e.Gf(F.Pz,7)),2&t){let i;e.iGM(i=e.CRH())&&(o.poolConfigurationSourceTpl=i.first),e.iGM(i=e.CRH())&&(o.nav=i.first)}},inputs:{selection:"selection",images:"images"},features:[e.TTD],decls:6,vars:2,consts:function(){let s,t,o,i,_,a,l,d,g,S,I,P,$,y,Q,Y,ee,te,w,_e,ae,O,me,ge,Te,fe,Ce,Se,Re;return s="Only available for RBD images with " + "\ufffd#2\ufffd" + "fast-diff" + "\ufffd/#2\ufffd" + " enabled",t="Details",o="Snapshots",i="Configuration",_="Performance",a="Name",l="Pool",d="Data Pool",g="Created",S="Size",I="Objects",P="Object size",$="Features",y="Provisioned",Q="Total provisioned",Y="Striping unit",ee="Striping count",te="Parent",w="Block name prefix",_e="Order",ae="Format Version",O="N/A",me="N/A",ge="RBD details",Te="Information can not be displayed for RBD in status 'Removing'.",fe="This setting overrides the global value",Ce="Image",Se="This is the global value. No value for this option has been set for this image.",Re="Global",[["usageNotAvailableTooltipTpl",""],[4,"ngIf"],["poolConfigurationSourceTpl",""],s,["ngbNav","","cdStatefulTab","rbd-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],t,["ngbNavContent",""],["ngbNavItem","snapshots"],o,["ngbNavItem","configuration"],i,["ngbNavItem","performance"],_,[3,"ngbNavOutlet"],[1,"table","table-striped","table-bordered"],[1,"bold","w-25"],a,[1,"w-75"],[1,"bold"],l,d,g,S,I,P,$,[4,"ngFor","ngForOf"],y,Q,Y,ee,te,w,_e,ae,[1,"badge","badge-dark","me-2"],["placement","top",1,"form-text","text-muted",3,"ngbTooltip"],O,me,[3,"snapshots","featuresName","poolName","primary","namespace","mirroring","rbdName"],[3,"data"],["title",ge,"uid","YhCYGcuZz","grafanaStyle","one",3,"grafanaPath","type"],["type","warning"],Te,[4,"ngIf","ngIfElse"],["global",""],["ngbTooltip",fe],Ce,["ngbTooltip",Se],Re]},template:function(t,o){1&t&&(e.YNc(0,Z_,3,0,"ng-template",null,0,e.W1O),e.YNc(2,j_,20,1,"ng-container",1),e.YNc(3,W_,3,0,"ng-container",1),e.YNc(4,oa,3,2,"ng-template",null,2,e.W1O)),2&t&&(e.xp6(2),e.Q6J("ngIf",o.selection&&"REMOVING"!==o.selection.source),e.xp6(1),e.Q6J("ngIf",o.selection&&"REMOVING"===o.selection.source))},dependencies:[c.sg,c.O5,F.uN,F.Pz,F.nv,F.Vx,F.tO,F.Dy,F._L,vt.F,it.G,ht.m,B_,G_.P,Ue.$,st.n,Be.N,y_.W]}),n})();const et=function(){return{exact:!0}};function ia(n,s){1&n&&(e.TgZ(0,"li",1)(1,"a",9),e.SDv(2,10),e.qZA()()),2&n&&(e.xp6(1),e.Q6J("routerLinkActiveOptions",e.DdM(1,et)))}let tt=(()=>{class n{constructor(t){this.authStorageService=t,this.grafanaPermission=this.authStorageService.getPermissions().grafana}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(oe.j))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-tabs"]],decls:11,vars:7,consts:function(){let s,t,o,i;return s="Images",t="Namespaces",o="Trash",i="Overall Performance",[[1,"nav","nav-tabs"],[1,"nav-item"],["routerLink","/block/rbd","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],s,["routerLink","/block/rbd/namespaces","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],t,["routerLink","/block/rbd/trash","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],o,["class","nav-item",4,"ngIf"],["routerLink","/block/rbd/performance","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],i]},template:function(t,o){1&t&&(e.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),e.SDv(3,3),e.qZA()(),e.TgZ(4,"li",1)(5,"a",4),e.SDv(6,5),e.qZA()(),e.TgZ(7,"li",1)(8,"a",6),e.SDv(9,7),e.qZA()(),e.YNc(10,ia,3,2,"li",8),e.qZA()),2&t&&(e.xp6(2),e.Q6J("routerLinkActiveOptions",e.DdM(4,et)),e.xp6(3),e.Q6J("routerLinkActiveOptions",e.DdM(5,et)),e.xp6(3),e.Q6J("routerLinkActiveOptions",e.DdM(6,et)),e.xp6(2),e.Q6J("ngIf",o.grafanaPermission.read))},dependencies:[c.O5,m.rH,m.Od]}),n})();const sa=["usageTpl"],_a=["parentTpl"],aa=["nameTpl"],ra=["ScheduleTpl"],la=["mirroringTpl"],ca=["flattenTpl"],da=["deleteTpl"],pa=["removingStatTpl"],ua=["forcePromoteConfirmation"],ma=["usedTmpl"],ga=["totalUsedTmpl"],Ta=["imageUsageTpl"];function fa(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&n){const t=e.oxw(2).value;e.xp6(1),e.hij("/",t.pool_namespace,"")}}function Ca(n,s){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.YNc(2,fa,2,1,"span",13),e._uU(3),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Oqu(t.pool_name),e.xp6(1),e.Q6J("ngIf",t.pool_namespace),e.xp6(1),e.AsE("/",t.image_name,"@",t.snap_name,"")}}function Sa(n,s){1&n&&(e.TgZ(0,"span"),e._uU(1,"-"),e.qZA())}function Ra(n,s){if(1&n&&(e.YNc(0,Ca,4,4,"span",13),e.YNc(1,Sa,2,0,"span",13)),2&n){const t=s.value;e.Q6J("ngIf",t),e.xp6(1),e.Q6J("ngIf",!t)}}function Ea(n,s){if(1&n&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Oqu(t[0])}}function Ma(n,s){if(1&n&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Oqu(t[1])}}function Oa(n,s){1&n&&(e.TgZ(0,"span",17),e.SDv(1,18),e.qZA())}function ha(n,s){1&n&&(e.TgZ(0,"span",17),e.SDv(1,19),e.qZA())}function Aa(n,s){if(1&n&&(e.TgZ(0,"span",17),e._uU(1),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Oqu(t)}}function Pa(n,s){if(1&n&&(e.YNc(0,Ea,2,1,"span",14),e._uU(1,"\xa0 "),e.YNc(2,Ma,2,1,"span",15),e._uU(3,"\xa0 "),e.YNc(4,Oa,2,0,"span",15),e.YNc(5,ha,2,0,"span",15),e.YNc(6,Aa,2,1,"ng-template",null,16,e.W1O)),2&n){const t=s.value,o=s.row,i=e.MAs(7);e.Q6J("ngIf",3===t.length)("ngIfElse",i),e.xp6(2),e.Q6J("ngIf",3===t.length),e.xp6(2),e.Q6J("ngIf",!0===o.primary),e.xp6(1),e.Q6J("ngIf",!1===o.primary)}}function ba(n,s){if(1&n&&(e.TgZ(0,"span",17),e._uU(1),e.ALo(2,"cdDate"),e.qZA()),2&n){const t=e.oxw().value;e.xp6(1),e.Oqu(e.lcZ(2,1,t[2]))}}function Ia(n,s){1&n&&e.YNc(0,ba,3,3,"span",15),2&n&&e.Q6J("ngIf",3===s.value.length)}function Na(n,s){if(1&n&&(e._uU(0," You are about to flatten "),e.TgZ(1,"strong"),e._uU(2),e.qZA(),e._uU(3,". "),e._UZ(4,"br")(5,"br"),e._uU(6," All blocks will be copied from parent "),e.TgZ(7,"strong"),e._uU(8),e.qZA(),e._uU(9," to child "),e.TgZ(10,"strong"),e._uU(11),e.qZA(),e._uU(12,".\n")),2&n){const t=s.$implicit;e.xp6(2),e.Oqu(t.child),e.xp6(6),e.Oqu(t.parent),e.xp6(3),e.Oqu(t.child)}}function Fa(n,s){if(1&n&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.xp6(1),e.Oqu(t)}}function Da(n,s){if(1&n&&(e.ynx(0),e.TgZ(1,"span"),e.SDv(2,23),e.qZA(),e.TgZ(3,"ul"),e.YNc(4,Fa,2,1,"li",24),e.qZA(),e.BQk()),2&n){const t=e.oxw(2).snapshots;e.xp6(4),e.Q6J("ngForOf",t)}}function La(n,s){if(1&n&&(e.TgZ(0,"div",21)(1,"span"),e.SDv(2,22),e.qZA(),e._UZ(3,"br"),e.YNc(4,Da,5,1,"ng-container",13),e.qZA()),2&n){const t=e.oxw().snapshots;e.xp6(4),e.Q6J("ngIf",t.length>0)}}function va(n,s){1&n&&e.YNc(0,La,5,1,"div",20),2&n&&e.Q6J("ngIf",s.hasSnapshots)}const $a=function(n,s){return[n,s]};function Ba(n,s){if(1&n&&e._UZ(0,"i",26),2&n){const t=e.oxw(2);e.Q6J("ngClass",e.WLB(1,$a,t.icons.spinner,t.icons.spin))}}function Ga(n,s){if(1&n&&(e.TgZ(0,"span",26),e._uU(1),e.qZA()),2&n){const t=e.oxw(),o=t.column,i=t.row;e.Q6J("ngClass",null!=o&&null!=o.customTemplateConfig&&o.customTemplateConfig.executingClass?o.customTemplateConfig.executingClass:"text-muted italic"),e.xp6(1),e.hij(" (",i.cdExecuting,") ")}}function ya(n,s){if(1&n&&e._UZ(0,"i",28),2&n){const t=e.oxw(2);e.Gre("",t.icons.warning," warn")}}function xa(n,s){if(1&n&&(e.YNc(0,Ba,1,4,"i",25),e.TgZ(1,"span",26),e._uU(2),e.qZA(),e.YNc(3,Ga,2,2,"span",25),e.YNc(4,ya,1,3,"i",27)),2&n){const t=s.column,o=s.value,i=s.row;e.Q6J("ngIf",i.cdExecuting),e.xp6(1),e.Q6J("ngClass",null==t||null==t.customTemplateConfig?null:t.customTemplateConfig.valueClass),e.xp6(1),e.hij(" ",o," "),e.xp6(1),e.Q6J("ngIf",i.cdExecuting),e.xp6(1),e.Q6J("ngIf",i.source&&"REMOVING"===i.source)}}function Za(n,s){if(1&n&&(e.TgZ(0,"cd-alert-panel",29),e._uU(1),e.qZA(),e.TgZ(2,"div",30),e.tHW(3,31),e._UZ(4,"strong"),e.N_p(),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.errorMessage)}}function wa(n,s){if(1&n&&(e.TgZ(0,"span",34)(1,"span"),e._uU(2,"-"),e.qZA()()),2&n){e.oxw(2);const t=e.MAs(22);e.Q6J("ngbTooltip",t)}}function Ha(n,s){if(1&n&&e._UZ(0,"cd-usage-bar",36),2&n){const t=e.oxw(2).row;e.Q6J("total",t.size)("used",t.disk_usage)("title",t.name)}}function ka(n,s){if(1&n&&e.YNc(0,Ha,1,3,"cd-usage-bar",35),2&n){const t=e.oxw().row;e.Q6J("ngIf",t)}}function Ka(n,s){if(1&n&&(e.YNc(0,wa,3,1,"span",32),e.YNc(1,ka,1,1,"ng-template",null,33,e.W1O)),2&n){const t=s.row,o=e.MAs(2);e.Q6J("ngIf",t.features_name&&(!t.features_name.includes("fast-diff")||"snapshot"===t.mirror_mode))("ngIfElse",o)}}function qa(n,s){1&n&&e._UZ(0,"div",37),2&n&&e.Q6J("innerHtml","Only available for RBD images with <strong>fast-diff</strong> enabled and without snapshot mirroring",e.oJD)}let Qa=(()=>{class n extends St.o{createRbdFromTaskImageSpec(t){const o=v.N.fromString(t);return this.createRbdFromTask(o.poolName,o.namespace,o.imageName)}createRbdFromTask(t,o,i){const _=new ms;return _.id="-1",_.unique_id="-1",_.name=i,_.namespace=o,_.pool_name=t,_.image_format=Ie.V2,_}constructor(t,o,i,_,a,l,d,g,S){super(),this.authStorageService=t,this.rbdService=o,this.dimlessBinaryPipe=i,this.dimlessPipe=_,this.modalService=a,this.taskWrapper=l,this.taskListService=d,this.urlBuilder=g,this.actionLabels=S,this.tableStatus=new Lt.c("light"),this.selection=new Ee.r,this.icons=T.P,this.count=0,this.tableContext=null,this.builders={"rbd/create":O=>this.createRbdFromTask(O.pool_name,O.namespace,O.image_name),"rbd/delete":O=>this.createRbdFromTaskImageSpec(O.image_spec),"rbd/clone":O=>this.createRbdFromTask(O.child_pool_name,O.child_namespace,O.child_image_name),"rbd/copy":O=>this.createRbdFromTask(O.dest_pool_name,O.dest_namespace,O.dest_image_name)},this.permission=this.authStorageService.getPermissions().rbdImage;const I=()=>this.selection.first()&&new v.N(this.selection.first().pool_name,this.selection.first().namespace,this.selection.first().name).toStringEncoded();this.tableActions=[{permission:"create",icon:T.P.add,routerLink:()=>this.urlBuilder.getCreate(),canBePrimary:O=>!O.hasSingleSelection,name:this.actionLabels.CREATE},{permission:"update",icon:T.P.edit,routerLink:()=>this.urlBuilder.getEdit(I()),name:this.actionLabels.EDIT,disable:O=>this.getRemovingStatusDesc(O)||this.getInvalidNameDisable(O)},{permission:"create",canBePrimary:O=>O.hasSingleSelection,disable:O=>this.getRemovingStatusDesc(O)||this.getInvalidNameDisable(O)||!!O.first().cdExecuting,icon:T.P.copy,routerLink:()=>`/block/rbd/copy/${I()}`,name:this.actionLabels.COPY},{permission:"update",disable:O=>this.getRemovingStatusDesc(O)||this.getInvalidNameDisable(O)||O.first().cdExecuting||!O.first().parent,icon:T.P.flatten,click:()=>this.flattenRbdModal(),name:this.actionLabels.FLATTEN},{permission:"update",icon:T.P.refresh,click:()=>this.resyncRbdModal(),name:this.actionLabels.RESYNC,disable:O=>this.getResyncDisableDesc(O)},{permission:"delete",icon:T.P.destroy,click:()=>this.deleteRbdModal(),name:this.actionLabels.DELETE,disable:O=>this.getDeleteDisableDesc(O)},{permission:"delete",icon:T.P.trash,click:()=>this.trashRbdModal(),name:this.actionLabels.TRASH,disable:O=>this.getRemovingStatusDesc(O)||this.getInvalidNameDisable(O)||O.first().image_format===Ie.V1},{permission:"update",icon:T.P.edit,click:()=>this.removeSchedulingModal(),name:this.actionLabels.REMOVE_SCHEDULING,disable:O=>this.getRemovingStatusDesc(O)||this.getInvalidNameDisable(O)||void 0===O.first().schedule_info},{permission:"update",icon:T.P.edit,click:()=>this.actionPrimary(!0),name:this.actionLabels.PROMOTE,visible:()=>null!=this.selection.first()&&!this.selection.first().primary,disable:()=>"Disabled"===this.selection.first().mirror_mode?"Mirroring needs to be enabled on the image to perform this action":""},{permission:"update",icon:T.P.edit,click:()=>this.actionPrimary(!1),name:this.actionLabels.DEMOTE,visible:()=>null!=this.selection.first()&&this.selection.first().primary,disable:()=>"Disabled"===this.selection.first().mirror_mode?"Mirroring needs to be enabled on the image to perform this action":""}]}ngOnInit(){this.columns=[{name:"Name",prop:"name",flexGrow:2,cellTemplate:this.removingStatTpl},{name:"Pool",prop:"pool_name",flexGrow:2},{name:"Namespace",prop:"namespace",flexGrow:2},{name:"Size",prop:"size",flexGrow:1,cellClass:"text-right",sortable:!1,pipe:this.dimlessBinaryPipe},{name:"Usage",prop:"usage",cellTemplate:this.imageUsageTpl,flexGrow:1.5},{name:"Objects",prop:"num_objs",flexGrow:1,cellClass:"text-right",sortable:!1,pipe:this.dimlessPipe},{name:"Object size",prop:"obj_size",flexGrow:1,cellClass:"text-right",sortable:!1,pipe:this.dimlessBinaryPipe},{name:"Parent",prop:"parent",flexGrow:2,sortable:!1,cellTemplate:this.parentTpl},{name:"Mirroring",prop:"mirror_mode",flexGrow:3,sortable:!1,cellTemplate:this.mirroringTpl},{name:"Next Scheduled Snapshot",prop:"mirror_mode",flexGrow:3,sortable:!1,cellTemplate:this.ScheduleTpl}],this.taskListService.init(i=>this.getRbdImages(i),i=>this.prepareResponse(i),i=>this.images=i,()=>this.onFetchError(),i=>["rbd/clone","rbd/copy","rbd/create","rbd/delete","rbd/edit","rbd/flatten","rbd/trash/move"].includes(i.name),(i,_)=>{let a;switch(_.name){case"rbd/copy":a=new v.N(_.metadata.dest_pool_name,_.metadata.dest_namespace,_.metadata.dest_image_name).toString();break;case"rbd/clone":a=new v.N(_.metadata.child_pool_name,_.metadata.child_namespace,_.metadata.child_image_name).toString();break;case"rbd/create":a=new v.N(_.metadata.pool_name,_.metadata.namespace,_.metadata.image_name).toString();break;default:a=_.metadata.image_spec}return a===new v.N(i.pool_name,i.namespace,i.name).toString()},this.builders)}onFetchError(){this.table.reset(),this.tableStatus=new Lt.c("danger")}getRbdImages(t){return null!==t&&(this.tableContext=t),null==this.tableContext&&(this.tableContext=new h.E(()=>{})),this.rbdService.list(this.tableContext?.toParams())}prepareResponse(t){let o=[];return t.forEach(i=>{o=o.concat(i.value)}),o.forEach(i=>{if(void 0!==i.schedule_info){let _=[];const a="scheduled";let l=+new Date(i.schedule_info.schedule_time);const d=(new Date).getTimezoneOffset();l+=6e4*Math.abs(d),_.push(i.mirror_mode,a,l),i.mirror_mode=_,_=[]}}),this.count=o.length>0?u_.v.getCount(t[0]):0,o}updateSelection(t){this.selection=t}deleteRbdModal(){const t=this.selection.first().pool_name,o=this.selection.first().namespace,i=this.selection.first().name,_=new v.N(t,o,i);this.modalRef=this.modalService.show(ue.M,{itemDescription:"RBD",itemNames:[_],bodyTemplate:this.deleteTpl,bodyContext:{hasSnapshots:this.hasSnapshots(),snapshots:this.listProtectedSnapshots()},submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/delete",{image_spec:_.toString()}),call:this.rbdService.delete(_)})})}resyncRbdModal(){const t=this.selection.first().pool_name,o=this.selection.first().namespace,i=this.selection.first().name,_=new v.N(t,o,i);this.modalRef=this.modalService.show(ue.M,{itemDescription:"RBD",itemNames:[_],actionDescription:"resync",submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/edit",{image_spec:_.toString()}),call:this.rbdService.update(_,{resync:!0})})})}trashRbdModal(){const t={poolName:this.selection.first().pool_name,namespace:this.selection.first().namespace,imageName:this.selection.first().name,hasSnapshots:this.hasSnapshots()};this.modalRef=this.modalService.show(R_,t)}flattenRbd(t){this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/flatten",{image_spec:t.toString()}),call:this.rbdService.flatten(t)}).subscribe({complete:()=>{this.modalRef.close()}})}flattenRbdModal(){const t=this.selection.first().pool_name,o=this.selection.first().namespace,i=this.selection.first().name,_=this.selection.first().parent,a=new v.N(_.pool_name,_.pool_namespace,_.image_name),l=new v.N(t,o,i),d={titleText:"RBD flatten",buttonText:"Flatten",bodyTpl:this.flattenTpl,bodyData:{parent:`${a}@${_.snap_name}`,child:l.toString()},onSubmit:()=>{this.flattenRbd(l)}};this.modalRef=this.modalService.show(ct.Y,d)}editRequest(){const t=new lt;return t.remove_scheduling=!t.remove_scheduling,t}removeSchedulingModal(){const t=this.selection.first().name,o=new v.N(this.selection.first().pool_name,this.selection.first().namespace,this.selection.first().name);this.modalRef=this.modalService.show(ue.M,{actionDescription:"remove scheduling on",itemDescription:"image",itemNames:[`${t}`],submitActionObservable:()=>new At.y(i=>{this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/edit",{image_spec:o.toString()}),call:this.rbdService.update(o,this.editRequest())}).subscribe({error:_=>i.error(_),complete:()=>{this.modalRef.close()}})})})}actionPrimary(t){const o=new lt;o.primary=t,o.features=null;const i=new v.N(this.selection.first().pool_name,this.selection.first().namespace,this.selection.first().name);this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/edit",{image_spec:i.toString()}),call:this.rbdService.update(i,o)}).subscribe(()=>{},_=>{_.preventDefault(),t&&(this.errorMessage=_.error.detail.replace(/\[.*?\]\s*/,""),o.force=!0,this.modalRef=this.modalService.show(ct.Y,{titleText:"Warning",buttonText:"Enforce",warning:!0,bodyTpl:this.forcePromoteConfirmation,onSubmit:()=>{this.rbdService.update(i,o).subscribe(()=>{this.modalRef.close()},()=>{this.modalRef.close()})}}))})}hasSnapshots(){return(this.selection.first().snapshots||[]).length>0}hasClonedSnapshots(t){return(t.snapshots||[]).some(i=>i.children&&i.children.length>0)}listProtectedSnapshots(){return this.selection.first().snapshots.reduce((i,_)=>(_.is_protected&&i.push(_.name),i),[])}getDeleteDisableDesc(t){const o=t.first();return o&&this.hasClonedSnapshots(o)?"This RBD has cloned snapshots. Please delete related RBDs before deleting this RBD.":this.getInvalidNameDisable(t)||this.hasClonedSnapshots(t.first())}getResyncDisableDesc(t){const o=t.first();return o&&this.imageIsPrimary(o)?"Primary RBD images cannot be resynced":this.getInvalidNameDisable(t)}imageIsPrimary(t){return t.primary}getInvalidNameDisable(t){return t.first()?.name?.match(/[@/]/)?"This RBD image has an invalid name and can't be managed by ceph.":!t.first()||!t.hasSingleSelection}getRemovingStatusDesc(t){return"REMOVING"===t.first()?.source&&"Action not possible for an RBD in status 'Removing'"}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(oe.j),e.Y36(H),e.Y36(Ue.$),e.Y36(st.n),e.Y36(pe.Z),e.Y36(u.P),e.Y36(de.j),e.Y36(dt.F),e.Y36(L.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-list"]],viewQuery:function(t,o){if(1&t&&(e.Gf(W.a,7),e.Gf(sa,5),e.Gf(_a,7),e.Gf(aa,5),e.Gf(ra,7),e.Gf(la,7),e.Gf(ca,7),e.Gf(da,7),e.Gf(pa,7),e.Gf(ua,7),e.Gf(ma,7),e.Gf(ga,7),e.Gf(Ta,7)),2&t){let i;e.iGM(i=e.CRH())&&(o.table=i.first),e.iGM(i=e.CRH())&&(o.usageTpl=i.first),e.iGM(i=e.CRH())&&(o.parentTpl=i.first),e.iGM(i=e.CRH())&&(o.nameTpl=i.first),e.iGM(i=e.CRH())&&(o.ScheduleTpl=i.first),e.iGM(i=e.CRH())&&(o.mirroringTpl=i.first),e.iGM(i=e.CRH())&&(o.flattenTpl=i.first),e.iGM(i=e.CRH())&&(o.deleteTpl=i.first),e.iGM(i=e.CRH())&&(o.removingStatTpl=i.first),e.iGM(i=e.CRH())&&(o.forcePromoteConfirmation=i.first),e.iGM(i=e.CRH())&&(o.usedTmpl=i.first),e.iGM(i=e.CRH())&&(o.totalUsedTmpl=i.first),e.iGM(i=e.CRH())&&(o.imageUsageTpl=i.first)}},features:[e._Bn([de.j,{provide:dt.F,useValue:new dt.F("block/rbd")}]),e.qOj],decls:23,vars:13,consts:function(){let s,t,o,i,_,a;return s="primary",t="secondary",o="Deleting this image will also delete all its snapshots.",i="The following snapshots are currently protected and will be removed:",_="RBD in status 'Removing'",a="" + "\ufffd#4\ufffd" + " Do you want to force the operation? " + "\ufffd/#4\ufffd" + "",[["columnMode","flex","identifier","unique_id","forceIdentifier","true","selectionType","single",3,"data","columns","searchableObjects","serverSide","count","hasDetails","status","maxLimit","autoReload","fetchData","setExpandedRow","updateSelection"],["table",""],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],["parentTpl",""],["mirroringTpl",""],["ScheduleTpl",""],["flattenTpl",""],["deleteTpl",""],["removingStatTpl",""],["forcePromoteConfirmation",""],["imageUsageTpl",""],["usageTooltip",""],[4,"ngIf"],["class","badge badge-info",4,"ngIf","ngIfElse"],["class","badge badge-info",4,"ngIf"],["probb",""],[1,"badge","badge-info"],s,t,["class","alert alert-warning","role","alert",4,"ngIf"],["role","alert",1,"alert","alert-warning"],o,i,[4,"ngFor","ngForOf"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],["title",_,3,"class",4,"ngIf"],["title",_],["type","warning"],[1,"m-4"],a,[3,"ngbTooltip",4,"ngIf","ngIfElse"],["usageBar",""],[3,"ngbTooltip"],["decimals","2",3,"total","used","title",4,"ngIf"],["decimals","2",3,"total","used","title"],[3,"innerHtml"]]},template:function(t,o){1&t&&(e._UZ(0,"cd-rbd-tabs"),e.TgZ(1,"cd-table",0,1),e.NdJ("fetchData",function(_){return o.taskListService.fetch(_)})("setExpandedRow",function(_){return o.setExpandedRow(_)})("updateSelection",function(_){return o.updateSelection(_)}),e._UZ(3,"cd-table-actions",2)(4,"cd-rbd-details",3),e.qZA(),e.YNc(5,Ra,2,2,"ng-template",null,4,e.W1O),e.YNc(7,Pa,8,5,"ng-template",null,5,e.W1O),e.YNc(9,Ia,1,1,"ng-template",null,6,e.W1O),e.YNc(11,Na,13,3,"ng-template",null,7,e.W1O),e.YNc(13,va,1,1,"ng-template",null,8,e.W1O),e.YNc(15,xa,5,5,"ng-template",null,9,e.W1O),e.YNc(17,Za,5,1,"ng-template",null,10,e.W1O),e.YNc(19,Ka,3,2,"ng-template",null,11,e.W1O),e.YNc(21,qa,1,1,"ng-template",null,12,e.W1O)),2&t&&(e.xp6(1),e.Q6J("data",o.images)("columns",o.columns)("searchableObjects",!0)("serverSide",!0)("count",o.count)("hasDetails",!0)("status",o.tableStatus)("maxLimit",25)("autoReload",-1),e.xp6(2),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions),e.xp6(1),e.Q6J("selection",o.expandedRow))},dependencies:[c.mk,c.sg,c.O5,F._L,E_.O,it.G,W.a,Me.K,na,tt,Be.N],styles:[".warn[_ngcontent-%COMP%]{color:#d48200}"]}),n})();function za(n,s){1&n&&e._UZ(0,"input",19)}function Ja(n,s){1&n&&(e.TgZ(0,"option",23),e.SDv(1,24),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Ya(n,s){1&n&&(e.TgZ(0,"option",23),e.SDv(1,25),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Va(n,s){1&n&&(e.TgZ(0,"option",23),e.SDv(1,26),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Ua(n,s){if(1&n&&(e.TgZ(0,"option",27),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t.pool_name),e.xp6(1),e.Oqu(t.pool_name)}}function ja(n,s){if(1&n&&(e.TgZ(0,"select",20),e.YNc(1,Ja,2,1,"option",21),e.YNc(2,Ya,2,1,"option",21),e.YNc(3,Va,2,1,"option",21),e.YNc(4,Ua,2,2,"option",22),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",null===t.pools),e.xp6(1),e.Q6J("ngIf",null!==t.pools&&0===t.pools.length),e.xp6(1),e.Q6J("ngIf",null!==t.pools&&t.pools.length>0),e.xp6(1),e.Q6J("ngForOf",t.pools)}}function Wa(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,29),e.qZA())}function er(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,30),e.qZA())}function tr(n,s){1&n&&(e.TgZ(0,"span",28),e.SDv(1,31),e.qZA())}let or=(()=>{class n{constructor(t,o,i,_,a,l){this.activeModal=t,this.actionLabels=o,this.authStorageService=i,this.notificationService=_,this.poolService=a,this.rbdService=l,this.pools=null,this.editing=!1,this.poolPermission=this.authStorageService.getPermissions().pool,this.createForm()}createForm(){this.namespaceForm=new Z.d({pool:new r.p4(""),namespace:new r.p4("")},this.validator(),this.asyncValidator())}validator(){return t=>{const o=t.get("pool"),i=t.get("namespace");let _=null;o.value||(_={required:!0}),o.setErrors(_);let a=null;return i.value||(a={required:!0}),i.setErrors(a),null}}asyncValidator(){return t=>new Promise(o=>{const i=t.get("pool"),_=t.get("namespace");this.rbdService.listNamespaces(i.value).subscribe(a=>{if(a.some(l=>l.namespace===_.value)){const l={namespaceExists:!0};_.setErrors(l),o(l)}else o(null)})})}ngOnInit(){this.onSubmit=new Gt.xQ,this.poolPermission.read&&this.poolService.list(["pool_name","type","application_metadata"]).then(t=>{const o=[];for(const i of t)this.rbdService.isRBDPool(i)&&"replicated"===i.type&&o.push(i);if(this.pools=o,1===this.pools.length){const i=this.pools[0].pool_name;this.namespaceForm.get("pool").setValue(i)}})}submit(){const t=this.namespaceForm.getValue("pool"),o=this.namespaceForm.getValue("namespace"),i=new E.R;i.name="rbd/namespace/create",i.metadata={pool:t,namespace:o},this.rbdService.createNamespace(t,o).toPromise().then(()=>{this.notificationService.show(nt.k.success,"Created namespace '" + t + "/" + o + "'"),this.activeModal.close(),this.onSubmit.next()}).catch(()=>{this.namespaceForm.setErrors({cdSubmitButton:!0})})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(F.Kz),e.Y36(L.p4),e.Y36(oe.j),e.Y36(ve.g),e.Y36(Ve.q),e.Y36(H))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-namespace-form-modal"]],decls:23,vars:9,consts:function(){let s,t,o,i,_,a,l,d,g;return s="Create Namespace",t="Pool",o="Name",i="Loading...",_="-- No rbd pools available --",a="-- Select a pool --",l="This field is required.",d="This field is required.",g="Namespace already exists.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","namespaceForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","pool",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],["class","form-control","type","text","placeholder","Pool name...","id","pool","name","pool","formControlName","pool",4,"ngIf"],["id","pool","name","pool","class","form-select","formControlName","pool",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],["for","namespace",1,"cd-col-form-label","required"],o,["type","text","placeholder","Namespace name...","id","namespace","name","namespace","formControlName","namespace","autofocus","",1,"form-control"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],["type","text","placeholder","Pool name...","id","pool","name","pool","formControlName","pool",1,"form-control"],["id","pool","name","pool","formControlName","pool",1,"form-select"],[3,"ngValue",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"ngValue"],i,_,a,[3,"value"],[1,"invalid-feedback"],l,d,g]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"div",7)(8,"label",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"div",10),e.YNc(11,za,1,0,"input",11),e.YNc(12,ja,5,4,"select",12),e.YNc(13,Wa,2,0,"span",13),e.qZA()(),e.TgZ(14,"div",7)(15,"label",14),e.SDv(16,15),e.qZA(),e.TgZ(17,"div",10),e._UZ(18,"input",16),e.YNc(19,er,2,0,"span",13),e.YNc(20,tr,2,0,"span",13),e.qZA()()(),e.TgZ(21,"div",17)(22,"cd-form-button-panel",18),e.NdJ("submitActionEvent",function(){return o.submit()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.namespaceForm),e.xp6(7),e.Q6J("ngIf",!o.poolPermission.read),e.xp6(1),e.Q6J("ngIf",o.poolPermission.read),e.xp6(1),e.Q6J("ngIf",o.namespaceForm.showError("pool",i,"required")),e.xp6(6),e.Q6J("ngIf",o.namespaceForm.showError("namespace",i,"required")),e.xp6(1),e.Q6J("ngIf",o.namespaceForm.showError("namespace",i,"namespaceExists")),e.xp6(2),e.Q6J("form",o.namespaceForm)("submitText",o.actionLabels.CREATE)}},dependencies:[c.sg,c.O5,r._Y,r.YN,r.Kr,r.Fj,r.EJ,r.JJ,r.JL,r.sg,r.u,f.z,A.p,Oe.U,M.o,B.b,K.P,J.V]}),n})(),nr=(()=>{class n{constructor(t,o,i,_,a,l){this.authStorageService=t,this.rbdService=o,this.poolService=i,this.modalService=_,this.notificationService=a,this.actionLabels=l,this.selection=new Ee.r,this.permission=this.authStorageService.getPermissions().rbdImage,this.tableActions=[{permission:"create",icon:T.P.add,click:()=>this.createModal(),name:this.actionLabels.CREATE},{permission:"delete",icon:T.P.destroy,click:()=>this.deleteModal(),name:this.actionLabels.DELETE,disable:()=>this.getDeleteDisableDesc()}]}ngOnInit(){this.columns=[{name:"Namespace",prop:"namespace",flexGrow:1},{name:"Pool",prop:"pool",flexGrow:1},{name:"Total images",prop:"num_images",flexGrow:1}],this.refresh()}refresh(){this.poolService.list(["pool_name","type","application_metadata"]).then(t=>{t=t.filter(i=>this.rbdService.isRBDPool(i)&&"replicated"===i.type);const o=[];t.forEach(i=>{o.push(this.rbdService.listNamespaces(i.pool_name))}),o.length>0?(0,ce.D)(o).subscribe(i=>{const _=[];for(let a=0;a<i.length;a++){const d=t[a].pool_name;i[a].forEach(g=>{_.push({id:`${d}/${g.namespace}`,pool:d,namespace:g.namespace,num_images:g.num_images})})}this.namespaces=_}):this.namespaces=[]})}updateSelection(t){this.selection=t}createModal(){this.modalRef=this.modalService.show(or),this.modalRef.componentInstance.onSubmit.subscribe(()=>{this.refresh()})}deleteModal(){const t=this.selection.first().pool,o=this.selection.first().namespace;this.modalRef=this.modalService.show(ue.M,{itemDescription:"Namespace",itemNames:[`${t}/${o}`],submitAction:()=>this.rbdService.deleteNamespace(t,o).subscribe(()=>{this.notificationService.show(nt.k.success,"Deleted namespace '" + t + "/" + o + "'"),this.modalRef.close(),this.refresh()},()=>{this.modalRef.componentInstance.stopLoadingSpinner()})})}getDeleteDisableDesc(){return this.selection.first()?.num_images>0?"Namespace contains images":!this.selection?.first()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(oe.j),e.Y36(H),e.Y36(Ve.q),e.Y36(pe.Z),e.Y36(ve.g),e.Y36(L.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-namespace-list"]],features:[e._Bn([de.j])],decls:4,vars:5,consts:[["columnMode","flex","identifier","id","forceIdentifier","true","selectionType","single",3,"data","columns","fetchData","updateSelection"],[1,"table-actions","btn-toolbar"],[1,"btn-group",3,"permission","selection","tableActions"]],template:function(t,o){1&t&&(e._UZ(0,"cd-rbd-tabs"),e.TgZ(1,"cd-table",0),e.NdJ("fetchData",function(){return o.refresh()})("updateSelection",function(_){return o.updateSelection(_)}),e.TgZ(2,"div",1),e._UZ(3,"cd-table-actions",2),e.qZA()()),2&t&&(e.xp6(1),e.Q6J("data",o.namespaces)("columns",o.columns),e.xp6(2),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions))},dependencies:[W.a,Me.K,tt]}),n})(),ir=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-performance"]],decls:2,vars:2,consts:function(){let s;return s="RBD overview",[["title",s,"uid","41FrpeUiz","grafanaStyle","two",3,"grafanaPath","type"]]},template:function(t,o){1&t&&e._UZ(0,"cd-rbd-tabs")(1,"cd-grafana",0),2&t&&(e.xp6(1),e.Q6J("grafanaPath","rbd-overview?")("type","metrics"))},dependencies:[vt.F,tt]}),n})();var sr=p(91801);function _r(n,s){1&n&&e._UZ(0,"input",15)}function ar(n,s){if(1&n&&(e.TgZ(0,"option",20),e._uU(1),e.qZA()),2&n){const t=s.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function rr(n,s){if(1&n&&(e.TgZ(0,"select",16)(1,"option",17),e.SDv(2,18),e.qZA(),e.YNc(3,ar,2,2,"option",19),e.qZA()),2&n){const t=e.oxw();e.xp6(3),e.Q6J("ngForOf",t.pools)}}let lr=(()=>{class n{constructor(t,o,i,_,a,l,d){this.authStorageService=t,this.rbdService=o,this.activeModal=i,this.actionLabels=_,this.fb=a,this.poolService=l,this.taskWrapper=d,this.poolPermission=this.authStorageService.getPermissions().pool}createForm(){this.purgeForm=this.fb.group({poolName:""})}ngOnInit(){this.poolPermission.read&&this.poolService.list(["pool_name","application_metadata"]).then(t=>{this.pools=t.filter(o=>o.application_metadata.includes("rbd")).map(o=>o.pool_name)}),this.createForm()}purge(){const t=this.purgeForm.getValue("poolName")||"";this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/trash/purge",{pool_name:t}),call:this.rbdService.purgeTrash(t)}).subscribe({error:()=>{this.purgeForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(oe.j),e.Y36(H),e.Y36(F.Kz),e.Y36(L.p4),e.Y36(pt.O),e.Y36(Ve.q),e.Y36(u.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-trash-purge-modal"]],decls:18,vars:6,consts:function(){let s,t,o,i,_;return s="Purge Trash",t="To purge, select\xA0 " + "[\ufffd#9\ufffd|\ufffd#10\ufffd]" + "All" + "[\ufffd/#9\ufffd|\ufffd/#10\ufffd]" + "\xA0 or one pool and click\xA0 " + "[\ufffd#9\ufffd|\ufffd#10\ufffd]" + "Purge" + "[\ufffd/#9\ufffd|\ufffd/#10\ufffd]" + ".\xA0",t=e.Zx4(t),o="Pool:",i="Pool name...",_="All",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","purgeForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],t,[1,"form-group"],[1,"col-form-label","mx-auto"],o,["class","form-control","type","text","placeholder",i,"formControlName","poolName",4,"ngIf"],["id","poolName","name","poolName","class","form-control","formControlName","poolName",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],["type","text","placeholder",i,"formControlName","poolName",1,"form-control"],["id","poolName","name","poolName","formControlName","poolName",1,"form-control"],["value",""],_,[3,"value",4,"ngFor","ngForOf"],[3,"value"]]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p"),e.tHW(8,7),e._UZ(9,"kbd")(10,"kbd"),e.N_p(),e.qZA(),e.TgZ(11,"div",8)(12,"label",9),e.SDv(13,10),e.qZA(),e.YNc(14,_r,1,0,"input",11),e.YNc(15,rr,4,1,"select",12),e.qZA()(),e.TgZ(16,"div",13)(17,"cd-form-button-panel",14),e.NdJ("submitActionEvent",function(){return o.purge()}),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.purgeForm),e.xp6(10),e.Q6J("ngIf",!o.poolPermission.read),e.xp6(1),e.Q6J("ngIf",o.poolPermission.read),e.xp6(2),e.Q6J("form",o.purgeForm)("submitText",o.actionLabels.PURGE))},dependencies:[c.sg,c.O5,r._Y,r.YN,r.Kr,r.Fj,r.EJ,r.JJ,r.JL,r.sg,r.u,f.z,A.p,M.o,B.b,K.P,J.V]}),n})();function cr(n,s){1&n&&(e.TgZ(0,"span",15),e.SDv(1,16),e.qZA())}let dr=(()=>{class n{constructor(t,o,i,_,a){this.rbdService=t,this.activeModal=o,this.actionLabels=i,this.fb=_,this.taskWrapper=a}ngOnInit(){this.imageSpec=new v.N(this.poolName,this.namespace,this.imageName).toString(),this.restoreForm=this.fb.group({name:this.imageName})}restore(){const t=this.restoreForm.getValue("name"),o=new v.N(this.poolName,this.namespace,this.imageId);this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/trash/restore",{image_id_spec:o.toString(),new_image_name:t}),call:this.rbdService.restoreTrash(o,t)}).subscribe({error:()=>{this.restoreForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(H),e.Y36(F.Kz),e.Y36(L.p4),e.Y36(pt.O),e.Y36(u.P))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-trash-restore-modal"]],decls:18,vars:7,consts:function(){let s,t,o,i;return s="Restore Image",t="To restore\xA0 " + "[\ufffd#9\ufffd|\ufffd#10\ufffd]" + "" + "\ufffd0\ufffd" + "@" + "\ufffd1\ufffd" + "" + "[\ufffd/#9\ufffd|\ufffd/#10\ufffd]" + ",\xA0 type the image's new name and click\xA0 " + "[\ufffd#9\ufffd|\ufffd#10\ufffd]" + "Restore" + "[\ufffd/#9\ufffd|\ufffd/#10\ufffd]" + ".",t=e.Zx4(t),o="New Name",i="This field is required.",[[3,"modalRef"],[1,"modal-title"],s,[1,"modal-content"],["name","restoreForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],t,[1,"form-group"],["for","name",1,"col-form-label"],o,["type","text","name","name","id","name","autocomplete","off","formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],i]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p"),e.tHW(8,7),e._UZ(9,"kbd")(10,"kbd"),e.N_p(),e.qZA(),e.TgZ(11,"div",8)(12,"label",9),e.SDv(13,10),e.qZA(),e._UZ(14,"input",11),e.YNc(15,cr,2,0,"span",12),e.qZA()(),e.TgZ(16,"div",13)(17,"cd-form-button-panel",14),e.NdJ("submitActionEvent",function(){return o.restore()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.restoreForm),e.xp6(6),e.pQV(o.imageSpec)(o.imageId),e.QtT(8),e.xp6(5),e.Q6J("ngIf",o.restoreForm.showError("name",i,"required")),e.xp6(2),e.Q6J("form",o.restoreForm)("submitText",o.actionLabels.RESTORE)}},dependencies:[c.O5,r._Y,r.Fj,r.JJ,r.JL,r.sg,r.u,f.z,A.p,Oe.U,M.o,B.b,K.P,J.V]}),n})();const pr=["expiresTpl"],ur=["deleteTpl"],mr=function(n){return[n]};function gr(n,s){if(1&n){const t=e.EpF();e.TgZ(0,"button",6),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.purgeModal())}),e._UZ(1,"i",7),e.ynx(2),e.SDv(3,8),e.BQk(),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("disabled",t.disablePurgeBtn),e.xp6(1),e.Q6J("ngClass",e.VKq(2,mr,t.icons.destroy))}}function Tr(n,s){1&n&&(e.ynx(0),e.SDv(1,10),e.BQk())}function fr(n,s){1&n&&(e.ynx(0),e.SDv(1,11),e.BQk())}function Cr(n,s){if(1&n&&(e.YNc(0,Tr,2,0,"ng-container",9),e.YNc(1,fr,2,0,"ng-container",9),e._uU(2),e.ALo(3,"cdDate")),2&n){const t=s.row,o=s.value;e.Q6J("ngIf",t.cdIsExpired),e.xp6(1),e.Q6J("ngIf",!t.cdIsExpired),e.xp6(1),e.hij(" ",e.lcZ(3,3,o),"\n")}}function Sr(n,s){if(1&n&&(e.TgZ(0,"p",13)(1,"strong"),e.ynx(2),e.SDv(3,14),e.ALo(4,"cdDate"),e.BQk(),e.qZA()()),2&n){const t=e.oxw().expiresAt;e.xp6(4),e.pQV(e.lcZ(4,1,t)),e.QtT(3)}}function Rr(n,s){1&n&&e.YNc(0,Sr,5,3,"p",12),2&n&&e.Q6J("ngIf",!s.isExpired)}let Er=(()=>{class n{constructor(t,o,i,_,a,l,d){this.authStorageService=t,this.rbdService=o,this.modalService=i,this.cdDatePipe=_,this.taskListService=a,this.taskWrapper=l,this.actionLabels=d,this.icons=T.P,this.executingTasks=[],this.selection=new Ee.r,this.tableStatus=new se.E,this.disablePurgeBtn=!0,this.permission=this.authStorageService.getPermissions().rbdImage,this.tableActions=[{permission:"update",icon:T.P.undo,click:()=>this.restoreModal(),name:this.actionLabels.RESTORE},{permission:"delete",icon:T.P.destroy,click:()=>this.deleteModal(),name:this.actionLabels.DELETE}]}ngOnInit(){this.columns=[{name:"ID",prop:"id",flexGrow:1,cellTransformation:Le.e.executing},{name:"Name",prop:"name",flexGrow:1},{name:"Pool",prop:"pool_name",flexGrow:1},{name:"Namespace",prop:"namespace",flexGrow:1},{name:"Status",prop:"deferment_end_time",flexGrow:1,cellTemplate:this.expiresTpl},{name:"Deleted At",prop:"deletion_time",flexGrow:1,pipe:this.cdDatePipe}],this.taskListService.init(()=>this.rbdService.listTrash(),i=>this.prepareResponse(i),i=>this.images=i,()=>this.onFetchError(),i=>["rbd/trash/remove","rbd/trash/restore"].includes(i.name),(i,_)=>new v.N(i.pool_name,i.namespace,i.id).toString()===_.metadata.image_id_spec,void 0)}prepareResponse(t){let o=[];const i={};let _;if(t.forEach(a=>{C().isUndefined(i[a.status])&&(i[a.status]=[]),i[a.status].push(a.pool_name),o=o.concat(a.value),this.disablePurgeBtn=!o.length}),i[3]?_=3:i[1]?_=1:i[2]&&(_=2),_){const a=(i[_].length>1?"pools ":"pool ")+i[_].join();this.tableStatus=new se.E(_,a)}else this.tableStatus=new se.E;return o.forEach(a=>{a.cdIsExpired=he()().isAfter(a.deferment_end_time)}),o}onFetchError(){this.table.reset(),this.tableStatus=new se.E(sr.T.ValueException)}updateSelection(t){this.selection=t}restoreModal(){const t={poolName:this.selection.first().pool_name,namespace:this.selection.first().namespace,imageName:this.selection.first().name,imageId:this.selection.first().id};this.modalRef=this.modalService.show(dr,t)}deleteModal(){const t=this.selection.first().pool_name,o=this.selection.first().namespace,i=this.selection.first().id,_=this.selection.first().deferment_end_time,a=he()().isAfter(_),l=new v.N(t,o,i);this.modalRef=this.modalService.show(ue.M,{itemDescription:"RBD",itemNames:[l],bodyTemplate:this.deleteTpl,bodyContext:{expiresAt:_,isExpired:a},submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new E.R("rbd/trash/remove",{image_id_spec:l.toString()}),call:this.rbdService.removeTrash(l,!0)})})}purgeModal(){this.modalService.show(lr)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(oe.j),e.Y36(H),e.Y36(pe.Z),e.Y36(Be.N),e.Y36(de.j),e.Y36(u.P),e.Y36(L.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rbd-trash-list"]],viewQuery:function(t,o){if(1&t&&(e.Gf(W.a,7),e.Gf(pr,7),e.Gf(ur,7)),2&t){let i;e.iGM(i=e.CRH())&&(o.table=i.first),e.iGM(i=e.CRH())&&(o.expiresTpl=i.first),e.iGM(i=e.CRH())&&(o.deleteTpl=i.first)}},features:[e._Bn([de.j])],decls:9,vars:8,consts:function(){let s,t,o,i;return s="Purge Trash",t="Expired at",o="Protected until",i="This image is protected until " + "\ufffd0\ufffd" + ".",[["columnMode","flex","identifier","id","forceIdentifier","true","selectionType","single",3,"data","columns","status","autoReload","fetchData","updateSelection"],[1,"table-actions","btn-toolbar"],[1,"btn-group",3,"permission","selection","tableActions"],["class","btn btn-light","type","button",3,"disabled","click",4,"ngIf"],["expiresTpl",""],["deleteTpl",""],["type","button",1,"btn","btn-light",3,"disabled","click"],["aria-hidden","true",3,"ngClass"],s,[4,"ngIf"],t,o,["class","text-danger",4,"ngIf"],[1,"text-danger"],i]},template:function(t,o){1&t&&(e._UZ(0,"cd-rbd-tabs"),e.TgZ(1,"cd-table",0),e.NdJ("fetchData",function(){return o.taskListService.fetch()})("updateSelection",function(_){return o.updateSelection(_)}),e.TgZ(2,"div",1),e._UZ(3,"cd-table-actions",2),e.YNc(4,gr,4,4,"button",3),e.qZA()(),e.YNc(5,Cr,4,5,"ng-template",null,4,e.W1O),e.YNc(7,Rr,1,1,"ng-template",null,5,e.W1O)),2&t&&(e.xp6(1),e.Q6J("data",o.images)("columns",o.columns)("status",o.tableStatus)("autoReload",-1),e.xp6(2),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions),e.xp6(1),e.Q6J("ngIf",o.permission.delete))},dependencies:[c.mk,c.O5,W.a,Me.K,M.o,tt,Be.N]}),n})(),yt=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[c.ez,si,r.u5,r.UX,F.Oz,F.dT,F.HK,Ne.b,Pe.m,m.Bz,ne.xc]}),n})();const Mr=[{path:"",redirectTo:"rbd",pathMatch:"full"},{path:"rbd",canActivate:[j.T,re.P],data:{moduleStatusGuardConfig:{uiApiPath:"block/rbd",redirectTo:"error",header:"No RBD pools available",button_name:"Create RBD pool",button_route:"/pool/create"},breadcrumbs:"Images"},children:[{path:"",component:Qa},{path:"namespaces",component:nr,data:{breadcrumbs:"Namespaces"}},{path:"trash",component:Er,data:{breadcrumbs:"Trash"}},{path:"performance",component:ir,data:{breadcrumbs:"Overall Performance"}},{path:L.MQ.CREATE,component:$e,data:{breadcrumbs:L.Qn.CREATE}},{path:`${L.MQ.EDIT}/:image_spec`,component:$e,data:{breadcrumbs:L.Qn.EDIT}},{path:`${L.MQ.CLONE}/:image_spec/:snap`,component:$e,data:{breadcrumbs:L.Qn.CLONE}},{path:`${L.MQ.COPY}/:image_spec`,component:$e,data:{breadcrumbs:L.Qn.COPY}},{path:`${L.MQ.COPY}/:image_spec/:snap`,component:$e,data:{breadcrumbs:L.Qn.COPY}}]},{path:"mirroring",component:_s,canActivate:[j.T,re.P],data:{moduleStatusGuardConfig:{uiApiPath:"block/mirroring",redirectTo:"error",header:"RBD mirroring is not configured",button_name:"Configure RBD Mirroring",button_title:"This will create rbd-mirror service and a replicated RBD pool",component:"RBD Mirroring",uiConfig:!0},breadcrumbs:"Mirroring"},children:[{path:`${L.MQ.EDIT}/:pool_name`,component:cs,outlet:"modal"}]},{path:"iscsi",canActivate:[j.T],data:{breadcrumbs:"iSCSI"},children:[{path:"",redirectTo:"overview",pathMatch:"full"},{path:"overview",component:ii,data:{breadcrumbs:"Overview"}},{path:"targets",data:{breadcrumbs:"Targets"},children:[{path:"",component:Kn},{path:L.MQ.CREATE,component:Ct,data:{breadcrumbs:L.Qn.CREATE}},{path:`${L.MQ.EDIT}/:target_iqn`,component:Ct,data:{breadcrumbs:L.Qn.EDIT}}]}]}];let Or=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[yt,m.Bz.forChild(Mr)]}),n})()},60950:(mt,Ae,p)=>{p.d(Ae,{d:()=>z});var c=p(64537),r=p(20092),m=p(23815),ne=p.n(m),F=p(7357),Ne=p(65862),L=p(95463),j=p(30633),re=p(28211),Pe=p(34089),le=p(88692),C=p(18372),ce=p(20044);let D=(()=>{class h{constructor(u,f,A,M){this.elementRef=u,this.control=f,this.dimlessBinaryPerSecondPipe=A,this.formatter=M,this.ngModelChange=new c.vpe,this.el=this.elementRef.nativeElement}ngOnInit(){this.setValue(this.el.value),this.ngDataReady&&this.ngDataReady.subscribe(()=>this.setValue(this.el.value))}setValue(u){/^[\d.]+$/.test(u)&&(u+=this.defaultUnit||"m");const f=this.formatter.toBytes(u,0),A=this.round(f);this.el.value=this.dimlessBinaryPerSecondPipe.transform(A),null!==f?(this.ngModelChange.emit(this.el.value),this.control.control.setValue(this.el.value)):(this.ngModelChange.emit(null),this.control.control.setValue(null))}round(u){if(null!==u&&0!==u){if(!ne().isUndefined(this.minBytes)&&u<this.minBytes)return this.minBytes;if(!ne().isUndefined(this.maxBytes)&&u>this.maxBytes)return this.maxBytes;if(!ne().isUndefined(this.roundPower)){const f=Math.round(Math.log(u)/Math.log(this.roundPower));return Math.pow(this.roundPower,f)}}return u}onBlur(u){this.setValue(u)}}return h.\u0275fac=function(u){return new(u||h)(c.Y36(c.SBq),c.Y36(r.a5),c.Y36(ce.O),c.Y36(re.H))},h.\u0275dir=c.lG2({type:h,selectors:[["","cdDimlessBinaryPerSecond",""]],hostBindings:function(u,f){1&u&&c.NdJ("blur",function(M){return f.onBlur(M.target.value)})},inputs:{ngDataReady:"ngDataReady",minBytes:"minBytes",maxBytes:"maxBytes",roundPower:"roundPower",defaultUnit:"defaultUnit"},outputs:{ngModelChange:"ngModelChange"}}),h})(),ie=(()=>{class h{constructor(u,f){this.control=u,this.formatter=f}setValue(u){const f=this.formatter.toMilliseconds(u);this.control.control.setValue(`${f} ms`)}ngOnInit(){this.setValue(this.control.value),this.ngDataReady&&this.ngDataReady.subscribe(()=>this.setValue(this.control.value))}onUpdate(u){this.setValue(u)}}return h.\u0275fac=function(u){return new(u||h)(c.Y36(r.a5),c.Y36(re.H))},h.\u0275dir=c.lG2({type:h,selectors:[["","cdMilliseconds",""]],hostBindings:function(u,f){1&u&&c.NdJ("blur",function(M){return f.onUpdate(M.target.value)})},inputs:{ngDataReady:"ngDataReady"}}),h})(),V=(()=>{class h{constructor(u,f){this.formatter=u,this.ngControl=f}setValue(u){const f=this.formatter.toIops(u);this.ngControl.control.setValue(`${f} IOPS`)}ngOnInit(){this.setValue(this.ngControl.value),this.ngDataReady&&this.ngDataReady.subscribe(()=>this.setValue(this.ngControl.value))}onUpdate(u){this.setValue(u)}}return h.\u0275fac=function(u){return new(u||h)(c.Y36(re.H),c.Y36(r.a5))},h.\u0275dir=c.lG2({type:h,selectors:[["","cdIops",""]],hostBindings:function(u,f){1&u&&c.NdJ("blur",function(M){return f.onUpdate(M.target.value)})},inputs:{ngDataReady:"ngDataReady"}}),h})();var e=p(87925),X=p(94276),Fe=p(56310),De=p(41582);function v(h,E){if(1&h&&(c.ynx(0),c._UZ(1,"input",17),c.BQk()),2&h){const u=c.oxw().$implicit,f=c.oxw(2);c.xp6(1),c.Q6J("id",u.name)("name",u.name)("formControlName",u.name)("ngDataReady",f.ngDataReady)}}function be(h,E){if(1&h&&(c.ynx(0),c._UZ(1,"input",18),c.BQk()),2&h){const u=c.oxw().$implicit,f=c.oxw(2);c.xp6(1),c.Q6J("id",u.name)("name",u.name)("formControlName",u.name)("ngDataReady",f.ngDataReady)}}function H(h,E){if(1&h&&(c.ynx(0),c._UZ(1,"input",19),c.BQk()),2&h){const u=c.oxw().$implicit,f=c.oxw(2);c.xp6(1),c.Q6J("id",u.name)("name",u.name)("formControlName",u.name)("ngDataReady",f.ngDataReady)}}function N(h,E){1&h&&(c.TgZ(0,"span",20),c.SDv(1,21),c.qZA())}const x=function(h){return{active:h}},T=function(h){return[h]};function k(h,E){if(1&h){const u=c.EpF();c.TgZ(0,"div",10)(1,"label",11),c._uU(2),c.TgZ(3,"cd-helper"),c._uU(4),c.qZA()(),c.TgZ(5,"div")(6,"div",12),c.ynx(7,13),c.YNc(8,v,2,4,"ng-container",14),c.YNc(9,be,2,4,"ng-container",14),c.YNc(10,H,2,4,"ng-container",14),c.BQk(),c.TgZ(11,"button",15),c.NdJ("click",function(){const M=c.CHM(u).$implicit,B=c.oxw(2);return c.KtG(B.reset(M.name))}),c._UZ(12,"i",7),c.qZA()(),c.YNc(13,N,2,0,"span",16),c.qZA()()}if(2&h){const u=E.$implicit,f=c.oxw().$implicit,A=c.oxw(),M=c.MAs(1);c.xp6(1),c.Q6J("for",u.name),c.xp6(1),c.Oqu(u.displayName),c.xp6(2),c.Oqu(u.description),c.xp6(1),c.Gre("cd-col-form-input ",f.heading,""),c.xp6(2),c.Q6J("ngSwitch",u.type),c.xp6(1),c.Q6J("ngSwitchCase",A.configurationType.milliseconds),c.xp6(1),c.Q6J("ngSwitchCase",A.configurationType.bps),c.xp6(1),c.Q6J("ngSwitchCase",A.configurationType.iops),c.xp6(1),c.Q6J("ngClass",c.VKq(13,x,A.isDisabled(u.name))),c.xp6(1),c.Q6J("ngClass",c.VKq(15,T,A.icons.erase)),c.xp6(1),c.Q6J("ngIf",A.form.showError("configuration."+u.name,M,"min"))}}function Z(h,E){if(1&h){const u=c.EpF();c.TgZ(0,"div",4)(1,"h4",5)(2,"span",6),c.NdJ("click",function(){const M=c.CHM(u).$implicit,B=c.oxw();return c.KtG(B.toggleSectionVisibility(M.class))}),c._uU(3),c._UZ(4,"i",7),c.qZA()(),c.TgZ(5,"div",8),c.YNc(6,k,14,17,"div",9),c.qZA()()}if(2&h){const u=E.$implicit,f=c.oxw();c.xp6(3),c.hij(" ",u.heading," "),c.xp6(1),c.Q6J("ngClass",f.sectionVisibility[u.class]?f.icons.minusCircle:f.icons.addCircle),c.xp6(1),c.Tol(u.class),c.Q6J("hidden",!f.sectionVisibility[u.class]),c.xp6(1),c.Q6J("ngForOf",u.options)}}let z=(()=>{class h{constructor(u,f){this.formatterService=u,this.rbdConfigurationService=f,this.initializeData=new F.t(1),this.changes=new c.vpe,this.icons=Ne.P,this.ngDataReady=new c.vpe,this.configurationType=j.r,this.sectionVisibility={}}ngOnInit(){const u=this.createConfigurationFormGroup();this.form.addControl("configuration",u),u.valueChanges.subscribe(()=>{this.changes.emit(this.getDirtyValues.bind(this))}),this.initializeData&&this.initializeData.subscribe(f=>{this.initialData=f.initialData;const A=f.sourceType;this.rbdConfigurationService.getWritableOptionFields().forEach(M=>{const B=f.initialData.filter(K=>K.name===M.name).pop();B&&B.source===A&&this.form.get(`configuration.${M.name}`).setValue(B.value)}),this.ngDataReady.emit()}),this.rbdConfigurationService.getWritableSections().forEach(f=>this.sectionVisibility[f.class]=!1)}getDirtyValues(u=!1,f){if(u&&!f)throw new Error("ProgrammingError: If local values shall be included, a proper localFieldType argument has to be provided, too");const A={};return this.rbdConfigurationService.getWritableOptionFields().forEach(M=>{const B=this.form.get("configuration").get(M.name);this.initialData&&this.initialData[M.name]===B.value||(B.dirty||u&&B.source===f)&&(A[M.name]=null===B.value?B.value:M.type===j.r.bps?this.formatterService.toBytes(B.value):M.type===j.r.milliseconds?this.formatterService.toMilliseconds(B.value):M.type===j.r.iops?this.formatterService.toIops(B.value):B.value)}),A}createConfigurationFormGroup(){const u=new L.d({});return this.rbdConfigurationService.getWritableOptionFields().forEach(f=>{let A;if(f.type!==j.r.milliseconds&&f.type!==j.r.iops&&f.type!==j.r.bps)throw new Error(`Type ${f.type} is unknown, you may need to add it to RbdConfiguration class`);{let M=0;ne().forEach(this.initialData,B=>{B.name===f.name&&(M=B.value)}),A=new r.p4(M,r.kI.min(0))}u.addControl(f.name,A)}),u}reset(u){const f=this.form.get("configuration").get(u);f.disabled?(f.setValue(f.previousValue||0),f.enable(),f.previousValue||f.markAsPristine()):(f.previousValue=f.value,f.setValue(null),f.markAsDirty(),f.disable())}isDisabled(u){return this.form.get("configuration").get(u).disabled}toggleSectionVisibility(u){this.sectionVisibility[u]=!this.sectionVisibility[u]}}return h.\u0275fac=function(u){return new(u||h)(c.Y36(re.H),c.Y36(Pe.n))},h.\u0275cmp=c.Xpm({type:h,selectors:[["cd-rbd-configuration-form"]],inputs:{form:"form",initializeData:"initializeData"},outputs:{changes:"changes"},decls:5,vars:2,consts:function(){let E,u,f;return E="RBD Configuration",u="Remove the local configuration value. The parent configuration value will be inherited and used instead.",f="The minimum value is 0",[[3,"formGroup"],["cfgFormGroup",""],E,["class","col-12",4,"ngFor","ngForOf"],[1,"col-12"],[1,"cd-header"],[1,"collapsible",3,"click"],["aria-hidden","true",3,"ngClass"],[3,"hidden"],["class","form-group row",4,"ngFor","ngForOf"],[1,"form-group","row"],[1,"cd-col-form-label",3,"for"],[1,"input-group"],[3,"ngSwitch"],[4,"ngSwitchCase"],["type","button","data-toggle","button","title",u,1,"btn","btn-light",3,"ngClass","click"],["class","invalid-feedback",4,"ngIf"],["type","text","cdMilliseconds","",1,"form-control",3,"id","name","formControlName","ngDataReady"],["type","text","defaultUnit","b","cdDimlessBinaryPerSecond","",1,"form-control",3,"id","name","formControlName","ngDataReady"],["type","text","cdIops","",1,"form-control",3,"id","name","formControlName","ngDataReady"],[1,"invalid-feedback"],f]},template:function(u,f){1&u&&(c.TgZ(0,"fieldset",0,1)(2,"legend"),c.SDv(3,2),c.qZA(),c.YNc(4,Z,7,7,"div",3),c.qZA()),2&u&&(c.Q6J("formGroup",f.form.get("configuration")),c.xp6(4),c.Q6J("ngForOf",f.rbdConfigurationService.sections))},dependencies:[le.mk,le.sg,le.O5,le.RF,le.n9,r.Fj,r.JJ,r.JL,r.sg,r.u,C.S,D,ie,V,e.o,X.b,Fe.P,De.V],styles:[".collapsible[_ngcontent-%COMP%]{cursor:pointer;user-select:none}"]}),h})()},42176:(mt,Ae,p)=>{p.d(Ae,{P:()=>H});var c=p(59019),r=p(30633),m=p(64537);let ne=(()=>{class N{transform(T){return{0:"global",1:"pool",2:"image"}[T]}}return N.\u0275fac=function(T){return new(T||N)},N.\u0275pipe=m.Yjl({name:"rbdConfigurationSource",type:N,pure:!0}),N})();var F=p(28211),Ne=p(34089),L=p(88692),j=p(20044),re=p(48537),Pe=p(21766);const le=["configurationSourceTpl"],C=["configurationValueTpl"],ce=["poolConfTable"];function D(N,x){1&N&&(m.TgZ(0,"span"),m.SDv(1,6),m.qZA())}function ie(N,x){1&N&&(m.TgZ(0,"strong"),m.SDv(1,7),m.qZA())}function V(N,x){1&N&&(m.TgZ(0,"strong"),m.SDv(1,8),m.qZA())}function e(N,x){1&N&&(m.TgZ(0,"div",4),m.YNc(1,D,2,0,"span",5),m.YNc(2,ie,2,0,"strong",5),m.YNc(3,V,2,0,"strong",5),m.qZA()),2&N&&(m.Q6J("ngSwitch",x.value),m.xp6(1),m.Q6J("ngSwitchCase","global"),m.xp6(1),m.Q6J("ngSwitchCase","image"),m.xp6(1),m.Q6J("ngSwitchCase","pool"))}function X(N,x){if(1&N&&(m.TgZ(0,"span"),m._uU(1),m.ALo(2,"dimlessBinaryPerSecond"),m.qZA()),2&N){const T=m.oxw().value;m.xp6(1),m.Oqu(m.lcZ(2,1,T))}}function Fe(N,x){if(1&N&&(m.TgZ(0,"span"),m._uU(1),m.ALo(2,"milliseconds"),m.qZA()),2&N){const T=m.oxw().value;m.xp6(1),m.Oqu(m.lcZ(2,1,T))}}function De(N,x){if(1&N&&(m.TgZ(0,"span"),m._uU(1),m.ALo(2,"iops"),m.qZA()),2&N){const T=m.oxw().value;m.xp6(1),m.Oqu(m.lcZ(2,1,T))}}function v(N,x){if(1&N&&(m.TgZ(0,"span"),m._uU(1),m.qZA()),2&N){const T=m.oxw().value;m.xp6(1),m.Oqu(T)}}function be(N,x){if(1&N&&(m.TgZ(0,"div",4),m.YNc(1,X,3,3,"span",5),m.YNc(2,Fe,3,3,"span",5),m.YNc(3,De,3,3,"span",5),m.YNc(4,v,2,1,"span",9),m.qZA()),2&N){const T=x.row,k=m.oxw();m.Q6J("ngSwitch",T.type),m.xp6(1),m.Q6J("ngSwitchCase",k.typeField.bps),m.xp6(1),m.Q6J("ngSwitchCase",k.typeField.milliseconds),m.xp6(1),m.Q6J("ngSwitchCase",k.typeField.iops)}}let H=(()=>{class N{constructor(T,k){this.formatterService=T,this.rbdConfigurationService=k,this.sourceField=r.h,this.typeField=r.r}ngOnInit(){this.poolConfigurationColumns=[{prop:"displayName",name:"Name"},{prop:"description",name:"Description"},{prop:"name",name:"Key"},{prop:"source",name:"Source",cellTemplate:this.configurationSourceTpl,pipe:new ne},{prop:"value",name:"Value",cellTemplate:this.configurationValueTpl}]}ngOnChanges(){this.data&&(this.data=this.data.filter(T=>this.rbdConfigurationService.getOptionFields().map(k=>k.name).includes(T.name)))}}return N.\u0275fac=function(T){return new(T||N)(m.Y36(F.H),m.Y36(Ne.n))},N.\u0275cmp=m.Xpm({type:N,selectors:[["cd-rbd-configuration-table"]],viewQuery:function(T,k){if(1&T&&(m.Gf(le,7),m.Gf(C,7),m.Gf(ce,7)),2&T){let Z;m.iGM(Z=m.CRH())&&(k.configurationSourceTpl=Z.first),m.iGM(Z=m.CRH())&&(k.configurationValueTpl=Z.first),m.iGM(Z=m.CRH())&&(k.poolConfTable=Z.first)}},inputs:{data:"data"},features:[m.TTD],decls:6,vars:2,consts:function(){let x,T,k;return x="Global",T="Image",k="Pool",[["identifier","name",3,"data","columns"],["poolConfTable",""],["configurationSourceTpl",""],["configurationValueTpl",""],[3,"ngSwitch"],[4,"ngSwitchCase"],x,T,k,[4,"ngSwitchDefault"]]},template:function(T,k){1&T&&(m._UZ(0,"cd-table",0,1),m.YNc(2,e,4,4,"ng-template",null,2,m.W1O),m.YNc(4,be,5,4,"ng-template",null,3,m.W1O)),2&T&&m.Q6J("data",k.data)("columns",k.poolConfigurationColumns)},dependencies:[L.RF,L.n9,L.ED,c.a,j.O,re.J,Pe.A]}),N})()}}]); \ No newline at end of file
diff --git a/src/pybind/mgr/dashboard/frontend/dist/en-US/3rdpartylicenses.txt b/src/pybind/mgr/dashboard/frontend/dist/en-US/3rdpartylicenses.txt
index 0815759ea..1be49a85b 100644
--- a/src/pybind/mgr/dashboard/frontend/dist/en-US/3rdpartylicenses.txt
+++ b/src/pybind/mgr/dashboard/frontend/dist/en-US/3rdpartylicenses.txt
@@ -323,6 +323,19 @@ Apache-2.0
limitations under the License.
+@kurkle/color
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2018-2021 Jukka Kurkela
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
@ng-bootstrap/ng-bootstrap
MIT
The MIT License (MIT)
@@ -532,6 +545,31 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+buffer
+MIT
+The MIT License (MIT)
+
+Copyright (c) Feross Aboukhadijeh, and other contributors.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
call-bind
MIT
MIT License
@@ -587,7 +625,20 @@ chart.js
MIT
The MIT License (MIT)
-Copyright (c) 2018 Chart.js Contributors
+Copyright (c) 2014-2022 Chart.js Contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+chartjs-adapter-moment
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2019 Chart.js Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
@@ -698,7 +749,7 @@ SOFTWARE.
core-js
MIT
-Copyright (c) 2014-2023 Denis Pushkarev
+Copyright (c) 2014-2024 Denis Pushkarev
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -721,7 +772,7 @@ THE SOFTWARE.
core-js-pure
MIT
-Copyright (c) 2014-2023 Denis Pushkarev
+Copyright (c) 2014-2024 Denis Pushkarev
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -791,6 +842,31 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
+define-data-property
+MIT
+MIT License
+
+Copyright (c) 2023 Jordan Harband
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
detect-browser
MIT
The MIT License (MIT)
@@ -1223,6 +1299,82 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+es-define-property
+MIT
+MIT License
+
+Copyright (c) 2024 Jordan Harband
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+es-errors
+MIT
+MIT License
+
+Copyright (c) 2024 Jordan Harband
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+events
+MIT
+MIT
+
+Copyright Joyent, Inc. and other Node contributors.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to permit
+persons to whom the Software is furnished to do so, subject to the
+following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
+NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
fast-json-patch
MIT
(The MIT License)
@@ -1342,30 +1494,54 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-has
+gopd
MIT
-Copyright (c) 2013 Thiago de Arruda
+MIT License
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
+Copyright (c) 2022 Jordan Harband
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+has-property-descriptors
+MIT
+MIT License
+
+Copyright (c) 2022 Inspect JS
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
has-proto
@@ -1418,6 +1594,31 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+hasown
+MIT
+MIT License
+
+Copyright (c) Jordan Harband and contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
highlight.js
BSD-3-Clause
BSD 3-Clause License
@@ -1524,6 +1725,26 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+inherits
+ISC
+The ISC License
+
+Copyright (c) Isaac Z. Schlueter
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+
+
+
is-plain-object
MIT
The MIT License (MIT)
@@ -2486,6 +2707,57 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+readable-stream
+MIT
+Node.js is licensed for use as follows:
+
+"""
+Copyright Node.js contributors. All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to
+deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+IN THE SOFTWARE.
+"""
+
+This license applies to parts of Node.js originating from the
+https://github.com/joyent/node repository:
+
+"""
+Copyright Joyent, Inc. and other Node contributors. All rights reserved.
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to
+deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+IN THE SOFTWARE.
+"""
+
+
redux
MIT
The MIT License (MIT)
@@ -2872,6 +3144,76 @@ Apache-2.0
+safe-buffer
+MIT
+The MIT License (MIT)
+
+Copyright (c) Feross Aboukhadijeh
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
+sax
+ISC
+The ISC License
+
+Copyright (c) 2010-2022 Isaac Z. Schlueter and Contributors
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+====
+
+`String.fromCodePoint` by Mathias Bynens used according to terms of MIT
+License, as follows:
+
+Copyright (c) 2010-2022 Mathias Bynens <https://mathiasbynens.be/>
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
scheduler
MIT
MIT License
@@ -2910,6 +3252,55 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+set-function-length
+MIT
+MIT License
+
+Copyright (c) Jordan Harband and contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+setimmediate
+MIT
+Copyright (c) 2012 Barnesandnoble.com, llc, Donavon West, and Domenic Denicola
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
side-channel
MIT
MIT License
@@ -2982,6 +3373,82 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+stream-browserify
+MIT
+MIT License
+
+Copyright (c) James Halliday
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+string_decoder
+MIT
+Node.js is licensed for use as follows:
+
+"""
+Copyright Node.js contributors. All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to
+deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+IN THE SOFTWARE.
+"""
+
+This license applies to parts of Node.js originating from the
+https://github.com/joyent/node repository:
+
+"""
+Copyright Joyent, Inc. and other Node contributors. All rights reserved.
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to
+deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+IN THE SOFTWARE.
+"""
+
+
+
swagger-client
Apache-2.0
@@ -3394,17 +3861,64 @@ Apache-2.0
limitations under the License.
+timers-browserify
+MIT
+# timers-browserify
+
+This project uses the [MIT](http://jryans.mit-license.org/) license:
+
+ Copyright © 2012 J. Ryan Stinnett <jryans@gmail.com>
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the “Software”),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+# lib/node
+
+The `lib/node` directory borrows files from joyent/node which uses the following license:
+
+ Copyright Joyent, Inc. and other Node contributors. All rights reserved.
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to
+ deal in the Software without restriction, including without limitation the
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ sell copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ IN THE SOFTWARE.
+
+
toggle-selection
MIT
traverse
MIT
-Copyright 2010 James Halliday (mail@substack.net)
-
-This project is free software released under the MIT/X11 license:
-http://www.opensource.org/licenses/mit-license.php
+MIT License
-Copyright 2010 James Halliday (mail@substack.net)
+Copyright (c) 2010 James Halliday and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -3413,16 +3927,16 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
tslib
@@ -3466,6 +3980,34 @@ SOFTWARE.
+util-deprecate
+MIT
+(The MIT License)
+
+Copyright (c) 2014 Nathan Rajlich <nathan@tootallnate.net>
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+
xml-but-prettier
MIT
The MIT License (MIT)
@@ -3491,6 +4033,54 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+xml2js
+MIT
+Copyright 2010, 2011, 2012, 2013. All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to
+deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+IN THE SOFTWARE.
+
+
+xmlbuilder
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2013 Ozgur Ozcitak
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
zenscroll
Unlicense
This is free and unencumbered software released into the public domain.
diff --git a/src/pybind/mgr/dashboard/frontend/dist/en-US/803.08339784f3bb5d16.js b/src/pybind/mgr/dashboard/frontend/dist/en-US/803.08339784f3bb5d16.js
deleted file mode 100644
index 067c61f3e..000000000
--- a/src/pybind/mgr/dashboard/frontend/dist/en-US/803.08339784f3bb5d16.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkceph_dashboard=self.webpackChunkceph_dashboard||[]).push([[803],{77803:(Dr,t_,c)=>{c.r(t_),c.d(t_,{RgwModule:()=>L_,RoutedRgwModule:()=>Zr});var T=c(88692),a=c(20092),J=c(54247),G=c(51389),o_=c(37496),I=c(79512),j_=c(4268),et=c(44466),_t=c(66265),tt=c(23815),E=c.n(tt),ne=c(35758),Ee=c(95152),n_=c(33394),xe=c(64762),i_=c(35732),ke=c(25917),s_=c(19773),ot=c(96736),a_=c(5304),oe=c(20523),nt=c(93523),e=c(64537);let Q=class{constructor(n,_){this.http=n,this.rgwDaemonService=_,this.url="api/rgw/user"}list(){return this.enumerate().pipe((0,s_.zg)(n=>n.length>0?(0,ne.D)(n.map(_=>this.get(_))):(0,ke.of)([])))}enumerate(){return this.rgwDaemonService.request(n=>this.http.get(this.url,{params:n}))}enumerateEmail(){return this.rgwDaemonService.request(n=>this.http.get(`${this.url}/get_emails`,{params:n}))}get(n){return this.rgwDaemonService.request(_=>this.http.get(`${this.url}/${n}`,{params:_}))}getQuota(n){return this.rgwDaemonService.request(_=>this.http.get(`${this.url}/${n}/quota`,{params:_}))}create(n){return this.rgwDaemonService.request(_=>(E().keys(n).forEach(o=>{_=_.append(o,n[o])}),this.http.post(this.url,null,{params:_})))}update(n,_){return this.rgwDaemonService.request(o=>(E().keys(_).forEach(i=>{o=o.append(i,_[i])}),this.http.put(`${this.url}/${n}`,null,{params:o})))}updateQuota(n,_){return this.rgwDaemonService.request(o=>(E().keys(_).forEach(i=>{o=o.append(i,_[i])}),this.http.put(`${this.url}/${n}/quota`,null,{params:o})))}delete(n){return this.rgwDaemonService.request(_=>this.http.delete(`${this.url}/${n}`,{params:_}))}createSubuser(n,_){return this.rgwDaemonService.request(o=>(E().keys(_).forEach(i=>{o=o.append(i,_[i])}),this.http.post(`${this.url}/${n}/subuser`,null,{params:o})))}deleteSubuser(n,_){return this.rgwDaemonService.request(o=>this.http.delete(`${this.url}/${n}/subuser/${_}`,{params:o}))}addCapability(n,_,o){return this.rgwDaemonService.request(i=>(i=(i=i.append("type",_)).append("perm",o),this.http.post(`${this.url}/${n}/capability`,null,{params:i})))}deleteCapability(n,_,o){return this.rgwDaemonService.request(i=>(i=(i=i.append("type",_)).append("perm",o),this.http.delete(`${this.url}/${n}/capability`,{params:i})))}addS3Key(n,_){return this.rgwDaemonService.request(o=>(o=o.append("key_type","s3"),E().keys(_).forEach(i=>{o=o.append(i,_[i])}),this.http.post(`${this.url}/${n}/key`,null,{params:o})))}deleteS3Key(n,_){return this.rgwDaemonService.request(o=>(o=(o=o.append("key_type","s3")).append("access_key",_),this.http.delete(`${this.url}/${n}/key`,{params:o})))}exists(n){return this.get(n).pipe((0,ot.h)(!0),(0,a_.K)(_=>(E().isFunction(_.preventDefault)&&_.preventDefault(),(0,ke.of)(!1))))}emailExists(n){return n=decodeURIComponent(n),this.enumerateEmail().pipe((0,s_.zg)(_=>{const o=E().indexOf(_,n);return(0,ke.of)(-1!==o)}))}};Q.\u0275fac=function(n){return new(n||Q)(e.LFG(i_.eN),e.LFG(oe.b))},Q.\u0275prov=e.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q=(0,xe.gn)([nt.o,(0,xe.w6)("design:paramtypes",[i_.eN,oe.b])],Q);var $=c(65862),w=c(18001),l_=c(93614),m=c(90070),Y=c(97161);class ze{constructor(){this.kmsProviders=["vault"],this.authMethods=["token","agent"],this.secretEngines=["kv","transit"],this.sse_s3="AES256",this.sse_kms="aws:kms"}}var ie=(()=>{return(t=ie||(ie={})).ENABLED="Enabled",t.DISABLED="Disabled",ie;var t})(),se=(()=>{return(t=se||(se={})).ENABLED="Enabled",t.SUSPENDED="Suspended",se;var t})(),ae=c(62862),j=c(18372),X=c(60312),B=c(30839),k=c(87925),q=c(94276),z=c(56310),H=c(41582);function it(t,n){1&t&&(e.TgZ(0,"option",29),e.SDv(1,30),e.qZA()),2&t&&e.Q6J("ngValue",null)}function st(t,n){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.Oqu(_)}}function at(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,33),e.qZA())}function lt(t,n){if(1&t&&(e.TgZ(0,"div")(1,"div",7)(2,"label",22),e.SDv(3,23),e.qZA(),e.TgZ(4,"div",24)(5,"select",25),e.YNc(6,it,2,1,"option",26),e.YNc(7,st,2,2,"option",27),e.qZA(),e.YNc(8,at,2,0,"span",28),e.qZA()()()),2&t){const _=e.oxw(),o=e.MAs(5);e.xp6(6),e.Q6J("ngIf",null!==_.kmsProviders),e.xp6(1),e.Q6J("ngForOf",_.kmsProviders),e.xp6(1),e.Q6J("ngIf",_.configForm.showError("kms_provider",o,"required"))}}function rt(t,n){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.Oqu(_)}}function ct(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,37),e.qZA())}function dt(t,n){if(1&t&&(e.TgZ(0,"div")(1,"div",7)(2,"label",34),e.SDv(3,35),e.qZA(),e.TgZ(4,"div",24)(5,"select",36),e.YNc(6,rt,2,2,"option",27),e.qZA(),e.YNc(7,ct,2,0,"span",28),e.qZA()()()),2&t){const _=e.oxw(),o=e.MAs(5);e.xp6(6),e.Q6J("ngForOf",_.authMethods),e.xp6(1),e.Q6J("ngIf",_.configForm.showError("auth_method",o,"required"))}}function ut(t,n){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.Oqu(_)}}function gt(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,41),e.qZA())}function Rt(t,n){if(1&t&&(e.TgZ(0,"div")(1,"div",7)(2,"label",38),e.SDv(3,39),e.qZA(),e.TgZ(4,"div",24)(5,"select",40),e.YNc(6,ut,2,2,"option",27),e.qZA(),e.YNc(7,gt,2,0,"span",28),e.qZA()()()),2&t){const _=e.oxw(),o=e.MAs(5);e.xp6(6),e.Q6J("ngForOf",_.secretEngines),e.xp6(1),e.Q6J("ngIf",_.configForm.showError("secret_engine",o,"required"))}}function Tt(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,45),e.qZA())}function Et(t,n){if(1&t&&(e.TgZ(0,"div")(1,"div",7)(2,"label",42),e.SDv(3,43),e.qZA(),e.TgZ(4,"div",24),e._UZ(5,"input",44),e.YNc(6,Tt,2,0,"span",28),e.qZA()()()),2&t){const _=e.oxw(),o=e.MAs(5);e.xp6(6),e.Q6J("ngIf",_.configForm.showError("secret_path",o,"required"))}}function ft(t,n){1&t&&(e.TgZ(0,"div")(1,"div",7)(2,"label",46),e.SDv(3,47),e.qZA(),e.TgZ(4,"div",24),e._UZ(5,"input",48),e.qZA()()())}function pt(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,52),e.qZA())}function mt(t,n){if(1&t&&(e.TgZ(0,"div")(1,"div",7)(2,"label",49),e.SDv(3,50),e.qZA(),e.TgZ(4,"div",24),e._UZ(5,"input",51),e.YNc(6,pt,2,0,"span",28),e.qZA()()()),2&t){const _=e.oxw(),o=e.MAs(5);e.xp6(6),e.Q6J("ngIf",_.configForm.showError("address",o,"required"))}}function Mt(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,57),e.qZA())}function St(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div",7)(1,"label",53)(2,"span"),e.SDv(3,54),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,55),e.qZA()(),e.TgZ(6,"div",24)(7,"input",56),e.NdJ("change",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.fileUpload(i.target.files,"token"))}),e.qZA(),e.YNc(8,Mt,2,0,"span",28),e.qZA()()}if(2&t){const _=e.oxw(),o=e.MAs(5);e.xp6(8),e.Q6J("ngIf",_.configForm.showError("token",o,"required"))}}function Ct(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,62),e.qZA())}function Ot(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div")(1,"div",7)(2,"label",58)(3,"span"),e.SDv(4,59),e.qZA(),e.TgZ(5,"cd-helper"),e.SDv(6,60),e.qZA()(),e.TgZ(7,"div",24)(8,"input",61),e.NdJ("change",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.fileUpload(i.target.files,"ssl_cert"))}),e.qZA(),e.YNc(9,Ct,2,0,"span",28),e.qZA()()()}if(2&t){const _=e.oxw(),o=e.MAs(5);e.xp6(9),e.Q6J("ngIf",_.configForm.showError("ssl_cert",o,"required"))}}function Ft(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,67),e.qZA())}function Pt(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div")(1,"div",7)(2,"label",63)(3,"span"),e.SDv(4,64),e.qZA(),e.TgZ(5,"cd-helper"),e.SDv(6,65),e.qZA()(),e.TgZ(7,"div",24)(8,"input",66),e.NdJ("change",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.fileUpload(i.target.files,"client_cert"))}),e.qZA(),e.YNc(9,Ft,2,0,"span",28),e.qZA()()()}if(2&t){const _=e.oxw(),o=e.MAs(5);e.xp6(9),e.Q6J("ngIf",_.configForm.showError("client_cert",o,"required"))}}function Nt(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,72),e.qZA())}function Gt(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div")(1,"div",7)(2,"label",68)(3,"span"),e.SDv(4,69),e.qZA(),e.TgZ(5,"cd-helper"),e.SDv(6,70),e.qZA()(),e.TgZ(7,"div",24)(8,"input",71),e.NdJ("change",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.fileUpload(i.target.files,"client_key"))}),e.qZA(),e.YNc(9,Nt,2,0,"span",28),e.qZA()()()}if(2&t){const _=e.oxw(),o=e.MAs(5);e.xp6(9),e.Q6J("ngIf",_.configForm.showError("client_key",o,"required"))}}let At=(()=>{class t{constructor(_,o,i,s,l,r,d){this.formBuilder=_,this.activeModal=o,this.router=i,this.actionLabels=s,this.rgwBucketService=l,this.rgwEncryptionModal=r,this.notificationService=d,this.vaultAddress=/^((https?:\/\/)|(www.))(?:([a-zA-Z]+)|(\d+\.\d+.\d+.\d+)):\d{4}$/,this.submitAction=new e.vpe,this.createForm()}ngOnInit(){this.kmsProviders=this.rgwEncryptionModal.kmsProviders,this.authMethods=this.rgwEncryptionModal.authMethods,this.secretEngines=this.rgwEncryptionModal.secretEngines}createForm(){this.configForm=this.formBuilder.group({address:[null,[a.kI.required,m.h.custom("vaultPattern",_=>!E().isEmpty(_)&&!this.vaultAddress.test(_))]],kms_provider:["vault",a.kI.required],encryptionType:["aws:kms",a.kI.required],auth_method:["token",a.kI.required],secret_engine:["kv",a.kI.required],secret_path:["/"],namespace:[null],token:[null,[m.h.requiredIf({auth_method:"token"})]],ssl_cert:[null,m.h.sslCert()],client_cert:[null,m.h.pemCert()],client_key:[null,m.h.sslPrivKey()],kmsEnabled:[{value:!1}],s3Enabled:[{value:!1}]})}fileUpload(_,o){const i=_[0];(new FileReader).addEventListener("load",()=>{const l=this.configForm.get(o);l.setValue(i),l.markAsDirty(),l.markAsTouched(),l.updateValueAndValidity()})}onSubmit(){const _=this.configForm.value;this.rgwBucketService.setEncryptionConfig(_.encryptionType,_.kms_provider,_.auth_method,_.secret_engine,_.secret_path,_.namespace,_.address,_.token,_.owner,_.ssl_cert,_.client_cert,_.client_key).subscribe({next:()=>{this.notificationService.show(w.k.success,"Updated RGW Encryption Configuration values")},error:o=>{this.notificationService.show(w.k.error,o),this.configForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close(),this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate([this.router.url])}})}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(ae.O),e.Y36(G.Kz),e.Y36(J.F0),e.Y36(I.p4),e.Y36(Ee.o),e.Y36(ze),e.Y36(Y.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-config-modal"]],outputs:{submitAction:"submitAction"},features:[e._Bn([ze])],decls:30,vars:14,consts:function(){let n,_,o,i,s,l,r,d,u,R,O,F,b,h,M,L,S,W,C,Z,D,U,v,y,f,P,N,te;return n="Update RGW Encryption Configurations",_="Encryption Type",o="SSE-S3 Encryption",i="SSE-KMS Encryption",s="Key management service provider",l="-- Select a provider --",r="This field is required.",d="Authentication Method",u="This field is required.",R="Secret Engine",O="This field is required.",F="Secret Path ",b="This field is required.",h="Namespace ",M="Vault Address ",L="This field is required.",S="Token",W=" The token authentication method expects a Vault token to be present in a plaintext file. ",C="This field is required.",Z="CA Certificate",D="The SSL certificate in PEM format.",U="This field is required.",v="Client Certificate",y="The Client certificate in PEM format.",f="This field is required.",P="Client Private Key",N="The Client Private Key in PEM format.",te="This field is required.",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["name","configForm",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","encryptionType",1,"cd-col-form-label","required"],_,[1,"col-md-auto","custom-checkbox","form-check-inline","ms-3"],["formControlName","encryptionType","id","s3Enabled","type","radio","name","encryptionType","value","AES256",1,"form-check-input"],["for","s3Enabled",1,"custom-check-label"],o,[1,"col-md-auto","custom-checkbox","form-check-inline"],["formControlName","encryptionType","id","kmsEnabled","name","encryptionType","value","aws:kms","type","radio",1,"form-check-input"],["for","kmsEnabled",1,"custom-check-label"],i,[4,"ngIf"],["class","form-group row",4,"ngIf"],[1,"modal-footer"],[3,"submitText","form","submitActionEvent"],["for","kms_provider",1,"cd-col-form-label","required"],s,[1,"cd-col-form-input"],["id","kms_provider","name","kms_provider","formControlName","kms_provider",1,"form-select"],[3,"ngValue",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],[3,"ngValue"],l,[3,"value"],[1,"invalid-feedback"],r,["for","auth_method",1,"cd-col-form-label","required"],d,["id","auth_method","name","auth_method","formControlName","auth_method",1,"form-select"],u,["for","secret_engine",1,"cd-col-form-label","required"],R,["id","secret_engine","name","secret_engine","formControlName","secret_engine",1,"form-select"],O,["for","secret_path",1,"cd-col-form-label"],F,["id","secret_path","name","secret_path","type","text","formControlName","secret_path",1,"form-control"],b,["for","namespace",1,"cd-col-form-label"],h,["id","namespace","name","namespace","type","text","formControlName","namespace",1,"form-control"],["for","address",1,"cd-col-form-label","required"],M,["id","address","name","address","formControlName","address","placeholder","http://127.0.0.1:8000",1,"form-control"],L,["for","token",1,"cd-col-form-label","required"],S,W,["type","file","formControlName","token",3,"change"],C,["for","ssl_cert",1,"cd-col-form-label"],Z,D,["type","file","formControlName","ssl_cert",3,"change"],U,["for","client_cert",1,"cd-col-form-label"],v,y,["type","file","formControlName","client_cert",3,"change"],f,["for","client_key",1,"cd-col-form-label"],P,N,["type","file",3,"change"],te]},template:function(_,o){1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"div",7)(8,"label",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"div",10),e._UZ(11,"input",11),e.TgZ(12,"label",12),e.SDv(13,13),e.qZA()(),e.TgZ(14,"div",14),e._UZ(15,"input",15),e.TgZ(16,"label",16),e.SDv(17,17),e.qZA()()(),e.YNc(18,lt,9,3,"div",18),e.YNc(19,dt,8,2,"div",18),e.YNc(20,Rt,8,2,"div",18),e.YNc(21,Et,7,1,"div",18),e.YNc(22,ft,6,0,"div",18),e.YNc(23,mt,7,1,"div",18),e.YNc(24,St,9,1,"div",19),e.YNc(25,Ot,10,1,"div",18),e.YNc(26,Pt,10,1,"div",18),e.YNc(27,Gt,10,1,"div",18),e.qZA(),e.TgZ(28,"div",20)(29,"cd-form-button-panel",21),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.qZA()()(),e.BQk(),e.qZA()),2&_&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.configForm),e.xp6(14),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","token"===o.configForm.getValue("auth_method")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(2),e.Q6J("submitText",o.actionLabels.SUBMIT)("form",o.configForm))},dependencies:[T.sg,T.O5,j.S,X.z,B.p,k.o,q.b,z.P,H.V,a._Y,a.YN,a.Kr,a.Fj,a.EJ,a._,a.JJ,a.JL,a.sg,a.u]}),t})();var ee=c(63285),fe=c(82945),r_=c(63622),_e=c(10545);function It(t,n){1&t&&(e.TgZ(0,"div",9)(1,"label",42),e.SDv(2,43),e.qZA(),e.TgZ(3,"div",12),e._UZ(4,"input",44),e.qZA()())}function bt(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,46),e.qZA())}function ht(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,47),e.qZA())}function Lt(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,48),e.qZA())}function Wt(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,49),e.qZA())}function $t(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,50),e.qZA())}function Zt(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,51),e.qZA())}function Dt(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,52),e.qZA())}function Ut(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,53),e.qZA())}function vt(t,n){1&t&&(e.TgZ(0,"option",54),e.SDv(1,55),e.qZA()),2&t&&e.Q6J("ngValue",null)}function yt(t,n){1&t&&(e.TgZ(0,"option",54),e.SDv(1,56),e.qZA()),2&t&&e.Q6J("ngValue",null)}function wt(t,n){if(1&t&&(e.TgZ(0,"option",57),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.Oqu(_)}}function xt(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,58),e.qZA())}function kt(t,n){1&t&&(e.TgZ(0,"option",54),e.SDv(1,60),e.qZA()),2&t&&e.Q6J("ngValue",null)}function zt(t,n){1&t&&(e.TgZ(0,"option",54),e.SDv(1,61),e.qZA()),2&t&&e.Q6J("ngValue",null)}function qt(t,n){if(1&t&&(e.TgZ(0,"option",57),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_.name),e.xp6(1),e.Oqu(_.description)}}function Ht(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,62),e.qZA())}function Xt(t,n){if(1&t&&(e.TgZ(0,"select",59),e.YNc(1,kt,2,1,"option",18),e.YNc(2,zt,2,1,"option",18),e.YNc(3,qt,2,2,"option",19),e.qZA(),e.YNc(4,Ht,2,0,"span",14)),2&t){e.oxw();const _=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("ngIf",null===o.placementTargets),e.xp6(1),e.Q6J("ngIf",null!==o.placementTargets),e.xp6(1),e.Q6J("ngForOf",o.placementTargets),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("placement-target",_,"required"))}}function Bt(t,n){1&t&&(e.ynx(0),e._UZ(1,"input",63),e.BQk())}function Qt(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"fieldset")(1,"legend",25),e.SDv(2,64),e.qZA(),e.TgZ(3,"div",9)(4,"div",27)(5,"div",28)(6,"input",65),e.NdJ("change",function(){e.CHM(_);const i=e.oxw(2);return e.KtG(i.setMfaDeleteValidators())}),e.qZA(),e.TgZ(7,"label",66),e.SDv(8,67),e.qZA(),e.TgZ(9,"cd-helper")(10,"span"),e.SDv(11,68),e.qZA()()()()()()}}function Yt(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,77),e.qZA())}function Jt(t,n){if(1&t&&(e.TgZ(0,"div",9)(1,"label",74),e.SDv(2,75),e.qZA(),e.TgZ(3,"div",12),e._UZ(4,"input",76),e.YNc(5,Yt,2,0,"span",14),e.qZA()()),2&t){e.oxw(2);const _=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.bucketForm.showError("mfa-token-serial",_,"required"))}}function Kt(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,81),e.qZA())}function Vt(t,n){if(1&t&&(e.TgZ(0,"div",9)(1,"label",78),e.SDv(2,79),e.qZA(),e.TgZ(3,"div",12),e._UZ(4,"input",80),e.YNc(5,Kt,2,0,"span",14),e.qZA()()),2&t){e.oxw(2);const _=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.bucketForm.showError("mfa-token-pin",_,"required"))}}function jt(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"fieldset")(1,"legend",25),e.SDv(2,69),e.qZA(),e.TgZ(3,"div",9)(4,"div",27)(5,"div",28)(6,"input",70),e.NdJ("change",function(){e.CHM(_);const i=e.oxw(2);return e.KtG(i.setMfaDeleteValidators())}),e.qZA(),e.TgZ(7,"label",71),e.SDv(8,72),e.qZA(),e.TgZ(9,"cd-helper")(10,"span"),e.SDv(11,73),e.qZA()()()()(),e.YNc(12,Jt,6,1,"div",8),e.YNc(13,Vt,6,1,"div",8),e.qZA()}if(2&t){const _=e.oxw(2);e.xp6(12),e.Q6J("ngIf",_.areMfaCredentialsRequired()),e.xp6(1),e.Q6J("ngIf",_.areMfaCredentialsRequired())}}function eo(t,n){1&t&&(e.TgZ(0,"div",9)(1,"label",82),e.SDv(2,83),e.qZA(),e.TgZ(3,"div",12)(4,"select",84)(5,"option",85),e.SDv(6,86),e.qZA(),e.TgZ(7,"option",87),e.SDv(8,88),e.qZA()()()())}function _o(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,93),e.qZA())}function to(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,94),e.qZA())}function oo(t,n){if(1&t&&(e.TgZ(0,"div",9)(1,"label",89),e.ynx(2),e.SDv(3,90),e.BQk(),e.TgZ(4,"cd-helper"),e.SDv(5,91),e.qZA()(),e.TgZ(6,"div",12),e._UZ(7,"input",92),e.YNc(8,_o,2,0,"span",14),e.YNc(9,to,2,0,"span",14),e.qZA()()),2&t){e.oxw();const _=e.MAs(2),o=e.oxw();e.xp6(8),e.Q6J("ngIf",o.bucketForm.showError("lock_retention_period_days",_,"pattern")),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("lock_retention_period_days",_,"lockDays"))}}function no(t,n){1&t&&(e.TgZ(0,"option",54),e.SDv(1,105),e.qZA()),2&t&&e.Q6J("ngValue",null)}function io(t,n){if(1&t&&(e.TgZ(0,"option",57),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.Oqu(_)}}function so(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,106),e.qZA())}function ao(t,n){if(1&t&&(e.TgZ(0,"div")(1,"div",9)(2,"label",102),e.SDv(3,103),e.qZA(),e.TgZ(4,"div",12)(5,"select",104),e.YNc(6,no,2,1,"option",18),e.YNc(7,io,2,2,"option",19),e.qZA(),e.YNc(8,so,2,0,"span",14),e.qZA()()()),2&t){e.oxw(2);const _=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("autofocus",o.editing),e.xp6(1),e.Q6J("ngIf",null!==o.kmsProviders),e.xp6(1),e.Q6J("ngForOf",o.kmsProviders),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("kms_provider",_,"required"))}}function lo(t,n){1&t&&(e.TgZ(0,"span",45),e.SDv(1,110),e.qZA())}function ro(t,n){if(1&t&&(e.TgZ(0,"div")(1,"div",9)(2,"label",107),e.SDv(3,108),e.qZA(),e.TgZ(4,"div",12),e._UZ(5,"input",109),e.YNc(6,lo,2,0,"span",14),e.qZA()()()),2&t){e.oxw(2);const _=e.MAs(2),o=e.oxw();e.xp6(6),e.Q6J("ngIf",o.bucketForm.showError("keyId",_,"required"))}}function co(t,n){if(1&t&&(e.TgZ(0,"div")(1,"div",9)(2,"div",27)(3,"div",95),e._UZ(4,"input",96),e.TgZ(5,"label",97),e.SDv(6,98),e.qZA()()()(),e.TgZ(7,"div",9)(8,"div",27)(9,"div",95),e._UZ(10,"input",99),e.TgZ(11,"label",100),e.SDv(12,101),e.qZA()()()(),e.YNc(13,ao,9,4,"div",24),e.YNc(14,ro,7,1,"div",24),e.qZA()),2&t){const _=e.oxw(2);e.xp6(4),e.uIk("disabled",!_.s3VaultConfig||null),e.xp6(6),e.uIk("disabled",!_.kmsVaultConfig||null),e.xp6(3),e.Q6J("ngIf","aws:kms"===_.bucketForm.getValue("encryption_type")),e.xp6(1),e.Q6J("ngIf","aws:kms"===_.bucketForm.getValue("encryption_type"))}}const c_=function(t){return{required:t}};function uo(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",7),e.YNc(9,It,5,0,"div",8),e.TgZ(10,"div",9)(11,"label",10),e.SDv(12,11),e.qZA(),e.TgZ(13,"div",12),e._UZ(14,"input",13),e.YNc(15,bt,2,0,"span",14),e.YNc(16,ht,2,0,"span",14),e.YNc(17,Lt,2,0,"span",14),e.YNc(18,Wt,2,0,"span",14),e.YNc(19,$t,2,0,"span",14),e.YNc(20,Zt,2,0,"span",14),e.YNc(21,Dt,2,0,"span",14),e.YNc(22,Ut,2,0,"span",14),e.qZA()(),e.TgZ(23,"div",9)(24,"label",15),e.SDv(25,16),e.qZA(),e.TgZ(26,"div",12)(27,"select",17),e.YNc(28,vt,2,1,"option",18),e.YNc(29,yt,2,1,"option",18),e.YNc(30,wt,2,2,"option",19),e.qZA(),e.YNc(31,xt,2,0,"span",14),e.qZA()(),e.TgZ(32,"div",9)(33,"label",20),e.SDv(34,21),e.qZA(),e.TgZ(35,"div",12),e.YNc(36,Xt,5,4,"ng-template",null,22,e.W1O),e.YNc(38,Bt,2,0,"ng-container",23),e.qZA()(),e.YNc(39,Qt,12,0,"fieldset",24),e.YNc(40,jt,14,2,"fieldset",24),e.TgZ(41,"fieldset")(42,"legend",25),e.SDv(43,26),e.qZA(),e.TgZ(44,"div",9)(45,"div",27)(46,"div",28),e._UZ(47,"input",29),e.TgZ(48,"label",30),e.SDv(49,31),e.qZA(),e.TgZ(50,"cd-helper")(51,"span"),e.SDv(52,32),e.qZA()()()()(),e.YNc(53,eo,9,0,"div",8),e.YNc(54,oo,10,2,"div",8),e.qZA(),e.TgZ(55,"fieldset")(56,"legend",25),e.SDv(57,33),e.qZA(),e.TgZ(58,"div",9)(59,"div",27)(60,"div",28),e._UZ(61,"input",34),e.TgZ(62,"label",35),e.SDv(63,36),e.qZA(),e.TgZ(64,"cd-helper",37)(65,"span"),e.tHW(66,38),e.TgZ(67,"a",39),e.NdJ("click",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.openConfigModal())}),e.qZA(),e.N_p(),e.qZA()()()()(),e.YNc(68,co,15,4,"div",24),e.qZA()(),e.TgZ(69,"div",40)(70,"cd-form-button-panel",41),e.NdJ("submitActionEvent",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.submit())}),e.ALo(71,"titlecase"),e.ALo(72,"upperFirst"),e.qZA()()()()()}if(2&t){const _=e.MAs(2),o=e.MAs(37),i=e.oxw();e.xp6(1),e.Q6J("formGroup",i.bucketForm),e.xp6(6),e.pQV(e.lcZ(6,31,i.action))(e.lcZ(7,33,i.resource)),e.QtT(5),e.xp6(2),e.Q6J("ngIf",i.editing),e.xp6(2),e.Q6J("ngClass",e.VKq(39,c_,!i.editing)),e.xp6(3),e.Q6J("readonly",i.editing)("autofocus",!i.editing),e.xp6(1),e.Q6J("ngIf",i.bucketForm.showError("bid",_,"required")),e.xp6(1),e.Q6J("ngIf",i.bucketForm.showError("bid",_,"bucketNameInvalid")),e.xp6(1),e.Q6J("ngIf",i.bucketForm.showError("bid",_,"bucketNameNotAllowed")),e.xp6(1),e.Q6J("ngIf",i.bucketForm.showError("bid",_,"containsUpperCase")),e.xp6(1),e.Q6J("ngIf",i.bucketForm.showError("bid",_,"lowerCaseOrNumber")),e.xp6(1),e.Q6J("ngIf",i.bucketForm.showError("bid",_,"ipAddress")),e.xp6(1),e.Q6J("ngIf",i.bucketForm.showError("bid",_,"onlyLowerCaseAndNumbers")),e.xp6(1),e.Q6J("ngIf",i.bucketForm.showError("bid",_,"shouldBeInRange")),e.xp6(5),e.Q6J("autofocus",i.editing),e.xp6(1),e.Q6J("ngIf",null===i.owners),e.xp6(1),e.Q6J("ngIf",null!==i.owners),e.xp6(1),e.Q6J("ngForOf",i.owners),e.xp6(1),e.Q6J("ngIf",i.bucketForm.showError("owner",_,"required")),e.xp6(2),e.Q6J("ngClass",e.VKq(41,c_,!i.editing)),e.xp6(5),e.Q6J("ngIf",i.editing)("ngIfElse",o),e.xp6(1),e.Q6J("ngIf",i.editing),e.xp6(1),e.Q6J("ngIf",i.editing),e.xp6(13),e.Q6J("ngIf",i.bucketForm.getValue("lock_enabled")),e.xp6(1),e.Q6J("ngIf",i.bucketForm.getValue("lock_enabled")),e.xp6(7),e.uIk("disabled",!i.kmsVaultConfig&&!i.s3VaultConfig||null),e.xp6(7),e.Q6J("ngIf",i.bucketForm.getValue("encryption_enabled")),e.xp6(2),e.Q6J("form",i.bucketForm)("submitText",e.lcZ(71,35,i.action)+" "+e.lcZ(72,37,i.resource))}}let d_=(()=>{class t extends l_.E{get isVersioningEnabled(){return this.bucketForm.getValue("versioning")}get isMfaDeleteEnabled(){return this.bucketForm.getValue("mfa-delete")}constructor(_,o,i,s,l,r,d,u,R,O,F){super(),this.route=_,this.router=o,this.formBuilder=i,this.rgwBucketService=s,this.rgwSiteService=l,this.modalService=r,this.rgwUserService=d,this.notificationService=u,this.rgwEncryptionModal=R,this.actionLabels=O,this.changeDetectorRef=F,this.editing=!1,this.owners=null,this.kmsProviders=null,this.placementTargets=[],this.isVersioningAlreadyEnabled=!1,this.isMfaDeleteAlreadyEnabled=!1,this.icons=$.P,this.kmsVaultConfig=!1,this.s3VaultConfig=!1,this.editing=this.router.url.startsWith(`/rgw/bucket/${I.MQ.EDIT}`),this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.CREATE,this.resource="bucket",this.createForm()}ngAfterViewChecked(){this.changeDetectorRef.detectChanges()}createForm(){const _=this,o=m.h.custom("lockDays",()=>{if(!_.bucketForm||!E().get(_.bucketForm.getRawValue(),"lock_enabled"))return!1;const i=Number(_.bucketForm.getValue("lock_retention_period_days"));return!Number.isInteger(i)||0===i});this.bucketForm=this.formBuilder.group({id:[null],bid:[null,[a.kI.required],this.editing?[]:[m.h.bucketName(),m.h.bucketExistence(!1,this.rgwBucketService)]],owner:[null,[a.kI.required]],kms_provider:["vault"],"placement-target":[null,this.editing?[]:[a.kI.required]],versioning:[null],"mfa-delete":[null],"mfa-token-serial":[""],"mfa-token-pin":[""],lock_enabled:[{value:!1,disabled:this.editing}],encryption_enabled:[null],encryption_type:[null,[m.h.requiredIf({encryption_enabled:!0})]],keyId:[null,[m.h.requiredIf({encryption_type:"aws:kms",encryption_enabled:!0})]],lock_mode:["COMPLIANCE"],lock_retention_period_days:[0,[m.h.number(!1),o]]})}ngOnInit(){const _={owners:this.rgwUserService.enumerate()};this.kmsProviders=this.rgwEncryptionModal.kmsProviders,this.rgwBucketService.getEncryptionConfig().subscribe(o=>{this.kmsVaultConfig=o[0],this.s3VaultConfig=o[1],this.kmsVaultConfig&&this.s3VaultConfig?this.bucketForm.get("encryption_type").setValue(""):this.kmsVaultConfig?this.bucketForm.get("encryption_type").setValue("aws:kms"):this.s3VaultConfig?this.bucketForm.get("encryption_type").setValue("AES256"):this.bucketForm.get("encryption_type").setValue("")}),this.editing||(_.getPlacementTargets=this.rgwSiteService.get("placement-targets")),this.route.params.subscribe(o=>{if(o.hasOwnProperty("bid")){const i=decodeURIComponent(o.bid);_.getBid=this.rgwBucketService.get(i)}(0,ne.D)(_).subscribe(i=>{if(this.owners=i.owners.sort(),i.getPlacementTargets){const s=i.getPlacementTargets;this.zonegroup=s.zonegroup,E().forEach(s.placement_targets,l=>{l.description=`${l.name} (${"pool"}: ${l.data_pool})`,this.placementTargets.push(l)}),1===this.placementTargets.length&&this.bucketForm.get("placement-target").setValue(this.placementTargets[0].name)}if(i.getBid){const s=i.getBid,l=E().clone(this.bucketForm.getRawValue());let r=E().pick(s,E().keys(l));r.lock_retention_period_days=this.rgwBucketService.getLockDays(s),r["placement-target"]=s.placement_rule,r.versioning=s.versioning===se.ENABLED,r["mfa-delete"]=s.mfa_delete===ie.ENABLED,r.encryption_enabled="Enabled"===s.encryption,r=E().merge(l,r),this.bucketForm.setValue(r),this.editing&&(this.isVersioningAlreadyEnabled=this.isVersioningEnabled,this.isMfaDeleteAlreadyEnabled=this.isMfaDeleteEnabled,this.setMfaDeleteValidators(),r.lock_enabled&&this.bucketForm.controls.versioning.disable())}this.loadingReady()})})}goToListView(){this.router.navigate(["/rgw/bucket"])}submit(){if(null==this.bucketForm.getValue("encryption_enabled")&&(this.bucketForm.get("encryption_enabled").setValue(!1),this.bucketForm.get("encryption_type").setValue(null)),this.bucketForm.pristine)return void this.goToListView();const _=this.bucketForm.value;if(this.editing){const o=this.getVersioningStatus(),i=this.getMfaDeleteStatus();this.rgwBucketService.update(_.bid,_.id,_.owner,o,_.encryption_enabled,_.encryption_type,_.keyId,i,_["mfa-token-serial"],_["mfa-token-pin"],_.lock_mode,_.lock_retention_period_days).subscribe(()=>{this.notificationService.show(w.k.success,"Updated Object Gateway bucket '" + _.bid + "'."),this.goToListView()},()=>{this.bucketForm.setErrors({cdSubmitButton:!0})})}else this.rgwBucketService.create(_.bid,_.owner,this.zonegroup,_["placement-target"],_.lock_enabled,_.lock_mode,_.lock_retention_period_days,_.encryption_enabled,_.encryption_type,_.keyId).subscribe(()=>{this.notificationService.show(w.k.success,"Created Object Gateway bucket '" + _.bid + "'"),this.goToListView()},()=>{this.bucketForm.setErrors({cdSubmitButton:!0})})}areMfaCredentialsRequired(){return this.isMfaDeleteEnabled!==this.isMfaDeleteAlreadyEnabled||this.isMfaDeleteAlreadyEnabled&&this.isVersioningEnabled!==this.isVersioningAlreadyEnabled}setMfaDeleteValidators(){const _=this.bucketForm.get("mfa-token-serial"),o=this.bucketForm.get("mfa-token-pin");this.areMfaCredentialsRequired()?(_.setValidators(a.kI.required),o.setValidators(a.kI.required)):(_.setValidators(null),o.setValidators(null)),_.updateValueAndValidity(),o.updateValueAndValidity()}getVersioningStatus(){return this.isVersioningEnabled?se.ENABLED:se.SUSPENDED}getMfaDeleteStatus(){return this.isMfaDeleteEnabled?ie.ENABLED:ie.DISABLED}fileUpload(_,o){const i=_[0];(new FileReader).addEventListener("load",()=>{const l=this.bucketForm.get(o);l.setValue(i),l.markAsDirty(),l.markAsTouched(),l.updateValueAndValidity()})}openConfigModal(){this.modalService.show(At,null,{size:"lg"}).componentInstance.configForm.get("encryptionType").setValue(this.bucketForm.getValue("encryption_type")||"AES256")}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(J.gz),e.Y36(J.F0),e.Y36(ae.O),e.Y36(Ee.o),e.Y36(n_.I),e.Y36(ee.Z),e.Y36(Q),e.Y36(Y.g),e.Y36(ze),e.Y36(I.p4),e.Y36(e.sBO))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-bucket-form"]],features:[e._Bn([ze]),e.qOj],decls:1,vars:1,consts:function(){let n,_,o,i,s,l,r,d,u,R,O,F,b,h,M,L,S,W,C,Z,D,U,v,y,f,P,N,te,A,Me,Se,Ce,Oe,Fe,Pe,Ne,Ge,Ae,Ie,be,he,Le,We,$e,Ze,De,Ue,ve,ye,we;return n="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",_="Name",o="Name...",i="Owner",s="Placement target",l="Locking",r="Enabled",d="Enables locking for the objects in the bucket. Locking can only be enabled while creating a bucket.",u="Security",R="Encryption",O="Enables encryption for the objects in the bucket. To enable encryption on a bucket you need to set the configuration values for SSE-S3 or SSE-KMS. To set the configuration values " + "\ufffd#67\ufffd" + "Click here" + "\ufffd/#67\ufffd" + "",F="Id",b="This field is required.",h="Bucket names can only contain lowercase letters, numbers, periods and hyphens.",M="The chosen name is already in use.",L="Bucket names must not contain uppercase characters or underscores.",S="Each label must start and end with a lowercase letter or a number.",W="Bucket names cannot be formatted as IP address.",C="Bucket labels cannot be empty and can only contain lowercase letters, numbers and hyphens.",Z="Bucket names must be 3 to 63 characters long.",D="Loading...",U="-- Select a user --",v="This field is required.",y="Loading...",f="-- Select a placement target --",P="This field is required.",N="Versioning",te="Enabled",A="Enables versioning for the objects in the bucket.",Me="Multi-Factor Authentication",Se="Delete enabled",Ce="Enables MFA (multi-factor authentication) Delete, which requires additional authentication for changing the bucket versioning state.",Oe="Token Serial Number",Fe="This field is required.",Pe="Token PIN",Ne="This field is required.",Ge="Mode",Ae="Compliance",Ie="Governance",be="Days",he="The number of days that you want to specify for the default retention period that will be applied to new objects placed in this bucket.",Le="The entered value must be a positive integer.",We="Retention Days must be a positive integer.",$e="SSE-S3 Encryption",Ze="Connect to an external key management service",De="KMS Provider",Ue="-- Select a provider --",ve="This field is required.",ye="Key Id ",we="This field is required.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","bucketForm","novalidate","",3,"formGroup"],["frm","ngForm"],[1,"card"],[1,"card-header"],n,[1,"card-body"],["class","form-group row",4,"ngIf"],[1,"form-group","row"],["for","bid",1,"cd-col-form-label",3,"ngClass"],_,[1,"cd-col-form-input"],["id","bid","name","bid","type","text","placeholder",o,"formControlName","bid",1,"form-control",3,"readonly","autofocus"],["class","invalid-feedback",4,"ngIf"],["for","owner",1,"cd-col-form-label","required"],i,["id","owner","name","owner","formControlName","owner",1,"form-select",3,"autofocus"],[3,"ngValue",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["for","placement-target",1,"cd-col-form-label",3,"ngClass"],s,["placementTargetSelect",""],[4,"ngIf","ngIfElse"],[4,"ngIf"],[1,"cd-header"],l,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","lock_enabled","formControlName","lock_enabled","type","checkbox",1,"custom-control-input"],["for","lock_enabled",1,"custom-control-label"],r,d,u,["id","encryption_enabled","name","encryption_enabled","formControlName","encryption_enabled","type","checkbox",1,"form-check-input"],["for","encryption_enabled",1,"form-check-label"],R,["aria-label","toggle encryption helper"],O,["href","#/rgw/bucket/create","aria-label","click here",3,"click"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],["for","id",1,"cd-col-form-label"],F,["id","id","name","id","type","text","formControlName","id","readonly","",1,"form-control"],[1,"invalid-feedback"],b,h,M,L,S,W,C,Z,[3,"ngValue"],D,U,[3,"value"],v,["id","placement-target","name","placement-target","formControlName","placement-target",1,"form-select"],y,f,P,["id","placement-target","name","placement-target","formControlName","placement-target","type","text","readonly","",1,"form-control"],N,["type","checkbox","id","versioning","name","versioning","formControlName","versioning",1,"custom-control-input",3,"change"],["for","versioning",1,"custom-control-label"],te,A,Me,["type","checkbox","id","mfa-delete","name","mfa-delete","formControlName","mfa-delete",1,"custom-control-input",3,"change"],["for","mfa-delete",1,"custom-control-label"],Se,Ce,["for","mfa-token-serial",1,"cd-col-form-label"],Oe,["type","text","id","mfa-token-serial","name","mfa-token-serial","formControlName","mfa-token-serial",1,"form-control"],Fe,["for","mfa-token-pin",1,"cd-col-form-label"],Pe,["type","text","id","mfa-token-pin","name","mfa-token-pin","formControlName","mfa-token-pin",1,"form-control"],Ne,["for","lock_mode",1,"cd-col-form-label"],Ge,["formControlName","lock_mode","name","lock_mode","id","lock_mode",1,"form-select"],["value","COMPLIANCE"],Ae,["value","GOVERNANCE"],Ie,["for","lock_retention_period_days",1,"cd-col-form-label"],be,he,["type","number","id","lock_retention_period_days","formControlName","lock_retention_period_days","min","0",1,"form-control"],Le,We,[1,"custom-control","custom-radio","custom-control-inline","ps-5"],["formControlName","encryption_type","id","sse_S3_enabled","type","radio","name","encryption_type","value","AES256",1,"form-check-input"],["for","sse_S3_enabled",1,"form-control-label"],$e,["formControlName","encryption_type","id","kms_enabled","name","encryption_type","value","aws:kms","type","radio",1,"form-check-input"],["for","kms_enabled",1,"form-control-label"],Ze,["for","kms_provider",1,"cd-col-form-label","required"],De,["id","kms_provider","name","kms_provider","formControlName","kms_provider",1,"form-select",3,"autofocus"],Ue,ve,["for","keyId",1,"cd-col-form-label","required"],ye,["id","keyId","name","keyId","type","text","formControlName","keyId",1,"form-control"],we]},template:function(_,o){1&_&&e.YNc(0,uo,73,43,"div",0),2&_&&e.Q6J("cdFormLoading",o.loading)},dependencies:[T.mk,T.sg,T.O5,j.S,B.p,fe.U,r_.y,k.o,q.b,z.P,H.V,a._Y,a.YN,a.Kr,a.Fj,a.wV,a.Wl,a.EJ,a._,a.JJ,a.JL,a.qQ,a.sg,a.u,T.rS,_e.m]}),t})();var u_=c(70882),Be=c(68136),Qe=c(30982),le=c(59019),qe=c(68774),Ye=c(47557),g_=c(66369),re=c(51847),ce=c(47640),R_=c(60251),Je=c(94928),T_=c(68962),go=c(96102);function Ro(t,n){1&t&&(e.TgZ(0,"td"),e.SDv(1,17),e.qZA())}function To(t,n){if(1&t&&(e.TgZ(0,"td"),e._uU(1),e.ALo(2,"dimless"),e.qZA()),2&t){const _=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,_.selection.bucket_quota.max_size)," ")}}function Eo(t,n){1&t&&(e.TgZ(0,"td"),e.SDv(1,18),e.qZA())}function fo(t,n){if(1&t&&(e.TgZ(0,"td"),e._uU(1),e.qZA()),2&t){const _=e.oxw(3);e.xp6(1),e.hij(" ",_.selection.bucket_quota.max_objects," ")}}function po(t,n){if(1&t&&(e.ynx(0),e.TgZ(1,"tr")(2,"td",5),e.SDv(3,15),e.qZA(),e.YNc(4,Ro,2,0,"td",0),e.YNc(5,To,3,3,"td",0),e.qZA(),e.TgZ(6,"tr")(7,"td",5),e.SDv(8,16),e.qZA(),e.YNc(9,Eo,2,0,"td",0),e.YNc(10,fo,2,1,"td",0),e.qZA(),e.BQk()),2&t){const _=e.oxw(2);e.xp6(4),e.Q6J("ngIf",_.selection.bucket_quota.max_size<=-1),e.xp6(1),e.Q6J("ngIf",_.selection.bucket_quota.max_size>-1),e.xp6(4),e.Q6J("ngIf",_.selection.bucket_quota.max_objects<=-1),e.xp6(1),e.Q6J("ngIf",_.selection.bucket_quota.max_objects>-1)}}function mo(t,n){if(1&t&&(e.ynx(0),e.TgZ(1,"tr")(2,"td",5),e.SDv(3,19),e.qZA(),e.TgZ(4,"td"),e._uU(5),e.qZA()(),e.TgZ(6,"tr")(7,"td",5),e.SDv(8,20),e.qZA(),e.TgZ(9,"td"),e._uU(10),e.qZA()(),e.BQk()),2&t){const _=e.oxw(2);e.xp6(5),e.Oqu(_.selection.lock_mode),e.xp6(5),e.Oqu(_.selection.lock_retention_period_days)}}function Mo(t,n){if(1&t&&(e.ynx(0),e.TgZ(1,"table",1)(2,"tbody")(3,"tr")(4,"td",2),e.SDv(5,3),e.qZA(),e.TgZ(6,"td",4),e._uU(7),e.qZA()(),e.TgZ(8,"tr")(9,"td",5),e.SDv(10,6),e.qZA(),e.TgZ(11,"td"),e._uU(12),e.qZA()(),e.TgZ(13,"tr")(14,"td",5),e.SDv(15,7),e.qZA(),e.TgZ(16,"td"),e._uU(17),e.qZA()(),e.TgZ(18,"tr")(19,"td",5),e.SDv(20,8),e.qZA(),e.TgZ(21,"td"),e._uU(22),e.qZA()(),e.TgZ(23,"tr")(24,"td",5),e.SDv(25,9),e.qZA(),e.TgZ(26,"td"),e._uU(27),e.qZA()(),e.TgZ(28,"tr")(29,"td",5),e.SDv(30,10),e.qZA(),e.TgZ(31,"td"),e._uU(32),e.ALo(33,"cdDate"),e.qZA()()()(),e.TgZ(34,"div")(35,"legend"),e.SDv(36,11),e.qZA(),e.TgZ(37,"table",1)(38,"tbody")(39,"tr")(40,"td",2),e.SDv(41,12),e.qZA(),e.TgZ(42,"td",4),e._uU(43),e.ALo(44,"booleanText"),e.qZA()(),e.YNc(45,po,11,4,"ng-container",0),e.qZA()()(),e.TgZ(46,"legend"),e.SDv(47,13),e.qZA(),e.TgZ(48,"table",1)(49,"tbody")(50,"tr")(51,"td",2),e.SDv(52,14),e.qZA(),e.TgZ(53,"td",4),e._uU(54),e.ALo(55,"booleanText"),e.qZA()(),e.YNc(56,mo,11,2,"ng-container",0),e.qZA()(),e.BQk()),2&t){const _=e.oxw();e.xp6(7),e.Oqu(_.selection.versioning),e.xp6(5),e.Oqu(_.selection.encryption),e.xp6(5),e.Oqu(_.selection.mfa_delete),e.xp6(5),e.Oqu(_.selection.index_type),e.xp6(5),e.Oqu(_.selection.placement_rule),e.xp6(5),e.Oqu(e.lcZ(33,10,_.selection.mtime)),e.xp6(11),e.Oqu(e.lcZ(44,12,_.selection.bucket_quota.enabled)),e.xp6(2),e.Q6J("ngIf",_.selection.bucket_quota.enabled),e.xp6(9),e.Oqu(e.lcZ(55,14,_.selection.lock_enabled)),e.xp6(2),e.Q6J("ngIf",_.selection.lock_enabled)}}let So=(()=>{class t{constructor(_){this.rgwBucketService=_}ngOnChanges(){this.selection&&this.rgwBucketService.get(this.selection.bid).subscribe(_=>{_.lock_retention_period_days=this.rgwBucketService.getLockDays(_),this.selection=_})}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(Ee.o))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-bucket-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let n,_,o,i,s,l,r,d,u,R,O,F,b,h,M,L;return n="Versioning",_="Encryption",o="MFA Delete",i="Index type",s="Placement rule",l="Last modification time",r="Bucket quota",d="Enabled",u="Locking",R="Enabled",O="Maximum size",F="Maximum objects",b="Unlimited",h="Unlimited",M="Mode",L="Days",[[4,"ngIf"],[1,"table","table-striped","table-bordered"],[1,"bold","w-25"],n,[1,"w-75"],[1,"bold"],_,o,i,s,l,r,d,u,R,O,F,b,h,M,L]},template:function(_,o){1&_&&e.YNc(0,Mo,57,16,"ng-container",0),2&_&&e.Q6J("ngIf",o.selection)},dependencies:[T.O5,T_.T,g_.n,go.N],styles:["table[_ngcontent-%COMP%]{table-layout:fixed}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{word-wrap:break-word}"]}),t})();const Co=["bucketSizeTpl"],Oo=["bucketObjectTpl"];function Fo(t,n){if(1&t&&e._UZ(0,"cd-usage-bar",8),2&t){const _=e.oxw().row;e.Q6J("total",_.bucket_quota.max_size)("used",_.bucket_size)}}function Po(t,n){1&t&&e.SDv(0,9)}function No(t,n){if(1&t&&(e.YNc(0,Fo,1,2,"cd-usage-bar",6),e.YNc(1,Po,1,0,"ng-template",null,7,e.W1O)),2&t){const _=n.row,o=e.MAs(2);e.Q6J("ngIf",_.bucket_quota.max_size>0&&_.bucket_quota.enabled)("ngIfElse",o)}}function Go(t,n){if(1&t&&e._UZ(0,"cd-usage-bar",12),2&t){const _=e.oxw().row;e.Q6J("total",_.bucket_quota.max_objects)("used",_.num_objects)("isBinary",!1)}}function Ao(t,n){1&t&&e.SDv(0,13)}function Io(t,n){if(1&t&&(e.YNc(0,Go,1,3,"cd-usage-bar",10),e.YNc(1,Ao,1,0,"ng-template",null,11,e.W1O)),2&t){const _=n.row,o=e.MAs(2);e.Q6J("ngIf",_.bucket_quota.max_objects>0&&_.bucket_quota.enabled)("ngIfElse",o)}}let ho=(()=>{class t extends Be.o{constructor(_,o,i,s,l,r,d,u){super(u),this.authStorageService=_,this.dimlessBinaryPipe=o,this.dimlessPipe=i,this.rgwBucketService=s,this.modalService=l,this.urlBuilder=r,this.actionLabels=d,this.ngZone=u,this.columns=[],this.buckets=[],this.selection=new qe.r}ngOnInit(){this.permission=this.authStorageService.getPermissions().rgw,this.columns=[{name:"Name",prop:"bid",flexGrow:2},{name:"Owner",prop:"owner",flexGrow:2.5},{name:"Used Capacity",prop:"bucket_size",flexGrow:.6,pipe:this.dimlessBinaryPipe},{name:"Capacity Limit %",prop:"size_usage",cellTemplate:this.bucketSizeTpl,flexGrow:.8},{name:"Objects",prop:"num_objects",flexGrow:.6,pipe:this.dimlessPipe},{name:"Object Limit %",prop:"object_usage",cellTemplate:this.bucketObjectTpl,flexGrow:.8}];const _=()=>this.selection.first()&&`${encodeURIComponent(this.selection.first().bid)}`;this.tableActions=[{permission:"create",icon:$.P.add,routerLink:()=>this.urlBuilder.getCreate(),name:this.actionLabels.CREATE,canBePrimary:l=>!l.hasSelection},{permission:"update",icon:$.P.edit,routerLink:()=>this.urlBuilder.getEdit(_()),name:this.actionLabels.EDIT},{permission:"delete",icon:$.P.destroy,click:()=>this.deleteAction(),disable:()=>!this.selection.hasSelection,name:this.actionLabels.DELETE,canBePrimary:l=>l.hasMultiSelection}],this.setTableRefreshTimeout()}transformBucketData(){E().forEach(this.buckets,_=>{const o=_.bucket_quota.max_size,i=_.bucket_quota.max_objects;_.bucket_size=0,_.num_objects=0,E().isEmpty(_.usage)||(_.bucket_size=_.usage["rgw.main"].size_actual,_.num_objects=_.usage["rgw.main"].num_objects),_.size_usage=o>0?_.bucket_size/o:void 0,_.object_usage=i>0?_.num_objects/i:void 0})}getBucketList(_){this.setTableRefreshTimeout(),this.rgwBucketService.list(!0).subscribe(o=>{this.buckets=o,this.transformBucketData()},()=>{_.error()})}updateSelection(_){this.selection=_}deleteAction(){this.modalService.show(Qe.M,{itemDescription:this.selection.hasSingleSelection?"bucket":"buckets",itemNames:this.selection.selected.map(_=>_.bid),submitActionObservable:()=>new u_.y(_=>{(0,ne.D)(this.selection.selected.map(o=>this.rgwBucketService.delete(o.bid))).subscribe({error:o=>{_.error(o),this.table.refreshBtn()},complete:()=>{_.complete(),this.table.refreshBtn()}})})})}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(ce.j),e.Y36(Ye.$),e.Y36(g_.n),e.Y36(Ee.o),e.Y36(ee.Z),e.Y36(re.F),e.Y36(I.p4),e.Y36(e.R0b))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-bucket-list"]],viewQuery:function(_,o){if(1&_&&(e.Gf(le.a,7),e.Gf(Co,7),e.Gf(Oo,7)),2&_){let i;e.iGM(i=e.CRH())&&(o.table=i.first),e.iGM(i=e.CRH())&&(o.bucketSizeTpl=i.first),e.iGM(i=e.CRH())&&(o.bucketObjectTpl=i.first)}},features:[e._Bn([{provide:re.F,useValue:new re.F("rgw/bucket")}]),e.qOj],decls:8,vars:9,consts:function(){let n,_;return n="No Limit",_="No Limit",[["columnMode","flex","selectionType","multiClick","identifier","bid",3,"autoReload","data","columns","hasDetails","status","setExpandedRow","updateSelection","fetchData"],["table",""],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],["bucketSizeTpl",""],["bucketObjectTpl",""],[3,"total","used",4,"ngIf","ngIfElse"],["noSizeQuota",""],[3,"total","used"],n,[3,"total","used","isBinary",4,"ngIf","ngIfElse"],["noObjectQuota",""],[3,"total","used","isBinary"],_]},template:function(_,o){1&_&&(e.TgZ(0,"cd-table",0,1),e.NdJ("setExpandedRow",function(s){return o.setExpandedRow(s)})("updateSelection",function(s){return o.updateSelection(s)})("fetchData",function(s){return o.getBucketList(s)}),e._UZ(2,"cd-table-actions",2)(3,"cd-rgw-bucket-details",3),e.qZA(),e.YNc(4,No,3,2,"ng-template",null,4,e.W1O),e.YNc(6,Io,3,2,"ng-template",null,5,e.W1O)),2&_&&(e.Q6J("autoReload",!1)("data",o.buckets)("columns",o.columns)("hasDetails",!0)("status",o.tableStatus),e.xp6(2),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions),e.xp6(1),e.Q6J("selection",o.expandedRow))},dependencies:[T.O5,R_.O,le.a,Je.K,So]}),t})();var Lo=c(58111),E_=c(76317),f_=c(61350),Wo=c(59376),$o=c(60351);function Zo(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"cd-table-key-value",11),e.NdJ("fetchData",function(){e.CHM(_);const i=e.oxw(2);return e.KtG(i.getMetaData())}),e.qZA()}if(2&t){const _=e.oxw(2);e.Q6J("data",_.metadata)}}function Do(t,n){if(1&t&&e._UZ(0,"cd-table-performance-counter",12),2&t){const _=e.oxw(2);e.Q6J("serviceId",_.serviceMapId)}}function Uo(t,n){if(1&t&&e._UZ(0,"cd-grafana",15),2&t){const _=e.oxw(3);e.Q6J("grafanaPath","rgw-instance-detail?var-rgw_servers=rgw."+_.serviceId)("type","metrics")}}function vo(t,n){1&t&&(e.ynx(0,13),e.TgZ(1,"a",4),e.SDv(2,14),e.qZA(),e.YNc(3,Uo,1,2,"ng-template",6),e.BQk())}function yo(t,n){if(1&t&&(e.ynx(0),e.TgZ(1,"nav",1,2),e.ynx(3,3),e.TgZ(4,"a",4),e.SDv(5,5),e.qZA(),e.YNc(6,Zo,1,1,"ng-template",6),e.BQk(),e.ynx(7,7),e.TgZ(8,"a",4),e.SDv(9,8),e.qZA(),e.YNc(10,Do,1,1,"ng-template",6),e.BQk(),e.YNc(11,vo,4,0,"ng-container",9),e.qZA(),e._UZ(12,"div",10),e.BQk()),2&t){const _=e.MAs(2),o=e.oxw();e.xp6(11),e.Q6J("ngIf",o.grafanaPermission.read),e.xp6(1),e.Q6J("ngbNavOutlet",_)}}let wo=(()=>{class t{constructor(_,o){this.rgwDaemonService=_,this.authStorageService=o,this.serviceId="",this.serviceMapId="",this.grafanaPermission=this.authStorageService.getPermissions().grafana}ngOnChanges(){this.selection&&(this.serviceId=this.selection.id,this.serviceMapId=this.selection.service_map_id)}getMetaData(){E().isEmpty(this.serviceId)||this.rgwDaemonService.get(this.serviceId).subscribe(_=>{this.metadata=_.rgw_metadata})}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(oe.b),e.Y36(ce.j))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-daemon-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let n,_,o,i;return n="Details",_="Performance Counters",o="Performance Details",i="RGW instance details",[[4,"ngIf"],["ngbNav","","cdStatefulTab","rgw-daemon-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],n,["ngbNavContent",""],["ngbNavItem","performance-counters"],_,["ngbNavItem","performance-details",4,"ngIf"],[3,"ngbNavOutlet"],[3,"data","fetchData"],["serviceType","rgw",3,"serviceId"],["ngbNavItem","performance-details"],o,["title",i,"uid","x5ARzZtmk","grafanaStyle","one",3,"grafanaPath","type"]]},template:function(_,o){1&_&&e.YNc(0,yo,13,2,"ng-container",0),2&_&&e.Q6J("ngIf",o.selection)},dependencies:[T.O5,E_.F,f_.b,Wo.m,$o.p,G.uN,G.Pz,G.nv,G.Vx,G.tO,G.Dy]}),t})();function xo(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"cd-table",8),e.NdJ("setExpandedRow",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.setExpandedRow(i))})("fetchData",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.getDaemonList(i))}),e._UZ(1,"cd-rgw-daemon-details",9),e.qZA()}if(2&t){const _=e.oxw();e.Q6J("data",_.daemons)("columns",_.columns)("hasDetails",!0),e.xp6(1),e.Q6J("selection",_.expandedRow)}}function ko(t,n){1&t&&e._UZ(0,"cd-grafana",11),2&t&&e.Q6J("grafanaPath","rgw-overview?")("type","metrics")}function zo(t,n){1&t&&(e.ynx(0,2),e.TgZ(1,"a",3),e.SDv(2,10),e.qZA(),e.YNc(3,ko,1,2,"ng-template",5),e.BQk())}function qo(t,n){1&t&&e._UZ(0,"cd-grafana",13),2&t&&e.Q6J("grafanaPath","radosgw-sync-overview?")("type","metrics")}function Ho(t,n){1&t&&(e.ynx(0,2),e.TgZ(1,"a",3),e.SDv(2,12),e.qZA(),e.YNc(3,qo,1,2,"ng-template",5),e.BQk())}let Xo=(()=>{class t extends Be.o{constructor(_,o,i,s){super(),this.rgwDaemonService=_,this.authStorageService=o,this.cephShortVersionPipe=i,this.rgwSiteService=s,this.columns=[],this.daemons=[],this.updateDaemons=l=>{this.daemons=l}}ngOnInit(){this.grafanaPermission=this.authStorageService.getPermissions().grafana,this.columns=[{name:"ID",prop:"id",flexGrow:2},{name:"Hostname",prop:"server_hostname",flexGrow:2},{name:"Port",prop:"port",flexGrow:1},{name:"Realm",prop:"realm_name",flexGrow:2},{name:"Zone Group",prop:"zonegroup_name",flexGrow:2},{name:"Zone",prop:"zone_name",flexGrow:2},{name:"Version",prop:"version",flexGrow:1,pipe:this.cephShortVersionPipe}],this.rgwSiteService.get("realms").subscribe(_=>this.isMultiSite=_.length>0)}getDaemonList(_){this.rgwDaemonService.list().subscribe(this.updateDaemons,()=>{_.error()})}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(oe.b),e.Y36(ce.j),e.Y36(Lo.F),e.Y36(n_.I))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-daemon-list"]],features:[e.qOj],decls:9,vars:3,consts:function(){let n,_,o,i,s;return n="Gateways List",_="Overall Performance",o="RGW overview",i="Sync Performance",s="Radosgw sync overview",[["ngbNav","",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem",""],["ngbNavLink",""],n,["ngbNavContent",""],["ngbNavItem","",4,"ngIf"],[3,"ngbNavOutlet"],["columnMode","flex",3,"data","columns","hasDetails","setExpandedRow","fetchData"],["cdTableDetail","",3,"selection"],_,["title",o,"uid","WAkugZpiz","grafanaStyle","two",3,"grafanaPath","type"],i,["title",s,"uid","rgw-sync-overview","grafanaStyle","two",3,"grafanaPath","type"]]},template:function(_,o){if(1&_&&(e.TgZ(0,"nav",0,1),e.ynx(2,2),e.TgZ(3,"a",3),e.SDv(4,4),e.qZA(),e.YNc(5,xo,2,4,"ng-template",5),e.BQk(),e.YNc(6,zo,4,0,"ng-container",6),e.YNc(7,Ho,4,0,"ng-container",6),e.qZA(),e._UZ(8,"div",7)),2&_){const i=e.MAs(1);e.xp6(6),e.Q6J("ngIf",o.grafanaPermission.read),e.xp6(1),e.Q6J("ngIf",o.grafanaPermission.read&&o.isMultiSite),e.xp6(1),e.Q6J("ngbNavOutlet",i)}},dependencies:[T.O5,E_.F,le.a,G.uN,G.Pz,G.nv,G.Vx,G.tO,G.Dy,wo]}),t})();var Bo=c(6481),Ke=c(28211),He=(()=>{return(t=He||(He={})).USERS="users",t.BUCKETS="buckets",t.METADATA="metadata",t.USAGE="usage",t.ZONE="zone",He;var t})();let p_=(()=>{class t{static getAll(){return Object.values(t.capabilities)}}return t.capabilities=He,t})();function Qo(t,n){1&t&&e._UZ(0,"input",22),2&t&&e.Q6J("readonly",!0)}function Yo(t,n){1&t&&(e.TgZ(0,"option",17),e.SDv(1,25),e.qZA()),2&t&&e.Q6J("ngValue",null)}function Jo(t,n){if(1&t&&(e.TgZ(0,"option",26),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.Oqu(_)}}function Ko(t,n){if(1&t&&(e.TgZ(0,"select",23),e.YNc(1,Yo,2,1,"option",24),e.YNc(2,Jo,2,2,"option",19),e.qZA()),2&t){const _=e.oxw();e.xp6(1),e.Q6J("ngIf",null!==_.types),e.xp6(1),e.Q6J("ngForOf",_.types)}}function Vo(t,n){1&t&&(e.TgZ(0,"span",27),e.SDv(1,28),e.qZA())}function jo(t,n){if(1&t&&(e.TgZ(0,"option",26),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",_," ")}}function en(t,n){1&t&&(e.TgZ(0,"span",27),e.SDv(1,29),e.qZA())}const _n=function(t){return{required:t}},tn=function(){return["read","write","*"]};let on=(()=>{class t{constructor(_,o,i){this.formBuilder=_,this.activeModal=o,this.actionLabels=i,this.submitAction=new e.vpe,this.editing=!0,this.types=[],this.resource="capability",this.createForm()}createForm(){this.formGroup=this.formBuilder.group({type:[null,[a.kI.required]],perm:[null,[a.kI.required]]})}setEditing(_=!0){this.editing=_,this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.ADD}setValues(_,o){this.formGroup.setValue({type:_,perm:o})}setCapabilities(_){const o=[];_.forEach(i=>{o.push(i.type)}),this.types=[],p_.getAll().forEach(i=>{-1===E().indexOf(o,i)&&this.types.push(i)})}onSubmit(){this.submitAction.emit(this.formGroup.value),this.activeModal.close()}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(ae.O),e.Y36(G.Kz),e.Y36(I.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-user-capability-modal"]],outputs:{submitAction:"submitAction"},decls:29,vars:24,consts:function(){let n,_,o,i,s,l,r;return n="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",_="Type",o="Permission",i="-- Select a permission --",s="-- Select a type --",l="This field is required.",r="This field is required.",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","type",1,"cd-col-form-label",3,"ngClass"],_,[1,"cd-col-form-input"],["id","type","class","form-control","type","text","formControlName","type",3,"readonly",4,"ngIf"],["id","type","class","form-select","formControlName","type","autofocus","",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],["for","perm",1,"cd-col-form-label","required"],o,["id","perm","formControlName","perm",1,"form-select"],[3,"ngValue"],i,[3,"value",4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],["id","type","type","text","formControlName","type",1,"form-control",3,"readonly"],["id","type","formControlName","type","autofocus","",1,"form-select"],[3,"ngValue",4,"ngIf"],s,[3,"value"],[1,"invalid-feedback"],l,r]},template:function(_,o){if(1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10),e.YNc(13,Qo,1,1,"input",11),e.YNc(14,Ko,3,2,"select",12),e.YNc(15,Vo,2,0,"span",13),e.qZA()(),e.TgZ(16,"div",7)(17,"label",14),e.SDv(18,15),e.qZA(),e.TgZ(19,"div",10)(20,"select",16)(21,"option",17),e.SDv(22,18),e.qZA(),e.YNc(23,jo,2,2,"option",19),e.qZA(),e.YNc(24,en,2,0,"span",13),e.qZA()()(),e.TgZ(25,"div",20)(26,"cd-form-button-panel",21),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(27,"titlecase"),e.ALo(28,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&_){const i=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,13,o.action))(e.lcZ(4,15,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.formGroup),e.xp6(4),e.Q6J("ngClass",e.VKq(21,_n,!o.editing)),e.xp6(3),e.Q6J("ngIf",o.editing),e.xp6(1),e.Q6J("ngIf",!o.editing),e.xp6(1),e.Q6J("ngIf",o.formGroup.showError("type",i,"required")),e.xp6(6),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",e.DdM(23,tn)),e.xp6(1),e.Q6J("ngIf",o.formGroup.showError("perm",i,"required")),e.xp6(2),e.Q6J("form",o.formGroup)("submitText",e.lcZ(27,17,o.action)+" "+e.lcZ(28,19,o.resource))}},dependencies:[T.mk,T.sg,T.O5,X.z,B.p,fe.U,k.o,q.b,z.P,H.V,a._Y,a.YN,a.Kr,a.Fj,a.EJ,a.JJ,a.JL,a.sg,a.u,T.rS,_e.m]}),t})();var pe=c(58039),Xe=c(4416);function nn(t,n){1&t&&e._UZ(0,"input",17),2&t&&e.Q6J("readonly",!0)}function sn(t,n){1&t&&(e.TgZ(0,"option",21),e.SDv(1,22),e.qZA()),2&t&&e.Q6J("ngValue",null)}function an(t,n){if(1&t&&(e.TgZ(0,"option",23),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.Oqu(_)}}function ln(t,n){if(1&t&&(e.TgZ(0,"select",18),e.YNc(1,sn,2,1,"option",19),e.YNc(2,an,2,2,"option",20),e.qZA()),2&t){const _=e.oxw();e.xp6(1),e.Q6J("ngIf",null!==_.userCandidates),e.xp6(1),e.Q6J("ngForOf",_.userCandidates)}}function rn(t,n){1&t&&(e.TgZ(0,"span",24),e.SDv(1,25),e.qZA())}function cn(t,n){1&t&&(e.TgZ(0,"div",7)(1,"div",26)(2,"div",27),e._UZ(3,"input",28),e.TgZ(4,"label",29),e.SDv(5,30),e.qZA()()()())}function dn(t,n){1&t&&(e.TgZ(0,"span",24),e.SDv(1,37),e.qZA())}const Ve=function(t){return{required:t}};function un(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",31),e.SDv(2,32),e.qZA(),e.TgZ(3,"div",10)(4,"div",33),e._UZ(5,"input",34)(6,"button",35)(7,"cd-copy-2-clipboard-button",36),e.qZA(),e.YNc(8,dn,2,0,"span",13),e.qZA()()),2&t){const _=e.oxw(),o=e.MAs(7);e.xp6(1),e.Q6J("ngClass",e.VKq(3,Ve,!_.viewing)),e.xp6(4),e.Q6J("readonly",_.viewing),e.xp6(3),e.Q6J("ngIf",_.formGroup.showError("access_key",o,"required"))}}function gn(t,n){1&t&&(e.TgZ(0,"span",24),e.SDv(1,43),e.qZA())}function Rn(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",38),e.SDv(2,39),e.qZA(),e.TgZ(3,"div",10)(4,"div",33),e._UZ(5,"input",40)(6,"button",41)(7,"cd-copy-2-clipboard-button",42),e.qZA(),e.YNc(8,gn,2,0,"span",13),e.qZA()()),2&t){const _=e.oxw(),o=e.MAs(7);e.xp6(1),e.Q6J("ngClass",e.VKq(3,Ve,!_.viewing)),e.xp6(4),e.Q6J("readonly",_.viewing),e.xp6(3),e.Q6J("ngIf",_.formGroup.showError("secret_key",o,"required"))}}let m_=(()=>{class t{constructor(_,o,i){this.formBuilder=_,this.activeModal=o,this.actionLabels=i,this.submitAction=new e.vpe,this.viewing=!0,this.userCandidates=[],this.resource="S3 Key",this.createForm()}createForm(){this.formGroup=this.formBuilder.group({user:[null,[a.kI.required]],generate_key:[!0],access_key:[null,[m.h.requiredIf({generate_key:!1})]],secret_key:[null,[m.h.requiredIf({generate_key:!1})]]})}setViewing(_=!0){this.viewing=_,this.action=this.viewing?this.actionLabels.SHOW:this.actionLabels.CREATE}setValues(_,o,i){this.formGroup.setValue({user:_,generate_key:E().isEmpty(o),access_key:o,secret_key:i})}setUserCandidates(_){this.userCandidates=_}onSubmit(){this.submitAction.emit(this.formGroup.value),this.activeModal.close()}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(ae.O),e.Y36(G.Kz),e.Y36(I.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-user-s3-key-modal"]],outputs:{submitAction:"submitAction"},decls:23,vars:24,consts:function(){let n,_,o,i,s,l,r,d,u;return n="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",_="Username",o="-- Select a username --",i="This field is required.",s="Auto-generate key",l="Access key",r="This field is required.",d="Secret key",u="This field is required.",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","user",1,"cd-col-form-label",3,"ngClass"],_,[1,"cd-col-form-input"],["id","user","class","form-control","type","text","formControlName","user",3,"readonly",4,"ngIf"],["id","user","class","form-control","formControlName","user","autofocus","",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],["class","form-group row",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","showSubmit","submitActionEvent"],["id","user","type","text","formControlName","user",1,"form-control",3,"readonly"],["id","user","formControlName","user","autofocus","",1,"form-control"],[3,"ngValue",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"ngValue"],o,[3,"value"],[1,"invalid-feedback"],i,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","generate_key","type","checkbox","formControlName","generate_key",1,"custom-control-input"],["for","generate_key",1,"custom-control-label"],s,["for","access_key",1,"cd-col-form-label",3,"ngClass"],l,[1,"input-group"],["id","access_key","type","password","formControlName","access_key",1,"form-control",3,"readonly"],["type","button","cdPasswordButton","access_key",1,"btn","btn-light"],["source","access_key"],r,["for","secret_key",1,"cd-col-form-label",3,"ngClass"],d,["id","secret_key","type","password","formControlName","secret_key",1,"form-control",3,"readonly"],["type","button","cdPasswordButton","secret_key",1,"btn","btn-light"],["source","secret_key"],u]},template:function(_,o){if(1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10),e.YNc(13,nn,1,1,"input",11),e.YNc(14,ln,3,2,"select",12),e.YNc(15,rn,2,0,"span",13),e.qZA()(),e.YNc(16,cn,6,0,"div",14),e.YNc(17,un,9,5,"div",14),e.YNc(18,Rn,9,5,"div",14),e.qZA(),e.TgZ(19,"div",15)(20,"cd-form-button-panel",16),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(21,"titlecase"),e.ALo(22,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&_){const i=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,14,o.action))(e.lcZ(4,16,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.formGroup),e.xp6(4),e.Q6J("ngClass",e.VKq(22,Ve,!o.viewing)),e.xp6(3),e.Q6J("ngIf",o.viewing),e.xp6(1),e.Q6J("ngIf",!o.viewing),e.xp6(1),e.Q6J("ngIf",o.formGroup.showError("user",i,"required")),e.xp6(1),e.Q6J("ngIf",!o.viewing),e.xp6(1),e.Q6J("ngIf",!o.formGroup.getValue("generate_key")),e.xp6(1),e.Q6J("ngIf",!o.formGroup.getValue("generate_key")),e.xp6(2),e.Q6J("form",o.formGroup)("submitText",e.lcZ(21,18,o.action)+" "+e.lcZ(22,20,o.resource))("showSubmit",!o.viewing)}},dependencies:[T.mk,T.sg,T.O5,X.z,pe.s,B.p,fe.U,Xe.C,k.o,q.b,z.P,H.V,a._Y,a.YN,a.Kr,a.Fj,a.Wl,a.EJ,a.JJ,a.JL,a.sg,a.u,T.rS,_e.m]}),t})();class Tn{}function En(t,n){1&t&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function fn(t,n){1&t&&(e.TgZ(0,"span",29),e.SDv(1,31),e.qZA())}function pn(t,n){if(1&t&&(e.TgZ(0,"option",32),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",_," ")}}function mn(t,n){1&t&&(e.TgZ(0,"span",29),e.SDv(1,33),e.qZA())}function Mn(t,n){1&t&&(e.TgZ(0,"span",29),e.SDv(1,47),e.qZA())}function Sn(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",41),e.SDv(2,42),e.qZA(),e.TgZ(3,"div",10)(4,"div",43),e._UZ(5,"input",44)(6,"button",45)(7,"cd-copy-2-clipboard-button",46),e.qZA(),e.YNc(8,Mn,2,0,"span",15),e.qZA()()),2&t){const _=e.oxw(2),o=e.MAs(7);e.xp6(8),e.Q6J("ngIf",_.formGroup.showError("secret_key",o,"required"))}}function Cn(t,n){if(1&t&&(e.TgZ(0,"fieldset")(1,"legend"),e.SDv(2,34),e.qZA(),e.TgZ(3,"div",7)(4,"div",35)(5,"div",36),e._UZ(6,"input",37),e.TgZ(7,"label",38),e.SDv(8,39),e.qZA()()()(),e.YNc(9,Sn,9,1,"div",40),e.qZA()),2&t){const _=e.oxw();e.xp6(9),e.Q6J("ngIf",!_.editing&&!_.formGroup.getValue("generate_secret"))}}const On=function(t){return{required:t}},Fn=function(){return["read","write"]};let Pn=(()=>{class t{constructor(_,o,i){this.formBuilder=_,this.bsModalRef=o,this.actionLabels=i,this.submitAction=new e.vpe,this.editing=!0,this.subusers=[],this.resource="Subuser",this.createForm()}createForm(){this.formGroup=this.formBuilder.group({uid:[null],subuid:[null,[a.kI.required,this.subuserValidator()]],perm:[null,[a.kI.required]],generate_secret:[!0],secret_key:[null,[m.h.requiredIf({generate_secret:!1})]]})}subuserValidator(){const _=this;return o=>_.editing||(0,m.P)(o.value)?null:_.subusers.some(s=>E().isEqual(_.getSubuserName(s.id),o.value))?{subuserIdExists:!0}:null}getSubuserName(_){if(E().isEmpty(_))return _;const o=_.match(/([^:]+)(:(.+))?/);return E().isUndefined(o[3])?o[1]:o[3]}setEditing(_=!0){this.editing=_,this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.CREATE}setValues(_,o="",i=""){this.formGroup.setValue({uid:_,subuid:this.getSubuserName(o),perm:i,generate_secret:!0,secret_key:null})}setSubusers(_){this.subusers=_}onSubmit(){const _=this.formGroup.value,o=new Tn;o.id=`${_.uid}:${_.subuid}`,o.permissions=_.perm,o.generate_secret=_.generate_secret,o.secret_key=_.secret_key,this.submitAction.emit(o),this.bsModalRef.close()}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(ae.O),e.Y36(G.Kz),e.Y36(I.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-user-subuser-modal"]],outputs:{submitAction:"submitAction"},decls:39,vars:26,consts:function(){let n,_,o,i,s,l,r,d,u,R,O,F,b,h;return n="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",_="Username",o="Subuser",i="Permission",s="-- Select a permission --",l="read, write",r="full",d="This field is required.",u="The chosen subuser ID is already in use.",R="This field is required.",O="Swift key",F="Auto-generate secret",b="Secret key",h="This field is required.",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","uid",1,"cd-col-form-label"],_,[1,"cd-col-form-input"],["id","uid","type","text","formControlName","uid",1,"form-control",3,"readonly"],["for","subuid",1,"cd-col-form-label",3,"ngClass"],o,["id","subuid","type","text","formControlName","subuid","autofocus","",1,"form-control",3,"readonly"],["class","invalid-feedback",4,"ngIf"],["for","perm",1,"cd-col-form-label","required"],i,["id","perm","formControlName","perm",1,"form-select"],[3,"ngValue"],s,[3,"value",4,"ngFor","ngForOf"],["value","read-write"],l,["value","full-control"],r,[4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],d,u,[3,"value"],R,O,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","generate_secret","type","checkbox","formControlName","generate_secret",1,"custom-control-input"],["for","generate_secret",1,"custom-control-label"],F,["class","form-group row",4,"ngIf"],["for","secret_key",1,"cd-col-form-label","required"],b,[1,"input-group"],["id","secret_key","type","password","formControlName","secret_key",1,"form-control"],["type","button","cdPasswordButton","secret_key",1,"btn","btn-light"],["source","secret_key"],h]},template:function(_,o){if(1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10),e._UZ(13,"input",11),e.qZA()(),e.TgZ(14,"div",7)(15,"label",12),e.SDv(16,13),e.qZA(),e.TgZ(17,"div",10),e._UZ(18,"input",14),e.YNc(19,En,2,0,"span",15),e.YNc(20,fn,2,0,"span",15),e.qZA()(),e.TgZ(21,"div",7)(22,"label",16),e.SDv(23,17),e.qZA(),e.TgZ(24,"div",10)(25,"select",18)(26,"option",19),e.SDv(27,20),e.qZA(),e.YNc(28,pn,2,2,"option",21),e.TgZ(29,"option",22),e.SDv(30,23),e.qZA(),e.TgZ(31,"option",24),e.SDv(32,25),e.qZA()(),e.YNc(33,mn,2,0,"span",15),e.qZA()(),e.YNc(34,Cn,10,1,"fieldset",26),e.qZA(),e.TgZ(35,"div",27)(36,"cd-form-button-panel",28),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(37,"titlecase"),e.ALo(38,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&_){const i=e.MAs(7);e.Q6J("modalRef",o.bsModalRef),e.xp6(4),e.pQV(e.lcZ(3,15,o.action))(e.lcZ(4,17,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.formGroup),e.xp6(7),e.Q6J("readonly",!0),e.xp6(2),e.Q6J("ngClass",e.VKq(23,On,!o.editing)),e.xp6(3),e.Q6J("readonly",o.editing),e.xp6(1),e.Q6J("ngIf",o.formGroup.showError("subuid",i,"required")),e.xp6(1),e.Q6J("ngIf",o.formGroup.showError("subuid",i,"subuserIdExists")),e.xp6(6),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",e.DdM(25,Fn)),e.xp6(5),e.Q6J("ngIf",o.formGroup.showError("perm",i,"required")),e.xp6(1),e.Q6J("ngIf",!o.editing),e.xp6(2),e.Q6J("form",o.formGroup)("submitText",e.lcZ(37,19,o.action)+" "+e.lcZ(38,21,o.resource))}},dependencies:[T.mk,T.sg,T.O5,X.z,pe.s,B.p,fe.U,Xe.C,k.o,q.b,z.P,H.V,a._Y,a.YN,a.Kr,a.Fj,a.Wl,a.EJ,a.JJ,a.JL,a.sg,a.u,T.rS,_e.m]}),t})();var M_=c(13472);let S_=(()=>{class t{constructor(_,o){this.activeModal=_,this.actionLabels=o,this.resource="Swift Key",this.action=this.actionLabels.SHOW}setValues(_,o){this.user=_,this.secret_key=o}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(G.Kz),e.Y36(I.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-user-swift-key-modal"]],decls:23,vars:11,consts:function(){let n,_,o;return n="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",_="Username",o="Secret key",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],[1,"modal-body"],["novalidate",""],[1,"form-group","row"],["for","user",1,"cd-col-form-label"],_,[1,"cd-col-form-input"],["id","user","name","user","type","text",1,"form-control",3,"readonly","ngModel","ngModelChange"],["for","secret_key",1,"cd-col-form-label"],o,[1,"input-group"],["id","secret_key","name","secret_key","type","password",1,"form-control",3,"ngModel","readonly","ngModelChange"],["type","button","cdPasswordButton","secret_key",1,"btn","btn-light"],["source","secret_key"],[1,"modal-footer"],[3,"backAction"]]},template:function(_,o){1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"div",4)(7,"form",5)(8,"div",6)(9,"label",7),e.SDv(10,8),e.qZA(),e.TgZ(11,"div",9)(12,"input",10),e.NdJ("ngModelChange",function(s){return o.user=s}),e.qZA()()(),e.TgZ(13,"div",6)(14,"label",11),e.SDv(15,12),e.qZA(),e.TgZ(16,"div",9)(17,"div",13)(18,"input",14),e.NdJ("ngModelChange",function(s){return o.secret_key=s}),e.qZA(),e._UZ(19,"button",15)(20,"cd-copy-2-clipboard-button",16),e.qZA()()()()(),e.TgZ(21,"div",17)(22,"cd-back-button",18),e.NdJ("backAction",function(){return o.activeModal.close()}),e.qZA()(),e.BQk(),e.qZA()),2&_&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,7,o.action))(e.lcZ(4,9,o.resource)),e.QtT(2),e.xp6(8),e.Q6J("readonly",!0)("ngModel",o.user),e.xp6(6),e.Q6J("ngModel",o.secret_key)("readonly",!0))},dependencies:[M_.W,X.z,pe.s,Xe.C,k.o,q.b,z.P,a._Y,a.Fj,a.JJ,a.JL,a.On,a.F,T.rS,_e.m]}),t})();var Nn=c(17932);function Gn(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,51),e.qZA())}function An(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,52),e.qZA())}function In(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,53),e.qZA())}function bn(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,57),e.qZA())}function hn(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,58),e.qZA())}function Ln(t,n){if(1&t&&(e.TgZ(0,"div",8)(1,"label",54),e.SDv(2,55),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",56),e.YNc(5,bn,2,0,"span",13),e.YNc(6,hn,2,0,"span",13),e.qZA()()),2&t){e.oxw();const _=e.MAs(2),o=e.oxw();e.xp6(4),e.Q6J("readonly",o.editing),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("tenant",_,"pattern")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("tenant",_,"notUnique"))}}function Wn(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,59),e.qZA())}function $n(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,60),e.qZA())}function Zn(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,61),e.qZA())}function Dn(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,62),e.qZA())}function Un(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,65),e.qZA())}function vn(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,66),e.qZA())}function yn(t,n){if(1&t&&(e.TgZ(0,"div",8),e._UZ(1,"label",63),e.TgZ(2,"div",11),e._UZ(3,"input",64),e.YNc(4,Un,2,0,"span",13),e.YNc(5,vn,2,0,"span",13),e.qZA()()),2&t){e.oxw();const _=e.MAs(2),o=e.oxw();e.xp6(4),e.Q6J("ngIf",o.userForm.showError("max_buckets",_,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("max_buckets",_,"min"))}}function wn(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,77),e.qZA())}function xn(t,n){if(1&t&&(e.TgZ(0,"div",8)(1,"label",71),e.SDv(2,72),e.qZA(),e.TgZ(3,"div",11)(4,"div",73),e._UZ(5,"input",74)(6,"button",75)(7,"cd-copy-2-clipboard-button",76),e.qZA(),e.YNc(8,wn,2,0,"span",13),e.qZA()()),2&t){e.oxw(2);const _=e.MAs(2),o=e.oxw();e.xp6(8),e.Q6J("ngIf",o.userForm.showError("access_key",_,"required"))}}function kn(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,83),e.qZA())}function zn(t,n){if(1&t&&(e.TgZ(0,"div",8)(1,"label",78),e.SDv(2,79),e.qZA(),e.TgZ(3,"div",11)(4,"div",73),e._UZ(5,"input",80)(6,"button",81)(7,"cd-copy-2-clipboard-button",82),e.qZA(),e.YNc(8,kn,2,0,"span",13),e.qZA()()),2&t){e.oxw(2);const _=e.MAs(2),o=e.oxw();e.xp6(8),e.Q6J("ngIf",o.userForm.showError("secret_key",_,"required"))}}function qn(t,n){if(1&t&&(e.TgZ(0,"fieldset")(1,"legend"),e.SDv(2,67),e.qZA(),e.TgZ(3,"div",8)(4,"div",14)(5,"div",15),e._UZ(6,"input",68),e.TgZ(7,"label",69),e.SDv(8,70),e.qZA()()()(),e.YNc(9,xn,9,1,"div",19),e.YNc(10,zn,9,1,"div",19),e.qZA()),2&t){const _=e.oxw(2);e.xp6(9),e.Q6J("ngIf",!_.editing&&!_.userForm.getValue("generate_key")),e.xp6(1),e.Q6J("ngIf",!_.editing&&!_.userForm.getValue("generate_key"))}}function Hn(t,n){1&t&&(e.TgZ(0,"span",94)(1,"span",95),e.SDv(2,96),e.qZA()())}const K=function(t){return[t]};function Xn(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"span")(1,"div",73)(2,"span",97),e._UZ(3,"i"),e.qZA(),e._UZ(4,"input",98),e.TgZ(5,"span",97),e._UZ(6,"i"),e.qZA(),e._UZ(7,"input",98),e.TgZ(8,"button",99),e.NdJ("click",function(){const s=e.CHM(_).index,l=e.oxw(3);return e.KtG(l.showSubuserModal(s))}),e._UZ(9,"i",91),e.qZA(),e.TgZ(10,"button",100),e.NdJ("click",function(){const s=e.CHM(_).index,l=e.oxw(3);return e.KtG(l.deleteSubuser(s))}),e._UZ(11,"i",91),e.qZA()(),e._UZ(12,"span",95),e.qZA()}if(2&t){const _=n.$implicit,o=e.oxw(3);e.xp6(3),e.Tol(o.icons.user),e.xp6(1),e.s9C("value",_.id),e.xp6(2),e.Tol(o.icons.share),e.xp6(1),e.s9C("value","full-control"===_.permissions?"full":_.permissions),e.xp6(2),e.Q6J("ngClass",e.VKq(10,K,o.icons.edit)),e.xp6(2),e.Q6J("ngClass",e.VKq(12,K,o.icons.destroy))}}function Bn(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"fieldset")(1,"legend"),e.SDv(2,84),e.qZA(),e.TgZ(3,"div",85)(4,"div",14),e.YNc(5,Hn,3,0,"span",86),e.YNc(6,Xn,13,14,"span",87),e.TgZ(7,"div",88)(8,"div",89)(9,"button",90),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(2);return e.KtG(i.showSubuserModal())}),e._UZ(10,"i",91),e.ynx(11),e.SDv(12,92),e.ALo(13,"titlecase"),e.ALo(14,"upperFirst"),e.BQk(),e.qZA()()(),e._UZ(15,"span",93),e.qZA()()()}if(2&t){const _=e.oxw(2);e.xp6(5),e.Q6J("ngIf",0===_.subusers.length),e.xp6(1),e.Q6J("ngForOf",_.subusers),e.xp6(4),e.Q6J("ngClass",e.VKq(9,K,_.icons.add)),e.xp6(4),e.pQV(e.lcZ(13,5,_.actionLabels.CREATE))(e.lcZ(14,7,_.subuserLabel)),e.QtT(12)}}function Qn(t,n){1&t&&(e.TgZ(0,"span",94)(1,"span",95),e.SDv(2,106),e.qZA()())}function Yn(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"span")(1,"div",73)(2,"div",97),e._UZ(3,"i"),e.qZA(),e._UZ(4,"input",98),e.TgZ(5,"button",107),e.NdJ("click",function(){const s=e.CHM(_).index,l=e.oxw(3);return e.KtG(l.showS3KeyModal(s))}),e._UZ(6,"i",91),e.qZA(),e.TgZ(7,"button",108),e.NdJ("click",function(){const s=e.CHM(_).index,l=e.oxw(3);return e.KtG(l.deleteS3Key(s))}),e._UZ(8,"i",91),e.qZA()(),e._UZ(9,"span",95),e.qZA()}if(2&t){const _=n.$implicit,o=e.oxw(3);e.xp6(3),e.Tol(o.icons.key),e.xp6(1),e.s9C("value",_.user),e.xp6(2),e.Q6J("ngClass",e.VKq(6,K,o.icons.show)),e.xp6(2),e.Q6J("ngClass",e.VKq(8,K,o.icons.destroy))}}function Jn(t,n){1&t&&(e.TgZ(0,"span",94)(1,"span",95),e.SDv(2,109),e.qZA()())}function Kn(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"span")(1,"div",73)(2,"span",97),e._UZ(3,"i"),e.qZA(),e._UZ(4,"input",98),e.TgZ(5,"button",110),e.NdJ("click",function(){const s=e.CHM(_).index,l=e.oxw(3);return e.KtG(l.showSwiftKeyModal(s))}),e._UZ(6,"i",91),e.qZA()(),e._UZ(7,"span",95),e.qZA()}if(2&t){const _=n.$implicit,o=e.oxw(3);e.xp6(3),e.Tol(o.icons.key),e.xp6(1),e.s9C("value",_.user),e.xp6(2),e.Q6J("ngClass",e.VKq(5,K,o.icons.show))}}function Vn(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"fieldset")(1,"legend"),e.SDv(2,101),e.qZA(),e.TgZ(3,"div",8)(4,"label",63),e.SDv(5,102),e.qZA(),e.TgZ(6,"div",11),e.YNc(7,Qn,3,0,"span",86),e.YNc(8,Yn,10,10,"span",87),e.TgZ(9,"div",88)(10,"div",89)(11,"button",103),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(2);return e.KtG(i.showS3KeyModal())}),e._UZ(12,"i",91),e.ynx(13),e.SDv(14,104),e.ALo(15,"titlecase"),e.ALo(16,"upperFirst"),e.BQk(),e.qZA()()(),e._UZ(17,"span",93),e.qZA(),e._UZ(18,"hr"),e.qZA(),e.TgZ(19,"div",8)(20,"label",63),e.SDv(21,105),e.qZA(),e.TgZ(22,"div",11),e.YNc(23,Jn,3,0,"span",86),e.YNc(24,Kn,8,7,"span",87),e.qZA()()()}if(2&t){const _=e.oxw(2);e.xp6(7),e.Q6J("ngIf",0===_.s3Keys.length),e.xp6(1),e.Q6J("ngForOf",_.s3Keys),e.xp6(4),e.Q6J("ngClass",e.VKq(11,K,_.icons.add)),e.xp6(4),e.pQV(e.lcZ(15,7,_.actionLabels.CREATE))(e.lcZ(16,9,_.s3keyLabel)),e.QtT(14),e.xp6(7),e.Q6J("ngIf",0===_.swiftKeys.length),e.xp6(1),e.Q6J("ngForOf",_.swiftKeys)}}function jn(t,n){1&t&&(e.TgZ(0,"span",94)(1,"span",95),e.SDv(2,114),e.qZA()())}function ei(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"span")(1,"div",73)(2,"div",97),e._UZ(3,"i"),e.qZA(),e._UZ(4,"input",98),e.TgZ(5,"button",115),e.NdJ("click",function(){const s=e.CHM(_).index,l=e.oxw(3);return e.KtG(l.showCapabilityModal(s))}),e._UZ(6,"i",91),e.qZA(),e.TgZ(7,"button",116),e.NdJ("click",function(){const s=e.CHM(_).index,l=e.oxw(3);return e.KtG(l.deleteCapability(s))}),e._UZ(8,"i",91),e.qZA()(),e._UZ(9,"span",95),e.qZA()}if(2&t){const _=n.$implicit,o=e.oxw(3);e.xp6(3),e.Tol(o.icons.share),e.xp6(1),e.hYB("value","",_.type,":",_.perm,""),e.xp6(2),e.Q6J("ngClass",e.VKq(7,K,o.icons.edit)),e.xp6(2),e.Q6J("ngClass",e.VKq(9,K,o.icons.destroy))}}function _i(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"fieldset")(1,"legend"),e.SDv(2,111),e.qZA(),e.TgZ(3,"div",8)(4,"div",14),e.YNc(5,jn,3,0,"span",86),e.YNc(6,ei,10,11,"span",87),e.TgZ(7,"div",88)(8,"div",89)(9,"button",112),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(2);return e.KtG(i.showCapabilityModal())}),e.ALo(10,"pipeFunction"),e.ALo(11,"pipeFunction"),e._UZ(12,"i",91),e.ynx(13),e.SDv(14,113),e.ALo(15,"titlecase"),e.ALo(16,"upperFirst"),e.BQk(),e.qZA()()(),e._UZ(17,"span",93),e.qZA()()()}if(2&t){const _=e.oxw(2);e.xp6(5),e.Q6J("ngIf",0===_.capabilities.length),e.xp6(1),e.Q6J("ngForOf",_.capabilities),e.xp6(3),e.Q6J("disabled",e.xi3(10,7,_.capabilities,_.hasAllCapabilities))("disableTooltip",!e.xi3(11,10,_.capabilities,_.hasAllCapabilities)),e.xp6(3),e.Q6J("ngClass",e.VKq(17,K,_.icons.add)),e.xp6(4),e.pQV(e.lcZ(15,13,_.actionLabels.ADD))(e.lcZ(16,15,_.capabilityLabel)),e.QtT(14)}}function ti(t,n){1&t&&(e.TgZ(0,"div",8)(1,"div",14)(2,"div",15),e._UZ(3,"input",117),e.TgZ(4,"label",118),e.SDv(5,119),e.qZA()()()())}function oi(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,123),e.qZA())}function ni(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,124),e.qZA())}function ii(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,125),e.qZA())}function si(t,n){if(1&t&&(e.TgZ(0,"div",8)(1,"label",120),e.SDv(2,121),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",122),e.YNc(5,oi,2,0,"span",13),e.YNc(6,ni,2,0,"span",13),e.YNc(7,ii,2,0,"span",13),e.qZA()()),2&t){e.oxw();const _=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.userForm.showError("user_quota_max_size",_,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("user_quota_max_size",_,"quotaMaxSize")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("user_quota_max_size",o.formDir,"pattern"))}}function ai(t,n){1&t&&(e.TgZ(0,"div",8)(1,"div",14)(2,"div",15),e._UZ(3,"input",126),e.TgZ(4,"label",127),e.SDv(5,128),e.qZA()()()())}function li(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,132),e.qZA())}function ri(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,133),e.qZA())}function ci(t,n){if(1&t&&(e.TgZ(0,"div",8)(1,"label",129),e.SDv(2,130),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",131),e.YNc(5,li,2,0,"span",13),e.YNc(6,ri,2,0,"span",13),e.qZA()()),2&t){e.oxw();const _=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.userForm.showError("user_quota_max_objects",_,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("user_quota_max_objects",_,"min"))}}function di(t,n){1&t&&(e.TgZ(0,"div",8)(1,"div",14)(2,"div",15),e._UZ(3,"input",134),e.TgZ(4,"label",135),e.SDv(5,136),e.qZA()()()())}function ui(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,140),e.qZA())}function gi(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,141),e.qZA())}function Ri(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,142),e.qZA())}function Ti(t,n){if(1&t&&(e.TgZ(0,"div",8)(1,"label",137),e.SDv(2,138),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",139),e.YNc(5,ui,2,0,"span",13),e.YNc(6,gi,2,0,"span",13),e.YNc(7,Ri,2,0,"span",13),e.qZA()()),2&t){e.oxw();const _=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.userForm.showError("bucket_quota_max_size",_,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("bucket_quota_max_size",_,"quotaMaxSize")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("bucket_quota_max_size",o.formDir,"pattern"))}}function Ei(t,n){1&t&&(e.TgZ(0,"div",8)(1,"div",14)(2,"div",15),e._UZ(3,"input",143),e.TgZ(4,"label",144),e.SDv(5,145),e.qZA()()()())}function fi(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,149),e.qZA())}function pi(t,n){1&t&&(e.TgZ(0,"span",50),e.SDv(1,150),e.qZA())}function mi(t,n){if(1&t&&(e.TgZ(0,"div",8)(1,"label",146),e.SDv(2,147),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",148),e.YNc(5,fi,2,0,"span",13),e.YNc(6,pi,2,0,"span",13),e.qZA()()),2&t){e.oxw();const _=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.userForm.showError("bucket_quota_max_objects",_,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("bucket_quota_max_objects",_,"min"))}}const C_=function(t){return{required:t}};function Mi(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",7)(9,"div",8)(10,"label",9),e.SDv(11,10),e.qZA(),e.TgZ(12,"div",11),e._UZ(13,"input",12),e.YNc(14,Gn,2,0,"span",13),e.YNc(15,An,2,0,"span",13),e.YNc(16,In,2,0,"span",13),e.qZA()(),e.TgZ(17,"div",8)(18,"div",14)(19,"div",15)(20,"input",16),e.NdJ("click",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.updateFieldsWhenTenanted())}),e.qZA(),e.TgZ(21,"label",17),e.SDv(22,18),e.qZA()()()(),e.YNc(23,Ln,7,3,"div",19),e.TgZ(24,"div",8)(25,"label",20),e.SDv(26,21),e.qZA(),e.TgZ(27,"div",11),e._UZ(28,"input",22),e.YNc(29,Wn,2,0,"span",13),e.YNc(30,$n,2,0,"span",13),e.qZA()(),e.TgZ(31,"div",8)(32,"label",23),e.SDv(33,24),e.qZA(),e.TgZ(34,"div",11),e._UZ(35,"input",25),e.YNc(36,Zn,2,0,"span",13),e.YNc(37,Dn,2,0,"span",13),e.qZA()(),e.TgZ(38,"div",8)(39,"label",26),e.SDv(40,27),e.qZA(),e.TgZ(41,"div",11)(42,"select",28),e.NdJ("change",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.onMaxBucketsModeChange(i.target.value))}),e.TgZ(43,"option",29),e.SDv(44,30),e.qZA(),e.TgZ(45,"option",31),e.SDv(46,32),e.qZA(),e.TgZ(47,"option",33),e.SDv(48,34),e.qZA()()()(),e.YNc(49,yn,6,2,"div",19),e.TgZ(50,"div",8)(51,"div",14)(52,"div",15),e._UZ(53,"input",35),e.TgZ(54,"label",36),e.SDv(55,37),e.qZA(),e.TgZ(56,"cd-helper"),e.SDv(57,38),e.qZA()()()(),e.YNc(58,qn,11,2,"fieldset",39),e.YNc(59,Bn,16,11,"fieldset",39),e.YNc(60,Vn,25,13,"fieldset",39),e.YNc(61,_i,18,19,"fieldset",39),e.TgZ(62,"fieldset")(63,"legend"),e.SDv(64,40),e.qZA(),e.TgZ(65,"div",8)(66,"div",14)(67,"div",15),e._UZ(68,"input",41),e.TgZ(69,"label",42),e.SDv(70,43),e.qZA()()()(),e.YNc(71,ti,6,0,"div",19),e.YNc(72,si,8,3,"div",19),e.YNc(73,ai,6,0,"div",19),e.YNc(74,ci,7,2,"div",19),e.qZA(),e.TgZ(75,"fieldset")(76,"legend"),e.SDv(77,44),e.qZA(),e.TgZ(78,"div",8)(79,"div",14)(80,"div",15),e._UZ(81,"input",45),e.TgZ(82,"label",46),e.SDv(83,47),e.qZA()()()(),e.YNc(84,di,6,0,"div",19),e.YNc(85,Ti,8,3,"div",19),e.YNc(86,Ei,6,0,"div",19),e.YNc(87,mi,7,2,"div",19),e.qZA()(),e.TgZ(88,"div",48)(89,"cd-form-button-panel",49),e.NdJ("submitActionEvent",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.onSubmit())}),e.ALo(90,"titlecase"),e.ALo(91,"upperFirst"),e.qZA()()()()()}if(2&t){const _=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("formGroup",o.userForm),e.xp6(6),e.pQV(e.lcZ(6,30,o.action))(e.lcZ(7,32,o.resource)),e.QtT(5),e.xp6(3),e.Q6J("ngClass",e.VKq(38,C_,!o.editing)),e.xp6(3),e.Q6J("readonly",o.editing),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("user_id",_,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("user_id",_,"pattern")),e.xp6(1),e.Q6J("ngIf",!o.userForm.getValue("show_tenant")&&o.userForm.showError("user_id",_,"notUnique")),e.xp6(4),e.Q6J("readonly",!0),e.xp6(3),e.Q6J("ngIf",o.userForm.getValue("show_tenant")),e.xp6(2),e.Q6J("ngClass",e.VKq(40,C_,!o.editing)),e.xp6(4),e.Q6J("ngIf",o.userForm.showError("display_name",_,"pattern")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("display_name",_,"required")),e.xp6(6),e.Q6J("ngIf",o.userForm.showError("email",_,"email")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("email",_,"notUnique")),e.xp6(12),e.Q6J("ngIf",1==o.userForm.get("max_buckets_mode").value),e.xp6(9),e.Q6J("ngIf",!o.editing),e.xp6(1),e.Q6J("ngIf",o.editing),e.xp6(1),e.Q6J("ngIf",o.editing),e.xp6(1),e.Q6J("ngIf",o.editing),e.xp6(10),e.Q6J("ngIf",o.userForm.controls.user_quota_enabled.value),e.xp6(1),e.Q6J("ngIf",o.userForm.controls.user_quota_enabled.value&&!o.userForm.getValue("user_quota_max_size_unlimited")),e.xp6(1),e.Q6J("ngIf",o.userForm.controls.user_quota_enabled.value),e.xp6(1),e.Q6J("ngIf",o.userForm.controls.user_quota_enabled.value&&!o.userForm.getValue("user_quota_max_objects_unlimited")),e.xp6(10),e.Q6J("ngIf",o.userForm.controls.bucket_quota_enabled.value),e.xp6(1),e.Q6J("ngIf",o.userForm.controls.bucket_quota_enabled.value&&!o.userForm.getValue("bucket_quota_max_size_unlimited")),e.xp6(1),e.Q6J("ngIf",o.userForm.controls.bucket_quota_enabled.value),e.xp6(1),e.Q6J("ngIf",o.userForm.controls.bucket_quota_enabled.value&&!o.userForm.getValue("bucket_quota_max_objects_unlimited")),e.xp6(2),e.Q6J("form",o.userForm)("submitText",e.lcZ(90,34,o.action)+" "+e.lcZ(91,36,o.resource))}}let O_=(()=>{class t extends l_.E{constructor(_,o,i,s,l,r,d){super(),this.formBuilder=_,this.route=o,this.router=i,this.rgwUserService=s,this.modalService=l,this.notificationService=r,this.actionLabels=d,this.editing=!1,this.submitObservables=[],this.icons=$.P,this.subusers=[],this.s3Keys=[],this.swiftKeys=[],this.capabilities=[],this.showTenant=!1,this.previousTenant=null,this.resource="user",this.subuserLabel="subuser",this.s3keyLabel="S3 Key",this.capabilityLabel="capability",this.editing=this.router.url.startsWith(`/rgw/user/${I.MQ.EDIT}`),this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.CREATE,this.createForm()}createForm(){this.userForm=this.formBuilder.group({user_id:[null,[a.kI.required,a.kI.pattern(/^[a-zA-Z0-9!@#%^&*()_-]+$/)],this.editing?[]:[m.h.unique(this.rgwUserService.exists,this.rgwUserService,()=>this.userForm.getValue("tenant"))]],show_tenant:[this.editing],tenant:[null,[a.kI.pattern(/^[a-zA-Z0-9!@#%^&*()_-]+$/)],this.editing?[]:[m.h.unique(this.rgwUserService.exists,this.rgwUserService,()=>this.userForm.getValue("user_id"),!0)]],display_name:[null,[a.kI.required,a.kI.pattern(/^[a-zA-Z0-9!@#%^&*()_ -]+$/)]],email:[null,[m.h.email],[m.h.unique(this.rgwUserService.emailExists,this.rgwUserService)]],max_buckets_mode:[1],max_buckets:[1e3,[m.h.requiredIf({max_buckets_mode:"1"}),m.h.number(!1)]],suspended:[!1],generate_key:[!0],access_key:[null,[m.h.requiredIf({generate_key:!1})]],secret_key:[null,[m.h.requiredIf({generate_key:!1})]],user_quota_enabled:[!1],user_quota_max_size_unlimited:[!0],user_quota_max_size:[null,[m.h.composeIf({user_quota_enabled:!0,user_quota_max_size_unlimited:!1},[a.kI.required,this.quotaMaxSizeValidator])]],user_quota_max_objects_unlimited:[!0],user_quota_max_objects:[null,[m.h.requiredIf({user_quota_enabled:!0,user_quota_max_objects_unlimited:!1})]],bucket_quota_enabled:[!1],bucket_quota_max_size_unlimited:[!0],bucket_quota_max_size:[null,[m.h.composeIf({bucket_quota_enabled:!0,bucket_quota_max_size_unlimited:!1},[a.kI.required,this.quotaMaxSizeValidator])]],bucket_quota_max_objects_unlimited:[!0],bucket_quota_max_objects:[null,[m.h.requiredIf({bucket_quota_enabled:!0,bucket_quota_max_objects_unlimited:!1})]]})}ngOnInit(){this.route.params.subscribe(_=>{if(!_.hasOwnProperty("uid"))return void this.loadingReady();const o=decodeURIComponent(_.uid),i=[];i.push(this.rgwUserService.get(o)),i.push(this.rgwUserService.getQuota(o)),(0,ne.D)(i).subscribe(s=>{const l=E().clone(this.userForm.value);let r=E().pick(s[0],E().keys(this.userForm.value));switch(r.max_buckets){case-1:r.max_buckets_mode=-1,r.max_buckets="";break;case 0:r.max_buckets_mode=0,r.max_buckets="";break;default:r.max_buckets_mode=1}["user","bucket"].forEach(u=>{const R=s[1][u+"_quota"];r[u+"_quota_enabled"]=R.enabled,R.max_size<0?(r[u+"_quota_max_size_unlimited"]=!0,r[u+"_quota_max_size"]=null):(r[u+"_quota_max_size_unlimited"]=!1,r[u+"_quota_max_size"]=`${R.max_size} B`),R.max_objects<0?(r[u+"_quota_max_objects_unlimited"]=!0,r[u+"_quota_max_objects"]=null):(r[u+"_quota_max_objects_unlimited"]=!1,r[u+"_quota_max_objects"]=R.max_objects)}),r=E().merge(l,r),this.userForm.setValue(r),this.subusers=s[0].subusers,this.s3Keys=s[0].keys,this.swiftKeys=s[0].swift_keys;const d={"read, write":"*"};s[0].caps.forEach(u=>{u.perm in d&&(u.perm=d[u.perm])}),this.capabilities=s[0].caps,this.loadingReady()},()=>{this.loadingError()})})}goToListView(){this.router.navigate(["/rgw/user"])}onSubmit(){let _;if(this.userForm.pristine)return void this.goToListView();const o=this.getUID();if(this.editing){if(this._isGeneralDirty()){const i=this._getUpdateArgs();this.submitObservables.push(this.rgwUserService.update(o,i))}_="Updated Object Gateway user '" + o + "'"}else{const i=this._getCreateArgs();this.submitObservables.push(this.rgwUserService.create(i)),_="Created Object Gateway user '" + o + "'"}if(this._isUserQuotaDirty()){const i=this._getUserQuotaArgs();this.submitObservables.push(this.rgwUserService.updateQuota(o,i))}if(this._isBucketQuotaDirty()){const i=this._getBucketQuotaArgs();this.submitObservables.push(this.rgwUserService.updateQuota(o,i))}(0,Bo.z)(...this.submitObservables).subscribe({error:()=>{this.userForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.notificationService.show(w.k.success,_),this.goToListView()}})}updateFieldsWhenTenanted(){this.showTenant=this.userForm.getValue("show_tenant"),this.showTenant?(this.userForm.get("user_id").markAsTouched(),this.previousTenant=this.userForm.get("tenant").value,this.userForm.get("tenant").patchValue(null)):(this.userForm.get("user_id").markAsUntouched(),this.userForm.get("tenant").patchValue(this.previousTenant))}getUID(){let _=this.userForm.getValue("user_id");const o=this.userForm?.getValue("tenant");return o&&o.length>0&&(_=`${this.userForm.getValue("tenant")}$${_}`),_}quotaMaxSizeValidator(_){return(0,m.P)(_.value)?null:null===RegExp("^(\\d+(\\.\\d+)?)\\s*(B|K(B|iB)?|M(B|iB)?|G(B|iB)?|T(B|iB)?)?$","i").exec(_.value)||(new Ke.H).toBytes(_.value)<1024?{quotaMaxSize:!0}:null}setSubuser(_,o){const i={"full-control":"full","read-write":"readwrite"},s=this.getUID();this.submitObservables.push(this.rgwUserService.createSubuser(s,{subuser:_.id,access:_.permissions in i?i[_.permissions]:_.permissions,key_type:"swift",secret_key:_.secret_key,generate_secret:_.generate_secret?"true":"false"})),E().isNumber(o)?this.subusers[o]=_:(this.subusers.push(_),this.swiftKeys.push({user:_.id,secret_key:_.generate_secret?"Apply your changes first...":_.secret_key})),this.userForm.markAsDirty()}deleteSubuser(_){const o=this.subusers[_];this.submitObservables.push(this.rgwUserService.deleteSubuser(this.getUID(),o.id)),this.s3Keys=this.s3Keys.filter(i=>i.user!==o.id),this.swiftKeys=this.swiftKeys.filter(i=>i.user!==o.id),this.subusers.splice(_,1),this.userForm.markAsDirty()}setCapability(_,o){const i=this.getUID();if(E().isNumber(o)){const s=this.capabilities[o];this.submitObservables.push(this.rgwUserService.deleteCapability(i,s.type,s.perm)),this.submitObservables.push(this.rgwUserService.addCapability(i,_.type,_.perm)),this.capabilities[o]=_}else this.submitObservables.push(this.rgwUserService.addCapability(i,_.type,_.perm)),this.capabilities=[...this.capabilities,_];this.userForm.markAsDirty()}deleteCapability(_){const o=this.capabilities[_];this.submitObservables.push(this.rgwUserService.deleteCapability(this.getUID(),o.type,o.perm)),this.capabilities.splice(_,1),this.capabilities=[...this.capabilities],this.userForm.markAsDirty()}hasAllCapabilities(_){return!E().difference(p_.getAll(),E().map(_,"type")).length}setS3Key(_,o){if(!E().isNumber(o)){const i=_.user.match(/([^:]+)(:(.+))?/),s=i[1],l={subuser:i[2]?i[3]:"",generate_key:_.generate_key?"true":"false"};"false"===l.generate_key&&(E().isNil(_.access_key)||(l.access_key=_.access_key),E().isNil(_.secret_key)||(l.secret_key=_.secret_key)),this.submitObservables.push(this.rgwUserService.addS3Key(s,l)),this.s3Keys.push({user:_.user,access_key:_.generate_key?"Apply your changes first...":_.access_key,secret_key:_.generate_key?"Apply your changes first...":_.secret_key})}this.userForm.markAsDirty()}deleteS3Key(_){const o=this.s3Keys[_];this.submitObservables.push(this.rgwUserService.deleteS3Key(this.getUID(),o.access_key)),this.s3Keys.splice(_,1),this.userForm.markAsDirty()}showSubuserModal(_){const o=this.getUID(),i=this.modalService.show(Pn);if(E().isNumber(_)){const s=this.subusers[_];i.componentInstance.setEditing(),i.componentInstance.setValues(o,s.id,s.permissions)}else i.componentInstance.setEditing(!1),i.componentInstance.setValues(o),i.componentInstance.setSubusers(this.subusers);i.componentInstance.submitAction.subscribe(s=>{this.setSubuser(s,_)})}showS3KeyModal(_){const o=this.modalService.show(m_);if(E().isNumber(_)){const i=this.s3Keys[_];o.componentInstance.setViewing(),o.componentInstance.setValues(i.user,i.access_key,i.secret_key)}else{const i=this._getS3KeyUserCandidates();o.componentInstance.setViewing(!1),o.componentInstance.setUserCandidates(i),o.componentInstance.submitAction.subscribe(s=>{this.setS3Key(s)})}}showSwiftKeyModal(_){const o=this.modalService.show(S_),i=this.swiftKeys[_];o.componentInstance.setValues(i.user,i.secret_key)}showCapabilityModal(_){const o=this.modalService.show(on);if(E().isNumber(_)){const i=this.capabilities[_];o.componentInstance.setEditing(),o.componentInstance.setValues(i.type,i.perm)}else o.componentInstance.setEditing(!1),o.componentInstance.setCapabilities(this.capabilities);o.componentInstance.submitAction.subscribe(i=>{this.setCapability(i,_)})}_isGeneralDirty(){return["display_name","email","max_buckets_mode","max_buckets","suspended"].some(_=>this.userForm.get(_).dirty)}_isUserQuotaDirty(){return["user_quota_enabled","user_quota_max_size_unlimited","user_quota_max_size","user_quota_max_objects_unlimited","user_quota_max_objects"].some(_=>this.userForm.get(_).dirty)}_isBucketQuotaDirty(){return["bucket_quota_enabled","bucket_quota_max_size_unlimited","bucket_quota_max_size","bucket_quota_max_objects_unlimited","bucket_quota_max_objects"].some(_=>this.userForm.get(_).dirty)}_getCreateArgs(){const _={uid:this.getUID(),display_name:this.userForm.getValue("display_name"),suspended:this.userForm.getValue("suspended"),email:"",max_buckets:this.userForm.getValue("max_buckets"),generate_key:this.userForm.getValue("generate_key"),access_key:"",secret_key:""},o=this.userForm.getValue("email");E().isString(o)&&o.length>0&&E().merge(_,{email:o}),this.userForm.getValue("generate_key")||E().merge(_,{generate_key:!1,access_key:this.userForm.getValue("access_key"),secret_key:this.userForm.getValue("secret_key")});const s=parseInt(this.userForm.getValue("max_buckets_mode"),10);return E().includes([-1,0],s)&&E().merge(_,{max_buckets:s}),_}_getUpdateArgs(){const _={},o=["display_name","email","max_buckets","suspended"];for(const s of o)_[s]=this.userForm.getValue(s);const i=parseInt(this.userForm.getValue("max_buckets_mode"),10);return E().includes([-1,0],i)&&(_.max_buckets=i),_}_getUserQuotaArgs(){const _={quota_type:"user",enabled:this.userForm.getValue("user_quota_enabled"),max_size_kb:-1,max_objects:-1};if(!this.userForm.getValue("user_quota_max_size_unlimited")){const o=(new Ke.H).toBytes(this.userForm.getValue("user_quota_max_size"));_.max_size_kb=(o/1024).toFixed(0)}return this.userForm.getValue("user_quota_max_objects_unlimited")||(_.max_objects=this.userForm.getValue("user_quota_max_objects")),_}_getBucketQuotaArgs(){const _={quota_type:"bucket",enabled:this.userForm.getValue("bucket_quota_enabled"),max_size_kb:-1,max_objects:-1};if(!this.userForm.getValue("bucket_quota_max_size_unlimited")){const o=(new Ke.H).toBytes(this.userForm.getValue("bucket_quota_max_size"));_.max_size_kb=(o/1024).toFixed(0)}return this.userForm.getValue("bucket_quota_max_objects_unlimited")||(_.max_objects=this.userForm.getValue("bucket_quota_max_objects")),_}_getS3KeyUserCandidates(){let _=[];const o=this.getUID();return E().isString(o)&&!E().isEmpty(o)&&_.push(o),this.subusers.forEach(i=>{_.push(i.id)}),this.s3Keys.forEach(i=>{_.push(i.user)}),_=E().uniq(_),_}onMaxBucketsModeChange(_){"1"===_&&(this.userForm.get("max_buckets").valid||this.userForm.patchValue({max_buckets:1e3}))}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(ae.O),e.Y36(J.gz),e.Y36(J.F0),e.Y36(Q),e.Y36(ee.Z),e.Y36(Y.g),e.Y36(I.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-user-form"]],features:[e.qOj],decls:1,vars:1,consts:function(){let n,_,o,i,s,l,r,d,u,R,O,F,b,h,M,L,S,W,C,Z,D,U,v,y,f,P,N,te,A,Me,Se,Ce,Oe,Fe,Pe,Ne,Ge,Ae,Ie,be,he,Le,We,$e,Ze,De,Ue,ve,ye,we,p,W_,$_,Z_,D_,U_,v_,y_,w_,x_,k_,z_,q_,H_,X_,B_,Q_,Y_,J_,K_,V_;return n="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",_="User ID",o="Show Tenant",i="Full name",s="Email address",l="Max. buckets",r="Disabled",d="Unlimited",u="Custom",R="Suspended",O="Suspending the user disables the user and subuser.",F="User quota",b="Enabled",h="Bucket quota",M="Enabled",L="This field is required.",S="The value is not valid.",W="The chosen user ID is already in use.",C="Tenant",Z="The value is not valid.",D="The chosen user ID exists in this tenant.",U="The value is not valid.",v="This field is required.",y="This is not a valid email address.",f="The chosen email address is already in use.",P="This field is required.",N="The entered value must be >= 1.",te="S3 key",A="Auto-generate key",Me="Access key",Se="This field is required.",Ce="Secret key",Oe="This field is required.",Fe="Subusers",Pe="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",Ne="There are no subusers.",Ge="Edit",Ae="Delete",Ie="Keys",be="S3",he="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",Le="Swift",We="There are no keys.",$e="Show",Ze="Delete",De="There are no keys.",Ue="Show",ve="Capabilities",ye="All capabilities are already added.",we="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",p="There are no capabilities.",W_="Edit",$_="Delete",Z_="Unlimited size",D_="Max. size",U_="This field is required.",v_="The value is not valid.",y_="Size must be a number or in a valid format. eg: 5 GiB",w_="Unlimited objects",x_="Max. objects",k_="This field is required.",z_="The entered value must be >= 0.",q_="Unlimited size",H_="Max. size",X_="This field is required.",B_="The value is not valid.",Q_="Size must be a number or in a valid format. eg: 5 GiB",Y_="Unlimited objects",J_="Max. objects",K_="This field is required.",V_="The entered value must be >= 0.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"card"],[1,"card-header"],n,[1,"card-body"],[1,"form-group","row"],["for","user_id",1,"cd-col-form-label",3,"ngClass"],_,[1,"cd-col-form-input"],["id","user_id","type","text","formControlName","user_id",1,"form-control",3,"readonly"],["class","invalid-feedback",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","show_tenant","type","checkbox","formControlName","show_tenant",1,"custom-control-input",3,"readonly","click"],["for","show_tenant",1,"custom-control-label"],o,["class","form-group row",4,"ngIf"],["for","display_name",1,"cd-col-form-label",3,"ngClass"],i,["id","display_name","type","text","formControlName","display_name",1,"form-control"],["for","email",1,"cd-col-form-label"],s,["id","email","type","text","formControlName","email",1,"form-control"],["for","max_buckets_mode",1,"cd-col-form-label"],l,["formControlName","max_buckets_mode","name","max_buckets_mode","id","max_buckets_mode",1,"form-select",3,"change"],["value","-1"],r,["value","0"],d,["value","1"],u,["id","suspended","type","checkbox","formControlName","suspended",1,"custom-control-input"],["for","suspended",1,"custom-control-label"],R,O,[4,"ngIf"],F,["id","user_quota_enabled","type","checkbox","formControlName","user_quota_enabled",1,"custom-control-input"],["for","user_quota_enabled",1,"custom-control-label"],b,h,["id","bucket_quota_enabled","type","checkbox","formControlName","bucket_quota_enabled",1,"custom-control-input"],["for","bucket_quota_enabled",1,"custom-control-label"],M,[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],L,S,W,["for","tenant",1,"cd-col-form-label"],C,["id","tenant","type","text","formControlName","tenant","autofocus","",1,"form-control",3,"readonly"],Z,D,U,v,y,f,[1,"cd-col-form-label"],["id","max_buckets","type","number","formControlName","max_buckets","min","1",1,"form-control"],P,N,te,["id","generate_key","type","checkbox","formControlName","generate_key",1,"custom-control-input"],["for","generate_key",1,"custom-control-label"],A,["for","access_key",1,"cd-col-form-label","required"],Me,[1,"input-group"],["id","access_key","type","password","formControlName","access_key",1,"form-control"],["type","button","cdPasswordButton","access_key",1,"btn","btn-light"],["source","access_key"],Se,["for","secret_key",1,"cd-col-form-label","required"],Ce,["id","secret_key","type","password","formControlName","secret_key",1,"form-control"],["type","button","cdPasswordButton","secret_key",1,"btn","btn-light"],["source","secret_key"],Oe,Fe,[1,"row"],["class","no-border",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"row","my-2"],[1,"col-12"],["type","button",1,"btn","btn-light","float-end","tc_addSubuserButton",3,"click"],[3,"ngClass"],Pe,[1,"help-block"],[1,"no-border"],[1,"form-text","text-muted"],Ne,[1,"input-group-text"],["type","text","readonly","",1,"cd-form-control",3,"value"],["type","button","ngbTooltip",Ge,1,"btn","btn-light","tc_showSubuserButton",3,"click"],["type","button","ngbTooltip",Ae,1,"btn","btn-light","tc_deleteSubuserButton",3,"click"],Ie,be,["type","button",1,"btn","btn-light","float-end","tc_addS3KeyButton",3,"click"],he,Le,We,["type","button","ngbTooltip",$e,1,"btn","btn-light","tc_showS3KeyButton",3,"click"],["type","button","ngbTooltip",Ze,1,"btn","btn-light","tc_deleteS3KeyButton",3,"click"],De,["type","button","ngbTooltip",Ue,1,"btn","btn-light","tc_showSwiftKeyButton",3,"click"],ve,["type","button","ngbTooltip",ye,"triggers","pointerenter:pointerleave",1,"btn","btn-light","float-end","tc_addCapButton",3,"disabled","disableTooltip","click"],we,p,["type","button","ngbTooltip",W_,1,"btn","btn-light","tc_editCapButton",3,"click"],["type","button","ngbTooltip",$_,1,"btn","btn-light","tc_deleteCapButton",3,"click"],["id","user_quota_max_size_unlimited","type","checkbox","formControlName","user_quota_max_size_unlimited",1,"custom-control-input"],["for","user_quota_max_size_unlimited",1,"custom-control-label"],Z_,["for","user_quota_max_size",1,"cd-col-form-label","required"],D_,["id","user_quota_max_size","type","text","formControlName","user_quota_max_size","cdDimlessBinary","",1,"form-control"],U_,v_,y_,["id","user_quota_max_objects_unlimited","type","checkbox","formControlName","user_quota_max_objects_unlimited",1,"custom-control-input"],["for","user_quota_max_objects_unlimited",1,"custom-control-label"],w_,["for","user_quota_max_objects",1,"cd-col-form-label","required"],x_,["id","user_quota_max_objects","type","number","formControlName","user_quota_max_objects","min","0",1,"form-control"],k_,z_,["id","bucket_quota_max_size_unlimited","type","checkbox","formControlName","bucket_quota_max_size_unlimited",1,"custom-control-input"],["for","bucket_quota_max_size_unlimited",1,"custom-control-label"],q_,["for","bucket_quota_max_size",1,"cd-col-form-label","required"],H_,["id","bucket_quota_max_size","type","text","formControlName","bucket_quota_max_size","cdDimlessBinary","",1,"form-control"],X_,B_,Q_,["id","bucket_quota_max_objects_unlimited","type","checkbox","formControlName","bucket_quota_max_objects_unlimited",1,"custom-control-input"],["for","bucket_quota_max_objects_unlimited",1,"custom-control-label"],Y_,["for","bucket_quota_max_objects",1,"cd-col-form-label","required"],J_,["id","bucket_quota_max_objects","type","number","formControlName","bucket_quota_max_objects","min","0",1,"form-control"],K_,V_]},template:function(_,o){1&_&&e.YNc(0,Mi,92,42,"div",0),2&_&&e.Q6J("cdFormLoading",o.loading)},dependencies:[T.mk,T.sg,T.O5,j.S,pe.s,B.p,fe.U,Nn.Q,Xe.C,r_.y,k.o,q.b,z.P,H.V,a._Y,a.YN,a.Kr,a.Fj,a.wV,a.Wl,a.EJ,a.JJ,a.JL,a.qQ,a.sg,a.u,G._L,T.rS,_e.m,o_.i]}),t})();var F_=c(99466),Si=c(86969),Ci=c(78877);const Oi=["accessKeyTpl"],Fi=["secretKeyTpl"],Pi=function(t){return[t]};function Ni(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div")(1,"legend"),e.SDv(2,13),e.qZA(),e.TgZ(3,"div")(4,"cd-table",14),e.NdJ("updateSelection",function(i){e.CHM(_);const s=e.oxw(3);return e.KtG(s.updateKeysSelection(i))}),e.TgZ(5,"div",15)(6,"div",16)(7,"button",17),e.NdJ("click",function(){e.CHM(_);const i=e.oxw(3);return e.KtG(i.showKeyModal())}),e._UZ(8,"i",18),e.ynx(9),e.SDv(10,19),e.BQk(),e.qZA()()()()()()}if(2&t){const _=e.oxw(3);e.xp6(4),e.Q6J("data",_.keys)("columns",_.keysColumns),e.xp6(3),e.Q6J("disabled",!_.keysSelection.hasSingleSelection),e.xp6(1),e.Q6J("ngClass",e.VKq(4,Pi,_.icons.show))}}function Gi(t,n){if(1&t&&(e.TgZ(0,"tr")(1,"td",8),e.SDv(2,20),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA()()),2&t){const _=e.oxw(3);e.xp6(4),e.Oqu(_.user.email)}}function Ai(t,n){if(1&t&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.xp6(1),e.AsE(" ",_.id," (",_.permissions,") ")}}function Ii(t,n){if(1&t&&(e.TgZ(0,"tr")(1,"td",8),e.SDv(2,21),e.qZA(),e.TgZ(3,"td"),e.YNc(4,Ai,2,2,"div",22),e.qZA()()),2&t){const _=e.oxw(3);e.xp6(4),e.Q6J("ngForOf",_.user.subusers)}}function bi(t,n){if(1&t&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.xp6(1),e.AsE(" ",_.type," (",_.perm,") ")}}function hi(t,n){if(1&t&&(e.TgZ(0,"tr")(1,"td",8),e.SDv(2,23),e.qZA(),e.TgZ(3,"td"),e.YNc(4,bi,2,2,"div",22),e.qZA()()),2&t){const _=e.oxw(3);e.xp6(4),e.Q6J("ngForOf",_.user.caps)}}function Li(t,n){if(1&t&&(e.TgZ(0,"tr")(1,"td",8),e.SDv(2,24),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.ALo(5,"join"),e.qZA()()),2&t){const _=e.oxw(3);e.xp6(4),e.Oqu(e.lcZ(5,1,_.user.mfa_ids))}}function Wi(t,n){1&t&&(e.TgZ(0,"td"),e._uU(1,"-"),e.qZA())}function $i(t,n){1&t&&(e.TgZ(0,"td"),e.SDv(1,29),e.qZA())}function Zi(t,n){if(1&t&&(e.TgZ(0,"td"),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&t){const _=e.oxw(4);e.xp6(1),e.hij(" ",e.lcZ(2,1,_.user.user_quota.max_size)," ")}}function Di(t,n){1&t&&(e.TgZ(0,"td"),e._uU(1,"-"),e.qZA())}function Ui(t,n){1&t&&(e.TgZ(0,"td"),e.SDv(1,30),e.qZA())}function vi(t,n){if(1&t&&(e.TgZ(0,"td"),e._uU(1),e.qZA()),2&t){const _=e.oxw(4);e.xp6(1),e.hij(" ",_.user.user_quota.max_objects," ")}}function yi(t,n){if(1&t&&(e.TgZ(0,"div")(1,"legend"),e.SDv(2,25),e.qZA(),e.TgZ(3,"table",2)(4,"tbody")(5,"tr")(6,"td",3),e.SDv(7,26),e.qZA(),e.TgZ(8,"td",5),e._uU(9),e.ALo(10,"booleanText"),e.qZA()(),e.TgZ(11,"tr")(12,"td",8),e.SDv(13,27),e.qZA(),e.YNc(14,Wi,2,0,"td",0),e.YNc(15,$i,2,0,"td",0),e.YNc(16,Zi,3,3,"td",0),e.qZA(),e.TgZ(17,"tr")(18,"td",8),e.SDv(19,28),e.qZA(),e.YNc(20,Di,2,0,"td",0),e.YNc(21,Ui,2,0,"td",0),e.YNc(22,vi,2,1,"td",0),e.qZA()()()()),2&t){const _=e.oxw(3);e.xp6(9),e.Oqu(e.lcZ(10,7,_.user.user_quota.enabled)),e.xp6(5),e.Q6J("ngIf",!_.user.user_quota.enabled),e.xp6(1),e.Q6J("ngIf",_.user.user_quota.enabled&&_.user.user_quota.max_size<=-1),e.xp6(1),e.Q6J("ngIf",_.user.user_quota.enabled&&_.user.user_quota.max_size>-1),e.xp6(4),e.Q6J("ngIf",!_.user.user_quota.enabled),e.xp6(1),e.Q6J("ngIf",_.user.user_quota.enabled&&_.user.user_quota.max_objects<=-1),e.xp6(1),e.Q6J("ngIf",_.user.user_quota.enabled&&_.user.user_quota.max_objects>-1)}}function wi(t,n){1&t&&(e.TgZ(0,"td"),e._uU(1,"-"),e.qZA())}function xi(t,n){1&t&&(e.TgZ(0,"td"),e.SDv(1,35),e.qZA())}function ki(t,n){if(1&t&&(e.TgZ(0,"td"),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&t){const _=e.oxw(4);e.xp6(1),e.hij(" ",e.lcZ(2,1,_.user.bucket_quota.max_size)," ")}}function zi(t,n){1&t&&(e.TgZ(0,"td"),e._uU(1,"-"),e.qZA())}function qi(t,n){1&t&&(e.TgZ(0,"td"),e.SDv(1,36),e.qZA())}function Hi(t,n){if(1&t&&(e.TgZ(0,"td"),e._uU(1),e.qZA()),2&t){const _=e.oxw(4);e.xp6(1),e.hij(" ",_.user.bucket_quota.max_objects," ")}}function Xi(t,n){if(1&t&&(e.TgZ(0,"div")(1,"legend"),e.SDv(2,31),e.qZA(),e.TgZ(3,"table",2)(4,"tbody")(5,"tr")(6,"td",3),e.SDv(7,32),e.qZA(),e.TgZ(8,"td",5),e._uU(9),e.ALo(10,"booleanText"),e.qZA()(),e.TgZ(11,"tr")(12,"td",8),e.SDv(13,33),e.qZA(),e.YNc(14,wi,2,0,"td",0),e.YNc(15,xi,2,0,"td",0),e.YNc(16,ki,3,3,"td",0),e.qZA(),e.TgZ(17,"tr")(18,"td",8),e.SDv(19,34),e.qZA(),e.YNc(20,zi,2,0,"td",0),e.YNc(21,qi,2,0,"td",0),e.YNc(22,Hi,2,1,"td",0),e.qZA()()()()),2&t){const _=e.oxw(3);e.xp6(9),e.Oqu(e.lcZ(10,7,_.user.bucket_quota.enabled)),e.xp6(5),e.Q6J("ngIf",!_.user.bucket_quota.enabled),e.xp6(1),e.Q6J("ngIf",_.user.bucket_quota.enabled&&_.user.bucket_quota.max_size<=-1),e.xp6(1),e.Q6J("ngIf",_.user.bucket_quota.enabled&&_.user.bucket_quota.max_size>-1),e.xp6(4),e.Q6J("ngIf",!_.user.bucket_quota.enabled),e.xp6(1),e.Q6J("ngIf",_.user.bucket_quota.enabled&&_.user.bucket_quota.max_objects<=-1),e.xp6(1),e.Q6J("ngIf",_.user.bucket_quota.enabled&&_.user.bucket_quota.max_objects>-1)}}function Bi(t,n){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,Ni,11,6,"div",0),e.TgZ(2,"legend"),e.SDv(3,1),e.qZA(),e.TgZ(4,"table",2)(5,"tbody")(6,"tr")(7,"td",3),e.SDv(8,4),e.qZA(),e.TgZ(9,"td",5),e._uU(10),e.qZA()(),e.TgZ(11,"tr")(12,"td",3),e.SDv(13,6),e.qZA(),e.TgZ(14,"td",5),e._uU(15),e.qZA()(),e.TgZ(16,"tr")(17,"td",3),e.SDv(18,7),e.qZA(),e.TgZ(19,"td",5),e._uU(20),e.qZA()(),e.TgZ(21,"tr")(22,"td",8),e.SDv(23,9),e.qZA(),e.TgZ(24,"td"),e._uU(25),e.qZA()(),e.YNc(26,Gi,5,1,"tr",0),e.TgZ(27,"tr")(28,"td",8),e.SDv(29,10),e.qZA(),e.TgZ(30,"td"),e._uU(31),e.ALo(32,"booleanText"),e.qZA()(),e.TgZ(33,"tr")(34,"td",8),e.SDv(35,11),e.qZA(),e.TgZ(36,"td"),e._uU(37),e.ALo(38,"booleanText"),e.qZA()(),e.TgZ(39,"tr")(40,"td",8),e.SDv(41,12),e.qZA(),e.TgZ(42,"td"),e._uU(43),e.ALo(44,"map"),e.qZA()(),e.YNc(45,Ii,5,1,"tr",0),e.YNc(46,hi,5,1,"tr",0),e.YNc(47,Li,6,3,"tr",0),e.qZA()(),e.YNc(48,yi,23,9,"div",0),e.YNc(49,Xi,23,9,"div",0),e.qZA()),2&t){const _=e.oxw(2);e.xp6(1),e.Q6J("ngIf",_.keys.length),e.xp6(9),e.Oqu(_.user.tenant),e.xp6(5),e.Oqu(_.user.user_id),e.xp6(5),e.Oqu(_.user.uid),e.xp6(5),e.Oqu(_.user.display_name),e.xp6(1),e.Q6J("ngIf",null==_.user.email?null:_.user.email.length),e.xp6(5),e.Oqu(e.lcZ(32,14,_.user.suspended)),e.xp6(6),e.Oqu(e.lcZ(38,16,"true"===_.user.system)),e.xp6(6),e.Oqu(e.xi3(44,18,_.user.max_buckets,_.maxBucketsMap)),e.xp6(2),e.Q6J("ngIf",_.user.subusers&&_.user.subusers.length),e.xp6(1),e.Q6J("ngIf",_.user.caps&&_.user.caps.length),e.xp6(1),e.Q6J("ngIf",null==_.user.mfa_ids?null:_.user.mfa_ids.length),e.xp6(1),e.Q6J("ngIf",_.user.user_quota),e.xp6(1),e.Q6J("ngIf",_.user.bucket_quota)}}function Qi(t,n){if(1&t&&(e.ynx(0),e.YNc(1,Bi,50,21,"div",0),e.BQk()),2&t){const _=e.oxw();e.xp6(1),e.Q6J("ngIf",_.user)}}let Yi=(()=>{class t{constructor(_,o){this.rgwUserService=_,this.modalService=o,this.keys=[],this.keysColumns=[],this.keysSelection=new qe.r,this.icons=$.P}ngOnInit(){this.keysColumns=[{name:"Username",prop:"username",flexGrow:1},{name:"Type",prop:"type",flexGrow:1}],this.maxBucketsMap={"-1":"Disabled",0:"Unlimited"}}ngOnChanges(){this.selection&&(this.user=this.selection,this.user.subusers=E().sortBy(this.user.subusers,"id"),this.user.caps=E().sortBy(this.user.caps,"type"),this.rgwUserService.getQuota(this.user.uid).subscribe(_=>{E().extend(this.user,_)}),this.keys=[],this.user.keys&&this.user.keys.forEach(_=>{this.keys.push({id:this.keys.length+1,type:"S3",username:_.user,ref:_})}),this.user.swift_keys&&this.user.swift_keys.forEach(_=>{this.keys.push({id:this.keys.length+1,type:"Swift",username:_.user,ref:_})}),this.keys=E().sortBy(this.keys,"user"))}updateKeysSelection(_){this.keysSelection=_}showKeyModal(){const _=this.keysSelection.first(),o=this.modalService.show("S3"===_.type?m_:S_);switch(_.type){case"S3":o.componentInstance.setViewing(),o.componentInstance.setValues(_.ref.user,_.ref.access_key,_.ref.secret_key);break;case"Swift":o.componentInstance.setValues(_.ref.user,_.ref.secret_key)}}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(Q),e.Y36(ee.Z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-user-details"]],viewQuery:function(_,o){if(1&_&&(e.Gf(Oi,5),e.Gf(Fi,5)),2&_){let i;e.iGM(i=e.CRH())&&(o.accessKeyTpl=i.first),e.iGM(i=e.CRH())&&(o.secretKeyTpl=i.first)}},inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let n,_,o,i,s,l,r,d,u,R,O,F,b,h,M,L,S,W,C,Z,D,U,v,y,f,P;return n="Details",_="Tenant",o="User ID",i="Username",s="Full name",l="Suspended",r="System",d="Maximum buckets",u="Keys",R="Show",O="Email address",F="Subusers",b="Capabilities",h="MFAs(Id)",M="User quota",L="Enabled",S="Maximum size",W="Maximum objects",C="Unlimited",Z="Unlimited",D="Bucket quota",U="Enabled",v="Maximum size",y="Maximum objects",f="Unlimited",P="Unlimited",[[4,"ngIf"],n,[1,"table","table-striped","table-bordered"],[1,"bold","w-25"],_,[1,"w-75"],o,i,[1,"bold"],s,l,r,d,u,["columnMode","flex","selectionType","multi","forceIdentifier","true",3,"data","columns","updateSelection"],[1,"table-actions"],["dropdown","",1,"btn-group"],["type","button",1,"btn","btn-accent",3,"disabled","click"],[3,"ngClass"],R,O,F,[4,"ngFor","ngForOf"],b,h,M,L,S,W,C,Z,D,U,v,y,f,P]},template:function(_,o){1&_&&e.YNc(0,Qi,2,1,"ng-container",0),2&_&&e.Q6J("ngIf",o.selection)},dependencies:[T.mk,T.sg,T.O5,le.a,k.o,T_.T,Ye.$,Si.A,Ci.b]}),t})();const P_=function(){return{exact:!0}};let Ji=(()=>{class t{}return t.\u0275fac=function(_){return new(_||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-user-tabs"]],decls:7,vars:4,consts:function(){let n,_;return n="Users",_="Roles",[[1,"nav","nav-tabs"],[1,"nav-item"],["routerLink","/rgw/user","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],n,["routerLink","/rgw/roles","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],_]},template:function(_,o){1&_&&(e.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),e.SDv(3,3),e.qZA()(),e.TgZ(4,"li",1)(5,"a",4),e.SDv(6,5),e.qZA()()()),2&_&&(e.xp6(2),e.Q6J("routerLinkActiveOptions",e.DdM(2,P_)),e.xp6(3),e.Q6J("routerLinkActiveOptions",e.DdM(3,P_)))},dependencies:[J.rH,J.Od]}),t})();const Ki=["userSizeTpl"],Vi=["userObjectTpl"];function ji(t,n){if(1&t&&e._UZ(0,"cd-usage-bar",8),2&t){const _=e.oxw().row;e.Q6J("total",_.user_quota.max_size)("used",_.stats.size_actual)}}function es(t,n){1&t&&e.SDv(0,9)}function _s(t,n){if(1&t&&(e.YNc(0,ji,1,2,"cd-usage-bar",6),e.YNc(1,es,1,0,"ng-template",null,7,e.W1O)),2&t){const _=n.row,o=e.MAs(2);e.Q6J("ngIf",_.user_quota.max_size>0&&_.user_quota.enabled)("ngIfElse",o)}}function ts(t,n){if(1&t&&e._UZ(0,"cd-usage-bar",12),2&t){const _=e.oxw().row;e.Q6J("total",_.user_quota.max_objects)("used",_.stats.num_objects)("isBinary",!1)}}function os(t,n){1&t&&e.SDv(0,13)}function ns(t,n){if(1&t&&(e.YNc(0,ts,1,3,"cd-usage-bar",10),e.YNc(1,os,1,0,"ng-template",null,11,e.W1O)),2&t){const _=n.row,o=e.MAs(2);e.Q6J("ngIf",_.user_quota.max_objects>0&&_.user_quota.enabled)("ngIfElse",o)}}let ss=(()=>{class t extends Be.o{constructor(_,o,i,s,l,r){super(r),this.authStorageService=_,this.rgwUserService=o,this.modalService=i,this.urlBuilder=s,this.actionLabels=l,this.ngZone=r,this.columns=[],this.users=[],this.selection=new qe.r}ngOnInit(){this.permission=this.authStorageService.getPermissions().rgw,this.columns=[{name:"Username",prop:"uid",flexGrow:1},{name:"Tenant",prop:"tenant",flexGrow:1},{name:"Full name",prop:"display_name",flexGrow:1},{name:"Email address",prop:"email",flexGrow:1},{name:"Suspended",prop:"suspended",flexGrow:1,cellClass:"text-center",cellTransformation:F_.e.checkIcon},{name:"Max. buckets",prop:"max_buckets",flexGrow:1,cellTransformation:F_.e.map,customTemplateConfig:{"-1":"Disabled",0:"Unlimited"}},{name:"Capacity Limit %",prop:"size_usage",cellTemplate:this.userSizeTpl,flexGrow:.8},{name:"Object Limit %",prop:"object_usage",cellTemplate:this.userObjectTpl,flexGrow:.8}];const _=()=>this.selection.first()&&`${encodeURIComponent(this.selection.first().uid)}`;this.tableActions=[{permission:"create",icon:$.P.add,routerLink:()=>this.urlBuilder.getCreate(),name:this.actionLabels.CREATE,canBePrimary:l=>!l.hasSelection},{permission:"update",icon:$.P.edit,routerLink:()=>this.urlBuilder.getEdit(_()),name:this.actionLabels.EDIT},{permission:"delete",icon:$.P.destroy,click:()=>this.deleteAction(),disable:()=>!this.selection.hasSelection,name:this.actionLabels.DELETE,canBePrimary:l=>l.hasMultiSelection}],this.setTableRefreshTimeout()}getUserList(_){this.setTableRefreshTimeout(),this.rgwUserService.list().subscribe(o=>{this.users=o},()=>{_.error()})}updateSelection(_){this.selection=_}deleteAction(){this.modalService.show(Qe.M,{itemDescription:this.selection.hasSingleSelection?"user":"users",itemNames:this.selection.selected.map(_=>_.uid),submitActionObservable:()=>new u_.y(_=>{(0,ne.D)(this.selection.selected.map(o=>this.rgwUserService.delete(o.uid))).subscribe({error:o=>{_.error(o),this.table.refreshBtn()},complete:()=>{_.complete(),this.table.refreshBtn()}})})})}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(ce.j),e.Y36(Q),e.Y36(ee.Z),e.Y36(re.F),e.Y36(I.p4),e.Y36(e.R0b))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-user-list"]],viewQuery:function(_,o){if(1&_&&(e.Gf(le.a,7),e.Gf(Ki,7),e.Gf(Vi,7)),2&_){let i;e.iGM(i=e.CRH())&&(o.table=i.first),e.iGM(i=e.CRH())&&(o.userSizeTpl=i.first),e.iGM(i=e.CRH())&&(o.userObjectTpl=i.first)}},features:[e._Bn([{provide:re.F,useValue:new re.F("rgw/user")}]),e.qOj],decls:9,vars:9,consts:function(){let n,_;return n="No Limit",_="No Limit",[["columnMode","flex","selectionType","multiClick","identifier","uid",3,"autoReload","data","columns","hasDetails","status","setExpandedRow","updateSelection","fetchData"],["table",""],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],["userSizeTpl",""],["userObjectTpl",""],[3,"total","used",4,"ngIf","ngIfElse"],["noSizeQuota",""],[3,"total","used"],n,[3,"total","used","isBinary",4,"ngIf","ngIfElse"],["noObjectQuota",""],[3,"total","used","isBinary"],_]},template:function(_,o){1&_&&(e._UZ(0,"cd-rgw-user-tabs"),e.TgZ(1,"cd-table",0,1),e.NdJ("setExpandedRow",function(s){return o.setExpandedRow(s)})("updateSelection",function(s){return o.updateSelection(s)})("fetchData",function(s){return o.getUserList(s)}),e._UZ(3,"cd-table-actions",2)(4,"cd-rgw-user-details",3),e.qZA(),e.YNc(5,_s,3,2,"ng-template",null,4,e.W1O),e.YNc(7,ns,3,2,"ng-template",null,5,e.W1O)),2&_&&(e.xp6(1),e.Q6J("autoReload",!1)("data",o.users)("columns",o.columns)("hasDetails",!0)("status",o.tableStatus),e.xp6(2),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions),e.xp6(1),e.Q6J("selection",o.expandedRow))},dependencies:[T.O5,R_.O,le.a,Je.K,Yi,Ji]}),t})();var as=c(83357),je=c(62946),N_=c(13464),ls=c(46797),de=c(95596),e_=c(80381),V=c(95463),x=c(43186),ue=c(97937),ge=c(98961);function rs(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,33),e.qZA())}function cs(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,34),e.qZA())}function ds(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,35),e.qZA())}function us(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,36),e.qZA())}function gs(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,37),e.qZA())}function Rs(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,38),e.qZA())}function Ts(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,39),e.qZA())}function Es(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,40),e.qZA())}function fs(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,41),e.qZA())}function ps(t,n){1&t&&(e.TgZ(0,"span",32),e.SDv(1,42),e.qZA())}let ms=(()=>{class t{constructor(_,o,i,s,l,r,d,u,R){this.activeModal=_,this.actionLabels=o,this.rgwMultisiteService=i,this.rgwZoneService=s,this.notificationService=l,this.rgwZonegroupService=r,this.rgwRealmService=d,this.rgwDaemonService=u,this.modalService=R,this.endpoints=/^((https?:\/\/)|(www.))(?:([a-zA-Z]+)|(\d+\.\d+.\d+.\d+)):\d{2,4}$/,this.ipv4Rgx=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i,this.ipv6Rgx=/^(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}$/i,this.submitAction=new e.vpe,this.multisiteInfo=[],this.createForm()}createForm(){this.multisiteMigrateForm=new V.d({realmName:new a.p4(null,{validators:[a.kI.required,m.h.custom("uniqueName",_=>this.realmNames&&-1!==this.zoneNames.indexOf(_))]}),zonegroupName:new a.p4(null,{validators:[a.kI.required,m.h.custom("uniqueName",_=>this.zonegroupNames&&-1!==this.zoneNames.indexOf(_))]}),zoneName:new a.p4(null,{validators:[a.kI.required,m.h.custom("uniqueName",_=>this.zoneNames&&-1!==this.zoneNames.indexOf(_))]}),zone_endpoints:new a.p4([],{validators:[m.h.custom("endpoint",_=>!(E().isEmpty(_)||(_.includes(",")?(_.split(",").forEach(o=>!this.endpoints.test(o)&&!this.ipv4Rgx.test(o)&&!this.ipv6Rgx.test(o)),1):this.endpoints.test(_)||this.ipv4Rgx.test(_)||this.ipv6Rgx.test(_)))),a.kI.required]}),zonegroup_endpoints:new a.p4([],[m.h.custom("endpoint",_=>!(E().isEmpty(_)||(_.includes(",")?(_.split(",").forEach(o=>!this.endpoints.test(o)&&!this.ipv4Rgx.test(o)&&!this.ipv6Rgx.test(o)),1):this.endpoints.test(_)||this.ipv4Rgx.test(_)||this.ipv6Rgx.test(_)))),a.kI.required]),access_key:new a.p4(null),secret_key:new a.p4(null)})}ngOnInit(){this.realmList=void 0!==this.multisiteInfo[0]&&this.multisiteInfo[0].hasOwnProperty("realms")?this.multisiteInfo[0].realms:[],this.realmNames=this.realmList.map(_=>_.name),this.zonegroupList=void 0!==this.multisiteInfo[1]&&this.multisiteInfo[1].hasOwnProperty("zonegroups")?this.multisiteInfo[1].zonegroups:[],this.zonegroupNames=this.zonegroupList.map(_=>_.name),this.zoneList=void 0!==this.multisiteInfo[2]&&this.multisiteInfo[2].hasOwnProperty("zones")?this.multisiteInfo[2].zones:[],this.zoneNames=this.zoneList.map(_=>_.name)}submit(){const _=this.multisiteMigrateForm.value;this.realm=new x.L6,this.realm.name=_.realmName,this.zonegroup=new x.iG,this.zonegroup.name=_.zonegroupName,this.zonegroup.endpoints=_.zonegroup_endpoints,this.zone=new x.jb,this.zone.name=_.zoneName,this.zone.endpoints=_.zone_endpoints,this.zone.system_key=new x.VY,this.zone.system_key.access_key=_.access_key,this.zone.system_key.secret_key=_.secret_key,this.rgwMultisiteService.migrate(this.realm,this.zonegroup,this.zone).subscribe(()=>{this.notificationService.show(w.k.success,"" + this.actionLabels.MIGRATE + " done successfully"),this.submitAction.emit(),this.activeModal.close()},()=>{this.notificationService.show(w.k.error,"Migration failed")})}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(G.Kz),e.Y36(I.p4),e.Y36(e_.o),e.Y36(ue.g),e.Y36(Y.g),e.Y36(ge.K),e.Y36(de.y),e.Y36(oe.b),e.Y36(ee.Z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-multisite-migrate"]],outputs:{submitAction:"submitAction"},decls:68,vars:14,consts:function(){let n,_,o,i,s,l,r,d,u,R,O,F,b,h,M,L,S,W;return n="Migrate Single Site to Multi-Site " + "\ufffd#3\ufffd" + "" + "\ufffd#4\ufffd" + "Migrate from a single-site deployment with a default zone group and zone to a multi-site system" + "\ufffd/#4\ufffd" + "" + "\ufffd/#3\ufffd" + "",_="Realm Name",o="Rename default zone group",i="Zone group Endpoints ",s="Rename default zone",l="Zone Endpoints ",r="S3 access key " + "\ufffd#47\ufffd" + "" + "\ufffd#48\ufffd" + "To see or copy your S3 access key, go to " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Object Gateway > Users" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + " and click on your user name. In " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Keys" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + ", click " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Show" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + ". View the access key by clicking Show and copy the key by clicking " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Copy to Clipboard" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + "." + "\ufffd/#48\ufffd" + "" + "\ufffd/#47\ufffd" + "",r=e.Zx4(r),d="S3 secret key " + "\ufffd#58\ufffd" + "" + "\ufffd#59\ufffd" + "To see or copy your S3 access key, go to " + "[\ufffd#60\ufffd|\ufffd#61\ufffd|\ufffd#62\ufffd|\ufffd#63\ufffd]" + "Object Gateway > Users" + "[\ufffd/#60\ufffd|\ufffd/#61\ufffd|\ufffd/#62\ufffd|\ufffd/#63\ufffd]" + " and click on your user name. In " + "[\ufffd#60\ufffd|\ufffd#61\ufffd|\ufffd#62\ufffd|\ufffd#63\ufffd]" + "Keys" + "[\ufffd/#60\ufffd|\ufffd/#61\ufffd|\ufffd/#62\ufffd|\ufffd/#63\ufffd]" + ", click " + "[\ufffd#60\ufffd|\ufffd#61\ufffd|\ufffd#62\ufffd|\ufffd#63\ufffd]" + "Show" + "[\ufffd/#60\ufffd|\ufffd/#61\ufffd|\ufffd/#62\ufffd|\ufffd/#63\ufffd]" + ". View the secret key by clicking Show and copy the key by clicking " + "[\ufffd#60\ufffd|\ufffd#61\ufffd|\ufffd#62\ufffd|\ufffd#63\ufffd]" + "Copy to Clipboard" + "[\ufffd/#60\ufffd|\ufffd/#61\ufffd|\ufffd/#62\ufffd|\ufffd/#63\ufffd]" + "." + "\ufffd/#59\ufffd" + "" + "\ufffd/#58\ufffd" + "",d=e.Zx4(d),u="This field is required.",R="The chosen realm name is already in use.",O="This field is required.",F="The chosen zone group name is already in use.",b="This field is required.",h="Please enter a valid IP address.",M="This field is required.",L="The chosen zone name is already in use.",S="This field is required.",W="Please enter a valid IP address.",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["name","multisiteMigrateForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","realmName",1,"cd-col-form-label","required"],_,[1,"cd-col-form-input"],["type","text","placeholder","Realm name...","id","realmName","name","realmName","formControlName","realmName",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","zonegroupName",1,"cd-col-form-label","required"],o,["type","text","placeholder","Zone group name...","id","zonegroupName","name","zonegroupName","formControlName","zonegroupName",1,"form-control"],["for","zonegroup_endpoints",1,"cd-col-form-label","required"],i,["type","text","placeholder","e.g, http://ceph-node-00.com:80","id","zonegroup_endpoints","name","zonegroup_endpoints","formControlName","zonegroup_endpoints",1,"form-control"],["for","zoneName",1,"cd-col-form-label","required"],s,["type","text","placeholder","Zone name...","id","zoneName","name","zoneName","formControlName","zoneName",1,"form-control"],["for","zone_endpoints",1,"cd-col-form-label","required"],l,["type","text","placeholder","e.g, http://ceph-node-00.com:80","id","zone_endpoints","name","zone_endpoints","formControlName","zone_endpoints",1,"form-control"],["for","access_key",1,"cd-col-form-label","required"],r,["type","text","placeholder","e.g.","id","access_key","name","access_key","formControlName","access_key",1,"form-control"],d,["type","text","placeholder","e.g.","id","secret_key","name","secret_key","formControlName","secret_key",1,"form-control"],[1,"modal-footer"],[3,"submitText","form","submitActionEvent"],[1,"invalid-feedback"],u,R,O,F,b,h,M,L,S,W]},template:function(_,o){if(1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.tHW(2,2),e.TgZ(3,"cd-helper"),e._UZ(4,"span"),e.qZA(),e.N_p(),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10),e._UZ(13,"input",11),e.YNc(14,rs,2,0,"span",12),e.YNc(15,cs,2,0,"span",12),e.qZA()(),e.TgZ(16,"div",7)(17,"label",13),e.SDv(18,14),e.qZA(),e.TgZ(19,"div",10),e._UZ(20,"input",15),e.YNc(21,ds,2,0,"span",12),e.YNc(22,us,2,0,"span",12),e.qZA()(),e.TgZ(23,"div",7)(24,"label",16),e.SDv(25,17),e.qZA(),e.TgZ(26,"div",10),e._UZ(27,"input",18),e.YNc(28,gs,2,0,"span",12),e.YNc(29,Rs,2,0,"span",12),e.qZA()(),e.TgZ(30,"div",7)(31,"label",19),e.SDv(32,20),e.qZA(),e.TgZ(33,"div",10),e._UZ(34,"input",21),e.YNc(35,Ts,2,0,"span",12),e.YNc(36,Es,2,0,"span",12),e.qZA()(),e.TgZ(37,"div",7)(38,"label",22),e.SDv(39,23),e.qZA(),e.TgZ(40,"div",10),e._UZ(41,"input",24),e.YNc(42,fs,2,0,"span",12),e.YNc(43,ps,2,0,"span",12),e.qZA()(),e.TgZ(44,"div",7)(45,"label",25),e.tHW(46,26),e.TgZ(47,"cd-helper")(48,"span"),e._UZ(49,"b")(50,"b")(51,"b")(52,"b"),e.qZA()(),e.N_p(),e.qZA(),e.TgZ(53,"div",10),e._UZ(54,"input",27),e.qZA()(),e.TgZ(55,"div",7)(56,"label",25),e.tHW(57,28),e.TgZ(58,"cd-helper")(59,"span"),e._UZ(60,"b")(61,"b")(62,"b")(63,"b"),e.qZA()(),e.N_p(),e.qZA(),e.TgZ(64,"div",10),e._UZ(65,"input",29),e.qZA()()(),e.TgZ(66,"div",30)(67,"cd-form-button-panel",31),e.NdJ("submitActionEvent",function(){return o.submit()}),e.qZA()()(),e.BQk(),e.qZA()),2&_){const i=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(6),e.Q6J("formGroup",o.multisiteMigrateForm),e.xp6(8),e.Q6J("ngIf",o.multisiteMigrateForm.showError("realmName",i,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteMigrateForm.showError("realmName",i,"uniqueName")),e.xp6(6),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zonegroupName",i,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zonegroupName",i,"uniqueName")),e.xp6(6),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zonegroup_endpoints",i,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zonegroup_endpoints",i,"endpoint")),e.xp6(6),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zoneName",i,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zoneName",i,"uniqueName")),e.xp6(6),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zone_endpoints",i,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zone_endpoints",i,"endpoint")),e.xp6(24),e.Q6J("submitText",o.actionLabels.MIGRATE)("form",o.multisiteMigrateForm)}},dependencies:[T.O5,j.S,X.z,B.p,k.o,q.b,z.P,H.V,a._Y,a.Fj,a.JJ,a.JL,a.sg,a.u]}),t})();var G_=c(80842),Re=c(34501);function Ms(t,n){if(1&t&&(e.TgZ(0,"strong",21),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.xp6(1),e.Oqu(_)}}function Ss(t,n){1&t&&(e.TgZ(0,"div",22)(1,"cd-alert-panel",23),e.SDv(2,24),e.qZA()())}function Cs(t,n){if(1&t){const _=e.EpF();e.ynx(0),e.TgZ(1,"label",10),e.tHW(2,11),e._UZ(3,"strong"),e.N_p(),e.qZA(),e.TgZ(4,"label",12),e.SDv(5,13),e.qZA(),e.YNc(6,Ms,2,1,"strong",14),e.TgZ(7,"div",15)(8,"div",16)(9,"input",17),e.NdJ("change",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.showDangerText())}),e.qZA(),e.TgZ(10,"label",18),e.SDv(11,19),e.qZA()(),e.YNc(12,Ss,3,0,"div",20),e.qZA(),e.BQk()}if(2&t){const _=e.oxw();e.xp6(3),e.pQV(null==_.zone?null:_.zone.name),e.QtT(2),e.xp6(3),e.Q6J("ngForOf",_.includedPools),e.xp6(6),e.Q6J("ngIf",_.displayText)}}let Os=(()=>{class t{constructor(_,o,i,s,l){this.activeModal=_,this.actionLabels=o,this.notificationService=i,this.rgwZoneService=s,this.poolService=l,this.displayText=!1,this.includedPools=new Set,this.createForm()}ngOnInit(){this.zoneData$=this.rgwZoneService.get(this.zone),this.poolList$=this.poolService.getList()}ngAfterViewInit(){this.updateIncludedPools()}createForm(){this.zoneForm=new V.d({deletePools:new a.p4(!1)})}submit(){this.rgwZoneService.delete(this.zone.name,this.zoneForm.value.deletePools,this.includedPools,this.zone.parent).subscribe(()=>{this.notificationService.show(w.k.success,"Zone: '" + this.zone.name + "' deleted successfully"),this.activeModal.close()},()=>{this.zoneForm.setErrors({cdSubmitButton:!0})})}showDangerText(){this.displayText=!this.displayText}updateIncludedPools(){!this.zoneData$||!this.poolList$||this.zoneData$.subscribe(_=>{this.poolList$.subscribe(o=>{for(const i of o)for(const s of Object.values(_))if("string"==typeof s&&s.includes(i.pool_name))this.includedPools.add(i.pool_name);else if(Array.isArray(s)&&s[0].val)for(const l of s){const r=l.val;r.storage_classes.STANDARD.data_pool===i.pool_name&&this.includedPools.add(r.storage_classes.STANDARD.data_pool),r.data_extra_pool===i.pool_name&&this.includedPools.add(r.data_extra_pool),r.index_pool===i.pool_name&&this.includedPools.add(r.index_pool)}})})}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(G.Kz),e.Y36(I.p4),e.Y36(Y.g),e.Y36(ue.g),e.Y36(G_.q))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-multisite-zone-deletion-form"]],decls:12,vars:6,consts:function(){let n,_,o,i,s,l;return n="Delete Zone",_=" This will delete your " + "\ufffd#8\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#8\ufffd" + " Zone. ",o=" Do you want to delete the associated pools with the " + "\ufffd#3\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#3\ufffd" + " Zone?",i=" This will delete the following pools and any data stored in these pools:",s="Yes, I want to delete the pools.",l=" This will delete all the data in the pools! ",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["name","zoneForm","novalidate","",3,"formGroup"],[1,"modal-body","ms-4"],_,[4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"mt-3"],o,[1,"mb-4"],i,["class","block",4,"ngFor","ngForOf"],[1,"form-group"],[1,"custom-control","custom-checkbox","mt-2"],["type","checkbox","name","deletePools","id","deletePools","formControlName","deletePools",1,"custom-control-input",3,"change"],["for","deletePools",1,"custom-control-label"],s,["class","me-4",4,"ngIf"],[1,"block"],[1,"me-4"],["type","danger"],l]},template:function(_,o){1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4)(5,"div",5)(6,"label"),e.tHW(7,6),e._UZ(8,"strong"),e.N_p(),e.qZA(),e.YNc(9,Cs,13,3,"ng-container",7),e.qZA(),e.TgZ(10,"div",8)(11,"cd-form-button-panel",9),e.NdJ("submitActionEvent",function(){return o.submit()}),e.qZA()()(),e.BQk(),e.qZA()),2&_&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.zoneForm),e.xp6(4),e.pQV(null==o.zone?null:o.zone.name),e.QtT(7),e.xp6(1),e.Q6J("ngIf",o.includedPools.size),e.xp6(2),e.Q6J("form",o.zoneForm)("submitText",o.actionLabels.DELETE))},dependencies:[T.sg,T.O5,X.z,Re.G,B.p,k.o,q.b,z.P,H.V,a._Y,a.Wl,a.JJ,a.JL,a.sg,a.u],styles:[".block[_ngcontent-%COMP%]{display:block}#scroll[_ngcontent-%COMP%]{height:100%;max-height:10rem;overflow:auto}"]}),t})();function Fs(t,n){1&t&&(e.ynx(0),e.TgZ(1,"label"),e.SDv(2,21),e.qZA(),e.BQk())}function Ps(t,n){if(1&t&&(e.TgZ(0,"strong",22),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.xp6(1),e.Oqu(_)}}function Ns(t,n){if(1&t&&(e.TgZ(0,"strong",22),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.xp6(1),e.Oqu(_)}}function Gs(t,n){if(1&t&&(e.ynx(0),e.TgZ(1,"strong",13),e._uU(2,"Pools:"),e.qZA(),e.TgZ(3,"div",23),e.YNc(4,Ns,2,1,"strong",15),e.qZA(),e.BQk()),2&t){const _=e.oxw(2);e.xp6(4),e.Q6J("ngForOf",_.includedPools)}}function As(t,n){1&t&&(e.ynx(0),e.TgZ(1,"label",24),e.SDv(2,25),e.qZA(),e.BQk())}function Is(t,n){1&t&&(e.TgZ(0,"div",26)(1,"cd-alert-panel",27),e.SDv(2,28),e.qZA()())}function bs(t,n){if(1&t){const _=e.EpF();e.ynx(0),e.TgZ(1,"label",11),e.tHW(2,12),e._UZ(3,"strong"),e.N_p(),e.qZA(),e.YNc(4,Fs,3,0,"ng-container",7),e.TgZ(5,"strong",13),e._uU(6,"Zones:"),e.qZA(),e.TgZ(7,"div",14),e.YNc(8,Ps,2,1,"strong",15),e.qZA(),e.YNc(9,Gs,5,1,"ng-container",7),e.TgZ(10,"div",16)(11,"div",17)(12,"input",18),e.NdJ("change",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.showDangerText())}),e.qZA(),e.YNc(13,As,3,0,"ng-container",19),e.qZA(),e.YNc(14,Is,3,0,"div",20),e.qZA(),e.BQk()}if(2&t){const _=e.oxw(),o=e.MAs(13);e.xp6(3),e.pQV(null==_.zonegroup?null:_.zonegroup.name),e.QtT(2),e.xp6(1),e.Q6J("ngIf",_.includedPools.size>0),e.xp6(4),e.Q6J("ngForOf",_.zonesList),e.xp6(1),e.Q6J("ngIf",_.includedPools.size>0),e.xp6(4),e.Q6J("ngIf",_.includedPools.size>0)("ngIfElse",o),e.xp6(1),e.Q6J("ngIf",_.displayText)}}function hs(t,n){1&t&&(e.TgZ(0,"label",24),e.SDv(1,29),e.qZA())}let Ls=(()=>{class t{constructor(_,o,i,s,l,r){this.activeModal=_,this.actionLabels=o,this.notificationService=i,this.rgwZonegroupService=s,this.poolService=l,this.rgwZoneService=r,this.zonesPools=[],this.zonesList=[],this.displayText=!1,this.includedPools=new Set,this.createForm()}ngOnInit(){this.zonegroupData$=this.rgwZonegroupService.get(this.zonegroup),this.poolList$=this.poolService.getList()}ngAfterViewInit(){this.updateIncludedPools()}createForm(){this.zonegroupForm=new V.d({deletePools:new a.p4(!1)})}submit(){this.rgwZonegroupService.delete(this.zonegroup.name,this.zonegroupForm.value.deletePools,this.includedPools).subscribe(()=>{this.notificationService.show(w.k.success,"Zone: '" + this.zonegroup.name + "' deleted successfully"),this.activeModal.close()})}showDangerText(){this.includedPools.size>0&&(this.displayText=!this.displayText)}updateIncludedPools(){!this.zonegroupData$||!this.poolList$||this.zonegroupData$.subscribe(_=>{for(const o of _.zones)this.zonesList.push(o.name),this.rgwZoneService.get(o).subscribe(i=>{this.poolList$.subscribe(s=>{for(const l of Object.values(i))for(const r of s)if("string"==typeof l&&l.includes(r.pool_name))this.includedPools.add(r.pool_name);else if(Array.isArray(l)&&l[0].val)for(const d of l){const u=d.val;u.storage_classes.STANDARD.data_pool===r.pool_name&&this.includedPools.add(u.storage_classes.STANDARD.data_pool),u.data_extra_pool===r.pool_name&&this.includedPools.add(u.data_extra_pool),u.index_pool===r.pool_name&&this.includedPools.add(u.index_pool)}})})})}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(G.Kz),e.Y36(I.p4),e.Y36(Y.g),e.Y36(ge.K),e.Y36(G_.q),e.Y36(ue.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-multisite-zonegroup-deletion-form"]],decls:14,vars:6,consts:function(){let n,_,o,i,s,l,r;return n="Delete Zone Group",_=" This will delete your " + "\ufffd#8\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#8\ufffd" + " Zone Group. ",o=" Do you want to delete the associated zones and pools with the " + "\ufffd#3\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#3\ufffd" + " Zone Group?",i=" This will delete the following:",s="Yes, I want to delete the zones and their pools.",l=" This will delete all the data in the pools! ",r="Yes, I want to delete the zones.",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["name","zonegroupForm","novalidate","",3,"formGroup"],[1,"modal-body","ms-4"],_,[4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],["noPoolsConfirmation",""],[1,"mt-3"],o,[1,"mt-3","mb-2","h5","block"],["id","scroll"],["class","block",4,"ngFor","ngForOf"],[1,"form-group"],[1,"custom-control","custom-checkbox","mt-2"],["type","checkbox","name","deletePools","id","deletePools","formControlName","deletePools",1,"custom-control-input",3,"change"],[4,"ngIf","ngIfElse"],["class","me-4",4,"ngIf"],i,[1,"block"],["id","scroll",1,"mb-2"],["for","deletePools",1,"custom-control-label"],s,[1,"me-4"],["type","danger"],l,r]},template:function(_,o){1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4)(5,"div",5)(6,"label"),e.tHW(7,6),e._UZ(8,"strong"),e.N_p(),e.qZA(),e.YNc(9,bs,15,7,"ng-container",7),e.qZA(),e.TgZ(10,"div",8)(11,"cd-form-button-panel",9),e.NdJ("submitActionEvent",function(){return o.submit()}),e.qZA()()(),e.BQk(),e.qZA(),e.YNc(12,hs,2,0,"ng-template",null,10,e.W1O)),2&_&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.zonegroupForm),e.xp6(4),e.pQV(null==o.zonegroup?null:o.zonegroup.name),e.QtT(7),e.xp6(1),e.Q6J("ngIf",o.zonesList.length>0),e.xp6(2),e.Q6J("form",o.zonegroupForm)("submitText",o.actionLabels.DELETE))},dependencies:[T.sg,T.O5,X.z,Re.G,B.p,k.o,q.b,z.P,H.V,a._Y,a.Wl,a.JJ,a.JL,a.sg,a.u],styles:[".block[_ngcontent-%COMP%]{display:block}#scroll[_ngcontent-%COMP%]{height:100%;max-height:10rem;overflow:auto}"]}),t})();const Ws=function(t,n,_){return[t,n,_]};function $s(t,n){if(1&t&&(e.TgZ(0,"span",10),e._UZ(1,"i",11),e.qZA()),2&t){const _=e.oxw();e.xp6(1),e.Q6J("ngClass",e.kEZ(1,Ws,_.icons.large3x,_.icons.spinner,_.icons.spin))}}function Zs(t,n){if(1&t&&(e.tHW(0,16,1),e.TgZ(1,"div"),e._UZ(2,"b"),e.qZA(),e.N_p()),2&t){const _=n.$implicit;e.xp6(2),e.pQV(_.realm)(_.token),e.QtT(0)}}function Ds(t,n){if(1&t&&(e.TgZ(0,"cd-alert-panel",15),e.tHW(1,16),e.YNc(2,Zs,3,2,"div",14),e.N_p(),e.qZA()),2&t){const _=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",_.realms)}}function Us(t,n){1&t&&e._UZ(0,"hr")}function vs(t,n){if(1&t&&(e.TgZ(0,"div")(1,"div",17)(2,"label",18),e.SDv(3,19),e.qZA(),e.TgZ(4,"div",20),e._UZ(5,"input",21),e.qZA()(),e.TgZ(6,"div",17)(7,"label",22),e.SDv(8,23),e.qZA(),e.TgZ(9,"div",20),e._UZ(10,"input",24)(11,"cd-copy-2-clipboard-button",25),e.qZA(),e.YNc(12,Us,1,0,"hr",26),e.qZA()()),2&t){const _=n.$implicit,o=e.oxw(2);e.xp6(5),e.s9C("value",_.realm),e.xp6(5),e.s9C("value",_.token),e.xp6(1),e.s9C("source",_.token),e.Q6J("byId",!1),e.xp6(1),e.Q6J("ngIf",o.realms.length>1)}}function ys(t,n){if(1&t&&(e.TgZ(0,"div",12),e.YNc(1,Ds,3,1,"cd-alert-panel",13),e.YNc(2,vs,13,5,"div",14),e.qZA()),2&t){const _=e.oxw();e.xp6(1),e.Q6J("ngIf",!_.tokenValid),e.xp6(1),e.Q6J("ngForOf",_.realms)}}let ws=(()=>{class t{constructor(_,o,i,s,l){this.activeModal=_,this.rgwRealmService=o,this.actionLabels=i,this.notificationService=s,this.changeDetectorRef=l,this.tokenValid=!1,this.loading=!0,this.icons=$.P,this.createForm()}createForm(){this.exportTokenForm=new V.d({})}onSubmit(){this.activeModal.close()}ngOnInit(){this.rgwRealmService.getRealmTokens().subscribe(_=>{this.loading=!1,this.realms=_;var o=new RegExp("^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$");this.realms.forEach(i=>{this.tokenValid=!!o.test(i.token)})})}ngAfterViewChecked(){this.changeDetectorRef.detectChanges()}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(G.Kz),e.Y36(de.y),e.Y36(I.p4),e.Y36(Y.g),e.Y36(e.sBO))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-multisite-export"]],decls:10,vars:4,consts:function(){let n,_,o,i;return n="Export Multi-Site Realm Token",_="" + "\ufffd*2:1\ufffd\ufffd#1:1\ufffd" + "" + "\ufffd#2:1\ufffd" + "" + "\ufffd0:1\ufffd" + "" + "\ufffd/#2:1\ufffd" + " - " + "\ufffd1:1\ufffd" + " " + "\ufffd/#1:1\ufffd\ufffd/*2:1\ufffd" + "",o="Realm Name ",i="Token ",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["name","exportTokenForm",3,"formGroup"],["frm","ngForm"],["class","d-flex justify-content-center",4,"ngIf"],["class","modal-body",4,"ngIf"],[1,"modal-footer"],["aria-label","Close",1,"m-2","float-end",3,"backAction"],[1,"d-flex","justify-content-center"],[3,"ngClass"],[1,"modal-body"],["type","warning","class","mx-3",4,"ngIf"],[4,"ngFor","ngForOf"],["type","warning",1,"mx-3"],_,[1,"form-group","row"],["for","realmName",1,"cd-col-form-label"],o,[1,"cd-col-form-input"],["id","realmName","name","realmName","type","text","readonly","",3,"value"],["for","token",1,"cd-col-form-label"],i,["id","realmToken","name","realmToken","type","text","readonly","",1,"me-2","mb-4",3,"value"],[3,"source","byId"],[4,"ngIf"]]},template:function(_,o){1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5),e.YNc(6,$s,2,5,"span",6),e.YNc(7,ys,3,2,"div",7),e.TgZ(8,"div",8)(9,"cd-back-button",9),e.NdJ("backAction",function(){return o.activeModal.close()}),e.qZA()()(),e.BQk(),e.qZA()),2&_&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.exportTokenForm),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading))},dependencies:[T.mk,T.sg,T.O5,M_.W,X.z,Re.G,pe.s,k.o,z.P,H.V,a._Y,a.JL,a.sg]}),t})();var xs=c(7022),ks=c(22120),zs=c(48168),qs=c(14745),A_=c(79765),Hs=c(66682),Xs=c(54395),Bs=c(87519),Qs=c(45435),Ys=c(88002),I_=c(60192);function Js(t,n){1&t&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function Ks(t,n){1&t&&(e.TgZ(0,"span",29),e.SDv(1,31),e.qZA())}function Vs(t,n){1&t&&(e.TgZ(0,"span",29),e.SDv(1,32),e.qZA())}function js(t,n){1&t&&(e.TgZ(0,"div",9)(1,"label",33),e.SDv(2,34),e.qZA(),e.TgZ(3,"div",12)(4,"select",35)(5,"option",36),e.SDv(6,37),e.qZA(),e.TgZ(7,"option",38),e.SDv(8,39),e.qZA()()()())}function ea(t,n){1&t&&(e.TgZ(0,"span",29),e.SDv(1,43),e.qZA())}function _a(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div",9)(1,"label",40),e.SDv(2,41),e.qZA(),e.TgZ(3,"div",12)(4,"input",42),e.NdJ("focus",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.labelFocus.next(i.target.value))})("click",function(i){e.CHM(_);const s=e.oxw();return e.KtG(s.labelClick.next(i.target.value))}),e.qZA(),e.YNc(5,ea,2,0,"span",14),e.qZA()()}if(2&t){const _=e.oxw(),o=e.MAs(5);e.xp6(4),e.Q6J("ngbTypeahead",_.searchLabels),e.xp6(1),e.Q6J("ngIf",_.importTokenForm.showError("label",o,"required"))}}function ta(t,n){if(1&t&&(e.TgZ(0,"div",9)(1,"label",44),e.SDv(2,45),e.qZA(),e.TgZ(3,"div",12),e._UZ(4,"cd-select-badges",46),e.qZA()()),2&t){const _=e.oxw();e.xp6(4),e.Q6J("data",_.importTokenForm.controls.hosts.value)("options",_.hosts.options)("messages",_.hosts.messages)}}function oa(t,n){1&t&&(e.TgZ(0,"span",29),e.SDv(1,51),e.qZA())}function na(t,n){1&t&&(e.TgZ(0,"span",29),e.SDv(1,52),e.qZA())}function ia(t,n){if(1&t&&(e.TgZ(0,"div",9)(1,"label",47)(2,"span"),e.SDv(3,48),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,49),e.qZA()(),e.TgZ(6,"div",12),e._UZ(7,"input",50),e.YNc(8,oa,2,0,"span",14),e.YNc(9,na,2,0,"span",14),e.qZA()()),2&t){const _=e.oxw(),o=e.MAs(5);e.xp6(8),e.Q6J("ngIf",_.importTokenForm.showError("count",o,"min")),e.xp6(1),e.Q6J("ngIf",_.importTokenForm.showError("count",o,"pattern"))}}function sa(t,n){1&t&&(e.TgZ(0,"span",29),e.SDv(1,56),e.qZA())}function aa(t,n){1&t&&(e.TgZ(0,"span",29),e.SDv(1,57),e.qZA())}function la(t,n){1&t&&(e.TgZ(0,"span",29),e.SDv(1,58),e.qZA())}function ra(t,n){if(1&t&&(e.ynx(0),e.TgZ(1,"div",9)(2,"label",53),e.SDv(3,54),e.qZA(),e.TgZ(4,"div",12),e._UZ(5,"input",55),e.YNc(6,sa,2,0,"span",14),e.YNc(7,aa,2,0,"span",14),e.YNc(8,la,2,0,"span",14),e.qZA()(),e.BQk()),2&t){const _=e.oxw(),o=e.MAs(5);e.xp6(6),e.Q6J("ngIf",_.importTokenForm.showError("rgw_frontend_port",o,"pattern")),e.xp6(1),e.Q6J("ngIf",_.importTokenForm.showError("rgw_frontend_port",o,"min")),e.xp6(1),e.Q6J("ngIf",_.importTokenForm.showError("rgw_frontend_port",o,"max"))}}let ca=(()=>{class t{constructor(_,o,i,s,l){this.activeModal=_,this.hostService=o,this.rgwRealmService=i,this.actionLabels=s,this.notificationService=l,this.endpoints=/^((https?:\/\/)|(www.))(?:([a-zA-Z]+)|(\d+\.\d+.\d+.\d+)):\d{2,4}$/,this.ipv4Rgx=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i,this.ipv6Rgx=/^(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}$/i,this.multisiteInfo=[],this.zoneList=[],this.labelClick=new A_.xQ,this.labelFocus=new A_.xQ,this.searchLabels=r=>(0,Hs.T)(r.pipe((0,Xs.b)(200),(0,Bs.x)()),this.labelFocus,this.labelClick.pipe((0,Qs.h)(()=>!this.typeahead.isPopupOpen()))).pipe((0,Ys.U)(d=>this.labels.filter(u=>u.toLowerCase().indexOf(d.toLowerCase())>-1).slice(0,10))),this.hosts={options:[],messages:new xs.a({empty:"There are no hosts.",filter:"Filter hosts"})},this.createForm()}ngOnInit(){this.zoneList=void 0!==this.multisiteInfo[2]&&this.multisiteInfo[2].hasOwnProperty("zones")?this.multisiteInfo[2].zones:[],this.zoneNames=this.zoneList.map(o=>o.name);const _=new zs.E(()=>{});this.hostService.list(_.toParams(),"false").subscribe(o=>{const i=[];E().forEach(o,s=>{if(E().get(s,"sources.orchestrator",!1)){const l=new qs.$(!1,E().get(s,"hostname"),"");i.push(l)}}),this.hosts.options=[...i]}),this.hostService.getLabels().subscribe(o=>{this.labels=o})}createForm(){this.importTokenForm=new V.d({realmToken:new a.NI("",{validators:[a.kI.required]}),zoneName:new a.NI(null,{validators:[a.kI.required,m.h.custom("uniqueName",_=>this.zoneNames&&-1!==this.zoneNames.indexOf(_))]}),rgw_frontend_port:new a.NI(null,{validators:[a.kI.required,a.kI.pattern("^[0-9]*$")]}),placement:new a.NI("hosts"),label:new a.NI(null,[m.h.requiredIf({placement:"label",unmanaged:!1})]),hosts:new a.NI([]),count:new a.NI(null,[m.h.number(!1)]),unmanaged:new a.NI(!1)})}onSubmit(){const _=this.importTokenForm.value,o={placement:{}};if(!_.unmanaged){switch(_.placement){case"hosts":_.hosts.length>0&&(o.placement.hosts=_.hosts);break;case"label":o.placement.label=_.label}E().isNumber(_.count)&&_.count>0&&(o.placement.count=_.count)}this.rgwRealmService.importRealmToken(_.realmToken,_.zoneName,_.rgw_frontend_port,o).subscribe(()=>{this.notificationService.show(w.k.success,"Realm token import successfull"),this.activeModal.close()},()=>{this.importTokenForm.setErrors({cdSubmitButton:!0})})}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(G.Kz),e.Y36(ks.x),e.Y36(de.y),e.Y36(I.p4),e.Y36(Y.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-multisite-import"]],viewQuery:function(_,o){if(1&_&&e.Gf(G.dR,5),2&_){let i;e.iGM(i=e.CRH())&&(o.typeahead=i.first)}},decls:47,vars:12,consts:function(){let n,_,o,i,s,l,r,d,u,R,O,F,b,h,M,L,S,W,C,Z,D,U,v,y;return n="Import Multi-Site Token",_="Zone Details",o="Token ",i="Secondary Zone Name",s="Service Details",l="Unmanaged",r="If set to true, the orchestrator will not start nor stop any daemon associated with this service. Placement and all other properties will be ignored.",d="This field is required.",u="This field is required.",R="The chosen zone name is already in use.",O="Placement",F="Hosts",b="Label",h="Label",M="This field is required.",L="Hosts",S="Count",W="Only that number of daemons will be created.",C="The value must be at least 1.",Z="The entered value needs to be a number.",D="Port",U="The entered value needs to be a number.",v="The value must be at least 1.",y="The value cannot exceed 65535.",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["name","importTokenForm",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],["type","info","spacingClass","mb-3"],_,[1,"form-group","row"],["for","realmToken",1,"cd-col-form-label","required"],o,[1,"cd-col-form-input"],["id","realmToken","name","realmToken","type","text","formControlName","realmToken",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","zoneName",1,"cd-col-form-label","required"],i,["type","text","placeholder","Zone name...","id","zoneName","name","zoneName","formControlName","zoneName",1,"form-control"],s,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","unmanaged","type","checkbox","formControlName","unmanaged",1,"custom-control-input"],["for","unmanaged",1,"custom-control-label"],l,r,["class","form-group row",4,"ngIf"],[4,"ngIf"],[1,"modal-footer"],[3,"submitText","form","submitActionEvent"],[1,"invalid-feedback"],d,u,R,["for","placement",1,"cd-col-form-label"],O,["id","placement","formControlName","placement",1,"form-select"],["value","hosts"],F,["value","label"],b,["for","label",1,"cd-col-form-label"],h,["id","label","type","text","formControlName","label",1,"form-control",3,"ngbTypeahead","focus","click"],M,["for","hosts",1,"cd-col-form-label"],L,["id","hosts",3,"data","options","messages"],["for","count",1,"cd-col-form-label"],S,W,["id","count","type","number","formControlName","count","min","1",1,"form-control"],C,Z,["for","rgw_frontend_port",1,"cd-col-form-label"],D,["id","rgw_frontend_port","type","number","formControlName","rgw_frontend_port","min","1","max","65535",1,"form-control"],U,v,y]},template:function(_,o){if(1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"cd-alert-panel",7)(8,"ul")(9,"li"),e._uU(10,"This feature allows you to configure a connection between your primary and secondary Ceph clusters for data replication. By importing a token, you establish a link between the clusters, enabling data synchronization."),e.qZA(),e.TgZ(11,"li"),e._uU(12,"To obtain the token, generate it from your primary Ceph cluster. This token includes encoded information about the primary cluster's endpoint, access key, and secret key."),e.qZA(),e.TgZ(13,"li"),e._uU(14,"The secondary zone represents the destination cluster where your data will be replicated."),e.qZA()()(),e.TgZ(15,"legend"),e.SDv(16,8),e.qZA(),e.TgZ(17,"div",9)(18,"label",10),e.SDv(19,11),e.qZA(),e.TgZ(20,"div",12),e._UZ(21,"input",13),e.YNc(22,Js,2,0,"span",14),e.qZA()(),e.TgZ(23,"div",9)(24,"label",15),e.SDv(25,16),e.qZA(),e.TgZ(26,"div",12),e._UZ(27,"input",17),e.YNc(28,Ks,2,0,"span",14),e.YNc(29,Vs,2,0,"span",14),e.qZA()(),e.TgZ(30,"legend"),e.SDv(31,18),e.qZA(),e.TgZ(32,"div",9)(33,"div",19)(34,"div",20),e._UZ(35,"input",21),e.TgZ(36,"label",22),e.SDv(37,23),e.qZA(),e.TgZ(38,"cd-helper"),e.SDv(39,24),e.qZA()()()(),e.YNc(40,js,9,0,"div",25),e.YNc(41,_a,6,2,"div",25),e.YNc(42,ta,5,3,"div",25),e.YNc(43,ia,10,2,"div",25),e.YNc(44,ra,9,3,"ng-container",26),e.qZA(),e.TgZ(45,"div",27)(46,"cd-form-button-panel",28),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.qZA()()(),e.BQk(),e.qZA()),2&_){const i=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.importTokenForm),e.xp6(18),e.Q6J("ngIf",o.importTokenForm.showError("realmToken",i,"required")),e.xp6(6),e.Q6J("ngIf",o.importTokenForm.showError("zoneName",i,"required")),e.xp6(1),e.Q6J("ngIf",o.importTokenForm.showError("zoneName",i,"uniqueName")),e.xp6(11),e.Q6J("ngIf",!o.importTokenForm.controls.unmanaged.value),e.xp6(1),e.Q6J("ngIf",!o.importTokenForm.controls.unmanaged.value&&"label"===o.importTokenForm.controls.placement.value),e.xp6(1),e.Q6J("ngIf",!o.importTokenForm.controls.unmanaged.value&&"hosts"===o.importTokenForm.controls.placement.value),e.xp6(1),e.Q6J("ngIf",!o.importTokenForm.controls.unmanaged.value),e.xp6(1),e.Q6J("ngIf",!o.importTokenForm.controls.unmanaged.value),e.xp6(2),e.Q6J("submitText",o.actionLabels.IMPORT)("form",o.importTokenForm)}},dependencies:[T.O5,j.S,I_.m,X.z,Re.G,B.p,k.o,q.b,z.P,H.V,a._Y,a.YN,a.Kr,a.Fj,a.wV,a.Wl,a.EJ,a.JJ,a.JL,a.qQ,a.Fd,a.sg,a.u]}),t})();var da=c(72625);function ua(t,n){1&t&&(e.TgZ(0,"span",20),e.SDv(1,21),e.qZA())}function ga(t,n){1&t&&(e.TgZ(0,"span",20),e.SDv(1,22),e.qZA())}function Ra(t,n){1&t&&(e.TgZ(0,"cd-helper")(1,"span"),e.SDv(2,23),e.qZA()())}function Ta(t,n){if(1&t&&(e.TgZ(0,"cd-helper")(1,"span"),e.tHW(2,24),e._UZ(3,"a",25),e.N_p(),e.qZA()()),2&t){const _=e.oxw();e.xp6(3),e.s9C("href",_.docUrl,e.LSH)}}function Ea(t,n){1&t&&(e.TgZ(0,"cd-helper")(1,"span"),e.SDv(2,26),e.qZA()())}let fa=(()=>{class t{constructor(_,o,i,s,l){this.activeModal=_,this.actionLabels=o,this.rgwRealmService=i,this.notificationService=s,this.docService=l,this.editing=!1,this.multisiteInfo=[],this.realmList=[],this.zonegroupList=[],this.defaultRealmDisabled=!1,this.action=this.editing?this.actionLabels.EDIT+this.resource:this.actionLabels.CREATE+this.resource,this.createForm()}createForm(){this.multisiteRealmForm=new V.d({realmName:new a.p4(null,{validators:[a.kI.required,m.h.custom("uniqueName",_=>"create"===this.action&&this.realmNames&&-1!==this.realmNames.indexOf(_))]}),default_realm:new a.p4(!1)})}ngOnInit(){this.realmList=void 0!==this.multisiteInfo[0]&&this.multisiteInfo[0].hasOwnProperty("realms")?this.multisiteInfo[0].realms:[],this.realmNames=this.realmList.map(_=>_.name),"edit"===this.action&&(this.zonegroupList=void 0!==this.multisiteInfo[1]&&this.multisiteInfo[1].hasOwnProperty("zonegroups")?this.multisiteInfo[1].zonegroups:[],this.multisiteRealmForm.get("realmName").setValue(this.info.data.name),this.multisiteRealmForm.get("default_realm").setValue(this.info.data.is_default),this.info.data.is_default&&this.multisiteRealmForm.get("default_realm").disable()),this.zonegroupList.forEach(_=>{!0===_.is_master&&_.realm_id===this.info.data.id&&(this.isMaster=!0)}),this.defaultsInfo&&null!==this.defaultsInfo.defaultRealmName&&(this.multisiteRealmForm.get("default_realm").disable(),this.defaultRealmDisabled=!0),this.docUrl=this.docService.urlGenerator("rgw-multisite")}submit(){const _=this.multisiteRealmForm.getRawValue();this.realm=new x.L6,"create"===this.action?(this.realm.name=_.realmName,this.rgwRealmService.create(this.realm,_.default_realm).subscribe(()=>{this.notificationService.show(w.k.success,"Realm: '" + _.realmName + "' created successfully"),this.activeModal.close()},()=>{this.multisiteRealmForm.setErrors({cdSubmitButton:!0})})):"edit"===this.action&&(this.realm.name=this.info.data.name,this.newRealmName=_.realmName,this.rgwRealmService.update(this.realm,_.default_realm,this.newRealmName).subscribe(()=>{this.notificationService.show(w.k.success,"Realm: '" + _.realmName + "' updated successfully"),this.activeModal.close()},()=>{this.multisiteRealmForm.setErrors({cdSubmitButton:!0})}))}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(G.Kz),e.Y36(I.p4),e.Y36(de.y),e.Y36(Y.g),e.Y36(da.R))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-multisite-realm-form"]],decls:27,vars:20,consts:function(){let n,_,o,i,s,l,r,d;return n="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",_="Realm Name",o="Default",i="This field is required.",s="The chosen realm name is already in use.",l="You cannot unset the default flag.",r="Please consult the " + "\ufffd#3\ufffd" + "documentation" + "\ufffd/#3\ufffd" + " to follow the failover mechanism",d="Default realm already exists.",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["name","multisiteRealmForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","realmName",1,"cd-col-form-label","required"],_,[1,"cd-col-form-input"],["type","text","placeholder","Realm name...","id","realmName","name","realmName","formControlName","realmName",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"custom-control","custom-checkbox"],["id","default_realm","name","default_realm","formControlName","default_realm","type","checkbox",1,"form-check-input"],["for","default_realm",1,"form-check-label"],o,[4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],i,s,l,r,[3,"href"],d]},template:function(_,o){if(1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10),e._UZ(13,"input",11),e.YNc(14,ua,2,0,"span",12),e.YNc(15,ga,2,0,"span",12),e.TgZ(16,"div",13),e._UZ(17,"input",14),e.TgZ(18,"label",15),e.SDv(19,16),e.qZA(),e.YNc(20,Ra,3,0,"cd-helper",17),e.YNc(21,Ta,4,1,"cd-helper",17),e.YNc(22,Ea,3,0,"cd-helper",17),e.qZA()()()(),e.TgZ(23,"div",18)(24,"cd-form-button-panel",19),e.NdJ("submitActionEvent",function(){return o.submit()}),e.ALo(25,"titlecase"),e.ALo(26,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&_){const i=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,12,o.action))(e.lcZ(4,14,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.multisiteRealmForm),e.xp6(8),e.Q6J("ngIf",o.multisiteRealmForm.showError("realmName",i,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteRealmForm.showError("realmName",i,"uniqueName")),e.xp6(2),e.uIk("disabled","edit"===o.action||null),e.xp6(3),e.Q6J("ngIf","edit"===o.action&&o.info.data.is_default),e.xp6(1),e.Q6J("ngIf","edit"===o.action&&!o.info.data.is_default),e.xp6(1),e.Q6J("ngIf",o.defaultRealmDisabled&&"create"===o.action),e.xp6(2),e.Q6J("form",o.multisiteRealmForm)("submitText",e.lcZ(25,16,o.action)+" "+e.lcZ(26,18,o.resource))}},dependencies:[T.O5,j.S,X.z,B.p,k.o,q.b,z.P,H.V,a._Y,a.Fj,a.Wl,a.JJ,a.JL,a.sg,a.u,T.rS,_e.m]}),t})();function pa(t,n){if(1&t&&(e.TgZ(0,"option",36),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw();e.Q6J("value",_.name)("selected",_.name===o.multisiteZoneForm.getValue("selectedZonegroup")),e.xp6(1),e.hij(" ",_.name," ")}}function ma(t,n){1&t&&(e.TgZ(0,"span",37),e.SDv(1,38),e.qZA())}function Ma(t,n){1&t&&(e.TgZ(0,"span",37),e.SDv(1,39),e.qZA())}function Sa(t,n){1&t&&(e.TgZ(0,"span")(1,"cd-helper"),e.SDv(2,40),e.qZA()())}function Ca(t,n){1&t&&(e.TgZ(0,"span")(1,"cd-helper"),e.SDv(2,41),e.qZA()())}function Oa(t,n){if(1&t&&(e.TgZ(0,"cd-helper")(1,"span"),e.tHW(2,42),e._UZ(3,"a",43),e.N_p(),e.qZA()()),2&t){const _=e.oxw();e.xp6(3),e.s9C("href",_.docUrl,e.LSH)}}function Fa(t,n){1&t&&(e.TgZ(0,"span")(1,"cd-helper"),e.SDv(2,44),e.qZA()())}function Pa(t,n){1&t&&(e.TgZ(0,"span")(1,"cd-helper"),e.SDv(2,45),e.qZA()())}function Na(t,n){if(1&t&&(e.TgZ(0,"cd-helper")(1,"span"),e.tHW(2,46),e._UZ(3,"a",43),e.N_p(),e.qZA()()),2&t){const _=e.oxw();e.xp6(3),e.s9C("href",_.docUrl,e.LSH)}}function Ga(t,n){1&t&&(e.TgZ(0,"span",37),e.SDv(1,47),e.qZA())}function Aa(t,n){1&t&&(e.TgZ(0,"span",37),e.SDv(1,48),e.qZA())}function Ia(t,n){if(1&t&&(e.TgZ(0,"option",36),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw(3);e.Q6J("value",_.name)("selected",_.name===o.multisiteZoneForm.getValue("placementTarget")),e.xp6(1),e.hij(" ",_.name," ")}}function ba(t,n){if(1&t&&(e.TgZ(0,"option",36),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw(3);e.Q6J("value",_.poolname)("selected",_.poolname===o.multisiteZoneForm.getValue("placementDataPool")),e.xp6(1),e.hij(" ",_.poolname," ")}}function ha(t,n){if(1&t&&(e.TgZ(0,"option",36),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw(3);e.Q6J("value",_.poolname)("selected",_.poolname===o.multisiteZoneForm.getValue("placementIndexPool")),e.xp6(1),e.hij(" ",_.poolname," ")}}function La(t,n){if(1&t&&(e.TgZ(0,"option",36),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw(3);e.Q6J("value",_.poolname)("selected",_.poolname===o.multisiteZoneForm.getValue("placementDataExtraPool")),e.xp6(1),e.hij(" ",_.poolname," ")}}function Wa(t,n){if(1&t&&(e.TgZ(0,"option",71),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_.value),e.xp6(1),e.hij(" ",_.value," ")}}function $a(t,n){if(1&t&&(e.TgZ(0,"option",36),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw(3);e.Q6J("value",_.poolname)("selected",_.poolname===o.multisiteZoneForm.getValue("storageDataPool")),e.xp6(1),e.hij(" ",_.poolname," ")}}function Za(t,n){if(1&t&&(e.TgZ(0,"option",71),e._uU(1),e.qZA()),2&t){const _=n.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",_," ")}}function Da(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div")(1,"legend"),e._uU(2,"Placement Targets"),e.qZA(),e.TgZ(3,"div",7)(4,"label",49),e.SDv(5,50),e.qZA(),e.TgZ(6,"div",10)(7,"select",51),e.NdJ("change",function(i){e.CHM(_);const s=e.oxw(2);return e.KtG(s.getZonePlacementData(i.target.value))}),e.YNc(8,Ia,2,3,"option",12),e.qZA()()(),e.TgZ(9,"div",7)(10,"label",52),e.SDv(11,53),e.qZA(),e.TgZ(12,"div",10)(13,"select",54),e.YNc(14,ba,2,3,"option",12),e.qZA()()(),e.TgZ(15,"div",7)(16,"label",55),e.SDv(17,56),e.qZA(),e.TgZ(18,"div",10)(19,"select",57),e.YNc(20,ha,2,3,"option",12),e.qZA()()(),e.TgZ(21,"div",7)(22,"label",58),e.SDv(23,59),e.qZA(),e.TgZ(24,"div",10)(25,"select",60),e.YNc(26,La,2,3,"option",12),e.qZA()()(),e.TgZ(27,"div")(28,"legend"),e._uU(29,"Storage Classes"),e.qZA(),e.TgZ(30,"div",7)(31,"label",61),e.SDv(32,62),e.qZA(),e.TgZ(33,"div",10)(34,"select",63),e.NdJ("change",function(i){e.CHM(_);const s=e.oxw(2);return e.KtG(s.getStorageClassData(i.target.value))}),e.YNc(35,Wa,2,2,"option",64),e.qZA()()(),e.TgZ(36,"div",7)(37,"label",65),e.SDv(38,66),e.qZA(),e.TgZ(39,"div",10)(40,"select",67),e.YNc(41,$a,2,3,"option",12),e.qZA()()(),e.TgZ(42,"div",7)(43,"label",68),e.SDv(44,69),e.qZA(),e.TgZ(45,"div",10)(46,"select",70),e.YNc(47,Za,2,2,"option",64),e.qZA()()()()()}if(2&t){const _=e.oxw(2);e.xp6(8),e.Q6J("ngForOf",_.placementTargets),e.xp6(5),e.Q6J("value",_.placementDataPool),e.xp6(1),e.Q6J("ngForOf",_.poolList),e.xp6(6),e.Q6J("ngForOf",_.poolList),e.xp6(6),e.Q6J("ngForOf",_.poolList),e.xp6(9),e.Q6J("ngForOf",_.storageClassList),e.xp6(6),e.Q6J("ngForOf",_.poolList),e.xp6(6),e.Q6J("ngForOf",_.compressionTypes)}}function Ua(t,n){if(1&t&&(e.TgZ(0,"div",7),e.YNc(1,Da,48,8,"div",21),e.qZA()),2&t){const _=e.oxw();e.xp6(1),e.Q6J("ngIf","edit"===_.action)}}let va=(()=>{class t{constructor(_,o,i,s,l,r,d,u){this.activeModal=_,this.actionLabels=o,this.rgwMultisiteService=i,this.rgwZoneService=s,this.rgwZoneGroupService=l,this.notificationService=r,this.rgwUserService=d,this.modalService=u,this.endpoints=/^((https?:\/\/)|(www.))(?:([a-zA-Z]+)|(\d+\.\d+.\d+.\d+)):\d{2,4}$/,this.ipv4Rgx=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i,this.ipv6Rgx=/^(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}$/i,this.editing=!1,this.defaultsInfo=[],this.multisiteInfo=[],this.zonegroupList=[],this.zoneList=[],this.poolList=[],this.storageClassList=[],this.disableDefault=!1,this.disableMaster=!1,this.isMetadataSync=!1,this.syncStatusTimedOut=!1,this.createSystemUser=!1,this.compressionTypes=["lz4","zlib","snappy"],this.userListReady=!1,this.action=this.editing?this.actionLabels.EDIT+this.resource:this.actionLabels.CREATE+this.resource,this.createForm()}createForm(){this.multisiteZoneForm=new V.d({zoneName:new a.p4(null,{validators:[a.kI.required,m.h.custom("uniqueName",_=>"create"===this.action&&this.zoneNames&&-1!==this.zoneNames.indexOf(_))]}),default_zone:new a.p4(!1),master_zone:new a.p4(!1),selectedZonegroup:new a.p4(null),zone_endpoints:new a.p4(null,{validators:[m.h.custom("endpoint",_=>!(E().isEmpty(_)||(_.includes(",")?(_.split(",").forEach(o=>!this.endpoints.test(o)&&!this.ipv4Rgx.test(o)&&!this.ipv6Rgx.test(o)),1):this.endpoints.test(_)||this.ipv4Rgx.test(_)||this.ipv6Rgx.test(_)))),a.kI.required]}),access_key:new a.p4(null,a.kI.required),secret_key:new a.p4(null,a.kI.required),placementTarget:new a.p4(null),placementDataPool:new a.p4(""),placementIndexPool:new a.p4(null),placementDataExtraPool:new a.p4(null),storageClass:new a.p4(null),storageDataPool:new a.p4(null),storageCompression:new a.p4(null)})}onZoneGroupChange(_){let o=new x.iG;o.name=_,this.rgwZoneGroupService.get(o).subscribe(i=>{E().isEmpty(i.master_zone)?(this.multisiteZoneForm.get("master_zone").setValue(!0),this.multisiteZoneForm.get("master_zone").disable(),this.disableMaster=!1):!E().isEmpty(i.master_zone)&&"create"===this.action&&(this.multisiteZoneForm.get("master_zone").setValue(!1),this.multisiteZoneForm.get("master_zone").disable(),this.disableMaster=!0)}),this.multisiteZoneForm.getValue("selectedZonegroup")!==this.defaultsInfo.defaultZonegroupName&&(this.disableDefault=!0,this.multisiteZoneForm.get("default_zone").disable())}ngOnInit(){this.zonegroupList=void 0!==this.multisiteInfo[1]&&this.multisiteInfo[1].hasOwnProperty("zonegroups")?this.multisiteInfo[1].zonegroups:[],this.zoneList=void 0!==this.multisiteInfo[2]&&this.multisiteInfo[2].hasOwnProperty("zones")?this.multisiteInfo[2].zones:[],this.zoneNames=this.zoneList.map(_=>_.name),"create"===this.action&&void 0!==this.defaultsInfo.defaultZonegroupName&&(this.multisiteZoneForm.get("selectedZonegroup").setValue(this.defaultsInfo.defaultZonegroupName),this.onZoneGroupChange(this.defaultsInfo.defaultZonegroupName)),"edit"===this.action&&(this.placementTargets=this.info.parent?this.info.parent.data.placement_targets:[],this.rgwZoneService.getPoolNames().subscribe(o=>{this.poolList=o}),this.multisiteZoneForm.get("zoneName").setValue(this.info.data.name),this.multisiteZoneForm.get("selectedZonegroup").setValue(this.info.data.parent),this.multisiteZoneForm.get("default_zone").setValue(this.info.data.is_default),this.multisiteZoneForm.get("master_zone").setValue(this.info.data.is_master),this.multisiteZoneForm.get("zone_endpoints").setValue(this.info.data.endpoints.toString()),this.multisiteZoneForm.get("access_key").setValue(this.info.data.access_key),this.multisiteZoneForm.get("secret_key").setValue(this.info.data.secret_key),this.multisiteZoneForm.get("placementTarget").setValue(this.info.parent.data.default_placement),this.getZonePlacementData(this.multisiteZoneForm.getValue("placementTarget")),this.info.data.is_default&&(this.isDefaultZone=!0,this.multisiteZoneForm.get("default_zone").disable()),this.info.data.is_master&&(this.isMasterZone=!0,this.multisiteZoneForm.get("master_zone").disable()),(new x.jb).name=this.info.data.name,this.onZoneGroupChange(this.info.data.parent)),this.multisiteZoneForm.getValue("selectedZonegroup")!==this.defaultsInfo.defaultZonegroupName&&(this.disableDefault=!0,this.multisiteZoneForm.get("default_zone").disable())}getZonePlacementData(_){this.zone=new x.jb,this.zone.name=this.info.data.name,this.placementTargets&&this.placementTargets.forEach(o=>{o.name===_&&(this.storageClassList=Object.entries(o.storage_classes).map(([s,l])=>({key:s,value:l})))}),this.rgwZoneService.get(this.zone).subscribe(o=>{this.zoneInfo=o,this.zoneInfo&&this.zoneInfo.placement_pools&&this.zoneInfo.placement_pools.forEach(i=>{if(i.key===_){let s=i.val.storage_classes,l=s.STANDARD?s.STANDARD.data_pool:"",r=i.val.index_pool,d=i.val.data_extra_pool;this.poolList.push({poolname:l}),this.poolList.push({poolname:r}),this.poolList.push({poolname:d}),this.multisiteZoneForm.get("storageClass").setValue(this.storageClassList[0].value),this.multisiteZoneForm.get("storageDataPool").setValue(l),this.multisiteZoneForm.get("storageCompression").setValue(this.compressionTypes[0]),this.multisiteZoneForm.get("placementDataPool").setValue(l),this.multisiteZoneForm.get("placementIndexPool").setValue(r),this.multisiteZoneForm.get("placementDataExtraPool").setValue(d)}})})}getStorageClassData(_){let o=this.storageClassList.find(i=>i.value==_).value;this.poolList.push({poolname:o.data_pool}),this.multisiteZoneForm.get("storageDataPool").setValue(o.data_pool),this.multisiteZoneForm.get("storageCompression").setValue(o.compression_type)}submit(){const _=this.multisiteZoneForm.getRawValue();"create"===this.action?(this.zonegroup=new x.iG,this.zonegroup.name=_.selectedZonegroup,this.zone=new x.jb,this.zone.name=_.zoneName,this.zone.endpoints=_.zone_endpoints,this.zone.system_key=new x.VY,this.zone.system_key.access_key=_.access_key,this.zone.system_key.secret_key=_.secret_key,this.rgwZoneService.create(this.zone,this.zonegroup,_.default_zone,_.master_zone,this.zone.endpoints).subscribe(()=>{this.notificationService.show(w.k.success,"Zone: '" + _.zoneName + "' created successfully"),this.activeModal.close()},()=>{this.multisiteZoneForm.setErrors({cdSubmitButton:!0})})):"edit"===this.action&&(this.zonegroup=new x.iG,this.zonegroup.name=_.selectedZonegroup,this.zone=new x.jb,this.zone.name=this.info.data.name,this.zone.endpoints=_.zone_endpoints,this.zone.system_key=new x.VY,this.zone.system_key.access_key=_.access_key,this.zone.system_key.secret_key=_.secret_key,this.rgwZoneService.update(this.zone,this.zonegroup,_.zoneName,_.default_zone,_.master_zone,this.zone.endpoints,_.placementTarget,_.placementDataPool,_.placementIndexPool,_.placementDataExtraPool,_.storageClass,_.storageDataPool,_.storageCompression).subscribe(()=>{this.notificationService.show(w.k.success,"Zone: '" + _.zoneName + "' updated successfully"),this.activeModal.close()},()=>{this.multisiteZoneForm.setErrors({cdSubmitButton:!0})}))}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(G.Kz),e.Y36(I.p4),e.Y36(e_.o),e.Y36(ue.g),e.Y36(ge.K),e.Y36(Y.g),e.Y36(Q),e.Y36(ee.Z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-multisite-zone-form"]],decls:71,vars:29,consts:function(){let n,_,o,i,s,l,r,d,u,R,O,F,b,h,M,L,S,W,C,Z,D,U,v,y,f;return n="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",_="Select Zone Group",o="Zone Name",i="Default",s="Master",l="Endpoints",r="S3 access key " + "\ufffd#47\ufffd" + "" + "\ufffd#48\ufffd" + "To see or copy your S3 access key, go to " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Object Gateway > Users" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + " and click on your user name. In " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Keys" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + ", click " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Show" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + ". View the access key by clicking Show and copy the key by clicking " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Copy to Clipboard" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + "." + "\ufffd/#48\ufffd" + "" + "\ufffd/#47\ufffd" + "",r=e.Zx4(r),d="S3 secret key " + "\ufffd#58\ufffd" + "" + "\ufffd#59\ufffd" + "To see or copy your S3 access key, go to " + "[\ufffd#60\ufffd|\ufffd#61\ufffd|\ufffd#62\ufffd|\ufffd#63\ufffd]" + "Object Gateway > Users" + "[\ufffd/#60\ufffd|\ufffd/#61\ufffd|\ufffd/#62\ufffd|\ufffd/#63\ufffd]" + " and click on your user name. In " + "[\ufffd#60\ufffd|\ufffd#61\ufffd|\ufffd#62\ufffd|\ufffd#63\ufffd]" + "Keys" + "[\ufffd/#60\ufffd|\ufffd/#61\ufffd|\ufffd/#62\ufffd|\ufffd/#63\ufffd]" + ", click " + "[\ufffd#60\ufffd|\ufffd#61\ufffd|\ufffd#62\ufffd|\ufffd#63\ufffd]" + "Show" + "[\ufffd/#60\ufffd|\ufffd/#61\ufffd|\ufffd/#62\ufffd|\ufffd/#63\ufffd]" + ". View the secret key by clicking Show and copy the key by clicking " + "[\ufffd#60\ufffd|\ufffd#61\ufffd|\ufffd#62\ufffd|\ufffd#63\ufffd]" + "Copy to Clipboard" + "[\ufffd/#60\ufffd|\ufffd/#61\ufffd|\ufffd/#62\ufffd|\ufffd/#63\ufffd]" + "." + "\ufffd/#59\ufffd" + "" + "\ufffd/#58\ufffd" + "",d=e.Zx4(d),u="This field is required.",R="The chosen zone name is already in use.",O="Default zone can only exist in a default zone group. ",F="You cannot unset the default flag. ",b="Please consult the " + "\ufffd#3\ufffd" + "documentation" + "\ufffd/#3\ufffd" + " to follow the failover mechanism",h="Master zone already exists for the selected zone group. ",M="You cannot unset the master flag. ",L="Please consult the " + "\ufffd#3\ufffd" + "documentation" + "\ufffd/#3\ufffd" + " to follow the failover mechanism",S="This field is required.",W="Please enter a valid IP address.",C="Placement target",Z="Data pool",D="Index pool",U="Data extra pool",v="Storage Class",y="Data pool",f="Compression",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["name","multisiteZoneForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","selectedZonegroup",1,"cd-col-form-label"],_,[1,"cd-col-form-input"],["id","selectedZonegroup","formControlName","selectedZonegroup","name","selectedZonegroup",1,"form-select",3,"change"],[3,"value","selected",4,"ngFor","ngForOf"],["for","zonegroupName",1,"cd-col-form-label","required"],o,["type","text","placeholder","Zone name...","id","zoneName","name","zoneName","formControlName","zoneName",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"custom-control","custom-checkbox"],["id","default_zone","name","default_zone","formControlName","default_zone","type","checkbox",1,"form-check-input"],["for","default_zone",1,"form-check-label"],i,[4,"ngIf"],["id","master_zone","name","master_zone","formControlName","master_zone","type","checkbox",1,"form-check-input"],["for","master_zone",1,"form-check-label"],s,["for","zone_endpoints",1,"cd-col-form-label","required"],l,["type","text","placeholder","e.g, http://ceph-node-00.com:80","id","zone_endpoints","name","zone_endpoints","formControlName","zone_endpoints",1,"form-control"],["for","access_key",1,"cd-col-form-label","required"],r,["type","text","placeholder","DiPt4V7WWvy2njL1z6aC","id","access_key","name","access_key","formControlName","access_key",1,"form-control"],d,["type","text","placeholder","xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh","id","secret_key","name","secret_key","formControlName","secret_key",1,"form-control"],["class","form-group row",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[3,"value","selected"],[1,"invalid-feedback"],u,R,O,F,b,[3,"href"],h,M,L,S,W,["for","placementTarget",1,"cd-col-form-label"],C,["id","placementTarget","formControlName","placementTarget","name","placementTarget",1,"form-select",3,"change"],["for","placementDataPool",1,"cd-col-form-label"],Z,["id","placementDataPool","formControlName","placementDataPool","name","placementDataPool",1,"form-select",3,"value"],["for","placementIndexPool",1,"cd-col-form-label"],D,["id","placementIndexPool","formControlName","placementIndexPool","name","placementIndexPool",1,"form-select"],["for","placementDataExtraPool",1,"cd-col-form-label"],U,["id","placementDataExtraPool","formControlName","placementDataExtraPool","name","placementDataExtraPool",1,"form-select"],["for","storageClass",1,"cd-col-form-label"],v,["id","storageClass","formControlName","storageClass","name","storageClass",1,"form-select",3,"change"],[3,"value",4,"ngFor","ngForOf"],["for","storageDataPool",1,"cd-col-form-label"],y,["id","storageDataPool","formControlName","storageDataPool","name","storageDataPool",1,"form-select"],["for","storageCompression",1,"cd-col-form-label"],f,["id","storageCompression","formControlName","storageCompression","name","storageCompression",1,"form-select"],[3,"value"]]},template:function(_,o){if(1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10)(13,"select",11),e.NdJ("change",function(s){return o.onZoneGroupChange(s.target.value)}),e.YNc(14,pa,2,3,"option",12),e.qZA()()(),e.TgZ(15,"div",7)(16,"label",13),e.SDv(17,14),e.qZA(),e.TgZ(18,"div",10),e._UZ(19,"input",15),e.YNc(20,ma,2,0,"span",16),e.YNc(21,Ma,2,0,"span",16),e.TgZ(22,"div",17),e._UZ(23,"input",18),e.TgZ(24,"label",19),e.SDv(25,20),e.qZA(),e.YNc(26,Sa,3,0,"span",21),e.YNc(27,Ca,3,0,"span",21),e.YNc(28,Oa,4,1,"cd-helper",21),e._UZ(29,"br"),e.qZA(),e.TgZ(30,"div",17),e._UZ(31,"input",22),e.TgZ(32,"label",23),e.SDv(33,24),e.qZA(),e.YNc(34,Fa,3,0,"span",21),e.YNc(35,Pa,3,0,"span",21),e.YNc(36,Na,4,1,"cd-helper",21),e.qZA()()(),e.TgZ(37,"div",7)(38,"label",25),e.SDv(39,26),e.qZA(),e.TgZ(40,"div",10),e._UZ(41,"input",27),e.YNc(42,Ga,2,0,"span",16),e.YNc(43,Aa,2,0,"span",16),e.qZA()(),e.TgZ(44,"div",7)(45,"label",28),e.tHW(46,29),e.TgZ(47,"cd-helper")(48,"span"),e._UZ(49,"b")(50,"b")(51,"b")(52,"b"),e.qZA()(),e.N_p(),e.qZA(),e.TgZ(53,"div",10),e._UZ(54,"input",30),e.qZA()(),e.TgZ(55,"div",7)(56,"label",28),e.tHW(57,31),e.TgZ(58,"cd-helper")(59,"span"),e._UZ(60,"b")(61,"b")(62,"b")(63,"b"),e.qZA()(),e.N_p(),e.qZA(),e.TgZ(64,"div",10),e._UZ(65,"input",32),e.qZA()(),e.YNc(66,Ua,2,1,"div",33),e.qZA(),e.TgZ(67,"div",34)(68,"cd-form-button-panel",35),e.NdJ("submitActionEvent",function(){return o.submit()}),e.ALo(69,"titlecase"),e.ALo(70,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&_){const i=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,21,o.action))(e.lcZ(4,23,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.multisiteZoneForm),e.xp6(7),e.uIk("disabled","edit"===o.action||null),e.xp6(1),e.Q6J("ngForOf",o.zonegroupList),e.xp6(6),e.Q6J("ngIf",o.multisiteZoneForm.showError("zoneName",i,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteZoneForm.showError("zoneName",i,"uniqueName")),e.xp6(2),e.uIk("disabled","edit"===o.action||null),e.xp6(3),e.Q6J("ngIf",o.disableDefault&&"create"===o.action),e.xp6(1),e.Q6J("ngIf",o.isDefaultZone),e.xp6(1),e.Q6J("ngIf","edit"===o.action&&!o.isDefaultZone),e.xp6(3),e.uIk("disabled","edit"===o.action||null),e.xp6(3),e.Q6J("ngIf",o.disableMaster),e.xp6(1),e.Q6J("ngIf",o.isMasterZone),e.xp6(1),e.Q6J("ngIf","edit"===o.action&&!o.isMasterZone),e.xp6(6),e.Q6J("ngIf",o.multisiteZoneForm.showError("zone_endpoints",i,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteZoneForm.showError("zone_endpoints",i,"endpoint")),e.xp6(23),e.Q6J("ngIf","edit"===o.action),e.xp6(2),e.Q6J("form",o.multisiteZoneForm)("submitText",e.lcZ(69,25,o.action)+" "+e.lcZ(70,27,o.resource))}},dependencies:[T.sg,T.O5,j.S,X.z,B.p,k.o,q.b,z.P,H.V,a._Y,a.YN,a.Kr,a.Fj,a.Wl,a.EJ,a.JJ,a.JL,a.sg,a.u,T.rS,_e.m]}),t})();var ya=c(36569);function wa(t,n){if(1&t&&(e.TgZ(0,"option",33),e._uU(1),e.qZA()),2&t){const _=n.$implicit,o=e.oxw();e.Q6J("value",_.name)("selected",_.name===o.multisiteZonegroupForm.getValue("selectedRealm")),e.xp6(1),e.hij(" ",_.name," ")}}function xa(t,n){1&t&&(e.TgZ(0,"span",34),e.SDv(1,35),e.qZA())}function ka(t,n){1&t&&(e.TgZ(0,"span",34),e.SDv(1,36),e.qZA())}function za(t,n){1&t&&(e.TgZ(0,"span")(1,"cd-helper"),e.SDv(2,37),e.qZA()())}function qa(t,n){if(1&t&&(e.TgZ(0,"cd-helper")(1,"span"),e.tHW(2,38),e._UZ(3,"a",39),e.N_p(),e.qZA()()),2&t){const _=e.oxw();e.xp6(3),e.s9C("href",_.docUrl,e.LSH)}}function Ha(t,n){1&t&&(e.TgZ(0,"cd-helper")(1,"span"),e.SDv(2,40),e.qZA()())}function Xa(t,n){1&t&&(e.TgZ(0,"span")(1,"cd-helper"),e.SDv(2,41),e.qZA()())}function Ba(t,n){if(1&t&&(e.TgZ(0,"cd-helper")(1,"span"),e.tHW(2,42),e._UZ(3,"a",39),e.N_p(),e.qZA()()),2&t){const _=e.oxw();e.xp6(3),e.s9C("href",_.docUrl,e.LSH)}}function Qa(t,n){1&t&&(e.TgZ(0,"cd-helper")(1,"span"),e.SDv(2,43),e.qZA()())}function Ya(t,n){1&t&&(e.TgZ(0,"span",34),e.SDv(1,44),e.qZA())}function Ja(t,n){1&t&&(e.TgZ(0,"span",34),e.SDv(1,45),e.qZA())}function Ka(t,n){1&t&&(e.TgZ(0,"span",34),e.SDv(1,49),e.qZA())}function Va(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"label",46),e.SDv(2,47),e.qZA(),e.TgZ(3,"div",10),e._UZ(4,"cd-select-badges",48)(5,"br"),e.YNc(6,Ka,2,0,"span",18),e.qZA()()),2&t){const _=e.oxw();e.xp6(4),e.Q6J("data",_.zonegroupZoneNames)("options",_.labelsOption)("customBadges",!0),e.xp6(2),e.Q6J("ngIf",_.isRemoveMasterZone)}}function ja(t,n){1&t&&(e.TgZ(0,"span"),e.SDv(1,68),e.qZA())}function el(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div")(1,"div",55)(2,"div",56),e._uU(3),e.ALo(4,"ordinal"),e.TgZ(5,"span",57),e.NdJ("click",function(){const s=e.CHM(_).index,l=e.oxw(2);return e.KtG(l.removePlacementTarget(s))}),e._uU(6,"\xd7"),e.qZA()(),e.TgZ(7,"div",58)(8,"div",7)(9,"label",59),e.SDv(10,60),e.qZA(),e.TgZ(11,"div",10),e._UZ(12,"input",61),e.TgZ(13,"span",34),e.YNc(14,ja,2,0,"span",23),e.qZA()()(),e.TgZ(15,"div",7)(16,"label",62),e.SDv(17,63),e.qZA(),e.TgZ(18,"div",10),e._UZ(19,"input",64),e.qZA()(),e.TgZ(20,"div",7)(21,"label",65),e.SDv(22,66),e.qZA(),e.TgZ(23,"div",10),e._UZ(24,"input",67),e.qZA()()()()()}if(2&t){const _=n.$implicit,o=n.index,i=e.oxw(2),s=e.MAs(6);e.xp6(1),e.Q6J("formGroup",_),e.xp6(2),e.hij(" ",e.lcZ(4,3,o+1)," "),e.xp6(11),e.Q6J("ngIf",i.showError(o,"placement_id",s,"required"))}}const _l=function(t){return[t]};function tl(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div")(1,"legend"),e._uU(2,"Placement targets"),e.qZA(),e.ynx(3,50),e.YNc(4,el,25,5,"div",51),e.BQk(),e.TgZ(5,"button",52),e.NdJ("click",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.addPlacementTarget())}),e._UZ(6,"i",53),e.ynx(7),e.SDv(8,54),e.BQk(),e.qZA()()}if(2&t){const _=e.oxw();e.xp6(4),e.Q6J("ngForOf",_.placementTargets.controls)("ngForTrackBy",_.trackByFn),e.xp6(2),e.Q6J("ngClass",e.VKq(3,_l,_.icons.add))}}let ol=(()=>{class t{constructor(_,o,i,s,l){this.activeModal=_,this.actionLabels=o,this.rgwZonegroupService=i,this.notificationService=s,this.formBuilder=l,this.endpoints=/^((https?:\/\/)|(www.))(?:([a-zA-Z]+)|(\d+\.\d+.\d+.\d+)):\d{2,4}$/,this.ipv4Rgx=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i,this.ipv6Rgx=/^(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}$/i,this.icons=$.P,this.editing=!1,this.defaultsInfo=[],this.multisiteInfo=[],this.realmList=[],this.zonegroupList=[],this.isMaster=!1,this.labelsOption=[],this.zoneList=[],this.isRemoveMasterZone=!1,this.disableDefault=!1,this.disableMaster=!1,this.action=this.editing?this.actionLabels.EDIT+this.resource:this.actionLabels.CREATE+this.resource,this.createForm()}createForm(){this.multisiteZonegroupForm=new V.d({default_zonegroup:new a.p4(!1),zonegroupName:new a.p4(null,{validators:[a.kI.required,m.h.custom("uniqueName",_=>"create"===this.action&&this.zonegroupNames&&-1!==this.zonegroupNames.indexOf(_))]}),master_zonegroup:new a.p4(!1),selectedRealm:new a.p4(null),zonegroup_endpoints:new a.p4(null,[m.h.custom("endpoint",_=>!(E().isEmpty(_)||(_.includes(",")?(_.split(",").forEach(o=>!this.endpoints.test(o)&&!this.ipv4Rgx.test(o)&&!this.ipv6Rgx.test(o)),1):this.endpoints.test(_)||this.ipv4Rgx.test(_)||this.ipv6Rgx.test(_)))),a.kI.required]),placementTargets:this.formBuilder.array([])})}ngOnInit(){E().forEach(this.multisiteZonegroupForm.get("placementTargets"),s=>{this.addPlacementTarget().patchValue(s)}),this.placementTargets=this.multisiteZonegroupForm.get("placementTargets"),this.realmList=void 0!==this.multisiteInfo[0]&&this.multisiteInfo[0].hasOwnProperty("realms")?this.multisiteInfo[0].realms:[],this.zonegroupList=void 0!==this.multisiteInfo[1]&&this.multisiteInfo[1].hasOwnProperty("zonegroups")?this.multisiteInfo[1].zonegroups:[],this.zonegroupList.forEach(s=>{!0===s.is_master&&!E().isEmpty(s.realm_id)&&(this.isMaster=!0,this.disableMaster=!0)}),this.isMaster||(this.multisiteZonegroupForm.get("master_zonegroup").setValue(!0),this.multisiteZonegroupForm.get("master_zonegroup").disable()),this.zoneList=void 0!==this.multisiteInfo[2]&&this.multisiteInfo[2].hasOwnProperty("zones")?this.multisiteInfo[2].zones:[],this.zonegroupNames=this.zonegroupList.map(s=>s.name);const i=this.zonegroupList.map(s=>s.zones).reduce((s,l)=>s.concat(l),[]).map(s=>s.name);if(this.allZoneNames=this.zoneList.map(s=>s.name),this.allZoneNames=E().difference(this.allZoneNames,i),"create"===this.action&&null!==this.defaultsInfo.defaultRealmName&&(this.multisiteZonegroupForm.get("selectedRealm").setValue(this.defaultsInfo.defaultRealmName),this.disableMaster&&this.multisiteZonegroupForm.get("master_zonegroup").disable()),"edit"===this.action){this.multisiteZonegroupForm.get("zonegroupName").setValue(this.info.data.name),this.multisiteZonegroupForm.get("selectedRealm").setValue(this.info.data.parent),this.multisiteZonegroupForm.get("default_zonegroup").setValue(this.info.data.is_default),this.multisiteZonegroupForm.get("master_zonegroup").setValue(this.info.data.is_master),this.multisiteZonegroupForm.get("zonegroup_endpoints").setValue(this.info.data.endpoints),this.info.data.is_default&&this.multisiteZonegroupForm.get("default_zonegroup").disable(),!this.info.data.is_default&&this.multisiteZonegroupForm.getValue("selectedRealm")!==this.defaultsInfo.defaultRealmName&&(this.multisiteZonegroupForm.get("default_zonegroup").disable(),this.disableDefault=!0),(this.info.data.is_master||this.disableMaster)&&this.multisiteZonegroupForm.get("master_zonegroup").disable(),this.zonegroupZoneNames=this.info.data.zones.map(l=>l.name),this.zgZoneNames=this.info.data.zones.map(l=>l.name),this.zgZoneIds=this.info.data.zones.map(l=>l.id);const s=new Set(this.allZoneNames);this.labelsOption=Array.from(s).map(l=>({enabled:!0,name:l,selected:!1,description:null})),this.info.data.placement_targets.forEach(l=>{const r=this.addPlacementTarget();let d={placement_id:l.name,tags:l.tags.join(","),storage_class:"string"==typeof l.storage_classes?l.storage_classes:l.storage_classes.join(",")};r.patchValue(d)})}}submit(){const _=this.multisiteZonegroupForm.getRawValue();if("create"===this.action)this.realm=new x.L6,this.realm.name=_.selectedRealm,this.zonegroup=new x.iG,this.zonegroup.name=_.zonegroupName,this.zonegroup.endpoints=_.zonegroup_endpoints,this.rgwZonegroupService.create(this.realm,this.zonegroup,_.default_zonegroup,_.master_zonegroup).subscribe(()=>{this.notificationService.show(w.k.success,"Zonegroup: '" + _.zonegroupName + "' created successfully"),this.activeModal.close()},()=>{this.multisiteZonegroupForm.setErrors({cdSubmitButton:!0})});else if("edit"===this.action){this.removedZones=E().difference(this.zgZoneNames,this.zonegroupZoneNames);const o=this.info.data.zones.filter(i=>i.id===this.info.data.master_zone);if(this.isRemoveMasterZone=this.removedZones.includes(o[0].name),this.isRemoveMasterZone)return void this.multisiteZonegroupForm.setErrors({cdSubmitButton:!0});this.addedZones=E().difference(this.zonegroupZoneNames,this.zgZoneNames),this.realm=new x.L6,this.realm.name=_.selectedRealm,this.zonegroup=new x.iG,this.zonegroup.name=this.info.data.name,this.newZonegroupName=_.zonegroupName,this.zonegroup.endpoints=_.zonegroup_endpoints.toString(),this.zonegroup.placement_targets=_.placementTargets,this.rgwZonegroupService.update(this.realm,this.zonegroup,this.newZonegroupName,_.default_zonegroup,_.master_zonegroup,this.removedZones,this.addedZones).subscribe(()=>{this.notificationService.show(w.k.success,"Zonegroup: '" + _.zonegroupName + "' updated successfully"),this.activeModal.close()},()=>{this.multisiteZonegroupForm.setErrors({cdSubmitButton:!0})})}}addPlacementTarget(){this.placementTargets=this.multisiteZonegroupForm.get("placementTargets");const _=new V.d({placement_id:new a.p4("",{validators:[a.kI.required]}),tags:new a.p4(""),storage_class:new a.p4([])});return this.placementTargets.push(_),_}trackByFn(_){return _}removePlacementTarget(_){this.placementTargets=this.multisiteZonegroupForm.get("placementTargets"),this.placementTargets.removeAt(_)}showError(_,o,i,s){return this.multisiteZonegroupForm.controls.placementTargets.controls[_].showError(o,i,s)}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(G.Kz),e.Y36(I.p4),e.Y36(ge.K),e.Y36(Y.g),e.Y36(a.QS))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-multisite-zonegroup-form"]],decls:49,vars:24,consts:function(){let n,_,o,i,s,l,r,d,u,R,O,F,b,h,M,L,S,W,C,Z,D,U,v,y;return n="" + "\ufffd0\ufffd" + " Zone Group",_="Select Realm",o="-- Select a realm --",i="Zone Group Name",s="Default",l="Master",r="Endpoints",d="This field is required.",u="The chosen zone group name is already in use.",R="Zone group doesn't belong to the default realm.",O="Please consult the " + "\ufffd#3\ufffd" + "documentation" + "\ufffd/#3\ufffd" + " to follow the failover mechanism",F="You cannot unset the default flag.",b="Multiple master zone groups can't be configured. If you want to create a new zone group and make it the master zone group, you must delete the default zone group.",h="Please consult the " + "\ufffd#3\ufffd" + "documentation" + "\ufffd/#3\ufffd" + " to follow the failover mechanism",M="You cannot unset the master flag.",L="This field is required.",S="Please enter a valid IP address.",W="Zones",C="Cannot remove master zone.",Z="Add placement target",D="Placement Id",U="Tags",v="Storage Class",y="This field is required.",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["name","multisiteZonegroupForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","selectedRealm",1,"cd-col-form-label"],_,[1,"cd-col-form-input"],["id","selectedRealm","formControlName","selectedRealm","name","selectedRealm",1,"form-select"],["ngValue",""],o,[3,"value","selected",4,"ngFor","ngForOf"],["for","zonegroupName",1,"cd-col-form-label","required"],i,["type","text","placeholder","Zone group name...","id","zonegroupName","name","zonegroupName","formControlName","zonegroupName",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"custom-control","custom-checkbox"],["id","default_zonegroup","name","default_zonegroup","formControlName","default_zonegroup","type","checkbox",1,"form-check-input"],["for","default_zonegroup",1,"form-check-label"],s,[4,"ngIf"],["id","master_zonegroup","name","master_zonegroup","formControlName","master_zonegroup","type","checkbox",1,"form-check-input"],["for","master_zonegroup",1,"form-check-label"],l,["for","zonegroup_endpoints",1,"cd-col-form-label","required"],r,["type","text","placeholder","e.g, http://ceph-node-00.com:80","id","zonegroup_endpoints","name","zonegroup_endpoints","formControlName","zonegroup_endpoints",1,"form-control"],["class","form-group row",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[3,"value","selected"],[1,"invalid-feedback"],d,u,R,O,[3,"href"],F,b,h,M,L,S,["for","zones",1,"cd-col-form-label"],W,["id","zones",3,"data","options","customBadges"],C,["formArrayName","placementTargets"],[4,"ngFor","ngForOf","ngForTrackBy"],["type","button","id","add-plc",1,"btn","btn-light","float-end","my-3",3,"click"],[3,"ngClass"],Z,[1,"card",3,"formGroup"],[1,"card-header"],["name","remove_placement_target","ngbTooltip","Remove",1,"float-end","clickable",3,"click"],[1,"card-body"],["for","placement_id",1,"cd-col-form-label","required"],D,["type","text","name","placement_id","id","placement_id","formControlName","placement_id","placeholder","eg. default-placement",1,"form-control"],["for","tags",1,"cd-col-form-label"],U,["type","text","name","tags","id","tags","formControlName","tags","placeholder","comma separated tags, eg. default-placement, ssd",1,"form-control"],["for","storage_class",1,"cd-col-form-label"],v,["type","text","name","storage_class","id","storage_class","formControlName","storage_class","placeholder","eg. Standard-tier",1,"form-control"],y]},template:function(_,o){if(1&_&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.BQk(),e.ynx(4,3),e.TgZ(5,"form",4,5)(7,"div",6)(8,"div",7)(9,"label",8),e.SDv(10,9),e.qZA(),e.TgZ(11,"div",10)(12,"select",11)(13,"option",12),e.SDv(14,13),e.qZA(),e.YNc(15,wa,2,3,"option",14),e.qZA()()(),e.TgZ(16,"div",7)(17,"label",15),e.SDv(18,16),e.qZA(),e.TgZ(19,"div",10),e._UZ(20,"input",17),e.YNc(21,xa,2,0,"span",18),e.YNc(22,ka,2,0,"span",18),e.TgZ(23,"div",19),e._UZ(24,"input",20),e.TgZ(25,"label",21),e.SDv(26,22),e.qZA(),e.YNc(27,za,3,0,"span",23),e.YNc(28,qa,4,1,"cd-helper",23),e.YNc(29,Ha,3,0,"cd-helper",23),e._UZ(30,"br")(31,"input",24),e.TgZ(32,"label",25),e.SDv(33,26),e.qZA(),e.YNc(34,Xa,3,0,"span",23),e.YNc(35,Ba,4,1,"cd-helper",23),e.YNc(36,Qa,3,0,"cd-helper",23),e.qZA()()(),e.TgZ(37,"div",7)(38,"label",27),e.SDv(39,28),e.qZA(),e.TgZ(40,"div",10),e._UZ(41,"input",29),e.YNc(42,Ya,2,0,"span",18),e.YNc(43,Ja,2,0,"span",18),e.qZA()(),e.YNc(44,Va,7,4,"div",30),e.YNc(45,tl,9,5,"div",23),e.qZA(),e.TgZ(46,"div",31)(47,"cd-form-button-panel",32),e.NdJ("submitActionEvent",function(){return o.submit()}),e.ALo(48,"titlecase"),e.qZA()()(),e.BQk(),e.qZA()),2&_){const i=e.MAs(6);e.Q6J("modalRef",o.activeModal),e.xp6(3),e.pQV(e.lcZ(3,20,o.action)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.multisiteZonegroupForm),e.xp6(10),e.Q6J("ngForOf",o.realmList),e.xp6(6),e.Q6J("ngIf",o.multisiteZonegroupForm.showError("zonegroupName",i,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteZonegroupForm.showError("zonegroupName",i,"uniqueName")),e.xp6(2),e.uIk("disabled","edit"===o.action||null),e.xp6(3),e.Q6J("ngIf",o.disableDefault&&"create"===o.action),e.xp6(1),e.Q6J("ngIf","edit"===o.action&&!o.info.data.is_default),e.xp6(1),e.Q6J("ngIf","edit"===o.action&&o.info.data.is_default),e.xp6(2),e.uIk("disabled","edit"===o.action||null),e.xp6(3),e.Q6J("ngIf",o.disableMaster&&"create"===o.action),e.xp6(1),e.Q6J("ngIf","edit"===o.action&&!o.info.data.is_master),e.xp6(1),e.Q6J("ngIf","edit"===o.action&&o.info.data.is_master),e.xp6(6),e.Q6J("ngIf",o.multisiteZonegroupForm.showError("zonegroup_endpoints",i,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteZonegroupForm.showError("zonegroup_endpoints",i,"endpoint")),e.xp6(1),e.Q6J("ngIf","edit"===o.action),e.xp6(1),e.Q6J("ngIf","edit"===o.action),e.xp6(2),e.Q6J("form",o.multisiteZonegroupForm)("submitText",e.lcZ(48,22,o.action)+" Zone Group")}},dependencies:[T.mk,T.sg,T.O5,j.S,I_.m,X.z,B.p,k.o,q.b,z.P,H.V,a._Y,a.YN,a.Kr,a.Fj,a.Wl,a.EJ,a.JJ,a.JL,a.sg,a.u,a.CE,G._L,T.rS,ya.f]}),t})();var nl=c(61717),il=c(36848),sl=c(7273);const al=["tree"];function ll(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"cd-alert-panel",17),e.tHW(1,18),e.TgZ(2,"a",19),e.NdJ("click",function(){e.CHM(_);const i=e.oxw();return e.KtG(i.enableRgwModule())}),e.qZA(),e.N_p(),e.qZA()}}function rl(t,n){1&t&&(e.TgZ(0,"cd-alert-panel",20),e.tHW(1,21),e._UZ(2,"a",22),e.N_p(),e.qZA())}function cl(t,n){if(1&t&&(e.TgZ(0,"span"),e._UZ(1,"cd-table-actions",23),e.qZA()),2&t){const _=e.oxw();e.xp6(1),e.Q6J("permission",_.permission)("btnColor","light")("selection",_.selection)("tableActions",_.migrateTableAction)}}const dl=function(t,n,_){return[t,n,_]};function ul(t,n){if(1&t&&e._UZ(0,"i",24),2&t){const _=e.oxw();e.Q6J("ngClass",e.kEZ(1,dl,_.icons.large,_.icons.spinner,_.icons.spin))}}function gl(t,n){if(1&t&&(e.TgZ(0,"span"),e._UZ(1,"i",30),e.qZA()),2&t){const _=e.oxw(2).$implicit,o=e.oxw();e.xp6(1),e.Q6J("title",_.data.warning_message)("ngClass",o.icons.danger)}}function Rl(t,n){if(1&t&&(e.TgZ(0,"span",29),e.YNc(1,gl,2,2,"span",5),e._UZ(2,"i",24),e._uU(3),e.qZA()),2&t){const _=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",_.data.show_warning),e.xp6(1),e.Q6J("ngClass",_.data.icon),e.xp6(1),e.hij(" ",_.data.name," ")}}function Tl(t,n){1&t&&(e.TgZ(0,"span",31),e._uU(1," default "),e.qZA())}function El(t,n){1&t&&(e.TgZ(0,"span",32),e._uU(1," master "),e.qZA())}function fl(t,n){1&t&&(e.TgZ(0,"span",32),e._uU(1," secondary-zone "),e.qZA())}const b_=function(t){return[t]};function pl(t,n){if(1&t){const _=e.EpF();e.TgZ(0,"div",33)(1,"div",34)(2,"button",35),e.NdJ("click",function(){e.CHM(_);const i=e.oxw().$implicit,s=e.oxw();return e.KtG(s.openModal(i,!0))}),e._UZ(3,"i",24),e.qZA()(),e.TgZ(4,"div",34)(5,"button",36),e.NdJ("click",function(){e.CHM(_);const i=e.oxw().$implicit,s=e.oxw();return e.KtG(s.delete(i))}),e._UZ(6,"i",24),e.qZA()()()}if(2&t){const _=e.oxw().$implicit,o=e.oxw();e.xp6(1),e.Q6J("title",o.editTitle),e.xp6(1),e.Q6J("disabled",o.getDisable()||_.data.secondary_zone),e.xp6(1),e.Q6J("ngClass",e.VKq(6,b_,o.icons.edit)),e.xp6(1),e.Q6J("title",o.deleteTitle),e.xp6(1),e.Q6J("disabled",o.isDeleteDisabled(_)||_.data.secondary_zone),e.xp6(1),e.Q6J("ngClass",e.VKq(8,b_,o.icons.destroy))}}function ml(t,n){if(1&t&&(e.YNc(0,Rl,4,3,"span",25),e.YNc(1,Tl,2,0,"span",26),e.YNc(2,El,2,0,"span",27),e.YNc(3,fl,2,0,"span",27),e.YNc(4,pl,7,10,"div",28)),2&t){const _=n.$implicit;e.Q6J("ngIf",_.data.name),e.xp6(1),e.Q6J("ngIf",_.data.is_default),e.xp6(1),e.Q6J("ngIf",_.data.is_master),e.xp6(1),e.Q6J("ngIf",_.data.secondary_zone),e.xp6(1),e.Q6J("ngIf",_.isFocused)}}function Ml(t,n){if(1&t&&(e.TgZ(0,"div",37)(1,"legend"),e._uU(2),e.qZA(),e.TgZ(3,"div"),e._UZ(4,"cd-table-key-value",38),e.qZA()()),2&t){const _=e.oxw();e.xp6(2),e.Oqu(_.metadataTitle),e.xp6(2),e.Q6J("data",_.metadata)}}class Te{constructor(n,_,o,i,s,l,r,d,u,R,O,F){this.modalService=n,this.timerService=_,this.authStorageService=o,this.actionLabels=i,this.timerServiceVariable=s,this.router=l,this.rgwRealmService=r,this.rgwZonegroupService=d,this.rgwZoneService=u,this.rgwDaemonService=R,this.mgrModuleService=O,this.notificationService=F,this.sub=new N_.w,this.messages={noDefaultRealm:"Please create a default realm first to enable this feature",noMasterZone:"Please create a master zone for each zone group to enable this feature",noRealmExists:"No realm exists",disableExport:"Please create master zone group and master zone for each of the realms"},this.icons=$.P,this.selection=new qe.r,this.loadingIndicator=!0,this.nodes=[],this.treeOptions={useVirtualScroll:!0,nodeHeight:22,levelPadding:20,actionMapping:{mouse:{click:this.onNodeSelected.bind(this)}}},this.realms=[],this.zonegroups=[],this.zones=[],this.realmIds=[],this.zoneIds=[],this.defaultRealmId="",this.defaultZonegroupId="",this.defaultZoneId="",this.multisiteInfo=[],this.defaultsInfo=[],this.showMigrateAction=!1,this.editTitle="Edit",this.deleteTitle="Delete",this.disableExport=!0,this.restartGatewayMessage=!1,this.rgwModuleData=[],this.permission=this.authStorageService.getPermissions().rgw}openModal(n,_=!1){const o=_?n.data.type:n;this.bsModalRef=this.modalService.show("realm"===o?fa:"zonegroup"===o?ol:va,{resource:o,action:_?"edit":"create",info:n,defaultsInfo:this.defaultsInfo,multisiteInfo:this.multisiteInfo},{size:"lg"})}openMigrateModal(){this.bsModalRef=this.modalService.show(ms,{multisiteInfo:this.multisiteInfo},{size:"lg"})}openImportModal(){this.bsModalRef=this.modalService.show(ca,{multisiteInfo:this.multisiteInfo},{size:"lg"})}openExportModal(){this.bsModalRef=this.modalService.show(ws,{defaultsInfo:this.defaultsInfo,multisiteInfo:this.multisiteInfo},{size:"lg"})}getDisableExport(){return this.realms.forEach(n=>{this.zonegroups.forEach(_=>{n.id===_.realm_id&&_.is_master&&""!==_.master_zone&&(this.disableExport=!1)})}),!this.rgwModuleStatus||(this.realms.length<1?this.messages.noRealmExists:!!this.disableExport&&this.messages.disableExport)}getDisableImport(){return!this.rgwModuleStatus}ngOnInit(){const i={permission:"read",icon:$.P.exchange,name:this.actionLabels.MIGRATE,click:()=>this.openMigrateModal()},s={permission:"read",icon:$.P.download,name:this.actionLabels.IMPORT,click:()=>this.openImportModal(),disable:()=>this.getDisableImport()},l={permission:"read",icon:$.P.upload,name:this.actionLabels.EXPORT,click:()=>this.openExportModal(),disable:()=>this.getDisableExport()};this.createTableActions=[{permission:"create",icon:$.P.add,name:this.actionLabels.CREATE+" Realm",click:()=>this.openModal("realm")},{permission:"create",icon:$.P.add,name:this.actionLabels.CREATE+" Zone Group",click:()=>this.openModal("zonegroup"),disable:()=>this.getDisable()},{permission:"create",icon:$.P.add,name:this.actionLabels.CREATE+" Zone",click:()=>this.openModal("zone")}],this.migrateTableAction=[i],this.importAction=[s],this.exportAction=[l];const r=[this.rgwRealmService.getAllRealmsInfo(),this.rgwZonegroupService.getAllZonegroupsInfo(),this.rgwZoneService.getAllZonesInfo()];this.sub=this.timerService.get(()=>(0,ne.D)(r),2*this.timerServiceVariable.TIMER_SERVICE_PERIOD).subscribe(d=>{this.multisiteInfo=d,this.loadingIndicator=!1,this.nodes=this.abstractTreeData(d)},d=>{}),this.mgrModuleService.list().subscribe(d=>{this.rgwModuleData=d.filter(u=>"rgw"===u.name),this.rgwModuleData.length>0&&(this.rgwModuleStatus=this.rgwModuleData[0].enabled)})}ngOnDestroy(){this.sub.unsubscribe()}abstractTreeData(n){let _=[],o={},i={},s=[],l={},r=[];if(this.realms=n[0].realms,this.zonegroups=n[1].zonegroups,this.zones=n[2].zones,this.defaultRealmId=n[0].default_realm,this.defaultZonegroupId=n[1].default_zonegroup,this.defaultZoneId=n[2].default_zone,this.defaultsInfo=this.getDefaultsEntities(this.defaultRealmId,this.defaultZonegroupId,this.defaultZoneId),this.realms.length>0)for(const d of this.realms){const u=this.rgwRealmService.getRealmTree(d,this.defaultRealmId);o=u.nodes,this.realmIds=this.realmIds.concat(u.realmIds);for(const R of this.zonegroups)if(R.realm_id===d.id){i=this.rgwZonegroupService.getZonegroupTree(R,this.defaultZonegroupId,d);for(const O of R.zones){const F=this.rgwZoneService.getZoneTree(O,this.defaultZoneId,this.zones,R,d);l=F.nodes,this.zoneIds=this.zoneIds.concat(F.zoneIds),r.push(l),l={}}i.children=r,r=[],s.push(i),i={}}o.children=s,_.push(o),i={},l={},o={},s=[],r=[]}if(this.zonegroups.length>0)for(const d of this.zonegroups)if(!this.realmIds.includes(d.realm_id)){o=this.rgwZonegroupService.getZonegroupTree(d,this.defaultZonegroupId);for(const u of d.zones){const R=this.rgwZoneService.getZoneTree(u,this.defaultZoneId,this.zones,d);i=R.nodes,this.zoneIds=this.zoneIds.concat(R.zoneIds),s.push(i),i={}}o.children=s,_.push(o),i={},o={},s=[]}if(this.zones.length>0)for(const d of this.zones)this.zoneIds.length>0&&!this.zoneIds.includes(d.id)&&(o=this.rgwZoneService.getZoneTree(d,this.defaultZoneId,this.zones).nodes,_.push(o),o={});return this.realms.length<1&&this.zonegroups.length<1&&this.zones.length<1?[{name:"No nodes!"}]:(this.realmIds=[],this.zoneIds=[],this.getDisableMigrate(),this.rgwDaemonService.list().subscribe(d=>{const u=d.map(R=>R.realm_name);""!=this.defaultRealmId&&""!=this.defaultZonegroupId&&""!=this.defaultZoneId&&u.includes("")&&(this.restartGatewayMessage=!0)}),_)}getDefaultsEntities(n,_,o){const i=this.realms.find(R=>R.id===n),s=this.zonegroups.find(R=>R.id===_),l=this.zones.find(R=>R.id===o);return{defaultRealmName:void 0!==i?i.name:null,defaultZonegroupName:void 0!==s?s.name:null,defaultZoneName:void 0!==l?l.name:null}}onNodeSelected(n,_){je.iM.ACTIVATE(n,_,!0),this.metadataTitle=_.data.name,this.metadata=_.data.info,_.data.show=!0}onUpdateData(){this.tree.treeModel.expandAll()}getDisable(){let n=!0;return""===this.defaultRealmId?this.messages.noDefaultRealm:(this.zonegroups.forEach(_=>{E().isEmpty(_.master_zone)&&(n=!1)}),n?(this.editTitle="Edit",!1):(this.editTitle="Please create a master zone for each existing zonegroup to enable this feature",this.messages.noMasterZone))}getDisableMigrate(){return this.showMigrateAction=0===this.realms.length&&1===this.zonegroups.length&&"default"===this.zonegroups[0].name&&1===this.zones.length&&"default"===this.zones[0].name,this.showMigrateAction}isDeleteDisabled(n){let _=!1,o=0;if("realm"===n.data.type&&n.data.is_default&&this.realms.length<2&&(_=!0),"zonegroup"===n.data.type)if(this.zonegroups.length<2)this.deleteTitle="You can not delete the only zonegroup available",_=!0;else if(n.data.is_default)this.deleteTitle="You can not delete the default zonegroup",_=!0;else if(n.data.is_master){for(let i of this.zonegroups)if(!0===i.is_master&&(o++,o>1))break;o<2&&(this.deleteTitle="You can not delete the only master zonegroup available",_=!0)}return"zone"===n.data.type&&(this.zones.length<2?(this.deleteTitle="You can not delete the only zone available",_=!0):n.data.is_default?(this.deleteTitle="You can not delete the default zone",_=!0):n.data.is_master&&n.data.zone_zonegroup.zones.length<2&&(this.deleteTitle="You can not delete the master zone as there are no more zones in this zonegroup",_=!0)),_||(this.deleteTitle="Delete"),_}delete(n){"realm"===n.data.type?this.modalRef=this.modalService.show(Qe.M,{itemDescription:"" + n.data.type + " " + n.data.name + "",itemNames:[`${n.data.name}`],submitAction:()=>{this.rgwRealmService.delete(n.data.name).subscribe(()=>{this.modalRef.close(),this.notificationService.show(w.k.success,"Realm: '" + n.data.name + "' deleted successfully")},()=>{this.modalRef.componentInstance.stopLoadingSpinner()})}}):"zonegroup"===n.data.type?this.modalRef=this.modalService.show(Ls,{zonegroup:n.data}):"zone"===n.data.type&&(this.modalRef=this.modalService.show(Os,{zone:n.data}))}enableRgwModule(){let n;const _=()=>{(0,ls.H)(2e3).subscribe(()=>{this.mgrModuleService.list().subscribe(()=>{this.notificationService.suspendToasties(!1),this.blockUI.stop(),this.notificationService.show(w.k.success,"Enabled RGW Module"),this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>{this.router.navigate(["/rgw/multisite"])})},()=>{_()})})};this.rgwModuleStatus||(n=this.mgrModuleService.enable("rgw")),n.subscribe(()=>{},()=>{this.notificationService.suspendToasties(!0),this.blockUI.start("Reconnecting, please wait ..."),_()})}}Te.\u0275fac=function(n){return new(n||Te)(e.Y36(ee.Z),e.Y36(il.f),e.Y36(ce.j),e.Y36(I.p4),e.Y36(I.eu),e.Y36(J.F0),e.Y36(de.y),e.Y36(ge.K),e.Y36(ue.g),e.Y36(oe.b),e.Y36(sl.N),e.Y36(Y.g))},Te.\u0275cmp=e.Xpm({type:Te,selectors:[["cd-rgw-multisite-details"]],viewQuery:function(n,_){if(1&n&&e.Gf(al,5),2&n){let o;e.iGM(o=e.CRH())&&(_.tree=o.first)}},decls:21,vars:18,consts:function(){let t,n,_;return t="Topology Viewer",n="In order to access the import/export feature, the rgw module must be enabled " + "\ufffd#2\ufffd" + " Enable the Object Gateway Module" + "\ufffd/#2\ufffd" + "",_="Please restart all Ceph Object Gateway instances in all zones to ensure consistent multisite configuration updates. " + "\ufffd#2\ufffd" + " Cluster->Services" + "\ufffd/#2\ufffd" + "",[[1,"row"],[1,"col-sm-12","col-lg-12"],["type","info","spacingClass","mb-3",4,"ngIf"],["type","warning","spacingClass","mb-3",4,"ngIf"],[1,"btn-group","mb-4","me-2",3,"permission","selection","tableActions"],[4,"ngIf"],[1,"btn-group","mb-4","me-2",3,"permission","btnColor","selection","tableActions"],[1,"card"],[1,"card-header"],t,[1,"card-body"],[1,"col-sm-6","col-lg-6","tree-container"],[3,"ngClass",4,"ngIf"],[3,"nodes","options","updateData"],["tree",""],["treeNodeTemplate",""],["class","col-sm-6 col-lg-6 metadata",4,"ngIf"],["type","info","spacingClass","mb-3"],n,[1,"text-decoration-underline",3,"click"],["type","warning","spacingClass","mb-3"],_,["routerLink","/services",1,"text-decoration-underline"],[1,"btn-group","mb-4","me-2","secondary",3,"permission","btnColor","selection","tableActions"],[3,"ngClass"],["class","me-3",4,"ngIf"],["class","badge badge-success me-2",4,"ngIf"],["class","badge badge-warning me-2",4,"ngIf"],["class","btn-group align-inline-btns","role","group",4,"ngIf"],[1,"me-3"],[1,"text-danger",3,"title","ngClass"],[1,"badge","badge-success","me-2"],[1,"badge","badge-warning","me-2"],["role","group",1,"btn-group","align-inline-btns"],[3,"title"],["type","button",1,"btn","btn-light","dropdown-toggle-split","ms-1",3,"disabled","click"],["type","button",1,"btn","btn-light","ms-1",3,"disabled","click"],[1,"col-sm-6","col-lg-6","metadata"],["cdTableDetail","",3,"data"]]},template:function(n,_){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div"),e.YNc(3,ll,3,0,"cd-alert-panel",2),e.YNc(4,rl,3,0,"cd-alert-panel",3),e._UZ(5,"cd-table-actions",4),e.YNc(6,cl,2,4,"span",5),e._UZ(7,"cd-table-actions",6)(8,"cd-table-actions",6),e.qZA(),e.TgZ(9,"div",7)(10,"div",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10)(13,"div",0)(14,"div",11),e.YNc(15,ul,1,5,"i",12),e.TgZ(16,"tree-root",13,14),e.NdJ("updateData",function(){return _.onUpdateData()}),e.YNc(18,ml,5,5,"ng-template",null,15,e.W1O),e.qZA()(),e.YNc(20,Ml,5,2,"div",16),e.qZA()()()()()),2&n&&(e.xp6(3),e.Q6J("ngIf",!_.rgwModuleStatus),e.xp6(1),e.Q6J("ngIf",_.restartGatewayMessage),e.xp6(1),e.Q6J("permission",_.permission)("selection",_.selection)("tableActions",_.createTableActions),e.xp6(1),e.Q6J("ngIf",_.showMigrateAction),e.xp6(1),e.Q6J("permission",_.permission)("btnColor","light")("selection",_.selection)("tableActions",_.importAction),e.xp6(1),e.Q6J("permission",_.permission)("btnColor","light")("selection",_.selection)("tableActions",_.exportAction),e.xp6(7),e.Q6J("ngIf",_.loadingIndicator),e.xp6(1),e.Q6J("nodes",_.nodes)("options",_.treeOptions),e.xp6(4),e.Q6J("ngIf",_.metadata))},dependencies:[T.mk,T.O5,Re.G,f_.b,Je.K,k.o,J.rH,je.qr],styles:[".tree-container[_ngcontent-%COMP%]{height:calc(100vh - 200px)}.align-inline-btns[_ngcontent-%COMP%]{margin-left:5em}.btn[_ngcontent-%COMP%]:disabled{pointer-events:none}"]}),(0,xe.gn)([(0,nl.bH)(),(0,xe.w6)("design:type",Object)],Te.prototype,"blockUI",void 0);var Sl=c(40267),Cl=c(7357),Ol=c(11656),Fl=c(4167),Pl=c(43190),Nl=c(68307),Gl=c(47349),Al=c(79241),Il=c(98677),bl=c(30490),hl=c(9219),Ll=c(17401),Wl=c(9024),$l=c(54740);const me=function(t,n){return[t,n]};let Zl=(()=>{class t{constructor(){this.icons=$.P}}return t.\u0275fac=function(_){return new(_||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-sync-primary-zone"]],inputs:{realm:"realm",zonegroup:"zonegroup",zone:"zone"},decls:17,vars:23,consts:[[1,"pb-5"],[1,"pt-2",3,"ngClass"],[1,"badge","badge-info","mt-2"],[1,"mt-2",3,"ngClass"]],template:function(_,o){1&_&&(e.TgZ(0,"ul",0)(1,"li"),e._UZ(2,"i",1),e.qZA(),e.TgZ(3,"li",2),e._uU(4),e.qZA(),e.TgZ(5,"li"),e._UZ(6,"i",3),e.qZA(),e.TgZ(7,"li"),e._UZ(8,"i",3),e.qZA(),e.TgZ(9,"p",2),e._uU(10),e.qZA(),e.TgZ(11,"li"),e._UZ(12,"i",3),e.qZA(),e.TgZ(13,"li"),e._UZ(14,"i",3),e.qZA(),e.TgZ(15,"li",2),e._uU(16),e.qZA()()),2&_&&(e.xp6(2),e.Q6J("ngClass",e.WLB(8,me,o.icons.large2x,o.icons.reweight)),e.xp6(2),e.Oqu(o.realm),e.xp6(2),e.Q6J("ngClass",e.WLB(11,me,o.icons.large2x,o.icons.down)),e.xp6(2),e.Q6J("ngClass",e.WLB(14,me,o.icons.large2x,o.icons.cubes)),e.xp6(2),e.Oqu(o.zonegroup),e.xp6(2),e.Q6J("ngClass",e.WLB(17,me,o.icons.large2x,o.icons.down)),e.xp6(2),e.Q6J("ngClass",e.WLB(20,me,o.icons.large2x,o.icons.deploy)),e.xp6(2),e.Oqu(o.zone))},dependencies:[T.mk],styles:["ul[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column;list-style-type:none}.align-primary-zone[_ngcontent-%COMP%]{padding-left:4em}"]}),t})();var h_=c(90068);function Dl(t,n){1&t&&(e.TgZ(0,"span")(1,"ul",1)(2,"li")(3,"b"),e._uU(4,"Status:"),e.qZA()(),e.TgZ(5,"li"),e._uU(6,"No Sync"),e.qZA()()())}function Ul(t,n){if(1&t&&(e.TgZ(0,"span")(1,"b"),e._uU(2),e.ALo(3,"titlecase"),e.qZA(),e._uU(4),e.ALo(5,"titlecase"),e.qZA()),2&t){const _=e.oxw(2).$implicit;e.xp6(2),e.Oqu(e.lcZ(3,2,_.split(":")[0])),e.xp6(2),e.hij(":",e.lcZ(5,4,_.split(":")[1])," ")}}function vl(t,n){if(1&t&&(e.TgZ(0,"span")(1,"b"),e._uU(2),e.ALo(3,"titlecase"),e.qZA()()),2&t){const _=e.oxw(2).$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,_))}}function yl(t,n){if(1&t&&(e.TgZ(0,"span"),e.YNc(1,Ul,6,6,"span",0),e.YNc(2,vl,4,3,"span",0),e.qZA()),2&t){const _=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",null==_?null:_.includes(":")),e.xp6(1),e.Q6J("ngIf",!(null!=_&&_.includes(":")))}}function wl(t,n){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&t){const _=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,_)," ")}}function xl(t,n){if(1&t&&(e.TgZ(0,"li"),e.YNc(1,yl,3,2,"span",0),e.YNc(2,wl,3,3,"span",0),e.qZA()),2&t){const _=n.$implicit,o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",!(null!=_&&_.includes(o.metadataSyncInfo.syncstatus)||null!=_&&_.includes("failed")||null!=_&&_.includes("error"))),e.xp6(1),e.Q6J("ngIf",(null==_?null:_.includes("failed"))||(null==_?null:_.includes("error")))}}function kl(t,n){if(1&t&&(e.TgZ(0,"ul",8)(1,"li")(2,"h5")(3,"b"),e._uU(4,"Metadata Sync Status:"),e.qZA()()(),e.YNc(5,xl,3,2,"li",9),e.qZA()),2&t){const _=e.oxw(2);e.xp6(5),e.Q6J("ngForOf",_.metadataSyncInfo.fullSyncStatus)}}function zl(t,n){1&t&&(e.TgZ(0,"li",10),e._uU(1,"Up to Date"),e.qZA())}function ql(t,n){if(1&t&&(e.TgZ(0,"a",12),e.SDv(1,13),e.ALo(2,"titlecase"),e.qZA()),2&t){e.oxw(2);const _=e.MAs(2),o=e.oxw();e.Q6J("ngbPopover",_),e.xp6(2),e.pQV(e.lcZ(2,2,o.metadataSyncInfo.syncstatus)),e.QtT(1)}}function Hl(t,n){if(1&t&&(e.TgZ(0,"a",12),e.SDv(1,14),e.qZA()),2&t){e.oxw(2);const _=e.MAs(2);e.Q6J("ngbPopover",_)}}function Xl(t,n){if(1&t&&(e.YNc(0,ql,3,4,"a",11),e.YNc(1,Hl,2,1,"a",11)),2&t){const _=e.oxw(2);e.Q6J("ngIf","Not Syncing From Zone"!==_.metadataSyncInfo.syncstatus),e.xp6(1),e.Q6J("ngIf","Not Syncing From Zone"===_.metadataSyncInfo.syncstatus)}}const Bl=function(t){return[t]};function Ql(t,n){if(1&t&&(e.TgZ(0,"li"),e._UZ(1,"i",15),e.TgZ(2,"a",16),e.SDv(3,17),e.qZA()()),2&t){e.oxw();const _=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(2,Bl,o.icons.danger)),e.xp6(1),e.Q6J("ngbPopover",_)}}function Yl(t,n){if(1&t&&(e.TgZ(0,"li",18),e._uU(1),e.ALo(2,"relativeDate"),e.qZA()),2&t){const _=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,_.metadataSyncInfo.timestamp))}}function Jl(t,n){if(1&t&&(e.TgZ(0,"span"),e.YNc(1,kl,6,1,"ng-template",null,2,e.W1O),e.TgZ(3,"ul",1),e.YNc(4,zl,2,0,"ng-template",null,3,e.W1O),e.YNc(6,Xl,2,2,"ng-template",null,4,e.W1O),e.TgZ(8,"li")(9,"b"),e._uU(10,"Status:"),e.qZA()(),e.YNc(11,Ql,4,4,"li",5),e.TgZ(12,"li",6),e._uU(13," Last Synced: "),e.qZA(),e.YNc(14,Yl,3,3,"li",7),e.qZA()()),2&t){const _=e.MAs(5),o=e.MAs(7),i=e.oxw();e.xp6(11),e.Q6J("ngIf",(null==i.metadataSyncInfo.syncstatus?null:i.metadataSyncInfo.syncstatus.includes("failed"))||(null==i.metadataSyncInfo.syncstatus?null:i.metadataSyncInfo.syncstatus.includes("error")))("ngIfElse",o),e.xp6(3),e.Q6J("ngIf",i.metadataSyncInfo.timestamp)("ngIfElse",_)}}let Kl=(()=>{class t{constructor(){this.icons=$.P,this.metadataSyncInfo={}}}return t.\u0275fac=function(_){return new(_||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-sync-metadata-info"]],inputs:{metadataSyncInfo:"metadataSyncInfo"},decls:2,vars:2,consts:function(){let n,_,o;return n="" + "\ufffd0\ufffd" + "",_="Not Syncing",o="Error",[[4,"ngIf"],[1,"me-2"],["metadataSyncPopover",""],["upToDateTpl",""],["showMetadataStatus",""],[4,"ngIf","ngIfElse"],[1,"mt-4","fw-bold"],["class","badge badge-info",4,"ngIf","ngIfElse"],[1,"text-center"],[4,"ngFor","ngForOf"],[1,"badge","badge-success"],["class","lead text-primary","placement","top","popoverClass","rgw-overview-card-popover",3,"ngbPopover",4,"ngIf"],["placement","top","popoverClass","rgw-overview-card-popover",1,"lead","text-primary",3,"ngbPopover"],n,_,[1,"text-danger",3,"ngClass"],["placement","top","popoverClass","rgw-overview-card-popover",1,"lead","text-danger",3,"ngbPopover"],o,[1,"badge","badge-info"]]},template:function(_,o){1&_&&(e.YNc(0,Dl,7,0,"span",0),e.YNc(1,Jl,15,4,"span",0)),2&_&&(e.Q6J("ngIf","no sync (zone is master)"===o.metadataSyncInfo),e.xp6(1),e.Q6J("ngIf","no sync (zone is master)"!==o.metadataSyncInfo))},dependencies:[T.mk,T.sg,T.O5,G.o8,T.rS,h_.h],styles:["ul[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column;list-style-type:none}"]}),t})();function Vl(t,n){if(1&t&&(e.TgZ(0,"span")(1,"b"),e._uU(2),e.ALo(3,"titlecase"),e.qZA(),e._uU(4),e.ALo(5,"titlecase"),e.qZA()),2&t){const _=e.oxw(2).$implicit;e.xp6(2),e.Oqu(e.lcZ(3,2,_.split(": ")[0])),e.xp6(2),e.hij(":",e.lcZ(5,4,_.split(": ")[1])," ")}}function jl(t,n){if(1&t&&(e.TgZ(0,"span")(1,"b"),e._uU(2),e.ALo(3,"titlecase"),e.qZA()()),2&t){const _=e.oxw(2).$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,_))}}function er(t,n){if(1&t&&(e.TgZ(0,"span"),e.YNc(1,Vl,6,6,"span",9),e.YNc(2,jl,4,3,"span",9),e.qZA()),2&t){const _=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",null==_?null:_.includes(":")),e.xp6(1),e.Q6J("ngIf",!(null!=_&&_.includes(":")))}}function _r(t,n){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&t){const _=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,_)," ")}}function tr(t,n){if(1&t&&(e.TgZ(0,"li"),e.YNc(1,er,3,2,"span",9),e.YNc(2,_r,3,3,"span",9),e.qZA()),2&t){const _=n.$implicit,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!(null!=_&&_.includes(o.zone.name)||null!=_&&_.includes(o.zone.syncstatus)||null!=_&&_.includes("failed")||null!=_&&_.includes("error"))),e.xp6(1),e.Q6J("ngIf",(null==_?null:_.includes("failed"))||(null==_?null:_.includes("error")))}}function or(t,n){if(1&t&&(e.TgZ(0,"ul",7)(1,"li")(2,"h5")(3,"b"),e._uU(4,"Sync Status:"),e.qZA()()(),e.YNc(5,tr,3,2,"li",8),e.qZA()),2&t){const _=e.oxw();e.xp6(5),e.Q6J("ngForOf",_.zone.fullSyncStatus)}}function nr(t,n){1&t&&(e.TgZ(0,"li",10),e._uU(1,"Up to Date"),e.qZA())}function ir(t,n){if(1&t&&(e.TgZ(0,"a",12),e.SDv(1,13),e.ALo(2,"titlecase"),e.qZA()),2&t){const _=e.oxw(2),o=e.MAs(1);e.Q6J("ngbPopover",o),e.xp6(2),e.pQV(e.lcZ(2,2,_.zone.syncstatus)),e.QtT(1)}}function sr(t,n){if(1&t&&(e.TgZ(0,"a",12),e.SDv(1,14),e.qZA()),2&t){e.oxw(2);const _=e.MAs(1);e.Q6J("ngbPopover",_)}}function ar(t,n){if(1&t&&(e.YNc(0,ir,3,4,"a",11),e.YNc(1,sr,2,1,"a",11)),2&t){const _=e.oxw();e.Q6J("ngIf","Not Syncing From Zone"!==_.zone.syncstatus),e.xp6(1),e.Q6J("ngIf","Not Syncing From Zone"===_.zone.syncstatus)}}const lr=function(t){return[t]};function rr(t,n){if(1&t&&(e.TgZ(0,"li"),e._UZ(1,"i",15),e.TgZ(2,"a",16),e.SDv(3,17),e.qZA()()),2&t){const _=e.oxw(),o=e.MAs(1);e.xp6(1),e.Q6J("ngClass",e.VKq(2,lr,_.icons.danger)),e.xp6(1),e.Q6J("ngbPopover",o)}}function cr(t,n){if(1&t&&(e.TgZ(0,"li",18),e._uU(1),e.ALo(2,"relativeDate"),e.qZA()),2&t){const _=e.oxw();e.xp6(1),e.Oqu(e.lcZ(2,1,_.zone.timestamp))}}let dr=(()=>{class t{constructor(){this.icons=$.P,this.zone={}}}return t.\u0275fac=function(_){return new(_||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-sync-data-info"]],inputs:{zone:"zone"},decls:14,vars:4,consts:function(){let n,_,o;return n="" + "\ufffd0\ufffd" + "",_="Not Syncing",o="Error",[["syncPopover",""],[1,"me-2"],["upToDateTpl",""],["showStatus",""],[4,"ngIf","ngIfElse"],[1,"mt-4","fw-bold"],["class","badge badge-info",4,"ngIf","ngIfElse"],[1,"text-center"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"badge","badge-success"],["class","lead text-primary","placement","top","popoverClass","rgw-overview-card-popover",3,"ngbPopover",4,"ngIf"],["placement","top","popoverClass","rgw-overview-card-popover",1,"lead","text-primary",3,"ngbPopover"],n,_,[1,"text-danger",3,"ngClass"],["placement","top","popoverClass","rgw-overview-card-popover",1,"lead","text-danger",3,"ngbPopover"],o,[1,"badge","badge-info"]]},template:function(_,o){if(1&_&&(e.YNc(0,or,6,1,"ng-template",null,0,e.W1O),e.TgZ(2,"ul",1),e.YNc(3,nr,2,0,"ng-template",null,2,e.W1O),e.YNc(5,ar,2,2,"ng-template",null,3,e.W1O),e.TgZ(7,"li")(8,"b"),e._uU(9,"Status:"),e.qZA()(),e.YNc(10,rr,4,4,"li",4),e.TgZ(11,"li",5),e._uU(12," Last Synced: "),e.qZA(),e.YNc(13,cr,3,3,"li",6),e.qZA()),2&_){const i=e.MAs(4),s=e.MAs(6);e.xp6(10),e.Q6J("ngIf",(null==o.zone.syncstatus?null:o.zone.syncstatus.includes("failed"))||(null==o.zone.syncstatus?null:o.zone.syncstatus.includes("error")))("ngIfElse",s),e.xp6(3),e.Q6J("ngIf",o.zone.timestamp)("ngIfElse",i)}},dependencies:[T.mk,T.sg,T.O5,G.o8,T.rS,h_.h],styles:["ul[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column;list-style-type:none}"]}),t})();function ur(t,n){if(1&t&&e._UZ(0,"cd-card-row",25),2&t){const _=e.oxw();e.Q6J("data",_.rgwDaemonCount)}}function gr(t,n){if(1&t&&e._UZ(0,"cd-card-row",26),2&t){const _=e.oxw();e.Q6J("data",_.rgwRealmCount)}}function Rr(t,n){if(1&t&&e._UZ(0,"cd-card-row",27),2&t){const _=e.oxw();e.Q6J("data",_.rgwZonegroupCount)}}function Tr(t,n){if(1&t&&e._UZ(0,"cd-card-row",28),2&t){const _=e.oxw();e.Q6J("data",_.rgwZoneCount)}}function Er(t,n){if(1&t&&e._UZ(0,"cd-card-row",29),2&t){const _=e.oxw();e.Q6J("data",_.rgwBucketCount)}}function fr(t,n){if(1&t&&e._UZ(0,"cd-card-row",30),2&t){const _=e.oxw();e.Q6J("data",_.UserCount)}}function pr(t,n){if(1&t&&e._UZ(0,"cd-card-row",31),2&t){const _=e.oxw();e.Q6J("data",_.objectCount)}}function mr(t,n){1&t&&(e.TgZ(0,"span",32)(1,"cd-alert-panel",33),e.tHW(2,34),e._UZ(3,"cd-doc",35),e.N_p(),e.qZA()())}const __=function(t,n,_){return[t,n,_]};function Mr(t,n){if(1&t&&(e.TgZ(0,"span",36),e._UZ(1,"i",37),e.qZA()),2&t){const _=e.oxw();e.xp6(1),e.Q6J("ngClass",e.kEZ(1,__,_.icons.large3x,_.icons.spinner,_.icons.spin))}}function Sr(t,n){if(1&t&&(e.TgZ(0,"span",36),e._UZ(1,"i",37),e.qZA()),2&t){const _=e.oxw(3);e.xp6(1),e.Q6J("ngClass",e.kEZ(1,__,_.icons.large3x,_.icons.spinner,_.icons.spin))}}function Cr(t,n){if(1&t&&(e.TgZ(0,"span",36),e._UZ(1,"cd-rgw-sync-primary-zone",43),e.qZA()),2&t){const _=e.oxw(3);e.xp6(1),e.Q6J("realm",_.realm)("zonegroup",_.zonegroup)("zone",_.zone)}}function Or(t,n){if(1&t&&(e.TgZ(0,"span",36),e._UZ(1,"i",37),e.qZA()),2&t){const _=e.oxw(3);e.xp6(1),e.Q6J("ngClass",e.kEZ(1,__,_.icons.large3x,_.icons.spinner,_.icons.spin))}}function Fr(t,n){if(1&t&&(e.TgZ(0,"span",51),e._UZ(1,"cd-rgw-sync-metadata-info",52),e.qZA()),2&t){const _=e.oxw(6);e.xp6(1),e.Q6J("metadataSyncInfo",_.metadataSyncInfo)}}function Pr(t,n){if(1&t&&(e.TgZ(0,"span",53),e._UZ(1,"cd-rgw-sync-data-info",54),e.qZA()),2&t){const _=e.oxw(2).$implicit;e.xp6(1),e.Q6J("zone",_)}}const Nr=function(t){return{"border-left":t}};function Gr(t,n){if(1&t&&(e.TgZ(0,"cd-card",48),e.YNc(1,Fr,2,1,"span",49),e.YNc(2,Pr,2,1,"span",50),e.qZA()),2&t){const _=n.$implicit;e.Q6J("cardTitle",_)("ngClass",e.VKq(6,Nr,"Data Sync"===_))("alignItemsCenter",!0)("justifyContentCenter",!0),e.xp6(1),e.Q6J("ngIf","Metadata Sync"===_),e.xp6(1),e.Q6J("ngIf","Data Sync"===_)}}function Ar(t,n){if(1&t&&(e.TgZ(0,"cd-card",45)(1,"div",46),e.YNc(2,Gr,3,8,"cd-card",47),e.qZA()()),2&t){const _=n.$implicit,o=e.oxw(4);e.s9C("cardTitle",_.name),e.xp6(2),e.Q6J("ngForOf",o.chartTitles)}}function Ir(t,n){if(1&t&&(e.TgZ(0,"div",1),e.YNc(1,Ar,3,2,"cd-card",44),e.qZA()),2&t){const _=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",_.replicaZonesInfo)("ngForTrackBy",_.trackByFn)}}function br(t,n){if(1&t&&(e.TgZ(0,"div",39)(1,"cd-card",40),e.YNc(2,Sr,2,5,"span",23),e.YNc(3,Cr,2,3,"span",23),e.qZA(),e.TgZ(4,"div",41)(5,"cd-card",42),e.YNc(6,Or,2,5,"span",23),e.YNc(7,Ir,2,2,"div",24),e.qZA()()()),2&t){const _=e.oxw(2);e.xp6(1),e.Q6J("alignItemsCenter",!0)("justifyContentCenter",!0),e.xp6(1),e.Q6J("ngIf",_.loading),e.xp6(1),e.Q6J("ngIf",!_.loading),e.xp6(3),e.Q6J("ngIf",_.loading),e.xp6(1),e.Q6J("ngIf",!_.loading)}}function hr(t,n){if(1&t&&(e.TgZ(0,"div",1),e.YNc(1,br,8,6,"div",38),e.qZA()),2&t){const _=e.oxw(),o=e.MAs(30);e.xp6(1),e.Q6J("ngIf",_.showMultisiteCard)("ngIfElse",o)}}let Lr=(()=>{class t{constructor(_,o,i,s,l,r,d,u,R,O){this.authStorageService=_,this.healthService=o,this.refreshIntervalService=i,this.rgwDaemonService=s,this.rgwRealmService=l,this.rgwZonegroupService=r,this.rgwZoneService=d,this.rgwBucketService=u,this.prometheusService=R,this.rgwMultisiteService=O,this.icons=$.P,this.interval=new N_.w,this.rgwDaemonCount=0,this.rgwRealmCount=0,this.rgwZonegroupCount=0,this.rgwZoneCount=0,this.rgwBucketCount=0,this.objectCount=0,this.UserCount=0,this.totalPoolUsedBytes=0,this.averageObjectSize=0,this.multisiteInfo=[],this.queriesResults={RGW_REQUEST_PER_SECOND:"",BANDWIDTH:"",AVG_GET_LATENCY:"",AVG_PUT_LATENCY:""},this.chartTitles=["Metadata Sync","Data Sync"],this.replicaZonesInfo=[],this.showMultisiteCard=!0,this.loading=!0,this.subject=new Cl.t,this.syncCardLoading=!0,this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.interval=this.refreshIntervalService.intervalData$.subscribe(()=>{this.daemonSub=this.rgwDaemonService.list().subscribe(_=>{this.rgwDaemonCount=_.length}),this.HealthSub=this.healthService.getClusterCapacity().subscribe(_=>{this.objectCount=_.total_objects,this.totalPoolUsedBytes=_.total_pool_bytes_used,this.averageObjectSize=_.average_object_size}),this.getSyncStatus()}),this.BucketSub=this.rgwBucketService.getTotalBucketsAndUsersLength().subscribe(_=>{this.rgwBucketCount=_.buckets_count,this.UserCount=_.users_count}),this.realmSub=this.rgwRealmService.list().subscribe(_=>{this.rgwRealmCount=_.realms.length}),this.ZonegroupSub=this.rgwZonegroupService.list().subscribe(_=>{this.rgwZonegroupCount=_.zonegroups.length}),this.ZoneSUb=this.rgwZoneService.list().subscribe(_=>{this.rgwZoneCount=_.zones.length}),this.getPrometheusData(this.prometheusService.lastHourDateObject),this.multisiteSyncStatus$=this.subject.pipe((0,Pl.w)(()=>this.rgwMultisiteService.getSyncStatus().pipe((0,Nl.b)(_=>{this.loading=!1,this.replicaZonesInfo=_.dataSyncInfo,this.metadataSyncInfo=_.metadataSyncInfo,0===this.replicaZonesInfo.length&&(this.showMultisiteCard=!1,this.syncCardLoading=!1,this.loading=!1),[this.realm,this.zonegroup,this.zone]=_.primaryZoneData}),(0,a_.K)(_=>(this.showMultisiteCard=!1,this.syncCardLoading=!1,this.loading=!1,_.preventDefault(),(0,ke.of)(!0))))),(0,Gl.d)(1))}ngOnDestroy(){this.interval.unsubscribe(),this.daemonSub.unsubscribe(),this.realmSub.unsubscribe(),this.ZonegroupSub.unsubscribe(),this.ZoneSUb.unsubscribe(),this.BucketSub.unsubscribe(),this.HealthSub.unsubscribe(),this.prometheusService.unsubscribe()}getPrometheusData(_){this.queriesResults=this.prometheusService.getPrometheusQueriesData(_,Fl.p,this.queriesResults,!0)}getSyncStatus(){this.subject.next()}trackByFn(_){return _}}return t.\u0275fac=function(_){return new(_||t)(e.Y36(ce.j),e.Y36(Al.z),e.Y36(Il.s),e.Y36(oe.b),e.Y36(de.y),e.Y36(ge.K),e.Y36(ue.g),e.Y36(Ee.o),e.Y36(Ol.Q),e.Y36(e_.o))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rgw-overview-dashboard"]],decls:34,vars:26,consts:function(){let n;return n=" Multi-site needs to be configured in order to see the multi-site sync status. Please consult the " + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " on how to configure and enable the multi-site functionality. ",[[1,"container-fluid"],[1,"row"],["cardTitle","Inventory","aria-label","Inventory card",1,"col-sm-3","px-3","d-flex"],["link","/rgw/daemon","title","Gateway","summaryType","simplified",3,"data",4,"ngIf"],["link","/rgw/multisite","title","Realm","summaryType","simplified",3,"data",4,"ngIf"],["link","/rgw/multisite","title","Zone Group","summaryType","simplified",3,"data",4,"ngIf"],["link","/rgw/multisite","title","Zone","summaryType","simplified",3,"data",4,"ngIf"],["link","/rgw/bucket","title","Bucket","summaryType","simplified",3,"data",4,"ngIf"],["link","/rgw/user","title","User","summaryType","simplified",3,"data",4,"ngIf"],["title","Object","summaryType","simplified",3,"data",4,"ngIf"],["cardTitle","Performance Statistics","ria-label","Performance Statistics card",1,"col-sm-6","d-flex"],[1,"ms-4","me-4","mt-0"],[3,"selectedTime"],["chartTitle","Requests/sec","dataUnits","","label","Requests/sec",3,"data"],["chartTitle","Latency","dataUnits","ms","label","GET","label2","PUT",3,"data","data2"],["chartTitle","Bandwidth","dataUnits","B","label","GET","label2","PUT",3,"data","data2"],[1,"col-lg-3"],["cardTitle","Used Capacity","aria-label","Used Capacity",1,"col-sm-2","d-flex","w-100","h-50","pb-3",3,"alignItemsCenter","justifyContentCenter"],[1,"ms-4","me-4","text-center"],["cardTitle","Average Object Size","aria-label","Avg Object Size",1,"col-sm-2","d-flex","w-100","h-50","pt-3",3,"alignItemsCenter","justifyContentCenter"],[1,"row","pt-4","pb-4"],["cardTitle","Multi-Site Sync Status"],["notConfigured",""],["class","d-flex justify-content-center",4,"ngIf"],["class","row",4,"ngIf"],["link","/rgw/daemon","title","Gateway","summaryType","simplified",3,"data"],["link","/rgw/multisite","title","Realm","summaryType","simplified",3,"data"],["link","/rgw/multisite","title","Zone Group","summaryType","simplified",3,"data"],["link","/rgw/multisite","title","Zone","summaryType","simplified",3,"data"],["link","/rgw/bucket","title","Bucket","summaryType","simplified",3,"data"],["link","/rgw/user","title","User","summaryType","simplified",3,"data"],["title","Object","summaryType","simplified",3,"data"],[1,"pe-5","ps-5"],["type","info"],n,["section","multisite"],[1,"d-flex","justify-content-center"],[3,"ngClass"],["class","row pt-2",4,"ngIf","ngIfElse"],[1,"row","pt-2"],["cardTitle","Primary Source Zone",1,"col-lg-3","d-flex","justify-content-center","align-primary-zone",3,"alignItemsCenter","justifyContentCenter"],[1,"col-lg-9"],["cardTitle","Source Zones",1,"d-flex","h-100"],[3,"realm","zonegroup","zone"],["cardType","zone","shadowClass","true","class","col-sm-9 col-lg-6 align-replica-zones d-flex pt-4","aria-label","Source Zones Card",3,"cardTitle",4,"ngFor","ngForOf","ngForTrackBy"],["cardType","zone","shadowClass","true","aria-label","Source Zones Card",1,"col-sm-9","col-lg-6","align-replica-zones","d-flex","pt-4",3,"cardTitle"],[1,"row","pb-4","ps-3","pe-3"],["cardType","syncCards","removeBorder","true","class","col-sm-9 col-lg-6","aria-label","Charts Card",3,"cardTitle","ngClass","alignItemsCenter","justifyContentCenter",4,"ngFor","ngForOf"],["cardType","syncCards","removeBorder","true","aria-label","Charts Card",1,"col-sm-9","col-lg-6",3,"cardTitle","ngClass","alignItemsCenter","justifyContentCenter"],["class","me-2 text-center",4,"ngIf"],["class","me-2",4,"ngIf"],[1,"me-2","text-center"],[3,"metadataSyncInfo"],[1,"me-2"],[3,"zone"]]},template:function(_,o){1&_&&(e.TgZ(0,"div",0)(1,"div",1)(2,"cd-card",2),e.YNc(3,ur,1,1,"cd-card-row",3),e.YNc(4,gr,1,1,"cd-card-row",4),e.YNc(5,Rr,1,1,"cd-card-row",5),e.YNc(6,Tr,1,1,"cd-card-row",6),e.YNc(7,Er,1,1,"cd-card-row",7),e.YNc(8,fr,1,1,"cd-card-row",8),e.YNc(9,pr,1,1,"cd-card-row",9),e.qZA(),e.TgZ(10,"cd-card",10)(11,"div",11)(12,"cd-dashboard-time-selector",12),e.NdJ("selectedTime",function(s){return o.getPrometheusData(s)}),e.qZA(),e._UZ(13,"cd-dashboard-area-chart",13)(14,"cd-dashboard-area-chart",14)(15,"cd-dashboard-area-chart",15),e.qZA()(),e.TgZ(16,"div",16)(17,"cd-card",17)(18,"span",18)(19,"h1"),e._uU(20),e.ALo(21,"dimlessBinary"),e.qZA()()(),e.TgZ(22,"cd-card",19)(23,"span",18)(24,"h1"),e._uU(25),e.ALo(26,"dimlessBinary"),e.qZA()()()()(),e.TgZ(27,"div",20)(28,"cd-card",21),e.YNc(29,mr,4,0,"ng-template",null,22,e.W1O),e.YNc(31,Mr,2,5,"span",23),e.YNc(32,hr,2,2,"div",24),e.ALo(33,"async"),e.qZA()()()),2&_&&(e.xp6(3),e.Q6J("ngIf",null!=o.rgwDaemonCount),e.xp6(1),e.Q6J("ngIf",null!=o.rgwRealmCount),e.xp6(1),e.Q6J("ngIf",null!=o.rgwZonegroupCount),e.xp6(1),e.Q6J("ngIf",null!=o.rgwZoneCount),e.xp6(1),e.Q6J("ngIf",null!=o.rgwBucketCount),e.xp6(1),e.Q6J("ngIf",null!=o.UserCount),e.xp6(1),e.Q6J("ngIf",null!=o.objectCount),e.xp6(4),e.Q6J("data",o.queriesResults.RGW_REQUEST_PER_SECOND),e.xp6(1),e.Q6J("data",o.queriesResults.AVG_GET_LATENCY)("data2",o.queriesResults.AVG_PUT_LATENCY),e.xp6(1),e.Q6J("data",o.queriesResults.GET_BANDWIDTH)("data2",o.queriesResults.PUT_BANDWIDTH),e.xp6(2),e.Q6J("alignItemsCenter",!0)("justifyContentCenter",!0),e.xp6(3),e.Oqu(e.lcZ(21,20,o.totalPoolUsedBytes)),e.xp6(2),e.Q6J("alignItemsCenter",!0)("justifyContentCenter",!0),e.xp6(3),e.Oqu(e.lcZ(26,22,o.averageObjectSize)),e.xp6(6),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",e.lcZ(33,24,o.multisiteSyncStatus$)))},dependencies:[T.mk,T.sg,T.O5,Re.G,bl.K,hl.A,Ll.e,Wl.S,$l.M,Zl,Kl,dr,T.Ov,Ye.$],styles:["hr[_ngcontent-%COMP%]{margin-bottom:2px;margin-top:2px}.list-group-item[_ngcontent-%COMP%]{border:0}.align-replica-zones[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;padding-left:2em;padding-right:2em}ul[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column;list-style-type:none}.align-primary-zone[_ngcontent-%COMP%]{padding-left:4em}.border-left[_ngcontent-%COMP%]{border-left:1px solid rgba(0,0,0,.1254901961)}"]}),t})();var Wr=c(46767);let L_=(()=>{class t{}return t.\u0275fac=function(_){return new(_||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[T.ez,et.m,a.u5,a.UX,_t.B,G.Oz,J.Bz,G.HK,G.dT,o_.b,je.xc,Sl.t,Wr.d]}),t})();const $r=[{path:"",redirectTo:"rbd",pathMatch:"full"},{path:"daemon",component:Xo,data:{breadcrumbs:"Gateways"}},{path:"user",data:{breadcrumbs:"Users"},children:[{path:"",component:ss},{path:I.MQ.CREATE,component:O_,data:{breadcrumbs:I.Qn.CREATE}},{path:`${I.MQ.EDIT}/:uid`,component:O_,data:{breadcrumbs:I.Qn.EDIT}}]},{path:"roles",data:{breadcrumbs:"Roles",resource:"api.rgw.roles@1.0",tabs:[{name:"Users",url:"/rgw/user"},{name:"Roles",url:"/rgw/roles"}]},children:[{path:"",component:j_.c},{path:I.MQ.CREATE,component:as.U,data:{breadcrumbs:I.Qn.CREATE}}]},{path:"bucket",data:{breadcrumbs:"Buckets"},children:[{path:"",component:ho},{path:I.MQ.CREATE,component:d_,data:{breadcrumbs:I.Qn.CREATE}},{path:`${I.MQ.EDIT}/:bid`,component:d_,data:{breadcrumbs:I.Qn.EDIT}}]},{path:"overview",data:{breadcrumbs:"Overview"},children:[{path:"",component:Lr}]},{path:"multisite",children:[{path:"",component:Te}]}];let Zr=(()=>{class t{}return t.\u0275fac=function(_){return new(_||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[L_,J.Bz.forChild($r)]}),t})()}}]); \ No newline at end of file
diff --git a/src/pybind/mgr/dashboard/frontend/dist/en-US/889.a4d8d718c0568f41.js b/src/pybind/mgr/dashboard/frontend/dist/en-US/889.a4d8d718c0568f41.js
new file mode 100644
index 000000000..9fe648f10
--- /dev/null
+++ b/src/pybind/mgr/dashboard/frontend/dist/en-US/889.a4d8d718c0568f41.js
@@ -0,0 +1 @@
+(self.webpackChunkceph_dashboard=self.webpackChunkceph_dashboard||[]).push([[889],{3875:(K,Y,d)=>{"use strict";var g=d(96434),r=d(12658);Y.Buffer=l,Y.SlowBuffer=function G(T){return+T!=T&&(T=0),l.alloc(+T)},Y.INSPECT_MAX_BYTES=50;var A=2147483647;function Z(T){if(T>A)throw new RangeError('The value "'+T+'" is invalid for option "size"');var _=new Uint8Array(T);return _.__proto__=l.prototype,_}function l(T,_,s){if("number"==typeof T){if("string"==typeof _)throw new TypeError('The "string" argument must be of type string. Received type number');return N(T)}return h(T,_,s)}function h(T,_,s){if("string"==typeof T)return function v(T,_){if(("string"!=typeof _||""===_)&&(_="utf8"),!l.isEncoding(_))throw new TypeError("Unknown encoding: "+_);var s=0|B(T,_),F=Z(s),X=F.write(T,_);return X!==s&&(F=F.slice(0,X)),F}(T,_);if(ArrayBuffer.isView(T))return k(T);if(null==T)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof T);if(b(T,ArrayBuffer)||T&&b(T.buffer,ArrayBuffer))return function P(T,_,s){if(_<0||T.byteLength<_)throw new RangeError('"offset" is outside of buffer bounds');if(T.byteLength<_+(s||0))throw new RangeError('"length" is outside of buffer bounds');var F;return(F=void 0===_&&void 0===s?new Uint8Array(T):void 0===s?new Uint8Array(T,_):new Uint8Array(T,_,s)).__proto__=l.prototype,F}(T,_,s);if("number"==typeof T)throw new TypeError('The "value" argument must not be of type number. Received type number');var F=T.valueOf&&T.valueOf();if(null!=F&&F!==T)return l.from(F,_,s);var X=function L(T){if(l.isBuffer(T)){var _=0|I(T.length),s=Z(_);return 0===s.length||T.copy(s,0,0,_),s}return void 0!==T.length?"number"!=typeof T.length||D(T.length)?Z(0):k(T):"Buffer"===T.type&&Array.isArray(T.data)?k(T.data):void 0}(T);if(X)return X;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof T[Symbol.toPrimitive])return l.from(T[Symbol.toPrimitive]("string"),_,s);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof T)}function R(T){if("number"!=typeof T)throw new TypeError('"size" argument must be of type number');if(T<0)throw new RangeError('The value "'+T+'" is invalid for option "size"')}function N(T){return R(T),Z(T<0?0:0|I(T))}function k(T){for(var _=T.length<0?0:0|I(T.length),s=Z(_),F=0;F<_;F+=1)s[F]=255&T[F];return s}function I(T){if(T>=A)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+A.toString(16)+" bytes");return 0|T}function B(T,_){if(l.isBuffer(T))return T.length;if(ArrayBuffer.isView(T)||b(T,ArrayBuffer))return T.byteLength;if("string"!=typeof T)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof T);var s=T.length,F=arguments.length>2&&!0===arguments[2];if(!F&&0===s)return 0;for(var X=!1;;)switch(_){case"ascii":case"latin1":case"binary":return s;case"utf8":case"utf-8":return a(T).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*s;case"hex":return s>>>1;case"base64":return ie(T).length;default:if(X)return F?-1:a(T).length;_=(""+_).toLowerCase(),X=!0}}function S(T,_,s){var F=!1;if((void 0===_||_<0)&&(_=0),_>this.length||((void 0===s||s>this.length)&&(s=this.length),s<=0)||(s>>>=0)<=(_>>>=0))return"";for(T||(T="utf8");;)switch(T){case"hex":return pe(this,_,s);case"utf8":case"utf-8":return z(this,_,s);case"ascii":return de(this,_,s);case"latin1":case"binary":return ne(this,_,s);case"base64":return q(this,_,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue(this,_,s);default:if(F)throw new TypeError("Unknown encoding: "+T);T=(T+"").toLowerCase(),F=!0}}function U(T,_,s){var F=T[_];T[_]=T[s],T[s]=F}function m(T,_,s,F,X){if(0===T.length)return-1;if("string"==typeof s?(F=s,s=0):s>2147483647?s=2147483647:s<-2147483648&&(s=-2147483648),D(s=+s)&&(s=X?0:T.length-1),s<0&&(s=T.length+s),s>=T.length){if(X)return-1;s=T.length-1}else if(s<0){if(!X)return-1;s=0}if("string"==typeof _&&(_=l.from(_,F)),l.isBuffer(_))return 0===_.length?-1:p(T,_,s,F,X);if("number"==typeof _)return _&=255,"function"==typeof Uint8Array.prototype.indexOf?X?Uint8Array.prototype.indexOf.call(T,_,s):Uint8Array.prototype.lastIndexOf.call(T,_,s):p(T,[_],s,F,X);throw new TypeError("val must be string, number or Buffer")}function p(T,_,s,F,X){var Ne,ee=1,te=T.length,ge=_.length;if(void 0!==F&&("ucs2"===(F=String(F).toLowerCase())||"ucs-2"===F||"utf16le"===F||"utf-16le"===F)){if(T.length<2||_.length<2)return-1;ee=2,te/=2,ge/=2,s/=2}function Ce(qe,Be){return 1===ee?qe[Be]:qe.readUInt16BE(Be*ee)}if(X){var Ze=-1;for(Ne=s;Ne<te;Ne++)if(Ce(T,Ne)===Ce(_,-1===Ze?0:Ne-Ze)){if(-1===Ze&&(Ze=Ne),Ne-Ze+1===ge)return Ze*ee}else-1!==Ze&&(Ne-=Ne-Ze),Ze=-1}else for(s+ge>te&&(s=te-ge),Ne=s;Ne>=0;Ne--){for(var be=!0,ze=0;ze<ge;ze++)if(Ce(T,Ne+ze)!==Ce(_,ze)){be=!1;break}if(be)return Ne}return-1}function u(T,_,s,F){s=Number(s)||0;var X=T.length-s;F?(F=Number(F))>X&&(F=X):F=X;var ee=_.length;F>ee/2&&(F=ee/2);for(var te=0;te<F;++te){var ge=parseInt(_.substr(2*te,2),16);if(D(ge))return te;T[s+te]=ge}return te}function E(T,_,s,F){return ae(a(_,T.length-s),T,s,F)}function e(T,_,s,F){return ae(function w(T){for(var _=[],s=0;s<T.length;++s)_.push(255&T.charCodeAt(s));return _}(_),T,s,F)}function f(T,_,s,F){return e(T,_,s,F)}function $(T,_,s,F){return ae(ie(_),T,s,F)}function M(T,_,s,F){return ae(function W(T,_){for(var s,F,ee=[],te=0;te<T.length&&!((_-=2)<0);++te)F=(s=T.charCodeAt(te))>>8,ee.push(s%256),ee.push(F);return ee}(_,T.length-s),T,s,F)}function q(T,_,s){return g.fromByteArray(0===_&&s===T.length?T:T.slice(_,s))}function z(T,_,s){s=Math.min(T.length,s);for(var F=[],X=_;X<s;){var Ce,Ne,Ze,be,ee=T[X],te=null,ge=ee>239?4:ee>223?3:ee>191?2:1;if(X+ge<=s)switch(ge){case 1:ee<128&&(te=ee);break;case 2:128==(192&(Ce=T[X+1]))&&(be=(31&ee)<<6|63&Ce)>127&&(te=be);break;case 3:Ne=T[X+2],128==(192&(Ce=T[X+1]))&&128==(192&Ne)&&(be=(15&ee)<<12|(63&Ce)<<6|63&Ne)>2047&&(be<55296||be>57343)&&(te=be);break;case 4:Ne=T[X+2],Ze=T[X+3],128==(192&(Ce=T[X+1]))&&128==(192&Ne)&&128==(192&Ze)&&(be=(15&ee)<<18|(63&Ce)<<12|(63&Ne)<<6|63&Ze)>65535&&be<1114112&&(te=be)}null===te?(te=65533,ge=1):te>65535&&(F.push((te-=65536)>>>10&1023|55296),te=56320|1023&te),F.push(te),X+=ge}return function le(T){var _=T.length;if(_<=V)return String.fromCharCode.apply(String,T);for(var s="",F=0;F<_;)s+=String.fromCharCode.apply(String,T.slice(F,F+=V));return s}(F)}Y.kMaxLength=A,!(l.TYPED_ARRAY_SUPPORT=function x(){try{var T=new Uint8Array(1);return T.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===T.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),typeof Symbol<"u"&&null!=Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),l.poolSize=8192,l.from=function(T,_,s){return h(T,_,s)},l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,l.alloc=function(T,_,s){return function y(T,_,s){return R(T),T<=0?Z(T):void 0!==_?"string"==typeof s?Z(T).fill(_,s):Z(T).fill(_):Z(T)}(T,_,s)},l.allocUnsafe=function(T){return N(T)},l.allocUnsafeSlow=function(T){return N(T)},l.isBuffer=function(_){return null!=_&&!0===_._isBuffer&&_!==l.prototype},l.compare=function(_,s){if(b(_,Uint8Array)&&(_=l.from(_,_.offset,_.byteLength)),b(s,Uint8Array)&&(s=l.from(s,s.offset,s.byteLength)),!l.isBuffer(_)||!l.isBuffer(s))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(_===s)return 0;for(var F=_.length,X=s.length,ee=0,te=Math.min(F,X);ee<te;++ee)if(_[ee]!==s[ee]){F=_[ee],X=s[ee];break}return F<X?-1:X<F?1:0},l.isEncoding=function(_){switch(String(_).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(_,s){if(!Array.isArray(_))throw new TypeError('"list" argument must be an Array of Buffers');if(0===_.length)return l.alloc(0);var F;if(void 0===s)for(s=0,F=0;F<_.length;++F)s+=_[F].length;var X=l.allocUnsafe(s),ee=0;for(F=0;F<_.length;++F){var te=_[F];if(b(te,Uint8Array)&&(te=l.from(te)),!l.isBuffer(te))throw new TypeError('"list" argument must be an Array of Buffers');te.copy(X,ee),ee+=te.length}return X},l.byteLength=B,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var _=this.length;if(_%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var s=0;s<_;s+=2)U(this,s,s+1);return this},l.prototype.swap32=function(){var _=this.length;if(_%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var s=0;s<_;s+=4)U(this,s,s+3),U(this,s+1,s+2);return this},l.prototype.swap64=function(){var _=this.length;if(_%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var s=0;s<_;s+=8)U(this,s,s+7),U(this,s+1,s+6),U(this,s+2,s+5),U(this,s+3,s+4);return this},l.prototype.toLocaleString=l.prototype.toString=function(){var _=this.length;return 0===_?"":0===arguments.length?z(this,0,_):S.apply(this,arguments)},l.prototype.equals=function(_){if(!l.isBuffer(_))throw new TypeError("Argument must be a Buffer");return this===_||0===l.compare(this,_)},l.prototype.inspect=function(){var _="",s=Y.INSPECT_MAX_BYTES;return _=this.toString("hex",0,s).replace(/(.{2})/g,"$1 ").trim(),this.length>s&&(_+=" ... "),"<Buffer "+_+">"},l.prototype.compare=function(_,s,F,X,ee){if(b(_,Uint8Array)&&(_=l.from(_,_.offset,_.byteLength)),!l.isBuffer(_))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof _);if(void 0===s&&(s=0),void 0===F&&(F=_?_.length:0),void 0===X&&(X=0),void 0===ee&&(ee=this.length),s<0||F>_.length||X<0||ee>this.length)throw new RangeError("out of range index");if(X>=ee&&s>=F)return 0;if(X>=ee)return-1;if(s>=F)return 1;if(this===_)return 0;for(var te=(ee>>>=0)-(X>>>=0),ge=(F>>>=0)-(s>>>=0),Ce=Math.min(te,ge),Ne=this.slice(X,ee),Ze=_.slice(s,F),be=0;be<Ce;++be)if(Ne[be]!==Ze[be]){te=Ne[be],ge=Ze[be];break}return te<ge?-1:ge<te?1:0},l.prototype.includes=function(_,s,F){return-1!==this.indexOf(_,s,F)},l.prototype.indexOf=function(_,s,F){return m(this,_,s,F,!0)},l.prototype.lastIndexOf=function(_,s,F){return m(this,_,s,F,!1)},l.prototype.write=function(_,s,F,X){if(void 0===s)X="utf8",F=this.length,s=0;else if(void 0===F&&"string"==typeof s)X=s,F=this.length,s=0;else{if(!isFinite(s))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");s>>>=0,isFinite(F)?(F>>>=0,void 0===X&&(X="utf8")):(X=F,F=void 0)}var ee=this.length-s;if((void 0===F||F>ee)&&(F=ee),_.length>0&&(F<0||s<0)||s>this.length)throw new RangeError("Attempt to write outside buffer bounds");X||(X="utf8");for(var te=!1;;)switch(X){case"hex":return u(this,_,s,F);case"utf8":case"utf-8":return E(this,_,s,F);case"ascii":return e(this,_,s,F);case"latin1":case"binary":return f(this,_,s,F);case"base64":return $(this,_,s,F);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,_,s,F);default:if(te)throw new TypeError("Unknown encoding: "+X);X=(""+X).toLowerCase(),te=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var V=4096;function de(T,_,s){var F="";s=Math.min(T.length,s);for(var X=_;X<s;++X)F+=String.fromCharCode(127&T[X]);return F}function ne(T,_,s){var F="";s=Math.min(T.length,s);for(var X=_;X<s;++X)F+=String.fromCharCode(T[X]);return F}function pe(T,_,s){var F=T.length;(!_||_<0)&&(_=0),(!s||s<0||s>F)&&(s=F);for(var X="",ee=_;ee<s;++ee)X+=C(T[ee]);return X}function ue(T,_,s){for(var F=T.slice(_,s),X="",ee=0;ee<F.length;ee+=2)X+=String.fromCharCode(F[ee]+256*F[ee+1]);return X}function he(T,_,s){if(T%1!=0||T<0)throw new RangeError("offset is not uint");if(T+_>s)throw new RangeError("Trying to access beyond buffer length")}function fe(T,_,s,F,X,ee){if(!l.isBuffer(T))throw new TypeError('"buffer" argument must be a Buffer instance');if(_>X||_<ee)throw new RangeError('"value" argument is out of bounds');if(s+F>T.length)throw new RangeError("Index out of range")}function Ie(T,_,s,F,X,ee){if(s+F>T.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("Index out of range")}function we(T,_,s,F,X){return _=+_,s>>>=0,X||Ie(T,0,s,4),r.write(T,_,s,F,23,4),s+4}function Oe(T,_,s,F,X){return _=+_,s>>>=0,X||Ie(T,0,s,8),r.write(T,_,s,F,52,8),s+8}l.prototype.slice=function(_,s){var F=this.length;(_=~~_)<0?(_+=F)<0&&(_=0):_>F&&(_=F),(s=void 0===s?F:~~s)<0?(s+=F)<0&&(s=0):s>F&&(s=F),s<_&&(s=_);var X=this.subarray(_,s);return X.__proto__=l.prototype,X},l.prototype.readUIntLE=function(_,s,F){_>>>=0,s>>>=0,F||he(_,s,this.length);for(var X=this[_],ee=1,te=0;++te<s&&(ee*=256);)X+=this[_+te]*ee;return X},l.prototype.readUIntBE=function(_,s,F){_>>>=0,s>>>=0,F||he(_,s,this.length);for(var X=this[_+--s],ee=1;s>0&&(ee*=256);)X+=this[_+--s]*ee;return X},l.prototype.readUInt8=function(_,s){return _>>>=0,s||he(_,1,this.length),this[_]},l.prototype.readUInt16LE=function(_,s){return _>>>=0,s||he(_,2,this.length),this[_]|this[_+1]<<8},l.prototype.readUInt16BE=function(_,s){return _>>>=0,s||he(_,2,this.length),this[_]<<8|this[_+1]},l.prototype.readUInt32LE=function(_,s){return _>>>=0,s||he(_,4,this.length),(this[_]|this[_+1]<<8|this[_+2]<<16)+16777216*this[_+3]},l.prototype.readUInt32BE=function(_,s){return _>>>=0,s||he(_,4,this.length),16777216*this[_]+(this[_+1]<<16|this[_+2]<<8|this[_+3])},l.prototype.readIntLE=function(_,s,F){_>>>=0,s>>>=0,F||he(_,s,this.length);for(var X=this[_],ee=1,te=0;++te<s&&(ee*=256);)X+=this[_+te]*ee;return X>=(ee*=128)&&(X-=Math.pow(2,8*s)),X},l.prototype.readIntBE=function(_,s,F){_>>>=0,s>>>=0,F||he(_,s,this.length);for(var X=s,ee=1,te=this[_+--X];X>0&&(ee*=256);)te+=this[_+--X]*ee;return te>=(ee*=128)&&(te-=Math.pow(2,8*s)),te},l.prototype.readInt8=function(_,s){return _>>>=0,s||he(_,1,this.length),128&this[_]?-1*(255-this[_]+1):this[_]},l.prototype.readInt16LE=function(_,s){_>>>=0,s||he(_,2,this.length);var F=this[_]|this[_+1]<<8;return 32768&F?4294901760|F:F},l.prototype.readInt16BE=function(_,s){_>>>=0,s||he(_,2,this.length);var F=this[_+1]|this[_]<<8;return 32768&F?4294901760|F:F},l.prototype.readInt32LE=function(_,s){return _>>>=0,s||he(_,4,this.length),this[_]|this[_+1]<<8|this[_+2]<<16|this[_+3]<<24},l.prototype.readInt32BE=function(_,s){return _>>>=0,s||he(_,4,this.length),this[_]<<24|this[_+1]<<16|this[_+2]<<8|this[_+3]},l.prototype.readFloatLE=function(_,s){return _>>>=0,s||he(_,4,this.length),r.read(this,_,!0,23,4)},l.prototype.readFloatBE=function(_,s){return _>>>=0,s||he(_,4,this.length),r.read(this,_,!1,23,4)},l.prototype.readDoubleLE=function(_,s){return _>>>=0,s||he(_,8,this.length),r.read(this,_,!0,52,8)},l.prototype.readDoubleBE=function(_,s){return _>>>=0,s||he(_,8,this.length),r.read(this,_,!1,52,8)},l.prototype.writeUIntLE=function(_,s,F,X){_=+_,s>>>=0,F>>>=0,X||fe(this,_,s,F,Math.pow(2,8*F)-1,0);var te=1,ge=0;for(this[s]=255&_;++ge<F&&(te*=256);)this[s+ge]=_/te&255;return s+F},l.prototype.writeUIntBE=function(_,s,F,X){_=+_,s>>>=0,F>>>=0,X||fe(this,_,s,F,Math.pow(2,8*F)-1,0);var te=F-1,ge=1;for(this[s+te]=255&_;--te>=0&&(ge*=256);)this[s+te]=_/ge&255;return s+F},l.prototype.writeUInt8=function(_,s,F){return _=+_,s>>>=0,F||fe(this,_,s,1,255,0),this[s]=255&_,s+1},l.prototype.writeUInt16LE=function(_,s,F){return _=+_,s>>>=0,F||fe(this,_,s,2,65535,0),this[s]=255&_,this[s+1]=_>>>8,s+2},l.prototype.writeUInt16BE=function(_,s,F){return _=+_,s>>>=0,F||fe(this,_,s,2,65535,0),this[s]=_>>>8,this[s+1]=255&_,s+2},l.prototype.writeUInt32LE=function(_,s,F){return _=+_,s>>>=0,F||fe(this,_,s,4,4294967295,0),this[s+3]=_>>>24,this[s+2]=_>>>16,this[s+1]=_>>>8,this[s]=255&_,s+4},l.prototype.writeUInt32BE=function(_,s,F){return _=+_,s>>>=0,F||fe(this,_,s,4,4294967295,0),this[s]=_>>>24,this[s+1]=_>>>16,this[s+2]=_>>>8,this[s+3]=255&_,s+4},l.prototype.writeIntLE=function(_,s,F,X){if(_=+_,s>>>=0,!X){var ee=Math.pow(2,8*F-1);fe(this,_,s,F,ee-1,-ee)}var te=0,ge=1,Ce=0;for(this[s]=255&_;++te<F&&(ge*=256);)_<0&&0===Ce&&0!==this[s+te-1]&&(Ce=1),this[s+te]=(_/ge>>0)-Ce&255;return s+F},l.prototype.writeIntBE=function(_,s,F,X){if(_=+_,s>>>=0,!X){var ee=Math.pow(2,8*F-1);fe(this,_,s,F,ee-1,-ee)}var te=F-1,ge=1,Ce=0;for(this[s+te]=255&_;--te>=0&&(ge*=256);)_<0&&0===Ce&&0!==this[s+te+1]&&(Ce=1),this[s+te]=(_/ge>>0)-Ce&255;return s+F},l.prototype.writeInt8=function(_,s,F){return _=+_,s>>>=0,F||fe(this,_,s,1,127,-128),_<0&&(_=255+_+1),this[s]=255&_,s+1},l.prototype.writeInt16LE=function(_,s,F){return _=+_,s>>>=0,F||fe(this,_,s,2,32767,-32768),this[s]=255&_,this[s+1]=_>>>8,s+2},l.prototype.writeInt16BE=function(_,s,F){return _=+_,s>>>=0,F||fe(this,_,s,2,32767,-32768),this[s]=_>>>8,this[s+1]=255&_,s+2},l.prototype.writeInt32LE=function(_,s,F){return _=+_,s>>>=0,F||fe(this,_,s,4,2147483647,-2147483648),this[s]=255&_,this[s+1]=_>>>8,this[s+2]=_>>>16,this[s+3]=_>>>24,s+4},l.prototype.writeInt32BE=function(_,s,F){return _=+_,s>>>=0,F||fe(this,_,s,4,2147483647,-2147483648),_<0&&(_=4294967295+_+1),this[s]=_>>>24,this[s+1]=_>>>16,this[s+2]=_>>>8,this[s+3]=255&_,s+4},l.prototype.writeFloatLE=function(_,s,F){return we(this,_,s,!0,F)},l.prototype.writeFloatBE=function(_,s,F){return we(this,_,s,!1,F)},l.prototype.writeDoubleLE=function(_,s,F){return Oe(this,_,s,!0,F)},l.prototype.writeDoubleBE=function(_,s,F){return Oe(this,_,s,!1,F)},l.prototype.copy=function(_,s,F,X){if(!l.isBuffer(_))throw new TypeError("argument should be a Buffer");if(F||(F=0),!X&&0!==X&&(X=this.length),s>=_.length&&(s=_.length),s||(s=0),X>0&&X<F&&(X=F),X===F||0===_.length||0===this.length)return 0;if(s<0)throw new RangeError("targetStart out of bounds");if(F<0||F>=this.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("sourceEnd out of bounds");X>this.length&&(X=this.length),_.length-s<X-F&&(X=_.length-s+F);var ee=X-F;if(this===_&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(s,F,X);else if(this===_&&F<s&&s<X)for(var te=ee-1;te>=0;--te)_[te+s]=this[te+F];else Uint8Array.prototype.set.call(_,this.subarray(F,X),s);return ee},l.prototype.fill=function(_,s,F,X){if("string"==typeof _){if("string"==typeof s?(X=s,s=0,F=this.length):"string"==typeof F&&(X=F,F=this.length),void 0!==X&&"string"!=typeof X)throw new TypeError("encoding must be a string");if("string"==typeof X&&!l.isEncoding(X))throw new TypeError("Unknown encoding: "+X);if(1===_.length){var ee=_.charCodeAt(0);("utf8"===X&&ee<128||"latin1"===X)&&(_=ee)}}else"number"==typeof _&&(_&=255);if(s<0||this.length<s||this.length<F)throw new RangeError("Out of range index");if(F<=s)return this;var te;if(s>>>=0,F=void 0===F?this.length:F>>>0,_||(_=0),"number"==typeof _)for(te=s;te<F;++te)this[te]=_;else{var ge=l.isBuffer(_)?_:l.from(_,X),Ce=ge.length;if(0===Ce)throw new TypeError('The value "'+_+'" is invalid for argument "value"');for(te=0;te<F-s;++te)this[te+s]=ge[te%Ce]}return this};var Ae=/[^+/0-9A-Za-z-_]/g;function C(T){return T<16?"0"+T.toString(16):T.toString(16)}function a(T,_){_=_||1/0;for(var s,F=T.length,X=null,ee=[],te=0;te<F;++te){if((s=T.charCodeAt(te))>55295&&s<57344){if(!X){if(s>56319){(_-=3)>-1&&ee.push(239,191,189);continue}if(te+1===F){(_-=3)>-1&&ee.push(239,191,189);continue}X=s;continue}if(s<56320){(_-=3)>-1&&ee.push(239,191,189),X=s;continue}s=65536+(X-55296<<10|s-56320)}else X&&(_-=3)>-1&&ee.push(239,191,189);if(X=null,s<128){if((_-=1)<0)break;ee.push(s)}else if(s<2048){if((_-=2)<0)break;ee.push(s>>6|192,63&s|128)}else if(s<65536){if((_-=3)<0)break;ee.push(s>>12|224,s>>6&63|128,63&s|128)}else{if(!(s<1114112))throw new Error("Invalid code point");if((_-=4)<0)break;ee.push(s>>18|240,s>>12&63|128,s>>6&63|128,63&s|128)}}return ee}function ie(T){return g.toByteArray(function We(T){if((T=(T=T.split("=")[0]).trim().replace(Ae,"")).length<2)return"";for(;T.length%4!=0;)T+="=";return T}(T))}function ae(T,_,s,F){for(var X=0;X<F&&!(X+s>=_.length||X>=T.length);++X)_[X+s]=T[X];return X}function b(T,_){return T instanceof _||null!=T&&null!=T.constructor&&null!=T.constructor.name&&T.constructor.name===_.name}function D(T){return T!=T}},93105:K=>{var Y=Object.create||function m(E){var e=function(){};return e.prototype=E,new e},d=Object.keys||function p(E){var e=[];for(var f in E)Object.prototype.hasOwnProperty.call(E,f)&&e.push(f);return f},g=Function.prototype.bind||function u(E){var e=this;return function(){return e.apply(E,arguments)}};function r(){(!this._events||!Object.prototype.hasOwnProperty.call(this,"_events"))&&(this._events=Y(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}K.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0;var x,A=10;try{var Z={};Object.defineProperty&&Object.defineProperty(Z,"x",{value:0}),x=0===Z.x}catch{x=!1}function l(E){return void 0===E._maxListeners?r.defaultMaxListeners:E._maxListeners}function k(E,e,f,$){var M,q,z;if("function"!=typeof f)throw new TypeError('"listener" argument must be a function');if((q=E._events)?(q.newListener&&(E.emit("newListener",e,f.listener?f.listener:f),q=E._events),z=q[e]):(q=E._events=Y(null),E._eventsCount=0),z){if("function"==typeof z?z=q[e]=$?[f,z]:[z,f]:$?z.unshift(f):z.push(f),!z.warned&&(M=l(E))&&M>0&&z.length>M){z.warned=!0;var V=new Error("Possible EventEmitter memory leak detected. "+z.length+' "'+String(e)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');V.name="MaxListenersExceededWarning",V.emitter=E,V.type=e,V.count=z.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",V.name,V.message)}}else z=q[e]=f,++E._eventsCount;return E}function P(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var E=new Array(arguments.length),e=0;e<E.length;++e)E[e]=arguments[e];this.listener.apply(this.target,E)}}function L(E,e,f){var $={fired:!1,wrapFn:void 0,target:E,type:e,listener:f},M=g.call(P,$);return M.listener=f,$.wrapFn=M,M}function I(E,e,f){var $=E._events;if(!$)return[];var M=$[e];return M?"function"==typeof M?f?[M.listener||M]:[M]:f?function U(E){for(var e=new Array(E.length),f=0;f<e.length;++f)e[f]=E[f].listener||E[f];return e}(M):S(M,M.length):[]}function G(E){var e=this._events;if(e){var f=e[E];if("function"==typeof f)return 1;if(f)return f.length}return 0}function S(E,e){for(var f=new Array(e),$=0;$<e;++$)f[$]=E[$];return f}x?Object.defineProperty(r,"defaultMaxListeners",{enumerable:!0,get:function(){return A},set:function(E){if("number"!=typeof E||E<0||E!=E)throw new TypeError('"defaultMaxListeners" must be a positive number');A=E}}):r.defaultMaxListeners=A,r.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},r.prototype.getMaxListeners=function(){return l(this)},r.prototype.emit=function(e){var f,$,M,q,z,V,le="error"===e;if(V=this._events)le=le&&null==V.error;else if(!le)return!1;if(le){if(arguments.length>1&&(f=arguments[1]),f instanceof Error)throw f;var de=new Error('Unhandled "error" event. ('+f+")");throw de.context=f,de}if(!($=V[e]))return!1;var ne="function"==typeof $;switch(M=arguments.length){case 1:!function h(E,e,f){if(e)E.call(f);else for(var $=E.length,M=S(E,$),q=0;q<$;++q)M[q].call(f)}($,ne,this);break;case 2:!function R(E,e,f,$){if(e)E.call(f,$);else for(var M=E.length,q=S(E,M),z=0;z<M;++z)q[z].call(f,$)}($,ne,this,arguments[1]);break;case 3:!function y(E,e,f,$,M){if(e)E.call(f,$,M);else for(var q=E.length,z=S(E,q),V=0;V<q;++V)z[V].call(f,$,M)}($,ne,this,arguments[1],arguments[2]);break;case 4:!function N(E,e,f,$,M,q){if(e)E.call(f,$,M,q);else for(var z=E.length,V=S(E,z),le=0;le<z;++le)V[le].call(f,$,M,q)}($,ne,this,arguments[1],arguments[2],arguments[3]);break;default:for(q=new Array(M-1),z=1;z<M;z++)q[z-1]=arguments[z];!function v(E,e,f,$){if(e)E.apply(f,$);else for(var M=E.length,q=S(E,M),z=0;z<M;++z)q[z].apply(f,$)}($,ne,this,q)}return!0},r.prototype.on=r.prototype.addListener=function(e,f){return k(this,e,f,!1)},r.prototype.prependListener=function(e,f){return k(this,e,f,!0)},r.prototype.once=function(e,f){if("function"!=typeof f)throw new TypeError('"listener" argument must be a function');return this.on(e,L(this,e,f)),this},r.prototype.prependOnceListener=function(e,f){if("function"!=typeof f)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,L(this,e,f)),this},r.prototype.removeListener=function(e,f){var $,M,q,z,V;if("function"!=typeof f)throw new TypeError('"listener" argument must be a function');if(!(M=this._events))return this;if(!($=M[e]))return this;if($===f||$.listener===f)0==--this._eventsCount?this._events=Y(null):(delete M[e],M.removeListener&&this.emit("removeListener",e,$.listener||f));else if("function"!=typeof $){for(q=-1,z=$.length-1;z>=0;z--)if($[z]===f||$[z].listener===f){V=$[z].listener,q=z;break}if(q<0)return this;0===q?$.shift():function B(E,e){for(var f=e,$=f+1,M=E.length;$<M;f+=1,$+=1)E[f]=E[$];E.pop()}($,q),1===$.length&&(M[e]=$[0]),M.removeListener&&this.emit("removeListener",e,V||f)}return this},r.prototype.removeAllListeners=function(e){var f,$,M;if(!($=this._events))return this;if(!$.removeListener)return 0===arguments.length?(this._events=Y(null),this._eventsCount=0):$[e]&&(0==--this._eventsCount?this._events=Y(null):delete $[e]),this;if(0===arguments.length){var z,q=d($);for(M=0;M<q.length;++M)"removeListener"!==(z=q[M])&&this.removeAllListeners(z);return this.removeAllListeners("removeListener"),this._events=Y(null),this._eventsCount=0,this}if("function"==typeof(f=$[e]))this.removeListener(e,f);else if(f)for(M=f.length-1;M>=0;M--)this.removeListener(e,f[M]);return this},r.prototype.listeners=function(e){return I(this,e,!0)},r.prototype.rawListeners=function(e){return I(this,e,!1)},r.listenerCount=function(E,e){return"function"==typeof E.listenerCount?E.listenerCount(e):G.call(E,e)},r.prototype.listenerCount=G,r.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},59879:K=>{K.exports="function"==typeof Object.create?function(d,g){g&&(d.super_=g,d.prototype=Object.create(g.prototype,{constructor:{value:d,enumerable:!1,writable:!0,configurable:!0}}))}:function(d,g){if(g){d.super_=g;var r=function(){};r.prototype=g.prototype,d.prototype=new r,d.prototype.constructor=d}}},55859:(K,Y,d)=>{var g=d(3875),r=g.Buffer;function A(Z,l){for(var h in Z)l[h]=Z[h]}function x(Z,l,h){return r(Z,l,h)}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?K.exports=g:(A(g,Y),Y.Buffer=x),x.prototype=Object.create(r.prototype),A(r,x),x.from=function(Z,l,h){if("number"==typeof Z)throw new TypeError("Argument must not be a number");return r(Z,l,h)},x.alloc=function(Z,l,h){if("number"!=typeof Z)throw new TypeError("Argument must be a number");var R=r(Z);return void 0!==l?"string"==typeof h?R.fill(l,h):R.fill(l):R.fill(0),R},x.allocUnsafe=function(Z){if("number"!=typeof Z)throw new TypeError("Argument must be a number");return r(Z)},x.allocUnsafeSlow=function(Z){if("number"!=typeof Z)throw new TypeError("Argument must be a number");return g.SlowBuffer(Z)}},5473:(K,Y,d)=>{!function(g){g.parser=function(C,a){return new A(C,a)},g.SAXParser=A,g.SAXStream=N,g.createStream=function y(C,a){return new N(C,a)},g.MAX_BUFFER_LENGTH=65536;var h,r=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function A(C,a){if(!(this instanceof A))return new A(C,a);var w=this;(function Z(C){for(var a=0,w=r.length;a<w;a++)C[r[a]]=""})(w),w.q=w.c="",w.bufferCheckPosition=g.MAX_BUFFER_LENGTH,w.opt=a||{},w.opt.lowercase=w.opt.lowercase||w.opt.lowercasetags,w.looseCase=w.opt.lowercase?"toLowerCase":"toUpperCase",w.tags=[],w.closed=w.closedRoot=w.sawRoot=!1,w.tag=w.error=null,w.strict=!!C,w.noscript=!(!C&&!w.opt.noscript),w.state=f.BEGIN,w.strictEntities=w.opt.strictEntities,w.ENTITIES=Object.create(w.strictEntities?g.XML_ENTITIES:g.ENTITIES),w.attribList=[],w.opt.xmlns&&(w.ns=Object.create(I)),w.trackPosition=!1!==w.opt.position,w.trackPosition&&(w.position=w.line=w.column=0),M(w,"onready")}g.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(C){function a(){}return a.prototype=C,new a}),Object.keys||(Object.keys=function(C){var a=[];for(var w in C)C.hasOwnProperty(w)&&a.push(w);return a}),A.prototype={end:function(){de(this)},write:function We(C){var a=this;if(this.error)throw this.error;if(a.closed)return le(a,"Cannot write after close. Assign an onready handler.");if(null===C)return de(a);"object"==typeof C&&(C=C.toString());for(var w=0,W="";W=Ae(C,w++),a.c=W,W;)switch(a.trackPosition&&(a.position++,"\n"===W?(a.line++,a.column=0):a.column++),a.state){case f.BEGIN:if(a.state=f.BEGIN_WHITESPACE,"\ufeff"===W)continue;Oe(a,W);continue;case f.BEGIN_WHITESPACE:Oe(a,W);continue;case f.TEXT:if(a.sawRoot&&!a.closedRoot){for(var ie=w-1;W&&"<"!==W&&"&"!==W;)(W=Ae(C,w++))&&a.trackPosition&&(a.position++,"\n"===W?(a.line++,a.column=0):a.column++);a.textNode+=C.substring(ie,w-1)}"<"!==W||a.sawRoot&&a.closedRoot&&!a.strict?(!m(W)&&(!a.sawRoot||a.closedRoot)&&ne(a,"Text data outside of root node."),"&"===W?a.state=f.TEXT_ENTITY:a.textNode+=W):(a.state=f.OPEN_WAKA,a.startTagPosition=a.position);continue;case f.SCRIPT:"<"===W?a.state=f.SCRIPT_ENDING:a.script+=W;continue;case f.SCRIPT_ENDING:"/"===W?a.state=f.CLOSE_TAG:(a.script+="<"+W,a.state=f.SCRIPT);continue;case f.OPEN_WAKA:"!"===W?(a.state=f.SGML_DECL,a.sgmlDecl=""):m(W)||(E(G,W)?(a.state=f.OPEN_TAG,a.tagName=W):"/"===W?(a.state=f.CLOSE_TAG,a.tagName=""):"?"===W?(a.state=f.PROC_INST,a.procInstName=a.procInstBody=""):(ne(a,"Unencoded <"),a.startTagPosition+1<a.position&&(W=new Array(a.position-a.startTagPosition).join(" ")+W),a.textNode+="<"+W,a.state=f.TEXT));continue;case f.SGML_DECL:(a.sgmlDecl+W).toUpperCase()===v?(q(a,"onopencdata"),a.state=f.CDATA,a.sgmlDecl="",a.cdata=""):a.sgmlDecl+W==="--"?(a.state=f.COMMENT,a.comment="",a.sgmlDecl=""):(a.sgmlDecl+W).toUpperCase()===k?(a.state=f.DOCTYPE,(a.doctype||a.sawRoot)&&ne(a,"Inappropriately located doctype declaration"),a.doctype="",a.sgmlDecl=""):">"===W?(q(a,"onsgmldeclaration",a.sgmlDecl),a.sgmlDecl="",a.state=f.TEXT):(p(W)&&(a.state=f.SGML_DECL_QUOTED),a.sgmlDecl+=W);continue;case f.SGML_DECL_QUOTED:W===a.q&&(a.state=f.SGML_DECL,a.q=""),a.sgmlDecl+=W;continue;case f.DOCTYPE:">"===W?(a.state=f.TEXT,q(a,"ondoctype",a.doctype),a.doctype=!0):(a.doctype+=W,"["===W?a.state=f.DOCTYPE_DTD:p(W)&&(a.state=f.DOCTYPE_QUOTED,a.q=W));continue;case f.DOCTYPE_QUOTED:a.doctype+=W,W===a.q&&(a.q="",a.state=f.DOCTYPE);continue;case f.DOCTYPE_DTD:a.doctype+=W,"]"===W?a.state=f.DOCTYPE:p(W)&&(a.state=f.DOCTYPE_DTD_QUOTED,a.q=W);continue;case f.DOCTYPE_DTD_QUOTED:a.doctype+=W,W===a.q&&(a.state=f.DOCTYPE_DTD,a.q="");continue;case f.COMMENT:"-"===W?a.state=f.COMMENT_ENDING:a.comment+=W;continue;case f.COMMENT_ENDING:"-"===W?(a.state=f.COMMENT_ENDED,a.comment=V(a.opt,a.comment),a.comment&&q(a,"oncomment",a.comment),a.comment=""):(a.comment+="-"+W,a.state=f.COMMENT);continue;case f.COMMENT_ENDED:">"!==W?(ne(a,"Malformed comment"),a.comment+="--"+W,a.state=f.COMMENT):a.state=f.TEXT;continue;case f.CDATA:"]"===W?a.state=f.CDATA_ENDING:a.cdata+=W;continue;case f.CDATA_ENDING:"]"===W?a.state=f.CDATA_ENDING_2:(a.cdata+="]"+W,a.state=f.CDATA);continue;case f.CDATA_ENDING_2:">"===W?(a.cdata&&q(a,"oncdata",a.cdata),q(a,"onclosecdata"),a.cdata="",a.state=f.TEXT):"]"===W?a.cdata+="]":(a.cdata+="]]"+W,a.state=f.CDATA);continue;case f.PROC_INST:"?"===W?a.state=f.PROC_INST_ENDING:m(W)?a.state=f.PROC_INST_BODY:a.procInstName+=W;continue;case f.PROC_INST_BODY:if(!a.procInstBody&&m(W))continue;"?"===W?a.state=f.PROC_INST_ENDING:a.procInstBody+=W;continue;case f.PROC_INST_ENDING:">"===W?(q(a,"onprocessinginstruction",{name:a.procInstName,body:a.procInstBody}),a.procInstName=a.procInstBody="",a.state=f.TEXT):(a.procInstBody+="?"+W,a.state=f.PROC_INST_BODY);continue;case f.OPEN_TAG:E(B,W)?a.tagName+=W:(pe(a),">"===W?fe(a):"/"===W?a.state=f.OPEN_TAG_SLASH:(m(W)||ne(a,"Invalid character in tag name"),a.state=f.ATTRIB));continue;case f.OPEN_TAG_SLASH:">"===W?(fe(a,!0),Ie(a)):(ne(a,"Forward-slash in opening tag not followed by >"),a.state=f.ATTRIB);continue;case f.ATTRIB:if(m(W))continue;">"===W?fe(a):"/"===W?a.state=f.OPEN_TAG_SLASH:E(G,W)?(a.attribName=W,a.attribValue="",a.state=f.ATTRIB_NAME):ne(a,"Invalid attribute name");continue;case f.ATTRIB_NAME:"="===W?a.state=f.ATTRIB_VALUE:">"===W?(ne(a,"Attribute without value"),a.attribValue=a.attribName,he(a),fe(a)):m(W)?a.state=f.ATTRIB_NAME_SAW_WHITE:E(B,W)?a.attribName+=W:ne(a,"Invalid attribute name");continue;case f.ATTRIB_NAME_SAW_WHITE:if("="===W)a.state=f.ATTRIB_VALUE;else{if(m(W))continue;ne(a,"Attribute without value"),a.tag.attributes[a.attribName]="",a.attribValue="",q(a,"onattribute",{name:a.attribName,value:""}),a.attribName="",">"===W?fe(a):E(G,W)?(a.attribName=W,a.state=f.ATTRIB_NAME):(ne(a,"Invalid attribute name"),a.state=f.ATTRIB)}continue;case f.ATTRIB_VALUE:if(m(W))continue;p(W)?(a.q=W,a.state=f.ATTRIB_VALUE_QUOTED):(ne(a,"Unquoted attribute value"),a.state=f.ATTRIB_VALUE_UNQUOTED,a.attribValue=W);continue;case f.ATTRIB_VALUE_QUOTED:if(W!==a.q){"&"===W?a.state=f.ATTRIB_VALUE_ENTITY_Q:a.attribValue+=W;continue}he(a),a.q="",a.state=f.ATTRIB_VALUE_CLOSED;continue;case f.ATTRIB_VALUE_CLOSED:m(W)?a.state=f.ATTRIB:">"===W?fe(a):"/"===W?a.state=f.OPEN_TAG_SLASH:E(G,W)?(ne(a,"No whitespace between attributes"),a.attribName=W,a.attribValue="",a.state=f.ATTRIB_NAME):ne(a,"Invalid attribute name");continue;case f.ATTRIB_VALUE_UNQUOTED:if(!u(W)){"&"===W?a.state=f.ATTRIB_VALUE_ENTITY_U:a.attribValue+=W;continue}he(a),">"===W?fe(a):a.state=f.ATTRIB;continue;case f.CLOSE_TAG:if(a.tagName)">"===W?Ie(a):E(B,W)?a.tagName+=W:a.script?(a.script+="</"+a.tagName,a.tagName="",a.state=f.SCRIPT):(m(W)||ne(a,"Invalid tagname in closing tag"),a.state=f.CLOSE_TAG_SAW_WHITE);else{if(m(W))continue;e(G,W)?a.script?(a.script+="</"+W,a.state=f.SCRIPT):ne(a,"Invalid tagname in closing tag."):a.tagName=W}continue;case f.CLOSE_TAG_SAW_WHITE:if(m(W))continue;">"===W?Ie(a):ne(a,"Invalid characters in closing tag");continue;case f.TEXT_ENTITY:case f.ATTRIB_VALUE_ENTITY_Q:case f.ATTRIB_VALUE_ENTITY_U:var b,D;switch(a.state){case f.TEXT_ENTITY:b=f.TEXT,D="textNode";break;case f.ATTRIB_VALUE_ENTITY_Q:b=f.ATTRIB_VALUE_QUOTED,D="attribValue";break;case f.ATTRIB_VALUE_ENTITY_U:b=f.ATTRIB_VALUE_UNQUOTED,D="attribValue"}if(";"===W)if(a.opt.unparsedEntities){var T=we(a);a.entity="",a.state=b,a.write(T)}else a[D]+=we(a),a.entity="",a.state=b;else E(a.entity.length?U:S,W)?a.entity+=W:(ne(a,"Invalid character in entity name"),a[D]+="&"+a.entity+W,a.entity="",a.state=b);continue;default:throw new Error(a,"Unknown state: "+a.state)}return a.position>=a.bufferCheckPosition&&function x(C){for(var a=Math.max(g.MAX_BUFFER_LENGTH,10),w=0,W=0,ie=r.length;W<ie;W++){var ae=C[r[W]].length;if(ae>a)switch(r[W]){case"textNode":z(C);break;case"cdata":q(C,"oncdata",C.cdata),C.cdata="";break;case"script":q(C,"onscript",C.script),C.script="";break;default:le(C,"Max buffer length exceeded: "+r[W])}w=Math.max(w,ae)}C.bufferCheckPosition=g.MAX_BUFFER_LENGTH-w+C.position}(a),a},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){!function l(C){z(C),""!==C.cdata&&(q(C,"oncdata",C.cdata),C.cdata=""),""!==C.script&&(q(C,"onscript",C.script),C.script="")}(this)}};try{h=d(36917).Stream}catch{h=function(){}}h||(h=function(){});var R=g.EVENTS.filter(function(C){return"error"!==C&&"end"!==C});function N(C,a){if(!(this instanceof N))return new N(C,a);h.apply(this),this._parser=new A(C,a),this.writable=!0,this.readable=!0;var w=this;this._parser.onend=function(){w.emit("end")},this._parser.onerror=function(W){w.emit("error",W),w._parser.error=null},this._decoder=null,R.forEach(function(W){Object.defineProperty(w,"on"+W,{get:function(){return w._parser["on"+W]},set:function(ie){if(!ie)return w.removeAllListeners(W),w._parser["on"+W]=ie,ie;w.on(W,ie)},enumerable:!0,configurable:!1})})}(N.prototype=Object.create(h.prototype,{constructor:{value:N}})).write=function(C){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(C)){if(!this._decoder){var a=d(32519).s;this._decoder=new a("utf8")}C=this._decoder.write(C)}return this._parser.write(C.toString()),this.emit("data",C),!0},N.prototype.end=function(C){return C&&C.length&&this.write(C),this._parser.end(),!0},N.prototype.on=function(C,a){var w=this;return!w._parser["on"+C]&&-1!==R.indexOf(C)&&(w._parser["on"+C]=function(){var W=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);W.splice(0,0,C),w.emit.apply(w,W)}),h.prototype.on.call(w,C,a)};var v="[CDATA[",k="DOCTYPE",P="http://www.w3.org/XML/1998/namespace",L="http://www.w3.org/2000/xmlns/",I={xml:P,xmlns:L},G=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,B=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,S=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,U=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function m(C){return" "===C||"\n"===C||"\r"===C||"\t"===C}function p(C){return'"'===C||"'"===C}function u(C){return">"===C||m(C)}function E(C,a){return C.test(a)}function e(C,a){return!E(C,a)}var C,a,w,f=0;for(var $ in g.STATE={BEGIN:f++,BEGIN_WHITESPACE:f++,TEXT:f++,TEXT_ENTITY:f++,OPEN_WAKA:f++,SGML_DECL:f++,SGML_DECL_QUOTED:f++,DOCTYPE:f++,DOCTYPE_QUOTED:f++,DOCTYPE_DTD:f++,DOCTYPE_DTD_QUOTED:f++,COMMENT_STARTING:f++,COMMENT:f++,COMMENT_ENDING:f++,COMMENT_ENDED:f++,CDATA:f++,CDATA_ENDING:f++,CDATA_ENDING_2:f++,PROC_INST:f++,PROC_INST_BODY:f++,PROC_INST_ENDING:f++,OPEN_TAG:f++,OPEN_TAG_SLASH:f++,ATTRIB:f++,ATTRIB_NAME:f++,ATTRIB_NAME_SAW_WHITE:f++,ATTRIB_VALUE:f++,ATTRIB_VALUE_QUOTED:f++,ATTRIB_VALUE_CLOSED:f++,ATTRIB_VALUE_UNQUOTED:f++,ATTRIB_VALUE_ENTITY_Q:f++,ATTRIB_VALUE_ENTITY_U:f++,CLOSE_TAG:f++,CLOSE_TAG_SAW_WHITE:f++,SCRIPT:f++,SCRIPT_ENDING:f++},g.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},g.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(g.ENTITIES).forEach(function(C){var a=g.ENTITIES[C],w="number"==typeof a?String.fromCharCode(a):a;g.ENTITIES[C]=w}),g.STATE)g.STATE[g.STATE[$]]=$;function M(C,a,w){C[a]&&C[a](w)}function q(C,a,w){C.textNode&&z(C),M(C,a,w)}function z(C){C.textNode=V(C.opt,C.textNode),C.textNode&&M(C,"ontext",C.textNode),C.textNode=""}function V(C,a){return C.trim&&(a=a.trim()),C.normalize&&(a=a.replace(/\s+/g," ")),a}function le(C,a){return z(C),C.trackPosition&&(a+="\nLine: "+C.line+"\nColumn: "+C.column+"\nChar: "+C.c),a=new Error(a),C.error=a,M(C,"onerror",a),C}function de(C){return C.sawRoot&&!C.closedRoot&&ne(C,"Unclosed root tag"),C.state!==f.BEGIN&&C.state!==f.BEGIN_WHITESPACE&&C.state!==f.TEXT&&le(C,"Unexpected end"),z(C),C.c="",C.closed=!0,M(C,"onend"),A.call(C,C.strict,C.opt),C}function ne(C,a){if("object"!=typeof C||!(C instanceof A))throw new Error("bad call to strictFail");C.strict&&le(C,a)}function pe(C){C.strict||(C.tagName=C.tagName[C.looseCase]());var a=C.tags[C.tags.length-1]||C,w=C.tag={name:C.tagName,attributes:{}};C.opt.xmlns&&(w.ns=a.ns),C.attribList.length=0,q(C,"onopentagstart",w)}function ue(C,a){var W=C.indexOf(":")<0?["",C]:C.split(":"),ie=W[0],ae=W[1];return a&&"xmlns"===C&&(ie="xmlns",ae=""),{prefix:ie,local:ae}}function he(C){if(C.strict||(C.attribName=C.attribName[C.looseCase]()),-1!==C.attribList.indexOf(C.attribName)||C.tag.attributes.hasOwnProperty(C.attribName))C.attribName=C.attribValue="";else{if(C.opt.xmlns){var a=ue(C.attribName,!0),W=a.local;if("xmlns"===a.prefix)if("xml"===W&&C.attribValue!==P)ne(C,"xml: prefix must be bound to "+P+"\nActual: "+C.attribValue);else if("xmlns"===W&&C.attribValue!==L)ne(C,"xmlns: prefix must be bound to "+L+"\nActual: "+C.attribValue);else{var ie=C.tag,ae=C.tags[C.tags.length-1]||C;ie.ns===ae.ns&&(ie.ns=Object.create(ae.ns)),ie.ns[W]=C.attribValue}C.attribList.push([C.attribName,C.attribValue])}else C.tag.attributes[C.attribName]=C.attribValue,q(C,"onattribute",{name:C.attribName,value:C.attribValue});C.attribName=C.attribValue=""}}function fe(C,a){if(C.opt.xmlns){var w=C.tag,W=ue(C.tagName);w.prefix=W.prefix,w.local=W.local,w.uri=w.ns[W.prefix]||"",w.prefix&&!w.uri&&(ne(C,"Unbound namespace prefix: "+JSON.stringify(C.tagName)),w.uri=W.prefix),w.ns&&(C.tags[C.tags.length-1]||C).ns!==w.ns&&Object.keys(w.ns).forEach(function(ge){q(C,"onopennamespace",{prefix:ge,uri:w.ns[ge]})});for(var ae=0,b=C.attribList.length;ae<b;ae++){var D=C.attribList[ae],T=D[0],_=D[1],s=ue(T,!0),F=s.prefix,ee=""===F?"":w.ns[F]||"",te={name:T,value:_,prefix:F,local:s.local,uri:ee};F&&"xmlns"!==F&&!ee&&(ne(C,"Unbound namespace prefix: "+JSON.stringify(F)),te.uri=F),C.tag.attributes[T]=te,q(C,"onattribute",te)}C.attribList.length=0}C.tag.isSelfClosing=!!a,C.sawRoot=!0,C.tags.push(C.tag),q(C,"onopentag",C.tag),a||(C.state=C.noscript||"script"!==C.tagName.toLowerCase()?f.TEXT:f.SCRIPT,C.tag=null,C.tagName=""),C.attribName=C.attribValue="",C.attribList.length=0}function Ie(C){if(!C.tagName)return ne(C,"Weird empty close tag."),C.textNode+="</>",void(C.state=f.TEXT);if(C.script){if("script"!==C.tagName)return C.script+="</"+C.tagName+">",C.tagName="",void(C.state=f.SCRIPT);q(C,"onscript",C.script),C.script=""}var a=C.tags.length,w=C.tagName;C.strict||(w=w[C.looseCase]());for(var W=w;a--&&C.tags[a].name!==W;)ne(C,"Unexpected close tag");if(a<0)return ne(C,"Unmatched closing tag: "+C.tagName),C.textNode+="</"+C.tagName+">",void(C.state=f.TEXT);C.tagName=w;for(var ae=C.tags.length;ae-- >a;){var b=C.tag=C.tags.pop();C.tagName=C.tag.name,q(C,"onclosetag",C.tagName);var D={};for(var T in b.ns)D[T]=b.ns[T];C.opt.xmlns&&b.ns!==(C.tags[C.tags.length-1]||C).ns&&Object.keys(b.ns).forEach(function(s){q(C,"onclosenamespace",{prefix:s,uri:b.ns[s]})})}0===a&&(C.closedRoot=!0),C.tagName=C.attribValue=C.attribName="",C.attribList.length=0,C.state=f.TEXT}function we(C){var W,a=C.entity,w=a.toLowerCase(),ie="";return C.ENTITIES[a]?C.ENTITIES[a]:C.ENTITIES[w]?C.ENTITIES[w]:("#"===(a=w).charAt(0)&&("x"===a.charAt(1)?(a=a.slice(2),ie=(W=parseInt(a,16)).toString(16)):(a=a.slice(1),ie=(W=parseInt(a,10)).toString(10))),a=a.replace(/^0+/,""),isNaN(W)||ie.toLowerCase()!==a?(ne(C,"Invalid character entity"),"&"+C.entity+";"):String.fromCodePoint(W))}function Oe(C,a){"<"===a?(C.state=f.OPEN_WAKA,C.startTagPosition=C.position):m(a)||(ne(C,"Non-whitespace before first tag."),C.textNode=a,C.state=f.TEXT)}function Ae(C,a){var w="";return a<C.length&&(w=C.charAt(a)),w}f=g.STATE,String.fromCodePoint||(C=String.fromCharCode,a=Math.floor,w=function(){var ie=[],D=-1,T=arguments.length;if(!T)return"";for(var _="";++D<T;){var s=Number(arguments[D]);if(!isFinite(s)||s<0||s>1114111||a(s)!==s)throw RangeError("Invalid code point: "+s);s<=65535?ie.push(s):ie.push(55296+((s-=65536)>>10),s%1024+56320),(D+1===T||ie.length>16384)&&(_+=C.apply(null,ie),ie.length=0)}return _},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:w,configurable:!0,writable:!0}):String.fromCodePoint=w)}(Y)},45470:function(){!function(K,Y){"use strict";if(!K.setImmediate){var x,d=1,g={},r=!1,A=K.document,I=Object.getPrototypeOf&&Object.getPrototypeOf(K);I=I&&I.setTimeout?I:K,"[object process]"==={}.toString.call(K.process)?function y(){x=function(G){process.nextTick(function(){R(G)})}}():function N(){if(K.postMessage&&!K.importScripts){var G=!0,B=K.onmessage;return K.onmessage=function(){G=!1},K.postMessage("","*"),K.onmessage=B,G}}()?function v(){var G="setImmediate$"+Math.random()+"$",B=function(S){S.source===K&&"string"==typeof S.data&&0===S.data.indexOf(G)&&R(+S.data.slice(G.length))};K.addEventListener?K.addEventListener("message",B,!1):K.attachEvent("onmessage",B),x=function(S){K.postMessage(G+S,"*")}}():K.MessageChannel?function k(){var G=new MessageChannel;G.port1.onmessage=function(B){R(B.data)},x=function(B){G.port2.postMessage(B)}}():A&&"onreadystatechange"in A.createElement("script")?function P(){var G=A.documentElement;x=function(B){var S=A.createElement("script");S.onreadystatechange=function(){R(B),S.onreadystatechange=null,G.removeChild(S),S=null},G.appendChild(S)}}():function L(){x=function(G){setTimeout(R,0,G)}}(),I.setImmediate=function Z(G){"function"!=typeof G&&(G=new Function(""+G));for(var B=new Array(arguments.length-1),S=0;S<B.length;S++)B[S]=arguments[S+1];return g[d]={callback:G,args:B},x(d),d++},I.clearImmediate=l}function l(G){delete g[G]}function R(G){if(r)setTimeout(R,0,G);else{var B=g[G];if(B){r=!0;try{!function h(G){var B=G.callback,S=G.args;switch(S.length){case 0:B();break;case 1:B(S[0]);break;case 2:B(S[0],S[1]);break;case 3:B(S[0],S[1],S[2]);break;default:B.apply(Y,S)}}(B)}finally{l(G),r=!1}}}}}(typeof self>"u"?typeof global>"u"?this:global:self)},36917:(K,Y,d)=>{K.exports=A;var g=d(93105).EventEmitter;function A(){g.call(this)}d(59879)(A,g),A.Readable=d(88917),A.Writable=d(38908),A.Duplex=d(83500),A.Transform=d(83484),A.PassThrough=d(97567),A.finished=d(83770),A.pipeline=d(77882),A.Stream=A,A.prototype.pipe=function(x,Z){var l=this;function h(L){x.writable&&!1===x.write(L)&&l.pause&&l.pause()}function R(){l.readable&&l.resume&&l.resume()}l.on("data",h),x.on("drain",R),!x._isStdio&&(!Z||!1!==Z.end)&&(l.on("end",N),l.on("close",v));var y=!1;function N(){y||(y=!0,x.end())}function v(){y||(y=!0,"function"==typeof x.destroy&&x.destroy())}function k(L){if(P(),0===g.listenerCount(this,"error"))throw L}function P(){l.removeListener("data",h),x.removeListener("drain",R),l.removeListener("end",N),l.removeListener("close",v),l.removeListener("error",k),x.removeListener("error",k),l.removeListener("end",P),l.removeListener("close",P),x.removeListener("close",P)}return l.on("error",k),x.on("error",k),l.on("end",P),l.on("close",P),x.on("close",P),x.emit("pipe",l),x}},86985:K=>{"use strict";var d={};function g(l,h,R){R||(R=Error);var N=function(v){function k(P,L,I){return v.call(this,function y(v,k,P){return"string"==typeof h?h:h(v,k,P)}(P,L,I))||this}return function Y(l,h){l.prototype=Object.create(h.prototype),l.prototype.constructor=l,l.__proto__=h}(k,v),k}(R);N.prototype.name=R.name,N.prototype.code=l,d[l]=N}function r(l,h){if(Array.isArray(l)){var R=l.length;return l=l.map(function(y){return String(y)}),R>2?"one of ".concat(h," ").concat(l.slice(0,R-1).join(", "),", or ")+l[R-1]:2===R?"one of ".concat(h," ").concat(l[0]," or ").concat(l[1]):"of ".concat(h," ").concat(l[0])}return"of ".concat(h," ").concat(String(l))}g("ERR_INVALID_OPT_VALUE",function(l,h){return'The value "'+h+'" is invalid for option "'+l+'"'},TypeError),g("ERR_INVALID_ARG_TYPE",function(l,h,R){var y,N;if("string"==typeof h&&function A(l,h,R){return l.substr(!R||R<0?0:+R,h.length)===h}(h,"not ")?(y="must not be",h=h.replace(/^not /,"")):y="must be",function x(l,h,R){return(void 0===R||R>l.length)&&(R=l.length),l.substring(R-h.length,R)===h}(l," argument"))N="The ".concat(l," ").concat(y," ").concat(r(h,"type"));else{var v=function Z(l,h,R){return"number"!=typeof R&&(R=0),!(R+h.length>l.length)&&-1!==l.indexOf(h,R)}(l,".")?"property":"argument";N='The "'.concat(l,'" ').concat(v," ").concat(y," ").concat(r(h,"type"))}return N+". Received type ".concat(typeof R)},TypeError),g("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),g("ERR_METHOD_NOT_IMPLEMENTED",function(l){return"The "+l+" method is not implemented"}),g("ERR_STREAM_PREMATURE_CLOSE","Premature close"),g("ERR_STREAM_DESTROYED",function(l){return"Cannot call "+l+" after a stream was destroyed"}),g("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),g("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),g("ERR_STREAM_WRITE_AFTER_END","write after end"),g("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),g("ERR_UNKNOWN_ENCODING",function(l){return"Unknown encoding: "+l},TypeError),g("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),K.exports.q=d},83500:(K,Y,d)=>{"use strict";var g=Object.keys||function(N){var v=[];for(var k in N)v.push(k);return v};K.exports=h;var r=d(88917),A=d(38908);d(59879)(h,r);for(var x=g(A.prototype),Z=0;Z<x.length;Z++){var l=x[Z];h.prototype[l]||(h.prototype[l]=A.prototype[l])}function h(N){if(!(this instanceof h))return new h(N);r.call(this,N),A.call(this,N),this.allowHalfOpen=!0,N&&(!1===N.readable&&(this.readable=!1),!1===N.writable&&(this.writable=!1),!1===N.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",R)))}function R(){this._writableState.ended||process.nextTick(y,this)}function y(N){N.end()}Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(h.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(h.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(v){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=v,this._writableState.destroyed=v)}})},97567:(K,Y,d)=>{"use strict";K.exports=r;var g=d(83484);function r(A){if(!(this instanceof r))return new r(A);g.call(this,A)}d(59879)(r,g),r.prototype._transform=function(A,x,Z){Z(null,A)}},88917:(K,Y,d)=>{"use strict";var g;K.exports=M,M.ReadableState=$,d(93105);var N,A=function(D,T){return D.listeners(T).length},x=d(27882),Z=d(3875).Buffer,l=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},y=d(40964);N=y&&y.debuglog?y.debuglog("stream"):function(){};var m,p,u,v=d(82319),k=d(87904),L=d(62632).getHighWaterMark,I=d(86985).q,G=I.ERR_INVALID_ARG_TYPE,B=I.ERR_STREAM_PUSH_AFTER_EOF,S=I.ERR_METHOD_NOT_IMPLEMENTED,U=I.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;d(59879)(M,x);var E=k.errorOrDestroy,e=["error","close","destroy","pause","resume"];function $(b,D,T){g=g||d(83500),"boolean"!=typeof T&&(T=D instanceof g),this.objectMode=!!(b=b||{}).objectMode,T&&(this.objectMode=this.objectMode||!!b.readableObjectMode),this.highWaterMark=L(this,b,"readableHighWaterMark",T),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==b.emitClose,this.autoDestroy=!!b.autoDestroy,this.destroyed=!1,this.defaultEncoding=b.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,b.encoding&&(m||(m=d(32519).s),this.decoder=new m(b.encoding),this.encoding=b.encoding)}function M(b){if(g=g||d(83500),!(this instanceof M))return new M(b);this._readableState=new $(b,this,this instanceof g),this.readable=!0,b&&("function"==typeof b.read&&(this._read=b.read),"function"==typeof b.destroy&&(this._destroy=b.destroy)),x.call(this)}function q(b,D,T,_,s){N("readableAddChunk",D);var X,F=b._readableState;if(null===D)F.reading=!1,function pe(b,D){if(N("onEofChunk"),!D.ended){if(D.decoder){var T=D.decoder.end();T&&T.length&&(D.buffer.push(T),D.length+=D.objectMode?1:T.length)}D.ended=!0,D.sync?ue(b):(D.needReadable=!1,D.emittedReadable||(D.emittedReadable=!0,he(b)))}}(b,F);else if(s||(X=function V(b,D){var T;return!function R(b){return Z.isBuffer(b)||b instanceof l}(D)&&"string"!=typeof D&&void 0!==D&&!b.objectMode&&(T=new G("chunk",["string","Buffer","Uint8Array"],D)),T}(F,D)),X)E(b,X);else if(F.objectMode||D&&D.length>0)if("string"!=typeof D&&!F.objectMode&&Object.getPrototypeOf(D)!==Z.prototype&&(D=function h(b){return Z.from(b)}(D)),_)F.endEmitted?E(b,new U):z(b,F,D,!0);else if(F.ended)E(b,new B);else{if(F.destroyed)return!1;F.reading=!1,F.decoder&&!T?(D=F.decoder.write(D),F.objectMode||0!==D.length?z(b,F,D,!1):fe(b,F)):z(b,F,D,!1)}else _||(F.reading=!1,fe(b,F));return!F.ended&&(F.length<F.highWaterMark||0===F.length)}function z(b,D,T,_){D.flowing&&0===D.length&&!D.sync?(D.awaitDrain=0,b.emit("data",T)):(D.length+=D.objectMode?1:T.length,_?D.buffer.unshift(T):D.buffer.push(T),D.needReadable&&ue(b)),fe(b,D)}Object.defineProperty(M.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(D){this._readableState&&(this._readableState.destroyed=D)}}),M.prototype.destroy=k.destroy,M.prototype._undestroy=k.undestroy,M.prototype._destroy=function(b,D){D(b)},M.prototype.push=function(b,D){var _,T=this._readableState;return T.objectMode?_=!0:"string"==typeof b&&((D=D||T.defaultEncoding)!==T.encoding&&(b=Z.from(b,D),D=""),_=!0),q(this,b,D,!1,_)},M.prototype.unshift=function(b){return q(this,b,null,!0,!1)},M.prototype.isPaused=function(){return!1===this._readableState.flowing},M.prototype.setEncoding=function(b){m||(m=d(32519).s);var D=new m(b);this._readableState.decoder=D,this._readableState.encoding=this._readableState.decoder.encoding;for(var T=this._readableState.buffer.head,_="";null!==T;)_+=D.write(T.data),T=T.next;return this._readableState.buffer.clear(),""!==_&&this._readableState.buffer.push(_),this._readableState.length=_.length,this};var le=1073741824;function ne(b,D){return b<=0||0===D.length&&D.ended?0:D.objectMode?1:b!=b?D.flowing&&D.length?D.buffer.head.data.length:D.length:(b>D.highWaterMark&&(D.highWaterMark=function de(b){return b>=le?b=le:(b--,b|=b>>>1,b|=b>>>2,b|=b>>>4,b|=b>>>8,b|=b>>>16,b++),b}(b)),b<=D.length?b:D.ended?D.length:(D.needReadable=!0,0))}function ue(b){var D=b._readableState;N("emitReadable",D.needReadable,D.emittedReadable),D.needReadable=!1,D.emittedReadable||(N("emitReadable",D.flowing),D.emittedReadable=!0,process.nextTick(he,b))}function he(b){var D=b._readableState;N("emitReadable_",D.destroyed,D.length,D.ended),!D.destroyed&&(D.length||D.ended)&&(b.emit("readable"),D.emittedReadable=!1),D.needReadable=!D.flowing&&!D.ended&&D.length<=D.highWaterMark,a(b)}function fe(b,D){D.readingMore||(D.readingMore=!0,process.nextTick(Ie,b,D))}function Ie(b,D){for(;!D.reading&&!D.ended&&(D.length<D.highWaterMark||D.flowing&&0===D.length);){var T=D.length;if(N("maybeReadMore read 0"),b.read(0),T===D.length)break}D.readingMore=!1}function Oe(b){var D=b._readableState;D.readableListening=b.listenerCount("readable")>0,D.resumeScheduled&&!D.paused?D.flowing=!0:b.listenerCount("data")>0&&b.resume()}function Ae(b){N("readable nexttick read 0"),b.read(0)}function C(b,D){N("resume",D.reading),D.reading||b.read(0),D.resumeScheduled=!1,b.emit("resume"),a(b),D.flowing&&!D.reading&&b.read(0)}function a(b){var D=b._readableState;for(N("flow",D.flowing);D.flowing&&null!==b.read(););}function w(b,D){return 0===D.length?null:(D.objectMode?T=D.buffer.shift():!b||b>=D.length?(T=D.decoder?D.buffer.join(""):1===D.buffer.length?D.buffer.first():D.buffer.concat(D.length),D.buffer.clear()):T=D.buffer.consume(b,D.decoder),T);var T}function W(b){var D=b._readableState;N("endReadable",D.endEmitted),D.endEmitted||(D.ended=!0,process.nextTick(ie,D,b))}function ie(b,D){if(N("endReadableNT",b.endEmitted,b.length),!b.endEmitted&&0===b.length&&(b.endEmitted=!0,D.readable=!1,D.emit("end"),b.autoDestroy)){var T=D._writableState;(!T||T.autoDestroy&&T.finished)&&D.destroy()}}function ae(b,D){for(var T=0,_=b.length;T<_;T++)if(b[T]===D)return T;return-1}M.prototype.read=function(b){N("read",b),b=parseInt(b,10);var D=this._readableState,T=b;if(0!==b&&(D.emittedReadable=!1),0===b&&D.needReadable&&((0!==D.highWaterMark?D.length>=D.highWaterMark:D.length>0)||D.ended))return N("read: emitReadable",D.length,D.ended),0===D.length&&D.ended?W(this):ue(this),null;if(0===(b=ne(b,D))&&D.ended)return 0===D.length&&W(this),null;var s,_=D.needReadable;return N("need readable",_),(0===D.length||D.length-b<D.highWaterMark)&&N("length less than watermark",_=!0),D.ended||D.reading?N("reading or ended",_=!1):_&&(N("do read"),D.reading=!0,D.sync=!0,0===D.length&&(D.needReadable=!0),this._read(D.highWaterMark),D.sync=!1,D.reading||(b=ne(T,D))),null===(s=b>0?w(b,D):null)?(D.needReadable=D.length<=D.highWaterMark,b=0):(D.length-=b,D.awaitDrain=0),0===D.length&&(D.ended||(D.needReadable=!0),T!==b&&D.ended&&W(this)),null!==s&&this.emit("data",s),s},M.prototype._read=function(b){E(this,new S("_read()"))},M.prototype.pipe=function(b,D){var T=this,_=this._readableState;switch(_.pipesCount){case 0:_.pipes=b;break;case 1:_.pipes=[_.pipes,b];break;default:_.pipes.push(b)}_.pipesCount+=1,N("pipe count=%d opts=%j",_.pipesCount,D);var F=D&&!1===D.end||b===process.stdout||b===process.stderr?qe:ee;function ee(){N("onend"),b.end()}_.endEmitted?process.nextTick(F):T.once("end",F),b.on("unpipe",function X(Be,Ke){N("onunpipe"),Be===T&&Ke&&!1===Ke.hasUnpiped&&(Ke.hasUnpiped=!0,function Ce(){N("cleanup"),b.removeListener("close",be),b.removeListener("finish",ze),b.removeListener("drain",te),b.removeListener("error",Ze),b.removeListener("unpipe",X),T.removeListener("end",ee),T.removeListener("end",qe),T.removeListener("data",Ne),ge=!0,_.awaitDrain&&(!b._writableState||b._writableState.needDrain)&&te()}())});var te=function we(b){return function(){var T=b._readableState;N("pipeOnDrain",T.awaitDrain),T.awaitDrain&&T.awaitDrain--,0===T.awaitDrain&&A(b,"data")&&(T.flowing=!0,a(b))}}(T);b.on("drain",te);var ge=!1;function Ne(Be){N("ondata");var Ke=b.write(Be);N("dest.write",Ke),!1===Ke&&((1===_.pipesCount&&_.pipes===b||_.pipesCount>1&&-1!==ae(_.pipes,b))&&!ge&&(N("false write response, pause",_.awaitDrain),_.awaitDrain++),T.pause())}function Ze(Be){N("onerror",Be),qe(),b.removeListener("error",Ze),0===A(b,"error")&&E(b,Be)}function be(){b.removeListener("finish",ze),qe()}function ze(){N("onfinish"),b.removeListener("close",be),qe()}function qe(){N("unpipe"),T.unpipe(b)}return T.on("data",Ne),function f(b,D,T){if("function"==typeof b.prependListener)return b.prependListener(D,T);b._events&&b._events[D]?Array.isArray(b._events[D])?b._events[D].unshift(T):b._events[D]=[T,b._events[D]]:b.on(D,T)}(b,"error",Ze),b.once("close",be),b.once("finish",ze),b.emit("pipe",T),_.flowing||(N("pipe resume"),T.resume()),b},M.prototype.unpipe=function(b){var D=this._readableState,T={hasUnpiped:!1};if(0===D.pipesCount)return this;if(1===D.pipesCount)return b&&b!==D.pipes||(b||(b=D.pipes),D.pipes=null,D.pipesCount=0,D.flowing=!1,b&&b.emit("unpipe",this,T)),this;if(!b){var _=D.pipes,s=D.pipesCount;D.pipes=null,D.pipesCount=0,D.flowing=!1;for(var F=0;F<s;F++)_[F].emit("unpipe",this,{hasUnpiped:!1});return this}var X=ae(D.pipes,b);return-1===X||(D.pipes.splice(X,1),D.pipesCount-=1,1===D.pipesCount&&(D.pipes=D.pipes[0]),b.emit("unpipe",this,T)),this},M.prototype.addListener=M.prototype.on=function(b,D){var T=x.prototype.on.call(this,b,D),_=this._readableState;return"data"===b?(_.readableListening=this.listenerCount("readable")>0,!1!==_.flowing&&this.resume()):"readable"===b&&!_.endEmitted&&!_.readableListening&&(_.readableListening=_.needReadable=!0,_.flowing=!1,_.emittedReadable=!1,N("on readable",_.length,_.reading),_.length?ue(this):_.reading||process.nextTick(Ae,this)),T},M.prototype.removeListener=function(b,D){var T=x.prototype.removeListener.call(this,b,D);return"readable"===b&&process.nextTick(Oe,this),T},M.prototype.removeAllListeners=function(b){var D=x.prototype.removeAllListeners.apply(this,arguments);return("readable"===b||void 0===b)&&process.nextTick(Oe,this),D},M.prototype.resume=function(){var b=this._readableState;return b.flowing||(N("resume"),b.flowing=!b.readableListening,function We(b,D){D.resumeScheduled||(D.resumeScheduled=!0,process.nextTick(C,b,D))}(this,b)),b.paused=!1,this},M.prototype.pause=function(){return N("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(N("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},M.prototype.wrap=function(b){var D=this,T=this._readableState,_=!1;for(var s in b.on("end",function(){if(N("wrapped end"),T.decoder&&!T.ended){var X=T.decoder.end();X&&X.length&&D.push(X)}D.push(null)}),b.on("data",function(X){N("wrapped data"),T.decoder&&(X=T.decoder.write(X)),T.objectMode&&null==X||!(T.objectMode||X&&X.length)||D.push(X)||(_=!0,b.pause())}),b)void 0===this[s]&&"function"==typeof b[s]&&(this[s]=function(ee){return function(){return b[ee].apply(b,arguments)}}(s));for(var F=0;F<e.length;F++)b.on(e[F],this.emit.bind(this,e[F]));return this._read=function(X){N("wrapped _read",X),_&&(_=!1,b.resume())},this},"function"==typeof Symbol&&(M.prototype[Symbol.asyncIterator]=function(){return void 0===p&&(p=d(94300)),p(this)}),Object.defineProperty(M.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(M.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(M.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(D){this._readableState&&(this._readableState.flowing=D)}}),M._fromList=w,Object.defineProperty(M.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(M.from=function(b,D){return void 0===u&&(u=d(9966)),u(M,b,D)})},83484:(K,Y,d)=>{"use strict";K.exports=R;var g=d(86985).q,r=g.ERR_METHOD_NOT_IMPLEMENTED,A=g.ERR_MULTIPLE_CALLBACK,x=g.ERR_TRANSFORM_ALREADY_TRANSFORMING,Z=g.ERR_TRANSFORM_WITH_LENGTH_0,l=d(83500);function h(v,k){var P=this._transformState;P.transforming=!1;var L=P.writecb;if(null===L)return this.emit("error",new A);P.writechunk=null,P.writecb=null,null!=k&&this.push(k),L(v);var I=this._readableState;I.reading=!1,(I.needReadable||I.length<I.highWaterMark)&&this._read(I.highWaterMark)}function R(v){if(!(this instanceof R))return new R(v);l.call(this,v),this._transformState={afterTransform:h.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,v&&("function"==typeof v.transform&&(this._transform=v.transform),"function"==typeof v.flush&&(this._flush=v.flush)),this.on("prefinish",y)}function y(){var v=this;"function"!=typeof this._flush||this._readableState.destroyed?N(this,null,null):this._flush(function(k,P){N(v,k,P)})}function N(v,k,P){if(k)return v.emit("error",k);if(null!=P&&v.push(P),v._writableState.length)throw new Z;if(v._transformState.transforming)throw new x;return v.push(null)}d(59879)(R,l),R.prototype.push=function(v,k){return this._transformState.needTransform=!1,l.prototype.push.call(this,v,k)},R.prototype._transform=function(v,k,P){P(new r("_transform()"))},R.prototype._write=function(v,k,P){var L=this._transformState;if(L.writecb=P,L.writechunk=v,L.writeencoding=k,!L.transforming){var I=this._readableState;(L.needTransform||I.needReadable||I.length<I.highWaterMark)&&this._read(I.highWaterMark)}},R.prototype._read=function(v){var k=this._transformState;null===k.writechunk||k.transforming?k.needTransform=!0:(k.transforming=!0,this._transform(k.writechunk,k.writeencoding,k.afterTransform))},R.prototype._destroy=function(v,k){l.prototype._destroy.call(this,v,function(P){k(P)})}},38908:(K,Y,d)=>{"use strict";function r(a){var w=this;this.next=null,this.entry=null,this.finish=function(){!function C(a,w,W){var ie=a.entry;for(a.entry=null;ie;){var ae=ie.callback;w.pendingcb--,ae(W),ie=ie.next}w.corkedRequestsFree.next=a}(w,a)}}var A;K.exports=$,$.WritableState=e;var f,x={deprecate:d(15822)},Z=d(27882),l=d(3875).Buffer,h=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},N=d(87904),k=d(62632).getHighWaterMark,P=d(86985).q,L=P.ERR_INVALID_ARG_TYPE,I=P.ERR_METHOD_NOT_IMPLEMENTED,G=P.ERR_MULTIPLE_CALLBACK,B=P.ERR_STREAM_CANNOT_PIPE,S=P.ERR_STREAM_DESTROYED,U=P.ERR_STREAM_NULL_VALUES,m=P.ERR_STREAM_WRITE_AFTER_END,p=P.ERR_UNKNOWN_ENCODING,u=N.errorOrDestroy;function E(){}function e(a,w,W){A=A||d(83500),"boolean"!=typeof W&&(W=w instanceof A),this.objectMode=!!(a=a||{}).objectMode,W&&(this.objectMode=this.objectMode||!!a.writableObjectMode),this.highWaterMark=k(this,a,"writableHighWaterMark",W),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===a.decodeStrings),this.defaultEncoding=a.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ae){!function pe(a,w){var W=a._writableState,ie=W.sync,ae=W.writecb;if("function"!=typeof ae)throw new G;if(function ne(a){a.writing=!1,a.writecb=null,a.length-=a.writelen,a.writelen=0}(W),w)!function de(a,w,W,ie,ae){--w.pendingcb,W?(process.nextTick(ae,ie),process.nextTick(Ae,a,w),a._writableState.errorEmitted=!0,u(a,ie)):(ae(ie),a._writableState.errorEmitted=!0,u(a,ie),Ae(a,w))}(a,W,ie,w,ae);else{var b=Ie(W)||a.destroyed;!b&&!W.corked&&!W.bufferProcessing&&W.bufferedRequest&&fe(a,W),ie?process.nextTick(ue,a,W,b,ae):ue(a,W,b,ae)}}(w,ae)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==a.emitClose,this.autoDestroy=!!a.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new r(this)}function $(a){var w=this instanceof(A=A||d(83500));if(!w&&!f.call($,this))return new $(a);this._writableState=new e(a,this,w),this.writable=!0,a&&("function"==typeof a.write&&(this._write=a.write),"function"==typeof a.writev&&(this._writev=a.writev),"function"==typeof a.destroy&&(this._destroy=a.destroy),"function"==typeof a.final&&(this._final=a.final)),Z.call(this)}function le(a,w,W,ie,ae,b,D){w.writelen=ie,w.writecb=D,w.writing=!0,w.sync=!0,w.destroyed?w.onwrite(new S("write")):W?a._writev(ae,w.onwrite):a._write(ae,b,w.onwrite),w.sync=!1}function ue(a,w,W,ie){W||function he(a,w){0===w.length&&w.needDrain&&(w.needDrain=!1,a.emit("drain"))}(a,w),w.pendingcb--,ie(),Ae(a,w)}function fe(a,w){w.bufferProcessing=!0;var W=w.bufferedRequest;if(a._writev&&W&&W.next){var ae=new Array(w.bufferedRequestCount),b=w.corkedRequestsFree;b.entry=W;for(var D=0,T=!0;W;)ae[D]=W,W.isBuf||(T=!1),W=W.next,D+=1;ae.allBuffers=T,le(a,w,!0,w.length,ae,"",b.finish),w.pendingcb++,w.lastBufferedRequest=null,b.next?(w.corkedRequestsFree=b.next,b.next=null):w.corkedRequestsFree=new r(w),w.bufferedRequestCount=0}else{for(;W;){var _=W.chunk;if(le(a,w,!1,w.objectMode?1:_.length,_,W.encoding,W.callback),W=W.next,w.bufferedRequestCount--,w.writing)break}null===W&&(w.lastBufferedRequest=null)}w.bufferedRequest=W,w.bufferProcessing=!1}function Ie(a){return a.ending&&0===a.length&&null===a.bufferedRequest&&!a.finished&&!a.writing}function we(a,w){a._final(function(W){w.pendingcb--,W&&u(a,W),w.prefinished=!0,a.emit("prefinish"),Ae(a,w)})}function Ae(a,w){var W=Ie(w);if(W&&(function Oe(a,w){!w.prefinished&&!w.finalCalled&&("function"!=typeof a._final||w.destroyed?(w.prefinished=!0,a.emit("prefinish")):(w.pendingcb++,w.finalCalled=!0,process.nextTick(we,a,w)))}(a,w),0===w.pendingcb&&(w.finished=!0,a.emit("finish"),w.autoDestroy))){var ie=a._readableState;(!ie||ie.autoDestroy&&ie.endEmitted)&&a.destroy()}return W}d(59879)($,Z),e.prototype.getBuffer=function(){for(var w=this.bufferedRequest,W=[];w;)W.push(w),w=w.next;return W},function(){try{Object.defineProperty(e.prototype,"buffer",{get:x.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty($,Symbol.hasInstance,{value:function(w){return!!f.call(this,w)||this===$&&w&&w._writableState instanceof e}})):f=function(w){return w instanceof this},$.prototype.pipe=function(){u(this,new B)},$.prototype.write=function(a,w,W){var ie=this._writableState,ae=!1,b=!ie.objectMode&&function y(a){return l.isBuffer(a)||a instanceof h}(a);return b&&!l.isBuffer(a)&&(a=function R(a){return l.from(a)}(a)),"function"==typeof w&&(W=w,w=null),b?w="buffer":w||(w=ie.defaultEncoding),"function"!=typeof W&&(W=E),ie.ending?function M(a,w){var W=new m;u(a,W),process.nextTick(w,W)}(this,W):(b||function q(a,w,W,ie){var ae;return null===W?ae=new U:"string"!=typeof W&&!w.objectMode&&(ae=new L("chunk",["string","Buffer"],W)),!ae||(u(a,ae),process.nextTick(ie,ae),!1)}(this,ie,a,W))&&(ie.pendingcb++,ae=function V(a,w,W,ie,ae,b){if(!W){var D=function z(a,w,W){return!a.objectMode&&!1!==a.decodeStrings&&"string"==typeof w&&(w=l.from(w,W)),w}(w,ie,ae);ie!==D&&(W=!0,ae="buffer",ie=D)}var T=w.objectMode?1:ie.length;w.length+=T;var _=w.length<w.highWaterMark;if(_||(w.needDrain=!0),w.writing||w.corked){var s=w.lastBufferedRequest;w.lastBufferedRequest={chunk:ie,encoding:ae,isBuf:W,callback:b,next:null},s?s.next=w.lastBufferedRequest:w.bufferedRequest=w.lastBufferedRequest,w.bufferedRequestCount+=1}else le(a,w,!1,T,ie,ae,b);return _}(this,ie,b,a,w,W)),ae},$.prototype.cork=function(){this._writableState.corked++},$.prototype.uncork=function(){var a=this._writableState;a.corked&&(a.corked--,!a.writing&&!a.corked&&!a.bufferProcessing&&a.bufferedRequest&&fe(this,a))},$.prototype.setDefaultEncoding=function(w){if("string"==typeof w&&(w=w.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((w+"").toLowerCase())>-1))throw new p(w);return this._writableState.defaultEncoding=w,this},Object.defineProperty($.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty($.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),$.prototype._write=function(a,w,W){W(new I("_write()"))},$.prototype._writev=null,$.prototype.end=function(a,w,W){var ie=this._writableState;return"function"==typeof a?(W=a,a=null,w=null):"function"==typeof w&&(W=w,w=null),null!=a&&this.write(a,w),ie.corked&&(ie.corked=1,this.uncork()),ie.ending||function We(a,w,W){w.ending=!0,Ae(a,w),W&&(w.finished?process.nextTick(W):a.once("finish",W)),w.ended=!0,a.writable=!1}(this,ie,W),this},Object.defineProperty($.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty($.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(w){this._writableState&&(this._writableState.destroyed=w)}}),$.prototype.destroy=N.destroy,$.prototype._undestroy=N.undestroy,$.prototype._destroy=function(a,w){w(a)}},94300:(K,Y,d)=>{"use strict";var g;function r(m,p,u){return p=function A(m){var p=function x(m,p){if("object"!=typeof m||null===m)return m;var u=m[Symbol.toPrimitive];if(void 0!==u){var E=u.call(m,p||"default");if("object"!=typeof E)return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===p?String:Number)(m)}(m,"string");return"symbol"==typeof p?p:String(p)}(p),p in m?Object.defineProperty(m,p,{value:u,enumerable:!0,configurable:!0,writable:!0}):m[p]=u,m}var Z=d(83770),l=Symbol("lastResolve"),h=Symbol("lastReject"),R=Symbol("error"),y=Symbol("ended"),N=Symbol("lastPromise"),v=Symbol("handlePromise"),k=Symbol("stream");function P(m,p){return{value:m,done:p}}function L(m){var p=m[l];if(null!==p){var u=m[k].read();null!==u&&(m[N]=null,m[l]=null,m[h]=null,p(P(u,!1)))}}function I(m){process.nextTick(L,m)}var B=Object.getPrototypeOf(function(){}),S=Object.setPrototypeOf((r(g={get stream(){return this[k]},next:function(){var p=this,u=this[R];if(null!==u)return Promise.reject(u);if(this[y])return Promise.resolve(P(void 0,!0));if(this[k].destroyed)return new Promise(function($,M){process.nextTick(function(){p[R]?M(p[R]):$(P(void 0,!0))})});var e,E=this[N];if(E)e=new Promise(function G(m,p){return function(u,E){m.then(function(){p[y]?u(P(void 0,!0)):p[v](u,E)},E)}}(E,this));else{var f=this[k].read();if(null!==f)return Promise.resolve(P(f,!1));e=new Promise(this[v])}return this[N]=e,e}},Symbol.asyncIterator,function(){return this}),r(g,"return",function(){var p=this;return new Promise(function(u,E){p[k].destroy(null,function(e){e?E(e):u(P(void 0,!0))})})}),g),B);K.exports=function(p){var u,E=Object.create(S,(r(u={},k,{value:p,writable:!0}),r(u,l,{value:null,writable:!0}),r(u,h,{value:null,writable:!0}),r(u,R,{value:null,writable:!0}),r(u,y,{value:p._readableState.endEmitted,writable:!0}),r(u,v,{value:function(f,$){var M=E[k].read();M?(E[N]=null,E[l]=null,E[h]=null,f(P(M,!1))):(E[l]=f,E[h]=$)},writable:!0}),u));return E[N]=null,Z(p,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var f=E[h];return null!==f&&(E[N]=null,E[l]=null,E[h]=null,f(e)),void(E[R]=e)}var $=E[l];null!==$&&(E[N]=null,E[l]=null,E[h]=null,$(P(void 0,!0))),E[y]=!0}),p.on("readable",I.bind(null,E)),E}},82319:(K,Y,d)=>{"use strict";function g(I,G){var B=Object.keys(I);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(I);G&&(S=S.filter(function(U){return Object.getOwnPropertyDescriptor(I,U).enumerable})),B.push.apply(B,S)}return B}function r(I){for(var G=1;G<arguments.length;G++){var B=null!=arguments[G]?arguments[G]:{};G%2?g(Object(B),!0).forEach(function(S){A(I,S,B[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(B)):g(Object(B)).forEach(function(S){Object.defineProperty(I,S,Object.getOwnPropertyDescriptor(B,S))})}return I}function A(I,G,B){return(G=h(G))in I?Object.defineProperty(I,G,{value:B,enumerable:!0,configurable:!0,writable:!0}):I[G]=B,I}function Z(I,G){for(var B=0;B<G.length;B++){var S=G[B];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(I,h(S.key),S)}}function h(I){var G=function R(I,G){if("object"!=typeof I||null===I)return I;var B=I[Symbol.toPrimitive];if(void 0!==B){var S=B.call(I,G||"default");if("object"!=typeof S)return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===G?String:Number)(I)}(I,"string");return"symbol"==typeof G?G:String(G)}var N=d(3875).Buffer,k=d(69862).inspect,P=k&&k.custom||"inspect";function L(I,G,B){N.prototype.copy.call(I,G,B)}K.exports=function(){function I(){(function x(I,G){if(!(I instanceof G))throw new TypeError("Cannot call a class as a function")})(this,I),this.head=null,this.tail=null,this.length=0}return function l(I,G,B){G&&Z(I.prototype,G),B&&Z(I,B),Object.defineProperty(I,"prototype",{writable:!1})}(I,[{key:"push",value:function(B){var S={data:B,next:null};this.length>0?this.tail.next=S:this.head=S,this.tail=S,++this.length}},{key:"unshift",value:function(B){var S={data:B,next:this.head};0===this.length&&(this.tail=S),this.head=S,++this.length}},{key:"shift",value:function(){if(0!==this.length){var B=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,B}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(B){if(0===this.length)return"";for(var S=this.head,U=""+S.data;S=S.next;)U+=B+S.data;return U}},{key:"concat",value:function(B){if(0===this.length)return N.alloc(0);for(var S=N.allocUnsafe(B>>>0),U=this.head,m=0;U;)L(U.data,S,m),m+=U.data.length,U=U.next;return S}},{key:"consume",value:function(B,S){var U;return B<this.head.data.length?(U=this.head.data.slice(0,B),this.head.data=this.head.data.slice(B)):U=B===this.head.data.length?this.shift():S?this._getString(B):this._getBuffer(B),U}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(B){var S=this.head,U=1,m=S.data;for(B-=m.length;S=S.next;){var p=S.data,u=B>p.length?p.length:B;if(m+=u===p.length?p:p.slice(0,B),0==(B-=u)){u===p.length?(++U,this.head=S.next?S.next:this.tail=null):(this.head=S,S.data=p.slice(u));break}++U}return this.length-=U,m}},{key:"_getBuffer",value:function(B){var S=N.allocUnsafe(B),U=this.head,m=1;for(U.data.copy(S),B-=U.data.length;U=U.next;){var p=U.data,u=B>p.length?p.length:B;if(p.copy(S,S.length-B,0,u),0==(B-=u)){u===p.length?(++m,this.head=U.next?U.next:this.tail=null):(this.head=U,U.data=p.slice(u));break}++m}return this.length-=m,S}},{key:P,value:function(B,S){return k(this,r(r({},S),{},{depth:0,customInspect:!1}))}}]),I}()},87904:K=>{"use strict";function d(Z,l){A(Z,l),g(Z)}function g(Z){Z._writableState&&!Z._writableState.emitClose||Z._readableState&&!Z._readableState.emitClose||Z.emit("close")}function A(Z,l){Z.emit("error",l)}K.exports={destroy:function Y(Z,l){var h=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(l?l(Z):Z&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(A,this,Z)):process.nextTick(A,this,Z)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(Z||null,function(N){!l&&N?h._writableState?h._writableState.errorEmitted?process.nextTick(g,h):(h._writableState.errorEmitted=!0,process.nextTick(d,h,N)):process.nextTick(d,h,N):l?(process.nextTick(g,h),l(N)):process.nextTick(g,h)}),this)},undestroy:function r(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function x(Z,l){var h=Z._readableState,R=Z._writableState;h&&h.autoDestroy||R&&R.autoDestroy?Z.destroy(l):Z.emit("error",l)}}},83770:(K,Y,d)=>{"use strict";var g=d(86985).q.ERR_STREAM_PREMATURE_CLOSE;function A(){}K.exports=function Z(l,h,R){if("function"==typeof h)return Z(l,null,h);h||(h={}),R=function r(l){var h=!1;return function(){if(!h){h=!0;for(var R=arguments.length,y=new Array(R),N=0;N<R;N++)y[N]=arguments[N];l.apply(this,y)}}}(R||A);var y=h.readable||!1!==h.readable&&l.readable,N=h.writable||!1!==h.writable&&l.writable,v=function(){l.writable||P()},k=l._writableState&&l._writableState.finished,P=function(){N=!1,k=!0,y||R.call(l)},L=l._readableState&&l._readableState.endEmitted,I=function(){y=!1,L=!0,N||R.call(l)},G=function(m){R.call(l,m)},B=function(){var m;return y&&!L?((!l._readableState||!l._readableState.ended)&&(m=new g),R.call(l,m)):N&&!k?((!l._writableState||!l._writableState.ended)&&(m=new g),R.call(l,m)):void 0},S=function(){l.req.on("finish",P)};return function x(l){return l.setHeader&&"function"==typeof l.abort}(l)?(l.on("complete",P),l.on("abort",B),l.req?S():l.on("request",S)):N&&!l._writableState&&(l.on("end",v),l.on("close",v)),l.on("end",I),l.on("finish",P),!1!==h.error&&l.on("error",G),l.on("close",B),function(){l.removeListener("complete",P),l.removeListener("abort",B),l.removeListener("request",S),l.req&&l.req.removeListener("finish",P),l.removeListener("end",v),l.removeListener("close",v),l.removeListener("finish",P),l.removeListener("end",I),l.removeListener("error",G),l.removeListener("close",B)}}},9966:K=>{K.exports=function(){throw new Error("Readable.from is not available in the browser")}},77882:(K,Y,d)=>{"use strict";var g,A=d(86985).q,x=A.ERR_MISSING_ARGS,Z=A.ERR_STREAM_DESTROYED;function l(P){if(P)throw P}function y(P){P()}function N(P,L){return P.pipe(L)}K.exports=function k(){for(var P=arguments.length,L=new Array(P),I=0;I<P;I++)L[I]=arguments[I];var G=function v(P){return P.length&&"function"==typeof P[P.length-1]?P.pop():l}(L);if(Array.isArray(L[0])&&(L=L[0]),L.length<2)throw new x("streams");var B,S=L.map(function(U,m){var p=m<L.length-1;return function R(P,L,I,G){G=function r(P){var L=!1;return function(){L||(L=!0,P.apply(void 0,arguments))}}(G);var B=!1;P.on("close",function(){B=!0}),void 0===g&&(g=d(83770)),g(P,{readable:L,writable:I},function(U){if(U)return G(U);B=!0,G()});var S=!1;return function(U){if(!B&&!S){if(S=!0,function h(P){return P.setHeader&&"function"==typeof P.abort}(P))return P.abort();if("function"==typeof P.destroy)return P.destroy();G(U||new Z("pipe"))}}}(U,p,m>0,function(E){B||(B=E),E&&S.forEach(y),!p&&(S.forEach(y),G(B))})});return L.reduce(N)}},62632:(K,Y,d)=>{"use strict";var g=d(86985).q.ERR_INVALID_OPT_VALUE;K.exports={getHighWaterMark:function A(x,Z,l,h){var R=function r(x,Z,l){return null!=x.highWaterMark?x.highWaterMark:Z?x[l]:null}(Z,h,l);if(null!=R){if(!isFinite(R)||Math.floor(R)!==R||R<0)throw new g(h?l:"highWaterMark",R);return Math.floor(R)}return x.objectMode?16:16384}}},27882:(K,Y,d)=>{K.exports=d(93105).EventEmitter},32519:(K,Y,d)=>{"use strict";var g=d(55859).Buffer,r=g.isEncoding||function(S){switch((S=""+S)&&S.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Z(S){var U;switch(this.encoding=function x(S){var U=function A(S){if(!S)return"utf8";for(var U;;)switch(S){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return S;default:if(U)return;S=(""+S).toLowerCase(),U=!0}}(S);if("string"!=typeof U&&(g.isEncoding===r||!r(S)))throw new Error("Unknown encoding: "+S);return U||S}(S),this.encoding){case"utf16le":this.text=k,this.end=P,U=4;break;case"utf8":this.fillLast=y,U=4;break;case"base64":this.text=L,this.end=I,U=3;break;default:return this.write=G,void(this.end=B)}this.lastNeed=0,this.lastTotal=0,this.lastChar=g.allocUnsafe(U)}function l(S){return S<=127?0:S>>5==6?2:S>>4==14?3:S>>3==30?4:S>>6==2?-1:-2}function y(S){var U=this.lastTotal-this.lastNeed,m=function R(S,U,m){if(128!=(192&U[0]))return S.lastNeed=0,"\ufffd";if(S.lastNeed>1&&U.length>1){if(128!=(192&U[1]))return S.lastNeed=1,"\ufffd";if(S.lastNeed>2&&U.length>2&&128!=(192&U[2]))return S.lastNeed=2,"\ufffd"}}(this,S);return void 0!==m?m:this.lastNeed<=S.length?(S.copy(this.lastChar,U,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(S.copy(this.lastChar,U,0,S.length),void(this.lastNeed-=S.length))}function k(S,U){if((S.length-U)%2==0){var m=S.toString("utf16le",U);if(m){var p=m.charCodeAt(m.length-1);if(p>=55296&&p<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=S[S.length-2],this.lastChar[1]=S[S.length-1],m.slice(0,-1)}return m}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=S[S.length-1],S.toString("utf16le",U,S.length-1)}function P(S){var U=S&&S.length?this.write(S):"";return this.lastNeed?U+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):U}function L(S,U){var m=(S.length-U)%3;return 0===m?S.toString("base64",U):(this.lastNeed=3-m,this.lastTotal=3,1===m?this.lastChar[0]=S[S.length-1]:(this.lastChar[0]=S[S.length-2],this.lastChar[1]=S[S.length-1]),S.toString("base64",U,S.length-m))}function I(S){var U=S&&S.length?this.write(S):"";return this.lastNeed?U+this.lastChar.toString("base64",0,3-this.lastNeed):U}function G(S){return S.toString(this.encoding)}function B(S){return S&&S.length?this.write(S):""}Y.s=Z,Z.prototype.write=function(S){if(0===S.length)return"";var U,m;if(this.lastNeed){if(void 0===(U=this.fillLast(S)))return"";m=this.lastNeed,this.lastNeed=0}else m=0;return m<S.length?U?U+this.text(S,m):this.text(S,m):U||""},Z.prototype.end=function v(S){var U=S&&S.length?this.write(S):"";return this.lastNeed?U+"\ufffd":U},Z.prototype.text=function N(S,U){var m=function h(S,U,m){var p=U.length-1;if(p<m)return 0;var u=l(U[p]);return u>=0?(u>0&&(S.lastNeed=u-1),u):--p<m||-2===u?0:(u=l(U[p]))>=0?(u>0&&(S.lastNeed=u-2),u):--p<m||-2===u?0:(u=l(U[p]))>=0?(u>0&&(2===u?u=0:S.lastNeed=u-3),u):0}(this,S,U);if(!this.lastNeed)return S.toString("utf8",U);this.lastTotal=m;var p=S.length-(m-this.lastNeed);return S.copy(this.lastChar,0,p),S.toString("utf8",U,p)},Z.prototype.fillLast=function(S){if(this.lastNeed<=S.length)return S.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);S.copy(this.lastChar,this.lastTotal-this.lastNeed,0,S.length),this.lastNeed-=S.length}},82584:function(K,Y,d){var g=typeof global<"u"&&global||typeof self<"u"&&self||window,r=Function.prototype.apply;function A(x,Z){this._id=x,this._clearFn=Z}Y.setTimeout=function(){return new A(r.call(setTimeout,g,arguments),clearTimeout)},Y.setInterval=function(){return new A(r.call(setInterval,g,arguments),clearInterval)},Y.clearTimeout=Y.clearInterval=function(x){x&&x.close()},A.prototype.unref=A.prototype.ref=function(){},A.prototype.close=function(){this._clearFn.call(g,this._id)},Y.enroll=function(x,Z){clearTimeout(x._idleTimeoutId),x._idleTimeout=Z},Y.unenroll=function(x){clearTimeout(x._idleTimeoutId),x._idleTimeout=-1},Y._unrefActive=Y.active=function(x){clearTimeout(x._idleTimeoutId);var Z=x._idleTimeout;Z>=0&&(x._idleTimeoutId=setTimeout(function(){x._onTimeout&&x._onTimeout()},Z))},d(45470),Y.setImmediate=typeof self<"u"&&self.setImmediate||typeof global<"u"&&global.setImmediate||this&&this.setImmediate,Y.clearImmediate=typeof self<"u"&&self.clearImmediate||typeof global<"u"&&global.clearImmediate||this&&this.clearImmediate},15822:K=>{function d(g){try{if(!global.localStorage)return!1}catch{return!1}var r=global.localStorage[g];return null!=r&&"true"===String(r).toLowerCase()}K.exports=function Y(g,r){if(d("noDeprecation"))return g;var A=!1;return function x(){if(!A){if(d("throwDeprecation"))throw new Error(r);d("traceDeprecation")?console.trace(r):console.warn(r),A=!0}return g.apply(this,arguments)}}},62655:function(K,Y){(function(){"use strict";Y.stripBOM=function(d){return"\ufeff"===d[0]?d.substring(1):d}}).call(this)},54408:function(K,Y,d){(function(){"use strict";var g,r,A,x,Z,l={}.hasOwnProperty;g=d(71741),r=d(81031).defaults,x=function(h){return"string"==typeof h&&(h.indexOf("&")>=0||h.indexOf(">")>=0||h.indexOf("<")>=0)},Z=function(h){return"<![CDATA["+A(h)+"]]>"},A=function(h){return h.replace("]]>","]]]]><![CDATA[>")},Y.Builder=function(){function h(R){var y,N;for(y in this.options={},N=r[.2])l.call(N,y)&&(this.options[y]=N[y]);for(y in R)l.call(R,y)&&(this.options[y]=R[y])}return h.prototype.buildObject=function(R){var y,N,v,k,P,L;return y=this.options.attrkey,N=this.options.charkey,1===Object.keys(R).length&&this.options.rootName===r[.2].rootName?R=R[P=Object.keys(R)[0]]:P=this.options.rootName,L=this,v=function(I,G){var B,S,U,m,p;if("object"!=typeof G)L.options.cdata&&x(G)?I.raw(Z(G)):I.txt(G);else if(Array.isArray(G)){for(m in G)if(l.call(G,m))for(p in S=G[m])U=S[p],I=v(I.ele(p),U).up()}else for(p in G)if(l.call(G,p))if(S=G[p],p===y){if("object"==typeof S)for(B in S)I=I.att(B,S[B])}else if(p===N)I=L.options.cdata&&x(S)?I.raw(Z(S)):I.txt(S);else if(Array.isArray(S))for(m in S)l.call(S,m)&&(I="string"==typeof(U=S[m])?L.options.cdata&&x(U)?I.ele(p).raw(Z(U)).up():I.ele(p,U).up():v(I.ele(p),U).up());else"object"==typeof S?I=v(I.ele(p),S).up():"string"==typeof S&&L.options.cdata&&x(S)?I=I.ele(p).raw(Z(S)).up():(null==S&&(S=""),I=I.ele(p,S.toString()).up());return I},k=g.create(P,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),v(k,R).end(this.options.renderOpts)},h}()}).call(this)},81031:function(K,Y){(function(){Y.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},52972:function(K,Y,d){(function(){"use strict";var g,r,A,x,Z,l,h,R,y,N=function(P,L){return function(){return P.apply(L,arguments)}},k={}.hasOwnProperty;R=d(5473),x=d(93105),g=d(62655),h=d(65489),y=d(82584).setImmediate,r=d(81031).defaults,Z=function(P){return"object"==typeof P&&null!=P&&0===Object.keys(P).length},l=function(P,L,I){var G,B;for(G=0,B=P.length;G<B;G++)L=(0,P[G])(L,I);return L},A=function(P,L,I){var G;return(G=Object.create(null)).value=I,G.writable=!0,G.enumerable=!0,G.configurable=!0,Object.defineProperty(P,L,G)},Y.Parser=function(P){function L(I){var G,B;if(this.parseStringPromise=N(this.parseStringPromise,this),this.parseString=N(this.parseString,this),this.reset=N(this.reset,this),this.assignOrPush=N(this.assignOrPush,this),this.processAsync=N(this.processAsync,this),!(this instanceof Y.Parser))return new Y.Parser(I);for(G in this.options={},B=r[.2])k.call(B,G)&&(this.options[G]=B[G]);for(G in I)k.call(I,G)&&(this.options[G]=I[G]);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(h.normalize)),this.reset()}return function(P,L){for(var I in L)k.call(L,I)&&(P[I]=L[I]);function G(){this.constructor=P}G.prototype=L.prototype,P.prototype=new G,P.__super__=L.prototype}(L,P),L.prototype.processAsync=function(){var I,G;try{return this.remaining.length<=this.options.chunkSize?(I=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(I),this.saxParser.close()):(I=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(I),y(this.processAsync))}catch(B){if(G=B,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(G)}},L.prototype.assignOrPush=function(I,G,B){return G in I?(I[G]instanceof Array||A(I,G,[I[G]]),I[G].push(B)):A(I,G,this.options.explicitArray?[B]:B)},L.prototype.reset=function(){var I,G,B,S,U;return this.removeAllListeners(),this.saxParser=R.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=(U=this,function(m){if(U.saxParser.resume(),!U.saxParser.errThrown)return U.saxParser.errThrown=!0,U.emit("error",m)}),this.saxParser.onend=function(U){return function(){if(!U.saxParser.ended)return U.saxParser.ended=!0,U.emit("end",U.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,S=[],I=this.options.attrkey,G=this.options.charkey,this.saxParser.onopentag=function(U){return function(m){var p,u,E,e,f;if((E={})[G]="",!U.options.ignoreAttrs)for(p in f=m.attributes)k.call(f,p)&&(!(I in E)&&!U.options.mergeAttrs&&(E[I]={}),u=U.options.attrValueProcessors?l(U.options.attrValueProcessors,m.attributes[p],p):m.attributes[p],e=U.options.attrNameProcessors?l(U.options.attrNameProcessors,p):p,U.options.mergeAttrs?U.assignOrPush(E,e,u):A(E[I],e,u));return E["#name"]=U.options.tagNameProcessors?l(U.options.tagNameProcessors,m.name):m.name,U.options.xmlns&&(E[U.options.xmlnskey]={uri:m.uri,local:m.local}),S.push(E)}}(this),this.saxParser.onclosetag=function(U){return function(){var m,p,u,E,e,f,$,M,q,z;if(f=S.pop(),e=f["#name"],(!U.options.explicitChildren||!U.options.preserveChildrenOrder)&&delete f["#name"],!0===f.cdata&&(m=f.cdata,delete f.cdata),q=S[S.length-1],f[G].match(/^\s*$/)&&!m?(p=f[G],delete f[G]):(U.options.trim&&(f[G]=f[G].trim()),U.options.normalize&&(f[G]=f[G].replace(/\s{2,}/g," ").trim()),f[G]=U.options.valueProcessors?l(U.options.valueProcessors,f[G],e):f[G],1===Object.keys(f).length&&G in f&&!U.EXPLICIT_CHARKEY&&(f=f[G])),Z(f)&&(f="function"==typeof U.options.emptyTag?U.options.emptyTag():""!==U.options.emptyTag?U.options.emptyTag:p),null!=U.options.validator&&(z="/"+function(){var V,le,de;for(de=[],V=0,le=S.length;V<le;V++)de.push((E=S[V])["#name"]);return de}().concat(e).join("/"),function(){try{f=U.options.validator(z,q&&q[e],f)}catch(le){return U.emit("error",le)}}()),U.options.explicitChildren&&!U.options.mergeAttrs&&"object"==typeof f)if(U.options.preserveChildrenOrder){if(q){for(u in q[U.options.childkey]=q[U.options.childkey]||[],$={},f)k.call(f,u)&&A($,u,f[u]);q[U.options.childkey].push($),delete f["#name"],1===Object.keys(f).length&&G in f&&!U.EXPLICIT_CHARKEY&&(f=f[G])}}else E={},U.options.attrkey in f&&(E[U.options.attrkey]=f[U.options.attrkey],delete f[U.options.attrkey]),!U.options.charsAsChildren&&U.options.charkey in f&&(E[U.options.charkey]=f[U.options.charkey],delete f[U.options.charkey]),Object.getOwnPropertyNames(f).length>0&&(E[U.options.childkey]=f),f=E;return S.length>0?U.assignOrPush(q,e,f):(U.options.explicitRoot&&(M=f,A(f={},e,M)),U.resultObject=f,U.saxParser.ended=!0,U.emit("end",U.resultObject))}}(this),B=function(U){return function(m){var p,u;if(u=S[S.length-1])return u[G]+=m,U.options.explicitChildren&&U.options.preserveChildrenOrder&&U.options.charsAsChildren&&(U.options.includeWhiteChars||""!==m.replace(/\\n/g,"").trim())&&(u[U.options.childkey]=u[U.options.childkey]||[],(p={"#name":"__text__"})[G]=m,U.options.normalize&&(p[G]=p[G].replace(/\s{2,}/g," ").trim()),u[U.options.childkey].push(p)),u}}(this),this.saxParser.ontext=B,this.saxParser.oncdata=function(m){var p;if(p=B(m))return p.cdata=!0}},L.prototype.parseString=function(I,G){var B;null!=G&&"function"==typeof G&&(this.on("end",function(S){return this.reset(),G(null,S)}),this.on("error",function(S){return this.reset(),G(S)}));try{return""===(I=I.toString()).trim()?(this.emit("end",null),!0):(I=g.stripBOM(I),this.options.async?(this.remaining=I,y(this.processAsync),this.saxParser):this.saxParser.write(I).close())}catch(S){if(B=S,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",B),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw B}},L.prototype.parseStringPromise=function(I){return new Promise((G=this,function(B,S){return G.parseString(I,function(U,m){return U?S(U):B(m)})}));var G},L}(x),Y.parseString=function(P,L,I){var G,B;return null!=I?("function"==typeof I&&(G=I),"object"==typeof L&&(B=L)):("function"==typeof L&&(G=L),B={}),new Y.Parser(B).parseString(P,G)},Y.parseStringPromise=function(P,L){var I;return"object"==typeof L&&(I=L),new Y.Parser(I).parseStringPromise(P)}}).call(this)},65489:function(K,Y){(function(){"use strict";var d;d=new RegExp(/(?!xmlns)^.*:/),Y.normalize=function(g){return g.toLowerCase()},Y.firstCharLowerCase=function(g){return g.charAt(0).toLowerCase()+g.slice(1)},Y.stripPrefix=function(g){return g.replace(d,"")},Y.parseNumbers=function(g){return isNaN(g)||(g=g%1==0?parseInt(g,10):parseFloat(g)),g},Y.parseBooleans=function(g){return/^(?:true|false)$/i.test(g)&&(g="true"===g.toLowerCase()),g}}).call(this)},49277:function(K,Y,d){(function(){"use strict";var g,r,A,x,l={}.hasOwnProperty;r=d(81031),g=d(54408),A=d(52972),x=d(65489),Y.defaults=r.defaults,Y.processors=x,Y.ValidationError=function(h){function R(y){this.message=y}return function(h,R){for(var y in R)l.call(R,y)&&(h[y]=R[y]);function N(){this.constructor=h}N.prototype=R.prototype,h.prototype=new N,h.__super__=R.prototype}(R,Error),R}(),Y.Builder=g.Builder,Y.Parser=A.Parser,Y.parseString=A.parseString,Y.parseStringPromise=A.parseStringPromise}).call(this)},69053:function(K){(function(){K.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},42870:function(K){(function(){K.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},63146:function(K){(function(){var Y,d,g,r,A,x,Z,l=[].slice,h={}.hasOwnProperty;Y=function(){var R,y,N,v,k,P;if(P=arguments[0],k=2<=arguments.length?l.call(arguments,1):[],A(Object.assign))Object.assign.apply(null,arguments);else for(R=0,N=k.length;R<N;R++)if(null!=(v=k[R]))for(y in v)h.call(v,y)&&(P[y]=v[y]);return P},A=function(R){return!!R&&"[object Function]"===Object.prototype.toString.call(R)},x=function(R){var y;return!!R&&("function"==(y=typeof R)||"object"===y)},g=function(R){return A(Array.isArray)?Array.isArray(R):"[object Array]"===Object.prototype.toString.call(R)},r=function(R){var y;if(g(R))return!R.length;for(y in R)if(h.call(R,y))return!1;return!0},Z=function(R){var y,N;return x(R)&&(N=Object.getPrototypeOf(R))&&(y=N.constructor)&&"function"==typeof y&&y instanceof y&&Function.prototype.toString.call(y)===Function.prototype.toString.call(Object)},d=function(R){return A(R.valueOf)?R.valueOf():R},K.exports.assign=Y,K.exports.isFunction=A,K.exports.isObject=x,K.exports.isArray=g,K.exports.isEmpty=r,K.exports.isPlainObject=Z,K.exports.getValue=d}).call(this)},47159:function(K){(function(){K.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},88828:function(K,Y,d){(function(){var g;g=d(42870),d(26627),K.exports=function(){function x(Z,l,h){if(this.parent=Z,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),null==l)throw new Error("Missing attribute name. "+this.debugInfo(l));this.name=this.stringify.name(l),this.value=this.stringify.attValue(h),this.type=g.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(x.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(x.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(x.prototype,"textContent",{get:function(){return this.value},set:function(Z){return this.value=Z||""}}),Object.defineProperty(x.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(x.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(x.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(x.prototype,"specified",{get:function(){return!0}}),x.prototype.clone=function(){return Object.create(this)},x.prototype.toString=function(Z){return this.options.writer.attribute(this,this.options.writer.filterOptions(Z))},x.prototype.debugInfo=function(Z){return null==(Z=Z||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+Z+"}, parent: <"+this.parent.name+">"},x.prototype.isEqualNode=function(Z){return!(Z.namespaceURI!==this.namespaceURI||Z.prefix!==this.prefix||Z.localName!==this.localName||Z.value!==this.value)},x}()}).call(this)},19832:function(K,Y,d){(function(){var g,A,Z={}.hasOwnProperty;g=d(42870),A=d(26068),K.exports=function(l){function h(R,y){if(h.__super__.constructor.call(this,R),null==y)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=g.CData,this.value=this.stringify.cdata(y)}return function(l,h){for(var R in h)Z.call(h,R)&&(l[R]=h[R]);function y(){this.constructor=l}y.prototype=h.prototype,l.prototype=new y,l.__super__=h.prototype}(h,l),h.prototype.clone=function(){return Object.create(this)},h.prototype.toString=function(R){return this.options.writer.cdata(this,this.options.writer.filterOptions(R))},h}(A)}).call(this)},26068:function(K,Y,d){(function(){var r,x={}.hasOwnProperty;r=d(26627),K.exports=function(Z){function l(h){l.__super__.constructor.call(this,h),this.value=""}return function(Z,l){for(var h in l)x.call(l,h)&&(Z[h]=l[h]);function R(){this.constructor=Z}R.prototype=l.prototype,Z.prototype=new R,Z.__super__=l.prototype}(l,Z),Object.defineProperty(l.prototype,"data",{get:function(){return this.value},set:function(h){return this.value=h||""}}),Object.defineProperty(l.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(l.prototype,"textContent",{get:function(){return this.value},set:function(h){return this.value=h||""}}),l.prototype.clone=function(){return Object.create(this)},l.prototype.substringData=function(h,R){throw new Error("This DOM method is not implemented."+this.debugInfo())},l.prototype.appendData=function(h){throw new Error("This DOM method is not implemented."+this.debugInfo())},l.prototype.insertData=function(h,R){throw new Error("This DOM method is not implemented."+this.debugInfo())},l.prototype.deleteData=function(h,R){throw new Error("This DOM method is not implemented."+this.debugInfo())},l.prototype.replaceData=function(h,R,y){throw new Error("This DOM method is not implemented."+this.debugInfo())},l.prototype.isEqualNode=function(h){return!(!l.__super__.isEqualNode.apply(this,arguments).isEqualNode(h)||h.data!==this.data)},l}(r)}).call(this)},73940:function(K,Y,d){(function(){var g,r,Z={}.hasOwnProperty;g=d(42870),r=d(26068),K.exports=function(l){function h(R,y){if(h.__super__.constructor.call(this,R),null==y)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=g.Comment,this.value=this.stringify.comment(y)}return function(l,h){for(var R in h)Z.call(h,R)&&(l[R]=h[R]);function y(){this.constructor=l}y.prototype=h.prototype,l.prototype=new y,l.__super__=h.prototype}(h,l),h.prototype.clone=function(){return Object.create(this)},h.prototype.toString=function(R){return this.options.writer.comment(this,this.options.writer.filterOptions(R))},h}(r)}).call(this)},34817:function(K,Y,d){(function(){var r,A;r=d(34551),A=d(53569),K.exports=function(){function x(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new r,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(x.prototype,"parameterNames",{get:function(){return new A(Object.keys(this.defaultParams))}}),x.prototype.getParameter=function(Z){return this.params.hasOwnProperty(Z)?this.params[Z]:null},x.prototype.canSetParameter=function(Z,l){return!0},x.prototype.setParameter=function(Z,l){return null!=l?this.params[Z]=l:delete this.params[Z]},x}()}).call(this)},34551:function(K){(function(){K.exports=function(){function d(){}return d.prototype.handleError=function(g){throw new Error(g)},d}()}).call(this)},57951:function(K){(function(){K.exports=function(){function d(){}return d.prototype.hasFeature=function(g,r){return!0},d.prototype.createDocumentType=function(g,r,A){throw new Error("This DOM method is not implemented.")},d.prototype.createDocument=function(g,r,A){throw new Error("This DOM method is not implemented.")},d.prototype.createHTMLDocument=function(g){throw new Error("This DOM method is not implemented.")},d.prototype.getFeature=function(g,r){throw new Error("This DOM method is not implemented.")},d}()}).call(this)},53569:function(K){(function(){K.exports=function(){function d(g){this.arr=g||[]}return Object.defineProperty(d.prototype,"length",{get:function(){return this.arr.length}}),d.prototype.item=function(g){return this.arr[g]||null},d.prototype.contains=function(g){return-1!==this.arr.indexOf(g)},d}()}).call(this)},70438:function(K,Y,d){(function(){var g,A,Z={}.hasOwnProperty;A=d(26627),g=d(42870),K.exports=function(l){function h(R,y,N,v,k,P){if(h.__super__.constructor.call(this,R),null==y)throw new Error("Missing DTD element name. "+this.debugInfo());if(null==N)throw new Error("Missing DTD attribute name. "+this.debugInfo(y));if(!v)throw new Error("Missing DTD attribute type. "+this.debugInfo(y));if(!k)throw new Error("Missing DTD attribute default. "+this.debugInfo(y));if(0!==k.indexOf("#")&&(k="#"+k),!k.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(y));if(P&&!k.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(y));this.elementName=this.stringify.name(y),this.type=g.AttributeDeclaration,this.attributeName=this.stringify.name(N),this.attributeType=this.stringify.dtdAttType(v),P&&(this.defaultValue=this.stringify.dtdAttDefault(P)),this.defaultValueType=k}return function(l,h){for(var R in h)Z.call(h,R)&&(l[R]=h[R]);function y(){this.constructor=l}y.prototype=h.prototype,l.prototype=new y,l.__super__=h.prototype}(h,l),h.prototype.toString=function(R){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(R))},h}(A)}).call(this)},33020:function(K,Y,d){(function(){var g,A,Z={}.hasOwnProperty;A=d(26627),g=d(42870),K.exports=function(l){function h(R,y,N){if(h.__super__.constructor.call(this,R),null==y)throw new Error("Missing DTD element name. "+this.debugInfo());N||(N="(#PCDATA)"),Array.isArray(N)&&(N="("+N.join(",")+")"),this.name=this.stringify.name(y),this.type=g.ElementDeclaration,this.value=this.stringify.dtdElementValue(N)}return function(l,h){for(var R in h)Z.call(h,R)&&(l[R]=h[R]);function y(){this.constructor=l}y.prototype=h.prototype,l.prototype=new y,l.__super__=h.prototype}(h,l),h.prototype.toString=function(R){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(R))},h}(A)}).call(this)},80015:function(K,Y,d){(function(){var g,A,x,l={}.hasOwnProperty;x=d(63146).isObject,A=d(26627),g=d(42870),K.exports=function(h){function R(y,N,v,k){if(R.__super__.constructor.call(this,y),null==v)throw new Error("Missing DTD entity name. "+this.debugInfo(v));if(null==k)throw new Error("Missing DTD entity value. "+this.debugInfo(v));if(this.pe=!!N,this.name=this.stringify.name(v),this.type=g.EntityDeclaration,x(k)){if(!k.pubID&&!k.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(v));if(k.pubID&&!k.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(v));if(this.internal=!1,null!=k.pubID&&(this.pubID=this.stringify.dtdPubID(k.pubID)),null!=k.sysID&&(this.sysID=this.stringify.dtdSysID(k.sysID)),null!=k.nData&&(this.nData=this.stringify.dtdNData(k.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(v))}else this.value=this.stringify.dtdEntityValue(k),this.internal=!0}return function(h,R){for(var y in R)l.call(R,y)&&(h[y]=R[y]);function N(){this.constructor=h}N.prototype=R.prototype,h.prototype=new N,h.__super__=R.prototype}(R,h),Object.defineProperty(R.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(R.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(R.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(R.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(R.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(R.prototype,"xmlVersion",{get:function(){return null}}),R.prototype.toString=function(y){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(y))},R}(A)}).call(this)},46600:function(K,Y,d){(function(){var g,A,Z={}.hasOwnProperty;A=d(26627),g=d(42870),K.exports=function(l){function h(R,y,N){if(h.__super__.constructor.call(this,R),null==y)throw new Error("Missing DTD notation name. "+this.debugInfo(y));if(!N.pubID&&!N.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(y));this.name=this.stringify.name(y),this.type=g.NotationDeclaration,null!=N.pubID&&(this.pubID=this.stringify.dtdPubID(N.pubID)),null!=N.sysID&&(this.sysID=this.stringify.dtdSysID(N.sysID))}return function(l,h){for(var R in h)Z.call(h,R)&&(l[R]=h[R]);function y(){this.constructor=l}y.prototype=h.prototype,l.prototype=new y,l.__super__=h.prototype}(h,l),Object.defineProperty(h.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(h.prototype,"systemId",{get:function(){return this.sysID}}),h.prototype.toString=function(R){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(R))},h}(A)}).call(this)},29413:function(K,Y,d){(function(){var g,A,x,l={}.hasOwnProperty;x=d(63146).isObject,A=d(26627),g=d(42870),K.exports=function(h){function R(y,N,v,k){var P;R.__super__.constructor.call(this,y),x(N)&&(N=(P=N).version,v=P.encoding,k=P.standalone),N||(N="1.0"),this.type=g.Declaration,this.version=this.stringify.xmlVersion(N),null!=v&&(this.encoding=this.stringify.xmlEncoding(v)),null!=k&&(this.standalone=this.stringify.xmlStandalone(k))}return function(h,R){for(var y in R)l.call(R,y)&&(h[y]=R[y]);function N(){this.constructor=h}N.prototype=R.prototype,h.prototype=new N,h.__super__=R.prototype}(R,h),R.prototype.toString=function(y){return this.options.writer.declaration(this,this.options.writer.filterOptions(y))},R}(A)}).call(this)},67905:function(K,Y,d){(function(){var g,r,A,x,Z,h,R,y,v={}.hasOwnProperty;y=d(63146).isObject,R=d(26627),g=d(42870),r=d(70438),x=d(80015),A=d(33020),Z=d(46600),h=d(25631),K.exports=function(k){function P(L,I,G){var B,S,U,m,p,u;if(P.__super__.constructor.call(this,L),this.type=g.DocType,L.children)for(S=0,U=(m=L.children).length;S<U;S++)if((B=m[S]).type===g.Element){this.name=B.name;break}this.documentObject=L,y(I)&&(I=(p=I).pubID,G=p.sysID),null==G&&(G=(u=[I,G])[0],I=u[1]),null!=I&&(this.pubID=this.stringify.dtdPubID(I)),null!=G&&(this.sysID=this.stringify.dtdSysID(G))}return function(k,P){for(var L in P)v.call(P,L)&&(k[L]=P[L]);function I(){this.constructor=k}I.prototype=P.prototype,k.prototype=new I,k.__super__=P.prototype}(P,k),Object.defineProperty(P.prototype,"entities",{get:function(){var L,I,G,B,S;for(B={},I=0,G=(S=this.children).length;I<G;I++)(L=S[I]).type===g.EntityDeclaration&&!L.pe&&(B[L.name]=L);return new h(B)}}),Object.defineProperty(P.prototype,"notations",{get:function(){var L,I,G,B,S;for(B={},I=0,G=(S=this.children).length;I<G;I++)(L=S[I]).type===g.NotationDeclaration&&(B[L.name]=L);return new h(B)}}),Object.defineProperty(P.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(P.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(P.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),P.prototype.element=function(L,I){var G;return G=new A(this,L,I),this.children.push(G),this},P.prototype.attList=function(L,I,G,B,S){var U;return U=new r(this,L,I,G,B,S),this.children.push(U),this},P.prototype.entity=function(L,I){var G;return G=new x(this,!1,L,I),this.children.push(G),this},P.prototype.pEntity=function(L,I){var G;return G=new x(this,!0,L,I),this.children.push(G),this},P.prototype.notation=function(L,I){var G;return G=new Z(this,L,I),this.children.push(G),this},P.prototype.toString=function(L){return this.options.writer.docType(this,this.options.writer.filterOptions(L))},P.prototype.ele=function(L,I){return this.element(L,I)},P.prototype.att=function(L,I,G,B,S){return this.attList(L,I,G,B,S)},P.prototype.ent=function(L,I){return this.entity(L,I)},P.prototype.pent=function(L,I){return this.pEntity(L,I)},P.prototype.not=function(L,I){return this.notation(L,I)},P.prototype.up=function(){return this.root()||this.documentObject},P.prototype.isEqualNode=function(L){return!(!P.__super__.isEqualNode.apply(this,arguments).isEqualNode(L)||L.name!==this.name||L.publicId!==this.publicId||L.systemId!==this.systemId)},P}(R)}).call(this)},32008:function(K,Y,d){(function(){var g,r,A,Z,l,h,R,N={}.hasOwnProperty;R=d(63146).isPlainObject,A=d(57951),r=d(34817),Z=d(26627),g=d(42870),h=d(93258),l=d(28337),K.exports=function(v){function k(P){k.__super__.constructor.call(this,null),this.name="#document",this.type=g.Document,this.documentURI=null,this.domConfig=new r,P||(P={}),P.writer||(P.writer=new l),this.options=P,this.stringify=new h(P)}return function(v,k){for(var P in k)N.call(k,P)&&(v[P]=k[P]);function L(){this.constructor=v}L.prototype=k.prototype,v.prototype=new L,v.__super__=k.prototype}(k,v),Object.defineProperty(k.prototype,"implementation",{value:new A}),Object.defineProperty(k.prototype,"doctype",{get:function(){var P,L,I,G;for(L=0,I=(G=this.children).length;L<I;L++)if((P=G[L]).type===g.DocType)return P;return null}}),Object.defineProperty(k.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(k.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(k.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(k.prototype,"xmlEncoding",{get:function(){return 0!==this.children.length&&this.children[0].type===g.Declaration?this.children[0].encoding:null}}),Object.defineProperty(k.prototype,"xmlStandalone",{get:function(){return 0!==this.children.length&&this.children[0].type===g.Declaration&&"yes"===this.children[0].standalone}}),Object.defineProperty(k.prototype,"xmlVersion",{get:function(){return 0!==this.children.length&&this.children[0].type===g.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(k.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(k.prototype,"origin",{get:function(){return null}}),Object.defineProperty(k.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(k.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(k.prototype,"contentType",{get:function(){return null}}),k.prototype.end=function(P){var L;return L={},P?R(P)&&(L=P,P=this.options.writer):P=this.options.writer,P.document(this,P.filterOptions(L))},k.prototype.toString=function(P){return this.options.writer.document(this,this.options.writer.filterOptions(P))},k.prototype.createElement=function(P){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.createTextNode=function(P){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.createComment=function(P){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.createCDATASection=function(P){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.createProcessingInstruction=function(P,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.createAttribute=function(P){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.createEntityReference=function(P){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.getElementsByTagName=function(P){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.importNode=function(P,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.createElementNS=function(P,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.createAttributeNS=function(P,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.getElementsByTagNameNS=function(P,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.getElementById=function(P){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.adoptNode=function(P){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.renameNode=function(P,L,I){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.getElementsByClassName=function(P){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.createEvent=function(P){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.createNodeIterator=function(P,L,I){throw new Error("This DOM method is not implemented."+this.debugInfo())},k.prototype.createTreeWalker=function(P,L,I){throw new Error("This DOM method is not implemented."+this.debugInfo())},k}(Z)}).call(this)},25795:function(K,Y,d){(function(){var g,r,A,x,Z,l,h,R,y,N,v,k,L,I,G,B,S,U,m,p,u,E,e,f={}.hasOwnProperty;e=d(63146),u=e.isObject,p=e.isFunction,E=e.isPlainObject,m=e.getValue,g=d(42870),k=d(32008),L=d(17770),x=d(19832),Z=d(73940),G=d(99166),U=d(80504),I=d(12726),N=d(29413),v=d(67905),l=d(70438),R=d(80015),h=d(33020),y=d(46600),A=d(88828),S=d(93258),B=d(28337),r=d(47159),K.exports=function(){function $(M,q,z){var V;this.name="?xml",this.type=g.Document,M||(M={}),V={},M.writer?E(M.writer)&&(V=M.writer,M.writer=new B):M.writer=new B,this.options=M,this.writer=M.writer,this.writerOptions=this.writer.filterOptions(V),this.stringify=new S(M),this.onDataCallback=q||function(){},this.onEndCallback=z||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return $.prototype.createChildNode=function(M){var z,V,le,de,ne,pe,ue;switch(M.type){case g.CData:this.cdata(M.value);break;case g.Comment:this.comment(M.value);break;case g.Element:for(z in V={},pe=M.attribs)f.call(pe,z)&&(V[z]=pe[z].value);this.node(M.name,V);break;case g.Dummy:this.dummy();break;case g.Raw:this.raw(M.value);break;case g.Text:this.text(M.value);break;case g.ProcessingInstruction:this.instruction(M.target,M.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+M.constructor.name)}for(de=0,ne=(ue=M.children).length;de<ne;de++)this.createChildNode(le=ue[de]),le.type===g.Element&&this.up();return this},$.prototype.dummy=function(){return this},$.prototype.node=function(M,q,z){var V;if(null==M)throw new Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node. "+this.debugInfo(M));return this.openCurrent(),M=m(M),null==q&&(q={}),q=m(q),u(q)||(z=(V=[q,z])[0],q=V[1]),this.currentNode=new L(this,M,q),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=z&&this.text(z),this},$.prototype.element=function(M,q,z){var V,le,de,ne,pe,ue;if(this.currentNode&&this.currentNode.type===g.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(M)||u(M)||p(M))for(ne=this.options.noValidation,this.options.noValidation=!0,(ue=new k(this.options).element("TEMP_ROOT")).element(M),this.options.noValidation=ne,le=0,de=(pe=ue.children).length;le<de;le++)this.createChildNode(V=pe[le]),V.type===g.Element&&this.up();else this.node(M,q,z);return this},$.prototype.attribute=function(M,q){var z;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(M));if(null!=M&&(M=m(M)),u(M))for(z in M)f.call(M,z)&&this.attribute(z,M[z]);else p(q)&&(q=q.apply()),this.options.keepNullAttributes&&null==q?this.currentNode.attribs[M]=new A(this,M,""):null!=q&&(this.currentNode.attribs[M]=new A(this,M,q));return this},$.prototype.text=function(M){var q;return this.openCurrent(),q=new U(this,M),this.onData(this.writer.text(q,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},$.prototype.cdata=function(M){var q;return this.openCurrent(),q=new x(this,M),this.onData(this.writer.cdata(q,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},$.prototype.comment=function(M){var q;return this.openCurrent(),q=new Z(this,M),this.onData(this.writer.comment(q,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},$.prototype.raw=function(M){var q;return this.openCurrent(),q=new G(this,M),this.onData(this.writer.raw(q,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},$.prototype.instruction=function(M,q){var z,V,de,ne;if(this.openCurrent(),null!=M&&(M=m(M)),null!=q&&(q=m(q)),Array.isArray(M))for(z=0,de=M.length;z<de;z++)this.instruction(V=M[z]);else if(u(M))for(V in M)f.call(M,V)&&this.instruction(V,M[V]);else p(q)&&(q=q.apply()),ne=new I(this,M,q),this.onData(this.writer.processingInstruction(ne,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},$.prototype.declaration=function(M,q,z){var V;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return V=new N(this,M,q,z),this.onData(this.writer.declaration(V,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},$.prototype.doctype=function(M,q,z){if(this.openCurrent(),null==M)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new v(this,q,z),this.currentNode.rootNodeName=M,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},$.prototype.dtdElement=function(M,q){var z;return this.openCurrent(),z=new h(this,M,q),this.onData(this.writer.dtdElement(z,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},$.prototype.attList=function(M,q,z,V,le){var de;return this.openCurrent(),de=new l(this,M,q,z,V,le),this.onData(this.writer.dtdAttList(de,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},$.prototype.entity=function(M,q){var z;return this.openCurrent(),z=new R(this,!1,M,q),this.onData(this.writer.dtdEntity(z,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},$.prototype.pEntity=function(M,q){var z;return this.openCurrent(),z=new R(this,!0,M,q),this.onData(this.writer.dtdEntity(z,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},$.prototype.notation=function(M,q){var z;return this.openCurrent(),z=new y(this,M,q),this.onData(this.writer.dtdNotation(z,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},$.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},$.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},$.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},$.prototype.openNode=function(M){var z,V,le;if(!M.isOpen){if(!this.root&&0===this.currentLevel&&M.type===g.Element&&(this.root=M),z="",M.type===g.Element){for(V in this.writerOptions.state=r.OpenTag,z=this.writer.indent(M,this.writerOptions,this.currentLevel)+"<"+M.name,le=M.attribs)f.call(le,V)&&(z+=this.writer.attribute(le[V],this.writerOptions,this.currentLevel));z+=(M.children?">":"/>")+this.writer.endline(M,this.writerOptions,this.currentLevel),this.writerOptions.state=r.InsideTag}else this.writerOptions.state=r.OpenTag,z=this.writer.indent(M,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+M.rootNodeName,M.pubID&&M.sysID?z+=' PUBLIC "'+M.pubID+'" "'+M.sysID+'"':M.sysID&&(z+=' SYSTEM "'+M.sysID+'"'),M.children?(z+=" [",this.writerOptions.state=r.InsideTag):(this.writerOptions.state=r.CloseTag,z+=">"),z+=this.writer.endline(M,this.writerOptions,this.currentLevel);return this.onData(z,this.currentLevel),M.isOpen=!0}},$.prototype.closeNode=function(M){var q;if(!M.isClosed)return"",this.writerOptions.state=r.CloseTag,q=M.type===g.Element?this.writer.indent(M,this.writerOptions,this.currentLevel)+"</"+M.name+">"+this.writer.endline(M,this.writerOptions,this.currentLevel):this.writer.indent(M,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(M,this.writerOptions,this.currentLevel),this.writerOptions.state=r.None,this.onData(q,this.currentLevel),M.isClosed=!0},$.prototype.onData=function(M,q){return this.documentStarted=!0,this.onDataCallback(M,q+1)},$.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},$.prototype.debugInfo=function(M){return null==M?"":"node: <"+M+">"},$.prototype.ele=function(){return this.element.apply(this,arguments)},$.prototype.nod=function(M,q,z){return this.node(M,q,z)},$.prototype.txt=function(M){return this.text(M)},$.prototype.dat=function(M){return this.cdata(M)},$.prototype.com=function(M){return this.comment(M)},$.prototype.ins=function(M,q){return this.instruction(M,q)},$.prototype.dec=function(M,q,z){return this.declaration(M,q,z)},$.prototype.dtd=function(M,q,z){return this.doctype(M,q,z)},$.prototype.e=function(M,q,z){return this.element(M,q,z)},$.prototype.n=function(M,q,z){return this.node(M,q,z)},$.prototype.t=function(M){return this.text(M)},$.prototype.d=function(M){return this.cdata(M)},$.prototype.c=function(M){return this.comment(M)},$.prototype.r=function(M){return this.raw(M)},$.prototype.i=function(M,q){return this.instruction(M,q)},$.prototype.att=function(){return this.currentNode&&this.currentNode.type===g.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},$.prototype.a=function(){return this.currentNode&&this.currentNode.type===g.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},$.prototype.ent=function(M,q){return this.entity(M,q)},$.prototype.pent=function(M,q){return this.pEntity(M,q)},$.prototype.not=function(M,q){return this.notation(M,q)},$}()}).call(this)},71616:function(K,Y,d){(function(){var g,A,Z={}.hasOwnProperty;A=d(26627),g=d(42870),K.exports=function(l){function h(R){h.__super__.constructor.call(this,R),this.type=g.Dummy}return function(l,h){for(var R in h)Z.call(h,R)&&(l[R]=h[R]);function y(){this.constructor=l}y.prototype=h.prototype,l.prototype=new y,l.__super__=h.prototype}(h,l),h.prototype.clone=function(){return Object.create(this)},h.prototype.toString=function(R){return""},h}(A)}).call(this)},17770:function(K,Y,d){(function(){var g,r,x,Z,l,h,R,y,v={}.hasOwnProperty;y=d(63146),R=y.isObject,h=y.isFunction,l=y.getValue,Z=d(26627),g=d(42870),r=d(88828),x=d(25631),K.exports=function(k){function P(L,I,G){var B,S,U,m;if(P.__super__.constructor.call(this,L),null==I)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(I),this.type=g.Element,this.attribs={},this.schemaTypeInfo=null,null!=G&&this.attribute(G),L.type===g.Document&&(this.isRoot=!0,this.documentObject=L,L.rootObject=this,L.children))for(S=0,U=(m=L.children).length;S<U;S++)if((B=m[S]).type===g.DocType){B.name=this.name;break}}return function(k,P){for(var L in P)v.call(P,L)&&(k[L]=P[L]);function I(){this.constructor=k}I.prototype=P.prototype,k.prototype=new I,k.__super__=P.prototype}(P,k),Object.defineProperty(P.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(P.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(P.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(P.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(P.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(P.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(P.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(P.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new x(this.attribs)),this.attributeMap}}),P.prototype.clone=function(){var I,G,B;for(I in(G=Object.create(this)).isRoot&&(G.documentObject=null),G.attribs={},B=this.attribs)v.call(B,I)&&(G.attribs[I]=B[I].clone());return G.children=[],this.children.forEach(function(S){var U;return(U=S.clone()).parent=G,G.children.push(U)}),G},P.prototype.attribute=function(L,I){var G;if(null!=L&&(L=l(L)),R(L))for(G in L)v.call(L,G)&&this.attribute(G,L[G]);else h(I)&&(I=I.apply()),this.options.keepNullAttributes&&null==I?this.attribs[L]=new r(this,L,""):null!=I&&(this.attribs[L]=new r(this,L,I));return this},P.prototype.removeAttribute=function(L){var G,B;if(null==L)throw new Error("Missing attribute name. "+this.debugInfo());if(L=l(L),Array.isArray(L))for(G=0,B=L.length;G<B;G++)delete this.attribs[L[G]];else delete this.attribs[L];return this},P.prototype.toString=function(L){return this.options.writer.element(this,this.options.writer.filterOptions(L))},P.prototype.att=function(L,I){return this.attribute(L,I)},P.prototype.a=function(L,I){return this.attribute(L,I)},P.prototype.getAttribute=function(L){return this.attribs.hasOwnProperty(L)?this.attribs[L].value:null},P.prototype.setAttribute=function(L,I){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.getAttributeNode=function(L){return this.attribs.hasOwnProperty(L)?this.attribs[L]:null},P.prototype.setAttributeNode=function(L){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.removeAttributeNode=function(L){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.getElementsByTagName=function(L){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.getAttributeNS=function(L,I){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.setAttributeNS=function(L,I,G){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.removeAttributeNS=function(L,I){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.getAttributeNodeNS=function(L,I){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.setAttributeNodeNS=function(L){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.getElementsByTagNameNS=function(L,I){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.hasAttribute=function(L){return this.attribs.hasOwnProperty(L)},P.prototype.hasAttributeNS=function(L,I){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.setIdAttribute=function(L,I){return this.attribs.hasOwnProperty(L)?this.attribs[L].isId:I},P.prototype.setIdAttributeNS=function(L,I,G){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.setIdAttributeNode=function(L,I){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.getElementsByTagName=function(L){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.getElementsByTagNameNS=function(L,I){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.getElementsByClassName=function(L){throw new Error("This DOM method is not implemented."+this.debugInfo())},P.prototype.isEqualNode=function(L){var I,G,B;if(!P.__super__.isEqualNode.apply(this,arguments).isEqualNode(L)||L.namespaceURI!==this.namespaceURI||L.prefix!==this.prefix||L.localName!==this.localName||L.attribs.length!==this.attribs.length)return!1;for(I=G=0,B=this.attribs.length-1;0<=B?G<=B:G>=B;I=0<=B?++G:--G)if(!this.attribs[I].isEqualNode(L.attribs[I]))return!1;return!0},P}(Z)}).call(this)},25631:function(K){(function(){K.exports=function(){function d(g){this.nodes=g}return Object.defineProperty(d.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),d.prototype.clone=function(){return this.nodes=null},d.prototype.getNamedItem=function(g){return this.nodes[g]},d.prototype.setNamedItem=function(g){var r;return r=this.nodes[g.nodeName],this.nodes[g.nodeName]=g,r||null},d.prototype.removeNamedItem=function(g){var r;return r=this.nodes[g],delete this.nodes[g],r||null},d.prototype.item=function(g){return this.nodes[Object.keys(this.nodes)[g]]||null},d.prototype.getNamedItemNS=function(g,r){throw new Error("This DOM method is not implemented.")},d.prototype.setNamedItemNS=function(g){throw new Error("This DOM method is not implemented.")},d.prototype.removeNamedItemNS=function(g,r){throw new Error("This DOM method is not implemented.")},d}()}).call(this)},26627:function(K,Y,d){(function(){var g,r,A,x,Z,l,h,R,v,k,P,L,I,G,B,S,U,m={}.hasOwnProperty;U=d(63146),S=U.isObject,B=U.isFunction,G=U.isEmpty,I=U.getValue,R=null,A=null,x=null,Z=null,l=null,P=null,L=null,k=null,h=null,r=null,v=null,g=null,K.exports=function(){function p(u){this.parent=u,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,R||(R=d(17770),A=d(19832),x=d(73940),Z=d(29413),l=d(67905),P=d(99166),L=d(80504),k=d(12726),h=d(71616),r=d(42870),v=d(87137),d(25631),g=d(69053))}return Object.defineProperty(p.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(p.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(p.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(p.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(p.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new v(this.children)),this.childNodeList}}),Object.defineProperty(p.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(p.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(p.prototype,"previousSibling",{get:function(){var u;return u=this.parent.children.indexOf(this),this.parent.children[u-1]||null}}),Object.defineProperty(p.prototype,"nextSibling",{get:function(){var u;return u=this.parent.children.indexOf(this),this.parent.children[u+1]||null}}),Object.defineProperty(p.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(p.prototype,"textContent",{get:function(){var u,E,e,f,$;if(this.nodeType===r.Element||this.nodeType===r.DocumentFragment){for($="",E=0,e=(f=this.children).length;E<e;E++)(u=f[E]).textContent&&($+=u.textContent);return $}return null},set:function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),p.prototype.setParent=function(u){var e,f,$,M;for(this.parent=u,u&&(this.options=u.options,this.stringify=u.stringify),M=[],e=0,f=($=this.children).length;e<f;e++)M.push($[e].setParent(this));return M},p.prototype.element=function(u,E,e){var f,M,q,z,V,le,de,ne,pe,ue;if(V=null,null===E&&null==e&&(E=(ne=[{},null])[0],e=ne[1]),null==E&&(E={}),E=I(E),S(E)||(e=(pe=[E,e])[0],E=pe[1]),null!=u&&(u=I(u)),Array.isArray(u))for(M=0,le=u.length;M<le;M++)V=this.element(u[M]);else if(B(u))V=this.element(u.apply());else if(S(u)){for(z in u)if(m.call(u,z))if(B(ue=u[z])&&(ue=ue.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===z.indexOf(this.stringify.convertAttKey))V=this.attribute(z.substr(this.stringify.convertAttKey.length),ue);else if(!this.options.separateArrayItems&&Array.isArray(ue)&&G(ue))V=this.dummy();else if(S(ue)&&G(ue))V=this.element(z);else if(this.options.keepNullNodes||null!=ue)if(!this.options.separateArrayItems&&Array.isArray(ue))for(q=0,de=ue.length;q<de;q++)(f={})[z]=ue[q],V=this.element(f);else S(ue)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===z.indexOf(this.stringify.convertTextKey)?V=this.element(ue):(V=this.element(z)).element(ue):V=this.element(z,ue);else V=this.dummy()}else V=this.options.keepNullNodes||null!==e?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===u.indexOf(this.stringify.convertTextKey)?this.text(e):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===u.indexOf(this.stringify.convertCDataKey)?this.cdata(e):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===u.indexOf(this.stringify.convertCommentKey)?this.comment(e):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===u.indexOf(this.stringify.convertRawKey)?this.raw(e):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===u.indexOf(this.stringify.convertPIKey)?this.instruction(u.substr(this.stringify.convertPIKey.length),e):this.node(u,E,e):this.dummy();if(null==V)throw new Error("Could not create any elements with: "+u+". "+this.debugInfo());return V},p.prototype.insertBefore=function(u,E,e){var f,$,M,q,z;if(u?.type)return q=E,(M=u).setParent(this),q?($=children.indexOf(q),z=children.splice($),children.push(M),Array.prototype.push.apply(children,z)):children.push(M),M;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(u));return $=this.parent.children.indexOf(this),z=this.parent.children.splice($),f=this.parent.element(u,E,e),Array.prototype.push.apply(this.parent.children,z),f},p.prototype.insertAfter=function(u,E,e){var f,$,M;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(u));return $=this.parent.children.indexOf(this),M=this.parent.children.splice($+1),f=this.parent.element(u,E,e),Array.prototype.push.apply(this.parent.children,M),f},p.prototype.remove=function(){var u;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return u=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[u,u-u+1].concat([])),this.parent},p.prototype.node=function(u,E,e){var f,$;return null!=u&&(u=I(u)),E||(E={}),E=I(E),S(E)||(e=($=[E,e])[0],E=$[1]),f=new R(this,u,E),null!=e&&f.text(e),this.children.push(f),f},p.prototype.text=function(u){var E;return S(u)&&this.element(u),E=new L(this,u),this.children.push(E),this},p.prototype.cdata=function(u){var E;return E=new A(this,u),this.children.push(E),this},p.prototype.comment=function(u){var E;return E=new x(this,u),this.children.push(E),this},p.prototype.commentBefore=function(u){var e,f;return e=this.parent.children.indexOf(this),f=this.parent.children.splice(e),this.parent.comment(u),Array.prototype.push.apply(this.parent.children,f),this},p.prototype.commentAfter=function(u){var e,f;return e=this.parent.children.indexOf(this),f=this.parent.children.splice(e+1),this.parent.comment(u),Array.prototype.push.apply(this.parent.children,f),this},p.prototype.raw=function(u){var E;return E=new P(this,u),this.children.push(E),this},p.prototype.dummy=function(){return new h(this)},p.prototype.instruction=function(u,E){var e,$,M,q;if(null!=u&&(u=I(u)),null!=E&&(E=I(E)),Array.isArray(u))for(M=0,q=u.length;M<q;M++)this.instruction(e=u[M]);else if(S(u))for(e in u)m.call(u,e)&&this.instruction(e,u[e]);else B(E)&&(E=E.apply()),$=new k(this,u,E),this.children.push($);return this},p.prototype.instructionBefore=function(u,E){var f,$;return f=this.parent.children.indexOf(this),$=this.parent.children.splice(f),this.parent.instruction(u,E),Array.prototype.push.apply(this.parent.children,$),this},p.prototype.instructionAfter=function(u,E){var f,$;return f=this.parent.children.indexOf(this),$=this.parent.children.splice(f+1),this.parent.instruction(u,E),Array.prototype.push.apply(this.parent.children,$),this},p.prototype.declaration=function(u,E,e){var f,$;return f=this.document(),$=new Z(f,u,E,e),0===f.children.length?f.children.unshift($):f.children[0].type===r.Declaration?f.children[0]=$:f.children.unshift($),f.root()||f},p.prototype.dtd=function(u,E){var f,$,M,q,z,V,le,de,ne;for(f=this.document(),$=new l(f,u,E),M=q=0,V=(de=f.children).length;q<V;M=++q)if(de[M].type===r.DocType)return f.children[M]=$,$;for(M=z=0,le=(ne=f.children).length;z<le;M=++z)if(ne[M].isRoot)return f.children.splice(M,0,$),$;return f.children.push($),$},p.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},p.prototype.root=function(){var u;for(u=this;u;){if(u.type===r.Document)return u.rootObject;if(u.isRoot)return u;u=u.parent}},p.prototype.document=function(){var u;for(u=this;u;){if(u.type===r.Document)return u;u=u.parent}},p.prototype.end=function(u){return this.document().end(u)},p.prototype.prev=function(){var u;if((u=this.parent.children.indexOf(this))<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[u-1]},p.prototype.next=function(){var u;if(-1===(u=this.parent.children.indexOf(this))||u===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[u+1]},p.prototype.importDocument=function(u){var E;return(E=u.root().clone()).parent=this,E.isRoot=!1,this.children.push(E),this},p.prototype.debugInfo=function(u){var E,e;return null!=(u=u||this.name)||null!=(E=this.parent)&&E.name?null==u?"parent: <"+this.parent.name+">":null!=(e=this.parent)&&e.name?"node: <"+u+">, parent: <"+this.parent.name+">":"node: <"+u+">":""},p.prototype.ele=function(u,E,e){return this.element(u,E,e)},p.prototype.nod=function(u,E,e){return this.node(u,E,e)},p.prototype.txt=function(u){return this.text(u)},p.prototype.dat=function(u){return this.cdata(u)},p.prototype.com=function(u){return this.comment(u)},p.prototype.ins=function(u,E){return this.instruction(u,E)},p.prototype.doc=function(){return this.document()},p.prototype.dec=function(u,E,e){return this.declaration(u,E,e)},p.prototype.e=function(u,E,e){return this.element(u,E,e)},p.prototype.n=function(u,E,e){return this.node(u,E,e)},p.prototype.t=function(u){return this.text(u)},p.prototype.d=function(u){return this.cdata(u)},p.prototype.c=function(u){return this.comment(u)},p.prototype.r=function(u){return this.raw(u)},p.prototype.i=function(u,E){return this.instruction(u,E)},p.prototype.u=function(){return this.up()},p.prototype.importXMLBuilder=function(u){return this.importDocument(u)},p.prototype.replaceChild=function(u,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.removeChild=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.appendChild=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.hasChildNodes=function(){return 0!==this.children.length},p.prototype.cloneNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.isSupported=function(u,E){return!0},p.prototype.hasAttributes=function(){return 0!==this.attribs.length},p.prototype.compareDocumentPosition=function(u){var E,e;return(E=this)===u?0:this.document()!==u.document()?(e=g.Disconnected|g.ImplementationSpecific,Math.random()<.5?e|=g.Preceding:e|=g.Following,e):E.isAncestor(u)?g.Contains|g.Preceding:E.isDescendant(u)?g.Contains|g.Following:E.isPreceding(u)?g.Preceding:g.Following},p.prototype.isSameNode=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.lookupPrefix=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.isDefaultNamespace=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.lookupNamespaceURI=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.isEqualNode=function(u){var E,e,f;if(u.nodeType!==this.nodeType||u.children.length!==this.children.length)return!1;for(E=e=0,f=this.children.length-1;0<=f?e<=f:e>=f;E=0<=f?++e:--e)if(!this.children[E].isEqualNode(u.children[E]))return!1;return!0},p.prototype.getFeature=function(u,E){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.setUserData=function(u,E,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.getUserData=function(u){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.contains=function(u){return!!u&&(u===this||this.isDescendant(u))},p.prototype.isDescendant=function(u){var E,f,$,M;for(f=0,$=(M=this.children).length;f<$;f++)if(u===(E=M[f])||E.isDescendant(u))return!0;return!1},p.prototype.isAncestor=function(u){return u.isDescendant(this)},p.prototype.isPreceding=function(u){var E,e;return E=this.treePosition(u),e=this.treePosition(this),-1!==E&&-1!==e&&E<e},p.prototype.isFollowing=function(u){var E,e;return E=this.treePosition(u),e=this.treePosition(this),-1!==E&&-1!==e&&E>e},p.prototype.treePosition=function(u){var E,e;return e=0,E=!1,this.foreachTreeNode(this.document(),function(f){if(e++,!E&&f===u)return E=!0}),E?e:-1},p.prototype.foreachTreeNode=function(u,E){var e,f,$,M,q;for(u||(u=this.document()),f=0,$=(M=u.children).length;f<$;f++){if(q=E(e=M[f]))return q;if(q=this.foreachTreeNode(e,E))return q}},p}()}).call(this)},87137:function(K){(function(){K.exports=function(){function d(g){this.nodes=g}return Object.defineProperty(d.prototype,"length",{get:function(){return this.nodes.length||0}}),d.prototype.clone=function(){return this.nodes=null},d.prototype.item=function(g){return this.nodes[g]||null},d}()}).call(this)},12726:function(K,Y,d){(function(){var g,r,Z={}.hasOwnProperty;g=d(42870),r=d(26068),K.exports=function(l){function h(R,y,N){if(h.__super__.constructor.call(this,R),null==y)throw new Error("Missing instruction target. "+this.debugInfo());this.type=g.ProcessingInstruction,this.target=this.stringify.insTarget(y),this.name=this.target,N&&(this.value=this.stringify.insValue(N))}return function(l,h){for(var R in h)Z.call(h,R)&&(l[R]=h[R]);function y(){this.constructor=l}y.prototype=h.prototype,l.prototype=new y,l.__super__=h.prototype}(h,l),h.prototype.clone=function(){return Object.create(this)},h.prototype.toString=function(R){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(R))},h.prototype.isEqualNode=function(R){return!(!h.__super__.isEqualNode.apply(this,arguments).isEqualNode(R)||R.target!==this.target)},h}(r)}).call(this)},99166:function(K,Y,d){(function(){var g,r,Z={}.hasOwnProperty;g=d(42870),r=d(26627),K.exports=function(l){function h(R,y){if(h.__super__.constructor.call(this,R),null==y)throw new Error("Missing raw text. "+this.debugInfo());this.type=g.Raw,this.value=this.stringify.raw(y)}return function(l,h){for(var R in h)Z.call(h,R)&&(l[R]=h[R]);function y(){this.constructor=l}y.prototype=h.prototype,l.prototype=new y,l.__super__=h.prototype}(h,l),h.prototype.clone=function(){return Object.create(this)},h.prototype.toString=function(R){return this.options.writer.raw(this,this.options.writer.filterOptions(R))},h}(r)}).call(this)},50864:function(K,Y,d){(function(){var g,r,x,l={}.hasOwnProperty;g=d(42870),x=d(56425),r=d(47159),K.exports=function(h){function R(y,N){this.stream=y,R.__super__.constructor.call(this,N)}return function(h,R){for(var y in R)l.call(R,y)&&(h[y]=R[y]);function N(){this.constructor=h}N.prototype=R.prototype,h.prototype=new N,h.__super__=R.prototype}(R,h),R.prototype.endline=function(y,N,v){return y.isLastRootNode&&N.state===r.CloseTag?"":R.__super__.endline.call(this,y,N,v)},R.prototype.document=function(y,N){var k,P,L,I,G,B,S,U;for(k=P=0,I=(B=y.children).length;P<I;k=++P)B[k].isLastRootNode=k===y.children.length-1;for(N=this.filterOptions(N),U=[],L=0,G=(S=y.children).length;L<G;L++)U.push(this.writeChildNode(S[L],N,0));return U},R.prototype.attribute=function(y,N,v){return this.stream.write(R.__super__.attribute.call(this,y,N,v))},R.prototype.cdata=function(y,N,v){return this.stream.write(R.__super__.cdata.call(this,y,N,v))},R.prototype.comment=function(y,N,v){return this.stream.write(R.__super__.comment.call(this,y,N,v))},R.prototype.declaration=function(y,N,v){return this.stream.write(R.__super__.declaration.call(this,y,N,v))},R.prototype.docType=function(y,N,v){var P,L,I;if(v||(v=0),this.openNode(y,N,v),N.state=r.OpenTag,this.stream.write(this.indent(y,N,v)),this.stream.write("<!DOCTYPE "+y.root().name),y.pubID&&y.sysID?this.stream.write(' PUBLIC "'+y.pubID+'" "'+y.sysID+'"'):y.sysID&&this.stream.write(' SYSTEM "'+y.sysID+'"'),y.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(y,N,v)),N.state=r.InsideTag,P=0,L=(I=y.children).length;P<L;P++)this.writeChildNode(I[P],N,v+1);N.state=r.CloseTag,this.stream.write("]")}return N.state=r.CloseTag,this.stream.write(N.spaceBeforeSlash+">"),this.stream.write(this.endline(y,N,v)),N.state=r.None,this.closeNode(y,N,v)},R.prototype.element=function(y,N,v){var L,I,G,B,S,m,p;for(S in v||(v=0),this.openNode(y,N,v),N.state=r.OpenTag,this.stream.write(this.indent(y,N,v)+"<"+y.name),m=y.attribs)l.call(m,S)&&this.attribute(m[S],N,v);if(I=0===(L=y.children.length)?null:y.children[0],0===L||y.children.every(function(u){return(u.type===g.Text||u.type===g.Raw)&&""===u.value}))N.allowEmpty?(this.stream.write(">"),N.state=r.CloseTag,this.stream.write("</"+y.name+">")):(N.state=r.CloseTag,this.stream.write(N.spaceBeforeSlash+"/>"));else if(!N.pretty||1!==L||I.type!==g.Text&&I.type!==g.Raw||null==I.value){for(this.stream.write(">"+this.endline(y,N,v)),N.state=r.InsideTag,G=0,B=(p=y.children).length;G<B;G++)this.writeChildNode(p[G],N,v+1);N.state=r.CloseTag,this.stream.write(this.indent(y,N,v)+"</"+y.name+">")}else this.stream.write(">"),N.state=r.InsideTag,N.suppressPrettyCount++,this.writeChildNode(I,N,v+1),N.suppressPrettyCount--,N.state=r.CloseTag,this.stream.write("</"+y.name+">");return this.stream.write(this.endline(y,N,v)),N.state=r.None,this.closeNode(y,N,v)},R.prototype.processingInstruction=function(y,N,v){return this.stream.write(R.__super__.processingInstruction.call(this,y,N,v))},R.prototype.raw=function(y,N,v){return this.stream.write(R.__super__.raw.call(this,y,N,v))},R.prototype.text=function(y,N,v){return this.stream.write(R.__super__.text.call(this,y,N,v))},R.prototype.dtdAttList=function(y,N,v){return this.stream.write(R.__super__.dtdAttList.call(this,y,N,v))},R.prototype.dtdElement=function(y,N,v){return this.stream.write(R.__super__.dtdElement.call(this,y,N,v))},R.prototype.dtdEntity=function(y,N,v){return this.stream.write(R.__super__.dtdEntity.call(this,y,N,v))},R.prototype.dtdNotation=function(y,N,v){return this.stream.write(R.__super__.dtdNotation.call(this,y,N,v))},R}(x)}).call(this)},28337:function(K,Y,d){(function(){var r,x={}.hasOwnProperty;r=d(56425),K.exports=function(Z){function l(h){l.__super__.constructor.call(this,h)}return function(Z,l){for(var h in l)x.call(l,h)&&(Z[h]=l[h]);function R(){this.constructor=Z}R.prototype=l.prototype,Z.prototype=new R,Z.__super__=l.prototype}(l,Z),l.prototype.document=function(h,R){var N,v,k,P;for(R=this.filterOptions(R),k="",N=0,v=(P=h.children).length;N<v;N++)k+=this.writeChildNode(P[N],R,0);return R.pretty&&k.slice(-R.newline.length)===R.newline&&(k=k.slice(0,-R.newline.length)),k},l}(r)}).call(this)},93258:function(K){(function(){var d=function(r,A){return function(){return r.apply(A,arguments)}},g={}.hasOwnProperty;K.exports=function(){function r(A){var x,Z;for(x in this.assertLegalName=d(this.assertLegalName,this),this.assertLegalChar=d(this.assertLegalChar,this),A||(A={}),this.options=A,this.options.version||(this.options.version="1.0"),Z=A.stringify||{})g.call(Z,x)&&(this[x]=Z[x])}return r.prototype.name=function(A){return this.options.noValidation?A:this.assertLegalName(""+A||"")},r.prototype.text=function(A){return this.options.noValidation?A:this.assertLegalChar(this.textEscape(""+A||""))},r.prototype.cdata=function(A){return this.options.noValidation?A:(A=(A=""+A||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(A))},r.prototype.comment=function(A){if(this.options.noValidation)return A;if((A=""+A||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+A);return this.assertLegalChar(A)},r.prototype.raw=function(A){return this.options.noValidation?A:""+A||""},r.prototype.attValue=function(A){return this.options.noValidation?A:this.assertLegalChar(this.attEscape(A=""+A||""))},r.prototype.insTarget=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},r.prototype.insValue=function(A){if(this.options.noValidation)return A;if((A=""+A||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+A);return this.assertLegalChar(A)},r.prototype.xmlVersion=function(A){if(this.options.noValidation)return A;if(!(A=""+A||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+A);return A},r.prototype.xmlEncoding=function(A){if(this.options.noValidation)return A;if(!(A=""+A||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+A);return this.assertLegalChar(A)},r.prototype.xmlStandalone=function(A){return this.options.noValidation?A:A?"yes":"no"},r.prototype.dtdPubID=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},r.prototype.dtdSysID=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},r.prototype.dtdElementValue=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},r.prototype.dtdAttType=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},r.prototype.dtdAttDefault=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},r.prototype.dtdEntityValue=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},r.prototype.dtdNData=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},r.prototype.convertAttKey="@",r.prototype.convertPIKey="?",r.prototype.convertTextKey="#text",r.prototype.convertCDataKey="#cdata",r.prototype.convertCommentKey="#comment",r.prototype.convertRawKey="#raw",r.prototype.assertLegalChar=function(A){var Z;if(this.options.noValidation)return A;if("1.0"===this.options.version){if(Z=A.match(/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw new Error("Invalid character in string: "+A+" at index "+Z.index)}else if("1.1"===this.options.version&&(Z=A.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/)))throw new Error("Invalid character in string: "+A+" at index "+Z.index);return A},r.prototype.assertLegalName=function(A){if(this.options.noValidation)return A;if(this.assertLegalChar(A),!A.match(/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/))throw new Error("Invalid character in name");return A},r.prototype.textEscape=function(A){return this.options.noValidation?A:A.replace(this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;")},r.prototype.attEscape=function(A){return this.options.noValidation?A:A.replace(this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;")},r}()}).call(this)},80504:function(K,Y,d){(function(){var g,r,Z={}.hasOwnProperty;g=d(42870),r=d(26068),K.exports=function(l){function h(R,y){if(h.__super__.constructor.call(this,R),null==y)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=g.Text,this.value=this.stringify.text(y)}return function(l,h){for(var R in h)Z.call(h,R)&&(l[R]=h[R]);function y(){this.constructor=l}y.prototype=h.prototype,l.prototype=new y,l.__super__=h.prototype}(h,l),Object.defineProperty(h.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(h.prototype,"wholeText",{get:function(){var R,y,N;for(N="",y=this.previousSibling;y;)N=y.data+N,y=y.previousSibling;for(N+=this.data,R=this.nextSibling;R;)N+=R.data,R=R.nextSibling;return N}}),h.prototype.clone=function(){return Object.create(this)},h.prototype.toString=function(R){return this.options.writer.text(this,this.options.writer.filterOptions(R))},h.prototype.splitText=function(R){throw new Error("This DOM method is not implemented."+this.debugInfo())},h.prototype.replaceWholeText=function(R){throw new Error("This DOM method is not implemented."+this.debugInfo())},h}(r)}).call(this)},56425:function(K,Y,d){(function(){var g,r,B,S={}.hasOwnProperty;B=d(63146).assign,g=d(42870),d(29413),d(67905),d(19832),d(73940),d(17770),d(99166),d(80504),d(12726),d(71616),d(70438),d(33020),d(80015),d(46600),r=d(47159),K.exports=function(){function U(m){var p,u,E;for(p in m||(m={}),this.options=m,u=m.writer||{})S.call(u,p)&&(E=u[p],this["_"+p]=this[p],this[p]=E)}return U.prototype.filterOptions=function(m){var p,u,E,e,f,$,M,q;return m||(m={}),m=B({},this.options,m),(p={writer:this}).pretty=m.pretty||!1,p.allowEmpty=m.allowEmpty||!1,p.indent=null!=(u=m.indent)?u:" ",p.newline=null!=(E=m.newline)?E:"\n",p.offset=null!=(e=m.offset)?e:0,p.dontPrettyTextNodes=null!=(f=null!=($=m.dontPrettyTextNodes)?$:m.dontprettytextnodes)?f:0,p.spaceBeforeSlash=null!=(M=null!=(q=m.spaceBeforeSlash)?q:m.spacebeforeslash)?M:"",!0===p.spaceBeforeSlash&&(p.spaceBeforeSlash=" "),p.suppressPrettyCount=0,p.user={},p.state=r.None,p},U.prototype.indent=function(m,p,u){var E;return!p.pretty||p.suppressPrettyCount?"":p.pretty&&(E=(u||0)+p.offset+1)>0?new Array(E).join(p.indent):""},U.prototype.endline=function(m,p,u){return!p.pretty||p.suppressPrettyCount?"":p.newline},U.prototype.attribute=function(m,p,u){var E;return this.openAttribute(m,p,u),E=" "+m.name+'="'+m.value+'"',this.closeAttribute(m,p,u),E},U.prototype.cdata=function(m,p,u){var E;return this.openNode(m,p,u),p.state=r.OpenTag,E=this.indent(m,p,u)+"<![CDATA[",p.state=r.InsideTag,E+=m.value,p.state=r.CloseTag,E+="]]>"+this.endline(m,p,u),p.state=r.None,this.closeNode(m,p,u),E},U.prototype.comment=function(m,p,u){var E;return this.openNode(m,p,u),p.state=r.OpenTag,E=this.indent(m,p,u)+"\x3c!-- ",p.state=r.InsideTag,E+=m.value,p.state=r.CloseTag,E+=" --\x3e"+this.endline(m,p,u),p.state=r.None,this.closeNode(m,p,u),E},U.prototype.declaration=function(m,p,u){var E;return this.openNode(m,p,u),p.state=r.OpenTag,E=this.indent(m,p,u)+"<?xml",p.state=r.InsideTag,E+=' version="'+m.version+'"',null!=m.encoding&&(E+=' encoding="'+m.encoding+'"'),null!=m.standalone&&(E+=' standalone="'+m.standalone+'"'),p.state=r.CloseTag,E+=p.spaceBeforeSlash+"?>",E+=this.endline(m,p,u),p.state=r.None,this.closeNode(m,p,u),E},U.prototype.docType=function(m,p,u){var e,f,$,M;if(u||(u=0),this.openNode(m,p,u),p.state=r.OpenTag,$=this.indent(m,p,u),$+="<!DOCTYPE "+m.root().name,m.pubID&&m.sysID?$+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.sysID&&($+=' SYSTEM "'+m.sysID+'"'),m.children.length>0){for($+=" [",$+=this.endline(m,p,u),p.state=r.InsideTag,e=0,f=(M=m.children).length;e<f;e++)$+=this.writeChildNode(M[e],p,u+1);p.state=r.CloseTag,$+="]"}return p.state=r.CloseTag,$+=p.spaceBeforeSlash+">",$+=this.endline(m,p,u),p.state=r.None,this.closeNode(m,p,u),$},U.prototype.element=function(m,p,u){var e,f,$,M,q,z,V,le,de,ne,pe,ue,he;for(le in u||(u=0),de=!1,ne="",this.openNode(m,p,u),p.state=r.OpenTag,ne+=this.indent(m,p,u)+"<"+m.name,pe=m.attribs)S.call(pe,le)&&(ne+=this.attribute(pe[le],p,u));if($=0===(f=m.children.length)?null:m.children[0],0===f||m.children.every(function(fe){return(fe.type===g.Text||fe.type===g.Raw)&&""===fe.value}))p.allowEmpty?(ne+=">",p.state=r.CloseTag,ne+="</"+m.name+">"+this.endline(m,p,u)):(p.state=r.CloseTag,ne+=p.spaceBeforeSlash+"/>"+this.endline(m,p,u));else if(!p.pretty||1!==f||$.type!==g.Text&&$.type!==g.Raw||null==$.value){if(p.dontPrettyTextNodes)for(M=0,z=(ue=m.children).length;M<z;M++)if(((e=ue[M]).type===g.Text||e.type===g.Raw)&&null!=e.value){p.suppressPrettyCount++,de=!0;break}for(ne+=">"+this.endline(m,p,u),p.state=r.InsideTag,q=0,V=(he=m.children).length;q<V;q++)ne+=this.writeChildNode(e=he[q],p,u+1);p.state=r.CloseTag,ne+=this.indent(m,p,u)+"</"+m.name+">",de&&p.suppressPrettyCount--,ne+=this.endline(m,p,u),p.state=r.None}else ne+=">",p.state=r.InsideTag,p.suppressPrettyCount++,de=!0,ne+=this.writeChildNode($,p,u+1),p.suppressPrettyCount--,de=!1,p.state=r.CloseTag,ne+="</"+m.name+">"+this.endline(m,p,u);return this.closeNode(m,p,u),ne},U.prototype.writeChildNode=function(m,p,u){switch(m.type){case g.CData:return this.cdata(m,p,u);case g.Comment:return this.comment(m,p,u);case g.Element:return this.element(m,p,u);case g.Raw:return this.raw(m,p,u);case g.Text:return this.text(m,p,u);case g.ProcessingInstruction:return this.processingInstruction(m,p,u);case g.Dummy:return"";case g.Declaration:return this.declaration(m,p,u);case g.DocType:return this.docType(m,p,u);case g.AttributeDeclaration:return this.dtdAttList(m,p,u);case g.ElementDeclaration:return this.dtdElement(m,p,u);case g.EntityDeclaration:return this.dtdEntity(m,p,u);case g.NotationDeclaration:return this.dtdNotation(m,p,u);default:throw new Error("Unknown XML node type: "+m.constructor.name)}},U.prototype.processingInstruction=function(m,p,u){var E;return this.openNode(m,p,u),p.state=r.OpenTag,E=this.indent(m,p,u)+"<?",p.state=r.InsideTag,E+=m.target,m.value&&(E+=" "+m.value),p.state=r.CloseTag,E+=p.spaceBeforeSlash+"?>",E+=this.endline(m,p,u),p.state=r.None,this.closeNode(m,p,u),E},U.prototype.raw=function(m,p,u){var E;return this.openNode(m,p,u),p.state=r.OpenTag,E=this.indent(m,p,u),p.state=r.InsideTag,E+=m.value,p.state=r.CloseTag,E+=this.endline(m,p,u),p.state=r.None,this.closeNode(m,p,u),E},U.prototype.text=function(m,p,u){var E;return this.openNode(m,p,u),p.state=r.OpenTag,E=this.indent(m,p,u),p.state=r.InsideTag,E+=m.value,p.state=r.CloseTag,E+=this.endline(m,p,u),p.state=r.None,this.closeNode(m,p,u),E},U.prototype.dtdAttList=function(m,p,u){var E;return this.openNode(m,p,u),p.state=r.OpenTag,E=this.indent(m,p,u)+"<!ATTLIST",p.state=r.InsideTag,E+=" "+m.elementName+" "+m.attributeName+" "+m.attributeType,"#DEFAULT"!==m.defaultValueType&&(E+=" "+m.defaultValueType),m.defaultValue&&(E+=' "'+m.defaultValue+'"'),p.state=r.CloseTag,E+=p.spaceBeforeSlash+">"+this.endline(m,p,u),p.state=r.None,this.closeNode(m,p,u),E},U.prototype.dtdElement=function(m,p,u){var E;return this.openNode(m,p,u),p.state=r.OpenTag,E=this.indent(m,p,u)+"<!ELEMENT",p.state=r.InsideTag,E+=" "+m.name+" "+m.value,p.state=r.CloseTag,E+=p.spaceBeforeSlash+">"+this.endline(m,p,u),p.state=r.None,this.closeNode(m,p,u),E},U.prototype.dtdEntity=function(m,p,u){var E;return this.openNode(m,p,u),p.state=r.OpenTag,E=this.indent(m,p,u)+"<!ENTITY",p.state=r.InsideTag,m.pe&&(E+=" %"),E+=" "+m.name,m.value?E+=' "'+m.value+'"':(m.pubID&&m.sysID?E+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.sysID&&(E+=' SYSTEM "'+m.sysID+'"'),m.nData&&(E+=" NDATA "+m.nData)),p.state=r.CloseTag,E+=p.spaceBeforeSlash+">"+this.endline(m,p,u),p.state=r.None,this.closeNode(m,p,u),E},U.prototype.dtdNotation=function(m,p,u){var E;return this.openNode(m,p,u),p.state=r.OpenTag,E=this.indent(m,p,u)+"<!NOTATION",p.state=r.InsideTag,E+=" "+m.name,m.pubID&&m.sysID?E+=' PUBLIC "'+m.pubID+'" "'+m.sysID+'"':m.pubID?E+=' PUBLIC "'+m.pubID+'"':m.sysID&&(E+=' SYSTEM "'+m.sysID+'"'),p.state=r.CloseTag,E+=p.spaceBeforeSlash+">"+this.endline(m,p,u),p.state=r.None,this.closeNode(m,p,u),E},U.prototype.openNode=function(m,p,u){},U.prototype.closeNode=function(m,p,u){},U.prototype.openAttribute=function(m,p,u){},U.prototype.closeAttribute=function(m,p,u){},U}()}).call(this)},71741:function(K,Y,d){(function(){var g,r,A,x,Z,l,h,R,y,N;N=d(63146),R=N.assign,y=N.isFunction,A=d(57951),x=d(32008),Z=d(25795),h=d(28337),l=d(50864),g=d(42870),r=d(47159),K.exports.create=function(v,k,P,L){var I,G;if(null==v)throw new Error("Root element needs a name.");return L=R({},k,P,L),G=(I=new x(L)).element(v),L.headless||(I.declaration(L),(null!=L.pubID||null!=L.sysID)&&I.dtd(L)),G},K.exports.begin=function(v,k,P){var L;return y(v)&&(k=(L=[v,k])[0],P=L[1],v={}),k?new Z(v,k,P):new x(v)},K.exports.stringWriter=function(v){return new h(v)},K.exports.streamWriter=function(v,k){return new l(v,k)},K.exports.implementation=new A,K.exports.nodeType=g,K.exports.writerState=r}).call(this)},59889:(K,Y,d)=>{"use strict";d.r(Y),d.d(Y,{RgwModule:()=>wn,RoutedRgwModule:()=>Mc});var g=d(88692),r=d(20092),A=d(54247),x=d(51389),Z=d(37496),l=d(79512),h=d(4268),R=d(44466),y=d(66265),N=d(23815),v=d.n(N),k=d(35758),P=d(49277),L=d(95152),I=d(33394),G=d(64762),B=d(35732),S=d(25917),U=d(19773),m=d(96736),p=d(5304),u=d(20523),E=d(93523),e=d(64537);let f=class{constructor(i,t){this.http=i,this.rgwDaemonService=t,this.url="api/rgw/user"}list(){return this.enumerate().pipe((0,U.zg)(i=>i.length>0?(0,k.D)(i.map(t=>this.get(t))):(0,S.of)([])))}enumerate(){return this.rgwDaemonService.request(i=>this.http.get(this.url,{params:i}))}enumerateEmail(){return this.rgwDaemonService.request(i=>this.http.get(`${this.url}/get_emails`,{params:i}))}get(i){return this.rgwDaemonService.request(t=>this.http.get(`${this.url}/${i}`,{params:t}))}getQuota(i){return this.rgwDaemonService.request(t=>this.http.get(`${this.url}/${i}/quota`,{params:t}))}create(i){return this.rgwDaemonService.request(t=>(v().keys(i).forEach(o=>{t=t.append(o,i[o])}),this.http.post(this.url,null,{params:t})))}update(i,t){return this.rgwDaemonService.request(o=>(v().keys(t).forEach(c=>{o=o.append(c,t[c])}),this.http.put(`${this.url}/${i}`,null,{params:o})))}updateQuota(i,t){return this.rgwDaemonService.request(o=>(v().keys(t).forEach(c=>{o=o.append(c,t[c])}),this.http.put(`${this.url}/${i}/quota`,null,{params:o})))}delete(i){return this.rgwDaemonService.request(t=>this.http.delete(`${this.url}/${i}`,{params:t}))}createSubuser(i,t){return this.rgwDaemonService.request(o=>(v().keys(t).forEach(c=>{o=o.append(c,t[c])}),this.http.post(`${this.url}/${i}/subuser`,null,{params:o})))}deleteSubuser(i,t){return this.rgwDaemonService.request(o=>this.http.delete(`${this.url}/${i}/subuser/${t}`,{params:o}))}addCapability(i,t,o){return this.rgwDaemonService.request(c=>(c=(c=c.append("type",t)).append("perm",o),this.http.post(`${this.url}/${i}/capability`,null,{params:c})))}deleteCapability(i,t,o){return this.rgwDaemonService.request(c=>(c=(c=c.append("type",t)).append("perm",o),this.http.delete(`${this.url}/${i}/capability`,{params:c})))}addS3Key(i,t){return this.rgwDaemonService.request(o=>(o=o.append("key_type","s3"),v().keys(t).forEach(c=>{o=o.append(c,t[c])}),this.http.post(`${this.url}/${i}/key`,null,{params:o})))}deleteS3Key(i,t){return this.rgwDaemonService.request(o=>(o=(o=o.append("key_type","s3")).append("access_key",t),this.http.delete(`${this.url}/${i}/key`,{params:o})))}exists(i){return this.get(i).pipe((0,m.h)(!0),(0,p.K)(t=>(v().isFunction(t.preventDefault)&&t.preventDefault(),(0,S.of)(!1))))}emailExists(i){return i=decodeURIComponent(i),this.enumerateEmail().pipe((0,U.zg)(t=>{const o=v().indexOf(t,i);return(0,S.of)(-1!==o)}))}};f.\u0275fac=function(i){return new(i||f)(e.LFG(B.eN),e.LFG(u.b))},f.\u0275prov=e.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f=(0,G.gn)([E.o,(0,G.w6)("design:paramtypes",[B.eN,u.b])],f);var $=d(65862),M=d(18001),q=d(93614),z=d(90070),V=d(97161);class le{constructor(){this.kmsProviders=["vault"],this.authMethods=["token","agent"],this.secretEngines=["kv","transit"],this.sse_s3="AES256",this.sse_kms="aws:kms"}}var de=(()=>{return(n=de||(de={})).ENABLED="Enabled",n.DISABLED="Disabled",de;var n})(),ne=(()=>{return(n=ne||(ne={})).Read="Read",n.Write="Write",n.All="Read and write",n.FullControl="Full control",ne;var n})(),pe=(()=>{return(n=pe||(pe={})).Owner="Owner",n.Everyone="Everyone",n.AuthenticatedUsers="Authenticated Users",pe;var n})(),ue=(()=>{return(n=ue||(ue={})).ENABLED="Enabled",n.SUSPENDED="Suspended",ue;var n})(),he=d(62862),fe=d(18372),Ie=d(60312),we=d(30839),Oe=d(87925),Ae=d(94276),We=d(56310),C=d(41582);function a(n,i){1&n&&(e.TgZ(0,"option",29),e.SDv(1,30),e.qZA()),2&n&&e.Q6J("ngValue",null)}function w(n,i){if(1&n&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function W(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,33),e.qZA())}function ie(n,i){if(1&n&&(e.TgZ(0,"div")(1,"div",7)(2,"label",22),e.SDv(3,23),e.qZA(),e.TgZ(4,"div",24)(5,"select",25),e.YNc(6,a,2,1,"option",26),e.YNc(7,w,2,2,"option",27),e.qZA(),e.YNc(8,W,2,0,"span",28),e.qZA()()()),2&n){const t=e.oxw(),o=e.MAs(5);e.xp6(6),e.Q6J("ngIf",null!==t.kmsProviders),e.xp6(1),e.Q6J("ngForOf",t.kmsProviders),e.xp6(1),e.Q6J("ngIf",t.configForm.showError("kms_provider",o,"required"))}}function ae(n,i){if(1&n&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function b(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,37),e.qZA())}function D(n,i){if(1&n&&(e.TgZ(0,"div")(1,"div",7)(2,"label",34),e.SDv(3,35),e.qZA(),e.TgZ(4,"div",24)(5,"select",36),e.YNc(6,ae,2,2,"option",27),e.qZA(),e.YNc(7,b,2,0,"span",28),e.qZA()()()),2&n){const t=e.oxw(),o=e.MAs(5);e.xp6(6),e.Q6J("ngForOf",t.authMethods),e.xp6(1),e.Q6J("ngIf",t.configForm.showError("auth_method",o,"required"))}}function T(n,i){if(1&n&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function _(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,41),e.qZA())}function s(n,i){if(1&n&&(e.TgZ(0,"div")(1,"div",7)(2,"label",38),e.SDv(3,39),e.qZA(),e.TgZ(4,"div",24)(5,"select",40),e.YNc(6,T,2,2,"option",27),e.qZA(),e.YNc(7,_,2,0,"span",28),e.qZA()()()),2&n){const t=e.oxw(),o=e.MAs(5);e.xp6(6),e.Q6J("ngForOf",t.secretEngines),e.xp6(1),e.Q6J("ngIf",t.configForm.showError("secret_engine",o,"required"))}}function F(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,45),e.qZA())}function X(n,i){if(1&n&&(e.TgZ(0,"div")(1,"div",7)(2,"label",42),e.SDv(3,43),e.qZA(),e.TgZ(4,"div",24),e._UZ(5,"input",44),e.YNc(6,F,2,0,"span",28),e.qZA()()()),2&n){const t=e.oxw(),o=e.MAs(5);e.xp6(6),e.Q6J("ngIf",t.configForm.showError("secret_path",o,"required"))}}function ee(n,i){1&n&&(e.TgZ(0,"div")(1,"div",7)(2,"label",46),e.SDv(3,47),e.qZA(),e.TgZ(4,"div",24),e._UZ(5,"input",48),e.qZA()()())}function te(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,52),e.qZA())}function ge(n,i){if(1&n&&(e.TgZ(0,"div")(1,"div",7)(2,"label",49),e.SDv(3,50),e.qZA(),e.TgZ(4,"div",24),e._UZ(5,"input",51),e.YNc(6,te,2,0,"span",28),e.qZA()()()),2&n){const t=e.oxw(),o=e.MAs(5);e.xp6(6),e.Q6J("ngIf",t.configForm.showError("address",o,"required"))}}function Ce(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,57),e.qZA())}function Ne(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"div",7)(1,"label",53)(2,"span"),e.SDv(3,54),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,55),e.qZA()(),e.TgZ(6,"div",24)(7,"input",56),e.NdJ("change",function(c){e.CHM(t);const O=e.oxw();return e.KtG(O.fileUpload(c.target.files,"token"))}),e.qZA(),e.YNc(8,Ce,2,0,"span",28),e.qZA()()}if(2&n){const t=e.oxw(),o=e.MAs(5);e.xp6(8),e.Q6J("ngIf",t.configForm.showError("token",o,"required"))}}function Ze(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,62),e.qZA())}function be(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"div",7)(2,"label",58)(3,"span"),e.SDv(4,59),e.qZA(),e.TgZ(5,"cd-helper"),e.SDv(6,60),e.qZA()(),e.TgZ(7,"div",24)(8,"input",61),e.NdJ("change",function(c){e.CHM(t);const O=e.oxw();return e.KtG(O.fileUpload(c.target.files,"ssl_cert"))}),e.qZA(),e.YNc(9,Ze,2,0,"span",28),e.qZA()()()}if(2&n){const t=e.oxw(),o=e.MAs(5);e.xp6(9),e.Q6J("ngIf",t.configForm.showError("ssl_cert",o,"required"))}}function ze(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,67),e.qZA())}function qe(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"div",7)(2,"label",63)(3,"span"),e.SDv(4,64),e.qZA(),e.TgZ(5,"cd-helper"),e.SDv(6,65),e.qZA()(),e.TgZ(7,"div",24)(8,"input",66),e.NdJ("change",function(c){e.CHM(t);const O=e.oxw();return e.KtG(O.fileUpload(c.target.files,"client_cert"))}),e.qZA(),e.YNc(9,ze,2,0,"span",28),e.qZA()()()}if(2&n){const t=e.oxw(),o=e.MAs(5);e.xp6(9),e.Q6J("ngIf",t.configForm.showError("client_cert",o,"required"))}}function Be(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,72),e.qZA())}function Ke(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"div",7)(2,"label",68)(3,"span"),e.SDv(4,69),e.qZA(),e.TgZ(5,"cd-helper"),e.SDv(6,70),e.qZA()(),e.TgZ(7,"div",24)(8,"input",71),e.NdJ("change",function(c){e.CHM(t);const O=e.oxw();return e.KtG(O.fileUpload(c.target.files,"client_key"))}),e.qZA(),e.YNc(9,Be,2,0,"span",28),e.qZA()()()}if(2&n){const t=e.oxw(),o=e.MAs(5);e.xp6(9),e.Q6J("ngIf",t.configForm.showError("client_key",o,"required"))}}let $n=(()=>{class n{constructor(t,o,c,O,H,Q,J){this.formBuilder=t,this.activeModal=o,this.router=c,this.actionLabels=O,this.rgwBucketService=H,this.rgwEncryptionModal=Q,this.notificationService=J,this.vaultAddress=/^((https?:\/\/)|(www.))(?:([a-zA-Z]+)|(\d+\.\d+.\d+.\d+)):\d{4}$/,this.submitAction=new e.vpe,this.createForm()}ngOnInit(){this.kmsProviders=this.rgwEncryptionModal.kmsProviders,this.authMethods=this.rgwEncryptionModal.authMethods,this.secretEngines=this.rgwEncryptionModal.secretEngines}createForm(){this.configForm=this.formBuilder.group({address:[null,[r.kI.required,z.h.custom("vaultPattern",t=>!v().isEmpty(t)&&!this.vaultAddress.test(t))]],kms_provider:["vault",r.kI.required],encryptionType:["aws:kms",r.kI.required],auth_method:["token",r.kI.required],secret_engine:["kv",r.kI.required],secret_path:["/"],namespace:[null],token:[null,[z.h.requiredIf({auth_method:"token"})]],ssl_cert:[null,z.h.sslCert()],client_cert:[null,z.h.pemCert()],client_key:[null,z.h.sslPrivKey()],kmsEnabled:[{value:!1}],s3Enabled:[{value:!1}]})}fileUpload(t,o){const c=t[0];(new FileReader).addEventListener("load",()=>{const H=this.configForm.get(o);H.setValue(c),H.markAsDirty(),H.markAsTouched(),H.updateValueAndValidity()})}onSubmit(){const t=this.configForm.value;this.rgwBucketService.setEncryptionConfig(t.encryptionType,t.kms_provider,t.auth_method,t.secret_engine,t.secret_path,t.namespace,t.address,t.token,t.owner,t.ssl_cert,t.client_cert,t.client_key).subscribe({next:()=>{this.notificationService.show(M.k.success,"Updated RGW Encryption Configuration values")},error:o=>{this.notificationService.show(M.k.error,o),this.configForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close(),this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate([this.router.url])}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(he.O),e.Y36(x.Kz),e.Y36(A.F0),e.Y36(l.p4),e.Y36(L.o),e.Y36(le),e.Y36(V.g))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-config-modal"]],outputs:{submitAction:"submitAction"},features:[e._Bn([le])],decls:30,vars:14,consts:function(){let i,t,o,c,O,H,Q,J,j,oe,Te,Me,Fe,Pe,me,Ge,ye,Le,Ee,Ue,$e,xe,De,ve,se,Re,ce,Je;return i="Update RGW Encryption Configurations",t="Encryption Type",o="SSE-S3 Encryption",c="SSE-KMS Encryption",O="Key management service provider",H="-- Select a provider --",Q="This field is required.",J="Authentication Method",j="This field is required.",oe="Secret Engine",Te="This field is required.",Me="Secret Path ",Fe="This field is required.",Pe="Namespace ",me="Vault Address ",Ge="This field is required.",ye="Token",Le=" The token authentication method expects a Vault token to be present in a plaintext file. ",Ee="This field is required.",Ue="CA Certificate",$e="The SSL certificate in PEM format.",xe="This field is required.",De="Client Certificate",ve="The Client certificate in PEM format.",se="This field is required.",Re="Client Private Key",ce="The Client Private Key in PEM format.",Je="This field is required.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","configForm",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","encryptionType",1,"cd-col-form-label","required"],t,[1,"col-md-auto","custom-checkbox","form-check-inline","ms-3"],["formControlName","encryptionType","id","s3Enabled","type","radio","name","encryptionType","value","AES256",1,"form-check-input"],["for","s3Enabled",1,"custom-check-label"],o,[1,"col-md-auto","custom-checkbox","form-check-inline"],["formControlName","encryptionType","id","kmsEnabled","name","encryptionType","value","aws:kms","type","radio",1,"form-check-input"],["for","kmsEnabled",1,"custom-check-label"],c,[4,"ngIf"],["class","form-group row",4,"ngIf"],[1,"modal-footer"],[3,"submitText","form","submitActionEvent"],["for","kms_provider",1,"cd-col-form-label","required"],O,[1,"cd-col-form-input"],["id","kms_provider","name","kms_provider","formControlName","kms_provider",1,"form-select"],[3,"ngValue",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],[3,"ngValue"],H,[3,"value"],[1,"invalid-feedback"],Q,["for","auth_method",1,"cd-col-form-label","required"],J,["id","auth_method","name","auth_method","formControlName","auth_method",1,"form-select"],j,["for","secret_engine",1,"cd-col-form-label","required"],oe,["id","secret_engine","name","secret_engine","formControlName","secret_engine",1,"form-select"],Te,["for","secret_path",1,"cd-col-form-label"],Me,["id","secret_path","name","secret_path","type","text","formControlName","secret_path",1,"form-control"],Fe,["for","namespace",1,"cd-col-form-label"],Pe,["id","namespace","name","namespace","type","text","formControlName","namespace",1,"form-control"],["for","address",1,"cd-col-form-label","required"],me,["id","address","name","address","formControlName","address","placeholder","http://127.0.0.1:8000",1,"form-control"],Ge,["for","token",1,"cd-col-form-label","required"],ye,Le,["type","file","formControlName","token",3,"change"],Ee,["for","ssl_cert",1,"cd-col-form-label"],Ue,$e,["type","file","formControlName","ssl_cert",3,"change"],xe,["for","client_cert",1,"cd-col-form-label"],De,ve,["type","file","formControlName","client_cert",3,"change"],se,["for","client_key",1,"cd-col-form-label"],Re,ce,["type","file",3,"change"],Je]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"div",7)(8,"label",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"div",10),e._UZ(11,"input",11),e.TgZ(12,"label",12),e.SDv(13,13),e.qZA()(),e.TgZ(14,"div",14),e._UZ(15,"input",15),e.TgZ(16,"label",16),e.SDv(17,17),e.qZA()()(),e.YNc(18,ie,9,3,"div",18),e.YNc(19,D,8,2,"div",18),e.YNc(20,s,8,2,"div",18),e.YNc(21,X,7,1,"div",18),e.YNc(22,ee,6,0,"div",18),e.YNc(23,ge,7,1,"div",18),e.YNc(24,Ne,9,1,"div",19),e.YNc(25,be,10,1,"div",18),e.YNc(26,qe,10,1,"div",18),e.YNc(27,Ke,10,1,"div",18),e.qZA(),e.TgZ(28,"div",20)(29,"cd-form-button-panel",21),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.configForm),e.xp6(14),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","token"===o.configForm.getValue("auth_method")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(1),e.Q6J("ngIf","aws:kms"===o.configForm.getValue("encryptionType")||"AES256"===o.configForm.getValue("encryptionType")),e.xp6(2),e.Q6J("submitText",o.actionLabels.SUBMIT)("form",o.configForm))},dependencies:[g.sg,g.O5,fe.S,Ie.z,we.p,Oe.o,Ae.b,We.P,C.V,r._Y,r.YN,r.Kr,r.Fj,r.EJ,r._,r.JJ,r.JL,r.sg,r.u]}),n})();function xn(n,i){1&n&&(e.TgZ(0,"span",18),e.SDv(1,19),e.qZA())}function Zn(n,i){1&n&&(e.TgZ(0,"span",18),e.SDv(1,20),e.qZA())}function kn(n,i){1&n&&(e.TgZ(0,"span",18),e.SDv(1,21),e.qZA())}function Bn(n,i){1&n&&(e.TgZ(0,"span",18),e.SDv(1,22),e.qZA())}function zn(n,i){1&n&&(e.TgZ(0,"span",18),e.SDv(1,23),e.qZA())}let qn=(()=>{class n{constructor(t,o,c){this.formBuilder=t,this.activeModal=o,this.actionLabels=c,this.submitAction=new e.vpe,this.editMode=!1,this.createForm()}createForm(){this.form=this.formBuilder.group({key:[null,[r.kI.required,z.h.custom("unique",t=>!(v().isEmpty(t)&&!this.currentKeyTags)&&this.storedKey!==t&&this.currentKeyTags.includes(t)),z.h.custom("maxLength",t=>!v().isEmpty(t)&&t.length>128)]],value:[null,[r.kI.required,z.h.custom("maxLength",t=>!v().isEmpty(t)&&t.length>128)]]})}onSubmit(){this.submitAction.emit(this.form.value),this.activeModal.close()}getMode(){return this.editMode?this.actionLabels.EDIT:this.actionLabels.ADD}fillForm(t){this.form.setValue(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(he.O),e.Y36(x.Kz),e.Y36(l.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-bucket-tag-modal"]],outputs:{submitAction:"submitAction"},decls:24,vars:10,consts:function(){let i,t,o,c,O,H,Q,J;return i="" + "\ufffd0\ufffd" + " Tag",t="Key",o="Value",c="This field is required.",O="This key must be unique.",H="Length of the key must be maximum of 128 characters",Q="This field is required.",J="Length of the value must be a maximum of 128 characters",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],[1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","key",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],["type","text","formControlName","key","id","key",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","value",1,"cd-col-form-label","required"],o,["id","value","type","text","formControlName","value",1,"form-control"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],c,O,H,Q,J]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.qZA(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"div",7)(8,"label",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"div",10),e._UZ(11,"input",11),e.YNc(12,xn,2,0,"span",12),e.YNc(13,Zn,2,0,"span",12),e.YNc(14,kn,2,0,"span",12),e.qZA()(),e.TgZ(15,"div",7)(16,"label",13),e.SDv(17,14),e.qZA(),e.TgZ(18,"div",10),e._UZ(19,"input",15),e.YNc(20,Bn,2,0,"span",12),e.YNc(21,zn,2,0,"span",12),e.qZA()()(),e.TgZ(22,"div",16)(23,"cd-form-button-panel",17),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const c=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(2),e.pQV(o.getMode()),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.form),e.xp6(8),e.Q6J("ngIf",o.form.showError("key",c,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("key",c,"unique")),e.xp6(1),e.Q6J("ngIf",o.form.showError("key",c,"maxLength")),e.xp6(6),e.Q6J("ngIf",o.form.showError("value",c,"required")),e.xp6(1),e.Q6J("ngIf",o.form.showError("value",c,"maxLength")),e.xp6(2),e.Q6J("form",o.form)("submitText",o.getMode())}},dependencies:[g.O5,Ie.z,we.p,Oe.o,Ae.b,We.P,C.V,r._Y,r.Fj,r.JJ,r.JL,r.sg,r.u]}),n})();var Qe=d(63285),Hn=d(24737),Ve=d(34501);const Xn=["*"];let Kn=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-help-text"]],ngContentSelectors:Xn,decls:2,vars:0,consts:[[1,"form-text","text-muted"]],template:function(t,o){1&t&&(e.F$t(),e.TgZ(0,"div",0),e.Hsn(1),e.qZA())},styles:["legend .text-muted{font-size:small}"]}),n})();var Qn=d(1372),st=d(82945),cn=d(63622),Ye=d(10545);const Yn=["bucketPolicyTextArea"];function Jn(n,i){1&n&&(e.TgZ(0,"div",10)(1,"label",39),e.SDv(2,60),e.qZA(),e.TgZ(3,"div",13),e._UZ(4,"input",61),e.qZA()())}function Vn(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,63),e.qZA())}function jn(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,64),e.qZA())}function eo(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,65),e.qZA())}function to(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,66),e.qZA())}function no(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,67),e.qZA())}function oo(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,68),e.qZA())}function io(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,69),e.qZA())}function _o(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,70),e.qZA())}function ro(n,i){1&n&&(e.TgZ(0,"option",71),e.SDv(1,72),e.qZA()),2&n&&e.Q6J("ngValue",null)}function so(n,i){1&n&&(e.TgZ(0,"option",71),e.SDv(1,73),e.qZA()),2&n&&e.Q6J("ngValue",null)}function ao(n,i){if(1&n&&(e.TgZ(0,"option",74),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function lo(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,75),e.qZA())}function co(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"fieldset")(1,"legend",22),e.SDv(2,76),e.qZA(),e.TgZ(3,"div",10)(4,"div",77)(5,"div",78)(6,"input",79),e.NdJ("change",function(){e.CHM(t);const c=e.oxw(2);return e.KtG(c.setMfaDeleteValidators())}),e.qZA(),e.TgZ(7,"label",80),e.SDv(8,81),e.qZA(),e.TgZ(9,"cd-helper")(10,"span"),e.SDv(11,82),e.qZA()()()()()()}}function uo(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,91),e.qZA())}function fo(n,i){if(1&n&&(e.TgZ(0,"div",10)(1,"label",88),e.SDv(2,89),e.qZA(),e.TgZ(3,"div",13),e._UZ(4,"input",90),e.YNc(5,uo,2,0,"span",15),e.qZA()()),2&n){e.oxw(2);const t=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.bucketForm.showError("mfa-token-serial",t,"required"))}}function po(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,95),e.qZA())}function go(n,i){if(1&n&&(e.TgZ(0,"div",10)(1,"label",92),e.SDv(2,93),e.qZA(),e.TgZ(3,"div",13),e._UZ(4,"input",94),e.YNc(5,po,2,0,"span",15),e.qZA()()),2&n){e.oxw(2);const t=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.bucketForm.showError("mfa-token-pin",t,"required"))}}function To(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"fieldset")(1,"legend",22),e.SDv(2,83),e.qZA(),e.TgZ(3,"div",10)(4,"div",77)(5,"div",78)(6,"input",84),e.NdJ("change",function(){e.CHM(t);const c=e.oxw(2);return e.KtG(c.setMfaDeleteValidators())}),e.qZA(),e.TgZ(7,"label",85),e.SDv(8,86),e.qZA(),e.TgZ(9,"cd-helper")(10,"span"),e.SDv(11,87),e.qZA()()()()(),e.YNc(12,fo,6,1,"div",9),e.YNc(13,go,6,1,"div",9),e.qZA()}if(2&n){const t=e.oxw(2);e.xp6(12),e.Q6J("ngIf",t.areMfaCredentialsRequired()),e.xp6(1),e.Q6J("ngIf",t.areMfaCredentialsRequired())}}function Eo(n,i){1&n&&(e.TgZ(0,"span"),e.SDv(1,110),e.qZA())}function Ro(n,i){1&n&&(e.TgZ(0,"span"),e.SDv(1,111),e.qZA())}function mo(n,i){if(1&n&&(e.TgZ(0,"div",10)(1,"label",103),e.SDv(2,104),e.qZA(),e.TgZ(3,"div",13)(4,"select",105)(5,"option",106),e.SDv(6,107),e.qZA(),e.TgZ(7,"option",108),e.SDv(8,109),e.qZA()(),e.TgZ(9,"cd-help-text"),e.YNc(10,Eo,2,0,"span",21),e.YNc(11,Ro,2,0,"span",21),e.qZA()()()),2&n){const t=e.oxw(3);e.xp6(10),e.Q6J("ngIf","COMPLIANCE"===t.bucketForm.getValue("lock_mode")),e.xp6(1),e.Q6J("ngIf","GOVERNANCE"===t.bucketForm.getValue("lock_mode"))}}function ho(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,116),e.qZA())}function Mo(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,117),e.qZA())}function So(n,i){if(1&n&&(e.TgZ(0,"div",10)(1,"label",112),e.ynx(2),e.SDv(3,113),e.BQk(),e.qZA(),e.TgZ(4,"div",13),e._UZ(5,"input",114),e.TgZ(6,"cd-help-text")(7,"span"),e.SDv(8,115),e.qZA()(),e.YNc(9,ho,2,0,"span",15),e.YNc(10,Mo,2,0,"span",15),e.qZA()()),2&n){e.oxw(2);const t=e.MAs(2),o=e.oxw();e.xp6(9),e.Q6J("ngIf",o.bucketForm.showError("lock_retention_period_days",t,"pattern")),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("lock_retention_period_days",t,"lockDays"))}}function Co(n,i){1&n&&(e.TgZ(0,"cd-alert-panel",118),e._uU(1," Bucket Versioning can't be disabled when Object Locking is enabled. "),e.qZA())}function Fo(n,i){1&n&&(e.TgZ(0,"cd-alert-panel",119),e._uU(1," Enabling Object Locking will allow the configuration of GOVERNANCE or COMPLIANCE modes, which will help ensure that an object version cannot be overwritten or deleted for the specified period. "),e.qZA())}function Oo(n,i){if(1&n&&(e.TgZ(0,"fieldset")(1,"legend",22),e.tHW(2,96),e._UZ(3,"cd-help-text"),e.N_p(),e.qZA(),e.TgZ(4,"div",10)(5,"label",97),e.SDv(6,98),e.qZA(),e.TgZ(7,"div",13),e._UZ(8,"input",99),e.TgZ(9,"cd-help-text")(10,"span"),e.SDv(11,100),e.qZA()()()(),e.YNc(12,mo,12,2,"div",9),e.YNc(13,So,11,2,"div",9),e.TgZ(14,"div",10),e._UZ(15,"div",49),e.TgZ(16,"div",13),e.YNc(17,Co,2,0,"cd-alert-panel",101),e.YNc(18,Fo,2,0,"cd-alert-panel",102),e.qZA()()()),2&n){const t=e.oxw(2);e.xp6(12),e.Q6J("ngIf",t.bucketForm.getValue("lock_enabled")),e.xp6(1),e.Q6J("ngIf",t.bucketForm.getValue("lock_enabled")),e.xp6(4),e.Q6J("ngIf",t.bucketForm.getValue("lock_enabled")),e.xp6(1),e.Q6J("ngIf",t.bucketForm.getValue("lock_enabled"))}}function No(n,i){1&n&&(e.TgZ(0,"option",71),e.SDv(1,130),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Po(n,i){if(1&n&&(e.TgZ(0,"option",74),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function Ao(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,131),e.qZA())}function bo(n,i){if(1&n&&(e.TgZ(0,"div")(1,"div",10)(2,"label",127),e.SDv(3,128),e.qZA(),e.TgZ(4,"div",13)(5,"select",129),e.YNc(6,No,2,1,"option",19),e.YNc(7,Po,2,2,"option",20),e.qZA(),e.YNc(8,Ao,2,0,"span",15),e.qZA()()()),2&n){e.oxw(2);const t=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("autofocus",o.editing),e.xp6(1),e.Q6J("ngIf",null!==o.kmsProviders),e.xp6(1),e.Q6J("ngForOf",o.kmsProviders),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("kms_provider",t,"required"))}}function Io(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,135),e.qZA())}function Go(n,i){if(1&n&&(e.TgZ(0,"div")(1,"div",10)(2,"label",132),e.SDv(3,133),e.qZA(),e.TgZ(4,"div",13),e._UZ(5,"input",134),e.YNc(6,Io,2,0,"span",15),e.qZA()()()),2&n){e.oxw(2);const t=e.MAs(2),o=e.oxw();e.xp6(6),e.Q6J("ngIf",o.bucketForm.showError("keyId",t,"required"))}}function yo(n,i){if(1&n&&(e.TgZ(0,"div")(1,"div",10)(2,"div",77)(3,"div",120),e._UZ(4,"input",121),e.TgZ(5,"label",122),e.SDv(6,123),e.qZA()()()(),e.TgZ(7,"div",10)(8,"div",77)(9,"div",120),e._UZ(10,"input",124),e.TgZ(11,"label",125),e.SDv(12,126),e.qZA()()()(),e.YNc(13,bo,9,4,"div",21),e.YNc(14,Go,7,1,"div",21),e.qZA()),2&n){const t=e.oxw(2);e.xp6(4),e.uIk("disabled",!t.s3VaultConfig||null),e.xp6(6),e.uIk("disabled",!t.kmsVaultConfig||null),e.xp6(3),e.Q6J("ngIf","aws:kms"===t.bucketForm.getValue("encryption_type")),e.xp6(1),e.Q6J("ngIf","aws:kms"===t.bucketForm.getValue("encryption_type"))}}function Lo(n,i){1&n&&e.GkF(0)}const Do=function(n,i){return{index:n,tag:i}};function vo(n,i){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,Lo,1,0,"ng-container",136),e.qZA()),2&n){const t=i.$implicit,o=i.index;e.oxw(2);const c=e.MAs(2);e.xp6(1),e.Q6J("ngTemplateOutlet",c)("ngTemplateOutletContext",e.WLB(2,Do,o,t))}}function wo(n,i){1&n&&(e.TgZ(0,"strong",137),e.SDv(1,138),e.qZA())}function Wo(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,139),e.qZA())}function Uo(n,i){if(1&n&&(e.TgZ(0,"option",74),e.SDv(1,140),e.qZA()),2&n){const t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.pQV(t),e.QtT(1)}}function $o(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,141),e.qZA())}function xo(n,i){if(1&n&&(e.TgZ(0,"option",74),e.SDv(1,142),e.qZA()),2&n){const t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.pQV(t),e.QtT(1)}}function Zo(n,i){1&n&&(e.TgZ(0,"span",62),e.SDv(1,143),e.qZA())}function ko(n,i){1&n&&(e.TgZ(0,"option",71),e.SDv(1,148),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Bo(n,i){1&n&&(e.TgZ(0,"option",71),e.SDv(1,149),e.qZA()),2&n&&e.Q6J("ngValue",null)}function zo(n,i){if(1&n&&(e.TgZ(0,"option",74),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.Q6J("value",t.name),e.xp6(1),e.Oqu(t.description)}}function qo(n,i){if(1&n&&(e.TgZ(0,"cd-form-advanced-fieldset")(1,"div",10)(2,"label",144),e.SDv(3,145),e.qZA(),e.TgZ(4,"div",13)(5,"select",146),e.YNc(6,ko,2,1,"option",19),e.YNc(7,Bo,2,1,"option",19),e.YNc(8,zo,2,2,"option",20),e.qZA(),e.TgZ(9,"cd-help-text")(10,"span"),e.SDv(11,147),e.qZA()()()()()),2&n){const t=e.oxw(2);e.xp6(6),e.Q6J("ngIf",null===t.placementTargets),e.xp6(1),e.Q6J("ngIf",null!==t.placementTargets),e.xp6(1),e.Q6J("ngForOf",t.placementTargets)}}const Ho=function(n){return{required:n}},je=function(n){return[n]};function Xo(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"div",2)(1,"form",3,4)(3,"div",5)(4,"div",6),e.SDv(5,7),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",8),e.YNc(9,Jn,5,0,"div",9),e.TgZ(10,"div",10)(11,"label",11),e.SDv(12,12),e.qZA(),e.TgZ(13,"div",13),e._UZ(14,"input",14),e.YNc(15,Vn,2,0,"span",15),e.YNc(16,jn,2,0,"span",15),e.YNc(17,eo,2,0,"span",15),e.YNc(18,to,2,0,"span",15),e.YNc(19,no,2,0,"span",15),e.YNc(20,oo,2,0,"span",15),e.YNc(21,io,2,0,"span",15),e.YNc(22,_o,2,0,"span",15),e.qZA()(),e.TgZ(23,"div",10)(24,"label",16),e.SDv(25,17),e.qZA(),e.TgZ(26,"div",13)(27,"select",18),e.YNc(28,ro,2,1,"option",19),e.YNc(29,so,2,1,"option",19),e.YNc(30,ao,2,2,"option",20),e.qZA(),e.YNc(31,lo,2,0,"span",15),e.qZA()(),e.YNc(32,co,12,0,"fieldset",21),e.YNc(33,To,14,2,"fieldset",21),e.YNc(34,Oo,19,4,"fieldset",21),e.TgZ(35,"fieldset")(36,"legend",22),e.SDv(37,23),e.qZA(),e.TgZ(38,"div",10)(39,"label",24),e.SDv(40,25),e.qZA(),e.TgZ(41,"div",13),e._UZ(42,"input",26),e.TgZ(43,"cd-help-text",27)(44,"span"),e.tHW(45,28),e.TgZ(46,"a",29),e.NdJ("click",function(){e.CHM(t);const c=e.oxw();return e.KtG(c.openConfigModal())}),e.qZA(),e.N_p(),e.qZA()()()(),e.YNc(47,yo,15,4,"div",21),e.qZA(),e.TgZ(48,"fieldset")(49,"legend",22),e.tHW(50,30),e._UZ(51,"cd-help-text"),e.N_p(),e.qZA(),e.YNc(52,vo,2,5,"span",31),e.TgZ(53,"div",32)(54,"div",33),e.YNc(55,wo,2,0,"strong",34),e.TgZ(56,"button",35),e.NdJ("click",function(){e.CHM(t);const c=e.oxw();return e.KtG(c.showTagModal())}),e._UZ(57,"i",36),e.ynx(58),e.SDv(59,37),e.BQk(),e.qZA()()()(),e.TgZ(60,"fieldset")(61,"legend",22),e.SDv(62,38),e.qZA(),e.TgZ(63,"div",32)(64,"div",33)(65,"div",10)(66,"label",39),e.SDv(67,40),e.qZA(),e.TgZ(68,"div",13)(69,"textarea",41,42),e.NdJ("change",function(){e.CHM(t);const c=e.oxw();return e.KtG(c.bucketPolicyOnChange())}),e._uU(71," "),e.qZA(),e.YNc(72,Wo,2,0,"span",15),e.TgZ(73,"button",43),e.NdJ("click",function(){e.CHM(t);const c=e.oxw();return e.KtG(c.clearBucketPolicy())}),e.tHW(74,44),e._UZ(75,"i",36),e.N_p(),e.qZA(),e.TgZ(76,"div",45)(77,"button",46),e.NdJ("click",function(){e.CHM(t);const c=e.oxw();return e.KtG(c.openUrl("https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html?icmpid=docs_amazons3_console"))}),e.tHW(78,47),e._UZ(79,"i",36),e.N_p(),e.qZA(),e.TgZ(80,"button",46),e.NdJ("click",function(){e.CHM(t);const c=e.oxw();return e.KtG(c.openUrl("https://awspolicygen.s3.amazonaws.com/policygen.html"))}),e.tHW(81,48),e._UZ(82,"i",36),e.N_p(),e.qZA()()()(),e.TgZ(83,"div",10)(84,"label",49),e.tHW(85,50),e._UZ(86,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(87,"div",13)(88,"div",51)(89,"span",52),e.tHW(90,53),e._UZ(91,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(92,"select",54),e.NdJ("change",function(){e.CHM(t);const c=e.oxw();return e.KtG(c.onSelectionFilter())}),e.YNc(93,Uo,2,2,"option",20),e.qZA(),e.YNc(94,$o,2,0,"span",15),e.TgZ(95,"span",55),e.tHW(96,56),e._UZ(97,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(98,"select",57),e.YNc(99,xo,2,2,"option",20),e.qZA(),e.YNc(100,Zo,2,0,"span",15),e.qZA()()()()()(),e.YNc(101,qo,12,3,"cd-form-advanced-fieldset",21),e.qZA(),e.TgZ(102,"div",58)(103,"cd-form-button-panel",59),e.NdJ("submitActionEvent",function(){e.CHM(t);const c=e.oxw();return e.KtG(c.submit())}),e.ALo(104,"titlecase"),e.ALo(105,"upperFirst"),e.qZA()()()()()}if(2&n){const t=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("formGroup",o.bucketForm),e.xp6(6),e.pQV(e.lcZ(6,40,o.action))(e.lcZ(7,42,o.resource)),e.QtT(5),e.xp6(2),e.Q6J("ngIf",o.editing),e.xp6(2),e.Q6J("ngClass",e.VKq(48,Ho,!o.editing)),e.xp6(3),e.Q6J("readonly",o.editing)("autofocus",!o.editing),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("bid",t,"required")),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("bid",t,"bucketNameInvalid")),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("bid",t,"bucketNameNotAllowed")),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("bid",t,"containsUpperCase")),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("bid",t,"lowerCaseOrNumber")),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("bid",t,"ipAddress")),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("bid",t,"onlyLowerCaseAndNumbers")),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("bid",t,"shouldBeInRange")),e.xp6(5),e.Q6J("autofocus",o.editing),e.xp6(1),e.Q6J("ngIf",null===o.owners),e.xp6(1),e.Q6J("ngIf",null!==o.owners),e.xp6(1),e.Q6J("ngForOf",o.owners),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("owner",t,"required")),e.xp6(1),e.Q6J("ngIf",o.editing),e.xp6(1),e.Q6J("ngIf",o.editing),e.xp6(1),e.Q6J("ngIf",!o.editing||o.editing&&o.bucketForm.getValue("lock_enabled")),e.xp6(8),e.uIk("disabled",!o.kmsVaultConfig&&!o.s3VaultConfig||null),e.xp6(5),e.Q6J("ngIf",o.bucketForm.getValue("encryption_enabled")),e.xp6(5),e.Q6J("ngForOf",o.tags),e.xp6(3),e.Q6J("ngIf",o.tags.length>19),e.xp6(1),e.Q6J("disabled",o.tags.length>19),e.xp6(1),e.Q6J("ngClass",e.VKq(50,je,o.icons.add)),e.xp6(15),e.Q6J("ngIf",o.bucketForm.showError("bucket_policy",t,"invalidJson")),e.xp6(3),e.Q6J("ngClass",e.VKq(52,je,o.icons.destroy)),e.xp6(4),e.Q6J("ngClass",e.VKq(54,je,o.icons.externalUrl)),e.xp6(3),e.Q6J("ngClass",e.VKq(56,je,o.icons.externalUrl)),e.xp6(11),e.Q6J("ngForOf",o.grantees),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("grantee",t,"required")),e.xp6(5),e.Q6J("ngForOf",o.aclPermissions),e.xp6(1),e.Q6J("ngIf",o.bucketForm.showError("aclPermission",t,"required")),e.xp6(1),e.Q6J("ngIf",!o.editing),e.xp6(2),e.Q6J("form",o.bucketForm)("submitText",e.lcZ(104,44,o.action)+" "+e.lcZ(105,46,o.resource))}}function Ko(n,i){if(1&n&&(e.ynx(0),e._UZ(1,"input",153),e.BQk()),2&n){const t=i.$implicit,o=e.oxw(),c=o.index,O=o.tag;e.xp6(1),e.hYB("id","tag-",t.attribute,"-",c,""),e.Q6J("ngbTooltip",t.attribute)("value",O[t.attribute])}}function Qo(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"div",150),e.YNc(1,Ko,2,4,"ng-container",31),e.TgZ(2,"button",151),e.NdJ("click",function(){const O=e.CHM(t).index,H=e.oxw();return e.KtG(H.showTagModal(O))}),e._UZ(3,"i",36),e.qZA(),e.TgZ(4,"button",152),e.NdJ("click",function(){const O=e.CHM(t).index,H=e.oxw();return e.KtG(H.deleteTag(O))}),e._UZ(5,"i",36),e.qZA()()}if(2&n){const t=i.index,o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.tagConfig),e.xp6(1),e.MGl("id","tag-edit-",t,""),e.xp6(1),e.Q6J("ngClass",e.VKq(5,je,o.icons.edit)),e.xp6(1),e.MGl("id","tag-delete-",t,""),e.xp6(1),e.Q6J("ngClass",e.VKq(7,je,o.icons.trash))}}let un=(()=>{class n extends q.E{get isVersioningEnabled(){return this.bucketForm.getValue("versioning")}get isMfaDeleteEnabled(){return this.bucketForm.getValue("mfa-delete")}constructor(t,o,c,O,H,Q,J,j,oe,Te,Me,Fe){super(),this.route=t,this.router=o,this.formBuilder=c,this.rgwBucketService=O,this.rgwSiteService=H,this.modalService=Q,this.rgwUserService=J,this.notificationService=j,this.rgwEncryptionModal=oe,this.textAreaJsonFormatterService=Te,this.actionLabels=Me,this.changeDetectorRef=Fe,this.editing=!1,this.owners=null,this.kmsProviders=null,this.placementTargets=[],this.isVersioningAlreadyEnabled=!1,this.isMfaDeleteAlreadyEnabled=!1,this.icons=$.P,this.kmsVaultConfig=!1,this.s3VaultConfig=!1,this.tags=[],this.dirtyTags=!1,this.tagConfig=[{attribute:"key"},{attribute:"value"}],this.grantees=[pe.Owner,pe.Everyone,pe.AuthenticatedUsers],this.aclPermissions=[ne.FullControl],this.editing=this.router.url.startsWith(`/rgw/bucket/${l.MQ.EDIT}`),this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.CREATE,this.resource="bucket",this.createForm()}ngAfterViewChecked(){this.changeDetectorRef.detectChanges(),this.bucketPolicyOnChange()}createForm(){const t=this,o=z.h.custom("lockDays",()=>{if(!t.bucketForm||!v().get(t.bucketForm.getRawValue(),"lock_enabled"))return!1;const c=Number(t.bucketForm.getValue("lock_retention_period_days"));return!Number.isInteger(c)||0===c});this.bucketForm=this.formBuilder.group({id:[null],bid:[null,[r.kI.required],this.editing?[]:[z.h.bucketName(),z.h.bucketExistence(!1,this.rgwBucketService)]],owner:[null,[r.kI.required]],kms_provider:["vault"],"placement-target":[null],versioning:[null],"mfa-delete":[null],"mfa-token-serial":[""],"mfa-token-pin":[""],lock_enabled:[{value:!1,disabled:this.editing}],encryption_enabled:[null],encryption_type:[null,[z.h.requiredIf({encryption_enabled:!0})]],keyId:[null,[z.h.requiredIf({encryption_type:"aws:kms",encryption_enabled:!0})]],lock_mode:["COMPLIANCE"],lock_retention_period_days:[10,[z.h.number(!1),o]],bucket_policy:["{}",z.h.json()],grantee:[pe.Owner,[r.kI.required]],aclPermission:[[ne.FullControl],[r.kI.required]]})}ngOnInit(){const t={owners:this.rgwUserService.enumerate()};this.kmsProviders=this.rgwEncryptionModal.kmsProviders,this.rgwBucketService.getEncryptionConfig().subscribe(o=>{this.kmsVaultConfig=o[0],this.s3VaultConfig=o[1],this.kmsVaultConfig&&this.s3VaultConfig?this.bucketForm.get("encryption_type").setValue(""):this.kmsVaultConfig?this.bucketForm.get("encryption_type").setValue("aws:kms"):this.s3VaultConfig?this.bucketForm.get("encryption_type").setValue("AES256"):this.bucketForm.get("encryption_type").setValue("")}),this.editing||(t.getPlacementTargets=this.rgwSiteService.get("placement-targets")),this.route.params.subscribe(o=>{if(o.hasOwnProperty("bid")){const c=decodeURIComponent(o.bid);t.getBid=this.rgwBucketService.get(c)}(0,k.D)(t).subscribe(c=>{if(this.owners=c.owners.sort(),c.getPlacementTargets){const O=c.getPlacementTargets;this.zonegroup=O.zonegroup,v().forEach(O.placement_targets,H=>{H.description=`${H.name} (${"pool"}: ${H.data_pool})`,this.placementTargets.push(H)}),1===this.placementTargets.length&&this.bucketForm.get("placement-target").setValue(this.placementTargets[0].name)}if(c.getBid){const O=c.getBid,H=v().clone(this.bucketForm.getRawValue());let Q=v().pick(O,v().keys(H));if(Q.lock_retention_period_days=this.rgwBucketService.getLockDays(O),Q["placement-target"]=O.placement_rule,Q.versioning=O.versioning===ue.ENABLED,Q["mfa-delete"]=O.mfa_delete===de.ENABLED,Q.encryption_enabled="Enabled"===O.encryption,O.tagset)for(const[J,j]of Object.entries(O.tagset))this.tags.push({key:J,value:j.toString()});Q=v().merge(H,Q),this.editing&&([Q.grantee,Q.aclPermission]=this.aclXmlToFormValues(O.acl,O.owner)),this.bucketForm.setValue(Q),this.editing&&(this.isVersioningAlreadyEnabled=this.isVersioningEnabled,this.isMfaDeleteAlreadyEnabled=this.isMfaDeleteEnabled,this.setMfaDeleteValidators(),Q.lock_enabled&&this.bucketForm.controls.versioning.disable(),Q.bucket_policy&&this.bucketForm.get("bucket_policy").setValue(JSON.stringify(Q.bucket_policy,null,2)),this.filterAclPermissions())}this.loadingReady()})})}goToListView(){this.router.navigate(["/rgw/bucket"])}submit(){if(null==this.bucketForm.getValue("encryption_enabled")&&(this.bucketForm.get("encryption_enabled").setValue(!1),this.bucketForm.get("encryption_type").setValue(null)),this.bucketForm.pristine)return void this.goToListView();const t=this.bucketForm.value,o=this.tagsToXML(this.tags),c=this.getBucketPolicy(),O=this.permissionToCannedAcl();if(this.editing){const H=this.getVersioningStatus(),Q=this.getMfaDeleteStatus();this.rgwBucketService.update(t.bid,t.id,t.owner,H,t.encryption_enabled,t.encryption_type,t.keyId,Q,t["mfa-token-serial"],t["mfa-token-pin"],t.lock_mode,t.lock_retention_period_days,o,c,O).subscribe(()=>{this.notificationService.show(M.k.success,"Updated Object Gateway bucket '" + t.bid + "'."),this.goToListView()},()=>{this.bucketForm.setErrors({cdSubmitButton:!0})})}else this.rgwBucketService.create(t.bid,t.owner,this.zonegroup,t["placement-target"],t.lock_enabled,t.lock_mode,t.lock_retention_period_days,t.encryption_enabled,t.encryption_type,t.keyId,o,c,O).subscribe(()=>{this.notificationService.show(M.k.success,"Created Object Gateway bucket '" + t.bid + "'"),this.goToListView()},()=>{this.bucketForm.setErrors({cdSubmitButton:!0})})}areMfaCredentialsRequired(){return this.isMfaDeleteEnabled!==this.isMfaDeleteAlreadyEnabled||this.isMfaDeleteAlreadyEnabled&&this.isVersioningEnabled!==this.isVersioningAlreadyEnabled}setMfaDeleteValidators(){const t=this.bucketForm.get("mfa-token-serial"),o=this.bucketForm.get("mfa-token-pin");this.areMfaCredentialsRequired()?(t.setValidators(r.kI.required),o.setValidators(r.kI.required)):(t.setValidators(null),o.setValidators(null)),t.updateValueAndValidity(),o.updateValueAndValidity()}getVersioningStatus(){return this.isVersioningEnabled?ue.ENABLED:ue.SUSPENDED}getMfaDeleteStatus(){return this.isMfaDeleteEnabled?de.ENABLED:de.DISABLED}getBucketPolicy(){return this.bucketForm.getValue("bucket_policy")||"{}"}fileUpload(t,o){const c=t[0];(new FileReader).addEventListener("load",()=>{const H=this.bucketForm.get(o);H.setValue(c),H.markAsDirty(),H.markAsTouched(),H.updateValueAndValidity()})}bucketPolicyOnChange(){this.bucketPolicyTextArea&&this.textAreaJsonFormatterService.format(this.bucketPolicyTextArea)}openUrl(t){window.open(t,"_blank")}clearBucketPolicy(){this.bucketForm.get("bucket_policy").setValue("{}"),this.bucketForm.markAsDirty(),this.bucketForm.updateValueAndValidity()}openConfigModal(){this.modalService.show($n,null,{size:"lg"}).componentInstance.configForm.get("encryptionType").setValue(this.bucketForm.getValue("encryption_type")||"AES256")}showTagModal(t){const c=this.modalService.show(qn).componentInstance;c.currentKeyTags=this.tags.map(O=>O.key),v().isNumber(t)&&(c.editMode=!0,c.fillForm(this.tags[t]),c.storedKey=this.tags[t].key),c.submitAction.subscribe(O=>{this.setTag(O,t)})}deleteTag(t){this.tags.splice(t,1),this.dirtyTags=!0,this.bucketForm.markAsDirty(),this.bucketForm.updateValueAndValidity()}setTag(t,o){v().isNumber(o)?this.tags[o]=t:this.tags.push(t),this.dirtyTags=!0,this.bucketForm.markAsDirty(),this.bucketForm.updateValueAndValidity()}tagsToXML(t){if(!this.dirtyTags&&0===t.length)return"";let o="<Tagging><TagSet>";for(const c of t){o+="<Tag>";for(const O in c)"key"===O?o+=`<Key>${c[O]}</Key>`:"value"===O&&(o+=`<Value>${c[O]}</Value>`);o+="</Tag>"}return o+="</TagSet></Tagging>",o}aclXmlToFormValues(t,o){const c=new P.Parser({explicitArray:!1,trim:!0});let O=ne.FullControl,H=pe.Owner;return c.parseString(t,(Q,J)=>{if(Q)return null;const j=J.AccessControlPolicy.AccessControlList.Grant;for(let oe=0;oe<j.length;oe++)j[oe].Grantee.ID!==o&&(j[oe].Grantee.URI&&j[oe].Grantee.URI.includes("AllUsers")?(H=pe.Everyone,O="READ"===j[oe].Permission&&O!==ne.Write?ne.Read:" WRITE"===j[oe].Permission&&O!==ne.Read?ne.Write:ne.All):j[oe].Grantee.URI&&j[oe].Grantee.URI.includes("AuthenticatedUsers")&&(H=pe.AuthenticatedUsers,O=ne.Read))}),[H,O]}onSelectionFilter(){this.filterAclPermissions(),this.bucketForm.get("aclPermission").setValue(this.aclPermissions[0])}filterAclPermissions(){switch(this.bucketForm.get("grantee").value){case pe.Owner:this.aclPermissions=[ne.FullControl];break;case pe.Everyone:this.aclPermissions=[ne.Read,ne.All];break;case pe.AuthenticatedUsers:this.aclPermissions=[ne.Read]}}permissionToCannedAcl(){const t=this.bucketForm.get("grantee").value,o=this.bucketForm.get("aclPermission").value;switch(t){case pe.Everyone:return o===ne.Read?"public-read":"public-read-write";case pe.AuthenticatedUsers:return"authenticated-read";default:return"private"}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(A.gz),e.Y36(A.F0),e.Y36(he.O),e.Y36(L.o),e.Y36(I.I),e.Y36(Qe.Z),e.Y36(f),e.Y36(V.g),e.Y36(le),e.Y36(Hn.F),e.Y36(l.p4),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-bucket-form"]],viewQuery:function(t,o){if(1&t&&e.Gf(Yn,5),2&t){let c;e.iGM(c=e.CRH())&&(o.bucketPolicyTextArea=c.first)}},features:[e._Bn([le]),e.qOj],decls:3,vars:1,consts:function(){let i,t,o,c,O,H,Q,J,j,oe,Te,Me,Fe,Pe,me,Ge,ye,Le,Ee,Ue,$e,xe,De,ve,se,Re,ce,Je,Se,ut,dt,ft,pt,gt,Tt,Et,Rt,mt,ht,Mt,St,Ct,Ft,Ot,Nt,Pt,At,bt,It,Gt,yt,Lt,Dt,vt,wt,Wt,Ut,$t,xt,Zt,kt,Bt,zt,qt,Ht,Xt,Kt,Qt,Yt,Jt;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Name",o="Name...",c="Owner",O="Encryption",H=" Enable ",Q="Enables encryption for the objects in the bucket. To enable encryption on a bucket you need to set the configuration values for SSE-S3 or SSE-KMS. To set the configuration values " + "\ufffd#46\ufffd" + "Click here" + "\ufffd/#46\ufffd" + "",J="Tags " + "\ufffd#51\ufffd" + "Tagging provides a way to categorize storage" + "\ufffd/#51\ufffd" + "",j="Add tag",oe="Policies ",Te="Bucket policy",Me="" + "\ufffd#75\ufffd" + "" + "\ufffd/#75\ufffd" + " Clear ",Fe="" + "\ufffd#79\ufffd" + "" + "\ufffd/#79\ufffd" + " Policy examples ",Pe="" + "\ufffd#82\ufffd" + "" + "\ufffd/#82\ufffd" + " Policy generator ",me="ACL " + "\ufffd#86\ufffd" + "Any changes to the ACL will overwrite previous one. You can choose any of the available options to modify the spcified user group." + "\ufffd/#86\ufffd" + "",Ge="Grantee " + "\ufffd#91\ufffd" + "Select a grantee (user group) to modify it's permisions" + "\ufffd/#91\ufffd" + "",ye="Permissions " + "\ufffd#97\ufffd" + "Select the permision to give to the selected grantee. Regardless, the owner of the bucket will always have FULL CONTROL access" + "\ufffd/#97\ufffd" + "",Le="Id",Ee="This field is required.",Ue="Bucket names can only contain lowercase letters, numbers, periods and hyphens.",$e="The chosen name is already in use.",xe="Bucket names must not contain uppercase characters or underscores.",De="Each label must start and end with a lowercase letter or a number.",ve="Bucket names cannot be formatted as IP address.",se="Bucket labels cannot be empty and can only contain lowercase letters, numbers and hyphens.",Re="Bucket names must be 3 to 63 characters long.",ce="Loading...",Je="-- Select a user --",Se="This field is required.",ut="Versioning",dt="Enabled",ft="Enables versioning for the objects in the bucket.",pt="Multi-Factor Authentication",gt="Delete enabled",Tt="Enables MFA (multi-factor authentication) Delete, which requires additional authentication for changing the bucket versioning state.",Et="Token Serial Number",Rt="This field is required.",mt="Token PIN",ht="This field is required.",Mt=" Object Locking " + "\ufffd#3\ufffd" + " Store objects using a write-once-read-many (WORM) model to prevent objects from being deleted or overwritten for a fixed amount of time or indefinitely. Object Locking works only in versioned buckets. " + "\ufffd/#3\ufffd" + "",St=" Enable ",Ct="Enables locking for the objects in the bucket. Locking can only be enabled while creating a bucket.",Ft="Mode",Ot=" Compliance ",Nt=" Governance ",Pt=" In COMPLIANCE an object version cannot be overwritten or deleted for the duration of the period. ",At=" In GOVERNANCE mode, users cannot overwrite or delete an object version or alter its lock settings unless they have special permissions. ",bt="Days",It="The number of days that you want to specify for the default retention period that will be applied to new objects placed in this bucket.",Gt="The entered value must be a positive integer.",yt="Retention Days must be a positive integer.",Lt="SSE-S3 Encryption",Dt="Connect to an external key management service",vt="KMS Provider",wt="-- Select a provider --",Wt="This field is required.",Ut="Key Id ",$t="This field is required.",xt="Maximum of 20 tags reached",Zt="Invalid json text",kt="" + "\ufffd0\ufffd" + "",Bt="This field is required.",zt="" + "\ufffd0\ufffd" + "",qt="This field is required.",Ht="Placement target",Xt=" When creating a bucket, a placement target can be provided as part of the LocationConstraint to override the default placement targets from the user and zonegroup. ",Kt="Loading...",Qt="-- Select a placement target --",Yt="Edit",Jt="Delete",[["class","cd-col-form",4,"cdFormLoading"],["tagTpl",""],[1,"cd-col-form"],["name","bucketForm","novalidate","",3,"formGroup"],["frm","ngForm"],[1,"card"],[1,"card-header"],i,[1,"card-body"],["class","form-group row",4,"ngIf"],[1,"form-group","row"],["for","bid",1,"cd-col-form-label",3,"ngClass"],t,[1,"cd-col-form-input"],["id","bid","name","bid","type","text","placeholder",o,"formControlName","bid",1,"form-control",3,"readonly","autofocus"],["class","invalid-feedback",4,"ngIf"],["for","owner",1,"cd-col-form-label","required"],c,["id","owner","name","owner","formControlName","owner",1,"form-select",3,"autofocus"],[3,"ngValue",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"cd-header"],O,["for","encryption_enabled",1,"cd-col-form-label","pt-0"],H,["id","encryption_enabled","name","encryption_enabled","formControlName","encryption_enabled","type","checkbox",1,"form-check-input"],["aria-label","encryption helper"],Q,["href","#/rgw/bucket/create","aria-label","click here",3,"click"],J,[4,"ngFor","ngForOf"],[1,"row"],[1,"col-12"],["class","text-warning",4,"ngIf"],["type","button","id","add-tag",1,"btn","btn-light","float-end","my-3",3,"disabled","click"],[3,"ngClass"],j,oe,["for","id",1,"cd-col-form-label"],Te,["id","bucket_policy","formControlName","bucket_policy",1,"form-control","resize-vertical",3,"change"],["bucketPolicyTextArea",""],["type","button","id","clear-bucket-policy",1,"btn","btn-light","my-3",3,"click"],Me,["role","group","aria-label","bucket-policy-helpers",1,"btn-group","float-end"],["type","button","id","example-generator-button",1,"btn","btn-light","my-3",3,"click"],Fe,Pe,[1,"cd-col-form-label"],me,[1,"input-group"],["for","grantee",1,"input-group-text"],Ge,["id","grantee","name","grantee","formControlName","grantee",1,"form-input","form-select",3,"change"],["for","aclPermission",1,"input-group-text"],ye,["id","aclPermission","name","aclPermission","formControlName","aclPermission",1,"form-input","form-select"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],Le,["id","id","name","id","type","text","formControlName","id","readonly","",1,"form-control"],[1,"invalid-feedback"],Ee,Ue,$e,xe,De,ve,se,Re,[3,"ngValue"],ce,Je,[3,"value"],Se,ut,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","versioning","name","versioning","formControlName","versioning",1,"custom-control-input",3,"change"],["for","versioning",1,"custom-control-label"],dt,ft,pt,["type","checkbox","id","mfa-delete","name","mfa-delete","formControlName","mfa-delete",1,"custom-control-input",3,"change"],["for","mfa-delete",1,"custom-control-label"],gt,Tt,["for","mfa-token-serial",1,"cd-col-form-label"],Et,["type","text","id","mfa-token-serial","name","mfa-token-serial","formControlName","mfa-token-serial",1,"form-control"],Rt,["for","mfa-token-pin",1,"cd-col-form-label"],mt,["type","text","id","mfa-token-pin","name","mfa-token-pin","formControlName","mfa-token-pin",1,"form-control"],ht,Mt,["for","lock_enabled",1,"cd-col-form-label","pt-0"],St,["id","lock_enabled","formControlName","lock_enabled","type","checkbox",1,"form-check-input"],Ct,["type","info","class","me-1",4,"ngIf"],["type","warning",4,"ngIf"],["for","lock_mode",1,"cd-col-form-label"],Ft,["formControlName","lock_mode","name","lock_mode","id","lock_mode",1,"form-select"],["value","COMPLIANCE"],Ot,["value","GOVERNANCE"],Nt,Pt,At,["for","lock_retention_period_days",1,"cd-col-form-label"],bt,["type","number","id","lock_retention_period_days","formControlName","lock_retention_period_days","min","1",1,"form-control"],It,Gt,yt,["type","info",1,"me-1"],["type","warning"],[1,"custom-control","custom-radio","custom-control-inline","ps-5"],["formControlName","encryption_type","id","sse_S3_enabled","type","radio","name","encryption_type","value","AES256",1,"form-check-input"],["for","sse_S3_enabled",1,"form-control-label"],Lt,["formControlName","encryption_type","id","kms_enabled","name","encryption_type","value","aws:kms","type","radio",1,"form-check-input"],["for","kms_enabled",1,"form-control-label"],Dt,["for","kms_provider",1,"cd-col-form-label","required"],vt,["id","kms_provider","name","kms_provider","formControlName","kms_provider",1,"form-select",3,"autofocus"],wt,Wt,["for","keyId",1,"cd-col-form-label","required"],Ut,["id","keyId","name","keyId","type","text","formControlName","keyId",1,"form-control"],$t,[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"text-warning"],xt,Zt,kt,Bt,zt,qt,["for","placement-target",1,"cd-col-form-label"],Ht,["id","placement-target","name","placement-target","formControlName","placement-target",1,"form-select"],Xt,Kt,Qt,[1,"input-group","my-2"],["type","button","ngbTooltip",Yt,1,"btn","btn-light",3,"id","click"],["type","button","ngbTooltip",Jt,1,"btn","btn-light",3,"id","click"],["type","text","disabled","","readonly","",1,"form-control",3,"id","ngbTooltip","value"]]},template:function(t,o){1&t&&(e.YNc(0,Xo,106,58,"div",0),e.YNc(1,Qo,6,9,"ng-template",null,1,e.W1O)),2&t&&e.Q6J("cdFormLoading",o.loading)},dependencies:[g.mk,g.sg,g.O5,g.tP,fe.S,Ve.G,we.p,Kn,Qn.B,st.U,cn.y,Oe.o,Ae.b,We.P,C.V,r._Y,r.YN,r.Kr,r.Fj,r.wV,r.Wl,r.EJ,r._,r.JJ,r.JL,r.qQ,r.sg,r.u,x._L,g.rS,Ye.m]}),n})();var dn=d(70882),en=d(68136),tn=d(30982),et=d(83697),Vt=d(68774),nn=d(47557),fn=d(66369),tt=d(51847),nt=d(47640),pn=d(60251),on=d(94928),gn=d(59376),Tn=d(68962),Yo=d(96102);function Jo(n,i){1&n&&(e.TgZ(0,"td"),e.SDv(1,26),e.qZA())}function Vo(n,i){if(1&n&&(e.TgZ(0,"td"),e._uU(1),e.ALo(2,"dimless"),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.hij(" ",e.lcZ(2,1,t.selection.bucket_quota.max_size)," ")}}function jo(n,i){1&n&&(e.TgZ(0,"td"),e.SDv(1,27),e.qZA())}function ei(n,i){if(1&n&&(e.TgZ(0,"td"),e._uU(1),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.hij(" ",t.selection.bucket_quota.max_objects," ")}}function ti(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"tr")(2,"td",14),e.SDv(3,24),e.qZA(),e.YNc(4,Jo,2,0,"td",0),e.YNc(5,Vo,3,3,"td",0),e.qZA(),e.TgZ(6,"tr")(7,"td",14),e.SDv(8,25),e.qZA(),e.YNc(9,jo,2,0,"td",0),e.YNc(10,ei,2,1,"td",0),e.qZA(),e.BQk()),2&n){const t=e.oxw(3);e.xp6(4),e.Q6J("ngIf",t.selection.bucket_quota.max_size<=-1),e.xp6(1),e.Q6J("ngIf",t.selection.bucket_quota.max_size>-1),e.xp6(4),e.Q6J("ngIf",t.selection.bucket_quota.max_objects<=-1),e.xp6(1),e.Q6J("ngIf",t.selection.bucket_quota.max_objects>-1)}}function ni(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"tr")(2,"td",14),e.SDv(3,28),e.qZA(),e.TgZ(4,"td"),e._uU(5),e.qZA()(),e.TgZ(6,"tr")(7,"td",14),e.SDv(8,29),e.qZA(),e.TgZ(9,"td"),e._uU(10),e.qZA()(),e.BQk()),2&n){const t=e.oxw(3);e.xp6(5),e.Oqu(t.selection.lock_mode),e.xp6(5),e.Oqu(t.selection.lock_retention_period_days)}}function oi(n,i){if(1&n&&(e.TgZ(0,"tr")(1,"td",11),e.SDv(2,32),e.qZA(),e.TgZ(3,"td",13),e._uU(4),e.qZA()()),2&n){const t=i.$implicit;e.xp6(2),e.pQV(t.key),e.QtT(2),e.xp6(2),e.Oqu(t.value)}}function ii(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"legend"),e.SDv(2,30),e.qZA(),e.TgZ(3,"table",10)(4,"tbody"),e.YNc(5,oi,5,2,"tr",31),e.ALo(6,"keyvalue"),e.qZA()(),e.BQk()),2&n){const t=e.oxw(3);e.xp6(5),e.Q6J("ngForOf",e.lcZ(6,1,t.selection.tagset))}}function _i(n,i){if(1&n&&(e.TgZ(0,"table",10)(1,"tbody")(2,"tr")(3,"td",11),e.SDv(4,12),e.qZA(),e.TgZ(5,"td",13),e._uU(6),e.qZA()(),e.TgZ(7,"tr")(8,"td",14),e.SDv(9,15),e.qZA(),e.TgZ(10,"td"),e._uU(11),e.qZA()(),e.TgZ(12,"tr")(13,"td",14),e.SDv(14,16),e.qZA(),e.TgZ(15,"td"),e._uU(16),e.qZA()(),e.TgZ(17,"tr")(18,"td",14),e.SDv(19,17),e.qZA(),e.TgZ(20,"td"),e._uU(21),e.qZA()(),e.TgZ(22,"tr")(23,"td",14),e.SDv(24,18),e.qZA(),e.TgZ(25,"td"),e._uU(26),e.qZA()(),e.TgZ(27,"tr")(28,"td",14),e.SDv(29,19),e.qZA(),e.TgZ(30,"td"),e._uU(31),e.ALo(32,"cdDate"),e.qZA()()()(),e.TgZ(33,"div")(34,"legend"),e.SDv(35,20),e.qZA(),e.TgZ(36,"table",10)(37,"tbody")(38,"tr")(39,"td",11),e.SDv(40,21),e.qZA(),e.TgZ(41,"td",13),e._uU(42),e.ALo(43,"booleanText"),e.qZA()(),e.YNc(44,ti,11,4,"ng-container",0),e.qZA()()(),e.TgZ(45,"legend"),e.SDv(46,22),e.qZA(),e.TgZ(47,"table",10)(48,"tbody")(49,"tr")(50,"td",11),e.SDv(51,23),e.qZA(),e.TgZ(52,"td",13),e._uU(53),e.ALo(54,"booleanText"),e.qZA()(),e.YNc(55,ni,11,2,"ng-container",0),e.qZA()(),e.YNc(56,ii,7,3,"ng-container",0),e.ALo(57,"keyvalue")),2&n){const t=e.oxw(2);let o;e.xp6(6),e.Oqu(t.selection.versioning),e.xp6(5),e.Oqu(t.selection.encryption),e.xp6(5),e.Oqu(t.selection.mfa_delete),e.xp6(5),e.Oqu(t.selection.index_type),e.xp6(5),e.Oqu(t.selection.placement_rule),e.xp6(5),e.Oqu(e.lcZ(32,11,t.selection.mtime)),e.xp6(11),e.Oqu(e.lcZ(43,13,t.selection.bucket_quota.enabled)),e.xp6(2),e.Q6J("ngIf",t.selection.bucket_quota.enabled),e.xp6(9),e.Oqu(e.lcZ(54,15,t.selection.lock_enabled)),e.xp6(2),e.Q6J("ngIf",t.selection.lock_enabled),e.xp6(1),e.Q6J("ngIf",null==(o=e.lcZ(57,17,t.selection.tagset))?null:o.length)}}function ri(n,i){if(1&n&&(e.TgZ(0,"table",10)(1,"tbody")(2,"tr")(3,"td",11),e.SDv(4,33),e.qZA(),e.TgZ(5,"td")(6,"pre"),e._uU(7),e.ALo(8,"json"),e.qZA()()(),e.TgZ(9,"tr")(10,"td",11),e.SDv(11,34),e.qZA(),e.TgZ(12,"td")(13,"table",35)(14,"thead")(15,"tr"),e.tHW(16,36),e._UZ(17,"th")(18,"th"),e.N_p(),e.qZA()(),e.TgZ(19,"tbody")(20,"tr"),e.tHW(21,37),e._UZ(22,"td")(23,"td"),e.N_p(),e.qZA(),e.TgZ(24,"tr"),e.tHW(25,38),e._UZ(26,"td")(27,"td"),e.N_p(),e.qZA(),e.TgZ(28,"tr"),e.tHW(29,39),e._UZ(30,"td")(31,"td"),e.N_p(),e.qZA()()()()()()()),2&n){const t=e.oxw(2);e.xp6(7),e.Oqu(e.lcZ(8,4,t.selection.bucket_policy)),e.xp6(16),e.pQV(t.aclPermissions.Owner||"-"),e.QtT(21),e.xp6(4),e.pQV(t.aclPermissions.AllUsers||"-"),e.QtT(25),e.xp6(4),e.pQV(t.aclPermissions.AuthenticatedUsers||"-"),e.QtT(29)}}function si(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"nav",1,2),e.ynx(3,3),e.TgZ(4,"a",4),e.SDv(5,5),e.qZA(),e.YNc(6,_i,58,19,"ng-template",6),e.BQk(),e.ynx(7,7),e.TgZ(8,"a",4),e.SDv(9,8),e.qZA(),e.YNc(10,ri,32,6,"ng-template",6),e.BQk(),e.qZA(),e._UZ(11,"div",9),e.BQk()),2&n){const t=e.MAs(2);e.xp6(11),e.Q6J("ngbNavOutlet",t)}}let ai=(()=>{class n{constructor(t){this.rgwBucketService=t,this.aclPermissions={}}ngOnChanges(){this.selection&&this.rgwBucketService.get(this.selection.bid).subscribe(t=>{t.lock_retention_period_days=this.rgwBucketService.getLockDays(t),this.selection=t,this.aclPermissions=this.parseXmlAcl(this.selection.acl,this.selection.owner)})}parseXmlAcl(t,o){const c=new P.Parser({explicitArray:!1,trim:!0});let O={Owner:["-"],AllUsers:["-"],AuthenticatedUsers:["-"]};return c.parseString(t,(H,Q)=>{if(H)return null;const J=Q.AccessControlPolicy.AccessControlList.Grant;if(Array.isArray(J))for(let j=0;j<J.length;j++){const oe=J[j];if(oe?.Grantee?.URI){const Te=oe.Grantee.URI.split("/").pop();O[Te].includes("-")?O[Te]=[oe?.Permission]:O[Te].push(oe?.Permission)}oe?.Grantee?.ID&&o===oe?.Grantee?.ID&&(O.Owner=oe?.Permission)}else J?.Grantee?.ID&&o===J?.Grantee?.ID&&(O.Owner=J?.Permission)}),O}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(L.o))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-bucket-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let i,t,o,c,O,H,Q,J,j,oe,Te,Me,Fe,Pe,me,Ge,ye,Le,Ee,Ue,$e,xe,De,ve,se,Re;return i="Details",t="Policies",o="Versioning",c="Encryption",O="MFA Delete",H="Index type",Q="Placement rule",J="Last modification time",j="Bucket quota",oe="Enabled",Te="Locking",Me="Enabled",Fe="Maximum size",Pe="Maximum objects",me="Unlimited",Ge="Unlimited",ye="Mode",Le="Days",Ee="Tags",Ue="" + "\ufffd0\ufffd" + "",$e="Bucket policy",xe="ACL",De="" + "[\ufffd#17\ufffd|\ufffd#18\ufffd]" + "Grantee" + "[\ufffd/#17\ufffd|\ufffd/#18\ufffd]" + "" + "[\ufffd#17\ufffd|\ufffd#18\ufffd]" + "Permissions" + "[\ufffd/#17\ufffd|\ufffd/#18\ufffd]" + "",De=e.Zx4(De),ve="" + "[\ufffd#22\ufffd|\ufffd#23\ufffd]" + "Bucket Owner" + "[\ufffd/#22\ufffd|\ufffd/#23\ufffd]" + "" + "[\ufffd#22\ufffd|\ufffd#23\ufffd]" + "" + "\ufffd0\ufffd" + "" + "[\ufffd/#22\ufffd|\ufffd/#23\ufffd]" + "",ve=e.Zx4(ve),se="" + "[\ufffd#26\ufffd|\ufffd#27\ufffd]" + "Everyone" + "[\ufffd/#26\ufffd|\ufffd/#27\ufffd]" + "" + "[\ufffd#26\ufffd|\ufffd#27\ufffd]" + "" + "\ufffd0\ufffd" + "" + "[\ufffd/#26\ufffd|\ufffd/#27\ufffd]" + "",se=e.Zx4(se),Re="" + "[\ufffd#30\ufffd|\ufffd#31\ufffd]" + "Authenticated users group" + "[\ufffd/#30\ufffd|\ufffd/#31\ufffd]" + "" + "[\ufffd#30\ufffd|\ufffd#31\ufffd]" + "" + "\ufffd0\ufffd" + "" + "[\ufffd/#30\ufffd|\ufffd/#31\ufffd]" + "",Re=e.Zx4(Re),[[4,"ngIf"],["ngbNav","","cdStatefulTab","rgw-bucket-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","permissions"],t,[3,"ngbNavOutlet"],[1,"table","table-striped","table-bordered"],[1,"bold","w-25"],o,[1,"w-75"],[1,"bold"],c,O,H,Q,J,j,oe,Te,Me,Fe,Pe,me,Ge,ye,Le,Ee,[4,"ngFor","ngForOf"],Ue,$e,xe,[1,"table"],De,ve,se,Re]},template:function(t,o){1&t&&e.YNc(0,si,12,1,"ng-container",0),2&t&&e.Q6J("ngIf",o.selection)},dependencies:[g.sg,g.O5,gn.m,x.uN,x.Pz,x.nv,x.Vx,x.tO,x.Dy,g.Ts,g.Nd,Tn.T,fn.n,Yo.N],styles:["table[_ngcontent-%COMP%]{table-layout:fixed}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{word-wrap:break-word}"]}),n})();const li=["bucketSizeTpl"],ci=["bucketObjectTpl"];function ui(n,i){if(1&n&&e._UZ(0,"cd-usage-bar",8),2&n){const t=e.oxw().row;e.Q6J("total",t.bucket_quota.max_size)("used",t.bucket_size)}}function di(n,i){1&n&&e.SDv(0,9)}function fi(n,i){if(1&n&&(e.YNc(0,ui,1,2,"cd-usage-bar",6),e.YNc(1,di,1,0,"ng-template",null,7,e.W1O)),2&n){const t=i.row,o=e.MAs(2);e.Q6J("ngIf",t.bucket_quota.max_size>0&&t.bucket_quota.enabled)("ngIfElse",o)}}function pi(n,i){if(1&n&&e._UZ(0,"cd-usage-bar",12),2&n){const t=e.oxw().row;e.Q6J("total",t.bucket_quota.max_objects)("used",t.num_objects)("isBinary",!1)}}function gi(n,i){1&n&&e.SDv(0,13)}function Ti(n,i){if(1&n&&(e.YNc(0,pi,1,3,"cd-usage-bar",10),e.YNc(1,gi,1,0,"ng-template",null,11,e.W1O)),2&n){const t=i.row,o=e.MAs(2);e.Q6J("ngIf",t.bucket_quota.max_objects>0&&t.bucket_quota.enabled)("ngIfElse",o)}}let Ri=(()=>{class n extends en.o{constructor(t,o,c,O,H,Q,J,j){super(j),this.authStorageService=t,this.dimlessBinaryPipe=o,this.dimlessPipe=c,this.rgwBucketService=O,this.modalService=H,this.urlBuilder=Q,this.actionLabels=J,this.ngZone=j,this.columns=[],this.buckets=[],this.selection=new Vt.r}ngOnInit(){this.permission=this.authStorageService.getPermissions().rgw,this.columns=[{name:"Name",prop:"bid",flexGrow:2},{name:"Owner",prop:"owner",flexGrow:2.5},{name:"Used Capacity",prop:"bucket_size",flexGrow:.6,pipe:this.dimlessBinaryPipe},{name:"Capacity Limit %",prop:"size_usage",cellTemplate:this.bucketSizeTpl,flexGrow:.8},{name:"Objects",prop:"num_objects",flexGrow:.6,pipe:this.dimlessPipe},{name:"Object Limit %",prop:"object_usage",cellTemplate:this.bucketObjectTpl,flexGrow:.8}];const t=()=>this.selection.first()&&`${encodeURIComponent(this.selection.first().bid)}`;this.tableActions=[{permission:"create",icon:$.P.add,routerLink:()=>this.urlBuilder.getCreate(),name:this.actionLabels.CREATE,canBePrimary:H=>!H.hasSelection},{permission:"update",icon:$.P.edit,routerLink:()=>this.urlBuilder.getEdit(t()),name:this.actionLabels.EDIT},{permission:"delete",icon:$.P.destroy,click:()=>this.deleteAction(),disable:()=>!this.selection.hasSelection,name:this.actionLabels.DELETE,canBePrimary:H=>H.hasMultiSelection}],this.setTableRefreshTimeout()}transformBucketData(){v().forEach(this.buckets,t=>{const o=t.bucket_quota.max_size,c=t.bucket_quota.max_objects;t.bucket_size=0,t.num_objects=0,v().isEmpty(t.usage)||(t.bucket_size=t.usage["rgw.main"].size_actual,t.num_objects=t.usage["rgw.main"].num_objects),t.size_usage=o>0?t.bucket_size/o:void 0,t.object_usage=c>0?t.num_objects/c:void 0})}getBucketList(t){this.setTableRefreshTimeout(),this.rgwBucketService.list(!0).subscribe(o=>{this.buckets=o,this.transformBucketData()},()=>{t.error()})}updateSelection(t){this.selection=t}deleteAction(){this.modalService.show(tn.M,{itemDescription:this.selection.hasSingleSelection?"bucket":"buckets",itemNames:this.selection.selected.map(t=>t.bid),submitActionObservable:()=>new dn.y(t=>{(0,k.D)(this.selection.selected.map(o=>this.rgwBucketService.delete(o.bid))).subscribe({error:o=>{t.error(o),this.table.refreshBtn()},complete:()=>{t.complete(),this.table.refreshBtn()}})})})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(nt.j),e.Y36(nn.$),e.Y36(fn.n),e.Y36(L.o),e.Y36(Qe.Z),e.Y36(tt.F),e.Y36(l.p4),e.Y36(e.R0b))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-bucket-list"]],viewQuery:function(t,o){if(1&t&&(e.Gf(et.a,7),e.Gf(li,7),e.Gf(ci,7)),2&t){let c;e.iGM(c=e.CRH())&&(o.table=c.first),e.iGM(c=e.CRH())&&(o.bucketSizeTpl=c.first),e.iGM(c=e.CRH())&&(o.bucketObjectTpl=c.first)}},features:[e._Bn([{provide:tt.F,useValue:new tt.F("rgw/bucket")}]),e.qOj],decls:8,vars:9,consts:function(){let i,t;return i="No Limit",t="No Limit",[["columnMode","flex","selectionType","multiClick","identifier","bid",3,"autoReload","data","columns","hasDetails","status","setExpandedRow","updateSelection","fetchData"],["table",""],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],["bucketSizeTpl",""],["bucketObjectTpl",""],[3,"total","used",4,"ngIf","ngIfElse"],["noSizeQuota",""],[3,"total","used"],i,[3,"total","used","isBinary",4,"ngIf","ngIfElse"],["noObjectQuota",""],[3,"total","used","isBinary"],t]},template:function(t,o){1&t&&(e.TgZ(0,"cd-table",0,1),e.NdJ("setExpandedRow",function(O){return o.setExpandedRow(O)})("updateSelection",function(O){return o.updateSelection(O)})("fetchData",function(O){return o.getBucketList(O)}),e._UZ(2,"cd-table-actions",2)(3,"cd-rgw-bucket-details",3),e.qZA(),e.YNc(4,fi,3,2,"ng-template",null,4,e.W1O),e.YNc(6,Ti,3,2,"ng-template",null,5,e.W1O)),2&t&&(e.Q6J("autoReload",!1)("data",o.buckets)("columns",o.columns)("hasDetails",!0)("status",o.tableStatus),e.xp6(2),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions),e.xp6(1),e.Q6J("selection",o.expandedRow))},dependencies:[g.O5,pn.O,et.a,on.K,ai]}),n})();var mi=d(58111),En=d(76317),Rn=d(61350),hi=d(60351);function Mi(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table-key-value",11),e.NdJ("fetchData",function(){e.CHM(t);const c=e.oxw(2);return e.KtG(c.getMetaData())}),e.qZA()}if(2&n){const t=e.oxw(2);e.Q6J("data",t.metadata)}}function Si(n,i){if(1&n&&e._UZ(0,"cd-table-performance-counter",12),2&n){const t=e.oxw(2);e.Q6J("serviceId",t.serviceMapId)}}function Ci(n,i){if(1&n&&e._UZ(0,"cd-grafana",15),2&n){const t=e.oxw(3);e.Q6J("grafanaPath","rgw-instance-detail?var-rgw_servers=rgw."+t.serviceId)("type","metrics")}}function Fi(n,i){1&n&&(e.ynx(0,13),e.TgZ(1,"a",4),e.SDv(2,14),e.qZA(),e.YNc(3,Ci,1,2,"ng-template",6),e.BQk())}function Oi(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"nav",1,2),e.ynx(3,3),e.TgZ(4,"a",4),e.SDv(5,5),e.qZA(),e.YNc(6,Mi,1,1,"ng-template",6),e.BQk(),e.ynx(7,7),e.TgZ(8,"a",4),e.SDv(9,8),e.qZA(),e.YNc(10,Si,1,1,"ng-template",6),e.BQk(),e.YNc(11,Fi,4,0,"ng-container",9),e.qZA(),e._UZ(12,"div",10),e.BQk()),2&n){const t=e.MAs(2),o=e.oxw();e.xp6(11),e.Q6J("ngIf",o.grafanaPermission.read),e.xp6(1),e.Q6J("ngbNavOutlet",t)}}let Ni=(()=>{class n{constructor(t,o){this.rgwDaemonService=t,this.authStorageService=o,this.serviceId="",this.serviceMapId="",this.grafanaPermission=this.authStorageService.getPermissions().grafana}ngOnChanges(){this.selection&&(this.serviceId=this.selection.id,this.serviceMapId=this.selection.service_map_id)}getMetaData(){v().isEmpty(this.serviceId)||this.rgwDaemonService.get(this.serviceId).subscribe(t=>{this.metadata=t.rgw_metadata})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(u.b),e.Y36(nt.j))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-daemon-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let i,t,o,c;return i="Details",t="Performance Counters",o="Performance Details",c="RGW instance details",[[4,"ngIf"],["ngbNav","","cdStatefulTab","rgw-daemon-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","performance-counters"],t,["ngbNavItem","performance-details",4,"ngIf"],[3,"ngbNavOutlet"],[3,"data","fetchData"],["serviceType","rgw",3,"serviceId"],["ngbNavItem","performance-details"],o,["title",c,"uid","x5ARzZtmk","grafanaStyle","one",3,"grafanaPath","type"]]},template:function(t,o){1&t&&e.YNc(0,Oi,13,2,"ng-container",0),2&t&&e.Q6J("ngIf",o.selection)},dependencies:[g.O5,En.F,Rn.b,gn.m,hi.p,x.uN,x.Pz,x.nv,x.Vx,x.tO,x.Dy]}),n})();function Pi(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"cd-table",8),e.NdJ("setExpandedRow",function(c){e.CHM(t);const O=e.oxw();return e.KtG(O.setExpandedRow(c))})("fetchData",function(c){e.CHM(t);const O=e.oxw();return e.KtG(O.getDaemonList(c))}),e._UZ(1,"cd-rgw-daemon-details",9),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("data",t.daemons)("columns",t.columns)("hasDetails",!0),e.xp6(1),e.Q6J("selection",t.expandedRow)}}function Ai(n,i){1&n&&e._UZ(0,"cd-grafana",11),2&n&&e.Q6J("grafanaPath","rgw-overview?")("type","metrics")}function bi(n,i){1&n&&(e.ynx(0,2),e.TgZ(1,"a",3),e.SDv(2,10),e.qZA(),e.YNc(3,Ai,1,2,"ng-template",5),e.BQk())}function Ii(n,i){1&n&&e._UZ(0,"cd-grafana",13),2&n&&e.Q6J("grafanaPath","radosgw-sync-overview?")("type","metrics")}function Gi(n,i){1&n&&(e.ynx(0,2),e.TgZ(1,"a",3),e.SDv(2,12),e.qZA(),e.YNc(3,Ii,1,2,"ng-template",5),e.BQk())}let yi=(()=>{class n extends en.o{constructor(t,o,c,O){super(),this.rgwDaemonService=t,this.authStorageService=o,this.cephShortVersionPipe=c,this.rgwSiteService=O,this.columns=[],this.daemons=[],this.updateDaemons=H=>{this.daemons=H}}ngOnInit(){this.grafanaPermission=this.authStorageService.getPermissions().grafana,this.columns=[{name:"ID",prop:"id",flexGrow:2},{name:"Hostname",prop:"server_hostname",flexGrow:2},{name:"Port",prop:"port",flexGrow:1},{name:"Realm",prop:"realm_name",flexGrow:2},{name:"Zone Group",prop:"zonegroup_name",flexGrow:2},{name:"Zone",prop:"zone_name",flexGrow:2},{name:"Version",prop:"version",flexGrow:1,pipe:this.cephShortVersionPipe}],this.rgwSiteService.get("realms").subscribe(t=>this.isMultiSite=t.length>0)}getDaemonList(t){this.rgwDaemonService.list().subscribe(this.updateDaemons,()=>{t.error()})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(u.b),e.Y36(nt.j),e.Y36(mi.F),e.Y36(I.I))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-daemon-list"]],features:[e.qOj],decls:9,vars:3,consts:function(){let i,t,o,c,O;return i="Gateways List",t="Overall Performance",o="RGW overview",c="Sync Performance",O="Radosgw sync overview",[["ngbNav","",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem",""],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","",4,"ngIf"],[3,"ngbNavOutlet"],["columnMode","flex",3,"data","columns","hasDetails","setExpandedRow","fetchData"],["cdTableDetail","",3,"selection"],t,["title",o,"uid","WAkugZpiz","grafanaStyle","two",3,"grafanaPath","type"],c,["title",O,"uid","rgw-sync-overview","grafanaStyle","two",3,"grafanaPath","type"]]},template:function(t,o){if(1&t&&(e.TgZ(0,"nav",0,1),e.ynx(2,2),e.TgZ(3,"a",3),e.SDv(4,4),e.qZA(),e.YNc(5,Pi,2,4,"ng-template",5),e.BQk(),e.YNc(6,bi,4,0,"ng-container",6),e.YNc(7,Gi,4,0,"ng-container",6),e.qZA(),e._UZ(8,"div",7)),2&t){const c=e.MAs(1);e.xp6(6),e.Q6J("ngIf",o.grafanaPermission.read),e.xp6(1),e.Q6J("ngIf",o.grafanaPermission.read&&o.isMultiSite),e.xp6(1),e.Q6J("ngbNavOutlet",c)}},dependencies:[g.O5,En.F,et.a,x.uN,x.Pz,x.nv,x.Vx,x.tO,x.Dy,Ni]}),n})();var Li=d(6481),_n=d(28211),jt=(()=>{return(n=jt||(jt={})).USERS="users",n.BUCKETS="buckets",n.METADATA="metadata",n.USAGE="usage",n.ZONE="zone",jt;var n})();let mn=(()=>{class n{static getAll(){return Object.values(n.capabilities)}}return n.capabilities=jt,n})();function Di(n,i){1&n&&e._UZ(0,"input",22),2&n&&e.Q6J("readonly",!0)}function vi(n,i){1&n&&(e.TgZ(0,"option",17),e.SDv(1,25),e.qZA()),2&n&&e.Q6J("ngValue",null)}function wi(n,i){if(1&n&&(e.TgZ(0,"option",26),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function Wi(n,i){if(1&n&&(e.TgZ(0,"select",23),e.YNc(1,vi,2,1,"option",24),e.YNc(2,wi,2,2,"option",19),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",null!==t.types),e.xp6(1),e.Q6J("ngForOf",t.types)}}function Ui(n,i){1&n&&(e.TgZ(0,"span",27),e.SDv(1,28),e.qZA())}function $i(n,i){if(1&n&&(e.TgZ(0,"option",26),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function xi(n,i){1&n&&(e.TgZ(0,"span",27),e.SDv(1,29),e.qZA())}const Zi=function(n){return{required:n}},ki=function(){return["read","write","*"]};let Bi=(()=>{class n{constructor(t,o,c){this.formBuilder=t,this.activeModal=o,this.actionLabels=c,this.submitAction=new e.vpe,this.editing=!0,this.types=[],this.resource="capability",this.createForm()}createForm(){this.formGroup=this.formBuilder.group({type:[null,[r.kI.required]],perm:[null,[r.kI.required]]})}setEditing(t=!0){this.editing=t,this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.ADD}setValues(t,o){this.formGroup.setValue({type:t,perm:o})}setCapabilities(t){const o=[];t.forEach(c=>{o.push(c.type)}),this.types=[],mn.getAll().forEach(c=>{-1===v().indexOf(o,c)&&this.types.push(c)})}onSubmit(){this.submitAction.emit(this.formGroup.value),this.activeModal.close()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(he.O),e.Y36(x.Kz),e.Y36(l.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-user-capability-modal"]],outputs:{submitAction:"submitAction"},decls:29,vars:24,consts:function(){let i,t,o,c,O,H,Q;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Type",o="Permission",c="-- Select a permission --",O="-- Select a type --",H="This field is required.",Q="This field is required.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","type",1,"cd-col-form-label",3,"ngClass"],t,[1,"cd-col-form-input"],["id","type","class","form-control","type","text","formControlName","type",3,"readonly",4,"ngIf"],["id","type","class","form-select","formControlName","type","autofocus","",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],["for","perm",1,"cd-col-form-label","required"],o,["id","perm","formControlName","perm",1,"form-select"],[3,"ngValue"],c,[3,"value",4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],["id","type","type","text","formControlName","type",1,"form-control",3,"readonly"],["id","type","formControlName","type","autofocus","",1,"form-select"],[3,"ngValue",4,"ngIf"],O,[3,"value"],[1,"invalid-feedback"],H,Q]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10),e.YNc(13,Di,1,1,"input",11),e.YNc(14,Wi,3,2,"select",12),e.YNc(15,Ui,2,0,"span",13),e.qZA()(),e.TgZ(16,"div",7)(17,"label",14),e.SDv(18,15),e.qZA(),e.TgZ(19,"div",10)(20,"select",16)(21,"option",17),e.SDv(22,18),e.qZA(),e.YNc(23,$i,2,2,"option",19),e.qZA(),e.YNc(24,xi,2,0,"span",13),e.qZA()()(),e.TgZ(25,"div",20)(26,"cd-form-button-panel",21),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(27,"titlecase"),e.ALo(28,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&t){const c=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,13,o.action))(e.lcZ(4,15,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.formGroup),e.xp6(4),e.Q6J("ngClass",e.VKq(21,Zi,!o.editing)),e.xp6(3),e.Q6J("ngIf",o.editing),e.xp6(1),e.Q6J("ngIf",!o.editing),e.xp6(1),e.Q6J("ngIf",o.formGroup.showError("type",c,"required")),e.xp6(6),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",e.DdM(23,ki)),e.xp6(1),e.Q6J("ngIf",o.formGroup.showError("perm",c,"required")),e.xp6(2),e.Q6J("form",o.formGroup)("submitText",e.lcZ(27,17,o.action)+" "+e.lcZ(28,19,o.resource))}},dependencies:[g.mk,g.sg,g.O5,Ie.z,we.p,st.U,Oe.o,Ae.b,We.P,C.V,r._Y,r.YN,r.Kr,r.Fj,r.EJ,r.JJ,r.JL,r.sg,r.u,g.rS,Ye.m]}),n})();var at=d(58039),lt=d(4416);function zi(n,i){1&n&&e._UZ(0,"input",17),2&n&&e.Q6J("readonly",!0)}function qi(n,i){1&n&&(e.TgZ(0,"option",21),e.SDv(1,22),e.qZA()),2&n&&e.Q6J("ngValue",null)}function Hi(n,i){if(1&n&&(e.TgZ(0,"option",23),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.Oqu(t)}}function Xi(n,i){if(1&n&&(e.TgZ(0,"select",18),e.YNc(1,qi,2,1,"option",19),e.YNc(2,Hi,2,2,"option",20),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",null!==t.userCandidates),e.xp6(1),e.Q6J("ngForOf",t.userCandidates)}}function Ki(n,i){1&n&&(e.TgZ(0,"span",24),e.SDv(1,25),e.qZA())}function Qi(n,i){1&n&&(e.TgZ(0,"div",7)(1,"div",26)(2,"div",27),e._UZ(3,"input",28),e.TgZ(4,"label",29),e.SDv(5,30),e.qZA()()()())}function Yi(n,i){1&n&&(e.TgZ(0,"span",24),e.SDv(1,37),e.qZA())}const rn=function(n){return{required:n}};function Ji(n,i){if(1&n&&(e.TgZ(0,"div",7)(1,"label",31),e.SDv(2,32),e.qZA(),e.TgZ(3,"div",10)(4,"div",33),e._UZ(5,"input",34)(6,"button",35)(7,"cd-copy-2-clipboard-button",36),e.qZA(),e.YNc(8,Yi,2,0,"span",13),e.qZA()()),2&n){const t=e.oxw(),o=e.MAs(7);e.xp6(1),e.Q6J("ngClass",e.VKq(3,rn,!t.viewing)),e.xp6(4),e.Q6J("readonly",t.viewing),e.xp6(3),e.Q6J("ngIf",t.formGroup.showError("access_key",o,"required"))}}function Vi(n,i){1&n&&(e.TgZ(0,"span",24),e.SDv(1,43),e.qZA())}function ji(n,i){if(1&n&&(e.TgZ(0,"div",7)(1,"label",38),e.SDv(2,39),e.qZA(),e.TgZ(3,"div",10)(4,"div",33),e._UZ(5,"input",40)(6,"button",41)(7,"cd-copy-2-clipboard-button",42),e.qZA(),e.YNc(8,Vi,2,0,"span",13),e.qZA()()),2&n){const t=e.oxw(),o=e.MAs(7);e.xp6(1),e.Q6J("ngClass",e.VKq(3,rn,!t.viewing)),e.xp6(4),e.Q6J("readonly",t.viewing),e.xp6(3),e.Q6J("ngIf",t.formGroup.showError("secret_key",o,"required"))}}let hn=(()=>{class n{constructor(t,o,c){this.formBuilder=t,this.activeModal=o,this.actionLabels=c,this.submitAction=new e.vpe,this.viewing=!0,this.userCandidates=[],this.resource="S3 Key",this.createForm()}createForm(){this.formGroup=this.formBuilder.group({user:[null,[r.kI.required]],generate_key:[!0],access_key:[null,[z.h.requiredIf({generate_key:!1})]],secret_key:[null,[z.h.requiredIf({generate_key:!1})]]})}setViewing(t=!0){this.viewing=t,this.action=this.viewing?this.actionLabels.SHOW:this.actionLabels.CREATE}setValues(t,o,c){this.formGroup.setValue({user:t,generate_key:v().isEmpty(o),access_key:o,secret_key:c})}setUserCandidates(t){this.userCandidates=t}onSubmit(){this.submitAction.emit(this.formGroup.value),this.activeModal.close()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(he.O),e.Y36(x.Kz),e.Y36(l.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-user-s3-key-modal"]],outputs:{submitAction:"submitAction"},decls:23,vars:24,consts:function(){let i,t,o,c,O,H,Q,J,j;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Username",o="-- Select a username --",c="This field is required.",O="Auto-generate key",H="Access key",Q="This field is required.",J="Secret key",j="This field is required.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","user",1,"cd-col-form-label",3,"ngClass"],t,[1,"cd-col-form-input"],["id","user","class","form-control","type","text","formControlName","user",3,"readonly",4,"ngIf"],["id","user","class","form-control","formControlName","user","autofocus","",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],["class","form-group row",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","showSubmit","submitActionEvent"],["id","user","type","text","formControlName","user",1,"form-control",3,"readonly"],["id","user","formControlName","user","autofocus","",1,"form-control"],[3,"ngValue",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"ngValue"],o,[3,"value"],[1,"invalid-feedback"],c,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","generate_key","type","checkbox","formControlName","generate_key",1,"custom-control-input"],["for","generate_key",1,"custom-control-label"],O,["for","access_key",1,"cd-col-form-label",3,"ngClass"],H,[1,"input-group"],["id","access_key","type","password","formControlName","access_key",1,"form-control",3,"readonly"],["type","button","cdPasswordButton","access_key",1,"btn","btn-light"],["source","access_key"],Q,["for","secret_key",1,"cd-col-form-label",3,"ngClass"],J,["id","secret_key","type","password","formControlName","secret_key",1,"form-control",3,"readonly"],["type","button","cdPasswordButton","secret_key",1,"btn","btn-light"],["source","secret_key"],j]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10),e.YNc(13,zi,1,1,"input",11),e.YNc(14,Xi,3,2,"select",12),e.YNc(15,Ki,2,0,"span",13),e.qZA()(),e.YNc(16,Qi,6,0,"div",14),e.YNc(17,Ji,9,5,"div",14),e.YNc(18,ji,9,5,"div",14),e.qZA(),e.TgZ(19,"div",15)(20,"cd-form-button-panel",16),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(21,"titlecase"),e.ALo(22,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&t){const c=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,14,o.action))(e.lcZ(4,16,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.formGroup),e.xp6(4),e.Q6J("ngClass",e.VKq(22,rn,!o.viewing)),e.xp6(3),e.Q6J("ngIf",o.viewing),e.xp6(1),e.Q6J("ngIf",!o.viewing),e.xp6(1),e.Q6J("ngIf",o.formGroup.showError("user",c,"required")),e.xp6(1),e.Q6J("ngIf",!o.viewing),e.xp6(1),e.Q6J("ngIf",!o.formGroup.getValue("generate_key")),e.xp6(1),e.Q6J("ngIf",!o.formGroup.getValue("generate_key")),e.xp6(2),e.Q6J("form",o.formGroup)("submitText",e.lcZ(21,18,o.action)+" "+e.lcZ(22,20,o.resource))("showSubmit",!o.viewing)}},dependencies:[g.mk,g.sg,g.O5,Ie.z,at.s,we.p,st.U,lt.C,Oe.o,Ae.b,We.P,C.V,r._Y,r.YN,r.Kr,r.Fj,r.Wl,r.EJ,r.JJ,r.JL,r.sg,r.u,g.rS,Ye.m]}),n})();class e_{}function t_(n,i){1&n&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function n_(n,i){1&n&&(e.TgZ(0,"span",29),e.SDv(1,31),e.qZA())}function o_(n,i){if(1&n&&(e.TgZ(0,"option",32),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function i_(n,i){1&n&&(e.TgZ(0,"span",29),e.SDv(1,33),e.qZA())}function __(n,i){1&n&&(e.TgZ(0,"span",29),e.SDv(1,47),e.qZA())}function r_(n,i){if(1&n&&(e.TgZ(0,"div",7)(1,"label",41),e.SDv(2,42),e.qZA(),e.TgZ(3,"div",10)(4,"div",43),e._UZ(5,"input",44)(6,"button",45)(7,"cd-copy-2-clipboard-button",46),e.qZA(),e.YNc(8,__,2,0,"span",15),e.qZA()()),2&n){const t=e.oxw(2),o=e.MAs(7);e.xp6(8),e.Q6J("ngIf",t.formGroup.showError("secret_key",o,"required"))}}function s_(n,i){if(1&n&&(e.TgZ(0,"fieldset")(1,"legend"),e.SDv(2,34),e.qZA(),e.TgZ(3,"div",7)(4,"div",35)(5,"div",36),e._UZ(6,"input",37),e.TgZ(7,"label",38),e.SDv(8,39),e.qZA()()()(),e.YNc(9,r_,9,1,"div",40),e.qZA()),2&n){const t=e.oxw();e.xp6(9),e.Q6J("ngIf",!t.editing&&!t.formGroup.getValue("generate_secret"))}}const a_=function(n){return{required:n}},l_=function(){return["read","write"]};let c_=(()=>{class n{constructor(t,o,c){this.formBuilder=t,this.bsModalRef=o,this.actionLabels=c,this.submitAction=new e.vpe,this.editing=!0,this.subusers=[],this.resource="Subuser",this.createForm()}createForm(){this.formGroup=this.formBuilder.group({uid:[null],subuid:[null,[r.kI.required,this.subuserValidator()]],perm:[null,[r.kI.required]],generate_secret:[!0],secret_key:[null,[z.h.requiredIf({generate_secret:!1})]]})}subuserValidator(){const t=this;return o=>t.editing||(0,z.P)(o.value)?null:t.subusers.some(O=>v().isEqual(t.getSubuserName(O.id),o.value))?{subuserIdExists:!0}:null}getSubuserName(t){if(v().isEmpty(t))return t;const o=t.match(/([^:]+)(:(.+))?/);return v().isUndefined(o[3])?o[1]:o[3]}setEditing(t=!0){this.editing=t,this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.CREATE}setValues(t,o="",c=""){this.formGroup.setValue({uid:t,subuid:this.getSubuserName(o),perm:c,generate_secret:!0,secret_key:null})}setSubusers(t){this.subusers=t}onSubmit(){const t=this.formGroup.value,o=new e_;o.id=`${t.uid}:${t.subuid}`,o.permissions=t.perm,o.generate_secret=t.generate_secret,o.secret_key=t.secret_key,this.submitAction.emit(o),this.bsModalRef.close()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(he.O),e.Y36(x.Kz),e.Y36(l.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-user-subuser-modal"]],outputs:{submitAction:"submitAction"},decls:39,vars:26,consts:function(){let i,t,o,c,O,H,Q,J,j,oe,Te,Me,Fe,Pe;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Username",o="Subuser",c="Permission",O="-- Select a permission --",H="read, write",Q="full",J="This field is required.",j="The chosen subuser ID is already in use.",oe="This field is required.",Te="Swift key",Me="Auto-generate secret",Fe="Secret key",Pe="This field is required.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","uid",1,"cd-col-form-label"],t,[1,"cd-col-form-input"],["id","uid","type","text","formControlName","uid",1,"form-control",3,"readonly"],["for","subuid",1,"cd-col-form-label",3,"ngClass"],o,["id","subuid","type","text","formControlName","subuid","autofocus","",1,"form-control",3,"readonly"],["class","invalid-feedback",4,"ngIf"],["for","perm",1,"cd-col-form-label","required"],c,["id","perm","formControlName","perm",1,"form-select"],[3,"ngValue"],O,[3,"value",4,"ngFor","ngForOf"],["value","read-write"],H,["value","full-control"],Q,[4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],J,j,[3,"value"],oe,Te,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","generate_secret","type","checkbox","formControlName","generate_secret",1,"custom-control-input"],["for","generate_secret",1,"custom-control-label"],Me,["class","form-group row",4,"ngIf"],["for","secret_key",1,"cd-col-form-label","required"],Fe,[1,"input-group"],["id","secret_key","type","password","formControlName","secret_key",1,"form-control"],["type","button","cdPasswordButton","secret_key",1,"btn","btn-light"],["source","secret_key"],Pe]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10),e._UZ(13,"input",11),e.qZA()(),e.TgZ(14,"div",7)(15,"label",12),e.SDv(16,13),e.qZA(),e.TgZ(17,"div",10),e._UZ(18,"input",14),e.YNc(19,t_,2,0,"span",15),e.YNc(20,n_,2,0,"span",15),e.qZA()(),e.TgZ(21,"div",7)(22,"label",16),e.SDv(23,17),e.qZA(),e.TgZ(24,"div",10)(25,"select",18)(26,"option",19),e.SDv(27,20),e.qZA(),e.YNc(28,o_,2,2,"option",21),e.TgZ(29,"option",22),e.SDv(30,23),e.qZA(),e.TgZ(31,"option",24),e.SDv(32,25),e.qZA()(),e.YNc(33,i_,2,0,"span",15),e.qZA()(),e.YNc(34,s_,10,1,"fieldset",26),e.qZA(),e.TgZ(35,"div",27)(36,"cd-form-button-panel",28),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(37,"titlecase"),e.ALo(38,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&t){const c=e.MAs(7);e.Q6J("modalRef",o.bsModalRef),e.xp6(4),e.pQV(e.lcZ(3,15,o.action))(e.lcZ(4,17,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.formGroup),e.xp6(7),e.Q6J("readonly",!0),e.xp6(2),e.Q6J("ngClass",e.VKq(23,a_,!o.editing)),e.xp6(3),e.Q6J("readonly",o.editing),e.xp6(1),e.Q6J("ngIf",o.formGroup.showError("subuid",c,"required")),e.xp6(1),e.Q6J("ngIf",o.formGroup.showError("subuid",c,"subuserIdExists")),e.xp6(6),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",e.DdM(25,l_)),e.xp6(5),e.Q6J("ngIf",o.formGroup.showError("perm",c,"required")),e.xp6(1),e.Q6J("ngIf",!o.editing),e.xp6(2),e.Q6J("form",o.formGroup)("submitText",e.lcZ(37,19,o.action)+" "+e.lcZ(38,21,o.resource))}},dependencies:[g.mk,g.sg,g.O5,Ie.z,at.s,we.p,st.U,lt.C,Oe.o,Ae.b,We.P,C.V,r._Y,r.YN,r.Kr,r.Fj,r.Wl,r.EJ,r.JJ,r.JL,r.sg,r.u,g.rS,Ye.m]}),n})();var Mn=d(13472);let Sn=(()=>{class n{constructor(t,o){this.activeModal=t,this.actionLabels=o,this.resource="Swift Key",this.action=this.actionLabels.SHOW}setValues(t,o){this.user=t,this.secret_key=o}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(x.Kz),e.Y36(l.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-user-swift-key-modal"]],decls:23,vars:11,consts:function(){let i,t,o;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Username",o="Secret key",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],[1,"modal-body"],["novalidate",""],[1,"form-group","row"],["for","user",1,"cd-col-form-label"],t,[1,"cd-col-form-input"],["id","user","name","user","type","text",1,"form-control",3,"readonly","ngModel","ngModelChange"],["for","secret_key",1,"cd-col-form-label"],o,[1,"input-group"],["id","secret_key","name","secret_key","type","password",1,"form-control",3,"ngModel","readonly","ngModelChange"],["type","button","cdPasswordButton","secret_key",1,"btn","btn-light"],["source","secret_key"],[1,"modal-footer"],[3,"backAction"]]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"div",4)(7,"form",5)(8,"div",6)(9,"label",7),e.SDv(10,8),e.qZA(),e.TgZ(11,"div",9)(12,"input",10),e.NdJ("ngModelChange",function(O){return o.user=O}),e.qZA()()(),e.TgZ(13,"div",6)(14,"label",11),e.SDv(15,12),e.qZA(),e.TgZ(16,"div",9)(17,"div",13)(18,"input",14),e.NdJ("ngModelChange",function(O){return o.secret_key=O}),e.qZA(),e._UZ(19,"button",15)(20,"cd-copy-2-clipboard-button",16),e.qZA()()()()(),e.TgZ(21,"div",17)(22,"cd-back-button",18),e.NdJ("backAction",function(){return o.activeModal.close()}),e.qZA()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,7,o.action))(e.lcZ(4,9,o.resource)),e.QtT(2),e.xp6(8),e.Q6J("readonly",!0)("ngModel",o.user),e.xp6(6),e.Q6J("ngModel",o.secret_key)("readonly",!0))},dependencies:[Mn.W,Ie.z,at.s,lt.C,Oe.o,Ae.b,We.P,r._Y,r.Fj,r.JJ,r.JL,r.On,r.F,g.rS,Ye.m]}),n})();var u_=d(17932);function d_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,55),e.qZA())}function f_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,56),e.qZA())}function p_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,57),e.qZA())}function g_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,61),e.qZA())}function T_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,62),e.qZA())}function E_(n,i){if(1&n&&(e.TgZ(0,"div",8)(1,"label",58),e.SDv(2,59),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",60),e.YNc(5,g_,2,0,"span",13),e.YNc(6,T_,2,0,"span",13),e.qZA()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(4),e.Q6J("readonly",o.editing),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("tenant",t,"pattern")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("tenant",t,"notUnique"))}}function R_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,63),e.qZA())}function m_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,64),e.qZA())}function h_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,65),e.qZA())}function M_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,66),e.qZA())}function S_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,69),e.qZA())}function C_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,70),e.qZA())}function F_(n,i){if(1&n&&(e.TgZ(0,"div",8),e._UZ(1,"label",67),e.TgZ(2,"div",11),e._UZ(3,"input",68),e.YNc(4,S_,2,0,"span",13),e.YNc(5,C_,2,0,"span",13),e.qZA()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(4),e.Q6J("ngIf",o.userForm.showError("max_buckets",t,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("max_buckets",t,"min"))}}function O_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,81),e.qZA())}function N_(n,i){if(1&n&&(e.TgZ(0,"div",8)(1,"label",75),e.SDv(2,76),e.qZA(),e.TgZ(3,"div",11)(4,"div",77),e._UZ(5,"input",78)(6,"button",79)(7,"cd-copy-2-clipboard-button",80),e.qZA(),e.YNc(8,O_,2,0,"span",13),e.qZA()()),2&n){e.oxw(2);const t=e.MAs(2),o=e.oxw();e.xp6(8),e.Q6J("ngIf",o.userForm.showError("access_key",t,"required"))}}function P_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,87),e.qZA())}function A_(n,i){if(1&n&&(e.TgZ(0,"div",8)(1,"label",82),e.SDv(2,83),e.qZA(),e.TgZ(3,"div",11)(4,"div",77),e._UZ(5,"input",84)(6,"button",85)(7,"cd-copy-2-clipboard-button",86),e.qZA(),e.YNc(8,P_,2,0,"span",13),e.qZA()()),2&n){e.oxw(2);const t=e.MAs(2),o=e.oxw();e.xp6(8),e.Q6J("ngIf",o.userForm.showError("secret_key",t,"required"))}}function b_(n,i){if(1&n&&(e.TgZ(0,"fieldset")(1,"legend"),e.SDv(2,71),e.qZA(),e.TgZ(3,"div",8)(4,"div",14)(5,"div",15),e._UZ(6,"input",72),e.TgZ(7,"label",73),e.SDv(8,74),e.qZA()()()(),e.YNc(9,N_,9,1,"div",19),e.YNc(10,A_,9,1,"div",19),e.qZA()),2&n){const t=e.oxw(2);e.xp6(9),e.Q6J("ngIf",!t.editing&&!t.userForm.getValue("generate_key")),e.xp6(1),e.Q6J("ngIf",!t.editing&&!t.userForm.getValue("generate_key"))}}function I_(n,i){1&n&&(e.TgZ(0,"span",98)(1,"span",99),e.SDv(2,100),e.qZA()())}const He=function(n){return[n]};function G_(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"span")(1,"div",77)(2,"span",101),e._UZ(3,"i"),e.qZA(),e._UZ(4,"input",102),e.TgZ(5,"span",101),e._UZ(6,"i"),e.qZA(),e._UZ(7,"input",102),e.TgZ(8,"button",103),e.NdJ("click",function(){const O=e.CHM(t).index,H=e.oxw(3);return e.KtG(H.showSubuserModal(O))}),e._UZ(9,"i",95),e.qZA(),e.TgZ(10,"button",104),e.NdJ("click",function(){const O=e.CHM(t).index,H=e.oxw(3);return e.KtG(H.deleteSubuser(O))}),e._UZ(11,"i",95),e.qZA()(),e._UZ(12,"span",99),e.qZA()}if(2&n){const t=i.$implicit,o=e.oxw(3);e.xp6(3),e.Tol(o.icons.user),e.xp6(1),e.s9C("value",t.id),e.xp6(2),e.Tol(o.icons.share),e.xp6(1),e.s9C("value","full-control"===t.permissions?"full":t.permissions),e.xp6(2),e.Q6J("ngClass",e.VKq(10,He,o.icons.edit)),e.xp6(2),e.Q6J("ngClass",e.VKq(12,He,o.icons.destroy))}}function y_(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"fieldset")(1,"legend"),e.SDv(2,88),e.qZA(),e.TgZ(3,"div",89)(4,"div",14),e.YNc(5,I_,3,0,"span",90),e.YNc(6,G_,13,14,"span",91),e.TgZ(7,"div",92)(8,"div",93)(9,"button",94),e.NdJ("click",function(){e.CHM(t);const c=e.oxw(2);return e.KtG(c.showSubuserModal())}),e._UZ(10,"i",95),e.ynx(11),e.SDv(12,96),e.ALo(13,"titlecase"),e.ALo(14,"upperFirst"),e.BQk(),e.qZA()()(),e._UZ(15,"span",97),e.qZA()()()}if(2&n){const t=e.oxw(2);e.xp6(5),e.Q6J("ngIf",0===t.subusers.length),e.xp6(1),e.Q6J("ngForOf",t.subusers),e.xp6(4),e.Q6J("ngClass",e.VKq(9,He,t.icons.add)),e.xp6(4),e.pQV(e.lcZ(13,5,t.actionLabels.CREATE))(e.lcZ(14,7,t.subuserLabel)),e.QtT(12)}}function L_(n,i){1&n&&(e.TgZ(0,"span",98)(1,"span",99),e.SDv(2,110),e.qZA()())}function D_(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"span")(1,"div",77)(2,"div",101),e._UZ(3,"i"),e.qZA(),e._UZ(4,"input",102),e.TgZ(5,"button",111),e.NdJ("click",function(){const O=e.CHM(t).index,H=e.oxw(3);return e.KtG(H.showS3KeyModal(O))}),e._UZ(6,"i",95),e.qZA(),e.TgZ(7,"button",112),e.NdJ("click",function(){const O=e.CHM(t).index,H=e.oxw(3);return e.KtG(H.deleteS3Key(O))}),e._UZ(8,"i",95),e.qZA()(),e._UZ(9,"span",99),e.qZA()}if(2&n){const t=i.$implicit,o=e.oxw(3);e.xp6(3),e.Tol(o.icons.key),e.xp6(1),e.s9C("value",t.user),e.xp6(2),e.Q6J("ngClass",e.VKq(6,He,o.icons.show)),e.xp6(2),e.Q6J("ngClass",e.VKq(8,He,o.icons.destroy))}}function v_(n,i){1&n&&(e.TgZ(0,"span",98)(1,"span",99),e.SDv(2,113),e.qZA()())}function w_(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"span")(1,"div",77)(2,"span",101),e._UZ(3,"i"),e.qZA(),e._UZ(4,"input",102),e.TgZ(5,"button",114),e.NdJ("click",function(){const O=e.CHM(t).index,H=e.oxw(3);return e.KtG(H.showSwiftKeyModal(O))}),e._UZ(6,"i",95),e.qZA()(),e._UZ(7,"span",99),e.qZA()}if(2&n){const t=i.$implicit,o=e.oxw(3);e.xp6(3),e.Tol(o.icons.key),e.xp6(1),e.s9C("value",t.user),e.xp6(2),e.Q6J("ngClass",e.VKq(5,He,o.icons.show))}}function W_(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"fieldset")(1,"legend"),e.SDv(2,105),e.qZA(),e.TgZ(3,"div",8)(4,"label",67),e.SDv(5,106),e.qZA(),e.TgZ(6,"div",11),e.YNc(7,L_,3,0,"span",90),e.YNc(8,D_,10,10,"span",91),e.TgZ(9,"div",92)(10,"div",93)(11,"button",107),e.NdJ("click",function(){e.CHM(t);const c=e.oxw(2);return e.KtG(c.showS3KeyModal())}),e._UZ(12,"i",95),e.ynx(13),e.SDv(14,108),e.ALo(15,"titlecase"),e.ALo(16,"upperFirst"),e.BQk(),e.qZA()()(),e._UZ(17,"span",97),e.qZA(),e._UZ(18,"hr"),e.qZA(),e.TgZ(19,"div",8)(20,"label",67),e.SDv(21,109),e.qZA(),e.TgZ(22,"div",11),e.YNc(23,v_,3,0,"span",90),e.YNc(24,w_,8,7,"span",91),e.qZA()()()}if(2&n){const t=e.oxw(2);e.xp6(7),e.Q6J("ngIf",0===t.s3Keys.length),e.xp6(1),e.Q6J("ngForOf",t.s3Keys),e.xp6(4),e.Q6J("ngClass",e.VKq(11,He,t.icons.add)),e.xp6(4),e.pQV(e.lcZ(15,7,t.actionLabels.CREATE))(e.lcZ(16,9,t.s3keyLabel)),e.QtT(14),e.xp6(7),e.Q6J("ngIf",0===t.swiftKeys.length),e.xp6(1),e.Q6J("ngForOf",t.swiftKeys)}}function U_(n,i){1&n&&(e.TgZ(0,"span",98)(1,"span",99),e.SDv(2,118),e.qZA()())}function $_(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"span")(1,"div",77)(2,"div",101),e._UZ(3,"i"),e.qZA(),e._UZ(4,"input",102),e.TgZ(5,"button",119),e.NdJ("click",function(){const O=e.CHM(t).index,H=e.oxw(3);return e.KtG(H.showCapabilityModal(O))}),e._UZ(6,"i",95),e.qZA(),e.TgZ(7,"button",120),e.NdJ("click",function(){const O=e.CHM(t).index,H=e.oxw(3);return e.KtG(H.deleteCapability(O))}),e._UZ(8,"i",95),e.qZA()(),e._UZ(9,"span",99),e.qZA()}if(2&n){const t=i.$implicit,o=e.oxw(3);e.xp6(3),e.Tol(o.icons.share),e.xp6(1),e.hYB("value","",t.type,":",t.perm,""),e.xp6(2),e.Q6J("ngClass",e.VKq(7,He,o.icons.edit)),e.xp6(2),e.Q6J("ngClass",e.VKq(9,He,o.icons.destroy))}}function x_(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"fieldset")(1,"legend"),e.SDv(2,115),e.qZA(),e.TgZ(3,"div",8)(4,"div",14),e.YNc(5,U_,3,0,"span",90),e.YNc(6,$_,10,11,"span",91),e.TgZ(7,"div",92)(8,"div",93)(9,"button",116),e.NdJ("click",function(){e.CHM(t);const c=e.oxw(2);return e.KtG(c.showCapabilityModal())}),e.ALo(10,"pipeFunction"),e.ALo(11,"pipeFunction"),e._UZ(12,"i",95),e.ynx(13),e.SDv(14,117),e.ALo(15,"titlecase"),e.ALo(16,"upperFirst"),e.BQk(),e.qZA()()(),e._UZ(17,"span",97),e.qZA()()()}if(2&n){const t=e.oxw(2);e.xp6(5),e.Q6J("ngIf",0===t.capabilities.length),e.xp6(1),e.Q6J("ngForOf",t.capabilities),e.xp6(3),e.Q6J("disabled",e.xi3(10,7,t.capabilities,t.hasAllCapabilities))("disableTooltip",!e.xi3(11,10,t.capabilities,t.hasAllCapabilities)),e.xp6(3),e.Q6J("ngClass",e.VKq(17,He,t.icons.add)),e.xp6(4),e.pQV(e.lcZ(15,13,t.actionLabels.ADD))(e.lcZ(16,15,t.capabilityLabel)),e.QtT(14)}}function Z_(n,i){1&n&&(e.TgZ(0,"div",8)(1,"div",14)(2,"div",15),e._UZ(3,"input",121),e.TgZ(4,"label",122),e.SDv(5,123),e.qZA()()()())}function k_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,127),e.qZA())}function B_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,128),e.qZA())}function z_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,129),e.qZA())}function q_(n,i){if(1&n&&(e.TgZ(0,"div",8)(1,"label",124),e.SDv(2,125),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",126),e.YNc(5,k_,2,0,"span",13),e.YNc(6,B_,2,0,"span",13),e.YNc(7,z_,2,0,"span",13),e.qZA()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.userForm.showError("user_quota_max_size",t,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("user_quota_max_size",t,"quotaMaxSize")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("user_quota_max_size",o.formDir,"pattern"))}}function H_(n,i){1&n&&(e.TgZ(0,"div",8)(1,"div",14)(2,"div",15),e._UZ(3,"input",130),e.TgZ(4,"label",131),e.SDv(5,132),e.qZA()()()())}function X_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,136),e.qZA())}function K_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,137),e.qZA())}function Q_(n,i){if(1&n&&(e.TgZ(0,"div",8)(1,"label",133),e.SDv(2,134),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",135),e.YNc(5,X_,2,0,"span",13),e.YNc(6,K_,2,0,"span",13),e.qZA()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.userForm.showError("user_quota_max_objects",t,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("user_quota_max_objects",t,"min"))}}function Y_(n,i){1&n&&(e.TgZ(0,"div",8)(1,"div",14)(2,"div",15),e._UZ(3,"input",138),e.TgZ(4,"label",139),e.SDv(5,140),e.qZA()()()())}function J_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,144),e.qZA())}function V_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,145),e.qZA())}function j_(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,146),e.qZA())}function er(n,i){if(1&n&&(e.TgZ(0,"div",8)(1,"label",141),e.SDv(2,142),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",143),e.YNc(5,J_,2,0,"span",13),e.YNc(6,V_,2,0,"span",13),e.YNc(7,j_,2,0,"span",13),e.qZA()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.userForm.showError("bucket_quota_max_size",t,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("bucket_quota_max_size",t,"quotaMaxSize")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("bucket_quota_max_size",o.formDir,"pattern"))}}function tr(n,i){1&n&&(e.TgZ(0,"div",8)(1,"div",14)(2,"div",15),e._UZ(3,"input",147),e.TgZ(4,"label",148),e.SDv(5,149),e.qZA()()()())}function nr(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,153),e.qZA())}function or(n,i){1&n&&(e.TgZ(0,"span",54),e.SDv(1,154),e.qZA())}function ir(n,i){if(1&n&&(e.TgZ(0,"div",8)(1,"label",150),e.SDv(2,151),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",152),e.YNc(5,nr,2,0,"span",13),e.YNc(6,or,2,0,"span",13),e.qZA()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.userForm.showError("bucket_quota_max_objects",t,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("bucket_quota_max_objects",t,"min"))}}const Cn=function(n){return{required:n}};function _r(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",7)(9,"div",8)(10,"label",9),e.SDv(11,10),e.qZA(),e.TgZ(12,"div",11),e._UZ(13,"input",12),e.YNc(14,d_,2,0,"span",13),e.YNc(15,f_,2,0,"span",13),e.YNc(16,p_,2,0,"span",13),e.qZA()(),e.TgZ(17,"div",8)(18,"div",14)(19,"div",15)(20,"input",16),e.NdJ("click",function(){e.CHM(t);const c=e.oxw();return e.KtG(c.updateFieldsWhenTenanted())}),e.qZA(),e.TgZ(21,"label",17),e.SDv(22,18),e.qZA()()()(),e.YNc(23,E_,7,3,"div",19),e.TgZ(24,"div",8)(25,"label",20),e.SDv(26,21),e.qZA(),e.TgZ(27,"div",11),e._UZ(28,"input",22),e.YNc(29,R_,2,0,"span",13),e.YNc(30,m_,2,0,"span",13),e.qZA()(),e.TgZ(31,"div",8)(32,"label",23),e.SDv(33,24),e.qZA(),e.TgZ(34,"div",11),e._UZ(35,"input",25),e.YNc(36,h_,2,0,"span",13),e.YNc(37,M_,2,0,"span",13),e.qZA()(),e.TgZ(38,"div",8)(39,"label",26),e.SDv(40,27),e.qZA(),e.TgZ(41,"div",11)(42,"select",28),e.NdJ("change",function(c){e.CHM(t);const O=e.oxw();return e.KtG(O.onMaxBucketsModeChange(c.target.value))}),e.TgZ(43,"option",29),e.SDv(44,30),e.qZA(),e.TgZ(45,"option",31),e.SDv(46,32),e.qZA(),e.TgZ(47,"option",33),e.SDv(48,34),e.qZA()()()(),e.YNc(49,F_,6,2,"div",19),e.TgZ(50,"div",8)(51,"div",14)(52,"div",15),e._UZ(53,"input",35),e.TgZ(54,"label",36),e.SDv(55,37),e.qZA(),e.TgZ(56,"cd-helper"),e.SDv(57,38),e.qZA()()()(),e.TgZ(58,"div",8)(59,"div",14)(60,"div",15),e._UZ(61,"input",39),e.TgZ(62,"label",40),e.SDv(63,41),e.qZA(),e.TgZ(64,"cd-helper"),e.SDv(65,42),e.qZA()()()(),e.YNc(66,b_,11,2,"fieldset",43),e.YNc(67,y_,16,11,"fieldset",43),e.YNc(68,W_,25,13,"fieldset",43),e.YNc(69,x_,18,19,"fieldset",43),e.TgZ(70,"fieldset")(71,"legend"),e.SDv(72,44),e.qZA(),e.TgZ(73,"div",8)(74,"div",14)(75,"div",15),e._UZ(76,"input",45),e.TgZ(77,"label",46),e.SDv(78,47),e.qZA()()()(),e.YNc(79,Z_,6,0,"div",19),e.YNc(80,q_,8,3,"div",19),e.YNc(81,H_,6,0,"div",19),e.YNc(82,Q_,7,2,"div",19),e.qZA(),e.TgZ(83,"fieldset")(84,"legend"),e.SDv(85,48),e.qZA(),e.TgZ(86,"div",8)(87,"div",14)(88,"div",15),e._UZ(89,"input",49),e.TgZ(90,"label",50),e.SDv(91,51),e.qZA()()()(),e.YNc(92,Y_,6,0,"div",19),e.YNc(93,er,8,3,"div",19),e.YNc(94,tr,6,0,"div",19),e.YNc(95,ir,7,2,"div",19),e.qZA()(),e.TgZ(96,"div",52)(97,"cd-form-button-panel",53),e.NdJ("submitActionEvent",function(){e.CHM(t);const c=e.oxw();return e.KtG(c.onSubmit())}),e.ALo(98,"titlecase"),e.ALo(99,"upperFirst"),e.qZA()()()()()}if(2&n){const t=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("formGroup",o.userForm),e.xp6(6),e.pQV(e.lcZ(6,30,o.action))(e.lcZ(7,32,o.resource)),e.QtT(5),e.xp6(3),e.Q6J("ngClass",e.VKq(38,Cn,!o.editing)),e.xp6(3),e.Q6J("readonly",o.editing),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("user_id",t,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("user_id",t,"pattern")),e.xp6(1),e.Q6J("ngIf",!o.userForm.getValue("show_tenant")&&o.userForm.showError("user_id",t,"notUnique")),e.xp6(4),e.Q6J("readonly",!0),e.xp6(3),e.Q6J("ngIf",o.userForm.getValue("show_tenant")),e.xp6(2),e.Q6J("ngClass",e.VKq(40,Cn,!o.editing)),e.xp6(4),e.Q6J("ngIf",o.userForm.showError("display_name",t,"pattern")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("display_name",t,"required")),e.xp6(6),e.Q6J("ngIf",o.userForm.showError("email",t,"email")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("email",t,"notUnique")),e.xp6(12),e.Q6J("ngIf",1==o.userForm.get("max_buckets_mode").value),e.xp6(17),e.Q6J("ngIf",!o.editing),e.xp6(1),e.Q6J("ngIf",o.editing),e.xp6(1),e.Q6J("ngIf",o.editing),e.xp6(1),e.Q6J("ngIf",o.editing),e.xp6(10),e.Q6J("ngIf",o.userForm.controls.user_quota_enabled.value),e.xp6(1),e.Q6J("ngIf",o.userForm.controls.user_quota_enabled.value&&!o.userForm.getValue("user_quota_max_size_unlimited")),e.xp6(1),e.Q6J("ngIf",o.userForm.controls.user_quota_enabled.value),e.xp6(1),e.Q6J("ngIf",o.userForm.controls.user_quota_enabled.value&&!o.userForm.getValue("user_quota_max_objects_unlimited")),e.xp6(10),e.Q6J("ngIf",o.userForm.controls.bucket_quota_enabled.value),e.xp6(1),e.Q6J("ngIf",o.userForm.controls.bucket_quota_enabled.value&&!o.userForm.getValue("bucket_quota_max_size_unlimited")),e.xp6(1),e.Q6J("ngIf",o.userForm.controls.bucket_quota_enabled.value),e.xp6(1),e.Q6J("ngIf",o.userForm.controls.bucket_quota_enabled.value&&!o.userForm.getValue("bucket_quota_max_objects_unlimited")),e.xp6(2),e.Q6J("form",o.userForm)("submitText",e.lcZ(98,34,o.action)+" "+e.lcZ(99,36,o.resource))}}let Fn=(()=>{class n extends q.E{constructor(t,o,c,O,H,Q,J){super(),this.formBuilder=t,this.route=o,this.router=c,this.rgwUserService=O,this.modalService=H,this.notificationService=Q,this.actionLabels=J,this.editing=!1,this.submitObservables=[],this.icons=$.P,this.subusers=[],this.s3Keys=[],this.swiftKeys=[],this.capabilities=[],this.showTenant=!1,this.previousTenant=null,this.resource="user",this.subuserLabel="subuser",this.s3keyLabel="S3 Key",this.capabilityLabel="capability",this.editing=this.router.url.startsWith(`/rgw/user/${l.MQ.EDIT}`),this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.CREATE,this.createForm()}createForm(){this.userForm=this.formBuilder.group({user_id:[null,[r.kI.required,r.kI.pattern(/^[a-zA-Z0-9!@#%^&*()_-]+$/)],this.editing?[]:[z.h.unique(this.rgwUserService.exists,this.rgwUserService,()=>this.userForm.getValue("tenant"))]],show_tenant:[this.editing],tenant:[null,[r.kI.pattern(/^[a-zA-Z0-9!@#%^&*()_-]+$/)],this.editing?[]:[z.h.unique(this.rgwUserService.exists,this.rgwUserService,()=>this.userForm.getValue("user_id"),!0)]],display_name:[null,[r.kI.required,r.kI.pattern(/^[a-zA-Z0-9!@#%^&*()._ -]+$/)]],email:[null,[z.h.email],[z.h.unique(this.rgwUserService.emailExists,this.rgwUserService)]],max_buckets_mode:[1],max_buckets:[1e3,[z.h.requiredIf({max_buckets_mode:"1"}),z.h.number(!1)]],system:[!1],suspended:[!1],generate_key:[!0],access_key:[null,[z.h.requiredIf({generate_key:!1})]],secret_key:[null,[z.h.requiredIf({generate_key:!1})]],user_quota_enabled:[!1],user_quota_max_size_unlimited:[!0],user_quota_max_size:[null,[z.h.composeIf({user_quota_enabled:!0,user_quota_max_size_unlimited:!1},[r.kI.required,this.quotaMaxSizeValidator])]],user_quota_max_objects_unlimited:[!0],user_quota_max_objects:[null,[z.h.requiredIf({user_quota_enabled:!0,user_quota_max_objects_unlimited:!1})]],bucket_quota_enabled:[!1],bucket_quota_max_size_unlimited:[!0],bucket_quota_max_size:[null,[z.h.composeIf({bucket_quota_enabled:!0,bucket_quota_max_size_unlimited:!1},[r.kI.required,this.quotaMaxSizeValidator])]],bucket_quota_max_objects_unlimited:[!0],bucket_quota_max_objects:[null,[z.h.requiredIf({bucket_quota_enabled:!0,bucket_quota_max_objects_unlimited:!1})]]})}ngOnInit(){this.route.params.subscribe(t=>{if(!t.hasOwnProperty("uid"))return void this.loadingReady();const o=decodeURIComponent(t.uid),c=[];c.push(this.rgwUserService.get(o)),c.push(this.rgwUserService.getQuota(o)),(0,k.D)(c).subscribe(O=>{const H=v().clone(this.userForm.value);let Q=v().pick(O[0],v().keys(this.userForm.value));switch(Q.max_buckets){case-1:Q.max_buckets_mode=-1,Q.max_buckets="";break;case 0:Q.max_buckets_mode=0,Q.max_buckets="";break;default:Q.max_buckets_mode=1}["user","bucket"].forEach(j=>{const oe=O[1][j+"_quota"];Q[j+"_quota_enabled"]=oe.enabled,oe.max_size<0?(Q[j+"_quota_max_size_unlimited"]=!0,Q[j+"_quota_max_size"]=null):(Q[j+"_quota_max_size_unlimited"]=!1,Q[j+"_quota_max_size"]=`${oe.max_size} B`),oe.max_objects<0?(Q[j+"_quota_max_objects_unlimited"]=!0,Q[j+"_quota_max_objects"]=null):(Q[j+"_quota_max_objects_unlimited"]=!1,Q[j+"_quota_max_objects"]=oe.max_objects)}),Q=v().merge(H,Q),this.userForm.setValue(Q),this.subusers=O[0].subusers,this.s3Keys=O[0].keys,this.swiftKeys=O[0].swift_keys;const J={"read, write":"*"};O[0].caps.forEach(j=>{j.perm in J&&(j.perm=J[j.perm])}),this.capabilities=O[0].caps,this.loadingReady()},()=>{this.loadingError()})})}goToListView(){this.router.navigate(["/rgw/user"])}onSubmit(){let t;if(this.userForm.pristine)return void this.goToListView();const o=this.getUID();if(this.editing){if(this._isGeneralDirty()){const c=this._getUpdateArgs();this.submitObservables.push(this.rgwUserService.update(o,c))}t="Updated Object Gateway user '" + o + "'"}else{const c=this._getCreateArgs();this.submitObservables.push(this.rgwUserService.create(c)),t="Created Object Gateway user '" + o + "'"}if(this._isUserQuotaDirty()){const c=this._getUserQuotaArgs();this.submitObservables.push(this.rgwUserService.updateQuota(o,c))}if(this._isBucketQuotaDirty()){const c=this._getBucketQuotaArgs();this.submitObservables.push(this.rgwUserService.updateQuota(o,c))}(0,Li.z)(...this.submitObservables).subscribe({error:()=>{this.userForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.notificationService.show(M.k.success,t),this.goToListView()}})}updateFieldsWhenTenanted(){this.showTenant=this.userForm.getValue("show_tenant"),this.showTenant?(this.userForm.get("user_id").markAsTouched(),this.previousTenant=this.userForm.get("tenant").value,this.userForm.get("tenant").patchValue(null)):(this.userForm.get("user_id").markAsUntouched(),this.userForm.get("tenant").patchValue(this.previousTenant))}getUID(){let t=this.userForm.getValue("user_id");const o=this.userForm?.getValue("tenant");return o&&o.length>0&&(t=`${this.userForm.getValue("tenant")}$${t}`),t}quotaMaxSizeValidator(t){return(0,z.P)(t.value)?null:null===RegExp("^(\\d+(\\.\\d+)?)\\s*(B|K(B|iB)?|M(B|iB)?|G(B|iB)?|T(B|iB)?)?$","i").exec(t.value)||(new _n.H).toBytes(t.value)<1024?{quotaMaxSize:!0}:null}setSubuser(t,o){const c={"full-control":"full","read-write":"readwrite"},O=this.getUID();this.submitObservables.push(this.rgwUserService.createSubuser(O,{subuser:t.id,access:t.permissions in c?c[t.permissions]:t.permissions,key_type:"swift",secret_key:t.secret_key,generate_secret:t.generate_secret?"true":"false"})),v().isNumber(o)?this.subusers[o]=t:(this.subusers.push(t),this.swiftKeys.push({user:t.id,secret_key:t.generate_secret?"Apply your changes first...":t.secret_key})),this.userForm.markAsDirty()}deleteSubuser(t){const o=this.subusers[t];this.submitObservables.push(this.rgwUserService.deleteSubuser(this.getUID(),o.id)),this.s3Keys=this.s3Keys.filter(c=>c.user!==o.id),this.swiftKeys=this.swiftKeys.filter(c=>c.user!==o.id),this.subusers.splice(t,1),this.userForm.markAsDirty()}setCapability(t,o){const c=this.getUID();if(v().isNumber(o)){const O=this.capabilities[o];this.submitObservables.push(this.rgwUserService.deleteCapability(c,O.type,O.perm)),this.submitObservables.push(this.rgwUserService.addCapability(c,t.type,t.perm)),this.capabilities[o]=t}else this.submitObservables.push(this.rgwUserService.addCapability(c,t.type,t.perm)),this.capabilities=[...this.capabilities,t];this.userForm.markAsDirty()}deleteCapability(t){const o=this.capabilities[t];this.submitObservables.push(this.rgwUserService.deleteCapability(this.getUID(),o.type,o.perm)),this.capabilities.splice(t,1),this.capabilities=[...this.capabilities],this.userForm.markAsDirty()}hasAllCapabilities(t){return!v().difference(mn.getAll(),v().map(t,"type")).length}setS3Key(t,o){if(!v().isNumber(o)){const c=t.user.match(/([^:]+)(:(.+))?/),O=c[1],H={subuser:c[2]?c[3]:"",generate_key:t.generate_key?"true":"false"};"false"===H.generate_key&&(v().isNil(t.access_key)||(H.access_key=t.access_key),v().isNil(t.secret_key)||(H.secret_key=t.secret_key)),this.submitObservables.push(this.rgwUserService.addS3Key(O,H)),this.s3Keys.push({user:t.user,access_key:t.generate_key?"Apply your changes first...":t.access_key,secret_key:t.generate_key?"Apply your changes first...":t.secret_key})}this.userForm.markAsDirty()}deleteS3Key(t){const o=this.s3Keys[t];this.submitObservables.push(this.rgwUserService.deleteS3Key(this.getUID(),o.access_key)),this.s3Keys.splice(t,1),this.userForm.markAsDirty()}showSubuserModal(t){const o=this.getUID(),c=this.modalService.show(c_);if(v().isNumber(t)){const O=this.subusers[t];c.componentInstance.setEditing(),c.componentInstance.setValues(o,O.id,O.permissions)}else c.componentInstance.setEditing(!1),c.componentInstance.setValues(o),c.componentInstance.setSubusers(this.subusers);c.componentInstance.submitAction.subscribe(O=>{this.setSubuser(O,t)})}showS3KeyModal(t){const o=this.modalService.show(hn);if(v().isNumber(t)){const c=this.s3Keys[t];o.componentInstance.setViewing(),o.componentInstance.setValues(c.user,c.access_key,c.secret_key)}else{const c=this._getS3KeyUserCandidates();o.componentInstance.setViewing(!1),o.componentInstance.setUserCandidates(c),o.componentInstance.submitAction.subscribe(O=>{this.setS3Key(O)})}}showSwiftKeyModal(t){const o=this.modalService.show(Sn),c=this.swiftKeys[t];o.componentInstance.setValues(c.user,c.secret_key)}showCapabilityModal(t){const o=this.modalService.show(Bi);if(v().isNumber(t)){const c=this.capabilities[t];o.componentInstance.setEditing(),o.componentInstance.setValues(c.type,c.perm)}else o.componentInstance.setEditing(!1),o.componentInstance.setCapabilities(this.capabilities);o.componentInstance.submitAction.subscribe(c=>{this.setCapability(c,t)})}_isGeneralDirty(){return["display_name","email","max_buckets_mode","max_buckets","system","suspended"].some(t=>this.userForm.get(t).dirty)}_isUserQuotaDirty(){return["user_quota_enabled","user_quota_max_size_unlimited","user_quota_max_size","user_quota_max_objects_unlimited","user_quota_max_objects"].some(t=>this.userForm.get(t).dirty)}_isBucketQuotaDirty(){return["bucket_quota_enabled","bucket_quota_max_size_unlimited","bucket_quota_max_size","bucket_quota_max_objects_unlimited","bucket_quota_max_objects"].some(t=>this.userForm.get(t).dirty)}_getCreateArgs(){const t={uid:this.getUID(),display_name:this.userForm.getValue("display_name"),system:this.userForm.getValue("system"),suspended:this.userForm.getValue("suspended"),email:"",max_buckets:this.userForm.getValue("max_buckets"),generate_key:this.userForm.getValue("generate_key"),access_key:"",secret_key:""},o=this.userForm.getValue("email");v().isString(o)&&o.length>0&&v().merge(t,{email:o}),this.userForm.getValue("generate_key")||v().merge(t,{generate_key:!1,access_key:this.userForm.getValue("access_key"),secret_key:this.userForm.getValue("secret_key")});const O=parseInt(this.userForm.getValue("max_buckets_mode"),10);return v().includes([-1,0],O)&&v().merge(t,{max_buckets:O}),t}_getUpdateArgs(){const t={},o=["display_name","email","max_buckets","system","suspended"];for(const O of o)t[O]=this.userForm.getValue(O);const c=parseInt(this.userForm.getValue("max_buckets_mode"),10);return v().includes([-1,0],c)&&(t.max_buckets=c),t}_getUserQuotaArgs(){const t={quota_type:"user",enabled:this.userForm.getValue("user_quota_enabled"),max_size_kb:-1,max_objects:-1};if(!this.userForm.getValue("user_quota_max_size_unlimited")){const o=(new _n.H).toBytes(this.userForm.getValue("user_quota_max_size"));t.max_size_kb=(o/1024).toFixed(0)}return this.userForm.getValue("user_quota_max_objects_unlimited")||(t.max_objects=this.userForm.getValue("user_quota_max_objects")),t}_getBucketQuotaArgs(){const t={quota_type:"bucket",enabled:this.userForm.getValue("bucket_quota_enabled"),max_size_kb:-1,max_objects:-1};if(!this.userForm.getValue("bucket_quota_max_size_unlimited")){const o=(new _n.H).toBytes(this.userForm.getValue("bucket_quota_max_size"));t.max_size_kb=(o/1024).toFixed(0)}return this.userForm.getValue("bucket_quota_max_objects_unlimited")||(t.max_objects=this.userForm.getValue("bucket_quota_max_objects")),t}_getS3KeyUserCandidates(){let t=[];const o=this.getUID();return v().isString(o)&&!v().isEmpty(o)&&t.push(o),this.subusers.forEach(c=>{t.push(c.id)}),this.s3Keys.forEach(c=>{t.push(c.user)}),t=v().uniq(t),t}onMaxBucketsModeChange(t){"1"===t&&(this.userForm.get("max_buckets").valid||this.userForm.patchValue({max_buckets:1e3}))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(he.O),e.Y36(A.gz),e.Y36(A.F0),e.Y36(f),e.Y36(Qe.Z),e.Y36(V.g),e.Y36(l.p4))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-user-form"]],features:[e.qOj],decls:1,vars:1,consts:function(){let i,t,o,c,O,H,Q,J,j,oe,Te,Me,Fe,Pe,me,Ge,ye,Le,Ee,Ue,$e,xe,De,ve,se,Re,ce,Je,Se,ut,dt,ft,pt,gt,Tt,Et,Rt,mt,ht,Mt,St,Ct,Ft,Ot,Nt,Pt,At,bt,It,Gt,yt,Lt,Dt,vt,wt,Wt,Ut,$t,xt,Zt,kt,Bt,zt,qt,Ht,Xt,Kt,Qt,Yt,Jt,_e,Wn,Un;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="User ID",o="Show Tenant",c="Full name",O="Email address",H="Max. buckets",Q="Disabled",J="Unlimited",j="Custom",oe="Suspended",Te="Suspending the user disables the user and subuser.",Me="System user",Fe="System users are distinct from regular users, they are used by the RGW service to perform administrative tasks, manage buckets and objects",Pe="User quota",me="Enabled",Ge="Bucket quota",ye="Enabled",Le="This field is required.",Ee="The value is not valid.",Ue="The chosen user ID is already in use.",$e="Tenant",xe="The value is not valid.",De="The chosen user ID exists in this tenant.",ve="The value is not valid.",se="This field is required.",Re="This is not a valid email address.",ce="The chosen email address is already in use.",Je="This field is required.",Se="The entered value must be >= 1.",ut="S3 key",dt="Auto-generate key",ft="Access key",pt="This field is required.",gt="Secret key",Tt="This field is required.",Et="Subusers",Rt="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",mt="There are no subusers.",ht="Edit",Mt="Delete",St="Keys",Ct="S3",Ft="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",Ot="Swift",Nt="There are no keys.",Pt="Show",At="Delete",bt="There are no keys.",It="Show",Gt="Capabilities",yt="All capabilities are already added.",Lt="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",Dt="There are no capabilities.",vt="Edit",wt="Delete",Wt="Unlimited size",Ut="Max. size",$t="This field is required.",xt="The value is not valid.",Zt="Size must be a number or in a valid format. eg: 5 GiB",kt="Unlimited objects",Bt="Max. objects",zt="This field is required.",qt="The entered value must be >= 0.",Ht="Unlimited size",Xt="Max. size",Kt="This field is required.",Qt="The value is not valid.",Yt="Size must be a number or in a valid format. eg: 5 GiB",Jt="Unlimited objects",_e="Max. objects",Wn="This field is required.",Un="The entered value must be >= 0.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"card"],[1,"card-header"],i,[1,"card-body"],[1,"form-group","row"],["for","user_id",1,"cd-col-form-label",3,"ngClass"],t,[1,"cd-col-form-input"],["id","user_id","type","text","formControlName","user_id",1,"form-control",3,"readonly"],["class","invalid-feedback",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","show_tenant","type","checkbox","formControlName","show_tenant",1,"custom-control-input",3,"readonly","click"],["for","show_tenant",1,"custom-control-label"],o,["class","form-group row",4,"ngIf"],["for","display_name",1,"cd-col-form-label",3,"ngClass"],c,["id","display_name","type","text","formControlName","display_name",1,"form-control"],["for","email",1,"cd-col-form-label"],O,["id","email","type","text","formControlName","email",1,"form-control"],["for","max_buckets_mode",1,"cd-col-form-label"],H,["formControlName","max_buckets_mode","name","max_buckets_mode","id","max_buckets_mode",1,"form-select",3,"change"],["value","-1"],Q,["value","0"],J,["value","1"],j,["id","suspended","type","checkbox","formControlName","suspended",1,"custom-control-input"],["for","suspended",1,"custom-control-label"],oe,Te,["id","system","type","checkbox","formControlName","system",1,"custom-control-input"],["for","system",1,"custom-control-label"],Me,Fe,[4,"ngIf"],Pe,["id","user_quota_enabled","type","checkbox","formControlName","user_quota_enabled",1,"custom-control-input"],["for","user_quota_enabled",1,"custom-control-label"],me,Ge,["id","bucket_quota_enabled","type","checkbox","formControlName","bucket_quota_enabled",1,"custom-control-input"],["for","bucket_quota_enabled",1,"custom-control-label"],ye,[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],Le,Ee,Ue,["for","tenant",1,"cd-col-form-label"],$e,["id","tenant","type","text","formControlName","tenant","autofocus","",1,"form-control",3,"readonly"],xe,De,ve,se,Re,ce,[1,"cd-col-form-label"],["id","max_buckets","type","number","formControlName","max_buckets","min","1",1,"form-control"],Je,Se,ut,["id","generate_key","type","checkbox","formControlName","generate_key",1,"custom-control-input"],["for","generate_key",1,"custom-control-label"],dt,["for","access_key",1,"cd-col-form-label","required"],ft,[1,"input-group"],["id","access_key","type","password","formControlName","access_key",1,"form-control"],["type","button","cdPasswordButton","access_key",1,"btn","btn-light"],["source","access_key"],pt,["for","secret_key",1,"cd-col-form-label","required"],gt,["id","secret_key","type","password","formControlName","secret_key",1,"form-control"],["type","button","cdPasswordButton","secret_key",1,"btn","btn-light"],["source","secret_key"],Tt,Et,[1,"row"],["class","no-border",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"row","my-2"],[1,"col-12"],["type","button",1,"btn","btn-light","float-end","tc_addSubuserButton",3,"click"],[3,"ngClass"],Rt,[1,"help-block"],[1,"no-border"],[1,"form-text","text-muted"],mt,[1,"input-group-text"],["type","text","readonly","",1,"cd-form-control",3,"value"],["type","button","ngbTooltip",ht,1,"btn","btn-light","tc_showSubuserButton",3,"click"],["type","button","ngbTooltip",Mt,1,"btn","btn-light","tc_deleteSubuserButton",3,"click"],St,Ct,["type","button",1,"btn","btn-light","float-end","tc_addS3KeyButton",3,"click"],Ft,Ot,Nt,["type","button","ngbTooltip",Pt,1,"btn","btn-light","tc_showS3KeyButton",3,"click"],["type","button","ngbTooltip",At,1,"btn","btn-light","tc_deleteS3KeyButton",3,"click"],bt,["type","button","ngbTooltip",It,1,"btn","btn-light","tc_showSwiftKeyButton",3,"click"],Gt,["type","button","ngbTooltip",yt,"triggers","pointerenter:pointerleave",1,"btn","btn-light","float-end","tc_addCapButton",3,"disabled","disableTooltip","click"],Lt,Dt,["type","button","ngbTooltip",vt,1,"btn","btn-light","tc_editCapButton",3,"click"],["type","button","ngbTooltip",wt,1,"btn","btn-light","tc_deleteCapButton",3,"click"],["id","user_quota_max_size_unlimited","type","checkbox","formControlName","user_quota_max_size_unlimited",1,"custom-control-input"],["for","user_quota_max_size_unlimited",1,"custom-control-label"],Wt,["for","user_quota_max_size",1,"cd-col-form-label","required"],Ut,["id","user_quota_max_size","type","text","formControlName","user_quota_max_size","cdDimlessBinary","",1,"form-control"],$t,xt,Zt,["id","user_quota_max_objects_unlimited","type","checkbox","formControlName","user_quota_max_objects_unlimited",1,"custom-control-input"],["for","user_quota_max_objects_unlimited",1,"custom-control-label"],kt,["for","user_quota_max_objects",1,"cd-col-form-label","required"],Bt,["id","user_quota_max_objects","type","number","formControlName","user_quota_max_objects","min","0",1,"form-control"],zt,qt,["id","bucket_quota_max_size_unlimited","type","checkbox","formControlName","bucket_quota_max_size_unlimited",1,"custom-control-input"],["for","bucket_quota_max_size_unlimited",1,"custom-control-label"],Ht,["for","bucket_quota_max_size",1,"cd-col-form-label","required"],Xt,["id","bucket_quota_max_size","type","text","formControlName","bucket_quota_max_size","cdDimlessBinary","",1,"form-control"],Kt,Qt,Yt,["id","bucket_quota_max_objects_unlimited","type","checkbox","formControlName","bucket_quota_max_objects_unlimited",1,"custom-control-input"],["for","bucket_quota_max_objects_unlimited",1,"custom-control-label"],Jt,["for","bucket_quota_max_objects",1,"cd-col-form-label","required"],_e,["id","bucket_quota_max_objects","type","number","formControlName","bucket_quota_max_objects","min","0",1,"form-control"],Wn,Un]},template:function(t,o){1&t&&e.YNc(0,_r,100,42,"div",0),2&t&&e.Q6J("cdFormLoading",o.loading)},dependencies:[g.mk,g.sg,g.O5,fe.S,at.s,we.p,st.U,u_.Q,lt.C,cn.y,Oe.o,Ae.b,We.P,C.V,r._Y,r.YN,r.Kr,r.Fj,r.wV,r.Wl,r.EJ,r.JJ,r.JL,r.qQ,r.sg,r.u,x._L,g.rS,Ye.m,Z.i]}),n})();var On=d(99466),rr=d(86969),sr=d(78877);const ar=["accessKeyTpl"],lr=["secretKeyTpl"],cr=function(n){return[n]};function ur(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"legend"),e.SDv(2,13),e.qZA(),e.TgZ(3,"div")(4,"cd-table",14),e.NdJ("updateSelection",function(c){e.CHM(t);const O=e.oxw(3);return e.KtG(O.updateKeysSelection(c))}),e.TgZ(5,"div",15)(6,"div",16)(7,"button",17),e.NdJ("click",function(){e.CHM(t);const c=e.oxw(3);return e.KtG(c.showKeyModal())}),e._UZ(8,"i",18),e.ynx(9),e.SDv(10,19),e.BQk(),e.qZA()()()()()()}if(2&n){const t=e.oxw(3);e.xp6(4),e.Q6J("data",t.keys)("columns",t.keysColumns),e.xp6(3),e.Q6J("disabled",!t.keysSelection.hasSingleSelection),e.xp6(1),e.Q6J("ngClass",e.VKq(4,cr,t.icons.show))}}function dr(n,i){if(1&n&&(e.TgZ(0,"tr")(1,"td",8),e.SDv(2,20),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA()()),2&n){const t=e.oxw(3);e.xp6(4),e.Oqu(t.user.email)}}function fr(n,i){if(1&n&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.xp6(1),e.AsE(" ",t.id," (",t.permissions,") ")}}function pr(n,i){if(1&n&&(e.TgZ(0,"tr")(1,"td",8),e.SDv(2,21),e.qZA(),e.TgZ(3,"td"),e.YNc(4,fr,2,2,"div",22),e.qZA()()),2&n){const t=e.oxw(3);e.xp6(4),e.Q6J("ngForOf",t.user.subusers)}}function gr(n,i){if(1&n&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.xp6(1),e.AsE(" ",t.type," (",t.perm,") ")}}function Tr(n,i){if(1&n&&(e.TgZ(0,"tr")(1,"td",8),e.SDv(2,23),e.qZA(),e.TgZ(3,"td"),e.YNc(4,gr,2,2,"div",22),e.qZA()()),2&n){const t=e.oxw(3);e.xp6(4),e.Q6J("ngForOf",t.user.caps)}}function Er(n,i){if(1&n&&(e.TgZ(0,"tr")(1,"td",8),e.SDv(2,24),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.ALo(5,"join"),e.qZA()()),2&n){const t=e.oxw(3);e.xp6(4),e.Oqu(e.lcZ(5,1,t.user.mfa_ids))}}function Rr(n,i){1&n&&(e.TgZ(0,"td"),e._uU(1,"-"),e.qZA())}function mr(n,i){1&n&&(e.TgZ(0,"td"),e.SDv(1,29),e.qZA())}function hr(n,i){if(1&n&&(e.TgZ(0,"td"),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.hij(" ",e.lcZ(2,1,t.user.user_quota.max_size)," ")}}function Mr(n,i){1&n&&(e.TgZ(0,"td"),e._uU(1,"-"),e.qZA())}function Sr(n,i){1&n&&(e.TgZ(0,"td"),e.SDv(1,30),e.qZA())}function Cr(n,i){if(1&n&&(e.TgZ(0,"td"),e._uU(1),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.hij(" ",t.user.user_quota.max_objects," ")}}function Fr(n,i){if(1&n&&(e.TgZ(0,"div")(1,"legend"),e.SDv(2,25),e.qZA(),e.TgZ(3,"table",2)(4,"tbody")(5,"tr")(6,"td",3),e.SDv(7,26),e.qZA(),e.TgZ(8,"td",5),e._uU(9),e.ALo(10,"booleanText"),e.qZA()(),e.TgZ(11,"tr")(12,"td",8),e.SDv(13,27),e.qZA(),e.YNc(14,Rr,2,0,"td",0),e.YNc(15,mr,2,0,"td",0),e.YNc(16,hr,3,3,"td",0),e.qZA(),e.TgZ(17,"tr")(18,"td",8),e.SDv(19,28),e.qZA(),e.YNc(20,Mr,2,0,"td",0),e.YNc(21,Sr,2,0,"td",0),e.YNc(22,Cr,2,1,"td",0),e.qZA()()()()),2&n){const t=e.oxw(3);e.xp6(9),e.Oqu(e.lcZ(10,7,t.user.user_quota.enabled)),e.xp6(5),e.Q6J("ngIf",!t.user.user_quota.enabled),e.xp6(1),e.Q6J("ngIf",t.user.user_quota.enabled&&t.user.user_quota.max_size<=-1),e.xp6(1),e.Q6J("ngIf",t.user.user_quota.enabled&&t.user.user_quota.max_size>-1),e.xp6(4),e.Q6J("ngIf",!t.user.user_quota.enabled),e.xp6(1),e.Q6J("ngIf",t.user.user_quota.enabled&&t.user.user_quota.max_objects<=-1),e.xp6(1),e.Q6J("ngIf",t.user.user_quota.enabled&&t.user.user_quota.max_objects>-1)}}function Or(n,i){1&n&&(e.TgZ(0,"td"),e._uU(1,"-"),e.qZA())}function Nr(n,i){1&n&&(e.TgZ(0,"td"),e.SDv(1,35),e.qZA())}function Pr(n,i){if(1&n&&(e.TgZ(0,"td"),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.hij(" ",e.lcZ(2,1,t.user.bucket_quota.max_size)," ")}}function Ar(n,i){1&n&&(e.TgZ(0,"td"),e._uU(1,"-"),e.qZA())}function br(n,i){1&n&&(e.TgZ(0,"td"),e.SDv(1,36),e.qZA())}function Ir(n,i){if(1&n&&(e.TgZ(0,"td"),e._uU(1),e.qZA()),2&n){const t=e.oxw(4);e.xp6(1),e.hij(" ",t.user.bucket_quota.max_objects," ")}}function Gr(n,i){if(1&n&&(e.TgZ(0,"div")(1,"legend"),e.SDv(2,31),e.qZA(),e.TgZ(3,"table",2)(4,"tbody")(5,"tr")(6,"td",3),e.SDv(7,32),e.qZA(),e.TgZ(8,"td",5),e._uU(9),e.ALo(10,"booleanText"),e.qZA()(),e.TgZ(11,"tr")(12,"td",8),e.SDv(13,33),e.qZA(),e.YNc(14,Or,2,0,"td",0),e.YNc(15,Nr,2,0,"td",0),e.YNc(16,Pr,3,3,"td",0),e.qZA(),e.TgZ(17,"tr")(18,"td",8),e.SDv(19,34),e.qZA(),e.YNc(20,Ar,2,0,"td",0),e.YNc(21,br,2,0,"td",0),e.YNc(22,Ir,2,1,"td",0),e.qZA()()()()),2&n){const t=e.oxw(3);e.xp6(9),e.Oqu(e.lcZ(10,7,t.user.bucket_quota.enabled)),e.xp6(5),e.Q6J("ngIf",!t.user.bucket_quota.enabled),e.xp6(1),e.Q6J("ngIf",t.user.bucket_quota.enabled&&t.user.bucket_quota.max_size<=-1),e.xp6(1),e.Q6J("ngIf",t.user.bucket_quota.enabled&&t.user.bucket_quota.max_size>-1),e.xp6(4),e.Q6J("ngIf",!t.user.bucket_quota.enabled),e.xp6(1),e.Q6J("ngIf",t.user.bucket_quota.enabled&&t.user.bucket_quota.max_objects<=-1),e.xp6(1),e.Q6J("ngIf",t.user.bucket_quota.enabled&&t.user.bucket_quota.max_objects>-1)}}function yr(n,i){if(1&n&&(e.TgZ(0,"div"),e.YNc(1,ur,11,6,"div",0),e.TgZ(2,"legend"),e.SDv(3,1),e.qZA(),e.TgZ(4,"table",2)(5,"tbody")(6,"tr")(7,"td",3),e.SDv(8,4),e.qZA(),e.TgZ(9,"td",5),e._uU(10),e.qZA()(),e.TgZ(11,"tr")(12,"td",3),e.SDv(13,6),e.qZA(),e.TgZ(14,"td",5),e._uU(15),e.qZA()(),e.TgZ(16,"tr")(17,"td",3),e.SDv(18,7),e.qZA(),e.TgZ(19,"td",5),e._uU(20),e.qZA()(),e.TgZ(21,"tr")(22,"td",8),e.SDv(23,9),e.qZA(),e.TgZ(24,"td"),e._uU(25),e.qZA()(),e.YNc(26,dr,5,1,"tr",0),e.TgZ(27,"tr")(28,"td",8),e.SDv(29,10),e.qZA(),e.TgZ(30,"td"),e._uU(31),e.ALo(32,"booleanText"),e.qZA()(),e.TgZ(33,"tr")(34,"td",8),e.SDv(35,11),e.qZA(),e.TgZ(36,"td"),e._uU(37),e.ALo(38,"booleanText"),e.qZA()(),e.TgZ(39,"tr")(40,"td",8),e.SDv(41,12),e.qZA(),e.TgZ(42,"td"),e._uU(43),e.ALo(44,"map"),e.qZA()(),e.YNc(45,pr,5,1,"tr",0),e.YNc(46,Tr,5,1,"tr",0),e.YNc(47,Er,6,3,"tr",0),e.qZA()(),e.YNc(48,Fr,23,9,"div",0),e.YNc(49,Gr,23,9,"div",0),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("ngIf",t.keys.length),e.xp6(9),e.Oqu(t.user.tenant),e.xp6(5),e.Oqu(t.user.user_id),e.xp6(5),e.Oqu(t.user.uid),e.xp6(5),e.Oqu(t.user.display_name),e.xp6(1),e.Q6J("ngIf",null==t.user.email?null:t.user.email.length),e.xp6(5),e.Oqu(e.lcZ(32,14,t.user.suspended)),e.xp6(6),e.Oqu(e.lcZ(38,16,t.user.system)),e.xp6(6),e.Oqu(e.xi3(44,18,t.user.max_buckets,t.maxBucketsMap)),e.xp6(2),e.Q6J("ngIf",t.user.subusers&&t.user.subusers.length),e.xp6(1),e.Q6J("ngIf",t.user.caps&&t.user.caps.length),e.xp6(1),e.Q6J("ngIf",null==t.user.mfa_ids?null:t.user.mfa_ids.length),e.xp6(1),e.Q6J("ngIf",t.user.user_quota),e.xp6(1),e.Q6J("ngIf",t.user.bucket_quota)}}function Lr(n,i){if(1&n&&(e.ynx(0),e.YNc(1,yr,50,21,"div",0),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.user)}}let Dr=(()=>{class n{constructor(t,o){this.rgwUserService=t,this.modalService=o,this.keys=[],this.keysColumns=[],this.keysSelection=new Vt.r,this.icons=$.P}ngOnInit(){this.keysColumns=[{name:"Username",prop:"username",flexGrow:1},{name:"Type",prop:"type",flexGrow:1}],this.maxBucketsMap={"-1":"Disabled",0:"Unlimited"}}ngOnChanges(){this.selection&&(this.user=this.selection,this.user.subusers=v().sortBy(this.user.subusers,"id"),this.user.caps=v().sortBy(this.user.caps,"type"),this.rgwUserService.getQuota(this.user.uid).subscribe(t=>{v().extend(this.user,t)}),this.keys=[],this.user.keys&&this.user.keys.forEach(t=>{this.keys.push({id:this.keys.length+1,type:"S3",username:t.user,ref:t})}),this.user.swift_keys&&this.user.swift_keys.forEach(t=>{this.keys.push({id:this.keys.length+1,type:"Swift",username:t.user,ref:t})}),this.keys=v().sortBy(this.keys,"user"))}updateKeysSelection(t){this.keysSelection=t}showKeyModal(){const t=this.keysSelection.first(),o=this.modalService.show("S3"===t.type?hn:Sn);switch(t.type){case"S3":o.componentInstance.setViewing(),o.componentInstance.setValues(t.ref.user,t.ref.access_key,t.ref.secret_key);break;case"Swift":o.componentInstance.setValues(t.ref.user,t.ref.secret_key)}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(f),e.Y36(Qe.Z))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-user-details"]],viewQuery:function(t,o){if(1&t&&(e.Gf(ar,5),e.Gf(lr,5)),2&t){let c;e.iGM(c=e.CRH())&&(o.accessKeyTpl=c.first),e.iGM(c=e.CRH())&&(o.secretKeyTpl=c.first)}},inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let i,t,o,c,O,H,Q,J,j,oe,Te,Me,Fe,Pe,me,Ge,ye,Le,Ee,Ue,$e,xe,De,ve,se,Re;return i="Details",t="Tenant",o="User ID",c="Username",O="Full name",H="Suspended",Q="System user",J="Maximum buckets",j="Keys",oe="Show",Te="Email address",Me="Subusers",Fe="Capabilities",Pe="MFAs(Id)",me="User quota",Ge="Enabled",ye="Maximum size",Le="Maximum objects",Ee="Unlimited",Ue="Unlimited",$e="Bucket quota",xe="Enabled",De="Maximum size",ve="Maximum objects",se="Unlimited",Re="Unlimited",[[4,"ngIf"],i,[1,"table","table-striped","table-bordered"],[1,"bold","w-25"],t,[1,"w-75"],o,c,[1,"bold"],O,H,Q,J,j,["columnMode","flex","selectionType","multi","forceIdentifier","true",3,"data","columns","updateSelection"],[1,"table-actions"],["dropdown","",1,"btn-group"],["type","button",1,"btn","btn-accent",3,"disabled","click"],[3,"ngClass"],oe,Te,Me,[4,"ngFor","ngForOf"],Fe,Pe,me,Ge,ye,Le,Ee,Ue,$e,xe,De,ve,se,Re]},template:function(t,o){1&t&&e.YNc(0,Lr,2,1,"ng-container",0),2&t&&e.Q6J("ngIf",o.selection)},dependencies:[g.mk,g.sg,g.O5,et.a,Oe.o,Tn.T,nn.$,rr.A,sr.b]}),n})();const Nn=function(){return{exact:!0}};let vr=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-user-tabs"]],decls:7,vars:4,consts:function(){let i,t;return i="Users",t="Roles",[[1,"nav","nav-tabs"],[1,"nav-item"],["routerLink","/rgw/user","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],i,["routerLink","/rgw/roles","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],t]},template:function(t,o){1&t&&(e.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),e.SDv(3,3),e.qZA()(),e.TgZ(4,"li",1)(5,"a",4),e.SDv(6,5),e.qZA()()()),2&t&&(e.xp6(2),e.Q6J("routerLinkActiveOptions",e.DdM(2,Nn)),e.xp6(3),e.Q6J("routerLinkActiveOptions",e.DdM(3,Nn)))},dependencies:[A.rH,A.Od]}),n})();const wr=["userSizeTpl"],Wr=["userObjectTpl"];function Ur(n,i){if(1&n&&e._UZ(0,"cd-usage-bar",8),2&n){const t=e.oxw().row;e.Q6J("total",t.user_quota.max_size)("used",t.stats.size_actual)}}function $r(n,i){1&n&&e.SDv(0,9)}function xr(n,i){if(1&n&&(e.YNc(0,Ur,1,2,"cd-usage-bar",6),e.YNc(1,$r,1,0,"ng-template",null,7,e.W1O)),2&n){const t=i.row,o=e.MAs(2);e.Q6J("ngIf",t.user_quota.max_size>0&&t.user_quota.enabled)("ngIfElse",o)}}function Zr(n,i){if(1&n&&e._UZ(0,"cd-usage-bar",12),2&n){const t=e.oxw().row;e.Q6J("total",t.user_quota.max_objects)("used",t.stats.num_objects)("isBinary",!1)}}function kr(n,i){1&n&&e.SDv(0,13)}function Br(n,i){if(1&n&&(e.YNc(0,Zr,1,3,"cd-usage-bar",10),e.YNc(1,kr,1,0,"ng-template",null,11,e.W1O)),2&n){const t=i.row,o=e.MAs(2);e.Q6J("ngIf",t.user_quota.max_objects>0&&t.user_quota.enabled)("ngIfElse",o)}}let qr=(()=>{class n extends en.o{constructor(t,o,c,O,H,Q){super(Q),this.authStorageService=t,this.rgwUserService=o,this.modalService=c,this.urlBuilder=O,this.actionLabels=H,this.ngZone=Q,this.columns=[],this.users=[],this.selection=new Vt.r}ngOnInit(){this.permission=this.authStorageService.getPermissions().rgw,this.columns=[{name:"Username",prop:"uid",flexGrow:1},{name:"Tenant",prop:"tenant",flexGrow:1},{name:"Full name",prop:"display_name",flexGrow:1},{name:"Email address",prop:"email",flexGrow:1},{name:"Suspended",prop:"suspended",flexGrow:1,cellClass:"text-center",cellTransformation:On.e.checkIcon},{name:"Max. buckets",prop:"max_buckets",flexGrow:1,cellTransformation:On.e.map,customTemplateConfig:{"-1":"Disabled",0:"Unlimited"}},{name:"Capacity Limit %",prop:"size_usage",cellTemplate:this.userSizeTpl,flexGrow:.8},{name:"Object Limit %",prop:"object_usage",cellTemplate:this.userObjectTpl,flexGrow:.8}];const t=()=>this.selection.first()&&`${encodeURIComponent(this.selection.first().uid)}`;this.tableActions=[{permission:"create",icon:$.P.add,routerLink:()=>this.urlBuilder.getCreate(),name:this.actionLabels.CREATE,canBePrimary:H=>!H.hasSelection},{permission:"update",icon:$.P.edit,routerLink:()=>this.urlBuilder.getEdit(t()),name:this.actionLabels.EDIT},{permission:"delete",icon:$.P.destroy,click:()=>this.deleteAction(),disable:()=>!this.selection.hasSelection,name:this.actionLabels.DELETE,canBePrimary:H=>H.hasMultiSelection}],this.setTableRefreshTimeout()}getUserList(t){this.setTableRefreshTimeout(),this.rgwUserService.list().subscribe(o=>{this.users=o},()=>{t.error()})}updateSelection(t){this.selection=t}deleteAction(){this.modalService.show(tn.M,{itemDescription:this.selection.hasSingleSelection?"user":"users",itemNames:this.selection.selected.map(t=>t.uid),submitActionObservable:()=>new dn.y(t=>{(0,k.D)(this.selection.selected.map(o=>this.rgwUserService.delete(o.uid))).subscribe({error:o=>{t.error(o),this.table.refreshBtn()},complete:()=>{t.complete(),this.table.refreshBtn()}})})})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(nt.j),e.Y36(f),e.Y36(Qe.Z),e.Y36(tt.F),e.Y36(l.p4),e.Y36(e.R0b))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-user-list"]],viewQuery:function(t,o){if(1&t&&(e.Gf(et.a,7),e.Gf(wr,7),e.Gf(Wr,7)),2&t){let c;e.iGM(c=e.CRH())&&(o.table=c.first),e.iGM(c=e.CRH())&&(o.userSizeTpl=c.first),e.iGM(c=e.CRH())&&(o.userObjectTpl=c.first)}},features:[e._Bn([{provide:tt.F,useValue:new tt.F("rgw/user")}]),e.qOj],decls:9,vars:9,consts:function(){let i,t;return i="No Limit",t="No Limit",[["columnMode","flex","selectionType","multiClick","identifier","uid",3,"autoReload","data","columns","hasDetails","status","setExpandedRow","updateSelection","fetchData"],["table",""],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],["userSizeTpl",""],["userObjectTpl",""],[3,"total","used",4,"ngIf","ngIfElse"],["noSizeQuota",""],[3,"total","used"],i,[3,"total","used","isBinary",4,"ngIf","ngIfElse"],["noObjectQuota",""],[3,"total","used","isBinary"],t]},template:function(t,o){1&t&&(e._UZ(0,"cd-rgw-user-tabs"),e.TgZ(1,"cd-table",0,1),e.NdJ("setExpandedRow",function(O){return o.setExpandedRow(O)})("updateSelection",function(O){return o.updateSelection(O)})("fetchData",function(O){return o.getUserList(O)}),e._UZ(3,"cd-table-actions",2)(4,"cd-rgw-user-details",3),e.qZA(),e.YNc(5,xr,3,2,"ng-template",null,4,e.W1O),e.YNc(7,Br,3,2,"ng-template",null,5,e.W1O)),2&t&&(e.xp6(1),e.Q6J("autoReload",!1)("data",o.users)("columns",o.columns)("hasDetails",!0)("status",o.tableStatus),e.xp6(2),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions),e.xp6(1),e.Q6J("selection",o.expandedRow))},dependencies:[g.O5,pn.O,et.a,on.K,Dr,vr]}),n})();var Pn=d(83357),sn=d(35512),An=d(13464),Hr=d(46797),ot=d(95596),an=d(80381),Xe=d(95463),ke=d(43186),it=d(97937),_t=d(98961);function Xr(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,33),e.qZA())}function Kr(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,34),e.qZA())}function Qr(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,35),e.qZA())}function Yr(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,36),e.qZA())}function Jr(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,37),e.qZA())}function Vr(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,38),e.qZA())}function jr(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,39),e.qZA())}function es(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,40),e.qZA())}function ts(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,41),e.qZA())}function ns(n,i){1&n&&(e.TgZ(0,"span",32),e.SDv(1,42),e.qZA())}let os=(()=>{class n{constructor(t,o,c,O,H,Q,J,j,oe){this.activeModal=t,this.actionLabels=o,this.rgwMultisiteService=c,this.rgwZoneService=O,this.notificationService=H,this.rgwZonegroupService=Q,this.rgwRealmService=J,this.rgwDaemonService=j,this.modalService=oe,this.endpoints=/^((https?:\/\/)|(www.))(?:([a-zA-Z]+)|(\d+\.\d+.\d+.\d+)):\d{2,4}$/,this.ipv4Rgx=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i,this.ipv6Rgx=/^(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}$/i,this.submitAction=new e.vpe,this.multisiteInfo=[],this.createForm()}createForm(){this.multisiteMigrateForm=new Xe.d({realmName:new r.p4(null,{validators:[r.kI.required,z.h.custom("uniqueName",t=>this.realmNames&&-1!==this.zoneNames.indexOf(t))]}),zonegroupName:new r.p4(null,{validators:[r.kI.required,z.h.custom("uniqueName",t=>this.zonegroupNames&&-1!==this.zoneNames.indexOf(t))]}),zoneName:new r.p4(null,{validators:[r.kI.required,z.h.custom("uniqueName",t=>this.zoneNames&&-1!==this.zoneNames.indexOf(t))]}),zone_endpoints:new r.p4([],{validators:[z.h.custom("endpoint",t=>!(v().isEmpty(t)||(t.includes(",")?(t.split(",").forEach(o=>!this.endpoints.test(o)&&!this.ipv4Rgx.test(o)&&!this.ipv6Rgx.test(o)),1):this.endpoints.test(t)||this.ipv4Rgx.test(t)||this.ipv6Rgx.test(t)))),r.kI.required]}),zonegroup_endpoints:new r.p4([],[z.h.custom("endpoint",t=>!(v().isEmpty(t)||(t.includes(",")?(t.split(",").forEach(o=>!this.endpoints.test(o)&&!this.ipv4Rgx.test(o)&&!this.ipv6Rgx.test(o)),1):this.endpoints.test(t)||this.ipv4Rgx.test(t)||this.ipv6Rgx.test(t)))),r.kI.required]),access_key:new r.p4(null),secret_key:new r.p4(null)})}ngOnInit(){this.realmList=void 0!==this.multisiteInfo[0]&&this.multisiteInfo[0].hasOwnProperty("realms")?this.multisiteInfo[0].realms:[],this.realmNames=this.realmList.map(t=>t.name),this.zonegroupList=void 0!==this.multisiteInfo[1]&&this.multisiteInfo[1].hasOwnProperty("zonegroups")?this.multisiteInfo[1].zonegroups:[],this.zonegroupNames=this.zonegroupList.map(t=>t.name),this.zoneList=void 0!==this.multisiteInfo[2]&&this.multisiteInfo[2].hasOwnProperty("zones")?this.multisiteInfo[2].zones:[],this.zoneNames=this.zoneList.map(t=>t.name)}submit(){const t=this.multisiteMigrateForm.value;this.realm=new ke.L6,this.realm.name=t.realmName,this.zonegroup=new ke.iG,this.zonegroup.name=t.zonegroupName,this.zonegroup.endpoints=t.zonegroup_endpoints,this.zone=new ke.jb,this.zone.name=t.zoneName,this.zone.endpoints=t.zone_endpoints,this.zone.system_key=new ke.VY,this.zone.system_key.access_key=t.access_key,this.zone.system_key.secret_key=t.secret_key,this.rgwMultisiteService.migrate(this.realm,this.zonegroup,this.zone).subscribe(()=>{this.notificationService.show(M.k.success,"" + this.actionLabels.MIGRATE + " done successfully"),this.submitAction.emit(),this.activeModal.close()},()=>{this.notificationService.show(M.k.error,"Migration failed")})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(x.Kz),e.Y36(l.p4),e.Y36(an.o),e.Y36(it.g),e.Y36(V.g),e.Y36(_t.K),e.Y36(ot.y),e.Y36(u.b),e.Y36(Qe.Z))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-multisite-migrate"]],outputs:{submitAction:"submitAction"},decls:68,vars:14,consts:function(){let i,t,o,c,O,H,Q,J,j,oe,Te,Me,Fe,Pe,me,Ge,ye,Le;return i="Migrate Single Site to Multi-site " + "\ufffd#3\ufffd" + "" + "\ufffd#4\ufffd" + "Migrate from a single-site deployment with a default zone group and zone to a multi-site system" + "\ufffd/#4\ufffd" + "" + "\ufffd/#3\ufffd" + "",t="Realm Name",o="Rename default zone group",c="Zone group Endpoints ",O="Rename default zone",H="Zone Endpoints ",Q="S3 access key " + "\ufffd#47\ufffd" + "" + "\ufffd#48\ufffd" + "To see or copy your S3 access key, go to " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Object Gateway > Users" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + " and click on your user name. In " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Keys" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + ", click " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Show" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + ". View the access key by clicking Show and copy the key by clicking " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Copy to Clipboard" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + "." + "\ufffd/#48\ufffd" + "" + "\ufffd/#47\ufffd" + "",Q=e.Zx4(Q),J="S3 secret key " + "\ufffd#58\ufffd" + "" + "\ufffd#59\ufffd" + "To see or copy your S3 access key, go to " + "[\ufffd#60\ufffd|\ufffd#61\ufffd|\ufffd#62\ufffd|\ufffd#63\ufffd]" + "Object Gateway > Users" + "[\ufffd/#60\ufffd|\ufffd/#61\ufffd|\ufffd/#62\ufffd|\ufffd/#63\ufffd]" + " and click on your user name. In " + "[\ufffd#60\ufffd|\ufffd#61\ufffd|\ufffd#62\ufffd|\ufffd#63\ufffd]" + "Keys" + "[\ufffd/#60\ufffd|\ufffd/#61\ufffd|\ufffd/#62\ufffd|\ufffd/#63\ufffd]" + ", click " + "[\ufffd#60\ufffd|\ufffd#61\ufffd|\ufffd#62\ufffd|\ufffd#63\ufffd]" + "Show" + "[\ufffd/#60\ufffd|\ufffd/#61\ufffd|\ufffd/#62\ufffd|\ufffd/#63\ufffd]" + ". View the secret key by clicking Show and copy the key by clicking " + "[\ufffd#60\ufffd|\ufffd#61\ufffd|\ufffd#62\ufffd|\ufffd#63\ufffd]" + "Copy to Clipboard" + "[\ufffd/#60\ufffd|\ufffd/#61\ufffd|\ufffd/#62\ufffd|\ufffd/#63\ufffd]" + "." + "\ufffd/#59\ufffd" + "" + "\ufffd/#58\ufffd" + "",J=e.Zx4(J),j="This field is required.",oe="The chosen realm name is already in use.",Te="This field is required.",Me="The chosen zone group name is already in use.",Fe="This field is required.",Pe="Please enter a valid IP address.",me="This field is required.",Ge="The chosen zone name is already in use.",ye="This field is required.",Le="Please enter a valid IP address.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","multisiteMigrateForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","realmName",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],["type","text","placeholder","Realm name...","id","realmName","name","realmName","formControlName","realmName",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","zonegroupName",1,"cd-col-form-label","required"],o,["type","text","placeholder","Zone group name...","id","zonegroupName","name","zonegroupName","formControlName","zonegroupName",1,"form-control"],["for","zonegroup_endpoints",1,"cd-col-form-label","required"],c,["type","text","placeholder","e.g, http://ceph-node-00.com:80","id","zonegroup_endpoints","name","zonegroup_endpoints","formControlName","zonegroup_endpoints",1,"form-control"],["for","zoneName",1,"cd-col-form-label","required"],O,["type","text","placeholder","Zone name...","id","zoneName","name","zoneName","formControlName","zoneName",1,"form-control"],["for","zone_endpoints",1,"cd-col-form-label","required"],H,["type","text","placeholder","e.g, http://ceph-node-00.com:80","id","zone_endpoints","name","zone_endpoints","formControlName","zone_endpoints",1,"form-control"],["for","access_key",1,"cd-col-form-label","required"],Q,["type","text","placeholder","e.g.","id","access_key","name","access_key","formControlName","access_key",1,"form-control"],J,["type","text","placeholder","e.g.","id","secret_key","name","secret_key","formControlName","secret_key",1,"form-control"],[1,"modal-footer"],[3,"submitText","form","submitActionEvent"],[1,"invalid-feedback"],j,oe,Te,Me,Fe,Pe,me,Ge,ye,Le]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.tHW(2,2),e.TgZ(3,"cd-helper"),e._UZ(4,"span"),e.qZA(),e.N_p(),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10),e._UZ(13,"input",11),e.YNc(14,Xr,2,0,"span",12),e.YNc(15,Kr,2,0,"span",12),e.qZA()(),e.TgZ(16,"div",7)(17,"label",13),e.SDv(18,14),e.qZA(),e.TgZ(19,"div",10),e._UZ(20,"input",15),e.YNc(21,Qr,2,0,"span",12),e.YNc(22,Yr,2,0,"span",12),e.qZA()(),e.TgZ(23,"div",7)(24,"label",16),e.SDv(25,17),e.qZA(),e.TgZ(26,"div",10),e._UZ(27,"input",18),e.YNc(28,Jr,2,0,"span",12),e.YNc(29,Vr,2,0,"span",12),e.qZA()(),e.TgZ(30,"div",7)(31,"label",19),e.SDv(32,20),e.qZA(),e.TgZ(33,"div",10),e._UZ(34,"input",21),e.YNc(35,jr,2,0,"span",12),e.YNc(36,es,2,0,"span",12),e.qZA()(),e.TgZ(37,"div",7)(38,"label",22),e.SDv(39,23),e.qZA(),e.TgZ(40,"div",10),e._UZ(41,"input",24),e.YNc(42,ts,2,0,"span",12),e.YNc(43,ns,2,0,"span",12),e.qZA()(),e.TgZ(44,"div",7)(45,"label",25),e.tHW(46,26),e.TgZ(47,"cd-helper")(48,"span"),e._UZ(49,"b")(50,"b")(51,"b")(52,"b"),e.qZA()(),e.N_p(),e.qZA(),e.TgZ(53,"div",10),e._UZ(54,"input",27),e.qZA()(),e.TgZ(55,"div",7)(56,"label",25),e.tHW(57,28),e.TgZ(58,"cd-helper")(59,"span"),e._UZ(60,"b")(61,"b")(62,"b")(63,"b"),e.qZA()(),e.N_p(),e.qZA(),e.TgZ(64,"div",10),e._UZ(65,"input",29),e.qZA()()(),e.TgZ(66,"div",30)(67,"cd-form-button-panel",31),e.NdJ("submitActionEvent",function(){return o.submit()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const c=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(6),e.Q6J("formGroup",o.multisiteMigrateForm),e.xp6(8),e.Q6J("ngIf",o.multisiteMigrateForm.showError("realmName",c,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteMigrateForm.showError("realmName",c,"uniqueName")),e.xp6(6),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zonegroupName",c,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zonegroupName",c,"uniqueName")),e.xp6(6),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zonegroup_endpoints",c,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zonegroup_endpoints",c,"endpoint")),e.xp6(6),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zoneName",c,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zoneName",c,"uniqueName")),e.xp6(6),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zone_endpoints",c,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteMigrateForm.showError("zone_endpoints",c,"endpoint")),e.xp6(24),e.Q6J("submitText",o.actionLabels.MIGRATE)("form",o.multisiteMigrateForm)}},dependencies:[g.O5,fe.S,Ie.z,we.p,Oe.o,Ae.b,We.P,C.V,r._Y,r.Fj,r.JJ,r.JL,r.sg,r.u]}),n})();var bn=d(80842);function is(n,i){if(1&n&&(e.TgZ(0,"strong",21),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.xp6(1),e.Oqu(t)}}function _s(n,i){1&n&&(e.TgZ(0,"div",22)(1,"cd-alert-panel",23),e.SDv(2,24),e.qZA()())}function rs(n,i){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"label",10),e.tHW(2,11),e._UZ(3,"strong"),e.N_p(),e.qZA(),e.TgZ(4,"label",12),e.SDv(5,13),e.qZA(),e.YNc(6,is,2,1,"strong",14),e.TgZ(7,"div",15)(8,"div",16)(9,"input",17),e.NdJ("change",function(){e.CHM(t);const c=e.oxw();return e.KtG(c.showDangerText())}),e.qZA(),e.TgZ(10,"label",18),e.SDv(11,19),e.qZA()(),e.YNc(12,_s,3,0,"div",20),e.qZA(),e.BQk()}if(2&n){const t=e.oxw();e.xp6(3),e.pQV(null==t.zone?null:t.zone.name),e.QtT(2),e.xp6(3),e.Q6J("ngForOf",t.includedPools),e.xp6(6),e.Q6J("ngIf",t.displayText)}}let ss=(()=>{class n{constructor(t,o,c,O,H){this.activeModal=t,this.actionLabels=o,this.notificationService=c,this.rgwZoneService=O,this.poolService=H,this.displayText=!1,this.includedPools=new Set,this.createForm()}ngOnInit(){this.zoneData$=this.rgwZoneService.get(this.zone),this.poolList$=this.poolService.getList()}ngAfterViewInit(){this.updateIncludedPools()}createForm(){this.zoneForm=new Xe.d({deletePools:new r.p4(!1)})}submit(){this.rgwZoneService.delete(this.zone.name,this.zoneForm.value.deletePools,this.includedPools,this.zone.parent).subscribe(()=>{this.notificationService.show(M.k.success,"Zone: '" + this.zone.name + "' deleted successfully"),this.activeModal.close()},()=>{this.zoneForm.setErrors({cdSubmitButton:!0})})}showDangerText(){this.displayText=!this.displayText}updateIncludedPools(){!this.zoneData$||!this.poolList$||this.zoneData$.subscribe(t=>{this.poolList$.subscribe(o=>{for(const c of o)for(const O of Object.values(t))if("string"==typeof O&&O.includes(c.pool_name))this.includedPools.add(c.pool_name);else if(Array.isArray(O)&&O[0].val)for(const H of O){const Q=H.val;Q.storage_classes.STANDARD.data_pool===c.pool_name&&this.includedPools.add(Q.storage_classes.STANDARD.data_pool),Q.data_extra_pool===c.pool_name&&this.includedPools.add(Q.data_extra_pool),Q.index_pool===c.pool_name&&this.includedPools.add(Q.index_pool)}})})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(x.Kz),e.Y36(l.p4),e.Y36(V.g),e.Y36(it.g),e.Y36(bn.q))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-multisite-zone-deletion-form"]],decls:12,vars:6,consts:function(){let i,t,o,c,O,H;return i="Delete Zone",t=" This will delete your " + "\ufffd#8\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#8\ufffd" + " Zone. ",o=" Do you want to delete the associated pools with the " + "\ufffd#3\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#3\ufffd" + " Zone?",c=" This will delete the following pools and any data stored in these pools:",O="Yes, I want to delete the pools.",H=" This will delete all the data in the pools! ",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","zoneForm","novalidate","",3,"formGroup"],[1,"modal-body","ms-4"],t,[4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"mt-3"],o,[1,"mb-4"],c,["class","block",4,"ngFor","ngForOf"],[1,"form-group"],[1,"custom-control","custom-checkbox","mt-2"],["type","checkbox","name","deletePools","id","deletePools","formControlName","deletePools",1,"custom-control-input",3,"change"],["for","deletePools",1,"custom-control-label"],O,["class","me-4",4,"ngIf"],[1,"block"],[1,"me-4"],["type","danger"],H]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4)(5,"div",5)(6,"label"),e.tHW(7,6),e._UZ(8,"strong"),e.N_p(),e.qZA(),e.YNc(9,rs,13,3,"ng-container",7),e.qZA(),e.TgZ(10,"div",8)(11,"cd-form-button-panel",9),e.NdJ("submitActionEvent",function(){return o.submit()}),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.zoneForm),e.xp6(4),e.pQV(null==o.zone?null:o.zone.name),e.QtT(7),e.xp6(1),e.Q6J("ngIf",o.includedPools.size),e.xp6(2),e.Q6J("form",o.zoneForm)("submitText",o.actionLabels.DELETE))},dependencies:[g.sg,g.O5,Ie.z,Ve.G,we.p,Oe.o,Ae.b,We.P,C.V,r._Y,r.Wl,r.JJ,r.JL,r.sg,r.u],styles:[".block[_ngcontent-%COMP%]{display:block}#scroll[_ngcontent-%COMP%]{height:100%;max-height:10rem;overflow:auto}"]}),n})();function as(n,i){1&n&&(e.ynx(0),e.TgZ(1,"label"),e.SDv(2,21),e.qZA(),e.BQk())}function ls(n,i){if(1&n&&(e.TgZ(0,"strong",22),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.xp6(1),e.Oqu(t)}}function cs(n,i){if(1&n&&(e.TgZ(0,"strong",22),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.xp6(1),e.Oqu(t)}}function us(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"strong",13),e._uU(2,"Pools:"),e.qZA(),e.TgZ(3,"div",23),e.YNc(4,cs,2,1,"strong",15),e.qZA(),e.BQk()),2&n){const t=e.oxw(2);e.xp6(4),e.Q6J("ngForOf",t.includedPools)}}function ds(n,i){1&n&&(e.ynx(0),e.TgZ(1,"label",24),e.SDv(2,25),e.qZA(),e.BQk())}function fs(n,i){1&n&&(e.TgZ(0,"div",26)(1,"cd-alert-panel",27),e.SDv(2,28),e.qZA()())}function ps(n,i){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"label",11),e.tHW(2,12),e._UZ(3,"strong"),e.N_p(),e.qZA(),e.YNc(4,as,3,0,"ng-container",7),e.TgZ(5,"strong",13),e._uU(6,"Zones:"),e.qZA(),e.TgZ(7,"div",14),e.YNc(8,ls,2,1,"strong",15),e.qZA(),e.YNc(9,us,5,1,"ng-container",7),e.TgZ(10,"div",16)(11,"div",17)(12,"input",18),e.NdJ("change",function(){e.CHM(t);const c=e.oxw();return e.KtG(c.showDangerText())}),e.qZA(),e.YNc(13,ds,3,0,"ng-container",19),e.qZA(),e.YNc(14,fs,3,0,"div",20),e.qZA(),e.BQk()}if(2&n){const t=e.oxw(),o=e.MAs(13);e.xp6(3),e.pQV(null==t.zonegroup?null:t.zonegroup.name),e.QtT(2),e.xp6(1),e.Q6J("ngIf",t.includedPools.size>0),e.xp6(4),e.Q6J("ngForOf",t.zonesList),e.xp6(1),e.Q6J("ngIf",t.includedPools.size>0),e.xp6(4),e.Q6J("ngIf",t.includedPools.size>0)("ngIfElse",o),e.xp6(1),e.Q6J("ngIf",t.displayText)}}function gs(n,i){1&n&&(e.TgZ(0,"label",24),e.SDv(1,29),e.qZA())}let Ts=(()=>{class n{constructor(t,o,c,O,H,Q){this.activeModal=t,this.actionLabels=o,this.notificationService=c,this.rgwZonegroupService=O,this.poolService=H,this.rgwZoneService=Q,this.zonesPools=[],this.zonesList=[],this.displayText=!1,this.includedPools=new Set,this.createForm()}ngOnInit(){this.zonegroupData$=this.rgwZonegroupService.get(this.zonegroup),this.poolList$=this.poolService.getList()}ngAfterViewInit(){this.updateIncludedPools()}createForm(){this.zonegroupForm=new Xe.d({deletePools:new r.p4(!1)})}submit(){this.rgwZonegroupService.delete(this.zonegroup.name,this.zonegroupForm.value.deletePools,this.includedPools).subscribe(()=>{this.notificationService.show(M.k.success,"Zone: '" + this.zonegroup.name + "' deleted successfully"),this.activeModal.close()})}showDangerText(){this.includedPools.size>0&&(this.displayText=!this.displayText)}updateIncludedPools(){!this.zonegroupData$||!this.poolList$||this.zonegroupData$.subscribe(t=>{for(const o of t.zones)this.zonesList.push(o.name),this.rgwZoneService.get(o).subscribe(c=>{this.poolList$.subscribe(O=>{for(const H of Object.values(c))for(const Q of O)if("string"==typeof H&&H.includes(Q.pool_name))this.includedPools.add(Q.pool_name);else if(Array.isArray(H)&&H[0].val)for(const J of H){const j=J.val;j.storage_classes.STANDARD.data_pool===Q.pool_name&&this.includedPools.add(j.storage_classes.STANDARD.data_pool),j.data_extra_pool===Q.pool_name&&this.includedPools.add(j.data_extra_pool),j.index_pool===Q.pool_name&&this.includedPools.add(j.index_pool)}})})})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(x.Kz),e.Y36(l.p4),e.Y36(V.g),e.Y36(_t.K),e.Y36(bn.q),e.Y36(it.g))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-multisite-zonegroup-deletion-form"]],decls:14,vars:6,consts:function(){let i,t,o,c,O,H,Q;return i="Delete Zone Group",t=" This will delete your " + "\ufffd#8\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#8\ufffd" + " Zone Group. ",o=" Do you want to delete the associated zones and pools with the " + "\ufffd#3\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#3\ufffd" + " Zone Group?",c=" This will delete the following:",O="Yes, I want to delete the zones and their pools.",H=" This will delete all the data in the pools! ",Q="Yes, I want to delete the zones.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","zonegroupForm","novalidate","",3,"formGroup"],[1,"modal-body","ms-4"],t,[4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],["noPoolsConfirmation",""],[1,"mt-3"],o,[1,"mt-3","mb-2","h5","block"],["id","scroll"],["class","block",4,"ngFor","ngForOf"],[1,"form-group"],[1,"custom-control","custom-checkbox","mt-2"],["type","checkbox","name","deletePools","id","deletePools","formControlName","deletePools",1,"custom-control-input",3,"change"],[4,"ngIf","ngIfElse"],["class","me-4",4,"ngIf"],c,[1,"block"],["id","scroll",1,"mb-2"],["for","deletePools",1,"custom-control-label"],O,[1,"me-4"],["type","danger"],H,Q]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4)(5,"div",5)(6,"label"),e.tHW(7,6),e._UZ(8,"strong"),e.N_p(),e.qZA(),e.YNc(9,ps,15,7,"ng-container",7),e.qZA(),e.TgZ(10,"div",8)(11,"cd-form-button-panel",9),e.NdJ("submitActionEvent",function(){return o.submit()}),e.qZA()()(),e.BQk(),e.qZA(),e.YNc(12,gs,2,0,"ng-template",null,10,e.W1O)),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.zonegroupForm),e.xp6(4),e.pQV(null==o.zonegroup?null:o.zonegroup.name),e.QtT(7),e.xp6(1),e.Q6J("ngIf",o.zonesList.length>0),e.xp6(2),e.Q6J("form",o.zonegroupForm)("submitText",o.actionLabels.DELETE))},dependencies:[g.sg,g.O5,Ie.z,Ve.G,we.p,Oe.o,Ae.b,We.P,C.V,r._Y,r.Wl,r.JJ,r.JL,r.sg,r.u],styles:[".block[_ngcontent-%COMP%]{display:block}#scroll[_ngcontent-%COMP%]{height:100%;max-height:10rem;overflow:auto}"]}),n})();const Es=function(n,i,t){return[n,i,t]};function Rs(n,i){if(1&n&&(e.TgZ(0,"span",10),e._UZ(1,"i",11),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngClass",e.kEZ(1,Es,t.icons.large3x,t.icons.spinner,t.icons.spin))}}function ms(n,i){if(1&n&&(e.tHW(0,16,1),e.TgZ(1,"div"),e._UZ(2,"b"),e.qZA(),e.N_p()),2&n){const t=i.$implicit;e.xp6(2),e.pQV(t.realm)(t.token),e.QtT(0)}}function hs(n,i){if(1&n&&(e.TgZ(0,"cd-alert-panel",15),e.tHW(1,16),e.YNc(2,ms,3,2,"div",14),e.N_p(),e.qZA()),2&n){const t=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",t.realms)}}function Ms(n,i){1&n&&e._UZ(0,"hr")}function Ss(n,i){if(1&n&&(e.TgZ(0,"div")(1,"div",17)(2,"label",18),e.SDv(3,19),e.qZA(),e.TgZ(4,"div",20),e._UZ(5,"input",21),e.qZA()(),e.TgZ(6,"div",17)(7,"label",22),e.SDv(8,23),e.qZA(),e.TgZ(9,"div",20),e._UZ(10,"input",24)(11,"cd-copy-2-clipboard-button",25),e.qZA(),e.YNc(12,Ms,1,0,"hr",26),e.qZA()()),2&n){const t=i.$implicit,o=e.oxw(2);e.xp6(5),e.s9C("value",t.realm),e.xp6(5),e.s9C("value",t.token),e.xp6(1),e.s9C("source",t.token),e.Q6J("byId",!1),e.xp6(1),e.Q6J("ngIf",o.realms.length>1)}}function Cs(n,i){if(1&n&&(e.TgZ(0,"div",12),e.YNc(1,hs,3,1,"cd-alert-panel",13),e.YNc(2,Ss,13,5,"div",14),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",!t.tokenValid),e.xp6(1),e.Q6J("ngForOf",t.realms)}}let Fs=(()=>{class n{constructor(t,o,c,O,H){this.activeModal=t,this.rgwRealmService=o,this.actionLabels=c,this.notificationService=O,this.changeDetectorRef=H,this.tokenValid=!1,this.loading=!0,this.icons=$.P,this.createForm()}createForm(){this.exportTokenForm=new Xe.d({})}onSubmit(){this.activeModal.close()}ngOnInit(){this.rgwRealmService.getRealmTokens().subscribe(t=>{this.loading=!1,this.realms=t;var o=new RegExp("^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$");this.realms.forEach(c=>{this.tokenValid=!!o.test(c.token)})})}ngAfterViewChecked(){this.changeDetectorRef.detectChanges()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(x.Kz),e.Y36(ot.y),e.Y36(l.p4),e.Y36(V.g),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-multisite-export"]],decls:10,vars:4,consts:function(){let i,t,o,c;return i="Export Multi-site Realm Token",t="" + "\ufffd*2:1\ufffd\ufffd#1:1\ufffd" + "" + "\ufffd#2:1\ufffd" + "" + "\ufffd0:1\ufffd" + "" + "\ufffd/#2:1\ufffd" + " - " + "\ufffd1:1\ufffd" + " " + "\ufffd/#1:1\ufffd\ufffd/*2:1\ufffd" + "",o="Realm Name ",c="Token ",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","exportTokenForm",3,"formGroup"],["frm","ngForm"],["class","d-flex justify-content-center",4,"ngIf"],["class","modal-body",4,"ngIf"],[1,"modal-footer"],["aria-label","Close",1,"m-2","float-end",3,"backAction"],[1,"d-flex","justify-content-center"],[3,"ngClass"],[1,"modal-body"],["type","warning","class","mx-3",4,"ngIf"],[4,"ngFor","ngForOf"],["type","warning",1,"mx-3"],t,[1,"form-group","row"],["for","realmName",1,"cd-col-form-label"],o,[1,"cd-col-form-input"],["id","realmName","name","realmName","type","text","readonly","",3,"value"],["for","token",1,"cd-col-form-label"],c,["id","realmToken","name","realmToken","type","text","readonly","",1,"me-2","mb-4",3,"value"],[3,"source","byId"],[4,"ngIf"]]},template:function(t,o){1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5),e.YNc(6,Rs,2,5,"span",6),e.YNc(7,Cs,3,2,"div",7),e.TgZ(8,"div",8)(9,"cd-back-button",9),e.NdJ("backAction",function(){return o.activeModal.close()}),e.qZA()()(),e.BQk(),e.qZA()),2&t&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.exportTokenForm),e.xp6(2),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",!o.loading))},dependencies:[g.mk,g.sg,g.O5,Mn.W,Ie.z,Ve.G,at.s,Oe.o,We.P,C.V,r._Y,r.JL,r.sg]}),n})();var Os=d(7022),Ns=d(22120),Ps=d(48168),As=d(14745),In=d(79765),bs=d(66682),Is=d(54395),Gs=d(87519),ys=d(45435),Ls=d(88002),Gn=d(60192);function Ds(n,i){1&n&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function vs(n,i){1&n&&(e.TgZ(0,"span",29),e.SDv(1,31),e.qZA())}function ws(n,i){1&n&&(e.TgZ(0,"span",29),e.SDv(1,32),e.qZA())}function Ws(n,i){1&n&&(e.TgZ(0,"div",9)(1,"label",33),e.SDv(2,34),e.qZA(),e.TgZ(3,"div",12)(4,"select",35)(5,"option",36),e.SDv(6,37),e.qZA(),e.TgZ(7,"option",38),e.SDv(8,39),e.qZA()()()())}function Us(n,i){1&n&&(e.TgZ(0,"span",29),e.SDv(1,43),e.qZA())}function $s(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"div",9)(1,"label",40),e.SDv(2,41),e.qZA(),e.TgZ(3,"div",12)(4,"input",42),e.NdJ("focus",function(c){e.CHM(t);const O=e.oxw();return e.KtG(O.labelFocus.next(c.target.value))})("click",function(c){e.CHM(t);const O=e.oxw();return e.KtG(O.labelClick.next(c.target.value))}),e.qZA(),e.YNc(5,Us,2,0,"span",14),e.qZA()()}if(2&n){const t=e.oxw(),o=e.MAs(5);e.xp6(4),e.Q6J("ngbTypeahead",t.searchLabels),e.xp6(1),e.Q6J("ngIf",t.importTokenForm.showError("label",o,"required"))}}function xs(n,i){if(1&n&&(e.TgZ(0,"div",9)(1,"label",44),e.SDv(2,45),e.qZA(),e.TgZ(3,"div",12),e._UZ(4,"cd-select-badges",46),e.qZA()()),2&n){const t=e.oxw();e.xp6(4),e.Q6J("data",t.importTokenForm.controls.hosts.value)("options",t.hosts.options)("messages",t.hosts.messages)}}function Zs(n,i){1&n&&(e.TgZ(0,"span",29),e.SDv(1,51),e.qZA())}function ks(n,i){1&n&&(e.TgZ(0,"span",29),e.SDv(1,52),e.qZA())}function Bs(n,i){if(1&n&&(e.TgZ(0,"div",9)(1,"label",47)(2,"span"),e.SDv(3,48),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,49),e.qZA()(),e.TgZ(6,"div",12),e._UZ(7,"input",50),e.YNc(8,Zs,2,0,"span",14),e.YNc(9,ks,2,0,"span",14),e.qZA()()),2&n){const t=e.oxw(),o=e.MAs(5);e.xp6(8),e.Q6J("ngIf",t.importTokenForm.showError("count",o,"min")),e.xp6(1),e.Q6J("ngIf",t.importTokenForm.showError("count",o,"pattern"))}}function zs(n,i){1&n&&(e.TgZ(0,"span",29),e.SDv(1,56),e.qZA())}function qs(n,i){1&n&&(e.TgZ(0,"span",29),e.SDv(1,57),e.qZA())}function Hs(n,i){1&n&&(e.TgZ(0,"span",29),e.SDv(1,58),e.qZA())}function Xs(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"div",9)(2,"label",53),e.SDv(3,54),e.qZA(),e.TgZ(4,"div",12),e._UZ(5,"input",55),e.YNc(6,zs,2,0,"span",14),e.YNc(7,qs,2,0,"span",14),e.YNc(8,Hs,2,0,"span",14),e.qZA()(),e.BQk()),2&n){const t=e.oxw(),o=e.MAs(5);e.xp6(6),e.Q6J("ngIf",t.importTokenForm.showError("rgw_frontend_port",o,"pattern")),e.xp6(1),e.Q6J("ngIf",t.importTokenForm.showError("rgw_frontend_port",o,"min")),e.xp6(1),e.Q6J("ngIf",t.importTokenForm.showError("rgw_frontend_port",o,"max"))}}let Ks=(()=>{class n{constructor(t,o,c,O,H){this.activeModal=t,this.hostService=o,this.rgwRealmService=c,this.actionLabels=O,this.notificationService=H,this.endpoints=/^((https?:\/\/)|(www.))(?:([a-zA-Z]+)|(\d+\.\d+.\d+.\d+)):\d{2,4}$/,this.ipv4Rgx=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i,this.ipv6Rgx=/^(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}$/i,this.multisiteInfo=[],this.zoneList=[],this.labelClick=new In.xQ,this.labelFocus=new In.xQ,this.searchLabels=Q=>(0,bs.T)(Q.pipe((0,Is.b)(200),(0,Gs.x)()),this.labelFocus,this.labelClick.pipe((0,ys.h)(()=>!this.typeahead.isPopupOpen()))).pipe((0,Ls.U)(J=>this.labels.filter(j=>j.toLowerCase().indexOf(J.toLowerCase())>-1).slice(0,10))),this.hosts={options:[],messages:new Os.a({empty:"There are no hosts.",filter:"Filter hosts"})},this.createForm()}ngOnInit(){this.zoneList=void 0!==this.multisiteInfo[2]&&this.multisiteInfo[2].hasOwnProperty("zones")?this.multisiteInfo[2].zones:[],this.zoneNames=this.zoneList.map(o=>o.name);const t=new Ps.E(()=>{});this.hostService.list(t.toParams(),"false").subscribe(o=>{const c=[];v().forEach(o,O=>{if(v().get(O,"sources.orchestrator",!1)){const H=new As.$(!1,v().get(O,"hostname"),"");c.push(H)}}),this.hosts.options=[...c]}),this.hostService.getLabels().subscribe(o=>{this.labels=o})}createForm(){this.importTokenForm=new Xe.d({realmToken:new r.NI("",{validators:[r.kI.required]}),zoneName:new r.NI(null,{validators:[r.kI.required,z.h.custom("uniqueName",t=>this.zoneNames&&-1!==this.zoneNames.indexOf(t))]}),rgw_frontend_port:new r.NI(null,{validators:[r.kI.required,r.kI.pattern("^[0-9]*$")]}),placement:new r.NI("hosts"),label:new r.NI(null,[z.h.requiredIf({placement:"label",unmanaged:!1})]),hosts:new r.NI([]),count:new r.NI(null,[z.h.number(!1)]),unmanaged:new r.NI(!1)})}onSubmit(){const t=this.importTokenForm.value,o={placement:{}};if(!t.unmanaged){switch(t.placement){case"hosts":t.hosts.length>0&&(o.placement.hosts=t.hosts);break;case"label":o.placement.label=t.label}v().isNumber(t.count)&&t.count>0&&(o.placement.count=t.count)}this.rgwRealmService.importRealmToken(t.realmToken,t.zoneName,t.rgw_frontend_port,o).subscribe(()=>{this.notificationService.show(M.k.success,"Realm token import successfull"),this.activeModal.close()},()=>{this.importTokenForm.setErrors({cdSubmitButton:!0})})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(x.Kz),e.Y36(Ns.x),e.Y36(ot.y),e.Y36(l.p4),e.Y36(V.g))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-multisite-import"]],viewQuery:function(t,o){if(1&t&&e.Gf(x.dR,5),2&t){let c;e.iGM(c=e.CRH())&&(o.typeahead=c.first)}},decls:47,vars:12,consts:function(){let i,t,o,c,O,H,Q,J,j,oe,Te,Me,Fe,Pe,me,Ge,ye,Le,Ee,Ue,$e,xe,De,ve;return i="Import Multi-site Token",t="Zone Details",o="Token ",c="Secondary Zone Name",O="Service Details",H="Unmanaged",Q="If set to true, the orchestrator will not start nor stop any daemon associated with this service. Placement and all other properties will be ignored.",J="This field is required.",j="This field is required.",oe="The chosen zone name is already in use.",Te="Placement",Me="Hosts",Fe="Label",Pe="Label",me="This field is required.",Ge="Hosts",ye="Count",Le="Only that number of daemons will be created.",Ee="The value must be at least 1.",Ue="The entered value needs to be a number.",$e="Port",xe="The entered value needs to be a number.",De="The value must be at least 1.",ve="The value cannot exceed 65535.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","importTokenForm",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],["type","info","spacingClass","mb-3"],t,[1,"form-group","row"],["for","realmToken",1,"cd-col-form-label","required"],o,[1,"cd-col-form-input"],["id","realmToken","name","realmToken","type","text","formControlName","realmToken",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","zoneName",1,"cd-col-form-label","required"],c,["type","text","placeholder","Zone name...","id","zoneName","name","zoneName","formControlName","zoneName",1,"form-control"],O,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","unmanaged","type","checkbox","formControlName","unmanaged",1,"custom-control-input"],["for","unmanaged",1,"custom-control-label"],H,Q,["class","form-group row",4,"ngIf"],[4,"ngIf"],[1,"modal-footer"],[3,"submitText","form","submitActionEvent"],[1,"invalid-feedback"],J,j,oe,["for","placement",1,"cd-col-form-label"],Te,["id","placement","formControlName","placement",1,"form-select"],["value","hosts"],Me,["value","label"],Fe,["for","label",1,"cd-col-form-label"],Pe,["id","label","type","text","formControlName","label",1,"form-control",3,"ngbTypeahead","focus","click"],me,["for","hosts",1,"cd-col-form-label"],Ge,["id","hosts",3,"data","options","messages"],["for","count",1,"cd-col-form-label"],ye,Le,["id","count","type","number","formControlName","count","min","1",1,"form-control"],Ee,Ue,["for","rgw_frontend_port",1,"cd-col-form-label"],$e,["id","rgw_frontend_port","type","number","formControlName","rgw_frontend_port","min","1","max","65535",1,"form-control"],xe,De,ve]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"cd-alert-panel",7)(8,"ul")(9,"li"),e._uU(10,"This feature allows you to configure a connection between your primary and secondary Ceph clusters for data replication. By importing a token, you establish a link between the clusters, enabling data synchronization."),e.qZA(),e.TgZ(11,"li"),e._uU(12,"To obtain the token, generate it from your primary Ceph cluster. This token includes encoded information about the primary cluster's endpoint, access key, and secret key."),e.qZA(),e.TgZ(13,"li"),e._uU(14,"The secondary zone represents the destination cluster where your data will be replicated."),e.qZA()()(),e.TgZ(15,"legend"),e.SDv(16,8),e.qZA(),e.TgZ(17,"div",9)(18,"label",10),e.SDv(19,11),e.qZA(),e.TgZ(20,"div",12),e._UZ(21,"input",13),e.YNc(22,Ds,2,0,"span",14),e.qZA()(),e.TgZ(23,"div",9)(24,"label",15),e.SDv(25,16),e.qZA(),e.TgZ(26,"div",12),e._UZ(27,"input",17),e.YNc(28,vs,2,0,"span",14),e.YNc(29,ws,2,0,"span",14),e.qZA()(),e.TgZ(30,"legend"),e.SDv(31,18),e.qZA(),e.TgZ(32,"div",9)(33,"div",19)(34,"div",20),e._UZ(35,"input",21),e.TgZ(36,"label",22),e.SDv(37,23),e.qZA(),e.TgZ(38,"cd-helper"),e.SDv(39,24),e.qZA()()()(),e.YNc(40,Ws,9,0,"div",25),e.YNc(41,$s,6,2,"div",25),e.YNc(42,xs,5,3,"div",25),e.YNc(43,Bs,10,2,"div",25),e.YNc(44,Xs,9,3,"ng-container",26),e.qZA(),e.TgZ(45,"div",27)(46,"cd-form-button-panel",28),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.qZA()()(),e.BQk(),e.qZA()),2&t){const c=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.importTokenForm),e.xp6(18),e.Q6J("ngIf",o.importTokenForm.showError("realmToken",c,"required")),e.xp6(6),e.Q6J("ngIf",o.importTokenForm.showError("zoneName",c,"required")),e.xp6(1),e.Q6J("ngIf",o.importTokenForm.showError("zoneName",c,"uniqueName")),e.xp6(11),e.Q6J("ngIf",!o.importTokenForm.controls.unmanaged.value),e.xp6(1),e.Q6J("ngIf",!o.importTokenForm.controls.unmanaged.value&&"label"===o.importTokenForm.controls.placement.value),e.xp6(1),e.Q6J("ngIf",!o.importTokenForm.controls.unmanaged.value&&"hosts"===o.importTokenForm.controls.placement.value),e.xp6(1),e.Q6J("ngIf",!o.importTokenForm.controls.unmanaged.value),e.xp6(1),e.Q6J("ngIf",!o.importTokenForm.controls.unmanaged.value),e.xp6(2),e.Q6J("submitText",o.actionLabels.IMPORT)("form",o.importTokenForm)}},dependencies:[g.O5,fe.S,Gn.m,Ie.z,Ve.G,we.p,Oe.o,Ae.b,We.P,C.V,r._Y,r.YN,r.Kr,r.Fj,r.wV,r.Wl,r.EJ,r.JJ,r.JL,r.qQ,r.Fd,r.sg,r.u]}),n})();var Qs=d(72625);function Ys(n,i){1&n&&(e.TgZ(0,"span",20),e.SDv(1,21),e.qZA())}function Js(n,i){1&n&&(e.TgZ(0,"span",20),e.SDv(1,22),e.qZA())}function Vs(n,i){1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.SDv(2,23),e.qZA()())}function js(n,i){if(1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.tHW(2,24),e._UZ(3,"a",25),e.N_p(),e.qZA()()),2&n){const t=e.oxw();e.xp6(3),e.s9C("href",t.docUrl,e.LSH)}}function ea(n,i){1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.SDv(2,26),e.qZA()())}let ta=(()=>{class n{constructor(t,o,c,O,H){this.activeModal=t,this.actionLabels=o,this.rgwRealmService=c,this.notificationService=O,this.docService=H,this.editing=!1,this.multisiteInfo=[],this.realmList=[],this.zonegroupList=[],this.defaultRealmDisabled=!1,this.action=this.editing?this.actionLabels.EDIT+this.resource:this.actionLabels.CREATE+this.resource,this.createForm()}createForm(){this.multisiteRealmForm=new Xe.d({realmName:new r.p4(null,{validators:[r.kI.required,z.h.custom("uniqueName",t=>"create"===this.action&&this.realmNames&&-1!==this.realmNames.indexOf(t))]}),default_realm:new r.p4(!1)})}ngOnInit(){this.realmList=void 0!==this.multisiteInfo[0]&&this.multisiteInfo[0].hasOwnProperty("realms")?this.multisiteInfo[0].realms:[],this.realmNames=this.realmList.map(t=>t.name),"edit"===this.action&&(this.zonegroupList=void 0!==this.multisiteInfo[1]&&this.multisiteInfo[1].hasOwnProperty("zonegroups")?this.multisiteInfo[1].zonegroups:[],this.multisiteRealmForm.get("realmName").setValue(this.info.data.name),this.multisiteRealmForm.get("default_realm").setValue(this.info.data.is_default),this.info.data.is_default&&this.multisiteRealmForm.get("default_realm").disable()),this.zonegroupList.forEach(t=>{!0===t.is_master&&t.realm_id===this.info.data.id&&(this.isMaster=!0)}),this.defaultsInfo&&null!==this.defaultsInfo.defaultRealmName&&(this.multisiteRealmForm.get("default_realm").disable(),this.defaultRealmDisabled=!0),this.docUrl=this.docService.urlGenerator("rgw-multisite")}submit(){const t=this.multisiteRealmForm.getRawValue();this.realm=new ke.L6,"create"===this.action?(this.realm.name=t.realmName,this.rgwRealmService.create(this.realm,t.default_realm).subscribe(()=>{this.notificationService.show(M.k.success,"Realm: '" + t.realmName + "' created successfully"),this.activeModal.close()},()=>{this.multisiteRealmForm.setErrors({cdSubmitButton:!0})})):"edit"===this.action&&(this.realm.name=this.info.data.name,this.newRealmName=t.realmName,this.rgwRealmService.update(this.realm,t.default_realm,this.newRealmName).subscribe(()=>{this.notificationService.show(M.k.success,"Realm: '" + t.realmName + "' updated successfully"),this.activeModal.close()},()=>{this.multisiteRealmForm.setErrors({cdSubmitButton:!0})}))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(x.Kz),e.Y36(l.p4),e.Y36(ot.y),e.Y36(V.g),e.Y36(Qs.R))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-multisite-realm-form"]],decls:27,vars:20,consts:function(){let i,t,o,c,O,H,Q,J;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Realm Name",o="Default",c="This field is required.",O="The chosen realm name is already in use.",H="You cannot unset the default flag.",Q="Please consult the " + "\ufffd#3\ufffd" + "documentation" + "\ufffd/#3\ufffd" + " to follow the failover mechanism",J="Default realm already exists.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","multisiteRealmForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","realmName",1,"cd-col-form-label","required"],t,[1,"cd-col-form-input"],["type","text","placeholder","Realm name...","id","realmName","name","realmName","formControlName","realmName",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"custom-control","custom-checkbox"],["id","default_realm","name","default_realm","formControlName","default_realm","type","checkbox",1,"form-check-input"],["for","default_realm",1,"form-check-label"],o,[4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],c,O,H,Q,[3,"href"],J]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10),e._UZ(13,"input",11),e.YNc(14,Ys,2,0,"span",12),e.YNc(15,Js,2,0,"span",12),e.TgZ(16,"div",13),e._UZ(17,"input",14),e.TgZ(18,"label",15),e.SDv(19,16),e.qZA(),e.YNc(20,Vs,3,0,"cd-helper",17),e.YNc(21,js,4,1,"cd-helper",17),e.YNc(22,ea,3,0,"cd-helper",17),e.qZA()()()(),e.TgZ(23,"div",18)(24,"cd-form-button-panel",19),e.NdJ("submitActionEvent",function(){return o.submit()}),e.ALo(25,"titlecase"),e.ALo(26,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&t){const c=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,12,o.action))(e.lcZ(4,14,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.multisiteRealmForm),e.xp6(8),e.Q6J("ngIf",o.multisiteRealmForm.showError("realmName",c,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteRealmForm.showError("realmName",c,"uniqueName")),e.xp6(2),e.uIk("disabled","edit"===o.action||null),e.xp6(3),e.Q6J("ngIf","edit"===o.action&&o.info.data.is_default),e.xp6(1),e.Q6J("ngIf","edit"===o.action&&!o.info.data.is_default),e.xp6(1),e.Q6J("ngIf",o.defaultRealmDisabled&&"create"===o.action),e.xp6(2),e.Q6J("form",o.multisiteRealmForm)("submitText",e.lcZ(25,16,o.action)+" "+e.lcZ(26,18,o.resource))}},dependencies:[g.O5,fe.S,Ie.z,we.p,Oe.o,Ae.b,We.P,C.V,r._Y,r.Fj,r.Wl,r.JJ,r.JL,r.sg,r.u,g.rS,Ye.m]}),n})();function na(n,i){if(1&n&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&n){const t=i.$implicit,o=e.oxw();e.Q6J("value",t.name)("selected",t.name===o.multisiteZoneForm.getValue("selectedZonegroup")),e.xp6(1),e.hij(" ",t.name," ")}}function oa(n,i){1&n&&(e.TgZ(0,"span",41),e.SDv(1,42),e.qZA())}function ia(n,i){1&n&&(e.TgZ(0,"span",41),e.SDv(1,43),e.qZA())}function _a(n,i){1&n&&(e.TgZ(0,"span")(1,"cd-helper"),e.SDv(2,44),e.qZA()())}function ra(n,i){1&n&&(e.TgZ(0,"span")(1,"cd-helper"),e.SDv(2,45),e.qZA()())}function sa(n,i){if(1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.tHW(2,46),e._UZ(3,"a",47),e.N_p(),e.qZA()()),2&n){const t=e.oxw();e.xp6(3),e.s9C("href",t.docUrl,e.LSH)}}function aa(n,i){1&n&&(e.TgZ(0,"span")(1,"cd-helper"),e.SDv(2,48),e.qZA()())}function la(n,i){1&n&&(e.TgZ(0,"span")(1,"cd-helper"),e.SDv(2,49),e.qZA()())}function ca(n,i){if(1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.tHW(2,50),e._UZ(3,"a",47),e.N_p(),e.qZA()()),2&n){const t=e.oxw();e.xp6(3),e.s9C("href",t.docUrl,e.LSH)}}function ua(n,i){1&n&&(e.TgZ(0,"span",41),e.SDv(1,51),e.qZA())}function da(n,i){1&n&&(e.TgZ(0,"span",41),e.SDv(1,52),e.qZA())}function fa(n,i){if(1&n&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&n){const t=i.$implicit,o=e.oxw(3);e.Q6J("value",t.name)("selected",t.name===o.multisiteZoneForm.getValue("placementTarget")),e.xp6(1),e.hij(" ",t.name," ")}}function pa(n,i){if(1&n&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&n){const t=i.$implicit,o=e.oxw(3);e.Q6J("value",t.poolname)("selected",t.poolname===o.multisiteZoneForm.getValue("placementDataPool")),e.xp6(1),e.hij(" ",t.poolname," ")}}function ga(n,i){if(1&n&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&n){const t=i.$implicit,o=e.oxw(3);e.Q6J("value",t.poolname)("selected",t.poolname===o.multisiteZoneForm.getValue("placementIndexPool")),e.xp6(1),e.hij(" ",t.poolname," ")}}function Ta(n,i){if(1&n&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&n){const t=i.$implicit,o=e.oxw(3);e.Q6J("value",t.poolname)("selected",t.poolname===o.multisiteZoneForm.getValue("placementDataExtraPool")),e.xp6(1),e.hij(" ",t.poolname," ")}}function Ea(n,i){if(1&n&&(e.TgZ(0,"option",75),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.Q6J("value",t.value),e.xp6(1),e.hij(" ",t.value," ")}}function Ra(n,i){if(1&n&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&n){const t=i.$implicit,o=e.oxw(3);e.Q6J("value",t.poolname)("selected",t.poolname===o.multisiteZoneForm.getValue("storageDataPool")),e.xp6(1),e.hij(" ",t.poolname," ")}}function ma(n,i){if(1&n&&(e.TgZ(0,"option",75),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.Q6J("value",t),e.xp6(1),e.hij(" ",t," ")}}function ha(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"legend"),e._uU(2,"Placement Targets"),e.qZA(),e.TgZ(3,"div",7)(4,"label",53),e.SDv(5,54),e.qZA(),e.TgZ(6,"div",10)(7,"select",55),e.NdJ("change",function(c){e.CHM(t);const O=e.oxw(2);return e.KtG(O.getZonePlacementData(c.target.value))}),e.YNc(8,fa,2,3,"option",12),e.qZA()()(),e.TgZ(9,"div",7)(10,"label",56),e.SDv(11,57),e.qZA(),e.TgZ(12,"div",10)(13,"select",58),e.YNc(14,pa,2,3,"option",12),e.qZA()()(),e.TgZ(15,"div",7)(16,"label",59),e.SDv(17,60),e.qZA(),e.TgZ(18,"div",10)(19,"select",61),e.YNc(20,ga,2,3,"option",12),e.qZA()()(),e.TgZ(21,"div",7)(22,"label",62),e.SDv(23,63),e.qZA(),e.TgZ(24,"div",10)(25,"select",64),e.YNc(26,Ta,2,3,"option",12),e.qZA()()(),e.TgZ(27,"div")(28,"legend"),e._uU(29,"Storage Classes"),e.qZA(),e.TgZ(30,"div",7)(31,"label",65),e.SDv(32,66),e.qZA(),e.TgZ(33,"div",10)(34,"select",67),e.NdJ("change",function(c){e.CHM(t);const O=e.oxw(2);return e.KtG(O.getStorageClassData(c.target.value))}),e.YNc(35,Ea,2,2,"option",68),e.qZA()()(),e.TgZ(36,"div",7)(37,"label",69),e.SDv(38,70),e.qZA(),e.TgZ(39,"div",10)(40,"select",71),e.YNc(41,Ra,2,3,"option",12),e.qZA()()(),e.TgZ(42,"div",7)(43,"label",72),e.SDv(44,73),e.qZA(),e.TgZ(45,"div",10)(46,"select",74),e.YNc(47,ma,2,2,"option",68),e.qZA()()()()()}if(2&n){const t=e.oxw(2);e.xp6(8),e.Q6J("ngForOf",t.placementTargets),e.xp6(5),e.Q6J("value",t.placementDataPool),e.xp6(1),e.Q6J("ngForOf",t.poolList),e.xp6(6),e.Q6J("ngForOf",t.poolList),e.xp6(6),e.Q6J("ngForOf",t.poolList),e.xp6(9),e.Q6J("ngForOf",t.storageClassList),e.xp6(6),e.Q6J("ngForOf",t.poolList),e.xp6(6),e.Q6J("ngForOf",t.compressionTypes)}}function Ma(n,i){if(1&n&&(e.TgZ(0,"div",7),e.YNc(1,ha,48,8,"div",21),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf","edit"===t.action)}}let Sa=(()=>{class n{constructor(t,o,c,O,H,Q,J,j){this.activeModal=t,this.actionLabels=o,this.rgwMultisiteService=c,this.rgwZoneService=O,this.rgwZoneGroupService=H,this.notificationService=Q,this.rgwUserService=J,this.modalService=j,this.endpoints=/^((https?:\/\/)|(www.))(?:([a-zA-Z]+)|(\d+\.\d+.\d+.\d+)):\d{2,4}$/,this.ipv4Rgx=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i,this.ipv6Rgx=/^(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}$/i,this.editing=!1,this.defaultsInfo=[],this.multisiteInfo=[],this.zonegroupList=[],this.zoneList=[],this.poolList=[],this.storageClassList=[],this.disableDefault=!1,this.disableMaster=!1,this.isMetadataSync=!1,this.syncStatusTimedOut=!1,this.createSystemUser=!1,this.compressionTypes=["lz4","zlib","snappy"],this.userListReady=!1,this.action=this.editing?this.actionLabels.EDIT+this.resource:this.actionLabels.CREATE+this.resource,this.createForm()}createForm(){this.multisiteZoneForm=new Xe.d({zoneName:new r.p4(null,{validators:[r.kI.required,z.h.custom("uniqueName",t=>"create"===this.action&&this.zoneNames&&-1!==this.zoneNames.indexOf(t))]}),default_zone:new r.p4(!1),master_zone:new r.p4(!1),selectedZonegroup:new r.p4(null),zone_endpoints:new r.p4(null,{validators:[z.h.custom("endpoint",t=>!(v().isEmpty(t)||(t.includes(",")?(t.split(",").forEach(o=>!this.endpoints.test(o)&&!this.ipv4Rgx.test(o)&&!this.ipv6Rgx.test(o)),1):this.endpoints.test(t)||this.ipv4Rgx.test(t)||this.ipv6Rgx.test(t)))),r.kI.required]}),access_key:new r.p4("",{}),secret_key:new r.p4("",{}),placementTarget:new r.p4(null),placementDataPool:new r.p4(""),placementIndexPool:new r.p4(null),placementDataExtraPool:new r.p4(null),storageClass:new r.p4(null),storageDataPool:new r.p4(null),storageCompression:new r.p4(null)})}onZoneGroupChange(t){let o=new ke.iG;o.name=t,this.rgwZoneGroupService.get(o).subscribe(c=>{v().isEmpty(c.master_zone)?(this.multisiteZoneForm.get("master_zone").setValue(!0),this.multisiteZoneForm.get("master_zone").disable(),this.disableMaster=!1):!v().isEmpty(c.master_zone)&&"create"===this.action&&(this.multisiteZoneForm.get("master_zone").setValue(!1),this.multisiteZoneForm.get("master_zone").disable(),this.disableMaster=!0)}),this.multisiteZoneForm.getValue("selectedZonegroup")!==this.defaultsInfo.defaultZonegroupName&&(this.disableDefault=!0,this.multisiteZoneForm.get("default_zone").disable())}ngOnInit(){this.zonegroupList=void 0!==this.multisiteInfo[1]&&this.multisiteInfo[1].hasOwnProperty("zonegroups")?this.multisiteInfo[1].zonegroups:[],this.zoneList=void 0!==this.multisiteInfo[2]&&this.multisiteInfo[2].hasOwnProperty("zones")?this.multisiteInfo[2].zones:[],this.zoneNames=this.zoneList.map(t=>t.name),"create"===this.action&&void 0!==this.defaultsInfo.defaultZonegroupName&&(this.multisiteZoneForm.get("selectedZonegroup").setValue(this.defaultsInfo.defaultZonegroupName),this.onZoneGroupChange(this.defaultsInfo.defaultZonegroupName)),"edit"===this.action&&(this.placementTargets=this.info.parent?this.info.parent.data.placement_targets:[],this.rgwZoneService.getPoolNames().subscribe(o=>{this.poolList=o}),this.multisiteZoneForm.get("zoneName").setValue(this.info.data.name),this.multisiteZoneForm.get("selectedZonegroup").setValue(this.info.data.parent),this.multisiteZoneForm.get("default_zone").setValue(this.info.data.is_default),this.multisiteZoneForm.get("master_zone").setValue(this.info.data.is_master),this.multisiteZoneForm.get("zone_endpoints").setValue(this.info.data.endpoints.toString()),this.multisiteZoneForm.get("access_key").setValue(this.info.data.access_key),this.multisiteZoneForm.get("secret_key").setValue(this.info.data.secret_key),this.multisiteZoneForm.get("placementTarget").setValue(this.info.parent.data.default_placement),this.getZonePlacementData(this.multisiteZoneForm.getValue("placementTarget")),this.info.data.is_default&&(this.isDefaultZone=!0,this.multisiteZoneForm.get("default_zone").disable()),this.info.data.is_master&&(this.isMasterZone=!0,this.multisiteZoneForm.get("master_zone").disable()),(new ke.jb).name=this.info.data.name,this.onZoneGroupChange(this.info.data.parent)),this.multisiteZoneForm.getValue("selectedZonegroup")!==this.defaultsInfo.defaultZonegroupName&&(this.disableDefault=!0,this.multisiteZoneForm.get("default_zone").disable())}getZonePlacementData(t){this.zone=new ke.jb,this.zone.name=this.info.data.name,this.placementTargets&&this.placementTargets.forEach(o=>{o.name===t&&(this.storageClassList=Object.entries(o.storage_classes).map(([O,H])=>({key:O,value:H})))}),this.rgwZoneService.get(this.zone).subscribe(o=>{this.zoneInfo=o,this.zoneInfo&&this.zoneInfo.placement_pools&&this.zoneInfo.placement_pools.forEach(c=>{if(c.key===t){let O=c.val.storage_classes,H=O.STANDARD?O.STANDARD.data_pool:"",Q=c.val.index_pool,J=c.val.data_extra_pool;this.poolList.push({poolname:H}),this.poolList.push({poolname:Q}),this.poolList.push({poolname:J}),this.multisiteZoneForm.get("storageClass").setValue(this.storageClassList[0].value),this.multisiteZoneForm.get("storageDataPool").setValue(H),this.multisiteZoneForm.get("storageCompression").setValue(this.compressionTypes[0]),this.multisiteZoneForm.get("placementDataPool").setValue(H),this.multisiteZoneForm.get("placementIndexPool").setValue(Q),this.multisiteZoneForm.get("placementDataExtraPool").setValue(J)}})})}getStorageClassData(t){let o=this.storageClassList.find(c=>c.value==t).value;this.poolList.push({poolname:o.data_pool}),this.multisiteZoneForm.get("storageDataPool").setValue(o.data_pool),this.multisiteZoneForm.get("storageCompression").setValue(o.compression_type)}submit(){const t=this.multisiteZoneForm.getRawValue();"create"===this.action?(this.zonegroup=new ke.iG,this.zonegroup.name=t.selectedZonegroup,this.zone=new ke.jb,this.zone.name=t.zoneName,this.zone.endpoints=t.zone_endpoints,this.zone.system_key=new ke.VY,this.zone.system_key.access_key=t.access_key,this.zone.system_key.secret_key=t.secret_key,this.rgwZoneService.create(this.zone,this.zonegroup,t.default_zone,t.master_zone,this.zone.endpoints).subscribe(()=>{this.notificationService.show(M.k.success,"Zone: '" + t.zoneName + "' created successfully"),this.activeModal.close()},()=>{this.multisiteZoneForm.setErrors({cdSubmitButton:!0})})):"edit"===this.action&&(this.zonegroup=new ke.iG,this.zonegroup.name=t.selectedZonegroup,this.zone=new ke.jb,this.zone.name=this.info.data.name,this.zone.endpoints=t.zone_endpoints,this.zone.system_key=new ke.VY,this.zone.system_key.access_key=t.access_key,this.zone.system_key.secret_key=t.secret_key,this.rgwZoneService.update(this.zone,this.zonegroup,t.zoneName,t.default_zone,t.master_zone,this.zone.endpoints,t.placementTarget,t.placementDataPool,t.placementIndexPool,t.placementDataExtraPool,t.storageClass,t.storageDataPool,t.storageCompression).subscribe(()=>{this.notificationService.show(M.k.success,"Zone: '" + t.zoneName + "' updated successfully"),this.activeModal.close()},()=>{this.multisiteZoneForm.setErrors({cdSubmitButton:!0})}))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(x.Kz),e.Y36(l.p4),e.Y36(an.o),e.Y36(it.g),e.Y36(_t.K),e.Y36(V.g),e.Y36(f),e.Y36(Qe.Z))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-multisite-zone-form"]],decls:75,vars:29,consts:function(){let i,t,o,c,O,H,Q,J,j,oe,Te,Me,Fe,Pe,me,Ge,ye,Le,Ee,Ue,$e,xe,De,ve,se;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",t="Select Zone Group",o="Zone Name",c="Default",O="Master",H="Endpoints",Q="S3 access key " + "\ufffd#47\ufffd" + "" + "\ufffd#48\ufffd" + "To see or copy your S3 access key, go to " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Object Gateway > Users" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + " and click on your user name. In " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Keys" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + ", click " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Show" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + ". View the access key by clicking Show and copy the key by clicking " + "[\ufffd#49\ufffd|\ufffd#50\ufffd|\ufffd#51\ufffd|\ufffd#52\ufffd]" + "Copy to Clipboard" + "[\ufffd/#49\ufffd|\ufffd/#50\ufffd|\ufffd/#51\ufffd|\ufffd/#52\ufffd]" + "." + "\ufffd/#48\ufffd" + "" + "\ufffd/#47\ufffd" + "",Q=e.Zx4(Q),J="S3 secret key " + "\ufffd#60\ufffd" + "" + "\ufffd#61\ufffd" + "To see or copy your S3 access key, go to " + "[\ufffd#62\ufffd|\ufffd#63\ufffd|\ufffd#64\ufffd|\ufffd#65\ufffd]" + "Object Gateway > Users" + "[\ufffd/#62\ufffd|\ufffd/#63\ufffd|\ufffd/#64\ufffd|\ufffd/#65\ufffd]" + " and click on your user name. In " + "[\ufffd#62\ufffd|\ufffd#63\ufffd|\ufffd#64\ufffd|\ufffd#65\ufffd]" + "Keys" + "[\ufffd/#62\ufffd|\ufffd/#63\ufffd|\ufffd/#64\ufffd|\ufffd/#65\ufffd]" + ", click " + "[\ufffd#62\ufffd|\ufffd#63\ufffd|\ufffd#64\ufffd|\ufffd#65\ufffd]" + "Show" + "[\ufffd/#62\ufffd|\ufffd/#63\ufffd|\ufffd/#64\ufffd|\ufffd/#65\ufffd]" + ". View the secret key by clicking Show and copy the key by clicking " + "[\ufffd#62\ufffd|\ufffd#63\ufffd|\ufffd#64\ufffd|\ufffd#65\ufffd]" + "Copy to Clipboard" + "[\ufffd/#62\ufffd|\ufffd/#63\ufffd|\ufffd/#64\ufffd|\ufffd/#65\ufffd]" + "." + "\ufffd/#61\ufffd" + "" + "\ufffd/#60\ufffd" + "",J=e.Zx4(J),j="This field is required.",oe="The chosen zone name is already in use.",Te="Default zone can only exist in a default zone group. ",Me="You cannot unset the default flag. ",Fe="Please consult the " + "\ufffd#3\ufffd" + "documentation" + "\ufffd/#3\ufffd" + " to follow the failover mechanism",Pe="Master zone already exists for the selected zone group. ",me="You cannot unset the master flag. ",Ge="Please consult the " + "\ufffd#3\ufffd" + "documentation" + "\ufffd/#3\ufffd" + " to follow the failover mechanism",ye="This field is required.",Le="Please enter a valid IP address.",Ee="Placement target",Ue="Data pool",$e="Index pool",xe="Data extra pool",De="Storage Class",ve="Data pool",se="Compression",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","multisiteZoneForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","selectedZonegroup",1,"cd-col-form-label"],t,[1,"cd-col-form-input"],["id","selectedZonegroup","formControlName","selectedZonegroup","name","selectedZonegroup",1,"form-select",3,"change"],[3,"value","selected",4,"ngFor","ngForOf"],["for","zonegroupName",1,"cd-col-form-label","required"],o,["type","text","placeholder","Zone name...","id","zoneName","name","zoneName","formControlName","zoneName",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"custom-control","custom-checkbox"],["id","default_zone","name","default_zone","formControlName","default_zone","type","checkbox",1,"form-check-input"],["for","default_zone",1,"form-check-label"],c,[4,"ngIf"],["id","master_zone","name","master_zone","formControlName","master_zone","type","checkbox",1,"form-check-input"],["for","master_zone",1,"form-check-label"],O,["for","zone_endpoints",1,"cd-col-form-label","required"],H,["type","text","placeholder","e.g, http://ceph-node-00.com:80","id","zone_endpoints","name","zone_endpoints","formControlName","zone_endpoints",1,"form-control"],["for","access_key",1,"cd-col-form-label"],Q,[1,"input-group"],["type","password","placeholder","DiPt4V7WWvy2njL1z6aC","id","access_key","name","access_key","formControlName","access_key",1,"form-control"],["type","button","cdPasswordButton","access_key",1,"btn","btn-light"],["for","secret_key",1,"cd-col-form-label"],J,["type","password","placeholder","xSZUdYky0bTctAdCEEW8ikhfBVKsBV5LFYL82vvh","id","secret_key","name","secret_key","formControlName","secret_key",1,"form-control"],["type","button","cdPasswordButton","secret_key",1,"btn","btn-light"],["class","form-group row",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[3,"value","selected"],[1,"invalid-feedback"],j,oe,Te,Me,Fe,[3,"href"],Pe,me,Ge,ye,Le,["for","placementTarget",1,"cd-col-form-label"],Ee,["id","placementTarget","formControlName","placementTarget","name","placementTarget",1,"form-select",3,"change"],["for","placementDataPool",1,"cd-col-form-label"],Ue,["id","placementDataPool","formControlName","placementDataPool","name","placementDataPool",1,"form-select",3,"value"],["for","placementIndexPool",1,"cd-col-form-label"],$e,["id","placementIndexPool","formControlName","placementIndexPool","name","placementIndexPool",1,"form-select"],["for","placementDataExtraPool",1,"cd-col-form-label"],xe,["id","placementDataExtraPool","formControlName","placementDataExtraPool","name","placementDataExtraPool",1,"form-select"],["for","storageClass",1,"cd-col-form-label"],De,["id","storageClass","formControlName","storageClass","name","storageClass",1,"form-select",3,"change"],[3,"value",4,"ngFor","ngForOf"],["for","storageDataPool",1,"cd-col-form-label"],ve,["id","storageDataPool","formControlName","storageDataPool","name","storageDataPool",1,"form-select"],["for","storageCompression",1,"cd-col-form-label"],se,["id","storageCompression","formControlName","storageCompression","name","storageCompression",1,"form-select"],[3,"value"]]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10)(13,"select",11),e.NdJ("change",function(O){return o.onZoneGroupChange(O.target.value)}),e.YNc(14,na,2,3,"option",12),e.qZA()()(),e.TgZ(15,"div",7)(16,"label",13),e.SDv(17,14),e.qZA(),e.TgZ(18,"div",10),e._UZ(19,"input",15),e.YNc(20,oa,2,0,"span",16),e.YNc(21,ia,2,0,"span",16),e.TgZ(22,"div",17),e._UZ(23,"input",18),e.TgZ(24,"label",19),e.SDv(25,20),e.qZA(),e.YNc(26,_a,3,0,"span",21),e.YNc(27,ra,3,0,"span",21),e.YNc(28,sa,4,1,"cd-helper",21),e._UZ(29,"br"),e.qZA(),e.TgZ(30,"div",17),e._UZ(31,"input",22),e.TgZ(32,"label",23),e.SDv(33,24),e.qZA(),e.YNc(34,aa,3,0,"span",21),e.YNc(35,la,3,0,"span",21),e.YNc(36,ca,4,1,"cd-helper",21),e.qZA()()(),e.TgZ(37,"div",7)(38,"label",25),e.SDv(39,26),e.qZA(),e.TgZ(40,"div",10),e._UZ(41,"input",27),e.YNc(42,ua,2,0,"span",16),e.YNc(43,da,2,0,"span",16),e.qZA()(),e.TgZ(44,"div",7)(45,"label",28),e.tHW(46,29),e.TgZ(47,"cd-helper")(48,"span"),e._UZ(49,"b")(50,"b")(51,"b")(52,"b"),e.qZA()(),e.N_p(),e.qZA(),e.TgZ(53,"div",10)(54,"div",30),e._UZ(55,"input",31)(56,"button",32),e.qZA()()(),e.TgZ(57,"div",7)(58,"label",33),e.tHW(59,34),e.TgZ(60,"cd-helper")(61,"span"),e._UZ(62,"b")(63,"b")(64,"b")(65,"b"),e.qZA()(),e.N_p(),e.qZA(),e.TgZ(66,"div",10)(67,"div",30),e._UZ(68,"input",35)(69,"button",36),e.qZA()()(),e.YNc(70,Ma,2,1,"div",37),e.qZA(),e.TgZ(71,"div",38)(72,"cd-form-button-panel",39),e.NdJ("submitActionEvent",function(){return o.submit()}),e.ALo(73,"titlecase"),e.ALo(74,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&t){const c=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,21,o.action))(e.lcZ(4,23,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.multisiteZoneForm),e.xp6(7),e.uIk("disabled","edit"===o.action||null),e.xp6(1),e.Q6J("ngForOf",o.zonegroupList),e.xp6(6),e.Q6J("ngIf",o.multisiteZoneForm.showError("zoneName",c,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteZoneForm.showError("zoneName",c,"uniqueName")),e.xp6(2),e.uIk("disabled","edit"===o.action||null),e.xp6(3),e.Q6J("ngIf",o.disableDefault&&"create"===o.action),e.xp6(1),e.Q6J("ngIf",o.isDefaultZone),e.xp6(1),e.Q6J("ngIf","edit"===o.action&&!o.isDefaultZone),e.xp6(3),e.uIk("disabled","edit"===o.action||null),e.xp6(3),e.Q6J("ngIf",o.disableMaster),e.xp6(1),e.Q6J("ngIf",o.isMasterZone),e.xp6(1),e.Q6J("ngIf","edit"===o.action&&!o.isMasterZone),e.xp6(6),e.Q6J("ngIf",o.multisiteZoneForm.showError("zone_endpoints",c,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteZoneForm.showError("zone_endpoints",c,"endpoint")),e.xp6(27),e.Q6J("ngIf","edit"===o.action),e.xp6(2),e.Q6J("form",o.multisiteZoneForm)("submitText",e.lcZ(73,25,o.action)+" "+e.lcZ(74,27,o.resource))}},dependencies:[g.sg,g.O5,fe.S,Ie.z,we.p,lt.C,Oe.o,Ae.b,We.P,C.V,r._Y,r.YN,r.Kr,r.Fj,r.Wl,r.EJ,r.JJ,r.JL,r.sg,r.u,g.rS,Ye.m]}),n})();var Ca=d(36569);function Fa(n,i){if(1&n&&(e.TgZ(0,"option",33),e._uU(1),e.qZA()),2&n){const t=i.$implicit,o=e.oxw();e.Q6J("value",t.name)("selected",t.name===o.multisiteZonegroupForm.getValue("selectedRealm")),e.xp6(1),e.hij(" ",t.name," ")}}function Oa(n,i){1&n&&(e.TgZ(0,"span",34),e.SDv(1,35),e.qZA())}function Na(n,i){1&n&&(e.TgZ(0,"span",34),e.SDv(1,36),e.qZA())}function Pa(n,i){1&n&&(e.TgZ(0,"span")(1,"cd-helper"),e.SDv(2,37),e.qZA()())}function Aa(n,i){if(1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.tHW(2,38),e._UZ(3,"a",39),e.N_p(),e.qZA()()),2&n){const t=e.oxw();e.xp6(3),e.s9C("href",t.docUrl,e.LSH)}}function ba(n,i){1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.SDv(2,40),e.qZA()())}function Ia(n,i){1&n&&(e.TgZ(0,"span")(1,"cd-helper"),e.SDv(2,41),e.qZA()())}function Ga(n,i){if(1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.tHW(2,42),e._UZ(3,"a",39),e.N_p(),e.qZA()()),2&n){const t=e.oxw();e.xp6(3),e.s9C("href",t.docUrl,e.LSH)}}function ya(n,i){1&n&&(e.TgZ(0,"cd-helper")(1,"span"),e.SDv(2,43),e.qZA()())}function La(n,i){1&n&&(e.TgZ(0,"span",34),e.SDv(1,44),e.qZA())}function Da(n,i){1&n&&(e.TgZ(0,"span",34),e.SDv(1,45),e.qZA())}function va(n,i){1&n&&(e.TgZ(0,"span",34),e.SDv(1,49),e.qZA())}function wa(n,i){if(1&n&&(e.TgZ(0,"div",7)(1,"label",46),e.SDv(2,47),e.qZA(),e.TgZ(3,"div",10),e._UZ(4,"cd-select-badges",48)(5,"br"),e.YNc(6,va,2,0,"span",18),e.qZA()()),2&n){const t=e.oxw();e.xp6(4),e.Q6J("data",t.zonegroupZoneNames)("options",t.labelsOption)("customBadges",!0),e.xp6(2),e.Q6J("ngIf",t.isRemoveMasterZone)}}function Wa(n,i){1&n&&(e.TgZ(0,"span"),e.SDv(1,68),e.qZA())}function Ua(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"div",55)(2,"div",56),e._uU(3),e.ALo(4,"ordinal"),e.TgZ(5,"span",57),e.NdJ("click",function(){const O=e.CHM(t).index,H=e.oxw(2);return e.KtG(H.removePlacementTarget(O))}),e._uU(6,"\xd7"),e.qZA()(),e.TgZ(7,"div",58)(8,"div",7)(9,"label",59),e.SDv(10,60),e.qZA(),e.TgZ(11,"div",10),e._UZ(12,"input",61),e.TgZ(13,"span",34),e.YNc(14,Wa,2,0,"span",23),e.qZA()()(),e.TgZ(15,"div",7)(16,"label",62),e.SDv(17,63),e.qZA(),e.TgZ(18,"div",10),e._UZ(19,"input",64),e.qZA()(),e.TgZ(20,"div",7)(21,"label",65),e.SDv(22,66),e.qZA(),e.TgZ(23,"div",10),e._UZ(24,"input",67),e.qZA()()()()()}if(2&n){const t=i.$implicit,o=i.index,c=e.oxw(2),O=e.MAs(6);e.xp6(1),e.Q6J("formGroup",t),e.xp6(2),e.hij(" ",e.lcZ(4,3,o+1)," "),e.xp6(11),e.Q6J("ngIf",c.showError(o,"placement_id",O,"required"))}}const $a=function(n){return[n]};function xa(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"div")(1,"legend"),e._uU(2,"Placement targets"),e.qZA(),e.ynx(3,50),e.YNc(4,Ua,25,5,"div",51),e.BQk(),e.TgZ(5,"button",52),e.NdJ("click",function(){e.CHM(t);const c=e.oxw();return e.KtG(c.addPlacementTarget())}),e._UZ(6,"i",53),e.ynx(7),e.SDv(8,54),e.BQk(),e.qZA()()}if(2&n){const t=e.oxw();e.xp6(4),e.Q6J("ngForOf",t.placementTargets.controls)("ngForTrackBy",t.trackByFn),e.xp6(2),e.Q6J("ngClass",e.VKq(3,$a,t.icons.add))}}let Za=(()=>{class n{constructor(t,o,c,O,H){this.activeModal=t,this.actionLabels=o,this.rgwZonegroupService=c,this.notificationService=O,this.formBuilder=H,this.endpoints=/^((https?:\/\/)|(www.))(?:([a-zA-Z]+)|(\d+\.\d+.\d+.\d+)):\d{2,4}$/,this.ipv4Rgx=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i,this.ipv6Rgx=/^(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}$/i,this.icons=$.P,this.editing=!1,this.defaultsInfo=[],this.multisiteInfo=[],this.realmList=[],this.zonegroupList=[],this.isMaster=!1,this.labelsOption=[],this.zoneList=[],this.isRemoveMasterZone=!1,this.disableDefault=!1,this.disableMaster=!1,this.action=this.editing?this.actionLabels.EDIT+this.resource:this.actionLabels.CREATE+this.resource,this.createForm()}createForm(){this.multisiteZonegroupForm=new Xe.d({default_zonegroup:new r.p4(!1),zonegroupName:new r.p4(null,{validators:[r.kI.required,z.h.custom("uniqueName",t=>"create"===this.action&&this.zonegroupNames&&-1!==this.zonegroupNames.indexOf(t))]}),master_zonegroup:new r.p4(!1),selectedRealm:new r.p4(null),zonegroup_endpoints:new r.p4(null,[z.h.custom("endpoint",t=>!(v().isEmpty(t)||(t.includes(",")?(t.split(",").forEach(o=>!this.endpoints.test(o)&&!this.ipv4Rgx.test(o)&&!this.ipv6Rgx.test(o)),1):this.endpoints.test(t)||this.ipv4Rgx.test(t)||this.ipv6Rgx.test(t)))),r.kI.required]),placementTargets:this.formBuilder.array([])})}ngOnInit(){v().forEach(this.multisiteZonegroupForm.get("placementTargets"),O=>{this.addPlacementTarget().patchValue(O)}),this.placementTargets=this.multisiteZonegroupForm.get("placementTargets"),this.realmList=void 0!==this.multisiteInfo[0]&&this.multisiteInfo[0].hasOwnProperty("realms")?this.multisiteInfo[0].realms:[],this.zonegroupList=void 0!==this.multisiteInfo[1]&&this.multisiteInfo[1].hasOwnProperty("zonegroups")?this.multisiteInfo[1].zonegroups:[],this.zonegroupList.forEach(O=>{!0===O.is_master&&!v().isEmpty(O.realm_id)&&(this.isMaster=!0,this.disableMaster=!0)}),this.isMaster||(this.multisiteZonegroupForm.get("master_zonegroup").setValue(!0),this.multisiteZonegroupForm.get("master_zonegroup").disable()),this.zoneList=void 0!==this.multisiteInfo[2]&&this.multisiteInfo[2].hasOwnProperty("zones")?this.multisiteInfo[2].zones:[],this.zonegroupNames=this.zonegroupList.map(O=>O.name);const c=this.zonegroupList.map(O=>O.zones).reduce((O,H)=>O.concat(H),[]).map(O=>O.name);if(this.allZoneNames=this.zoneList.map(O=>O.name),this.allZoneNames=v().difference(this.allZoneNames,c),"create"===this.action&&null!==this.defaultsInfo.defaultRealmName&&(this.multisiteZonegroupForm.get("selectedRealm").setValue(this.defaultsInfo.defaultRealmName),this.disableMaster&&this.multisiteZonegroupForm.get("master_zonegroup").disable()),"edit"===this.action){this.multisiteZonegroupForm.get("zonegroupName").setValue(this.info.data.name),this.multisiteZonegroupForm.get("selectedRealm").setValue(this.info.data.parent),this.multisiteZonegroupForm.get("default_zonegroup").setValue(this.info.data.is_default),this.multisiteZonegroupForm.get("master_zonegroup").setValue(this.info.data.is_master),this.multisiteZonegroupForm.get("zonegroup_endpoints").setValue(this.info.data.endpoints),this.info.data.is_default&&this.multisiteZonegroupForm.get("default_zonegroup").disable(),!this.info.data.is_default&&this.multisiteZonegroupForm.getValue("selectedRealm")!==this.defaultsInfo.defaultRealmName&&(this.multisiteZonegroupForm.get("default_zonegroup").disable(),this.disableDefault=!0),(this.info.data.is_master||this.disableMaster)&&this.multisiteZonegroupForm.get("master_zonegroup").disable(),this.zonegroupZoneNames=this.info.data.zones.map(H=>H.name),this.zgZoneNames=this.info.data.zones.map(H=>H.name),this.zgZoneIds=this.info.data.zones.map(H=>H.id);const O=new Set(this.allZoneNames);this.labelsOption=Array.from(O).map(H=>({enabled:!0,name:H,selected:!1,description:null})),this.info.data.placement_targets.forEach(H=>{const Q=this.addPlacementTarget();let J={placement_id:H.name,tags:H.tags.join(","),storage_class:"string"==typeof H.storage_classes?H.storage_classes:H.storage_classes.join(",")};Q.patchValue(J)})}}submit(){const t=this.multisiteZonegroupForm.getRawValue();if("create"===this.action)this.realm=new ke.L6,this.realm.name=t.selectedRealm,this.zonegroup=new ke.iG,this.zonegroup.name=t.zonegroupName,this.zonegroup.endpoints=t.zonegroup_endpoints,this.rgwZonegroupService.create(this.realm,this.zonegroup,t.default_zonegroup,t.master_zonegroup).subscribe(()=>{this.notificationService.show(M.k.success,"Zonegroup: '" + t.zonegroupName + "' created successfully"),this.activeModal.close()},()=>{this.multisiteZonegroupForm.setErrors({cdSubmitButton:!0})});else if("edit"===this.action){this.removedZones=v().difference(this.zgZoneNames,this.zonegroupZoneNames);const o=this.info.data.zones.filter(c=>c.id===this.info.data.master_zone);if(this.isRemoveMasterZone=this.removedZones.includes(o[0].name),this.isRemoveMasterZone)return void this.multisiteZonegroupForm.setErrors({cdSubmitButton:!0});this.addedZones=v().difference(this.zonegroupZoneNames,this.zgZoneNames),this.realm=new ke.L6,this.realm.name=t.selectedRealm,this.zonegroup=new ke.iG,this.zonegroup.name=this.info.data.name,this.newZonegroupName=t.zonegroupName,this.zonegroup.endpoints=t.zonegroup_endpoints.toString(),this.zonegroup.placement_targets=t.placementTargets,this.rgwZonegroupService.update(this.realm,this.zonegroup,this.newZonegroupName,t.default_zonegroup,t.master_zonegroup,this.removedZones,this.addedZones).subscribe(()=>{this.notificationService.show(M.k.success,"Zonegroup: '" + t.zonegroupName + "' updated successfully"),this.activeModal.close()},()=>{this.multisiteZonegroupForm.setErrors({cdSubmitButton:!0})})}}addPlacementTarget(){this.placementTargets=this.multisiteZonegroupForm.get("placementTargets");const t=new Xe.d({placement_id:new r.p4("",{validators:[r.kI.required]}),tags:new r.p4(""),storage_class:new r.p4([])});return this.placementTargets.push(t),t}trackByFn(t){return t}removePlacementTarget(t){this.placementTargets=this.multisiteZonegroupForm.get("placementTargets"),this.placementTargets.removeAt(t)}showError(t,o,c,O){return this.multisiteZonegroupForm.controls.placementTargets.controls[t].showError(o,c,O)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(x.Kz),e.Y36(l.p4),e.Y36(_t.K),e.Y36(V.g),e.Y36(r.QS))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-multisite-zonegroup-form"]],decls:49,vars:24,consts:function(){let i,t,o,c,O,H,Q,J,j,oe,Te,Me,Fe,Pe,me,Ge,ye,Le,Ee,Ue,$e,xe,De,ve;return i="" + "\ufffd0\ufffd" + " Zone Group",t="Select Realm",o="-- Select a realm --",c="Zone Group Name",O="Default",H="Master",Q="Endpoints",J="This field is required.",j="The chosen zone group name is already in use.",oe="Zone group doesn't belong to the default realm.",Te="Please consult the " + "\ufffd#3\ufffd" + "documentation" + "\ufffd/#3\ufffd" + " to follow the failover mechanism",Me="You cannot unset the default flag.",Fe="Multiple master zone groups can't be configured. If you want to create a new zone group and make it the master zone group, you must delete the default zone group.",Pe="Please consult the " + "\ufffd#3\ufffd" + "documentation" + "\ufffd/#3\ufffd" + " to follow the failover mechanism",me="You cannot unset the master flag.",Ge="This field is required.",ye="Please enter a valid IP address.",Le="Zones",Ee="Cannot remove master zone.",Ue="Add placement target",$e="Placement Id",xe="Tags",De="Storage Class",ve="This field is required.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","multisiteZonegroupForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","selectedRealm",1,"cd-col-form-label"],t,[1,"cd-col-form-input"],["id","selectedRealm","formControlName","selectedRealm","name","selectedRealm",1,"form-select"],["ngValue",""],o,[3,"value","selected",4,"ngFor","ngForOf"],["for","zonegroupName",1,"cd-col-form-label","required"],c,["type","text","placeholder","Zone group name...","id","zonegroupName","name","zonegroupName","formControlName","zonegroupName",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"custom-control","custom-checkbox"],["id","default_zonegroup","name","default_zonegroup","formControlName","default_zonegroup","type","checkbox",1,"form-check-input"],["for","default_zonegroup",1,"form-check-label"],O,[4,"ngIf"],["id","master_zonegroup","name","master_zonegroup","formControlName","master_zonegroup","type","checkbox",1,"form-check-input"],["for","master_zonegroup",1,"form-check-label"],H,["for","zonegroup_endpoints",1,"cd-col-form-label","required"],Q,["type","text","placeholder","e.g, http://ceph-node-00.com:80","id","zonegroup_endpoints","name","zonegroup_endpoints","formControlName","zonegroup_endpoints",1,"form-control"],["class","form-group row",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[3,"value","selected"],[1,"invalid-feedback"],J,j,oe,Te,[3,"href"],Me,Fe,Pe,me,Ge,ye,["for","zones",1,"cd-col-form-label"],Le,["id","zones",3,"data","options","customBadges"],Ee,["formArrayName","placementTargets"],[4,"ngFor","ngForOf","ngForTrackBy"],["type","button","id","add-plc",1,"btn","btn-light","float-end","my-3",3,"click"],[3,"ngClass"],Ue,[1,"card",3,"formGroup"],[1,"card-header"],["name","remove_placement_target","ngbTooltip","Remove",1,"float-end","clickable",3,"click"],[1,"card-body"],["for","placement_id",1,"cd-col-form-label","required"],$e,["type","text","name","placement_id","id","placement_id","formControlName","placement_id","placeholder","eg. default-placement",1,"form-control"],["for","tags",1,"cd-col-form-label"],xe,["type","text","name","tags","id","tags","formControlName","tags","placeholder","comma separated tags, eg. default-placement, ssd",1,"form-control"],["for","storage_class",1,"cd-col-form-label"],De,["type","text","name","storage_class","id","storage_class","formControlName","storage_class","placeholder","eg. Standard-tier",1,"form-control"],ve]},template:function(t,o){if(1&t&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.BQk(),e.ynx(4,3),e.TgZ(5,"form",4,5)(7,"div",6)(8,"div",7)(9,"label",8),e.SDv(10,9),e.qZA(),e.TgZ(11,"div",10)(12,"select",11)(13,"option",12),e.SDv(14,13),e.qZA(),e.YNc(15,Fa,2,3,"option",14),e.qZA()()(),e.TgZ(16,"div",7)(17,"label",15),e.SDv(18,16),e.qZA(),e.TgZ(19,"div",10),e._UZ(20,"input",17),e.YNc(21,Oa,2,0,"span",18),e.YNc(22,Na,2,0,"span",18),e.TgZ(23,"div",19),e._UZ(24,"input",20),e.TgZ(25,"label",21),e.SDv(26,22),e.qZA(),e.YNc(27,Pa,3,0,"span",23),e.YNc(28,Aa,4,1,"cd-helper",23),e.YNc(29,ba,3,0,"cd-helper",23),e._UZ(30,"br")(31,"input",24),e.TgZ(32,"label",25),e.SDv(33,26),e.qZA(),e.YNc(34,Ia,3,0,"span",23),e.YNc(35,Ga,4,1,"cd-helper",23),e.YNc(36,ya,3,0,"cd-helper",23),e.qZA()()(),e.TgZ(37,"div",7)(38,"label",27),e.SDv(39,28),e.qZA(),e.TgZ(40,"div",10),e._UZ(41,"input",29),e.YNc(42,La,2,0,"span",18),e.YNc(43,Da,2,0,"span",18),e.qZA()(),e.YNc(44,wa,7,4,"div",30),e.YNc(45,xa,9,5,"div",23),e.qZA(),e.TgZ(46,"div",31)(47,"cd-form-button-panel",32),e.NdJ("submitActionEvent",function(){return o.submit()}),e.ALo(48,"titlecase"),e.qZA()()(),e.BQk(),e.qZA()),2&t){const c=e.MAs(6);e.Q6J("modalRef",o.activeModal),e.xp6(3),e.pQV(e.lcZ(3,20,o.action)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.multisiteZonegroupForm),e.xp6(10),e.Q6J("ngForOf",o.realmList),e.xp6(6),e.Q6J("ngIf",o.multisiteZonegroupForm.showError("zonegroupName",c,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteZonegroupForm.showError("zonegroupName",c,"uniqueName")),e.xp6(2),e.uIk("disabled","edit"===o.action||null),e.xp6(3),e.Q6J("ngIf",o.disableDefault&&"create"===o.action),e.xp6(1),e.Q6J("ngIf","edit"===o.action&&!o.info.data.is_default),e.xp6(1),e.Q6J("ngIf","edit"===o.action&&o.info.data.is_default),e.xp6(2),e.uIk("disabled","edit"===o.action||null),e.xp6(3),e.Q6J("ngIf",o.disableMaster&&"create"===o.action),e.xp6(1),e.Q6J("ngIf","edit"===o.action&&!o.info.data.is_master),e.xp6(1),e.Q6J("ngIf","edit"===o.action&&o.info.data.is_master),e.xp6(6),e.Q6J("ngIf",o.multisiteZonegroupForm.showError("zonegroup_endpoints",c,"required")),e.xp6(1),e.Q6J("ngIf",o.multisiteZonegroupForm.showError("zonegroup_endpoints",c,"endpoint")),e.xp6(1),e.Q6J("ngIf","edit"===o.action),e.xp6(1),e.Q6J("ngIf","edit"===o.action),e.xp6(2),e.Q6J("form",o.multisiteZonegroupForm)("submitText",e.lcZ(48,22,o.action)+" Zone Group")}},dependencies:[g.mk,g.sg,g.O5,fe.S,Gn.m,Ie.z,we.p,Oe.o,Ae.b,We.P,C.V,r._Y,r.YN,r.Kr,r.Fj,r.Wl,r.EJ,r.JJ,r.JL,r.sg,r.u,r.CE,x._L,g.rS,Ca.f]}),n})();var ka=d(61717),Ba=d(36848),za=d(7273);const qa=["tree"];function Ha(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"cd-alert-panel",17),e.tHW(1,18),e.TgZ(2,"button",19),e.NdJ("click",function(){e.CHM(t);const c=e.oxw();return e.KtG(c.enableRgwModule())}),e.qZA(),e.N_p(),e.qZA()}}function Xa(n,i){1&n&&(e.TgZ(0,"cd-alert-panel",20),e.tHW(1,21),e._UZ(2,"a",22),e.N_p(),e.qZA())}function Ka(n,i){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"cd-table-actions",23),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("permission",t.permission)("btnColor","light")("selection",t.selection)("tableActions",t.migrateTableAction)}}const Qa=function(n,i,t){return[n,i,t]};function Ya(n,i){if(1&n&&e._UZ(0,"i",24),2&n){const t=e.oxw();e.Q6J("ngClass",e.kEZ(1,Qa,t.icons.large,t.icons.spinner,t.icons.spin))}}function Ja(n,i){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"i",30),e.qZA()),2&n){const t=e.oxw(2).$implicit,o=e.oxw();e.xp6(1),e.Q6J("title",t.data.warning_message)("ngClass",o.icons.danger)}}function Va(n,i){if(1&n&&(e.TgZ(0,"span",29),e.YNc(1,Ja,2,2,"span",5),e._UZ(2,"i",24),e._uU(3),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",t.data.show_warning),e.xp6(1),e.Q6J("ngClass",t.data.icon),e.xp6(1),e.hij(" ",t.data.name," ")}}function ja(n,i){1&n&&(e.TgZ(0,"span",31),e._uU(1," default "),e.qZA())}function el(n,i){1&n&&(e.TgZ(0,"span",32),e._uU(1," master "),e.qZA())}function tl(n,i){1&n&&(e.TgZ(0,"span",32),e._uU(1," secondary-zone "),e.qZA())}const yn=function(n){return[n]};function nl(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"div",33)(1,"div",34)(2,"button",35),e.NdJ("click",function(){e.CHM(t);const c=e.oxw().$implicit,O=e.oxw();return e.KtG(O.openModal(c,!0))}),e._UZ(3,"i",24),e.qZA()(),e.TgZ(4,"div",34)(5,"button",36),e.NdJ("click",function(){e.CHM(t);const c=e.oxw().$implicit,O=e.oxw();return e.KtG(O.delete(c))}),e._UZ(6,"i",24),e.qZA()()()}if(2&n){const t=e.oxw().$implicit,o=e.oxw();e.xp6(1),e.Q6J("title",o.editTitle),e.xp6(1),e.Q6J("disabled",o.getDisable()||t.data.secondary_zone),e.xp6(1),e.Q6J("ngClass",e.VKq(6,yn,o.icons.edit)),e.xp6(1),e.Q6J("title",o.deleteTitle),e.xp6(1),e.Q6J("disabled",o.isDeleteDisabled(t)||t.data.secondary_zone),e.xp6(1),e.Q6J("ngClass",e.VKq(8,yn,o.icons.destroy))}}function ol(n,i){if(1&n&&(e.YNc(0,Va,4,3,"span",25),e.YNc(1,ja,2,0,"span",26),e.YNc(2,el,2,0,"span",27),e.YNc(3,tl,2,0,"span",27),e.YNc(4,nl,7,10,"div",28)),2&n){const t=i.$implicit;e.Q6J("ngIf",t.data.name),e.xp6(1),e.Q6J("ngIf",t.data.is_default),e.xp6(1),e.Q6J("ngIf",t.data.is_master),e.xp6(1),e.Q6J("ngIf",t.data.secondary_zone),e.xp6(1),e.Q6J("ngIf",t.isFocused)}}function il(n,i){if(1&n&&(e.TgZ(0,"div",37)(1,"legend"),e._uU(2),e.qZA(),e.TgZ(3,"div"),e._UZ(4,"cd-table-key-value",38),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.Oqu(t.metadataTitle),e.xp6(2),e.Q6J("data",t.metadata)}}class rt{constructor(i,t,o,c,O,H,Q,J,j,oe,Te,Me){this.modalService=i,this.timerService=t,this.authStorageService=o,this.actionLabels=c,this.timerServiceVariable=O,this.router=H,this.rgwRealmService=Q,this.rgwZonegroupService=J,this.rgwZoneService=j,this.rgwDaemonService=oe,this.mgrModuleService=Te,this.notificationService=Me,this.sub=new An.w,this.messages={noDefaultRealm:"Please create a default realm first to enable this feature",noMasterZone:"Please create a master zone for each zone group to enable this feature",noRealmExists:"No realm exists",disableExport:"Please create master zone group and master zone for each of the realms"},this.icons=$.P,this.selection=new Vt.r,this.loadingIndicator=!0,this.nodes=[],this.treeOptions={useVirtualScroll:!0,nodeHeight:22,levelPadding:20,actionMapping:{mouse:{click:this.onNodeSelected.bind(this)}}},this.realms=[],this.zonegroups=[],this.zones=[],this.realmIds=[],this.zoneIds=[],this.defaultRealmId="",this.defaultZonegroupId="",this.defaultZoneId="",this.multisiteInfo=[],this.defaultsInfo=[],this.showMigrateAction=!1,this.editTitle="Edit",this.deleteTitle="Delete",this.disableExport=!0,this.restartGatewayMessage=!1,this.rgwModuleData=[],this.permission=this.authStorageService.getPermissions().rgw}openModal(i,t=!1){const o=t?i.data.type:i;this.bsModalRef=this.modalService.show("realm"===o?ta:"zonegroup"===o?Za:Sa,{resource:o,action:t?"edit":"create",info:i,defaultsInfo:this.defaultsInfo,multisiteInfo:this.multisiteInfo},{size:"lg"})}openMigrateModal(){this.bsModalRef=this.modalService.show(os,{multisiteInfo:this.multisiteInfo},{size:"lg"})}openImportModal(){this.bsModalRef=this.modalService.show(Ks,{multisiteInfo:this.multisiteInfo},{size:"lg"})}openExportModal(){this.bsModalRef=this.modalService.show(Fs,{defaultsInfo:this.defaultsInfo,multisiteInfo:this.multisiteInfo},{size:"lg"})}getDisableExport(){return this.realms.forEach(i=>{this.zonegroups.forEach(t=>{i.id===t.realm_id&&t.is_master&&""!==t.master_zone&&(this.disableExport=!1)})}),!this.rgwModuleStatus||(this.realms.length<1?this.messages.noRealmExists:!!this.disableExport&&this.messages.disableExport)}getDisableImport(){return!this.rgwModuleStatus}ngOnInit(){const c={permission:"read",icon:$.P.exchange,name:this.actionLabels.MIGRATE,click:()=>this.openMigrateModal()},O={permission:"read",icon:$.P.download,name:this.actionLabels.IMPORT,click:()=>this.openImportModal(),disable:()=>this.getDisableImport()},H={permission:"read",icon:$.P.upload,name:this.actionLabels.EXPORT,click:()=>this.openExportModal(),disable:()=>this.getDisableExport()};this.createTableActions=[{permission:"create",icon:$.P.add,name:this.actionLabels.CREATE+" Realm",click:()=>this.openModal("realm")},{permission:"create",icon:$.P.add,name:this.actionLabels.CREATE+" Zone Group",click:()=>this.openModal("zonegroup"),disable:()=>this.getDisable()},{permission:"create",icon:$.P.add,name:this.actionLabels.CREATE+" Zone",click:()=>this.openModal("zone")}],this.migrateTableAction=[c],this.importAction=[O],this.exportAction=[H];const Q=[this.rgwRealmService.getAllRealmsInfo(),this.rgwZonegroupService.getAllZonegroupsInfo(),this.rgwZoneService.getAllZonesInfo()];this.sub=this.timerService.get(()=>(0,k.D)(Q),2*this.timerServiceVariable.TIMER_SERVICE_PERIOD).subscribe(J=>{this.multisiteInfo=J,this.loadingIndicator=!1,this.nodes=this.abstractTreeData(J)},J=>{}),this.mgrModuleService.list().subscribe(J=>{this.rgwModuleData=J.filter(j=>"rgw"===j.name),this.rgwModuleData.length>0&&(this.rgwModuleStatus=this.rgwModuleData[0].enabled)})}ngOnDestroy(){this.sub.unsubscribe()}abstractTreeData(i){let t=[],o={},c={},O=[],H={},Q=[];if(this.realms=i[0].realms,this.zonegroups=i[1].zonegroups,this.zones=i[2].zones,this.defaultRealmId=i[0].default_realm,this.defaultZonegroupId=i[1].default_zonegroup,this.defaultZoneId=i[2].default_zone,this.defaultsInfo=this.getDefaultsEntities(this.defaultRealmId,this.defaultZonegroupId,this.defaultZoneId),this.realms.length>0)for(const J of this.realms){const j=this.rgwRealmService.getRealmTree(J,this.defaultRealmId);o=j.nodes,this.realmIds=this.realmIds.concat(j.realmIds);for(const oe of this.zonegroups)if(oe.realm_id===J.id){c=this.rgwZonegroupService.getZonegroupTree(oe,this.defaultZonegroupId,J);for(const Te of oe.zones){const Me=this.rgwZoneService.getZoneTree(Te,this.defaultZoneId,this.zones,oe,J);H=Me.nodes,this.zoneIds=this.zoneIds.concat(Me.zoneIds),Q.push(H),H={}}c.children=Q,Q=[],O.push(c),c={}}o.children=O,t.push(o),c={},H={},o={},O=[],Q=[]}if(this.zonegroups.length>0)for(const J of this.zonegroups)if(!this.realmIds.includes(J.realm_id)){o=this.rgwZonegroupService.getZonegroupTree(J,this.defaultZonegroupId);for(const j of J.zones){const oe=this.rgwZoneService.getZoneTree(j,this.defaultZoneId,this.zones,J);c=oe.nodes,this.zoneIds=this.zoneIds.concat(oe.zoneIds),O.push(c),c={}}o.children=O,t.push(o),c={},o={},O=[]}if(this.zones.length>0)for(const J of this.zones)this.zoneIds.length>0&&!this.zoneIds.includes(J.id)&&(o=this.rgwZoneService.getZoneTree(J,this.defaultZoneId,this.zones).nodes,t.push(o),o={});return this.realms.length<1&&this.zonegroups.length<1&&this.zones.length<1?[{name:"No nodes!"}]:(this.realmIds=[],this.zoneIds=[],this.getDisableMigrate(),this.rgwDaemonService.list().subscribe(J=>{const j=J.map(oe=>oe.realm_name);""!=this.defaultRealmId&&""!=this.defaultZonegroupId&&""!=this.defaultZoneId&&j.includes("")&&(this.restartGatewayMessage=!0)}),t)}getDefaultsEntities(i,t,o){const c=this.realms.find(oe=>oe.id===i),O=this.zonegroups.find(oe=>oe.id===t),H=this.zones.find(oe=>oe.id===o);return{defaultRealmName:void 0!==c?c.name:null,defaultZonegroupName:void 0!==O?O.name:null,defaultZoneName:void 0!==H?H.name:null}}onNodeSelected(i,t){sn.iM.ACTIVATE(i,t,!0),this.metadataTitle=t.data.name,this.metadata=t.data.info,t.data.show=!0}onUpdateData(){this.tree.treeModel.expandAll()}getDisable(){let i=!0;return""===this.defaultRealmId?this.messages.noDefaultRealm:(this.zonegroups.forEach(t=>{v().isEmpty(t.master_zone)&&(i=!1)}),i?(this.editTitle="Edit",!1):(this.editTitle="Please create a master zone for each existing zonegroup to enable this feature",this.messages.noMasterZone))}getDisableMigrate(){return this.showMigrateAction=0===this.realms.length&&1===this.zonegroups.length&&"default"===this.zonegroups[0].name&&1===this.zones.length&&"default"===this.zones[0].name,this.showMigrateAction}isDeleteDisabled(i){let t=!1,o=0;if("realm"===i.data.type&&i.data.is_default&&this.realms.length<2&&(t=!0),"zonegroup"===i.data.type)if(this.zonegroups.length<2)this.deleteTitle="You can not delete the only zonegroup available",t=!0;else if(i.data.is_default)this.deleteTitle="You can not delete the default zonegroup",t=!0;else if(i.data.is_master){for(let c of this.zonegroups)if(!0===c.is_master&&(o++,o>1))break;o<2&&(this.deleteTitle="You can not delete the only master zonegroup available",t=!0)}return"zone"===i.data.type&&(this.zones.length<2?(this.deleteTitle="You can not delete the only zone available",t=!0):i.data.is_default?(this.deleteTitle="You can not delete the default zone",t=!0):i.data.is_master&&i.data.zone_zonegroup.zones.length<2&&(this.deleteTitle="You can not delete the master zone as there are no more zones in this zonegroup",t=!0)),t||(this.deleteTitle="Delete"),t}delete(i){"realm"===i.data.type?this.modalRef=this.modalService.show(tn.M,{itemDescription:"" + i.data.type + " " + i.data.name + "",itemNames:[`${i.data.name}`],submitAction:()=>{this.rgwRealmService.delete(i.data.name).subscribe(()=>{this.modalRef.close(),this.notificationService.show(M.k.success,"Realm: '" + i.data.name + "' deleted successfully")},()=>{this.modalRef.componentInstance.stopLoadingSpinner()})}}):"zonegroup"===i.data.type?this.modalRef=this.modalService.show(Ts,{zonegroup:i.data}):"zone"===i.data.type&&(this.modalRef=this.modalService.show(ss,{zone:i.data}))}enableRgwModule(){let i;const t=()=>{(0,Hr.H)(2e3).subscribe(()=>{this.mgrModuleService.list().subscribe(()=>{this.notificationService.suspendToasties(!1),this.blockUI.stop(),this.notificationService.show(M.k.success,"Enabled RGW Module"),this.router.navigateByUrl("/",{skipLocationChange:!0}).then(()=>{this.router.navigate(["/rgw/multisite"])})},()=>{t()})})};this.rgwModuleStatus||(i=this.mgrModuleService.enable("rgw")),i.subscribe(()=>{},()=>{this.notificationService.suspendToasties(!0),this.blockUI.start("Reconnecting, please wait ..."),t()})}}rt.\u0275fac=function(i){return new(i||rt)(e.Y36(Qe.Z),e.Y36(Ba.f),e.Y36(nt.j),e.Y36(l.p4),e.Y36(l.eu),e.Y36(A.F0),e.Y36(ot.y),e.Y36(_t.K),e.Y36(it.g),e.Y36(u.b),e.Y36(za.N),e.Y36(V.g))},rt.\u0275cmp=e.Xpm({type:rt,selectors:[["cd-rgw-multisite-details"]],viewQuery:function(i,t){if(1&i&&e.Gf(qa,5),2&i){let o;e.iGM(o=e.CRH())&&(t.tree=o.first)}},decls:21,vars:18,consts:function(){let n,i,t;return n="Topology Viewer",i="In order to access the import/export feature, the rgw module must be enabled " + "\ufffd#2\ufffd" + "Enable" + "\ufffd/#2\ufffd" + "",t="Please restart all Ceph Object Gateway instances in all zones to ensure consistent multisite configuration updates. " + "\ufffd#2\ufffd" + " Cluster->Services" + "\ufffd/#2\ufffd" + "",[[1,"row"],[1,"col-sm-12","col-lg-12"],["type","info","spacingClass","mb-3","class","d-flex align-items-center",4,"ngIf"],["type","warning","spacingClass","mb-3",4,"ngIf"],[1,"btn-group","mb-4","me-2",3,"permission","selection","tableActions"],[4,"ngIf"],[1,"btn-group","mb-4","me-2",3,"permission","btnColor","selection","tableActions"],[1,"card"],[1,"card-header"],n,[1,"card-body"],[1,"col-sm-6","col-lg-6","tree-container"],[3,"ngClass",4,"ngIf"],[3,"nodes","options","updateData"],["tree",""],["treeNodeTemplate",""],["class","col-sm-6 col-lg-6 metadata",4,"ngIf"],["type","info","spacingClass","mb-3",1,"d-flex","align-items-center"],i,["type","button",1,"btn","btn-light","mx-2",3,"click"],["type","warning","spacingClass","mb-3"],t,["routerLink","/services",1,"text-decoration-underline"],[1,"btn-group","mb-4","me-2","secondary",3,"permission","btnColor","selection","tableActions"],[3,"ngClass"],["class","me-3",4,"ngIf"],["class","badge badge-success me-2",4,"ngIf"],["class","badge badge-warning me-2",4,"ngIf"],["class","btn-group align-inline-btns","role","group",4,"ngIf"],[1,"me-3"],[1,"text-danger",3,"title","ngClass"],[1,"badge","badge-success","me-2"],[1,"badge","badge-warning","me-2"],["role","group",1,"btn-group","align-inline-btns"],[3,"title"],["type","button",1,"btn","btn-light","dropdown-toggle-split","ms-1",3,"disabled","click"],["type","button",1,"btn","btn-light","ms-1",3,"disabled","click"],[1,"col-sm-6","col-lg-6","metadata"],["cdTableDetail","",3,"data"]]},template:function(i,t){1&i&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div"),e.YNc(3,Ha,3,0,"cd-alert-panel",2),e.YNc(4,Xa,3,0,"cd-alert-panel",3),e._UZ(5,"cd-table-actions",4),e.YNc(6,Ka,2,4,"span",5),e._UZ(7,"cd-table-actions",6)(8,"cd-table-actions",6),e.qZA(),e.TgZ(9,"div",7)(10,"div",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10)(13,"div",0)(14,"div",11),e.YNc(15,Ya,1,5,"i",12),e.TgZ(16,"tree-root",13,14),e.NdJ("updateData",function(){return t.onUpdateData()}),e.YNc(18,ol,5,5,"ng-template",null,15,e.W1O),e.qZA()(),e.YNc(20,il,5,2,"div",16),e.qZA()()()()()),2&i&&(e.xp6(3),e.Q6J("ngIf",!t.rgwModuleStatus),e.xp6(1),e.Q6J("ngIf",t.restartGatewayMessage),e.xp6(1),e.Q6J("permission",t.permission)("selection",t.selection)("tableActions",t.createTableActions),e.xp6(1),e.Q6J("ngIf",t.showMigrateAction),e.xp6(1),e.Q6J("permission",t.permission)("btnColor","light")("selection",t.selection)("tableActions",t.importAction),e.xp6(1),e.Q6J("permission",t.permission)("btnColor","light")("selection",t.selection)("tableActions",t.exportAction),e.xp6(7),e.Q6J("ngIf",t.loadingIndicator),e.xp6(1),e.Q6J("nodes",t.nodes)("options",t.treeOptions),e.xp6(4),e.Q6J("ngIf",t.metadata))},dependencies:[g.mk,g.O5,Ve.G,Rn.b,on.K,Oe.o,A.rH,sn.qr],styles:[".tree-container[_ngcontent-%COMP%]{height:calc(100vh - 200px)}.align-inline-btns[_ngcontent-%COMP%]{margin-left:5em}.btn[_ngcontent-%COMP%]:disabled{pointer-events:none}"]}),(0,G.gn)([(0,ka.bH)(),(0,G.w6)("design:type",Object)],rt.prototype,"blockUI",void 0);var _l=d(40267),rl=d(7357),sl=d(11656),al=d(4167),ll=d(43190),cl=d(68307),ul=d(47349),dl=d(79241),fl=d(98677),pl=d(30490),gl=d(9219),Tl=d(17401),El=d(9024),Rl=d(54740);const ct=function(n,i){return[n,i]};let ml=(()=>{class n{constructor(){this.icons=$.P}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-sync-primary-zone"]],inputs:{realm:"realm",zonegroup:"zonegroup",zone:"zone"},decls:17,vars:23,consts:[[1,"pb-5"],[1,"pt-2",3,"ngClass"],[1,"badge","badge-info","mt-2"],[1,"mt-2",3,"ngClass"]],template:function(t,o){1&t&&(e.TgZ(0,"ul",0)(1,"li"),e._UZ(2,"i",1),e.qZA(),e.TgZ(3,"li",2),e._uU(4),e.qZA(),e.TgZ(5,"li"),e._UZ(6,"i",3),e.qZA(),e.TgZ(7,"li"),e._UZ(8,"i",3),e.qZA(),e.TgZ(9,"p",2),e._uU(10),e.qZA(),e.TgZ(11,"li"),e._UZ(12,"i",3),e.qZA(),e.TgZ(13,"li"),e._UZ(14,"i",3),e.qZA(),e.TgZ(15,"li",2),e._uU(16),e.qZA()()),2&t&&(e.xp6(2),e.Q6J("ngClass",e.WLB(8,ct,o.icons.large2x,o.icons.reweight)),e.xp6(2),e.Oqu(o.realm),e.xp6(2),e.Q6J("ngClass",e.WLB(11,ct,o.icons.large2x,o.icons.down)),e.xp6(2),e.Q6J("ngClass",e.WLB(14,ct,o.icons.large2x,o.icons.cubes)),e.xp6(2),e.Oqu(o.zonegroup),e.xp6(2),e.Q6J("ngClass",e.WLB(17,ct,o.icons.large2x,o.icons.down)),e.xp6(2),e.Q6J("ngClass",e.WLB(20,ct,o.icons.large2x,o.icons.deploy)),e.xp6(2),e.Oqu(o.zone))},dependencies:[g.mk],styles:["ul[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column;list-style-type:none}.align-primary-zone[_ngcontent-%COMP%]{padding-left:4em}"]}),n})();var Ln=d(90068);function hl(n,i){1&n&&(e.TgZ(0,"span")(1,"ul",1)(2,"li")(3,"b"),e._uU(4,"Status:"),e.qZA()(),e.TgZ(5,"li"),e._uU(6,"No Sync"),e.qZA()()())}function Ml(n,i){if(1&n&&(e.TgZ(0,"span")(1,"b"),e._uU(2),e.ALo(3,"titlecase"),e.qZA(),e._uU(4),e.ALo(5,"titlecase"),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(2),e.Oqu(e.lcZ(3,2,t.split(":")[0])),e.xp6(2),e.hij(":",e.lcZ(5,4,t.split(":")[1])," ")}}function Sl(n,i){if(1&n&&(e.TgZ(0,"span")(1,"b"),e._uU(2),e.ALo(3,"titlecase"),e.qZA()()),2&n){const t=e.oxw(2).$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,t))}}function Cl(n,i){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,Ml,6,6,"span",0),e.YNc(2,Sl,4,3,"span",0),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",null==t?null:t.includes(":")),e.xp6(1),e.Q6J("ngIf",!(null!=t&&t.includes(":")))}}function Fl(n,i){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,t)," ")}}function Ol(n,i){if(1&n&&(e.TgZ(0,"li"),e.YNc(1,Cl,3,2,"span",0),e.YNc(2,Fl,3,3,"span",0),e.qZA()),2&n){const t=i.$implicit,o=e.oxw(3);e.xp6(1),e.Q6J("ngIf",!(null!=t&&t.includes(o.metadataSyncInfo.syncstatus)||null!=t&&t.includes("failed")||null!=t&&t.includes("error"))),e.xp6(1),e.Q6J("ngIf",(null==t?null:t.includes("failed"))||(null==t?null:t.includes("error")))}}function Nl(n,i){if(1&n&&(e.TgZ(0,"ul",8)(1,"li")(2,"h5")(3,"b"),e._uU(4,"Metadata Sync Status:"),e.qZA()()(),e.YNc(5,Ol,3,2,"li",9),e.qZA()),2&n){const t=e.oxw(2);e.xp6(5),e.Q6J("ngForOf",t.metadataSyncInfo.fullSyncStatus)}}function Pl(n,i){1&n&&(e.TgZ(0,"li",10),e._uU(1,"Up to Date"),e.qZA())}function Al(n,i){if(1&n&&(e.TgZ(0,"a",12),e.SDv(1,13),e.ALo(2,"titlecase"),e.qZA()),2&n){e.oxw(2);const t=e.MAs(2),o=e.oxw();e.Q6J("ngbPopover",t),e.xp6(2),e.pQV(e.lcZ(2,2,o.metadataSyncInfo.syncstatus)),e.QtT(1)}}function bl(n,i){if(1&n&&(e.TgZ(0,"a",12),e.SDv(1,14),e.qZA()),2&n){e.oxw(2);const t=e.MAs(2);e.Q6J("ngbPopover",t)}}function Il(n,i){if(1&n&&(e.YNc(0,Al,3,4,"a",11),e.YNc(1,bl,2,1,"a",11)),2&n){const t=e.oxw(2);e.Q6J("ngIf","Not Syncing From Zone"!==t.metadataSyncInfo.syncstatus),e.xp6(1),e.Q6J("ngIf","Not Syncing From Zone"===t.metadataSyncInfo.syncstatus)}}const Gl=function(n){return[n]};function yl(n,i){if(1&n&&(e.TgZ(0,"li"),e._UZ(1,"i",15),e.TgZ(2,"a",16),e.SDv(3,17),e.qZA()()),2&n){e.oxw();const t=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(2,Gl,o.icons.danger)),e.xp6(1),e.Q6J("ngbPopover",t)}}function Ll(n,i){if(1&n&&(e.TgZ(0,"li",18),e._uU(1),e.ALo(2,"relativeDate"),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Oqu(e.lcZ(2,1,t.metadataSyncInfo.timestamp))}}function Dl(n,i){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,Nl,6,1,"ng-template",null,2,e.W1O),e.TgZ(3,"ul",1),e.YNc(4,Pl,2,0,"ng-template",null,3,e.W1O),e.YNc(6,Il,2,2,"ng-template",null,4,e.W1O),e.TgZ(8,"li")(9,"b"),e._uU(10,"Status:"),e.qZA()(),e.YNc(11,yl,4,4,"li",5),e.TgZ(12,"li",6),e._uU(13," Last Synced: "),e.qZA(),e.YNc(14,Ll,3,3,"li",7),e.qZA()()),2&n){const t=e.MAs(5),o=e.MAs(7),c=e.oxw();e.xp6(11),e.Q6J("ngIf",(null==c.metadataSyncInfo.syncstatus?null:c.metadataSyncInfo.syncstatus.includes("failed"))||(null==c.metadataSyncInfo.syncstatus?null:c.metadataSyncInfo.syncstatus.includes("error")))("ngIfElse",o),e.xp6(3),e.Q6J("ngIf",c.metadataSyncInfo.timestamp)("ngIfElse",t)}}let vl=(()=>{class n{constructor(){this.icons=$.P,this.metadataSyncInfo={}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-sync-metadata-info"]],inputs:{metadataSyncInfo:"metadataSyncInfo"},decls:2,vars:2,consts:function(){let i,t,o;return i="" + "\ufffd0\ufffd" + "",t="Not Syncing",o="Error",[[4,"ngIf"],[1,"me-2"],["metadataSyncPopover",""],["upToDateTpl",""],["showMetadataStatus",""],[4,"ngIf","ngIfElse"],[1,"mt-4","fw-bold"],["class","badge badge-info",4,"ngIf","ngIfElse"],[1,"text-center"],[4,"ngFor","ngForOf"],[1,"badge","badge-success"],["class","lead text-primary","placement","top","popoverClass","rgw-overview-card-popover",3,"ngbPopover",4,"ngIf"],["placement","top","popoverClass","rgw-overview-card-popover",1,"lead","text-primary",3,"ngbPopover"],i,t,[1,"text-danger",3,"ngClass"],["placement","top","popoverClass","rgw-overview-card-popover",1,"lead","text-danger",3,"ngbPopover"],o,[1,"badge","badge-info"]]},template:function(t,o){1&t&&(e.YNc(0,hl,7,0,"span",0),e.YNc(1,Dl,15,4,"span",0)),2&t&&(e.Q6J("ngIf","no sync (zone is master)"===o.metadataSyncInfo),e.xp6(1),e.Q6J("ngIf","no sync (zone is master)"!==o.metadataSyncInfo))},dependencies:[g.mk,g.sg,g.O5,x.o8,g.rS,Ln.h],styles:["ul[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column;list-style-type:none}"]}),n})();function wl(n,i){if(1&n&&(e.TgZ(0,"span")(1,"b"),e._uU(2),e.ALo(3,"titlecase"),e.qZA(),e._uU(4),e.ALo(5,"titlecase"),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(2),e.Oqu(e.lcZ(3,2,t.split(": ")[0])),e.xp6(2),e.hij(":",e.lcZ(5,4,t.split(": ")[1])," ")}}function Wl(n,i){if(1&n&&(e.TgZ(0,"span")(1,"b"),e._uU(2),e.ALo(3,"titlecase"),e.qZA()()),2&n){const t=e.oxw(2).$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,t))}}function Ul(n,i){if(1&n&&(e.TgZ(0,"span"),e.YNc(1,wl,6,6,"span",9),e.YNc(2,Wl,4,3,"span",9),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("ngIf",null==t?null:t.includes(":")),e.xp6(1),e.Q6J("ngIf",!(null!=t&&t.includes(":")))}}function $l(n,i){if(1&n&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&n){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,t)," ")}}function xl(n,i){if(1&n&&(e.TgZ(0,"li"),e.YNc(1,Ul,3,2,"span",9),e.YNc(2,$l,3,3,"span",9),e.qZA()),2&n){const t=i.$implicit,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!(null!=t&&t.includes(o.zone.name)||null!=t&&t.includes(o.zone.syncstatus)||null!=t&&t.includes("failed")||null!=t&&t.includes("error"))),e.xp6(1),e.Q6J("ngIf",(null==t?null:t.includes("failed"))||(null==t?null:t.includes("error")))}}function Zl(n,i){if(1&n&&(e.TgZ(0,"ul",7)(1,"li")(2,"h5")(3,"b"),e._uU(4,"Sync Status:"),e.qZA()()(),e.YNc(5,xl,3,2,"li",8),e.qZA()),2&n){const t=e.oxw();e.xp6(5),e.Q6J("ngForOf",t.zone.fullSyncStatus)}}function kl(n,i){1&n&&(e.TgZ(0,"li",10),e._uU(1,"Up to Date"),e.qZA())}function Bl(n,i){if(1&n&&(e.TgZ(0,"a",12),e.SDv(1,13),e.ALo(2,"titlecase"),e.qZA()),2&n){const t=e.oxw(2),o=e.MAs(1);e.Q6J("ngbPopover",o),e.xp6(2),e.pQV(e.lcZ(2,2,t.zone.syncstatus)),e.QtT(1)}}function zl(n,i){if(1&n&&(e.TgZ(0,"a",12),e.SDv(1,14),e.qZA()),2&n){e.oxw(2);const t=e.MAs(1);e.Q6J("ngbPopover",t)}}function ql(n,i){if(1&n&&(e.YNc(0,Bl,3,4,"a",11),e.YNc(1,zl,2,1,"a",11)),2&n){const t=e.oxw();e.Q6J("ngIf","Not Syncing From Zone"!==t.zone.syncstatus),e.xp6(1),e.Q6J("ngIf","Not Syncing From Zone"===t.zone.syncstatus)}}const Hl=function(n){return[n]};function Xl(n,i){if(1&n&&(e.TgZ(0,"li"),e._UZ(1,"i",15),e.TgZ(2,"a",16),e.SDv(3,17),e.qZA()()),2&n){const t=e.oxw(),o=e.MAs(1);e.xp6(1),e.Q6J("ngClass",e.VKq(2,Hl,t.icons.danger)),e.xp6(1),e.Q6J("ngbPopover",o)}}function Kl(n,i){if(1&n&&(e.TgZ(0,"li",18),e._uU(1),e.ALo(2,"relativeDate"),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(e.lcZ(2,1,t.zone.timestamp))}}let Ql=(()=>{class n{constructor(){this.icons=$.P,this.zone={}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-sync-data-info"]],inputs:{zone:"zone"},decls:14,vars:4,consts:function(){let i,t,o;return i="" + "\ufffd0\ufffd" + "",t="Not Syncing",o="Error",[["syncPopover",""],[1,"me-2"],["upToDateTpl",""],["showStatus",""],[4,"ngIf","ngIfElse"],[1,"mt-4","fw-bold"],["class","badge badge-info",4,"ngIf","ngIfElse"],[1,"text-center"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"badge","badge-success"],["class","lead text-primary","placement","top","popoverClass","rgw-overview-card-popover",3,"ngbPopover",4,"ngIf"],["placement","top","popoverClass","rgw-overview-card-popover",1,"lead","text-primary",3,"ngbPopover"],i,t,[1,"text-danger",3,"ngClass"],["placement","top","popoverClass","rgw-overview-card-popover",1,"lead","text-danger",3,"ngbPopover"],o,[1,"badge","badge-info"]]},template:function(t,o){if(1&t&&(e.YNc(0,Zl,6,1,"ng-template",null,0,e.W1O),e.TgZ(2,"ul",1),e.YNc(3,kl,2,0,"ng-template",null,2,e.W1O),e.YNc(5,ql,2,2,"ng-template",null,3,e.W1O),e.TgZ(7,"li")(8,"b"),e._uU(9,"Status:"),e.qZA()(),e.YNc(10,Xl,4,4,"li",4),e.TgZ(11,"li",5),e._uU(12," Last Synced: "),e.qZA(),e.YNc(13,Kl,3,3,"li",6),e.qZA()),2&t){const c=e.MAs(4),O=e.MAs(6);e.xp6(10),e.Q6J("ngIf",(null==o.zone.syncstatus?null:o.zone.syncstatus.includes("failed"))||(null==o.zone.syncstatus?null:o.zone.syncstatus.includes("error")))("ngIfElse",O),e.xp6(3),e.Q6J("ngIf",o.zone.timestamp)("ngIfElse",c)}},dependencies:[g.mk,g.sg,g.O5,x.o8,g.rS,Ln.h],styles:["ul[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column;list-style-type:none}"]}),n})();function Yl(n,i){if(1&n&&e._UZ(0,"cd-card-row",25),2&n){const t=e.oxw();e.Q6J("data",t.rgwDaemonCount)}}function Jl(n,i){if(1&n&&e._UZ(0,"cd-card-row",26),2&n){const t=e.oxw();e.Q6J("data",t.rgwRealmCount)}}function Vl(n,i){if(1&n&&e._UZ(0,"cd-card-row",27),2&n){const t=e.oxw();e.Q6J("data",t.rgwZonegroupCount)}}function jl(n,i){if(1&n&&e._UZ(0,"cd-card-row",28),2&n){const t=e.oxw();e.Q6J("data",t.rgwZoneCount)}}function ec(n,i){if(1&n&&e._UZ(0,"cd-card-row",29),2&n){const t=e.oxw();e.Q6J("data",t.rgwBucketCount)}}function tc(n,i){if(1&n&&e._UZ(0,"cd-card-row",30),2&n){const t=e.oxw();e.Q6J("data",t.UserCount)}}function nc(n,i){if(1&n&&e._UZ(0,"cd-card-row",31),2&n){const t=e.oxw();e.Q6J("data",t.objectCount)}}function oc(n,i){1&n&&(e.TgZ(0,"span",32)(1,"cd-alert-panel",33),e.tHW(2,34),e._UZ(3,"cd-doc",35),e.N_p(),e.qZA()())}const ln=function(n,i,t){return[n,i,t]};function ic(n,i){if(1&n&&(e.TgZ(0,"span",36),e._UZ(1,"i",37),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngClass",e.kEZ(1,ln,t.icons.large3x,t.icons.spinner,t.icons.spin))}}function _c(n,i){if(1&n&&(e.TgZ(0,"span",36),e._UZ(1,"i",37),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("ngClass",e.kEZ(1,ln,t.icons.large3x,t.icons.spinner,t.icons.spin))}}function rc(n,i){if(1&n&&(e.TgZ(0,"span",36),e._UZ(1,"cd-rgw-sync-primary-zone",43),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("realm",t.realm)("zonegroup",t.zonegroup)("zone",t.zone)}}function sc(n,i){if(1&n&&(e.TgZ(0,"span",36),e._UZ(1,"i",37),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("ngClass",e.kEZ(1,ln,t.icons.large3x,t.icons.spinner,t.icons.spin))}}function ac(n,i){if(1&n&&(e.TgZ(0,"span",51),e._UZ(1,"cd-rgw-sync-metadata-info",52),e.qZA()),2&n){const t=e.oxw(6);e.xp6(1),e.Q6J("metadataSyncInfo",t.metadataSyncInfo)}}function lc(n,i){if(1&n&&(e.TgZ(0,"span",53),e._UZ(1,"cd-rgw-sync-data-info",54),e.qZA()),2&n){const t=e.oxw(2).$implicit;e.xp6(1),e.Q6J("zone",t)}}const cc=function(n){return{"border-left":n}};function uc(n,i){if(1&n&&(e.TgZ(0,"cd-card",48),e.YNc(1,ac,2,1,"span",49),e.YNc(2,lc,2,1,"span",50),e.qZA()),2&n){const t=i.$implicit;e.Q6J("cardTitle",t)("ngClass",e.VKq(6,cc,"Data Sync"===t))("alignItemsCenter",!0)("justifyContentCenter",!0),e.xp6(1),e.Q6J("ngIf","Metadata Sync"===t),e.xp6(1),e.Q6J("ngIf","Data Sync"===t)}}function dc(n,i){if(1&n&&(e.TgZ(0,"cd-card",45)(1,"div",46),e.YNc(2,uc,3,8,"cd-card",47),e.qZA()()),2&n){const t=i.$implicit,o=e.oxw(4);e.s9C("cardTitle",t.name),e.xp6(2),e.Q6J("ngForOf",o.chartTitles)}}function fc(n,i){if(1&n&&(e.TgZ(0,"div",1),e.YNc(1,dc,3,2,"cd-card",44),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",t.replicaZonesInfo)("ngForTrackBy",t.trackByFn)}}function pc(n,i){if(1&n&&(e.TgZ(0,"div",39)(1,"cd-card",40),e.YNc(2,_c,2,5,"span",23),e.YNc(3,rc,2,3,"span",23),e.qZA(),e.TgZ(4,"div",41)(5,"cd-card",42),e.YNc(6,sc,2,5,"span",23),e.YNc(7,fc,2,2,"div",24),e.qZA()()()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("alignItemsCenter",!0)("justifyContentCenter",!0),e.xp6(1),e.Q6J("ngIf",t.loading),e.xp6(1),e.Q6J("ngIf",!t.loading),e.xp6(3),e.Q6J("ngIf",t.loading),e.xp6(1),e.Q6J("ngIf",!t.loading)}}function gc(n,i){if(1&n&&(e.TgZ(0,"div",1),e.YNc(1,pc,8,6,"div",38),e.qZA()),2&n){const t=e.oxw(),o=e.MAs(30);e.xp6(1),e.Q6J("ngIf",t.showMultisiteCard)("ngIfElse",o)}}const Tc=function(){return["Requests/sec"]},Ec=function(n){return[n]},Dn=function(){return["GET","PUT"]},vn=function(n,i){return[n,i]};let Rc=(()=>{class n{constructor(t,o,c,O,H,Q,J,j,oe,Te){this.authStorageService=t,this.healthService=o,this.refreshIntervalService=c,this.rgwDaemonService=O,this.rgwRealmService=H,this.rgwZonegroupService=Q,this.rgwZoneService=J,this.rgwBucketService=j,this.prometheusService=oe,this.rgwMultisiteService=Te,this.icons=$.P,this.interval=new An.w,this.rgwDaemonCount=0,this.rgwRealmCount=0,this.rgwZonegroupCount=0,this.rgwZoneCount=0,this.rgwBucketCount=0,this.objectCount=0,this.UserCount=0,this.totalPoolUsedBytes=0,this.averageObjectSize=0,this.multisiteInfo=[],this.queriesResults={RGW_REQUEST_PER_SECOND:[],BANDWIDTH:[],AVG_GET_LATENCY:[],AVG_PUT_LATENCY:[]},this.chartTitles=["Metadata Sync","Data Sync"],this.replicaZonesInfo=[],this.showMultisiteCard=!0,this.loading=!0,this.subject=new rl.t,this.syncCardLoading=!0,this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.interval=this.refreshIntervalService.intervalData$.subscribe(()=>{this.daemonSub=this.rgwDaemonService.list().subscribe(t=>{this.rgwDaemonCount=t.length}),this.HealthSub=this.healthService.getClusterCapacity().subscribe(t=>{this.objectCount=t.total_objects,this.totalPoolUsedBytes=t.total_pool_bytes_used,this.averageObjectSize=t.average_object_size}),this.getSyncStatus()}),this.BucketSub=this.rgwBucketService.getTotalBucketsAndUsersLength().subscribe(t=>{this.rgwBucketCount=t.buckets_count,this.UserCount=t.users_count}),this.realmSub=this.rgwRealmService.list().subscribe(t=>{this.rgwRealmCount=t.realms.length}),this.ZonegroupSub=this.rgwZonegroupService.list().subscribe(t=>{this.rgwZonegroupCount=t.zonegroups.length}),this.ZoneSUb=this.rgwZoneService.list().subscribe(t=>{this.rgwZoneCount=t.zones.length}),this.getPrometheusData(this.prometheusService.lastHourDateObject),this.multisiteSyncStatus$=this.subject.pipe((0,ll.w)(()=>this.rgwMultisiteService.getSyncStatus().pipe((0,cl.b)(t=>{this.loading=!1,this.replicaZonesInfo=t.dataSyncInfo,this.metadataSyncInfo=t.metadataSyncInfo,0===this.replicaZonesInfo.length&&(this.showMultisiteCard=!1,this.syncCardLoading=!1,this.loading=!1),[this.realm,this.zonegroup,this.zone]=t.primaryZoneData}),(0,p.K)(t=>(this.showMultisiteCard=!1,this.syncCardLoading=!1,this.loading=!1,t.preventDefault(),(0,S.of)(!0))))),(0,ul.d)(1))}ngOnDestroy(){this.interval.unsubscribe(),this.daemonSub.unsubscribe(),this.realmSub.unsubscribe(),this.ZonegroupSub.unsubscribe(),this.ZoneSUb.unsubscribe(),this.BucketSub.unsubscribe(),this.HealthSub.unsubscribe(),this.prometheusService.unsubscribe()}getPrometheusData(t){this.queriesResults=this.prometheusService.getPrometheusQueriesData(t,al.p,this.queriesResults,!0)}getSyncStatus(){this.subject.next()}trackByFn(t){return t}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(nt.j),e.Y36(dl.z),e.Y36(fl.s),e.Y36(u.b),e.Y36(ot.y),e.Y36(_t.K),e.Y36(it.g),e.Y36(L.o),e.Y36(sl.Q),e.Y36(an.o))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cd-rgw-overview-dashboard"]],decls:34,vars:38,consts:function(){let i;return i=" Multi-site needs to be configured in order to see the multi-site sync status. Please consult the " + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " on how to configure and enable the multi-site functionality. ",[[1,"container-fluid"],[1,"row"],["cardTitle","Inventory","aria-label","Inventory card",1,"col-sm-3","px-3","d-flex"],["link","/rgw/daemon","title","Gateway","summaryType","simplified",3,"data",4,"ngIf"],["link","/rgw/multisite","title","Realm","summaryType","simplified",3,"data",4,"ngIf"],["link","/rgw/multisite","title","Zone Group","summaryType","simplified",3,"data",4,"ngIf"],["link","/rgw/multisite","title","Zone","summaryType","simplified",3,"data",4,"ngIf"],["link","/rgw/bucket","title","Bucket","summaryType","simplified",3,"data",4,"ngIf"],["link","/rgw/user","title","User","summaryType","simplified",3,"data",4,"ngIf"],["title","Object","summaryType","simplified",3,"data",4,"ngIf"],["cardTitle","Performance Statistics","ria-label","Performance Statistics card",1,"col-sm-6","d-flex"],[1,"ms-4","me-4","mt-0"],[3,"selectedTime"],["chartTitle","Requests/sec","dataUnits","",3,"labelsArray","dataArray"],["chartTitle","Latency","dataUnits","ms",3,"labelsArray","dataArray"],["chartTitle","Bandwidth","dataUnits","B",3,"labelsArray","dataArray"],[1,"col-lg-3"],["cardTitle","Used Capacity","aria-label","Used Capacity",1,"col-sm-2","d-flex","w-100","h-50","pb-3",3,"alignItemsCenter","justifyContentCenter"],[1,"ms-4","me-4","text-center"],["cardTitle","Average Object Size","aria-label","Avg Object Size",1,"col-sm-2","d-flex","w-100","h-50","pt-3",3,"alignItemsCenter","justifyContentCenter"],[1,"row","pt-4","pb-4"],["cardTitle","Multi-Site Sync Status"],["notConfigured",""],["class","d-flex justify-content-center",4,"ngIf"],["class","row",4,"ngIf"],["link","/rgw/daemon","title","Gateway","summaryType","simplified",3,"data"],["link","/rgw/multisite","title","Realm","summaryType","simplified",3,"data"],["link","/rgw/multisite","title","Zone Group","summaryType","simplified",3,"data"],["link","/rgw/multisite","title","Zone","summaryType","simplified",3,"data"],["link","/rgw/bucket","title","Bucket","summaryType","simplified",3,"data"],["link","/rgw/user","title","User","summaryType","simplified",3,"data"],["title","Object","summaryType","simplified",3,"data"],[1,"pe-5","ps-5"],["type","info"],i,["section","multisite"],[1,"d-flex","justify-content-center"],[3,"ngClass"],["class","row pt-2",4,"ngIf","ngIfElse"],[1,"row","pt-2"],["cardTitle","Primary Source Zone",1,"col-lg-3","d-flex","justify-content-center","align-primary-zone",3,"alignItemsCenter","justifyContentCenter"],[1,"col-lg-9"],["cardTitle","Source Zones",1,"d-flex","h-100"],[3,"realm","zonegroup","zone"],["cardType","zone","shadowClass","true","class","col-sm-9 col-lg-6 align-replica-zones d-flex pt-4","aria-label","Source Zones Card",3,"cardTitle",4,"ngFor","ngForOf","ngForTrackBy"],["cardType","zone","shadowClass","true","aria-label","Source Zones Card",1,"col-sm-9","col-lg-6","align-replica-zones","d-flex","pt-4",3,"cardTitle"],[1,"row","pb-4","ps-3","pe-3"],["cardType","syncCards","removeBorder","true","class","col-sm-9 col-lg-6","aria-label","Charts Card",3,"cardTitle","ngClass","alignItemsCenter","justifyContentCenter",4,"ngFor","ngForOf"],["cardType","syncCards","removeBorder","true","aria-label","Charts Card",1,"col-sm-9","col-lg-6",3,"cardTitle","ngClass","alignItemsCenter","justifyContentCenter"],["class","me-2 text-center",4,"ngIf"],["class","me-2",4,"ngIf"],[1,"me-2","text-center"],[3,"metadataSyncInfo"],[1,"me-2"],[3,"zone"]]},template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"cd-card",2),e.YNc(3,Yl,1,1,"cd-card-row",3),e.YNc(4,Jl,1,1,"cd-card-row",4),e.YNc(5,Vl,1,1,"cd-card-row",5),e.YNc(6,jl,1,1,"cd-card-row",6),e.YNc(7,ec,1,1,"cd-card-row",7),e.YNc(8,tc,1,1,"cd-card-row",8),e.YNc(9,nc,1,1,"cd-card-row",9),e.qZA(),e.TgZ(10,"cd-card",10)(11,"div",11)(12,"cd-dashboard-time-selector",12),e.NdJ("selectedTime",function(O){return o.getPrometheusData(O)}),e.qZA(),e._UZ(13,"cd-dashboard-area-chart",13)(14,"cd-dashboard-area-chart",14)(15,"cd-dashboard-area-chart",15),e.qZA()(),e.TgZ(16,"div",16)(17,"cd-card",17)(18,"span",18)(19,"h1"),e._uU(20),e.ALo(21,"dimlessBinary"),e.qZA()()(),e.TgZ(22,"cd-card",19)(23,"span",18)(24,"h1"),e._uU(25),e.ALo(26,"dimlessBinary"),e.qZA()()()()(),e.TgZ(27,"div",20)(28,"cd-card",21),e.YNc(29,oc,4,0,"ng-template",null,22,e.W1O),e.YNc(31,ic,2,5,"span",23),e.YNc(32,gc,2,2,"div",24),e.ALo(33,"async"),e.qZA()()()),2&t&&(e.xp6(3),e.Q6J("ngIf",null!=o.rgwDaemonCount),e.xp6(1),e.Q6J("ngIf",null!=o.rgwRealmCount),e.xp6(1),e.Q6J("ngIf",null!=o.rgwZonegroupCount),e.xp6(1),e.Q6J("ngIf",null!=o.rgwZoneCount),e.xp6(1),e.Q6J("ngIf",null!=o.rgwBucketCount),e.xp6(1),e.Q6J("ngIf",null!=o.UserCount),e.xp6(1),e.Q6J("ngIf",null!=o.objectCount),e.xp6(4),e.Q6J("labelsArray",e.DdM(27,Tc))("dataArray",e.VKq(28,Ec,o.queriesResults.RGW_REQUEST_PER_SECOND)),e.xp6(1),e.Q6J("labelsArray",e.DdM(30,Dn))("dataArray",e.WLB(31,vn,o.queriesResults.AVG_GET_LATENCY,o.queriesResults.AVG_PUT_LATENCY)),e.xp6(1),e.Q6J("labelsArray",e.DdM(34,Dn))("dataArray",e.WLB(35,vn,o.queriesResults.GET_BANDWIDTH,o.queriesResults.PUT_BANDWIDTH)),e.xp6(2),e.Q6J("alignItemsCenter",!0)("justifyContentCenter",!0),e.xp6(3),e.Oqu(e.lcZ(21,21,o.totalPoolUsedBytes)),e.xp6(2),e.Q6J("alignItemsCenter",!0)("justifyContentCenter",!0),e.xp6(3),e.Oqu(e.lcZ(26,23,o.averageObjectSize)),e.xp6(6),e.Q6J("ngIf",o.loading),e.xp6(1),e.Q6J("ngIf",e.lcZ(33,25,o.multisiteSyncStatus$)))},dependencies:[g.mk,g.sg,g.O5,Ve.G,pl.K,gl.A,Tl.e,El.S,Rl.M,ml,vl,Ql,g.Ov,nn.$],styles:["hr[_ngcontent-%COMP%]{margin-bottom:2px;margin-top:2px}.list-group-item[_ngcontent-%COMP%]{border:0}.align-replica-zones[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;padding-left:2em;padding-right:2em}ul[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column;list-style-type:none}.align-primary-zone[_ngcontent-%COMP%]{padding-left:4em}.border-left[_ngcontent-%COMP%]{border-left:1px solid rgba(0,0,0,.1254901961)}"]}),n})();var mc=d(46767);let wn=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[g.ez,R.m,r.u5,r.UX,y.B,x.Oz,A.Bz,x.HK,x.dT,Z.b,sn.xc,_l.t,mc.d]}),n})();const hc=[{path:"",redirectTo:"rbd",pathMatch:"full"},{path:"daemon",component:yi,data:{breadcrumbs:"Gateways"}},{path:"user",data:{breadcrumbs:"Users"},children:[{path:"",component:qr},{path:l.MQ.CREATE,component:Fn,data:{breadcrumbs:l.Qn.CREATE}},{path:`${l.MQ.EDIT}/:uid`,component:Fn,data:{breadcrumbs:l.Qn.EDIT}}]},{path:"roles",data:{breadcrumbs:"Roles",resource:"api.rgw.roles@1.0",tabs:[{name:"Users",url:"/rgw/user"},{name:"Roles",url:"/rgw/roles"}]},children:[{path:"",component:h.c},{path:l.MQ.CREATE,component:Pn.U,data:{breadcrumbs:l.Qn.CREATE}},{path:l.MQ.EDIT,component:Pn.U,data:{breadcrumbs:l.Qn.EDIT}}]},{path:"bucket",data:{breadcrumbs:"Buckets"},children:[{path:"",component:Ri},{path:l.MQ.CREATE,component:un,data:{breadcrumbs:l.Qn.CREATE}},{path:`${l.MQ.EDIT}/:bid`,component:un,data:{breadcrumbs:l.Qn.EDIT}}]},{path:"overview",data:{breadcrumbs:"Overview"},children:[{path:"",component:Rc}]},{path:"multisite",data:{breadcrumbs:"Multi-site"},children:[{path:"",component:rt}]}];let Mc=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[wn,A.Bz.forChild(hc)]}),n})()},1372:(K,Y,d)=>{"use strict";d.d(Y,{B:()=>h});var g=d(64537),r=d(88692),A=d(87925);const x=function(R){return{collapsed:R}},Z=function(R){return{show:R}},l=["*"];let h=(()=>{class R{constructor(){this.showAdvanced=!1}}return R.\u0275fac=function(N){return new(N||R)},R.\u0275cmp=g.Xpm({type:R,selectors:[["cd-form-advanced-fieldset"]],ngContentSelectors:l,decls:9,vars:6,consts:function(){let y;return y="Advanced ",[[1,"cd-header"],[1,"accordion","accordion-flush"],["type","button","id","advanced-fieldset","aria-label","toggle advanced mode",1,"accordion-button","cd-form-advanced-fieldset-buttton","p-0",3,"ngClass","click"],y,[1,"accordion-collapse","collapse",3,"ngClass"],[1,"accordion-body"],[1,"card-body"]]},template:function(N,v){1&N&&(g.F$t(),g.TgZ(0,"fieldset")(1,"legend",0)(2,"div",1)(3,"button",2),g.NdJ("click",function(){return v.showAdvanced=!v.showAdvanced}),g.SDv(4,3),g.qZA()()(),g.TgZ(5,"div",4)(6,"div",5)(7,"div",6),g.Hsn(8),g.qZA()()()()),2&N&&(g.xp6(3),g.Q6J("ngClass",g.VKq(2,x,!v.showAdvanced)),g.xp6(2),g.Q6J("ngClass",g.VKq(4,Z,v.showAdvanced)))},dependencies:[r.mk,A.o],styles:[".cd-form-advanced-fieldset-buttton[_ngcontent-%COMP%]{--bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);background-color:inherit;border:hidden;border-color:inherit;box-shadow:none;color:inherit;font-size:inherit;outline:0;text-decoration:none}"]}),R})()},69862:()=>{},40964:()=>{}}]); \ No newline at end of file
diff --git a/src/pybind/mgr/dashboard/frontend/dist/en-US/index.html b/src/pybind/mgr/dashboard/frontend/dist/en-US/index.html
index f4801f5c6..5a9bca7f9 100644
--- a/src/pybind/mgr/dashboard/frontend/dist/en-US/index.html
+++ b/src/pybind/mgr/dashboard/frontend/dist/en-US/index.html
@@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" type="image/x-icon" id="cdFavicon" href="favicon.ico">
-<style>@charset "UTF-8";:root{--white:#fff;--gray-100:#f8f9fa;--gray-200:#e9ecef;--gray-300:#dee2e6;--gray-400:#ced4da;--gray-500:#adb5bd;--gray-600:#6c757d;--gray-700:#495057;--gray-800:#343a40;--gray-900:#212529;--black:#000;--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#a94442;--red:#dc3545;--orange:#fd7e14;--yellow:#d48200;--green:#008a00;--teal:#20c997;--cyan:#17a2b8;--barley-white:#fcecba;--primary:#25828e;--primary-500:#2b99a8;--secondary:#374249;--success:#008a00;--info:#25828e;--warning:#d48200;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--green-300:#6ec664;--cyan-300:#009596;--purple-300:#a18fff;--light-blue-300:#35caed;--gold-300:#f4c145;--light-green-300:#ace12e;--accent:#25828e;--warning-dark:#fd7e14;--fg-color-over-dark-bg:#fff;--fg-hover-color-over-dark-bg:#adb5bd;--body-color-bright:#f8f9fa;--body-bg:#fff;--body-color:#212529;--body-bg-alt:#e9ecef;--health-color-error:#dc3545;--health-color-healthy:#008a00;--health-color-warning:#d48200;--health-color-warning-800:#9d6d10;--chart-color-red:#dc3545;--chart-color-blue:#06c;--chart-color-orange:#ef9234;--chart-color-yellow:#f6d173;--chart-color-green:#008a00;--chart-color-gray:#ededed;--chart-color-cyan:#2b99a8;--chart-color-light-gray:#f0f0f0;--chart-color-slight-dark-gray:#d7d7d7;--chart-color-dark-gray:#afafaf;--chart-color-purple:#3c3d99;--chart-color-white:#fff;--chart-color-center-text:#151515;--chart-color-center-text-description:#72767b;--chart-color-tooltip-background:#000;--chart-danger:#c9190b;--chart-color-strong-blue:#0078c8;--chart-color-translucent-blue:rgba(0, 150, 220, .5019607843);--chart-color-border:rgba(0, 0, 0, .1254901961);--chart-color-translucent-yellow:rgba(239, 146, 52, .4470588235);--font-family-sans-serif:"Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--card-cap-bg:#f8f9fa;--grid-gutter-width:30px;--datatable-divider-color:rgba(0, 0, 0, .09);--nav-tabs-margin-bottom:1rem;--tooltip-color:#fff;--tooltip-bg:#212529;--tooltip-opacity:1;--screen-sm-min:576px;--screen-md-min:768px;--screen-lg-min:992px;--screen-xl-min:1200px;--tree-container-height:200px;--screen-xs-max:575px;--screen-sm-max:767px;--screen-md-max:991px;--screen-lg-max:1199px;--navbar-height:43px}:root{--bs-blue:#007bff;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#a94442;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#d48200;--bs-green:#008a00;--bs-teal:#20c997;--bs-cyan:#17a2b8;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-accent:#25828e;--bs-warning-dark:#fd7e14;--bs-primary:#25828e;--bs-secondary:#374249;--bs-success:#008a00;--bs-info:#25828e;--bs-warning:#d48200;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#343a40;--bs-accent-rgb:37, 130, 142;--bs-warning-dark-rgb:253, 126, 20;--bs-primary-rgb:37, 130, 142;--bs-secondary-rgb:55, 66, 73;--bs-success-rgb:0, 138, 0;--bs-info-rgb:37, 130, 142;--bs-warning-rgb:212, 130, 0;--bs-danger-rgb:220, 53, 69;--bs-light-rgb:248, 249, 250;--bs-dark-rgb:52, 58, 64;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-body-color-rgb:33, 37, 41;--bs-body-bg-rgb:255, 255, 255;--bs-font-sans-serif:"Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, .175);--bs-border-radius:.375rem;--bs-border-radius-sm:.25rem;--bs-border-radius-lg:.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-2xl:2rem;--bs-border-radius-pill:50rem;--bs-link-color:#25828e;--bs-link-hover-color:#1e6872;--bs-code-color:#a94442;--bs-highlight-bg:#f6e6cc}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}html{background-color:#fff}html,body{font-size:12px;height:100%;width:100%}</style><link rel="stylesheet" href="styles.5f6140b407c420b8.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.5f6140b407c420b8.css"></noscript></head>
+<style>@charset "UTF-8";:root{--white:#fff;--gray-100:#f8f9fa;--gray-200:#e9ecef;--gray-300:#dee2e6;--gray-400:#ced4da;--gray-500:#adb5bd;--gray-600:#6c757d;--gray-700:#495057;--gray-800:#343a40;--gray-900:#212529;--black:#000;--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--purple-dim:rgba(111, 66, 193, .5019607843);--pink:#a94442;--red:#dc3545;--red-dim:rgba(220, 53, 69, .5019607843);--orange:#fd7e14;--orange-dim:rgba(253, 126, 20, .5019607843);--yellow:#d48200;--green:#008a00;--green-dim:rgba(0, 138, 0, .5019607843);--teal:#20c997;--cyan:#17a2b8;--cyan-dim:rgba(23, 162, 184, .5019607843);--barley-white:#fcecba;--primary:#25828e;--primary-500:#2b99a8;--secondary:#374249;--success:#008a00;--info:#25828e;--warning:#d48200;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--green-300:#6ec664;--cyan-300:#009596;--purple-300:#a18fff;--light-blue-300:#35caed;--gold-300:#f4c145;--light-green-300:#ace12e;--accent:#25828e;--warning-dark:#fd7e14;--fg-color-over-dark-bg:#fff;--fg-hover-color-over-dark-bg:#adb5bd;--body-color-bright:#f8f9fa;--body-bg:#fff;--body-color:#212529;--body-bg-alt:#e9ecef;--health-color-error:#dc3545;--health-color-healthy:#008a00;--health-color-warning:#d48200;--health-color-warning-800:#9d6d10;--chart-color-red:#dc3545;--chart-color-yellow:#f6d173;--chart-color-translucent-red:rgba(220, 53, 69, .5019607843);--chart-color-blue:#007bff;--chart-color-orange:#fd7e14;--chart-color-translucent-orange:rgba(253, 126, 20, .5019607843);--chart-color-translucent-green:rgba(0, 138, 0, .5019607843);--chart-color-translucent-cyan:rgba(23, 162, 184, .5019607843);--chart-color-green:#008a00;--chart-color-gray:#ededed;--chart-color-cyan:#2b99a8;--chart-color-light-gray:#f0f0f0;--chart-color-slight-dark-gray:#d7d7d7;--chart-color-dark-gray:#afafaf;--chart-color-purple:#6f42c1;--chart-color-translucent-purple:rgba(111, 66, 193, .5019607843);--chart-color-white:#fff;--chart-color-center-text:#151515;--chart-color-center-text-description:#72767b;--chart-color-tooltip-background:#000;--chart-danger:#c9190b;--chart-color-strong-blue:#0078c8;--chart-color-translucent-blue:rgba(0, 150, 220, .5019607843);--chart-color-border:rgba(0, 0, 0, .1254901961);--chart-color-translucent-yellow:rgba(239, 146, 52, .4470588235);--font-family-sans-serif:"Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--card-cap-bg:#f8f9fa;--grid-gutter-width:30px;--datatable-divider-color:rgba(0, 0, 0, .09);--nav-tabs-margin-bottom:1rem;--tooltip-color:#fff;--tooltip-bg:#212529;--tooltip-opacity:1;--screen-sm-min:576px;--screen-md-min:768px;--screen-lg-min:992px;--screen-xl-min:1200px;--tree-container-height:200px;--screen-xs-max:575px;--screen-sm-max:767px;--screen-md-max:991px;--screen-lg-max:1199px;--navbar-height:43px}:root{--bs-blue:#007bff;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#a94442;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#d48200;--bs-green:#008a00;--bs-teal:#20c997;--bs-cyan:#17a2b8;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-accent:#25828e;--bs-warning-dark:#fd7e14;--bs-primary:#25828e;--bs-secondary:#374249;--bs-success:#008a00;--bs-info:#25828e;--bs-warning:#d48200;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#343a40;--bs-accent-rgb:37, 130, 142;--bs-warning-dark-rgb:253, 126, 20;--bs-primary-rgb:37, 130, 142;--bs-secondary-rgb:55, 66, 73;--bs-success-rgb:0, 138, 0;--bs-info-rgb:37, 130, 142;--bs-warning-rgb:212, 130, 0;--bs-danger-rgb:220, 53, 69;--bs-light-rgb:248, 249, 250;--bs-dark-rgb:52, 58, 64;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-body-color-rgb:33, 37, 41;--bs-body-bg-rgb:255, 255, 255;--bs-font-sans-serif:"Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, .175);--bs-border-radius:.375rem;--bs-border-radius-sm:.25rem;--bs-border-radius-lg:.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-2xl:2rem;--bs-border-radius-pill:50rem;--bs-link-color:#25828e;--bs-link-hover-color:#1e6872;--bs-code-color:#a94442;--bs-highlight-bg:#f6e6cc}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}html{background-color:#fff}html,body{font-size:12px;height:100%;width:100%}</style><link rel="stylesheet" href="styles.09190db38b7a2ca4.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.09190db38b7a2ca4.css"></noscript></head>
<body>
<noscript>
<div class="noscript container"
@@ -18,6 +18,6 @@
</noscript>
<cd-root></cd-root>
-<script src="runtime.a53144ca583f6e2c.js" type="module"></script><script src="polyfills.374f1f989f34e1be.js" type="module"></script><script src="scripts.177a7ad3f45b4499.js" defer></script><script src="main.a87f559bb03ca0fb.js" type="module"></script>
+<script src="runtime.bf967bb834d79a4e.js" type="module"></script><script src="polyfills.374f1f989f34e1be.js" type="module"></script><script src="main.62dae25cb6f8afb5.js" type="module"></script>
</body></html> \ No newline at end of file
diff --git a/src/pybind/mgr/dashboard/frontend/dist/en-US/main.62dae25cb6f8afb5.js b/src/pybind/mgr/dashboard/frontend/dist/en-US/main.62dae25cb6f8afb5.js
new file mode 100644
index 000000000..96c705491
--- /dev/null
+++ b/src/pybind/mgr/dashboard/frontend/dist/en-US/main.62dae25cb6f8afb5.js
@@ -0,0 +1,3 @@
+globalThis.$localize=Object.assign(globalThis.$localize || {},{locale:"en-US"});
+"use strict";(function(global){global.ng=global.ng||{};global.ng.common=global.ng.common||{};global.ng.common.locales=global.ng.common.locales||{};const u=undefined;function plural(val){const n=val,i=Math.floor(Math.abs(val)),v=val.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["en"]=["en",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],u,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],u,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",plural,[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],u],[["midnight","noon","morning","afternoon","evening","night"],u,u],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]]})(typeof globalThis!=="undefined"&&globalThis||typeof global!=="undefined"&&global||typeof window!=="undefined"&&window);;
+(self.webpackChunkceph_dashboard=self.webpackChunkceph_dashboard||[]).push([[179],{43155:(y,b)=>{"use strict";b.N=void 0;var r=/^([^\w]*)(javascript|data|vbscript)/im,a=/&#(\w+)(^\w|;)?/g,u=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,c=/^([^:]+):/gm,e=[".","/"];b.N=function E(T){var D=function h(T){return T.replace(a,function(D,A){return String.fromCharCode(A)})}(T||"").replace(u,"").trim();if(!D)return"about:blank";if(function f(T){return e.indexOf(T[0])>-1}(D))return D;var A=D.match(c);return A&&r.test(A[0])?"about:blank":D}},35512:(y,b,o)=>{"use strict";o.d(b,{iM:()=>Cp,qr:()=>Dv,xc:()=>Nv});var r=o(64537),a=o(88692),u=function(I,ee){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,xe){z.__proto__=xe}||function(z,xe){for(var Mt in xe)xe.hasOwnProperty(Mt)&&(z[Mt]=xe[Mt])})(I,ee)};function c(I,ee){function z(){this.constructor=I}u(I,ee),I.prototype=null===ee?Object.create(ee):(z.prototype=ee.prototype,new z)}var e=function(){return e=Object.assign||function(ee){for(var z,xe=1,Mt=arguments.length;xe<Mt;xe++)for(var an in z=arguments[xe])Object.prototype.hasOwnProperty.call(z,an)&&(ee[an]=z[an]);return ee},e.apply(this,arguments)};function f(I,ee){var z="function"==typeof Symbol&&I[Symbol.iterator];if(!z)return I;var Mt,Er,xe=z.call(I),an=[];try{for(;(void 0===ee||ee-- >0)&&!(Mt=xe.next()).done;)an.push(Mt.value)}catch(li){Er={error:li}}finally{try{Mt&&!Mt.done&&(z=xe.return)&&z.call(xe)}finally{if(Er)throw Er.error}}return an}function h(){for(var I=[],ee=0;ee<arguments.length;ee++)I=I.concat(f(arguments[ee]));return I}var E="An invariant failed, however the error is obfuscated because this is an production build.",T=[];Object.freeze(T);var D={};Object.freeze(D);var A={};function $(){return typeof window<"u"?window:typeof global<"u"?global:A}function Q(){return++mn.mobxGuid}function U(I){throw q(!1,I),"X"}function q(I,ee){if(!I)throw new Error("[mobx] "+(ee||E))}function pe(I){var ee=!1;return function(){if(!ee)return ee=!0,I.apply(this,arguments)}}var j=function(){};function ie(I){return null!==I&&"object"==typeof I}function me(I){if(null===I||"object"!=typeof I)return!1;var ee=Object.getPrototypeOf(I);return ee===Object.prototype||null===ee}function Me(I,ee,z){Object.defineProperty(I,ee,{enumerable:!1,writable:!0,configurable:!0,value:z})}function yt(I,ee,z){Object.defineProperty(I,ee,{enumerable:!1,writable:!1,configurable:!0,value:z})}function Et(I,ee){var z="isMobX"+I;return ee.prototype[z]=!0,function(xe){return ie(xe)&&!0===xe[z]}}function Ct(I){return void 0!==$().Map&&I instanceof $().Map}function Qt(I){return I instanceof Set}function ht(I){for(var ee=[];;){var z=I.next();if(z.done)break;ee.push(z.value)}return ee}function en(){return"function"==typeof Symbol&&Symbol.toPrimitive||"@@toPrimitive"}function nn(I){return null===I?null:"object"==typeof I?""+I:I}function bn(){return"function"==typeof Symbol&&Symbol.iterator||"@@iterator"}function Dn(I,ee){yt(I,bn(),ee)}function Rt(I){return I[bn()]=un,I}function Xt(){return"function"==typeof Symbol&&Symbol.toStringTag||"@@toStringTag"}function un(){return this}var _n=function(){function I(ee){void 0===ee&&(ee="Atom@"+Q()),this.name=ee,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=tn.NOT_TRACKING}return I.prototype.onBecomeUnobserved=function(){},I.prototype.onBecomeObserved=function(){},I.prototype.reportObserved=function(){return Do(this)},I.prototype.reportChanged=function(){Ys(),function oc(I){if(I.lowestObserverState!==tn.STALE){I.lowestObserverState=tn.STALE;for(var ee=I.observers,z=ee.length;z--;){var xe=ee[z];xe.dependenciesState===tn.UP_TO_DATE&&(xe.isTracing!==ot.NONE&&Da(xe,I),xe.onBecomeStale()),xe.dependenciesState=tn.STALE}}}(this),ra()},I.prototype.toString=function(){return this.name},I}(),kn=Et("Atom",_n);function Ir(I,ee){return I===ee}var Ri={identity:Ir,structural:function wr(I,ee){return Bt(I,ee)},default:function oi(I,ee){return function ze(I,ee){return"number"==typeof I&&"number"==typeof ee&&isNaN(I)&&isNaN(ee)}(I,ee)||Ir(I,ee)},shallow:function _r(I,ee){return Bt(I,ee,1)}},Tr={},ft={};function At(I){if(!0!==I.__mobxDidRunLazyInitializers){var ee=I.__mobxDecorators;if(ee)for(var z in Me(I,"__mobxDidRunLazyInitializers",!0),ee){var xe=ee[z];xe.propertyCreator(I,xe.prop,xe.descriptor,xe.decoratorTarget,xe.decoratorArguments)}}}function Ln(I,ee){return function(){var xe,Mt=function(Er,li,es,ws){return!0===ws?(ee(Er,li,es,Er,xe),null):(Object.prototype.hasOwnProperty.call(Er,"__mobxDecorators")||Me(Er,"__mobxDecorators",e({},Er.__mobxDecorators)),Er.__mobxDecorators[li]={prop:li,propertyCreator:ee,descriptor:es,decoratorTarget:Er,decoratorArguments:xe},function sn(I,ee){var z=ee?Tr:ft;return z[I]||(z[I]={configurable:!0,enumerable:ee,get:function(){return At(this),this[I]},set:function(xe){At(this),this[I]=xe}})}(li,I))};return function rr(I){return(2===I.length||3===I.length)&&"string"==typeof I[1]||4===I.length&&!0===I[3]}(arguments)?(xe=T,Mt.apply(null,arguments)):(xe=Array.prototype.slice.call(arguments),Mt)}}function Lr(I,ee,z){return gl(I)?I:Array.isArray(I)?Ut.array(I,{name:z}):me(I)?Ut.object(I,void 0,{name:z}):Ct(I)?Ut.map(I,{name:z}):Qt(I)?Ut.set(I,{name:z}):I}function so(I){return I}function Xr(I){var ee=Ln(!0,function(xe,Mt,an,Er,li){!function xn(I,ee,z,xe){var Mt=Gt(I);if(St(Mt)){var an=Je(Mt,{object:I,name:ee,type:"add",newValue:z});if(!an)return;z=an.newValue}z=(Mt.values[ee]=new Gi(z,xe,Mt.name+"."+ee,!1)).value,Object.defineProperty(I,ee,function ai(I){return Fr[I]||(Fr[I]={configurable:!0,enumerable:!0,get:function(){return this.$mobx.read(this,I)},set:function(ee){this.$mobx.write(this,I,ee)}})}(ee)),Mt.keys&&Mt.keys.push(ee),function Yo(I,ee,z,xe){var Mt=hn(I),an=ma(),Er=Mt||an?{type:"add",object:ee,name:z,newValue:xe}:null;an&&Go(e({},Er,{name:I.name,key:z})),Mt&&wo(I,Er),an&&rs()}(Mt,I,ee,z)}(xe,Mt,an?an.initializer?an.initializer.call(xe):an.value:void 0,I)}),z=(typeof process<"u"&&process,ee);return z.enhancer=I,z}var Ni={deep:!0,name:void 0,defaultDecorator:void 0};function Pr(I){return null==I?Ni:"string"==typeof I?{name:I,deep:!0}:I}function Bo(I){return I.defaultDecorator?I.defaultDecorator.enhancer:!1===I.deep?so:Lr}Object.freeze(Ni),Object.freeze({deep:!1,name:void 0,defaultDecorator:void 0});var cs=Xr(Lr),ts=Xr(function Fi(I,ee,z){return null==I||zr(I)||uc(I)||qa(I)||gt(I)?I:Array.isArray(I)?Ut.array(I,{name:z,deep:!1}):me(I)?Ut.object(I,void 0,{name:z,deep:!1}):Ct(I)?Ut.map(I,{name:z,deep:!1}):Qt(I)?Ut.set(I,{name:z,deep:!1}):U(!1)}),io=Xr(so),Vi=Xr(function Vo(I,ee,z){return Bt(I,ee)?ee:I}),Nn={box:function(I,ee){arguments.length>2&&ke("box");var z=Pr(ee);return new Gi(I,Bo(z),z.name,!0,z.equals)},shallowBox:function(I,ee){return arguments.length>2&&ke("shallowBox"),Ut.box(I,{name:ee,deep:!1})},array:function(I,ee){arguments.length>2&&ke("array");var z=Pr(ee);return new qc(I,Bo(z),z.name)},shallowArray:function(I,ee){return arguments.length>2&&ke("shallowArray"),Ut.array(I,{name:ee,deep:!1})},map:function(I,ee){arguments.length>2&&ke("map");var z=Pr(ee);return new Ll(I,Bo(z),z.name)},shallowMap:function(I,ee){return arguments.length>2&&ke("shallowMap"),Ut.map(I,{name:ee,deep:!1})},set:function(I,ee){arguments.length>2&&ke("set");var z=Pr(ee);return new Ce(I,Bo(z),z.name)},object:function(I,ee,z){return"string"==typeof arguments[1]&&ke("object"),function ru(I,ee,z,xe){var an=(xe=Pr(xe)).defaultDecorator||(!1===xe.deep?io:cs);At(I),Gt(I,xe.name,an.enhancer),Ys();try{for(var Mt in ee){var Er=Object.getOwnPropertyDescriptor(ee,Mt),es=(z&&Mt in z?z[Mt]:Er.get?Ie:an)(I,Mt,Er,!0);es&&Object.defineProperty(I,Mt,es)}}finally{ra()}return I}({},I,ee,Pr(z))},shallowObject:function(I,ee){return"string"==typeof arguments[1]&&ke("shallowObject"),Ut.object(I,{},{name:ee,deep:!1})},ref:io,shallow:ts,deep:cs,struct:Vi},Ut=function Pn(I,ee,z){if("string"==typeof arguments[1])return cs.apply(null,arguments);if(gl(I))return I;var xe=me(I)?Ut.object(I,ee,z):Array.isArray(I)?Ut.array(I,ee):Ct(I)?Ut.map(I,ee):Qt(I)?Ut.set(I,ee):I;if(xe!==I)return xe;U(!1)};function ke(I){U("Expected one or two arguments to observable."+I+". Did you accidentally try to use observable."+I+" as decorator?")}Object.keys(Nn).forEach(function(I){return Ut[I]=Nn[I]});var Ie=Ln(!1,function(I,ee,z,xe,Mt){!function lr(I,ee,z){var xe=Gt(I);z.name=xe.name+"."+ee,z.context=I,xe.values[ee]=new Mo(z),Object.defineProperty(I,ee,function ei(I){return Oi[I]||(Oi[I]={configurable:mn.computedConfigurable,enumerable:!1,get:function(){return Dr(this).read(this,I)},set:function(ee){Dr(this).write(this,I,ee)}})}(ee))}(I,ee,e({get:z.get,set:z.set},Mt[0]||{}))}),Qe=Ie({equals:Ri.structural}),Ve=function(ee,z,xe){if("string"==typeof z||null!==ee&&"object"==typeof ee&&1===arguments.length)return Ie.apply(null,arguments);var Mt="object"==typeof z?z:{};return Mt.get=ee,Mt.set="function"==typeof z?z:Mt.set,Mt.name=Mt.name||ee.name||"",new Mo(Mt)};Ve.struct=Qe;var tn=(()=>{return(I=tn||(tn={}))[I.NOT_TRACKING=-1]="NOT_TRACKING",I[I.UP_TO_DATE=0]="UP_TO_DATE",I[I.POSSIBLY_STALE=1]="POSSIBLY_STALE",I[I.STALE=2]="STALE",tn;var I})(),ot=(()=>{return(I=ot||(ot={}))[I.NONE=0]="NONE",I[I.LOG=1]="LOG",I[I.BREAK=2]="BREAK",ot;var I})(),xt=function I(ee){this.cause=ee};function qt(I){return I instanceof xt}function tr(I){switch(I.dependenciesState){case tn.UP_TO_DATE:return!1;case tn.NOT_TRACKING:case tn.STALE:return!0;case tn.POSSIBLY_STALE:for(var ee=Wt(),z=I.observing,xe=z.length,Mt=0;Mt<xe;Mt++){var an=z[Mt];if(As(an)){if(mn.disableErrorBoundaries)an.get();else try{an.get()}catch{return kt(ee),!0}if(I.dependenciesState===tn.STALE)return kt(ee),!0}}return er(I),kt(ee),!1}}function An(I){var ee=I.observers.length>0;mn.computationDepth>0&&ee&&U(!1),!mn.allowStateChanges&&(ee||"strict"===mn.enforceActions)&&U(!1)}function Nr(I,ee,z){var xe=st(!0);er(I),I.newObserving=new Array(I.observing.length+100),I.unboundDepsCount=0,I.runId=++mn.runId;var an,Mt=mn.trackingDerivation;if(mn.trackingDerivation=I,!0===mn.disableErrorBoundaries)an=ee.call(z);else try{an=ee.call(z)}catch(Er){an=new xt(Er)}return mn.trackingDerivation=Mt,function Qn(I){for(var ee=I.observing,z=I.observing=I.newObserving,xe=tn.UP_TO_DATE,Mt=0,an=I.unboundDepsCount,Er=0;Er<an;Er++)0===(li=z[Er]).diffValue&&(li.diffValue=1,Mt!==Er&&(z[Mt]=li),Mt++),li.dependenciesState>xe&&(xe=li.dependenciesState);for(z.length=Mt,I.newObserving=null,an=ee.length;an--;)0===(li=ee[an]).diffValue&&$s(li,I),li.diffValue=0;for(;Mt--;){var li;1===(li=z[Mt]).diffValue&&(li.diffValue=0,ko(li,I))}xe!==tn.UP_TO_DATE&&(I.dependenciesState=xe,I.onBecomeStale())}(I),zt(xe),an}function dr(I){var ee=I.observing;I.observing=[];for(var z=ee.length;z--;)$s(ee[z],I);I.dependenciesState=tn.NOT_TRACKING}function Wn(I){var ee=Wt(),z=I();return kt(ee),z}function Wt(){var I=mn.trackingDerivation;return mn.trackingDerivation=null,I}function kt(I){mn.trackingDerivation=I}function st(I){var ee=mn.allowStateReads;return mn.allowStateReads=I,ee}function zt(I){mn.allowStateReads=I}function er(I){if(I.dependenciesState!==tn.UP_TO_DATE){I.dependenciesState=tn.UP_TO_DATE;for(var ee=I.observing,z=ee.length;z--;)ee[z].lowestObserverState=tn.UP_TO_DATE}}var Kr=0,mi=1;function gi(I,ee){var z=function(){return function Jo(I,ee,z,xe){var Mt=function os(I,ee,z){var xe=ma()&&!!I,Mt=0;if(xe){Mt=Date.now();var an=z&&z.length||0,Er=new Array(an);if(an>0)for(var li=0;li<an;li++)Er[li]=z[li];Go({type:"action",name:I,object:ee,arguments:Er})}var es=Wt();Ys();var cl={prevDerivation:es,prevAllowStateChanges:ni(!0),prevAllowStateReads:st(!0),notifySpy:xe,startTime:Mt,actionId:mi++,parentActionId:Kr};return Kr=cl.actionId,cl}(I,z,xe);try{return ee.apply(z,xe)}catch(an){throw Mt.error=an,an}finally{!function hr(I){Kr!==I.actionId&&U("invalid action stack. did you forget to finish an action?"),Kr=I.parentActionId,void 0!==I.error&&(mn.suppressReactionErrors=!0),Vr(I.prevAllowStateChanges),zt(I.prevAllowStateReads),ra(),kt(I.prevDerivation),I.notifySpy&&rs({time:Date.now()-I.startTime}),mn.suppressReactionErrors=!1}(Mt)}}(I,ee,this,arguments)};return z.isMobxAction=!0,z}function ni(I){var ee=mn.allowStateChanges;return mn.allowStateChanges=I,ee}function Vr(I){mn.allowStateChanges=I}var Gi=function(I){function ee(z,xe,Mt,an,Er){void 0===Mt&&(Mt="ObservableValue@"+Q()),void 0===an&&(an=!0),void 0===Er&&(Er=Ri.default);var li=I.call(this,Mt)||this;return li.enhancer=xe,li.name=Mt,li.equals=Er,li.hasUnreportedChange=!1,li.value=xe(z,void 0,Mt),an&&ma()&&Qo({type:"create",name:li.name,newValue:""+li.value}),li}return c(ee,I),ee.prototype.dehanceValue=function(z){return void 0!==this.dehancer?this.dehancer(z):z},ee.prototype.set=function(z){var xe=this.value;if((z=this.prepareNewValue(z))!==mn.UNCHANGED){var Mt=ma();Mt&&Go({type:"update",name:this.name,newValue:z,oldValue:xe}),this.setNewValue(z),Mt&&rs()}},ee.prototype.prepareNewValue=function(z){if(An(this),St(this)){var xe=Je(this,{object:this,type:"update",newValue:z});if(!xe)return mn.UNCHANGED;z=xe.newValue}return z=this.enhancer(z,this.value,this.name),this.equals(this.value,z)?mn.UNCHANGED:z},ee.prototype.setNewValue=function(z){var xe=this.value;this.value=z,this.reportChanged(),hn(this)&&wo(this,{type:"update",object:this,newValue:z,oldValue:xe})},ee.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},ee.prototype.intercept=function(z){return ut(this,z)},ee.prototype.observe=function(z,xe){return xe&&z({object:this,type:"update",newValue:this.value,oldValue:void 0}),vi(this,z)},ee.prototype.toJSON=function(){return this.get()},ee.prototype.toString=function(){return this.name+"["+this.value+"]"},ee.prototype.valueOf=function(){return nn(this.get())},ee}(_n);Gi.prototype[en()]=Gi.prototype.valueOf,Et("ObservableValue",Gi);var Mo=function(){function I(ee){this.dependenciesState=tn.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=tn.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+Q(),this.value=new xt(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=ot.NONE,this.derivation=ee.get,this.name=ee.name||"ComputedValue@"+Q(),ee.set&&(this.setter=gi(this.name+"-setter",ee.set)),this.equals=ee.equals||(ee.compareStructural||ee.struct?Ri.structural:Ri.default),this.scope=ee.context,this.requiresReaction=!!ee.requiresReaction,this.keepAlive=!!ee.keepAlive}return I.prototype.onBecomeStale=function(){!function tl(I){if(I.lowestObserverState===tn.UP_TO_DATE){I.lowestObserverState=tn.POSSIBLY_STALE;for(var ee=I.observers,z=ee.length;z--;){var xe=ee[z];xe.dependenciesState===tn.UP_TO_DATE&&(xe.dependenciesState=tn.POSSIBLY_STALE,xe.isTracing!==ot.NONE&&Da(xe,I),xe.onBecomeStale())}}}(this)},I.prototype.onBecomeUnobserved=function(){},I.prototype.onBecomeObserved=function(){},I.prototype.get=function(){this.isComputing&&U("Cycle detected in computation "+this.name+": "+this.derivation),0!==mn.inBatch||0!==this.observers.length||this.keepAlive?(Do(this),tr(this)&&this.trackAndCompute()&&function Ql(I){if(I.lowestObserverState!==tn.STALE){I.lowestObserverState=tn.STALE;for(var ee=I.observers,z=ee.length;z--;){var xe=ee[z];xe.dependenciesState===tn.POSSIBLY_STALE?xe.dependenciesState=tn.STALE:xe.dependenciesState===tn.UP_TO_DATE&&(I.lowestObserverState=tn.UP_TO_DATE)}}}(this)):tr(this)&&(this.warnAboutUntrackedRead(),Ys(),this.value=this.computeValue(!1),ra());var ee=this.value;if(qt(ee))throw ee.cause;return ee},I.prototype.peek=function(){var ee=this.computeValue(!1);if(qt(ee))throw ee.cause;return ee},I.prototype.set=function(ee){if(this.setter){q(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,ee)}finally{this.isRunningSetter=!1}}else q(!1,!1)},I.prototype.trackAndCompute=function(){ma()&&Qo({object:this.scope,type:"compute",name:this.name});var ee=this.value,z=this.dependenciesState===tn.NOT_TRACKING,xe=this.computeValue(!0),Mt=z||qt(ee)||qt(xe)||!this.equals(ee,xe);return Mt&&(this.value=xe),Mt},I.prototype.computeValue=function(ee){var z;if(this.isComputing=!0,mn.computationDepth++,ee)z=Nr(this,this.derivation,this.scope);else if(!0===mn.disableErrorBoundaries)z=this.derivation.call(this.scope);else try{z=this.derivation.call(this.scope)}catch(xe){z=new xt(xe)}return mn.computationDepth--,this.isComputing=!1,z},I.prototype.suspend=function(){this.keepAlive||(dr(this),this.value=void 0)},I.prototype.observe=function(ee,z){var xe=this,Mt=!0,an=void 0;return Ei(function(){var Er=xe.get();if(!Mt||z){var li=Wt();ee({type:"update",object:xe,newValue:Er,oldValue:an}),kt(li)}Mt=!1,an=Er})},I.prototype.warnAboutUntrackedRead=function(){},I.prototype.toJSON=function(){return this.get()},I.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},I.prototype.valueOf=function(){return nn(this.get())},I}();Mo.prototype[en()]=Mo.prototype.valueOf;var I,As=Et("ComputedValue",Mo),qr=function I(){this.version=5,this.UNCHANGED={},this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.allowStateReads=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.computedConfigurable=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1},$r=!0,mn=((I=$()).__mobxInstanceCount>0&&!I.__mobxGlobals&&($r=!1),I.__mobxGlobals&&I.__mobxGlobals.version!==(new qr).version&&($r=!1),$r?I.__mobxGlobals?(I.__mobxInstanceCount+=1,I.__mobxGlobals.UNCHANGED||(I.__mobxGlobals.UNCHANGED={}),I.__mobxGlobals):(I.__mobxInstanceCount=1,I.__mobxGlobals=new qr):(setTimeout(function(){U("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")},1),new qr));function ko(I,ee){var z=I.observers.length;z&&(I.observersIndexes[ee.__mapid]=z),I.observers[z]=ee,I.lowestObserverState>ee.dependenciesState&&(I.lowestObserverState=ee.dependenciesState)}function $s(I,ee){if(1===I.observers.length)I.observers.length=0,ps(I);else{var z=I.observers,xe=I.observersIndexes,Mt=z.pop();if(Mt!==ee){var an=xe[ee.__mapid]||0;an?xe[Mt.__mapid]=an:delete xe[Mt.__mapid],z[an]=Mt}delete xe[ee.__mapid]}}function ps(I){!1===I.isPendingUnobservation&&(I.isPendingUnobservation=!0,mn.pendingUnobservations.push(I))}function Ys(){mn.inBatch++}function ra(){if(0==--mn.inBatch){Cs();for(var I=mn.pendingUnobservations,ee=0;ee<I.length;ee++){var z=I[ee];z.isPendingUnobservation=!1,0===z.observers.length&&(z.isBeingObserved&&(z.isBeingObserved=!1,z.onBecomeUnobserved()),z instanceof Mo&&z.suspend())}mn.pendingUnobservations=[]}}function Do(I){var ee=mn.trackingDerivation;return null!==ee?(ee.runId!==I.lastAccessedBy&&(I.lastAccessedBy=ee.runId,ee.newObserving[ee.unboundDepsCount++]=I,I.isBeingObserved||(I.isBeingObserved=!0,I.onBecomeObserved())),!0):(0===I.observers.length&&mn.inBatch>0&&ps(I),!1)}function Da(I,ee){if(console.log("[mobx.trace] '"+I.name+"' is invalidated due to a change in: '"+ee.name+"'"),I.isTracing===ot.BREAK){var z=[];Ga(function bl(I,ee){return Ou(Gr(I,ee))}(I),z,1),new Function("debugger;\n/*\nTracing '"+I.name+"'\n\nYou are entering this break point because derivation '"+I.name+"' is being traced and '"+ee.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(I instanceof Mo?I.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+z.join("\n")+"\n*/\n ")()}}function Ga(I,ee,z){ee.length>=1e3?ee.push("(and many more)"):(ee.push(""+new Array(z).join("\t")+I.name),I.dependencies&&I.dependencies.forEach(function(xe){return Ga(xe,ee,z+1)}))}var Pl=function(){function I(ee,z,xe,Mt){void 0===ee&&(ee="Reaction@"+Q()),void 0===Mt&&(Mt=!1),this.name=ee,this.onInvalidate=z,this.errorHandler=xe,this.requiresObservable=Mt,this.observing=[],this.newObserving=[],this.dependenciesState=tn.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+Q(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=ot.NONE}return I.prototype.onBecomeStale=function(){this.schedule()},I.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,mn.pendingReactions.push(this),Cs())},I.prototype.isScheduled=function(){return this._isScheduled},I.prototype.runReaction=function(){if(!this.isDisposed){if(Ys(),this._isScheduled=!1,tr(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending&&ma()&&Qo({name:this.name,type:"scheduled-reaction"})}catch(ee){this.reportExceptionInDerivation(ee)}}ra()}},I.prototype.track=function(ee){Ys();var xe,z=ma();z&&(xe=Date.now(),Go({name:this.name,type:"reaction"})),this._isRunning=!0;var Mt=Nr(this,ee,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&dr(this),qt(Mt)&&this.reportExceptionInDerivation(Mt.cause),z&&rs({time:Date.now()-xe}),ra()},I.prototype.reportExceptionInDerivation=function(ee){var z=this;if(this.errorHandler)this.errorHandler(ee,this);else{if(mn.disableErrorBoundaries)throw ee;var xe="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'";mn.suppressReactionErrors?console.warn("[mobx] (error in reaction '"+this.name+"' suppressed, fix error of causing action below)"):console.error(xe,ee),ma()&&Qo({type:"error",name:this.name,message:xe,error:""+ee}),mn.globalReactionErrorHandlers.forEach(function(Mt){return Mt(ee,z)})}},I.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(Ys(),dr(this),ra()))},I.prototype.getDisposer=function(){var ee=this.dispose.bind(this);return ee.$mobx=this,ee},I.prototype.toString=function(){return"Reaction["+this.name+"]"},I.prototype.trace=function(ee){void 0===ee&&(ee=!1),function Ac(){for(var I=[],ee=0;ee<arguments.length;ee++)I[ee]=arguments[ee];var z=!1;"boolean"==typeof I[I.length-1]&&(z=I.pop());var xe=function jl(I){switch(I.length){case 0:return mn.trackingDerivation;case 1:return Gr(I[0]);case 2:return Gr(I[0],I[1])}}(I);if(!xe)return U(!1);xe.isTracing===ot.NONE&&console.log("[mobx.trace] '"+xe.name+"' tracing enabled"),xe.isTracing=z?ot.BREAK:ot.LOG}(this,ee)},I}(),Ra=100,Fo=function(I){return I()};function Cs(){mn.inBatch>0||mn.isRunningReactions||Fo(Ks)}function Ks(){mn.isRunningReactions=!0;for(var I=mn.pendingReactions,ee=0;I.length>0;){++ee===Ra&&(console.error("Reaction doesn't converge to a stable state after "+Ra+" iterations. Probably there is a cycle in the reactive function: "+I[0]),I.splice(0));for(var z=I.splice(0),xe=0,Mt=z.length;xe<Mt;xe++)z[xe].runReaction()}mn.isRunningReactions=!1}var nl=Et("Reaction",Pl);function ma(){return!!mn.spyListeners.length}function Qo(I){if(mn.spyListeners.length)for(var ee=mn.spyListeners,z=0,xe=ee.length;z<xe;z++)ee[z](I)}function Go(I){Qo(e({},I,{spyReportStart:!0}))}var ys={spyReportEnd:!0};function rs(I){Qo(I?e({},I,{spyReportEnd:!0}):ys)}function Br(){U(!1)}function qi(I){return function(ee,z,xe){if(xe){if(xe.value)return{value:gi(I,xe.value),enumerable:!1,configurable:!0,writable:!0};var Mt=xe.initializer;return{enumerable:!1,configurable:!0,writable:!0,initializer:function(){return gi(I,Mt.call(this))}}}return function _t(I){return function(ee,z,xe){Object.defineProperty(ee,z,{configurable:!0,enumerable:!1,get:function(){},set:function(Mt){Me(this,z,ae(I,Mt))}})}}(I).apply(this,arguments)}}var ae=function(ee,z,xe,Mt){return 1===arguments.length&&"function"==typeof ee?gi(ee.name||"<unnamed action>",ee):2===arguments.length&&"function"==typeof z?gi(ee,z):1===arguments.length&&"string"==typeof ee?qi(ee):!0!==Mt?qi(z).apply(null,arguments):void(ee[z]=gi(ee.name||z,xe.value))};function yn(I,ee,z){Me(I,ee,gi(ee,z.bind(I)))}function Ei(I,ee){void 0===ee&&(ee=D);var Mt,z=ee&&ee.name||I.name||"Autorun@"+Q();if(ee.scheduler||ee.delay){var an=eo(ee),Er=!1;Mt=new Pl(z,function(){Er||(Er=!0,an(function(){Er=!1,Mt.isDisposed||Mt.track(li)}))},ee.onError,ee.requiresObservable)}else Mt=new Pl(z,function(){this.track(li)},ee.onError,ee.requiresObservable);function li(){I(Mt)}return Mt.schedule(),Mt.getDisposer()}ae.bound=function On(I,ee,z,xe){return!0===xe?(yn(I,ee,z.value),null):z?{configurable:!0,enumerable:!1,get:function(){return yn(this,ee,z.value||z.initializer.call(this)),this[ee]},set:Br}:{enumerable:!1,configurable:!0,set:function(Mt){yn(this,ee,Mt)},get:function(){}}};var Ui=function(I){return I()};function eo(I){return I.scheduler?I.scheduler:I.delay?function(ee){return setTimeout(ee,I.delay)}:Ui}function js(I,ee,z){void 0===z&&(z=D),"boolean"==typeof z&&(z={fireImmediately:z});var ws,xe=z.name||"Reaction@"+Q(),Mt=ae(xe,z.onError?function hs(I,ee){return function(){try{return ee.apply(this,arguments)}catch(z){I.call(this,z)}}}(z.onError,ee):ee),an=!z.scheduler&&!z.delay,Er=eo(z),li=!0,es=!1,Ha=z.compareStructural?Ri.structural:z.equals||Ri.default,cl=new Pl(xe,function(){li||an?Vl():es||(es=!0,Er(Vl))},z.onError,z.requiresObservable);function Vl(){if(es=!1,!cl.isDisposed){var zu=!1;cl.track(function(){var Lc=I(cl);zu=li||!Ha(ws,Lc),ws=Lc}),li&&z.fireImmediately&&Mt(ws,cl),!li&&!0===zu&&Mt(ws,cl),li&&(li=!1)}}return cl.schedule(),cl.getDisposer()}function ta(I,ee,z){return Ul("onBecomeUnobserved",I,ee,z)}function Ul(I,ee,z,xe){var Mt="function"==typeof xe?Gr(ee,z):Gr(ee),an="function"==typeof xe?xe:z,Er=Mt[I];return"function"!=typeof Er?U(!1):(Mt[I]=function(){Er.call(this),an.call(this)},function(){Mt[I]=Er})}function Ou(I){var ee={name:I.name};return I.observing&&I.observing.length>0&&(ee.dependencies=function ue(I){var ee=[];return I.forEach(function(z){-1===ee.indexOf(z)&&ee.push(z)}),ee}(I.observing).map(Ou)),ee}function gl(I){return 1!==arguments.length&&U(!1),function ka(I,ee){if(null==I)return!1;if(void 0!==ee){if(zr(I)){var z=I.$mobx;return z.values&&!!z.values[ee]}return!1}return zr(I)||!!I.$mobx||kn(I)||nl(I)||As(I)}(I)}function yl(I,ee){void 0===ee&&(ee=void 0),Ys();try{return I.apply(ee)}finally{ra()}}function St(I){return void 0!==I.interceptors&&I.interceptors.length>0}function ut(I,ee){var z=I.interceptors||(I.interceptors=[]);return z.push(ee),pe(function(){var xe=z.indexOf(ee);-1!==xe&&z.splice(xe,1)})}function Je(I,ee){var z=Wt();try{var xe=I.interceptors;if(xe)for(var Mt=0,an=xe.length;Mt<an&&(q(!(ee=xe[Mt](ee))||ee.type,"Intercept handlers should return nothing or a change object"),ee);Mt++);return ee}finally{kt(z)}}function hn(I){return void 0!==I.changeListeners&&I.changeListeners.length>0}function vi(I,ee){var z=I.changeListeners||(I.changeListeners=[]);return z.push(ee),pe(function(){var xe=z.indexOf(ee);-1!==xe&&z.splice(xe,1)})}function wo(I,ee){var z=Wt(),xe=I.changeListeners;if(xe){for(var Mt=0,an=(xe=xe.slice()).length;Mt<an;Mt++)xe[Mt](ee);kt(z)}}var Si=function(){var I=!1,ee={};return Object.defineProperty(ee,"0",{set:function(){I=!0}}),Object.create(ee)[0]=1,!1===I}(),ca=0,Xs=function I(){};(function Rc(I,ee){typeof Object.setPrototypeOf<"u"?Object.setPrototypeOf(I.prototype,ee):typeof I.prototype.__proto__<"u"?I.prototype.__proto__=ee:I.prototype=ee})(Xs,Array.prototype),Object.isFrozen(Array)&&["constructor","push","shift","concat","pop","unshift","replace","find","findIndex","splice","reverse","sort"].forEach(function(I){Object.defineProperty(Xs.prototype,I,{configurable:!0,writable:!0,value:Array.prototype[I]})});var Zl=function(){function I(ee,z,xe,Mt){this.array=xe,this.owned=Mt,this.values=[],this.lastKnownLength=0,this.atom=new _n(ee||"ObservableArray@"+Q()),this.enhancer=function(an,Er){return z(an,Er,ee+"[..]")}}return I.prototype.dehanceValue=function(ee){return void 0!==this.dehancer?this.dehancer(ee):ee},I.prototype.dehanceValues=function(ee){return void 0!==this.dehancer&&ee.length>0?ee.map(this.dehancer):ee},I.prototype.intercept=function(ee){return ut(this,ee)},I.prototype.observe=function(ee,z){return void 0===z&&(z=!1),z&&ee({object:this.array,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),vi(this,ee)},I.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},I.prototype.setArrayLength=function(ee){if("number"!=typeof ee||ee<0)throw new Error("[mobx.array] Out of range: "+ee);var z=this.values.length;if(ee!==z)if(ee>z){for(var xe=new Array(ee-z),Mt=0;Mt<ee-z;Mt++)xe[Mt]=void 0;this.spliceWithArray(z,0,xe)}else this.spliceWithArray(ee,z-ee)},I.prototype.updateArrayLength=function(ee,z){if(ee!==this.lastKnownLength)throw new Error("[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?");this.lastKnownLength+=z,z>0&&ee+z+1>ca&&eu(ee+z+1)},I.prototype.spliceWithArray=function(ee,z,xe){var Mt=this;An(this.atom);var an=this.values.length;if(void 0===ee?ee=0:ee>an?ee=an:ee<0&&(ee=Math.max(0,an+ee)),z=1===arguments.length?an-ee:null==z?0:Math.max(0,Math.min(z,an-ee)),void 0===xe&&(xe=T),St(this)){var Er=Je(this,{object:this.array,type:"splice",index:ee,removedCount:z,added:xe});if(!Er)return T;z=Er.removedCount,xe=Er.added}xe=0===xe.length?xe:xe.map(function(ws){return Mt.enhancer(ws,void 0)}),this.updateArrayLength(an,xe.length-z);var es=this.spliceItemsIntoValues(ee,z,xe);return(0!==z||0!==xe.length)&&this.notifyArraySplice(ee,xe,es),this.dehanceValues(es)},I.prototype.spliceItemsIntoValues=function(ee,z,xe){var Mt;if(xe.length<1e4)return(Mt=this.values).splice.apply(Mt,h([ee,z],xe));var an=this.values.slice(ee,ee+z);return this.values=this.values.slice(0,ee).concat(xe,this.values.slice(ee+z)),an},I.prototype.notifyArrayChildUpdate=function(ee,z,xe){var Mt=!this.owned&&ma(),an=hn(this),Er=an||Mt?{object:this.array,type:"update",index:ee,newValue:z,oldValue:xe}:null;Mt&&Go(e({},Er,{name:this.atom.name})),this.atom.reportChanged(),an&&wo(this,Er),Mt&&rs()},I.prototype.notifyArraySplice=function(ee,z,xe){var Mt=!this.owned&&ma(),an=hn(this),Er=an||Mt?{object:this.array,type:"splice",index:ee,removed:xe,added:z,removedCount:xe.length,addedCount:z.length}:null;Mt&&Go(e({},Er,{name:this.atom.name})),this.atom.reportChanged(),an&&wo(this,Er),Mt&&rs()},I}(),qc=function(I){function ee(z,xe,Mt,an){void 0===Mt&&(Mt="ObservableArray@"+Q()),void 0===an&&(an=!1);var Er=I.call(this)||this,li=new Zl(Mt,xe,Er,an);if(yt(Er,"$mobx",li),z&&z.length){var es=ni(!0);Er.spliceWithArray(0,0,z),Vr(es)}return Si&&Object.defineProperty(li.array,"0",gc),Er}return c(ee,I),ee.prototype.intercept=function(z){return this.$mobx.intercept(z)},ee.prototype.observe=function(z,xe){return void 0===xe&&(xe=!1),this.$mobx.observe(z,xe)},ee.prototype.clear=function(){return this.splice(0)},ee.prototype.concat=function(){for(var z=[],xe=0;xe<arguments.length;xe++)z[xe]=arguments[xe];return this.$mobx.atom.reportObserved(),Array.prototype.concat.apply(this.peek(),z.map(function(Mt){return uc(Mt)?Mt.peek():Mt}))},ee.prototype.replace=function(z){return this.$mobx.spliceWithArray(0,this.$mobx.values.length,z)},ee.prototype.toJS=function(){return this.slice()},ee.prototype.toJSON=function(){return this.toJS()},ee.prototype.peek=function(){return this.$mobx.atom.reportObserved(),this.$mobx.dehanceValues(this.$mobx.values)},ee.prototype.find=function(z,xe,Mt){void 0===Mt&&(Mt=0);var an=this.findIndex.apply(this,arguments);return-1===an?void 0:this.get(an)},ee.prototype.findIndex=function(z,xe,Mt){void 0===Mt&&(Mt=0);for(var an=this.peek(),Er=an.length,li=Mt;li<Er;li++)if(z.call(xe,an[li],li,this))return li;return-1},ee.prototype.splice=function(z,xe){for(var Mt=[],an=2;an<arguments.length;an++)Mt[an-2]=arguments[an];switch(arguments.length){case 0:return[];case 1:return this.$mobx.spliceWithArray(z);case 2:return this.$mobx.spliceWithArray(z,xe)}return this.$mobx.spliceWithArray(z,xe,Mt)},ee.prototype.spliceWithArray=function(z,xe,Mt){return this.$mobx.spliceWithArray(z,xe,Mt)},ee.prototype.push=function(){for(var z=[],xe=0;xe<arguments.length;xe++)z[xe]=arguments[xe];var Mt=this.$mobx;return Mt.spliceWithArray(Mt.values.length,0,z),Mt.values.length},ee.prototype.pop=function(){return this.splice(Math.max(this.$mobx.values.length-1,0),1)[0]},ee.prototype.shift=function(){return this.splice(0,1)[0]},ee.prototype.unshift=function(){for(var z=[],xe=0;xe<arguments.length;xe++)z[xe]=arguments[xe];var Mt=this.$mobx;return Mt.spliceWithArray(0,0,z),Mt.values.length},ee.prototype.reverse=function(){var z=this.slice();return z.reverse.apply(z,arguments)},ee.prototype.sort=function(z){var xe=this.slice();return xe.sort.apply(xe,arguments)},ee.prototype.remove=function(z){var xe=this.$mobx.dehanceValues(this.$mobx.values).indexOf(z);return xe>-1&&(this.splice(xe,1),!0)},ee.prototype.move=function(z,xe){function Mt(li){if(li<0)throw new Error("[mobx.array] Index out of bounds: "+li+" is negative");var es=this.$mobx.values.length;if(li>=es)throw new Error("[mobx.array] Index out of bounds: "+li+" is not smaller than "+es)}if(Mt.call(this,z),Mt.call(this,xe),z!==xe){var Er,an=this.$mobx.values;Er=z<xe?h(an.slice(0,z),an.slice(z+1,xe+1),[an[z]],an.slice(xe+1)):h(an.slice(0,xe),[an[z]],an.slice(xe,z),an.slice(z+1)),this.replace(Er)}},ee.prototype.get=function(z){var xe=this.$mobx;if(xe){if(z<xe.values.length)return xe.atom.reportObserved(),xe.dehanceValue(xe.values[z]);console.warn("[mobx.array] Attempt to read an array index ("+z+") that is out of bounds ("+xe.values.length+"). Please check length first. Out of bound indices will not be tracked by MobX")}},ee.prototype.set=function(z,xe){var Mt=this.$mobx,an=Mt.values;if(z<an.length){An(Mt.atom);var Er=an[z];if(St(Mt)){var li=Je(Mt,{type:"update",object:this,index:z,newValue:xe});if(!li)return;xe=li.newValue}(xe=Mt.enhancer(xe,Er))!==Er&&(an[z]=xe,Mt.notifyArrayChildUpdate(z,xe,Er))}else{if(z!==an.length)throw new Error("[mobx.array] Index out of bounds, "+z+" is larger than "+an.length);Mt.spliceWithArray(z,0,[xe])}},ee}(Xs);Dn(qc.prototype,function(){this.$mobx.atom.reportObserved();var I=this,ee=0;return Rt({next:function(){return ee<I.length?{value:I[ee++],done:!1}:{done:!0,value:void 0}}})}),Object.defineProperty(qc.prototype,"length",{enumerable:!1,configurable:!0,get:function(){return this.$mobx.getArrayLength()},set:function(I){this.$mobx.setArrayLength(I)}}),Me(qc.prototype,Xt(),"Array"),["every","filter","forEach","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some","toString","toLocaleString"].forEach(function(I){var ee=Array.prototype[I];q("function"==typeof ee,"Base function not defined on Array prototype: '"+I+"'"),Me(qc.prototype,I,function(){return ee.apply(this.peek(),arguments)})}),function Ue(I,ee){for(var z=0;z<ee.length;z++)Me(I,ee[z],I[ee[z]])}(qc.prototype,["constructor","intercept","observe","clear","concat","get","replace","toJS","toJSON","peek","find","findIndex","splice","spliceWithArray","push","pop","set","shift","unshift","reverse","sort","remove","move","toString","toLocaleString"]);var gc=zl(0);function zl(I){return{enumerable:!1,configurable:!1,get:function(){return this.get(I)},set:function(ee){this.set(I,ee)}}}function Ju(I){Object.defineProperty(qc.prototype,""+I,zl(I))}function eu(I){for(var ee=ca;ee<I;ee++)Ju(ee);ca=I}eu(1e3);var Cu=Et("ObservableArrayAdministration",Zl);function uc(I){return ie(I)&&Cu(I.$mobx)}var tu={},Ll=function(){function I(ee,z,xe){if(void 0===z&&(z=Lr),void 0===xe&&(xe="ObservableMap@"+Q()),this.enhancer=z,this.name=xe,this.$mobx=tu,this._keys=new qc(void 0,so,this.name+".keys()",!0),"function"!=typeof Map)throw new Error("mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js");this._data=new Map,this._hasMap=new Map,this.merge(ee)}return I.prototype._has=function(ee){return this._data.has(ee)},I.prototype.has=function(ee){var z=this;if(!mn.trackingDerivation)return this._has(ee);var xe=this._hasMap.get(ee);if(!xe){var Mt=xe=new Gi(this._has(ee),so,this.name+"."+rl(ee)+"?",!1);this._hasMap.set(ee,Mt),ta(Mt,function(){return z._hasMap.delete(ee)})}return xe.get()},I.prototype.set=function(ee,z){var xe=this._has(ee);if(St(this)){var Mt=Je(this,{type:xe?"update":"add",object:this,newValue:z,name:ee});if(!Mt)return this;z=Mt.newValue}return xe?this._updateValue(ee,z):this._addValue(ee,z),this},I.prototype.delete=function(ee){var z=this;if(St(this)&&!(xe=Je(this,{type:"delete",object:this,name:ee})))return!1;if(this._has(ee)){var Mt=ma(),an=hn(this),xe=an||Mt?{type:"delete",object:this,oldValue:this._data.get(ee).value,name:ee}:null;return Mt&&Go(e({},xe,{name:this.name,key:ee})),yl(function(){z._keys.remove(ee),z._updateHasMapEntry(ee,!1),z._data.get(ee).setNewValue(void 0),z._data.delete(ee)}),an&&wo(this,xe),Mt&&rs(),!0}return!1},I.prototype._updateHasMapEntry=function(ee,z){var xe=this._hasMap.get(ee);xe&&xe.setNewValue(z)},I.prototype._updateValue=function(ee,z){var xe=this._data.get(ee);if((z=xe.prepareNewValue(z))!==mn.UNCHANGED){var Mt=ma(),an=hn(this),Er=an||Mt?{type:"update",object:this,oldValue:xe.value,name:ee,newValue:z}:null;Mt&&Go(e({},Er,{name:this.name,key:ee})),xe.setNewValue(z),an&&wo(this,Er),Mt&&rs()}},I.prototype._addValue=function(ee,z){var xe=this;yl(function(){var li=new Gi(z,xe.enhancer,xe.name+"."+rl(ee),!1);xe._data.set(ee,li),z=li.value,xe._updateHasMapEntry(ee,!0),xe._keys.push(ee)});var Mt=ma(),an=hn(this),Er=an||Mt?{type:"add",object:this,name:ee,newValue:z}:null;Mt&&Go(e({},Er,{name:this.name,key:ee})),an&&wo(this,Er),Mt&&rs()},I.prototype.get=function(ee){return this.has(ee)?this.dehanceValue(this._data.get(ee).get()):this.dehanceValue(void 0)},I.prototype.dehanceValue=function(ee){return void 0!==this.dehancer?this.dehancer(ee):ee},I.prototype.keys=function(){return this._keys[bn()]()},I.prototype.values=function(){var ee=this,z=0;return Rt({next:function(){return z<ee._keys.length?{value:ee.get(ee._keys[z++]),done:!1}:{value:void 0,done:!0}}})},I.prototype.entries=function(){var ee=this,z=0;return Rt({next:function(){if(z<ee._keys.length){var xe=ee._keys[z++];return{value:[xe,ee.get(xe)],done:!1}}return{done:!0}}})},I.prototype.forEach=function(ee,z){var xe=this;this._keys.forEach(function(Mt){return ee.call(z,xe.get(Mt),Mt,xe)})},I.prototype.merge=function(ee){var z=this;return qa(ee)&&(ee=ee.toJS()),yl(function(){me(ee)?Object.keys(ee).forEach(function(xe){return z.set(xe,ee[xe])}):Array.isArray(ee)?ee.forEach(function(xe){var Mt=f(xe,2);return z.set(Mt[0],Mt[1])}):Ct(ee)?ee.constructor!==Map?U("Cannot initialize from classes that inherit from Map: "+ee.constructor.name):ee.forEach(function(xe,Mt){return z.set(Mt,xe)}):null!=ee&&U("Cannot initialize map from "+ee)}),this},I.prototype.clear=function(){var ee=this;yl(function(){Wn(function(){ee._keys.slice().forEach(function(z){return ee.delete(z)})})})},I.prototype.replace=function(ee){var z=this;return yl(function(){for(var xe=function Oe(I){return Ct(I)||qa(I)?I:Array.isArray(I)?new Map(I):me(I)?new Map(Object.entries(I)):U("Cannot convert to map from '"+I+"'")}(ee),Mt=z._keys,an=Array.from(xe.keys()),Er=!1,li=0;li<Mt.length;li++){var es=Mt[li];Mt.length===an.length&&es!==an[li]&&(Er=!0),xe.has(es)||(Er=!0,z.delete(es))}xe.forEach(function(ws,Ha){z._data.has(Ha)||(Er=!0),z.set(Ha,ws)}),Er&&z._keys.replace(an)}),this},Object.defineProperty(I.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),I.prototype.toPOJO=function(){var ee=this,z={};return this._keys.forEach(function(xe){return z["symbol"==typeof xe?xe:rl(xe)]=ee.get(xe)}),z},I.prototype.toJS=function(){var ee=this,z=new Map;return this._keys.forEach(function(xe){return z.set(xe,ee.get(xe))}),z},I.prototype.toJSON=function(){return this.toPOJO()},I.prototype.toString=function(){var ee=this;return this.name+"[{ "+this._keys.map(function(z){return rl(z)+": "+ee.get(z)}).join(", ")+" }]"},I.prototype.observe=function(ee,z){return vi(this,ee)},I.prototype.intercept=function(ee){return ut(this,ee)},I}();function rl(I){return I&&I.toString?I.toString():new String(I).toString()}Dn(Ll.prototype,function(){return this.entries()}),yt(Ll.prototype,Xt(),"Map");var qa=Et("ObservableMap",Ll),X={},Ce=function(){function I(ee,z,xe){if(void 0===z&&(z=Lr),void 0===xe&&(xe="ObservableSet@"+Q()),this.name=xe,this.$mobx=X,this._data=new Set,this._atom=function ri(I,ee,z){void 0===ee&&(ee=j),void 0===z&&(z=j);var xe=new _n(I);return function ia(I,ee,z){Ul("onBecomeObserved",I,ee,z)}(xe,ee),ta(xe,z),xe}(this.name),"function"!=typeof Set)throw new Error("mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js");this.enhancer=function(Mt,an){return z(Mt,an,xe)},ee&&this.replace(ee)}return I.prototype.dehanceValue=function(ee){return void 0!==this.dehancer?this.dehancer(ee):ee},I.prototype.clear=function(){var ee=this;yl(function(){Wn(function(){ee._data.forEach(function(z){ee.delete(z)})})})},I.prototype.forEach=function(ee,z){var xe=this;this._data.forEach(function(Mt){ee.call(z,Mt,Mt,xe)})},Object.defineProperty(I.prototype,"size",{get:function(){return this._atom.reportObserved(),this._data.size},enumerable:!0,configurable:!0}),I.prototype.add=function(ee){var z=this;if(An(this._atom),St(this)&&!(xe=Je(this,{type:"add",object:this,newValue:ee})))return this;if(!this.has(ee)){yl(function(){z._data.add(z.enhancer(ee,void 0)),z._atom.reportChanged()});var Mt=ma(),an=hn(this),xe=an||Mt?{type:"add",object:this,newValue:ee}:null;an&&wo(this,xe)}return this},I.prototype.delete=function(ee){var z=this;if(St(this)&&!(xe=Je(this,{type:"delete",object:this,oldValue:ee})))return!1;if(this.has(ee)){var Mt=ma(),an=hn(this),xe=an||Mt?{type:"delete",object:this,oldValue:ee}:null;return yl(function(){z._atom.reportChanged(),z._data.delete(ee)}),an&&wo(this,xe),!0}return!1},I.prototype.has=function(ee){return this._atom.reportObserved(),this._data.has(this.dehanceValue(ee))},I.prototype.entries=function(){var ee=0,z=ht(this.keys()),xe=ht(this.values());return Rt({next:function(){var Mt=ee;return ee+=1,Mt<xe.length?{value:[z[Mt],xe[Mt]],done:!1}:{done:!0}}})},I.prototype.keys=function(){return this.values()},I.prototype.values=function(){this._atom.reportObserved();var xe,ee=this,z=0;return void 0!==this._data.values?xe=ht(this._data.values()):(xe=[],this._data.forEach(function(Mt){return xe.push(Mt)})),Rt({next:function(){return z<xe.length?{value:ee.dehanceValue(xe[z++]),done:!1}:{done:!0}}})},I.prototype.replace=function(ee){var z=this;return gt(ee)&&(ee=ee.toJS()),yl(function(){Array.isArray(ee)||Qt(ee)?(z.clear(),ee.forEach(function(xe){return z.add(xe)})):null!=ee&&U("Cannot initialize set from "+ee)}),this},I.prototype.observe=function(ee,z){return vi(this,ee)},I.prototype.intercept=function(ee){return ut(this,ee)},I.prototype.toJS=function(){return new Set(this)},I.prototype.toString=function(){return this.name+"[ "+ht(this.keys()).join(", ")+" ]"},I}();Dn(Ce.prototype,function(){return this.values()}),yt(Ce.prototype,Xt(),"Set");var gt=Et("ObservableSet",Ce),Ke=function(){function I(ee,z,xe){this.target=ee,this.name=z,this.defaultEnhancer=xe,this.values={}}return I.prototype.read=function(ee,z){if(this.target===ee||(this.illegalAccess(ee,z),this.values[z]))return this.values[z].get()},I.prototype.write=function(ee,z,xe){var Mt=this.target;Mt!==ee&&this.illegalAccess(ee,z);var an=this.values[z];if(an instanceof Mo)an.set(xe);else{if(St(this)){if(!(Er=Je(this,{type:"update",object:Mt,name:z,newValue:xe})))return;xe=Er.newValue}if((xe=an.prepareNewValue(xe))!==mn.UNCHANGED){var li=hn(this),es=ma(),Er=li||es?{type:"update",object:Mt,oldValue:an.value,name:z,newValue:xe}:null;es&&Go(e({},Er,{name:this.name,key:z})),an.setNewValue(xe),li&&wo(this,Er),es&&rs()}}},I.prototype.remove=function(ee){if(this.values[ee]){var z=this.target;if(St(this)&&!(xe=Je(this,{object:z,name:ee,type:"remove"})))return;try{Ys();var Mt=hn(this),an=ma(),Er=this.values[ee].get();this.keys&&this.keys.remove(ee),delete this.values[ee],delete this.target[ee];var xe=Mt||an?{type:"remove",object:z,oldValue:Er,name:ee}:null;an&&Go(e({},xe,{name:this.name,key:ee})),Mt&&wo(this,xe),an&&rs()}finally{ra()}}},I.prototype.illegalAccess=function(ee,z){console.warn("Property '"+z+"' of '"+ee+"' was accessed through the prototype chain. Use 'decorate' instead to declare the prop or access it statically through it's owner")},I.prototype.observe=function(ee,z){return vi(this,ee)},I.prototype.intercept=function(ee){return ut(this,ee)},I.prototype.getKeys=function(){var ee=this;return void 0===this.keys&&(this.keys=new qc(Object.keys(this.values).filter(function(z){return ee.values[z]instanceof Gi}),so,"keys("+this.name+")",!0)),this.keys.slice()},I}();function Gt(I,ee,z){void 0===ee&&(ee=""),void 0===z&&(z=Lr);var xe=I.$mobx;return xe||(me(I)||(ee=(I.constructor.name||"ObservableObject")+"@"+Q()),ee||(ee="ObservableObject@"+Q()),yt(I,"$mobx",xe=new Ke(I,ee,z)),xe)}var Fr=Object.create(null),Oi=Object.create(null);function Dr(I){return I.$mobx||(At(I),I.$mobx)}var Kn=Et("ObservableObjectAdministration",Ke);function zr(I){return!!ie(I)&&(At(I),Kn(I.$mobx))}function Gr(I,ee){if("object"==typeof I&&null!==I){if(uc(I))return void 0!==ee&&U(!1),I.$mobx.atom;if(gt(I))return I.$mobx;if(qa(I)){var z=I;return void 0===ee?Gr(z._keys):((xe=z._data.get(ee)||z._hasMap.get(ee))||U(!1),xe)}var xe;if(At(I),zr(I))return ee?((xe=I.$mobx.values[ee])||U(!1),xe):U(!1);if(kn(I)||As(I)||nl(I))return I}else if("function"==typeof I&&nl(I.$mobx))return I.$mobx;return U(!1)}function ce(I,ee){return I||U("Expecting some object"),void 0!==ee?ce(Gr(I,ee)):kn(I)||As(I)||nl(I)||qa(I)||gt(I)?I:(At(I),I.$mobx?I.$mobx:void U(!1))}var Be=Object.prototype.toString;function Bt(I,ee,z){return void 0===z&&(z=-1),Kt(I,ee,z)}function Kt(I,ee,z,xe,Mt){if(I===ee)return 0!==I||1/I==1/ee;if(null==I||null==ee)return!1;if(I!=I)return ee!=ee;var an=typeof I;if("function"!==an&&"object"!==an&&"object"!=typeof ee)return!1;I=Bn(I),ee=Bn(ee);var Er=Be.call(I);if(Er!==Be.call(ee))return!1;switch(Er){case"[object RegExp]":case"[object String]":return""+I==""+ee;case"[object Number]":return+I!=+I?+ee!=+ee:0==+I?1/+I==1/ee:+I==+ee;case"[object Date]":case"[object Boolean]":return+I==+ee;case"[object Symbol]":return typeof Symbol<"u"&&Symbol.valueOf.call(I)===Symbol.valueOf.call(ee)}var li="[object Array]"===Er;if(!li){if("object"!=typeof I||"object"!=typeof ee)return!1;var es=I.constructor,ws=ee.constructor;if(es!==ws&&!("function"==typeof es&&es instanceof es&&"function"==typeof ws&&ws instanceof ws)&&"constructor"in I&&"constructor"in ee)return!1}if(0===z)return!1;z<0&&(z=-1),Mt=Mt||[];for(var Ha=(xe=xe||[]).length;Ha--;)if(xe[Ha]===I)return Mt[Ha]===ee;if(xe.push(I),Mt.push(ee),li){if((Ha=I.length)!==ee.length)return!1;for(;Ha--;)if(!Kt(I[Ha],ee[Ha],z-1,xe,Mt))return!1}else{var cl=Object.keys(I),Vl=void 0;if(Ha=cl.length,Object.keys(ee).length!==Ha)return!1;for(;Ha--;)if(!sr(ee,Vl=cl[Ha])||!Kt(I[Vl],ee[Vl],z-1,xe,Mt))return!1}return xe.pop(),Mt.pop(),!0}function Bn(I){return uc(I)?I.peek():Ct(I)||qa(I)||Qt(I)||gt(I)?ht(I.entries()):I}function sr(I,ee){return Object.prototype.hasOwnProperty.call(I,ee)}"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function Lo(I){return mn.spyListeners.push(I),pe(function(){mn.spyListeners=mn.spyListeners.filter(function(ee){return ee!==I})})},extras:{getDebugName:function Le(I,ee){return(void 0!==ee?Gr(I,ee):zr(I)||qa(I)||gt(I)?ce(I):Gr(I)).name}},$mobx:"$mobx"});var So=o(7740),Ms=o(42137),Hs=o(849),us=o(4214);const ss=function Ma(I,ee,z,xe,Mt,an){return(0,us.Z)(I)&&(0,us.Z)(ee)&&(an.set(ee,I),(0,Hs.Z)(I,ee,void 0,Ma,an),an.delete(ee)),I};var Dt=(0,o(98376).Z)(function(I,ee,z,xe){(0,Hs.Z)(I,ee,z,xe)});const Xe=Dt;var rn=(0,Ms.Z)(function(I){return I.push(void 0,ss),(0,So.Z)(Xe,void 0,I)});const zn=rn;var ii=o(34654),Ai=o(98286),qo=o(6539);const ks=function oa(I){return"symbol"==typeof I||(0,qo.Z)(I)&&"[object Symbol]"==(0,Ai.Z)(I)};var Ds=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Bl=/^\w*$/;const Ea=function ja(I,ee){if((0,ii.Z)(I))return!1;var z=typeof I;return!("number"!=z&&"symbol"!=z&&"boolean"!=z&&null!=I&&!ks(I))||Bl.test(I)||!Ds.test(I)||null!=ee&&I in Object(ee)};var ac=o(94013),Bc="Expected a function";function _e(I,ee){if("function"!=typeof I||null!=ee&&"function"!=typeof ee)throw new TypeError(Bc);var z=function(){var xe=arguments,Mt=ee?ee.apply(this,xe):xe[0],an=z.cache;if(an.has(Mt))return an.get(Mt);var Er=I.apply(this,xe);return z.cache=an.set(Mt,Er)||an,Er};return z.cache=new(_e.Cache||ac.Z),z}_e.Cache=ac.Z;const de=_e;var Vt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ht=/\\(\\)?/g,wn=function je(I){var ee=de(I,function(xe){return 500===z.size&&z.clear(),xe}),z=ee.cache;return ee}(function(I){var ee=[];return 46===I.charCodeAt(0)&&ee.push(""),I.replace(Vt,function(z,xe,Mt,an){ee.push(Mt?an.replace(Ht,"$1"):xe||z)}),ee});const ar=wn;var cr=o(35770);const ao=function _i(I,ee){for(var z=-1,xe=null==I?0:I.length,Mt=Array(xe);++z<xe;)Mt[z]=ee(I[z],z,I);return Mt};var Wo=cr.Z?cr.Z.prototype:void 0,Qs=Wo?Wo.toString:void 0;const dc=function Pa(I){if("string"==typeof I)return I;if((0,ii.Z)(I))return ao(I,Pa)+"";if(ks(I))return Qs?Qs.call(I):"";var ee=I+"";return"0"==ee&&1/I==-Infinity?"-0":ee},nu=function Tu(I){return null==I?"":dc(I)},uu=function fa(I,ee){return(0,ii.Z)(I)?I:Ea(I,ee)?[I]:ar(nu(I))};const Ol=function Iu(I){if("string"==typeof I||ks(I))return I;var ee=I+"";return"0"==ee&&1/I==-Infinity?"-0":ee},du=function il(I,ee){for(var z=0,xe=(ee=uu(ee,I)).length;null!=I&&z<xe;)I=I[Ol(ee[z++])];return z&&z==xe?I:void 0},xl=function Al(I,ee,z){var xe=null==I?void 0:du(I,ee);return void 0===xe?z:xe};var Gc=o(15131);var En=o(15427),Pc=o(57640),Du=o(26438),fl=o(31550);const ju=(0,o(24184).Z)(Object.keys,Object);var fu=Object.prototype.hasOwnProperty;var Cd=o(18402);const nc=function xp(I){return(0,Cd.Z)(I)?(0,Du.Z)(I):function fd(I){if(!(0,fl.Z)(I))return ju(I);var ee=[];for(var z in Object(I))fu.call(I,z)&&"constructor"!=z&&ee.push(z);return ee}(I)};var ua=o(34673);var jd=o(27672),lc=o(36889);const fc=function cp(){return[]};var Ru=Object.prototype.propertyIsEnumerable,$o=Object.getOwnPropertySymbols,be=$o?function(I){return null==I?[]:(I=Object(I),function zo(I,ee){for(var z=-1,xe=null==I?0:I.length,Mt=0,an=[];++z<xe;){var Er=I[z];ee(Er,z,I)&&(an[Mt++]=Er)}return an}($o(I),function(ee){return Ru.call(I,ee)}))}:fc;const Ne=be,fn=function Ot(I,ee){for(var z=-1,xe=ee.length,Mt=I.length;++z<xe;)I[Mt+z]=ee[z];return I};var k=o(11595),C=Object.getOwnPropertySymbols?function(I){for(var ee=[];I;)fn(ee,Ne(I)),I=(0,k.Z)(I);return ee}:fc;const N=C,Te=function he(I,ee,z){var xe=ee(I);return(0,ii.Z)(I)?xe:fn(xe,z(I))},it=function $e(I){return Te(I,nc,Ne)},pn=function $t(I){return Te(I,ua.Z,N)};var Fn=o(10259),Zn=o(40309);const Hr=(0,Fn.Z)(Zn.Z,"DataView");var Ci=o(54673);const $i=(0,Fn.Z)(Zn.Z,"Promise"),Ho=(0,Fn.Z)(Zn.Z,"Set"),vo=(0,Fn.Z)(Zn.Z,"WeakMap");var ms=o(22035),ds="[object Map]",el="[object Promise]",ga="[object Set]",va="[object WeakMap]",vc="[object DataView]",Gu=(0,ms.Z)(Hr),wl=(0,ms.Z)(Ci.Z),Yc=(0,ms.Z)($i),Nl=(0,ms.Z)(Ho),_u=(0,ms.Z)(vo),jc=Ai.Z;(Hr&&jc(new Hr(new ArrayBuffer(1)))!=vc||Ci.Z&&jc(new Ci.Z)!=ds||$i&&jc($i.resolve())!=el||Ho&&jc(new Ho)!=ga||vo&&jc(new vo)!=va)&&(jc=function(I){var ee=(0,Ai.Z)(I),z="[object Object]"==ee?I.constructor:void 0,xe=z?(0,ms.Z)(z):"";if(xe)switch(xe){case Gu:return vc;case wl:return ds;case Yc:return el;case Nl:return ga;case _u:return va}return ee});const rd=jc;var Pu=Object.prototype.hasOwnProperty;var af=o(80609);var bd=/\w*$/;var Gf=cr.Z?cr.Z.prototype:void 0,Kl=Gf?Gf.valueOf:void 0;var vt=o(1044);const mf=function Wa(I,ee,z){var xe=I.constructor;switch(ee){case"[object ArrayBuffer]":return(0,af.Z)(I);case"[object Boolean]":case"[object Date]":return new xe(+I);case"[object DataView]":return function xc(I,ee){var z=ee?(0,af.Z)(I.buffer):I.buffer;return new I.constructor(z,I.byteOffset,I.byteLength)}(I,z);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,vt.Z)(I,z);case"[object Map]":case"[object Set]":return new xe;case"[object Number]":case"[object String]":return new xe(I);case"[object RegExp]":return function Ld(I){var ee=new I.constructor(I.source,bd.exec(I));return ee.lastIndex=I.lastIndex,ee}(I);case"[object Symbol]":return function ne(I){return Kl?Object(Kl.call(I)):{}}(I)}};var Xl=o(42542),kd=o(25014);var ed=o(21162),fp=o(48514),__=fp.Z&&fp.Z.isMap;const wp=__?(0,ed.Z)(__):function p_(I){return(0,qo.Z)(I)&&"[object Map]"==rd(I)};var h_=fp.Z&&fp.Z.isSet;const pp=h_?(0,ed.Z)(h_):function $d(I){return(0,qo.Z)(I)&&"[object Set]"==rd(I)};var vf="[object Arguments]",zp="[object Function]",cm="[object Object]",yc={};yc[vf]=yc["[object Array]"]=yc["[object ArrayBuffer]"]=yc["[object DataView]"]=yc["[object Boolean]"]=yc["[object Date]"]=yc["[object Float32Array]"]=yc["[object Float64Array]"]=yc["[object Int8Array]"]=yc["[object Int16Array]"]=yc["[object Int32Array]"]=yc["[object Map]"]=yc["[object Number]"]=yc[cm]=yc["[object RegExp]"]=yc["[object Set]"]=yc["[object String]"]=yc["[object Symbol]"]=yc["[object Uint8Array]"]=yc["[object Uint8ClampedArray]"]=yc["[object Uint16Array]"]=yc["[object Uint32Array]"]=!0,yc["[object Error]"]=yc[zp]=yc["[object WeakMap]"]=!1;const Qm=function hd(I,ee,z,xe,Mt,an){var Er,li=1&ee,es=2&ee,ws=4&ee;if(z&&(Er=Mt?z(I,xe,Mt,an):z(I)),void 0!==Er)return Er;if(!(0,us.Z)(I))return I;var Ha=(0,ii.Z)(I);if(Ha){if(Er=function Ku(I){var ee=I.length,z=new I.constructor(ee);return ee&&"string"==typeof I[0]&&Pu.call(I,"index")&&(z.index=I.index,z.input=I.input),z}(I),!li)return(0,lc.Z)(I,Er)}else{var cl=rd(I),Vl=cl==zp||"[object GeneratorFunction]"==cl;if((0,kd.Z)(I))return(0,jd.Z)(I,li);if(cl==cm||cl==vf||Vl&&!Mt){if(Er=es||Vl?{}:(0,Xl.Z)(I),!li)return es?function B(I,ee){return(0,Pc.Z)(I,N(I),ee)}(I,function lp(I,ee){return I&&(0,Pc.Z)(ee,(0,ua.Z)(ee),I)}(Er,I)):function ve(I,ee){return(0,Pc.Z)(I,Ne(I),ee)}(I,function Qu(I,ee){return I&&(0,Pc.Z)(ee,nc(ee),I)}(Er,I))}else{if(!yc[cl])return Mt?I:{};Er=mf(I,cl,li)}}an||(an=new Gc.Z);var zu=an.get(I);if(zu)return zu;an.set(I,Er),pp(I)?I.forEach(function(ku){Er.add(hd(ku,ee,z,ku,I,an))}):wp(I)&&I.forEach(function(ku,Vu){Er.set(Vu,hd(ku,ee,z,Vu,I,an))});var lu=Ha?void 0:(ws?es?pn:it:es?ua.Z:nc)(I);return function xa(I,ee){for(var z=-1,xe=null==I?0:I.length;++z<xe&&!1!==ee(I[z],z,I););}(lu||I,function(ku,Vu){lu&&(ku=I[Vu=ku]),(0,En.Z)(Er,Vu,hd(ku,ee,z,Vu,I,an))}),Er},Od=function mh(I){var ee=null==I?0:I.length;return ee?I[ee-1]:void 0},L_=function Wd(I,ee){return ee.length<2?I:du(I,function Vf(I,ee,z){var xe=-1,Mt=I.length;ee<0&&(ee=-ee>Mt?0:Mt+ee),(z=z>Mt?Mt:z)<0&&(z+=Mt),Mt=ee>z?0:z-ee>>>0,ee>>>=0;for(var an=Array(Mt);++xe<Mt;)an[xe]=I[xe+ee];return an}(ee,0,-1))},jh=function v_(I,ee){return ee=uu(ee,I),null==(I=L_(I,ee))||delete I[Ol(Od(ee))]};var gp=o(20300);const k_=function Wp(I){return(0,gp.Z)(I)?void 0:I};var Jp=o(40591),$_=cr.Z?cr.Z.isConcatSpreadable:void 0;const Hd=function y_(I){return(0,ii.Z)(I)||(0,Jp.Z)(I)||!!($_&&I&&I[$_])},E_=function H_(I,ee,z,xe,Mt){var an=-1,Er=I.length;for(z||(z=Hd),Mt||(Mt=[]);++an<Er;){var li=I[an];ee>0&&z(li)?ee>1?H_(li,ee-1,z,xe,Mt):fn(Mt,li):xe||(Mt[Mt.length]=li)}return Mt},S_=function pm(I){return null!=I&&I.length?E_(I,1):[]};var Zh=o(68643),Qp=o(82666);const Jd=function Ad(I){return(0,Qp.Z)((0,Zh.Z)(I,void 0,S_),I+"")};var bu=Jd(function(I,ee){var z={};if(null==I)return z;var xe=!1;ee=ao(ee,function(an){return an=uu(an,I),xe||(xe=an.length>1),an}),(0,Pc.Z)(I,pn(I),z),xe&&(z=Qm(z,7,k_));for(var Mt=ee.length;Mt--;)jh(z,ee[Mt]);return z});const qs=bu;const cf=function U_(I,ee){for(var z=-1,xe=null==I?0:I.length;++z<xe;)if(ee(I[z],z,I))return!0;return!1};function Kp(I){var ee=-1,z=null==I?0:I.length;for(this.__data__=new ac.Z;++ee<z;)this.add(I[ee])}Kp.prototype.add=Kp.prototype.push=function wu(I){return this.__data__.set(I,"__lodash_hash_undefined__"),this},Kp.prototype.has=function xf(I){return this.__data__.has(I)};const Np=Kp,G_=function da(I,ee){return I.has(ee)};const Ip=function su(I,ee,z,xe,Mt,an){var Er=1&z,li=I.length,es=ee.length;if(li!=es&&!(Er&&es>li))return!1;var ws=an.get(I),Ha=an.get(ee);if(ws&&Ha)return ws==ee&&Ha==I;var cl=-1,Vl=!0,zu=2&z?new Np:void 0;for(an.set(I,ee),an.set(ee,I);++cl<li;){var Lc=I[cl],lu=ee[cl];if(xe)var ku=Er?xe(lu,Lc,cl,ee,I,an):xe(Lc,lu,cl,I,ee,an);if(void 0!==ku){if(ku)continue;Vl=!1;break}if(zu){if(!cf(ee,function(Vu,D_){if(!G_(zu,D_)&&(Lc===Vu||Mt(Lc,Vu,z,xe,an)))return zu.push(D_)})){Vl=!1;break}}else if(Lc!==lu&&!Mt(Lc,lu,z,xe,an)){Vl=!1;break}}return an.delete(I),an.delete(ee),Vl};var Xp=o(83345),Y_=o(66224);const Wf=function gh(I){var ee=-1,z=Array(I.size);return I.forEach(function(xe,Mt){z[++ee]=[Mt,xe]}),z},j_=function yp(I){var ee=-1,z=Array(I.size);return I.forEach(function(xe){z[++ee]=xe}),z};var Dd=cr.Z?cr.Z.prototype:void 0,Qf=Dd?Dd.valueOf:void 0;var yh=Object.prototype.hasOwnProperty;var Wh=o(14803),W_="[object Arguments]",od="[object Array]",sd="[object Object]",ad=Object.prototype.hasOwnProperty;const Sh=function Lf(I,ee,z,xe,Mt,an){var Er=(0,ii.Z)(I),li=(0,ii.Z)(ee),es=Er?od:rd(I),ws=li?od:rd(ee),Ha=(es=es==W_?sd:es)==sd,cl=(ws=ws==W_?sd:ws)==sd,Vl=es==ws;if(Vl&&(0,kd.Z)(I)){if(!(0,kd.Z)(ee))return!1;Er=!0,Ha=!1}if(Vl&&!Ha)return an||(an=new Gc.Z),Er||(0,Wh.Z)(I)?Ip(I,ee,z,xe,Mt,an):function md(I,ee,z,xe,Mt,an,Er){switch(z){case"[object DataView]":if(I.byteLength!=ee.byteLength||I.byteOffset!=ee.byteOffset)return!1;I=I.buffer,ee=ee.buffer;case"[object ArrayBuffer]":return!(I.byteLength!=ee.byteLength||!an(new Xp.Z(I),new Xp.Z(ee)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,Y_.Z)(+I,+ee);case"[object Error]":return I.name==ee.name&&I.message==ee.message;case"[object RegExp]":case"[object String]":return I==ee+"";case"[object Map]":var li=Wf;case"[object Set]":if(li||(li=j_),I.size!=ee.size&&!(1&xe))return!1;var ws=Er.get(I);if(ws)return ws==ee;xe|=2,Er.set(I,ee);var Ha=Ip(li(I),li(ee),xe,Mt,an,Er);return Er.delete(I),Ha;case"[object Symbol]":if(Qf)return Qf.call(I)==Qf.call(ee)}return!1}(I,ee,es,z,xe,Mt,an);if(!(1&z)){var zu=Ha&&ad.call(I,"__wrapped__"),Lc=cl&&ad.call(ee,"__wrapped__");if(zu||Lc){var lu=zu?I.value():I,ku=Lc?ee.value():ee;return an||(an=new Gc.Z),Mt(lu,ku,z,xe,an)}}return!!Vl&&(an||(an=new Gc.Z),function _m(I,ee,z,xe,Mt,an){var Er=1&z,li=it(I),es=li.length;if(es!=it(ee).length&&!Er)return!1;for(var cl=es;cl--;){var Vl=li[cl];if(!(Er?Vl in ee:yh.call(ee,Vl)))return!1}var zu=an.get(I),Lc=an.get(ee);if(zu&&Lc)return zu==ee&&Lc==I;var lu=!0;an.set(I,ee),an.set(ee,I);for(var ku=Er;++cl<es;){var Vu=I[Vl=li[cl]],D_=ee[Vl];if(xe)var ug=Er?xe(D_,Vu,Vl,ee,I,an):xe(Vu,D_,Vl,I,ee,an);if(!(void 0===ug?Vu===D_||Mt(Vu,D_,z,xe,an):ug)){lu=!1;break}ku||(ku="constructor"==Vl)}if(lu&&!ku){var Em=I.constructor,th=ee.constructor;Em!=th&&"constructor"in I&&"constructor"in ee&&!("function"==typeof Em&&Em instanceof Em&&"function"==typeof th&&th instanceof th)&&(lu=!1)}return an.delete(I),an.delete(ee),lu}(I,ee,z,xe,Mt,an))},Ch=function b_(I,ee,z,xe,Mt){return I===ee||(null==I||null==ee||!(0,qo.Z)(I)&&!(0,qo.Z)(ee)?I!=I&&ee!=ee:Sh(I,ee,z,xe,b_,Mt))};const Rm=function gm(I){return I==I&&!(0,us.Z)(I)},Sp=function Pm(I,ee){return function(z){return null!=z&&z[I]===ee&&(void 0!==ee||I in Object(z))}},Rd=function Th(I){var ee=function ld(I){for(var ee=nc(I),z=ee.length;z--;){var xe=ee[z],Mt=I[xe];ee[z]=[xe,Mt,Rm(Mt)]}return ee}(I);return 1==ee.length&&ee[0][2]?Sp(ee[0][0],ee[0][1]):function(z){return z===I||function hm(I,ee,z,xe){var Mt=z.length,an=Mt,Er=!xe;if(null==I)return!an;for(I=Object(I);Mt--;){var li=z[Mt];if(Er&&li[2]?li[1]!==I[li[0]]:!(li[0]in I))return!1}for(;++Mt<an;){var es=(li=z[Mt])[0],ws=I[es],Ha=li[1];if(Er&&li[2]){if(void 0===ws&&!(es in I))return!1}else{var cl=new Gc.Z;if(xe)var Vl=xe(ws,Ha,es,I,ee,cl);if(!(void 0===Vl?Ch(Ha,ws,3,xe,cl):Vl))return!1}}return!0}(z,I,ee)}},Jh=function vm(I,ee){return null!=I&&ee in Object(I)};var bh=o(28078),K_=o(19238);const oe=function F(I,ee){return null!=I&&function Km(I,ee,z){for(var xe=-1,Mt=(ee=uu(ee,I)).length,an=!1;++xe<Mt;){var Er=Ol(ee[xe]);if(!(an=null!=I&&z(I,Er)))break;I=I[Er]}return an||++xe!=Mt?an:!!(Mt=null==I?0:I.length)&&(0,K_.Z)(Mt)&&(0,bh.Z)(Er,Mt)&&((0,ii.Z)(I)||(0,Jp.Z)(I))}(I,ee,Jh)};var Rn=o(40034);const ns=function Es(I){return Ea(I)?function Ar(I){return function(ee){return ee?.[I]}}(Ol(I)):function xi(I){return function(ee){return du(ee,I)}}(I)},R=function v(I){return"function"==typeof I?I:null==I?Rn.Z:"object"==typeof I?(0,ii.Z)(I)?function Re(I,ee){return Ea(I)&&Rm(ee)?Sp(Ol(I),ee):function(z){var xe=xl(z,I);return void 0===xe&&xe===ee?oe(z,I):Ch(ee,xe,3)}}(I[0],I[1]):Rd(I):ns(I)};var Z=o(18572);var $n=function wt(I,ee){return function(z,xe){if(null==z)return z;if(!(0,Cd.Z)(z))return I(z,xe);for(var Mt=z.length,an=ee?Mt:-1,Er=Object(z);(ee?an--:++an<Mt)&&!1!==xe(Er[an],an,Er););return z}}(function Ae(I,ee){return I&&(0,Z.Z)(I,ee,nc)});const Sr=$n,jo=function Di(I,ee){var z;return Sr(I,function(xe,Mt,an){return!(z=ee(xe,Mt,an))}),!!z};var Ns=o(59094);const ya=function pa(I,ee){for(var z=-1,xe=null==I?0:I.length;++z<xe;)if(!ee(I[z],z,I))return!1;return!0},Jr=function hi(I,ee){var z=!0;return Sr(I,function(xe,Mt,an){return z=!!ee(xe,Mt,an)}),z},al=function go(I){return I&&I.length?I[0]:void 0},Ja=function Bs(I){for(var ee=-1,z=null==I?0:I.length,xe=0,Mt=[];++ee<z;){var an=I[ee];an&&(Mt[xe++]=an)}return Mt},kf=function df(I,ee,z,xe){for(var Mt=I.length,an=z+(xe?1:-1);xe?an--:++an<Mt;)if(ee(I[an],an,I))return an;return-1};var Kd=/\s/;var qp=/^\s+/;const Xm=function Qh(I){return I&&I.slice(0,function Mh(I){for(var ee=I.length;ee--&&Kd.test(I.charAt(ee)););return ee}(I)+1).replace(qp,"")};var wm=/^[-+]0x[0-9a-f]+$/i,qm=/^0b[01]+$/i,Nm=/^0o[0-7]+$/i,e_=parseInt;const $p=function td(I){if("number"==typeof I)return I;if(ks(I))return NaN;if((0,us.Z)(I)){var ee="function"==typeof I.valueOf?I.valueOf():I;I=(0,us.Z)(ee)?ee+"":ee}if("string"!=typeof I)return 0===I?I:+I;I=Xm(I);var z=qm.test(I);return z||Nm.test(I)?e_(I.slice(2),z?2:8):wm.test(I)?NaN:+I};const Dg=function Ag(I){var ee=function eg(I){return I?1/0===(I=$p(I))||-1/0===I?17976931348623157e292*(I<0?-1:1):I==I?I:0:0===I?I:0}(I),z=ee%1;return ee==ee?z?ee-z:ee:0};var a1=Math.max,iv=function kl(I){return function(ee,z,xe){var Mt=Object(ee);if(!(0,Cd.Z)(ee)){var an=R(z);ee=nc(ee),z=function(li){return an(Mt[li],li,Mt)}}var Er=I(ee,z,xe);return Er>-1?Mt[an?ee[Er]:Er]:void 0}}(function nv(I,ee,z){var xe=null==I?0:I.length;if(!xe)return-1;var Mt=null==z?0:Dg(z);return Mt<0&&(Mt=a1(xe+Mt,0)),kf(I,R(ee),Mt)});const l1=iv;const Rg=function ov(I){return"string"==typeof I||!(0,ii.Z)(I)&&(0,qo.Z)(I)&&"[object String]"==(0,Ai.Z)(I)};var sv=o(58209);const Xh=function(){return Zn.Z.Date.now()};var Pg=Math.max,c1=Math.min;const Ng=function wg(I,ee,z){var xe=!0,Mt=!0;if("function"!=typeof I)throw new TypeError("Expected a function");return(0,us.Z)(z)&&(xe="leading"in z?!!z.leading:xe,Mt="trailing"in z?!!z.trailing:Mt),function xg(I,ee,z){var xe,Mt,an,Er,li,es,ws=0,Ha=!1,cl=!1,Vl=!0;if("function"!=typeof I)throw new TypeError("Expected a function");function zu(Pd){var nh=xe,Bm=Mt;return xe=Mt=void 0,ws=Pd,Er=I.apply(Bm,nh)}function ku(Pd){var nh=Pd-es;return void 0===es||nh>=ee||nh<0||cl&&Pd-ws>=an}function Vu(){var Pd=Xh();if(ku(Pd))return D_(Pd);li=setTimeout(Vu,function lu(Pd){var Iv=ee-(Pd-es);return cl?c1(Iv,an-(Pd-ws)):Iv}(Pd))}function D_(Pd){return li=void 0,Vl&&xe?zu(Pd):(xe=Mt=void 0,Er)}function th(){var Pd=Xh(),nh=ku(Pd);if(xe=arguments,Mt=this,es=Pd,nh){if(void 0===li)return function Lc(Pd){return ws=Pd,li=setTimeout(Vu,ee),Ha?zu(Pd):Er}(es);if(cl)return clearTimeout(li),li=setTimeout(Vu,ee),zu(es)}return void 0===li&&(li=setTimeout(Vu,ee)),Er}return ee=$p(ee)||0,(0,us.Z)(z)&&(Ha=!!z.leading,an=(cl="maxWait"in z)?Pg($p(z.maxWait)||0,ee):an,Vl="trailing"in z?!!z.trailing:Vl),th.cancel=function ug(){void 0!==li&&clearTimeout(li),ws=0,xe=es=Mt=li=void 0},th.flush=function Em(){return void 0===li?Er:D_(Xh())},th}(I,ee,{leading:xe,maxWait:ee,trailing:Mt})},cv=function d1(I){return I!=I},_1=function dv(I){return null==I?[]:function uv(I,ee){return ao(ee,function(z){return I[z]})}(I,nc(I))};var h1=Math.max;const fv=function qh(I,ee,z,xe){I=(0,Cd.Z)(I)?I:_1(I),z=z&&!xe?Dg(z):0;var Mt=I.length;return z<0&&(z=h1(Mt+z,0)),Rg(I)?z<=Mt&&I.indexOf(ee,z)>-1:!!Mt&&function tg(I,ee,z){return ee==ee?function f1(I,ee,z){for(var xe=z-1,Mt=I.length;++xe<Mt;)if(I[xe]===ee)return xe;return-1}(I,ee,z):kf(I,cv,z)}(I,ee,z)>-1},Lg=function Fg(I,ee,z,xe){if(!(0,us.Z)(I))return I;for(var Mt=-1,an=(ee=uu(ee,I)).length,Er=an-1,li=I;null!=li&&++Mt<an;){var es=Ol(ee[Mt]),ws=z;if("__proto__"===es||"constructor"===es||"prototype"===es)return I;if(Mt!=Er){var Ha=li[es];void 0===(ws=xe?xe(Ha,es,li):void 0)&&(ws=(0,us.Z)(Ha)?Ha:(0,bh.Z)(ee[Mt+1])?[]:{})}(0,En.Z)(li,es,ws),li=li[es]}return I},y0=function v0(I,ee){return function pv(I,ee,z){for(var xe=-1,Mt=ee.length,an={};++xe<Mt;){var Er=ee[xe],li=du(I,Er);z(li,Er)&&Lg(an,uu(Er,I),li)}return an}(I,ee,function(z,xe){return oe(I,xe)})};var _v=Jd(function(I,ee){return null==I?{}:y0(I,ee)});const m1=_v;function O_(I,ee){1&I&&(r.TgZ(0,"span"),r._uU(1,"loading..."),r.qZA())}const hv=function(I){return{$implicit:I}};function ym(I,ee){if(1&I&&(r.ynx(0),r.TgZ(1,"div"),r.Hsn(2),r.qZA(),r.BQk()),2&I){const z=r.oxw();r.xp6(1),r.Udp("height",z.getTotalHeight())}}const Hp=function(){return{dontDetach:!0}},Gl=["*"],ng=["loadingTemplate"],Kf=["treeNodeTemplate"],cd=["treeNodeWrapperTemplate"],mv=["treeNodeFullTemplate"],Oh=["viewport"],gv=function(I,ee,z,xe){return{loadingTemplate:I,treeNodeTemplate:ee,treeNodeWrapperTemplate:z,treeNodeFullTemplate:xe}};function vv(I,ee){if(1&I&&r._UZ(0,"tree-node-collection",4),2&I){const z=r.oxw();r.Q6J("nodes",z.treeModel.roots)("treeModel",z.treeModel)("templates",r.l5B(3,gv,z.loadingTemplate,z.treeNodeTemplate,z.treeNodeWrapperTemplate,z.treeNodeFullTemplate))}}function yv(I,ee){if(1&I&&r._UZ(0,"tree-node-drop-slot",5),2&I){const z=r.oxw();r.Q6J("dropIndex",0)("node",z.treeModel.virtualRoot)}}function g1(I,ee){if(1&I&&r._UZ(0,"tree-node-drop-slot",6),2&I){const z=r.oxw(3);r.Q6J("dropIndex",z.node.index)("node",z.node.parent)}}function v1(I,ee){if(1&I&&(r.TgZ(0,"div"),r.YNc(1,g1,1,2,"tree-node-drop-slot",3),r._UZ(2,"tree-node-wrapper",4)(3,"tree-node-children",5)(4,"tree-node-drop-slot",6),r.qZA()),2&I){const z=r.oxw(2);r.Tol(z.node.getClass()),r.ekj("tree-node",!0)("tree-node-expanded",z.node.isExpanded&&z.node.hasChildren)("tree-node-collapsed",z.node.isCollapsed&&z.node.hasChildren)("tree-node-leaf",z.node.isLeaf)("tree-node-active",z.node.isActive)("tree-node-focused",z.node.isFocused),r.xp6(1),r.Q6J("ngIf",0===z.index),r.xp6(1),r.Q6J("node",z.node)("index",z.index)("templates",z.templates),r.xp6(1),r.Q6J("node",z.node)("templates",z.templates),r.xp6(1),r.Q6J("dropIndex",z.node.index+1)("node",z.node.parent)}}const em=function(I,ee,z,xe){return{$implicit:I,node:ee,index:z,templates:xe}};function kg(I,ee){if(1&I&&(r.ynx(0),r.YNc(1,v1,5,22,"div",1),r.GkF(2,2),r.BQk()),2&I){const z=r.oxw();r.xp6(1),r.Q6J("ngIf",!z.templates.treeNodeFullTemplate),r.xp6(1),r.Q6J("ngTemplateOutlet",z.templates.treeNodeFullTemplate)("ngTemplateOutletContext",r.l5B(3,em,z.node,z.node,z.index,z.templates))}}function n_(I,ee){if(1&I&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&I){const z=r.oxw();r.xp6(1),r.Oqu(z.node.displayField)}}const $g=function(I,ee,z){return{$implicit:I,node:ee,index:z}};function tm(I,ee){if(1&I){const z=r.EpF();r.TgZ(0,"span",3),r.NdJ("click",function(Mt){r.CHM(z);const an=r.oxw(2);return r.KtG(an.node.mouseAction("expanderClick",Mt))}),r._UZ(1,"span",4),r.qZA()}if(2&I){const z=r.oxw(2);r.ekj("toggle-children-wrapper-expanded",z.node.isExpanded)("toggle-children-wrapper-collapsed",z.node.isCollapsed)}}function Zu(I,ee){1&I&&r._UZ(0,"span",5)}function au(I,ee){if(1&I&&(r.ynx(0),r.YNc(1,tm,2,4,"span",1),r.YNc(2,Zu,1,0,"span",2),r.BQk()),2&I){const z=r.oxw();r.xp6(1),r.Q6J("ngIf",z.node.hasChildren),r.xp6(1),r.Q6J("ngIf",!z.node.hasChildren)}}function Ah(I,ee){if(1&I&&r._UZ(0,"tree-node-collection",4),2&I){const z=r.oxw(3);r.Q6J("nodes",z.node.children)("templates",z.templates)("treeModel",z.node.treeModel)}}function Hg(I,ee){if(1&I&&r._UZ(0,"tree-loading-component",5),2&I){const z=r.oxw(3);r.Udp("padding-left",z.node.getNodePadding()),r.Q6J("template",z.templates.loadingTemplate)("node",z.node)}}function Ev(I,ee){if(1&I&&(r.TgZ(0,"div"),r.YNc(1,Ah,1,3,"tree-node-collection",2),r.YNc(2,Hg,1,4,"tree-loading-component",3),r.qZA()),2&I){const z=r.oxw(2);r.ekj("tree-children",!0)("tree-children-no-padding",z.node.options.levelPadding),r.xp6(1),r.Q6J("ngIf",z.node.children),r.xp6(1),r.Q6J("ngIf",!z.node.children)}}function y1(I,ee){if(1&I&&(r.ynx(0),r.YNc(1,Ev,3,6,"div",1),r.BQk()),2&I){const z=r.oxw();r.xp6(1),r.Q6J("treeAnimateOpen",z.node.isExpanded)("treeAnimateOpenSpeed",z.node.options.animateSpeed)("treeAnimateOpenAcceleration",z.node.options.animateAcceleration)("treeAnimateOpenEnabled",z.node.options.animateExpand)}}function Sv(I,ee){if(1&I&&r._UZ(0,"tree-node",2),2&I){const z=ee.$implicit,xe=ee.index,Mt=r.oxw(2);r.Q6J("node",z)("index",xe)("templates",Mt.templates)}}function Cv(I,ee){if(1&I&&(r.ynx(0),r.TgZ(1,"div"),r.YNc(2,Sv,1,3,"tree-node",1),r.qZA(),r.BQk()),2&I){const z=r.oxw();r.xp6(1),r.Udp("margin-top",z.marginTop),r.xp6(1),r.Q6J("ngForOf",z.viewportNodes)("ngForTrackBy",z.trackNode)}}function rg(I,ee){if(1&I&&r._UZ(0,"tree-node-checkbox",4),2&I){const z=r.oxw(2);r.Q6J("node",z.node)}}function Dh(I,ee){if(1&I){const z=r.EpF();r.TgZ(0,"div",2),r.YNc(1,rg,1,1,"tree-node-checkbox",3),r._UZ(2,"tree-node-expander",4),r.TgZ(3,"div",5),r.NdJ("click",function(Mt){r.CHM(z);const an=r.oxw();return r.KtG(an.node.mouseAction("click",Mt))})("dblclick",function(Mt){r.CHM(z);const an=r.oxw();return r.KtG(an.node.mouseAction("dblClick",Mt))})("mouseover",function(Mt){r.CHM(z);const an=r.oxw();return r.KtG(an.node.mouseAction("mouseOver",Mt))})("mouseout",function(Mt){r.CHM(z);const an=r.oxw();return r.KtG(an.node.mouseAction("mouseOut",Mt))})("contextmenu",function(Mt){r.CHM(z);const an=r.oxw();return r.KtG(an.node.mouseAction("contextMenu",Mt))})("treeDrop",function(Mt){r.CHM(z);const an=r.oxw();return r.KtG(an.node.onDrop(Mt))})("treeDropDragOver",function(Mt){r.CHM(z);const an=r.oxw();return r.KtG(an.node.mouseAction("dragOver",Mt))})("treeDropDragLeave",function(Mt){r.CHM(z);const an=r.oxw();return r.KtG(an.node.mouseAction("dragLeave",Mt))})("treeDropDragEnter",function(Mt){r.CHM(z);const an=r.oxw();return r.KtG(an.node.mouseAction("dragEnter",Mt))}),r._UZ(4,"tree-node-content",6),r.qZA()()}if(2&I){const z=r.oxw();r.Udp("padding-left",z.node.getNodePadding()),r.xp6(1),r.Q6J("ngIf",z.node.options.useCheckbox),r.xp6(1),r.Q6J("node",z.node),r.xp6(1),r.ekj("node-content-wrapper-active",z.node.isActive)("node-content-wrapper-focused",z.node.isFocused),r.Q6J("treeAllowDrop",z.node.allowDrop)("allowDragoverStyling",z.node.allowDragoverStyling())("treeDrag",z.node)("treeDragEnabled",z.node.allowDrag()),r.xp6(1),r.Q6J("node",z.node)("index",z.index)("template",z.templates.treeNodeTemplate)}}function Xd(I,ee){if(1&I){const z=r.EpF();r.ynx(0),r.TgZ(1,"input",1),r.NdJ("click",function(Mt){r.CHM(z);const an=r.oxw();return r.KtG(an.node.mouseAction("checkboxClick",Mt))}),r.qZA(),r.BQk()}if(2&I){const z=r.oxw();r.xp6(1),r.Q6J("checked",z.node.isSelected)("indeterminate",z.node.isPartiallySelected)}}let Xf=(()=>{class I{constructor(z,xe){this.templateRef=z,this.viewContainer=xe,this.templateBindings={}}ngOnInit(){this.view=this.viewContainer.createEmbeddedView(this.templateRef),this.dispose&&this.dispose(),this.shouldDetach()&&this.view.detach(),this.autoDetect(this.view)}shouldDetach(){return this.treeMobxAutorun&&this.treeMobxAutorun.detach}autoDetect(z){this.dispose=Ei(()=>z.detectChanges())}ngOnDestroy(){this.dispose&&this.dispose()}}return I.\u0275fac=function(z){return new(z||I)(r.Y36(r.Rgc),r.Y36(r.s_b))},I.\u0275dir=r.lG2({type:I,selectors:[["","treeMobxAutorun",""]],inputs:{treeMobxAutorun:"treeMobxAutorun"}}),I})();const Cp={TOGGLE_ACTIVE:(I,ee,z)=>ee&&ee.toggleActivated(),TOGGLE_ACTIVE_MULTI:(I,ee,z)=>ee&&ee.toggleActivated(!0),TOGGLE_SELECTED:(I,ee,z)=>ee&&ee.toggleSelected(),ACTIVATE:(I,ee,z)=>ee.setIsActive(!0),DEACTIVATE:(I,ee,z)=>ee.setIsActive(!1),SELECT:(I,ee,z)=>ee.setIsSelected(!0),DESELECT:(I,ee,z)=>ee.setIsSelected(!1),FOCUS:(I,ee,z)=>ee.focus(),TOGGLE_EXPANDED:(I,ee,z)=>ee.hasChildren&&ee.toggleExpanded(),EXPAND:(I,ee,z)=>ee.expand(),COLLAPSE:(I,ee,z)=>ee.collapse(),DRILL_DOWN:(I,ee,z)=>I.focusDrillDown(),DRILL_UP:(I,ee,z)=>I.focusDrillUp(),NEXT_NODE:(I,ee,z)=>I.focusNextNode(),PREVIOUS_NODE:(I,ee,z)=>I.focusPreviousNode(),MOVE_NODE:(I,ee,z,{from:xe,to:Mt})=>{z.ctrlKey?I.copyNode(xe,Mt):I.moveNode(xe,Mt)}},Mv={mouse:{click:Cp.TOGGLE_ACTIVE,dblClick:null,contextMenu:null,expanderClick:Cp.TOGGLE_EXPANDED,checkboxClick:Cp.TOGGLE_SELECTED,drop:Cp.MOVE_NODE},keys:{39:Cp.DRILL_DOWN,37:Cp.DRILL_UP,40:Cp.NEXT_NODE,38:Cp.PREVIOUS_NODE,32:Cp.TOGGLE_ACTIVE,13:Cp.TOGGLE_ACTIVE}};class Bg{constructor(ee={}){this.options=ee,this.actionMapping=zn({},this.options.actionMapping,Mv),ee.rtl&&(this.actionMapping.keys[39]=xl(ee,["actionMapping","keys",39])||Cp.DRILL_UP,this.actionMapping.keys[37]=xl(ee,["actionMapping","keys",37])||Cp.DRILL_DOWN)}get hasChildrenField(){return this.options.hasChildrenField||"hasChildren"}get childrenField(){return this.options.childrenField||"children"}get displayField(){return this.options.displayField||"name"}get idField(){return this.options.idField||"id"}get isExpandedField(){return this.options.isExpandedField||"isExpanded"}get getChildren(){return this.options.getChildren}get levelPadding(){return this.options.levelPadding||0}get useVirtualScroll(){return this.options.useVirtualScroll}get animateExpand(){return this.options.animateExpand}get animateSpeed(){return this.options.animateSpeed||1}get animateAcceleration(){return this.options.animateAcceleration||1.2}get scrollOnActivate(){return void 0===this.options.scrollOnActivate||this.options.scrollOnActivate}get rtl(){return!!this.options.rtl}get rootId(){return this.options.rootId}get useCheckbox(){return this.options.useCheckbox}get useTriState(){return void 0===this.options.useTriState||this.options.useTriState}get scrollContainer(){return this.options.scrollContainer}get allowDragoverStyling(){return void 0===this.options.allowDragoverStyling||this.options.allowDragoverStyling}getNodeClone(ee){return this.options.getNodeClone?this.options.getNodeClone(ee):qs(Object.assign({},ee.data),["id"])}allowDrop(ee,z,xe){return this.options.allowDrop instanceof Function?this.options.allowDrop(ee,z,xe):void 0===this.options.allowDrop||this.options.allowDrop}allowDrag(ee){return this.options.allowDrag instanceof Function?this.options.allowDrag(ee):this.options.allowDrag}nodeClass(ee){return this.options.nodeClass?this.options.nodeClass(ee):""}nodeHeight(ee){if(ee.data.virtual)return 0;let z=this.options.nodeHeight||22;return"function"==typeof z&&(z=z(ee)),z+(0===ee.index?2:1)*this.dropSlotHeight}get dropSlotHeight(){return function C_(I){return"number"==typeof I||(0,qo.Z)(I)&&"[object Number]"==(0,Ai.Z)(I)}(this.options.dropSlotHeight)?this.options.dropSlotHeight:2}}const vd={toggleExpanded:"toggleExpanded",activate:"activate",deactivate:"deactivate",nodeActivate:"nodeActivate",nodeDeactivate:"nodeDeactivate",select:"select",deselect:"deselect",focus:"focus",blur:"blur",initialized:"initialized",updateData:"updateData",moveNode:"moveNode",copyNode:"copyNode",event:"event",loadNodeChildren:"loadNodeChildren",changeFilter:"changeFilter",stateChange:"stateChange"};var Cf=function(I,ee,z,xe){var Er,Mt=arguments.length,an=Mt<3?ee:null===xe?xe=Object.getOwnPropertyDescriptor(ee,z):xe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)an=Reflect.decorate(I,ee,z,xe);else for(var li=I.length-1;li>=0;li--)(Er=I[li])&&(an=(Mt<3?Er(an):Mt>3?Er(ee,z,an):Er(ee,z))||an);return Mt>3&&an&&Object.defineProperty(ee,z,an),an},mu=function(I,ee){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(I,ee)};let Gg=(()=>{class I{constructor(z,xe,Mt,an){this.data=z,this.parent=xe,this.treeModel=Mt,this.position=0,this.allowDrop=(Er,li)=>this.options.allowDrop(Er,{parent:this,index:0},li),this.allowDragoverStyling=()=>this.options.allowDragoverStyling,null==this.id&&(this.id=function Ov(){return Math.floor(1e13*Math.random())}()),this.index=an,this.getField("children")&&this._initChildren(),this.autoLoadChildren()}get isHidden(){return this.treeModel.isHidden(this)}get isExpanded(){return this.treeModel.isExpanded(this)}get isActive(){return this.treeModel.isActive(this)}get isFocused(){return this.treeModel.isNodeFocused(this)}get isSelected(){return this.isSelectable()?this.treeModel.isSelected(this):function uo(I,ee,z){var xe=(0,ii.Z)(I)?cf:jo;return z&&(0,Ns.Z)(I,ee,z)&&(ee=void 0),xe(I,R(ee))}(this.children,z=>z.isSelected)}get isAllSelected(){return this.isSelectable()?this.treeModel.isSelected(this):function pi(I,ee,z){var xe=(0,ii.Z)(I)?ya:Jr;return z&&(0,Ns.Z)(I,ee,z)&&(ee=void 0),xe(I,R(ee))}(this.children,z=>z.isAllSelected)}get isPartiallySelected(){return this.isSelected&&!this.isAllSelected}get level(){return this.parent?this.parent.level+1:0}get path(){return this.parent?[...this.parent.path,this.id]:[]}get elementRef(){throw"Element Ref is no longer supported since introducing virtual scroll\n\n You may use a template to obtain a reference to the element"}get originalNode(){return this._originalNode}get hasChildren(){return!!(this.getField("hasChildren")||this.children&&this.children.length>0)}get isCollapsed(){return!this.isExpanded}get isLeaf(){return!this.hasChildren}get isRoot(){return this.parent.data.virtual}get realParent(){return this.isRoot?null:this.parent}get options(){return this.treeModel.options}fireEvent(z){this.treeModel.fireEvent(z)}get displayField(){return this.getField("display")}get id(){return this.getField("id")}set id(z){this.setField("id",z)}getField(z){return this.data[this.options[`${z}Field`]]}setField(z,xe){this.data[this.options[`${z}Field`]]=xe}_findAdjacentSibling(z,xe=!1){const Mt=this._getParentsChildren(xe),an=Mt.indexOf(this);return Mt.length>an+z?Mt[an+z]:null}findNextSibling(z=!1){return this._findAdjacentSibling(1,z)}findPreviousSibling(z=!1){return this._findAdjacentSibling(-1,z)}getVisibleChildren(){return this.visibleChildren}get visibleChildren(){return(this.children||[]).filter(z=>!z.isHidden)}getFirstChild(z=!1){return al((z?this.visibleChildren:this.children)||[])}getLastChild(z=!1){return Od((z?this.visibleChildren:this.children)||[])}findNextNode(z=!0,xe=!1){return z&&this.isExpanded&&this.getFirstChild(xe)||this.findNextSibling(xe)||this.parent&&this.parent.findNextNode(!1,xe)}findPreviousNode(z=!1){let xe=this.findPreviousSibling(z);return xe?xe._getLastOpenDescendant(z):this.realParent}_getLastOpenDescendant(z=!1){const xe=this.getLastChild(z);return this.isCollapsed||!xe?this:xe._getLastOpenDescendant(z)}_getParentsChildren(z=!1){return this.parent&&(z?this.parent.getVisibleChildren():this.parent.children)||[]}getIndexInParent(z=!1){return this._getParentsChildren(z).indexOf(this)}isDescendantOf(z){return this===z||this.parent&&this.parent.isDescendantOf(z)}getNodePadding(){return this.options.levelPadding*(this.level-1)+"px"}getClass(){return[this.options.nodeClass(this),`tree-node-level-${this.level}`].join(" ")}onDrop(z){this.mouseAction("drop",z.event,{from:z.element,to:{parent:this,index:0,dropOnNode:!0}})}allowDrag(){return this.options.allowDrag(this)}loadNodeChildren(){return this.options.getChildren?Promise.resolve(this.options.getChildren(this)).then(z=>{z&&(this.setField("children",z),this._initChildren(),this.options.useTriState&&this.treeModel.isSelected(this)&&this.setIsSelected(!0),this.children.forEach(xe=>{xe.getField("isExpanded")&&xe.hasChildren&&xe.expand()}))}).then(()=>{this.fireEvent({eventName:vd.loadNodeChildren,node:this})}):Promise.resolve()}expand(){return this.isExpanded||this.toggleExpanded(),this}collapse(){return this.isExpanded&&this.toggleExpanded(),this}doForAll(z){Promise.resolve(z(this)).then(()=>{this.children&&this.children.forEach(xe=>xe.doForAll(z))})}expandAll(){this.doForAll(z=>z.expand())}collapseAll(){this.doForAll(z=>z.collapse())}ensureVisible(){return this.realParent&&(this.realParent.expand(),this.realParent.ensureVisible()),this}toggleExpanded(){return this.setIsExpanded(!this.isExpanded),this}setIsExpanded(z){return this.hasChildren&&this.treeModel.setExpandedNode(this,z),this}autoLoadChildren(){this.handler=js(()=>this.isExpanded,z=>{!this.children&&this.hasChildren&&z&&this.loadNodeChildren()},{fireImmediately:!0})}dispose(){this.children&&this.children.forEach(z=>z.dispose()),this.handler&&this.handler(),this.parent=null,this.children=null}setIsActive(z,xe=!1){return this.treeModel.setActiveNode(this,z,xe),z&&this.focus(this.options.scrollOnActivate),this}isSelectable(){return this.isLeaf||!this.children||!this.options.useTriState}setIsSelected(z){return this.isSelectable()?this.treeModel.setSelectedNode(this,z):this.visibleChildren.forEach(xe=>xe.setIsSelected(z)),this}toggleSelected(){return this.setIsSelected(!this.isSelected),this}toggleActivated(z=!1){return this.setIsActive(!this.isActive,z),this}setActiveAndVisible(z=!1){return this.setIsActive(!0,z).ensureVisible(),setTimeout(this.scrollIntoView.bind(this)),this}scrollIntoView(z=!1){this.treeModel.virtualScroll.scrollIntoView(this,z)}focus(z=!0){let xe=this.treeModel.getFocusedNode();return this.treeModel.setFocusedNode(this),z&&this.scrollIntoView(),xe&&this.fireEvent({eventName:vd.blur,node:xe}),this.fireEvent({eventName:vd.focus,node:this}),this}blur(){let z=this.treeModel.getFocusedNode();return this.treeModel.setFocusedNode(null),z&&this.fireEvent({eventName:vd.blur,node:this}),this}setIsHidden(z){this.treeModel.setIsHidden(this,z)}hide(){this.setIsHidden(!0)}show(){this.setIsHidden(!1)}mouseAction(z,xe,Mt=null){this.treeModel.setFocus(!0);const Er=this.options.actionMapping.mouse[z];Er&&Er(this.treeModel,this,xe,Mt)}getSelfHeight(){return this.options.nodeHeight(this)}_initChildren(){this.children=this.getField("children").map((z,xe)=>new I(z,this,this.treeModel,xe))}}return Cf([Ve,mu("design:type",Object),mu("design:paramtypes",[])],I.prototype,"isHidden",null),Cf([Ve,mu("design:type",Object),mu("design:paramtypes",[])],I.prototype,"isExpanded",null),Cf([Ve,mu("design:type",Object),mu("design:paramtypes",[])],I.prototype,"isActive",null),Cf([Ve,mu("design:type",Object),mu("design:paramtypes",[])],I.prototype,"isFocused",null),Cf([Ve,mu("design:type",Object),mu("design:paramtypes",[])],I.prototype,"isSelected",null),Cf([Ve,mu("design:type",Object),mu("design:paramtypes",[])],I.prototype,"isAllSelected",null),Cf([Ve,mu("design:type",Object),mu("design:paramtypes",[])],I.prototype,"isPartiallySelected",null),Cf([Ut,mu("design:type",Array)],I.prototype,"children",void 0),Cf([Ut,mu("design:type",Number)],I.prototype,"index",void 0),Cf([Ut,mu("design:type",Object)],I.prototype,"position",void 0),Cf([Ut,mu("design:type",Number)],I.prototype,"height",void 0),Cf([Ve,mu("design:type",Number),mu("design:paramtypes",[])],I.prototype,"level",null),Cf([Ve,mu("design:type",Array),mu("design:paramtypes",[])],I.prototype,"path",null),Cf([Ve,mu("design:type",Object),mu("design:paramtypes",[])],I.prototype,"visibleChildren",null),Cf([ae,mu("design:type",Function),mu("design:paramtypes",[Object]),mu("design:returntype",void 0)],I.prototype,"setIsSelected",null),Cf([ae,mu("design:type",Function),mu("design:paramtypes",[]),mu("design:returntype",void 0)],I.prototype,"_initChildren",null),I})();var Wc=function(I,ee,z,xe){var Er,Mt=arguments.length,an=Mt<3?ee:null===xe?xe=Object.getOwnPropertyDescriptor(ee,z):xe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)an=Reflect.decorate(I,ee,z,xe);else for(var li=I.length-1;li>=0;li--)(Er=I[li])&&(an=(Mt<3?Er(an):Mt>3?Er(ee,z,an):Er(ee,z))||an);return Mt>3&&an&&Object.defineProperty(ee,z,an),an},Os=function(I,ee){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(I,ee)};let wc=(()=>{class I{constructor(){this.options=new Bg,this.eventNames=Object.keys(vd),this.expandedNodeIds={},this.selectedLeafNodeIds={},this.activeNodeIds={},this.hiddenNodeIds={},this.focusedNodeId=null,this.firstUpdate=!0,this.subscriptions=[]}fireEvent(z){z.treeModel=this,this.events[z.eventName].emit(z),this.events.event.emit(z)}subscribe(z,xe){const Mt=this.events[z].subscribe(xe);this.subscriptions.push(Mt)}getFocusedNode(){return this.focusedNode}getActiveNode(){return this.activeNodes[0]}getActiveNodes(){return this.activeNodes}getVisibleRoots(){return this.virtualRoot.visibleChildren}getFirstRoot(z=!1){return al(z?this.getVisibleRoots():this.roots)}getLastRoot(z=!1){return Od(z?this.getVisibleRoots():this.roots)}get isFocused(){return I.focusedTree===this}isNodeFocused(z){return this.focusedNode===z}isEmptyTree(){return this.roots&&0===this.roots.length}get focusedNode(){return this.focusedNodeId?this.getNodeById(this.focusedNodeId):null}get expandedNodes(){const z=Object.keys(this.expandedNodeIds).filter(xe=>this.expandedNodeIds[xe]).map(xe=>this.getNodeById(xe));return Ja(z)}get activeNodes(){const z=Object.keys(this.activeNodeIds).filter(xe=>this.activeNodeIds[xe]).map(xe=>this.getNodeById(xe));return Ja(z)}get hiddenNodes(){const z=Object.keys(this.hiddenNodeIds).filter(xe=>this.hiddenNodeIds[xe]).map(xe=>this.getNodeById(xe));return Ja(z)}get selectedLeafNodes(){const z=Object.keys(this.selectedLeafNodeIds).filter(xe=>this.selectedLeafNodeIds[xe]).map(xe=>this.getNodeById(xe));return Ja(z)}getNodeByPath(z,xe=null){if(!z)return null;if(xe=xe||this.virtualRoot,0===z.length)return xe;if(!xe.children)return null;const Mt=z.shift(),an=l1(xe.children,{id:Mt});return an?this.getNodeByPath(z,an):null}getNodeById(z){const xe=z.toString();return this.getNodeBy(Mt=>Mt.id.toString()===xe)}getNodeBy(z,xe=null){if(!(xe=xe||this.virtualRoot).children)return null;const Mt=l1(xe.children,z);if(Mt)return Mt;for(let an of xe.children){const Er=this.getNodeBy(z,an);if(Er)return Er}}isExpanded(z){return this.expandedNodeIds[z.id]}isHidden(z){return this.hiddenNodeIds[z.id]}isActive(z){return this.activeNodeIds[z.id]}isSelected(z){return this.selectedLeafNodeIds[z.id]}ngOnDestroy(){this.dispose(),this.unsubscribeAll()}dispose(){this.virtualRoot&&this.virtualRoot.dispose()}unsubscribeAll(){this.subscriptions.forEach(z=>z.unsubscribe()),this.subscriptions=[]}setData({nodes:z,options:xe=null,events:Mt=null}){xe&&(this.options=new Bg(xe)),Mt&&(this.events=Mt),z&&(this.nodes=z),this.update()}update(){let z={id:this.options.rootId,virtual:!0,[this.options.childrenField]:this.nodes};this.dispose(),this.virtualRoot=new Gg(z,null,this,0),this.roots=this.virtualRoot.children,this.firstUpdate?this.roots&&(this.firstUpdate=!1,this._calculateExpandedNodes()):this.fireEvent({eventName:vd.updateData})}setFocusedNode(z){this.focusedNodeId=z?z.id:null}setFocus(z){I.focusedTree=z?this:null}doForAll(z){this.roots.forEach(xe=>xe.doForAll(z))}focusNextNode(){let z=this.getFocusedNode(),xe=z?z.findNextNode(!0,!0):this.getFirstRoot(!0);xe&&xe.focus()}focusPreviousNode(){let z=this.getFocusedNode(),xe=z?z.findPreviousNode(!0):this.getLastRoot(!0);xe&&xe.focus()}focusDrillDown(){let z=this.getFocusedNode();if(z&&z.isCollapsed&&z.hasChildren)z.toggleExpanded();else{let xe=z?z.getFirstChild(!0):this.getFirstRoot(!0);xe&&xe.focus()}}focusDrillUp(){let z=this.getFocusedNode();if(z)if(z.isExpanded)z.toggleExpanded();else{let xe=z.realParent;xe&&xe.focus()}}setActiveNode(z,xe,Mt=!1){Mt?this._setActiveNodeMulti(z,xe):this._setActiveNodeSingle(z,xe),xe?(z.focus(this.options.scrollOnActivate),this.fireEvent({eventName:vd.activate,node:z}),this.fireEvent({eventName:vd.nodeActivate,node:z})):(this.fireEvent({eventName:vd.deactivate,node:z}),this.fireEvent({eventName:vd.nodeDeactivate,node:z}))}setSelectedNode(z,xe){this.selectedLeafNodeIds=Object.assign({},this.selectedLeafNodeIds,{[z.id]:xe}),xe?(z.focus(),this.fireEvent({eventName:vd.select,node:z})):this.fireEvent({eventName:vd.deselect,node:z})}setExpandedNode(z,xe){this.expandedNodeIds=Object.assign({},this.expandedNodeIds,{[z.id]:xe}),this.fireEvent({eventName:vd.toggleExpanded,node:z,isExpanded:xe})}expandAll(){this.roots.forEach(z=>z.expandAll())}collapseAll(){this.roots.forEach(z=>z.collapseAll())}setIsHidden(z,xe){this.hiddenNodeIds=Object.assign({},this.hiddenNodeIds,{[z.id]:xe})}setHiddenNodeIds(z){this.hiddenNodeIds=z.reduce((xe,Mt)=>Object.assign(xe,{[Mt]:!0}),{})}performKeyAction(z,xe){const Mt=this.options.actionMapping.keys[xe.keyCode];return!!Mt&&(xe.preventDefault(),Mt(this,z,xe),!0)}filterNodes(z,xe=!0){let Mt;if(!z)return this.clearFilter();if(Rg(z))Mt=Er=>-1!==Er.displayField.toLowerCase().indexOf(z.toLowerCase());else{if(!(0,sv.Z)(z))return console.error("Don't know what to do with filter",z),void console.error("Should be either a string or function");Mt=z}const an={};this.roots.forEach(Er=>this._filterNode(an,Er,Mt,xe)),this.hiddenNodeIds=an,this.fireEvent({eventName:vd.changeFilter})}clearFilter(){this.hiddenNodeIds={},this.fireEvent({eventName:vd.changeFilter})}moveNode(z,xe){const Mt=z.getIndexInParent(),an=z.parent;if(!this.canMoveNode(z,xe,Mt))return;const Er=an.getField("children");xe.parent.getField("children")||xe.parent.setField("children",[]);const li=xe.parent.getField("children"),es=Er.splice(Mt,1)[0];let ws=an===xe.parent&&xe.index>Mt?xe.index-1:xe.index;li.splice(ws,0,es),an.treeModel.update(),xe.parent.treeModel!==an.treeModel&&xe.parent.treeModel.update(),this.fireEvent({eventName:vd.moveNode,node:es,to:{parent:xe.parent.data,index:ws},from:{parent:an.data,index:Mt}})}copyNode(z,xe){const Mt=z.getIndexInParent();if(!this.canMoveNode(z,xe,Mt))return;xe.parent.getField("children")||xe.parent.setField("children",[]);const an=xe.parent.getField("children"),Er=this.options.getNodeClone(z);an.splice(xe.index,0,Er),z.treeModel.update(),xe.parent.treeModel!==z.treeModel&&xe.parent.treeModel.update(),this.fireEvent({eventName:vd.copyNode,node:Er,to:{parent:xe.parent.data,index:xe.index}})}getState(){return{expandedNodeIds:this.expandedNodeIds,selectedLeafNodeIds:this.selectedLeafNodeIds,activeNodeIds:this.activeNodeIds,hiddenNodeIds:this.hiddenNodeIds,focusedNodeId:this.focusedNodeId}}setState(z){z&&Object.assign(this,{expandedNodeIds:z.expandedNodeIds||{},selectedLeafNodeIds:z.selectedLeafNodeIds||{},activeNodeIds:z.activeNodeIds||{},hiddenNodeIds:z.hiddenNodeIds||{},focusedNodeId:z.focusedNodeId})}subscribeToState(z){Ei(()=>z(this.getState()))}canMoveNode(z,xe,Mt){return Mt||z.getIndexInParent(),(z.parent!==xe.parent||Mt!==xe.index)&&!xe.parent.isDescendantOf(z)}calculateExpandedNodes(){this._calculateExpandedNodes()}_filterNode(z,xe,Mt,an){let Er=Mt(xe);return xe.children&&xe.children.forEach(li=>{this._filterNode(z,li,Mt,an)&&(Er=!0)}),Er||(z[xe.id]=!0),an&&Er&&xe.ensureVisible(),Er}_calculateExpandedNodes(z=null){(z=z||this.virtualRoot).data[this.options.isExpandedField]&&(this.expandedNodeIds=Object.assign({},this.expandedNodeIds,{[z.id]:!0})),z.children&&z.children.forEach(xe=>this._calculateExpandedNodes(xe))}_setActiveNodeSingle(z,xe){this.activeNodes.filter(Mt=>Mt!==z).forEach(Mt=>{this.fireEvent({eventName:vd.deactivate,node:Mt}),this.fireEvent({eventName:vd.nodeDeactivate,node:Mt})}),this.activeNodeIds=xe?{[z.id]:!0}:{}}_setActiveNodeMulti(z,xe){this.activeNodeIds=Object.assign({},this.activeNodeIds,{[z.id]:xe})}}return I.\u0275fac=function(z){return new(z||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I.focusedTree=null,I})();Wc([Ut,Os("design:type",Array)],wc.prototype,"roots",void 0),Wc([Ut,Os("design:type",Object)],wc.prototype,"expandedNodeIds",void 0),Wc([Ut,Os("design:type",Object)],wc.prototype,"selectedLeafNodeIds",void 0),Wc([Ut,Os("design:type",Object)],wc.prototype,"activeNodeIds",void 0),Wc([Ut,Os("design:type",Object)],wc.prototype,"hiddenNodeIds",void 0),Wc([Ut,Os("design:type",Object)],wc.prototype,"focusedNodeId",void 0),Wc([Ut,Os("design:type",Gg)],wc.prototype,"virtualRoot",void 0),Wc([Ve,Os("design:type",Object),Os("design:paramtypes",[])],wc.prototype,"focusedNode",null),Wc([Ve,Os("design:type",Object),Os("design:paramtypes",[])],wc.prototype,"expandedNodes",null),Wc([Ve,Os("design:type",Object),Os("design:paramtypes",[])],wc.prototype,"activeNodes",null),Wc([Ve,Os("design:type",Object),Os("design:paramtypes",[])],wc.prototype,"hiddenNodes",null),Wc([Ve,Os("design:type",Object),Os("design:paramtypes",[])],wc.prototype,"selectedLeafNodes",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[Object]),Os("design:returntype",void 0)],wc.prototype,"setData",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[]),Os("design:returntype",void 0)],wc.prototype,"update",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[Object]),Os("design:returntype",void 0)],wc.prototype,"setFocusedNode",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[Object]),Os("design:returntype",void 0)],wc.prototype,"setFocus",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[Object]),Os("design:returntype",void 0)],wc.prototype,"doForAll",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[]),Os("design:returntype",void 0)],wc.prototype,"focusNextNode",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[]),Os("design:returntype",void 0)],wc.prototype,"focusPreviousNode",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[]),Os("design:returntype",void 0)],wc.prototype,"focusDrillDown",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[]),Os("design:returntype",void 0)],wc.prototype,"focusDrillUp",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[Object,Object,Object]),Os("design:returntype",void 0)],wc.prototype,"setActiveNode",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[Object,Object]),Os("design:returntype",void 0)],wc.prototype,"setSelectedNode",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[Object,Object]),Os("design:returntype",void 0)],wc.prototype,"setExpandedNode",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[]),Os("design:returntype",void 0)],wc.prototype,"expandAll",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[]),Os("design:returntype",void 0)],wc.prototype,"collapseAll",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[Object,Object]),Os("design:returntype",void 0)],wc.prototype,"setIsHidden",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[Object]),Os("design:returntype",void 0)],wc.prototype,"setHiddenNodeIds",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[Object,Object]),Os("design:returntype",void 0)],wc.prototype,"filterNodes",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[]),Os("design:returntype",void 0)],wc.prototype,"clearFilter",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[Object,Object]),Os("design:returntype",void 0)],wc.prototype,"moveNode",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[Object,Object]),Os("design:returntype",void 0)],wc.prototype,"copyNode",null),Wc([ae,Os("design:type",Function),Os("design:paramtypes",[Object]),Os("design:returntype",void 0)],wc.prototype,"setState",null);let Yg=(()=>{class I{constructor(){this._draggedElement=null}set(z){this._draggedElement=z}get(){return this._draggedElement}isDragging(){return!!this.get()}}return I.\u0275fac=function(z){return new(z||I)},I.\u0275prov=(0,r.Yz7)({factory:function(){return new I},token:I,providedIn:"root"}),I})();var q_=function(I,ee,z,xe){var Er,Mt=arguments.length,an=Mt<3?ee:null===xe?xe=Object.getOwnPropertyDescriptor(ee,z):xe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)an=Reflect.decorate(I,ee,z,xe);else for(var li=I.length-1;li>=0;li--)(Er=I[li])&&(an=(Mt<3?Er(an):Mt>3?Er(ee,z,an):Er(ee,z))||an);return Mt>3&&an&&Object.defineProperty(ee,z,an),an},Ud=function(I,ee){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(I,ee)};let Tp=(()=>{class I{constructor(z){this.treeModel=z,this.yBlocks=0,this.x=0,this.viewportHeight=null,this.viewport=null,z.virtualScroll=this,this._dispose=[Ei(()=>this.fixScroll())]}get y(){return 150*this.yBlocks}get totalHeight(){return this.treeModel.virtualRoot?this.treeModel.virtualRoot.height:0}fireEvent(z){this.treeModel.fireEvent(z)}init(){const z=this.recalcPositions.bind(this);z(),this._dispose=[...this._dispose,js(()=>this.treeModel.roots,z),js(()=>this.treeModel.expandedNodeIds,z),js(()=>this.treeModel.hiddenNodeIds,z)],this.treeModel.subscribe(vd.loadNodeChildren,z)}isEnabled(){return this.treeModel.options.useVirtualScroll}_setYBlocks(z){this.yBlocks=z}recalcPositions(){this.treeModel.virtualRoot.height=this._getPositionAfter(this.treeModel.getVisibleRoots(),0)}_getPositionAfter(z,xe){let Mt=xe;return z.forEach(an=>{an.position=Mt,Mt=this._getPositionAfterNode(an,Mt)}),Mt}_getPositionAfterNode(z,xe){let Mt=z.getSelfHeight()+xe;return z.children&&z.isExpanded&&(Mt=this._getPositionAfter(z.visibleChildren,Mt)),z.height=Mt-xe,Mt}clear(){this._dispose.forEach(z=>z())}setViewport(z){Object.assign(this,{viewport:z,x:z.scrollLeft,yBlocks:Math.round(z.scrollTop/150),viewportHeight:z.getBoundingClientRect?z.getBoundingClientRect().height:0})}scrollIntoView(z,xe,Mt=!0){if(z.options.scrollContainer){const an=z.options.scrollContainer,Er=an.getBoundingClientRect().height,li=an.getBoundingClientRect().top,es=this.viewport.getBoundingClientRect().top+z.position-li;(xe||es<an.scrollTop||es+z.getSelfHeight()>an.scrollTop+Er)&&(an.scrollTop=Mt?es-Er/2:es)}else(xe||z.position<this.y||z.position+z.getSelfHeight()>this.y+this.viewportHeight)&&this.viewport&&(this.viewport.scrollTop=Mt?z.position-this.viewportHeight/2:z.position,this._setYBlocks(Math.floor(this.viewport.scrollTop/150)))}getViewportNodes(z){if(!z)return[];const xe=z.filter(ws=>!ws.isHidden);if(!this.isEnabled())return xe;if(!this.viewportHeight||!xe.length)return[];const Mt=sg(xe,ws=>ws.position+500>this.y||ws.position+ws.height>this.y),an=sg(xe,ws=>ws.position-500>this.y+this.viewportHeight,Mt),Er=[];if(an-Mt>(1e3+this.viewportHeight)/xe[0].treeModel.options.options.nodeHeight)return[];for(let ws=Mt;ws<=an;ws++)Er.push(xe[ws]);return Er}fixScroll(){const z=Math.max(0,this.totalHeight-this.viewportHeight);this.y<0&&this._setYBlocks(0),this.y>z&&this._setYBlocks(z/150)}}return I.\u0275fac=function(z){return new(z||I)(r.LFG(wc))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})();function sg(I,ee,z=0){let xe=z,Mt=I.length-1;for(;xe!==Mt;){let an=Math.floor((xe+Mt)/2);ee(I[an])?Mt=an:xe=xe===an?Mt:an}return xe}q_([Ut,Ud("design:type",Object)],Tp.prototype,"yBlocks",void 0),q_([Ut,Ud("design:type",Object)],Tp.prototype,"x",void 0),q_([Ut,Ud("design:type",Object)],Tp.prototype,"viewportHeight",void 0),q_([Ve,Ud("design:type",Object),Ud("design:paramtypes",[])],Tp.prototype,"y",null),q_([Ve,Ud("design:type",Object),Ud("design:paramtypes",[])],Tp.prototype,"totalHeight",null),q_([ae,Ud("design:type",Function),Ud("design:paramtypes",[Object]),Ud("design:returntype",void 0)],Tp.prototype,"_setYBlocks",null),q_([ae,Ud("design:type",Function),Ud("design:paramtypes",[]),Ud("design:returntype",void 0)],Tp.prototype,"recalcPositions",null),q_([ae,Ud("design:type",Function),Ud("design:paramtypes",[Object]),Ud("design:returntype",void 0)],Tp.prototype,"setViewport",null),q_([ae,Ud("design:type",Function),Ud("design:paramtypes",[Object,Object,Object]),Ud("design:returntype",void 0)],Tp.prototype,"scrollIntoView",null);let Av=(()=>{class I{}return I.\u0275fac=function(z){return new(z||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["tree-loading-component"]],inputs:{template:"template",node:"node"},decls:2,vars:5,consts:[[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(z,xe){1&z&&(r.YNc(0,O_,2,0,"span",0),r.GkF(1,1)),2&z&&(r.Q6J("ngIf",!xe.template),r.xp6(1),r.Q6J("ngTemplateOutlet",xe.template)("ngTemplateOutletContext",r.VKq(3,hv,xe.node)))},dependencies:[a.O5,a.tP],encapsulation:2}),I})(),T1=(()=>{class I{constructor(z,xe,Mt){this.elementRef=z,this.ngZone=xe,this.virtualScroll=Mt,this.setViewport=Ng(()=>{this.virtualScroll.setViewport(this.elementRef.nativeElement)},17),this.scrollEventHandler=this.setViewport.bind(this)}ngOnInit(){this.virtualScroll.init()}ngAfterViewInit(){setTimeout(()=>{this.setViewport(),this.virtualScroll.fireEvent({eventName:vd.initialized})});let z=this.elementRef.nativeElement;this.ngZone.runOutsideAngular(()=>{z.addEventListener("scroll",this.scrollEventHandler)})}ngOnDestroy(){this.virtualScroll.clear(),this.elementRef.nativeElement.removeEventListener("scroll",this.scrollEventHandler)}getTotalHeight(){return this.virtualScroll.isEnabled()&&this.virtualScroll.totalHeight+"px"||"auto"}}return I.\u0275fac=function(z){return new(z||I)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(Tp))},I.\u0275cmp=r.Xpm({type:I,selectors:[["tree-viewport"]],features:[r._Bn([Tp])],ngContentSelectors:Gl,decls:1,vars:2,consts:[[4,"treeMobxAutorun"]],template:function(z,xe){1&z&&(r.F$t(),r.YNc(0,ym,3,2,"ng-container",0)),2&z&&r.Q6J("treeMobxAutorun",r.DdM(1,Hp))},dependencies:[Xf],encapsulation:2}),I})(),Dv=(()=>{class I{constructor(z,xe){this.treeModel=z,this.treeDraggedElement=xe,z.eventNames.forEach(Mt=>this[Mt]=new r.vpe),z.subscribeToState(Mt=>this.stateChange.emit(Mt))}set nodes(z){}set options(z){}set focused(z){this.treeModel.setFocus(z)}set state(z){this.treeModel.setState(z)}onKeydown(z){if(!this.treeModel.isFocused||fv(["input","textarea"],document.activeElement.tagName.toLowerCase()))return;const xe=this.treeModel.getFocusedNode();this.treeModel.performKeyAction(xe,z)}onMousedown(z){(function xe(Mt,an){return!Mt||Mt.localName!==an&&xe(Mt.parentElement,an)})(z.target,"tree-root")&&this.treeModel.setFocus(!1)}ngOnChanges(z){(z.options||z.nodes)&&this.treeModel.setData({options:z.options&&z.options.currentValue,nodes:z.nodes&&z.nodes.currentValue,events:m1(this,this.treeModel.eventNames)})}sizeChanged(){this.viewportComponent.setViewport()}}return I.\u0275fac=function(z){return new(z||I)(r.Y36(wc),r.Y36(Yg))},I.\u0275cmp=r.Xpm({type:I,selectors:[["Tree"],["tree-root"]],contentQueries:function(z,xe,Mt){if(1&z&&(r.Suo(Mt,ng,5),r.Suo(Mt,Kf,5),r.Suo(Mt,cd,5),r.Suo(Mt,mv,5)),2&z){let an;r.iGM(an=r.CRH())&&(xe.loadingTemplate=an.first),r.iGM(an=r.CRH())&&(xe.treeNodeTemplate=an.first),r.iGM(an=r.CRH())&&(xe.treeNodeWrapperTemplate=an.first),r.iGM(an=r.CRH())&&(xe.treeNodeFullTemplate=an.first)}},viewQuery:function(z,xe){if(1&z&&r.Gf(Oh,5),2&z){let Mt;r.iGM(Mt=r.CRH())&&(xe.viewportComponent=Mt.first)}},hostBindings:function(z,xe){1&z&&r.NdJ("keydown",function(an){return xe.onKeydown(an)},!1,r.pYS)("mousedown",function(an){return xe.onMousedown(an)},!1,r.pYS)},inputs:{nodes:"nodes",options:"options",focused:"focused",state:"state"},outputs:{toggleExpanded:"toggleExpanded",activate:"activate",deactivate:"deactivate",nodeActivate:"nodeActivate",nodeDeactivate:"nodeDeactivate",select:"select",deselect:"deselect",focus:"focus",blur:"blur",updateData:"updateData",initialized:"initialized",moveNode:"moveNode",copyNode:"copyNode",loadNodeChildren:"loadNodeChildren",changeFilter:"changeFilter",event:"event",stateChange:"stateChange"},features:[r._Bn([wc]),r.TTD],decls:5,vars:6,consts:[["viewport",""],[1,"angular-tree-component"],[3,"nodes","treeModel","templates",4,"ngIf"],["class","empty-tree-drop-slot",3,"dropIndex","node",4,"ngIf"],[3,"nodes","treeModel","templates"],[1,"empty-tree-drop-slot",3,"dropIndex","node"]],template:function(z,xe){1&z&&(r.TgZ(0,"tree-viewport",null,0)(2,"div",1),r.YNc(3,vv,1,8,"tree-node-collection",2),r.YNc(4,yv,1,2,"tree-node-drop-slot",3),r.qZA()()),2&z&&(r.xp6(2),r.ekj("node-dragging",xe.treeDraggedElement.isDragging())("angular-tree-component-rtl",xe.treeModel.options.rtl),r.xp6(1),r.Q6J("ngIf",xe.treeModel.roots),r.xp6(1),r.Q6J("ngIf",xe.treeModel.isEmptyTree()))},dependencies:function(){return[a.O5,ag,wh,T1]},encapsulation:2}),I})(),qd=(()=>{class I{}return I.\u0275fac=function(z){return new(z||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["TreeNode"],["tree-node"]],inputs:{node:"node",index:"index",templates:"templates"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],[3,"class","tree-node","tree-node-expanded","tree-node-collapsed","tree-node-leaf","tree-node-active","tree-node-focused",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"dropIndex","node",4,"ngIf"],[3,"node","index","templates"],[3,"node","templates"],[3,"dropIndex","node"]],template:function(z,xe){1&z&&r.YNc(0,kg,3,8,"ng-container",0),2&z&&r.Q6J("treeMobxAutorun",r.DdM(1,Hp))},dependencies:function(){return[a.O5,a.tP,Pv,ag,Zg,Xf]},encapsulation:2}),I})(),ep=(()=>{class I{}return I.\u0275fac=function(z){return new(z||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["tree-node-content"]],inputs:{node:"node",index:"index",template:"template"},decls:2,vars:7,consts:[[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(z,xe){1&z&&(r.YNc(0,n_,2,1,"span",0),r.GkF(1,1)),2&z&&(r.Q6J("ngIf",!xe.template),r.xp6(1),r.Q6J("ngTemplateOutlet",xe.template)("ngTemplateOutletContext",r.kEZ(3,$g,xe.node,xe.node,xe.index)))},dependencies:[a.O5,a.tP],encapsulation:2}),I})(),ag=(()=>{class I{onDrop(z){this.node.mouseAction("drop",z.event,{from:z.element,to:{parent:this.node,index:this.dropIndex}})}allowDrop(z,xe){return this.node.options.allowDrop(z,{parent:this.node,index:this.dropIndex},xe)}}return I.\u0275fac=function(z){return new(z||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["TreeNodeDropSlot"],["tree-node-drop-slot"]],inputs:{node:"node",dropIndex:"dropIndex"},decls:1,vars:2,consts:[[1,"node-drop-slot",3,"treeAllowDrop","allowDragoverStyling","treeDrop"]],template:function(z,xe){1&z&&(r.TgZ(0,"div",0),r.NdJ("treeDrop",function(an){return xe.onDrop(an)}),r.qZA()),2&z&&r.Q6J("treeAllowDrop",xe.allowDrop.bind(xe))("allowDragoverStyling",!0)},dependencies:function(){return[Um]},encapsulation:2}),I})(),Rv=(()=>{class I{}return I.\u0275fac=function(z){return new(z||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["tree-node-expander"]],inputs:{node:"node"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],["class","toggle-children-wrapper",3,"toggle-children-wrapper-expanded","toggle-children-wrapper-collapsed","click",4,"ngIf"],["class","toggle-children-placeholder",4,"ngIf"],[1,"toggle-children-wrapper",3,"click"],[1,"toggle-children"],[1,"toggle-children-placeholder"]],template:function(z,xe){1&z&&r.YNc(0,au,3,2,"ng-container",0),2&z&&r.Q6J("treeMobxAutorun",r.DdM(1,Hp))},dependencies:[a.O5,Xf],encapsulation:2}),I})(),Pv=(()=>{class I{}return I.\u0275fac=function(z){return new(z||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["tree-node-children"]],inputs:{node:"node",templates:"templates"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],[3,"tree-children","tree-children-no-padding",4,"treeAnimateOpen","treeAnimateOpenSpeed","treeAnimateOpenAcceleration","treeAnimateOpenEnabled"],[3,"nodes","templates","treeModel",4,"ngIf"],["class","tree-node-loading",3,"padding-left","template","node",4,"ngIf"],[3,"nodes","templates","treeModel"],[1,"tree-node-loading",3,"template","node"]],template:function(z,xe){1&z&&r.YNc(0,y1,2,4,"ng-container",0),2&z&&r.Q6J("treeMobxAutorun",r.DdM(1,Hp))},dependencies:function(){return[a.O5,Av,wh,b1,Xf]},encapsulation:2}),I})();const km=Object.assign(function Lm(...I){return ae(...I)},ae),S0=Object.assign(function lg(...I){return Ve(...I)},Ve),xv=Object.assign(function cg(...I){return Ut(...I)},Ut);var $m=function(I,ee,z,xe){var Er,Mt=arguments.length,an=Mt<3?ee:null===xe?xe=Object.getOwnPropertyDescriptor(ee,z):xe;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)an=Reflect.decorate(I,ee,z,xe);else for(var li=I.length-1;li>=0;li--)(Er=I[li])&&(an=(Mt<3?Er(an):Mt>3?Er(ee,z,an):Er(ee,z))||an);return Mt>3&&an&&Object.defineProperty(ee,z,an),an},xh=function(I,ee){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(I,ee)};let wh=(()=>{class I{constructor(){this._dispose=[]}get nodes(){return this._nodes}set nodes(z){this.setNodes(z)}get marginTop(){const z=this.viewportNodes&&this.viewportNodes.length&&this.viewportNodes[0];return(z&&z.parent?z.position-z.parent.position-z.parent.getSelfHeight():0)+"px"}setNodes(z){this._nodes=z}ngOnInit(){this.virtualScroll=this.treeModel.virtualScroll,this._dispose=[js(()=>this.virtualScroll.getViewportNodes(this.nodes).map(z=>z.index),z=>{this.viewportNodes=z.map(xe=>this.nodes[xe])},{compareStructural:!0,fireImmediately:!0}),js(()=>this.nodes,z=>{this.viewportNodes=this.virtualScroll.getViewportNodes(z)})]}ngOnDestroy(){this._dispose.forEach(z=>z())}trackNode(z,xe){return xe.id}}return I.\u0275fac=function(z){return new(z||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["tree-node-collection"]],inputs:{nodes:"nodes",treeModel:"treeModel",templates:"templates"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],[3,"node","index","templates",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","index","templates"]],template:function(z,xe){1&z&&r.YNc(0,Cv,3,4,"ng-container",0),2&z&&r.Q6J("treeMobxAutorun",r.DdM(1,Hp))},dependencies:[a.sg,qd,Xf],encapsulation:2}),I})();$m([xv,xh("design:type",Object)],wh.prototype,"_nodes",void 0),$m([xv,xh("design:type",Array)],wh.prototype,"viewportNodes",void 0),$m([S0,xh("design:type",String),xh("design:paramtypes",[])],wh.prototype,"marginTop",null),$m([km,xh("design:type",Function),xh("design:paramtypes",[Object]),xh("design:returntype",void 0)],wh.prototype,"setNodes",null);let Zg=(()=>{class I{constructor(){}}return I.\u0275fac=function(z){return new(z||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["tree-node-wrapper"]],inputs:{node:"node",index:"index",templates:"templates"},decls:2,vars:8,consts:[["class","node-wrapper",3,"padding-left",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"node-wrapper"],[3,"node",4,"ngIf"],[3,"node"],[1,"node-content-wrapper",3,"treeAllowDrop","allowDragoverStyling","treeDrag","treeDragEnabled","click","dblclick","mouseover","mouseout","contextmenu","treeDrop","treeDropDragOver","treeDropDragLeave","treeDropDragEnter"],[3,"node","index","template"]],template:function(z,xe){1&z&&(r.YNc(0,Dh,5,15,"div",0),r.GkF(1,1)),2&z&&(r.Q6J("ngIf",!xe.templates.treeNodeWrapperTemplate),r.xp6(1),r.Q6J("ngTemplateOutlet",xe.templates.treeNodeWrapperTemplate)("ngTemplateOutletContext",r.l5B(3,em,xe.node,xe.node,xe.index,xe.templates)))},dependencies:function(){return[a.O5,a.tP,ep,Um,wv,Rv,zg]},encapsulation:2}),I})(),zg=(()=>{class I{}return I.\u0275fac=function(z){return new(z||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["tree-node-checkbox"]],inputs:{node:"node"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],["type","checkbox",1,"tree-node-checkbox",3,"checked","indeterminate","click"]],template:function(z,xe){1&z&&r.YNc(0,Xd,2,2,"ng-container",0),2&z&&r.Q6J("treeMobxAutorun",r.DdM(1,Hp))},dependencies:[Xf],encapsulation:2}),I})();const A_="is-dragging-over",Hm="is-dragging-over-disabled";let Um=(()=>{class I{constructor(z,xe,Mt,an){this.el=z,this.renderer=xe,this.treeDraggedElement=Mt,this.ngZone=an,this.allowDragoverStyling=!0,this.onDropCallback=new r.vpe,this.onDragOverCallback=new r.vpe,this.onDragLeaveCallback=new r.vpe,this.onDragEnterCallback=new r.vpe,this._allowDrop=(Er,li)=>!0,this.dragOverEventHandler=this.onDragOver.bind(this),this.dragEnterEventHandler=this.onDragEnter.bind(this),this.dragLeaveEventHandler=this.onDragLeave.bind(this)}set treeAllowDrop(z){this._allowDrop=z instanceof Function?z:(xe,Mt)=>z}allowDrop(z){return this._allowDrop(this.treeDraggedElement.get(),z)}ngAfterViewInit(){let z=this.el.nativeElement;this.ngZone.runOutsideAngular(()=>{z.addEventListener("dragover",this.dragOverEventHandler),z.addEventListener("dragenter",this.dragEnterEventHandler),z.addEventListener("dragleave",this.dragLeaveEventHandler)})}ngOnDestroy(){let z=this.el.nativeElement;z.removeEventListener("dragover",this.dragOverEventHandler),z.removeEventListener("dragenter",this.dragEnterEventHandler),z.removeEventListener("dragleave",this.dragLeaveEventHandler)}onDragOver(z){if(!this.allowDrop(z))return this.allowDragoverStyling?this.addDisabledClass():void 0;this.onDragOverCallback.emit({event:z,element:this.treeDraggedElement.get()}),z.preventDefault(),this.allowDragoverStyling&&this.addClass()}onDragEnter(z){this.allowDrop(z)&&(z.preventDefault(),this.onDragEnterCallback.emit({event:z,element:this.treeDraggedElement.get()}))}onDragLeave(z){if(!this.allowDrop(z))return this.allowDragoverStyling?this.removeDisabledClass():void 0;this.onDragLeaveCallback.emit({event:z,element:this.treeDraggedElement.get()}),this.allowDragoverStyling&&this.removeClass()}onDrop(z){this.allowDrop(z)&&(z.preventDefault(),this.onDropCallback.emit({event:z,element:this.treeDraggedElement.get()}),this.allowDragoverStyling&&this.removeClass(),this.treeDraggedElement.set(null))}addClass(){this.renderer.addClass(this.el.nativeElement,A_)}removeClass(){this.renderer.removeClass(this.el.nativeElement,A_)}addDisabledClass(){this.renderer.addClass(this.el.nativeElement,Hm)}removeDisabledClass(){this.renderer.removeClass(this.el.nativeElement,Hm)}}return I.\u0275fac=function(z){return new(z||I)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(Yg),r.Y36(r.R0b))},I.\u0275dir=r.lG2({type:I,selectors:[["","treeDrop",""]],hostBindings:function(z,xe){1&z&&r.NdJ("drop",function(an){return xe.onDrop(an)})},inputs:{allowDragoverStyling:"allowDragoverStyling",treeAllowDrop:"treeAllowDrop"},outputs:{onDropCallback:"treeDrop",onDragOverCallback:"treeDropDragOver",onDragLeaveCallback:"treeDropDragLeave",onDragEnterCallback:"treeDropDragEnter"}}),I})(),wv=(()=>{class I{constructor(z,xe,Mt,an){this.el=z,this.renderer=xe,this.treeDraggedElement=Mt,this.ngZone=an,this.dragEventHandler=this.onDrag.bind(this)}ngAfterViewInit(){let z=this.el.nativeElement;this.ngZone.runOutsideAngular(()=>{z.addEventListener("drag",this.dragEventHandler)})}ngDoCheck(){this.renderer.setAttribute(this.el.nativeElement,"draggable",this.treeDragEnabled?"true":"false")}ngOnDestroy(){this.el.nativeElement.removeEventListener("drag",this.dragEventHandler)}onDragStart(z){z.dataTransfer.setData("text",z.target.id),this.treeDraggedElement.set(this.draggedElement),this.draggedElement.mouseAction&&this.draggedElement.mouseAction("dragStart",z)}onDrag(z){this.draggedElement.mouseAction&&this.draggedElement.mouseAction("drag",z)}onDragEnd(){this.draggedElement.mouseAction&&this.draggedElement.mouseAction("dragEnd"),this.treeDraggedElement.set(null)}}return I.\u0275fac=function(z){return new(z||I)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(Yg),r.Y36(r.R0b))},I.\u0275dir=r.lG2({type:I,selectors:[["","treeDrag",""]],hostBindings:function(z,xe){1&z&&r.NdJ("dragstart",function(an){return xe.onDragStart(an)})("dragend",function(){return xe.onDragEnd()})},inputs:{draggedElement:["treeDrag","draggedElement"],treeDragEnabled:"treeDragEnabled"}}),I})(),b1=(()=>{class I{constructor(z,xe,Mt){this.renderer=z,this.templateRef=xe,this.viewContainerRef=Mt}set isOpen(z){z?(this._show(),this.isEnabled&&!1===this._isOpen&&this._animateOpen()):this.isEnabled?this._animateClose():this._hide(),this._isOpen=!!z}_show(){this.innerElement||(this.innerElement=this.viewContainerRef.createEmbeddedView(this.templateRef).rootNodes[0])}_hide(){this.viewContainerRef.clear(),this.innerElement=null}_animateOpen(){let z=this.animateSpeed,xe=this.animateAcceleration,Mt=0;this.renderer.setStyle(this.innerElement,"max-height","0"),setTimeout(()=>{const an=setInterval(()=>{if(!this._isOpen||!this.innerElement)return clearInterval(an);Mt+=z;const Er=Math.round(Mt);this.renderer.setStyle(this.innerElement,"max-height",`${Er}px`);const li=this.innerElement.getBoundingClientRect?this.innerElement.getBoundingClientRect().height:0;z*=xe,xe*=1.005,li<Er&&(this.renderer.setStyle(this.innerElement,"max-height",null),clearInterval(an))},17)})}_animateClose(){if(!this.innerElement)return;let z=this.animateSpeed,xe=this.animateAcceleration,Mt=this.innerElement.getBoundingClientRect().height;const an=setInterval(()=>{if(this._isOpen||!this.innerElement)return clearInterval(an);Mt-=z,this.renderer.setStyle(this.innerElement,"max-height",`${Mt}px`),z*=xe,xe*=1.005,Mt<=0&&(this.viewContainerRef.clear(),this.innerElement=null,clearInterval(an))},17)}}return I.\u0275fac=function(z){return new(z||I)(r.Y36(r.Qsj),r.Y36(r.Rgc),r.Y36(r.s_b))},I.\u0275dir=r.lG2({type:I,selectors:[["","treeAnimateOpen",""]],inputs:{isOpen:["treeAnimateOpen","isOpen"],animateSpeed:["treeAnimateOpenSpeed","animateSpeed"],animateAcceleration:["treeAnimateOpenAcceleration","animateAcceleration"],isEnabled:["treeAnimateOpenEnabled","isEnabled"]}}),I})(),Nv=(()=>{class I{}return I.\u0275fac=function(z){return new(z||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[a.ez]}),I})()},84051:(y,b,o)=>{"use strict";o.d(b,{$7:()=>er,AR:()=>zt,Hg:()=>Ut,Sr:()=>Do,dX:()=>Kr,ii:()=>ji,nE:()=>Da,vq:()=>Wt,xD:()=>Lo});var r=o(64537),a=o(88692),u=o(79765),c=o(22759),e=o(26215),f=o(46782),h=o(64762);const E=["*"];function T(_t,On){1&_t&&r._UZ(0,"datatable-progress")}function D(_t,On){if(1&_t&&r._UZ(0,"datatable-summary-row",9),2&_t){const ae=r.oxw(2);r.Q6J("rowHeight",ae.summaryHeight)("offsetX",ae.offsetX)("innerWidth",ae.innerWidth)("rows",ae.rows)("columns",ae.columns)}}function A(_t,On){if(1&_t){const ae=r.EpF();r.TgZ(0,"datatable-body-row",13),r.NdJ("treeAction",function(){r.CHM(ae);const on=r.oxw().$implicit,yn=r.oxw(2);return r.KtG(yn.onTreeAction(on))})("activate",function(on){r.CHM(ae);const yn=r.oxw().index,Ei=r.oxw(2),Ui=r.MAs(2);return r.KtG(Ui.onActivate(on,Ei.indexes.first+yn))}),r.qZA()}if(2&_t){const ae=r.oxw().$implicit,We=r.oxw(2),on=r.MAs(2);r.Q6J("isSelected",on.getRowSelected(ae))("innerWidth",We.innerWidth)("offsetX",We.offsetX)("columns",We.columns)("rowHeight",We.getRowHeight(ae))("row",ae)("rowIndex",We.getRowIndex(ae))("expanded",We.getRowExpanded(ae))("rowClass",We.rowClass)("displayCheck",We.displayCheck)("treeStatus",ae&&ae.treeStatus)}}function $(_t,On){if(1&_t){const ae=r.EpF();r.TgZ(0,"datatable-body-row",15),r.NdJ("activate",function(on){const Ei=r.CHM(ae).index;r.oxw(4);const Ui=r.MAs(2);return r.KtG(Ui.onActivate(on,Ei))}),r.qZA()}if(2&_t){const ae=On.$implicit,We=r.oxw(2).$implicit,on=r.oxw(2),yn=r.MAs(2);r.Q6J("isSelected",yn.getRowSelected(ae))("innerWidth",on.innerWidth)("offsetX",on.offsetX)("columns",on.columns)("rowHeight",on.getRowHeight(ae))("row",ae)("group",We.value)("rowIndex",on.getRowIndex(ae))("expanded",on.getRowExpanded(ae))("rowClass",on.rowClass)}}function Q(_t,On){if(1&_t&&r.YNc(0,$,1,10,"datatable-body-row",14),2&_t){const ae=r.oxw().$implicit,We=r.oxw(2);r.Q6J("ngForOf",ae.value)("ngForTrackBy",We.rowTrackingFn)}}function U(_t,On){if(1&_t){const ae=r.EpF();r.TgZ(0,"datatable-row-wrapper",10),r.NdJ("rowContextmenu",function(on){r.CHM(ae);const yn=r.oxw(2);return r.KtG(yn.rowContextmenu.emit(on))}),r.YNc(1,A,1,11,"datatable-body-row",11),r.YNc(2,Q,1,2,"ng-template",null,12,r.W1O),r.qZA()}if(2&_t){const ae=On.$implicit,We=On.index,on=r.MAs(3),yn=r.oxw(2);r.Q6J("groupedRows",yn.groupedRows)("innerWidth",yn.innerWidth)("ngStyle",yn.getRowsStyles(ae))("rowDetail",yn.rowDetail)("groupHeader",yn.groupHeader)("offsetX",yn.offsetX)("detailRowHeight",yn.getDetailRowHeight(ae&&ae[We],We))("row",ae)("expanded",yn.getRowExpanded(ae))("rowIndex",yn.getRowIndex(ae&&ae[We])),r.xp6(1),r.Q6J("ngIf",!yn.groupedRows)("ngIfElse",on)}}function q(_t,On){if(1&_t&&r._UZ(0,"datatable-summary-row",16),2&_t){const ae=r.oxw(2);r.Q6J("ngStyle",ae.getBottomSummaryRowStyles())("rowHeight",ae.summaryHeight)("offsetX",ae.offsetX)("innerWidth",ae.innerWidth)("rows",ae.rows)("columns",ae.columns)}}function L(_t,On){if(1&_t){const ae=r.EpF();r.TgZ(0,"datatable-scroller",5),r.NdJ("scroll",function(on){r.CHM(ae);const yn=r.oxw();return r.KtG(yn.onBodyScroll(on))}),r.YNc(1,D,1,5,"datatable-summary-row",6),r.YNc(2,U,4,12,"datatable-row-wrapper",7),r.YNc(3,q,1,6,"datatable-summary-row",8),r.qZA()}if(2&_t){const ae=r.oxw();r.Q6J("scrollbarV",ae.scrollbarV)("scrollbarH",ae.scrollbarH)("scrollHeight",ae.scrollHeight)("scrollWidth",null==ae.columnGroupWidths?null:ae.columnGroupWidths.total),r.xp6(1),r.Q6J("ngIf",ae.summaryRow&&"top"===ae.summaryPosition),r.xp6(1),r.Q6J("ngForOf",ae.temp)("ngForTrackBy",ae.rowTrackingFn),r.xp6(1),r.Q6J("ngIf",ae.summaryRow&&"bottom"===ae.summaryPosition)}}function J(_t,On){if(1&_t&&r._UZ(0,"div",17),2&_t){const ae=r.oxw();r.Q6J("innerHTML",ae.emptyMessage,r.oJD)}}function pe(_t,On){if(1&_t){const ae=r.EpF();r.TgZ(0,"datatable-header-cell",4),r.NdJ("resize",function(on){const Ei=r.CHM(ae).$implicit,Ui=r.oxw(2);return r.KtG(Ui.onColumnResized(on,Ei))})("longPressStart",function(on){r.CHM(ae);const yn=r.oxw(2);return r.KtG(yn.onLongPressStart(on))})("longPressEnd",function(on){r.CHM(ae);const yn=r.oxw(2);return r.KtG(yn.onLongPressEnd(on))})("sort",function(on){r.CHM(ae);const yn=r.oxw(2);return r.KtG(yn.onSort(on))})("select",function(on){r.CHM(ae);const yn=r.oxw(2);return r.KtG(yn.select.emit(on))})("columnContextmenu",function(on){r.CHM(ae);const yn=r.oxw(2);return r.KtG(yn.columnContextmenu.emit(on))}),r.qZA()}if(2&_t){const ae=On.$implicit,We=r.oxw(2);r.Q6J("resizeEnabled",ae.resizeable)("pressModel",ae)("pressEnabled",We.reorderable&&ae.draggable)("dragX",We.reorderable&&ae.draggable&&ae.dragging)("dragY",!1)("dragModel",ae)("dragEventTarget",We.dragEventTarget)("headerHeight",We.headerHeight)("isTarget",ae.isTarget)("targetMarkerTemplate",We.targetMarkerTemplate)("targetMarkerContext",ae.targetMarkerContext)("column",ae)("sortType",We.sortType)("sorts",We.sorts)("selectionType",We.selectionType)("sortAscendingIcon",We.sortAscendingIcon)("sortDescendingIcon",We.sortDescendingIcon)("sortUnsetIcon",We.sortUnsetIcon)("allRowsSelected",We.allRowsSelected)}}function j(_t,On){if(1&_t&&(r.TgZ(0,"div",2),r.YNc(1,pe,1,19,"datatable-header-cell",3),r.qZA()),2&_t){const ae=On.$implicit,We=r.oxw();r.Tol("datatable-row-"+ae.type),r.Q6J("ngStyle",We._styleByGroup[ae.type]),r.xp6(1),r.Q6J("ngForOf",ae.columns)("ngForTrackBy",We.columnTrackingFn)}}function ue(_t,On){if(1&_t){const ae=r.EpF();r.TgZ(0,"datatable-header",4),r.NdJ("sort",function(on){r.CHM(ae);const yn=r.oxw();return r.KtG(yn.onColumnSort(on))})("resize",function(on){r.CHM(ae);const yn=r.oxw();return r.KtG(yn.onColumnResize(on))})("reorder",function(on){r.CHM(ae);const yn=r.oxw();return r.KtG(yn.onColumnReorder(on))})("select",function(on){r.CHM(ae);const yn=r.oxw();return r.KtG(yn.onHeaderSelect(on))})("columnContextmenu",function(on){r.CHM(ae);const yn=r.oxw();return r.KtG(yn.onColumnContextmenu(on))}),r.ALo(1,"async"),r.qZA()}if(2&_t){const ae=r.oxw();r.Q6J("sorts",ae.sorts)("sortType",ae.sortType)("scrollbarH",ae.scrollbarH)("innerWidth",ae._innerWidth)("offsetX",r.lcZ(1,15,ae._offsetX))("dealsWithGroup",void 0!==ae.groupedRows)("columns",ae._internalColumns)("headerHeight",ae.headerHeight)("reorderable",ae.reorderable)("targetMarkerTemplate",ae.targetMarkerTemplate)("sortAscendingIcon",ae.cssClasses.sortAscending)("sortDescendingIcon",ae.cssClasses.sortDescending)("sortUnsetIcon",ae.cssClasses.sortUnset)("allRowsSelected",ae.allRowsSelected)("selectionType",ae.selectionType)}}function ie(_t,On){if(1&_t){const ae=r.EpF();r.TgZ(0,"datatable-footer",5),r.NdJ("page",function(on){r.CHM(ae);const yn=r.oxw();return r.KtG(yn.onFooterPage(on))}),r.qZA()}if(2&_t){const ae=r.oxw();r.Q6J("rowCount",ae.rowCount)("pageSize",ae.pageSize)("offset",ae.offset)("footerHeight",ae.footerHeight)("footerTemplate",ae.footer)("totalMessage",ae.messages.totalMessage)("pagerLeftArrowIcon",ae.cssClasses.pagerLeftArrow)("pagerRightArrowIcon",ae.cssClasses.pagerRightArrow)("pagerPreviousIcon",ae.cssClasses.pagerPrevious)("selectedCount",ae.selected.length)("selectedMessage",!!ae.selectionType&&ae.messages.selectedMessage)("pagerNextIcon",ae.cssClasses.pagerNext)}}function me(_t,On){}function Oe(_t,On){if(1&_t&&r.YNc(0,me,0,0,"ng-template",5),2&_t){const ae=r.oxw();r.Q6J("ngTemplateOutlet",ae.targetMarkerTemplate)("ngTemplateOutletContext",ae.targetMarkerContext)}}function Ue(_t,On){if(1&_t){const ae=r.EpF();r.TgZ(0,"label",6)(1,"input",7),r.NdJ("change",function(){r.CHM(ae);const on=r.oxw();return r.KtG(on.select.emit(!on.allRowsSelected))}),r.qZA()()}if(2&_t){const ae=r.oxw();r.xp6(1),r.Q6J("checked",ae.allRowsSelected)}}function Me(_t,On){if(1&_t){const ae=r.EpF();r.TgZ(0,"span",8)(1,"span",9),r.NdJ("click",function(){r.CHM(ae);const on=r.oxw();return r.KtG(on.onSort())}),r.qZA()()}if(2&_t){const ae=r.oxw();r.xp6(1),r.Q6J("innerHTML",ae.name,r.oJD)}}function yt(_t,On){}function et(_t,On){if(1&_t&&r.YNc(0,yt,0,0,"ng-template",5),2&_t){const ae=r.oxw();r.Q6J("ngTemplateOutlet",ae.column.headerTemplate)("ngTemplateOutletContext",ae.cellContext)}}function tt(_t,On){}const Et=function(_t,On,ae,We,on){return{rowCount:_t,pageSize:On,selectedCount:ae,curPage:We,offset:on}};function ze(_t,On){if(1&_t&&r.YNc(0,tt,0,0,"ng-template",4),2&_t){const ae=r.oxw();r.Q6J("ngTemplateOutlet",ae.footerTemplate.template)("ngTemplateOutletContext",r.qbA(2,Et,ae.rowCount,ae.pageSize,ae.selectedCount,ae.curPage,ae.offset))}}function bt(_t,On){if(1&_t&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&_t){const ae=r.oxw(2);r.xp6(1),r.AsE(" ",null==ae.selectedCount?null:ae.selectedCount.toLocaleString()," ",ae.selectedMessage," / ")}}function Ct(_t,On){if(1&_t&&(r.TgZ(0,"div",5),r.YNc(1,bt,2,2,"span",1),r._uU(2),r.qZA()),2&_t){const ae=r.oxw();r.xp6(1),r.Q6J("ngIf",ae.selectedMessage),r.xp6(1),r.AsE(" ",null==ae.rowCount?null:ae.rowCount.toLocaleString()," ",ae.totalMessage," ")}}function Qt(_t,On){if(1&_t){const ae=r.EpF();r.TgZ(0,"datatable-pager",6),r.NdJ("change",function(on){r.CHM(ae);const yn=r.oxw();return r.KtG(yn.page.emit(on))}),r.qZA()}if(2&_t){const ae=r.oxw();r.Q6J("pagerLeftArrowIcon",ae.pagerLeftArrowIcon)("pagerRightArrowIcon",ae.pagerRightArrowIcon)("pagerPreviousIcon",ae.pagerPreviousIcon)("pagerNextIcon",ae.pagerNextIcon)("page",ae.curPage)("size",ae.pageSize)("count",ae.rowCount)("hidden",!ae.isVisible)}}const ht=function(_t){return{"selected-count":_t}};function en(_t,On){if(1&_t){const ae=r.EpF();r.TgZ(0,"li",6)(1,"a",7),r.NdJ("click",function(){const yn=r.CHM(ae).$implicit,Ei=r.oxw();return r.KtG(Ei.selectPage(yn.number))}),r._uU(2),r.qZA()()}if(2&_t){const ae=On.$implicit,We=r.oxw();r.ekj("active",ae.number===We.page),r.uIk("aria-label","page "+ae.number),r.xp6(2),r.hij(" ",ae.text," ")}}function nn(_t,On){if(1&_t){const ae=r.EpF();r.TgZ(0,"datatable-body-cell",3),r.NdJ("activate",function(on){const Ei=r.CHM(ae).index,Ui=r.oxw(2);return r.KtG(Ui.onActivate(on,Ei))})("treeAction",function(){r.CHM(ae);const on=r.oxw(2);return r.KtG(on.onTreeAction())}),r.qZA()}if(2&_t){const ae=On.$implicit,We=r.oxw(2);r.Q6J("row",We.row)("group",We.group)("expanded",We.expanded)("isSelected",We.isSelected)("rowIndex",We.rowIndex)("column",ae)("rowHeight",We.rowHeight)("displayCheck",We.displayCheck)("treeStatus",We.treeStatus)}}function bn(_t,On){if(1&_t&&(r.TgZ(0,"div",1),r.YNc(1,nn,1,9,"datatable-body-cell",2),r.qZA()),2&_t){const ae=On.$implicit,We=r.oxw();r.Gre("datatable-row-",ae.type," datatable-row-group"),r.Q6J("ngStyle",We._groupStyles[ae.type]),r.xp6(1),r.Q6J("ngForOf",ae.columns)("ngForTrackBy",We.columnTrackingFn)}}function Dn(_t,On){}function Rt(_t,On){if(1&_t&&r.YNc(0,Dn,0,0,"ng-template",4),2&_t){const ae=r.oxw(2);r.Q6J("ngTemplateOutlet",ae.groupHeader.template)("ngTemplateOutletContext",ae.groupContext)}}function Xt(_t,On){if(1&_t&&(r.TgZ(0,"div",3),r.YNc(1,Rt,1,2,null,1),r.qZA()),2&_t){const ae=r.oxw();r.Q6J("ngStyle",ae.getGroupHeaderStyle()),r.xp6(1),r.Q6J("ngIf",ae.groupHeader&&ae.groupHeader.template)}}function un(_t,On){1&_t&&r.Hsn(0,0,["*ngIf","(groupHeader && groupHeader.template && expanded) || !groupHeader || !groupHeader.template"])}function _n(_t,On){}function kn(_t,On){if(1&_t&&r.YNc(0,_n,0,0,"ng-template",4),2&_t){const ae=r.oxw(2);r.Q6J("ngTemplateOutlet",ae.rowDetail.template)("ngTemplateOutletContext",ae.rowContext)}}function ri(_t,On){if(1&_t&&(r.TgZ(0,"div",5),r.YNc(1,kn,1,2,null,1),r.qZA()),2&_t){const ae=r.oxw();r.Udp("height",ae.detailRowHeight,"px"),r.xp6(1),r.Q6J("ngIf",ae.rowDetail&&ae.rowDetail.template)}}const Ir=["cellTemplate"];function wr(_t,On){if(1&_t){const ae=r.EpF();r.TgZ(0,"label",4)(1,"input",5),r.NdJ("click",function(on){r.CHM(ae);const yn=r.oxw();return r.KtG(yn.onCheckboxChange(on))}),r.qZA()()}if(2&_t){const ae=r.oxw();r.xp6(1),r.Q6J("checked",ae.isSelected)}}function _r(_t,On){1&_t&&r._UZ(0,"i",11)}function oi(_t,On){1&_t&&r._UZ(0,"i",12)}function Ri(_t,On){1&_t&&r._UZ(0,"i",13)}function Tr(_t,On){if(1&_t){const ae=r.EpF();r.TgZ(0,"button",7),r.NdJ("click",function(){r.CHM(ae);const on=r.oxw(2);return r.KtG(on.onTreeAction())}),r.TgZ(1,"span"),r.YNc(2,_r,1,0,"i",8),r.YNc(3,oi,1,0,"i",9),r.YNc(4,Ri,1,0,"i",10),r.qZA()()}if(2&_t){const ae=r.oxw(2);r.Q6J("disabled","disabled"===ae.treeStatus),r.xp6(2),r.Q6J("ngIf","loading"===ae.treeStatus),r.xp6(1),r.Q6J("ngIf","collapsed"===ae.treeStatus),r.xp6(1),r.Q6J("ngIf","expanded"===ae.treeStatus||"disabled"===ae.treeStatus)}}function ft(_t,On){}const sn=function(_t){return{cellContext:_t}};function At(_t,On){if(1&_t&&r.YNc(0,ft,0,0,"ng-template",14),2&_t){const ae=r.oxw(2);r.Q6J("ngTemplateOutlet",ae.column.treeToggleTemplate)("ngTemplateOutletContext",r.VKq(2,sn,ae.cellContext))}}function Ln(_t,On){if(1&_t&&(r.ynx(0),r.YNc(1,Tr,5,4,"button",6),r.YNc(2,At,1,4,null,2),r.BQk()),2&_t){const ae=r.oxw();r.xp6(1),r.Q6J("ngIf",!ae.column.treeToggleTemplate),r.xp6(1),r.Q6J("ngIf",ae.column.treeToggleTemplate)}}function rr(_t,On){if(1&_t&&r._UZ(0,"span",15),2&_t){const ae=r.oxw();r.Q6J("title",ae.sanitizedValue)("innerHTML",ae.value,r.oJD)}}function Lr(_t,On){}function Fi(_t,On){if(1&_t&&r.YNc(0,Lr,0,0,"ng-template",14,16,r.W1O),2&_t){const ae=r.oxw();r.Q6J("ngTemplateOutlet",ae.column.cellTemplate)("ngTemplateOutletContext",ae.cellContext)}}function so(_t,On){if(1&_t&&r._UZ(0,"datatable-body-row",1),2&_t){const ae=r.oxw();r.Q6J("innerWidth",ae.innerWidth)("offsetX",ae.offsetX)("columns",ae._internalColumns)("rowHeight",ae.rowHeight)("row",ae.summaryRow)("rowIndex",-1)}}let Vo=(()=>{class _t{constructor(ae){this.document=ae,this.width=this.getWidth()}getWidth(){const ae=this.document.createElement("div");ae.style.visibility="hidden",ae.style.width="100px",ae.style.msOverflowStyle="scrollbar",this.document.body.appendChild(ae);const We=ae.offsetWidth;ae.style.overflow="scroll";const on=this.document.createElement("div");on.style.width="100%",ae.appendChild(on);const yn=on.offsetWidth;return ae.parentNode.removeChild(ae),We-yn}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.LFG(a.K0))},_t.\u0275prov=r.Yz7({token:_t,factory:_t.\u0275fac}),_t})(),Xr=(()=>{class _t{getDimensions(ae){return ae.getBoundingClientRect()}}return _t.\u0275fac=function(ae){return new(ae||_t)},_t.\u0275prov=r.Yz7({token:_t,factory:_t.\u0275fac}),_t})(),Ni=(()=>{class _t{constructor(){this.columnInputChanges=new u.xQ}get columnInputChanges$(){return this.columnInputChanges.asObservable()}onInputChange(){this.columnInputChanges.next()}}return _t.\u0275fac=function(ae){return new(ae||_t)},_t.\u0275prov=r.Yz7({token:_t,factory:_t.\u0275fac}),_t})(),ji=(()=>{class _t{constructor(ae){this.template=ae}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.Rgc))},_t.\u0275dir=r.lG2({type:_t,selectors:[["","ngx-datatable-footer-template",""]]}),_t})(),jr=(()=>{class _t{constructor(ae,We){this.element=ae,this.zone=We,this.isVisible=!1,this.visible=new r.vpe}ngOnInit(){this.runCheck()}ngOnDestroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const ae=()=>{const{offsetHeight:We,offsetWidth:on}=this.element.nativeElement;We&&on?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>ae(),50)}))};this.timeout=setTimeout(()=>ae())}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.SBq),r.Y36(r.R0b))},_t.\u0275dir=r.lG2({type:_t,selectors:[["","visibilityObserver",""]],hostVars:2,hostBindings:function(ae,We){2&ae&&r.ekj("visible",We.isVisible)},outputs:{visible:"visible"}}),_t})(),Pr=(()=>{class _t{constructor(ae){this.dragX=!0,this.dragY=!0,this.dragStart=new r.vpe,this.dragging=new r.vpe,this.dragEnd=new r.vpe,this.isDragging=!1,this.element=ae.nativeElement}ngOnChanges(ae){ae.dragEventTarget&&ae.dragEventTarget.currentValue&&this.dragModel.dragging&&this.onMousedown(ae.dragEventTarget.currentValue)}ngOnDestroy(){this._destroySubscription()}onMouseup(ae){this.isDragging&&(this.isDragging=!1,this.element.classList.remove("dragging"),this.subscription&&(this._destroySubscription(),this.dragEnd.emit({event:ae,element:this.element,model:this.dragModel})))}onMousedown(ae){if(ae.target.classList.contains("draggable")&&(this.dragX||this.dragY)){ae.preventDefault(),this.isDragging=!0;const on={x:ae.clientX,y:ae.clientY},yn=(0,c.R)(document,"mouseup");this.subscription=yn.subscribe(Ui=>this.onMouseup(Ui));const Ei=(0,c.R)(document,"mousemove").pipe((0,f.R)(yn)).subscribe(Ui=>this.move(Ui,on));this.subscription.add(Ei),this.dragStart.emit({event:ae,element:this.element,model:this.dragModel})}}move(ae,We){if(!this.isDragging)return;const yn=ae.clientY-We.y;this.dragX&&(this.element.style.left=ae.clientX-We.x+"px"),this.dragY&&(this.element.style.top=`${yn}px`),this.element.classList.add("dragging"),this.dragging.emit({event:ae,element:this.element,model:this.dragModel})}_destroySubscription(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.SBq))},_t.\u0275dir=r.lG2({type:_t,selectors:[["","draggable",""]],inputs:{dragX:"dragX",dragY:"dragY",dragEventTarget:"dragEventTarget",dragModel:"dragModel"},outputs:{dragStart:"dragStart",dragging:"dragging",dragEnd:"dragEnd"},features:[r.TTD]}),_t})(),Bo=(()=>{class _t{constructor(ae,We){this.renderer=We,this.resizeEnabled=!0,this.resize=new r.vpe,this.resizing=!1,this.element=ae.nativeElement}ngAfterViewInit(){const ae=this.renderer;this.resizeHandle=ae.createElement("span"),ae.addClass(this.resizeHandle,this.resizeEnabled?"resize-handle":"resize-handle--not-resizable"),ae.appendChild(this.element,this.resizeHandle)}ngOnDestroy(){this._destroySubscription(),this.renderer.destroyNode?this.renderer.destroyNode(this.resizeHandle):this.resizeHandle&&this.renderer.removeChild(this.renderer.parentNode(this.resizeHandle),this.resizeHandle)}onMouseup(){this.resizing=!1,this.subscription&&!this.subscription.closed&&(this._destroySubscription(),this.resize.emit(this.element.clientWidth))}onMousedown(ae){const We=ae.target.classList.contains("resize-handle"),on=this.element.clientWidth,yn=ae.screenX;if(We){ae.stopPropagation(),this.resizing=!0;const Ei=(0,c.R)(document,"mouseup");this.subscription=Ei.subscribe(eo=>this.onMouseup());const Ui=(0,c.R)(document,"mousemove").pipe((0,f.R)(Ei)).subscribe(eo=>this.move(eo,on,yn));this.subscription.add(Ui)}}move(ae,We,on){const Ei=We+(ae.screenX-on);(!this.minWidth||Ei>=this.minWidth)&&(!this.maxWidth||Ei<=this.maxWidth)&&(this.element.style.width=`${Ei}px`)}_destroySubscription(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.SBq),r.Y36(r.Qsj))},_t.\u0275dir=r.lG2({type:_t,selectors:[["","resizeable",""]],hostVars:2,hostBindings:function(ae,We){1&ae&&r.NdJ("mousedown",function(yn){return We.onMousedown(yn)}),2&ae&&r.ekj("resizeable",We.resizeEnabled)},inputs:{resizeEnabled:"resizeEnabled",minWidth:"minWidth",maxWidth:"maxWidth"},outputs:{resize:"resize"}}),_t})(),cs=(()=>{class _t{constructor(ae,We){this.document=We,this.reorder=new r.vpe,this.targetChanged=new r.vpe,this.differ=ae.find({}).create()}ngAfterContentInit(){this.updateSubscriptions(),this.draggables.changes.subscribe(this.updateSubscriptions.bind(this))}ngOnDestroy(){this.draggables.forEach(ae=>{ae.dragStart.unsubscribe(),ae.dragging.unsubscribe(),ae.dragEnd.unsubscribe()})}updateSubscriptions(){const ae=this.differ.diff(this.createMapDiffs());if(ae){const We=({currentValue:yn,previousValue:Ei})=>{on({previousValue:Ei}),yn&&(yn.dragStart.subscribe(this.onDragStart.bind(this)),yn.dragging.subscribe(this.onDragging.bind(this)),yn.dragEnd.subscribe(this.onDragEnd.bind(this)))},on=({previousValue:yn})=>{yn&&(yn.dragStart.unsubscribe(),yn.dragging.unsubscribe(),yn.dragEnd.unsubscribe())};ae.forEachAddedItem(We),ae.forEachRemovedItem(on)}}onDragStart(){this.positions={};let ae=0;for(const We of this.draggables.toArray()){const on=We.element,yn=parseInt(on.offsetLeft.toString(),0);this.positions[We.dragModel.prop]={left:yn,right:yn+parseInt(on.offsetWidth.toString(),0),index:ae++,element:on}}}onDragging({model:We,event:on}){const yn=this.positions[We.prop],Ei=this.isTarget(We,on);Ei?this.lastDraggingIndex!==Ei.i&&(this.targetChanged.emit({prevIndex:this.lastDraggingIndex,newIndex:Ei.i,initialIndex:yn.index}),this.lastDraggingIndex=Ei.i):this.lastDraggingIndex!==yn.index&&(this.targetChanged.emit({prevIndex:this.lastDraggingIndex,initialIndex:yn.index}),this.lastDraggingIndex=yn.index)}onDragEnd({element:ae,model:We,event:on}){const yn=this.positions[We.prop],Ei=this.isTarget(We,on);Ei&&this.reorder.emit({prevIndex:yn.index,newIndex:Ei.i,model:We}),this.lastDraggingIndex=void 0,ae.style.left="auto"}isTarget(ae,We){let on=0;const Ui=this.document.elementsFromPoint(We.x||We.clientX,We.y||We.clientY);for(const eo in this.positions){const js=this.positions[eo];if(ae.prop!==eo&&Ui.find(hs=>hs===js.element))return{pos:js,i:on};on++}}createMapDiffs(){return this.draggables.toArray().reduce((ae,We)=>(ae[We.dragModel.$$id]=We,ae),{})}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.aQg),r.Y36(a.K0))},_t.\u0275dir=r.lG2({type:_t,selectors:[["","orderable",""]],contentQueries:function(ae,We,on){if(1&ae&&r.Suo(on,Pr,5),2&ae){let yn;r.iGM(yn=r.CRH())&&(We.draggables=yn)}},outputs:{reorder:"reorder",targetChanged:"targetChanged"}}),_t})(),ts=(()=>{class _t{constructor(){this.pressEnabled=!0,this.duration=500,this.longPressStart=new r.vpe,this.longPressing=new r.vpe,this.longPressEnd=new r.vpe,this.mouseX=0,this.mouseY=0}get press(){return this.pressing}get isLongPress(){return this.isLongPressing}onMouseDown(ae){if(1!==ae.which||!this.pressEnabled||ae.target.classList.contains("resize-handle"))return;this.mouseX=ae.clientX,this.mouseY=ae.clientY,this.pressing=!0,this.isLongPressing=!1;const on=(0,c.R)(document,"mouseup");this.subscription=on.subscribe(yn=>this.onMouseup()),this.timeout=setTimeout(()=>{this.isLongPressing=!0,this.longPressStart.emit({event:ae,model:this.pressModel}),this.subscription.add((0,c.R)(document,"mousemove").pipe((0,f.R)(on)).subscribe(yn=>this.onMouseMove(yn))),this.loop(ae)},this.duration),this.loop(ae)}onMouseMove(ae){if(this.pressing&&!this.isLongPressing){const We=Math.abs(ae.clientX-this.mouseX)>10,on=Math.abs(ae.clientY-this.mouseY)>10;(We||on)&&this.endPress()}}loop(ae){this.isLongPressing&&(this.timeout=setTimeout(()=>{this.longPressing.emit({event:ae,model:this.pressModel}),this.loop(ae)},50))}endPress(){clearTimeout(this.timeout),this.isLongPressing=!1,this.pressing=!1,this._destroySubscription(),this.longPressEnd.emit({model:this.pressModel})}onMouseup(){this.endPress()}ngOnDestroy(){this._destroySubscription()}_destroySubscription(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}}return _t.\u0275fac=function(ae){return new(ae||_t)},_t.\u0275dir=r.lG2({type:_t,selectors:[["","long-press",""]],hostVars:4,hostBindings:function(ae,We){1&ae&&r.NdJ("mousedown",function(yn){return We.onMouseDown(yn)}),2&ae&&r.ekj("press",We.press)("longpress",We.isLongPress)},inputs:{pressEnabled:"pressEnabled",duration:"duration",pressModel:"pressModel"},outputs:{longPressStart:"longPressStart",longPressing:"longPressing",longPressEnd:"longPressEnd"}}),_t})(),io=(()=>{class _t{constructor(ae,We,on){this.ngZone=ae,this.renderer=on,this.scrollbarV=!1,this.scrollbarH=!1,this.scroll=new r.vpe,this.scrollYPos=0,this.scrollXPos=0,this.prevScrollYPos=0,this.prevScrollXPos=0,this._scrollEventListener=null,this.element=We.nativeElement}ngOnInit(){if(this.scrollbarV||this.scrollbarH){const ae=this.renderer;this.parentElement=ae.parentNode(ae.parentNode(this.element)),this._scrollEventListener=this.onScrolled.bind(this),this.parentElement.addEventListener("scroll",this._scrollEventListener)}}ngOnDestroy(){this._scrollEventListener&&(this.parentElement.removeEventListener("scroll",this._scrollEventListener),this._scrollEventListener=null)}setOffset(ae){this.parentElement&&(this.parentElement.scrollTop=ae)}onScrolled(ae){const We=ae.currentTarget;requestAnimationFrame(()=>{this.scrollYPos=We.scrollTop,this.scrollXPos=We.scrollLeft,this.updateOffset()})}updateOffset(){let ae;this.scrollYPos<this.prevScrollYPos?ae="down":this.scrollYPos>this.prevScrollYPos&&(ae="up"),this.scroll.emit({direction:ae,scrollYPos:this.scrollYPos,scrollXPos:this.scrollXPos}),this.prevScrollYPos=this.scrollYPos,this.prevScrollXPos=this.scrollXPos}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.R0b),r.Y36(r.SBq),r.Y36(r.Qsj))},_t.\u0275cmp=r.Xpm({type:_t,selectors:[["datatable-scroller"]],hostAttrs:[1,"datatable-scroll"],hostVars:4,hostBindings:function(ae,We){2&ae&&r.Udp("height",We.scrollHeight,"px")("width",We.scrollWidth,"px")},inputs:{scrollbarV:"scrollbarV",scrollbarH:"scrollbarH",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth"},outputs:{scroll:"scroll"},ngContentSelectors:E,decls:1,vars:0,template:function(ae,We){1&ae&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),_t})(),Vi=(()=>{class _t{constructor(ae){this.template=ae}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.Rgc))},_t.\u0275dir=r.lG2({type:_t,selectors:[["","ngx-datatable-group-header-template",""]]}),_t})(),Pn=(()=>{class _t{constructor(){this.rowHeight=0,this.toggle=new r.vpe}get template(){return this._templateInput||this._templateQuery}toggleExpandGroup(ae){this.toggle.emit({type:"group",value:ae})}expandAllGroups(){this.toggle.emit({type:"all",value:!0})}collapseAllGroups(){this.toggle.emit({type:"all",value:!1})}}return _t.\u0275fac=function(ae){return new(ae||_t)},_t.\u0275dir=r.lG2({type:_t,selectors:[["ngx-datatable-group-header"]],contentQueries:function(ae,We,on){if(1&ae&&r.Suo(on,Vi,7,r.Rgc),2&ae){let yn;r.iGM(yn=r.CRH())&&(We._templateQuery=yn.first)}},inputs:{rowHeight:"rowHeight",_templateInput:["template","_templateInput"]},outputs:{toggle:"toggle"}}),_t})();function Nn(){return""}function Ut(_t){return null==_t?Nn:"number"==typeof _t?ke:-1!==_t.indexOf(".")?Qe:Ie}function ke(_t,On){return null==_t?"":_t&&null!=On?_t[On]??"":_t}function Ie(_t,On){return null==_t?"":_t&&On?_t[On]??"":_t}function Qe(_t,On){if(null==_t)return"";if(!_t||!On)return _t;let ae=_t[On];if(void 0!==ae)return ae;ae=_t;const We=On.split(".");if(We.length)for(let on=0;on<We.length;on++)if(ae=ae[We[on]],null==ae)return"";return ae}function Ve(_t){return _t&&(On=>Ut(_t)(On,_t))}function tn(_t,On,ae){if(On&&ae){const We={},on=_t.length;let yn=null;We[0]=new ot;const Ei=_t.reduce((eo,js)=>{const hs=ae(js);return-1===eo.indexOf(hs)&&eo.push(hs),eo},[]);for(let eo=0;eo<on;eo++)We[ae(_t[eo])]=new ot(_t[eo]);for(let eo=0;eo<on;eo++){yn=We[ae(_t[eo])];let js=0;const hs=On(yn.row);hs&&Ei.indexOf(hs)>-1&&(js=hs),yn.parent=We[js],yn.row.level=yn.parent.row.level+1,yn.parent.children.push(yn)}let Ui=[];return We[0].flatten(function(){Ui=[...Ui,this.row]},!0),Ui}return _t}class ot{constructor(On=null){On||(On={level:-1,treeStatus:"expanded"}),this.row=On,this.parent=null,this.children=[]}flatten(On,ae){if("expanded"===this.row.treeStatus)for(let We=0,on=this.children.length;We<on;We++){const yn=this.children[We];On.apply(yn,Array.prototype.slice.call(arguments,2)),ae&&yn.flatten.apply(yn,arguments)}}}function xt(_t){return(_t=(_t=(_t=_t.replace(/[^a-zA-Z0-9 ]/g," ")).replace(/([a-z](?=[A-Z]))/g,"$1 ")).replace(/([^a-zA-Z0-9 ])|^[0-9]+/g,"").trim().toLowerCase()).replace(/([ 0-9]+)([a-zA-Z])/g,function(On,ae,We){return ae.trim()+We.toUpperCase()})}function qt(_t){return _t.replace(/([A-Z])/g,On=>` ${On}`).replace(/^./,On=>On.toUpperCase())}function vr(_t){if(!_t)return;let On=!1;for(const ae of _t)ae.$$id||(ae.$$id=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)),An(ae.prop)&&ae.name&&(ae.prop=xt(ae.name)),ae.$$valueGetter||(ae.$$valueGetter=Ut(ae.prop)),!An(ae.prop)&&An(ae.name)&&(ae.name=qt(String(ae.prop))),An(ae.prop)&&An(ae.name)&&(ae.name=""),ae.hasOwnProperty("resizeable")||(ae.resizeable=!0),ae.hasOwnProperty("sortable")||(ae.sortable=!0),ae.hasOwnProperty("draggable")||(ae.draggable=!0),ae.hasOwnProperty("canAutoResize")||(ae.canAutoResize=!0),ae.hasOwnProperty("width")||(ae.width=150),ae.hasOwnProperty("isTreeColumn")&&ae.isTreeColumn&&!On?On=!0:ae.isTreeColumn=!1}function An(_t){return null==_t}var Nr=(()=>{return(_t=Nr||(Nr={})).standard="standard",_t.flex="flex",_t.force="force",Nr;var _t})(),nr=(()=>{return(_t=nr||(nr={})).single="single",_t.multi="multi",_t.multiClick="multiClick",_t.cell="cell",_t.checkbox="checkbox",nr;var _t})(),Qn=(()=>{return(_t=Qn||(Qn={})).single="single",_t.multi="multi",Qn;var _t})(),dr=(()=>{return(_t=dr||(dr={})).header="header",_t.body="body",dr;var _t})();let Wn=(()=>{class _t{constructor(ae){this.template=ae}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.Rgc))},_t.\u0275dir=r.lG2({type:_t,selectors:[["","ngx-datatable-header-template",""]]}),_t})(),Wt=(()=>{class _t{constructor(ae){this.template=ae}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.Rgc))},_t.\u0275dir=r.lG2({type:_t,selectors:[["","ngx-datatable-cell-template",""]]}),_t})(),kt=(()=>{class _t{constructor(ae){this.template=ae}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.Rgc))},_t.\u0275dir=r.lG2({type:_t,selectors:[["","ngx-datatable-tree-toggle",""]]}),_t})(),st=(()=>{class _t{constructor(ae){this.columnChangesService=ae,this.isFirstChange=!0}get cellTemplate(){return this._cellTemplateInput||this._cellTemplateQuery}get headerTemplate(){return this._headerTemplateInput||this._headerTemplateQuery}get treeToggleTemplate(){return this._treeToggleTemplateInput||this._treeToggleTemplateQuery}ngOnChanges(){this.isFirstChange?this.isFirstChange=!1:this.columnChangesService.onInputChange()}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(Ni))},_t.\u0275dir=r.lG2({type:_t,selectors:[["ngx-datatable-column"]],contentQueries:function(ae,We,on){if(1&ae&&(r.Suo(on,Wt,7,r.Rgc),r.Suo(on,Wn,7,r.Rgc),r.Suo(on,kt,7,r.Rgc)),2&ae){let yn;r.iGM(yn=r.CRH())&&(We._cellTemplateQuery=yn.first),r.iGM(yn=r.CRH())&&(We._headerTemplateQuery=yn.first),r.iGM(yn=r.CRH())&&(We._treeToggleTemplateQuery=yn.first)}},inputs:{name:"name",prop:"prop",frozenLeft:"frozenLeft",frozenRight:"frozenRight",flexGrow:"flexGrow",resizeable:"resizeable",comparator:"comparator",pipe:"pipe",sortable:"sortable",draggable:"draggable",canAutoResize:"canAutoResize",minWidth:"minWidth",width:"width",maxWidth:"maxWidth",checkboxable:"checkboxable",headerCheckboxable:"headerCheckboxable",headerClass:"headerClass",cellClass:"cellClass",isTreeColumn:"isTreeColumn",treeLevelIndent:"treeLevelIndent",summaryFunc:"summaryFunc",summaryTemplate:"summaryTemplate",_cellTemplateInput:["cellTemplate","_cellTemplateInput"],_headerTemplateInput:["headerTemplate","_headerTemplateInput"],_treeToggleTemplateInput:["treeToggleTemplate","_treeToggleTemplateInput"]},features:[r.TTD]}),_t})(),zt=(()=>{class _t{constructor(ae){this.template=ae}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.Rgc))},_t.\u0275dir=r.lG2({type:_t,selectors:[["","ngx-datatable-row-detail-template",""]]}),_t})(),er=(()=>{class _t{constructor(){this.rowHeight=0,this.toggle=new r.vpe}get template(){return this._templateInput||this._templateQuery}toggleExpandRow(ae){this.toggle.emit({type:"row",value:ae})}expandAllRows(){this.toggle.emit({type:"all",value:!0})}collapseAllRows(){this.toggle.emit({type:"all",value:!1})}}return _t.\u0275fac=function(ae){return new(ae||_t)},_t.\u0275dir=r.lG2({type:_t,selectors:[["ngx-datatable-row-detail"]],contentQueries:function(ae,We,on){if(1&ae&&r.Suo(on,zt,7,r.Rgc),2&ae){let yn;r.iGM(yn=r.CRH())&&(We._templateQuery=yn.first)}},inputs:{rowHeight:"rowHeight",_templateInput:["template","_templateInput"]},outputs:{toggle:"toggle"}}),_t})(),Kr=(()=>{class _t{get template(){return this._templateInput||this._templateQuery}}return _t.\u0275fac=function(ae){return new(ae||_t)},_t.\u0275dir=r.lG2({type:_t,selectors:[["ngx-datatable-footer"]],contentQueries:function(ae,We,on){if(1&ae&&r.Suo(on,ji,5,r.Rgc),2&ae){let yn;r.iGM(yn=r.CRH())&&(We._templateQuery=yn.first)}},inputs:{footerHeight:"footerHeight",totalMessage:"totalMessage",selectedMessage:"selectedMessage",pagerLeftArrowIcon:"pagerLeftArrowIcon",pagerRightArrowIcon:"pagerRightArrowIcon",pagerPreviousIcon:"pagerPreviousIcon",pagerNextIcon:"pagerNextIcon",_templateInput:["template","_templateInput"]}}),_t})();function mi(_t){const On={left:[],center:[],right:[]};if(_t)for(const ae of _t)ae.frozenLeft?On.left.push(ae):ae.frozenRight?On.right.push(ae):On.center.push(ae);return On}function gi(_t,On){return{left:Jo(_t.left),center:Jo(_t.center),right:Jo(_t.right),total:Math.floor(Jo(On))}}function Jo(_t,On){let ae=0;if(_t)for(const We of _t)ae+=parseFloat(On&&We[On]?We[On]:We.width);return ae}function hr(_t){const On=[],ae=mi(_t);return On.push({type:"left",columns:ae.left}),On.push({type:"center",columns:ae.center}),On.push({type:"right",columns:ae.right}),On}class Ii{constructor(){this.treeArray=[]}clearCache(){this.treeArray=[]}initCache(On){const{rows:ae,rowHeight:We,detailRowHeight:on,externalVirtual:yn,rowCount:Ei,rowIndexes:Ui,rowExpansions:eo}=On,js="function"==typeof We,hs="function"==typeof on;if(!js&&isNaN(We))throw new Error(`Row Height cache initialization failed. Please ensure that 'rowHeight' is a\n valid number or function value: (${We}) when 'scrollbarV' is enabled.`);if(!hs&&isNaN(on))throw new Error(`Row Height cache initialization failed. Please ensure that 'detailRowHeight' is a\n valid number or function value: (${on}) when 'scrollbarV' is enabled.`);const ia=yn?Ei:ae.length;this.treeArray=new Array(ia);for(let ta=0;ta<ia;++ta)this.treeArray[ta]=0;for(let ta=0;ta<ia;++ta){const Ul=ae[ta];let Fl=We;js&&(Fl=We(Ul));const zc=eo.has(Ul);Ul&&zc&&(Fl+=hs?on(Ul,Ui.get(Ul)):on),this.update(ta,Fl)}}getRowIndex(On){return 0===On?0:this.calcRowIndex(On)}update(On,ae){if(!this.treeArray.length)throw new Error(`Update at index ${On} with value ${ae} failed:\n Row Height cache not initialized.`);const We=this.treeArray.length;for(On|=0;On<We;)this.treeArray[On]+=ae,On|=On+1}query(On){if(!this.treeArray.length)throw new Error(`query at index ${On} failed: Fenwick tree array not initialized.`);let ae=0;for(On|=0;On>=0;)ae+=this.treeArray[On],On=(On&On+1)-1;return ae}queryBetween(On,ae){return this.query(ae)-this.query(On-1)}calcRowIndex(On){if(!this.treeArray.length)return 0;let ae=-1;const We=this.treeArray.length;for(let yn=Math.pow(2,We.toString(2).length-1);0!==yn;yn>>=1){const Ei=ae+yn;Ei<We&&On>=this.treeArray[Ei]&&(On-=this.treeArray[Ei],ae=Ei)}return ae+1}}const ni={},Vr=typeof document<"u"?document.createElement("div").style:void 0,Gi=function(){const _t=typeof window<"u"?window.getComputedStyle(document.documentElement,""):void 0,On=typeof _t<"u"?Array.prototype.slice.call(_t).join("").match(/-(moz|webkit|ms)-/):null,ae=null!==On?On[1]:void 0,We=typeof ae<"u"?"WebKit|Moz|MS|O".match(new RegExp("("+ae+")","i"))[1]:void 0;return We?{dom:We,lowercase:ae,css:`-${ae}-`,js:ae[0].toUpperCase()+ae.substr(1)}:void 0}();function Wi(_t){const On=xt(_t);return ni[On]||(void 0!==Gi&&void 0!==Vr[Gi.css+_t]?ni[On]=Gi.css+_t:void 0!==Vr[_t]&&(ni[On]=_t)),ni[On]}const Mo=typeof window<"u"?Wi("transform"):void 0,As=typeof window<"u"?Wi("backfaceVisibility"):void 0,Ls=typeof window<"u"?!!Wi("transform"):void 0,qr=typeof window<"u"?!!Wi("perspective"):void 0,$r=typeof window<"u"?window.navigator.userAgent:"Chrome",Cn=/Safari\//.test($r)&&!/Chrome\//.test($r);function mn(_t,On,ae){typeof Mo<"u"&&Ls?!Cn&&qr?(_t[Mo]=`translate3d(${On}px, ${ae}px, 0)`,_t[As]="hidden"):_t[xt(Mo)]=`translate(${On}px, ${ae}px)`:(_t.top=`${ae}px`,_t.left=`${On}px`)}let kr=(()=>{class _t{constructor(ae){this.cd=ae,this.selected=[],this.scroll=new r.vpe,this.page=new r.vpe,this.activate=new r.vpe,this.select=new r.vpe,this.detailToggle=new r.vpe,this.rowContextmenu=new r.vpe(!1),this.treeAction=new r.vpe,this.rowHeightsCache=new Ii,this.temp=[],this.offsetY=0,this.indexes={},this.rowIndexes=new WeakMap,this.rowExpansions=[],this.getDetailRowHeight=(We,on)=>{if(!this.rowDetail)return 0;const yn=this.rowDetail.rowHeight;return"function"==typeof yn?yn(We,on):yn},this.rowTrackingFn=(We,on)=>{const yn=this.getRowIndex(on);return this.trackByProp?on[this.trackByProp]:yn}}set pageSize(ae){this._pageSize=ae,this.recalcLayout()}get pageSize(){return this._pageSize}set rows(ae){this._rows=ae,this.recalcLayout()}get rows(){return this._rows}set columns(ae){this._columns=ae;const We=mi(ae);this.columnGroupWidths=gi(We,ae)}get columns(){return this._columns}set offset(ae){this._offset=ae,(!this.scrollbarV||this.scrollbarV&&!this.virtualization)&&this.recalcLayout()}get offset(){return this._offset}set rowCount(ae){this._rowCount=ae,this.recalcLayout()}get rowCount(){return this._rowCount}get bodyWidth(){return this.scrollbarH?this.innerWidth+"px":"100%"}set bodyHeight(ae){this._bodyHeight=this.scrollbarV?ae+"px":"auto",this.recalcLayout()}get bodyHeight(){return this._bodyHeight}get selectEnabled(){return!!this.selectionType}get scrollHeight(){if(this.scrollbarV&&this.virtualization&&this.rowCount)return this.rowHeightsCache.query(this.rowCount-1)}ngOnInit(){this.rowDetail&&(this.listener=this.rowDetail.toggle.subscribe(({type:ae,value:We})=>{"row"===ae&&this.toggleRowExpansion(We),"all"===ae&&this.toggleAllRows(We),this.updateIndexes(),this.updateRows(),this.cd.markForCheck()})),this.groupHeader&&(this.listener=this.groupHeader.toggle.subscribe(({type:ae,value:We})=>{"group"===ae&&this.toggleRowExpansion(We),"all"===ae&&this.toggleAllRows(We),this.updateIndexes(),this.updateRows(),this.cd.markForCheck()}))}ngOnDestroy(){(this.rowDetail||this.groupHeader)&&this.listener.unsubscribe()}updateOffsetY(ae){this.scroller&&(this.scrollbarV&&this.virtualization&&ae?ae=this.rowHeightsCache.query(this.pageSize*ae-1):this.scrollbarV&&!this.virtualization&&(ae=0),this.scroller.setOffset(ae||0))}onBodyScroll(ae){const We=ae.scrollYPos,on=ae.scrollXPos;(this.offsetY!==We||this.offsetX!==on)&&this.scroll.emit({offsetY:We,offsetX:on}),this.offsetY=We,this.offsetX=on,this.updateIndexes(),this.updatePage(ae.direction),this.updateRows()}updatePage(ae){let We=this.indexes.first/this.pageSize;"up"===ae?We=Math.ceil(We):"down"===ae&&(We=Math.floor(We)),void 0!==ae&&!isNaN(We)&&this.page.emit({offset:We})}updateRows(){const{first:ae,last:We}=this.indexes;let on=ae,yn=0;const Ei=[];if(this.groupedRows){let Ui=3;for(1===this.groupedRows.length&&(Ui=this.groupedRows[0].value.length);on<We&&on<this.groupedRows.length;){const eo=this.groupedRows[on];this.rowIndexes.set(eo,on),eo.value&&eo.value.forEach((js,hs)=>{this.rowIndexes.set(js,`${on}-${hs}`)}),Ei[yn]=eo,yn++,on++}}else for(;on<We&&on<this.rowCount;){const Ui=this.rows[on];Ui&&(this.rowIndexes.set(Ui,on),Ei[yn]=Ui),yn++,on++}this.temp=Ei}getRowHeight(ae){return"function"==typeof this.rowHeight?this.rowHeight(ae):this.rowHeight}getGroupHeight(ae){let We=0;if(ae.value)for(let on=0;on<ae.value.length;on++)We+=this.getRowAndDetailHeight(ae.value[on]);return We}getRowAndDetailHeight(ae){let We=this.getRowHeight(ae);return this.getRowExpanded(ae)&&(We+=this.getDetailRowHeight(ae)),We}getRowsStyles(ae){const We={};if(this.groupedRows&&(We.width=this.columnGroupWidths.total),this.scrollbarV&&this.virtualization){let on=0;if(this.groupedRows){const Ei=ae[ae.length-1];on=Ei?this.getRowIndex(Ei):0}else on=this.getRowIndex(ae);mn(We,0,this.rowHeightsCache.query(on-1))}return We}getBottomSummaryRowStyles(){if(!this.scrollbarV||!this.rows||!this.rows.length)return null;const ae={position:"absolute"};return mn(ae,0,this.rowHeightsCache.query(this.rows.length-1)),ae}hideIndicator(){setTimeout(()=>this.loadingIndicator=!1,500)}updateIndexes(){let ae=0,We=0;if(this.scrollbarV)if(this.virtualization){const on=parseInt(this.bodyHeight,0);ae=this.rowHeightsCache.getRowIndex(this.offsetY),We=this.rowHeightsCache.getRowIndex(on+this.offsetY)+1}else ae=0,We=this.rowCount;else this.externalPaging||(ae=Math.max(this.offset*this.pageSize,0)),We=Math.min(ae+this.pageSize,this.rowCount);this.indexes={first:ae,last:We}}refreshRowHeightCache(){if(this.scrollbarV&&(!this.scrollbarV||this.virtualization)&&(this.rowHeightsCache.clearCache(),this.rows&&this.rows.length)){const ae=new Set;for(const We of this.rows)this.getRowExpanded(We)&&ae.add(We);this.rowHeightsCache.initCache({rows:this.rows,rowHeight:this.rowHeight,detailRowHeight:this.getDetailRowHeight,externalVirtual:this.scrollbarV&&this.externalPaging,rowCount:this.rowCount,rowIndexes:this.rowIndexes,rowExpansions:ae})}}getAdjustedViewPortIndex(){const ae=this.indexes.first;return this.scrollbarV&&this.virtualization&&this.rowHeightsCache.query(ae-1)<=this.offsetY?ae-1:ae}toggleRowExpansion(ae){const We=this.getAdjustedViewPortIndex(),on=this.getRowExpandedIdx(ae,this.rowExpansions),yn=on>-1;if(this.scrollbarV&&this.virtualization){const Ei=this.getDetailRowHeight(ae)*(yn?-1:1),Ui=this.getRowIndex(ae);this.rowHeightsCache.update(Ui,Ei)}yn?this.rowExpansions.splice(on,1):this.rowExpansions.push(ae),this.detailToggle.emit({rows:[ae],currentIndex:We})}toggleAllRows(ae){this.rowExpansions=[];const We=this.getAdjustedViewPortIndex();if(ae)for(const on of this.rows)this.rowExpansions.push(on);this.scrollbarV&&this.recalcLayout(),this.detailToggle.emit({rows:this.rows,currentIndex:We})}recalcLayout(){this.refreshRowHeightCache(),this.updateIndexes(),this.updateRows()}columnTrackingFn(ae,We){return We.$$id}stylesByGroup(ae){const We=this.columnGroupWidths,on=this.offsetX,yn={width:`${We[ae]}px`};if("left"===ae)mn(yn,on,0);else if("right"===ae){const Ei=parseInt(this.innerWidth+"",0);mn(yn,-1*(We.total-Ei-on),0)}return yn}getRowExpanded(ae){if(0===this.rowExpansions.length&&this.groupExpansionDefault)for(const We of this.groupedRows)this.rowExpansions.push(We);return this.getRowExpandedIdx(ae,this.rowExpansions)>-1}getRowExpandedIdx(ae,We){if(!We||!We.length)return-1;const on=this.rowIdentity(ae);return We.findIndex(yn=>this.rowIdentity(yn)===on)}getRowIndex(ae){return this.rowIndexes.get(ae)||0}onTreeAction(ae){this.treeAction.emit({row:ae})}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.sBO))},_t.\u0275cmp=r.Xpm({type:_t,selectors:[["datatable-body"]],viewQuery:function(ae,We){if(1&ae&&r.Gf(io,5),2&ae){let on;r.iGM(on=r.CRH())&&(We.scroller=on.first)}},hostAttrs:[1,"datatable-body"],hostVars:4,hostBindings:function(ae,We){2&ae&&r.Udp("width",We.bodyWidth)("height",We.bodyHeight)},inputs:{selected:"selected",pageSize:"pageSize",rows:"rows",columns:"columns",offset:"offset",rowCount:"rowCount",bodyHeight:"bodyHeight",offsetX:"offsetX",loadingIndicator:"loadingIndicator",scrollbarV:"scrollbarV",scrollbarH:"scrollbarH",externalPaging:"externalPaging",rowHeight:"rowHeight",emptyMessage:"emptyMessage",selectionType:"selectionType",rowIdentity:"rowIdentity",rowDetail:"rowDetail",groupHeader:"groupHeader",selectCheck:"selectCheck",displayCheck:"displayCheck",trackByProp:"trackByProp",rowClass:"rowClass",groupedRows:"groupedRows",groupExpansionDefault:"groupExpansionDefault",innerWidth:"innerWidth",groupRowsBy:"groupRowsBy",virtualization:"virtualization",summaryRow:"summaryRow",summaryPosition:"summaryPosition",summaryHeight:"summaryHeight"},outputs:{scroll:"scroll",page:"page",activate:"activate",select:"select",detailToggle:"detailToggle",rowContextmenu:"rowContextmenu",treeAction:"treeAction"},decls:5,vars:9,consts:[[4,"ngIf"],[3,"selected","rows","selectCheck","selectEnabled","selectionType","rowIdentity","select","activate"],["selector",""],[3,"scrollbarV","scrollbarH","scrollHeight","scrollWidth","scroll",4,"ngIf"],["class","empty-row",3,"innerHTML",4,"ngIf"],[3,"scrollbarV","scrollbarH","scrollHeight","scrollWidth","scroll"],[3,"rowHeight","offsetX","innerWidth","rows","columns",4,"ngIf"],[3,"groupedRows","innerWidth","ngStyle","rowDetail","groupHeader","offsetX","detailRowHeight","row","expanded","rowIndex","rowContextmenu",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngStyle","rowHeight","offsetX","innerWidth","rows","columns",4,"ngIf"],[3,"rowHeight","offsetX","innerWidth","rows","columns"],[3,"groupedRows","innerWidth","ngStyle","rowDetail","groupHeader","offsetX","detailRowHeight","row","expanded","rowIndex","rowContextmenu"],["tabindex","-1",3,"isSelected","innerWidth","offsetX","columns","rowHeight","row","rowIndex","expanded","rowClass","displayCheck","treeStatus","treeAction","activate",4,"ngIf","ngIfElse"],["groupedRowsTemplate",""],["tabindex","-1",3,"isSelected","innerWidth","offsetX","columns","rowHeight","row","rowIndex","expanded","rowClass","displayCheck","treeStatus","treeAction","activate"],["tabindex","-1",3,"isSelected","innerWidth","offsetX","columns","rowHeight","row","group","rowIndex","expanded","rowClass","activate",4,"ngFor","ngForOf","ngForTrackBy"],["tabindex","-1",3,"isSelected","innerWidth","offsetX","columns","rowHeight","row","group","rowIndex","expanded","rowClass","activate"],[3,"ngStyle","rowHeight","offsetX","innerWidth","rows","columns"],[1,"empty-row",3,"innerHTML"]],template:function(ae,We){1&ae&&(r.YNc(0,T,1,0,"datatable-progress",0),r.TgZ(1,"datatable-selection",1,2),r.NdJ("select",function(yn){return We.select.emit(yn)})("activate",function(yn){return We.activate.emit(yn)}),r.YNc(3,L,4,8,"datatable-scroller",3),r.YNc(4,J,1,1,"div",4),r.qZA()),2&ae&&(r.Q6J("ngIf",We.loadingIndicator),r.xp6(1),r.Q6J("selected",We.selected)("rows",We.rows)("selectCheck",We.selectCheck)("selectEnabled",We.selectEnabled)("selectionType",We.selectionType)("rowIdentity",We.rowIdentity),r.xp6(2),r.Q6J("ngIf",null==We.rows?null:We.rows.length),r.xp6(1),r.Q6J("ngIf",!(null!=We.rows&&We.rows.length||We.loadingIndicator)))},dependencies:function(){return[a.sg,a.O5,a.PC,io,Ra,Cs,Ks,Qo,rs]},encapsulation:2,changeDetection:0}),_t})(),Qi=(()=>{class _t{constructor(ae){this.cd=ae,this.sort=new r.vpe,this.reorder=new r.vpe,this.resize=new r.vpe,this.select=new r.vpe,this.columnContextmenu=new r.vpe(!1),this._columnGroupWidths={total:100},this._styleByGroup={left:{},center:{},right:{}},this.destroyed=!1}set innerWidth(ae){this._innerWidth=ae,setTimeout(()=>{if(this._columns){const We=mi(this._columns);this._columnGroupWidths=gi(We,this._columns),this.setStylesByGroup()}})}get innerWidth(){return this._innerWidth}set headerHeight(ae){this._headerHeight="auto"!==ae?`${ae}px`:ae}get headerHeight(){return this._headerHeight}set columns(ae){this._columns=ae;const We=mi(ae);this._columnsByPin=hr(ae),setTimeout(()=>{this._columnGroupWidths=gi(We,ae),this.setStylesByGroup()})}get columns(){return this._columns}set offsetX(ae){this._offsetX=ae,this.setStylesByGroup()}get offsetX(){return this._offsetX}ngOnDestroy(){this.destroyed=!0}onLongPressStart({event:ae,model:We}){We.dragging=!0,this.dragEventTarget=ae}onLongPressEnd({event:ae,model:We}){this.dragEventTarget=ae,setTimeout(()=>{const on=this._columns.find(yn=>yn.$$id===We.$$id);on&&(on.dragging=!1)},5)}get headerWidth(){return this.scrollbarH?this.innerWidth+"px":"100%"}trackByGroups(ae,We){return We.type}columnTrackingFn(ae,We){return We.$$id}onColumnResized(ae,We){ae<=We.minWidth?ae=We.minWidth:ae>=We.maxWidth&&(ae=We.maxWidth),this.resize.emit({column:We,prevValue:We.width,newValue:ae})}onColumnReordered({prevIndex:ae,newIndex:We,model:on}){const yn=this.getColumn(We);yn.isTarget=!1,yn.targetMarkerContext=void 0,this.reorder.emit({column:on,prevValue:ae,newValue:We})}onTargetChanged({prevIndex:ae,newIndex:We,initialIndex:on}){if(ae||0===ae){const yn=this.getColumn(ae);yn.isTarget=!1,yn.targetMarkerContext=void 0}if(We||0===We){const yn=this.getColumn(We);yn.isTarget=!0,on!==We&&(yn.targetMarkerContext={class:"targetMarker ".concat(on>We?"dragFromRight":"dragFromLeft")})}}getColumn(ae){const We=this._columnsByPin[0].columns.length;if(ae<We)return this._columnsByPin[0].columns[ae];const on=this._columnsByPin[1].columns.length;return ae<We+on?this._columnsByPin[1].columns[ae-We]:this._columnsByPin[2].columns[ae-We-on]}onSort({column:ae,prevValue:We,newValue:on}){if(ae.dragging)return;const yn=this.calcNewSorts(ae,We,on);this.sort.emit({sorts:yn,column:ae,prevValue:We,newValue:on})}calcNewSorts(ae,We,on){let yn=0;this.sorts||(this.sorts=[]);const Ei=this.sorts.map((Ui,eo)=>((Ui=Object.assign({},Ui)).prop===ae.prop&&(yn=eo),Ui));return void 0===on?Ei.splice(yn,1):We?Ei[yn].dir=on:(this.sortType===Qn.single&&Ei.splice(0,this.sorts.length),Ei.push({dir:on,prop:ae.prop})),Ei}setStylesByGroup(){this._styleByGroup.left=this.calcStylesByGroup("left"),this._styleByGroup.center=this.calcStylesByGroup("center"),this._styleByGroup.right=this.calcStylesByGroup("right"),this.destroyed||this.cd.detectChanges()}calcStylesByGroup(ae){const We=this._columnGroupWidths,yn={width:`${We[ae]}px`};return"center"===ae?mn(yn,-1*this.offsetX,0):"right"===ae&&mn(yn,-1*(We.total-this.innerWidth),0),yn}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.sBO))},_t.\u0275cmp=r.Xpm({type:_t,selectors:[["datatable-header"]],hostAttrs:[1,"datatable-header"],hostVars:4,hostBindings:function(ae,We){2&ae&&r.Udp("height",We.headerHeight)("width",We.headerWidth)},inputs:{innerWidth:"innerWidth",headerHeight:"headerHeight",columns:"columns",offsetX:"offsetX",sorts:"sorts",sortAscendingIcon:"sortAscendingIcon",sortDescendingIcon:"sortDescendingIcon",sortUnsetIcon:"sortUnsetIcon",scrollbarH:"scrollbarH",dealsWithGroup:"dealsWithGroup",targetMarkerTemplate:"targetMarkerTemplate",sortType:"sortType",allRowsSelected:"allRowsSelected",selectionType:"selectionType",reorderable:"reorderable"},outputs:{sort:"sort",reorder:"reorder",resize:"resize",select:"select",columnContextmenu:"columnContextmenu"},decls:2,vars:4,consts:[["orderable","",1,"datatable-header-inner",3,"reorder","targetChanged"],[3,"class","ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngStyle"],["resizeable","","long-press","","draggable","",3,"resizeEnabled","pressModel","pressEnabled","dragX","dragY","dragModel","dragEventTarget","headerHeight","isTarget","targetMarkerTemplate","targetMarkerContext","column","sortType","sorts","selectionType","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","resize","longPressStart","longPressEnd","sort","select","columnContextmenu",4,"ngFor","ngForOf","ngForTrackBy"],["resizeable","","long-press","","draggable","",3,"resizeEnabled","pressModel","pressEnabled","dragX","dragY","dragModel","dragEventTarget","headerHeight","isTarget","targetMarkerTemplate","targetMarkerContext","column","sortType","sorts","selectionType","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","resize","longPressStart","longPressEnd","sort","select","columnContextmenu"]],template:function(ae,We){1&ae&&(r.TgZ(0,"div",0),r.NdJ("reorder",function(yn){return We.onColumnReordered(yn)})("targetChanged",function(yn){return We.onTargetChanged(yn)}),r.YNc(1,j,2,5,"div",1),r.qZA()),2&ae&&(r.Udp("width",We._columnGroupWidths.total,"px"),r.xp6(1),r.Q6J("ngForOf",We._columnsByPin)("ngForTrackBy",We.trackByGroups))},dependencies:function(){return[a.sg,a.PC,Pr,Bo,cs,ts,Ga]},encapsulation:2,changeDetection:0}),_t})();function xo(_t,On,ae){ae=ae||{};let We,on,yn,Ei=null,Ui=0;function eo(){Ui=!1===ae.leading?0:+new Date,Ei=null,yn=_t.apply(We,on)}return function(){const js=+new Date;!Ui&&!1===ae.leading&&(Ui=js);const hs=On-(js-Ui);return We=this,on=arguments,hs<=0?(clearTimeout(Ei),Ei=null,Ui=js,yn=_t.apply(We,on)):!Ei&&!1!==ae.trailing&&(Ei=setTimeout(eo,hs)),yn}}function Ss(_t,On){return function(We,on,yn){return{configurable:!0,enumerable:yn.enumerable,get:function(){return Object.defineProperty(this,on,{configurable:!0,enumerable:yn.enumerable,value:xo(yn.value,_t,On)}),this[on]}}}}function Ys(_t,On){for(const ae of On){const We=_t.indexOf(ae);_t.splice(We,1)}}function ra(_t,On=300){let ae=0;for(const We of _t)ae+=We.width||On;return ae}var Do=(()=>{return(_t=Do||(Do={})).asc="asc",_t.desc="desc",Do;var _t})();function Ql(_t,On){if((null===_t||typeof _t>"u")&&(_t=0),(null===On||typeof On>"u")&&(On=0),_t instanceof Date&&On instanceof Date){if(_t<On)return-1;if(_t>On)return 1}else if(isNaN(parseFloat(_t))||!isFinite(_t)||isNaN(parseFloat(On))||!isFinite(On)){if(_t=String(_t),On=String(On),_t.toLowerCase()<On.toLowerCase())return-1;if(_t.toLowerCase()>On.toLowerCase())return 1}else{if(parseFloat(_t)<parseFloat(On))return-1;if(parseFloat(_t)>parseFloat(On))return 1}return 0}let Da=(()=>{class _t{constructor(ae,We,on,yn,Ei,Ui,eo){this.scrollbarHelper=ae,this.dimensionsHelper=We,this.cd=on,this.columnChangesService=Ui,this.configuration=eo,this.selected=[],this.scrollbarV=!1,this.scrollbarH=!1,this.rowHeight=30,this.columnMode=Nr.standard,this.headerHeight=30,this.footerHeight=0,this.externalPaging=!1,this.externalSorting=!1,this.loadingIndicator=!1,this.reorderable=!0,this.swapColumns=!0,this.sortType=Qn.single,this.sorts=[],this.cssClasses={sortAscending:"datatable-icon-up",sortDescending:"datatable-icon-down",sortUnset:"datatable-icon-sort-unset",pagerLeftArrow:"datatable-icon-left",pagerRightArrow:"datatable-icon-right",pagerPrevious:"datatable-icon-prev",pagerNext:"datatable-icon-skip"},this.messages={emptyMessage:"No data to display",totalMessage:"total",selectedMessage:"selected"},this.groupExpansionDefault=!1,this.selectAllRowsOnPage=!1,this.virtualization=!0,this.summaryRow=!1,this.summaryHeight=30,this.summaryPosition="top",this.scroll=new r.vpe,this.activate=new r.vpe,this.select=new r.vpe,this.sort=new r.vpe,this.page=new r.vpe,this.reorder=new r.vpe,this.resize=new r.vpe,this.tableContextmenu=new r.vpe(!1),this.treeAction=new r.vpe,this.rowCount=0,this._offsetX=new e.X(0),this._count=0,this._offset=0,this._subscriptions=[],this.rowIdentity=js=>this._groupRowsBy?js.key:js,this.element=yn.nativeElement,this.rowDiffer=Ei.find({}).create(),this.configuration&&this.configuration.messages&&(this.messages=Object.assign({},this.configuration.messages))}set rows(ae){this._rows=ae,ae&&(this._internalRows=[...ae]),this.externalSorting||this.sortInternalRows(),this._internalRows=tn(this._internalRows,Ve(this.treeFromRelation),Ve(this.treeToRelation)),this.recalculate(),this._rows&&this._groupRowsBy&&(this.groupedRows=this.groupArrayBy(this._rows,this._groupRowsBy)),this.cd.markForCheck()}get rows(){return this._rows}set groupRowsBy(ae){ae&&(this._groupRowsBy=ae,this._rows&&this._groupRowsBy&&(this.groupedRows=this.groupArrayBy(this._rows,this._groupRowsBy)))}get groupRowsBy(){return this._groupRowsBy}set columns(ae){ae&&(this._internalColumns=[...ae],vr(this._internalColumns),this.recalculateColumns()),this._columns=ae}get columns(){return this._columns}set limit(ae){this._limit=ae,this.recalculate()}get limit(){return this._limit}set count(ae){this._count=ae,this.recalculate()}get count(){return this._count}set offset(ae){this._offset=ae}get offset(){return Math.max(Math.min(this._offset,Math.ceil(this.rowCount/this.pageSize)-1),0)}get isFixedHeader(){const ae=this.headerHeight;return"string"!=typeof ae||"auto"!==ae}get isFixedRow(){return"auto"!==this.rowHeight}get isVertScroll(){return this.scrollbarV}get isVirtualized(){return this.virtualization}get isHorScroll(){return this.scrollbarH}get isSelectable(){return void 0!==this.selectionType}get isCheckboxSelection(){return this.selectionType===nr.checkbox}get isCellSelection(){return this.selectionType===nr.cell}get isSingleSelection(){return this.selectionType===nr.single}get isMultiSelection(){return this.selectionType===nr.multi}get isMultiClickSelection(){return this.selectionType===nr.multiClick}set columnTemplates(ae){this._columnTemplates=ae,this.translateColumns(ae)}get columnTemplates(){return this._columnTemplates}get allRowsSelected(){let ae=this.rows&&this.selected&&this.selected.length===this.rows.length;if(this.bodyComponent&&this.selectAllRowsOnPage){const We=this.bodyComponent.indexes;ae=this.selected.length===We.last-We.first}return this.selected&&this.rows&&0!==this.rows.length&&ae}ngOnInit(){this.recalculate()}ngAfterViewInit(){this.externalSorting||this.sortInternalRows(),!(typeof requestAnimationFrame>"u")&&requestAnimationFrame(()=>{this.recalculate(),this.externalPaging&&this.scrollbarV&&this.page.emit({count:this.count,pageSize:this.pageSize,limit:this.limit,offset:0})})}ngAfterContentInit(){this.columnTemplates.changes.subscribe(ae=>this.translateColumns(ae)),this.listenForColumnInputChanges()}translateColumns(ae){if(ae){const We=ae.toArray();We.length&&(this._internalColumns=function yr(_t){const On=[];for(const ae of _t){const We={},on=Object.getOwnPropertyNames(ae);for(const yn of on)We[yn]=ae[yn];ae.headerTemplate&&(We.headerTemplate=ae.headerTemplate),ae.cellTemplate&&(We.cellTemplate=ae.cellTemplate),ae.summaryFunc&&(We.summaryFunc=ae.summaryFunc),ae.summaryTemplate&&(We.summaryTemplate=ae.summaryTemplate),On.push(We)}return On}(We),vr(this._internalColumns),this.recalculateColumns(),this.sortInternalRows(),this.cd.markForCheck())}}groupArrayBy(ae,We){const on=new Map;return ae.forEach(Ui=>{const eo=Ui[We];on.has(eo)?on.get(eo).push(Ui):on.set(eo,[Ui])}),Array.from(on,Ui=>((Ui,eo)=>({key:Ui,value:eo}))(Ui[0],Ui[1]))}ngDoCheck(){this.rowDiffer.diff(this.rows)&&(this.externalSorting?this._internalRows=[...this.rows]:this.sortInternalRows(),this._internalRows=tn(this._internalRows,Ve(this.treeFromRelation),Ve(this.treeToRelation)),this.recalculatePages(),this.cd.markForCheck())}recalculate(){this.recalculateDims(),this.recalculateColumns(),this.cd.markForCheck()}onWindowResize(){this.recalculate()}recalculateColumns(ae=this._internalColumns,We=-1,on=this.scrollbarH){if(!ae)return;let yn=this._innerWidth;return this.scrollbarV&&(yn-=this.scrollbarHelper.width),this.columnMode===Nr.force?function ps(_t,On,ae,We,on=300){const yn=_t.slice(ae+1,_t.length).filter(ta=>!1!==ta.canAutoResize);for(const ta of yn)ta.$$oldWidth||(ta.$$oldWidth=ta.width);let Ei=0,Ui=!1,eo=ra(_t,on),js=On-eo;const hs=[];do{Ei=js/yn.length,Ui=eo>=On;for(const ta of yn){if(Ui&&We)ta.width=ta.$$oldWidth||ta.width||on;else{const Ul=(ta.width||on)+Ei;ta.minWidth&&Ul<ta.minWidth?(ta.width=ta.minWidth,hs.push(ta)):ta.maxWidth&&Ul>ta.maxWidth?(ta.width=ta.maxWidth,hs.push(ta)):ta.width=Ul}ta.width=Math.max(0,ta.width)}eo=ra(_t),js=On-eo,Ys(yn,hs)}while(js>1&&0!==yn.length)}(ae,yn,We,on):this.columnMode===Nr.flex&&function ko(_t,On){const ae=function os(_t,On){let ae=0;for(const We of _t)ae+=On&&We[On]?We[On]:We.width;return ae}(_t),We=function bs(_t){let On=0;for(const ae of _t)On+=ae.flexGrow||0;return On}(_t),on=mi(_t);ae!==On&&function $s(_t,On,ae){for(const yn in _t)for(const Ei of _t[yn])Ei.canAutoResize?Ei.width=0:(On-=Ei.width,ae-=Ei.flexGrow?Ei.flexGrow:0);const We={};let on=On;do{const yn=on/ae;on=0;for(const Ei in _t)for(const Ui of _t[Ei])if(Ui.canAutoResize&&!We[Ui.prop]){const eo=Ui.width+Ui.flexGrow*yn;void 0!==Ui.minWidth&&eo<Ui.minWidth?(on+=eo-Ui.minWidth,Ui.width=Ui.minWidth,We[Ui.prop]=!0):Ui.width=eo}}while(0!==on)}(on,On,We)}(ae,yn),ae}recalculateDims(){const ae=this.dimensionsHelper.getDimensions(this.element);if(this._innerWidth=Math.floor(ae.width),this.scrollbarV){let We=ae.height;this.headerHeight&&(We-=this.headerHeight),this.footerHeight&&(We-=this.footerHeight),this.bodyHeight=We}this.recalculatePages()}recalculatePages(){this.pageSize=this.calcPageSize(),this.rowCount=this.calcRowCount()}onBodyPage({offset:ae}){this.externalPaging&&!this.virtualization||(this.offset=ae,this.page.emit({count:this.count,pageSize:this.pageSize,limit:this.limit,offset:this.offset}))}onBodyScroll(ae){this._offsetX.next(ae.offsetX),this.scroll.emit(ae),this.cd.detectChanges()}onFooterPage(ae){this.offset=ae.page-1,this.bodyComponent.updateOffsetY(this.offset),this.page.emit({count:this.count,pageSize:this.pageSize,limit:this.limit,offset:this.offset}),this.selectAllRowsOnPage&&(this.selected=[],this.select.emit({selected:this.selected}))}calcPageSize(ae=this.rows){if(this.scrollbarV&&this.virtualization){const We=Math.ceil(this.bodyHeight/this.rowHeight);return Math.max(We,0)}return void 0!==this.limit?this.limit:ae?ae.length:0}calcRowCount(ae=this.rows){return this.externalPaging?this.count:ae?this.groupedRows?this.groupedRows.length:null!=this.treeFromRelation&&null!=this.treeToRelation?this._internalRows.length:ae.length:0}onColumnContextmenu({event:ae,column:We}){this.tableContextmenu.emit({event:ae,type:dr.header,content:We})}onRowContextmenu({event:ae,row:We}){this.tableContextmenu.emit({event:ae,type:dr.body,content:We})}onColumnResize({column:ae,newValue:We}){if(void 0===ae)return;let on;const yn=this._internalColumns.map((Ei,Ui)=>((Ei=Object.assign({},Ei)).$$id===ae.$$id&&(on=Ui,Ei.width=We,Ei.$$oldWidth=We),Ei));this.recalculateColumns(yn,on),this._internalColumns=yn,this.resize.emit({column:ae,newValue:We})}onColumnReorder({column:ae,newValue:We,prevValue:on}){const yn=this._internalColumns.map(Ei=>Object.assign({},Ei));if(this.swapColumns){const Ei=yn[We];yn[We]=ae,yn[on]=Ei}else if(We>on){const Ei=yn[on];for(let Ui=on;Ui<We;Ui++)yn[Ui]=yn[Ui+1];yn[We]=Ei}else{const Ei=yn[on];for(let Ui=on;Ui>We;Ui--)yn[Ui]=yn[Ui-1];yn[We]=Ei}this._internalColumns=yn,this.reorder.emit({column:ae,newValue:We,prevValue:on})}onColumnSort(ae){this.selectAllRowsOnPage&&(this.selected=[],this.select.emit({selected:this.selected})),this.sorts=ae.sorts,!1===this.externalSorting&&this.sortInternalRows(),this._internalRows=tn(this._internalRows,Ve(this.treeFromRelation),Ve(this.treeToRelation)),this.offset=0,this.bodyComponent.updateOffsetY(this.offset),this.sort.emit(ae)}onHeaderSelect(ae){if(this.bodyComponent&&this.selectAllRowsOnPage){const We=this.bodyComponent.indexes.first,on=this.bodyComponent.indexes.last,yn=this.selected.length===on-We;this.selected=[],yn||this.selected.push(...this._internalRows.slice(We,on))}else{const We=this.selected.length===this.rows.length;this.selected=[],We||this.selected.push(...this.rows)}this.select.emit({selected:this.selected})}onBodySelect(ae){this.select.emit(ae)}onTreeAction(ae){const We=ae.row,on=this._rows.findIndex(yn=>yn[this.treeToRelation]===ae.row[this.treeToRelation]);this.treeAction.emit({row:We,rowIndex:on})}ngOnDestroy(){this._subscriptions.forEach(ae=>ae.unsubscribe())}listenForColumnInputChanges(){this._subscriptions.push(this.columnChangesService.columnInputChanges$.subscribe(()=>{this.columnTemplates&&this.columnTemplates.notifyOnChanges()}))}sortInternalRows(){this._internalRows=function tl(_t,On,ae){if(!_t)return[];if(!ae||!ae.length||!On)return[..._t];const We=new Map;_t.forEach((Ui,eo)=>We.set(Ui,eo));const on=[..._t],yn=On.reduce((Ui,eo)=>(eo.comparator&&"function"==typeof eo.comparator&&(Ui[eo.prop]=eo.comparator),Ui),{}),Ei=ae.map(Ui=>{const eo=Ui.prop;return{prop:eo,dir:Ui.dir,valueGetter:Ut(eo),compareFn:yn[eo]||Ql}});return on.sort(function(Ui,eo){for(const js of Ei){const{prop:hs,valueGetter:ia}=js,ta=ia(Ui,hs),Ul=ia(eo,hs),Fl=js.dir!==Do.desc?js.compareFn(ta,Ul,Ui,eo,js.dir):-js.compareFn(ta,Ul,Ui,eo,js.dir);if(0!==Fl)return Fl}return We.has(Ui)&&We.has(eo)?We.get(Ui)<We.get(eo)?-1:1:0})}(this._internalRows,this._internalColumns,this.sorts)}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(Vo,4),r.Y36(Xr,4),r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(r.aQg),r.Y36(Ni),r.Y36("configuration",8))},_t.\u0275cmp=r.Xpm({type:_t,selectors:[["ngx-datatable"]],contentQueries:function(ae,We,on){if(1&ae&&(r.Suo(on,er,5),r.Suo(on,Pn,5),r.Suo(on,Kr,5),r.Suo(on,st,4)),2&ae){let yn;r.iGM(yn=r.CRH())&&(We.rowDetail=yn.first),r.iGM(yn=r.CRH())&&(We.groupHeader=yn.first),r.iGM(yn=r.CRH())&&(We.footer=yn.first),r.iGM(yn=r.CRH())&&(We.columnTemplates=yn)}},viewQuery:function(ae,We){if(1&ae&&(r.Gf(kr,5),r.Gf(Qi,5)),2&ae){let on;r.iGM(on=r.CRH())&&(We.bodyComponent=on.first),r.iGM(on=r.CRH())&&(We.headerComponent=on.first)}},hostAttrs:[1,"ngx-datatable"],hostVars:22,hostBindings:function(ae,We){1&ae&&r.NdJ("resize",function(){return We.onWindowResize()},!1,r.Jf7),2&ae&&r.ekj("fixed-header",We.isFixedHeader)("fixed-row",We.isFixedRow)("scroll-vertical",We.isVertScroll)("virtualized",We.isVirtualized)("scroll-horz",We.isHorScroll)("selectable",We.isSelectable)("checkbox-selection",We.isCheckboxSelection)("cell-selection",We.isCellSelection)("single-selection",We.isSingleSelection)("multi-selection",We.isMultiSelection)("multi-click-selection",We.isMultiClickSelection)},inputs:{selected:"selected",scrollbarV:"scrollbarV",scrollbarH:"scrollbarH",rowHeight:"rowHeight",columnMode:"columnMode",headerHeight:"headerHeight",footerHeight:"footerHeight",externalPaging:"externalPaging",externalSorting:"externalSorting",loadingIndicator:"loadingIndicator",reorderable:"reorderable",swapColumns:"swapColumns",sortType:"sortType",sorts:"sorts",cssClasses:"cssClasses",messages:"messages",groupExpansionDefault:"groupExpansionDefault",selectAllRowsOnPage:"selectAllRowsOnPage",virtualization:"virtualization",summaryRow:"summaryRow",summaryHeight:"summaryHeight",summaryPosition:"summaryPosition",rowIdentity:"rowIdentity",rows:"rows",groupedRows:"groupedRows",groupRowsBy:"groupRowsBy",columns:"columns",limit:"limit",count:"count",offset:"offset",targetMarkerTemplate:"targetMarkerTemplate",selectionType:"selectionType",rowClass:"rowClass",selectCheck:"selectCheck",displayCheck:"displayCheck",trackByProp:"trackByProp",treeFromRelation:"treeFromRelation",treeToRelation:"treeToRelation"},outputs:{scroll:"scroll",activate:"activate",select:"select",sort:"sort",page:"page",reorder:"reorder",resize:"resize",tableContextmenu:"tableContextmenu",treeAction:"treeAction"},decls:5,vars:34,consts:[["visibilityObserver","",3,"visible"],[3,"sorts","sortType","scrollbarH","innerWidth","offsetX","dealsWithGroup","columns","headerHeight","reorderable","targetMarkerTemplate","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","selectionType","sort","resize","reorder","select","columnContextmenu",4,"ngIf"],[3,"groupRowsBy","groupedRows","rows","groupExpansionDefault","scrollbarV","scrollbarH","virtualization","loadingIndicator","externalPaging","rowHeight","rowCount","offset","trackByProp","columns","pageSize","offsetX","rowDetail","groupHeader","selected","innerWidth","bodyHeight","selectionType","emptyMessage","rowIdentity","rowClass","selectCheck","displayCheck","summaryRow","summaryHeight","summaryPosition","page","activate","rowContextmenu","select","scroll","treeAction"],[3,"rowCount","pageSize","offset","footerHeight","footerTemplate","totalMessage","pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","selectedCount","selectedMessage","pagerNextIcon","page",4,"ngIf"],[3,"sorts","sortType","scrollbarH","innerWidth","offsetX","dealsWithGroup","columns","headerHeight","reorderable","targetMarkerTemplate","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","selectionType","sort","resize","reorder","select","columnContextmenu"],[3,"rowCount","pageSize","offset","footerHeight","footerTemplate","totalMessage","pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","selectedCount","selectedMessage","pagerNextIcon","page"]],template:function(ae,We){1&ae&&(r.TgZ(0,"div",0),r.NdJ("visible",function(){return We.recalculate()}),r.YNc(1,ue,2,17,"datatable-header",1),r.TgZ(2,"datatable-body",2),r.NdJ("page",function(yn){return We.onBodyPage(yn)})("activate",function(yn){return We.activate.emit(yn)})("rowContextmenu",function(yn){return We.onRowContextmenu(yn)})("select",function(yn){return We.onBodySelect(yn)})("scroll",function(yn){return We.onBodyScroll(yn)})("treeAction",function(yn){return We.onTreeAction(yn)}),r.ALo(3,"async"),r.qZA(),r.YNc(4,ie,1,12,"datatable-footer",3),r.qZA()),2&ae&&(r.xp6(1),r.Q6J("ngIf",We.headerHeight),r.xp6(1),r.Q6J("groupRowsBy",We.groupRowsBy)("groupedRows",We.groupedRows)("rows",We._internalRows)("groupExpansionDefault",We.groupExpansionDefault)("scrollbarV",We.scrollbarV)("scrollbarH",We.scrollbarH)("virtualization",We.virtualization)("loadingIndicator",We.loadingIndicator)("externalPaging",We.externalPaging)("rowHeight",We.rowHeight)("rowCount",We.rowCount)("offset",We.offset)("trackByProp",We.trackByProp)("columns",We._internalColumns)("pageSize",We.pageSize)("offsetX",r.lcZ(3,32,We._offsetX))("rowDetail",We.rowDetail)("groupHeader",We.groupHeader)("selected",We.selected)("innerWidth",We._innerWidth)("bodyHeight",We.bodyHeight)("selectionType",We.selectionType)("emptyMessage",We.messages.emptyMessage)("rowIdentity",We.rowIdentity)("rowClass",We.rowClass)("selectCheck",We.selectCheck)("displayCheck",We.displayCheck)("summaryRow",We.summaryRow)("summaryHeight",We.summaryHeight)("summaryPosition",We.summaryPosition),r.xp6(2),r.Q6J("ngIf",We.footerHeight))},dependencies:function(){return[a.O5,jr,Qi,kr,Pl,a.Ov]},styles:[".ngx-datatable{display:block;justify-content:center;overflow:hidden;position:relative;transform:translateZ(0)}.ngx-datatable [hidden]{display:none!important}.ngx-datatable *,.ngx-datatable :after,.ngx-datatable :before{box-sizing:border-box}.ngx-datatable.scroll-vertical .datatable-body{overflow-y:auto}.ngx-datatable.scroll-vertical.virtualized .datatable-body .datatable-row-wrapper{position:absolute}.ngx-datatable.scroll-horz .datatable-body{-webkit-overflow-scrolling:touch;overflow-x:auto}.ngx-datatable.fixed-header .datatable-header .datatable-header-inner{white-space:nowrap}.ngx-datatable.fixed-header .datatable-header .datatable-header-inner .datatable-header-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngx-datatable.fixed-row .datatable-scroll,.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row{white-space:nowrap}.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row .datatable-body-cell,.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row .datatable-body-group-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngx-datatable .datatable-body-row,.ngx-datatable .datatable-header-inner,.ngx-datatable .datatable-row-center{-o-flex-flow:row;display:flex;flex-direction:row;flex-flow:row}.ngx-datatable .datatable-body-cell,.ngx-datatable .datatable-header-cell{display:inline-block;line-height:1.625;overflow-x:hidden;vertical-align:top}.ngx-datatable .datatable-body-cell:focus,.ngx-datatable .datatable-header-cell:focus{outline:none}.ngx-datatable .datatable-row-left,.ngx-datatable .datatable-row-right{z-index:9}.ngx-datatable .datatable-row-center,.ngx-datatable .datatable-row-group,.ngx-datatable .datatable-row-left,.ngx-datatable .datatable-row-right{position:relative}.ngx-datatable .datatable-header{display:block;overflow:hidden}.ngx-datatable .datatable-header .datatable-header-inner{-webkit-align-items:stretch;align-items:stretch}.ngx-datatable .datatable-header .datatable-header-cell{display:inline-block;position:relative}.ngx-datatable .datatable-header .datatable-header-cell.sortable .datatable-header-cell-wrapper{cursor:pointer}.ngx-datatable .datatable-header .datatable-header-cell.longpress .datatable-header-cell-wrapper{cursor:move}.ngx-datatable .datatable-header .datatable-header-cell .sort-btn{cursor:pointer;display:inline-block;line-height:100%;vertical-align:middle}.ngx-datatable .datatable-header .datatable-header-cell .resize-handle,.ngx-datatable .datatable-header .datatable-header-cell .resize-handle--not-resizable{bottom:0;display:inline-block;padding:0 4px;position:absolute;right:0;top:0;visibility:hidden;width:5px}.ngx-datatable .datatable-header .datatable-header-cell .resize-handle{cursor:ew-resize}.ngx-datatable .datatable-header .datatable-header-cell.resizeable:hover .resize-handle,.ngx-datatable .datatable-header .datatable-header-cell:hover .resize-handle--not-resizable{visibility:visible}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker{bottom:0;position:absolute;top:0}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker.dragFromLeft{right:0}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker.dragFromRight{left:0}.ngx-datatable .datatable-header .datatable-header-cell .datatable-header-cell-template-wrap{height:inherit}.ngx-datatable .datatable-body{display:block;position:relative;z-index:10}.ngx-datatable .datatable-body .datatable-scroll{display:inline-block}.ngx-datatable .datatable-body .datatable-row-detail{overflow-y:hidden}.ngx-datatable .datatable-body .datatable-row-wrapper{display:flex;flex-direction:column}.ngx-datatable .datatable-body .datatable-body-row{outline:none}.ngx-datatable .datatable-body .datatable-body-row>div{display:flex}.ngx-datatable .datatable-footer{display:block;overflow:auto;width:100%}.ngx-datatable .datatable-footer .datatable-footer-inner{align-items:center;display:flex;width:100%}.ngx-datatable .datatable-footer .selected-count .page-count{flex:1 1 40%}.ngx-datatable .datatable-footer .selected-count .datatable-pager{flex:1 1 60%}.ngx-datatable .datatable-footer .page-count{flex:1 1 20%}.ngx-datatable .datatable-footer .datatable-pager{flex:1 1 80%;text-align:right}.ngx-datatable .datatable-footer .datatable-pager .pager,.ngx-datatable .datatable-footer .datatable-pager .pager li{display:inline-block;list-style:none;margin:0;padding:0}.ngx-datatable .datatable-footer .datatable-pager .pager li,.ngx-datatable .datatable-footer .datatable-pager .pager li a{outline:none}.ngx-datatable .datatable-footer .datatable-pager .pager li a{cursor:pointer;display:inline-block}.ngx-datatable .datatable-footer .datatable-pager .pager li.disabled a{cursor:not-allowed}"],encapsulation:2,changeDetection:0}),(0,h.gn)([Ss(5)],_t.prototype,"onWindowResize",null),_t})(),Ga=(()=>{class _t{constructor(ae){this.cd=ae,this.sort=new r.vpe,this.select=new r.vpe,this.columnContextmenu=new r.vpe(!1),this.sortFn=this.onSort.bind(this),this.selectFn=this.select.emit.bind(this.select),this.cellContext={column:this.column,sortDir:this.sortDir,sortFn:this.sortFn,allRowsSelected:this.allRowsSelected,selectFn:this.selectFn}}set allRowsSelected(ae){this._allRowsSelected=ae,this.cellContext.allRowsSelected=ae}get allRowsSelected(){return this._allRowsSelected}set column(ae){this._column=ae,this.cellContext.column=ae,this.cd.markForCheck()}get column(){return this._column}set sorts(ae){this._sorts=ae,this.sortDir=this.calcSortDir(ae),this.cellContext.sortDir=this.sortDir,this.sortClass=this.calcSortClass(this.sortDir),this.cd.markForCheck()}get sorts(){return this._sorts}get columnCssClasses(){let ae="datatable-header-cell";if(this.column.sortable&&(ae+=" sortable"),this.column.resizeable&&(ae+=" resizeable"),this.column.headerClass)if("string"==typeof this.column.headerClass)ae+=" "+this.column.headerClass;else if("function"==typeof this.column.headerClass){const on=this.column.headerClass({column:this.column});if("string"==typeof on)ae+=on;else if("object"==typeof on){const yn=Object.keys(on);for(const Ei of yn)!0===on[Ei]&&(ae+=` ${Ei}`)}}const We=this.sortDir;return We&&(ae+=` sort-active sort-${We}`),ae}get name(){return void 0===this.column.headerTemplate?this.column.name:void 0}get minWidth(){return this.column.minWidth}get maxWidth(){return this.column.maxWidth}get width(){return this.column.width}get isCheckboxable(){return this.column.checkboxable&&this.column.headerCheckboxable&&this.selectionType===nr.checkbox}onContextmenu(ae){this.columnContextmenu.emit({event:ae,column:this.column})}ngOnInit(){this.sortClass=this.calcSortClass(this.sortDir)}calcSortDir(ae){if(ae&&this.column){const We=ae.find(on=>on.prop===this.column.prop);if(We)return We.dir}}onSort(){if(!this.column.sortable)return;const ae=function oc(_t,On){return _t===Qn.single?On===Do.asc?Do.desc:Do.asc:On?On===Do.asc?Do.desc:void 0:Do.asc}(this.sortType,this.sortDir);this.sort.emit({column:this.column,prevValue:this.sortDir,newValue:ae})}calcSortClass(ae){if(this.cellContext.column.sortable)return ae===Do.asc?`sort-btn sort-asc ${this.sortAscendingIcon}`:ae===Do.desc?`sort-btn sort-desc ${this.sortDescendingIcon}`:`sort-btn ${this.sortUnsetIcon}`}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.sBO))},_t.\u0275cmp=r.Xpm({type:_t,selectors:[["datatable-header-cell"]],hostAttrs:[1,"datatable-header-cell"],hostVars:11,hostBindings:function(ae,We){1&ae&&r.NdJ("contextmenu",function(yn){return We.onContextmenu(yn)}),2&ae&&(r.uIk("title",We.name),r.Tol(We.columnCssClasses),r.Udp("min-width",We.minWidth,"px")("max-width",We.maxWidth,"px")("width",We.width,"px")("height",We.headerHeight,"px"))},inputs:{allRowsSelected:"allRowsSelected",column:"column",sorts:"sorts",sortType:"sortType",sortAscendingIcon:"sortAscendingIcon",sortDescendingIcon:"sortDescendingIcon",sortUnsetIcon:"sortUnsetIcon",isTarget:"isTarget",targetMarkerTemplate:"targetMarkerTemplate",targetMarkerContext:"targetMarkerContext",selectionType:"selectionType",headerHeight:"headerHeight"},outputs:{sort:"sort",select:"select",columnContextmenu:"columnContextmenu"},decls:6,vars:6,consts:[[1,"datatable-header-cell-template-wrap"],[4,"ngIf"],["class","datatable-checkbox",4,"ngIf"],["class","datatable-header-cell-wrapper",4,"ngIf"],[3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"datatable-checkbox"],["type","checkbox",3,"checked","change"],[1,"datatable-header-cell-wrapper"],[1,"datatable-header-cell-label","draggable",3,"innerHTML","click"]],template:function(ae,We){1&ae&&(r.TgZ(0,"div",0),r.YNc(1,Oe,1,2,null,1),r.YNc(2,Ue,2,1,"label",2),r.YNc(3,Me,2,1,"span",3),r.YNc(4,et,1,2,null,1),r.TgZ(5,"span",4),r.NdJ("click",function(){return We.onSort()}),r.qZA()()),2&ae&&(r.xp6(1),r.Q6J("ngIf",We.isTarget),r.xp6(1),r.Q6J("ngIf",We.isCheckboxable),r.xp6(1),r.Q6J("ngIf",!We.column.headerTemplate),r.xp6(1),r.Q6J("ngIf",We.column.headerTemplate),r.xp6(1),r.Tol(We.sortClass))},dependencies:[a.O5,a.tP],encapsulation:2,changeDetection:0}),_t})(),Pl=(()=>{class _t{constructor(){this.selectedCount=0,this.page=new r.vpe}get isVisible(){return this.rowCount/this.pageSize>1}get curPage(){return this.offset+1}}return _t.\u0275fac=function(ae){return new(ae||_t)},_t.\u0275cmp=r.Xpm({type:_t,selectors:[["datatable-footer"]],hostAttrs:[1,"datatable-footer"],inputs:{selectedCount:"selectedCount",footerHeight:"footerHeight",rowCount:"rowCount",pageSize:"pageSize",offset:"offset",pagerLeftArrowIcon:"pagerLeftArrowIcon",pagerRightArrowIcon:"pagerRightArrowIcon",pagerPreviousIcon:"pagerPreviousIcon",pagerNextIcon:"pagerNextIcon",totalMessage:"totalMessage",footerTemplate:"footerTemplate",selectedMessage:"selectedMessage"},outputs:{page:"page"},decls:4,vars:8,consts:[[1,"datatable-footer-inner",3,"ngClass"],[4,"ngIf"],["class","page-count",4,"ngIf"],[3,"pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","pagerNextIcon","page","size","count","hidden","change",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"page-count"],[3,"pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","pagerNextIcon","page","size","count","hidden","change"]],template:function(ae,We){1&ae&&(r.TgZ(0,"div",0),r.YNc(1,ze,1,8,null,1),r.YNc(2,Ct,3,3,"div",2),r.YNc(3,Qt,1,8,"datatable-pager",3),r.qZA()),2&ae&&(r.Udp("height",We.footerHeight,"px"),r.Q6J("ngClass",r.VKq(6,ht,We.selectedMessage)),r.xp6(1),r.Q6J("ngIf",We.footerTemplate),r.xp6(1),r.Q6J("ngIf",!We.footerTemplate),r.xp6(1),r.Q6J("ngIf",!We.footerTemplate))},dependencies:function(){return[a.mk,a.O5,a.tP,Eo]},encapsulation:2,changeDetection:0}),_t})(),Eo=(()=>{class _t{constructor(){this.change=new r.vpe,this._count=0,this._page=1,this._size=0}set size(ae){this._size=ae,this.pages=this.calcPages()}get size(){return this._size}set count(ae){this._count=ae,this.pages=this.calcPages()}get count(){return this._count}set page(ae){this._page=ae,this.pages=this.calcPages()}get page(){return this._page}get totalPages(){const ae=this.size<1?1:Math.ceil(this.count/this.size);return Math.max(ae||0,1)}canPrevious(){return this.page>1}canNext(){return this.page<this.totalPages}prevPage(){this.selectPage(this.page-1)}nextPage(){this.selectPage(this.page+1)}selectPage(ae){ae>0&&ae<=this.totalPages&&ae!==this.page&&(this.page=ae,this.change.emit({page:ae}))}calcPages(ae){const We=[];let on=1,yn=this.totalPages;ae=ae||this.page,5<this.totalPages&&(on=ae-Math.floor(2.5),yn=ae+Math.floor(2.5),on<1?(on=1,yn=Math.min(on+5-1,this.totalPages)):yn>this.totalPages&&(on=Math.max(this.totalPages-5+1,1),yn=this.totalPages));for(let eo=on;eo<=yn;eo++)We.push({number:eo,text:eo});return We}}return _t.\u0275fac=function(ae){return new(ae||_t)},_t.\u0275cmp=r.Xpm({type:_t,selectors:[["datatable-pager"]],hostAttrs:[1,"datatable-pager"],inputs:{size:"size",count:"count",page:"page",pagerLeftArrowIcon:"pagerLeftArrowIcon",pagerRightArrowIcon:"pagerRightArrowIcon",pagerPreviousIcon:"pagerPreviousIcon",pagerNextIcon:"pagerNextIcon"},outputs:{change:"change"},decls:14,vars:21,consts:[[1,"pager"],["role","button","aria-label","go to first page","href","javascript:void(0)",3,"click"],["role","button","aria-label","go to previous page","href","javascript:void(0)",3,"click"],["role","button","class","pages",3,"active",4,"ngFor","ngForOf"],["role","button","aria-label","go to next page","href","javascript:void(0)",3,"click"],["role","button","aria-label","go to last page","href","javascript:void(0)",3,"click"],["role","button",1,"pages"],["href","javascript:void(0)",3,"click"]],template:function(ae,We){1&ae&&(r.TgZ(0,"ul",0)(1,"li")(2,"a",1),r.NdJ("click",function(){return We.selectPage(1)}),r._UZ(3,"i"),r.qZA()(),r.TgZ(4,"li")(5,"a",2),r.NdJ("click",function(){return We.prevPage()}),r._UZ(6,"i"),r.qZA()(),r.YNc(7,en,3,4,"li",3),r.TgZ(8,"li")(9,"a",4),r.NdJ("click",function(){return We.nextPage()}),r._UZ(10,"i"),r.qZA()(),r.TgZ(11,"li")(12,"a",5),r.NdJ("click",function(){return We.selectPage(We.totalPages)}),r._UZ(13,"i"),r.qZA()()()),2&ae&&(r.xp6(1),r.ekj("disabled",!We.canPrevious()),r.xp6(2),r.Tol(We.pagerPreviousIcon),r.xp6(1),r.ekj("disabled",!We.canPrevious()),r.xp6(2),r.Tol(We.pagerLeftArrowIcon),r.xp6(1),r.Q6J("ngForOf",We.pages),r.xp6(1),r.ekj("disabled",!We.canNext()),r.xp6(2),r.Tol(We.pagerRightArrowIcon),r.xp6(1),r.ekj("disabled",!We.canNext()),r.xp6(2),r.Tol(We.pagerNextIcon))},dependencies:[a.sg],encapsulation:2,changeDetection:0}),_t})(),Ra=(()=>{class _t{}return _t.\u0275fac=function(ae){return new(ae||_t)},_t.\u0275cmp=r.Xpm({type:_t,selectors:[["datatable-progress"]],decls:3,vars:0,consts:[["role","progressbar",1,"progress-linear"],[1,"container"],[1,"bar"]],template:function(ae,We){1&ae&&(r.TgZ(0,"div",0)(1,"div",1),r._UZ(2,"div",2),r.qZA()())},encapsulation:2,changeDetection:0}),_t})();var Fo=(()=>{return(_t=Fo||(Fo={}))[_t.up=38]="up",_t[_t.down=40]="down",_t[_t.return=13]="return",_t[_t.escape=27]="escape",_t[_t.left=37]="left",_t[_t.right=39]="right",Fo;var _t})();let Cs=(()=>{class _t{constructor(ae,We,on,yn){this.differs=ae,this.scrollbarHelper=We,this.cd=on,this.treeStatus="collapsed",this.activate=new r.vpe,this.treeAction=new r.vpe,this._groupStyles={left:{},center:{},right:{}},this._element=yn.nativeElement,this._rowDiffer=ae.find({}).create()}set columns(ae){this._columns=ae,this.recalculateColumns(ae),this.buildStylesByGroup()}get columns(){return this._columns}set innerWidth(ae){if(this._columns){const We=mi(this._columns);this._columnGroupWidths=gi(We,this._columns)}this._innerWidth=ae,this.recalculateColumns(),this.buildStylesByGroup()}get innerWidth(){return this._innerWidth}set offsetX(ae){this._offsetX=ae,this.buildStylesByGroup()}get offsetX(){return this._offsetX}get cssClass(){let ae="datatable-body-row";if(this.isSelected&&(ae+=" active"),this.rowIndex%2!=0&&(ae+=" datatable-row-odd"),this.rowIndex%2==0&&(ae+=" datatable-row-even"),this.rowClass){const We=this.rowClass(this.row);if("string"==typeof We)ae+=` ${We}`;else if("object"==typeof We){const on=Object.keys(We);for(const yn of on)!0===We[yn]&&(ae+=` ${yn}`)}}return ae}get columnsTotalWidths(){return this._columnGroupWidths.total}ngDoCheck(){this._rowDiffer.diff(this.row)&&this.cd.markForCheck()}trackByGroups(ae,We){return We.type}columnTrackingFn(ae,We){return We.$$id}buildStylesByGroup(){this._groupStyles.left=this.calcStylesByGroup("left"),this._groupStyles.center=this.calcStylesByGroup("center"),this._groupStyles.right=this.calcStylesByGroup("right"),this.cd.markForCheck()}calcStylesByGroup(ae){const We=this._columnGroupWidths,on=this.offsetX,yn={width:`${We[ae]}px`};if("left"===ae)mn(yn,on,0);else if("right"===ae){const Ei=parseInt(this.innerWidth+"",0);mn(yn,-1*(We.total-Ei-on+this.scrollbarHelper.width),0)}return yn}onActivate(ae,We){ae.cellIndex=We,ae.rowElement=this._element,this.activate.emit(ae)}onKeyDown(ae){const We=ae.keyCode;(We===Fo.return||We===Fo.down||We===Fo.up||We===Fo.left||We===Fo.right)&&ae.target===this._element&&(ae.preventDefault(),ae.stopPropagation(),this.activate.emit({type:"keydown",event:ae,row:this.row,rowElement:this._element}))}onMouseenter(ae){this.activate.emit({type:"mouseenter",event:ae,row:this.row,rowElement:this._element})}recalculateColumns(ae=this.columns){this._columns=ae;const We=mi(this._columns);this._columnsByPin=hr(this._columns),this._columnGroupWidths=gi(We,this._columns)}onTreeAction(){this.treeAction.emit()}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.aQg),r.Y36(Vo,4),r.Y36(r.sBO),r.Y36(r.SBq))},_t.\u0275cmp=r.Xpm({type:_t,selectors:[["datatable-body-row"]],hostVars:6,hostBindings:function(ae,We){1&ae&&r.NdJ("keydown",function(yn){return We.onKeyDown(yn)})("mouseenter",function(yn){return We.onMouseenter(yn)}),2&ae&&(r.Tol(We.cssClass),r.Udp("width",We.columnsTotalWidths,"px")("height",We.rowHeight,"px"))},inputs:{treeStatus:"treeStatus",columns:"columns",innerWidth:"innerWidth",offsetX:"offsetX",expanded:"expanded",rowClass:"rowClass",row:"row",group:"group",isSelected:"isSelected",rowIndex:"rowIndex",displayCheck:"displayCheck",rowHeight:"rowHeight"},outputs:{activate:"activate",treeAction:"treeAction"},decls:1,vars:2,consts:[[3,"class","ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngStyle"],["tabindex","-1",3,"row","group","expanded","isSelected","rowIndex","column","rowHeight","displayCheck","treeStatus","activate","treeAction",4,"ngFor","ngForOf","ngForTrackBy"],["tabindex","-1",3,"row","group","expanded","isSelected","rowIndex","column","rowHeight","displayCheck","treeStatus","activate","treeAction"]],template:function(ae,We){1&ae&&r.YNc(0,bn,2,6,"div",0),2&ae&&r.Q6J("ngForOf",We._columnsByPin)("ngForTrackBy",We.trackByGroups)},dependencies:function(){return[a.sg,a.PC,nl]},encapsulation:2,changeDetection:0}),_t})(),Ks=(()=>{class _t{constructor(ae,We){this.cd=ae,this.differs=We,this.rowContextmenu=new r.vpe(!1),this.groupContext={group:this.row,expanded:this.expanded,rowIndex:this.rowIndex},this.rowContext={row:this.row,expanded:this.expanded,rowIndex:this.rowIndex},this._expanded=!1,this.rowDiffer=We.find({}).create()}set rowIndex(ae){this._rowIndex=ae,this.rowContext.rowIndex=ae,this.groupContext.rowIndex=ae,this.cd.markForCheck()}get rowIndex(){return this._rowIndex}set expanded(ae){this._expanded=ae,this.groupContext.expanded=ae,this.rowContext.expanded=ae,this.cd.markForCheck()}get expanded(){return this._expanded}ngDoCheck(){this.rowDiffer.diff(this.row)&&(this.rowContext.row=this.row,this.groupContext.group=this.row,this.cd.markForCheck())}onContextmenu(ae){this.rowContextmenu.emit({event:ae,row:this.row})}getGroupHeaderStyle(){const ae={};return ae.transform="translate3d("+this.offsetX+"px, 0px, 0px)",ae["backface-visibility"]="hidden",ae.width=this.innerWidth,ae}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.sBO),r.Y36(r.aQg))},_t.\u0275cmp=r.Xpm({type:_t,selectors:[["datatable-row-wrapper"]],hostAttrs:[1,"datatable-row-wrapper"],hostBindings:function(ae,We){1&ae&&r.NdJ("contextmenu",function(yn){return We.onContextmenu(yn)})},inputs:{rowIndex:"rowIndex",expanded:"expanded",innerWidth:"innerWidth",rowDetail:"rowDetail",groupHeader:"groupHeader",offsetX:"offsetX",detailRowHeight:"detailRowHeight",row:"row",groupedRows:"groupedRows"},outputs:{rowContextmenu:"rowContextmenu"},ngContentSelectors:E,decls:3,vars:3,consts:[["class","datatable-group-header",3,"ngStyle",4,"ngIf"],[4,"ngIf"],["class","datatable-row-detail",3,"height",4,"ngIf"],[1,"datatable-group-header",3,"ngStyle"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"datatable-row-detail"]],template:function(ae,We){1&ae&&(r.F$t(),r.YNc(0,Xt,2,2,"div",0),r.YNc(1,un,1,0,"ng-content",1),r.YNc(2,ri,2,3,"div",2)),2&ae&&(r.Q6J("ngIf",We.groupHeader&&We.groupHeader.template),r.xp6(1),r.Q6J("ngIf",We.groupHeader&&We.groupHeader.template&&We.expanded||!We.groupHeader||!We.groupHeader.template),r.xp6(1),r.Q6J("ngIf",We.rowDetail&&We.rowDetail.template&&We.expanded))},dependencies:[a.O5,a.tP,a.PC],encapsulation:2,changeDetection:0}),_t})(),nl=(()=>{class _t{constructor(ae,We){this.cd=We,this.activate=new r.vpe,this.treeAction=new r.vpe,this.isFocused=!1,this.onCheckboxChangeFn=this.onCheckboxChange.bind(this),this.activateFn=this.activate.emit.bind(this.activate),this.cellContext={onCheckboxChangeFn:this.onCheckboxChangeFn,activateFn:this.activateFn,row:this.row,group:this.group,value:this.value,column:this.column,rowHeight:this.rowHeight,isSelected:this.isSelected,rowIndex:this.rowIndex,treeStatus:this.treeStatus,onTreeAction:this.onTreeAction.bind(this)},this._element=ae.nativeElement}set group(ae){this._group=ae,this.cellContext.group=ae,this.checkValueUpdates(),this.cd.markForCheck()}get group(){return this._group}set rowHeight(ae){this._rowHeight=ae,this.cellContext.rowHeight=ae,this.checkValueUpdates(),this.cd.markForCheck()}get rowHeight(){return this._rowHeight}set isSelected(ae){this._isSelected=ae,this.cellContext.isSelected=ae,this.cd.markForCheck()}get isSelected(){return this._isSelected}set expanded(ae){this._expanded=ae,this.cellContext.expanded=ae,this.cd.markForCheck()}get expanded(){return this._expanded}set rowIndex(ae){this._rowIndex=ae,this.cellContext.rowIndex=ae,this.checkValueUpdates(),this.cd.markForCheck()}get rowIndex(){return this._rowIndex}set column(ae){this._column=ae,this.cellContext.column=ae,this.checkValueUpdates(),this.cd.markForCheck()}get column(){return this._column}set row(ae){this._row=ae,this.cellContext.row=ae,this.checkValueUpdates(),this.cd.markForCheck()}get row(){return this._row}set sorts(ae){this._sorts=ae,this.calcSortDir=this.calcSortDir(ae)}get sorts(){return this._sorts}set treeStatus(ae){this._treeStatus="collapsed"!==ae&&"expanded"!==ae&&"loading"!==ae&&"disabled"!==ae?"collapsed":ae,this.cellContext.treeStatus=this._treeStatus,this.checkValueUpdates(),this.cd.markForCheck()}get treeStatus(){return this._treeStatus}get columnCssClasses(){let ae="datatable-body-cell";if(this.column.cellClass)if("string"==typeof this.column.cellClass)ae+=" "+this.column.cellClass;else if("function"==typeof this.column.cellClass){const We=this.column.cellClass({row:this.row,group:this.group,column:this.column,value:this.value,rowHeight:this.rowHeight});if("string"==typeof We)ae+=" "+We;else if("object"==typeof We){const on=Object.keys(We);for(const yn of on)!0===We[yn]&&(ae+=` ${yn}`)}}return this.sortDir||(ae+=" sort-active"),this.isFocused&&(ae+=" active"),this.sortDir===Do.asc&&(ae+=" sort-asc"),this.sortDir===Do.desc&&(ae+=" sort-desc"),ae}get width(){return this.column.width}get minWidth(){return this.column.minWidth}get maxWidth(){return this.column.maxWidth}get height(){const ae=this.rowHeight;return isNaN(ae)?ae:ae+"px"}ngDoCheck(){this.checkValueUpdates()}ngOnDestroy(){this.cellTemplate&&this.cellTemplate.clear()}checkValueUpdates(){let ae="";if(this.row&&this.column){const We=this.column.$$valueGetter(this.row,this.column.prop),on=this.column.pipe;on?ae=on.transform(We):void 0!==ae&&(ae=We)}else ae="";this.value!==ae&&(this.value=ae,this.cellContext.value=ae,this.sanitizedValue=null!=ae?this.stripHtml(ae):ae,this.cd.markForCheck())}onFocus(){this.isFocused=!0}onBlur(){this.isFocused=!1}onClick(ae){this.activate.emit({type:"click",event:ae,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element})}onDblClick(ae){this.activate.emit({type:"dblclick",event:ae,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element})}onKeyDown(ae){const We=ae.keyCode;(We===Fo.return||We===Fo.down||We===Fo.up||We===Fo.left||We===Fo.right)&&ae.target===this._element&&(ae.preventDefault(),ae.stopPropagation(),this.activate.emit({type:"keydown",event:ae,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element}))}onCheckboxChange(ae){this.activate.emit({type:"checkbox",event:ae,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element,treeStatus:"collapsed"})}calcSortDir(ae){if(!ae)return;const We=ae.find(on=>on.prop===this.column.prop);return We?We.dir:void 0}stripHtml(ae){return ae.replace?ae.replace(/<\/?[^>]+(>|$)/g,""):ae}onTreeAction(){this.treeAction.emit(this.row)}calcLeftMargin(ae,We){return ae.isTreeColumn?We.level*(null!=ae.treeLevelIndent?ae.treeLevelIndent:50):0}}return _t.\u0275fac=function(ae){return new(ae||_t)(r.Y36(r.SBq),r.Y36(r.sBO))},_t.\u0275cmp=r.Xpm({type:_t,selectors:[["datatable-body-cell"]],viewQuery:function(ae,We){if(1&ae&&r.Gf(Ir,7,r.s_b),2&ae){let on;r.iGM(on=r.CRH())&&(We.cellTemplate=on.first)}},hostVars:10,hostBindings:function(ae,We){1&ae&&r.NdJ("focus",function(){return We.onFocus()})("blur",function(){return We.onBlur()})("click",function(yn){return We.onClick(yn)})("dblclick",function(yn){return We.onDblClick(yn)})("keydown",function(yn){return We.onKeyDown(yn)}),2&ae&&(r.Tol(We.columnCssClasses),r.Udp("width",We.width,"px")("min-width",We.minWidth,"px")("max-width",We.maxWidth,"px")("height",We.height))},inputs:{group:"group",rowHeight:"rowHeight",isSelected:"isSelected",expanded:"expanded",rowIndex:"rowIndex",column:"column",row:"row",sorts:"sorts",treeStatus:"treeStatus",displayCheck:"displayCheck"},outputs:{activate:"activate",treeAction:"treeAction"},decls:5,vars:6,consts:[[1,"datatable-body-cell-label"],["class","datatable-checkbox",4,"ngIf"],[4,"ngIf"],[3,"title","innerHTML",4,"ngIf"],[1,"datatable-checkbox"],["type","checkbox",3,"checked","click"],["class","datatable-tree-button",3,"disabled","click",4,"ngIf"],[1,"datatable-tree-button",3,"disabled","click"],["class","icon datatable-icon-collapse",4,"ngIf"],["class","icon datatable-icon-up",4,"ngIf"],["class","icon datatable-icon-down",4,"ngIf"],[1,"icon","datatable-icon-collapse"],[1,"icon","datatable-icon-up"],[1,"icon","datatable-icon-down"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"title","innerHTML"],["cellTemplate",""]],template:function(ae,We){1&ae&&(r.TgZ(0,"div",0),r.YNc(1,wr,2,1,"label",1),r.YNc(2,Ln,3,2,"ng-container",2),r.YNc(3,rr,1,2,"span",3),r.YNc(4,Fi,2,2,null,2),r.qZA()),2&ae&&(r.Udp("margin-left",We.calcLeftMargin(We.column,We.row),"px"),r.xp6(1),r.Q6J("ngIf",We.column.checkboxable&&(!We.displayCheck||We.displayCheck(We.row,We.column,We.value))),r.xp6(1),r.Q6J("ngIf",We.column.isTreeColumn),r.xp6(1),r.Q6J("ngIf",!We.column.cellTemplate),r.xp6(1),r.Q6J("ngIf",We.column.cellTemplate))},dependencies:[a.O5,a.tP],encapsulation:2,changeDetection:0}),_t})();function ml(_t,On,ae){const We=ae(On,_t);return We>-1?_t.splice(We,1):_t.push(On),_t}let Qo=(()=>{class _t{constructor(){this.activate=new r.vpe,this.select=new r.vpe}selectRow(ae,We,on){if(!this.selectEnabled)return;const yn=this.selectionType===nr.checkbox,Ui=this.selectionType===nr.multiClick;let eo=[];eo=this.selectionType===nr.multi||yn||Ui?ae.shiftKey?function ma(_t,On,ae,We,on){const yn=ae<We;for(let Ei=0;Ei<On.length;Ei++){let hs={start:0,end:0};hs=yn?{start:ae,end:We}:{start:We,end:ae+1},(yn&&Ei<=We&&Ei>=ae||!yn&&Ei>=We&&Ei<=ae)&&Ei>=hs.start&&Ei<=hs.end&&_t.push(On[Ei])}return _t}([],this.rows,We,this.prevIndex,this.getRowSelectedIdx.bind(this)):ml(ae.ctrlKey||ae.metaKey||Ui||yn?[...this.selected]:[],on,this.getRowSelectedIdx.bind(this)):ml([],on,this.getRowSelectedIdx.bind(this)),"function"==typeof this.selectCheck&&(eo=eo.filter(this.selectCheck.bind(this))),this.selected.splice(0,this.selected.length),this.selected.push(...eo),this.prevIndex=We,this.select.emit({selected:eo})}onActivate(ae,We){const{type:on,event:yn,row:Ei}=ae,Ui=this.selectionType===nr.checkbox;!Ui&&("click"===on||"dblclick"===on)||Ui&&"checkbox"===on?this.selectRow(yn,We,Ei):"keydown"===on&&(yn.keyCode===Fo.return?this.selectRow(yn,We,Ei):this.onKeyboardFocus(ae)),this.activate.emit(ae)}onKeyboardFocus(ae){const{keyCode:We}=ae.event;if(We===Fo.up||We===Fo.down||We===Fo.right||We===Fo.left){const yn=this.selectionType===nr.cell;ae.cellElement&&yn?yn&&this.focusCell(ae.cellElement,ae.rowElement,We,ae.cellIndex):this.focusRow(ae.rowElement,We)}}focusRow(ae,We){const on=this.getPrevNextRow(ae,We);on&&on.focus()}getPrevNextRow(ae,We){const on=ae.parentElement;if(on){let yn;if(We===Fo.up?yn=on.previousElementSibling:We===Fo.down&&(yn=on.nextElementSibling),yn&&yn.children.length)return yn.children[0]}}focusCell(ae,We,on,yn){let Ei;if(on===Fo.left)Ei=ae.previousElementSibling;else if(on===Fo.right)Ei=ae.nextElementSibling;else if(on===Fo.up||on===Fo.down){const Ui=this.getPrevNextRow(We,on);if(Ui){const eo=Ui.getElementsByClassName("datatable-body-cell");eo.length&&(Ei=eo[yn])}}Ei&&Ei.focus()}getRowSelected(ae){return this.getRowSelectedIdx(ae,this.selected)>-1}getRowSelectedIdx(ae,We){if(!We||!We.length)return-1;const on=this.rowIdentity(ae);return We.findIndex(yn=>this.rowIdentity(yn)===on)}}return _t.\u0275fac=function(ae){return new(ae||_t)},_t.\u0275cmp=r.Xpm({type:_t,selectors:[["datatable-selection"]],inputs:{rows:"rows",selected:"selected",selectEnabled:"selectEnabled",selectionType:"selectionType",rowIdentity:"rowIdentity",selectCheck:"selectCheck"},outputs:{activate:"activate",select:"select"},ngContentSelectors:E,decls:1,vars:0,template:function(ae,We){1&ae&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),_t})();function Go(_t){const On=_t.filter(ae=>!!ae);return!On.length||On.some(ae=>"number"!=typeof ae)?null:On.reduce((ae,We)=>ae+We)}function ys(_t){return null}let rs=(()=>{class _t{constructor(){this.summaryRow={}}ngOnChanges(){!this.columns||!this.rows||(this.updateInternalColumns(),this.updateValues())}updateInternalColumns(){this._internalColumns=this.columns.map(ae=>Object.assign(Object.assign({},ae),{cellTemplate:ae.summaryTemplate}))}updateValues(){this.summaryRow={},this.columns.filter(ae=>!ae.summaryTemplate).forEach(ae=>{const We=this.rows.map(yn=>yn[ae.prop]),on=this.getSummaryFunction(ae);this.summaryRow[ae.prop]=ae.pipe?ae.pipe.transform(on(We)):on(We)})}getSummaryFunction(ae){return void 0===ae.summaryFunc?Go:null===ae.summaryFunc?ys:ae.summaryFunc}}return _t.\u0275fac=function(ae){return new(ae||_t)},_t.\u0275cmp=r.Xpm({type:_t,selectors:[["datatable-summary-row"]],hostAttrs:[1,"datatable-summary-row"],inputs:{rows:"rows",columns:"columns",rowHeight:"rowHeight",offsetX:"offsetX",innerWidth:"innerWidth"},features:[r.TTD],decls:1,vars:1,consts:[["tabindex","-1",3,"innerWidth","offsetX","columns","rowHeight","row","rowIndex",4,"ngIf"],["tabindex","-1",3,"innerWidth","offsetX","columns","rowHeight","row","rowIndex"]],template:function(ae,We){1&ae&&r.YNc(0,so,1,6,"datatable-body-row",0),2&ae&&r.Q6J("ngIf",We.summaryRow&&We._internalColumns)},dependencies:[a.O5,Cs],encapsulation:2}),_t})(),Lo=(()=>{class _t{static forRoot(ae){return{ngModule:_t,providers:[{provide:"configuration",useValue:ae}]}}}return _t.\u0275fac=function(ae){return new(ae||_t)},_t.\u0275mod=r.oAB({type:_t}),_t.\u0275inj=r.cJS({providers:[Vo,Xr,Ni],imports:[a.ez]}),_t})();typeof document<"u"&&!document.elementsFromPoint&&(document.elementsFromPoint=function qi(_t,On){const ae=[],We=[];let on,yn,Ei;for(;(on=document.elementFromPoint(_t,On))&&-1===ae.indexOf(on)&&null!=on;)ae.push(on),We.push({value:on.style.getPropertyValue("pointer-events"),priority:on.style.getPropertyPriority("pointer-events")}),on.style.setProperty("pointer-events","none","important");for(yn=We.length;Ei=We[--yn];)ae[yn].style.setProperty("pointer-events",Ei.value?Ei.value:"",Ei.priority);return ae})},67506:y=>{"use strict";function b(a,u,c){a instanceof RegExp&&(a=o(a,c)),u instanceof RegExp&&(u=o(u,c));var e=r(a,u,c);return e&&{start:e[0],end:e[1],pre:c.slice(0,e[0]),body:c.slice(e[0]+a.length,e[1]),post:c.slice(e[1]+u.length)}}function o(a,u){var c=u.match(a);return c?c[0]:null}function r(a,u,c){var e,f,h,E,T,D=c.indexOf(a),A=c.indexOf(u,D+1),$=D;if(D>=0&&A>0){if(a===u)return[D,A];for(e=[],h=c.length;$>=0&&!T;)$==D?(e.push($),D=c.indexOf(a,$+1)):1==e.length?T=[e.pop(),A]:((f=e.pop())<h&&(h=f,E=A),A=c.indexOf(u,$+1)),$=D<A&&D>=0?D:A;e.length&&(T=[h,E])}return T}y.exports=b,b.range=r},96434:(y,b)=>{"use strict";b.byteLength=function h(Q){var U=f(Q),L=U[1];return 3*(U[0]+L)/4-L},b.toByteArray=function T(Q){var U,ie,q=f(Q),L=q[0],J=q[1],pe=new a(function E(Q,U,q){return 3*(U+q)/4-q}(0,L,J)),j=0,ue=J>0?L-4:L;for(ie=0;ie<ue;ie+=4)U=r[Q.charCodeAt(ie)]<<18|r[Q.charCodeAt(ie+1)]<<12|r[Q.charCodeAt(ie+2)]<<6|r[Q.charCodeAt(ie+3)],pe[j++]=U>>16&255,pe[j++]=U>>8&255,pe[j++]=255&U;return 2===J&&(U=r[Q.charCodeAt(ie)]<<2|r[Q.charCodeAt(ie+1)]>>4,pe[j++]=255&U),1===J&&(U=r[Q.charCodeAt(ie)]<<10|r[Q.charCodeAt(ie+1)]<<4|r[Q.charCodeAt(ie+2)]>>2,pe[j++]=U>>8&255,pe[j++]=255&U),pe},b.fromByteArray=function $(Q){for(var U,q=Q.length,L=q%3,J=[],j=0,ue=q-L;j<ue;j+=16383)J.push(A(Q,j,j+16383>ue?ue:j+16383));return 1===L?J.push(o[(U=Q[q-1])>>2]+o[U<<4&63]+"=="):2===L&&J.push(o[(U=(Q[q-2]<<8)+Q[q-1])>>10]+o[U>>4&63]+o[U<<2&63]+"="),J.join("")};for(var o=[],r=[],a=typeof Uint8Array<"u"?Uint8Array:Array,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=0,e=u.length;c<e;++c)o[c]=u[c],r[u.charCodeAt(c)]=c;function f(Q){var U=Q.length;if(U%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var q=Q.indexOf("=");return-1===q&&(q=U),[q,q===U?0:4-q%4]}function D(Q){return o[Q>>18&63]+o[Q>>12&63]+o[Q>>6&63]+o[63&Q]}function A(Q,U,q){for(var J=[],pe=U;pe<q;pe+=3)J.push(D((Q[pe]<<16&16711680)+(Q[pe+1]<<8&65280)+(255&Q[pe+2])));return J.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},33512:(y,b,o)=>{var r=o(2665),a=o(67506);y.exports=function $(j){return j?("{}"===j.substr(0,2)&&(j="\\{\\}"+j.substr(2)),pe(function T(j){return j.split("\\\\").join(u).split("\\{").join(c).split("\\}").join(e).split("\\,").join(f).split("\\.").join(h)}(j),!0).map(D)):[]};var u="\0SLASH"+Math.random()+"\0",c="\0OPEN"+Math.random()+"\0",e="\0CLOSE"+Math.random()+"\0",f="\0COMMA"+Math.random()+"\0",h="\0PERIOD"+Math.random()+"\0";function E(j){return parseInt(j,10)==j?parseInt(j,10):j.charCodeAt(0)}function D(j){return j.split(u).join("\\").split(c).join("{").split(e).join("}").split(f).join(",").split(h).join(".")}function A(j){if(!j)return[""];var ue=[],ie=a("{","}",j);if(!ie)return j.split(",");var Oe=ie.body,Ue=ie.post,Me=ie.pre.split(",");Me[Me.length-1]+="{"+Oe+"}";var yt=A(Ue);return Ue.length&&(Me[Me.length-1]+=yt.shift(),Me.push.apply(Me,yt)),ue.push.apply(ue,Me),ue}function U(j){return"{"+j+"}"}function q(j){return/^-?0\d/.test(j)}function L(j,ue){return j<=ue}function J(j,ue){return j>=ue}function pe(j,ue){var ie=[],me=a("{","}",j);if(!me||/\$$/.test(me.pre))return[j];var et,Oe=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(me.body),Ue=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(me.body),Me=Oe||Ue,yt=me.body.indexOf(",")>=0;if(!Me&&!yt)return me.post.match(/,.*\}/)?pe(j=me.pre+"{"+me.body+e+me.post):[j];if(Me)et=me.body.split(/\.\./);else if(1===(et=A(me.body)).length&&1===(et=pe(et[0],!1).map(U)).length)return(Et=me.post.length?pe(me.post,!1):[""]).map(function(wr){return me.pre+et[0]+wr});var ze,tt=me.pre,Et=me.post.length?pe(me.post,!1):[""];if(Me){var bt=E(et[0]),Ct=E(et[1]),Qt=Math.max(et[0].length,et[1].length),ht=3==et.length?Math.abs(E(et[2])):1,en=L;Ct<bt&&(ht*=-1,en=J);var bn=et.some(q);ze=[];for(var Dn=bt;en(Dn,Ct);Dn+=ht){var Rt;if(Ue)"\\"===(Rt=String.fromCharCode(Dn))&&(Rt="");else if(Rt=String(Dn),bn){var Xt=Qt-Rt.length;if(Xt>0){var un=new Array(Xt+1).join("0");Rt=Dn<0?"-"+un+Rt.slice(1):un+Rt}}ze.push(Rt)}}else ze=r(et,function(Ir){return pe(Ir,!1)});for(var _n=0;_n<ze.length;_n++)for(var kn=0;kn<Et.length;kn++){var ri=tt+ze[_n]+Et[kn];(!ue||Me||ri)&&ie.push(ri)}return ie}},19568:(y,b,o)=>{"use strict";var r=o(18540),a=o(60044),u=a(r("String.prototype.indexOf"));y.exports=function(e,f){var h=r(e,!!f);return"function"==typeof h&&u(e,".prototype.")>-1?a(h):h}},60044:(y,b,o)=>{"use strict";var r=o(75396),a=o(18540),u=o(45364),c=o(83600),e=a("%Function.prototype.apply%"),f=a("%Function.prototype.call%"),h=a("%Reflect.apply%",!0)||r.call(f,e),E=o(14472),T=a("%Math.max%");y.exports=function($){if("function"!=typeof $)throw new c("a function is required");var Q=h(r,f,arguments);return u(Q,1+T(0,$.length-(arguments.length-1)),!0)};var D=function(){return h(r,e,arguments)};E?E(y.exports,"apply",{value:D}):y.exports.apply=D},72318:y=>{var b=!!(typeof window<"u"&&window.document&&window.document.createElement);y.exports=b},42085:(y,b,o)=>{"use strict";var r=o(16738),a=o.n(r),u=o(10172);const c={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};u.IQ._date.override("function"==typeof a()?{_id:"moment",formats:function(){return c},parse:function(e,f){return"string"==typeof e&&"string"==typeof f?e=a()(e,f):e instanceof a()||(e=a()(e)),e.isValid()?e.valueOf():null},format:function(e,f){return a()(e).format(f)},add:function(e,f,h){return a()(e).add(f,h).valueOf()},diff:function(e,f,h){return a()(e).diff(a()(f),h)},startOf:function(e,f,h){return e=a()(e),"isoWeek"===f?(h=Math.trunc(Math.min(Math.max(0,h),6)),e.isoWeekday(h).startOf("day").valueOf()):e.startOf(f).valueOf()},endOf:function(e,f){return a()(e).endOf(f).valueOf()}}:{})},2665:y=>{y.exports=function(o,r){for(var a=[],u=0;u<o.length;u++){var c=r(o[u],u);b(c)?a.push.apply(a,c):a.push(c)}return a};var b=Array.isArray||function(o){return"[object Array]"===Object.prototype.toString.call(o)}},96967:(y,b,o)=>{"use strict";var r=o(35311),a={"text/plain":"Text","text/html":"Url",default:"Text"};y.exports=function e(f,h){var E,T,D,A,$,Q,U=!1;h||(h={}),E=h.debug||!1;try{if(D=r(),A=document.createRange(),$=document.getSelection(),(Q=document.createElement("span")).textContent=f,Q.ariaHidden="true",Q.style.all="unset",Q.style.position="fixed",Q.style.top=0,Q.style.clip="rect(0, 0, 0, 0)",Q.style.whiteSpace="pre",Q.style.webkitUserSelect="text",Q.style.MozUserSelect="text",Q.style.msUserSelect="text",Q.style.userSelect="text",Q.addEventListener("copy",function(L){L.stopPropagation(),h.format&&(L.preventDefault(),typeof L.clipboardData>"u"?(E&&console.warn("unable to use e.clipboardData"),E&&console.warn("trying IE specific stuff"),window.clipboardData.clearData(),window.clipboardData.setData(a[h.format]||a.default,f)):(L.clipboardData.clearData(),L.clipboardData.setData(h.format,f))),h.onCopy&&(L.preventDefault(),h.onCopy(L.clipboardData))}),document.body.appendChild(Q),A.selectNodeContents(Q),$.addRange(A),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");U=!0}catch(L){E&&console.error("unable to copy using execCommand: ",L),E&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(h.format||"text",f),h.onCopy&&h.onCopy(window.clipboardData),U=!0}catch(J){E&&console.error("unable to copy using clipboardData: ",J),E&&console.error("falling back to prompt"),T=function c(f){var h=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return f.replace(/#{\s*key\s*}/g,h)}("message"in h?h.message:"Copy to clipboard: #{key}, Enter"),window.prompt(T,f)}}finally{$&&("function"==typeof $.removeRange?$.removeRange(A):$.removeAllRanges()),Q&&document.body.removeChild(Q),D()}return U}},52243:function(y){var b;b=typeof global<"u"?global:this,y.exports=function(b){if(b.CSS&&b.CSS.escape)return b.CSS.escape;var o=function(r){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var e,a=String(r),u=a.length,c=-1,f="",h=a.charCodeAt(0);++c<u;)0!=(e=a.charCodeAt(c))?f+=e>=1&&e<=31||127==e||0==c&&e>=48&&e<=57||1==c&&e>=48&&e<=57&&45==h?"\\"+e.toString(16)+" ":0==c&&1==u&&45==e||!(e>=128||45==e||95==e||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122)?"\\"+a.charAt(c):a.charAt(c):f+="\ufffd";return f};return b.CSS||(b.CSS={}),b.CSS.escape=o,o}(b)},40124:(y,b,o)=>{"use strict";var r=o(14472),a=o(41463),u=o(83600),c=o(81294);y.exports=function(f,h,E){if(!f||"object"!=typeof f&&"function"!=typeof f)throw new u("`obj` must be an object or a function`");if("string"!=typeof h&&"symbol"!=typeof h)throw new u("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new u("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new u("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new u("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new u("`loose`, if provided, must be a boolean");var T=arguments.length>3?arguments[3]:null,D=arguments.length>4?arguments[4]:null,A=arguments.length>5?arguments[5]:null,$=arguments.length>6&&arguments[6],Q=!!c&&c(f,h);if(r)r(f,h,{configurable:null===A&&Q?Q.configurable:!A,enumerable:null===T&&Q?Q.enumerable:!T,value:E,writable:null===D&&Q?Q.writable:!D});else{if(!$&&(T||D||A))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");f[h]=E}}},97057:(y,b,o)=>{"use strict";o.d(b,{qY:()=>$});var r=function(){for(var j=0,ue=0,ie=arguments.length;ue<ie;ue++)j+=arguments[ue].length;var me=Array(j),Oe=0;for(ue=0;ue<ie;ue++)for(var Ue=arguments[ue],Me=0,yt=Ue.length;Me<yt;Me++,Oe++)me[Oe]=Ue[Me];return me},a=function j(ue,ie,me){this.name=ue,this.version=ie,this.os=me,this.type="browser"},u=function j(ue){this.version=ue,this.type="node",this.name="node",this.os=process.platform},c=function j(ue,ie,me,Oe){this.name=ue,this.version=ie,this.os=me,this.bot=Oe,this.type="bot-device"},e=function j(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},f=function j(){this.type="react-native",this.name="react-native",this.version=null,this.os=null},E=/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,T=3,D=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],A=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function $(j){return j?q(j):typeof document>"u"&&typeof navigator<"u"&&"ReactNative"===navigator.product?new f:typeof navigator<"u"?q(navigator.userAgent):function J(){return typeof process<"u"&&process.version?new u(process.version.slice(1)):null}()}function q(j){var ue=function Q(j){return""!==j&&D.reduce(function(ue,ie){var me=ie[0];if(ue)return ue;var Ue=ie[1].exec(j);return!!Ue&&[me,Ue]},!1)}(j);if(!ue)return null;var ie=ue[0],me=ue[1];if("searchbot"===ie)return new e;var Oe=me[1]&&me[1].split(/[._]/).slice(0,3);Oe?Oe.length<T&&(Oe=r(Oe,function pe(j){for(var ue=[],ie=0;ie<j;ie++)ue.push("0");return ue}(T-Oe.length))):Oe=[];var Ue=Oe.join("."),Me=function L(j){for(var ue=0,ie=A.length;ue<ie;ue++){var me=A[ue],Oe=me[0];if(me[1].exec(j))return Oe}return null}(j),yt=E.exec(j);return yt&&yt[1]?new c(ie,Ue,Me,yt[1]):new a(ie,Ue,Me)}},23358:function(y){y.exports=function(){"use strict";var o=Object.hasOwnProperty,r=Object.setPrototypeOf,a=Object.isFrozen,u=Object.getPrototypeOf,c=Object.getOwnPropertyDescriptor,e=Object.freeze,f=Object.seal,h=Object.create,E=typeof Reflect<"u"&&Reflect,T=E.apply,D=E.construct;T||(T=function(ft,sn,At){return ft.apply(sn,At)}),e||(e=function(ft){return ft}),f||(f=function(ft){return ft}),D||(D=function(ft,sn){return new(Function.prototype.bind.apply(ft,[null].concat(function b(Tr){if(Array.isArray(Tr)){for(var ft=0,sn=Array(Tr.length);ft<Tr.length;ft++)sn[ft]=Tr[ft];return sn}return Array.from(Tr)}(sn))))});var A=ie(Array.prototype.forEach),$=ie(Array.prototype.pop),Q=ie(Array.prototype.push),U=ie(String.prototype.toLowerCase),q=ie(String.prototype.match),L=ie(String.prototype.replace),J=ie(String.prototype.indexOf),pe=ie(String.prototype.trim),j=ie(RegExp.prototype.test),ue=function me(Tr){return function(){for(var ft=arguments.length,sn=Array(ft),At=0;At<ft;At++)sn[At]=arguments[At];return D(Tr,sn)}}(TypeError);function ie(Tr){return function(ft){for(var sn=arguments.length,At=Array(sn>1?sn-1:0),Ln=1;Ln<sn;Ln++)At[Ln-1]=arguments[Ln];return T(Tr,ft,At)}}function Oe(Tr,ft){r&&r(Tr,null);for(var sn=ft.length;sn--;){var At=ft[sn];if("string"==typeof At){var Ln=U(At);Ln!==At&&(a(ft)||(ft[sn]=Ln),At=Ln)}Tr[At]=!0}return Tr}function Ue(Tr){var ft=h(null),sn=void 0;for(sn in Tr)T(o,Tr,[sn])&&(ft[sn]=Tr[sn]);return ft}function Me(Tr,ft){for(;null!==Tr;){var sn=c(Tr,ft);if(sn){if(sn.get)return ie(sn.get);if("function"==typeof sn.value)return ie(sn.value)}Tr=u(Tr)}return function At(Ln){return console.warn("fallback value for",Ln),null}}var yt=e(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),et=e(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),tt=e(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Et=e(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ze=e(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),bt=e(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ct=e(["#text"]),Qt=e(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),ht=e(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),en=e(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),nn=e(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),bn=f(/\{\{[\s\S]*|[\s\S]*\}\}/gm),Dn=f(/<%[\s\S]*|[\s\S]*%>/gm),Rt=f(/^data-[\-\w.\u00B7-\uFFFF]/),Xt=f(/^aria-[\-\w]+$/),un=f(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_n=f(/^(?:\w+script|data):/i),kn=f(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ri="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Tr){return typeof Tr}:function(Tr){return Tr&&"function"==typeof Symbol&&Tr.constructor===Symbol&&Tr!==Symbol.prototype?"symbol":typeof Tr};function Ir(Tr){if(Array.isArray(Tr)){for(var ft=0,sn=Array(Tr.length);ft<Tr.length;ft++)sn[ft]=Tr[ft];return sn}return Array.from(Tr)}var wr=function(){return typeof window>"u"?null:window},_r=function(ft,sn){if("object"!==(typeof ft>"u"?"undefined":ri(ft))||"function"!=typeof ft.createPolicy)return null;var At=null,Ln="data-tt-policy-suffix";sn.currentScript&&sn.currentScript.hasAttribute(Ln)&&(At=sn.currentScript.getAttribute(Ln));var rr="dompurify"+(At?"#"+At:"");try{return ft.createPolicy(rr,{createHTML:function(Fi){return Fi}})}catch{return console.warn("TrustedTypes policy "+rr+" could not be created."),null}};return function oi(){var Tr=arguments.length>0&&void 0!==arguments[0]?arguments[0]:wr(),ft=function(Br){return oi(Br)};if(ft.version="2.3.3",ft.removed=[],!Tr||!Tr.document||9!==Tr.document.nodeType)return ft.isSupported=!1,ft;var sn=Tr.document,At=Tr.document,Ln=Tr.DocumentFragment,rr=Tr.HTMLTemplateElement,Lr=Tr.Node,Fi=Tr.Element,so=Tr.NodeFilter,Vo=Tr.NamedNodeMap,Xr=void 0===Vo?Tr.NamedNodeMap||Tr.MozNamedAttrMap:Vo,Ni=Tr.Text,ji=Tr.Comment,jr=Tr.DOMParser,Pr=Tr.trustedTypes,Bo=Fi.prototype,cs=Me(Bo,"cloneNode"),ts=Me(Bo,"nextSibling"),io=Me(Bo,"childNodes"),Vi=Me(Bo,"parentNode");if("function"==typeof rr){var Pn=At.createElement("template");Pn.content&&Pn.content.ownerDocument&&(At=Pn.content.ownerDocument)}var Nn=_r(Pr,sn),Ut=Nn&&wi?Nn.createHTML(""):"",Ie=At.implementation,Qe=At.createNodeIterator,Ve=At.createDocumentFragment,tn=At.getElementsByTagName,ot=sn.importNode,xt={};try{xt=Ue(At).documentMode?At.documentMode:{}}catch{}var qt={};ft.isSupported="function"==typeof Vi&&Ie&&typeof Ie.createHTMLDocument<"u"&&9!==xt;var tr=bn,vr=Dn,An=Rt,yr=Xt,Nr=_n,nr=kn,Qn=un,dr=null,Wn=Oe({},[].concat(Ir(yt),Ir(et),Ir(tt),Ir(ze),Ir(Ct))),Wt=null,kt=Oe({},[].concat(Ir(Qt),Ir(ht),Ir(en),Ir(nn))),st=null,zt=null,er=!0,Kr=!0,mi=!1,gi=!1,Jo=!1,os=!1,hr=!1,Ii=!1,ni=!1,Vr=!0,wi=!1,Gi=!0,Wi=!0,Mo=!1,As={},Ls=null,qr=Oe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),$r=null,Cn=Oe({},["audio","video","img","source","image","track"]),mn=null,kr=Oe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qi="http://www.w3.org/1998/Math/MathML",xo="http://www.w3.org/2000/svg",Ss="http://www.w3.org/1999/xhtml",bs=Ss,ko=!1,$s=void 0,ps=["application/xhtml+xml","text/html"],ra=void 0,Do=null,oc=At.createElement("form"),Ql=function(Br){Do&&Do===Br||((!Br||"object"!==(typeof Br>"u"?"undefined":ri(Br)))&&(Br={}),Br=Ue(Br),dr="ALLOWED_TAGS"in Br?Oe({},Br.ALLOWED_TAGS):Wn,Wt="ALLOWED_ATTR"in Br?Oe({},Br.ALLOWED_ATTR):kt,mn="ADD_URI_SAFE_ATTR"in Br?Oe(Ue(kr),Br.ADD_URI_SAFE_ATTR):kr,$r="ADD_DATA_URI_TAGS"in Br?Oe(Ue(Cn),Br.ADD_DATA_URI_TAGS):Cn,Ls="FORBID_CONTENTS"in Br?Oe({},Br.FORBID_CONTENTS):qr,st="FORBID_TAGS"in Br?Oe({},Br.FORBID_TAGS):{},zt="FORBID_ATTR"in Br?Oe({},Br.FORBID_ATTR):{},As="USE_PROFILES"in Br&&Br.USE_PROFILES,er=!1!==Br.ALLOW_ARIA_ATTR,Kr=!1!==Br.ALLOW_DATA_ATTR,mi=Br.ALLOW_UNKNOWN_PROTOCOLS||!1,gi=Br.SAFE_FOR_TEMPLATES||!1,Jo=Br.WHOLE_DOCUMENT||!1,Ii=Br.RETURN_DOM||!1,ni=Br.RETURN_DOM_FRAGMENT||!1,Vr=!1!==Br.RETURN_DOM_IMPORT,wi=Br.RETURN_TRUSTED_TYPE||!1,hr=Br.FORCE_BODY||!1,Gi=!1!==Br.SANITIZE_DOM,Wi=!1!==Br.KEEP_CONTENT,Mo=Br.IN_PLACE||!1,Qn=Br.ALLOWED_URI_REGEXP||Qn,bs=Br.NAMESPACE||Ss,$s=$s=-1===ps.indexOf(Br.PARSER_MEDIA_TYPE)?"text/html":Br.PARSER_MEDIA_TYPE,ra="application/xhtml+xml"===$s?function(qi){return qi}:U,gi&&(Kr=!1),ni&&(Ii=!0),As&&(dr=Oe({},[].concat(Ir(Ct))),Wt=[],!0===As.html&&(Oe(dr,yt),Oe(Wt,Qt)),!0===As.svg&&(Oe(dr,et),Oe(Wt,ht),Oe(Wt,nn)),!0===As.svgFilters&&(Oe(dr,tt),Oe(Wt,ht),Oe(Wt,nn)),!0===As.mathMl&&(Oe(dr,ze),Oe(Wt,en),Oe(Wt,nn))),Br.ADD_TAGS&&(dr===Wn&&(dr=Ue(dr)),Oe(dr,Br.ADD_TAGS)),Br.ADD_ATTR&&(Wt===kt&&(Wt=Ue(Wt)),Oe(Wt,Br.ADD_ATTR)),Br.ADD_URI_SAFE_ATTR&&Oe(mn,Br.ADD_URI_SAFE_ATTR),Br.FORBID_CONTENTS&&(Ls===qr&&(Ls=Ue(Ls)),Oe(Ls,Br.FORBID_CONTENTS)),Wi&&(dr["#text"]=!0),Jo&&Oe(dr,["html","head","body"]),dr.table&&(Oe(dr,["tbody"]),delete st.tbody),e&&e(Br),Do=Br)},tl=Oe({},["mi","mo","mn","ms","mtext"]),Da=Oe({},["foreignobject","desc","title","annotation-xml"]),Ga=Oe({},et);Oe(Ga,tt),Oe(Ga,Et);var Pl=Oe({},ze);Oe(Pl,bt);var Ra=function(Br){Q(ft.removed,{element:Br});try{Br.parentNode.removeChild(Br)}catch{try{Br.outerHTML=Ut}catch{Br.remove()}}},Fo=function(Br,qi){try{Q(ft.removed,{attribute:qi.getAttributeNode(Br),from:qi})}catch{Q(ft.removed,{attribute:null,from:qi})}if(qi.removeAttribute(Br),"is"===Br&&!Wt[Br])if(Ii||ni)try{Ra(qi)}catch{}else try{qi.setAttribute(Br,"")}catch{}},Cs=function(Br){var qi=void 0,_t=void 0;if(hr)Br="<remove></remove>"+Br;else{var On=q(Br,/^[\r\n\t ]+/);_t=On&&On[0]}"application/xhtml+xml"===$s&&(Br='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Br+"</body></html>");var ae=Nn?Nn.createHTML(Br):Br;if(bs===Ss)try{qi=(new jr).parseFromString(ae,$s)}catch{}if(!qi||!qi.documentElement){qi=Ie.createDocument(bs,"template",null);try{qi.documentElement.innerHTML=ko?"":ae}catch{}}var We=qi.body||qi.documentElement;return Br&&_t&&We.insertBefore(At.createTextNode(_t),We.childNodes[0]||null),bs===Ss?tn.call(qi,Jo?"html":"body")[0]:Jo?qi.documentElement:We},Ks=function(Br){return Qe.call(Br.ownerDocument||Br,Br,so.SHOW_ELEMENT|so.SHOW_COMMENT|so.SHOW_TEXT,null,!1)},ml=function(Br){return"object"===(typeof Lr>"u"?"undefined":ri(Lr))?Br instanceof Lr:Br&&"object"===(typeof Br>"u"?"undefined":ri(Br))&&"number"==typeof Br.nodeType&&"string"==typeof Br.nodeName},ma=function(Br,qi,_t){qt[Br]&&A(qt[Br],function(On){On.call(ft,qi,_t,Do)})},Qo=function(Br){var qi=void 0;if(ma("beforeSanitizeElements",Br,null),function(Br){return!(Br instanceof Ni||Br instanceof ji||"string"==typeof Br.nodeName&&"string"==typeof Br.textContent&&"function"==typeof Br.removeChild&&Br.attributes instanceof Xr&&"function"==typeof Br.removeAttribute&&"function"==typeof Br.setAttribute&&"string"==typeof Br.namespaceURI&&"function"==typeof Br.insertBefore)}(Br)||q(Br.nodeName,/[\u0080-\uFFFF]/))return Ra(Br),!0;var _t=ra(Br.nodeName);if(ma("uponSanitizeElement",Br,{tagName:_t,allowedTags:dr}),!ml(Br.firstElementChild)&&(!ml(Br.content)||!ml(Br.content.firstElementChild))&&j(/<[/\w]/g,Br.innerHTML)&&j(/<[/\w]/g,Br.textContent)||"select"===_t&&j(/<template/i,Br.innerHTML))return Ra(Br),!0;if(!dr[_t]||st[_t]){if(Wi&&!Ls[_t]){var On=Vi(Br)||Br.parentNode,ae=io(Br)||Br.childNodes;if(ae&&On)for(var on=ae.length-1;on>=0;--on)On.insertBefore(cs(ae[on],!0),ts(Br))}return Ra(Br),!0}return Br instanceof Fi&&!function(Br){var qi=Vi(Br);(!qi||!qi.tagName)&&(qi={namespaceURI:Ss,tagName:"template"});var _t=U(Br.tagName),On=U(qi.tagName);if(Br.namespaceURI===xo)return qi.namespaceURI===Ss?"svg"===_t:qi.namespaceURI===Qi?"svg"===_t&&("annotation-xml"===On||tl[On]):Boolean(Ga[_t]);if(Br.namespaceURI===Qi)return qi.namespaceURI===Ss?"math"===_t:qi.namespaceURI===xo?"math"===_t&&Da[On]:Boolean(Pl[_t]);if(Br.namespaceURI===Ss){if(qi.namespaceURI===xo&&!Da[On]||qi.namespaceURI===Qi&&!tl[On])return!1;var ae=Oe({},["title","style","font","a","script"]);return!Pl[_t]&&(ae[_t]||!Ga[_t])}return!1}(Br)||("noscript"===_t||"noembed"===_t)&&j(/<\/no(script|embed)/i,Br.innerHTML)?(Ra(Br),!0):(gi&&3===Br.nodeType&&(qi=L(qi=Br.textContent,tr," "),qi=L(qi,vr," "),Br.textContent!==qi&&(Q(ft.removed,{element:Br.cloneNode()}),Br.textContent=qi)),ma("afterSanitizeElements",Br,null),!1)},Go=function(Br,qi,_t){if(Gi&&("id"===qi||"name"===qi)&&(_t in At||_t in oc))return!1;if((!Kr||zt[qi]||!j(An,qi))&&(!er||!j(yr,qi))){if(!Wt[qi]||zt[qi])return!1;if(!mn[qi]&&!j(Qn,L(_t,nr,""))&&("src"!==qi&&"xlink:href"!==qi&&"href"!==qi||"script"===Br||0!==J(_t,"data:")||!$r[Br])&&(!mi||j(Nr,L(_t,nr,"")))&&_t)return!1}return!0},ys=function(Br){var qi=void 0,_t=void 0,On=void 0,ae=void 0;ma("beforeSanitizeAttributes",Br,null);var We=Br.attributes;if(We){var on={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Wt};for(ae=We.length;ae--;){var Ei=(qi=We[ae]).name,Ui=qi.namespaceURI;if(_t=pe(qi.value),On=ra(Ei),on.attrName=On,on.attrValue=_t,on.keepAttr=!0,on.forceKeepAttr=void 0,ma("uponSanitizeAttribute",Br,on),_t=on.attrValue,!on.forceKeepAttr&&(Fo(Ei,Br),on.keepAttr)){if(j(/\/>/i,_t)){Fo(Ei,Br);continue}gi&&(_t=L(_t,tr," "),_t=L(_t,vr," "));var eo=ra(Br.nodeName);if(Go(eo,On,_t))try{Ui?Br.setAttributeNS(Ui,Ei,_t):Br.setAttribute(Ei,_t),$(ft.removed)}catch{}}}ma("afterSanitizeAttributes",Br,null)}},rs=function Lo(Br){var qi=void 0,_t=Ks(Br);for(ma("beforeSanitizeShadowDOM",Br,null);qi=_t.nextNode();)ma("uponSanitizeShadowNode",qi,null),!Qo(qi)&&(qi.content instanceof Ln&&Lo(qi.content),ys(qi));ma("afterSanitizeShadowDOM",Br,null)};return ft.sanitize=function(Lo,Br){var qi=void 0,_t=void 0,On=void 0,ae=void 0,We=void 0;if((ko=!Lo)&&(Lo="\x3c!--\x3e"),"string"!=typeof Lo&&!ml(Lo)){if("function"!=typeof Lo.toString)throw ue("toString is not a function");if("string"!=typeof(Lo=Lo.toString()))throw ue("dirty is not a string, aborting")}if(!ft.isSupported){if("object"===ri(Tr.toStaticHTML)||"function"==typeof Tr.toStaticHTML){if("string"==typeof Lo)return Tr.toStaticHTML(Lo);if(ml(Lo))return Tr.toStaticHTML(Lo.outerHTML)}return Lo}if(os||Ql(Br),ft.removed=[],"string"==typeof Lo&&(Mo=!1),!Mo)if(Lo instanceof Lr)1===(_t=(qi=Cs("\x3c!----\x3e")).ownerDocument.importNode(Lo,!0)).nodeType&&"BODY"===_t.nodeName||"HTML"===_t.nodeName?qi=_t:qi.appendChild(_t);else{if(!Ii&&!gi&&!Jo&&-1===Lo.indexOf("<"))return Nn&&wi?Nn.createHTML(Lo):Lo;if(!(qi=Cs(Lo)))return Ii?null:Ut}qi&&hr&&Ra(qi.firstChild);for(var on=Ks(Mo?Lo:qi);On=on.nextNode();)3===On.nodeType&&On===ae||Qo(On)||(On.content instanceof Ln&&rs(On.content),ys(On),ae=On);if(ae=null,Mo)return Lo;if(Ii){if(ni)for(We=Ve.call(qi.ownerDocument);qi.firstChild;)We.appendChild(qi.firstChild);else We=qi;return Vr&&(We=ot.call(sn,We,!0)),We}var yn=Jo?qi.outerHTML:qi.innerHTML;return gi&&(yn=L(yn,tr," "),yn=L(yn,vr," ")),Nn&&wi?Nn.createHTML(yn):yn},ft.setConfig=function(Lo){Ql(Lo),os=!0},ft.clearConfig=function(){Do=null,os=!1},ft.isValidAttribute=function(Lo,Br,qi){Do||Ql({});var _t=ra(Lo),On=ra(Br);return Go(_t,On,qi)},ft.addHook=function(Lo,Br){"function"==typeof Br&&(qt[Lo]=qt[Lo]||[],Q(qt[Lo],Br))},ft.removeHook=function(Lo){qt[Lo]&&$(qt[Lo])},ft.removeHooks=function(Lo){qt[Lo]&&(qt[Lo]=[])},ft.removeAllHooks=function(){qt={}},ft}()}()},32582:y=>{"use strict";class b{constructor(a,u){this.low=a,this.high=u,this.length=1+u-a}overlaps(a){return!(this.high<a.low||this.low>a.high)}touches(a){return!(this.high+1<a.low||this.low-1>a.high)}add(a){return new b(Math.min(this.low,a.low),Math.max(this.high,a.high))}subtract(a){return a.low<=this.low&&a.high>=this.high?[]:a.low>this.low&&a.high<this.high?[new b(this.low,a.low-1),new b(a.high+1,this.high)]:a.low<=this.low?[new b(a.high+1,this.high)]:[new b(this.low,a.low-1)]}toString(){return this.low==this.high?this.low.toString():this.low+"-"+this.high}}class o{constructor(a,u){this.ranges=[],this.length=0,null!=a&&this.add(a,u)}_update_length(){this.length=this.ranges.reduce((a,u)=>a+u.length,0)}add(a,u){var c=e=>{for(var f=0;f<this.ranges.length&&!e.touches(this.ranges[f]);)f++;for(var h=this.ranges.slice(0,f);f<this.ranges.length&&e.touches(this.ranges[f]);)e=e.add(this.ranges[f]),f++;h.push(e),this.ranges=h.concat(this.ranges.slice(f)),this._update_length()};return a instanceof o?a.ranges.forEach(c):(null==u&&(u=a),c(new b(a,u))),this}subtract(a,u){var c=e=>{for(var f=0;f<this.ranges.length&&!e.overlaps(this.ranges[f]);)f++;for(var h=this.ranges.slice(0,f);f<this.ranges.length&&e.overlaps(this.ranges[f]);)h=h.concat(this.ranges[f].subtract(e)),f++;this.ranges=h.concat(this.ranges.slice(f)),this._update_length()};return a instanceof o?a.ranges.forEach(c):(null==u&&(u=a),c(new b(a,u))),this}intersect(a,u){var c=[],e=f=>{for(var h=0;h<this.ranges.length&&!f.overlaps(this.ranges[h]);)h++;for(;h<this.ranges.length&&f.overlaps(this.ranges[h]);){var E=Math.max(this.ranges[h].low,f.low),T=Math.min(this.ranges[h].high,f.high);c.push(new b(E,T)),h++}};return a instanceof o?a.ranges.forEach(e):(null==u&&(u=a),e(new b(a,u))),this.ranges=c,this._update_length(),this}index(a){for(var u=0;u<this.ranges.length&&this.ranges[u].length<=a;)a-=this.ranges[u].length,u++;return this.ranges[u].low+a}toString(){return"[ "+this.ranges.join(", ")+" ]"}clone(){return new o(this)}numbers(){return this.ranges.reduce((a,u)=>{for(var c=u.low;c<=u.high;)a.push(c),c++;return a},[])}subranges(){return this.ranges.map(a=>({low:a.low,high:a.high,length:1+a.high-a.low}))}}y.exports=o},14472:(y,b,o)=>{"use strict";var a=o(18540)("%Object.defineProperty%",!0)||!1;if(a)try{a({},"a",{value:1})}catch{a=!1}y.exports=a},41299:y=>{"use strict";y.exports=EvalError},85618:y=>{"use strict";y.exports=Error},97875:y=>{"use strict";y.exports=RangeError},9530:y=>{"use strict";y.exports=ReferenceError},41463:y=>{"use strict";y.exports=SyntaxError},83600:y=>{"use strict";y.exports=TypeError},15189:y=>{"use strict";y.exports=URIError},11926:(y,b,o)=>{"use strict";var r=o(88430),a=u(Error);function u(c){return e.displayName=c.displayName||c.name,e;function e(f){return f&&(f=r.apply(null,arguments)),new c(f)}}y.exports=a,a.eval=u(EvalError),a.range=u(RangeError),a.reference=u(ReferenceError),a.syntax=u(SyntaxError),a.type=u(TypeError),a.uri=u(URIError),a.create=u},49457:function(y,b){var o,a;void 0!==(a="function"==typeof(o=function(){"use strict";function c(T,D,A){var $=new XMLHttpRequest;$.open("GET",T),$.responseType="blob",$.onload=function(){E($.response,D,A)},$.onerror=function(){console.error("could not download file")},$.send()}function e(T){var D=new XMLHttpRequest;D.open("HEAD",T,!1);try{D.send()}catch{}return 200<=D.status&&299>=D.status}function f(T){try{T.dispatchEvent(new MouseEvent("click"))}catch{var D=document.createEvent("MouseEvents");D.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),T.dispatchEvent(D)}}var h="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,E=h.saveAs||("object"!=typeof window||window!==h?function(){}:"download"in HTMLAnchorElement.prototype?function(T,D,A){var $=h.URL||h.webkitURL,Q=document.createElement("a");Q.download=D=D||T.name||"download",Q.rel="noopener","string"==typeof T?(Q.href=T,Q.origin===location.origin?f(Q):e(Q.href)?c(T,D,A):f(Q,Q.target="_blank")):(Q.href=$.createObjectURL(T),setTimeout(function(){$.revokeObjectURL(Q.href)},4e4),setTimeout(function(){f(Q)},0))}:"msSaveOrOpenBlob"in navigator?function(T,D,A){if(D=D||T.name||"download","string"!=typeof T)navigator.msSaveOrOpenBlob(function u(T,D){return typeof D>"u"?D={autoBom:!1}:"object"!=typeof D&&(console.warn("Deprecated: Expected third argument to be a object"),D={autoBom:!D}),D.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(T.type)?new Blob(["\ufeff",T],{type:T.type}):T}(T,A),D);else if(e(T))c(T,D,A);else{var $=document.createElement("a");$.href=T,$.target="_blank",setTimeout(function(){f($)})}}:function(T,D,A,$){if(($=$||open("","_blank"))&&($.document.title=$.document.body.innerText="downloading..."),"string"==typeof T)return c(T,D,A);var Q="application/octet-stream"===T.type,U=/constructor/i.test(h.HTMLElement)||h.safari,q=/CriOS\/[\d]+/.test(navigator.userAgent);if((q||Q&&U)&&"object"==typeof FileReader){var L=new FileReader;L.onloadend=function(){var j=L.result;j=q?j:j.replace(/^data:[^;]*;/,"data:attachment/file;"),$?$.location.href=j:location=j,$=null},L.readAsDataURL(T)}else{var J=h.URL||h.webkitURL,pe=J.createObjectURL(T);$?$.location=pe:location.href=pe,$=null,setTimeout(function(){J.revokeObjectURL(pe)},4e4)}});h.saveAs=E.saveAs=E,y.exports=E})?o.apply(b,[]):o)&&(y.exports=a)},88430:y=>{!function(){var b;function a(u){for(var T,A,$,U,c=1,e=[].slice.call(arguments),f=0,h=u.length,E="",D=!1,Q=!1,q=function(){return e[c++]},L=function(){for(var J="";/\d/.test(u[f]);)J+=u[f++],T=u[f];return J.length>0?parseInt(J):null};f<h;++f)if(T=u[f],D)switch(D=!1,"."==T?(Q=!1,T=u[++f]):"0"==T&&"."==u[f+1]?(Q=!0,f+=2,T=u[f]):Q=!0,U=L(),T){case"b":E+=parseInt(q(),10).toString(2);break;case"c":E+="string"==typeof(A=q())||A instanceof String?A:String.fromCharCode(parseInt(A,10));break;case"d":E+=parseInt(q(),10);break;case"f":$=String(parseFloat(q()).toFixed(U||6)),E+=Q?$:$.replace(/^0/,"");break;case"j":E+=JSON.stringify(q());break;case"o":E+="0"+parseInt(q(),10).toString(8);break;case"s":E+=q();break;case"x":E+="0x"+parseInt(q(),10).toString(16);break;case"X":E+="0x"+parseInt(q(),10).toString(16).toUpperCase();break;default:E+=T}else"%"===T?D=!0:E+=T;return E}(b=y.exports=a).format=a,b.vsprintf=function r(u,c){return a.apply(null,[u].concat(c))},typeof console<"u"&&"function"==typeof console.log&&(b.printf=function o(){console.log(a.apply(null,arguments))})}()},31609:y=>{"use strict";var b="Function.prototype.bind called on incompatible ",o=Object.prototype.toString,r=Math.max,a="[object Function]",u=function(h,E){for(var T=[],D=0;D<h.length;D+=1)T[D]=h[D];for(var A=0;A<E.length;A+=1)T[A+h.length]=E[A];return T},c=function(h,E){for(var T=[],D=E||0,A=0;D<h.length;D+=1,A+=1)T[A]=h[D];return T},e=function(f,h){for(var E="",T=0;T<f.length;T+=1)E+=f[T],T+1<f.length&&(E+=h);return E};y.exports=function(h){var E=this;if("function"!=typeof E||o.apply(E)!==a)throw new TypeError(b+E);for(var D,T=c(arguments,1),$=r(0,E.length-T.length),Q=[],U=0;U<$;U++)Q[U]="$"+U;if(D=Function("binder","return function ("+e(Q,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof D){var L=E.apply(this,u(T,arguments));return Object(L)===L?L:this}return E.apply(h,u(T,arguments))}),E.prototype){var q=function(){};q.prototype=E.prototype,D.prototype=new q,q.prototype=null}return D}},75396:(y,b,o)=>{"use strict";var r=o(31609);y.exports=Function.prototype.bind||r},18540:(y,b,o)=>{"use strict";var r,a=o(85618),u=o(41299),c=o(97875),e=o(9530),f=o(41463),h=o(83600),E=o(15189),T=Function,D=function(ht){try{return T('"use strict"; return ('+ht+").constructor;")()}catch{}},A=Object.getOwnPropertyDescriptor;if(A)try{A({},"")}catch{A=null}var $=function(){throw new h},Q=A?function(){try{return $}catch{try{return A(arguments,"callee").get}catch{return $}}}():$,U=o(59326)(),q=o(41606)(),L=Object.getPrototypeOf||(q?function(ht){return ht.__proto__}:null),J={},pe=typeof Uint8Array>"u"||!L?r:L(Uint8Array),j={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":U&&L?L([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":J,"%AsyncGenerator%":J,"%AsyncGeneratorFunction%":J,"%AsyncIteratorPrototype%":J,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":u,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":T,"%GeneratorFunction%":J,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":U&&L?L(L([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!U||!L?r:L((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":c,"%ReferenceError%":e,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!U||!L?r:L((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":U&&L?L(""[Symbol.iterator]()):r,"%Symbol%":U?Symbol:r,"%SyntaxError%":f,"%ThrowTypeError%":Q,"%TypedArray%":pe,"%TypeError%":h,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":E,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(L)try{null.error}catch(ht){var ue=L(L(ht));j["%Error.prototype%"]=ue}var ie=function ht(en){var nn;if("%AsyncFunction%"===en)nn=D("async function () {}");else if("%GeneratorFunction%"===en)nn=D("function* () {}");else if("%AsyncGeneratorFunction%"===en)nn=D("async function* () {}");else if("%AsyncGenerator%"===en){var bn=ht("%AsyncGeneratorFunction%");bn&&(nn=bn.prototype)}else if("%AsyncIteratorPrototype%"===en){var Dn=ht("%AsyncGenerator%");Dn&&L&&(nn=L(Dn.prototype))}return j[en]=nn,nn},me={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Oe=o(75396),Ue=o(40906),Me=Oe.call(Function.call,Array.prototype.concat),yt=Oe.call(Function.apply,Array.prototype.splice),et=Oe.call(Function.call,String.prototype.replace),tt=Oe.call(Function.call,String.prototype.slice),Et=Oe.call(Function.call,RegExp.prototype.exec),ze=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,bt=/\\(\\)?/g,Ct=function(en){var nn=tt(en,0,1),bn=tt(en,-1);if("%"===nn&&"%"!==bn)throw new f("invalid intrinsic syntax, expected closing `%`");if("%"===bn&&"%"!==nn)throw new f("invalid intrinsic syntax, expected opening `%`");var Dn=[];return et(en,ze,function(Rt,Xt,un,_n){Dn[Dn.length]=un?et(_n,bt,"$1"):Xt||Rt}),Dn},Qt=function(en,nn){var Dn,bn=en;if(Ue(me,bn)&&(bn="%"+(Dn=me[bn])[0]+"%"),Ue(j,bn)){var Rt=j[bn];if(Rt===J&&(Rt=ie(bn)),typeof Rt>"u"&&!nn)throw new h("intrinsic "+en+" exists, but is not available. Please file an issue!");return{alias:Dn,name:bn,value:Rt}}throw new f("intrinsic "+en+" does not exist!")};y.exports=function(en,nn){if("string"!=typeof en||0===en.length)throw new h("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof nn)throw new h('"allowMissing" argument must be a boolean');if(null===Et(/^%?[^%]*%?$/,en))throw new f("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var bn=Ct(en),Dn=bn.length>0?bn[0]:"",Rt=Qt("%"+Dn+"%",nn),Xt=Rt.name,un=Rt.value,_n=!1,kn=Rt.alias;kn&&(Dn=kn[0],yt(bn,Me([0,1],kn)));for(var ri=1,Ir=!0;ri<bn.length;ri+=1){var wr=bn[ri],_r=tt(wr,0,1),oi=tt(wr,-1);if(('"'===_r||"'"===_r||"`"===_r||'"'===oi||"'"===oi||"`"===oi)&&_r!==oi)throw new f("property names with quotes must have matching quotes");if(("constructor"===wr||!Ir)&&(_n=!0),Ue(j,Xt="%"+(Dn+="."+wr)+"%"))un=j[Xt];else if(null!=un){if(!(wr in un)){if(!nn)throw new h("base intrinsic for "+en+" exists, but the property is not available.");return}if(A&&ri+1>=bn.length){var Ri=A(un,wr);un=(Ir=!!Ri)&&"get"in Ri&&!("originalValue"in Ri.get)?Ri.get:un[wr]}else Ir=Ue(un,wr),un=un[wr];Ir&&!_n&&(j[Xt]=un)}}return un}},81294:(y,b,o)=>{"use strict";var a=o(18540)("%Object.getOwnPropertyDescriptor%",!0);if(a)try{a([],"length")}catch{a=null}y.exports=a},45898:(y,b,o)=>{"use strict";var r=o(14472),a=function(){return!!r};a.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch{return!0}},y.exports=a},41606:y=>{"use strict";var b={foo:{}},o=Object;y.exports=function(){return{__proto__:b}.foo===b.foo&&!({__proto__:null}instanceof o)}},59326:(y,b,o)=>{"use strict";var r=typeof Symbol<"u"&&Symbol,a=o(79045);y.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&a()}},79045:y=>{"use strict";y.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var o={},r=Symbol("test"),a=Object(r);if("string"==typeof r||"[object Symbol]"!==Object.prototype.toString.call(r)||"[object Symbol]"!==Object.prototype.toString.call(a))return!1;for(r in o[r]=42,o)return!1;if("function"==typeof Object.keys&&0!==Object.keys(o).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(o).length)return!1;var c=Object.getOwnPropertySymbols(o);if(1!==c.length||c[0]!==r||!Object.prototype.propertyIsEnumerable.call(o,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var e=Object.getOwnPropertyDescriptor(o,r);if(42!==e.value||!0!==e.enumerable)return!1}return!0}},40906:(y,b,o)=>{"use strict";var r=Function.prototype.call,a=Object.prototype.hasOwnProperty,u=o(75396);y.exports=u.call(r,a)},7856:y=>{function b(ke){return ke instanceof Map?ke.clear=ke.delete=ke.set=function(){throw new Error("map is read-only")}:ke instanceof Set&&(ke.add=ke.clear=ke.delete=function(){throw new Error("set is read-only")}),Object.freeze(ke),Object.getOwnPropertyNames(ke).forEach(function(Ie){var Qe=ke[Ie];"object"==typeof Qe&&!Object.isFrozen(Qe)&&b(Qe)}),ke}var o=b;o.default=b;class a{constructor(Ie){void 0===Ie.data&&(Ie.data={}),this.data=Ie.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function u(ke){return ke.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function c(ke,...Ie){const Qe=Object.create(null);for(const Ve in ke)Qe[Ve]=ke[Ve];return Ie.forEach(function(Ve){for(const tn in Ve)Qe[tn]=Ve[tn]}),Qe}const f=ke=>!!ke.kind;class h{constructor(Ie,Qe){this.buffer="",this.classPrefix=Qe.classPrefix,Ie.walk(this)}addText(Ie){this.buffer+=u(Ie)}openNode(Ie){if(!f(Ie))return;let Qe=Ie.kind;Ie.sublanguage||(Qe=`${this.classPrefix}${Qe}`),this.span(Qe)}closeNode(Ie){f(Ie)&&(this.buffer+="</span>")}value(){return this.buffer}span(Ie){this.buffer+=`<span class="${Ie}">`}}class E{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Ie){this.top.children.push(Ie)}openNode(Ie){const Qe={kind:Ie,children:[]};this.add(Qe),this.stack.push(Qe)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Ie){return this.constructor._walk(Ie,this.rootNode)}static _walk(Ie,Qe){return"string"==typeof Qe?Ie.addText(Qe):Qe.children&&(Ie.openNode(Qe),Qe.children.forEach(Ve=>this._walk(Ie,Ve)),Ie.closeNode(Qe)),Ie}static _collapse(Ie){"string"!=typeof Ie&&Ie.children&&(Ie.children.every(Qe=>"string"==typeof Qe)?Ie.children=[Ie.children.join("")]:Ie.children.forEach(Qe=>{E._collapse(Qe)}))}}class T extends E{constructor(Ie){super(),this.options=Ie}addKeyword(Ie,Qe){""!==Ie&&(this.openNode(Qe),this.addText(Ie),this.closeNode())}addText(Ie){""!==Ie&&this.add(Ie)}addSublanguage(Ie,Qe){const Ve=Ie.root;Ve.kind=Qe,Ve.sublanguage=!0,this.add(Ve)}toHTML(){return new h(this,this.options).value()}finalize(){return!0}}function A(ke){return ke?"string"==typeof ke?ke:ke.source:null}const L=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,j="[a-zA-Z]\\w*",ue="[a-zA-Z_]\\w*",ie="\\b\\d+(\\.\\d+)?",me="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Oe="\\b(0b[01]+)",yt={begin:"\\\\[\\s\\S]",relevance:0},et={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[yt]},tt={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[yt]},Et={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},ze=function(ke,Ie,Qe={}){const Ve=c({className:"comment",begin:ke,end:Ie,contains:[]},Qe);return Ve.contains.push(Et),Ve.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),Ve},bt=ze("//","$"),Ct=ze("/\\*","\\*/"),Qt=ze("#","$");var kn=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:j,UNDERSCORE_IDENT_RE:ue,NUMBER_RE:ie,C_NUMBER_RE:me,BINARY_NUMBER_RE:Oe,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(ke={})=>{const Ie=/^#![ ]*\//;return ke.binary&&(ke.begin=function $(...ke){return ke.map(Qe=>A(Qe)).join("")}(Ie,/.*\b/,ke.binary,/\b.*/)),c({className:"meta",begin:Ie,end:/$/,relevance:0,"on:begin":(Qe,Ve)=>{0!==Qe.index&&Ve.ignoreMatch()}},ke)},BACKSLASH_ESCAPE:yt,APOS_STRING_MODE:et,QUOTE_STRING_MODE:tt,PHRASAL_WORDS_MODE:Et,COMMENT:ze,C_LINE_COMMENT_MODE:bt,C_BLOCK_COMMENT_MODE:Ct,HASH_COMMENT_MODE:Qt,NUMBER_MODE:{className:"number",begin:ie,relevance:0},C_NUMBER_MODE:{className:"number",begin:me,relevance:0},BINARY_NUMBER_MODE:{className:"number",begin:Oe,relevance:0},CSS_NUMBER_MODE:{className:"number",begin:ie+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[yt,{begin:/\[/,end:/\]/,relevance:0,contains:[yt]}]}]},TITLE_MODE:{className:"title",begin:j,relevance:0},UNDERSCORE_TITLE_MODE:{className:"title",begin:ue,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+ue,relevance:0},END_SAME_AS_BEGIN:function(ke){return Object.assign(ke,{"on:begin":(Ie,Qe)=>{Qe.data._beginMatch=Ie[1]},"on:end":(Ie,Qe)=>{Qe.data._beginMatch!==Ie[1]&&Qe.ignoreMatch()}})}});function ri(ke,Ie){"."===ke.input[ke.index-1]&&Ie.ignoreMatch()}function Ir(ke,Ie){Ie&&ke.beginKeywords&&(ke.begin="\\b("+ke.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",ke.__beforeBegin=ri,ke.keywords=ke.keywords||ke.beginKeywords,delete ke.beginKeywords,void 0===ke.relevance&&(ke.relevance=0))}function wr(ke,Ie){Array.isArray(ke.illegal)&&(ke.illegal=function Q(...ke){return"("+ke.map(Qe=>A(Qe)).join("|")+")"}(...ke.illegal))}function _r(ke,Ie){if(ke.match){if(ke.begin||ke.end)throw new Error("begin & end are not supported with match");ke.begin=ke.match,delete ke.match}}function oi(ke,Ie){void 0===ke.relevance&&(ke.relevance=1)}const Ri=["of","and","for","in","not","or","if","then","parent","list","value"],Tr="keyword";function ft(ke,Ie,Qe=Tr){const Ve={};return"string"==typeof ke?tn(Qe,ke.split(" ")):Array.isArray(ke)?tn(Qe,ke):Object.keys(ke).forEach(function(ot){Object.assign(Ve,ft(ke[ot],Ie,ot))}),Ve;function tn(ot,xt){Ie&&(xt=xt.map(qt=>qt.toLowerCase())),xt.forEach(function(qt){const tr=qt.split("|");Ve[tr[0]]=[ot,sn(tr[0],tr[1])]})}}function sn(ke,Ie){return Ie?Number(Ie):function At(ke){return Ri.includes(ke.toLowerCase())}(ke)?0:1}function Ln(ke,{}){function Qe(qt,tr){return new RegExp(A(qt),"m"+(ke.case_insensitive?"i":"")+(tr?"g":""))}class Ve{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(tr,vr){vr.position=this.position++,this.matchIndexes[this.matchAt]=vr,this.regexes.push([vr,tr]),this.matchAt+=function U(ke){return new RegExp(ke.toString()+"|").exec("").length-1}(tr)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const tr=this.regexes.map(vr=>vr[1]);this.matcherRe=Qe(function J(ke,Ie="|"){let Qe=0;return ke.map(Ve=>{Qe+=1;const tn=Qe;let ot=A(Ve),xt="";for(;ot.length>0;){const qt=L.exec(ot);if(!qt){xt+=ot;break}xt+=ot.substring(0,qt.index),ot=ot.substring(qt.index+qt[0].length),"\\"===qt[0][0]&&qt[1]?xt+="\\"+String(Number(qt[1])+tn):(xt+=qt[0],"("===qt[0]&&Qe++)}return xt}).map(Ve=>`(${Ve})`).join(Ie)}(tr),!0),this.lastIndex=0}exec(tr){this.matcherRe.lastIndex=this.lastIndex;const vr=this.matcherRe.exec(tr);if(!vr)return null;const An=vr.findIndex((Nr,nr)=>nr>0&&void 0!==Nr),yr=this.matchIndexes[An];return vr.splice(0,An),Object.assign(vr,yr)}}class tn{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(tr){if(this.multiRegexes[tr])return this.multiRegexes[tr];const vr=new Ve;return this.rules.slice(tr).forEach(([An,yr])=>vr.addRule(An,yr)),vr.compile(),this.multiRegexes[tr]=vr,vr}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(tr,vr){this.rules.push([tr,vr]),"begin"===vr.type&&this.count++}exec(tr){const vr=this.getMatcher(this.regexIndex);vr.lastIndex=this.lastIndex;let An=vr.exec(tr);if(this.resumingScanAtSamePosition()&&(!An||An.index!==this.lastIndex)){const yr=this.getMatcher(0);yr.lastIndex=this.lastIndex+1,An=yr.exec(tr)}return An&&(this.regexIndex+=An.position+1,this.regexIndex===this.count&&this.considerAll()),An}}if(ke.compilerExtensions||(ke.compilerExtensions=[]),ke.contains&&ke.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return ke.classNameAliases=c(ke.classNameAliases||{}),function xt(qt,tr){const vr=qt;if(qt.isCompiled)return vr;[_r].forEach(yr=>yr(qt,tr)),ke.compilerExtensions.forEach(yr=>yr(qt,tr)),qt.__beforeBegin=null,[Ir,wr,oi].forEach(yr=>yr(qt,tr)),qt.isCompiled=!0;let An=null;if("object"==typeof qt.keywords&&(An=qt.keywords.$pattern,delete qt.keywords.$pattern),qt.keywords&&(qt.keywords=ft(qt.keywords,ke.case_insensitive)),qt.lexemes&&An)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return An=An||qt.lexemes||/\w+/,vr.keywordPatternRe=Qe(An,!0),tr&&(qt.begin||(qt.begin=/\B|\b/),vr.beginRe=Qe(qt.begin),qt.endSameAsBegin&&(qt.end=qt.begin),!qt.end&&!qt.endsWithParent&&(qt.end=/\B|\b/),qt.end&&(vr.endRe=Qe(qt.end)),vr.terminatorEnd=A(qt.end)||"",qt.endsWithParent&&tr.terminatorEnd&&(vr.terminatorEnd+=(qt.end?"|":"")+tr.terminatorEnd)),qt.illegal&&(vr.illegalRe=Qe(qt.illegal)),qt.contains||(qt.contains=[]),qt.contains=[].concat(...qt.contains.map(function(yr){return function Lr(ke){return ke.variants&&!ke.cachedVariants&&(ke.cachedVariants=ke.variants.map(function(Ie){return c(ke,{variants:null},Ie)})),ke.cachedVariants?ke.cachedVariants:rr(ke)?c(ke,{starts:ke.starts?c(ke.starts):null}):Object.isFrozen(ke)?c(ke):ke}("self"===yr?qt:yr)})),qt.contains.forEach(function(yr){xt(yr,vr)}),qt.starts&&xt(qt.starts,tr),vr.matcher=function ot(qt){const tr=new tn;return qt.contains.forEach(vr=>tr.addRule(vr.begin,{rule:vr,type:"begin"})),qt.terminatorEnd&&tr.addRule(qt.terminatorEnd,{type:"end"}),qt.illegal&&tr.addRule(qt.illegal,{type:"illegal"}),tr}(vr),vr}(ke)}function rr(ke){return!!ke&&(ke.endsWithParent||rr(ke.starts))}function Vo(ke){const Ie={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!ke.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,u(this.code);let Ve={};return this.autoDetect?(Ve=ke.highlightAuto(this.code),this.detectedLanguage=Ve.language):(Ve=ke.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),Ve.value},autoDetect(){return!this.language||function so(ke){return Boolean(ke||""===ke)}(this.autodetect)},ignoreIllegals:()=>!0},render(Ve){return Ve("pre",{},[Ve("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:Ie,VuePlugin:{install(Ve){Ve.component("highlightjs",Ie)}}}}const Xr={"after:highlightElement":({el:ke,result:Ie,text:Qe})=>{const Ve=ji(ke);if(!Ve.length)return;const tn=document.createElement("div");tn.innerHTML=Ie.value,Ie.value=function jr(ke,Ie,Qe){let Ve=0,tn="";const ot=[];function xt(){return ke.length&&Ie.length?ke[0].offset!==Ie[0].offset?ke[0].offset<Ie[0].offset?ke:Ie:"start"===Ie[0].event?ke:Ie:ke.length?ke:Ie}function qt(An){tn+="<"+Ni(An)+[].map.call(An.attributes,function yr(Nr){return" "+Nr.nodeName+'="'+u(Nr.value)+'"'}).join("")+">"}function tr(An){tn+="</"+Ni(An)+">"}function vr(An){("start"===An.event?qt:tr)(An.node)}for(;ke.length||Ie.length;){let An=xt();if(tn+=u(Qe.substring(Ve,An[0].offset)),Ve=An[0].offset,An===ke){ot.reverse().forEach(tr);do{vr(An.splice(0,1)[0]),An=xt()}while(An===ke&&An.length&&An[0].offset===Ve);ot.reverse().forEach(qt)}else"start"===An[0].event?ot.push(An[0].node):ot.pop(),vr(An.splice(0,1)[0])}return tn+u(Qe.substr(Ve))}(Ve,ji(tn),Qe)}};function Ni(ke){return ke.nodeName.toLowerCase()}function ji(ke){const Ie=[];return function Qe(Ve,tn){for(let ot=Ve.firstChild;ot;ot=ot.nextSibling)3===ot.nodeType?tn+=ot.nodeValue.length:1===ot.nodeType&&(Ie.push({event:"start",offset:tn,node:ot}),tn=Qe(ot,tn),Ni(ot).match(/br|hr|img|input/)||Ie.push({event:"stop",offset:tn,node:ot}));return tn}(ke,0),Ie}const Pr={},Bo=ke=>{console.error(ke)},cs=(ke,...Ie)=>{console.log(`WARN: ${ke}`,...Ie)},ts=(ke,Ie)=>{Pr[`${ke}/${Ie}`]||(console.log(`Deprecated as of ${ke}. ${Ie}`),Pr[`${ke}/${Ie}`]=!0)},io=u,Vi=c,Pn=Symbol("nomatch");var Ut=function(ke){const Ie=Object.create(null),Qe=Object.create(null),Ve=[];let tn=!0;const ot=/(^(<[^>]+>|\t|)+|\n)/gm,xt="Could not find the language '{}', did you forget to load/include a language module?",qt={disableAutodetect:!0,name:"Plain text",contains:[]};let tr={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:T};function vr(Cn){return tr.noHighlightRe.test(Cn)}function yr(Cn,mn,kr,Qi){let xo="",Ss="";"object"==typeof mn?(xo=Cn,kr=mn.ignoreIllegals,Ss=mn.language,Qi=void 0):(ts("10.7.0","highlight(lang, code, ...args) has been deprecated."),ts("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),Ss=Cn,xo=mn);const bs={code:xo,language:Ss};Ls("before:highlight",bs);const ko=bs.result?bs.result:Nr(bs.language,bs.code,kr,Qi);return ko.code=bs.code,Ls("after:highlight",ko),ko}function Nr(Cn,mn,kr,Qi){function xo(Qo,Go){const ys=Da.case_insensitive?Go[0].toLowerCase():Go[0];return Object.prototype.hasOwnProperty.call(Qo.keywords,ys)&&Qo.keywords[ys]}function ko(){null!=Eo.subLanguage?function bs(){if(""===Cs)return;let Qo=null;if("string"==typeof Eo.subLanguage){if(!Ie[Eo.subLanguage])return void Fo.addText(Cs);Qo=Nr(Eo.subLanguage,Cs,!0,Ra[Eo.subLanguage]),Ra[Eo.subLanguage]=Qo.top}else Qo=Qn(Cs,Eo.subLanguage.length?Eo.subLanguage:null);Eo.relevance>0&&(Ks+=Qo.relevance),Fo.addSublanguage(Qo.emitter,Qo.language)}():function Ss(){if(!Eo.keywords)return void Fo.addText(Cs);let Qo=0;Eo.keywordPatternRe.lastIndex=0;let Go=Eo.keywordPatternRe.exec(Cs),ys="";for(;Go;){ys+=Cs.substring(Qo,Go.index);const rs=xo(Eo,Go);if(rs){const[Lo,Br]=rs;Fo.addText(ys),ys="",Ks+=Br,Lo.startsWith("_")?ys+=Go[0]:Fo.addKeyword(Go[0],Da.classNameAliases[Lo]||Lo)}else ys+=Go[0];Qo=Eo.keywordPatternRe.lastIndex,Go=Eo.keywordPatternRe.exec(Cs)}ys+=Cs.substr(Qo),Fo.addText(ys)}(),Cs=""}function $s(Qo){return Qo.className&&Fo.openNode(Da.classNameAliases[Qo.className]||Qo.className),Eo=Object.create(Qo,{parent:{value:Eo}}),Eo}function ps(Qo,Go,ys){let rs=function q(ke,Ie){const Qe=ke&&ke.exec(Ie);return Qe&&0===Qe.index}(Qo.endRe,ys);if(rs){if(Qo["on:end"]){const Lo=new a(Qo);Qo["on:end"](Go,Lo),Lo.isMatchIgnored&&(rs=!1)}if(rs){for(;Qo.endsParent&&Qo.parent;)Qo=Qo.parent;return Qo}}if(Qo.endsWithParent)return ps(Qo.parent,Go,ys)}function Ys(Qo){return 0===Eo.matcher.regexIndex?(Cs+=Qo[0],1):(ma=!0,0)}function Do(Qo){const Go=Qo[0],ys=mn.substr(Qo.index),rs=ps(Eo,Qo,ys);if(!rs)return Pn;const Lo=Eo;Lo.skip?Cs+=Go:(Lo.returnEnd||Lo.excludeEnd||(Cs+=Go),ko(),Lo.excludeEnd&&(Cs=Go));do{Eo.className&&Fo.closeNode(),!Eo.skip&&!Eo.subLanguage&&(Ks+=Eo.relevance),Eo=Eo.parent}while(Eo!==rs.parent);return rs.starts&&(rs.endSameAsBegin&&(rs.starts.endRe=rs.endRe),$s(rs.starts)),Lo.returnEnd?0:Go.length}let Ql={};function tl(Qo,Go){const ys=Go&&Go[0];if(Cs+=Qo,null==ys)return ko(),0;if("begin"===Ql.type&&"end"===Go.type&&Ql.index===Go.index&&""===ys){if(Cs+=mn.slice(Go.index,Go.index+1),!tn){const rs=new Error("0 width match regex");throw rs.languageName=Cn,rs.badRule=Ql.rule,rs}return 1}if(Ql=Go,"begin"===Go.type)return function ra(Qo){const Go=Qo[0],ys=Qo.rule,rs=new a(ys),Lo=[ys.__beforeBegin,ys["on:begin"]];for(const Br of Lo)if(Br&&(Br(Qo,rs),rs.isMatchIgnored))return Ys(Go);return ys&&ys.endSameAsBegin&&(ys.endRe=function D(ke){return new RegExp(ke.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(Go)),ys.skip?Cs+=Go:(ys.excludeBegin&&(Cs+=Go),ko(),!ys.returnBegin&&!ys.excludeBegin&&(Cs=Go)),$s(ys),ys.returnBegin?0:Go.length}(Go);if("illegal"===Go.type&&!kr){const rs=new Error('Illegal lexeme "'+ys+'" for mode "'+(Eo.className||"<unnamed>")+'"');throw rs.mode=Eo,rs}if("end"===Go.type){const rs=Do(Go);if(rs!==Pn)return rs}if("illegal"===Go.type&&""===ys)return 1;if(ml>1e5&&ml>3*Go.index)throw new Error("potential infinite loop, way more iterations than matches");return Cs+=ys,ys.length}const Da=wi(Cn);if(!Da)throw Bo(xt.replace("{}",Cn)),new Error('Unknown language: "'+Cn+'"');const Ga=Ln(Da,{plugins:Ve});let Pl="",Eo=Qi||Ga;const Ra={},Fo=new tr.__emitter(tr);!function oc(){const Qo=[];for(let Go=Eo;Go!==Da;Go=Go.parent)Go.className&&Qo.unshift(Go.className);Qo.forEach(Go=>Fo.openNode(Go))}();let Cs="",Ks=0,nl=0,ml=0,ma=!1;try{for(Eo.matcher.considerAll();;){ml++,ma?ma=!1:Eo.matcher.considerAll(),Eo.matcher.lastIndex=nl;const Qo=Eo.matcher.exec(mn);if(!Qo)break;const ys=tl(mn.substring(nl,Qo.index),Qo);nl=Qo.index+ys}return tl(mn.substr(nl)),Fo.closeAllNodes(),Fo.finalize(),Pl=Fo.toHTML(),{relevance:Math.floor(Ks),value:Pl,language:Cn,illegal:!1,emitter:Fo,top:Eo}}catch(Qo){if(Qo.message&&Qo.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Qo.message,context:mn.slice(nl-100,nl+100),mode:Qo.mode},sofar:Pl,relevance:0,value:io(mn),emitter:Fo};if(tn)return{illegal:!1,relevance:0,value:io(mn),emitter:Fo,language:Cn,top:Eo,errorRaised:Qo};throw Qo}}function Qn(Cn,mn){mn=mn||tr.languages||Object.keys(Ie);const kr=function nr(Cn){const mn={relevance:0,emitter:new tr.__emitter(tr),value:io(Cn),illegal:!1,top:qt};return mn.emitter.addText(Cn),mn}(Cn),Qi=mn.filter(wi).filter(Wi).map($s=>Nr($s,Cn,!1));Qi.unshift(kr);const xo=Qi.sort(($s,ps)=>{if($s.relevance!==ps.relevance)return ps.relevance-$s.relevance;if($s.language&&ps.language){if(wi($s.language).supersetOf===ps.language)return 1;if(wi(ps.language).supersetOf===$s.language)return-1}return 0}),[Ss,bs]=xo,ko=Ss;return ko.second_best=bs,ko}const Wt={"before:highlightElement":({el:Cn})=>{tr.useBR&&(Cn.innerHTML=Cn.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n"))},"after:highlightElement":({result:Cn})=>{tr.useBR&&(Cn.value=Cn.value.replace(/\n/g,"<br>"))}},kt=/^(<[^>]+>|\t)+/gm,st={"after:highlightElement":({result:Cn})=>{tr.tabReplace&&(Cn.value=Cn.value.replace(kt,mn=>mn.replace(/\t/g,tr.tabReplace)))}};function zt(Cn){let mn=null;const kr=function An(Cn){let mn=Cn.className+" ";mn+=Cn.parentNode?Cn.parentNode.className:"";const kr=tr.languageDetectRe.exec(mn);if(kr){const Qi=wi(kr[1]);return Qi||(cs(xt.replace("{}",kr[1])),cs("Falling back to no-highlight mode for this block.",Cn)),Qi?kr[1]:"no-highlight"}return mn.split(/\s+/).find(Qi=>vr(Qi)||wi(Qi))}(Cn);if(vr(kr))return;Ls("before:highlightElement",{el:Cn,language:kr}),mn=Cn;const Qi=mn.textContent,xo=kr?yr(Qi,{language:kr,ignoreIllegals:!0}):Qn(Qi);Ls("after:highlightElement",{el:Cn,result:xo,text:Qi}),Cn.innerHTML=xo.value,function Wn(Cn,mn,kr){const Qi=mn?Qe[mn]:kr;Cn.classList.add("hljs"),Qi&&Cn.classList.add(Qi)}(Cn,kr,xo.language),Cn.result={language:xo.language,re:xo.relevance,relavance:xo.relevance},xo.second_best&&(Cn.second_best={language:xo.second_best.language,re:xo.second_best.relevance,relavance:xo.second_best.relevance})}const Kr=()=>{Kr.called||(Kr.called=!0,ts("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(zt))};let gi=!1;function Jo(){"loading"!==document.readyState?document.querySelectorAll("pre code").forEach(zt):gi=!0}function wi(Cn){return Cn=(Cn||"").toLowerCase(),Ie[Cn]||Ie[Qe[Cn]]}function Gi(Cn,{languageName:mn}){"string"==typeof Cn&&(Cn=[Cn]),Cn.forEach(kr=>{Qe[kr.toLowerCase()]=mn})}function Wi(Cn){const mn=wi(Cn);return mn&&!mn.disableAutodetect}function Ls(Cn,mn){const kr=Cn;Ve.forEach(function(Qi){Qi[kr]&&Qi[kr](mn)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function os(){gi&&Jo()},!1),Object.assign(ke,{highlight:yr,highlightAuto:Qn,highlightAll:Jo,fixMarkup:function qr(Cn){return ts("10.2.0","fixMarkup will be removed entirely in v11.0"),ts("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function dr(Cn){return tr.tabReplace||tr.useBR?Cn.replace(ot,mn=>"\n"===mn?tr.useBR?"<br>":mn:tr.tabReplace?mn.replace(/\t/g,tr.tabReplace):mn):Cn}(Cn)},highlightElement:zt,highlightBlock:function $r(Cn){return ts("10.7.0","highlightBlock will be removed entirely in v12.0"),ts("10.7.0","Please use highlightElement now."),zt(Cn)},configure:function er(Cn){Cn.useBR&&(ts("10.3.0","'useBR' will be removed entirely in v11.0"),ts("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),tr=Vi(tr,Cn)},initHighlighting:Kr,initHighlightingOnLoad:function mi(){ts("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),gi=!0},registerLanguage:function hr(Cn,mn){let kr=null;try{kr=mn(ke)}catch(Qi){if(Bo("Language definition for '{}' could not be registered.".replace("{}",Cn)),!tn)throw Qi;Bo(Qi),kr=qt}kr.name||(kr.name=Cn),Ie[Cn]=kr,kr.rawDefinition=mn.bind(null,ke),kr.aliases&&Gi(kr.aliases,{languageName:Cn})},unregisterLanguage:function Ii(Cn){delete Ie[Cn];for(const mn of Object.keys(Qe))Qe[mn]===Cn&&delete Qe[mn]},listLanguages:function ni(){return Object.keys(Ie)},getLanguage:wi,registerAliases:Gi,requireLanguage:function Vr(Cn){ts("10.4.0","requireLanguage will be removed entirely in v11."),ts("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const mn=wi(Cn);if(mn)return mn;throw new Error("The '{}' language is required, but not loaded.".replace("{}",Cn))},autoDetection:Wi,inherit:Vi,addPlugin:function As(Cn){(function Mo(Cn){Cn["before:highlightBlock"]&&!Cn["before:highlightElement"]&&(Cn["before:highlightElement"]=mn=>{Cn["before:highlightBlock"](Object.assign({block:mn.el},mn))}),Cn["after:highlightBlock"]&&!Cn["after:highlightElement"]&&(Cn["after:highlightElement"]=mn=>{Cn["after:highlightBlock"](Object.assign({block:mn.el},mn))})})(Cn),Ve.push(Cn)},vuePlugin:Vo(ke).VuePlugin}),ke.debugMode=function(){tn=!1},ke.safeMode=function(){tn=!0},ke.versionString="10.7.3";for(const Cn in kn)"object"==typeof kn[Cn]&&o(kn[Cn]);return Object.assign(ke,kn),ke.addPlugin(Wt),ke.addPlugin(Xr),ke.addPlugin(st),ke}({});y.exports=Ut},4357:y=>{function o(...a){return a.map(c=>function b(a){return a?"string"==typeof a?a:a.source:null}(c)).join("")}y.exports=function r(a){const u={},c={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[u]}]};Object.assign(u,{className:"variable",variants:[{begin:o(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},c]});const e={className:"subst",begin:/\$\(/,end:/\)/,contains:[a.BACKSLASH_ESCAPE]},f={begin:/<<-?\s*(?=\w+)/,starts:{contains:[a.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},h={className:"string",begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,u,e]};e.contains.push(h);const D={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},a.NUMBER_MODE,u]},$=a.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),Q={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[a.inherit(a.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[$,a.SHEBANG(),Q,D,a.HASH_COMMENT_MODE,f,h,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},u]}}},28390:y=>{function o(...a){return a.map(c=>function b(a){return a?"string"==typeof a?a:a.source:null}(c)).join("")}y.exports=function r(a){const u="HTTP/(2|1\\.[01])",e={className:"attribute",begin:o("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},f=[e,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+u+" \\d{3})",end:/$/,contains:[{className:"meta",begin:u},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:f}},{begin:"(?=^[A-Z]+ (.*?) "+u+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:u},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:f}},a.inherit(e,{relevance:0})]}}},36147:y=>{const b="[A-Za-z$_][0-9A-Za-z$_]*",o=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],r=["true","false","null","undefined","NaN","Infinity"],f=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function E(A){return T("(?=",A,")")}function T(...A){return A.map(Q=>function h(A){return A?"string"==typeof A?A:A.source:null}(Q)).join("")}y.exports=function D(A){const Q=b,q={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(bt,Ct)=>{const Qt=bt[0].length+bt.index,ht=bt.input[Qt];"<"!==ht?">"===ht&&(((bt,{after:Ct})=>{const Qt="</"+bt[0].slice(1);return-1!==bt.input.indexOf(Qt,Ct)})(bt,{after:Qt})||Ct.ignoreMatch()):Ct.ignoreMatch()}},L={$pattern:b,keyword:o,literal:r,built_in:f},J="[0-9](_?[0-9])*",pe=`\\.(${J})`,j="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",ue={className:"number",variants:[{begin:`(\\b(${j})((${pe})|\\.)?|(${pe}))[eE][+-]?(${J})\\b`},{begin:`\\b(${j})\\b((${pe})\\b|\\.)?|(${pe})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},ie={className:"subst",begin:"\\$\\{",end:"\\}",keywords:L,contains:[]},me={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[A.BACKSLASH_ESCAPE,ie],subLanguage:"xml"}},Oe={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[A.BACKSLASH_ESCAPE,ie],subLanguage:"css"}},Ue={className:"string",begin:"`",end:"`",contains:[A.BACKSLASH_ESCAPE,ie]},yt={className:"comment",variants:[A.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:Q+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),A.C_BLOCK_COMMENT_MODE,A.C_LINE_COMMENT_MODE]},et=[A.APOS_STRING_MODE,A.QUOTE_STRING_MODE,me,Oe,Ue,ue,A.REGEXP_MODE];ie.contains=et.concat({begin:/\{/,end:/\}/,keywords:L,contains:["self"].concat(et)});const tt=[].concat(yt,ie.contains),Et=tt.concat([{begin:/\(/,end:/\)/,keywords:L,contains:["self"].concat(tt)}]),ze={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:L,contains:Et};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:L,exports:{PARAMS_CONTAINS:Et},illegal:/#(?![$_A-z])/,contains:[A.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},A.APOS_STRING_MODE,A.QUOTE_STRING_MODE,me,Oe,Ue,yt,ue,{begin:T(/[{,\n]\s*/,E(T(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,Q+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:Q+E("\\s*:"),relevance:0}]},{begin:"("+A.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[yt,A.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+A.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:A.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:L,contains:Et}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:"<>",end:"</>"},{begin:q.begin,"on:begin":q.isTrulyOpeningTag,end:q.end}],subLanguage:"xml",contains:[{begin:q.begin,end:q.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:L,contains:["self",A.inherit(A.TITLE_MODE,{begin:Q}),ze],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:A.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[ze,A.inherit(A.TITLE_MODE,{begin:Q})]},{variants:[{begin:"\\."+Q},{begin:"\\$"+Q}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},A.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[A.inherit(A.TITLE_MODE,{begin:Q}),"self",ze]},{begin:"(get|set)\\s+(?="+Q+"\\()",end:/\{/,keywords:"get set",contains:[A.inherit(A.TITLE_MODE,{begin:Q}),{begin:/\(\)/},ze]},{begin:/\$[(.]/}]}}},92229:y=>{y.exports=function b(o){const r={literal:"true false null"},a=[o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE],u=[o.QUOTE_STRING_MODE,o.C_NUMBER_MODE],c={end:",",endsWithParent:!0,excludeEnd:!0,contains:u,keywords:r},e={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE],illegal:"\\n"},o.inherit(c,{begin:/:/})].concat(a),illegal:"\\S"},f={begin:"\\[",end:"\\]",contains:[o.inherit(c)],illegal:"\\S"};return u.push(e,f),a.forEach(function(h){u.push(h)}),{name:"JSON",contains:u,keywords:r,illegal:"\\S"}}},78932:y=>{y.exports=function b(o){const c={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},f={begin:"`[\\s\\S]",relevance:0},h={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},T={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[f,h,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},D={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},$=o.inherit(o.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),Q={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},U={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[o.TITLE_MODE]},q={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[h]}]},L={begin:/using\s/,end:/$/,returnBegin:!0,contains:[T,D,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},J={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},j={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(c.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},o.inherit(o.TITLE_MODE,{endsParent:!0})]},ue=[j,$,f,o.NUMBER_MODE,T,D,Q,h,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],ie={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",ue,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return j.contains.unshift(ie),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:c,contains:ue.concat(U,q,L,J,ie)}}},13546:y=>{function b(e){return e?"string"==typeof e?e:e.source:null}function o(e){return a("(?=",e,")")}function a(...e){return e.map(h=>b(h)).join("")}function u(...e){return"("+e.map(h=>b(h)).join("|")+")"}y.exports=function c(e){const f=a(/[A-Z_]/,function r(e){return a("(",e,")?")}(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),E={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},T={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},D=e.inherit(T,{begin:/\(/,end:/\)/}),A=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),$=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),Q={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[E]},{begin:/'/,end:/'/,contains:[E]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[T,$,A,D,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[T,D,$,A]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},E,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[Q],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[Q],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:a(/</,o(a(f,u(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:f,relevance:0,starts:Q}]},{className:"tag",begin:a(/<\//,o(a(f,/>/))),contains:[{className:"name",begin:f,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},44776:y=>{y.exports=function b(o){var r="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",e={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[o.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},f=o.inherit(e,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),$={end:",",endsWithParent:!0,excludeEnd:!0,keywords:r,relevance:0},q=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+o.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+o.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},o.HASH_COMMENT_MODE,{beginKeywords:r,keywords:{literal:r}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:o.C_NUMBER_RE+"\\b",relevance:0},{begin:/\{/,end:/\}/,contains:[$],illegal:"\\n",relevance:0},{begin:"\\[",end:"\\]",contains:[$],illegal:"\\n",relevance:0},e],L=[...q];return L.pop(),L.push(f),$.contains=L,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:q}}},62568:(y,b,o)=>{"use strict";var r=o(71023),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},u={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},e={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},f={};function h(q){return r.isMemo(q)?e:f[q.$$typeof]||a}f[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f[r.Memo]=e;var E=Object.defineProperty,T=Object.getOwnPropertyNames,D=Object.getOwnPropertySymbols,A=Object.getOwnPropertyDescriptor,$=Object.getPrototypeOf,Q=Object.prototype;y.exports=function U(q,L,J){if("string"!=typeof L){if(Q){var pe=$(L);pe&&pe!==Q&&U(q,pe,J)}var j=T(L);D&&(j=j.concat(D(L)));for(var ue=h(q),ie=h(L),me=0;me<j.length;++me){var Oe=j[me];if(!(u[Oe]||J&&J[Oe]||ie&&ie[Oe]||ue&&ue[Oe])){var Ue=A(L,Oe);try{E(q,Oe,Ue)}catch{}}}}return q}},76493:(y,b)=>{"use strict";var o="function"==typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,e=o?Symbol.for("react.profiler"):60114,f=o?Symbol.for("react.provider"):60109,h=o?Symbol.for("react.context"):60110,E=o?Symbol.for("react.async_mode"):60111,T=o?Symbol.for("react.concurrent_mode"):60111,D=o?Symbol.for("react.forward_ref"):60112,A=o?Symbol.for("react.suspense"):60113,$=o?Symbol.for("react.suspense_list"):60120,Q=o?Symbol.for("react.memo"):60115,U=o?Symbol.for("react.lazy"):60116,q=o?Symbol.for("react.block"):60121,L=o?Symbol.for("react.fundamental"):60117,J=o?Symbol.for("react.responder"):60118,pe=o?Symbol.for("react.scope"):60119;function j(ie){if("object"==typeof ie&&null!==ie){var me=ie.$$typeof;switch(me){case r:switch(ie=ie.type){case E:case T:case u:case e:case c:case A:return ie;default:switch(ie=ie&&ie.$$typeof){case h:case D:case U:case Q:case f:return ie;default:return me}}case a:return me}}}function ue(ie){return j(ie)===T}b.AsyncMode=E,b.ConcurrentMode=T,b.ContextConsumer=h,b.ContextProvider=f,b.Element=r,b.ForwardRef=D,b.Fragment=u,b.Lazy=U,b.Memo=Q,b.Portal=a,b.Profiler=e,b.StrictMode=c,b.Suspense=A,b.isAsyncMode=function(ie){return ue(ie)||j(ie)===E},b.isConcurrentMode=ue,b.isContextConsumer=function(ie){return j(ie)===h},b.isContextProvider=function(ie){return j(ie)===f},b.isElement=function(ie){return"object"==typeof ie&&null!==ie&&ie.$$typeof===r},b.isForwardRef=function(ie){return j(ie)===D},b.isFragment=function(ie){return j(ie)===u},b.isLazy=function(ie){return j(ie)===U},b.isMemo=function(ie){return j(ie)===Q},b.isPortal=function(ie){return j(ie)===a},b.isProfiler=function(ie){return j(ie)===e},b.isStrictMode=function(ie){return j(ie)===c},b.isSuspense=function(ie){return j(ie)===A},b.isValidElementType=function(ie){return"string"==typeof ie||"function"==typeof ie||ie===u||ie===T||ie===e||ie===c||ie===A||ie===$||"object"==typeof ie&&null!==ie&&(ie.$$typeof===U||ie.$$typeof===Q||ie.$$typeof===f||ie.$$typeof===h||ie.$$typeof===D||ie.$$typeof===L||ie.$$typeof===J||ie.$$typeof===pe||ie.$$typeof===q)},b.typeOf=j},71023:(y,b,o)=>{"use strict";y.exports=o(76493)},12658:(y,b)=>{b.read=function(o,r,a,u,c){var e,f,h=8*c-u-1,E=(1<<h)-1,T=E>>1,D=-7,A=a?c-1:0,$=a?-1:1,Q=o[r+A];for(A+=$,e=Q&(1<<-D)-1,Q>>=-D,D+=h;D>0;e=256*e+o[r+A],A+=$,D-=8);for(f=e&(1<<-D)-1,e>>=-D,D+=u;D>0;f=256*f+o[r+A],A+=$,D-=8);if(0===e)e=1-T;else{if(e===E)return f?NaN:1/0*(Q?-1:1);f+=Math.pow(2,u),e-=T}return(Q?-1:1)*f*Math.pow(2,e-u)},b.write=function(o,r,a,u,c,e){var f,h,E,T=8*e-c-1,D=(1<<T)-1,A=D>>1,$=23===c?Math.pow(2,-24)-Math.pow(2,-77):0,Q=u?0:e-1,U=u?1:-1,q=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,f=D):(f=Math.floor(Math.log(r)/Math.LN2),r*(E=Math.pow(2,-f))<1&&(f--,E*=2),(r+=f+A>=1?$/E:$*Math.pow(2,1-A))*E>=2&&(f++,E/=2),f+A>=D?(h=0,f=D):f+A>=1?(h=(r*E-1)*Math.pow(2,c),f+=A):(h=r*Math.pow(2,A-1)*Math.pow(2,c),f=0));c>=8;o[a+Q]=255&h,Q+=U,h/=256,c-=8);for(f=f<<c|h,T+=c;T>0;o[a+Q]=255&f,Q+=U,f/=256,T-=8);o[a+Q-U]|=128*q}},55004:(y,b,o)=>{"use strict";o.r(b),o.d(b,{Collection:()=>Ue,Iterable:()=>ac,List:()=>ba,Map:()=>ru,OrderedMap:()=>wo,OrderedSet:()=>Ms,PairSorting:()=>se,Range:()=>lr,Record:()=>Xe,Repeat:()=>as,Seq:()=>sn,Set:()=>X,Stack:()=>qc,default:()=>Bc,fromJS:()=>ks,get:()=>Eo,getIn:()=>Oi,has:()=>Pl,hasIn:()=>Dr,hash:()=>ke,is:()=>Vi,isAssociative:()=>Oe,isCollection:()=>pe,isImmutable:()=>Ct,isIndexed:()=>me,isKeyed:()=>ue,isList:()=>Fc,isMap:()=>cs,isOrdered:()=>ht,isOrderedMap:()=>ts,isOrderedSet:()=>tu,isPlainObject:()=>tl,isRecord:()=>bt,isSeq:()=>Et,isSet:()=>uc,isStack:()=>Zl,isValueObject:()=>io,merge:()=>On,mergeDeep:()=>We,mergeDeepWith:()=>on,mergeWith:()=>ae,remove:()=>Fo,removeIn:()=>Qo,set:()=>Cs,setIn:()=>ml,update:()=>ys,updateIn:()=>Ks,version:()=>ja});var r="delete",a=5,u=1<<a,c=u-1,e={};function h(_e){_e&&(_e.value=!0)}function E(){}function T(_e){return void 0===_e.size&&(_e.size=_e.__iterate(A)),_e.size}function D(_e,de){if("number"!=typeof de){var Fe=de>>>0;if(""+Fe!==de||4294967295===Fe)return NaN;de=Fe}return de<0?T(_e)+de:de}function A(){return!0}function $(_e,de,Fe){return(0===_e&&!L(_e)||void 0!==Fe&&_e<=-Fe)&&(void 0===de||void 0!==Fe&&de>=Fe)}function Q(_e,de){return q(_e,de,0)}function U(_e,de){return q(_e,de,de)}function q(_e,de,Fe){return void 0===_e?Fe:L(_e)?de===1/0?de:0|Math.max(0,de+_e):void 0===de||de===_e?_e:0|Math.min(de,_e)}function L(_e){return _e<0||0===_e&&1/_e==-1/0}var J="@@__IMMUTABLE_ITERABLE__@@";function pe(_e){return Boolean(_e&&_e[J])}var j="@@__IMMUTABLE_KEYED__@@";function ue(_e){return Boolean(_e&&_e[j])}var ie="@@__IMMUTABLE_INDEXED__@@";function me(_e){return Boolean(_e&&_e[ie])}function Oe(_e){return ue(_e)||me(_e)}var Ue=function(de){return pe(de)?de:sn(de)},Me=function(_e){function de(Fe){return ue(Fe)?Fe:At(Fe)}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de}(Ue),yt=function(_e){function de(Fe){return me(Fe)?Fe:Ln(Fe)}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de}(Ue),et=function(_e){function de(Fe){return pe(Fe)&&!Oe(Fe)?Fe:rr(Fe)}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de}(Ue);Ue.Keyed=Me,Ue.Indexed=yt,Ue.Set=et;var tt="@@__IMMUTABLE_SEQ__@@";function Et(_e){return Boolean(_e&&_e[tt])}var ze="@@__IMMUTABLE_RECORD__@@";function bt(_e){return Boolean(_e&&_e[ze])}function Ct(_e){return pe(_e)||bt(_e)}var Qt="@@__IMMUTABLE_ORDERED__@@";function ht(_e){return Boolean(_e&&_e[Qt])}var en=0,nn=1,bn=2,Dn="function"==typeof Symbol&&Symbol.iterator,Rt="@@iterator",Xt=Dn||Rt,un=function(de){this.next=de};function _n(_e,de,Fe,je){var lt=0===_e?de:1===_e?Fe:[de,Fe];return je?je.value=lt:je={value:lt,done:!1},je}function kn(){return{value:void 0,done:!0}}function ri(_e){return!!Array.isArray(_e)||!!_r(_e)}function Ir(_e){return _e&&"function"==typeof _e.next}function wr(_e){var de=_r(_e);return de&&de.call(_e)}function _r(_e){var de=_e&&(Dn&&_e[Dn]||_e[Rt]);if("function"==typeof de)return de}un.prototype.toString=function(){return"[Iterator]"},un.KEYS=en,un.VALUES=nn,un.ENTRIES=bn,un.prototype.inspect=un.prototype.toSource=function(){return this.toString()},un.prototype[Xt]=function(){return this};var Tr=Object.prototype.hasOwnProperty;function ft(_e){return!(!Array.isArray(_e)&&"string"!=typeof _e)||_e&&"object"==typeof _e&&Number.isInteger(_e.length)&&_e.length>=0&&(0===_e.length?1===Object.keys(_e).length:_e.hasOwnProperty(_e.length-1))}var sn=function(_e){function de(Fe){return null==Fe?Xr():Ct(Fe)?Fe.toSeq():function jr(_e){var de=Pr(_e);if(de)return function oi(_e){var de=_r(_e);return de&&de===_e.entries}(_e)?de.fromEntrySeq():function Ri(_e){var de=_r(_e);return de&&de===_e.keys}(_e)?de.toSetSeq():de;if("object"==typeof _e)return new Fi(_e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+_e)}(Fe)}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.prototype.toSeq=function(){return this},de.prototype.toString=function(){return this.__toString("Seq {","}")},de.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},de.prototype.__iterate=function(je,lt){var Vt=this._cache;if(Vt){for(var Ht=Vt.length,wn=0;wn!==Ht;){var ar=Vt[lt?Ht-++wn:wn++];if(!1===je(ar[1],ar[0],this))break}return wn}return this.__iterateUncached(je,lt)},de.prototype.__iterator=function(je,lt){var Vt=this._cache;if(Vt){var Ht=Vt.length,wn=0;return new un(function(){if(wn===Ht)return{value:void 0,done:!0};var ar=Vt[lt?Ht-++wn:wn++];return _n(je,ar[0],ar[1])})}return this.__iteratorUncached(je,lt)},de}(Ue),At=function(_e){function de(Fe){return null==Fe?Xr().toKeyedSeq():pe(Fe)?ue(Fe)?Fe.toSeq():Fe.fromEntrySeq():bt(Fe)?Fe.toSeq():Ni(Fe)}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.prototype.toKeyedSeq=function(){return this},de}(sn),Ln=function(_e){function de(Fe){return null==Fe?Xr():pe(Fe)?ue(Fe)?Fe.entrySeq():Fe.toIndexedSeq():bt(Fe)?Fe.toSeq().entrySeq():ji(Fe)}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.of=function(){return de(arguments)},de.prototype.toIndexedSeq=function(){return this},de.prototype.toString=function(){return this.__toString("Seq [","]")},de}(sn),rr=function(_e){function de(Fe){return(pe(Fe)&&!Oe(Fe)?Fe:Ln(Fe)).toSetSeq()}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.of=function(){return de(arguments)},de.prototype.toSetSeq=function(){return this},de}(sn);sn.isSeq=Et,sn.Keyed=At,sn.Set=rr,sn.Indexed=Ln,sn.prototype[tt]=!0;var Lr=function(_e){function de(Fe){this._array=Fe,this.size=Fe.length}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.prototype.get=function(je,lt){return this.has(je)?this._array[D(this,je)]:lt},de.prototype.__iterate=function(je,lt){for(var Vt=this._array,Ht=Vt.length,wn=0;wn!==Ht;){var ar=lt?Ht-++wn:wn++;if(!1===je(Vt[ar],ar,this))break}return wn},de.prototype.__iterator=function(je,lt){var Vt=this._array,Ht=Vt.length,wn=0;return new un(function(){if(wn===Ht)return{value:void 0,done:!0};var ar=lt?Ht-++wn:wn++;return _n(je,ar,Vt[ar])})},de}(Ln),Fi=function(_e){function de(Fe){var je=Object.keys(Fe).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(Fe):[]);this._object=Fe,this._keys=je,this.size=je.length}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.prototype.get=function(je,lt){return void 0===lt||this.has(je)?this._object[je]:lt},de.prototype.has=function(je){return Tr.call(this._object,je)},de.prototype.__iterate=function(je,lt){for(var Vt=this._object,Ht=this._keys,wn=Ht.length,ar=0;ar!==wn;){var cr=Ht[lt?wn-++ar:ar++];if(!1===je(Vt[cr],cr,this))break}return ar},de.prototype.__iterator=function(je,lt){var Vt=this._object,Ht=this._keys,wn=Ht.length,ar=0;return new un(function(){if(ar===wn)return{value:void 0,done:!0};var cr=Ht[lt?wn-++ar:ar++];return _n(je,cr,Vt[cr])})},de}(At);Fi.prototype[Qt]=!0;var Vo,so=function(_e){function de(Fe){this._collection=Fe,this.size=Fe.length||Fe.size}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.prototype.__iterateUncached=function(je,lt){if(lt)return this.cacheResult().__iterate(je,lt);var Ht=wr(this._collection),wn=0;if(Ir(Ht))for(var ar;!(ar=Ht.next()).done&&!1!==je(ar.value,wn++,this););return wn},de.prototype.__iteratorUncached=function(je,lt){if(lt)return this.cacheResult().__iterator(je,lt);var Ht=wr(this._collection);if(!Ir(Ht))return new un(kn);var wn=0;return new un(function(){var ar=Ht.next();return ar.done?ar:_n(je,wn++,ar.value)})},de}(Ln);function Xr(){return Vo||(Vo=new Lr([]))}function Ni(_e){var de=Pr(_e);if(de)return de.fromEntrySeq();if("object"==typeof _e)return new Fi(_e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+_e)}function ji(_e){var de=Pr(_e);if(de)return de;throw new TypeError("Expected Array or collection object of values: "+_e)}function Pr(_e){return ft(_e)?new Lr(_e):ri(_e)?new so(_e):void 0}var Bo="@@__IMMUTABLE_MAP__@@";function cs(_e){return Boolean(_e&&_e[Bo])}function ts(_e){return cs(_e)&&ht(_e)}function io(_e){return Boolean(_e&&"function"==typeof _e.equals&&"function"==typeof _e.hashCode)}function Vi(_e,de){if(_e===de||_e!=_e&&de!=de)return!0;if(!_e||!de)return!1;if("function"==typeof _e.valueOf&&"function"==typeof de.valueOf){if((_e=_e.valueOf())===(de=de.valueOf())||_e!=_e&&de!=de)return!0;if(!_e||!de)return!1}return!!(io(_e)&&io(de)&&_e.equals(de))}var Pn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(de,Fe){var je=65535&(de|=0),lt=65535&(Fe|=0);return je*lt+((de>>>16)*lt+je*(Fe>>>16)<<16>>>0)|0};function Nn(_e){return _e>>>1&1073741824|3221225471&_e}var Ut=Object.prototype.valueOf;function ke(_e){if(null==_e)return Ie(_e);if("function"==typeof _e.hashCode)return Nn(_e.hashCode(_e));var de=function An(_e){return _e.valueOf!==Ut&&"function"==typeof _e.valueOf?_e.valueOf(_e):_e}(_e);if(null==de)return Ie(de);switch(typeof de){case"boolean":return de?1108378657:1108378656;case"number":return function Qe(_e){if(_e!=_e||_e===1/0)return 0;var de=0|_e;for(de!==_e&&(de^=4294967295*_e);_e>4294967295;)de^=_e/=4294967295;return Nn(de)}(de);case"string":return de.length>Wt?function Ve(_e){var de=zt[_e];return void 0===de&&(de=tn(_e),st===kt&&(st=0,zt={}),st++,zt[_e]=de),de}(de):tn(de);case"object":case"function":return function xt(_e){var de;if(Nr&&void 0!==(de=nr.get(_e))||void 0!==(de=_e[Wn])||!tr&&(void 0!==(de=_e.propertyIsEnumerable&&_e.propertyIsEnumerable[Wn])||(de=function vr(_e){if(_e&&_e.nodeType>0)switch(_e.nodeType){case 1:return _e.uniqueID;case 9:return _e.documentElement&&_e.documentElement.uniqueID}}(_e),void 0!==de)))return de;if(de=yr(),Nr)nr.set(_e,de);else{if(void 0!==qt&&!1===qt(_e))throw new Error("Non-extensible objects are not allowed as keys.");if(tr)Object.defineProperty(_e,Wn,{enumerable:!1,configurable:!1,writable:!1,value:de});else if(void 0!==_e.propertyIsEnumerable&&_e.propertyIsEnumerable===_e.constructor.prototype.propertyIsEnumerable)_e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},_e.propertyIsEnumerable[Wn]=de;else{if(void 0===_e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");_e[Wn]=de}}return de}(de);case"symbol":return function ot(_e){var de=Qn[_e];return void 0!==de||(de=yr(),Qn[_e]=de),de}(de);default:if("function"==typeof de.toString)return tn(de.toString());throw new Error("Value type "+typeof de+" cannot be hashed.")}}function Ie(_e){return null===_e?1108378658:1108378659}function tn(_e){for(var de=0,Fe=0;Fe<_e.length;Fe++)de=31*de+_e.charCodeAt(Fe)|0;return Nn(de)}var qt=Object.isExtensible,tr=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();function yr(){var _e=++dr;return 1073741824&dr&&(dr=0),_e}var nr,Nr="function"==typeof WeakMap;Nr&&(nr=new WeakMap);var Qn=Object.create(null),dr=0,Wn="__immutablehash__";"function"==typeof Symbol&&(Wn=Symbol(Wn));var Wt=16,kt=255,st=0,zt={},er=function(_e){function de(Fe,je){this._iter=Fe,this._useKeys=je,this.size=Fe.size}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.prototype.get=function(je,lt){return this._iter.get(je,lt)},de.prototype.has=function(je){return this._iter.has(je)},de.prototype.valueSeq=function(){return this._iter.valueSeq()},de.prototype.reverse=function(){var je=this,lt=hr(this,!0);return this._useKeys||(lt.valueSeq=function(){return je._iter.toSeq().reverse()}),lt},de.prototype.map=function(je,lt){var Vt=this,Ht=os(this,je,lt);return this._useKeys||(Ht.valueSeq=function(){return Vt._iter.toSeq().map(je,lt)}),Ht},de.prototype.__iterate=function(je,lt){var Vt=this;return this._iter.__iterate(function(Ht,wn){return je(Ht,wn,Vt)},lt)},de.prototype.__iterator=function(je,lt){return this._iter.__iterator(je,lt)},de}(At);er.prototype[Qt]=!0;var Kr=function(_e){function de(Fe){this._iter=Fe,this.size=Fe.size}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.prototype.includes=function(je){return this._iter.includes(je)},de.prototype.__iterate=function(je,lt){var Vt=this,Ht=0;return lt&&T(this),this._iter.__iterate(function(wn){return je(wn,lt?Vt.size-++Ht:Ht++,Vt)},lt)},de.prototype.__iterator=function(je,lt){var Vt=this,Ht=this._iter.__iterator(nn,lt),wn=0;return lt&&T(this),new un(function(){var ar=Ht.next();return ar.done?ar:_n(je,lt?Vt.size-++wn:wn++,ar.value,ar)})},de}(Ln),mi=function(_e){function de(Fe){this._iter=Fe,this.size=Fe.size}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.prototype.has=function(je){return this._iter.includes(je)},de.prototype.__iterate=function(je,lt){var Vt=this;return this._iter.__iterate(function(Ht){return je(Ht,Ht,Vt)},lt)},de.prototype.__iterator=function(je,lt){var Vt=this._iter.__iterator(nn,lt);return new un(function(){var Ht=Vt.next();return Ht.done?Ht:_n(je,Ht.value,Ht.value,Ht)})},de}(rr),gi=function(_e){function de(Fe){this._iter=Fe,this.size=Fe.size}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.prototype.entrySeq=function(){return this._iter.toSeq()},de.prototype.__iterate=function(je,lt){var Vt=this;return this._iter.__iterate(function(Ht){if(Ht){Ss(Ht);var wn=pe(Ht);return je(wn?Ht.get(1):Ht[1],wn?Ht.get(0):Ht[0],Vt)}},lt)},de.prototype.__iterator=function(je,lt){var Vt=this._iter.__iterator(nn,lt);return new un(function(){for(;;){var Ht=Vt.next();if(Ht.done)return Ht;var wn=Ht.value;if(wn){Ss(wn);var ar=pe(wn);return _n(je,ar?wn.get(0):wn[0],ar?wn.get(1):wn[1],Ht)}}})},de}(At);function Jo(_e){var de=ko(_e);return de._iter=_e,de.size=_e.size,de.flip=function(){return _e},de.reverse=function(){var Fe=_e.reverse.apply(this);return Fe.flip=function(){return _e.reverse()},Fe},de.has=function(Fe){return _e.includes(Fe)},de.includes=function(Fe){return _e.has(Fe)},de.cacheResult=$s,de.__iterateUncached=function(Fe,je){var lt=this;return _e.__iterate(function(Vt,Ht){return!1!==Fe(Ht,Vt,lt)},je)},de.__iteratorUncached=function(Fe,je){if(Fe===bn){var lt=_e.__iterator(Fe,je);return new un(function(){var Vt=lt.next();if(!Vt.done){var Ht=Vt.value[0];Vt.value[0]=Vt.value[1],Vt.value[1]=Ht}return Vt})}return _e.__iterator(Fe===nn?en:nn,je)},de}function os(_e,de,Fe){var je=ko(_e);return je.size=_e.size,je.has=function(lt){return _e.has(lt)},je.get=function(lt,Vt){var Ht=_e.get(lt,e);return Ht===e?Vt:de.call(Fe,Ht,lt,_e)},je.__iterateUncached=function(lt,Vt){var Ht=this;return _e.__iterate(function(wn,ar,cr){return!1!==lt(de.call(Fe,wn,ar,cr),ar,Ht)},Vt)},je.__iteratorUncached=function(lt,Vt){var Ht=_e.__iterator(bn,Vt);return new un(function(){var wn=Ht.next();if(wn.done)return wn;var ar=wn.value,cr=ar[0];return _n(lt,cr,de.call(Fe,ar[1],cr,_e),wn)})},je}function hr(_e,de){var Fe=this,je=ko(_e);return je._iter=_e,je.size=_e.size,je.reverse=function(){return _e},_e.flip&&(je.flip=function(){var lt=Jo(_e);return lt.reverse=function(){return _e.flip()},lt}),je.get=function(lt,Vt){return _e.get(de?lt:-1-lt,Vt)},je.has=function(lt){return _e.has(de?lt:-1-lt)},je.includes=function(lt){return _e.includes(lt)},je.cacheResult=$s,je.__iterate=function(lt,Vt){var Ht=this,wn=0;return Vt&&T(_e),_e.__iterate(function(ar,cr){return lt(ar,de?cr:Vt?Ht.size-++wn:wn++,Ht)},!Vt)},je.__iterator=function(lt,Vt){var Ht=0;Vt&&T(_e);var wn=_e.__iterator(bn,!Vt);return new un(function(){var ar=wn.next();if(ar.done)return ar;var cr=ar.value;return _n(lt,de?cr[0]:Vt?Fe.size-++Ht:Ht++,cr[1],ar)})},je}function Ii(_e,de,Fe,je){var lt=ko(_e);return je&&(lt.has=function(Vt){var Ht=_e.get(Vt,e);return Ht!==e&&!!de.call(Fe,Ht,Vt,_e)},lt.get=function(Vt,Ht){var wn=_e.get(Vt,e);return wn!==e&&de.call(Fe,wn,Vt,_e)?wn:Ht}),lt.__iterateUncached=function(Vt,Ht){var wn=this,ar=0;return _e.__iterate(function(cr,_i,ao){if(de.call(Fe,cr,_i,ao))return ar++,Vt(cr,je?_i:ar-1,wn)},Ht),ar},lt.__iteratorUncached=function(Vt,Ht){var wn=_e.__iterator(bn,Ht),ar=0;return new un(function(){for(;;){var cr=wn.next();if(cr.done)return cr;var _i=cr.value,ao=_i[0],gs=_i[1];if(de.call(Fe,gs,ao,_e))return _n(Vt,je?ao:ar++,gs,cr)}})},lt}function Gi(_e,de,Fe,je){var lt=_e.size;if($(de,Fe,lt))return _e;var Vt=Q(de,lt),Ht=U(Fe,lt);if(Vt!=Vt||Ht!=Ht)return Gi(_e.toSeq().cacheResult(),de,Fe,je);var ar,wn=Ht-Vt;wn==wn&&(ar=wn<0?0:wn);var cr=ko(_e);return cr.size=0===ar?ar:_e.size&&ar||void 0,!je&&Et(_e)&&ar>=0&&(cr.get=function(_i,ao){return(_i=D(this,_i))>=0&&_i<ar?_e.get(_i+Vt,ao):ao}),cr.__iterateUncached=function(_i,ao){var gs=this;if(0===ar)return 0;if(ao)return this.cacheResult().__iterate(_i,ao);var Wo=0,Qs=!0,Pa=0;return _e.__iterate(function(dc,Tu){if(!Qs||!(Qs=Wo++<Vt))return Pa++,!1!==_i(dc,je?Tu:Pa-1,gs)&&Pa!==ar}),Pa},cr.__iteratorUncached=function(_i,ao){if(0!==ar&&ao)return this.cacheResult().__iterator(_i,ao);if(0===ar)return new un(kn);var gs=_e.__iterator(_i,ao),Wo=0,Qs=0;return new un(function(){for(;Wo++<Vt;)gs.next();if(++Qs>ar)return{value:void 0,done:!0};var Pa=gs.next();return je||_i===nn||Pa.done?Pa:_n(_i,Qs-1,_i===en?void 0:Pa.value[1],Pa)})},cr}function Mo(_e,de,Fe,je){var lt=ko(_e);return lt.__iterateUncached=function(Vt,Ht){var wn=this;if(Ht)return this.cacheResult().__iterate(Vt,Ht);var ar=!0,cr=0;return _e.__iterate(function(_i,ao,gs){if(!ar||!(ar=de.call(Fe,_i,ao,gs)))return cr++,Vt(_i,je?ao:cr-1,wn)}),cr},lt.__iteratorUncached=function(Vt,Ht){var wn=this;if(Ht)return this.cacheResult().__iterator(Vt,Ht);var ar=_e.__iterator(bn,Ht),cr=!0,_i=0;return new un(function(){var ao,gs,Wo;do{if((ao=ar.next()).done)return je||Vt===nn?ao:_n(Vt,_i++,Vt===en?void 0:ao.value[1],ao);var Qs=ao.value;gs=Qs[0],Wo=Qs[1],cr&&(cr=de.call(Fe,Wo,gs,wn))}while(cr);return Vt===bn?ao:_n(Vt,gs,Wo,ao)})},lt}function Ls(_e,de,Fe){var je=ko(_e);return je.__iterateUncached=function(lt,Vt){if(Vt)return this.cacheResult().__iterate(lt,Vt);var Ht=0,wn=!1;return function ar(cr,_i){cr.__iterate(function(ao,gs){return(!de||_i<de)&&pe(ao)?ar(ao,_i+1):(Ht++,!1===lt(ao,Fe?gs:Ht-1,je)&&(wn=!0)),!wn},Vt)}(_e,0),Ht},je.__iteratorUncached=function(lt,Vt){if(Vt)return this.cacheResult().__iterator(lt,Vt);var Ht=_e.__iterator(lt,Vt),wn=[],ar=0;return new un(function(){for(;Ht;){var cr=Ht.next();if(!1===cr.done){var _i=cr.value;if(lt===bn&&(_i=_i[1]),de&&!(wn.length<de)||!pe(_i))return Fe?cr:_n(lt,ar++,_i,cr);wn.push(Ht),Ht=_i.__iterator(lt,Vt)}else Ht=wn.pop()}return{value:void 0,done:!0}})},je}function Cn(_e,de,Fe){de||(de=ps);var je=ue(_e),lt=0,Vt=_e.toSeq().map(function(Ht,wn){return[wn,Ht,lt++,Fe?Fe(Ht,wn,_e):Ht]}).valueSeq().toArray();return Vt.sort(function(Ht,wn){return de(Ht[3],wn[3])||Ht[2]-wn[2]}).forEach(je?function(Ht,wn){Vt[wn].length=2}:function(Ht,wn){Vt[wn]=Ht[1]}),je?At(Vt):me(_e)?Ln(Vt):rr(Vt)}function mn(_e,de,Fe){if(de||(de=ps),Fe){var je=_e.toSeq().map(function(lt,Vt){return[lt,Fe(lt,Vt,_e)]}).reduce(function(lt,Vt){return kr(de,lt[1],Vt[1])?Vt:lt});return je&&je[0]}return _e.reduce(function(lt,Vt){return kr(de,lt,Vt)?Vt:lt})}function kr(_e,de,Fe){var je=_e(Fe,de);return 0===je&&Fe!==de&&(null==Fe||Fe!=Fe)||je>0}function Qi(_e,de,Fe,je){var lt=ko(_e),Vt=new Lr(Fe).map(function(Ht){return Ht.size});return lt.size=je?Vt.max():Vt.min(),lt.__iterate=function(Ht,wn){for(var cr,ar=this.__iterator(nn,wn),_i=0;!(cr=ar.next()).done&&!1!==Ht(cr.value,_i++,this););return _i},lt.__iteratorUncached=function(Ht,wn){var ar=Fe.map(function(ao){return ao=Ue(ao),wr(wn?ao.reverse():ao)}),cr=0,_i=!1;return new un(function(){var ao;return _i||(ao=ar.map(function(gs){return gs.next()}),_i=je?ao.every(function(gs){return gs.done}):ao.some(function(gs){return gs.done})),_i?{value:void 0,done:!0}:_n(Ht,cr++,de.apply(null,ao.map(function(gs){return gs.value})))})},lt}function xo(_e,de){return _e===de?_e:Et(_e)?de:_e.constructor(de)}function Ss(_e){if(_e!==Object(_e))throw new TypeError("Expected [K, V] tuple: "+_e)}function bs(_e){return ue(_e)?Me:me(_e)?yt:et}function ko(_e){return Object.create((ue(_e)?At:me(_e)?Ln:rr).prototype)}function $s(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):sn.prototype.cacheResult.call(this)}function ps(_e,de){return void 0===_e&&void 0===de?0:void 0===_e?1:void 0===de?-1:_e>de?1:_e<de?-1:0}function Ys(_e,de){de=de||0;for(var Fe=Math.max(0,_e.length-de),je=new Array(Fe),lt=0;lt<Fe;lt++)je[lt]=_e[lt+de];return je}function ra(_e,de){if(!_e)throw new Error(de)}function Do(_e){ra(_e!==1/0,"Cannot perform this action with an infinite size.")}function oc(_e){if(ft(_e)&&"string"!=typeof _e)return _e;if(ht(_e))return _e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+_e)}Kr.prototype.cacheResult=er.prototype.cacheResult=mi.prototype.cacheResult=gi.prototype.cacheResult=$s;var Ql=Object.prototype.toString;function tl(_e){if(!_e||"object"!=typeof _e||"[object Object]"!==Ql.call(_e))return!1;var de=Object.getPrototypeOf(_e);if(null===de)return!0;for(var Fe=de,je=Object.getPrototypeOf(de);null!==je;)Fe=je,je=Object.getPrototypeOf(Fe);return Fe===de}function Da(_e){return"object"==typeof _e&&(Ct(_e)||Array.isArray(_e)||tl(_e))}function Ga(_e){try{return"string"==typeof _e?JSON.stringify(_e):String(_e)}catch{return JSON.stringify(_e)}}function Pl(_e,de){return Ct(_e)?_e.has(de):Da(_e)&&Tr.call(_e,de)}function Eo(_e,de,Fe){return Ct(_e)?_e.get(de,Fe):Pl(_e,de)?"function"==typeof _e.get?_e.get(de):_e[de]:Fe}function Ra(_e){if(Array.isArray(_e))return Ys(_e);var de={};for(var Fe in _e)Tr.call(_e,Fe)&&(de[Fe]=_e[Fe]);return de}function Fo(_e,de){if(!Da(_e))throw new TypeError("Cannot update non-data-structure value: "+_e);if(Ct(_e)){if(!_e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+_e);return _e.remove(de)}if(!Tr.call(_e,de))return _e;var Fe=Ra(_e);return Array.isArray(Fe)?Fe.splice(de,1):delete Fe[de],Fe}function Cs(_e,de,Fe){if(!Da(_e))throw new TypeError("Cannot update non-data-structure value: "+_e);if(Ct(_e)){if(!_e.set)throw new TypeError("Cannot update immutable value without .set() method: "+_e);return _e.set(de,Fe)}if(Tr.call(_e,de)&&Fe===_e[de])return _e;var je=Ra(_e);return je[de]=Fe,je}function Ks(_e,de,Fe,je){je||(je=Fe,Fe=void 0);var lt=nl(Ct(_e),_e,oc(de),0,Fe,je);return lt===e?Fe:lt}function nl(_e,de,Fe,je,lt,Vt){var Ht=de===e;if(je===Fe.length){var wn=Ht?lt:de,ar=Vt(wn);return ar===wn?de:ar}if(!Ht&&!Da(de))throw new TypeError("Cannot update within non-data-structure value in path ["+Fe.slice(0,je).map(Ga)+"]: "+de);var cr=Fe[je],_i=Ht?e:Eo(de,cr,e),ao=nl(_i===e?_e:Ct(_i),_i,Fe,je+1,lt,Vt);return ao===_i?de:ao===e?Fo(de,cr):Cs(Ht?_e?xs():{}:de,cr,ao)}function ml(_e,de,Fe){return Ks(_e,de,e,function(){return Fe})}function ma(_e,de){return ml(this,_e,de)}function Qo(_e,de){return Ks(_e,de,function(){return e})}function Go(_e){return Qo(this,_e)}function ys(_e,de,Fe,je){return Ks(_e,[de],Fe,je)}function rs(_e,de,Fe){return 1===arguments.length?_e(this):ys(this,_e,de,Fe)}function Lo(_e,de,Fe){return Ks(this,_e,de,Fe)}function Br(){for(var _e=[],de=arguments.length;de--;)_e[de]=arguments[de];return _t(this,_e)}function qi(_e){for(var de=[],Fe=arguments.length-1;Fe-- >0;)de[Fe]=arguments[Fe+1];if("function"!=typeof _e)throw new TypeError("Invalid merger function: "+_e);return _t(this,de,_e)}function _t(_e,de,Fe){for(var je=[],lt=0;lt<de.length;lt++){var Vt=Me(de[lt]);0!==Vt.size&&je.push(Vt)}return 0===je.length?_e:0!==_e.toSeq().size||_e.__ownerID||1!==je.length?_e.withMutations(function(Ht){for(var wn=Fe?function(cr,_i){ys(Ht,_i,e,function(ao){return ao===e?cr:Fe(ao,cr,_i)})}:function(cr,_i){Ht.set(_i,cr)},ar=0;ar<je.length;ar++)je[ar].forEach(wn)}):_e.constructor(je[0])}function On(_e){for(var de=[],Fe=arguments.length-1;Fe-- >0;)de[Fe]=arguments[Fe+1];return Ei(_e,de)}function ae(_e,de){for(var Fe=[],je=arguments.length-2;je-- >0;)Fe[je]=arguments[je+2];return Ei(de,Fe,_e)}function We(_e){for(var de=[],Fe=arguments.length-1;Fe-- >0;)de[Fe]=arguments[Fe+1];return yn(_e,de)}function on(_e,de){for(var Fe=[],je=arguments.length-2;je-- >0;)Fe[je]=arguments[je+2];return yn(de,Fe,_e)}function yn(_e,de,Fe){return Ei(_e,de,function Ui(_e){return function de(Fe,je,lt){return Da(Fe)&&Da(je)&&function eo(_e,de){var Fe=sn(_e),je=sn(de);return me(Fe)===me(je)&&ue(Fe)===ue(je)}(Fe,je)?Ei(Fe,[je],de):_e?_e(Fe,je,lt):je}}(Fe))}function Ei(_e,de,Fe){if(!Da(_e))throw new TypeError("Cannot merge into non-data-structure value: "+_e);if(Ct(_e))return"function"==typeof Fe&&_e.mergeWith?_e.mergeWith.apply(_e,[Fe].concat(de)):_e.merge?_e.merge.apply(_e,de):_e.concat.apply(_e,de);for(var je=Array.isArray(_e),lt=_e,Vt=je?yt:Me,Ht=je?function(ar){lt===_e&&(lt=Ra(lt)),lt.push(ar)}:function(ar,cr){var _i=Tr.call(lt,cr),ao=_i&&Fe?Fe(lt[cr],ar,cr):ar;(!_i||ao!==lt[cr])&&(lt===_e&&(lt=Ra(lt)),lt[cr]=ao)},wn=0;wn<de.length;wn++)Vt(de[wn]).forEach(Ht);return lt}function js(){for(var _e=[],de=arguments.length;de--;)_e[de]=arguments[de];return yn(this,_e)}function hs(_e){for(var de=[],Fe=arguments.length-1;Fe-- >0;)de[Fe]=arguments[Fe+1];return yn(this,de,_e)}function ia(_e){for(var de=[],Fe=arguments.length-1;Fe-- >0;)de[Fe]=arguments[Fe+1];return Ks(this,_e,xs(),function(je){return Ei(je,de)})}function ta(_e){for(var de=[],Fe=arguments.length-1;Fe-- >0;)de[Fe]=arguments[Fe+1];return Ks(this,_e,xs(),function(je){return yn(je,de)})}function Ul(_e){var de=this.asMutable();return _e(de),de.wasAltered()?de.__ensureOwner(this.__ownerID):this}function Fl(){return this.__ownerID?this:this.__ensureOwner(new E)}function zc(){return this.__ensureOwner()}function Uu(){return this.__altered}var ru=function(_e){function de(Fe){return null==Fe?xs():cs(Fe)&&!ht(Fe)?Fe:xs().withMutations(function(je){var lt=_e(Fe);Do(lt.size),lt.forEach(function(Vt,Ht){return je.set(Ht,Vt)})})}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.of=function(){for(var je=[],lt=arguments.length;lt--;)je[lt]=arguments[lt];return xs().withMutations(function(Vt){for(var Ht=0;Ht<je.length;Ht+=2){if(Ht+1>=je.length)throw new Error("Missing value for key: "+je[Ht]);Vt.set(je[Ht],je[Ht+1])}})},de.prototype.toString=function(){return this.__toString("Map {","}")},de.prototype.get=function(je,lt){return this._root?this._root.get(0,void 0,je,lt):lt},de.prototype.set=function(je,lt){return Tc(this,je,lt)},de.prototype.remove=function(je){return Tc(this,je,e)},de.prototype.deleteAll=function(je){var lt=Ue(je);return 0===lt.size?this:this.withMutations(function(Vt){lt.forEach(function(Ht){return Vt.remove(Ht)})})},de.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):xs()},de.prototype.sort=function(je){return wo(Cn(this,je))},de.prototype.sortBy=function(je,lt){return wo(Cn(this,lt,je))},de.prototype.map=function(je,lt){var Vt=this;return this.withMutations(function(Ht){Ht.forEach(function(wn,ar){Ht.set(ar,je.call(lt,wn,ar,Vt))})})},de.prototype.__iterator=function(je,lt){return new Sc(this,je,lt)},de.prototype.__iterate=function(je,lt){var Vt=this,Ht=0;return this._root&&this._root.iterate(function(wn){return Ht++,je(wn[1],wn[0],Vt)},lt),Ht},de.prototype.__ensureOwner=function(je){return je===this.__ownerID?this:je?Vc(this.size,this._root,je,this.__hash):0===this.size?xs():(this.__ownerID=je,this.__altered=!1,this)},de}(Me);ru.isMap=cs;var bl=ru.prototype;bl[Bo]=!0,bl[r]=bl.remove,bl.removeAll=bl.deleteAll,bl.setIn=ma,bl.removeIn=bl.deleteIn=Go,bl.update=rs,bl.updateIn=Lo,bl.merge=bl.concat=Br,bl.mergeWith=qi,bl.mergeDeep=js,bl.mergeDeepWith=hs,bl.mergeIn=ia,bl.mergeDeepIn=ta,bl.withMutations=Ul,bl.wasAltered=Uu,bl.asImmutable=zc,bl["@@transducer/init"]=bl.asMutable=Fl,bl["@@transducer/step"]=function(_e,de){return _e.set(de[0],de[1])},bl["@@transducer/result"]=function(_e){return _e.asImmutable()};var Ou=function(de,Fe){this.ownerID=de,this.entries=Fe};Ou.prototype.get=function(de,Fe,je,lt){for(var Vt=this.entries,Ht=0,wn=Vt.length;Ht<wn;Ht++)if(Vi(je,Vt[Ht][0]))return Vt[Ht][1];return lt},Ou.prototype.update=function(de,Fe,je,lt,Vt,Ht,wn){for(var ar=Vt===e,cr=this.entries,_i=0,ao=cr.length;_i<ao&&!Vi(lt,cr[_i][0]);_i++);var gs=_i<ao;if(gs?cr[_i][1]===Vt:ar)return this;if(h(wn),(ar||!gs)&&h(Ht),!ar||1!==cr.length){if(!gs&&!ar&&cr.length>=Xc)return function Cc(_e,de,Fe,je){_e||(_e=new E);for(var lt=new Ec(_e,ke(Fe),[Fe,je]),Vt=0;Vt<de.length;Vt++){var Ht=de[Vt];lt=lt.update(_e,0,void 0,Ht[0],Ht[1])}return lt}(de,cr,lt,Vt);var Wo=de&&de===this.ownerID,Qs=Wo?cr:Ys(cr);return gs?ar?_i===ao-1?Qs.pop():Qs[_i]=Qs.pop():Qs[_i]=[lt,Vt]:Qs.push([lt,Vt]),Wo?(this.entries=Qs,this):new Ou(de,Qs)}};var Za=function(de,Fe,je){this.ownerID=de,this.bitmap=Fe,this.nodes=je};Za.prototype.get=function(de,Fe,je,lt){void 0===Fe&&(Fe=ke(je));var Vt=1<<((0===de?Fe:Fe>>>de)&c),Ht=this.bitmap;return Ht&Vt?this.nodes[za(Ht&Vt-1)].get(de+a,Fe,je,lt):lt},Za.prototype.update=function(de,Fe,je,lt,Vt,Ht,wn){void 0===je&&(je=ke(lt));var ar=(0===Fe?je:je>>>Fe)&c,cr=1<<ar,_i=this.bitmap,ao=0!=(_i&cr);if(!ao&&Vt===e)return this;var gs=za(_i&cr-1),Wo=this.nodes,Qs=ao?Wo[gs]:void 0,Pa=cc(Qs,de,Fe+a,je,lt,Vt,Ht,wn);if(Pa===Qs)return this;if(!ao&&Pa&&Wo.length>=sc)return function Mc(_e,de,Fe,je,lt){for(var Vt=0,Ht=new Array(u),wn=0;0!==Fe;wn++,Fe>>>=1)Ht[wn]=1&Fe?de[Vt++]:void 0;return Ht[je]=lt,new ec(_e,Vt+1,Ht)}(de,Wo,_i,ar,Pa);if(ao&&!Pa&&2===Wo.length&&ka(Wo[1^gs]))return Wo[1^gs];if(ao&&Pa&&1===Wo.length&&ka(Pa))return Pa;var dc=de&&de===this.ownerID,Tu=ao?Pa?_i:_i^cr:_i|cr,nu=ao?Pa?vl(Wo,gs,Pa,dc):function Ua(_e,de,Fe){var je=_e.length-1;if(Fe&&de===je)return _e.pop(),_e;for(var lt=new Array(je),Vt=0,Ht=0;Ht<je;Ht++)Ht===de&&(Vt=1),lt[Ht]=_e[Ht+Vt];return lt}(Wo,gs,dc):function Ka(_e,de,Fe,je){var lt=_e.length+1;if(je&&de+1===lt)return _e[de]=Fe,_e;for(var Vt=new Array(lt),Ht=0,wn=0;wn<lt;wn++)wn===de?(Vt[wn]=Fe,Ht=-1):Vt[wn]=_e[wn+Ht];return Vt}(Wo,gs,Pa,dc);return dc?(this.bitmap=Tu,this.nodes=nu,this):new Za(de,Tu,nu)};var ec=function(de,Fe,je){this.ownerID=de,this.count=Fe,this.nodes=je};ec.prototype.get=function(de,Fe,je,lt){void 0===Fe&&(Fe=ke(je));var Ht=this.nodes[(0===de?Fe:Fe>>>de)&c];return Ht?Ht.get(de+a,Fe,je,lt):lt},ec.prototype.update=function(de,Fe,je,lt,Vt,Ht,wn){void 0===je&&(je=ke(lt));var ar=(0===Fe?je:je>>>Fe)&c,_i=this.nodes,ao=_i[ar];if(Vt===e&&!ao)return this;var gs=cc(ao,de,Fe+a,je,lt,Vt,Ht,wn);if(gs===ao)return this;var Wo=this.count;if(ao){if(!gs&&--Wo<Ba)return function bc(_e,de,Fe,je){for(var lt=0,Vt=0,Ht=new Array(Fe),wn=0,ar=1,cr=de.length;wn<cr;wn++,ar<<=1){var _i=de[wn];void 0!==_i&&wn!==je&&(lt|=ar,Ht[Vt++]=_i)}return new Za(_e,lt,Ht)}(de,_i,Wo,ar)}else Wo++;var Qs=de&&de===this.ownerID,Pa=vl(_i,ar,gs,Qs);return Qs?(this.count=Wo,this.nodes=Pa,this):new ec(de,Wo,Pa)};var wa=function(de,Fe,je){this.ownerID=de,this.keyHash=Fe,this.entries=je};wa.prototype.get=function(de,Fe,je,lt){for(var Vt=this.entries,Ht=0,wn=Vt.length;Ht<wn;Ht++)if(Vi(je,Vt[Ht][0]))return Vt[Ht][1];return lt},wa.prototype.update=function(de,Fe,je,lt,Vt,Ht,wn){void 0===je&&(je=ke(lt));var ar=Vt===e;if(je!==this.keyHash)return ar?this:(h(wn),h(Ht),gl(this,de,Fe,je,[lt,Vt]));for(var cr=this.entries,_i=0,ao=cr.length;_i<ao&&!Vi(lt,cr[_i][0]);_i++);var gs=_i<ao;if(gs?cr[_i][1]===Vt:ar)return this;if(h(wn),(ar||!gs)&&h(Ht),ar&&2===ao)return new Ec(de,this.keyHash,cr[1^_i]);var Wo=de&&de===this.ownerID,Qs=Wo?cr:Ys(cr);return gs?ar?_i===ao-1?Qs.pop():Qs[_i]=Qs.pop():Qs[_i]=[lt,Vt]:Qs.push([lt,Vt]),Wo?(this.entries=Qs,this):new wa(de,this.keyHash,Qs)};var Ec=function(de,Fe,je){this.ownerID=de,this.keyHash=Fe,this.entry=je};Ec.prototype.get=function(de,Fe,je,lt){return Vi(je,this.entry[0])?this.entry[1]:lt},Ec.prototype.update=function(de,Fe,je,lt,Vt,Ht,wn){var ar=Vt===e,cr=Vi(lt,this.entry[0]);return(cr?Vt===this.entry[1]:ar)?this:(h(wn),ar?void h(Ht):cr?de&&de===this.ownerID?(this.entry[1]=Vt,this):new Ec(de,this.keyHash,[lt,Vt]):(h(Ht),gl(this,de,Fe,ke(lt),[lt,Vt])))},Ou.prototype.iterate=wa.prototype.iterate=function(_e,de){for(var Fe=this.entries,je=0,lt=Fe.length-1;je<=lt;je++)if(!1===_e(Fe[de?lt-je:je]))return!1},Za.prototype.iterate=ec.prototype.iterate=function(_e,de){for(var Fe=this.nodes,je=0,lt=Fe.length-1;je<=lt;je++){var Vt=Fe[de?lt-je:je];if(Vt&&!1===Vt.iterate(_e,de))return!1}},Ec.prototype.iterate=function(_e,de){return _e(this.entry)};var cu,Sc=function(_e){function de(Fe,je,lt){this._type=je,this._reverse=lt,this._stack=Fe._root&&Kc(Fe._root)}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.prototype.next=function(){for(var je=this._type,lt=this._stack;lt;){var Vt=lt.node,Ht=lt.index++,wn=void 0;if(Vt.entry){if(0===Ht)return dl(je,Vt.entry)}else if(Vt.entries){if(Ht<=(wn=Vt.entries.length-1))return dl(je,Vt.entries[this._reverse?wn-Ht:Ht])}else if(Ht<=(wn=Vt.nodes.length-1)){var ar=Vt.nodes[this._reverse?wn-Ht:Ht];if(ar){if(ar.entry)return dl(je,ar.entry);lt=this._stack=Kc(ar,lt)}continue}lt=this._stack=this._stack.__prev}return{value:void 0,done:!0}},de}(un);function dl(_e,de){return _n(_e,de[0],de[1])}function Kc(_e,de){return{node:_e,index:0,__prev:de}}function Vc(_e,de,Fe,je){var lt=Object.create(bl);return lt.size=_e,lt._root=de,lt.__ownerID=Fe,lt.__hash=je,lt.__altered=!1,lt}function xs(){return cu||(cu=Vc(0))}function Tc(_e,de,Fe){var je,lt;if(_e._root){var Vt={value:!1},Ht={value:!1};if(je=cc(_e._root,_e.__ownerID,0,void 0,de,Fe,Vt,Ht),!Ht.value)return _e;lt=_e.size+(Vt.value?Fe===e?-1:1:0)}else{if(Fe===e)return _e;lt=1,je=new Ou(_e.__ownerID,[[de,Fe]])}return _e.__ownerID?(_e.size=lt,_e._root=je,_e.__hash=void 0,_e.__altered=!0,_e):je?Vc(lt,je):xs()}function cc(_e,de,Fe,je,lt,Vt,Ht,wn){return _e?_e.update(de,Fe,je,lt,Vt,Ht,wn):Vt===e?_e:(h(wn),h(Ht),new Ec(de,je,[lt,Vt]))}function ka(_e){return _e.constructor===Ec||_e.constructor===wa}function gl(_e,de,Fe,je,lt){if(_e.keyHash===je)return new wa(de,je,[_e.entry,lt]);var wn,Vt=(0===Fe?_e.keyHash:_e.keyHash>>>Fe)&c,Ht=(0===Fe?je:je>>>Fe)&c,ar=Vt===Ht?[gl(_e,de,Fe+a,je,lt)]:(wn=new Ec(de,je,lt),Vt<Ht?[_e,wn]:[wn,_e]);return new Za(de,1<<Vt|1<<Ht,ar)}function za(_e){return _e=(_e=(858993459&(_e-=_e>>1&1431655765))+(_e>>2&858993459))+(_e>>4)&252645135,127&(_e+=_e>>8)+(_e>>16)}function vl(_e,de,Fe,je){var lt=je?_e:Ys(_e);return lt[de]=Fe,lt}var Xc=u/4,sc=u/2,Ba=u/4,Ic="@@__IMMUTABLE_LIST__@@";function Fc(_e){return Boolean(_e&&_e[Ic])}var ba=function(_e){function de(Fe){var je=Zs();if(null==Fe)return je;if(Fc(Fe))return Fe;var lt=_e(Fe),Vt=lt.size;return 0===Vt?je:(Do(Vt),Vt>0&&Vt<u?yl(0,Vt,a,null,new Oc(lt.toArray())):je.withMutations(function(Ht){Ht.setSize(Vt),lt.forEach(function(wn,ar){return Ht.set(ar,wn)})}))}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.of=function(){return this(arguments)},de.prototype.toString=function(){return this.__toString("List [","]")},de.prototype.get=function(je,lt){if((je=D(this,je))>=0&&je<this.size){var Vt=Je(this,je+=this._origin);return Vt&&Vt.array[je&c]}return lt},de.prototype.set=function(je,lt){return function Au(_e,de,Fe){if((de=D(_e,de))!=de)return _e;if(de>=_e.size||de<0)return _e.withMutations(function(Ht){de<0?hn(Ht,de).set(0,Fe):hn(Ht,0,de+1).set(de,Fe)});var je=_e._tail,lt=_e._root,Vt={value:!1};return(de+=_e._origin)>=vi(_e._capacity)?je=St(je,_e.__ownerID,0,de,Fe,Vt):lt=St(lt,_e.__ownerID,_e._level,de,Fe,Vt),Vt.value?_e.__ownerID?(_e._root=lt,_e._tail=je,_e.__hash=void 0,_e.__altered=!0,_e):yl(_e._origin,_e._capacity,_e._level,lt,je):_e}(this,je,lt)},de.prototype.remove=function(je){return this.has(je)?0===je?this.shift():je===this.size-1?this.pop():this.splice(je,1):this},de.prototype.insert=function(je,lt){return this.splice(je,0,lt)},de.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=a,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):Zs()},de.prototype.push=function(){var je=arguments,lt=this.size;return this.withMutations(function(Vt){hn(Vt,0,lt+je.length);for(var Ht=0;Ht<je.length;Ht++)Vt.set(lt+Ht,je[Ht])})},de.prototype.pop=function(){return hn(this,0,-1)},de.prototype.unshift=function(){var je=arguments;return this.withMutations(function(lt){hn(lt,-je.length);for(var Vt=0;Vt<je.length;Vt++)lt.set(Vt,je[Vt])})},de.prototype.shift=function(){return hn(this,1)},de.prototype.concat=function(){for(var je=arguments,lt=[],Vt=0;Vt<arguments.length;Vt++){var Ht=je[Vt],wn=_e("string"!=typeof Ht&&ri(Ht)?Ht:[Ht]);0!==wn.size&&lt.push(wn)}return 0===lt.length?this:0!==this.size||this.__ownerID||1!==lt.length?this.withMutations(function(ar){lt.forEach(function(cr){return cr.forEach(function(_i){return ar.push(_i)})})}):this.constructor(lt[0])},de.prototype.setSize=function(je){return hn(this,0,je)},de.prototype.map=function(je,lt){var Vt=this;return this.withMutations(function(Ht){for(var wn=0;wn<Vt.size;wn++)Ht.set(wn,je.call(lt,Ht.get(wn),wn,Vt))})},de.prototype.slice=function(je,lt){var Vt=this.size;return $(je,lt,Vt)?this:hn(this,Q(je,Vt),U(lt,Vt))},de.prototype.__iterator=function(je,lt){var Vt=lt?this.size:0,Ht=jl(this,lt);return new un(function(){var wn=Ht();return wn===Ac?{value:void 0,done:!0}:_n(je,lt?--Vt:Vt++,wn)})},de.prototype.__iterate=function(je,lt){for(var wn,Vt=lt?this.size:0,Ht=jl(this,lt);(wn=Ht())!==Ac&&!1!==je(wn,lt?--Vt:Vt++,this););return Vt},de.prototype.__ensureOwner=function(je){return je===this.__ownerID?this:je?yl(this._origin,this._capacity,this._level,this._root,this._tail,je,this.__hash):0===this.size?Zs():(this.__ownerID=je,this.__altered=!1,this)},de}(yt);ba.isList=Fc;var Xa=ba.prototype;Xa[Ic]=!0,Xa[r]=Xa.remove,Xa.merge=Xa.concat,Xa.setIn=ma,Xa.deleteIn=Xa.removeIn=Go,Xa.update=rs,Xa.updateIn=Lo,Xa.mergeIn=ia,Xa.mergeDeepIn=ta,Xa.withMutations=Ul,Xa.wasAltered=Uu,Xa.asImmutable=zc,Xa["@@transducer/init"]=Xa.asMutable=Fl,Xa["@@transducer/step"]=function(_e,de){return _e.push(de)},Xa["@@transducer/result"]=function(_e){return _e.asImmutable()};var Oc=function(de,Fe){this.array=de,this.ownerID=Fe};Oc.prototype.removeBefore=function(de,Fe,je){if(je===Fe?1<<Fe:0===this.array.length)return this;var lt=je>>>Fe&c;if(lt>=this.array.length)return new Oc([],de);var Ht,Vt=0===lt;if(Fe>0){var wn=this.array[lt];if((Ht=wn&&wn.removeBefore(de,Fe-a,je))===wn&&Vt)return this}if(Vt&&!Ht)return this;var ar=ut(this,de);if(!Vt)for(var cr=0;cr<lt;cr++)ar.array[cr]=void 0;return Ht&&(ar.array[lt]=Ht),ar},Oc.prototype.removeAfter=function(de,Fe,je){if(je===(Fe?1<<Fe:0)||0===this.array.length)return this;var Vt,lt=je-1>>>Fe&c;if(lt>=this.array.length)return this;if(Fe>0){var Ht=this.array[lt];if((Vt=Ht&&Ht.removeAfter(de,Fe-a,je))===Ht&&lt===this.array.length-1)return this}var wn=ut(this,de);return wn.array.splice(lt+1),Vt&&(wn.array[lt]=Vt),wn};var Dc,Ac={};function jl(_e,de){var Fe=_e._origin,je=_e._capacity,lt=vi(je),Vt=_e._tail;return function Ht(cr,_i,ao){return 0===_i?function wn(cr,_i){var ao=_i===lt?Vt&&Vt.array:cr&&cr.array,gs=_i>Fe?0:Fe-_i,Wo=je-_i;return Wo>u&&(Wo=u),function(){if(gs===Wo)return Ac;var Qs=de?--Wo:gs++;return ao&&ao[Qs]}}(cr,ao):function ar(cr,_i,ao){var gs,Wo=cr&&cr.array,Qs=ao>Fe?0:Fe-ao>>_i,Pa=1+(je-ao>>_i);return Pa>u&&(Pa=u),function(){for(;;){if(gs){var dc=gs();if(dc!==Ac)return dc;gs=null}if(Qs===Pa)return Ac;var Tu=de?--Pa:Qs++;gs=Ht(Wo&&Wo[Tu],_i-a,ao+(Tu<<_i))}}}(cr,_i,ao)}(_e._root,_e._level,0)}function yl(_e,de,Fe,je,lt,Vt,Ht){var wn=Object.create(Xa);return wn.size=de-_e,wn._origin=_e,wn._capacity=de,wn._level=Fe,wn._root=je,wn._tail=lt,wn.__ownerID=Vt,wn.__hash=Ht,wn.__altered=!1,wn}function Zs(){return Dc||(Dc=yl(0,0,a))}function St(_e,de,Fe,je,lt,Vt){var ar,Ht=je>>>Fe&c,wn=_e&&Ht<_e.array.length;if(!wn&&void 0===lt)return _e;if(Fe>0){var cr=_e&&_e.array[Ht],_i=St(cr,de,Fe-a,je,lt,Vt);return _i===cr?_e:((ar=ut(_e,de)).array[Ht]=_i,ar)}return wn&&_e.array[Ht]===lt?_e:(Vt&&h(Vt),ar=ut(_e,de),void 0===lt&&Ht===ar.array.length-1?ar.array.pop():ar.array[Ht]=lt,ar)}function ut(_e,de){return de&&_e&&de===_e.ownerID?_e:new Oc(_e?_e.array.slice():[],de)}function Je(_e,de){if(de>=vi(_e._capacity))return _e._tail;if(de<1<<_e._level+a){for(var Fe=_e._root,je=_e._level;Fe&&je>0;)Fe=Fe.array[de>>>je&c],je-=a;return Fe}}function hn(_e,de,Fe){void 0!==de&&(de|=0),void 0!==Fe&&(Fe|=0);var je=_e.__ownerID||new E,lt=_e._origin,Vt=_e._capacity,Ht=lt+de,wn=void 0===Fe?Vt:Fe<0?Vt+Fe:lt+Fe;if(Ht===lt&&wn===Vt)return _e;if(Ht>=wn)return _e.clear();for(var ar=_e._level,cr=_e._root,_i=0;Ht+_i<0;)cr=new Oc(cr&&cr.array.length?[void 0,cr]:[],je),_i+=1<<(ar+=a);_i&&(Ht+=_i,lt+=_i,wn+=_i,Vt+=_i);for(var ao=vi(Vt),gs=vi(wn);gs>=1<<ar+a;)cr=new Oc(cr&&cr.array.length?[cr]:[],je),ar+=a;var Wo=_e._tail,Qs=gs<ao?Je(_e,wn-1):gs>ao?new Oc([],je):Wo;if(Wo&&gs>ao&&Ht<Vt&&Wo.array.length){for(var Pa=cr=ut(cr,je),dc=ar;dc>a;dc-=a){var Tu=ao>>>dc&c;Pa=Pa.array[Tu]=ut(Pa.array[Tu],je)}Pa.array[ao>>>a&c]=Wo}if(wn<Vt&&(Qs=Qs&&Qs.removeAfter(je,0,wn)),Ht>=gs)Ht-=gs,wn-=gs,ar=a,cr=null,Qs=Qs&&Qs.removeBefore(je,0,Ht);else if(Ht>lt||gs<ao){for(_i=0;cr;){var nu=Ht>>>ar&c;if(nu!==gs>>>ar&c)break;nu&&(_i+=(1<<ar)*nu),ar-=a,cr=cr.array[nu]}cr&&Ht>lt&&(cr=cr.removeBefore(je,ar,Ht-_i)),cr&&gs<ao&&(cr=cr.removeAfter(je,ar,gs-_i)),_i&&(Ht-=_i,wn-=_i)}return _e.__ownerID?(_e.size=wn-Ht,_e._origin=Ht,_e._capacity=wn,_e._level=ar,_e._root=cr,_e._tail=Qs,_e.__hash=void 0,_e.__altered=!0,_e):yl(Ht,wn,ar,cr,Qs)}function vi(_e){return _e<u?0:_e-1>>>a<<a}var Si,wo=function(_e){function de(Fe){return null==Fe?ca():ts(Fe)?Fe:ca().withMutations(function(je){var lt=Me(Fe);Do(lt.size),lt.forEach(function(Vt,Ht){return je.set(Ht,Vt)})})}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.of=function(){return this(arguments)},de.prototype.toString=function(){return this.__toString("OrderedMap {","}")},de.prototype.get=function(je,lt){var Vt=this._map.get(je);return void 0!==Vt?this._list.get(Vt)[1]:lt},de.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):ca()},de.prototype.set=function(je,lt){return Xs(this,je,lt)},de.prototype.remove=function(je){return Xs(this,je,e)},de.prototype.__iterate=function(je,lt){var Vt=this;return this._list.__iterate(function(Ht){return Ht&&je(Ht[1],Ht[0],Vt)},lt)},de.prototype.__iterator=function(je,lt){return this._list.fromEntrySeq().__iterator(je,lt)},de.prototype.__ensureOwner=function(je){if(je===this.__ownerID)return this;var lt=this._map.__ensureOwner(je),Vt=this._list.__ensureOwner(je);return je?Ya(lt,Vt,je,this.__hash):0===this.size?ca():(this.__ownerID=je,this.__altered=!1,this._map=lt,this._list=Vt,this)},de}(ru);function Ya(_e,de,Fe,je){var lt=Object.create(wo.prototype);return lt.size=_e?_e.size:0,lt._map=_e,lt._list=de,lt.__ownerID=Fe,lt.__hash=je,lt.__altered=!1,lt}function ca(){return Si||(Si=Ya(xs(),Zs()))}function Xs(_e,de,Fe){var wn,ar,je=_e._map,lt=_e._list,Vt=je.get(de),Ht=void 0!==Vt;if(Fe===e){if(!Ht)return _e;lt.size>=u&&lt.size>=2*je.size?(wn=(ar=lt.filter(function(cr,_i){return void 0!==cr&&Vt!==_i})).toKeyedSeq().map(function(cr){return cr[0]}).flip().toMap(),_e.__ownerID&&(wn.__ownerID=ar.__ownerID=_e.__ownerID)):(wn=je.remove(de),ar=Vt===lt.size-1?lt.pop():lt.set(Vt,void 0))}else if(Ht){if(Fe===lt.get(Vt)[1])return _e;wn=je,ar=lt.set(Vt,[de,Fe])}else wn=je.set(de,lt.size),ar=lt.set(lt.size,[de,Fe]);return _e.__ownerID?(_e.size=wn.size,_e._map=wn,_e._list=ar,_e.__hash=void 0,_e.__altered=!0,_e):Ya(wn,ar)}wo.isOrderedMap=ts,wo.prototype[Qt]=!0,wo.prototype[r]=wo.prototype.remove;var Rc="@@__IMMUTABLE_STACK__@@";function Zl(_e){return Boolean(_e&&_e[Rc])}var qc=function(_e){function de(Fe){return null==Fe?eu():Zl(Fe)?Fe:eu().pushAll(Fe)}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.of=function(){return this(arguments)},de.prototype.toString=function(){return this.__toString("Stack [","]")},de.prototype.get=function(je,lt){var Vt=this._head;for(je=D(this,je);Vt&&je--;)Vt=Vt.next;return Vt?Vt.value:lt},de.prototype.peek=function(){return this._head&&this._head.value},de.prototype.push=function(){var je=arguments;if(0===arguments.length)return this;for(var lt=this.size+arguments.length,Vt=this._head,Ht=arguments.length-1;Ht>=0;Ht--)Vt={value:je[Ht],next:Vt};return this.__ownerID?(this.size=lt,this._head=Vt,this.__hash=void 0,this.__altered=!0,this):zl(lt,Vt)},de.prototype.pushAll=function(je){if(0===(je=_e(je)).size)return this;if(0===this.size&&Zl(je))return je;Do(je.size);var lt=this.size,Vt=this._head;return je.__iterate(function(Ht){lt++,Vt={value:Ht,next:Vt}},!0),this.__ownerID?(this.size=lt,this._head=Vt,this.__hash=void 0,this.__altered=!0,this):zl(lt,Vt)},de.prototype.pop=function(){return this.slice(1)},de.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):eu()},de.prototype.slice=function(je,lt){if($(je,lt,this.size))return this;var Vt=Q(je,this.size);if(U(lt,this.size)!==this.size)return _e.prototype.slice.call(this,je,lt);for(var wn=this.size-Vt,ar=this._head;Vt--;)ar=ar.next;return this.__ownerID?(this.size=wn,this._head=ar,this.__hash=void 0,this.__altered=!0,this):zl(wn,ar)},de.prototype.__ensureOwner=function(je){return je===this.__ownerID?this:je?zl(this.size,this._head,je,this.__hash):0===this.size?eu():(this.__ownerID=je,this.__altered=!1,this)},de.prototype.__iterate=function(je,lt){var Vt=this;if(lt)return new Lr(this.toArray()).__iterate(function(ar,cr){return je(ar,cr,Vt)},lt);for(var Ht=0,wn=this._head;wn&&!1!==je(wn.value,Ht++,this);)wn=wn.next;return Ht},de.prototype.__iterator=function(je,lt){if(lt)return new Lr(this.toArray()).__iterator(je,lt);var Vt=0,Ht=this._head;return new un(function(){if(Ht){var wn=Ht.value;return Ht=Ht.next,_n(je,Vt++,wn)}return{value:void 0,done:!0}})},de}(yt);qc.isStack=Zl;var Ju,gc=qc.prototype;function zl(_e,de,Fe,je){var lt=Object.create(gc);return lt.size=_e,lt._head=de,lt.__ownerID=Fe,lt.__hash=je,lt.__altered=!1,lt}function eu(){return Ju||(Ju=zl(0))}gc[Rc]=!0,gc.shift=gc.pop,gc.unshift=gc.push,gc.unshiftAll=gc.pushAll,gc.withMutations=Ul,gc.wasAltered=Uu,gc.asImmutable=zc,gc["@@transducer/init"]=gc.asMutable=Fl,gc["@@transducer/step"]=function(_e,de){return _e.unshift(de)},gc["@@transducer/result"]=function(_e){return _e.asImmutable()};var Cu="@@__IMMUTABLE_SET__@@";function uc(_e){return Boolean(_e&&_e[Cu])}function tu(_e){return uc(_e)&&ht(_e)}function Ll(_e,de){if(_e===de)return!0;if(!pe(de)||void 0!==_e.size&&void 0!==de.size&&_e.size!==de.size||void 0!==_e.__hash&&void 0!==de.__hash&&_e.__hash!==de.__hash||ue(_e)!==ue(de)||me(_e)!==me(de)||ht(_e)!==ht(de))return!1;if(0===_e.size&&0===de.size)return!0;var Fe=!Oe(_e);if(ht(_e)){var je=_e.entries();return de.every(function(ar,cr){var _i=je.next().value;return _i&&Vi(_i[1],ar)&&(Fe||Vi(_i[0],cr))})&&je.next().done}var lt=!1;if(void 0===_e.size)if(void 0===de.size)"function"==typeof _e.cacheResult&&_e.cacheResult();else{lt=!0;var Vt=_e;_e=de,de=Vt}var Ht=!0,wn=de.__iterate(function(ar,cr){if(Fe?!_e.has(ar):lt?!Vi(ar,_e.get(cr,e)):!Vi(_e.get(cr,e),ar))return Ht=!1,!1});return Ht&&_e.size===wn}function rl(_e,de){var Fe=function(je){_e.prototype[je]=de[je]};return Object.keys(de).forEach(Fe),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(de).forEach(Fe),_e}function qa(_e){if(!_e||"object"!=typeof _e)return _e;if(!pe(_e)){if(!Da(_e))return _e;_e=sn(_e)}if(ue(_e)){var de={};return _e.__iterate(function(je,lt){de[lt]=qa(je)}),de}var Fe=[];return _e.__iterate(function(je){Fe.push(qa(je))}),Fe}var X=function(_e){function de(Fe){return null==Fe?xn():uc(Fe)&&!ht(Fe)?Fe:xn().withMutations(function(je){var lt=_e(Fe);Do(lt.size),lt.forEach(function(Vt){return je.add(Vt)})})}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.of=function(){return this(arguments)},de.fromKeys=function(je){return this(Me(je).keySeq())},de.intersect=function(je){return(je=Ue(je).toArray()).length?Ce.intersect.apply(de(je.pop()),je):xn()},de.union=function(je){return(je=Ue(je).toArray()).length?Ce.union.apply(de(je.pop()),je):xn()},de.prototype.toString=function(){return this.__toString("Set {","}")},de.prototype.has=function(je){return this._map.has(je)},de.prototype.add=function(je){return gt(this,this._map.set(je,je))},de.prototype.remove=function(je){return gt(this,this._map.remove(je))},de.prototype.clear=function(){return gt(this,this._map.clear())},de.prototype.map=function(je,lt){var Vt=this,Ht=!1,wn=gt(this,this._map.mapEntries(function(ar){var cr=ar[1],_i=je.call(lt,cr,cr,Vt);return _i!==cr&&(Ht=!0),[_i,_i]},lt));return Ht?wn:this},de.prototype.union=function(){for(var je=[],lt=arguments.length;lt--;)je[lt]=arguments[lt];return 0===(je=je.filter(function(Vt){return 0!==Vt.size})).length?this:0!==this.size||this.__ownerID||1!==je.length?this.withMutations(function(Vt){for(var Ht=0;Ht<je.length;Ht++)"string"==typeof je[Ht]?Vt.add(je[Ht]):_e(je[Ht]).forEach(function(wn){return Vt.add(wn)})}):this.constructor(je[0])},de.prototype.intersect=function(){for(var je=[],lt=arguments.length;lt--;)je[lt]=arguments[lt];if(0===je.length)return this;je=je.map(function(Ht){return _e(Ht)});var Vt=[];return this.forEach(function(Ht){je.every(function(wn){return wn.includes(Ht)})||Vt.push(Ht)}),this.withMutations(function(Ht){Vt.forEach(function(wn){Ht.remove(wn)})})},de.prototype.subtract=function(){for(var je=[],lt=arguments.length;lt--;)je[lt]=arguments[lt];if(0===je.length)return this;je=je.map(function(Ht){return _e(Ht)});var Vt=[];return this.forEach(function(Ht){je.some(function(wn){return wn.includes(Ht)})&&Vt.push(Ht)}),this.withMutations(function(Ht){Vt.forEach(function(wn){Ht.remove(wn)})})},de.prototype.sort=function(je){return Ms(Cn(this,je))},de.prototype.sortBy=function(je,lt){return Ms(Cn(this,lt,je))},de.prototype.wasAltered=function(){return this._map.wasAltered()},de.prototype.__iterate=function(je,lt){var Vt=this;return this._map.__iterate(function(Ht){return je(Ht,Ht,Vt)},lt)},de.prototype.__iterator=function(je,lt){return this._map.__iterator(je,lt)},de.prototype.__ensureOwner=function(je){if(je===this.__ownerID)return this;var lt=this._map.__ensureOwner(je);return je?this.__make(lt,je):0===this.size?this.__empty():(this.__ownerID=je,this._map=lt,this)},de}(et);X.isSet=uc;var Gt,Ce=X.prototype;function gt(_e,de){return _e.__ownerID?(_e.size=de.size,_e._map=de,_e):de===_e._map?_e:0===de.size?_e.__empty():_e.__make(de)}function Ke(_e,de){var Fe=Object.create(Ce);return Fe.size=_e?_e.size:0,Fe._map=_e,Fe.__ownerID=de,Fe}function xn(){return Gt||(Gt=Ke(xs()))}Ce[Cu]=!0,Ce[r]=Ce.remove,Ce.merge=Ce.concat=Ce.union,Ce.withMutations=Ul,Ce.asImmutable=zc,Ce["@@transducer/init"]=Ce.asMutable=Fl,Ce["@@transducer/step"]=function(_e,de){return _e.add(de)},Ce["@@transducer/result"]=function(_e){return _e.asImmutable()},Ce.__empty=xn,Ce.__make=Ke;var Fr,lr=function(_e){function de(Fe,je,lt){if(!(this instanceof de))return new de(Fe,je,lt);if(ra(0!==lt,"Cannot step a Range by 0"),Fe=Fe||0,void 0===je&&(je=1/0),lt=void 0===lt?1:Math.abs(lt),je<Fe&&(lt=-lt),this._start=Fe,this._end=je,this._step=lt,this.size=Math.max(0,Math.ceil((je-Fe)/lt-1)+1),0===this.size){if(Fr)return Fr;Fr=this}}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},de.prototype.get=function(je,lt){return this.has(je)?this._start+D(this,je)*this._step:lt},de.prototype.includes=function(je){var lt=(je-this._start)/this._step;return lt>=0&&lt<this.size&&lt===Math.floor(lt)},de.prototype.slice=function(je,lt){return $(je,lt,this.size)?this:(je=Q(je,this.size),(lt=U(lt,this.size))<=je?new de(0,0):new de(this.get(je,this._end),this.get(lt,this._end),this._step))},de.prototype.indexOf=function(je){var lt=je-this._start;if(lt%this._step==0){var Vt=lt/this._step;if(Vt>=0&&Vt<this.size)return Vt}return-1},de.prototype.lastIndexOf=function(je){return this.indexOf(je)},de.prototype.__iterate=function(je,lt){for(var Vt=this.size,Ht=this._step,wn=lt?this._start+(Vt-1)*Ht:this._start,ar=0;ar!==Vt&&!1!==je(wn,lt?Vt-++ar:ar++,this);)wn+=lt?-Ht:Ht;return ar},de.prototype.__iterator=function(je,lt){var Vt=this.size,Ht=this._step,wn=lt?this._start+(Vt-1)*Ht:this._start,ar=0;return new un(function(){if(ar===Vt)return{value:void 0,done:!0};var cr=wn;return wn+=lt?-Ht:Ht,_n(je,lt?Vt-++ar:ar++,cr)})},de.prototype.equals=function(je){return je instanceof de?this._start===je._start&&this._end===je._end&&this._step===je._step:Ll(this,je)},de}(Ln);function Oi(_e,de,Fe){for(var je=oc(de),lt=0;lt!==je.length;)if((_e=Eo(_e,je[lt++],e))===e)return Fe;return _e}function ai(_e,de){return Oi(this,_e,de)}function Dr(_e,de){return Oi(_e,de,e)!==e}function Yo(){Do(this.size);var _e={};return this.__iterate(function(de,Fe){_e[Fe]=de}),_e}Ue.isIterable=pe,Ue.isKeyed=ue,Ue.isIndexed=me,Ue.isAssociative=Oe,Ue.isOrdered=ht,Ue.Iterator=un,rl(Ue,{toArray:function(){Do(this.size);var de=new Array(this.size||0),Fe=ue(this),je=0;return this.__iterate(function(lt,Vt){de[je++]=Fe?[Vt,lt]:lt}),de},toIndexedSeq:function(){return new Kr(this)},toJS:function(){return qa(this)},toKeyedSeq:function(){return new er(this,!0)},toMap:function(){return ru(this.toKeyedSeq())},toObject:Yo,toOrderedMap:function(){return wo(this.toKeyedSeq())},toOrderedSet:function(){return Ms(ue(this)?this.valueSeq():this)},toSet:function(){return X(ue(this)?this.valueSeq():this)},toSetSeq:function(){return new mi(this)},toSeq:function(){return me(this)?this.toIndexedSeq():ue(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qc(ue(this)?this.valueSeq():this)},toList:function(){return ba(ue(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(de,Fe){return 0===this.size?de+Fe:de+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+Fe},concat:function(){for(var de=[],Fe=arguments.length;Fe--;)de[Fe]=arguments[Fe];return xo(this,function As(_e,de){var Fe=ue(_e),je=[_e].concat(de).map(function(Ht){return pe(Ht)?Fe&&(Ht=Me(Ht)):Ht=Fe?Ni(Ht):ji(Array.isArray(Ht)?Ht:[Ht]),Ht}).filter(function(Ht){return 0!==Ht.size});if(0===je.length)return _e;if(1===je.length){var lt=je[0];if(lt===_e||Fe&&ue(lt)||me(_e)&&me(lt))return lt}var Vt=new Lr(je);return Fe?Vt=Vt.toKeyedSeq():me(_e)||(Vt=Vt.toSetSeq()),(Vt=Vt.flatten(!0)).size=je.reduce(function(Ht,wn){if(void 0!==Ht){var ar=wn.size;if(void 0!==ar)return Ht+ar}},0),Vt}(this,de))},includes:function(de){return this.some(function(Fe){return Vi(Fe,de)})},entries:function(){return this.__iterator(bn)},every:function(de,Fe){Do(this.size);var je=!0;return this.__iterate(function(lt,Vt,Ht){if(!de.call(Fe,lt,Vt,Ht))return je=!1,!1}),je},filter:function(de,Fe){return xo(this,Ii(this,de,Fe,!0))},partition:function(de,Fe){return function wi(_e,de,Fe){var je=ue(_e),lt=[[],[]];_e.__iterate(function(Ht,wn){lt[de.call(Fe,Ht,wn,_e)?1:0].push(je?[wn,Ht]:Ht)});var Vt=bs(_e);return lt.map(function(Ht){return xo(_e,Vt(Ht))})}(this,de,Fe)},find:function(de,Fe,je){var lt=this.findEntry(de,Fe);return lt?lt[1]:je},forEach:function(de,Fe){return Do(this.size),this.__iterate(Fe?de.bind(Fe):de)},join:function(de){Do(this.size),de=void 0!==de?""+de:",";var Fe="",je=!0;return this.__iterate(function(lt){je?je=!1:Fe+=de,Fe+=null!=lt?lt.toString():""}),Fe},keys:function(){return this.__iterator(en)},map:function(de,Fe){return xo(this,os(this,de,Fe))},reduce:function(de,Fe,je){return Le(this,de,Fe,je,arguments.length<2,!1)},reduceRight:function(de,Fe,je){return Le(this,de,Fe,je,arguments.length<2,!0)},reverse:function(){return xo(this,hr(this,!0))},slice:function(de,Fe){return xo(this,Gi(this,de,Fe,!0))},some:function(de,Fe){Do(this.size);var je=!1;return this.__iterate(function(lt,Vt,Ht){if(de.call(Fe,lt,Vt,Ht))return je=!0,!1}),je},sort:function(de){return xo(this,Cn(this,de))},values:function(){return this.__iterator(nn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(de,Fe){return T(de?this.toSeq().filter(de,Fe):this)},countBy:function(de,Fe){return function ni(_e,de,Fe){var je=ru().asMutable();return _e.__iterate(function(lt,Vt){je.update(de.call(Fe,lt,Vt,_e),0,function(Ht){return Ht+1})}),je.asImmutable()}(this,de,Fe)},equals:function(de){return Ll(this,de)},entrySeq:function(){var de=this;if(de._cache)return new Lr(de._cache);var Fe=de.toSeq().map(Bt).toIndexedSeq();return Fe.fromEntrySeq=function(){return de.toSeq()},Fe},filterNot:function(de,Fe){return this.filter(Kt(de),Fe)},findEntry:function(de,Fe,je){var lt=je;return this.__iterate(function(Vt,Ht,wn){if(de.call(Fe,Vt,Ht,wn))return lt=[Ht,Vt],!1}),lt},findKey:function(de,Fe){var je=this.findEntry(de,Fe);return je&&je[0]},findLast:function(de,Fe,je){return this.toKeyedSeq().reverse().find(de,Fe,je)},findLastEntry:function(de,Fe,je){return this.toKeyedSeq().reverse().findEntry(de,Fe,je)},findLastKey:function(de,Fe){return this.toKeyedSeq().reverse().findKey(de,Fe)},first:function(de){return this.find(A,null,de)},flatMap:function(de,Fe){return xo(this,function qr(_e,de,Fe){var je=bs(_e);return _e.toSeq().map(function(lt,Vt){return je(de.call(Fe,lt,Vt,_e))}).flatten(!0)}(this,de,Fe))},flatten:function(de){return xo(this,Ls(this,de,!0))},fromEntrySeq:function(){return new gi(this)},get:function(de,Fe){return this.find(function(je,lt){return Vi(lt,de)},void 0,Fe)},getIn:ai,groupBy:function(de,Fe){return function Vr(_e,de,Fe){var je=ue(_e),lt=(ht(_e)?wo():ru()).asMutable();_e.__iterate(function(Ht,wn){lt.update(de.call(Fe,Ht,wn,_e),function(ar){return(ar=ar||[]).push(je?[wn,Ht]:Ht),ar})});var Vt=bs(_e);return lt.map(function(Ht){return xo(_e,Vt(Ht))}).asImmutable()}(this,de,Fe)},has:function(de){return this.get(de,e)!==e},hasIn:function ei(_e){return Dr(this,_e)},isSubset:function(de){return de="function"==typeof de.includes?de:Ue(de),this.every(function(Fe){return de.includes(Fe)})},isSuperset:function(de){return(de="function"==typeof de.isSubset?de:Ue(de)).isSubset(this)},keyOf:function(de){return this.findKey(function(Fe){return Vi(Fe,de)})},keySeq:function(){return this.toSeq().map(Be).toIndexedSeq()},last:function(de){return this.toSeq().reverse().first(de)},lastKeyOf:function(de){return this.toKeyedSeq().reverse().keyOf(de)},max:function(de){return mn(this,de)},maxBy:function(de,Fe){return mn(this,Fe,de)},min:function(de){return mn(this,de?Bn(de):xr)},minBy:function(de,Fe){return mn(this,Fe?Bn(Fe):xr,de)},rest:function(){return this.slice(1)},skip:function(de){return 0===de?this:this.slice(Math.max(0,de))},skipLast:function(de){return 0===de?this:this.slice(0,-Math.max(0,de))},skipWhile:function(de,Fe){return xo(this,Mo(this,de,Fe,!0))},skipUntil:function(de,Fe){return this.skipWhile(Kt(de),Fe)},sortBy:function(de,Fe){return xo(this,Cn(this,Fe,de))},take:function(de){return this.slice(0,Math.max(0,de))},takeLast:function(de){return this.slice(-Math.max(0,de))},takeWhile:function(de,Fe){return xo(this,function Wi(_e,de,Fe){var je=ko(_e);return je.__iterateUncached=function(lt,Vt){var Ht=this;if(Vt)return this.cacheResult().__iterate(lt,Vt);var wn=0;return _e.__iterate(function(ar,cr,_i){return de.call(Fe,ar,cr,_i)&&++wn&&lt(ar,cr,Ht)}),wn},je.__iteratorUncached=function(lt,Vt){var Ht=this;if(Vt)return this.cacheResult().__iterator(lt,Vt);var wn=_e.__iterator(bn,Vt),ar=!0;return new un(function(){if(!ar)return{value:void 0,done:!0};var cr=wn.next();if(cr.done)return cr;var _i=cr.value,ao=_i[0],gs=_i[1];return de.call(Fe,gs,ao,Ht)?lt===bn?cr:_n(lt,ao,gs,cr):(ar=!1,{value:void 0,done:!0})})},je}(this,de,Fe))},takeUntil:function(de,Fe){return this.takeWhile(Kt(de),Fe)},update:function(de){return de(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function fi(_e){if(_e.size===1/0)return 0;var de=ht(_e),Fe=ue(_e),je=de?1:0;return function Xi(_e,de){return de=Pn(de,3432918353),de=Pn(de<<15|de>>>-15,461845907),de=Pn(de<<13|de>>>-13,5),de=Pn((de=(de+3864292196|0)^_e)^de>>>16,2246822507),de=Nn((de=Pn(de^de>>>13,3266489909))^de>>>16)}(_e.__iterate(Fe?de?function(Vt,Ht){je=31*je+So(ke(Vt),ke(Ht))|0}:function(Vt,Ht){je=je+So(ke(Vt),ke(Ht))|0}:de?function(Vt){je=31*je+ke(Vt)|0}:function(Vt){je=je+ke(Vt)|0}),je)}(this))}});var Kn=Ue.prototype;Kn[J]=!0,Kn[Xt]=Kn.values,Kn.toJSON=Kn.toArray,Kn.__toStringMapper=Ga,Kn.inspect=Kn.toSource=function(){return this.toString()},Kn.chain=Kn.flatMap,Kn.contains=Kn.includes,rl(Me,{flip:function(){return xo(this,Jo(this))},mapEntries:function(de,Fe){var je=this,lt=0;return xo(this,this.toSeq().map(function(Vt,Ht){return de.call(Fe,[Ht,Vt],lt++,je)}).fromEntrySeq())},mapKeys:function(de,Fe){var je=this;return xo(this,this.toSeq().flip().map(function(lt,Vt){return de.call(Fe,lt,Vt,je)}).flip())}});var zr=Me.prototype;zr[j]=!0,zr[Xt]=Kn.entries,zr.toJSON=Yo,zr.__toStringMapper=function(_e,de){return Ga(de)+": "+Ga(_e)},rl(yt,{toKeyedSeq:function(){return new er(this,!1)},filter:function(de,Fe){return xo(this,Ii(this,de,Fe,!1))},findIndex:function(de,Fe){var je=this.findEntry(de,Fe);return je?je[0]:-1},indexOf:function(de){var Fe=this.keyOf(de);return void 0===Fe?-1:Fe},lastIndexOf:function(de){var Fe=this.lastKeyOf(de);return void 0===Fe?-1:Fe},reverse:function(){return xo(this,hr(this,!1))},slice:function(de,Fe){return xo(this,Gi(this,de,Fe,!1))},splice:function(de,Fe){var je=arguments.length;if(Fe=Math.max(Fe||0,0),0===je||2===je&&!Fe)return this;de=Q(de,de<0?this.count():this.size);var lt=this.slice(0,de);return xo(this,1===je?lt:lt.concat(Ys(arguments,2),this.slice(de+Fe)))},findLastIndex:function(de,Fe){var je=this.findLastEntry(de,Fe);return je?je[0]:-1},first:function(de){return this.get(0,de)},flatten:function(de){return xo(this,Ls(this,de,!1))},get:function(de,Fe){return(de=D(this,de))<0||this.size===1/0||void 0!==this.size&&de>this.size?Fe:this.find(function(je,lt){return lt===de},void 0,Fe)},has:function(de){return(de=D(this,de))>=0&&(void 0!==this.size?this.size===1/0||de<this.size:-1!==this.indexOf(de))},interpose:function(de){return xo(this,function $r(_e,de){var Fe=ko(_e);return Fe.size=_e.size&&2*_e.size-1,Fe.__iterateUncached=function(je,lt){var Vt=this,Ht=0;return _e.__iterate(function(wn){return(!Ht||!1!==je(de,Ht++,Vt))&&!1!==je(wn,Ht++,Vt)},lt),Ht},Fe.__iteratorUncached=function(je,lt){var wn,Vt=_e.__iterator(nn,lt),Ht=0;return new un(function(){return(!wn||Ht%2)&&(wn=Vt.next()).done?wn:Ht%2?_n(je,Ht++,de):_n(je,Ht++,wn.value,wn)})},Fe}(this,de))},interleave:function(){var de=[this].concat(Ys(arguments)),Fe=Qi(this.toSeq(),Ln.of,de),je=Fe.flatten(!0);return Fe.size&&(je.size=Fe.size*de.length),xo(this,je)},keySeq:function(){return lr(0,this.size)},last:function(de){return this.get(-1,de)},skipWhile:function(de,Fe){return xo(this,Mo(this,de,Fe,!1))},zip:function(){return xo(this,Qi(this,sr,[this].concat(Ys(arguments))))},zipAll:function(){return xo(this,Qi(this,sr,[this].concat(Ys(arguments)),!0))},zipWith:function(de){var Fe=Ys(arguments);return Fe[0]=this,xo(this,Qi(this,de,Fe))}});var Gr=yt.prototype;Gr[ie]=!0,Gr[Qt]=!0,rl(et,{get:function(de,Fe){return this.has(de)?de:Fe},includes:function(de){return this.has(de)},keySeq:function(){return this.valueSeq()}});var ce=et.prototype;function Le(_e,de,Fe,je,lt,Vt){return Do(_e.size),_e.__iterate(function(Ht,wn,ar){lt?(lt=!1,Fe=Ht):Fe=de.call(je,Fe,Ht,wn,ar)},Vt),Fe}function Be(_e,de){return de}function Bt(_e,de){return[de,_e]}function Kt(_e){return function(){return!_e.apply(this,arguments)}}function Bn(_e){return function(){return-_e.apply(this,arguments)}}function sr(){return Ys(arguments)}function xr(_e,de){return _e<de?1:_e>de?-1:0}function So(_e,de){return _e^de+2654435769+(_e<<6)+(_e>>2)|0}ce.has=Kn.includes,ce.contains=ce.includes,ce.keys=ce.values,rl(At,zr),rl(Ln,Gr),rl(rr,ce);var Ms=function(_e){function de(Fe){return null==Fe?ss():tu(Fe)?Fe:ss().withMutations(function(je){var lt=et(Fe);Do(lt.size),lt.forEach(function(Vt){return je.add(Vt)})})}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.of=function(){return this(arguments)},de.fromKeys=function(je){return this(Me(je).keySeq())},de.prototype.toString=function(){return this.__toString("OrderedSet {","}")},de}(X);Ms.isOrderedSet=tu;var Ma,Hs=Ms.prototype;function us(_e,de){var Fe=Object.create(Hs);return Fe.size=_e?_e.size:0,Fe._map=_e,Fe.__ownerID=de,Fe}function ss(){return Ma||(Ma=us(ca()))}Hs[Qt]=!0,Hs.zip=Gr.zip,Hs.zipWith=Gr.zipWith,Hs.zipAll=Gr.zipAll,Hs.__empty=ss,Hs.__make=us;var se={LeftThenRight:-1,RightThenLeft:1},Xe=function(de,Fe){var je;!function Dt(_e){if(bt(_e))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(Ct(_e))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===_e||"object"!=typeof _e)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(de);var lt=function(wn){var ar=this;if(wn instanceof lt)return wn;if(!(this instanceof lt))return new lt(wn);if(!je){je=!0;var cr=Object.keys(de),_i=Vt._indices={};Vt._name=Fe,Vt._keys=cr,Vt._defaultValues=de;for(var ao=0;ao<cr.length;ao++){var gs=cr[ao];_i[gs]=ao,Vt[gs]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+ii(this)+' with property "'+gs+'" since that property name is part of the Record API.'):qo(Vt,gs)}}return this.__ownerID=void 0,this._values=ba().withMutations(function(Wo){Wo.setSize(ar._keys.length),Me(wn).forEach(function(Qs,Pa){Wo.set(ar._indices[Pa],Qs===ar._defaultValues[Pa]?void 0:Qs)})}),this},Vt=lt.prototype=Object.create(rn);return Vt.constructor=lt,Fe&&(lt.displayName=Fe),lt};Xe.prototype.toString=function(){for(var je,de=ii(this)+" { ",Fe=this._keys,lt=0,Vt=Fe.length;lt!==Vt;lt++)de+=(lt?", ":"")+(je=Fe[lt])+": "+Ga(this.get(je));return de+" }"},Xe.prototype.equals=function(de){return this===de||bt(de)&&Ai(this).equals(Ai(de))},Xe.prototype.hashCode=function(){return Ai(this).hashCode()},Xe.prototype.has=function(de){return this._indices.hasOwnProperty(de)},Xe.prototype.get=function(de,Fe){if(!this.has(de))return Fe;var lt=this._values.get(this._indices[de]);return void 0===lt?this._defaultValues[de]:lt},Xe.prototype.set=function(de,Fe){if(this.has(de)){var je=this._values.set(this._indices[de],Fe===this._defaultValues[de]?void 0:Fe);if(je!==this._values&&!this.__ownerID)return zn(this,je)}return this},Xe.prototype.remove=function(de){return this.set(de)},Xe.prototype.clear=function(){var de=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:zn(this,de)},Xe.prototype.wasAltered=function(){return this._values.wasAltered()},Xe.prototype.toSeq=function(){return Ai(this)},Xe.prototype.toJS=function(){return qa(this)},Xe.prototype.entries=function(){return this.__iterator(bn)},Xe.prototype.__iterator=function(de,Fe){return Ai(this).__iterator(de,Fe)},Xe.prototype.__iterate=function(de,Fe){return Ai(this).__iterate(de,Fe)},Xe.prototype.__ensureOwner=function(de){if(de===this.__ownerID)return this;var Fe=this._values.__ensureOwner(de);return de?zn(this,Fe,de):(this.__ownerID=de,this._values=Fe,this)},Xe.isRecord=bt,Xe.getDescriptiveName=ii;var rn=Xe.prototype;function zn(_e,de,Fe){var je=Object.create(Object.getPrototypeOf(_e));return je._values=de,je.__ownerID=Fe,je}function ii(_e){return _e.constructor.displayName||_e.constructor.name||"Record"}function Ai(_e){return Ni(_e._keys.map(function(de){return[de,_e.get(de)]}))}function qo(_e,de){try{Object.defineProperty(_e,de,{get:function(){return this.get(de)},set:function(Fe){ra(this.__ownerID,"Cannot set on an immutable record."),this.set(de,Fe)}})}catch{}}rn[ze]=!0,rn[r]=rn.remove,rn.deleteIn=rn.removeIn=Go,rn.getIn=ai,rn.hasIn=Kn.hasIn,rn.merge=Br,rn.mergeWith=qi,rn.mergeIn=ia,rn.mergeDeep=js,rn.mergeDeepWith=hs,rn.mergeDeepIn=ta,rn.setIn=ma,rn.update=rs,rn.updateIn=Lo,rn.withMutations=Ul,rn.asMutable=Fl,rn.asImmutable=zc,rn[Xt]=rn.entries,rn.toJSON=rn.toObject=Kn.toObject,rn.inspect=rn.toSource=function(){return this.toString()};var oa,as=function(_e){function de(Fe,je){if(!(this instanceof de))return new de(Fe,je);if(this._value=Fe,this.size=void 0===je?1/0:Math.max(0,je),0===this.size){if(oa)return oa;oa=this}}return _e&&(de.__proto__=_e),(de.prototype=Object.create(_e&&_e.prototype)).constructor=de,de.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},de.prototype.get=function(je,lt){return this.has(je)?this._value:lt},de.prototype.includes=function(je){return Vi(this._value,je)},de.prototype.slice=function(je,lt){var Vt=this.size;return $(je,lt,Vt)?this:new de(this._value,U(lt,Vt)-Q(je,Vt))},de.prototype.reverse=function(){return this},de.prototype.indexOf=function(je){return Vi(this._value,je)?0:-1},de.prototype.lastIndexOf=function(je){return Vi(this._value,je)?this.size:-1},de.prototype.__iterate=function(je,lt){for(var Vt=this.size,Ht=0;Ht!==Vt&&!1!==je(this._value,lt?Vt-++Ht:Ht++,this););return Ht},de.prototype.__iterator=function(je,lt){var Vt=this,Ht=this.size,wn=0;return new un(function(){return wn===Ht?{value:void 0,done:!0}:_n(je,lt?Ht-++wn:wn++,Vt._value)})},de.prototype.equals=function(je){return je instanceof de?Vi(this._value,je._value):Ll(je)},de}(Ln);function ks(_e,de){return Ds([],de||Bl,_e,"",de&&de.length>2?[]:void 0,{"":_e})}function Ds(_e,de,Fe,je,lt,Vt){if("string"!=typeof Fe&&!Ct(Fe)&&(ft(Fe)||ri(Fe)||tl(Fe))){if(~_e.indexOf(Fe))throw new TypeError("Cannot convert circular structure to Immutable");_e.push(Fe),lt&&""!==je&&lt.push(je);var Ht=de.call(Vt,je,sn(Fe).map(function(wn,ar){return Ds(_e,de,wn,ar,lt,Fe)}),lt&&lt.slice());return _e.pop(),lt&&lt.pop(),Ht}return Fe}function Bl(_e,de){return me(de)?de.toList():ue(de)?de.toMap():de.toSet()}var ja="4.3.5",ac=Ue;const Bc={version:ja,Collection:Ue,Iterable:Ue,Seq:sn,Map:ru,OrderedMap:wo,List:ba,Stack:qc,Set:X,OrderedSet:Ms,PairSorting:se,Record:Xe,Range:lr,Repeat:as,is:Vi,fromJS:ks,hash:ke,isImmutable:Ct,isCollection:pe,isKeyed:ue,isIndexed:me,isAssociative:Oe,isOrdered:ht,isValueObject:io,isPlainObject:tl,isSeq:Et,isList:Fc,isMap:cs,isOrderedMap:ts,isStack:Zl,isSet:uc,isOrderedSet:tu,isRecord:bt,get:Eo,getIn:Oi,has:Pl,hasIn:Dr,merge:On,mergeDeep:We,mergeWith:ae,mergeDeepWith:on,remove:Fo,removeIn:Qo,set:Cs,setIn:ml,update:ys,updateIn:Ks}},74299:y=>{y.exports=function(b,o,r,a){var c=new Blob(typeof a<"u"?[a,b]:[b],{type:r||"application/octet-stream"});if(typeof window.navigator.msSaveBlob<"u")window.navigator.msSaveBlob(c,o);else{var e=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(c):window.webkitURL.createObjectURL(c),f=document.createElement("a");f.style.display="none",f.href=e,f.setAttribute("download",o),typeof f.download>"u"&&f.setAttribute("target","_blank"),document.body.appendChild(f),f.click(),setTimeout(function(){document.body.removeChild(f),window.URL.revokeObjectURL(e)},200)}}},86906:y=>{var o=NaN,r="[object Symbol]",a=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,e=/^0o[0-7]+$/i,f=parseInt,h="object"==typeof global&&global&&global.Object===Object&&global,E="object"==typeof self&&self&&self.Object===Object&&self,T=h||E||Function("return this")(),A=Object.prototype.toString,$=Math.max,Q=Math.min,U=function(){return T.Date.now()};function L(ue){var ie=typeof ue;return!!ue&&("object"==ie||"function"==ie)}function j(ue){if("number"==typeof ue)return ue;if(function pe(ue){return"symbol"==typeof ue||function J(ue){return!!ue&&"object"==typeof ue}(ue)&&A.call(ue)==r}(ue))return o;if(L(ue)){var ie="function"==typeof ue.valueOf?ue.valueOf():ue;ue=L(ie)?ie+"":ie}if("string"!=typeof ue)return 0===ue?ue:+ue;ue=ue.replace(a,"");var me=c.test(ue);return me||e.test(ue)?f(ue.slice(2),me?2:8):u.test(ue)?o:+ue}y.exports=function q(ue,ie,me){var Oe,Ue,Me,yt,et,tt,Et=0,ze=!1,bt=!1,Ct=!0;if("function"!=typeof ue)throw new TypeError("Expected a function");function Qt(_n){var kn=Oe,ri=Ue;return Oe=Ue=void 0,Et=_n,yt=ue.apply(ri,kn)}function nn(_n){var kn=_n-tt;return void 0===tt||kn>=ie||kn<0||bt&&_n-Et>=Me}function bn(){var _n=U();if(nn(_n))return Dn(_n);et=setTimeout(bn,function en(_n){var Ir=ie-(_n-tt);return bt?Q(Ir,Me-(_n-Et)):Ir}(_n))}function Dn(_n){return et=void 0,Ct&&Oe?Qt(_n):(Oe=Ue=void 0,yt)}function un(){var _n=U(),kn=nn(_n);if(Oe=arguments,Ue=this,tt=_n,kn){if(void 0===et)return function ht(_n){return Et=_n,et=setTimeout(bn,ie),ze?Qt(_n):yt}(tt);if(bt)return et=setTimeout(bn,ie),Qt(tt)}return void 0===et&&(et=setTimeout(bn,ie)),yt}return ie=j(ie)||0,L(me)&&(ze=!!me.leading,Me=(bt="maxWait"in me)?$(j(me.maxWait)||0,ie):Me,Ct="trailing"in me?!!me.trailing:Ct),un.cancel=function Rt(){void 0!==et&&clearTimeout(et),Et=0,Oe=tt=Ue=et=void 0},un.flush=function Xt(){return void 0===et?yt:Dn(U())},un}},6123:y=>{var b="Expected a function",o=NaN,r="[object Symbol]",a=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,e=/^0o[0-7]+$/i,f=parseInt,h="object"==typeof global&&global&&global.Object===Object&&global,E="object"==typeof self&&self&&self.Object===Object&&self,T=h||E||Function("return this")(),A=Object.prototype.toString,$=Math.max,Q=Math.min,U=function(){return T.Date.now()};function J(ie){var me=typeof ie;return!!ie&&("object"==me||"function"==me)}function ue(ie){if("number"==typeof ie)return ie;if(function j(ie){return"symbol"==typeof ie||function pe(ie){return!!ie&&"object"==typeof ie}(ie)&&A.call(ie)==r}(ie))return o;if(J(ie)){var me="function"==typeof ie.valueOf?ie.valueOf():ie;ie=J(me)?me+"":me}if("string"!=typeof ie)return 0===ie?ie:+ie;ie=ie.replace(a,"");var Oe=c.test(ie);return Oe||e.test(ie)?f(ie.slice(2),Oe?2:8):u.test(ie)?o:+ie}y.exports=function L(ie,me,Oe){var Ue=!0,Me=!0;if("function"!=typeof ie)throw new TypeError(b);return J(Oe)&&(Ue="leading"in Oe?!!Oe.leading:Ue,Me="trailing"in Oe?!!Oe.trailing:Me),function q(ie,me,Oe){var Ue,Me,yt,et,tt,Et,ze=0,bt=!1,Ct=!1,Qt=!0;if("function"!=typeof ie)throw new TypeError(b);function ht(kn){var ri=Ue,Ir=Me;return Ue=Me=void 0,ze=kn,et=ie.apply(Ir,ri)}function bn(kn){var ri=kn-Et;return void 0===Et||ri>=me||ri<0||Ct&&kn-ze>=yt}function Dn(){var kn=U();if(bn(kn))return Rt(kn);tt=setTimeout(Dn,function nn(kn){var wr=me-(kn-Et);return Ct?Q(wr,yt-(kn-ze)):wr}(kn))}function Rt(kn){return tt=void 0,Qt&&Ue?ht(kn):(Ue=Me=void 0,et)}function _n(){var kn=U(),ri=bn(kn);if(Ue=arguments,Me=this,Et=kn,ri){if(void 0===tt)return function en(kn){return ze=kn,tt=setTimeout(Dn,me),bt?ht(kn):et}(Et);if(Ct)return tt=setTimeout(Dn,me),ht(Et)}return void 0===tt&&(tt=setTimeout(Dn,me)),et}return me=ue(me)||0,J(Oe)&&(bt=!!Oe.leading,yt=(Ct="maxWait"in Oe)?$(ue(Oe.maxWait)||0,me):yt,Qt="trailing"in Oe?!!Oe.trailing:Qt),_n.cancel=function Xt(){void 0!==tt&&clearTimeout(tt),ze=0,Ue=Et=Me=tt=void 0},_n.flush=function un(){return void 0===tt?et:Rt(U())},_n}(ie,me,{leading:Ue,maxWait:me,trailing:Me})}},81235:(y,b,o)=>{var u=o(4153)(o(27038),"DataView");y.exports=u},41505:(y,b,o)=>{var r=o(59410),a=o(21143),u=o(604),c=o(80584),e=o(7792);function f(h){var E=-1,T=null==h?0:h.length;for(this.clear();++E<T;){var D=h[E];this.set(D[0],D[1])}}f.prototype.clear=r,f.prototype.delete=a,f.prototype.get=u,f.prototype.has=c,f.prototype.set=e,y.exports=f},73545:(y,b,o)=>{var r=o(63391),a=o(68971),u=o(18858),c=o(13913),e=o(68944);function f(h){var E=-1,T=null==h?0:h.length;for(this.clear();++E<T;){var D=h[E];this.set(D[0],D[1])}}f.prototype.clear=r,f.prototype.delete=a,f.prototype.get=u,f.prototype.has=c,f.prototype.set=e,y.exports=f},39046:(y,b,o)=>{var u=o(4153)(o(27038),"Map");y.exports=u},93177:(y,b,o)=>{var r=o(70536),a=o(61502),u=o(94960),c=o(61539),e=o(34138);function f(h){var E=-1,T=null==h?0:h.length;for(this.clear();++E<T;){var D=h[E];this.set(D[0],D[1])}}f.prototype.clear=r,f.prototype.delete=a,f.prototype.get=u,f.prototype.has=c,f.prototype.set=e,y.exports=f},97129:(y,b,o)=>{var u=o(4153)(o(27038),"Promise");y.exports=u},74918:(y,b,o)=>{var u=o(4153)(o(27038),"Set");y.exports=u},48690:(y,b,o)=>{var r=o(93177),a=o(30365),u=o(58235);function c(e){var f=-1,h=null==e?0:e.length;for(this.__data__=new r;++f<h;)this.add(e[f])}c.prototype.add=c.prototype.push=a,c.prototype.has=u,y.exports=c},33667:(y,b,o)=>{var r=o(73545),a=o(18034),u=o(37238),c=o(75887),e=o(81450),f=o(61386);function h(E){var T=this.__data__=new r(E);this.size=T.size}h.prototype.clear=a,h.prototype.delete=u,h.prototype.get=c,h.prototype.has=e,h.prototype.set=f,y.exports=h},57333:(y,b,o)=>{var r=o(27038);y.exports=r.Symbol},96820:(y,b,o)=>{var r=o(27038);y.exports=r.Uint8Array},54203:(y,b,o)=>{var u=o(4153)(o(27038),"WeakMap");y.exports=u},81638:y=>{y.exports=function b(o,r,a){switch(a.length){case 0:return o.call(r);case 1:return o.call(r,a[0]);case 2:return o.call(r,a[0],a[1]);case 3:return o.call(r,a[0],a[1],a[2])}return o.apply(r,a)}},4500:y=>{y.exports=function b(o,r){for(var a=-1,u=null==o?0:o.length;++a<u&&!1!==r(o[a],a,o););return o}},11375:y=>{y.exports=function b(o,r){for(var a=-1,u=null==o?0:o.length,c=0,e=[];++a<u;){var f=o[a];r(f,a,o)&&(e[c++]=f)}return e}},71890:(y,b,o)=>{var r=o(48282),a=o(2952),u=o(81690),c=o(84444),e=o(20968),f=o(47679),E=Object.prototype.hasOwnProperty;y.exports=function T(D,A){var $=u(D),Q=!$&&a(D),U=!$&&!Q&&c(D),q=!$&&!Q&&!U&&f(D),L=$||Q||U||q,J=L?r(D.length,String):[],pe=J.length;for(var j in D)(A||E.call(D,j))&&(!L||!("length"==j||U&&("offset"==j||"parent"==j)||q&&("buffer"==j||"byteLength"==j||"byteOffset"==j)||e(j,pe)))&&J.push(j);return J}},14992:y=>{y.exports=function b(o,r){for(var a=-1,u=null==o?0:o.length,c=Array(u);++a<u;)c[a]=r(o[a],a,o);return c}},94165:y=>{y.exports=function b(o,r){for(var a=-1,u=r.length,c=o.length;++a<u;)o[c+a]=r[a];return o}},89731:y=>{y.exports=function b(o,r,a,u){var c=-1,e=null==o?0:o.length;for(u&&e&&(a=o[++c]);++c<e;)a=r(a,o[c],c,o);return a}},8141:y=>{y.exports=function b(o,r){for(var a=-1,u=null==o?0:o.length;++a<u;)if(r(o[a],a,o))return!0;return!1}},87280:y=>{y.exports=function b(o){return o.split("")}},54561:y=>{var b=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;y.exports=function o(r){return r.match(b)||[]}},63530:(y,b,o)=>{var r=o(92007),a=o(71166);y.exports=function u(c,e,f){(void 0!==f&&!a(c[e],f)||void 0===f&&!(e in c))&&r(c,e,f)}},23898:(y,b,o)=>{var r=o(92007),a=o(71166),c=Object.prototype.hasOwnProperty;y.exports=function e(f,h,E){var T=f[h];(!c.call(f,h)||!a(T,E)||void 0===E&&!(h in f))&&r(f,h,E)}},15758:(y,b,o)=>{var r=o(71166);y.exports=function a(u,c){for(var e=u.length;e--;)if(r(u[e][0],c))return e;return-1}},22067:(y,b,o)=>{var r=o(11694),a=o(59108);y.exports=function u(c,e){return c&&r(e,a(e),c)}},57836:(y,b,o)=>{var r=o(11694),a=o(42970);y.exports=function u(c,e){return c&&r(e,a(e),c)}},92007:(y,b,o)=>{var r=o(20395);y.exports=function a(u,c,e){"__proto__"==c&&r?r(u,c,{configurable:!0,enumerable:!0,value:e,writable:!0}):u[c]=e}},77007:(y,b,o)=>{var r=o(33667),a=o(4500),u=o(23898),c=o(22067),e=o(57836),f=o(50694),h=o(53595),E=o(14746),T=o(78857),D=o(58605),A=o(51675),$=o(26663),Q=o(62963),U=o(32143),q=o(31563),L=o(81690),J=o(84444),pe=o(32e3),j=o(53867),ue=o(48855),ie=o(59108),me=o(42970),yt="[object Arguments]",bt="[object Function]",en="[object Object]",sn={};sn[yt]=sn["[object Array]"]=sn["[object ArrayBuffer]"]=sn["[object DataView]"]=sn["[object Boolean]"]=sn["[object Date]"]=sn["[object Float32Array]"]=sn["[object Float64Array]"]=sn["[object Int8Array]"]=sn["[object Int16Array]"]=sn["[object Int32Array]"]=sn["[object Map]"]=sn["[object Number]"]=sn[en]=sn["[object RegExp]"]=sn["[object Set]"]=sn["[object String]"]=sn["[object Symbol]"]=sn["[object Uint8Array]"]=sn["[object Uint8ClampedArray]"]=sn["[object Uint16Array]"]=sn["[object Uint32Array]"]=!0,sn["[object Error]"]=sn[bt]=sn["[object WeakMap]"]=!1,y.exports=function At(Ln,rr,Lr,Fi,so,Vo){var Xr,Ni=1&rr,ji=2&rr,jr=4&rr;if(Lr&&(Xr=so?Lr(Ln,Fi,so,Vo):Lr(Ln)),void 0!==Xr)return Xr;if(!j(Ln))return Ln;var Pr=L(Ln);if(Pr){if(Xr=Q(Ln),!Ni)return h(Ln,Xr)}else{var Bo=$(Ln),cs=Bo==bt||"[object GeneratorFunction]"==Bo;if(J(Ln))return f(Ln,Ni);if(Bo==en||Bo==yt||cs&&!so){if(Xr=ji||cs?{}:q(Ln),!Ni)return ji?T(Ln,e(Xr,Ln)):E(Ln,c(Xr,Ln))}else{if(!sn[Bo])return so?Ln:{};Xr=U(Ln,Bo,Ni)}}Vo||(Vo=new r);var ts=Vo.get(Ln);if(ts)return ts;Vo.set(Ln,Xr),ue(Ln)?Ln.forEach(function(Pn){Xr.add(At(Pn,rr,Lr,Pn,Ln,Vo))}):pe(Ln)&&Ln.forEach(function(Pn,Nn){Xr.set(Nn,At(Pn,rr,Lr,Nn,Ln,Vo))});var Vi=Pr?void 0:(jr?ji?A:D:ji?me:ie)(Ln);return a(Vi||Ln,function(Pn,Nn){Vi&&(Pn=Ln[Nn=Pn]),u(Xr,Nn,At(Pn,rr,Lr,Nn,Ln,Vo))}),Xr}},60920:(y,b,o)=>{var r=o(53867),a=Object.create,u=function(){function c(){}return function(e){if(!r(e))return{};if(a)return a(e);c.prototype=e;var f=new c;return c.prototype=void 0,f}}();y.exports=u},59026:(y,b,o)=>{var r=o(18022),u=o(99889)(r);y.exports=u},12229:y=>{y.exports=function b(o,r,a,u){for(var c=o.length,e=a+(u?1:-1);u?e--:++e<c;)if(r(o[e],e,o))return e;return-1}},56369:(y,b,o)=>{var r=o(94165),a=o(21006);y.exports=function u(c,e,f,h,E){var T=-1,D=c.length;for(f||(f=a),E||(E=[]);++T<D;){var A=c[T];e>0&&f(A)?e>1?u(A,e-1,f,h,E):r(E,A):h||(E[E.length]=A)}return E}},75290:(y,b,o)=>{var a=o(8269)();y.exports=a},18022:(y,b,o)=>{var r=o(75290),a=o(59108);y.exports=function u(c,e){return c&&r(c,e,a)}},93436:(y,b,o)=>{var r=o(64667),a=o(82773);y.exports=function u(c,e){for(var f=0,h=(e=r(e,c)).length;null!=c&&f<h;)c=c[a(e[f++])];return f&&f==h?c:void 0}},19215:(y,b,o)=>{var r=o(94165),a=o(81690);y.exports=function u(c,e,f){var h=e(c);return a(c)?h:r(h,f(c))}},72802:(y,b,o)=>{var r=o(57333),a=o(21613),u=o(81244),f=r?r.toStringTag:void 0;y.exports=function h(E){return null==E?void 0===E?"[object Undefined]":"[object Null]":f&&f in Object(E)?a(E):u(E)}},55333:y=>{y.exports=function b(o,r){return null!=o&&r in Object(o)}},77090:(y,b,o)=>{var r=o(72802),a=o(27503);y.exports=function c(e){return a(e)&&"[object Arguments]"==r(e)}},30696:(y,b,o)=>{var r=o(36863),a=o(27503);y.exports=function u(c,e,f,h,E){return c===e||(null==c||null==e||!a(c)&&!a(e)?c!=c&&e!=e:r(c,e,f,h,u,E))}},36863:(y,b,o)=>{var r=o(33667),a=o(27667),u=o(64630),c=o(70838),e=o(26663),f=o(81690),h=o(84444),E=o(47679),D="[object Arguments]",A="[object Array]",$="[object Object]",U=Object.prototype.hasOwnProperty;y.exports=function q(L,J,pe,j,ue,ie){var me=f(L),Oe=f(J),Ue=me?A:e(L),Me=Oe?A:e(J),yt=(Ue=Ue==D?$:Ue)==$,et=(Me=Me==D?$:Me)==$,tt=Ue==Me;if(tt&&h(L)){if(!h(J))return!1;me=!0,yt=!1}if(tt&&!yt)return ie||(ie=new r),me||E(L)?a(L,J,pe,j,ue,ie):u(L,J,Ue,pe,j,ue,ie);if(!(1&pe)){var Et=yt&&U.call(L,"__wrapped__"),ze=et&&U.call(J,"__wrapped__");if(Et||ze){var bt=Et?L.value():L,Ct=ze?J.value():J;return ie||(ie=new r),ue(bt,Ct,pe,j,ie)}}return!!tt&&(ie||(ie=new r),c(L,J,pe,j,ue,ie))}},63434:(y,b,o)=>{var r=o(26663),a=o(27503);y.exports=function c(e){return a(e)&&"[object Map]"==r(e)}},88783:(y,b,o)=>{var r=o(33667),a=o(30696);y.exports=function e(f,h,E,T){var D=E.length,A=D,$=!T;if(null==f)return!A;for(f=Object(f);D--;){var Q=E[D];if($&&Q[2]?Q[1]!==f[Q[0]]:!(Q[0]in f))return!1}for(;++D<A;){var U=(Q=E[D])[0],q=f[U],L=Q[1];if($&&Q[2]){if(void 0===q&&!(U in f))return!1}else{var J=new r;if(T)var pe=T(q,L,U,f,h,J);if(!(void 0===pe?a(L,q,3,T,J):pe))return!1}}return!0}},43540:(y,b,o)=>{var r=o(55836),a=o(38466),u=o(53867),c=o(51217),f=/^\[object .+?Constructor\]$/,A=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");y.exports=function $(Q){return!(!u(Q)||a(Q))&&(r(Q)?A:f).test(c(Q))}},67495:(y,b,o)=>{var r=o(26663),a=o(27503);y.exports=function c(e){return a(e)&&"[object Set]"==r(e)}},99390:(y,b,o)=>{var r=o(72802),a=o(8613),u=o(27503),tt={};tt["[object Float32Array]"]=tt["[object Float64Array]"]=tt["[object Int8Array]"]=tt["[object Int16Array]"]=tt["[object Int32Array]"]=tt["[object Uint8Array]"]=tt["[object Uint8ClampedArray]"]=tt["[object Uint16Array]"]=tt["[object Uint32Array]"]=!0,tt["[object Arguments]"]=tt["[object Array]"]=tt["[object ArrayBuffer]"]=tt["[object Boolean]"]=tt["[object DataView]"]=tt["[object Date]"]=tt["[object Error]"]=tt["[object Function]"]=tt["[object Map]"]=tt["[object Number]"]=tt["[object Object]"]=tt["[object RegExp]"]=tt["[object Set]"]=tt["[object String]"]=tt["[object WeakMap]"]=!1,y.exports=function Et(ze){return u(ze)&&a(ze.length)&&!!tt[r(ze)]}},5245:(y,b,o)=>{var r=o(69433),a=o(68608),u=o(80290),c=o(81690),e=o(63354);y.exports=function f(h){return"function"==typeof h?h:null==h?u:"object"==typeof h?c(h)?a(h[0],h[1]):r(h):e(h)}},92488:(y,b,o)=>{var r=o(58845),a=o(36700),c=Object.prototype.hasOwnProperty;y.exports=function e(f){if(!r(f))return a(f);var h=[];for(var E in Object(f))c.call(f,E)&&"constructor"!=E&&h.push(E);return h}},50762:(y,b,o)=>{var r=o(53867),a=o(58845),u=o(25618),e=Object.prototype.hasOwnProperty;y.exports=function f(h){if(!r(h))return u(h);var E=a(h),T=[];for(var D in h)"constructor"==D&&(E||!e.call(h,D))||T.push(D);return T}},69433:(y,b,o)=>{var r=o(88783),a=o(48834),u=o(63587);y.exports=function c(e){var f=a(e);return 1==f.length&&f[0][2]?u(f[0][0],f[0][1]):function(h){return h===e||r(h,e,f)}}},68608:(y,b,o)=>{var r=o(30696),a=o(58102),u=o(18303),c=o(99743),e=o(45774),f=o(63587),h=o(82773);y.exports=function D(A,$){return c(A)&&e($)?f(h(A),$):function(Q){var U=a(Q,A);return void 0===U&&U===$?u(Q,A):r($,U,3)}}},9085:(y,b,o)=>{var r=o(33667),a=o(63530),u=o(75290),c=o(23607),e=o(53867),f=o(42970),h=o(45959);y.exports=function E(T,D,A,$,Q){T!==D&&u(D,function(U,q){if(Q||(Q=new r),e(U))c(T,D,q,A,E,$,Q);else{var L=$?$(h(T,q),U,q+"",T,D,Q):void 0;void 0===L&&(L=U),a(T,q,L)}},f)}},23607:(y,b,o)=>{var r=o(63530),a=o(50694),u=o(96282),c=o(53595),e=o(31563),f=o(2952),h=o(81690),E=o(82027),T=o(84444),D=o(55836),A=o(53867),$=o(82358),Q=o(47679),U=o(45959),q=o(31413);y.exports=function L(J,pe,j,ue,ie,me,Oe){var Ue=U(J,j),Me=U(pe,j),yt=Oe.get(Me);if(yt)r(J,j,yt);else{var et=me?me(Ue,Me,j+"",J,pe,Oe):void 0,tt=void 0===et;if(tt){var Et=h(Me),ze=!Et&&T(Me),bt=!Et&&!ze&&Q(Me);et=Me,Et||ze||bt?h(Ue)?et=Ue:E(Ue)?et=c(Ue):ze?(tt=!1,et=a(Me,!0)):bt?(tt=!1,et=u(Me,!0)):et=[]:$(Me)||f(Me)?(et=Ue,f(Ue)?et=q(Ue):(!A(Ue)||D(Ue))&&(et=e(Me))):tt=!1}tt&&(Oe.set(Me,et),ie(et,Me,ue,me,Oe),Oe.delete(Me)),r(J,j,et)}}},68840:y=>{y.exports=function b(o){return function(r){return r?.[o]}}},59866:(y,b,o)=>{var r=o(93436);y.exports=function a(u){return function(c){return r(c,u)}}},17421:y=>{y.exports=function b(o){return function(r){return o?.[r]}}},85105:y=>{y.exports=function b(o,r,a,u,c){return c(o,function(e,f,h){a=u?(u=!1,e):r(a,e,f,h)}),a}},84441:(y,b,o)=>{var r=o(80290),a=o(15529),u=o(39009);y.exports=function c(e,f){return u(a(e,f,r),e+"")}},32773:(y,b,o)=>{var r=o(23898),a=o(64667),u=o(20968),c=o(53867),e=o(82773);y.exports=function f(h,E,T,D){if(!c(h))return h;for(var A=-1,$=(E=a(E,h)).length,Q=$-1,U=h;null!=U&&++A<$;){var q=e(E[A]),L=T;if("__proto__"===q||"constructor"===q||"prototype"===q)return h;if(A!=Q){var J=U[q];void 0===(L=D?D(J,q,U):void 0)&&(L=c(J)?J:u(E[A+1])?[]:{})}r(U,q,L),U=U[q]}return h}},99372:(y,b,o)=>{var r=o(45654),a=o(20395),u=o(80290);y.exports=a?function(e,f){return a(e,"toString",{configurable:!0,enumerable:!1,value:r(f),writable:!0})}:u},63586:y=>{y.exports=function b(o,r,a){var u=-1,c=o.length;r<0&&(r=-r>c?0:c+r),(a=a>c?c:a)<0&&(a+=c),c=r>a?0:a-r>>>0,r>>>=0;for(var e=Array(c);++u<c;)e[u]=o[u+r];return e}},37834:(y,b,o)=>{var r=o(59026);y.exports=function a(u,c){var e;return r(u,function(f,h,E){return!(e=c(f,h,E))}),!!e}},48282:y=>{y.exports=function b(o,r){for(var a=-1,u=Array(o);++a<o;)u[a]=r(a);return u}},68166:(y,b,o)=>{var r=o(57333),a=o(14992),u=o(81690),c=o(7786),f=r?r.prototype:void 0,h=f?f.toString:void 0;y.exports=function E(T){if("string"==typeof T)return T;if(u(T))return a(T,E)+"";if(c(T))return h?h.call(T):"";var D=T+"";return"0"==D&&1/T==-Infinity?"-0":D}},13743:(y,b,o)=>{var r=o(87478),a=/^\s+/;y.exports=function u(c){return c&&c.slice(0,r(c)+1).replace(a,"")}},70544:y=>{y.exports=function b(o){return function(r){return o(r)}}},72064:(y,b,o)=>{var r=o(64667),a=o(27842),u=o(61746),c=o(82773);y.exports=function e(f,h){return h=r(h,f),null==(f=u(f,h))||delete f[c(a(h))]}},25687:y=>{y.exports=function b(o,r,a){for(var u=-1,c=o.length,e=r.length,f={};++u<c;)a(f,o[u],u<e?r[u]:void 0);return f}},13747:y=>{y.exports=function b(o,r){return o.has(r)}},64667:(y,b,o)=>{var r=o(81690),a=o(99743),u=o(89775),c=o(41233);y.exports=function e(f,h){return r(f)?f:a(f,h)?[f]:u(c(f))}},26477:(y,b,o)=>{var r=o(63586);y.exports=function a(u,c,e){var f=u.length;return e=void 0===e?f:e,!c&&e>=f?u:r(u,c,e)}},88461:(y,b,o)=>{var r=o(96820);y.exports=function a(u){var c=new u.constructor(u.byteLength);return new r(c).set(new r(u)),c}},50694:(y,b,o)=>{y=o.nmd(y);var r=o(27038),a=b&&!b.nodeType&&b,u=a&&y&&!y.nodeType&&y,e=u&&u.exports===a?r.Buffer:void 0,f=e?e.allocUnsafe:void 0;y.exports=function h(E,T){if(T)return E.slice();var D=E.length,A=f?f(D):new E.constructor(D);return E.copy(A),A}},59757:(y,b,o)=>{var r=o(88461);y.exports=function a(u,c){var e=c?r(u.buffer):u.buffer;return new u.constructor(e,u.byteOffset,u.byteLength)}},83615:y=>{var b=/\w*$/;y.exports=function o(r){var a=new r.constructor(r.source,b.exec(r));return a.lastIndex=r.lastIndex,a}},42282:(y,b,o)=>{var r=o(57333),a=r?r.prototype:void 0,u=a?a.valueOf:void 0;y.exports=function c(e){return u?Object(u.call(e)):{}}},96282:(y,b,o)=>{var r=o(88461);y.exports=function a(u,c){var e=c?r(u.buffer):u.buffer;return new u.constructor(e,u.byteOffset,u.length)}},53595:y=>{y.exports=function b(o,r){var a=-1,u=o.length;for(r||(r=Array(u));++a<u;)r[a]=o[a];return r}},11694:(y,b,o)=>{var r=o(23898),a=o(92007);y.exports=function u(c,e,f,h){var E=!f;f||(f={});for(var T=-1,D=e.length;++T<D;){var A=e[T],$=h?h(f[A],c[A],A,f,c):void 0;void 0===$&&($=c[A]),E?a(f,A,$):r(f,A,$)}return f}},14746:(y,b,o)=>{var r=o(11694),a=o(10296);y.exports=function u(c,e){return r(c,a(c),e)}},78857:(y,b,o)=>{var r=o(11694),a=o(29572);y.exports=function u(c,e){return r(c,a(c),e)}},93412:(y,b,o)=>{var r=o(27038);y.exports=r["__core-js_shared__"]},30906:(y,b,o)=>{var r=o(84441),a=o(71100);y.exports=function u(c){return r(function(e,f){var h=-1,E=f.length,T=E>1?f[E-1]:void 0,D=E>2?f[2]:void 0;for(T=c.length>3&&"function"==typeof T?(E--,T):void 0,D&&a(f[0],f[1],D)&&(T=E<3?void 0:T,E=1),e=Object(e);++h<E;){var A=f[h];A&&c(e,A,h,T)}return e})}},99889:(y,b,o)=>{var r=o(93406);y.exports=function a(u,c){return function(e,f){if(null==e)return e;if(!r(e))return u(e,f);for(var h=e.length,E=c?h:-1,T=Object(e);(c?E--:++E<h)&&!1!==f(T[E],E,T););return e}}},8269:y=>{y.exports=function b(o){return function(r,a,u){for(var c=-1,e=Object(r),f=u(r),h=f.length;h--;){var E=f[o?h:++c];if(!1===a(e[E],E,e))break}return r}}},66803:(y,b,o)=>{var r=o(26477),a=o(407),u=o(2150),c=o(41233);y.exports=function e(f){return function(h){h=c(h);var E=a(h)?u(h):void 0,T=E?E[0]:h.charAt(0),D=E?r(E,1).join(""):h.slice(1);return T[f]()+D}}},17407:(y,b,o)=>{var r=o(89731),a=o(75289),u=o(96590),e=RegExp("['\u2019]","g");y.exports=function f(h){return function(E){return r(u(a(E).replace(e,"")),h,"")}}},44674:(y,b,o)=>{var r=o(5245),a=o(93406),u=o(59108);y.exports=function c(e){return function(f,h,E){var T=Object(f);if(!a(f)){var D=r(h,3);f=u(f),h=function($){return D(T[$],$,T)}}var A=e(f,h,E);return A>-1?T[D?f[A]:A]:void 0}}},925:(y,b,o)=>{var r=o(82358);y.exports=function a(u){return r(u)?void 0:u}},4068:(y,b,o)=>{var u=o(17421)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});y.exports=u},20395:(y,b,o)=>{var r=o(4153),a=function(){try{var u=r(Object,"defineProperty");return u({},"",{}),u}catch{}}();y.exports=a},27667:(y,b,o)=>{var r=o(48690),a=o(8141),u=o(13747);y.exports=function f(h,E,T,D,A,$){var Q=1&T,U=h.length,q=E.length;if(U!=q&&!(Q&&q>U))return!1;var L=$.get(h),J=$.get(E);if(L&&J)return L==E&&J==h;var pe=-1,j=!0,ue=2&T?new r:void 0;for($.set(h,E),$.set(E,h);++pe<U;){var ie=h[pe],me=E[pe];if(D)var Oe=Q?D(me,ie,pe,E,h,$):D(ie,me,pe,h,E,$);if(void 0!==Oe){if(Oe)continue;j=!1;break}if(ue){if(!a(E,function(Ue,Me){if(!u(ue,Me)&&(ie===Ue||A(ie,Ue,T,D,$)))return ue.push(Me)})){j=!1;break}}else if(ie!==me&&!A(ie,me,T,D,$)){j=!1;break}}return $.delete(h),$.delete(E),j}},64630:(y,b,o)=>{var r=o(57333),a=o(96820),u=o(71166),c=o(27667),e=o(37461),f=o(57673),ue=r?r.prototype:void 0,ie=ue?ue.valueOf:void 0;y.exports=function me(Oe,Ue,Me,yt,et,tt,Et){switch(Me){case"[object DataView]":if(Oe.byteLength!=Ue.byteLength||Oe.byteOffset!=Ue.byteOffset)return!1;Oe=Oe.buffer,Ue=Ue.buffer;case"[object ArrayBuffer]":return!(Oe.byteLength!=Ue.byteLength||!tt(new a(Oe),new a(Ue)));case"[object Boolean]":case"[object Date]":case"[object Number]":return u(+Oe,+Ue);case"[object Error]":return Oe.name==Ue.name&&Oe.message==Ue.message;case"[object RegExp]":case"[object String]":return Oe==Ue+"";case"[object Map]":var ze=e;case"[object Set]":if(ze||(ze=f),Oe.size!=Ue.size&&!(1&yt))return!1;var Ct=Et.get(Oe);if(Ct)return Ct==Ue;yt|=2,Et.set(Oe,Ue);var Qt=c(ze(Oe),ze(Ue),yt,et,tt,Et);return Et.delete(Oe),Qt;case"[object Symbol]":if(ie)return ie.call(Oe)==ie.call(Ue)}return!1}},70838:(y,b,o)=>{var r=o(58605),c=Object.prototype.hasOwnProperty;y.exports=function e(f,h,E,T,D,A){var $=1&E,Q=r(f),U=Q.length;if(U!=r(h).length&&!$)return!1;for(var J=U;J--;){var pe=Q[J];if(!($?pe in h:c.call(h,pe)))return!1}var j=A.get(f),ue=A.get(h);if(j&&ue)return j==h&&ue==f;var ie=!0;A.set(f,h),A.set(h,f);for(var me=$;++J<U;){var Oe=f[pe=Q[J]],Ue=h[pe];if(T)var Me=$?T(Ue,Oe,pe,h,f,A):T(Oe,Ue,pe,f,h,A);if(!(void 0===Me?Oe===Ue||D(Oe,Ue,E,T,A):Me)){ie=!1;break}me||(me="constructor"==pe)}if(ie&&!me){var yt=f.constructor,et=h.constructor;yt!=et&&"constructor"in f&&"constructor"in h&&!("function"==typeof yt&&yt instanceof yt&&"function"==typeof et&&et instanceof et)&&(ie=!1)}return A.delete(f),A.delete(h),ie}},10058:(y,b,o)=>{var r=o(94694),a=o(15529),u=o(39009);y.exports=function c(e){return u(a(e,void 0,r),e+"")}},61138:y=>{var b="object"==typeof global&&global&&global.Object===Object&&global;y.exports=b},58605:(y,b,o)=>{var r=o(19215),a=o(10296),u=o(59108);y.exports=function c(e){return r(e,u,a)}},51675:(y,b,o)=>{var r=o(19215),a=o(29572),u=o(42970);y.exports=function c(e){return r(e,u,a)}},85556:(y,b,o)=>{var r=o(36586);y.exports=function a(u,c){var e=u.__data__;return r(c)?e["string"==typeof c?"string":"hash"]:e.map}},48834:(y,b,o)=>{var r=o(45774),a=o(59108);y.exports=function u(c){for(var e=a(c),f=e.length;f--;){var h=e[f],E=c[h];e[f]=[h,E,r(E)]}return e}},4153:(y,b,o)=>{var r=o(43540),a=o(36825);y.exports=function u(c,e){var f=a(c,e);return r(f)?f:void 0}},52398:(y,b,o)=>{var a=o(93332)(Object.getPrototypeOf,Object);y.exports=a},21613:(y,b,o)=>{var r=o(57333),a=Object.prototype,u=a.hasOwnProperty,c=a.toString,e=r?r.toStringTag:void 0;y.exports=function f(h){var E=u.call(h,e),T=h[e];try{h[e]=void 0;var D=!0}catch{}var A=c.call(h);return D&&(E?h[e]=T:delete h[e]),A}},10296:(y,b,o)=>{var r=o(11375),a=o(65336),c=Object.prototype.propertyIsEnumerable,e=Object.getOwnPropertySymbols;y.exports=e?function(h){return null==h?[]:(h=Object(h),r(e(h),function(E){return c.call(h,E)}))}:a},29572:(y,b,o)=>{var r=o(94165),a=o(52398),u=o(10296),c=o(65336);y.exports=Object.getOwnPropertySymbols?function(h){for(var E=[];h;)r(E,u(h)),h=a(h);return E}:c},26663:(y,b,o)=>{var r=o(81235),a=o(39046),u=o(97129),c=o(74918),e=o(54203),f=o(72802),h=o(51217),E="[object Map]",D="[object Promise]",A="[object Set]",$="[object WeakMap]",Q="[object DataView]",U=h(r),q=h(a),L=h(u),J=h(c),pe=h(e),j=f;(r&&j(new r(new ArrayBuffer(1)))!=Q||a&&j(new a)!=E||u&&j(u.resolve())!=D||c&&j(new c)!=A||e&&j(new e)!=$)&&(j=function(ue){var ie=f(ue),me="[object Object]"==ie?ue.constructor:void 0,Oe=me?h(me):"";if(Oe)switch(Oe){case U:return Q;case q:return E;case L:return D;case J:return A;case pe:return $}return ie}),y.exports=j},36825:y=>{y.exports=function b(o,r){return o?.[r]}},82138:(y,b,o)=>{var r=o(64667),a=o(2952),u=o(81690),c=o(20968),e=o(8613),f=o(82773);y.exports=function h(E,T,D){for(var A=-1,$=(T=r(T,E)).length,Q=!1;++A<$;){var U=f(T[A]);if(!(Q=null!=E&&D(E,U)))break;E=E[U]}return Q||++A!=$?Q:!!($=null==E?0:E.length)&&e($)&&c(U,$)&&(u(E)||a(E))}},407:y=>{var f=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");y.exports=function h(E){return f.test(E)}},59316:y=>{var b=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;y.exports=function o(r){return b.test(r)}},59410:(y,b,o)=>{var r=o(95969);y.exports=function a(){this.__data__=r?r(null):{},this.size=0}},21143:y=>{y.exports=function b(o){var r=this.has(o)&&delete this.__data__[o];return this.size-=r?1:0,r}},604:(y,b,o)=>{var r=o(95969),c=Object.prototype.hasOwnProperty;y.exports=function e(f){var h=this.__data__;if(r){var E=h[f];return"__lodash_hash_undefined__"===E?void 0:E}return c.call(h,f)?h[f]:void 0}},80584:(y,b,o)=>{var r=o(95969),u=Object.prototype.hasOwnProperty;y.exports=function c(e){var f=this.__data__;return r?void 0!==f[e]:u.call(f,e)}},7792:(y,b,o)=>{var r=o(95969);y.exports=function u(c,e){var f=this.__data__;return this.size+=this.has(c)?0:1,f[c]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},62963:y=>{var o=Object.prototype.hasOwnProperty;y.exports=function r(a){var u=a.length,c=new a.constructor(u);return u&&"string"==typeof a[0]&&o.call(a,"index")&&(c.index=a.index,c.input=a.input),c}},32143:(y,b,o)=>{var r=o(88461),a=o(59757),u=o(83615),c=o(42282),e=o(96282);y.exports=function Me(yt,et,tt){var Et=yt.constructor;switch(et){case"[object ArrayBuffer]":return r(yt);case"[object Boolean]":case"[object Date]":return new Et(+yt);case"[object DataView]":return a(yt,tt);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return e(yt,tt);case"[object Map]":case"[object Set]":return new Et;case"[object Number]":case"[object String]":return new Et(yt);case"[object RegExp]":return u(yt);case"[object Symbol]":return c(yt)}}},31563:(y,b,o)=>{var r=o(60920),a=o(52398),u=o(58845);y.exports=function c(e){return"function"!=typeof e.constructor||u(e)?{}:r(a(e))}},21006:(y,b,o)=>{var r=o(57333),a=o(2952),u=o(81690),c=r?r.isConcatSpreadable:void 0;y.exports=function e(f){return u(f)||a(f)||!!(c&&f&&f[c])}},20968:y=>{var o=/^(?:0|[1-9]\d*)$/;y.exports=function r(a,u){var c=typeof a;return!!(u=u??9007199254740991)&&("number"==c||"symbol"!=c&&o.test(a))&&a>-1&&a%1==0&&a<u}},71100:(y,b,o)=>{var r=o(71166),a=o(93406),u=o(20968),c=o(53867);y.exports=function e(f,h,E){if(!c(E))return!1;var T=typeof h;return!!("number"==T?a(E)&&u(h,E.length):"string"==T&&h in E)&&r(E[h],f)}},99743:(y,b,o)=>{var r=o(81690),a=o(7786),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;y.exports=function e(f,h){if(r(f))return!1;var E=typeof f;return!("number"!=E&&"symbol"!=E&&"boolean"!=E&&null!=f&&!a(f))||c.test(f)||!u.test(f)||null!=h&&f in Object(h)}},36586:y=>{y.exports=function b(o){var r=typeof o;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==o:null===o}},38466:(y,b,o)=>{var c,r=o(93412),a=(c=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+c:"";y.exports=function u(c){return!!a&&a in c}},58845:y=>{var b=Object.prototype;y.exports=function o(r){var a=r&&r.constructor;return r===("function"==typeof a&&a.prototype||b)}},45774:(y,b,o)=>{var r=o(53867);y.exports=function a(u){return u==u&&!r(u)}},63391:y=>{y.exports=function b(){this.__data__=[],this.size=0}},68971:(y,b,o)=>{var r=o(15758),u=Array.prototype.splice;y.exports=function c(e){var f=this.__data__,h=r(f,e);return!(h<0||(h==f.length-1?f.pop():u.call(f,h,1),--this.size,0))}},18858:(y,b,o)=>{var r=o(15758);y.exports=function a(u){var c=this.__data__,e=r(c,u);return e<0?void 0:c[e][1]}},13913:(y,b,o)=>{var r=o(15758);y.exports=function a(u){return r(this.__data__,u)>-1}},68944:(y,b,o)=>{var r=o(15758);y.exports=function a(u,c){var e=this.__data__,f=r(e,u);return f<0?(++this.size,e.push([u,c])):e[f][1]=c,this}},70536:(y,b,o)=>{var r=o(41505),a=o(73545),u=o(39046);y.exports=function c(){this.size=0,this.__data__={hash:new r,map:new(u||a),string:new r}}},61502:(y,b,o)=>{var r=o(85556);y.exports=function a(u){var c=r(this,u).delete(u);return this.size-=c?1:0,c}},94960:(y,b,o)=>{var r=o(85556);y.exports=function a(u){return r(this,u).get(u)}},61539:(y,b,o)=>{var r=o(85556);y.exports=function a(u){return r(this,u).has(u)}},34138:(y,b,o)=>{var r=o(85556);y.exports=function a(u,c){var e=r(this,u),f=e.size;return e.set(u,c),this.size+=e.size==f?0:1,this}},37461:y=>{y.exports=function b(o){var r=-1,a=Array(o.size);return o.forEach(function(u,c){a[++r]=[c,u]}),a}},63587:y=>{y.exports=function b(o,r){return function(a){return null!=a&&a[o]===r&&(void 0!==r||o in Object(a))}}},43911:(y,b,o)=>{var r=o(97425);y.exports=function u(c){var e=r(c,function(h){return 500===f.size&&f.clear(),h}),f=e.cache;return e}},95969:(y,b,o)=>{var a=o(4153)(Object,"create");y.exports=a},36700:(y,b,o)=>{var a=o(93332)(Object.keys,Object);y.exports=a},25618:y=>{y.exports=function b(o){var r=[];if(null!=o)for(var a in Object(o))r.push(a);return r}},70938:(y,b,o)=>{y=o.nmd(y);var r=o(61138),a=b&&!b.nodeType&&b,u=a&&y&&!y.nodeType&&y,e=u&&u.exports===a&&r.process,f=function(){try{return u&&u.require&&u.require("util").types||e&&e.binding&&e.binding("util")}catch{}}();y.exports=f},81244:y=>{var o=Object.prototype.toString;y.exports=function r(a){return o.call(a)}},93332:y=>{y.exports=function b(o,r){return function(a){return o(r(a))}}},15529:(y,b,o)=>{var r=o(81638),a=Math.max;y.exports=function u(c,e,f){return e=a(void 0===e?c.length-1:e,0),function(){for(var h=arguments,E=-1,T=a(h.length-e,0),D=Array(T);++E<T;)D[E]=h[e+E];E=-1;for(var A=Array(e+1);++E<e;)A[E]=h[E];return A[e]=f(D),r(c,this,A)}}},61746:(y,b,o)=>{var r=o(93436),a=o(63586);y.exports=function u(c,e){return e.length<2?c:r(c,a(e,0,-1))}},27038:(y,b,o)=>{var r=o(61138),a="object"==typeof self&&self&&self.Object===Object&&self,u=r||a||Function("return this")();y.exports=u},45959:y=>{y.exports=function b(o,r){if(("constructor"!==r||"function"!=typeof o[r])&&"__proto__"!=r)return o[r]}},30365:y=>{y.exports=function o(r){return this.__data__.set(r,"__lodash_hash_undefined__"),this}},58235:y=>{y.exports=function b(o){return this.__data__.has(o)}},57673:y=>{y.exports=function b(o){var r=-1,a=Array(o.size);return o.forEach(function(u){a[++r]=u}),a}},39009:(y,b,o)=>{var r=o(99372),u=o(44094)(r);y.exports=u},44094:y=>{var b=800,o=16,r=Date.now;y.exports=function a(u){var c=0,e=0;return function(){var f=r(),h=o-(f-e);if(e=f,h>0){if(++c>=b)return arguments[0]}else c=0;return u.apply(void 0,arguments)}}},18034:(y,b,o)=>{var r=o(73545);y.exports=function a(){this.__data__=new r,this.size=0}},37238:y=>{y.exports=function b(o){var r=this.__data__,a=r.delete(o);return this.size=r.size,a}},75887:y=>{y.exports=function b(o){return this.__data__.get(o)}},81450:y=>{y.exports=function b(o){return this.__data__.has(o)}},61386:(y,b,o)=>{var r=o(73545),a=o(39046),u=o(93177);y.exports=function e(f,h){var E=this.__data__;if(E instanceof r){var T=E.__data__;if(!a||T.length<199)return T.push([f,h]),this.size=++E.size,this;E=this.__data__=new u(T)}return E.set(f,h),this.size=E.size,this}},2150:(y,b,o)=>{var r=o(87280),a=o(407),u=o(1879);y.exports=function c(e){return a(e)?u(e):r(e)}},89775:(y,b,o)=>{var r=o(43911),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,c=r(function(e){var f=[];return 46===e.charCodeAt(0)&&f.push(""),e.replace(a,function(h,E,T,D){f.push(T?D.replace(u,"$1"):E||h)}),f});y.exports=c},82773:(y,b,o)=>{var r=o(7786);y.exports=function u(c){if("string"==typeof c||r(c))return c;var e=c+"";return"0"==e&&1/c==-Infinity?"-0":e}},51217:y=>{var o=Function.prototype.toString;y.exports=function r(a){if(null!=a){try{return o.call(a)}catch{}try{return a+""}catch{}}return""}},87478:y=>{var b=/\s/;y.exports=function o(r){for(var a=r.length;a--&&b.test(r.charAt(a)););return a}},1879:y=>{var b="\\ud800-\\udfff",e="["+b+"]",f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",h="\\ud83c[\\udffb-\\udfff]",T="[^"+b+"]",D="(?:\\ud83c[\\udde6-\\uddff]){2}",A="[\\ud800-\\udbff][\\udc00-\\udfff]",Q="(?:"+f+"|"+h+")?",U="[\\ufe0e\\ufe0f]?",L=U+Q+"(?:\\u200d(?:"+[T,D,A].join("|")+")"+U+Q+")*",J="(?:"+[T+f+"?",f,D,A,e].join("|")+")",pe=RegExp(h+"(?="+h+")|"+J+L,"g");y.exports=function j(ue){return ue.match(pe)||[]}},58863:y=>{var b="\\ud800-\\udfff",c="\\u2700-\\u27bf",e="a-z\\xdf-\\xf6\\xf8-\\xff",D="A-Z\\xc0-\\xd6\\xd8-\\xde",$="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",U="["+$+"]",L="\\d+",J="["+c+"]",pe="["+e+"]",j="[^"+b+$+L+c+e+D+"]",Oe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",Me="["+D+"]",et="(?:"+pe+"|"+j+")",tt="(?:"+Me+"|"+j+")",Et="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ze="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",bt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Ct="[\\ufe0e\\ufe0f]?",nn=Ct+bt+"(?:\\u200d(?:"+["[^"+b+"]",Oe,Ue].join("|")+")"+Ct+bt+")*",bn="(?:"+[J,Oe,Ue].join("|")+")"+nn,Dn=RegExp([Me+"?"+pe+"+"+Et+"(?="+[U,Me,"$"].join("|")+")",tt+"+"+ze+"(?="+[U,Me+et,"$"].join("|")+")",Me+"?"+et+"+"+Et,Me+"+"+ze,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",L,bn].join("|"),"g");y.exports=function Rt(Xt){return Xt.match(Dn)||[]}},35037:(y,b,o)=>{var r=o(76974),u=o(17407)(function(c,e,f){return e=e.toLowerCase(),c+(f?r(e):e)});y.exports=u},76974:(y,b,o)=>{var r=o(41233),a=o(93890);y.exports=function u(c){return a(r(c).toLowerCase())}},45654:y=>{y.exports=function b(o){return function(){return o}}},41776:(y,b,o)=>{var r=o(53867),a=o(30765),u=o(45038),e=Math.max,f=Math.min;y.exports=function h(E,T,D){var A,$,Q,U,q,L,J=0,pe=!1,j=!1,ue=!0;if("function"!=typeof E)throw new TypeError("Expected a function");function ie(ze){var bt=A,Ct=$;return A=$=void 0,J=ze,U=E.apply(Ct,bt)}function Ue(ze){var bt=ze-L;return void 0===L||bt>=T||bt<0||j&&ze-J>=Q}function Me(){var ze=a();if(Ue(ze))return yt(ze);q=setTimeout(Me,function Oe(ze){var Qt=T-(ze-L);return j?f(Qt,Q-(ze-J)):Qt}(ze))}function yt(ze){return q=void 0,ue&&A?ie(ze):(A=$=void 0,U)}function Et(){var ze=a(),bt=Ue(ze);if(A=arguments,$=this,L=ze,bt){if(void 0===q)return function me(ze){return J=ze,q=setTimeout(Me,T),pe?ie(ze):U}(L);if(j)return clearTimeout(q),q=setTimeout(Me,T),ie(L)}return void 0===q&&(q=setTimeout(Me,T)),U}return T=u(T)||0,r(D)&&(pe=!!D.leading,Q=(j="maxWait"in D)?e(u(D.maxWait)||0,T):Q,ue="trailing"in D?!!D.trailing:ue),Et.cancel=function et(){void 0!==q&&clearTimeout(q),J=0,A=L=$=q=void 0},Et.flush=function tt(){return void 0===q?U:yt(a())},Et}},75289:(y,b,o)=>{var r=o(4068),a=o(41233),u=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,T=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");y.exports=function D(A){return(A=a(A))&&A.replace(u,r).replace(T,"")}},71166:y=>{y.exports=function b(o,r){return o===r||o!=o&&r!=r}},98990:(y,b,o)=>{var u=o(44674)(o(84857));y.exports=u},84857:(y,b,o)=>{var r=o(12229),a=o(5245),u=o(32781),c=Math.max;y.exports=function e(f,h,E){var T=null==f?0:f.length;if(!T)return-1;var D=null==E?0:u(E);return D<0&&(D=c(T+D,0)),r(f,a(h,3),D)}},94694:(y,b,o)=>{var r=o(56369);y.exports=function a(u){return null!=u&&u.length?r(u,1):[]}},58102:(y,b,o)=>{var r=o(93436);y.exports=function a(u,c,e){var f=null==u?void 0:r(u,c);return void 0===f?e:f}},18303:(y,b,o)=>{var r=o(55333),a=o(82138);y.exports=function u(c,e){return null!=c&&a(c,e,r)}},80290:y=>{y.exports=function b(o){return o}},2952:(y,b,o)=>{var r=o(77090),a=o(27503),u=Object.prototype,c=u.hasOwnProperty,e=u.propertyIsEnumerable,f=r(function(){return arguments}())?r:function(h){return a(h)&&c.call(h,"callee")&&!e.call(h,"callee")};y.exports=f},81690:y=>{y.exports=Array.isArray},93406:(y,b,o)=>{var r=o(55836),a=o(8613);y.exports=function u(c){return null!=c&&a(c.length)&&!r(c)}},82027:(y,b,o)=>{var r=o(93406),a=o(27503);y.exports=function u(c){return a(c)&&r(c)}},84444:(y,b,o)=>{y=o.nmd(y);var r=o(27038),a=o(61711),u=b&&!b.nodeType&&b,c=u&&y&&!y.nodeType&&y,f=c&&c.exports===u?r.Buffer:void 0;y.exports=(f?f.isBuffer:void 0)||a},12232:(y,b,o)=>{var r=o(92488),a=o(26663),u=o(2952),c=o(81690),e=o(93406),f=o(84444),h=o(58845),E=o(47679),$=Object.prototype.hasOwnProperty;y.exports=function Q(U){if(null==U)return!0;if(e(U)&&(c(U)||"string"==typeof U||"function"==typeof U.splice||f(U)||E(U)||u(U)))return!U.length;var q=a(U);if("[object Map]"==q||"[object Set]"==q)return!U.size;if(h(U))return!r(U).length;for(var L in U)if($.call(U,L))return!1;return!0}},55836:(y,b,o)=>{var r=o(72802),a=o(53867);y.exports=function h(E){if(!a(E))return!1;var T=r(E);return"[object Function]"==T||"[object GeneratorFunction]"==T||"[object AsyncFunction]"==T||"[object Proxy]"==T}},8613:y=>{y.exports=function o(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}},32e3:(y,b,o)=>{var r=o(63434),a=o(70544),u=o(70938),c=u&&u.isMap,e=c?a(c):r;y.exports=e},53867:y=>{y.exports=function b(o){var r=typeof o;return null!=o&&("object"==r||"function"==r)}},27503:y=>{y.exports=function b(o){return null!=o&&"object"==typeof o}},82358:(y,b,o)=>{var r=o(72802),a=o(52398),u=o(27503),h=Function.prototype.toString,E=Object.prototype.hasOwnProperty,T=h.call(Object);y.exports=function D(A){if(!u(A)||"[object Object]"!=r(A))return!1;var $=a(A);if(null===$)return!0;var Q=E.call($,"constructor")&&$.constructor;return"function"==typeof Q&&Q instanceof Q&&h.call(Q)==T}},48855:(y,b,o)=>{var r=o(67495),a=o(70544),u=o(70938),c=u&&u.isSet,e=c?a(c):r;y.exports=e},64871:(y,b,o)=>{var r=o(72802),a=o(81690),u=o(27503);y.exports=function e(f){return"string"==typeof f||!a(f)&&u(f)&&"[object String]"==r(f)}},7786:(y,b,o)=>{var r=o(72802),a=o(27503);y.exports=function c(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},47679:(y,b,o)=>{var r=o(99390),a=o(70544),u=o(70938),c=u&&u.isTypedArray,e=c?a(c):r;y.exports=e},59108:(y,b,o)=>{var r=o(71890),a=o(92488),u=o(93406);y.exports=function c(e){return u(e)?r(e):a(e)}},42970:(y,b,o)=>{var r=o(71890),a=o(50762),u=o(93406);y.exports=function c(e){return u(e)?r(e,!0):a(e)}},27842:y=>{y.exports=function b(o){var r=null==o?0:o.length;return r?o[r-1]:void 0}},23815:function(y,b,o){var r;y=o.nmd(y),function(){var a,c=200,f="Expected a function",E="__lodash_hash_undefined__",D="__lodash_placeholder__",A=1,$=2,Q=4,U=1,q=2,L=1,J=2,pe=4,j=8,ue=16,ie=32,me=64,Oe=128,Ue=256,Me=512,tt=800,Et=16,Qt=1/0,ht=9007199254740991,en=17976931348623157e292,nn=NaN,bn=4294967295,Dn=bn-1,Rt=bn>>>1,Xt=[["ary",Oe],["bind",L],["bindKey",J],["curry",j],["curryRight",ue],["flip",Me],["partial",ie],["partialRight",me],["rearg",Ue]],un="[object Arguments]",_n="[object Array]",kn="[object AsyncFunction]",ri="[object Boolean]",Ir="[object Date]",wr="[object DOMException]",_r="[object Error]",oi="[object Function]",Ri="[object GeneratorFunction]",Tr="[object Map]",ft="[object Number]",sn="[object Null]",At="[object Object]",Ln="[object Promise]",rr="[object Proxy]",Lr="[object RegExp]",Fi="[object Set]",so="[object String]",Vo="[object Symbol]",Xr="[object Undefined]",Ni="[object WeakMap]",jr="[object ArrayBuffer]",Pr="[object DataView]",Bo="[object Float32Array]",cs="[object Float64Array]",ts="[object Int8Array]",io="[object Int16Array]",Vi="[object Int32Array]",Pn="[object Uint8Array]",Nn="[object Uint8ClampedArray]",Ut="[object Uint16Array]",ke="[object Uint32Array]",Ie=/\b__p \+= '';/g,Qe=/\b(__p \+=) '' \+/g,Ve=/(__e\(.*?\)|\b__t\)) \+\n'';/g,tn=/&(?:amp|lt|gt|quot|#39);/g,ot=/[&<>"']/g,xt=RegExp(tn.source),qt=RegExp(ot.source),tr=/<%-([\s\S]+?)%>/g,vr=/<%([\s\S]+?)%>/g,An=/<%=([\s\S]+?)%>/g,yr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nr=/^\w*$/,nr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qn=/[\\^$.*+?()[\]{}|]/g,dr=RegExp(Qn.source),Wn=/^\s+/,Wt=/\s/,kt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,st=/\{\n\/\* \[wrapped with (.+)\] \*/,zt=/,? & /,er=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Kr=/[()=,{}\[\]\/\s]/,mi=/\\(\\)?/g,gi=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Jo=/\w*$/,os=/^[-+]0x[0-9a-f]+$/i,hr=/^0b[01]+$/i,Ii=/^\[object .+?Constructor\]$/,ni=/^0o[0-7]+$/i,Vr=/^(?:0|[1-9]\d*)$/,wi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Gi=/($^)/,Wi=/['\n\r\u2028\u2029\\]/g,Mo="\\ud800-\\udfff",$r="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Cn="\\u2700-\\u27bf",mn="a-z\\xdf-\\xf6\\xf8-\\xff",bs="A-Z\\xc0-\\xd6\\xd8-\\xde",ko="\\ufe0e\\ufe0f",$s="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ys="["+Mo+"]",ra="["+$s+"]",Do="["+$r+"]",oc="\\d+",Ql="["+Cn+"]",tl="["+mn+"]",Da="[^"+Mo+$s+oc+Cn+mn+bs+"]",Ga="\\ud83c[\\udffb-\\udfff]",Eo="[^"+Mo+"]",Ra="(?:\\ud83c[\\udde6-\\uddff]){2}",Fo="[\\ud800-\\udbff][\\udc00-\\udfff]",Cs="["+bs+"]",nl="(?:"+tl+"|"+Da+")",ml="(?:"+Cs+"|"+Da+")",ma="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Qo="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Go="(?:"+Do+"|"+Ga+")?",ys="["+ko+"]?",qi=ys+Go+"(?:\\u200d(?:"+[Eo,Ra,Fo].join("|")+")"+ys+Go+")*",_t="(?:"+[Ql,Ra,Fo].join("|")+")"+qi,On="(?:"+[Eo+Do+"?",Do,Ra,Fo,Ys].join("|")+")",ae=RegExp("['\u2019]","g"),We=RegExp(Do,"g"),on=RegExp(Ga+"(?="+Ga+")|"+On+qi,"g"),yn=RegExp([Cs+"?"+tl+"+"+ma+"(?="+[ra,Cs,"$"].join("|")+")",ml+"+"+Qo+"(?="+[ra,Cs+nl,"$"].join("|")+")",Cs+"?"+nl+"+"+ma,Cs+"+"+Qo,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",oc,_t].join("|"),"g"),Ei=RegExp("[\\u200d"+Mo+$r+ko+"]"),Ui=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eo=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],js=-1,hs={};hs[Bo]=hs[cs]=hs[ts]=hs[io]=hs[Vi]=hs[Pn]=hs[Nn]=hs[Ut]=hs[ke]=!0,hs[un]=hs[_n]=hs[jr]=hs[ri]=hs[Pr]=hs[Ir]=hs[_r]=hs[oi]=hs[Tr]=hs[ft]=hs[At]=hs[Lr]=hs[Fi]=hs[so]=hs[Ni]=!1;var ia={};ia[un]=ia[_n]=ia[jr]=ia[Pr]=ia[ri]=ia[Ir]=ia[Bo]=ia[cs]=ia[ts]=ia[io]=ia[Vi]=ia[Tr]=ia[ft]=ia[At]=ia[Lr]=ia[Fi]=ia[so]=ia[Vo]=ia[Pn]=ia[Nn]=ia[Ut]=ia[ke]=!0,ia[_r]=ia[oi]=ia[Ni]=!1;var zc={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Uu=parseFloat,ru=parseInt,bl="object"==typeof global&&global&&global.Object===Object&&global,Ou="object"==typeof self&&self&&self.Object===Object&&self,Za=bl||Ou||Function("return this")(),ec=b&&!b.nodeType&&b,wa=ec&&y&&!y.nodeType&&y,Ec=wa&&wa.exports===ec,Sc=Ec&&bl.process,dl=function(){try{return wa&&wa.require&&wa.require("util").types||Sc&&Sc.binding&&Sc.binding("util")}catch{}}(),Kc=dl&&dl.isArrayBuffer,Vc=dl&&dl.isDate,cu=dl&&dl.isMap,xs=dl&&dl.isRegExp,Tc=dl&&dl.isSet,cc=dl&&dl.isTypedArray;function ka(Kn,zr,Gr){switch(Gr.length){case 0:return Kn.call(zr);case 1:return Kn.call(zr,Gr[0]);case 2:return Kn.call(zr,Gr[0],Gr[1]);case 3:return Kn.call(zr,Gr[0],Gr[1],Gr[2])}return Kn.apply(zr,Gr)}function gl(Kn,zr,Gr,ce){for(var Le=-1,Be=null==Kn?0:Kn.length;++Le<Be;){var Bt=Kn[Le];zr(ce,Bt,Gr(Bt),Kn)}return ce}function Cc(Kn,zr){for(var Gr=-1,ce=null==Kn?0:Kn.length;++Gr<ce&&!1!==zr(Kn[Gr],Gr,Kn););return Kn}function bc(Kn,zr){for(var Gr=null==Kn?0:Kn.length;Gr--&&!1!==zr(Kn[Gr],Gr,Kn););return Kn}function Mc(Kn,zr){for(var Gr=-1,ce=null==Kn?0:Kn.length;++Gr<ce;)if(!zr(Kn[Gr],Gr,Kn))return!1;return!0}function za(Kn,zr){for(var Gr=-1,ce=null==Kn?0:Kn.length,Le=0,Be=[];++Gr<ce;){var Bt=Kn[Gr];zr(Bt,Gr,Kn)&&(Be[Le++]=Bt)}return Be}function vl(Kn,zr){return!(null==Kn||!Kn.length)&&jl(Kn,zr,0)>-1}function Ka(Kn,zr,Gr){for(var ce=-1,Le=null==Kn?0:Kn.length;++ce<Le;)if(Gr(zr,Kn[ce]))return!0;return!1}function Ua(Kn,zr){for(var Gr=-1,ce=null==Kn?0:Kn.length,Le=Array(ce);++Gr<ce;)Le[Gr]=zr(Kn[Gr],Gr,Kn);return Le}function Xc(Kn,zr){for(var Gr=-1,ce=zr.length,Le=Kn.length;++Gr<ce;)Kn[Le+Gr]=zr[Gr];return Kn}function sc(Kn,zr,Gr,ce){var Le=-1,Be=null==Kn?0:Kn.length;for(ce&&Be&&(Gr=Kn[++Le]);++Le<Be;)Gr=zr(Gr,Kn[Le],Le,Kn);return Gr}function Ba(Kn,zr,Gr,ce){var Le=null==Kn?0:Kn.length;for(ce&&Le&&(Gr=Kn[--Le]);Le--;)Gr=zr(Gr,Kn[Le],Le,Kn);return Gr}function Ic(Kn,zr){for(var Gr=-1,ce=null==Kn?0:Kn.length;++Gr<ce;)if(zr(Kn[Gr],Gr,Kn))return!0;return!1}var Fc=Au("length");function Oc(Kn,zr,Gr){var ce;return Gr(Kn,function(Le,Be,Bt){if(zr(Le,Be,Bt))return ce=Be,!1}),ce}function Ac(Kn,zr,Gr,ce){for(var Le=Kn.length,Be=Gr+(ce?1:-1);ce?Be--:++Be<Le;)if(zr(Kn[Be],Be,Kn))return Be;return-1}function jl(Kn,zr,Gr){return zr==zr?function gt(Kn,zr,Gr){for(var ce=Gr-1,Le=Kn.length;++ce<Le;)if(Kn[ce]===zr)return ce;return-1}(Kn,zr,Gr):Ac(Kn,Dc,Gr)}function yl(Kn,zr,Gr,ce){for(var Le=Gr-1,Be=Kn.length;++Le<Be;)if(ce(Kn[Le],zr))return Le;return-1}function Dc(Kn){return Kn!=Kn}function Zs(Kn,zr){var Gr=null==Kn?0:Kn.length;return Gr?hn(Kn,zr)/Gr:nn}function Au(Kn){return function(zr){return null==zr?a:zr[Kn]}}function St(Kn){return function(zr){return null==Kn?a:Kn[zr]}}function ut(Kn,zr,Gr,ce,Le){return Le(Kn,function(Be,Bt,Kt){Gr=ce?(ce=!1,Be):zr(Gr,Be,Bt,Kt)}),Gr}function hn(Kn,zr){for(var Gr,ce=-1,Le=Kn.length;++ce<Le;){var Be=zr(Kn[ce]);Be!==a&&(Gr=Gr===a?Be:Gr+Be)}return Gr}function vi(Kn,zr){for(var Gr=-1,ce=Array(Kn);++Gr<Kn;)ce[Gr]=zr(Gr);return ce}function Ya(Kn){return Kn&&Kn.slice(0,lr(Kn)+1).replace(Wn,"")}function Si(Kn){return function(zr){return Kn(zr)}}function ca(Kn,zr){return Ua(zr,function(Gr){return Kn[Gr]})}function Xs(Kn,zr){return Kn.has(zr)}function Rc(Kn,zr){for(var Gr=-1,ce=Kn.length;++Gr<ce&&jl(zr,Kn[Gr],0)>-1;);return Gr}function Zl(Kn,zr){for(var Gr=Kn.length;Gr--&&jl(zr,Kn[Gr],0)>-1;);return Gr}var gc=St({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),zl=St({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Ju(Kn){return"\\"+zc[Kn]}function Cu(Kn){return Ei.test(Kn)}function Ll(Kn){var zr=-1,Gr=Array(Kn.size);return Kn.forEach(function(ce,Le){Gr[++zr]=[Le,ce]}),Gr}function rl(Kn,zr){return function(Gr){return Kn(zr(Gr))}}function qa(Kn,zr){for(var Gr=-1,ce=Kn.length,Le=0,Be=[];++Gr<ce;){var Bt=Kn[Gr];(Bt===zr||Bt===D)&&(Kn[Gr]=D,Be[Le++]=Gr)}return Be}function X(Kn){var zr=-1,Gr=Array(Kn.size);return Kn.forEach(function(ce){Gr[++zr]=ce}),Gr}function Gt(Kn){return Cu(Kn)?function Oi(Kn){for(var zr=on.lastIndex=0;on.test(Kn);)++zr;return zr}(Kn):Fc(Kn)}function xn(Kn){return Cu(Kn)?function ai(Kn){return Kn.match(on)||[]}(Kn):function ba(Kn){return Kn.split("")}(Kn)}function lr(Kn){for(var zr=Kn.length;zr--&&Wt.test(Kn.charAt(zr)););return zr}var Fr=St({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Yo=function Kn(zr){var O,Gr=(zr=null==zr?Za:Yo.defaults(Za.Object(),zr,Yo.pick(Za,eo))).Array,ce=zr.Date,Le=zr.Error,Be=zr.Function,Bt=zr.Math,Kt=zr.Object,Bn=zr.RegExp,sr=zr.String,xr=zr.TypeError,fi=Gr.prototype,So=Kt.prototype,Ms=zr["__core-js_shared__"],Hs=Be.prototype.toString,us=So.hasOwnProperty,Ma=0,ss=(O=/[^.]+$/.exec(Ms&&Ms.keys&&Ms.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",se=So.toString,Dt=Hs.call(Kt),Xe=Za._,rn=Bn("^"+Hs.call(us).replace(Qn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zn=Ec?zr.Buffer:a,ii=zr.Symbol,Ai=zr.Uint8Array,qo=zn?zn.allocUnsafe:a,as=rl(Kt.getPrototypeOf,Kt),oa=Kt.create,ks=So.propertyIsEnumerable,Ds=fi.splice,Bl=ii?ii.isConcatSpreadable:a,ja=ii?ii.iterator:a,Ea=ii?ii.toStringTag:a,ac=function(){try{var O=yu(Kt,"defineProperty");return O({},"",{}),O}catch{}}(),Bc=zr.clearTimeout!==Za.clearTimeout&&zr.clearTimeout,_e=ce&&ce.now!==Za.Date.now&&ce.now,de=zr.setTimeout!==Za.setTimeout&&zr.setTimeout,Fe=Bt.ceil,je=Bt.floor,lt=Kt.getOwnPropertySymbols,Vt=zn?zn.isBuffer:a,Ht=zr.isFinite,wn=fi.join,ar=rl(Kt.keys,Kt),cr=Bt.max,_i=Bt.min,ao=ce.now,gs=zr.parseInt,Wo=Bt.random,Qs=fi.reverse,Pa=yu(zr,"DataView"),dc=yu(zr,"Map"),Tu=yu(zr,"Promise"),nu=yu(zr,"Set"),fa=yu(zr,"WeakMap"),uu=yu(Kt,"create"),tc=fa&&new fa,Iu={},Ol=If(Pa),il=If(dc),du=If(Tu),Al=If(nu),xl=If(fa),Gc=ii?ii.prototype:a,xa=Gc?Gc.valueOf:a,iu=Gc?Gc.toString:a;function En(O){if(au(O)&&!Gl(O)&&!(O instanceof pl)){if(O instanceof fl)return O;if(us.call(O,"__wrapped__"))return yh(O)}return new fl(O)}var Pc=function(){function O(){}return function(G){if(!Zu(G))return{};if(oa)return oa(G);O.prototype=G;var ye=new O;return O.prototype=a,ye}}();function Du(){}function fl(O,G){this.__wrapped__=O,this.__actions__=[],this.__chain__=!!G,this.__index__=0,this.__values__=a}function pl(O){this.__wrapped__=O,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=bn,this.__views__=[]}function fu(O){var G=-1,ye=null==O?0:O.length;for(this.clear();++G<ye;){var pt=O[G];this.set(pt[0],pt[1])}}function Qu(O){var G=-1,ye=null==O?0:O.length;for(this.clear();++G<ye;){var pt=O[G];this.set(pt[0],pt[1])}}function lc(O){var G=-1,ye=null==O?0:O.length;for(this.clear();++G<ye;){var pt=O[G];this.set(pt[0],pt[1])}}function Ru(O){var G=-1,ye=null==O?0:O.length;for(this.__data__=new lc;++G<ye;)this.add(O[G])}function Ne(O){var G=this.__data__=new Qu(O);this.size=G.size}function w(O,G){var ye=Gl(O),pt=!ye&&Hp(O),cn=!ye&&!pt&&Oh(O),Hn=!ye&&!pt&&!cn&&nm(O),br=ye||pt||cn||Hn,Qr=br?vi(O.length,sr):[],bi=Qr.length;for(var Ro in O)(G||us.call(O,Ro))&&(!br||!("length"==Ro||cn&&("offset"==Ro||"parent"==Ro)||Hn&&("buffer"==Ro||"byteLength"==Ro||"byteOffset"==Ro)||hu(Ro,bi)))&&Qr.push(Ro);return Qr}function C(O){var G=O.length;return G?O[Rf(0,G-1)]:a}function N(O,G){return Qf(Vd(O),Zn(G,0,O.length))}function B(O){return Qf(Vd(O))}function re(O,G,ye){(ye!==a&&!O_(O[G],ye)||ye===a&&!(G in O))&&pn(O,G,ye)}function he(O,G,ye){var pt=O[G];(!us.call(O,G)||!O_(pt,ye)||ye===a&&!(G in O))&&pn(O,G,ye)}function Te(O,G){for(var ye=O.length;ye--;)if(O_(O[ye][0],G))return ye;return-1}function $e(O,G,ye,pt){return Co(O,function(cn,Hn,br){G(pt,cn,ye(cn),br)}),pt}function it(O,G){return O&&Pf(G,qd(G),O)}function pn(O,G,ye){"__proto__"==G&&ac?ac(O,G,{configurable:!0,enumerable:!0,value:ye,writable:!0}):O[G]=ye}function Fn(O,G){for(var ye=-1,pt=G.length,cn=Gr(pt),Hn=null==O;++ye<pt;)cn[ye]=Hn?a:Hf(O,G[ye]);return cn}function Zn(O,G,ye){return O==O&&(ye!==a&&(O=O<=ye?O:ye),G!==a&&(O=O>=G?O:G)),O}function or(O,G,ye,pt,cn,Hn){var br,Qr=G&A,bi=G&$,Ro=G&Q;if(ye&&(br=cn?ye(O,pt,cn,Hn):ye(O)),br!==a)return br;if(!Zu(O))return O;var Po=Gl(O);if(Po){if(br=function Kp(O){var G=O.length,ye=new O.constructor(G);return G&&"string"==typeof O[0]&&us.call(O,"index")&&(ye.index=O.index,ye.input=O.input),ye}(O),!Qr)return Vd(O,br)}else{var Zo=wu(O),zs=Zo==oi||Zo==Ri;if(Oh(O))return Md(O,Qr);if(Zo==At||Zo==un||zs&&!cn){if(br=bi||zs?{}:Np(O),!Qr)return bi?function fm(O,G){return Pf(O,vp(O),G)}(O,function $t(O,G){return O&&Pf(G,ep(G),O)}(br,O)):function Gh(O,G){return Pf(O,cf(O),G)}(O,it(br,O))}else{if(!ia[Zo])return cn?O:{};br=function da(O,G,ye){var pt=O.constructor;switch(G){case jr:return F_(O);case ri:case Ir:return new pt(+O);case Pr:return function Uh(O,G){var ye=G?F_(O.buffer):O.buffer;return new O.constructor(ye,O.byteOffset,O.byteLength)}(O,ye);case Bo:case cs:case ts:case io:case Vi:case Pn:case Nn:case Ut:case ke:return um(O,ye);case Tr:return new pt;case ft:case so:return new pt(O);case Lr:return function cm(O){var G=new O.constructor(O.source,Jo.exec(O));return G.lastIndex=O.lastIndex,G}(O);case Fi:return new pt;case Vo:return function _h(O){return xa?Kt(xa.call(O)):{}}(O)}}(O,Zo,Qr)}}Hn||(Hn=new Ne);var Na=Hn.get(O);if(Na)return Na;Hn.set(O,br),ig(O)?O.forEach(function(Sl){br.add(or(Sl,G,ye,Sl,O,Hn))}):Ah(O)&&O.forEach(function(Sl,Nc){br.set(Nc,or(Sl,G,ye,Nc,O,Hn))});var _c=Po?a:(Ro?bi?Ef:Jd:bi?ep:qd)(O);return Cc(_c||O,function(Sl,Nc){_c&&(Sl=O[Nc=Sl]),he(br,Nc,or(Sl,G,ye,Nc,O,Hn))}),br}function Ci(O,G,ye){var pt=ye.length;if(null==O)return!pt;for(O=Kt(O);pt--;){var cn=ye[pt],br=O[cn];if(br===a&&!(cn in O)||!(0,G[cn])(br))return!1}return!0}function Zi(O,G,ye){if("function"!=typeof O)throw new xr(f);return z_(function(){O.apply(a,ye)},G)}function $i(O,G,ye,pt){var cn=-1,Hn=vl,br=!0,Qr=O.length,bi=[],Ro=G.length;if(!Qr)return bi;ye&&(G=Ua(G,Si(ye))),pt?(Hn=Ka,br=!1):G.length>=c&&(Hn=Xs,br=!1,G=new Ru(G));e:for(;++cn<Qr;){var Po=O[cn],Zo=null==ye?Po:ye(Po);if(Po=pt||0!==Po?Po:0,br&&Zo==Zo){for(var zs=Ro;zs--;)if(G[zs]===Zo)continue e;bi.push(Po)}else Hn(G,Zo,pt)||bi.push(Po)}return bi}En.templateSettings={escape:tr,evaluate:vr,interpolate:An,variable:"",imports:{_:En}},(En.prototype=Du.prototype).constructor=En,(fl.prototype=Pc(Du.prototype)).constructor=fl,(pl.prototype=Pc(Du.prototype)).constructor=pl,fu.prototype.clear=function fd(){this.__data__=uu?uu(null):{},this.size=0},fu.prototype.delete=function Sd(O){var G=this.has(O)&&delete this.__data__[O];return this.size-=G?1:0,G},fu.prototype.get=function Cd(O){var G=this.__data__;if(uu){var ye=G[O];return ye===E?a:ye}return us.call(G,O)?G[O]:a},fu.prototype.has=function xp(O){var G=this.__data__;return uu?G[O]!==a:us.call(G,O)},fu.prototype.set=function nc(O,G){var ye=this.__data__;return this.size+=this.has(O)?0:1,ye[O]=uu&&G===a?E:G,this},Qu.prototype.clear=function ap(){this.__data__=[],this.size=0},Qu.prototype.delete=function ua(O){var G=this.__data__,ye=Te(G,O);return!(ye<0||(ye==G.length-1?G.pop():Ds.call(G,ye,1),--this.size,0))},Qu.prototype.get=function lp(O){var G=this.__data__,ye=Te(G,O);return ye<0?a:G[ye][1]},Qu.prototype.has=function Bu(O){return Te(this.__data__,O)>-1},Qu.prototype.set=function jd(O,G){var ye=this.__data__,pt=Te(ye,O);return pt<0?(++this.size,ye.push([O,G])):ye[pt][1]=G,this},lc.prototype.clear=function zo(){this.size=0,this.__data__={hash:new fu,map:new(dc||Qu),string:new fu}},lc.prototype.delete=function pu(O){var G=Sf(this,O).delete(O);return this.size-=G?1:0,G},lc.prototype.get=function cp(O){return Sf(this,O).get(O)},lc.prototype.has=function fc(O){return Sf(this,O).has(O)},lc.prototype.set=function Zd(O,G){var ye=Sf(this,O),pt=ye.size;return ye.set(O,G),this.size+=ye.size==pt?0:1,this},Ru.prototype.add=Ru.prototype.push=function $o(O){return this.__data__.set(O,E),this},Ru.prototype.has=function be(O){return this.__data__.has(O)},Ne.prototype.clear=function ve(){this.__data__=new Qu,this.size=0},Ne.prototype.delete=function Ze(O){var G=this.__data__,ye=G.delete(O);return this.size=G.size,ye},Ne.prototype.get=function Ot(O){return this.__data__.get(O)},Ne.prototype.has=function fn(O){return this.__data__.has(O)},Ne.prototype.set=function k(O,G){var ye=this.__data__;if(ye instanceof Qu){var pt=ye.__data__;if(!dc||pt.length<c-1)return pt.push([O,G]),this.size=++ye.size,this;ye=this.__data__=new lc(pt)}return ye.set(O,G),this.size=ye.size,this};var Co=mp(va),Ho=mp(vc,!0);function co(O,G){var ye=!0;return Co(O,function(pt,cn,Hn){return ye=!!G(pt,cn,Hn)}),ye}function vo(O,G,ye){for(var pt=-1,cn=O.length;++pt<cn;){var Hn=O[pt],br=G(Hn);if(null!=br&&(Qr===a?br==br&&!qf(br):ye(br,Qr)))var Qr=br,bi=Hn}return bi}function ds(O,G){var ye=[];return Co(O,function(pt,cn,Hn){G(pt,cn,Hn)&&ye.push(pt)}),ye}function Ts(O,G,ye,pt,cn){var Hn=-1,br=O.length;for(ye||(ye=zh),cn||(cn=[]);++Hn<br;){var Qr=O[Hn];G>0&&ye(Qr)?G>1?Ts(Qr,G-1,ye,pt,cn):Xc(cn,Qr):pt||(cn[cn.length]=Qr)}return cn}var el=m_(),ga=m_(!0);function va(O,G){return O&&el(O,G,qd)}function vc(O,G){return O&&ga(O,G,qd)}function Gu(O,G){return za(G,function(ye){return n_(O[ye])})}function wl(O,G){for(var ye=0,pt=(G=Yu(G,O)).length;null!=O&&ye<pt;)O=O[gd(G[ye++])];return ye&&ye==pt?O:a}function Yc(O,G,ye){var pt=G(O);return Gl(O)?pt:Xc(pt,ye(O))}function Nl(O){return null==O?O===a?Xr:sn:Ea&&Ea in Kt(O)?function U_(O){var G=us.call(O,Ea),ye=O[Ea];try{O[Ea]=a;var pt=!0}catch{}var cn=se.call(O);return pt&&(G?O[Ea]=ye:delete O[Ea]),cn}(O):function Ep(O){return se.call(O)}(O)}function _u(O,G){return O>G}function jc(O,G){return null!=O&&us.call(O,G)}function rd(O,G){return null!=O&&G in Kt(O)}function Pu(O,G,ye){for(var pt=ye?Ka:vl,cn=O[0].length,Hn=O.length,br=Hn,Qr=Gr(Hn),bi=1/0,Ro=[];br--;){var Po=O[br];br&&G&&(Po=Ua(Po,Si(G))),bi=_i(Po.length,bi),Qr[br]=!ye&&(G||cn>=120&&Po.length>=120)?new Ru(br&&Po):a}Po=O[0];var Zo=-1,zs=Qr[0];e:for(;++Zo<cn&&Ro.length<bi;){var Na=Po[Zo],El=G?G(Na):Na;if(Na=ye||0!==Na?Na:0,!(zs?Xs(zs,El):pt(Ro,El,ye))){for(br=Hn;--br;){var _c=Qr[br];if(!(_c?Xs(_c,El):pt(O[br],El,ye)))continue e}zs&&zs.push(El),Ro.push(Na)}}return Ro}function Td(O,G,ye){var pt=null==(O=uf(O,G=Yu(G,O)))?O:O[gd(Rd(G))];return null==pt?a:ka(pt,O,ye)}function af(O){return au(O)&&Nl(O)==un}function bd(O,G,ye,pt,cn){return O===G||(null==O||null==G||!au(O)&&!au(G)?O!=O&&G!=G:function Ld(O,G,ye,pt,cn,Hn){var br=Gl(O),Qr=Gl(G),bi=br?_n:wu(O),Ro=Qr?_n:wu(G),Po=(bi=bi==un?At:bi)==At,Zo=(Ro=Ro==un?At:Ro)==At,zs=bi==Ro;if(zs&&Oh(O)){if(!Oh(G))return!1;br=!0,Po=!1}if(zs&&!Po)return Hn||(Hn=new Ne),br||nm(O)?S_(O,G,ye,pt,cn,Hn):function Zh(O,G,ye,pt,cn,Hn,br){switch(ye){case Pr:if(O.byteLength!=G.byteLength||O.byteOffset!=G.byteOffset)return!1;O=O.buffer,G=G.buffer;case jr:return!(O.byteLength!=G.byteLength||!Hn(new Ai(O),new Ai(G)));case ri:case Ir:case ft:return O_(+O,+G);case _r:return O.name==G.name&&O.message==G.message;case Lr:case so:return O==G+"";case Tr:var Qr=Ll;case Fi:if(Qr||(Qr=X),O.size!=G.size&&!(pt&U))return!1;var Ro=br.get(O);if(Ro)return Ro==G;pt|=q,br.set(O,G);var Po=S_(Qr(O),Qr(G),pt,cn,Hn,br);return br.delete(O),Po;case Vo:if(xa)return xa.call(O)==xa.call(G)}return!1}(O,G,bi,ye,pt,cn,Hn);if(!(ye&U)){var Na=Po&&us.call(O,"__wrapped__"),El=Zo&&us.call(G,"__wrapped__");if(Na||El){var _c=Na?O.value():O,Sl=El?G.value():G;return Hn||(Hn=new Ne),cn(_c,Sl,ye,pt,Hn)}}return!!zs&&(Hn||(Hn=new Ne),function Qp(O,G,ye,pt,cn,Hn){var br=ye&U,Qr=Jd(O),bi=Qr.length;if(bi!=Jd(G).length&&!br)return!1;for(var Zo=bi;Zo--;){var zs=Qr[Zo];if(!(br?zs in G:us.call(G,zs)))return!1}var Na=Hn.get(O),El=Hn.get(G);if(Na&&El)return Na==G&&El==O;var _c=!0;Hn.set(O,G),Hn.set(G,O);for(var Sl=br;++Zo<bi;){var Nc=O[zs=Qr[Zo]],Zc=G[zs];if(pt)var np=br?pt(Zc,Nc,zs,G,O,Hn):pt(Nc,Zc,zs,O,G,Hn);if(!(np===a?Nc===Zc||cn(Nc,Zc,ye,pt,Hn):np)){_c=!1;break}Sl||(Sl="constructor"==zs)}if(_c&&!Sl){var xd=O.constructor,i_=G.constructor;xd!=i_&&"constructor"in O&&"constructor"in G&&!("function"==typeof xd&&xd instanceof xd&&"function"==typeof i_&&i_ instanceof i_)&&(_c=!1)}return Hn.delete(O),Hn.delete(G),_c}(O,G,ye,pt,cn,Hn))}(O,G,ye,pt,bd,cn))}function Gf(O,G,ye,pt){var cn=ye.length,Hn=cn,br=!pt;if(null==O)return!Hn;for(O=Kt(O);cn--;){var Qr=ye[cn];if(br&&Qr[2]?Qr[1]!==O[Qr[0]]:!(Qr[0]in O))return!1}for(;++cn<Hn;){var bi=(Qr=ye[cn])[0],Ro=O[bi],Po=Qr[1];if(br&&Qr[2]){if(Ro===a&&!(bi in O))return!1}else{var Zo=new Ne;if(pt)var zs=pt(Ro,Po,bi,O,G,Zo);if(!(zs===a?bd(Po,Ro,U|q,pt,Zo):zs))return!1}}return!0}function Kl(O){return!(!Zu(O)||function gh(O){return!!ss&&ss in O}(O))&&(n_(O)?rn:Ii).test(If(O))}function Lt(O){return"function"==typeof O?O:null==O?nd:"object"==typeof O?Gl(O)?Va(O[0],O[1]):ol(O):Lv(O)}function Tn(O){if(!yp(O))return ar(O);var G=[];for(var ye in Kt(O))us.call(O,ye)&&"constructor"!=ye&&G.push(ye);return G}function zi(O,G){return O<G}function Vs(O,G){var ye=-1,pt=Kf(O)?Gr(O.length):[];return Co(O,function(cn,Hn,br){pt[++ye]=G(cn,Hn,br)}),pt}function ol(O){var G=C_(O);return 1==G.length&&G[0][2]?Z_(G[0][0],G[0][1]):function(ye){return ye===O||Gf(ye,O,G)}}function Va(O,G){return Ip(O)&&j_(G)?Z_(gd(O),G):function(ye){var pt=Hf(ye,O);return pt===a&&pt===G?sg(ye,O):bd(G,pt,U|q)}}function pc(O,G,ye,pt,cn){O!==G&&el(G,function(Hn,br){if(cn||(cn=new Ne),Zu(Hn))!function ou(O,G,ye,pt,cn,Hn,br){var Qr=Fp(O,ye),bi=Fp(G,ye),Ro=br.get(bi);if(Ro)re(O,ye,Ro);else{var Po=Hn?Hn(Qr,bi,ye+"",O,G,br):a,Zo=Po===a;if(Zo){var zs=Gl(bi),Na=!zs&&Oh(bi),El=!zs&&!Na&&nm(bi);Po=bi,zs||Na||El?Gl(Qr)?Po=Qr:cd(Qr)?Po=Vd(Qr):Na?(Zo=!1,Po=Md(bi,!0)):El?(Zo=!1,Po=um(bi,!0)):Po=[]:Xd(bi)||Hp(bi)?(Po=Qr,Hp(Qr)?Po=bv(Qr):(!Zu(Qr)||n_(Qr))&&(Po=Np(bi))):Zo=!1}Zo&&(br.set(bi,Po),cn(Po,bi,pt,Hn,br),br.delete(bi)),re(O,ye,Po)}}(O,G,br,ye,pc,pt,cn);else{var Qr=pt?pt(Fp(O,br),Hn,br+"",O,G,cn):a;Qr===a&&(Qr=Hn),re(O,br,Qr)}},ep)}function Fu(O,G){var ye=O.length;if(ye)return hu(G+=G<0?ye:0,ye)?O[G]:a}function I_(O,G,ye){G=G.length?Ua(G,function(Hn){return Gl(Hn)?function(br){return wl(br,1===Hn.length?Hn[0]:Hn)}:Hn}):[nd];var pt=-1;return G=Ua(G,Si(qs())),function Je(Kn,zr){var Gr=Kn.length;for(Kn.sort(zr);Gr--;)Kn[Gr]=Kn[Gr].value;return Kn}(Vs(O,function(Hn,br,Qr){return{criteria:Ua(G,function(Ro){return Ro(Hn)}),index:++pt,value:Hn}}),function(Hn,br){return function Dm(O,G,ye){for(var pt=-1,cn=O.criteria,Hn=G.criteria,br=cn.length,Qr=ye.length;++pt<br;){var bi=Bh(cn[pt],Hn[pt]);if(bi)return pt>=Qr?bi:bi*("desc"==ye[pt]?-1:1)}return O.index-G.index}(Hn,br,ye)})}function kh(O,G,ye){for(var pt=-1,cn=G.length,Hn={};++pt<cn;){var br=G[pt],Qr=wl(O,br);ye(Qr,br)&&kd(Hn,Yu(br,O),Qr)}return Hn}function Yf(O,G,ye,pt){var cn=pt?yl:jl,Hn=-1,br=G.length,Qr=O;for(O===G&&(G=Vd(G)),ye&&(Qr=Ua(O,Si(ye)));++Hn<br;)for(var bi=0,Ro=G[Hn],Po=ye?ye(Ro):Ro;(bi=cn(Qr,Po,bi,pt))>-1;)Qr!==O&&Ds.call(Qr,bi,1),Ds.call(O,bi,1);return O}function jp(O,G){for(var ye=O?G.length:0,pt=ye-1;ye--;){var cn=G[ye];if(ye==pt||cn!==Hn){var Hn=cn;hu(cn)?Ds.call(O,cn,1):h_(O,cn)}}return O}function Rf(O,G){return O+je(Wo()*(G-O+1))}function dp(O,G){var ye="";if(!O||G<1||G>ht)return ye;do{G%2&&(ye+=O),(G=je(G/2))&&(O+=O)}while(G);return ye}function Wa(O,G){return Lp(Lu(O,G,nd),O+"")}function mf(O){return C(eh(O))}function Xl(O,G){var ye=eh(O);return Qf(ye,Zn(G,0,ye.length))}function kd(O,G,ye,pt){if(!Zu(O))return O;for(var cn=-1,Hn=(G=Yu(G,O)).length,br=Hn-1,Qr=O;null!=Qr&&++cn<Hn;){var bi=gd(G[cn]),Ro=ye;if("__proto__"===bi||"constructor"===bi||"prototype"===bi)return O;if(cn!=br){var Po=Qr[bi];(Ro=pt?pt(Po,bi,Qr):a)===a&&(Ro=Zu(Po)?Po:hu(G[cn+1])?[]:{})}he(Qr,bi,Ro),Qr=Qr[bi]}return O}var Zp=tc?function(O,G){return tc.set(O,G),O}:nd,p_=ac?function(O,G){return ac(O,"toString",{configurable:!0,enumerable:!1,value:Gm(G),writable:!0})}:nd;function qu(O){return Qf(eh(O))}function ed(O,G,ye){var pt=-1,cn=O.length;G<0&&(G=-G>cn?0:cn+G),(ye=ye>cn?cn:ye)<0&&(ye+=cn),cn=G>ye?0:ye-G>>>0,G>>>=0;for(var Hn=Gr(cn);++pt<cn;)Hn[pt]=O[pt+G];return Hn}function fp(O,G){var ye;return Co(O,function(pt,cn,Hn){return!(ye=G(pt,cn,Hn))}),!!ye}function __(O,G,ye){var pt=0,cn=null==O?pt:O.length;if("number"==typeof G&&G==G&&cn<=Rt){for(;pt<cn;){var Hn=pt+cn>>>1,br=O[Hn];null!==br&&!qf(br)&&(ye?br<=G:br<G)?pt=Hn+1:cn=Hn}return cn}return jf(O,G,nd,ye)}function jf(O,G,ye,pt){var cn=0,Hn=null==O?0:O.length;if(0===Hn)return 0;for(var br=(G=ye(G))!=G,Qr=null===G,bi=qf(G),Ro=G===a;cn<Hn;){var Po=je((cn+Hn)/2),Zo=ye(O[Po]),zs=Zo!==a,Na=null===Zo,El=Zo==Zo,_c=qf(Zo);if(br)var Sl=pt||El;else Sl=Ro?El&&(pt||zs):Qr?El&&zs&&(pt||!Na):bi?El&&zs&&!Na&&(pt||!_c):!Na&&!_c&&(pt?Zo<=G:Zo<G);Sl?cn=Po+1:Hn=Po}return _i(Hn,Dn)}function wp(O,G){for(var ye=-1,pt=O.length,cn=0,Hn=[];++ye<pt;){var br=O[ye],Qr=G?G(br):br;if(!ye||!O_(Qr,bi)){var bi=Qr;Hn[cn++]=0===br?0:br}}return Hn}function ph(O){return"number"==typeof O?O:qf(O)?nn:+O}function $d(O){if("string"==typeof O)return O;if(Gl(O))return Ua(O,$d)+"";if(qf(O))return iu?iu.call(O):"";var G=O+"";return"0"==G&&1/O==-Qt?"-0":G}function Zf(O,G,ye){var pt=-1,cn=vl,Hn=O.length,br=!0,Qr=[],bi=Qr;if(ye)br=!1,cn=Ka;else if(Hn>=c){var Ro=G?null:$_(O);if(Ro)return X(Ro);br=!1,cn=Xs,bi=new Ru}else bi=G?[]:Qr;e:for(;++pt<Hn;){var Po=O[pt],Zo=G?G(Po):Po;if(Po=ye||0!==Po?Po:0,br&&Zo==Zo){for(var zs=bi.length;zs--;)if(bi[zs]===Zo)continue e;G&&bi.push(Zo),Qr.push(Po)}else cn(bi,Zo,ye)||(bi!==Qr&&bi.push(Zo),Qr.push(Po))}return Qr}function h_(O,G){return null==(O=uf(O,G=Yu(G,O)))||delete O[gd(Rd(G))]}function Hh(O,G,ye,pt){return kd(O,G,ye(wl(O,G)),pt)}function pp(O,G,ye,pt){for(var cn=O.length,Hn=pt?cn:-1;(pt?Hn--:++Hn<cn)&&G(O[Hn],Hn,O););return ye?ed(O,pt?0:Hn,pt?Hn+1:cn):ed(O,pt?Hn+1:0,pt?cn:Hn)}function gf(O,G){var ye=O;return ye instanceof pl&&(ye=ye.value()),sc(G,function(pt,cn){return cn.func.apply(cn.thisArg,Xc([pt],cn.args))},ye)}function lf(O,G,ye){var pt=O.length;if(pt<2)return pt?Zf(O[0]):[];for(var cn=-1,Hn=Gr(pt);++cn<pt;)for(var br=O[cn],Qr=-1;++Qr<pt;)Qr!=cn&&(Hn[cn]=$i(Hn[cn]||br,O[Qr],G,ye));return Zf(Ts(Hn,1),G,ye)}function _p(O,G,ye){for(var pt=-1,cn=O.length,Hn=G.length,br={};++pt<cn;)ye(br,O[pt],pt<Hn?G[pt]:a);return br}function vf(O){return cd(O)?O:[]}function hp(O){return"function"==typeof O?O:nd}function Yu(O,G){return Gl(O)?O:Ip(O,G)?[O]:md(Eu(O))}var _d=Wa;function xu(O,G,ye){var pt=O.length;return ye=ye===a?pt:ye,!G&&ye>=pt?O:ed(O,G,ye)}var zp=Bc||function(O){return Za.clearTimeout(O)};function Md(O,G){if(G)return O.slice();var ye=O.length,pt=qo?qo(ye):new O.constructor(ye);return O.copy(pt),pt}function F_(O){var G=new O.constructor(O.byteLength);return new Ai(G).set(new Ai(O)),G}function um(O,G){var ye=G?F_(O.buffer):O.buffer;return new O.constructor(ye,O.byteOffset,O.length)}function Bh(O,G){if(O!==G){var ye=O!==a,pt=null===O,cn=O==O,Hn=qf(O),br=G!==a,Qr=null===G,bi=G==G,Ro=qf(G);if(!Qr&&!Ro&&!Hn&&O>G||Hn&&br&&bi&&!Qr&&!Ro||pt&&br&&bi||!ye&&bi||!cn)return 1;if(!pt&&!Hn&&!Ro&&O<G||Ro&&ye&&cn&&!pt&&!Hn||Qr&&ye&&cn||!br&&cn||!bi)return-1}return 0}function hh(O,G,ye,pt){for(var cn=-1,Hn=O.length,br=ye.length,Qr=-1,bi=G.length,Ro=cr(Hn-br,0),Po=Gr(bi+Ro),Zo=!pt;++Qr<bi;)Po[Qr]=G[Qr];for(;++cn<br;)(Zo||cn<Hn)&&(Po[ye[cn]]=O[cn]);for(;Ro--;)Po[Qr++]=O[cn++];return Po}function dm(O,G,ye,pt){for(var cn=-1,Hn=O.length,br=-1,Qr=ye.length,bi=-1,Ro=G.length,Po=cr(Hn-Qr,0),Zo=Gr(Po+Ro),zs=!pt;++cn<Po;)Zo[cn]=O[cn];for(var Na=cn;++bi<Ro;)Zo[Na+bi]=G[bi];for(;++br<Qr;)(zs||cn<Hn)&&(Zo[Na+ye[br]]=O[cn++]);return Zo}function Vd(O,G){var ye=-1,pt=O.length;for(G||(G=Gr(pt));++ye<pt;)G[ye]=O[ye];return G}function Pf(O,G,ye,pt){var cn=!ye;ye||(ye={});for(var Hn=-1,br=G.length;++Hn<br;){var Qr=G[Hn],bi=pt?pt(ye[Qr],O[Qr],Qr,ye,O):a;bi===a&&(bi=O[Qr]),cn?pn(ye,Qr,bi):he(ye,Qr,bi)}return ye}function zf(O,G){return function(ye,pt){var cn=Gl(ye)?gl:$e,Hn=G?G():{};return cn(ye,O,qs(pt,2),Hn)}}function Vp(O){return Wa(function(G,ye){var pt=-1,cn=ye.length,Hn=cn>1?ye[cn-1]:a,br=cn>2?ye[2]:a;for(Hn=O.length>3&&"function"==typeof Hn?(cn--,Hn):a,br&&su(ye[0],ye[1],br)&&(Hn=cn<3?a:Hn,cn=1),G=Kt(G);++pt<cn;){var Qr=ye[pt];Qr&&O(G,Qr,pt,Hn)}return G})}function mp(O,G){return function(ye,pt){if(null==ye)return ye;if(!Kf(ye))return O(ye,pt);for(var cn=ye.length,Hn=G?cn:-1,br=Kt(ye);(G?Hn--:++Hn<cn)&&!1!==pt(br[Hn],Hn,br););return ye}}function m_(O){return function(G,ye,pt){for(var cn=-1,Hn=Kt(G),br=pt(G),Qr=br.length;Qr--;){var bi=br[O?Qr:++cn];if(!1===ye(Hn[bi],bi,Hn))break}return G}}function yf(O){return function(G){var ye=Cu(G=Eu(G))?xn(G):a,pt=ye?ye[0]:G.charAt(0),cn=ye?xu(ye,1).join(""):G.slice(1);return pt[O]()+cn}}function yc(O){return function(G){return sc(T0(z(G).replace(ae,"")),O,"")}}function hd(O){return function(){var G=arguments;switch(G.length){case 0:return new O;case 1:return new O(G[0]);case 2:return new O(G[0],G[1]);case 3:return new O(G[0],G[1],G[2]);case 4:return new O(G[0],G[1],G[2],G[3]);case 5:return new O(G[0],G[1],G[2],G[3],G[4]);case 6:return new O(G[0],G[1],G[2],G[3],G[4],G[5]);case 7:return new O(G[0],G[1],G[2],G[3],G[4],G[5],G[6])}var ye=Pc(O.prototype),pt=O.apply(ye,G);return Zu(pt)?pt:ye}}function mh(O){return function(G,ye,pt){var cn=Kt(G);if(!Kf(G)){var Hn=qs(ye,3);G=qd(G),ye=function(Qr){return Hn(cn[Qr],Qr,cn)}}var br=O(G,ye,pt);return br>-1?cn[Hn?G[br]:br]:a}}function Od(O){return Ad(function(G){var ye=G.length,pt=ye,cn=fl.prototype.thru;for(O&&G.reverse();pt--;){var Hn=G[pt];if("function"!=typeof Hn)throw new xr(f);if(cn&&!br&&"wrapper"==id(Hn))var br=new fl([],!0)}for(pt=br?pt:ye;++pt<ye;){var Qr=id(Hn=G[pt]),bi="wrapper"==Qr?$a(Hn):a;br=bi&&Y_(bi[0])&&bi[1]==(Oe|j|ie|Ue)&&!bi[4].length&&1==bi[9]?br[id(bi[0])].apply(br,bi[3]):1==Hn.length&&Y_(Hn)?br[Qr]():br.thru(Hn)}return function(){var Ro=arguments,Po=Ro[0];if(br&&1==Ro.length&&Gl(Po))return br.plant(Po).value();for(var Zo=0,zs=ye?G[Zo].apply(this,Ro):Po;++Zo<ye;)zs=G[Zo].call(this,zs);return zs}})}function Vf(O,G,ye,pt,cn,Hn,br,Qr,bi,Ro){var Po=G&Oe,Zo=G&L,zs=G&J,Na=G&(j|ue),El=G&Me,_c=zs?a:hd(O);return function Sl(){for(var Nc=arguments.length,Zc=Gr(Nc),np=Nc;np--;)Zc[np]=arguments[np];if(Na)var xd=bu(Sl),i_=function qc(Kn,zr){for(var Gr=Kn.length,ce=0;Gr--;)Kn[Gr]===zr&&++ce;return ce}(Zc,xd);if(pt&&(Zc=hh(Zc,pt,cn,Na)),Hn&&(Zc=dm(Zc,Hn,br,Na)),Nc-=i_,Na&&Nc<Ro){var Bd=qa(Zc,xd);return k_(O,G,Vf,Sl.placeholder,ye,Zc,Bd,Qr,bi,Ro-Nc)}var o_=Zo?ye:this,bp=zs?o_[O]:O;return Nc=Zc.length,Qr?Zc=function Jf(O,G){for(var ye=O.length,pt=_i(G.length,ye),cn=Vd(O);pt--;){var Hn=G[pt];O[pt]=hu(Hn,ye)?cn[Hn]:a}return O}(Zc,Qr):El&&Nc>1&&Zc.reverse(),Po&&bi<Nc&&(Zc.length=bi),this&&this!==Za&&this instanceof Sl&&(bp=_c||hd(bp)),bp.apply(o_,Zc)}}function Yh(O,G){return function(ye,pt){return function Ku(O,G,ye,pt){return va(O,function(cn,Hn,br){G(pt,ye(cn),Hn,br)}),pt}(ye,O,G(pt),{})}}function Wd(O,G){return function(ye,pt){var cn;if(ye===a&&pt===a)return G;if(ye!==a&&(cn=ye),pt!==a){if(cn===a)return pt;"string"==typeof ye||"string"==typeof pt?(ye=$d(ye),pt=$d(pt)):(ye=ph(ye),pt=ph(pt)),cn=O(ye,pt)}return cn}}function L_(O){return Ad(function(G){return G=Ua(G,Si(qs())),Wa(function(ye){var pt=this;return O(G,function(cn){return ka(cn,pt,ye)})})})}function v_(O,G){var ye=(G=G===a?" ":$d(G)).length;if(ye<2)return ye?dp(G,O):G;var pt=dp(G,Fe(O/Gt(G)));return Cu(G)?xu(xn(pt),0,O).join(""):pt.slice(0,O)}function gp(O){return function(G,ye,pt){return pt&&"number"!=typeof pt&&su(G,ye,pt)&&(ye=pt=a),G=Ph(G),ye===a?(ye=G,G=0):ye=Ph(ye),function fh(O,G,ye,pt){for(var cn=-1,Hn=cr(Fe((G-O)/(ye||1)),0),br=Gr(Hn);Hn--;)br[pt?Hn:++cn]=O,O+=ye;return br}(G,ye,pt=pt===a?G<ye?1:-1:Ph(pt),O)}}function Wp(O){return function(G,ye){return"string"==typeof G&&"string"==typeof ye||(G=r_(G),ye=r_(ye)),O(G,ye)}}function k_(O,G,ye,pt,cn,Hn,br,Qr,bi,Ro){var Po=G&j;G|=Po?ie:me,(G&=~(Po?me:ie))&pe||(G&=~(L|J));var _c=[O,G,cn,Po?Hn:a,Po?br:a,Po?a:Hn,Po?a:br,Qr,bi,Ro],Sl=ye.apply(a,_c);return Y_(O)&&Qd(Sl,_c),Sl.placeholder=pt,Vh(Sl,O,G)}function Jp(O){var G=Bt[O];return function(ye,pt){if(ye=r_(ye),(pt=null==pt?0:_i(rc(pt),292))&&Ht(ye)){var cn=(Eu(ye)+"e").split("e");return+((cn=(Eu(G(cn[0]+"e"+(+cn[1]+pt)))+"e").split("e"))[0]+"e"+(+cn[1]-pt))}return G(ye)}}var $_=nu&&1/X(new nu([,-0]))[1]==Qt?function(O){return new nu(O)}:Cm;function y_(O){return function(G){var ye=wu(G);return ye==Tr?Ll(G):ye==Fi?function Ce(Kn){var zr=-1,Gr=Array(Kn.size);return Kn.forEach(function(ce){Gr[++zr]=[ce,ce]}),Gr}(G):function wo(Kn,zr){return Ua(zr,function(Gr){return[Gr,Kn[Gr]]})}(G,O(G))}}function Hd(O,G,ye,pt,cn,Hn,br,Qr){var bi=G&J;if(!bi&&"function"!=typeof O)throw new xr(f);var Ro=pt?pt.length:0;if(Ro||(G&=~(ie|me),pt=cn=a),br=br===a?br:cr(rc(br),0),Qr=Qr===a?Qr:rc(Qr),Ro-=cn?cn.length:0,G&me){var Po=pt,Zo=cn;pt=cn=a}var zs=bi?a:$a(O),Na=[O,G,ye,pt,cn,Po,Zo,Hn,br,Qr];if(zs&&function vh(O,G){var ye=O[1],pt=G[1],cn=ye|pt;if(!(cn<(L|J|Oe))&&!(pt==Oe&&ye==j||pt==Oe&&ye==Ue&&O[7].length<=G[8]||pt==(Oe|Ue)&&G[7].length<=G[8]&&ye==j))return O;pt&L&&(O[2]=G[2],cn|=ye&L?0:pe);var Qr=G[3];if(Qr){var bi=O[3];O[3]=bi?hh(bi,Qr,G[4]):Qr,O[4]=bi?qa(O[3],D):G[4]}(Qr=G[5])&&(O[5]=(bi=O[5])?dm(bi,Qr,G[6]):Qr,O[6]=bi?qa(O[5],D):G[6]),(Qr=G[7])&&(O[7]=Qr),pt&Oe&&(O[8]=null==O[8]?G[8]:_i(O[8],G[8])),null==O[9]&&(O[9]=G[9]),O[0]=G[0],O[1]=cn}(Na,zs),O=Na[0],G=Na[1],ye=Na[2],pt=Na[3],cn=Na[4],!(Qr=Na[9]=Na[9]===a?bi?0:O.length:cr(Na[9]-Ro,0))&&G&(j|ue)&&(G&=~(j|ue)),G&&G!=L)El=G==j||G==ue?function Qm(O,G,ye){var pt=hd(O);return function cn(){for(var Hn=arguments.length,br=Gr(Hn),Qr=Hn,bi=bu(cn);Qr--;)br[Qr]=arguments[Qr];var Ro=Hn<3&&br[0]!==bi&&br[Hn-1]!==bi?[]:qa(br,bi);return(Hn-=Ro.length)<ye?k_(O,G,Vf,cn.placeholder,a,br,Ro,a,a,ye-Hn):ka(this&&this!==Za&&this instanceof cn?pt:O,this,br)}}(O,G,Qr):G!=ie&&G!=(L|ie)||cn.length?Vf.apply(a,Na):function jh(O,G,ye,pt){var cn=G&L,Hn=hd(O);return function br(){for(var Qr=-1,bi=arguments.length,Ro=-1,Po=pt.length,Zo=Gr(Po+bi),zs=this&&this!==Za&&this instanceof br?Hn:O;++Ro<Po;)Zo[Ro]=pt[Ro];for(;bi--;)Zo[Ro++]=arguments[++Qr];return ka(zs,cn?ye:this,Zo)}}(O,G,ye,pt);else var El=function g_(O,G,ye){var pt=G&L,cn=hd(O);return function Hn(){return(this&&this!==Za&&this instanceof Hn?cn:O).apply(pt?ye:this,arguments)}}(O,G,ye);return Vh((zs?Zp:Qd)(El,Na),O,G)}function H_(O,G,ye,pt){return O===a||O_(O,So[ye])&&!us.call(pt,ye)?G:O}function E_(O,G,ye,pt,cn,Hn){return Zu(O)&&Zu(G)&&(Hn.set(G,O),pc(O,G,a,E_,Hn),Hn.delete(G)),O}function pm(O){return Xd(O)?a:O}function S_(O,G,ye,pt,cn,Hn){var br=ye&U,Qr=O.length,bi=G.length;if(Qr!=bi&&!(br&&bi>Qr))return!1;var Ro=Hn.get(O),Po=Hn.get(G);if(Ro&&Po)return Ro==G&&Po==O;var Zo=-1,zs=!0,Na=ye&q?new Ru:a;for(Hn.set(O,G),Hn.set(G,O);++Zo<Qr;){var El=O[Zo],_c=G[Zo];if(pt)var Sl=br?pt(_c,El,Zo,G,O,Hn):pt(El,_c,Zo,O,G,Hn);if(Sl!==a){if(Sl)continue;zs=!1;break}if(Na){if(!Ic(G,function(Nc,Zc){if(!Xs(Na,Zc)&&(El===Nc||cn(El,Nc,ye,pt,Hn)))return Na.push(Zc)})){zs=!1;break}}else if(El!==_c&&!cn(El,_c,ye,pt,Hn)){zs=!1;break}}return Hn.delete(O),Hn.delete(G),zs}function Ad(O){return Lp(Lu(O,a,J_),O+"")}function Jd(O){return Yc(O,qd,cf)}function Ef(O){return Yc(O,ep,vp)}var $a=tc?function(O){return tc.get(O)}:Cm;function id(O){for(var G=O.name+"",ye=Iu[G],pt=us.call(Iu,G)?ye.length:0;pt--;){var cn=ye[pt],Hn=cn.func;if(null==Hn||Hn==O)return cn.name}return G}function bu(O){return(us.call(En,"placeholder")?En:O).placeholder}function qs(){var O=En.iteratee||Wg;return O=O===Wg?Lt:O,arguments.length?O(arguments[0],arguments[1]):O}function Sf(O,G){var ye=O.__data__;return function Xp(O){var G=typeof O;return"string"==G||"number"==G||"symbol"==G||"boolean"==G?"__proto__"!==O:null===O}(G)?ye["string"==typeof G?"string":"hash"]:ye.map}function C_(O){for(var G=qd(O),ye=G.length;ye--;){var pt=G[ye],cn=O[pt];G[ye]=[pt,cn,j_(cn)]}return G}function yu(O,G){var ye=function eu(Kn,zr){return null==Kn?a:Kn[zr]}(O,G);return Kl(ye)?ye:a}var cf=lt?function(O){return null==O?[]:(O=Kt(O),za(lt(O),function(G){return ks.call(O,G)}))}:Jg,vp=lt?function(O){for(var G=[];O;)Xc(G,cf(O)),O=as(O);return G}:Jg,wu=Nl;function wf(O,G,ye){for(var pt=-1,cn=(G=Yu(G,O)).length,Hn=!1;++pt<cn;){var br=gd(G[pt]);if(!(Hn=null!=O&&ye(O,br)))break;O=O[br]}return Hn||++pt!=cn?Hn:!!(cn=null==O?0:O.length)&&tm(cn)&&hu(br,cn)&&(Gl(O)||Hp(O))}function Np(O){return"function"!=typeof O.constructor||yp(O)?{}:Pc(as(O))}function zh(O){return Gl(O)||Hp(O)||!!(Bl&&O&&O[Bl])}function hu(O,G){var ye=typeof O;return!!(G=G??ht)&&("number"==ye||"symbol"!=ye&&Vr.test(O))&&O>-1&&O%1==0&&O<G}function su(O,G,ye){if(!Zu(ye))return!1;var pt=typeof G;return!!("number"==pt?Kf(ye)&&hu(G,ye.length):"string"==pt&&G in ye)&&O_(ye[G],O)}function Ip(O,G){if(Gl(O))return!1;var ye=typeof O;return!("number"!=ye&&"symbol"!=ye&&"boolean"!=ye&&null!=O&&!qf(O))||Nr.test(O)||!yr.test(O)||null!=G&&O in Kt(G)}function Y_(O){var G=id(O),ye=En[G];if("function"!=typeof ye||!(G in pl.prototype))return!1;if(O===ye)return!0;var pt=$a(ye);return!!pt&&O===pt[0]}(Pa&&wu(new Pa(new ArrayBuffer(1)))!=Pr||dc&&wu(new dc)!=Tr||Tu&&wu(Tu.resolve())!=Ln||nu&&wu(new nu)!=Fi||fa&&wu(new fa)!=Ni)&&(wu=function(O){var G=Nl(O),ye=G==At?O.constructor:a,pt=ye?If(ye):"";if(pt)switch(pt){case Ol:return Pr;case il:return Tr;case du:return Ln;case Al:return Fi;case xl:return Ni}return G});var Wf=Ms?n_:O1;function yp(O){var G=O&&O.constructor;return O===("function"==typeof G&&G.prototype||So)}function j_(O){return O==O&&!Zu(O)}function Z_(O,G){return function(ye){return null!=ye&&ye[O]===G&&(G!==a||O in Kt(ye))}}function Lu(O,G,ye){return G=cr(G===a?O.length-1:G,0),function(){for(var pt=arguments,cn=-1,Hn=cr(pt.length-G,0),br=Gr(Hn);++cn<Hn;)br[cn]=pt[G+cn];cn=-1;for(var Qr=Gr(G+1);++cn<G;)Qr[cn]=pt[cn];return Qr[G]=ye(br),ka(O,this,Qr)}}function uf(O,G){return G.length<2?O:wl(O,ed(G,0,-1))}function Fp(O,G){if(("constructor"!==G||"function"!=typeof O[G])&&"__proto__"!=G)return O[G]}var Qd=Dd(Zp),z_=de||function(O,G){return Za.setTimeout(O,G)},Lp=Dd(p_);function Vh(O,G,ye){var pt=G+"";return Lp(O,function G_(O,G){var ye=G.length;if(!ye)return O;var pt=ye-1;return G[pt]=(ye>1?"& ":"")+G[pt],G=G.join(ye>2?", ":" "),O.replace(kt,"{\n/* [wrapped with "+G+"] */\n")}(pt,function Ff(O,G){return Cc(Xt,function(ye){var pt="_."+ye[0];G&ye[1]&&!vl(O,pt)&&O.push(pt)}),O.sort()}(function xf(O){var G=O.match(st);return G?G[1].split(zt):[]}(pt),ye)))}function Dd(O){var G=0,ye=0;return function(){var pt=ao(),cn=Et-(pt-ye);if(ye=pt,cn>0){if(++G>=tt)return arguments[0]}else G=0;return O.apply(a,arguments)}}function Qf(O,G){var ye=-1,pt=O.length,cn=pt-1;for(G=G===a?pt:G;++ye<G;){var Hn=Rf(ye,cn),br=O[Hn];O[Hn]=O[ye],O[ye]=br}return O.length=G,O}var md=function Nf(O){var G=Im(O,function(pt){return 500===ye.size&&ye.clear(),pt}),ye=G.cache;return G}(function(O){var G=[];return 46===O.charCodeAt(0)&&G.push(""),O.replace(nr,function(ye,pt,cn,Hn){G.push(cn?Hn.replace(mi,"$1"):pt||ye)}),G});function gd(O){if("string"==typeof O||qf(O))return O;var G=O+"";return"0"==G&&1/O==-Qt?"-0":G}function If(O){if(null!=O){try{return Hs.call(O)}catch{}try{return O+""}catch{}}return""}function yh(O){if(O instanceof pl)return O.clone();var G=new fl(O.__wrapped__,O.__chain__);return G.__actions__=Vd(O.__actions__),G.__index__=O.__index__,G.__values__=O.__values__,G}var Eh=Wa(function(O,G){return cd(O)?$i(O,Ts(G,1,cd,!0)):[]}),W_=Wa(function(O,G){var ye=Rd(G);return cd(ye)&&(ye=a),cd(O)?$i(O,Ts(G,1,cd,!0),qs(ye,2)):[]}),od=Wa(function(O,G){var ye=Rd(G);return cd(ye)&&(ye=a),cd(O)?$i(O,Ts(G,1,cd,!0),a,ye):[]});function b_(O,G,ye){var pt=null==O?0:O.length;if(!pt)return-1;var cn=null==ye?0:rc(ye);return cn<0&&(cn=cr(pt+cn,0)),Ac(O,qs(G,3),cn)}function Ch(O,G,ye){var pt=null==O?0:O.length;if(!pt)return-1;var cn=pt-1;return ye!==a&&(cn=rc(ye),cn=ye<0?cr(pt+cn,0):_i(cn,pt-1)),Ac(O,qs(G,3),cn,!0)}function J_(O){return null!=O&&O.length?Ts(O,1):[]}function gm(O){return O&&O.length?O[0]:a}var Q_=Wa(function(O){var G=Ua(O,vf);return G.length&&G[0]===O[0]?Pu(G):[]}),Pm=Wa(function(O){var G=Rd(O),ye=Ua(O,vf);return G===Rd(ye)?G=a:ye.pop(),ye.length&&ye[0]===O[0]?Pu(ye,qs(G,2)):[]}),Sp=Wa(function(O){var G=Rd(O),ye=Ua(O,vf);return(G="function"==typeof G?G:a)&&ye.pop(),ye.length&&ye[0]===O[0]?Pu(ye,a,G):[]});function Rd(O){var G=null==O?0:O.length;return G?O[G-1]:a}var bh=Wa(K_);function K_(O,G){return O&&O.length&&G&&G.length?Yf(O,G):O}var F=Ad(function(O,G){var ye=null==O?0:O.length,pt=Fn(O,G);return jp(O,Ua(G,function(cn){return hu(cn,ye)?+cn:cn}).sort(Bh)),pt});function S(O){return null==O?O:Qs.call(O)}var qe=Wa(function(O){return Zf(Ts(O,1,cd,!0))}),wt=Wa(function(O){var G=Rd(O);return cd(G)&&(G=a),Zf(Ts(O,1,cd,!0),qs(G,2))}),gn=Wa(function(O){var G=Rd(O);return G="function"==typeof G?G:a,Zf(Ts(O,1,cd,!0),a,G)});function jo(O){if(!O||!O.length)return[];var G=0;return O=za(O,function(ye){if(cd(ye))return G=cr(ye.length,G),!0}),vi(G,function(ye){return Ua(O,Au(ye))})}function Ns(O,G){if(!O||!O.length)return[];var ye=jo(O);return null==G?ye:Ua(ye,function(pt){return ka(G,a,pt)})}var uo=Wa(function(O,G){return cd(O)?$i(O,G):[]}),Ws=Wa(function(O){return lf(za(O,cd))}),pa=Wa(function(O){var G=Rd(O);return cd(G)&&(G=a),lf(za(O,cd),qs(G,2))}),ya=Wa(function(O){var G=Rd(O);return G="function"==typeof G?G:a,lf(za(O,cd),a,G)}),hi=Wa(jo),_o=Wa(function(O){var G=O.length,ye=G>1?O[G-1]:a;return ye="function"==typeof ye?(O.pop(),ye):a,Ns(O,ye)});function go(O){var G=En(O);return G.__chain__=!0,G}function Bs(O,G){return G(O)}var Ja=Ad(function(O){var G=O.length,ye=G?O[0]:0,pt=this.__wrapped__,cn=function(Hn){return Fn(Hn,O)};return!(G>1||this.__actions__.length)&&pt instanceof pl&&hu(ye)?((pt=pt.slice(ye,+ye+(G?1:0))).__actions__.push({func:Bs,args:[cn],thisArg:a}),new fl(pt,this.__chain__).thru(function(Hn){return G&&!Hn.length&&Hn.push(a),Hn})):this.thru(cn)}),qp=zf(function(O,G,ye){us.call(O,ye)?++O[ye]:pn(O,ye,1)}),xm=mh(b_),wm=mh(Ch);function td(O,G){return(Gl(O)?Cc:Co)(O,qs(G,3))}function $p(O,G){return(Gl(O)?bc:Ho)(O,qs(G,3))}var Kh=zf(function(O,G,ye){us.call(O,ye)?O[ye].push(G):pn(O,ye,[G])}),eg=Wa(function(O,G,ye){var pt=-1,cn="function"==typeof G,Hn=Kf(O)?Gr(O.length):[];return Co(O,function(br){Hn[++pt]=cn?ka(G,br,ye):Td(br,G,ye)}),Hn}),s1=zf(function(O,G,ye){pn(O,ye,G)});function Ag(O,G){return(Gl(O)?Ua:Vs)(O,qs(G,3))}var a1=zf(function(O,G,ye){O[ye?0:1].push(G)},function(){return[[],[]]}),av=Wa(function(O,G){if(null==O)return[];var ye=G.length;return ye>1&&su(O,G[0],G[1])?G=[]:ye>2&&su(G[0],G[1],G[2])&&(G=[G[0]]),I_(O,Ts(G,1),[])}),Xh=_e||function(){return Za.Date.now()};function Pg(O,G,ye){return G=ye?a:G,Hd(O,Oe,a,a,a,a,G=O&&null==G?O.length:G)}function c1(O,G){var ye;if("function"!=typeof G)throw new xr(f);return O=rc(O),function(){return--O>0&&(ye=G.apply(this,arguments)),O<=1&&(G=a),ye}}var xg=Wa(function(O,G,ye){var pt=L;if(ye.length){var cn=qa(ye,bu(xg));pt|=ie}return Hd(O,pt,G,ye,cn)}),u1=Wa(function(O,G,ye){var pt=L|J;if(ye.length){var cn=qa(ye,bu(u1));pt|=ie}return Hd(G,pt,O,ye,cn)});function Ng(O,G,ye){var pt,cn,Hn,br,Qr,bi,Ro=0,Po=!1,Zo=!1,zs=!0;if("function"!=typeof O)throw new xr(f);function Na(Bd){var o_=pt,bp=cn;return pt=cn=a,Ro=Bd,br=O.apply(bp,o_)}function Sl(Bd){var o_=Bd-bi;return bi===a||o_>=G||o_<0||Zo&&Bd-Ro>=Hn}function Nc(){var Bd=Xh();if(Sl(Bd))return Zc(Bd);Qr=z_(Nc,function _c(Bd){var w1=G-(Bd-bi);return Zo?_i(w1,Hn-(Bd-Ro)):w1}(Bd))}function Zc(Bd){return Qr=a,zs&&pt?Na(Bd):(pt=cn=a,br)}function i_(){var Bd=Xh(),o_=Sl(Bd);if(pt=arguments,cn=this,bi=Bd,o_){if(Qr===a)return function El(Bd){return Ro=Bd,Qr=z_(Nc,G),Po?Na(Bd):br}(bi);if(Zo)return zp(Qr),Qr=z_(Nc,G),Na(bi)}return Qr===a&&(Qr=z_(Nc,G)),br}return G=r_(G)||0,Zu(ye)&&(Po=!!ye.leading,Hn=(Zo="maxWait"in ye)?cr(r_(ye.maxWait)||0,G):Hn,zs="trailing"in ye?!!ye.trailing:zs),i_.cancel=function np(){Qr!==a&&zp(Qr),Ro=0,pt=bi=cn=Qr=a},i_.flush=function xd(){return Qr===a?br:Zc(Xh())},i_}var d1=Wa(function(O,G){return Zi(O,1,G)}),cv=Wa(function(O,G,ye){return Zi(O,r_(G)||0,ye)});function Im(O,G){if("function"!=typeof O||null!=G&&"function"!=typeof G)throw new xr(f);var ye=function(){var pt=arguments,cn=G?G.apply(this,pt):pt[0],Hn=ye.cache;if(Hn.has(cn))return Hn.get(cn);var br=O.apply(this,pt);return ye.cache=Hn.set(cn,br)||Hn,br};return ye.cache=new(Im.Cache||lc),ye}function tg(O){if("function"!=typeof O)throw new xr(f);return function(){var G=arguments;switch(G.length){case 0:return!O.call(this);case 1:return!O.call(this,G[0]);case 2:return!O.call(this,G[0],G[1]);case 3:return!O.call(this,G[0],G[1],G[2])}return!O.apply(this,G)}}Im.Cache=lc;var uv=_d(function(O,G){var ye=(G=1==G.length&&Gl(G[0])?Ua(G[0],Si(qs())):Ua(Ts(G,1),Si(qs()))).length;return Wa(function(pt){for(var cn=-1,Hn=_i(pt.length,ye);++cn<Hn;)pt[cn]=G[cn].call(this,pt[cn]);return ka(O,this,pt)})}),Ig=Wa(function(O,G){var ye=qa(G,bu(Ig));return Hd(O,ie,a,G,ye)}),dv=Wa(function(O,G){var ye=qa(G,bu(dv));return Hd(O,me,a,G,ye)}),_1=Ad(function(O,G){return Hd(O,Ue,a,a,a,G)});function O_(O,G){return O===G||O!=O&&G!=G}var hv=Wp(_u),ym=Wp(function(O,G){return O>=G}),Hp=af(function(){return arguments}())?af:function(O){return au(O)&&us.call(O,"callee")&&!ks.call(O,"callee")},Gl=Gr.isArray,ng=Kc?Si(Kc):function xc(O){return au(O)&&Nl(O)==jr};function Kf(O){return null!=O&&tm(O.length)&&!n_(O)}function cd(O){return au(O)&&Kf(O)}var Oh=Vt||O1,gv=Vc?Si(Vc):function up(O){return au(O)&&Nl(O)==Ir};function em(O){if(!au(O))return!1;var G=Nl(O);return G==_r||G==wr||"string"==typeof O.message&&"string"==typeof O.name&&!Xd(O)}function n_(O){if(!Zu(O))return!1;var G=Nl(O);return G==oi||G==Ri||G==kn||G==rr}function $g(O){return"number"==typeof O&&O==rc(O)}function tm(O){return"number"==typeof O&&O>-1&&O%1==0&&O<=ht}function Zu(O){var G=typeof O;return null!=O&&("object"==G||"function"==G)}function au(O){return null!=O&&"object"==typeof O}var Ah=cu?Si(cu):function Xu(O){return au(O)&&wu(O)==Tr};function Dh(O){return"number"==typeof O||au(O)&&Nl(O)==ft}function Xd(O){if(!au(O)||Nl(O)!=At)return!1;var G=as(O);if(null===G)return!0;var ye=us.call(G,"constructor")&&G.constructor;return"function"==typeof ye&&ye instanceof ye&&Hs.call(ye)==Dt}var Xf=xs?Si(xs):function ne(O){return au(O)&&Nl(O)==Lr},ig=Tc?Si(Tc):function De(O){return au(O)&&wu(O)==Fi};function og(O){return"string"==typeof O||!Gl(O)&&au(O)&&Nl(O)==so}function qf(O){return"symbol"==typeof O||au(O)&&Nl(O)==Vo}var nm=cc?Si(cc):function vt(O){return au(O)&&tm(O.length)&&!!hs[Nl(O)]},E0=Wp(zi),Ug=Wp(function(O,G){return O<=G});function Rh(O){if(!O)return[];if(Kf(O))return og(O)?xn(O):Vd(O);if(ja&&O[ja])return function tu(Kn){for(var zr,Gr=[];!(zr=Kn.next()).done;)Gr.push(zr.value);return Gr}(O[ja]());var G=wu(O);return(G==Tr?Ll:G==Fi?X:eh)(O)}function Ph(O){return O?(O=r_(O))===Qt||O===-Qt?(O<0?-1:1)*en:O==O?O:0:0===O?O:0}function rc(O){var G=Ph(O),ye=G%1;return G==G?ye?G-ye:G:0}function C1(O){return O?Zn(rc(O),0,bn):0}function r_(O){if("number"==typeof O)return O;if(qf(O))return nn;if(Zu(O)){var G="function"==typeof O.valueOf?O.valueOf():O;O=Zu(G)?G+"":G}if("string"!=typeof O)return 0===O?O:+O;O=Ya(O);var ye=hr.test(O);return ye||ni.test(O)?ru(O.slice(2),ye?2:8):os.test(O)?nn:+O}function bv(O){return Pf(O,ep(O))}function Eu(O){return null==O?"":$d(O)}var Cp=Vp(function(O,G){if(yp(G)||Kf(G))Pf(G,qd(G),O);else for(var ye in G)us.call(G,ye)&&he(O,ye,G[ye])}),Mv=Vp(function(O,G){Pf(G,ep(G),O)}),Fm=Vp(function(O,G,ye,pt){Pf(G,ep(G),O,pt)}),Bg=Vp(function(O,G,ye,pt){Pf(G,qd(G),O,pt)}),vd=Ad(Fn),mu=Wa(function(O,G){O=Kt(O);var ye=-1,pt=G.length,cn=pt>2?G[2]:a;for(cn&&su(G[0],G[1],cn)&&(pt=1);++ye<pt;)for(var Hn=G[ye],br=ep(Hn),Qr=-1,bi=br.length;++Qr<bi;){var Ro=br[Qr],Po=O[Ro];(Po===a||O_(Po,So[Ro])&&!us.call(O,Ro))&&(O[Ro]=Hn[Ro])}return O}),Gg=Wa(function(O){return O.push(a,E_),ka(Lm,a,O)});function Hf(O,G,ye){var pt=null==O?a:wl(O,G);return pt===a?ye:pt}function sg(O,G){return null!=O&&wf(O,G,rd)}var Av=Yh(function(O,G,ye){null!=G&&"function"!=typeof G.toString&&(G=se.call(G)),O[G]=ye},Gm(nd)),T1=Yh(function(O,G,ye){null!=G&&"function"!=typeof G.toString&&(G=se.call(G)),us.call(O,G)?O[G].push(ye):O[G]=[ye]},qs),Dv=Wa(Td);function qd(O){return Kf(O)?w(O):Tn(O)}function ep(O){return Kf(O)?w(O,!0):function Yr(O){if(!Zu(O))return function T_(O){var G=[];if(null!=O)for(var ye in Kt(O))G.push(ye);return G}(O);var G=yp(O),ye=[];for(var pt in O)"constructor"==pt&&(G||!us.call(O,pt))||ye.push(pt);return ye}(O)}var Pv=Vp(function(O,G,ye){pc(O,G,ye)}),Lm=Vp(function(O,G,ye,pt){pc(O,G,ye,pt)}),km=Ad(function(O,G){var ye={};if(null==O)return ye;var pt=!1;G=Ua(G,function(Hn){return Hn=Yu(Hn,O),pt||(pt=Hn.length>1),Hn}),Pf(O,Ef(O),ye),pt&&(ye=or(ye,A|$|Q,pm));for(var cn=G.length;cn--;)h_(ye,G[cn]);return ye}),S0=Ad(function(O,G){return null==O?{}:function zd(O,G){return kh(O,G,function(ye,pt){return sg(O,pt)})}(O,G)});function cg(O,G){if(null==O)return{};var ye=Ua(Ef(O),function(pt){return[pt]});return G=qs(G),kh(O,ye,function(pt,cn){return G(pt,cn[0])})}var wh=y_(qd),Zg=y_(ep);function eh(O){return null==O?[]:ca(O,qd(O))}var I=yc(function(O,G,ye){return G=G.toLowerCase(),O+(ye?ee(G):G)});function ee(O){return dg(Eu(O).toLowerCase())}function z(O){return(O=Eu(O))&&O.replace(wi,gc).replace(We,"")}var Er=yc(function(O,G,ye){return O+(ye?"-":"")+G.toLowerCase()}),li=yc(function(O,G,ye){return O+(ye?" ":"")+G.toLowerCase()}),es=yf("toLowerCase"),lu=yc(function(O,G,ye){return O+(ye?"_":"")+G.toLowerCase()}),Vu=yc(function(O,G,ye){return O+(ye?" ":"")+dg(G)}),hS=yc(function(O,G,ye){return O+(ye?" ":"")+G.toUpperCase()}),dg=yf("toUpperCase");function T0(O,G,ye){return O=Eu(O),(G=ye?a:G)===a?function uc(Kn){return Ui.test(Kn)}(O)?function Dr(Kn){return Kn.match(yn)||[]}(O):function Xa(Kn){return Kn.match(er)||[]}(O):O.match(G)||[]}var b0=Wa(function(O,G){try{return ka(O,a,G)}catch(ye){return em(ye)?ye:new Le(ye)}}),Fv=Ad(function(O,G){return Cc(G,function(ye){ye=gd(ye),pn(O,ye,xg(O[ye],O))}),O});function Gm(O){return function(){return O}}var Ym=Od(),M1=Od(!0);function nd(O){return O}function Wg(O){return Lt("function"==typeof O?O:or(O,A))}var Sm=Wa(function(O,G){return function(ye){return Td(ye,O,G)}}),jm=Wa(function(O,G){return function(ye){return Td(O,ye,G)}});function rh(O,G,ye){var pt=qd(G),cn=Gu(G,pt);null==ye&&(!Zu(G)||!cn.length&&pt.length)&&(ye=G,G=O,O=this,cn=Gu(G,qd(G)));var Hn=!(Zu(ye)&&"chain"in ye&&!ye.chain),br=n_(O);return Cc(cn,function(Qr){var bi=G[Qr];O[Qr]=bi,br&&(O.prototype[Qr]=function(){var Ro=this.__chain__;if(Hn||Ro){var Po=O(this.__wrapped__);return(Po.__actions__=Vd(this.__actions__)).push({func:bi,args:arguments,thisArg:O}),Po.__chain__=Ro,Po}return bi.apply(O,Xc([this.value()],arguments))})}),O}function Cm(){}var mg=L_(Ua),M0=L_(Mc),O0=L_(Ic);function Lv(O){return Ip(O)?Au(gd(O)):function $h(O){return function(G){return wl(G,O)}}(O)}var D0=gp(),R0=gp(!0);function Jg(){return[]}function O1(){return!1}var kv=Wd(function(O,G){return O+G},0),$v=Jp("ceil"),Ly=Wd(function(O,G){return O/G},1),A1=Jp("floor"),N0=Wd(function(O,G){return O*G},1),Bv=Jp("round"),I0=Wd(function(O,G){return O-G},0);return En.after=function lv(O,G){if("function"!=typeof G)throw new xr(f);return O=rc(O),function(){if(--O<1)return G.apply(this,arguments)}},En.ary=Pg,En.assign=Cp,En.assignIn=Mv,En.assignInWith=Fm,En.assignWith=Bg,En.at=vd,En.before=c1,En.bind=xg,En.bindAll=Fv,En.bindKey=u1,En.castArray=function pv(){if(!arguments.length)return[];var O=arguments[0];return Gl(O)?O:[O]},En.chain=go,En.chunk=function _m(O,G,ye){G=(ye?su(O,G,ye):G===a)?1:cr(rc(G),0);var pt=null==O?0:O.length;if(!pt||G<1)return[];for(var cn=0,Hn=0,br=Gr(Fe(pt/G));cn<pt;)br[Hn++]=ed(O,cn,cn+=G);return br},En.compact=function V_(O){for(var G=-1,ye=null==O?0:O.length,pt=0,cn=[];++G<ye;){var Hn=O[G];Hn&&(cn[pt++]=Hn)}return cn},En.concat=function Wh(){var O=arguments.length;if(!O)return[];for(var G=Gr(O-1),ye=arguments[0],pt=O;pt--;)G[pt-1]=arguments[pt];return Xc(Gl(ye)?Vd(ye):[ye],Ts(G,1))},En.cond=function wy(O){var G=null==O?0:O.length,ye=qs();return O=G?Ua(O,function(pt){if("function"!=typeof pt[1])throw new xr(f);return[ye(pt[0]),pt[1]]}):[],Wa(function(pt){for(var cn=-1;++cn<G;){var Hn=O[cn];if(ka(Hn[0],this,pt))return ka(Hn[1],this,pt)}})},En.conforms=function R_(O){return function Hr(O){var G=qd(O);return function(ye){return Ci(ye,O,G)}}(or(O,A))},En.constant=Gm,En.countBy=qp,En.create=function Cf(O,G){var ye=Pc(O);return null==G?ye:it(ye,G)},En.curry=function $l(O,G,ye){var pt=Hd(O,j,a,a,a,a,a,G=ye?a:G);return pt.placeholder=$l.placeholder,pt},En.curryRight=function wg(O,G,ye){var pt=Hd(O,ue,a,a,a,a,a,G=ye?a:G);return pt.placeholder=wg.placeholder,pt},En.debounce=Ng,En.defaults=mu,En.defaultsDeep=Gg,En.defer=d1,En.delay=cv,En.difference=Eh,En.differenceBy=W_,En.differenceWith=od,En.drop=function sd(O,G,ye){var pt=null==O?0:O.length;return pt?ed(O,(G=ye||G===a?1:rc(G))<0?0:G,pt):[]},En.dropRight=function Mu(O,G,ye){var pt=null==O?0:O.length;return pt?ed(O,0,(G=pt-(G=ye||G===a?1:rc(G)))<0?0:G):[]},En.dropRightWhile=function ad(O,G){return O&&O.length?pp(O,qs(G,3),!0,!0):[]},En.dropWhile=function Lf(O,G){return O&&O.length?pp(O,qs(G,3),!0):[]},En.fill=function Sh(O,G,ye,pt){var cn=null==O?0:O.length;return cn?(ye&&"number"!=typeof ye&&su(O,G,ye)&&(ye=0,pt=cn),function ms(O,G,ye,pt){var cn=O.length;for((ye=rc(ye))<0&&(ye=-ye>cn?0:cn+ye),(pt=pt===a||pt>cn?cn:rc(pt))<0&&(pt+=cn),pt=ye>pt?0:C1(pt);ye<pt;)O[ye++]=G;return O}(O,G,ye,pt)):[]},En.filter=function Xm(O,G){return(Gl(O)?za:ds)(O,qs(G,3))},En.flatMap=function qm(O,G){return Ts(Ag(O,G),1)},En.flatMapDeep=function Nm(O,G){return Ts(Ag(O,G),Qt)},En.flatMapDepth=function e_(O,G,ye){return ye=ye===a?1:rc(ye),Ts(Ag(O,G),ye)},En.flatten=J_,En.flattenDeep=function kp(O){return null!=O&&O.length?Ts(O,Qt):[]},En.flattenDepth=function hm(O,G){return null!=O&&O.length?Ts(O,G=G===a?1:rc(G)):[]},En.flip=function f1(O){return Hd(O,Me)},En.flow=Ym,En.flowRight=M1,En.fromPairs=function mm(O){for(var G=-1,ye=null==O?0:O.length,pt={};++G<ye;){var cn=O[G];pt[cn[0]]=cn[1]}return pt},En.functions=function Ud(O){return null==O?[]:Gu(O,qd(O))},En.functionsIn=function jg(O){return null==O?[]:Gu(O,ep(O))},En.groupBy=Kh,En.initial=function ld(O){return null!=O&&O.length?ed(O,0,-1):[]},En.intersection=Q_,En.intersectionBy=Pm,En.intersectionWith=Sp,En.invert=Av,En.invertBy=T1,En.invokeMap=eg,En.iteratee=Wg,En.keyBy=s1,En.keys=qd,En.keysIn=ep,En.map=Ag,En.mapKeys=function ag(O,G){var ye={};return G=qs(G,3),va(O,function(pt,cn,Hn){pn(ye,G(pt,cn,Hn),pt)}),ye},En.mapValues=function Rv(O,G){var ye={};return G=qs(G,3),va(O,function(pt,cn,Hn){pn(ye,cn,G(pt,cn,Hn))}),ye},En.matches=function fg(O){return ol(or(O,A))},En.matchesProperty=function pg(O,G){return Va(O,or(G,A))},En.memoize=Im,En.merge=Pv,En.mergeWith=Lm,En.method=Sm,En.methodOf=jm,En.mixin=rh,En.negate=tg,En.nthArg=function hg(O){return O=rc(O),Wa(function(G){return Fu(G,O)})},En.omit=km,En.omitBy=function lg(O,G){return cg(O,tg(qs(G)))},En.once=function p1(O){return c1(2,O)},En.orderBy=function Dg(O,G,ye,pt){return null==O?[]:(Gl(G)||(G=null==G?[]:[G]),Gl(ye=pt?a:ye)||(ye=null==ye?[]:[ye]),I_(O,G,ye))},En.over=mg,En.overArgs=uv,En.overEvery=M0,En.overSome=O0,En.partial=Ig,En.partialRight=dv,En.partition=a1,En.pick=S0,En.pickBy=cg,En.property=Lv,En.propertyOf=function A0(O){return function(G){return null==O?a:wl(O,G)}},En.pull=bh,En.pullAll=K_,En.pullAllBy=function Km(O,G,ye){return O&&O.length&&G&&G.length?Yf(O,G,qs(ye,2)):O},En.pullAllWith=function M_(O,G,ye){return O&&O.length&&G&&G.length?Yf(O,G,a,ye):O},En.pullAt=F,En.range=D0,En.rangeRight=R0,En.rearg=_1,En.reject=function iv(O,G){return(Gl(O)?za:ds)(O,tg(qs(G,3)))},En.remove=function oe(O,G){var ye=[];if(!O||!O.length)return ye;var pt=-1,cn=[],Hn=O.length;for(G=qs(G,3);++pt<Hn;){var br=O[pt];G(br,pt,O)&&(ye.push(br),cn.push(pt))}return jp(O,cn),ye},En.rest=function h1(O,G){if("function"!=typeof O)throw new xr(f);return Wa(O,G=G===a?G:rc(G))},En.reverse=S,En.sampleSize=function t_(O,G,ye){return G=(ye?su(O,G,ye):G===a)?1:rc(G),(Gl(O)?N:Xl)(O,G)},En.set=function $m(O,G,ye){return null==O?O:kd(O,G,ye)},En.setWith=function xh(O,G,ye,pt){return pt="function"==typeof pt?pt:a,null==O?O:kd(O,G,ye,pt)},En.shuffle=function ov(O){return(Gl(O)?B:qu)(O)},En.slice=function V(O,G,ye){var pt=null==O?0:O.length;return pt?(ye&&"number"!=typeof ye&&su(O,G,ye)?(G=0,ye=pt):(G=null==G?0:rc(G),ye=ye===a?pt:rc(ye)),ed(O,G,ye)):[]},En.sortBy=av,En.sortedUniq=function Li(O){return O&&O.length?wp(O):[]},En.sortedUniqBy=function Es(O,G){return O&&O.length?wp(O,qs(G,2)):[]},En.split=function ku(O,G,ye){return ye&&"number"!=typeof ye&&su(O,G,ye)&&(G=ye=a),(ye=ye===a?bn:ye>>>0)?(O=Eu(O))&&("string"==typeof G||null!=G&&!Xf(G))&&!(G=$d(G))&&Cu(O)?xu(xn(O),0,ye):O.split(G,ye):[]},En.spread=function qh(O,G){if("function"!=typeof O)throw new xr(f);return G=null==G?0:cr(rc(G),0),Wa(function(ye){var pt=ye[G],cn=xu(ye,0,G);return pt&&Xc(cn,pt),ka(O,this,cn)})},En.tail=function ns(O){var G=null==O?0:O.length;return G?ed(O,1,G):[]},En.take=function v(O,G,ye){return O&&O.length?ed(O,0,(G=ye||G===a?1:rc(G))<0?0:G):[]},En.takeRight=function R(O,G,ye){var pt=null==O?0:O.length;return pt?ed(O,(G=pt-(G=ye||G===a?1:rc(G)))<0?0:G,pt):[]},En.takeRightWhile=function Z(O,G){return O&&O.length?pp(O,qs(G,3),!1,!0):[]},En.takeWhile=function Ae(O,G){return O&&O.length?pp(O,qs(G,3)):[]},En.tap=function al(O,G){return G(O),O},En.throttle=function fv(O,G,ye){var pt=!0,cn=!0;if("function"!=typeof O)throw new xr(f);return Zu(ye)&&(pt="leading"in ye?!!ye.leading:pt,cn="trailing"in ye?!!ye.trailing:cn),Ng(O,G,{leading:pt,maxWait:G,trailing:cn})},En.thru=Bs,En.toArray=Rh,En.toPairs=wh,En.toPairsIn=Zg,En.toPath=function Fy(O){return Gl(O)?Ua(O,gd):qf(O)?[O]:Vd(md(Eu(O)))},En.toPlainObject=bv,En.transform=function zg(O,G,ye){var pt=Gl(O),cn=pt||Oh(O)||nm(O);if(G=qs(G,4),null==ye){var Hn=O&&O.constructor;ye=cn?pt?new Hn:[]:Zu(O)&&n_(Hn)?Pc(as(O)):{}}return(cn?Cc:va)(O,function(br,Qr,bi){return G(ye,br,Qr,bi)}),ye},En.unary=function Fg(O){return Pg(O,1)},En.union=qe,En.unionBy=wt,En.unionWith=gn,En.uniq=function $n(O){return O&&O.length?Zf(O):[]},En.uniqBy=function Sr(O,G){return O&&O.length?Zf(O,qs(G,2)):[]},En.uniqWith=function Di(O,G){return G="function"==typeof G?G:a,O&&O.length?Zf(O,a,G):[]},En.unset=function A_(O,G){return null==O||h_(O,G)},En.unzip=jo,En.unzipWith=Ns,En.update=function Hm(O,G,ye){return null==O?O:Hh(O,G,hp(ye))},En.updateWith=function Um(O,G,ye,pt){return pt="function"==typeof pt?pt:a,null==O?O:Hh(O,G,hp(ye),pt)},En.values=eh,En.valuesIn=function wv(O){return null==O?[]:ca(O,ep(O))},En.without=uo,En.words=T0,En.wrap=function Lg(O,G){return Ig(hp(G),O)},En.xor=Ws,En.xorBy=pa,En.xorWith=ya,En.zip=hi,En.zipObject=function Jr(O,G){return _p(O||[],G||[],he)},En.zipObjectDeep=function pi(O,G){return _p(O||[],G||[],kd)},En.zipWith=_o,En.entries=wh,En.entriesIn=Zg,En.extend=Mv,En.extendWith=Fm,rh(En,En),En.add=kv,En.attempt=b0,En.camelCase=I,En.capitalize=ee,En.ceil=$v,En.clamp=function Vg(O,G,ye){return ye===a&&(ye=G,G=a),ye!==a&&(ye=(ye=r_(ye))==ye?ye:0),G!==a&&(G=(G=r_(G))==G?G:0),Zn(r_(O),G,ye)},En.clone=function g0(O){return or(O,Q)},En.cloneDeep=function y0(O){return or(O,A|Q)},En.cloneDeepWith=function _v(O,G){return or(O,A|Q,G="function"==typeof G?G:a)},En.cloneWith=function v0(O,G){return or(O,Q,G="function"==typeof G?G:a)},En.conformsTo=function m1(O,G){return null==G||Ci(O,G,qd(G))},En.deburr=z,En.defaultTo=function tp(O,G){return null==O||O!=O?G:O},En.divide=Ly,En.endsWith=function xe(O,G,ye){O=Eu(O),G=$d(G);var pt=O.length,cn=ye=ye===a?pt:Zn(rc(ye),0,pt);return(ye-=G.length)>=0&&O.slice(ye,cn)==G},En.eq=O_,En.escape=function Mt(O){return(O=Eu(O))&&qt.test(O)?O.replace(ot,zl):O},En.escapeRegExp=function an(O){return(O=Eu(O))&&dr.test(O)?O.replace(Qn,"\\$&"):O},En.every=function Qh(O,G,ye){var pt=Gl(O)?Mc:co;return ye&&su(O,G,ye)&&(G=a),pt(O,qs(G,3))},En.find=xm,En.findIndex=b_,En.findKey=function Ov(O,G){return Oc(O,qs(G,3),va)},En.findLast=wm,En.findLastIndex=Ch,En.findLastKey=function Wc(O,G){return Oc(O,qs(G,3),vc)},En.floor=A1,En.forEach=td,En.forEachRight=$p,En.forIn=function Os(O,G){return null==O?O:el(O,qs(G,3),ep)},En.forInRight=function wc(O,G){return null==O?O:ga(O,qs(G,3),ep)},En.forOwn=function Yg(O,G){return O&&va(O,qs(G,3))},En.forOwnRight=function q_(O,G){return O&&vc(O,qs(G,3))},En.get=Hf,En.gt=hv,En.gte=ym,En.has=function Tp(O,G){return null!=O&&wf(O,G,jc)},En.hasIn=sg,En.head=gm,En.identity=nd,En.includes=function Og(O,G,ye,pt){O=Kf(O)?O:eh(O),ye=ye&&!pt?rc(ye):0;var cn=O.length;return ye<0&&(ye=cr(cn+ye,0)),og(O)?ye<=cn&&O.indexOf(G,ye)>-1:!!cn&&jl(O,G,ye)>-1},En.indexOf=function Rm(O,G,ye){var pt=null==O?0:O.length;if(!pt)return-1;var cn=null==ye?0:rc(ye);return cn<0&&(cn=cr(pt+cn,0)),jl(O,G,cn)},En.inRange=function b1(O,G,ye){return G=Ph(G),ye===a?(ye=G,G=0):ye=Ph(ye),function pd(O,G,ye){return O>=_i(G,ye)&&O<cr(G,ye)}(O=r_(O),G,ye)},En.invoke=Dv,En.isArguments=Hp,En.isArray=Gl,En.isArrayBuffer=ng,En.isArrayLike=Kf,En.isArrayLikeObject=cd,En.isBoolean=function mv(O){return!0===O||!1===O||au(O)&&Nl(O)==ri},En.isBuffer=Oh,En.isDate=gv,En.isElement=function vv(O){return au(O)&&1===O.nodeType&&!Xd(O)},En.isEmpty=function yv(O){if(null==O)return!0;if(Kf(O)&&(Gl(O)||"string"==typeof O||"function"==typeof O.splice||Oh(O)||nm(O)||Hp(O)))return!O.length;var G=wu(O);if(G==Tr||G==Fi)return!O.size;if(yp(O))return!Tn(O).length;for(var ye in O)if(us.call(O,ye))return!1;return!0},En.isEqual=function g1(O,G){return bd(O,G)},En.isEqualWith=function v1(O,G,ye){var pt=(ye="function"==typeof ye?ye:a)?ye(O,G):a;return pt===a?bd(O,G,a,ye):!!pt},En.isError=em,En.isFinite=function kg(O){return"number"==typeof O&&Ht(O)},En.isFunction=n_,En.isInteger=$g,En.isLength=tm,En.isMap=Ah,En.isMatch=function Hg(O,G){return O===G||Gf(O,G,C_(G))},En.isMatchWith=function Ev(O,G,ye){return ye="function"==typeof ye?ye:a,Gf(O,G,C_(G),ye)},En.isNaN=function y1(O){return Dh(O)&&O!=+O},En.isNative=function Sv(O){if(Wf(O))throw new Le("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Kl(O)},En.isNil=function rg(O){return null==O},En.isNull=function Cv(O){return null===O},En.isNumber=Dh,En.isObject=Zu,En.isObjectLike=au,En.isPlainObject=Xd,En.isRegExp=Xf,En.isSafeInteger=function $f(O){return $g(O)&&O>=-ht&&O<=ht},En.isSet=ig,En.isString=og,En.isSymbol=qf,En.isTypedArray=nm,En.isUndefined=function E1(O){return O===a},En.isWeakMap=function Tv(O){return au(O)&&wu(O)==Ni},En.isWeakSet=function S1(O){return au(O)&&"[object WeakSet]"==Nl(O)},En.join=function Th(O,G){return null==O?"":wn.call(O,G)},En.kebabCase=Er,En.last=Rd,En.lastIndexOf=function vm(O,G,ye){var pt=null==O?0:O.length;if(!pt)return-1;var cn=pt;return ye!==a&&(cn=(cn=rc(ye))<0?cr(pt+cn,0):_i(cn,pt-1)),G==G?function Ke(Kn,zr,Gr){for(var ce=Gr+1;ce--;)if(Kn[ce]===zr)return ce;return ce}(O,G,cn):Ac(O,Dc,cn,!0)},En.lowerCase=li,En.lowerFirst=es,En.lt=E0,En.lte=Ug,En.max=function D1(O){return O&&O.length?vo(O,nd,_u):a},En.maxBy=function Hv(O,G){return O&&O.length?vo(O,qs(G,2),_u):a},En.mean=function ky(O){return Zs(O,nd)},En.meanBy=function R1(O,G){return Zs(O,qs(G,2))},En.min=function P1(O){return O&&O.length?vo(O,nd,zi):a},En.minBy=function Uv(O,G){return O&&O.length?vo(O,qs(G,2),zi):a},En.stubArray=Jg,En.stubFalse=O1,En.stubObject=function P0(){return{}},En.stubString=function Ny(){return""},En.stubTrue=function Iy(){return!0},En.multiply=N0,En.nth=function Jh(O,G){return O&&O.length?Fu(O,rc(G)):a},En.noConflict=function _g(){return Za._===this&&(Za._=Xe),this},En.noop=Cm,En.now=Xh,En.pad=function ws(O,G,ye){O=Eu(O);var pt=(G=rc(G))?Gt(O):0;if(!G||pt>=G)return O;var cn=(G-pt)/2;return v_(je(cn),ye)+O+v_(Fe(cn),ye)},En.padEnd=function Ha(O,G,ye){O=Eu(O);var pt=(G=rc(G))?Gt(O):0;return G&&pt<G?O+v_(G-pt,ye):O},En.padStart=function cl(O,G,ye){O=Eu(O);var pt=(G=rc(G))?Gt(O):0;return G&&pt<G?v_(G-pt,ye)+O:O},En.parseInt=function Vl(O,G,ye){return ye||null==G?G=0:G&&(G=+G),gs(Eu(O).replace(Wn,""),G||0)},En.random=function Nv(O,G,ye){if(ye&&"boolean"!=typeof ye&&su(O,G,ye)&&(G=ye=a),ye===a&&("boolean"==typeof G?(ye=G,G=a):"boolean"==typeof O&&(ye=O,O=a)),O===a&&G===a?(O=0,G=1):(O=Ph(O),G===a?(G=O,O=0):G=Ph(G)),O>G){var pt=O;O=G,G=pt}if(ye||O%1||G%1){var cn=Wo();return _i(O+cn*(G-O+Uu("1e-"+((cn+"").length-1))),G)}return Rf(O,G)},En.reduce=function nv(O,G,ye){var pt=Gl(O)?sc:ut,cn=arguments.length<3;return pt(O,qs(G,4),ye,cn,Co)},En.reduceRight=function rv(O,G,ye){var pt=Gl(O)?Ba:ut,cn=arguments.length<3;return pt(O,qs(G,4),ye,cn,Ho)},En.repeat=function zu(O,G,ye){return G=(ye?su(O,G,ye):G===a)?1:rc(G),dp(Eu(O),G)},En.replace=function Lc(){var O=arguments,G=Eu(O[0]);return O.length<3?G:G.replace(O[1],O[2])},En.result=function xv(O,G,ye){var pt=-1,cn=(G=Yu(G,O)).length;for(cn||(cn=1,O=a);++pt<cn;){var Hn=null==O?a:O[gd(G[pt])];Hn===a&&(pt=cn,Hn=ye),O=n_(Hn)?Hn.call(O):Hn}return O},En.round=Bv,En.runInContext=Kn,En.sample=function l1(O){return(Gl(O)?C:mf)(O)},En.size=function Rg(O){if(null==O)return 0;if(Kf(O))return og(O)?Gt(O):O.length;var G=wu(O);return G==Tr||G==Fi?O.size:Tn(O).length},En.snakeCase=lu,En.some=function sv(O,G,ye){var pt=Gl(O)?Ic:fp;return ye&&su(O,G,ye)&&(G=a),pt(O,qs(G,3))},En.sortedIndex=function Re(O,G){return __(O,G)},En.sortedIndexBy=function ct(O,G,ye){return jf(O,G,qs(ye,2))},En.sortedIndexOf=function Rn(O,G){var ye=null==O?0:O.length;if(ye){var pt=__(O,G);if(pt<ye&&O_(O[pt],G))return pt}return-1},En.sortedLastIndex=function Ar(O,G){return __(O,G,!0)},En.sortedLastIndexBy=function si(O,G,ye){return jf(O,G,qs(ye,2),!0)},En.sortedLastIndexOf=function xi(O,G){if(null!=O&&O.length){var pt=__(O,G,!0)-1;if(O_(O[pt],G))return pt}return-1},En.startCase=Vu,En.startsWith=function D_(O,G,ye){return O=Eu(O),ye=null==ye?0:Zn(rc(ye),0,O.length),G=$d(G),O.slice(ye,ye+G.length)==G},En.subtract=I0,En.sum=function F0(O){return O&&O.length?hn(O,nd):0},En.sumBy=function x1(O,G){return O&&O.length?hn(O,qs(G,2)):0},En.template=function ug(O,G,ye){var pt=En.templateSettings;ye&&su(O,G,ye)&&(G=a),O=Eu(O),G=Fm({},G,pt,H_);var Qr,bi,cn=Fm({},G.imports,pt.imports,H_),Hn=qd(cn),br=ca(cn,Hn),Ro=0,Po=G.interpolate||Gi,Zo="__p += '",zs=Bn((G.escape||Gi).source+"|"+Po.source+"|"+(Po===An?gi:Gi).source+"|"+(G.evaluate||Gi).source+"|$","g"),Na="//# sourceURL="+(us.call(G,"sourceURL")?(G.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++js+"]")+"\n";O.replace(zs,function(Sl,Nc,Zc,np,xd,i_){return Zc||(Zc=np),Zo+=O.slice(Ro,i_).replace(Wi,Ju),Nc&&(Qr=!0,Zo+="' +\n__e("+Nc+") +\n'"),xd&&(bi=!0,Zo+="';\n"+xd+";\n__p += '"),Zc&&(Zo+="' +\n((__t = ("+Zc+")) == null ? '' : __t) +\n'"),Ro=i_+Sl.length,Sl}),Zo+="';\n";var El=us.call(G,"variable")&&G.variable;if(El){if(Kr.test(El))throw new Le("Invalid `variable` option passed into `_.template`")}else Zo="with (obj) {\n"+Zo+"\n}\n";Zo=(bi?Zo.replace(Ie,""):Zo).replace(Qe,"$1").replace(Ve,"$1;"),Zo="function("+(El||"obj")+") {\n"+(El?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Qr?", __e = _.escape":"")+(bi?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Zo+"return __p\n}";var _c=b0(function(){return Be(Hn,Na+"return "+Zo).apply(a,br)});if(_c.source=Zo,em(_c))throw _c;return _c},En.times=function x0(O,G){if((O=rc(O))<1||O>ht)return[];var ye=bn,pt=_i(O,bn);G=qs(G),O-=bn;for(var cn=vi(pt,G);++ye<O;)G(ye);return cn},En.toFinite=Ph,En.toInteger=rc,En.toLength=C1,En.toLower=function Em(O){return Eu(O).toLowerCase()},En.toNumber=r_,En.toSafeInteger=function Up(O){return O?Zn(rc(O),-ht,ht):0===O?O:0},En.toString=Eu,En.toUpper=function th(O){return Eu(O).toUpperCase()},En.trim=function Pd(O,G,ye){if((O=Eu(O))&&(ye||G===a))return Ya(O);if(!O||!(G=$d(G)))return O;var pt=xn(O),cn=xn(G);return xu(pt,Rc(pt,cn),Zl(pt,cn)+1).join("")},En.trimEnd=function nh(O,G,ye){if((O=Eu(O))&&(ye||G===a))return O.slice(0,lr(O)+1);if(!O||!(G=$d(G)))return O;var pt=xn(O);return xu(pt,0,Zl(pt,xn(G))+1).join("")},En.trimStart=function Bm(O,G,ye){if((O=Eu(O))&&(ye||G===a))return O.replace(Wn,"");if(!O||!(G=$d(G)))return O;var pt=xn(O);return xu(pt,Rc(pt,xn(G))).join("")},En.truncate=function Iv(O,G){var ye=30,pt="...";if(Zu(G)){var cn="separator"in G?G.separator:cn;ye="length"in G?rc(G.length):ye,pt="omission"in G?$d(G.omission):pt}var Hn=(O=Eu(O)).length;if(Cu(O)){var br=xn(O);Hn=br.length}if(ye>=Hn)return O;var Qr=ye-Gt(pt);if(Qr<1)return pt;var bi=br?xu(br,0,Qr).join(""):O.slice(0,Qr);if(cn===a)return bi+pt;if(br&&(Qr+=bi.length-Qr),Xf(cn)){if(O.slice(Qr).search(cn)){var Ro,Po=bi;for(cn.global||(cn=Bn(cn.source,Eu(Jo.exec(cn))+"g")),cn.lastIndex=0;Ro=cn.exec(Po);)var Zo=Ro.index;bi=bi.slice(0,Zo===a?Qr:Zo)}}else if(O.indexOf($d(cn),Qr)!=Qr){var zs=bi.lastIndexOf(cn);zs>-1&&(bi=bi.slice(0,zs))}return bi+pt},En.unescape=function C0(O){return(O=Eu(O))&&xt.test(O)?O.replace(tn,Fr):O},En.uniqueId=function w0(O){var G=++Ma;return Eu(O)+G},En.upperCase=hS,En.upperFirst=dg,En.each=td,En.eachRight=$p,En.first=gm,rh(En,function(){var O={};return va(En,function(G,ye){us.call(En.prototype,ye)||(O[ye]=G)}),O}(),{chain:!1}),En.VERSION="4.17.21",Cc(["bind","bindKey","curry","curryRight","partial","partialRight"],function(O){En[O].placeholder=En}),Cc(["drop","take"],function(O,G){pl.prototype[O]=function(ye){ye=ye===a?1:cr(rc(ye),0);var pt=this.__filtered__&&!G?new pl(this):this.clone();return pt.__filtered__?pt.__takeCount__=_i(ye,pt.__takeCount__):pt.__views__.push({size:_i(ye,bn),type:O+(pt.__dir__<0?"Right":"")}),pt},pl.prototype[O+"Right"]=function(ye){return this.reverse()[O](ye).reverse()}}),Cc(["filter","map","takeWhile"],function(O,G){var ye=G+1,pt=1==ye||3==ye;pl.prototype[O]=function(cn){var Hn=this.clone();return Hn.__iteratees__.push({iteratee:qs(cn,3),type:ye}),Hn.__filtered__=Hn.__filtered__||pt,Hn}}),Cc(["head","last"],function(O,G){var ye="take"+(G?"Right":"");pl.prototype[O]=function(){return this[ye](1).value()[0]}}),Cc(["initial","tail"],function(O,G){var ye="drop"+(G?"":"Right");pl.prototype[O]=function(){return this.__filtered__?new pl(this):this[ye](1)}}),pl.prototype.compact=function(){return this.filter(nd)},pl.prototype.find=function(O){return this.filter(O).head()},pl.prototype.findLast=function(O){return this.reverse().find(O)},pl.prototype.invokeMap=Wa(function(O,G){return"function"==typeof O?new pl(this):this.map(function(ye){return Td(ye,O,G)})}),pl.prototype.reject=function(O){return this.filter(tg(qs(O)))},pl.prototype.slice=function(O,G){O=rc(O);var ye=this;return ye.__filtered__&&(O>0||G<0)?new pl(ye):(O<0?ye=ye.takeRight(-O):O&&(ye=ye.drop(O)),G!==a&&(ye=(G=rc(G))<0?ye.dropRight(-G):ye.take(G-O)),ye)},pl.prototype.takeRightWhile=function(O){return this.reverse().takeWhile(O).reverse()},pl.prototype.toArray=function(){return this.take(bn)},va(pl.prototype,function(O,G){var ye=/^(?:filter|find|map|reject)|While$/.test(G),pt=/^(?:head|last)$/.test(G),cn=En[pt?"take"+("last"==G?"Right":""):G],Hn=pt||/^find/.test(G);cn&&(En.prototype[G]=function(){var br=this.__wrapped__,Qr=pt?[1]:arguments,bi=br instanceof pl,Ro=Qr[0],Po=bi||Gl(br),Zo=function(Nc){var Zc=cn.apply(En,Xc([Nc],Qr));return pt&&zs?Zc[0]:Zc};Po&&ye&&"function"==typeof Ro&&1!=Ro.length&&(bi=Po=!1);var zs=this.__chain__,El=Hn&&!zs,_c=bi&&!this.__actions__.length;if(!Hn&&Po){br=_c?br:new pl(this);var Sl=O.apply(br,Qr);return Sl.__actions__.push({func:Bs,args:[Zo],thisArg:a}),new fl(Sl,zs)}return El&&_c?O.apply(this,Qr):(Sl=this.thru(Zo),El?pt?Sl.value()[0]:Sl.value():Sl)})}),Cc(["pop","push","shift","sort","splice","unshift"],function(O){var G=fi[O],ye=/^(?:push|sort|unshift)$/.test(O)?"tap":"thru",pt=/^(?:pop|shift)$/.test(O);En.prototype[O]=function(){var cn=arguments;if(pt&&!this.__chain__){var Hn=this.value();return G.apply(Gl(Hn)?Hn:[],cn)}return this[ye](function(br){return G.apply(Gl(br)?br:[],cn)})}}),va(pl.prototype,function(O,G){var ye=En[G];if(ye){var pt=ye.name+"";us.call(Iu,pt)||(Iu[pt]=[]),Iu[pt].push({name:G,func:ye})}}),Iu[Vf(a,J).name]=[{name:"wrapper",func:a}],pl.prototype.clone=function Ed(){var O=new pl(this.__wrapped__);return O.__actions__=Vd(this.__actions__),O.__dir__=this.__dir__,O.__filtered__=this.__filtered__,O.__iteratees__=Vd(this.__iteratees__),O.__takeCount__=this.__takeCount__,O.__views__=Vd(this.__views__),O},pl.prototype.reverse=function ju(){if(this.__filtered__){var O=new pl(this);O.__dir__=-1,O.__filtered__=!0}else(O=this.clone()).__dir__*=-1;return O},pl.prototype.value=function dd(){var O=this.__wrapped__.value(),G=this.__dir__,ye=Gl(O),pt=G<0,cn=ye?O.length:0,Hn=function B_(O,G,ye){for(var pt=-1,cn=ye.length;++pt<cn;){var Hn=ye[pt],br=Hn.size;switch(Hn.type){case"drop":O+=br;break;case"dropRight":G-=br;break;case"take":G=_i(G,O+br);break;case"takeRight":O=cr(O,G-br)}}return{start:O,end:G}}(0,cn,this.__views__),br=Hn.start,Qr=Hn.end,bi=Qr-br,Ro=pt?Qr:br-1,Po=this.__iteratees__,Zo=Po.length,zs=0,Na=_i(bi,this.__takeCount__);if(!ye||!pt&&cn==bi&&Na==bi)return gf(O,this.__actions__);var El=[];e:for(;bi--&&zs<Na;){for(var _c=-1,Sl=O[Ro+=G];++_c<Zo;){var Nc=Po[_c],np=Nc.type,xd=(0,Nc.iteratee)(Sl);if(2==np)Sl=xd;else if(!xd){if(1==np)continue e;break e}}El[zs++]=Sl}return El},En.prototype.at=Ja,En.prototype.chain=function kl(){return go(this)},En.prototype.commit=function ll(){return new fl(this.value(),this.__chain__)},En.prototype.next=function df(){this.__values__===a&&(this.__values__=Rh(this.value()));var O=this.__index__>=this.__values__.length;return{done:O,value:O?a:this.__values__[this.__index__++]}},En.prototype.plant=function Kd(O){for(var G,ye=this;ye instanceof Du;){var pt=yh(ye);pt.__index__=0,pt.__values__=a,G?cn.__wrapped__=pt:G=pt;var cn=pt;ye=ye.__wrapped__}return cn.__wrapped__=O,G},En.prototype.reverse=function Mh(){var O=this.__wrapped__;if(O instanceof pl){var G=O;return this.__actions__.length&&(G=new pl(this)),(G=G.reverse()).__actions__.push({func:Bs,args:[S],thisArg:a}),new fl(G,this.__chain__)}return this.thru(S)},En.prototype.toJSON=En.prototype.valueOf=En.prototype.value=function X_(){return gf(this.__wrapped__,this.__actions__)},En.prototype.first=En.prototype.head,ja&&(En.prototype[ja]=function kf(){return this}),En}();Za._=Yo,(r=function(){return Yo}.call(b,o,b,y))!==a&&(y.exports=r)}.call(this)},97425:(y,b,o)=>{var r=o(93177),a="Expected a function";function u(c,e){if("function"!=typeof c||null!=e&&"function"!=typeof e)throw new TypeError(a);var f=function(){var h=arguments,E=e?e.apply(this,h):h[0],T=f.cache;if(T.has(E))return T.get(E);var D=c.apply(this,h);return f.cache=T.set(E,D)||T,D};return f.cache=new(u.Cache||r),f}u.Cache=r,y.exports=u},3912:(y,b,o)=>{var r=o(9085),u=o(30906)(function(c,e,f){r(c,e,f)});y.exports=u},30765:(y,b,o)=>{var r=o(27038);y.exports=function(){return r.Date.now()}},12482:(y,b,o)=>{var r=o(14992),a=o(77007),u=o(72064),c=o(64667),e=o(11694),f=o(925),h=o(10058),E=o(51675),$=h(function(Q,U){var q={};if(null==Q)return q;var L=!1;U=r(U,function(pe){return pe=c(pe,Q),L||(L=pe.length>1),pe}),e(Q,E(Q),q),L&&(q=a(q,7,f));for(var J=U.length;J--;)u(q,U[J]);return q});y.exports=$},63354:(y,b,o)=>{var r=o(68840),a=o(59866),u=o(99743),c=o(82773);y.exports=function e(f){return u(f)?r(c(f)):a(f)}},86101:(y,b,o)=>{var r=o(89731),a=o(59026),u=o(5245),c=o(85105),e=o(81690);y.exports=function f(h,E,T){var D=e(h)?r:c,A=arguments.length<3;return D(h,u(E,4),T,A,a)}},12666:(y,b,o)=>{var r=o(32773);y.exports=function a(u,c,e){return null==u?u:r(u,c,e)}},52190:(y,b,o)=>{var r=o(8141),a=o(5245),u=o(37834),c=o(81690),e=o(71100);y.exports=function f(h,E,T){var D=c(h)?r:u;return T&&e(h,E,T)&&(E=void 0),D(h,a(E,3))}},65336:y=>{y.exports=function b(){return[]}},61711:y=>{y.exports=function b(){return!1}},5152:(y,b,o)=>{var r=o(45038),a=1/0;y.exports=function c(e){return e?(e=r(e))===a||e===-a?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},32781:(y,b,o)=>{var r=o(5152);y.exports=function a(u){var c=r(u),e=c%1;return c==c?e?c-e:c:0}},69883:(y,b,o)=>{var r=o(41233);y.exports=function a(u){return r(u).toLowerCase()}},45038:(y,b,o)=>{var r=o(13743),a=o(53867),u=o(7786),e=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,h=/^0o[0-7]+$/i,E=parseInt;y.exports=function T(D){if("number"==typeof D)return D;if(u(D))return NaN;if(a(D)){var A="function"==typeof D.valueOf?D.valueOf():D;D=a(A)?A+"":A}if("string"!=typeof D)return 0===D?D:+D;D=r(D);var $=f.test(D);return $||h.test(D)?E(D.slice(2),$?2:8):e.test(D)?NaN:+D}},31413:(y,b,o)=>{var r=o(11694),a=o(42970);y.exports=function u(c){return r(c,a(c))}},41233:(y,b,o)=>{var r=o(68166);y.exports=function a(u){return null==u?"":r(u)}},93890:(y,b,o)=>{var a=o(66803)("toUpperCase");y.exports=a},96590:(y,b,o)=>{var r=o(54561),a=o(59316),u=o(41233),c=o(58863);y.exports=function e(f,h,E){return f=u(f),void 0===(h=E?void 0:h)?a(f)?c(f):r(f):f.match(h)||[]}},31507:(y,b,o)=>{var r=o(23898),a=o(25687);y.exports=function u(c,e){return a(c||[],e||[],r)}},74538:(y,b,o)=>{"use strict";var r=o(7856),a=o(11926);b.highlight=c,b.highlightAuto=function e(J,pe){var Ue,Me,yt,et,j=pe||{},ue=j.subset||r.listLanguages(),ie=j.prefix,me=ue.length,Oe=-1;if(null==ie&&(ie=u),"string"!=typeof J)throw a("Expected `string` for value, got `%s`",J);for(Me={relevance:0,language:null,value:[]},Ue={relevance:0,language:null,value:[]};++Oe<me;)r.getLanguage(et=ue[Oe])&&((yt=c(et,J,pe)).language=et,yt.relevance>Me.relevance&&(Me=yt),yt.relevance>Ue.relevance&&(Me=Ue,Ue=yt));return Me.language&&(Ue.secondBest=Me),Ue},b.registerLanguage=function f(J,pe){r.registerLanguage(J,pe)},b.listLanguages=function h(){return r.listLanguages()},b.registerAlias=function E(J,pe){var ue,j=J;for(ue in pe&&((j={})[J]=pe),j)r.registerAliases(j[ue],{languageName:ue})},T.prototype.addText=function $(J){var j,ue,pe=this.stack;""!==J&&((ue=(j=pe[pe.length-1]).children[j.children.length-1])&&"text"===ue.type?ue.value+=J:j.children.push({type:"text",value:J}))},T.prototype.addKeyword=function D(J,pe){this.openNode(pe),this.addText(J),this.closeNode()},T.prototype.addSublanguage=function A(J,pe){var j=this.stack,ue=j[j.length-1],ie=J.rootNode.children;ue.children=ue.children.concat(pe?{type:"element",tagName:"span",properties:{className:[pe]},children:ie}:ie)},T.prototype.openNode=function Q(J){var pe=this.stack,ie={type:"element",tagName:"span",properties:{className:[this.options.classPrefix+J]},children:[]};pe[pe.length-1].children.push(ie),pe.push(ie)},T.prototype.closeNode=function U(){this.stack.pop()},T.prototype.closeAllNodes=L,T.prototype.finalize=L,T.prototype.toHTML=function q(){return""};var u="hljs-";function c(J,pe,j){var Oe,ue=r.configure({}),me=(j||{}).prefix;if("string"!=typeof J)throw a("Expected `string` for name, got `%s`",J);if(!r.getLanguage(J))throw a("Unknown language: `%s` is not registered",J);if("string"!=typeof pe)throw a("Expected `string` for value, got `%s`",pe);if(null==me&&(me=u),r.configure({__emitter:T,classPrefix:me}),Oe=r.highlight(pe,{language:J,ignoreIllegals:!0}),r.configure(ue||{}),Oe.errorRaised)throw Oe.errorRaised;return{relevance:Oe.relevance,language:Oe.language,value:Oe.emitter.rootNode.children}}function T(J){this.options=J,this.rootNode={children:[]},this.stack=[this.rootNode]}function L(){}},26431:function(y,b,o){!function(r){"use strict";r.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(u){return/^nm$/i.test(u)},meridiem:function(u,c,e){return u<12?e?"vm":"VM":e?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(16738))},1616:function(y,b,o){!function(r){"use strict";var a=function(h){return 0===h?0:1===h?1:2===h?2:h%100>=3&&h%100<=10?3:h%100>=11?4:5},u={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},c=function(h){return function(E,T,D,A){var $=a(E),Q=u[h][a(E)];return 2===$&&(Q=Q[T?0:1]),Q.replace(/%d/i,E)}},e=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];r.defineLocale("ar-dz",{months:e,monthsShort:e,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(h){return"\u0645"===h},meridiem:function(h,E,T){return h<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:c("s"),ss:c("s"),m:c("m"),mm:c("m"),h:c("h"),hh:c("h"),d:c("d"),dd:c("d"),M:c("M"),MM:c("M"),y:c("y"),yy:c("y")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(o(16738))},9759:function(y,b,o){!function(r){"use strict";r.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(o(16738))},43160:function(y,b,o){!function(r){"use strict";var a={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},u=function(E){return 0===E?0:1===E?1:2===E?2:E%100>=3&&E%100<=10?3:E%100>=11?4:5},c={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},e=function(E){return function(T,D,A,$){var Q=u(T),U=c[E][u(T)];return 2===Q&&(U=U[D?0:1]),U.replace(/%d/i,T)}},f=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];r.defineLocale("ar-ly",{months:f,monthsShort:f,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(E){return"\u0645"===E},meridiem:function(E,T,D){return E<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:e("s"),ss:e("s"),m:e("m"),mm:e("m"),h:e("h"),hh:e("h"),d:e("d"),dd:e("d"),M:e("M"),MM:e("M"),y:e("y"),yy:e("y")},preparse:function(E){return E.replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(T){return a[T]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(16738))},62551:function(y,b,o){!function(r){"use strict";r.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(o(16738))},79989:function(y,b,o){!function(r){"use strict";var a={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};r.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,f,h){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(f){return u[f]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(o(16738))},6962:function(y,b,o){!function(r){"use strict";r.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(o(16738))},81286:function(y,b,o){!function(r){"use strict";var a={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},c=function(T){return 0===T?0:1===T?1:2===T?2:T%100>=3&&T%100<=10?3:T%100>=11?4:5},e={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},f=function(T){return function(D,A,$,Q){var U=c(D),q=e[T][c(D)];return 2===U&&(q=q[A?0:1]),q.replace(/%d/i,D)}},h=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];r.defineLocale("ar",{months:h,monthsShort:h,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(T){return"\u0645"===T},meridiem:function(T,D,A){return T<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:f("s"),ss:f("s"),m:f("m"),mm:f("m"),h:f("h"),hh:f("h"),d:f("d"),dd:f("d"),M:f("M"),MM:f("M"),y:f("y"),yy:f("y")},preparse:function(T){return T.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(D){return u[D]}).replace(/\u060c/g,",")},postformat:function(T){return T.replace(/\d/g,function(D){return a[D]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(16738))},15887:function(y,b,o){!function(r){"use strict";var a={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};r.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(c){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(c)},meridiem:function(c,e,f){return c<4?"gec\u0259":c<12?"s\u0259h\u0259r":c<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(c){if(0===c)return c+"-\u0131nc\u0131";var e=c%10;return c+(a[e]||a[c%100-e]||a[c>=100?100:null])},week:{dow:1,doy:7}})}(o(16738))},14572:function(y,b,o){!function(r){"use strict";function u(e,f,h){return"m"===h?f?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===h?f?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+function a(e,f){var h=e.split("_");return f%10==1&&f%100!=11?h[0]:f%10>=2&&f%10<=4&&(f%100<10||f%100>=20)?h[1]:h[2]}({ss:f?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:f?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:f?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[h],+e)}r.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:u,mm:u,h:u,hh:u,d:"\u0434\u0437\u0435\u043d\u044c",dd:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,f,h){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,f){switch(f){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(o(16738))},3276:function(y,b,o){!function(r){"use strict";r.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(u){var c=u%10,e=u%100;return 0===u?u+"-\u0435\u0432":0===e?u+"-\u0435\u043d":e>10&&e<20?u+"-\u0442\u0438":1===c?u+"-\u0432\u0438":2===c?u+"-\u0440\u0438":7===c||8===c?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(o(16738))},93344:function(y,b,o){!function(r){"use strict";r.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(o(16738))},83990:function(y,b,o){!function(r){"use strict";var a={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},u={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};r.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(f){return u[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(e,f){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===f?e<4?e:e+12:"\u09ad\u09cb\u09b0"===f||"\u09b8\u0995\u09be\u09b2"===f?e:"\u09a6\u09c1\u09aa\u09c1\u09b0"===f?e>=3?e:e+12:"\u09ac\u09bf\u0995\u09be\u09b2"===f||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===f?e+12:void 0},meridiem:function(e,f,h){return e<4?"\u09b0\u09be\u09a4":e<6?"\u09ad\u09cb\u09b0":e<12?"\u09b8\u0995\u09be\u09b2":e<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<18?"\u09ac\u09bf\u0995\u09be\u09b2":e<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(o(16738))},58985:function(y,b,o){!function(r){"use strict";var a={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},u={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};r.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(f){return u[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,f){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===f&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===f&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===f?e+12:e},meridiem:function(e,f,h){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(o(16738))},94391:function(y,b,o){!function(r){"use strict";var a={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},u={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};r.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(f){return u[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,f){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===f&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===f&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===f?e+12:e},meridiem:function(e,f,h){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(o(16738))},46728:function(y,b,o){!function(r){"use strict";function a(q,L,J){return q+" "+function e(q,L){return 2===L?function f(q){var L={m:"v",b:"v",d:"z"};return void 0===L[q.charAt(0)]?q:L[q.charAt(0)]+q.substring(1)}(q):q}({mm:"munutenn",MM:"miz",dd:"devezh"}[J],q)}function c(q){return q>9?c(q%10):q}var h=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],E=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,Q=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];r.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:Q,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:Q,monthsRegex:E,monthsShortRegex:E,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:h,longMonthsParse:h,shortMonthsParse:h,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:a,h:"un eur",hh:"%d eur",d:"un devezh",dd:a,M:"ur miz",MM:a,y:"ur bloaz",yy:function u(q){switch(c(q)){case 1:case 3:case 4:case 5:case 9:return q+" bloaz";default:return q+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(q){return q+(1===q?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(q){return"g.m."===q},meridiem:function(q,L,J){return q<12?"a.m.":"g.m."}})}(o(16738))},5536:function(y,b,o){!function(r){"use strict";function a(c,e,f){var h=c+" ";switch(f){case"ss":return h+(1===c?"sekunda":2===c||3===c||4===c?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return h+(1===c?"minuta":2===c||3===c||4===c?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return h+(1===c?"sat":2===c||3===c||4===c?"sata":"sati");case"dd":return h+(1===c?"dan":"dana");case"MM":return h+(1===c?"mjesec":2===c||3===c||4===c?"mjeseca":"mjeseci");case"yy":return h+(1===c?"godina":2===c||3===c||4===c?"godine":"godina")}}r.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:a,m:a,mm:a,h:a,hh:a,d:"dan",dd:a,M:"mjesec",MM:a,y:"godinu",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(16738))},41043:function(y,b,o){!function(r){"use strict";r.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(u,c){var e=1===u?"r":2===u?"n":3===u?"r":4===u?"t":"\xe8";return("w"===c||"W"===c)&&(e="a"),u+e},week:{dow:1,doy:4}})}(o(16738))},70420:function(y,b,o){!function(r){"use strict";var a={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},u="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),c=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],e=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function f(T){return T>1&&T<5&&1!=~~(T/10)}function h(T,D,A,$){var Q=T+" ";switch(A){case"s":return D||$?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return D||$?Q+(f(T)?"sekundy":"sekund"):Q+"sekundami";case"m":return D?"minuta":$?"minutu":"minutou";case"mm":return D||$?Q+(f(T)?"minuty":"minut"):Q+"minutami";case"h":return D?"hodina":$?"hodinu":"hodinou";case"hh":return D||$?Q+(f(T)?"hodiny":"hodin"):Q+"hodinami";case"d":return D||$?"den":"dnem";case"dd":return D||$?Q+(f(T)?"dny":"dn\xed"):Q+"dny";case"M":return D||$?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return D||$?Q+(f(T)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):Q+"m\u011bs\xedci";case"y":return D||$?"rok":"rokem";case"yy":return D||$?Q+(f(T)?"roky":"let"):Q+"lety"}}r.defineLocale("cs",{months:a,monthsShort:u,monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},33513:function(y,b,o){!function(r){"use strict";r.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(u){return u+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(u)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(u)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(o(16738))},6771:function(y,b,o){!function(r){"use strict";r.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(u){var e="";return u>20?e=40===u||50===u||60===u||80===u||100===u?"fed":"ain":u>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][u]),u+e},week:{dow:1,doy:4}})}(o(16738))},47978:function(y,b,o){!function(r){"use strict";r.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},25204:function(y,b,o){!function(r){"use strict";function a(c,e,f,h){var E={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[c+" Tage",c+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[c+" Monate",c+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[c+" Jahre",c+" Jahren"]};return e?E[f][0]:E[f][1]}r.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},2653:function(y,b,o){!function(r){"use strict";function a(c,e,f,h){var E={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[c+" Tage",c+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[c+" Monate",c+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[c+" Jahre",c+" Jahren"]};return e?E[f][0]:E[f][1]}r.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},46061:function(y,b,o){!function(r){"use strict";function a(c,e,f,h){var E={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[c+" Tage",c+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[c+" Monate",c+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[c+" Jahre",c+" Jahren"]};return e?E[f][0]:E[f][1]}r.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},85:function(y,b,o){!function(r){"use strict";var a=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],u=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];r.defineLocale("dv",{months:a,monthsShort:a,weekdays:u,weekdaysShort:u,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,f,h){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(o(16738))},8579:function(y,b,o){!function(r){"use strict";r.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(c,e){return c?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[c.month()]:this._monthsNominativeEl[c.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(c,e,f){return c>11?f?"\u03bc\u03bc":"\u039c\u039c":f?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(c){return"\u03bc"===(c+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(c,e){var f=this._calendarEl[c],h=e&&e.hours();return function a(c){return typeof Function<"u"&&c instanceof Function||"[object Function]"===Object.prototype.toString.call(c)}(f)&&(f=f.apply(e)),f.replace("{}",h%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(o(16738))},25724:function(y,b,o){!function(r){"use strict";r.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:0,doy:4}})}(o(16738))},10525:function(y,b,o){!function(r){"use strict";r.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")}})}(o(16738))},52847:function(y,b,o){!function(r){"use strict";r.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:1,doy:4}})}(o(16738))},67216:function(y,b,o){!function(r){"use strict";r.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:1,doy:4}})}(o(16738))},39305:function(y,b,o){!function(r){"use strict";r.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")}})}(o(16738))},73364:function(y,b,o){!function(r){"use strict";r.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:0,doy:6}})}(o(16738))},79130:function(y,b,o){!function(r){"use strict";r.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:1,doy:4}})}(o(16738))},11161:function(y,b,o){!function(r){"use strict";r.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:1,doy:4}})}(o(16738))},50802:function(y,b,o){!function(r){"use strict";r.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(u){return"p"===u.charAt(0).toLowerCase()},meridiem:function(u,c,e){return u>11?e?"p.t.m.":"P.T.M.":e?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(o(16738))},45551:function(y,b,o){!function(r){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),c=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],e=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;r.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,E){return h?/-MMM-/.test(E)?u[h.month()]:a[h.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(16738))},75615:function(y,b,o){!function(r){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),c=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],e=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;r.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,E){return h?/-MMM-/.test(E)?u[h.month()]:a[h.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(o(16738))},64790:function(y,b,o){!function(r){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),c=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],e=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;r.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,E){return h?/-MMM-/.test(E)?u[h.month()]:a[h.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(o(16738))},40328:function(y,b,o){!function(r){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),c=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],e=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;r.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,E){return h?/-MMM-/.test(E)?u[h.month()]:a[h.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(o(16738))},96389:function(y,b,o){!function(r){"use strict";function a(c,e,f,h){var E={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[c+"sekundi",c+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[c+" minuti",c+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[c+" tunni",c+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[c+" kuu",c+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[c+" aasta",c+" aastat"]};return e?E[f][2]?E[f][2]:E[f][1]:h?E[f][0]:E[f][1]}r.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d p\xe4eva",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},52961:function(y,b,o){!function(r){"use strict";r.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(16738))},26151:function(y,b,o){!function(r){"use strict";var a={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},u={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};r.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,f,h){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,function(f){return u[f]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(o(16738))},7997:function(y,b,o){!function(r){"use strict";var a="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),u=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",a[7],a[8],a[9]];function c(h,E,T,D){var A="";switch(T){case"s":return D?"muutaman sekunnin":"muutama sekunti";case"ss":A=D?"sekunnin":"sekuntia";break;case"m":return D?"minuutin":"minuutti";case"mm":A=D?"minuutin":"minuuttia";break;case"h":return D?"tunnin":"tunti";case"hh":A=D?"tunnin":"tuntia";break;case"d":return D?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":A=D?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return D?"kuukauden":"kuukausi";case"MM":A=D?"kuukauden":"kuukautta";break;case"y":return D?"vuoden":"vuosi";case"yy":A=D?"vuoden":"vuotta"}return function e(h,E){return h<10?E?u[h]:a[h]:h}(h,D)+" "+A}r.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:c,ss:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},58898:function(y,b,o){!function(r){"use strict";r.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(u){return u},week:{dow:1,doy:4}})}(o(16738))},37779:function(y,b,o){!function(r){"use strict";r.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},3287:function(y,b,o){!function(r){"use strict";r.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(u,c){switch(c){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}}})}(o(16738))},38867:function(y,b,o){!function(r){"use strict";r.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(u,c){switch(c){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(o(16738))},28174:function(y,b,o){!function(r){"use strict";var c=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,e=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];r.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:e,longMonthsParse:e,shortMonthsParse:e,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(h,E){switch(E){case"D":return h+(1===h?"er":"");default:case"M":case"Q":case"DDD":case"d":return h+(1===h?"er":"e");case"w":case"W":return h+(1===h?"re":"e")}},week:{dow:1,doy:4}})}(o(16738))},50452:function(y,b,o){!function(r){"use strict";var a="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),u="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");r.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,f){return e?/-MMM-/.test(f)?u[e.month()]:a[e.month()]:a},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(16738))},45014:function(y,b,o){!function(r){"use strict";r.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(E){return E+(1===E?"d":E%10==2?"na":"mh")},week:{dow:1,doy:4}})}(o(16738))},74127:function(y,b,o){!function(r){"use strict";r.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(E){return E+(1===E?"d":E%10==2?"na":"mh")},week:{dow:1,doy:4}})}(o(16738))},72124:function(y,b,o){!function(r){"use strict";r.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(u){return 0===u.indexOf("un")?"n"+u:"en "+u},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(16738))},6444:function(y,b,o){!function(r){"use strict";function a(c,e,f,h){var E={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[c+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",c+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[c+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",c+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[c+" \u0935\u0930\u093e\u0902\u0928\u0940",c+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[c+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",c+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[c+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",c+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[c+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",c+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return h?E[f][0]:E[f][1]}r.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(c,e){return"D"===e?c+"\u0935\u0947\u0930":c},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(c,e){return 12===c&&(c=0),"\u0930\u093e\u0924\u0940"===e?c<4?c:c+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===e?c:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===e?c>12?c:c+12:"\u0938\u093e\u0902\u091c\u0947"===e?c+12:void 0},meridiem:function(c,e,f){return c<4?"\u0930\u093e\u0924\u0940":c<12?"\u0938\u0915\u093e\u0933\u0940\u0902":c<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":c<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(o(16738))},37953:function(y,b,o){!function(r){"use strict";function a(c,e,f,h){var E={s:["thoddea sekondamni","thodde sekond"],ss:[c+" sekondamni",c+" sekond"],m:["eka mintan","ek minut"],mm:[c+" mintamni",c+" mintam"],h:["eka voran","ek vor"],hh:[c+" voramni",c+" voram"],d:["eka disan","ek dis"],dd:[c+" disamni",c+" dis"],M:["eka mhoinean","ek mhoino"],MM:[c+" mhoineamni",c+" mhoine"],y:["eka vorsan","ek voros"],yy:[c+" vorsamni",c+" vorsam"]};return h?E[f][0]:E[f][1]}r.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(c,e){return"D"===e?c+"er":c},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(c,e){return 12===c&&(c=0),"rati"===e?c<4?c:c+12:"sokallim"===e?c:"donparam"===e?c>12?c:c+12:"sanje"===e?c+12:void 0},meridiem:function(c,e,f){return c<4?"rati":c<12?"sokallim":c<16?"donparam":c<20?"sanje":"rati"}})}(o(16738))},76604:function(y,b,o){!function(r){"use strict";var a={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},u={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};r.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(f){return u[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,f){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===f?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===f?e:"\u0aac\u0aaa\u0acb\u0ab0"===f?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===f?e+12:void 0},meridiem:function(e,f,h){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(o(16738))},1222:function(y,b,o){!function(r){"use strict";r.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(u){return 2===u?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":u+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(u){return 2===u?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":u+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(u){return 2===u?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":u+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(u){return 2===u?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":u%10==0&&10!==u?u+" \u05e9\u05e0\u05d4":u+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(u){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(u)},meridiem:function(u,c,e){return u<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":u<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":u<12?e?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":u<18?e?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(o(16738))},74235:function(y,b,o){!function(r){"use strict";var a={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},c=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];r.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:c,longMonthsParse:c,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(h){return h.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(E){return u[E]})},postformat:function(h){return h.replace(/\d/g,function(E){return a[E]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(h,E){return 12===h&&(h=0),"\u0930\u093e\u0924"===E?h<4?h:h+12:"\u0938\u0941\u092c\u0939"===E?h:"\u0926\u094b\u092a\u0939\u0930"===E?h>=10?h:h+12:"\u0936\u093e\u092e"===E?h+12:void 0},meridiem:function(h,E,T){return h<4?"\u0930\u093e\u0924":h<10?"\u0938\u0941\u092c\u0939":h<17?"\u0926\u094b\u092a\u0939\u0930":h<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(o(16738))},622:function(y,b,o){!function(r){"use strict";function a(c,e,f){var h=c+" ";switch(f){case"ss":return h+(1===c?"sekunda":2===c||3===c||4===c?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return h+(1===c?"minuta":2===c||3===c||4===c?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return h+(1===c?"sat":2===c||3===c||4===c?"sata":"sati");case"dd":return h+(1===c?"dan":"dana");case"MM":return h+(1===c?"mjesec":2===c||3===c||4===c?"mjeseca":"mjeseci");case"yy":return h+(1===c?"godina":2===c||3===c||4===c?"godine":"godina")}}r.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:a,m:a,mm:a,h:a,hh:a,d:"dan",dd:a,M:"mjesec",MM:a,y:"godinu",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(16738))},37735:function(y,b,o){!function(r){"use strict";var a="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function u(f,h,E,T){var D=f;switch(E){case"s":return T||h?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return D+(T||h)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(T||h?" perc":" perce");case"mm":return D+(T||h?" perc":" perce");case"h":return"egy"+(T||h?" \xf3ra":" \xf3r\xe1ja");case"hh":return D+(T||h?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(T||h?" nap":" napja");case"dd":return D+(T||h?" nap":" napja");case"M":return"egy"+(T||h?" h\xf3nap":" h\xf3napja");case"MM":return D+(T||h?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(T||h?" \xe9v":" \xe9ve");case"yy":return D+(T||h?" \xe9v":" \xe9ve")}return""}function c(f){return(f?"":"[m\xfalt] ")+"["+a[this.day()]+"] LT[-kor]"}r.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(f){return"u"===f.charAt(1).toLowerCase()},meridiem:function(f,h,E){return f<12?!0===E?"de":"DE":!0===E?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return c.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return c.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},90402:function(y,b,o){!function(r){"use strict";r.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(u){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(u)},meridiem:function(u){return u<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":u<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":u<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(u,c){switch(c){case"DDD":case"w":case"W":case"DDDo":return 1===u?u+"-\u056b\u0576":u+"-\u0580\u0564";default:return u}},week:{dow:1,doy:7}})}(o(16738))},59187:function(y,b,o){!function(r){"use strict";r.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(u,c){return 12===u&&(u=0),"pagi"===c?u:"siang"===c?u>=11?u:u+12:"sore"===c||"malam"===c?u+12:void 0},meridiem:function(u,c,e){return u<11?"pagi":u<15?"siang":u<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(o(16738))},30536:function(y,b,o){!function(r){"use strict";function a(e){return e%100==11||e%10!=1}function u(e,f,h,E){var T=e+" ";switch(h){case"s":return f||E?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return a(e)?T+(f||E?"sek\xfandur":"sek\xfandum"):T+"sek\xfanda";case"m":return f?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return a(e)?T+(f||E?"m\xedn\xfatur":"m\xedn\xfatum"):f?T+"m\xedn\xfata":T+"m\xedn\xfatu";case"hh":return a(e)?T+(f||E?"klukkustundir":"klukkustundum"):T+"klukkustund";case"d":return f?"dagur":E?"dag":"degi";case"dd":return a(e)?f?T+"dagar":T+(E?"daga":"d\xf6gum"):f?T+"dagur":T+(E?"dag":"degi");case"M":return f?"m\xe1nu\xf0ur":E?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return a(e)?f?T+"m\xe1nu\xf0ir":T+(E?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):f?T+"m\xe1nu\xf0ur":T+(E?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return f||E?"\xe1r":"\xe1ri";case"yy":return a(e)?T+(f||E?"\xe1r":"\xe1rum"):T+(f||E?"\xe1r":"\xe1ri")}}r.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:u,ss:u,m:u,mm:u,h:"klukkustund",hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},94667:function(y,b,o){!function(r){"use strict";r.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(u){return(/^[0-9].+$/.test(u)?"tra":"in")+" "+u},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(16738))},35007:function(y,b,o){!function(r){"use strict";r.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(16738))},62093:function(y,b,o){!function(r){"use strict";r.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(u,c){return"\u5143"===c[1]?1:parseInt(c[1]||u,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(u){return"\u5348\u5f8c"===u},meridiem:function(u,c,e){return u<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(u){return u.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(u){return this.week()!==u.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(u,c){switch(c){case"y":return 1===u?"\u5143\u5e74":u+"\u5e74";case"d":case"D":case"DDD":return u+"\u65e5";default:return u}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(o(16738))},80059:function(y,b,o){!function(r){"use strict";r.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(u,c){return 12===u&&(u=0),"enjing"===c?u:"siyang"===c?u>=11?u:u+12:"sonten"===c||"ndalu"===c?u+12:void 0},meridiem:function(u,c,e){return u<11?"enjing":u<15?"siyang":u<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(o(16738))},66870:function(y,b,o){!function(r){"use strict";r.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(u){return u.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(c,e,f){return"\u10d8"===f?e+"\u10e8\u10d8":e+f+"\u10e8\u10d8"})},past:function(u){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(u)?u.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(u)?u.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):u},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(u){return 0===u?u:1===u?u+"-\u10da\u10d8":u<20||u<=100&&u%20==0||u%100==0?"\u10db\u10d4-"+u:u+"-\u10d4"},week:{dow:1,doy:7}})}(o(16738))},80880:function(y,b,o){!function(r){"use strict";var a={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};r.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(c){return c+(a[c]||a[c%10]||a[c>=100?100:null])},week:{dow:1,doy:7}})}(o(16738))},1083:function(y,b,o){!function(r){"use strict";var a={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},u={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};r.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,f,h){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(f){return u[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},week:{dow:1,doy:4}})}(o(16738))},68785:function(y,b,o){!function(r){"use strict";var a={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},u={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};r.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(f){return u[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,f){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===f?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===f?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===f?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===f?e+12:void 0},meridiem:function(e,f,h){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(o(16738))},21721:function(y,b,o){!function(r){"use strict";r.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(u,c){switch(c){case"d":case"D":case"DDD":return u+"\uc77c";case"M":return u+"\uc6d4";case"w":case"W":return u+"\uc8fc";default:return u}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(u){return"\uc624\ud6c4"===u},meridiem:function(u,c,e){return u<12?"\uc624\uc804":"\uc624\ud6c4"}})}(o(16738))},37851:function(y,b,o){!function(r){"use strict";var a={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},c=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];r.defineLocale("ku",{months:c,monthsShort:c,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(f){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(f)},meridiem:function(f,h,E){return f<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(f){return f.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(h){return u[h]}).replace(/\u060c/g,",")},postformat:function(f){return f.replace(/\d/g,function(h){return a[h]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(16738))},1727:function(y,b,o){!function(r){"use strict";var a={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};r.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(c){return c+(a[c]||a[c%10]||a[c>=100?100:null])},week:{dow:1,doy:7}})}(o(16738))},40346:function(y,b,o){!function(r){"use strict";function a(h,E,T,D){var A={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return E?A[T][0]:A[T][1]}function e(h){if(h=parseInt(h,10),isNaN(h))return!1;if(h<0)return!0;if(h<10)return 4<=h&&h<=7;if(h<100){var E=h%10;return e(0===E?h/10:E)}if(h<1e4){for(;h>=10;)h/=10;return e(h)}return e(h/=1e3)}r.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function u(h){return e(h.substr(0,h.indexOf(" ")))?"a "+h:"an "+h},past:function c(h){return e(h.substr(0,h.indexOf(" ")))?"viru "+h:"virun "+h},s:"e puer Sekonnen",ss:"%d Sekonnen",m:a,mm:"%d Minutten",h:a,hh:"%d Stonnen",d:a,dd:"%d Deeg",M:a,MM:"%d M\xe9int",y:a,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},93002:function(y,b,o){!function(r){"use strict";r.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(u){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===u},meridiem:function(u,c,e){return u<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(u){return"\u0e97\u0eb5\u0ec8"+u}})}(o(16738))},64035:function(y,b,o){!function(r){"use strict";var a={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function c(T,D,A,$){return D?f(A)[0]:$?f(A)[1]:f(A)[2]}function e(T){return T%10==0||T>10&&T<20}function f(T){return a[T].split("_")}function h(T,D,A,$){var Q=T+" ";return 1===T?Q+c(0,D,A[0],$):D?Q+(e(T)?f(A)[1]:f(A)[0]):$?Q+f(A)[1]:Q+(e(T)?f(A)[1]:f(A)[2])}r.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function u(T,D,A,$){return D?"kelios sekund\u0117s":$?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:h,m:c,mm:h,h:c,hh:h,d:c,dd:h,M:c,MM:h,y:c,yy:h},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(T){return T+"-oji"},week:{dow:1,doy:4}})}(o(16738))},56927:function(y,b,o){!function(r){"use strict";var a={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function u(E,T,D){return D?T%10==1&&T%100!=11?E[2]:E[3]:T%10==1&&T%100!=11?E[0]:E[1]}function c(E,T,D){return E+" "+u(a[D],E,T)}function e(E,T,D){return u(a[D],E,T)}r.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function f(E,T){return T?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:c,m:e,mm:c,h:e,hh:c,d:e,dd:c,M:e,MM:c,y:e,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},5634:function(y,b,o){!function(r){"use strict";var a={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(c,e){return 1===c?e[0]:c>=2&&c<=4?e[1]:e[2]},translate:function(c,e,f){var h=a.words[f];return 1===f.length?e?h[0]:h[1]:c+" "+a.correctGrammaticalCase(c,h)}};r.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"dan",dd:a.translate,M:"mjesec",MM:a.translate,y:"godinu",yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(16738))},94173:function(y,b,o){!function(r){"use strict";r.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(16738))},86320:function(y,b,o){!function(r){"use strict";r.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(u){var c=u%10,e=u%100;return 0===u?u+"-\u0435\u0432":0===e?u+"-\u0435\u043d":e>10&&e<20?u+"-\u0442\u0438":1===c?u+"-\u0432\u0438":2===c?u+"-\u0440\u0438":7===c||8===c?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(o(16738))},11705:function(y,b,o){!function(r){"use strict";r.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(u,c){return 12===u&&(u=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===c&&u>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===c||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===c?u+12:u},meridiem:function(u,c,e){return u<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":u<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":u<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":u<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(o(16738))},31062:function(y,b,o){!function(r){"use strict";function a(c,e,f,h){switch(f){case"s":return e?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return c+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return c+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return c+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return c+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return c+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return c+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return c}}r.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(c){return"\u04ae\u0425"===c},meridiem:function(c,e,f){return c<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(c,e){switch(e){case"d":case"D":case"DDD":return c+" \u04e9\u0434\u04e9\u0440";default:return c}}})}(o(16738))},92805:function(y,b,o){!function(r){"use strict";var a={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function c(f,h,E,T){var D="";if(h)switch(E){case"s":D="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":D="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":D="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":D="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":D="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":D="%d \u0924\u093e\u0938";break;case"d":D="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":D="%d \u0926\u093f\u0935\u0938";break;case"M":D="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":D="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":D="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":D="%d \u0935\u0930\u094d\u0937\u0947"}else switch(E){case"s":D="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":D="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":D="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":D="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":D="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":D="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":D="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":D="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":D="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":D="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":D="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":D="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return D.replace(/%d/i,f)}r.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:c,ss:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},preparse:function(f){return f.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(h){return u[h]})},postformat:function(f){return f.replace(/\d/g,function(h){return a[h]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(f,h){return 12===f&&(f=0),"\u092a\u0939\u093e\u091f\u0947"===h||"\u0938\u0915\u093e\u0933\u0940"===h?f:"\u0926\u0941\u092a\u093e\u0930\u0940"===h||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===h||"\u0930\u093e\u0924\u094d\u0930\u0940"===h?f>=12?f:f+12:void 0},meridiem:function(f,h,E){return f>=0&&f<6?"\u092a\u0939\u093e\u091f\u0947":f<12?"\u0938\u0915\u093e\u0933\u0940":f<17?"\u0926\u0941\u092a\u093e\u0930\u0940":f<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(o(16738))},59900:function(y,b,o){!function(r){"use strict";r.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(u,c){return 12===u&&(u=0),"pagi"===c?u:"tengahari"===c?u>=11?u:u+12:"petang"===c||"malam"===c?u+12:void 0},meridiem:function(u,c,e){return u<11?"pagi":u<15?"tengahari":u<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(16738))},11341:function(y,b,o){!function(r){"use strict";r.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(u,c){return 12===u&&(u=0),"pagi"===c?u:"tengahari"===c?u>=11?u:u+12:"petang"===c||"malam"===c?u+12:void 0},meridiem:function(u,c,e){return u<11?"pagi":u<15?"tengahari":u<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(16738))},37734:function(y,b,o){!function(r){"use strict";r.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(16738))},19034:function(y,b,o){!function(r){"use strict";var a={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},u={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};r.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(f){return u[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},week:{dow:1,doy:4}})}(o(16738))},9324:function(y,b,o){!function(r){"use strict";r.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},46495:function(y,b,o){!function(r){"use strict";var a={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};r.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(f){return u[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,f){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===f?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===f?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===f?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===f?e+12:void 0},meridiem:function(e,f,h){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(o(16738))},76272:function(y,b,o){!function(r){"use strict";var a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),c=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],e=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;r.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(h,E){return h?/-MMM-/.test(E)?u[h.month()]:a[h.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(16738))},70673:function(y,b,o){!function(r){"use strict";var a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),c=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],e=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;r.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(h,E){return h?/-MMM-/.test(E)?u[h.month()]:a[h.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(16738))},72486:function(y,b,o){!function(r){"use strict";r.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},46219:function(y,b,o){!function(r){"use strict";r.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(u,c){var e=1===u?"r":2===u?"n":3===u?"r":4===u?"t":"\xe8";return("w"===c||"W"===c)&&(e="a"),u+e},week:{dow:1,doy:4}})}(o(16738))},2829:function(y,b,o){!function(r){"use strict";var a={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},u={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};r.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(f){return u[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,f){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===f?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===f?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===f?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===f?e+12:void 0},meridiem:function(e,f,h){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(o(16738))},78444:function(y,b,o){!function(r){"use strict";var a="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),u="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),c=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function e(E){return E%10<5&&E%10>1&&~~(E/10)%10!=1}function f(E,T,D){var A=E+" ";switch(D){case"ss":return A+(e(E)?"sekundy":"sekund");case"m":return T?"minuta":"minut\u0119";case"mm":return A+(e(E)?"minuty":"minut");case"h":return T?"godzina":"godzin\u0119";case"hh":return A+(e(E)?"godziny":"godzin");case"ww":return A+(e(E)?"tygodnie":"tygodni");case"MM":return A+(e(E)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return A+(e(E)?"lata":"lat")}}r.defineLocale("pl",{months:function(E,T){return E?/D MMMM/.test(T)?u[E.month()]:a[E.month()]:a},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:f,m:f,mm:f,h:f,hh:f,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:f,M:"miesi\u0105c",MM:f,y:"rok",yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},66117:function(y,b,o){!function(r){"use strict";r.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(o(16738))},53170:function(y,b,o){!function(r){"use strict";r.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(16738))},96587:function(y,b,o){!function(r){"use strict";function a(c,e,f){var E=" ";return(c%100>=20||c>=100&&c%100==0)&&(E=" de "),c+E+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[f]}r.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:a,m:"un minut",mm:a,h:"o or\u0103",hh:a,d:"o zi",dd:a,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:a,M:"o lun\u0103",MM:a,y:"un an",yy:a},week:{dow:1,doy:7}})}(o(16738))},39264:function(y,b,o){!function(r){"use strict";function u(f,h,E){return"m"===E?h?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":f+" "+function a(f,h){var E=f.split("_");return h%10==1&&h%100!=11?E[0]:h%10>=2&&h%10<=4&&(h%100<10||h%100>=20)?E[1]:E[2]}({ss:h?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:h?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[E],+f)}var c=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];r.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:c,longMonthsParse:c,shortMonthsParse:c,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(f){if(f.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(f){if(f.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:u,m:u,mm:u,h:"\u0447\u0430\u0441",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(f){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(f)},meridiem:function(f,h,E){return f<4?"\u043d\u043e\u0447\u0438":f<12?"\u0443\u0442\u0440\u0430":f<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(f,h){switch(h){case"M":case"d":case"DDD":return f+"-\u0439";case"D":return f+"-\u0433\u043e";case"w":case"W":return f+"-\u044f";default:return f}},week:{dow:1,doy:4}})}(o(16738))},42135:function(y,b,o){!function(r){"use strict";var a=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],u=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];r.defineLocale("sd",{months:a,monthsShort:a,weekdays:u,weekdaysShort:u,weekdaysMin:u,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,f,h){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(o(16738))},95366:function(y,b,o){!function(r){"use strict";r.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},93379:function(y,b,o){!function(r){"use strict";r.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(u){return u+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(u){return"\u0db4.\u0dc0."===u||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===u},meridiem:function(u,c,e){return u>11?e?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":e?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(o(16738))},46143:function(y,b,o){!function(r){"use strict";var a="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),u="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function c(h){return h>1&&h<5}function e(h,E,T,D){var A=h+" ";switch(T){case"s":return E||D?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return E||D?A+(c(h)?"sekundy":"sek\xfand"):A+"sekundami";case"m":return E?"min\xfata":D?"min\xfatu":"min\xfatou";case"mm":return E||D?A+(c(h)?"min\xfaty":"min\xfat"):A+"min\xfatami";case"h":return E?"hodina":D?"hodinu":"hodinou";case"hh":return E||D?A+(c(h)?"hodiny":"hod\xedn"):A+"hodinami";case"d":return E||D?"de\u0148":"d\u0148om";case"dd":return E||D?A+(c(h)?"dni":"dn\xed"):A+"d\u0148ami";case"M":return E||D?"mesiac":"mesiacom";case"MM":return E||D?A+(c(h)?"mesiace":"mesiacov"):A+"mesiacmi";case"y":return E||D?"rok":"rokom";case"yy":return E||D?A+(c(h)?"roky":"rokov"):A+"rokmi"}}r.defineLocale("sk",{months:a,monthsShort:u,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},196:function(y,b,o){!function(r){"use strict";function a(c,e,f,h){var E=c+" ";switch(f){case"s":return e||h?"nekaj sekund":"nekaj sekundami";case"ss":return E+(1===c?e?"sekundo":"sekundi":2===c?e||h?"sekundi":"sekundah":c<5?e||h?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return E+(1===c?e?"minuta":"minuto":2===c?e||h?"minuti":"minutama":c<5?e||h?"minute":"minutami":e||h?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return E+(1===c?e?"ura":"uro":2===c?e||h?"uri":"urama":c<5?e||h?"ure":"urami":e||h?"ur":"urami");case"d":return e||h?"en dan":"enim dnem";case"dd":return E+(1===c?e||h?"dan":"dnem":2===c?e||h?"dni":"dnevoma":e||h?"dni":"dnevi");case"M":return e||h?"en mesec":"enim mesecem";case"MM":return E+(1===c?e||h?"mesec":"mesecem":2===c?e||h?"meseca":"mesecema":c<5?e||h?"mesece":"meseci":e||h?"mesecev":"meseci");case"y":return e||h?"eno leto":"enim letom";case"yy":return E+(1===c?e||h?"leto":"letom":2===c?e||h?"leti":"letoma":c<5?e||h?"leta":"leti":e||h?"let":"leti")}}r.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(16738))},21082:function(y,b,o){!function(r){"use strict";r.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(u){return"M"===u.charAt(0)},meridiem:function(u,c,e){return u<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},98963:function(y,b,o){!function(r){"use strict";var a={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(c,e){return c%10>=1&&c%10<=4&&(c%100<10||c%100>=20)?c%10==1?e[0]:e[1]:e[2]},translate:function(c,e,f,h){var T,E=a.words[f];return 1===f.length?"y"===f&&e?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":h||e?E[0]:E[1]:(T=a.correctGrammaticalCase(c,E),"yy"===f&&e&&"\u0433\u043e\u0434\u0438\u043d\u0443"===T?c+" \u0433\u043e\u0434\u0438\u043d\u0430":c+" "+T)}};r.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:a.translate,dd:a.translate,M:a.translate,MM:a.translate,y:a.translate,yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(16738))},91621:function(y,b,o){!function(r){"use strict";var a={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(c,e){return c%10>=1&&c%10<=4&&(c%100<10||c%100>=20)?c%10==1?e[0]:e[1]:e[2]},translate:function(c,e,f,h){var T,E=a.words[f];return 1===f.length?"y"===f&&e?"jedna godina":h||e?E[0]:E[1]:(T=a.correctGrammaticalCase(c,E),"yy"===f&&e&&"godinu"===T?c+" godina":c+" "+T)}};r.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:a.translate,dd:a.translate,M:a.translate,MM:a.translate,y:a.translate,yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(16738))},41404:function(y,b,o){!function(r){"use strict";r.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(u,c,e){return u<11?"ekuseni":u<15?"emini":u<19?"entsambama":"ebusuku"},meridiemHour:function(u,c){return 12===u&&(u=0),"ekuseni"===c?u:"emini"===c?u>=11?u:u+12:"entsambama"===c||"ebusuku"===c?0===u?0:u+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(o(16738))},55685:function(y,b,o){!function(r){"use strict";r.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(u){var c=u%10;return u+(1==~~(u%100/10)?":e":1===c||2===c?":a":":e")},week:{dow:1,doy:4}})}(o(16738))},3872:function(y,b,o){!function(r){"use strict";r.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(o(16738))},54106:function(y,b,o){!function(r){"use strict";var a={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},u={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};r.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(f){return u[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,f,h){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,f){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===f?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===f||"\u0b95\u0bbe\u0bb2\u0bc8"===f||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===f&&e>=10?e:e+12},week:{dow:0,doy:6}})}(o(16738))},39204:function(y,b,o){!function(r){"use strict";r.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(u,c){return 12===u&&(u=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===c?u<4?u:u+12:"\u0c09\u0c26\u0c2f\u0c02"===c?u:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===c?u>=10?u:u+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===c?u+12:void 0},meridiem:function(u,c,e){return u<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":u<10?"\u0c09\u0c26\u0c2f\u0c02":u<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":u<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(o(16738))},83692:function(y,b,o){!function(r){"use strict";r.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:1,doy:4}})}(o(16738))},86361:function(y,b,o){!function(r){"use strict";var a={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};r.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(c,e){return 12===c&&(c=0),"\u0448\u0430\u0431"===e?c<4?c:c+12:"\u0441\u0443\u0431\u04b3"===e?c:"\u0440\u04ef\u0437"===e?c>=11?c:c+12:"\u0431\u0435\u0433\u043e\u04b3"===e?c+12:void 0},meridiem:function(c,e,f){return c<4?"\u0448\u0430\u0431":c<11?"\u0441\u0443\u0431\u04b3":c<16?"\u0440\u04ef\u0437":c<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(c){return c+(a[c]||a[c%10]||a[c>=100?100:null])},week:{dow:1,doy:7}})}(o(16738))},31735:function(y,b,o){!function(r){"use strict";r.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(u){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===u},meridiem:function(u,c,e){return u<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(o(16738))},1568:function(y,b,o){!function(r){"use strict";var a={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};r.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(c,e){switch(e){case"d":case"D":case"Do":case"DD":return c;default:if(0===c)return c+"'unjy";var f=c%10;return c+(a[f]||a[c%100-f]||a[c>=100?100:null])}},week:{dow:1,doy:7}})}(o(16738))},96129:function(y,b,o){!function(r){"use strict";r.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(u){return u},week:{dow:1,doy:4}})}(o(16738))},13759:function(y,b,o){!function(r){"use strict";var a="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function e(E,T,D,A){var $=function f(E){var T=Math.floor(E%1e3/100),D=Math.floor(E%100/10),A=E%10,$="";return T>0&&($+=a[T]+"vatlh"),D>0&&($+=(""!==$?" ":"")+a[D]+"maH"),A>0&&($+=(""!==$?" ":"")+a[A]),""===$?"pagh":$}(E);switch(D){case"ss":return $+" lup";case"mm":return $+" tup";case"hh":return $+" rep";case"dd":return $+" jaj";case"MM":return $+" jar";case"yy":return $+" DIS"}}r.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function u(E){var T=E;return-1!==E.indexOf("jaj")?T.slice(0,-3)+"leS":-1!==E.indexOf("jar")?T.slice(0,-3)+"waQ":-1!==E.indexOf("DIS")?T.slice(0,-3)+"nem":T+" pIq"},past:function c(E){var T=E;return-1!==E.indexOf("jaj")?T.slice(0,-3)+"Hu\u2019":-1!==E.indexOf("jar")?T.slice(0,-3)+"wen":-1!==E.indexOf("DIS")?T.slice(0,-3)+"ben":T+" ret"},s:"puS lup",ss:e,m:"wa\u2019 tup",mm:e,h:"wa\u2019 rep",hh:e,d:"wa\u2019 jaj",dd:e,M:"wa\u2019 jar",MM:e,y:"wa\u2019 DIS",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},81644:function(y,b,o){!function(r){"use strict";var a={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};r.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(c,e,f){return c<12?f?"\xf6\xf6":"\xd6\xd6":f?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(c){return"\xf6s"===c||"\xd6S"===c},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(c,e){switch(e){case"d":case"D":case"Do":case"DD":return c;default:if(0===c)return c+"'\u0131nc\u0131";var f=c%10;return c+(a[f]||a[c%100-f]||a[c>=100?100:null])}},week:{dow:1,doy:7}})}(o(16738))},90875:function(y,b,o){!function(r){"use strict";function u(c,e,f,h){var E={s:["viensas secunds","'iensas secunds"],ss:[c+" secunds",c+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[c+" m\xeduts",c+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[c+" \xfeoras",c+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[c+" ziuas",c+" ziuas"],M:["'n mes","'iens mes"],MM:[c+" mesen",c+" mesen"],y:["'n ar","'iens ar"],yy:[c+" ars",c+" ars"]};return h||e?E[f][0]:E[f][1]}r.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(c){return"d'o"===c.toLowerCase()},meridiem:function(c,e,f){return c>11?f?"d'o":"D'O":f?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(16738))},11041:function(y,b,o){!function(r){"use strict";r.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(o(16738))},16878:function(y,b,o){!function(r){"use strict";r.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(o(16738))},74357:function(y,b,o){!function(r){"use strict";r.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(u,c){return 12===u&&(u=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===c||"\u0633\u06d5\u06be\u06d5\u0631"===c||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===c?u:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===c||"\u0643\u06d5\u0686"===c?u+12:u>=11?u:u+12},meridiem:function(u,c,e){var f=100*u+c;return f<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":f<900?"\u0633\u06d5\u06be\u06d5\u0631":f<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":f<1230?"\u0686\u06c8\u0634":f<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(u,c){switch(c){case"d":case"D":case"DDD":return u+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return u+"-\u06be\u06d5\u067e\u062a\u06d5";default:return u}},preparse:function(u){return u.replace(/\u060c/g,",")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(o(16738))},74810:function(y,b,o){!function(r){"use strict";function u(h,E,T){return"m"===T?E?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===T?E?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":h+" "+function a(h,E){var T=h.split("_");return E%10==1&&E%100!=11?T[0]:E%10>=2&&E%10<=4&&(E%100<10||E%100>=20)?T[1]:T[2]}({ss:E?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:E?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:E?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[T],+h)}function e(h){return function(){return h+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}r.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function c(h,E){var T={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===h?T.nominative.slice(1,7).concat(T.nominative.slice(0,1)):h?T[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(E)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(E)?"genitive":"nominative"][h.day()]:T.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:e("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:e("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:e("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:e("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return e("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return e("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:u,m:u,mm:u,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:u,y:"\u0440\u0456\u043a",yy:u},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(h){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(h)},meridiem:function(h,E,T){return h<4?"\u043d\u043e\u0447\u0456":h<12?"\u0440\u0430\u043d\u043a\u0443":h<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(h,E){switch(E){case"M":case"d":case"DDD":case"w":case"W":return h+"-\u0439";case"D":return h+"-\u0433\u043e";default:return h}},week:{dow:1,doy:7}})}(o(16738))},86794:function(y,b,o){!function(r){"use strict";var a=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],u=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];r.defineLocale("ur",{months:a,monthsShort:a,weekdays:u,weekdaysShort:u,weekdaysMin:u,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,f,h){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(o(16738))},77959:function(y,b,o){!function(r){"use strict";r.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(o(16738))},28966:function(y,b,o){!function(r){"use strict";r.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(o(16738))},35386:function(y,b,o){!function(r){"use strict";r.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(u){return/^ch$/i.test(u)},meridiem:function(u,c,e){return u<12?e?"sa":"SA":e?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(u){return u},week:{dow:1,doy:4}})}(o(16738))},23156:function(y,b,o){!function(r){"use strict";r.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:1,doy:4}})}(o(16738))},68028:function(y,b,o){!function(r){"use strict";r.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(o(16738))},9330:function(y,b,o){!function(r){"use strict";r.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,c){return 12===u&&(u=0),"\u51cc\u6668"===c||"\u65e9\u4e0a"===c||"\u4e0a\u5348"===c?u:"\u4e0b\u5348"===c||"\u665a\u4e0a"===c?u+12:u>=11?u:u+12},meridiem:function(u,c,e){var f=100*u+c;return f<600?"\u51cc\u6668":f<900?"\u65e9\u4e0a":f<1130?"\u4e0a\u5348":f<1230?"\u4e2d\u5348":f<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(u){return u.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(u){return this.week()!==u.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(u,c){switch(c){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u5468";default:return u}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(o(16738))},89380:function(y,b,o){!function(r){"use strict";r.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,c){return 12===u&&(u=0),"\u51cc\u6668"===c||"\u65e9\u4e0a"===c||"\u4e0a\u5348"===c?u:"\u4e2d\u5348"===c?u>=11?u:u+12:"\u4e0b\u5348"===c||"\u665a\u4e0a"===c?u+12:void 0},meridiem:function(u,c,e){var f=100*u+c;return f<600?"\u51cc\u6668":f<900?"\u65e9\u4e0a":f<1200?"\u4e0a\u5348":1200===f?"\u4e2d\u5348":f<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(u,c){switch(c){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(16738))},60874:function(y,b,o){!function(r){"use strict";r.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,c){return 12===u&&(u=0),"\u51cc\u6668"===c||"\u65e9\u4e0a"===c||"\u4e0a\u5348"===c?u:"\u4e2d\u5348"===c?u>=11?u:u+12:"\u4e0b\u5348"===c||"\u665a\u4e0a"===c?u+12:void 0},meridiem:function(u,c,e){var f=100*u+c;return f<600?"\u51cc\u6668":f<900?"\u65e9\u4e0a":f<1130?"\u4e0a\u5348":f<1230?"\u4e2d\u5348":f<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(u,c){switch(c){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(16738))},96508:function(y,b,o){!function(r){"use strict";r.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(u,c){return 12===u&&(u=0),"\u51cc\u6668"===c||"\u65e9\u4e0a"===c||"\u4e0a\u5348"===c?u:"\u4e2d\u5348"===c?u>=11?u:u+12:"\u4e0b\u5348"===c||"\u665a\u4e0a"===c?u+12:void 0},meridiem:function(u,c,e){var f=100*u+c;return f<600?"\u51cc\u6668":f<900?"\u65e9\u4e0a":f<1130?"\u4e0a\u5348":f<1230?"\u4e2d\u5348":f<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(u,c){switch(c){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(16738))},16738:function(y,b,o){(y=o.nmd(y)).exports=function(){"use strict";var r,L;function a(){return r.apply(null,arguments)}function c(ne){return ne instanceof Array||"[object Array]"===Object.prototype.toString.call(ne)}function e(ne){return null!=ne&&"[object Object]"===Object.prototype.toString.call(ne)}function f(ne,De){return Object.prototype.hasOwnProperty.call(ne,De)}function h(ne){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(ne).length;var De;for(De in ne)if(f(ne,De))return!1;return!0}function E(ne){return void 0===ne}function T(ne){return"number"==typeof ne||"[object Number]"===Object.prototype.toString.call(ne)}function D(ne){return ne instanceof Date||"[object Date]"===Object.prototype.toString.call(ne)}function A(ne,De){var Lt,vt=[],Tn=ne.length;for(Lt=0;Lt<Tn;++Lt)vt.push(De(ne[Lt],Lt));return vt}function $(ne,De){for(var vt in De)f(De,vt)&&(ne[vt]=De[vt]);return f(De,"toString")&&(ne.toString=De.toString),f(De,"valueOf")&&(ne.valueOf=De.valueOf),ne}function Q(ne,De,vt,Lt){return ca(ne,De,vt,Lt,!0).utc()}function q(ne){return null==ne._pf&&(ne._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),ne._pf}function J(ne){if(null==ne._isValid){var De=q(ne),vt=L.call(De.parsedDateParts,function(Tn){return null!=Tn}),Lt=!isNaN(ne._d.getTime())&&De.overflow<0&&!De.empty&&!De.invalidEra&&!De.invalidMonth&&!De.invalidWeekday&&!De.weekdayMismatch&&!De.nullInput&&!De.invalidFormat&&!De.userInvalidated&&(!De.meridiem||De.meridiem&&vt);if(ne._strict&&(Lt=Lt&&0===De.charsLeftOver&&0===De.unusedTokens.length&&void 0===De.bigHour),null!=Object.isFrozen&&Object.isFrozen(ne))return Lt;ne._isValid=Lt}return ne._isValid}function pe(ne){var De=Q(NaN);return null!=ne?$(q(De),ne):q(De).userInvalidated=!0,De}L=Array.prototype.some?Array.prototype.some:function(ne){var Lt,De=Object(this),vt=De.length>>>0;for(Lt=0;Lt<vt;Lt++)if(Lt in De&&ne.call(this,De[Lt],Lt,De))return!0;return!1};var j=a.momentProperties=[],ue=!1;function ie(ne,De){var vt,Lt,Tn,Yr=j.length;if(E(De._isAMomentObject)||(ne._isAMomentObject=De._isAMomentObject),E(De._i)||(ne._i=De._i),E(De._f)||(ne._f=De._f),E(De._l)||(ne._l=De._l),E(De._strict)||(ne._strict=De._strict),E(De._tzm)||(ne._tzm=De._tzm),E(De._isUTC)||(ne._isUTC=De._isUTC),E(De._offset)||(ne._offset=De._offset),E(De._pf)||(ne._pf=q(De)),E(De._locale)||(ne._locale=De._locale),Yr>0)for(vt=0;vt<Yr;vt++)E(Tn=De[Lt=j[vt]])||(ne[Lt]=Tn);return ne}function me(ne){ie(this,ne),this._d=new Date(null!=ne._d?ne._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ue&&(ue=!0,a.updateOffset(this),ue=!1)}function Oe(ne){return ne instanceof me||null!=ne&&null!=ne._isAMomentObject}function Ue(ne){!1===a.suppressDeprecationWarnings&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+ne)}function Me(ne,De){var vt=!0;return $(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,ne),vt){var Tn,Yr,zi,Lt=[],Vs=arguments.length;for(Yr=0;Yr<Vs;Yr++){if(Tn="","object"==typeof arguments[Yr]){for(zi in Tn+="\n["+Yr+"] ",arguments[0])f(arguments[0],zi)&&(Tn+=zi+": "+arguments[0][zi]+", ");Tn=Tn.slice(0,-2)}else Tn=arguments[Yr];Lt.push(Tn)}Ue(ne+"\nArguments: "+Array.prototype.slice.call(Lt).join("")+"\n"+(new Error).stack),vt=!1}return De.apply(this,arguments)},De)}var Ct,yt={};function et(ne,De){null!=a.deprecationHandler&&a.deprecationHandler(ne,De),yt[ne]||(Ue(De),yt[ne]=!0)}function tt(ne){return typeof Function<"u"&&ne instanceof Function||"[object Function]"===Object.prototype.toString.call(ne)}function ze(ne,De){var Lt,vt=$({},ne);for(Lt in De)f(De,Lt)&&(e(ne[Lt])&&e(De[Lt])?(vt[Lt]={},$(vt[Lt],ne[Lt]),$(vt[Lt],De[Lt])):null!=De[Lt]?vt[Lt]=De[Lt]:delete vt[Lt]);for(Lt in ne)f(ne,Lt)&&!f(De,Lt)&&e(ne[Lt])&&(vt[Lt]=$({},vt[Lt]));return vt}function bt(ne){null!=ne&&this.set(ne)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,Ct=Object.keys?Object.keys:function(ne){var De,vt=[];for(De in ne)f(ne,De)&&vt.push(De);return vt};function en(ne,De,vt){var Lt=""+Math.abs(ne);return(ne>=0?vt?"+":"":"-")+Math.pow(10,Math.max(0,De-Lt.length)).toString().substr(1)+Lt}var nn=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,bn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Dn={},Rt={};function Xt(ne,De,vt,Lt){var Tn=Lt;"string"==typeof Lt&&(Tn=function(){return this[Lt]()}),ne&&(Rt[ne]=Tn),De&&(Rt[De[0]]=function(){return en(Tn.apply(this,arguments),De[1],De[2])}),vt&&(Rt[vt]=function(){return this.localeData().ordinal(Tn.apply(this,arguments),ne)})}function un(ne){return ne.match(/\[[\s\S]/)?ne.replace(/^\[|\]$/g,""):ne.replace(/\\/g,"")}function kn(ne,De){return ne.isValid()?(De=ri(De,ne.localeData()),Dn[De]=Dn[De]||function _n(ne){var vt,Lt,De=ne.match(nn);for(vt=0,Lt=De.length;vt<Lt;vt++)De[vt]=Rt[De[vt]]?Rt[De[vt]]:un(De[vt]);return function(Tn){var zi,Yr="";for(zi=0;zi<Lt;zi++)Yr+=tt(De[zi])?De[zi].call(Tn,ne):De[zi];return Yr}}(De),Dn[De](ne)):ne.localeData().invalidDate()}function ri(ne,De){var vt=5;function Lt(Tn){return De.longDateFormat(Tn)||Tn}for(bn.lastIndex=0;vt>=0&&bn.test(ne);)ne=ne.replace(bn,Lt),bn.lastIndex=0,vt-=1;return ne}var rr={};function Lr(ne,De){var vt=ne.toLowerCase();rr[vt]=rr[vt+"s"]=rr[De]=ne}function Fi(ne){return"string"==typeof ne?rr[ne]||rr[ne.toLowerCase()]:void 0}function so(ne){var vt,Lt,De={};for(Lt in ne)f(ne,Lt)&&(vt=Fi(Lt))&&(De[vt]=ne[Lt]);return De}var Vo={};function Xr(ne,De){Vo[ne]=De}function ji(ne){return ne%4==0&&ne%100!=0||ne%400==0}function jr(ne){return ne<0?Math.ceil(ne)||0:Math.floor(ne)}function Pr(ne){var De=+ne,vt=0;return 0!==De&&isFinite(De)&&(vt=jr(De)),vt}function Bo(ne,De){return function(vt){return null!=vt?(ts(this,ne,vt),a.updateOffset(this,De),this):cs(this,ne)}}function cs(ne,De){return ne.isValid()?ne._d["get"+(ne._isUTC?"UTC":"")+De]():NaN}function ts(ne,De,vt){ne.isValid()&&!isNaN(vt)&&("FullYear"===De&&ji(ne.year())&&1===ne.month()&&29===ne.date()?(vt=Pr(vt),ne._d["set"+(ne._isUTC?"UTC":"")+De](vt,ne.month(),Mo(vt,ne.month()))):ne._d["set"+(ne._isUTC?"UTC":"")+De](vt))}var Qn,Pn=/\d/,Nn=/\d\d/,Ut=/\d{3}/,ke=/\d{4}/,Ie=/[+-]?\d{6}/,Qe=/\d\d?/,Ve=/\d\d\d\d?/,tn=/\d\d\d\d\d\d?/,ot=/\d{1,3}/,xt=/\d{1,4}/,qt=/[+-]?\d{1,6}/,tr=/\d+/,vr=/[+-]?\d+/,An=/Z|[+-]\d\d:?\d\d/gi,yr=/Z|[+-]\d\d(?::?\d\d)?/gi,nr=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function dr(ne,De,vt){Qn[ne]=tt(De)?De:function(Lt,Tn){return Lt&&vt?vt:De}}function Wn(ne,De){return f(Qn,ne)?Qn[ne](De._strict,De._locale):new RegExp(function Wt(ne){return kt(ne.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(De,vt,Lt,Tn,Yr){return vt||Lt||Tn||Yr}))}(ne))}function kt(ne){return ne.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Qn={};var st={};function zt(ne,De){var vt,Tn,Lt=De;for("string"==typeof ne&&(ne=[ne]),T(De)&&(Lt=function(Yr,zi){zi[De]=Pr(Yr)}),Tn=ne.length,vt=0;vt<Tn;vt++)st[ne[vt]]=Lt}function er(ne,De){zt(ne,function(vt,Lt,Tn,Yr){Tn._w=Tn._w||{},De(vt,Tn._w,Tn,Yr)})}function Kr(ne,De,vt){null!=De&&f(st,ne)&&st[ne](De,vt._a,vt,ne)}var Wi,mi=0,gi=1,Jo=2,os=3,hr=4,Ii=5,ni=6,Vr=7,wi=8;function Mo(ne,De){if(isNaN(ne)||isNaN(De))return NaN;var vt=function Gi(ne,De){return(ne%De+De)%De}(De,12);return ne+=(De-vt)/12,1===vt?ji(ne)?29:28:31-vt%7%2}Wi=Array.prototype.indexOf?Array.prototype.indexOf:function(ne){var De;for(De=0;De<this.length;++De)if(this[De]===ne)return De;return-1},Xt("M",["MM",2],"Mo",function(){return this.month()+1}),Xt("MMM",0,0,function(ne){return this.localeData().monthsShort(this,ne)}),Xt("MMMM",0,0,function(ne){return this.localeData().months(this,ne)}),Lr("month","M"),Xr("month",8),dr("M",Qe),dr("MM",Qe,Nn),dr("MMM",function(ne,De){return De.monthsShortRegex(ne)}),dr("MMMM",function(ne,De){return De.monthsRegex(ne)}),zt(["M","MM"],function(ne,De){De[gi]=Pr(ne)-1}),zt(["MMM","MMMM"],function(ne,De,vt,Lt){var Tn=vt._locale.monthsParse(ne,Lt,vt._strict);null!=Tn?De[gi]=Tn:q(vt).invalidMonth=ne});var As="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ls="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),qr=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,$r=nr,Cn=nr;function Qi(ne,De,vt){var Lt,Tn,Yr,zi=ne.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],Lt=0;Lt<12;++Lt)Yr=Q([2e3,Lt]),this._shortMonthsParse[Lt]=this.monthsShort(Yr,"").toLocaleLowerCase(),this._longMonthsParse[Lt]=this.months(Yr,"").toLocaleLowerCase();return vt?"MMM"===De?-1!==(Tn=Wi.call(this._shortMonthsParse,zi))?Tn:null:-1!==(Tn=Wi.call(this._longMonthsParse,zi))?Tn:null:"MMM"===De?-1!==(Tn=Wi.call(this._shortMonthsParse,zi))||-1!==(Tn=Wi.call(this._longMonthsParse,zi))?Tn:null:-1!==(Tn=Wi.call(this._longMonthsParse,zi))||-1!==(Tn=Wi.call(this._shortMonthsParse,zi))?Tn:null}function Ss(ne,De){var vt;if(!ne.isValid())return ne;if("string"==typeof De)if(/^\d+$/.test(De))De=Pr(De);else if(!T(De=ne.localeData().monthsParse(De)))return ne;return vt=Math.min(ne.date(),Mo(ne.year(),De)),ne._d["set"+(ne._isUTC?"UTC":"")+"Month"](De,vt),ne}function bs(ne){return null!=ne?(Ss(this,ne),a.updateOffset(this,!0),this):cs(this,"Month")}function Ys(){function ne(zi,Vs){return Vs.length-zi.length}var Tn,Yr,De=[],vt=[],Lt=[];for(Tn=0;Tn<12;Tn++)Yr=Q([2e3,Tn]),De.push(this.monthsShort(Yr,"")),vt.push(this.months(Yr,"")),Lt.push(this.months(Yr,"")),Lt.push(this.monthsShort(Yr,""));for(De.sort(ne),vt.sort(ne),Lt.sort(ne),Tn=0;Tn<12;Tn++)De[Tn]=kt(De[Tn]),vt[Tn]=kt(vt[Tn]);for(Tn=0;Tn<24;Tn++)Lt[Tn]=kt(Lt[Tn]);this._monthsRegex=new RegExp("^("+Lt.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+vt.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+De.join("|")+")","i")}function ra(ne){return ji(ne)?366:365}Xt("Y",0,0,function(){var ne=this.year();return ne<=9999?en(ne,4):"+"+ne}),Xt(0,["YY",2],0,function(){return this.year()%100}),Xt(0,["YYYY",4],0,"year"),Xt(0,["YYYYY",5],0,"year"),Xt(0,["YYYYYY",6,!0],0,"year"),Lr("year","y"),Xr("year",1),dr("Y",vr),dr("YY",Qe,Nn),dr("YYYY",xt,ke),dr("YYYYY",qt,Ie),dr("YYYYYY",qt,Ie),zt(["YYYYY","YYYYYY"],mi),zt("YYYY",function(ne,De){De[mi]=2===ne.length?a.parseTwoDigitYear(ne):Pr(ne)}),zt("YY",function(ne,De){De[mi]=a.parseTwoDigitYear(ne)}),zt("Y",function(ne,De){De[mi]=parseInt(ne,10)}),a.parseTwoDigitYear=function(ne){return Pr(ne)+(Pr(ne)>68?1900:2e3)};var Do=Bo("FullYear",!0);function Ql(ne,De,vt,Lt,Tn,Yr,zi){var Vs;return ne<100&&ne>=0?(Vs=new Date(ne+400,De,vt,Lt,Tn,Yr,zi),isFinite(Vs.getFullYear())&&Vs.setFullYear(ne)):Vs=new Date(ne,De,vt,Lt,Tn,Yr,zi),Vs}function tl(ne){var De,vt;return ne<100&&ne>=0?((vt=Array.prototype.slice.call(arguments))[0]=ne+400,De=new Date(Date.UTC.apply(null,vt)),isFinite(De.getUTCFullYear())&&De.setUTCFullYear(ne)):De=new Date(Date.UTC.apply(null,arguments)),De}function Da(ne,De,vt){var Lt=7+De-vt;return-(7+tl(ne,0,Lt).getUTCDay()-De)%7+Lt-1}function Ga(ne,De,vt,Lt,Tn){var ol,Va,Vs=1+7*(De-1)+(7+vt-Lt)%7+Da(ne,Lt,Tn);return Vs<=0?Va=ra(ol=ne-1)+Vs:Vs>ra(ne)?(ol=ne+1,Va=Vs-ra(ne)):(ol=ne,Va=Vs),{year:ol,dayOfYear:Va}}function Pl(ne,De,vt){var Yr,zi,Lt=Da(ne.year(),De,vt),Tn=Math.floor((ne.dayOfYear()-Lt-1)/7)+1;return Tn<1?Yr=Tn+Eo(zi=ne.year()-1,De,vt):Tn>Eo(ne.year(),De,vt)?(Yr=Tn-Eo(ne.year(),De,vt),zi=ne.year()+1):(zi=ne.year(),Yr=Tn),{week:Yr,year:zi}}function Eo(ne,De,vt){var Lt=Da(ne,De,vt),Tn=Da(ne+1,De,vt);return(ra(ne)-Lt+Tn)/7}Xt("w",["ww",2],"wo","week"),Xt("W",["WW",2],"Wo","isoWeek"),Lr("week","w"),Lr("isoWeek","W"),Xr("week",5),Xr("isoWeek",5),dr("w",Qe),dr("ww",Qe,Nn),dr("W",Qe),dr("WW",Qe,Nn),er(["w","ww","W","WW"],function(ne,De,vt,Lt){De[Lt.substr(0,1)]=Pr(ne)});function Go(ne,De){return ne.slice(De,7).concat(ne.slice(0,De))}Xt("d",0,"do","day"),Xt("dd",0,0,function(ne){return this.localeData().weekdaysMin(this,ne)}),Xt("ddd",0,0,function(ne){return this.localeData().weekdaysShort(this,ne)}),Xt("dddd",0,0,function(ne){return this.localeData().weekdays(this,ne)}),Xt("e",0,0,"weekday"),Xt("E",0,0,"isoWeekday"),Lr("day","d"),Lr("weekday","e"),Lr("isoWeekday","E"),Xr("day",11),Xr("weekday",11),Xr("isoWeekday",11),dr("d",Qe),dr("e",Qe),dr("E",Qe),dr("dd",function(ne,De){return De.weekdaysMinRegex(ne)}),dr("ddd",function(ne,De){return De.weekdaysShortRegex(ne)}),dr("dddd",function(ne,De){return De.weekdaysRegex(ne)}),er(["dd","ddd","dddd"],function(ne,De,vt,Lt){var Tn=vt._locale.weekdaysParse(ne,Lt,vt._strict);null!=Tn?De.d=Tn:q(vt).invalidWeekday=ne}),er(["d","e","E"],function(ne,De,vt,Lt){De[Lt]=Pr(ne)});var ys="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),rs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Lo="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Br=nr,qi=nr,_t=nr;function on(ne,De,vt){var Lt,Tn,Yr,zi=ne.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Lt=0;Lt<7;++Lt)Yr=Q([2e3,1]).day(Lt),this._minWeekdaysParse[Lt]=this.weekdaysMin(Yr,"").toLocaleLowerCase(),this._shortWeekdaysParse[Lt]=this.weekdaysShort(Yr,"").toLocaleLowerCase(),this._weekdaysParse[Lt]=this.weekdays(Yr,"").toLocaleLowerCase();return vt?"dddd"===De?-1!==(Tn=Wi.call(this._weekdaysParse,zi))?Tn:null:"ddd"===De?-1!==(Tn=Wi.call(this._shortWeekdaysParse,zi))?Tn:null:-1!==(Tn=Wi.call(this._minWeekdaysParse,zi))?Tn:null:"dddd"===De?-1!==(Tn=Wi.call(this._weekdaysParse,zi))||-1!==(Tn=Wi.call(this._shortWeekdaysParse,zi))||-1!==(Tn=Wi.call(this._minWeekdaysParse,zi))?Tn:null:"ddd"===De?-1!==(Tn=Wi.call(this._shortWeekdaysParse,zi))||-1!==(Tn=Wi.call(this._weekdaysParse,zi))||-1!==(Tn=Wi.call(this._minWeekdaysParse,zi))?Tn:null:-1!==(Tn=Wi.call(this._minWeekdaysParse,zi))||-1!==(Tn=Wi.call(this._weekdaysParse,zi))||-1!==(Tn=Wi.call(this._shortWeekdaysParse,zi))?Tn:null}function ta(){function ne(pc,ou){return ou.length-pc.length}var Yr,zi,Vs,ol,Va,De=[],vt=[],Lt=[],Tn=[];for(Yr=0;Yr<7;Yr++)zi=Q([2e3,1]).day(Yr),Vs=kt(this.weekdaysMin(zi,"")),ol=kt(this.weekdaysShort(zi,"")),Va=kt(this.weekdays(zi,"")),De.push(Vs),vt.push(ol),Lt.push(Va),Tn.push(Vs),Tn.push(ol),Tn.push(Va);De.sort(ne),vt.sort(ne),Lt.sort(ne),Tn.sort(ne),this._weekdaysRegex=new RegExp("^("+Tn.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+Lt.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+vt.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+De.join("|")+")","i")}function Ul(){return this.hours()%12||12}function zc(ne,De){Xt(ne,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),De)})}function Uu(ne,De){return De._meridiemParse}Xt("H",["HH",2],0,"hour"),Xt("h",["hh",2],0,Ul),Xt("k",["kk",2],0,function Fl(){return this.hours()||24}),Xt("hmm",0,0,function(){return""+Ul.apply(this)+en(this.minutes(),2)}),Xt("hmmss",0,0,function(){return""+Ul.apply(this)+en(this.minutes(),2)+en(this.seconds(),2)}),Xt("Hmm",0,0,function(){return""+this.hours()+en(this.minutes(),2)}),Xt("Hmmss",0,0,function(){return""+this.hours()+en(this.minutes(),2)+en(this.seconds(),2)}),zc("a",!0),zc("A",!1),Lr("hour","h"),Xr("hour",13),dr("a",Uu),dr("A",Uu),dr("H",Qe),dr("h",Qe),dr("k",Qe),dr("HH",Qe,Nn),dr("hh",Qe,Nn),dr("kk",Qe,Nn),dr("hmm",Ve),dr("hmmss",tn),dr("Hmm",Ve),dr("Hmmss",tn),zt(["H","HH"],os),zt(["k","kk"],function(ne,De,vt){var Lt=Pr(ne);De[os]=24===Lt?0:Lt}),zt(["a","A"],function(ne,De,vt){vt._isPm=vt._locale.isPM(ne),vt._meridiem=ne}),zt(["h","hh"],function(ne,De,vt){De[os]=Pr(ne),q(vt).bigHour=!0}),zt("hmm",function(ne,De,vt){var Lt=ne.length-2;De[os]=Pr(ne.substr(0,Lt)),De[hr]=Pr(ne.substr(Lt)),q(vt).bigHour=!0}),zt("hmmss",function(ne,De,vt){var Lt=ne.length-4,Tn=ne.length-2;De[os]=Pr(ne.substr(0,Lt)),De[hr]=Pr(ne.substr(Lt,2)),De[Ii]=Pr(ne.substr(Tn)),q(vt).bigHour=!0}),zt("Hmm",function(ne,De,vt){var Lt=ne.length-2;De[os]=Pr(ne.substr(0,Lt)),De[hr]=Pr(ne.substr(Lt))}),zt("Hmmss",function(ne,De,vt){var Lt=ne.length-4,Tn=ne.length-2;De[os]=Pr(ne.substr(0,Lt)),De[hr]=Pr(ne.substr(Lt,2)),De[Ii]=Pr(ne.substr(Tn))});var Ou=Bo("Hours",!0);var Sc,ec={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:As,monthsShort:Ls,week:{dow:0,doy:6},weekdays:ys,weekdaysMin:Lo,weekdaysShort:rs,meridiemParse:/[ap]\.?m?\.?/i},wa={},Ec={};function dl(ne,De){var vt,Lt=Math.min(ne.length,De.length);for(vt=0;vt<Lt;vt+=1)if(ne[vt]!==De[vt])return vt;return Lt}function Kc(ne){return ne&&ne.toLowerCase().replace("_","-")}function xs(ne){var De=null;if(void 0===wa[ne]&&y&&y.exports&&function cu(ne){return null!=ne.match("^[^/\\\\]*$")}(ne))try{De=Sc._abbr,o(46700)("./"+ne),Tc(De)}catch{wa[ne]=null}return wa[ne]}function Tc(ne,De){var vt;return ne&&((vt=E(De)?gl(ne):cc(ne,De))?Sc=vt:typeof console<"u"&&console.warn&&console.warn("Locale "+ne+" not found. Did you forget to load it?")),Sc._abbr}function cc(ne,De){if(null!==De){var vt,Lt=ec;if(De.abbr=ne,null!=wa[ne])et("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),Lt=wa[ne]._config;else if(null!=De.parentLocale)if(null!=wa[De.parentLocale])Lt=wa[De.parentLocale]._config;else{if(null==(vt=xs(De.parentLocale)))return Ec[De.parentLocale]||(Ec[De.parentLocale]=[]),Ec[De.parentLocale].push({name:ne,config:De}),null;Lt=vt._config}return wa[ne]=new bt(ze(Lt,De)),Ec[ne]&&Ec[ne].forEach(function(Tn){cc(Tn.name,Tn.config)}),Tc(ne),wa[ne]}return delete wa[ne],null}function gl(ne){var De;if(ne&&ne._locale&&ne._locale._abbr&&(ne=ne._locale._abbr),!ne)return Sc;if(!c(ne)){if(De=xs(ne))return De;ne=[ne]}return function Vc(ne){for(var vt,Lt,Tn,Yr,De=0;De<ne.length;){for(vt=(Yr=Kc(ne[De]).split("-")).length,Lt=(Lt=Kc(ne[De+1]))?Lt.split("-"):null;vt>0;){if(Tn=xs(Yr.slice(0,vt).join("-")))return Tn;if(Lt&&Lt.length>=vt&&dl(Yr,Lt)>=vt-1)break;vt--}De++}return Sc}(ne)}function bc(ne){var De,vt=ne._a;return vt&&-2===q(ne).overflow&&(De=vt[gi]<0||vt[gi]>11?gi:vt[Jo]<1||vt[Jo]>Mo(vt[mi],vt[gi])?Jo:vt[os]<0||vt[os]>24||24===vt[os]&&(0!==vt[hr]||0!==vt[Ii]||0!==vt[ni])?os:vt[hr]<0||vt[hr]>59?hr:vt[Ii]<0||vt[Ii]>59?Ii:vt[ni]<0||vt[ni]>999?ni:-1,q(ne)._overflowDayOfYear&&(De<mi||De>Jo)&&(De=Jo),q(ne)._overflowWeeks&&-1===De&&(De=Vr),q(ne)._overflowWeekday&&-1===De&&(De=wi),q(ne).overflow=De),ne}var Mc=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,za=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vl=/Z|[+-]\d\d(?::?\d\d)?/,Ka=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ua=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Xc=/^\/?Date\((-?\d+)/i,sc=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ba={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ic(ne){var De,vt,Yr,zi,Vs,ol,Lt=ne._i,Tn=Mc.exec(Lt)||za.exec(Lt),Va=Ka.length,pc=Ua.length;if(Tn){for(q(ne).iso=!0,De=0,vt=Va;De<vt;De++)if(Ka[De][1].exec(Tn[1])){zi=Ka[De][0],Yr=!1!==Ka[De][2];break}if(null==zi)return void(ne._isValid=!1);if(Tn[3]){for(De=0,vt=pc;De<vt;De++)if(Ua[De][1].exec(Tn[3])){Vs=(Tn[2]||" ")+Ua[De][0];break}if(null==Vs)return void(ne._isValid=!1)}if(!Yr&&null!=Vs)return void(ne._isValid=!1);if(Tn[4]){if(!vl.exec(Tn[4]))return void(ne._isValid=!1);ol="Z"}ne._f=zi+(Vs||"")+(ol||""),ut(ne)}else ne._isValid=!1}function ba(ne){var De=parseInt(ne,10);return De<=49?2e3+De:De<=999?1900+De:De}function jl(ne){var vt,De=sc.exec(function Xa(ne){return ne.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(ne._i));if(De){if(vt=function Fc(ne,De,vt,Lt,Tn,Yr){var zi=[ba(ne),Ls.indexOf(De),parseInt(vt,10),parseInt(Lt,10),parseInt(Tn,10)];return Yr&&zi.push(parseInt(Yr,10)),zi}(De[4],De[3],De[2],De[5],De[6],De[7]),!function Oc(ne,De,vt){return!ne||rs.indexOf(ne)===new Date(De[0],De[1],De[2]).getDay()||(q(vt).weekdayMismatch=!0,vt._isValid=!1,!1)}(De[1],vt,ne))return;ne._a=vt,ne._tzm=function Ac(ne,De,vt){if(ne)return Ba[ne];if(De)return 0;var Lt=parseInt(vt,10),Tn=Lt%100;return(Lt-Tn)/100*60+Tn}(De[8],De[9],De[10]),ne._d=tl.apply(null,ne._a),ne._d.setUTCMinutes(ne._d.getUTCMinutes()-ne._tzm),q(ne).rfc2822=!0}else ne._isValid=!1}function Dc(ne,De,vt){return ne??De??vt}function Au(ne){var De,vt,Tn,Yr,zi,Lt=[];if(!ne._d){for(Tn=function Zs(ne){var De=new Date(a.now());return ne._useUTC?[De.getUTCFullYear(),De.getUTCMonth(),De.getUTCDate()]:[De.getFullYear(),De.getMonth(),De.getDate()]}(ne),ne._w&&null==ne._a[Jo]&&null==ne._a[gi]&&function St(ne){var De,vt,Lt,Tn,Yr,zi,Vs,ol,Va;null!=(De=ne._w).GG||null!=De.W||null!=De.E?(Yr=1,zi=4,vt=Dc(De.GG,ne._a[mi],Pl(Xs(),1,4).year),Lt=Dc(De.W,1),((Tn=Dc(De.E,1))<1||Tn>7)&&(ol=!0)):(Yr=ne._locale._week.dow,zi=ne._locale._week.doy,Va=Pl(Xs(),Yr,zi),vt=Dc(De.gg,ne._a[mi],Va.year),Lt=Dc(De.w,Va.week),null!=De.d?((Tn=De.d)<0||Tn>6)&&(ol=!0):null!=De.e?(Tn=De.e+Yr,(De.e<0||De.e>6)&&(ol=!0)):Tn=Yr),Lt<1||Lt>Eo(vt,Yr,zi)?q(ne)._overflowWeeks=!0:null!=ol?q(ne)._overflowWeekday=!0:(Vs=Ga(vt,Lt,Tn,Yr,zi),ne._a[mi]=Vs.year,ne._dayOfYear=Vs.dayOfYear)}(ne),null!=ne._dayOfYear&&(zi=Dc(ne._a[mi],Tn[mi]),(ne._dayOfYear>ra(zi)||0===ne._dayOfYear)&&(q(ne)._overflowDayOfYear=!0),vt=tl(zi,0,ne._dayOfYear),ne._a[gi]=vt.getUTCMonth(),ne._a[Jo]=vt.getUTCDate()),De=0;De<3&&null==ne._a[De];++De)ne._a[De]=Lt[De]=Tn[De];for(;De<7;De++)ne._a[De]=Lt[De]=null==ne._a[De]?2===De?1:0:ne._a[De];24===ne._a[os]&&0===ne._a[hr]&&0===ne._a[Ii]&&0===ne._a[ni]&&(ne._nextDay=!0,ne._a[os]=0),ne._d=(ne._useUTC?tl:Ql).apply(null,Lt),Yr=ne._useUTC?ne._d.getUTCDay():ne._d.getDay(),null!=ne._tzm&&ne._d.setUTCMinutes(ne._d.getUTCMinutes()-ne._tzm),ne._nextDay&&(ne._a[os]=24),ne._w&&typeof ne._w.d<"u"&&ne._w.d!==Yr&&(q(ne).weekdayMismatch=!0)}}function ut(ne){if(ne._f!==a.ISO_8601)if(ne._f!==a.RFC_2822){ne._a=[],q(ne).empty=!0;var vt,Lt,Tn,Yr,zi,Va,pc,De=""+ne._i,Vs=De.length,ol=0;for(pc=(Tn=ri(ne._f,ne._locale).match(nn)||[]).length,vt=0;vt<pc;vt++)(Lt=(De.match(Wn(Yr=Tn[vt],ne))||[])[0])&&((zi=De.substr(0,De.indexOf(Lt))).length>0&&q(ne).unusedInput.push(zi),De=De.slice(De.indexOf(Lt)+Lt.length),ol+=Lt.length),Rt[Yr]?(Lt?q(ne).empty=!1:q(ne).unusedTokens.push(Yr),Kr(Yr,Lt,ne)):ne._strict&&!Lt&&q(ne).unusedTokens.push(Yr);q(ne).charsLeftOver=Vs-ol,De.length>0&&q(ne).unusedInput.push(De),ne._a[os]<=12&&!0===q(ne).bigHour&&ne._a[os]>0&&(q(ne).bigHour=void 0),q(ne).parsedDateParts=ne._a.slice(0),q(ne).meridiem=ne._meridiem,ne._a[os]=function Je(ne,De,vt){var Lt;return null==vt?De:null!=ne.meridiemHour?ne.meridiemHour(De,vt):(null!=ne.isPM&&((Lt=ne.isPM(vt))&&De<12&&(De+=12),!Lt&&12===De&&(De=0)),De)}(ne._locale,ne._a[os],ne._meridiem),null!==(Va=q(ne).era)&&(ne._a[mi]=ne._locale.erasConvertYear(Va,ne._a[mi])),Au(ne),bc(ne)}else jl(ne);else Ic(ne)}function Ya(ne){var De=ne._i,vt=ne._f;return ne._locale=ne._locale||gl(ne._l),null===De||void 0===vt&&""===De?pe({nullInput:!0}):("string"==typeof De&&(ne._i=De=ne._locale.preparse(De)),Oe(De)?new me(bc(De)):(D(De)?ne._d=De:c(vt)?function hn(ne){var De,vt,Lt,Tn,Yr,zi,Vs=!1,ol=ne._f.length;if(0===ol)return q(ne).invalidFormat=!0,void(ne._d=new Date(NaN));for(Tn=0;Tn<ol;Tn++)Yr=0,zi=!1,De=ie({},ne),null!=ne._useUTC&&(De._useUTC=ne._useUTC),De._f=ne._f[Tn],ut(De),J(De)&&(zi=!0),Yr+=q(De).charsLeftOver,Yr+=10*q(De).unusedTokens.length,q(De).score=Yr,Vs?Yr<Lt&&(Lt=Yr,vt=De):(null==Lt||Yr<Lt||zi)&&(Lt=Yr,vt=De,zi&&(Vs=!0));$(ne,vt||De)}(ne):vt?ut(ne):function Si(ne){var De=ne._i;E(De)?ne._d=new Date(a.now()):D(De)?ne._d=new Date(De.valueOf()):"string"==typeof De?function yl(ne){var De=Xc.exec(ne._i);null===De?(Ic(ne),!1===ne._isValid&&(delete ne._isValid,jl(ne),!1===ne._isValid&&(delete ne._isValid,ne._strict?ne._isValid=!1:a.createFromInputFallback(ne)))):ne._d=new Date(+De[1])}(ne):c(De)?(ne._a=A(De.slice(0),function(vt){return parseInt(vt,10)}),Au(ne)):e(De)?function vi(ne){if(!ne._d){var De=so(ne._i);ne._a=A([De.year,De.month,void 0===De.day?De.date:De.day,De.hour,De.minute,De.second,De.millisecond],function(Lt){return Lt&&parseInt(Lt,10)}),Au(ne)}}(ne):T(De)?ne._d=new Date(De):a.createFromInputFallback(ne)}(ne),J(ne)||(ne._d=null),ne))}function ca(ne,De,vt,Lt,Tn){var Yr={};return(!0===De||!1===De)&&(Lt=De,De=void 0),(!0===vt||!1===vt)&&(Lt=vt,vt=void 0),(e(ne)&&h(ne)||c(ne)&&0===ne.length)&&(ne=void 0),Yr._isAMomentObject=!0,Yr._useUTC=Yr._isUTC=Tn,Yr._l=vt,Yr._i=ne,Yr._f=De,Yr._strict=Lt,function wo(ne){var De=new me(bc(Ya(ne)));return De._nextDay&&(De.add(1,"d"),De._nextDay=void 0),De}(Yr)}function Xs(ne,De,vt,Lt){return ca(ne,De,vt,Lt,!1)}a.createFromInputFallback=Me("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(ne){ne._d=new Date(ne._i+(ne._useUTC?" UTC":""))}),a.ISO_8601=function(){},a.RFC_2822=function(){};var Rc=Me("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var ne=Xs.apply(null,arguments);return this.isValid()&&ne.isValid()?ne<this?this:ne:pe()}),Zl=Me("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var ne=Xs.apply(null,arguments);return this.isValid()&&ne.isValid()?ne>this?this:ne:pe()});function qc(ne,De){var vt,Lt;if(1===De.length&&c(De[0])&&(De=De[0]),!De.length)return Xs();for(vt=De[0],Lt=1;Lt<De.length;++Lt)(!De[Lt].isValid()||De[Lt][ne](vt))&&(vt=De[Lt]);return vt}var eu=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ll(ne){var De=so(ne),vt=De.year||0,Lt=De.quarter||0,Tn=De.month||0,Yr=De.week||De.isoWeek||0,zi=De.day||0,Vs=De.hour||0,ol=De.minute||0,Va=De.second||0,pc=De.millisecond||0;this._isValid=function Cu(ne){var De,Lt,vt=!1,Tn=eu.length;for(De in ne)if(f(ne,De)&&(-1===Wi.call(eu,De)||null!=ne[De]&&isNaN(ne[De])))return!1;for(Lt=0;Lt<Tn;++Lt)if(ne[eu[Lt]]){if(vt)return!1;parseFloat(ne[eu[Lt]])!==Pr(ne[eu[Lt]])&&(vt=!0)}return!0}(De),this._milliseconds=+pc+1e3*Va+6e4*ol+1e3*Vs*60*60,this._days=+zi+7*Yr,this._months=+Tn+3*Lt+12*vt,this._data={},this._locale=gl(),this._bubble()}function rl(ne){return ne instanceof Ll}function qa(ne){return ne<0?-1*Math.round(-1*ne):Math.round(ne)}function Ce(ne,De){Xt(ne,0,0,function(){var vt=this.utcOffset(),Lt="+";return vt<0&&(vt=-vt,Lt="-"),Lt+en(~~(vt/60),2)+De+en(~~vt%60,2)})}Ce("Z",":"),Ce("ZZ",""),dr("Z",yr),dr("ZZ",yr),zt(["Z","ZZ"],function(ne,De,vt){vt._useUTC=!0,vt._tzm=Ke(yr,ne)});var gt=/([\+\-]|\d\d)/gi;function Ke(ne,De){var Tn,Yr,vt=(De||"").match(ne);return null===vt?null:0===(Yr=60*(Tn=((vt[vt.length-1]||[])+"").match(gt)||["-",0,0])[1]+Pr(Tn[2]))?0:"+"===Tn[0]?Yr:-Yr}function Gt(ne,De){var vt,Lt;return De._isUTC?(vt=De.clone(),Lt=(Oe(ne)||D(ne)?ne.valueOf():Xs(ne).valueOf())-vt.valueOf(),vt._d.setTime(vt._d.valueOf()+Lt),a.updateOffset(vt,!1),vt):Xs(ne).local()}function xn(ne){return-Math.round(ne._d.getTimezoneOffset())}function ce(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var Le=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Be=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Bt(ne,De){var Tn,Yr,zi,vt=ne,Lt=null;return rl(ne)?vt={ms:ne._milliseconds,d:ne._days,M:ne._months}:T(ne)||!isNaN(+ne)?(vt={},De?vt[De]=+ne:vt.milliseconds=+ne):(Lt=Le.exec(ne))?(Tn="-"===Lt[1]?-1:1,vt={y:0,d:Pr(Lt[Jo])*Tn,h:Pr(Lt[os])*Tn,m:Pr(Lt[hr])*Tn,s:Pr(Lt[Ii])*Tn,ms:Pr(qa(1e3*Lt[ni]))*Tn}):(Lt=Be.exec(ne))?vt={y:Kt(Lt[2],Tn="-"===Lt[1]?-1:1),M:Kt(Lt[3],Tn),w:Kt(Lt[4],Tn),d:Kt(Lt[5],Tn),h:Kt(Lt[6],Tn),m:Kt(Lt[7],Tn),s:Kt(Lt[8],Tn)}:null==vt?vt={}:"object"==typeof vt&&("from"in vt||"to"in vt)&&(zi=function sr(ne,De){var vt;return ne.isValid()&&De.isValid()?(De=Gt(De,ne),ne.isBefore(De)?vt=Bn(ne,De):((vt=Bn(De,ne)).milliseconds=-vt.milliseconds,vt.months=-vt.months),vt):{milliseconds:0,months:0}}(Xs(vt.from),Xs(vt.to)),(vt={}).ms=zi.milliseconds,vt.M=zi.months),Yr=new Ll(vt),rl(ne)&&f(ne,"_locale")&&(Yr._locale=ne._locale),rl(ne)&&f(ne,"_isValid")&&(Yr._isValid=ne._isValid),Yr}function Kt(ne,De){var vt=ne&&parseFloat(ne.replace(",","."));return(isNaN(vt)?0:vt)*De}function Bn(ne,De){var vt={};return vt.months=De.month()-ne.month()+12*(De.year()-ne.year()),ne.clone().add(vt.months,"M").isAfter(De)&&--vt.months,vt.milliseconds=+De-+ne.clone().add(vt.months,"M"),vt}function xr(ne,De){return function(vt,Lt){var Yr;return null!==Lt&&!isNaN(+Lt)&&(et(De,"moment()."+De+"(period, number) is deprecated. Please use moment()."+De+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),Yr=vt,vt=Lt,Lt=Yr),fi(this,Bt(vt,Lt),ne),this}}function fi(ne,De,vt,Lt){var Tn=De._milliseconds,Yr=qa(De._days),zi=qa(De._months);ne.isValid()&&(Lt=Lt??!0,zi&&Ss(ne,cs(ne,"Month")+zi*vt),Yr&&ts(ne,"Date",cs(ne,"Date")+Yr*vt),Tn&&ne._d.setTime(ne._d.valueOf()+Tn*vt),Lt&&a.updateOffset(ne,Yr||zi))}Bt.fn=Ll.prototype,Bt.invalid=function tu(){return Bt(NaN)};var Xi=xr(1,"add"),So=xr(-1,"subtract");function Ms(ne){return"string"==typeof ne||ne instanceof String}function Hs(ne){return Oe(ne)||D(ne)||Ms(ne)||T(ne)||function Ma(ne){var De=c(ne),vt=!1;return De&&(vt=0===ne.filter(function(Lt){return!T(Lt)&&Ms(ne)}).length),De&&vt}(ne)||function us(ne){var Tn,De=e(ne)&&!h(ne),vt=!1,Lt=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],zi=Lt.length;for(Tn=0;Tn<zi;Tn+=1)vt=vt||f(ne,Lt[Tn]);return De&&vt}(ne)||null==ne}function ks(ne,De){if(ne.date()<De.date())return-ks(De,ne);var vt=12*(De.year()-ne.year())+(De.month()-ne.month()),Lt=ne.clone().add(vt,"months");return-(vt+(De-Lt<0?(De-Lt)/(Lt-ne.clone().add(vt-1,"months")):(De-Lt)/(ne.clone().add(vt+1,"months")-Lt)))||0}function Fe(ne){var De;return void 0===ne?this._locale._abbr:(null!=(De=gl(ne))&&(this._locale=De),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var je=Me("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(ne){return void 0===ne?this.localeData():this.locale(ne)});function lt(){return this._locale}var Vt=1e3,Ht=60*Vt,wn=60*Ht,ar=3506328*wn;function cr(ne,De){return(ne%De+De)%De}function _i(ne,De,vt){return ne<100&&ne>=0?new Date(ne+400,De,vt)-ar:new Date(ne,De,vt).valueOf()}function ao(ne,De,vt){return ne<100&&ne>=0?Date.UTC(ne+400,De,vt)-ar:Date.UTC(ne,De,vt)}function fl(ne,De){return De.erasAbbrRegex(ne)}function dd(){var Tn,Yr,ne=[],De=[],vt=[],Lt=[],zi=this.eras();for(Tn=0,Yr=zi.length;Tn<Yr;++Tn)De.push(kt(zi[Tn].name)),ne.push(kt(zi[Tn].abbr)),vt.push(kt(zi[Tn].narrow)),Lt.push(kt(zi[Tn].name)),Lt.push(kt(zi[Tn].abbr)),Lt.push(kt(zi[Tn].narrow));this._erasRegex=new RegExp("^("+Lt.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+De.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+ne.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+vt.join("|")+")","i")}function fu(ne,De){Xt(0,[ne,ne.length],0,De)}function ap(ne,De,vt,Lt,Tn){var Yr;return null==ne?Pl(this,Lt,Tn).year:(De>(Yr=Eo(ne,Lt,Tn))&&(De=Yr),ua.call(this,ne,De,vt,Lt,Tn))}function ua(ne,De,vt,Lt,Tn){var Yr=Ga(ne,De,vt,Lt,Tn),zi=tl(Yr.year,0,Yr.dayOfYear);return this.year(zi.getUTCFullYear()),this.month(zi.getUTCMonth()),this.date(zi.getUTCDate()),this}Xt("N",0,0,"eraAbbr"),Xt("NN",0,0,"eraAbbr"),Xt("NNN",0,0,"eraAbbr"),Xt("NNNN",0,0,"eraName"),Xt("NNNNN",0,0,"eraNarrow"),Xt("y",["y",1],"yo","eraYear"),Xt("y",["yy",2],0,"eraYear"),Xt("y",["yyy",3],0,"eraYear"),Xt("y",["yyyy",4],0,"eraYear"),dr("N",fl),dr("NN",fl),dr("NNN",fl),dr("NNNN",function pl(ne,De){return De.erasNameRegex(ne)}),dr("NNNNN",function Ed(ne,De){return De.erasNarrowRegex(ne)}),zt(["N","NN","NNN","NNNN","NNNNN"],function(ne,De,vt,Lt){var Tn=vt._locale.erasParse(ne,Lt,vt._strict);Tn?q(vt).era=Tn:q(vt).invalidEra=ne}),dr("y",tr),dr("yy",tr),dr("yyy",tr),dr("yyyy",tr),dr("yo",function ju(ne,De){return De._eraYearOrdinalRegex||tr}),zt(["y","yy","yyy","yyyy"],mi),zt(["yo"],function(ne,De,vt,Lt){var Tn;vt._locale._eraYearOrdinalRegex&&(Tn=ne.match(vt._locale._eraYearOrdinalRegex)),De[mi]=vt._locale.eraYearOrdinalParse?vt._locale.eraYearOrdinalParse(ne,Tn):parseInt(ne,10)}),Xt(0,["gg",2],0,function(){return this.weekYear()%100}),Xt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),fu("gggg","weekYear"),fu("ggggg","weekYear"),fu("GGGG","isoWeekYear"),fu("GGGGG","isoWeekYear"),Lr("weekYear","gg"),Lr("isoWeekYear","GG"),Xr("weekYear",1),Xr("isoWeekYear",1),dr("G",vr),dr("g",vr),dr("GG",Qe,Nn),dr("gg",Qe,Nn),dr("GGGG",xt,ke),dr("gggg",xt,ke),dr("GGGGG",qt,Ie),dr("ggggg",qt,Ie),er(["gggg","ggggg","GGGG","GGGGG"],function(ne,De,vt,Lt){De[Lt.substr(0,2)]=Pr(ne)}),er(["gg","GG"],function(ne,De,vt,Lt){De[Lt]=a.parseTwoDigitYear(ne)}),Xt("Q",0,"Qo","quarter"),Lr("quarter","Q"),Xr("quarter",7),dr("Q",Pn),zt("Q",function(ne,De){De[gi]=3*(Pr(ne)-1)}),Xt("D",["DD",2],"Do","date"),Lr("date","D"),Xr("date",9),dr("D",Qe),dr("DD",Qe,Nn),dr("Do",function(ne,De){return ne?De._dayOfMonthOrdinalParse||De._ordinalParse:De._dayOfMonthOrdinalParseLenient}),zt(["D","DD"],Jo),zt("Do",function(ne,De){De[Jo]=Pr(ne.match(Qe)[0])});var Bu=Bo("Date",!0);Xt("DDD",["DDDD",3],"DDDo","dayOfYear"),Lr("dayOfYear","DDD"),Xr("dayOfYear",4),dr("DDD",ot),dr("DDDD",Ut),zt(["DDD","DDDD"],function(ne,De,vt){vt._dayOfYear=Pr(ne)}),Xt("m",["mm",2],0,"minute"),Lr("minute","m"),Xr("minute",14),dr("m",Qe),dr("mm",Qe,Nn),zt(["m","mm"],hr);var lc=Bo("Minutes",!1);Xt("s",["ss",2],0,"second"),Lr("second","s"),Xr("second",15),dr("s",Qe),dr("ss",Qe,Nn),zt(["s","ss"],Ii);var pu,cp,zo=Bo("Seconds",!1);for(Xt("S",0,0,function(){return~~(this.millisecond()/100)}),Xt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Xt(0,["SSS",3],0,"millisecond"),Xt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Xt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Xt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Xt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Xt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Xt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Lr("millisecond","ms"),Xr("millisecond",16),dr("S",ot,Pn),dr("SS",ot,Nn),dr("SSS",ot,Ut),pu="SSSS";pu.length<=9;pu+="S")dr(pu,tr);function fc(ne,De){De[ni]=Pr(1e3*("0."+ne))}for(pu="S";pu.length<=9;pu+="S")zt(pu,fc);cp=Bo("Milliseconds",!1),Xt("z",0,0,"zoneAbbr"),Xt("zz",0,0,"zoneName");var $o=me.prototype;function ve(ne){return ne}$o.add=Xi,$o.calendar=function Dt(ne,De){1===arguments.length&&(arguments[0]?Hs(arguments[0])?(ne=arguments[0],De=void 0):function ss(ne){var Tn,De=e(ne)&&!h(ne),vt=!1,Lt=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(Tn=0;Tn<Lt.length;Tn+=1)vt=vt||f(ne,Lt[Tn]);return De&&vt}(arguments[0])&&(De=arguments[0],ne=void 0):(ne=void 0,De=void 0));var vt=ne||Xs(),Lt=Gt(vt,this).startOf("day"),Tn=a.calendarFormat(this,Lt)||"sameElse",Yr=De&&(tt(De[Tn])?De[Tn].call(this,vt):De[Tn]);return this.format(Yr||this.localeData().calendar(Tn,this,Xs(vt)))},$o.clone=function Xe(){return new me(this)},$o.diff=function oa(ne,De,vt){var Lt,Tn,Yr;if(!this.isValid())return NaN;if(!(Lt=Gt(ne,this)).isValid())return NaN;switch(Tn=6e4*(Lt.utcOffset()-this.utcOffset()),De=Fi(De)){case"year":Yr=ks(this,Lt)/12;break;case"month":Yr=ks(this,Lt);break;case"quarter":Yr=ks(this,Lt)/3;break;case"second":Yr=(this-Lt)/1e3;break;case"minute":Yr=(this-Lt)/6e4;break;case"hour":Yr=(this-Lt)/36e5;break;case"day":Yr=(this-Lt-Tn)/864e5;break;case"week":Yr=(this-Lt-Tn)/6048e5;break;default:Yr=this-Lt}return vt?Yr:jr(Yr)},$o.endOf=function Wo(ne){var De,vt;if(void 0===(ne=Fi(ne))||"millisecond"===ne||!this.isValid())return this;switch(vt=this._isUTC?ao:_i,ne){case"year":De=vt(this.year()+1,0,1)-1;break;case"quarter":De=vt(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":De=vt(this.year(),this.month()+1,1)-1;break;case"week":De=vt(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":De=vt(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":De=vt(this.year(),this.month(),this.date()+1)-1;break;case"hour":De=this._d.valueOf(),De+=wn-cr(De+(this._isUTC?0:this.utcOffset()*Ht),wn)-1;break;case"minute":De=this._d.valueOf(),De+=Ht-cr(De,Ht)-1;break;case"second":De=this._d.valueOf(),De+=Vt-cr(De,Vt)-1}return this._d.setTime(De),a.updateOffset(this,!0),this},$o.format=function Ea(ne){ne||(ne=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var De=kn(this,ne);return this.localeData().postformat(De)},$o.from=function ac(ne,De){return this.isValid()&&(Oe(ne)&&ne.isValid()||Xs(ne).isValid())?Bt({to:this,from:ne}).locale(this.locale()).humanize(!De):this.localeData().invalidDate()},$o.fromNow=function Bc(ne){return this.from(Xs(),ne)},$o.to=function _e(ne,De){return this.isValid()&&(Oe(ne)&&ne.isValid()||Xs(ne).isValid())?Bt({from:this,to:ne}).locale(this.locale()).humanize(!De):this.localeData().invalidDate()},$o.toNow=function de(ne){return this.to(Xs(),ne)},$o.get=function io(ne){return tt(this[ne=Fi(ne)])?this[ne]():this},$o.invalidAt=function Iu(){return q(this).overflow},$o.isAfter=function rn(ne,De){var vt=Oe(ne)?ne:Xs(ne);return!(!this.isValid()||!vt.isValid())&&("millisecond"===(De=Fi(De)||"millisecond")?this.valueOf()>vt.valueOf():vt.valueOf()<this.clone().startOf(De).valueOf())},$o.isBefore=function zn(ne,De){var vt=Oe(ne)?ne:Xs(ne);return!(!this.isValid()||!vt.isValid())&&("millisecond"===(De=Fi(De)||"millisecond")?this.valueOf()<vt.valueOf():this.clone().endOf(De).valueOf()<vt.valueOf())},$o.isBetween=function ii(ne,De,vt,Lt){var Tn=Oe(ne)?ne:Xs(ne),Yr=Oe(De)?De:Xs(De);return!!(this.isValid()&&Tn.isValid()&&Yr.isValid())&&("("===(Lt=Lt||"()")[0]?this.isAfter(Tn,vt):!this.isBefore(Tn,vt))&&(")"===Lt[1]?this.isBefore(Yr,vt):!this.isAfter(Yr,vt))},$o.isSame=function Ai(ne,De){var Lt,vt=Oe(ne)?ne:Xs(ne);return!(!this.isValid()||!vt.isValid())&&("millisecond"===(De=Fi(De)||"millisecond")?this.valueOf()===vt.valueOf():(Lt=vt.valueOf(),this.clone().startOf(De).valueOf()<=Lt&&Lt<=this.clone().endOf(De).valueOf()))},$o.isSameOrAfter=function qo(ne,De){return this.isSame(ne,De)||this.isAfter(ne,De)},$o.isSameOrBefore=function as(ne,De){return this.isSame(ne,De)||this.isBefore(ne,De)},$o.isValid=function uu(){return J(this)},$o.lang=je,$o.locale=Fe,$o.localeData=lt,$o.max=Zl,$o.min=Rc,$o.parsingFlags=function tc(){return $({},q(this))},$o.set=function Vi(ne,De){if("object"==typeof ne){var Lt,vt=function Ni(ne){var vt,De=[];for(vt in ne)f(ne,vt)&&De.push({unit:vt,priority:Vo[vt]});return De.sort(function(Lt,Tn){return Lt.priority-Tn.priority}),De}(ne=so(ne)),Tn=vt.length;for(Lt=0;Lt<Tn;Lt++)this[vt[Lt].unit](ne[vt[Lt].unit])}else if(tt(this[ne=Fi(ne)]))return this[ne](De);return this},$o.startOf=function gs(ne){var De,vt;if(void 0===(ne=Fi(ne))||"millisecond"===ne||!this.isValid())return this;switch(vt=this._isUTC?ao:_i,ne){case"year":De=vt(this.year(),0,1);break;case"quarter":De=vt(this.year(),this.month()-this.month()%3,1);break;case"month":De=vt(this.year(),this.month(),1);break;case"week":De=vt(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":De=vt(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":De=vt(this.year(),this.month(),this.date());break;case"hour":De=this._d.valueOf(),De-=cr(De+(this._isUTC?0:this.utcOffset()*Ht),wn);break;case"minute":De=this._d.valueOf(),De-=cr(De,Ht);break;case"second":De=this._d.valueOf(),De-=cr(De,Vt)}return this._d.setTime(De),a.updateOffset(this,!0),this},$o.subtract=So,$o.toArray=function Tu(){var ne=this;return[ne.year(),ne.month(),ne.date(),ne.hour(),ne.minute(),ne.second(),ne.millisecond()]},$o.toObject=function nu(){var ne=this;return{years:ne.year(),months:ne.month(),date:ne.date(),hours:ne.hours(),minutes:ne.minutes(),seconds:ne.seconds(),milliseconds:ne.milliseconds()}},$o.toDate=function dc(){return new Date(this.valueOf())},$o.toISOString=function Bl(ne){if(!this.isValid())return null;var De=!0!==ne,vt=De?this.clone().utc():this;return vt.year()<0||vt.year()>9999?kn(vt,De?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):tt(Date.prototype.toISOString)?De?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",kn(vt,"Z")):kn(vt,De?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},$o.inspect=function ja(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var vt,Lt,ne="moment",De="";return this.isLocal()||(ne=0===this.utcOffset()?"moment.utc":"moment.parseZone",De="Z"),vt="["+ne+'("]',Lt=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(vt+Lt+"-MM-DD[T]HH:mm:ss.SSS"+De+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&($o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),$o.toJSON=function fa(){return this.isValid()?this.toISOString():null},$o.toString=function Ds(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},$o.unix=function Pa(){return Math.floor(this.valueOf()/1e3)},$o.valueOf=function Qs(){return this._d.valueOf()-6e4*(this._offset||0)},$o.creationData=function Ol(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},$o.eraName=function xl(){var ne,De,vt,Lt=this.localeData().eras();for(ne=0,De=Lt.length;ne<De;++ne)if(vt=this.clone().startOf("day").valueOf(),Lt[ne].since<=vt&&vt<=Lt[ne].until||Lt[ne].until<=vt&&vt<=Lt[ne].since)return Lt[ne].name;return""},$o.eraNarrow=function Gc(){var ne,De,vt,Lt=this.localeData().eras();for(ne=0,De=Lt.length;ne<De;++ne)if(vt=this.clone().startOf("day").valueOf(),Lt[ne].since<=vt&&vt<=Lt[ne].until||Lt[ne].until<=vt&&vt<=Lt[ne].since)return Lt[ne].narrow;return""},$o.eraAbbr=function xa(){var ne,De,vt,Lt=this.localeData().eras();for(ne=0,De=Lt.length;ne<De;++ne)if(vt=this.clone().startOf("day").valueOf(),Lt[ne].since<=vt&&vt<=Lt[ne].until||Lt[ne].until<=vt&&vt<=Lt[ne].since)return Lt[ne].abbr;return""},$o.eraYear=function iu(){var ne,De,vt,Lt,Tn=this.localeData().eras();for(ne=0,De=Tn.length;ne<De;++ne)if(vt=Tn[ne].since<=Tn[ne].until?1:-1,Lt=this.clone().startOf("day").valueOf(),Tn[ne].since<=Lt&&Lt<=Tn[ne].until||Tn[ne].until<=Lt&&Lt<=Tn[ne].since)return(this.year()-a(Tn[ne].since).year())*vt+Tn[ne].offset;return this.year()},$o.year=Do,$o.isLeapYear=function oc(){return ji(this.year())},$o.weekYear=function fd(ne){return ap.call(this,ne,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},$o.isoWeekYear=function Sd(ne){return ap.call(this,ne,this.isoWeek(),this.isoWeekday(),1,4)},$o.quarter=$o.quarters=function lp(ne){return null==ne?Math.ceil((this.month()+1)/3):this.month(3*(ne-1)+this.month()%3)},$o.month=bs,$o.daysInMonth=function ko(){return Mo(this.year(),this.month())},$o.week=$o.weeks=function nl(ne){var De=this.localeData().week(this);return null==ne?De:this.add(7*(ne-De),"d")},$o.isoWeek=$o.isoWeeks=function ml(ne){var De=Pl(this,1,4).week;return null==ne?De:this.add(7*(ne-De),"d")},$o.weeksInYear=function nc(){var ne=this.localeData()._week;return Eo(this.year(),ne.dow,ne.doy)},$o.weeksInWeekYear=function Qu(){var ne=this.localeData()._week;return Eo(this.weekYear(),ne.dow,ne.doy)},$o.isoWeeksInYear=function Cd(){return Eo(this.year(),1,4)},$o.isoWeeksInISOWeekYear=function xp(){return Eo(this.isoWeekYear(),1,4)},$o.date=Bu,$o.day=$o.days=function Ei(ne){if(!this.isValid())return null!=ne?this:NaN;var De=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=ne?(ne=function ma(ne,De){return"string"!=typeof ne?ne:isNaN(ne)?"number"==typeof(ne=De.weekdaysParse(ne))?ne:null:parseInt(ne,10)}(ne,this.localeData()),this.add(ne-De,"d")):De},$o.weekday=function Ui(ne){if(!this.isValid())return null!=ne?this:NaN;var De=(this.day()+7-this.localeData()._week.dow)%7;return null==ne?De:this.add(ne-De,"d")},$o.isoWeekday=function eo(ne){if(!this.isValid())return null!=ne?this:NaN;if(null!=ne){var De=function Qo(ne,De){return"string"==typeof ne?De.weekdaysParse(ne)%7||7:isNaN(ne)?null:ne}(ne,this.localeData());return this.day(this.day()%7?De:De-7)}return this.day()||7},$o.dayOfYear=function jd(ne){var De=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==ne?De:this.add(ne-De,"d")},$o.hour=$o.hours=Ou,$o.minute=$o.minutes=lc,$o.second=$o.seconds=zo,$o.millisecond=$o.milliseconds=cp,$o.utcOffset=function lr(ne,De,vt){var Tn,Lt=this._offset||0;if(!this.isValid())return null!=ne?this:NaN;if(null!=ne){if("string"==typeof ne){if(null===(ne=Ke(yr,ne)))return this}else Math.abs(ne)<16&&!vt&&(ne*=60);return!this._isUTC&&De&&(Tn=xn(this)),this._offset=ne,this._isUTC=!0,null!=Tn&&this.add(Tn,"m"),Lt!==ne&&(!De||this._changeInProgress?fi(this,Bt(ne-Lt,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?Lt:xn(this)},$o.utc=function Oi(ne){return this.utcOffset(0,ne)},$o.local=function ai(ne){return this._isUTC&&(this.utcOffset(0,ne),this._isUTC=!1,ne&&this.subtract(xn(this),"m")),this},$o.parseZone=function Dr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var ne=Ke(An,this._i);null!=ne?this.utcOffset(ne):this.utcOffset(0,!0)}return this},$o.hasAlignedHourOffset=function ei(ne){return!!this.isValid()&&(ne=ne?Xs(ne).utcOffset():0,(this.utcOffset()-ne)%60==0)},$o.isDST=function Yo(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},$o.isLocal=function zr(){return!!this.isValid()&&!this._isUTC},$o.isUtcOffset=function Gr(){return!!this.isValid()&&this._isUTC},$o.isUtc=ce,$o.isUTC=ce,$o.zoneAbbr=function Zd(){return this._isUTC?"UTC":""},$o.zoneName=function Ru(){return this._isUTC?"Coordinated Universal Time":""},$o.dates=Me("dates accessor is deprecated. Use date instead.",Bu),$o.months=Me("months accessor is deprecated. Use month instead",bs),$o.years=Me("years accessor is deprecated. Use year instead",Do),$o.zone=Me("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Fr(ne,De){return null!=ne?("string"!=typeof ne&&(ne=-ne),this.utcOffset(ne,De),this):-this.utcOffset()}),$o.isDSTShifted=Me("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Kn(){if(!E(this._isDSTShifted))return this._isDSTShifted;var De,ne={};return ie(ne,this),(ne=Ya(ne))._a?(De=ne._isUTC?Q(ne._a):Xs(ne._a),this._isDSTShifted=this.isValid()&&function X(ne,De,vt){var zi,Lt=Math.min(ne.length,De.length),Tn=Math.abs(ne.length-De.length),Yr=0;for(zi=0;zi<Lt;zi++)(vt&&ne[zi]!==De[zi]||!vt&&Pr(ne[zi])!==Pr(De[zi]))&&Yr++;return Yr+Tn}(ne._a,De.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var Ze=bt.prototype;function Ot(ne,De,vt,Lt){var Tn=gl(),Yr=Q().set(Lt,De);return Tn[vt](Yr,ne)}function fn(ne,De,vt){if(T(ne)&&(De=ne,ne=void 0),ne=ne||"",null!=De)return Ot(ne,De,vt,"month");var Lt,Tn=[];for(Lt=0;Lt<12;Lt++)Tn[Lt]=Ot(ne,Lt,vt,"month");return Tn}function k(ne,De,vt,Lt){"boolean"==typeof ne?(T(De)&&(vt=De,De=void 0),De=De||""):(vt=De=ne,ne=!1,T(De)&&(vt=De,De=void 0),De=De||"");var zi,Tn=gl(),Yr=ne?Tn._week.dow:0,Vs=[];if(null!=vt)return Ot(De,(vt+Yr)%7,Lt,"day");for(zi=0;zi<7;zi++)Vs[zi]=Ot(De,(zi+Yr)%7,Lt,"day");return Vs}Ze.calendar=function ht(ne,De,vt){var Lt=this._calendar[ne]||this._calendar.sameElse;return tt(Lt)?Lt.call(De,vt):Lt},Ze.longDateFormat=function wr(ne){var De=this._longDateFormat[ne],vt=this._longDateFormat[ne.toUpperCase()];return De||!vt?De:(this._longDateFormat[ne]=vt.match(nn).map(function(Lt){return"MMMM"===Lt||"MM"===Lt||"DD"===Lt||"dddd"===Lt?Lt.slice(1):Lt}).join(""),this._longDateFormat[ne])},Ze.invalidDate=function oi(){return this._invalidDate},Ze.ordinal=function ft(ne){return this._ordinal.replace("%d",ne)},Ze.preparse=ve,Ze.postformat=ve,Ze.relativeTime=function At(ne,De,vt,Lt){var Tn=this._relativeTime[vt];return tt(Tn)?Tn(ne,De,vt,Lt):Tn.replace(/%d/i,ne)},Ze.pastFuture=function Ln(ne,De){var vt=this._relativeTime[ne>0?"future":"past"];return tt(vt)?vt(De):vt.replace(/%s/i,De)},Ze.set=function Et(ne){var De,vt;for(vt in ne)f(ne,vt)&&(tt(De=ne[vt])?this[vt]=De:this["_"+vt]=De);this._config=ne,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Ze.eras=function il(ne,De){var vt,Lt,Tn,Yr=this._eras||gl("en")._eras;for(vt=0,Lt=Yr.length;vt<Lt;++vt)switch("string"==typeof Yr[vt].since&&(Tn=a(Yr[vt].since).startOf("day"),Yr[vt].since=Tn.valueOf()),typeof Yr[vt].until){case"undefined":Yr[vt].until=1/0;break;case"string":Tn=a(Yr[vt].until).startOf("day").valueOf(),Yr[vt].until=Tn.valueOf()}return Yr},Ze.erasParse=function du(ne,De,vt){var Lt,Tn,zi,Vs,ol,Yr=this.eras();for(ne=ne.toUpperCase(),Lt=0,Tn=Yr.length;Lt<Tn;++Lt)if(zi=Yr[Lt].name.toUpperCase(),Vs=Yr[Lt].abbr.toUpperCase(),ol=Yr[Lt].narrow.toUpperCase(),vt)switch(De){case"N":case"NN":case"NNN":if(Vs===ne)return Yr[Lt];break;case"NNNN":if(zi===ne)return Yr[Lt];break;case"NNNNN":if(ol===ne)return Yr[Lt]}else if([zi,Vs,ol].indexOf(ne)>=0)return Yr[Lt]},Ze.erasConvertYear=function Al(ne,De){var vt=ne.since<=ne.until?1:-1;return void 0===De?a(ne.since).year():a(ne.since).year()+(De-ne.offset)*vt},Ze.erasAbbrRegex=function Pc(ne){return f(this,"_erasAbbrRegex")||dd.call(this),ne?this._erasAbbrRegex:this._erasRegex},Ze.erasNameRegex=function En(ne){return f(this,"_erasNameRegex")||dd.call(this),ne?this._erasNameRegex:this._erasRegex},Ze.erasNarrowRegex=function Du(ne){return f(this,"_erasNarrowRegex")||dd.call(this),ne?this._erasNarrowRegex:this._erasRegex},Ze.months=function mn(ne,De){return ne?c(this._months)?this._months[ne.month()]:this._months[(this._months.isFormat||qr).test(De)?"format":"standalone"][ne.month()]:c(this._months)?this._months:this._months.standalone},Ze.monthsShort=function kr(ne,De){return ne?c(this._monthsShort)?this._monthsShort[ne.month()]:this._monthsShort[qr.test(De)?"format":"standalone"][ne.month()]:c(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ze.monthsParse=function xo(ne,De,vt){var Lt,Tn,Yr;if(this._monthsParseExact)return Qi.call(this,ne,De,vt);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),Lt=0;Lt<12;Lt++){if(Tn=Q([2e3,Lt]),vt&&!this._longMonthsParse[Lt]&&(this._longMonthsParse[Lt]=new RegExp("^"+this.months(Tn,"").replace(".","")+"$","i"),this._shortMonthsParse[Lt]=new RegExp("^"+this.monthsShort(Tn,"").replace(".","")+"$","i")),!vt&&!this._monthsParse[Lt]&&(Yr="^"+this.months(Tn,"")+"|^"+this.monthsShort(Tn,""),this._monthsParse[Lt]=new RegExp(Yr.replace(".",""),"i")),vt&&"MMMM"===De&&this._longMonthsParse[Lt].test(ne))return Lt;if(vt&&"MMM"===De&&this._shortMonthsParse[Lt].test(ne))return Lt;if(!vt&&this._monthsParse[Lt].test(ne))return Lt}},Ze.monthsRegex=function ps(ne){return this._monthsParseExact?(f(this,"_monthsRegex")||Ys.call(this),ne?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Cn),this._monthsStrictRegex&&ne?this._monthsStrictRegex:this._monthsRegex)},Ze.monthsShortRegex=function $s(ne){return this._monthsParseExact?(f(this,"_monthsRegex")||Ys.call(this),ne?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=$r),this._monthsShortStrictRegex&&ne?this._monthsShortStrictRegex:this._monthsShortRegex)},Ze.week=function Ra(ne){return Pl(ne,this._week.dow,this._week.doy).week},Ze.firstDayOfYear=function Ks(){return this._week.doy},Ze.firstDayOfWeek=function Cs(){return this._week.dow},Ze.weekdays=function On(ne,De){var vt=c(this._weekdays)?this._weekdays:this._weekdays[ne&&!0!==ne&&this._weekdays.isFormat.test(De)?"format":"standalone"];return!0===ne?Go(vt,this._week.dow):ne?vt[ne.day()]:vt},Ze.weekdaysMin=function We(ne){return!0===ne?Go(this._weekdaysMin,this._week.dow):ne?this._weekdaysMin[ne.day()]:this._weekdaysMin},Ze.weekdaysShort=function ae(ne){return!0===ne?Go(this._weekdaysShort,this._week.dow):ne?this._weekdaysShort[ne.day()]:this._weekdaysShort},Ze.weekdaysParse=function yn(ne,De,vt){var Lt,Tn,Yr;if(this._weekdaysParseExact)return on.call(this,ne,De,vt);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),Lt=0;Lt<7;Lt++){if(Tn=Q([2e3,1]).day(Lt),vt&&!this._fullWeekdaysParse[Lt]&&(this._fullWeekdaysParse[Lt]=new RegExp("^"+this.weekdays(Tn,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[Lt]=new RegExp("^"+this.weekdaysShort(Tn,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[Lt]=new RegExp("^"+this.weekdaysMin(Tn,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[Lt]||(Yr="^"+this.weekdays(Tn,"")+"|^"+this.weekdaysShort(Tn,"")+"|^"+this.weekdaysMin(Tn,""),this._weekdaysParse[Lt]=new RegExp(Yr.replace(".",""),"i")),vt&&"dddd"===De&&this._fullWeekdaysParse[Lt].test(ne))return Lt;if(vt&&"ddd"===De&&this._shortWeekdaysParse[Lt].test(ne))return Lt;if(vt&&"dd"===De&&this._minWeekdaysParse[Lt].test(ne))return Lt;if(!vt&&this._weekdaysParse[Lt].test(ne))return Lt}},Ze.weekdaysRegex=function js(ne){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||ta.call(this),ne?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Br),this._weekdaysStrictRegex&&ne?this._weekdaysStrictRegex:this._weekdaysRegex)},Ze.weekdaysShortRegex=function hs(ne){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||ta.call(this),ne?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qi),this._weekdaysShortStrictRegex&&ne?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ze.weekdaysMinRegex=function ia(ne){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||ta.call(this),ne?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=_t),this._weekdaysMinStrictRegex&&ne?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ze.isPM=function ru(ne){return"p"===(ne+"").toLowerCase().charAt(0)},Ze.meridiem=function Za(ne,De,vt){return ne>11?vt?"pm":"PM":vt?"am":"AM"},Tc("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(ne){var De=ne%10;return ne+(1===Pr(ne%100/10)?"th":1===De?"st":2===De?"nd":3===De?"rd":"th")}}),a.lang=Me("moment.lang is deprecated. Use moment.locale instead.",Tc),a.langData=Me("moment.langData is deprecated. Use moment.localeData instead.",gl);var he=Math.abs;function $e(ne,De,vt,Lt){var Tn=Bt(De,vt);return ne._milliseconds+=Lt*Tn._milliseconds,ne._days+=Lt*Tn._days,ne._months+=Lt*Tn._months,ne._bubble()}function pn(ne){return ne<0?Math.floor(ne):Math.ceil(ne)}function Zn(ne){return 4800*ne/146097}function or(ne){return 146097*ne/4800}function Zi(ne){return function(){return this.as(ne)}}var $i=Zi("ms"),Co=Zi("s"),Ho=Zi("m"),co=Zi("h"),vo=Zi("d"),ms=Zi("w"),ds=Zi("M"),Ts=Zi("Q"),el=Zi("y");function vc(ne){return function(){return this.isValid()?this._data[ne]:NaN}}var Gu=vc("milliseconds"),wl=vc("seconds"),Yc=vc("minutes"),Nl=vc("hours"),_u=vc("days"),jc=vc("months"),rd=vc("years");var Pu=Math.round,Ku={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Td(ne,De,vt,Lt,Tn){return Tn.relativeTime(De||1,!!vt,ne,Lt)}var Ld=Math.abs;function Xu(ne){return(ne>0)-(ne<0)||+ne}function Gf(){if(!this.isValid())return this.localeData().invalidDate();var Lt,Tn,Yr,zi,ol,Va,pc,ou,ne=Ld(this._milliseconds)/1e3,De=Ld(this._days),vt=Ld(this._months),Vs=this.asSeconds();return Vs?(Lt=jr(ne/60),Tn=jr(Lt/60),ne%=60,Lt%=60,Yr=jr(vt/12),vt%=12,zi=ne?ne.toFixed(3).replace(/\.?0+$/,""):"",ol=Vs<0?"-":"",Va=Xu(this._months)!==Xu(Vs)?"-":"",pc=Xu(this._days)!==Xu(Vs)?"-":"",ou=Xu(this._milliseconds)!==Xu(Vs)?"-":"",ol+"P"+(Yr?Va+Yr+"Y":"")+(vt?Va+vt+"M":"")+(De?pc+De+"D":"")+(Tn||Lt||ne?"T":"")+(Tn?ou+Tn+"H":"")+(Lt?ou+Lt+"M":"")+(ne?ou+zi+"S":"")):"P0D"}var Kl=Ll.prototype;return Kl.isValid=function uc(){return this._isValid},Kl.abs=function Te(){var ne=this._data;return this._milliseconds=he(this._milliseconds),this._days=he(this._days),this._months=he(this._months),ne.milliseconds=he(ne.milliseconds),ne.seconds=he(ne.seconds),ne.minutes=he(ne.minutes),ne.hours=he(ne.hours),ne.months=he(ne.months),ne.years=he(ne.years),this},Kl.add=function it(ne,De){return $e(this,ne,De,1)},Kl.subtract=function $t(ne,De){return $e(this,ne,De,-1)},Kl.as=function Hr(ne){if(!this.isValid())return NaN;var De,vt,Lt=this._milliseconds;if("month"===(ne=Fi(ne))||"quarter"===ne||"year"===ne)switch(De=this._days+Lt/864e5,vt=this._months+Zn(De),ne){case"month":return vt;case"quarter":return vt/3;case"year":return vt/12}else switch(De=this._days+Math.round(or(this._months)),ne){case"week":return De/7+Lt/6048e5;case"day":return De+Lt/864e5;case"hour":return 24*De+Lt/36e5;case"minute":return 1440*De+Lt/6e4;case"second":return 86400*De+Lt/1e3;case"millisecond":return Math.floor(864e5*De)+Lt;default:throw new Error("Unknown unit "+ne)}},Kl.asMilliseconds=$i,Kl.asSeconds=Co,Kl.asMinutes=Ho,Kl.asHours=co,Kl.asDays=vo,Kl.asWeeks=ms,Kl.asMonths=ds,Kl.asQuarters=Ts,Kl.asYears=el,Kl.valueOf=function Ci(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Pr(this._months/12):NaN},Kl._bubble=function Fn(){var Tn,Yr,zi,Vs,ol,ne=this._milliseconds,De=this._days,vt=this._months,Lt=this._data;return ne>=0&&De>=0&&vt>=0||ne<=0&&De<=0&&vt<=0||(ne+=864e5*pn(or(vt)+De),De=0,vt=0),Lt.milliseconds=ne%1e3,Tn=jr(ne/1e3),Lt.seconds=Tn%60,Yr=jr(Tn/60),Lt.minutes=Yr%60,zi=jr(Yr/60),Lt.hours=zi%24,De+=jr(zi/24),vt+=ol=jr(Zn(De)),De-=pn(or(ol)),Vs=jr(vt/12),vt%=12,Lt.days=De,Lt.months=vt,Lt.years=Vs,this},Kl.clone=function ga(){return Bt(this)},Kl.get=function va(ne){return ne=Fi(ne),this.isValid()?this[ne+"s"]():NaN},Kl.milliseconds=Gu,Kl.seconds=wl,Kl.minutes=Yc,Kl.hours=Nl,Kl.days=_u,Kl.weeks=function pd(){return jr(this.days()/7)},Kl.months=jc,Kl.years=rd,Kl.humanize=function bd(ne,De){if(!this.isValid())return this.localeData().invalidDate();var Tn,Yr,vt=!1,Lt=Ku;return"object"==typeof ne&&(De=ne,ne=!1),"boolean"==typeof ne&&(vt=ne),"object"==typeof De&&(Lt=Object.assign({},Ku,De),null!=De.s&&null==De.ss&&(Lt.ss=De.s-1)),Yr=function af(ne,De,vt,Lt){var Tn=Bt(ne).abs(),Yr=Pu(Tn.as("s")),zi=Pu(Tn.as("m")),Vs=Pu(Tn.as("h")),ol=Pu(Tn.as("d")),Va=Pu(Tn.as("M")),pc=Pu(Tn.as("w")),ou=Pu(Tn.as("y")),Fu=Yr<=vt.ss&&["s",Yr]||Yr<vt.s&&["ss",Yr]||zi<=1&&["m"]||zi<vt.m&&["mm",zi]||Vs<=1&&["h"]||Vs<vt.h&&["hh",Vs]||ol<=1&&["d"]||ol<vt.d&&["dd",ol];return null!=vt.w&&(Fu=Fu||pc<=1&&["w"]||pc<vt.w&&["ww",pc]),(Fu=Fu||Va<=1&&["M"]||Va<vt.M&&["MM",Va]||ou<=1&&["y"]||["yy",ou])[2]=De,Fu[3]=+ne>0,Fu[4]=Lt,Td.apply(null,Fu)}(this,!vt,Lt,Tn=this.localeData()),vt&&(Yr=Tn.pastFuture(+this,Yr)),Tn.postformat(Yr)},Kl.toISOString=Gf,Kl.toString=Gf,Kl.toJSON=Gf,Kl.locale=Fe,Kl.localeData=lt,Kl.toIsoString=Me("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Gf),Kl.lang=je,Xt("X",0,0,"unix"),Xt("x",0,0,"valueOf"),dr("x",vr),dr("X",/[+-]?\d+(\.\d{1,3})?/),zt("X",function(ne,De,vt){vt._d=new Date(1e3*parseFloat(ne))}),zt("x",function(ne,De,vt){vt._d=new Date(Pr(ne))}),a.version="2.29.4",function u(ne){r=ne}(Xs),a.fn=$o,a.min=function gc(){return qc("isBefore",[].slice.call(arguments,0))},a.max=function zl(){return qc("isAfter",[].slice.call(arguments,0))},a.now=function(){return Date.now?Date.now():+new Date},a.utc=Q,a.unix=function be(ne){return Xs(1e3*ne)},a.months=function w(ne,De){return fn(ne,De,"months")},a.isDate=D,a.locale=Tc,a.invalid=pe,a.duration=Bt,a.isMoment=Oe,a.weekdays=function N(ne,De,vt){return k(ne,De,vt,"weekdays")},a.parseZone=function Ne(){return Xs.apply(null,arguments).parseZone()},a.localeData=gl,a.isDuration=rl,a.monthsShort=function C(ne,De){return fn(ne,De,"monthsShort")},a.weekdaysMin=function re(ne,De,vt){return k(ne,De,vt,"weekdaysMin")},a.defineLocale=cc,a.updateLocale=function ka(ne,De){if(null!=De){var vt,Lt,Tn=ec;null!=wa[ne]&&null!=wa[ne].parentLocale?wa[ne].set(ze(wa[ne]._config,De)):(null!=(Lt=xs(ne))&&(Tn=Lt._config),De=ze(Tn,De),null==Lt&&(De.abbr=ne),(vt=new bt(De)).parentLocale=wa[ne],wa[ne]=vt),Tc(ne)}else null!=wa[ne]&&(null!=wa[ne].parentLocale?(wa[ne]=wa[ne].parentLocale,ne===Tc()&&Tc(ne)):null!=wa[ne]&&delete wa[ne]);return wa[ne]},a.locales=function Cc(){return Ct(wa)},a.weekdaysShort=function B(ne,De,vt){return k(ne,De,vt,"weekdaysShort")},a.normalizeUnits=Fi,a.relativeTimeRounding=function xc(ne){return void 0===ne?Pu:"function"==typeof ne&&(Pu=ne,!0)},a.relativeTimeThreshold=function up(ne,De){return void 0!==Ku[ne]&&(void 0===De?Ku[ne]:(Ku[ne]=De,"s"===ne&&(Ku.ss=De-1),!0))},a.calendarFormat=function se(ne,De){var vt=ne.diff(De,"days",!0);return vt<-6?"sameElse":vt<-1?"lastWeek":vt<0?"lastDay":vt<1?"sameDay":vt<2?"nextDay":vt<7?"nextWeek":"sameElse"},a.prototype=$o,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()},61717:(y,b,o)=>{"use strict";function e(ft,sn,At,Ln){var Fi,rr=arguments.length,Lr=rr<3?sn:null===Ln?Ln=Object.getOwnPropertyDescriptor(sn,At):Ln;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Lr=Reflect.decorate(ft,sn,At,Ln);else for(var so=ft.length-1;so>=0;so--)(Fi=ft[so])&&(Lr=(rr<3?Fi(Lr):rr>3?Fi(sn,At,Lr):Fi(sn,At))||Lr);return rr>3&&Lr&&Object.defineProperty(sn,At,Lr),Lr}o.d(b,{bH:()=>Tr,G8:()=>Dn,uh:()=>oi});var Me=o(64537),yt=o(88692),et=o(7357);const tt=["*"],Et=["templateOutlet"];function ze(ft,sn){if(1&ft&&(Me.TgZ(0,"div",6),Me._uU(1),Me.qZA()),2&ft){const At=Me.oxw(2);Me.xp6(1),Me.hij(" ",At.message||At.defaultMessage," ")}}function bt(ft,sn){if(1&ft&&(Me.TgZ(0,"div",3),Me._UZ(1,"div",4),Me.YNc(2,ze,2,1,"div",5),Me.qZA()),2&ft){const At=Me.oxw();Me.xp6(2),Me.Q6J("ngIf",At.message||At.defaultMessage)}}function Ct(ft,sn){}function Qt(ft,sn){1&ft&&Me.YNc(0,Ct,0,0,"ng-template",null,7,Me.W1O)}const ht=function(ft){return{active:ft}};let en=(()=>{class ft{}return ft.START="start",ft.STOP="stop",ft.UPDATE="update",ft.RESET="reset",ft.RESET_GLOBAL="reset_global",ft.UNSUBSCRIBE="unsubscribe",ft})();const nn="block-ui-main";let bn=(()=>{let ft=class{constructor(){this.blockUISettings={},this.blockUIInstances={},this.blockUISubject=new et.t(1),this.blockUIObservable=this.blockUISubject.asObservable(),this.blockUIObservable.subscribe(this.blockUIMiddleware.bind(this))}getSettings(){return this.blockUISettings}updateSettings(At={}){this.blockUISettings=Object.assign(Object.assign({},this.blockUISettings),At)}decorate(At=nn){const Ln={name:At,isActive:!1,blockCount:0,start:this.dispatch(this.blockUISubject,en.START,At),update:this.dispatch(this.blockUISubject,en.UPDATE,At),stop:this.dispatch(this.blockUISubject,en.STOP,At),reset:this.dispatch(this.blockUISubject,en.RESET,At),resetGlobal:this.dispatch(this.blockUISubject,en.RESET_GLOBAL,At),unsubscribe:this.dispatch(this.blockUISubject,en.UNSUBSCRIBE,At)};return this.blockUIInstances[At]=this.blockUIInstances[At]||Ln,Ln}observe(){return this.blockUIObservable}clearInstance(At){this.dispatch(this.blockUISubject,en.RESET,At)}blockUIMiddleware({action:At,name:Ln}){let rr=null;switch(At){case en.START:rr=!0;break;case en.STOP:case en.RESET:rr=!1}null!==rr&&(this.blockUIInstances[Ln].isActive=rr)}dispatch(At,Ln,rr=nn){return Lr=>{At.next({name:rr,action:Ln,message:Lr})}}};return ft.\u0275fac=function(At){return new(At||ft)},ft.\u0275prov=Me.Yz7({token:ft,factory:function(sn){return ft.\u0275fac(sn)}}),ft})(),Dn=(()=>{let ft=class{constructor(At){this.blockUI=At}ngOnInit(){this.name=this.name||nn,this.template=this.template||this.blockUI.blockUISettings.template}};return ft.\u0275fac=function(At){return new(At||ft)(Me.Y36(bn))},ft.\u0275cmp=Me.Xpm({type:ft,selectors:[["block-ui"]],inputs:{name:"name",template:"template",message:"message",delayStart:"delayStart",delayStop:"delayStop"},ngContentSelectors:tt,decls:2,vars:5,consts:[[3,"name","message","template","delayStart","delayStop"]],template:function(At,Ln){1&At&&(Me.F$t(),Me.Hsn(0),Me._UZ(1,"block-ui-content",0)),2&At&&(Me.xp6(1),Me.Q6J("name",Ln.name)("message",Ln.message)("template",Ln.template)("delayStart",Ln.delayStart)("delayStop",Ln.delayStop))},dependencies:function(){return[un]},encapsulation:2}),e([(0,Me.IIB)()],ft.prototype,"name",void 0),e([(0,Me.IIB)()],ft.prototype,"message",void 0),e([(0,Me.IIB)()],ft.prototype,"delayStart",void 0),e([(0,Me.IIB)()],ft.prototype,"delayStop",void 0),e([(0,Me.IIB)()],ft.prototype,"template",void 0),ft})(),un=(()=>{let ft=class{constructor(At,Ln,rr){this.blockUI=At,this.resolver=Ln,this.changeDetectionRef=rr,this.name=nn,this.defaultBlockState={startTimeouts:[],stopTimeouts:[],updateTimeouts:[],blockCount:0,startCallCount:0,stopCallCount:0},this.state=Object.assign({},this.defaultBlockState)}ngOnInit(){this.settings=this.blockUI.getSettings(),this.blockUISubscription=this.subscribeToBlockUI(this.blockUI.observe())}ngAfterViewInit(){try{if(!this.templateCmp)return!1;if(this.templateCmp instanceof Me.Rgc)this.templateOutlet.createEmbeddedView(this.templateCmp);else{const At=this.resolver.resolveComponentFactory(this.templateCmp);this.templateCompRef=this.templateOutlet.createComponent(At),this.updateBlockTemplate(this.message)}}catch(At){console.error("ng-block-ui:",At)}}ngAfterViewChecked(){this.detectChanges()}subscribeToBlockUI(At){return At.subscribe(Ln=>this.onDispatchedEvent(Ln))}onDispatchedEvent(At){switch(At.action){case en.START:this.onStart(At);break;case en.STOP:this.onStop(At);break;case en.UPDATE:this.onUpdate(At);break;case en.RESET:this.onReset(At);break;case en.RESET_GLOBAL:this.resetState();break;case en.UNSUBSCRIBE:this.onStop(At),this.onUnsubscribe(At.name)}}onStart({name:At,message:Ln}){if(At===this.name){const rr=this.delayStart||this.settings.delayStart||0;this.state.startCallCount+=1;const Lr=setTimeout(()=>{this.state.blockCount+=1,this.showBlock(Ln),this.updateInstanceBlockCount()},rr);this.state.startTimeouts.push(Lr)}}onStop({name:At}){if(At===this.name){const Ln=this.state.stopCallCount+1;if(this.state.startCallCount-Ln>=0){const rr=this.delayStop||this.settings.delayStop||0;this.state.stopCallCount=Ln;const Lr=setTimeout(()=>{this.state.blockCount-=1,this.updateInstanceBlockCount(),this.detectChanges()},rr);this.state.stopTimeouts.push(Lr)}}}onUpdate({name:At,message:Ln}){if(At===this.name){const rr=this.delayStart||this.settings.delayStart||0;clearTimeout(this.state.updateTimeouts[0]);const Lr=setTimeout(()=>{this.updateMessage(Ln)},rr);this.state.updateTimeouts.push(Lr)}}onReset({name:At}){At===this.name&&this.resetState()}updateMessage(At){this.showBlock(At)}showBlock(At){this.message=At||this.defaultMessage||this.settings.message,this.updateBlockTemplate(this.message),this.detectChanges()}updateBlockTemplate(At){this.templateCompRef&&this.templateCompRef instanceof Me.UuU&&(this.templateCompRef.instance.message=At)}resetState(){[...this.state.startTimeouts,...this.state.stopTimeouts,...this.state.updateTimeouts].forEach(clearTimeout),this.state=Object.assign({},this.defaultBlockState),this.updateInstanceBlockCount(),this.detectChanges()}onUnsubscribe(At){this.blockUISubscription&&At===this.name&&this.blockUISubscription.unsubscribe()}updateInstanceBlockCount(){if(this.blockUI.blockUIInstances[this.name]){const{blockCount:At}=this.state;this.blockUI.blockUIInstances[this.name].blockCount=At}}detectChanges(){this.changeDetectionRef.destroyed||this.changeDetectionRef.detectChanges()}ngOnDestroy(){this.resetState(),this.onUnsubscribe(this.name),this.blockUI.clearInstance(this.name)}};return ft.\u0275fac=function(At){return new(At||ft)(Me.Y36(bn),Me.Y36(Me._Vd),Me.Y36(Me.sBO))},ft.\u0275cmp=Me.Xpm({type:ft,selectors:[["block-ui-content"]],viewQuery:function(At,Ln){if(1&At&&Me.Gf(Et,5,Me.s_b),2&At){let rr;Me.iGM(rr=Me.CRH())&&(Ln.templateOutlet=rr.first)}},inputs:{name:"name",delayStart:"delayStart",delayStop:"delayStop",defaultMessage:["message","defaultMessage"],templateCmp:["template","templateCmp"]},decls:3,vars:9,consts:[[3,"ngClass"],["class","block-ui-spinner",4,"ngIf"],[4,"ngIf"],[1,"block-ui-spinner"],[1,"loader"],["class","message",4,"ngIf"],[1,"message"],["templateOutlet",""]],template:function(At,Ln){1&At&&(Me.TgZ(0,"div",0),Me.YNc(1,bt,3,1,"div",1),Me.YNc(2,Qt,2,0,null,2),Me.qZA()),2&At&&(Me.MT6("block-ui-wrapper ",Ln.name," ",Ln.className,""),Me.Q6J("ngClass",Me.VKq(7,ht,Ln.state.blockCount>0)),Me.xp6(1),Me.Q6J("ngIf",!Ln.templateCmp),Me.xp6(1),Me.Q6J("ngIf",Ln.templateCmp))},dependencies:[yt.mk,yt.O5],styles:["\n.block-ui-wrapper {\n display: none;\n position: fixed;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n background: rgba(0, 0, 0, 0.70);\n z-index: 30000;\n cursor: wait;\n}\n\n.block-ui-wrapper.block-ui-wrapper--element {\n position: absolute;\n}\n\n.block-ui-wrapper.active {\n display: block;\n}\n\n.block-ui-wrapper.block-ui-main {\n position: fixed;\n}\n\n.block-ui-spinner,\n.block-ui-template {\n position: absolute;\n top: 40%;\n margin: 0 auto;\n left: 0;\n right: 0;\n transform: translateY(-50%);\n}\n\n.block-ui-spinner > .message {\n font-size: 1.3em;\n text-align: center;\n color: #fff;\n}\n\n.block-ui__element {\n position: relative;\n}\n\n.loader,\n.loader:after {\n border-radius: 50%;\n width: 10em;\n height: 10em;\n}\n.loader {\n margin: 7px auto;\n font-size: 5px;\n position: relative;\n text-indent: -9999em;\n border-top: 1.1em solid rgba(255, 255, 255, 0.2);\n border-right: 1.1em solid rgba(255, 255, 255, 0.2);\n border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);\n border-left: 1.1em solid #ffffff;\n -webkit-transform: translateZ(0);\n -ms-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-animation: load8 1.1s infinite linear;\n animation: load8 1.1s infinite linear;\n}\n\n@-webkit-keyframes load8 {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes load8 {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n"],encapsulation:2}),e([(0,Me.IIB)()],ft.prototype,"name",void 0),e([(0,Me.IIB)()],ft.prototype,"delayStart",void 0),e([(0,Me.IIB)()],ft.prototype,"delayStop",void 0),e([(0,Me.IIB)("message")],ft.prototype,"defaultMessage",void 0),e([(0,Me.IIB)("template")],ft.prototype,"templateCmp",void 0),e([(0,Me.i9L)("templateOutlet",{read:Me.s_b})],ft.prototype,"templateOutlet",void 0),ft})(),_n=(()=>{let ft=class{constructor(At){this.blockUIInstance=At,this.globalDispatch=this.blockUIInstance.decorate()}start(At,Ln){this.dispatch(At,en.START,Ln)}stop(At){this.dispatch(At,en.STOP)}reset(At){this.dispatch(At,en.RESET)}resetGlobal(){this.globalDispatch.resetGlobal()}update(At,Ln){this.dispatch(At,en.UPDATE,Ln)}unsubscribe(At){this.dispatch(At,en.UNSUBSCRIBE)}isActive(At=null){const Ln=At?this.toArray(At):null,rr=this.blockUIInstance.blockUIInstances;return Object.keys(rr).some(Lr=>Ln?Ln.indexOf(rr[Lr].name)>=0&&rr[Lr].isActive:rr[Lr].isActive)}dispatch(At=[],Ln,rr){this.toArray(At).forEach(Fi=>this.blockUIInstance.decorate(Fi)[Ln](rr))}toArray(At=[]){return"string"==typeof At?[At]:At}};return ft.\u0275fac=function(At){return new(At||ft)(Me.LFG(bn))},ft.\u0275prov=Me.Yz7({token:ft,factory:function(sn){return ft.\u0275fac(sn)}}),ft})();var ri;const Ir=new bn,wr=new Me.OlP("BlockUIModuleSettings");function _r(ft){return Ir.updateSettings(ft),Ir}let oi=ri=class{static forRoot(sn={}){return{ngModule:ri,providers:[{provide:wr,useValue:sn},{provide:bn,useFactory:_r,deps:[wr]},_n]}}};oi.\u0275fac=function(sn){return new(sn||oi)},oi.\u0275mod=Me.oAB({type:oi}),oi.\u0275inj=Me.cJS({imports:[yt.ez]});let Ri=1;function Tr(ft,sn={}){return sn.scopeToInstance?function(At,Ln){const rr=`_${Ln}-block-ui`;Object.defineProperty(At,Ln,{get:function(){if(this[rr])return this[rr];const Lr=`${ft}-${Ri++}`;return this[rr]=Ir.decorate(Lr),this[rr]},set:function(Lr){this[rr]=Lr}})}:function(At,Ln){At[Ln]=Ir.decorate(ft)}}},90504:(y,b,o)=>{"use strict";o.d(b,{_:()=>f,w:()=>E});var r=o(64537),a=o(88692),u=function(T,D,A,$){var q,Q=arguments.length,U=Q<3?D:null===$?$=Object.getOwnPropertyDescriptor(D,A):$;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)U=Reflect.decorate(T,D,A,$);else for(var L=T.length-1;L>=0;L--)(q=T[L])&&(U=(Q<3?q(U):Q>3?q(D,A,U):q(D,A))||U);return Q>3&&U&&Object.defineProperty(D,A,U),U},c=function(T,D){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(T,D)},e=function(T,D){return function(A,$){D(A,$,T)}},f=function(){function T(D,A,$){this._el=D,this._ngZone=A,this.platformId=$,this.clickOutsideEnabled=!0,this.attachOutsideOnClick=!1,this.delayClickOutsideInit=!1,this.emitOnBlur=!1,this.exclude="",this.excludeBeforeClick=!1,this.clickOutsideEvents="",this.clickOutside=new r.vpe,this._nodesExcluded=[],this._events=["click"],this._initOnClickBody=this._initOnClickBody.bind(this),this._onClickBody=this._onClickBody.bind(this),this._onWindowBlur=this._onWindowBlur.bind(this)}return T.prototype.ngOnInit=function(){(0,a.NF)(this.platformId)&&this._init()},T.prototype.ngOnDestroy=function(){(0,a.NF)(this.platformId)&&(this._removeClickOutsideListener(),this._removeAttachOutsideOnClickListener(),this._removeWindowBlurListener())},T.prototype.ngOnChanges=function(D){(0,a.NF)(this.platformId)&&(D.attachOutsideOnClick||D.exclude||D.emitOnBlur)&&this._init()},T.prototype._init=function(){""!==this.clickOutsideEvents&&(this._events=this.clickOutsideEvents.split(",").map(function(D){return D.trim()})),this._excludeCheck(),this.attachOutsideOnClick?this._initAttachOutsideOnClickListener():this._initOnClickBody(),this.emitOnBlur&&this._initWindowBlurListener()},T.prototype._initOnClickBody=function(){this.delayClickOutsideInit?setTimeout(this._initClickOutsideListener.bind(this)):this._initClickOutsideListener()},T.prototype._excludeCheck=function(){if(this.exclude)try{var D=Array.from(document.querySelectorAll(this.exclude));D&&(this._nodesExcluded=D)}catch(A){console.error("[ng-click-outside] Check your exclude selector syntax.",A)}},T.prototype._onClickBody=function(D){this.clickOutsideEnabled&&(this.excludeBeforeClick&&this._excludeCheck(),!this._el.nativeElement.contains(D.target)&&!this._shouldExclude(D.target)&&(this._emit(D),this.attachOutsideOnClick&&this._removeClickOutsideListener()))},T.prototype._onWindowBlur=function(D){var A=this;setTimeout(function(){document.hidden||A._emit(D)})},T.prototype._emit=function(D){var A=this;this.clickOutsideEnabled&&this._ngZone.run(function(){return A.clickOutside.emit(D)})},T.prototype._shouldExclude=function(D){for(var A=0,$=this._nodesExcluded;A<$.length;A++)if($[A].contains(D))return!0;return!1},T.prototype._initClickOutsideListener=function(){var D=this;this._ngZone.runOutsideAngular(function(){D._events.forEach(function(A){return document.addEventListener(A,D._onClickBody)})})},T.prototype._removeClickOutsideListener=function(){var D=this;this._ngZone.runOutsideAngular(function(){D._events.forEach(function(A){return document.removeEventListener(A,D._onClickBody)})})},T.prototype._initAttachOutsideOnClickListener=function(){var D=this;this._ngZone.runOutsideAngular(function(){D._events.forEach(function(A){return D._el.nativeElement.addEventListener(A,D._initOnClickBody)})})},T.prototype._removeAttachOutsideOnClickListener=function(){var D=this;this._ngZone.runOutsideAngular(function(){D._events.forEach(function(A){return D._el.nativeElement.removeEventListener(A,D._initOnClickBody)})})},T.prototype._initWindowBlurListener=function(){var D=this;this._ngZone.runOutsideAngular(function(){window.addEventListener("blur",D._onWindowBlur)})},T.prototype._removeWindowBlurListener=function(){var D=this;this._ngZone.runOutsideAngular(function(){window.removeEventListener("blur",D._onWindowBlur)})},u([(0,r.IIB)(),c("design:type",Boolean)],T.prototype,"clickOutsideEnabled",void 0),u([(0,r.IIB)(),c("design:type",Boolean)],T.prototype,"attachOutsideOnClick",void 0),u([(0,r.IIB)(),c("design:type",Boolean)],T.prototype,"delayClickOutsideInit",void 0),u([(0,r.IIB)(),c("design:type",Boolean)],T.prototype,"emitOnBlur",void 0),u([(0,r.IIB)(),c("design:type",String)],T.prototype,"exclude",void 0),u([(0,r.IIB)(),c("design:type",Boolean)],T.prototype,"excludeBeforeClick",void 0),u([(0,r.IIB)(),c("design:type",String)],T.prototype,"clickOutsideEvents",void 0),u([(0,r.r_U)(),c("design:type",r.vpe)],T.prototype,"clickOutside",void 0),(T=u([e(2,(0,r.tBr)(r.Lbi)),c("design:paramtypes",[r.SBq,r.R0b,Object])],T)).\u0275fac=function(A){return new(A||T)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(r.Lbi))},T.\u0275dir=r.lG2({type:T,selectors:[["","clickOutside",""]],inputs:{clickOutsideEnabled:"clickOutsideEnabled",attachOutsideOnClick:"attachOutsideOnClick",delayClickOutsideInit:"delayClickOutsideInit",emitOnBlur:"emitOnBlur",exclude:"exclude",excludeBeforeClick:"excludeBeforeClick",clickOutsideEvents:"clickOutsideEvents"},outputs:{clickOutside:"clickOutside"},features:[r.TTD]}),T.\u0275prov=r.Yz7({token:T,factory:function(D){return T.\u0275fac(D)}}),T}(),E=function(){function T(){}return T.\u0275fac=function(A){return new(A||T)},T.\u0275mod=r.oAB({type:T}),T.\u0275inj=r.cJS({}),T}()},37496:(y,b,o)=>{"use strict";o.d(b,{b:()=>u,i:()=>a});var r=o(64537);let a=(()=>{class c{transform(f,h,E){return E?h.call(E,f):h(f)}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275pipe=r.Yjl({name:"pipeFunction",type:c,pure:!0}),c})(),u=(()=>{class c{}return c.\u0275fac=function(f){return new(f||c)},c.\u0275mod=r.oAB({type:c}),c.\u0275inj=r.cJS({}),c})()},18228:y=>{"use strict";var b=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;y.exports=function u(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de","5"===Object.getOwnPropertyNames(c)[0])return!1;for(var e={},f=0;f<10;f++)e["_"+String.fromCharCode(f)]=f;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(T){return e[T]}).join(""))return!1;var E={};return"abcdefghijklmnopqrst".split("").forEach(function(T){E[T]=T}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},E)).join("")}catch{return!1}}()?Object.assign:function(c,e){for(var f,E,h=function a(c){if(null==c)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}(c),T=1;T<arguments.length;T++){for(var D in f=Object(arguments[T]))o.call(f,D)&&(h[D]=f[D]);if(b){E=b(f);for(var A=0;A<E.length;A++)r.call(f,E[A])&&(h[E[A]]=f[E[A]])}}return h}},81380:(y,b,o)=>{var r="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,u=r&&a&&"function"==typeof a.get?a.get:null,c=r&&Map.prototype.forEach,e="function"==typeof Set&&Set.prototype,f=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,h=e&&f&&"function"==typeof f.get?f.get:null,E=e&&Set.prototype.forEach,D="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,$="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,U="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,q=Boolean.prototype.valueOf,L=Object.prototype.toString,J=Function.prototype.toString,pe=String.prototype.match,j=String.prototype.slice,ue=String.prototype.replace,ie=String.prototype.toUpperCase,me=String.prototype.toLowerCase,Oe=RegExp.prototype.test,Ue=Array.prototype.concat,Me=Array.prototype.join,yt=Array.prototype.slice,et=Math.floor,tt="function"==typeof BigInt?BigInt.prototype.valueOf:null,Et=Object.getOwnPropertySymbols,ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,bt="function"==typeof Symbol&&"object"==typeof Symbol.iterator,Ct="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,Qt=Object.prototype.propertyIsEnumerable,ht=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Pn){return Pn.__proto__}:null);function en(Pn,Nn){if(Pn===1/0||Pn===-1/0||Pn!=Pn||Pn&&Pn>-1e3&&Pn<1e3||Oe.call(/e/,Nn))return Nn;var Ut=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof Pn){var ke=Pn<0?-et(-Pn):et(Pn);if(ke!==Pn){var Ie=String(ke),Qe=j.call(Nn,Ie.length+1);return ue.call(Ie,Ut,"$&_")+"."+ue.call(ue.call(Qe,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ue.call(Nn,Ut,"$&_")}var nn=o(24654),bn=nn.custom,Dn=oi(bn)?bn:null;function Rt(Pn,Nn,Ut){var ke="double"===(Ut.quoteStyle||Nn)?'"':"'";return ke+Pn+ke}function Xt(Pn){return ue.call(String(Pn),/"/g,"&quot;")}function un(Pn){return!("[object Array]"!==sn(Pn)||Ct&&"object"==typeof Pn&&Ct in Pn)}function kn(Pn){return!("[object RegExp]"!==sn(Pn)||Ct&&"object"==typeof Pn&&Ct in Pn)}function oi(Pn){if(bt)return Pn&&"object"==typeof Pn&&Pn instanceof Symbol;if("symbol"==typeof Pn)return!0;if(!Pn||"object"!=typeof Pn||!ze)return!1;try{return ze.call(Pn),!0}catch{}return!1}y.exports=function Pn(Nn,Ut,ke,Ie){var Qe=Ut||{};if(ft(Qe,"quoteStyle")&&"single"!==Qe.quoteStyle&&"double"!==Qe.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ft(Qe,"maxStringLength")&&("number"==typeof Qe.maxStringLength?Qe.maxStringLength<0&&Qe.maxStringLength!==1/0:null!==Qe.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Ve=!ft(Qe,"customInspect")||Qe.customInspect;if("boolean"!=typeof Ve&&"symbol"!==Ve)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ft(Qe,"indent")&&null!==Qe.indent&&"\t"!==Qe.indent&&!(parseInt(Qe.indent,10)===Qe.indent&&Qe.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ft(Qe,"numericSeparator")&&"boolean"!=typeof Qe.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var tn=Qe.numericSeparator;if(typeof Nn>"u")return"undefined";if(null===Nn)return"null";if("boolean"==typeof Nn)return Nn?"true":"false";if("string"==typeof Nn)return Ni(Nn,Qe);if("number"==typeof Nn){if(0===Nn)return 1/0/Nn>0?"0":"-0";var ot=String(Nn);return tn?en(Nn,ot):ot}if("bigint"==typeof Nn){var xt=String(Nn)+"n";return tn?en(Nn,xt):xt}var qt=typeof Qe.depth>"u"?5:Qe.depth;if(typeof ke>"u"&&(ke=0),ke>=qt&&qt>0&&"object"==typeof Nn)return un(Nn)?"[Array]":"[Object]";var tr=function ts(Pn,Nn){var Ut;if("\t"===Pn.indent)Ut="\t";else{if(!("number"==typeof Pn.indent&&Pn.indent>0))return null;Ut=Me.call(Array(Pn.indent+1)," ")}return{base:Ut,prev:Me.call(Array(Nn+1),Ut)}}(Qe,ke);if(typeof Ie>"u")Ie=[];else if(Ln(Ie,Nn)>=0)return"[Circular]";function vr(os,hr,Ii){if(hr&&(Ie=yt.call(Ie)).push(hr),Ii){var ni={depth:Qe.depth};return ft(Qe,"quoteStyle")&&(ni.quoteStyle=Qe.quoteStyle),Pn(os,ni,ke+1,Ie)}return Pn(os,Qe,ke+1,Ie)}if("function"==typeof Nn&&!kn(Nn)){var An=function At(Pn){if(Pn.name)return Pn.name;var Nn=pe.call(J.call(Pn),/^function\s*([\w$]+)/);return Nn?Nn[1]:null}(Nn),yr=Vi(Nn,vr);return"[Function"+(An?": "+An:" (anonymous)")+"]"+(yr.length>0?" { "+Me.call(yr,", ")+" }":"")}if(oi(Nn)){var Nr=bt?ue.call(String(Nn),/^(Symbol\(.*\))_[^)]*$/,"$1"):ze.call(Nn);return"object"!=typeof Nn||bt?Nr:jr(Nr)}if(function Xr(Pn){return!(!Pn||"object"!=typeof Pn)&&(typeof HTMLElement<"u"&&Pn instanceof HTMLElement||"string"==typeof Pn.nodeName&&"function"==typeof Pn.getAttribute)}(Nn)){for(var nr="<"+me.call(String(Nn.nodeName)),Qn=Nn.attributes||[],dr=0;dr<Qn.length;dr++)nr+=" "+Qn[dr].name+"="+Rt(Xt(Qn[dr].value),"double",Qe);return nr+=">",Nn.childNodes&&Nn.childNodes.length&&(nr+="..."),nr+"</"+me.call(String(Nn.nodeName))+">"}if(un(Nn)){if(0===Nn.length)return"[]";var Wn=Vi(Nn,vr);return tr&&!function cs(Pn){for(var Nn=0;Nn<Pn.length;Nn++)if(Ln(Pn[Nn],"\n")>=0)return!1;return!0}(Wn)?"["+io(Wn,tr)+"]":"[ "+Me.call(Wn,", ")+" ]"}if(function ri(Pn){return!("[object Error]"!==sn(Pn)||Ct&&"object"==typeof Pn&&Ct in Pn)}(Nn)){var Wt=Vi(Nn,vr);return"cause"in Error.prototype||!("cause"in Nn)||Qt.call(Nn,"cause")?0===Wt.length?"["+String(Nn)+"]":"{ ["+String(Nn)+"] "+Me.call(Wt,", ")+" }":"{ ["+String(Nn)+"] "+Me.call(Ue.call("[cause]: "+vr(Nn.cause),Wt),", ")+" }"}if("object"==typeof Nn&&Ve){if(Dn&&"function"==typeof Nn[Dn]&&nn)return nn(Nn,{depth:qt-ke});if("symbol"!==Ve&&"function"==typeof Nn.inspect)return Nn.inspect()}if(function rr(Pn){if(!u||!Pn||"object"!=typeof Pn)return!1;try{u.call(Pn);try{h.call(Pn)}catch{return!0}return Pn instanceof Map}catch{}return!1}(Nn)){var kt=[];return c&&c.call(Nn,function(os,hr){kt.push(vr(hr,Nn,!0)+" => "+vr(os,Nn))}),Bo("Map",u.call(Nn),kt,tr)}if(function so(Pn){if(!h||!Pn||"object"!=typeof Pn)return!1;try{h.call(Pn);try{u.call(Pn)}catch{return!0}return Pn instanceof Set}catch{}return!1}(Nn)){var st=[];return E&&E.call(Nn,function(os){st.push(vr(os,Nn))}),Bo("Set",h.call(Nn),st,tr)}if(function Lr(Pn){if(!D||!Pn||"object"!=typeof Pn)return!1;try{D.call(Pn,D);try{$.call(Pn,$)}catch{return!0}return Pn instanceof WeakMap}catch{}return!1}(Nn))return Pr("WeakMap");if(function Vo(Pn){if(!$||!Pn||"object"!=typeof Pn)return!1;try{$.call(Pn,$);try{D.call(Pn,D)}catch{return!0}return Pn instanceof WeakSet}catch{}return!1}(Nn))return Pr("WeakSet");if(function Fi(Pn){if(!U||!Pn||"object"!=typeof Pn)return!1;try{return U.call(Pn),!0}catch{}return!1}(Nn))return Pr("WeakRef");if(function wr(Pn){return!("[object Number]"!==sn(Pn)||Ct&&"object"==typeof Pn&&Ct in Pn)}(Nn))return jr(vr(Number(Nn)));if(function Ri(Pn){if(!Pn||"object"!=typeof Pn||!tt)return!1;try{return tt.call(Pn),!0}catch{}return!1}(Nn))return jr(vr(tt.call(Nn)));if(function _r(Pn){return!("[object Boolean]"!==sn(Pn)||Ct&&"object"==typeof Pn&&Ct in Pn)}(Nn))return jr(q.call(Nn));if(function Ir(Pn){return!("[object String]"!==sn(Pn)||Ct&&"object"==typeof Pn&&Ct in Pn)}(Nn))return jr(vr(String(Nn)));if(typeof window<"u"&&Nn===window)return"{ [object Window] }";if(Nn===global)return"{ [object globalThis] }";if(!function _n(Pn){return!("[object Date]"!==sn(Pn)||Ct&&"object"==typeof Pn&&Ct in Pn)}(Nn)&&!kn(Nn)){var zt=Vi(Nn,vr),er=ht?ht(Nn)===Object.prototype:Nn instanceof Object||Nn.constructor===Object,Kr=Nn instanceof Object?"":"null prototype",mi=!er&&Ct&&Object(Nn)===Nn&&Ct in Nn?j.call(sn(Nn),8,-1):Kr?"Object":"",Jo=(er||"function"!=typeof Nn.constructor?"":Nn.constructor.name?Nn.constructor.name+" ":"")+(mi||Kr?"["+Me.call(Ue.call([],mi||[],Kr||[]),": ")+"] ":"");return 0===zt.length?Jo+"{}":tr?Jo+"{"+io(zt,tr)+"}":Jo+"{ "+Me.call(zt,", ")+" }"}return String(Nn)};var Tr=Object.prototype.hasOwnProperty||function(Pn){return Pn in this};function ft(Pn,Nn){return Tr.call(Pn,Nn)}function sn(Pn){return L.call(Pn)}function Ln(Pn,Nn){if(Pn.indexOf)return Pn.indexOf(Nn);for(var Ut=0,ke=Pn.length;Ut<ke;Ut++)if(Pn[Ut]===Nn)return Ut;return-1}function Ni(Pn,Nn){if(Pn.length>Nn.maxStringLength){var Ut=Pn.length-Nn.maxStringLength,ke="... "+Ut+" more character"+(Ut>1?"s":"");return Ni(j.call(Pn,0,Nn.maxStringLength),Nn)+ke}return Rt(ue.call(ue.call(Pn,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ji),"single",Nn)}function ji(Pn){var Nn=Pn.charCodeAt(0),Ut={8:"b",9:"t",10:"n",12:"f",13:"r"}[Nn];return Ut?"\\"+Ut:"\\x"+(Nn<16?"0":"")+ie.call(Nn.toString(16))}function jr(Pn){return"Object("+Pn+")"}function Pr(Pn){return Pn+" { ? }"}function Bo(Pn,Nn,Ut,ke){return Pn+" ("+Nn+") {"+(ke?io(Ut,ke):Me.call(Ut,", "))+"}"}function io(Pn,Nn){if(0===Pn.length)return"";var Ut="\n"+Nn.prev+Nn.base;return Ut+Me.call(Pn,","+Ut)+"\n"+Nn.prev}function Vi(Pn,Nn){var Ut=un(Pn),ke=[];if(Ut){ke.length=Pn.length;for(var Ie=0;Ie<Pn.length;Ie++)ke[Ie]=ft(Pn,Ie)?Nn(Pn[Ie],Pn):""}var Ve,Qe="function"==typeof Et?Et(Pn):[];if(bt){Ve={};for(var tn=0;tn<Qe.length;tn++)Ve["$"+Qe[tn]]=Qe[tn]}for(var ot in Pn)ft(Pn,ot)&&(Ut&&String(Number(ot))===ot&&ot<Pn.length||bt&&Ve["$"+ot]instanceof Symbol||(Oe.call(/[^\w$]/,ot)?ke.push(Nn(ot,Pn)+": "+Nn(Pn[ot],Pn)):ke.push(ot+": "+Nn(Pn[ot],Pn))));if("function"==typeof Et)for(var xt=0;xt<Qe.length;xt++)Qt.call(Pn,Qe[xt])&&ke.push("["+Nn(Qe[xt])+"]: "+Nn(Pn[Qe[xt]],Pn));return ke}},29849:y=>{var o,r,b=y.exports={};function a(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(U){if(o===setTimeout)return setTimeout(U,0);if((o===a||!o)&&setTimeout)return o=setTimeout,setTimeout(U,0);try{return o(U,0)}catch{try{return o.call(null,U,0)}catch{return o.call(this,U,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:a}catch{o=a}try{r="function"==typeof clearTimeout?clearTimeout:u}catch{r=u}}();var E,f=[],h=!1,T=-1;function D(){!h||!E||(h=!1,E.length?f=E.concat(f):T=-1,f.length&&A())}function A(){if(!h){var U=c(D);h=!0;for(var q=f.length;q;){for(E=f,f=[];++T<q;)E&&E[T].run();T=-1,q=f.length}E=null,h=!1,function e(U){if(r===clearTimeout)return clearTimeout(U);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(U);try{r(U)}catch{try{return r.call(null,U)}catch{return r.call(this,U)}}}(U)}}function $(U,q){this.fun=U,this.array=q}function Q(){}b.nextTick=function(U){var q=new Array(arguments.length-1);if(arguments.length>1)for(var L=1;L<arguments.length;L++)q[L-1]=arguments[L];f.push(new $(U,q)),1===f.length&&!h&&c(A)},$.prototype.run=function(){this.fun.apply(null,this.array)},b.title="browser",b.browser=!0,b.env={},b.argv=[],b.version="",b.versions={},b.on=Q,b.addListener=Q,b.once=Q,b.off=Q,b.removeListener=Q,b.removeAllListeners=Q,b.emit=Q,b.prependListener=Q,b.prependOnceListener=Q,b.listeners=function(U){return[]},b.binding=function(U){throw new Error("process.binding is not supported")},b.cwd=function(){return"/"},b.chdir=function(U){throw new Error("process.chdir is not supported")},b.umask=function(){return 0}},25119:(y,b,o)=>{"use strict";var r=o(88411);function a(){}function u(){}u.resetWarningCache=a,y.exports=function(){function c(h,E,T,D,A,$){if($!==r){var Q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw Q.name="Invariant Violation",Q}}function e(){return c}c.isRequired=c;var f={array:c,bigint:c,bool:c,func:c,number:c,object:c,string:c,symbol:c,any:c,arrayOf:e,element:c,elementType:c,instanceOf:e,node:c,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:u,resetWarningCache:a};return f.PropTypes=f,f}},76874:(y,b,o)=>{y.exports=o(25119)()},88411:y=>{"use strict";y.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},76959:(y,b)=>{"use strict";var o=Object.prototype.hasOwnProperty;function a(f){try{return decodeURIComponent(f.replace(/\+/g," "))}catch{return null}}function u(f){try{return encodeURIComponent(f)}catch{return null}}b.stringify=function e(f,h){h=h||"";var T,D,E=[];for(D in"string"!=typeof h&&(h="?"),f)if(o.call(f,D)){if(!(T=f[D])&&(null==T||isNaN(T))&&(T=""),D=u(D),T=u(T),null===D||null===T)continue;E.push(D+"="+T)}return E.length?h+E.join("&"):""},b.parse=function c(f){for(var T,h=/([^=?#&]+)=?([^&]*)/g,E={};T=h.exec(f);){var D=a(T[1]),A=a(T[2]);null===D||null===A||D in E||(E[D]=A)}return E}},17346:(y,b,o)=>{const r=o(66952),a=o(32582),u=r.types;y.exports=class _S{constructor(e,f){if(this._setDefaults(e),e instanceof RegExp)this.ignoreCase=e.ignoreCase,this.multiline=e.multiline,e=e.source;else{if("string"!=typeof e)throw new Error("Expected a regexp or string");this.ignoreCase=f&&-1!==f.indexOf("i"),this.multiline=f&&-1!==f.indexOf("m")}this.tokens=r(e)}_setDefaults(e){this.max=null!=e.max?e.max:null!=_S.prototype.max?_S.prototype.max:100,this.defaultRange=e.defaultRange?e.defaultRange:this.defaultRange.clone(),e.randInt&&(this.randInt=e.randInt)}gen(){return this._gen(this.tokens,[])}_gen(e,f){var h,E,T,D,A;switch(e.type){case u.ROOT:case u.GROUP:if(e.followedBy||e.notFollowedBy)return"";for(e.remember&&void 0===e.groupNumber&&(e.groupNumber=f.push(null)-1),E="",D=0,A=(h=e.options?this._randSelect(e.options):e.stack).length;D<A;D++)E+=this._gen(h[D],f);return e.remember&&(f[e.groupNumber]=E),E;case u.POSITION:return"";case u.SET:var $=this._expand(e);return $.length?String.fromCharCode(this._randSelect($)):"";case u.REPETITION:for(T=this.randInt(e.min,e.max===1/0?e.min+this.max:e.max),E="",D=0;D<T;D++)E+=this._gen(e.value,f);return E;case u.REFERENCE:return f[e.value-1]||"";case u.CHAR:var Q=this.ignoreCase&&this._randBool()?this._toOtherCase(e.value):e.value;return String.fromCharCode(Q)}}_toOtherCase(e){return e+(97<=e&&e<=122?-32:65<=e&&e<=90?32:0)}_randBool(){return!this.randInt(0,1)}_randSelect(e){return e instanceof a?e.index(this.randInt(0,e.length-1)):e[this.randInt(0,e.length-1)]}_expand(e){if(e.type===r.types.CHAR)return new a(e.value);if(e.type===r.types.RANGE)return new a(e.from,e.to);{let f=new a;for(let h=0;h<e.set.length;h++){let E=this._expand(e.set[h]);if(f.add(E),this.ignoreCase)for(let T=0;T<E.length;T++){let D=E.index(T),A=this._toOtherCase(D);D!==A&&f.add(A)}}return e.not?this.defaultRange.clone().subtract(f):this.defaultRange.clone().intersect(f)}}randInt(e,f){return e+Math.floor(Math.random()*(1+f-e))}get defaultRange(){return this._range=this._range||new a(32,126)}set defaultRange(e){this._range=e}static randexp(e,f){var h;return"string"==typeof e&&(e=new RegExp(e,f)),void 0===e._randexp?(h=new _S(e,f),e._randexp=h):(h=e._randexp)._setDefaults(e),h.gen()}static sugar(){RegExp.prototype.gen=function(){return _S.randexp(this)}}}},57021:(y,b,o)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.CopyToClipboard=void 0;var r=u(o(78139)),a=u(o(96967));function u(j){return j&&j.__esModule?j:{default:j}}function c(j){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ie){return typeof ie}:function(ie){return ie&&"function"==typeof Symbol&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie})(j)}function e(j,ue){var ie=Object.keys(j);if(Object.getOwnPropertySymbols){var me=Object.getOwnPropertySymbols(j);ue&&(me=me.filter(function(Oe){return Object.getOwnPropertyDescriptor(j,Oe).enumerable})),ie.push.apply(ie,me)}return ie}function D(j,ue){for(var ie=0;ie<ue.length;ie++){var me=ue[ie];me.enumerable=me.enumerable||!1,me.configurable=!0,"value"in me&&(me.writable=!0),Object.defineProperty(j,me.key,me)}}function Q(j){return(Q=Object.setPrototypeOf?Object.getPrototypeOf:function(ie){return ie.__proto__||Object.getPrototypeOf(ie)})(j)}function U(j){if(void 0===j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return j}function L(j,ue){return(L=Object.setPrototypeOf||function(me,Oe){return me.__proto__=Oe,me})(j,ue)}function J(j,ue,ie){return ue in j?Object.defineProperty(j,ue,{value:ie,enumerable:!0,configurable:!0,writable:!0}):j[ue]=ie,j}var pe=function(j){function ue(){var ie,me;!function T(j,ue){if(!(j instanceof ue))throw new TypeError("Cannot call a class as a function")}(this,ue);for(var Oe=arguments.length,Ue=new Array(Oe),Me=0;Me<Oe;Me++)Ue[Me]=arguments[Me];return me=function $(j,ue){return!ue||"object"!==c(ue)&&"function"!=typeof ue?U(j):ue}(this,(ie=Q(ue)).call.apply(ie,[this].concat(Ue))),J(U(me),"onClick",function(yt){var et=me.props,tt=et.text,Et=et.onCopy,bt=et.options,Ct=r.default.Children.only(et.children),Qt=(0,a.default)(tt,bt);Et&&Et(tt,Qt),Ct&&Ct.props&&"function"==typeof Ct.props.onClick&&Ct.props.onClick(yt)}),me}return function q(j,ue){if("function"!=typeof ue&&null!==ue)throw new TypeError("Super expression must either be null or a function");j.prototype=Object.create(ue&&ue.prototype,{constructor:{value:j,writable:!0,configurable:!0}}),ue&&L(j,ue)}(ue,j),function A(j,ue,ie){ue&&D(j.prototype,ue),ie&&D(j,ie)}(ue,[{key:"render",value:function(){var me=this.props,yt=me.children,et=function h(j,ue){if(null==j)return{};var me,Oe,ie=function E(j,ue){if(null==j)return{};var Oe,Ue,ie={},me=Object.keys(j);for(Ue=0;Ue<me.length;Ue++)!(ue.indexOf(Oe=me[Ue])>=0)&&(ie[Oe]=j[Oe]);return ie}(j,ue);if(Object.getOwnPropertySymbols){var Ue=Object.getOwnPropertySymbols(j);for(Oe=0;Oe<Ue.length;Oe++)!(ue.indexOf(me=Ue[Oe])>=0)&&Object.prototype.propertyIsEnumerable.call(j,me)&&(ie[me]=j[me])}return ie}(me,["text","onCopy","options","children"]),tt=r.default.Children.only(yt);return r.default.cloneElement(tt,function f(j){for(var ue=1;ue<arguments.length;ue++){var ie=null!=arguments[ue]?arguments[ue]:{};ue%2?e(ie,!0).forEach(function(me){J(j,me,ie[me])}):Object.getOwnPropertyDescriptors?Object.defineProperties(j,Object.getOwnPropertyDescriptors(ie)):e(ie).forEach(function(me){Object.defineProperty(j,me,Object.getOwnPropertyDescriptor(ie,me))})}return j}({},et,{onClick:this.onClick}))}}]),ue}(r.default.PureComponent);b.CopyToClipboard=pe,J(pe,"defaultProps",{onCopy:void 0,options:void 0})},43409:(y,b,o)=>{"use strict";var a=o(57021).CopyToClipboard;a.CopyToClipboard=a,y.exports=a},16709:(y,b,o)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.DebounceInput=void 0;var r=u(o(78139)),a=u(o(86906));function u(ie){return ie&&ie.__esModule?ie:{default:ie}}function c(ie){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Oe){return typeof Oe}:function(Oe){return Oe&&"function"==typeof Symbol&&Oe.constructor===Symbol&&Oe!==Symbol.prototype?"symbol":typeof Oe})(ie)}function h(ie,me){var Oe=Object.keys(ie);if(Object.getOwnPropertySymbols){var Ue=Object.getOwnPropertySymbols(ie);me&&(Ue=Ue.filter(function(Me){return Object.getOwnPropertyDescriptor(ie,Me).enumerable})),Oe.push.apply(Oe,Ue)}return Oe}function E(ie){for(var me=1;me<arguments.length;me++){var Oe=null!=arguments[me]?arguments[me]:{};me%2?h(Object(Oe),!0).forEach(function(Ue){j(ie,Ue,Oe[Ue])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ie,Object.getOwnPropertyDescriptors(Oe)):h(Object(Oe)).forEach(function(Ue){Object.defineProperty(ie,Ue,Object.getOwnPropertyDescriptor(Oe,Ue))})}return ie}function D(ie,me){for(var Oe=0;Oe<me.length;Oe++){var Ue=me[Oe];Ue.enumerable=Ue.enumerable||!1,Ue.configurable=!0,"value"in Ue&&(Ue.writable=!0),Object.defineProperty(ie,Ue.key,Ue)}}function Q(ie,me){return(Q=Object.setPrototypeOf||function(Ue,Me){return Ue.__proto__=Me,Ue})(ie,me)}function L(ie){if(void 0===ie)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ie}function pe(ie){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(Oe){return Oe.__proto__||Object.getPrototypeOf(Oe)})(ie)}function j(ie,me,Oe){return me in ie?Object.defineProperty(ie,me,{value:Oe,enumerable:!0,configurable:!0,writable:!0}):ie[me]=Oe,ie}var ue=function(ie){!function $(ie,me){if("function"!=typeof me&&null!==me)throw new TypeError("Super expression must either be null or a function");ie.prototype=Object.create(me&&me.prototype,{constructor:{value:ie,writable:!0,configurable:!0}}),me&&Q(ie,me)}(Oe,ie);var me=function U(ie){var me=function J(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var Me,Ue=pe(ie);if(me){var yt=pe(this).constructor;Me=Reflect.construct(Ue,arguments,yt)}else Me=Ue.apply(this,arguments);return function q(ie,me){return!me||"object"!==c(me)&&"function"!=typeof me?L(ie):me}(this,Me)}}(Oe);function Oe(Ue){var Me;return function T(ie,me){if(!(ie instanceof me))throw new TypeError("Cannot call a class as a function")}(this,Oe),j(L(Me=me.call(this,Ue)),"onChange",function(et){et.persist();var tt=Me.state.value,Et=Me.props.minLength;Me.setState({value:et.target.value},function(){var ze=Me.state.value;ze.length>=Et?Me.notify(et):tt.length>ze.length&&Me.notify(E(E({},et),{},{target:E(E({},et.target),{},{value:""})}))})}),j(L(Me),"onKeyDown",function(et){"Enter"===et.key&&Me.forceNotify(et);var tt=Me.props.onKeyDown;tt&&(et.persist(),tt(et))}),j(L(Me),"onBlur",function(et){Me.forceNotify(et);var tt=Me.props.onBlur;tt&&(et.persist(),tt(et))}),j(L(Me),"createNotifier",function(et){if(et<0)Me.notify=function(){return null};else if(0===et)Me.notify=Me.doNotify;else{var tt=(0,a.default)(function(Et){Me.isDebouncing=!1,Me.doNotify(Et)},et);Me.notify=function(Et){Me.isDebouncing=!0,tt(Et)},Me.flush=function(){return tt.flush()},Me.cancel=function(){Me.isDebouncing=!1,tt.cancel()}}}),j(L(Me),"doNotify",function(){Me.props.onChange.apply(void 0,arguments)}),j(L(Me),"forceNotify",function(et){if(Me.isDebouncing||!(Me.props.debounceTimeout>0)){Me.cancel&&Me.cancel();var Et=Me.state.value;Me.doNotify(Et.length>=Me.props.minLength?et:E(E({},et),{},{target:E(E({},et.target),{},{value:Et})}))}}),Me.isDebouncing=!1,Me.state={value:typeof Ue.value>"u"||null===Ue.value?"":Ue.value},Me.createNotifier(Me.props.debounceTimeout),Me}return function A(ie,me,Oe){me&&D(ie.prototype,me),Oe&&D(ie,Oe)}(Oe,[{key:"componentDidUpdate",value:function(Me){if(!this.isDebouncing){var yt=this.props,et=yt.value,tt=yt.debounceTimeout,Et=Me.debounceTimeout;typeof et<"u"&&Me.value!==et&&this.state.value!==et&&this.setState({value:et}),tt!==Et&&this.createNotifier(tt)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var Dn,Rt,Me=this.props,yt=Me.element,bt=Me.forceNotifyByEnter,Ct=Me.forceNotifyOnBlur,Qt=Me.onKeyDown,ht=Me.onBlur,en=Me.inputRef,nn=function e(ie,me){if(null==ie)return{};var Ue,Me,Oe=function f(ie,me){if(null==ie)return{};var Me,yt,Oe={},Ue=Object.keys(ie);for(yt=0;yt<Ue.length;yt++)!(me.indexOf(Me=Ue[yt])>=0)&&(Oe[Me]=ie[Me]);return Oe}(ie,me);if(Object.getOwnPropertySymbols){var yt=Object.getOwnPropertySymbols(ie);for(Me=0;Me<yt.length;Me++)!(me.indexOf(Ue=yt[Me])>=0)&&Object.prototype.propertyIsEnumerable.call(ie,Ue)&&(Oe[Ue]=ie[Ue])}return Oe}(Me,["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"]),bn=this.state.value;Dn=bt?{onKeyDown:this.onKeyDown}:Qt?{onKeyDown:Qt}:{},Rt=Ct?{onBlur:this.onBlur}:ht?{onBlur:ht}:{};var Xt=en?{ref:en}:{};return r.default.createElement(yt,E(E(E(E({},nn),{},{onChange:this.onChange,value:bn},Dn),Rt),Xt))}}]),Oe}(r.default.PureComponent);b.DebounceInput=ue,j(ue,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0})},41205:(y,b,o)=>{"use strict";var a=o(16709).DebounceInput;a.DebounceInput=a,y.exports=a},85503:(y,b,o)=>{"use strict";var r=o(78139),a=o(18228),u=o(88712);function c(v){for(var R="https://reactjs.org/docs/error-decoder.html?invariant="+v,Z=1;Z<arguments.length;Z++)R+="&args[]="+encodeURIComponent(arguments[Z]);return"Minified React error #"+v+"; visit "+R+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(c(227));var e=new Set,f={};function h(v,R){E(v,R),E(v+"Capture",R)}function E(v,R){for(f[v]=R,v=0;v<R.length;v++)e.add(R[v])}var T=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),D=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,A=Object.prototype.hasOwnProperty,$={},Q={};function J(v,R,Z,Ae,qe,wt,gn){this.acceptsBooleans=2===R||3===R||4===R,this.attributeName=Ae,this.attributeNamespace=qe,this.mustUseProperty=Z,this.propertyName=v,this.type=R,this.sanitizeURL=wt,this.removeEmptyString=gn}var pe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(v){pe[v]=new J(v,0,!1,v,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(v){var R=v[0];pe[R]=new J(R,1,!1,v[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(v){pe[v]=new J(v,2,!1,v.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(v){pe[v]=new J(v,2,!1,v,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(v){pe[v]=new J(v,3,!1,v.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(v){pe[v]=new J(v,3,!0,v,null,!1,!1)}),["capture","download"].forEach(function(v){pe[v]=new J(v,4,!1,v,null,!1,!1)}),["cols","rows","size","span"].forEach(function(v){pe[v]=new J(v,6,!1,v,null,!1,!1)}),["rowSpan","start"].forEach(function(v){pe[v]=new J(v,5,!1,v.toLowerCase(),null,!1,!1)});var j=/[\-:]([a-z])/g;function ue(v){return v[1].toUpperCase()}function ie(v,R,Z,Ae){var qe=pe.hasOwnProperty(R)?pe[R]:null;(null!==qe?0===qe.type:!Ae&&2<R.length&&("o"===R[0]||"O"===R[0])&&("n"===R[1]||"N"===R[1]))||(function L(v,R,Z,Ae){if(null===R||typeof R>"u"||function q(v,R,Z,Ae){if(null!==Z&&0===Z.type)return!1;switch(typeof R){case"function":case"symbol":return!0;case"boolean":return!Ae&&(null!==Z?!Z.acceptsBooleans:"data-"!==(v=v.toLowerCase().slice(0,5))&&"aria-"!==v);default:return!1}}(v,R,Z,Ae))return!0;if(Ae)return!1;if(null!==Z)switch(Z.type){case 3:return!R;case 4:return!1===R;case 5:return isNaN(R);case 6:return isNaN(R)||1>R}return!1}(R,Z,qe,Ae)&&(Z=null),Ae||null===qe?function U(v){return!!A.call(Q,v)||!A.call($,v)&&(D.test(v)?Q[v]=!0:($[v]=!0,!1))}(R)&&(null===Z?v.removeAttribute(R):v.setAttribute(R,""+Z)):qe.mustUseProperty?v[qe.propertyName]=null===Z?3!==qe.type&&"":Z:(R=qe.attributeName,Ae=qe.attributeNamespace,null===Z?v.removeAttribute(R):(Z=3===(qe=qe.type)||4===qe&&!0===Z?"":""+Z,Ae?v.setAttributeNS(Ae,R,Z):v.setAttribute(R,Z))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(v){var R=v.replace(j,ue);pe[R]=new J(R,1,!1,v,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(v){var R=v.replace(j,ue);pe[R]=new J(R,1,!1,v,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(v){var R=v.replace(j,ue);pe[R]=new J(R,1,!1,v,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(v){pe[v]=new J(v,1,!1,v.toLowerCase(),null,!1,!1)}),pe.xlinkHref=new J("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(v){pe[v]=new J(v,1,!1,v.toLowerCase(),null,!0,!0)});var me=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Oe=60103,Ue=60106,Me=60107,yt=60108,et=60114,tt=60109,Et=60110,ze=60112,bt=60113,Ct=60120,Qt=60115,ht=60116,en=60121,nn=60128,bn=60129,Dn=60130,Rt=60131;if("function"==typeof Symbol&&Symbol.for){var Xt=Symbol.for;Oe=Xt("react.element"),Ue=Xt("react.portal"),Me=Xt("react.fragment"),yt=Xt("react.strict_mode"),et=Xt("react.profiler"),tt=Xt("react.provider"),Et=Xt("react.context"),ze=Xt("react.forward_ref"),bt=Xt("react.suspense"),Ct=Xt("react.suspense_list"),Qt=Xt("react.memo"),ht=Xt("react.lazy"),en=Xt("react.block"),Xt("react.scope"),nn=Xt("react.opaque.id"),bn=Xt("react.debug_trace_mode"),Dn=Xt("react.offscreen"),Rt=Xt("react.legacy_hidden")}var kn,un="function"==typeof Symbol&&Symbol.iterator;function _n(v){return null===v||"object"!=typeof v?null:"function"==typeof(v=un&&v[un]||v["@@iterator"])?v:null}function ri(v){if(void 0===kn)try{throw Error()}catch(Z){var R=Z.stack.trim().match(/\n( *(at )?)/);kn=R&&R[1]||""}return"\n"+kn+v}var Ir=!1;function wr(v,R){if(!v||Ir)return"";Ir=!0;var Z=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(R)if(R=function(){throw Error()},Object.defineProperty(R.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(R,[])}catch(Sr){var Ae=Sr}Reflect.construct(v,[],R)}else{try{R.call()}catch(Sr){Ae=Sr}v.call(R.prototype)}else{try{throw Error()}catch(Sr){Ae=Sr}v()}}catch(Sr){if(Sr&&Ae&&"string"==typeof Sr.stack){for(var qe=Sr.stack.split("\n"),wt=Ae.stack.split("\n"),gn=qe.length-1,$n=wt.length-1;1<=gn&&0<=$n&&qe[gn]!==wt[$n];)$n--;for(;1<=gn&&0<=$n;gn--,$n--)if(qe[gn]!==wt[$n]){if(1!==gn||1!==$n)do{if(gn--,0>--$n||qe[gn]!==wt[$n])return"\n"+qe[gn].replace(" at new "," at ")}while(1<=gn&&0<=$n);break}}}finally{Ir=!1,Error.prepareStackTrace=Z}return(v=v?v.displayName||v.name:"")?ri(v):""}function _r(v){switch(v.tag){case 5:return ri(v.type);case 16:return ri("Lazy");case 13:return ri("Suspense");case 19:return ri("SuspenseList");case 0:case 2:case 15:return wr(v.type,!1);case 11:return wr(v.type.render,!1);case 22:return wr(v.type._render,!1);case 1:return wr(v.type,!0);default:return""}}function oi(v){if(null==v)return null;if("function"==typeof v)return v.displayName||v.name||null;if("string"==typeof v)return v;switch(v){case Me:return"Fragment";case Ue:return"Portal";case et:return"Profiler";case yt:return"StrictMode";case bt:return"Suspense";case Ct:return"SuspenseList"}if("object"==typeof v)switch(v.$$typeof){case Et:return(v.displayName||"Context")+".Consumer";case tt:return(v._context.displayName||"Context")+".Provider";case ze:var R=v.render;return R=R.displayName||R.name||"",v.displayName||(""!==R?"ForwardRef("+R+")":"ForwardRef");case Qt:return oi(v.type);case en:return oi(v._render);case ht:R=v._payload,v=v._init;try{return oi(v(R))}catch{}}return null}function Ri(v){switch(typeof v){case"boolean":case"number":case"object":case"string":case"undefined":return v;default:return""}}function Tr(v){var R=v.type;return(v=v.nodeName)&&"input"===v.toLowerCase()&&("checkbox"===R||"radio"===R)}function sn(v){v._valueTracker||(v._valueTracker=function ft(v){var R=Tr(v)?"checked":"value",Z=Object.getOwnPropertyDescriptor(v.constructor.prototype,R),Ae=""+v[R];if(!v.hasOwnProperty(R)&&typeof Z<"u"&&"function"==typeof Z.get&&"function"==typeof Z.set){var qe=Z.get,wt=Z.set;return Object.defineProperty(v,R,{configurable:!0,get:function(){return qe.call(this)},set:function(gn){Ae=""+gn,wt.call(this,gn)}}),Object.defineProperty(v,R,{enumerable:Z.enumerable}),{getValue:function(){return Ae},setValue:function(gn){Ae=""+gn},stopTracking:function(){v._valueTracker=null,delete v[R]}}}}(v))}function At(v){if(!v)return!1;var R=v._valueTracker;if(!R)return!0;var Z=R.getValue(),Ae="";return v&&(Ae=Tr(v)?v.checked?"true":"false":v.value),(v=Ae)!==Z&&(R.setValue(v),!0)}function Ln(v){if(typeof(v=v||(typeof document<"u"?document:void 0))>"u")return null;try{return v.activeElement||v.body}catch{return v.body}}function rr(v,R){return a({},R,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:R.checked??v._wrapperState.initialChecked})}function Lr(v,R){var Z=null==R.defaultValue?"":R.defaultValue,Ae=null!=R.checked?R.checked:R.defaultChecked;Z=Ri(null!=R.value?R.value:Z),v._wrapperState={initialChecked:Ae,initialValue:Z,controlled:"checkbox"===R.type||"radio"===R.type?null!=R.checked:null!=R.value}}function Fi(v,R){null!=(R=R.checked)&&ie(v,"checked",R,!1)}function so(v,R){Fi(v,R);var Z=Ri(R.value),Ae=R.type;if(null!=Z)"number"===Ae?(0===Z&&""===v.value||v.value!=Z)&&(v.value=""+Z):v.value!==""+Z&&(v.value=""+Z);else if("submit"===Ae||"reset"===Ae)return void v.removeAttribute("value");R.hasOwnProperty("value")?Xr(v,R.type,Z):R.hasOwnProperty("defaultValue")&&Xr(v,R.type,Ri(R.defaultValue)),null==R.checked&&null!=R.defaultChecked&&(v.defaultChecked=!!R.defaultChecked)}function Vo(v,R,Z){if(R.hasOwnProperty("value")||R.hasOwnProperty("defaultValue")){var Ae=R.type;if(("submit"===Ae||"reset"===Ae)&&null==R.value)return;R=""+v._wrapperState.initialValue,Z||R===v.value||(v.value=R),v.defaultValue=R}""!==(Z=v.name)&&(v.name=""),v.defaultChecked=!!v._wrapperState.initialChecked,""!==Z&&(v.name=Z)}function Xr(v,R,Z){("number"!==R||Ln(v.ownerDocument)!==v)&&(null==Z?v.defaultValue=""+v._wrapperState.initialValue:v.defaultValue!==""+Z&&(v.defaultValue=""+Z))}function ji(v,R){return v=a({children:void 0},R),(R=function Ni(v){var R="";return r.Children.forEach(v,function(Z){null!=Z&&(R+=Z)}),R}(R.children))&&(v.children=R),v}function jr(v,R,Z,Ae){if(v=v.options,R){R={};for(var qe=0;qe<Z.length;qe++)R["$"+Z[qe]]=!0;for(Z=0;Z<v.length;Z++)qe=R.hasOwnProperty("$"+v[Z].value),v[Z].selected!==qe&&(v[Z].selected=qe),qe&&Ae&&(v[Z].defaultSelected=!0)}else{for(Z=""+Ri(Z),R=null,qe=0;qe<v.length;qe++){if(v[qe].value===Z)return v[qe].selected=!0,void(Ae&&(v[qe].defaultSelected=!0));null!==R||v[qe].disabled||(R=v[qe])}null!==R&&(R.selected=!0)}}function Pr(v,R){if(null!=R.dangerouslySetInnerHTML)throw Error(c(91));return a({},R,{value:void 0,defaultValue:void 0,children:""+v._wrapperState.initialValue})}function Bo(v,R){var Z=R.value;if(null==Z){if(Z=R.children,R=R.defaultValue,null!=Z){if(null!=R)throw Error(c(92));if(Array.isArray(Z)){if(!(1>=Z.length))throw Error(c(93));Z=Z[0]}R=Z}null==R&&(R=""),Z=R}v._wrapperState={initialValue:Ri(Z)}}function cs(v,R){var Z=Ri(R.value),Ae=Ri(R.defaultValue);null!=Z&&((Z=""+Z)!==v.value&&(v.value=Z),null==R.defaultValue&&v.defaultValue!==Z&&(v.defaultValue=Z)),null!=Ae&&(v.defaultValue=""+Ae)}function ts(v){var R=v.textContent;R===v._wrapperState.initialValue&&""!==R&&null!==R&&(v.value=R)}var io={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Vi(v){switch(v){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Pn(v,R){return null==v||"http://www.w3.org/1999/xhtml"===v?Vi(R):"http://www.w3.org/2000/svg"===v&&"foreignObject"===R?"http://www.w3.org/1999/xhtml":v}var Nn,v,Ut=(v=function(v,R){if(v.namespaceURI!==io.svg||"innerHTML"in v)v.innerHTML=R;else{for((Nn=Nn||document.createElement("div")).innerHTML="<svg>"+R.valueOf().toString()+"</svg>",R=Nn.firstChild;v.firstChild;)v.removeChild(v.firstChild);for(;R.firstChild;)v.appendChild(R.firstChild)}},typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(R,Z,Ae,qe){MSApp.execUnsafeLocalFunction(function(){return v(R,Z)})}:v);function ke(v,R){if(R){var Z=v.firstChild;if(Z&&Z===v.lastChild&&3===Z.nodeType)return void(Z.nodeValue=R)}v.textContent=R}var Ie={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Qe=["Webkit","ms","Moz","O"];function Ve(v,R,Z){return null==R||"boolean"==typeof R||""===R?"":Z||"number"!=typeof R||0===R||Ie.hasOwnProperty(v)&&Ie[v]?(""+R).trim():R+"px"}function tn(v,R){for(var Z in v=v.style,R)if(R.hasOwnProperty(Z)){var Ae=0===Z.indexOf("--"),qe=Ve(Z,R[Z],Ae);"float"===Z&&(Z="cssFloat"),Ae?v.setProperty(Z,qe):v[Z]=qe}}Object.keys(Ie).forEach(function(v){Qe.forEach(function(R){R=R+v.charAt(0).toUpperCase()+v.substring(1),Ie[R]=Ie[v]})});var ot=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function xt(v,R){if(R){if(ot[v]&&(null!=R.children||null!=R.dangerouslySetInnerHTML))throw Error(c(137,v));if(null!=R.dangerouslySetInnerHTML){if(null!=R.children)throw Error(c(60));if("object"!=typeof R.dangerouslySetInnerHTML||!("__html"in R.dangerouslySetInnerHTML))throw Error(c(61))}if(null!=R.style&&"object"!=typeof R.style)throw Error(c(62))}}function qt(v,R){if(-1===v.indexOf("-"))return"string"==typeof R.is;switch(v){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function tr(v){return(v=v.target||v.srcElement||window).correspondingUseElement&&(v=v.correspondingUseElement),3===v.nodeType?v.parentNode:v}var vr=null,An=null,yr=null;function Nr(v){if(v=fa(v)){if("function"!=typeof vr)throw Error(c(280));var R=v.stateNode;R&&(R=tc(R),vr(v.stateNode,v.type,R))}}function nr(v){An?yr?yr.push(v):yr=[v]:An=v}function Qn(){if(An){var v=An,R=yr;if(yr=An=null,Nr(v),R)for(v=0;v<R.length;v++)Nr(R[v])}}function dr(v,R){return v(R)}function Wn(v,R,Z,Ae,qe){return v(R,Z,Ae,qe)}function Wt(){}var kt=dr,st=!1,zt=!1;function er(){(null!==An||null!==yr)&&(Wt(),Qn())}function mi(v,R){var Z=v.stateNode;if(null===Z)return null;var Ae=tc(Z);if(null===Ae)return null;Z=Ae[R];e:switch(R){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(Ae=!Ae.disabled)||(Ae=!("button"===(v=v.type)||"input"===v||"select"===v||"textarea"===v)),v=!Ae;break e;default:v=!1}if(v)return null;if(Z&&"function"!=typeof Z)throw Error(c(231,R,typeof Z));return Z}var gi=!1;if(T)try{var Jo={};Object.defineProperty(Jo,"passive",{get:function(){gi=!0}}),window.addEventListener("test",Jo,Jo),window.removeEventListener("test",Jo,Jo)}catch{gi=!1}function os(v,R,Z,Ae,qe,wt,gn,$n,Sr){var Di=Array.prototype.slice.call(arguments,3);try{R.apply(Z,Di)}catch(jo){this.onError(jo)}}var hr=!1,Ii=null,ni=!1,Vr=null,wi={onError:function(v){hr=!0,Ii=v}};function Gi(v,R,Z,Ae,qe,wt,gn,$n,Sr){hr=!1,Ii=null,os.apply(wi,arguments)}function Mo(v){var R=v,Z=v;if(v.alternate)for(;R.return;)R=R.return;else{v=R;do{1026&(R=v).flags&&(Z=R.return),v=R.return}while(v)}return 3===R.tag?Z:null}function As(v){if(13===v.tag){var R=v.memoizedState;if(null===R&&null!==(v=v.alternate)&&(R=v.memoizedState),null!==R)return R.dehydrated}return null}function Ls(v){if(Mo(v)!==v)throw Error(c(188))}function $r(v){if(v=function qr(v){var R=v.alternate;if(!R){if(null===(R=Mo(v)))throw Error(c(188));return R!==v?null:v}for(var Z=v,Ae=R;;){var qe=Z.return;if(null===qe)break;var wt=qe.alternate;if(null===wt){if(null!==(Ae=qe.return)){Z=Ae;continue}break}if(qe.child===wt.child){for(wt=qe.child;wt;){if(wt===Z)return Ls(qe),v;if(wt===Ae)return Ls(qe),R;wt=wt.sibling}throw Error(c(188))}if(Z.return!==Ae.return)Z=qe,Ae=wt;else{for(var gn=!1,$n=qe.child;$n;){if($n===Z){gn=!0,Z=qe,Ae=wt;break}if($n===Ae){gn=!0,Ae=qe,Z=wt;break}$n=$n.sibling}if(!gn){for($n=wt.child;$n;){if($n===Z){gn=!0,Z=wt,Ae=qe;break}if($n===Ae){gn=!0,Ae=wt,Z=qe;break}$n=$n.sibling}if(!gn)throw Error(c(189))}}if(Z.alternate!==Ae)throw Error(c(190))}if(3!==Z.tag)throw Error(c(188));return Z.stateNode.current===Z?v:R}(v),!v)return null;for(var R=v;;){if(5===R.tag||6===R.tag)return R;if(R.child)R.child.return=R,R=R.child;else{if(R===v)break;for(;!R.sibling;){if(!R.return||R.return===v)return null;R=R.return}R.sibling.return=R.return,R=R.sibling}}return null}function Cn(v,R){for(var Z=v.alternate;null!==R;){if(R===v||R===Z)return!0;R=R.return}return!1}var mn,kr,Qi,xo,Ss=!1,bs=[],ko=null,$s=null,ps=null,Ys=new Map,ra=new Map,Do=[],oc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ql(v,R,Z,Ae,qe){return{blockedOn:v,domEventName:R,eventSystemFlags:16|Z,nativeEvent:qe,targetContainers:[Ae]}}function tl(v,R){switch(v){case"focusin":case"focusout":ko=null;break;case"dragenter":case"dragleave":$s=null;break;case"mouseover":case"mouseout":ps=null;break;case"pointerover":case"pointerout":Ys.delete(R.pointerId);break;case"gotpointercapture":case"lostpointercapture":ra.delete(R.pointerId)}}function Da(v,R,Z,Ae,qe,wt){return null===v||v.nativeEvent!==wt?(v=Ql(R,Z,Ae,qe,wt),null!==R&&null!==(R=fa(R))&&kr(R),v):(v.eventSystemFlags|=Ae,R=v.targetContainers,null!==qe&&-1===R.indexOf(qe)&&R.push(qe),v)}function Pl(v){var R=nu(v.target);if(null!==R){var Z=Mo(R);if(null!==Z)if(13===(R=Z.tag)){if(null!==(R=As(Z)))return v.blockedOn=R,void xo(v.lanePriority,function(){u.unstable_runWithPriority(v.priority,function(){Qi(Z)})})}else if(3===R&&Z.stateNode.hydrate)return void(v.blockedOn=3===Z.tag?Z.stateNode.containerInfo:null)}v.blockedOn=null}function Eo(v){if(null!==v.blockedOn)return!1;for(var R=v.targetContainers;0<R.length;){var Z=Sc(v.domEventName,v.eventSystemFlags,R[0],v.nativeEvent);if(null!==Z)return null!==(R=fa(Z))&&kr(R),v.blockedOn=Z,!1;R.shift()}return!0}function Ra(v,R,Z){Eo(v)&&Z.delete(R)}function Fo(){for(Ss=!1;0<bs.length;){var v=bs[0];if(null!==v.blockedOn){null!==(v=fa(v.blockedOn))&&mn(v);break}for(var R=v.targetContainers;0<R.length;){var Z=Sc(v.domEventName,v.eventSystemFlags,R[0],v.nativeEvent);if(null!==Z){v.blockedOn=Z;break}R.shift()}null===v.blockedOn&&bs.shift()}null!==ko&&Eo(ko)&&(ko=null),null!==$s&&Eo($s)&&($s=null),null!==ps&&Eo(ps)&&(ps=null),Ys.forEach(Ra),ra.forEach(Ra)}function Cs(v,R){v.blockedOn===R&&(v.blockedOn=null,Ss||(Ss=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Fo)))}function Ks(v){function R(qe){return Cs(qe,v)}if(0<bs.length){Cs(bs[0],v);for(var Z=1;Z<bs.length;Z++){var Ae=bs[Z];Ae.blockedOn===v&&(Ae.blockedOn=null)}}for(null!==ko&&Cs(ko,v),null!==$s&&Cs($s,v),null!==ps&&Cs(ps,v),Ys.forEach(R),ra.forEach(R),Z=0;Z<Do.length;Z++)(Ae=Do[Z]).blockedOn===v&&(Ae.blockedOn=null);for(;0<Do.length&&null===(Z=Do[0]).blockedOn;)Pl(Z),null===Z.blockedOn&&Do.shift()}function nl(v,R){var Z={};return Z[v.toLowerCase()]=R.toLowerCase(),Z["Webkit"+v]="webkit"+R,Z["Moz"+v]="moz"+R,Z}var ml={animationend:nl("Animation","AnimationEnd"),animationiteration:nl("Animation","AnimationIteration"),animationstart:nl("Animation","AnimationStart"),transitionend:nl("Transition","TransitionEnd")},ma={},Qo={};function Go(v){if(ma[v])return ma[v];if(!ml[v])return v;var Z,R=ml[v];for(Z in R)if(R.hasOwnProperty(Z)&&Z in Qo)return ma[v]=R[Z];return v}T&&(Qo=document.createElement("div").style,"AnimationEvent"in window||(delete ml.animationend.animation,delete ml.animationiteration.animation,delete ml.animationstart.animation),"TransitionEvent"in window||delete ml.transitionend.transition);var ys=Go("animationend"),rs=Go("animationiteration"),Lo=Go("animationstart"),Br=Go("transitionend"),qi=new Map,_t=new Map,On=["abort","abort",ys,"animationEnd",rs,"animationIteration",Lo,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Br,"transitionEnd","waiting","waiting"];function ae(v,R){for(var Z=0;Z<v.length;Z+=2){var Ae=v[Z],qe=v[Z+1];qe="on"+(qe[0].toUpperCase()+qe.slice(1)),_t.set(Ae,R),qi.set(Ae,qe),h(qe,[Ae])}}(0,u.unstable_now)();var on=8;function yn(v){if(1&v)return on=15,1;if(2&v)return on=14,2;if(4&v)return on=13,4;var R=24&v;return 0!==R?(on=12,R):32&v?(on=11,32):0!=(R=192&v)?(on=10,R):256&v?(on=9,256):0!=(R=3584&v)?(on=8,R):4096&v?(on=7,4096):0!=(R=4186112&v)?(on=6,R):0!=(R=62914560&v)?(on=5,R):67108864&v?(on=4,67108864):134217728&v?(on=3,134217728):0!=(R=805306368&v)?(on=2,R):1073741824&v?(on=1,1073741824):(on=8,v)}function eo(v,R){var Z=v.pendingLanes;if(0===Z)return on=0;var Ae=0,qe=0,wt=v.expiredLanes,gn=v.suspendedLanes,$n=v.pingedLanes;if(0!==wt)Ae=wt,qe=on=15;else if(0!=(wt=134217727&Z)){var Sr=wt&~gn;0!==Sr?(Ae=yn(Sr),qe=on):0!=($n&=wt)&&(Ae=yn($n),qe=on)}else 0!=(wt=Z&~gn)?(Ae=yn(wt),qe=on):0!==$n&&(Ae=yn($n),qe=on);if(0===Ae)return 0;if(Ae=Z&((0>(Ae=31-Fl(Ae))?0:1<<Ae)<<1)-1,0!==R&&R!==Ae&&!(R&gn)){if(yn(R),qe<=on)return R;on=qe}if(0!==(R=v.entangledLanes))for(v=v.entanglements,R&=Ae;0<R;)Ae|=v[Z=31-Fl(R)],R&=~(qe=1<<Z);return Ae}function js(v){return 0!=(v=-1073741825&v.pendingLanes)?v:1073741824&v?1073741824:0}function hs(v,R){switch(v){case 15:return 1;case 14:return 2;case 12:return 0===(v=ia(24&~R))?hs(10,R):v;case 10:return 0===(v=ia(192&~R))?hs(8,R):v;case 8:return 0===(v=ia(3584&~R))&&0===(v=ia(4186112&~R))&&(v=512),v;case 2:return 0===(R=ia(805306368&~R))&&(R=268435456),R}throw Error(c(358,v))}function ia(v){return v&-v}function ta(v){for(var R=[],Z=0;31>Z;Z++)R.push(v);return R}function Ul(v,R,Z){v.pendingLanes|=R;var Ae=R-1;v.suspendedLanes&=Ae,v.pingedLanes&=Ae,(v=v.eventTimes)[R=31-Fl(R)]=Z}var Fl=Math.clz32?Math.clz32:function ru(v){return 0===v?32:31-(zc(v)/Uu|0)|0},zc=Math.log,Uu=Math.LN2,bl=u.unstable_UserBlockingPriority,Ou=u.unstable_runWithPriority,Za=!0;function ec(v,R,Z,Ae){st||Wt();var qe=Ec,wt=st;st=!0;try{Wn(qe,v,R,Z,Ae)}finally{(st=wt)||er()}}function wa(v,R,Z,Ae){Ou(bl,Ec.bind(null,v,R,Z,Ae))}function Ec(v,R,Z,Ae){var qe;if(Za)if((qe=0==(4&R))&&0<bs.length&&-1<oc.indexOf(v))v=Ql(null,v,R,Z,Ae),bs.push(v);else{var wt=Sc(v,R,Z,Ae);if(null===wt)qe&&tl(v,Ae);else{if(qe){if(-1<oc.indexOf(v))return v=Ql(wt,v,R,Z,Ae),void bs.push(v);if(function Ga(v,R,Z,Ae,qe){switch(R){case"focusin":return ko=Da(ko,v,R,Z,Ae,qe),!0;case"dragenter":return $s=Da($s,v,R,Z,Ae,qe),!0;case"mouseover":return ps=Da(ps,v,R,Z,Ae,qe),!0;case"pointerover":var wt=qe.pointerId;return Ys.set(wt,Da(Ys.get(wt)||null,v,R,Z,Ae,qe)),!0;case"gotpointercapture":return ra.set(wt=qe.pointerId,Da(ra.get(wt)||null,v,R,Z,Ae,qe)),!0}return!1}(wt,v,R,Z,Ae))return;tl(v,Ae)}ja(v,R,Ae,null,Z)}}}function Sc(v,R,Z,Ae){var qe=tr(Ae);if(null!==(qe=nu(qe))){var wt=Mo(qe);if(null===wt)qe=null;else{var gn=wt.tag;if(13===gn){if(null!==(qe=As(wt)))return qe;qe=null}else if(3===gn){if(wt.stateNode.hydrate)return 3===wt.tag?wt.stateNode.containerInfo:null;qe=null}else wt!==qe&&(qe=null)}}return ja(v,R,Ae,qe,Z),null}var dl=null,Kc=null,Vc=null;function cu(){if(Vc)return Vc;var v,Ae,R=Kc,Z=R.length,qe="value"in dl?dl.value:dl.textContent,wt=qe.length;for(v=0;v<Z&&R[v]===qe[v];v++);var gn=Z-v;for(Ae=1;Ae<=gn&&R[Z-Ae]===qe[wt-Ae];Ae++);return Vc=qe.slice(v,1<Ae?1-Ae:void 0)}function xs(v){var R=v.keyCode;return"charCode"in v?0===(v=v.charCode)&&13===R&&(v=13):v=R,10===v&&(v=13),32<=v||13===v?v:0}function Tc(){return!0}function cc(){return!1}function ka(v){function R(Z,Ae,qe,wt,gn){for(var $n in this._reactName=Z,this._targetInst=qe,this.type=Ae,this.nativeEvent=wt,this.target=gn,this.currentTarget=null,v)v.hasOwnProperty($n)&&(this[$n]=(Z=v[$n])?Z(wt):wt[$n]);return this.isDefaultPrevented=(null!=wt.defaultPrevented?wt.defaultPrevented:!1===wt.returnValue)?Tc:cc,this.isPropagationStopped=cc,this}return a(R.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Z=this.nativeEvent;Z&&(Z.preventDefault?Z.preventDefault():"unknown"!=typeof Z.returnValue&&(Z.returnValue=!1),this.isDefaultPrevented=Tc)},stopPropagation:function(){var Z=this.nativeEvent;Z&&(Z.stopPropagation?Z.stopPropagation():"unknown"!=typeof Z.cancelBubble&&(Z.cancelBubble=!0),this.isPropagationStopped=Tc)},persist:function(){},isPersistent:Tc}),R}var za,vl,Ka,gl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(v){return v.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cc=ka(gl),bc=a({},gl,{view:0,detail:0}),Mc=ka(bc),Ua=a({},bc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ut,button:0,buttons:0,relatedTarget:function(v){return void 0===v.relatedTarget?v.fromElement===v.srcElement?v.toElement:v.fromElement:v.relatedTarget},movementX:function(v){return"movementX"in v?v.movementX:(v!==Ka&&(Ka&&"mousemove"===v.type?(za=v.screenX-Ka.screenX,vl=v.screenY-Ka.screenY):vl=za=0,Ka=v),za)},movementY:function(v){return"movementY"in v?v.movementY:vl}}),Xc=ka(Ua),Ba=ka(a({},Ua,{dataTransfer:0})),Fc=ka(a({},bc,{relatedTarget:0})),Xa=ka(a({},gl,{animationName:0,elapsedTime:0,pseudoElement:0})),Oc=a({},gl,{clipboardData:function(v){return"clipboardData"in v?v.clipboardData:window.clipboardData}}),Ac=ka(Oc),yl=ka(a({},gl,{data:0})),Dc={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zs={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Au={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function St(v){var R=this.nativeEvent;return R.getModifierState?R.getModifierState(v):!!(v=Au[v])&&!!R[v]}function ut(){return St}var Je=a({},bc,{key:function(v){if(v.key){var R=Dc[v.key]||v.key;if("Unidentified"!==R)return R}return"keypress"===v.type?13===(v=xs(v))?"Enter":String.fromCharCode(v):"keydown"===v.type||"keyup"===v.type?Zs[v.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ut,charCode:function(v){return"keypress"===v.type?xs(v):0},keyCode:function(v){return"keydown"===v.type||"keyup"===v.type?v.keyCode:0},which:function(v){return"keypress"===v.type?xs(v):"keydown"===v.type||"keyup"===v.type?v.keyCode:0}}),hn=ka(Je),wo=ka(a({},Ua,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Si=ka(a({},bc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ut})),Xs=ka(a({},gl,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rc=a({},Ua,{deltaX:function(v){return"deltaX"in v?v.deltaX:"wheelDeltaX"in v?-v.wheelDeltaX:0},deltaY:function(v){return"deltaY"in v?v.deltaY:"wheelDeltaY"in v?-v.wheelDeltaY:"wheelDelta"in v?-v.wheelDelta:0},deltaZ:0,deltaMode:0}),Zl=ka(Rc),qc=[9,13,27,32],gc=T&&"CompositionEvent"in window,zl=null;T&&"documentMode"in document&&(zl=document.documentMode);var Ju=T&&"TextEvent"in window&&!zl,eu=T&&(!gc||zl&&8<zl&&11>=zl),Cu=String.fromCharCode(32),uc=!1;function tu(v,R){switch(v){case"keyup":return-1!==qc.indexOf(R.keyCode);case"keydown":return 229!==R.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ll(v){return"object"==typeof(v=v.detail)&&"data"in v?v.data:null}var rl=!1,Ce={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function gt(v){var R=v&&v.nodeName&&v.nodeName.toLowerCase();return"input"===R?!!Ce[v.type]:"textarea"===R}function Ke(v,R,Z,Ae){nr(Ae),0<(R=ac(R,"onChange")).length&&(Z=new Cc("onChange","change",null,Z,Ae),v.push({event:Z,listeners:R}))}var Gt=null,xn=null;function lr(v){qo(v,0)}function Fr(v){if(At(uu(v)))return v}function Oi(v,R){if("change"===v)return R}var ai=!1;if(T){var Dr;if(T){var ei="oninput"in document;if(!ei){var Yo=document.createElement("div");Yo.setAttribute("oninput","return;"),ei="function"==typeof Yo.oninput}Dr=ei}else Dr=!1;ai=Dr&&(!document.documentMode||9<document.documentMode)}function Kn(){Gt&&(Gt.detachEvent("onpropertychange",zr),xn=Gt=null)}function zr(v){if("value"===v.propertyName&&Fr(xn)){var R=[];if(Ke(R,xn,v,tr(v)),v=lr,st)v(R);else{st=!0;try{dr(v,R)}finally{st=!1,er()}}}}function Gr(v,R,Z){"focusin"===v?(Kn(),xn=Z,(Gt=R).attachEvent("onpropertychange",zr)):"focusout"===v&&Kn()}function ce(v){if("selectionchange"===v||"keyup"===v||"keydown"===v)return Fr(xn)}function Le(v,R){if("click"===v)return Fr(R)}function Be(v,R){if("input"===v||"change"===v)return Fr(R)}var Kt="function"==typeof Object.is?Object.is:function Bt(v,R){return v===R&&(0!==v||1/v==1/R)||v!=v&&R!=R},Bn=Object.prototype.hasOwnProperty;function sr(v,R){if(Kt(v,R))return!0;if("object"!=typeof v||null===v||"object"!=typeof R||null===R)return!1;var Z=Object.keys(v),Ae=Object.keys(R);if(Z.length!==Ae.length)return!1;for(Ae=0;Ae<Z.length;Ae++)if(!Bn.call(R,Z[Ae])||!Kt(v[Z[Ae]],R[Z[Ae]]))return!1;return!0}function xr(v){for(;v&&v.firstChild;)v=v.firstChild;return v}function fi(v,R){var Ae,Z=xr(v);for(v=0;Z;){if(3===Z.nodeType){if(Ae=v+Z.textContent.length,v<=R&&Ae>=R)return{node:Z,offset:R-v};v=Ae}e:{for(;Z;){if(Z.nextSibling){Z=Z.nextSibling;break e}Z=Z.parentNode}Z=void 0}Z=xr(Z)}}function Xi(v,R){return!(!v||!R)&&(v===R||(!v||3!==v.nodeType)&&(R&&3===R.nodeType?Xi(v,R.parentNode):"contains"in v?v.contains(R):!!v.compareDocumentPosition&&!!(16&v.compareDocumentPosition(R))))}function So(){for(var v=window,R=Ln();R instanceof v.HTMLIFrameElement;){try{var Z="string"==typeof R.contentWindow.location.href}catch{Z=!1}if(!Z)break;R=Ln((v=R.contentWindow).document)}return R}function Ms(v){var R=v&&v.nodeName&&v.nodeName.toLowerCase();return R&&("input"===R&&("text"===v.type||"search"===v.type||"tel"===v.type||"url"===v.type||"password"===v.type)||"textarea"===R||"true"===v.contentEditable)}var Hs=T&&"documentMode"in document&&11>=document.documentMode,us=null,Ma=null,ss=null,se=!1;function Dt(v,R,Z){var Ae=Z.window===Z?Z.document:9===Z.nodeType?Z:Z.ownerDocument;se||null==us||us!==Ln(Ae)||(Ae="selectionStart"in(Ae=us)&&Ms(Ae)?{start:Ae.selectionStart,end:Ae.selectionEnd}:{anchorNode:(Ae=(Ae.ownerDocument&&Ae.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:Ae.anchorOffset,focusNode:Ae.focusNode,focusOffset:Ae.focusOffset},ss&&sr(ss,Ae)||(ss=Ae,0<(Ae=ac(Ma,"onSelect")).length&&(R=new Cc("onSelect","select",null,R,Z),v.push({event:R,listeners:Ae}),R.target=us)))}ae("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),ae("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),ae(On,2);for(var Xe="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),rn=0;rn<Xe.length;rn++)_t.set(Xe[rn],0);E("onMouseEnter",["mouseout","mouseover"]),E("onMouseLeave",["mouseout","mouseover"]),E("onPointerEnter",["pointerout","pointerover"]),E("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ii=new Set("cancel close invalid load scroll toggle".split(" ").concat(zn));function Ai(v,R,Z){var Ae=v.type||"unknown-event";v.currentTarget=Z,function Wi(v,R,Z,Ae,qe,wt,gn,$n,Sr){if(Gi.apply(this,arguments),hr){if(!hr)throw Error(c(198));var Di=Ii;hr=!1,Ii=null,ni||(ni=!0,Vr=Di)}}(Ae,R,void 0,v),v.currentTarget=null}function qo(v,R){R=0!=(4&R);for(var Z=0;Z<v.length;Z++){var Ae=v[Z],qe=Ae.event;Ae=Ae.listeners;e:{var wt=void 0;if(R)for(var gn=Ae.length-1;0<=gn;gn--){var $n=Ae[gn],Sr=$n.instance,Di=$n.currentTarget;if($n=$n.listener,Sr!==wt&&qe.isPropagationStopped())break e;Ai(qe,$n,Di),wt=Sr}else for(gn=0;gn<Ae.length;gn++){if(Sr=($n=Ae[gn]).instance,Di=$n.currentTarget,$n=$n.listener,Sr!==wt&&qe.isPropagationStopped())break e;Ai(qe,$n,Di),wt=Sr}}}if(ni)throw v=Vr,ni=!1,Vr=null,v}function as(v,R){var Z=Iu(R),Ae=v+"__bubble";Z.has(Ae)||(Bl(R,v,2,!1),Z.add(Ae))}var oa="_reactListening"+Math.random().toString(36).slice(2);function ks(v){v[oa]||(v[oa]=!0,e.forEach(function(R){ii.has(R)||Ds(R,!1,v,null),Ds(R,!0,v,null)}))}function Ds(v,R,Z,Ae){var qe=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,wt=Z;if("selectionchange"===v&&9!==Z.nodeType&&(wt=Z.ownerDocument),null!==Ae&&!R&&ii.has(v)){if("scroll"!==v)return;qe|=2,wt=Ae}var gn=Iu(wt),$n=v+"__"+(R?"capture":"bubble");gn.has($n)||(R&&(qe|=4),Bl(wt,v,qe,R),gn.add($n))}function Bl(v,R,Z,Ae){var qe=_t.get(R);switch(void 0===qe?2:qe){case 0:qe=ec;break;case 1:qe=wa;break;default:qe=Ec}Z=qe.bind(null,R,Z,v),qe=void 0,!gi||"touchstart"!==R&&"touchmove"!==R&&"wheel"!==R||(qe=!0),v.addEventListener(R,Z,Ae?void 0===qe||{capture:!0,passive:qe}:void 0!==qe&&{passive:qe})}function ja(v,R,Z,Ae,qe){var wt=Ae;if(!(1&R||2&R||null===Ae))e:for(;;){if(null===Ae)return;var gn=Ae.tag;if(3===gn||4===gn){var $n=Ae.stateNode.containerInfo;if($n===qe||8===$n.nodeType&&$n.parentNode===qe)break;if(4===gn)for(gn=Ae.return;null!==gn;){var Sr=gn.tag;if((3===Sr||4===Sr)&&((Sr=gn.stateNode.containerInfo)===qe||8===Sr.nodeType&&Sr.parentNode===qe))return;gn=gn.return}for(;null!==$n;){if(null===(gn=nu($n)))return;if(5===(Sr=gn.tag)||6===Sr){Ae=wt=gn;continue e}$n=$n.parentNode}}Ae=Ae.return}!function Kr(v,R,Z){if(zt)return v(R,Z);zt=!0;try{kt(v,R,Z)}finally{zt=!1,er()}}(function(){var Di=wt,jo=tr(Z),Ns=[];e:{var uo=qi.get(v);if(void 0!==uo){var Ws=Cc,pa=v;switch(v){case"keypress":if(0===xs(Z))break e;case"keydown":case"keyup":Ws=hn;break;case"focusin":pa="focus",Ws=Fc;break;case"focusout":pa="blur",Ws=Fc;break;case"beforeblur":case"afterblur":Ws=Fc;break;case"click":if(2===Z.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ws=Xc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ws=Ba;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ws=Si;break;case ys:case rs:case Lo:Ws=Xa;break;case Br:Ws=Xs;break;case"scroll":Ws=Mc;break;case"wheel":Ws=Zl;break;case"copy":case"cut":case"paste":Ws=Ac;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ws=wo}var ya=0!=(4&R),hi=!ya&&"scroll"===v,Jr=ya?null!==uo?uo+"Capture":null:uo;ya=[];for(var _o,pi=Di;null!==pi;){var go=(_o=pi).stateNode;if(5===_o.tag&&null!==go&&(_o=go,null!==Jr&&null!=(go=mi(pi,Jr))&&ya.push(Ea(pi,go,_o))),hi)break;pi=pi.return}0<ya.length&&(uo=new Ws(uo,pa,null,Z,jo),Ns.push({event:uo,listeners:ya}))}}if(!(7&R)){if(Ws="mouseout"===v||"pointerout"===v,(!(uo="mouseover"===v||"pointerover"===v)||16&R||!(pa=Z.relatedTarget||Z.fromElement)||!nu(pa)&&!pa[dc])&&(Ws||uo)&&(uo=jo.window===jo?jo:(uo=jo.ownerDocument)?uo.defaultView||uo.parentWindow:window,Ws?(Ws=Di,null!==(pa=(pa=Z.relatedTarget||Z.toElement)?nu(pa):null)&&(pa!==(hi=Mo(pa))||5!==pa.tag&&6!==pa.tag)&&(pa=null)):(Ws=null,pa=Di),Ws!==pa)){if(ya=Xc,go="onMouseLeave",Jr="onMouseEnter",pi="mouse",("pointerout"===v||"pointerover"===v)&&(ya=wo,go="onPointerLeave",Jr="onPointerEnter",pi="pointer"),hi=null==Ws?uo:uu(Ws),_o=null==pa?uo:uu(pa),(uo=new ya(go,pi+"leave",Ws,Z,jo)).target=hi,uo.relatedTarget=_o,go=null,nu(jo)===Di&&((ya=new ya(Jr,pi+"enter",pa,Z,jo)).target=_o,ya.relatedTarget=hi,go=ya),hi=go,Ws&&pa)t:{for(Jr=pa,pi=0,_o=ya=Ws;_o;_o=Bc(_o))pi++;for(_o=0,go=Jr;go;go=Bc(go))_o++;for(;0<pi-_o;)ya=Bc(ya),pi--;for(;0<_o-pi;)Jr=Bc(Jr),_o--;for(;pi--;){if(ya===Jr||null!==Jr&&ya===Jr.alternate)break t;ya=Bc(ya),Jr=Bc(Jr)}ya=null}else ya=null;null!==Ws&&_e(Ns,uo,Ws,ya,!1),null!==pa&&null!==hi&&_e(Ns,hi,pa,ya,!0)}if("select"===(Ws=(uo=Di?uu(Di):window).nodeName&&uo.nodeName.toLowerCase())||"input"===Ws&&"file"===uo.type)var al=Oi;else if(gt(uo))if(ai)al=Be;else{al=ce;var Bs=Gr}else(Ws=uo.nodeName)&&"input"===Ws.toLowerCase()&&("checkbox"===uo.type||"radio"===uo.type)&&(al=Le);switch(al&&(al=al(v,Di))?Ke(Ns,al,Z,jo):(Bs&&Bs(v,uo,Di),"focusout"===v&&(Bs=uo._wrapperState)&&Bs.controlled&&"number"===uo.type&&Xr(uo,"number",uo.value)),Bs=Di?uu(Di):window,v){case"focusin":(gt(Bs)||"true"===Bs.contentEditable)&&(us=Bs,Ma=Di,ss=null);break;case"focusout":ss=Ma=us=null;break;case"mousedown":se=!0;break;case"contextmenu":case"mouseup":case"dragend":se=!1,Dt(Ns,Z,jo);break;case"selectionchange":if(Hs)break;case"keydown":case"keyup":Dt(Ns,Z,jo)}var Ja;if(gc)e:{switch(v){case"compositionstart":var kl="onCompositionStart";break e;case"compositionend":kl="onCompositionEnd";break e;case"compositionupdate":kl="onCompositionUpdate";break e}kl=void 0}else rl?tu(v,Z)&&(kl="onCompositionEnd"):"keydown"===v&&229===Z.keyCode&&(kl="onCompositionStart");kl&&(eu&&"ko"!==Z.locale&&(rl||"onCompositionStart"!==kl?"onCompositionEnd"===kl&&rl&&(Ja=cu()):(Kc="value"in(dl=jo)?dl.value:dl.textContent,rl=!0)),0<(Bs=ac(Di,kl)).length&&(kl=new yl(kl,v,null,Z,jo),Ns.push({event:kl,listeners:Bs}),(Ja||null!==(Ja=Ll(Z)))&&(kl.data=Ja))),(Ja=Ju?function qa(v,R){switch(v){case"compositionend":return Ll(R);case"keypress":return 32!==R.which?null:(uc=!0,Cu);case"textInput":return(v=R.data)===Cu&&uc?null:v;default:return null}}(v,Z):function X(v,R){if(rl)return"compositionend"===v||!gc&&tu(v,R)?(v=cu(),Vc=Kc=dl=null,rl=!1,v):null;switch(v){case"paste":default:return null;case"keypress":if(!(R.ctrlKey||R.altKey||R.metaKey)||R.ctrlKey&&R.altKey){if(R.char&&1<R.char.length)return R.char;if(R.which)return String.fromCharCode(R.which)}return null;case"compositionend":return eu&&"ko"!==R.locale?null:R.data}}(v,Z))&&0<(Di=ac(Di,"onBeforeInput")).length&&(jo=new yl("onBeforeInput","beforeinput",null,Z,jo),Ns.push({event:jo,listeners:Di}),jo.data=Ja)}qo(Ns,R)})}function Ea(v,R,Z){return{instance:v,listener:R,currentTarget:Z}}function ac(v,R){for(var Z=R+"Capture",Ae=[];null!==v;){var qe=v,wt=qe.stateNode;5===qe.tag&&null!==wt&&(qe=wt,null!=(wt=mi(v,Z))&&Ae.unshift(Ea(v,wt,qe)),null!=(wt=mi(v,R))&&Ae.push(Ea(v,wt,qe))),v=v.return}return Ae}function Bc(v){if(null===v)return null;do{v=v.return}while(v&&5!==v.tag);return v||null}function _e(v,R,Z,Ae,qe){for(var wt=R._reactName,gn=[];null!==Z&&Z!==Ae;){var $n=Z,Sr=$n.alternate,Di=$n.stateNode;if(null!==Sr&&Sr===Ae)break;5===$n.tag&&null!==Di&&($n=Di,qe?null!=(Sr=mi(Z,wt))&&gn.unshift(Ea(Z,Sr,$n)):qe||null!=(Sr=mi(Z,wt))&&gn.push(Ea(Z,Sr,$n))),Z=Z.return}0!==gn.length&&v.push({event:R,listeners:gn})}function de(){}var Fe=null,je=null;function lt(v,R){switch(v){case"button":case"input":case"select":case"textarea":return!!R.autoFocus}return!1}function Vt(v,R){return"textarea"===v||"option"===v||"noscript"===v||"string"==typeof R.children||"number"==typeof R.children||"object"==typeof R.dangerouslySetInnerHTML&&null!==R.dangerouslySetInnerHTML&&null!=R.dangerouslySetInnerHTML.__html}var Ht="function"==typeof setTimeout?setTimeout:void 0,wn="function"==typeof clearTimeout?clearTimeout:void 0;function ar(v){(1===v.nodeType||9===v.nodeType&&null!=(v=v.body))&&(v.textContent="")}function cr(v){for(;null!=v;v=v.nextSibling){var R=v.nodeType;if(1===R||3===R)break}return v}function _i(v){v=v.previousSibling;for(var R=0;v;){if(8===v.nodeType){var Z=v.data;if("$"===Z||"$!"===Z||"$?"===Z){if(0===R)return v;R--}else"/$"===Z&&R++}v=v.previousSibling}return null}var ao=0,Wo=Math.random().toString(36).slice(2),Qs="__reactFiber$"+Wo,Pa="__reactProps$"+Wo,dc="__reactContainer$"+Wo,Tu="__reactEvents$"+Wo;function nu(v){var R=v[Qs];if(R)return R;for(var Z=v.parentNode;Z;){if(R=Z[dc]||Z[Qs]){if(Z=R.alternate,null!==R.child||null!==Z&&null!==Z.child)for(v=_i(v);null!==v;){if(Z=v[Qs])return Z;v=_i(v)}return R}Z=(v=Z).parentNode}return null}function fa(v){return!(v=v[Qs]||v[dc])||5!==v.tag&&6!==v.tag&&13!==v.tag&&3!==v.tag?null:v}function uu(v){if(5===v.tag||6===v.tag)return v.stateNode;throw Error(c(33))}function tc(v){return v[Pa]||null}function Iu(v){var R=v[Tu];return void 0===R&&(R=v[Tu]=new Set),R}var Ol=[],il=-1;function du(v){return{current:v}}function Al(v){0>il||(v.current=Ol[il],Ol[il]=null,il--)}function xl(v,R){il++,Ol[il]=v.current,v.current=R}var Gc={},xa=du(Gc),iu=du(!1),En=Gc;function Pc(v,R){var Z=v.type.contextTypes;if(!Z)return Gc;var Ae=v.stateNode;if(Ae&&Ae.__reactInternalMemoizedUnmaskedChildContext===R)return Ae.__reactInternalMemoizedMaskedChildContext;var wt,qe={};for(wt in Z)qe[wt]=R[wt];return Ae&&((v=v.stateNode).__reactInternalMemoizedUnmaskedChildContext=R,v.__reactInternalMemoizedMaskedChildContext=qe),qe}function Du(v){return null!=v.childContextTypes}function fl(){Al(iu),Al(xa)}function pl(v,R,Z){if(xa.current!==Gc)throw Error(c(168));xl(xa,R),xl(iu,Z)}function Ed(v,R,Z){var Ae=v.stateNode;if(v=R.childContextTypes,"function"!=typeof Ae.getChildContext)return Z;for(var qe in Ae=Ae.getChildContext())if(!(qe in v))throw Error(c(108,oi(R)||"Unknown",qe));return a({},Z,Ae)}function ju(v){return v=(v=v.stateNode)&&v.__reactInternalMemoizedMergedChildContext||Gc,En=xa.current,xl(xa,v),xl(iu,iu.current),!0}function dd(v,R,Z){var Ae=v.stateNode;if(!Ae)throw Error(c(169));Z?(v=Ed(v,R,En),Ae.__reactInternalMemoizedMergedChildContext=v,Al(iu),Al(xa),xl(xa,v)):Al(iu),xl(iu,Z)}var fu=null,fd=null,Sd=u.unstable_runWithPriority,Cd=u.unstable_scheduleCallback,xp=u.unstable_cancelCallback,nc=u.unstable_shouldYield,Qu=u.unstable_requestPaint,ap=u.unstable_now,ua=u.unstable_getCurrentPriorityLevel,lp=u.unstable_ImmediatePriority,Bu=u.unstable_UserBlockingPriority,jd=u.unstable_NormalPriority,lc=u.unstable_LowPriority,zo=u.unstable_IdlePriority,pu={},cp=void 0!==Qu?Qu:function(){},fc=null,Zd=null,Ru=!1,$o=ap(),be=1e4>$o?ap:function(){return ap()-$o};function Ne(){switch(ua()){case lp:return 99;case Bu:return 98;case jd:return 97;case lc:return 96;case zo:return 95;default:throw Error(c(332))}}function ve(v){switch(v){case 99:return lp;case 98:return Bu;case 97:return jd;case 96:return lc;case 95:return zo;default:throw Error(c(332))}}function Ze(v,R){return v=ve(v),Sd(v,R)}function Ot(v,R,Z){return v=ve(v),Cd(v,R,Z)}function fn(){if(null!==Zd){var v=Zd;Zd=null,xp(v)}k()}function k(){if(!Ru&&null!==fc){Ru=!0;var v=0;try{var R=fc;Ze(99,function(){for(;v<R.length;v++){var Z=R[v];do{Z=Z(!0)}while(null!==Z)}}),fc=null}catch(Z){throw null!==fc&&(fc=fc.slice(v+1)),Cd(lp,fn),Z}finally{Ru=!1}}}var w=me.ReactCurrentBatchConfig;function C(v,R){if(v&&v.defaultProps){for(var Z in R=a({},R),v=v.defaultProps)void 0===R[Z]&&(R[Z]=v[Z]);return R}return R}var N=du(null),B=null,re=null,he=null;function Te(){he=re=B=null}function $e(v){var R=N.current;Al(N),v.type._context._currentValue=R}function it(v,R){for(;null!==v;){var Z=v.alternate;if((v.childLanes&R)===R){if(null===Z||(Z.childLanes&R)===R)break;Z.childLanes|=R}else v.childLanes|=R,null!==Z&&(Z.childLanes|=R);v=v.return}}function $t(v,R){B=v,he=re=null,null!==(v=v.dependencies)&&null!==v.firstContext&&(v.lanes&R&&(_d=!0),v.firstContext=null)}function pn(v,R){if(he!==v&&!1!==R&&0!==R)if(("number"!=typeof R||1073741823===R)&&(he=v,R=1073741823),R={context:v,observedBits:R,next:null},null===re){if(null===B)throw Error(c(308));re=R,B.dependencies={lanes:0,firstContext:R,responders:null}}else re=re.next=R;return v._currentValue}var Fn=!1;function Zn(v){v.updateQueue={baseState:v.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function or(v,R){R.updateQueue===(v=v.updateQueue)&&(R.updateQueue={baseState:v.baseState,firstBaseUpdate:v.firstBaseUpdate,lastBaseUpdate:v.lastBaseUpdate,shared:v.shared,effects:v.effects})}function Hr(v,R){return{eventTime:v,lane:R,tag:0,payload:null,callback:null,next:null}}function Ci(v,R){if(null!==(v=v.updateQueue)){var Z=(v=v.shared).pending;null===Z?R.next=R:(R.next=Z.next,Z.next=R),v.pending=R}}function Zi(v,R){var Z=v.updateQueue,Ae=v.alternate;if(null===Ae||Z!==(Ae=Ae.updateQueue))null===(v=Z.lastBaseUpdate)?Z.firstBaseUpdate=R:v.next=R,Z.lastBaseUpdate=R;else{var qe=null,wt=null;if(null!==(Z=Z.firstBaseUpdate)){do{var gn={eventTime:Z.eventTime,lane:Z.lane,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null};null===wt?qe=wt=gn:wt=wt.next=gn,Z=Z.next}while(null!==Z);null===wt?qe=wt=R:wt=wt.next=R}else qe=wt=R;v.updateQueue=Z={baseState:Ae.baseState,firstBaseUpdate:qe,lastBaseUpdate:wt,shared:Ae.shared,effects:Ae.effects}}}function $i(v,R,Z,Ae){var qe=v.updateQueue;Fn=!1;var wt=qe.firstBaseUpdate,gn=qe.lastBaseUpdate,$n=qe.shared.pending;if(null!==$n){qe.shared.pending=null;var Sr=$n,Di=Sr.next;Sr.next=null,null===gn?wt=Di:gn.next=Di,gn=Sr;var jo=v.alternate;if(null!==jo){var Ns=(jo=jo.updateQueue).lastBaseUpdate;Ns!==gn&&(null===Ns?jo.firstBaseUpdate=Di:Ns.next=Di,jo.lastBaseUpdate=Sr)}}if(null!==wt){for(Ns=qe.baseState,gn=0,jo=Di=Sr=null;;){var uo=wt.eventTime;if((Ae&($n=wt.lane))===$n){null!==jo&&(jo=jo.next={eventTime:uo,lane:0,tag:wt.tag,payload:wt.payload,callback:wt.callback,next:null});e:{var Ws=v,pa=wt;switch($n=R,uo=Z,pa.tag){case 1:if("function"==typeof(Ws=pa.payload)){Ns=Ws.call(uo,Ns,$n);break e}Ns=Ws;break e;case 3:Ws.flags=-4097&Ws.flags|64;case 0:if(null==($n="function"==typeof(Ws=pa.payload)?Ws.call(uo,Ns,$n):Ws))break e;Ns=a({},Ns,$n);break e;case 2:Fn=!0}}null!==wt.callback&&(v.flags|=32,null===($n=qe.effects)?qe.effects=[wt]:$n.push(wt))}else uo={eventTime:uo,lane:$n,tag:wt.tag,payload:wt.payload,callback:wt.callback,next:null},null===jo?(Di=jo=uo,Sr=Ns):jo=jo.next=uo,gn|=$n;if(null===(wt=wt.next)){if(null===($n=qe.shared.pending))break;wt=$n.next,$n.next=null,qe.lastBaseUpdate=$n,qe.shared.pending=null}}null===jo&&(Sr=Ns),qe.baseState=Sr,qe.firstBaseUpdate=Di,qe.lastBaseUpdate=jo,vp|=gn,v.lanes=gn,v.memoizedState=Ns}}function Co(v,R,Z){if(v=R.effects,R.effects=null,null!==v)for(R=0;R<v.length;R++){var Ae=v[R],qe=Ae.callback;if(null!==qe){if(Ae.callback=null,Ae=Z,"function"!=typeof qe)throw Error(c(191,qe));qe.call(Ae)}}}var Ho=(new r.Component).refs;function co(v,R,Z,Ae){Z=null==(Z=Z(Ae,R=v.memoizedState))?R:a({},R,Z),v.memoizedState=Z,0===v.lanes&&(v.updateQueue.baseState=Z)}var vo={isMounted:function(v){return!!(v=v._reactInternals)&&Mo(v)===v},enqueueSetState:function(v,R,Z){v=v._reactInternals;var Ae=Lu(),qe=uf(v),wt=Hr(Ae,qe);wt.payload=R,null!=Z&&(wt.callback=Z),Ci(v,wt),Jf(v,qe,Ae)},enqueueReplaceState:function(v,R,Z){v=v._reactInternals;var Ae=Lu(),qe=uf(v),wt=Hr(Ae,qe);wt.tag=1,wt.payload=R,null!=Z&&(wt.callback=Z),Ci(v,wt),Jf(v,qe,Ae)},enqueueForceUpdate:function(v,R){v=v._reactInternals;var Z=Lu(),Ae=uf(v),qe=Hr(Z,Ae);qe.tag=2,null!=R&&(qe.callback=R),Ci(v,qe),Jf(v,Ae,Z)}};function ms(v,R,Z,Ae,qe,wt,gn){return"function"==typeof(v=v.stateNode).shouldComponentUpdate?v.shouldComponentUpdate(Ae,wt,gn):!(R.prototype&&R.prototype.isPureReactComponent&&sr(Z,Ae)&&sr(qe,wt))}function ds(v,R,Z){var Ae=!1,qe=Gc,wt=R.contextType;return"object"==typeof wt&&null!==wt?wt=pn(wt):(qe=Du(R)?En:xa.current,wt=(Ae=null!=(Ae=R.contextTypes))?Pc(v,qe):Gc),R=new R(Z,wt),v.memoizedState=null!=R.state?R.state:null,R.updater=vo,v.stateNode=R,R._reactInternals=v,Ae&&((v=v.stateNode).__reactInternalMemoizedUnmaskedChildContext=qe,v.__reactInternalMemoizedMaskedChildContext=wt),R}function Ts(v,R,Z,Ae){v=R.state,"function"==typeof R.componentWillReceiveProps&&R.componentWillReceiveProps(Z,Ae),"function"==typeof R.UNSAFE_componentWillReceiveProps&&R.UNSAFE_componentWillReceiveProps(Z,Ae),R.state!==v&&vo.enqueueReplaceState(R,R.state,null)}function el(v,R,Z,Ae){var qe=v.stateNode;qe.props=Z,qe.state=v.memoizedState,qe.refs=Ho,Zn(v);var wt=R.contextType;"object"==typeof wt&&null!==wt?qe.context=pn(wt):(wt=Du(R)?En:xa.current,qe.context=Pc(v,wt)),$i(v,Z,qe,Ae),qe.state=v.memoizedState,"function"==typeof(wt=R.getDerivedStateFromProps)&&(co(v,R,wt,Z),qe.state=v.memoizedState),"function"==typeof R.getDerivedStateFromProps||"function"==typeof qe.getSnapshotBeforeUpdate||"function"!=typeof qe.UNSAFE_componentWillMount&&"function"!=typeof qe.componentWillMount||(R=qe.state,"function"==typeof qe.componentWillMount&&qe.componentWillMount(),"function"==typeof qe.UNSAFE_componentWillMount&&qe.UNSAFE_componentWillMount(),R!==qe.state&&vo.enqueueReplaceState(qe,qe.state,null),$i(v,Z,qe,Ae),qe.state=v.memoizedState),"function"==typeof qe.componentDidMount&&(v.flags|=4)}var ga=Array.isArray;function va(v,R,Z){if(null!==(v=Z.ref)&&"function"!=typeof v&&"object"!=typeof v){if(Z._owner){if(Z=Z._owner){if(1!==Z.tag)throw Error(c(309));var Ae=Z.stateNode}if(!Ae)throw Error(c(147,v));var qe=""+v;return null!==R&&null!==R.ref&&"function"==typeof R.ref&&R.ref._stringRef===qe?R.ref:((R=function(wt){var gn=Ae.refs;gn===Ho&&(gn=Ae.refs={}),null===wt?delete gn[qe]:gn[qe]=wt})._stringRef=qe,R)}if("string"!=typeof v)throw Error(c(284));if(!Z._owner)throw Error(c(290,v))}return v}function vc(v,R){if("textarea"!==v.type)throw Error(c(31,"[object Object]"===Object.prototype.toString.call(R)?"object with keys {"+Object.keys(R).join(", ")+"}":R))}function Gu(v){function R(hi,Jr){if(v){var pi=hi.lastEffect;null!==pi?(pi.nextEffect=Jr,hi.lastEffect=Jr):hi.firstEffect=hi.lastEffect=Jr,Jr.nextEffect=null,Jr.flags=8}}function Z(hi,Jr){if(!v)return null;for(;null!==Jr;)R(hi,Jr),Jr=Jr.sibling;return null}function Ae(hi,Jr){for(hi=new Map;null!==Jr;)hi.set(null!==Jr.key?Jr.key:Jr.index,Jr),Jr=Jr.sibling;return hi}function qe(hi,Jr){return(hi=Sp(hi,Jr)).index=0,hi.sibling=null,hi}function wt(hi,Jr,pi){return hi.index=pi,v?null!==(pi=hi.alternate)?(pi=pi.index)<Jr?(hi.flags=2,Jr):pi:(hi.flags=2,Jr):Jr}function gn(hi){return v&&null===hi.alternate&&(hi.flags=2),hi}function $n(hi,Jr,pi,_o){return null===Jr||6!==Jr.tag?((Jr=Jh(pi,hi.mode,_o)).return=hi,Jr):((Jr=qe(Jr,pi)).return=hi,Jr)}function Sr(hi,Jr,pi,_o){return null!==Jr&&Jr.elementType===pi.type?((_o=qe(Jr,pi.props)).ref=va(hi,Jr,pi),_o.return=hi,_o):((_o=Th(pi.type,pi.key,pi.props,null,hi.mode,_o)).ref=va(hi,Jr,pi),_o.return=hi,_o)}function Di(hi,Jr,pi,_o){return null===Jr||4!==Jr.tag||Jr.stateNode.containerInfo!==pi.containerInfo||Jr.stateNode.implementation!==pi.implementation?((Jr=bh(pi,hi.mode,_o)).return=hi,Jr):((Jr=qe(Jr,pi.children||[])).return=hi,Jr)}function jo(hi,Jr,pi,_o,go){return null===Jr||7!==Jr.tag?((Jr=Rd(pi,hi.mode,_o,go)).return=hi,Jr):((Jr=qe(Jr,pi)).return=hi,Jr)}function Ns(hi,Jr,pi){if("string"==typeof Jr||"number"==typeof Jr)return(Jr=Jh(""+Jr,hi.mode,pi)).return=hi,Jr;if("object"==typeof Jr&&null!==Jr){switch(Jr.$$typeof){case Oe:return(pi=Th(Jr.type,Jr.key,Jr.props,null,hi.mode,pi)).ref=va(hi,null,Jr),pi.return=hi,pi;case Ue:return(Jr=bh(Jr,hi.mode,pi)).return=hi,Jr}if(ga(Jr)||_n(Jr))return(Jr=Rd(Jr,hi.mode,pi,null)).return=hi,Jr;vc(hi,Jr)}return null}function uo(hi,Jr,pi,_o){var go=null!==Jr?Jr.key:null;if("string"==typeof pi||"number"==typeof pi)return null!==go?null:$n(hi,Jr,""+pi,_o);if("object"==typeof pi&&null!==pi){switch(pi.$$typeof){case Oe:return pi.key===go?pi.type===Me?jo(hi,Jr,pi.props.children,_o,go):Sr(hi,Jr,pi,_o):null;case Ue:return pi.key===go?Di(hi,Jr,pi,_o):null}if(ga(pi)||_n(pi))return null!==go?null:jo(hi,Jr,pi,_o,null);vc(hi,pi)}return null}function Ws(hi,Jr,pi,_o,go){if("string"==typeof _o||"number"==typeof _o)return $n(Jr,hi=hi.get(pi)||null,""+_o,go);if("object"==typeof _o&&null!==_o){switch(_o.$$typeof){case Oe:return hi=hi.get(null===_o.key?pi:_o.key)||null,_o.type===Me?jo(Jr,hi,_o.props.children,go,_o.key):Sr(Jr,hi,_o,go);case Ue:return Di(Jr,hi=hi.get(null===_o.key?pi:_o.key)||null,_o,go)}if(ga(_o)||_n(_o))return jo(Jr,hi=hi.get(pi)||null,_o,go,null);vc(Jr,_o)}return null}return function(hi,Jr,pi,_o){var go="object"==typeof pi&&null!==pi&&pi.type===Me&&null===pi.key;go&&(pi=pi.props.children);var al="object"==typeof pi&&null!==pi;if(al)switch(pi.$$typeof){case Oe:e:{for(al=pi.key,go=Jr;null!==go;){if(go.key===al){if(7===go.tag){if(pi.type===Me){Z(hi,go.sibling),(Jr=qe(go,pi.props.children)).return=hi,hi=Jr;break e}}else if(go.elementType===pi.type){Z(hi,go.sibling),(Jr=qe(go,pi.props)).ref=va(hi,go,pi),Jr.return=hi,hi=Jr;break e}Z(hi,go);break}R(hi,go),go=go.sibling}pi.type===Me?((Jr=Rd(pi.props.children,hi.mode,_o,pi.key)).return=hi,hi=Jr):((_o=Th(pi.type,pi.key,pi.props,null,hi.mode,_o)).ref=va(hi,Jr,pi),_o.return=hi,hi=_o)}return gn(hi);case Ue:e:{for(go=pi.key;null!==Jr;){if(Jr.key===go){if(4===Jr.tag&&Jr.stateNode.containerInfo===pi.containerInfo&&Jr.stateNode.implementation===pi.implementation){Z(hi,Jr.sibling),(Jr=qe(Jr,pi.children||[])).return=hi,hi=Jr;break e}Z(hi,Jr);break}R(hi,Jr),Jr=Jr.sibling}(Jr=bh(pi,hi.mode,_o)).return=hi,hi=Jr}return gn(hi)}if("string"==typeof pi||"number"==typeof pi)return pi=""+pi,null!==Jr&&6===Jr.tag?(Z(hi,Jr.sibling),(Jr=qe(Jr,pi)).return=hi,hi=Jr):(Z(hi,Jr),(Jr=Jh(pi,hi.mode,_o)).return=hi,hi=Jr),gn(hi);if(ga(pi))return function pa(hi,Jr,pi,_o){for(var go=null,al=null,Bs=Jr,Ja=Jr=0,kl=null;null!==Bs&&Ja<pi.length;Ja++){Bs.index>Ja?(kl=Bs,Bs=null):kl=Bs.sibling;var ll=uo(hi,Bs,pi[Ja],_o);if(null===ll){null===Bs&&(Bs=kl);break}v&&Bs&&null===ll.alternate&&R(hi,Bs),Jr=wt(ll,Jr,Ja),null===al?go=ll:al.sibling=ll,al=ll,Bs=kl}if(Ja===pi.length)return Z(hi,Bs),go;if(null===Bs){for(;Ja<pi.length;Ja++)null!==(Bs=Ns(hi,pi[Ja],_o))&&(Jr=wt(Bs,Jr,Ja),null===al?go=Bs:al.sibling=Bs,al=Bs);return go}for(Bs=Ae(hi,Bs);Ja<pi.length;Ja++)null!==(kl=Ws(Bs,hi,Ja,pi[Ja],_o))&&(v&&null!==kl.alternate&&Bs.delete(null===kl.key?Ja:kl.key),Jr=wt(kl,Jr,Ja),null===al?go=kl:al.sibling=kl,al=kl);return v&&Bs.forEach(function(df){return R(hi,df)}),go}(hi,Jr,pi,_o);if(_n(pi))return function ya(hi,Jr,pi,_o){var go=_n(pi);if("function"!=typeof go)throw Error(c(150));if(null==(pi=go.call(pi)))throw Error(c(151));for(var al=go=null,Bs=Jr,Ja=Jr=0,kl=null,ll=pi.next();null!==Bs&&!ll.done;Ja++,ll=pi.next()){Bs.index>Ja?(kl=Bs,Bs=null):kl=Bs.sibling;var df=uo(hi,Bs,ll.value,_o);if(null===df){null===Bs&&(Bs=kl);break}v&&Bs&&null===df.alternate&&R(hi,Bs),Jr=wt(df,Jr,Ja),null===al?go=df:al.sibling=df,al=df,Bs=kl}if(ll.done)return Z(hi,Bs),go;if(null===Bs){for(;!ll.done;Ja++,ll=pi.next())null!==(ll=Ns(hi,ll.value,_o))&&(Jr=wt(ll,Jr,Ja),null===al?go=ll:al.sibling=ll,al=ll);return go}for(Bs=Ae(hi,Bs);!ll.done;Ja++,ll=pi.next())null!==(ll=Ws(Bs,hi,Ja,ll.value,_o))&&(v&&null!==ll.alternate&&Bs.delete(null===ll.key?Ja:ll.key),Jr=wt(ll,Jr,Ja),null===al?go=ll:al.sibling=ll,al=ll);return v&&Bs.forEach(function(kf){return R(hi,kf)}),go}(hi,Jr,pi,_o);if(al&&vc(hi,pi),typeof pi>"u"&&!go)switch(hi.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,oi(hi.type)||"Component"))}return Z(hi,Jr)}}var wl=Gu(!0),Yc=Gu(!1),Nl={},_u=du(Nl),jc=du(Nl),rd=du(Nl);function pd(v){if(v===Nl)throw Error(c(174));return v}function Pu(v,R){switch(xl(rd,R),xl(jc,v),xl(_u,Nl),v=R.nodeType){case 9:case 11:R=(R=R.documentElement)?R.namespaceURI:Pn(null,"");break;default:R=Pn(R=(v=8===v?R.parentNode:R).namespaceURI||null,v=v.tagName)}Al(_u),xl(_u,R)}function Ku(){Al(_u),Al(jc),Al(rd)}function Td(v){pd(rd.current);var R=pd(_u.current),Z=Pn(R,v.type);R!==Z&&(xl(jc,v),xl(_u,Z))}function af(v){jc.current===v&&(Al(_u),Al(jc))}var xc=du(0);function up(v){for(var R=v;null!==R;){if(13===R.tag){var Z=R.memoizedState;if(null!==Z&&(null===(Z=Z.dehydrated)||"$?"===Z.data||"$!"===Z.data))return R}else if(19===R.tag&&void 0!==R.memoizedProps.revealOrder){if(64&R.flags)return R}else if(null!==R.child){R.child.return=R,R=R.child;continue}if(R===v)break;for(;null===R.sibling;){if(null===R.return||R.return===v)return null;R=R.return}R.sibling.return=R.return,R=R.sibling}return null}var bd=null,Ld=null,Xu=!1;function Gf(v,R){var Z=ld(5,null,null,0);Z.elementType="DELETED",Z.type="DELETED",Z.stateNode=R,Z.return=v,Z.flags=8,null!==v.lastEffect?(v.lastEffect.nextEffect=Z,v.lastEffect=Z):v.firstEffect=v.lastEffect=Z}function Kl(v,R){switch(v.tag){case 5:return null!==(R=1!==R.nodeType||v.type.toLowerCase()!==R.nodeName.toLowerCase()?null:R)&&(v.stateNode=R,!0);case 6:return null!==(R=""===v.pendingProps||3!==R.nodeType?null:R)&&(v.stateNode=R,!0);default:return!1}}function ne(v){if(Xu){var R=Ld;if(R){var Z=R;if(!Kl(v,R)){if(!(R=cr(Z.nextSibling))||!Kl(v,R))return v.flags=-1025&v.flags|2,Xu=!1,void(bd=v);Gf(bd,Z)}bd=v,Ld=cr(R.firstChild)}else v.flags=-1025&v.flags|2,Xu=!1,bd=v}}function De(v){for(v=v.return;null!==v&&5!==v.tag&&3!==v.tag&&13!==v.tag;)v=v.return;bd=v}function vt(v){if(v!==bd)return!1;if(!Xu)return De(v),Xu=!0,!1;var R=v.type;if(5!==v.tag||"head"!==R&&"body"!==R&&!Vt(R,v.memoizedProps))for(R=Ld;R;)Gf(v,R),R=cr(R.nextSibling);if(De(v),13===v.tag){if(!(v=null!==(v=v.memoizedState)?v.dehydrated:null))throw Error(c(317));e:{for(v=v.nextSibling,R=0;v;){if(8===v.nodeType){var Z=v.data;if("/$"===Z){if(0===R){Ld=cr(v.nextSibling);break e}R--}else"$"!==Z&&"$!"!==Z&&"$?"!==Z||R++}v=v.nextSibling}Ld=null}}else Ld=bd?cr(v.stateNode.nextSibling):null;return!0}function Lt(){Ld=bd=null,Xu=!1}var Tn=[];function Yr(){for(var v=0;v<Tn.length;v++)Tn[v]._workInProgressVersionPrimary=null;Tn.length=0}var zi=me.ReactCurrentDispatcher,Vs=me.ReactCurrentBatchConfig,ol=0,Va=null,pc=null,ou=null,Fu=!1,I_=!1;function zd(){throw Error(c(321))}function kh(v,R){if(null===R)return!1;for(var Z=0;Z<R.length&&Z<v.length;Z++)if(!Kt(v[Z],R[Z]))return!1;return!0}function $h(v,R,Z,Ae,qe,wt){if(ol=wt,Va=R,R.memoizedState=null,R.updateQueue=null,R.lanes=0,zi.current=null===v||null===v.memoizedState?_p:vf,v=Z(Ae,qe),I_){wt=0;do{if(I_=!1,!(25>wt))throw Error(c(301));wt+=1,ou=pc=null,R.updateQueue=null,zi.current=hp,v=Z(Ae,qe)}while(I_)}if(zi.current=lf,R=null!==pc&&null!==pc.next,ol=0,ou=pc=Va=null,Fu=!1,R)throw Error(c(300));return v}function Yf(){var v={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ou?Va.memoizedState=ou=v:ou=ou.next=v,ou}function jp(){if(null===pc){var v=Va.alternate;v=null!==v?v.memoizedState:null}else v=pc.next;var R=null===ou?Va.memoizedState:ou.next;if(null!==R)ou=R,pc=v;else{if(null===v)throw Error(c(310));v={memoizedState:(pc=v).memoizedState,baseState:pc.baseState,baseQueue:pc.baseQueue,queue:pc.queue,next:null},null===ou?Va.memoizedState=ou=v:ou=ou.next=v}return ou}function Rf(v,R){return"function"==typeof R?R(v):R}function fh(v){var R=jp(),Z=R.queue;if(null===Z)throw Error(c(311));Z.lastRenderedReducer=v;var Ae=pc,qe=Ae.baseQueue,wt=Z.pending;if(null!==wt){if(null!==qe){var gn=qe.next;qe.next=wt.next,wt.next=gn}Ae.baseQueue=qe=wt,Z.pending=null}if(null!==qe){Ae=Ae.baseState;var $n=gn=wt=null,Sr=qe=qe.next;do{var Di=Sr.lane;if((ol&Di)===Di)null!==$n&&($n=$n.next={lane:0,action:Sr.action,eagerReducer:Sr.eagerReducer,eagerState:Sr.eagerState,next:null}),Ae=Sr.eagerReducer===v?Sr.eagerState:v(Ae,Sr.action);else{var jo={lane:Di,action:Sr.action,eagerReducer:Sr.eagerReducer,eagerState:Sr.eagerState,next:null};null===$n?(gn=$n=jo,wt=Ae):$n=$n.next=jo,Va.lanes|=Di,vp|=Di}Sr=Sr.next}while(null!==Sr&&Sr!==qe);null===$n?wt=Ae:$n.next=gn,Kt(Ae,R.memoizedState)||(_d=!0),R.memoizedState=Ae,R.baseState=wt,R.baseQueue=$n,Z.lastRenderedState=Ae}return[R.memoizedState,Z.dispatch]}function dp(v){var R=jp(),Z=R.queue;if(null===Z)throw Error(c(311));Z.lastRenderedReducer=v;var Ae=Z.dispatch,qe=Z.pending,wt=R.memoizedState;if(null!==qe){Z.pending=null;var gn=qe=qe.next;do{wt=v(wt,gn.action),gn=gn.next}while(gn!==qe);Kt(wt,R.memoizedState)||(_d=!0),R.memoizedState=wt,null===R.baseQueue&&(R.baseState=wt),Z.lastRenderedState=wt}return[wt,Ae]}function Wa(v,R,Z){var Ae=R._getVersion;Ae=Ae(R._source);var qe=R._workInProgressVersionPrimary;if(null!==qe?v=qe===Ae:(v=(ol&(v=v.mutableReadLanes))===v)&&(R._workInProgressVersionPrimary=Ae,Tn.push(R)),v)return Z(R._source);throw Tn.push(R),Error(c(350))}function mf(v,R,Z,Ae){var qe=id;if(null===qe)throw Error(c(349));var wt=R._getVersion,gn=wt(R._source),$n=zi.current,Sr=$n.useState(function(){return Wa(qe,R,Z)}),Di=Sr[1],jo=Sr[0];Sr=ou;var Ns=v.memoizedState,uo=Ns.refs,Ws=uo.getSnapshot,pa=Ns.source;Ns=Ns.subscribe;var ya=Va;return v.memoizedState={refs:uo,source:R,subscribe:Ae},$n.useEffect(function(){uo.getSnapshot=Z,uo.setSnapshot=Di;var hi=wt(R._source);if(!Kt(gn,hi)){hi=Z(R._source),Kt(jo,hi)||(Di(hi),hi=uf(ya),qe.mutableReadLanes|=hi&qe.pendingLanes),qe.entangledLanes|=hi=qe.mutableReadLanes;for(var Jr=qe.entanglements,pi=hi;0<pi;){var _o=31-Fl(pi),go=1<<_o;Jr[_o]|=hi,pi&=~go}}},[Z,R,Ae]),$n.useEffect(function(){return Ae(R._source,function(){var hi=uo.getSnapshot,Jr=uo.setSnapshot;try{Jr(hi(R._source));var pi=uf(ya);qe.mutableReadLanes|=pi&qe.pendingLanes}catch(_o){Jr(function(){throw _o})}})},[R,Ae]),Kt(Ws,Z)&&Kt(pa,R)&&Kt(Ns,Ae)||((v={pending:null,dispatch:null,lastRenderedReducer:Rf,lastRenderedState:jo}).dispatch=Di=gf.bind(null,Va,v),Sr.queue=v,Sr.baseQueue=null,jo=Wa(qe,R,Z),Sr.memoizedState=Sr.baseState=jo),jo}function Xl(v,R,Z){return mf(jp(),v,R,Z)}function kd(v){var R=Yf();return"function"==typeof v&&(v=v()),R.memoizedState=R.baseState=v,v=(v=R.queue={pending:null,dispatch:null,lastRenderedReducer:Rf,lastRenderedState:v}).dispatch=gf.bind(null,Va,v),[R.memoizedState,v]}function Zp(v,R,Z,Ae){return v={tag:v,create:R,destroy:Z,deps:Ae,next:null},null===(R=Va.updateQueue)?(Va.updateQueue=R={lastEffect:null},R.lastEffect=v.next=v):null===(Z=R.lastEffect)?R.lastEffect=v.next=v:(Ae=Z.next,Z.next=v,v.next=Ae,R.lastEffect=v),v}function p_(v){return Yf().memoizedState={current:v}}function qu(){return jp().memoizedState}function ed(v,R,Z,Ae){var qe=Yf();Va.flags|=v,qe.memoizedState=Zp(1|R,Z,void 0,void 0===Ae?null:Ae)}function fp(v,R,Z,Ae){var qe=jp();Ae=void 0===Ae?null:Ae;var wt=void 0;if(null!==pc){var gn=pc.memoizedState;if(wt=gn.destroy,null!==Ae&&kh(Ae,gn.deps))return void Zp(R,Z,wt,Ae)}Va.flags|=v,qe.memoizedState=Zp(1|R,Z,wt,Ae)}function __(v,R){return ed(516,4,v,R)}function jf(v,R){return fp(516,4,v,R)}function wp(v,R){return fp(4,2,v,R)}function ph(v,R){return"function"==typeof R?(v=v(),R(v),function(){R(null)}):null!=R?(v=v(),R.current=v,function(){R.current=null}):void 0}function $d(v,R,Z){return Z=null!=Z?Z.concat([v]):null,fp(4,2,ph.bind(null,R,v),Z)}function Zf(){}function h_(v,R){var Z=jp();R=void 0===R?null:R;var Ae=Z.memoizedState;return null!==Ae&&null!==R&&kh(R,Ae[1])?Ae[0]:(Z.memoizedState=[v,R],v)}function Hh(v,R){var Z=jp();R=void 0===R?null:R;var Ae=Z.memoizedState;return null!==Ae&&null!==R&&kh(R,Ae[1])?Ae[0]:(v=v(),Z.memoizedState=[v,R],v)}function pp(v,R){var Z=Ne();Ze(98>Z?98:Z,function(){v(!0)}),Ze(97<Z?97:Z,function(){var Ae=Vs.transition;Vs.transition=1;try{v(!1),R()}finally{Vs.transition=Ae}})}function gf(v,R,Z){var Ae=Lu(),qe=uf(v),wt={lane:qe,action:Z,eagerReducer:null,eagerState:null,next:null},gn=R.pending;if(null===gn?wt.next=wt:(wt.next=gn.next,gn.next=wt),R.pending=wt,gn=v.alternate,v===Va||null!==gn&&gn===Va)I_=Fu=!0;else{if(0===v.lanes&&(null===gn||0===gn.lanes)&&null!==(gn=R.lastRenderedReducer))try{var $n=R.lastRenderedState,Sr=gn($n,Z);if(wt.eagerReducer=gn,wt.eagerState=Sr,Kt(Sr,$n))return}catch{}Jf(v,qe,Ae)}}var lf={readContext:pn,useCallback:zd,useContext:zd,useEffect:zd,useImperativeHandle:zd,useLayoutEffect:zd,useMemo:zd,useReducer:zd,useRef:zd,useState:zd,useDebugValue:zd,useDeferredValue:zd,useTransition:zd,useMutableSource:zd,useOpaqueIdentifier:zd,unstable_isNewReconciler:!1},_p={readContext:pn,useCallback:function(v,R){return Yf().memoizedState=[v,void 0===R?null:R],v},useContext:pn,useEffect:__,useImperativeHandle:function(v,R,Z){return Z=null!=Z?Z.concat([v]):null,ed(4,2,ph.bind(null,R,v),Z)},useLayoutEffect:function(v,R){return ed(4,2,v,R)},useMemo:function(v,R){var Z=Yf();return R=void 0===R?null:R,v=v(),Z.memoizedState=[v,R],v},useReducer:function(v,R,Z){var Ae=Yf();return R=void 0!==Z?Z(R):R,Ae.memoizedState=Ae.baseState=R,v=(v=Ae.queue={pending:null,dispatch:null,lastRenderedReducer:v,lastRenderedState:R}).dispatch=gf.bind(null,Va,v),[Ae.memoizedState,v]},useRef:p_,useState:kd,useDebugValue:Zf,useDeferredValue:function(v){var R=kd(v),Z=R[0],Ae=R[1];return __(function(){var qe=Vs.transition;Vs.transition=1;try{Ae(v)}finally{Vs.transition=qe}},[v]),Z},useTransition:function(){var v=kd(!1),R=v[0];return p_(v=pp.bind(null,v[1])),[v,R]},useMutableSource:function(v,R,Z){var Ae=Yf();return Ae.memoizedState={refs:{getSnapshot:R,setSnapshot:null},source:v,subscribe:Z},mf(Ae,v,R,Z)},useOpaqueIdentifier:function(){if(Xu){var v=!1,R=function gs(v){return{$$typeof:nn,toString:v,valueOf:v}}(function(){throw v||(v=!0,Z("r:"+(ao++).toString(36))),Error(c(355))}),Z=kd(R)[1];return!(2&Va.mode)&&(Va.flags|=516,Zp(5,function(){Z("r:"+(ao++).toString(36))},void 0,null)),R}return kd(R="r:"+(ao++).toString(36)),R},unstable_isNewReconciler:!1},vf={readContext:pn,useCallback:h_,useContext:pn,useEffect:jf,useImperativeHandle:$d,useLayoutEffect:wp,useMemo:Hh,useReducer:fh,useRef:qu,useState:function(){return fh(Rf)},useDebugValue:Zf,useDeferredValue:function(v){var R=fh(Rf),Z=R[0],Ae=R[1];return jf(function(){var qe=Vs.transition;Vs.transition=1;try{Ae(v)}finally{Vs.transition=qe}},[v]),Z},useTransition:function(){var v=fh(Rf)[0];return[qu().current,v]},useMutableSource:Xl,useOpaqueIdentifier:function(){return fh(Rf)[0]},unstable_isNewReconciler:!1},hp={readContext:pn,useCallback:h_,useContext:pn,useEffect:jf,useImperativeHandle:$d,useLayoutEffect:wp,useMemo:Hh,useReducer:dp,useRef:qu,useState:function(){return dp(Rf)},useDebugValue:Zf,useDeferredValue:function(v){var R=dp(Rf),Z=R[0],Ae=R[1];return jf(function(){var qe=Vs.transition;Vs.transition=1;try{Ae(v)}finally{Vs.transition=qe}},[v]),Z},useTransition:function(){var v=dp(Rf)[0];return[qu().current,v]},useMutableSource:Xl,useOpaqueIdentifier:function(){return dp(Rf)[0]},unstable_isNewReconciler:!1},Yu=me.ReactCurrentOwner,_d=!1;function xu(v,R,Z,Ae){R.child=null===v?Yc(R,null,Z,Ae):wl(R,v.child,Z,Ae)}function zp(v,R,Z,Ae,qe){Z=Z.render;var wt=R.ref;return $t(R,qe),Ae=$h(v,R,Z,Ae,wt,qe),null===v||_d?(R.flags|=1,xu(v,R,Ae,qe),R.child):(R.updateQueue=v.updateQueue,R.flags&=-517,v.lanes&=~qe,mp(v,R,qe))}function Md(v,R,Z,Ae,qe,wt){if(null===v){var gn=Z.type;return"function"!=typeof gn||Q_(gn)||void 0!==gn.defaultProps||null!==Z.compare||void 0!==Z.defaultProps?((v=Th(Z.type,null,Ae,R,R.mode,wt)).ref=R.ref,v.return=R,R.child=v):(R.tag=15,R.type=gn,F_(v,R,gn,Ae,qe,wt))}return gn=v.child,qe&wt||!(Z=null!==(Z=Z.compare)?Z:sr)(qe=gn.memoizedProps,Ae)||v.ref!==R.ref?(R.flags|=1,(v=Sp(gn,Ae)).ref=R.ref,v.return=R,R.child=v):mp(v,R,wt)}function F_(v,R,Z,Ae,qe,wt){if(null!==v&&sr(v.memoizedProps,Ae)&&v.ref===R.ref){if(_d=!1,0==(wt&qe))return R.lanes=v.lanes,mp(v,R,wt);16384&v.flags&&(_d=!0)}return _h(v,R,Z,Ae,wt)}function Uh(v,R,Z){var Ae=R.pendingProps,qe=Ae.children,wt=null!==v?v.memoizedState:null;if("hidden"===Ae.mode||"unstable-defer-without-hiding"===Ae.mode)if(4&R.mode){if(!(1073741824&Z))return v=null!==wt?wt.baseLanes|Z:Z,R.lanes=R.childLanes=1073741824,R.memoizedState={baseLanes:v},gd(0,v),null;R.memoizedState={baseLanes:0},gd(0,null!==wt?wt.baseLanes:Z)}else R.memoizedState={baseLanes:0},gd(0,Z);else null!==wt?(Ae=wt.baseLanes|Z,R.memoizedState=null):Ae=Z,gd(0,Ae);return xu(v,R,qe,Z),R.child}function cm(v,R){var Z=R.ref;(null===v&&null!==Z||null!==v&&v.ref!==Z)&&(R.flags|=128)}function _h(v,R,Z,Ae,qe){var wt=Du(Z)?En:xa.current;return wt=Pc(R,wt),$t(R,qe),Z=$h(v,R,Z,Ae,wt,qe),null===v||_d?(R.flags|=1,xu(v,R,Z,qe),R.child):(R.updateQueue=v.updateQueue,R.flags&=-517,v.lanes&=~qe,mp(v,R,qe))}function um(v,R,Z,Ae,qe){if(Du(Z)){var wt=!0;ju(R)}else wt=!1;if($t(R,qe),null===R.stateNode)null!==v&&(v.alternate=null,R.alternate=null,R.flags|=2),ds(R,Z,Ae),el(R,Z,Ae,qe),Ae=!0;else if(null===v){var gn=R.stateNode,$n=R.memoizedProps;gn.props=$n;var Sr=gn.context,Di=Z.contextType;Di="object"==typeof Di&&null!==Di?pn(Di):Pc(R,Di=Du(Z)?En:xa.current);var jo=Z.getDerivedStateFromProps,Ns="function"==typeof jo||"function"==typeof gn.getSnapshotBeforeUpdate;Ns||"function"!=typeof gn.UNSAFE_componentWillReceiveProps&&"function"!=typeof gn.componentWillReceiveProps||($n!==Ae||Sr!==Di)&&Ts(R,gn,Ae,Di),Fn=!1;var uo=R.memoizedState;gn.state=uo,$i(R,Ae,gn,qe),Sr=R.memoizedState,$n!==Ae||uo!==Sr||iu.current||Fn?("function"==typeof jo&&(co(R,Z,jo,Ae),Sr=R.memoizedState),($n=Fn||ms(R,Z,$n,Ae,uo,Sr,Di))?(Ns||"function"!=typeof gn.UNSAFE_componentWillMount&&"function"!=typeof gn.componentWillMount||("function"==typeof gn.componentWillMount&&gn.componentWillMount(),"function"==typeof gn.UNSAFE_componentWillMount&&gn.UNSAFE_componentWillMount()),"function"==typeof gn.componentDidMount&&(R.flags|=4)):("function"==typeof gn.componentDidMount&&(R.flags|=4),R.memoizedProps=Ae,R.memoizedState=Sr),gn.props=Ae,gn.state=Sr,gn.context=Di,Ae=$n):("function"==typeof gn.componentDidMount&&(R.flags|=4),Ae=!1)}else{gn=R.stateNode,or(v,R),$n=R.memoizedProps,Di=R.type===R.elementType?$n:C(R.type,$n),gn.props=Di,Ns=R.pendingProps,uo=gn.context,Sr="object"==typeof(Sr=Z.contextType)&&null!==Sr?pn(Sr):Pc(R,Sr=Du(Z)?En:xa.current);var Ws=Z.getDerivedStateFromProps;(jo="function"==typeof Ws||"function"==typeof gn.getSnapshotBeforeUpdate)||"function"!=typeof gn.UNSAFE_componentWillReceiveProps&&"function"!=typeof gn.componentWillReceiveProps||($n!==Ns||uo!==Sr)&&Ts(R,gn,Ae,Sr),Fn=!1,gn.state=uo=R.memoizedState,$i(R,Ae,gn,qe);var pa=R.memoizedState;$n!==Ns||uo!==pa||iu.current||Fn?("function"==typeof Ws&&(co(R,Z,Ws,Ae),pa=R.memoizedState),(Di=Fn||ms(R,Z,Di,Ae,uo,pa,Sr))?(jo||"function"!=typeof gn.UNSAFE_componentWillUpdate&&"function"!=typeof gn.componentWillUpdate||("function"==typeof gn.componentWillUpdate&&gn.componentWillUpdate(Ae,pa,Sr),"function"==typeof gn.UNSAFE_componentWillUpdate&&gn.UNSAFE_componentWillUpdate(Ae,pa,Sr)),"function"==typeof gn.componentDidUpdate&&(R.flags|=4),"function"==typeof gn.getSnapshotBeforeUpdate&&(R.flags|=256)):("function"!=typeof gn.componentDidUpdate||$n===v.memoizedProps&&uo===v.memoizedState||(R.flags|=4),"function"!=typeof gn.getSnapshotBeforeUpdate||$n===v.memoizedProps&&uo===v.memoizedState||(R.flags|=256),R.memoizedProps=Ae,R.memoizedState=pa),gn.props=Ae,gn.state=pa,gn.context=Sr,Ae=Di):("function"!=typeof gn.componentDidUpdate||$n===v.memoizedProps&&uo===v.memoizedState||(R.flags|=4),"function"!=typeof gn.getSnapshotBeforeUpdate||$n===v.memoizedProps&&uo===v.memoizedState||(R.flags|=256),Ae=!1)}return Bh(v,R,Z,Ae,wt,qe)}function Bh(v,R,Z,Ae,qe,wt){cm(v,R);var gn=0!=(64&R.flags);if(!Ae&&!gn)return qe&&dd(R,Z,!1),mp(v,R,wt);Ae=R.stateNode,Yu.current=R;var $n=gn&&"function"!=typeof Z.getDerivedStateFromError?null:Ae.render();return R.flags|=1,null!==v&&gn?(R.child=wl(R,v.child,null,wt),R.child=wl(R,null,$n,wt)):xu(v,R,$n,wt),R.memoizedState=Ae.state,qe&&dd(R,Z,!0),R.child}function Dm(v){var R=v.stateNode;R.pendingContext?pl(0,R.pendingContext,R.pendingContext!==R.context):R.context&&pl(0,R.context,!1),Pu(v,R.containerInfo)}var m_,g_,yf,yc,hh={dehydrated:null,retryLane:0};function dm(v,R,Z){var gn,Ae=R.pendingProps,qe=xc.current,wt=!1;return(gn=0!=(64&R.flags))||(gn=(null===v||null!==v.memoizedState)&&0!=(2&qe)),gn?(wt=!0,R.flags&=-65):null!==v&&null===v.memoizedState||void 0===Ae.fallback||!0===Ae.unstable_avoidThisFallback||(qe|=1),xl(xc,1&qe),null===v?(void 0!==Ae.fallback&&ne(R),v=Ae.children,qe=Ae.fallback,wt?(v=Vd(R,v,qe,Z),R.child.memoizedState={baseLanes:Z},R.memoizedState=hh,v):"number"==typeof Ae.unstable_expectedLoadTime?(v=Vd(R,v,qe,Z),R.child.memoizedState={baseLanes:Z},R.memoizedState=hh,R.lanes=33554432,v):((Z=vm({mode:"visible",children:v},R.mode,Z,null)).return=R,R.child=Z)):wt?(Ae=function Gh(v,R,Z,Ae,qe){var wt=R.mode,gn=v.child;v=gn.sibling;var $n={mode:"hidden",children:Z};return 2&wt||R.child===gn?Z=Sp(gn,$n):((Z=R.child).childLanes=0,Z.pendingProps=$n,null!==(gn=Z.lastEffect)?(R.firstEffect=Z.firstEffect,R.lastEffect=gn,gn.nextEffect=null):R.firstEffect=R.lastEffect=null),null!==v?Ae=Sp(v,Ae):(Ae=Rd(Ae,wt,qe,null)).flags|=2,Ae.return=R,Z.return=R,Z.sibling=Ae,R.child=Z,Ae}(v,R,Ae.children,Ae.fallback,Z),(wt=R.child).memoizedState=null===(qe=v.child.memoizedState)?{baseLanes:Z}:{baseLanes:qe.baseLanes|Z},wt.childLanes=v.childLanes&~Z,R.memoizedState=hh,Ae):(Z=function Pf(v,R,Z,Ae){var qe=v.child;return v=qe.sibling,Z=Sp(qe,{mode:"visible",children:Z}),!(2&R.mode)&&(Z.lanes=Ae),Z.return=R,Z.sibling=null,null!==v&&(v.nextEffect=null,v.flags=8,R.firstEffect=R.lastEffect=v),R.child=Z}(v,R,Ae.children,Z),R.memoizedState=null,Z)}function Vd(v,R,Z,Ae){var qe=v.mode,wt=v.child;return R={mode:"hidden",children:R},2&qe||null===wt?wt=vm(R,qe,0,null):(wt.childLanes=0,wt.pendingProps=R),Z=Rd(Z,qe,Ae,null),wt.return=v,Z.return=v,wt.sibling=Z,v.child=wt,Z}function fm(v,R){v.lanes|=R;var Z=v.alternate;null!==Z&&(Z.lanes|=R),it(v.return,R)}function zf(v,R,Z,Ae,qe,wt){var gn=v.memoizedState;null===gn?v.memoizedState={isBackwards:R,rendering:null,renderingStartTime:0,last:Ae,tail:Z,tailMode:qe,lastEffect:wt}:(gn.isBackwards=R,gn.rendering=null,gn.renderingStartTime=0,gn.last=Ae,gn.tail=Z,gn.tailMode=qe,gn.lastEffect=wt)}function Vp(v,R,Z){var Ae=R.pendingProps,qe=Ae.revealOrder,wt=Ae.tail;if(xu(v,R,Ae.children,Z),2&(Ae=xc.current))Ae=1&Ae|2,R.flags|=64;else{if(null!==v&&64&v.flags)e:for(v=R.child;null!==v;){if(13===v.tag)null!==v.memoizedState&&fm(v,Z);else if(19===v.tag)fm(v,Z);else if(null!==v.child){v.child.return=v,v=v.child;continue}if(v===R)break e;for(;null===v.sibling;){if(null===v.return||v.return===R)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}Ae&=1}if(xl(xc,Ae),2&R.mode)switch(qe){case"forwards":for(Z=R.child,qe=null;null!==Z;)null!==(v=Z.alternate)&&null===up(v)&&(qe=Z),Z=Z.sibling;null===(Z=qe)?(qe=R.child,R.child=null):(qe=Z.sibling,Z.sibling=null),zf(R,!1,qe,Z,wt,R.lastEffect);break;case"backwards":for(Z=null,qe=R.child,R.child=null;null!==qe;){if(null!==(v=qe.alternate)&&null===up(v)){R.child=qe;break}v=qe.sibling,qe.sibling=Z,Z=qe,qe=v}zf(R,!0,Z,null,wt,R.lastEffect);break;case"together":zf(R,!1,null,null,void 0,R.lastEffect);break;default:R.memoizedState=null}else R.memoizedState=null;return R.child}function mp(v,R,Z){if(null!==v&&(R.dependencies=v.dependencies),vp|=R.lanes,Z&R.childLanes){if(null!==v&&R.child!==v.child)throw Error(c(153));if(null!==R.child){for(Z=Sp(v=R.child,v.pendingProps),R.child=Z,Z.return=R;null!==v.sibling;)(Z=Z.sibling=Sp(v=v.sibling,v.pendingProps)).return=R;Z.sibling=null}return R.child}return null}function hd(v,R){if(!Xu)switch(v.tailMode){case"hidden":R=v.tail;for(var Z=null;null!==R;)null!==R.alternate&&(Z=R),R=R.sibling;null===Z?v.tail=null:Z.sibling=null;break;case"collapsed":Z=v.tail;for(var Ae=null;null!==Z;)null!==Z.alternate&&(Ae=Z),Z=Z.sibling;null===Ae?R||null===v.tail?v.tail=null:v.tail.sibling=null:Ae.sibling=null}}function Qm(v,R,Z){var Ae=R.pendingProps;switch(R.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return Du(R.type)&&fl(),null;case 3:return Ku(),Al(iu),Al(xa),Yr(),(Ae=R.stateNode).pendingContext&&(Ae.context=Ae.pendingContext,Ae.pendingContext=null),(null===v||null===v.child)&&(vt(R)?R.flags|=4:Ae.hydrate||(R.flags|=256)),g_(R),null;case 5:af(R);var qe=pd(rd.current);if(Z=R.type,null!==v&&null!=R.stateNode)yf(v,R,Z,Ae,qe),v.ref!==R.ref&&(R.flags|=128);else{if(!Ae){if(null===R.stateNode)throw Error(c(166));return null}if(v=pd(_u.current),vt(R)){Z=R.type;var wt=R.memoizedProps;switch((Ae=R.stateNode)[Qs]=R,Ae[Pa]=wt,Z){case"dialog":as("cancel",Ae),as("close",Ae);break;case"iframe":case"object":case"embed":as("load",Ae);break;case"video":case"audio":for(v=0;v<zn.length;v++)as(zn[v],Ae);break;case"source":as("error",Ae);break;case"img":case"image":case"link":as("error",Ae),as("load",Ae);break;case"details":as("toggle",Ae);break;case"input":Lr(Ae,wt),as("invalid",Ae);break;case"select":Ae._wrapperState={wasMultiple:!!wt.multiple},as("invalid",Ae);break;case"textarea":Bo(Ae,wt),as("invalid",Ae)}for(var gn in xt(Z,wt),v=null,wt)wt.hasOwnProperty(gn)&&(qe=wt[gn],"children"===gn?"string"==typeof qe?Ae.textContent!==qe&&(v=["children",qe]):"number"==typeof qe&&Ae.textContent!==""+qe&&(v=["children",""+qe]):f.hasOwnProperty(gn)&&null!=qe&&"onScroll"===gn&&as("scroll",Ae));switch(Z){case"input":sn(Ae),Vo(Ae,wt,!0);break;case"textarea":sn(Ae),ts(Ae);break;case"select":case"option":break;default:"function"==typeof wt.onClick&&(Ae.onclick=de)}R.updateQueue=Ae=v,null!==Ae&&(R.flags|=4)}else{switch(gn=9===qe.nodeType?qe:qe.ownerDocument,v===io.html&&(v=Vi(Z)),v===io.html?"script"===Z?((v=gn.createElement("div")).innerHTML="<script><\/script>",v=v.removeChild(v.firstChild)):"string"==typeof Ae.is?v=gn.createElement(Z,{is:Ae.is}):(v=gn.createElement(Z),"select"===Z&&(gn=v,Ae.multiple?gn.multiple=!0:Ae.size&&(gn.size=Ae.size))):v=gn.createElementNS(v,Z),v[Qs]=R,v[Pa]=Ae,m_(v,R,!1,!1),R.stateNode=v,gn=qt(Z,Ae),Z){case"dialog":as("cancel",v),as("close",v),qe=Ae;break;case"iframe":case"object":case"embed":as("load",v),qe=Ae;break;case"video":case"audio":for(qe=0;qe<zn.length;qe++)as(zn[qe],v);qe=Ae;break;case"source":as("error",v),qe=Ae;break;case"img":case"image":case"link":as("error",v),as("load",v),qe=Ae;break;case"details":as("toggle",v),qe=Ae;break;case"input":Lr(v,Ae),qe=rr(v,Ae),as("invalid",v);break;case"option":qe=ji(v,Ae);break;case"select":v._wrapperState={wasMultiple:!!Ae.multiple},qe=a({},Ae,{value:void 0}),as("invalid",v);break;case"textarea":Bo(v,Ae),qe=Pr(v,Ae),as("invalid",v);break;default:qe=Ae}xt(Z,qe);var $n=qe;for(wt in $n)if($n.hasOwnProperty(wt)){var Sr=$n[wt];"style"===wt?tn(v,Sr):"dangerouslySetInnerHTML"===wt?null!=(Sr=Sr?Sr.__html:void 0)&&Ut(v,Sr):"children"===wt?"string"==typeof Sr?("textarea"!==Z||""!==Sr)&&ke(v,Sr):"number"==typeof Sr&&ke(v,""+Sr):"suppressContentEditableWarning"!==wt&&"suppressHydrationWarning"!==wt&&"autoFocus"!==wt&&(f.hasOwnProperty(wt)?null!=Sr&&"onScroll"===wt&&as("scroll",v):null!=Sr&&ie(v,wt,Sr,gn))}switch(Z){case"input":sn(v),Vo(v,Ae,!1);break;case"textarea":sn(v),ts(v);break;case"option":null!=Ae.value&&v.setAttribute("value",""+Ri(Ae.value));break;case"select":v.multiple=!!Ae.multiple,null!=(wt=Ae.value)?jr(v,!!Ae.multiple,wt,!1):null!=Ae.defaultValue&&jr(v,!!Ae.multiple,Ae.defaultValue,!0);break;default:"function"==typeof qe.onClick&&(v.onclick=de)}lt(Z,Ae)&&(R.flags|=4)}null!==R.ref&&(R.flags|=128)}return null;case 6:if(v&&null!=R.stateNode)yc(v,R,v.memoizedProps,Ae);else{if("string"!=typeof Ae&&null===R.stateNode)throw Error(c(166));Z=pd(rd.current),pd(_u.current),vt(R)?(Z=R.memoizedProps,(Ae=R.stateNode)[Qs]=R,Ae.nodeValue!==Z&&(R.flags|=4)):((Ae=(9===Z.nodeType?Z:Z.ownerDocument).createTextNode(Ae))[Qs]=R,R.stateNode=Ae)}return null;case 13:return Al(xc),Ae=R.memoizedState,64&R.flags?(R.lanes=Z,R):(Ae=null!==Ae,Z=!1,null===v?void 0!==R.memoizedProps.fallback&&vt(R):Z=null!==v.memoizedState,Ae&&!Z&&2&R.mode&&(null===v&&!0!==R.memoizedProps.unstable_avoidThisFallback||1&xc.current?0===yu&&(yu=3):((0===yu||3===yu)&&(yu=4),null===id||!(134217727&vp)&&!(134217727&wu)||Lp(id,qs))),(Ae||Z)&&(R.flags|=4),null);case 4:return Ku(),g_(R),null===v&&ks(R.stateNode.containerInfo),null;case 10:return $e(R),null;case 19:if(Al(xc),null===(Ae=R.memoizedState))return null;if(wt=0!=(64&R.flags),null===(gn=Ae.rendering))if(wt)hd(Ae,!1);else{if(0!==yu||null!==v&&64&v.flags)for(v=R.child;null!==v;){if(null!==(gn=up(v))){for(R.flags|=64,hd(Ae,!1),null!==(wt=gn.updateQueue)&&(R.updateQueue=wt,R.flags|=4),null===Ae.lastEffect&&(R.firstEffect=null),R.lastEffect=Ae.lastEffect,Ae=Z,Z=R.child;null!==Z;)v=Ae,(wt=Z).flags&=2,wt.nextEffect=null,wt.firstEffect=null,wt.lastEffect=null,null===(gn=wt.alternate)?(wt.childLanes=0,wt.lanes=v,wt.child=null,wt.memoizedProps=null,wt.memoizedState=null,wt.updateQueue=null,wt.dependencies=null,wt.stateNode=null):(wt.childLanes=gn.childLanes,wt.lanes=gn.lanes,wt.child=gn.child,wt.memoizedProps=gn.memoizedProps,wt.memoizedState=gn.memoizedState,wt.updateQueue=gn.updateQueue,wt.type=gn.type,wt.dependencies=null===(v=gn.dependencies)?null:{lanes:v.lanes,firstContext:v.firstContext}),Z=Z.sibling;return xl(xc,1&xc.current|2),R.child}v=v.sibling}null!==Ae.tail&&be()>Kp&&(R.flags|=64,wt=!0,hd(Ae,!1),R.lanes=33554432)}else{if(!wt)if(null!==(v=up(gn))){if(R.flags|=64,wt=!0,null!==(Z=v.updateQueue)&&(R.updateQueue=Z,R.flags|=4),hd(Ae,!0),null===Ae.tail&&"hidden"===Ae.tailMode&&!gn.alternate&&!Xu)return null!==(R=R.lastEffect=Ae.lastEffect)&&(R.nextEffect=null),null}else 2*be()-Ae.renderingStartTime>Kp&&1073741824!==Z&&(R.flags|=64,wt=!0,hd(Ae,!1),R.lanes=33554432);Ae.isBackwards?(gn.sibling=R.child,R.child=gn):(null!==(Z=Ae.last)?Z.sibling=gn:R.child=gn,Ae.last=gn)}return null!==Ae.tail?(Ae.rendering=Z=Ae.tail,Ae.tail=Z.sibling,Ae.lastEffect=R.lastEffect,Ae.renderingStartTime=be(),Z.sibling=null,R=xc.current,xl(xc,wt?1&R|2:1&R),Z):null;case 23:case 24:return If(),null!==v&&null!==v.memoizedState!=(null!==R.memoizedState)&&"unstable-defer-without-hiding"!==Ae.mode&&(R.flags|=4),null}throw Error(c(156,R.tag))}function mh(v){switch(v.tag){case 1:Du(v.type)&&fl();var R=v.flags;return 4096&R?(v.flags=-4097&R|64,v):null;case 3:if(Ku(),Al(iu),Al(xa),Yr(),64&(R=v.flags))throw Error(c(285));return v.flags=-4097&R|64,v;case 5:return af(v),null;case 13:return Al(xc),4096&(R=v.flags)?(v.flags=-4097&R|64,v):null;case 19:return Al(xc),null;case 4:return Ku(),null;case 10:return $e(v),null;case 23:case 24:return If(),null;default:return null}}function Od(v,R){try{var Z="",Ae=R;do{Z+=_r(Ae),Ae=Ae.return}while(Ae);var qe=Z}catch(wt){qe="\nError generating stack: "+wt.message+"\n"+wt.stack}return{value:v,source:R,stack:qe}}function Vf(v,R){try{console.error(R.value)}catch(Z){setTimeout(function(){throw Z})}}m_=function(v,R){for(var Z=R.child;null!==Z;){if(5===Z.tag||6===Z.tag)v.appendChild(Z.stateNode);else if(4!==Z.tag&&null!==Z.child){Z.child.return=Z,Z=Z.child;continue}if(Z===R)break;for(;null===Z.sibling;){if(null===Z.return||Z.return===R)return;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}},g_=function(){},yf=function(v,R,Z,Ae){var qe=v.memoizedProps;if(qe!==Ae){v=R.stateNode,pd(_u.current);var gn,wt=null;switch(Z){case"input":qe=rr(v,qe),Ae=rr(v,Ae),wt=[];break;case"option":qe=ji(v,qe),Ae=ji(v,Ae),wt=[];break;case"select":qe=a({},qe,{value:void 0}),Ae=a({},Ae,{value:void 0}),wt=[];break;case"textarea":qe=Pr(v,qe),Ae=Pr(v,Ae),wt=[];break;default:"function"!=typeof qe.onClick&&"function"==typeof Ae.onClick&&(v.onclick=de)}for(Di in xt(Z,Ae),Z=null,qe)if(!Ae.hasOwnProperty(Di)&&qe.hasOwnProperty(Di)&&null!=qe[Di])if("style"===Di){var $n=qe[Di];for(gn in $n)$n.hasOwnProperty(gn)&&(Z||(Z={}),Z[gn]="")}else"dangerouslySetInnerHTML"!==Di&&"children"!==Di&&"suppressContentEditableWarning"!==Di&&"suppressHydrationWarning"!==Di&&"autoFocus"!==Di&&(f.hasOwnProperty(Di)?wt||(wt=[]):(wt=wt||[]).push(Di,null));for(Di in Ae){var Sr=Ae[Di];if($n=qe?.[Di],Ae.hasOwnProperty(Di)&&Sr!==$n&&(null!=Sr||null!=$n))if("style"===Di)if($n){for(gn in $n)!$n.hasOwnProperty(gn)||Sr&&Sr.hasOwnProperty(gn)||(Z||(Z={}),Z[gn]="");for(gn in Sr)Sr.hasOwnProperty(gn)&&$n[gn]!==Sr[gn]&&(Z||(Z={}),Z[gn]=Sr[gn])}else Z||(wt||(wt=[]),wt.push(Di,Z)),Z=Sr;else"dangerouslySetInnerHTML"===Di?($n=$n?$n.__html:void 0,null!=(Sr=Sr?Sr.__html:void 0)&&$n!==Sr&&(wt=wt||[]).push(Di,Sr)):"children"===Di?"string"!=typeof Sr&&"number"!=typeof Sr||(wt=wt||[]).push(Di,""+Sr):"suppressContentEditableWarning"!==Di&&"suppressHydrationWarning"!==Di&&(f.hasOwnProperty(Di)?(null!=Sr&&"onScroll"===Di&&as("scroll",v),wt||$n===Sr||(wt=[])):"object"==typeof Sr&&null!==Sr&&Sr.$$typeof===nn?Sr.toString():(wt=wt||[]).push(Di,Sr))}Z&&(wt=wt||[]).push("style",Z);var Di=wt;(R.updateQueue=Di)&&(R.flags|=4)}},yc=function(v,R,Z,Ae){Z!==Ae&&(R.flags|=4)};var Yh="function"==typeof WeakMap?WeakMap:Map;function Wd(v,R,Z){(Z=Hr(-1,Z)).tag=3,Z.payload={element:null};var Ae=R.value;return Z.callback=function(){G_||(G_=!0,zh=Ae),Vf(0,R)},Z}function L_(v,R,Z){(Z=Hr(-1,Z)).tag=3;var Ae=v.type.getDerivedStateFromError;if("function"==typeof Ae){var qe=R.value;Z.payload=function(){return Vf(0,R),Ae(qe)}}var wt=v.stateNode;return null!==wt&&"function"==typeof wt.componentDidCatch&&(Z.callback=function(){"function"!=typeof Ae&&(null===hu?hu=new Set([this]):hu.add(this),Vf(0,R));var gn=R.stack;this.componentDidCatch(R.value,{componentStack:null!==gn?gn:""})}),Z}var v_="function"==typeof WeakSet?WeakSet:Set;function jh(v){var R=v.ref;if(null!==R)if("function"==typeof R)try{R(null)}catch(Z){kp(v,Z)}else R.current=null}function gp(v,R){switch(R.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&R.flags&&null!==v){var Z=v.memoizedProps,Ae=v.memoizedState;R=(v=R.stateNode).getSnapshotBeforeUpdate(R.elementType===R.type?Z:C(R.type,Z),Ae),v.__reactInternalSnapshotBeforeUpdate=R}return;case 3:return void(256&R.flags&&ar(R.stateNode.containerInfo))}throw Error(c(163))}function Wp(v,R,Z){switch(Z.tag){case 0:case 11:case 15:case 22:if(null!==(R=null!==(R=Z.updateQueue)?R.lastEffect:null)){v=R=R.next;do{if(3==(3&v.tag)){var Ae=v.create;v.destroy=Ae()}v=v.next}while(v!==R)}if(null!==(R=null!==(R=Z.updateQueue)?R.lastEffect:null)){v=R=R.next;do{var qe=v;Ae=qe.next,4&(qe=qe.tag)&&1&qe&&(b_(Z,v),Sh(Z,v)),v=Ae}while(v!==R)}return;case 1:return v=Z.stateNode,4&Z.flags&&(null===R?v.componentDidMount():(Ae=Z.elementType===Z.type?R.memoizedProps:C(Z.type,R.memoizedProps),v.componentDidUpdate(Ae,R.memoizedState,v.__reactInternalSnapshotBeforeUpdate))),void(null!==(R=Z.updateQueue)&&Co(Z,R,v));case 3:if(null!==(R=Z.updateQueue)){if(v=null,null!==Z.child)switch(Z.child.tag){case 5:case 1:v=Z.child.stateNode}Co(Z,R,v)}return;case 5:return v=Z.stateNode,void(null===R&&4&Z.flags&&lt(Z.type,Z.memoizedProps)&&v.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===Z.memoizedState&&(Z=Z.alternate,null!==Z&&(Z=Z.memoizedState,null!==Z&&(Z=Z.dehydrated,null!==Z&&Ks(Z)))))}throw Error(c(163))}function k_(v,R){for(var Z=v;;){if(5===Z.tag){var Ae=Z.stateNode;if(R)"function"==typeof(Ae=Ae.style).setProperty?Ae.setProperty("display","none","important"):Ae.display="none";else{Ae=Z.stateNode;var qe=Z.memoizedProps.style;qe=null!=qe&&qe.hasOwnProperty("display")?qe.display:null,Ae.style.display=Ve("display",qe)}}else if(6===Z.tag)Z.stateNode.nodeValue=R?"":Z.memoizedProps;else if((23!==Z.tag&&24!==Z.tag||null===Z.memoizedState||Z===v)&&null!==Z.child){Z.child.return=Z,Z=Z.child;continue}if(Z===v)break;for(;null===Z.sibling;){if(null===Z.return||Z.return===v)return;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}function Jp(v,R){if(fd&&"function"==typeof fd.onCommitFiberUnmount)try{fd.onCommitFiberUnmount(fu,R)}catch{}switch(R.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(v=R.updateQueue)&&null!==(v=v.lastEffect)){var Z=v=v.next;do{var Ae=Z,qe=Ae.destroy;if(Ae=Ae.tag,void 0!==qe)if(4&Ae)b_(R,Z);else{Ae=R;try{qe()}catch(wt){kp(Ae,wt)}}Z=Z.next}while(Z!==v)}break;case 1:if(jh(R),"function"==typeof(v=R.stateNode).componentWillUnmount)try{v.props=R.memoizedProps,v.state=R.memoizedState,v.componentWillUnmount()}catch(wt){kp(R,wt)}break;case 5:jh(R);break;case 4:pm(v,R)}}function $_(v){v.alternate=null,v.child=null,v.dependencies=null,v.firstEffect=null,v.lastEffect=null,v.memoizedProps=null,v.memoizedState=null,v.pendingProps=null,v.return=null,v.updateQueue=null}function y_(v){return 5===v.tag||3===v.tag||4===v.tag}function Hd(v){e:{for(var R=v.return;null!==R;){if(y_(R))break e;R=R.return}throw Error(c(160))}var Z=R;switch(R=Z.stateNode,Z.tag){case 5:var Ae=!1;break;case 3:case 4:R=R.containerInfo,Ae=!0;break;default:throw Error(c(161))}16&Z.flags&&(ke(R,""),Z.flags&=-17);e:t:for(Z=v;;){for(;null===Z.sibling;){if(null===Z.return||y_(Z.return)){Z=null;break e}Z=Z.return}for(Z.sibling.return=Z.return,Z=Z.sibling;5!==Z.tag&&6!==Z.tag&&18!==Z.tag;){if(2&Z.flags||null===Z.child||4===Z.tag)continue t;Z.child.return=Z,Z=Z.child}if(!(2&Z.flags)){Z=Z.stateNode;break e}}Ae?H_(v,Z,R):E_(v,Z,R)}function H_(v,R,Z){var Ae=v.tag,qe=5===Ae||6===Ae;if(qe)v=qe?v.stateNode:v.stateNode.instance,R?8===Z.nodeType?Z.parentNode.insertBefore(v,R):Z.insertBefore(v,R):(8===Z.nodeType?(R=Z.parentNode).insertBefore(v,Z):(R=Z).appendChild(v),null!=(Z=Z._reactRootContainer)||null!==R.onclick||(R.onclick=de));else if(4!==Ae&&null!==(v=v.child))for(H_(v,R,Z),v=v.sibling;null!==v;)H_(v,R,Z),v=v.sibling}function E_(v,R,Z){var Ae=v.tag,qe=5===Ae||6===Ae;if(qe)v=qe?v.stateNode:v.stateNode.instance,R?Z.insertBefore(v,R):Z.appendChild(v);else if(4!==Ae&&null!==(v=v.child))for(E_(v,R,Z),v=v.sibling;null!==v;)E_(v,R,Z),v=v.sibling}function pm(v,R){for(var qe,wt,Z=R,Ae=!1;;){if(!Ae){Ae=Z.return;e:for(;;){if(null===Ae)throw Error(c(160));switch(qe=Ae.stateNode,Ae.tag){case 5:wt=!1;break e;case 3:case 4:qe=qe.containerInfo,wt=!0;break e}Ae=Ae.return}Ae=!0}if(5===Z.tag||6===Z.tag){e:for(var gn=v,$n=Z,Sr=$n;;)if(Jp(gn,Sr),null!==Sr.child&&4!==Sr.tag)Sr.child.return=Sr,Sr=Sr.child;else{if(Sr===$n)break e;for(;null===Sr.sibling;){if(null===Sr.return||Sr.return===$n)break e;Sr=Sr.return}Sr.sibling.return=Sr.return,Sr=Sr.sibling}wt?($n=Z.stateNode,8===(gn=qe).nodeType?gn.parentNode.removeChild($n):gn.removeChild($n)):qe.removeChild(Z.stateNode)}else if(4===Z.tag){if(null!==Z.child){qe=Z.stateNode.containerInfo,wt=!0,Z.child.return=Z,Z=Z.child;continue}}else if(Jp(v,Z),null!==Z.child){Z.child.return=Z,Z=Z.child;continue}if(Z===R)break;for(;null===Z.sibling;){if(null===Z.return||Z.return===R)return;4===(Z=Z.return).tag&&(Ae=!1)}Z.sibling.return=Z.return,Z=Z.sibling}}function S_(v,R){switch(R.tag){case 0:case 11:case 14:case 15:case 22:var Z=R.updateQueue;if(null!==(Z=null!==Z?Z.lastEffect:null)){var Ae=Z=Z.next;do{3==(3&Ae.tag)&&(v=Ae.destroy,Ae.destroy=void 0,void 0!==v&&v()),Ae=Ae.next}while(Ae!==Z)}return;case 1:case 12:case 17:return;case 5:if(null!=(Z=R.stateNode)){Ae=R.memoizedProps;var qe=null!==v?v.memoizedProps:Ae;v=R.type;var wt=R.updateQueue;if(R.updateQueue=null,null!==wt){for(Z[Pa]=Ae,"input"===v&&"radio"===Ae.type&&null!=Ae.name&&Fi(Z,Ae),qt(v,qe),R=qt(v,Ae),qe=0;qe<wt.length;qe+=2){var gn=wt[qe],$n=wt[qe+1];"style"===gn?tn(Z,$n):"dangerouslySetInnerHTML"===gn?Ut(Z,$n):"children"===gn?ke(Z,$n):ie(Z,gn,$n,R)}switch(v){case"input":so(Z,Ae);break;case"textarea":cs(Z,Ae);break;case"select":v=Z._wrapperState.wasMultiple,Z._wrapperState.wasMultiple=!!Ae.multiple,null!=(wt=Ae.value)?jr(Z,!!Ae.multiple,wt,!1):v!==!!Ae.multiple&&(null!=Ae.defaultValue?jr(Z,!!Ae.multiple,Ae.defaultValue,!0):jr(Z,!!Ae.multiple,Ae.multiple?[]:"",!1))}}}return;case 6:if(null===R.stateNode)throw Error(c(162));return void(R.stateNode.nodeValue=R.memoizedProps);case 3:return void((Z=R.stateNode).hydrate&&(Z.hydrate=!1,Ks(Z.containerInfo)));case 13:return null!==R.memoizedState&&(wf=be(),k_(R.child,!0)),void Zh(R);case 19:return void Zh(R);case 23:case 24:return void k_(R,null!==R.memoizedState)}throw Error(c(163))}function Zh(v){var R=v.updateQueue;if(null!==R){v.updateQueue=null;var Z=v.stateNode;null===Z&&(Z=v.stateNode=new v_),R.forEach(function(Ae){var qe=mm.bind(null,v,Ae);Z.has(Ae)||(Z.add(Ae),Ae.then(qe,qe))})}}function Qp(v,R){return null!==v&&(null===(v=v.memoizedState)||null!==v.dehydrated)&&null!==(R=R.memoizedState)&&null===R.dehydrated}var Ad=Math.ceil,Jd=me.ReactCurrentDispatcher,Ef=me.ReactCurrentOwner,$a=0,id=null,bu=null,qs=0,Sf=0,C_=du(0),yu=0,U_=null,cf=0,vp=0,wu=0,B_=0,xf=null,wf=0,Kp=1/0;function Np(){Kp=be()+500}var gm,da=null,G_=!1,zh=null,hu=null,su=!1,Ip=null,Xp=90,Y_=[],gh=[],Wf=null,yp=0,j_=null,Z_=-1,Nf=0,vh=0,T_=null,Ep=!1;function Lu(){return 48&$a?be():-1!==Z_?Z_:Z_=be()}function uf(v){if(!(2&(v=v.mode)))return 1;if(!(4&v))return 99===Ne()?1:2;if(0===Nf&&(Nf=cf),0!==w.transition){0!==vh&&(vh=null!==xf?xf.pendingLanes:0),v=Nf;var R=4186112&~vh;return 0==(R&=-R)&&0==(R=(v=4186112&~v)&-v)&&(R=8192),R}return v=Ne(),v=hs(4&$a&&98===v?12:v=function Ei(v){switch(v){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(v),Nf)}function Jf(v,R,Z){if(50<yp)throw yp=0,j_=null,Error(c(185));if(null===(v=Fp(v,R)))return null;Ul(v,R,Z),v===id&&(wu|=R,4===yu&&Lp(v,qs));var Ae=Ne();1===R?8&$a&&!(48&$a)?Vh(v):(Qd(v,Z),0===$a&&(Np(),fn())):(!(4&$a)||98!==Ae&&99!==Ae||(null===Wf?Wf=new Set([v]):Wf.add(v)),Qd(v,Z)),xf=v}function Fp(v,R){v.lanes|=R;var Z=v.alternate;for(null!==Z&&(Z.lanes|=R),Z=v,v=v.return;null!==v;)v.childLanes|=R,null!==(Z=v.alternate)&&(Z.childLanes|=R),Z=v,v=v.return;return 3===Z.tag?Z.stateNode:null}function Qd(v,R){for(var Z=v.callbackNode,Ae=v.suspendedLanes,qe=v.pingedLanes,wt=v.expirationTimes,gn=v.pendingLanes;0<gn;){var $n=31-Fl(gn),Sr=1<<$n,Di=wt[$n];-1===Di?Sr&Ae&&!(Sr&qe)||(Di=R,yn(Sr),wt[$n]=10<=on?Di+250:6<=on?Di+5e3:-1):Di<=R&&(v.expiredLanes|=Sr),gn&=~Sr}if(Ae=eo(v,v===id?qs:0),R=on,0===Ae)null!==Z&&(Z!==pu&&xp(Z),v.callbackNode=null,v.callbackPriority=0);else{if(null!==Z){if(v.callbackPriority===R)return;Z!==pu&&xp(Z)}15===R?(Z=Vh.bind(null,v),null===fc?(fc=[Z],Zd=Cd(lp,k)):fc.push(Z),Z=pu):14===R?Z=Ot(99,Vh.bind(null,v)):(Z=function Ui(v){switch(v){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(c(358,v))}}(R),Z=Ot(Z,z_.bind(null,v))),v.callbackPriority=R,v.callbackNode=Z}}function z_(v){if(Z_=-1,vh=Nf=0,48&$a)throw Error(c(327));var R=v.callbackNode;if(Lf()&&v.callbackNode!==R)return null;var Z=eo(v,v===id?qs:0);if(0===Z)return null;var Ae=Z,qe=$a;$a|=16;var wt=_m();for((id!==v||qs!==Ae)&&(Np(),Ff(v,Ae));;)try{Eh();break}catch($n){yh(v,$n)}if(Te(),Jd.current=wt,$a=qe,null!==bu?Ae=0:(id=null,qs=0,Ae=yu),cf&wu)Ff(v,0);else if(0!==Ae){if(2===Ae&&($a|=64,v.hydrate&&(v.hydrate=!1,ar(v.containerInfo)),0!==(Z=js(v))&&(Ae=V_(v,Z))),1===Ae)throw R=U_,Ff(v,0),Lp(v,Z),Qd(v,be()),R;switch(v.finishedWork=v.current.alternate,v.finishedLanes=Z,Ae){case 0:case 1:throw Error(c(345));case 2:case 5:sd(v);break;case 3:if(Lp(v,Z),(62914560&Z)===Z&&10<(Ae=wf+500-be())){if(0!==eo(v,0))break;if(((qe=v.suspendedLanes)&Z)!==Z){Lu(),v.pingedLanes|=v.suspendedLanes&qe;break}v.timeoutHandle=Ht(sd.bind(null,v),Ae);break}sd(v);break;case 4:if(Lp(v,Z),(4186112&Z)===Z)break;for(Ae=v.eventTimes,qe=-1;0<Z;){var gn=31-Fl(Z);wt=1<<gn,(gn=Ae[gn])>qe&&(qe=gn),Z&=~wt}if(Z=qe,10<(Z=(120>(Z=be()-Z)?120:480>Z?480:1080>Z?1080:1920>Z?1920:3e3>Z?3e3:4320>Z?4320:1960*Ad(Z/1960))-Z)){v.timeoutHandle=Ht(sd.bind(null,v),Z);break}sd(v);break;default:throw Error(c(329))}}return Qd(v,be()),v.callbackNode===R?z_.bind(null,v):null}function Lp(v,R){for(R&=~B_,v.suspendedLanes|=R&=~wu,v.pingedLanes&=~R,v=v.expirationTimes;0<R;){var Z=31-Fl(R),Ae=1<<Z;v[Z]=-1,R&=~Ae}}function Vh(v){if(48&$a)throw Error(c(327));if(Lf(),v===id&&v.expiredLanes&qs){var R=qs,Z=V_(v,R);cf&wu&&(Z=V_(v,R=eo(v,R)))}else Z=V_(v,R=eo(v,0));if(0!==v.tag&&2===Z&&($a|=64,v.hydrate&&(v.hydrate=!1,ar(v.containerInfo)),0!==(R=js(v))&&(Z=V_(v,R))),1===Z)throw Z=U_,Ff(v,0),Lp(v,R),Qd(v,be()),Z;return v.finishedWork=v.current.alternate,v.finishedLanes=R,sd(v),Qd(v,be()),null}function Qf(v,R){var Z=$a;$a|=1;try{return v(R)}finally{0===($a=Z)&&(Np(),fn())}}function md(v,R){var Z=$a;$a&=-2,$a|=8;try{return v(R)}finally{0===($a=Z)&&(Np(),fn())}}function gd(v,R){xl(C_,Sf),Sf|=R,cf|=R}function If(){Sf=C_.current,Al(C_)}function Ff(v,R){v.finishedWork=null,v.finishedLanes=0;var Z=v.timeoutHandle;if(-1!==Z&&(v.timeoutHandle=-1,wn(Z)),null!==bu)for(Z=bu.return;null!==Z;){var Ae=Z;switch(Ae.tag){case 1:null!=(Ae=Ae.type.childContextTypes)&&fl();break;case 3:Ku(),Al(iu),Al(xa),Yr();break;case 5:af(Ae);break;case 4:Ku();break;case 13:case 19:Al(xc);break;case 10:$e(Ae);break;case 23:case 24:If()}Z=Z.return}id=v,bu=Sp(v.current,null),qs=Sf=cf=R,yu=0,U_=null,B_=wu=vp=0}function yh(v,R){for(;;){var Z=bu;try{if(Te(),zi.current=lf,Fu){for(var Ae=Va.memoizedState;null!==Ae;){var qe=Ae.queue;null!==qe&&(qe.pending=null),Ae=Ae.next}Fu=!1}if(ol=0,ou=pc=Va=null,I_=!1,Ef.current=null,null===Z||null===Z.return){yu=1,U_=R,bu=null;break}e:{var wt=v,gn=Z.return,$n=Z,Sr=R;if(R=qs,$n.flags|=2048,$n.firstEffect=$n.lastEffect=null,null!==Sr&&"object"==typeof Sr&&"function"==typeof Sr.then){var Di=Sr;if(!(2&$n.mode)){var jo=$n.alternate;jo?($n.updateQueue=jo.updateQueue,$n.memoizedState=jo.memoizedState,$n.lanes=jo.lanes):($n.updateQueue=null,$n.memoizedState=null)}var Ns=0!=(1&xc.current),uo=gn;do{var Ws;if(Ws=13===uo.tag){var pa=uo.memoizedState;if(null!==pa)Ws=null!==pa.dehydrated;else{var ya=uo.memoizedProps;Ws=void 0!==ya.fallback&&(!0!==ya.unstable_avoidThisFallback||!Ns)}}if(Ws){var hi=uo.updateQueue;if(null===hi){var Jr=new Set;Jr.add(Di),uo.updateQueue=Jr}else hi.add(Di);if(!(2&uo.mode)){if(uo.flags|=64,$n.flags|=16384,$n.flags&=-2981,1===$n.tag)if(null===$n.alternate)$n.tag=17;else{var pi=Hr(-1,1);pi.tag=2,Ci($n,pi)}$n.lanes|=1;break e}Sr=void 0,$n=R;var _o=wt.pingCache;if(null===_o?(_o=wt.pingCache=new Yh).set(Di,Sr=new Set):void 0===(Sr=_o.get(Di))&&_o.set(Di,Sr=new Set),!Sr.has($n)){Sr.add($n);var go=hm.bind(null,wt,Di,$n);Di.then(go,go)}uo.flags|=4096,uo.lanes=R;break e}uo=uo.return}while(null!==uo);Sr=Error((oi($n.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==yu&&(yu=2),Sr=Od(Sr,$n),uo=gn;do{switch(uo.tag){case 3:wt=Sr,uo.flags|=4096,uo.lanes|=R&=-R,Zi(uo,Wd(0,wt,R));break e;case 1:wt=Sr;var Ja=uo.stateNode;if(!(64&uo.flags||"function"!=typeof uo.type.getDerivedStateFromError&&(null===Ja||"function"!=typeof Ja.componentDidCatch||null!==hu&&hu.has(Ja)))){uo.flags|=4096,uo.lanes|=R&=-R,Zi(uo,L_(uo,wt,R));break e}}uo=uo.return}while(null!==uo)}od(Z)}catch(ll){R=ll,bu===Z&&null!==Z&&(bu=Z=Z.return);continue}break}}function _m(){var v=Jd.current;return Jd.current=lf,null===v?lf:v}function V_(v,R){var Z=$a;$a|=16;var Ae=_m();for(id===v&&qs===R||Ff(v,R);;)try{Wh();break}catch(qe){yh(v,qe)}if(Te(),$a=Z,Jd.current=Ae,null!==bu)throw Error(c(261));return id=null,qs=0,yu}function Wh(){for(;null!==bu;)W_(bu)}function Eh(){for(;null!==bu&&!nc();)W_(bu)}function W_(v){var R=gm(v.alternate,v,Sf);v.memoizedProps=v.pendingProps,null===R?od(v):bu=R,Ef.current=null}function od(v){var R=v;do{var Z=R.alternate;if(v=R.return,2048&R.flags){if(null!==(Z=mh(R)))return Z.flags&=2047,void(bu=Z);null!==v&&(v.firstEffect=v.lastEffect=null,v.flags|=2048)}else{if(null!==(Z=Qm(Z,R,Sf)))return void(bu=Z);if(24!==(Z=R).tag&&23!==Z.tag||null===Z.memoizedState||1073741824&Sf||!(4&Z.mode)){for(var Ae=0,qe=Z.child;null!==qe;)Ae|=qe.lanes|qe.childLanes,qe=qe.sibling;Z.childLanes=Ae}null!==v&&!(2048&v.flags)&&(null===v.firstEffect&&(v.firstEffect=R.firstEffect),null!==R.lastEffect&&(null!==v.lastEffect&&(v.lastEffect.nextEffect=R.firstEffect),v.lastEffect=R.lastEffect),1<R.flags&&(null!==v.lastEffect?v.lastEffect.nextEffect=R:v.firstEffect=R,v.lastEffect=R))}if(null!==(R=R.sibling))return void(bu=R);bu=R=v}while(null!==R);0===yu&&(yu=5)}function sd(v){var R=Ne();return Ze(99,Mu.bind(null,v,R)),null}function Mu(v,R){do{Lf()}while(null!==Ip);if(48&$a)throw Error(c(327));var Z=v.finishedWork;if(null===Z)return null;if(v.finishedWork=null,v.finishedLanes=0,Z===v.current)throw Error(c(177));v.callbackNode=null;var Ae=Z.lanes|Z.childLanes,qe=Ae,wt=v.pendingLanes&~qe;v.pendingLanes=qe,v.suspendedLanes=0,v.pingedLanes=0,v.expiredLanes&=qe,v.mutableReadLanes&=qe,v.entangledLanes&=qe,qe=v.entanglements;for(var gn=v.eventTimes,$n=v.expirationTimes;0<wt;){var Sr=31-Fl(wt),Di=1<<Sr;qe[Sr]=0,gn[Sr]=-1,$n[Sr]=-1,wt&=~Di}if(null!==Wf&&!(24&Ae)&&Wf.has(v)&&Wf.delete(v),v===id&&(bu=id=null,qs=0),1<Z.flags?null!==Z.lastEffect?(Z.lastEffect.nextEffect=Z,Ae=Z.firstEffect):Ae=Z:Ae=Z.firstEffect,null!==Ae){if(qe=$a,$a|=32,Ef.current=null,Fe=Za,Ms(gn=So())){if("selectionStart"in gn)$n={start:gn.selectionStart,end:gn.selectionEnd};else if((Di=($n=($n=gn.ownerDocument)&&$n.defaultView||window).getSelection&&$n.getSelection())&&0!==Di.rangeCount){$n=Di.anchorNode,wt=Di.anchorOffset,Sr=Di.focusNode,Di=Di.focusOffset;var jo=0,Ns=-1,uo=-1,Ws=0,pa=0,ya=gn,hi=null;t:for(;;){for(var Jr;ya!==$n||0!==wt&&3!==ya.nodeType||(Ns=jo+wt),ya!==Sr||0!==Di&&3!==ya.nodeType||(uo=jo+Di),3===ya.nodeType&&(jo+=ya.nodeValue.length),null!==(Jr=ya.firstChild);)hi=ya,ya=Jr;for(;;){if(ya===gn)break t;if(hi===$n&&++Ws===wt&&(Ns=jo),hi===Sr&&++pa===Di&&(uo=jo),null!==(Jr=ya.nextSibling))break;hi=(ya=hi).parentNode}ya=Jr}$n=-1===Ns||-1===uo?null:{start:Ns,end:uo}}else $n=null;$n=$n||{start:0,end:0}}else $n=null;je={focusedElem:gn,selectionRange:$n},Za=!1,T_=null,Ep=!1,da=Ae;do{try{ad()}catch(ll){if(null===da)throw Error(c(330));kp(da,ll),da=da.nextEffect}}while(null!==da);T_=null,da=Ae;do{try{for(gn=v;null!==da;){var pi=da.flags;if(16&pi&&ke(da.stateNode,""),128&pi){var _o=da.alternate;if(null!==_o){var go=_o.ref;null!==go&&("function"==typeof go?go(null):go.current=null)}}switch(1038&pi){case 2:Hd(da),da.flags&=-3;break;case 6:Hd(da),da.flags&=-3,S_(da.alternate,da);break;case 1024:da.flags&=-1025;break;case 1028:da.flags&=-1025,S_(da.alternate,da);break;case 4:S_(da.alternate,da);break;case 8:pm(gn,$n=da);var al=$n.alternate;$_($n),null!==al&&$_(al)}da=da.nextEffect}}catch(ll){if(null===da)throw Error(c(330));kp(da,ll),da=da.nextEffect}}while(null!==da);if(go=je,_o=So(),gn=go.selectionRange,_o!==(pi=go.focusedElem)&&pi&&pi.ownerDocument&&Xi(pi.ownerDocument.documentElement,pi)){for((null!==gn&&Ms(pi)&&(_o=gn.start,void 0===(go=gn.end)&&(go=_o),"selectionStart"in pi?(pi.selectionStart=_o,pi.selectionEnd=Math.min(go,pi.value.length)):(go=(_o=pi.ownerDocument||document)&&_o.defaultView||window).getSelection&&(go=go.getSelection(),$n=pi.textContent.length,al=Math.min(gn.start,$n),gn=void 0===gn.end?al:Math.min(gn.end,$n),!go.extend&&al>gn&&($n=gn,gn=al,al=$n),$n=fi(pi,al),wt=fi(pi,gn),$n&&wt&&(1!==go.rangeCount||go.anchorNode!==$n.node||go.anchorOffset!==$n.offset||go.focusNode!==wt.node||go.focusOffset!==wt.offset)&&((_o=_o.createRange()).setStart($n.node,$n.offset),go.removeAllRanges(),al>gn?(go.addRange(_o),go.extend(wt.node,wt.offset)):(_o.setEnd(wt.node,wt.offset),go.addRange(_o))))),_o=[],go=pi);go=go.parentNode;)1===go.nodeType&&_o.push({element:go,left:go.scrollLeft,top:go.scrollTop});for("function"==typeof pi.focus&&pi.focus(),pi=0;pi<_o.length;pi++)(go=_o[pi]).element.scrollLeft=go.left,go.element.scrollTop=go.top}Za=!!Fe,je=Fe=null,v.current=Z,da=Ae;do{try{for(pi=v;null!==da;){var Bs=da.flags;if(36&Bs&&Wp(pi,da.alternate,da),128&Bs){_o=void 0;var Ja=da.ref;if(null!==Ja)_o=da.stateNode,"function"==typeof Ja?Ja(_o):Ja.current=_o}da=da.nextEffect}}catch(ll){if(null===da)throw Error(c(330));kp(da,ll),da=da.nextEffect}}while(null!==da);da=null,cp(),$a=qe}else v.current=Z;if(su)su=!1,Ip=v,Xp=R;else for(da=Ae;null!==da;)R=da.nextEffect,da.nextEffect=null,8&da.flags&&((Bs=da).sibling=null,Bs.stateNode=null),da=R;if(0===(Ae=v.pendingLanes)&&(hu=null),1===Ae?v===j_?yp++:(yp=0,j_=v):yp=0,Z=Z.stateNode,fd&&"function"==typeof fd.onCommitFiberRoot)try{fd.onCommitFiberRoot(fu,Z,void 0,64==(64&Z.current.flags))}catch{}if(Qd(v,be()),G_)throw G_=!1,v=zh,zh=null,v;return 8&$a||fn(),null}function ad(){for(;null!==da;){var v=da.alternate;Ep||null===T_||(8&da.flags?Cn(da,T_)&&(Ep=!0):13===da.tag&&Qp(v,da)&&Cn(da,T_)&&(Ep=!0));var R=da.flags;256&R&&gp(v,da),!(512&R)||su||(su=!0,Ot(97,function(){return Lf(),null})),da=da.nextEffect}}function Lf(){if(90!==Xp){var v=97<Xp?97:Xp;return Xp=90,Ze(v,Ch)}return!1}function Sh(v,R){Y_.push(R,v),su||(su=!0,Ot(97,function(){return Lf(),null}))}function b_(v,R){gh.push(R,v),su||(su=!0,Ot(97,function(){return Lf(),null}))}function Ch(){if(null===Ip)return!1;var v=Ip;if(Ip=null,48&$a)throw Error(c(331));var R=$a;$a|=32;var Z=gh;gh=[];for(var Ae=0;Ae<Z.length;Ae+=2){var qe=Z[Ae],wt=Z[Ae+1],gn=qe.destroy;if(qe.destroy=void 0,"function"==typeof gn)try{gn()}catch(Sr){if(null===wt)throw Error(c(330));kp(wt,Sr)}}for(Z=Y_,Y_=[],Ae=0;Ae<Z.length;Ae+=2){qe=Z[Ae],wt=Z[Ae+1];try{var $n=qe.create;qe.destroy=$n()}catch(Sr){if(null===wt)throw Error(c(330));kp(wt,Sr)}}for($n=v.current.firstEffect;null!==$n;)v=$n.nextEffect,$n.nextEffect=null,8&$n.flags&&($n.sibling=null,$n.stateNode=null),$n=v;return $a=R,fn(),!0}function J_(v,R,Z){Ci(v,R=Wd(0,R=Od(Z,R),1)),R=Lu(),null!==(v=Fp(v,1))&&(Ul(v,1,R),Qd(v,R))}function kp(v,R){if(3===v.tag)J_(v,v,R);else for(var Z=v.return;null!==Z;){if(3===Z.tag){J_(Z,v,R);break}if(1===Z.tag){var Ae=Z.stateNode;if("function"==typeof Z.type.getDerivedStateFromError||"function"==typeof Ae.componentDidCatch&&(null===hu||!hu.has(Ae))){var qe=L_(Z,v=Od(R,v),1);if(Ci(Z,qe),qe=Lu(),null!==(Z=Fp(Z,1)))Ul(Z,1,qe),Qd(Z,qe);else if("function"==typeof Ae.componentDidCatch&&(null===hu||!hu.has(Ae)))try{Ae.componentDidCatch(R,v)}catch{}break}}Z=Z.return}}function hm(v,R,Z){var Ae=v.pingCache;null!==Ae&&Ae.delete(R),R=Lu(),v.pingedLanes|=v.suspendedLanes&Z,id===v&&(qs&Z)===Z&&(4===yu||3===yu&&(62914560&qs)===qs&&500>be()-wf?Ff(v,0):B_|=Z),Qd(v,R)}function mm(v,R){var Z=v.stateNode;null!==Z&&Z.delete(R),0==(R=0)&&(2&(R=v.mode)?4&R?(0===Nf&&(Nf=cf),0===(R=ia(62914560&~Nf))&&(R=4194304)):R=99===Ne()?1:2:R=1),Z=Lu(),null!==(v=Fp(v,R))&&(Ul(v,R,Z),Qd(v,Z))}function Rm(v,R,Z,Ae){this.tag=v,this.key=Z,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=R,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=Ae,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function ld(v,R,Z,Ae){return new Rm(v,R,Z,Ae)}function Q_(v){return!(!(v=v.prototype)||!v.isReactComponent)}function Sp(v,R){var Z=v.alternate;return null===Z?((Z=ld(v.tag,R,v.key,v.mode)).elementType=v.elementType,Z.type=v.type,Z.stateNode=v.stateNode,Z.alternate=v,v.alternate=Z):(Z.pendingProps=R,Z.type=v.type,Z.flags=0,Z.nextEffect=null,Z.firstEffect=null,Z.lastEffect=null),Z.childLanes=v.childLanes,Z.lanes=v.lanes,Z.child=v.child,Z.memoizedProps=v.memoizedProps,Z.memoizedState=v.memoizedState,Z.updateQueue=v.updateQueue,Z.dependencies=null===(R=v.dependencies)?null:{lanes:R.lanes,firstContext:R.firstContext},Z.sibling=v.sibling,Z.index=v.index,Z.ref=v.ref,Z}function Th(v,R,Z,Ae,qe,wt){var gn=2;if(Ae=v,"function"==typeof v)Q_(v)&&(gn=1);else if("string"==typeof v)gn=5;else e:switch(v){case Me:return Rd(Z.children,qe,wt,R);case bn:gn=8,qe|=16;break;case yt:gn=8,qe|=1;break;case et:return(v=ld(12,Z,R,8|qe)).elementType=et,v.type=et,v.lanes=wt,v;case bt:return(v=ld(13,Z,R,qe)).type=bt,v.elementType=bt,v.lanes=wt,v;case Ct:return(v=ld(19,Z,R,qe)).elementType=Ct,v.lanes=wt,v;case Dn:return vm(Z,qe,wt,R);case Rt:return(v=ld(24,Z,R,qe)).elementType=Rt,v.lanes=wt,v;default:if("object"==typeof v&&null!==v)switch(v.$$typeof){case tt:gn=10;break e;case Et:gn=9;break e;case ze:gn=11;break e;case Qt:gn=14;break e;case ht:gn=16,Ae=null;break e;case en:gn=22;break e}throw Error(c(130,null==v?v:typeof v,""))}return(R=ld(gn,Z,R,qe)).elementType=v,R.type=Ae,R.lanes=wt,R}function Rd(v,R,Z,Ae){return(v=ld(7,v,Ae,R)).lanes=Z,v}function vm(v,R,Z,Ae){return(v=ld(23,v,Ae,R)).elementType=Dn,v.lanes=Z,v}function Jh(v,R,Z){return(v=ld(6,v,null,R)).lanes=Z,v}function bh(v,R,Z){return(R=ld(4,null!==v.children?v.children:[],v.key,R)).lanes=Z,R.stateNode={containerInfo:v.containerInfo,pendingChildren:null,implementation:v.implementation},R}function K_(v,R,Z){this.tag=R,this.containerInfo=v,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=Z,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=ta(0),this.expirationTimes=ta(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ta(0),this.mutableSourceEagerHydrationData=null}function M_(v,R,Z,Ae){var qe=R.current,wt=Lu(),gn=uf(qe);e:if(Z){t:{if(Mo(Z=Z._reactInternals)!==Z||1!==Z.tag)throw Error(c(170));var $n=Z;do{switch($n.tag){case 3:$n=$n.stateNode.context;break t;case 1:if(Du($n.type)){$n=$n.stateNode.__reactInternalMemoizedMergedChildContext;break t}}$n=$n.return}while(null!==$n);throw Error(c(171))}if(1===Z.tag){var Sr=Z.type;if(Du(Sr)){Z=Ed(Z,Sr,$n);break e}}Z=$n}else Z=Gc;return null===R.context?R.context=Z:R.pendingContext=Z,(R=Hr(wt,gn)).payload={element:v},null!==(Ae=void 0===Ae?null:Ae)&&(R.callback=Ae),Ci(qe,R),Jf(qe,gn,wt),gn}function F(v){return(v=v.current).child?v.child.stateNode:null}function oe(v,R){if(null!==(v=v.memoizedState)&&null!==v.dehydrated){var Z=v.retryLane;v.retryLane=0!==Z&&Z<R?Z:R}}function S(v,R){oe(v,R),(v=v.alternate)&&oe(v,R)}function Re(v,R,Z){var Ae=null!=Z&&null!=Z.hydrationOptions&&Z.hydrationOptions.mutableSources||null;if(Z=new K_(v,R,null!=Z&&!0===Z.hydrate),R=ld(3,null,null,2===R?7:1===R?3:0),Z.current=R,R.stateNode=Z,Zn(R),v[dc]=Z.current,ks(8===v.nodeType?v.parentNode:v),Ae)for(v=0;v<Ae.length;v++){var qe=(R=Ae[v])._getVersion;qe=qe(R._source),null==Z.mutableSourceEagerHydrationData?Z.mutableSourceEagerHydrationData=[R,qe]:Z.mutableSourceEagerHydrationData.push(R,qe)}this._internalRoot=Z}function ct(v){return!(!v||1!==v.nodeType&&9!==v.nodeType&&11!==v.nodeType&&(8!==v.nodeType||" react-mount-point-unstable "!==v.nodeValue))}function Ar(v,R,Z,Ae,qe){var wt=Z._reactRootContainer;if(wt){var gn=wt._internalRoot;if("function"==typeof qe){var $n=qe;qe=function(){var Di=F(gn);$n.call(Di)}}M_(R,gn,v,qe)}else{if(wt=Z._reactRootContainer=function Rn(v,R){if(R||(R=!(!(R=v?9===v.nodeType?v.documentElement:v.firstChild:null)||1!==R.nodeType||!R.hasAttribute("data-reactroot"))),!R)for(var Z;Z=v.lastChild;)v.removeChild(Z);return new Re(v,0,R?{hydrate:!0}:void 0)}(Z,Ae),gn=wt._internalRoot,"function"==typeof qe){var Sr=qe;qe=function(){var Di=F(gn);Sr.call(Di)}}md(function(){M_(R,gn,v,qe)})}return F(gn)}function si(v,R){var Z=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ct(R))throw Error(c(200));return function Km(v,R,Z){var Ae=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ue,key:null==Ae?null:""+Ae,children:v,containerInfo:R,implementation:Z}}(v,R,null,Z)}gm=function(v,R,Z){var Ae=R.lanes;if(null!==v)if(v.memoizedProps!==R.pendingProps||iu.current)_d=!0;else{if(!(Z&Ae)){switch(_d=!1,R.tag){case 3:Dm(R),Lt();break;case 5:Td(R);break;case 1:Du(R.type)&&ju(R);break;case 4:Pu(R,R.stateNode.containerInfo);break;case 10:Ae=R.memoizedProps.value;var qe=R.type._context;xl(N,qe._currentValue),qe._currentValue=Ae;break;case 13:if(null!==R.memoizedState)return Z&R.child.childLanes?dm(v,R,Z):(xl(xc,1&xc.current),null!==(R=mp(v,R,Z))?R.sibling:null);xl(xc,1&xc.current);break;case 19:if(Ae=0!=(Z&R.childLanes),64&v.flags){if(Ae)return Vp(v,R,Z);R.flags|=64}if(null!==(qe=R.memoizedState)&&(qe.rendering=null,qe.tail=null,qe.lastEffect=null),xl(xc,xc.current),Ae)break;return null;case 23:case 24:return R.lanes=0,Uh(v,R,Z)}return mp(v,R,Z)}_d=!!(16384&v.flags)}else _d=!1;switch(R.lanes=0,R.tag){case 2:if(Ae=R.type,null!==v&&(v.alternate=null,R.alternate=null,R.flags|=2),v=R.pendingProps,qe=Pc(R,xa.current),$t(R,Z),qe=$h(null,R,Ae,v,qe,Z),R.flags|=1,"object"==typeof qe&&null!==qe&&"function"==typeof qe.render&&void 0===qe.$$typeof){if(R.tag=1,R.memoizedState=null,R.updateQueue=null,Du(Ae)){var wt=!0;ju(R)}else wt=!1;R.memoizedState=null!=qe.state?qe.state:null,Zn(R);var gn=Ae.getDerivedStateFromProps;"function"==typeof gn&&co(R,Ae,gn,v),qe.updater=vo,R.stateNode=qe,qe._reactInternals=R,el(R,Ae,v,Z),R=Bh(null,R,Ae,!0,wt,Z)}else R.tag=0,xu(null,R,qe,Z),R=R.child;return R;case 16:qe=R.elementType;e:{switch(null!==v&&(v.alternate=null,R.alternate=null,R.flags|=2),v=R.pendingProps,qe=(wt=qe._init)(qe._payload),R.type=qe,wt=R.tag=function Pm(v){if("function"==typeof v)return Q_(v)?1:0;if(null!=v){if((v=v.$$typeof)===ze)return 11;if(v===Qt)return 14}return 2}(qe),v=C(qe,v),wt){case 0:R=_h(null,R,qe,v,Z);break e;case 1:R=um(null,R,qe,v,Z);break e;case 11:R=zp(null,R,qe,v,Z);break e;case 14:R=Md(null,R,qe,C(qe.type,v),Ae,Z);break e}throw Error(c(306,qe,""))}return R;case 0:return qe=R.pendingProps,_h(v,R,Ae=R.type,qe=R.elementType===Ae?qe:C(Ae,qe),Z);case 1:return qe=R.pendingProps,um(v,R,Ae=R.type,qe=R.elementType===Ae?qe:C(Ae,qe),Z);case 3:if(Dm(R),Ae=R.updateQueue,null===v||null===Ae)throw Error(c(282));if(Ae=R.pendingProps,qe=null!==(qe=R.memoizedState)?qe.element:null,or(v,R),$i(R,Ae,null,Z),(Ae=R.memoizedState.element)===qe)Lt(),R=mp(v,R,Z);else{if((wt=(qe=R.stateNode).hydrate)&&(Ld=cr(R.stateNode.containerInfo.firstChild),bd=R,wt=Xu=!0),wt){if(null!=(v=qe.mutableSourceEagerHydrationData))for(qe=0;qe<v.length;qe+=2)(wt=v[qe])._workInProgressVersionPrimary=v[qe+1],Tn.push(wt);for(Z=Yc(R,null,Ae,Z),R.child=Z;Z;)Z.flags=-3&Z.flags|1024,Z=Z.sibling}else xu(v,R,Ae,Z),Lt();R=R.child}return R;case 5:return Td(R),null===v&&ne(R),wt=null!==v?v.memoizedProps:null,gn=(qe=R.pendingProps).children,Vt(Ae=R.type,qe)?gn=null:null!==wt&&Vt(Ae,wt)&&(R.flags|=16),cm(v,R),xu(v,R,gn,Z),R.child;case 6:return null===v&&ne(R),null;case 13:return dm(v,R,Z);case 4:return Pu(R,R.stateNode.containerInfo),Ae=R.pendingProps,null===v?R.child=wl(R,null,Ae,Z):xu(v,R,Ae,Z),R.child;case 11:return qe=R.pendingProps,zp(v,R,Ae=R.type,qe=R.elementType===Ae?qe:C(Ae,qe),Z);case 7:return xu(v,R,R.pendingProps,Z),R.child;case 8:case 12:return xu(v,R,R.pendingProps.children,Z),R.child;case 10:e:{Ae=R.type._context,gn=R.memoizedProps,wt=(qe=R.pendingProps).value;var $n=R.type._context;if(xl(N,$n._currentValue),$n._currentValue=wt,null!==gn)if(0==(wt=Kt($n=gn.value,wt)?0:0|("function"==typeof Ae._calculateChangedBits?Ae._calculateChangedBits($n,wt):1073741823))){if(gn.children===qe.children&&!iu.current){R=mp(v,R,Z);break e}}else for(null!==($n=R.child)&&($n.return=R);null!==$n;){var Sr=$n.dependencies;if(null!==Sr){gn=$n.child;for(var Di=Sr.firstContext;null!==Di;){if(Di.context===Ae&&Di.observedBits&wt){1===$n.tag&&((Di=Hr(-1,Z&-Z)).tag=2,Ci($n,Di)),$n.lanes|=Z,null!==(Di=$n.alternate)&&(Di.lanes|=Z),it($n.return,Z),Sr.lanes|=Z;break}Di=Di.next}}else gn=10===$n.tag&&$n.type===R.type?null:$n.child;if(null!==gn)gn.return=$n;else for(gn=$n;null!==gn;){if(gn===R){gn=null;break}if(null!==($n=gn.sibling)){$n.return=gn.return,gn=$n;break}gn=gn.return}$n=gn}xu(v,R,qe.children,Z),R=R.child}return R;case 9:return qe=R.type,Ae=(wt=R.pendingProps).children,$t(R,Z),Ae=Ae(qe=pn(qe,wt.unstable_observedBits)),R.flags|=1,xu(v,R,Ae,Z),R.child;case 14:return wt=C(qe=R.type,R.pendingProps),Md(v,R,qe,wt=C(qe.type,wt),Ae,Z);case 15:return F_(v,R,R.type,R.pendingProps,Ae,Z);case 17:return qe=R.pendingProps,qe=R.elementType===(Ae=R.type)?qe:C(Ae,qe),null!==v&&(v.alternate=null,R.alternate=null,R.flags|=2),R.tag=1,Du(Ae)?(v=!0,ju(R)):v=!1,$t(R,Z),ds(R,Ae,qe),el(R,Ae,qe,Z),Bh(null,R,Ae,!0,v,Z);case 19:return Vp(v,R,Z);case 23:case 24:return Uh(v,R,Z)}throw Error(c(156,R.tag))},Re.prototype.render=function(v){M_(v,this._internalRoot,null,null)},Re.prototype.unmount=function(){var v=this._internalRoot,R=v.containerInfo;M_(null,v,null,function(){R[dc]=null})},mn=function(v){13===v.tag&&(Jf(v,4,Lu()),S(v,4))},kr=function(v){13===v.tag&&(Jf(v,67108864,Lu()),S(v,67108864))},Qi=function(v){if(13===v.tag){var R=Lu(),Z=uf(v);Jf(v,Z,R),S(v,Z)}},xo=function(v,R){return R()},vr=function(v,R,Z){switch(R){case"input":if(so(v,Z),R=Z.name,"radio"===Z.type&&null!=R){for(Z=v;Z.parentNode;)Z=Z.parentNode;for(Z=Z.querySelectorAll("input[name="+JSON.stringify(""+R)+'][type="radio"]'),R=0;R<Z.length;R++){var Ae=Z[R];if(Ae!==v&&Ae.form===v.form){var qe=tc(Ae);if(!qe)throw Error(c(90));At(Ae),so(Ae,qe)}}}break;case"textarea":cs(v,Z);break;case"select":null!=(R=Z.value)&&jr(v,!!Z.multiple,R,!1)}},dr=Qf,Wn=function(v,R,Z,Ae,qe){var wt=$a;$a|=4;try{return Ze(98,v.bind(null,R,Z,Ae,qe))}finally{0===($a=wt)&&(Np(),fn())}},Wt=function(){!(49&$a)&&(function Dd(){if(null!==Wf){var v=Wf;Wf=null,v.forEach(function(R){R.expiredLanes|=24&R.pendingLanes,Qd(R,be())})}fn()}(),Lf())},kt=function(v,R){var Z=$a;$a|=2;try{return v(R)}finally{0===($a=Z)&&(Np(),fn())}};var xi={Events:[fa,uu,tc,nr,Qn,Lf,{current:!1}]},Li={findFiberByHostInstance:nu,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Es={bundleType:Li.bundleType,version:Li.version,rendererPackageName:Li.rendererPackageName,rendererConfig:Li.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:me.ReactCurrentDispatcher,findHostInstanceByFiber:function(v){return null===(v=$r(v))?null:v.stateNode},findFiberByHostInstance:Li.findFiberByHostInstance||function V(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ns=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ns.isDisabled&&ns.supportsFiber)try{fu=ns.inject(Es),fd=ns}catch{}}b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xi,b.createPortal=si,b.findDOMNode=function(v){if(null==v)return null;if(1===v.nodeType)return v;var R=v._reactInternals;if(void 0===R)throw"function"==typeof v.render?Error(c(188)):Error(c(268,Object.keys(v)));return null===(v=$r(R))?null:v.stateNode},b.flushSync=function(v,R){var Z=$a;if(48&Z)return v(R);$a|=1;try{if(v)return Ze(99,v.bind(null,R))}finally{$a=Z,fn()}},b.hydrate=function(v,R,Z){if(!ct(R))throw Error(c(200));return Ar(null,v,R,!0,Z)},b.render=function(v,R,Z){if(!ct(R))throw Error(c(200));return Ar(null,v,R,!1,Z)},b.unmountComponentAtNode=function(v){if(!ct(v))throw Error(c(40));return!!v._reactRootContainer&&(md(function(){Ar(null,null,v,!1,function(){v._reactRootContainer=null,v[dc]=null})}),!0)},b.unstable_batchedUpdates=Qf,b.unstable_createPortal=function(v,R){return si(v,R,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},b.unstable_renderSubtreeIntoContainer=function(v,R,Z,Ae){if(!ct(Z))throw Error(c(200));if(null==v||void 0===v._reactInternals)throw Error(c(38));return Ar(v,R,Z,!1,Ae)},b.version="17.0.2"},88768:(y,b,o)=>{"use strict";(function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(a){console.error(a)}})(),y.exports=o(85503)},14395:(y,b,o)=>{"use strict";var u,r=o(55004),a="<<anonymous>>",c=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};c.isRequired=c;var e=function(){return c};function T(Me,yt){return function E(Me,yt){return function h(Me){function yt(tt,Et,ze,bt,Ct,Qt){for(var ht=arguments.length,en=Array(ht>6?ht-6:0),nn=6;nn<ht;nn++)en[nn-6]=arguments[nn];return Qt=Qt||ze,bt=bt||a,null!=Et[ze]?Me.apply(void 0,[Et,ze,bt,Ct,Qt].concat(en)):tt?new Error("Required "+Ct+" `"+Qt+"` was not specified in `"+bt+"`."):void 0}var et=yt.bind(null,!1);return et.isRequired=yt.bind(null,!0),et}(function et(tt,Et,ze,bt,Ct){var Qt=tt[Et];if(!yt(Qt)){var ht=function f(Me){var yt=typeof Me;return Array.isArray(Me)?"array":Me instanceof RegExp?"object":Me instanceof r.Iterable?"Immutable."+Me.toSource().split(" ")[0]:yt}(Qt);return new Error("Invalid "+bt+" `"+Ct+"` of type `"+ht+"` supplied to `"+ze+"`, expected `"+Me+"`.")}return null})}("Iterable."+Me,function(et){return r.Iterable.isIterable(et)&&yt(et)})}(u={listOf:e,mapOf:e,orderedMapOf:e,setOf:e,orderedSetOf:e,stackOf:e,iterableOf:e,recordOf:e,shape:e,contains:e,mapContains:e,orderedMapContains:e,list:c,map:c,orderedMap:c,set:c,orderedSet:c,stack:c,seq:c,record:c,iterable:c}).iterable.indexed=T("Indexed",r.Iterable.isIndexed),u.iterable.keyed=T("Keyed",r.Iterable.isKeyed),y.exports=u},1422:(y,b)=>{"use strict";var r=60103,a=60106,u=60107,c=60108,e=60114,f=60109,h=60110,E=60112,T=60113,D=60120,A=60115,$=60116;if("function"==typeof Symbol&&Symbol.for){var pe=Symbol.for;r=pe("react.element"),a=pe("react.portal"),u=pe("react.fragment"),c=pe("react.strict_mode"),e=pe("react.profiler"),f=pe("react.provider"),h=pe("react.context"),E=pe("react.forward_ref"),T=pe("react.suspense"),D=pe("react.suspense_list"),A=pe("react.memo"),$=pe("react.lazy"),pe("react.block"),pe("react.server.block"),pe("react.fundamental"),pe("react.debug_trace_mode"),pe("react.legacy_hidden")}b.isContextConsumer=function(ze){return function j(ze){if("object"==typeof ze&&null!==ze){var bt=ze.$$typeof;switch(bt){case r:switch(ze=ze.type){case u:case e:case c:case T:case D:return ze;default:switch(ze=ze&&ze.$$typeof){case h:case E:case $:case A:case f:return ze;default:return bt}}case a:return bt}}}(ze)===h}},56261:(y,b,o)=>{"use strict";y.exports=o(1422)},55429:(y,b,o)=>{"use strict";var r=o(18228),a=60103,u=60106;b.Fragment=60107,b.StrictMode=60108,b.Profiler=60114;var c=60109,e=60110,f=60112;b.Suspense=60113;var h=60115,E=60116;if("function"==typeof Symbol&&Symbol.for){var T=Symbol.for;a=T("react.element"),u=T("react.portal"),b.Fragment=T("react.fragment"),b.StrictMode=T("react.strict_mode"),b.Profiler=T("react.profiler"),c=T("react.provider"),e=T("react.context"),f=T("react.forward_ref"),b.Suspense=T("react.suspense"),h=T("react.memo"),E=T("react.lazy")}var D="function"==typeof Symbol&&Symbol.iterator;function $(ht){for(var en="https://reactjs.org/docs/error-decoder.html?invariant="+ht,nn=1;nn<arguments.length;nn++)en+="&args[]="+encodeURIComponent(arguments[nn]);return"Minified React error #"+ht+"; visit "+en+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U={};function q(ht,en,nn){this.props=ht,this.context=en,this.refs=U,this.updater=nn||Q}function L(){}function J(ht,en,nn){this.props=ht,this.context=en,this.refs=U,this.updater=nn||Q}q.prototype.isReactComponent={},q.prototype.setState=function(ht,en){if("object"!=typeof ht&&"function"!=typeof ht&&null!=ht)throw Error($(85));this.updater.enqueueSetState(this,ht,en,"setState")},q.prototype.forceUpdate=function(ht){this.updater.enqueueForceUpdate(this,ht,"forceUpdate")},L.prototype=q.prototype;var pe=J.prototype=new L;pe.constructor=J,r(pe,q.prototype),pe.isPureReactComponent=!0;var j={current:null},ue=Object.prototype.hasOwnProperty,ie={key:!0,ref:!0,__self:!0,__source:!0};function me(ht,en,nn){var bn,Dn={},Rt=null,Xt=null;if(null!=en)for(bn in void 0!==en.ref&&(Xt=en.ref),void 0!==en.key&&(Rt=""+en.key),en)ue.call(en,bn)&&!ie.hasOwnProperty(bn)&&(Dn[bn]=en[bn]);var un=arguments.length-2;if(1===un)Dn.children=nn;else if(1<un){for(var _n=Array(un),kn=0;kn<un;kn++)_n[kn]=arguments[kn+2];Dn.children=_n}if(ht&&ht.defaultProps)for(bn in un=ht.defaultProps)void 0===Dn[bn]&&(Dn[bn]=un[bn]);return{$$typeof:a,type:ht,key:Rt,ref:Xt,props:Dn,_owner:j.current}}function Ue(ht){return"object"==typeof ht&&null!==ht&&ht.$$typeof===a}var yt=/\/+/g;function et(ht,en){return"object"==typeof ht&&null!==ht&&null!=ht.key?function Me(ht){var en={"=":"=0",":":"=2"};return"$"+ht.replace(/[=:]/g,function(nn){return en[nn]})}(""+ht.key):en.toString(36)}function tt(ht,en,nn,bn,Dn){var Rt=typeof ht;("undefined"===Rt||"boolean"===Rt)&&(ht=null);var Xt=!1;if(null===ht)Xt=!0;else switch(Rt){case"string":case"number":Xt=!0;break;case"object":switch(ht.$$typeof){case a:case u:Xt=!0}}if(Xt)return Dn=Dn(Xt=ht),ht=""===bn?"."+et(Xt,0):bn,Array.isArray(Dn)?(nn="",null!=ht&&(nn=ht.replace(yt,"$&/")+"/"),tt(Dn,en,nn,"",function(kn){return kn})):null!=Dn&&(Ue(Dn)&&(Dn=function Oe(ht,en){return{$$typeof:a,type:ht.type,key:en,ref:ht.ref,props:ht.props,_owner:ht._owner}}(Dn,nn+(!Dn.key||Xt&&Xt.key===Dn.key?"":(""+Dn.key).replace(yt,"$&/")+"/")+ht)),en.push(Dn)),1;if(Xt=0,bn=""===bn?".":bn+":",Array.isArray(ht))for(var un=0;un<ht.length;un++){var _n=bn+et(Rt=ht[un],un);Xt+=tt(Rt,en,nn,_n,Dn)}else if(_n=function A(ht){return null===ht||"object"!=typeof ht?null:"function"==typeof(ht=D&&ht[D]||ht["@@iterator"])?ht:null}(ht),"function"==typeof _n)for(ht=_n.call(ht),un=0;!(Rt=ht.next()).done;)Xt+=tt(Rt=Rt.value,en,nn,_n=bn+et(Rt,un++),Dn);else if("object"===Rt)throw en=""+ht,Error($(31,"[object Object]"===en?"object with keys {"+Object.keys(ht).join(", ")+"}":en));return Xt}function Et(ht,en,nn){if(null==ht)return ht;var bn=[],Dn=0;return tt(ht,bn,"","",function(Rt){return en.call(nn,Rt,Dn++)}),bn}function ze(ht){if(-1===ht._status){var en=ht._result;en=en(),ht._status=0,ht._result=en,en.then(function(nn){0===ht._status&&(nn=nn.default,ht._status=1,ht._result=nn)},function(nn){0===ht._status&&(ht._status=2,ht._result=nn)})}if(1===ht._status)return ht._result;throw ht._result}var bt={current:null};function Ct(){var ht=bt.current;if(null===ht)throw Error($(321));return ht}var Qt={ReactCurrentDispatcher:bt,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:j,IsSomeRendererActing:{current:!1},assign:r};b.Children={map:Et,forEach:function(ht,en,nn){Et(ht,function(){en.apply(this,arguments)},nn)},count:function(ht){var en=0;return Et(ht,function(){en++}),en},toArray:function(ht){return Et(ht,function(en){return en})||[]},only:function(ht){if(!Ue(ht))throw Error($(143));return ht}},b.Component=q,b.PureComponent=J,b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Qt,b.cloneElement=function(ht,en,nn){if(null==ht)throw Error($(267,ht));var bn=r({},ht.props),Dn=ht.key,Rt=ht.ref,Xt=ht._owner;if(null!=en){if(void 0!==en.ref&&(Rt=en.ref,Xt=j.current),void 0!==en.key&&(Dn=""+en.key),ht.type&&ht.type.defaultProps)var un=ht.type.defaultProps;for(_n in en)ue.call(en,_n)&&!ie.hasOwnProperty(_n)&&(bn[_n]=void 0===en[_n]&&void 0!==un?un[_n]:en[_n])}var _n=arguments.length-2;if(1===_n)bn.children=nn;else if(1<_n){un=Array(_n);for(var kn=0;kn<_n;kn++)un[kn]=arguments[kn+2];bn.children=un}return{$$typeof:a,type:ht.type,key:Dn,ref:Rt,props:bn,_owner:Xt}},b.createContext=function(ht,en){return void 0===en&&(en=null),(ht={$$typeof:e,_calculateChangedBits:en,_currentValue:ht,_currentValue2:ht,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:ht},ht.Consumer=ht},b.createElement=me,b.createFactory=function(ht){var en=me.bind(null,ht);return en.type=ht,en},b.createRef=function(){return{current:null}},b.forwardRef=function(ht){return{$$typeof:f,render:ht}},b.isValidElement=Ue,b.lazy=function(ht){return{$$typeof:E,_payload:{_status:-1,_result:ht},_init:ze}},b.memo=function(ht,en){return{$$typeof:h,type:ht,compare:void 0===en?null:en}},b.useCallback=function(ht,en){return Ct().useCallback(ht,en)},b.useContext=function(ht,en){return Ct().useContext(ht,en)},b.useDebugValue=function(){},b.useEffect=function(ht,en){return Ct().useEffect(ht,en)},b.useImperativeHandle=function(ht,en,nn){return Ct().useImperativeHandle(ht,en,nn)},b.useLayoutEffect=function(ht,en){return Ct().useLayoutEffect(ht,en)},b.useMemo=function(ht,en){return Ct().useMemo(ht,en)},b.useReducer=function(ht,en,nn){return Ct().useReducer(ht,en,nn)},b.useRef=function(ht){return Ct().useRef(ht)},b.useState=function(ht){return Ct().useState(ht)},b.version="17.0.2"},78139:(y,b,o)=>{"use strict";y.exports=o(55429)},59882:(y,b,o)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var a=function c(e){return e&&e.__esModule?e:{default:e}}(o(55004)),u=o(11715);b.default=function(e){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.default.Map,h=Object.keys(e);return function(){var E=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f(),T=arguments[1];return E.withMutations(function(A){h.forEach(function($){var q=(0,e[$])(A.get($),T);(0,u.validateNextState)(q,$,T),A.set($,q)})})}},y.exports=b.default},31208:(y,b,o)=>{"use strict";b.U=void 0;var u=function c(e){return e&&e.__esModule?e:{default:e}}(o(59882));b.U=u.default},46944:(y,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(o){return o&&"@@redux/INIT"===o.type?"initialState argument passed to createStore":"previous state received by the reducer"},y.exports=b.default},99319:(y,b,o)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var a=e(o(55004)),c=e(o(46944));function e(f){return f&&f.__esModule?f:{default:f}}b.default=function(f,h,E){var T=Object.keys(h);if(!T.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";var D=(0,c.default)(E);if(a.default.isImmutable?!a.default.isImmutable(f):!a.default.Iterable.isIterable(f))return"The "+D+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+T.join('", "')+'".';var A=f.toSeq().keySeq().toArray().filter(function($){return!h.hasOwnProperty($)});return A.length>0?"Unexpected "+(1===A.length?"property":"properties")+' "'+A.join('", "')+'" found in '+D+'. Expected to find one of the known reducer property names instead: "'+T.join('", "')+'". Unexpected properties will be ignored.':null},y.exports=b.default},11715:(y,b,o)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.validateNextState=b.getUnexpectedInvocationParameterMessage=b.getStateName=void 0;var a=h(o(46944)),c=h(o(99319)),f=h(o(95159));function h(E){return E&&E.__esModule?E:{default:E}}b.getStateName=a.default,b.getUnexpectedInvocationParameterMessage=c.default,b.validateNextState=f.default},95159:(y,b)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(o,r,a){if(void 0===o)throw new Error('Reducer "'+r+'" returned undefined when handling "'+a.type+'" action. To ignore an action, you must explicitly return the previous state.')},y.exports=b.default},88280:y=>{"use strict";var o,b="";y.exports=function r(a,u){if("string"!=typeof a)throw new TypeError("expected a string");if(1===u)return a;if(2===u)return a+a;var c=a.length*u;if(o!==a||typeof o>"u")o=a,b="";else if(b.length>=c)return b.substr(0,c);for(;c>b.length&&u>1;)1&u&&(b+=a),u>>=1,a+=a;return b=(b+=a).substr(0,c)}},90465:y=>{"use strict";y.exports=function(o,r){if(r=r.split(":")[0],!(o=+o))return!1;switch(r){case"http":case"ws":return 80!==o;case"https":case"wss":return 443!==o;case"ftp":return 21!==o;case"gopher":return 70!==o;case"file":return!1}return 0!==o}},66952:(y,b,o)=>{const r=o(18514),a=o(29394),u=o(87931),c=o(45899);y.exports=e=>{var h,E,f=0,T={type:a.ROOT,stack:[]},D=T,A=T.stack,$=[],Q=me=>{r.error(e,"Nothing to repeat at column "+(me-1))},U=r.strToChars(e);for(h=U.length;f<h;)switch(E=U[f++],E){case"\\":switch(E=U[f++]){case"b":A.push(c.wordBoundary());break;case"B":A.push(c.nonWordBoundary());break;case"w":A.push(u.words());break;case"W":A.push(u.notWords());break;case"d":A.push(u.ints());break;case"D":A.push(u.notInts());break;case"s":A.push(u.whitespace());break;case"S":A.push(u.notWhitespace());break;default:/\d/.test(E)?A.push({type:a.REFERENCE,value:parseInt(E,10)}):A.push({type:a.CHAR,value:E.charCodeAt(0)})}break;case"^":A.push(c.begin());break;case"$":A.push(c.end());break;case"[":var q;"^"===U[f]?(q=!0,f++):q=!1;var L=r.tokenizeClass(U.slice(f),e);f+=L[1],A.push({type:a.SET,set:L[0],not:q});break;case".":A.push(u.anyChar());break;case"(":var J={type:a.GROUP,stack:[],remember:!0};"?"===(E=U[f])&&(E=U[f+1],f+=2,"="===E?J.followedBy=!0:"!"===E?J.notFollowedBy=!0:":"!==E&&r.error(e,`Invalid group, character '${E}' after '?' at column ${f-1}`),J.remember=!1),A.push(J),$.push(D),D=J,A=J.stack;break;case")":0===$.length&&r.error(e,"Unmatched ) at column "+(f-1)),A=(D=$.pop()).options?D.options[D.options.length-1]:D.stack;break;case"|":D.options||(D.options=[D.stack],delete D.stack);var pe=[];D.options.push(pe),A=pe;break;case"{":var ue,ie,j=/^(\d+)(,(\d+)?)?\}/.exec(U.slice(f));null!==j?(0===A.length&&Q(f),ue=parseInt(j[1],10),ie=j[2]?j[3]?parseInt(j[3],10):1/0:ue,f+=j[0].length,A.push({type:a.REPETITION,min:ue,max:ie,value:A.pop()})):A.push({type:a.CHAR,value:123});break;case"?":0===A.length&&Q(f),A.push({type:a.REPETITION,min:0,max:1,value:A.pop()});break;case"+":0===A.length&&Q(f),A.push({type:a.REPETITION,min:1,max:1/0,value:A.pop()});break;case"*":0===A.length&&Q(f),A.push({type:a.REPETITION,min:0,max:1/0,value:A.pop()});break;default:A.push({type:a.CHAR,value:E.charCodeAt(0)})}return 0!==$.length&&r.error(e,"Unterminated group"),T},y.exports.types=a},45899:(y,b,o)=>{const r=o(29394);b.wordBoundary=()=>({type:r.POSITION,value:"b"}),b.nonWordBoundary=()=>({type:r.POSITION,value:"B"}),b.begin=()=>({type:r.POSITION,value:"^"}),b.end=()=>({type:r.POSITION,value:"$"})},87931:(y,b,o)=>{const r=o(29394),a=()=>[{type:r.RANGE,from:48,to:57}],u=()=>[{type:r.CHAR,value:95},{type:r.RANGE,from:97,to:122},{type:r.RANGE,from:65,to:90}].concat(a()),c=()=>[{type:r.CHAR,value:9},{type:r.CHAR,value:10},{type:r.CHAR,value:11},{type:r.CHAR,value:12},{type:r.CHAR,value:13},{type:r.CHAR,value:32},{type:r.CHAR,value:160},{type:r.CHAR,value:5760},{type:r.RANGE,from:8192,to:8202},{type:r.CHAR,value:8232},{type:r.CHAR,value:8233},{type:r.CHAR,value:8239},{type:r.CHAR,value:8287},{type:r.CHAR,value:12288},{type:r.CHAR,value:65279}];b.words=()=>({type:r.SET,set:u(),not:!1}),b.notWords=()=>({type:r.SET,set:u(),not:!0}),b.ints=()=>({type:r.SET,set:a(),not:!1}),b.notInts=()=>({type:r.SET,set:a(),not:!0}),b.whitespace=()=>({type:r.SET,set:c(),not:!1}),b.notWhitespace=()=>({type:r.SET,set:c(),not:!0}),b.anyChar=()=>({type:r.SET,set:[{type:r.CHAR,value:10},{type:r.CHAR,value:13},{type:r.CHAR,value:8232},{type:r.CHAR,value:8233}],not:!0})},29394:y=>{y.exports={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}},18514:(y,b,o)=>{const r=o(29394),a=o(87931),c={0:0,t:9,n:10,v:11,f:12,r:13};b.strToChars=function(e){return e.replace(/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g,function(h,E,T,D,A,$,Q,U){if(T)return h;var q=E?8:D?parseInt(D,16):A?parseInt(A,16):$?parseInt($,8):Q?"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?".indexOf(Q):c[U],L=String.fromCharCode(q);return/[[\]{}^$.|?*+()]/.test(L)&&(L="\\"+L),L})},b.tokenizeClass=(e,f)=>{for(var T,D,h=[],E=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g;null!=(T=E.exec(e));)if(T[1])h.push(a.words());else if(T[2])h.push(a.ints());else if(T[3])h.push(a.whitespace());else if(T[4])h.push(a.notWords());else if(T[5])h.push(a.notInts());else if(T[6])h.push(a.notWhitespace());else if(T[7])h.push({type:r.RANGE,from:(T[8]||T[9]).charCodeAt(0),to:T[10].charCodeAt(0)});else{if(!(D=T[12]))return[h,E.lastIndex];h.push({type:r.CHAR,value:D.charCodeAt(0)})}b.error(f,"Unterminated character class")},b.error=(e,f)=>{throw new SyntaxError("Invalid regular expression: /"+e+"/: "+f)}},26215:(y,b,o)=>{"use strict";o.d(b,{X:()=>u});var r=o(79765),a=o(77971);class u extends r.xQ{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const f=super._subscribe(e);return f&&!f.closed&&e.next(this._value),f}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new a.N;return this._value}next(e){super.next(this._value=e)}}},23098:(y,b,o)=>{"use strict";o.d(b,{P:()=>e});var r=o(59193),a=o(25917),u=o(40205);class e{constructor(h,E,T){this.kind=h,this.value=E,this.error=T,this.hasValue="N"===h}observe(h){switch(this.kind){case"N":return h.next&&h.next(this.value);case"E":return h.error&&h.error(this.error);case"C":return h.complete&&h.complete()}}do(h,E,T){switch(this.kind){case"N":return h&&h(this.value);case"E":return E&&E(this.error);case"C":return T&&T()}}accept(h,E,T){return h&&"function"==typeof h.next?this.observe(h):this.do(h,E,T)}toObservable(){switch(this.kind){case"N":return(0,a.of)(this.value);case"E":return(0,u._)(this.error);case"C":return(0,r.c)()}throw new Error("unexpected notification kind value")}static createNext(h){return typeof h<"u"?new e("N",h):e.undefinedValueNotification}static createError(h){return new e("E",void 0,h)}static createComplete(){return e.completeNotification}}e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0)},70882:(y,b,o)=>{"use strict";o.d(b,{y:()=>T});var r=o(77393),u=o(29181),c=o(46490),f=o(16554),h=o(34022),E=o(82494);let T=(()=>{class A{constructor(Q){this._isScalar=!1,Q&&(this._subscribe=Q)}lift(Q){const U=new A;return U.source=this,U.operator=Q,U}subscribe(Q,U,q){const{operator:L}=this,J=function e(A,$,Q){if(A){if(A instanceof r.L)return A;if(A[u.b])return A[u.b]()}return A||$||Q?new r.L(A,$,Q):new r.L(c.c)}(Q,U,q);if(J.add(L?L.call(J,this.source):this.source||E.v.useDeprecatedSynchronousErrorHandling&&!J.syncErrorThrowable?this._subscribe(J):this._trySubscribe(J)),E.v.useDeprecatedSynchronousErrorHandling&&J.syncErrorThrowable&&(J.syncErrorThrowable=!1,J.syncErrorThrown))throw J.syncErrorValue;return J}_trySubscribe(Q){try{return this._subscribe(Q)}catch(U){E.v.useDeprecatedSynchronousErrorHandling&&(Q.syncErrorThrown=!0,Q.syncErrorValue=U),function a(A){for(;A;){const{closed:$,destination:Q,isStopped:U}=A;if($||U)return!1;A=Q&&Q instanceof r.L?Q:null}return!0}(Q)?Q.error(U):console.warn(U)}}forEach(Q,U){return new(U=D(U))((q,L)=>{let J;J=this.subscribe(pe=>{try{Q(pe)}catch(j){L(j),J&&J.unsubscribe()}},L,q)})}_subscribe(Q){const{source:U}=this;return U&&U.subscribe(Q)}[f.L](){return this}pipe(...Q){return 0===Q.length?this:(0,h.U)(Q)(this)}toPromise(Q){return new(Q=D(Q))((U,q)=>{let L;this.subscribe(J=>L=J,J=>q(J),()=>U(L))})}}return A.create=$=>new A($),A})();function D(A){if(A||(A=E.v.Promise||Promise),!A)throw new Error("no Promise impl found");return A}},46490:(y,b,o)=>{"use strict";o.d(b,{c:()=>u});var r=o(82494),a=o(54449);const u={closed:!0,next(c){},error(c){if(r.v.useDeprecatedSynchronousErrorHandling)throw c;(0,a.z)(c)},complete(){}}},55197:(y,b,o)=>{"use strict";o.d(b,{L:()=>a});var r=o(77393);class a extends r.L{notifyNext(c,e,f,h,E){this.destination.next(e)}notifyError(c,e){this.destination.error(c)}notifyComplete(c){this.destination.complete()}}},7357:(y,b,o)=>{"use strict";o.d(b,{t:()=>$});var r=o(79765),a=o(23989),c=o(46493);const h=new class e extends c.v{}(class u extends a.o{constructor(q,L){super(q,L),this.scheduler=q,this.work=L}schedule(q,L=0){return L>0?super.schedule(q,L):(this.delay=L,this.state=q,this.scheduler.flush(this),this)}execute(q,L){return L>0||this.closed?super.execute(q,L):this._execute(q,L)}requestAsyncId(q,L,J=0){return null!==J&&J>0||null===J&&this.delay>0?super.requestAsyncId(q,L,J):q.flush(this)}});var E=o(13464),T=o(59746),D=o(77971),A=o(78858);class $ extends r.xQ{constructor(q=Number.POSITIVE_INFINITY,L=Number.POSITIVE_INFINITY,J){super(),this.scheduler=J,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=q<1?1:q,this._windowTime=L<1?1:L,L===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(q){if(!this.isStopped){const L=this._events;L.push(q),L.length>this._bufferSize&&L.shift()}super.next(q)}nextTimeWindow(q){this.isStopped||(this._events.push(new Q(this._getNow(),q)),this._trimBufferThenGetEvents()),super.next(q)}_subscribe(q){const L=this._infiniteTimeWindow,J=L?this._events:this._trimBufferThenGetEvents(),pe=this.scheduler,j=J.length;let ue;if(this.closed)throw new D.N;if(this.isStopped||this.hasError?ue=E.w.EMPTY:(this.observers.push(q),ue=new A.W(this,q)),pe&&q.add(q=new T.ht(q,pe)),L)for(let ie=0;ie<j&&!q.closed;ie++)q.next(J[ie]);else for(let ie=0;ie<j&&!q.closed;ie++)q.next(J[ie].value);return this.hasError?q.error(this.thrownError):this.isStopped&&q.complete(),ue}_getNow(){return(this.scheduler||h).now()}_trimBufferThenGetEvents(){const q=this._getNow(),L=this._bufferSize,J=this._windowTime,pe=this._events,j=pe.length;let ue=0;for(;ue<j&&!(q-pe[ue].time<J);)ue++;return j>L&&(ue=Math.max(ue,j-L)),ue>0&&pe.splice(0,ue),pe}}class Q{constructor(q,L){this.time=q,this.value=L}}},79765:(y,b,o)=>{"use strict";o.d(b,{Yc:()=>h,xQ:()=>E});var r=o(70882),a=o(77393),u=o(13464),c=o(77971),e=o(78858),f=o(29181);class h extends a.L{constructor(A){super(A),this.destination=A}}let E=(()=>{class D extends r.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f.b](){return new h(this)}lift($){const Q=new T(this,this);return Q.operator=$,Q}next($){if(this.closed)throw new c.N;if(!this.isStopped){const{observers:Q}=this,U=Q.length,q=Q.slice();for(let L=0;L<U;L++)q[L].next($)}}error($){if(this.closed)throw new c.N;this.hasError=!0,this.thrownError=$,this.isStopped=!0;const{observers:Q}=this,U=Q.length,q=Q.slice();for(let L=0;L<U;L++)q[L].error($);this.observers.length=0}complete(){if(this.closed)throw new c.N;this.isStopped=!0;const{observers:$}=this,Q=$.length,U=$.slice();for(let q=0;q<Q;q++)U[q].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe($){if(this.closed)throw new c.N;return super._trySubscribe($)}_subscribe($){if(this.closed)throw new c.N;return this.hasError?($.error(this.thrownError),u.w.EMPTY):this.isStopped?($.complete(),u.w.EMPTY):(this.observers.push($),new e.W(this,$))}asObservable(){const $=new r.y;return $.source=this,$}}return D.create=(A,$)=>new T(A,$),D})();class T extends E{constructor(A,$){super(),this.destination=A,this.source=$}next(A){const{destination:$}=this;$&&$.next&&$.next(A)}error(A){const{destination:$}=this;$&&$.error&&this.destination.error(A)}complete(){const{destination:A}=this;A&&A.complete&&this.destination.complete()}_subscribe(A){const{source:$}=this;return $?this.source.subscribe(A):u.w.EMPTY}}},78858:(y,b,o)=>{"use strict";o.d(b,{W:()=>a});var r=o(13464);class a extends r.w{constructor(c,e){super(),this.subject=c,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const c=this.subject,e=c.observers;if(this.subject=null,!e||0===e.length||c.isStopped||c.closed)return;const f=e.indexOf(this.subscriber);-1!==f&&e.splice(f,1)}}},77393:(y,b,o)=>{"use strict";o.d(b,{L:()=>h});var r=o(69105),a=o(46490),u=o(13464),c=o(29181),e=o(82494),f=o(54449);class h extends u.w{constructor(D,A,$){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.c;break;case 1:if(!D){this.destination=a.c;break}if("object"==typeof D){D instanceof h?(this.syncErrorThrowable=D.syncErrorThrowable,this.destination=D,D.add(this)):(this.syncErrorThrowable=!0,this.destination=new E(this,D));break}default:this.syncErrorThrowable=!0,this.destination=new E(this,D,A,$)}}[c.b](){return this}static create(D,A,$){const Q=new h(D,A,$);return Q.syncErrorThrowable=!1,Q}next(D){this.isStopped||this._next(D)}error(D){this.isStopped||(this.isStopped=!0,this._error(D))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(D){this.destination.next(D)}_error(D){this.destination.error(D),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:D}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=D,this}}class E extends h{constructor(D,A,$,Q){super(),this._parentSubscriber=D;let U,q=this;(0,r.m)(A)?U=A:A&&(U=A.next,$=A.error,Q=A.complete,A!==a.c&&(q=Object.create(A),(0,r.m)(q.unsubscribe)&&this.add(q.unsubscribe.bind(q)),q.unsubscribe=this.unsubscribe.bind(this))),this._context=q,this._next=U,this._error=$,this._complete=Q}next(D){if(!this.isStopped&&this._next){const{_parentSubscriber:A}=this;e.v.useDeprecatedSynchronousErrorHandling&&A.syncErrorThrowable?this.__tryOrSetError(A,this._next,D)&&this.unsubscribe():this.__tryOrUnsub(this._next,D)}}error(D){if(!this.isStopped){const{_parentSubscriber:A}=this,{useDeprecatedSynchronousErrorHandling:$}=e.v;if(this._error)$&&A.syncErrorThrowable?(this.__tryOrSetError(A,this._error,D),this.unsubscribe()):(this.__tryOrUnsub(this._error,D),this.unsubscribe());else if(A.syncErrorThrowable)$?(A.syncErrorValue=D,A.syncErrorThrown=!0):(0,f.z)(D),this.unsubscribe();else{if(this.unsubscribe(),$)throw D;(0,f.z)(D)}}}complete(){if(!this.isStopped){const{_parentSubscriber:D}=this;if(this._complete){const A=()=>this._complete.call(this._context);e.v.useDeprecatedSynchronousErrorHandling&&D.syncErrorThrowable?(this.__tryOrSetError(D,A),this.unsubscribe()):(this.__tryOrUnsub(A),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(D,A){try{D.call(this._context,A)}catch($){if(this.unsubscribe(),e.v.useDeprecatedSynchronousErrorHandling)throw $;(0,f.z)($)}}__tryOrSetError(D,A,$){if(!e.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{A.call(this._context,$)}catch(Q){return e.v.useDeprecatedSynchronousErrorHandling?(D.syncErrorValue=Q,D.syncErrorThrown=!0,!0):((0,f.z)(Q),!0)}return!1}_unsubscribe(){const{_parentSubscriber:D}=this;this._context=null,this._parentSubscriber=null,D.unsubscribe()}}},13464:(y,b,o)=>{"use strict";o.d(b,{w:()=>f});var r=o(59796),a=o(81555),u=o(69105);const e=(()=>{function E(T){return Error.call(this),this.message=T?`${T.length} errors occurred during unsubscription:\n${T.map((D,A)=>`${A+1}) ${D.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=T,this}return E.prototype=Object.create(Error.prototype),E})();class f{constructor(T){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,T&&(this._ctorUnsubscribe=!0,this._unsubscribe=T)}unsubscribe(){let T;if(this.closed)return;let{_parentOrParents:D,_ctorUnsubscribe:A,_unsubscribe:$,_subscriptions:Q}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,D instanceof f)D.remove(this);else if(null!==D)for(let U=0;U<D.length;++U)D[U].remove(this);if((0,u.m)($)){A&&(this._unsubscribe=void 0);try{$.call(this)}catch(U){T=U instanceof e?h(U.errors):[U]}}if((0,r.k)(Q)){let U=-1,q=Q.length;for(;++U<q;){const L=Q[U];if((0,a.K)(L))try{L.unsubscribe()}catch(J){T=T||[],J instanceof e?T=T.concat(h(J.errors)):T.push(J)}}}if(T)throw new e(T)}add(T){let D=T;if(!T)return f.EMPTY;switch(typeof T){case"function":D=new f(T);case"object":if(D===this||D.closed||"function"!=typeof D.unsubscribe)return D;if(this.closed)return D.unsubscribe(),D;if(!(D instanceof f)){const Q=D;D=new f,D._subscriptions=[Q]}break;default:throw new Error("unrecognized teardown "+T+" added to Subscription.")}let{_parentOrParents:A}=D;if(null===A)D._parentOrParents=this;else if(A instanceof f){if(A===this)return D;D._parentOrParents=[A,this]}else{if(-1!==A.indexOf(this))return D;A.push(this)}const $=this._subscriptions;return null===$?this._subscriptions=[D]:$.push(D),D}remove(T){const D=this._subscriptions;if(D){const A=D.indexOf(T);-1!==A&&D.splice(A,1)}}}var E;function h(E){return E.reduce((T,D)=>T.concat(D instanceof e?D.errors:D),[])}f.EMPTY=((E=new f).closed=!0,E)},82494:(y,b,o)=>{"use strict";o.d(b,{v:()=>a});let r=!1;const a={Promise:void 0,set useDeprecatedSynchronousErrorHandling(u){if(u){const c=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+c.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=u},get useDeprecatedSynchronousErrorHandling(){return r}}},85345:(y,b,o)=>{"use strict";o.d(b,{Ds:()=>f,IY:()=>c,ft:()=>E});var r=o(77393),a=o(70882),u=o(19846);class c extends r.L{constructor(D){super(),this.parent=D}_next(D){this.parent.notifyNext(D)}_error(D){this.parent.notifyError(D),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class f extends r.L{notifyNext(D){this.destination.next(D)}notifyError(D){this.destination.error(D)}notifyComplete(){this.destination.complete()}}function E(T,D){if(!D.closed)return T instanceof a.y?T.subscribe(D):(0,u.s)(T)(D)}},52441:(y,b,o)=>{"use strict";o.d(b,{N:()=>f,c:()=>e});var r=o(79765),a=o(70882),u=o(13464),c=o(51307);class e extends a.y{constructor(A,$){super(),this.source=A,this.subjectFactory=$,this._refCount=0,this._isComplete=!1}_subscribe(A){return this.getSubject().subscribe(A)}getSubject(){const A=this._subject;return(!A||A.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let A=this._connection;return A||(this._isComplete=!1,A=this._connection=new u.w,A.add(this.source.subscribe(new h(this.getSubject(),this))),A.closed&&(this._connection=null,A=u.w.EMPTY)),A}refCount(){return(0,c.x)()(this)}}const f=(()=>{const D=e.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:D._subscribe},_isComplete:{value:D._isComplete,writable:!0},getSubject:{value:D.getSubject},connect:{value:D.connect},refCount:{value:D.refCount}}})();class h extends r.Yc{constructor(A,$){super(A),this.connectable=$}_error(A){this._unsubscribe(),super._error(A)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const A=this.connectable;if(A){this.connectable=null;const $=A._connection;A._refCount=0,A._subject=null,A._connection=null,$&&$.unsubscribe()}}}},9112:(y,b,o)=>{"use strict";o.d(b,{aj:()=>h});var r=o(54869),a=o(59796),u=o(55197),c=o(53960),e=o(56693);const f={};function h(...D){let A,$;return(0,r.K)(D[D.length-1])&&($=D.pop()),"function"==typeof D[D.length-1]&&(A=D.pop()),1===D.length&&(0,a.k)(D[0])&&(D=D[0]),(0,e.n)(D,$).lift(new E(A))}class E{constructor(A){this.resultSelector=A}call(A,$){return $.subscribe(new T(A,this.resultSelector))}}class T extends u.L{constructor(A,$){super(A),this.resultSelector=$,this.active=0,this.values=[],this.observables=[]}_next(A){this.values.push(f),this.observables.push(A)}_complete(){const A=this.observables,$=A.length;if(0===$)this.destination.complete();else{this.active=$,this.toRespond=$;for(let Q=0;Q<$;Q++)this.add((0,c.D)(this,A[Q],void 0,Q))}}notifyComplete(A){0==(this.active-=1)&&this.destination.complete()}notifyNext(A,$,Q){const U=this.values,L=this.toRespond?U[Q]===f?--this.toRespond:this.toRespond:0;U[Q]=$,0===L&&(this.resultSelector?this._tryResultSelector(U):this.destination.next(U.slice()))}_tryResultSelector(A){let $;try{$=this.resultSelector.apply(this,A)}catch(Q){return void this.destination.error(Q)}this.destination.next($)}}},6481:(y,b,o)=>{"use strict";o.d(b,{z:()=>c});var r=o(25917),a=o(63282);function c(...e){return function u(){return(0,a.J)(1)}()((0,r.of)(...e))}},59193:(y,b,o)=>{"use strict";o.d(b,{E:()=>a,c:()=>u});var r=o(70882);const a=new r.y(e=>e.complete());function u(e){return e?function c(e){return new r.y(f=>e.schedule(()=>f.complete()))}(e):a}},35758:(y,b,o)=>{"use strict";o.d(b,{D:()=>f});var r=o(70882),a=o(59796),u=o(88002),c=o(81555),e=o(76666);function f(...E){if(1===E.length){const T=E[0];if((0,a.k)(T))return h(T,null);if((0,c.K)(T)&&Object.getPrototypeOf(T)===Object.prototype){const D=Object.keys(T);return h(D.map(A=>T[A]),D)}}if("function"==typeof E[E.length-1]){const T=E.pop();return h(E=1===E.length&&(0,a.k)(E[0])?E[0]:E,null).pipe((0,u.U)(D=>T(...D)))}return h(E,null)}function h(E,T){return new r.y(D=>{const A=E.length;if(0===A)return void D.complete();const $=new Array(A);let Q=0,U=0;for(let q=0;q<A;q++){const L=(0,e.D)(E[q]);let J=!1;D.add(L.subscribe({next:pe=>{J||(J=!0,U++),$[q]=pe},error:pe=>D.error(pe),complete:()=>{Q++,(Q===A||!J)&&(U===A&&D.next(T?T.reduce((pe,j,ue)=>(pe[j]=$[ue],pe),{}):$),D.complete())}}))}})}},76666:(y,b,o)=>{"use strict";o.d(b,{D:()=>q});var r=o(70882),a=o(19846),u=o(13464),c=o(16554),h=o(94087),E=o(20377),A=o(44072),$=o(69489);function q(L,J){return J?function U(L,J){if(null!=L){if(function D(L){return L&&"function"==typeof L[c.L]}(L))return function e(L,J){return new r.y(pe=>{const j=new u.w;return j.add(J.schedule(()=>{const ue=L[c.L]();j.add(ue.subscribe({next(ie){j.add(J.schedule(()=>pe.next(ie)))},error(ie){j.add(J.schedule(()=>pe.error(ie)))},complete(){j.add(J.schedule(()=>pe.complete()))}}))})),j})}(L,J);if((0,A.t)(L))return function f(L,J){return new r.y(pe=>{const j=new u.w;return j.add(J.schedule(()=>L.then(ue=>{j.add(J.schedule(()=>{pe.next(ue),j.add(J.schedule(()=>pe.complete()))}))},ue=>{j.add(J.schedule(()=>pe.error(ue)))}))),j})}(L,J);if((0,$.z)(L))return(0,h.r)(L,J);if(function Q(L){return L&&"function"==typeof L[E.hZ]}(L)||"string"==typeof L)return function T(L,J){if(!L)throw new Error("Iterable cannot be null");return new r.y(pe=>{const j=new u.w;let ue;return j.add(()=>{ue&&"function"==typeof ue.return&&ue.return()}),j.add(J.schedule(()=>{ue=L[E.hZ](),j.add(J.schedule(function(){if(pe.closed)return;let ie,me;try{const Oe=ue.next();ie=Oe.value,me=Oe.done}catch(Oe){return void pe.error(Oe)}me?pe.complete():(pe.next(ie),this.schedule())}))})),j})}(L,J)}throw new TypeError((null!==L&&typeof L||L)+" is not observable")}(L,J):L instanceof r.y?L:new r.y((0,a.s)(L))}},56693:(y,b,o)=>{"use strict";o.d(b,{n:()=>c});var r=o(70882),a=o(55015),u=o(94087);function c(e,f){return f?(0,u.r)(e,f):new r.y((0,a.V)(e))}},22759:(y,b,o)=>{"use strict";o.d(b,{R:()=>f});var r=o(70882),a=o(59796),u=o(69105),c=o(88002);function f(A,$,Q,U){return(0,u.m)(Q)&&(U=Q,Q=void 0),U?f(A,$,Q).pipe((0,c.U)(q=>(0,a.k)(q)?U(...q):U(q))):new r.y(q=>{h(A,$,function L(J){q.next(arguments.length>1?Array.prototype.slice.call(arguments):J)},q,Q)})}function h(A,$,Q,U,q){let L;if(function D(A){return A&&"function"==typeof A.addEventListener&&"function"==typeof A.removeEventListener}(A)){const J=A;A.addEventListener($,Q,q),L=()=>J.removeEventListener($,Q,q)}else if(function T(A){return A&&"function"==typeof A.on&&"function"==typeof A.off}(A)){const J=A;A.on($,Q),L=()=>J.off($,Q)}else if(function E(A){return A&&"function"==typeof A.addListener&&"function"==typeof A.removeListener}(A)){const J=A;A.addListener($,Q),L=()=>J.removeListener($,Q)}else{if(!A||!A.length)throw new TypeError("Invalid event target");for(let J=0,pe=A.length;J<pe;J++)h(A[J],$,Q,U,q)}U.add(L)}},66682:(y,b,o)=>{"use strict";o.d(b,{T:()=>e});var r=o(70882),a=o(54869),u=o(63282),c=o(56693);function e(...f){let h=Number.POSITIVE_INFINITY,E=null,T=f[f.length-1];return(0,a.K)(T)?(E=f.pop(),f.length>1&&"number"==typeof f[f.length-1]&&(h=f.pop())):"number"==typeof T&&(h=f.pop()),null===E&&1===f.length&&f[0]instanceof r.y?f[0]:(0,u.J)(h)((0,c.n)(f,E))}},17757:(y,b,o)=>{"use strict";o.d(b,{C:()=>u});var r=o(70882),a=o(98640);const u=new r.y(a.Z)},25917:(y,b,o)=>{"use strict";o.d(b,{of:()=>c});var r=o(54869),a=o(56693),u=o(94087);function c(...e){let f=e[e.length-1];return(0,r.K)(f)?(e.pop(),(0,u.r)(e,f)):(0,a.n)(e)}},40205:(y,b,o)=>{"use strict";o.d(b,{_:()=>a});var r=o(70882);function a(c,e){return new r.y(e?f=>e.schedule(u,0,{error:c,subscriber:f}):f=>f.error(c))}function u({error:c,subscriber:e}){e.error(c)}},46797:(y,b,o)=>{"use strict";o.d(b,{H:()=>e});var r=o(70882),a=o(33637),u=o(26561),c=o(54869);function e(h=0,E,T){let D=-1;return(0,u.k)(E)?D=Number(E)<1?1:Number(E):(0,c.K)(E)&&(T=E),(0,c.K)(T)||(T=a.P),new r.y(A=>{const $=(0,u.k)(h)?h:+h-T.now();return T.schedule(f,$,{index:0,period:D,subscriber:A})})}function f(h){const{index:E,period:T,subscriber:D}=h;if(D.next(E),!D.closed){if(-1===T)return D.complete();h.index=E+1,this.schedule(h,T)}}},5304:(y,b,o)=>{"use strict";o.d(b,{K:()=>a});var r=o(85345);function a(e){return function(h){const E=new u(e),T=h.lift(E);return E.caught=T}}class u{constructor(f){this.selector=f}call(f,h){return h.subscribe(new c(f,this.selector,this.caught))}}class c extends r.Ds{constructor(f,h,E){super(f),this.selector=h,this.caught=E}error(f){if(!this.isStopped){let h;try{h=this.selector(f,this.caught)}catch(D){return void super.error(D)}this._unsubscribeAndRecycle();const E=new r.IY(this);this.add(E);const T=(0,r.ft)(h,E);T!==E&&this.add(T)}}}},94612:(y,b,o)=>{"use strict";o.d(b,{b:()=>a});var r=o(19773);function a(u,c){return(0,r.zg)(u,c,1)}},54395:(y,b,o)=>{"use strict";o.d(b,{b:()=>u});var r=o(77393),a=o(33637);function u(h,E=a.P){return T=>T.lift(new c(h,E))}class c{constructor(E,T){this.dueTime=E,this.scheduler=T}call(E,T){return T.subscribe(new e(E,this.dueTime,this.scheduler))}}class e extends r.L{constructor(E,T,D){super(E),this.dueTime=T,this.scheduler=D,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(E){this.clearDebounce(),this.lastValue=E,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(f,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:E}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(E)}}clearDebounce(){const E=this.debouncedSubscription;null!==E&&(this.remove(E),E.unsubscribe(),this.debouncedSubscription=null)}}function f(h){h.debouncedNext()}},95242:(y,b,o)=>{"use strict";o.d(b,{d:()=>a});var r=o(77393);function a(e=null){return f=>f.lift(new u(e))}class u{constructor(f){this.defaultValue=f}call(f,h){return h.subscribe(new c(f,this.defaultValue))}}class c extends r.L{constructor(f,h){super(f),this.defaultValue=h,this.isEmpty=!0}_next(f){this.isEmpty=!1,this.destination.next(f)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},67460:(y,b,o)=>{"use strict";o.d(b,{g:()=>e});var r=o(33637),u=o(77393),c=o(23098);function e(T,D=r.P){const $=function a(T){return T instanceof Date&&!isNaN(+T)}(T)?+T-D.now():Math.abs(T);return Q=>Q.lift(new f($,D))}class f{constructor(D,A){this.delay=D,this.scheduler=A}call(D,A){return A.subscribe(new h(D,this.delay,this.scheduler))}}class h extends u.L{constructor(D,A,$){super(D),this.delay=A,this.scheduler=$,this.queue=[],this.active=!1,this.errored=!1}static dispatch(D){const A=D.source,$=A.queue,Q=D.scheduler,U=D.destination;for(;$.length>0&&$[0].time-Q.now()<=0;)$.shift().notification.observe(U);if($.length>0){const q=Math.max(0,$[0].time-Q.now());this.schedule(D,q)}else this.unsubscribe(),A.active=!1}_schedule(D){this.active=!0,this.destination.add(D.schedule(h.dispatch,this.delay,{source:this,destination:this.destination,scheduler:D}))}scheduleNotification(D){if(!0===this.errored)return;const A=this.scheduler,$=new E(A.now()+this.delay,D);this.queue.push($),!1===this.active&&this._schedule(A)}_next(D){this.scheduleNotification(c.P.createNext(D))}_error(D){this.errored=!0,this.queue=[],this.destination.error(D),this.unsubscribe()}_complete(){this.scheduleNotification(c.P.createComplete()),this.unsubscribe()}}class E{constructor(D,A){this.time=D,this.notification=A}}},87519:(y,b,o)=>{"use strict";o.d(b,{x:()=>a});var r=o(77393);function a(e,f){return h=>h.lift(new u(e,f))}class u{constructor(f,h){this.compare=f,this.keySelector=h}call(f,h){return h.subscribe(new c(f,this.compare,this.keySelector))}}class c extends r.L{constructor(f,h,E){super(f),this.keySelector=E,this.hasKey=!1,"function"==typeof h&&(this.compare=h)}compare(f,h){return f===h}_next(f){let h;try{const{keySelector:T}=this;h=T?T(f):f}catch(T){return this.destination.error(T)}let E=!1;if(this.hasKey)try{const{compare:T}=this;E=T(this.key,h)}catch(T){return this.destination.error(T)}else this.hasKey=!0;E||(this.key=h,this.destination.next(f))}}},45435:(y,b,o)=>{"use strict";o.d(b,{h:()=>a});var r=o(77393);function a(e,f){return function(E){return E.lift(new u(e,f))}}class u{constructor(f,h){this.predicate=f,this.thisArg=h}call(f,h){return h.subscribe(new c(f,this.predicate,this.thisArg))}}class c extends r.L{constructor(f,h,E){super(f),this.predicate=h,this.thisArg=E,this.count=0}_next(f){let h;try{h=this.predicate.call(this.thisArg,f,this.count++)}catch(E){return void this.destination.error(E)}h&&this.destination.next(f)}}},68939:(y,b,o)=>{"use strict";o.d(b,{x:()=>u});var r=o(77393),a=o(13464);function u(f){return h=>h.lift(new c(f))}class c{constructor(h){this.callback=h}call(h,E){return E.subscribe(new e(h,this.callback))}}class e extends r.L{constructor(h,E){super(h),this.add(new a.w(E))}}},28049:(y,b,o)=>{"use strict";o.d(b,{P:()=>h});var r=o(13410),a=o(45435),u=o(15257),c=o(95242),e=o(44635),f=o(54487);function h(E,T){const D=arguments.length>=2;return A=>A.pipe(E?(0,a.h)(($,Q)=>E($,Q,A)):f.y,(0,u.q)(1),D?(0,c.d)(T):(0,e.T)(()=>new r.K))}},12627:(y,b,o)=>{"use strict";o.d(b,{Z:()=>h});var r=o(13410),a=o(45435),u=o(548),c=o(44635),e=o(95242),f=o(54487);function h(E,T){const D=arguments.length>=2;return A=>A.pipe(E?(0,a.h)(($,Q)=>E($,Q,A)):f.y,(0,u.h)(1),D?(0,e.d)(T):(0,c.T)(()=>new r.K))}},88002:(y,b,o)=>{"use strict";o.d(b,{U:()=>a});var r=o(77393);function a(e,f){return function(E){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return E.lift(new u(e,f))}}class u{constructor(f,h){this.project=f,this.thisArg=h}call(f,h){return h.subscribe(new c(f,this.project,this.thisArg))}}class c extends r.L{constructor(f,h,E){super(f),this.project=h,this.count=0,this.thisArg=E||this}_next(f){let h;try{h=this.project.call(this.thisArg,f,this.count++)}catch(E){return void this.destination.error(E)}this.destination.next(h)}}},96736:(y,b,o)=>{"use strict";o.d(b,{h:()=>a});var r=o(77393);function a(e){return f=>f.lift(new u(e))}class u{constructor(f){this.value=f}call(f,h){return h.subscribe(new c(f,this.value))}}class c extends r.L{constructor(f,h){super(f),this.value=h}_next(f){this.destination.next(this.value)}}},63282:(y,b,o)=>{"use strict";o.d(b,{J:()=>u});var r=o(19773),a=o(54487);function u(c=Number.POSITIVE_INFINITY){return(0,r.zg)(a.y,c)}},19773:(y,b,o)=>{"use strict";o.d(b,{zg:()=>c});var r=o(88002),a=o(76666),u=o(85345);function c(E,T,D=Number.POSITIVE_INFINITY){return"function"==typeof T?A=>A.pipe(c(($,Q)=>(0,a.D)(E($,Q)).pipe((0,r.U)((U,q)=>T($,U,Q,q))),D)):("number"==typeof T&&(D=T),A=>A.lift(new e(E,D)))}class e{constructor(T,D=Number.POSITIVE_INFINITY){this.project=T,this.concurrent=D}call(T,D){return D.subscribe(new f(T,this.project,this.concurrent))}}class f extends u.Ds{constructor(T,D,A=Number.POSITIVE_INFINITY){super(T),this.project=D,this.concurrent=A,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(T){this.active<this.concurrent?this._tryNext(T):this.buffer.push(T)}_tryNext(T){let D;const A=this.index++;try{D=this.project(T,A)}catch($){return void this.destination.error($)}this.active++,this._innerSub(D)}_innerSub(T){const D=new u.IY(this),A=this.destination;A.add(D);const $=(0,u.ft)(T,D);$!==D&&A.add($)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(T){this.destination.next(T)}notifyComplete(){const T=this.buffer;this.active--,T.length>0?this._next(T.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},94458:(y,b,o)=>{"use strict";o.d(b,{O:()=>a});var r=o(52441);function a(c,e){return function(h){let E;if(E="function"==typeof c?c:function(){return c},"function"==typeof e)return h.lift(new u(E,e));const T=Object.create(h,r.N);return T.source=h,T.subjectFactory=E,T}}class u{constructor(e,f){this.subjectFactory=e,this.selector=f}call(e,f){const{selector:h}=this,E=this.subjectFactory(),T=h(E).subscribe(e);return T.add(f.subscribe(E)),T}}},59746:(y,b,o)=>{"use strict";o.d(b,{QV:()=>u,ht:()=>e});var r=o(77393),a=o(23098);function u(h,E=0){return function(D){return D.lift(new c(h,E))}}class c{constructor(E,T=0){this.scheduler=E,this.delay=T}call(E,T){return T.subscribe(new e(E,this.scheduler,this.delay))}}class e extends r.L{constructor(E,T,D=0){super(E),this.scheduler=T,this.delay=D}static dispatch(E){const{notification:T,destination:D}=E;T.observe(D),this.unsubscribe()}scheduleMessage(E){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new f(E,this.destination)))}_next(E){this.scheduleMessage(a.P.createNext(E))}_error(E){this.scheduleMessage(a.P.createError(E)),this.unsubscribe()}_complete(){this.scheduleMessage(a.P.createComplete()),this.unsubscribe()}}class f{constructor(E,T){this.notification=E,this.destination=T}}},51307:(y,b,o)=>{"use strict";o.d(b,{x:()=>a});var r=o(77393);function a(){return function(f){return f.lift(new u(f))}}class u{constructor(f){this.connectable=f}call(f,h){const{connectable:E}=this;E._refCount++;const T=new c(f,E),D=h.subscribe(T);return T.closed||(T.connection=E.connect()),D}}class c extends r.L{constructor(f,h){super(f),this.connectable=h}_unsubscribe(){const{connectable:f}=this;if(!f)return void(this.connection=null);this.connectable=null;const h=f._refCount;if(h<=0)return void(this.connection=null);if(f._refCount=h-1,h>1)return void(this.connection=null);const{connection:E}=this,T=f._connection;this.connection=null,T&&(!E||T===E)&&T.unsubscribe()}}},42145:(y,b,o)=>{"use strict";o.d(b,{R:()=>a});var r=o(77393);function a(e,f){let h=!1;return arguments.length>=2&&(h=!0),function(T){return T.lift(new u(e,f,h))}}class u{constructor(f,h,E=!1){this.accumulator=f,this.seed=h,this.hasSeed=E}call(f,h){return h.subscribe(new c(f,this.accumulator,this.seed,this.hasSeed))}}class c extends r.L{constructor(f,h,E,T){super(f),this.accumulator=h,this._seed=E,this.hasSeed=T,this.index=0}get seed(){return this._seed}set seed(f){this.hasSeed=!0,this._seed=f}_next(f){if(this.hasSeed)return this._tryNext(f);this.seed=f,this.destination.next(f)}_tryNext(f){const h=this.index++;let E;try{E=this.accumulator(this.seed,f,h)}catch(T){this.destination.error(T)}this.seed=E,this.destination.next(E)}}},78345:(y,b,o)=>{"use strict";o.d(b,{B:()=>e});var r=o(94458),a=o(51307),u=o(79765);function c(){return new u.xQ}function e(){return f=>(0,a.x)()((0,r.O)(c)(f))}},47349:(y,b,o)=>{"use strict";o.d(b,{d:()=>a});var r=o(7357);function a(c,e,f){let h;return h=c&&"object"==typeof c?c:{bufferSize:c,windowTime:e,refCount:!1,scheduler:f},E=>E.lift(function u({bufferSize:c=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:f,scheduler:h}){let E,D,T=0,A=!1,$=!1;return function(U){let q;T++,!E||A?(A=!1,E=new r.t(c,e,h),q=E.subscribe(this),D=U.subscribe({next(L){E.next(L)},error(L){A=!0,E.error(L)},complete(){$=!0,D=void 0,E.complete()}})):q=E.subscribe(this),this.add(()=>{T--,q.unsubscribe(),D&&!$&&f&&0===T&&(D.unsubscribe(),D=void 0,E=void 0)})}}(h))}},39761:(y,b,o)=>{"use strict";o.d(b,{O:()=>u});var r=o(6481),a=o(54869);function u(...c){const e=c[c.length-1];return(0,a.K)(e)?(c.pop(),f=>(0,r.z)(c,f,e)):f=>(0,r.z)(c,f)}},43190:(y,b,o)=>{"use strict";o.d(b,{w:()=>c});var r=o(88002),a=o(76666),u=o(85345);function c(h,E){return"function"==typeof E?T=>T.pipe(c((D,A)=>(0,a.D)(h(D,A)).pipe((0,r.U)(($,Q)=>E(D,$,A,Q))))):T=>T.lift(new e(h))}class e{constructor(E){this.project=E}call(E,T){return T.subscribe(new f(E,this.project))}}class f extends u.Ds{constructor(E,T){super(E),this.project=T,this.index=0}_next(E){let T;const D=this.index++;try{T=this.project(E,D)}catch(A){return void this.destination.error(A)}this._innerSub(T)}_innerSub(E){const T=this.innerSubscription;T&&T.unsubscribe();const D=new u.IY(this),A=this.destination;A.add(D),this.innerSubscription=(0,u.ft)(E,D),this.innerSubscription!==D&&A.add(this.innerSubscription)}_complete(){const{innerSubscription:E}=this;(!E||E.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(E){this.destination.next(E)}}},15257:(y,b,o)=>{"use strict";o.d(b,{q:()=>c});var r=o(77393),a=o(7108),u=o(59193);function c(h){return E=>0===h?(0,u.c)():E.lift(new e(h))}class e{constructor(E){if(this.total=E,this.total<0)throw new a.W}call(E,T){return T.subscribe(new f(E,this.total))}}class f extends r.L{constructor(E,T){super(E),this.total=T,this.count=0}_next(E){const T=this.total,D=++this.count;D<=T&&(this.destination.next(E),D===T&&(this.destination.complete(),this.unsubscribe()))}}},548:(y,b,o)=>{"use strict";o.d(b,{h:()=>c});var r=o(77393),a=o(7108),u=o(59193);function c(h){return function(T){return 0===h?(0,u.c)():T.lift(new e(h))}}class e{constructor(E){if(this.total=E,this.total<0)throw new a.W}call(E,T){return T.subscribe(new f(E,this.total))}}class f extends r.L{constructor(E,T){super(E),this.total=T,this.ring=new Array,this.count=0}_next(E){const T=this.ring,D=this.total,A=this.count++;T.length<D?T.push(E):T[A%D]=E}_complete(){const E=this.destination;let T=this.count;if(T>0){const D=this.count>=this.total?this.total:this.count,A=this.ring;for(let $=0;$<D;$++){const Q=T++%D;E.next(A[Q])}}E.complete()}}},46782:(y,b,o)=>{"use strict";o.d(b,{R:()=>a});var r=o(85345);function a(e){return f=>f.lift(new u(e))}class u{constructor(f){this.notifier=f}call(f,h){const E=new c(f),T=(0,r.ft)(this.notifier,new r.IY(E));return T&&!E.seenValue?(E.add(T),h.subscribe(E)):E}}class c extends r.Ds{constructor(f){super(f),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},68307:(y,b,o)=>{"use strict";o.d(b,{b:()=>c});var r=o(77393),a=o(98640),u=o(69105);function c(h,E,T){return function(A){return A.lift(new e(h,E,T))}}class e{constructor(E,T,D){this.nextOrObserver=E,this.error=T,this.complete=D}call(E,T){return T.subscribe(new f(E,this.nextOrObserver,this.error,this.complete))}}class f extends r.L{constructor(E,T,D,A){super(E),this._tapNext=a.Z,this._tapError=a.Z,this._tapComplete=a.Z,this._tapError=D||a.Z,this._tapComplete=A||a.Z,(0,u.m)(T)?(this._context=this,this._tapNext=T):T&&(this._context=T,this._tapNext=T.next||a.Z,this._tapError=T.error||a.Z,this._tapComplete=T.complete||a.Z)}_next(E){try{this._tapNext.call(this._context,E)}catch(T){return void this.destination.error(T)}this.destination.next(E)}_error(E){try{this._tapError.call(this._context,E)}catch(T){return void this.destination.error(T)}this.destination.error(E)}_complete(){try{this._tapComplete.call(this._context)}catch(E){return void this.destination.error(E)}return this.destination.complete()}}},44635:(y,b,o)=>{"use strict";o.d(b,{T:()=>u});var r=o(13410),a=o(77393);function u(h=f){return E=>E.lift(new c(h))}class c{constructor(E){this.errorFactory=E}call(E,T){return T.subscribe(new e(E,this.errorFactory))}}class e extends a.L{constructor(E,T){super(E),this.errorFactory=T,this.hasValue=!1}_next(E){this.hasValue=!0,this.destination.next(E)}_complete(){if(this.hasValue)return this.destination.complete();{let E;try{E=this.errorFactory()}catch(T){E=T}this.destination.error(E)}}}function f(){return new r.K}},46240:(y,b,o)=>{"use strict";o.d(b,{q:()=>h});var r=o(42145),a=o(548),u=o(95242),c=o(34022);function f(E,T,D){return 0===D?[T]:(E.push(T),E)}function h(){return function e(E,T){return arguments.length>=2?function(A){return(0,c.z)((0,r.R)(E,T),(0,a.h)(1),(0,u.d)(T))(A)}:function(A){return(0,c.z)((0,r.R)(($,Q,U)=>E($,Q,U+1)),(0,a.h)(1))(A)}}(f,[])}},94087:(y,b,o)=>{"use strict";o.d(b,{r:()=>u});var r=o(70882),a=o(13464);function u(c,e){return new r.y(f=>{const h=new a.w;let E=0;return h.add(e.schedule(function(){E!==c.length?(f.next(c[E++]),f.closed||h.add(this.schedule())):f.complete()})),h})}},23989:(y,b,o)=>{"use strict";o.d(b,{o:()=>u});var r=o(13464);class a extends r.w{constructor(e,f){super()}schedule(e,f=0){return this}}class u extends a{constructor(e,f){super(e,f),this.scheduler=e,this.work=f,this.pending=!1}schedule(e,f=0){if(this.closed)return this;this.state=e;const h=this.id,E=this.scheduler;return null!=h&&(this.id=this.recycleAsyncId(E,h,f)),this.pending=!0,this.delay=f,this.id=this.id||this.requestAsyncId(E,this.id,f),this}requestAsyncId(e,f,h=0){return setInterval(e.flush.bind(e,this),h)}recycleAsyncId(e,f,h=0){if(null!==h&&this.delay===h&&!1===this.pending)return f;clearInterval(f)}execute(e,f){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const h=this._execute(e,f);if(h)return h;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,f){let E,h=!1;try{this.work(e)}catch(T){h=!0,E=!!T&&T||new Error(T)}if(h)return this.unsubscribe(),E}_unsubscribe(){const e=this.id,f=this.scheduler,h=f.actions,E=h.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==E&&h.splice(E,1),null!=e&&(this.id=this.recycleAsyncId(f,e,null)),this.delay=null}}},46493:(y,b,o)=>{"use strict";o.d(b,{v:()=>a});let r=(()=>{class u{constructor(e,f=u.now){this.SchedulerAction=e,this.now=f}schedule(e,f=0,h){return new this.SchedulerAction(this,e).schedule(h,f)}}return u.now=()=>Date.now(),u})();class a extends r{constructor(c,e=r.now){super(c,()=>a.delegate&&a.delegate!==this?a.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(c,e=0,f){return a.delegate&&a.delegate!==this?a.delegate.schedule(c,e,f):super.schedule(c,e,f)}flush(c){const{actions:e}=this;if(this.active)return void e.push(c);let f;this.active=!0;do{if(f=c.execute(c.state,c.delay))break}while(c=e.shift());if(this.active=!1,f){for(;c=e.shift();)c.unsubscribe();throw f}}}},33637:(y,b,o)=>{"use strict";o.d(b,{P:()=>c,z:()=>u});var r=o(23989);const u=new(o(46493).v)(r.o),c=u},20377:(y,b,o)=>{"use strict";o.d(b,{hZ:()=>a});const a=function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},16554:(y,b,o)=>{"use strict";o.d(b,{L:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},29181:(y,b,o)=>{"use strict";o.d(b,{b:()=>r});const r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:(y,b,o)=>{"use strict";o.d(b,{W:()=>a});const a=(()=>{function u(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return u.prototype=Object.create(Error.prototype),u})()},13410:(y,b,o)=>{"use strict";o.d(b,{K:()=>a});const a=(()=>{function u(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return u.prototype=Object.create(Error.prototype),u})()},77971:(y,b,o)=>{"use strict";o.d(b,{N:()=>a});const a=(()=>{function u(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return u.prototype=Object.create(Error.prototype),u})()},54449:(y,b,o)=>{"use strict";function r(a){setTimeout(()=>{throw a},0)}o.d(b,{z:()=>r})},54487:(y,b,o)=>{"use strict";function r(a){return a}o.d(b,{y:()=>r})},59796:(y,b,o)=>{"use strict";o.d(b,{k:()=>r});const r=Array.isArray||(a=>a&&"number"==typeof a.length)},69489:(y,b,o)=>{"use strict";o.d(b,{z:()=>r});const r=a=>a&&"number"==typeof a.length&&"function"!=typeof a},69105:(y,b,o)=>{"use strict";function r(a){return"function"==typeof a}o.d(b,{m:()=>r})},26561:(y,b,o)=>{"use strict";o.d(b,{k:()=>a});var r=o(59796);function a(u){return!(0,r.k)(u)&&u-parseFloat(u)+1>=0}},81555:(y,b,o)=>{"use strict";function r(a){return null!==a&&"object"==typeof a}o.d(b,{K:()=>r})},44072:(y,b,o)=>{"use strict";function r(a){return!!a&&"function"!=typeof a.subscribe&&"function"==typeof a.then}o.d(b,{t:()=>r})},54869:(y,b,o)=>{"use strict";function r(a){return a&&"function"==typeof a.schedule}o.d(b,{K:()=>r})},98640:(y,b,o)=>{"use strict";function r(){}o.d(b,{Z:()=>r})},34022:(y,b,o)=>{"use strict";o.d(b,{U:()=>u,z:()=>a});var r=o(54487);function a(...c){return u(c)}function u(c){return 0===c.length?r.y:1===c.length?c[0]:function(f){return c.reduce((h,E)=>E(h),f)}}},19846:(y,b,o)=>{"use strict";o.d(b,{s:()=>A});var r=o(55015),a=o(54449),c=o(20377),f=o(16554),E=o(69489),T=o(44072),D=o(81555);const A=$=>{if($&&"function"==typeof $[f.L])return($=>Q=>{const U=$[f.L]();if("function"!=typeof U.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return U.subscribe(Q)})($);if((0,E.z)($))return(0,r.V)($);if((0,T.t)($))return($=>Q=>($.then(U=>{Q.closed||(Q.next(U),Q.complete())},U=>Q.error(U)).then(null,a.z),Q))($);if($&&"function"==typeof $[c.hZ])return($=>Q=>{const U=$[c.hZ]();for(;;){let q;try{q=U.next()}catch(L){return Q.error(L),Q}if(q.done){Q.complete();break}if(Q.next(q.value),Q.closed)break}return"function"==typeof U.return&&Q.add(()=>{U.return&&U.return()}),Q})($);{const U=`You provided ${(0,D.K)($)?"an invalid object":`'${$}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(U)}}},55015:(y,b,o)=>{"use strict";o.d(b,{V:()=>r});const r=a=>u=>{for(let c=0,e=a.length;c<e&&!u.closed;c++)u.next(a[c]);u.complete()}},53960:(y,b,o)=>{"use strict";o.d(b,{D:()=>e});var r=o(77393);class a extends r.L{constructor(h,E,T){super(),this.parent=h,this.outerValue=E,this.outerIndex=T,this.index=0}_next(h){this.parent.notifyNext(this.outerValue,h,this.outerIndex,this.index++,this)}_error(h){this.parent.notifyError(h,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var u=o(19846),c=o(70882);function e(f,h,E,T,D=new a(f,E,T)){if(!D.closed)return h instanceof c.y?h.subscribe(D):(0,u.s)(h)(D)}},59771:(y,b)=>{"use strict";var o,r,a,u;if("object"==typeof performance&&"function"==typeof performance.now){var c=performance;b.unstable_now=function(){return c.now()}}else{var e=Date,f=e.now();b.unstable_now=function(){return e.now()-f}}if(typeof window>"u"||"function"!=typeof MessageChannel){var h=null,E=null,T=function(){if(null!==h)try{var nn=b.unstable_now();h(!0,nn),h=null}catch(bn){throw setTimeout(T,0),bn}};o=function(nn){null!==h?setTimeout(o,0,nn):(h=nn,setTimeout(T,0))},r=function(nn,bn){E=setTimeout(nn,bn)},a=function(){clearTimeout(E)},b.unstable_shouldYield=function(){return!1},u=b.unstable_forceFrameRate=function(){}}else{var D=window.setTimeout,A=window.clearTimeout;if(typeof console<"u"){var $=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof $&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var Q=!1,U=null,q=-1,L=5,J=0;b.unstable_shouldYield=function(){return b.unstable_now()>=J},u=function(){},b.unstable_forceFrameRate=function(nn){0>nn||125<nn?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<nn?Math.floor(1e3/nn):5};var pe=new MessageChannel,j=pe.port2;pe.port1.onmessage=function(){if(null!==U){var nn=b.unstable_now();J=nn+L;try{U(!0,nn)?j.postMessage(null):(Q=!1,U=null)}catch(bn){throw j.postMessage(null),bn}}else Q=!1},o=function(nn){U=nn,Q||(Q=!0,j.postMessage(null))},r=function(nn,bn){q=D(function(){nn(b.unstable_now())},bn)},a=function(){A(q),q=-1}}function ue(nn,bn){var Dn=nn.length;nn.push(bn);e:for(;;){var Rt=Dn-1>>>1,Xt=nn[Rt];if(!(void 0!==Xt&&0<Oe(Xt,bn)))break e;nn[Rt]=bn,nn[Dn]=Xt,Dn=Rt}}function ie(nn){return void 0===(nn=nn[0])?null:nn}function me(nn){var bn=nn[0];if(void 0!==bn){var Dn=nn.pop();if(Dn!==bn){nn[0]=Dn;e:for(var Rt=0,Xt=nn.length;Rt<Xt;){var un=2*(Rt+1)-1,_n=nn[un],kn=un+1,ri=nn[kn];if(void 0!==_n&&0>Oe(_n,Dn))void 0!==ri&&0>Oe(ri,_n)?(nn[Rt]=ri,nn[kn]=Dn,Rt=kn):(nn[Rt]=_n,nn[un]=Dn,Rt=un);else{if(!(void 0!==ri&&0>Oe(ri,Dn)))break e;nn[Rt]=ri,nn[kn]=Dn,Rt=kn}}}return bn}return null}function Oe(nn,bn){var Dn=nn.sortIndex-bn.sortIndex;return 0!==Dn?Dn:nn.id-bn.id}var Ue=[],Me=[],yt=1,et=null,tt=3,Et=!1,ze=!1,bt=!1;function Ct(nn){for(var bn=ie(Me);null!==bn;){if(null===bn.callback)me(Me);else{if(!(bn.startTime<=nn))break;me(Me),bn.sortIndex=bn.expirationTime,ue(Ue,bn)}bn=ie(Me)}}function Qt(nn){if(bt=!1,Ct(nn),!ze)if(null!==ie(Ue))ze=!0,o(ht);else{var bn=ie(Me);null!==bn&&r(Qt,bn.startTime-nn)}}function ht(nn,bn){ze=!1,bt&&(bt=!1,a()),Et=!0;var Dn=tt;try{for(Ct(bn),et=ie(Ue);null!==et&&(!(et.expirationTime>bn)||nn&&!b.unstable_shouldYield());){var Rt=et.callback;if("function"==typeof Rt){et.callback=null,tt=et.priorityLevel;var Xt=Rt(et.expirationTime<=bn);bn=b.unstable_now(),"function"==typeof Xt?et.callback=Xt:et===ie(Ue)&&me(Ue),Ct(bn)}else me(Ue);et=ie(Ue)}if(null!==et)var un=!0;else{var _n=ie(Me);null!==_n&&r(Qt,_n.startTime-bn),un=!1}return un}finally{et=null,tt=Dn,Et=!1}}var en=u;b.unstable_IdlePriority=5,b.unstable_ImmediatePriority=1,b.unstable_LowPriority=4,b.unstable_NormalPriority=3,b.unstable_Profiling=null,b.unstable_UserBlockingPriority=2,b.unstable_cancelCallback=function(nn){nn.callback=null},b.unstable_continueExecution=function(){ze||Et||(ze=!0,o(ht))},b.unstable_getCurrentPriorityLevel=function(){return tt},b.unstable_getFirstCallbackNode=function(){return ie(Ue)},b.unstable_next=function(nn){switch(tt){case 1:case 2:case 3:var bn=3;break;default:bn=tt}var Dn=tt;tt=bn;try{return nn()}finally{tt=Dn}},b.unstable_pauseExecution=function(){},b.unstable_requestPaint=en,b.unstable_runWithPriority=function(nn,bn){switch(nn){case 1:case 2:case 3:case 4:case 5:break;default:nn=3}var Dn=tt;tt=nn;try{return bn()}finally{tt=Dn}},b.unstable_scheduleCallback=function(nn,bn,Dn){var Rt=b.unstable_now();switch(Dn="object"==typeof Dn&&null!==Dn&&"number"==typeof(Dn=Dn.delay)&&0<Dn?Rt+Dn:Rt,nn){case 1:var Xt=-1;break;case 2:Xt=250;break;case 5:Xt=1073741823;break;case 4:Xt=1e4;break;default:Xt=5e3}return nn={id:yt++,callback:bn,priorityLevel:nn,startTime:Dn,expirationTime:Xt=Dn+Xt,sortIndex:-1},Dn>Rt?(nn.sortIndex=Dn,ue(Me,nn),null===ie(Ue)&&nn===ie(Me)&&(bt?a():bt=!0,r(Qt,Dn-Rt))):(nn.sortIndex=Xt,ue(Ue,nn),ze||Et||(ze=!0,o(ht))),nn},b.unstable_wrapCallback=function(nn){var bn=tt;return function(){var Dn=tt;tt=bn;try{return nn.apply(this,arguments)}finally{tt=Dn}}}},88712:(y,b,o)=>{"use strict";y.exports=o(59771)},45364:(y,b,o)=>{"use strict";var r=o(18540),a=o(40124),u=o(45898)(),c=o(81294),e=o(83600),f=r("%Math.floor%");y.exports=function(E,T){if("function"!=typeof E)throw new e("`fn` is not a function");if("number"!=typeof T||T<0||T>4294967295||f(T)!==T)throw new e("`length` must be a positive 32-bit integer");var D=arguments.length>2&&!!arguments[2],A=!0,$=!0;if("length"in E&&c){var Q=c(E,"length");Q&&!Q.configurable&&(A=!1),Q&&!Q.writable&&($=!1)}return(A||$||!D)&&(u?a(E,"length",T,!0,!0):a(E,"length",T)),E}},11144:(y,b,o)=>{"use strict";var r=o(18540),a=o(19568),u=o(81380),c=o(83600),e=r("%WeakMap%",!0),f=r("%Map%",!0),h=a("WeakMap.prototype.get",!0),E=a("WeakMap.prototype.set",!0),T=a("WeakMap.prototype.has",!0),D=a("Map.prototype.get",!0),A=a("Map.prototype.set",!0),$=a("Map.prototype.has",!0),Q=function(J,pe){for(var ue,j=J;null!==(ue=j.next);j=ue)if(ue.key===pe)return j.next=ue.next,ue.next=J.next,J.next=ue,ue};y.exports=function(){var pe,j,ue,ie={assert:function(me){if(!ie.has(me))throw new c("Side channel does not contain "+u(me))},get:function(me){if(e&&me&&("object"==typeof me||"function"==typeof me)){if(pe)return h(pe,me)}else if(f){if(j)return D(j,me)}else if(ue)return function(J,pe){var j=Q(J,pe);return j&&j.value}(ue,me)},has:function(me){if(e&&me&&("object"==typeof me||"function"==typeof me)){if(pe)return T(pe,me)}else if(f){if(j)return $(j,me)}else if(ue)return function(J,pe){return!!Q(J,pe)}(ue,me);return!1},set:function(me,Oe){e&&me&&("object"==typeof me||"function"==typeof me)?(pe||(pe=new e),E(pe,me,Oe)):f?(j||(j=new f),A(j,me,Oe)):(ue||(ue={key:{},next:null}),function(J,pe,j){var ue=Q(J,pe);ue?ue.value=j:J.next={key:pe,next:J.next,value:j}}(ue,me,Oe))}};return ie}},85770:(y,b,o)=>{"use strict";o.d(b,{M:()=>tr,t:()=>vr}),o(8998),o(13310),o(23399),o(3766),o(60042),o(31089),o(17428),o(73660);var kn,T=o(6123),D=o.n(T),A=o(86906),$=o.n(A),Q=o(89159),U=o.n(Q),q=[],pe="ResizeObserver loop completed with undelivered notifications.",ue=(()=>{return(An=ue||(ue={})).BORDER_BOX="border-box",An.CONTENT_BOX="content-box",An.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box",ue;var An})(),ie=function(An){return Object.freeze(An)},me=function An(yr,Nr){this.inlineSize=yr,this.blockSize=Nr,ie(this)},Oe=function(){function An(yr,Nr,nr,Qn){return this.x=yr,this.y=Nr,this.width=nr,this.height=Qn,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,ie(this)}return An.prototype.toJSON=function(){var yr=this;return{x:yr.x,y:yr.y,top:yr.top,right:yr.right,bottom:yr.bottom,left:yr.left,width:yr.width,height:yr.height}},An.fromRect=function(yr){return new An(yr.x,yr.y,yr.width,yr.height)},An}(),Ue=function(An){return An instanceof SVGElement&&"getBBox"in An},Me=function(An){if(Ue(An)){var yr=An.getBBox();return!yr.width&&!yr.height}return!(An.offsetWidth||An.offsetHeight||An.getClientRects().length)},yt=function(An){var yr;if(An instanceof Element)return!0;var Nr=null===(yr=An?.ownerDocument)||void 0===yr?void 0:yr.defaultView;return!!(Nr&&An instanceof Nr.Element)},tt=typeof window<"u"?window:{},Et=new WeakMap,ze=/auto|scroll/,bt=/^tb|vertical/,Ct=/msie|trident/i.test(tt.navigator&&tt.navigator.userAgent),Qt=function(An){return parseFloat(An||"0")},ht=function(An,yr,Nr){return void 0===An&&(An=0),void 0===yr&&(yr=0),void 0===Nr&&(Nr=!1),new me((Nr?yr:An)||0,(Nr?An:yr)||0)},en=ie({devicePixelContentBoxSize:ht(),borderBoxSize:ht(),contentBoxSize:ht(),contentRect:new Oe(0,0,0,0)}),nn=function(An,yr){if(void 0===yr&&(yr=!1),Et.has(An)&&!yr)return Et.get(An);if(Me(An))return Et.set(An,en),en;var Nr=getComputedStyle(An),nr=Ue(An)&&An.ownerSVGElement&&An.getBBox(),Qn=!Ct&&"border-box"===Nr.boxSizing,dr=bt.test(Nr.writingMode||""),Wn=!nr&&ze.test(Nr.overflowY||""),Wt=!nr&&ze.test(Nr.overflowX||""),kt=nr?0:Qt(Nr.paddingTop),st=nr?0:Qt(Nr.paddingRight),zt=nr?0:Qt(Nr.paddingBottom),er=nr?0:Qt(Nr.paddingLeft),Kr=nr?0:Qt(Nr.borderTopWidth),mi=nr?0:Qt(Nr.borderRightWidth),gi=nr?0:Qt(Nr.borderBottomWidth),os=er+st,hr=kt+zt,Ii=(nr?0:Qt(Nr.borderLeftWidth))+mi,ni=Kr+gi,Vr=Wt?An.offsetHeight-ni-An.clientHeight:0,wi=Wn?An.offsetWidth-Ii-An.clientWidth:0,Gi=Qn?os+Ii:0,Wi=Qn?hr+ni:0,Mo=nr?nr.width:Qt(Nr.width)-Gi-wi,As=nr?nr.height:Qt(Nr.height)-Wi-Vr,Ls=Mo+os+wi+Ii,qr=As+hr+Vr+ni,$r=ie({devicePixelContentBoxSize:ht(Math.round(Mo*devicePixelRatio),Math.round(As*devicePixelRatio),dr),borderBoxSize:ht(Ls,qr,dr),contentBoxSize:ht(Mo,As,dr),contentRect:new Oe(er,kt,Mo,As)});return Et.set(An,$r),$r},bn=function(An,yr,Nr){var nr=nn(An,Nr),Qn=nr.borderBoxSize,dr=nr.contentBoxSize,Wn=nr.devicePixelContentBoxSize;switch(yr){case ue.DEVICE_PIXEL_CONTENT_BOX:return Wn;case ue.BORDER_BOX:return Qn;default:return dr}},Dn=function An(yr){var Nr=nn(yr);this.target=yr,this.contentRect=Nr.contentRect,this.borderBoxSize=ie([Nr.borderBoxSize]),this.contentBoxSize=ie([Nr.contentBoxSize]),this.devicePixelContentBoxSize=ie([Nr.devicePixelContentBoxSize])},Rt=function(An){if(Me(An))return 1/0;for(var yr=0,Nr=An.parentNode;Nr;)yr+=1,Nr=Nr.parentNode;return yr},Xt=function(){var An=1/0,yr=[];q.forEach(function(Wn){if(0!==Wn.activeTargets.length){var Wt=[];Wn.activeTargets.forEach(function(st){var zt=new Dn(st.target),er=Rt(st.target);Wt.push(zt),st.lastReportedSize=bn(st.target,st.observedBox),er<An&&(An=er)}),yr.push(function(){Wn.callback.call(Wn.observer,Wt,Wn.observer)}),Wn.activeTargets.splice(0,Wn.activeTargets.length)}});for(var Nr=0,nr=yr;Nr<nr.length;Nr++)(0,nr[Nr])();return An},un=function(An){q.forEach(function(Nr){Nr.activeTargets.splice(0,Nr.activeTargets.length),Nr.skippedTargets.splice(0,Nr.skippedTargets.length),Nr.observationTargets.forEach(function(Qn){Qn.isActive()&&(Rt(Qn.target)>An?Nr.activeTargets.push(Qn):Nr.skippedTargets.push(Qn))})})},ri=[],oi=0,ft={attributes:!0,characterData:!0,childList:!0,subtree:!0},sn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],At=function(An){return void 0===An&&(An=0),Date.now()+An},Ln=!1,Lr=new(function(){function An(){var yr=this;this.stopped=!0,this.listener=function(){return yr.schedule()}}return An.prototype.run=function(yr){var Nr=this;if(void 0===yr&&(yr=250),!Ln){Ln=!0;var nr=At(yr);!function(An){!function(An){if(!kn){var yr=0,Nr=document.createTextNode("");new MutationObserver(function(){return ri.splice(0).forEach(function(An){return An()})}).observe(Nr,{characterData:!0}),kn=function(){Nr.textContent="".concat(yr?yr--:yr++)}}ri.push(An),kn()}(function(){requestAnimationFrame(An)})}(function(){var Qn=!1;try{Qn=function(){var An=0;for(un(An);q.some(function(An){return An.activeTargets.length>0});)An=Xt(),un(An);return q.some(function(An){return An.skippedTargets.length>0})&&function(){var An;"function"==typeof ErrorEvent?An=new ErrorEvent("error",{message:pe}):((An=document.createEvent("Event")).initEvent("error",!1,!1),An.message=pe),window.dispatchEvent(An)}(),An>0}()}finally{if(Ln=!1,yr=nr-At(),!oi)return;Qn?Nr.run(1e3):yr>0?Nr.run(yr):Nr.start()}})}},An.prototype.schedule=function(){this.stop(),this.run()},An.prototype.observe=function(){var yr=this,Nr=function(){return yr.observer&&yr.observer.observe(document.body,ft)};document.body?Nr():tt.addEventListener("DOMContentLoaded",Nr)},An.prototype.start=function(){var yr=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),sn.forEach(function(Nr){return tt.addEventListener(Nr,yr.listener,!0)}))},An.prototype.stop=function(){var yr=this;this.stopped||(this.observer&&this.observer.disconnect(),sn.forEach(function(Nr){return tt.removeEventListener(Nr,yr.listener,!0)}),this.stopped=!0)},An}()),Fi=function(An){!oi&&An>0&&Lr.start(),!(oi+=An)&&Lr.stop()},Vo=function(){function An(yr,Nr){this.target=yr,this.observedBox=Nr||ue.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return An.prototype.isActive=function(){var yr=bn(this.target,this.observedBox,!0);return function(An){return!Ue(An)&&!function(An){switch(An.tagName){case"INPUT":if("image"!==An.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(An)&&"inline"===getComputedStyle(An).display}(this.target)&&(this.lastReportedSize=yr),this.lastReportedSize.inlineSize!==yr.inlineSize||this.lastReportedSize.blockSize!==yr.blockSize},An}(),Xr=function An(yr,Nr){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=yr,this.callback=Nr},Ni=new WeakMap,ji=function(An,yr){for(var Nr=0;Nr<An.length;Nr+=1)if(An[Nr].target===yr)return Nr;return-1},jr=function(){function An(){}return An.connect=function(yr,Nr){var nr=new Xr(yr,Nr);Ni.set(yr,nr)},An.observe=function(yr,Nr,nr){var Qn=Ni.get(yr),dr=0===Qn.observationTargets.length;ji(Qn.observationTargets,Nr)<0&&(dr&&q.push(Qn),Qn.observationTargets.push(new Vo(Nr,nr&&nr.box)),Fi(1),Lr.schedule())},An.unobserve=function(yr,Nr){var nr=Ni.get(yr),Qn=ji(nr.observationTargets,Nr);Qn>=0&&(1===nr.observationTargets.length&&q.splice(q.indexOf(nr),1),nr.observationTargets.splice(Qn,1),Fi(-1))},An.disconnect=function(yr){var Nr=this,nr=Ni.get(yr);nr.observationTargets.slice().forEach(function(Qn){return Nr.unobserve(yr,Qn.target)}),nr.activeTargets.splice(0,nr.activeTargets.length)},An}(),Pr=function(){function An(yr){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof yr)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");jr.connect(this,yr)}return An.prototype.observe=function(yr,Nr){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!yt(yr))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");jr.observe(this,yr,Nr)},An.prototype.unobserve=function(yr){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!yt(yr))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");jr.unobserve(this,yr)},An.prototype.disconnect=function(){jr.disconnect(this)},An.toString=function(){return"function ResizeObserver () { [polyfill code] }"},An}(),Bo=o(72318),cs=o.n(Bo);function Ut(An){return An&&An.ownerDocument&&An.ownerDocument.defaultView?An.ownerDocument.defaultView:window}function ke(An){return An&&An.ownerDocument?An.ownerDocument:document}o(21917),o(35495),o(46042),o(59910),o(43441);var Ie=null,Qe=null;function Ve(An){if(null===Ie){var yr=ke(An);if(typeof yr>"u")return Ie=0;var Nr=yr.body,nr=yr.createElement("div");nr.classList.add("simplebar-hide-scrollbar"),Nr.appendChild(nr);var Qn=nr.getBoundingClientRect().right;Nr.removeChild(nr),Ie=Qn}return Ie}cs()&&window.addEventListener("resize",function(){Qe!==window.devicePixelRatio&&(Qe=window.devicePixelRatio,Ie=null)});var tn=function(){function An(Nr,nr){var Qn=this;this.onScroll=function(){var dr=Ut(Qn.el);Qn.scrollXTicking||(dr.requestAnimationFrame(Qn.scrollX),Qn.scrollXTicking=!0),Qn.scrollYTicking||(dr.requestAnimationFrame(Qn.scrollY),Qn.scrollYTicking=!0)},this.scrollX=function(){Qn.axis.x.isOverflowing&&(Qn.showScrollbar("x"),Qn.positionScrollbar("x")),Qn.scrollXTicking=!1},this.scrollY=function(){Qn.axis.y.isOverflowing&&(Qn.showScrollbar("y"),Qn.positionScrollbar("y")),Qn.scrollYTicking=!1},this.onMouseEnter=function(){Qn.showScrollbar("x"),Qn.showScrollbar("y")},this.onMouseMove=function(dr){Qn.mouseX=dr.clientX,Qn.mouseY=dr.clientY,(Qn.axis.x.isOverflowing||Qn.axis.x.forceVisible)&&Qn.onMouseMoveForAxis("x"),(Qn.axis.y.isOverflowing||Qn.axis.y.forceVisible)&&Qn.onMouseMoveForAxis("y")},this.onMouseLeave=function(){Qn.onMouseMove.cancel(),(Qn.axis.x.isOverflowing||Qn.axis.x.forceVisible)&&Qn.onMouseLeaveForAxis("x"),(Qn.axis.y.isOverflowing||Qn.axis.y.forceVisible)&&Qn.onMouseLeaveForAxis("y"),Qn.mouseX=-1,Qn.mouseY=-1},this.onWindowResize=function(){Qn.scrollbarWidth=Qn.getScrollbarWidth(),Qn.hideNativeScrollbar()},this.hideScrollbars=function(){Qn.axis.x.track.rect=Qn.axis.x.track.el.getBoundingClientRect(),Qn.axis.y.track.rect=Qn.axis.y.track.el.getBoundingClientRect(),Qn.isWithinBounds(Qn.axis.y.track.rect)||(Qn.axis.y.scrollbar.el.classList.remove(Qn.classNames.visible),Qn.axis.y.isVisible=!1),Qn.isWithinBounds(Qn.axis.x.track.rect)||(Qn.axis.x.scrollbar.el.classList.remove(Qn.classNames.visible),Qn.axis.x.isVisible=!1)},this.onPointerEvent=function(dr){var Wn,Wt;Qn.axis.x.track.rect=Qn.axis.x.track.el.getBoundingClientRect(),Qn.axis.y.track.rect=Qn.axis.y.track.el.getBoundingClientRect(),(Qn.axis.x.isOverflowing||Qn.axis.x.forceVisible)&&(Wn=Qn.isWithinBounds(Qn.axis.x.track.rect)),(Qn.axis.y.isOverflowing||Qn.axis.y.forceVisible)&&(Wt=Qn.isWithinBounds(Qn.axis.y.track.rect)),(Wn||Wt)&&(dr.preventDefault(),dr.stopPropagation(),"mousedown"===dr.type&&(Wn&&(Qn.axis.x.scrollbar.rect=Qn.axis.x.scrollbar.el.getBoundingClientRect(),Qn.isWithinBounds(Qn.axis.x.scrollbar.rect)?Qn.onDragStart(dr,"x"):Qn.onTrackClick(dr,"x")),Wt&&(Qn.axis.y.scrollbar.rect=Qn.axis.y.scrollbar.el.getBoundingClientRect(),Qn.isWithinBounds(Qn.axis.y.scrollbar.rect)?Qn.onDragStart(dr,"y"):Qn.onTrackClick(dr,"y"))))},this.drag=function(dr){var Wt=Qn.axis[Qn.draggedAxis].track,kt=Wt.rect[Qn.axis[Qn.draggedAxis].sizeAttr],st=Qn.axis[Qn.draggedAxis].scrollbar,zt=Qn.contentWrapperEl[Qn.axis[Qn.draggedAxis].scrollSizeAttr],er=parseInt(Qn.elStyles[Qn.axis[Qn.draggedAxis].sizeAttr],10);dr.preventDefault(),dr.stopPropagation();var gi=(("y"===Qn.draggedAxis?dr.pageY:dr.pageX)-Wt.rect[Qn.axis[Qn.draggedAxis].offsetAttr]-Qn.axis[Qn.draggedAxis].dragOffset)/(kt-st.size)*(zt-er);"x"===Qn.draggedAxis&&(gi=Qn.isRtl&&An.getRtlHelpers().isRtlScrollbarInverted?gi-(kt+st.size):gi,gi=Qn.isRtl&&An.getRtlHelpers().isRtlScrollingInverted?-gi:gi),Qn.contentWrapperEl[Qn.axis[Qn.draggedAxis].scrollOffsetAttr]=gi},this.onEndDrag=function(dr){var Wn=ke(Qn.el),Wt=Ut(Qn.el);dr.preventDefault(),dr.stopPropagation(),Qn.el.classList.remove(Qn.classNames.dragging),Wn.removeEventListener("mousemove",Qn.drag,!0),Wn.removeEventListener("mouseup",Qn.onEndDrag,!0),Qn.removePreventClickId=Wt.setTimeout(function(){Wn.removeEventListener("click",Qn.preventClick,!0),Wn.removeEventListener("dblclick",Qn.preventClick,!0),Qn.removePreventClickId=null})},this.preventClick=function(dr){dr.preventDefault(),dr.stopPropagation()},this.el=Nr,this.minScrollbarWidth=20,this.options=Object.assign({},An.defaultOptions,nr),this.classNames=Object.assign({},An.defaultOptions.classNames,this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,!An.instances.has(this.el)&&(this.recalculate=D()(this.recalculate.bind(this),64),this.onMouseMove=D()(this.onMouseMove.bind(this),64),this.hideScrollbars=$()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=$()(this.onWindowResize.bind(this),64,{leading:!0}),An.getRtlHelpers=U()(An.getRtlHelpers),this.init())}An.getRtlHelpers=function(){var nr=document.createElement("div");nr.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var Qn=nr.firstElementChild;document.body.appendChild(Qn);var dr=Qn.firstElementChild;Qn.scrollLeft=0;var Wn=An.getOffset(Qn),Wt=An.getOffset(dr);Qn.scrollLeft=999;var kt=An.getOffset(dr);return{isRtlScrollingInverted:Wn.left!==Wt.left&&Wt.left-kt.left!=0,isRtlScrollbarInverted:Wn.left!==Wt.left}},An.getOffset=function(nr){var Qn=nr.getBoundingClientRect(),dr=ke(nr),Wn=Ut(nr);return{top:Qn.top+(Wn.pageYOffset||dr.documentElement.scrollTop),left:Qn.left+(Wn.pageXOffset||dr.documentElement.scrollLeft)}};var yr=An.prototype;return yr.init=function(){An.instances.set(this.el,this),cs()&&(this.initDOM(),this.setAccessibilityAttributes(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},yr.initDOM=function(){var nr=this;if(Array.prototype.filter.call(this.el.children,function(Wn){return Wn.classList.contains(nr.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var Qn=document.createElement("div"),dr=document.createElement("div");Qn.classList.add(this.classNames.track),dr.classList.add(this.classNames.scrollbar),Qn.appendChild(dr),this.axis.x.track.el=Qn.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=Qn.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},yr.setAccessibilityAttributes=function(){var nr=this.options.ariaLabel||"scrollable content";this.contentWrapperEl.setAttribute("tabindex","0"),this.contentWrapperEl.setAttribute("role","region"),this.contentWrapperEl.setAttribute("aria-label",nr)},yr.initListeners=function(){var nr=this,Qn=Ut(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(kt){nr.el.addEventListener(kt,nr.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(kt){nr.el.addEventListener(kt,nr.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),Qn.addEventListener("resize",this.onWindowResize);var dr=!1,Wn=null;this.resizeObserver=new(Qn.ResizeObserver||Pr)(function(){!dr||null!==Wn||(Wn=Qn.requestAnimationFrame(function(){nr.recalculate(),Wn=null}))}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),Qn.requestAnimationFrame(function(){dr=!0}),this.mutationObserver=new Qn.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},yr.recalculate=function(){var nr=Ut(this.el);this.elStyles=nr.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var Qn=this.heightAutoObserverEl.offsetHeight<=1,dr=this.heightAutoObserverEl.offsetWidth<=1,Wn=this.contentEl.offsetWidth,Wt=this.contentWrapperEl.offsetWidth,kt=this.elStyles.overflowX,st=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var zt=this.contentEl.scrollHeight,er=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=Qn?"auto":"100%",this.placeholderEl.style.width=dr?Wn+"px":"auto",this.placeholderEl.style.height=zt+"px";var Kr=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=er>Wn,this.axis.y.isOverflowing=zt>Kr,this.axis.x.isOverflowing="hidden"!==kt&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==st&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var mi=this.axis.x.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&er>Wt-(this.axis.y.isOverflowing?this.scrollbarWidth:0),this.axis.y.isOverflowing=this.axis.y.isOverflowing&&zt>Kr-mi,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},yr.getScrollbarSize=function(nr){if(void 0===nr&&(nr="y"),!this.axis[nr].isOverflowing)return 0;var Wn,dr=this.axis[nr].track.el[this.axis[nr].offsetSizeAttr];return Wn=Math.max(~~(dr/this.contentEl[this.axis[nr].scrollSizeAttr]*dr),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(Wn=Math.min(Wn,this.options.scrollbarMaxSize)),Wn},yr.positionScrollbar=function(nr){if(void 0===nr&&(nr="y"),this.axis[nr].isOverflowing){var Qn=this.contentWrapperEl[this.axis[nr].scrollSizeAttr],dr=this.axis[nr].track.el[this.axis[nr].offsetSizeAttr],Wn=parseInt(this.elStyles[this.axis[nr].sizeAttr],10),Wt=this.axis[nr].scrollbar,kt=this.contentWrapperEl[this.axis[nr].scrollOffsetAttr],zt=~~((kt="x"===nr&&this.isRtl&&An.getRtlHelpers().isRtlScrollingInverted?-kt:kt)/(Qn-Wn)*(dr-Wt.size));zt="x"===nr&&this.isRtl&&An.getRtlHelpers().isRtlScrollbarInverted?zt+(dr-Wt.size):zt,Wt.el.style.transform="x"===nr?"translate3d("+zt+"px, 0, 0)":"translate3d(0, "+zt+"px, 0)"}},yr.toggleTrackVisibility=function(nr){void 0===nr&&(nr="y");var Qn=this.axis[nr].track.el,dr=this.axis[nr].scrollbar.el;this.axis[nr].isOverflowing||this.axis[nr].forceVisible?(Qn.style.visibility="visible",this.contentWrapperEl.style[this.axis[nr].overflowAttr]="scroll"):(Qn.style.visibility="hidden",this.contentWrapperEl.style[this.axis[nr].overflowAttr]="hidden"),dr.style.display=this.axis[nr].isOverflowing?"block":"none"},yr.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},yr.onMouseMoveForAxis=function(nr){void 0===nr&&(nr="y"),this.axis[nr].track.rect=this.axis[nr].track.el.getBoundingClientRect(),this.axis[nr].scrollbar.rect=this.axis[nr].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[nr].scrollbar.rect)?this.axis[nr].scrollbar.el.classList.add(this.classNames.hover):this.axis[nr].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[nr].track.rect)?(this.showScrollbar(nr),this.axis[nr].track.el.classList.add(this.classNames.hover)):this.axis[nr].track.el.classList.remove(this.classNames.hover)},yr.onMouseLeaveForAxis=function(nr){void 0===nr&&(nr="y"),this.axis[nr].track.el.classList.remove(this.classNames.hover),this.axis[nr].scrollbar.el.classList.remove(this.classNames.hover)},yr.showScrollbar=function(nr){void 0===nr&&(nr="y"),this.axis[nr].isVisible||(this.axis[nr].scrollbar.el.classList.add(this.classNames.visible),this.axis[nr].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},yr.onDragStart=function(nr,Qn){void 0===Qn&&(Qn="y");var dr=ke(this.el),Wn=Ut(this.el);this.axis[Qn].dragOffset=("y"===Qn?nr.pageY:nr.pageX)-this.axis[Qn].scrollbar.rect[this.axis[Qn].offsetAttr],this.draggedAxis=Qn,this.el.classList.add(this.classNames.dragging),dr.addEventListener("mousemove",this.drag,!0),dr.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(dr.addEventListener("click",this.preventClick,!0),dr.addEventListener("dblclick",this.preventClick,!0)):(Wn.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},yr.onTrackClick=function(nr,Qn){var dr=this;if(void 0===Qn&&(Qn="y"),this.options.clickOnTrack){var Wn=Ut(this.el);this.axis[Qn].scrollbar.rect=this.axis[Qn].scrollbar.el.getBoundingClientRect();var kt=this.axis[Qn].scrollbar.rect[this.axis[Qn].offsetAttr],st=parseInt(this.elStyles[this.axis[Qn].sizeAttr],10),zt=this.contentWrapperEl[this.axis[Qn].scrollOffsetAttr],Kr=("y"===Qn?this.mouseY-kt:this.mouseX-kt)<0?-1:1,mi=-1===Kr?zt-st:zt+st;!function Jo(){var os;if(-1===Kr)zt>mi&&(dr.contentWrapperEl.scrollTo(((os={})[dr.axis[Qn].offsetAttr]=zt-=dr.options.clickOnTrackSpeed,os)),Wn.requestAnimationFrame(Jo));else if(zt<mi){var hr;dr.contentWrapperEl.scrollTo(((hr={})[dr.axis[Qn].offsetAttr]=zt+=dr.options.clickOnTrackSpeed,hr)),Wn.requestAnimationFrame(Jo)}}()}},yr.getContentElement=function(){return this.contentEl},yr.getScrollElement=function(){return this.contentWrapperEl},yr.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Ve(this.el)}catch{return Ve(this.el)}},yr.removeListeners=function(){var nr=this,Qn=Ut(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(dr){nr.el.removeEventListener(dr,nr.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(dr){nr.el.removeEventListener(dr,nr.onPointerEvent,{capture:!0,passive:!0})}),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),Qn.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},yr.unMount=function(){this.removeListeners(),An.instances.delete(this.el)},yr.isWithinBounds=function(nr){return this.mouseX>=nr.left&&this.mouseX<=nr.left+nr.width&&this.mouseY>=nr.top&&this.mouseY<=nr.top+nr.height},yr.findChild=function(nr,Qn){var dr=nr.matches||nr.webkitMatchesSelector||nr.mozMatchesSelector||nr.msMatchesSelector;return Array.prototype.filter.call(nr.children,function(Wn){return dr.call(Wn,Qn)})[0]},An}();tn.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},tn.instances=new WeakMap;const ot=tn;var xt=o(64537);const qt=["*"];let tr=(()=>{class An{constructor(Nr){this.elRef=Nr}ngOnInit(){}ngAfterViewInit(){this.SimpleBar=new ot(this.elRef.nativeElement,this.options||{})}ngOnDestroy(){this.SimpleBar.unMount(),this.SimpleBar=null}}return An.\u0275fac=function(Nr){return new(Nr||An)(xt.Y36(xt.SBq))},An.\u0275cmp=xt.Xpm({type:An,selectors:[["ngx-simplebar"]],hostAttrs:["data-simplebar","init"],inputs:{options:"options"},ngContentSelectors:qt,decls:13,vars:0,consts:[[1,"simplebar-wrapper"],[1,"simplebar-height-auto-observer-wrapper"],[1,"simplebar-height-auto-observer"],[1,"simplebar-mask"],[1,"simplebar-offset"],[1,"simplebar-content-wrapper"],[1,"simplebar-content"],[1,"simplebar-placeholder"],[1,"simplebar-track","simplebar-horizontal"],[1,"simplebar-scrollbar"],[1,"simplebar-track","simplebar-vertical"]],template:function(Nr,nr){1&Nr&&(xt.F$t(),xt.TgZ(0,"div",0)(1,"div",1),xt._UZ(2,"div",2),xt.qZA(),xt.TgZ(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6),xt.Hsn(7),xt.qZA()()()(),xt._UZ(8,"div",7),xt.qZA(),xt.TgZ(9,"div",8),xt._UZ(10,"div",9),xt.qZA(),xt.TgZ(11,"div",10),xt._UZ(12,"div",9),xt.qZA())},styles:["[data-simplebar]{position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;flex-wrap:wrap;-webkit-box-pack:start;justify-content:flex-start;align-content:flex-start;-webkit-box-align:start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:' ';display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;-webkit-box-flex:inherit;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:'';background:#000;border-radius:7px;left:2px;right:2px;opacity:0;-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;-webkit-transition:opacity linear;transition:opacity linear}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{top:2px;bottom:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.hs-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}","ngx-simplebar{display:block}"],encapsulation:2}),An})(),vr=(()=>{class An{}return An.\u0275fac=function(Nr){return new(Nr||An)},An.\u0275mod=xt.oAB({type:An}),An.\u0275inj=xt.cJS({}),An})()},89159:y=>{var ft,b="Expected a function",o="__lodash_hash_undefined__",r="[object Function]",a="[object GeneratorFunction]",c=/^\[object .+?Constructor\]$/,e="object"==typeof global&&global&&global.Object===Object&&global,f="object"==typeof self&&self&&self.Object===Object&&self,h=e||f||Function("return this")(),D=Array.prototype,A=Function.prototype,$=Object.prototype,Q=h["__core-js_shared__"],U=(ft=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+ft:"",q=A.toString,L=$.hasOwnProperty,J=$.toString,pe=RegExp("^"+q.call(L).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=D.splice,ue=kn(h,"Map"),ie=kn(Object,"create");function me(ft){var sn=-1,At=ft?ft.length:0;for(this.clear();++sn<At;){var Ln=ft[sn];this.set(Ln[0],Ln[1])}}function tt(ft){var sn=-1,At=ft?ft.length:0;for(this.clear();++sn<At;){var Ln=ft[sn];this.set(Ln[0],Ln[1])}}function ht(ft){var sn=-1,At=ft?ft.length:0;for(this.clear();++sn<At;){var Ln=ft[sn];this.set(Ln[0],Ln[1])}}function Xt(ft,sn){for(var At=ft.length;At--;)if(oi(ft[At][0],sn))return At;return-1}function _n(ft,sn){var At=ft.__data__;return function ri(ft){var sn=typeof ft;return"string"==sn||"number"==sn||"symbol"==sn||"boolean"==sn?"__proto__"!==ft:null===ft}(sn)?At["string"==typeof sn?"string":"hash"]:At.map}function kn(ft,sn){var At=function E(ft,sn){return ft?.[sn]}(ft,sn);return function un(ft){if(!Tr(ft)||function Ir(ft){return!!U&&U in ft}(ft))return!1;var sn=function Ri(ft){var sn=Tr(ft)?J.call(ft):"";return sn==r||sn==a}(ft)||function T(ft){var sn=!1;if(null!=ft&&"function"!=typeof ft.toString)try{sn=!!(ft+"")}catch{}return sn}(ft)?pe:c;return sn.test(function wr(ft){if(null!=ft){try{return q.call(ft)}catch{}try{return ft+""}catch{}}return""}(ft))}(At)?At:void 0}function _r(ft,sn){if("function"!=typeof ft||sn&&"function"!=typeof sn)throw new TypeError(b);var At=function(){var Ln=arguments,rr=sn?sn.apply(this,Ln):Ln[0],Lr=At.cache;if(Lr.has(rr))return Lr.get(rr);var Fi=ft.apply(this,Ln);return At.cache=Lr.set(rr,Fi),Fi};return At.cache=new(_r.Cache||ht),At}function oi(ft,sn){return ft===sn||ft!=ft&&sn!=sn}function Tr(ft){var sn=typeof ft;return!!ft&&("object"==sn||"function"==sn)}me.prototype.clear=function Oe(){this.__data__=ie?ie(null):{}},me.prototype.delete=function Ue(ft){return this.has(ft)&&delete this.__data__[ft]},me.prototype.get=function Me(ft){var sn=this.__data__;if(ie){var At=sn[ft];return At===o?void 0:At}return L.call(sn,ft)?sn[ft]:void 0},me.prototype.has=function yt(ft){var sn=this.__data__;return ie?void 0!==sn[ft]:L.call(sn,ft)},me.prototype.set=function et(ft,sn){return this.__data__[ft]=ie&&void 0===sn?o:sn,this},tt.prototype.clear=function Et(){this.__data__=[]},tt.prototype.delete=function ze(ft){var sn=this.__data__,At=Xt(sn,ft);return!(At<0||(At==sn.length-1?sn.pop():j.call(sn,At,1),0))},tt.prototype.get=function bt(ft){var sn=this.__data__,At=Xt(sn,ft);return At<0?void 0:sn[At][1]},tt.prototype.has=function Ct(ft){return Xt(this.__data__,ft)>-1},tt.prototype.set=function Qt(ft,sn){var At=this.__data__,Ln=Xt(At,ft);return Ln<0?At.push([ft,sn]):At[Ln][1]=sn,this},ht.prototype.clear=function en(){this.__data__={hash:new me,map:new(ue||tt),string:new me}},ht.prototype.delete=function nn(ft){return _n(this,ft).delete(ft)},ht.prototype.get=function bn(ft){return _n(this,ft).get(ft)},ht.prototype.has=function Dn(ft){return _n(this,ft).has(ft)},ht.prototype.set=function Rt(ft,sn){return _n(this,ft).set(ft,sn),this},_r.Cache=ht,y.exports=_r},46295:(y,b)=>{"use strict";b.parse=function a(E,T){if("string"!=typeof E)throw new TypeError("argument str must be a string");for(var D={},$=(T||{}).decode||c,Q=0;Q<E.length;){var U=E.indexOf("=",Q);if(-1===U)break;var q=E.indexOf(";",Q);if(-1===q)q=E.length;else if(q<U){Q=E.lastIndexOf(";",U-1)+1;continue}var L=E.slice(Q,U).trim();if(void 0===D[L]){var J=E.slice(U+1,q).trim();34===J.charCodeAt(0)&&(J=J.slice(1,-1)),D[L]=h(J,$)}Q=q+1}return D},b.serialize=function u(E,T,D){var A=D||{},$=A.encode||e;if("function"!=typeof $)throw new TypeError("option encode is invalid");if(!r.test(E))throw new TypeError("argument name is invalid");var Q=$(T);if(Q&&!r.test(Q))throw new TypeError("argument val is invalid");var U=E+"="+Q;if(null!=A.maxAge){var q=A.maxAge-0;if(isNaN(q)||!isFinite(q))throw new TypeError("option maxAge is invalid");U+="; Max-Age="+Math.floor(q)}if(A.domain){if(!r.test(A.domain))throw new TypeError("option domain is invalid");U+="; Domain="+A.domain}if(A.path){if(!r.test(A.path))throw new TypeError("option path is invalid");U+="; Path="+A.path}if(A.expires){var L=A.expires;if(!function f(E){return"[object Date]"===o.call(E)||E instanceof Date}(L)||isNaN(L.valueOf()))throw new TypeError("option expires is invalid");U+="; Expires="+L.toUTCString()}if(A.httpOnly&&(U+="; HttpOnly"),A.secure&&(U+="; Secure"),A.partitioned&&(U+="; Partitioned"),A.priority)switch("string"==typeof A.priority?A.priority.toLowerCase():A.priority){case"low":U+="; Priority=Low";break;case"medium":U+="; Priority=Medium";break;case"high":U+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(A.sameSite)switch("string"==typeof A.sameSite?A.sameSite.toLowerCase():A.sameSite){case!0:U+="; SameSite=Strict";break;case"lax":U+="; SameSite=Lax";break;case"strict":U+="; SameSite=Strict";break;case"none":U+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return U};var o=Object.prototype.toString,r=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function c(E){return-1!==E.indexOf("%")?decodeURIComponent(E):E}function e(E){return encodeURIComponent(E)}function h(E,T){try{return T(E)}catch{return E}}},82312:y=>{"use strict";var b=function(J){return function o(L){return!!L&&"object"==typeof L}(J)&&!function r(L){var J=Object.prototype.toString.call(L);return"[object RegExp]"===J||"[object Date]"===J||function c(L){return L.$$typeof===u}(L)}(J)},u="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function f(L,J){return!1!==J.clone&&J.isMergeableObject(L)?U(function e(L){return Array.isArray(L)?[]:{}}(L),L,J):L}function h(L,J,pe){return L.concat(J).map(function(j){return f(j,pe)})}function D(L){return Object.keys(L).concat(function T(L){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(L).filter(function(J){return Object.propertyIsEnumerable.call(L,J)}):[]}(L))}function A(L,J){try{return J in L}catch{return!1}}function U(L,J,pe){(pe=pe||{}).arrayMerge=pe.arrayMerge||h,pe.isMergeableObject=pe.isMergeableObject||b,pe.cloneUnlessOtherwiseSpecified=f;var j=Array.isArray(J);return j===Array.isArray(L)?j?pe.arrayMerge(L,J,pe):function Q(L,J,pe){var j={};return pe.isMergeableObject(L)&&D(L).forEach(function(ue){j[ue]=f(L[ue],pe)}),D(J).forEach(function(ue){(function $(L,J){return A(L,J)&&!(Object.hasOwnProperty.call(L,J)&&Object.propertyIsEnumerable.call(L,J))})(L,ue)||(j[ue]=A(L,ue)&&pe.isMergeableObject(J[ue])?function E(L,J){if(!J.customMerge)return U;var pe=J.customMerge(L);return"function"==typeof pe?pe:U}(ue,pe)(L[ue],J[ue],pe):f(J[ue],pe))}),j}(L,J,pe):f(J,pe)}U.all=function(J,pe){if(!Array.isArray(J))throw new Error("first argument should be an array");return J.reduce(function(j,ue){return U(j,ue,pe)},{})},y.exports=U},90819:y=>{"use strict";var b=String.prototype.replace,o=/%20/g;y.exports={default:"RFC3986",formatters:{RFC1738:function(a){return b.call(a,o,"+")},RFC3986:function(a){return String(a)}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},79257:(y,b,o)=>{"use strict";var r=o(35934),a=o(62402),u=o(90819);y.exports={formats:u,parse:a,stringify:r}},62402:(y,b,o)=>{"use strict";var r=o(11622),a=Object.prototype.hasOwnProperty,u=Array.isArray,c={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},f=function(Q,U){return Q&&"string"==typeof Q&&U.comma&&Q.indexOf(",")>-1?Q.split(","):Q},A=function(U,q,L,J){if(U){var pe=L.allowDots?U.replace(/\.([^.[]+)/g,"[$1]"):U,ue=/(\[[^[\]]*])/g,ie=L.depth>0&&/(\[[^[\]]*])/.exec(pe),me=ie?pe.slice(0,ie.index):pe,Oe=[];if(me){if(!L.plainObjects&&a.call(Object.prototype,me)&&!L.allowPrototypes)return;Oe.push(me)}for(var Ue=0;L.depth>0&&null!==(ie=ue.exec(pe))&&Ue<L.depth;){if(Ue+=1,!L.plainObjects&&a.call(Object.prototype,ie[1].slice(1,-1))&&!L.allowPrototypes)return;Oe.push(ie[1])}return ie&&Oe.push("["+pe.slice(ie.index)+"]"),function(Q,U,q,L){for(var J=L?U:f(U,q),pe=Q.length-1;pe>=0;--pe){var j,ue=Q[pe];if("[]"===ue&&q.parseArrays)j=[].concat(J);else{j=q.plainObjects?Object.create(null):{};var ie="["===ue.charAt(0)&&"]"===ue.charAt(ue.length-1)?ue.slice(1,-1):ue,me=parseInt(ie,10);q.parseArrays||""!==ie?!isNaN(me)&&ue!==ie&&String(me)===ie&&me>=0&&q.parseArrays&&me<=q.arrayLimit?(j=[])[me]=J:"__proto__"!==ie&&(j[ie]=J):j={0:J}}J=j}return J}(Oe,q,L,J)}};y.exports=function(Q,U){var q=function(U){if(!U)return c;if(null!=U.decoder&&"function"!=typeof U.decoder)throw new TypeError("Decoder has to be a function.");if(typeof U.charset<"u"&&"utf-8"!==U.charset&&"iso-8859-1"!==U.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");return{allowDots:typeof U.allowDots>"u"?c.allowDots:!!U.allowDots,allowPrototypes:"boolean"==typeof U.allowPrototypes?U.allowPrototypes:c.allowPrototypes,allowSparse:"boolean"==typeof U.allowSparse?U.allowSparse:c.allowSparse,arrayLimit:"number"==typeof U.arrayLimit?U.arrayLimit:c.arrayLimit,charset:typeof U.charset>"u"?c.charset:U.charset,charsetSentinel:"boolean"==typeof U.charsetSentinel?U.charsetSentinel:c.charsetSentinel,comma:"boolean"==typeof U.comma?U.comma:c.comma,decoder:"function"==typeof U.decoder?U.decoder:c.decoder,delimiter:"string"==typeof U.delimiter||r.isRegExp(U.delimiter)?U.delimiter:c.delimiter,depth:"number"==typeof U.depth||!1===U.depth?+U.depth:c.depth,ignoreQueryPrefix:!0===U.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof U.interpretNumericEntities?U.interpretNumericEntities:c.interpretNumericEntities,parameterLimit:"number"==typeof U.parameterLimit?U.parameterLimit:c.parameterLimit,parseArrays:!1!==U.parseArrays,plainObjects:"boolean"==typeof U.plainObjects?U.plainObjects:c.plainObjects,strictNullHandling:"boolean"==typeof U.strictNullHandling?U.strictNullHandling:c.strictNullHandling}}(U);if(""===Q||null===Q||typeof Q>"u")return q.plainObjects?Object.create(null):{};for(var L="string"==typeof Q?function(U,q){var ie,L={__proto__:null},j=(q.ignoreQueryPrefix?U.replace(/^\?/,""):U).split(q.delimiter,q.parameterLimit===1/0?void 0:q.parameterLimit),ue=-1,me=q.charset;if(q.charsetSentinel)for(ie=0;ie<j.length;++ie)0===j[ie].indexOf("utf8=")&&("utf8=%E2%9C%93"===j[ie]?me="utf-8":"utf8=%26%2310003%3B"===j[ie]&&(me="iso-8859-1"),ue=ie,ie=j.length);for(ie=0;ie<j.length;++ie)if(ie!==ue){var yt,et,Oe=j[ie],Ue=Oe.indexOf("]="),Me=-1===Ue?Oe.indexOf("="):Ue+1;-1===Me?(yt=q.decoder(Oe,c.decoder,me,"key"),et=q.strictNullHandling?null:""):(yt=q.decoder(Oe.slice(0,Me),c.decoder,me,"key"),et=r.maybeMap(f(Oe.slice(Me+1),q),function(tt){return q.decoder(tt,c.decoder,me,"value")})),et&&q.interpretNumericEntities&&"iso-8859-1"===me&&(et=et.replace(/&#(\d+);/g,function(U,q){return String.fromCharCode(parseInt(q,10))})),Oe.indexOf("[]=")>-1&&(et=u(et)?[et]:et),L[yt]=a.call(L,yt)?r.combine(L[yt],et):et}return L}(Q,q):Q,J=q.plainObjects?Object.create(null):{},pe=Object.keys(L),j=0;j<pe.length;++j){var ue=pe[j],ie=A(ue,L[ue],q,"string"==typeof Q);J=r.merge(J,ie,q)}return!0===q.allowSparse?J:r.compact(J)}},35934:(y,b,o)=>{"use strict";var r=o(11144),a=o(11622),u=o(90819),c=Object.prototype.hasOwnProperty,e={brackets:function(J){return J+"[]"},comma:"comma",indices:function(J,pe){return J+"["+pe+"]"},repeat:function(J){return J}},f=Array.isArray,h=Array.prototype.push,E=function(L,J){h.apply(L,f(J)?J:[J])},T=Date.prototype.toISOString,D=u.default,A={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:D,formatter:u.formatters[D],indices:!1,serializeDate:function(J){return T.call(J)},skipNulls:!1,strictNullHandling:!1},Q={},U=function L(J,pe,j,ue,ie,me,Oe,Ue,Me,yt,et,tt,Et,ze,bt,Ct){for(var Qt=J,ht=Ct,en=0,nn=!1;void 0!==(ht=ht.get(Q))&&!nn;){var bn=ht.get(J);if(en+=1,typeof bn<"u"){if(bn===en)throw new RangeError("Cyclic object value");nn=!0}typeof ht.get(Q)>"u"&&(en=0)}if("function"==typeof Ue?Qt=Ue(pe,Qt):Qt instanceof Date?Qt=et(Qt):"comma"===j&&f(Qt)&&(Qt=a.maybeMap(Qt,function(oi){return oi instanceof Date?et(oi):oi})),null===Qt){if(ie)return Oe&&!ze?Oe(pe,A.encoder,bt,"key",tt):pe;Qt=""}if(function(J){return"string"==typeof J||"number"==typeof J||"boolean"==typeof J||"symbol"==typeof J||"bigint"==typeof J}(Qt)||a.isBuffer(Qt))return Oe?[Et(ze?pe:Oe(pe,A.encoder,bt,"key",tt))+"="+Et(Oe(Qt,A.encoder,bt,"value",tt))]:[Et(pe)+"="+Et(String(Qt))];var Xt,Rt=[];if(typeof Qt>"u")return Rt;if("comma"===j&&f(Qt))ze&&Oe&&(Qt=a.maybeMap(Qt,Oe)),Xt=[{value:Qt.length>0?Qt.join(",")||null:void 0}];else if(f(Ue))Xt=Ue;else{var un=Object.keys(Qt);Xt=Me?un.sort(Me):un}for(var _n=ue&&f(Qt)&&1===Qt.length?pe+"[]":pe,kn=0;kn<Xt.length;++kn){var ri=Xt[kn],Ir="object"==typeof ri&&typeof ri.value<"u"?ri.value:Qt[ri];if(!me||null!==Ir){var wr=f(Qt)?"function"==typeof j?j(_n,ri):_n:_n+(yt?"."+ri:"["+ri+"]");Ct.set(J,en);var _r=r();_r.set(Q,Ct),E(Rt,L(Ir,wr,j,ue,ie,me,"comma"===j&&ze&&f(Qt)?null:Oe,Ue,Me,yt,et,tt,Et,ze,bt,_r))}}return Rt};y.exports=function(L,J){var ue,pe=L,j=function(J){if(!J)return A;if(null!==J.encoder&&typeof J.encoder<"u"&&"function"!=typeof J.encoder)throw new TypeError("Encoder has to be a function.");var pe=J.charset||A.charset;if(typeof J.charset<"u"&&"utf-8"!==J.charset&&"iso-8859-1"!==J.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var j=u.default;if(typeof J.format<"u"){if(!c.call(u.formatters,J.format))throw new TypeError("Unknown format option provided.");j=J.format}var ue=u.formatters[j],ie=A.filter;return("function"==typeof J.filter||f(J.filter))&&(ie=J.filter),{addQueryPrefix:"boolean"==typeof J.addQueryPrefix?J.addQueryPrefix:A.addQueryPrefix,allowDots:typeof J.allowDots>"u"?A.allowDots:!!J.allowDots,charset:pe,charsetSentinel:"boolean"==typeof J.charsetSentinel?J.charsetSentinel:A.charsetSentinel,delimiter:typeof J.delimiter>"u"?A.delimiter:J.delimiter,encode:"boolean"==typeof J.encode?J.encode:A.encode,encoder:"function"==typeof J.encoder?J.encoder:A.encoder,encodeValuesOnly:"boolean"==typeof J.encodeValuesOnly?J.encodeValuesOnly:A.encodeValuesOnly,filter:ie,format:j,formatter:ue,serializeDate:"function"==typeof J.serializeDate?J.serializeDate:A.serializeDate,skipNulls:"boolean"==typeof J.skipNulls?J.skipNulls:A.skipNulls,sort:"function"==typeof J.sort?J.sort:null,strictNullHandling:"boolean"==typeof J.strictNullHandling?J.strictNullHandling:A.strictNullHandling}}(J);"function"==typeof j.filter?pe=(0,j.filter)("",pe):f(j.filter)&&(ue=j.filter);var me=[];if("object"!=typeof pe||null===pe)return"";var Ue=e[J&&J.arrayFormat in e?J.arrayFormat:J&&"indices"in J?J.indices?"indices":"repeat":"indices"];if(J&&"commaRoundTrip"in J&&"boolean"!=typeof J.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var Me="comma"===Ue&&J&&J.commaRoundTrip;ue||(ue=Object.keys(pe)),j.sort&&ue.sort(j.sort);for(var yt=r(),et=0;et<ue.length;++et){var tt=ue[et];j.skipNulls&&null===pe[tt]||E(me,U(pe[tt],tt,Ue,Me,j.strictNullHandling,j.skipNulls,j.encode?j.encoder:null,j.filter,j.sort,j.allowDots,j.serializeDate,j.format,j.formatter,j.encodeValuesOnly,j.charset,yt))}var Et=me.join(j.delimiter),ze=!0===j.addQueryPrefix?"?":"";return j.charsetSentinel&&(ze+="iso-8859-1"===j.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),Et.length>0?ze+Et:""}},11622:(y,b,o)=>{"use strict";var r=o(90819),a=Object.prototype.hasOwnProperty,u=Array.isArray,c=function(){for(var L=[],J=0;J<256;++J)L.push("%"+((J<16?"0":"")+J.toString(16)).toUpperCase());return L}(),f=function(J,pe){for(var j=pe&&pe.plainObjects?Object.create(null):{},ue=0;ue<J.length;++ue)typeof J[ue]<"u"&&(j[ue]=J[ue]);return j};y.exports={arrayToObject:f,assign:function(J,pe){return Object.keys(pe).reduce(function(j,ue){return j[ue]=pe[ue],j},J)},combine:function(J,pe){return[].concat(J,pe)},compact:function(J){for(var pe=[{obj:{o:J},prop:"o"}],j=[],ue=0;ue<pe.length;++ue)for(var ie=pe[ue],me=ie.obj[ie.prop],Oe=Object.keys(me),Ue=0;Ue<Oe.length;++Ue){var Me=Oe[Ue],yt=me[Me];"object"==typeof yt&&null!==yt&&-1===j.indexOf(yt)&&(pe.push({obj:me,prop:Me}),j.push(yt))}return function(J){for(;J.length>1;){var pe=J.pop(),j=pe.obj[pe.prop];if(u(j)){for(var ue=[],ie=0;ie<j.length;++ie)typeof j[ie]<"u"&&ue.push(j[ie]);pe.obj[pe.prop]=ue}}}(pe),J},decode:function(L,J,pe){var j=L.replace(/\+/g," ");if("iso-8859-1"===pe)return j.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(j)}catch{return j}},encode:function(J,pe,j,ue,ie){if(0===J.length)return J;var me=J;if("symbol"==typeof J?me=Symbol.prototype.toString.call(J):"string"!=typeof J&&(me=String(J)),"iso-8859-1"===j)return escape(me).replace(/%u[0-9a-f]{4}/gi,function(yt){return"%26%23"+parseInt(yt.slice(2),16)+"%3B"});for(var Oe="",Ue=0;Ue<me.length;++Ue){var Me=me.charCodeAt(Ue);45===Me||46===Me||95===Me||126===Me||Me>=48&&Me<=57||Me>=65&&Me<=90||Me>=97&&Me<=122||ie===r.RFC1738&&(40===Me||41===Me)?Oe+=me.charAt(Ue):Me<128?Oe+=c[Me]:Me<2048?Oe+=c[192|Me>>6]+c[128|63&Me]:Me<55296||Me>=57344?Oe+=c[224|Me>>12]+c[128|Me>>6&63]+c[128|63&Me]:(Me=65536+((1023&Me)<<10|1023&me.charCodeAt(Ue+=1)),Oe+=c[240|Me>>18]+c[128|Me>>12&63]+c[128|Me>>6&63]+c[128|63&Me])}return Oe},isBuffer:function(J){return!(!J||"object"!=typeof J||!(J.constructor&&J.constructor.isBuffer&&J.constructor.isBuffer(J)))},isRegExp:function(J){return"[object RegExp]"===Object.prototype.toString.call(J)},maybeMap:function(J,pe){if(u(J)){for(var j=[],ue=0;ue<J.length;ue+=1)j.push(pe(J[ue]));return j}return pe(J)},merge:function L(J,pe,j){if(!pe)return J;if("object"!=typeof pe){if(u(J))J.push(pe);else{if(!J||"object"!=typeof J)return[J,pe];(j&&(j.plainObjects||j.allowPrototypes)||!a.call(Object.prototype,pe))&&(J[pe]=!0)}return J}if(!J||"object"!=typeof J)return[J].concat(pe);var ue=J;return u(J)&&!u(pe)&&(ue=f(J,j)),u(J)&&u(pe)?(pe.forEach(function(ie,me){if(a.call(J,me)){var Oe=J[me];Oe&&"object"==typeof Oe&&ie&&"object"==typeof ie?J[me]=L(Oe,ie,j):J.push(ie)}else J[me]=ie}),J):Object.keys(pe).reduce(function(ie,me){var Oe=pe[me];return ie[me]=a.call(ie,me)?L(ie[me],Oe,j):Oe,ie},ue)}}},52129:function(y){y.exports=function(){"use strict";var b=Array.prototype.slice;function o(X,Ce){Ce&&(X.prototype=Object.create(Ce.prototype)),X.prototype.constructor=X}function r(X){return e(X)?X:wr(X)}function a(X){return f(X)?X:_r(X)}function u(X){return h(X)?X:oi(X)}function c(X){return e(X)&&!E(X)?X:Ri(X)}function e(X){return!(!X||!X[D])}function f(X){return!(!X||!X[A])}function h(X){return!(!X||!X[$])}function E(X){return f(X)||h(X)}function T(X){return!(!X||!X[Q])}o(a,r),o(u,r),o(c,r),r.isIterable=e,r.isKeyed=f,r.isIndexed=h,r.isAssociative=E,r.isOrdered=T,r.Keyed=a,r.Indexed=u,r.Set=c;var D="@@__IMMUTABLE_ITERABLE__@@",A="@@__IMMUTABLE_KEYED__@@",$="@@__IMMUTABLE_INDEXED__@@",Q="@@__IMMUTABLE_ORDERED__@@",U="delete",q=5,L=1<<q,J=L-1,pe={},j={value:!1},ue={value:!1};function ie(X){return X.value=!1,X}function me(X){X&&(X.value=!0)}function Oe(){}function Ue(X,Ce){Ce=Ce||0;for(var gt=Math.max(0,X.length-Ce),Ke=new Array(gt),Gt=0;Gt<gt;Gt++)Ke[Gt]=X[Gt+Ce];return Ke}function Me(X){return void 0===X.size&&(X.size=X.__iterate(et)),X.size}function yt(X,Ce){if("number"!=typeof Ce){var gt=Ce>>>0;if(""+gt!==Ce||4294967295===gt)return NaN;Ce=gt}return Ce<0?Me(X)+Ce:Ce}function et(){return!0}function tt(X,Ce,gt){return(0===X||void 0!==gt&&X<=-gt)&&(void 0===Ce||void 0!==gt&&Ce>=gt)}function Et(X,Ce){return bt(X,Ce,0)}function ze(X,Ce){return bt(X,Ce,Ce)}function bt(X,Ce,gt){return void 0===X?gt:X<0?Math.max(0,Ce+X):void 0===Ce?X:Math.min(Ce,X)}var Ct=0,Qt=1,ht=2,en="function"==typeof Symbol&&Symbol.iterator,nn="@@iterator",bn=en||nn;function Dn(X){this.next=X}function Rt(X,Ce,gt,Ke){var Gt=0===X?Ce:1===X?gt:[Ce,gt];return Ke?Ke.value=Gt:Ke={value:Gt,done:!1},Ke}function Xt(){return{value:void 0,done:!0}}function un(X){return!!ri(X)}function _n(X){return X&&"function"==typeof X.next}function kn(X){var Ce=ri(X);return Ce&&Ce.call(X)}function ri(X){var Ce=X&&(en&&X[en]||X[nn]);if("function"==typeof Ce)return Ce}function Ir(X){return X&&"number"==typeof X.length}function wr(X){return null==X?Fi():e(X)?X.toSeq():function Xr(X){var Ce=Ni(X)||"object"==typeof X&&new sn(X);if(!Ce)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+X);return Ce}(X)}function _r(X){return null==X?Fi().toKeyedSeq():e(X)?f(X)?X.toSeq():X.fromEntrySeq():so(X)}function oi(X){return null==X?Fi():e(X)?f(X)?X.entrySeq():X.toIndexedSeq():Vo(X)}function Ri(X){return(null==X?Fi():e(X)?f(X)?X.entrySeq():X:Vo(X)).toSetSeq()}Dn.prototype.toString=function(){return"[Iterator]"},Dn.KEYS=Ct,Dn.VALUES=Qt,Dn.ENTRIES=ht,Dn.prototype.inspect=Dn.prototype.toSource=function(){return this.toString()},Dn.prototype[bn]=function(){return this},o(wr,r),wr.of=function(){return wr(arguments)},wr.prototype.toSeq=function(){return this},wr.prototype.toString=function(){return this.__toString("Seq {","}")},wr.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},wr.prototype.__iterate=function(X,Ce){return ji(this,X,Ce,!0)},wr.prototype.__iterator=function(X,Ce){return jr(this,X,Ce,!0)},o(_r,wr),_r.prototype.toKeyedSeq=function(){return this},o(oi,wr),oi.of=function(){return oi(arguments)},oi.prototype.toIndexedSeq=function(){return this},oi.prototype.toString=function(){return this.__toString("Seq [","]")},oi.prototype.__iterate=function(X,Ce){return ji(this,X,Ce,!1)},oi.prototype.__iterator=function(X,Ce){return jr(this,X,Ce,!1)},o(Ri,wr),Ri.of=function(){return Ri(arguments)},Ri.prototype.toSetSeq=function(){return this},wr.isSeq=rr,wr.Keyed=_r,wr.Set=Ri,wr.Indexed=oi;var Lr,Nn,Ie,Tr="@@__IMMUTABLE_SEQ__@@";function ft(X){this._array=X,this.size=X.length}function sn(X){var Ce=Object.keys(X);this._object=X,this._keys=Ce,this.size=Ce.length}function At(X){this._iterable=X,this.size=X.length||X.size}function Ln(X){this._iterator=X,this._iteratorCache=[]}function rr(X){return!(!X||!X[Tr])}function Fi(){return Lr||(Lr=new ft([]))}function so(X){var Ce=Array.isArray(X)?new ft(X).fromEntrySeq():_n(X)?new Ln(X).fromEntrySeq():un(X)?new At(X).fromEntrySeq():"object"==typeof X?new sn(X):void 0;if(!Ce)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+X);return Ce}function Vo(X){var Ce=Ni(X);if(!Ce)throw new TypeError("Expected Array or iterable object of values: "+X);return Ce}function Ni(X){return Ir(X)?new ft(X):_n(X)?new Ln(X):un(X)?new At(X):void 0}function ji(X,Ce,gt,Ke){var Gt=X._cache;if(Gt){for(var xn=Gt.length-1,lr=0;lr<=xn;lr++){var Fr=Gt[gt?xn-lr:lr];if(!1===Ce(Fr[1],Ke?Fr[0]:lr,X))return lr+1}return lr}return X.__iterateUncached(Ce,gt)}function jr(X,Ce,gt,Ke){var Gt=X._cache;if(Gt){var xn=Gt.length-1,lr=0;return new Dn(function(){var Fr=Gt[gt?xn-lr:lr];return lr++>xn?{value:void 0,done:!0}:Rt(Ce,Ke?Fr[0]:lr-1,Fr[1])})}return X.__iteratorUncached(Ce,gt)}function Pr(X,Ce){return Ce?Bo(Ce,X,"",{"":X}):cs(X)}function Bo(X,Ce,gt,Ke){return Array.isArray(Ce)?X.call(Ke,gt,oi(Ce).map(function(Gt,xn){return Bo(X,Gt,xn,Ce)})):ts(Ce)?X.call(Ke,gt,_r(Ce).map(function(Gt,xn){return Bo(X,Gt,xn,Ce)})):Ce}function cs(X){return Array.isArray(X)?oi(X).map(cs).toList():ts(X)?_r(X).map(cs).toMap():X}function ts(X){return X&&(X.constructor===Object||void 0===X.constructor)}function io(X,Ce){if(X===Ce||X!=X&&Ce!=Ce)return!0;if(!X||!Ce)return!1;if("function"==typeof X.valueOf&&"function"==typeof Ce.valueOf){if((X=X.valueOf())===(Ce=Ce.valueOf())||X!=X&&Ce!=Ce)return!0;if(!X||!Ce)return!1}return!("function"!=typeof X.equals||"function"!=typeof Ce.equals||!X.equals(Ce))}function Vi(X,Ce){if(X===Ce)return!0;if(!e(Ce)||void 0!==X.size&&void 0!==Ce.size&&X.size!==Ce.size||void 0!==X.__hash&&void 0!==Ce.__hash&&X.__hash!==Ce.__hash||f(X)!==f(Ce)||h(X)!==h(Ce)||T(X)!==T(Ce))return!1;if(0===X.size&&0===Ce.size)return!0;var gt=!E(X);if(T(X)){var Ke=X.entries();return Ce.every(function(Oi,ai){var Dr=Ke.next().value;return Dr&&io(Dr[1],Oi)&&(gt||io(Dr[0],ai))})&&Ke.next().done}var Gt=!1;if(void 0===X.size)if(void 0===Ce.size)"function"==typeof X.cacheResult&&X.cacheResult();else{Gt=!0;var xn=X;X=Ce,Ce=xn}var lr=!0,Fr=Ce.__iterate(function(Oi,ai){if(gt?!X.has(Oi):Gt?!io(Oi,X.get(ai,pe)):!io(X.get(ai,pe),Oi))return lr=!1,!1});return lr&&X.size===Fr}function Pn(X,Ce){if(!(this instanceof Pn))return new Pn(X,Ce);if(this._value=X,this.size=void 0===Ce?1/0:Math.max(0,Ce),0===this.size){if(Nn)return Nn;Nn=this}}function Ut(X,Ce){if(!X)throw new Error(Ce)}function ke(X,Ce,gt){if(!(this instanceof ke))return new ke(X,Ce,gt);if(Ut(0!==gt,"Cannot step a Range by 0"),X=X||0,void 0===Ce&&(Ce=1/0),gt=void 0===gt?1:Math.abs(gt),Ce<X&&(gt=-gt),this._start=X,this._end=Ce,this._step=gt,this.size=Math.max(0,Math.ceil((Ce-X)/gt-1)+1),0===this.size){if(Ie)return Ie;Ie=this}}function Qe(){throw TypeError("Abstract")}function Ve(){}function tn(){}function ot(){}wr.prototype[Tr]=!0,o(ft,oi),ft.prototype.get=function(X,Ce){return this.has(X)?this._array[yt(this,X)]:Ce},ft.prototype.__iterate=function(X,Ce){for(var gt=this._array,Ke=gt.length-1,Gt=0;Gt<=Ke;Gt++)if(!1===X(gt[Ce?Ke-Gt:Gt],Gt,this))return Gt+1;return Gt},ft.prototype.__iterator=function(X,Ce){var gt=this._array,Ke=gt.length-1,Gt=0;return new Dn(function(){return Gt>Ke?{value:void 0,done:!0}:Rt(X,Gt,gt[Ce?Ke-Gt++:Gt++])})},o(sn,_r),sn.prototype.get=function(X,Ce){return void 0===Ce||this.has(X)?this._object[X]:Ce},sn.prototype.has=function(X){return this._object.hasOwnProperty(X)},sn.prototype.__iterate=function(X,Ce){for(var gt=this._object,Ke=this._keys,Gt=Ke.length-1,xn=0;xn<=Gt;xn++){var lr=Ke[Ce?Gt-xn:xn];if(!1===X(gt[lr],lr,this))return xn+1}return xn},sn.prototype.__iterator=function(X,Ce){var gt=this._object,Ke=this._keys,Gt=Ke.length-1,xn=0;return new Dn(function(){var lr=Ke[Ce?Gt-xn:xn];return xn++>Gt?{value:void 0,done:!0}:Rt(X,lr,gt[lr])})},sn.prototype[Q]=!0,o(At,oi),At.prototype.__iterateUncached=function(X,Ce){if(Ce)return this.cacheResult().__iterate(X,Ce);var Ke=kn(this._iterable),Gt=0;if(_n(Ke))for(var xn;!(xn=Ke.next()).done&&!1!==X(xn.value,Gt++,this););return Gt},At.prototype.__iteratorUncached=function(X,Ce){if(Ce)return this.cacheResult().__iterator(X,Ce);var Ke=kn(this._iterable);if(!_n(Ke))return new Dn(Xt);var Gt=0;return new Dn(function(){var xn=Ke.next();return xn.done?xn:Rt(X,Gt++,xn.value)})},o(Ln,oi),Ln.prototype.__iterateUncached=function(X,Ce){if(Ce)return this.cacheResult().__iterate(X,Ce);for(var gt=this._iterator,Ke=this._iteratorCache,Gt=0;Gt<Ke.length;)if(!1===X(Ke[Gt],Gt++,this))return Gt;for(var xn;!(xn=gt.next()).done;){var lr=xn.value;if(Ke[Gt]=lr,!1===X(lr,Gt++,this))break}return Gt},Ln.prototype.__iteratorUncached=function(X,Ce){if(Ce)return this.cacheResult().__iterator(X,Ce);var gt=this._iterator,Ke=this._iteratorCache,Gt=0;return new Dn(function(){if(Gt>=Ke.length){var xn=gt.next();if(xn.done)return xn;Ke[Gt]=xn.value}return Rt(X,Gt,Ke[Gt++])})},o(Pn,oi),Pn.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Pn.prototype.get=function(X,Ce){return this.has(X)?this._value:Ce},Pn.prototype.includes=function(X){return io(this._value,X)},Pn.prototype.slice=function(X,Ce){var gt=this.size;return tt(X,Ce,gt)?this:new Pn(this._value,ze(Ce,gt)-Et(X,gt))},Pn.prototype.reverse=function(){return this},Pn.prototype.indexOf=function(X){return io(this._value,X)?0:-1},Pn.prototype.lastIndexOf=function(X){return io(this._value,X)?this.size:-1},Pn.prototype.__iterate=function(X,Ce){for(var gt=0;gt<this.size;gt++)if(!1===X(this._value,gt,this))return gt+1;return gt},Pn.prototype.__iterator=function(X,Ce){var gt=this,Ke=0;return new Dn(function(){return Ke<gt.size?Rt(X,Ke++,gt._value):{value:void 0,done:!0}})},Pn.prototype.equals=function(X){return X instanceof Pn?io(this._value,X._value):Vi(X)},o(ke,oi),ke.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},ke.prototype.get=function(X,Ce){return this.has(X)?this._start+yt(this,X)*this._step:Ce},ke.prototype.includes=function(X){var Ce=(X-this._start)/this._step;return Ce>=0&&Ce<this.size&&Ce===Math.floor(Ce)},ke.prototype.slice=function(X,Ce){return tt(X,Ce,this.size)?this:(X=Et(X,this.size),(Ce=ze(Ce,this.size))<=X?new ke(0,0):new ke(this.get(X,this._end),this.get(Ce,this._end),this._step))},ke.prototype.indexOf=function(X){var Ce=X-this._start;if(Ce%this._step==0){var gt=Ce/this._step;if(gt>=0&&gt<this.size)return gt}return-1},ke.prototype.lastIndexOf=function(X){return this.indexOf(X)},ke.prototype.__iterate=function(X,Ce){for(var gt=this.size-1,Ke=this._step,Gt=Ce?this._start+gt*Ke:this._start,xn=0;xn<=gt;xn++){if(!1===X(Gt,xn,this))return xn+1;Gt+=Ce?-Ke:Ke}return xn},ke.prototype.__iterator=function(X,Ce){var gt=this.size-1,Ke=this._step,Gt=Ce?this._start+gt*Ke:this._start,xn=0;return new Dn(function(){var lr=Gt;return Gt+=Ce?-Ke:Ke,xn>gt?{value:void 0,done:!0}:Rt(X,xn++,lr)})},ke.prototype.equals=function(X){return X instanceof ke?this._start===X._start&&this._end===X._end&&this._step===X._step:Vi(this,X)},o(Qe,r),o(Ve,Qe),o(tn,Qe),o(ot,Qe),Qe.Keyed=Ve,Qe.Indexed=tn,Qe.Set=ot;var xt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(Ce,gt){var Ke=65535&(Ce|=0),Gt=65535&(gt|=0);return Ke*Gt+((Ce>>>16)*Gt+Ke*(gt>>>16)<<16>>>0)|0};function qt(X){return X>>>1&1073741824|3221225471&X}function tr(X){if(!1===X||null==X||"function"==typeof X.valueOf&&(!1===(X=X.valueOf())||null==X))return 0;if(!0===X)return 1;var Ce=typeof X;if("number"===Ce){if(X!=X||X===1/0)return 0;var gt=0|X;for(gt!==X&&(gt^=4294967295*X);X>4294967295;)gt^=X/=4294967295;return qt(gt)}if("string"===Ce)return X.length>st?function vr(X){var Ce=Kr[X];return void 0===Ce&&(Ce=An(X),er===zt&&(er=0,Kr={}),er++,Kr[X]=Ce),Ce}(X):An(X);if("function"==typeof X.hashCode)return X.hashCode();if("object"===Ce)return function yr(X){var Ce;if(dr&&void 0!==(Ce=Wn.get(X))||void 0!==(Ce=X[kt])||!nr&&(void 0!==(Ce=X.propertyIsEnumerable&&X.propertyIsEnumerable[kt])||void 0!==(Ce=function Qn(X){if(X&&X.nodeType>0)switch(X.nodeType){case 1:return X.uniqueID;case 9:return X.documentElement&&X.documentElement.uniqueID}}(X))))return Ce;if(Ce=++Wt,1073741824&Wt&&(Wt=0),dr)Wn.set(X,Ce);else{if(void 0!==Nr&&!1===Nr(X))throw new Error("Non-extensible objects are not allowed as keys.");if(nr)Object.defineProperty(X,kt,{enumerable:!1,configurable:!1,writable:!1,value:Ce});else if(void 0!==X.propertyIsEnumerable&&X.propertyIsEnumerable===X.constructor.prototype.propertyIsEnumerable)X.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},X.propertyIsEnumerable[kt]=Ce;else{if(void 0===X.nodeType)throw new Error("Unable to set a non-enumerable property on object.");X[kt]=Ce}}return Ce}(X);if("function"==typeof X.toString)return An(X.toString());throw new Error("Value type "+Ce+" cannot be hashed.")}function An(X){for(var Ce=0,gt=0;gt<X.length;gt++)Ce=31*Ce+X.charCodeAt(gt)|0;return qt(Ce)}var Nr=Object.isExtensible,nr=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();var Wn,dr="function"==typeof WeakMap;dr&&(Wn=new WeakMap);var Wt=0,kt="__immutablehash__";"function"==typeof Symbol&&(kt=Symbol(kt));var st=16,zt=255,er=0,Kr={};function mi(X){Ut(X!==1/0,"Cannot perform this action with an infinite size.")}function gi(X){return null==X?$r():Jo(X)&&!T(X)?X:$r().withMutations(function(Ce){var gt=a(X);mi(gt.size),gt.forEach(function(Ke,Gt){return Ce.set(Gt,Ke)})})}function Jo(X){return!(!X||!X[os])}o(gi,Ve),gi.of=function(){var X=b.call(arguments,0);return $r().withMutations(function(Ce){for(var gt=0;gt<X.length;gt+=2){if(gt+1>=X.length)throw new Error("Missing value for key: "+X[gt]);Ce.set(X[gt],X[gt+1])}})},gi.prototype.toString=function(){return this.__toString("Map {","}")},gi.prototype.get=function(X,Ce){return this._root?this._root.get(0,void 0,X,Ce):Ce},gi.prototype.set=function(X,Ce){return Cn(this,X,Ce)},gi.prototype.setIn=function(X,Ce){return this.updateIn(X,pe,function(){return Ce})},gi.prototype.remove=function(X){return Cn(this,X,pe)},gi.prototype.deleteIn=function(X){return this.updateIn(X,function(){return pe})},gi.prototype.update=function(X,Ce,gt){return 1===arguments.length?X(this):this.updateIn([X],Ce,gt)},gi.prototype.updateIn=function(X,Ce,gt){gt||(gt=Ce,Ce=void 0);var Ke=ra(this,Mc(X),Ce,gt);return Ke===pe?void 0:Ke},gi.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):$r()},gi.prototype.merge=function(){return ko(this,void 0,arguments)},gi.prototype.mergeWith=function(X){return ko(this,X,b.call(arguments,1))},gi.prototype.mergeIn=function(X){var Ce=b.call(arguments,1);return this.updateIn(X,$r(),function(gt){return"function"==typeof gt.merge?gt.merge.apply(gt,Ce):Ce[Ce.length-1]})},gi.prototype.mergeDeep=function(){return ko(this,$s,arguments)},gi.prototype.mergeDeepWith=function(X){var Ce=b.call(arguments,1);return ko(this,ps(X),Ce)},gi.prototype.mergeDeepIn=function(X){var Ce=b.call(arguments,1);return this.updateIn(X,$r(),function(gt){return"function"==typeof gt.mergeDeep?gt.mergeDeep.apply(gt,Ce):Ce[Ce.length-1]})},gi.prototype.sort=function(X){return ae(dl(this,X))},gi.prototype.sortBy=function(X,Ce){return ae(dl(this,Ce,X))},gi.prototype.withMutations=function(X){var Ce=this.asMutable();return X(Ce),Ce.wasAltered()?Ce.__ensureOwner(this.__ownerID):this},gi.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new Oe)},gi.prototype.asImmutable=function(){return this.__ensureOwner()},gi.prototype.wasAltered=function(){return this.__altered},gi.prototype.__iterator=function(X,Ce){return new Wi(this,X,Ce)},gi.prototype.__iterate=function(X,Ce){var gt=this,Ke=0;return this._root&&this._root.iterate(function(Gt){return Ke++,X(Gt[1],Gt[0],gt)},Ce),Ke},gi.prototype.__ensureOwner=function(X){return X===this.__ownerID?this:X?Ls(this.size,this._root,X,this.__hash):(this.__ownerID=X,this.__altered=!1,this)},gi.isMap=Jo;var qr,os="@@__IMMUTABLE_MAP__@@",hr=gi.prototype;function Ii(X,Ce){this.ownerID=X,this.entries=Ce}function ni(X,Ce,gt){this.ownerID=X,this.bitmap=Ce,this.nodes=gt}function Vr(X,Ce,gt){this.ownerID=X,this.count=Ce,this.nodes=gt}function wi(X,Ce,gt){this.ownerID=X,this.keyHash=Ce,this.entries=gt}function Gi(X,Ce,gt){this.ownerID=X,this.keyHash=Ce,this.entry=gt}function Wi(X,Ce,gt){this._type=Ce,this._reverse=gt,this._stack=X._root&&As(X._root)}function Mo(X,Ce){return Rt(X,Ce[0],Ce[1])}function As(X,Ce){return{node:X,index:0,__prev:Ce}}function Ls(X,Ce,gt,Ke){var Gt=Object.create(hr);return Gt.size=X,Gt._root=Ce,Gt.__ownerID=gt,Gt.__hash=Ke,Gt.__altered=!1,Gt}function $r(){return qr||(qr=Ls(0))}function Cn(X,Ce,gt){var Ke,Gt;if(X._root){var xn=ie(j),lr=ie(ue);if(Ke=mn(X._root,X.__ownerID,0,void 0,Ce,gt,xn,lr),!lr.value)return X;Gt=X.size+(xn.value?gt===pe?-1:1:0)}else{if(gt===pe)return X;Gt=1,Ke=new Ii(X.__ownerID,[[Ce,gt]])}return X.__ownerID?(X.size=Gt,X._root=Ke,X.__hash=void 0,X.__altered=!0,X):Ke?Ls(Gt,Ke):$r()}function mn(X,Ce,gt,Ke,Gt,xn,lr,Fr){return X?X.update(Ce,gt,Ke,Gt,xn,lr,Fr):xn===pe?X:(me(Fr),me(lr),new Gi(Ce,Ke,[Gt,xn]))}function kr(X){return X.constructor===Gi||X.constructor===wi}function Qi(X,Ce,gt,Ke,Gt){if(X.keyHash===Ke)return new wi(Ce,Ke,[X.entry,Gt]);var Fr,xn=(0===gt?X.keyHash:X.keyHash>>>gt)&J,lr=(0===gt?Ke:Ke>>>gt)&J;return new ni(Ce,1<<xn|1<<lr,xn===lr?[Qi(X,Ce,gt+q,Ke,Gt)]:(Fr=new Gi(Ce,Ke,Gt),xn<lr?[X,Fr]:[Fr,X]))}function ko(X,Ce,gt){for(var Ke=[],Gt=0;Gt<gt.length;Gt++){var xn=gt[Gt],lr=a(xn);e(xn)||(lr=lr.map(function(Fr){return Pr(Fr)})),Ke.push(lr)}return Ys(X,Ce,Ke)}function $s(X,Ce,gt){return X&&X.mergeDeep&&e(Ce)?X.mergeDeep(Ce):io(X,Ce)?X:Ce}function ps(X){return function(Ce,gt,Ke){if(Ce&&Ce.mergeDeepWith&&e(gt))return Ce.mergeDeepWith(X,gt);var Gt=X(Ce,gt,Ke);return io(Ce,Gt)?Ce:Gt}}function Ys(X,Ce,gt){return 0===(gt=gt.filter(function(Ke){return 0!==Ke.size})).length?X:0!==X.size||X.__ownerID||1!==gt.length?X.withMutations(function(Ke){for(var Gt=Ce?function(lr,Fr){Ke.update(Fr,pe,function(Oi){return Oi===pe?lr:Ce(Oi,lr,Fr)})}:function(lr,Fr){Ke.set(Fr,lr)},xn=0;xn<gt.length;xn++)gt[xn].forEach(Gt)}):X.constructor(gt[0])}function ra(X,Ce,gt,Ke){var Gt=X===pe,xn=Ce.next();if(xn.done){var lr=Gt?gt:X,Fr=Ke(lr);return Fr===lr?X:Fr}Ut(Gt||X&&X.set,"invalid keyPath");var Oi=xn.value,ai=Gt?pe:X.get(Oi,pe),Dr=ra(ai,Ce,gt,Ke);return Dr===ai?X:Dr===pe?X.remove(Oi):(Gt?$r():X).set(Oi,Dr)}function Do(X){return X=(X=(858993459&(X-=X>>1&1431655765))+(X>>2&858993459))+(X>>4)&252645135,127&(X+=X>>8)+(X>>16)}function oc(X,Ce,gt,Ke){var Gt=Ke?X:Ue(X);return Gt[Ce]=gt,Gt}hr[os]=!0,hr[U]=hr.remove,hr.removeIn=hr.deleteIn,Ii.prototype.get=function(X,Ce,gt,Ke){for(var Gt=this.entries,xn=0,lr=Gt.length;xn<lr;xn++)if(io(gt,Gt[xn][0]))return Gt[xn][1];return Ke},Ii.prototype.update=function(X,Ce,gt,Ke,Gt,xn,lr){for(var Fr=Gt===pe,Oi=this.entries,ai=0,Dr=Oi.length;ai<Dr&&!io(Ke,Oi[ai][0]);ai++);var ei=ai<Dr;if(ei?Oi[ai][1]===Gt:Fr)return this;if(me(lr),(Fr||!ei)&&me(xn),!Fr||1!==Oi.length){if(!ei&&!Fr&&Oi.length>=Da)return function xo(X,Ce,gt,Ke){X||(X=new Oe);for(var Gt=new Gi(X,tr(gt),[gt,Ke]),xn=0;xn<Ce.length;xn++){var lr=Ce[xn];Gt=Gt.update(X,0,void 0,lr[0],lr[1])}return Gt}(X,Oi,Ke,Gt);var Yo=X&&X===this.ownerID,Kn=Yo?Oi:Ue(Oi);return ei?Fr?ai===Dr-1?Kn.pop():Kn[ai]=Kn.pop():Kn[ai]=[Ke,Gt]:Kn.push([Ke,Gt]),Yo?(this.entries=Kn,this):new Ii(X,Kn)}},ni.prototype.get=function(X,Ce,gt,Ke){void 0===Ce&&(Ce=tr(gt));var Gt=1<<((0===X?Ce:Ce>>>X)&J),xn=this.bitmap;return xn&Gt?this.nodes[Do(xn&Gt-1)].get(X+q,Ce,gt,Ke):Ke},ni.prototype.update=function(X,Ce,gt,Ke,Gt,xn,lr){void 0===gt&&(gt=tr(Ke));var Fr=(0===Ce?gt:gt>>>Ce)&J,Oi=1<<Fr,ai=this.bitmap,Dr=0!=(ai&Oi);if(!Dr&&Gt===pe)return this;var ei=Do(ai&Oi-1),Yo=this.nodes,Kn=Dr?Yo[ei]:void 0,zr=mn(Kn,X,Ce+q,gt,Ke,Gt,xn,lr);if(zr===Kn)return this;if(!Dr&&zr&&Yo.length>=Ga)return function bs(X,Ce,gt,Ke,Gt){for(var xn=0,lr=new Array(L),Fr=0;0!==gt;Fr++,gt>>>=1)lr[Fr]=1&gt?Ce[xn++]:void 0;return lr[Ke]=Gt,new Vr(X,xn+1,lr)}(X,Yo,ai,Fr,zr);if(Dr&&!zr&&2===Yo.length&&kr(Yo[1^ei]))return Yo[1^ei];if(Dr&&zr&&1===Yo.length&&kr(zr))return zr;var Gr=X&&X===this.ownerID,ce=Dr?zr?ai:ai^Oi:ai|Oi,Le=Dr?zr?oc(Yo,ei,zr,Gr):function tl(X,Ce,gt){var Ke=X.length-1;if(gt&&Ce===Ke)return X.pop(),X;for(var Gt=new Array(Ke),xn=0,lr=0;lr<Ke;lr++)lr===Ce&&(xn=1),Gt[lr]=X[lr+xn];return Gt}(Yo,ei,Gr):function Ql(X,Ce,gt,Ke){var Gt=X.length+1;if(Ke&&Ce+1===Gt)return X[Ce]=gt,X;for(var xn=new Array(Gt),lr=0,Fr=0;Fr<Gt;Fr++)Fr===Ce?(xn[Fr]=gt,lr=-1):xn[Fr]=X[Fr+lr];return xn}(Yo,ei,zr,Gr);return Gr?(this.bitmap=ce,this.nodes=Le,this):new ni(X,ce,Le)},Vr.prototype.get=function(X,Ce,gt,Ke){void 0===Ce&&(Ce=tr(gt));var xn=this.nodes[(0===X?Ce:Ce>>>X)&J];return xn?xn.get(X+q,Ce,gt,Ke):Ke},Vr.prototype.update=function(X,Ce,gt,Ke,Gt,xn,lr){void 0===gt&&(gt=tr(Ke));var Fr=(0===Ce?gt:gt>>>Ce)&J,ai=this.nodes,Dr=ai[Fr];if(Gt===pe&&!Dr)return this;var ei=mn(Dr,X,Ce+q,gt,Ke,Gt,xn,lr);if(ei===Dr)return this;var Yo=this.count;if(Dr){if(!ei&&--Yo<Pl)return function Ss(X,Ce,gt,Ke){for(var Gt=0,xn=0,lr=new Array(gt),Fr=0,Oi=1,ai=Ce.length;Fr<ai;Fr++,Oi<<=1){var Dr=Ce[Fr];void 0!==Dr&&Fr!==Ke&&(Gt|=Oi,lr[xn++]=Dr)}return new ni(X,Gt,lr)}(X,ai,Yo,Fr)}else Yo++;var Kn=X&&X===this.ownerID,zr=oc(ai,Fr,ei,Kn);return Kn?(this.count=Yo,this.nodes=zr,this):new Vr(X,Yo,zr)},wi.prototype.get=function(X,Ce,gt,Ke){for(var Gt=this.entries,xn=0,lr=Gt.length;xn<lr;xn++)if(io(gt,Gt[xn][0]))return Gt[xn][1];return Ke},wi.prototype.update=function(X,Ce,gt,Ke,Gt,xn,lr){void 0===gt&&(gt=tr(Ke));var Fr=Gt===pe;if(gt!==this.keyHash)return Fr?this:(me(lr),me(xn),Qi(this,X,Ce,gt,[Ke,Gt]));for(var Oi=this.entries,ai=0,Dr=Oi.length;ai<Dr&&!io(Ke,Oi[ai][0]);ai++);var ei=ai<Dr;if(ei?Oi[ai][1]===Gt:Fr)return this;if(me(lr),(Fr||!ei)&&me(xn),Fr&&2===Dr)return new Gi(X,this.keyHash,Oi[1^ai]);var Yo=X&&X===this.ownerID,Kn=Yo?Oi:Ue(Oi);return ei?Fr?ai===Dr-1?Kn.pop():Kn[ai]=Kn.pop():Kn[ai]=[Ke,Gt]:Kn.push([Ke,Gt]),Yo?(this.entries=Kn,this):new wi(X,this.keyHash,Kn)},Gi.prototype.get=function(X,Ce,gt,Ke){return io(gt,this.entry[0])?this.entry[1]:Ke},Gi.prototype.update=function(X,Ce,gt,Ke,Gt,xn,lr){var Fr=Gt===pe,Oi=io(Ke,this.entry[0]);return(Oi?Gt===this.entry[1]:Fr)?this:(me(lr),Fr?void me(xn):Oi?X&&X===this.ownerID?(this.entry[1]=Gt,this):new Gi(X,this.keyHash,[Ke,Gt]):(me(xn),Qi(this,X,Ce,tr(Ke),[Ke,Gt])))},Ii.prototype.iterate=wi.prototype.iterate=function(X,Ce){for(var gt=this.entries,Ke=0,Gt=gt.length-1;Ke<=Gt;Ke++)if(!1===X(gt[Ce?Gt-Ke:Ke]))return!1},ni.prototype.iterate=Vr.prototype.iterate=function(X,Ce){for(var gt=this.nodes,Ke=0,Gt=gt.length-1;Ke<=Gt;Ke++){var xn=gt[Ce?Gt-Ke:Ke];if(xn&&!1===xn.iterate(X,Ce))return!1}},Gi.prototype.iterate=function(X,Ce){return X(this.entry)},o(Wi,Dn),Wi.prototype.next=function(){for(var X=this._type,Ce=this._stack;Ce;){var Gt,gt=Ce.node,Ke=Ce.index++;if(gt.entry){if(0===Ke)return Mo(X,gt.entry)}else if(gt.entries){if(Ke<=(Gt=gt.entries.length-1))return Mo(X,gt.entries[this._reverse?Gt-Ke:Ke])}else if(Ke<=(Gt=gt.nodes.length-1)){var xn=gt.nodes[this._reverse?Gt-Ke:Ke];if(xn){if(xn.entry)return Mo(X,xn.entry);Ce=this._stack=As(xn,Ce)}continue}Ce=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var Da=L/4,Ga=L/2,Pl=L/4;function Eo(X){var Ce=Go();if(null==X)return Ce;if(Ra(X))return X;var gt=u(X),Ke=gt.size;return 0===Ke?Ce:(mi(Ke),Ke>0&&Ke<L?ma(0,Ke,q,null,new Ks(gt.toArray())):Ce.withMutations(function(Gt){Gt.setSize(Ke),gt.forEach(function(xn,lr){return Gt.set(lr,xn)})}))}function Ra(X){return!(!X||!X[Fo])}o(Eo,tn),Eo.of=function(){return this(arguments)},Eo.prototype.toString=function(){return this.__toString("List [","]")},Eo.prototype.get=function(X,Ce){if((X=yt(this,X))>=0&&X<this.size){var gt=Br(this,X+=this._origin);return gt&&gt.array[X&J]}return Ce},Eo.prototype.set=function(X,Ce){return function ys(X,Ce,gt){if((Ce=yt(X,Ce))!=Ce)return X;if(Ce>=X.size||Ce<0)return X.withMutations(function(lr){Ce<0?qi(lr,Ce).set(0,gt):qi(lr,0,Ce+1).set(Ce,gt)});Ce+=X._origin;var Ke=X._tail,Gt=X._root,xn=ie(ue);return Ce>=On(X._capacity)?Ke=rs(Ke,X.__ownerID,0,Ce,gt,xn):Gt=rs(Gt,X.__ownerID,X._level,Ce,gt,xn),xn.value?X.__ownerID?(X._root=Gt,X._tail=Ke,X.__hash=void 0,X.__altered=!0,X):ma(X._origin,X._capacity,X._level,Gt,Ke):X}(this,X,Ce)},Eo.prototype.remove=function(X){return this.has(X)?0===X?this.shift():X===this.size-1?this.pop():this.splice(X,1):this},Eo.prototype.insert=function(X,Ce){return this.splice(X,0,Ce)},Eo.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=q,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Go()},Eo.prototype.push=function(){var X=arguments,Ce=this.size;return this.withMutations(function(gt){qi(gt,0,Ce+X.length);for(var Ke=0;Ke<X.length;Ke++)gt.set(Ce+Ke,X[Ke])})},Eo.prototype.pop=function(){return qi(this,0,-1)},Eo.prototype.unshift=function(){var X=arguments;return this.withMutations(function(Ce){qi(Ce,-X.length);for(var gt=0;gt<X.length;gt++)Ce.set(gt,X[gt])})},Eo.prototype.shift=function(){return qi(this,1)},Eo.prototype.merge=function(){return _t(this,void 0,arguments)},Eo.prototype.mergeWith=function(X){return _t(this,X,b.call(arguments,1))},Eo.prototype.mergeDeep=function(){return _t(this,$s,arguments)},Eo.prototype.mergeDeepWith=function(X){var Ce=b.call(arguments,1);return _t(this,ps(X),Ce)},Eo.prototype.setSize=function(X){return qi(this,0,X)},Eo.prototype.slice=function(X,Ce){var gt=this.size;return tt(X,Ce,gt)?this:qi(this,Et(X,gt),ze(Ce,gt))},Eo.prototype.__iterator=function(X,Ce){var gt=0,Ke=ml(this,Ce);return new Dn(function(){var Gt=Ke();return Gt===nl?{value:void 0,done:!0}:Rt(X,gt++,Gt)})},Eo.prototype.__iterate=function(X,Ce){for(var Gt,gt=0,Ke=ml(this,Ce);(Gt=Ke())!==nl&&!1!==X(Gt,gt++,this););return gt},Eo.prototype.__ensureOwner=function(X){return X===this.__ownerID?this:X?ma(this._origin,this._capacity,this._level,this._root,this._tail,X,this.__hash):(this.__ownerID=X,this)},Eo.isList=Ra;var Fo="@@__IMMUTABLE_LIST__@@",Cs=Eo.prototype;function Ks(X,Ce){this.array=X,this.ownerID=Ce}Cs[Fo]=!0,Cs[U]=Cs.remove,Cs.setIn=hr.setIn,Cs.deleteIn=Cs.removeIn=hr.removeIn,Cs.update=hr.update,Cs.updateIn=hr.updateIn,Cs.mergeIn=hr.mergeIn,Cs.mergeDeepIn=hr.mergeDeepIn,Cs.withMutations=hr.withMutations,Cs.asMutable=hr.asMutable,Cs.asImmutable=hr.asImmutable,Cs.wasAltered=hr.wasAltered,Ks.prototype.removeBefore=function(X,Ce,gt){if(gt===Ce?1<<Ce:0===this.array.length)return this;var Ke=gt>>>Ce&J;if(Ke>=this.array.length)return new Ks([],X);var xn,Gt=0===Ke;if(Ce>0){var lr=this.array[Ke];if((xn=lr&&lr.removeBefore(X,Ce-q,gt))===lr&&Gt)return this}if(Gt&&!xn)return this;var Fr=Lo(this,X);if(!Gt)for(var Oi=0;Oi<Ke;Oi++)Fr.array[Oi]=void 0;return xn&&(Fr.array[Ke]=xn),Fr},Ks.prototype.removeAfter=function(X,Ce,gt){if(gt===(Ce?1<<Ce:0)||0===this.array.length)return this;var Gt,Ke=gt-1>>>Ce&J;if(Ke>=this.array.length)return this;if(Ce>0){var xn=this.array[Ke];if((Gt=xn&&xn.removeAfter(X,Ce-q,gt))===xn&&Ke===this.array.length-1)return this}var lr=Lo(this,X);return lr.array.splice(Ke+1),Gt&&(lr.array[Ke]=Gt),lr};var Qo,yn,nl={};function ml(X,Ce){var gt=X._origin,Ke=X._capacity,Gt=On(Ke),xn=X._tail;return lr(X._root,X._level,0);function lr(ai,Dr,ei){return 0===Dr?function Fr(ai,Dr){var ei=Dr===Gt?xn&&xn.array:ai&&ai.array,Yo=Dr>gt?0:gt-Dr,Kn=Ke-Dr;return Kn>L&&(Kn=L),function(){if(Yo===Kn)return nl;var zr=Ce?--Kn:Yo++;return ei&&ei[zr]}}(ai,ei):function Oi(ai,Dr,ei){var Yo,Kn=ai&&ai.array,zr=ei>gt?0:gt-ei>>Dr,Gr=1+(Ke-ei>>Dr);return Gr>L&&(Gr=L),function(){for(;;){if(Yo){var ce=Yo();if(ce!==nl)return ce;Yo=null}if(zr===Gr)return nl;var Le=Ce?--Gr:zr++;Yo=lr(Kn&&Kn[Le],Dr-q,ei+(Le<<Dr))}}}(ai,Dr,ei)}}function ma(X,Ce,gt,Ke,Gt,xn,lr){var Fr=Object.create(Cs);return Fr.size=Ce-X,Fr._origin=X,Fr._capacity=Ce,Fr._level=gt,Fr._root=Ke,Fr._tail=Gt,Fr.__ownerID=xn,Fr.__hash=lr,Fr.__altered=!1,Fr}function Go(){return Qo||(Qo=ma(0,0,q))}function rs(X,Ce,gt,Ke,Gt,xn){var Oi,lr=Ke>>>gt&J,Fr=X&&lr<X.array.length;if(!Fr&&void 0===Gt)return X;if(gt>0){var ai=X&&X.array[lr],Dr=rs(ai,Ce,gt-q,Ke,Gt,xn);return Dr===ai?X:((Oi=Lo(X,Ce)).array[lr]=Dr,Oi)}return Fr&&X.array[lr]===Gt?X:(me(xn),Oi=Lo(X,Ce),void 0===Gt&&lr===Oi.array.length-1?Oi.array.pop():Oi.array[lr]=Gt,Oi)}function Lo(X,Ce){return Ce&&X&&Ce===X.ownerID?X:new Ks(X?X.array.slice():[],Ce)}function Br(X,Ce){if(Ce>=On(X._capacity))return X._tail;if(Ce<1<<X._level+q){for(var gt=X._root,Ke=X._level;gt&&Ke>0;)gt=gt.array[Ce>>>Ke&J],Ke-=q;return gt}}function qi(X,Ce,gt){void 0!==Ce&&(Ce|=0),void 0!==gt&&(gt|=0);var Ke=X.__ownerID||new Oe,Gt=X._origin,xn=X._capacity,lr=Gt+Ce,Fr=void 0===gt?xn:gt<0?xn+gt:Gt+gt;if(lr===Gt&&Fr===xn)return X;if(lr>=Fr)return X.clear();for(var Oi=X._level,ai=X._root,Dr=0;lr+Dr<0;)ai=new Ks(ai&&ai.array.length?[void 0,ai]:[],Ke),Dr+=1<<(Oi+=q);Dr&&(lr+=Dr,Gt+=Dr,Fr+=Dr,xn+=Dr);for(var ei=On(xn),Yo=On(Fr);Yo>=1<<Oi+q;)ai=new Ks(ai&&ai.array.length?[ai]:[],Ke),Oi+=q;var Kn=X._tail,zr=Yo<ei?Br(X,Fr-1):Yo>ei?new Ks([],Ke):Kn;if(Kn&&Yo>ei&&lr<xn&&Kn.array.length){for(var Gr=ai=Lo(ai,Ke),ce=Oi;ce>q;ce-=q){var Le=ei>>>ce&J;Gr=Gr.array[Le]=Lo(Gr.array[Le],Ke)}Gr.array[ei>>>q&J]=Kn}if(Fr<xn&&(zr=zr&&zr.removeAfter(Ke,0,Fr)),lr>=Yo)lr-=Yo,Fr-=Yo,Oi=q,ai=null,zr=zr&&zr.removeBefore(Ke,0,lr);else if(lr>Gt||Yo<ei){for(Dr=0;ai;){var Be=lr>>>Oi&J;if(Be!==Yo>>>Oi&J)break;Be&&(Dr+=(1<<Oi)*Be),Oi-=q,ai=ai.array[Be]}ai&&lr>Gt&&(ai=ai.removeBefore(Ke,Oi,lr-Dr)),ai&&Yo<ei&&(ai=ai.removeAfter(Ke,Oi,Yo-Dr)),Dr&&(lr-=Dr,Fr-=Dr)}return X.__ownerID?(X.size=Fr-lr,X._origin=lr,X._capacity=Fr,X._level=Oi,X._root=ai,X._tail=zr,X.__hash=void 0,X.__altered=!0,X):ma(lr,Fr,Oi,ai,zr)}function _t(X,Ce,gt){for(var Ke=[],Gt=0,xn=0;xn<gt.length;xn++){var lr=gt[xn],Fr=u(lr);Fr.size>Gt&&(Gt=Fr.size),e(lr)||(Fr=Fr.map(function(Oi){return Pr(Oi)})),Ke.push(Fr)}return Gt>X.size&&(X=X.setSize(Gt)),Ys(X,Ce,Ke)}function On(X){return X<L?0:X-1>>>q<<q}function ae(X){return null==X?Ei():We(X)?X:Ei().withMutations(function(Ce){var gt=a(X);mi(gt.size),gt.forEach(function(Ke,Gt){return Ce.set(Gt,Ke)})})}function We(X){return Jo(X)&&T(X)}function on(X,Ce,gt,Ke){var Gt=Object.create(ae.prototype);return Gt.size=X?X.size:0,Gt._map=X,Gt._list=Ce,Gt.__ownerID=gt,Gt.__hash=Ke,Gt}function Ei(){return yn||(yn=on($r(),Go()))}function Ui(X,Ce,gt){var Fr,Oi,Ke=X._map,Gt=X._list,xn=Ke.get(Ce),lr=void 0!==xn;if(gt===pe){if(!lr)return X;Gt.size>=L&&Gt.size>=2*Ke.size?(Fr=(Oi=Gt.filter(function(ai,Dr){return void 0!==ai&&xn!==Dr})).toKeyedSeq().map(function(ai){return ai[0]}).flip().toMap(),X.__ownerID&&(Fr.__ownerID=Oi.__ownerID=X.__ownerID)):(Fr=Ke.remove(Ce),Oi=xn===Gt.size-1?Gt.pop():Gt.set(xn,void 0))}else if(lr){if(gt===Gt.get(xn)[1])return X;Fr=Ke,Oi=Gt.set(xn,[Ce,gt])}else Fr=Ke.set(Ce,Gt.size),Oi=Gt.set(Gt.size,[Ce,gt]);return X.__ownerID?(X.size=Fr.size,X._map=Fr,X._list=Oi,X.__hash=void 0,X):on(Fr,Oi)}function eo(X,Ce){this._iter=X,this._useKeys=Ce,this.size=X.size}function js(X){this._iter=X,this.size=X.size}function hs(X){this._iter=X,this.size=X.size}function ia(X){this._iter=X,this.size=X.size}function ta(X){var Ce=gl(X);return Ce._iter=X,Ce.size=X.size,Ce.flip=function(){return X},Ce.reverse=function(){var gt=X.reverse.apply(this);return gt.flip=function(){return X.reverse()},gt},Ce.has=function(gt){return X.includes(gt)},Ce.includes=function(gt){return X.has(gt)},Ce.cacheResult=Cc,Ce.__iterateUncached=function(gt,Ke){var Gt=this;return X.__iterate(function(xn,lr){return!1!==gt(lr,xn,Gt)},Ke)},Ce.__iteratorUncached=function(gt,Ke){if(gt===ht){var Gt=X.__iterator(gt,Ke);return new Dn(function(){var xn=Gt.next();if(!xn.done){var lr=xn.value[0];xn.value[0]=xn.value[1],xn.value[1]=lr}return xn})}return X.__iterator(gt===Qt?Ct:Qt,Ke)},Ce}function Ul(X,Ce,gt){var Ke=gl(X);return Ke.size=X.size,Ke.has=function(Gt){return X.has(Gt)},Ke.get=function(Gt,xn){var lr=X.get(Gt,pe);return lr===pe?xn:Ce.call(gt,lr,Gt,X)},Ke.__iterateUncached=function(Gt,xn){var lr=this;return X.__iterate(function(Fr,Oi,ai){return!1!==Gt(Ce.call(gt,Fr,Oi,ai),Oi,lr)},xn)},Ke.__iteratorUncached=function(Gt,xn){var lr=X.__iterator(ht,xn);return new Dn(function(){var Fr=lr.next();if(Fr.done)return Fr;var Oi=Fr.value,ai=Oi[0];return Rt(Gt,ai,Ce.call(gt,Oi[1],ai,X),Fr)})},Ke}function Fl(X,Ce){var gt=gl(X);return gt._iter=X,gt.size=X.size,gt.reverse=function(){return X},X.flip&&(gt.flip=function(){var Ke=ta(X);return Ke.reverse=function(){return X.flip()},Ke}),gt.get=function(Ke,Gt){return X.get(Ce?Ke:-1-Ke,Gt)},gt.has=function(Ke){return X.has(Ce?Ke:-1-Ke)},gt.includes=function(Ke){return X.includes(Ke)},gt.cacheResult=Cc,gt.__iterate=function(Ke,Gt){var xn=this;return X.__iterate(function(lr,Fr){return Ke(lr,Fr,xn)},!Gt)},gt.__iterator=function(Ke,Gt){return X.__iterator(Ke,!Gt)},gt}function zc(X,Ce,gt,Ke){var Gt=gl(X);return Ke&&(Gt.has=function(xn){var lr=X.get(xn,pe);return lr!==pe&&!!Ce.call(gt,lr,xn,X)},Gt.get=function(xn,lr){var Fr=X.get(xn,pe);return Fr!==pe&&Ce.call(gt,Fr,xn,X)?Fr:lr}),Gt.__iterateUncached=function(xn,lr){var Fr=this,Oi=0;return X.__iterate(function(ai,Dr,ei){if(Ce.call(gt,ai,Dr,ei))return Oi++,xn(ai,Ke?Dr:Oi-1,Fr)},lr),Oi},Gt.__iteratorUncached=function(xn,lr){var Fr=X.__iterator(ht,lr),Oi=0;return new Dn(function(){for(;;){var ai=Fr.next();if(ai.done)return ai;var Dr=ai.value,ei=Dr[0],Yo=Dr[1];if(Ce.call(gt,Yo,ei,X))return Rt(xn,Ke?ei:Oi++,Yo,ai)}})},Gt}function bl(X,Ce,gt,Ke){var Gt=X.size;if(void 0!==Ce&&(Ce|=0),void 0!==gt&&(gt===1/0?gt=Gt:gt|=0),tt(Ce,gt,Gt))return X;var xn=Et(Ce,Gt),lr=ze(gt,Gt);if(xn!=xn||lr!=lr)return bl(X.toSeq().cacheResult(),Ce,gt,Ke);var Oi,Fr=lr-xn;Fr==Fr&&(Oi=Fr<0?0:Fr);var ai=gl(X);return ai.size=0===Oi?Oi:X.size&&Oi||void 0,!Ke&&rr(X)&&Oi>=0&&(ai.get=function(Dr,ei){return(Dr=yt(this,Dr))>=0&&Dr<Oi?X.get(Dr+xn,ei):ei}),ai.__iterateUncached=function(Dr,ei){var Yo=this;if(0===Oi)return 0;if(ei)return this.cacheResult().__iterate(Dr,ei);var Kn=0,zr=!0,Gr=0;return X.__iterate(function(ce,Le){if(!zr||!(zr=Kn++<xn))return Gr++,!1!==Dr(ce,Ke?Le:Gr-1,Yo)&&Gr!==Oi}),Gr},ai.__iteratorUncached=function(Dr,ei){if(0!==Oi&&ei)return this.cacheResult().__iterator(Dr,ei);var Yo=0!==Oi&&X.__iterator(Dr,ei),Kn=0,zr=0;return new Dn(function(){for(;Kn++<xn;)Yo.next();if(++zr>Oi)return{value:void 0,done:!0};var Gr=Yo.next();return Ke||Dr===Qt?Gr:Rt(Dr,zr-1,Dr===Ct?void 0:Gr.value[1],Gr)})},ai}function Za(X,Ce,gt,Ke){var Gt=gl(X);return Gt.__iterateUncached=function(xn,lr){var Fr=this;if(lr)return this.cacheResult().__iterate(xn,lr);var Oi=!0,ai=0;return X.__iterate(function(Dr,ei,Yo){if(!Oi||!(Oi=Ce.call(gt,Dr,ei,Yo)))return ai++,xn(Dr,Ke?ei:ai-1,Fr)}),ai},Gt.__iteratorUncached=function(xn,lr){var Fr=this;if(lr)return this.cacheResult().__iterator(xn,lr);var Oi=X.__iterator(ht,lr),ai=!0,Dr=0;return new Dn(function(){var ei,Yo,Kn;do{if((ei=Oi.next()).done)return Ke||xn===Qt?ei:Rt(xn,Dr++,xn===Ct?void 0:ei.value[1],ei);var zr=ei.value;Yo=zr[0],Kn=zr[1],ai&&(ai=Ce.call(gt,Kn,Yo,Fr))}while(ai);return xn===ht?ei:Rt(xn,Yo,Kn,ei)})},Gt}function wa(X,Ce,gt){var Ke=gl(X);return Ke.__iterateUncached=function(Gt,xn){var lr=0,Fr=!1;return function Oi(ai,Dr){var ei=this;ai.__iterate(function(Yo,Kn){return(!Ce||Dr<Ce)&&e(Yo)?Oi(Yo,Dr+1):!1===Gt(Yo,gt?Kn:lr++,ei)&&(Fr=!0),!Fr},xn)}(X,0),lr},Ke.__iteratorUncached=function(Gt,xn){var lr=X.__iterator(Gt,xn),Fr=[],Oi=0;return new Dn(function(){for(;lr;){var ai=lr.next();if(!1===ai.done){var Dr=ai.value;if(Gt===ht&&(Dr=Dr[1]),Ce&&!(Fr.length<Ce)||!e(Dr))return gt?ai:Rt(Gt,Oi++,Dr,ai);Fr.push(lr),lr=Dr.__iterator(Gt,xn)}else lr=Fr.pop()}return{value:void 0,done:!0}})},Ke}function dl(X,Ce,gt){Ce||(Ce=bc);var Ke=f(X),Gt=0,xn=X.toSeq().map(function(lr,Fr){return[Fr,lr,Gt++,gt?gt(lr,Fr,X):lr]}).toArray();return xn.sort(function(lr,Fr){return Ce(lr[3],Fr[3])||lr[2]-Fr[2]}).forEach(Ke?function(lr,Fr){xn[Fr].length=2}:function(lr,Fr){xn[Fr]=lr[1]}),Ke?_r(xn):h(X)?oi(xn):Ri(xn)}function Kc(X,Ce,gt){if(Ce||(Ce=bc),gt){var Ke=X.toSeq().map(function(Gt,xn){return[Gt,gt(Gt,xn,X)]}).reduce(function(Gt,xn){return Vc(Ce,Gt[1],xn[1])?xn:Gt});return Ke&&Ke[0]}return X.reduce(function(Gt,xn){return Vc(Ce,Gt,xn)?xn:Gt})}function Vc(X,Ce,gt){var Ke=X(gt,Ce);return 0===Ke&&gt!==Ce&&(null==gt||gt!=gt)||Ke>0}function cu(X,Ce,gt){var Ke=gl(X);return Ke.size=new ft(gt).map(function(Gt){return Gt.size}).min(),Ke.__iterate=function(Gt,xn){for(var Fr,lr=this.__iterator(Qt,xn),Oi=0;!(Fr=lr.next()).done&&!1!==Gt(Fr.value,Oi++,this););return Oi},Ke.__iteratorUncached=function(Gt,xn){var lr=gt.map(function(ai){return ai=r(ai),kn(xn?ai.reverse():ai)}),Fr=0,Oi=!1;return new Dn(function(){var ai;return Oi||(ai=lr.map(function(Dr){return Dr.next()}),Oi=ai.some(function(Dr){return Dr.done})),Oi?{value:void 0,done:!0}:Rt(Gt,Fr++,Ce.apply(null,ai.map(function(Dr){return Dr.value})))})},Ke}function xs(X,Ce){return rr(X)?Ce:X.constructor(Ce)}function Tc(X){if(X!==Object(X))throw new TypeError("Expected [K, V] tuple: "+X)}function cc(X){return mi(X.size),Me(X)}function ka(X){return f(X)?a:h(X)?u:c}function gl(X){return Object.create((f(X)?_r:h(X)?oi:Ri).prototype)}function Cc(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):wr.prototype.cacheResult.call(this)}function bc(X,Ce){return X>Ce?1:X<Ce?-1:0}function Mc(X){var Ce=kn(X);if(!Ce){if(!Ir(X))throw new TypeError("Expected iterable or array-like: "+X);Ce=kn(r(X))}return Ce}function za(X,Ce){var gt,Ke=function(lr){if(lr instanceof Ke)return lr;if(!(this instanceof Ke))return new Ke(lr);if(!gt){gt=!0;var Fr=Object.keys(X);(function Xc(X,Ce){try{Ce.forEach(sc.bind(void 0,X))}catch{}})(Gt,Fr),Gt.size=Fr.length,Gt._name=Ce,Gt._keys=Fr,Gt._defaultValues=X}this._map=gi(lr)},Gt=Ke.prototype=Object.create(vl);return Gt.constructor=Ke,Ke}o(ae,gi),ae.of=function(){return this(arguments)},ae.prototype.toString=function(){return this.__toString("OrderedMap {","}")},ae.prototype.get=function(X,Ce){var gt=this._map.get(X);return void 0!==gt?this._list.get(gt)[1]:Ce},ae.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ei()},ae.prototype.set=function(X,Ce){return Ui(this,X,Ce)},ae.prototype.remove=function(X){return Ui(this,X,pe)},ae.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},ae.prototype.__iterate=function(X,Ce){var gt=this;return this._list.__iterate(function(Ke){return Ke&&X(Ke[1],Ke[0],gt)},Ce)},ae.prototype.__iterator=function(X,Ce){return this._list.fromEntrySeq().__iterator(X,Ce)},ae.prototype.__ensureOwner=function(X){if(X===this.__ownerID)return this;var Ce=this._map.__ensureOwner(X),gt=this._list.__ensureOwner(X);return X?on(Ce,gt,X,this.__hash):(this.__ownerID=X,this._map=Ce,this._list=gt,this)},ae.isOrderedMap=We,ae.prototype[Q]=!0,ae.prototype[U]=ae.prototype.remove,o(eo,_r),eo.prototype.get=function(X,Ce){return this._iter.get(X,Ce)},eo.prototype.has=function(X){return this._iter.has(X)},eo.prototype.valueSeq=function(){return this._iter.valueSeq()},eo.prototype.reverse=function(){var X=this,Ce=Fl(this,!0);return this._useKeys||(Ce.valueSeq=function(){return X._iter.toSeq().reverse()}),Ce},eo.prototype.map=function(X,Ce){var gt=this,Ke=Ul(this,X,Ce);return this._useKeys||(Ke.valueSeq=function(){return gt._iter.toSeq().map(X,Ce)}),Ke},eo.prototype.__iterate=function(X,Ce){var Ke,gt=this;return this._iter.__iterate(this._useKeys?function(Gt,xn){return X(Gt,xn,gt)}:(Ke=Ce?cc(this):0,function(Gt){return X(Gt,Ce?--Ke:Ke++,gt)}),Ce)},eo.prototype.__iterator=function(X,Ce){if(this._useKeys)return this._iter.__iterator(X,Ce);var gt=this._iter.__iterator(Qt,Ce),Ke=Ce?cc(this):0;return new Dn(function(){var Gt=gt.next();return Gt.done?Gt:Rt(X,Ce?--Ke:Ke++,Gt.value,Gt)})},eo.prototype[Q]=!0,o(js,oi),js.prototype.includes=function(X){return this._iter.includes(X)},js.prototype.__iterate=function(X,Ce){var gt=this,Ke=0;return this._iter.__iterate(function(Gt){return X(Gt,Ke++,gt)},Ce)},js.prototype.__iterator=function(X,Ce){var gt=this._iter.__iterator(Qt,Ce),Ke=0;return new Dn(function(){var Gt=gt.next();return Gt.done?Gt:Rt(X,Ke++,Gt.value,Gt)})},o(hs,Ri),hs.prototype.has=function(X){return this._iter.includes(X)},hs.prototype.__iterate=function(X,Ce){var gt=this;return this._iter.__iterate(function(Ke){return X(Ke,Ke,gt)},Ce)},hs.prototype.__iterator=function(X,Ce){var gt=this._iter.__iterator(Qt,Ce);return new Dn(function(){var Ke=gt.next();return Ke.done?Ke:Rt(X,Ke.value,Ke.value,Ke)})},o(ia,_r),ia.prototype.entrySeq=function(){return this._iter.toSeq()},ia.prototype.__iterate=function(X,Ce){var gt=this;return this._iter.__iterate(function(Ke){if(Ke){Tc(Ke);var Gt=e(Ke);return X(Gt?Ke.get(1):Ke[1],Gt?Ke.get(0):Ke[0],gt)}},Ce)},ia.prototype.__iterator=function(X,Ce){var gt=this._iter.__iterator(Qt,Ce);return new Dn(function(){for(;;){var Ke=gt.next();if(Ke.done)return Ke;var Gt=Ke.value;if(Gt){Tc(Gt);var xn=e(Gt);return Rt(X,xn?Gt.get(0):Gt[0],xn?Gt.get(1):Gt[1],Ke)}}})},js.prototype.cacheResult=eo.prototype.cacheResult=hs.prototype.cacheResult=ia.prototype.cacheResult=Cc,o(za,Ve),za.prototype.toString=function(){return this.__toString(Ua(this)+" {","}")},za.prototype.has=function(X){return this._defaultValues.hasOwnProperty(X)},za.prototype.get=function(X,Ce){if(!this.has(X))return Ce;var gt=this._defaultValues[X];return this._map?this._map.get(X,gt):gt},za.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var X=this.constructor;return X._empty||(X._empty=Ka(this,$r()))},za.prototype.set=function(X,Ce){if(!this.has(X))throw new Error('Cannot set unknown key "'+X+'" on '+Ua(this));if(this._map&&!this._map.has(X)&&Ce===this._defaultValues[X])return this;var Ke=this._map&&this._map.set(X,Ce);return this.__ownerID||Ke===this._map?this:Ka(this,Ke)},za.prototype.remove=function(X){if(!this.has(X))return this;var Ce=this._map&&this._map.remove(X);return this.__ownerID||Ce===this._map?this:Ka(this,Ce)},za.prototype.wasAltered=function(){return this._map.wasAltered()},za.prototype.__iterator=function(X,Ce){var gt=this;return a(this._defaultValues).map(function(Ke,Gt){return gt.get(Gt)}).__iterator(X,Ce)},za.prototype.__iterate=function(X,Ce){var gt=this;return a(this._defaultValues).map(function(Ke,Gt){return gt.get(Gt)}).__iterate(X,Ce)},za.prototype.__ensureOwner=function(X){if(X===this.__ownerID)return this;var Ce=this._map&&this._map.__ensureOwner(X);return X?Ka(this,Ce,X):(this.__ownerID=X,this._map=Ce,this)};var vl=za.prototype;function Ka(X,Ce,gt){var Ke=Object.create(Object.getPrototypeOf(X));return Ke._map=Ce,Ke.__ownerID=gt,Ke}function Ua(X){return X._name||X.constructor.name||"Record"}function sc(X,Ce){Object.defineProperty(X,Ce,{get:function(){return this.get(Ce)},set:function(gt){Ut(this.__ownerID,"Cannot set on an immutable record."),this.set(Ce,gt)}})}function Ba(X){return null==X?jl():Ic(X)&&!T(X)?X:jl().withMutations(function(Ce){var gt=c(X);mi(gt.size),gt.forEach(function(Ke){return Ce.add(Ke)})})}function Ic(X){return!(!X||!X[Fc])}vl[U]=vl.remove,vl.deleteIn=vl.removeIn=hr.removeIn,vl.merge=hr.merge,vl.mergeWith=hr.mergeWith,vl.mergeIn=hr.mergeIn,vl.mergeDeep=hr.mergeDeep,vl.mergeDeepWith=hr.mergeDeepWith,vl.mergeDeepIn=hr.mergeDeepIn,vl.setIn=hr.setIn,vl.update=hr.update,vl.updateIn=hr.updateIn,vl.withMutations=hr.withMutations,vl.asMutable=hr.asMutable,vl.asImmutable=hr.asImmutable,o(Ba,ot),Ba.of=function(){return this(arguments)},Ba.fromKeys=function(X){return this(a(X).keySeq())},Ba.prototype.toString=function(){return this.__toString("Set {","}")},Ba.prototype.has=function(X){return this._map.has(X)},Ba.prototype.add=function(X){return Xa(this,this._map.set(X,!0))},Ba.prototype.remove=function(X){return Xa(this,this._map.remove(X))},Ba.prototype.clear=function(){return Xa(this,this._map.clear())},Ba.prototype.union=function(){var X=b.call(arguments,0);return 0===(X=X.filter(function(Ce){return 0!==Ce.size})).length?this:0!==this.size||this.__ownerID||1!==X.length?this.withMutations(function(Ce){for(var gt=0;gt<X.length;gt++)c(X[gt]).forEach(function(Ke){return Ce.add(Ke)})}):this.constructor(X[0])},Ba.prototype.intersect=function(){var X=b.call(arguments,0);if(0===X.length)return this;X=X.map(function(gt){return c(gt)});var Ce=this;return this.withMutations(function(gt){Ce.forEach(function(Ke){X.every(function(Gt){return Gt.includes(Ke)})||gt.remove(Ke)})})},Ba.prototype.subtract=function(){var X=b.call(arguments,0);if(0===X.length)return this;X=X.map(function(gt){return c(gt)});var Ce=this;return this.withMutations(function(gt){Ce.forEach(function(Ke){X.some(function(Gt){return Gt.includes(Ke)})&&gt.remove(Ke)})})},Ba.prototype.merge=function(){return this.union.apply(this,arguments)},Ba.prototype.mergeWith=function(X){var Ce=b.call(arguments,1);return this.union.apply(this,Ce)},Ba.prototype.sort=function(X){return yl(dl(this,X))},Ba.prototype.sortBy=function(X,Ce){return yl(dl(this,Ce,X))},Ba.prototype.wasAltered=function(){return this._map.wasAltered()},Ba.prototype.__iterate=function(X,Ce){var gt=this;return this._map.__iterate(function(Ke,Gt){return X(Gt,Gt,gt)},Ce)},Ba.prototype.__iterator=function(X,Ce){return this._map.map(function(gt,Ke){return Ke}).__iterator(X,Ce)},Ba.prototype.__ensureOwner=function(X){if(X===this.__ownerID)return this;var Ce=this._map.__ensureOwner(X);return X?this.__make(Ce,X):(this.__ownerID=X,this._map=Ce,this)},Ba.isSet=Ic;var Ac,Fc="@@__IMMUTABLE_SET__@@",ba=Ba.prototype;function Xa(X,Ce){return X.__ownerID?(X.size=Ce.size,X._map=Ce,X):Ce===X._map?X:0===Ce.size?X.__empty():X.__make(Ce)}function Oc(X,Ce){var gt=Object.create(ba);return gt.size=X?X.size:0,gt._map=X,gt.__ownerID=Ce,gt}function jl(){return Ac||(Ac=Oc($r()))}function yl(X){return null==X?ut():Dc(X)?X:ut().withMutations(function(Ce){var gt=c(X);mi(gt.size),gt.forEach(function(Ke){return Ce.add(Ke)})})}function Dc(X){return Ic(X)&&T(X)}ba[Fc]=!0,ba[U]=ba.remove,ba.mergeDeep=ba.merge,ba.mergeDeepWith=ba.mergeWith,ba.withMutations=hr.withMutations,ba.asMutable=hr.asMutable,ba.asImmutable=hr.asImmutable,ba.__empty=jl,ba.__make=Oc,o(yl,Ba),yl.of=function(){return this(arguments)},yl.fromKeys=function(X){return this(a(X).keySeq())},yl.prototype.toString=function(){return this.__toString("OrderedSet {","}")},yl.isOrderedSet=Dc;var St,Zs=yl.prototype;function Au(X,Ce){var gt=Object.create(Zs);return gt.size=X?X.size:0,gt._map=X,gt.__ownerID=Ce,gt}function ut(){return St||(St=Au(Ei()))}function Je(X){return null==X?ca():hn(X)?X:ca().unshiftAll(X)}function hn(X){return!(!X||!X[vi])}Zs[Q]=!0,Zs.__empty=ut,Zs.__make=Au,o(Je,tn),Je.of=function(){return this(arguments)},Je.prototype.toString=function(){return this.__toString("Stack [","]")},Je.prototype.get=function(X,Ce){var gt=this._head;for(X=yt(this,X);gt&&X--;)gt=gt.next;return gt?gt.value:Ce},Je.prototype.peek=function(){return this._head&&this._head.value},Je.prototype.push=function(){if(0===arguments.length)return this;for(var X=this.size+arguments.length,Ce=this._head,gt=arguments.length-1;gt>=0;gt--)Ce={value:arguments[gt],next:Ce};return this.__ownerID?(this.size=X,this._head=Ce,this.__hash=void 0,this.__altered=!0,this):Ya(X,Ce)},Je.prototype.pushAll=function(X){if(0===(X=u(X)).size)return this;mi(X.size);var Ce=this.size,gt=this._head;return X.reverse().forEach(function(Ke){Ce++,gt={value:Ke,next:gt}}),this.__ownerID?(this.size=Ce,this._head=gt,this.__hash=void 0,this.__altered=!0,this):Ya(Ce,gt)},Je.prototype.pop=function(){return this.slice(1)},Je.prototype.unshift=function(){return this.push.apply(this,arguments)},Je.prototype.unshiftAll=function(X){return this.pushAll(X)},Je.prototype.shift=function(){return this.pop.apply(this,arguments)},Je.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):ca()},Je.prototype.slice=function(X,Ce){if(tt(X,Ce,this.size))return this;var gt=Et(X,this.size);if(ze(Ce,this.size)!==this.size)return tn.prototype.slice.call(this,X,Ce);for(var Gt=this.size-gt,xn=this._head;gt--;)xn=xn.next;return this.__ownerID?(this.size=Gt,this._head=xn,this.__hash=void 0,this.__altered=!0,this):Ya(Gt,xn)},Je.prototype.__ensureOwner=function(X){return X===this.__ownerID?this:X?Ya(this.size,this._head,X,this.__hash):(this.__ownerID=X,this.__altered=!1,this)},Je.prototype.__iterate=function(X,Ce){if(Ce)return this.reverse().__iterate(X);for(var gt=0,Ke=this._head;Ke&&!1!==X(Ke.value,gt++,this);)Ke=Ke.next;return gt},Je.prototype.__iterator=function(X,Ce){if(Ce)return this.reverse().__iterator(X);var gt=0,Ke=this._head;return new Dn(function(){if(Ke){var Gt=Ke.value;return Ke=Ke.next,Rt(X,gt++,Gt)}return{value:void 0,done:!0}})},Je.isStack=hn;var Si,vi="@@__IMMUTABLE_STACK__@@",wo=Je.prototype;function Ya(X,Ce,gt,Ke){var Gt=Object.create(wo);return Gt.size=X,Gt._head=Ce,Gt.__ownerID=gt,Gt.__hash=Ke,Gt.__altered=!1,Gt}function ca(){return Si||(Si=Ya(0))}function Xs(X,Ce){var gt=function(Ke){X.prototype[Ke]=Ce[Ke]};return Object.keys(Ce).forEach(gt),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(Ce).forEach(gt),X}wo[vi]=!0,wo.withMutations=hr.withMutations,wo.asMutable=hr.asMutable,wo.asImmutable=hr.asImmutable,wo.wasAltered=hr.wasAltered,r.Iterator=Dn,Xs(r,{toArray:function(){mi(this.size);var X=new Array(this.size||0);return this.valueSeq().__iterate(function(Ce,gt){X[gt]=Ce}),X},toIndexedSeq:function(){return new js(this)},toJS:function(){return this.toSeq().map(function(X){return X&&"function"==typeof X.toJS?X.toJS():X}).__toJS()},toJSON:function(){return this.toSeq().map(function(X){return X&&"function"==typeof X.toJSON?X.toJSON():X}).__toJS()},toKeyedSeq:function(){return new eo(this,!0)},toMap:function(){return gi(this.toKeyedSeq())},toObject:function(){mi(this.size);var X={};return this.__iterate(function(Ce,gt){X[gt]=Ce}),X},toOrderedMap:function(){return ae(this.toKeyedSeq())},toOrderedSet:function(){return yl(f(this)?this.valueSeq():this)},toSet:function(){return Ba(f(this)?this.valueSeq():this)},toSetSeq:function(){return new hs(this)},toSeq:function(){return h(this)?this.toIndexedSeq():f(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Je(f(this)?this.valueSeq():this)},toList:function(){return Eo(f(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(X,Ce){return 0===this.size?X+Ce:X+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+Ce},concat:function(){return xs(this,function ec(X,Ce){var gt=f(X),Ke=[X].concat(Ce).map(function(lr){return e(lr)?gt&&(lr=a(lr)):lr=gt?so(lr):Vo(Array.isArray(lr)?lr:[lr]),lr}).filter(function(lr){return 0!==lr.size});if(0===Ke.length)return X;if(1===Ke.length){var Gt=Ke[0];if(Gt===X||gt&&f(Gt)||h(X)&&h(Gt))return Gt}var xn=new ft(Ke);return gt?xn=xn.toKeyedSeq():h(X)||(xn=xn.toSetSeq()),(xn=xn.flatten(!0)).size=Ke.reduce(function(lr,Fr){if(void 0!==lr){var Oi=Fr.size;if(void 0!==Oi)return lr+Oi}},0),xn}(this,b.call(arguments,0)))},includes:function(X){return this.some(function(Ce){return io(Ce,X)})},entries:function(){return this.__iterator(ht)},every:function(X,Ce){mi(this.size);var gt=!0;return this.__iterate(function(Ke,Gt,xn){if(!X.call(Ce,Ke,Gt,xn))return gt=!1,!1}),gt},filter:function(X,Ce){return xs(this,zc(this,X,Ce,!0))},find:function(X,Ce,gt){var Ke=this.findEntry(X,Ce);return Ke?Ke[1]:gt},forEach:function(X,Ce){return mi(this.size),this.__iterate(Ce?X.bind(Ce):X)},join:function(X){mi(this.size),X=void 0!==X?""+X:",";var Ce="",gt=!0;return this.__iterate(function(Ke){gt?gt=!1:Ce+=X,Ce+=null!=Ke?Ke.toString():""}),Ce},keys:function(){return this.__iterator(Ct)},map:function(X,Ce){return xs(this,Ul(this,X,Ce))},reduce:function(X,Ce,gt){var Ke,Gt;return mi(this.size),arguments.length<2?Gt=!0:Ke=Ce,this.__iterate(function(xn,lr,Fr){Gt?(Gt=!1,Ke=xn):Ke=X.call(gt,Ke,xn,lr,Fr)}),Ke},reduceRight:function(X,Ce,gt){var Ke=this.toKeyedSeq().reverse();return Ke.reduce.apply(Ke,arguments)},reverse:function(){return xs(this,Fl(this,!0))},slice:function(X,Ce){return xs(this,bl(this,X,Ce,!0))},some:function(X,Ce){return!this.every(zl(X),Ce)},sort:function(X){return xs(this,dl(this,X))},values:function(){return this.__iterator(Qt)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(X,Ce){return Me(X?this.toSeq().filter(X,Ce):this)},countBy:function(X,Ce){return function Uu(X,Ce,gt){var Ke=gi().asMutable();return X.__iterate(function(Gt,xn){Ke.update(Ce.call(gt,Gt,xn,X),0,function(lr){return lr+1})}),Ke.asImmutable()}(this,X,Ce)},equals:function(X){return Vi(this,X)},entrySeq:function(){var X=this;if(X._cache)return new ft(X._cache);var Ce=X.toSeq().map(gc).toIndexedSeq();return Ce.fromEntrySeq=function(){return X.toSeq()},Ce},filterNot:function(X,Ce){return this.filter(zl(X),Ce)},findEntry:function(X,Ce,gt){var Ke=gt;return this.__iterate(function(Gt,xn,lr){if(X.call(Ce,Gt,xn,lr))return Ke=[xn,Gt],!1}),Ke},findKey:function(X,Ce){var gt=this.findEntry(X,Ce);return gt&&gt[0]},findLast:function(X,Ce,gt){return this.toKeyedSeq().reverse().find(X,Ce,gt)},findLastEntry:function(X,Ce,gt){return this.toKeyedSeq().reverse().findEntry(X,Ce,gt)},findLastKey:function(X,Ce){return this.toKeyedSeq().reverse().findKey(X,Ce)},first:function(){return this.find(et)},flatMap:function(X,Ce){return xs(this,function Ec(X,Ce,gt){var Ke=ka(X);return X.toSeq().map(function(Gt,xn){return Ke(Ce.call(gt,Gt,xn,X))}).flatten(!0)}(this,X,Ce))},flatten:function(X){return xs(this,wa(this,X,!0))},fromEntrySeq:function(){return new ia(this)},get:function(X,Ce){return this.find(function(gt,Ke){return io(Ke,X)},void 0,Ce)},getIn:function(X,Ce){for(var Gt,gt=this,Ke=Mc(X);!(Gt=Ke.next()).done;)if((gt=gt&&gt.get?gt.get(Gt.value,pe):pe)===pe)return Ce;return gt},groupBy:function(X,Ce){return function ru(X,Ce,gt){var Ke=f(X),Gt=(T(X)?ae():gi()).asMutable();X.__iterate(function(lr,Fr){Gt.update(Ce.call(gt,lr,Fr,X),function(Oi){return(Oi=Oi||[]).push(Ke?[Fr,lr]:lr),Oi})});var xn=ka(X);return Gt.map(function(lr){return xs(X,xn(lr))})}(this,X,Ce)},has:function(X){return this.get(X,pe)!==pe},hasIn:function(X){return this.getIn(X,pe)!==pe},isSubset:function(X){return X="function"==typeof X.includes?X:r(X),this.every(function(Ce){return X.includes(Ce)})},isSuperset:function(X){return(X="function"==typeof X.isSubset?X:r(X)).isSubset(this)},keyOf:function(X){return this.findKey(function(Ce){return io(Ce,X)})},keySeq:function(){return this.toSeq().map(qc).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(X){return this.toKeyedSeq().reverse().keyOf(X)},max:function(X){return Kc(this,X)},maxBy:function(X,Ce){return Kc(this,Ce,X)},min:function(X){return Kc(this,X?Ju(X):uc)},minBy:function(X,Ce){return Kc(this,Ce?Ju(Ce):uc,X)},rest:function(){return this.slice(1)},skip:function(X){return this.slice(Math.max(0,X))},skipLast:function(X){return xs(this,this.toSeq().reverse().skip(X).reverse())},skipWhile:function(X,Ce){return xs(this,Za(this,X,Ce,!0))},skipUntil:function(X,Ce){return this.skipWhile(zl(X),Ce)},sortBy:function(X,Ce){return xs(this,dl(this,Ce,X))},take:function(X){return this.slice(0,Math.max(0,X))},takeLast:function(X){return xs(this,this.toSeq().reverse().take(X).reverse())},takeWhile:function(X,Ce){return xs(this,function Ou(X,Ce,gt){var Ke=gl(X);return Ke.__iterateUncached=function(Gt,xn){var lr=this;if(xn)return this.cacheResult().__iterate(Gt,xn);var Fr=0;return X.__iterate(function(Oi,ai,Dr){return Ce.call(gt,Oi,ai,Dr)&&++Fr&&Gt(Oi,ai,lr)}),Fr},Ke.__iteratorUncached=function(Gt,xn){var lr=this;if(xn)return this.cacheResult().__iterator(Gt,xn);var Fr=X.__iterator(ht,xn),Oi=!0;return new Dn(function(){if(!Oi)return{value:void 0,done:!0};var ai=Fr.next();if(ai.done)return ai;var Dr=ai.value,ei=Dr[0],Yo=Dr[1];return Ce.call(gt,Yo,ei,lr)?Gt===ht?ai:Rt(Gt,ei,Yo,ai):(Oi=!1,{value:void 0,done:!0})})},Ke}(this,X,Ce))},takeUntil:function(X,Ce){return this.takeWhile(zl(X),Ce)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function tu(X){if(X.size===1/0)return 0;var Ce=T(X),gt=f(X),Ke=Ce?1:0;return function Ll(X,Ce){return Ce=xt(Ce,3432918353),Ce=xt(Ce<<15|Ce>>>-15,461845907),Ce=xt(Ce<<13|Ce>>>-13,5),Ce=xt((Ce=(Ce+3864292196|0)^X)^Ce>>>16,2246822507),qt((Ce=xt(Ce^Ce>>>13,3266489909))^Ce>>>16)}(X.__iterate(gt?Ce?function(xn,lr){Ke=31*Ke+rl(tr(xn),tr(lr))|0}:function(xn,lr){Ke=Ke+rl(tr(xn),tr(lr))|0}:Ce?function(xn){Ke=31*Ke+tr(xn)|0}:function(xn){Ke=Ke+tr(xn)|0}),Ke)}(this))}});var Rc=r.prototype;Rc[D]=!0,Rc[bn]=Rc.values,Rc.__toJS=Rc.toArray,Rc.__toStringMapper=eu,Rc.inspect=Rc.toSource=function(){return this.toString()},Rc.chain=Rc.flatMap,Rc.contains=Rc.includes,Xs(a,{flip:function(){return xs(this,ta(this))},mapEntries:function(X,Ce){var gt=this,Ke=0;return xs(this,this.toSeq().map(function(Gt,xn){return X.call(Ce,[xn,Gt],Ke++,gt)}).fromEntrySeq())},mapKeys:function(X,Ce){var gt=this;return xs(this,this.toSeq().flip().map(function(Ke,Gt){return X.call(Ce,Ke,Gt,gt)}).flip())}});var Zl=a.prototype;function qc(X,Ce){return Ce}function gc(X,Ce){return[Ce,X]}function zl(X){return function(){return!X.apply(this,arguments)}}function Ju(X){return function(){return-X.apply(this,arguments)}}function eu(X){return"string"==typeof X?JSON.stringify(X):String(X)}function Cu(){return Ue(arguments)}function uc(X,Ce){return X<Ce?1:X>Ce?-1:0}function rl(X,Ce){return X^Ce+2654435769+(X<<6)+(X>>2)|0}return Zl[A]=!0,Zl[bn]=Rc.entries,Zl.__toJS=Rc.toObject,Zl.__toStringMapper=function(X,Ce){return JSON.stringify(Ce)+": "+eu(X)},Xs(u,{toKeyedSeq:function(){return new eo(this,!1)},filter:function(X,Ce){return xs(this,zc(this,X,Ce,!1))},findIndex:function(X,Ce){var gt=this.findEntry(X,Ce);return gt?gt[0]:-1},indexOf:function(X){var Ce=this.keyOf(X);return void 0===Ce?-1:Ce},lastIndexOf:function(X){var Ce=this.lastKeyOf(X);return void 0===Ce?-1:Ce},reverse:function(){return xs(this,Fl(this,!1))},slice:function(X,Ce){return xs(this,bl(this,X,Ce,!1))},splice:function(X,Ce){var gt=arguments.length;if(Ce=Math.max(0|Ce,0),0===gt||2===gt&&!Ce)return this;X=Et(X,X<0?this.count():this.size);var Ke=this.slice(0,X);return xs(this,1===gt?Ke:Ke.concat(Ue(arguments,2),this.slice(X+Ce)))},findLastIndex:function(X,Ce){var gt=this.findLastEntry(X,Ce);return gt?gt[0]:-1},first:function(){return this.get(0)},flatten:function(X){return xs(this,wa(this,X,!1))},get:function(X,Ce){return(X=yt(this,X))<0||this.size===1/0||void 0!==this.size&&X>this.size?Ce:this.find(function(gt,Ke){return Ke===X},void 0,Ce)},has:function(X){return(X=yt(this,X))>=0&&(void 0!==this.size?this.size===1/0||X<this.size:-1!==this.indexOf(X))},interpose:function(X){return xs(this,function Sc(X,Ce){var gt=gl(X);return gt.size=X.size&&2*X.size-1,gt.__iterateUncached=function(Ke,Gt){var xn=this,lr=0;return X.__iterate(function(Fr,Oi){return(!lr||!1!==Ke(Ce,lr++,xn))&&!1!==Ke(Fr,lr++,xn)},Gt),lr},gt.__iteratorUncached=function(Ke,Gt){var Fr,xn=X.__iterator(Qt,Gt),lr=0;return new Dn(function(){return(!Fr||lr%2)&&(Fr=xn.next()).done?Fr:lr%2?Rt(Ke,lr++,Ce):Rt(Ke,lr++,Fr.value,Fr)})},gt}(this,X))},interleave:function(){var X=[this].concat(Ue(arguments)),Ce=cu(this.toSeq(),oi.of,X),gt=Ce.flatten(!0);return Ce.size&&(gt.size=Ce.size*X.length),xs(this,gt)},keySeq:function(){return ke(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(X,Ce){return xs(this,Za(this,X,Ce,!1))},zip:function(){return xs(this,cu(this,Cu,[this].concat(Ue(arguments))))},zipWith:function(X){var Ce=Ue(arguments);return Ce[0]=this,xs(this,cu(this,X,Ce))}}),u.prototype[$]=!0,u.prototype[Q]=!0,Xs(c,{get:function(X,Ce){return this.has(X)?X:Ce},includes:function(X){return this.has(X)},keySeq:function(){return this.valueSeq()}}),c.prototype.has=Rc.includes,c.prototype.contains=c.prototype.includes,Xs(_r,a.prototype),Xs(oi,u.prototype),Xs(Ri,c.prototype),Xs(Ve,a.prototype),Xs(tn,u.prototype),Xs(ot,c.prototype),{Iterable:r,Seq:wr,Collection:Qe,Map:gi,OrderedMap:ae,List:Eo,Stack:Je,Set:Ba,OrderedSet:yl,Record:za,Range:ke,Repeat:Pn,is:io,fromJS:Pr}}()},31536:y=>{"use strict";class b extends Error{constructor(h){super(b._prepareSuperMessage(h)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,b)}static _prepareSuperMessage(h){try{return JSON.stringify(h)}catch{return String(h)}}}const o=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],r=Symbol(".toJSON called"),u=({from:f,seen:h,to_:E,forceEnumerable:T,maxDepth:D,depth:A})=>{const $=E||(Array.isArray(f)?[]:{});if(h.push(f),A>=D)return $;if("function"==typeof f.toJSON&&!0!==f[r])return(f=>{f[r]=!0;const h=f.toJSON();return delete f[r],h})(f);for(const[Q,U]of Object.entries(f))if("function"==typeof Buffer&&Buffer.isBuffer(U))$[Q]="[object Buffer]";else if("function"!=typeof U){if(!U||"object"!=typeof U){$[Q]=U;continue}if(!h.includes(f[Q])){A++,$[Q]=u({from:f[Q],seen:h.slice(),forceEnumerable:T,maxDepth:D,depth:A});continue}$[Q]="[Circular]"}for(const{property:Q,enumerable:U}of o)"string"==typeof f[Q]&&Object.defineProperty($,Q,{value:f[Q],enumerable:!!T||U,configurable:!0,writable:!0});return $};y.exports={serializeError:(f,h={})=>{const{maxDepth:E=Number.POSITIVE_INFINITY}=h;return"object"==typeof f&&null!==f?u({from:f,seen:[],forceEnumerable:!0,maxDepth:E,depth:0}):"function"==typeof f?`[Function: ${f.name||"anonymous"}]`:f},deserializeError:(f,h={})=>{const{maxDepth:E=Number.POSITIVE_INFINITY}=h;if(f instanceof Error)return f;if("object"==typeof f&&null!==f&&!Array.isArray(f)){const T=new Error;return u({from:f,seen:[],to_:T,maxDepth:E,depth:0}),T}return new b(f)}}},35311:y=>{y.exports=function(){var b=document.getSelection();if(!b.rangeCount)return function(){};for(var o=document.activeElement,r=[],a=0;a<b.rangeCount;a++)r.push(b.getRangeAt(a));switch(o.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":o.blur();break;default:o=null}return b.removeAllRanges(),function(){"Caret"===b.type&&b.removeAllRanges(),b.rangeCount||r.forEach(function(u){b.addRange(u)}),o&&o.focus()}}},18807:y=>{"use strict";function b(J){return Object.prototype.toString.call(J)}var f=Array.isArray||function(pe){return"[object Array]"===Object.prototype.toString.call(pe)};function h(J,pe){if(J.forEach)return J.forEach(pe);for(var j=0;j<J.length;j++)pe(J[j],j,J)}var E=Object.keys||function(pe){var j=[];for(var ue in pe)j.push(ue);return j},T=Object.prototype.propertyIsEnumerable,D=Object.getOwnPropertySymbols;function A(J){var pe=E(J);if(D)for(var j=D(J),ue=0;ue<j.length;ue++)T.call(J,j[ue])&&pe.push(j[ue]);return pe}var $=Object.prototype.hasOwnProperty||function(J,pe){return pe in J};function Q(J){if("object"==typeof J&&null!==J){var pe;if(f(J))pe=[];else if(function o(J){return"[object Date]"===b(J)}(J))pe=new Date(J.getTime?J.getTime():J);else if(function r(J){return"[object RegExp]"===b(J)}(J))pe=new RegExp(J);else if(function a(J){return"[object Error]"===b(J)}(J))pe={message:J.message};else if(function u(J){return"[object Boolean]"===b(J)}(J)||function c(J){return"[object Number]"===b(J)}(J)||function e(J){return"[object String]"===b(J)}(J))pe=Object(J);else if(Object.create&&Object.getPrototypeOf)pe=Object.create(Object.getPrototypeOf(J));else if(J.constructor===Object)pe={};else{var ue=function(){};ue.prototype=J.constructor&&J.constructor.prototype||J.__proto__||{},pe=new ue}return h(A(J),function(ie){pe[ie]=J[ie]}),pe}return J}function U(J,pe,j){var ue=[],ie=[],me=!0;return function Oe(Ue){var Me=j?Q(Ue):Ue,yt={},et=!0,tt={node:Me,node_:Ue,path:[].concat(ue),parent:ie[ie.length-1],parents:ie,key:ue[ue.length-1],isRoot:0===ue.length,level:ue.length,circular:null,update:function(bt,Ct){tt.isRoot||(tt.parent.node[tt.key]=bt),tt.node=bt,Ct&&(et=!1)},delete:function(bt){delete tt.parent.node[tt.key],bt&&(et=!1)},remove:function(bt){f(tt.parent.node)?tt.parent.node.splice(tt.key,1):delete tt.parent.node[tt.key],bt&&(et=!1)},keys:null,before:function(bt){yt.before=bt},after:function(bt){yt.after=bt},pre:function(bt){yt.pre=bt},post:function(bt){yt.post=bt},stop:function(){me=!1},block:function(){et=!1}};if(!me)return tt;function Et(){if("object"==typeof tt.node&&null!==tt.node){(!tt.keys||tt.node_!==tt.node)&&(tt.keys=A(tt.node)),tt.isLeaf=0===tt.keys.length;for(var bt=0;bt<ie.length;bt++)if(ie[bt].node_===Ue){tt.circular=ie[bt];break}}else tt.isLeaf=!0,tt.keys=null;tt.notLeaf=!tt.isLeaf,tt.notRoot=!tt.isRoot}Et();var ze=pe.call(tt,tt.node);return void 0!==ze&&tt.update&&tt.update(ze),yt.before&&yt.before.call(tt,tt.node),et&&("object"==typeof tt.node&&null!==tt.node&&!tt.circular&&(ie.push(tt),Et(),h(tt.keys,function(bt,Ct){ue.push(bt),yt.pre&&yt.pre.call(tt,tt.node[bt],bt);var Qt=Oe(tt.node[bt]);j&&$.call(tt.node,bt)&&(tt.node[bt]=Qt.node),Qt.isLast=Ct===tt.keys.length-1,Qt.isFirst=0===Ct,yt.post&&yt.post.call(tt,Qt),ue.pop()}),ie.pop()),yt.after&&yt.after.call(tt,tt.node)),tt}(J).node}function q(J){this.value=J}function L(J){return new q(J)}q.prototype.get=function(J){for(var pe=this.value,j=0;j<J.length;j++){var ue=J[j];if(!pe||!$.call(pe,ue))return;pe=pe[ue]}return pe},q.prototype.has=function(J){for(var pe=this.value,j=0;j<J.length;j++){var ue=J[j];if(!pe||!$.call(pe,ue))return!1;pe=pe[ue]}return!0},q.prototype.set=function(J,pe){for(var j=this.value,ue=0;ue<J.length-1;ue++){var ie=J[ue];$.call(j,ie)||(j[ie]={}),j=j[ie]}return j[J[ue]]=pe,pe},q.prototype.map=function(J){return U(this.value,J,!0)},q.prototype.forEach=function(J){return this.value=U(this.value,J,!1),this.value},q.prototype.reduce=function(J,pe){var j=1===arguments.length,ue=j?this.value:pe;return this.forEach(function(ie){(!this.isRoot||!j)&&(ue=J.call(this,ue,ie))}),ue},q.prototype.paths=function(){var J=[];return this.forEach(function(){J.push(this.path)}),J},q.prototype.nodes=function(){var J=[];return this.forEach(function(){J.push(this.node)}),J},q.prototype.clone=function(){var J=[],pe=[];return function j(ue){for(var ie=0;ie<J.length;ie++)if(J[ie]===ue)return pe[ie];if("object"==typeof ue&&null!==ue){var me=Q(ue);return J.push(ue),pe.push(me),h(A(ue),function(Oe){me[Oe]=j(ue[Oe])}),J.pop(),pe.pop(),me}return ue}(this.value)},h(A(q.prototype),function(J){L[J]=function(pe){var j=[].slice.call(arguments,1),ue=new q(pe);return ue[J].apply(ue,j)}}),y.exports=L},2135:(y,b,o)=>{"use strict";var r=o(90465),a=o(76959),u=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,c=/[\n\r\t]/g,e=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,f=/:\d+$/,h=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,E=/^[a-zA-Z]:/;function T(j){return(j||"").toString().replace(u,"")}var D=[["#","hash"],["?","query"],function(ue,ie){return Q(ie.protocol)?ue.replace(/\\/g,"/"):ue},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],A={hash:1,query:1};function $(j){var ue;ue=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};var Ue,me={},Oe=typeof(j=j||ue.location||{});if("blob:"===j.protocol)me=new L(unescape(j.pathname),{});else if("string"===Oe)for(Ue in me=new L(j,{}),A)delete me[Ue];else if("object"===Oe){for(Ue in j)Ue in A||(me[Ue]=j[Ue]);void 0===me.slashes&&(me.slashes=e.test(j.href))}return me}function Q(j){return"file:"===j||"ftp:"===j||"http:"===j||"https:"===j||"ws:"===j||"wss:"===j}function U(j,ue){j=(j=T(j)).replace(c,""),ue=ue||{};var yt,ie=h.exec(j),me=ie[1]?ie[1].toLowerCase():"",Oe=!!ie[2],Ue=!!ie[3],Me=0;return Oe?Ue?(yt=ie[2]+ie[3]+ie[4],Me=ie[2].length+ie[3].length):(yt=ie[2]+ie[4],Me=ie[2].length):Ue?(yt=ie[3]+ie[4],Me=ie[3].length):yt=ie[4],"file:"===me?Me>=2&&(yt=yt.slice(2)):Q(me)?yt=ie[4]:me?Oe&&(yt=yt.slice(2)):Me>=2&&Q(ue.protocol)&&(yt=ie[4]),{protocol:me,slashes:Oe||Q(me),slashesCount:Me,rest:yt}}function L(j,ue,ie){if(j=(j=T(j)).replace(c,""),!(this instanceof L))return new L(j,ue,ie);var me,Oe,Ue,Me,yt,et,tt=D.slice(),Et=typeof ue,ze=this,bt=0;for("object"!==Et&&"string"!==Et&&(ie=ue,ue=null),ie&&"function"!=typeof ie&&(ie=a.parse),me=!(Oe=U(j||"",ue=$(ue))).protocol&&!Oe.slashes,ze.slashes=Oe.slashes||me&&ue.slashes,ze.protocol=Oe.protocol||ue.protocol||"",j=Oe.rest,("file:"===Oe.protocol&&(2!==Oe.slashesCount||E.test(j))||!Oe.slashes&&(Oe.protocol||Oe.slashesCount<2||!Q(ze.protocol)))&&(tt[3]=[/(.*)/,"pathname"]);bt<tt.length;bt++)"function"!=typeof(Me=tt[bt])?(et=Me[1],(Ue=Me[0])!=Ue?ze[et]=j:"string"==typeof Ue?~(yt="@"===Ue?j.lastIndexOf(Ue):j.indexOf(Ue))&&("number"==typeof Me[2]?(ze[et]=j.slice(0,yt),j=j.slice(yt+Me[2])):(ze[et]=j.slice(yt),j=j.slice(0,yt))):(yt=Ue.exec(j))&&(ze[et]=yt[1],j=j.slice(0,yt.index)),ze[et]=ze[et]||me&&Me[3]&&ue[et]||"",Me[4]&&(ze[et]=ze[et].toLowerCase())):j=Me(j,ze);ie&&(ze.query=ie(ze.query)),me&&ue.slashes&&"/"!==ze.pathname.charAt(0)&&(""!==ze.pathname||""!==ue.pathname)&&(ze.pathname=function q(j,ue){if(""===j)return ue;for(var ie=(ue||"/").split("/").slice(0,-1).concat(j.split("/")),me=ie.length,Oe=ie[me-1],Ue=!1,Me=0;me--;)"."===ie[me]?ie.splice(me,1):".."===ie[me]?(ie.splice(me,1),Me++):Me&&(0===me&&(Ue=!0),ie.splice(me,1),Me--);return Ue&&ie.unshift(""),("."===Oe||".."===Oe)&&ie.push(""),ie.join("/")}(ze.pathname,ue.pathname)),"/"!==ze.pathname.charAt(0)&&Q(ze.protocol)&&(ze.pathname="/"+ze.pathname),r(ze.port,ze.protocol)||(ze.host=ze.hostname,ze.port=""),ze.username=ze.password="",ze.auth&&(~(yt=ze.auth.indexOf(":"))?(ze.username=ze.auth.slice(0,yt),ze.username=encodeURIComponent(decodeURIComponent(ze.username)),ze.password=ze.auth.slice(yt+1),ze.password=encodeURIComponent(decodeURIComponent(ze.password))):ze.username=encodeURIComponent(decodeURIComponent(ze.auth)),ze.auth=ze.password?ze.username+":"+ze.password:ze.username),ze.origin="file:"!==ze.protocol&&Q(ze.protocol)&&ze.host?ze.protocol+"//"+ze.host:"null",ze.href=ze.toString()}L.prototype={set:function J(j,ue,ie){var me=this;switch(j){case"query":"string"==typeof ue&&ue.length&&(ue=(ie||a.parse)(ue)),me[j]=ue;break;case"port":me[j]=ue,r(ue,me.protocol)?ue&&(me.host=me.hostname+":"+ue):(me.host=me.hostname,me[j]="");break;case"hostname":me[j]=ue,me.port&&(ue+=":"+me.port),me.host=ue;break;case"host":me[j]=ue,f.test(ue)?(ue=ue.split(":"),me.port=ue.pop(),me.hostname=ue.join(":")):(me.hostname=ue,me.port="");break;case"protocol":me.protocol=ue.toLowerCase(),me.slashes=!ie;break;case"pathname":case"hash":if(ue){var Oe="pathname"===j?"/":"#";me[j]=ue.charAt(0)!==Oe?Oe+ue:ue}else me[j]=ue;break;case"username":case"password":me[j]=encodeURIComponent(ue);break;case"auth":var Ue=ue.indexOf(":");~Ue?(me.username=ue.slice(0,Ue),me.username=encodeURIComponent(decodeURIComponent(me.username)),me.password=ue.slice(Ue+1),me.password=encodeURIComponent(decodeURIComponent(me.password))):me.username=encodeURIComponent(decodeURIComponent(ue))}for(var Me=0;Me<D.length;Me++){var yt=D[Me];yt[4]&&(me[yt[1]]=me[yt[1]].toLowerCase())}return me.auth=me.password?me.username+":"+me.password:me.username,me.origin="file:"!==me.protocol&&Q(me.protocol)&&me.host?me.protocol+"//"+me.host:"null",me.href=me.toString(),me},toString:function pe(j){(!j||"function"!=typeof j)&&(j=a.stringify);var ue,ie=this,me=ie.host,Oe=ie.protocol;Oe&&":"!==Oe.charAt(Oe.length-1)&&(Oe+=":");var Ue=Oe+(ie.protocol&&ie.slashes||Q(ie.protocol)?"//":"");return ie.username?(Ue+=ie.username,ie.password&&(Ue+=":"+ie.password),Ue+="@"):ie.password?(Ue+=":"+ie.password,Ue+="@"):"file:"!==ie.protocol&&Q(ie.protocol)&&!me&&"/"!==ie.pathname&&(Ue+="@"),(":"===me[me.length-1]||f.test(ie.hostname)&&!ie.port)&&(me+=":"),Ue+=me+ie.pathname,(ue="object"==typeof ie.query?j(ie.query):ie.query)&&(Ue+="?"!==ue.charAt(0)?"?"+ue:ue),ie.hash&&(Ue+=ie.hash),Ue}},L.extractProtocol=U,L.location=$,L.trimLeft=T,L.qs=a,y.exports=L},58734:(y,b,o)=>{"use strict";var r=o(88280),a=function(D){return D.split(/(<\/?[^>]+>)/g).filter(function(A){return""!==A.trim()})},c=function(D){return/<\/+[^>]+>/.test(D)},e=function(D){return/<[^>]+\/>/.test(D)},f=function(D){return function(D){return/<[^>!]+>/.test(D)}(D)&&!c(D)&&!e(D)};function E(T){return c(T)?"ClosingTag":f(T)?"OpeningTag":e(T)?"SelfClosingTag":"Text"}y.exports=function(T){var D=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},A=D.indentor,$=D.textNodesOnSameLine,Q=0,U=[];A=A||" ";var q=function h(T){return a(T).map(function(A){return{value:A,type:E(A)}})}(T).map(function(L,J,pe){var j=L.value,ue=L.type;"ClosingTag"===ue&&Q--;var ie=r(A,Q),me=ie+j;if("OpeningTag"===ue&&Q++,$){var Oe=pe[J-1],Ue=pe[J-2];"ClosingTag"===ue&&"Text"===Oe.type&&"OpeningTag"===Ue.type&&(me=""+ie+Ue.value+Oe.value+j,U.push(J-2,J-1))}return me});return U.forEach(function(L){return q[L]=null}),q.filter(function(L){return!!L}).join("\n")}},1653:function(y,b){var o,r,a;r=[],void 0!==(a="function"==typeof(o=function(){"use strict";var u=function(A){return A&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(A)["scroll-behavior"]};if(typeof window>"u"||!("document"in window))return{};var c=function(A,$,Q){$=$||999,!Q&&0!==Q&&(Q=9);var U,q=function(Oe){U=Oe},L=function(){clearTimeout(U),q(0)},J=function(Oe){return Math.max(0,A.getTopOf(Oe)-Q)},pe=function(Oe,Ue,Me){if(L(),0===Ue||Ue&&Ue<0||u(A.body))A.toY(Oe),Me&&Me();else{var yt=A.getY(),et=Math.max(0,Oe)-yt,tt=(new Date).getTime();Ue=Ue||Math.min(Math.abs(et),$),function Et(){q(setTimeout(function(){var ze=Math.min(1,((new Date).getTime()-tt)/Ue),bt=Math.max(0,Math.floor(yt+et*(ze<.5?2*ze*ze:ze*(4-2*ze)-1)));A.toY(bt),ze<1&&A.getHeight()+bt<A.body.scrollHeight?Et():(setTimeout(L,99),Me&&Me())},9))}()}},j=function(Oe,Ue,Me){pe(J(Oe),Ue,Me)};return{setup:function(Oe,Ue){return(0===Oe||Oe)&&($=Oe),(0===Ue||Ue)&&(Q=Ue),{defaultDuration:$,edgeOffset:Q}},to:j,toY:pe,intoView:function(Oe,Ue,Me){var yt=Oe.getBoundingClientRect().height,et=A.getTopOf(Oe)+yt,tt=A.getHeight(),Et=A.getY(),ze=Et+tt;J(Oe)<Et||yt+Q>tt?j(Oe,Ue,Me):et+Q>ze?pe(et-tt+Q,Ue,Me):Me&&Me()},center:function(Oe,Ue,Me,yt){pe(Math.max(0,A.getTopOf(Oe)-A.getHeight()/2+(Me||Oe.getBoundingClientRect().height/2)),Ue,yt)},stop:L,moving:function(){return!!U},getY:A.getY,getTopOf:A.getTopOf}},e=document.documentElement,f=function(){return window.scrollY||e.scrollTop},h=c({body:document.scrollingElement||document.body,toY:function(A){window.scrollTo(0,A)},getY:f,getHeight:function(){return window.innerHeight||e.clientHeight},getTopOf:function(A){return A.getBoundingClientRect().top+f()-e.offsetTop}});if(h.createScroller=function(A,$,Q){return c({body:A,toY:function(U){A.scrollTop=U},getY:function(){return A.scrollTop},getHeight:function(){return Math.min(A.clientHeight,window.innerHeight||e.clientHeight)},getTopOf:function(U){return U.offsetTop}},$,Q)},"addEventListener"in window&&!window.noZensmooth&&!u(document.body)){var E="history"in window&&"pushState"in history,T=E&&"scrollRestoration"in history;T&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){T&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(A){A.state&&"zenscrollY"in A.state&&h.toY(A.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var A=h.setup().edgeOffset;if(A){var $=document.getElementById(window.location.href.split("#")[1]);if($){var Q=Math.max(0,h.getTopOf($)-A),U=h.getY()-Q;0<=U&&U<9&&window.scrollTo(0,Q)}}},9)},!1);var D=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",function(A){for(var $=A.target;$&&"A"!==$.tagName;)$=$.parentNode;if(!(!$||1!==A.which||A.shiftKey||A.metaKey||A.ctrlKey||A.altKey)){if(T){var Q=history.state&&"object"==typeof history.state?history.state:{};Q.zenscrollY=h.getY();try{history.replaceState(Q,"")}catch{}}var U=$.getAttribute("href")||"";if(0===U.indexOf("#")&&!D.test($.className)){var q=0,L=document.getElementById(U.substring(1));if("#"!==U){if(!L)return;q=h.getTopOf(L)}A.preventDefault();var J=function(){window.location=U},pe=h.setup().edgeOffset;pe&&(q=Math.max(0,q-pe),E&&(J=function(){history.pushState({},"",U)})),h.toY(q,null,J)}}},!1)}return h}())?o.apply(b,r):o)&&(y.exports=a)},9024:(y,b,o)=>{"use strict";o.d(b,{S:()=>q});var r=o(47557),a=o(20044),u=o(28211),c=o(19035),e=o(66369),f=o(64537);let h=(()=>{class L{constructor(pe){this.formatter=pe,this.bytesLabels=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],this.bytesPerSecondLabels=["B/s","KiB/s","MiB/s","GiB/s","TiB/s","PiB/s","EiB/s","ZiB/s","YiB/s"],this.secondsLabels=["ns","\u03bcs","ms","s","ks","Ms"],this.unitlessLabels=["","k","M","G","T","P","E","Z","Y"]}formatFromTo(pe,j,ue="",ie,me,Oe=1){return this.formatter.formatNumberFromTo(pe,j,ue,ie,me,Oe)}formatBytesFromTo(pe,j,ue,ie=1){return this.formatFromTo(pe,j,ue,1024,this.bytesLabels,ie)}formatBytesPerSecondFromTo(pe,j,ue,ie=1){return this.formatFromTo(pe,j,ue,1024,this.bytesPerSecondLabels,ie)}formatSecondsFromTo(pe,j,ue,ie=1){return this.formatFromTo(pe,j,ue,1e3,this.secondsLabels,ie)}formatUnitlessFromTo(pe,j,ue="",ie=1){return this.formatFromTo(pe,j,ue,1e3,this.unitlessLabels,ie)}}return L.\u0275fac=function(pe){return new(pe||L)(f.LFG(u.H))},L.\u0275prov=f.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})();o(42085);var T=o(99475),D=o(88692);function A(L,J){if(1&L&&(f.tHW(0,8,2),f._UZ(1,"div"),f.N_p()),2&L){const pe=f.oxw(2).$implicit;f.xp6(1),f.pQV(pe.label),f.QtT(0)}}function $(L,J){if(1&L&&(f.tHW(0,8,3),f._UZ(1,"div"),f.N_p()),2&L){const pe=f.oxw(3);f.xp6(1),f.pQV(pe.maxConvertedValue)(pe.maxConvertedValueUnits),f.QtT(0)}}function Q(L,J){if(1&L&&(f.tHW(0,8,1),f.TgZ(1,"div",10),f._UZ(2,"div",11),f.YNc(3,A,2,1,"div",12),f.YNc(4,$,2,2,"div",12),f.qZA(),f.N_p()),2&L){const pe=f.oxw().$implicit,j=f.oxw();f.xp6(2),f.Udp("background-color",pe.pointBackgroundColor),f.xp6(1),f.Q6J("ngIf",!j.chartTitle.includes(pe.label)),f.xp6(1),f.Q6J("ngIf",j.maxValue&&pe.currentData),f.pQV((null==pe?null:pe.currentData)||"N/A")(null==pe?null:pe.currentDataUnits),f.QtT(0)}}function U(L,J){if(1&L&&(f.TgZ(0,"div"),f.tHW(1,8),f.YNc(2,Q,5,6,"div",9),f.N_p(),f.qZA()),2&L){const pe=J.$implicit;f.xp6(2),f.Q6J("ngIf",0!==pe.data.length)}}let q=(()=>{class L{constructor(pe,j,ue,ie,me,Oe){this.cssHelper=pe,this.dimlessBinary=j,this.dimlessBinaryPerSecond=ue,this.dimlessPipe=ie,this.formatter=me,this.numberFormatter=Oe,this.labelsArray=[],this.decimals=1,this.chartData={dataset:[]},this.options={},this.currentChartData={},this.chartColors=[[this.cssHelper.propertyValue("chart-color-strong-blue"),this.cssHelper.propertyValue("chart-color-translucent-blue")],[this.cssHelper.propertyValue("chart-color-orange"),this.cssHelper.propertyValue("chart-color-translucent-orange")],[this.cssHelper.propertyValue("chart-color-green"),this.cssHelper.propertyValue("chart-color-translucent-green")],[this.cssHelper.propertyValue("chart-color-cyan"),this.cssHelper.propertyValue("chart-color-translucent-cyan")],[this.cssHelper.propertyValue("chart-color-purple"),this.cssHelper.propertyValue("chart-color-translucent-purple")],[this.cssHelper.propertyValue("chart-color-red"),this.cssHelper.propertyValue("chart-color-translucent-red")]],this.chartAreaBorderPlugin=[{beforeDraw(Ue){if(!Ue.options.plugins.borderArea)return;const{ctx:Me,chartArea:{left:yt,top:et,width:tt,height:Et}}=Ue;Me.save(),Me.strokeStyle=Ue.options.plugins.chartAreaBorder.borderColor,Me.lineWidth=Ue.options.plugins.chartAreaBorder.borderWidth,Me.setLineDash(Ue.options.plugins.chartAreaBorder.borderDash||[]),Me.lineDashOffset=Ue.options.plugins.chartAreaBorder.borderDashOffset,Me.strokeRect(yt,et,tt,Et),Me.restore()}}],this.options={plugins:{legend:{display:!1},tooltip:{mode:"index",external:function(Ue){Ue.tooltip.x=10,Ue.tooltip.y=0}.bind(this),intersect:!1,displayColors:!0,backgroundColor:this.cssHelper.propertyValue("chart-color-tooltip-background"),callbacks:{title:function(Ue){return Ue[0].xLabel},label:Ue=>" "+Ue.dataset.label+" - "+Ue.formattedValue+" "+this.chartDataUnits}},borderArea:!0,chartAreaBorder:{borderColor:this.cssHelper.propertyValue("chart-color-slight-dark-gray"),borderWidth:1}},responsive:!0,maintainAspectRatio:!1,animation:!1,elements:{point:{radius:0}},hover:{intersect:!1},scales:{x:{display:!1,type:"time",grid:{display:!1},time:{tooltipFormat:"DD/MM/YYYY - HH:mm:ss"}},y:{afterFit:Ue=>Ue.width=100,grid:{display:!1},beginAtZero:!0,ticks:{maxTicksLimit:4}}}}}ngOnChanges(pe){this.updateChartData(pe)}ngAfterViewInit(){this.updateChartData(null)}updateChartData(pe){for(let j=0;j<this.labelsArray.length;j++){const ue=j%this.chartColors.length;this.chartData.dataset[j]={label:"",data:[],tension:.2,pointBackgroundColor:this.chartColors[ue][0],backgroundColor:this.chartColors[ue][1],borderColor:this.chartColors[ue][0],borderWidth:1,fill:{target:"origin"}},this.chartData.dataset[j].label=this.labelsArray[j]}if(this.setChartTicks(),this.dataArray&&this.dataArray.length&&this.dataArray[0]&&this.dataArray[0].length){this.dataArray=pe?.dataArray?.currentValue||this.dataArray,this.currentChartData=this.chartData;for(let j=0;j<this.dataArray.length;j++){this.chartData.dataset[j].data=this.formatData(this.dataArray[j]);let ue=this.dataArray[j][this.dataArray[j].length-1]?this.dataArray[j][this.dataArray[j].length-1][1]:0;ue&&([this.currentChartData.dataset[j].currentData,this.currentChartData.dataset[j].currentDataUnits]=this.convertUnits(ue).split(" "),[this.maxConvertedValue,this.maxConvertedValueUnits]=this.convertUnits(this.maxValue).split(" "))}}this.chart&&this.chart.chart.update()}formatData(pe){let j={};return j=pe?.map(ue=>({x:1e3*ue[0],y:Number(this.convertToChartDataUnits(ue[1]).replace(/[^\d,.]+/g,""))})),j}convertToChartDataUnits(pe){let j="";return null!==this.chartDataUnits&&(j="B"===this.dataUnits?this.numberFormatter.formatBytesFromTo(pe,this.dataUnits,this.chartDataUnits,this.decimals):"B/s"===this.dataUnits?this.numberFormatter.formatBytesPerSecondFromTo(pe,this.dataUnits,this.chartDataUnits,this.decimals):"ms"===this.dataUnits?this.numberFormatter.formatSecondsFromTo(pe,this.dataUnits,this.chartDataUnits,this.decimals):this.numberFormatter.formatUnitlessFromTo(pe,this.dataUnits,this.chartDataUnits,this.decimals)),j}convertUnits(pe){let j="";return j="B"===this.dataUnits?this.dimlessBinary.transform(pe,this.decimals):"B/s"===this.dataUnits?this.dimlessBinaryPerSecond.transform(pe,this.decimals):"ms"===this.dataUnits?this.formatter.format_number(pe,1e3,["ms","s"],this.decimals):this.dimlessPipe.transform(pe,this.decimals),j}setChartTicks(){if(!this.chart)return void(this.chartDataUnits="");let pe=0,j="";const ue=this.dataArray.reduce((me,Oe)=>me.concat(Oe?.map(Ue=>Ue[1])),[]);pe=Math.max(...ue.map(Number)),[pe,j]=this.convertUnits(pe).split(" "),this.chart.chart.options.scales.y.ticks.callback=me=>0===me?null:j?`${me} ${j}`:`${me}`,this.chartDataUnits=j||"",this.chart.chart.update()}}return L.\u0275fac=function(pe){return new(pe||L)(f.Y36(T.P),f.Y36(r.$),f.Y36(a.O),f.Y36(e.n),f.Y36(u.H),f.Y36(h))},L.\u0275cmp=f.Xpm({type:L,selectors:[["cd-dashboard-area-chart"]],viewQuery:function(pe,j){if(1&pe&&f.Gf(c.jh,5),2&pe){let ue;f.iGM(ue=f.CRH())&&(j.chart=ue.first)}},inputs:{chartTitle:"chartTitle",maxValue:"maxValue",dataUnits:"dataUnits",dataArray:"dataArray",labelsArray:"labelsArray",decimals:"decimals"},features:[f.TTD],decls:9,vars:6,consts:function(){let J,pe;return J="" + "\ufffd0\ufffd" + "",pe="" + "\ufffd*2:1\ufffd\ufffd#1:1\ufffd" + "" + "\ufffd#2:1\ufffd" + "" + "[\ufffd/#2:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*3:2\ufffd|\ufffd/#1:3\ufffd\ufffd/*4:3\ufffd|\ufffd/#1:1\ufffd\ufffd/*2:1\ufffd]" + "" + "\ufffd*3:2\ufffd\ufffd#1:2\ufffd" + "" + "\ufffd0:2\ufffd" + ":" + "[\ufffd/#2:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*3:2\ufffd|\ufffd/#1:3\ufffd\ufffd/*4:3\ufffd|\ufffd/#1:1\ufffd\ufffd/*2:1\ufffd]" + " " + "\ufffd0:1\ufffd" + " " + "\ufffd1:1\ufffd" + " " + "\ufffd*4:3\ufffd\ufffd#1:3\ufffd" + " used of " + "\ufffd0:3\ufffd" + " " + "\ufffd1:3\ufffd" + " " + "[\ufffd/#2:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*3:2\ufffd|\ufffd/#1:3\ufffd\ufffd/*4:3\ufffd|\ufffd/#1:1\ufffd\ufffd/*2:1\ufffd]" + "" + "[\ufffd/#2:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*3:2\ufffd|\ufffd/#1:3\ufffd\ufffd/*4:3\ufffd|\ufffd/#1:1\ufffd\ufffd/*2:1\ufffd]" + "",pe=f.Zx4(pe),[[1,"row","mt-2"],[1,"col-3","d-flex","flex-column","align-self-center"],[1,"chartTitle","pb-2"],J,[4,"ngFor","ngForOf"],[1,"col-9","d-flex","flex-column"],[1,"chart","mt-3"],["baseChart","",3,"datasets","options","type","plugins"],pe,["class","d-inline-flex align-items-center gap-1",4,"ngIf"],[1,"d-inline-flex","align-items-center","gap-1"],[1,"box"],[4,"ngIf"]]},template:function(pe,j){1&pe&&(f.TgZ(0,"div",0)(1,"div",1),f._UZ(2,"br"),f.TgZ(3,"b",2),f.SDv(4,3),f.qZA(),f.YNc(5,U,3,1,"div",4),f.qZA(),f.TgZ(6,"div",5)(7,"div",6),f._UZ(8,"canvas",7),f.qZA()()()),2&pe&&(f.xp6(4),f.pQV(j.chartTitle),f.QtT(4),f.xp6(1),f.Q6J("ngForOf",j.currentChartData.dataset),f.xp6(3),f.Q6J("datasets",j.chartData.dataset)("options",j.options)("type","line")("plugins",j.chartAreaBorderPlugin))},dependencies:[D.sg,D.O5,c.jh],styles:[".chart[_ngcontent-%COMP%]{height:9vh}.box[_ngcontent-%COMP%]{background-color:#0078c8;border:2px double #f0f0f0;height:13px;width:13px}"]}),L})()},54740:(y,b,o)=>{"use strict";o.d(b,{M:()=>E});var r=o(64537),a=o(16738),u=o.n(a),c=o(88692),e=o(87925),f=o(20092);function h(T,D){if(1&T&&(r.TgZ(0,"option",3),r._uU(1),r.qZA()),2&T){const A=D.$implicit;r.Q6J("ngValue",A.value),r.xp6(1),r.hij("",A.name," ")}}let E=(()=>{class T{constructor(){this.selectedTime=new r.vpe,this.times=[{name:"Last 5 minutes",value:this.timeToDate(300,1)},{name:"Last 15 minutes",value:this.timeToDate(900,3)},{name:"Last 30 minutes",value:this.timeToDate(1800,7)},{name:"Last 1 hour",value:this.timeToDate(3600,14)},{name:"Last 3 hours",value:this.timeToDate(10800,42)},{name:"Last 6 hours",value:this.timeToDate(21600,84)},{name:"Last 12 hours",value:this.timeToDate(43200,168)},{name:"Last 24 hours",value:this.timeToDate(86400,336)}],this.time=this.times[3].value}emitTime(){this.selectedTime.emit(this.timeToDate(this.time.end-this.time.start,this.time.step))}timeToDate(A,$){return{start:u()().unix()-A,end:u()().unix(),step:$}}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275cmp=r.Xpm({type:T,selectors:[["cd-dashboard-time-selector"]],outputs:{selectedTime:"selectedTime"},decls:3,vars:2,consts:[[1,"timeSelector"],["id","timepicker","name","timepicker",1,"form-select",3,"ngModel","ngModelChange"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"]],template:function(A,$){1&A&&(r.TgZ(0,"div",0)(1,"select",1),r.NdJ("ngModelChange",function(U){return $.time=U})("ngModelChange",function(){return $.emitTime()}),r.YNc(2,h,2,2,"option",2),r.qZA()()),2&A&&(r.xp6(1),r.Q6J("ngModel",$.time),r.xp6(1),r.Q6J("ngForOf",$.times))},dependencies:[c.sg,e.o,f.YN,f.Kr,f.EJ,f.JJ,f.On],styles:[".timeSelector[_ngcontent-%COMP%]{position:absolute;right:18px;top:20px;width:12rem}"]}),T})()},46767:(y,b,o)=>{"use strict";o.d(b,{d:()=>D});var r=o(88692),a=o(20092),u=o(54247),c=o(51389),e=o(19035),f=o(85770),h=o(44466),E=o(370),T=o(64537);let D=(()=>{class A{}return A.\u0275fac=function(Q){return new(Q||A)},A.\u0275mod=T.oAB({type:A}),A.\u0275inj=T.cJS({imports:[E.t,r.ez,c.Oz,h.m,e.vQ,u.Bz,c.dT,c.HK,a.u5,a.UX,f.t]}),A})()},66265:(y,b,o)=>{"use strict";o.d(b,{B:()=>e});var r=o(88692),a=o(54247),u=o(44466),c=o(64537);let e=(()=>{class f{}return f.\u0275fac=function(E){return new(E||f)},f.\u0275mod=c.oAB({type:f}),f.\u0275inj=c.cJS({imports:[r.ez,u.m,a.Bz]}),f})()},60351:(y,b,o)=>{"use strict";o.d(b,{p:()=>L});var r=o(64762),a=o(35732),u=o(25917),c=o(19773),e=o(93523),f=o(64537);let h=class{constructor(pe){this.http=pe,this.url="api/perf_counters"}list(){return this.http.get(this.url)}get(pe,j){return this.http.get(`${this.url}/${pe}/${j}`).pipe((0,c.zg)(ue=>(0,u.of)(ue.counters)))}};h.\u0275fac=function(pe){return new(pe||h)(f.LFG(a.eN))},h.\u0275prov=f.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h=(0,r.gn)([e.o,(0,r.w6)("design:paramtypes",[a.eN])],h);var E=o(88692),T=o(34501),D=o(83697),A=o(66369);const $=["valueTpl"];function Q(J,pe){if(1&J&&(f._uU(0),f.ALo(1,"dimless")),2&J){const j=pe.row;f.AsE(" ",f.lcZ(1,2,j.value)," ",j.unit," ")}}function U(J,pe){if(1&J){const j=f.EpF();f.TgZ(0,"cd-table",2),f.NdJ("fetchData",function(ie){f.CHM(j);const me=f.oxw();return f.KtG(me.getCounters(ie))}),f.YNc(1,Q,2,4,"ng-template",null,3,f.W1O),f.qZA()}if(2&J){const j=f.oxw();f.Q6J("data",j.counters)("columns",j.columns)("autoSave",!1)}}function q(J,pe){1&J&&(f.TgZ(0,"cd-alert-panel",4),f.SDv(1,5),f.qZA())}let L=(()=>{class J{constructor(j){this.performanceCounterService=j,this.columns=[],this.counters=[]}ngOnInit(){this.columns=[{name:"Name",prop:"name",flexGrow:1},{name:"Description",prop:"description",flexGrow:1},{name:"Value",prop:"value",cellTemplate:this.valueTpl,flexGrow:1}]}getCounters(j){this.performanceCounterService.get(this.serviceType,this.serviceId).subscribe(ue=>{this.counters=ue},ue=>{404===ue.status?(ue.preventDefault(),this.counters=null):j.error()})}}return J.\u0275fac=function(j){return new(j||J)(f.Y36(h))},J.\u0275cmp=f.Xpm({type:J,selectors:[["cd-table-performance-counter"]],viewQuery:function(j,ue){if(1&j&&f.Gf($,5),2&j){let ie;f.iGM(ie=f.CRH())&&(ue.valueTpl=ie.first)}},inputs:{serviceType:"serviceType",serviceId:"serviceId"},decls:3,vars:2,consts:function(){let pe;return pe="Performance counters not available",[["columnMode","flex",3,"data","columns","autoSave","fetchData",4,"ngIf","ngIfElse"],["warning",""],["columnMode","flex",3,"data","columns","autoSave","fetchData"],["valueTpl",""],["type","warning"],pe]},template:function(j,ue){if(1&j&&(f.YNc(0,U,3,3,"cd-table",0),f.YNc(1,q,2,0,"ng-template",null,1,f.W1O)),2&j){const ie=f.MAs(2);f.Q6J("ngIf",ue.counters)("ngIfElse",ie)}},dependencies:[E.O5,T.G,D.a,A.n]}),J})()},43186:(y,b,o)=>{"use strict";o.d(b,{L6:()=>r,VY:()=>c,iG:()=>a,jb:()=>u});class r{}class a{}class u{}class c{}},370:(y,b,o)=>{"use strict";o.d(b,{t:()=>h});var r=o(88692),a=o(51389),u=o(37496),c=o(40267),e=o(44466),f=o(64537);let h=(()=>{class E{}return E.\u0275fac=function(D){return new(D||E)},E.\u0275mod=f.oAB({type:E}),E.\u0275inj=f.cJS({imports:[r.ez,c.t,e.m,a.Oz,u.b]}),E})()},20687:(y,b,o)=>{"use strict";o.d(b,{j:()=>f});var r=o(23815),a=o.n(r),u=o(370);class c{constructor(E){if(this.type=E,!this.isValidType())throw new Error("Wrong placement group category type");this.setTypeStates()}isValidType(){return c.VALID_CATEGORIES.includes(this.type)}setTypeStates(){switch(this.type){case c.CATEGORY_CLEAN:this.states=["active","clean"];break;case c.CATEGORY_WORKING:this.states=["activating","backfill_wait","backfilling","creating","deep","degraded","forced_backfill","forced_recovery","peering","peered","recovering","recovery_wait","repair","scrubbing","snaptrim","snaptrim_wait"];break;case c.CATEGORY_WARNING:this.states=["backfill_toofull","backfill_unfound","down","incomplete","inconsistent","recovery_toofull","recovery_unfound","remapped","snaptrim_error","stale","undersized"];break;default:this.states=[]}}}c.CATEGORY_CLEAN="clean",c.CATEGORY_WORKING="working",c.CATEGORY_WARNING="warning",c.CATEGORY_UNKNOWN="unknown",c.VALID_CATEGORIES=[c.CATEGORY_CLEAN,c.CATEGORY_WORKING,c.CATEGORY_WARNING,c.CATEGORY_UNKNOWN];var e=o(64537);let f=(()=>{class h{constructor(){this.categories=this.createCategories()}getAllTypes(){return c.VALID_CATEGORIES}getTypeByStates(T){const D=this.getPgStatesFromText(T);if(0===D.length)return c.CATEGORY_UNKNOWN;const A=a().zipObject(c.VALID_CATEGORIES,c.VALID_CATEGORIES.map(Q=>a().intersection(this.categories[Q].states,D).length));if(A[c.CATEGORY_WARNING]>0)return c.CATEGORY_WARNING;const $=A[c.CATEGORY_WORKING];return D.length>A[c.CATEGORY_CLEAN]+$?c.CATEGORY_UNKNOWN:$?c.CATEGORY_WORKING:c.CATEGORY_CLEAN}createCategories(){return a().zipObject(c.VALID_CATEGORIES,c.VALID_CATEGORIES.map(T=>new c(T)))}getPgStatesFromText(T){const D=T.replace(/[^a-z_]+/g," ").trim().split(" ");return a().uniq(D)}}return h.\u0275fac=function(T){return new(T||h)},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac,providedIn:u.t}),h})()},13140:(y,b,o)=>{"use strict";o.r(b),o.d(b,{AuthModule:()=>Mo,RoutedAuthModule:()=>Ls});var r=o(88692),a=o(20092),u=o(54247),c=o(51389),e=o(37496),f=o(79512),h=o(44466),E=o(35758),T=o(18001),D=o(93614),A=o(95463),$=o(90070),Q=o(97161),U=(()=>((U||(U={})).editing="editing",U))();class q{}var L=o(64537),J=o(25917),pe=o(19773),j=o(35732);let ue=(()=>{class qr{constructor(Cn){this.http=Cn}list(){return this.http.get("api/role")}delete(Cn){return this.http.delete(`api/role/${Cn}`)}get(Cn){return this.http.get(`api/role/${Cn}`)}create(Cn){return this.http.post("api/role",Cn)}clone(Cn,mn){return this.http.post(`api/role/${Cn}/clone`,{new_name:mn})}update(Cn){return this.http.put(`api/role/${Cn.name}`,Cn)}exists(Cn){return this.list().pipe((0,pe.zg)(mn=>{const kr=mn.some(Qi=>Qi.name===Cn);return(0,J.of)(kr)}))}}return qr.\u0275fac=function(Cn){return new(Cn||qr)(L.LFG(j.eN))},qr.\u0275prov=L.Yz7({token:qr,factory:qr.\u0275fac,providedIn:"root"}),qr})(),ie=(()=>{class qr{constructor(Cn){this.http=Cn}list(){return this.http.get("ui-api/scope")}}return qr.\u0275fac=function(Cn){return new(Cn||qr)(L.LFG(j.eN))},qr.\u0275prov=L.Yz7({token:qr,factory:qr.\u0275fac,providedIn:"root"}),qr})();var me=o(30839),Oe=o(54982),Ue=o(82945),Me=o(63622),yt=o(87925),et=o(94276),tt=o(56310),Et=o(41582),ze=o(10545);function bt(qr,$r){1&qr&&(L.TgZ(0,"span",22),L.SDv(1,23),L.qZA())}function Ct(qr,$r){1&qr&&(L.TgZ(0,"span",22),L.SDv(1,24),L.qZA())}const Qt=function(qr){return{required:qr}};function ht(qr,$r){if(1&qr){const Cn=L.EpF();L.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),L.SDv(5,6),L.ALo(6,"titlecase"),L.ALo(7,"upperFirst"),L.qZA(),L.TgZ(8,"div",7)(9,"div",8)(10,"label",9),L.SDv(11,10),L.qZA(),L.TgZ(12,"div",11),L._UZ(13,"input",12),L.YNc(14,bt,2,0,"span",13),L.YNc(15,Ct,2,0,"span",13),L.qZA()(),L.TgZ(16,"div",8)(17,"label",14),L.SDv(18,15),L.qZA(),L.TgZ(19,"div",11),L._UZ(20,"input",16),L.qZA()(),L.TgZ(21,"div",8)(22,"label",17),L.SDv(23,18),L.qZA(),L.TgZ(24,"div",11),L._UZ(25,"cd-checked-table-form",19),L.qZA()()(),L.TgZ(26,"div",20)(27,"cd-form-button-panel",21),L.NdJ("submitActionEvent",function(){L.CHM(Cn);const kr=L.oxw();return L.KtG(kr.submit())}),L.ALo(28,"titlecase"),L.ALo(29,"upperFirst"),L.qZA()()()()()}if(2&qr){const Cn=L.MAs(2),mn=L.oxw();L.xp6(1),L.Q6J("formGroup",mn.roleForm),L.xp6(6),L.pQV(L.lcZ(6,13,mn.action))(L.lcZ(7,15,mn.resource)),L.QtT(5),L.xp6(3),L.Q6J("ngClass",L.VKq(21,Qt,mn.mode!==mn.roleFormMode.editing)),L.xp6(4),L.Q6J("ngIf",mn.roleForm.showError("name",Cn,"required")),L.xp6(1),L.Q6J("ngIf",mn.roleForm.showError("name",Cn,"notUnique")),L.xp6(10),L.Q6J("data",mn.scopes_permissions)("columns",mn.columns)("form",mn.roleForm)("scopes",mn.scopes)("initialValue",mn.initialValue),L.xp6(2),L.Q6J("form",mn.roleForm)("submitText",L.lcZ(28,17,mn.action)+" "+L.lcZ(29,19,mn.resource))}}let en=(()=>{class qr extends D.E{constructor(Cn,mn,kr,Qi,xo,Ss){super(),this.route=Cn,this.router=mn,this.roleService=kr,this.scopeService=Qi,this.notificationService=xo,this.actionLabels=Ss,this.scopes=[],this.scopes_permissions=[],this.initialValue={},this.roleFormMode=U,this.resource="role",this.createForm()}createForm(){this.roleForm=new A.d({name:new a.p4("",{validators:[a.kI.required],asyncValidators:[$.h.unique(this.roleService.exists,this.roleService)]}),description:new a.p4(""),scopes_permissions:new a.p4({})})}ngOnInit(){this.columns=[{prop:"scope",name:"All",flexGrow:2},{prop:"read",name:"Read",flexGrow:1,cellClass:"text-center"},{prop:"create",name:"Create",flexGrow:1,cellClass:"text-center"},{prop:"update",name:"Update",flexGrow:1,cellClass:"text-center"},{prop:"delete",name:"Delete",flexGrow:1,cellClass:"text-center"}],this.router.url.startsWith("/user-management/roles/edit")?(this.mode=this.roleFormMode.editing,this.action=this.actionLabels.EDIT):this.action=this.actionLabels.CREATE,this.mode===this.roleFormMode.editing?this.initEdit():this.initCreate()}initCreate(){this.scopeService.list().subscribe(Cn=>{this.scopes=Cn,this.loadingReady()})}initEdit(){this.roleForm.get("name").disable(),this.route.params.subscribe(Cn=>{const mn=[];mn.push(this.scopeService.list()),mn.push(this.roleService.get(Cn.name)),(0,E.D)(mn).subscribe(kr=>{this.scopes=kr[0],["name","description","scopes_permissions"].forEach(Qi=>this.roleForm.get(Qi).setValue(kr[1][Qi])),this.initialValue=kr[1].scopes_permissions,this.loadingReady()})})}getRequest(){const Cn=new q;return["name","description","scopes_permissions"].forEach(mn=>Cn[mn]=this.roleForm.get(mn).value),Cn}createAction(){const Cn=this.getRequest();this.roleService.create(Cn).subscribe(()=>{this.notificationService.show(T.k.success,"Created role '" + Cn.name + "'"),this.router.navigate(["/user-management/roles"])},()=>{this.roleForm.setErrors({cdSubmitButton:!0})})}editAction(){const Cn=this.getRequest();this.roleService.update(Cn).subscribe(()=>{this.notificationService.show(T.k.success,"Updated role '" + Cn.name + "'"),this.router.navigate(["/user-management/roles"])},()=>{this.roleForm.setErrors({cdSubmitButton:!0})})}submit(){this.mode===this.roleFormMode.editing?this.editAction():this.createAction()}}return qr.\u0275fac=function(Cn){return new(Cn||qr)(L.Y36(u.gz),L.Y36(u.F0),L.Y36(ue),L.Y36(ie),L.Y36(Q.g),L.Y36(f.p4))},qr.\u0275cmp=L.Xpm({type:qr,selectors:[["cd-role-form"]],features:[L.qOj],decls:1,vars:1,consts:function(){let $r,Cn,mn,kr,Qi,xo,Ss,bs;return $r="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",Cn="Name",mn="Name...",kr="Description",Qi="Description...",xo="Permissions",Ss="This field is required.",bs="The chosen name is already in use.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","roleForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],$r,[1,"card-body"],[1,"form-group","row"],["for","name",1,"cd-col-form-label",3,"ngClass"],Cn,[1,"cd-col-form-input"],["type","text","placeholder",mn,"id","name","name","name","formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","description",1,"cd-col-form-label"],kr,["type","text","placeholder",Qi,"id","description","name","description","formControlName","description",1,"form-control"],[1,"cd-col-form-label"],xo,["inputField","scopes_permissions",3,"data","columns","form","scopes","initialValue"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],Ss,bs]},template:function(Cn,mn){1&Cn&&L.YNc(0,ht,30,23,"div",0),2&Cn&&L.Q6J("cdFormLoading",mn.loading)},dependencies:[r.mk,r.O5,a._Y,a.Fj,a.JJ,a.JL,a.sg,a.u,me.p,Oe.l,Ue.U,Me.y,yt.o,et.b,tt.P,Et.V,r.rS,ze.m],styles:[".datatable-permissions-header-cell-label[_ngcontent-%COMP%], .datatable-permissions-scope-cell-label[_ngcontent-%COMP%]{font-weight:700}"]}),qr})();var nn=o(68136),bn=o(30982),Dn=o(65683),Rt=o(99466),Xt=o(65862),un=o(68774),_n=o(41039),kn=o(51847),ri=o(47640),Ir=o(63285),wr=o(83697),_r=o(94928),oi=o(23815),Ri=o.n(oi);function Tr(qr,$r){if(1&qr&&(L.ynx(0),L._UZ(1,"cd-table",1),L.BQk()),2&qr){const Cn=L.oxw();L.xp6(1),L.Q6J("data",Cn.scopes_permissions)("columns",Cn.columns)("toolHeader",!1)("autoReload",!1)("autoSave",!1)("footer",!1)("limit",0)}}let ft=(()=>{class qr{constructor(){this.scopes_permissions=[]}ngOnInit(){this.columns=[{prop:"scope",name:"Scope",flexGrow:2},{prop:"read",name:"Read",flexGrow:1,cellClass:"text-center",cellTransformation:Rt.e.checkIcon},{prop:"create",name:"Create",flexGrow:1,cellClass:"text-center",cellTransformation:Rt.e.checkIcon},{prop:"update",name:"Update",flexGrow:1,cellClass:"text-center",cellTransformation:Rt.e.checkIcon},{prop:"delete",name:"Delete",flexGrow:1,cellClass:"text-center",cellTransformation:Rt.e.checkIcon}]}ngOnChanges(){if(this.selection){this.selectedItem=this.selection;const Cn=[];Ri().each(this.scopes,mn=>{const kr={read:!1,create:!1,update:!1,delete:!1};kr.scope=mn,mn in this.selectedItem.scopes_permissions&&Ri().each(this.selectedItem.scopes_permissions[mn],Qi=>{kr[Qi]=!0}),Cn.push(kr)}),this.scopes_permissions=Cn}}}return qr.\u0275fac=function(Cn){return new(Cn||qr)},qr.\u0275cmp=L.Xpm({type:qr,selectors:[["cd-role-details"]],inputs:{selection:"selection",scopes:"scopes"},features:[L.TTD],decls:1,vars:1,consts:[[4,"ngIf"],["columnMode","flex",3,"data","columns","toolHeader","autoReload","autoSave","footer","limit"]],template:function(Cn,mn){1&Cn&&L.YNc(0,Tr,2,7,"ng-container",0),2&Cn&&L.Q6J("ngIf",mn.selection)},dependencies:[r.O5,wr.a],styles:[".fa[_ngcontent-%COMP%]{font-size:large}.fa.fa-square-o[_ngcontent-%COMP%]{color:#ced4da}"]}),qr})();const sn=function(){return{exact:!0}};let At=(()=>{class qr{constructor(Cn){this.router=Cn}}return qr.\u0275fac=function(Cn){return new(Cn||qr)(L.Y36(u.F0))},qr.\u0275cmp=L.Xpm({type:qr,selectors:[["cd-user-tabs"]],decls:7,vars:4,consts:function(){let $r,Cn;return $r="Users",Cn="Roles",[[1,"nav","nav-tabs"],[1,"nav-item"],["routerLink","/user-management/users","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],$r,["routerLink","/user-management/roles","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],Cn]},template:function(Cn,mn){1&Cn&&(L.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),L.SDv(3,3),L.qZA()(),L.TgZ(4,"li",1)(5,"a",4),L.SDv(6,5),L.qZA()()()),2&Cn&&(L.xp6(2),L.Q6J("routerLinkActiveOptions",L.DdM(2,sn)),L.xp6(3),L.Q6J("routerLinkActiveOptions",L.DdM(3,sn)))},dependencies:[u.rH,u.Od]}),qr})(),rr=(()=>{class qr extends nn.o{constructor(Cn,mn,kr,Qi,xo,Ss,bs,ko){super(),this.roleService=Cn,this.scopeService=mn,this.emptyPipe=kr,this.authStorageService=Qi,this.modalService=xo,this.notificationService=Ss,this.urlBuilder=bs,this.actionLabels=ko,this.selection=new un.r,this.permission=this.authStorageService.getPermissions().user,this.tableActions=[{permission:"create",icon:Xt.P.add,routerLink:()=>this.urlBuilder.getCreate(),name:this.actionLabels.CREATE},{permission:"create",icon:Xt.P.clone,name:this.actionLabels.CLONE,disable:()=>!this.selection.hasSingleSelection,click:()=>this.cloneRole()},{permission:"update",icon:Xt.P.edit,disable:()=>!this.selection.hasSingleSelection||this.selection.first().system,routerLink:()=>this.selection.first()&&this.urlBuilder.getEdit(this.selection.first().name),name:this.actionLabels.EDIT},{permission:"delete",icon:Xt.P.destroy,disable:()=>!this.selection.hasSingleSelection||this.selection.first().system,click:()=>this.deleteRoleModal(),name:this.actionLabels.DELETE}]}ngOnInit(){this.columns=[{name:"Name",prop:"name",flexGrow:3},{name:"Description",prop:"description",flexGrow:5,pipe:this.emptyPipe},{name:"System Role",prop:"system",cellClass:"text-center",flexGrow:1,cellTransformation:Rt.e.checkIcon}]}getRoles(){(0,E.D)([this.roleService.list(),this.scopeService.list()]).subscribe(Cn=>{this.roles=Cn[0],this.scopes=Cn[1]})}updateSelection(Cn){this.selection=Cn}deleteRole(Cn){this.roleService.delete(Cn).subscribe(()=>{this.getRoles(),this.modalRef.close(),this.notificationService.show(T.k.success,"Deleted role '" + Cn + "'")},()=>{this.modalRef.componentInstance.stopLoadingSpinner()})}deleteRoleModal(){const Cn=this.selection.first().name;this.modalRef=this.modalService.show(bn.M,{itemDescription:"Role",itemNames:[Cn],submitAction:()=>this.deleteRole(Cn)})}cloneRole(){const Cn=this.selection.first().name;this.modalRef=this.modalService.show(Dn.X,{fields:[{type:"text",name:"newName",value:`${Cn}_clone`,label:"New name",required:!0}],titleText:"Clone Role",submitButtonText:"Clone Role",onSubmit:mn=>{this.roleService.clone(Cn,mn.newName).subscribe(()=>{this.getRoles(),this.notificationService.show(T.k.success,"Cloned role '" + mn.newName + "' from '" + Cn + "'")})}})}}return qr.\u0275fac=function(Cn){return new(Cn||qr)(L.Y36(ue),L.Y36(ie),L.Y36(_n.W),L.Y36(ri.j),L.Y36(Ir.Z),L.Y36(Q.g),L.Y36(kn.F),L.Y36(f.p4))},qr.\u0275cmp=L.Xpm({type:qr,selectors:[["cd-role-list"]],features:[L._Bn([{provide:kn.F,useValue:new kn.F("user-management/roles")}]),L.qOj],decls:4,vars:8,consts:[["columnMode","flex","identifier","name","selectionType","single",3,"data","columns","hasDetails","setExpandedRow","fetchData","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection","scopes"]],template:function(Cn,mn){1&Cn&&(L._UZ(0,"cd-user-tabs"),L.TgZ(1,"cd-table",0),L.NdJ("setExpandedRow",function(Qi){return mn.setExpandedRow(Qi)})("fetchData",function(){return mn.getRoles()})("updateSelection",function(Qi){return mn.updateSelection(Qi)}),L._UZ(2,"cd-table-actions",1)(3,"cd-role-details",2),L.qZA()),2&Cn&&(L.xp6(1),L.Q6J("data",mn.roles)("columns",mn.columns)("hasDetails",!0),L.xp6(1),L.Q6J("permission",mn.permission)("selection",mn.selection)("tableActions",mn.tableActions),L.xp6(1),L.Q6J("selection",mn.expandedRow)("scopes",mn.scopes))},dependencies:[wr.a,_r.K,ft,At]}),qr})();var Lr=o(16738),Fi=o.n(Lr),so=o(39219),Vo=o(9837),Xr=o(36169),Ni=o(7022),ji=o(51907),jr=o(81354),Pr=(()=>((Pr||(Pr={})).editing="editing",Pr))();class Bo{}var cs=o(32057),ts=o(62862),io=o(18372),Vi=o(60192),Pn=o(52266),Nn=o(4416),Ut=o(12594);const ke=["removeSelfUserReadUpdatePermissionTpl"];function Ie(qr,$r){1&qr&&(L.TgZ(0,"span",28),L.SDv(1,29),L.qZA())}function Qe(qr,$r){1&qr&&(L.TgZ(0,"span",28),L.SDv(1,30),L.qZA())}function Ve(qr,$r){if(1&qr&&L._UZ(0,"cd-helper",39),2&qr){const Cn=L.oxw(3);L.s9C("html",Cn.passwordPolicyHelpText)}}function tn(qr,$r){1&qr&&(L.TgZ(0,"span",28),L.SDv(1,40),L.qZA())}function ot(qr,$r){if(1&qr&&(L.TgZ(0,"span",28),L._uU(1),L.qZA()),2&qr){const Cn=L.oxw(3);L.xp6(1),L.hij(" ",Cn.passwordValuation," ")}}function xt(qr,$r){if(1&qr&&(L.TgZ(0,"div",10)(1,"label",31),L.ynx(2),L.SDv(3,32),L.BQk(),L.YNc(4,Ve,1,1,"cd-helper",33),L.qZA(),L.TgZ(5,"div",13)(6,"div",34),L._UZ(7,"input",35)(8,"button",36),L.qZA(),L.TgZ(9,"div",37),L._UZ(10,"div",38),L.qZA(),L.YNc(11,tn,2,0,"span",15),L.YNc(12,ot,2,1,"span",15),L.qZA()()),2&qr){L.oxw();const Cn=L.MAs(2),mn=L.oxw();L.xp6(4),L.Q6J("ngIf",mn.passwordPolicyHelpText.length>0),L.xp6(6),L.Tol(mn.passwordStrengthLevelClass),L.s9C("title",mn.passwordValuation),L.xp6(1),L.Q6J("ngIf",mn.userForm.showError("password",Cn,"required")),L.xp6(1),L.Q6J("ngIf",mn.userForm.showError("password",Cn,"passwordPolicy"))}}function qt(qr,$r){1&qr&&(L.TgZ(0,"span",28),L.SDv(1,45),L.qZA())}function tr(qr,$r){1&qr&&(L.TgZ(0,"span",28),L.SDv(1,46),L.qZA())}function vr(qr,$r){if(1&qr&&(L.TgZ(0,"div",10)(1,"label",41),L.SDv(2,42),L.qZA(),L.TgZ(3,"div",13)(4,"div",34),L._UZ(5,"input",43)(6,"button",44),L.YNc(7,qt,2,0,"span",15),L.qZA(),L.YNc(8,tr,2,0,"span",15),L.qZA()()),2&qr){L.oxw();const Cn=L.MAs(2),mn=L.oxw();L.xp6(7),L.Q6J("ngIf",mn.userForm.showError("confirmpassword",Cn,"match")),L.xp6(1),L.Q6J("ngIf",mn.userForm.showError("confirmpassword",Cn,"required"))}}function An(qr,$r){1&qr&&(L.TgZ(0,"cd-helper",53)(1,"p"),L._uU(2," The Dashboard setting defining the expiration interval of passwords is currently set to "),L.TgZ(3,"strong"),L._uU(4,"0"),L.qZA(),L._uU(5,". This means if a date is set, the user password will only expire once. "),L.qZA(),L.TgZ(6,"p"),L._uU(7," Consider configuring the Dashboard setting "),L.TgZ(8,"a",54),L._uU(9,"USER_PWD_EXPIRATION_SPAN"),L.qZA(),L._uU(10," in order to let passwords expire periodically. "),L.qZA()())}function yr(qr,$r){1&qr&&(L.TgZ(0,"span",28),L.SDv(1,55),L.qZA())}const Nr=function(qr){return{required:qr}};function nr(qr,$r){if(1&qr){const Cn=L.EpF();L.TgZ(0,"div",10)(1,"label",47),L.ynx(2),L.SDv(3,48),L.BQk(),L.YNc(4,An,11,0,"cd-helper",49),L.qZA(),L.TgZ(5,"div",13)(6,"div",34)(7,"input",50,51),L.NdJ("click",function(){L.CHM(Cn);const kr=L.MAs(8);return L.KtG(kr.open())})("keypress",function(){L.CHM(Cn);const kr=L.MAs(8);return L.KtG(kr.close())}),L.qZA(),L.TgZ(9,"button",52),L.NdJ("click",function(){L.CHM(Cn);const kr=L.oxw(2);return L.KtG(kr.clearExpirationDate())}),L._UZ(10,"i"),L.qZA(),L.YNc(11,yr,2,0,"span",15),L.qZA()()()}if(2&qr){L.oxw();const Cn=L.MAs(2),mn=L.oxw(),kr=L.MAs(4);L.xp6(1),L.Q6J("ngClass",L.VKq(7,Nr,mn.pwdExpirationSettings.pwdExpirationSpan>0)),L.xp6(3),L.Q6J("ngIf",0==mn.pwdExpirationSettings.pwdExpirationSpan),L.xp6(3),L.Q6J("ngbPopover",kr),L.xp6(3),L.Gre("icon-prepend ",mn.icons.destroy,""),L.xp6(1),L.Q6J("ngIf",mn.userForm.showError("pwdExpirationDate",Cn,"required"))}}function Qn(qr,$r){1&qr&&(L.TgZ(0,"span",28),L.SDv(1,56),L.qZA())}function dr(qr,$r){if(1&qr&&(L.TgZ(0,"span",57),L._UZ(1,"cd-select-badges",58),L.qZA()),2&qr){const Cn=L.oxw(2);L.xp6(1),L.Q6J("data",Cn.userForm.controls.roles.value)("options",Cn.allRoles)("messages",Cn.messages)}}function Wn(qr,$r){1&qr&&(L.TgZ(0,"div",10)(1,"div",59)(2,"div",60),L._UZ(3,"input",61),L.TgZ(4,"label",62),L.SDv(5,63),L.qZA()()()())}function Wt(qr,$r){1&qr&&(L.TgZ(0,"div",10)(1,"div",59)(2,"div",60),L._UZ(3,"input",64),L.TgZ(4,"label",65),L.SDv(5,66),L.qZA()()()())}function kt(qr,$r){if(1&qr){const Cn=L.EpF();L.TgZ(0,"div",3)(1,"form",4,5)(3,"div",6)(4,"div",7),L.SDv(5,8),L.ALo(6,"titlecase"),L.ALo(7,"upperFirst"),L.qZA(),L.TgZ(8,"div",9)(9,"div",10)(10,"label",11),L.SDv(11,12),L.qZA(),L.TgZ(12,"div",13),L._UZ(13,"input",14),L.YNc(14,Ie,2,0,"span",15),L.YNc(15,Qe,2,0,"span",15),L.qZA()(),L.YNc(16,xt,13,7,"div",16),L.YNc(17,vr,9,2,"div",16),L.YNc(18,nr,12,9,"div",16),L.TgZ(19,"div",10)(20,"label",17),L.SDv(21,18),L.qZA(),L.TgZ(22,"div",13),L._UZ(23,"input",19),L.qZA()(),L.TgZ(24,"div",10)(25,"label",20),L.SDv(26,21),L.qZA(),L.TgZ(27,"div",13),L._UZ(28,"input",22),L.YNc(29,Qn,2,0,"span",15),L.qZA()(),L.TgZ(30,"div",10)(31,"label",23),L.SDv(32,24),L.qZA(),L.TgZ(33,"div",13),L.YNc(34,dr,2,3,"span",25),L.qZA()(),L.YNc(35,Wn,6,0,"div",16),L.YNc(36,Wt,6,0,"div",16),L.qZA(),L.TgZ(37,"div",26)(38,"cd-form-button-panel",27),L.NdJ("submitActionEvent",function(){L.CHM(Cn);const kr=L.oxw();return L.KtG(kr.submit())}),L.ALo(39,"titlecase"),L.ALo(40,"upperFirst"),L.qZA()()()()()}if(2&qr){const Cn=L.MAs(2),mn=L.oxw();L.xp6(1),L.Q6J("formGroup",mn.userForm),L.xp6(6),L.pQV(L.lcZ(6,15,mn.action))(L.lcZ(7,17,mn.resource)),L.QtT(5),L.xp6(3),L.Q6J("ngClass",L.VKq(23,Nr,mn.mode!==mn.userFormMode.editing)),L.xp6(4),L.Q6J("ngIf",mn.userForm.showError("username",Cn,"required")),L.xp6(1),L.Q6J("ngIf",mn.userForm.showError("username",Cn,"notUnique")),L.xp6(1),L.Q6J("ngIf",!mn.authStorageService.isSSO()),L.xp6(1),L.Q6J("ngIf",!mn.authStorageService.isSSO()),L.xp6(1),L.Q6J("ngIf",!mn.authStorageService.isSSO()),L.xp6(11),L.Q6J("ngIf",mn.userForm.showError("email",Cn,"email")),L.xp6(5),L.Q6J("ngIf",mn.allRoles),L.xp6(1),L.Q6J("ngIf",!mn.isCurrentUser()),L.xp6(1),L.Q6J("ngIf",!mn.isCurrentUser()&&!mn.authStorageService.isSSO()),L.xp6(2),L.Q6J("form",mn.userForm)("submitText",L.lcZ(39,19,mn.action)+" "+L.lcZ(40,21,mn.resource))}}function st(qr,$r){1&qr&&(L.TgZ(0,"p")(1,"strong"),L.SDv(2,67),L.qZA()(),L._UZ(3,"br"),L.TgZ(4,"p"),L.SDv(5,68),L.qZA(),L.ynx(6),L.SDv(7,69),L.BQk())}function zt(qr,$r){if(1&qr&&L._UZ(0,"cd-date-time-picker",70),2&qr){const Cn=L.oxw();L.Q6J("control",Cn.userForm.get("pwdExpirationDate"))("hasTime",!1)}}let er=(()=>{class qr extends D.E{constructor(Cn,mn,kr,Qi,xo,Ss,bs,ko,$s,ps,Ys,ra){super(),this.authService=Cn,this.authStorageService=mn,this.route=kr,this.router=Qi,this.modalService=xo,this.roleService=Ss,this.userService=bs,this.notificationService=ko,this.actionLabels=$s,this.passwordPolicyService=ps,this.formBuilder=Ys,this.settingsService=ra,this.userFormMode=Pr,this.messages=new Ni.a({empty:"There are no roles."}),this.passwordPolicyHelpText="",this.icons=Xt.P,this.pwdExpirationFormat="YYYY-MM-DD",this.resource="user",this.createForm(),this.messages=new Ni.a({empty:"There are no roles."})}createForm(){this.passwordPolicyService.getHelpText().subscribe(Cn=>{this.passwordPolicyHelpText=Cn}),this.userForm=this.formBuilder.group({username:["",[a.kI.required],[$.h.unique(this.userService.validateUserName,this.userService)]],name:[""],password:["",[],[$.h.passwordPolicy(this.userService,()=>this.userForm.getValue("username"),(Cn,mn,kr)=>{this.passwordStrengthLevelClass=this.passwordPolicyService.mapCreditsToCssClass(mn),this.passwordValuation=Ri().defaultTo(kr,"")})]],confirmpassword:[""],pwdExpirationDate:[void 0],email:["",[$.h.email]],roles:[[]],enabled:[!0,[a.kI.required]],pwdUpdateRequired:[!0]},{validators:[$.h.match("password","confirmpassword")]})}ngOnInit(){this.router.url.startsWith("/user-management/users/edit")?(this.mode=this.userFormMode.editing,this.action=this.actionLabels.EDIT):this.action=this.actionLabels.CREATE;const Cn=[this.roleService.list(),this.settingsService.getStandardSettings()];(0,E.D)(Cn).subscribe(mn=>{if(this.allRoles=Ri().map(mn[0],kr=>(kr.enabled=!0,kr)),this.pwdExpirationSettings=new ji.G(mn[1]),this.mode===this.userFormMode.editing)this.initEdit();else{if(this.pwdExpirationSettings.pwdExpirationSpan>0){const kr=this.userForm.get("pwdExpirationDate"),Qi=Fi()();Qi.add(this.pwdExpirationSettings.pwdExpirationSpan,"day"),kr.setValue(Qi.format(this.pwdExpirationFormat)),kr.setValidators([a.kI.required])}this.loadingReady()}})}initEdit(){this.disableForEdit(),this.route.params.subscribe(Cn=>{this.userService.get(Cn.username).subscribe(kr=>{this.response=Ri().cloneDeep(kr),this.setResponse(kr),this.loadingReady()})})}disableForEdit(){this.userForm.get("username").disable()}setResponse(Cn){["username","name","email","roles","enabled","pwdUpdateRequired"].forEach(kr=>this.userForm.get(kr).setValue(Cn[kr]));const mn=Cn.pwdExpirationDate;mn&&this.userForm.get("pwdExpirationDate").setValue(Fi()(1e3*mn).format(this.pwdExpirationFormat))}getRequest(){const Cn=new Bo;["username","password","name","email","roles","enabled","pwdUpdateRequired"].forEach(kr=>Cn[kr]=this.userForm.get(kr).value);const mn=this.userForm.get("pwdExpirationDate").value;if(mn){const kr=Fi()(mn,this.pwdExpirationFormat);(this.mode!==this.userFormMode.editing||this.response.pwdExpirationDate!==kr.unix())&&kr.set({hour:23,minute:59,second:59}),Cn.pwdExpirationDate=kr.unix()}return Cn}createAction(){const Cn=this.getRequest();this.userService.create(Cn).subscribe(()=>{this.notificationService.show(T.k.success,"Created user '" + Cn.username + "'"),this.router.navigate(["/user-management/users"])},()=>{this.userForm.setErrors({cdSubmitButton:!0})})}editAction(){if(this.isUserRemovingNeededRolePermissions()){const Cn={titleText:"Update user",buttonText:"Continue",bodyTpl:this.removeSelfUserReadUpdatePermissionTpl,onSubmit:()=>{this.modalRef.close(),this.doEditAction()},onCancel:()=>{this.userForm.setErrors({cdSubmitButton:!0}),this.userForm.get("roles").reset(this.userForm.get("roles").value)}};this.modalRef=this.modalService.show(Xr.Y,Cn)}else this.doEditAction()}isCurrentUser(){return this.authStorageService.getUsername()===this.userForm.getValue("username")}isUserChangingRoles(){return this.isCurrentUser()&&this.response&&!Ri().isEqual(this.response.roles,this.userForm.getValue("roles"))}isUserRemovingNeededRolePermissions(){return this.isCurrentUser()&&!this.hasUserReadUpdatePermissions(this.userForm.getValue("roles"))}hasUserReadUpdatePermissions(Cn=[]){for(const mn of this.allRoles)if(-1!==Cn.indexOf(mn.name)&&mn.scopes_permissions.user){const kr=mn.scopes_permissions.user;return["read","update"].every(Qi=>-1!==kr.indexOf(Qi))}return!1}doEditAction(){const Cn=this.getRequest();this.userService.update(Cn).subscribe(()=>{this.isUserChangingRoles()?this.authService.logout(()=>{this.notificationService.show(T.k.info,"You were automatically logged out because your roles have been changed.")}):(this.notificationService.show(T.k.success,"Updated user '" + Cn.username + "'"),this.router.navigate(["/user-management/users"]))},()=>{this.userForm.setErrors({cdSubmitButton:!0})})}clearExpirationDate(){this.userForm.get("pwdExpirationDate").setValue(void 0)}submit(){this.mode===this.userFormMode.editing?this.editAction():this.createAction()}}return qr.\u0275fac=function(Cn){return new(Cn||qr)(L.Y36(so.e),L.Y36(ri.j),L.Y36(u.gz),L.Y36(u.F0),L.Y36(Ir.Z),L.Y36(ue),L.Y36(cs.K),L.Y36(Q.g),L.Y36(f.p4),L.Y36(jr.q),L.Y36(ts.O),L.Y36(Vo.g))},qr.\u0275cmp=L.Xpm({type:qr,selectors:[["cd-user-form"]],viewQuery:function(Cn,mn){if(1&Cn&&L.Gf(ke,7),2&Cn){let kr;L.iGM(kr=L.CRH())&&(mn.removeSelfUserReadUpdatePermissionTpl=kr.first)}},features:[L.qOj],decls:5,vars:1,consts:function(){let $r,Cn,mn,kr,Qi,xo,Ss,bs,ko,$s,ps,Ys,ra,Do,oc,Ql,tl,Da,Ga,Pl,Eo,Ra;return $r="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",Cn="Username",mn="White spaces at the beginning and end will be trimmed",kr="Full name",Qi="Email",xo="Roles",Ss="This field is required.",bs="The username already exists.",ko="Password",$s="This field is required.",ps="Confirm password",Ys="Password confirmation doesn't match the password.",ra="This field is required.",Do="Password expiration date",oc="Password expiration date...",Ql="This field is required.",tl="Invalid email.",Da="Enabled",Ga="User must change password at next logon",Pl="You are about to remove \"user read / update\" permissions from your own user.",Eo="If you continue, you will no longer be able to add or remove roles from any user.",Ra="Are you sure you want to continue?",[["class","cd-col-form",4,"cdFormLoading"],["removeSelfUserReadUpdatePermissionTpl",""],["popContent",""],[1,"cd-col-form"],["name","userForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],$r,[1,"card-body"],[1,"form-group","row"],["for","username",1,"cd-col-form-label",3,"ngClass"],Cn,[1,"cd-col-form-input"],["type","text","placeholder","Username...","id","username","name","username","formControlName","username","autocomplete","off","autofocus","","ngbTooltip",mn,"cdTrim","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["class","form-group row",4,"ngIf"],["for","name",1,"cd-col-form-label"],kr,["type","text","placeholder","Full name...","id","name","name","name","formControlName","name",1,"form-control"],["for","email",1,"cd-col-form-label"],Qi,["type","email","placeholder","Email...","id","email","name","email","formControlName","email",1,"form-control"],[1,"cd-col-form-label"],xo,["class","no-border full-height",4,"ngIf"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],Ss,bs,["for","password",1,"cd-col-form-label"],ko,["class","text-pre-wrap",3,"html",4,"ngIf"],[1,"input-group"],["type","password","placeholder","Password...","id","password","name","password","autocomplete","new-password","formControlName","password",1,"form-control"],["type","button","cdPasswordButton","password",1,"btn","btn-light"],[1,"password-strength-level"],["data-toggle","tooltip",3,"title"],[1,"text-pre-wrap",3,"html"],$s,["for","confirmpassword",1,"cd-col-form-label"],ps,["type","password","placeholder","Confirm password...","id","confirmpassword","name","confirmpassword","autocomplete","new-password","formControlName","confirmpassword",1,"form-control"],["type","button","cdPasswordButton","confirmpassword",1,"btn","btn-light"],Ys,ra,["for","pwdExpirationDate",1,"cd-col-form-label",3,"ngClass"],Do,["class","text-pre-wrap",4,"ngIf"],["placeholder",oc,"id","pwdExpirationDate","name","pwdExpirationDate","formControlName","pwdExpirationDate","triggers","manual",1,"form-control",3,"ngbPopover","click","keypress"],["p","ngbPopover"],["type","button",1,"btn","btn-light",3,"click"],[1,"text-pre-wrap"],["routerLink","/mgr-modules/edit/dashboard",1,"alert-link"],Ql,tl,[1,"no-border","full-height"],[3,"data","options","messages"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","enabled","name","enabled","formControlName","enabled",1,"custom-control-input"],["for","enabled",1,"custom-control-label"],Da,["type","checkbox","id","pwdUpdateRequired","name","pwdUpdateRequired","formControlName","pwdUpdateRequired",1,"custom-control-input"],["for","pwdUpdateRequired",1,"custom-control-label"],Ga,Pl,Eo,Ra,[3,"control","hasTime"]]},template:function(Cn,mn){1&Cn&&(L.YNc(0,kt,41,25,"div",0),L.YNc(1,st,8,0,"ng-template",null,1,L.W1O),L.YNc(3,zt,1,2,"ng-template",null,2,L.W1O)),2&Cn&&L.Q6J("cdFormLoading",mn.loading)},dependencies:[r.mk,r.O5,a._Y,a.Fj,a.Wl,a.JJ,a.JL,a.sg,a.u,io.S,Vi.m,Pn.J,me.p,Ue.U,Nn.C,Ut.$,Me.y,yt.o,et.b,tt.P,Et.V,c.o8,u.rH,c._L,r.rS,ze.m]}),qr})();var Kr=o(96102),mi=o(94088);const gi=["userRolesTpl"],Jo=["warningTpl"],os=["durationTpl"];function hr(qr,$r){if(1&qr&&(L.TgZ(0,"span"),L._uU(1),L.qZA()),2&qr){const Cn=$r.$implicit,mn=$r.last;L.xp6(1),L.AsE(" ",Cn,"",mn?"":", "," ")}}function Ii(qr,$r){1&qr&&L.YNc(0,hr,2,2,"span",5),2&qr&&L.Q6J("ngForOf",$r.value)}function ni(qr,$r){if(1&qr&&(L.TgZ(0,"div",6)(1,"div",7),L._uU(2),L.qZA()()),2&qr){const Cn=$r.value,mn=$r.row,kr=L.oxw();L.ekj("border-danger",mn.remainingDays<kr.expirationDangerAlert)("border-warning",mn.remainingDays<kr.expirationWarningAlert&&mn.remainingDays>=kr.expirationDangerAlert),L.xp6(2),L.hij(" ",Cn," ")}}function Vr(qr,$r){if(1&qr&&L._UZ(0,"i",10),2&qr){const Cn=L.oxw().row,mn=L.oxw();L.Tol(mn.icons.warning),L.ekj("icon-danger-color",Cn.remainingDays<mn.expirationDangerAlert)("icon-warning-color",Cn.remainingDays<mn.expirationWarningAlert&&Cn.remainingDays>=mn.expirationDangerAlert)}}function wi(qr,$r){if(1&qr&&(L.YNc(0,Vr,1,7,"i",8),L.TgZ(1,"span",9),L.ALo(2,"cdDate"),L._uU(3),L.ALo(4,"duration"),L.qZA()),2&qr){const Cn=$r.value,mn=$r.row,kr=L.oxw();L.Q6J("ngIf",mn.remainingDays<kr.expirationWarningAlert),L.xp6(1),L.s9C("title",L.lcZ(2,3,Cn)),L.xp6(2),L.Oqu(L.lcZ(4,5,mn.remainingTimeWithoutSeconds/1e3))}}let Wi=(()=>{class qr{constructor(Cn,mn,kr,Qi,xo,Ss,bs,ko){this.userService=Cn,this.emptyPipe=mn,this.modalService=kr,this.notificationService=Qi,this.authStorageService=xo,this.urlBuilder=Ss,this.settingsService=bs,this.actionLabels=ko,this.selection=new un.r,this.icons=Xt.P,this.permission=this.authStorageService.getPermissions().user,this.tableActions=[{permission:"create",icon:Xt.P.add,routerLink:()=>this.urlBuilder.getCreate(),name:this.actionLabels.CREATE},{permission:"update",icon:Xt.P.edit,routerLink:()=>this.selection.first()&&this.urlBuilder.getEdit(this.selection.first().username),name:this.actionLabels.EDIT},{permission:"delete",icon:Xt.P.destroy,click:()=>this.deleteUserModal(),name:this.actionLabels.DELETE}]}ngOnInit(){this.columns=[{name:"Username",prop:"username",flexGrow:1,cellTemplate:this.warningTpl},{name:"Name",prop:"name",flexGrow:1,pipe:this.emptyPipe},{name:"Email",prop:"email",flexGrow:1,pipe:this.emptyPipe},{name:"Roles",prop:"roles",flexGrow:1,cellTemplate:this.userRolesTpl},{name:"Enabled",prop:"enabled",flexGrow:1,cellTransformation:Rt.e.checkIcon},{name:"Password expires",prop:"pwdExpirationDate",flexGrow:1,cellTemplate:this.durationTpl}],this.settingsService.getValues(["USER_PWD_EXPIRATION_WARNING_1","USER_PWD_EXPIRATION_WARNING_2"]).subscribe(mn=>{this.expirationWarningAlert=mn.USER_PWD_EXPIRATION_WARNING_1,this.expirationDangerAlert=mn.USER_PWD_EXPIRATION_WARNING_2})}getUsers(){this.userService.list().subscribe(Cn=>{Cn.forEach(mn=>{mn.remainingTimeWithoutSeconds=0,mn.pwdExpirationDate&&mn.pwdExpirationDate>0&&(mn.pwdExpirationDate=1e3*mn.pwdExpirationDate,mn.remainingTimeWithoutSeconds=this.getRemainingTimeWithoutSeconds(mn.pwdExpirationDate),mn.remainingDays=this.getRemainingDays(mn.pwdExpirationDate))}),this.users=Cn})}updateSelection(Cn){this.selection=Cn}deleteUser(Cn){this.userService.delete(Cn).subscribe(()=>{this.getUsers(),this.modalRef.close(),this.notificationService.show(T.k.success,"Deleted user '" + Cn + "'")},()=>{this.modalRef.componentInstance.stopLoadingSpinner()})}deleteUserModal(){const Cn=this.authStorageService.getUsername(),mn=this.selection.first().username;Cn!==mn?this.modalRef=this.modalService.show(bn.M,{itemDescription:"User",itemNames:[mn],submitAction:()=>this.deleteUser(mn)}):this.notificationService.show(T.k.error,"Failed to delete user '" + mn + "'","You are currently logged in as '" + mn + "'.")}getWarningIconClass(Cn){return null===Cn||this.expirationWarningAlert>10?"":this.getRemainingDays(Cn)<=this.expirationDangerAlert?"icon-danger-color":"icon-warning-color"}getWarningClass(Cn){return null===Cn||this.expirationWarningAlert>10?"":this.getRemainingDays(Cn)<=this.expirationDangerAlert?"border-danger":"border-warning"}getRemainingDays(Cn){if(void 0!==Cn&&null!=Cn)return Cn<0?0:Math.max(0,Math.floor(this.getRemainingTime(Cn)/864e5))}getRemainingTimeWithoutSeconds(Cn){const mn=this.getRemainingTime(Cn);return 60*Math.floor(mn/6e4)*1e3}getRemainingTime(Cn){return Cn-Date.now()}}return qr.\u0275fac=function(Cn){return new(Cn||qr)(L.Y36(cs.K),L.Y36(_n.W),L.Y36(Ir.Z),L.Y36(Q.g),L.Y36(ri.j),L.Y36(kn.F),L.Y36(Vo.g),L.Y36(f.p4))},qr.\u0275cmp=L.Xpm({type:qr,selectors:[["cd-user-list"]],viewQuery:function(Cn,mn){if(1&Cn&&(L.Gf(gi,7),L.Gf(Jo,7),L.Gf(os,7)),2&Cn){let kr;L.iGM(kr=L.CRH())&&(mn.userRolesTpl=kr.first),L.iGM(kr=L.CRH())&&(mn.warningTpl=kr.first),L.iGM(kr=L.CRH())&&(mn.durationTpl=kr.first)}},features:[L._Bn([{provide:kn.F,useValue:new kn.F("user-management/users")}])],decls:9,vars:5,consts:function(){let $r;return $r="User's password is about to expire",[["columnMode","flex","identifier","username","selectionType","single",3,"data","columns","fetchData","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["userRolesTpl",""],["warningTpl",""],["durationTpl",""],[4,"ngFor","ngForOf"],[1,"border-margin"],[1,"warning-content"],["title",$r,3,"icon-danger-color","icon-warning-color","class",4,"ngIf"],[3,"title"],["title",$r]]},template:function(Cn,mn){1&Cn&&(L._UZ(0,"cd-user-tabs"),L.TgZ(1,"cd-table",0),L.NdJ("fetchData",function(){return mn.getUsers()})("updateSelection",function(Qi){return mn.updateSelection(Qi)}),L._UZ(2,"cd-table-actions",1),L.qZA(),L.YNc(3,Ii,1,1,"ng-template",null,2,L.W1O),L.YNc(5,ni,3,5,"ng-template",null,3,L.W1O),L.YNc(7,wi,5,7,"ng-template",null,4,L.W1O)),2&Cn&&(L.xp6(1),L.Q6J("data",mn.users)("columns",mn.columns),L.xp6(1),L.Q6J("permission",mn.permission)("selection",mn.selection)("tableActions",mn.tableActions))},dependencies:[r.sg,r.O5,wr.a,_r.K,At,Kr.N,mi.u],styles:[".border-margin[_ngcontent-%COMP%]{border-left:3px solid transparent;height:calc(100% + 10px);margin-bottom:-5px;margin-left:-5px;margin-top:-5px}.warning-content[_ngcontent-%COMP%]{height:100%;padding-bottom:5px;padding-left:5px;padding-top:5px}"]}),qr})(),Mo=(()=>{class qr{}return qr.\u0275fac=function(Cn){return new(Cn||qr)},qr.\u0275mod=L.oAB({type:qr}),qr.\u0275inj=L.cJS({imports:[r.ez,a.u5,a.UX,h.m,c.Oz,c.dT,e.b,u.Bz,c.IJ]}),qr})();const As=[{path:"",redirectTo:"users",pathMatch:"full"},{path:"users",data:{breadcrumbs:"Users"},children:[{path:"",component:Wi},{path:f.MQ.CREATE,component:er,data:{breadcrumbs:f.Qn.CREATE}},{path:`${f.MQ.EDIT}/:username`,component:er,data:{breadcrumbs:f.Qn.EDIT}}]},{path:"roles",data:{breadcrumbs:"Roles"},children:[{path:"",component:rr},{path:f.MQ.CREATE,component:en,data:{breadcrumbs:f.Qn.CREATE}},{path:`${f.MQ.EDIT}/:name`,component:en,data:{breadcrumbs:f.Qn.EDIT}}]}];let Ls=(()=>{class qr{}return qr.\u0275fac=function(Cn){return new(Cn||qr)},qr.\u0275mod=L.oAB({type:qr}),qr.\u0275inj=L.cJS({imports:[Mo,u.Bz.forChild(As)]}),qr})()},26504:(y,b,o)=>{"use strict";o.d(b,{_2:()=>u,mM:()=>e,s9:()=>a});var r=o(65862);class a extends Error{}class u extends a{constructor(){super(...arguments),this.header="Page Not Found",this.message="Sorry, we couldn\u2019t find what you were looking for.\n The page you requested may have been changed or moved.",this.icon=r.P.warning}}class e extends a{constructor(){super(...arguments),this.header="User Denied",this.message="Sorry, the user does not exist in Ceph.\n You'll be logged out from the Identity Provider when you retry logging in.",this.icon=r.P.warning}}},76189:(y,b,o)=>{"use strict";o.d(b,{S:()=>r});class r{getVersionHeaderValue(u,c){return`application/vnd.ceph.api.v${u}.${c}+json`}}},39219:(y,b,o)=>{"use strict";o.d(b,{e:()=>E});var r=o(23815),u=o(68307),c=o(64537),e=o(47640),f=o(35732),h=o(54247);let E=(()=>{class T{constructor(A,$,Q,U){this.authStorageService=A,this.http=$,this.router=Q,this.route=U}check(A){return this.http.post("api/auth/check",{token:A})}login(A){return this.http.post("api/auth",A).pipe((0,u.b)($=>{this.authStorageService.set($.username,$.permissions,$.sso,$.pwdExpirationDate,$.pwdUpdateRequired)}))}logout(A=null){return this.http.post("api/auth/logout",null).subscribe($=>{this.authStorageService.remove();const Q=r.get(this.route.snapshot.queryParams,"returnUrl","/login");this.router.navigate([Q],{skipLocationChange:!0}),A&&A(),window.location.replace($.redirect_url)})}}return T.\u0275fac=function(A){return new(A||T)(c.LFG(e.j),c.LFG(f.eN),c.LFG(h.F0),c.LFG(h.gz))},T.\u0275prov=c.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},64724:(y,b,o)=>{"use strict";o.d(b,{e:()=>u});var r=o(64537),a=o(35732);let u=(()=>{class c{constructor(f){this.http=f}findValue(f,h){if(f.value)return f.value.find(E=>E.section===h)}getValue(f,h){let E=this.findValue(f,h);if(!E){const T=h.indexOf(".");-1!==T&&(E=this.findValue(f,h.substring(0,T)))}return E||(E=this.findValue(f,"global")),E?E.value:f.default}getConfigData(){return this.http.get("api/cluster_conf/")}get(f){return this.http.get(`api/cluster_conf/${f}`)}filter(f){return this.http.get(`api/cluster_conf/filter?names=${f.join(",")}`)}create(f){return this.http.post("api/cluster_conf/",f)}delete(f,h){return this.http.delete(`api/cluster_conf/${f}?section=${h}`)}bulkCreate(f){return this.http.put("api/cluster_conf/",f)}}return c.\u0275fac=function(f){return new(f||c)(r.LFG(a.eN))},c.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})()},83608:(y,b,o)=>{"use strict";o.d(b,{H:()=>u});var r=o(64537),a=o(35732);let u=(()=>{class c{constructor(f){this.http=f,this.apiPath="api/crush_rule",this.formTooltips={root:"The name of the node under which data should be placed.",failure_domain:"The type of CRUSH nodes across which we should separate replicas.",device_class:"The device class data should be placed on."}}create(f){return this.http.post(this.apiPath,f,{observe:"response"})}delete(f){return this.http.delete(`${this.apiPath}/${f}`,{observe:"response"})}getInfo(){return this.http.get(`ui-${this.apiPath}/info`)}}return c.\u0275fac=function(f){return new(f||c)(r.LFG(a.eN))},c.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})()},79241:(y,b,o)=>{"use strict";o.d(b,{z:()=>u});var r=o(64537),a=o(35732);let u=(()=>{class c{constructor(f){this.http=f}getFullHealth(){return this.http.get("api/health/full")}getMinimalHealth(){return this.http.get("api/health/minimal")}getClusterCapacity(){return this.http.get("api/health/get_cluster_capacity")}getClusterFsid(){return this.http.get("api/health/get_cluster_fsid")}getOrchestratorName(){return this.http.get("api/health/get_orchestrator_name")}}return c.\u0275fac=function(f){return new(f||c)(r.LFG(a.eN))},c.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})()},22120:(y,b,o)=>{"use strict";o.d(b,{x:()=>$});var r=o(35732),a=o(23815),u=o.n(a),c=o(25917),e=o(88002),f=o(46240),h=o(19773),E=o(76189),T=o(51295),D=o(41702),A=o(64537);let $=(()=>{class Q extends E.S{constructor(q,L){super(),this.http=q,this.deviceService=L,this.baseURL="api/host",this.baseUIURL="ui-api/host",this.predefinedLabels=["mon","mgr","osd","mds","rgw","nfs","iscsi","rbd","grafana"]}list(q,L){return q=q.set("facts",L),this.http.get(this.baseURL,{headers:{Accept:this.getVersionHeaderValue(1,2)},params:q,observe:"response"}).pipe((0,e.U)(J=>J.body.map(pe=>(pe.headers=J.headers,pe))))}create(q,L,J,pe){return this.http.post(this.baseURL,{hostname:q,addr:L,labels:J,status:pe},{observe:"response",headers:{Accept:T.T.cdVersionHeader("0","1")}})}delete(q){return this.http.delete(`${this.baseURL}/${q}`,{observe:"response"})}getDevices(q){return this.http.get(`${this.baseURL}/${q}/devices`).pipe((0,e.U)(L=>L.map(J=>this.deviceService.prepareDevice(J))))}getSmartData(q){return this.http.get(`${this.baseURL}/${q}/smart`)}getDaemons(q){return this.http.get(`${this.baseURL}/${q}/daemons`)}getLabels(){return this.http.get(`${this.baseUIURL}/labels`)}update(q,L=!1,J=[],pe=!1,j=!1,ue=!1){return this.http.put(`${this.baseURL}/${q}`,{update_labels:L,labels:J,maintenance:pe,force:j,drain:ue},{headers:{Accept:this.getVersionHeaderValue(0,1)}})}identifyDevice(q,L,J){return this.http.post(`${this.baseURL}/${q}/identify_device`,{device:L,duration:J})}getInventoryParams(q){let L=new r.LE;return q&&(L=L.append("refresh",u().toString(q))),L}getInventory(q,L){const J=this.getInventoryParams(L);return this.http.get(`${this.baseURL}/${q}/inventory`,{params:J})}inventoryList(q){const L=this.getInventoryParams(q);return this.http.get(`${this.baseUIURL}/inventory`,{params:L})}inventoryDeviceList(q,L){let J;return J=q?this.getInventory(q,L).pipe((0,f.q)()):this.inventoryList(L),J.pipe((0,h.zg)(pe=>{const j=u().flatMap(pe,ue=>ue.devices.map(ie=>(ie.hostname=ue.name,ie.uid=ie.device_id?`${ie.device_id}-${ie.hostname}-${ie.path}`:`${ie.hostname}-${ie.path}`,ie)));return(0,c.of)(j)}))}}return Q.\u0275fac=function(q){return new(q||Q)(A.LFG(r.eN),A.LFG(D.U))},Q.\u0275prov=A.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})()},7273:(y,b,o)=>{"use strict";o.d(b,{N:()=>u});var r=o(64537),a=o(35732);let u=(()=>{class c{constructor(f){this.http=f,this.url="api/mgr/module"}list(){return this.http.get(`${this.url}`)}getConfig(f){return this.http.get(`${this.url}/${f}`)}updateConfig(f,h){return this.http.put(`${this.url}/${f}`,{config:h})}enable(f){return this.http.post(`${this.url}/${f}/enable`,null)}disable(f){return this.http.post(`${this.url}/${f}/disable`,null)}getOptions(f){return this.http.get(`${this.url}/${f}/options`)}}return c.\u0275fac=function(f){return new(f||c)(r.LFG(a.eN))},c.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})()},80842:(y,b,o)=>{"use strict";o.d(b,{q:()=>h});var r=o(64762),a=o(35732),u=o(88002),c=o(93523),e=o(34089),f=o(64537);let h=class{constructor(T,D){this.http=T,this.rbdConfigurationService=D,this.apiPath="api/pool"}create(T){return this.http.post(this.apiPath,T,{observe:"response"})}update(T){let D;return T.hasOwnProperty("srcpool")?(D=T.srcpool,delete T.srcpool):(D=T.pool,delete T.pool),this.http.put(`${this.apiPath}/${encodeURIComponent(D)}`,T,{observe:"response"})}delete(T){return this.http.delete(`${this.apiPath}/${T}`,{observe:"response"})}get(T){return this.http.get(`${this.apiPath}/${T}`)}getList(){return this.http.get(`${this.apiPath}?stats=true`)}getConfiguration(T){return this.http.get(`${this.apiPath}/${T}/configuration`).pipe((0,u.U)(D=>D.map(A=>Object.assign(A,this.rbdConfigurationService.getOptionByName(A.name)))))}getInfo(){return this.http.get(`ui-${this.apiPath}/info`)}list(T=[]){const D=T.join(",");return this.http.get(`${this.apiPath}?attrs=${D}`).toPromise().then(A=>A)}};h.\u0275fac=function(T){return new(T||h)(f.LFG(a.eN),f.LFG(e.n))},h.\u0275prov=f.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h=(0,r.gn)([c.o,(0,r.w6)("design:paramtypes",[a.eN,e.n])],h)},11656:(y,b,o)=>{"use strict";o.d(b,{Q:()=>h});var r=o(46797),a=o(88002),u=o(16738),c=o.n(u),e=o(64537),f=o(35732);let h=(()=>{class E{constructor(D){this.http=D,this.timerTime=3e4,this.lastHourDateObject={start:c()().unix()-3600,end:c()().unix(),step:14},this.baseURL="api/prometheus",this.settingsKey={alertmanager:"ui-api/prometheus/alertmanager-api-host",prometheus:"ui-api/prometheus/prometheus-api-host"},this.settings={}}unsubscribe(){this.timerGetPrometheusDataSub&&this.timerGetPrometheusDataSub.unsubscribe()}getPrometheusData(D){return this.http.get(`${this.baseURL}/data`,{params:D})}ifAlertmanagerConfigured(D,A){this.ifSettingConfigured(this.settingsKey.alertmanager,D,A)}disableAlertmanagerConfig(){this.disableSetting(this.settingsKey.alertmanager)}ifPrometheusConfigured(D,A){this.ifSettingConfigured(this.settingsKey.prometheus,D,A)}disablePrometheusConfig(){this.disableSetting(this.settingsKey.prometheus)}getAlerts(D={}){return this.http.get(this.baseURL,{params:D})}getSilences(D={}){return this.http.get(`${this.baseURL}/silences`,{params:D})}getRules(D="all"){return this.http.get(`${this.baseURL}/rules`).pipe((0,a.U)(A=>(["alerting","rewrites"].includes(D)&&A.groups.map($=>{$.rules=$.rules.filter(Q=>Q.type===D)}),A)))}setSilence(D){return this.http.post(`${this.baseURL}/silence`,D,{observe:"response"})}expireSilence(D){return this.http.delete(`${this.baseURL}/silence/${D}`,{observe:"response"})}getNotifications(D){return this.http.get(`${this.baseURL}/notifications?from=${D&&D.id?D.id:"last"}`)}ifSettingConfigured(D,A,$){const Q=this.settings[D];void 0===Q?this.http.get(D).subscribe(U=>{this.settings[D]=this.getSettingsValue(U),this.ifSettingConfigured(D,A,$)},U=>{401!==U.status&&(this.settings[D]="")}):""!==Q?A(Q):$&&$()}disableSetting(D){this.settings[D]=""}getSettingsValue(D){return D.value||D.instance||""}getPrometheusQueriesData(D,A,$,Q){return this.ifPrometheusConfigured(()=>{this.timerGetPrometheusDataSub&&this.timerGetPrometheusDataSub.unsubscribe(),this.timerGetPrometheusDataSub=(0,r.H)(0,this.timerTime).subscribe(()=>{D=this.updateTimeStamp(D);for(const U in A)A.hasOwnProperty(U)&&this.getPrometheusData({params:encodeURIComponent(A[U]),start:D.start,end:D.end,step:D.step}).subscribe(L=>{$[U]=L.result.length?L.result[0].values:[],void 0!==$[U]&&""!==$[U]&&Q&&$[U].forEach(J=>{if(J.includes("NaN")){const pe=J.indexOf("NaN");-1!==pe&&(J[pe]="0")}})})})}),$}updateTimeStamp(D){let A={},$=D.end-D.start;return A={start:c()().unix()-$,end:c()().unix(),step:D.step},A}}return E.\u0275fac=function(D){return new(D||E)(e.LFG(f.eN))},E.\u0275prov=e.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})()},95152:(y,b,o)=>{"use strict";o.d(b,{o:()=>$});var r=o(64762),a=o(35732),u=o(23815),c=o.n(u),e=o(25917),f=o(96736),h=o(5304),E=o(76189),T=o(20523),D=o(93523),A=o(64537);let $=class extends E.S{constructor(U,q){super(),this.http=U,this.rgwDaemonService=q,this.url="api/rgw/bucket"}list(U=!1,q=""){return this.rgwDaemonService.request(L=>(L=L.append("stats",U.toString()),q&&(L=L.append("uid",q)),this.http.get(this.url,{headers:{Accept:this.getVersionHeaderValue(1,1)},params:L})))}get(U){return this.rgwDaemonService.request(q=>this.http.get(`${this.url}/${U}`,{params:q}))}getTotalBucketsAndUsersLength(){return this.rgwDaemonService.request(U=>this.http.get(`ui-${this.url}/buckets_and_users_count`,{params:U}))}create(U,q,L,J,pe,j,ue,ie,me,Oe,Ue,Me,yt){return this.rgwDaemonService.request(et=>{const tt={bucket:U,uid:q,zonegroup:L,lock_enabled:String(pe),lock_mode:j,lock_retention_period_days:ue,encryption_state:String(ie),encryption_type:me,key_id:Oe,tags:Ue,bucket_policy:Me,canned_acl:yt,daemon_name:et.get("daemon_name")};return J&&(tt.placement_target=J),this.http.post(this.url,null,{params:new a.LE({fromObject:tt})})})}update(U,q,L,J,pe,j,ue,ie,me,Oe,Ue,Me,yt,et,tt){return this.rgwDaemonService.request(Et=>(Et=Et.appendAll({bucket_id:q,uid:L,versioning_state:J,encryption_state:String(pe),encryption_type:j,key_id:ue,mfa_delete:ie,mfa_token_serial:me,mfa_token_pin:Oe,lock_mode:Ue,lock_retention_period_days:Me,tags:yt,bucket_policy:et,canned_acl:tt}),this.http.put(`${this.url}/${U}`,null,{params:Et})))}delete(U,q=!0){return this.rgwDaemonService.request(L=>(L=L.append("purge_objects",q?"true":"false"),this.http.delete(`${this.url}/${U}`,{params:L})))}exists(U){return this.get(U).pipe((0,f.h)(!0),(0,h.K)(q=>(c().isFunction(q.preventDefault)&&q.preventDefault(),(0,e.of)(!1))))}getLockDays(U){return U.lock_retention_period_years>0?Math.floor(365.242*U.lock_retention_period_years):U.lock_retention_period_days||0}setEncryptionConfig(U,q,L,J,pe,j,ue,ie,me,Oe,Ue,Me){return this.rgwDaemonService.request(yt=>(yt=yt.appendAll({encryption_type:U,kms_provider:q,auth_method:L,secret_engine:J,secret_path:pe,namespace:j,address:ue,token:ie,owner:me,ssl_cert:Oe,client_cert:Ue,client_key:Me}),this.http.put(`${this.url}/setEncryptionConfig`,null,{params:yt})))}getEncryption(U){return this.rgwDaemonService.request(q=>this.http.get(`${this.url}/${U}/getEncryption`,{params:q}))}deleteEncryption(U){return this.rgwDaemonService.request(q=>this.http.get(`${this.url}/${U}/deleteEncryption`,{params:q}))}getEncryptionConfig(){return this.rgwDaemonService.request(U=>this.http.get(`${this.url}/getEncryptionConfig`,{params:U}))}};$.\u0275fac=function(U){return new(U||$)(A.LFG(a.eN),A.LFG(T.b))},$.\u0275prov=A.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$=(0,r.gn)([D.o,(0,r.w6)("design:paramtypes",[a.eN,T.b])],$)},20523:(y,b,o)=>{"use strict";o.d(b,{b:()=>Q});var r=o(64762),a=o(35732),u=o(23815),c=o.n(u),e=o(26215),f=o(40205),h=o(25917),E=o(68307),T=o(19773),D=o(15257),A=o(93523),$=o(64537);let Q=class{constructor(q){this.http=q,this.url="api/rgw/daemon",this.daemons=new e.X([]),this.daemons$=this.daemons.asObservable(),this.selectedDaemon=new e.X(null),this.selectedDaemon$=this.selectedDaemon.asObservable()}list(){return this.http.get(this.url).pipe((0,E.b)(q=>{this.daemons.next(q);const L=this.selectedDaemon.getValue();(c().isEmpty(L)||void 0===c().find(q,{id:L.id}))&&this.selectDefaultDaemon(q)}))}get(q){return this.http.get(`${this.url}/${q}`)}selectDaemon(q){this.selectedDaemon.next(q)}selectDefaultDaemon(q){if(0===q.length)return null;for(const L of q)if(L.default)return this.selectDaemon(L),L;return this.selectDaemon(q[0]),q[0]}request(q){return this.selectedDaemon.pipe((0,T.zg)(L=>c().isEmpty(L)?this.list().pipe((0,T.zg)(J=>c().isEmpty(J)?(0,f._)("No RGW daemons found!"):this.selectedDaemon$)):(0,h.of)(L)),(0,D.q)(1),(0,T.zg)(L=>{let J=new a.LE;return J=J.append("daemon_name",L.id),q(J)}))}setMultisiteConfig(q,L,J){return this.request(pe=>(pe=pe.appendAll({realm_name:q,zonegroup_name:L,zone_name:J}),this.http.put(`${this.url}/set_multisite_config`,null,{params:pe})))}};Q.\u0275fac=function(q){return new(q||Q)($.LFG(a.eN))},Q.\u0275prov=$.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q=(0,r.gn)([A.o,(0,r.w6)("design:paramtypes",[a.eN])],Q)},80381:(y,b,o)=>{"use strict";o.d(b,{o:()=>c});var r=o(20523),a=o(64537),u=o(35732);let c=(()=>{class e{constructor(h,E){this.http=h,this.rgwDaemonService=E,this.url="ui-api/rgw/multisite"}migrate(h,E,T){return this.rgwDaemonService.request(D=>(D=D.appendAll({realm_name:h.name,zonegroup_name:E.name,zone_name:T.name,zonegroup_endpoints:E.endpoints,zone_endpoints:T.endpoints,access_key:T.system_key.access_key,secret_key:T.system_key.secret_key}),this.http.put(`${this.url}/migrate`,null,{params:D})))}getSyncStatus(){return this.http.get(`${this.url}/sync_status`)}}return e.\u0275fac=function(h){return new(h||e)(a.LFG(u.eN),a.LFG(r.b))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},95596:(y,b,o)=>{"use strict";o.d(b,{y:()=>e});var r=o(35732),a=o(65862),u=o(20523),c=o(64537);let e=(()=>{class f{constructor(E,T){this.http=E,this.rgwDaemonService=T,this.url="api/rgw/realm"}create(E,T){return this.http.post(`${this.url}`,{realm_name:E.name,default:T})}update(E,T,D){return this.http.put(`${this.url}/${E.name}`,{realm_name:E.name,default:T,new_realm_name:D})}list(){return this.http.get(`${this.url}`)}get(E){return this.http.get(`${this.url}/${E.name}`)}getAllRealmsInfo(){return this.http.get(`${this.url}/get_all_realms_info`)}delete(E){let T=new r.LE;return T=T.appendAll({realm_name:E}),this.http.delete(`${this.url}/${E}`,{params:T})}getRealmTree(E,T){let D={},A=[];return D.id=E.id,A.push(E.id),D.name=E.name,D.info=E,D.is_default=E.id===T,D.icon=a.P.reweight,D.type="realm",{nodes:D,realmIds:A}}importRealmToken(E,T,D,A){return this.http.post(`${this.url}/import_realm_token`,{realm_token:E,zone_name:T,port:D,placement_spec:A})}getRealmTokens(){return this.rgwDaemonService.request(()=>this.http.get(`${this.url}/get_realm_tokens`))}}return f.\u0275fac=function(E){return new(E||f)(c.LFG(r.eN),c.LFG(u.b))},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},33394:(y,b,o)=>{"use strict";o.d(b,{I:()=>E});var r=o(64762),a=o(35732),u=o(19773),c=o(88002),e=o(20523),f=o(93523),h=o(64537);let E=class{constructor(D,A){this.http=D,this.rgwDaemonService=A,this.url="api/rgw/site"}get(D){return this.rgwDaemonService.request(A=>(D&&(A=A.append("query",D)),this.http.get(this.url,{params:A})))}isDefaultRealm(){return this.get("default-realm").pipe((0,u.zg)(D=>this.rgwDaemonService.selectedDaemon$.pipe((0,c.U)(A=>A.realm_name===D))))}};E.\u0275fac=function(D){return new(D||E)(h.LFG(a.eN),h.LFG(e.b))},E.\u0275prov=h.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E=(0,r.gn)([f.o,(0,r.w6)("design:paramtypes",[a.eN,e.b])],E)},97937:(y,b,o)=>{"use strict";o.d(b,{g:()=>c});var r=o(35732),a=o(65862),u=o(64537);let c=(()=>{class e{constructor(h){this.http=h,this.url="api/rgw/zone"}create(h,E,T,D,A){let $=new r.LE;return $=$.appendAll({zone_name:h.name,zonegroup_name:E.name,default:T,master:D,zone_endpoints:A,access_key:h.system_key.access_key,secret_key:h.system_key.secret_key}),this.http.post(`${this.url}`,null,{params:$})}list(){return this.http.get(`${this.url}`)}get(h){return this.http.get(`${this.url}/${h.name}`)}getAllZonesInfo(){return this.http.get(`${this.url}/get_all_zones_info`)}delete(h,E,T,D){let A=new r.LE;return A=A.appendAll({zone_name:h,delete_pools:E,pools:Array.from(T.values()),zonegroup_name:D}),this.http.delete(`${this.url}/${h}`,{params:A})}update(h,E,T,D,A,$,Q,U,q,L,J,pe,j){return this.http.put(`${this.url}/${h.name}`,{zone_name:h.name,zonegroup_name:E.name,new_zone_name:T,default:D,master:A,zone_endpoints:$,access_key:h.system_key.access_key,secret_key:h.system_key.secret_key,placement_target:Q,data_pool:U,index_pool:q,data_extra_pool:L,storage_class:J,data_pool_class:pe,compression:j})}getZoneTree(h,E,T,D,A){let $={},Q=[];$.id=h.id,Q.push(h.id),$.name=h.name,$.type="zone",$.name=h.name,$.info=h,$.icon=a.P.deploy,$.zone_zonegroup=D,$.parent=D?D.name:"",$.second_parent=A?A.name:"",$.is_default=h.id===E,$.endpoints=h.endpoints,$.is_master=!(!D||D.master_zone!==h.id),$.type="zone";const U=T.map(L=>L.name);$.secondary_zone=!U.includes(h.name);const q=T.filter(L=>L.name===h.name);if(q&&q.length>0){const L=q[0].system_key.access_key,J=q[0].system_key.secret_key;$.access_key=L||"",$.secret_key=J||"",$.user=!(!L||""===L)}return""===$.access_key||"null"===$.access_key?($.show_warning=!0,$.warning_message="Access/Secret keys not found"):$.show_warning=!1,$.endpoints&&0===$.endpoints.length&&($.show_warning=!0,$.warning_message=$.warning_message+"\nEndpoints not configured"),{nodes:$,zoneIds:Q}}getPoolNames(){return this.http.get(`${this.url}/get_pool_names`)}createSystemUser(h,E){return this.http.put(`${this.url}/create_system_user`,{userName:h,zoneName:E})}getUserList(h){let E=new r.LE;return E=E.appendAll({zoneName:h}),this.http.get(`${this.url}/get_user_list`,{params:E})}}return e.\u0275fac=function(h){return new(h||e)(u.LFG(r.eN))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},98961:(y,b,o)=>{"use strict";o.d(b,{K:()=>c});var r=o(35732),a=o(65862),u=o(64537);let c=(()=>{class e{constructor(h){this.http=h,this.url="api/rgw/zonegroup"}create(h,E,T,D){let A=new r.LE;return A=A.appendAll({realm_name:h.name,zonegroup_name:E.name,default:T,master:D,zonegroup_endpoints:E.endpoints}),this.http.post(`${this.url}`,null,{params:A})}update(h,E,T,D,A,$,Q){return this.http.put(`${this.url}/${E.name}`,{zonegroup_name:E.name,realm_name:h.name,new_zonegroup_name:T,default:D,master:A,zonegroup_endpoints:E.endpoints,placement_targets:E.placement_targets,remove_zones:$,add_zones:Q})}list(){return this.http.get(`${this.url}`)}get(h){return this.http.get(`${this.url}/${h.name}`)}getAllZonegroupsInfo(){return this.http.get(`${this.url}/get_all_zonegroups_info`)}delete(h,E,T){let D=new r.LE;return D=D.appendAll({zonegroup_name:h,delete_pools:E,pools:Array.from(T.values())}),this.http.delete(`${this.url}/${h}`,{params:D})}getZonegroupTree(h,E,T){let D={};return D.id=h.id,D.name=h.name,D.info=h,D.icon=a.P.cubes,D.is_master=h.is_master,D.parent=T?T.name:"",D.is_default=h.id===E,D.type="zonegroup",D.endpoints=h.endpoints,D.master_zone=h.master_zone,D.zones=h.zones,D.placement_targets=h.placement_targets,D.default_placement=h.default_placement,0===D.endpoints.length&&(D.show_warning=!0,D.warning_message="Endpoints not configured"),D}}return e.\u0275fac=function(h){return new(h||e)(u.LFG(r.eN))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},9837:(y,b,o)=>{"use strict";o.d(b,{g:()=>h});var r=o(23815),a=o.n(r),u=o(88002),c=o(64537),e=o(35732);let h=(()=>{class E{constructor(D){this.http=D,this.settings={}}getValues(D){return a().isArray(D)&&(D=D.join(",")),this.http.get(`api/settings?names=${D}`).pipe((0,u.U)(A=>{const $={};return a().forEach(A,Q=>{a().set($,Q.name,Q.value)}),$}))}ifSettingConfigured(D,A,$){const Q=this.settings[D];void 0===Q?this.http.get(D).subscribe(U=>{this.settings[D]=this.getSettingsValue(U),this.ifSettingConfigured(D,A,$)},U=>{401!==U.status&&(this.settings[D]="")}):""!==Q?A(Q):$&&$()}disableSetting(D){this.settings[D]=""}getSettingsValue(D){return D.value||D.instance||""}validateGrafanaDashboardUrl(D){return this.http.get(`api/grafana/validation/${D}`)}getStandardSettings(){return this.http.get("ui-api/standard_settings")}}return E.\u0275fac=function(D){return new(D||E)(c.LFG(e.eN))},E.\u0275prov=c.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})()},32057:(y,b,o)=>{"use strict";o.d(b,{K:()=>f});var r=o(25917),a=o(96736),u=o(5304),c=o(64537),e=o(35732);let f=(()=>{class h{constructor(T){this.http=T}list(){return this.http.get("api/user")}delete(T){return this.http.delete(`api/user/${T}`)}get(T){return this.http.get(`api/user/${T}`)}create(T){return this.http.post("api/user",T)}update(T){return this.http.put(`api/user/${T.username}`,T)}changePassword(T,D,A){return this.http.post(`api/user/${T}/change_password`,{old_password:D,new_password:A})}validateUserName(T){return this.get(T).pipe((0,a.h)(!0),(0,u.K)(D=>(D.preventDefault(),(0,r.of)(!1))))}validatePassword(T,D=null,A=null){return this.http.post("api/user/validate_password",{password:T,username:D,old_password:A})}}return h.\u0275fac=function(T){return new(T||h)(c.LFG(e.eN))},h.\u0275prov=c.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),h})()},51295:(y,b,o)=>{"use strict";o.d(b,{T:()=>u});var r=o(23815),a=o.n(r);class u{static updateChanged(e,f){let h=!1;return Object.keys(f).forEach(E=>{const T=f[E];a().isEqual(T,e[E])||(e[E]=T,h=!0)}),h}static cdVersionHeader(e,f){return`application/vnd.ceph.api.v${e}.${f}+json`}}},99475:(y,b,o)=>{"use strict";o.d(b,{P:()=>r});class r{propertyValue(u){return getComputedStyle(document.body).getPropertyValue(`--${u}`)}}},68136:(y,b,o)=>{"use strict";o.d(b,{o:()=>a});var r=o(71225);class a{constructor(c){this.ngZone=c}setExpandedRow(c){this.expandedRow=c}setTableRefreshTimeout(){clearTimeout(this.staleTimeout),this.ngZone.runOutsideAngular(()=>{this.staleTimeout=window.setTimeout(()=>{this.ngZone.run(()=>{this.tableStatus=new r.c("warning","The user list data might be stale. If needed, you can manually reload it.")})},1e4)})}}},69158:(y,b,o)=>{"use strict";o.d(b,{E:()=>u});var r=o(91801),a=o(71225);class u extends a.c{constructor(e=r.T.ValueOk,f=""){switch(super(),e){case r.T.ValueOk:this.type="light",this.msg="";break;case r.T.ValueNone:this.type="info",this.msg=(f?"Retrieving data for " + f + ".":"Retrieving data.")+" "+"Please wait...";break;case r.T.ValueStale:this.type="warning",this.msg=f?"Displaying previously cached data for " + f + ".":"Displaying previously cached data.";break;case r.T.ValueException:this.type="danger",this.msg=(f?"Could not load data for " + f + ".":"Could not load data.")+" "+"Please check the cluster health."}}}},71225:(y,b,o)=>{"use strict";o.d(b,{c:()=>r});class r{constructor(u="light",c=""){this.type=u,this.msg=c}}},34501:(y,b,o)=>{"use strict";o.d(b,{G:()=>L});var r=o(64537),a=o(65862),u=o(88692),c=o(51389);const e=function(J){return[J]};function f(J,pe){if(1&J&&(r.TgZ(0,"td",8),r._UZ(1,"i",9),r.qZA()),2&J){const j=r.oxw(2);r.xp6(1),r.MT6("alert-",j.bootstrapClass," ",j.typeIcon,""),r.Q6J("ngClass",r.VKq(5,e,j.icons.large3x))}}function h(J,pe){if(1&J&&(r.TgZ(0,"td",10),r._uU(1),r.qZA()),2&J){const j=r.oxw(2);r.xp6(1),r.Oqu(j.title)}}function E(J,pe){1&J&&r.GkF(0)}function T(J,pe){if(1&J&&(r.ynx(0),r.TgZ(1,"tr"),r.YNc(2,f,2,7,"td",4),r.YNc(3,h,2,1,"td",5),r.qZA(),r.TgZ(4,"tr")(5,"td",6),r.YNc(6,E,1,0,"ng-container",7),r.qZA()(),r.BQk()),2&J){const j=r.oxw(),ue=r.MAs(6);r.xp6(2),r.Q6J("ngIf",j.showIcon),r.xp6(1),r.Q6J("ngIf",j.showTitle),r.xp6(3),r.Q6J("ngTemplateOutlet",ue)}}function D(J,pe){if(1&J&&(r.TgZ(0,"td",12),r._UZ(1,"i",13),r.qZA()),2&J){const j=r.oxw(2);r.xp6(1),r.MT6("alert-",j.bootstrapClass," ",j.typeIcon,"")}}function A(J,pe){if(1&J&&(r.TgZ(0,"td",10),r._uU(1),r.qZA()),2&J){const j=r.oxw(2);r.xp6(1),r.Oqu(j.title)}}function $(J,pe){1&J&&r.GkF(0)}function Q(J,pe){if(1&J&&(r.TgZ(0,"tr"),r.YNc(1,D,2,4,"td",11),r.YNc(2,A,2,1,"td",5),r.TgZ(3,"td",6),r.YNc(4,$,1,0,"ng-container",7),r.qZA()()),2&J){const j=r.oxw(),ue=r.MAs(6);r.xp6(1),r.Q6J("ngIf",j.showIcon),r.xp6(1),r.Q6J("ngIf",j.showTitle),r.xp6(2),r.Q6J("ngTemplateOutlet",ue)}}function U(J,pe){1&J&&r.Hsn(0)}const q=["*"];let L=(()=>{class J{constructor(){this.title="",this.bootstrapClass="",this.size="normal",this.showIcon=!0,this.showTitle=!0,this.dismissible=!1,this.spacingClass="",this.dismissed=new r.vpe,this.icons=a.P}ngOnInit(){switch(this.type){case"warning":this.title=this.title||"Warning",this.typeIcon=this.typeIcon||a.P.warning,this.bootstrapClass=this.bootstrapClass||"warning";break;case"error":this.title=this.title||"Error",this.typeIcon=this.typeIcon||a.P.destroyCircle,this.bootstrapClass=this.bootstrapClass||"danger";break;case"info":this.title=this.title||"Information",this.typeIcon=this.typeIcon||a.P.infoCircle,this.bootstrapClass=this.bootstrapClass||"info";break;case"success":this.title=this.title||"Success",this.typeIcon=this.typeIcon||a.P.check,this.bootstrapClass=this.bootstrapClass||"success";break;case"danger":this.title=this.title||"Danger",this.typeIcon=this.typeIcon||a.P.warning,this.bootstrapClass=this.bootstrapClass||"danger"}}onClose(){this.dismissed.emit()}}return J.\u0275fac=function(j){return new(j||J)},J.\u0275cmp=r.Xpm({type:J,selectors:[["cd-alert-panel"]],inputs:{title:"title",bootstrapClass:"bootstrapClass",type:"type",typeIcon:"typeIcon",size:"size",showIcon:"showIcon",showTitle:"showTitle",dismissible:"dismissible",spacingClass:"spacingClass"},outputs:{dismissed:"dismissed"},ngContentSelectors:q,decls:7,vars:5,consts:[[3,"type","dismissible","ngClass","closed"],[4,"ngIf","ngIfElse"],["slim",""],["content",""],["rowspan","2","class","alert-panel-icon",4,"ngIf"],["class","alert-panel-title",4,"ngIf"],[1,"alert-panel-text"],[4,"ngTemplateOutlet"],["rowspan","2",1,"alert-panel-icon"],["aria-hidden","true",3,"ngClass"],[1,"alert-panel-title"],["class","alert-panel-icon",4,"ngIf"],[1,"alert-panel-icon"],["aria-hidden","true"]],template:function(j,ue){if(1&j&&(r.F$t(),r.TgZ(0,"ngb-alert",0),r.NdJ("closed",function(){return ue.onClose()}),r.TgZ(1,"table"),r.YNc(2,T,7,3,"ng-container",1),r.YNc(3,Q,5,3,"ng-template",null,2,r.W1O),r.qZA()(),r.YNc(5,U,1,0,"ng-template",null,3,r.W1O)),2&j){const ie=r.MAs(4);r.s9C("type",ue.bootstrapClass),r.Q6J("dismissible",ue.dismissible)("ngClass",ue.spacingClass),r.xp6(2),r.Q6J("ngIf","normal"===ue.size)("ngIfElse",ie)}},dependencies:[u.mk,u.O5,u.tP,c.xm],styles:[".alert-panel-icon[_ngcontent-%COMP%]{padding-right:.5em;vertical-align:top}.alert-panel-title[_ngcontent-%COMP%]{font-weight:700}.alert[_ngcontent-%COMP%]{margin-bottom:0}"]}),J})()},13472:(y,b,o)=>{"use strict";o.d(b,{W:()=>e});var r=o(64537),a=o(79512),u=o(88692),c=o(87925);let e=(()=>{class f{constructor(E,T){this.location=E,this.actionLabels=T,this.backAction=new r.vpe}ngOnInit(){this.name=this.name||this.actionLabels.CANCEL}back(){0===this.backAction.observers.length?this.location.back():this.backAction.emit()}}return f.\u0275fac=function(E){return new(E||f)(r.Y36(u.Ye),r.Y36(a.p4))},f.\u0275cmp=r.Xpm({type:f,selectors:[["cd-back-button"]],inputs:{name:"name"},outputs:{backAction:"backAction"},decls:2,vars:1,consts:[["aria-label","Back","type","button",1,"btn","btn-light","tc_backButton",3,"click"]],template:function(E,T){1&E&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return T.back()}),r._uU(1),r.qZA()),2&E&&(r.xp6(1),r.hij(" ",T.name,"\n"))},dependencies:[c.o]}),f})()},17401:(y,b,o)=>{"use strict";o.d(b,{e:()=>Tr});var r=o(65862),a=o(64537),u=o(88692),c=o(54247);function e(ft,sn){if(1&ft&&a.SDv(0,14,1),2&ft){const At=a.oxw(2);a.pQV(At.title),a.QtT(0)}}function f(ft,sn){if(1&ft&&a.SDv(0,14,2),2&ft){const At=a.oxw(2);a.pQV(At.title),a.QtT(0)}}function h(ft,sn){if(1&ft&&a.SDv(0,14,3),2&ft){const At=a.oxw(2);a.pQV(At.title),a.QtT(0)}}function E(ft,sn){if(1&ft&&(a.TgZ(0,"a",13),a.tHW(1,14),a.YNc(2,e,1,1,"ng-template",15),a.YNc(3,f,1,1,"ng-template",16),a.YNc(4,h,1,1,"ng-template",17),a.N_p(),a.qZA()),2&ft){const At=a.oxw();a.Q6J("routerLink",At.link)("ngPlural",At.total),a.xp6(4),a.pQV(At.total),a.QtT(1)}}function T(ft,sn){1&ft&&a.GkF(0)}function D(ft,sn){if(1&ft&&(a.ynx(0),a.YNc(1,T,1,0,"ng-container",18),a.BQk()),2&ft){a.oxw();const At=a.MAs(16);a.xp6(1),a.Q6J("ngTemplateOutlet",At)}}function A(ft,sn){1&ft&&a.GkF(0)}function $(ft,sn){if(1&ft&&(a.ynx(0),a.YNc(1,A,1,0,"ng-container",18),a.BQk()),2&ft){a.oxw();const At=a.MAs(14);a.xp6(1),a.Q6J("ngTemplateOutlet",At)}}function Q(ft,sn){1&ft&&a.GkF(0)}function U(ft,sn){if(1&ft&&(a.ynx(0),a.YNc(1,Q,1,0,"ng-container",18),a.BQk()),2&ft){a.oxw();const At=a.MAs(18);a.xp6(1),a.Q6J("ngTemplateOutlet",At)}}function q(ft,sn){1&ft&&a.GkF(0)}function L(ft,sn){if(1&ft&&(a.ynx(0),a.YNc(1,q,1,0,"ng-container",18),a.BQk()),2&ft){a.oxw();const At=a.MAs(12);a.xp6(1),a.Q6J("ngTemplateOutlet",At)}}function J(ft,sn){if(1&ft&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ft){const At=a.oxw(3);a.xp6(1),a.hij(" ",At.data.success," ")}}function pe(ft,sn){if(1&ft&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ft){const At=a.oxw(3);a.xp6(1),a.hij(" ",null==At.data.categoryPgAmount?null:At.data.categoryPgAmount.clean," ")}}const j=function(ft){return[ft]};function ue(ft,sn){if(1&ft&&(a.TgZ(0,"span"),a.YNc(1,J,2,1,"span",19),a.YNc(2,pe,2,1,"span",19),a._UZ(3,"i",21),a.qZA()),2&ft){const At=a.oxw(2);a.xp6(1),a.Q6J("ngIf",At.data.success||0===At.data.success&&0===At.data.total),a.xp6(1),a.Q6J("ngIf",null==At.data.categoryPgAmount?null:At.data.categoryPgAmount.clean),a.xp6(1),a.Q6J("ngClass",a.VKq(3,j,At.icons.success))}}function ie(ft,sn){if(1&ft&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ft){const At=a.oxw(3);a.xp6(1),a.hij(" ",At.data.info," ")}}function me(ft,sn){if(1&ft&&(a.TgZ(0,"span",22),a.YNc(1,ie,2,1,"span",19),a._UZ(2,"i",23),a.qZA()),2&ft){const At=a.oxw(2);a.xp6(1),a.Q6J("ngIf",At.data.info),a.xp6(1),a.Q6J("ngClass",a.VKq(2,j,At.icons.danger))}}function Oe(ft,sn){if(1&ft&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ft){const At=a.oxw(3);a.xp6(1),a.hij(" ",At.data.warn," ")}}function Ue(ft,sn){if(1&ft&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ft){const At=a.oxw(3);a.xp6(1),a.hij(" ",null==At.data.categoryPgAmount?null:At.data.categoryPgAmount.warning," ")}}function Me(ft,sn){if(1&ft&&(a.TgZ(0,"span",22),a.YNc(1,Oe,2,1,"span",19),a.YNc(2,Ue,2,1,"span",19),a._UZ(3,"i",24),a.qZA()),2&ft){const At=a.oxw(2);a.xp6(1),a.Q6J("ngIf",At.data.warn),a.xp6(1),a.Q6J("ngIf",null==At.data.categoryPgAmount?null:At.data.categoryPgAmount.warning),a.xp6(1),a.Q6J("ngClass",a.VKq(3,j,At.icons.warning))}}function yt(ft,sn){if(1&ft&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ft){const At=a.oxw(3);a.xp6(1),a.hij(" ",At.data.error," ")}}function et(ft,sn){if(1&ft&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ft){const At=a.oxw(3);a.xp6(1),a.hij(" ",null==At.data.categoryPgAmount?null:At.data.categoryPgAmount.unknown," ")}}function tt(ft,sn){if(1&ft&&(a.TgZ(0,"span",22),a.YNc(1,yt,2,1,"span",19),a.YNc(2,et,2,1,"span",19),a._UZ(3,"i",25),a.qZA()),2&ft){const At=a.oxw(2);a.xp6(1),a.Q6J("ngIf",At.data.error),a.xp6(1),a.Q6J("ngIf",null==At.data.categoryPgAmount?null:At.data.categoryPgAmount.unknown),a.xp6(1),a.Q6J("ngClass",a.VKq(3,j,At.icons.danger))}}function Et(ft,sn){if(1&ft&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ft){const At=a.oxw(3);a.xp6(1),a.hij(" ",null==At.data.categoryPgAmount?null:At.data.categoryPgAmount.working," ")}}const ze=function(ft,sn){return[ft,sn]};function bt(ft,sn){if(1&ft&&(a.TgZ(0,"span",22),a.YNc(1,Et,2,1,"span",19),a._UZ(2,"i",24),a.qZA()),2&ft){const At=a.oxw(2);a.xp6(1),a.Q6J("ngIf",null==At.data.categoryPgAmount?null:At.data.categoryPgAmount.working),a.xp6(1),a.Q6J("ngClass",a.WLB(2,ze,At.icons.spinner,At.icons.spin))}}function Ct(ft,sn){if(1&ft&&(a.YNc(0,ue,4,5,"span",19),a.YNc(1,me,3,4,"span",20),a.YNc(2,Me,4,5,"span",20),a.YNc(3,tt,4,5,"span",20),a.YNc(4,bt,3,5,"span",20)),2&ft){const At=a.oxw();a.Q6J("ngIf",At.data.success||(null==At.data.categoryPgAmount?null:At.data.categoryPgAmount.clean)||0===At.data.success&&0===At.data.total),a.xp6(1),a.Q6J("ngIf",At.data.info),a.xp6(1),a.Q6J("ngIf",At.data.warn||(null==At.data.categoryPgAmount?null:At.data.categoryPgAmount.warning)),a.xp6(1),a.Q6J("ngIf",At.data.error||(null==At.data.categoryPgAmount?null:At.data.categoryPgAmount.unknown)),a.xp6(1),a.Q6J("ngIf",null==At.data.categoryPgAmount?null:At.data.categoryPgAmount.working)}}function Qt(ft,sn){if(1&ft&&(a.TgZ(0,"span"),a._uU(1),a._UZ(2,"i",21),a.qZA()),2&ft){const At=a.oxw(2);a.xp6(1),a.hij(" ",At.data.up," "),a.xp6(1),a.Q6J("ngClass",a.VKq(2,j,At.icons.success))}}function ht(ft,sn){if(1&ft&&(a.TgZ(0,"span"),a._uU(1),a.TgZ(2,"span",26),a._uU(3," up "),a.qZA()()),2&ft){const At=a.oxw(2);a.xp6(1),a.hij(" ",At.data.up," ")}}function en(ft,sn){if(1&ft&&(a.TgZ(0,"span",22),a._uU(1),a.TgZ(2,"span",26),a._uU(3," in "),a.qZA()()),2&ft){const At=a.oxw(2);a.xp6(1),a.hij(" ",At.data.in," ")}}function nn(ft,sn){if(1&ft&&(a.TgZ(0,"span",22),a._uU(1),a.TgZ(2,"span",27),a._uU(3," down "),a.qZA()()),2&ft){const At=a.oxw(2);a.xp6(1),a.hij(" ",At.data.down," ")}}function bn(ft,sn){if(1&ft&&(a.TgZ(0,"span",22),a._uU(1),a.TgZ(2,"span",27),a._uU(3," out "),a.qZA()()),2&ft){const At=a.oxw(2);a.xp6(1),a.hij(" ",At.data.out," ")}}function Dn(ft,sn){if(1&ft&&(a.TgZ(0,"span",22),a._uU(1),a.TgZ(2,"span",28),a._uU(3," nearfull"),a.qZA()()),2&ft){const At=a.oxw(2);a.xp6(1),a.hij(" ",At.data.nearfull," ")}}function Rt(ft,sn){if(1&ft&&(a.TgZ(0,"span",22),a._uU(1),a.TgZ(2,"span",29),a._uU(3," full "),a.qZA()()),2&ft){const At=a.oxw(2);a.xp6(1),a.hij(" ",At.data.full," ")}}function Xt(ft,sn){if(1&ft&&(a.YNc(0,Qt,3,4,"span",19),a.YNc(1,ht,4,1,"span",19),a.YNc(2,en,4,1,"span",20),a.YNc(3,nn,4,1,"span",20),a.YNc(4,bn,4,1,"span",20),a.YNc(5,Dn,4,1,"span",20),a.YNc(6,Rt,4,1,"span",20)),2&ft){const At=a.oxw();a.Q6J("ngIf",At.data.up===At.data.in),a.xp6(1),a.Q6J("ngIf",At.data.up!==At.data.in),a.xp6(1),a.Q6J("ngIf",At.data.in!==At.data.up),a.xp6(1),a.Q6J("ngIf",At.data.down),a.xp6(1),a.Q6J("ngIf",At.data.out),a.xp6(1),a.Q6J("ngIf",At.data.nearfull),a.xp6(1),a.Q6J("ngIf",At.data.full)}}function un(ft,sn){if(1&ft&&a._UZ(0,"i",21),2&ft){const At=a.oxw(2);a.Q6J("ngClass",a.VKq(1,j,At.icons.success))}}function _n(ft,sn){if(1&ft&&(a.TgZ(0,"span",22),a._uU(1),a._UZ(2,"i",25),a.qZA()),2&ft){const At=a.oxw(2);a.xp6(1),a.hij(" ",At.data.down," "),a.xp6(1),a.Q6J("ngClass",a.VKq(2,j,At.icons.danger))}}function kn(ft,sn){if(1&ft&&(a.TgZ(0,"span"),a._uU(1),a.YNc(2,un,1,3,"i",30),a.qZA(),a.YNc(3,_n,3,4,"span",20)),2&ft){const At=a.oxw();a.xp6(1),a.hij(" ",At.data.up," "),a.xp6(1),a.Q6J("ngIf",At.data.up||0===At.data.up),a.xp6(1),a.Q6J("ngIf",At.data.down)}}function ri(ft,sn){if(1&ft&&(a.TgZ(0,"span"),a._uU(1),a._UZ(2,"i",21),a.qZA()),2&ft){const At=a.oxw();a.xp6(1),a.hij(" ",At.data," "),a.xp6(1),a.Q6J("ngClass",a.VKq(2,j,At.icons.success))}}function Ir(ft,sn){if(1&ft&&a._uU(0),2&ft){const At=a.oxw(3);a.Oqu(At.title)}}function wr(ft,sn){if(1&ft&&a._uU(0),2&ft){const At=a.oxw(3);a.Oqu(At.title)}}function _r(ft,sn){if(1&ft&&a._uU(0),2&ft){const At=a.oxw(3);a.hij("",At.title,"s")}}function oi(ft,sn){if(1&ft&&(a.TgZ(0,"span",32),a._uU(1),a.YNc(2,Ir,1,1,"ng-template",15),a.YNc(3,wr,1,1,"ng-template",16),a.YNc(4,_r,1,1,"ng-template",17),a.qZA()),2&ft){const At=a.oxw(2);a.Q6J("ngPlural",At.total),a.xp6(1),a.hij(" ",At.total," ")}}function Ri(ft,sn){if(1&ft&&a.YNc(0,oi,5,2,"span",31),2&ft){const At=a.oxw();a.Q6J("ngIf",At.total||0===At.total)}}let Tr=(()=>{class ft{constructor(){this.summaryType="default",this.icons=r.P}ngOnChanges(){this.total=this.data.total||0===this.data.total?this.data.total:"iscsi"===this.summaryType?this.data.up+this.data.down||0:this.data}}return ft.\u0275fac=function(At){return new(At||ft)},ft.\u0275cmp=a.Xpm({type:ft,selectors:[["cd-card-row"]],inputs:{title:"title",link:"link",data:"data",summaryType:"summaryType"},features:[a.TTD],decls:21,vars:6,consts:function(){let sn;return sn=" " + "\ufffd0\ufffd" + " " + "\ufffd*2:1\ufffd" + "" + "[\ufffd0:1\ufffd|\ufffd0:2\ufffd|\ufffd0:3\ufffd]" + "" + "[\ufffd/*2:1\ufffd|\ufffd/*3:2\ufffd|\ufffd/*4:3\ufffd]" + "" + "\ufffd*3:2\ufffd" + "" + "[\ufffd0:1\ufffd|\ufffd0:2\ufffd|\ufffd0:3\ufffd]" + "" + "[\ufffd/*2:1\ufffd|\ufffd/*3:2\ufffd|\ufffd/*4:3\ufffd]" + "" + "\ufffd*4:3\ufffd" + "" + "[\ufffd0:1\ufffd|\ufffd0:2\ufffd|\ufffd0:3\ufffd]" + "s" + "[\ufffd/*2:1\ufffd|\ufffd/*3:2\ufffd|\ufffd/*4:3\ufffd]" + "",sn=a.Zx4(sn),[[1,"list-group-item"],[1,"d-flex","pl-1","pb-2","pt-2"],[1,"ms-4","me-auto"],[3,"routerLink","ngPlural",4,"ngIf","ngIfElse"],[1,"me-3"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["defaultSummary",""],["osdSummary",""],["iscsiSummary",""],["simplifiedSummary",""],["noLinkTitle",""],[3,"routerLink","ngPlural"],sn,["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","ms-2",4,"ngIf"],[1,"text-success",3,"ngClass"],[1,"ms-2"],[1,"text-info",3,"ngClass"],[1,"text-warning",3,"ngClass"],[1,"text-danger",3,"ngClass"],[1,"fw-bold","text-success"],[1,"fw-bold","text-danger","me-2"],[1,"fw-bold","text-warning","me-2"],[1,"fw-bold","text-danger"],["class","text-success",3,"ngClass",4,"ngIf"],[3,"ngPlural",4,"ngIf"],[3,"ngPlural"]]},template:function(At,Ln){if(1&At&&(a._UZ(0,"hr"),a.TgZ(1,"li",0)(2,"div",1)(3,"div",2),a.YNc(4,E,5,3,"a",3),a.qZA(),a.TgZ(5,"span",4),a.ynx(6,5),a.YNc(7,D,2,1,"ng-container",6),a.YNc(8,$,2,1,"ng-container",6),a.YNc(9,U,2,1,"ng-container",6),a.YNc(10,L,2,1,"ng-container",7),a.BQk(),a.qZA()()(),a.YNc(11,Ct,5,5,"ng-template",null,8,a.W1O),a.YNc(13,Xt,7,7,"ng-template",null,9,a.W1O),a.YNc(15,kn,4,3,"ng-template",null,10,a.W1O),a.YNc(17,ri,3,4,"ng-template",null,11,a.W1O),a.YNc(19,Ri,1,1,"ng-template",null,12,a.W1O)),2&At){const rr=a.MAs(20);a.xp6(4),a.Q6J("ngIf",Ln.link&&Ln.total>0)("ngIfElse",rr),a.xp6(2),a.Q6J("ngSwitch",Ln.summaryType),a.xp6(1),a.Q6J("ngSwitchCase","iscsi"),a.xp6(1),a.Q6J("ngSwitchCase","osd"),a.xp6(1),a.Q6J("ngSwitchCase","simplified")}},dependencies:[u.mk,u.O5,u.tP,u.RF,u.n9,u.ED,u.iq,u.zE,c.rH],styles:[".list-group-item[_ngcontent-%COMP%]{border:0;font-size:14px}"]}),ft})()},9219:(y,b,o)=>{"use strict";o.d(b,{A:()=>Q});var r=o(65862),a=o(64537),u=o(88692);function c(U,q){if(1&U&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&U){const L=a.oxw(2);a.xp6(1),a.Oqu(L.cardTitle)}}function e(U,q){if(1&U&&(a.TgZ(0,"h4",6),a.YNc(1,c,2,1,"span",7),a.qZA()),2&U){const L=a.oxw();a.xp6(1),a.Q6J("ngIf",""===L.cardType)}}function f(U,q){if(1&U&&(a.TgZ(0,"h4",8),a._UZ(1,"i",9),a.TgZ(2,"span",10),a._uU(3),a.qZA()()),2&U){const L=a.oxw();a.xp6(1),a.Q6J("ngClass",L.icons.deploy),a.xp6(2),a.Oqu(L.cardTitle)}}function h(U,q){if(1&U&&(a.TgZ(0,"h5",11),a._uU(1),a.qZA()),2&U){const L=a.oxw();a.xp6(1),a.hij(" ",L.cardTitle," ")}}function E(U,q){1&U&&(a.TgZ(0,"div",12),a.Hsn(1,1),a.qZA())}const T=["*",[["",8,"footer"]]],D=function(U,q,L,J,pe){return{"border-0":U,"bg-color":q,shadow:L,"shadow-sm":J,"h-100":pe}},A=function(U,q){return{"d-flex align-items-center":U,"justify-content-center":q}},$=["*",".footer"];let Q=(()=>{class U{constructor(){this.icons=r.P,this.cardType="",this.removeBorder=!1,this.shadow=!1,this.cardFooter=!1,this.fullHeight=!1,this.alignItemsCenter=!1,this.justifyContentCenter=!1}}return U.\u0275fac=function(L){return new(L||U)},U.\u0275cmp=a.Xpm({type:U,selectors:[["cd-card"]],inputs:{cardTitle:"cardTitle",cardType:"cardType",removeBorder:"removeBorder",shadow:"shadow",cardFooter:"cardFooter",fullHeight:"fullHeight",alignItemsCenter:"alignItemsCenter",justifyContentCenter:"justifyContentCenter"},ngContentSelectors:$,decls:7,vars:15,consts:[[1,"card","flex-fill",3,"ngClass"],["class","card-title mt-4 ms-4 mb-0",4,"ngIf"],["class","text-center mt-4 mb-0",4,"ngIf"],["class","text-center card-title",4,"ngIf"],[1,"card-body","ps-0","pe-0",3,"ngClass"],["class","card-footer p-0 bg-white",4,"ngIf"],[1,"card-title","mt-4","ms-4","mb-0"],[4,"ngIf"],[1,"text-center","mt-4","mb-0"],[3,"ngClass"],[1,"badge","badge-info"],[1,"text-center","card-title"],[1,"card-footer","p-0","bg-white"]],template:function(L,J){1&L&&(a.F$t(T),a.TgZ(0,"div",0),a.YNc(1,e,2,1,"h4",1),a.YNc(2,f,4,2,"h4",2),a.YNc(3,h,2,1,"h5",3),a.TgZ(4,"div",4),a.Hsn(5),a.qZA(),a.YNc(6,E,2,0,"div",5),a.qZA()),2&L&&(a.Q6J("ngClass",a.qbA(6,D,J.removeBorder,"Sync Status Card"===J.cardType,J.shadow,!J.shadow&&"syncCards"!==J.cardType,J.fullHeight)),a.xp6(1),a.Q6J("ngIf","zone"!==J.cardType),a.xp6(1),a.Q6J("ngIf","zone"===J.cardType),a.xp6(1),a.Q6J("ngIf","syncCards"===J.cardType),a.xp6(1),a.Q6J("ngClass",a.WLB(12,A,J.alignItemsCenter,J.justifyContentCenter)),a.xp6(2),a.Q6J("ngIf",J.cardFooter))},dependencies:[u.mk,u.O5]}),U})()},15626:(y,b,o)=>{"use strict";o.d(b,{K:()=>A});var r=o(88692),a=o(20092),u=o(54247),c=o(51389),e=o(90504),f=o(19035),h=o(85770),E=o(35540),T=o(12455),D=o(64537);let A=(()=>{class ${}return $.\u0275fac=function(U){return new(U||$)},$.\u0275mod=D.oAB({type:$}),$.\u0275inj=D.cJS({imports:[r.ez,a.u5,a.UX,c._A,c.dT,c.ZQ,c.HK,f.vQ,a.UX,T.D,E.o,c.XC,e.w,h.t,u.Bz,c.M,c.UL]}),$})()},36169:(y,b,o)=>{"use strict";o.d(b,{Y:()=>A});var r=o(20092),a=o(64537),u=o(51389),c=o(88692),e=o(41582),f=o(60312),h=o(30839);function E($,Q){1&$&&(a.TgZ(0,"span",11),a._UZ(1,"i",12),a.qZA())}function T($,Q){1&$&&a.GkF(0)}function D($,Q){if(1&$&&(a.TgZ(0,"p"),a._uU(1),a.qZA()),2&$){const U=a.oxw();a.xp6(1),a.hij(" ",U.description," ")}}let A=(()=>{class ${constructor(U){this.activeModal=U,this.warning=!1,this.showSubmit=!0,this.showCancel=!0,this.boundCancel=this.cancel.bind(this),this.canceled=!1,this.confirmationForm=new r.nJ({})}ngOnInit(){if(this.bodyContext=this.bodyContext||{},this.bodyContext.$implicit=this.bodyData,!this.onSubmit)throw new Error("No submit action defined");if(!this.buttonText)throw new Error("No action name defined");if(!this.titleText)throw new Error("No title defined");if(!this.bodyTpl&&!this.description)throw new Error("No description defined")}ngOnDestroy(){this.onCancel&&this.canceled&&this.onCancel()}cancel(){this.canceled=!0,this.activeModal.close()}stopLoadingSpinner(){this.confirmationForm.setErrors({cdSubmitButton:!0})}}return $.\u0275fac=function(U){return new(U||$)(a.Y36(u.Kz))},$.\u0275cmp=a.Xpm({type:$,selectors:[["cd-confirmation-modal"]],decls:12,vars:10,consts:[[3,"hide"],[1,"modal-title"],["class","text-warning",4,"ngIf"],[1,"modal-content"],["name","confirmationForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","showCancel","showSubmit","submitActionEvent","backActionEvent"],[1,"text-warning"],[1,"fa","fa-exclamation-triangle","fa-1x"]],template:function(U,q){1&U&&(a.TgZ(0,"cd-modal",0),a.NdJ("hide",function(){return q.cancel()}),a.ynx(1,1),a.YNc(2,E,2,0,"span",2),a._uU(3),a.BQk(),a.ynx(4,3),a.TgZ(5,"form",4,5)(7,"div",6),a.YNc(8,T,1,0,"ng-container",7),a.YNc(9,D,2,1,"p",8),a.qZA(),a.TgZ(10,"div",9)(11,"cd-form-button-panel",10),a.NdJ("submitActionEvent",function(){return q.onSubmit(q.confirmationForm.value)})("backActionEvent",function(){return q.boundCancel()}),a.qZA()()(),a.BQk(),a.qZA()),2&U&&(a.xp6(2),a.Q6J("ngIf",q.warning),a.xp6(1),a.Oqu(q.titleText),a.xp6(2),a.Q6J("formGroup",q.confirmationForm),a.xp6(3),a.Q6J("ngTemplateOutlet",q.bodyTpl)("ngTemplateOutletContext",q.bodyContext),a.xp6(1),a.Q6J("ngIf",q.description),a.xp6(2),a.Q6J("form",q.confirmationForm)("submitText",q.buttonText)("showCancel",q.showCancel)("showSubmit",q.showSubmit))},dependencies:[c.O5,c.tP,r._Y,r.JL,r.sg,e.V,f.z,h.p]}),$})()},58039:(y,b,o)=>{"use strict";o.d(b,{s:()=>A});var r=o(97057),a=o(65862),u=o(64537),c=o(23122),e=o(88692),f=o(87925);const h=function($,Q){return[$,Q]};function E($,Q){if(1&$){const U=u.EpF();u.TgZ(0,"i",2),u.NdJ("click",function(){u.CHM(U);const L=u.oxw();return u.KtG(L.onClick())}),u.qZA()}if(2&$){const U=u.oxw();u.Q6J("ngClass",u.WLB(1,h,U.icons.clipboard,U.icons.large))}}const T=function($){return[$]};function D($,Q){if(1&$){const U=u.EpF();u.TgZ(0,"button",3),u.NdJ("click",function(){u.CHM(U);const L=u.oxw();return u.KtG(L.onClick())}),u._UZ(1,"i",4),u.qZA()}if(2&$){const U=u.oxw();u.xp6(1),u.Q6J("ngClass",u.VKq(1,T,U.icons.clipboard))}}let A=(()=>{class ${constructor(U){this.toastr=U,this.byId=!0,this.showIconOnly=!1,this.icons=a.P}getText(){const U=document.getElementById(this.source);return U?.value||U?.textContent}onClick(){try{const U=(0,r.qY)(),q=this.byId?this.getText():this.source,L=()=>{this.toastr.success("Copied text to the clipboard successfully.")};["firefox","ie","ios","safari"].includes(U.name)?navigator.clipboard.writeText(q).then(()=>L()):navigator.permissions.query({name:"clipboard-write"}).then(J=>{("granted"===J.state||"prompt"===J.state)&&navigator.clipboard.writeText(q).then(()=>L())})}catch{this.toastr.error("Failed to copy text to the clipboard.")}}}return $.\u0275fac=function(U){return new(U||$)(u.Y36(c._W))},$.\u0275cmp=u.Xpm({type:$,selectors:[["cd-copy-2-clipboard-button"]],hostBindings:function(U,q){1&U&&u.NdJ("click",function(){return q.onClick()})},inputs:{source:"source",byId:"byId",showIconOnly:"showIconOnly"},decls:3,vars:2,consts:function(){let Q;return Q="Copy to Clipboard",[["class","text-primary ms-2","title","Copy to Clipboard",3,"ngClass","click",4,"ngIf","ngIfElse"],["withButtonTpl",""],["title","Copy to Clipboard",1,"text-primary","ms-2",3,"ngClass","click"],["type","button","title",Q,1,"btn","btn-light",3,"click"],[3,"ngClass"]]},template:function(U,q){if(1&U&&(u.YNc(0,E,1,4,"i",0),u.YNc(1,D,2,3,"ng-template",null,1,u.W1O)),2&U){const L=u.MAs(2);u.Q6J("ngIf",q.showIconOnly)("ngIfElse",L)}},dependencies:[e.mk,e.O5,f.o]}),$})()},30982:(y,b,o)=>{"use strict";o.d(b,{M:()=>Ue});var r=o(20092),a=o(95463),u=o(39749),c=o(64537),e=o(51389),f=o(88692),h=o(82945),E=o(87925),T=o(94276),D=o(56310),A=o(41582),$=o(60312),Q=o(30839);function U(Me,yt){1&Me&&c.GkF(0)}function q(Me,yt){1&Me&&c.GkF(0)}function L(Me,yt){if(1&Me&&(c.TgZ(0,"p"),c.tHW(1,21),c.ALo(2,"lowercase"),c._UZ(3,"strong"),c.N_p(),c.qZA()),2&Me){const et=c.oxw(2);c.xp6(3),c.pQV(c.lcZ(2,2,et.actionDescription))(et.itemNames[0]),c.QtT(1)}}function J(Me,yt){if(1&Me&&(c.TgZ(0,"li")(1,"strong"),c._uU(2),c.qZA()()),2&Me){const et=yt.$implicit;c.xp6(2),c.Oqu(et)}}function pe(Me,yt){if(1&Me&&(c.TgZ(0,"p"),c.SDv(1,22),c.ALo(2,"lowercase"),c.qZA(),c.TgZ(3,"ul"),c.YNc(4,J,3,1,"li",23),c.qZA()),2&Me){const et=c.oxw(2);c.xp6(2),c.pQV(c.lcZ(2,2,et.actionDescription)),c.QtT(1),c.xp6(2),c.Q6J("ngForOf",et.itemNames)}}function j(Me,yt){if(1&Me&&(c.TgZ(0,"span"),c.YNc(1,L,4,4,"p",10),c.YNc(2,pe,5,4,"ng-template",null,20,c.W1O),c.qZA()),2&Me){const et=c.MAs(3),tt=c.oxw();c.xp6(1),c.Q6J("ngIf",1===tt.itemNames.length)("ngIfElse",et)}}function ue(Me,yt){if(1&Me&&(c.TgZ(0,"p"),c.SDv(1,24),c.ALo(2,"lowercase"),c.qZA()),2&Me){const et=c.oxw();c.xp6(2),c.pQV(c.lcZ(2,2,et.actionDescription))(et.itemDescription),c.QtT(1)}}function ie(Me,yt){1&Me&&c.GkF(0)}function me(Me,yt){if(1&Me&&(c._uU(0),c.ALo(1,"titlecase")),2&Me){const et=c.oxw();c.AsE(" ",c.lcZ(1,2,et.actionDescription)," ",et.itemDescription,"\n")}}const Oe=function(Me){return{form:Me}};let Ue=(()=>{class Me{constructor(et){this.activeModal=et,this.actionDescription="delete"}ngOnInit(){const et={confirmation:new r.p4(!1,[r.kI.requiredTrue])};if(this.childFormGroup&&(et.child=this.childFormGroup),this.deletionForm=new a.d(et),!this.submitAction&&!this.submitActionObservable)throw new Error("No submit action defined")}callSubmitAction(){this.submitActionObservable?this.submitActionObservable().subscribe({error:this.stopLoadingSpinner.bind(this),complete:this.hideModal.bind(this)}):this.submitAction()}callBackAction(){this.callBackAtionObservable?this.callBackAtionObservable().subscribe({error:this.stopLoadingSpinner.bind(this),complete:this.hideModal.bind(this)}):this.backAction()}hideModal(){this.activeModal.close()}stopLoadingSpinner(){this.deletionForm.setErrors({cdSubmitButton:!0})}}return Me.\u0275fac=function(et){return new(et||Me)(c.Y36(e.Kz))},Me.\u0275cmp=c.Xpm({type:Me,selectors:[["cd-deletion-modal"]],viewQuery:function(et,tt){if(1&et&&c.Gf(u.w,7),2&et){let Et;c.iGM(Et=c.CRH())&&(tt.submitButton=Et.first)}},decls:24,vars:15,consts:function(){let yt,et,tt,Et;return yt="Yes, I am sure.",et="Are you sure that you want to " + "\ufffd0\ufffd" + " " + "\ufffd#3\ufffd" + "" + "\ufffd1\ufffd" + "" + "\ufffd/#3\ufffd" + "?",tt="Are you sure that you want to " + "\ufffd0\ufffd" + " the selected items?",Et="Are you sure that you want to " + "\ufffd0\ufffd" + " the selected " + "\ufffd1\ufffd" + "?",[[3,"modalRef"],["modal",""],[1,"modal-title"],[4,"ngTemplateOutlet"],[1,"modal-content"],["name","deletionForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"question"],[4,"ngIf","ngIfElse"],["noNames",""],[1,"form-group"],[1,"custom-control","custom-checkbox"],["type","checkbox","name","confirmation","id","confirmation","formControlName","confirmation","autofocus","",1,"custom-control-input"],["for","confirmation",1,"custom-control-label"],yt,[1,"modal-footer"],[3,"form","submitText","submitActionEvent","backActionEvent"],["deletionHeading",""],["manyNames",""],et,tt,[4,"ngFor","ngForOf"],Et]},template:function(et,tt){if(1&et&&(c.TgZ(0,"cd-modal",0,1),c.ynx(2,2),c.YNc(3,U,1,0,"ng-container",3),c.BQk(),c.ynx(4,4),c.TgZ(5,"form",5,6)(7,"div",7),c.YNc(8,q,1,0,"ng-container",8),c.TgZ(9,"div",9),c.YNc(10,j,4,2,"span",10),c.YNc(11,ue,3,4,"ng-template",null,11,c.W1O),c.YNc(13,ie,1,0,"ng-container",8),c.TgZ(14,"div",12)(15,"div",13),c._UZ(16,"input",14),c.TgZ(17,"label",15),c.SDv(18,16),c.qZA()()()()(),c.TgZ(19,"div",17)(20,"cd-form-button-panel",18),c.NdJ("submitActionEvent",function(){return tt.callSubmitAction()})("backActionEvent",function(){return tt.backAction?tt.callBackAction():tt.hideModal()}),c.ALo(21,"titlecase"),c.qZA()()(),c.BQk(),c.qZA(),c.YNc(22,me,2,4,"ng-template",null,19,c.W1O)),2&et){const Et=c.MAs(12),ze=c.MAs(23);c.Q6J("modalRef",tt.activeModal),c.xp6(3),c.Q6J("ngTemplateOutlet",ze),c.xp6(2),c.Q6J("formGroup",tt.deletionForm),c.xp6(3),c.Q6J("ngTemplateOutlet",tt.bodyTemplate)("ngTemplateOutletContext",tt.bodyContext),c.xp6(2),c.Q6J("ngIf",tt.itemNames)("ngIfElse",Et),c.xp6(3),c.Q6J("ngTemplateOutlet",tt.childFormGroupTemplate)("ngTemplateOutletContext",c.VKq(13,Oe,tt.deletionForm)),c.xp6(7),c.Q6J("form",tt.deletionForm)("submitText",c.lcZ(21,11,tt.actionDescription)+" "+tt.itemDescription)}},dependencies:[f.sg,f.O5,f.tP,r._Y,r.Wl,r.JJ,r.JL,r.sg,r.u,h.U,E.o,T.b,D.P,A.V,$.z,Q.p,f.i8,f.rS],styles:[".modal-body[_ngcontent-%COMP%] .question[_ngcontent-%COMP%]{margin-top:1em}.modal-body[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:700}.modal-body[_ngcontent-%COMP%] .question[_ngcontent-%COMP%] .form-check[_ngcontent-%COMP%]{padding-top:7px}"]}),Me})()},52266:(y,b,o)=>{"use strict";o.d(b,{J:()=>E});var r=o(16738),a=o.n(r),u=o(64537),c=o(51389),e=o(88692),f=o(20092);function h(T,D){if(1&T){const A=u.EpF();u.TgZ(0,"div",0)(1,"ngb-timepicker",4),u.NdJ("ngModelChange",function(Q){u.CHM(A);const U=u.oxw();return u.KtG(U.time=Q)})("ngModelChange",function(){u.CHM(A);const Q=u.oxw();return u.KtG(Q.onModelChange())}),u.qZA()()}if(2&T){const A=u.oxw();u.xp6(1),u.Q6J("seconds",A.hasSeconds)("ngModel",A.time)}}let E=(()=>{class T{constructor(A){this.calendar=A,this.hasSeconds=!0,this.hasTime=!0}ngOnInit(){this.minDate=this.calendar.getToday(),this.format=this.hasTime?this.hasSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm":"YYYY-MM-DD";let A=a()(this.control?.value,this.format);(!A.isValid()||A.isBefore(a()()))&&(A=a()()),this.date={year:A.year(),month:A.month()+1,day:A.date()},this.time={hour:A.hour(),minute:A.minute(),second:A.second()},this.onModelChange()}onModelChange(){if(this.date){const A=Object.assign({},this.date,this.time);A.month--,setTimeout(()=>{this.control.setValue(a()(A).format(this.format))})}else setTimeout(()=>{this.control.setValue("")})}}return T.\u0275fac=function(A){return new(A||T)(u.Y36(c.vL))},T.\u0275cmp=u.Xpm({type:T,selectors:[["cd-date-time-picker"]],inputs:{control:"control",hasSeconds:"hasSeconds",hasTime:"hasTime"},decls:4,vars:3,consts:[[1,"d-flex","justify-content-center"],[3,"ngModel","minDate","ngModelChange"],["dp",""],["class","d-flex justify-content-center",4,"ngIf"],[3,"seconds","ngModel","ngModelChange"]],template:function(A,$){1&A&&(u.TgZ(0,"div",0)(1,"ngb-datepicker",1,2),u.NdJ("ngModelChange",function(U){return $.date=U})("ngModelChange",function(){return $.onModelChange()}),u.qZA()(),u.YNc(3,h,2,2,"div",3)),2&A&&(u.xp6(1),u.Q6J("ngModel",$.date)("minDate",$.minDate),u.xp6(2),u.Q6J("ngIf",$.hasTime))},dependencies:[e.O5,f.JJ,f.On,c.VL,c.Pm]}),T})()},30490:(y,b,o)=>{"use strict";o.d(b,{K:()=>u});var r=o(72625),a=o(64537);let u=(()=>{class c{constructor(f){this.docService=f,this.docText="documentation"}ngOnInit(){this.noSubscribe?this.docUrl=this.docService.urlGenerator(this.section):this.docService.subscribeOnce(this.section,f=>{this.docUrl=f})}}return c.\u0275fac=function(f){return new(f||c)(a.Y36(r.R))},c.\u0275cmp=a.Xpm({type:c,selectors:[["cd-doc"]],inputs:{section:"section",docText:"docText",noSubscribe:"noSubscribe"},decls:2,vars:2,consts:[["target","_blank",3,"href"]],template:function(f,h){1&f&&(a.TgZ(0,"a",0),a._uU(1),a.qZA()),2&f&&(a.s9C("href",h.docUrl,a.LSH),a.xp6(1),a.Oqu(h.docText))}}),c})()},30839:(y,b,o)=>{"use strict";o.d(b,{p:()=>T});var r=o(64537),a=o(79512),u=o(39749),c=o(88692),e=o(63285),f=o(13472);function h(D,A){if(1&D){const $=r.EpF();r.TgZ(0,"cd-back-button",2),r.NdJ("backAction",function(){r.CHM($);const U=r.oxw();return r.KtG(U.backAction())}),r.qZA()}if(2&D){const $=r.oxw();r.Q6J("name",$.cancelText)}}function E(D,A){if(1&D){const $=r.EpF();r.TgZ(0,"cd-submit-button",3),r.NdJ("submitAction",function(){r.CHM($);const U=r.oxw();return r.KtG(U.submitAction())}),r._uU(1),r.qZA()}if(2&D){const $=r.oxw();r.Q6J("disabled",$.disabled)("form",$.form)("ariaLabel",$.submitText),r.xp6(1),r.Oqu($.submitText)}}let T=(()=>{class D{constructor($,Q,U){this.location=$,this.actionLabels=Q,this.modalService=U,this.submitActionEvent=new r.vpe,this.backActionEvent=new r.vpe,this.showSubmit=!0,this.showCancel=!0,this.wrappingClass="",this.btnClass="",this.disabled=!1}ngOnInit(){this.submitText=this.submitText||this.actionLabels.CREATE,this.cancelText=this.cancelText||this.actionLabels.CANCEL}submitAction(){this.submitActionEvent.emit()}backAction(){0===this.backActionEvent.observers.length?this.modalService.hasOpenModals()?this.modalService.dismissAll():this.location.back():this.backActionEvent.emit()}}return D.\u0275fac=function($){return new($||D)(r.Y36(c.Ye),r.Y36(a.p4),r.Y36(e.Z))},D.\u0275cmp=r.Xpm({type:D,selectors:[["cd-form-button-panel"]],viewQuery:function($,Q){if(1&$&&r.Gf(u.w,5),2&$){let U;r.iGM(U=r.CRH())&&(Q.submitButton=U.first)}},inputs:{form:"form",showSubmit:"showSubmit",showCancel:"showCancel",wrappingClass:"wrappingClass",btnClass:"btnClass",submitText:"submitText",cancelText:"cancelText",disabled:"disabled"},outputs:{submitActionEvent:"submitActionEvent",backActionEvent:"backActionEvent"},decls:3,vars:4,consts:[["class","m-2",3,"name","backAction",4,"ngIf"],["data-cy","submitBtn",3,"disabled","form","ariaLabel","submitAction",4,"ngIf"],[1,"m-2",3,"name","backAction"],["data-cy","submitBtn",3,"disabled","form","ariaLabel","submitAction"]],template:function($,Q){1&$&&(r.TgZ(0,"div"),r.YNc(1,h,1,1,"cd-back-button",0),r.YNc(2,E,2,4,"cd-submit-button",1),r.qZA()),2&$&&(r.Tol(Q.wrappingClass),r.xp6(1),r.Q6J("ngIf",Q.showCancel),r.xp6(1),r.Q6J("ngIf",Q.showSubmit))},dependencies:[c.O5,u.w,f.W]}),D})()},65683:(y,b,o)=>{"use strict";o.d(b,{X:()=>bt});var r=o(20092),a=o(23815),u=o.n(a),c=o(47557),e=o(28211),f=o(64537),h=o(51389),E=o(62862),T=o(88692),D=o(17932),A=o(87925),$=o(94276),Q=o(41582),U=o(60192),q=o(60312),L=o(30839);function J(Ct,Qt){if(1&Ct&&(f.ynx(0,10),f._uU(1),f.BQk()),2&Ct){const ht=f.oxw();f.xp6(1),f.hij(" ",ht.titleText," ")}}function pe(Ct,Qt){if(1&Ct&&(f.TgZ(0,"p"),f._uU(1),f.qZA()),2&Ct){const ht=f.oxw();f.xp6(1),f.Oqu(ht.message)}}const j=function(Ct){return{required:Ct}};function ue(Ct,Qt){if(1&Ct&&(f.TgZ(0,"label",18),f._uU(1),f.qZA()),2&Ct){const ht=f.oxw().$implicit;f.Q6J("ngClass",f.VKq(3,j,!0===(null==ht?null:ht.required)))("for",ht.name),f.xp6(1),f.hij(" ",ht.label," ")}}function ie(Ct,Qt){if(1&Ct&&f._UZ(0,"input",19),2&Ct){const ht=f.oxw().$implicit;f.Q6J("type",ht.type)("id",ht.name)("name",ht.name)("formControlName",ht.name)}}function me(Ct,Qt){if(1&Ct&&f._UZ(0,"input",20),2&Ct){const ht=f.oxw().$implicit;f.Q6J("id",ht.name)("name",ht.name)("formControlName",ht.name)}}function Oe(Ct,Qt){if(1&Ct&&(f.TgZ(0,"option",24),f._uU(1),f.qZA()),2&Ct){const ht=f.oxw(2).$implicit;f.Q6J("ngValue",null),f.xp6(1),f.hij(" ",null==ht||null==ht.typeConfig?null:ht.typeConfig.placeholder," ")}}function Ue(Ct,Qt){if(1&Ct&&(f.TgZ(0,"option",25),f._uU(1),f.qZA()),2&Ct){const ht=Qt.$implicit;f.Q6J("value",ht.value),f.xp6(1),f.hij(" ",ht.text," ")}}function Me(Ct,Qt){if(1&Ct&&(f.TgZ(0,"select",21),f.YNc(1,Oe,2,2,"option",22),f.YNc(2,Ue,2,2,"option",23),f.qZA()),2&Ct){const ht=f.oxw().$implicit;f.Q6J("id",ht.name)("formControlName",ht.name),f.xp6(1),f.Q6J("ngIf",null==ht||null==ht.typeConfig?null:ht.typeConfig.placeholder),f.xp6(1),f.Q6J("ngForOf",null==ht||null==ht.typeConfig?null:ht.typeConfig.options)}}function yt(Ct,Qt){if(1&Ct&&f._UZ(0,"cd-select-badges",26),2&Ct){const ht=f.oxw().$implicit;f.Q6J("id",ht.name)("data",ht.value)("customBadges",null==ht||null==ht.typeConfig?null:ht.typeConfig.customBadges)("options",null==ht||null==ht.typeConfig?null:ht.typeConfig.options)("messages",null==ht||null==ht.typeConfig?null:ht.typeConfig.messages)}}function et(Ct,Qt){if(1&Ct&&(f.TgZ(0,"span",27),f._uU(1),f.qZA()),2&Ct){const ht=f.oxw().$implicit,en=f.oxw();f.xp6(1),f.hij(" ",en.getError(ht)," ")}}const tt=function(Ct,Qt){return{"cd-col-form-input":Ct,"col-sm-12":Qt}},Et=function(){return["text","number"]};function ze(Ct,Qt){if(1&Ct&&(f.ynx(0),f.TgZ(1,"div"),f.YNc(2,ue,2,5,"label",11),f.TgZ(3,"div",12),f.YNc(4,ie,1,4,"input",13),f.YNc(5,me,1,3,"input",14),f.YNc(6,Me,3,4,"select",15),f.YNc(7,yt,1,5,"cd-select-badges",16),f.YNc(8,et,2,1,"span",17),f.qZA()(),f.BQk()),2&Ct){const ht=Qt.$implicit,en=f.oxw(),nn=f.MAs(4);f.xp6(1),f.Gre("form-group row cd-",ht.name,"-form-group"),f.xp6(1),f.Q6J("ngIf",ht.label),f.xp6(1),f.Q6J("ngClass",f.WLB(10,tt,ht.label,!ht.label)),f.xp6(1),f.Q6J("ngIf",f.DdM(13,Et).includes(ht.type)),f.xp6(1),f.Q6J("ngIf","binary"===ht.type),f.xp6(1),f.Q6J("ngIf","select"===ht.type),f.xp6(1),f.Q6J("ngIf","select-badges"===ht.type),f.xp6(1),f.Q6J("ngIf",en.formGroup.showError(ht.name,nn))}}let bt=(()=>{class Ct{constructor(ht,en,nn,bn){this.activeModal=ht,this.formBuilder=en,this.formatter=nn,this.dimlessBinaryPipe=bn}ngOnInit(){this.createForm()}createForm(){const ht={};this.fields.forEach(en=>{ht[en.name]=this.createFormControl(en)}),this.formGroup=this.formBuilder.group(ht)}createFormControl(ht){let en=[],nn=[];return u().isBoolean(ht.required)&&ht.required&&en.push(r.kI.required),ht.validators&&(en=en.concat(ht.validators)),ht.asyncValidators&&(nn=nn.concat(ht.asyncValidators)),new r.p4(u().defaultTo("binary"===ht.type?this.dimlessBinaryPipe.transform(ht.value):ht.value,null),{validators:en,asyncValidators:nn})}getError(ht){const en=this.formGroup.get(ht.name).errors;return Object.keys(en).map(bn=>this.getErrorMessage(bn,en[bn],ht.errors)).join("<br>")}getErrorMessage(ht,en,nn){if(nn){const bn=nn[ht];if(bn)return bn}return["binaryMin","binaryMax"].includes(ht)?en():"required"===ht?"This field is required.":"pattern"===ht?"Size must be a number or in a valid format. eg: 5 GiB":"An error occurred."}onSubmitForm(ht){this.fields.filter(nn=>"binary"===nn.type).map(nn=>nn.name).forEach(nn=>{const bn=ht[nn];bn&&(ht[nn]=this.formatter.toBytes(bn))}),this.activeModal.close(),u().isFunction(this.onSubmit)&&this.onSubmit(ht)}}return Ct.\u0275fac=function(ht){return new(ht||Ct)(f.Y36(h.Kz),f.Y36(E.O),f.Y36(e.H),f.Y36(c.$))},Ct.\u0275cmp=f.Xpm({type:Ct,selectors:[["cd-form-modal"]],decls:10,vars:7,consts:[[3,"modalRef"],["class","modal-title",4,"ngIf"],[1,"modal-content"],["novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"modal-title"],["class","cd-col-form-label",3,"ngClass","for",4,"ngIf"],[3,"ngClass"],["class","form-control",3,"type","id","name","formControlName",4,"ngIf"],["type","text","class","form-control","cdDimlessBinary","",3,"id","name","formControlName",4,"ngIf"],["class","form-select",3,"id","formControlName",4,"ngIf"],[3,"id","data","customBadges","options","messages",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],[1,"cd-col-form-label",3,"ngClass","for"],[1,"form-control",3,"type","id","name","formControlName"],["type","text","cdDimlessBinary","",1,"form-control",3,"id","name","formControlName"],[1,"form-select",3,"id","formControlName"],[3,"ngValue",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"ngValue"],[3,"value"],[3,"id","data","customBadges","options","messages"],[1,"invalid-feedback"]],template:function(ht,en){1&ht&&(f.TgZ(0,"cd-modal",0),f.YNc(1,J,2,1,"ng-container",1),f.ynx(2,2),f.TgZ(3,"form",3,4)(5,"div",5),f.YNc(6,pe,2,1,"p",6),f.YNc(7,ze,9,14,"ng-container",7),f.qZA(),f.TgZ(8,"div",8)(9,"cd-form-button-panel",9),f.NdJ("submitActionEvent",function(){return en.onSubmitForm(en.formGroup.value)}),f.qZA()()(),f.BQk(),f.qZA()),2&ht&&(f.Q6J("modalRef",en.activeModal),f.xp6(1),f.Q6J("ngIf",en.titleText),f.xp6(2),f.Q6J("formGroup",en.formGroup),f.xp6(3),f.Q6J("ngIf",en.message),f.xp6(1),f.Q6J("ngForOf",en.fields),f.xp6(2),f.Q6J("form",en.formGroup)("submitText",en.submitButtonText))},dependencies:[T.mk,T.sg,T.O5,r._Y,r.YN,r.Kr,r.Fj,r.EJ,r.JJ,r.JL,r.sg,r.u,D.Q,A.o,$.b,Q.V,U.m,q.z,L.p]}),Ct})()},76317:(y,b,o)=>{"use strict";o.d(b,{F:()=>ue});var r=o(9837),a=o(65862),u=o(64537),c=o(5998),e=o(88692),f=o(20092),h=o(87925),E=o(8958),T=o(34501),D=o(30490);function A(ie,me){1&ie&&(u.TgZ(0,"cd-loading-panel"),u.SDv(1,2),u.qZA())}function $(ie,me){1&ie&&(u.TgZ(0,"cd-alert-panel",3),u.tHW(1,4),u._UZ(2,"cd-doc",5),u.N_p(),u.qZA())}function Q(ie,me){1&ie&&(u.TgZ(0,"cd-alert-panel",3),u.tHW(1,6),u._UZ(2,"cd-doc",5),u.N_p(),u.qZA())}function U(ie,me){if(1&ie&&(u.TgZ(0,"option",25),u._uU(1),u.qZA()),2&ie){const Oe=me.$implicit;u.Q6J("ngValue",Oe.value),u.xp6(1),u.hij("",Oe.name," ")}}function q(ie,me){if(1&ie){const Oe=u.EpF();u.TgZ(0,"cd-alert-panel",28),u.NdJ("dismissed",function(){u.CHM(Oe);const Me=u.oxw(3);return u.KtG(Me.showMessage=!1)}),u.tHW(1,29),u._UZ(2,"a",30),u.N_p(),u.qZA()}if(2&ie){const Oe=u.oxw(3);u.xp6(2),u.Q6J("href",Oe.grafanaSrc,u.LSH)}}function L(ie,me){if(1&ie&&(u.TgZ(0,"div",26),u.YNc(1,q,3,1,"cd-alert-panel",27),u.qZA()),2&ie){const Oe=u.oxw(2);u.xp6(1),u.Q6J("ngIf",Oe.showMessage)}}const J=function(ie){return[ie]},pe=function(ie,me){return[ie,me]};function j(ie,me){if(1&ie){const Oe=u.EpF();u.ynx(0),u.TgZ(1,"div",7)(2,"div",8)(3,"div",9)(4,"label",10),u.SDv(5,11),u.qZA()(),u.TgZ(6,"div",12)(7,"select",13),u.NdJ("ngModelChange",function(Me){u.CHM(Oe);const yt=u.oxw();return u.KtG(yt.time=Me)})("ngModelChange",function(Me){u.CHM(Oe);const yt=u.oxw();return u.KtG(yt.onTimepickerChange(Me))}),u.YNc(8,U,2,2,"option",14),u.qZA()(),u.TgZ(9,"div",15)(10,"button",16),u.NdJ("click",function(){u.CHM(Oe);const Me=u.oxw();return u.KtG(Me.reset())}),u._UZ(11,"i",17),u.qZA()(),u.TgZ(12,"div",15)(13,"button",18),u.NdJ("click",function(){u.CHM(Oe);const Me=u.oxw();return u.KtG(Me.showMessage=!Me.showMessage)}),u._UZ(14,"i",17),u.qZA()()()(),u.TgZ(15,"div",19),u.YNc(16,L,2,1,"div",20),u.qZA(),u.TgZ(17,"div",19)(18,"div",21)(19,"div",22),u._UZ(20,"iframe",23,24),u.qZA()()(),u.BQk()}if(2&ie){const Oe=u.oxw();u.xp6(7),u.Q6J("ngModel",Oe.time),u.xp6(1),u.Q6J("ngForOf",Oe.grafanaTimes),u.xp6(3),u.Q6J("ngClass",u.VKq(8,J,Oe.icons.undo)),u.xp6(3),u.Q6J("ngClass",u.WLB(10,pe,Oe.icons.infoCircle,Oe.icons.large)),u.xp6(2),u.Q6J("ngIf",Oe.showMessage),u.xp6(4),u.Q6J("src",Oe.grafanaSrc,u.uOi)("ngClass",Oe.panelStyle)("title",Oe.title)}}let ue=(()=>{class ie{constructor(Oe,Ue){this.sanitizer=Oe,this.settingsService=Ue,this.grafanaExist=!1,this.mode="&kiosk",this.loading=!0,this.styles={},this.dashboardExist=!0,this.showMessage=!1,this.icons=a.P,this.DEFAULT_TIME="from=now-1h&to=now",this.grafanaTimes=[{name:"Last 5 minutes",value:"from=now-5m&to=now"},{name:"Last 15 minutes",value:"from=now-15m&to=now"},{name:"Last 30 minutes",value:"from=now-30m&to=now"},{name:"Last 1 hour (Default)",value:"from=now-1h&to=now"},{name:"Last 3 hours",value:"from=now-3h&to=now"},{name:"Last 6 hours",value:"from=now-6h&to=now"},{name:"Last 12 hours",value:"from=now-12h&to=now"},{name:"Last 24 hours",value:"from=now-24h&to=now"},{name:"Yesterday",value:"from=now-1d%2Fd&to=now-1d%2Fd"},{name:"Today so far",value:"from=now%2Fd&to=now"},{name:"Day before yesterday",value:"from=now-2d%2Fd&to=now-2d%2Fd"},{name:"Last 2 days",value:"from=now-2d&to=now"},{name:"This day last week",value:"from=now-7d%2Fd&to=now-7d%2Fd"},{name:"Previous week",value:"from=now-1w%2Fw&to=now-1w%2Fw"},{name:"This week so far",value:"from=now%2Fw&to=now"},{name:"Last 7 days",value:"from=now-7d&to=now"},{name:"Previous month",value:"from=now-1M%2FM&to=now-1M%2FM"},{name:"This month so far",value:"from=now%2FM&to=now"},{name:"Last 30 days",value:"from=now-30d&to=now"},{name:"Last 90 days",value:"from=now-90d&to=now"},{name:"Last 6 months",value:"from=now-6M&to=now"},{name:"Last 1 year",value:"from=now-1y&to=now"},{name:"Previous year",value:"from=now-1y%2Fy&to=now-1y%2Fy"},{name:"This year so far",value:"from=now%2Fy&to=now"},{name:"Last 2 years",value:"from=now-2y&to=now"},{name:"Last 5 years",value:"from=now-5y&to=now"}]}ngOnInit(){this.time=this.DEFAULT_TIME,this.styles={one:"grafana_one",two:"grafana_two",three:"grafana_three",four:"grafana_four"},this.datasource="metrics"===this.type?"Dashboard1":"Loki",this.settingsService.ifSettingConfigured("api/grafana/url",Oe=>{this.grafanaExist=!0,this.loading=!1,this.baseUrl=Oe+"/d/",this.getFrame()}),this.panelStyle=this.styles[this.grafanaStyle]}getFrame(){this.settingsService.validateGrafanaDashboardUrl(this.uid).subscribe(Oe=>this.dashboardExist=200===Oe),this.url="metrics"===this.type?`${this.baseUrl}${this.uid}/${this.grafanaPath}&refresh=2s&var-datasource=${this.datasource}${this.mode}&${this.time}`:`${this.baseUrl.slice(0,-2)}${this.grafanaPath}orgId=1&left={"datasource": "${this.datasource}", "queries": [{"refId": "A"}], "range": {"from": "now-1h", "to": "now"}}${this.mode}`,this.grafanaSrc=this.sanitizer.bypassSecurityTrustResourceUrl(this.url)}onTimepickerChange(){this.grafanaExist&&this.getFrame()}reset(){this.time=this.DEFAULT_TIME,this.grafanaExist&&this.getFrame()}ngOnChanges(){this.grafanaExist&&this.getFrame()}}return ie.\u0275fac=function(Oe){return new(Oe||ie)(u.Y36(c.H7),u.Y36(r.g))},ie.\u0275cmp=u.Xpm({type:ie,selectors:[["cd-grafana"]],inputs:{type:"type",grafanaPath:"grafanaPath",grafanaStyle:"grafanaStyle",uid:"uid",title:"title"},features:[u.TTD],decls:4,vars:4,consts:function(){let me,Oe,Ue,Me,yt,et,tt;return me="Loading panel data...",Oe="Please consult the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " on how to configure and enable the monitoring functionality.",Ue="Grafana Dashboard doesn't exist. Please refer to " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " on how to add dashboards to Grafana.",Me="Grafana Time Picker",yt="Reset Settings",et="Show hidden information",tt="If no embedded Grafana Dashboard appeared below, please follow " + "\ufffd#2\ufffd" + "this link " + "\ufffd/#2\ufffd" + " to check if Grafana is reachable and there are no HTTPS certificate issues. You may need to reload this page after accepting any Browser certificate exceptions",[[4,"ngIf"],["type","info",4,"ngIf"],me,["type","info"],Oe,["section","grafana"],Ue,[1,"row","mb-3"],[1,"col-lg-5","d-flex"],[1,"col-md-3","timepicker"],["for","timepicker",1,"mt-2"],Me,[1,"col-sm-4"],["id","timepicker","name","timepicker",1,"form-select",3,"ngModel","ngModelChange"],[3,"ngValue",4,"ngFor","ngForOf"],[1,"col-sm-1"],["title",yt,1,"btn","btn-light","ms-3",3,"click"],[3,"ngClass"],["title",et,1,"btn","btn-light","ms-3",3,"click"],[1,"row"],["class","col my-2",4,"ngIf"],[1,"col"],[1,"grafana-container"],["id","iframe","frameborder","0","scrolling","no",1,"grafana",3,"src","ngClass","title"],["iframe",""],[3,"ngValue"],[1,"col","my-2"],["type","info","class","mb-3","dismissible","true",3,"dismissed",4,"ngIf"],["type","info","dismissible","true",1,"mb-3",3,"dismissed"],tt,["target","_blank","noopener","","noreferrer","",3,"href"]]},template:function(Oe,Ue){1&Oe&&(u.YNc(0,A,2,0,"cd-loading-panel",0),u.YNc(1,$,3,0,"cd-alert-panel",1),u.YNc(2,Q,3,0,"cd-alert-panel",1),u.YNc(3,j,22,13,"ng-container",0)),2&Oe&&(u.Q6J("ngIf",Ue.loading&&Ue.grafanaExist),u.xp6(1),u.Q6J("ngIf",!Ue.grafanaExist),u.xp6(1),u.Q6J("ngIf",!Ue.dashboardExist),u.xp6(1),u.Q6J("ngIf",Ue.grafanaExist&&Ue.dashboardExist))},dependencies:[e.mk,e.sg,e.O5,f.YN,f.Kr,f.EJ,f.JJ,f.On,h.o,E.b,T.G,D.K],styles:[".grafana[_ngcontent-%COMP%]{height:600px;width:100%;z-index:0}.grafana_one[_ngcontent-%COMP%]{height:400px}.grafana_two[_ngcontent-%COMP%]{height:750px}.grafana_three[_ngcontent-%COMP%]{height:900px}.grafana_four[_ngcontent-%COMP%]{height:1160px}.timepicker[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:700}.dropdown-menu[_ngcontent-%COMP%]{left:auto;right:20px;top:20px}"]}),ie})()},18372:(y,b,o)=>{"use strict";o.d(b,{S:()=>E});var r=o(65862),a=o(64537),u=o(88692),c=o(51389);function e(T,D){if(1&T&&(a._UZ(0,"div",2),a.Hsn(1)),2&T){const A=a.oxw();a.Tol(A.class),a.Q6J("innerHtml",A.html,a.oJD)}}const f=function(T){return[T]},h=["*"];let E=(()=>{class T{constructor(){this.iconClass="",this.icons=r.P}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275cmp=a.Xpm({type:T,selectors:[["cd-helper"]],inputs:{class:"class",iconClass:"iconClass",html:"html"},ngContentSelectors:h,decls:3,vars:4,consts:[["popoverTpl",""],["aria-hidden","true",3,"ngClass","ngbPopover","click"],[3,"innerHtml"]],template:function(A,$){if(1&A&&(a.F$t(),a.YNc(0,e,2,3,"ng-template",null,0,a.W1O),a.TgZ(2,"i",1),a.NdJ("click",function(U){return U.preventDefault()}),a.qZA()),2&A){const Q=a.MAs(1);a.xp6(2),a.Q6J("ngClass",$.iconClass?$.iconClass:a.VKq(2,f,$.icons.questionCircle))("ngbPopover",Q)}},dependencies:[u.mk,c.o8],styles:["i[_ngcontent-%COMP%]{color:#25828e;cursor:pointer;padding-left:4px}"]}),T})()},8958:(y,b,o)=>{"use strict";o.d(b,{b:()=>h});var r=o(65862),a=o(64537),u=o(88692),c=o(51389);const e=function(E,T){return[E,T]},f=["*"];let h=(()=>{class E{constructor(){this.icons=r.P}}return E.\u0275fac=function(D){return new(D||E)},E.\u0275cmp=a.Xpm({type:E,selectors:[["cd-loading-panel"]],ngContentSelectors:f,decls:4,vars:5,consts:[["type","info",3,"dismissible"],["aria-hidden","true",1,"me-2",3,"ngClass"]],template:function(D,A){1&D&&(a.F$t(),a.TgZ(0,"ngb-alert",0)(1,"strong"),a._UZ(2,"i",1),a.qZA(),a.Hsn(3),a.qZA()),2&D&&(a.Q6J("dismissible",!1),a.xp6(2),a.Q6J("ngClass",a.WLB(2,e,A.icons.spinner,A.icons.spin)))},dependencies:[u.mk,c.xm]}),E})()},60312:(y,b,o)=>{"use strict";o.d(b,{z:()=>h});var r=o(64537),a=o(54247),u=o(88692),c=o(87925);const e=[[["",8,"modal-title"]],[["",8,"modal-content"]]],f=[".modal-title",".modal-content"];let h=(()=>{class E{constructor(D){this.router=D,this.hide=new r.vpe}close(){this.pageURL?this.router.navigate([this.pageURL,{outlets:{modal:null}}]):this.modalRef?.close(),this.hide.emit()}}return E.\u0275fac=function(D){return new(D||E)(r.Y36(a.F0))},E.\u0275cmp=r.Xpm({type:E,selectors:[["cd-modal"]],inputs:{modalRef:"modalRef",pageURL:"pageURL"},outputs:{hide:"hide"},ngContentSelectors:f,decls:8,vars:2,consts:[[3,"ngClass"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title","float-start"],["type","button","aria-label","Close",1,"btn-close","float-end",3,"click"]],template:function(D,A){1&D&&(r.F$t(e),r.TgZ(0,"div",0)(1,"div",0)(2,"div",1)(3,"div",2)(4,"h4",3),r.Hsn(5),r.qZA(),r.TgZ(6,"button",4),r.NdJ("click",function(){return A.close()}),r.qZA()(),r.Hsn(7,1),r.qZA()()()),2&D&&(r.Q6J("ngClass",A.pageURL?"modal":""),r.xp6(1),r.Q6J("ngClass",A.pageURL?"modal-dialog":""))},dependencies:[u.mk,c.o],styles:[".modal-header[_ngcontent-%COMP%]{background-color:#e9ecef;border-bottom:1px solid #ced4da;border-radius:5px 5px 0 0} cd-modal .modal-footer{background-color:#e9ecef;border-bottom:1px solid #ced4da;border-radius:0 0 5px 5px} cd-modal .modal-body{max-height:70vh;overflow-x:hidden;overflow-y:auto}button.close[_ngcontent-%COMP%]{outline:none}"]}),E})()},60192:(y,b,o)=>{"use strict";o.d(b,{m:()=>T});var r=o(64537),a=o(65862),u=o(7022),c=o(39092),e=o(88692);const f=["cdSelect"],h=function(D){return[D]};function E(D,A){if(1&D){const $=r.EpF();r.TgZ(0,"span")(1,"span",4)(2,"span",5),r._uU(3),r.qZA(),r.TgZ(4,"a",6),r.NdJ("click",function(){const q=r.CHM($).$implicit;r.oxw();const L=r.MAs(1);return r.KtG(L.removeItem(q))}),r._UZ(5,"i",7),r.qZA()()()}if(2&D){const $=A.$implicit,Q=r.oxw();r.xp6(3),r.Oqu($),r.xp6(2),r.Q6J("ngClass",r.VKq(2,h,Q.icons.destroy))}}let T=(()=>{class D{constructor(){this.data=[],this.options=[],this.messages=new u.a({}),this.customBadges=!1,this.customBadgeValidators=[],this.selection=new r.vpe,this.icons=a.P}}return D.\u0275fac=function($){return new($||D)},D.\u0275cmp=r.Xpm({type:D,selectors:[["cd-select-badges"]],viewQuery:function($,Q){if(1&$&&r.Gf(f,7),2&$){let U;r.iGM(U=r.CRH())&&(Q.cdSelect=U.first)}},inputs:{data:"data",options:"options",messages:"messages",selectionLimit:"selectionLimit",customBadges:"customBadges",customBadgeValidators:"customBadgeValidators"},outputs:{selection:"selection"},decls:4,vars:10,consts:[["elemClass","me-2 select-menu-edit",3,"data","options","messages","selectionLimit","customBadges","customBadgeValidators","selection"],["cdSelect",""],[3,"ngClass"],[4,"ngFor","ngForOf"],[1,"badge","badge-dark","me-2"],[1,"me-2"],[1,"badge-remove",3,"click"],["aria-hidden","true",3,"ngClass"]],template:function($,Q){1&$&&(r.TgZ(0,"cd-select",0,1),r.NdJ("selection",function(q){return Q.selection.emit(q)}),r._UZ(2,"i",2),r.qZA(),r.YNc(3,E,6,4,"span",3)),2&$&&(r.Q6J("data",Q.data)("options",Q.options)("messages",Q.messages)("selectionLimit",Q.selectionLimit)("customBadges",Q.customBadges)("customBadgeValidators",Q.customBadgeValidators),r.xp6(2),r.Q6J("ngClass",r.VKq(8,h,Q.icons.edit)),r.xp6(1),r.Q6J("ngForOf",Q.data))},dependencies:[e.mk,e.sg,c.H],styles:[".badge-remove[_ngcontent-%COMP%]{color:#fff}i.fa-pencil[_ngcontent-%COMP%]{font-size:1.1rem}"]}),D})()},7022:(y,b,o)=>{"use strict";o.d(b,{a:()=>u});var r=o(23815),a=o.n(r);class u{constructor(e){this.customValidations={},this.empty="No items selected.",this.selectionLimit={tooltip:"Deselect item to select again",text:"Selection limit reached"},this.filter="Filter tags",this.add="Add badge",this.noOptions="There are no items available.",a().merge(this,e)}}},14745:(y,b,o)=>{"use strict";o.d(b,{$:()=>r});class r{constructor(u,c,e,f=!0){this.selected=u,this.name=c,this.description=e,this.enabled=f}}},39092:(y,b,o)=>{"use strict";o.d(b,{H:()=>Et});var r=o(64537),a=o(20092),u=o(23815),c=o.n(u),e=o(65862),f=o(95463),h=o(7022),E=o(14745),T=o(88692),D=o(51389),A=o(87925),$=o(94276),Q=o(41582);function U(ze,bt){if(1&ze&&(r.TgZ(0,"span",12),r._uU(1),r.qZA()),2&ze){const Ct=r.oxw().$implicit,Qt=r.oxw(2);r.xp6(1),r.hij(" ",Qt.messages.customValidations[Ct]," ")}}function q(ze,bt){if(1&ze&&(r.ynx(0),r.YNc(1,U,2,1,"span",11),r.BQk()),2&ze){const Ct=bt.$implicit;r.oxw();const Qt=r.MAs(1),ht=r.oxw();r.xp6(1),r.Q6J("ngIf",ht.form.showError("filter",Qt)&&ht.filter.hasError(Ct))}}const L=function(ze){return[ze]};function J(ze,bt){if(1&ze&&r._UZ(0,"i",18),2&ze){const Ct=r.oxw(3);r.Q6J("ngClass",r.VKq(1,L,Ct.icons.check))}}function pe(ze,bt){if(1&ze&&(r.ynx(0),r._UZ(1,"br"),r.TgZ(2,"small",19),r._uU(3),r.qZA(),r.BQk()),2&ze){const Ct=r.oxw().$implicit;r.xp6(3),r.hij(" ",Ct.description,"\xa0 ")}}const j=function(ze){return{"help-block disabled":ze}};function ue(ze,bt){if(1&ze){const Ct=r.EpF();r.TgZ(0,"div",13),r.NdJ("click",function(){const en=r.CHM(Ct).$implicit,nn=r.oxw(2);return r.KtG(nn.triggerSelection(en))}),r.TgZ(1,"div",14),r.YNc(2,J,1,3,"i",15),r._uU(3," \xa0 "),r.qZA(),r.TgZ(4,"div",16),r._uU(5),r.YNc(6,pe,4,1,"ng-container",17),r.qZA()()}if(2&ze){const Ct=bt.$implicit,Qt=r.oxw(2);r.Q6J("ngClass",r.VKq(4,j,!(Qt.data.length!==Qt.selectionLimit&&Ct.enabled||Ct.selected))),r.xp6(2),r.Q6J("ngIf",Ct.selected),r.xp6(3),r.hij(" ",Ct.name," "),r.xp6(1),r.Q6J("ngIf",Ct.description)}}function ie(ze,bt){if(1&ze){const Ct=r.EpF();r.TgZ(0,"div",20),r.NdJ("click",function(){r.CHM(Ct);const ht=r.oxw(2);return r.KtG(ht.addCustomOption())}),r.TgZ(1,"div",14),r._UZ(2,"i",18),r._uU(3," \xa0 "),r.qZA(),r.TgZ(4,"div",16),r._uU(5),r.qZA()()}if(2&ze){const Ct=r.oxw(2);r.xp6(2),r.Q6J("ngClass",r.VKq(3,L,Ct.icons.tag)),r.xp6(3),r.AsE(" ",Ct.messages.add," '",Ct.filter.value,"' ")}}function me(ze,bt){if(1&ze&&(r.TgZ(0,"span",23),r._uU(1),r.qZA()),2&ze){const Ct=r.oxw(3);r.Q6J("ngbTooltip",Ct.messages.selectionLimit.tooltip),r.xp6(1),r.hij(" ",Ct.messages.selectionLimit.text," ")}}function Oe(ze,bt){if(1&ze&&(r.TgZ(0,"div",21),r.YNc(1,me,2,2,"span",22),r.qZA()),2&ze){const Ct=r.oxw(2);r.xp6(1),r.Q6J("ngIf",Ct.data.length===Ct.selectionLimit)}}function Ue(ze,bt){if(1&ze){const Ct=r.EpF();r.TgZ(0,"form",4,5)(2,"div")(3,"input",6),r.NdJ("keyup",function(ht){r.CHM(Ct);const en=r.oxw();return r.KtG(13===ht.keyCode?en.selectOption():en.updateFilter())}),r.qZA(),r.YNc(4,q,2,1,"ng-container",7),r.qZA()(),r.YNc(5,ue,7,6,"div",8),r.YNc(6,ie,6,5,"div",9),r.YNc(7,Oe,2,1,"div",10)}if(2&ze){const Ct=r.oxw();r.Q6J("formGroup",Ct.form),r.xp6(3),r.Q6J("placeholder",Ct.messages.filter),r.xp6(1),r.Q6J("ngForOf",Ct.Object.keys(Ct.messages.customValidations)),r.xp6(1),r.Q6J("ngForOf",Ct.filteredOptions),r.xp6(1),r.Q6J("ngIf",Ct.isCreatable()),r.xp6(1),r.Q6J("ngIf",Ct.data.length===Ct.selectionLimit)}}function Me(ze,bt){if(1&ze&&(r.TgZ(0,"a",24),r.Hsn(1),r.qZA()),2&ze){const Ct=r.oxw(),Qt=r.MAs(1);r.Q6J("ngClass",Ct.elemClass)("ngbPopover",Qt)}}function yt(ze,bt){if(1&ze&&(r.TgZ(0,"span",25),r._uU(1),r.qZA()),2&ze){const Ct=r.oxw();r.xp6(1),r.hij(" ",Ct.messages.empty,"\n")}}function et(ze,bt){if(1&ze&&(r.TgZ(0,"span",25),r._uU(1),r.qZA()),2&ze){const Ct=r.oxw();r.xp6(1),r.hij(" ",Ct.messages.noOptions,"\n")}}const tt=["*"];let Et=(()=>{class ze{constructor(){this.data=[],this.options=[],this.messages=new h.a({}),this.customBadges=!1,this.customBadgeValidators=[],this.selection=new r.vpe,this.Object=Object,this.filteredOptions=[],this.icons=e.P}ngOnInit(){this.initFilter(),this.data.length>0&&this.initMissingOptions(),this.options=c().sortBy(this.options,["name"]),this.updateOptions()}initFilter(){this.filter=new a.p4("",{validators:this.customBadgeValidators}),this.form=new f.d({filter:this.filter}),this.filteredOptions=[...this.options||[]]}initMissingOptions(){const Ct=this.options.map(ht=>ht.name);this.data.filter(ht=>-1===Ct.indexOf(ht)).forEach(ht=>this.addOption(ht)),this.forceOptionsToReflectData()}addOption(Ct){this.options.push(new E.$(!1,Ct,"")),this.options=c().sortBy(this.options,["name"]),this.triggerSelection(this.options.find(Qt=>Qt.name===Ct))}triggerSelection(Ct){!Ct||this.selectionLimit&&!Ct.selected&&this.data.length>=this.selectionLimit||(Ct.selected=!Ct.selected,this.updateOptions(),this.selection.emit({option:Ct}))}updateOptions(){this.data.splice(0,this.data.length),this.options.forEach(Ct=>{Ct.selected&&this.data.push(Ct.name)}),this.updateFilter()}updateFilter(){this.filteredOptions=this.options.filter(Ct=>Ct.name.includes(this.filter.value))}forceOptionsToReflectData(){this.options.forEach(Ct=>{-1!==this.data.indexOf(Ct.name)&&(Ct.selected=!0)})}ngOnChanges(){this.filter&&this.updateFilter(),this.options&&this.data&&0!==this.data.length&&this.forceOptionsToReflectData()}selectOption(){0===this.filteredOptions.length?this.addCustomOption():(this.triggerSelection(this.filteredOptions[0]),this.resetFilter())}addCustomOption(){this.isCreatable()&&(this.addOption(this.filter.value),this.resetFilter())}isCreatable(){return this.customBadges&&this.filter.valid&&this.filter.value.length>0&&this.filteredOptions.every(Ct=>Ct.name!==this.filter.value)}resetFilter(){this.filter.setValue(""),this.updateFilter()}removeItem(Ct){this.triggerSelection(this.options.find(Qt=>Qt.name===Ct&&Qt.selected))}}return ze.\u0275fac=function(Ct){return new(Ct||ze)},ze.\u0275cmp=r.Xpm({type:ze,selectors:[["cd-select"]],inputs:{elemClass:"elemClass",data:"data",options:"options",messages:"messages",selectionLimit:"selectionLimit",customBadges:"customBadges",customBadgeValidators:"customBadgeValidators"},outputs:{selection:"selection"},features:[r.TTD],ngContentSelectors:tt,decls:5,vars:3,consts:[["popTemplate",""],["class","select-menu-edit float-start","data-testid","select-menu-edit",3,"ngClass","ngbPopover",4,"ngIf"],["class","form-text text-muted float-start",4,"ngIf"],["class","form-text text-muted float-start",4,"ngIf"],["name","form","novalidate","",3,"formGroup"],["formDir","ngForm"],["type","text","formControlName","filter",1,"form-control","text-center",3,"placeholder","keyup"],[4,"ngFor","ngForOf"],["class","select-menu-item",3,"ngClass","click",4,"ngFor","ngForOf"],["class","select-menu-item",3,"click",4,"ngIf"],["class","is-invalid",4,"ngIf"],["class","invalid-feedback text-center d-block",4,"ngIf"],[1,"invalid-feedback","text-center","d-block"],[1,"select-menu-item",3,"ngClass","click"],[1,"select-menu-item-icon"],["aria-hidden","true",3,"ngClass",4,"ngIf"],[1,"select-menu-item-content"],[4,"ngIf"],["aria-hidden","true",3,"ngClass"],[1,"form-text","text-muted"],[1,"select-menu-item",3,"click"],[1,"is-invalid"],["class","form-text text-muted text-center text-warning",3,"ngbTooltip",4,"ngIf"],[1,"form-text","text-muted","text-center","text-warning",3,"ngbTooltip"],["data-testid","select-menu-edit",1,"select-menu-edit","float-start",3,"ngClass","ngbPopover"],[1,"form-text","text-muted","float-start"]],template:function(Ct,Qt){1&Ct&&(r.F$t(),r.YNc(0,Ue,8,6,"ng-template",null,0,r.W1O),r.YNc(2,Me,2,2,"a",1),r.YNc(3,yt,2,1,"span",2),r.YNc(4,et,2,1,"span",3)),2&Ct&&(r.xp6(2),r.Q6J("ngIf",Qt.customBadges||Qt.options.length>0),r.xp6(1),r.Q6J("ngIf",0===Qt.data.length&&!(!Qt.customBadges&&0===Qt.options.length)),r.xp6(1),r.Q6J("ngIf",!Qt.customBadges&&0===Qt.options.length))},dependencies:[T.mk,T.sg,T.O5,a._Y,a.Fj,a.JJ,a.JL,a.sg,a.u,D.o8,D._L,A.o,$.b,Q.V],styles:[".select-menu-item[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.09);cursor:pointer;display:block;font-size:1rem}.select-menu-item[_ngcontent-%COMP%]:hover{background-color:#e9ecef}.select-menu-item-icon[_ngcontent-%COMP%]{float:left;padding:.5em;width:3em}.select-menu-item-content[_ngcontent-%COMP%]{padding:.5em}.select-menu-item-content[_ngcontent-%COMP%] .form-text[_ngcontent-%COMP%]{display:flex}"]}),ze})()},76446:(y,b,o)=>{"use strict";o.d(b,{l:()=>E});var r=o(19035),a=o(87311),u=o(47557),c=o(64537),e=o(88692);const f=["sparkCanvas"],h=["sparkTooltip"];let E=(()=>{class T{constructor(A){this.dimlessBinaryPipe=A,this.style={height:"30px",width:"100px"},this.options={plugins:{legend:{display:!1},tooltip:{enabled:!1,mode:"index",intersect:!1,custom:void 0,callbacks:{label:$=>{if($.parsed)return this.isBinary?this.dimlessBinaryPipe.transform($.parsed.y):$.parsed.y},title:()=>""}}},animation:{duration:0},responsive:!0,maintainAspectRatio:!1,elements:{line:{borderWidth:1}},scales:{y:{display:!1},x:{display:!1}}},this.datasets=[{data:[],backgroundColor:"rgba(40,140,234,0.2)",borderColor:"rgba(40,140,234,1)",pointBackgroundColor:"rgba(40,140,234,1)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(40,140,234,0.8)"}],this.labels=[],this.chartData={datasets:this.datasets,labels:this.labels}}ngOnInit(){const Q=new a.h(this.chartCanvasRef,this.chartTooltipRef,(U,q)=>q+U.caretX+"px",U=>U.caretY-U.height-6-5+"px");Q.customColors={backgroundColor:this.datasets[0].pointBackgroundColor,borderColor:this.datasets[0].pointBorderColor},this.options.plugins.tooltip.external=U=>{Q.customTooltips(U)}}ngOnChanges(A){this.chartData.datasets[0].data=A.data.currentValue,this.chartData.labels=[...Array(A.data.currentValue.length).fill("")],this.chart&&this.chart.chart.update()}}return T.\u0275fac=function(A){return new(A||T)(c.Y36(u.$))},T.\u0275cmp=c.Xpm({type:T,selectors:[["cd-sparkline"]],viewQuery:function(A,$){if(1&A&&(c.Gf(f,7),c.Gf(h,7),c.Gf(r.jh,5)),2&A){let Q;c.iGM(Q=c.CRH())&&($.chartCanvasRef=Q.first),c.iGM(Q=c.CRH())&&($.chartTooltipRef=Q.first),c.iGM(Q=c.CRH())&&($.chart=Q.first)}},inputs:{data:"data",style:"style",isBinary:"isBinary"},features:[c.TTD],decls:6,vars:4,consts:[[1,"chart-container",3,"ngStyle"],["baseChart","",3,"data","options","type"],["sparkCanvas",""],[1,"chartjs-tooltip"],["sparkTooltip",""]],template:function(A,$){1&A&&(c.TgZ(0,"div",0),c._UZ(1,"canvas",1,2),c.TgZ(3,"div",3,4),c._UZ(5,"table"),c.qZA()()),2&A&&(c.Q6J("ngStyle",$.style),c.xp6(1),c.Q6J("data",$.chartData)("options",$.options)("type","line"))},dependencies:[e.PC,r.jh],styles:['.chart-container[_ngcontent-%COMP%]{cursor:pointer;margin:auto;overflow:visible;position:absolute}canvas[_ngcontent-%COMP%]{user-select:none}.chartjs-tooltip[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%);transition:all .1s ease}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]{transform:translate(-10%)}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]:after{left:10%}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]{transform:translate(-90%)}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]:after{left:90%}.chartjs-tooltip[_ngcontent-%COMP%]:after{border-color:#000 transparent transparent transparent;border-style:solid;border-width:5px;content:" ";left:50%;margin-left:-5px;position:absolute;top:100%} .chartjs-tooltip-key{display:inline-block;height:10px;margin-right:10px;width:10px}.chart-container[_ngcontent-%COMP%]{position:static!important}']}),T})()},39749:(y,b,o)=>{"use strict";o.d(b,{w:()=>A});var r=o(64537),a=o(20092),u=o(23815),c=o.n(u),e=o(65862),f=o(88692),h=o(87925);const E=function($,Q){return[$,Q]};function T($,Q){if(1&$&&(r.TgZ(0,"span"),r._UZ(1,"i",2),r.qZA()),2&$){const U=r.oxw();r.xp6(1),r.Q6J("ngClass",r.WLB(1,E,U.icons.spinner,U.icons.spin))}}const D=["*"];let A=(()=>{class ${constructor(U){this.elRef=U,this.type="submit",this.disabled=!1,this.submitAction=new r.vpe,this.loading=!1,this.icons=e.P}ngOnInit(){this.form?.statusChanges.subscribe(()=>{c().has(this.form.errors,"cdSubmitButton")&&(this.loading=!1,c().unset(this.form.errors,"cdSubmitButton"),this.form instanceof a.TO&&this.form.updateValueAndValidity())})}submit(U){this.focusButton(),this.form instanceof a.sg&&this.form.onSubmit(U),this.form?.invalid?this.focusInvalid():(this.loading=!0,this.submitAction.emit())}focusButton(){this.elRef.nativeElement.offsetParent.querySelector(`button[type="${this.type}"]`).focus()}focusInvalid(){const U=this.elRef.nativeElement.offsetParent.querySelector("input.ng-invalid, select.ng-invalid");U&&U.focus()}}return $.\u0275fac=function(U){return new(U||$)(r.Y36(r.SBq))},$.\u0275cmp=r.Xpm({type:$,selectors:[["cd-submit-button"]],inputs:{form:"form",type:"type",disabled:"disabled",btnClass:"btnClass",ariaLabel:"ariaLabel"},outputs:{submitAction:"submitAction"},ngContentSelectors:D,decls:3,vars:5,consts:[[1,"btn","btn-accent","tc_submitButton",3,"type","ngClass","disabled","click"],[4,"ngIf"],[3,"ngClass"]],template:function(U,q){1&U&&(r.F$t(),r.TgZ(0,"button",0),r.NdJ("click",function(J){return q.submit(J)}),r.Hsn(1),r.YNc(2,T,2,4,"span",1),r.qZA()),2&U&&(r.Q6J("type",q.type)("ngClass",q.btnClass)("disabled",q.loading||q.disabled),r.uIk("aria-label",q.ariaLabel),r.xp6(2),r.Q6J("ngIf",q.loading))},dependencies:[f.mk,f.O5,h.o]}),$})()},60251:(y,b,o)=>{"use strict";o.d(b,{O:()=>U});var r=o(64537),a=o(88692),u=o(51389),c=o(47557),e=o(66369);function f(q,L){if(1&q&&(r.TgZ(0,"tr")(1,"td",5),r._uU(2,"Free:"),r.qZA(),r.TgZ(3,"td",7)(4,"strong"),r._uU(5),r.ALo(6,"dimlessBinary"),r.ALo(7,"dimless"),r.qZA()()()),2&q){const J=r.oxw(3);r.xp6(5),r.Oqu(J.isBinary?r.lcZ(6,1,J.total-J.used):r.lcZ(7,3,J.total-J.used))}}function h(q,L){if(1&q&&(r.TgZ(0,"tr")(1,"td",5),r._uU(2),r.qZA(),r.TgZ(3,"td",6)(4,"strong"),r._uU(5),r.ALo(6,"dimlessBinary"),r.ALo(7,"dimless"),r.qZA()()()),2&q){const J=r.oxw(3);r.xp6(2),r.hij("",J.customLegend,":"),r.xp6(3),r.Oqu(J.isBinary?r.lcZ(6,2,J.customLegendValue):r.lcZ(7,4,J.customLegend[1]))}}function E(q,L){if(1&q&&(r.TgZ(0,"table")(1,"tr")(2,"td",5),r._uU(3,"Used:"),r.qZA(),r.TgZ(4,"td",6)(5,"strong"),r._uU(6),r.ALo(7,"dimlessBinary"),r.ALo(8,"dimless"),r.qZA()()(),r.YNc(9,f,8,5,"tr",4),r.YNc(10,h,8,6,"tr",4),r.qZA()),2&q){const J=r.oxw(2);r.xp6(6),r.hij(" ",J.isBinary?r.lcZ(7,3,J.used):r.lcZ(8,5,J.used),""),r.xp6(3),r.Q6J("ngIf",J.calculatePerc&&J.showFreeToolTip),r.xp6(1),r.Q6J("ngIf",J.customLegend)}}function T(q,L){if(1&q&&(r.TgZ(0,"tr")(1,"td",8),r._uU(2,"Transferred Shards:\xa0"),r.qZA(),r.TgZ(3,"td",7)(4,"strong"),r._uU(5),r.qZA()()()),2&q){const J=r.oxw(3);r.xp6(5),r.Oqu(J.used)}}function D(q,L){if(1&q&&(r.TgZ(0,"table")(1,"tr")(2,"td",8),r._uU(3,"Total Shards:\xa0"),r.qZA(),r.TgZ(4,"td",6)(5,"strong"),r._uU(6),r.qZA()()(),r.YNc(7,T,6,1,"tr",4),r.qZA()),2&q){const J=r.oxw(2);r.xp6(6),r.hij(" ",J.total,""),r.xp6(1),r.Q6J("ngIf",J.calculatePerc)}}function A(q,L){if(1&q&&(r.YNc(0,E,11,7,"table",4),r.YNc(1,D,8,2,"table",4)),2&q){const J=r.oxw();r.Q6J("ngIf",!J.showMultisiteTooltip),r.xp6(1),r.Q6J("ngIf",J.showMultisiteTooltip)}}const $=function(q,L){return{"bg-warning":q,"bg-danger":L}},Q=function(q){return{title:q}};let U=(()=>{class q{constructor(){this.isBinary=!0,this.decimals=0,this.calculatePerc=!0,this.title="usage",this.showFreeToolTip=!0,this.showMultisiteTooltip=!1}ngOnChanges(){this.calculatePerc?(this.usedPercentage=this.total>0?this.used/this.total*100:0,this.freePercentage=100-this.usedPercentage):this.used?(this.used=this.used.slice(0,-1),this.usedPercentage=Number(this.used),this.freePercentage=100-this.usedPercentage):this.usedPercentage=0}}return q.\u0275fac=function(J){return new(J||q)},q.\u0275cmp=r.Xpm({type:q,selectors:[["cd-usage-bar"]],inputs:{total:"total",used:"used",warningThreshold:"warningThreshold",errorThreshold:"errorThreshold",isBinary:"isBinary",decimals:"decimals",calculatePerc:"calculatePerc",title:"title",customLegend:"customLegend",customLegendValue:"customLegendValue",showFreeToolTip:"showFreeToolTip",showMultisiteTooltip:"showMultisiteTooltip"},features:[r.TTD],decls:8,vars:21,consts:[["usageTooltipTpl",""],["data-placement","left",1,"progress",3,"ngbTooltip"],["role","progressbar",1,"progress-bar","bg-info",3,"ngClass"],["role","progressbar",1,"progress-bar","bg-freespace"],[4,"ngIf"],[1,"text-left","me-1"],[1,"text-right"],[1,"'text-right"],[1,"text-left"]],template:function(J,pe){if(1&J&&(r.YNc(0,A,2,2,"ng-template",null,0,r.W1O),r.TgZ(2,"div",1)(3,"div",2)(4,"span"),r._uU(5),r.ALo(6,"number"),r.qZA()(),r._UZ(7,"div",3),r.qZA()),2&J){const j=r.MAs(1);r.xp6(2),r.Q6J("ngbTooltip",j),r.xp6(1),r.Udp("width",pe.usedPercentage+"%"),r.Q6J("ngClass",r.WLB(14,$,pe.warningThreshold&&pe.warningThreshold>=0&&pe.usedPercentage/100>=pe.warningThreshold,pe.errorThreshold&&pe.errorThreshold>=0&&pe.usedPercentage/100>=pe.errorThreshold)),r.uIk("aria-label",r.VKq(17,Q,pe.title)),r.xp6(1),r.Udp("color",pe.usedPercentage<60?"black":"white"),r.xp6(1),r.hij("",r.xi3(6,11,pe.usedPercentage,"1.0-"+pe.decimals),"%"),r.xp6(2),r.Udp("width",pe.freePercentage+"%"),r.uIk("aria-label",r.VKq(19,Q,pe.title))}},dependencies:[a.mk,a.O5,u._L,a.JJ,c.$,e.n],styles:[".bg-info[_ngcontent-%COMP%]{background-color:#25828e!important}.bg-warning[_ngcontent-%COMP%]{background-color:#d48200!important}.bg-danger[_ngcontent-%COMP%]{background-color:#dc3545!important}.bg-freespace[_ngcontent-%COMP%]{background-color:#ced4da!important}.progress[_ngcontent-%COMP%]{height:20px;margin-bottom:0;position:relative}.progress[_ngcontent-%COMP%] div.progress-bar[_ngcontent-%COMP%]{position:static}.progress[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;display:block;font-weight:400;position:absolute;width:100%}"]}),q})()},79512:(y,b,o)=>{"use strict";o.d(b,{$x:()=>u,MQ:()=>c,Qn:()=>e,aX:()=>h,eu:()=>E,p4:()=>f});var r=o(92340),a=o(64537);class u{}u.organization="ceph",u.projectName="Ceph Dashboard",u.license="Free software (LGPL 2.1).",u.copyright="Copyright(c) "+r.N.year+" Ceph contributors.",u.cephLogo="assets/Ceph_Logo.svg";var c=(()=>{return(T=c||(c={})).CREATE="create",T.EDIT="edit",T.UPDATE="update",T.REMOVE="remove",T.DELETE="delete",T.ADD="add",T.COPY="copy",T.CLONE="clone",T.RECREATE="recreate",T.EXPIRE="expire",T.RESTART="Restart",c;var T})(),e=(()=>{return(T=e||(e={})).CREATE="Create",T.DELETE="Delete",T.ADD="Add",T.REMOVE="Remove",T.EDIT="Edit",T.CANCEL="Cancel",T.COPY="Copy",T.CLONE="Clone",T.UPDATE="Update",T.EVICT="Evict",T.SHOW="Show",T.RECREATE="Recreate",T.EXPIRE="Expire",T.START="Start",T.STOP="Stop",T.REDEPLOY="Redeploy",T.RESTART="Restart",e;var T})();let f=(()=>{class T{constructor(){this.CREATE="Create",this.EXPORT="Export",this.IMPORT="Import",this.MIGRATE="Migrate to Multi-site",this.DELETE="Delete",this.ADD="Add",this.SET="Set",this.SUBMIT="Submit",this.REMOVE="Remove",this.UNSET="Unset",this.EDIT="Edit",this.UPDATE="Update",this.CANCEL="Cancel",this.PREVIEW="Preview",this.MOVE="Move",this.NEXT="Next",this.BACK="Back",this.CLONE="Clone",this.COPY="Copy",this.DEEP_SCRUB="Deep Scrub",this.DESTROY="Destroy",this.EVICT="Evict",this.FLATTEN="Flatten",this.MARK_DOWN="Mark Down",this.MARK_IN="Mark In",this.MARK_LOST="Mark Lost",this.MARK_OUT="Mark Out",this.PROTECT="Protect",this.PURGE="Purge",this.RENAME="Rename",this.RESTORE="Restore",this.REWEIGHT="Reweight",this.ROLLBACK="Rollback",this.SCRUB="Scrub",this.SHOW="Show",this.TRASH="Move to Trash",this.UNPROTECT="Unprotect",this.CHANGE="Change",this.FLAGS="Flags",this.ENTER_MAINTENANCE="Enter Maintenance",this.EXIT_MAINTENANCE="Exit Maintenance",this.AUTHORIZE="Authorize",this.START_DRAIN="Start Drain",this.STOP_DRAIN="Stop Drain",this.RESYNC="Resync",this.RECREATE="Recreate",this.EXPIRE="Expire",this.START="Start",this.STOP="Stop",this.REDEPLOY="Redeploy",this.RESTART="Restart",this.REMOVE_SCHEDULING="Remove Scheduling",this.PROMOTE="Promote",this.DEMOTE="Demote",this.START_UPGRADE="Start Upgrade",this.ACTIVATE="Activate",this.DEACTIVATE="Deactivate",this.ATTACH="Attach"}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275prov=a.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})(),h=(()=>{class T{constructor(){this.CREATED="Created",this.DELETED="Deleted",this.ADDED="Added",this.REMOVED="Removed",this.EDITED="Edited",this.CANCELED="Canceled",this.PREVIEWED="Previewed",this.MOVED="Moved",this.CLONED="Cloned",this.COPIED="Copied",this.DEEP_SCRUBBED="Deep Scrubbed",this.DESTROYED="Destroyed",this.FLATTENED="Flattened",this.MARKED_DOWN="Marked Down",this.MARKED_IN="Marked In",this.MARKED_LOST="Marked Lost",this.MARKED_OUT="Marked Out",this.PROTECTED="Protected",this.PURGED="Purged",this.RENAMED="Renamed",this.RESTORED="Restored",this.REWEIGHTED="Reweighted",this.ROLLED_BACK="Rolled back",this.SCRUBBED="Scrubbed",this.SHOWED="Showed",this.TRASHED="Moved to Trash",this.UNPROTECTED="Unprotected",this.CHANGE="Change",this.RECREATED="Recreated",this.EXPIRED="Expired",this.START="Start",this.STOP="Stop",this.REDEPLOY="Redeploy",this.RESTART="Restart"}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275prov=a.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})(),E=(()=>{class T{constructor(){this.TIMER_SERVICE_PERIOD=5e3}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275prov=a.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},54982:(y,b,o)=>{"use strict";o.d(b,{l:()=>A});var r=o(23815),a=o.n(r),u=o(64537),c=o(83697);const e=["headerPermissionCheckboxTpl"],f=["cellScopeCheckboxTpl"],h=["cellPermissionCheckboxTpl"];function E($,Q){if(1&$){const U=u.EpF();u.TgZ(0,"div",4)(1,"input",5),u.NdJ("change",function(L){const J=u.CHM(U),pe=J.row,j=J.column,ue=u.oxw();return u.KtG(ue.onClickCellCheckbox(pe.scope,j.prop,L))}),u.qZA(),u.TgZ(2,"label",6),u._uU(3),u.qZA()()}if(2&$){const U=Q.row,q=Q.value,L=u.oxw();u.xp6(1),u.MGl("id","scope_",U.scope,""),u.Q6J("checked",L.isRowChecked(U.scope))("disabled",L.isDisabled),u.xp6(1),u.MGl("for","scope_",U.scope,""),u.xp6(1),u.Oqu(q)}}function T($,Q){if(1&$){const U=u.EpF();u.TgZ(0,"div",4)(1,"input",7),u.NdJ("change",function(L){const J=u.CHM(U),pe=J.row,j=J.column,ue=u.oxw();return u.KtG(ue.onClickCellCheckbox(pe.scope,j.prop,L))}),u.qZA(),u._UZ(2,"label",8),u.qZA()}if(2&$){const U=Q.column,q=Q.row,L=Q.value,J=u.oxw();u.xp6(1),u.Q6J("checked",L)("disabled",J.isDisabled)("id",q.scope+"-"+U.prop),u.xp6(1),u.Q6J("for",q.scope+"-"+U.prop)}}function D($,Q){if(1&$){const U=u.EpF();u.TgZ(0,"div",4)(1,"input",9),u.NdJ("change",function(L){const pe=u.CHM(U).column,j=u.oxw();return u.KtG(j.onClickHeaderCheckbox(pe.prop,L))}),u.qZA(),u.TgZ(2,"label",10),u._uU(3),u.qZA()()}if(2&$){const U=Q.column,q=u.oxw();u.xp6(1),u.MGl("id","header_",U.prop,""),u.Q6J("disabled",q.isDisabled)("checked",q.isHeaderChecked(U.prop)),u.xp6(1),u.MGl("for","header_",U.prop,""),u.xp6(1),u.Oqu(U.name)}}let A=(()=>{class ${constructor(){this.scopes=[],this.isTableForOctalMode=!1,this.initialValue={},this.isDisabled=!1}ngOnInit(){this.columns.forEach(U=>{"All"===U.name?(U.cellTemplate=this.cellScopeCheckboxTpl,U.headerTemplate=this.headerPermissionCheckboxTpl):(U.cellTemplate=this.cellPermissionCheckboxTpl,U.headerTemplate=this.headerPermissionCheckboxTpl)}),this.listenToChanges(),this.form.get(this.inputField).setValue(this.initialValue)}listenToChanges(){this.form.get(this.inputField).valueChanges.subscribe(U=>{const q=[];a().each(this.scopes,L=>{const J={read:!1,write:!1,execute:!1};J.scope=L,L in U&&a().each(U[L],pe=>{J[pe]=!0}),q.push(J)}),this.data=q})}isRowChecked(U){const q=a().find(this.data,L=>L.scope===U);return!a().isUndefined(q)&&(this.isTableForOctalMode?q.read&&q.write&&q.execute:q.read&&q.create&&q.update&&q.delete)}isHeaderChecked(U){let q=[U];return"scope"===U&&this.isTableForOctalMode?q=["read","write","execute"]:"scope"===U&&(q=["read","create","update","delete"]),q.every(L=>this.data.every(J=>J[L]))}onClickCellCheckbox(U,q,L=null){const J=a().cloneDeep(this.form.getValue(this.inputField));let pe=[q];"scope"===q&&this.isTableForOctalMode?pe=["read","write","execute"]:"scope"===q&&(pe=["read","create","update","delete"]),U in J||(J[U]=[]),L&&L.target.checked||!a().isEqual(pe.sort(),a().intersection(J[U],pe).sort())?J[U]=a().union(J[U],pe):(J[U]=a().difference(J[U],pe),a().isEmpty(J[U])&&a().unset(J,U)),this.form.get(this.inputField).setValue(J)}onClickHeaderCheckbox(U,q){const L=a().cloneDeep(this.form.getValue(this.inputField));let J=[U];"scope"===U&&this.isTableForOctalMode?J=["read","write","execute"]:"scope"===U&&(J=["read","create","update","delete"]),a().each(J,pe=>{a().each(this.scopes,j=>{q.target.checked?L[j]=a().union(L[j],[pe]):(L[j]=a().difference(L[j],[pe]),a().isEmpty(L[j])&&a().unset(L,j))})}),this.form.get(this.inputField).setValue(L)}}return $.\u0275fac=function(U){return new(U||$)},$.\u0275cmp=u.Xpm({type:$,selectors:[["cd-checked-table-form"]],viewQuery:function(U,q){if(1&U&&(u.Gf(e,7),u.Gf(f,7),u.Gf(h,7)),2&U){let L;u.iGM(L=u.CRH())&&(q.headerPermissionCheckboxTpl=L.first),u.iGM(L=u.CRH())&&(q.cellScopeCheckboxTpl=L.first),u.iGM(L=u.CRH())&&(q.cellPermissionCheckboxTpl=L.first)}},inputs:{data:"data",columns:"columns",form:"form",inputField:"inputField",scopes:"scopes",isTableForOctalMode:"isTableForOctalMode",initialValue:"initialValue",isDisabled:"isDisabled"},decls:7,vars:7,consts:[["columnMode","flex",3,"data","columns","toolHeader","autoReload","autoSave","footer","limit"],["cellScopeCheckboxTpl",""],["cellPermissionCheckboxTpl",""],["headerPermissionCheckboxTpl",""],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","checked","disabled","change"],[1,"datatable-permissions-scope-cell-label","custom-control-label",3,"for"],["type","checkbox",1,"custom-control-input",3,"checked","disabled","id","change"],[1,"custom-control-label",3,"for"],["type","checkbox",1,"custom-control-input",3,"id","disabled","checked","change"],[1,"datatable-permissions-header-cell-label","custom-control-label",3,"for"]],template:function(U,q){1&U&&(u._UZ(0,"cd-table",0),u.YNc(1,E,4,5,"ng-template",null,1,u.W1O),u.YNc(3,T,3,4,"ng-template",null,2,u.W1O),u.YNc(5,D,4,5,"ng-template",null,3,u.W1O)),2&U&&u.Q6J("data",q.data)("columns",q.columns)("toolHeader",!1)("autoReload",!1)("autoSave",!1)("footer",!1)("limit",0)},dependencies:[c.a]}),$})()},4268:(y,b,o)=>{"use strict";o.d(b,{c:()=>nn});var r=o(86299),a=o(36169),u=o(68774),c=o(76111),e=o(32337),f=o(30982),h=o(64537),E=o(47640),T=o(36848),D=o(35732);let A=(()=>{class bn{constructor(Rt){this.http=Rt}export(Rt){return this.http.post("api/cluster/user/export",{entities:Rt})}}return bn.\u0275fac=function(Rt){return new(Rt||bn)(h.LFG(D.eN))},bn.\u0275prov=h.Yz7({token:bn,factory:bn.\u0275fac,providedIn:"root"}),bn})();var $=o(54247),Q=o(63285),U=o(88692),q=o(58039),L=o(83697),J=o(94928),pe=o(96102),j=o(94088);const ue=["badgeDictTpl"],ie=["dateTpl"],me=["durationTpl"],Oe=["exportDataModalTpl"],Ue=function(){return{exact:!0}};function Me(bn,Dn){if(1&bn&&(h.TgZ(0,"li",8)(1,"a",9),h.SDv(2,10),h.qZA()()),2&bn){const Rt=Dn.$implicit;h.xp6(1),h.Q6J("routerLink",Rt.url)("routerLinkActiveOptions",h.DdM(3,Ue)),h.xp6(1),h.pQV(Rt.name),h.QtT(2)}}function yt(bn,Dn){if(1&bn&&(h.TgZ(0,"ul",6),h.YNc(1,Me,3,4,"li",7),h.qZA()),2&bn){const Rt=h.oxw();h.xp6(1),h.Q6J("ngForOf",Rt.tabs)}}function et(bn,Dn){if(1&bn&&(h.TgZ(0,"tr")(1,"td",18),h.SDv(2,19),h.qZA(),h.TgZ(3,"td")(4,"pre"),h._uU(5),h.qZA()()()),2&bn){const Rt=Dn.$implicit,Xt=h.oxw(3);h.xp6(2),h.pQV(Rt),h.QtT(2),h.xp6(3),h.Oqu(Xt.expandedRow[Rt])}}function tt(bn,Dn){if(1&bn&&(h.ynx(0,15),h.TgZ(1,"table",16)(2,"tbody"),h.YNc(3,et,6,2,"tr",17),h.qZA()(),h.BQk()),2&bn){const Rt=h.oxw(2);h.xp6(3),h.Q6J("ngForOf",Rt.meta.detail_columns)}}function Et(bn,Dn){if(1&bn){const Rt=h.EpF();h.ynx(0),h.TgZ(1,"cd-table",11),h.NdJ("setExpandedRow",function(un){h.CHM(Rt);const _n=h.oxw();return h.KtG(_n.setExpandedRow(un))})("updateSelection",function(un){h.CHM(Rt);const _n=h.oxw();return h.KtG(_n.updateSelection(un))}),h.ALo(2,"async"),h.TgZ(3,"div",12),h._UZ(4,"cd-table-actions",13),h.qZA(),h.YNc(5,tt,4,1,"ng-container",14),h.qZA(),h.BQk()}if(2&bn){const Rt=h.oxw();h.xp6(1),h.Q6J("data",h.lcZ(2,10,Rt.data$))("columns",Rt.meta.table.columns)("columnMode",Rt.meta.table.columnMode)("hasDetails",Rt.meta.detail_columns.length>0)("selectionType",Rt.meta.table.selectionType)("toolHeader",Rt.meta.table.toolHeader),h.xp6(3),h.Q6J("permission",Rt.permission)("selection",Rt.selection)("tableActions",Rt.meta.actions),h.xp6(1),h.Q6J("ngIf",Rt.expandedRow&&Rt.meta.detail_columns.length>0)}}function ze(bn,Dn){1&bn&&(h.ynx(0),h._uU(1,"\xa0"),h.BQk())}function bt(bn,Dn){if(1&bn&&(h.TgZ(0,"span")(1,"span",20),h._uU(2),h.qZA(),h.YNc(3,ze,2,0,"ng-container",1),h.qZA()),2&bn){const Rt=Dn.$implicit,Xt=Dn.last;h.xp6(2),h.AsE("",Rt.key,": ",Rt.value,""),h.xp6(1),h.Q6J("ngIf",!Xt)}}function Ct(bn,Dn){1&bn&&(h.YNc(0,bt,4,3,"span",17),h.ALo(1,"keyvalue")),2&bn&&h.Q6J("ngForOf",h.lcZ(1,1,Dn.value))}function Qt(bn,Dn){if(1&bn&&(h.TgZ(0,"span"),h._uU(1),h.ALo(2,"cdDate"),h.qZA()),2&bn){const Rt=Dn.value;h.xp6(1),h.Oqu(h.lcZ(2,1,Rt))}}function ht(bn,Dn){if(1&bn&&(h.TgZ(0,"span"),h._uU(1),h.ALo(2,"duration"),h.qZA()),2&bn){const Rt=Dn.value;h.xp6(1),h.Oqu(h.lcZ(2,1,Rt))}}function en(bn,Dn){if(1&bn&&(h.TgZ(0,"div",21)(1,"textarea",22),h._uU(2),h.qZA(),h._UZ(3,"cd-copy-2-clipboard-button",23),h.qZA()),2&bn){const Rt=h.oxw();h.xp6(2),h.Oqu(Rt.modalState.authExportData)}}let nn=(()=>{class bn{constructor(Rt,Xt,un,_n,kn,ri,Ir,wr){this.authStorageService=Rt,this.timerService=Xt,this.dataGatewayService=un,this.taskWrapper=_n,this.cephUserService=kn,this.activatedRoute=ri,this.modalService=Ir,this.router=wr,this.selection=new u.r,this.expandedRow={},this.tabs={},this.modalState={},this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.activatedRoute.data.subscribe(Rt=>{const Xt=Rt.resource;this.tabs=Rt.tabs,this.dataGatewayService.list(`ui-${Xt}`).subscribe(un=>this.processMeta(un)),this.data$=this.timerService.get(()=>this.dataGatewayService.list(Xt))}),this.activatedRoute.data.subscribe(Rt=>{this.resource=Rt.resource})}processMeta(Rt){var _n;this.permission=this.permissions[(_n=Rt.permissions[0],_n.split("-").reduce((kn,ri,Ir)=>0===Ir?ri.toLowerCase():`${kn}${ri.charAt(0).toUpperCase()}${ri.substr(1).toLowerCase()}`,""))];const un={badgeDict:this.badgeDictTpl,date:this.dateTpl,duration:this.durationTpl};Rt.table.columns.forEach((_n,kn)=>{void 0!==_n.cellTemplate&&(Rt.table.columns[kn].cellTemplate=un[_n.cellTemplate])}),Rt.table.columns=Rt.table.columns.filter(_n=>!_n.isHidden),this.meta=Rt;for(let _n=0;_n<this.meta.actions.length;_n++){let kn=this.meta.actions[_n];kn.disable&&(kn.disable=ri=>!ri.hasSelection),""!==kn.click.toString()&&(kn.click=this[this.meta.actions[_n].click.toString()].bind(this))}}delete(){const Rt=this.selection.first()[this.meta.columnKey];this.modalRef=this.modalService.show(f.M,{itemDescription:"" + this.meta.resource + "",itemNames:[Rt],submitAction:()=>{this.taskWrapper.wrapTaskAroundCall({task:new c.R("crud-component/id",Rt),call:this.dataGatewayService.delete(this.resource,Rt)}).subscribe({error:()=>{this.modalRef.close()},complete:()=>{this.modalRef.close()}})}})}updateSelection(Rt){this.selection=Rt}setExpandedRow(Rt){for(let Xt=0;Xt<this.meta.detail_columns.length;Xt++){let un=this.meta.detail_columns[Xt],_n=Rt?.[un];this.expandedRow[un]=this.formatColumnDetails(_n)}}edit(){let Rt="";this.selection.hasSelection&&(Rt=this.selection.first()[this.meta.columnKey]);const Xt=this.meta.actions.find(un=>"Edit"===un.name);this.router.navigate([Xt.routerLink],{queryParams:{key:Rt}})}authExport(){let Rt=[];this.selection.selected.forEach(Xt=>Rt.push(Xt.entity)),this.cephUserService.export(Rt).subscribe(Xt=>{const un={titleText:"Ceph user export data",buttonText:"Close",bodyTpl:this.authxEportTpl,showSubmit:!0,showCancel:!1,onSubmit:()=>{this.modalRef.close()}};this.modalState.authExportData=Xt.trim(),this.modalRef=this.modalService.show(a.Y,un)})}stringReplacer(Rt,Xt){try{return JSON.parse(Xt)}catch{return Xt}}formatColumnDetails(Rt){return Array.isArray(Rt)||"string"==typeof Rt?JSON.stringify(Rt,this.stringReplacer,2):Rt}}return bn.\u0275fac=function(Rt){return new(Rt||bn)(h.Y36(E.j),h.Y36(T.f),h.Y36(r.n),h.Y36(e.P),h.Y36(A),h.Y36($.gz),h.Y36(Q.Z),h.Y36($.F0))},bn.\u0275cmp=h.Xpm({type:bn,selectors:[["cd-crud-table"]],viewQuery:function(Rt,Xt){if(1&Rt&&(h.Gf(ue,5),h.Gf(ie,5),h.Gf(me,5),h.Gf(Oe,5)),2&Rt){let un;h.iGM(un=h.CRH())&&(Xt.badgeDictTpl=un.first),h.iGM(un=h.CRH())&&(Xt.dateTpl=un.first),h.iGM(un=h.CRH())&&(Xt.durationTpl=un.first),h.iGM(un=h.CRH())&&(Xt.authxEportTpl=un.first)}},decls:10,vars:2,consts:function(){let Dn,Rt;return Dn="" + "\ufffd0\ufffd" + "",Rt="" + "\ufffd0\ufffd" + "",[["class","nav nav-tabs",4,"ngIf"],[4,"ngIf"],["badgeDictTpl",""],["dateTpl",""],["durationTpl",""],["exportDataModalTpl",""],[1,"nav","nav-tabs"],["class","nav-item",4,"ngFor","ngForKeyvalue","ngForOf"],[1,"nav-item"],["routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLink","routerLinkActiveOptions"],Dn,[3,"data","columns","columnMode","hasDetails","selectionType","toolHeader","setExpandedRow","updateSelection"],[1,"table-actions","btn-toolbar"],["id","crud-table-actions",1,"btn-group",3,"permission","selection","tableActions"],["cdTableDetail","",4,"ngIf"],["cdTableDetail",""],[1,"table","table-striped","table-bordered"],[4,"ngFor","ngForOf"],[1,"bold"],Rt,[1,"badge","badge-background-primary"],[1,"d-flex","flex-column","align-items-center","w-100","gap-3"],["readonly","","id","authExportArea",1,"form-control","w-100","bg-light","height-400"],["source","authExportArea",1,"align-self-end"]]},template:function(Rt,Xt){1&Rt&&(h.YNc(0,yt,2,1,"ul",0),h.YNc(1,Et,6,12,"ng-container",1),h.YNc(2,Ct,2,3,"ng-template",null,2,h.W1O),h.YNc(4,Qt,3,3,"ng-template",null,3,h.W1O),h.YNc(6,ht,3,3,"ng-template",null,4,h.W1O),h.YNc(8,en,4,1,"ng-template",null,5,h.W1O)),2&Rt&&(h.Q6J("ngIf",Xt.tabs),h.xp6(1),h.Q6J("ngIf",Xt.meta))},dependencies:[U.sg,U.O5,q.s,$.rH,$.Od,L.a,J.K,U.Ov,U.Nd,pe.N,j.u],styles:[".height-400[_ngcontent-%COMP%]{height:400px}"]}),bn})()},40267:(y,b,o)=>{"use strict";o.d(b,{t:()=>Ct});var r=o(88692),a=o(54247),u=o(51389),c=o(84051),e=o(37496),f=o(20092),h=o(13066),E=o(43765),T=o(15626),D=o(12455),A=o(67464),$=o(39054),Q=o(39017),U=o(64537),q=o(24737),L=o(94276);const J=["textArea"];let pe=(()=>{class Qt extends h.fS{constructor(en){super(),this.textAreaJsonFormatterService=en}onChange(){this.textAreaJsonFormatterService.format(this.textArea)}}return Qt.\u0275fac=function(en){return new(en||Qt)(U.Y36(q.F))},Qt.\u0275cmp=U.Xpm({type:Qt,selectors:[["cd-formly-textarea-type"]],viewQuery:function(en,nn){if(1&en&&U.Gf(J,5),2&en){let bn;U.iGM(bn=U.CRH())&&(nn.textArea=bn.first)}},features:[U.qOj],decls:2,vars:6,consts:[[1,"form-control",3,"formControl","cols","rows","formlyAttributes","change"],["textArea",""]],template:function(en,nn){1&en&&(U.TgZ(0,"textarea",0,1),U.NdJ("change",function(){return nn.onChange()}),U.qZA()),2&en&&(U.ekj("is-invalid",nn.showError),U.Q6J("formControl",nn.formControl)("cols",nn.props.cols)("rows",nn.props.rows)("formlyAttributes",nn.field))},dependencies:[L.b,f.Fj,f.JJ,f.oH,h.JD]}),Qt})();var j=o(62351),ue=o(18372);function ie(Qt,ht){1&Qt&&(U.TgZ(0,"span",10),U._uU(1,"*"),U.qZA())}function me(Qt,ht){if(1&Qt&&(U.TgZ(0,"cd-helper"),U._UZ(1,"span",11),U.qZA()),2&Qt){const en=U.oxw(3);U.xp6(1),U.Q6J("innerHTML",en.helper,U.oJD)}}function Oe(Qt,ht){if(1&Qt&&(U.TgZ(0,"label",8),U._uU(1),U.YNc(2,ie,2,0,"span",9),U.YNc(3,me,2,1,"cd-helper",2),U.qZA()),2&Qt){const en=U.oxw(2);U.uIk("for",en.id),U.xp6(1),U.hij(" ",en.props.label," "),U.xp6(1),U.Q6J("ngIf",en.props.required&&!0!==en.props.hideRequiredMarker),U.xp6(1),U.Q6J("ngIf",en.helper)}}function Ue(Qt,ht){if(1&Qt&&(U.TgZ(0,"div",6),U.YNc(1,Oe,4,4,"label",7),U.qZA()),2&Qt){const en=U.oxw();U.xp6(1),U.Q6J("ngIf",en.props.label&&!0!==en.props.hideLabel)}}function Me(Qt,ht){if(1&Qt&&(U.ynx(0),U.GkF(1,12),U.BQk()),2&Qt){U.oxw();const en=U.MAs(1);U.xp6(1),U.Q6J("ngTemplateOutlet",en)}}function yt(Qt,ht){if(1&Qt&&(U.ynx(0),U.GkF(1,12),U.BQk()),2&Qt){U.oxw();const en=U.MAs(1);U.xp6(1),U.Q6J("ngTemplateOutlet",en)}}function et(Qt,ht){if(1&Qt&&(U.TgZ(0,"div",13),U._UZ(1,"formly-validation-message",14),U.qZA()),2&Qt){const en=U.oxw();U.Udp("display","block"),U.xp6(1),U.Q6J("field",en.field)}}function tt(Qt,ht){if(1&Qt&&(U.TgZ(0,"small",15),U._uU(1),U.qZA()),2&Qt){const en=U.oxw();U.xp6(1),U.Oqu(en.props.description)}}let Et=(()=>{class Qt extends h.n2{get helper(){return(0,j.M)(this.field)?.help||""}}return Qt.\u0275fac=function(){let ht;return function(nn){return(ht||(ht=U.n5z(Qt)))(nn||Qt)}}(),Qt.\u0275cmp=U.Xpm({type:Qt,selectors:[["cd-formly-input-wrapper"]],features:[U.qOj],decls:9,vars:8,consts:[["labelTemplate",""],[1,"mb-3"],[4,"ngIf"],["fieldComponent",""],["class","invalid-feedback",3,"display",4,"ngIf"],["class","form-text text-muted",4,"ngIf"],[1,"d-flex","align-items-center"],["class","form-label",4,"ngIf"],[1,"form-label"],["aria-hidden","true",4,"ngIf"],["aria-hidden","true"],[3,"innerHTML"],[3,"ngTemplateOutlet"],[1,"invalid-feedback"],[3,"field"],[1,"form-text","text-muted"]],template:function(en,nn){1&en&&(U.YNc(0,Ue,2,1,"ng-template",null,0,U.W1O),U.TgZ(2,"div",1),U.YNc(3,Me,2,1,"ng-container",2),U.GkF(4,null,3),U.YNc(6,yt,2,1,"ng-container",2),U.YNc(7,et,2,3,"div",4),U.YNc(8,tt,2,1,"small",5),U.qZA()),2&en&&(U.xp6(2),U.ekj("form-floating","floating"===nn.props.labelPosition)("has-error",nn.showError),U.xp6(1),U.Q6J("ngIf","floating"!==nn.props.labelPosition),U.xp6(3),U.Q6J("ngIf","floating"===nn.props.labelPosition),U.xp6(1),U.Q6J("ngIf",nn.showError),U.xp6(1),U.Q6J("ngIf",nn.props.description))},dependencies:[r.O5,r.tP,ue.S,h.M2]}),Qt})(),ze=(()=>{class Qt{constructor(){this.onChange=en=>{},this.onTouched=()=>{}}writeValue(en){}registerOnChange(en){this.onChange=en}registerOnTouched(en){this.onTouched=en}}return Qt.\u0275fac=function(en){return new(en||Qt)},Qt.\u0275dir=U.lG2({type:Qt,selectors:[["input","type","file"]],hostBindings:function(en,nn){1&en&&U.NdJ("change",function(Dn){return nn.onChange(Dn.target.files)})("input",function(Dn){return nn.onChange(Dn.target.files)})("blur",function(){return nn.onTouched()})},features:[U._Bn([{provide:f.JU,useExisting:Qt,multi:!0}])]}),Qt})(),bt=(()=>{class Qt extends h.fS{}return Qt.\u0275fac=function(){let ht;return function(nn){return(ht||(ht=U.n5z(Qt)))(nn||Qt)}}(),Qt.\u0275cmp=U.Xpm({type:Qt,selectors:[["cd-formly-file-type"]],features:[U.qOj],decls:1,vars:2,consts:[["type","file",3,"formControl","formlyAttributes"]],template:function(en,nn){1&en&&U._UZ(0,"input",0),2&en&&U.Q6J("formControl",nn.formControl)("formlyAttributes",nn.field)},dependencies:[f.Fj,f.JJ,f.oH,h.JD,ze]}),Qt})(),Ct=(()=>{class Qt{}return Qt.\u0275fac=function(en){return new(en||Qt)},Qt.\u0275mod=U.oAB({type:Qt}),Qt.\u0275inj=U.cJS({imports:[r.ez,c.xD,e.b,f.u5,u.XC,u.HK,D.D,T.K,a.Bz,f.UX,h.X0.forRoot({types:[{name:"array",component:A.l},{name:"object",component:Q.o},{name:"input",component:$.v,wrappers:["input-wrapper"]},{name:"textarea",component:pe,wrappers:["input-wrapper"]},{name:"file",component:bt,wrappers:["input-wrapper"]}],validationMessages:[{name:"required",message:"This field is required"},{name:"json",message:"This field is not a valid json document"},{name:"rgwRoleName",message:'Role name must contain letters, numbers or the following valid special characters "_+=,.@-]+" (pattern: [0-9a-zA-Z_+=,.@-]+)'},{name:"rgwRolePath",message:'Role path must start and finish with a slash "/". (pattern: (/)|(/[!-~]+/))'},{name:"file_size",message:"File size must not exceed 4KiB"},{name:"rgwRoleSessionDuration",message:"This field must be a number and should be a value from 1 hour to 12 hour"}],wrappers:[{name:"input-wrapper",component:Et}]}),E.z,c.xD]}),Qt})()},94928:(y,b,o)=>{"use strict";o.d(b,{K:()=>L});var r=o(23815),a=o.n(r),u=o(65862),c=o(64537),e=o(88692),f=o(51389),h=o(54247);const E=function(J){return{disabled:J}},T=function(J){return[J]};function D(J,pe){if(1&J){const j=c.EpF();c.ynx(0),c.TgZ(1,"button",3),c.NdJ("click",function(){c.CHM(j);const ie=c.oxw();return c.KtG(ie.useClickAction(ie.currentAction))}),c._UZ(2,"i",4),c.TgZ(3,"span",5),c._uU(4),c.qZA()(),c.BQk()}if(2&J){const j=c.oxw();c.xp6(1),c.Gre("btn btn-",j.btnColor,""),c.s9C("title",j.useDisableDesc(j.currentAction)),c.Q6J("ngClass",c.VKq(11,E,j.disableSelectionAction(j.currentAction)))("disabled",j.disableSelectionAction(j.currentAction))("routerLink",j.useRouterLink(j.currentAction))("preserveFragment",j.currentAction.preserveFragment?"":null),c.uIk("aria-label",j.currentAction.name),c.xp6(1),c.Q6J("ngClass",c.VKq(13,T,j.currentAction.icon)),c.xp6(2),c.Oqu(j.currentAction.name)}}function A(J,pe){if(1&J&&(c.ynx(0),c._uU(1),c.BQk()),2&J){const j=c.oxw(2);c.xp6(1),c.hij("",j.dropDownOnly," ")}}function $(J,pe){1&J&&c._UZ(0,"span",11)}const Q=function(J){return[J,"action-icon"]};function U(J,pe){if(1&J){const j=c.EpF();c.ynx(0),c.TgZ(1,"button",12),c.NdJ("click",function(){const me=c.CHM(j).$implicit,Oe=c.oxw(2);return c.KtG(Oe.useClickAction(me))}),c._UZ(2,"i",4),c.TgZ(3,"span"),c._uU(4),c.qZA()(),c.BQk()}if(2&J){const j=pe.$implicit,ue=c.oxw(2);c.xp6(1),c.Tol(ue.toClassName(j)),c.s9C("title",ue.useDisableDesc(j)),c.Q6J("routerLink",ue.useRouterLink(j))("preserveFragment",j.preserveFragment?"":null)("disabled",ue.disableSelectionAction(j)),c.uIk("aria-label",j.name),c.xp6(1),c.Q6J("ngClass",c.VKq(10,Q,j.icon)),c.xp6(2),c.Oqu(j.name)}}function q(J,pe){if(1&J&&(c.TgZ(0,"div",6)(1,"button",7),c.YNc(2,A,2,1,"ng-container",1),c.YNc(3,$,1,0,"span",8),c.qZA(),c.TgZ(4,"div",9),c.YNc(5,U,5,12,"ng-container",10),c.qZA()()),2&J){const j=c.oxw();c.xp6(1),c.Gre("btn btn-",j.btnColor," dropdown-toggle"),c.xp6(1),c.Q6J("ngIf",j.dropDownOnly),c.xp6(1),c.Q6J("ngIf",!j.dropDownOnly),c.xp6(2),c.Q6J("ngForOf",j.dropDownActions)}}let L=(()=>{class J{constructor(){this.btnColor="accent",this.dropDownActions=[],this.icons=u.P}ngOnInit(){this.removeActionsWithNoPermissions(),this.onSelectionChange()}ngOnChanges(j){j.selection&&this.onSelectionChange()}onSelectionChange(){this.updateDropDownActions(),this.updateCurrentAction()}toClassName(j){return j.name.replace(/ /g,"-").replace(/[^a-z-]/gi,"").toLowerCase()}removeActionsWithNoPermissions(){if(!this.permission)return void(this.tableActions=[]);const j=Object.keys(this.permission).filter(ue=>this.permission[ue]);this.tableActions=this.tableActions.filter(ue=>j.includes(ue.permission))}updateDropDownActions(){this.dropDownActions=this.tableActions.filter(j=>j.visible?j.visible(this.selection):j)}updateCurrentAction(){if(this.dropDownOnly)return void(this.currentAction=void 0);let j=this.dropDownActions.find(ue=>this.showableAction(ue));!j&&this.dropDownActions.length>0&&(j=this.dropDownActions[0]),this.currentAction=j}showableAction(j){const ue=j.canBePrimary,ie=this.selection.hasSingleSelection,me="create"===j.permission?!ie:ie;return ue&&ue(this.selection)||!ue&&me}useRouterLink(j){if(j.routerLink&&!this.disableSelectionAction(j))return a().isString(j.routerLink)?j.routerLink:j.routerLink()}disableSelectionAction(j){const ue=j.disable;if(ue)return Boolean(ue(this.selection));const ie=j.permission,me=this.selection.hasSingleSelection&&this.selection.first();return Boolean(["update","delete"].includes(ie)&&(!me||me.cdExecuting))}useClickAction(j){return!this.disableSelectionAction(j)&&j.click&&j.click()}useDisableDesc(j){if(j.disable){const ue=j.disable(this.selection);return a().isString(ue)?ue:void 0}}}return J.\u0275fac=function(j){return new(j||J)},J.\u0275cmp=c.Xpm({type:J,selectors:[["cd-table-actions"]],inputs:{permission:"permission",selection:"selection",tableActions:"tableActions",btnColor:"btnColor",dropDownOnly:"dropDownOnly"},features:[c.TTD],decls:3,vars:2,consts:[[1,"btn-group"],[4,"ngIf"],["class","btn-group","ngbDropdown","","role","group","aria-label","Button group with nested dropdown",4,"ngIf"],["type","button",3,"title","ngClass","disabled","routerLink","preserveFragment","click"],[3,"ngClass"],[1,"action-label"],["ngbDropdown","","role","group","aria-label","Button group with nested dropdown",1,"btn-group"],["aria-label","dropdown-menu-toggle","ngbDropdownToggle",""],["class","sr-only",4,"ngIf"],["ngbDropdownMenu","",1,"dropdown-menu"],[4,"ngFor","ngForOf"],[1,"sr-only"],["ngbDropdownItem","",3,"title","routerLink","preserveFragment","disabled","click"]],template:function(j,ue){1&j&&(c.TgZ(0,"div",0),c.YNc(1,D,5,15,"ng-container",1),c.YNc(2,q,6,6,"div",2),c.qZA()),2&j&&(c.xp6(1),c.Q6J("ngIf",ue.currentAction),c.xp6(1),c.Q6J("ngIf",ue.dropDownActions.length>1))},dependencies:[e.mk,e.sg,e.O5,f.jt,f.iD,f.Vi,f.TH,h.rH],styles:["button.disabled[_ngcontent-%COMP%]{color:#adb5bd;cursor:default!important;pointer-events:auto}button.dropdown-item[_ngcontent-%COMP%]:hover{background-color:#dee2e6}.action-icon[_ngcontent-%COMP%]{padding-right:1.5rem}.action-label[_ngcontent-%COMP%]{font-weight:700}"]}),J})()},61350:(y,b,o)=>{"use strict";o.d(b,{b:()=>h});var r=o(64537),a=o(23815),u=o.n(a),c=o(99466),e=o(96102),f=o(83697);let h=(()=>{class E{constructor(D){this.datePipe=D,this.autoReload=5e3,this.renderObjects=!1,this.appendParentKey=!0,this.hideEmpty=!1,this.hideKeys=[],this.columns=[],this.fetchData=new r.vpe}ngOnInit(){this.columns=[{prop:"key",flexGrow:1,cellTransformation:c.e.bold},{prop:"value",flexGrow:3}],this.customCss&&(this.columns[1].cellTransformation=c.e.classAdding),this.fetchData.observers.length>0&&this.table.fetchData.subscribe(()=>{this.fetchData.emit()}),this.useData()}ngOnChanges(){this.useData()}useData(){if(!this.data)return;let D=this.makePairs(this.data);this.hideKeys&&(D=D.filter(A=>!this.hideKeys.includes(A.key))),this.tableData=D}makePairs(D){let A=[];if(D){if(u().isArray(D))A=this.makePairsFromArray(D);else{if(!u().isObject(D))throw new Error("Wrong data format");A=this.makePairsFromObject(D)}return A=A.map($=>($.value=this.convertValue($.value),$)).filter($=>null!==$.value),u().sortBy(this.renderObjects?this.insertFlattenObjects(A):A,"key")}}makePairsFromArray(D){let A=[];const $=D[0];if(u().isArray($)){if(2!==$.length)throw new Error(`Array contains too many elements (${$.length}). Needs to be of type [string, any][]`);A=D.map(Q=>({key:Q[0],value:Q[1]}))}else u().isObject($)&&(A=u().has($,"key")&&u().has($,"value")?[...D]:D.reduce((Q,U)=>Q.concat(this.makePairsFromObject(U)),A));return A}makePairsFromObject(D){return Object.keys(D).map(A=>({key:A,value:D[A]}))}insertFlattenObjects(D){return u().flattenDeep(D.map(A=>{const $=A.value,Q=u().isObject($);return!Q||u().isEmpty($)?(Q&&(A.value=""),A):this.splitItemIntoItems(A)}))}splitItemIntoItems(D){return this.makePairs(D.value).map(A=>(this.appendParentKey&&(A.key=D.key+" "+A.key),A))}convertValue(D){if(u().isArray(D)){if(u().isEmpty(D)&&this.hideEmpty)return null;D=D.map(A=>u().isObject(A)?JSON.stringify(A):A).join(", ")}else if(u().isObject(D)){if(this.hideEmpty&&u().isEmpty(D)||!this.renderObjects)return null}else if(u().isString(D)){if(""===D&&this.hideEmpty)return null;this.isDate(D)&&(D=this.datePipe.transform(D)||D)}return D}isDate(D){const A="[ -:.TZ]",$="\\d{2}"+A;return D.match(new RegExp("^\\d{4}"+A+$+$+$+$+$+"\\d*Z?$"))}}return E.\u0275fac=function(D){return new(D||E)(r.Y36(e.N))},E.\u0275cmp=r.Xpm({type:E,selectors:[["cd-table-key-value"]],viewQuery:function(D,A){if(1&D&&r.Gf(f.a,7),2&D){let $;r.iGM($=r.CRH())&&(A.table=$.first)}},inputs:{data:"data",autoReload:"autoReload",renderObjects:"renderObjects",appendParentKey:"appendParentKey",hideEmpty:"hideEmpty",hideKeys:"hideKeys",customCss:"customCss"},outputs:{fetchData:"fetchData"},features:[r.TTD],decls:3,vars:9,consts:[[1,"table-scroller"],["columnMode","flex",3,"data","columns","toolHeader","autoReload","customCss","autoSave","header","footer","limit"],["table",""]],template:function(D,A){1&D&&(r.TgZ(0,"div",0),r._UZ(1,"cd-table",1,2),r.qZA()),2&D&&(r.xp6(1),r.Q6J("data",A.tableData)("columns",A.columns)("toolHeader",!1)("autoReload",A.autoReload)("customCss",A.customCss)("autoSave",!1)("header",!1)("footer",!1)("limit",0))},dependencies:[f.a],styles:[".table-scroller[_ngcontent-%COMP%]{height:100%;max-height:40vh;overflow:auto}"]}),E})()},83697:(y,b,o)=>{"use strict";o.d(b,{a:()=>Wn});var r=o(64537),a=o(84051),u=o(23815),c=o.n(u),e=o(25917),f=o(70882),h=o(71225),E=o(99466),T=o(65862),D=o(48168),A=o(68774),$=o(36848),Q=o(88692),U=o(20092),q=o(51389),L=o(76446),J=o(58039),pe=o(54247);let j=(()=>{class Wt{constructor(){this._size=0,this._count=0,this._page=1,this.pageChange=new r.vpe}set size(st){this._size=st,this.pages=this.calcPages()}get size(){return this._size}set page(st){this._page=st}get page(){return this._page}set count(st){this._count=st}get count(){return this._count}get totalPages(){const st=this.size<1?1:Math.ceil(this._count/this._size);return Math.max(st||0,1)}canPrevious(){return this._page>1}canNext(){return this._page<this.totalPages}prevPage(){this.selectPage(this._page-1)}nextPage(){this.selectPage(this._page+1)}selectPage(st){st>0&&st<=this.totalPages&&st!==this.page?(this._page=st,this.pageChange.emit({page:st})):st>0&&st>=this.totalPages&&(this._page=this.totalPages,this.pageChange.emit({page:this.totalPages}))}calcPages(st){const zt=[];let er=1,Kr=this.totalPages;st=st||this.page,5<this.totalPages&&(er=st-Math.floor(2.5),Kr=st+Math.floor(2.5),er<1?(er=1,Kr=Math.min(er+5-1,this.totalPages)):Kr>this.totalPages&&(er=Math.max(this.totalPages-5+1,1),Kr=this.totalPages));for(let Jo=er;Jo<=Kr;Jo++)zt.push({number:Jo,text:Jo});return zt}}return Wt.\u0275fac=function(st){return new(st||Wt)},Wt.\u0275cmp=r.Xpm({type:Wt,selectors:[["cd-table-pagination"]],inputs:{size:"size",page:"page",count:"count"},outputs:{pageChange:"pageChange"},decls:14,vars:7,consts:function(){let kt,st,zt,er,Kr,mi;return kt="Pagination",st="Go to first page",zt="Go to previous page",er="Current page",Kr="Go to next page",mi="Go to last page",[["aria-label",kt,1,"pagination"],["aria-label",st,1,"pagination__btn","pagination__btn_first",3,"disabled","click"],["aria-hidden","true",1,"fa","fa-angle-double-left"],["aria-label",zt,1,"pagination__btn","pagination__btn_prev",3,"disabled","click"],["aria-hidden","true",1,"fa","fa-angle-left"],[1,"pagination__pages"],["aria-label",er,"type","number","min","1",1,"pagination__page_input",3,"max","value","input"],["pageNumber",""],["aria-hidden","true"],["aria-label",Kr,1,"pagination__btn","pagination__btn_next",3,"disabled","click"],["aria-hidden","true",1,"fa","fa-angle-right"],["aria-label",mi,1,"pagination__btn","pagination__btn_last",3,"disabled","click"],["aria-hidden","true",1,"fa","fa-angle-double-right"]]},template:function(st,zt){if(1&st){const er=r.EpF();r.TgZ(0,"nav",0)(1,"button",1),r.NdJ("click",function(){return zt.selectPage(1)}),r._UZ(2,"i",2),r.qZA(),r.TgZ(3,"button",3),r.NdJ("click",function(){return zt.prevPage()}),r._UZ(4,"i",4),r.qZA(),r.TgZ(5,"div",5)(6,"input",6,7),r.NdJ("input",function(){r.CHM(er);const mi=r.MAs(7);return r.KtG(zt.selectPage(mi.valueAsNumber))}),r.qZA(),r.TgZ(8,"span",8),r._uU(9),r.qZA()(),r.TgZ(10,"button",9),r.NdJ("click",function(){return zt.nextPage()}),r._UZ(11,"i",10),r.qZA(),r.TgZ(12,"button",11),r.NdJ("click",function(){return zt.selectPage(zt.totalPages)}),r._UZ(13,"i",12),r.qZA()()}2&st&&(r.xp6(1),r.Q6J("disabled",!zt.canPrevious()),r.xp6(2),r.Q6J("disabled",!zt.canPrevious()),r.xp6(3),r.Q6J("max",zt.totalPages)("value",zt.page),r.xp6(3),r.hij(" of ",zt.totalPages," "),r.xp6(1),r.Q6J("disabled",!zt.canNext()),r.xp6(2),r.Q6J("disabled",!zt.canNext()))},styles:[".pagination[_ngcontent-%COMP%]{align-items:center;display:flex}.pagination__btn[_ngcontent-%COMP%]{background:none;border:0}.pagination__btn[_ngcontent-%COMP%]:disabled{color:#adb5bd}.pagination__page_input[_ngcontent-%COMP%]{border:1px solid #adb5bd;border-radius:.25rem;padding-left:.25rem}"]}),Wt})();var ue=o(37496),ie=o(47187),me=o(70442),Oe=o(66369),Ue=o(90068),Me=o(96102),yt=o(78877),et=o(52821),tt=o(11925);const Et=["tableCellBoldTpl"],ze=["sparklineTpl"],bt=["routerLinkTpl"],Ct=["checkIconTpl"],Qt=["perSecondTpl"],ht=["executingTpl"],en=["classAddingTpl"],nn=["badgeTpl"],bn=["mapTpl"],Dn=["truncateTpl"],Rt=["timeAgoTpl"],Xt=["rowDetailsTpl"],un=["rowSelectionTpl"],_n=["pathTpl"];function kn(Wt,kt){1&Wt&&(r.TgZ(0,"div",23)(1,"div",24),r.Hsn(2),r.qZA()())}function ri(Wt,kt){if(1&Wt){const st=r.EpF();r.ynx(0),r.TgZ(1,"button",40),r.NdJ("click",function(){const Kr=r.CHM(st).$implicit;return r.oxw(3).onSelectFilter(Kr),r.KtG(!1)}),r._uU(2),r.qZA(),r.BQk()}if(2&Wt){const st=kt.$implicit;r.xp6(2),r.Oqu(st.column.name)}}const Ir=function(Wt){return[Wt]};function wr(Wt,kt){if(1&Wt&&r._UZ(0,"i",31),2&Wt){const st=r.oxw(4);r.Q6J("ngClass",r.VKq(1,Ir,st.icons.check))}}function _r(Wt,kt){if(1&Wt){const st=r.EpF();r.ynx(0),r.TgZ(1,"button",40),r.NdJ("click",function(){const Kr=r.CHM(st).$implicit,mi=r.oxw(3);return mi.onChangeFilter(mi.selectedFilter,Kr),r.KtG(!1)}),r._uU(2),r.YNc(3,wr,1,3,"i",41),r.qZA(),r.BQk()}if(2&Wt){const st=kt.$implicit,zt=r.oxw(3);r.xp6(2),r.hij(" ",st.formatted," "),r.xp6(1),r.Q6J("ngIf",void 0!==zt.selectedFilter.value&&zt.selectedFilter.value.raw===st.raw)}}const oi=function(Wt,kt){return[Wt,kt]};function Ri(Wt,kt){if(1&Wt&&(r.TgZ(0,"div",35)(1,"div",36)(2,"button",37),r._UZ(3,"i",31),r._uU(4),r.qZA(),r.TgZ(5,"div",32),r.YNc(6,ri,3,1,"ng-container",33),r.qZA()(),r.TgZ(7,"div",38)(8,"button",39),r._uU(9),r.qZA(),r.TgZ(10,"div",32),r.YNc(11,_r,4,2,"ng-container",33),r.qZA()()()),2&Wt){const st=r.oxw(2);r.xp6(3),r.Q6J("ngClass",r.WLB(7,oi,st.icons.large,st.icons.filter)),r.xp6(1),r.hij(" ",st.selectedFilter.column.name," "),r.xp6(2),r.Q6J("ngForOf",st.columnFilters),r.xp6(2),r.ekj("disabled",0===st.selectedFilter.options.length),r.xp6(1),r.hij(" ",st.selectedFilter.value?st.selectedFilter.value.formatted:"Any"," "),r.xp6(2),r.Q6J("ngForOf",st.selectedFilter.options)}}function Tr(Wt,kt){if(1&Wt){const st=r.EpF();r.TgZ(0,"div",42)(1,"span",43),r._UZ(2,"i",31),r.qZA(),r.TgZ(3,"input",44),r.NdJ("ngModelChange",function(er){r.CHM(st);const Kr=r.oxw(2);return r.KtG(Kr.search=er)})("keyup",function(){r.CHM(st);const er=r.oxw(2);return r.KtG(er.updateFilter())}),r.qZA(),r.TgZ(4,"button",45),r.NdJ("click",function(){r.CHM(st);const er=r.oxw(2);return r.KtG(er.onClearSearch())}),r._UZ(5,"i"),r.qZA()()}if(2&Wt){const st=r.oxw(2);r.xp6(2),r.Q6J("ngClass",r.VKq(5,Ir,st.icons.search)),r.xp6(1),r.Q6J("ngModel",st.search),r.xp6(2),r.Gre("icon-prepend ",st.icons.destroy,"")}}function ft(Wt,kt){if(1&Wt){const st=r.EpF();r.TgZ(0,"div",46)(1,"input",47),r.NdJ("click",function(er){r.CHM(st);const Kr=r.oxw(2);return r.KtG(Kr.setLimit(er))})("keyup",function(er){r.CHM(st);const Kr=r.oxw(2);return r.KtG(Kr.setLimit(er))})("blur",function(er){r.CHM(st);const Kr=r.oxw(2);return r.KtG(Kr.setLimit(er))}),r.qZA()()}if(2&Wt){const st=r.oxw(2);r.xp6(1),r.Q6J("value",st.userConfig.limit)}}function sn(Wt,kt){if(1&Wt){const st=r.EpF();r.TgZ(0,"button",40),r.NdJ("click",function(){r.CHM(st);const er=r.oxw(2).$implicit;return r.oxw(2).toggleColumn(er),r.KtG(!1)}),r.TgZ(1,"div",50),r._UZ(2,"input",51),r.TgZ(3,"label",52),r._uU(4),r.qZA()()()}if(2&Wt){const st=r.oxw(2).$implicit,zt=r.oxw(2);r.xp6(2),r.hYB("id","",st.prop,"",zt.tableName,""),r.Q6J("name",st.prop)("checked",!st.isHidden),r.xp6(1),r.hYB("for","",st.prop,"",zt.tableName,""),r.xp6(1),r.Oqu(st.name)}}function At(Wt,kt){if(1&Wt&&(r.ynx(0),r.YNc(1,sn,5,7,"button",49),r.BQk()),2&Wt){const st=r.oxw().$implicit;r.xp6(1),r.Q6J("ngIf",""!==st.name)}}function Ln(Wt,kt){if(1&Wt&&(r.ynx(0),r.YNc(1,At,2,1,"ng-container",48),r.BQk()),2&Wt){const st=kt.$implicit;r.xp6(1),r.Q6J("ngIf",!(null!=st&&st.isInvisible))}}function rr(Wt,kt){if(1&Wt){const st=r.EpF();r.TgZ(0,"div",53)(1,"button",54),r.NdJ("click",function(){r.CHM(st);const er=r.oxw(2);return r.KtG(er.refreshBtn())}),r._UZ(2,"i",31),r.qZA()()}if(2&Wt){const st=r.oxw(2);r.xp6(1),r.Tol("btn btn-"+st.status.type),r.Q6J("ngbTooltip",st.status.msg),r.xp6(1),r.ekj("fa-spin",st.updating||st.loadingIndicator),r.Q6J("ngClass",r.WLB(6,oi,st.icons.large,st.icons.refresh))}}function Lr(Wt,kt){if(1&Wt&&(r.TgZ(0,"div",23)(1,"div",24),r.Hsn(2,1),r.qZA(),r.YNc(3,Ri,12,10,"div",25),r.YNc(4,Tr,6,7,"div",26),r.YNc(5,ft,2,1,"div",27),r.TgZ(6,"div",28)(7,"div",29)(8,"button",30),r._UZ(9,"i",31),r.qZA(),r.TgZ(10,"div",32),r.YNc(11,Ln,2,1,"ng-container",33),r.qZA()()(),r.YNc(12,rr,3,9,"div",34),r.qZA()),2&Wt){const st=r.oxw();r.xp6(3),r.Q6J("ngIf",0!==st.columnFilters.length),r.xp6(1),r.Q6J("ngIf",st.searchField),r.xp6(1),r.Q6J("ngIf",st.limit),r.xp6(4),r.Q6J("ngClass",r.WLB(6,oi,st.icons.large,st.icons.table)),r.xp6(2),r.Q6J("ngForOf",st.columns),r.xp6(1),r.Q6J("ngIf",st.fetchData.observers.length>0)}}function Fi(Wt,kt){if(1&Wt){const st=r.EpF();r.TgZ(0,"span",59)(1,"span",60),r._uU(2),r.qZA(),r.TgZ(3,"a",61),r.NdJ("click",function(){r.CHM(st);const er=r.oxw().$implicit;return r.oxw(2).onChangeFilter(er),r.KtG(!1)}),r._UZ(4,"i",62),r.qZA()()}if(2&Wt){const st=r.oxw().$implicit,zt=r.oxw(2);r.xp6(2),r.AsE("",st.column.name,": ",st.value.formatted,""),r.xp6(2),r.Q6J("ngClass",r.VKq(3,Ir,zt.icons.destroy))}}function so(Wt,kt){if(1&Wt&&(r.TgZ(0,"span"),r.YNc(1,Fi,5,5,"span",58),r.qZA()),2&Wt){const st=kt.$implicit;r.xp6(1),r.Q6J("ngIf",st.value)}}function Vo(Wt,kt){if(1&Wt){const st=r.EpF();r.TgZ(0,"div",23)(1,"div",55),r.YNc(2,so,2,1,"span",33),r.TgZ(3,"a",56),r.NdJ("click",function(){return r.CHM(st),r.oxw().onClearFilters(),r.KtG(!1)}),r.ynx(4),r.SDv(5,57),r.BQk(),r.qZA()()()}if(2&Wt){const st=r.oxw();r.xp6(2),r.Q6J("ngForOf",st.columnFilters)}}function Xr(Wt,kt){if(1&Wt&&r._UZ(0,"input",63),2&Wt){const st=kt.isSelected;r.Q6J("checked",st),r.uIk("aria-label",st?"selected":"select")}}function Ni(Wt,kt){1&Wt&&r.Hsn(0,2)}function ji(Wt,kt){if(1&Wt&&(r.TgZ(0,"span"),r._uU(1),r.ynx(2),r.SDv(3,68),r.BQk(),r._uU(4," / "),r.qZA()),2&Wt){const st=r.oxw().selectedCount;r.xp6(1),r.hij(" ",st," ")}}function jr(Wt,kt){if(1&Wt&&(r.TgZ(0,"span"),r._uU(1),r.ynx(2),r.SDv(3,70),r.BQk(),r._uU(4," / "),r.qZA()),2&Wt){const st=r.oxw(2).rowCount;r.xp6(1),r.hij(" ",st," ")}}function Pr(Wt,kt){if(1&Wt&&(r.TgZ(0,"span"),r.YNc(1,jr,5,1,"span",48),r._uU(2),r.ynx(3),r.SDv(4,69),r.BQk(),r.qZA()),2&Wt){const st=r.oxw().rowCount,zt=r.oxw();r.xp6(1),r.Q6J("ngIf",st!=(null==zt.data?null:zt.data.length)),r.xp6(1),r.hij(" ",(null==zt.data?null:zt.data.length)||0," ")}}function Bo(Wt,kt){if(1&Wt&&(r.TgZ(0,"span"),r._uU(1),r.ynx(2),r.SDv(3,71),r.BQk(),r._uU(4),r.ynx(5),r.SDv(6,72),r.BQk(),r.qZA()),2&Wt){const st=r.oxw().rowCount,zt=r.oxw();r.xp6(1),r.hij(" ",(null==zt.data?null:zt.data.length)||0," "),r.xp6(3),r.hij(" / ",st," ")}}function cs(Wt,kt){if(1&Wt){const st=r.EpF();r.TgZ(0,"div",64),r.YNc(1,ji,5,1,"span",48),r.YNc(2,Pr,5,2,"span",65),r.YNc(3,Bo,7,2,"ng-template",null,66,r.W1O),r.qZA(),r.TgZ(5,"cd-table-pagination",67),r.NdJ("pageChange",function(er){r.CHM(st),r.oxw();const Kr=r.MAs(5);return r.KtG(Kr.onFooterPage(er))}),r.qZA()}if(2&Wt){const st=kt.rowCount,zt=kt.pageSize,er=kt.curPage,Kr=r.MAs(4),mi=r.oxw();r.xp6(1),r.Q6J("ngIf",mi.selectionType),r.xp6(1),r.Q6J("ngIf",!mi.serverSide)("ngIfElse",Kr),r.xp6(3),r.Q6J("page",er)("size",zt)("count",st)("hidden",!(st/zt>1))}}function ts(Wt,kt){if(1&Wt&&(r.TgZ(0,"strong"),r._uU(1),r.qZA()),2&Wt){const st=kt.value;r.xp6(1),r.Oqu(st)}}function io(Wt,kt){if(1&Wt&&r._UZ(0,"cd-sparkline",73),2&Wt){const st=kt.row;r.Q6J("data",kt.value)("isBinary",st.cdIsBinary)}}function Vi(Wt,kt){if(1&Wt&&(r.TgZ(0,"a",74),r._uU(1),r.qZA()),2&Wt){const st=kt.row,zt=kt.value;r.Q6J("routerLink",r.VKq(3,Ir,st.cdLink))("queryParams",st.cdParams),r.xp6(1),r.Oqu(zt)}}function Pn(Wt,kt){if(1&Wt&&(r._UZ(0,"i",75),r.ALo(1,"boolean")),2&Wt){const st=kt.value,zt=r.oxw();r.Q6J("ngClass",r.VKq(4,Ir,zt.icons.check))("hidden",!r.lcZ(1,2,st))}}function Nn(Wt,kt){1&Wt&&(r._uU(0),r.ALo(1,"dimless")),2&Wt&&r.hij(" ",r.lcZ(1,1,kt.value)," /s\n")}function Ut(Wt,kt){if(1&Wt&&r._UZ(0,"i",31),2&Wt){const st=r.oxw(2);r.Q6J("ngClass",r.WLB(1,oi,st.icons.spinner,st.icons.spin))}}function ke(Wt,kt){if(1&Wt&&(r.TgZ(0,"span",31),r._uU(1),r.qZA()),2&Wt){const st=r.oxw(),zt=st.column,er=st.row;r.Q6J("ngClass",null!=zt&&null!=zt.customTemplateConfig&&zt.customTemplateConfig.executingClass?zt.customTemplateConfig.executingClass:"text-muted italic"),r.xp6(1),r.hij("(",er.cdExecuting,")")}}function Ie(Wt,kt){if(1&Wt&&(r.YNc(0,Ut,1,4,"i",41),r.TgZ(1,"span",31),r._uU(2),r.qZA(),r.YNc(3,ke,2,2,"span",41)),2&Wt){const st=kt.column,zt=kt.row,er=kt.value;r.Q6J("ngIf",zt.cdExecuting),r.xp6(1),r.Q6J("ngClass",null==st||null==st.customTemplateConfig?null:st.customTemplateConfig.valueClass),r.xp6(1),r.hij(" ",er," "),r.xp6(1),r.Q6J("ngIf",zt.cdExecuting)}}function Qe(Wt,kt){if(1&Wt&&(r.TgZ(0,"span"),r.ALo(1,"pipeFunction"),r._uU(2),r.qZA()),2&Wt){const st=kt.value,zt=r.oxw();r.Tol(r.Dn7(1,4,st,zt.useCustomClass,zt)),r.xp6(2),r.Oqu(st)}}function Ve(Wt,kt){if(1&Wt&&(r.TgZ(0,"span",77),r._uU(1),r.qZA()),2&Wt){const st=r.oxw().$implicit,zt=r.oxw().column;r.Q6J("ngClass",null!=zt&&null!=zt.customTemplateConfig&&zt.customTemplateConfig.map&&null!=zt&&null!=zt.customTemplateConfig&&null!=zt.customTemplateConfig.map[st]&&zt.customTemplateConfig.map[st].class?zt.customTemplateConfig.map[st].class:null!=zt&&null!=zt.customTemplateConfig&&zt.customTemplateConfig.class?zt.customTemplateConfig.class:"badge-primary"),r.xp6(1),r.hij(" ",null!=zt&&null!=zt.customTemplateConfig&&zt.customTemplateConfig.map&&null!=zt&&null!=zt.customTemplateConfig&&null!=zt.customTemplateConfig.map[st]&&zt.customTemplateConfig.map[st].value?zt.customTemplateConfig.map[st].value:null!=zt&&null!=zt.customTemplateConfig&&zt.customTemplateConfig.prefix?zt.customTemplateConfig.prefix+st:st," ")}}function tn(Wt,kt){1&Wt&&(r.TgZ(0,"span"),r._uU(1,"\xa0"),r.qZA())}function ot(Wt,kt){if(1&Wt&&(r.TgZ(0,"span"),r.YNc(1,Ve,2,2,"span",76),r.YNc(2,tn,2,0,"span",48),r.qZA()),2&Wt){const st=kt.$implicit,zt=kt.last,er=r.oxw().column;r.xp6(1),r.Q6J("ngIf",null!=er&&null!=er.customTemplateConfig&&er.customTemplateConfig.map&&null!=er&&null!=er.customTemplateConfig&&null!=er.customTemplateConfig.map[st]&&er.customTemplateConfig.map[st].value?er.customTemplateConfig.map[st].value:null!=er&&null!=er.customTemplateConfig&&er.customTemplateConfig.prefix?er.customTemplateConfig.prefix+st:st),r.xp6(1),r.Q6J("ngIf",!zt)}}function xt(Wt,kt){1&Wt&&(r.YNc(0,ot,3,2,"span",33),r.ALo(1,"array")),2&Wt&&r.Q6J("ngForOf",r.lcZ(1,1,kt.value))}function qt(Wt,kt){if(1&Wt&&(r.TgZ(0,"span"),r._uU(1),r.ALo(2,"map"),r.qZA()),2&Wt){const st=kt.column,zt=kt.value;r.xp6(1),r.Oqu(r.xi3(2,1,zt,null==st?null:st.customTemplateConfig))}}function tr(Wt,kt){if(1&Wt&&(r.TgZ(0,"span",78),r._uU(1),r.ALo(2,"truncate"),r.qZA()),2&Wt){const st=kt.column,zt=kt.value;r.Q6J("title",zt),r.xp6(1),r.Oqu(r.Dn7(2,2,zt,null==st||null==st.customTemplateConfig?null:st.customTemplateConfig.length,null==st||null==st.customTemplateConfig?null:st.customTemplateConfig.omission))}}function vr(Wt,kt){if(1&Wt){const st=r.EpF();r.TgZ(0,"a",79),r.NdJ("click",function(er){const Kr=r.CHM(st),mi=Kr.row,gi=Kr.expanded,Jo=r.oxw();return r.KtG(Jo.toggleExpandRow(mi,gi,er))}),r.qZA()}if(2&Wt){const st=kt.expanded;r.ekj("expand-collapse-icon-right",!st)("expand-collapse-icon-down",st)}}function An(Wt,kt){if(1&Wt&&(r.TgZ(0,"span",78),r.ALo(1,"cdDate"),r._uU(2),r.ALo(3,"relativeDate"),r.qZA()),2&Wt){const st=kt.value;r.Q6J("title",r.lcZ(1,2,st)),r.xp6(2),r.Oqu(r.lcZ(3,4,st))}}function yr(Wt,kt){if(1&Wt&&r._UZ(0,"cd-copy-2-clipboard-button",82),2&Wt){const st=r.oxw().value;r.Q6J("source",st)("byId",!1)("showIconOnly",!0)}}function Nr(Wt,kt){if(1&Wt&&(r.TgZ(0,"span",80),r._uU(1),r.ALo(2,"path"),r.YNc(3,yr,1,3,"cd-copy-2-clipboard-button",81),r.qZA()),2&Wt){const st=kt.value;r.Q6J("title",st),r.xp6(1),r.hij("",r.lcZ(2,3,st)," "),r.xp6(2),r.Q6J("ngIf",st)}}const nr=[[["",8,"only-table-actions"]],[["",8,"table-actions"]],[["","cdTableDetail",""]]],Qn=[".only-table-actions",".table-actions","[cdTableDetail]"];let Wn=(()=>{class Wt{get columnFiltered(){return c().some(this.columnFilters,st=>void 0!==st.value)}constructor(st,zt){this.cdRef=st,this.timerService=zt,this.columnMode="flex",this.onlyActionHeader=!1,this.toolHeader=!0,this.searchField=!0,this.header=!0,this.footer=!0,this.limit=10,this.maxLimit=9999,this.hasDetails=!1,this.autoReload=5e3,this.identifier="id",this.forceIdentifier=!1,this.selectionType=void 0,this.updateSelectionOnRefresh="onChange",this.updateExpandedOnRefresh="onChange",this.autoSave=!0,this.searchableObjects=!1,this.extraFilterableColumns=[],this.status=new h.c,this.serverSide=!1,this.count=0,this.fetchData=new r.vpe,this.updateSelection=new r.vpe,this.setExpandedRow=new r.vpe,this.columnFiltersChanged=new r.vpe,this.selection=new A.r,this.expanded=void 0,this.icons=T.P,this.cellTemplates={},this.search="",this.rows=[],this.loadingIndicator=!0,this.paginationClasses={pagerLeftArrow:T.P.leftArrowDouble,pagerRightArrow:T.P.rightArrowDouble,pagerPrevious:T.P.leftArrow,pagerNext:T.P.rightArrow},this.userConfig={},this.localStorage=window.localStorage,this.updating=!1,this.columnFilters=[]}static prepareSearch(st){return(st=st.toLowerCase().replace(/,/g,"")).match(/['"][^'"]+['"]/)&&(st=st.replace(/['"][^'"]+['"]/g,zt=>zt.replace(/(['"])([^'"]+)(['"])/g,"$2").replace(/ /g,"+"))),st.split(" ").filter(zt=>zt)}ngOnInit(){if(this.localColumns=c().clone(this.columns),this.serverSide&&(this.reloadData=c().debounce(this.reloadData,1e3)),this.table.element.addEventListener("mouseenter",st=>st.stopPropagation()),this._addTemplates(),!this.sorts){const st=-1!==c().findIndex(this.localColumns,["prop",this.identifier]);this.sorts=this.createSortingDefinition(st?this.identifier:this.localColumns[0].prop+""),!st&&!this.forceIdentifier&&(this.identifier=this.localColumns[0].prop+"")}this.initUserConfig(),this.localColumns.forEach(st=>{st.cellTransformation&&(st.cellTemplate=this.cellTemplates[st.cellTransformation]),st.flexGrow||(st.flexGrow=st.prop+""===this.identifier?1:2),st.resizeable||(st.resizeable=!1)}),this.initExpandCollapseColumn(),this.initCheckboxColumn(),this.filterHiddenColumns(),this.initColumnFilters(),this.updateColumnFilterOptions(),this.updateSelection.emit(new A.r),this.fetchData.observers.length>0&&(this.loadingIndicator=!0),c().isInteger(this.autoReload)&&this.autoReload>0?this.reloadSubscriber=this.timerService.get(()=>(0,e.of)(0),this.autoReload).subscribe(()=>{this.reloadData()}):this.autoReload?this.useData():this.reloadData()}initUserConfig(){this.autoSave&&(this.tableName=this._calculateUniqueTableName(this.localColumns),this._loadUserConfig(),this._initUserConfigAutoSave()),(10!==this.limit||!this.userConfig.limit)&&(this.userConfig.limit=this.limit),this.userConfig.offset>=0||(this.userConfig.offset=this.table.offset),this.userConfig.search||(this.userConfig.search=this.search),this.userConfig.sorts||(this.userConfig.sorts=this.sorts),this.userConfig.columns?this.userConfig.columns.forEach(st=>{for(let zt=0;zt<this.localColumns.length;zt++)this.localColumns[zt].prop===st.prop&&(this.localColumns[zt].isHidden=st.isHidden)}):this.updateUserColumns()}_calculateUniqueTableName(st){const zt=er=>{if(!c().isString(er))return 0;let Kr=0;for(let mi=0;mi<er.length;mi++)Kr+=er.charCodeAt(mi)*mi;return Kr};return st.reduce((er,Kr,mi)=>(zt(Kr.prop)+zt(Kr.name))*(mi+1)+er,0).toString()}_loadUserConfig(){const st=this.localStorage.getItem(this.tableName);st&&(this.userConfig=JSON.parse(st))}_initUserConfigAutoSave(){const st=new f.y(this._initUserConfigProxy.bind(this));this.saveSubscriber=st.subscribe(this._saveUserConfig.bind(this))}_initUserConfigProxy(st){this.userConfig=new Proxy(this.userConfig,{set:(zt,er,Kr)=>(zt[er]=Kr,st.next(zt),!0)})}_saveUserConfig(st){this.localStorage.setItem(this.tableName,JSON.stringify(st))}updateUserColumns(){this.userConfig.columns=this.localColumns.map(st=>({prop:st.prop,name:st.name,isHidden:!!st.isHidden}))}initCheckboxColumn(){"multiClick"===this.selectionType&&this.localColumns.unshift({prop:void 0,resizeable:!1,sortable:!1,draggable:!1,checkboxable:!1,canAutoResize:!1,cellClass:"cd-datatable-checkbox",cellTemplate:this.rowSelectionTpl,width:30})}initExpandCollapseColumn(){this.hasDetails&&this.localColumns.unshift({prop:void 0,resizeable:!1,sortable:!1,draggable:!1,isHidden:!1,canAutoResize:!1,cellClass:"cd-datatable-expand-collapse",width:40,cellTemplate:this.rowDetailsTpl})}filterHiddenColumns(){this.tableColumns=this.localColumns.filter(st=>!st.isHidden)}initColumnFilters(){let st=c().filter(this.localColumns,{filterable:!0});st=[...st,...this.extraFilterableColumns],this.columnFilters=st.map(zt=>({column:zt,options:[],value:zt.filterInitValue?this.createColumnFilterOption(zt.filterInitValue,zt.pipe):void 0})),this.selectedFilter=c().first(this.columnFilters)}createColumnFilterOption(st,zt){return{raw:c().toString(st),formatted:zt?zt.transform(st):c().toString(st)}}updateColumnFilterOptions(){this.columnFilters.forEach(st=>{let zt=[];if(c().isUndefined(st.column.filterOptions)){const Kr=c().filter(c().map(this.data,st.column.prop),mi=>c().isString(mi)&&""!==mi||c().isBoolean(mi)||c().isFinite(mi)||c().isDate(mi));zt=c().sortedUniq(Kr.sort())}else zt=st.column.filterOptions;const er=zt.map(Kr=>this.createColumnFilterOption(Kr,st.column.pipe));st.value&&c().isUndefined(c().find(er,{raw:st.value.raw}))&&(st.value=void 0),st.options=er})}onSelectFilter(st){this.selectedFilter=st}onChangeFilter(st,zt){st.value=c().isEqual(st.value,zt)?void 0:zt,this.updateFilter()}doColumnFiltering(){const st=[];let zt=[...this.data],er=[];return this.columnFilters.forEach(Kr=>{if(void 0===Kr.value)return;st.push({name:Kr.column.name,prop:Kr.column.prop,value:Kr.value});const mi=c().partition(zt,gi=>{const os=(0,a.Hg)(Kr.column.prop)(gi,Kr.column.prop);return c().isUndefined(Kr.column.filterPredicate)?`${os}`===Kr.value.raw:Kr.column.filterPredicate(gi,Kr.value.raw)});zt=mi[0],er=[...er,...mi[1]]}),this.columnFiltersChanged.emit({filters:st,data:zt,dataOut:er}),c().forEach(this.selection.selected,Kr=>{void 0===c().find(zt,{[this.identifier]:Kr[this.identifier]})&&(this.selection=new A.r,this.onSelect(this.selection))}),zt}ngOnDestroy(){this.reloadSubscriber&&this.reloadSubscriber.unsubscribe(),this.saveSubscriber&&this.saveSubscriber.unsubscribe()}ngAfterContentChecked(){this.table&&this.table.element.clientWidth!==this.currentWidth&&(this.currentWidth=this.table.element.clientWidth,this.table.recalculate(),c().get(this.table,"cd").markForCheck())}_addTemplates(){this.cellTemplates.bold=this.tableCellBoldTpl,this.cellTemplates.checkIcon=this.checkIconTpl,this.cellTemplates.sparkline=this.sparklineTpl,this.cellTemplates.routerLink=this.routerLinkTpl,this.cellTemplates.perSecond=this.perSecondTpl,this.cellTemplates.executing=this.executingTpl,this.cellTemplates.classAdding=this.classAddingTpl,this.cellTemplates.badge=this.badgeTpl,this.cellTemplates.map=this.mapTpl,this.cellTemplates.truncate=this.truncateTpl,this.cellTemplates.timeAgo=this.timeAgoTpl,this.cellTemplates.path=this.pathTpl}useCustomClass(st){if(!this.customCss)throw new Error("Custom classes are not set!");const zt=Object.keys(this.customCss),er=Object.values(this.customCss).map((Kr,mi)=>(c().isFunction(Kr)&&Kr(st)||Kr===st)&&zt[mi]).filter(Kr=>Kr).join(" ");return c().isEmpty(er)?void 0:er}ngOnChanges(st){st.data&&st.data.currentValue&&this.useData()}setLimit(st){const zt=Number(st.target.value);zt>0&&(this.maxLimit&&zt>this.maxLimit?(this.userConfig.limit=this.maxLimit,st.srcElement.value=this.maxLimit):this.userConfig.limit=zt),this.serverSide&&this.reloadData()}reloadData(){if(!this.updating){this.status=new h.c;const st=new D.E(()=>{st.errorConfig.displayError&&(this.status=new h.c("danger","Failed to load data.")),st.errorConfig.resetData&&(this.data=[]),this.useData()});if(st.pageInfo.offset=this.userConfig.offset,st.pageInfo.limit=this.userConfig.limit,st.search=this.userConfig.search,this.userConfig.sorts?.length){const zt=this.userConfig.sorts[0];st.sort=`${"desc"===zt.dir?"-":"+"}${zt.prop}`}this.fetchData.emit(st),this.updating=!0}}refreshBtn(){this.loadingIndicator=!0,this.reloadData()}changePage(st){this.userConfig.offset=st.offset,this.userConfig.limit=st.limit,this.serverSide&&this.reloadData()}rowIdentity(){return st=>{const zt=st[this.identifier];if(c().isUndefined(zt))throw new Error(`Wrong identifier "${this.identifier}" -> "${zt}"`);return zt}}useData(){this.data&&(this.updateColumnFilterOptions(),this.updateFilter(),this.reset(),this.updateSelected(),this.updateExpanded())}reset(){this.loadingIndicator=!1,this.updating=!1}updateSelected(){if("never"===this.updateSelectionOnRefresh)return;const st=new Set;this.selection.selected.forEach(er=>{for(const Kr of this.data)er[this.identifier]===Kr[this.identifier]&&st.add(Kr)});const zt=Array.from(st.values());"onChange"===this.updateSelectionOnRefresh&&c().isEqual(this.selection.selected,zt)||(this.selection.selected=zt,this.onSelect(this.selection))}updateExpanded(){if(c().isUndefined(this.expanded)||"never"===this.updateExpandedOnRefresh)return;const st=this.expanded[this.identifier],zt=c().find(this.data,er=>st===er[this.identifier]);"onChange"===this.updateExpandedOnRefresh&&c().isEqual(this.expanded,zt)||(this.expanded=zt,this.setExpandedRow.emit(zt))}onSelect(st){c().has(st,"selected")&&(this.selection.selected=st.selected),this.updateSelection.emit(c().clone(this.selection))}toggleColumn(st){const zt=st.prop,er=!st.isHidden;er&&1===this.tableColumns.length?st.isHidden=!0:(c().find(this.localColumns,Kr=>Kr.prop===zt).isHidden=er,this.updateColumns())}updateColumns(){this.updateUserColumns(),this.filterHiddenColumns();const st=this.userConfig.sorts[0].prop;c().find(this.tableColumns,zt=>zt.prop===st)||(this.userConfig.sorts=this.createSortingDefinition(this.tableColumns[0].prop)),this.table.recalculate(),this.cdRef.detectChanges()}createSortingDefinition(st){return[{prop:st,dir:a.Sr.asc}]}changeSorting({sorts:st}){this.userConfig.sorts=st,this.serverSide&&(this.userConfig.offset=0,this.reloadData())}onClearSearch(){this.search="",this.updateFilter()}onClearFilters(){this.columnFilters.forEach(st=>{st.value=void 0}),this.selectedFilter=c().first(this.columnFilters),this.updateFilter()}updateFilter(){if(this.serverSide)this.userConfig.search!==this.search&&(this.userConfig.offset=0,this.userConfig.limit=this.limit,this.userConfig.search=this.search,this.updating=!1,this.reloadData()),this.rows=this.data;else{let st=0!==this.columnFilters.length?this.doColumnFiltering():this.data;if(this.search.length>0&&st){const zt=this.localColumns.filter(er=>er.cellTransformation!==E.e.sparkline);st=this.subSearch(st,Wt.prepareSearch(this.search),zt),this.table.offset=0}this.rows=st}}subSearch(st,zt,er){if(0===zt.length||0===st.length)return st;const Kr=zt.pop().replace(/\+/g," ").split(":"),mi=[...er];return 2===Kr.length&&(er=mi.filter(gi=>-1!==gi.name.toLowerCase().indexOf(Kr[0]))),st=this.basicDataSearch(c().last(Kr),st,er),this.subSearch(st,zt,mi)}basicDataSearch(st,zt,er){return 0===st.length?zt:zt.filter(Kr=>er.filter(mi=>{let gi=c().get(Kr,mi.prop);if(c().isUndefined(mi.pipe)||(gi=mi.pipe.transform(gi)),c().isUndefined(gi)||c().isNull(gi))return!1;if(c().isObjectLike(gi)){if(!this.searchableObjects)return!1;gi=JSON.stringify(gi)}return c().isArray(gi)?gi=gi.join(" "):(c().isNumber(gi)||c().isBoolean(gi))&&(gi=gi.toString()),-1!==gi.toLowerCase().indexOf(st)}).length>0)}getRowClass(){return()=>({clickable:!c().isUndefined(this.selectionType)})}toggleExpandRow(st,zt,er){er.stopPropagation(),zt?(this.expanded=void 0,this.setExpandedRow.emit(void 0)):(this.expanded=st,this.table.rowDetail.collapseAllRows(),this.setExpandedRow.emit(st)),this.table.rowDetail.toggleExpandRow(st)}}return Wt.\u0275fac=function(st){return new(st||Wt)(r.Y36(r.sBO),r.Y36($.f))},Wt.\u0275cmp=r.Xpm({type:Wt,selectors:[["cd-table"]],viewQuery:function(st,zt){if(1&st&&(r.Gf(a.nE,7),r.Gf(Et,7),r.Gf(ze,7),r.Gf(bt,7),r.Gf(Ct,7),r.Gf(Qt,7),r.Gf(ht,7),r.Gf(en,7),r.Gf(nn,7),r.Gf(bn,7),r.Gf(Dn,7),r.Gf(Rt,7),r.Gf(Xt,7),r.Gf(un,7),r.Gf(_n,7)),2&st){let er;r.iGM(er=r.CRH())&&(zt.table=er.first),r.iGM(er=r.CRH())&&(zt.tableCellBoldTpl=er.first),r.iGM(er=r.CRH())&&(zt.sparklineTpl=er.first),r.iGM(er=r.CRH())&&(zt.routerLinkTpl=er.first),r.iGM(er=r.CRH())&&(zt.checkIconTpl=er.first),r.iGM(er=r.CRH())&&(zt.perSecondTpl=er.first),r.iGM(er=r.CRH())&&(zt.executingTpl=er.first),r.iGM(er=r.CRH())&&(zt.classAddingTpl=er.first),r.iGM(er=r.CRH())&&(zt.badgeTpl=er.first),r.iGM(er=r.CRH())&&(zt.mapTpl=er.first),r.iGM(er=r.CRH())&&(zt.truncateTpl=er.first),r.iGM(er=r.CRH())&&(zt.timeAgoTpl=er.first),r.iGM(er=r.CRH())&&(zt.rowDetailsTpl=er.first),r.iGM(er=r.CRH())&&(zt.rowSelectionTpl=er.first),r.iGM(er=r.CRH())&&(zt.pathTpl=er.first)}},inputs:{data:"data",columns:"columns",sorts:"sorts",columnMode:"columnMode",onlyActionHeader:"onlyActionHeader",toolHeader:"toolHeader",searchField:"searchField",header:"header",footer:"footer",limit:"limit",maxLimit:"maxLimit",hasDetails:"hasDetails",autoReload:"autoReload",identifier:"identifier",forceIdentifier:"forceIdentifier",selectionType:"selectionType",updateSelectionOnRefresh:"updateSelectionOnRefresh",updateExpandedOnRefresh:"updateExpandedOnRefresh",autoSave:"autoSave",searchableObjects:"searchableObjects",customCss:"customCss",extraFilterableColumns:"extraFilterableColumns",status:"status",serverSide:"serverSide",count:"count"},outputs:{fetchData:"fetchData",updateSelection:"updateSelection",setExpandedRow:"setExpandedRow",columnFiltersChanged:"columnFiltersChanged"},features:[r.TTD],ngContentSelectors:Qn,decls:39,vars:21,consts:function(){let kt,st,zt,er,Kr,mi,gi;return kt="Clear filters",st="selected",zt="total",er="found",Kr="found",mi="total",gi="Expand/Collapse Row",[[1,"dataTables_wrapper"],["class","dataTables_header clearfix",4,"ngIf"],[1,"bootstrap","cd-datatable",3,"cssClasses","selectionType","selected","sorts","columns","columnMode","rows","rowClass","headerHeight","footerHeight","count","externalPaging","externalSorting","limit","offset","loadingIndicator","rowIdentity","rowHeight","select","sort","page"],["table",""],["ngx-datatable-cell-template",""],["rowSelectionTpl",""],["rowHeight","auto"],["detailRow",""],["ngx-datatable-row-detail-template",""],["ngx-datatable-footer-template",""],["tableCellBoldTpl",""],["sparklineTpl",""],["routerLinkTpl",""],["checkIconTpl",""],["perSecondTpl",""],["executingTpl",""],["classAddingTpl",""],["badgeTpl",""],["mapTpl",""],["truncateTpl",""],["rowDetailsTpl",""],["timeAgoTpl",""],["pathTpl",""],[1,"dataTables_header","clearfix"],[1,"cd-datatable-actions"],["class","btn-group widget-toolbar",4,"ngIf"],["class","input-group search",4,"ngIf"],["class","input-group dataTables_paginate",4,"ngIf"],[1,"widget-toolbar"],["ngbDropdown","","autoClose","outside",1,"tc_menuitem"],["ngbDropdownToggle","","title","toggle columns",1,"btn","btn-light","tc_columnBtn"],[3,"ngClass"],["ngbDropdownMenu",""],[4,"ngFor","ngForOf"],["class","widget-toolbar tc_refreshBtn",4,"ngIf"],[1,"btn-group","widget-toolbar"],["ngbDropdown","","placement","bottom-right",1,"tc_filter_name"],["ngbDropdownToggle","","title","Filter",1,"btn","btn-light"],["ngbDropdown","","placement","bottom-right",1,"tc_filter_option"],["ngbDropdownToggle","",1,"btn","btn-light"],["ngbDropdownItem","",3,"click"],[3,"ngClass",4,"ngIf"],[1,"input-group","search"],[1,"input-group-text"],["aria-label","search","type","text",1,"form-control",3,"ngModel","ngModelChange","keyup"],["type","button","title","Clear",1,"btn","btn-light",3,"click"],[1,"input-group","dataTables_paginate"],["aria-label","table pagination","type","number","min","1","max","9999",1,"form-control",3,"value","click","keyup","blur"],[4,"ngIf"],["ngbDropdownItem","",3,"click",4,"ngIf"],[1,"custom-control","custom-checkbox","py-0"],["type","checkbox",1,"custom-control-input",3,"name","id","checked"],[1,"custom-control-label",3,"for"],[1,"widget-toolbar","tc_refreshBtn"],["type","button","title","Refresh",3,"ngbTooltip","click"],[1,"filter-chips"],["href","",1,"tc_clearSelections",3,"click"],kt,["class","badge badge-info me-2",4,"ngIf"],[1,"badge","badge-info","me-2"],[1,"me-2"],[1,"badge-remove",3,"click"],["aria-hidden","true",3,"ngClass"],["type","checkbox",1,"cd-datatable-checkbox",3,"checked"],[1,"page-count"],[4,"ngIf","ngIfElse"],["serverSideTpl",""],[3,"page","size","count","hidden","pageChange"],st,zt,er,Kr,mi,[3,"data","isBinary"],[3,"routerLink","queryParams"],[3,"ngClass","hidden"],["class","badge",3,"ngClass",4,"ngIf"],[1,"badge",3,"ngClass"],["data-toggle","tooltip",3,"title"],["href","javascript:void(0)","title",gi,1,"expand-collapse-icon","tc_expand-collapse",3,"click"],["data-toggle","tooltip",1,"font-monospace",3,"title"],[3,"source","byId","showIconOnly",4,"ngIf"],[3,"source","byId","showIconOnly"]]},template:function(st,zt){1&st&&(r.F$t(nr),r.TgZ(0,"div",0),r.YNc(1,kn,3,0,"div",1),r.YNc(2,Lr,13,9,"div",1),r.YNc(3,Vo,6,1,"div",1),r.TgZ(4,"ngx-datatable",2,3),r.NdJ("select",function(Kr){return zt.onSelect(Kr)})("sort",function(Kr){return zt.changeSorting(Kr)})("page",function(Kr){return zt.changePage(Kr)}),r.YNc(6,Xr,1,2,"ng-template",4,5,r.W1O),r.TgZ(8,"ngx-datatable-row-detail",6,7),r.YNc(10,Ni,1,0,"ng-template",8),r.qZA(),r.TgZ(11,"ngx-datatable-footer"),r.YNc(12,cs,6,7,"ng-template",9),r.qZA()()(),r.YNc(13,ts,2,1,"ng-template",null,10,r.W1O),r.YNc(15,io,1,2,"ng-template",null,11,r.W1O),r.YNc(17,Vi,2,5,"ng-template",null,12,r.W1O),r.YNc(19,Pn,2,6,"ng-template",null,13,r.W1O),r.YNc(21,Nn,2,3,"ng-template",null,14,r.W1O),r.YNc(23,Ie,4,4,"ng-template",null,15,r.W1O),r.YNc(25,Qe,3,8,"ng-template",null,16,r.W1O),r.YNc(27,xt,2,3,"ng-template",null,17,r.W1O),r.YNc(29,qt,3,4,"ng-template",null,18,r.W1O),r.YNc(31,tr,3,6,"ng-template",null,19,r.W1O),r.YNc(33,vr,1,4,"ng-template",4,20,r.W1O),r.YNc(35,An,4,6,"ng-template",null,21,r.W1O),r.YNc(37,Nr,4,5,"ng-template",null,22,r.W1O)),2&st&&(r.xp6(1),r.Q6J("ngIf",zt.onlyActionHeader),r.xp6(1),r.Q6J("ngIf",zt.toolHeader),r.xp6(1),r.Q6J("ngIf",zt.toolHeader&&zt.columnFiltered),r.xp6(1),r.Q6J("cssClasses",zt.paginationClasses)("selectionType",zt.selectionType)("selected",zt.selection.selected)("sorts",zt.userConfig.sorts)("columns",zt.tableColumns)("columnMode",zt.columnMode)("rows",zt.rows)("rowClass",zt.getRowClass())("headerHeight",zt.header?"auto":0)("footerHeight",zt.footer?"auto":0)("count",zt.count)("externalPaging",zt.serverSide)("externalSorting",zt.serverSide)("limit",zt.userConfig.limit>0?zt.userConfig.limit:void 0)("offset",zt.userConfig.offset>=0?zt.userConfig.offset:0)("loadingIndicator",zt.loadingIndicator)("rowIdentity",zt.rowIdentity())("rowHeight","auto"))},dependencies:[Q.mk,Q.sg,Q.O5,a.nE,a.$7,a.AR,a.vq,a.ii,a.dX,U.Fj,U.JJ,U.On,q.jt,q.iD,q.Vi,q.TH,q._L,L.l,J.s,pe.rH,j,ue.i,ie.I,me.i,Oe.n,Ue.h,Me.N,yt.b,et.W,tt.Y],styles:['.dataTables_wrapper[_ngcontent-%COMP%]{margin-bottom:25px;max-width:99.9%}.dataTables_wrapper[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{border-left:1px solid rgba(0,0,0,.09);display:inline-block;height:30px;margin-left:5px;padding-left:5px;vertical-align:middle}.dataTables_wrapper[_ngcontent-%COMP%] .widget-toolbar[_ngcontent-%COMP%]{border-left:1px solid rgba(0,0,0,.09);float:right;padding:0 8px}.dataTables_wrapper[_ngcontent-%COMP%] .widget-toolbar[_ngcontent-%COMP%] .form-check[_ngcontent-%COMP%]{padding-left:0}.dataTables_wrapper[_ngcontent-%COMP%] .dataTables_length[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]{line-height:25px;text-align:right}.dataTables_header[_ngcontent-%COMP%]{background-color:#f8f9fa;border:1px solid #ced4da;border-bottom:0;padding:5px;position:relative}.dataTables_header[_ngcontent-%COMP%] .cd-datatable-actions[_ngcontent-%COMP%]{float:left}.dataTables_header[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{padding-left:8px}.dataTables_header[_ngcontent-%COMP%] .input-group[_ngcontent-%COMP%]{border-left:1px solid rgba(0,0,0,.09);float:right;max-width:250px;padding-left:8px;padding-right:8px;width:40%}.dataTables_header[_ngcontent-%COMP%] .input-group[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{height:30px}.dataTables_header[_ngcontent-%COMP%] .input-group.dataTables_paginate[_ngcontent-%COMP%]{min-width:85px;padding-right:8px;width:8%}.dataTables_header[_ngcontent-%COMP%] .filter-chips[_ngcontent-%COMP%]{float:right;padding:0 8px}.dataTables_header[_ngcontent-%COMP%] .filter-chips[_ngcontent-%COMP%] .badge-remove[_ngcontent-%COMP%]{color:#fff} cd-table .cd-datatable{border:1px solid #ced4da;margin-bottom:0;max-width:none!important} cd-table .cd-datatable .progress-linear{display:block;height:5px;margin:0;padding:0;position:relative;width:100%} cd-table .cd-datatable .progress-linear .container{background-color:#25828e} cd-table .cd-datatable .progress-linear .container .bar{background-color:#25828e;height:100%;left:0;overflow:hidden;position:absolute;width:100%} cd-table .cd-datatable .progress-linear .container .bar:before{animation:_ngcontent-%COMP%_progress-loading 3s linear infinite;background-color:#25828e;content:"";display:block;height:100%;left:-200px;position:absolute;width:200px} cd-table .cd-datatable .datatable-header{background-clip:padding-box;background-color:#f8f9fa;background-image:linear-gradient(to bottom,#f8f9fa 0,#e9ecef 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#fffafafa",endColorstr="#ffededed",GradientType=0)} cd-table .cd-datatable .datatable-header .sort-asc, cd-table .cd-datatable .datatable-header .sort-desc{color:#25828e} cd-table .cd-datatable .datatable-header .datatable-header-cell{border:0;border-bottom:1px solid #ced4da;border-left:1px solid #ced4da;padding:5px;font-weight:700;text-align:left} cd-table .cd-datatable .datatable-header .datatable-header-cell .datatable-header-cell-label:after{font-family:ForkAwesome;font-weight:400;height:9px;left:10px;line-height:12px;position:relative;vertical-align:baseline;width:12px} cd-table .cd-datatable .datatable-header .datatable-header-cell.sortable .datatable-header-cell-label:after{content:" \\f0dc"} cd-table .cd-datatable .datatable-header .datatable-header-cell.sortable.sort-active.sort-asc .datatable-header-cell-label:after{content:" \\f160"} cd-table .cd-datatable .datatable-header .datatable-header-cell.sortable.sort-active.sort-desc .datatable-header-cell-label:after{content:" \\f161"} cd-table .cd-datatable .datatable-header .datatable-header-cell:first-child{border-left:0} cd-table .cd-datatable .datatable-body{margin-bottom:-6px} cd-table .cd-datatable .datatable-body .empty-row{background-color:#aee3ea;font-style:italic;font-weight:700;padding-bottom:5px;padding-top:5px;text-align:center} cd-table .cd-datatable .datatable-body .datatable-body-row.clickable:hover .datatable-row-group{background-color:#aee3ea;transition-duration:.3s;transition-property:background;transition-timing-function:linear} cd-table .cd-datatable .datatable-body .datatable-body-row.datatable-row-even{background-color:#fff} cd-table .cd-datatable .datatable-body .datatable-body-row.datatable-row-odd{background-color:#fff} cd-table .cd-datatable .datatable-body .datatable-body-row.active, cd-table .cd-datatable .datatable-body .datatable-body-row.active:hover{background-color:#86d5df} cd-table .cd-datatable .datatable-body .datatable-body-row .datatable-body-cell{border:0;border-bottom:1px solid #ced4da;border-left:1px solid #ced4da;padding:5px} cd-table .cd-datatable .datatable-body .datatable-body-row .datatable-body-cell:first-child{border-left:0} cd-table .cd-datatable .datatable-body .datatable-body-row .datatable-body-cell .datatable-body-cell-label{display:block;height:100%} cd-table .cd-datatable .datatable-body .datatable-row-detail{border-bottom:2px solid #ced4da;overflow-y:visible!important;padding:20px} cd-table .cd-datatable .datatable-body .expand-collapse-icon{display:block;height:100%;text-align:center} cd-table .cd-datatable .datatable-body .expand-collapse-icon:hover{text-decoration:none} cd-table .cd-datatable .datatable-body .expand-collapse-icon-right:before{color:#212529;font-family:ForkAwesome,sans-serif;font-size:1rem;line-height:1;content:"\\f105"} cd-table .cd-datatable .datatable-body .expand-collapse-icon-down:before{color:#212529;font-family:ForkAwesome,sans-serif;font-size:1rem;line-height:1;content:"\\f107"} cd-table .cd-datatable .datatable-footer .selected-count, cd-table .cd-datatable .datatable-footer .page-count{font-style:italic;min-height:2rem;padding-left:.3rem;padding-top:.3rem} cd-table .cd-datatable .cd-datatable-checkbox{text-align:center} cd-table .cd-datatable .cd-datatable-checkbox:checked{accent-color:#25828e}@keyframes _ngcontent-%COMP%_progress-loading{0%{left:-200px;width:15%}50%{width:30%}70%{width:70%}80%{left:50%}95%{left:120%}to{left:100%}}'],changeDetection:0}),Wt})()},93523:(y,b,o)=>{"use strict";o.d(b,{G:()=>c,o:()=>u});var r=o(23815),a=o.n(r);function u(...h){switch(h.length){case 1:return e.apply(void 0,h);case 3:return f.apply(void 0,h);default:throw new Error}}function c(h,E,T){const D=`__ignore_${E}`;Array.isArray(h[D])?h[D].push(T):h[D]=[T]}function e(h){for(const E of Object.getOwnPropertyNames(h.prototype)){const T=Object.getOwnPropertyDescriptor(h.prototype,E);!(T.value instanceof Function)||"constructor"===E||(f(h.prototype,E,T),Object.defineProperty(h.prototype,E,T))}}function f(h,E,T){void 0===T&&(T=Object.getOwnPropertyDescriptor(h,E));const D=T.value;T.value=function(){const $=h[`__ignore_${E}`]||[],Q=[];for(let q=0;q<arguments.length;q++)Q[q]=a().isString(arguments[q])&&-1===$.indexOf(q)?encodeURIComponent(arguments[q]):arguments[q];return D.apply(this,Q)}}},23240:(y,b,o)=>{"use strict";o.d(b,{w:()=>e});var r=o(23815),a=o.n(r),u=o(64537),c=o(47640);let e=(()=>{class f{constructor(E,T,D){this.templateRef=E,this.viewContainer=T,this.authStorageService=D,this.cdScopeMatchAll=!0}set cdScope(E){this.permissions=this.authStorageService.getPermissions(),this.isAuthorized(E)?this.viewContainer.createEmbeddedView(this.templateRef):this.viewContainer.clear()}isAuthorized(E){const T=this.cdScopeMatchAll?a().every:a().some;return a().isString(E)?a().get(this.permissions,[E,"read"],!1):a().isArray(E)?T(E,D=>this.permissions[D].read):!!a().isObject(E)&&T(E,(D,A)=>T(D,$=>this.permissions[A][$]))}}return f.\u0275fac=function(E){return new(E||f)(u.Y36(u.Rgc),u.Y36(u.s_b),u.Y36(c.j))},f.\u0275dir=u.lG2({type:f,selectors:[["","cdScope",""]],inputs:{cdScope:"cdScope",cdScopeMatchAll:"cdScopeMatchAll"}}),f})()},82945:(y,b,o)=>{"use strict";o.d(b,{U:()=>c});var r=o(23815),a=o.n(r),u=o(64537);let c=(()=>{class e{constructor(h){this.elementRef=h,this.focus=!0}ngAfterViewInit(){const h=this.elementRef.nativeElement;this.focus&&a().isFunction(h.focus)&&h.focus()}set autofocus(h){a().isBoolean(h)?this.focus=h:a().isFunction(h)&&(this.focus=h())}}return e.\u0275fac=function(h){return new(h||e)(u.Y36(u.SBq))},e.\u0275dir=u.lG2({type:e,selectors:[["","autofocus",""]],inputs:{autofocus:"autofocus"}}),e})()},17932:(y,b,o)=>{"use strict";o.d(b,{Q:()=>h});var r=o(64537),a=o(20092),u=o(23815),c=o.n(u),e=o(47557),f=o(28211);let h=(()=>{class E{constructor(D,A,$,Q){this.elementRef=D,this.control=A,this.dimlessBinaryPipe=$,this.formatter=Q,this.ngModelChange=new r.vpe,this.el=this.elementRef.nativeElement}ngOnInit(){this.setValue(this.el.value)}setValue(D){/^[\d.]+$/.test(D)?D+=this.defaultUnit||"m":D&&(this.control.control.setValue(D),this.control.control.addValidators(a.kI.pattern(/^[a-zA-Z\d. ]+$/)),this.control.control.updateValueAndValidity());const A=this.formatter.toBytes(D),$=this.round(A);this.el.value=this.dimlessBinaryPipe.transform($),null!==A?(this.ngModelChange.emit(this.el.value),this.control.control.setValue(this.el.value)):(this.ngModelChange.emit(null),this.control.control.setValue(null))}round(D){if(null!==D&&0!==D){if(!c().isUndefined(this.minBytes)&&D<this.minBytes)return this.minBytes;if(!c().isUndefined(this.maxBytes)&&D>this.maxBytes)return this.maxBytes;if(!c().isUndefined(this.roundPower)){const A=Math.round(Math.log(D)/Math.log(this.roundPower));return Math.pow(this.roundPower,A)}}return D}onBlur(D){this.setValue(D)}}return E.\u0275fac=function(D){return new(D||E)(r.Y36(r.SBq),r.Y36(a.a5),r.Y36(e.$),r.Y36(f.H))},E.\u0275dir=r.lG2({type:E,selectors:[["","cdDimlessBinary",""]],hostBindings:function(D,A){1&D&&r.NdJ("blur",function(Q){return A.onBlur(Q.target.value)})},inputs:{minBytes:"minBytes",maxBytes:"maxBytes",roundPower:"roundPower",defaultUnit:"defaultUnit"},outputs:{ngModelChange:"ngModelChange"}}),E})()},35540:(y,b,o)=>{"use strict";o.d(b,{o:()=>a});var r=o(64537);let a=(()=>{class u{}return u.\u0275fac=function(e){return new(e||u)},u.\u0275mod=r.oAB({type:u}),u.\u0275inj=r.cJS({}),u})()},87925:(y,b,o)=>{"use strict";o.d(b,{o:()=>c});var r=o(64537),a=o(84333),u=o(47640);let c=(()=>{class e{constructor(h,E,T){this.formScope=h,this.authStorageService=E,this.elementRef=T}ngAfterViewInit(){this.permissions=this.authStorageService.getPermissions();const h=this.formScope?.cdFormScope;h&&!this.permissions?.[h]?.update&&(this.elementRef.nativeElement.disabled=!0)}}return e.\u0275fac=function(h){return new(h||e)(r.Y36(a.T,8),r.Y36(u.j),r.Y36(r.SBq))},e.\u0275dir=r.lG2({type:e,selectors:[["input",3,"cdNoFormInputDisable",""],["select",3,"cdNoFormInputDisable",""],["button",3,"cdNoFormInputDisable",""],["","cdFormInputDisable",""]]}),e})()},63622:(y,b,o)=>{"use strict";o.d(b,{y:()=>e});var r=o(34501),a=o(8958),u=o(93614),c=o(64537);let e=(()=>{class f{constructor(E,T){this.templateRef=E,this.viewContainer=T}set cdFormLoading(E){let T;switch(this.viewContainer.clear(),E){case u.Q.Loading:T=this.resolveNgContent("Loading form data..."),this.viewContainer.createComponent(a.b,{projectableNodes:T});break;case u.Q.Ready:this.viewContainer.createEmbeddedView(this.templateRef);break;case u.Q.Error:T=this.resolveNgContent("Form data could not be loaded."),this.viewContainer.createComponent(r.G,{projectableNodes:T}).instance.type="error"}}resolveNgContent(E){return[[document.createTextNode(E)]]}}return f.\u0275fac=function(E){return new(E||f)(c.Y36(c.Rgc),c.Y36(c.s_b))},f.\u0275dir=c.lG2({type:f,selectors:[["","cdFormLoading",""]],inputs:{cdFormLoading:"cdFormLoading"}}),f})()},84333:(y,b,o)=>{"use strict";o.d(b,{T:()=>a});var r=o(64537);let a=(()=>{class u{}return u.\u0275fac=function(e){return new(e||u)},u.\u0275dir=r.lG2({type:u,selectors:[["","cdFormScope",""]],inputs:{cdFormScope:"cdFormScope"}}),u})()},94276:(y,b,o)=>{"use strict";o.d(b,{b:()=>c});var r=o(64537),a=o(20092);let c=(()=>{class e{get validClass(){return!!this.control&&this.control.valid&&(this.control.touched||this.control.dirty)}get invalidClass(){return!!this.control&&this.control.invalid&&this.control.touched&&this.control.dirty}get path(){return function u(e,f){return[...f.path,e]}(this.formControlName,this.parent)}get control(){return this.formDirective&&this.formDirective.getControl(this)}get formDirective(){return this.parent?this.parent.formDirective:null}constructor(h){this.parent=h}}return e.\u0275fac=function(h){return new(h||e)(r.Y36(a.gN,13))},e.\u0275dir=r.lG2({type:e,selectors:[["",8,"form-control"],["",8,"form-check-input"],["",8,"custom-control-input"]],hostVars:4,hostBindings:function(h,E){2&h&&r.ekj("is-valid",E.validClass)("is-invalid",E.invalidClass)},inputs:{formControlName:"formControlName",formControl:"formControl"}}),e})()},56310:(y,b,o)=>{"use strict";o.d(b,{P:()=>u});var r=o(20092),a=o(64537);let u=(()=>{class c{get hasErrors(){return this.formControlNames.some(f=>!f.valid&&f.dirty&&f.touched)&&!this.validationDisabled}get hasSuccess(){return!this.formControlNames.some(f=>!f.valid)&&this.formControlNames.some(f=>f.dirty&&f.touched)&&!this.validationDisabled}constructor(f){this.elRef=f,this.validationDisabled=!1}get label(){const f=this.elRef.nativeElement.querySelector("label");return f&&f.textContent?f.textContent.trim():"This field"}get isDirtyAndTouched(){return this.formControlNames.some(f=>f.dirty&&f.touched)}}return c.\u0275fac=function(f){return new(f||c)(a.Y36(a.SBq))},c.\u0275dir=a.lG2({type:c,selectors:[["",8,"form-group"]],contentQueries:function(f,h,E){if(1&f&&a.Suo(E,r.u,4),2&f){let T;a.iGM(T=a.CRH())&&(h.formControlNames=T)}},hostVars:4,hostBindings:function(f,h){2&f&&a.ekj("has-error",h.hasErrors)("has-success",h.hasSuccess)},inputs:{validationDisabled:"validationDisabled"}}),c})()},41582:(y,b,o)=>{"use strict";o.d(b,{V:()=>u});var r=o(64537),a=o(20092);let u=(()=>{class c{constructor(){this.validSubmit=new r.vpe}onSubmit(){this.markAsTouchedAndDirty(this.formGroup),this.formGroup.valid&&this.validSubmit.emit(this.formGroup.value)}markAsTouchedAndDirty(f){f instanceof a.nJ?Object.keys(f.controls).forEach(h=>this.markAsTouchedAndDirty(f.controls[h])):f instanceof a.vC?f.controls.forEach(h=>this.markAsTouchedAndDirty(h)):f instanceof a.p4&&f.enabled&&(f.markAsDirty(),f.markAsTouched(),f.updateValueAndValidity())}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275dir=r.lG2({type:c,selectors:[["","formGroup",""]],hostBindings:function(f,h){1&f&&r.NdJ("submit",function(){return h.onSubmit()})},inputs:{formGroup:"formGroup"},outputs:{validSubmit:"validSubmit"}}),c})()},4416:(y,b,o)=>{"use strict";o.d(b,{C:()=>a});var r=o(64537);let a=(()=>{class u{constructor(e,f){this.elementRef=e,this.renderer=f}ngOnInit(){this.renderer.setAttribute(this.elementRef.nativeElement,"tabindex","-1"),this.iElement=this.renderer.createElement("i"),this.renderer.addClass(this.iElement,"fa"),this.renderer.appendChild(this.elementRef.nativeElement,this.iElement),this.update()}getInputElement(){return document.getElementById(this.cdPasswordButton)}update(){const e=this.getInputElement();e&&"text"===e.type?(this.renderer.removeClass(this.iElement,"fa-eye"),this.renderer.addClass(this.iElement,"fa-eye-slash")):(this.renderer.removeClass(this.iElement,"fa-eye-slash"),this.renderer.addClass(this.iElement,"fa-eye"))}onClick(){const e=this.getInputElement();e.type="password"===e.type?"text":"password",this.update()}}return u.\u0275fac=function(e){return new(e||u)(r.Y36(r.SBq),r.Y36(r.Qsj))},u.\u0275dir=r.lG2({type:u,selectors:[["","cdPasswordButton",""]],hostBindings:function(e,f){1&e&&r.NdJ("click",function(){return f.onClick()})},inputs:{cdPasswordButton:"cdPasswordButton"}}),u})()},59376:(y,b,o)=>{"use strict";o.d(b,{m:()=>u});var r=o(64537),a=o(51389);let u=(()=>{class c{constructor(f){this.nav=f,this.cdStatefulTabDefault="",this.localStorage=window.localStorage}ngOnInit(){const f=this.cdStatefulTabDefault||this.localStorage.getItem(`tabset_${this.cdStatefulTab}`);f&&this.nav.select(f)}onNavChange(f){this.cdStatefulTab&&f.nextId&&this.localStorage.setItem(`tabset_${this.cdStatefulTab}`,f.nextId)}}return c.\u0275fac=function(f){return new(f||c)(r.Y36(a.Pz,9))},c.\u0275dir=r.lG2({type:c,selectors:[["","cdStatefulTab",""]],hostBindings:function(f,h){1&f&&r.NdJ("navChange",function(T){return h.onNavChange(T)})},inputs:{cdStatefulTab:"cdStatefulTab",cdStatefulTabDefault:"cdStatefulTabDefault"}}),c})()},12594:(y,b,o)=>{"use strict";o.d(b,{$:()=>e});var r=o(23815),a=o.n(r),u=o(64537),c=o(20092);let e=(()=>{class f{constructor(E){this.ngControl=E}onInput(E){this.setValue(E)}setValue(E){E=a().isString(E)?E.trim():E,this.ngControl.control.setValue(E)}}return f.\u0275fac=function(E){return new(E||f)(u.Y36(c.a5))},f.\u0275dir=u.lG2({type:f,selectors:[["","cdTrim",""]],hostBindings:function(E,T){1&E&&u.NdJ("input",function(A){return T.onInput(A.target.value)})}}),f})()},99466:(y,b,o)=>{"use strict";o.d(b,{e:()=>r});var r=(()=>{return(a=r||(r={})).bold="bold",a.sparkline="sparkline",a.perSecond="perSecond",a.checkIcon="checkIcon",a.routerLink="routerLink",a.executing="executing",a.classAdding="classAdding",a.badge="badge",a.map="map",a.truncate="truncate",a.timeAgo="timeAgo",a.path="path",r;var a})()},4167:(y,b,o)=>{"use strict";o.d(b,{p:()=>a,w:()=>r});var r=(()=>{return(u=r||(r={})).USEDCAPACITY="ceph_cluster_total_used_bytes",u.WRITEIOPS="sum(rate(ceph_pool_wr[1m]))",u.READIOPS="sum(rate(ceph_pool_rd[1m]))",u.READLATENCY="avg_over_time(ceph_osd_apply_latency_ms[1m])",u.WRITELATENCY="avg_over_time(ceph_osd_commit_latency_ms[1m])",u.READCLIENTTHROUGHPUT="sum(rate(ceph_pool_rd_bytes[1m]))",u.WRITECLIENTTHROUGHPUT="sum(rate(ceph_pool_wr_bytes[1m]))",u.RECOVERYBYTES="sum(rate(ceph_osd_recovery_bytes[1m]))",r;var u})(),a=(()=>{return(u=a||(a={})).RGW_REQUEST_PER_SECOND="sum(rate(ceph_rgw_req[1m]))",u.AVG_GET_LATENCY="sum(rate(ceph_rgw_get_initial_lat_sum[1m])) / sum(rate(ceph_rgw_get_initial_lat_count[1m]))",u.AVG_PUT_LATENCY="sum(rate(ceph_rgw_put_initial_lat_sum[1m])) / sum(rate(ceph_rgw_put_initial_lat_count[1m]))",u.GET_BANDWIDTH="sum(rate(ceph_rgw_get_b[1m]))",u.PUT_BANDWIDTH="sum(rate(ceph_rgw_put_b[1m]))",a;var u})()},43892:(y,b,o)=>{"use strict";o.d(b,{p:()=>r,y:()=>a});var r=(()=>{return(u=r||(r={})).HEALTH_ERR="fa fa-exclamation-circle",u.HEALTH_WARN="fa fa-exclamation-triangle",u.HEALTH_OK="fa fa-check-circle",r;var u})(),a=(()=>{return(u=a||(a={})).critical="danger",u.warning="warning",u.info="info",a;var u})()},65862:(y,b,o)=>{"use strict";o.d(b,{P:()=>r});var r=(()=>{return(a=r||(r={})).add="fa fa-plus",a.addCircle="fa fa-plus-circle",a.minusCircle="fa fa-minus-circle",a.edit="fa fa-pencil",a.destroy="fa fa-times",a.destroyCircle="fa fa-times-circle",a.exchange="fa fa-exchange",a.copy="fa fa-copy",a.clipboard="fa fa-clipboard",a.flatten="fa fa-chain-broken",a.trash="fa fa-trash-o",a.lock="fa fa-lock",a.unlock="fa fa-unlock",a.clone="fa fa-clone",a.undo="fa fa-undo",a.search="fa fa-search",a.start="fa fa-play",a.stop="fa fa-stop",a.analyse="fa fa-stethoscope",a.deepCheck="fa fa-cog",a.cogs="fa fa-cogs",a.reweight="fa fa-balance-scale",a.up="fa fa-arrow-up",a.left="fa fa-arrow-left",a.right="fa fa-arrow-right",a.down="fa fa-arrow-down",a.erase="fa fa-eraser",a.user="fa fa-user",a.users="fa fa-users",a.share="fa fa-share-alt",a.key="fa fa-key-modern",a.warning="fa fa-exclamation-triangle",a.info="fa fa-info",a.infoCircle="fa fa-info-circle",a.questionCircle="fa fa-question-circle-o",a.danger="fa fa-exclamation-circle",a.success="fa fa-check-circle",a.check="fa fa-check",a.show="fa fa-eye",a.paragraph="fa fa-paragraph",a.terminal="fa fa-terminal",a.magic="fa fa-magic",a.hourglass="fa fa-hourglass-o",a.filledHourglass="fa fa-hourglass",a.table="fa fa-table",a.spinner="fa fa-spinner",a.refresh="fa fa-refresh",a.bullseye="fa fa-bullseye",a.disk="fa fa-hdd-o",a.server="fa fa-server",a.filter="fa fa-filter",a.lineChart="fa fa-line-chart",a.signOut="fa fa-sign-out",a.health="fa fa-heartbeat",a.circle="fa fa-circle",a.bell="fa fa-bell",a.mute="fa fa-bell-slash",a.tag="fa fa-tag",a.leftArrow="fa fa-angle-left",a.rightArrow="fa fa-angle-right",a.leftArrowDouble="fa fa-angle-double-left",a.rightArrowDouble="fa fa-angle-double-right",a.flag="fa fa-flag",a.clearFilters="fa fa-window-close",a.download="fa fa-download",a.upload="fa fa-upload",a.close="fa fa-times",a.json="fa fa-file-code-o",a.text="fa fa-file-text",a.wrench="fa fa-wrench",a.enter="fa fa-sign-in",a.exit="fa fa-sign-out",a.restart="fa fa-history",a.deploy="fa fa-cube",a.cubes="fa fa-cubes",a.sitemap="fa fa-sitemap",a.database="fa fa-database",a.bars="fa fa-bars",a.navicon="fa fa-navicon",a.areaChart="fa fa-area-chart",a.eye="fa fa-eye",a.calendar="fa fa-calendar",a.externalUrl="fa fa-external-link",a.large="fa fa-lg",a.large2x="fa fa-2x",a.large3x="fa fa-3x",a.stack="fa fa-stack",a.stack1x="fa fa-stack-1x",a.stack2x="fa fa-stack-2x",a.pulse="fa fa-pulse",a.spin="fa fa-spin",a.inverse="fa fa-inverse",r;var a})()},18001:(y,b,o)=>{"use strict";o.d(b,{k:()=>r});var r=(()=>{return(a=r||(r={}))[a.error=0]="error",a[a.info=1]="info",a[a.success=2]="success",r;var a})()},91801:(y,b,o)=>{"use strict";o.d(b,{T:()=>r});var r=(()=>{return(a=r||(r={}))[a.ValueOk=0]="ValueOk",a[a.ValueStale=1]="ValueStale",a[a.ValueNone=2]="ValueNone",a[a.ValueException=3]="ValueException",r;var a})()},62862:(y,b,o)=>{"use strict";o.d(b,{O:()=>c});var r=o(20092),a=o(95463),u=o(64537);let c=(()=>{class e extends r.QS{group(h,E=null){const T=super.group(h,E);return new a.d(T.controls,T.validator,T.asyncValidator)}}return e.\u0275fac=function(){let f;return function(E){return(f||(f=u.n5z(e)))(E||e)}}(),e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},95463:(y,b,o)=>{"use strict";o.d(b,{d:()=>a});var r=o(20092);class a extends r.nJ{constructor(c,e,f){super(c,e,f),this.controls=c}get(c){const e=this._get(c);if(!e)throw new Error(`Control '${c}' could not be found!`);return e}_get(c){return super.get(c)||Object.values(this.controls).filter(e=>e.get).map(e=>e instanceof a?e._get(c):e.get(c)).find(e=>Boolean(e))}getValue(c){return this.get(c).value}silentSet(c,e){this.get(c).setValue(e,{emitEvent:!1})}showError(c,e,f){const h=this.get(c);return(e?.submitted||h.dirty)&&(f?h.hasError(f):h.invalid)}}},93614:(y,b,o)=>{"use strict";o.d(b,{E:()=>a,Q:()=>r});var r=(()=>{return(u=r||(r={}))[u.Loading=0]="Loading",u[u.Ready=1]="Ready",u[u.Error=2]="Error",u[u.None=3]="None",r;var u})();class a{constructor(){this.loading=r.Loading}loadingStart(){this.loading=r.Loading}loadingReady(){this.loading=r.Ready}loadingError(){this.loading=r.Error}loadingNone(){this.loading=r.None}}},90070:(y,b,o)=>{"use strict";o.d(b,{h:()=>Q,P:()=>$});var r=o(20092),a=o(23815),u=o.n(a),c=o(25917),e=o(46797),f=o(43190);function h(U,q){return q?(0,f.w)(()=>U,q):(0,f.w)(()=>U)}var E=o(88002),T=o(15257),D=o(47557),A=o(28211);function $(U){return null==U||0===U.length}class Q{static email(q){return $(q.value)?null:r.kI.email(q)}static ip(q=0){const L=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i,J=/^(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}$/i;return r.kI.pattern(4===q?L:6===q?J:new RegExp(L.source+"|"+J.source))}static number(q=!0){return r.kI.pattern(q?/^-?[0-9]+$/i:/^[0-9]+$/i)}static decimalNumber(q=!0){return r.kI.pattern(q?/^-?[0-9]+(.[0-9]+)?$/i:/^[0-9]+(.[0-9]+)?$/i)}static sslCert(){return r.kI.pattern(/^-----BEGIN CERTIFICATE-----(\n|\r|\f)((.+)?((\n|\r|\f).+)*)(\n|\r|\f)-----END CERTIFICATE-----[\n\r\f]*$/)}static sslPrivKey(){return r.kI.pattern(/^-----BEGIN RSA PRIVATE KEY-----(\n|\r|\f)((.+)?((\n|\r|\f).+)*)(\n|\r|\f)-----END RSA PRIVATE KEY-----[\n\r\f]*$/)}static pemCert(){return r.kI.pattern(/^-----BEGIN .+-----$.+^-----END .+-----$/ms)}static requiredIf(q,L){let J=!1;return pe=>(!J&&pe.parent&&(Object.keys(q).forEach(ue=>{pe.parent.get(ue).valueChanges.subscribe(()=>{pe.updateValueAndValidity({emitEvent:!1})})}),J=!0),Object.keys(q).every(ue=>{if(!pe.parent)return!1;const ie=pe.parent.get(ue).value,me=q[ue];if(u().isObjectLike(me)){let Oe=!1;switch(me.op){case"empty":Oe=u().isEmpty(ie);break;case"!empty":Oe=!u().isEmpty(ie);break;case"equal":Oe=ie===me.arg1;break;case"!equal":Oe=ie!==me.arg1;break;case"minLength":u().isString(ie)&&(Oe=ie.length>=me.arg1)}return Oe}return ie===me})&&(u().isFunction(L)?L.call(L,pe.value):$(pe.value))?{required:!0}:null)}static composeIf(q,L){let J=!1;return pe=>(!J&&pe.parent&&(Object.keys(q).forEach(j=>{pe.parent.get(j).valueChanges.subscribe(()=>{pe.updateValueAndValidity({emitEvent:!1})})}),J=!0),Object.keys(q).every(j=>pe.parent&&pe.parent.get(j).value===q[j])?r.kI.compose(L)(pe):null)}static custom(q,L){return J=>{const pe=L.call(this,J.value);return pe?{[q]:pe}:null}}static validateIf(q,L,J,pe=[],j=[]){J=J.concat(pe),q.setValidators(ue=>L.call(this)?r.kI.compose(J)(ue):pe.length>0?r.kI.compose(pe)(ue):null),j.forEach(ue=>{ue.valueChanges.subscribe(()=>{q.updateValueAndValidity({emitEvent:!1})})})}static match(q,L){return J=>{const pe=J.get(q),j=J.get(L);if(!pe||!j)return null;if(pe.value!==j.value)j.setErrors({match:!0});else if(j.hasError("match")){const ie=j.errors;u().unset(ie,"match"),j.setErrors(u().isEmpty(u().keys(ie))?null:ie)}return null}}static unique(q,L=null,J,pe=!1,...j){let ue;return ie=>ie.pristine||$(ie.value)?(0,c.of)(null):(ue=ie.value,u().isFunction(J)&&null!==J()&&""!==J()&&(ue=pe?`${ie.value}$${J()}`:`${J()}$${ie.value}`),(0,e.H)().pipe(h(q.call(L,ue,...j)),(0,E.U)(me=>me?{notUnique:!0}:null),(0,T.q)(1)))}static uuid(q=!1){const L=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;return J=>J.pristine&&J.untouched||!q&&!J.value||L.test(J.value)?null:{invalidUuid:"This is not a valid UUID"}}static binaryMin(q){return L=>{const J=new A.H,pe=(new A.H).toBytes(L.value);if(q<=pe)return null;const j=new D.$(J).transform(q);return{binaryMin:()=>"Size has to be at least " + j + " or more"}}}static binaryMax(q){return L=>{const J=new A.H,pe=J.toBytes(L.value);if(q>=pe)return null;const j=new D.$(J).transform(q);return{binaryMax:()=>"Size has to be at most " + j + " or less"}}}static passwordPolicy(q,L,J){return pe=>{if(pe.pristine||""===pe.value)return u().isFunction(J)&&J(!0,0),(0,c.of)(null);let j;return u().isFunction(L)&&(j=L()),(0,e.H)(500).pipe(h(u().invoke(q,"validatePassword",pe.value,j)),(0,E.U)(ue=>(u().isFunction(J)&&J(ue.valid,ue.credits,ue.valuation),ue.valid?null:{passwordPolicy:!0})),(0,T.q)(1))}}static bucketName(){return q=>{if(q.pristine||!q.value)return(0,c.of)({required:!0});const L=[];let J;return L.push(()=>{const ue=q.value;let ie=!0;return(/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i.test(ue)||/^(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}$/i.test(ue))&&(J="ipAddress",ie=!1),ie}),L.push(pe=>u().inRange(pe.length,3,64)?!!/^[0-9a-z.-]+$/.test(q.value)||(J="bucketNameInvalid",!1):(J="shouldBeInRange",!1)),L.push(pe=>{const j=u().split(pe,".");return u().every(j,ue=>ue!==u().toLower(ue)||ue.includes("_")?(J="containsUpperCase",!1):/^[0-9a-z-]+$/.test(ue)?u().every([0,ue.length-1],ie=>(J="lowerCaseOrNumber",/[a-z]/.test(ue[ie])||u().isInteger(u().parseInt(ue[ie])))):(J="onlyLowerCaseAndNumbers",!1))}),u().every(L,pe=>pe(q.value))?(0,c.of)(null):(0,c.of)((()=>{switch(J){case"onlyLowerCaseAndNumbers":return{onlyLowerCaseAndNumbers:!0};case"shouldBeInRange":return{shouldBeInRange:!0};case"ipAddress":return{ipAddress:!0};case"containsUpperCase":return{containsUpperCase:!0};case"lowerCaseOrNumber":return{lowerCaseOrNumber:!0};default:return{bucketNameInvalid:!0}}})())}}static bucketExistence(q,L){return J=>J.pristine||!J.value?(0,c.of)({required:!0}):L.exists(J.value).pipe((0,E.U)(pe=>pe===q?null:{bucketNameNotAllowed:!0}))}static json(){return q=>{if(!q.value)return null;try{return JSON.parse(q.value),null}catch{return{invalidJson:!0}}}}}},83357:(y,b,o)=>{"use strict";o.d(b,{U:()=>J});var r=o(8239),a=o(86299),u=o(32337),c=o(76111),e=o(20092),f=o(19773),h=o(23815),E=o.n(h),T=o(64537),D=o(54247),A=o(88692),$=o(30839),Q=o(13066);const U=function(pe){return{formState:pe}};function q(pe,j){if(1&pe){const ue=T.EpF();T.TgZ(0,"form",6),T.NdJ("ngSubmit",function(){T.CHM(ue);const me=T.oxw().ngIf,Oe=T.oxw();return T.KtG(Oe.submit(Oe.model,me.taskInfo))}),T.TgZ(1,"div",7),T._UZ(2,"formly-form",8),T.qZA(),T.TgZ(3,"div",9)(4,"cd-form-button-panel",10),T.NdJ("submitActionEvent",function(){T.CHM(ue);const me=T.oxw().ngIf,Oe=T.oxw();return T.KtG(Oe.submit(Oe.model,me.taskInfo))}),T.qZA()()()}if(2&pe){const ue=T.oxw().ngIf,ie=T.oxw();T.Q6J("formGroup",ie.form),T.xp6(2),T.Q6J("form",ie.form)("fields",ue.controlSchema)("model",ie.model)("options",T.VKq(8,U,ue.uiSchema)),T.xp6(2),T.Q6J("form",ie.formDir)("submitText",ue.title)("disabled",!ie.form.valid)}}function L(pe,j){if(1&pe&&(T.TgZ(0,"div",2)(1,"div",3),T.SDv(2,4),T.qZA(),T.YNc(3,q,5,10,"form",5),T.qZA()),2&pe){const ue=j.ngIf;T.xp6(2),T.pQV(ue.title),T.QtT(2),T.xp6(1),T.Q6J("ngIf",ue.uiSchema)}}let J=(()=>{class pe{constructor(ue,ie,me,Oe,Ue){this.dataGatewayService=ue,this.activatedRoute=ie,this.taskWrapper=me,this.location=Oe,this.router=Ue,this.model={},this.task={message:"",id:""},this.form=new e.nJ({}),this.key=""}ngOnInit(){this.activatedRoute.queryParamMap.subscribe(ue=>{this.formUISchema$=this.activatedRoute.data.pipe((0,f.zg)(me=>{this.resource=me.resource||this.resource;const Oe="/"+this.activatedRoute.snapshot.url.join("/"),Ue=ue.get("key")||"";return this.dataGatewayService.form(`ui-${this.resource}`,Oe,Ue)})),this.formUISchema$.subscribe(me=>{this.methodType=me.methodType,this.model=me.model}),this.urlFormName=this.router.url.split("/").pop();const ie=this.urlFormName.indexOf("?");ie>0&&(this.urlFormName=this.urlFormName.substring(0,ie))})}readFileAsText(ue){return(0,r.Z)(function*(){let ie=new FileReader,me="";return yield new Promise(Oe=>{ie.onload=Ue=>{me=ie.result.toString(),Oe(!0)},ie.readAsText(ue)}),me})()}preSubmit(ue){var ie=this;return(0,r.Z)(function*(){for(const[me,Oe]of Object.entries(ue))if(Oe instanceof FileList){let Ue=Oe[0],Me=yield ie.readFileAsText(Ue);ue[me]=Me}})()}submit(ue,ie){var me=this;return(0,r.Z)(function*(){if(ue){let Oe={};E().forEach(ie.metadataFields,Ue=>{Oe[Ue]=ue[Ue]}),Oe.__message=ie.message,yield me.preSubmit(ue),me.taskWrapper.wrapTaskAroundCall({task:new c.R(`crud-component/${me.urlFormName}`,Oe),call:me.dataGatewayService.submit(me.resource,ue,me.methodType)}).subscribe({complete:()=>{me.location.back()}})}})()}}return pe.\u0275fac=function(ue){return new(ue||pe)(T.Y36(a.n),T.Y36(D.gz),T.Y36(u.P),T.Y36(A.Ye),T.Y36(D.F0))},pe.\u0275cmp=T.Xpm({type:pe,selectors:[["cd-crud-form"]],decls:3,vars:3,consts:function(){let j;return j="" + "\ufffd0\ufffd" + "",[[1,"cd-col-form"],["class","card pb-0",4,"ngIf"],[1,"card","pb-0"],[1,"card-header"],j,[3,"formGroup","ngSubmit",4,"ngIf"],[3,"formGroup","ngSubmit"],[1,"card-body","position-relative"],[3,"form","fields","model","options"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","disabled","submitActionEvent"]]},template:function(ue,ie){1&ue&&(T.TgZ(0,"div",0),T.YNc(1,L,4,2,"div",1),T.ALo(2,"async"),T.qZA()),2&ue&&(T.xp6(1),T.Q6J("ngIf",T.lcZ(2,1,ie.formUISchema$)))},dependencies:[A.O5,e._Y,e.JL,$.p,e.sg,Q.T7,A.Ov],styles:["json-schema-form label.control-label.hidden{display:none} json-schema-form .form-group.schema-form-submit p{display:none} json-schema-form legend{font-weight:100!important} json-schema-form .card-footer{border:1px solid rgba(0,0,0,.125);left:-1px;width:-webkit-fill-available;width:-moz-available}"]}),pe})()},67464:(y,b,o)=>{"use strict";o.d(b,{l:()=>Q});var r=o(13066),a=o(23815),c=o(65862),e=o(64537),f=o(88692);function h(U,q){if(1&U&&(e.TgZ(0,"legend",6),e.SDv(1,7),e.qZA()),2&U){const L=e.oxw();e.xp6(1),e.pQV(L.props.label),e.QtT(1)}}function E(U,q){if(1&U&&(e.TgZ(0,"p"),e.SDv(1,8),e.qZA()),2&U){const L=e.oxw();e.xp6(1),e.pQV(L.props.description),e.QtT(1)}}function T(U,q){if(1&U){const L=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(){e.CHM(L);const pe=e.oxw().index,j=e.oxw();return e.KtG(j.remove(pe))}),e._UZ(1,"i",13),e.qZA()}if(2&U){const L=e.oxw(2);e.xp6(1),e.Q6J("ngClass",L.icons.trash)}}function D(U,q){if(1&U){const L=e.EpF();e.TgZ(0,"div",9),e._UZ(1,"formly-field",10),e.TgZ(2,"div",11)(3,"button",12),e.NdJ("click",function(){e.CHM(L);const pe=e.oxw();return e.KtG(pe.addWrapper())}),e._UZ(4,"i",13),e.qZA(),e.YNc(5,T,2,1,"button",14),e.qZA()()}if(2&U){const L=q.$implicit,J=e.oxw();e.xp6(1),e.Q6J("field",L),e.xp6(3),e.Q6J("ngClass",J.icons.add),e.xp6(1),e.Q6J("ngIf",!1!==L.props.removable)}}function A(U,q){if(1&U){const L=e.EpF();e.TgZ(0,"div",15)(1,"button",16),e.NdJ("click",function(){e.CHM(L);const pe=e.oxw();return e.KtG(pe.addWrapper())}),e.tHW(2,17),e._UZ(3,"i",13),e.N_p(),e.qZA()()}if(2&U){const L=e.oxw();e.xp6(3),e.Q6J("ngClass",L.icons.add),e.pQV(L.props.label),e.QtT(2)}}function $(U,q){if(1&U&&(e.TgZ(0,"span",18),e._UZ(1,"formly-validation-message",19),e.qZA()),2&U){const L=e.oxw();e.xp6(1),e.Q6J("field",L.field)}}let Q=(()=>{class U extends r.hv{constructor(){super(...arguments),this.icons=c.P}ngOnInit(){this.propagateTemplateOptions()}addWrapper(){this.add(),this.propagateTemplateOptions()}propagateTemplateOptions(){(0,a.forEach)(this.field.fieldGroup,L=>{"object"==L.type&&(L.props.templateOptions=this.props.templateOptions.objectTemplateOptions)})}}return U.\u0275fac=function(){let q;return function(J){return(q||(q=e.n5z(U)))(J||U)}}(),U.\u0275cmp=e.Xpm({type:U,selectors:[["cd-formly-array-type"]],features:[e.qOj],decls:6,vars:5,consts:function(){let q,L,J;return q="" + "\ufffd0\ufffd" + "",L="" + "\ufffd0\ufffd" + "",J="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " Add " + "\ufffd0\ufffd" + " ",[[1,"mb-3"],["class","cd-header mt-1",4,"ngIf"],[4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],["class","text-right",4,"ngIf"],["class","invalid-feedback","role","alert",4,"ngIf"],[1,"cd-header","mt-1"],q,L,[1,"d-flex"],[1,"col",3,"field"],[1,"action-btn"],["type","button",1,"btn","btn-light","ms-1",3,"click"],[3,"ngClass"],["class","btn btn-light ms-1","type","button",3,"click",4,"ngIf"],[1,"text-right"],["type","button",1,"btn","btn-light",3,"click"],J,["role","alert",1,"invalid-feedback"],[3,"field"]]},template:function(L,J){1&L&&(e.TgZ(0,"div",0),e.YNc(1,h,2,1,"legend",1),e.YNc(2,E,2,1,"p",2),e.YNc(3,D,6,3,"div",3),e.YNc(4,A,4,2,"div",4),e.YNc(5,$,2,1,"span",5),e.qZA()),2&L&&(e.xp6(1),e.Q6J("ngIf",J.props.label),e.xp6(1),e.Q6J("ngIf",J.props.description),e.xp6(1),e.Q6J("ngForOf",J.field.fieldGroup),e.xp6(1),e.Q6J("ngIf",0===J.field.fieldGroup.length),e.xp6(1),e.Q6J("ngIf",J.showError&&J.formControl.errors))},dependencies:[f.mk,f.sg,f.O5,r.cw,r.M2],styles:[".action-btn[_ngcontent-%COMP%]{margin-top:2.4rem}"]}),U})()},39054:(y,b,o)=>{"use strict";o.d(b,{v:()=>c});var r=o(13066),a=o(64537),u=o(20092);let c=(()=>{class e extends r.fS{}return e.\u0275fac=function(){let f;return function(E){return(f||(f=a.n5z(e)))(E||e)}}(),e.\u0275cmp=a.Xpm({type:e,selectors:[["cd-formly-input-type"]],features:[a.qOj],decls:1,vars:2,consts:[[1,"form-control","col-form-input",3,"formControl","formlyAttributes"]],template:function(h,E){1&h&&a._UZ(0,"input",0),2&h&&a.Q6J("formControl",E.formControl)("formlyAttributes",E.field)},dependencies:[u.Fj,u.JJ,u.oH,r.JD]}),e})()},39017:(y,b,o)=>{"use strict";o.d(b,{o:()=>E});var r=o(13066),a=o(64537),u=o(88692);function c(T,D){if(1&T&&(a.TgZ(0,"legend",6),a.SDv(1,7),a.qZA()),2&T){const A=a.oxw();a.xp6(1),a.pQV(A.props.label),a.QtT(1)}}function e(T,D){if(1&T&&(a.TgZ(0,"p"),a.SDv(1,8),a.qZA()),2&T){const A=a.oxw();a.xp6(1),a.pQV(A.props.description),a.QtT(1)}}function f(T,D){if(1&T&&(a.TgZ(0,"div",9),a._UZ(1,"formly-validation-message",10),a.qZA()),2&T){const A=a.oxw();a.xp6(1),a.Q6J("field",A.field)}}function h(T,D){1&T&&a._UZ(0,"formly-field",11),2&T&&a.Q6J("field",D.$implicit)}let E=(()=>{class T extends r.fS{get inputClass(){const A=this.props.templateOptions?.layoutType,$="d-flex justify-content-center align-content-stretch gap-3";return"row"==A?$+" flex-row":$+" flex-column"}}return T.\u0275fac=function(){let D;return function($){return(D||(D=a.n5z(T)))($||T)}}(),T.\u0275cmp=a.Xpm({type:T,selectors:[["cd-formly-object-type"]],features:[a.qOj],decls:6,vars:5,consts:function(){let D,A;return D="" + "\ufffd0\ufffd" + "",A="" + "\ufffd0\ufffd" + "",[[1,"mb-3"],["class","cd-col-form-label",4,"ngIf"],[4,"ngIf"],["class","alert alert-danger","role","alert",4,"ngIf"],[3,"ngClass"],["class","flex-grow-1",3,"field",4,"ngFor","ngForOf"],[1,"cd-col-form-label"],D,A,["role","alert",1,"alert","alert-danger"],[3,"field"],[1,"flex-grow-1",3,"field"]]},template:function(A,$){1&A&&(a.TgZ(0,"div",0),a.YNc(1,c,2,1,"legend",1),a.YNc(2,e,2,1,"p",2),a.YNc(3,f,2,1,"div",3),a.TgZ(4,"div",4),a.YNc(5,h,1,1,"formly-field",5),a.qZA()()),2&A&&(a.xp6(1),a.Q6J("ngIf",$.props.label),a.xp6(1),a.Q6J("ngIf",$.props.description),a.xp6(1),a.Q6J("ngIf",$.showError&&$.formControl.errors),a.xp6(1),a.Q6J("ngClass",$.inputClass),a.xp6(1),a.Q6J("ngForOf",$.field.fieldGroup))},dependencies:[u.mk,u.sg,u.O5,r.cw,r.M2]}),T})()},62351:(y,b,o)=>{"use strict";o.d(b,{M:()=>h,w:()=>E});var r=o(23815);function a(T){return new Promise((D,A)=>{T.value instanceof FileList&&(T.value[0].size>4096&&D({file_size:!0}),D(null)),D({not_a_file:!0})})}function u(T){return new Promise((D,A)=>{try{JSON.parse(T.value),D(null)}catch{D({json:!0})}})}function c(T){return new Promise((D,A)=>{T.value.match("^((/)|(/[!-~]+/))$")&&D(null),D({rgwRolePath:!0})})}function e(T){return new Promise((D,A)=>{T.value.match("^[0-9a-zA-Z_+=,.@-]+$")&&D(null),D({rgwRoleName:!0})})}function f(T){return new Promise((D,A)=>{T.value.match("^[0-9.]+$")&&T.value<=12&&T.value>=1&&D(null),D({rgwRoleSessionDuration:!0})})}function h(T,D){const A=D||T.options?.formState;return A?A.find($=>$.key==T.key):{}}function E(T,D){const A=h(T,D);let $=[];(0,r.forEach)(A.validators,Q=>{switch(Q){case"json":$.push(u);break;case"rgwRoleName":$.push(e);break;case"rgwRolePath":$.push(c);break;case"file":$.push(a);break;case"rgwRoleSessionDuration":$.push(f)}}),T.asyncValidators={validation:$}}},61355:(y,b,o)=>{"use strict";o.d(b,{T:()=>u,e:()=>c});var r=o(65862),a=o(18001);class u{constructor(f=a.k.info,h,E,T,D="Ceph"){this.type=f,this.title=h,this.message=E,this.options=T,this.application=D,this.isFinishedTask=!1,this.classes={Ceph:"ceph-icon",Prometheus:"prometheus-icon"},this.applicationClass=this.classes[this.application]}}class c extends u{constructor(f=new u){super(f.type,f.title,f.message,f.options,f.application),this.config=f,this.alertSilenced=!1,this.textClasses=["text-danger","text-info","text-success"],this.iconClasses=[r.P.warning,r.P.info,r.P.check],this.borderClasses=["border-danger","border-info","border-success"],delete this.config,this.timestamp=(new Date).toJSON(),this.iconClass=this.iconClasses[this.type],this.textClass=this.textClasses[this.type],this.borderClass=this.borderClasses[this.type],this.isFinishedTask=f.isFinishedTask}}},51907:(y,b,o)=>{"use strict";o.d(b,{G:()=>r});class r{constructor(u){this.pwdExpirationSpan=0,this.pwdExpirationSpan=u.user_pwd_expiration_span,this.pwdExpirationWarning1=u.user_pwd_expiration_warning_1,this.pwdExpirationWarning2=u.user_pwd_expiration_warning_2}}},48168:(y,b,o)=>{"use strict";o.d(b,{E:()=>c});var r=o(35732);class u{constructor(){this.offset=0,this.limit=10,this.pageSize=10}}class c{constructor(f){this.errorConfig={resetData:!0,displayError:!0},this.pageInfo=new u,this.search="",this.sort="+name",this.error=f}toParams(){return Number.isNaN(this.pageInfo.offset)&&(this.pageInfo.offset=0),null===this.pageInfo.limit&&(this.pageInfo.limit=0),this.search||(this.search=""),(!this.sort||this.sort.length<2)&&(this.sort="+name"),new r.LE({fromObject:{offset:String(this.pageInfo.offset*this.pageInfo.limit),limit:String(this.pageInfo.limit),search:this.search,sort:this.sort}})}}},68774:(y,b,o)=>{"use strict";o.d(b,{r:()=>r});class r{constructor(u){this._selected=[],u&&(this._selected=u),this.update()}update(){this.hasSelection=this._selected.length>0,this.hasSingleSelection=1===this._selected.length,this.hasMultiSelection=this._selected.length>1}set selected(u){this._selected=u,this.update()}get selected(){return this._selected}add(u){this._selected.push(u),this.update()}first(){return this.hasSelection?this._selected[0]:null}}},87311:(y,b,o)=>{"use strict";o.d(b,{h:()=>r});class r{constructor(u,c,e,f){this.customColors={backgroundColor:void 0,borderColor:void 0},this.checkOffset=!1,this.chartEl=u.nativeElement,this.getStyleLeft=e,this.getStyleTop=f,this.tooltipEl=c.nativeElement}customTooltips(u){const c=u.tooltip;if(0===c.opacity)return void(this.tooltipEl.style.opacity=0);if(this.tooltipEl.classList.remove("above","below","no-transform"),this.tooltipEl.classList.add(c.yAlign?c.yAlign:"no-transform"),c.body){const h=c.title||[],E=c.body.map(A=>A.lines);let T="<thead>";h.forEach(A=>{T+="<tr><th>"+this.getTitle(A)+"</th></tr>"}),T+="</thead><tbody>",E.forEach((A,$)=>{const Q=c.labelColors[$];let U="background:"+(this.customColors.backgroundColor||Q.backgroundColor);U+="; border-color:"+(this.customColors.borderColor||Q.borderColor),U+="; border-width: 2px",T+='<tr><td nowrap><span class="chartjs-tooltip-key" style="'+U+'"></span>'+this.getBody(A)+"</td></tr>"}),T+="</tbody>",this.tooltipEl.querySelector("table").innerHTML=T}const e=this.chartEl.offsetTop,f=this.chartEl.offsetLeft;if(this.checkOffset){const h=c.width/2;this.tooltipEl.classList.remove("transform-left"),this.tooltipEl.classList.remove("transform-right"),c.caretX-h<0?this.tooltipEl.classList.add("transform-left"):c.caretX+h>this.chartEl.width&&this.tooltipEl.classList.add("transform-right")}this.tooltipEl.style.left=this.getStyleLeft(c,f),this.tooltipEl.style.top=this.getStyleTop(c,e),this.tooltipEl.style.opacity=1,this.tooltipEl.style.fontFamily=c._fontFamily,this.tooltipEl.style.fontSize=c.fontSize,this.tooltipEl.style.fontStyle=c._fontStyle,this.tooltipEl.style.padding="6px 6px"}getBody(u){return u}getTitle(u){return u}}},30633:(y,b,o)=>{"use strict";o.d(b,{h:()=>r,r:()=>a});var r=(()=>{return(u=r||(r={}))[u.global=0]="global",u[u.pool=1]="pool",u[u.image=2]="image",r;var u})(),a=(()=>{return(u=a||(a={}))[u.bps=0]="bps",u[u.iops=1]="iops",u[u.milliseconds=2]="milliseconds",a;var u})()},60737:(y,b,o)=>{"use strict";o.d(b,{o:()=>a});var r=o(29075);class a extends r.i{}},76111:(y,b,o)=>{"use strict";o.d(b,{R:()=>a});var r=o(29075);class a extends r.i{}},19358:(y,b,o)=>{"use strict";o.d(b,{N:()=>r});class r{static fromString(u){const c=u.split("/");return new this(c[0],c.length>=3?c[1]:null,c.length>=3?c[2]:c[1])}constructor(u,c,e){this.poolName=u,this.namespace=c,this.imageName=e}getNameSpace(){return this.namespace?`${this.namespace}/`:""}toString(){return`${this.poolName}/${this.getNameSpace()}${this.imageName}`}toStringEncoded(){return encodeURIComponent(`${this.poolName}/${this.getNameSpace()}${this.imageName}`)}}},29075:(y,b,o)=>{"use strict";o.d(b,{i:()=>r});class r{constructor(u,c){this.name=u,this.metadata=c}}},47187:(y,b,o)=>{"use strict";o.d(b,{I:()=>c});var r=o(23815),a=o.n(r),u=o(64537);let c=(()=>{class e{transform(h,E=!1){let T=h;return(!a().isArray(h)||a().isArray(h)&&E)&&(T=[h]),T}}return e.\u0275fac=function(h){return new(h||e)},e.\u0275pipe=u.Yjl({name:"array",type:e,pure:!0}),e})()},68962:(y,b,o)=>{"use strict";o.d(b,{T:()=>a});var r=o(64537);let a=(()=>{class u{transform(e,f="Yes",h="No"){return Boolean(e)?f:h}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275pipe=r.Yjl({name:"booleanText",type:u,pure:!0}),u})()},70442:(y,b,o)=>{"use strict";o.d(b,{i:()=>a});var r=o(64537);let a=(()=>{class u{transform(e){let f=!1;switch(e){case!0:case 1:case"y":case"yes":case"t":case"true":case"on":case"1":f=!0}return f}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275pipe=r.Yjl({name:"boolean",type:u,pure:!0}),u})()},96102:(y,b,o)=>{"use strict";o.d(b,{N:()=>f});var r=o(23815),a=o.n(r),u=o(16738),c=o.n(u),e=o(64537);let f=(()=>{class h{constructor(){}transform(T){if(null===T||""===T)return"";let D;const A=c()().utcOffset();return a().isNumber(T)?D=c().parseZone(c().unix(T)).utc().utcOffset(A).local().format("D/M/YY hh:mm A"):(T=T?.replace("Z",""),D=c().parseZone(T).utc().utcOffset(A).local().format("D/M/YY hh:mm A")),D}}return h.\u0275fac=function(T){return new(T||h)},h.\u0275pipe=e.Yjl({name:"cdDate",type:h,pure:!0}),h})()},24310:(y,b,o)=>{"use strict";o.d(b,{t:()=>a});var r=o(64537);let a=(()=>{class u{transform(e){const f=/ceph version\s+[^ ]+\s+\(.+\)\s+(.+)\s+\((.+)\)/.exec(e);return f?"dev"===f[2]?"main":f[1]:e}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275pipe=r.Yjl({name:"cephReleaseName",type:u,pure:!0}),u})()},58111:(y,b,o)=>{"use strict";o.d(b,{F:()=>a});var r=o(64537);let a=(()=>{class u{transform(e){const f=/ceph version\s+([^ ]+)\s+\(.+\)/.exec(e);return f?f[1]:e}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275pipe=r.Yjl({name:"cephShortVersion",type:u,pure:!0}),u})()},20044:(y,b,o)=>{"use strict";o.d(b,{O:()=>u});var r=o(28211),a=o(64537);let u=(()=>{class c{constructor(f){this.formatter=f}transform(f,h=1){return this.formatter.format_number(f,1024,["B/s","KiB/s","MiB/s","GiB/s","TiB/s","PiB/s","EiB/s","ZiB/s","YiB/s"],h)}}return c.\u0275fac=function(f){return new(f||c)(a.Y36(r.H,16))},c.\u0275pipe=a.Yjl({name:"dimlessBinaryPerSecond",type:c,pure:!0}),c})()},47557:(y,b,o)=>{"use strict";o.d(b,{$:()=>u});var r=o(28211),a=o(64537);let u=(()=>{class c{constructor(f){this.formatter=f}transform(f,h=1){return this.formatter.format_number(f,1024,["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],h)}}return c.\u0275fac=function(f){return new(f||c)(a.Y36(r.H,16))},c.\u0275pipe=a.Yjl({name:"dimlessBinary",type:c,pure:!0}),c})()},66369:(y,b,o)=>{"use strict";o.d(b,{n:()=>u});var r=o(28211),a=o(64537);let u=(()=>{class c{constructor(f){this.formatter=f}transform(f,h=1){return this.formatter.format_number(f,1e3,["","k","M","G","T","P","E","Z","Y"],h)}}return c.\u0275fac=function(f){return new(f||c)(a.Y36(r.H,16))},c.\u0275pipe=a.Yjl({name:"dimless",type:c,pure:!0}),c})()},94088:(y,b,o)=>{"use strict";o.d(b,{u:()=>a});var r=o(64537);let a=(()=>{class u{transform(e){if(null===e||e<=0)return"";const f=[[`${Math.floor(e/31536e3)}`,"years"],[`${Math.floor(e%31536e3/86400)}`,"days"],[`${Math.floor(e%86400/3600)}`,"hours"],[`${Math.floor(e%3600/60)}`,"minutes"],[`${Math.floor(e%60)}`,"seconds"]];let h="";for(let E=0,T=f.length;E<T;E++)"0"!==f[E][0]&&(h+=" "+f[E][0]+" "+("1"===f[E][0]?f[E][1].substr(0,f[E][1].length-1):f[E][1]));return h.trim()||"1 second"}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275pipe=r.Yjl({name:"duration",type:u,pure:!1}),u})()},41039:(y,b,o)=>{"use strict";o.d(b,{W:()=>c});var r=o(23815),a=o.n(r),u=o(64537);let c=(()=>{class e{transform(h){return a().isUndefined(h)||a().isNull(h)?"-":a().isNaN(h)?"N/A":h}}return e.\u0275fac=function(h){return new(h||e)},e.\u0275pipe=u.Yjl({name:"empty",type:e,pure:!0}),e})()},9228:(y,b,o)=>{"use strict";o.d(b,{v:()=>u});var r=o(43892),a=o(64537);let u=(()=>{class c{transform(f){return Object.keys(r.p).includes(f)?r.p[f]:""}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275pipe=a.Yjl({name:"healthIcon",type:c,pure:!0}),c})()},21766:(y,b,o)=>{"use strict";o.d(b,{A:()=>a});var r=o(64537);let a=(()=>{class u{transform(e){return`${e} IOPS`}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275pipe=r.Yjl({name:"iops",type:u,pure:!0}),u})()},88820:(y,b,o)=>{"use strict";o.d(b,{V:()=>a});var r=o(64537);let a=(()=>{class u{transform(e){return"user:rbd"===e?"user:rbd (tcmu-runner)":e}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275pipe=r.Yjl({name:"iscsiBackstore",type:u,pure:!0}),u})()},86969:(y,b,o)=>{"use strict";o.d(b,{A:()=>a});var r=o(64537);let a=(()=>{class u{transform(e){return e.join(", ")}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275pipe=r.Yjl({name:"join",type:u,pure:!0}),u})()},42746:(y,b,o)=>{"use strict";o.d(b,{e:()=>a});var r=o(64537);let a=(()=>{class u{transform(e){return"[DBG]"===e?"debug":"[INF]"===e?"info":"[WRN]"===e?"warn":"[ERR]"===e?"err":""}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275pipe=r.Yjl({name:"logPriority",type:u,pure:!0}),u})()},78877:(y,b,o)=>{"use strict";o.d(b,{b:()=>c});var r=o(23815),a=o.n(r),u=o(64537);let c=(()=>{class e{transform(h,E){return a().isPlainObject(E)?a().get(E,h,h):h}}return e.\u0275fac=function(h){return new(h||e)},e.\u0275pipe=u.Yjl({name:"map",type:e,pure:!0}),e})()},8074:(y,b,o)=>{"use strict";o.d(b,{F:()=>c});var r=o(23815),a=o.n(r),u=o(64537);let c=(()=>{class e{transform(h){if(!h)return{success:0,info:0,total:0};let E=0,T=0,D=0,A=0,$=0;return a().each(h.standbys,()=>{D+=1}),h.standbys&&!h.filesystems?(T=D,E=0):0===h.filesystems.length?E=0:(a().each(h.filesystems,q=>{a().each(q.mdsmap.info,L=>{"up:standby-replay"===L.state?$+=1:A+=1})}),E=A,T=D+$),{success:E,info:T,total:E+T}}}return e.\u0275fac=function(h){return new(h||e)},e.\u0275pipe=u.Yjl({name:"mdsSummary",type:e,pure:!0}),e})()},40473:(y,b,o)=>{"use strict";o.d(b,{c:()=>c});var r=o(23815),a=o.n(r),u=o(64537);let c=(()=>{class e{transform(h){if(!h)return{success:0,info:0,total:0};let E;(a().isUndefined(h.active_name)?"":`${"active daemon"}: ${h.active_name}`).length>0&&(E=1);const D=h.standbys.length;return{success:E,info:D,total:E+D}}}return e.\u0275fac=function(h){return new(h||e)},e.\u0275pipe=u.Yjl({name:"mgrSummary",type:e,pure:!0}),e})()},48537:(y,b,o)=>{"use strict";o.d(b,{J:()=>a});var r=o(64537);let a=(()=>{class u{transform(e){return`${e} ms`}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275pipe=r.Yjl({name:"milliseconds",type:u,pure:!0}),u})()},55657:(y,b,o)=>{"use strict";o.d(b,{g:()=>c});var r=o(23815),a=o.n(r),u=o(64537);let c=(()=>{class e{transform(h,E){return""===h?a().defaultTo(E,"n/a"):h}}return e.\u0275fac=function(h){return new(h||e)},e.\u0275pipe=u.Yjl({name:"notAvailable",type:e,pure:!0}),e})()},82799:(y,b,o)=>{"use strict";o.d(b,{f:()=>a});var r=o(64537);let a=(()=>{class u{transform(e,f=!1){if(!e)return[];const h=[],E=["---","--x","-w-","-wx","r--","r-x","rw-","rwx"],D=e.toString(8).padStart(7,"0").split(""),A=this.getFileTypeSymbol(parseInt(D[1]+D[2])),$=E[parseInt(D[4])],Q=E[parseInt(D[5])],U=E[parseInt(D[6])];return f?{owner:this.getItem($),group:this.getItem(Q),others:this.getItem(U)}:("directory"!==A&&h.push({content:A,class:"badge-primary me-1"}),"---"!==$&&h.push({content:`owner: ${$}`,class:"badge-primary me-1"}),"---"!==Q&&h.push({content:`group: ${Q}`,class:"badge-primary me-1"}),"---"!==U&&h.push({content:`others: ${U}`,class:"badge-primary me-1"}),0===h.length?[{content:"no permissions",class:"badge-warning me-1",toolTip:`owner: ${$}, group: ${Q}, others: ${U}`}]:h)}getFileTypeSymbol(e){switch(e){case 1:return"fifo";case 2:return"character";case 4:return"directory";case 6:return"block";case 10:return"regular";case 12:return"symbolic-link";default:return"-"}}getItem(e){const f=[];return e.includes("r")&&f.push("read"),e.includes("w")&&f.push("write"),e.includes("x")&&f.push("execute"),f}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275pipe=r.Yjl({name:"octalToHumanReadable",type:u,pure:!0}),u})()},36569:(y,b,o)=>{"use strict";o.d(b,{f:()=>a});var r=o(64537);let a=(()=>{class u{transform(e){const f=parseInt(e,10);return isNaN(f)?e:e+(1===Math.floor(f/10)?"th":f%10==1?"st":f%10==2?"nd":f%10==3?"rd":"th")}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275pipe=r.Yjl({name:"ordinal",type:u,pure:!0}),u})()},67891:(y,b,o)=>{"use strict";o.d(b,{H:()=>c});var r=o(23815),a=o.n(r),u=o(64537);let c=(()=>{class e{transform(h){if(!h)return"";let E=0,T=0,D=0,A=0;return a().each(h.osds,q=>{q.in&&E++,q.up&&T++,q.state.includes("nearfull")&&D++,q.state.includes("full")&&A++}),{total:h.osds.length,down:h.osds.length-T,out:h.osds.length-E,up:T,in:E,nearfull:D,full:A}}}return e.\u0275fac=function(h){return new(h||e)},e.\u0275pipe=u.Yjl({name:"osdSummary",type:e,pure:!0}),e})()},11925:(y,b,o)=>{"use strict";o.d(b,{Y:()=>a});var r=o(64537);let a=(()=>{class u{transform(e){if(!e)return"";const f=e.toString().split("/");return""===f[0]?(f.shift(),`/${f[0]}/.../${f[f.length-1]}`):`${f[0]}/.../${f[f.length-1]}`}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275pipe=r.Yjl({name:"path",type:u,pure:!0}),u})()},12455:(y,b,o)=>{"use strict";o.d(b,{D:()=>Ct});var r=o(88692),a=o(47187),u=o(68962),c=o(70442),e=o(96102),f=o(24310),h=o(58111),E=o(20044),T=o(47557),D=o(66369),A=o(94088),$=o(41039),Q=o(64537);let U=(()=>{class Qt{transform(en){return encodeURIComponent(en)}}return Qt.\u0275fac=function(en){return new(en||Qt)},Qt.\u0275pipe=Q.Yjl({name:"encodeUri",type:Qt,pure:!0}),Qt})();var q=o(9228),L=o(21766),J=o(88820),pe=o(86969),j=o(42746),ue=o(78877),ie=o(8074),me=o(40473),Oe=o(48537),Ue=o(55657),Me=o(36569),yt=o(67891),et=o(90068),tt=o(60793),Et=o(52821),ze=o(10545),bt=o(82799);let Ct=(()=>{class Qt{}return Qt.\u0275fac=function(en){return new(en||Qt)},Qt.\u0275mod=Q.oAB({type:Qt}),Qt.\u0275inj=Q.cJS({providers:[a.I,c.i,u.T,r.uU,h.F,f.t,T.$,E.O,D.n,et.h,J.V,pe.A,j.e,e.N,$.W,U,Me.f,L.A,Oe.J,Ue.g,ze.m,A.u,ue.b,Et.W,tt.A,q.v,me.c,ie.F,yt.H,bt.f],imports:[r.ez]}),Qt})()},90068:(y,b,o)=>{"use strict";o.d(b,{h:()=>f});var r=o(23815),a=o.n(r),u=o(16738),c=o.n(u),e=o(64537);c().updateLocale("en",{relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}});let f=(()=>{class h{transform(T,D=!0){let A;const $=c()().utcOffset();if(A=a().isNumber(T)?c().parseZone(c().unix(T)).utc().utcOffset($).local():c().parseZone(T).utc().utcOffset($).local(),!A.isValid())return"";let Q=A.fromNow();return D&&(Q=a().upperFirst(Q)),Q}}return h.\u0275fac=function(T){return new(T||h)},h.\u0275pipe=e.Yjl({name:"relativeDate",type:h,pure:!1}),h})()},60793:(y,b,o)=>{"use strict";o.d(b,{A:()=>u});var r=o(64537),a=o(5998);let u=(()=>{class c{constructor(f){this.domSanitizer=f}transform(f){return this.domSanitizer.sanitize(r.q3G.HTML,f)}}return c.\u0275fac=function(f){return new(f||c)(r.Y36(a.H7,16))},c.\u0275pipe=r.Yjl({name:"sanitizeHtml",type:c,pure:!0}),c})()},52821:(y,b,o)=>{"use strict";o.d(b,{W:()=>c});var r=o(23815),a=o.n(r),u=o(64537);let c=(()=>{class e{transform(h,E,T){return a().isString(h)?(T=a().defaultTo(T,""),a().truncate(h,{length:E,omission:T})):h}}return e.\u0275fac=function(h){return new(h||e)},e.\u0275pipe=u.Yjl({name:"truncate",type:e,pure:!0}),e})()},10545:(y,b,o)=>{"use strict";o.d(b,{m:()=>c});var r=o(23815),a=o.n(r),u=o(64537);let c=(()=>{class e{transform(h){return a().upperFirst(h)}}return e.\u0275fac=function(h){return new(h||e)},e.\u0275pipe=u.Yjl({name:"upperFirst",type:e,pure:!0}),e})()},2817:(y,b,o)=>{"use strict";o.d(b,{r:()=>U});var r=o(22759);function a(q,L){function J(){return!J.pred.apply(J.thisArg,arguments)}return J.pred=q,J.thisArg=L,J}var u=o(19846),c=o(45435),e=o(70882),h=o(47349),E=o(46782),T=o(79765),D=o(85345);class ${constructor(L){this.notifier=L}call(L,J){return J.subscribe(new Q(L,this.notifier,J))}}class Q extends D.Ds{constructor(L,J,pe){super(L),this.notifier=J,this.source=pe,this.sourceIsBeingSubscribedTo=!0}notifyNext(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}notifyComplete(){if(!1===this.sourceIsBeingSubscribedTo)return super.complete()}complete(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return super.complete();this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}_unsubscribe(){const{notifications:L,retriesSubscription:J}=this;L&&(L.unsubscribe(),this.notifications=void 0),J&&(J.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}_unsubscribeAndRecycle(){const{_unsubscribe:L}=this;return this._unsubscribe=null,super._unsubscribeAndRecycle(),this._unsubscribe=L,this}subscribeToRetries(){let L;this.notifications=new T.xQ;try{const{notifier:J}=this;L=J(this.notifications)}catch{return super.complete()}this.retries=L,this.retriesSubscription=(0,D.ft)(L,new D.IY(this))}}function U(){const q=(0,r.R)(document,"visibilitychange").pipe((0,h.d)({refCount:!0,bufferSize:1})),[L,J]=function f(q,L,J){return[(0,c.h)(L,J)(new e.y((0,u.s)(q))),(0,c.h)(a(L,J))(new e.y((0,u.s)(q)))]}(q,()=>"visible"===document.visibilityState);return function(pe){return pe.pipe((0,E.R)(J),function A(q){return L=>L.lift(new $(q))}(()=>L))}}},45510:(y,b,o)=>{"use strict";o.d(b,{P:()=>c});var r=o(64537),a=o(54247),u=o(47640);let c=(()=>{class e{constructor(h,E){this.router=h,this.authStorageService=E}canActivate(h,E){return!!this.authStorageService.isLoggedIn()||(this.router.navigate(["/login"],{queryParams:{returnUrl:E.url}}),!1)}canActivateChild(h,E){return this.canActivate(h,E)}}return e.\u0275fac=function(h){return new(h||e)(r.LFG(a.F0),r.LFG(u.j))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},47640:(y,b,o)=>{"use strict";o.d(b,{j:()=>e});var r=o(26215);class a{constructor(h=[]){["read","create","update","delete"].forEach(E=>this[E]=h.includes(E))}}class u{constructor(h){this.hosts=new a(h.hosts),this.configOpt=new a(h["config-opt"]),this.pool=new a(h.pool),this.osd=new a(h.osd),this.monitor=new a(h.monitor),this.rbdImage=new a(h["rbd-image"]),this.iscsi=new a(h.iscsi),this.rbdMirroring=new a(h["rbd-mirroring"]),this.rgw=new a(h.rgw),this.cephfs=new a(h.cephfs),this.manager=new a(h.manager),this.log=new a(h.log),this.user=new a(h.user),this.grafana=new a(h.grafana),this.prometheus=new a(h.prometheus),this.nfs=new a(h["nfs-ganesha"])}}var c=o(64537);let e=(()=>{class f{constructor(){this.isPwdDisplayedSource=new r.X(!1),this.isPwdDisplayed$=this.isPwdDisplayedSource.asObservable()}set(E,T={},D=!1,A=null,$=!1){localStorage.setItem("dashboard_username",E),localStorage.setItem("dashboard_permissions",JSON.stringify(new u(T))),localStorage.setItem("user_pwd_expiration_date",String(A)),localStorage.setItem("user_pwd_update_required",String($)),localStorage.setItem("sso",String(D))}remove(){localStorage.removeItem("dashboard_username"),localStorage.removeItem("user_pwd_expiration_data"),localStorage.removeItem("user_pwd_update_required")}isLoggedIn(){return null!==localStorage.getItem("dashboard_username")}getUsername(){return localStorage.getItem("dashboard_username")}getPermissions(){return JSON.parse(localStorage.getItem("dashboard_permissions")||JSON.stringify(new u({})))}getPwdExpirationDate(){return Number(localStorage.getItem("user_pwd_expiration_date"))}getPwdUpdateRequired(){return"true"===localStorage.getItem("user_pwd_update_required")}isSSO(){return"true"===localStorage.getItem("sso")}}return f.\u0275fac=function(E){return new(E||f)},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},72427:(y,b,o)=>{"use strict";o.d(b,{v:()=>a});var r=o(64537);let a=(()=>{class u{constructor(){}static getCount(e){return Number(e.headers?.get("X-Total-Count"))}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275prov=r.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},86299:(y,b,o)=>{"use strict";o.d(b,{n:()=>L});var r=o(88002),a=o(62351),u=o(64537),c=o(20092),e=o(13066),f=o(68307);function E(J){return""===J||null==J}function T(J){return null!=J&&"object"==typeof J&&!Array.isArray(J)}function D(J){return Number.isInteger?Number.isInteger(J):"number"==typeof J&&Math.floor(J)===J}function A(J){return"object"==typeof J&&(J.hasOwnProperty("const")||J.enum&&1===J.enum.length)}function $(J){if(!J.fieldGroup)return(0,e._S)(J)&&void 0!==(0,e.Hl)(J)?1:0;const pe=J.fieldGroup.reduce((j,ue)=>$(ue)+j,0);if(0===pe&&(0,e._S)(J)){const j=(0,e.Hl)(J);if(null===j||void 0!==j&&(J.fieldArray&&Array.isArray(j)||!J.fieldArray&&T(j)))return 1}return pe}let Q=(()=>{class J{toFieldConfig(j,ue){return this._toFieldConfig(j,{schema:j,...ue||{}})}_toFieldConfig(j,{key:ue,...ie}){j=this.resolveSchema(j,ie);const me=this.guessSchemaType(j);let Oe={type:me[0],defaultValue:j.default,props:{label:j.title,readonly:j.readOnly,description:j.description}};switch(null!=ue&&(Oe.key=ue),!ie.ignoreDefault&&(j.readOnly||ie.readOnly)&&(Oe.props.disabled=!0,ie={...ie,readOnly:!0}),ie.resetOnHide&&(Oe.resetOnHide=!0),ue&&ie.strict&&this.addValidator(Oe,"type",(Ue,Me)=>{const yt=(0,e.Hl)(Me);if(null!=yt)switch(Oe.type){case"string":return"string"==typeof yt;case"integer":return D(yt);case"number":return"number"==typeof yt;case"object":return T(yt);case"array":return Array.isArray(yt)}return!0}),!1===ie.shareFormControl&&(Oe.shareFormControl=!1),ie.ignoreDefault&&delete Oe.defaultValue,this.addValidator(Oe,"type",{schemaType:me,expression:({value:Ue})=>{if(void 0===Ue||null===Ue&&-1!==me.indexOf("null"))return!0;switch(me[0]){case"null":return null===typeof Ue;case"string":return"string"==typeof Ue;case"integer":return D(Ue);case"number":return"number"==typeof Ue;case"object":return T(Ue);case"array":return Array.isArray(Ue)}return!0}}),Oe.type){case"number":case"integer":Oe.parsers=[Ue=>E(Ue)?void 0:Number(Ue)],j.hasOwnProperty("minimum")&&(Oe.props.min=j.minimum),j.hasOwnProperty("maximum")&&(Oe.props.max=j.maximum),j.hasOwnProperty("exclusiveMinimum")&&(Oe.props.exclusiveMinimum=j.exclusiveMinimum,this.addValidator(Oe,"exclusiveMinimum",({value:Ue})=>E(Ue)||Ue>j.exclusiveMinimum)),j.hasOwnProperty("exclusiveMaximum")&&(Oe.props.exclusiveMaximum=j.exclusiveMaximum,this.addValidator(Oe,"exclusiveMaximum",({value:Ue})=>E(Ue)||Ue<j.exclusiveMaximum)),j.hasOwnProperty("multipleOf")&&(Oe.props.step=j.multipleOf,this.addValidator(Oe,"multipleOf",({value:Ue})=>{if(E(Ue)||"number"!=typeof Ue||0===Ue||j.multipleOf<=0)return!0;const Me=Math.pow(10,function h(J){if(!isFinite(J))return 0;let pe=1,j=0;for(;Math.round(J*pe)/pe!==J;)pe*=10,j++;return j}(j.multipleOf));return Math.round(Ue*Me)%Math.round(j.multipleOf*Me)==0}));break;case"string":Oe.parsers=[Ue=>(-1!==me.indexOf("null")?Ue=E(Ue)?null:Ue:Oe.props.required||(Ue=""===Ue?void 0:Ue),Ue)],["minLength","maxLength","pattern"].forEach(Ue=>{j.hasOwnProperty(Ue)&&(Oe.props[Ue]=j[Ue])});break;case"object":{Oe.fieldGroup||(Oe.fieldGroup=[]);const{propDeps:Ue,schemaDeps:Me}=this.resolveDependencies(j);Object.keys(j.properties||{}).forEach(yt=>{const et=Array.isArray(j.required)&&-1!==j.required.indexOf(yt),tt=this._toFieldConfig(j.properties[yt],{...ie,key:yt,isOptional:ie.isOptional||!et});if(Oe.fieldGroup.push(tt),(et||Ue[yt])&&(tt.expressions={...tt.expressions||{},"props.required":Et=>{let ze=Et.parent;const bt=Et.fieldGroup&&null!=Et.key?ze.model:Et.model;for(;null==ze.key&&ze.parent;)ze=ze.parent;return!!(bt||ze&&ze.props&&ze.props.required)&&(!(!Array.isArray(j.required)||-1===j.required.indexOf(yt))||Ue[yt]&&Et.model&&Ue[yt].some(Qt=>!E(Et.model[Qt])))}}),Me[yt]){const Et=bt=>bt.hasOwnProperty("const")?bt.const:bt.enum[0],ze=Me[yt].oneOf;ze&&ze.every(bt=>bt.properties&&bt.properties[yt]&&A(bt.properties[yt]))?ze.forEach(bt=>{const{[yt]:Ct,...Qt}=bt.properties;Oe.fieldGroup.push({...this._toFieldConfig({...bt,properties:Qt},{...ie,resetOnHide:!0}),expressions:{hide:ht=>!ht.model||Et(Ct)!==ht.model[yt]}})}):Oe.fieldGroup.push({...this._toFieldConfig(Me[yt],ie),expressions:{hide:bt=>!bt.model||E(bt.model[yt])}})}}),j.oneOf&&Oe.fieldGroup.push(this.resolveMultiSchema("oneOf",j.oneOf,{...ie,shareFormControl:!1})),j.anyOf&&Oe.fieldGroup.push(this.resolveMultiSchema("anyOf",j.anyOf,ie));break}case"array":j.hasOwnProperty("minItems")&&(Oe.props.minItems=j.minItems,this.addValidator(Oe,"minItems",(Ue,Me)=>{const yt=(0,e.Hl)(Me);return E(yt)||yt.length>=j.minItems}),!ie.isOptional&&j.minItems>0&&void 0===Oe.defaultValue&&(Oe.defaultValue=Array.from(new Array(j.minItems)))),j.hasOwnProperty("maxItems")&&(Oe.props.maxItems=j.maxItems,this.addValidator(Oe,"maxItems",(Ue,Me)=>{const yt=(0,e.Hl)(Me);return E(yt)||yt.length<=j.maxItems})),j.hasOwnProperty("uniqueItems")&&(Oe.props.uniqueItems=j.uniqueItems,this.addValidator(Oe,"uniqueItems",(Ue,Me)=>{const yt=(0,e.Hl)(Me);return!(!E(yt)&&j.uniqueItems)||Array.from(new Set(yt.map(tt=>JSON.stringify(tt)))).length===yt.length})),j.items&&!Array.isArray(j.items)&&(j.items=this.resolveSchema(j.items,ie)),this.isEnum(j)||(Oe.fieldArray=Ue=>{if(!Array.isArray(j.items)){const tt=j.items?this._toFieldConfig(j.items,ie):{};return tt.props&&(tt.props.required=!0),tt}const Me=Ue.fieldGroup?Ue.fieldGroup.length:0,yt=j.items[Me]?j.items[Me]:j.additionalItems,et=yt?this._toFieldConfig(yt,ie):{};return et.props&&(et.props.required=!0),j.items[Me]&&(et.props.removable=!1),et})}return j.hasOwnProperty("const")&&(Oe.props.const=j.const,this.addValidator(Oe,"const",({value:Ue})=>Ue===j.const),Oe.type||(Oe.defaultValue=j.const)),this.isEnum(j)&&(Oe.props.multiple="array"===Oe.type,Oe.type="enum",Oe.props.options=this.toEnumOptions(j)),j.oneOf&&!Oe.type&&(delete Oe.key,Oe.fieldGroup=[this.resolveMultiSchema("oneOf",j.oneOf,{...ie,key:ue,shareFormControl:!1})]),j.oneOf&&!Oe.type&&(delete Oe.key,Oe.fieldGroup=[this.resolveMultiSchema("oneOf",j.oneOf,{...ie,key:ue,shareFormControl:!1})]),j.widget?.formlyConfig&&(Oe=this.mergeFields(Oe,j.widget.formlyConfig)),Oe.templateOptions=Oe.props,ie.map?ie.map(Oe,j):Oe}resolveSchema(j,ue){return j&&j.$ref&&(j=this.resolveDefinition(j,ue)),j&&j.allOf&&(j=this.resolveAllOf(j,ue)),j}resolveAllOf({allOf:j,...ue},ie){if(!j.length)throw Error(`allOf array can not be empty ${j}.`);return j.reduce((me,Oe)=>(Oe=this.resolveSchema(Oe,ie),me.required&&Oe.required&&(me.required=[...me.required,...Oe.required]),Oe.uniqueItems&&(me.uniqueItems=Oe.uniqueItems),["maxLength","maximum","exclusiveMaximum","maxItems","maxProperties"].forEach(Ue=>{!E(me[Ue])&&!E(Oe[Ue])&&(me[Ue]=me[Ue]<Oe[Ue]?me[Ue]:Oe[Ue])}),["minLength","minimum","exclusiveMinimum","minItems","minProperties"].forEach(Ue=>{!E(me[Ue])&&!E(Oe[Ue])&&(me[Ue]=me[Ue]>Oe[Ue]?me[Ue]:Oe[Ue])}),(0,e.Du)(me,Oe)),ue)}resolveMultiSchema(j,ue,ie){return{type:"multischema",fieldGroup:[{type:"enum",defaultValue:-1,props:{multiple:"anyOf"===j,options:ue.map((me,Oe)=>({label:me.title,value:Oe,disabled:me.readOnly}))},hooks:{onInit:me=>me.formControl.valueChanges.pipe((0,f.b)(()=>me.options.detectChanges(me.parent)))}},{fieldGroup:ue.map((me,Oe)=>({...this._toFieldConfig(me,{...ie,resetOnHide:!0}),expressions:{hide:(Ue,Me)=>{const yt=Ue.parent.parent.fieldGroup[0].formControl;if(-1===yt.value||Me){let et=Ue.parent.fieldGroup.map((tt,Et)=>[tt,Et,this.isFieldValid(tt,Et,ue,ie)]).sort(([tt,,Et],[ze,,bt])=>{if(Et!==bt)return bt?1:-1;const Ct=$(tt),Qt=$(ze);return Ct===Qt&&tt.props.disabled===ze.props.disabled?0:Qt>Ct?1:-1}).map(([,tt])=>tt);if("anyOf"===j){const tt=et.filter(Et=>$(Ue.parent.fieldGroup[Et]));et=tt.length>0?tt:[et[0]||0]}et=et.length>0?et:[0],yt.setValue("anyOf"===j?et:et[0])}return Array.isArray(yt.value)?-1===yt.value.indexOf(Oe):yt.value!==Oe}}}))}]}}resolveDefinition(j,ue){const[ie,me]=j.$ref.split("#/");if(ie)throw Error(`Remote schemas for ${j.$ref} not supported yet.`);const Oe=me?me.split("/").reduce((Ue,Me)=>Ue?.hasOwnProperty(Me)?Ue[Me]:null,ue.schema):null;if(!Oe)throw Error(`Cannot find a definition for ${j.$ref}.`);return Oe.$ref?this.resolveDefinition(Oe,ue):{...Oe,...["title","description","default","widget"].reduce((Ue,Me)=>(j.hasOwnProperty(Me)&&(Ue[Me]=j[Me]),Ue),{})}}resolveDependencies(j){const ue={},ie={};return Object.keys(j.dependencies||{}).forEach(me=>{const Oe=j.dependencies[me];Array.isArray(Oe)?Oe.forEach(Ue=>{ue[Ue]?ue[Ue].push(me):ue[Ue]=[me]}):ie[me]=Oe}),{propDeps:ue,schemaDeps:ie}}guessSchemaType(j){const ue=j?.type;return!ue&&j?.properties?["object"]:Array.isArray(ue)?1===ue.length?ue:2===ue.length&&-1!==ue.indexOf("null")?ue.sort(ie=>"null"==ie?1:-1):ue:ue?[ue]:[]}addValidator(j,ue,ie){j.validators=j.validators||{},j.validators[ue]=ie}isEnum(j){return!!j.enum||j.anyOf&&j.anyOf.every(A)||j.oneOf&&j.oneOf.every(A)||j.uniqueItems&&j.items&&!Array.isArray(j.items)&&this.isEnum(j.items)}toEnumOptions(j){if(j.enum)return j.enum.map(ie=>({value:ie,label:ie}));const ue=ie=>{const me=ie.hasOwnProperty("const")?ie.const:ie.enum[0],Oe={value:me,label:ie.title||me};return ie.readOnly&&(Oe.disabled=!0),Oe};return j.anyOf?j.anyOf.map(ue):j.oneOf?j.oneOf.map(ue):this.toEnumOptions(j.items)}isFieldValid(j,ue,ie,me){j._schemasFields||(Object.defineProperty(j,"_schemasFields",{enumerable:!1,writable:!0,configurable:!0}),j._schemasFields={});let Oe=j._schemasFields[ue];const Ue=j.model?(0,e.kg)(j.model):j.fieldArray?[]:{};return Oe?(Oe.model=Ue,j.options.build(Oe)):Oe=j._schemasFields[ue]=j.options.build({form:Array.isArray(Ue)?new c.Oe([]):new c.cw({}),fieldGroup:[this._toFieldConfig(ie[ue],{...me,resetOnHide:!0,ignoreDefault:!0,map:null,strict:!0})],model:Ue,options:{}}),Oe.form.valid}mergeFields(j,ue){for(let ie in ue){const me="templateOptions"===ie?"props":ie;T(j[me])&&T(ue[ie])?j[me]=this.mergeFields(j[me],ue[ie]):null!=ue[ie]&&(j[me]=ue[ie])}return j}}return J.\u0275fac=function(j){return new(j||J)},J.\u0275prov=u.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"}),J})(),U=(()=>{class J{constructor(j){this.formlyJsonschema=j}processJsonSchemaForm(j,ue){let ie=0;for(;ie<j.forms.length&&j.forms[ie].path!=ue;)ie++;ie%=j.forms.length;const me=j.forms[ie].control_schema.title,Oe=j.forms[ie].ui_schema;let Me=this.formlyJsonschema.toFieldConfig(j.forms[ie].control_schema).fieldGroup;for(let Et=0;Et<Me.length;Et++)for(let ze=0;ze<Oe.length;ze++)Me[Et].key==Oe[ze].key&&(Me[Et].props.templateOptions=Oe[ze].templateOptions,Me[Et].props.readonly=Oe[ze].readonly,(0,a.w)(Me[Et],Oe));return{title:me,uiSchema:Oe,controlSchema:Me,taskInfo:{metadataFields:j.forms[ie].task_info.metadataFields,message:j.forms[ie].task_info.message},methodType:j.forms[ie].method_type,model:j.forms[ie].model||{}}}}return J.\u0275fac=function(j){return new(j||J)(u.LFG(Q))},J.\u0275prov=u.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"}),J})();var q=o(35732);let L=(()=>{class J{constructor(j,ue){this.http=j,this.crudFormAdapater=ue,this.cache={}}list(j){const ue=this.getCacheable(j,"get");if(void 0===this.cache[ue]){const{url:ie,version:me}=this.getUrlAndVersion(j);this.cache[ue]=this.http.get(ie,{headers:{Accept:`application/vnd.ceph.api.v${me}+json`}})}return this.cache[ue]}submit(j,ue,ie){const{url:me,version:Oe}=this.getUrlAndVersion(j);return this.http[ie](me,ue,{headers:{Accept:`application/vnd.ceph.api.v${Oe}+json`}})}delete(j,ue){const{url:ie,version:me}=this.getUrlAndVersion(j);return this.http.delete(`${ie}/${ue}`,{headers:{Accept:`application/vnd.ceph.api.v${me}+json`},observe:"response"})}form(j,ue,ie=""){const me=this.getCacheable(j,"get",ie),Oe={model_key:ie};if(void 0===this.cache[me]){const{url:Ue,version:Me}=this.getUrlAndVersion(j);this.cache[me]=this.http.get(Ue,{headers:{Accept:`application/vnd.ceph.api.v${Me}+json`},params:Oe})}return this.cache[me].pipe((0,r.U)(Ue=>this.crudFormAdapater.processJsonSchemaForm(Ue,ue)))}model(j,ue){const ie=this.getCacheable(j,"get");if(void 0===this.cache[ie]){const{url:me,version:Oe}=this.getUrlAndVersion(j);this.cache[ie]=this.http.get(`${me}/model`,{headers:{Accept:`application/vnd.ceph.api.v${Oe}+json`},params:ue})}return this.cache[ie]}getCacheable(j,ue,ie=""){return j+ue+ie}getUrlAndVersion(j){const ue=j.match(/(?<url>[^@]+)(?:@(?<version>.+))?/);return{url:ue.groups.url.split(".").join("/"),version:ue.groups.version||"1.0"}}}return J.\u0275fac=function(j){return new(j||J)(u.LFG(q.eN),u.LFG(U))},J.\u0275prov=u.Yz7({token:J,factory:J.\u0275fac,providedIn:"root"}),J})()},41702:(y,b,o)=>{"use strict";o.d(b,{U:()=>c});var r=o(16738),a=o.n(r),u=o(64537);let c=(()=>{class e{calculateAdditionalData(h){if(!h.life_expectancy_min||!h.life_expectancy_max)return h.state="unknown",h;const E=Q=>!!Number.parseFloat(Q),T=(Q,U)=>Q&&U&&E(Q)&&E(U)?a().duration(a()(Q).diff(a()(U))).asWeeks():null,D=a().duration(a()(a().now()).diff(a()(h.life_expectancy_stamp))).asWeeks(),A=T(h.life_expectancy_max,h.life_expectancy_stamp),$=T(h.life_expectancy_min,h.life_expectancy_stamp);return h.state=D>1?"stale":null!==A&&A<=2?"bad":null!==$&&$<=4?"warning":"good",h.life_expectancy_weeks={max:null!==A?Math.round(A):null,min:null!==$?Math.round($):null},h}readable(h){return h.readableDaemons=h.daemons.join(" "),h}prepareDevice(h){return this.readable(this.calculateAdditionalData(h))}}return e.\u0275fac=function(h){return new(h||e)},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},72625:(y,b,o)=>{"use strict";o.d(b,{R:()=>E});var r=o(26215),a=o(45435),u=o(88002),c=o(28049),e=o(74255),f=o(64537),h=o(24310);let E=(()=>{class T{constructor(A,$){this.summaryservice=A,this.cephReleaseNamePipe=$,this.releaseDataSource=new r.X(null),this.releaseData$=this.releaseDataSource.asObservable(),this.summaryservice.subscribeOnce(Q=>{const U=this.cephReleaseNamePipe.transform(Q.version);this.releaseDataSource.next(U)})}urlGenerator(A,$="main"){const U=`https://docs.ceph.com/en/${"main"===$?"latest":$}/`,q="https://ceph.io";return{iscsi:`${U}mgr/dashboard/#enabling-iscsi-management`,prometheus:`${U}mgr/dashboard/#enabling-prometheus-alerting`,"nfs-ganesha":`${U}mgr/dashboard/#configuring-nfs-ganesha-in-the-dashboard`,"rgw-nfs":`${U}radosgw/nfs`,rgw:`${U}mgr/dashboard/#enabling-the-object-gateway-management-frontend`,"rgw-multisite":`${U}/radosgw/multisite/#failover-and-disaster-recovery`,multisite:`${U}/radosgw/multisite`,dashboard:`${U}mgr/dashboard`,grafana:`${U}mgr/dashboard/#enabling-the-embedding-of-grafana-dashboards`,orch:`${U}mgr/orchestrator`,pgs:"https://old.ceph.com/pgcalc",help:`${q}/en/users/`,security:`${q}/en/security/`,trademarks:`${q}/en/trademarks/`,"dashboard-landing-page-status":`${U}mgr/dashboard/#dashboard-landing-page-status`,"dashboard-landing-page-performance":`${U}mgr/dashboard/#dashboard-landing-page-performance`,"dashboard-landing-page-capacity":`${U}mgr/dashboard/#dashboard-landing-page-capacity`}[A]}subscribeOnce(A,$,Q){return this.releaseData$.pipe((0,a.h)(U=>!!U),(0,u.U)(U=>this.urlGenerator(A,U)),(0,c.P)()).subscribe($,Q)}}return T.\u0275fac=function(A){return new(A||T)(f.LFG(e.J),f.LFG(h.t))},T.\u0275prov=f.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},4222:(y,b,o)=>{"use strict";o.d(b,{T:()=>e});var r=o(88002),a=o(26504),u=o(64537),c=o(89154);let e=(()=>{class f{constructor(E){this.featureToggles=E}canActivate(E){return this.featureToggles.get().pipe((0,r.U)(T=>{if(!1===T[E.routeConfig.path])throw new a._2;return!0}))}canActivateChild(E){return this.canActivate(E.parent)}}return f.\u0275fac=function(E){return new(E||f)(u.LFG(c.l))},f.\u0275prov=u.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},89154:(y,b,o)=>{"use strict";o.d(b,{l:()=>e});var r=o(64537),a=o(35732),u=o(36848);let e=(()=>{class f{constructor(E,T){this.http=E,this.timerService=T,this.API_URL="api/feature_toggles",this.REFRESH_INTERVAL=3e4,this.featureToggleMap$=this.timerService.get(()=>this.http.get(this.API_URL),this.REFRESH_INTERVAL)}get(){return this.featureToggleMap$}}return f.\u0275fac=function(E){return new(E||f)(r.LFG(a.eN),r.LFG(u.f))},f.\u0275prov=r.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},28211:(y,b,o)=>{"use strict";o.d(b,{H:()=>c});var r=o(23815),a=o.n(r),u=o(64537);let c=(()=>{class e{format_number(h,E,T,D=1){if(a().isString(h)&&(h=Number(h)),!a().isNumber(h))return"-";if(a().isNaN(h))return"N/A";let A=h<1?0:Math.floor(Math.log(h)/Math.log(E));A=A>=T.length?T.length-1:A;let $=a().round(h/Math.pow(E,A),D).toString();return""===$?"-":(""!==T[A]&&($=`${$} ${T[A]}`),$)}formatNumberFromTo(h,E="",T="",D,A,$=1){if(a().isString(h)&&(h=Number(h)),!a().isNumber(h)||!A)return"-";const Q=A.map(J=>J.toLowerCase());if(!Q.includes(E.toLowerCase())||!Q.includes(T.toLowerCase()))return`${h} ${E}`;const U=Q.indexOf(E.toLowerCase())-Q.indexOf(T.toLocaleLowerCase()),q=U>0?h*Math.pow(D,U):h/Math.pow(D,Math.abs(U));let L=a().round(q,$).toString();return L=`${L} ${T}`,L}toBytes(h,E=null){const D=["b","k","m","g","t","p","e","z","y"],A=RegExp("^(\\d+(.\\d+)?) ?(["+D.join("")+"]?(b|ib|B/s)?)?$","i").exec(h);if(null===A)return E;let $=parseFloat(A[1]);return a().isString(A[3])&&($*=Math.pow(1024,D.indexOf(A[3].toLowerCase()[0]))),Math.round($)}toMilliseconds(h){const T=/^\s*(\d+)\s*(ms)?\s*$/i.exec(h);return null!==T?+T[1]:0}toIops(h){const T=/^\s*(\d+)\s*(IOPS)?\s*$/i.exec(h);return null!==T?+T[1]:0}toOctalPermission(h){const E=["owner","group","others"];let T="";for(const D of E){let A=0;const $=h[D];$&&($.includes("read")&&(A+=4),$.includes("write")&&(A+=2),$.includes("execute")&&(A+=1)),T+=A.toString()}return T}}return e.\u0275fac=function(h){return new(h||e)},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},63285:(y,b,o)=>{"use strict";o.d(b,{Z:()=>u});var r=o(64537),a=o(51389);let u=(()=>{class c{constructor(f){this.modal=f}show(f,h,E){const T=this.modal.open(f,E);return h&&Object.assign(T.componentInstance,h),T}dismissAll(){this.modal.dismissAll()}hasOpenModals(){return this.modal.hasOpenModals()}}return c.\u0275fac=function(f){return new(f||c)(r.LFG(a.FF))},c.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})()},54462:(y,b,o)=>{"use strict";o.d(b,{P:()=>T});var r=o(25917),a=o(88002),u=o(5304),c=o(65862),e=o(64537),f=o(35732),h=o(54247),E=o(7273);let T=(()=>{class D{constructor($,Q,U){this.http=$,this.router=Q,this.mgrModuleService=U}canActivate($){return this.doCheck($)}canActivateChild($){return this.doCheck($)}doCheck($){if($.url.length>0&&D.ALLOWLIST.includes($.url[0].path))return(0,r.of)(!0);const Q=$.data.moduleStatusGuardConfig;let U=!1;return Q.backend&&this.mgrModuleService.getConfig("orchestrator").subscribe(q=>{U=Q.backend===q.orchestrator},()=>(this.router.navigate([Q.redirectTo]),(0,r.of)(!1))),this.http.get(`ui-api/${Q.uiApiPath}/status`).pipe((0,a.U)(q=>(!q.available&&!U&&this.router.navigate([Q.redirectTo||""],{state:{header:Q.header,message:q.message,section:Q.section,section_info:Q.section_info,button_name:Q.button_name,button_route:Q.button_route,button_title:Q.button_title,secondary_button_name:Q.secondary_button_name,secondary_button_route:Q.secondary_button_route,secondary_button_title:Q.secondary_button_title,uiConfig:Q.uiConfig,uiApiPath:Q.uiApiPath,icon:c.P.wrench,component:Q.component}}),q.available)),(0,u.K)(()=>(this.router.navigate([Q.redirectTo]),(0,r.of)(!1))))}}return D.ALLOWLIST=["501"],D.\u0275fac=function($){return new($||D)(e.LFG(f.eN),e.LFG(h.F0),e.LFG(E.N))},D.\u0275prov=e.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})()},97161:(y,b,o)=>{"use strict";o.d(b,{g:()=>A});var r=o(23815),a=o.n(r),u=o(26215),c=o(79765),e=o(18001),f=o(61355),h=o(96102),E=o(57924),T=o(64537),D=o(23122);let A=(()=>{class ${constructor(U,q,L){this.toastr=U,this.taskMessageService=q,this.cdDatePipe=L,this.hideToasties=!1,this.dataSource=new u.X([]),this.data$=this.dataSource.asObservable(),this.sidebarSubject=new c.xQ,this.queued=[],this.KEY="cdNotifications";const J=localStorage.getItem(this.KEY);let pe=[];a().isString(J)&&(pe=JSON.parse(J,(j,ue)=>a().isPlainObject(ue)?a().assign(new f.e,ue):ue)),this.dataSource.next(pe)}removeAll(){localStorage.removeItem(this.KEY),this.dataSource.next([])}remove(U){const q=this.dataSource.getValue();q.splice(U,1),this.dataSource.next(q),localStorage.setItem(this.KEY,JSON.stringify(q))}save(U){const q=this.dataSource.getValue();for(q.push(U),q.sort((L,J)=>L.timestamp>J.timestamp?-1:1);q.length>10;)q.pop();this.dataSource.next(q),localStorage.setItem(this.KEY,JSON.stringify(q))}show(U,q,L,J,pe){return window.setTimeout(()=>{let j;j=a().isFunction(U)?U():a().isObject(U)?U:new f.T(U,q,L,J,pe),this.queueToShow(j)},10)}queueToShow(U){this.cancel(this.queuedTimeoutId),this.queued.find(q=>a().isEqual(q,U))||this.queued.push(U),this.queuedTimeoutId=window.setTimeout(()=>{this.showQueued()},500)}showQueued(){this.getUnifiedTitleQueue().forEach(U=>{const q=new f.e(U);q.isFinishedTask||this.save(q),this.showToasty(q)})}getUnifiedTitleQueue(){return Object.values(this.queueShiftByTitle()).map(U=>{const q=U[0];return U.length>1&&(q.message="<ul>"+U.map(L=>`<li>${L.message}</li>`).join("")+"</ul>"),q})}queueShiftByTitle(){const U={};let q;for(;q=this.queued.shift();)U[q.title]||(U[q.title]=[]),U[q.title].push(q);return U}showToasty(U){this.hideToasties||this.toastr[["error","info","success"][U.type]]((U.message?U.message+"<br>":"")+this.renderTimeAndApplicationHtml(U),U.title,U.options)}renderTimeAndApplicationHtml(U){return`<small class="date">${this.cdDatePipe.transform(U.timestamp)}</small><i class="float-end custom-icon ${U.applicationClass}" title="${U.application}"></i>`}notifyTask(U,q=!0){const L=this.finishedTaskToNotification(U,q);return L.isFinishedTask=!0,this.show(L)}finishedTaskToNotification(U,q=!0){let L;return L=U.success&&q?new f.T(e.k.success,this.taskMessageService.getSuccessTitle(U)):new f.T(e.k.error,this.taskMessageService.getErrorTitle(U),this.taskMessageService.getErrorMessage(U)),L.isFinishedTask=!0,L}cancel(U){window.clearTimeout(U)}suspendToasties(U){this.hideToasties=U}toggleSidebar(U=!1){this.sidebarSubject.next(U)}}return $.\u0275fac=function(U){return new(U||$)(T.LFG(D._W),T.LFG(E.p),T.LFG(h.N))},$.\u0275prov=T.Yz7({token:$,factory:$.\u0275fac,providedIn:"root"}),$})()},81354:(y,b,o)=>{"use strict";o.d(b,{q:()=>h});var r=o(23815),a=o.n(r),u=o(88002),c=o(9837);class e{constructor(T){this.pwdPolicyEnabled=T.pwd_policy_enabled,this.pwdPolicyMinLength=T.pwd_policy_min_length,this.pwdPolicyCheckLengthEnabled=T.pwd_policy_check_length_enabled,this.pwdPolicyCheckOldpwdEnabled=T.pwd_policy_check_oldpwd_enabled,this.pwdPolicyCheckUsernameEnabled=T.pwd_policy_check_username_enabled,this.pwdPolicyCheckExclusionListEnabled=T.pwd_policy_check_exclusion_list_enabled,this.pwdPolicyCheckRepetitiveCharsEnabled=T.pwd_policy_check_repetitive_chars_enabled,this.pwdPolicyCheckSequentialCharsEnabled=T.pwd_policy_check_sequential_chars_enabled,this.pwdPolicyCheckComplexityEnabled=T.pwd_policy_check_complexity_enabled}}var f=o(64537);let h=(()=>{class E{constructor(D){this.settingsService=D}getHelpText(){return this.settingsService.getStandardSettings().pipe((0,u.U)(D=>{const A=new e(D);let $=[];if(A.pwdPolicyEnabled){$.push("Required rules for passwords:");const Q={pwdPolicyCheckLengthEnabled:"Must contain at least " + A.pwdPolicyMinLength + " characters",pwdPolicyCheckOldpwdEnabled:"Must not be the same as the previous one",pwdPolicyCheckUsernameEnabled:"Cannot contain the username",pwdPolicyCheckExclusionListEnabled:"Cannot contain any configured keyword",pwdPolicyCheckRepetitiveCharsEnabled:"Cannot contain any repetitive characters e.g. \"aaa\"",pwdPolicyCheckSequentialCharsEnabled:"Cannot contain any sequential characters e.g. \"abc\"",pwdPolicyCheckComplexityEnabled:"Must consist of characters from the following groups:\n * Alphabetic a-z, A-Z\n * Numbers 0-9\n * Special chars: !\"#$%& '()*+,-./:;<=>?@[\\]^_`{{|}}~\n * Any other characters (signs)"};$=$.concat(a().keys(Q).filter(U=>a().get(A,U)).map(U=>"- "+a().get(Q,U)))}return $.join("\n")}))}mapCreditsToCssClass(D){let A="very-strong";return D<10?A="too-weak":D<15?A="weak":D<20?A="ok":D<25&&(A="strong"),A}}return E.\u0275fac=function(D){return new(D||E)(f.LFG(c.g))},E.\u0275prov=f.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})()},34089:(y,b,o)=>{"use strict";o.d(b,{n:()=>u});var r=o(30633),a=o(64537);let u=(()=>{class c{constructor(){this.sections=[{heading:"Quality of Service",class:"quality-of-service",options:[{name:"rbd_qos_bps_limit",displayName:"BPS Limit",description:"The desired limit of IO bytes per second.",type:r.r.bps},{name:"rbd_qos_iops_limit",displayName:"IOPS Limit",description:"The desired limit of IO operations per second.",type:r.r.iops},{name:"rbd_qos_read_bps_limit",displayName:"Read BPS Limit",description:"The desired limit of read bytes per second.",type:r.r.bps},{name:"rbd_qos_read_iops_limit",displayName:"Read IOPS Limit",description:"The desired limit of read operations per second.",type:r.r.iops},{name:"rbd_qos_write_bps_limit",displayName:"Write BPS Limit",description:"The desired limit of write bytes per second.",type:r.r.bps},{name:"rbd_qos_write_iops_limit",displayName:"Write IOPS Limit",description:"The desired limit of write operations per second.",type:r.r.iops},{name:"rbd_qos_bps_burst",displayName:"BPS Burst",description:"The desired burst limit of IO bytes.",type:r.r.bps},{name:"rbd_qos_iops_burst",displayName:"IOPS Burst",description:"The desired burst limit of IO operations.",type:r.r.iops},{name:"rbd_qos_read_bps_burst",displayName:"Read BPS Burst",description:"The desired burst limit of read bytes.",type:r.r.bps},{name:"rbd_qos_read_iops_burst",displayName:"Read IOPS Burst",description:"The desired burst limit of read operations.",type:r.r.iops},{name:"rbd_qos_write_bps_burst",displayName:"Write BPS Burst",description:"The desired burst limit of write bytes.",type:r.r.bps},{name:"rbd_qos_write_iops_burst",displayName:"Write IOPS Burst",description:"The desired burst limit of write operations.",type:r.r.iops}]}]}static getOptionsFromSections(f){return f.map(h=>h.options).reduce((h,E)=>h.concat(E))}filterConfigOptionsByName(f){return c.getOptionsFromSections(this.sections).filter(h=>h.name===f)}getOptionValueByName(f,h,E=""){const T=this.filterConfigOptionsByName(f);return 1===T.length?T.pop()[h]:E}getWritableSections(){return this.sections.map(f=>(f.options=f.options.filter(h=>!h.readOnly),f))}getOptionFields(){return c.getOptionsFromSections(this.sections)}getWritableOptionFields(){return c.getOptionsFromSections(this.getWritableSections())}getOptionByName(f){return this.filterConfigOptionsByName(f).pop()}getDisplayName(f){return this.getOptionValueByName(f,"displayName")}getDescription(f){return this.getOptionValueByName(f,"description")}}return c.\u0275fac=function(f){return new(f||c)},c.\u0275prov=a.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})()},98677:(y,b,o)=>{"use strict";o.d(b,{s:()=>E});var r=o(26215),a=o(70882),u=o(33637),c=o(26561);function f(T){const{subscriber:D,counter:A,period:$}=T;D.next(A),this.schedule({subscriber:D,counter:A+1,period:$},$)}var h=o(64537);let E=(()=>{class T{constructor(A){this.ngZone=A,this.intervalDataSource=new r.X(null),this.intervalData$=this.intervalDataSource.asObservable();const $=parseInt(sessionStorage.getItem("dashboard_interval"),10)||5e3;this.setRefreshInterval($)}setRefreshInterval(A){this.intervalTime=A,sessionStorage.setItem("dashboard_interval",A.toString()),this.intervalSubscription&&this.intervalSubscription.unsubscribe(),this.ngZone.runOutsideAngular(()=>{this.intervalSubscription=function e(T=0,D=u.P){return(!(0,c.k)(T)||T<0)&&(T=0),(!D||"function"!=typeof D.schedule)&&(D=u.P),new a.y(A=>(A.add(D.schedule(f,T,{subscriber:A,counter:0,period:T})),A))}(this.intervalTime).subscribe(()=>this.ngZone.run(()=>{this.intervalDataSource.next(this.intervalTime)}))})}getRefreshInterval(){return this.intervalTime}ngOnDestroy(){this.intervalSubscription&&this.intervalSubscription.unsubscribe()}}return T.\u0275fac=function(A){return new(A||T)(h.LFG(h.R0b))},T.\u0275prov=h.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},74255:(y,b,o)=>{"use strict";o.d(b,{J:()=>T});var r=o(23815),a=o.n(r),u=o(26215),c=o(45435),e=o(28049),f=o(64537),h=o(35732),E=o(36848);let T=(()=>{class D{constructor($,Q){this.http=$,this.timerService=Q,this.REFRESH_INTERVAL=5e3,this.summaryDataSource=new u.X(null),this.summaryData$=this.summaryDataSource.asObservable()}startPolling(){return this.timerService.get(()=>this.retrieveSummaryObservable(),this.REFRESH_INTERVAL).subscribe(this.retrieveSummaryObserver())}refresh(){return this.retrieveSummaryObservable().subscribe(this.retrieveSummaryObserver())}retrieveSummaryObservable(){return this.http.get("api/summary")}retrieveSummaryObserver(){return $=>{this.summaryDataSource.next($)}}subscribeOnce($,Q){return this.summaryData$.pipe((0,c.h)(U=>!!U),(0,e.P)()).subscribe($,Q)}subscribe($,Q){return this.summaryData$.pipe((0,c.h)(U=>!!U)).subscribe($,Q)}addRunningTask($){const Q=this.summaryDataSource.getValue();Q&&(a().isArray(Q.executing_tasks)?Q.executing_tasks.find(q=>q.name===$.name&&a().isEqual(q.metadata,$.metadata))||Q.executing_tasks.push($):Q.executing_tasks=[$],this.summaryDataSource.next(Q))}}return D.\u0275fac=function($){return new($||D)(f.LFG(h.eN),f.LFG(E.f))},D.\u0275prov=f.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})()},38047:(y,b,o)=>{"use strict";o.d(b,{j:()=>c});var r=o(74255),a=o(57924),u=o(64537);let c=(()=>{class e{constructor(h,E){this.taskMessageService=h,this.summaryService=E}init(h,E,T,D,A,$,Q){this.getUpdate=h,this.preProcessing=E,this.setList=T,this.onFetchError=D,this.taskFilter=A,this.itemFilter=$,this.builders=Q||{},this.summaryDataSubscription=this.summaryService.subscribe(U=>{this.summary=U,this.fetch()},this.onFetchError)}fetch(h=null){this.getUpdate(h).subscribe(E=>{this.updateData(E,this.summary?.executing_tasks.filter(this.taskFilter))},this.onFetchError)}updateData(h,E){const T=this.preProcessing?this.preProcessing(h):h;this.addMissing(T,E),T.forEach(D=>{const A=E.filter($=>this.itemFilter(D,$));D.cdExecuting=this.getTaskAction(A)}),this.setList(T)}addMissing(h,E){const T=this.builders.default;E?.forEach(D=>{const A=h.find(Q=>this.itemFilter(Q,D)),$=this.builders[D.name];!A&&($||T)&&h.push($?$(D.metadata):T(D.metadata))})}getTaskAction(h){if(0!==h.length)return h.map(E=>{const T=E.progress?` ${E.progress}%`:"";return this.taskMessageService.getRunningText(E)+"..."+T}).join(", ")}ngOnDestroy(){this.summaryDataSubscription&&this.summaryDataSubscription.unsubscribe()}}return e.\u0275fac=function(h){return new(h||e)(u.LFG(a.p),u.LFG(r.J))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac}),e})()},71099:(y,b,o)=>{"use strict";o.d(b,{k:()=>e});var r=o(23815),a=o.n(r),u=o(64537);class c{constructor(h,E,T){this.name=h,this.metadata=E,this.onTaskFinished=T}}let e=(()=>{class f{constructor(){this.subscriptions=[]}init(E){return E.subscribe(T=>{const D=T.executing_tasks,A=T.finished_tasks,$=[];for(const Q of this.subscriptions){const U=this._getTask(Q,A),q=this._getTask(Q,D);null!==U&&null===q&&Q.onTaskFinished(U),null!==q&&$.push(Q),this.subscriptions=$}})}subscribe(E,T,D){this.subscriptions.push(new c(E,T,D))}_getTask(E,T){for(const D of T)if(D.name===E.name&&a().isEqual(D.metadata,E.metadata))return D;return null}}return f.\u0275fac=function(E){return new(E||f)},f.\u0275prov=u.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},57924:(y,b,o)=>{"use strict";o.d(b,{p:()=>E});var r=o(23815),a=o.n(r),u=(()=>{return(T=u||(u={})).auth="Login",T.cephfs="CephFS",T.rbd="RBD",T.pool="Pool",T.osd="OSD",T.role="Role",T.user="User",u;var T})(),c=o(19358),e=o(64537);class f{constructor(D,A,$){this.running=D,this.failure=A,this.success=$}}class h{failure(D){return "Failed to " + this.operation.failure + " " + this.involves(D) + ""}running(D){return`${this.operation.running} ${this.involves(D)}`}success(D){return`${this.operation.success} ${this.involves(D)}`}constructor(D,A,$){this.operation=D,this.involves=A,this.errors=$||(()=>({}))}}let E=(()=>{class T{constructor(){this.defaultMessage=this.newTaskMessage(new f("Executing","execute","Executed"),A=>A&&(u[A.component]||A.component)||"unknown task",()=>({})),this.commonOperations={create:new f("Creating","create","Created"),update:new f("Updating","update","Updated"),delete:new f("Deleting","delete","Deleted"),add:new f("Adding","add","Added"),remove:new f("Removing","remove","Removed"),import:new f("Importing","import","Imported"),activate:new f("Importing","activate","Activated"),deactivate:new f("Importing","deactivate","Deactivated")},this.rbd={default:A=>"RBD '" + A.image_spec + "'",create:A=>{const $=new c.N(A.pool_name,A.namespace,A.image_name).toString();return "RBD '" + $ + "'"},child:A=>{const $=new c.N(A.child_pool_name,A.child_namespace,A.child_image_name).toString();return "RBD '" + $ + "'"},destination:A=>{const $=new c.N(A.dest_pool_name,A.dest_namespace,A.dest_image_name).toString();return "RBD '" + $ + "'"},snapshot:A=>"RBD snapshot '" + A.image_spec + "@" + A.snapshot_name + "'"},this.rbd_mirroring={site_name:()=>"mirroring site name",bootstrap:()=>"bootstrap token",pool:A=>"mirror mode for pool '" + A.pool_name + "'",pool_peer:A=>"mirror peer for pool '" + A.pool_name + "'"},this.grafana={update_dashboards:()=>"all dashboards"},this.messages={"host/add":this.newTaskMessage(this.commonOperations.add,A=>this.host(A)),"host/remove":this.newTaskMessage(this.commonOperations.remove,A=>this.host(A)),"host/identify_device":this.newTaskMessage(new f("Identifying","identify","Identified"),A=>"device '" + A.device + "' on host '" + A.hostname + "'"),"osd/create":this.newTaskMessage(this.commonOperations.create,A=>"OSDs (DriveGroups: " + A.tracking_id + ")"),"osd/delete":this.newTaskMessage(this.commonOperations.delete,A=>this.osd(A)),"pool/create":this.newTaskMessage(this.commonOperations.create,A=>this.pool(A),A=>({17:"Name is already used by " + this.pool(A) + "."})),"pool/edit":this.newTaskMessage(this.commonOperations.update,A=>this.pool(A),A=>({17:"Name is already used by " + this.pool(A) + "."})),"pool/delete":this.newTaskMessage(this.commonOperations.delete,A=>this.pool(A)),"ecp/create":this.newTaskMessage(this.commonOperations.create,A=>this.ecp(A),A=>({17:"Name is already used by " + this.ecp(A) + "."})),"ecp/delete":this.newTaskMessage(this.commonOperations.delete,A=>this.ecp(A)),"crushRule/create":this.newTaskMessage(this.commonOperations.create,A=>this.crushRule(A),A=>({17:"Name is already used by " + this.crushRule(A) + "."})),"crushRule/delete":this.newTaskMessage(this.commonOperations.delete,A=>this.crushRule(A)),"rbd/create":this.newTaskMessage(this.commonOperations.create,this.rbd.create,A=>({17:"Name is already used by " + this.rbd.create(A) + "."})),"rbd/edit":this.newTaskMessage(this.commonOperations.update,this.rbd.default,A=>({17:"Name is already used by " + this.rbd.default(A) + "."})),"rbd/delete":this.newTaskMessage(this.commonOperations.delete,this.rbd.default,A=>({16:"" + this.rbd.default(A) + " is busy.",39:"" + this.rbd.default(A) + " contains snapshots."})),"rbd/clone":this.newTaskMessage(new f("Cloning","clone","Cloned"),this.rbd.child,A=>({17:"Name is already used by " + this.rbd.child(A) + ".",22:"Snapshot of " + this.rbd.child(A) + " must be protected."})),"rbd/copy":this.newTaskMessage(new f("Copying","copy","Copied"),this.rbd.destination,A=>({17:"Name is already used by " + this.rbd.destination(A) + "."})),"rbd/flatten":this.newTaskMessage(new f("Flattening","flatten","Flattened"),this.rbd.default),"rbd/snap/create":this.newTaskMessage(this.commonOperations.create,this.rbd.snapshot,A=>({17:"Name is already used by " + this.rbd.snapshot(A) + "."})),"rbd/snap/edit":this.newTaskMessage(this.commonOperations.update,this.rbd.snapshot,A=>({16:"Cannot unprotect " + this.rbd.snapshot(A) + " because it contains child images."})),"rbd/snap/delete":this.newTaskMessage(this.commonOperations.delete,this.rbd.snapshot,A=>({16:"Cannot delete " + this.rbd.snapshot(A) + " because it's protected."})),"rbd/snap/rollback":this.newTaskMessage(new f("Rolling back","rollback","Rolled back"),this.rbd.snapshot),"rbd/trash/move":this.newTaskMessage(new f("Moving","move","Moved"),A=>"image '" + A.image_spec + "' to trash",()=>({2:"Could not find image."})),"rbd/trash/restore":this.newTaskMessage(new f("Restoring","restore","Restored"),A=>"image '" + A.image_id_spec + "' into '" + A.new_image_name + "'",A=>({17:"Image name '" + A.new_image_name + "' is already in use."})),"rbd/trash/remove":this.newTaskMessage(new f("Deleting","delete","Deleted"),A=>"image '" + A.image_id_spec + "'"),"rbd/trash/purge":this.newTaskMessage(new f("Purging","purge","Purged"),A=>{let $="all pools";return A.pool_name&&($=`'${A.pool_name}'`),"images from " + $ + ""}),"rbd/mirroring/site_name/edit":this.newTaskMessage(this.commonOperations.update,this.rbd_mirroring.site_name,()=>({})),"rbd/mirroring/bootstrap/create":this.newTaskMessage(this.commonOperations.create,this.rbd_mirroring.bootstrap,()=>({})),"rbd/mirroring/bootstrap/import":this.newTaskMessage(this.commonOperations.import,this.rbd_mirroring.bootstrap,()=>({})),"rbd/mirroring/pool/edit":this.newTaskMessage(this.commonOperations.update,this.rbd_mirroring.pool,()=>({16:"Cannot disable mirroring because it contains a peer."})),"rbd/mirroring/peer/add":this.newTaskMessage(this.commonOperations.create,this.rbd_mirroring.pool_peer,()=>({})),"rbd/mirroring/peer/edit":this.newTaskMessage(this.commonOperations.update,this.rbd_mirroring.pool_peer,()=>({})),"rbd/mirroring/peer/delete":this.newTaskMessage(this.commonOperations.delete,this.rbd_mirroring.pool_peer,()=>({})),"iscsi/target/create":this.newTaskMessage(this.commonOperations.create,A=>this.iscsiTarget(A)),"iscsi/target/edit":this.newTaskMessage(this.commonOperations.update,A=>this.iscsiTarget(A)),"iscsi/target/delete":this.newTaskMessage(this.commonOperations.delete,A=>this.iscsiTarget(A)),"nfs/create":this.newTaskMessage(this.commonOperations.create,A=>this.nfs(A)),"nfs/edit":this.newTaskMessage(this.commonOperations.update,A=>this.nfs(A)),"nfs/delete":this.newTaskMessage(this.commonOperations.delete,A=>this.nfs(A)),"grafana/dashboards/update":this.newTaskMessage(this.commonOperations.update,this.grafana.update_dashboards,()=>({})),"service/create":this.newTaskMessage(this.commonOperations.create,A=>this.service(A)),"service/edit":this.newTaskMessage(this.commonOperations.update,A=>this.service(A)),"service/delete":this.newTaskMessage(this.commonOperations.delete,A=>this.service(A)),"crud-component/create":this.newTaskMessage(this.commonOperations.create,A=>this.crudMessage(A)),"crud-component/edit":this.newTaskMessage(this.commonOperations.update,A=>this.crudMessage(A)),"crud-component/import":this.newTaskMessage(this.commonOperations.import,A=>this.crudMessage(A)),"crud-component/id":this.newTaskMessage(this.commonOperations.delete,A=>this.crudMessageId(A)),"cephfs/create":this.newTaskMessage(this.commonOperations.create,A=>this.volume(A)),"cephfs/edit":this.newTaskMessage(this.commonOperations.update,A=>this.volume(A)),"cephfs/auth":this.newTaskMessage(this.commonOperations.update,A=>this.auth(A)),"cephfs/remove":this.newTaskMessage(this.commonOperations.remove,A=>this.volume(A)),"cephfs/subvolume/create":this.newTaskMessage(this.commonOperations.create,A=>this.subvolume(A)),"cephfs/subvolume/edit":this.newTaskMessage(this.commonOperations.update,A=>this.subvolume(A)),"cephfs/subvolume/remove":this.newTaskMessage(this.commonOperations.remove,A=>this.subvolume(A)),"cephfs/subvolume/group/create":this.newTaskMessage(this.commonOperations.create,A=>this.subvolumegroup(A)),"cephfs/subvolume/group/edit":this.newTaskMessage(this.commonOperations.update,A=>this.subvolumegroup(A)),"cephfs/subvolume/group/remove":this.newTaskMessage(this.commonOperations.remove,A=>this.subvolumegroup(A)),"cephfs/subvolume/snapshot/create":this.newTaskMessage(this.commonOperations.create,A=>this.snapshot(A)),"cephfs/subvolume/snapshot/delete":this.newTaskMessage(this.commonOperations.delete,A=>this.snapshot(A)),"cephfs/snapshot/schedule/create":this.newTaskMessage(this.commonOperations.add,A=>this.snapshotSchedule(A)),"cephfs/snapshot/schedule/edit":this.newTaskMessage(this.commonOperations.update,A=>this.snapshotSchedule(A)),"cephfs/snapshot/schedule/delete":this.newTaskMessage(this.commonOperations.delete,A=>this.snapshotSchedule(A)),"cephfs/snapshot/schedule/activate":this.newTaskMessage(this.commonOperations.activate,A=>this.snapshotSchedule(A)),"cephfs/snapshot/schedule/deactivate":this.newTaskMessage(this.commonOperations.deactivate,A=>this.snapshotSchedule(A))}}newTaskMessage(A,$,Q){return new h(A,$,Q)}host(A){return "host '" + A.hostname + "'"}osd(A){return "OSD '" + A.svc_id + "'"}pool(A){return "pool '" + A.pool_name + "'"}ecp(A){return "erasure code profile '" + A.name + "'"}crushRule(A){return "crush rule '" + A.name + "'"}iscsiTarget(A){return "target '" + A.target_iqn + "'"}nfs(A){return "NFS '" + A.cluster_id + ":" + (A.export_id ? A.export_id : A.path) + "'"}service(A){return "Service '" + A.service_name + "'"}crudMessage(A){let $=A.__message;return a().forEach(A,(Q,U)=>{"__message"!=U&&($=$.replace("{"+U+"}",Q))}),"" + $ + ""}volume(A){return "'" + A.volumeName + "'"}auth(A){return "client." + A.clientId + " authorization successfully"}subvolume(A){return "subvolume '" + A.subVolumeName + "'"}subvolumegroup(A){return "subvolume group '" + A.subvolumegroupName + "'"}snapshot(A){return "snapshot '" + A.snapshotName + "'"}snapshotSchedule(A){return "snapshot schedule for path '" + A?.path + "'"}crudMessageId(A){return "" + A + ""}_getTaskTitle(A){return A.name&&A.name.startsWith("progress/")?this.newTaskMessage(new f(A.name.replace("progress/",""),"",A.name.replace("progress/","")),$=>""):this.messages[A.name]||this.defaultMessage}getSuccessTitle(A){return this._getTaskTitle(A).success(A.metadata)}getErrorMessage(A){return this._getTaskTitle(A).errors(A.metadata)[A.exception.code]||A.exception.detail}getErrorTitle(A){return this._getTaskTitle(A).failure(A.metadata)}getRunningTitle(A){return this._getTaskTitle(A).running(A.metadata)}getRunningText(A){return this._getTaskTitle(A).operation.running}}return T.\u0275fac=function(A){return new(A||T)},T.\u0275prov=e.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},32337:(y,b,o)=>{"use strict";o.d(b,{P:()=>D});var r=o(70882),a=o(18001),u=o(61355),c=o(60737),e=o(97161),f=o(74255),h=o(71099),E=o(57924),T=o(64537);let D=(()=>{class A{constructor(Q,U,q,L){this.notificationService=Q,this.summaryService=U,this.taskMessageService=q,this.taskManagerService=L}wrapTaskAroundCall({task:Q,call:U}){return new r.y(q=>{U.subscribe(L=>{202===L.status?this._handleExecutingTasks(Q):(this.summaryService.refresh(),Q.success=!0,this.notificationService.notifyTask(Q))},L=>{Q.success=!1,Q.exception=L.error,q.error(L)},()=>{q.complete()})})}_handleExecutingTasks(Q){const U=new u.T(a.k.info,this.taskMessageService.getRunningTitle(Q));U.isFinishedTask=!0,this.notificationService.show(U);const q=new c.o(Q.name,Q.metadata);this.summaryService.addRunningTask(q),this.taskManagerService.subscribe(q.name,q.metadata,L=>{this.notificationService.notifyTask(L)})}}return A.\u0275fac=function(Q){return new(Q||A)(T.LFG(e.g),T.LFG(f.J),T.LFG(E.p),T.LFG(h.k))},A.\u0275prov=T.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})()},24737:(y,b,o)=>{"use strict";o.d(b,{F:()=>a});var r=o(64537);let a=(()=>{class u{constructor(){}format(e){const f=e.nativeElement.value;try{const h=JSON.stringify(JSON.parse(f),null,2);e.nativeElement.value=h,e.nativeElement.style.height="auto";const D=20*h.split("\n").length;e.nativeElement.style.height=D+"px"}catch{}}}return u.\u0275fac=function(e){return new(e||u)},u.\u0275prov=r.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},36848:(y,b,o)=>{"use strict";o.d(b,{f:()=>$});var r=o(46797),a=o(59746),u=o(43190),c=o(47349),e=o(2817),f=o(64537),h=o(33637);class E{constructor(U){this.zone=U,this.scheduler=h.z}now(){return this.scheduler.now()}}let T=(()=>{class Q extends E{constructor(q){super(q)}schedule(...q){return this.zone.runOutsideAngular(()=>this.scheduler.schedule.apply(this.scheduler,q))}}return Q.\u0275fac=function(q){return new(q||Q)(f.LFG(f.R0b))},Q.\u0275prov=f.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),D=(()=>{class Q extends E{constructor(q){super(q)}schedule(...q){return this.zone.run(()=>this.scheduler.schedule.apply(this.scheduler,q))}}return Q.\u0275fac=function(q){return new(q||Q)(f.LFG(f.R0b))},Q.\u0275prov=f.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),A=(()=>{class Q{constructor(q,L){this.leave=q,this.enter=L}}return Q.\u0275fac=function(q){return new(q||Q)(f.LFG(T),f.LFG(D))},Q.\u0275prov=f.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})(),$=(()=>{class Q{constructor(q){this.ngZone=q,this.DEFAULT_REFRESH_INTERVAL=5e3,this.DEFAULT_DUE_TIME=0}get(q,L=this.DEFAULT_REFRESH_INTERVAL,J=this.DEFAULT_DUE_TIME){return(0,r.H)(J,L,this.ngZone.leave).pipe((0,a.QV)(this.ngZone.enter),(0,u.w)(q),(0,c.d)({refCount:!0,bufferSize:1}),(0,e.r)())}}return Q.\u0275fac=function(q){return new(q||Q)(f.LFG(A))},Q.\u0275prov=f.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"}),Q})()},51847:(y,b,o)=>{"use strict";o.d(b,{F:()=>u});var r=o(88692),a=o(79512);class u{constructor(e){this.base=e}static concatURLSegments(e){return e.reduce(r.Ye.joinWithSlash)}static buildURL(e,...f){return u.concatURLSegments([...e?["/"]:[],...f])}getURL(e,f=!0,...h){return u.buildURL(f,this.base,e,...h)}getCreate(e=!0){return this.getURL(a.MQ.CREATE,e)}getCreateFrom(e,f=!0){return this.getURL(a.MQ.CREATE,f,e)}getDelete(e=!0){return this.getURL(a.MQ.DELETE,e)}getEdit(e,f=!0){return this.getURL(a.MQ.EDIT,f,e)}getUpdate(e,f=!0){return this.getURL(a.MQ.UPDATE,f,e)}getAdd(e=!0){return this.getURL(a.MQ.ADD,e)}getRemove(e=!0){return this.getURL(a.MQ.REMOVE,e)}getRecreate(e,f=!0){return this.getURL(a.MQ.RECREATE,f,e)}}},44466:(y,b,o)=>{"use strict";o.d(b,{m:()=>J});var r=o(88692),a=o(20092),u=o(13066),c=o(43765),e=o(99475),f=o(15626),h=o(40267),E=o(35540),T=o(12455),D=o(45510),A=o(47640),$=o(28211),Q=o(67464),U=o(39017),q=o(39054),L=o(64537);let J=(()=>{class pe{}return pe.\u0275fac=function(ue){return new(ue||pe)},pe.\u0275mod=L.oAB({type:pe}),pe.\u0275inj=L.cJS({providers:[A.j,D.P,$.H,e.P],imports:[r.ez,T.D,f.K,h.t,E.o,a.UX,u.X0.forRoot({types:[{name:"array",component:Q.l},{name:"object",component:U.o},{name:"input",component:q.v}],validationMessages:[{name:"required",message:"This field is required"}]}),c.z,f.K,T.D,h.t,E.o]}),pe})()},92340:(y,b,o)=>{"use strict";o.d(b,{N:()=>r});const r={default_lang:"en-US",production:!0,year:"2024"}},34963:(y,b,o)=>{"use strict";var r={};o.r(r),o.d(r,{JsonPatchError:()=>Tf,_areEquals:()=>JE,applyOperation:()=>o0,applyPatch:()=>J1,applyReducer:()=>D5,deepClone:()=>O5,getValueByPointer:()=>WE,validate:()=>W3,validator:()=>pb});var a={};o.r(a),o.d(a,{compare:()=>L5,generate:()=>PA,observe:()=>F5,unobserve:()=>I5});var u={};o.r(u),o.d(u,{cookie:()=>yk,header:()=>vk,path:()=>hk,query:()=>mk});var c=o(5998),e=o(64537),f=o(88692),h=o(35732),E=o(14091);function D(t){return new e.vHH(3e3,!1)}function _r(){return typeof window<"u"&&typeof window.document<"u"}function oi(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ri(t){switch(t.length){case 0:return new E.ZN;case 1:return t[0];default:return new E.ZE(t)}}function Tr(t,i,n,s,l=new Map,_=new Map){const g=[],M=[];let x=-1,Y=null;if(s.forEach(K=>{const le=K.get("offset"),fe=le==x,ge=fe&&Y||new Map;K.forEach((Se,Ge)=>{let we=Ge,He=Se;if("offset"!==Ge)switch(we=i.normalizePropertyName(we,g),He){case E.k1:He=l.get(Ge);break;case E.l3:He=_.get(Ge);break;default:He=i.normalizeStyleValue(Ge,we,He,g)}ge.set(we,He)}),fe||M.push(ge),Y=ge,x=le}),g.length)throw function ht(t){return new e.vHH(3502,!1)}();return M}function ft(t,i,n,s){switch(i){case"start":t.onStart(()=>s(n&&sn(n,"start",t)));break;case"done":t.onDone(()=>s(n&&sn(n,"done",t)));break;case"destroy":t.onDestroy(()=>s(n&&sn(n,"destroy",t)))}}function sn(t,i,n){const _=At(t.element,t.triggerName,t.fromState,t.toState,i||t.phaseName,n.totalTime??t.totalTime,!!n.disabled),g=t._data;return null!=g&&(_._data=g),_}function At(t,i,n,s,l="",_=0,g){return{element:t,triggerName:i,fromState:n,toState:s,phaseName:l,totalTime:_,disabled:!!g}}function Ln(t,i,n){let s=t.get(i);return s||t.set(i,s=n),s}function rr(t){const i=t.indexOf(":");return[t.substring(1,i),t.slice(i+1)]}let Lr=(t,i)=>!1,Fi=(t,i,n)=>[],so=null;function Vo(t){const i=t.parentNode||t.host;return i===so?null:i}(oi()||typeof Element<"u")&&(_r()?(so=(()=>document.documentElement)(),Lr=(t,i)=>{for(;i;){if(i===t)return!0;i=Vo(i)}return!1}):Lr=(t,i)=>t.contains(i),Fi=(t,i,n)=>{if(n)return Array.from(t.querySelectorAll(i));const s=t.querySelector(i);return s?[s]:[]});let ji=null,jr=!1;const ts=Lr,io=Fi;let Pn=(()=>{class t{validateStyleProperty(n){return function Pr(t){ji||(ji=function cs(){return typeof document<"u"?document.body:null}()||{},jr=!!ji.style&&"WebkitAppearance"in ji.style);let i=!0;return ji.style&&!function Ni(t){return"ebkit"==t.substring(1,6)}(t)&&(i=t in ji.style,!i&&jr&&(i="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in ji.style)),i}(n)}matchesElement(n,s){return!1}containsElement(n,s){return ts(n,s)}getParentElement(n){return Vo(n)}query(n,s,l){return io(n,s,l)}computeStyle(n,s,l){return l||""}animate(n,s,l,_,g,M=[],x){return new E.ZN(l,_)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})(),Nn=(()=>{class t{}return t.NOOP=new Pn,t})();const Ut=1e3,Qe="ng-enter",Ve="ng-leave",tn="ng-trigger",ot=".ng-trigger",xt="ng-animating",qt=".ng-animating";function tr(t){if("number"==typeof t)return t;const i=t.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:vr(parseFloat(i[1]),i[2])}function vr(t,i){return"s"===i?t*Ut:t}function An(t,i,n){return t.hasOwnProperty("duration")?t:function yr(t,i,n){let l,_=0,g="";if("string"==typeof t){const M=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===M)return i.push(D()),{duration:0,delay:0,easing:""};l=vr(parseFloat(M[1]),M[2]);const x=M[3];null!=x&&(_=vr(parseFloat(x),M[4]));const Y=M[5];Y&&(g=Y)}else l=t;if(!n){let M=!1,x=i.length;l<0&&(i.push(function A(){return new e.vHH(3100,!1)}()),M=!0),_<0&&(i.push(function $(){return new e.vHH(3101,!1)}()),M=!0),M&&i.splice(x,0,D())}return{duration:l,delay:_,easing:g}}(t,i,n)}function Nr(t,i={}){return Object.keys(t).forEach(n=>{i[n]=t[n]}),i}function nr(t){const i=new Map;return Object.keys(t).forEach(n=>{i.set(n,t[n])}),i}function Wn(t,i=new Map,n){if(n)for(let[s,l]of n)i.set(s,l);for(let[s,l]of t)i.set(s,l);return i}function Wt(t,i,n){return n?i+":"+n+";":""}function kt(t){let i="";for(let n=0;n<t.style.length;n++){const s=t.style.item(n);i+=Wt(0,s,t.style.getPropertyValue(s))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(i+=Wt(0,ni(n),t.style[n]));t.setAttribute("style",i)}function st(t,i,n){t.style&&(i.forEach((s,l)=>{const _=Ii(l);n&&!n.has(l)&&n.set(l,t.style[_]),t.style[_]=s}),oi()&&kt(t))}function zt(t,i){t.style&&(i.forEach((n,s)=>{const l=Ii(s);t.style[l]=""}),oi()&&kt(t))}function er(t){return Array.isArray(t)?1==t.length?t[0]:(0,E.vP)(t):t}const mi=new RegExp("{{\\s*(.+?)\\s*}}","g");function gi(t){let i=[];if("string"==typeof t){let n;for(;n=mi.exec(t);)i.push(n[1]);mi.lastIndex=0}return i}function Jo(t,i,n){const s=t.toString(),l=s.replace(mi,(_,g)=>{let M=i[g];return null==M&&(n.push(function U(t){return new e.vHH(3003,!1)}()),M=""),M.toString()});return l==s?t:l}function os(t){const i=[];let n=t.next();for(;!n.done;)i.push(n.value),n=t.next();return i}const hr=/-+([a-z0-9])/g;function Ii(t){return t.replace(hr,(...i)=>i[1].toUpperCase())}function ni(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Gi(t,i,n){switch(i.type){case 7:return t.visitTrigger(i,n);case 0:return t.visitState(i,n);case 1:return t.visitTransition(i,n);case 2:return t.visitSequence(i,n);case 3:return t.visitGroup(i,n);case 4:return t.visitAnimate(i,n);case 5:return t.visitKeyframes(i,n);case 6:return t.visitStyle(i,n);case 8:return t.visitReference(i,n);case 9:return t.visitAnimateChild(i,n);case 10:return t.visitAnimateRef(i,n);case 11:return t.visitQuery(i,n);case 12:return t.visitStagger(i,n);default:throw function q(t){return new e.vHH(3004,!1)}()}}function Wi(t,i){return window.getComputedStyle(t)[i]}const kr="*";function Qi(t,i){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(s=>function xo(t,i,n){if(":"==t[0]){const x=function Ss(t,i){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,s)=>parseFloat(s)>parseFloat(n);case":decrement":return(n,s)=>parseFloat(s)<parseFloat(n);default:return i.push(function ze(t){return new e.vHH(3016,!1)}()),"* => *"}}(t,n);if("function"==typeof x)return void i.push(x);t=x}const s=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return n.push(function Et(t){return new e.vHH(3015,!1)}()),i;const l=s[1],_=s[2],g=s[3];i.push($s(l,g));"<"==_[0]&&!(l==kr&&g==kr)&&i.push($s(g,l))}(s,n,i)):n.push(t),n}const bs=new Set(["true","1"]),ko=new Set(["false","0"]);function $s(t,i){const n=bs.has(t)||ko.has(t),s=bs.has(i)||ko.has(i);return(l,_)=>{let g=t==kr||t==l,M=i==kr||i==_;return!g&&n&&"boolean"==typeof l&&(g=l?bs.has(t):ko.has(t)),!M&&s&&"boolean"==typeof _&&(M=_?bs.has(i):ko.has(i)),g&&M}}const Ys=new RegExp("s*:selfs*,?","g");function ra(t,i,n,s){return new oc(t).build(i,n,s)}class oc{constructor(i){this._driver=i}build(i,n,s){const l=new Da(n);return this._resetContextStyleTimingState(l),Gi(this,er(i),l)}_resetContextStyleTimingState(i){i.currentQuerySelector="",i.collectedStyles=new Map,i.collectedStyles.set("",new Map),i.currentTime=0}visitTrigger(i,n){let s=n.queryCount=0,l=n.depCount=0;const _=[],g=[];return"@"==i.name.charAt(0)&&n.errors.push(function J(){return new e.vHH(3006,!1)}()),i.definitions.forEach(M=>{if(this._resetContextStyleTimingState(n),0==M.type){const x=M,Y=x.name;Y.toString().split(/\s*,\s*/).forEach(K=>{x.name=K,_.push(this.visitState(x,n))}),x.name=Y}else if(1==M.type){const x=this.visitTransition(M,n);s+=x.queryCount,l+=x.depCount,g.push(x)}else n.errors.push(function pe(){return new e.vHH(3007,!1)}())}),{type:7,name:i.name,states:_,transitions:g,queryCount:s,depCount:l,options:null}}visitState(i,n){const s=this.visitStyle(i.styles,n),l=i.options&&i.options.params||null;if(s.containsDynamicStyles){const _=new Set,g=l||{};s.styles.forEach(M=>{M instanceof Map&&M.forEach(x=>{gi(x).forEach(Y=>{g.hasOwnProperty(Y)||_.add(Y)})})}),_.size&&(os(_.values()),n.errors.push(function j(t,i){return new e.vHH(3008,!1)}()))}return{type:0,name:i.name,style:s,options:l?{params:l}:null}}visitTransition(i,n){n.queryCount=0,n.depCount=0;const s=Gi(this,er(i.animation),n);return{type:1,matchers:Qi(i.expr,n.errors),animation:s,queryCount:n.queryCount,depCount:n.depCount,options:Eo(i.options)}}visitSequence(i,n){return{type:2,steps:i.steps.map(s=>Gi(this,s,n)),options:Eo(i.options)}}visitGroup(i,n){const s=n.currentTime;let l=0;const _=i.steps.map(g=>{n.currentTime=s;const M=Gi(this,g,n);return l=Math.max(l,n.currentTime),M});return n.currentTime=l,{type:3,steps:_,options:Eo(i.options)}}visitAnimate(i,n){const s=function Pl(t,i){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return Ra(An(t,i).duration,0,"");const n=t;if(n.split(/\s+/).some(_=>"{"==_.charAt(0)&&"{"==_.charAt(1))){const _=Ra(0,0,"");return _.dynamic=!0,_.strValue=n,_}const l=An(n,i);return Ra(l.duration,l.delay,l.easing)}(i.timings,n.errors);n.currentAnimateTimings=s;let l,_=i.styles?i.styles:(0,E.oB)({});if(5==_.type)l=this.visitKeyframes(_,n);else{let g=i.styles,M=!1;if(!g){M=!0;const Y={};s.easing&&(Y.easing=s.easing),g=(0,E.oB)(Y)}n.currentTime+=s.duration+s.delay;const x=this.visitStyle(g,n);x.isEmptyStep=M,l=x}return n.currentAnimateTimings=null,{type:4,timings:s,style:l,options:null}}visitStyle(i,n){const s=this._makeStyleAst(i,n);return this._validateStyleAst(s,n),s}_makeStyleAst(i,n){const s=[],l=Array.isArray(i.styles)?i.styles:[i.styles];for(let M of l)"string"==typeof M?M===E.l3?s.push(M):n.errors.push(new e.vHH(3002,!1)):s.push(nr(M));let _=!1,g=null;return s.forEach(M=>{if(M instanceof Map&&(M.has("easing")&&(g=M.get("easing"),M.delete("easing")),!_))for(let x of M.values())if(x.toString().indexOf("{{")>=0){_=!0;break}}),{type:6,styles:s,easing:g,offset:i.offset,containsDynamicStyles:_,options:null}}_validateStyleAst(i,n){const s=n.currentAnimateTimings;let l=n.currentTime,_=n.currentTime;s&&_>0&&(_-=s.duration+s.delay),i.styles.forEach(g=>{"string"!=typeof g&&g.forEach((M,x)=>{const Y=n.collectedStyles.get(n.currentQuerySelector),K=Y.get(x);let le=!0;K&&(_!=l&&_>=K.startTime&&l<=K.endTime&&(n.errors.push(function me(t,i,n,s,l){return new e.vHH(3010,!1)}()),le=!1),_=K.startTime),le&&Y.set(x,{startTime:_,endTime:l}),n.options&&function Kr(t,i,n){const s=i.params||{},l=gi(t);l.length&&l.forEach(_=>{s.hasOwnProperty(_)||n.push(function Q(t){return new e.vHH(3001,!1)}())})}(M,n.options,n.errors)})})}visitKeyframes(i,n){const s={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(function Oe(){return new e.vHH(3011,!1)}()),s;let _=0;const g=[];let M=!1,x=!1,Y=0;const K=i.steps.map(He=>{const Pe=this._makeStyleAst(He,n);let W=null!=Pe.offset?Pe.offset:function Ga(t){if("string"==typeof t)return null;let i=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){const s=n;i=parseFloat(s.get("offset")),s.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const n=t;i=parseFloat(n.get("offset")),n.delete("offset")}return i}(Pe.styles),It=0;return null!=W&&(_++,It=Pe.offset=W),x=x||It<0||It>1,M=M||It<Y,Y=It,g.push(It),Pe});x&&n.errors.push(function Ue(){return new e.vHH(3012,!1)}()),M&&n.errors.push(function Me(){return new e.vHH(3200,!1)}());const le=i.steps.length;let fe=0;_>0&&_<le?n.errors.push(function yt(){return new e.vHH(3202,!1)}()):0==_&&(fe=1/(le-1));const ge=le-1,Se=n.currentTime,Ge=n.currentAnimateTimings,we=Ge.duration;return K.forEach((He,Pe)=>{const W=fe>0?Pe==ge?1:fe*Pe:g[Pe],It=W*we;n.currentTime=Se+Ge.delay+It,Ge.duration=It,this._validateStyleAst(He,n),He.offset=W,s.styles.push(He)}),s}visitReference(i,n){return{type:8,animation:Gi(this,er(i.animation),n),options:Eo(i.options)}}visitAnimateChild(i,n){return n.depCount++,{type:9,options:Eo(i.options)}}visitAnimateRef(i,n){return{type:10,animation:this.visitReference(i.animation,n),options:Eo(i.options)}}visitQuery(i,n){const s=n.currentQuerySelector,l=i.options||{};n.queryCount++,n.currentQuery=i;const[_,g]=function Ql(t){const i=!!t.split(/\s*,\s*/).find(n=>":self"==n);return i&&(t=t.replace(Ys,"")),t=t.replace(/@\*/g,ot).replace(/@\w+/g,n=>ot+"-"+n.slice(1)).replace(/:animating/g,qt),[t,i]}(i.selector);n.currentQuerySelector=s.length?s+" "+_:_,Ln(n.collectedStyles,n.currentQuerySelector,new Map);const M=Gi(this,er(i.animation),n);return n.currentQuery=null,n.currentQuerySelector=s,{type:11,selector:_,limit:l.limit||0,optional:!!l.optional,includeSelf:g,animation:M,originalSelector:i.selector,options:Eo(i.options)}}visitStagger(i,n){n.currentQuery||n.errors.push(function et(){return new e.vHH(3013,!1)}());const s="full"===i.timings?{duration:0,delay:0,easing:"full"}:An(i.timings,n.errors,!0);return{type:12,animation:Gi(this,er(i.animation),n),timings:s,options:null}}}class Da{constructor(i){this.errors=i,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Eo(t){return t?(t=Nr(t)).params&&(t.params=function tl(t){return t?Nr(t):null}(t.params)):t={},t}function Ra(t,i,n){return{duration:t,delay:i,easing:n}}function Fo(t,i,n,s,l,_,g=null,M=!1){return{type:1,element:t,keyframes:i,preStyleProps:n,postStyleProps:s,duration:l,delay:_,totalTime:l+_,easing:g,subTimeline:M}}class Cs{constructor(){this._map=new Map}get(i){return this._map.get(i)||[]}append(i,n){let s=this._map.get(i);s||this._map.set(i,s=[]),s.push(...n)}has(i){return this._map.has(i)}clear(){this._map.clear()}}const ml=new RegExp(":enter","g"),Qo=new RegExp(":leave","g");function Go(t,i,n,s,l,_=new Map,g=new Map,M,x,Y=[]){return(new ys).buildKeyframes(t,i,n,s,l,_,g,M,x,Y)}class ys{buildKeyframes(i,n,s,l,_,g,M,x,Y,K=[]){Y=Y||new Cs;const le=new Lo(i,n,Y,l,_,K,[]);le.options=x;const fe=x.delay?tr(x.delay):0;le.currentTimeline.delayNextStep(fe),le.currentTimeline.setStyles([g],null,le.errors,x),Gi(this,s,le);const ge=le.timelines.filter(Se=>Se.containsAnimation());if(ge.length&&M.size){let Se;for(let Ge=ge.length-1;Ge>=0;Ge--){const we=ge[Ge];if(we.element===n){Se=we;break}}Se&&!Se.allowOnlyTimelineStyles()&&Se.setStyles([M],null,le.errors,x)}return ge.length?ge.map(Se=>Se.buildKeyframes()):[Fo(n,[],[],[],0,fe,"",!1)]}visitTrigger(i,n){}visitState(i,n){}visitTransition(i,n){}visitAnimateChild(i,n){const s=n.subInstructions.get(n.element);if(s){const l=n.createSubContext(i.options),_=n.currentTimeline.currentTime,g=this._visitSubInstructions(s,l,l.options);_!=g&&n.transformIntoNewTimeline(g)}n.previousNode=i}visitAnimateRef(i,n){const s=n.createSubContext(i.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],n,s),this.visitReference(i.animation,s),n.transformIntoNewTimeline(s.currentTimeline.currentTime),n.previousNode=i}_applyAnimationRefDelays(i,n,s){for(const l of i){const _=l?.delay;if(_){const g="number"==typeof _?_:tr(Jo(_,l?.params??{},n.errors));s.delayNextStep(g)}}}_visitSubInstructions(i,n,s){let _=n.currentTimeline.currentTime;const g=null!=s.duration?tr(s.duration):null,M=null!=s.delay?tr(s.delay):null;return 0!==g&&i.forEach(x=>{const Y=n.appendInstructionToTimeline(x,g,M);_=Math.max(_,Y.duration+Y.delay)}),_}visitReference(i,n){n.updateOptions(i.options,!0),Gi(this,i.animation,n),n.previousNode=i}visitSequence(i,n){const s=n.subContextCount;let l=n;const _=i.options;if(_&&(_.params||_.delay)&&(l=n.createSubContext(_),l.transformIntoNewTimeline(),null!=_.delay)){6==l.previousNode.type&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=rs);const g=tr(_.delay);l.delayNextStep(g)}i.steps.length&&(i.steps.forEach(g=>Gi(this,g,l)),l.currentTimeline.applyStylesToKeyframe(),l.subContextCount>s&&l.transformIntoNewTimeline()),n.previousNode=i}visitGroup(i,n){const s=[];let l=n.currentTimeline.currentTime;const _=i.options&&i.options.delay?tr(i.options.delay):0;i.steps.forEach(g=>{const M=n.createSubContext(i.options);_&&M.delayNextStep(_),Gi(this,g,M),l=Math.max(l,M.currentTimeline.currentTime),s.push(M.currentTimeline)}),s.forEach(g=>n.currentTimeline.mergeTimelineCollectedStyles(g)),n.transformIntoNewTimeline(l),n.previousNode=i}_visitTiming(i,n){if(i.dynamic){const s=i.strValue;return An(n.params?Jo(s,n.params,n.errors):s,n.errors)}return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,n){const s=n.currentAnimateTimings=this._visitTiming(i.timings,n),l=n.currentTimeline;s.delay&&(n.incrementTime(s.delay),l.snapshotCurrentStyles());const _=i.style;5==_.type?this.visitKeyframes(_,n):(n.incrementTime(s.duration),this.visitStyle(_,n),l.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=i}visitStyle(i,n){const s=n.currentTimeline,l=n.currentAnimateTimings;!l&&s.hasCurrentStyleProperties()&&s.forwardFrame();const _=l&&l.easing||i.easing;i.isEmptyStep?s.applyEmptyStep(_):s.setStyles(i.styles,_,n.errors,n.options),n.previousNode=i}visitKeyframes(i,n){const s=n.currentAnimateTimings,l=n.currentTimeline.duration,_=s.duration,M=n.createSubContext().currentTimeline;M.easing=s.easing,i.styles.forEach(x=>{M.forwardTime((x.offset||0)*_),M.setStyles(x.styles,x.easing,n.errors,n.options),M.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(M),n.transformIntoNewTimeline(l+_),n.previousNode=i}visitQuery(i,n){const s=n.currentTimeline.currentTime,l=i.options||{},_=l.delay?tr(l.delay):0;_&&(6===n.previousNode.type||0==s&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=rs);let g=s;const M=n.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!l.optional,n.errors);n.currentQueryTotal=M.length;let x=null;M.forEach((Y,K)=>{n.currentQueryIndex=K;const le=n.createSubContext(i.options,Y);_&&le.delayNextStep(_),Y===n.element&&(x=le.currentTimeline),Gi(this,i.animation,le),le.currentTimeline.applyStylesToKeyframe(),g=Math.max(g,le.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(g),x&&(n.currentTimeline.mergeTimelineCollectedStyles(x),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=i}visitStagger(i,n){const s=n.parentContext,l=n.currentTimeline,_=i.timings,g=Math.abs(_.duration),M=g*(n.currentQueryTotal-1);let x=g*n.currentQueryIndex;switch(_.duration<0?"reverse":_.easing){case"reverse":x=M-x;break;case"full":x=s.currentStaggerTime}const K=n.currentTimeline;x&&K.delayNextStep(x);const le=K.currentTime;Gi(this,i.animation,n),n.previousNode=i,s.currentStaggerTime=l.currentTime-le+(l.startTime-s.currentTimeline.startTime)}}const rs={};class Lo{constructor(i,n,s,l,_,g,M,x){this._driver=i,this.element=n,this.subInstructions=s,this._enterClassName=l,this._leaveClassName=_,this.errors=g,this.timelines=M,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=rs,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=x||new Br(this._driver,n,0),M.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,n){if(!i)return;const s=i;let l=this.options;null!=s.duration&&(l.duration=tr(s.duration)),null!=s.delay&&(l.delay=tr(s.delay));const _=s.params;if(_){let g=l.params;g||(g=this.options.params={}),Object.keys(_).forEach(M=>{(!n||!g.hasOwnProperty(M))&&(g[M]=Jo(_[M],g,this.errors))})}}_copyOptions(){const i={};if(this.options){const n=this.options.params;if(n){const s=i.params={};Object.keys(n).forEach(l=>{s[l]=n[l]})}}return i}createSubContext(i=null,n,s){const l=n||this.element,_=new Lo(this._driver,l,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(l,s||0));return _.previousNode=this.previousNode,_.currentAnimateTimings=this.currentAnimateTimings,_.options=this._copyOptions(),_.updateOptions(i),_.currentQueryIndex=this.currentQueryIndex,_.currentQueryTotal=this.currentQueryTotal,_.parentContext=this,this.subContextCount++,_}transformIntoNewTimeline(i){return this.previousNode=rs,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,n,s){const l={duration:n??i.duration,delay:this.currentTimeline.currentTime+(s??0)+i.delay,easing:""},_=new qi(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,l,i.stretchStartingKeyframe);return this.timelines.push(_),l}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,n,s,l,_,g){let M=[];if(l&&M.push(this.element),i.length>0){i=(i=i.replace(ml,"."+this._enterClassName)).replace(Qo,"."+this._leaveClassName);let Y=this._driver.query(this.element,i,1!=s);0!==s&&(Y=s<0?Y.slice(Y.length+s,Y.length):Y.slice(0,s)),M.push(...Y)}return!_&&0==M.length&&g.push(function tt(t){return new e.vHH(3014,!1)}()),M}}class Br{constructor(i,n,s,l){this._driver=i,this.element=n,this.startTime=s,this._elementTimelineStylesLookup=l,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(i){const n=1===this._keyframes.size&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+i),n&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,n){return this.applyStylesToKeyframe(),new Br(this._driver,i,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,n){this._localTimelineStyles.set(i,n),this._globalTimelineStyles.set(i,n),this._styleSummary.set(i,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[n,s]of this._globalTimelineStyles)this._backFill.set(n,s||E.l3),this._currentKeyframe.set(n,E.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,n,s,l){n&&this._previousKeyframe.set("easing",n);const _=l&&l.params||{},g=function On(t,i){const n=new Map;let s;return t.forEach(l=>{if("*"===l){s=s||i.keys();for(let _ of s)n.set(_,E.l3)}else Wn(l,n)}),n}(i,this._globalTimelineStyles);for(let[M,x]of g){const Y=Jo(x,_,s);this._pendingStyles.set(M,Y),this._localTimelineStyles.has(M)||this._backFill.set(M,this._globalTimelineStyles.get(M)??E.l3),this._updateStyle(M,Y)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((i,n)=>{this._currentKeyframe.set(n,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,i)}))}snapshotCurrentStyles(){for(let[i,n]of this._localTimelineStyles)this._pendingStyles.set(i,n),this._updateStyle(i,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const i=[];for(let n in this._currentKeyframe)i.push(n);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((n,s)=>{const l=this._styleSummary.get(s);(!l||n.time>l.time)&&this._updateStyle(s,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const i=new Set,n=new Set,s=1===this._keyframes.size&&0===this.duration;let l=[];this._keyframes.forEach((M,x)=>{const Y=Wn(M,new Map,this._backFill);Y.forEach((K,le)=>{K===E.k1?i.add(le):K===E.l3&&n.add(le)}),s||Y.set("offset",x/this.duration),l.push(Y)});const _=i.size?os(i.values()):[],g=n.size?os(n.values()):[];if(s){const M=l[0],x=new Map(M);M.set("offset",0),x.set("offset",1),l=[M,x]}return Fo(this.element,l,_,g,this.duration,this.startTime,this.easing,!1)}}class qi extends Br{constructor(i,n,s,l,_,g,M=!1){super(i,n,g.delay),this.keyframes=s,this.preStyleProps=l,this.postStyleProps=_,this._stretchStartingKeyframe=M,this.timings={duration:g.duration,delay:g.delay,easing:g.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:n,duration:s,easing:l}=this.timings;if(this._stretchStartingKeyframe&&n){const _=[],g=s+n,M=n/g,x=Wn(i[0]);x.set("offset",0),_.push(x);const Y=Wn(i[0]);Y.set("offset",_t(M)),_.push(Y);const K=i.length-1;for(let le=1;le<=K;le++){let fe=Wn(i[le]);const ge=fe.get("offset");fe.set("offset",_t((n+ge*s)/g)),_.push(fe)}s=g,n=0,l="",i=_}return Fo(this.element,i,this.preStyleProps,this.postStyleProps,s,n,l,!0)}}function _t(t,i=3){const n=Math.pow(10,i-1);return Math.round(t*n)/n}class We{}const yn=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Ei extends We{normalizePropertyName(i,n){return Ii(i)}normalizeStyleValue(i,n,s,l){let _="";const g=s.toString().trim();if(yn.has(n)&&0!==s&&"0"!==s)if("number"==typeof s)_="px";else{const M=s.match(/^[+-]?[\d\.]+([a-z]*)$/);M&&0==M[1].length&&l.push(function L(t,i){return new e.vHH(3005,!1)}())}return g+_}}function Ui(t,i,n,s,l,_,g,M,x,Y,K,le,fe){return{type:0,element:t,triggerName:i,isRemovalTransition:l,fromState:n,fromStyles:_,toState:s,toStyles:g,timelines:M,queriedElements:x,preStyleProps:Y,postStyleProps:K,totalTime:le,errors:fe}}const eo={};class js{constructor(i,n,s){this._triggerName=i,this.ast=n,this._stateStyles=s}match(i,n,s,l){return function ia(t,i,n,s,l){return t.some(_=>_(i,n,s,l))}(this.ast.matchers,i,n,s,l)}buildStyles(i,n,s){let l=this._stateStyles.get("*");return void 0!==i&&(l=this._stateStyles.get(i?.toString())||l),l?l.buildStyles(n,s):new Map}build(i,n,s,l,_,g,M,x,Y,K){const le=[],fe=this.ast.options&&this.ast.options.params||eo,Se=this.buildStyles(s,M&&M.params||eo,le),Ge=x&&x.params||eo,we=this.buildStyles(l,Ge,le),He=new Set,Pe=new Map,W=new Map,It="void"===l,Pt={params:ta(Ge,fe),delay:this.ast.options?.delay},Jt=K?[]:Go(i,n,this.ast.animation,_,g,Se,we,Pt,Y,le);let dn=0;if(Jt.forEach(ln=>{dn=Math.max(ln.duration+ln.delay,dn)}),le.length)return Ui(n,this._triggerName,s,l,It,Se,we,[],[],Pe,W,dn,le);Jt.forEach(ln=>{const Xn=ln.element,jn=Ln(Pe,Xn,new Set);ln.preStyleProps.forEach(Ur=>jn.add(Ur));const Wr=Ln(W,Xn,new Set);ln.postStyleProps.forEach(Ur=>Wr.add(Ur)),Xn!==n&&He.add(Xn)});const Un=os(He.values());return Ui(n,this._triggerName,s,l,It,Se,we,Jt,Un,Pe,W,dn)}}function ta(t,i){const n=Nr(i);for(const s in t)t.hasOwnProperty(s)&&null!=t[s]&&(n[s]=t[s]);return n}class Ul{constructor(i,n,s){this.styles=i,this.defaultParams=n,this.normalizer=s}buildStyles(i,n){const s=new Map,l=Nr(this.defaultParams);return Object.keys(i).forEach(_=>{const g=i[_];null!==g&&(l[_]=g)}),this.styles.styles.forEach(_=>{"string"!=typeof _&&_.forEach((g,M)=>{g&&(g=Jo(g,l,n));const x=this.normalizer.normalizePropertyName(M,n);g=this.normalizer.normalizeStyleValue(M,x,g,n),s.set(M,g)})}),s}}class zc{constructor(i,n,s){this.name=i,this.ast=n,this._normalizer=s,this.transitionFactories=[],this.states=new Map,n.states.forEach(l=>{this.states.set(l.name,new Ul(l.style,l.options&&l.options.params||{},s))}),ru(this.states,"true","1"),ru(this.states,"false","0"),n.transitions.forEach(l=>{this.transitionFactories.push(new js(i,l,this.states))}),this.fallbackTransition=function Uu(t,i,n){return new js(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(g,M)=>!0],options:null,queryCount:0,depCount:0},i)}(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,n,s,l){return this.transitionFactories.find(g=>g.match(i,n,s,l))||null}matchStyles(i,n,s){return this.fallbackTransition.buildStyles(i,n,s)}}function ru(t,i,n){t.has(i)?t.has(n)||t.set(n,t.get(i)):t.has(n)&&t.set(i,t.get(n))}const bl=new Cs;class Ou{constructor(i,n,s){this.bodyNode=i,this._driver=n,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(i,n){const s=[],l=[],_=ra(this._driver,n,s,l);if(s.length)throw function en(t){return new e.vHH(3503,!1)}();this._animations.set(i,_)}_buildPlayer(i,n,s){const l=i.element,_=Tr(0,this._normalizer,0,i.keyframes,n,s);return this._driver.animate(l,_,i.duration,i.delay,i.easing,[],!0)}create(i,n,s={}){const l=[],_=this._animations.get(i);let g;const M=new Map;if(_?(g=Go(this._driver,n,_,Qe,Ve,new Map,new Map,s,bl,l),g.forEach(K=>{const le=Ln(M,K.element,new Map);K.postStyleProps.forEach(fe=>le.set(fe,null))})):(l.push(function nn(){return new e.vHH(3300,!1)}()),g=[]),l.length)throw function bn(t){return new e.vHH(3504,!1)}();M.forEach((K,le)=>{K.forEach((fe,ge)=>{K.set(ge,this._driver.computeStyle(le,ge,E.l3))})});const Y=Ri(g.map(K=>{const le=M.get(K.element);return this._buildPlayer(K,new Map,le)}));return this._playersById.set(i,Y),Y.onDestroy(()=>this.destroy(i)),this.players.push(Y),Y}destroy(i){const n=this._getPlayer(i);n.destroy(),this._playersById.delete(i);const s=this.players.indexOf(n);s>=0&&this.players.splice(s,1)}_getPlayer(i){const n=this._playersById.get(i);if(!n)throw function Dn(t){return new e.vHH(3301,!1)}();return n}listen(i,n,s,l){const _=At(n,"","","");return ft(this._getPlayer(i),s,_,l),()=>{}}command(i,n,s,l){if("register"==s)return void this.register(i,l[0]);if("create"==s)return void this.create(i,n,l[0]||{});const _=this._getPlayer(i);switch(s){case"play":_.play();break;case"pause":_.pause();break;case"reset":_.reset();break;case"restart":_.restart();break;case"finish":_.finish();break;case"init":_.init();break;case"setPosition":_.setPosition(parseFloat(l[0]));break;case"destroy":this.destroy(i)}}}const Za="ng-animate-queued",wa="ng-animate-disabled",Kc=[],Vc={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},cu={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},xs="__ng_removed";class Tc{get params(){return this.options.params}constructor(i,n=""){this.namespaceId=n;const s=i&&i.hasOwnProperty("value");if(this.value=function za(t){return t??null}(s?i.value:i),s){const _=Nr(i);delete _.value,this.options=_}else this.options={};this.options.params||(this.options.params={})}absorbOptions(i){const n=i.params;if(n){const s=this.options.params;Object.keys(n).forEach(l=>{null==s[l]&&(s[l]=n[l])})}}}const cc="void",ka=new Tc(cc);class gl{constructor(i,n,s){this.id=i,this.hostElement=n,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,Ba(n,this._hostClassName)}listen(i,n,s,l){if(!this._triggers.has(n))throw function Rt(t,i){return new e.vHH(3302,!1)}();if(null==s||0==s.length)throw function Xt(t){return new e.vHH(3303,!1)}();if(!function Ka(t){return"start"==t||"done"==t}(s))throw function un(t,i){return new e.vHH(3400,!1)}();const _=Ln(this._elementListeners,i,[]),g={name:n,phase:s,callback:l};_.push(g);const M=Ln(this._engine.statesByElement,i,new Map);return M.has(n)||(Ba(i,tn),Ba(i,tn+"-"+n),M.set(n,ka)),()=>{this._engine.afterFlush(()=>{const x=_.indexOf(g);x>=0&&_.splice(x,1),this._triggers.has(n)||M.delete(n)})}}register(i,n){return!this._triggers.has(i)&&(this._triggers.set(i,n),!0)}_getTrigger(i){const n=this._triggers.get(i);if(!n)throw function _n(t){return new e.vHH(3401,!1)}();return n}trigger(i,n,s,l=!0){const _=this._getTrigger(n),g=new bc(this.id,n,i);let M=this._engine.statesByElement.get(i);M||(Ba(i,tn),Ba(i,tn+"-"+n),this._engine.statesByElement.set(i,M=new Map));let x=M.get(n);const Y=new Tc(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&x&&Y.absorbOptions(x.options),M.set(n,Y),x||(x=ka),Y.value!==cc&&x.value===Y.value){if(!function Oc(t,i){const n=Object.keys(t),s=Object.keys(i);if(n.length!=s.length)return!1;for(let l=0;l<n.length;l++){const _=n[l];if(!i.hasOwnProperty(_)||t[_]!==i[_])return!1}return!0}(x.params,Y.params)){const Ge=[],we=_.matchStyles(x.value,x.params,Ge),He=_.matchStyles(Y.value,Y.params,Ge);Ge.length?this._engine.reportError(Ge):this._engine.afterFlush(()=>{zt(i,we),st(i,He)})}return}const fe=Ln(this._engine.playersByElement,i,[]);fe.forEach(Ge=>{Ge.namespaceId==this.id&&Ge.triggerName==n&&Ge.queued&&Ge.destroy()});let ge=_.matchTransition(x.value,Y.value,i,Y.params),Se=!1;if(!ge){if(!l)return;ge=_.fallbackTransition,Se=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:n,transition:ge,fromState:x,toState:Y,player:g,isFallbackTransition:Se}),Se||(Ba(i,Za),g.onStart(()=>{Ic(i,Za)})),g.onDone(()=>{let Ge=this.players.indexOf(g);Ge>=0&&this.players.splice(Ge,1);const we=this._engine.playersByElement.get(i);if(we){let He=we.indexOf(g);He>=0&&we.splice(He,1)}}),this.players.push(g),fe.push(g),g}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(n=>n.delete(i)),this._elementListeners.forEach((n,s)=>{this._elementListeners.set(s,n.filter(l=>l.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);const n=this._engine.playersByElement.get(i);n&&(n.forEach(s=>s.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,n){const s=this._engine.driver.query(i,ot,!0);s.forEach(l=>{if(l[xs])return;const _=this._engine.fetchNamespacesByElement(l);_.size?_.forEach(g=>g.triggerLeaveAnimation(l,n,!1,!0)):this.clearElementCache(l)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(l=>this.clearElementCache(l)))}triggerLeaveAnimation(i,n,s,l){const _=this._engine.statesByElement.get(i),g=new Map;if(_){const M=[];if(_.forEach((x,Y)=>{if(g.set(Y,x.value),this._triggers.has(Y)){const K=this.trigger(i,Y,cc,l);K&&M.push(K)}}),M.length)return this._engine.markElementAsRemoved(this.id,i,!0,n,g),s&&Ri(M).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){const n=this._elementListeners.get(i),s=this._engine.statesByElement.get(i);if(n&&s){const l=new Set;n.forEach(_=>{const g=_.name;if(l.has(g))return;l.add(g);const x=this._triggers.get(g).fallbackTransition,Y=s.get(g)||ka,K=new Tc(cc),le=new bc(this.id,g,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:g,transition:x,fromState:Y,toState:K,player:le,isFallbackTransition:!0})})}}removeNode(i,n){const s=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,n),this.triggerLeaveAnimation(i,n,!0))return;let l=!1;if(s.totalAnimations){const _=s.players.length?s.playersByQueriedElement.get(i):[];if(_&&_.length)l=!0;else{let g=i;for(;g=g.parentNode;)if(s.statesByElement.get(g)){l=!0;break}}}if(this.prepareLeaveAnimationListeners(i),l)s.markElementAsRemoved(this.id,i,!1,n);else{const _=i[xs];(!_||_===Vc)&&(s.afterFlush(()=>this.clearElementCache(i)),s.destroyInnerAnimations(i),s._onRemovalComplete(i,n))}}insertNode(i,n){Ba(i,this._hostClassName)}drainQueuedTransitions(i){const n=[];return this._queue.forEach(s=>{const l=s.player;if(l.destroyed)return;const _=s.element,g=this._elementListeners.get(_);g&&g.forEach(M=>{if(M.name==s.triggerName){const x=At(_,s.triggerName,s.fromState.value,s.toState.value);x._data=i,ft(s.player,M.phase,x,M.callback)}}),l.markedForDestroy?this._engine.afterFlush(()=>{l.destroy()}):n.push(s)}),this._queue=[],n.sort((s,l)=>{const _=s.transition.ast.depCount,g=l.transition.ast.depCount;return 0==_||0==g?_-g:this._engine.driver.containsElement(s.element,l.element)?1:-1})}destroy(i){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}elementContainsData(i){let n=!1;return this._elementListeners.has(i)&&(n=!0),n=!!this._queue.find(s=>s.element===i)||n,n}}class Cc{_onRemovalComplete(i,n){this.onRemovalComplete(i,n)}constructor(i,n,s){this.bodyNode=i,this.driver=n,this._normalizer=s,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(l,_)=>{}}get queuedPlayers(){const i=[];return this._namespaceList.forEach(n=>{n.players.forEach(s=>{s.queued&&i.push(s)})}),i}createNamespace(i,n){const s=new gl(i,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(s,n):(this.newHostElements.set(n,s),this.collectEnterElement(n)),this._namespaceLookup[i]=s}_balanceNamespaceList(i,n){const s=this._namespaceList,l=this.namespacesByHostElement;if(s.length-1>=0){let g=!1,M=this.driver.getParentElement(n);for(;M;){const x=l.get(M);if(x){const Y=s.indexOf(x);s.splice(Y+1,0,i),g=!0;break}M=this.driver.getParentElement(M)}g||s.unshift(i)}else s.push(i);return l.set(n,i),i}register(i,n){let s=this._namespaceLookup[i];return s||(s=this.createNamespace(i,n)),s}registerTrigger(i,n,s){let l=this._namespaceLookup[i];l&&l.register(n,s)&&this.totalAnimations++}destroy(i,n){if(!i)return;const s=this._fetchNamespace(i);this.afterFlush(()=>{this.namespacesByHostElement.delete(s.hostElement),delete this._namespaceLookup[i];const l=this._namespaceList.indexOf(s);l>=0&&this._namespaceList.splice(l,1)}),this.afterFlushAnimationsDone(()=>s.destroy(n))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){const n=new Set,s=this.statesByElement.get(i);if(s)for(let l of s.values())if(l.namespaceId){const _=this._fetchNamespace(l.namespaceId);_&&n.add(_)}return n}trigger(i,n,s,l){if(vl(n)){const _=this._fetchNamespace(i);if(_)return _.trigger(n,s,l),!0}return!1}insertNode(i,n,s,l){if(!vl(n))return;const _=n[xs];if(_&&_.setForRemoval){_.setForRemoval=!1,_.setForMove=!0;const g=this.collectedLeaveElements.indexOf(n);g>=0&&this.collectedLeaveElements.splice(g,1)}if(i){const g=this._fetchNamespace(i);g&&g.insertNode(n,s)}l&&this.collectEnterElement(n)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,n){n?this.disabledNodes.has(i)||(this.disabledNodes.add(i),Ba(i,wa)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),Ic(i,wa))}removeNode(i,n,s,l){if(vl(n)){const _=i?this._fetchNamespace(i):null;if(_?_.removeNode(n,l):this.markElementAsRemoved(i,n,!1,l),s){const g=this.namespacesByHostElement.get(n);g&&g.id!==i&&g.removeNode(n,l)}}else this._onRemovalComplete(n,l)}markElementAsRemoved(i,n,s,l,_){this.collectedLeaveElements.push(n),n[xs]={namespaceId:i,setForRemoval:l,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:_}}listen(i,n,s,l,_){return vl(n)?this._fetchNamespace(i).listen(n,s,l,_):()=>{}}_buildInstruction(i,n,s,l,_){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,s,l,i.fromState.options,i.toState.options,n,_)}destroyInnerAnimations(i){let n=this.driver.query(i,ot,!0);n.forEach(s=>this.destroyActiveAnimationsForElement(s)),0!=this.playersByQueriedElement.size&&(n=this.driver.query(i,qt,!0),n.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(i){const n=this.playersByElement.get(i);n&&n.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(i){const n=this.playersByQueriedElement.get(i);n&&n.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return Ri(this.players).onDone(()=>i());i()})}processLeaveNode(i){const n=i[xs];if(n&&n.setForRemoval){if(i[xs]=Vc,n.namespaceId){this.destroyInnerAnimations(i);const s=this._fetchNamespace(n.namespaceId);s&&s.clearElementCache(i)}this._onRemovalComplete(i,n.setForRemoval)}i.classList?.contains(wa)&&this.markElementAsDisabled(i,!1),this.driver.query(i,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(i=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,l)=>this._balanceNamespaceList(s,l)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;s<this.collectedEnterElements.length;s++)Ba(this.collectedEnterElements[s],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const s=[];try{n=this._flushAnimations(s,i)}finally{for(let l=0;l<s.length;l++)s[l]()}}else for(let s=0;s<this.collectedLeaveElements.length;s++)this.processLeaveNode(this.collectedLeaveElements[s]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(s=>s()),this._flushFns=[],this._whenQuietFns.length){const s=this._whenQuietFns;this._whenQuietFns=[],n.length?Ri(n).onDone(()=>{s.forEach(l=>l())}):s.forEach(l=>l())}}reportError(i){throw function kn(t){return new e.vHH(3402,!1)}()}_flushAnimations(i,n){const s=new Cs,l=[],_=new Map,g=[],M=new Map,x=new Map,Y=new Map,K=new Set;this.disabledNodes.forEach(Gn=>{K.add(Gn);const pr=this.driver.query(Gn,".ng-animate-queued",!0);for(let fr=0;fr<pr.length;fr++)K.add(pr[fr])});const le=this.bodyNode,fe=Array.from(this.statesByElement.keys()),ge=sc(fe,this.collectedEnterElements),Se=new Map;let Ge=0;ge.forEach((Gn,pr)=>{const fr=Qe+Ge++;Se.set(pr,fr),Gn.forEach(Mr=>Ba(Mr,fr))});const we=[],He=new Set,Pe=new Set;for(let Gn=0;Gn<this.collectedLeaveElements.length;Gn++){const pr=this.collectedLeaveElements[Gn],fr=pr[xs];fr&&fr.setForRemoval&&(we.push(pr),He.add(pr),fr.hasAnimation?this.driver.query(pr,".ng-star-inserted",!0).forEach(Mr=>He.add(Mr)):Pe.add(pr))}const W=new Map,It=sc(fe,Array.from(He));It.forEach((Gn,pr)=>{const fr=Ve+Ge++;W.set(pr,fr),Gn.forEach(Mr=>Ba(Mr,fr))}),i.push(()=>{ge.forEach((Gn,pr)=>{const fr=Se.get(pr);Gn.forEach(Mr=>Ic(Mr,fr))}),It.forEach((Gn,pr)=>{const fr=W.get(pr);Gn.forEach(Mr=>Ic(Mr,fr))}),we.forEach(Gn=>{this.processLeaveNode(Gn)})});const Pt=[],Jt=[];for(let Gn=this._namespaceList.length-1;Gn>=0;Gn--)this._namespaceList[Gn].drainQueuedTransitions(n).forEach(fr=>{const Mr=fr.player,Jn=fr.element;if(Pt.push(Mr),this.collectedEnterElements.length){const In=Jn[xs];if(In&&In.setForMove){if(In.previousTriggersValues&&In.previousTriggersValues.has(fr.triggerName)){const Ti=In.previousTriggersValues.get(fr.triggerName),Ji=this.statesByElement.get(fr.element);if(Ji&&Ji.has(fr.triggerName)){const To=Ji.get(fr.triggerName);To.value=Ti,Ji.set(fr.triggerName,To)}}return void Mr.destroy()}}const ci=!le||!this.driver.containsElement(le,Jn),ho=W.get(Jn),Yi=Se.get(Jn),lo=this._buildInstruction(fr,s,Yi,ho,ci);if(lo.errors&&lo.errors.length)return void Jt.push(lo);if(ci)return Mr.onStart(()=>zt(Jn,lo.fromStyles)),Mr.onDestroy(()=>st(Jn,lo.toStyles)),void l.push(Mr);if(fr.isFallbackTransition)return Mr.onStart(()=>zt(Jn,lo.fromStyles)),Mr.onDestroy(()=>st(Jn,lo.toStyles)),void l.push(Mr);const yi=[];lo.timelines.forEach(In=>{In.stretchStartingKeyframe=!0,this.disabledNodes.has(In.element)||yi.push(In)}),lo.timelines=yi,s.append(Jn,lo.timelines),g.push({instruction:lo,player:Mr,element:Jn}),lo.queriedElements.forEach(In=>Ln(M,In,[]).push(Mr)),lo.preStyleProps.forEach((In,Ti)=>{if(In.size){let Ji=x.get(Ti);Ji||x.set(Ti,Ji=new Set),In.forEach((To,fs)=>Ji.add(fs))}}),lo.postStyleProps.forEach((In,Ti)=>{let Ji=Y.get(Ti);Ji||Y.set(Ti,Ji=new Set),In.forEach((To,fs)=>Ji.add(fs))})});if(Jt.length){const Gn=[];Jt.forEach(pr=>{Gn.push(function Ir(t,i){return new e.vHH(3505,!1)}())}),Pt.forEach(pr=>pr.destroy()),this.reportError(Gn)}const dn=new Map,Un=new Map;g.forEach(Gn=>{const pr=Gn.element;s.has(pr)&&(Un.set(pr,pr),this._beforeAnimationBuild(Gn.player.namespaceId,Gn.instruction,dn))}),l.forEach(Gn=>{const pr=Gn.element;this._getPreviousPlayers(pr,!1,Gn.namespaceId,Gn.triggerName,null).forEach(Mr=>{Ln(dn,pr,[]).push(Mr),Mr.destroy()})});const ln=we.filter(Gn=>Ac(Gn,x,Y)),Xn=new Map;Xc(Xn,this.driver,Pe,Y,E.l3).forEach(Gn=>{Ac(Gn,x,Y)&&ln.push(Gn)});const Wr=new Map;ge.forEach((Gn,pr)=>{Xc(Wr,this.driver,new Set(Gn),x,E.k1)}),ln.forEach(Gn=>{const pr=Xn.get(Gn),fr=Wr.get(Gn);Xn.set(Gn,new Map([...Array.from(pr?.entries()??[]),...Array.from(fr?.entries()??[])]))});const Ur=[],di=[],Mi={};g.forEach(Gn=>{const{element:pr,player:fr,instruction:Mr}=Gn;if(s.has(pr)){if(K.has(pr))return fr.onDestroy(()=>st(pr,Mr.toStyles)),fr.disabled=!0,fr.overrideTotalTime(Mr.totalTime),void l.push(fr);let Jn=Mi;if(Un.size>1){let ho=pr;const Yi=[];for(;ho=ho.parentNode;){const lo=Un.get(ho);if(lo){Jn=lo;break}Yi.push(ho)}Yi.forEach(lo=>Un.set(lo,Jn))}const ci=this._buildAnimation(fr.namespaceId,Mr,dn,_,Wr,Xn);if(fr.setRealPlayer(ci),Jn===Mi)Ur.push(fr);else{const ho=this.playersByElement.get(Jn);ho&&ho.length&&(fr.parentPlayer=Ri(ho)),l.push(fr)}}else zt(pr,Mr.fromStyles),fr.onDestroy(()=>st(pr,Mr.toStyles)),di.push(fr),K.has(pr)&&l.push(fr)}),di.forEach(Gn=>{const pr=_.get(Gn.element);if(pr&&pr.length){const fr=Ri(pr);Gn.setRealPlayer(fr)}}),l.forEach(Gn=>{Gn.parentPlayer?Gn.syncPlayerEvents(Gn.parentPlayer):Gn.destroy()});for(let Gn=0;Gn<we.length;Gn++){const pr=we[Gn],fr=pr[xs];if(Ic(pr,Ve),fr&&fr.hasAnimation)continue;let Mr=[];if(M.size){let ci=M.get(pr);ci&&ci.length&&Mr.push(...ci);let ho=this.driver.query(pr,qt,!0);for(let Yi=0;Yi<ho.length;Yi++){let lo=M.get(ho[Yi]);lo&&lo.length&&Mr.push(...lo)}}const Jn=Mr.filter(ci=>!ci.destroyed);Jn.length?Fc(this,pr,Jn):this.processLeaveNode(pr)}return we.length=0,Ur.forEach(Gn=>{this.players.push(Gn),Gn.onDone(()=>{Gn.destroy();const pr=this.players.indexOf(Gn);this.players.splice(pr,1)}),Gn.play()}),Ur}elementContainsData(i,n){let s=!1;const l=n[xs];return l&&l.setForRemoval&&(s=!0),this.playersByElement.has(n)&&(s=!0),this.playersByQueriedElement.has(n)&&(s=!0),this.statesByElement.has(n)&&(s=!0),this._fetchNamespace(i).elementContainsData(n)||s}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,n,s,l,_){let g=[];if(n){const M=this.playersByQueriedElement.get(i);M&&(g=M)}else{const M=this.playersByElement.get(i);if(M){const x=!_||_==cc;M.forEach(Y=>{Y.queued||!x&&Y.triggerName!=l||g.push(Y)})}}return(s||l)&&(g=g.filter(M=>!(s&&s!=M.namespaceId||l&&l!=M.triggerName))),g}_beforeAnimationBuild(i,n,s){const _=n.element,g=n.isRemovalTransition?void 0:i,M=n.isRemovalTransition?void 0:n.triggerName;for(const x of n.timelines){const Y=x.element,K=Y!==_,le=Ln(s,Y,[]);this._getPreviousPlayers(Y,K,g,M,n.toState).forEach(ge=>{const Se=ge.getRealPlayer();Se.beforeDestroy&&Se.beforeDestroy(),ge.destroy(),le.push(ge)})}zt(_,n.fromStyles)}_buildAnimation(i,n,s,l,_,g){const M=n.triggerName,x=n.element,Y=[],K=new Set,le=new Set,fe=n.timelines.map(Se=>{const Ge=Se.element;K.add(Ge);const we=Ge[xs];if(we&&we.removedBeforeQueried)return new E.ZN(Se.duration,Se.delay);const He=Ge!==x,Pe=function ba(t){const i=[];return Xa(t,i),i}((s.get(Ge)||Kc).map(dn=>dn.getRealPlayer())).filter(dn=>!!dn.element&&dn.element===Ge),W=_.get(Ge),It=g.get(Ge),Pt=Tr(0,this._normalizer,0,Se.keyframes,W,It),Jt=this._buildPlayer(Se,Pt,Pe);if(Se.subTimeline&&l&&le.add(Ge),He){const dn=new bc(i,M,Ge);dn.setRealPlayer(Jt),Y.push(dn)}return Jt});Y.forEach(Se=>{Ln(this.playersByQueriedElement,Se.element,[]).push(Se),Se.onDone(()=>function Mc(t,i,n){let s=t.get(i);if(s){if(s.length){const l=s.indexOf(n);s.splice(l,1)}0==s.length&&t.delete(i)}return s}(this.playersByQueriedElement,Se.element,Se))}),K.forEach(Se=>Ba(Se,xt));const ge=Ri(fe);return ge.onDestroy(()=>{K.forEach(Se=>Ic(Se,xt)),st(x,n.toStyles)}),le.forEach(Se=>{Ln(l,Se,[]).push(ge)}),ge}_buildPlayer(i,n,s){return n.length>0?this.driver.animate(i.element,n,i.duration,i.delay,i.easing,s):new E.ZN(i.duration,i.delay)}}class bc{constructor(i,n,s){this.namespaceId=i,this.triggerName=n,this.element=s,this._player=new E.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((n,s)=>{n.forEach(l=>ft(i,s,void 0,l))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){const n=this._player;n.triggerCallback&&i.onStart(()=>n.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,n){Ln(this._queuedCallbacks,i,[]).push(n)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){const n=this._player;n.triggerCallback&&n.triggerCallback(i)}}function vl(t){return t&&1===t.nodeType}function Ua(t,i){const n=t.style.display;return t.style.display=i??"none",n}function Xc(t,i,n,s,l){const _=[];n.forEach(x=>_.push(Ua(x)));const g=[];s.forEach((x,Y)=>{const K=new Map;x.forEach(le=>{const fe=i.computeStyle(Y,le,l);K.set(le,fe),(!fe||0==fe.length)&&(Y[xs]=cu,g.push(Y))}),t.set(Y,K)});let M=0;return n.forEach(x=>Ua(x,_[M++])),g}function sc(t,i){const n=new Map;if(t.forEach(M=>n.set(M,[])),0==i.length)return n;const s=1,l=new Set(i),_=new Map;function g(M){if(!M)return s;let x=_.get(M);if(x)return x;const Y=M.parentNode;return x=n.has(Y)?Y:l.has(Y)?s:g(Y),_.set(M,x),x}return i.forEach(M=>{const x=g(M);x!==s&&n.get(x).push(M)}),n}function Ba(t,i){t.classList?.add(i)}function Ic(t,i){t.classList?.remove(i)}function Fc(t,i,n){Ri(n).onDone(()=>t.processLeaveNode(i))}function Xa(t,i){for(let n=0;n<t.length;n++){const s=t[n];s instanceof E.ZE?Xa(s.players,i):i.push(s)}}function Ac(t,i,n){const s=n.get(t);if(!s)return!1;let l=i.get(t);return l?s.forEach(_=>l.add(_)):i.set(t,s),n.delete(t),!0}class jl{constructor(i,n,s){this.bodyNode=i,this._driver=n,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(l,_)=>{},this._transitionEngine=new Cc(i,n,s),this._timelineEngine=new Ou(i,n,s),this._transitionEngine.onRemovalComplete=(l,_)=>this.onRemovalComplete(l,_)}registerTrigger(i,n,s,l,_){const g=i+"-"+l;let M=this._triggerCache[g];if(!M){const x=[],Y=[],K=ra(this._driver,_,x,Y);if(x.length)throw function Qt(t,i){return new e.vHH(3404,!1)}();M=function Fl(t,i,n){return new zc(t,i,n)}(l,K,this._normalizer),this._triggerCache[g]=M}this._transitionEngine.registerTrigger(n,l,M)}register(i,n){this._transitionEngine.register(i,n)}destroy(i,n){this._transitionEngine.destroy(i,n)}onInsert(i,n,s,l){this._transitionEngine.insertNode(i,n,s,l)}onRemove(i,n,s,l){this._transitionEngine.removeNode(i,n,l||!1,s)}disableAnimations(i,n){this._transitionEngine.markElementAsDisabled(i,n)}process(i,n,s,l){if("@"==s.charAt(0)){const[_,g]=rr(s);this._timelineEngine.command(_,n,g,l)}else this._transitionEngine.trigger(i,n,s,l)}listen(i,n,s,l,_){if("@"==s.charAt(0)){const[g,M]=rr(s);return this._timelineEngine.listen(g,n,M,_)}return this._transitionEngine.listen(i,n,s,l,_)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Dc=(()=>{class t{constructor(n,s,l){this._element=n,this._startStyles=s,this._endStyles=l,this._state=0;let _=t.initialStylesByElement.get(n);_||t.initialStylesByElement.set(n,_=new Map),this._initialStyles=_}start(){this._state<1&&(this._startStyles&&st(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(st(this._element,this._initialStyles),this._endStyles&&(st(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(zt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(zt(this._element,this._endStyles),this._endStyles=null),st(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Zs(t){let i=null;return t.forEach((n,s)=>{(function Au(t){return"display"===t||"position"===t})(s)&&(i=i||new Map,i.set(s,n))}),i}class St{constructor(i,n,s,l){this.element=i,this.keyframes=n,this.options=s,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const i=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,i,this.options),this._finalKeyframe=i.length?i[i.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(i){const n=[];return i.forEach(s=>{n.push(Object.fromEntries(s))}),n}_triggerWebAnimation(i,n,s){return i.animate(this._convertKeyframesToObject(n),s)}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(i=>i()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}setPosition(i){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=i*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,l)=>{"offset"!==l&&i.set(l,this._finished?s:Wi(this.element,l))}),this.currentSnapshot=i}triggerCallback(i){const n="start"===i?this._onStartFns:this._onDoneFns;n.forEach(s=>s()),n.length=0}}class ut{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}matchesElement(i,n){return!1}containsElement(i,n){return ts(i,n)}getParentElement(i){return Vo(i)}query(i,n,s){return io(i,n,s)}computeStyle(i,n,s){return window.getComputedStyle(i)[n]}animate(i,n,s,l,_,g=[]){const x={duration:s,delay:l,fill:0==l?"both":"forwards"};_&&(x.easing=_);const Y=new Map,K=g.filter(ge=>ge instanceof St);(function Vr(t,i){return 0===t||0===i})(s,l)&&K.forEach(ge=>{ge.currentSnapshot.forEach((Se,Ge)=>Y.set(Ge,Se))});let le=function Qn(t){return t.length?t[0]instanceof Map?t:t.map(i=>nr(i)):[]}(n).map(ge=>Wn(ge));le=function wi(t,i,n){if(n.size&&i.length){let s=i[0],l=[];if(n.forEach((_,g)=>{s.has(g)||l.push(g),s.set(g,_)}),l.length)for(let _=1;_<i.length;_++){let g=i[_];l.forEach(M=>g.set(M,Wi(t,M)))}}return i}(i,le,Y);const fe=function yl(t,i){let n=null,s=null;return Array.isArray(i)&&i.length?(n=Zs(i[0]),i.length>1&&(s=Zs(i[i.length-1]))):i instanceof Map&&(n=Zs(i)),n||s?new Dc(t,n,s):null}(i,le);return new St(i,le,x,fe)}}let Je=(()=>{class t extends E._j{constructor(n,s){super(),this._nextAnimationId=0,this._renderer=n.createRenderer(s.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(n){const s=this._nextAnimationId.toString();this._nextAnimationId++;const l=Array.isArray(n)?(0,E.vP)(n):n;return wo(this._renderer,null,s,"register",[l]),new hn(s,this._renderer)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(e.FYo),e.LFG(f.K0))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})();class hn extends E.LC{constructor(i,n){super(),this._id=i,this._renderer=n}create(i,n){return new vi(this._id,i,n||{},this._renderer)}}class vi{constructor(i,n,s,l){this.id=i,this.element=n,this._renderer=l,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",s)}_listen(i,n){return this._renderer.listen(this.element,`@@${this.id}:${i}`,n)}_command(i,...n){return wo(this._renderer,this.element,this.id,i,n)}onDone(i){this._listen("done",i)}onStart(i){this._listen("start",i)}onDestroy(i){this._listen("destroy",i)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(i){this._command("setPosition",i)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function wo(t,i,n,s,l){return t.setProperty(i,`@@${n}:${s}`,l)}const Si="@.disabled";let ca=(()=>{class t{constructor(n,s,l){this.delegate=n,this.engine=s,this._zone=l,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),s.onRemovalComplete=(_,g)=>{const M=g?.parentNode(_);M&&g.removeChild(M,_)}}createRenderer(n,s){const _=this.delegate.createRenderer(n,s);if(!(n&&s&&s.data&&s.data.animation)){let K=this._rendererCache.get(_);return K||(K=new Xs("",_,this.engine,()=>this._rendererCache.delete(_)),this._rendererCache.set(_,K)),K}const g=s.id,M=s.id+"-"+this._currentId;this._currentId++,this.engine.register(M,n);const x=K=>{Array.isArray(K)?K.forEach(x):this.engine.registerTrigger(g,M,n,K.name,K)};return s.data.animation.forEach(x),new Rc(this,M,_,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(n,s,l){n>=0&&n<this._microtaskId?this._zone.run(()=>s(l)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(_=>{const[g,M]=_;g(M)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([s,l]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(e.FYo),e.LFG(jl),e.LFG(e.R0b))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})();class Xs{constructor(i,n,s,l){this.namespaceId=i,this.delegate=n,this.engine=s,this._onDestroy=l,this.destroyNode=this.delegate.destroyNode?_=>n.destroyNode(_):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(i,n){return this.delegate.createElement(i,n)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,n){this.delegate.appendChild(i,n),this.engine.onInsert(this.namespaceId,n,i,!1)}insertBefore(i,n,s,l=!0){this.delegate.insertBefore(i,n,s),this.engine.onInsert(this.namespaceId,n,i,l)}removeChild(i,n,s){this.engine.onRemove(this.namespaceId,n,this.delegate,s)}selectRootElement(i,n){return this.delegate.selectRootElement(i,n)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,n,s,l){this.delegate.setAttribute(i,n,s,l)}removeAttribute(i,n,s){this.delegate.removeAttribute(i,n,s)}addClass(i,n){this.delegate.addClass(i,n)}removeClass(i,n){this.delegate.removeClass(i,n)}setStyle(i,n,s,l){this.delegate.setStyle(i,n,s,l)}removeStyle(i,n,s){this.delegate.removeStyle(i,n,s)}setProperty(i,n,s){"@"==n.charAt(0)&&n==Si?this.disableAnimations(i,!!s):this.delegate.setProperty(i,n,s)}setValue(i,n){this.delegate.setValue(i,n)}listen(i,n,s){return this.delegate.listen(i,n,s)}disableAnimations(i,n){this.engine.disableAnimations(i,n)}}class Rc extends Xs{constructor(i,n,s,l,_){super(n,s,l,_),this.factory=i,this.namespaceId=n}setProperty(i,n,s){"@"==n.charAt(0)?"."==n.charAt(1)&&n==Si?this.disableAnimations(i,s=void 0===s||!!s):this.engine.process(this.namespaceId,i,n.slice(1),s):this.delegate.setProperty(i,n,s)}listen(i,n,s){if("@"==n.charAt(0)){const l=function Zl(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(i);let _=n.slice(1),g="";return"@"!=_.charAt(0)&&([_,g]=function qc(t){const i=t.indexOf(".");return[t.substring(0,i),t.slice(i+1)]}(_)),this.engine.listen(this.namespaceId,l,_,g,M=>{this.factory.scheduleListenerCallback(M._data||-1,s,M)})}return this.delegate.listen(i,n,s)}}let gc=(()=>{class t extends jl{constructor(n,s,l,_){super(n.body,s,l)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(f.K0),e.LFG(Nn),e.LFG(We),e.LFG(e.z2F))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})();const eu=[{provide:E._j,useClass:Je},{provide:We,useFactory:function zl(){return new Ei}},{provide:jl,useClass:gc},{provide:e.FYo,useFactory:function Ju(t,i,n){return new ca(t,i,n)},deps:[c.se,jl,e.R0b]}],Cu=[{provide:Nn,useFactory:()=>new ut},{provide:e.QbO,useValue:"BrowserAnimations"},...eu],uc=[{provide:Nn,useClass:Pn},{provide:e.QbO,useValue:"NoopAnimations"},...eu];let tu=(()=>{class t{static withConfig(n){return{ngModule:t,providers:n.disableAnimations?uc:Cu}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({providers:Cu,imports:[c.b2]}),t})();var X=o(23122),Ce=o(54247),gt=o(23815),Ke=o.n(gt),Gt=o(64762),xn=o(93523),lr=o(47349);let Fr=class{constructor(i){this.http=i,this.baseURL="api/cephfs",this.baseUiURL="ui-api/cephfs"}list(){return this.http.get(`${this.baseURL}`)}lsDir(i,n,s=2){let l=`${this.baseUiURL}/${i}/ls_dir?depth=${s}`;return n&&(l+=`&path=${encodeURIComponent(n)}`),this.http.get(l).pipe((0,lr.d)())}getCephfs(i){return this.http.get(`${this.baseURL}/${i}`)}getTabs(i){return this.http.get(`ui-api/cephfs/${i}/tabs`)}getClients(i){return this.http.get(`${this.baseURL}/${i}/clients`)}evictClient(i,n){return this.http.delete(`${this.baseURL}/${i}/client/${n}`)}getMdsCounters(i){return this.http.get(`${this.baseURL}/${i}/mds_counters`)}getFsRootDirectory(i){return this.http.get(`${this.baseURL}/${i}/get_root_directory`)}mkSnapshot(i,n,s){let l=new h.LE;return l=l.append("path",n),Ke().isUndefined(s)||(l=l.append("name",s)),this.http.post(`${this.baseURL}/${i}/snapshot`,null,{params:l})}rmSnapshot(i,n,s){let l=new h.LE;return l=l.append("path",n),l=l.append("name",s),this.http.delete(`${this.baseURL}/${i}/snapshot`,{params:l})}quota(i,n,s){let l=new h.LE;return l=l.append("path",n),this.http.put(`${this.baseURL}/${i}/quota`,s,{observe:"response",params:l})}create(i,n){return this.http.post(this.baseURL,{name:i,service_spec:n},{observe:"response"})}isCephFsPool(i){return-1!==Ke().indexOf(i.application_metadata,"cephfs")&&!i.pool_name.includes("/")}remove(i){return this.http.delete(`${this.baseURL}/remove/${i}`,{observe:"response"})}rename(i,n){return this.http.put(`${this.baseURL}/rename`,{name:i,new_name:n},{observe:"response"})}setAuth(i,n,s,l){return this.http.put(`${this.baseURL}/auth`,{fs_name:i,client_id:`client.${n}`,caps:s,root_squash:l})}};Fr.\u0275fac=function(i){return new(i||Fr)(e.LFG(h.eN))},Fr.\u0275prov=e.Yz7({token:Fr,factory:Fr.\u0275fac,providedIn:"root"}),Fr=(0,Gt.gn)([xn.o,(0,Gt.w6)("design:paramtypes",[h.eN])],Fr);var Oi=o(68136),ai=o(99466),Dr=o(79512),ei=o(65862),Yo=o(30982),Kn=o(68774),zr=o(51847),Gr=o(32337),ce=o(76111),Le=o(97161),Be=o(51389),Bt=o(39749),Kt=o(60312),Bn=o(58039);const sr=function(t){return{"text-wrap":t}};function xr(t,i){if(1&t&&(e.TgZ(0,"span",4),e._uU(1,"\n "),e.TgZ(2,"span",5),e._uU(3),e.qZA(),e._uU(4,"\n "),e._UZ(5,"cd-copy-2-clipboard-button",6),e._uU(6,"\n "),e.qZA()),2&t){const n=i.$implicit,s=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(4,sr,s.textWrap)),e.xp6(1),e.Oqu(n),e.xp6(2),e.Q6J("source",n)("byId",!1)}}function fi(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"pre",2),e._uU(2," "),e.YNc(3,xr,7,6,"span",3),e._uU(4,"\n "),e.qZA(),e.BQk()),2&t){const n=e.oxw();e.xp6(3),e.Q6J("ngForOf",n.codes)}}function Xi(t,i){if(1&t&&(e.TgZ(0,"pre",7),e._uU(1," "),e.TgZ(2,"span",5),e._uU(3),e.qZA(),e._uU(4,"\n "),e._UZ(5,"cd-copy-2-clipboard-button",6),e._uU(6,"\n "),e.qZA()),2&t){const n=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(4,sr,n.textWrap)),e.xp6(1),e.Oqu(n.codes),e.xp6(2),e.Q6J("source",n.codes)("byId",!1)}}let So=(()=>{class t{constructor(){this.textWrap=!1,this.grayBg=!1}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-code-block"]],inputs:{codes:"codes",textWrap:"textWrap",grayBg:"grayBg"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["singleCodeBlock",""],["id","bigCodeBlock"],["class","d-flex px-2 py-3 align-items-center justify-content-between text-dark",4,"ngFor","ngForOf"],[1,"d-flex","px-2","py-3","align-items-center","justify-content-between","text-dark"],[3,"ngClass"],[3,"source","byId"],["id","singleCodeBlock",1,"d-flex","px-2","py-3","align-items-center","justify-content-between","text-dark"]],template:function(n,s){if(1&n&&(e.YNc(0,fi,5,1,"ng-container",0),e.YNc(1,Xi,7,6,"ng-template",null,1,e.W1O)),2&n){const l=e.MAs(2);e.Q6J("ngIf",s.codes.length>1)("ngIfElse",l)}},dependencies:[f.mk,f.sg,f.O5,Bn.s],styles:["pre[_ngcontent-%COMP%]{background-color:var(--gray-200);border-radius:.5rem}"]}),t})();const Ms=["mountDetailsTpl"],Hs=function(t){return[t]};let us=(()=>{class t{constructor(n){this.activeModal=n,this.canceled=!1,this.MOUNT_DIRECTORY="<MOUNT_DIRECTORY>"}ngOnInit(){this.mount=`sudo mount -t ceph <CLIENT_USER>@${this.mountData?.fsId}.${this.mountData?.fsName}=${this.mountData?.rootPath} ${this.MOUNT_DIRECTORY}`,this.fuse=`sudo ceph-fuse ${this.MOUNT_DIRECTORY} -r ${this.mountData?.rootPath} --client_mds_namespace=${this.mountData?.fsName}`,this.nfs=`sudo mount -t nfs -o port=<PORT> <IP of active_nfs daemon>:<export_name> ${this.MOUNT_DIRECTORY}`}ngOnDestroy(){this.onCancel&&this.canceled&&this.onCancel()}cancel(){this.canceled=!0,this.activeModal.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.Kz))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-mount-details"]],viewQuery:function(n,s){if(1&n&&e.Gf(Ms,7),2&n){let l;e.iGM(l=e.CRH())&&(s.mountDetailsTpl=l.first)}},decls:18,vars:9,consts:function(){let i,n,s,l,_;return i="Attach commands",n=" Using Mount command ",s=" Using FUSE command ",l=" Using NFS Command ",_=" Close ",[[3,"hide"],[1,"modal-title"],i,[1,"modal-content"],[1,"modal-body"],[1,"fw-bold"],n,["textWrap","true",3,"codes"],s,l,[1,"modal-footer"],[3,"submitAction"],_]},template:function(n,s){1&n&&(e.TgZ(0,"cd-modal",0),e.NdJ("hide",function(){return s.cancel()}),e.ynx(1,1),e.TgZ(2,"span"),e.SDv(3,2),e.qZA(),e.BQk(),e.ynx(4,3),e.TgZ(5,"div",4)(6,"h5",5),e.SDv(7,6),e.qZA(),e._UZ(8,"cd-code-block",7),e.TgZ(9,"h5",5),e.SDv(10,8),e.qZA(),e._UZ(11,"cd-code-block",7),e.TgZ(12,"h5",5),e.SDv(13,9),e.qZA(),e._UZ(14,"cd-code-block",7),e.qZA(),e.TgZ(15,"div",10)(16,"cd-submit-button",11),e.NdJ("submitAction",function(){return s.cancel()}),e.SDv(17,12),e.qZA()(),e.BQk(),e.qZA()),2&n&&(e.xp6(8),e.Q6J("codes",e.VKq(3,Hs,s.mount)),e.xp6(3),e.Q6J("codes",e.VKq(5,Hs,s.fuse)),e.xp6(3),e.Q6J("codes",e.VKq(7,Hs,s.nfs)))},dependencies:[Bt.w,Kt.z,So]}),t})();var Ma=o(43190),ss=o(88002),se=o(20092),Dt=o(25917),Xe=o(54395),rn=o(87519),zn=o(5304),ii=o(26215),Ai=o(79765),qo=o(46797),as=o(45435),oa=o(68307),ks=o(77393);class Bl{constructor(i,n){this.count=i,this.source=n}call(i,n){return n.subscribe(new ja(i,this.count,this.source))}}class ja extends ks.L{constructor(i,n,s){super(i),this.count=n,this.source=s}error(i){if(!this.isStopped){const{source:n,count:s}=this;if(0===s)return super.error(i);s>-1&&(this.count=s-1),n.subscribe(this._unsubscribeAndRecycle())}}}var Ea=o(78345),ac=o(46782);let _e=(()=>{class t{constructor(n){this.cephFsService=n,this._directoryStoreSubject=new ii.X({}),this.directoryStore$=this._directoryStoreSubject.asObservable(),this.stopDirectoryPolling=new Ai.xQ,this.isLoading=!0}loadDirectories(n,s="/",l=3){this.directoryStore$.pipe((0,as.h)(_=>!Boolean(_[n])),(0,Ma.w)(()=>(0,qo.H)(0,6e5).pipe((0,Ma.w)(()=>this.cephFsService.lsDir(n,s,l).pipe((0,oa.b)(_=>{this.isLoading=!1,this._directoryStoreSubject.next({[n]:_})}))),function Ds(t=-1){return i=>i.lift(new Bl(t,i))}(),(0,Ea.B)(),(0,ac.R)(this.stopDirectoryPolling)))).subscribe()}search(n,s,l=5){return this.directoryStore$.pipe((0,ss.U)(_=>{const g=new RegExp(n,"gi");return _[s].filter(x=>g.test(x.path)).map(x=>x.path).slice(0,l)}))}stopPollingDictories(){this.stopDirectoryPolling.next()}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(Fr))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var de=o(93614),Fe=o(95463),je=o(18372),lt=o(30839),Vt=o(63622),Ht=o(87925),wn=o(94276),ar=o(56310),cr=o(41582),_i=o(10545);function ao(t,i){1&t&&(e.TgZ(0,"span",47),e.SDv(1,48),e.qZA())}function gs(t,i){1&t&&(e.TgZ(0,"span",47),e.SDv(1,49),e.qZA())}const Wo=function(t,i){return[t,i,"mt-2","me-2"]};function Qs(t,i){if(1&t&&(e.TgZ(0,"div"),e._UZ(1,"i",50),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngClass",e.WLB(1,Wo,n.icons.spinner,n.icons.spin))}}function Pa(t,i){1&t&&(e.TgZ(0,"span",47),e.SDv(1,51),e.qZA())}function dc(t,i){if(1&t){const n=e.EpF();e.ynx(0,4),e.TgZ(1,"form",5,6)(3,"div",7)(4,"div",8)(5,"label",9),e.SDv(6,10),e.qZA(),e.TgZ(7,"div",11),e._UZ(8,"input",12),e.YNc(9,ao,2,0,"span",13),e.qZA()(),e.TgZ(10,"div",8)(11,"label",9),e.tHW(12,14),e.TgZ(13,"cd-helper")(14,"a",15),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.closeModal())}),e.qZA()(),e.N_p(),e.qZA(),e.TgZ(15,"div",11)(16,"div",16)(17,"span",17),e.SDv(18,18),e.qZA(),e._UZ(19,"input",19),e.YNc(20,gs,2,0,"span",13),e.qZA()()(),e.TgZ(21,"div",8)(22,"label",20),e.tHW(23,21),e._UZ(24,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(25,"div",11),e._UZ(26,"input",22),e.YNc(27,Qs,2,4,"div",23),e.YNc(28,Pa,2,0,"span",13),e.qZA()(),e.TgZ(29,"div",8)(30,"label",24),e.SDv(31,25),e.qZA(),e.TgZ(32,"div",11)(33,"div",26),e._UZ(34,"input",27),e.TgZ(35,"label",28),e.SDv(36,29),e.qZA(),e.TgZ(37,"cd-helper"),e.SDv(38,30),e.qZA()(),e.TgZ(39,"div",26)(40,"input",31),e.NdJ("change",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.toggleFormControl())}),e.qZA(),e.TgZ(41,"label",32),e.SDv(42,33),e.qZA()(),e.TgZ(43,"div",26),e._UZ(44,"input",34),e.TgZ(45,"label",35),e.SDv(46,36),e.qZA(),e.TgZ(47,"cd-helper"),e.SDv(48,37),e.qZA()(),e.TgZ(49,"div",26),e._UZ(50,"input",38),e.TgZ(51,"label",39),e.SDv(52,40),e.qZA(),e.TgZ(53,"cd-helper"),e.SDv(54,41),e.qZA()(),e.TgZ(55,"div",26),e._UZ(56,"input",42),e.TgZ(57,"label",43),e.SDv(58,44),e.qZA(),e.TgZ(59,"cd-helper"),e._uU(60,"Safety measure to prevent scenarios such as accidental sudo rm -rf /path"),e.qZA()()()()(),e.TgZ(61,"div",45)(62,"cd-form-button-panel",46),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onSubmit())}),e.ALo(63,"titlecase"),e.qZA()()(),e.BQk()}if(2&t){const n=e.MAs(2),s=e.oxw();e.xp6(1),e.Q6J("formGroup",s.form),e.xp6(8),e.Q6J("ngIf",s.form.showError("fsName",n,"required")),e.xp6(11),e.Q6J("ngIf",s.form.showError("userId",n,"required")),e.xp6(6),e.Q6J("ngbTypeahead",s.search)("placeholder",s.directoryStore.isLoading?"Loading directories":"Directory search"),e.xp6(1),e.Q6J("ngIf",s.directoryStore.isLoading),e.xp6(1),e.Q6J("ngIf",s.form.showError("directory",n,"required")),e.xp6(34),e.Q6J("form",s.form)("submitText",e.lcZ(63,9,s.action))}}let nu=(()=>{class t extends de.E{constructor(n,s,l,_,g){super(),this.activeModal=n,this.actionLabels=s,this.directoryStore=l,this.cephfsService=_,this.taskWrapper=g,this.isDefaultSubvolumeGroup=!1,this.isSubvolume=!1,this.icons=ei.P,this.search=M=>M.pipe((0,Xe.b)(300),(0,rn.x)(),(0,Ma.w)(x=>this.directoryStore.search(x,this.id).pipe((0,zn.K)(()=>(0,Dt.of)([]))))),this.action=this.actionLabels.UPDATE,this.resource="access"}ngOnInit(){this.directoryStore.loadDirectories(this.id,"/",3),this.createForm(),this.loadingReady()}createForm(){this.form=new Fe.d({fsName:new se.NI({value:this.fsName,disabled:!0},{validators:[se.kI.required]}),directory:new se.NI(void 0,{updateOn:"blur",validators:[se.kI.required]}),userId:new se.NI(void 0,{validators:[se.kI.required]}),read:new se.NI({value:!0,disabled:!0},{validators:[se.kI.required]}),write:new se.NI(void 0),snapshot:new se.NI({value:!1,disabled:!0}),quota:new se.NI({value:!1,disabled:!0}),rootSquash:new se.NI(void 0)})}closeModal(){this.activeModal.close()}onSubmit(){const n=this.form.getValue("userId"),s=[this.form.getValue("directory"),this.transformPermissions()],l=this.form.getValue("rootSquash");this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/auth",{clientId:n}),call:this.cephfsService.setAuth(this.fsName,n,s,l)}).subscribe({error:()=>this.form.setErrors({cdSubmitButton:!0}),complete:()=>{this.activeModal.close()}})}transformPermissions(){const n=this.form.getValue("write"),s=this.form.getValue("snapshot");return`r${n?"w":""}${this.form.getValue("quota")?"p":""}${s?"s":""}`}toggleFormControl(){const n=this.form.get("snapshot"),s=this.form.get("quota");n.disabled?n.enable():n.disable(),s.disabled?s.enable():s.disable()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.Kz),e.Y36(Dr.p4),e.Y36(_e),e.Y36(Fr),e.Y36(Gr.P))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-auth-modal"]],features:[e.qOj],decls:6,vars:8,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Fs name ",s="User ID " + "\ufffd#13\ufffd" + " You can manage users from " + "\ufffd#14\ufffd" + "Ceph Users" + "\ufffd/#14\ufffd" + " page " + "\ufffd/#13\ufffd" + "",l="client. ",_="Directory " + "\ufffd#24\ufffd" + "Path to restrict access to" + "\ufffd/#24\ufffd" + "",g="Permissons",M="Read ",x="Read permission is the minimum givable access",Y="Write ",K="Quota ",le="Permission to set layouts or quotas, write access needed",fe="Snapshot ",ge="Permission to create or delete snapshots, write access needed",Se="Root Squash ",Ge="This field is required!",we="This field is required!",He="This field is required!",[[3,"modalRef"],[1,"modal-title"],i,["class","modal-content",4,"cdFormLoading"],[1,"modal-content"],["name","form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","userId",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["id","fsName","name","fsName","type","text","formControlName","fsName",1,"form-control"],["class","invalid-feedback",4,"ngIf"],s,["routerLink","/ceph-users",3,"click"],[1,"input-group"],["for","userId",1,"input-group-text"],l,["id","userId","name","userId","type","text","formControlName","userId",1,"form-control"],["for","directory",1,"cd-col-form-label","required"],_,["id","typeahead-http","type","text","disabled","directoryStore.isLoading","formControlName","directory",1,"form-control",3,"ngbTypeahead","placeholder"],[4,"ngIf"],["for","permissions",1,"cd-col-form-label"],g,[1,"custom-control","custom-checkbox"],["id","read","formControlName","read","type","checkbox",1,"custom-control-input"],["for","read",1,"custom-control-label"],M,x,["id","write","formControlName","write","type","checkbox",1,"custom-control-input",3,"change"],["for","write",1,"custom-control-label"],Y,["id","quota","formControlName","quota","type","checkbox",1,"custom-control-input"],["for","quota",1,"custom-control-label"],K,le,["id","snapshot","formControlName","snapshot","type","checkbox",1,"custom-control-input"],["for","snapshot",1,"custom-control-label"],fe,ge,["id","rootSquash","formControlName","rootSquash","type","checkbox",1,"custom-control-input"],["for","rootSquash",1,"custom-control-label"],Se,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],Ge,we,[3,"ngClass"],He]},template:function(n,s){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.YNc(5,dc,64,11,"ng-container",3),e.qZA()),2&n&&(e.Q6J("modalRef",s.activeModal),e.xp6(4),e.pQV(e.lcZ(3,4,s.action))(e.lcZ(4,6,s.resource)),e.QtT(2),e.xp6(1),e.Q6J("cdFormLoading",s.loading))},dependencies:[f.mk,f.O5,je.S,Kt.z,lt.p,Vt.y,Ht.o,wn.b,ar.P,cr.V,Ce.rH,se._Y,se.Fj,se.Wl,se.JJ,se.JL,se.sg,se.u,Be.dR,f.rS,_i.m]}),t})();var fa=o(47640),uu=o(64724),tc=o(63285),Iu=o(79241),Ol=o(83697),il=o(94928),du=o(69158),Al=o(91801),xl=o(76317),Gc=o(59376),xa=o(47557),iu=o(66369),En=o(60251),Pc=o(61350),Du=o(16738),fl=o.n(Du),Ed=(o(42085),o(87311)),ju=o(19035);const dd=["chartCanvas"],fu=["chartTooltip"];let fd=(()=>{class t{constructor(){this.lhsCounter="mds_mem.ino",this.rhsCounter="mds_server.handle_client_request",this.chart={datasets:[{label:this.lhsCounter,yAxisID:"LHS",data:[],tension:.1,fill:{target:"origin"}},{label:this.rhsCounter,yAxisID:"RHS",data:[],tension:.1,fill:{target:"origin"}}],options:{plugins:{title:{text:"",display:!0},tooltip:{enabled:!1,mode:"index",intersect:!1,position:"nearest",callbacks:{title:n=>{let s="";return n.length>0&&(s=n[0].label),fl()(s).format("LTS")}}},legend:{position:"top"}},responsive:!0,maintainAspectRatio:!1,scales:{x:{position:"top",type:"time",time:{displayFormats:{quarter:"MMM YYYY"}},ticks:{maxRotation:0}},LHS:{type:"linear",position:"left"},RHS:{type:"linear",position:"right"}}},chartType:"line"}}ngOnInit(){Ke().isUndefined(this.mdsCounter)||(this.setChartTooltip(),this.updateChart())}ngOnChanges(){Ke().isUndefined(this.mdsCounter)||this.updateChart()}setChartTooltip(){const n=new Ed.h(this.chartCanvas,this.chartTooltip,l=>l.caretX+"px",l=>l.caretY-l.height-23+"px");n.checkOffset=!0;const s={title:{text:this.mdsCounter.name},tooltip:{external:l=>n.customTooltips(l)}};Ke().merge(this.chart,{options:{plugins:s}})}updateChart(){const n=[{data:this.convertTimeSeries(this.mdsCounter[this.lhsCounter])},{data:this.deltaTimeSeries(this.mdsCounter[this.rhsCounter])}];Ke().merge(this.chart,{datasets:n}),this.chart.datasets=[...this.chart.datasets]}convertTimeSeries(n){const s=[];return Ke().each(n,l=>{s.push({x:1e3*l[0],y:l[1]})}),s.shift(),s}deltaTimeSeries(n){let s,l=n[0];const _=[];for(s=1;s<n.length;s++){const g=n[s];_.push({x:1e3*g[0],y:g[1]-l[1]}),l=g}return _}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-chart"]],viewQuery:function(n,s){if(1&n&&(e.Gf(dd,7),e.Gf(fu,7)),2&n){let l;e.iGM(l=e.CRH())&&(s.chartCanvas=l.first),e.iGM(l=e.CRH())&&(s.chartTooltip=l.first)}},inputs:{mdsCounter:"mdsCounter"},features:[e.TTD],decls:6,vars:3,consts:[[1,"chart-container"],["baseChart","",3,"datasets","options","type"],["chartCanvas",""],[1,"chartjs-tooltip"],["chartTooltip",""]],template:function(n,s){1&n&&(e.TgZ(0,"div",0),e._UZ(1,"canvas",1,2),e.TgZ(3,"div",3,4),e._UZ(5,"table"),e.qZA()()),2&n&&(e.xp6(1),e.Q6J("datasets",s.chart.datasets)("options",s.chart.options)("type",s.chart.chartType))},dependencies:[ju.jh],styles:['.chart-container[_ngcontent-%COMP%]{cursor:pointer;margin:auto;overflow:visible;position:absolute}canvas[_ngcontent-%COMP%]{user-select:none}.chartjs-tooltip[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%);transition:all .1s ease}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]{transform:translate(-10%)}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]:after{left:10%}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]{transform:translate(-90%)}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]:after{left:90%}.chartjs-tooltip[_ngcontent-%COMP%]:after{border-color:#000 transparent transparent transparent;border-style:solid;border-width:5px;content:" ";left:50%;margin-left:-5px;position:absolute;top:100%} .chartjs-tooltip-key{display:inline-block;height:10px;margin-right:10px;width:10px}.chart-container[_ngcontent-%COMP%]{height:500px;margin-bottom:20px;position:relative;width:100%}']}),t})();const Sd=["poolUsageTpl"],Cd=["activityTmpl"];function xp(t,i){if(1&t&&(e.TgZ(0,"div",0)(1,"div",11),e._UZ(2,"cd-cephfs-chart",12),e.qZA()()),2&t){const n=i.$implicit;e.xp6(2),e.Q6J("mdsCounter",n)}}function nc(t,i){if(1&t&&e._UZ(0,"cd-usage-bar",13),2&t){const n=i.row;e.Q6J("total",n.size)("used",n.used)("title",n.pool_name)}}function Qu(t,i){1&t&&(e._uU(0),e.ALo(1,"dimless")),2&t&&e.AsE(" ","standby-replay"===i.row.state?"Evts":"Reqs",": ",e.lcZ(1,2,i.value)," /s\n")}let ap=(()=>{class t{constructor(n,s){this.dimlessBinary=n,this.dimless=s,this.standbys=[],this.objectValues=Object.values}ngOnChanges(){this.setStandbys()}setStandbys(){this.standbys=[{key:"Standby daemons",value:this.data.standbys}]}ngOnInit(){this.columns={ranks:[{prop:"rank",name:"Rank"},{prop:"state",name:"State"},{prop:"mds",name:"Daemon"},{prop:"activity",name:"Activity",cellTemplate:this.activityTmpl},{prop:"dns",name:"Dentries",pipe:this.dimless},{prop:"inos",name:"Inodes",pipe:this.dimless},{prop:"dirs",name:"Dirs",pipe:this.dimless},{prop:"caps",name:"Caps",pipe:this.dimless}],pools:[{prop:"pool",name:"Pool"},{prop:"type",name:"Type"},{prop:"size",name:"Size",pipe:this.dimlessBinary},{name:"Usage",cellTemplate:this.poolUsageTpl,comparator:(n,s,l,_)=>{const g=l.used/l.avail,M=_.used/_.avail;return g===M?0:g>M?1:-1}}]}}trackByFn(n,s){return s.name}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(xa.$),e.Y36(iu.n))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-detail"]],viewQuery:function(n,s){if(1&n&&(e.Gf(Sd,7),e.Gf(Cd,7)),2&n){let l;e.iGM(l=e.CRH())&&(s.poolUsageTpl=l.first),e.iGM(l=e.CRH())&&(s.activityTmpl=l.first)}},inputs:{data:"data"},features:[e.TTD],decls:19,vars:9,consts:function(){let i,n,s,l;return i="Ranks",n="Standbys",s="Pools",l="MDS performance counters",[[1,"row"],[1,"col-sm-6"],i,[3,"data","columns","toolHeader"],n,[3,"data"],s,l,["class","row",4,"ngFor","ngForOf","ngForTrackBy"],["poolUsageTpl",""],["activityTmpl",""],[1,"col-md-12"],[3,"mdsCounter"],[3,"total","used","title"]]},template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"legend"),e.SDv(3,2),e.qZA(),e._UZ(4,"cd-table",3),e.TgZ(5,"legend"),e.SDv(6,4),e.qZA(),e._UZ(7,"cd-table-key-value",5),e.qZA(),e.TgZ(8,"div",1)(9,"legend"),e.SDv(10,6),e.qZA(),e._UZ(11,"cd-table",3),e.qZA()(),e.TgZ(12,"legend"),e.SDv(13,7),e.qZA(),e.YNc(14,xp,3,1,"div",8),e.YNc(15,nc,1,3,"ng-template",null,9,e.W1O),e.YNc(17,Qu,2,4,"ng-template",null,10,e.W1O)),2&n&&(e.xp6(4),e.Q6J("data",s.data.ranks)("columns",s.columns.ranks)("toolHeader",!1),e.xp6(3),e.Q6J("data",s.standbys),e.xp6(4),e.Q6J("data",s.data.pools)("columns",s.columns.pools)("toolHeader",!1),e.xp6(3),e.Q6J("ngForOf",s.objectValues(s.data.mdsCounters))("ngForTrackBy",s.trackByFn))},dependencies:[f.sg,En.O,Ol.a,Pc.b,fd,iu.n],styles:[".progress[_ngcontent-%COMP%]{margin-bottom:0}"]}),t})();var ua=o(18001);let lp=(()=>{class t{constructor(n,s,l,_,g){this.cephfsService=n,this.modalService=s,this.notificationService=l,this.authStorageService=_,this.actionLabels=g,this.triggerApiUpdate=new e.vpe,this.selection=new Kn.r,this.permission=this.authStorageService.getPermissions().cephfs,this.tableActions=[{permission:"update",icon:ei.P.signOut,click:()=>this.evictClientModal(),name:this.actionLabels.EVICT}]}ngOnInit(){this.columns=[{prop:"id",name:"id"},{prop:"type",name:"type"},{prop:"state",name:"state"},{prop:"version",name:"version"},{prop:"hostname",name:"Host"},{prop:"root",name:"root"}]}updateSelection(n){this.selection=n}evictClient(n){this.cephfsService.evictClient(this.id,n).subscribe(()=>{this.triggerApiUpdate.emit(),this.modalRef.close(),this.notificationService.show(ua.k.success,"Evicted client '" + n + "'")},()=>{this.modalRef.componentInstance.stopLoadingSpinner()})}evictClientModal(){const n=this.selection.first().id;this.modalRef=this.modalService.show(Yo.M,{itemDescription:"client",itemNames:[n],actionDescription:"evict",submitAction:()=>this.evictClient(n)})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Fr),e.Y36(tc.Z),e.Y36(Le.g),e.Y36(fa.j),e.Y36(Dr.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-clients"]],inputs:{id:"id",clients:"clients"},outputs:{triggerApiUpdate:"triggerApiUpdate"},decls:2,vars:7,consts:[["selectionType","single",3,"data","columns","status","autoReload","fetchData","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"]],template:function(n,s){1&n&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(){return s.triggerApiUpdate.emit()})("updateSelection",function(_){return s.updateSelection(_)}),e._UZ(1,"cd-table-actions",1),e.qZA()),2&n&&(e.Q6J("data",s.clients.data)("columns",s.columns)("status",s.clients.status)("autoReload",-1),e.xp6(1),e.Q6J("permission",s.permission)("selection",s.selection)("tableActions",s.tableActions))},dependencies:[Ol.a,il.K]}),t})();var Bu=o(35512),jd=o(36169),lc=o(65683),zo=o(90070),pu=o(96102);const cp=["origin"],fc=function(t,i){return[t,i]};function Zd(t,i){if(1&t&&e._UZ(0,"i",5),2&t){const n=e.oxw(2);e.Q6J("ngClass",e.WLB(1,fc,n.icons.spinner,n.icons.spin))}}function Ru(t,i){if(1&t&&(e.TgZ(0,"tree-root",10),e.YNc(1,Zd,1,4,"ng-template",null,11,e.W1O),e.qZA()),2&t){const n=e.oxw();e.Q6J("nodes",n.nodes)("options",n.treeOptions)}}function $o(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"legend"),e.SDv(2,18),e.qZA(),e.TgZ(3,"cd-table",19),e.NdJ("updateSelection",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.quota.updateSelection(l))}),e._UZ(4,"cd-table-actions",20),e.qZA(),e.BQk()}if(2&t){const n=e.oxw(2);e.xp6(3),e.Q6J("data",n.settings)("columns",n.quota.columns)("limit",0)("footer",!1)("onlyActionHeader",!0)("forceIdentifier",!0)("toolHeader",!1),e.xp6(1),e.Q6J("permission",n.permission)("selection",n.quota.selection)("tableActions",n.quota.tableActions)}}function be(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",12)(1,"div",2)(2,"div",3),e._uU(3),e.qZA(),e.TgZ(4,"div",13),e.YNc(5,$o,5,10,"ng-container",14),e.TgZ(6,"legend"),e.SDv(7,15),e.qZA(),e.TgZ(8,"cd-table",16),e.NdJ("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.snapshot.updateSelection(l))}),e._UZ(9,"cd-table-actions",17),e.qZA()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.hij(" ",n.selectedDir.path," "),e.xp6(2),e.Q6J("ngIf","/"!==n.selectedDir.path),e.xp6(3),e.Q6J("data",n.selectedDir.snapshots)("columns",n.snapshot.columns),e.xp6(1),e.Q6J("permission",n.permission)("selection",n.snapshot.selection)("tableActions",n.snapshot.tableActions)}}function Ne(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"span",21),e.NdJ("click",function(){const _=e.CHM(n).value,g=e.oxw();return e.KtG(g.selectOrigin(_))}),e._uU(1),e.qZA()}if(2&t){const n=i.value;e.xp6(1),e.Oqu(n)}}let Ze=(()=>{class t{constructor(n,s,l,_,g,M,x){this.authStorageService=n,this.modalService=s,this.cephfsService=l,this.cdDatePipe=_,this.actionLabels=g,this.notificationService=M,this.dimlessBinaryPipe=x,this.icons=ei.P,this.loadingIndicator=!1,this.loading={},this.treeOptions={useVirtualScroll:!0,getChildren:Y=>this.updateDirectory(Y.id),actionMapping:{mouse:{click:this.selectAndShowNode.bind(this),expanderClick:this.selectAndShowNode.bind(this)}}}}selectAndShowNode(n,s,l){Bu.iM.TOGGLE_EXPANDED(n,s,l),this.selectNode(s)}selectNode(n){Bu.iM.TOGGLE_ACTIVE(void 0,n,void 0),this.selectedDir=this.getDirectory(n),"/"!==n.id&&this.setSettings(n)}ngOnInit(){this.permission=this.authStorageService.getPermissions().cephfs,this.setUpQuotaTable(),this.setUpSnapshotTable()}setUpQuotaTable(){this.quota={columns:[{prop:"row.name",name:"Name",flexGrow:1},{prop:"row.value",name:"Value",sortable:!1,flexGrow:1},{prop:"row.originPath",name:"Origin",sortable:!1,cellTemplate:this.originTmpl,flexGrow:1}],selection:new Kn.r,updateSelection:n=>{this.quota.selection=n},tableActions:[{name:this.actionLabels.SET,icon:ei.P.edit,permission:"update",visible:n=>!n.hasSelection||n.first()&&0===n.first().dirValue,click:()=>this.updateQuotaModal()},{name:this.actionLabels.UPDATE,icon:ei.P.edit,permission:"update",visible:n=>n.first()&&n.first().dirValue>0,click:()=>this.updateQuotaModal()},{name:this.actionLabels.UNSET,icon:ei.P.destroy,permission:"update",disable:n=>!n.hasSelection||n.first()&&0===n.first().dirValue,click:()=>this.unsetQuotaModal()}]}}setUpSnapshotTable(){this.snapshot={columns:[{prop:"name",name:"Name",flexGrow:1},{prop:"path",name:"Path",isHidden:!0,flexGrow:2},{prop:"created",name:"Created",flexGrow:1,pipe:this.cdDatePipe},{prop:"created",name:"Capacity",flexGrow:1}],selection:new Kn.r,updateSelection:n=>{this.snapshot.selection=n},tableActions:[{name:this.actionLabels.CREATE,icon:ei.P.add,permission:"create",canBePrimary:n=>!n.hasSelection,click:()=>this.createSnapshot(),disable:()=>this.disableCreateSnapshot()},{name:this.actionLabels.DELETE,icon:ei.P.destroy,permission:"delete",click:()=>this.deleteSnapshotModal(),canBePrimary:n=>n.hasSelection,disable:n=>!n.hasSelection}]}}disableCreateSnapshot(){const n=this.selectedDir.path.split("/").slice(1);return n.length>=4&&"volumes"===n[0]&&"Cannot create snapshots for files/folders in the subvolume " + n[2] + ""}ngOnChanges(){this.selectedDir=void 0,this.dirs=[],this.requestedPaths=[],this.nodeIds={},this.id&&(this.setRootNode(),this.firstCall())}setRootNode(){this.nodes=[{name:"/",id:"/",isExpanded:!0}]}firstCall(){setTimeout(()=>{this.getNode("/").loadNodeChildren()},10)}updateDirectory(n){if(this.unsetLoadingIndicator(),this.requestedPaths.includes(n)){if(!0===this.loading[n])return}else this.requestedPaths.push(n);return new Promise(s=>{this.setLoadingIndicator(n,!0),this.cephfsService.lsDir(this.id,n).subscribe(l=>{this.updateTreeStructure(l),this.updateQuotaTable(),this.updateTree(),s(this.getChildren(n)),this.setLoadingIndicator(n,!1),"/"===n&&0===this.treeComponent.treeModel.activeNodes?.length&&this.selectNode(this.getNode("/"))})})}setLoadingIndicator(n,s){this.loading[n]=s,this.unsetLoadingIndicator()}getSubDirectories(n,s=this.dirs){return s.filter(l=>l.parent===n)}getChildren(n){const s=this.getSubTree(n);return Ke().sortBy(this.getSubDirectories(n),"path").map(l=>this.createNode(l,s))}createNode(n,s){if(this.nodeIds[n.path]=n,s||this.getSubTree(n.parent),"/volumes"===n.path){const l=this.treeComponent.treeModel.getNodeById("/volumes");l&&l.expand()}return{name:n.name,id:n.path,hasChildren:this.getSubDirectories(n.path,s).length>0}}getSubTree(n){return this.dirs.filter(s=>s.parent&&s.parent.startsWith(n))}setSettings(n){const s=(l,_)=>l?_?_(l):l:"";this.settings=[this.getQuota(n,"max_files",s),this.getQuota(n,"max_bytes",l=>s(l,_=>this.dimlessBinaryPipe.transform(_)))]}getQuota(n,s,l){const _=n.id;n=this.getOrigin(n,s);const g=this.getDirectory(n),M=g.quotas[s];let x=M,Y=g.path;if(n.id===_)if("/"===n.parent.id)x=0;else{const K=this.getDirectory(this.getOrigin(n.parent,s));x=K.quotas[s],Y=K.path}return{row:{name:"max_bytes"===s?"Max size":"Max files",value:l(M),originPath:M?g.path:""},quotaKey:s,dirValue:this.nodeIds[_].quotas[s],nextTreeMaximum:{value:x,path:x?Y:""}}}getOrigin(n,s){if(n.parent&&"/"!==n.parent.id){const l=this.getQuotaFromTree(n,s),_=this.getOrigin(n.parent,s),g=this.getQuotaFromTree(_,s);return 0===l||0!==g&&g<l?_:n}return n}getQuotaFromTree(n,s){return this.getDirectory(n).quotas[s]}getDirectory(n){return this.nodeIds[n.id]}selectOrigin(n){this.selectNode(this.getNode(n))}getNode(n){return this.treeComponent.treeModel.getNodeById(n)}updateQuotaModal(){const n=this.selectedDir.path,s=this.quota.selection.first(),l=s.nextTreeMaximum,_=s.quotaKey,g=s.dirValue;this.modalService.show(lc.X,{titleText:this.getModalQuotaTitle(0===g?this.actionLabels.SET:this.actionLabels.UPDATE,n),message:l.value?"The inherited " + this.getQuotaValueFromPathMsg(l.value, l.path) + " is the maximum value to be used.":void 0,fields:[this.getQuotaFormField(s.row.name,_,g,l.value)],submitButtonText:"Save",onSubmit:M=>this.updateQuota(M)})}getModalQuotaTitle(n,s){return "" + n + " CephFS " + this.getQuotaName() + " quota for '" + s + "'"}getQuotaName(){return this.isBytesQuotaSelected()?"size":"files"}isBytesQuotaSelected(){return"max_bytes"===this.quota.selection.first().quotaKey}getQuotaValueFromPathMsg(n,s){return n=this.isBytesQuotaSelected()?this.dimlessBinaryPipe.transform(n):n,"" + this.getQuotaName() + " quota " + n + " from '" + s + "'"}getQuotaFormField(n,s,l,_){const g="max_bytes"===s,M=[g?zo.h.binaryMin(0):se.kI.min(0)];_&&M.push(g?zo.h.binaryMax(_):se.kI.max(_));const x={type:g?"binary":"number",label:n,name:s,value:l,validators:M,required:!0};return g||(x.errors={min:"Value has to be at least 0 or more",max:"Value has to be at most " + _ + " or less"}),x}updateQuota(n,s){const l=this.selectedDir.path,_=this.quota.selection.first().quotaKey,g=0===this.selectedDir.quotas[_]?this.actionLabels.SET:0===n[_]?this.actionLabels.UNSET:"Updated";this.cephfsService.quota(this.id,l,n).subscribe(()=>{s&&s(),this.notificationService.show(ua.k.success,this.getModalQuotaTitle(g,l)),this.forceDirRefresh()})}unsetQuotaModal(){const n=this.selectedDir.path,s=this.quota.selection.first(),l=s.quotaKey,_=s.nextTreeMaximum,g=s.dirValue,M=this.getQuotaValueFromPathMsg(_.value,_.path),x=_.value>0?_.value>g?"in order to inherit " + M + "":"which isn't used because of the inheritance of " + M + "":"in order to have no quota on the directory";this.modalRef=this.modalService.show(jd.Y,{titleText:this.getModalQuotaTitle(this.actionLabels.UNSET,n),buttonText:this.actionLabels.UNSET,description:"" + this.actionLabels.UNSET + " " + this.getQuotaValueFromPathMsg(g, n) + " " + x + ".",onSubmit:()=>this.updateQuota({[l]:0},()=>this.modalRef.close())})}createSnapshot(){const n=this.selectedDir.path;this.modalService.show(lc.X,{titleText:"Create Snapshot",message:"Please enter the name of the snapshot.",fields:[{type:"text",name:"name",value:`${fl()().toISOString(!0)}`,required:!0,validators:[this.validateValue.bind(this)]}],submitButtonText:"Create Snapshot",onSubmit:s=>{this.alreadyExists?this.notificationService.show(ua.k.error,"Snapshot name '" + s.name + "' is already in use. Please use another name."):this.cephfsService.mkSnapshot(this.id,n,s.name).subscribe(l=>{this.notificationService.show(ua.k.success,"Created snapshot '" + l + "' for '" + n + "'"),this.forceDirRefresh()})}})}validateValue(n){this.alreadyExists=this.selectedDir.snapshots.some(s=>s.name===n.value)}forceDirRefresh(n){if(!n){const l=this.selectedDir;if(!l)throw new Error("This function can only be called without path if an selection was made");n=l.parent?l.parent:l.path}this.getNode(n).loadNodeChildren()}updateTreeStructure(n){const s=(_,g)=>{const M=_.filter(Y=>Y.parent===g),x=M.map(Y=>Y.path);return{children:M,paths:x}};Ke().uniq(n.map(_=>_.parent).sort()).forEach(_=>{const g=s(n,_),M=s(this.dirs,_);M.children.forEach(x=>{g.paths.includes(x.path)||this.removeOldDirectory(x)}),g.children.forEach(x=>{M.paths.includes(x.path)?this.updateExistingDirectory(M.children,x):this.addNewDirectory(x)})})}removeOldDirectory(n){const s=n.path;Ke().remove(this.dirs,l=>l.path===s),delete this.nodeIds[s],this.updateDirectoriesParentNode(n)}updateDirectoriesParentNode(n){const s=n.parent;if(!s)return;const l=this.getNode(s);if(!l)return;const _=this.getChildren(s);l.data.children=_,l.data.hasChildren=_.length>0,this.treeComponent.treeModel.update()}addNewDirectory(n){this.dirs.push(n),this.nodeIds[n.path]=n,this.updateDirectoriesParentNode(n)}updateExistingDirectory(n,s){const l=n.find(_=>_.path===s.path);Object.assign(l,s)}updateQuotaTable(){const n=this.selectedDir?this.getNode(this.selectedDir.path):void 0;n&&"/"!==n.id&&this.setSettings(n)}updateTree(n=!1){this.loadingIndicator&&!n||(this.treeComponent.treeModel.update(),this.nodes=[...this.nodes],this.treeComponent.sizeChanged())}deleteSnapshotModal(){this.modalRef=this.modalService.show(Yo.M,{itemDescription:"CephFs Snapshot",itemNames:this.snapshot.selection.selected.map(n=>n.name),submitAction:()=>this.deleteSnapshot()})}deleteSnapshot(){const n=this.selectedDir.path;this.snapshot.selection.selected.forEach(s=>{const l=s.name;this.cephfsService.rmSnapshot(this.id,n,l).subscribe(()=>{this.notificationService.show(ua.k.success,"Deleted snapshot '" + l + "' for '" + n + "'")})}),this.modalRef.close(),this.forceDirRefresh()}refreshAllDirectories(){this.loadingIndicator=!0,this.requestedPaths.map(s=>this.forceDirRefresh(s));const n=setInterval(()=>{this.updateTree(!0),this.loadingIndicator||clearInterval(n)},3e3)}unsetLoadingIndicator(){this.loadingIndicator&&(clearTimeout(this.loadingTimeout),this.loadingTimeout=setTimeout(()=>{if(Object.values(this.loading).some(s=>s))return this.unsetLoadingIndicator();this.loadingIndicator=!1,this.updateTree()},3e3))}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(tc.Z),e.Y36(Fr),e.Y36(pu.N),e.Y36(Dr.p4),e.Y36(Le.g),e.Y36(xa.$))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-directories"]],viewQuery:function(n,s){if(1&n&&(e.Gf(Bu.qr,5),e.Gf(cp,7)),2&n){let l;e.iGM(l=e.CRH())&&(s.treeComponent=l.first),e.iGM(l=e.CRH())&&(s.originTmpl=l.first)}},inputs:{id:"id"},features:[e.TTD],decls:11,vars:10,consts:function(){let i,n;return i="Snapshots",n="Quotas",[[1,"row"],[1,"col-sm-4","pe-0"],[1,"card"],[1,"card-header"],["type","button",1,"btn","btn-light","pull-right",3,"click"],[3,"ngClass"],[1,"card-body","card-tree"],[3,"nodes","options",4,"ngIf"],["class","col-sm-8 metadata",4,"ngIf"],["origin",""],[3,"nodes","options"],["loadingTemplate",""],[1,"col-sm-8","metadata"],[1,"card-body"],[4,"ngIf"],i,["identifier","name","forceIdentifier","true","selectionType","multiClick",3,"data","columns","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],n,["selectionType","single","identifier","quotaKey",3,"data","columns","limit","footer","onlyActionHeader","forceIdentifier","toolHeader","updateSelection"],[1,"only-table-actions",3,"permission","selection","tableActions"],[1,"quota-origin",3,"click"]]},template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"button",4),e.NdJ("click",function(){return s.refreshAllDirectories()}),e._UZ(5,"i",5),e.qZA()(),e.TgZ(6,"div",6),e.YNc(7,Ru,3,2,"tree-root",7),e.qZA()()(),e.YNc(8,be,10,7,"div",8),e.qZA(),e.YNc(9,Ne,2,1,"ng-template",null,9,e.W1O)),2&n&&(e.xp6(4),e.ekj("disabled",s.loadingIndicator),e.xp6(1),e.ekj("fa-spin",s.loadingIndicator),e.Q6J("ngClass",e.WLB(7,fc,s.icons.large,s.icons.refresh)),e.xp6(2),e.Q6J("ngIf",s.nodes),e.xp6(1),e.Q6J("ngIf",s.selectedDir))},dependencies:[f.mk,f.O5,Ol.a,il.K,Ht.o,Bu.qr],styles:["cd-cephfs-directories tree-root .tree-children{overflow:inherit}.quota-origin[_ngcontent-%COMP%]{color:#25828e;cursor:pointer}.quota-origin[_ngcontent-%COMP%]:hover{color:#212529}.card-tree[_ngcontent-%COMP%]{height:50vh}"]}),t})();var Ot=o(96736);let fn=(()=>{class t{constructor(n){this.http=n,this.baseURL="api/cephfs/subvolume"}get(n,s="",l=!0){return this.http.get(`${this.baseURL}/${n}`,{params:{group_name:s,info:l}})}create(n,s,l,_,g,M,x,Y,K){return this.http.post(this.baseURL,{vol_name:n,subvol_name:s,group_name:l,pool_layout:_,size:g,uid:M,gid:x,mode:Y,namespace_isolated:K},{observe:"response"})}info(n,s,l=""){return this.http.get(`${this.baseURL}/${n}/info`,{params:{subvol_name:s,group_name:l}})}remove(n,s,l="",_=!1){return this.http.delete(`${this.baseURL}/${n}`,{params:{subvol_name:s,group_name:l,retain_snapshots:_},observe:"response"})}exists(n,s,l=""){return this.info(s,n,l).pipe((0,Ot.h)(!0),(0,zn.K)(_=>(Ke().isFunction(_.preventDefault)&&_.preventDefault(),(0,Dt.of)(!1))))}existsInFs(n,s=""){return this.http.get(`${this.baseURL}/${n}/exists`,{params:{group_name:s}})}update(n,s,l,_=""){return this.http.put(`${this.baseURL}/${n}`,{subvol_name:s,size:l,group_name:_})}getSnapshots(n,s,l=""){return this.http.get(`${this.baseURL}/snapshot/${n}/${s}`,{params:{group_name:l}})}getSnapshotInfo(n,s,l,_=""){return this.http.get(`${this.baseURL}/snapshot/${s}/${l}/info`,{params:{snap_name:n,group_name:_}})}snapshotExists(n,s,l,_=""){return this.getSnapshotInfo(n,s,l,_).pipe((0,Ot.h)(!0),(0,zn.K)(g=>(Ke().isFunction(g.preventDefault)&&g.preventDefault(),(0,Dt.of)(!1))))}createSnapshot(n,s,l,_=""){return this.http.post(`${this.baseURL}/snapshot/`,{vol_name:n,subvol_name:l,snap_name:s,group_name:_},{observe:"response"})}deleteSnapshot(n,s,l,_=""){return this.http.delete(`${this.baseURL}/snapshot/${n}/${s}`,{params:{snap_name:l,group_name:_},observe:"response"})}createSnapshotClone(n,s,l,_,g="",M=""){return this.http.post(`${this.baseURL}/snapshot/clone`,{vol_name:n,subvol_name:s,snap_name:l,clone_name:_,group_name:g,target_group_name:M},{observe:"response"})}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var k=o(28211);let w=(()=>{class t{constructor(n){this.http=n,this.baseURL="api/cephfs/subvolume/group"}get(n,s=!0){return this.http.get(`${this.baseURL}/${n}`,{params:{info:s}})}create(n,s,l,_,g,M,x){return this.http.post(this.baseURL,{vol_name:n,group_name:s,pool_layout:l,size:_,uid:g,gid:M,mode:x},{observe:"response"})}info(n,s){return this.http.get(`${this.baseURL}/${n}/info`,{params:{group_name:s}})}exists(n,s){return this.info(s,n).pipe((0,Ot.h)(!0),(0,zn.K)(l=>(Ke().isFunction(l.preventDefault)&&l.preventDefault(),(0,Dt.of)(!1))))}update(n,s,l){return this.http.put(`${this.baseURL}/${n}`,{group_name:s,size:l})}remove(n,s){return this.http.delete(`${this.baseURL}/${n}`,{params:{group_name:s},observe:"response"})}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var C=o(82799),N=o(54982),B=o(82945),re=o(17932);function he(t,i){1&t&&(e.TgZ(0,"span",43),e.SDv(1,44),e.qZA())}function Te(t,i){1&t&&(e.TgZ(0,"span",43),e.SDv(1,45),e.qZA())}function $e(t,i){1&t&&(e.TgZ(0,"span",43),e.SDv(1,46),e.qZA())}function it(t,i){if(1&t&&(e.TgZ(0,"option",50),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.name),e.xp6(1),e.Oqu(n.name)}}function $t(t,i){if(1&t&&(e.TgZ(0,"select",47)(1,"option",48),e.SDv(2,49),e.qZA(),e.YNc(3,it,2,2,"option",26),e.qZA()),2&t){const n=i.ngIf;e.xp6(3),e.Q6J("ngForOf",n)}}function pn(t,i){1&t&&(e.TgZ(0,"span",43),e.SDv(1,51),e.qZA())}function Fn(t,i){if(1&t&&(e.TgZ(0,"option",50),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.pool),e.xp6(1),e.Oqu(n.pool)}}function Zn(t,i){if(1&t){const n=e.EpF();e.ynx(0,4),e.TgZ(1,"form",5,6)(3,"div",7)(4,"div",8)(5,"label",9),e.SDv(6,10),e.qZA(),e.TgZ(7,"div",11),e._UZ(8,"input",12),e.YNc(9,he,2,0,"span",13),e.YNc(10,Te,2,0,"span",13),e.YNc(11,$e,2,0,"span",13),e.qZA()(),e.TgZ(12,"div",8)(13,"label",14),e.SDv(14,15),e.qZA(),e.TgZ(15,"div",11),e._UZ(16,"input",16),e.qZA()(),e.TgZ(17,"div",8)(18,"label",17),e.SDv(19,18),e.qZA(),e.TgZ(20,"div",11),e.YNc(21,$t,4,1,"select",19),e.ALo(22,"async"),e.qZA()(),e.TgZ(23,"div",8)(24,"label",20),e.tHW(25,21),e._UZ(26,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(27,"div",11),e._UZ(28,"input",22),e.YNc(29,pn,2,0,"span",13),e.qZA()(),e.TgZ(30,"div",8)(31,"label",23),e.tHW(32,24),e._UZ(33,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(34,"div",11)(35,"select",25),e.YNc(36,Fn,2,2,"option",26),e.qZA()()(),e.TgZ(37,"div",8)(38,"label",27),e.SDv(39,28),e.qZA(),e.TgZ(40,"div",11),e._UZ(41,"input",29),e.qZA()(),e.TgZ(42,"div",8)(43,"label",30),e.SDv(44,31),e.qZA(),e.TgZ(45,"div",11),e._UZ(46,"input",32),e.qZA()(),e.TgZ(47,"div",8)(48,"label",33),e.tHW(49,34),e._UZ(50,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(51,"div",11),e._UZ(52,"cd-checked-table-form",35),e.qZA()(),e.TgZ(53,"div",8)(54,"div",36)(55,"div",37),e._UZ(56,"input",38),e.TgZ(57,"label",39),e.tHW(58,40),e._UZ(59,"cd-helper"),e.N_p(),e.qZA()()()()(),e.TgZ(60,"div",41)(61,"cd-form-button-panel",42),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.submit())}),e.ALo(62,"titlecase"),e.ALo(63,"upperFirst"),e.qZA()()(),e.BQk()}if(2&t){const n=e.MAs(2),s=e.oxw();e.xp6(1),e.Q6J("formGroup",s.subvolumeForm),e.xp6(8),e.Q6J("ngIf",s.subvolumeForm.showError("subvolumeName",n,"required")),e.xp6(1),e.Q6J("ngIf",s.subvolumeForm.showError("subvolumeName",n,"notUnique")),e.xp6(1),e.Q6J("ngIf",s.subvolumeForm.showError("subvolumeName",n,"pattern")),e.xp6(10),e.Q6J("ngIf",e.lcZ(22,16,s.subVolumeGroups$)),e.xp6(8),e.Q6J("ngIf",s.subvolumeForm.showError("size",n,"pattern")),e.xp6(7),e.Q6J("ngForOf",s.dataPools),e.xp6(16),e.Q6J("data",s.scopePermissions)("columns",s.columns)("form",s.subvolumeForm)("isTableForOctalMode",!0)("initialValue",s.initialMode)("scopes",s.scopes)("isDisabled",s.isEdit),e.xp6(9),e.Q6J("form",s.subvolumeForm)("submitText",e.lcZ(62,18,s.action)+" "+e.lcZ(63,20,s.resource))}}let or=(()=>{class t extends de.E{constructor(n,s,l,_,g,M,x,Y){super(),this.activeModal=n,this.actionLabels=s,this.taskWrapper=l,this.cephFsSubvolumeService=_,this.cephFsSubvolumeGroupService=g,this.formatter=M,this.dimlessBinary=x,this.octalToHumanReadable=Y,this.isEdit=!1,this.scopePermissions=[],this.initialMode={owner:["read","write","execute"],group:["read","execute"],others:["read","execute"]},this.scopes=["owner","group","others"],this.resource="Subvolume"}ngOnInit(){this.action=this.actionLabels.CREATE,this.columns=[{prop:"scope",name:"All",flexGrow:.5},{prop:"read",name:"Read",flexGrow:.5,cellClass:"text-center"},{prop:"write",name:"Write",flexGrow:.5,cellClass:"text-center"},{prop:"execute",name:"Execute",flexGrow:.5,cellClass:"text-center"}],this.subVolumeGroups$=this.cephFsSubvolumeGroupService.get(this.fsName),this.dataPools=this.pools.filter(n=>"data"===n.type),this.createForm(),this.isEdit?this.populateForm():this.loadingReady()}createForm(){this.subvolumeForm=new Fe.d({volumeName:new se.NI({value:this.fsName,disabled:!0}),subvolumeName:new se.NI("",{validators:[se.kI.required,se.kI.pattern(/^[.A-Za-z0-9_-]+$/)],asyncValidators:[zo.h.unique(this.cephFsSubvolumeService.exists,this.cephFsSubvolumeService,null,null,this.fsName,this.subVolumeGroupName)]}),subvolumeGroupName:new se.NI(this.subVolumeGroupName),pool:new se.NI(this.dataPools[0]?.pool,{validators:[se.kI.required]}),size:new se.NI(null,{updateOn:"blur"}),uid:new se.NI(null),gid:new se.NI(null),mode:new se.NI({}),isolatedNamespace:new se.NI(!1)})}populateForm(){this.action=this.actionLabels.EDIT,this.cephFsSubvolumeService.info(this.fsName,this.subVolumeName,this.subVolumeGroupName).subscribe(n=>{this.subvolumeForm.get("subvolumeName").disable(),this.subvolumeForm.get("subvolumeGroupName").disable(),this.subvolumeForm.get("pool").disable(),this.subvolumeForm.get("uid").disable(),this.subvolumeForm.get("gid").disable(),this.subvolumeForm.get("isolatedNamespace").disable(),this.subvolumeForm.get("subvolumeName").setValue(this.subVolumeName),this.subvolumeForm.get("subvolumeGroupName").setValue(this.subVolumeGroupName),"infinite"!==n.bytes_quota&&this.subvolumeForm.get("size").setValue(this.dimlessBinary.transform(n.bytes_quota)),this.subvolumeForm.get("uid").setValue(n.uid),this.subvolumeForm.get("gid").setValue(n.gid),this.subvolumeForm.get("isolatedNamespace").setValue(n.pool_namespace),this.initialMode=this.octalToHumanReadable.transform(n.mode,!0),this.loadingReady()})}submit(){const n=this.subvolumeForm.getValue("subvolumeName"),s=this.subvolumeForm.getValue("subvolumeGroupName"),l=this.subvolumeForm.getValue("pool"),_=this.formatter.toBytes(this.subvolumeForm.getValue("size"))||0,g=this.subvolumeForm.getValue("uid"),M=this.subvolumeForm.getValue("gid"),x=this.formatter.toOctalPermission(this.subvolumeForm.getValue("mode")),Y=this.subvolumeForm.getValue("isolatedNamespace");if(this.isEdit){const K=0===_?"infinite":_;this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/subvolume/"+Dr.MQ.EDIT,{subVolumeName:n}),call:this.cephFsSubvolumeService.update(this.fsName,n,String(K),s)}).subscribe({error:()=>{this.subvolumeForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}else this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/subvolume/"+Dr.MQ.CREATE,{subVolumeName:n}),call:this.cephFsSubvolumeService.create(this.fsName,n,s,l,String(_),g,M,x,Y)}).subscribe({error:()=>{this.subvolumeForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.Kz),e.Y36(Dr.p4),e.Y36(Gr.P),e.Y36(fn),e.Y36(w),e.Y36(k.H),e.Y36(xa.$),e.Y36(C.f))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-subvolume-form"]],features:[e.qOj],decls:6,vars:8,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Name",s="Volume name",l="Subvolume group ",_="Size " + "\ufffd#26\ufffd" + "The size of the subvolume is specified by setting a quota on it. If left blank or put 0, then quota will be infinite" + "\ufffd/#26\ufffd" + "",g="e.g., 10GiB",M="Pool " + "\ufffd#33\ufffd" + "By default, the data_pool_layout of the parent directory is selected." + "\ufffd/#33\ufffd" + "",x="UID",Y="GID",K="Mode " + "\ufffd#50\ufffd" + "Permissions for the directory. Default mode is 755 which is rwxr-xr-x" + "\ufffd/#50\ufffd" + "",le="Isolated Namespace " + "\ufffd#59\ufffd" + "To create subvolume in a separate RADOS namespace." + "\ufffd/#59\ufffd" + "",fe="This field is required.",ge="The subvolume already exists.",Se="Subvolume name can only contain letters, numbers, '.', '-' or '_'",Ge="Default",we="Size must be a number or in a valid format. eg: 5 GiB",[[3,"modalRef"],[1,"modal-title"],i,["class","modal-content",4,"cdFormLoading"],[1,"modal-content"],["name","subvolumeForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","subvolumeName",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["type","text","placeholder","Subvolume name...","id","subvolumeName","name","subvolumeName","formControlName","subvolumeName","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","volumeName",1,"cd-col-form-label"],s,["id","volumeName","name","volumeName","formControlName","volumeName",1,"form-control"],["for","subvolumeGroupName",1,"cd-col-form-label"],l,["class","form-select","id","subvolumeGroupName","name","subvolumeGroupName","formControlName","subvolumeGroupName",4,"ngIf"],["for","size",1,"cd-col-form-label"],_,["type","text","id","size","name","size","formControlName","size","placeholder",g,"defaultUnit","GiB","cdDimlessBinary","",1,"form-control"],["for","pool",1,"cd-col-form-label"],M,["id","pool","name","pool","formControlName","pool",1,"form-select"],[3,"value",4,"ngFor","ngForOf"],["for","uid",1,"cd-col-form-label"],x,["type","number","placeholder","Subvolume UID...","id","uid","name","uid","formControlName","uid",1,"form-control"],["for","gid",1,"cd-col-form-label"],Y,["type","number","placeholder","Subvolume GID...","id","gid","name","gid","formControlName","gid",1,"form-control"],["for","mode",1,"cd-col-form-label"],K,["inputField","mode",3,"data","columns","form","isTableForOctalMode","initialValue","scopes","isDisabled"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","isolatedNamespace","name","isolatedNamespace","formControlName","isolatedNamespace",1,"custom-control-input"],["for","isolatedNamespace",1,"custom-control-label"],le,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],fe,ge,Se,["id","subvolumeGroupName","name","subvolumeGroupName","formControlName","subvolumeGroupName",1,"form-select"],["value",""],Ge,[3,"value"],we]},template:function(n,s){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.YNc(5,Zn,64,22,"ng-container",3),e.qZA()),2&n&&(e.Q6J("modalRef",s.activeModal),e.xp6(4),e.pQV(e.lcZ(3,4,s.action))(e.lcZ(4,6,s.resource)),e.QtT(2),e.xp6(1),e.Q6J("cdFormLoading",s.loading))},dependencies:[f.sg,f.O5,je.S,Kt.z,lt.p,N.l,B.U,re.Q,Vt.y,Ht.o,wn.b,ar.P,cr.V,se._Y,se.YN,se.Kr,se.Fj,se.wV,se.Wl,se.EJ,se.JJ,se.JL,se.sg,se.u,f.Ov,f.rS,_i.m]}),t})();var Hr=o(34501);let Ci=(()=>{class t{constructor(){this.cssClasses=["badge-cd-label-green","badge-cd-label-cyan","badge-cd-label-purple","badge-cd-label-light-blue","badge-cd-label-gold","badge-cd-label-light-green"]}transform(n){let s=0,l=0;if(n)for(let _=0;_<n.length;_++)l=n.charCodeAt(_),s=Math.abs((s<<5)-s+l);return this.cssClasses[s%this.cssClasses.length]}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"colorClassFromText",type:t,pure:!0}),t})();function Zi(t,i){if(1&t&&(e.TgZ(0,"span",2),e.ALo(1,"colorClassFromText"),e._uU(2),e.qZA()),2&t){const n=e.oxw();e.Gre("badge badge-",n.value,""),e.s9C("ngClass",e.lcZ(1,6,n.value)),e.Q6J("ngbTooltip",n.tooltipText),e.xp6(2),e.hij(" ",n.value,"\n")}}function $i(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&t){const n=e.oxw();e.MT6("badge badge-background-primary badge-",n.key,"-",n.value,""),e.xp6(1),e.AsE(" ",n.key,": ",n.value," ")}}let Co=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-label"]],inputs:{key:"key",value:"value",tooltipText:"tooltipText"},decls:3,vars:2,consts:[[3,"class","ngClass","ngbTooltip",4,"ngIf","ngIfElse"],["key_value",""],[3,"ngClass","ngbTooltip"]],template:function(n,s){if(1&n&&(e.YNc(0,Zi,3,8,"span",0),e.YNc(1,$i,2,6,"ng-template",null,1,e.W1O)),2&n){const l=e.MAs(2);e.Q6J("ngIf",!s.key)("ngIfElse",l)}},dependencies:[f.mk,f.O5,Be._L,Ci]}),t})();function Ho(t,i){if(1&t&&(e.TgZ(0,"h3"),e.SDv(1,5),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.pQV(n.title),e.QtT(1)}}function co(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"a",9),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.selectItem())}),e._uU(1,"_nogroup"),e.qZA()}if(2&t){const n=e.oxw(3);e.ekj("active",!n.activeItem)}}function vo(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"a",10),e.NdJ("click",function(){e.CHM(n);const l=e.oxw().$implicit,_=e.oxw(2);return e.KtG(_.selectItem(l))}),e._uU(1),e.qZA()}if(2&t){const n=e.oxw().$implicit,s=e.oxw(2);e.ekj("active",n===s.activeItem),e.xp6(1),e.Oqu(n)}}function ms(t,i){if(1&t&&(e.TgZ(0,"li",6),e.YNc(1,co,2,2,"a",7),e.YNc(2,vo,2,3,"a",8),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.Q6J("ngIf",""===n),e.xp6(1),e.Q6J("ngIf",""!==n)}}function ds(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.YNc(1,Ho,2,1,"h3",0),e.TgZ(2,"input",1),e.NdJ("keyup",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.updateFilter())}),e.qZA(),e.TgZ(3,"div",2)(4,"ul",3),e.YNc(5,ms,3,2,"li",4),e.qZA()(),e.BQk()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.title),e.xp6(1),e.Q6J("id",n.inputIdentifier),e.xp6(3),e.Q6J("ngForOf",n.filteredItems)("ngForTrackBy",n.trackByFn)}}let Ts=(()=>{class t{constructor(){this.emitFilteredItems=new e.vpe,this.emitActiveItem=new e.vpe,this.activeItem=""}ngOnInit(){this.filteredItems=this.items,!this.activeItem&&this.items.length&&this.selectItem(this.items[0])}updateFilter(){const n=document.getElementById(this.inputIdentifier);this.filteredItems=this.items.filter(s=>s.includes(n.value))}selectItem(n=""){this.activeItem=n,this.emitActiveItem.emit(n)}trackByFn(n){return n}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-vertical-navigation"]],inputs:{items:"items",title:"title",inputIdentifier:"inputIdentifier"},outputs:{emitFilteredItems:"emitFilteredItems",emitActiveItem:"emitActiveItem"},decls:1,vars:1,consts:function(){let i;return i="" + "\ufffd0\ufffd" + "",[[4,"ngIf"],["type","text","placeholder","Filter by name...",1,"form-control","text-center","mb-2",3,"id","keyup"],[1,"overflow-auto"],[1,"nav","flex-column","nav-pills"],["class","nav-item",4,"ngFor","ngForOf","ngForTrackBy"],i,[1,"nav-item"],["class","nav-link",3,"active","click",4,"ngIf"],["class","nav-link text-decoration-none text-break",3,"active","click",4,"ngIf"],[1,"nav-link",3,"click"],[1,"nav-link","text-decoration-none","text-break",3,"click"]]},template:function(n,s){1&n&&e.YNc(0,ds,6,4,"ng-container",0),2&n&&e.Q6J("ngIf",s.items.length)},dependencies:[f.sg,f.O5,Ht.o,wn.b],styles:[".overflow-auto[_ngcontent-%COMP%]{max-height:50vh}"]}),t})();const el=["quotaUsageTpl"],ga=["typeTpl"],va=["modeToHumanReadableTpl"],vc=["nameTpl"],Gu=["quotaSizeTpl"],wl=["removeTmpl"];function Yc(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",11)(1,"cd-vertical-navigation",12),e.NdJ("emitActiveItem",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.selectSubVolumeGroup(l))}),e.qZA()()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("items",n.subvolumeGroupList)}}function Nl(t,i){if(1&t&&e._UZ(0,"cd-usage-bar",15),2&t){const n=e.oxw().row;e.Q6J("total",n.info.bytes_quota)("used",n.info.bytes_used)("title",n.name)("showFreeToolTip",!1)("customLegendValue",n.info.bytes_quota)}}function _u(t,i){if(1&t&&(e.TgZ(0,"span",17),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&t){const n=e.oxw(2).row;e.xp6(1),e.hij(" ",e.lcZ(2,1,n.info.bytes_used),"")}}function jc(t,i){if(1&t&&e.YNc(0,_u,3,3,"span",16),2&t){const n=e.oxw().row;e.Q6J("ngIf","undefined"===n.info.bytes_pcent)}}function rd(t,i){if(1&t&&(e.YNc(0,Nl,1,5,"cd-usage-bar",13),e.YNc(1,jc,1,1,"ng-template",null,14,e.W1O)),2&t){const n=i.row,s=e.MAs(2);e.Q6J("ngIf",n.info.bytes_pcent&&"undefined"!==n.info.bytes_pcent)("ngIfElse",s)}}function pd(t,i){1&t&&e._UZ(0,"cd-label",18),2&t&&e.Q6J("value",i.value)}function Pu(t,i){if(1&t&&(e.TgZ(0,"span",20),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("ngClass",n.class)("ngbTooltip",n.toolTip),e.xp6(1),e.hij(" ",n.content," ")}}function Ku(t,i){1&t&&(e.YNc(0,Pu,2,3,"span",19),e.ALo(1,"octalToHumanReadable")),2&t&&e.Q6J("ngForOf",e.lcZ(1,1,i.value))}const Td=function(t,i){return[t,i]};function af(t,i){if(1&t&&(e.TgZ(0,"span"),e._UZ(1,"i",26),e.qZA()),2&t){const n=e.oxw().row,s=e.oxw();e.xp6(1),e.MGl("ngbTooltip","",n.name," is ready to use"),e.Q6J("ngClass",e.WLB(2,Td,s.icons.success,s.icons.large))}}function xc(t,i){if(1&t&&e._UZ(0,"i",27),2&t){const n=e.oxw().row,s=e.oxw();e.MGl("ngbTooltip","",n.name," is removed after retaining the snapshots"),e.Q6J("ngClass",e.WLB(2,Td,s.icons.warning,s.icons.large))}}function up(t,i){if(1&t&&e._UZ(0,"cd-label",18),2&t){const n=e.oxw().row;e.Q6J("value",n.info.type)}}function bd(t,i){if(1&t&&e._UZ(0,"cd-label",28),2&t){const n=e.oxw().row;e.Q6J("tooltipText",n.info.pool_namespace)}}function Ld(t,i){if(1&t&&(e.TgZ(0,"span",21),e._uU(1),e.qZA(),e.YNc(2,af,2,5,"span",22),e.YNc(3,xc,1,5,"ng-template",null,23,e.W1O),e.YNc(5,up,1,1,"cd-label",24),e.YNc(6,bd,1,1,"cd-label",25)),2&t){const n=i.row,s=e.MAs(4);e.xp6(1),e.Oqu(n.name),e.xp6(1),e.Q6J("ngIf","complete"===n.info.state)("ngIfElse",s),e.xp6(3),e.Q6J("ngIf","subvolume"!==n.info.type),e.xp6(1),e.Q6J("ngIf",n.info.pool_namespace)}}function Xu(t,i){if(1&t&&(e.TgZ(0,"cd-alert-panel",37),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.hij(" ",n.errorMessage," ")}}function Gf(t,i){if(1&t&&(e.ynx(0,29)(1,30),e.YNc(2,Xu,2,1,"cd-alert-panel",31),e.TgZ(3,"div",32)(4,"div",33),e._UZ(5,"input",34),e.TgZ(6,"label",35),e.tHW(7,36),e._UZ(8,"cd-helper"),e.N_p(),e.qZA()()(),e.BQk()()),2&t){const n=i.form,s=e.oxw();e.Q6J("formGroup",n),e.xp6(2),e.Q6J("ngIf",s.errorMessage.length>1)}}let Kl=(()=>{class t extends de.E{constructor(n,s,l,_,g,M,x){super(),this.cephfsSubVolumeService=n,this.actionLabels=s,this.modalService=l,this.authStorageService=_,this.taskWrapper=g,this.cephfsSubvolumeGroupService=M,this.healthService=x,this.columns=[],this.selection=new Kn.r,this.icons=ei.P,this.errorMessage="",this.selectedName="",this.subject=new ii.X([]),this.groupsSubject=new ii.X([]),this.subvolumeGroupList=[],this.subVolumesList=[],this.activeGroupName="",this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.columns=[{name:"Name",prop:"name",flexGrow:1,cellTemplate:this.nameTpl},{name:"Data Pool",prop:"info.data_pool",flexGrow:.7,cellTransformation:ai.e.badge,customTemplateConfig:{class:"badge-background-primary"}},{name:"Usage",prop:"info.bytes_pcent",flexGrow:.7,cellTemplate:this.quotaUsageTpl,cellClass:"text-right"},{name:"Path",prop:"info.path",flexGrow:1,cellTransformation:ai.e.path},{name:"Mode",prop:"info.mode",flexGrow:.5,cellTemplate:this.modeToHumanReadableTpl},{name:"Created",prop:"info.created_at",flexGrow:.5,cellTransformation:ai.e.timeAgo}],this.tableActions=[{name:this.actionLabels.CREATE,permission:"create",icon:ei.P.add,click:()=>this.openModal()},{name:this.actionLabels.EDIT,permission:"update",icon:ei.P.edit,click:()=>this.openModal(!0)},{name:this.actionLabels.ATTACH,permission:"read",icon:ei.P.bars,disable:()=>!this.selection?.hasSelection,click:()=>this.showAttachInfo()},{name:this.actionLabels.REMOVE,permission:"delete",icon:ei.P.destroy,click:()=>this.removeSubVolumeModal()}],this.subVolumeGroups$=this.groupsSubject.pipe((0,Ma.w)(()=>this.cephfsSubvolumeGroupService.get(this.fsName,!1).pipe((0,oa.b)(n=>{this.subvolumeGroupList=n.map(s=>s.name),this.subvolumeGroupList.unshift("")}),(0,zn.K)(()=>(this.context.error(),(0,Dt.of)(null))))))}fetchData(){this.subject.next([])}ngOnChanges(n){n.fsName&&(this.subject.next([]),this.groupsSubject.next([]))}updateSelection(n){this.selection=n}showAttachInfo(){const n=this.selection?.selected?.[0];this.healthService.getClusterFsid().subscribe({next:s=>{this.modalRef=this.modalService.show(us,{onSubmit:()=>this.modalRef.close(),mountData:{fsId:s,fsName:this.fsName,rootPath:n.info.path}})}})}openModal(n=!1){this.modalService.show(or,{fsName:this.fsName,subVolumeName:this.selection?.first()?.name,subVolumeGroupName:this.activeGroupName,pools:this.pools,isEdit:n},{size:"lg"})}removeSubVolumeModal(){this.removeForm=new Fe.d({retainSnapshots:new se.NI(!1)}),this.errorMessage="",this.selectedName=this.selection.first().name,this.modalRef=this.modalService.show(Yo.M,{actionDescription:"Remove",itemNames:[this.selectedName],itemDescription:"Subvolume",childFormGroup:this.removeForm,childFormGroupTemplate:this.removeTmpl,submitAction:()=>this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/subvolume/remove",{subVolumeName:this.selectedName}),call:this.cephfsSubVolumeService.remove(this.fsName,this.selectedName,this.activeGroupName,this.removeForm.getValue("retainSnapshots"))}).subscribe({complete:()=>this.modalRef.close(),error:n=>{this.modalRef.componentInstance.stopLoadingSpinner(),this.errorMessage=n.error.detail}})})}selectSubVolumeGroup(n){this.activeGroupName=n,this.getSubVolumes()}getSubVolumes(){this.subVolumes$=this.subject.pipe((0,Ma.w)(()=>this.cephfsSubVolumeService.get(this.fsName,this.activeGroupName).pipe((0,zn.K)(()=>(this.context?.error(),(0,Dt.of)(null))))))}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fn),e.Y36(Dr.p4),e.Y36(tc.Z),e.Y36(fa.j),e.Y36(Gr.P),e.Y36(w),e.Y36(Iu.z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-subvolume-list"]],viewQuery:function(n,s){if(1&n&&(e.Gf(el,7),e.Gf(ga,7),e.Gf(va,7),e.Gf(vc,7),e.Gf(Gu,7),e.Gf(wl,7)),2&n){let l;e.iGM(l=e.CRH())&&(s.quotaUsageTpl=l.first),e.iGM(l=e.CRH())&&(s.typeTpl=l.first),e.iGM(l=e.CRH())&&(s.modeToHumanReadableTpl=l.first),e.iGM(l=e.CRH())&&(s.nameTpl=l.first),e.iGM(l=e.CRH())&&(s.quotaSizeTpl=l.first),e.iGM(l=e.CRH())&&(s.removeTmpl=l.first)}},inputs:{fsName:"fsName",pools:"pools"},features:[e.qOj,e.TTD],decls:18,vars:11,consts:function(){let i,n;return i="Quota limit is not set",n="Retain snapshots " + "\ufffd#8\ufffd" + "The subvolume can be removed retaining existing snapshots using this option. If snapshots are retained, the subvolume is considered empty for all operations not involving the retained snapshots." + "\ufffd/#8\ufffd" + "",[[1,"row"],["class","col-sm-1",4,"ngIf"],[1,"col-11","vertical-line"],["columnMode","flex","selectionType","single",3,"data","columns","hasDetails","fetchData","updateSelection"],[1,"table-actions","btn-toolbar"],["id","cephfs-subvolume-actions",1,"btn-group",3,"permission","selection","tableActions"],["quotaUsageTpl",""],["typeTpl",""],["modeToHumanReadableTpl",""],["nameTpl",""],["removeTmpl",""],[1,"col-sm-1"],["title","Groups","inputIdentifier","group-filter",3,"items","emitActiveItem"],["customLegend","Quota","decimals","2",3,"total","used","title","showFreeToolTip","customLegendValue",4,"ngIf","ngIfElse"],["noLimitTpl",""],["customLegend","Quota","decimals","2",3,"total","used","title","showFreeToolTip","customLegendValue"],["ngbTooltip",i,4,"ngIf"],["ngbTooltip",i],[3,"value"],[3,"ngClass","ngbTooltip",4,"ngFor","ngForOf"],[3,"ngClass","ngbTooltip"],[1,"fw-bold"],[4,"ngIf","ngIfElse"],["snapshotRetainedTpl",""],[3,"value",4,"ngIf"],["value","namespaced",3,"tooltipText",4,"ngIf"],[1,"text-success",3,"ngClass","ngbTooltip"],[1,"text-warning",3,"ngClass","ngbTooltip"],["value","namespaced",3,"tooltipText"],[3,"formGroup"],["formGroupName","child"],["type","error",4,"ngIf"],[1,"form-group"],[1,"custom-control","custom-checkbox"],["type","checkbox","name","retainSnapshots","id","retainSnapshots","formControlName","retainSnapshots",1,"custom-control-input"],["for","retainSnapshots",1,"custom-control-label"],n,["type","error"]]},template:function(n,s){1&n&&(e.TgZ(0,"div",0),e.YNc(1,Yc,2,1,"div",1),e.ALo(2,"async"),e.TgZ(3,"div",2)(4,"cd-table",3),e.NdJ("fetchData",function(){return s.fetchData()})("updateSelection",function(_){return s.updateSelection(_)}),e.ALo(5,"async"),e.TgZ(6,"div",4),e._UZ(7,"cd-table-actions",5),e.qZA()()()(),e.YNc(8,rd,3,2,"ng-template",null,6,e.W1O),e.YNc(10,pd,1,1,"ng-template",null,7,e.W1O),e.YNc(12,Ku,2,3,"ng-template",null,8,e.W1O),e.YNc(14,Ld,7,5,"ng-template",null,9,e.W1O),e.YNc(16,Gf,9,2,"ng-template",null,10,e.W1O)),2&n&&(e.xp6(1),e.Q6J("ngIf",e.lcZ(2,7,s.subVolumeGroups$)),e.xp6(3),e.Q6J("data",e.lcZ(5,9,s.subVolumes$))("columns",s.columns)("hasDetails",!1),e.xp6(3),e.Q6J("permission",s.permissions.cephfs)("selection",s.selection)("tableActions",s.tableActions))},dependencies:[f.mk,f.sg,f.O5,je.S,En.O,Hr.G,Co,Ts,Ol.a,il.K,Ht.o,wn.b,ar.P,cr.V,se.Wl,se.JJ,se.JL,se.sg,se.u,se.x0,Be._L,f.Ov,xa.$,C.f]}),t})();function ne(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,36),e.qZA())}function De(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,37),e.qZA())}function vt(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,38),e.qZA())}function Lt(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,39),e.qZA())}function Tn(t,i){if(1&t&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.pool),e.xp6(1),e.Oqu(n.pool)}}function Yr(t,i){if(1&t){const n=e.EpF();e.ynx(0,4),e.TgZ(1,"form",5,6)(3,"div",7)(4,"div",8)(5,"label",9),e.SDv(6,10),e.qZA(),e.TgZ(7,"div",11),e._UZ(8,"input",12),e.YNc(9,ne,2,0,"span",13),e.YNc(10,De,2,0,"span",13),e.YNc(11,vt,2,0,"span",13),e.qZA()(),e.TgZ(12,"div",8)(13,"label",14),e.SDv(14,15),e.qZA(),e.TgZ(15,"div",11),e._UZ(16,"input",16),e.qZA()(),e.TgZ(17,"div",8)(18,"label",17),e.tHW(19,18),e._UZ(20,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(21,"div",11),e._UZ(22,"input",19),e.YNc(23,Lt,2,0,"span",13),e.qZA()(),e.TgZ(24,"div",8)(25,"label",20),e.tHW(26,21),e._UZ(27,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(28,"div",11)(29,"select",22),e.YNc(30,Tn,2,2,"option",23),e.qZA()()(),e.TgZ(31,"div",8)(32,"label",24),e.SDv(33,25),e.qZA(),e.TgZ(34,"div",11),e._UZ(35,"input",26),e.qZA()(),e.TgZ(36,"div",8)(37,"label",27),e.SDv(38,28),e.qZA(),e.TgZ(39,"div",11),e._UZ(40,"input",29),e.qZA()(),e.TgZ(41,"div",8)(42,"label",30),e.tHW(43,31),e._UZ(44,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(45,"div",11),e._UZ(46,"cd-checked-table-form",32),e.qZA()()(),e.TgZ(47,"div",33)(48,"cd-form-button-panel",34),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.submit())}),e.ALo(49,"titlecase"),e.ALo(50,"upperFirst"),e.qZA()()(),e.BQk()}if(2&t){const n=e.MAs(2),s=e.oxw();e.xp6(1),e.Q6J("formGroup",s.subvolumegroupForm),e.xp6(8),e.Q6J("ngIf",s.subvolumegroupForm.showError("subvolumegroupName",n,"required")),e.xp6(1),e.Q6J("ngIf",s.subvolumegroupForm.showError("subvolumegroupName",n,"notUnique")),e.xp6(1),e.Q6J("ngIf",s.subvolumegroupForm.showError("subvolumegroupName",n,"pattern")),e.xp6(12),e.Q6J("ngIf",s.subvolumegroupForm.showError("size",n,"pattern")),e.xp6(7),e.Q6J("ngForOf",s.dataPools),e.xp6(16),e.Q6J("data",s.scopePermissions)("columns",s.columns)("form",s.subvolumegroupForm)("isTableForOctalMode",!0)("initialValue",s.initialMode)("scopes",s.scopes),e.xp6(2),e.Q6J("form",s.subvolumegroupForm)("submitText",e.lcZ(49,14,s.action)+" "+e.lcZ(50,16,s.resource))}}let zi=(()=>{class t extends de.E{constructor(n,s,l,_,g,M,x){super(),this.activeModal=n,this.actionLabels=s,this.taskWrapper=l,this.cephfsSubvolumeGroupService=_,this.formatter=g,this.dimlessBinary=M,this.octalToHumanReadable=x,this.isEdit=!1,this.scopePermissions=[],this.initialMode={owner:["read","write","execute"],group:["read","execute"],others:["read","execute"]},this.scopes=["owner","group","others"],this.resource="subvolume group"}ngOnInit(){this.action=this.actionLabels.CREATE,this.columns=[{prop:"scope",name:"All",flexGrow:.5},{prop:"read",name:"Read",flexGrow:.5,cellClass:"text-center"},{prop:"write",name:"Write",flexGrow:.5,cellClass:"text-center"},{prop:"execute",name:"Execute",flexGrow:.5,cellClass:"text-center"}],this.dataPools=this.pools.filter(n=>"data"===n.type),this.createForm(),this.isEdit?this.populateForm():this.loadingReady()}createForm(){this.subvolumegroupForm=new Fe.d({volumeName:new se.NI({value:this.fsName,disabled:!0}),subvolumegroupName:new se.NI("",{validators:[se.kI.required,se.kI.pattern(/^[.A-Za-z0-9_-]+$/)],asyncValidators:[zo.h.unique(this.cephfsSubvolumeGroupService.exists,this.cephfsSubvolumeGroupService,null,null,this.fsName)]}),pool:new se.NI(this.dataPools[0]?.pool,{validators:[se.kI.required]}),size:new se.NI(null,{updateOn:"blur"}),uid:new se.NI(null),gid:new se.NI(null),mode:new se.NI({})})}populateForm(){this.action=this.actionLabels.EDIT,this.cephfsSubvolumeGroupService.info(this.fsName,this.subvolumegroupName).subscribe(n=>{this.subvolumegroupForm.get("subvolumegroupName").disable(),this.subvolumegroupForm.get("subvolumegroupName").setValue(this.subvolumegroupName),"infinite"!==n.bytes_quota&&this.subvolumegroupForm.get("size").setValue(this.dimlessBinary.transform(n.bytes_quota)),this.subvolumegroupForm.get("uid").setValue(n.uid),this.subvolumegroupForm.get("gid").setValue(n.gid),this.initialMode=this.octalToHumanReadable.transform(n.mode,!0),this.loadingReady()})}submit(){const n=this.subvolumegroupForm.getValue("subvolumegroupName"),s=this.subvolumegroupForm.getValue("pool"),l=this.formatter.toBytes(this.subvolumegroupForm.getValue("size"))||0,_=this.subvolumegroupForm.getValue("uid"),g=this.subvolumegroupForm.getValue("gid"),M=this.formatter.toOctalPermission(this.subvolumegroupForm.getValue("mode"));this.isEdit?this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/subvolume/group/"+Dr.MQ.EDIT,{subvolumegroupName:n}),call:this.cephfsSubvolumeGroupService.create(this.fsName,n,s,String(l),_,g,M)}).subscribe({error:()=>{this.subvolumegroupForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}}):this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/subvolume/group/"+Dr.MQ.CREATE,{subvolumegroupName:n}),call:this.cephfsSubvolumeGroupService.create(this.fsName,n,s,String(l),_,g,M)}).subscribe({error:()=>{this.subvolumegroupForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.Kz),e.Y36(Dr.p4),e.Y36(Gr.P),e.Y36(w),e.Y36(k.H),e.Y36(xa.$),e.Y36(C.f))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-subvolumegroup-form"]],features:[e.qOj],decls:6,vars:8,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Name",s="Volume name",l="Size " + "\ufffd#20\ufffd" + "The size of the subvolume group is specified by setting a quota on it. If left blank or put 0, then quota will be infinite" + "\ufffd/#20\ufffd" + "",_="e.g., 10GiB",g="Pool " + "\ufffd#27\ufffd" + "By default, the data_pool_layout of the parent directory is selected." + "\ufffd/#27\ufffd" + "",M="UID",x="GID",Y="Mode " + "\ufffd#44\ufffd" + "Permissions for the directory. Default mode is 755 which is rwxr-xr-x" + "\ufffd/#44\ufffd" + "",K="This field is required.",le="The subvolume group already exists.",fe="Subvolume name can only contain letters, numbers, '.', '-' or '_'",ge="Size must be a number or in a valid format. eg: 5 GiB",[[3,"modalRef"],[1,"modal-title"],i,["class","modal-content",4,"cdFormLoading"],[1,"modal-content"],["name","subvolumegroupForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","subvolumegroupName",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["type","text","placeholder","subvolumegroup name...","id","subvolumegroupName","name","subvolumegroupName","formControlName","subvolumegroupName","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","volumeName",1,"cd-col-form-label"],s,["id","volumeName","name","volumeName","formControlName","volumeName",1,"form-control"],["for","size",1,"cd-col-form-label"],l,["type","text","id","size","name","size","formControlName","size","placeholder",_,"defaultUnit","GiB","cdDimlessBinary","",1,"form-control"],["for","pool",1,"cd-col-form-label"],g,["id","pool","name","pool","formControlName","pool",1,"form-select"],[3,"value",4,"ngFor","ngForOf"],["for","uid",1,"cd-col-form-label"],M,["type","number","placeholder","subvolumegroup UID...","id","uid","name","uid","formControlName","uid",1,"form-control"],["for","gid",1,"cd-col-form-label"],x,["type","number","placeholder","subvolumegroup GID...","id","gid","name","gid","formControlName","gid",1,"form-control"],["for","mode",1,"cd-col-form-label"],Y,["inputField","mode",3,"data","columns","form","isTableForOctalMode","initialValue","scopes"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],K,le,fe,ge,[3,"value"]]},template:function(n,s){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.YNc(5,Yr,51,18,"ng-container",3),e.qZA()),2&n&&(e.Q6J("modalRef",s.activeModal),e.xp6(4),e.pQV(e.lcZ(3,4,s.action))(e.lcZ(4,6,s.resource)),e.QtT(2),e.xp6(1),e.Q6J("cdFormLoading",s.loading))},dependencies:[f.sg,f.O5,je.S,Kt.z,lt.p,N.l,B.U,re.Q,Vt.y,Ht.o,wn.b,ar.P,cr.V,se._Y,se.YN,se.Kr,se.Fj,se.wV,se.EJ,se.JJ,se.JL,se.sg,se.u,f.rS,_i.m]}),t})();const Vs=["quotaUsageTpl"],ol=["typeTpl"],Va=["modeToHumanReadableTpl"],pc=["nameTpl"],ou=["quotaSizeTpl"];function Fu(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",5),e.NdJ("fetchData",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.fetchData())})("updateSelection",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.updateSelection(l))}),e.TgZ(1,"div",6),e._UZ(2,"cd-table-actions",7),e.qZA()()}if(2&t){const n=e.oxw().ngIf,s=e.oxw();e.Q6J("data",n)("columns",s.columns)("hasDetails",!1),e.xp6(2),e.Q6J("permission",s.permissions.cephfs)("selection",s.selection)("tableActions",s.tableActions)}}function I_(t,i){if(1&t&&(e.ynx(0),e.YNc(1,Fu,3,6,"cd-table",4),e.BQk()),2&t){const n=i.ngIf;e.xp6(1),e.Q6J("ngIf",n)}}function zd(t,i){if(1&t&&e._UZ(0,"cd-usage-bar",10),2&t){const n=e.oxw().row;e.Q6J("total",n.info.bytes_quota)("used",n.info.bytes_used)("title",n.name)("showFreeToolTip",!1)("customLegendValue",n.info.bytes_quota)}}function kh(t,i){if(1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&t){const n=e.oxw(2).row;e.xp6(1),e.hij(" ",e.lcZ(2,1,n.info.bytes_used),"")}}function $h(t,i){if(1&t&&e.YNc(0,kh,3,3,"span",11),2&t){const n=e.oxw().row;e.Q6J("ngIf","undefined"===n.info.bytes_pcent)}}function Yf(t,i){if(1&t&&(e.YNc(0,zd,1,5,"cd-usage-bar",8),e.YNc(1,$h,1,1,"ng-template",null,9,e.W1O)),2&t){const n=i.row,s=e.MAs(2);e.Q6J("ngIf",n.info.bytes_pcent&&"undefined"!==n.info.bytes_pcent)("ngIfElse",s)}}function jp(t,i){1&t&&e._UZ(0,"cd-label",13),2&t&&e.Q6J("value",i.value)}function Rf(t,i){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("ngClass",n.class)("ngbTooltip",n.toolTip),e.xp6(1),e.hij(" ",n.content," ")}}function fh(t,i){1&t&&(e.YNc(0,Rf,2,3,"span",14),e.ALo(1,"octalToHumanReadable")),2&t&&e.Q6J("ngForOf",e.lcZ(1,1,i.value))}let dp=(()=>{class t{constructor(n,s,l,_,g){this.cephfsSubvolumeGroup=n,this.actionLabels=s,this.modalService=l,this.authStorageService=_,this.taskWrapper=g,this.selection=new Kn.r,this.icons=ei.P,this.subject=new ii.X([]),this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.columns=[{name:"Name",prop:"name",flexGrow:.6,cellTransformation:ai.e.bold},{name:"Data Pool",prop:"info.data_pool",flexGrow:.7,cellTransformation:ai.e.badge,customTemplateConfig:{class:"badge-background-primary"}},{name:"Usage",prop:"info.bytes_pcent",flexGrow:.7,cellTemplate:this.quotaUsageTpl,cellClass:"text-right"},{name:"Mode",prop:"info.mode",flexGrow:.5,cellTemplate:this.modeToHumanReadableTpl},{name:"Created",prop:"info.created_at",flexGrow:.5,cellTransformation:ai.e.timeAgo}],this.tableActions=[{name:this.actionLabels.CREATE,permission:"create",icon:ei.P.add,click:()=>this.openModal(),canBePrimary:n=>!n.hasSelection},{name:this.actionLabels.EDIT,permission:"update",icon:ei.P.edit,click:()=>this.openModal(!0)},{name:this.actionLabels.REMOVE,permission:"delete",icon:ei.P.destroy,click:()=>this.removeSubVolumeModal()}],this.subvolumeGroup$=this.subject.pipe((0,Ma.w)(()=>this.cephfsSubvolumeGroup.get(this.fsName).pipe((0,zn.K)(()=>(this.context.error(),(0,Dt.of)(null))))),(0,lr.d)(1))}fetchData(){this.subject.next([])}ngOnChanges(n){n.fsName&&this.subject.next([])}updateSelection(n){this.selection=n}openModal(n=!1){this.modalService.show(zi,{fsName:this.fsName,subvolumegroupName:this.selection?.first()?.name,pools:this.pools,isEdit:n},{size:"lg"})}removeSubVolumeModal(){const n=this.selection.first().name;this.modalService.show(Yo.M,{itemDescription:"subvolume group",itemNames:[n],actionDescription:"remove",submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/subvolume/group/remove",{subvolumegroupName:n}),call:this.cephfsSubvolumeGroup.remove(this.fsName,n)})})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(w),e.Y36(Dr.p4),e.Y36(tc.Z),e.Y36(fa.j),e.Y36(Gr.P))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-subvolume-group"]],viewQuery:function(n,s){if(1&n&&(e.Gf(Vs,7),e.Gf(ol,7),e.Gf(Va,7),e.Gf(pc,7),e.Gf(ou,7)),2&n){let l;e.iGM(l=e.CRH())&&(s.quotaUsageTpl=l.first),e.iGM(l=e.CRH())&&(s.typeTpl=l.first),e.iGM(l=e.CRH())&&(s.modeToHumanReadableTpl=l.first),e.iGM(l=e.CRH())&&(s.nameTpl=l.first),e.iGM(l=e.CRH())&&(s.quotaSizeTpl=l.first)}},inputs:{fsName:"fsName",pools:"pools"},features:[e.TTD],decls:8,vars:3,consts:function(){let i;return i="Quota limit is not set",[[4,"ngIf"],["quotaUsageTpl",""],["typeTpl",""],["modeToHumanReadableTpl",""],["columnMode","flex","selectionType","single",3,"data","columns","hasDetails","fetchData","updateSelection",4,"ngIf"],["columnMode","flex","selectionType","single",3,"data","columns","hasDetails","fetchData","updateSelection"],[1,"table-actions","btn-toolbar"],["id","cephfs-subvolumegropup-actions",1,"btn-group",3,"permission","selection","tableActions"],["customLegend","Quota","decimals","2",3,"total","used","title","showFreeToolTip","customLegendValue",4,"ngIf","ngIfElse"],["noLimitTpl",""],["customLegend","Quota","decimals","2",3,"total","used","title","showFreeToolTip","customLegendValue"],["ngbTooltip",i,4,"ngIf"],["ngbTooltip",i],[3,"value"],[3,"ngClass","ngbTooltip",4,"ngFor","ngForOf"],[3,"ngClass","ngbTooltip"]]},template:function(n,s){1&n&&(e.YNc(0,I_,2,1,"ng-container",0),e.ALo(1,"async"),e.YNc(2,Yf,3,2,"ng-template",null,1,e.W1O),e.YNc(4,jp,1,1,"ng-template",null,2,e.W1O),e.YNc(6,fh,2,3,"ng-template",null,3,e.W1O)),2&n&&e.Q6J("ngIf",e.lcZ(1,1,s.subvolumeGroup$))},dependencies:[f.mk,f.sg,f.O5,En.O,Co,Ol.a,il.K,Be._L,f.Ov,xa.$,C.f]}),t})();var Wa=o(35758);function mf(t,i){1&t&&(e.TgZ(0,"span",25),e.SDv(1,26),e.qZA())}function Xl(t,i){1&t&&(e.TgZ(0,"span",25),e.SDv(1,27),e.qZA())}function kd(t,i){1&t&&(e.TgZ(0,"option",33),e._uU(1,"_nogroup"),e.qZA())}function Zp(t,i){if(1&t&&(e.TgZ(0,"option",34),e._uU(1),e.qZA()),2&t){const n=e.oxw().$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(n)}}function p_(t,i){if(1&t&&(e.ynx(0),e.YNc(1,kd,2,0,"option",31),e.YNc(2,Zp,2,2,"option",32),e.BQk()),2&t){const n=i.$implicit;e.xp6(1),e.Q6J("ngIf",""==n),e.xp6(1),e.Q6J("ngIf",""!==n)}}function qu(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"select",28,29),e.NdJ("change",function(){e.CHM(n);const l=e.MAs(1),_=e.oxw(2);return e.KtG(_.onSelectionChange(l.value))}),e.YNc(2,p_,3,2,"ng-container",30),e.qZA()}if(2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngForOf",n.subVolumeGroups)}}function ed(t,i){if(1&t&&(e.TgZ(0,"option",34),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.name),e.xp6(1),e.Oqu(n.name)}}function fp(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"select",35,29),e.NdJ("change",function(){e.CHM(n);const l=e.MAs(1),_=e.oxw(2);return e.KtG(_.resetValidators(l.value))}),e.YNc(2,ed,2,2,"option",36),e.qZA()}if(2&t){const n=i.ngIf;e.xp6(2),e.Q6J("ngForOf",n)}}function __(t,i){if(1&t){const n=e.EpF();e.ynx(0,4),e.TgZ(1,"form",5,6)(3,"div",7)(4,"div",8)(5,"label",9),e.SDv(6,10),e.qZA(),e.TgZ(7,"div",11),e._UZ(8,"input",12),e.YNc(9,mf,2,0,"span",13),e.YNc(10,Xl,2,0,"span",13),e.qZA()(),e.TgZ(11,"div",8)(12,"label",14),e.SDv(13,15),e.qZA(),e.TgZ(14,"div",11),e._UZ(15,"input",16),e.qZA()(),e.TgZ(16,"div",8)(17,"label",17),e.SDv(18,18),e.qZA(),e.TgZ(19,"div",11),e.YNc(20,qu,3,1,"select",19),e.qZA()(),e.TgZ(21,"div",8)(22,"label",20),e.SDv(23,21),e.qZA(),e.TgZ(24,"div",11),e.YNc(25,fp,3,1,"select",22),e.ALo(26,"async"),e.qZA()()(),e.TgZ(27,"div",23)(28,"cd-form-button-panel",24),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.submit())}),e.ALo(29,"titlecase"),e.ALo(30,"upperFirst"),e.qZA()()(),e.BQk()}if(2&t){const n=e.MAs(2),s=e.oxw();e.xp6(1),e.Q6J("formGroup",s.snapshotForm),e.xp6(8),e.Q6J("ngIf",s.snapshotForm.showError("snapshotName",n,"required")),e.xp6(1),e.Q6J("ngIf",s.snapshotForm.showError("snapshotName",n,"notUnique")),e.xp6(10),e.Q6J("ngIf",s.subVolumeGroups),e.xp6(5),e.Q6J("ngIf",e.lcZ(26,7,s.subVolumes$)),e.xp6(3),e.Q6J("form",s.snapshotForm)("submitText",e.lcZ(29,9,s.action)+" "+e.lcZ(30,11,s.resource))}}let jf=(()=>{class t extends de.E{constructor(n,s,l,_){super(),this.activeModal=n,this.actionLabels=s,this.taskWrapper=l,this.cephFsSubvolumeService=_,this.isEdit=!1,this.resource="snapshot",this.action=this.actionLabels.CREATE}ngOnInit(){this.createForm(),this.subVolumes$=this.cephFsSubvolumeService.get(this.fsName,this.subVolumeGroupName,!1),this.loadingReady()}createForm(){this.snapshotForm=new Fe.d({snapshotName:new se.NI(fl()().toISOString(!0),{validators:[se.kI.required],asyncValidators:[zo.h.unique(this.cephFsSubvolumeService.snapshotExists,this.cephFsSubvolumeService,null,null,this.fsName,this.subVolumeName,this.subVolumeGroupName)]}),volumeName:new se.NI({value:this.fsName,disabled:!0}),subVolumeName:new se.NI(this.subVolumeName),subvolumeGroupName:new se.NI(this.subVolumeGroupName)})}onSelectionChange(n){this.subVolumeGroupName=n,this.subVolumes$=this.cephFsSubvolumeService.get(this.fsName,this.subVolumeGroupName,!1),this.subVolumes$.subscribe(s=>{this.subVolumeName=s[0].name,this.snapshotForm.get("subVolumeName").setValue(this.subVolumeName),this.resetValidators()})}resetValidators(n){this.subVolumeName=n,this.snapshotForm.get("snapshotName").setAsyncValidators(zo.h.unique(this.cephFsSubvolumeService.snapshotExists,this.cephFsSubvolumeService,null,null,this.fsName,this.subVolumeName,this.subVolumeGroupName)),this.snapshotForm.get("snapshotName").updateValueAndValidity()}submit(){const n=this.snapshotForm.getValue("snapshotName"),s=this.snapshotForm.getValue("subVolumeName"),l=this.snapshotForm.getValue("subvolumeGroupName"),_=this.snapshotForm.getValue("volumeName");this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/subvolume/snapshot/"+Dr.MQ.CREATE,{snapshotName:n}),call:this.cephFsSubvolumeService.createSnapshot(_,n,s,l)}).subscribe({error:()=>this.snapshotForm.setErrors({cdSubmitButton:!0}),complete:()=>this.activeModal.close()})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.Kz),e.Y36(Dr.p4),e.Y36(Gr.P),e.Y36(fn))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-subvolume-snapshots-form"]],features:[e.qOj],decls:6,vars:8,consts:function(){let i,n,s,l,_,g,M;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Name",s="Volume name",l="Subvolume group ",_="Subvolume ",g="This field is required.",M="The snapshot already exists.",[[3,"modalRef"],[1,"modal-title"],i,["class","modal-content",4,"cdFormLoading"],[1,"modal-content"],["name","snapshotForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","snapshotName",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["type","text","placeholder","Snapshot name...","id","snapshotName","name","snapshotName","formControlName","snapshotName","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","volumeName",1,"cd-col-form-label"],s,["id","volumeName","name","volumeName","formControlName","volumeName",1,"form-control"],["for","subvolumeGroupName",1,"cd-col-form-label"],l,["class","form-select","id","subvolumeGroupName","name","subvolumeGroupName","formControlName","subvolumeGroupName",3,"change",4,"ngIf"],["for","subVolumeName",1,"cd-col-form-label"],_,["class","form-select","id","subVolumeName","name","subVolumeName","formControlName","subVolumeName",3,"change",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],g,M,["id","subvolumeGroupName","name","subvolumeGroupName","formControlName","subvolumeGroupName",1,"form-select",3,"change"],["selection",""],[4,"ngFor","ngForOf"],["value","",4,"ngIf"],[3,"value",4,"ngIf"],["value",""],[3,"value"],["id","subVolumeName","name","subVolumeName","formControlName","subVolumeName",1,"form-select",3,"change"],[3,"value",4,"ngFor","ngForOf"]]},template:function(n,s){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.YNc(5,__,31,13,"ng-container",3),e.qZA()),2&n&&(e.Q6J("modalRef",s.activeModal),e.xp6(4),e.pQV(e.lcZ(3,4,s.action))(e.lcZ(4,6,s.resource)),e.QtT(2),e.xp6(1),e.Q6J("cdFormLoading",s.loading))},dependencies:[f.sg,f.O5,Kt.z,lt.p,B.U,Vt.y,Ht.o,wn.b,ar.P,cr.V,se._Y,se.YN,se.Kr,se.Fj,se.EJ,se.JJ,se.JL,se.sg,se.u,f.Ov,f.rS,_i.m]}),t})();var wp=o(8958);function ph(t,i){1&t&&(e.ynx(0),e.TgZ(1,"cd-loading-panel")(2,"span"),e.SDv(3,3),e.qZA()(),e.BQk())}function $d(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",9)(1,"cd-vertical-navigation",10),e.NdJ("emitActiveItem",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.selectSubVolume(l))}),e.qZA()()}if(2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("items",n.subVolumesList)}}function Zf(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",11)(1,"cd-table",12),e.NdJ("fetchData",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.fetchData())})("updateSelection",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.updateSelection(l))}),e.ALo(2,"async"),e.TgZ(3,"div",13),e._UZ(4,"cd-table-actions",14),e.qZA()()()}if(2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("data",e.lcZ(2,6,n.snapshots$))("columns",n.columns)("hasDetails",!1),e.xp6(3),e.Q6J("permission",n.permissions.cephfs)("selection",n.selection)("tableActions",n.tableActions)}}function h_(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",4)(1,"div",5)(2,"cd-vertical-navigation",6),e.NdJ("emitActiveItem",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.selectSubVolumeGroup(l))}),e.qZA()(),e.YNc(3,$d,2,1,"div",7),e.ALo(4,"async"),e.YNc(5,Zf,5,8,"div",8),e.qZA()}if(2&t){const n=e.oxw();e.xp6(2),e.Q6J("items",n.subvolumeGroupList),e.xp6(1),e.Q6J("ngIf",e.lcZ(4,3,n.subVolumes$)),e.xp6(2),e.Q6J("ngIf",n.isSubVolumesAvailable)}}function Hh(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",16),e.SDv(1,17),e.qZA())}function pp(t,i){if(1&t&&e.YNc(0,Hh,2,0,"cd-alert-panel",15),2&t){const n=e.oxw();e.Q6J("ngIf",!n.isLoading)}}let gf=(()=>{class t{constructor(n,s,l,_,g,M,x,Y){this.cephfsSubvolumeGroupService=n,this.cephfsSubvolumeService=s,this.actionLabels=l,this.modalService=_,this.authStorageService=g,this.cdDatePipe=M,this.taskWrapper=x,this.notificationService=Y,this.columns=[],this.selection=new Kn.r,this.snapshotSubject=new ii.X([]),this.subVolumeSubject=new ii.X([]),this.subvolumeGroupList=[],this.activeGroupName="",this.activeSubVolumeName="",this.isSubVolumesAvailable=!1,this.isLoading=!0,this.observables=[],this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.columns=[{name:"Name",prop:"name",flexGrow:1},{name:"Created",prop:"info.created_at",flexGrow:1,pipe:this.cdDatePipe},{name:"Pending Clones",prop:"info.has_pending_clones",flexGrow:.5,cellTransformation:ai.e.badge,customTemplateConfig:{map:{no:{class:"badge-success"},yes:{class:"badge-info"}}}}],this.tableActions=[{name:this.actionLabels.CREATE,permission:"create",icon:ei.P.add,click:()=>this.openModal()},{name:this.actionLabels.CLONE,permission:"create",icon:ei.P.clone,disable:()=>!this.selection.hasSingleSelection,click:()=>this.cloneModal()},{name:this.actionLabels.DELETE,permission:"delete",icon:ei.P.destroy,disable:()=>!this.selection.hasSingleSelection,click:()=>this.deleteSnapshot()}],this.cephfsSubvolumeGroupService.get(this.fsName).pipe((0,Ma.w)(n=>{n.unshift({name:""});const s=n.map(l=>this.cephfsSubvolumeService.existsInFs(this.fsName,l.name).pipe((0,Ma.w)(_=>(_&&this.subvolumeGroupList.push(l.name),(0,Dt.of)(_)))));return(0,Wa.D)(s)})).subscribe(()=>{this.subvolumeGroupList.length&&(this.isSubVolumesAvailable=!0),this.isLoading=!1})}ngOnChanges(n){n.fsName&&this.subVolumeSubject.next([])}selectSubVolumeGroup(n){this.activeGroupName=n,this.getSubVolumes()}selectSubVolume(n){this.activeSubVolumeName=n,this.getSubVolumesSnapshot()}getSubVolumes(){this.subVolumes$=this.subVolumeSubject.pipe((0,Ma.w)(()=>this.cephfsSubvolumeService.get(this.fsName,this.activeGroupName,!1).pipe((0,oa.b)(n=>{this.subVolumesList=n.map(s=>s.name),this.activeSubVolumeName=n[0].name,this.getSubVolumesSnapshot()}))))}getSubVolumesSnapshot(){this.snapshots$=this.snapshotSubject.pipe((0,Ma.w)(()=>this.cephfsSubvolumeService.getSnapshots(this.fsName,this.activeSubVolumeName,this.activeGroupName).pipe((0,zn.K)(()=>(this.context.error(),(0,Dt.of)(null))))),(0,lr.d)(1))}fetchData(){this.snapshotSubject.next([])}openModal(n=!1){this.modalService.show(jf,{fsName:this.fsName,subVolumeName:this.activeSubVolumeName,subVolumeGroupName:this.activeGroupName,subVolumeGroups:this.subvolumeGroupList,isEdit:n},{size:"lg"})}updateSelection(n){this.selection=n}deleteSnapshot(){const n=this.selection.first().name,s=this.activeSubVolumeName,l=this.activeGroupName,_=this.fsName;this.modalRef=this.modalService.show(Yo.M,{actionDescription:"Delete",itemNames:[n],itemDescription:"Snapshot",submitAction:()=>this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/subvolume/snapshot/delete",{fsName:_,subVolumeName:s,subVolumeGroupName:l,snapshotName:n}),call:this.cephfsSubvolumeService.deleteSnapshot(_,s,n,l)}).subscribe({complete:()=>this.modalRef.close(),error:()=>this.modalRef.componentInstance.stopLoadingSpinner()})})}cloneModal(){const n=`clone_${fl()().toISOString(!0)}`,s=Array.from(this.subvolumeGroupList).map(l=>({value:l,text:""===l?"_nogroup":l}));this.modalService.show(lc.X,{titleText:"Create clone",fields:[{type:"text",name:"cloneName",value:n,label:"Name",validators:[se.kI.required,se.kI.pattern(/^[.A-Za-z0-9_+:-]+$/)],asyncValidators:[zo.h.unique(this.cephfsSubvolumeService.exists,this.cephfsSubvolumeService,null,null,this.fsName)],required:!0,errors:{pattern:"Allowed characters are letters, numbers, '.', '-', '+', ':' or '_'",notUnique:"A subvolume or clone with this name already exists."}},{type:"select",name:"groupName",value:this.activeGroupName,label:"Group name",typeConfig:{options:s}}],submitButtonText:"Create Clone",onSubmit:l=>{this.cephfsSubvolumeService.createSnapshotClone(this.fsName,this.activeSubVolumeName,this.selection.first().name,l.cloneName,this.activeGroupName,l.groupName).subscribe(()=>this.notificationService.show(ua.k.success,"Created Clone \"" + l.cloneName + "\" successfully."))}})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(w),e.Y36(fn),e.Y36(Dr.p4),e.Y36(tc.Z),e.Y36(fa.j),e.Y36(pu.N),e.Y36(Gr.P),e.Y36(Le.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-subvolume-snapshots-list"]],inputs:{fsName:"fsName"},features:[e.TTD],decls:4,vars:3,consts:function(){let i,n;return i="Loading snapshots...",n="No subvolumes are present. Please create subvolumes to manage snapshots.",[[4,"ngIf"],["class","row",4,"ngIf","ngIfElse"],["noGroupsTpl",""],i,[1,"row"],[1,"col-sm-2"],["title","Groups","inputIdentifier","group-filter",3,"items","emitActiveItem"],["class","col-sm-2 vertical-line",4,"ngIf"],["class","col-8 vertical-line",4,"ngIf"],[1,"col-sm-2","vertical-line"],["title","Subvolumes","inputIdentifier","subvol-filter",3,"items","emitActiveItem"],[1,"col-8","vertical-line"],["columnMode","flex","selectionType","single",3,"data","columns","hasDetails","fetchData","updateSelection"],[1,"table-actions","btn-toolbar"],["id","cephfs-snapshot-actions",1,"btn-group",3,"permission","selection","tableActions"],["type","info",4,"ngIf"],["type","info"],n]},template:function(n,s){if(1&n&&(e.YNc(0,ph,4,0,"ng-container",0),e.YNc(1,h_,6,5,"div",1),e.YNc(2,pp,1,1,"ng-template",null,2,e.W1O)),2&n){const l=e.MAs(3);e.Q6J("ngIf",s.isLoading),e.xp6(1),e.Q6J("ngIf",s.isSubVolumesAvailable)("ngIfElse",l)}},dependencies:[f.O5,wp.b,Hr.G,Ts,Ol.a,il.K,f.Ov]}),t})();var lf=o(68939),_p=(()=>{return(t=_p||(_p={})).Hourly="h",t.Daily="d",t.Weekly="w",t.Monthly="M",t.Yearly="Y",_p;var t})(),vf=(()=>{return(t=vf||(vf={})).h="hour",t.d="day",t.w="week",t.M="month",t.Y="year",vf;var t})(),hp=(()=>{return(t=hp||(hp={})).h="hours",t.d="days",t.w="weeks",t.M="months",t.Y="years",hp;var t})(),Yu=(()=>{return(t=Yu||(Yu={})).Minutely="m",t.Hourly="h",t.Daily="d",t.Weekly="w",t.Monthly="M",t.Yearly="y",t["lastest snapshots"]="n",Yu;var t})(),_d=(()=>{return(t=_d||(_d={})).h="Hourly",t.d="Daily",t.w="Weekly",t.M="Monthly",t.m="Minutely",t.y="Yearly",t.n="lastest snapshots",_d;var t})();let xu=(()=>{class t{constructor(n){this.http=n,this.baseURL="api/cephfs"}create(n){return this.http.post(`${this.baseURL}/snapshot/schedule`,n,{observe:"response"})}update({fs:n,path:s,...l}){return this.http.put(`${this.baseURL}/snapshot/schedule/${n}/${encodeURIComponent(s)}`,l,{observe:"response"})}activate({fs:n,path:s,...l}){return this.http.post(`${this.baseURL}/snapshot/schedule/${n}/${encodeURIComponent(s)}/activate`,l,{observe:"response"})}deactivate({fs:n,path:s,...l}){return this.http.post(`${this.baseURL}/snapshot/schedule/${n}/${encodeURIComponent(s)}/deactivate`,l,{observe:"response"})}delete({fs:n,path:s,schedule:l,start:_,retentionPolicy:g,subvol:M,group:x}){let Y=`${this.baseURL}/snapshot/schedule/${n}/${encodeURIComponent(s)}/delete_snapshot?schedule=${l}&start=${encodeURIComponent(_)}`;return g&&(Y+=`&retention_policy=${g}`),M&&x&&(Y+=`&subvol=${encodeURIComponent(M)}&group=${encodeURIComponent(x)}`),this.http.delete(Y)}checkScheduleExists(n,s,l,_){return this.getSnapshotScheduleList(n,s,!1).pipe((0,ss.U)(g=>g.findIndex(x=>x.path===n&&x.schedule===`${l}${_}`)>-1),(0,zn.K)(()=>(0,Dt.of)(!1)))}checkRetentionPolicyExists(n,s,l,_=[],g=!1){return this.getSnapshotSchedule(n,s,!1).pipe((0,ss.U)(M=>{let x=-1,Y=!1;const K=M.findIndex(fe=>g?fe.path.startsWith(n):fe.path===n),le=l?.length?(0,gt.intersection)(Object.keys(M?.[K]?.retention).filter(fe=>!_.includes(fe)),l):[];return Y=!!le?.length,le?.forEach(fe=>x=l.indexOf(fe)),{exists:Y,errorIndex:x}}),(0,zn.K)(()=>(0,Dt.of)({exists:!1,errorIndex:-1})))}getSnapshotSchedule(n,s,l=!0){return this.http.get(`${this.baseURL}/snapshot/schedule/${s}?path=${n}&recursive=${l}`).pipe((0,zn.K)(()=>(0,Dt.of)([])))}getSnapshotScheduleList(n,s,l=!0){return this.getSnapshotSchedule(n,s,l).pipe((0,ss.U)(_=>(0,gt.uniqWith)(_.map(g=>({...g,scheduleCopy:this.parseScheduleCopy(g.schedule),status:g.active?"Active":"Inactive",subvol:g?.subvol,retentionCopy:this.parseRetentionCopy(g?.retention),retention:Object.values(g?.retention||[])?.length?Object.entries(g.retention)?.map?.(([M,x])=>`${x}${M.toLocaleUpperCase()}`).join(" "):"-"})),gt.isEqual)))}parseScheduleCopy(n){const s=n.split(""),l=Number(s.filter(M=>!isNaN(Number(M))).join("")),_=s[s.length-1];return "Every " + (l > 1 ? l + " " : "") + "" + (l > 1 ? hp[_] : vf[_]) + ""}parseRetentionCopy(n){return n?Object.entries(n).map(([s,l])=>"" + l + " " + _d[s] + "".toLocaleLowerCase()):["-"]}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var zp=o(61717),Md=o(19773);const cm=function(t,i){return[t,i,"mt-2","me-2"]};function _h(t,i){if(1&t&&(e.TgZ(0,"div"),e._UZ(1,"i",21),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngClass",e.WLB(1,cm,n.icons.spinner,n.icons.spin))}}function um(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,36),e.qZA())}function Bh(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,37),e.qZA())}function Dm(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,38),e.qZA())}function hh(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,39),e.qZA())}function dm(t,i){if(1&t&&(e.TgZ(0,"option",42),e.SDv(1,43),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n[1]),e.xp6(1),e.pQV(n[0]),e.QtT(1)}}const Vd=function(){return["form-select","me-5"]};function Pf(t,i){if(1&t&&(e.TgZ(0,"select",40),e.YNc(1,dm,2,2,"option",41),e.qZA()),2&t){const n=e.oxw(2);e.Q6J("ngClass",e.DdM(2,Vd)),e.xp6(1),e.Q6J("ngForOf",n.repeatFrequencies)}}function Gh(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,44),e.qZA())}function fm(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,45),e.qZA())}function zf(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,46),e.qZA())}function Vp(t,i){if(1&t&&(e.TgZ(0,"option",42),e.SDv(1,54),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n[1]),e.xp6(1),e.pQV(n[0]),e.QtT(1)}}function mp(t,i){if(1&t&&(e.TgZ(0,"select",53),e.YNc(1,Vp,2,2,"option",41),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",n.retentionFrequencies)}}function m_(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,55),e.qZA())}const g_=function(t,i){return{"cd-col-form-label":!0,visible:t,invisible:i}},yf=function(t){return[t]};function yc(t,i){if(1&t){const n=e.EpF();e.ynx(0,47)(1,48),e.TgZ(2,"div",8)(3,"label",49),e.SDv(4,50),e.qZA(),e.TgZ(5,"div",11)(6,"div",12),e._UZ(7,"input",51),e.YNc(8,mp,2,1,"select",52),e.TgZ(9,"button",31),e.NdJ("click",function(){const _=e.CHM(n).index,g=e.oxw(2);return e.KtG(g.removeRetentionPolicy(_))}),e._UZ(10,"i",21),e.qZA()(),e.YNc(11,m_,2,0,"span",15),e.qZA()(),e.BQk()()}if(2&t){const n=i.index,s=e.oxw(2);e.xp6(1),e.Q6J("formGroupName",n),e.xp6(2),e.Q6J("ngClass",e.WLB(5,g_,0==n,n>0)),e.xp6(5),e.Q6J("ngIf",s.retentionFrequencies),e.xp6(2),e.Q6J("ngClass",e.VKq(8,yf,s.icons.trash)),e.xp6(1),e.Q6J("ngIf",s.snapScheduleForm.controls.retentionPolicies.controls[n].invalid)}}const hd=function(t){return[t,"me-2"]};function Qm(t,i){if(1&t){const n=e.EpF();e.ynx(0,4),e.TgZ(1,"form",5,6)(3,"div",7)(4,"div",8)(5,"label",9),e.SDv(6,10),e.qZA(),e.TgZ(7,"div",11)(8,"div",12),e._UZ(9,"input",13),e.YNc(10,_h,2,4,"div",14),e.qZA(),e.YNc(11,um,2,0,"span",15),e.YNc(12,Bh,2,0,"span",15),e.qZA()(),e.TgZ(13,"div",8)(14,"label",16),e.SDv(15,17),e.qZA(),e.TgZ(16,"div",11)(17,"div",12)(18,"input",18,19),e.NdJ("click",function(){e.CHM(n);const l=e.MAs(19);return e.KtG(l.open())}),e.qZA(),e.TgZ(20,"button",20),e.NdJ("click",function(){e.CHM(n);const l=e.MAs(19);return e.KtG(l.toggle())}),e._UZ(21,"i",21),e.qZA()(),e.YNc(22,Dm,2,0,"span",15),e.qZA()(),e.TgZ(23,"div",8)(24,"label",22),e.tHW(25,23),e._UZ(26,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(27,"div",11),e._UZ(28,"ngb-timepicker",24),e.YNc(29,hh,2,0,"span",15),e.qZA()(),e.TgZ(30,"div",8)(31,"label",25),e.SDv(32,26),e.qZA(),e.TgZ(33,"div",11)(34,"div",12),e._UZ(35,"input",27),e.YNc(36,Pf,2,3,"select",28),e.qZA(),e.YNc(37,Gh,2,0,"span",15),e.YNc(38,fm,2,0,"span",15),e.YNc(39,zf,2,0,"span",15),e.qZA()(),e.YNc(40,yc,12,10,"ng-container",29),e.TgZ(41,"div",30)(42,"button",31),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.addRetentionPolicy())}),e._UZ(43,"i",21),e.TgZ(44,"span"),e.SDv(45,32),e.qZA()()()(),e.TgZ(46,"div",33)(47,"cd-form-button-panel",34),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.submit())}),e.ALo(48,"titlecase"),e.ALo(49,"upperFirst"),e.qZA()()(),e.BQk()}if(2&t){const n=e.MAs(2),s=e.oxw();e.xp6(1),e.Q6J("formGroup",s.snapScheduleForm),e.xp6(8),e.Q6J("ngbTypeahead",s.search)("placeholder",s.directoryStore.isLoading?"Loading directories":"Directory search"),e.xp6(1),e.Q6J("ngIf",s.directoryStore.isLoading),e.xp6(1),e.Q6J("ngIf",s.snapScheduleForm.showError("directory",n,"required")),e.xp6(1),e.Q6J("ngIf",s.snapScheduleForm.showError("directory",n,"notUnique")),e.xp6(6),e.Q6J("minDate",s.minDate),e.xp6(3),e.Q6J("ngClass",s.icons.calendar),e.xp6(1),e.Q6J("ngIf",s.snapScheduleForm.showError("startDate",n,"required")),e.xp6(6),e.Q6J("spinners",!1)("seconds",!1)("meridian",!0),e.xp6(1),e.Q6J("ngIf",s.snapScheduleForm.showError("startTime",n,"required")),e.xp6(7),e.Q6J("ngIf",s.repeatFrequencies),e.xp6(1),e.Q6J("ngIf",s.snapScheduleForm.showError("repeatFrequency",n,"notUnique")),e.xp6(1),e.Q6J("ngIf",s.snapScheduleForm.showError("repeatInterval",n,"required")),e.xp6(1),e.Q6J("ngIf",s.snapScheduleForm.showError("repeatInterval",n,"min")),e.xp6(1),e.Q6J("ngForOf",s.retentionPolicies.controls),e.xp6(3),e.Q6J("ngClass",e.VKq(25,hd,s.icons.add)),e.xp6(4),e.Q6J("form",s.snapScheduleForm)("submitText",e.lcZ(48,21,s.action)+" "+e.lcZ(49,23,s.resource))}}const Vf="_nogroup";let Yh=(()=>{class t extends de.E{constructor(n,s,l,_,g,M,x){super(),this.activeModal=n,this.actionLabels=s,this.snapScheduleService=l,this.taskWrapper=_,this.cd=g,this.directoryStore=M,this.subvolumeService=x,this.isEdit=!1,this.icons=ei.P,this.repeatFrequencies=Object.entries(_p),this.retentionFrequencies=Object.entries(Yu),this.retentionPoliciesToRemove=[],this.isDefaultSubvolumeGroup=!1,this.isSubvolume=!1,this.search=K=>K.pipe((0,Xe.b)(300),(0,rn.x)(),(0,Ma.w)(le=>this.directoryStore.search(le,this.id).pipe((0,zn.K)(()=>(0,Dt.of)([]))))),this.resource="Snapshot schedule";const Y=new Date;this.minDate={year:Y.getUTCFullYear(),month:Y.getUTCMonth()+1,day:Y.getUTCDate()},this.currentTime={hour:Y.getUTCHours(),minute:Y.getUTCMinutes(),second:Y.getUTCSeconds()}}ngOnInit(){this.action=this.actionLabels.CREATE,this.directoryStore.loadDirectories(this.id,"/",3),this.createForm(),this.isEdit?this.populateForm():this.loadingReady(),this.snapScheduleForm.get("directory").valueChanges.pipe((0,as.h)(()=>!this.isEdit),(0,Xe.b)(300),(0,oa.b)(()=>{this.isSubvolume=!1}),(0,oa.b)(n=>{this.subvolumeGroup=n?.split?.("/")?.[2],this.subvolume=n?.split?.("/")?.[3]}),(0,as.h)(()=>!!this.subvolume&&!!this.subvolumeGroup),(0,Md.zg)(()=>this.subvolumeService.exists(this.subvolume,this.fsName,this.subvolumeGroup===Vf?"":this.subvolumeGroup).pipe((0,oa.b)(n=>this.isSubvolume=n),(0,oa.b)(n=>this.isDefaultSubvolumeGroup=n&&this.subvolumeGroup===Vf))),(0,as.h)(n=>n),(0,Md.zg)(()=>this.subvolumeService.info(this.fsName,this.subvolume,this.subvolumeGroup===Vf?"":this.subvolumeGroup).pipe(function F_(...t){const i=t.length;if(0===i)throw new Error("list of properties cannot be empty.");return n=>(0,ss.U)(function Uh(t,i){return s=>{let l=s;for(let _=0;_<i;_++){const g=l?.[t[_]];if(void 0===g)return;l=g}return l}}(t,i))(n)}("path"))),(0,as.h)(n=>n!==this.snapScheduleForm.get("directory").value)).subscribe({next:n=>this.snapScheduleForm.get("directory").setValue(n)})}get retentionPolicies(){return this.snapScheduleForm.get("retentionPolicies")}populateForm(){this.action=this.actionLabels.EDIT,this.snapScheduleService.getSnapshotSchedule(this.path,this.fsName,!1).subscribe({next:n=>{const s=n.find(l=>l.path===this.path);this.snapScheduleForm.get("directory").disable(),this.snapScheduleForm.get("directory").setValue(s.path),this.snapScheduleForm.get("startDate").disable(),this.snapScheduleForm.get("startDate").setValue({year:new Date(s.start).getUTCFullYear(),month:new Date(s.start).getUTCMonth()+1,day:new Date(s.start).getUTCDate()}),this.snapScheduleForm.get("startTime").disable(),this.snapScheduleForm.get("startTime").setValue({hour:new Date(s.start).getUTCHours(),minute:new Date(s.start).getUTCMinutes(),second:new Date(s.start).getUTCSeconds()}),this.snapScheduleForm.get("repeatInterval").disable(),this.snapScheduleForm.get("repeatInterval").setValue(s.schedule.split("")?.[0]),this.snapScheduleForm.get("repeatFrequency").disable(),this.snapScheduleForm.get("repeatFrequency").setValue(s.schedule.split("")?.[1]),s.retention&&Object.entries(s.retention).forEach(([l,_],g)=>{const M=Object.keys(Yu)[Object.values(Yu).indexOf(l)];this.retentionPolicies.push(new se.cw({retentionInterval:new se.NI(_),retentionFrequency:new se.NI(Yu[M])})),this.retentionPolicies.controls[g].get("retentionInterval").disable(),this.retentionPolicies.controls[g].get("retentionFrequency").disable()}),this.loadingReady()}})}createForm(){this.snapScheduleForm=new Fe.d({directory:new se.NI(void 0,{updateOn:"blur",validators:[se.kI.required]}),startDate:new se.NI(this.minDate,{validators:[se.kI.required]}),startTime:new se.NI(this.currentTime,{validators:[se.kI.required]}),repeatInterval:new se.NI(1,{validators:[se.kI.required,se.kI.min(1)]}),repeatFrequency:new se.NI(_p.Daily,{validators:[se.kI.required]}),retentionPolicies:new se.Oe([])},{asyncValidators:[this.validateSchedule(),this.validateRetention()]})}addRetentionPolicy(){this.retentionPolicies.push(new se.cw({retentionInterval:new se.NI(1),retentionFrequency:new se.NI(Yu.Daily)})),this.cd.detectChanges()}removeRetentionPolicy(n){if(this.isEdit&&this.retentionPolicies.at(n).disabled){const s=this.retentionPolicies.at(n).value;this.retentionPoliciesToRemove.push(s)}this.retentionPolicies.removeAt(n),this.retentionPolicies.controls.forEach(s=>s.get("retentionFrequency").updateValueAndValidity()),this.cd.detectChanges()}convertNumberToString(n,s=2,l="0"){return(0,gt.padStart)(n.toString(),s,l)}parseDatetime(n,s){return n&&s?`${n.year}-${this.convertNumberToString(n.month)}-${this.convertNumberToString(n.day)}T${this.convertNumberToString(s.hour)}:${this.convertNumberToString(s.minute)}:${this.convertNumberToString(s.second)}`:null}parseSchedule(n,s){return`${n}${s}`}parseRetentionPolicies(n){return n?.filter(s=>null!==s?.retentionInterval&&null!==s?.retentionFrequency)?.map?.(s=>`${s.retentionInterval}-${s.retentionFrequency}`).join("|")}submit(){if(this.snapScheduleForm.invalid)return void this.snapScheduleForm.setErrors({cdSubmitButton:!0});const n=this.snapScheduleForm.value;if(this.isEdit){const s=this.snapScheduleForm.get("retentionPolicies").controls?.filter(_=>!_.get("retentionInterval").disabled&&!_.get("retentionFrequency").disabled).map(_=>({retentionInterval:_.get("retentionInterval").value,retentionFrequency:_.get("retentionFrequency").value})),l={fs:this.fsName,path:this.path,subvol:this.subvol,group:this.group,retention_to_add:this.parseRetentionPolicies(s)||null,retention_to_remove:this.parseRetentionPolicies(this.retentionPoliciesToRemove)||null};this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/snapshot/schedule/"+Dr.MQ.EDIT,{path:this.path}),call:this.snapScheduleService.update(l)}).subscribe({error:()=>{this.snapScheduleForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}else{const s={fs:this.fsName,path:n.directory,snap_schedule:this.parseSchedule(n?.repeatInterval,n?.repeatFrequency),start:this.parseDatetime(n?.startDate,n?.startTime)},l=this.parseRetentionPolicies(n?.retentionPolicies);l&&(s.retention_policy=l),this.isSubvolume&&(s.subvol=this.subvolume),this.isSubvolume&&!this.isDefaultSubvolumeGroup&&(s.group=this.subvolumeGroup),this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/snapshot/schedule/"+Dr.MQ.CREATE,{path:s.path}),call:this.snapScheduleService.create(s)}).subscribe({error:()=>{this.snapScheduleForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}}validateSchedule(){return n=>{const s=n.get("directory"),l=n.get("repeatFrequency"),_=n.get("repeatInterval");return this.isEdit?(0,Dt.of)(null):(0,qo.H)(300).pipe((0,Ma.w)(()=>this.snapScheduleService.checkScheduleExists(s?.value,this.fsName,_?.value,l?.value).pipe((0,ss.U)(g=>(g?l?.setErrors({notUnique:!0},{emitEvent:!0}):l?.setErrors(null),null)))))}}getFormArrayItem(n,s,l,_){return n.get(s)?.controls?.[_]?.get?.(l)}validateRetention(){return n=>(0,qo.H)(300).pipe((0,Ma.w)(()=>{const s=n.get("retentionPolicies").controls?.map(l=>l.get("retentionFrequency").value);return(0,gt.uniq)(s)?.length!==s?.length?(this.getFormArrayItem(n,"retentionPolicies","retentionFrequency",s.length-1)?.setErrors?.({notUnique:!0}),null):this.snapScheduleService.checkRetentionPolicyExists(n.get("directory").value,this.fsName,s,this.retentionPoliciesToRemove?.map?.(l=>l.retentionFrequency)||[],!!this.subvolume).pipe((0,ss.U)(({exists:l,errorIndex:_})=>(l?this.getFormArrayItem(n,"retentionPolicies","retentionFrequency",_)?.setErrors?.({notUnique:!0}):n.get("retentionPolicies").controls?.forEach?.((g,M)=>{this.getFormArrayItem(n,"retentionPolicies","retentionFrequency",M)?.setErrors?.(null)}),null)))}))}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.Kz),e.Y36(Dr.p4),e.Y36(xu),e.Y36(Gr.P),e.Y36(e.sBO),e.Y36(_e),e.Y36(fn))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-snapshotschedule-form"]],features:[e.qOj],decls:6,vars:8,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Directory ",s="Start date ",l="Start time " + "\ufffd#26\ufffd" + "The time zone is assumed to be UTC." + "\ufffd/#26\ufffd" + "",_="Schedule ",g="Add retention policy",M="This field is required.",x="A snapshot schedule for this path already exists.",Y="This field is required.",K="This field is required.",le="" + "\ufffd0\ufffd" + "",fe="This schedule already exists for the selected directory.",ge="This field is required.",Se="Choose a value greater than 0.",Ge="Retention policy ",we="" + "\ufffd0\ufffd" + "",He="This retention policy already exists for the selected directory.",[[3,"modalRef"],[1,"modal-title"],i,["class","modal-content",4,"cdFormLoading"],[1,"modal-content"],["name","snapScheduleForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","directory",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],[1,"input-group"],["id","typeahead-http","type","text","disabled","directoryStore.isLoading","formControlName","directory",1,"form-control",3,"ngbTypeahead","placeholder"],[4,"ngIf"],["class","invalid-feedback",4,"ngIf"],["for","startDate",1,"cd-col-form-label","required"],s,["placeholder","yyyy-mm-dd","name","startDate","id","startDate","formControlName","startDate","ngbDatepicker","",1,"form-control",3,"minDate","click"],["d","ngbDatepicker"],["type","button","title","Open",1,"btn","btn-light",3,"click"],[3,"ngClass"],["for","startTime",1,"cd-col-form-label","required"],l,["formControlName","startTime","id","startTime","name","startTime",3,"spinners","seconds","meridian"],["for","repeatInterval",1,"cd-col-form-label","required"],_,["type","number","min","1","id","repeatInterval","name","repeatInterval","formControlName","repeatInterval",1,"form-control"],["id","repeatFrequency","name","repeatFrequency","formControlName","repeatFrequency",3,"ngClass",4,"ngIf"],["formArrayName","retentionPolicies",4,"ngFor","ngForOf"],[1,"d-flex","flex-row","align-content-center","justify-content-end"],["type","button",1,"btn","btn-light",3,"click"],g,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],M,x,Y,K,["id","repeatFrequency","name","repeatFrequency","formControlName","repeatFrequency",3,"ngClass"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],le,fe,ge,Se,["formArrayName","retentionPolicies"],[3,"formGroupName"],["for","retentionInterval",3,"ngClass"],Ge,["type","number","min","1","id","retentionInterval","name","retentionInterval","formControlName","retentionInterval",1,"form-control"],["class","form-select","id","retentionFrequency","name","retentionFrequency","formControlName","retentionFrequency",4,"ngIf"],["id","retentionFrequency","name","retentionFrequency","formControlName","retentionFrequency",1,"form-select"],we,He]},template:function(n,s){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.YNc(5,Qm,50,27,"ng-container",3),e.qZA()),2&n&&(e.Q6J("modalRef",s.activeModal),e.xp6(4),e.pQV(e.lcZ(3,4,s.action))(e.lcZ(4,6,s.resource)),e.QtT(2),e.xp6(1),e.Q6J("cdFormLoading",s.loading))},dependencies:[f.mk,f.sg,f.O5,je.S,Kt.z,lt.p,Vt.y,Ht.o,wn.b,ar.P,cr.V,se._Y,se.YN,se.Kr,se.Fj,se.wV,se.EJ,se.JJ,se.JL,se.qQ,se.sg,se.u,se.x0,se.CE,Be.dR,Be.J4,Be.Pm,f.rS,_i.m]}),t})();var Wd=o(7273),L_=o(11925);const v_=["pathTpl"],jh=["retentionTpl"],gp=["subvolTpl"];function Wp(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-alert-panel",6),e.tHW(1,7),e.TgZ(2,"button",8),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.enableSnapshotSchedule())}),e.qZA(),e.N_p(),e.qZA()}}const k_=function(t,i){return[t,i]};function Jp(t,i){if(1&t&&(e.TgZ(0,"span"),e._UZ(1,"i",13),e.qZA()),2&t){const n=e.oxw().row,s=e.oxw();let l;e.xp6(1),e.MGl("ngbTooltip","",null==n.pathForSelection||null==n.pathForSelection.split||null==(l=n.pathForSelection.split("@"))?null:l[0]," is active"),e.Q6J("ngClass",e.WLB(2,k_,s.icons.success,s.icons.large))}}function $_(t,i){if(1&t&&e._UZ(0,"i",14),2&t){const n=e.oxw().row,s=e.oxw();let l;e.MGl("ngbTooltip","",null==n.pathForSelection||null==n.pathForSelection.split||null==(l=n.pathForSelection.split("@"))?null:l[0]," has been deactivated"),e.Q6J("ngClass",e.WLB(2,k_,s.icons.warning,s.icons.large))}}function y_(t,i){if(1&t&&e._UZ(0,"cd-copy-2-clipboard-button",17),2&t){const n=e.oxw(2).row;let s;e.Q6J("source",null==n.pathForSelection||null==n.pathForSelection.split||null==(s=n.pathForSelection.split("@"))?null:s[0])("byId",!1)("showIconOnly",!0)}}function Hd(t,i){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.YNc(2,y_,1,3,"cd-copy-2-clipboard-button",16),e.qZA()),2&t){const n=e.oxw().row;let s;e.Q6J("title",n.pathForSelection),e.xp6(1),e.hij("",null==n.pathForSelection||null==n.pathForSelection.split||null==(s=n.pathForSelection.split("@"))?null:s[0]," "),e.xp6(1),e.Q6J("ngIf",n.pathForSelection)}}function H_(t,i){if(1&t&&(e.TgZ(0,"span",9),e._uU(1),e.ALo(2,"path"),e.qZA(),e.YNc(3,Jp,2,5,"span",10),e.YNc(4,$_,1,5,"ng-template",null,11,e.W1O),e.YNc(6,Hd,3,3,"ng-template",null,12,e.W1O)),2&t){const n=i.row,s=e.MAs(5),l=e.oxw();let _;e.Q6J("ngbTooltip",l.fullpathTpl),e.xp6(1),e.hij(" ",e.lcZ(2,4,null==n.pathForSelection||null==n.pathForSelection.split||null==(_=n.pathForSelection.split("@"))?null:_[0])," "),e.xp6(2),e.Q6J("ngIf",n.active)("ngIfElse",s)}}function E_(t,i){if(1&t&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.Oqu(n)}}function pm(t,i){if(1&t&&(e.TgZ(0,"ul"),e.YNc(1,E_,2,1,"li",18),e.qZA()),2&t){const n=e.oxw().row;e.xp6(1),e.Q6J("ngForOf",n.retentionCopy)}}function S_(t,i){if(1&t&&e.YNc(0,pm,2,1,"ul",10),2&t){const n=i.row;e.oxw();const s=e.MAs(9);e.Q6J("ngIf",n.retentionCopy.length)("ngIfElse",s)}}function Zh(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&t){const n=e.oxw().row;e.xp6(1),e.hij(" ",n.subvol," ")}}function Qp(t,i){if(1&t&&e.YNc(0,Zh,2,1,"span",10),2&t){const n=i.row;e.oxw();const s=e.MAs(9);e.Q6J("ngIf",n.subvol)("ngIfElse",s)}}function Ad(t,i){1&t&&e._uU(0,"-")}function Jd(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",19),e.NdJ("fetchData",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.fetchData())})("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.updateSelection(l))}),e.ALo(1,"async"),e.TgZ(2,"div",20),e._UZ(3,"cd-table-actions",21),e.ALo(4,"async"),e.qZA()()}if(2&t){const n=e.oxw();e.Q6J("data",e.lcZ(1,6,n.snapshotSchedules$))("columns",n.columns)("hasDetails",!1),e.xp6(3),e.Q6J("permission",n.permissions.cephfs)("selection",n.selection)("tableActions",e.lcZ(4,8,n.tableActions$))}}class Ef extends de.E{constructor(i,n,s,l,_,g,M){super(),this.snapshotScheduleService=i,this.authStorageService=n,this.modalService=s,this.mgrModuleService=l,this.notificationService=_,this.actionLabels=g,this.taskWrapper=M,this.subject$=new ii.X([]),this.snapScheduleModuleStatus$=new ii.X(!1),this.columns=[],this.tableActions$=new ii.X([]),this.selection=new Kn.r,this.errorMessage="",this.selectedName="",this.icons=ei.P,this.tableActions=[{name:this.actionLabels.CREATE,permission:"create",icon:ei.P.add,click:()=>this.openModal(!1)},{name:this.actionLabels.EDIT,permission:"update",icon:ei.P.edit,click:()=>this.openModal(!0)},{name:this.actionLabels.DELETE,permission:"delete",icon:ei.P.trash,click:()=>this.deleteSnapshotSchedule()}],this.MODULE_NAME="snap_schedule",this.ENABLE_MODULE_TIMER=2e3,this.permissions=this.authStorageService.getPermissions()}ngOnChanges(i){i.fsName&&this.subject$.next([])}ngOnInit(){this.moduleServiceListSub=this.mgrModuleService.list().pipe((0,ss.U)(i=>i.find(n=>n?.name===this.MODULE_NAME))).subscribe({next:i=>this.snapScheduleModuleStatus$.next(i?.enabled)}),this.snapshotSchedules$=this.subject$.pipe((0,Ma.w)(()=>this.snapScheduleModuleStatus$.pipe((0,Ma.w)(i=>i?this.snapshotScheduleService.getSnapshotScheduleList("/",this.fsName).pipe((0,ss.U)(n=>n.map(s=>({...s,pathForSelection:`${s.path}@${s.schedule}`})))):(0,Dt.of)([])),(0,lr.d)(1)))),this.columns=[{prop:"pathForSelection",name:"Path",flexGrow:3,cellTemplate:this.pathTpl},{prop:"path",isHidden:!0,isInvisible:!0},{prop:"subvol",name:"Subvolume",cellTemplate:this.subvolTpl},{prop:"scheduleCopy",name:"Repeat interval"},{prop:"schedule",isHidden:!0,isInvisible:!0},{prop:"retentionCopy",name:"Retention policy",cellTemplate:this.retentionTpl},{prop:"retention",isHidden:!0,isInvisible:!0},{prop:"created_count",name:"Created Count"},{prop:"pruned_count",name:"Deleted Count"},{prop:"start",name:"Start time",cellTransformation:ai.e.timeAgo},{prop:"created",name:"Created",cellTransformation:ai.e.timeAgo}],this.tableActions$.next(this.tableActions)}ngOnDestroy(){this.moduleServiceListSub.unsubscribe()}fetchData(){this.subject$.next([])}updateSelection(i){if(this.selection=i,!this.selection.hasSelection)return;const n=this.selection.first()?.active;this.tableActions$.next([...this.tableActions,{name:n?this.actionLabels.DEACTIVATE:this.actionLabels.ACTIVATE,permission:"update",icon:n?ei.P.warning:ei.P.success,click:()=>n?this.deactivateSnapshotSchedule():this.activateSnapshotSchedule()}])}openModal(i=!1){this.modalService.show(Yh,{fsName:this.fsName,id:this.id,path:this.selection?.first()?.path,schedule:this.selection?.first()?.schedule,retention:this.selection?.first()?.retention,start:this.selection?.first()?.start,status:this.selection?.first()?.status,isEdit:i},{size:"lg"})}enableSnapshotSchedule(){let i;const n=()=>{(0,qo.H)(this.ENABLE_MODULE_TIMER).subscribe(()=>{this.mgrModuleService.list().subscribe(()=>{this.notificationService.suspendToasties(!1),this.blockUI.stop(),this.notificationService.show(ua.k.success,"Enabled Snapshot Schedule Module")},()=>{n()})})};this.snapScheduleModuleStatus$.value||(i=this.mgrModuleService.enable(this.MODULE_NAME).pipe((0,lf.x)(()=>this.snapScheduleModuleStatus$.next(!0)))),i.subscribe(()=>{},()=>{this.notificationService.suspendToasties(!0),this.blockUI.start("Reconnecting, please wait ..."),n()})}deactivateSnapshotSchedule(){const{path:i,start:n,fs:s,schedule:l,subvol:_,group:g}=this.selection.first();this.modalRef=this.modalService.show(Yo.M,{itemDescription:"snapshot schedule",actionDescription:this.actionLabels.DEACTIVATE,submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/snapshot/schedule/deactivate",{path:i}),call:this.snapshotScheduleService.deactivate({path:i,schedule:l,start:n,fs:s,subvol:_,group:g})})})}activateSnapshotSchedule(){const{path:i,start:n,fs:s,schedule:l,subvol:_,group:g}=this.selection.first();this.modalRef=this.modalService.show(Yo.M,{itemDescription:"snapshot schedule",actionDescription:this.actionLabels.ACTIVATE,submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/snapshot/schedule/activate",{path:i}),call:this.snapshotScheduleService.activate({path:i,schedule:l,start:n,fs:s,subvol:_,group:g})})})}deleteSnapshotSchedule(){const{path:i,start:n,fs:s,schedule:l,subvol:_,group:g,retention:M}=this.selection.first(),x=M?.split(/\s/gi)?.filter(Y=>!!Y)?.map(Y=>{const K=Y.substring(Y.length-1);return`${Y.substring(0,Y.length-1)}-${K}`})?.join("|")?.toLocaleLowerCase();this.modalRef=this.modalService.show(Yo.M,{itemDescription:"snapshot schedule",submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/snapshot/schedule/"+Dr.MQ.DELETE,{path:i}),call:this.snapshotScheduleService.delete({path:i,schedule:l,start:n,fs:s,retentionPolicy:x,subvol:_,group:g})})})}}function $a(t,i){if(1&t&&e._UZ(0,"cd-cephfs-detail",23),2&t){const n=e.oxw(2);e.Q6J("data",n.details)}}function id(t,i){if(1&t&&e._UZ(0,"cd-cephfs-directories",24),2&t){const n=e.oxw(2);e.Q6J("id",n.id)}}function bu(t,i){if(1&t&&e._UZ(0,"cd-cephfs-subvolume-list",25),2&t){const n=e.oxw(2);e.Q6J("fsName",n.selection.mdsmap.fs_name)("pools",n.details.pools)("id",n.id)}}function qs(t,i){if(1&t&&e._UZ(0,"cd-cephfs-subvolume-group",26),2&t){const n=e.oxw(2);e.Q6J("fsName",n.selection.mdsmap.fs_name)("pools",n.details.pools)}}function Sf(t,i){if(1&t&&e._UZ(0,"cd-cephfs-subvolume-snapshots-list",27),2&t){const n=e.oxw(2);e.Q6J("fsName",n.selection.mdsmap.fs_name)}}function C_(t,i){if(1&t&&e._UZ(0,"cd-cephfs-snapshotschedule-list",28),2&t){const n=e.oxw(2);e.Q6J("fsName",n.selection.mdsmap.fs_name)("id",n.id)}}function yu(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-cephfs-clients",29),e.NdJ("triggerApiUpdate",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.refresh())}),e.qZA()}if(2&t){const n=e.oxw(2);e.Q6J("id",n.id)("clients",n.clients)}}function U_(t,i){if(1&t&&e._UZ(0,"cd-grafana",30),2&t){const n=e.oxw(2);e.Q6J("grafanaPath","mds-performance?var-mds_servers=mds."+n.grafanaId)("type","metrics")}}function cf(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"nav",1,2),e.NdJ("navChange",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.softRefresh())}),e.ynx(3,3),e.TgZ(4,"a",4),e.SDv(5,5),e.qZA(),e.YNc(6,$a,1,1,"ng-template",6),e.BQk(),e.ynx(7,7),e.TgZ(8,"a",4),e.SDv(9,8),e.qZA(),e.YNc(10,id,1,1,"ng-template",6),e.BQk(),e.ynx(11,9),e.TgZ(12,"a",4),e.SDv(13,10),e.qZA(),e.YNc(14,bu,1,3,"ng-template",6),e.BQk(),e.ynx(15,11),e.TgZ(16,"a",4),e.SDv(17,12),e.qZA(),e.YNc(18,qs,1,2,"ng-template",6),e.BQk(),e.ynx(19,13),e.TgZ(20,"a",4),e.SDv(21,14),e.qZA(),e.YNc(22,Sf,1,1,"ng-template",6),e.BQk(),e.ynx(23,15),e.TgZ(24,"a",4),e.SDv(25,16),e.qZA(),e.YNc(26,C_,1,2,"ng-template",6),e.BQk(),e.ynx(27,17),e.TgZ(28,"a",4),e.ynx(29),e.SDv(30,18),e.BQk(),e.TgZ(31,"span",19),e._uU(32),e.qZA()(),e.YNc(33,yu,1,2,"ng-template",6),e.BQk(),e.ynx(34,20),e.TgZ(35,"a",4),e.SDv(36,21),e.qZA(),e.YNc(37,U_,1,2,"ng-template",6),e.BQk(),e.qZA(),e._UZ(38,"div",22),e.BQk()}if(2&t){const n=e.MAs(2),s=e.oxw();e.xp6(32),e.Oqu(s.clients.data.length),e.xp6(6),e.Q6J("ngbNavOutlet",n)}}Ef.\u0275fac=function(i){return new(i||Ef)(e.Y36(xu),e.Y36(fa.j),e.Y36(tc.Z),e.Y36(Wd.N),e.Y36(Le.g),e.Y36(Dr.p4),e.Y36(Gr.P))},Ef.\u0275cmp=e.Xpm({type:Ef,selectors:[["cd-cephfs-snapshotschedule-list"]],viewQuery:function(i,n){if(1&i&&(e.Gf(v_,7),e.Gf(jh,7),e.Gf(gp,7)),2&i){let s;e.iGM(s=e.CRH())&&(n.pathTpl=s.first),e.iGM(s=e.CRH())&&(n.retentionTpl=s.first),e.iGM(s=e.CRH())&&(n.subvolTpl=s.first)}},inputs:{fsName:"fsName",id:"id"},features:[e.qOj,e.TTD],decls:12,vars:6,consts:function(){let t;return t=" In order to access the snapshot scheduler feature, the snap_scheduler module must be enabled " + "\ufffd#2\ufffd" + " Enable " + "\ufffd/#2\ufffd" + "",[["type","info","spacingClass","mb-3","class","align-items-center",4,"ngIf"],["pathTpl",""],["retentionTpl",""],["subvolTpl",""],["noDataTpl",""],["columnMode","flex","selectionType","single",3,"data","columns","hasDetails","fetchData","updateSelection",4,"ngIf"],["type","info","spacingClass","mb-3",1,"align-items-center"],t,["type","button",1,"btn","btn-light","mx-2",3,"click"],["triggers","click:blur",1,"fw-bold",3,"ngbTooltip"],[4,"ngIf","ngIfElse"],["inactiveStatusTpl",""],["fullpathForSelectionTpl",""],[1,"text-success",3,"ngClass","ngbTooltip"],[1,"text-warning",3,"ngClass","ngbTooltip"],["data-toggle","tooltip",1,"font-monospace",3,"title"],[3,"source","byId","showIconOnly",4,"ngIf"],[3,"source","byId","showIconOnly"],[4,"ngFor","ngForOf"],["columnMode","flex","selectionType","single",3,"data","columns","hasDetails","fetchData","updateSelection"],[1,"table-actions","btn-toolbar"],[1,"btn-group",3,"permission","selection","tableActions"]]},template:function(i,n){1&i&&(e.YNc(0,Wp,3,0,"cd-alert-panel",0),e.ALo(1,"async"),e.YNc(2,H_,8,6,"ng-template",null,1,e.W1O),e.YNc(4,S_,1,2,"ng-template",null,2,e.W1O),e.YNc(6,Qp,1,2,"ng-template",null,3,e.W1O),e.YNc(8,Ad,1,0,"ng-template",null,4,e.W1O),e.YNc(10,Jd,5,10,"cd-table",5),e.ALo(11,"async")),2&i&&(e.Q6J("ngIf",!1===e.lcZ(1,2,n.snapScheduleModuleStatus$)),e.xp6(10),e.Q6J("ngIf",e.lcZ(11,4,n.snapScheduleModuleStatus$)))},dependencies:[f.mk,f.sg,f.O5,Hr.G,Bn.s,Ol.a,il.K,Ht.o,Be._L,f.Ov,L_.Y],styles:["ul[_ngcontent-%COMP%]{list-style:none;padding:0}"]}),(0,Gt.gn)([(0,zp.bH)(),(0,Gt.w6)("design:type",Object)],Ef.prototype,"blockUI",void 0);let vp=(()=>{class t{constructor(n,s,l){this.ngZone=n,this.authStorageService=s,this.cephfsService=l,this.clients={data:[],status:new du.E(Al.T.ValueNone)},this.details={standbys:"",pools:[],ranks:[],mdsCounters:{},name:""},this.grafanaPermission=this.authStorageService.getPermissions().grafana}ngOnChanges(){this.selection?this.selection.id!==this.id&&this.setupSelected(this.selection.id,this.selection.mdsmap.info):this.unsubscribeInterval()}setupSelected(n,s){this.id=n;const l=Ke().first(Object.values(s));this.grafanaId=l&&l.name,this.details={standbys:"",pools:[],ranks:[],mdsCounters:{},name:""},this.clients={data:[],status:new du.E(Al.T.ValueNone)},this.updateInterval()}updateInterval(){this.unsubscribeInterval(),this.subscribeInterval()}unsubscribeInterval(){this.reloadSubscriber&&this.reloadSubscriber.unsubscribe()}subscribeInterval(){this.ngZone.runOutsideAngular(()=>this.reloadSubscriber=(0,qo.H)(0,5e3).subscribe(()=>this.ngZone.run(()=>this.refresh())))}refresh(){this.cephfsService.getTabs(this.id).subscribe(n=>{this.data=n,this.softRefresh()},()=>{this.clients.status=new du.E(Al.T.ValueException)})}softRefresh(){const n=Ke().cloneDeep(this.data);this.clients=n.clients,this.clients.status=new du.E(this.clients.status),this.details={standbys:n.standbys,pools:n.pools,ranks:n.ranks,mdsCounters:n.mds_counters,name:n.name}}ngOnDestroy(){this.unsubscribeInterval()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(e.R0b),e.Y36(fa.j),e.Y36(Fr))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-tabs"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let i,n,s,l,_,g,M,x,Y;return i="Details",n="Directories",s="Subvolumes",l="Subvolume groups",_="Snapshots",g="Snapshot schedules",M="Clients",x="Performance Details",Y="CephFS MDS performance",[[4,"ngIf"],["ngbNav","","cdStatefulTab","cephfs-tabs",1,"nav-tabs",3,"navChange"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","directories"],n,["ngbNavItem","subvolumes"],s,["ngbNavItem","subvolume-groups"],l,["ngbNavItem","snapshots"],_,["ngbNavItem","snapshot-schedules"],g,["ngbNavItem","clients"],M,[1,"badge","badge-pill","badge-tab","ms-1"],["ngbNavItem","performance-details"],x,[3,"ngbNavOutlet"],[3,"data"],[3,"id"],[3,"fsName","pools","id"],[3,"fsName","pools"],[3,"fsName"],[3,"fsName","id"],[3,"id","clients","triggerApiUpdate"],["title",Y,"uid","tbO9LAiZz","grafanaStyle","one",3,"grafanaPath","type"]]},template:function(n,s){1&n&&e.YNc(0,cf,39,2,"ng-container",0),2&n&&e.Q6J("ngIf",s.selection)},dependencies:[f.O5,xl.F,Gc.m,Be.uN,Be.Pz,Be.nv,Be.Vx,Be.tO,Be.Dy,ap,lp,Ze,Kl,dp,gf,Ef]}),t})(),B_=(()=>{class t extends Oi.o{constructor(n,s,l,_,g,M,x,Y,K,le){super(),this.authStorageService=n,this.cephfsService=s,this.actionLabels=l,this.router=_,this.urlBuilder=g,this.configurationService=M,this.modalService=x,this.taskWrapper=Y,this.notificationService=K,this.healthService=le,this.filesystems=[],this.selection=new Kn.r,this.icons=ei.P,this.monAllowPoolDelete=!1,this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.columns=[{name:"Name",prop:"mdsmap.fs_name",flexGrow:2},{name:"Enabled",prop:"mdsmap.enabled",flexGrow:2,cellTransformation:ai.e.checkIcon},{name:"Created",prop:"mdsmap.created",flexGrow:1,cellTransformation:ai.e.timeAgo}],this.tableActions=[{name:this.actionLabels.CREATE,permission:"create",icon:ei.P.add,click:()=>this.router.navigate([this.urlBuilder.getCreate()]),canBePrimary:n=>!n.hasSelection},{name:this.actionLabels.EDIT,permission:"update",icon:ei.P.edit,click:()=>this.router.navigate([this.urlBuilder.getEdit(this.selection.first().mdsmap.fs_name)])},{name:this.actionLabels.AUTHORIZE,permission:"update",icon:ei.P.edit,click:()=>this.authorizeModal()},{name:this.actionLabels.ATTACH,permission:"read",icon:ei.P.bars,disable:()=>!this.selection?.hasSelection,click:()=>this.showAttachInfo()},{permission:"delete",icon:ei.P.destroy,click:()=>this.removeVolumeModal(),name:this.actionLabels.REMOVE,disable:this.getDisableDesc.bind(this)}],this.permissions.configOpt.read&&this.configurationService.get("mon_allow_pool_delete").subscribe(n=>{if(Ke().has(n,"value")){const s=Ke().find(n.value,l=>"mon"===l.section)||{value:!1};this.monAllowPoolDelete="true"===s.value}})}loadFilesystems(n){this.cephfsService.list().subscribe(s=>{this.filesystems=s},()=>{n.error()})}updateSelection(n){this.selection=n}showAttachInfo(){const n=this.selection?.selected?.[0];this.cephfsService.getFsRootDirectory(n.id).pipe((0,Ma.w)(s=>this.healthService.getClusterFsid().pipe((0,ss.U)(l=>({clusterId:l,fs:s}))))).subscribe({next:s=>{this.modalRef=this.modalService.show(us,{onSubmit:()=>this.modalRef.close(),mountData:{fsId:s.clusterId,fsName:n?.mdsmap?.fs_name,rootPath:s.fs.path}})}})}removeVolumeModal(){const n=this.selection.first().mdsmap.fs_name;this.modalService.show(Yo.M,{itemDescription:"File System",itemNames:[n],actionDescription:"remove",submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new ce.R("cephfs/remove",{volumeName:n}),call:this.cephfsService.remove(n)})})}getDisableDesc(){return!this.selection?.hasSelection||!this.monAllowPoolDelete&&"File System deletion is disabled by the mon_allow_pool_delete configuration setting."}authorizeModal(){const n=this.selection?.selected?.[0];this.modalService.show(nu,{fsName:n.mdsmap.fs_name,id:n.id},{size:"lg"})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(Fr),e.Y36(Dr.p4),e.Y36(Ce.F0),e.Y36(zr.F),e.Y36(uu.e),e.Y36(tc.Z),e.Y36(Gr.P),e.Y36(Le.g),e.Y36(Iu.z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-list"]],features:[e._Bn([{provide:zr.F,useValue:new zr.F("cephfs")}]),e.qOj],decls:4,vars:7,consts:[["columnMode","flex","identifier","id","forceIdentifier","true","selectionType","single",3,"data","columns","hasDetails","fetchData","setExpandedRow","updateSelection"],["cdTableDetail","",3,"selection"],[1,"table-actions","btn-toolbar"],["id","cephfs-actions",1,"btn-group",3,"permission","selection","tableActions"]],template:function(n,s){1&n&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(_){return s.loadFilesystems(_)})("setExpandedRow",function(_){return s.setExpandedRow(_)})("updateSelection",function(_){return s.updateSelection(_)}),e._UZ(1,"cd-cephfs-tabs",1),e.TgZ(2,"div",2),e._UZ(3,"cd-table-actions",3),e.qZA()()),2&n&&(e.Q6J("data",s.filesystems)("columns",s.columns)("hasDetails",!0),e.xp6(1),e.Q6J("selection",s.expandedRow),e.xp6(2),e.Q6J("permission",s.permissions.cephfs)("selection",s.selection)("tableActions",s.tableActions))},dependencies:[Ol.a,il.K,vp]}),t})(),xf=(()=>{class t{static getType(n){const s=Ke().find(this.knownTypes,l=>l.name===n);if(void 0!==s)return s;throw new Error('Found unknown type "'+n+'" for config option.')}static getTypeValidators(n){const s=t.getType(n.type);if("bool"===s.name||"str"===s.name)return;const l={validators:[],patternHelpText:s.patternHelpText};return s.isNumberType?(n.max&&""!==n.max&&(l.max=n.max,l.validators.push(se.kI.max(n.max))),n.min&&""!==n.min?(l.min=n.min,l.validators.push(se.kI.min(n.min))):"defaultMin"in s&&(l.min=s.defaultMin,l.validators.push(se.kI.min(s.defaultMin))),l.validators.push("float"===n.type?zo.h.decimalNumber():zo.h.number(s.allowsNegative))):"addr"===n.type?l.validators=[zo.h.ip()]:"uuid"===n.type&&(l.validators=[zo.h.uuid()]),l}static getTypeStep(n,s){if(["uint","int","size","secs"].includes(n))return 1;if("float"===n){if(null!==s&&-1!==s.toString().indexOf(".")){const g=s.toString().split(".");return Math.pow(10,-g[1].length)}return.1}}}return t.knownTypes=[{name:"uint",inputType:"number",humanReadable:"Unsigned integer value",defaultMin:0,patternHelpText:"The entered value needs to be an unsigned number.",isNumberType:!0,allowsNegative:!1},{name:"int",inputType:"number",humanReadable:"Integer value",patternHelpText:"The entered value needs to be a number.",isNumberType:!0,allowsNegative:!0},{name:"size",inputType:"number",humanReadable:"Unsigned integer value (>=16bit)",defaultMin:0,patternHelpText:"The entered value needs to be a unsigned number.",isNumberType:!0,allowsNegative:!1},{name:"secs",inputType:"number",humanReadable:"Number of seconds",defaultMin:1,patternHelpText:"The entered value needs to be a number >= 1.",isNumberType:!0,allowsNegative:!1},{name:"float",inputType:"number",humanReadable:"Double value",patternHelpText:"The entered value needs to be a number or decimal.",isNumberType:!0,allowsNegative:!0},{name:"str",inputType:"text",humanReadable:"Text",isNumberType:!1},{name:"addr",inputType:"text",humanReadable:"IPv4 or IPv6 address",patternHelpText:"The entered value needs to be a valid IP address.",isNumberType:!1},{name:"uuid",inputType:"text",humanReadable:"UUID",patternHelpText:"The entered value is not a valid UUID, e.g.: 67dcac9f-2c03-4d6c-b7bd-1210b3a259a8",isNumberType:!1},{name:"bool",inputType:"checkbox",humanReadable:"Boolean value",isNumberType:!1}],t})();class wf{constructor(){this.value=[]}}function Kp(t,i){1&t&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,20),e.qZA(),e.TgZ(3,"div",11)(4,"textarea",21),e._uU(5," "),e.qZA()()())}function Np(t,i){1&t&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,22),e.qZA(),e.TgZ(3,"div",11)(4,"textarea",23),e._uU(5," "),e.qZA()()())}function da(t,i){1&t&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,24),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",25),e.qZA()())}function G_(t,i){1&t&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,26),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",27),e.qZA()())}function zh(t,i){if(1&t&&(e.TgZ(0,"span",30)(1,"span",31),e._uU(2),e.qZA()()),2&t){const n=i.$implicit;e.xp6(2),e.Oqu(n)}}function hu(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,28),e.qZA(),e.TgZ(3,"div",11),e.YNc(4,zh,3,1,"span",29),e.qZA()()),2&t){const n=e.oxw(2);e.xp6(4),e.Q6J("ngForOf",n.configForm.getValue("services"))}}function su(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",32),e._uU(2),e.qZA(),e.TgZ(3,"div",11)(4,"select",33)(5,"option",34),e.SDv(6,35),e.qZA(),e.TgZ(7,"option",34),e.SDv(8,36),e.qZA(),e.TgZ(9,"option",34),e.SDv(10,37),e.qZA()()()()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("for",n),e.xp6(1),e.hij("",n," "),e.xp6(2),e.Q6J("formControlName",n),e.xp6(1),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngValue",!0),e.xp6(2),e.Q6J("ngValue",!1)}}function Ip(t,i){if(1&t&&(e.TgZ(0,"span",40),e._uU(1),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.hij(" ",n.patternHelpText," ")}}function Xp(t,i){if(1&t&&(e.TgZ(0,"span",40),e._uU(1),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.hij(" ",n.patternHelpText," ")}}function Y_(t,i){if(1&t&&(e.TgZ(0,"span",40),e.SDv(1,41),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.pQV(n.maxValue),e.QtT(1)}}function gh(t,i){if(1&t&&(e.TgZ(0,"span",40),e.SDv(1,42),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.pQV(n.minValue),e.QtT(1)}}function Wf(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",32),e._uU(2),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",38),e.YNc(5,Ip,2,1,"span",39),e.YNc(6,Xp,2,1,"span",39),e.YNc(7,Y_,2,1,"span",39),e.YNc(8,gh,2,1,"span",39),e.qZA()()),2&t){const n=e.oxw().$implicit;e.oxw();const s=e.MAs(2),l=e.oxw();e.xp6(1),e.Q6J("for",n),e.xp6(1),e.hij("",n," "),e.xp6(2),e.Q6J("type",l.inputType)("id",n)("placeholder",l.humanReadableType)("formControlName",n)("step",l.getStep(l.type,l.configForm.getValue(n))),e.xp6(1),e.Q6J("ngIf",l.configForm.showError(n,s,"pattern")),e.xp6(1),e.Q6J("ngIf",l.configForm.showError(n,s,"invalidUuid")),e.xp6(1),e.Q6J("ngIf",l.configForm.showError(n,s,"max")),e.xp6(1),e.Q6J("ngIf",l.configForm.showError(n,s,"min"))}}function yp(t,i){if(1&t&&(e.ynx(0),e.YNc(1,su,11,6,"div",13),e.YNc(2,Wf,9,11,"div",13),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf","bool"===n.type),e.xp6(1),e.Q6J("ngIf","bool"!==n.type)}}function j_(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.ynx(5,6),e._uU(6,"Edit"),e.BQk(),e._uU(7),e.qZA(),e.TgZ(8,"div",7)(9,"div",8)(10,"label",9),e.SDv(11,10),e.qZA(),e.TgZ(12,"div",11),e._UZ(13,"input",12),e.qZA()(),e.YNc(14,Kp,6,0,"div",13),e.YNc(15,Np,6,0,"div",13),e.YNc(16,da,5,0,"div",13),e.YNc(17,G_,5,0,"div",13),e.YNc(18,hu,5,1,"div",13),e.TgZ(19,"div",14)(20,"h3",15),e.SDv(21,16),e.qZA(),e.YNc(22,yp,3,2,"ng-container",17),e.qZA()(),e.TgZ(23,"div",18)(24,"cd-form-button-panel",19),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.submit())}),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("formGroup",n.configForm),e.xp6(6),e.hij(" ",n.configForm.getValue("name")," "),e.xp6(7),e.Q6J("ngIf",n.configForm.getValue("desc")),e.xp6(1),e.Q6J("ngIf",n.configForm.getValue("long_desc")),e.xp6(1),e.Q6J("ngIf",""!==n.configForm.getValue("default")),e.xp6(1),e.Q6J("ngIf",""!==n.configForm.getValue("daemon_default")),e.xp6(1),e.Q6J("ngIf",n.configForm.getValue("services").length>0),e.xp6(4),e.Q6J("ngForOf",n.availSections),e.xp6(2),e.Q6J("form",n.configForm)("submitText",n.actionLabels.UPDATE)}}let Z_=(()=>{class t extends de.E{constructor(n,s,l,_,g){super(),this.actionLabels=n,this.route=s,this.router=l,this.configService=_,this.notificationService=g,this.availSections=["global","mon","mgr","osd","mds","client"],this.createForm()}createForm(){const n={name:new se.p4({value:null}),desc:new se.p4({value:null}),long_desc:new se.p4({value:null}),values:new se.nJ({}),default:new se.p4({value:null}),daemon_default:new se.p4({value:null}),services:new se.p4([])};this.availSections.forEach(s=>{n.values.addControl(s,new se.p4(null))}),this.configForm=new Fe.d(n)}ngOnInit(){this.route.params.subscribe(n=>{this.configService.get(n.name).subscribe(l=>{this.setResponse(l),this.loadingReady()})})}getValidators(n){const s=xf.getTypeValidators(n);if(s)return this.patternHelpText=s.patternHelpText,"max"in s&&""!==s.max&&(this.maxValue=s.max),"min"in s&&""!==s.min&&(this.minValue=s.min),s.validators}getStep(n,s){return xf.getTypeStep(n,s)}setResponse(n){this.response=n;const s=this.getValidators(n);this.configForm.get("name").setValue(n.name),this.configForm.get("desc").setValue(n.desc),this.configForm.get("long_desc").setValue(n.long_desc),this.configForm.get("default").setValue(n.default),this.configForm.get("daemon_default").setValue(n.daemon_default),this.configForm.get("services").setValue(n.services),this.response.value&&this.response.value.forEach(_=>{let g=null;g="true"===_.value||"false"!==_.value&&_.value,this.configForm.get("values").get(_.section).setValue(g)}),this.availSections.forEach(_=>{this.configForm.get("values").get(_).setValidators(s)});const l=xf.getType(n.type);this.type=l.name,this.inputType=l.inputType,this.humanReadableType=l.humanReadable}createRequest(){const n=[];if(this.availSections.forEach(s=>{const l=this.configForm.getValue(s);null!==l&&""!==l&&n.push({section:s,value:l})}),!Ke().isEqual(this.response.value,n)){const s=new wf;return s.name=this.configForm.getValue("name"),s.value=n,s}return null}submit(){const n=this.createRequest();n&&this.configService.create(n).subscribe(()=>{this.notificationService.show(ua.k.success,"Updated config option " + n.name + ""),this.router.navigate(["/configuration"])},()=>{this.configForm.setErrors({cdSubmitButton:!0})}),this.router.navigate(["/configuration"])}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Dr.p4),e.Y36(Ce.gz),e.Y36(Ce.F0),e.Y36(uu.e),e.Y36(Le.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-configuration-form"]],features:[e.qOj],decls:1,vars:1,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe;return i="Name",n="Values",s="Description",l="Long description",_="Default",g="Daemon default",M="Services",x="-- Default --",Y="true",K="false",le="The entered value is too high! It must not be greater than " + "\ufffd0\ufffd" + ".",fe="The entered value is too low! It must not be lower than " + "\ufffd0\ufffd" + ".",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","configForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],["i18",""],[1,"card-body"],[1,"form-group","row"],[1,"cd-col-form-label"],i,[1,"cd-col-form-input"],["type","text","id","name","formControlName","name","readonly","",1,"form-control"],["class","form-group row",4,"ngIf"],["formGroupName","values"],[1,"cd-header"],n,[4,"ngFor","ngForOf"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],s,["id","desc","formControlName","desc","readonly","",1,"form-control","resize-vertical"],l,["id","long_desc","formControlName","long_desc","readonly","",1,"form-control","resize-vertical"],_,["type","text","id","default","formControlName","default","readonly","",1,"form-control"],g,["type","text","id","daemon_default","formControlName","daemon_default","readonly","",1,"form-control"],M,["class","form-component-badge",4,"ngFor","ngForOf"],[1,"form-component-badge"],[1,"badge","badge-dark"],[1,"cd-col-form-label",3,"for"],["id","pool","name","pool",1,"form-select",3,"formControlName"],[3,"ngValue"],x,Y,K,[1,"form-control",3,"type","id","placeholder","formControlName","step"],["class","invalid-feedback",4,"ngIf"],[1,"invalid-feedback"],le,fe]},template:function(n,s){1&n&&e.YNc(0,j_,25,10,"div",0),2&n&&e.Q6J("cdFormLoading",s.loading)},dependencies:[f.sg,f.O5,lt.p,Vt.y,Ht.o,wn.b,ar.P,cr.V,se._Y,se.YN,se.Kr,se.Fj,se.EJ,se.JJ,se.JL,se.sg,se.u,se.x0],styles:[".form-component-badge[_ngcontent-%COMP%]{display:block;height:34px}.form-component-badge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-top:7px}.resize-vertical[_ngcontent-%COMP%]{resize:vertical}"]}),t})();var Nf=o(68962);function vh(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e._UZ(2,"br"),e.qZA()),2&t){const n=i.$implicit,s=i.last;e.xp6(1),e.lnq(" ",n.section,": ",n.value,"",s?"":",","")}}function T_(t,i){if(1&t&&(e.TgZ(0,"span")(1,"span",23)(2,"span",24),e._uU(3),e.ALo(4,"uppercase"),e.qZA()()()),2&t){const n=i.$implicit,s=e.oxw(2);e.xp6(1),e.s9C("title",s.flags[n]),e.xp6(2),e.Oqu(e.lcZ(4,2,n))}}function Ep(t,i){if(1&t&&(e.TgZ(0,"span")(1,"span",24),e._uU(2),e.qZA()()),2&t){const n=i.$implicit;e.xp6(2),e.Oqu(n)}}function Lu(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"table",1)(2,"tbody")(3,"tr")(4,"td",2),e.SDv(5,3),e.qZA(),e.TgZ(6,"td",4),e._uU(7),e.qZA()(),e.TgZ(8,"tr")(9,"td",5),e.SDv(10,6),e.qZA(),e.TgZ(11,"td"),e._uU(12),e.qZA()(),e.TgZ(13,"tr")(14,"td",5),e.SDv(15,7),e.qZA(),e.TgZ(16,"td"),e._uU(17),e.qZA()(),e.TgZ(18,"tr")(19,"td",5),e.SDv(20,8),e.qZA(),e.TgZ(21,"td"),e.YNc(22,vh,3,3,"span",9),e.qZA()(),e.TgZ(23,"tr")(24,"td",5),e.SDv(25,10),e.qZA(),e.TgZ(26,"td"),e._uU(27),e.qZA()(),e.TgZ(28,"tr")(29,"td",5),e.SDv(30,11),e.qZA(),e.TgZ(31,"td"),e._uU(32),e.qZA()(),e.TgZ(33,"tr")(34,"td",5),e.SDv(35,12),e.qZA(),e.TgZ(36,"td"),e._uU(37),e.qZA()(),e.TgZ(38,"tr")(39,"td",5),e.SDv(40,13),e.qZA(),e.TgZ(41,"td"),e._uU(42),e.qZA()(),e.TgZ(43,"tr")(44,"td",5),e.SDv(45,14),e.qZA(),e.TgZ(46,"td"),e._uU(47),e.qZA()(),e.TgZ(48,"tr")(49,"td",5),e.SDv(50,15),e.qZA(),e.TgZ(51,"td"),e.YNc(52,T_,5,4,"span",9),e.qZA()(),e.TgZ(53,"tr")(54,"td",5),e.SDv(55,16),e.qZA(),e.TgZ(56,"td"),e.YNc(57,Ep,3,1,"span",9),e.qZA()(),e.TgZ(58,"tr")(59,"td",5),e.SDv(60,17),e.qZA(),e.TgZ(61,"td"),e._uU(62),e.qZA()(),e.TgZ(63,"tr")(64,"td",5),e.SDv(65,18),e.qZA(),e.TgZ(66,"td"),e._uU(67),e.qZA()(),e.TgZ(68,"tr")(69,"td",5),e.SDv(70,19),e.qZA(),e.TgZ(71,"td"),e._uU(72),e.ALo(73,"booleanText"),e.qZA()(),e.TgZ(74,"tr")(75,"td",5),e.SDv(76,20),e.qZA(),e.TgZ(77,"td"),e._uU(78),e.qZA()(),e.TgZ(79,"tr")(80,"td",5),e.SDv(81,21),e.qZA(),e.TgZ(82,"td"),e._uU(83),e.qZA()(),e.TgZ(84,"tr")(85,"td",5),e.SDv(86,22),e.qZA(),e.TgZ(87,"td"),e._uU(88),e.qZA()()()(),e.BQk()),2&t){const n=e.oxw();e.xp6(7),e.Oqu(n.selection.name),e.xp6(5),e.Oqu(n.selection.desc),e.xp6(5),e.Oqu(n.selection.long_desc),e.xp6(5),e.Q6J("ngForOf",n.selection.value),e.xp6(5),e.Oqu(n.selection.default),e.xp6(5),e.Oqu(n.selection.daemon_default),e.xp6(5),e.Oqu(n.selection.type),e.xp6(5),e.Oqu(n.selection.min),e.xp6(5),e.Oqu(n.selection.max),e.xp6(5),e.Q6J("ngForOf",n.selection.flags),e.xp6(5),e.Q6J("ngForOf",n.selection.services),e.xp6(5),e.Oqu(n.selection.source),e.xp6(5),e.Oqu(n.selection.level),e.xp6(5),e.Oqu(e.lcZ(73,17,n.selection.can_update_at_runtime)),e.xp6(6),e.Oqu(n.selection.tags),e.xp6(5),e.Oqu(n.selection.enum_values),e.xp6(5),e.Oqu(n.selection.see_also)}}let uf=(()=>{class t{constructor(){this.flags={runtime:"The value can be updated at runtime.",no_mon_update:"Daemons/clients do not pull this value from the\n monitor config database. We disallow setting this option via 'ceph config\n set ...'. This option should be configured via ceph.conf or via the\n command line.",startup:"Option takes effect only during daemon startup.",cluster_create:"Option only affects cluster creation.",create:"Option only affects daemon creation."}}ngOnChanges(){this.selection&&(this.selection.services=Ke().split(this.selection.services,","))}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-configuration-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He;return i="Name",n="Description",s="Long description",l="Current values",_="Default",g="Daemon default",M="Type",x="Min",Y="Max",K="Flags",le="Services",fe="Source",ge="Level",Se="Can be updated at runtime (editable)",Ge="Tags",we="Enum values",He="See also",[[4,"ngIf"],[1,"table","table-striped","table-bordered"],[1,"bold","w-25"],i,[1,"w-75"],[1,"bold"],n,s,l,[4,"ngFor","ngForOf"],_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He,[3,"title"],[1,"badge","badge-dark","me-2"]]},template:function(n,s){1&n&&e.YNc(0,Lu,89,19,"ng-container",0),2&n&&e.Q6J("ngIf",s.selection)},dependencies:[f.sg,f.O5,f.gd,Nf.T]}),t})();const Jf=["confValTpl"],Fp=["confFlagTpl"];function Qd(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e._UZ(2,"br"),e.qZA()),2&t){const n=i.$implicit,s=i.last;e.xp6(1),e.lnq(" ",n.section,": ",n.value,"",s?"":",","")}}function z_(t,i){if(1&t&&(e.TgZ(0,"span"),e.YNc(1,Qd,3,3,"span",5),e.qZA()),2&t){const n=e.oxw().value;e.xp6(1),e.Q6J("ngForOf",n)}}function Lp(t,i){1&t&&e.YNc(0,z_,2,1,"span",4),2&t&&e.Q6J("ngIf",i.value)}let Vh=(()=>{class t extends Oi.o{constructor(n,s,l){super(),this.authStorageService=n,this.configurationService=s,this.actionLabels=l,this.data=[],this.icons=ei.P,this.selection=new Kn.r,this.filters=[{name:"Level",prop:"level",filterOptions:["basic","advanced","dev"],filterInitValue:"basic",filterPredicate:(M,x)=>{let Y;var le;return(le=Y||(Y={}))[le.basic=0]="basic",le[le.advanced=1]="advanced",le[le.dev=2]="dev",Y[M.level]<=Y[x]}},{name:"Service",prop:"services",filterOptions:["mon","mgr","osd","mds","common","mds_client","rgw"],filterPredicate:(M,x)=>M.services.includes(x)},{name:"Source",prop:"source",filterOptions:["mon"],filterPredicate:(M,x)=>!!M.hasOwnProperty("source")&&M.source.includes(x)},{name:"Modified",prop:"modified",filterOptions:["yes","no"],filterPredicate:(M,x)=>!!("yes"===x&&M.hasOwnProperty("value")||"no"===x&&!M.hasOwnProperty("value"))}],this.permission=this.authStorageService.getPermissions().configOpt;const _=()=>this.selection.first()&&`${encodeURIComponent(this.selection.first().name)}`;this.tableActions=[{permission:"update",icon:ei.P.edit,routerLink:()=>`/configuration/edit/${_()}`,name:this.actionLabels.EDIT,disable:()=>!this.isEditable(this.selection)}]}ngOnInit(){this.columns=[{canAutoResize:!0,prop:"name",name:"Name"},{prop:"desc",name:"Description",cellClass:"wrap"},{prop:"value",name:"Current value",cellClass:"wrap",cellTemplate:this.confValTpl},{prop:"default",name:"Default",cellClass:"wrap"},{prop:"can_update_at_runtime",name:"Editable",cellTransformation:ai.e.checkIcon,flexGrow:.4,cellClass:"text-center"}]}updateSelection(n){this.selection=n}getConfigurationList(n){this.configurationService.getConfigData().subscribe(s=>{this.data=s},()=>{n.error()})}isEditable(n){return 1===n.selected.length&&n.selected[0].can_update_at_runtime}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(uu.e),e.Y36(Dr.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-configuration"]],viewQuery:function(n,s){if(1&n&&(e.Gf(Jf,7),e.Gf(Fp,5)),2&n){let l;e.iGM(l=e.CRH())&&(s.confValTpl=l.first),e.iGM(l=e.CRH())&&(s.confFlagTpl=l.first)}},features:[e.qOj],decls:5,vars:8,consts:[["selectionType","single",3,"data","columns","extraFilterableColumns","hasDetails","fetchData","setExpandedRow","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],["confValTpl",""],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(n,s){1&n&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(_){return s.getConfigurationList(_)})("setExpandedRow",function(_){return s.setExpandedRow(_)})("updateSelection",function(_){return s.updateSelection(_)}),e._UZ(1,"cd-table-actions",1)(2,"cd-configuration-details",2),e.qZA(),e.YNc(3,Lp,1,1,"ng-template",null,3,e.W1O)),2&n&&(e.Q6J("data",s.data)("columns",s.columns)("extraFilterableColumns",s.filters)("hasDetails",!0),e.xp6(1),e.Q6J("permission",s.permission)("selection",s.selection)("tableActions",s.tableActions),e.xp6(1),e.Q6J("selection",s.expandedRow))},dependencies:[f.sg,f.O5,Ol.a,il.K,uf],styles:[".filter[_ngcontent-%COMP%]{padding-right:8px}.fa-stack[_ngcontent-%COMP%]{font-size:.79rem}.fa-stack[_ngcontent-%COMP%] .fa-stack-1x[_ngcontent-%COMP%]{margin-left:8px;margin-top:5px} cd-configuration datatable-body-cell.wrap{word-break:break-all}"]}),t})();var Dd=o(22120),Qf=o(41702);let md=(()=>{class t{constructor(n,s){this.http=n,this.deviceService=s,this.path="api/osd",this.uiPath="ui-api/osd",this.osdDevices=[],this.osdRecvSpeedModalPriorities={KNOWN_PRIORITIES:[{name:null,text:"-- Select the priority --",values:{osd_max_backfills:null,osd_recovery_max_active:null,osd_recovery_max_single_start:null,osd_recovery_sleep:null}},{name:"low",text:"Low",values:{osd_max_backfills:1,osd_recovery_max_active:1,osd_recovery_max_single_start:1,osd_recovery_sleep:.5}},{name:"default",text:"Default",values:{osd_max_backfills:1,osd_recovery_max_active:3,osd_recovery_max_single_start:1,osd_recovery_sleep:0}},{name:"high",text:"High",values:{osd_max_backfills:4,osd_recovery_max_active:4,osd_recovery_max_single_start:4,osd_recovery_sleep:0}}]}}create(n,s,l="drive_groups"){return this.http.post(this.path,{method:l,data:n,tracking_id:s},{observe:"response"})}getList(){return this.http.get(`${this.path}`)}getOsdSettings(){return this.http.get(`${this.path}/settings`,{headers:{Accept:"application/vnd.ceph.api.v0.1+json"}})}getDetails(n){return this.http.get(`${this.path}/${n}`)}getSmartData(n){return this.http.get(`${this.path}/${n}/smart`)}scrub(n,s){return this.http.post(`${this.path}/${n}/scrub?deep=${s}`,null)}getDeploymentOptions(){return this.http.get(`${this.uiPath}/deployment_options`)}getFlags(){return this.http.get(`${this.path}/flags`)}updateFlags(n){return this.http.put(`${this.path}/flags`,{flags:n})}updateIndividualFlags(n,s){return this.http.put(`${this.path}/flags/individual`,{flags:n,ids:s})}markOut(n){return this.http.put(`${this.path}/${n}/mark`,{action:"out"})}markIn(n){return this.http.put(`${this.path}/${n}/mark`,{action:"in"})}markDown(n){return this.http.put(`${this.path}/${n}/mark`,{action:"down"})}reweight(n,s){return this.http.post(`${this.path}/${n}/reweight`,{weight:s})}update(n,s){return this.http.put(`${this.path}/${n}`,{device_class:s})}markLost(n){return this.http.put(`${this.path}/${n}/mark`,{action:"lost"})}purge(n){return this.http.post(`${this.path}/${n}/purge`,null)}destroy(n){return this.http.post(`${this.path}/${n}/destroy`,null)}delete(n,s,l){return this.http.delete(`${this.path}/${n}`,{observe:"response",params:{preserve_id:s?"true":"false",force:l?"true":"false"}})}safeToDestroy(n){return this.http.get(`${this.path}/safe_to_destroy?ids=${n}`)}safeToDelete(n){return this.http.get(`${this.path}/safe_to_delete?svc_ids=${n}`)}getDevices(n){return this.http.get(`${this.path}/${n}/devices`).pipe((0,ss.U)(s=>s.map(l=>this.deviceService.prepareDevice(l))))}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN),e.LFG(Qf.U))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var gd=o(48168);const If=[{stepIndex:1,isComplete:!1}];let Ff=(()=>{class t{constructor(){this.currentStep$=new ii.X(null),this.steps$=new ii.X(If),this.currentStep$.next(this.steps$.value[0])}setTotalSteps(n){const s=[];for(let l=1;l<=n;l++)s.push({stepIndex:l,isComplete:!1});this.steps$=new ii.X(s)}setCurrentStep(n){this.currentStep$.next(n)}getCurrentStep(){return this.currentStep$.asObservable()}getSteps(){return this.steps$.asObservable()}moveToNextStep(){this.currentStep$.next(this.steps$.value[this.currentStep$.value.stepIndex])}moveToPreviousStep(){this.currentStep$.next(this.steps$.value[this.currentStep$.value.stepIndex-1-1])}isLastStep(){return this.currentStep$.value.stepIndex===this.steps$.value.length}isFirstStep(){return this.currentStep$.value?.stepIndex-1==0}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class yh{constructor(){this.reset(),this.formatterService=new k.H,this.deviceSelectionAttrs={"sys_api.vendor":{name:"vendor"},"sys_api.model":{name:"model"},device_id:{name:"device_id"},human_readable_type:{name:"rotational",formatter:i=>"hdd"===i.toLowerCase()},"sys_api.size":{name:"size",formatter:i=>this.formatterService.format_number(i,1024,["B","KB","MB","GB","TB","PB"]).replace(" ","")}}}reset(){this.spec={service_type:"osd",service_id:`dashboard-${Ke().now()}`}}setName(i){this.spec.service_id=i}setHostPattern(i){this.spec.host_pattern=i}setDeviceSelection(i,n){const s=`${i}_devices`;this.spec[s]={},n.forEach(l=>{const _=this.deviceSelectionAttrs[l.prop];_&&(this.spec[s][_.name]=_.formatter?_.formatter(l.value.raw):l.value.raw)})}clearDeviceSelection(i){delete this.spec[`${i}_devices`]}setSlots(i,n){const s=`${i}_slots`;0===n?delete this.spec[s]:this.spec[s]=n}setFeature(i,n){n?this.spec[i]=!0:delete this.spec[i]}}let _m=(()=>{class t{constructor(n){this.http=n,this.baseURL="api/cluster"}getStatus(){return this.http.get(`${this.baseURL}`,{headers:{Accept:"application/vnd.ceph.api.v0.1+json"}})}updateStatus(n){return this.http.put(`${this.baseURL}`,{status:n},{headers:{Accept:"application/vnd.ceph.api.v0.1+json"}})}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var V_=o(13472);const Wh=function(t){return{active:t}};function Eh(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"ul",4)(1,"li",5)(2,"a",6),e.NdJ("click",function(){const _=e.CHM(n).$implicit,g=e.oxw();return e.KtG(g.onStepClick(_))}),e.TgZ(3,"span",7),e.SDv(4,8),e.qZA(),e.TgZ(5,"span"),e.SDv(6,9),e.qZA()()()()}if(2&t){const n=i.$implicit,s=i.index,l=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(4,Wh,l.currentStep.stepIndex===n.stepIndex)),e.xp6(1),e.Q6J("ngClass",e.VKq(6,Wh,l.currentStep.stepIndex===n.stepIndex)),e.xp6(1),e.pQV(n.stepIndex),e.QtT(4),e.xp6(2),e.pQV(l.stepsTitle[s]),e.QtT(6)}}let W_=(()=>{class t{constructor(n){this.stepsService=n}ngOnInit(){this.stepsService.setTotalSteps(this.stepsTitle.length),this.steps=this.stepsService.getSteps(),this.currentStepSub=this.stepsService.getCurrentStep().subscribe(n=>{this.currentStep=n})}onStepClick(n){this.stepsService.setCurrentStep(n)}ngOnDestroy(){this.currentStepSub.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ff))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-wizard"]],inputs:{stepsTitle:"stepsTitle"},decls:5,vars:3,consts:function(){let i,n;return i="" + "\ufffd0\ufffd" + "",n="" + "\ufffd0\ufffd" + "",[[1,"card-body"],[1,"row","m-7"],[1,"col"],["class","nav nav-pills flex-column",4,"ngFor","ngForOf"],[1,"nav","nav-pills","flex-column"],[1,"nav-item"],[1,"nav-link",3,"ngClass","click"],[1,"circle-step",3,"ngClass"],i,n]},template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"nav",2),e.YNc(3,Eh,7,8,"ul",3),e.ALo(4,"async"),e.qZA()()()),2&n&&(e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,1,s.steps)))},dependencies:[f.mk,f.sg,f.Ov],styles:["cd-wizard{width:15%}.card-body[_ngcontent-%COMP%]{padding-left:0}span.circle-step[_ngcontent-%COMP%]{background:#adb5bd;border-radius:.8em;color:#fff;display:inline-block;font-weight:700;line-height:1.6em;margin-right:5px;text-align:center;width:1.6em}span.circle-step.active[_ngcontent-%COMP%]{background-color:#25828e}.nav-pills[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{background-color:#fff;color:#343a40}.nav-pills[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%]{color:#25828e}"]}),t})();var od=o(13464);let sd=(()=>{class t{constructor(n){this.http=n,this.url="ui-api/orchestrator",this.disableMessages={noOrchestrator:"The feature is disabled because Orchestrator is not available.",missingFeature:"The Orchestrator backend doesn't support this feature."}}status(){return this.http.get(`${this.url}/status`)}hasFeature(n,s){return Ke().every(s,l=>Ke().get(n.features,`${l}.available`))}getTableActionDisableDesc(n,s){return!!n&&(n.available?!this.hasFeature(n,s)&&this.disableMessages.missingFeature:this.disableMessages.noOrchestrator)}getName(){return this.http.get(`${this.url}/get_name`)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Mu=o(7022),ad=(()=>{return(t=ad||(ad={})).HOST_LIST="get_hosts",t.HOST_ADD="add_host",t.HOST_REMOVE="remove_host",t.HOST_LABEL_ADD="add_host_label",t.HOST_LABEL_REMOVE="remove_host_label",t.HOST_MAINTENANCE_ENTER="enter_host_maintenance",t.HOST_MAINTENANCE_EXIT="exit_host_maintenance",t.HOST_FACTS="get_facts",t.HOST_DRAIN="drain_host",t.SERVICE_LIST="describe_service",t.SERVICE_CREATE="apply",t.SERVICE_EDIT="apply",t.SERVICE_DELETE="remove_service",t.SERVICE_RELOAD="service_action",t.DAEMON_LIST="list_daemons",t.OSD_GET_REMOVE_STATUS="remove_osds_status",t.OSD_CREATE="apply_drivegroups",t.OSD_DELETE="remove_osds",t.DEVICE_LIST="get_inventory",t.DEVICE_BLINK_LIGHT="blink_device_light",ad;var t})(),Lf=o(41039),Sh=o(72427),b_=o(33512),Ch=o.n(b_),J_=o(60192);function kp(t,i){1&t&&(e.TgZ(0,"span",24),e.SDv(1,25),e.qZA())}function hm(t,i){1&t&&(e.TgZ(0,"span",24),e.SDv(1,26),e.qZA())}function mm(t,i){1&t&&(e.TgZ(0,"span",24),e.SDv(1,30),e.qZA())}function gm(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",27),e.SDv(2,28),e.qZA(),e.TgZ(3,"div",15),e._UZ(4,"input",29),e.YNc(5,mm,2,0,"span",17),e.qZA()()),2&t){e.oxw();const n=e.MAs(2),s=e.oxw();e.xp6(5),e.Q6J("ngIf",s.hostForm.showError("addr",n,"pattern"))}}function Rm(t,i){1&t&&(e.TgZ(0,"div",8)(1,"div",31)(2,"div",32),e._UZ(3,"input",33),e.TgZ(4,"label",34),e.SDv(5,35),e.qZA()()()())}function ld(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div")(1,"form",5,6)(3,"div",7)(4,"div",8)(5,"label",9),e.ynx(6),e.SDv(7,10),e.BQk(),e.TgZ(8,"cd-helper")(9,"p"),e.SDv(10,11),e.qZA(),e.TgZ(11,"ul")(12,"li"),e.tHW(13,12),e._UZ(14,"samp"),e.N_p(),e.qZA(),e.TgZ(15,"li"),e.tHW(16,13),e._UZ(17,"samp"),e.N_p(),e.qZA(),e.TgZ(18,"li"),e.tHW(19,14),e._UZ(20,"samp"),e.N_p(),e.qZA()()()(),e.TgZ(21,"div",15)(22,"input",16),e.NdJ("keyup",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.checkHostNameValue())}),e.qZA(),e.YNc(23,kp,2,0,"span",17),e.YNc(24,hm,2,0,"span",17),e.qZA()(),e.YNc(25,gm,6,1,"div",18),e.TgZ(26,"div",8)(27,"label",19),e.SDv(28,20),e.qZA(),e.TgZ(29,"div",15),e._UZ(30,"cd-select-badges",21),e.qZA()(),e.YNc(31,Rm,6,0,"div",18),e.qZA(),e.TgZ(32,"div",22)(33,"cd-form-button-panel",23),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.submit())}),e.ALo(34,"titlecase"),e.ALo(35,"upperFirst"),e.qZA()()()()}if(2&t){const n=e.MAs(2),s=e.oxw();e.xp6(1),e.Q6J("formGroup",s.hostForm),e.xp6(22),e.Q6J("ngIf",s.hostForm.showError("hostname",n,"required")),e.xp6(1),e.Q6J("ngIf",s.hostForm.showError("hostname",n,"uniqueName")),e.xp6(1),e.Q6J("ngIf",!s.hostPattern),e.xp6(5),e.Q6J("data",s.hostForm.controls.labels.value)("options",s.labelsOption)("customBadges",!0)("messages",s.messages),e.xp6(1),e.Q6J("ngIf",!s.hideMaintenance),e.xp6(2),e.Q6J("form",s.hostForm)("submitText",e.lcZ(34,11,s.action)+" "+e.lcZ(35,13,s.resource))}}let Q_=(()=>{class t extends de.E{constructor(n,s,l,_,g){super(),this.router=n,this.actionLabels=s,this.hostService=l,this.taskWrapper=_,this.activeModal=g,this.hostnameArray=[],this.hostPattern=!1,this.labelsOption=[],this.messages=new Mu.a({empty:"There are no labels.",filter:"Filter or add labels",add:"Add label"}),this.resource="host",this.action=this.actionLabels.ADD}ngOnInit(){this.router.url.includes("hosts")&&(this.pageURL="hosts"),this.createForm();const n=new gd.E(()=>{});this.hostService.list(n.toParams(),"false").subscribe(s=>{this.hostnames=s.map(l=>l.hostname),this.loadingReady()}),this.hostService.getLabels().subscribe(s=>{const l=new Set(s.concat(this.hostService.predefinedLabels));this.labelsOption=Array.from(l).map(_=>({enabled:!0,name:_,selected:!1,description:null}))})}checkHostNameValue(){this.hostPattern=!!this.hostForm.get("hostname").value.match(/[()\[\]{},]/g)}createForm(){this.hostForm=new Fe.d({hostname:new se.p4("",{validators:[se.kI.required,zo.h.custom("uniqueName",n=>this.hostnames&&-1!==this.hostnames.indexOf(n))]}),addr:new se.p4("",{validators:[zo.h.ip()]}),labels:new se.p4([]),maintenance:new se.p4(!1)})}isCommaSeparatedPattern(n){return n.includes(",")}isRangeTypePattern(n){return n.includes("[")&&n.includes("]")&&!n.match(/(?![^(]*\)),/g)}replaceBraces(n){return n.replace(/(\d)\s*-\s*(\d)/g,"$1..$2").replace(/\(/g,"{").replace(/\)/g,"}").replace(/\[/g,"{").replace(/]/g,"}")}checkHostNamePattern(n){if(this.isRangeTypePattern(n)){const s=this.replaceBraces(n);this.hostnameArray=Ch()(s)}else if(this.isCommaSeparatedPattern(n)){let s=[];s=n.split(","),s.forEach(l=>{if(this.isRangeTypePattern(l)){const _=this.replaceBraces(l);this.hostnameArray=this.hostnameArray.concat(Ch()(_))}else this.hostnameArray.push(l)})}else this.hostnameArray.push(n)}submit(){const n=this.hostForm.get("hostname").value;this.checkHostNamePattern(n),this.addr=this.hostForm.get("addr").value,this.status=this.hostForm.get("maintenance").value?"maintenance":"",this.allLabels=this.hostForm.get("labels").value,"hosts"!==this.pageURL&&!this.allLabels.includes("_no_schedule")&&this.allLabels.push("_no_schedule"),this.hostnameArray.forEach(s=>{this.taskWrapper.wrapTaskAroundCall({task:new ce.R("host/"+Dr.MQ.ADD,{hostname:s}),call:this.hostService.create(s,this.addr,this.allLabels,this.status)}).subscribe({error:()=>{this.hostForm.setErrors({cdSubmitButton:!0})},complete:()=>{"hosts"===this.pageURL?this.router.navigate([this.pageURL,{outlets:{modal:null}}]):this.activeModal.close()}})})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ce.F0),e.Y36(Dr.p4),e.Y36(Dd.x),e.Y36(Gr.P),e.Y36(Be.Kz))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-host-form"]],features:[e.qOj],decls:7,vars:9,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Hostname",s="To add multiple hosts at once, you can enter:",l="a comma-separated list of hostnames " + "\ufffd#14\ufffd" + "(e.g.: example-01,example-02,example-03)" + "\ufffd/#14\ufffd" + ",",_="a range expression " + "\ufffd#17\ufffd" + "(e.g.: example-[01-03].ceph)" + "\ufffd/#17\ufffd" + ",",g="a comma separated range expression " + "\ufffd#20\ufffd" + "(e.g.: example-[01-05].lab.com,example2-[1-4].lab.com,example3-[001-006].lab.com)" + "\ufffd/#20\ufffd" + "",M="Labels",x="This field is required.",Y="The chosen hostname is already in use.",K="Network address",le="The value is not a valid IP address.",fe="Maintenance Mode",[[3,"pageURL","modalRef"],[1,"modal-title"],i,[1,"modal-content"],[4,"cdFormLoading"],["name","hostForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","hostname",1,"cd-col-form-label","required"],n,s,l,_,g,[1,"cd-col-form-input"],["type","text","placeholder","mon-123","id","hostname","name","hostname","formControlName","hostname","autofocus","",1,"form-control",3,"keyup"],["class","invalid-feedback",4,"ngIf"],["class","form-group row",4,"ngIf"],["for","labels",1,"cd-col-form-label"],M,["id","labels",3,"data","options","customBadges","messages"],[1,"modal-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],x,Y,["for","addr",1,"cd-col-form-label"],K,["type","text","placeholder","192.168.0.1","id","addr","name","addr","formControlName","addr",1,"form-control"],le,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","maintenance","type","checkbox","formControlName","maintenance",1,"custom-control-input"],["for","maintenance",1,"custom-control-label"],fe]},template:function(n,s){1&n&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.qZA(),e.ynx(5,3),e.YNc(6,ld,36,15,"div",4),e.BQk(),e.qZA()),2&n&&(e.Q6J("pageURL",s.pageURL)("modalRef",s.activeModal),e.xp6(4),e.pQV(e.lcZ(3,5,s.action))(e.lcZ(4,7,s.resource)),e.QtT(2),e.xp6(2),e.Q6J("cdFormLoading",s.loading))},dependencies:[f.O5,je.S,J_.m,Kt.z,lt.p,B.U,Vt.y,Ht.o,wn.b,ar.P,cr.V,se._Y,se.Fj,se.Wl,se.JJ,se.JL,se.sg,se.u,f.rS,_i.m]}),t})();var Pm=o(55657);const Sp=["deviceLocation"],Th=["daemonName"],Rd=["lifeExpectancy"],vm=["lifeExpectancyTimestamp"];function Jh(t,i){if(1&t&&e._UZ(0,"cd-table",8),2&t){const n=e.oxw();e.Q6J("data",n.devices)("columns",n.columns)}}function bh(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",9),e.SDv(1,10),e.qZA())}function K_(t,i){if(1&t&&e._UZ(0,"cd-label",13),2&t){const n=e.oxw().$implicit;e.Q6J("value",n.dev)}}function Km(t,i){if(1&t&&(e.ynx(0),e.YNc(1,K_,1,1,"cd-label",12),e.BQk()),2&t){const n=i.$implicit,s=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.host===s.hostname)}}function M_(t,i){1&t&&e.YNc(0,Km,2,1,"ng-container",11),2&t&&e.Q6J("ngForOf",i.value)}const F=function(t){return{daemons:t}};function oe(t,i){if(1&t&&e.GkF(0,14),2&t){const n=i.value,s=e.oxw(),l=e.MAs(7),_=e.MAs(9);e.Q6J("ngTemplateOutlet",null!==s.osdId?l:_)("ngTemplateOutletContext",e.VKq(2,F,n))}}function S(t,i){if(1&t&&e._UZ(0,"cd-label",13),2&t){const n=e.oxw().$implicit;e.Q6J("value",n)}}function V(t,i){if(1&t&&(e.ynx(0),e.YNc(1,S,1,1,"cd-label",12),e.BQk()),2&t){const n=i.$implicit,s=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.includes(s.osdId))}}function Re(t,i){1&t&&e.YNc(0,V,2,1,"ng-container",11),2&t&&e.Q6J("ngForOf",i.daemons)}function ct(t,i){if(1&t&&(e.ynx(0),e._UZ(1,"cd-label",15),e.BQk()),2&t){const n=i.$implicit;e.xp6(1),e.Q6J("value",n)}}function Rn(t,i){1&t&&e.YNc(0,ct,2,1,"ng-container",11),2&t&&e.Q6J("ngForOf",i.daemons)}function Ar(t,i){1&t&&(e.TgZ(0,"span"),e.SDv(1,17),e.ALo(2,"notAvailable"),e.qZA()),2&t&&(e.xp6(2),e.pQV(e.lcZ(2,1,"")),e.QtT(1))}function si(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"i18nPlural"),e.qZA()),2&t){const n=e.oxw().value,s=e.oxw();e.xp6(1),e.hij("> ",e.xi3(2,1,n.min,s.translationMapping),"")}}function xi(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"i18nPlural"),e.qZA()),2&t){const n=e.oxw().value,s=e.oxw();e.xp6(1),e.hij("< ",e.xi3(2,1,n.max,s.translationMapping),"")}}function Li(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"i18nPlural"),e.qZA()),2&t){const n=e.oxw().value,s=e.oxw();e.xp6(1),e.AsE("",n.min," to ",e.xi3(2,2,n.max,s.translationMapping),"")}}function Es(t,i){if(1&t&&(e.YNc(0,Ar,3,3,"span",16),e.YNc(1,si,3,4,"span",16),e.YNc(2,xi,3,4,"span",16),e.YNc(3,Li,3,5,"span",16)),2&t){const n=i.value;e.Q6J("ngIf",!n.life_expectancy_enabled),e.xp6(1),e.Q6J("ngIf",n.min&&!n.max),e.xp6(1),e.Q6J("ngIf",n.max&&!n.min),e.xp6(1),e.Q6J("ngIf",n.max&&n.min)}}function ns(t,i){1&t&&e._uU(0),2&t&&e.hij(" ",i.value,"\n")}let v=(()=>{class t{constructor(n,s,l){this.hostService=n,this.datePipe=s,this.osdService=l,this.hostname="",this.osdId=null,this.osdList=!1,this.devices=null,this.columns=[],this.translationMapping={"=1":"# week",other:"# weeks"}}ngOnInit(){this.columns=[{prop:"devid",name:"Device ID",minWidth:200},{prop:"state",name:"State of Health",flexGrow:1,cellTransformation:ai.e.badge,customTemplateConfig:{map:{good:{value:"Good",class:"badge-success"},warning:{value:"Warning",class:"badge-warning"},bad:{value:"Bad",class:"badge-danger"},stale:{value:"Stale",class:"badge-info"},unknown:{value:"Unknown",class:"badge-dark"}}}},{prop:"life_expectancy_weeks",name:"Life Expectancy",cellTemplate:this.lifeExpectancyTemplate},{prop:"life_expectancy_stamp",name:"Prediction Creation Date",cellTemplate:this.lifeExpectancyTimestampTemplate,pipe:this.datePipe,isHidden:!0},{prop:"location",name:"Device Name",cellTemplate:this.locationTemplate},{prop:"daemons",name:"Daemons",cellTemplate:this.daemonNameTemplate}]}ngOnChanges(){const n=s=>this.devices=s;this.osdList&&null!==this.osdId?this.osdService.getDevices(this.osdId).subscribe(n):this.hostname&&this.hostService.getDevices(this.hostname).subscribe(n)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Dd.x),e.Y36(f.uU),e.Y36(md))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-device-list"]],viewQuery:function(n,s){if(1&n&&(e.Gf(Sp,7),e.Gf(Th,7),e.Gf(Rd,7),e.Gf(vm,7)),2&n){let l;e.iGM(l=e.CRH())&&(s.locationTemplate=l.first),e.iGM(l=e.CRH())&&(s.daemonNameTemplate=l.first),e.iGM(l=e.CRH())&&(s.lifeExpectancyTemplate=l.first),e.iGM(l=e.CRH())&&(s.lifeExpectancyTimestampTemplate=l.first)}},inputs:{hostname:"hostname",osdId:"osdId",osdList:"osdList"},features:[e.TTD],decls:14,vars:2,consts:function(){let i,n;return i="Neither hostname nor OSD ID given",n="" + "\ufffd0\ufffd" + "",[[3,"data","columns",4,"ngIf"],["type","warning",4,"ngIf"],["deviceLocation",""],["daemonName",""],["osdIdDaemon",""],["readableDaemons",""],["lifeExpectancy",""],["lifeExpectancyTimestamp",""],[3,"data","columns"],["type","warning"],i,[4,"ngFor","ngForOf"],[3,"value",4,"ngIf"],[3,"value"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"me-1",3,"value"],[4,"ngIf"],n]},template:function(n,s){1&n&&(e.YNc(0,Jh,1,2,"cd-table",0),e.YNc(1,bh,2,0,"cd-alert-panel",1),e.YNc(2,M_,1,1,"ng-template",null,2,e.W1O),e.YNc(4,oe,1,4,"ng-template",null,3,e.W1O),e.YNc(6,Re,1,1,"ng-template",null,4,e.W1O),e.YNc(8,Rn,1,1,"ng-template",null,5,e.W1O),e.YNc(10,Es,4,4,"ng-template",null,6,e.W1O),e.YNc(12,ns,1,1,"ng-template",null,7,e.W1O)),2&n&&(e.Q6J("ngIf",s.hostname||null!==s.osdId),e.xp6(1),e.Q6J("ngIf",""===s.hostname&&null===s.osdId))},dependencies:[f.sg,f.O5,f.tP,Ol.a,Hr.G,Co,f.Gx,Pm.g]}),t})();var R=o(37496);const Z=["innerNav"];function Ae(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",5),e.SDv(1,6),e.qZA())}function qe(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",7),e.SDv(1,8),e.qZA())}function wt(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",10),e.SDv(1,11),e.qZA())}function gn(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"cd-alert-panel",20),e._uU(2),e.qZA(),e.BQk()),2&t){const n=e.oxw(2).$implicit;e.xp6(2),e.Oqu(n.value.userMessage)}}function $n(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",23),e.SDv(1,24),e.qZA())}function Sr(t,i){1&t&&(e.ynx(0),e.TgZ(1,"cd-alert-panel",26),e.SDv(2,27),e.qZA(),e.BQk())}function Di(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",28),e.SDv(1,29),e.qZA())}function jo(t,i){if(1&t&&(e.YNc(0,Sr,3,0,"ng-container",0),e.YNc(1,Di,2,0,"ng-template",null,25,e.W1O)),2&t){const n=e.MAs(2),s=e.oxw(3).$implicit;e.Q6J("ngIf",s.value.info.smart_status.passed)("ngIfElse",n)}}function Ns(t,i){if(1&t&&(e.YNc(0,$n,2,0,"cd-alert-panel",21),e.ALo(1,"pipeFunction"),e.YNc(2,jo,3,2,"ng-template",null,22,e.W1O)),2&t){const n=e.MAs(3),s=e.oxw(2).$implicit,l=e.oxw(4);e.Q6J("ngIf",e.xi3(1,2,null==s.value.info?null:s.value.info.smart_status,l.isEmpty))("ngIfElse",n)}}function uo(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",36),2&t){const n=e.oxw(4).$implicit;e.Q6J("renderObjects",!0)("data",n.value.info)}}function Ws(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",37),e.SDv(1,38),e.qZA())}function pa(t,i){if(1&t&&(e.YNc(0,uo,1,2,"cd-table-key-value",34),e.ALo(1,"pipeFunction"),e.YNc(2,Ws,2,0,"cd-alert-panel",35),e.ALo(3,"pipeFunction")),2&t){const n=e.oxw(3).$implicit,s=e.oxw(4);e.Q6J("ngIf",!e.xi3(1,2,n.value.info,s.isEmpty)),e.xp6(2),e.Q6J("ngIf",e.xi3(3,5,n.value.info,s.isEmpty))}}function ya(t,i){if(1&t&&e._UZ(0,"cd-table",42),2&t){const n=e.oxw(4).$implicit,s=e.oxw(4);e.Q6J("data",n.value.smart.attributes.table)("columns",s.smartDataColumns)}}function hi(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",43),2&t){const n=e.oxw(4).$implicit;e.Q6J("renderObjects",!0)("data",n.value.smart)}}function Jr(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",43),2&t){const n=e.oxw(4).$implicit;e.Q6J("renderObjects",!0)("data",n.value.smart.nvmeData)}}function pi(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",44),e.SDv(1,45),e.qZA())}function _o(t,i){if(1&t&&(e.YNc(0,ya,1,2,"cd-table",39),e.YNc(1,hi,1,2,"cd-table-key-value",40),e.YNc(2,Jr,1,2,"cd-table-key-value",40),e.YNc(3,pi,2,0,"cd-alert-panel",41)),2&t){const n=e.oxw(3).$implicit;e.Q6J("ngIf",null==n.value.smart?null:n.value.smart.attributes),e.xp6(1),e.Q6J("ngIf",null==n.value.smart?null:n.value.smart.scsi_error_counter_log),e.xp6(1),e.Q6J("ngIf",null==n.value.smart?null:n.value.smart.nvmeData),e.xp6(1),e.Q6J("ngIf",!(null!=n.value.smart&&n.value.smart.attributes||null!=n.value.smart&&n.value.smart.nvmeData||null!=n.value.smart&&n.value.smart.scsi_error_counter_log))}}function go(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"nav",12,30)(3,"li",31)(4,"a",17),e.SDv(5,32),e.qZA(),e.YNc(6,pa,4,8,"ng-template",18),e.qZA(),e.TgZ(7,"li",31)(8,"a",17),e.SDv(9,33),e.qZA(),e.YNc(10,_o,4,4,"ng-template",18),e.qZA()(),e._UZ(11,"div",15),e.BQk()),2&t){const n=e.MAs(2);e.xp6(3),e.Q6J("ngbNavItem",1),e.xp6(4),e.Q6J("ngbNavItem",2),e.xp6(4),e.Q6J("ngbNavOutlet",n)}}function al(t,i){if(1&t&&(e.YNc(0,gn,3,1,"ng-container",0),e.YNc(1,Ns,4,5,"ng-template",null,19,e.W1O),e.YNc(3,go,12,3,"ng-container",4),e.ALo(4,"pipeFunction"),e.ALo(5,"pipeFunction")),2&t){const n=e.MAs(2),s=e.oxw().$implicit,l=e.oxw(4);e.Q6J("ngIf",s.value.error)("ngIfElse",n),e.xp6(3),e.Q6J("ngIf",!e.xi3(4,3,s.value.info,l.isEmpty)||!e.xi3(5,6,s.value.smart,l.isEmpty))}}function Bs(t,i){if(1&t&&(e.ynx(0,16),e.TgZ(1,"a",17),e._uU(2),e.qZA(),e.YNc(3,al,6,9,"ng-template",18),e.BQk()),2&t){const n=i.$implicit;e.xp6(2),e.AsE("",n.value.device," (",n.value.identifier,")")}}function Ja(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"nav",12,13),e.YNc(3,Bs,4,2,"ng-container",14),e.ALo(4,"keyvalue"),e.qZA(),e._UZ(5,"div",15),e.BQk()),2&t){const n=e.MAs(2),s=e.oxw(3);e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,2,s.data)),e.xp6(2),e.Q6J("ngbNavOutlet",n)}}function kl(t,i){if(1&t&&(e.ynx(0),e.YNc(1,wt,2,0,"cd-alert-panel",9),e.ALo(2,"pipeFunction"),e.YNc(3,Ja,6,4,"ng-container",4),e.ALo(4,"pipeFunction"),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",e.xi3(2,2,n.data,n.isEmpty)),e.xp6(2),e.Q6J("ngIf",!e.xi3(4,5,n.data,n.isEmpty))}}function ll(t,i){if(1&t&&(e.ynx(0),e.YNc(1,Ae,2,0,"cd-alert-panel",2),e.YNc(2,qe,2,0,"cd-alert-panel",3),e.YNc(3,kl,5,8,"ng-container",4),e.BQk()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.error),e.xp6(1),e.Q6J("ngIf",n.incompatible),e.xp6(1),e.Q6J("ngIf",!n.error&&!n.incompatible)}}function df(t,i){1&t&&(e.TgZ(0,"cd-loading-panel"),e.SDv(1,46),e.qZA())}let kf=(()=>{class t{constructor(n,s){this.osdService=n,this.hostService=s,this.osdId=null,this.hostname=null,this.loading=!1,this.incompatible=!1,this.error=!1,this.data={},this.isEmpty=Ke().isEmpty}isSmartError(n){return void 0!==Ke().get(n,"error")}isNvmeSmartData(n){return"nvme"===Ke().get(n,"device.protocol","").toLowerCase()}isAtaSmartData(n){return"ata"===Ke().get(n,"device.protocol","").toLowerCase()}isIscsiSmartData(n){return"scsi"===Ke().get(n,"device.protocol","").toLowerCase()}fetchData(n){const s={};Ke().each(n,(l,_)=>{if(this.isSmartError(l)){let g="";g=-22===l.smartctl_error_code?"Smartctl has received an unknown argument (error code " + l.smartctl_error_code + "). You may be using an incompatible version of smartmontools. Version >= 7.0 of smartmontools is required to successfully retrieve data.":"An error with error code " + l.smartctl_error_code + " occurred.",s[_]={error:l.error,smartctl_error_code:l.smartctl_error_code,smartctl_output:l.smartctl_output,userMessage:g,device:l.dev,identifier:l.nvme_vendor}}else 1!==l.json_format_version[0]?this.incompatible=!0:this.isAtaSmartData(l)?s[_]=this.extractAtaData(l):this.isIscsiSmartData(l)?s[_]=this.extractIscsiData(l):this.isNvmeSmartData(l)&&(s[_]=this.extractNvmeData(l))}),this.data=s,this.loading=!1}extractNvmeData(n){return{info:Ke().omitBy(n,(l,_)=>["nvme_smart_health_information_log"].includes(_)),smart:{nvmeData:n.nvme_smart_health_information_log},device:n.device.name,identifier:n.serial_number}}extractIscsiData(n){const s=Ke().omitBy(n,(l,_)=>["scsi_error_counter_log","scsi_grown_defect_list"].includes(_));return{info:s,smart:{scsi_error_counter_log:n.scsi_error_counter_log,scsi_grown_defect_list:n.scsi_grown_defect_list},device:s.device.name,identifier:s.serial_number}}extractAtaData(n){const s=Ke().omitBy(n,(l,_)=>["ata_smart_attributes","ata_smart_selective_self_test_log","ata_smart_data"].includes(_));return{info:s,smart:{attributes:n.ata_smart_attributes,data:n.ata_smart_data},device:s.device.name,identifier:s.serial_number}}updateData(){this.loading=!0,null!==this.osdId?this.osdService.getSmartData(this.osdId).subscribe({next:this.fetchData.bind(this),error:n=>{n.preventDefault(),this.error=n,this.loading=!1}}):null!==this.hostname&&this.hostService.getSmartData(this.hostname).subscribe({next:this.fetchData.bind(this),error:n=>{n.preventDefault(),this.error=n,this.loading=!1}})}ngOnInit(){this.smartDataColumns=[{prop:"id",name:"ID"},{prop:"name",name:"Name"},{prop:"raw.value",name:"Raw"},{prop:"thresh",name:"Threshold"},{prop:"value",name:"Value"},{prop:"when_failed",name:"When Failed"},{prop:"worst",name:"Worst"}],this.scsiSmartDataColumns=[{prop:"correction_algorithm_invocations",name:"Correction Algorithm Invocations"},{prop:"errors_corrected_by_eccdelayed",name:"Errors Corrected by ECC (Delayed)"},{prop:"errors_corrected_by_eccfast",name:"Errors Corrected by ECC (Fast)"},{prop:"errors_corrected_by_rereads_rewrites",name:"Errors Corrected by Rereads/Rewrites"},{prop:"gigabytes_processed",name:"Gigabyes Processed"},{prop:"total_errors_corrected",name:"Total Errors Corrected"},{prop:"total_uncorrected_errors",name:"Total Errors Uncorrected"}]}ngOnChanges(n){this.data={},n.osdId?this.osdId=n.osdId.currentValue:n.hostname&&(this.hostname=n.hostname.currentValue),this.updateData()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(md),e.Y36(Dd.x))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-smart-list"]],viewQuery:function(n,s){if(1&n&&e.Gf(Z,5),2&n){let l;e.iGM(l=e.CRH())&&(s.nav=l.first)}},inputs:{osdId:"osdId",hostname:"hostname"},features:[e.TTD],decls:3,vars:2,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se;return i="Failed to retrieve SMART data.",n="The data received has the JSON format version 2.x and is currently incompatible with the dashboard.",s="No SMART data available.",l="SMART overall-health self-assessment test result",_="unknown",g="SMART overall-health self-assessment test result",M="passed",x="SMART overall-health self-assessment test result",Y="failed",K="Device Information",le="SMART",fe="No device information available for this device.",ge="No SMART data available for this device.",Se="SMART data is loading.",[[4,"ngIf","ngIfElse"],["isLoading",""],["type","error",4,"ngIf"],["type","warning",4,"ngIf"],[4,"ngIf"],["type","error"],i,["type","warning"],n,["type","info",4,"ngIf"],["type","info"],s,["ngbNav","",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","",4,"ngFor","ngForOf"],[3,"ngbNavOutlet"],["ngbNavItem",""],["ngbNavLink",""],["ngbNavContent",""],["noError",""],["id","alert-error","type","warning"],["id","alert-self-test-unknown","size","slim","type","warning","title",l,4,"ngIf","ngIfElse"],["hasSmartStatus",""],["id","alert-self-test-unknown","size","slim","type","warning","title",l],_,["selfTestFailed",""],["id","alert-self-test-passed","size","slim","type","info","title",g],M,["id","alert-self-test-failed","size","slim","type","warning","title",x],Y,["innerNav","ngbNav"],[3,"ngbNavItem"],K,le,[3,"renderObjects","data",4,"ngIf"],["id","alert-device-info-unavailable","type","info",4,"ngIf"],[3,"renderObjects","data"],["id","alert-device-info-unavailable","type","info"],fe,["updateSelectionOnRefresh","never",3,"data","columns",4,"ngIf"],["updateSelectionOnRefresh","never",3,"renderObjects","data",4,"ngIf"],["id","alert-device-smart-data-unavailable","type","info",4,"ngIf"],["updateSelectionOnRefresh","never",3,"data","columns"],["updateSelectionOnRefresh","never",3,"renderObjects","data"],["id","alert-device-smart-data-unavailable","type","info"],ge,Se]},template:function(n,s){if(1&n&&(e.YNc(0,ll,4,3,"ng-container",0),e.YNc(1,df,2,0,"ng-template",null,1,e.W1O)),2&n){const l=e.MAs(2);e.Q6J("ngIf",!s.loading)("ngIfElse",l)}},dependencies:[f.sg,f.O5,Ol.a,Pc.b,wp.b,Hr.G,Be.uN,Be.Pz,Be.nv,Be.Is,Be.Vx,Be.tO,Be.Dy,f.Nd,R.i]}),t})();var Kd=o(30490);function Mh(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",2),e.SDv(1,3),e.qZA())}function X_(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",2),e.tHW(1,4),e._UZ(2,"cd-doc",5),e.N_p(),e.qZA())}let qp=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-orchestrator-doc-panel"]],inputs:{missingFeatures:"missingFeatures"},decls:3,vars:2,consts:function(){let i,n;return i="The feature is not supported in the current Orchestrator.",n="Orchestrator is not available. Please consult the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " on how to configure and enable the functionality.",[["type","info",4,"ngIf","ngIfElse"],["elseBlock",""],["type","info"],i,n,["section","orch"]]},template:function(n,s){if(1&n&&(e.YNc(0,Mh,2,0,"cd-alert-panel",0),e.YNc(1,X_,3,0,"ng-template",null,1,e.W1O)),2&n){const l=e.MAs(2);e.Q6J("ngIf",s.missingFeatures)("ngIfElse",l)}},dependencies:[f.O5,Hr.G,Kd.K]}),t})(),Qh=(()=>{class t{constructor(n,s,l,_,g,M){this.authStorageService=n,this.dimlessBinary=s,this.modalService=l,this.notificationService=_,this.orchService=g,this.hostService=M,this.devices=[],this.showAvailDeviceOnly=!1,this.hiddenColumns=[],this.hostname="",this.diskType="",this.filterColumns=["hostname","human_readable_type","available","sys_api.vendor","sys_api.model","sys_api.size"],this.selectionType=void 0,this.filterChange=new e.vpe,this.fetchInventory=new e.vpe,this.icons=ei.P,this.columns=[],this.selection=new Kn.r,this.orchStatus=void 0,this.actionOrchFeatures={identify:[ad.DEVICE_BLINK_LIGHT]}}ngOnInit(){this.permission=this.authStorageService.getPermissions().osd,this.tableActions=[{permission:"update",icon:ei.P.show,click:()=>this.identifyDevice(),name:"Identify",disable:s=>this.getDisable("identify",s),canBePrimary:s=>!s.hasSingleSelection,visible:()=>Ke().isString(this.selectionType)}];const n=[{name:"Hostname",prop:"hostname",flexGrow:1},{name:"Device path",prop:"path",flexGrow:1},{name:"Type",prop:"human_readable_type",flexGrow:1,cellTransformation:ai.e.badge,customTemplateConfig:{map:{hdd:{value:"HDD",class:"badge-hdd"},ssd:{value:"SSD",class:"badge-ssd"}}}},{name:"Available",prop:"available",flexGrow:1,cellClass:"text-center",cellTransformation:ai.e.checkIcon},{name:"Vendor",prop:"sys_api.vendor",flexGrow:1},{name:"Model",prop:"sys_api.model",flexGrow:1},{name:"Size",prop:"sys_api.size",flexGrow:1,pipe:this.dimlessBinary},{name:"OSDs",prop:"osd_ids",flexGrow:1,cellTransformation:ai.e.badge,customTemplateConfig:{class:"badge-dark",prefix:"osd."}}];this.columns=n.filter(s=>!this.hiddenColumns.includes(s.prop)),Ke().forEach(this.filterColumns,s=>{const l=Ke().find(this.columns,{prop:s});l&&(l.filterable=!0),"human_readable_type"===l?.prop&&"ssd"===this.diskType&&(l.filterInitValue=this.diskType),"hostname"===l?.prop&&this.hostname&&(l.filterInitValue=this.hostname)}),this.fetchInventory.observers.length>0&&(this.fetchInventorySub=this.table.fetchData.subscribe(()=>{this.fetchInventory.emit()}))}getDevices(){this.showAvailDeviceOnly?this.hostService.inventoryDeviceList().subscribe(n=>{this.devices=Ke().filter(n,"available"),this.devices=[...this.devices]},()=>{this.devices=[]}):this.devices=[...this.devices]}ngOnDestroy(){this.fetchInventorySub&&this.fetchInventorySub.unsubscribe()}onColumnFiltersChanged(n){this.filterChange.emit(n)}getDisable(n,s){return!s.hasSingleSelection||this.orchService.getTableActionDisableDesc(this.orchStatus,this.actionOrchFeatures[n])}updateSelection(n){this.selection=n}identifyDevice(){const n=this.selection.first(),s=n.hostname,l=n.path||n.device_id;this.modalService.show(lc.X,{titleText:"Identify device " + l + "",message:"Please enter the duration how long to blink the LED.",fields:[{type:"select",name:"duration",value:300,required:!0,typeConfig:{options:[{text:"1 minute",value:60},{text:"2 minutes",value:120},{text:"5 minutes",value:300},{text:"10 minutes",value:600},{text:"15 minutes",value:900}]}}],submitButtonText:"Execute",onSubmit:_=>{this.hostService.identifyDevice(s,l,_.duration).subscribe(()=>{this.notificationService.show(ua.k.success,"Identifying '" + l + "' started on host '" + s + "'")})}})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(xa.$),e.Y36(tc.Z),e.Y36(Le.g),e.Y36(sd),e.Y36(Dd.x))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-inventory-devices"]],viewQuery:function(n,s){if(1&n&&e.Gf(Ol.a,7),2&n){let l;e.iGM(l=e.CRH())&&(s.table=l.first)}},inputs:{devices:"devices",showAvailDeviceOnly:"showAvailDeviceOnly",hiddenColumns:"hiddenColumns",hostname:"hostname",diskType:"diskType",filterColumns:"filterColumns",selectionType:"selectionType",orchStatus:"orchStatus"},outputs:{filterChange:"filterChange",fetchInventory:"fetchInventory"},decls:2,vars:8,consts:[["identifier","uid","columnMode","flex",3,"data","columns","forceIdentifier","selectionType","searchField","fetchData","updateSelection","columnFiltersChanged"],[1,"table-actions",3,"permission","selection","tableActions"]],template:function(n,s){1&n&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(){return s.getDevices()})("updateSelection",function(_){return s.updateSelection(_)})("columnFiltersChanged",function(_){return s.onColumnFiltersChanged(_)}),e._UZ(1,"cd-table-actions",1),e.qZA()),2&n&&(e.Q6J("data",s.devices)("columns",s.columns)("forceIdentifier",!0)("selectionType",s.selectionType)("searchField",!1),e.xp6(1),e.Q6J("permission",s.permission)("selection",s.selection)("tableActions",s.tableActions))},dependencies:[Ol.a,il.K],styles:[".filter[_ngcontent-%COMP%]{padding-right:8px}.fa-stack[_ngcontent-%COMP%]{font-size:.79rem}.fa-stack[_ngcontent-%COMP%] .fa-stack-1x[_ngcontent-%COMP%]{margin-left:8px;margin-top:5px}"]}),t})();function Xm(t,i){1&t&&e._UZ(0,"cd-orchestrator-doc-panel")}const xm=function(){return[]},wm=function(){return["hostname"]};function qm(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"legend"),e.SDv(2,1),e.qZA(),e.TgZ(3,"div",2)(4,"div",3)(5,"cd-inventory-devices",4),e.NdJ("fetchInventory",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.refresh())}),e.qZA()()(),e.BQk()}if(2&t){const n=e.oxw();e.xp6(5),e.Q6J("devices",n.devices)("hiddenColumns",void 0===n.hostname?e.DdM(3,xm):e.DdM(4,wm))("orchStatus",n.orchStatus)}}let Nm=(()=>{class t{constructor(n,s,l){this.orchService=n,this.hostService=s,this.ngZone=l,this.reloadInterval=5e3,this.firstRefresh=!0,this.icons=ei.P,this.showDocPanel=!1,this.devices=[]}ngOnInit(){this.orchService.status().subscribe(n=>{this.orchStatus=n,this.showDocPanel=!n.available,n.available&&this.ngZone.runOutsideAngular(()=>{this.reloadSubscriber=(0,qo.H)(this.reloadInterval,this.reloadInterval).subscribe(()=>{this.ngZone.run(()=>{this.getInventory(!1)})})})})}ngOnDestroy(){this.reloadSubscriber?.unsubscribe()}ngOnChanges(){this.orchStatus?.available&&(this.devices=[],this.getInventory(!1))}getInventory(n){""!==this.hostname&&this.hostService.inventoryDeviceList(this.hostname,n).subscribe(s=>{this.devices=s},()=>{this.devices=[]})}refresh(){this.getInventory(!this.firstRefresh),this.firstRefresh=!1}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(sd),e.Y36(Dd.x),e.Y36(e.R0b))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-inventory"]],inputs:{hostname:"hostname"},features:[e.TTD],decls:2,vars:2,consts:function(){let i;return i="Physical Disks",[[4,"ngIf"],i,[1,"row"],[1,"col-md-12"],["selectionType","single",3,"devices","hiddenColumns","orchStatus","fetchInventory"]]},template:function(n,s){1&n&&(e.YNc(0,Xm,1,0,"cd-orchestrator-doc-panel",0),e.YNc(1,qm,6,5,"ng-container",0)),2&n&&(e.Q6J("ngIf",s.showDocPanel),e.xp6(1),e.Q6J("ngIf",null==s.orchStatus?null:s.orchStatus.available))},dependencies:[f.O5,qp,Qh]}),t})();var e_=o(15257);let td=class{constructor(i){this.http=i,this.url="api/daemon"}action(i,n){return this.http.put(`${this.url}/${i}`,{action:n,container_image:null},{headers:{Accept:"application/vnd.ceph.api.v0.1+json"},observe:"response"})}list(i){return this.http.get(this.url,{params:{daemon_types:i}})}};td.\u0275fac=function(i){return new(i||td)(e.LFG(h.eN))},td.\u0275prov=e.Yz7({token:td,factory:td.\u0275fac,providedIn:"root"}),td=(0,Gt.gn)([xn.o,(0,Gt.w6)("design:paramtypes",[h.eN])],td);var $p=o(90068),Kh=o(76189);class Og{constructor(i){this.observable=i.pipe((0,ss.U)(n=>(this.count=Number(n.headers?.get("X-Total-Count")),n.body)))}}let eg=(()=>{class t extends Kh.S{constructor(n){super(),this.http=n,this.url="api/service"}list(n,s){const l={headers:{Accept:this.getVersionHeaderValue(2,0)},params:n,observe:"response"};return s&&(l.params=l.params.append("service_name",s)),new Og(this.http.get(this.url,l))}getDaemons(n){return this.http.get(`${this.url}/${n}/daemons`)}create(n){return this.http.post(this.url,{service_name:n.service_id?`${n.service_type}.${n.service_id}`:n.service_type,service_spec:n},{observe:"response"})}update(n){const s=n.service_id?`${n.service_type}.${n.service_id}`:n.service_type;return this.http.put(`${this.url}/${s}`,{service_name:s,service_spec:n},{observe:"response"})}delete(n){return this.http.delete(`${this.url}/${n}`,{observe:"response"})}getKnownTypes(){return this.http.get(`${this.url}/known_types`)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const s1=["statusTpl"],Ag=["listTpl"],Dg=["cpuTpl"],a1=["daemonsTable"];function nv(t,i){1&t&&e._UZ(0,"cd-orchestrator-doc-panel")}function rv(t,i){1&t&&e.GkF(0)}function iv(t,i){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,rv,1,0,"ng-container",7),e.qZA()),2&t){e.oxw();const n=e.MAs(9);e.xp6(1),e.Q6J("ngTemplateOutlet",n)}}function l1(t,i){1&t&&e.GkF(0)}function t_(t,i){if(1&t&&e.YNc(0,l1,1,0,"ng-container",7),2&t){e.oxw(2);const n=e.MAs(9);e.Q6J("ngTemplateOutlet",n)}}function ov(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",18,19),e.NdJ("fetchData",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.getServices(l))}),e.qZA()}if(2&t){const n=e.oxw(3);e.Q6J("data",n.services)("columns",n.serviceColumns)}}function Rg(t,i){if(1&t&&e.YNc(0,ov,2,2,"cd-table",17),2&t){const n=e.oxw(2);e.Q6J("ngIf",n.hasOrchestrator)}}function sv(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"nav",8,9),e.ynx(3,10),e.TgZ(4,"a",11),e.SDv(5,12),e.qZA(),e.YNc(6,t_,1,1,"ng-template",13),e.BQk(),e.ynx(7,14),e.TgZ(8,"a",11),e.SDv(9,15),e.qZA(),e.YNc(10,Rg,1,1,"ng-template",13),e.BQk(),e.qZA(),e._UZ(11,"div",16),e.BQk()),2&t){const n=e.MAs(2);e.xp6(11),e.Q6J("ngbNavOutlet",n)}}function av(t,i){if(1&t&&(e.TgZ(0,"span",20),e.ALo(1,"pipeFunction"),e._uU(2),e.qZA()),2&t){const n=i.row,s=e.oxw();e.Q6J("ngClass",e.xi3(1,2,n,s.getStatusClass)),e.xp6(2),e.hij(" ",n.status_desc," ")}}const Xh=function(t){return[t]};function lv(t,i){if(1&t&&(e.TgZ(0,"span"),e._UZ(1,"i",27),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(1,Xh,n.icons.infoCircle))}}function Pg(t,i){if(1&t&&(e.TgZ(0,"span"),e._UZ(1,"i",27),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(1,Xh,n.icons.warning))}}function c1(t,i){if(1&t&&(e.TgZ(0,"li",25)(1,"b"),e._uU(2),e.ALo(3,"relativeDate"),e.qZA(),e.TgZ(4,"span",26),e._uU(5),e.qZA(),e._UZ(6,"br"),e.YNc(7,lv,2,3,"span",0),e.YNc(8,Pg,2,3,"span",0),e._uU(9),e.qZA()),2&t){const n=i.$implicit;e.xp6(2),e.hij("",e.lcZ(3,5,n.created)," - "),e.xp6(3),e.Oqu(n.subject),e.xp6(2),e.Q6J("ngIf","INFO"===n.level),e.xp6(1),e.Q6J("ngIf","ERROR"===n.level),e.xp6(1),e.hij(" ",n.message," ")}}function xg(t,i){if(1&t&&(e.TgZ(0,"ul",23),e.YNc(1,c1,10,7,"li",24),e.qZA()),2&t){const n=e.oxw().value,s=e.oxw();e.xp6(1),e.Q6J("ngForOf",n)("ngForTrackBy",s.trackByFn)}}function u1(t,i){1&t&&(e.TgZ(0,"div",25)(1,"span"),e._uU(2,"No data available"),e.qZA()())}function $l(t,i){if(1&t&&e.YNc(0,u1,3,0,"div",28),2&t){const n=e.oxw().value;e.Q6J("ngIf",0===(null==n?null:n.length))}}function wg(t,i){if(1&t&&(e.YNc(0,xg,2,2,"ul",21),e.YNc(1,$l,1,1,"ng-template",null,22,e.W1O)),2&t){const n=i.value,s=e.MAs(2);e.Q6J("ngIf",null==n?null:n.length)("ngIfElse",s)}}function Ng(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",30,31),e.NdJ("fetchData",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.getDaemons(l))})("updateSelection",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.updateSelection(l))}),e._UZ(2,"cd-table-actions",32),e.qZA()}if(2&t){const n=e.oxw(2);e.Q6J("data",n.daemons)("columns",n.columns),e.xp6(2),e.Q6J("selection",n.selection)("permission",n.permissions.hosts)("tableActions",n.tableActions)}}function d1(t,i){if(1&t&&e.YNc(0,Ng,3,5,"cd-table",29),2&t){const n=e.oxw();e.Q6J("ngIf",n.hasOrchestrator)}}function cv(t,i){if(1&t&&e._UZ(0,"cd-usage-bar",33),2&t){const n=i.row,s=e.oxw();e.Q6J("total",s.total)("calculatePerc",!1)("used",n.cpu_percentage)("isBinary",!1)}}let f1=(()=>{class t{constructor(n,s,l,_,g,M,x,Y,K,le){this.hostService=n,this.cephServiceService=s,this.orchService=l,this.relativeDatePipe=_,this.dimlessBinary=g,this.actionLabels=M,this.authStorageService=x,this.daemonService=Y,this.notificationService=K,this.cdRef=le,this.hiddenColumns=[],this.total=100,this.warningThreshold=.8,this.errorThreshold=.9,this.icons=ei.P,this.daemons=[],this.services=[],this.columns=[],this.serviceColumns=[],this.selection=new Kn.r,this.hasOrchestrator=!1,this.showDocPanel=!1}ngOnInit(){this.permissions=this.authStorageService.getPermissions(),this.tableActions=[{permission:"update",icon:ei.P.start,click:()=>this.daemonAction("start"),name:this.actionLabels.START,disable:()=>this.actionDisabled("start")},{permission:"update",icon:ei.P.stop,click:()=>this.daemonAction("stop"),name:this.actionLabels.STOP,disable:()=>this.actionDisabled("stop")},{permission:"update",icon:ei.P.restart,click:()=>this.daemonAction("restart"),name:this.actionLabels.RESTART,disable:()=>this.actionDisabled("restart")},{permission:"update",icon:ei.P.deploy,click:()=>this.daemonAction("redeploy"),name:this.actionLabels.REDEPLOY,disable:()=>this.actionDisabled("redeploy")}],this.columns=[{name:"Hostname",prop:"hostname",flexGrow:2,filterable:!0},{name:"Daemon name",prop:"daemon_name",flexGrow:1,filterable:!0},{name:"Version",prop:"version",flexGrow:1,filterable:!0},{name:"Status",prop:"status_desc",flexGrow:1,filterable:!0,cellTemplate:this.statusTpl},{name:"Last Refreshed",prop:"last_refresh",pipe:this.relativeDatePipe,flexGrow:1},{name:"CPU Usage",prop:"cpu_percentage",flexGrow:1,cellTemplate:this.cpuTpl},{name:"Memory Usage",prop:"memory_usage",flexGrow:1,pipe:this.dimlessBinary,cellClass:"text-right"},{name:"Daemon Events",prop:"events",flexGrow:2,cellTemplate:this.listTpl}],this.serviceColumns=[{name:"Service Name",prop:"service_name",flexGrow:2,filterable:!0},{name:"Service Type",prop:"service_type",flexGrow:1,filterable:!0},{name:"Service Events",prop:"events",flexGrow:5,cellTemplate:this.listTpl}],this.orchService.status().subscribe(n=>{this.hasOrchestrator=n.available,this.showDocPanel=!n.available}),this.columns=this.columns.filter(n=>!this.hiddenColumns.includes(n.prop)),setTimeout(()=>{this.cdRef.detectChanges()},1e3)}ngOnChanges(){Ke().isUndefined(this.daemonsTable)||this.daemonsTable.reloadData()}ngAfterViewInit(){this.daemonsTableTplsSub=this.daemonsTableTpls.changes.subscribe(n=>{this.daemonsTable=n.first})}ngOnDestroy(){this.daemonsTableTplsSub&&this.daemonsTableTplsSub.unsubscribe(),this.serviceSub&&this.serviceSub.unsubscribe()}getStatusClass(n){return Ke().get({"-1":"badge-danger",0:"badge-warning",1:"badge-success"},n.status,"badge-dark")}getDaemons(n){let s;if(this.hostname)s=this.hostService.getDaemons(this.hostname);else{if(!this.serviceName)return void(this.daemons=[]);s=this.cephServiceService.getDaemons(this.serviceName)}s.subscribe(l=>{this.daemons=l,this.sortDaemonEvents()},()=>{this.daemons=[],n.error()})}sortDaemonEvents(){this.daemons.forEach(n=>{n.events?.sort((s,l)=>new Date(l.created).getTime()-new Date(s.created).getTime())})}getServices(n){this.serviceSub=this.cephServiceService.list(new h.LE({fromObject:{limit:-1,offset:0}}),this.serviceName).observable.subscribe(s=>{this.services=s},()=>{this.services=[],n.error()})}trackByFn(n,s){return s.created}updateSelection(n){this.selection=n}daemonAction(n){this.daemonService.action(this.selection.first()?.daemon_name,n).pipe((0,e_.q)(1)).subscribe({next:s=>{this.notificationService.show(ua.k.success,`Daemon ${n} scheduled`,s.body.toString())},error:s=>{this.notificationService.show(ua.k.error,"Daemon action failed",s.body.toString())}})}actionDisabled(n){if(this.selection?.hasSelection){const s=this.selection.selected[0];if("mon"===s.daemon_type||"mgr"===s.daemon_type)return!0;switch(n){case"start":if("running"===s.status_desc)return!0;break;case"stop":if("stopped"===s.status_desc)return!0}return!1}return!0}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Dd.x),e.Y36(eg),e.Y36(sd),e.Y36($p.h),e.Y36(xa.$),e.Y36(Dr.p4),e.Y36(fa.j),e.Y36(td),e.Y36(Le.g),e.Y36(e.sBO))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-service-daemon-list"]],viewQuery:function(n,s){if(1&n&&(e.Gf(s1,7),e.Gf(Ag,7),e.Gf(Dg,7),e.Gf(a1,5)),2&n){let l;e.iGM(l=e.CRH())&&(s.statusTpl=l.first),e.iGM(l=e.CRH())&&(s.listTpl=l.first),e.iGM(l=e.CRH())&&(s.cpuTpl=l.first),e.iGM(l=e.CRH())&&(s.daemonsTableTpls=l)}},inputs:{serviceName:"serviceName",hostname:"hostname",hiddenColumns:"hiddenColumns",flag:"flag"},features:[e.TTD],decls:12,vars:3,consts:function(){let i,n;return i="Daemons",n="Service Events",[[4,"ngIf"],[4,"ngIf","ngIfElse"],["serviceDetailsTpl",""],["statusTpl",""],["listTpl",""],["serviceDaemonDetailsTpl",""],["cpuTpl",""],[4,"ngTemplateOutlet"],["ngbNav","","cdStatefulTab","service-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","service_events"],n,[3,"ngbNavOutlet"],["columnMode","flex",3,"data","columns","fetchData",4,"ngIf"],["columnMode","flex",3,"data","columns","fetchData"],["serviceTable",""],[1,"badge",3,"ngClass"],["class","list-group list-group-flush",4,"ngIf","ngIfElse"],["noEventsAvailable",""],[1,"list-group","list-group-flush"],["class","list-group-item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"list-group-item"],[1,"badge","badge-info"],["aria-hidden","true",3,"ngClass"],["class","list-group-item",4,"ngIf"],["selectionType","single","columnMode","flex","identifier","daemon_name",3,"data","columns","fetchData","updateSelection",4,"ngIf"],["selectionType","single","columnMode","flex","identifier","daemon_name",3,"data","columns","fetchData","updateSelection"],["daemonsTable",""],["id","service-daemon-list-actions",1,"table-actions",3,"selection","permission","tableActions"],[3,"total","calculatePerc","used","isBinary"]]},template:function(n,s){if(1&n&&(e.YNc(0,nv,1,0,"cd-orchestrator-doc-panel",0),e.YNc(1,iv,2,1,"div",1),e.YNc(2,sv,12,1,"ng-template",null,2,e.W1O),e.YNc(4,av,3,5,"ng-template",null,3,e.W1O),e.YNc(6,wg,3,2,"ng-template",null,4,e.W1O),e.YNc(8,d1,1,1,"ng-template",null,5,e.W1O),e.YNc(10,cv,1,4,"ng-template",null,6,e.W1O)),2&n){const l=e.MAs(3);e.Q6J("ngIf",s.showDocPanel),e.xp6(1),e.Q6J("ngIf","hostDetails"===s.flag)("ngIfElse",l)}},dependencies:[f.mk,f.sg,f.O5,f.tP,Be.uN,Be.Pz,Be.nv,Be.Vx,Be.tO,Be.Dy,En.O,qp,Ol.a,il.K,Gc.m,$p.h,R.i],styles:[".fa-info-circle[_ngcontent-%COMP%]{color:#25828e}.fa-exclamation-triangle[_ngcontent-%COMP%]{color:#dc3545}.list-group-item[_ngcontent-%COMP%]{background-color:transparent;border-width:0}"]}),t})();function Im(t,i){if(1&t&&e._UZ(0,"cd-device-list",14),2&t){const n=e.oxw(2);e.Q6J("hostname",n.selection.hostname)}}function tg(t,i){if(1&t&&e._UZ(0,"cd-inventory",14),2&t){const n=e.oxw(3);e.Q6J("hostname",n.selectedHostname)}}function p1(t,i){1&t&&(e.ynx(0,15),e.TgZ(1,"a",5),e.SDv(2,16),e.qZA(),e.YNc(3,tg,1,1,"ng-template",7),e.BQk())}const uv=function(){return["hostname"]};function Ig(t,i){if(1&t&&e._UZ(0,"cd-service-daemon-list",19),2&t){const n=e.oxw(3);e.Q6J("hostname",n.selectedHostname)("hiddenColumns",e.DdM(2,uv))}}function dv(t,i){1&t&&(e.ynx(0,17),e.TgZ(1,"a",5),e.SDv(2,18),e.qZA(),e.YNc(3,Ig,1,3,"ng-template",7),e.BQk())}function _1(t,i){if(1&t&&e._UZ(0,"cd-grafana",22),2&t){const n=e.oxw(3);e.Q6J("grafanaPath","host-details?var-ceph_hosts="+n.selectedHostname)("type","metrics")}}function h1(t,i){1&t&&(e.ynx(0,20),e.TgZ(1,"a",5),e.SDv(2,21),e.qZA(),e.YNc(3,_1,1,2,"ng-template",7),e.BQk())}function qh(t,i){if(1&t&&e._UZ(0,"cd-smart-list",14),2&t){const n=e.oxw(3);e.Q6J("hostname",n.selectedHostname)}}function fv(t,i){if(1&t&&e.YNc(0,qh,1,1,"cd-smart-list",23),2&t){const n=e.oxw(2),s=e.MAs(2);e.Q6J("ngIf",n.selectedHostname)("ngIfElse",s)}}function Fg(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"nav",2,3),e.ynx(3,4),e.TgZ(4,"a",5),e.SDv(5,6),e.qZA(),e.YNc(6,Im,1,1,"ng-template",7),e.BQk(),e.YNc(7,p1,4,0,"ng-container",8),e.YNc(8,dv,4,0,"ng-container",9),e.YNc(9,h1,4,0,"ng-container",10),e.ynx(10,11),e.TgZ(11,"a",5),e.SDv(12,12),e.qZA(),e.YNc(13,fv,1,2,"ng-template",7),e.BQk(),e.qZA(),e._UZ(14,"div",13),e.BQk()),2&t){const n=e.MAs(2),s=e.oxw();e.xp6(7),e.Q6J("ngIf",s.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",s.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",s.permissions.grafana.read),e.xp6(5),e.Q6J("ngbNavOutlet",n)}}function Lg(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",24),e.SDv(1,25),e.qZA())}let pv=(()=>{class t{get selectedHostname(){return void 0!==this.selection?this.selection.hostname:null}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-host-details"]],inputs:{permissions:"permissions",selection:"selection"},decls:3,vars:1,consts:function(){let i,n,s,l,_,g,M;return i="Devices",n="Device health",s="Physical Disks",l="Daemons",_="Performance Details",g="Host details",M="No hostname found.",[[4,"ngIf"],["noHostname",""],["ngbNav","","cdStatefulTab","host-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","devices"],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","inventory",4,"ngIf"],["ngbNavItem","daemons",4,"ngIf"],["ngbNavItem","performance-details",4,"ngIf"],["ngbNavItem","device-health"],n,[3,"ngbNavOutlet"],[3,"hostname"],["ngbNavItem","inventory"],s,["ngbNavItem","daemons"],l,["flag","hostDetails",3,"hostname","hiddenColumns"],["ngbNavItem","performance-details"],_,["title",g,"uid","rtOg0AiWz","grafanaStyle","four",3,"grafanaPath","type"],[3,"hostname",4,"ngIf","ngIfElse"],["type","error"],M]},template:function(n,s){1&n&&(e.YNc(0,Fg,15,4,"ng-container",0),e.YNc(1,Lg,2,0,"ng-template",null,1,e.W1O)),2&n&&e.Q6J("ngIf",s.selection)},dependencies:[f.O5,Be.uN,Be.Pz,Be.nv,Be.Vx,Be.tO,Be.Dy,xl.F,Hr.G,Gc.m,v,kf,Nm,f1]}),t})();const g0=["servicesTpl"],v0=["maintenanceConfirmTpl"],y0=["orchTmpl"],_v=["flashTmpl"],m1=["hostNameTpl"];function O_(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",14,15),e.NdJ("fetchData",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.getHosts(l))})("setExpandedRow",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.setExpandedRow(l))})("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.updateSelection(l))}),e.TgZ(2,"div",16),e._UZ(3,"cd-table-actions",17),e.qZA(),e._UZ(4,"cd-host-details",18),e.qZA()}if(2&t){const n=e.oxw();e.Q6J("data",n.hosts)("columns",n.columns)("searchableObjects",!0)("hasDetails",n.hasTableDetails)("serverSide",!0)("count",n.count)("maxLimit",25)("toolHeader",!n.hideToolHeader),e.xp6(3),e.Q6J("permission",n.permissions.hosts)("selection",n.selection)("tableActions",n.tableActions),e.xp6(1),e.Q6J("permissions",n.permissions)("selection",n.expandedRow)}}function hv(t,i){1&t&&e.GkF(0,2)}function ym(t,i){1&t&&e._UZ(0,"cd-grafana",20),2&t&&e.Q6J("grafanaPath","host-overview?")("type","metrics")}function Hp(t,i){1&t&&(e.ynx(0,2),e.TgZ(1,"a",3),e.SDv(2,19),e.qZA(),e.YNc(3,ym,1,2,"ng-template",5),e.BQk())}function Gl(t,i){if(1&t&&(e.TgZ(0,"span"),e._UZ(1,"cd-label",22),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.Q6J("key",n.type)("value",n.count)}}function ng(t,i){1&t&&e.YNc(0,Gl,2,2,"span",21),2&t&&e.Q6J("ngForOf",i.value)}function Kf(t,i){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().row;e.xp6(1),e.hij(" (",n.addr,") ")}}function cd(t,i){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA(),e._UZ(2,"br"),e.YNc(3,Kf,2,1,"span",24)),2&t){const n=i.row;e.Q6J("ngClass",n),e.xp6(1),e.hij(" ",n.hostname," "),e.xp6(2),e.Q6J("ngIf",n.addr)}}function mv(t,i){if(1&t&&(e.TgZ(0,"ul")(1,"li"),e.SDv(2,27),e.qZA()()),2&t){const n=e.oxw().$implicit;e.xp6(2),e.pQV(n),e.QtT(2)}}function Oh(t,i){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,mv,3,1,"ul",26),e.qZA()),2&t){const n=i.last,s=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!n||"1"===s.errorMessage.length)}}function gv(t,i){1&t&&(e.ynx(0),e.SDv(1,28),e.BQk())}function vv(t,i){if(1&t&&(e.YNc(0,Oh,2,1,"div",21),e.YNc(1,gv,2,0,"ng-container",26)),2&t){const n=e.oxw();e.Q6J("ngForOf",n.errorMessage),e.xp6(1),e.Q6J("ngIf",n.showSubmit)}}function yv(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function g1(t,i){1&t&&(e.TgZ(0,"span",31),e.SDv(1,32),e.qZA())}let em=(()=>{class t extends Oi.o{constructor(n,s,l,_,g,M,x,Y,K,le){super(),this.authStorageService=n,this.dimlessBinary=s,this.emptyPipe=l,this.hostService=_,this.actionLabels=g,this.modalService=M,this.taskWrapper=x,this.router=Y,this.notificationService=K,this.orchService=le,this.sub=new od.w,this.hiddenColumns=[],this.hideMaintenance=!1,this.hasTableDetails=!0,this.hideToolHeader=!1,this.showGeneralActionsOnly=!1,this.columns=[],this.hosts=[],this.isLoadingHosts=!1,this.cdParams={fromLink:"/hosts"},this.selection=new Kn.r,this.isExecuting=!1,this.icons=ei.P,this.tableContext=null,this.count=5,this.messages={nonOrchHost:"The feature is disabled because the selected host is not managed by Orchestrator."},this.actionOrchFeatures={add:[ad.HOST_ADD],edit:[ad.HOST_LABEL_ADD,ad.HOST_LABEL_REMOVE],remove:[ad.HOST_REMOVE],maintenance:[ad.HOST_MAINTENANCE_ENTER,ad.HOST_MAINTENANCE_EXIT],drain:[ad.HOST_DRAIN]},this.permissions=this.authStorageService.getPermissions(),this.tableActions=[{name:this.actionLabels.ADD,permission:"create",icon:ei.P.add,click:()=>this.router.url.includes("/hosts")?this.router.navigate(["hosts",{outlets:{modal:[Dr.MQ.ADD]}}]):this.bsModalRef=this.modalService.show(Q_,{hideMaintenance:this.hideMaintenance}),disable:fe=>this.getDisable("add",fe)},{name:this.actionLabels.EDIT,permission:"update",icon:ei.P.edit,click:()=>this.editAction(),disable:fe=>this.getDisable("edit",fe)},{name:this.actionLabels.START_DRAIN,permission:"update",icon:ei.P.exit,click:()=>this.hostDrain(),disable:fe=>this.getDisable("drain",fe)||!this.enableDrainBtn,visible:()=>!this.showGeneralActionsOnly&&this.enableDrainBtn},{name:this.actionLabels.STOP_DRAIN,permission:"update",icon:ei.P.exit,click:()=>this.hostDrain(!0),disable:fe=>this.getDisable("drain",fe)||this.enableDrainBtn,visible:()=>!this.showGeneralActionsOnly&&!this.enableDrainBtn},{name:this.actionLabels.REMOVE,permission:"delete",icon:ei.P.destroy,click:()=>this.deleteAction(),disable:fe=>this.getDisable("remove",fe)},{name:this.actionLabels.ENTER_MAINTENANCE,permission:"update",icon:ei.P.enter,click:()=>this.hostMaintenance(),disable:fe=>this.getDisable("maintenance",fe)||this.isExecuting||this.enableMaintenanceBtn,visible:()=>!this.showGeneralActionsOnly&&!this.enableMaintenanceBtn},{name:this.actionLabels.EXIT_MAINTENANCE,permission:"update",icon:ei.P.exit,click:()=>this.hostMaintenance(),disable:fe=>this.getDisable("maintenance",fe)||this.isExecuting||!this.enableMaintenanceBtn,visible:()=>!this.showGeneralActionsOnly&&this.enableMaintenanceBtn}]}ngOnInit(){this.columns=[{name:"Hostname",prop:"hostname",flexGrow:1,cellTemplate:this.hostNameTpl},{name:"Service Instances",prop:"service_instances",flexGrow:1.5,cellTemplate:this.servicesTpl},{name:"Labels",prop:"labels",flexGrow:1,cellTransformation:ai.e.badge,customTemplateConfig:{class:"badge-dark"}},{name:"Status",prop:"status",flexGrow:.8,cellTransformation:ai.e.badge,customTemplateConfig:{map:{maintenance:{class:"badge-warning"},available:{class:"badge-success"}}}},{name:"Model",prop:"model",flexGrow:1},{name:"CPUs",prop:"cpu_count",flexGrow:.3},{name:"Cores",prop:"cpu_cores",flexGrow:.3},{name:"Total Memory",prop:"memory_total_bytes",pipe:this.dimlessBinary,flexGrow:.4},{name:"Raw Capacity",prop:"raw_capacity",pipe:this.dimlessBinary,flexGrow:.5},{name:"HDDs",prop:"hdd_count",flexGrow:.3},{name:"Flash",prop:"flash_count",headerTemplate:this.flashTmpl,flexGrow:.3},{name:"NICs",prop:"nic_count",flexGrow:.3}],this.columns=this.columns.filter(n=>!this.hiddenColumns.includes(n.prop))}ngOnDestroy(){this.sub.unsubscribe()}updateSelection(n){this.selection=n,this.enableMaintenanceBtn=!1,this.enableDrainBtn=!1,this.selection.hasSelection&&("maintenance"===this.selection.first().status&&(this.enableMaintenanceBtn=!0),this.selection.first().labels.includes("_no_schedule")||(this.enableDrainBtn=!0))}editAction(){this.hostService.getLabels().subscribe(n=>{const s=this.selection.first(),l=new Set(n.concat(this.hostService.predefinedLabels)),_=Array.from(l).map(g=>({enabled:!0,name:g}));this.modalService.show(lc.X,{titleText:"Edit Host: " + s.hostname + "",fields:[{type:"select-badges",name:"labels",value:s.labels,label:"Labels",typeConfig:{customBadges:!0,options:_,messages:new Mu.a({empty:"There are no labels.",filter:"Filter or add labels",add:"Add label"})}}],submitButtonText:"Edit Host",onSubmit:g=>{this.hostService.update(s.hostname,!0,g.labels).subscribe(()=>{this.notificationService.show(ua.k.success,"Updated Host \"" + s.hostname + "\""),this.table.refreshBtn()})}})})}hostMaintenance(){this.isExecuting=!0;const n=this.selection.first();"maintenance"!==n.status?this.hostService.update(n.hostname,!1,[],!0).subscribe(()=>{this.isExecuting=!1,this.notificationService.show(ua.k.success,"\"" + n.hostname + "\" moved to maintenance"),this.table.refreshBtn()},s=>{if(this.isExecuting=!1,this.errorMessage=s.error.detail.split(/\n/),s.preventDefault(),!s.error.detail.includes("WARNING")||s.error.detail.includes("It is NOT safe to stop")||s.error.detail.includes("ALERT")||s.error.detail.includes("unsafe to stop"))this.notificationService.show(ua.k.error,"\"" + n.hostname + "\" cannot be put into maintenance","" + s.error.detail + "");else{const l={titleText:"Warning",buttonText:"Continue",warning:!0,bodyTpl:this.maintenanceConfirmTpl,showSubmit:!0,onSubmit:()=>{this.hostService.update(n.hostname,!1,[],!0,!0).subscribe(()=>{this.modalRef.close()},()=>this.modalRef.close())}};this.modalRef=this.modalService.show(jd.Y,l)}}):this.hostService.update(n.hostname,!1,[],!0).subscribe(()=>{this.isExecuting=!1,this.notificationService.show(ua.k.success,"\"" + n.hostname + "\" has exited maintenance"),this.table.refreshBtn()})}hostDrain(n=!1){const s=this.selection.first();if(n){const l=s.labels.indexOf("_no_schedule",0);s.labels.splice(l,1),this.hostService.update(s.hostname,!0,s.labels).subscribe(()=>{this.notificationService.show(ua.k.info,"\"" + s.hostname + "\" stopped draining"),this.table.refreshBtn()})}else this.hostService.update(s.hostname,!1,[],!1,!1,!0).subscribe(()=>{this.notificationService.show(ua.k.info,"\"" + s.hostname + "\" started draining"),this.table.refreshBtn()})}getDisable(n,s){if("remove"===n||"edit"===n||"maintenance"===n||"drain"===n){if(!s?.hasSingleSelection)return!0;if(!Ke().every(s.selected,"sources.orchestrator"))return this.messages.nonOrchHost}return this.orchService.getTableActionDisableDesc(this.orchStatus,this.actionOrchFeatures[n])}deleteAction(){const n=this.selection.first().hostname;this.modalRef=this.modalService.show(Yo.M,{itemDescription:"Host",itemNames:[n],actionDescription:"remove",submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new ce.R("host/remove",{hostname:n}),call:this.hostService.delete(n)})})}checkHostsFactsAvailable(){const n=this.orchStatus.features;return!Ke().isEmpty(n)&&!!n.get_facts.available}transformHostsData(){if(this.checkHostsFactsAvailable())Ke().forEach(this.hosts,n=>{n.memory_total_bytes=this.emptyPipe.transform(1024*n.memory_total_kb),n.raw_capacity=this.emptyPipe.transform(n.hdd_capacity_bytes+n.flash_capacity_bytes)});else for(let n=4;n<this.columns.length;n++)this.columns[n].cellTemplate=this.orchTmpl}getHosts(n){null!==n&&(this.tableContext=n),null==this.tableContext&&(this.tableContext=new gd.E(()=>{})),!this.isLoadingHosts&&(this.isLoadingHosts=!0,this.sub=this.orchService.status().pipe((0,Md.zg)(s=>{this.orchStatus=s;const l=this.checkHostsFactsAvailable();return this.hostService.list(this.tableContext?.toParams(),l.toString())})).subscribe(s=>{this.hosts=s,this.hosts.forEach(l=>{""===l.status&&(l.status="available")}),this.transformHostsData(),this.isLoadingHosts=!1,this.count=this.hosts.length>0?Sh.v.getCount(s[0]):0},()=>{this.isLoadingHosts=!1,n.error()}))}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(xa.$),e.Y36(Lf.W),e.Y36(Dd.x),e.Y36(Dr.p4),e.Y36(tc.Z),e.Y36(Gr.P),e.Y36(Ce.F0),e.Y36(Le.g),e.Y36(sd))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-hosts"]],viewQuery:function(n,s){if(1&n&&(e.Gf(Ol.a,5),e.Gf(g0,7),e.Gf(v0,7),e.Gf(y0,7),e.Gf(_v,7),e.Gf(m1,7)),2&n){let l;e.iGM(l=e.CRH())&&(s.table=l.first),e.iGM(l=e.CRH())&&(s.servicesTpl=l.first),e.iGM(l=e.CRH())&&(s.maintenanceConfirmTpl=l.first),e.iGM(l=e.CRH())&&(s.orchTmpl=l.first),e.iGM(l=e.CRH())&&(s.flashTmpl=l.first),e.iGM(l=e.CRH())&&(s.hostNameTpl=l.first)}},inputs:{hiddenColumns:"hiddenColumns",hideMaintenance:"hideMaintenance",hasTableDetails:"hasTableDetails",hideToolHeader:"hideToolHeader",showGeneralActionsOnly:"showGeneralActionsOnly"},features:[e._Bn([{provide:zr.F,useValue:new zr.F("hosts")}]),e.qOj],decls:20,vars:3,consts:function(){let i,n,s,l,_,g,M,x,Y;return i="Hosts List",n="Overall Performance",s="Host overview",l="" + "\ufffd0\ufffd" + "",_="Are you sure you want to continue?",g="Data will be available only if Orchestrator is available.",M="N/A",x="SSD, NVMEs",Y="Flash",[["ngbNav","",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem",""],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","",4,"ngIf"],[3,"ngbNavOutlet"],["servicesTpl",""],["hostNameTpl",""],["maintenanceConfirmTpl",""],["orchTmpl",""],["flashTmpl",""],["name","modal"],["columnMode","flex","selectionType","single",3,"data","columns","searchableObjects","hasDetails","serverSide","count","maxLimit","toolHeader","fetchData","setExpandedRow","updateSelection"],["table",""],[1,"table-actions","btn-toolbar"],["id","host-actions",1,"btn-group",3,"permission","selection","tableActions"],["cdTableDetail","",3,"permissions","selection"],n,["title",s,"uid","y0KGL0iZz","grafanaStyle","two",3,"grafanaPath","type"],[4,"ngFor","ngForOf"],[1,"me-1",3,"key","value"],[3,"ngClass"],["class","text-muted fst-italic",4,"ngIf"],[1,"text-muted","fst-italic"],[4,"ngIf"],l,_,["ngbTooltip",g],M,["ngbTooltip",x],Y]},template:function(n,s){if(1&n&&(e.TgZ(0,"nav",0,1),e.ynx(2,2),e.TgZ(3,"a",3),e.SDv(4,4),e.qZA(),e.YNc(5,O_,5,13,"ng-template",5),e.BQk(),e.YNc(6,hv,1,0,"ng-container",6),e.YNc(7,Hp,4,0,"ng-container",6),e.qZA(),e._UZ(8,"div",7),e.YNc(9,ng,1,1,"ng-template",null,8,e.W1O),e.YNc(11,cd,4,3,"ng-template",null,9,e.W1O),e.YNc(13,vv,2,2,"ng-template",null,10,e.W1O),e.YNc(15,yv,2,0,"ng-template",null,11,e.W1O),e.YNc(17,g1,2,0,"ng-template",null,12,e.W1O),e._UZ(19,"router-outlet",13)),2&n){const l=e.MAs(1);e.xp6(6),e.Q6J("ngIf",s.permissions.grafana.read),e.xp6(1),e.Q6J("ngIf",s.permissions.grafana.read),e.xp6(1),e.Q6J("ngbNavOutlet",l)}},dependencies:[f.mk,f.sg,f.O5,Be.uN,Be.Pz,Be.nv,Be.Vx,Be.tO,Be.Dy,xl.F,Co,Ol.a,il.K,Ce.lC,Be._L,pv]}),t})();var kg=o(67460);let n_=(()=>{class t{transform(n){if(Ke().isUndefined(n))return "no spec";if(Ke().get(n,"unmanaged",!1))return "unmanaged";const s=[],l=Ke().get(n,"placement.hosts"),_=Ke().get(n,"placement.count"),g=Ke().get(n,"placement.label"),M=Ke().get(n,"placement.host_pattern");return Ke().isArray(l)&&s.push(...l),Ke().isNumber(_)&&s.push("count:" + _ + ""),Ke().isString(g)&&s.push("label:" + g + ""),Ke().isString(M)&&s.push(M),s.join(";")}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"placement",type:t,pure:!0}),t})();var $g=o(66682),tm=o(80381),Zu=o(95596),au=o(43186),Ah=o(97937),Hg=o(98961);function Ev(t,i){1&t&&(e.TgZ(0,"span",22),e.SDv(1,23),e.qZA())}function y1(t,i){1&t&&(e.TgZ(0,"span",22),e.SDv(1,24),e.qZA())}function Sv(t,i){1&t&&(e.TgZ(0,"span",22),e.SDv(1,25),e.qZA())}let Cv=(()=>{class t{constructor(n,s,l,_,g,M,x,Y){this.activeModal=n,this.actionLabels=s,this.rgwMultisiteService=l,this.rgwZoneService=_,this.notificationService=g,this.rgwZonegroupService=M,this.rgwRealmService=x,this.modalService=Y,this.sub=new od.w,this.submitAction=new e.vpe,this.createForm()}createForm(){this.createMultisiteEntitiesForm=new Fe.d({realmName:new se.NI(null,{validators:[se.kI.required]}),zonegroupName:new se.NI(null,{validators:[se.kI.required]}),zoneName:new se.NI(null,{validators:[se.kI.required]})})}submit(){const n=this.createMultisiteEntitiesForm.value;this.realm=new au.L6,this.realm.name=n.realmName,this.zonegroup=new au.iG,this.zonegroup.name=n.zonegroupName,this.zonegroup.endpoints="",this.zone=new au.jb,this.zone.name=n.zoneName,this.zone.endpoints="",this.zone.system_key=new au.VY,this.zone.system_key.access_key="",this.zone.system_key.secret_key="",this.rgwRealmService.create(this.realm,!0).toPromise().then(()=>{this.rgwZonegroupService.create(this.realm,this.zonegroup,!0,!0).toPromise().then(()=>{this.rgwZoneService.create(this.zone,this.zonegroup,!0,!0,this.zone.endpoints).toPromise().then(()=>{this.notificationService.show(ua.k.success,"Realm/Zonegroup/Zone created successfully"),this.submitAction.emit(),this.activeModal.close()}).catch(()=>{this.notificationService.show(ua.k.error,"Realm/Zonegroup/Zone creation failed")})})})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.Kz),e.Y36(Dr.p4),e.Y36(tm.o),e.Y36(Ah.g),e.Y36(Le.g),e.Y36(Hg.K),e.Y36(Zu.y),e.Y36(tc.Z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-create-rgw-service-entities"]],outputs:{submitAction:"submitAction"},decls:29,vars:6,consts:function(){let i,n,s,l,_,g,M;return i="Create Realm/Zone Group/Zone ",n="Realm Name",s="Zone Group Name",l="Zone Name",_="This field is required.",g="This field is required.",M="This field is required.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","createMultisiteEntitiesForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],["type","info","spacingClass","mb-3"],[1,"form-group","row"],["for","realmName",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["type","text","placeholder","Realm name...","id","realmName","name","realmName","formControlName","realmName",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","zonegroupName",1,"cd-col-form-label","required"],s,["type","text","placeholder","Zone group name...","id","zonegroupName","name","zonegroupName","formControlName","zonegroupName",1,"form-control"],["for","zoneName",1,"cd-col-form-label","required"],l,["type","text","placeholder","Zone name...","id","zoneName","name","zoneName","formControlName","zoneName",1,"form-control"],[1,"modal-footer"],[3,"form","submitActionEvent"],[1,"invalid-feedback"],_,g,M]},template:function(n,s){if(1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"cd-alert-panel",7),e._uU(8,"The realm/zone group/zone created will be set as default and master. "),e.qZA(),e.TgZ(9,"div",8)(10,"label",9),e.SDv(11,10),e.qZA(),e.TgZ(12,"div",11),e._UZ(13,"input",12),e.YNc(14,Ev,2,0,"span",13),e.qZA()(),e.TgZ(15,"div",8)(16,"label",14),e.SDv(17,15),e.qZA(),e.TgZ(18,"div",11),e._UZ(19,"input",16),e.YNc(20,y1,2,0,"span",13),e.qZA()(),e.TgZ(21,"div",8)(22,"label",17),e.SDv(23,18),e.qZA(),e.TgZ(24,"div",11),e._UZ(25,"input",19),e.YNc(26,Sv,2,0,"span",13),e.qZA()()(),e.TgZ(27,"div",20)(28,"cd-form-button-panel",21),e.NdJ("submitActionEvent",function(){return s.submit()}),e.qZA()()(),e.BQk(),e.qZA()),2&n){const l=e.MAs(5);e.Q6J("modalRef",s.activeModal),e.xp6(4),e.Q6J("formGroup",s.createMultisiteEntitiesForm),e.xp6(10),e.Q6J("ngIf",s.createMultisiteEntitiesForm.showError("realmName",l,"required")),e.xp6(6),e.Q6J("ngIf",s.createMultisiteEntitiesForm.showError("zonegroupName",l,"required")),e.xp6(6),e.Q6J("ngIf",s.createMultisiteEntitiesForm.showError("zoneName",l,"required")),e.xp6(2),e.Q6J("form",s.createMultisiteEntitiesForm)}},dependencies:[f.O5,Kt.z,Hr.G,lt.p,Ht.o,wn.b,ar.P,cr.V,se._Y,se.Fj,se.JJ,se.JL,se.sg,se.u]}),t})();var rg=o(80842),Dh=o(14745),Xd=o(62862),Xf=o(36848),$f=o(4416);function ig(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-alert-panel",28),e.tHW(1,29),e.TgZ(2,"a",30),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.createMultisiteSetup())}),e.qZA(),e.N_p(),e.qZA()}}function og(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.hij(" ",n," ")}}function qf(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,33),e.qZA())}function nm(t,i){1&t&&(e.TgZ(0,"option",13),e.SDv(1,38),e.qZA()),2&t&&e.Q6J("ngValue",null)}function E1(t,i){1&t&&(e.TgZ(0,"option",13),e.SDv(1,39),e.qZA()),2&t&&e.Q6J("ngValue",null)}function Tv(t,i){1&t&&(e.TgZ(0,"option",13),e.SDv(1,40),e.qZA()),2&t&&e.Q6J("ngValue",null)}function S1(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.service_name),e.xp6(1),e.Oqu(n.service_name)}}function E0(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,41),e.qZA())}const Ug=function(){return["ingress"]},Rh=function(t){return{required:t}};function Ph(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",8)(1,"label",34),e.SDv(2,35),e.qZA(),e.TgZ(3,"div",11)(4,"select",36),e.NdJ("change",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.prePopulateId())}),e.YNc(5,nm,2,1,"option",37),e.YNc(6,E1,2,1,"option",37),e.YNc(7,Tv,2,1,"option",37),e.YNc(8,S1,2,2,"option",15),e.qZA(),e.YNc(9,E0,2,0,"span",16),e.qZA()()}if(2&t){const n=e.oxw(),s=e.MAs(7);e.xp6(1),e.Q6J("ngClass",e.VKq(7,Rh,e.DdM(6,Ug).includes(n.serviceForm.controls.service_type.value))),e.xp6(4),e.Q6J("ngIf",null===n.services),e.xp6(1),e.Q6J("ngIf",null!==n.services&&0===n.services.length),e.xp6(1),e.Q6J("ngIf",null!==n.services&&n.services.length>0),e.xp6(1),e.Q6J("ngForOf",n.services),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("backend_service",s,"required"))}}function rc(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,46),e.qZA())}function C1(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,47),e.qZA())}function r_(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,48),e.qZA())}const bv=function(){return["mds","rgw","nfs","iscsi","ingress"]};function Up(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",42)(2,"span"),e.SDv(3,43),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,44),e.qZA()(),e.TgZ(6,"div",11),e._UZ(7,"input",45),e.YNc(8,rc,2,0,"span",16),e.YNc(9,C1,2,0,"span",16),e.YNc(10,r_,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(),s=e.MAs(7);e.xp6(1),e.Q6J("ngClass",e.VKq(5,Rh,e.DdM(4,bv).includes(n.serviceForm.controls.service_type.value))),e.xp6(7),e.Q6J("ngIf",n.serviceForm.showError("service_id",s,"required")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("service_id",s,"uniqueName")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("service_id",s,"mdsPattern"))}}function Eu(t,i){1&t&&(e.TgZ(0,"option",53),e.SDv(1,54),e.qZA())}function Cp(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.name),e.xp6(1),e.hij(" ",n.name," ")}}function Mv(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",49),e.SDv(2,50),e.qZA(),e.TgZ(3,"div",11)(4,"select",51),e.YNc(5,Eu,2,0,"option",52),e.YNc(6,Cp,2,2,"option",15),e.qZA()()()),2&t){const n=e.oxw();e.xp6(4),e.uIk("disabled",!(0!==n.realmList.length&&!n.editing)||null),e.xp6(1),e.Q6J("ngIf",0===n.realmList.length),e.xp6(1),e.Q6J("ngForOf",n.realmList)}}function Fm(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.name),e.xp6(1),e.hij(" ",n.name," ")}}function Bg(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",55),e.SDv(2,56),e.qZA(),e.TgZ(3,"div",11)(4,"select",57),e.YNc(5,Fm,2,2,"option",15),e.qZA()()()),2&t){const n=e.oxw();e.xp6(4),e.uIk("disabled",!(0!==n.zonegroupList.length&&!n.editing)||null),e.xp6(1),e.Q6J("ngForOf",n.zonegroupList)}}function vd(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.name),e.xp6(1),e.hij(" ",n.name," ")}}function Cf(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",58),e.SDv(2,59),e.qZA(),e.TgZ(3,"div",11)(4,"select",60),e.YNc(5,vd,2,2,"option",15),e.qZA()()()),2&t){const n=e.oxw();e.xp6(4),e.uIk("disabled",!(0!==n.zoneList.length&&!n.editing)||null),e.xp6(1),e.Q6J("ngForOf",n.zoneList)}}function mu(t,i){1&t&&(e.TgZ(0,"div",8)(1,"label",61),e.SDv(2,62),e.qZA(),e.TgZ(3,"div",11)(4,"select",63)(5,"option",64),e.SDv(6,65),e.qZA(),e.TgZ(7,"option",66),e.SDv(8,67),e.qZA()()()())}function Gg(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,71),e.qZA())}function Ov(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",8)(1,"label",68),e.SDv(2,69),e.qZA(),e.TgZ(3,"div",11)(4,"input",70),e.NdJ("focus",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.labelFocus.next(l.target.value))})("click",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.labelClick.next(l.target.value))}),e.qZA(),e.YNc(5,Gg,2,0,"span",16),e.qZA()()}if(2&t){const n=e.oxw(),s=e.MAs(7);e.xp6(4),e.Q6J("ngbTypeahead",n.searchLabels),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("label",s,"required"))}}function Wc(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",72),e.SDv(2,73),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"cd-select-badges",74),e.qZA()()),2&t){const n=e.oxw();e.xp6(4),e.Q6J("data",n.serviceForm.controls.hosts.value)("options",n.hosts.options)("messages",n.hosts.messages)}}function Os(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,79),e.qZA())}function wc(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,80),e.qZA())}function Yg(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",75)(2,"span"),e.SDv(3,76),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,77),e.qZA()(),e.TgZ(6,"div",11),e._UZ(7,"input",78),e.YNc(8,Os,2,0,"span",16),e.YNc(9,wc,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(),s=e.MAs(7);e.xp6(8),e.Q6J("ngIf",n.serviceForm.showError("count",s,"min")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("count",s,"pattern"))}}function q_(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,84),e.qZA())}function Ud(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,85),e.qZA())}function jg(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,86),e.qZA())}function Hf(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",8)(2,"label",81),e.SDv(3,82),e.qZA(),e.TgZ(4,"div",11),e._UZ(5,"input",83),e.YNc(6,q_,2,0,"span",16),e.YNc(7,Ud,2,0,"span",16),e.YNc(8,jg,2,0,"span",16),e.qZA()(),e.BQk()),2&t){const n=e.oxw(),s=e.MAs(7);e.xp6(6),e.Q6J("ngIf",n.serviceForm.showError("rgw_frontend_port",s,"pattern")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("rgw_frontend_port",s,"min")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("rgw_frontend_port",s,"max"))}}function Tp(t,i){1&t&&(e.TgZ(0,"option",13),e.SDv(1,90),e.qZA()),2&t&&e.Q6J("ngValue",null)}function sg(t,i){1&t&&(e.TgZ(0,"option",13),e.SDv(1,91),e.qZA()),2&t&&e.Q6J("ngValue",null)}function Av(t,i){1&t&&(e.TgZ(0,"option",13),e.SDv(1,92),e.qZA()),2&t&&e.Q6J("ngValue",null)}function T1(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.pool_name),e.xp6(1),e.Oqu(n.pool_name)}}function Dv(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,93),e.qZA())}function qd(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",87),e.SDv(2,88),e.qZA(),e.TgZ(3,"div",11)(4,"select",89),e.YNc(5,Tp,2,1,"option",37),e.YNc(6,sg,2,1,"option",37),e.YNc(7,Av,2,1,"option",37),e.YNc(8,T1,2,2,"option",15),e.qZA(),e.YNc(9,Dv,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(),s=e.MAs(7);e.xp6(5),e.Q6J("ngIf",null===n.pools),e.xp6(1),e.Q6J("ngIf",n.pools&&0===n.pools.length),e.xp6(1),e.Q6J("ngIf",n.pools&&n.pools.length>0),e.xp6(1),e.Q6J("ngForOf",n.pools),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("pool",s,"required"))}}function ep(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,111),e.qZA())}function ag(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,112),e.qZA())}function Rv(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,113),e.qZA())}function Pv(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,114),e.qZA())}function Lm(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,115),e.qZA())}const km=function(){return["iscsi"]};function lg(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",8)(2,"label",94)(3,"span"),e.SDv(4,95),e.qZA(),e.TgZ(5,"cd-helper")(6,"span"),e.SDv(7,96),e.qZA(),e._UZ(8,"br"),e.TgZ(9,"span"),e.tHW(10,97),e._UZ(11,"b"),e.N_p(),e.qZA()()(),e.TgZ(12,"div",11),e._UZ(13,"input",98),e.qZA()(),e.TgZ(14,"div",8)(15,"label",99),e.SDv(16,100),e.qZA(),e.TgZ(17,"div",11),e._UZ(18,"input",101),e.YNc(19,ep,2,0,"span",16),e.YNc(20,ag,2,0,"span",16),e.YNc(21,Rv,2,0,"span",16),e.qZA()(),e.TgZ(22,"div",8)(23,"label",102),e.SDv(24,103),e.qZA(),e.TgZ(25,"div",11),e._UZ(26,"input",104),e.YNc(27,Pv,2,0,"span",16),e.qZA()(),e.TgZ(28,"div",8)(29,"label",105),e.SDv(30,106),e.qZA(),e.TgZ(31,"div",11)(32,"div",107),e._UZ(33,"input",108)(34,"button",109)(35,"cd-copy-2-clipboard-button",110),e.YNc(36,Lm,2,0,"span",16),e.qZA()()(),e.BQk()),2&t){const n=e.oxw(),s=e.MAs(7);e.xp6(19),e.Q6J("ngIf",n.serviceForm.showError("api_port",s,"pattern")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("api_port",s,"min")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("api_port",s,"max")),e.xp6(2),e.Q6J("ngClass",e.VKq(8,Rh,e.DdM(7,km).includes(n.serviceForm.controls.service_type.value))),e.xp6(4),e.Q6J("ngIf",n.serviceForm.showError("api_user",s,"required")),e.xp6(2),e.Q6J("ngClass",e.VKq(11,Rh,e.DdM(10,km).includes(n.serviceForm.controls.service_type.value))),e.xp6(7),e.Q6J("ngIf",n.serviceForm.showError("api_password",s,"required"))}}function S0(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,128),e.qZA())}function cg(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,129),e.qZA())}function xv(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,130),e.qZA())}function $m(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,131),e.qZA())}function xh(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,132),e.qZA())}function wh(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,133),e.qZA())}function Zg(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,134),e.qZA())}function zg(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,135),e.qZA())}function A_(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,136),e.qZA())}function Hm(t,i){1&t&&(e.TgZ(0,"div",8)(1,"label",137)(2,"span"),e.SDv(3,138),e.qZA(),e.TgZ(4,"cd-helper")(5,"span"),e.SDv(6,139),e.qZA()()(),e.TgZ(7,"div",11),e._UZ(8,"input",140),e.qZA()())}function Um(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",8)(2,"label",116)(3,"span"),e.SDv(4,117),e.qZA(),e.TgZ(5,"cd-helper")(6,"span"),e.SDv(7,118),e.qZA()()(),e.TgZ(8,"div",11),e._UZ(9,"input",119),e.YNc(10,S0,2,0,"span",16),e.qZA()(),e.TgZ(11,"div",8)(12,"label",120)(13,"span"),e.SDv(14,121),e.qZA(),e.TgZ(15,"cd-helper")(16,"span"),e.SDv(17,122),e.qZA()()(),e.TgZ(18,"div",11),e._UZ(19,"input",123),e.YNc(20,cg,2,0,"span",16),e.YNc(21,xv,2,0,"span",16),e.YNc(22,$m,2,0,"span",16),e.YNc(23,xh,2,0,"span",16),e.qZA()(),e.TgZ(24,"div",8)(25,"label",124)(26,"span"),e.SDv(27,125),e.qZA(),e.TgZ(28,"cd-helper")(29,"span"),e.SDv(30,126),e.qZA()()(),e.TgZ(31,"div",11),e._UZ(32,"input",127),e.YNc(33,wh,2,0,"span",16),e.YNc(34,Zg,2,0,"span",16),e.YNc(35,zg,2,0,"span",16),e.YNc(36,A_,2,0,"span",16),e.qZA()(),e.YNc(37,Hm,9,0,"div",17),e.BQk()),2&t){const n=e.oxw(),s=e.MAs(7);e.xp6(2),e.Q6J("ngClass",e.VKq(14,Rh,e.DdM(13,Ug).includes(n.serviceForm.controls.service_type.value))),e.xp6(8),e.Q6J("ngIf",n.serviceForm.showError("virtual_ip",s,"required")),e.xp6(2),e.Q6J("ngClass",e.VKq(17,Rh,e.DdM(16,Ug).includes(n.serviceForm.controls.service_type.value))),e.xp6(8),e.Q6J("ngIf",n.serviceForm.showError("frontend_port",s,"pattern")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("frontend_port",s,"min")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("frontend_port",s,"max")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("frontend_port",s,"required")),e.xp6(2),e.Q6J("ngClass",e.VKq(20,Rh,e.DdM(19,Ug).includes(n.serviceForm.controls.service_type.value))),e.xp6(8),e.Q6J("ngIf",n.serviceForm.showError("monitor_port",s,"pattern")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("monitor_port",s,"min")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("monitor_port",s,"max")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("monitor_port",s,"required")),e.xp6(1),e.Q6J("ngIf",!n.serviceForm.controls.unmanaged.value)}}function eh(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(n)}}function wv(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,150),e.qZA())}function Vg(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,151),e.qZA())}function b1(t,i){1&t&&(e.TgZ(0,"span",32),e.tHW(1,152),e._UZ(2,"strong"),e.N_p(),e.qZA())}function Nv(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,157),e.qZA())}function I(t,i){1&t&&(e.TgZ(0,"span",32),e.tHW(1,158),e._UZ(2,"strong"),e.N_p(),e.qZA())}function ee(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",153)(2,"span"),e.SDv(3,154),e.qZA(),e.TgZ(4,"cd-helper")(5,"span"),e.SDv(6,155),e.qZA()()(),e.TgZ(7,"div",11),e._UZ(8,"input",156),e.YNc(9,Nv,2,0,"span",16),e.YNc(10,I,3,0,"span",16),e.qZA()()),2&t){const n=e.oxw(2),s=e.MAs(7);e.xp6(9),e.Q6J("ngIf",n.serviceForm.showError("engine_id",s,"required")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("engine_id",s,"snmpEngineIdPattern"))}}function z(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.hij(" ",n," ")}}function xe(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,163),e.qZA())}const Mt=function(){return["SHA","MD5"]};function an(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",159),e.SDv(2,160),e.qZA(),e.TgZ(3,"div",11)(4,"select",161)(5,"option",13),e.SDv(6,162),e.qZA(),e.YNc(7,z,2,2,"option",15),e.qZA(),e.YNc(8,xe,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(2),s=e.MAs(7);e.xp6(5),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",e.DdM(3,Mt)),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("auth_protocol",s,"required"))}}function Er(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.hij(" ",n," ")}}const li=function(){return["DES","AES"]};function es(t,i){1&t&&(e.TgZ(0,"div",8)(1,"label",164),e.SDv(2,165),e.qZA(),e.TgZ(3,"div",11)(4,"select",166)(5,"option",13),e.SDv(6,167),e.qZA(),e.YNc(7,Er,2,2,"option",15),e.qZA()()()),2&t&&(e.xp6(5),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",e.DdM(2,li)))}function ws(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,171),e.qZA())}function Ha(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",168)(2,"span"),e.SDv(3,169),e.qZA()(),e.TgZ(4,"div",11),e._UZ(5,"input",170),e.YNc(6,ws,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(2),s=e.MAs(7);e.xp6(6),e.Q6J("ngIf",n.serviceForm.showError("snmp_community",s,"required"))}}function cl(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,175),e.qZA())}function Vl(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",172)(2,"span"),e.SDv(3,173),e.qZA()(),e.TgZ(4,"div",11),e._UZ(5,"input",174),e.YNc(6,cl,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(2),s=e.MAs(7);e.xp6(6),e.Q6J("ngIf",n.serviceForm.showError("snmp_v3_auth_username",s,"required"))}}function zu(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,179),e.qZA())}function Lc(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",176)(2,"span"),e.SDv(3,177),e.qZA()(),e.TgZ(4,"div",11),e._UZ(5,"input",178),e.YNc(6,zu,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(2),s=e.MAs(7);e.xp6(6),e.Q6J("ngIf",n.serviceForm.showError("snmp_v3_auth_password",s,"required"))}}function lu(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,183),e.qZA())}function ku(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",180)(2,"span"),e.SDv(3,181),e.qZA()(),e.TgZ(4,"div",11),e._UZ(5,"input",182),e.YNc(6,lu,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(2),s=e.MAs(7);e.xp6(6),e.Q6J("ngIf",n.serviceForm.showError("snmp_v3_priv_password",s,"required"))}}const Vu=function(){return["V2c","V3"]};function D_(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"div",8)(2,"label",141),e.SDv(3,142),e.qZA(),e.TgZ(4,"div",11)(5,"select",143),e.NdJ("change",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.clearValidations())}),e.TgZ(6,"option",13),e.SDv(7,144),e.qZA(),e.YNc(8,eh,2,2,"option",15),e.qZA(),e.YNc(9,wv,2,0,"span",16),e.qZA()(),e.TgZ(10,"div",8)(11,"label",145)(12,"span"),e.SDv(13,146),e.qZA(),e.TgZ(14,"cd-helper")(15,"span"),e.SDv(16,147),e.qZA()()(),e.TgZ(17,"div",11),e._UZ(18,"input",148),e.YNc(19,Vg,2,0,"span",16),e.YNc(20,b1,3,0,"span",16),e.qZA()(),e.YNc(21,ee,11,2,"div",17),e.YNc(22,an,9,4,"div",17),e.YNc(23,es,8,3,"div",17),e.TgZ(24,"fieldset")(25,"legend"),e.SDv(26,149),e.qZA(),e.YNc(27,Ha,7,1,"div",17),e.YNc(28,Vl,7,1,"div",17),e.YNc(29,Lc,7,1,"div",17),e.YNc(30,ku,7,1,"div",17),e.qZA(),e.BQk()}if(2&t){const n=e.oxw(),s=e.MAs(7);e.xp6(6),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",e.DdM(12,Vu)),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("snmp_version",s,"required")),e.xp6(10),e.Q6J("ngIf",n.serviceForm.showError("snmp_destination",s,"required")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("snmp_destination",s,"snmpDestinationPattern")),e.xp6(1),e.Q6J("ngIf","V3"===n.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===n.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===n.serviceForm.controls.snmp_version.value),e.xp6(4),e.Q6J("ngIf","V2c"===n.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===n.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===n.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===n.serviceForm.controls.snmp_version.value&&null!=n.serviceForm.controls.privacy_protocol.value)}}function ug(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,192),e.qZA())}function Em(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,193),e.qZA())}function th(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",8)(1,"label",187)(2,"span"),e.SDv(3,188),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,189),e.qZA()(),e.TgZ(6,"div",11)(7,"textarea",190),e._uU(8," "),e.qZA(),e.TgZ(9,"input",191),e.NdJ("change",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.fileUpload(l.target.files,"ssl_cert"))}),e.qZA(),e.YNc(10,ug,2,0,"span",16),e.YNc(11,Em,2,0,"span",16),e.qZA()()}if(2&t){const n=e.oxw(2),s=e.MAs(7);e.xp6(10),e.Q6J("ngIf",n.serviceForm.showError("ssl_cert",s,"required")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("ssl_cert",s,"pattern"))}}function Pd(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,198),e.qZA())}function nh(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,199),e.qZA())}function Bm(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",8)(1,"label",194)(2,"span"),e.SDv(3,195),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,196),e.qZA()(),e.TgZ(6,"div",11)(7,"textarea",197),e._uU(8," "),e.qZA(),e.TgZ(9,"input",191),e.NdJ("change",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.fileUpload(l.target.files,"ssl_key"))}),e.qZA(),e.YNc(10,Pd,2,0,"span",16),e.YNc(11,nh,2,0,"span",16),e.qZA()()}if(2&t){const n=e.oxw(2),s=e.MAs(7);e.xp6(10),e.Q6J("ngIf",n.serviceForm.showError("ssl_key",s,"required")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("ssl_key",s,"pattern"))}}const Iv=function(){return["rgw","ingress"]};function C0(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",8)(2,"div",18)(3,"div",19),e._UZ(4,"input",184),e.TgZ(5,"label",185),e.SDv(6,186),e.qZA()()()(),e.YNc(7,th,12,2,"div",17),e.YNc(8,Bm,12,2,"div",17),e.BQk()),2&t){const n=e.oxw();e.xp6(7),e.Q6J("ngIf",n.serviceForm.controls.ssl.value),e.xp6(1),e.Q6J("ngIf",n.serviceForm.controls.ssl.value&&!e.DdM(2,Iv).includes(n.serviceForm.controls.service_type.value))}}function hS(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,210),e.qZA())}function dg(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,211),e.qZA())}function T0(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,212),e.qZA())}function b0(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,213),e.qZA())}function Fv(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",8)(2,"label",200)(3,"span"),e.SDv(4,201),e.qZA(),e.TgZ(5,"cd-helper")(6,"span"),e.SDv(7,202),e.qZA()()(),e.TgZ(8,"div",11),e._UZ(9,"input",203),e.YNc(10,hS,2,0,"span",16),e.YNc(11,dg,2,0,"span",16),e.YNc(12,T0,2,0,"span",16),e.YNc(13,b0,2,0,"span",16),e.qZA()(),e.TgZ(14,"div",8)(15,"label",204),e.tHW(16,205),e._UZ(17,"span")(18,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(19,"div",11)(20,"div",107),e._UZ(21,"input",206),e.TgZ(22,"span",207),e._UZ(23,"button",208)(24,"cd-copy-2-clipboard-button",209),e.qZA()()()(),e.BQk()),2&t){const n=e.oxw(),s=e.MAs(7);e.xp6(10),e.Q6J("ngIf",n.serviceForm.showError("grafana_port",s,"pattern")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("grafana_port",s,"min")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("grafana_port",s,"max")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("grafana_port",s,"required")),e.xp6(8),e.uIk("disabled",!!n.editing||null)}}const wy=function(){return["rgw","iscsi","ingress"]};let R_=(()=>{class t extends de.E{constructor(n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He){super(),this.actionLabels=n,this.cephServiceService=s,this.formBuilder=l,this.hostService=_,this.poolService=g,this.router=M,this.taskWrapperService=x,this.timerService=Y,this.timerServiceVariable=K,this.rgwRealmService=le,this.rgwZonegroupService=fe,this.rgwZoneService=ge,this.rgwMultisiteService=Se,this.route=Ge,this.activeModal=we,this.modalService=He,this.sub=new od.w,this.MDS_SVC_ID_PATTERN=/^[a-zA-Z_.-][a-zA-Z0-9_.-]*$/,this.SNMP_DESTINATION_PATTERN=/^[^\:]+:[0-9]/,this.SNMP_ENGINE_ID_PATTERN=/^[0-9A-Fa-f]{10,64}/g,this.INGRESS_SUPPORTED_SERVICE_TYPES=["rgw","nfs"],this.hiddenServices=[],this.editing=!1,this.serviceTypes=[],this.serviceIds=[],this.labelClick=new Ai.xQ,this.labelFocus=new Ai.xQ,this.services=[],this.multisiteInfo=[],this.defaultRealmId="",this.defaultZonegroupId="",this.defaultZoneId="",this.realmList=[],this.zonegroupList=[],this.zoneList=[],this.showRealmCreationForm=!1,this.searchLabels=Pe=>(0,$g.T)(Pe.pipe((0,Xe.b)(200),(0,rn.x)()),this.labelFocus,this.labelClick.pipe((0,as.h)(()=>!this.typeahead.isPopupOpen()))).pipe((0,ss.U)(W=>this.labels.filter(It=>It.toLowerCase().indexOf(W.toLowerCase())>-1).slice(0,10))),this.resource="service",this.hosts={options:[],messages:new Mu.a({empty:"There are no hosts.",filter:"Filter hosts"})},this.createForm()}createForm(){this.serviceForm=this.formBuilder.group({service_type:[null,[se.kI.required]],service_id:[null,[zo.h.composeIf({service_type:"mds"},[se.kI.required,zo.h.custom("mdsPattern",n=>!Ke().isEmpty(n)&&!this.MDS_SVC_ID_PATTERN.test(n))]),zo.h.requiredIf({service_type:"nfs"}),zo.h.requiredIf({service_type:"iscsi"}),zo.h.requiredIf({service_type:"ingress"}),zo.h.composeIf({service_type:"rgw"},[se.kI.required]),zo.h.custom("uniqueName",n=>this.serviceIds&&this.serviceIds.includes(n))]],placement:["hosts"],label:[null,[zo.h.requiredIf({placement:"label",unmanaged:!1})]],hosts:[[]],count:[null,[zo.h.number(!1)]],unmanaged:[!1],pool:[null,[zo.h.requiredIf({service_type:"iscsi"})]],rgw_frontend_port:[null,[zo.h.number(!1)]],realm_name:[null],zonegroup_name:[null],zone_name:[null],trusted_ip_list:[null],api_port:[null,[zo.h.number(!1)]],api_user:[null,[zo.h.requiredIf({service_type:"iscsi",unmanaged:!1})]],api_password:[null,[zo.h.requiredIf({service_type:"iscsi",unmanaged:!1})]],backend_service:[null,[zo.h.requiredIf({service_type:"ingress"})]],virtual_ip:[null,[zo.h.requiredIf({service_type:"ingress"})]],frontend_port:[null,[zo.h.number(!1),zo.h.requiredIf({service_type:"ingress"})]],monitor_port:[null,[zo.h.number(!1),zo.h.requiredIf({service_type:"ingress"})]],virtual_interface_networks:[null],ssl:[!1],ssl_cert:["",[zo.h.composeIf({service_type:"rgw",unmanaged:!1,ssl:!0},[se.kI.required,zo.h.pemCert()]),zo.h.composeIf({service_type:"iscsi",unmanaged:!1,ssl:!0},[se.kI.required,zo.h.sslCert()]),zo.h.composeIf({service_type:"ingress",unmanaged:!1,ssl:!0},[se.kI.required,zo.h.pemCert()])]],ssl_key:["",[zo.h.composeIf({service_type:"iscsi",unmanaged:!1,ssl:!0},[se.kI.required,zo.h.sslPrivKey()])]],snmp_version:[null,[zo.h.requiredIf({service_type:"snmp-gateway"})]],snmp_destination:[null,{validators:[zo.h.requiredIf({service_type:"snmp-gateway"}),zo.h.custom("snmpDestinationPattern",n=>!Ke().isEmpty(n)&&!this.SNMP_DESTINATION_PATTERN.test(n))]}],engine_id:[null,[zo.h.requiredIf({service_type:"snmp-gateway"}),zo.h.custom("snmpEngineIdPattern",n=>!Ke().isEmpty(n)&&!this.SNMP_ENGINE_ID_PATTERN.test(n))]],auth_protocol:["SHA",[zo.h.requiredIf({service_type:"snmp-gateway"})]],privacy_protocol:[null],snmp_community:[null,[zo.h.requiredIf({snmp_version:"V2c"})]],snmp_v3_auth_username:[null,[zo.h.requiredIf({service_type:"snmp-gateway"})]],snmp_v3_auth_password:[null,[zo.h.requiredIf({service_type:"snmp-gateway"})]],snmp_v3_priv_password:[null,[zo.h.requiredIf({privacy_protocol:{op:"!empty"}})]],grafana_port:[null,[zo.h.number(!1)]],grafana_admin_password:[null]})}ngOnInit(){this.action=this.actionLabels.CREATE,this.router.url.includes("services/(modal:create")?this.pageURL="services":this.router.url.includes("services/(modal:edit")&&(this.editing=!0,this.pageURL="services",this.route.params.subscribe(s=>{this.serviceName=s.name,this.serviceType=s.type})),this.cephServiceService.list(new h.LE({fromObject:{limit:-1,offset:0}})).observable.subscribe(s=>{this.serviceList=s,this.services=s.filter(l=>this.INGRESS_SUPPORTED_SERVICE_TYPES.includes(l.service_type))}),this.cephServiceService.getKnownTypes().subscribe(s=>{this.hiddenServices.push("osd","container"),this.serviceTypes=Ke().difference(s,this.hiddenServices).sort()});const n=new gd.E(()=>{});this.hostService.list(n.toParams(),"false").subscribe(s=>{const l=[];Ke().forEach(s,_=>{if(Ke().get(_,"sources.orchestrator",!1)){const g=new Dh.$(!1,Ke().get(_,"hostname"),"");l.push(g)}}),this.hosts.options=[...l]}),this.hostService.getLabels().subscribe(s=>{this.labels=s}),this.poolService.getList().subscribe(s=>{this.pools=s}),this.editing&&(this.action=this.actionLabels.EDIT,this.disableForEditing(this.serviceType),this.cephServiceService.list(new h.LE({fromObject:{limit:-1,offset:0}}),this.serviceName).observable.subscribe(s=>{if(["service_type","service_id","unmanaged"].forEach(_=>{this.serviceForm.get(_).setValue(s[0][_])}),!s[0].unmanaged){const _=Object.keys(s[0].placement)[0];let g;g=["hosts","label"].indexOf(_)>=0?_:"hosts",this.serviceForm.get("placement").setValue(g),this.serviceForm.get("count").setValue(s[0].placement.count),s[0]?.placement[g]&&this.serviceForm.get(g).setValue(s[0]?.placement[g])}switch(this.serviceType){case"iscsi":["pool","api_password","api_user","trusted_ip_list","api_port"].forEach(x=>{this.serviceForm.get(x).setValue(s[0].spec[x])}),this.serviceForm.get("ssl").setValue(s[0].spec?.api_secure),s[0].spec?.api_secure&&(this.serviceForm.get("ssl_cert").setValue(s[0].spec?.ssl_cert),this.serviceForm.get("ssl_key").setValue(s[0].spec?.ssl_key));break;case"rgw":this.serviceForm.get("rgw_frontend_port").setValue(s[0].spec?.rgw_frontend_port),this.getServiceIds("rgw",s[0].spec?.rgw_realm,s[0].spec?.rgw_zonegroup,s[0].spec?.rgw_zone),this.serviceForm.get("ssl").setValue(s[0].spec?.ssl),s[0].spec?.ssl&&this.serviceForm.get("ssl_cert").setValue(s[0].spec?.rgw_frontend_ssl_certificate);break;case"ingress":["backend_service","virtual_ip","frontend_port","monitor_port","virtual_interface_networks","ssl"].forEach(x=>{this.serviceForm.get(x).setValue(s[0].spec[x])}),s[0].spec?.ssl&&(this.serviceForm.get("ssl_cert").setValue(s[0].spec?.ssl_cert),this.serviceForm.get("ssl_key").setValue(s[0].spec?.ssl_key));break;case"snmp-gateway":["snmp_version","snmp_destination"].forEach(x=>{this.serviceForm.get(x).setValue(s[0].spec[x])}),"V3"===this.serviceForm.getValue("snmp_version")?["engine_id","auth_protocol","privacy_protocol","snmp_v3_auth_username","snmp_v3_auth_password","snmp_v3_priv_password"].forEach(Y=>{null!==Y&&("snmp_v3_auth_username"===Y||"snmp_v3_auth_password"===Y||"snmp_v3_priv_password"===Y?this.serviceForm.get(Y).setValue(s[0].spec.credentials[Y]):this.serviceForm.get(Y).setValue(s[0].spec[Y]))}):this.serviceForm.get("snmp_community").setValue(s[0].spec.credentials.snmp_community);break;case"grafana":this.serviceForm.get("grafana_port").setValue(s[0].spec.port),this.serviceForm.get("grafana_admin_password").setValue(s[0].spec.initial_admin_password)}}))}getDefaultsEntities(n,s,l){const _=this.realmList.find(le=>le.id===n),g=this.zonegroupList.find(le=>le.id===s),M=this.zoneList.find(le=>le.id===l),x=void 0!==_?_.name:null,Y=void 0!==g?g.name:"default",K=void 0!==M?M.name:"default";if("default"===Y&&!this.zonegroupNames.includes(Y)){const le=new au.iG;le.name="default",this.zonegroupList.push(le)}if("default"===K&&!this.zoneNames.includes(K)){const le=new au.jb;le.name="default",this.zoneList.push(le)}return{defaultRealmName:x,defaultZonegroupName:Y,defaultZoneName:K}}getServiceIds(n,s,l,_){if(this.serviceIds=this.serviceList?.filter(g=>g.service_type===n).map(g=>g.service_id),"rgw"===n){const g=[this.rgwRealmService.getAllRealmsInfo(),this.rgwZonegroupService.getAllZonegroupsInfo(),this.rgwZoneService.getAllZonesInfo()];this.sub=(0,Wa.D)(g).subscribe(M=>{if(this.multisiteInfo=M,this.realmList=void 0!==this.multisiteInfo[0]&&this.multisiteInfo[0].hasOwnProperty("realms")?this.multisiteInfo[0].realms:[],this.zonegroupList=void 0!==this.multisiteInfo[1]&&this.multisiteInfo[1].hasOwnProperty("zonegroups")?this.multisiteInfo[1].zonegroups:[],this.zoneList=void 0!==this.multisiteInfo[2]&&this.multisiteInfo[2].hasOwnProperty("zones")?this.multisiteInfo[2].zones:[],this.realmNames=this.realmList.map(x=>x.name),this.zonegroupNames=this.zonegroupList.map(x=>x.name),this.zoneNames=this.zoneList.map(x=>x.name),this.defaultRealmId=M[0].default_realm,this.defaultZonegroupId=M[1].default_zonegroup,this.defaultZoneId=M[2].default_zone,this.defaultsInfo=this.getDefaultsEntities(this.defaultRealmId,this.defaultZonegroupId,this.defaultZoneId),this.editing){if(s&&!this.realmNames.includes(s)){const x=new au.L6;x.name=s,this.realmList.push(x)}if(l&&!this.zonegroupNames.includes(l)){const x=new au.iG;x.name=l,this.zonegroupList.push(x)}if(_&&!this.zoneNames.includes(_)){const x=new au.jb;x.name=_,this.zoneList.push(x)}void 0===l&&void 0===_&&(l="default",_="default"),this.serviceForm.get("realm_name").setValue(s),this.serviceForm.get("zonegroup_name").setValue(l),this.serviceForm.get("zone_name").setValue(_)}else this.serviceForm.get("realm_name").setValue(this.defaultsInfo.defaultRealmName),this.serviceForm.get("zonegroup_name").setValue(this.defaultsInfo.defaultZonegroupName),this.serviceForm.get("zone_name").setValue(this.defaultsInfo.defaultZoneName);this.showRealmCreationForm=0===this.realmList.length},M=>{const x=new au.jb;x.name="default";const Y=new au.iG;Y.name="default",this.zoneList.push(x),this.zonegroupList.push(Y)})}}disableForEditing(n){"ingress"===(["service_type","service_id"].forEach(l=>{this.serviceForm.get(l).disable()}),n)&&this.serviceForm.get("backend_service").disable()}fileUpload(n,s){const l=n[0],_=new FileReader;_.addEventListener("load",g=>{const M=this.serviceForm.get(s);M.setValue(g.target.result),M.markAsDirty(),M.markAsTouched(),M.updateValueAndValidity()}),_.readAsText(l,"utf8")}prePopulateId(){const n=this.serviceForm.get("service_id"),s=this.serviceForm.getValue("backend_service");n.reset({value:s,disabled:!0})}onSubmit(){const n=this,s=this.serviceForm.getRawValue(),l=s.service_type;let _=`service/${Dr.MQ.CREATE}`;this.editing&&(_=`service/${Dr.MQ.EDIT}`);const g={service_type:l,placement:{},unmanaged:s.unmanaged};let M;"rgw"===l&&(g.rgw_realm=s.realm_name?s.realm_name:null,g.rgw_zonegroup="default"!==s.zonegroup_name?s.zonegroup_name:null,g.rgw_zone="default"!==s.zone_name?s.zone_name:null),M=s.service_id;const x=M;let Y=l;switch(Ke().isString(x)&&!Ke().isEmpty(x)&&(Y=`${l}.${x}`,g.service_id=x),l){case"ingress":g.backend_service=s.backend_service,g.service_id=s.backend_service,Ke().isNumber(s.frontend_port)&&s.frontend_port>0&&(g.frontend_port=s.frontend_port),Ke().isString(s.virtual_ip)&&!Ke().isEmpty(s.virtual_ip)&&(g.virtual_ip=s.virtual_ip.trim()),Ke().isNumber(s.monitor_port)&&s.monitor_port>0&&(g.monitor_port=s.monitor_port);break;case"iscsi":g.pool=s.pool;break;case"snmp-gateway":g.credentials={},g.snmp_version=s.snmp_version,g.snmp_destination=s.snmp_destination,"V3"===s.snmp_version?(g.engine_id=s.engine_id,g.auth_protocol=s.auth_protocol,g.credentials.snmp_v3_auth_username=s.snmp_v3_auth_username,g.credentials.snmp_v3_auth_password=s.snmp_v3_auth_password,null!==s.privacy_protocol&&(g.privacy_protocol=s.privacy_protocol,g.credentials.snmp_v3_priv_password=s.snmp_v3_priv_password)):g.credentials.snmp_community=s.snmp_community}if(!s.unmanaged){switch(s.placement){case"hosts":s.hosts.length>0&&(g.placement.hosts=s.hosts);break;case"label":g.placement.label=s.label}switch(Ke().isNumber(s.count)&&s.count>0&&(g.placement.count=s.count),l){case"rgw":Ke().isNumber(s.rgw_frontend_port)&&s.rgw_frontend_port>0&&(g.rgw_frontend_port=s.rgw_frontend_port),g.ssl=s.ssl,s.ssl&&(g.rgw_frontend_ssl_certificate=s.ssl_cert?.trim());break;case"iscsi":Ke().isString(s.trusted_ip_list)&&!Ke().isEmpty(s.trusted_ip_list)&&(g.trusted_ip_list=s.trusted_ip_list.trim()),Ke().isNumber(s.api_port)&&s.api_port>0&&(g.api_port=s.api_port),g.api_user=s.api_user,g.api_password=s.api_password,g.api_secure=s.ssl,s.ssl&&(g.ssl_cert=s.ssl_cert?.trim(),g.ssl_key=s.ssl_key?.trim());break;case"ingress":g.ssl=s.ssl,s.ssl&&(g.ssl_cert=s.ssl_cert?.trim(),g.ssl_key=s.ssl_key?.trim()),g.virtual_interface_networks=s.virtual_interface_networks;break;case"grafana":g.port=s.grafana_port,g.initial_admin_password=s.grafana_admin_password}}this.taskWrapperService.wrapTaskAroundCall({task:new ce.R(_,{service_name:Y}),call:this.editing?this.cephServiceService.update(g):this.cephServiceService.create(g)}).subscribe({error(){n.serviceForm.setErrors({cdSubmitButton:!0})},complete:()=>{"services"===this.pageURL?this.router.navigate([this.pageURL,{outlets:{modal:null}}]):this.activeModal.close()}})}clearValidations(){const n=this.serviceForm.getValue("snmp_version"),s=this.serviceForm.getValue("privacy_protocol");"V3"===n?this.serviceForm.get("snmp_community").clearValidators():(this.serviceForm.get("engine_id").clearValidators(),this.serviceForm.get("auth_protocol").clearValidators(),this.serviceForm.get("privacy_protocol").clearValidators(),this.serviceForm.get("snmp_v3_auth_username").clearValidators(),this.serviceForm.get("snmp_v3_auth_password").clearValidators()),null===s&&this.serviceForm.get("snmp_v3_priv_password").clearValidators()}createMultisiteSetup(){this.bsModalRef=this.modalService.show(Cv,{size:"lg"}),this.bsModalRef.componentInstance.submitAction.subscribe(()=>{this.getServiceIds("rgw")})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Dr.p4),e.Y36(eg),e.Y36(Xd.O),e.Y36(Dd.x),e.Y36(rg.q),e.Y36(Ce.F0),e.Y36(Gr.P),e.Y36(Xf.f),e.Y36(Dr.eu),e.Y36(Zu.y),e.Y36(Hg.K),e.Y36(Ah.g),e.Y36(tm.o),e.Y36(Ce.gz),e.Y36(Be.Kz),e.Y36(tc.Z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-service-form"]],viewQuery:function(n,s){if(1&n&&e.Gf(Be.dR,5),2&n){let l;e.iGM(l=e.CRH())&&(s.typeahead=l.first)}},inputs:{hiddenServices:"hiddenServices",editing:"editing",serviceName:"serviceName",serviceType:"serviceType"},features:[e.qOj],decls:48,vars:36,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He,Pe,W,It,Pt,Jt,dn,Un,ln,Xn,jn,Wr,Ur,di,Mi,Gn,pr,fr,Mr,Jn,ci,ho,Yi,lo,yi,qn,In,Ti,Ji,To,fs,Xo,Sa,Aa,to,No,Uo,rt,Ft,Nt,mr,Zr,ui,no,Ca,vs,Hl,Wl,$c,Nu,op,hc,yd,Gp,ah,w_,lh,Hc,ud,u_,fo,Rr,Bi,Oo,ls,Rs,Is,Gs,Qa,Il,gu,Cr,oo,Us,po,sa,Fs,Jc,ql,Yl,Cl,ul,vu,Qc,pf,Dp,mc,bf,ch,Rp,Lh,N_,Wm;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Type",s="-- Select a service type --",l="Unmanaged",_="If set to true, the orchestrator will not start nor stop any daemon associated with this service. Placement and all other properties will be ignored.",g="" + "\ufffd#2\ufffd" + " Click here" + "\ufffd/#2\ufffd" + " to create a new Realm/Zone Group/Zone ",M="This field is required.",x="Backend Service",Y="Loading...",K="-- No service available --",le="-- Select an existing service --",fe="This field is required.",ge="Id",Se="Used in the service name which is <service_type.service_id>",Ge="This field is required.",we="This service id is already in use.",He="MDS service id must start with a letter and contain alphanumeric characters or '.', '-', and '_'",Pe="Realm",W="-- No realm available --",It="Zone Group",Pt="Zone",Jt="Placement",dn="Hosts",Un="Label",ln="Label",Xn="This field is required.",jn="Hosts",Wr="Count",Ur="Only that number of daemons will be created.",di="The value must be at least 1.",Mi="The entered value needs to be a number.",Gn="Port",pr="The entered value needs to be a number.",fr="The value must be at least 1.",Mr="The value cannot exceed 65535.",Jn="Pool",ci="Loading...",ho="-- No pools available --",Yi="-- Select a pool --",lo="This field is required.",yi="Trusted IPs",qn="Comma separated list of IP addresses.",In="Please add the " + "\ufffd#11\ufffd" + "Ceph Manager" + "\ufffd/#11\ufffd" + " IP addresses here, otherwise the iSCSI gateways can't be reached.",Ti="Port",Ji="User",To="Password",fs="The entered value needs to be a number.",Xo="The value must be at least 1.",Sa="The value cannot exceed 65535.",Aa="This field is required.",to="This field is required.",No="Virtual IP",Uo="The virtual IP address and subnet (in CIDR notation) where the ingress service will be available.",rt="Frontend Port",Ft="The port used to access the ingress service.",Nt="Monitor Port",mr="The port used by haproxy for load balancer status.",Zr="This field is required.",ui="The entered value needs to be a number.",no="The value must be at least 1.",Ca="The value cannot exceed 65535.",vs="This field is required.",Hl="The entered value needs to be a number.",Wl="The value must be at least 1.",$c="The value cannot exceed 65535.",Nu="This field is required.",op="CIDR Networks",hc="A list of networks to identify which network interface to use for the virtual IP address.",yd="Version",Gp="-- Select SNMP version --",ah="Destination",w_="Must be of the format hostname:port.",lh="Credentials",Hc="This field is required.",ud="This field is required.",u_="The value does not match the pattern: " + "\ufffd#2\ufffd" + "hostname:port" + "\ufffd/#2\ufffd" + "",fo="Engine Id",Rr="Unique identifier for the device (in hex).",Bi="This field is required.",Oo="The value does not match the pattern: " + "\ufffd#2\ufffd" + "Must be in hexadecimal and length must be multiple of 2 with min value = 10 amd max value = 64." + "\ufffd/#2\ufffd" + "",ls="Auth Protocol",Rs="-- Select auth protocol --",Is="This field is required.",Gs="Privacy Protocol",Qa="-- Select privacy protocol --",Il="SNMP Community",gu="This field is required.",Cr="Username",oo="This field is required.",Us="Password",po="This field is required.",sa="Encryption",Fs="This field is required.",Jc="SSL",ql="Certificate",Yl="The SSL certificate in PEM format.",Cl="This field is required.",ul="Invalid SSL certificate.",vu="Private key",Qc="The SSL private key in PEM format.",pf="This field is required.",Dp="Invalid SSL private key.",mc="Grafana Port",bf="The default port used by grafana.",ch="" + "\ufffd#17\ufffd" + "Grafana Password" + "\ufffd/#17\ufffd" + "" + "\ufffd#18\ufffd" + "The password of the default Grafana Admin. Set once on first-run." + "\ufffd/#18\ufffd" + "",Rp="The entered value needs to be a number.",Lh="The value must be at least 1.",N_="The value cannot exceed 65535.",Wm="This field is required.",[[3,"pageURL","modalRef"],[1,"modal-title"],i,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],["type","info","spacingClass","mb-3",4,"ngIf"],[1,"form-group","row"],["for","service_type",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["id","service_type","name","service_type","formControlName","service_type",1,"form-select",3,"change"],[3,"ngValue"],s,[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],["class","form-group row",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","unmanaged","type","checkbox","formControlName","unmanaged",1,"custom-control-input"],["for","unmanaged",1,"custom-control-label"],l,_,[4,"ngIf"],[1,"modal-footer"],[1,"text-right"],[3,"form","submitText","submitActionEvent"],["type","info","spacingClass","mb-3"],g,[1,"text-decoration-underline",3,"click"],[3,"value"],[1,"invalid-feedback"],M,["for","backend_service",1,"cd-col-form-label",3,"ngClass"],x,["id","backend_service","name","backend_service","formControlName","backend_service",1,"form-select",3,"change"],[3,"ngValue",4,"ngIf"],Y,K,le,fe,["for","service_id",1,"cd-col-form-label",3,"ngClass"],ge,Se,["id","service_id","type","text","formControlName","service_id",1,"form-control"],Ge,we,He,["for","realm_name",1,"cd-col-form-label"],Pe,["id","realm_name","formControlName","realm_name","name","realm_name",1,"form-select"],["selected","",4,"ngIf"],["selected",""],W,["for","zonegroup_name",1,"cd-col-form-label"],It,["id","zonegroup_name","formControlName","zonegroup_name","name","zonegroup_name",1,"form-select"],["for","zone_name",1,"cd-col-form-label"],Pt,["id","zone_name","formControlName","zone_name","name","zone_name",1,"form-select"],["for","placement",1,"cd-col-form-label"],Jt,["id","placement","formControlName","placement",1,"form-select"],["value","hosts"],dn,["value","label"],Un,["for","label",1,"cd-col-form-label"],ln,["id","label","type","text","formControlName","label",1,"form-control",3,"ngbTypeahead","focus","click"],Xn,["for","hosts",1,"cd-col-form-label"],jn,["id","hosts",3,"data","options","messages"],["for","count",1,"cd-col-form-label"],Wr,Ur,["id","count","type","number","formControlName","count","min","1",1,"form-control"],di,Mi,["for","rgw_frontend_port",1,"cd-col-form-label"],Gn,["id","rgw_frontend_port","type","number","formControlName","rgw_frontend_port","min","1","max","65535",1,"form-control"],pr,fr,Mr,["for","pool",1,"cd-col-form-label","required"],Jn,["id","pool","name","pool","formControlName","pool",1,"form-select"],ci,ho,Yi,lo,["for","trusted_ip_list",1,"cd-col-form-label"],yi,qn,In,["id","trusted_ip_list","type","text","formControlName","trusted_ip_list",1,"form-control"],["for","api_port",1,"cd-col-form-label"],Ti,["id","api_port","type","number","formControlName","api_port","min","1","max","65535",1,"form-control"],["for","api_user",1,"cd-col-form-label",3,"ngClass"],Ji,["id","api_user","type","text","formControlName","api_user",1,"form-control"],["for","api_password",1,"cd-col-form-label",3,"ngClass"],To,[1,"input-group"],["id","api_password","type","password","autocomplete","new-password","formControlName","api_password",1,"form-control"],["type","button","cdPasswordButton","api_password",1,"btn","btn-light"],["source","api_password"],fs,Xo,Sa,Aa,to,["for","virtual_ip",1,"cd-col-form-label",3,"ngClass"],No,Uo,["id","virtual_ip","type","text","formControlName","virtual_ip",1,"form-control"],["for","frontend_port",1,"cd-col-form-label",3,"ngClass"],rt,Ft,["id","frontend_port","type","number","formControlName","frontend_port","min","1","max","65535",1,"form-control"],["for","monitor_port",1,"cd-col-form-label",3,"ngClass"],Nt,mr,["id","monitor_port","type","number","formControlName","monitor_port","min","1","max","65535",1,"form-control"],Zr,ui,no,Ca,vs,Hl,Wl,$c,Nu,["for","virtual_interface_networks",1,"cd-col-form-label"],op,hc,["id","virtual_interface_networks","type","text","formControlName","virtual_interface_networks",1,"form-control"],["for","snmp_version",1,"cd-col-form-label","required"],yd,["id","snmp_version","name","snmp_version","formControlName","snmp_version",1,"form-select",3,"change"],Gp,["for","snmp_destination",1,"cd-col-form-label","required"],ah,w_,["id","snmp_destination","type","text","formControlName","snmp_destination",1,"form-control"],lh,Hc,ud,u_,["for","engine_id",1,"cd-col-form-label","required"],fo,Rr,["id","engine_id","type","text","formControlName","engine_id",1,"form-control"],Bi,Oo,["for","auth_protocol",1,"cd-col-form-label","required"],ls,["id","auth_protocol","name","auth_protocol","formControlName","auth_protocol",1,"form-select"],Rs,Is,["for","privacy_protocol",1,"cd-col-form-label"],Gs,["id","privacy_protocol","name","privacy_protocol","formControlName","privacy_protocol",1,"form-select"],Qa,["for","snmp_community",1,"cd-col-form-label","required"],Il,["id","snmp_community","type","text","formControlName","snmp_community",1,"form-control"],gu,["for","snmp_v3_auth_username",1,"cd-col-form-label","required"],Cr,["id","snmp_v3_auth_username","type","text","formControlName","snmp_v3_auth_username",1,"form-control"],oo,["for","snmp_v3_auth_password",1,"cd-col-form-label","required"],Us,["id","snmp_v3_auth_password","type","password","formControlName","snmp_v3_auth_password",1,"form-control"],po,["for","snmp_v3_priv_password",1,"cd-col-form-label","required"],sa,["id","snmp_v3_priv_password","type","password","formControlName","snmp_v3_priv_password",1,"form-control"],Fs,["id","ssl","type","checkbox","formControlName","ssl",1,"custom-control-input"],["for","ssl",1,"custom-control-label"],Jc,["for","ssl_cert",1,"cd-col-form-label"],ql,Yl,["id","ssl_cert","formControlName","ssl_cert","rows","5",1,"form-control","resize-vertical","text-monospace","text-pre"],["type","file",3,"change"],Cl,ul,["for","ssl_key",1,"cd-col-form-label"],vu,Qc,["id","ssl_key","formControlName","ssl_key","rows","5",1,"form-control","resize-vertical","text-monospace","text-pre"],pf,Dp,["for","grafana_port",1,"cd-col-form-label"],mc,bf,["id","grafana_port","type","number","formControlName","grafana_port","min","1","max","65535",1,"form-control"],["for","grafana_admin_password",1,"cd-col-form-label"],ch,["id","grafana_admin_password","type","password","autocomplete","new-password","formControlName","grafana_admin_password",1,"form-control"],[1,"input-group-append"],["type","button","cdPasswordButton","grafana_admin_password",1,"btn","btn-light"],["source","grafana_admin_password"],Rp,Lh,N_,Wm]},template:function(n,s){if(1&n&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.qZA(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6),e.YNc(9,ig,3,0,"cd-alert-panel",7),e.TgZ(10,"div",8)(11,"label",9),e.SDv(12,10),e.qZA(),e.TgZ(13,"div",11)(14,"select",12),e.NdJ("change",function(_){return s.getServiceIds(_.target.value)}),e.TgZ(15,"option",13),e.SDv(16,14),e.qZA(),e.YNc(17,og,2,2,"option",15),e.qZA(),e.YNc(18,qf,2,0,"span",16),e.qZA()(),e.YNc(19,Ph,10,9,"div",17),e.YNc(20,Up,11,7,"div",17),e.YNc(21,Mv,7,3,"div",17),e.YNc(22,Bg,6,2,"div",17),e.YNc(23,Cf,6,2,"div",17),e.TgZ(24,"div",8)(25,"div",18)(26,"div",19),e._UZ(27,"input",20),e.TgZ(28,"label",21),e.SDv(29,22),e.qZA(),e.TgZ(30,"cd-helper"),e.SDv(31,23),e.qZA()()()(),e.YNc(32,mu,9,0,"div",17),e.YNc(33,Ov,6,2,"div",17),e.YNc(34,Wc,5,3,"div",17),e.YNc(35,Yg,10,2,"div",17),e.YNc(36,Hf,9,3,"ng-container",24),e.YNc(37,qd,10,5,"div",17),e.YNc(38,lg,37,13,"ng-container",24),e.YNc(39,Um,38,22,"ng-container",24),e.YNc(40,D_,31,13,"ng-container",24),e.YNc(41,C0,9,3,"ng-container",24),e.YNc(42,Fv,25,5,"ng-container",24),e.qZA(),e.TgZ(43,"div",25)(44,"div",26)(45,"cd-form-button-panel",27),e.NdJ("submitActionEvent",function(){return s.onSubmit()}),e.ALo(46,"titlecase"),e.ALo(47,"upperFirst"),e.qZA()()()(),e.BQk(),e.qZA()),2&n){const l=e.MAs(7);e.Q6J("pageURL",s.pageURL)("modalRef",s.activeModal),e.xp6(4),e.pQV(e.lcZ(3,27,s.action))(e.lcZ(4,29,s.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",s.serviceForm),e.xp6(3),e.Q6J("ngIf","rgw"===s.serviceForm.controls.service_type.value&&s.showRealmCreationForm),e.xp6(6),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",s.serviceTypes),e.xp6(1),e.Q6J("ngIf",s.serviceForm.showError("service_type",l,"required")),e.xp6(1),e.Q6J("ngIf","ingress"===s.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","snmp-gateway"!==s.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","rgw"===s.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","rgw"===s.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","rgw"===s.serviceForm.controls.service_type.value),e.xp6(9),e.Q6J("ngIf",!s.serviceForm.controls.unmanaged.value),e.xp6(1),e.Q6J("ngIf",!s.serviceForm.controls.unmanaged.value&&"label"===s.serviceForm.controls.placement.value),e.xp6(1),e.Q6J("ngIf",!s.serviceForm.controls.unmanaged.value&&"hosts"===s.serviceForm.controls.placement.value),e.xp6(1),e.Q6J("ngIf",!s.serviceForm.controls.unmanaged.value),e.xp6(1),e.Q6J("ngIf",!s.serviceForm.controls.unmanaged.value&&"rgw"===s.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","iscsi"===s.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf",!s.serviceForm.controls.unmanaged.value&&"iscsi"===s.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","ingress"===s.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","snmp-gateway"===s.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf",!s.serviceForm.controls.unmanaged.value&&e.DdM(35,wy).includes(s.serviceForm.controls.service_type.value)),e.xp6(1),e.Q6J("ngIf","grafana"===s.serviceForm.controls.service_type.value),e.xp6(3),e.Q6J("form",s.serviceForm)("submitText",e.lcZ(46,31,s.action)+" "+e.lcZ(47,33,s.resource))}},dependencies:[f.mk,f.sg,f.O5,je.S,J_.m,Kt.z,Hr.G,Bn.s,lt.p,$f.C,Ht.o,wn.b,ar.P,cr.V,se._Y,se.YN,se.Kr,se.Fj,se.wV,se.Wl,se.EJ,se.JJ,se.JL,se.qQ,se.Fd,se.sg,se.u,Be.dR,f.rS,_i.m]}),t})();function Gm(t,i){if(1&t&&(e.ynx(0),e._UZ(1,"cd-service-daemon-list",1),e.BQk()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("serviceName",n.selection.service_name)}}let tp=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-service-details"]],inputs:{permissions:"permissions",selection:"selection"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"serviceName"]],template:function(n,s){1&n&&e.YNc(0,Gm,2,1,"ng-container",0),2&n&&e.Q6J("ngIf",s.selection)},dependencies:[f.O5,f1]}),t})();const Ym=["runningTpl"];function M1(t,i){1&t&&e._UZ(0,"cd-orchestrator-doc-panel")}function nd(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"cd-table",3),e.NdJ("fetchData",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.getServices(l))})("setExpandedRow",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.setExpandedRow(l))})("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.updateSelection(l))}),e._UZ(2,"cd-table-actions",4)(3,"cd-service-details",5),e.qZA(),e.BQk()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("data",n.services)("columns",n.columns)("autoReload",5e3)("hasDetails",n.hasDetails)("serverSide",!0)("count",n.count),e.xp6(1),e.Q6J("permission",n.permissions.hosts)("selection",n.selection)("tableActions",n.tableActions),e.xp6(1),e.Q6J("permissions",n.permissions)("selection",n.expandedRow)}}const Wg=function(t){return[t]};function fg(t,i){if(1&t&&e._UZ(0,"i",8),2&t){const n=e.oxw(2);e.Q6J("ngClass",e.VKq(1,Wg,n.icons.warning))}}function pg(t,i){if(1&t&&(e.TgZ(0,"span",6),e._uU(1),e.qZA(),e.YNc(2,fg,1,3,"i",7)),2&t){const n=i.value;e.xp6(1),e.AsE(" ",n.running," / ",n.size," "),e.xp6(1),e.Q6J("ngIf",0==n.running||0==n.size)}}const Sm="services";let jm=(()=>{class t extends Oi.o{constructor(n,s,l,_,g,M,x,Y){super(),this.actionLabels=n,this.authStorageService=s,this.modalService=l,this.orchService=_,this.cephServiceService=g,this.relativeDatePipe=M,this.taskWrapperService=x,this.router=Y,this.hiddenColumns=[],this.hiddenServices=[],this.hasDetails=!0,this.routedModal=!0,this.showDocPanel=!1,this.count=0,this.actionOrchFeatures={create:[ad.SERVICE_CREATE],update:[ad.SERVICE_EDIT],delete:[ad.SERVICE_DELETE]},this.columns=[],this.services=[],this.isLoadingServices=!1,this.selection=new Kn.r,this.icons=ei.P,this.permissions=this.authStorageService.getPermissions(),this.tableActions=[{permission:"create",icon:ei.P.add,click:()=>this.openModal(),name:this.actionLabels.CREATE,canBePrimary:K=>!K.hasSelection},{permission:"update",icon:ei.P.edit,click:()=>this.openModal(!0),name:this.actionLabels.EDIT,disable:K=>this.getDisable("update",K)},{permission:"delete",icon:ei.P.destroy,click:()=>this.deleteAction(),name:this.actionLabels.DELETE,disable:K=>this.getDisable("delete",K)}]}openModal(n=!1){if(this.routedModal)this.router.navigate(n?[Sm,{outlets:{modal:[Dr.MQ.EDIT,this.selection.first().service_type,this.selection.first().service_name]}}]:[Sm,{outlets:{modal:[Dr.MQ.CREATE]}}]);else{let s={};s=n?{serviceName:this.selection.first()?.service_name,serviceType:this.selection?.first()?.service_type,hiddenServices:this.hiddenServices,editing:n}:{hiddenServices:this.hiddenServices,editing:n},this.bsModalRef=this.modalService.show(R_,s,{size:"lg"})}}ngOnInit(){const n=[{name:"Service",prop:"service_name",flexGrow:1},{name:"Placement",prop:"",pipe:new n_,flexGrow:2},{name:"Running",prop:"status",flexGrow:1,cellTemplate:this.runningTpl},{name:"Last Refreshed",prop:"status.last_refresh",pipe:this.relativeDatePipe,flexGrow:1}];this.columns=n.filter(s=>!this.hiddenColumns.includes(s.prop)),this.orchService.status().subscribe(s=>{this.orchStatus=s,this.showDocPanel=!s.available})}ngOnChanges(){this.orchStatus?.available&&(this.services=[],this.table.reloadData())}getDisable(n,s){return"delete"===n&&!s?.hasSingleSelection||"update"===n&&["osd","container"].indexOf(this.selection.first()?.service_type)>=0||this.orchService.getTableActionDisableDesc(this.orchStatus,this.actionOrchFeatures[n])}getServices(n){if(this.isLoadingServices)return;this.isLoadingServices=!0;const s=this.cephServiceService.list(n.toParams());s.observable.subscribe(l=>{this.services=l,this.count=s.count,this.services=this.services.filter(_=>!this.hiddenServices.includes(_.service_name)),this.isLoadingServices=!1},()=>{this.isLoadingServices=!1,this.services=[],n.error()})}updateSelection(n){this.selection=n}deleteAction(){const n=this.selection.first();this.modalService.show(Yo.M,{itemDescription:"Service",itemNames:[n.service_name],actionDescription:"delete",submitActionObservable:()=>this.taskWrapperService.wrapTaskAroundCall({task:new ce.R(`service/${Dr.MQ.DELETE}`,{service_name:n.service_name}),call:this.cephServiceService.delete(n.service_name)}).pipe((0,kg.g)(5e3))})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Dr.p4),e.Y36(fa.j),e.Y36(tc.Z),e.Y36(sd),e.Y36(eg),e.Y36($p.h),e.Y36(Gr.P),e.Y36(Ce.F0))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-services"]],viewQuery:function(n,s){if(1&n&&(e.Gf(Ol.a,7),e.Gf(Ym,7)),2&n){let l;e.iGM(l=e.CRH())&&(s.table=l.first),e.iGM(l=e.CRH())&&(s.runningTpl=l.first)}},inputs:{hostname:"hostname",hiddenColumns:"hiddenColumns",hiddenServices:"hiddenServices",hasDetails:"hasDetails",routedModal:"routedModal"},features:[e._Bn([{provide:zr.F,useValue:new zr.F(Sm)}]),e.qOj,e.TTD],decls:5,vars:2,consts:[[4,"ngIf"],["name","modal"],["runningTpl",""],["identifier","service_name","forceIdentifier","true","columnMode","flex","selectionType","single",3,"data","columns","autoReload","hasDetails","serverSide","count","fetchData","setExpandedRow","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"permissions","selection"],["ngbTooltip","Service instances running out of the total number of services requested."],["class","icon-warning-color",3,"ngClass",4,"ngIf"],[1,"icon-warning-color",3,"ngClass"]],template:function(n,s){1&n&&(e.YNc(0,M1,1,0,"cd-orchestrator-doc-panel",0),e.YNc(1,nd,4,11,"ng-container",0),e._UZ(2,"router-outlet",1),e.YNc(3,pg,3,3,"ng-template",null,2,e.W1O)),2&n&&(e.Q6J("ngIf",s.showDocPanel),e.xp6(1),e.Q6J("ngIf",null==s.orchStatus?null:s.orchStatus.available))},dependencies:[f.mk,f.O5,qp,Ol.a,il.K,Ce.lC,Be._L,tp]}),t})();var rh=(()=>{return(t=rh||(rh={})).COST_CAPACITY="cost_capacity",t.THROUGHPUT="throughput_optimized",t.IOPS="iops_optimized",rh;var t})();let _g=(()=>{class t{constructor(n,s,l,_,g){this.activeModal=n,this.actionLabels=s,this.formBuilder=l,this.osdService=_,this.taskWrapper=g,this.driveGroups=[],this.submitAction=new e.vpe,this.action=s.CREATE,this.createForm()}createForm(){this.formGroup=this.formBuilder.group({})}onSubmit(){const n=Ke().join(Ke().map(this.driveGroups,"service_id"),", ");this.taskWrapper.wrapTaskAroundCall({task:new ce.R("osd/"+Dr.MQ.CREATE,{tracking_id:n}),call:this.osdService.create(this.driveGroups,n)}).subscribe({error:()=>{this.formGroup.setErrors({cdSubmitButton:!0})},complete:()=>{this.submitAction.emit(),this.activeModal.close()}})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.Kz),e.Y36(Dr.p4),e.Y36(Xd.O),e.Y36(md),e.Y36(Gr.P))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-creation-preview-modal"]],inputs:{driveGroups:"driveGroups"},outputs:{submitAction:"submitAction"},decls:15,vars:9,consts:function(){let i,n;return i="OSD creation preview",n="DriveGroups",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],n,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"]]},template:function(n,s){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"h4"),e.SDv(8,7),e.qZA(),e.TgZ(9,"pre"),e._uU(10),e.ALo(11,"json"),e.qZA()(),e.TgZ(12,"div",8)(13,"cd-form-button-panel",9),e.NdJ("submitActionEvent",function(){return s.onSubmit()}),e.ALo(14,"titlecase"),e.qZA()()(),e.BQk(),e.qZA()),2&n&&(e.Q6J("modalRef",s.activeModal),e.xp6(4),e.Q6J("formGroup",s.formGroup),e.xp6(6),e.Oqu(e.lcZ(11,5,s.driveGroups)),e.xp6(3),e.Q6J("form",s.formGroup)("submitText",e.lcZ(14,7,s.action)))},dependencies:[Kt.z,lt.p,cr.V,se._Y,se.JL,se.sg,f.Ts,f.rS]}),t})();const Cm=["inventoryDevices"];function hg(t,i){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.hij(" ",n," ")}}function mg(t,i){if(1&t&&(e.TgZ(0,"cd-alert-panel",13),e.ynx(1),e.SDv(2,14),e.BQk(),e.YNc(3,hg,2,1,"span",15),e.qZA()),2&t){const n=e.oxw();e.Q6J("showTitle",!1),e.xp6(3),e.Q6J("ngForOf",n.requiredFilters)}}function M0(t,i){if(1&t&&(e.TgZ(0,"div")(1,"p",17)(2,"span"),e.SDv(3,18),e.ALo(4,"dimlessBinary"),e.qZA()()()),2&t){const n=e.oxw();e.xp6(4),e.pQV(n.filteredDevices.length)(e.lcZ(4,2,n.capacity)),e.QtT(3)}}const O0=function(){return["available","osd_ids"]};let Lv=(()=>{class t{constructor(n,s,l,_,g){this.formBuilder=n,this.cdRef=s,this.activeModal=l,this.actionLabels=_,this.wizardStepService=g,this.submitAction=new e.vpe,this.icons=ei.P,this.filterColumns=[],this.devices=[],this.filteredDevices=[],this.capacity=0,this.canSubmit=!1,this.requiredFilters=[],this.action=_.ADD,this.createForm()}ngAfterViewInit(){const n=Ke().filter(this.inventoryDevices.columns,s=>this.filterColumns.includes(s.prop)&&"hostname"!==s.prop);setTimeout(()=>{this.requiredFilters=Ke().map(n,"name")},0)}createForm(){this.formGroup=this.formBuilder.group({})}onFilterChange(n){if(this.capacity=0,this.canSubmit=!1,Ke().isEmpty(n.filters))this.filteredDevices=[],this.event=void 0;else{const s=n.filters.filter(l=>"hostname"!==l.prop);this.canSubmit=!Ke().isEmpty(s),this.filteredDevices=n.data,this.capacity=Ke().sumBy(this.filteredDevices,"sys_api.size"),this.event=n}this.cdRef.detectChanges()}onSubmit(){this.submitAction.emit(this.event),this.activeModal.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Xd.O),e.Y36(e.sBO),e.Y36(Be.Kz),e.Y36(Dr.p4),e.Y36(Ff))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-devices-selection-modal"]],viewQuery:function(n,s){if(1&n&&e.Gf(Cm,5),2&n){let l;e.iGM(l=e.CRH())&&(s.inventoryDevices=l.first)}},outputs:{submitAction:"submitAction"},decls:14,vars:16,consts:function(){let i,n,s;return i="" + "\ufffd0\ufffd" + " devices",n="At least one of these filters must be applied in order to proceed:",s="Number of devices: " + "\ufffd0\ufffd" + ". Raw capacity: " + "\ufffd1\ufffd" + ".",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],["type","warning","size","slim",3,"showTitle",4,"ngIf"],[3,"devices","filterColumns","hostname","diskType","hiddenColumns","filterChange"],["inventoryDevices",""],[4,"ngIf"],[1,"modal-footer"],[3,"form","disabled","submitText","submitActionEvent"],["type","warning","size","slim",3,"showTitle"],n,["class","badge badge-dark ms-2",4,"ngFor","ngForOf"],[1,"badge","badge-dark","ms-2"],[1,"text-center"],s]},template:function(n,s){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6),e.YNc(7,mg,4,2,"cd-alert-panel",7),e.TgZ(8,"cd-inventory-devices",8,9),e.NdJ("filterChange",function(_){return s.onFilterChange(_)}),e.qZA(),e.YNc(10,M0,5,4,"div",10),e.qZA(),e.TgZ(11,"div",11)(12,"cd-form-button-panel",12),e.NdJ("submitActionEvent",function(){return s.onSubmit()}),e.ALo(13,"titlecase"),e.qZA()()(),e.BQk(),e.qZA()),2&n&&(e.Q6J("modalRef",s.activeModal),e.xp6(2),e.pQV(s.deviceType),e.QtT(2),e.xp6(2),e.Q6J("formGroup",s.formGroup),e.xp6(3),e.Q6J("ngIf",!s.canSubmit),e.xp6(1),e.Q6J("devices",s.devices)("filterColumns",s.filterColumns)("hostname",s.hostname)("diskType",s.diskType)("hiddenColumns",e.DdM(15,O0)),e.xp6(2),e.Q6J("ngIf",s.canSubmit),e.xp6(2),e.Q6J("form",s.formGroup)("disabled",!s.canSubmit||0===s.filteredDevices.length)("submitText",e.lcZ(13,13,s.action)))},dependencies:[f.sg,f.O5,Kt.z,Hr.G,lt.p,cr.V,se._Y,se.JL,se.sg,Qh,f.rS,xa.$]}),t})();function A0(t,i){1&t&&(e.TgZ(0,"span"),e.SDv(1,7),e.qZA())}function D0(t,i){1&t&&(e.TgZ(0,"span"),e.SDv(1,8),e.qZA())}function R0(t,i){1&t&&(e.TgZ(0,"span"),e.SDv(1,9),e.qZA())}const Jg=function(t){return[t]};function O1(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"button",10),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.showSelectionModal())}),e._UZ(2,"i",11),e.ynx(3),e.SDv(4,12),e.BQk(),e.qZA(),e.BQk()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("title",n.addButtonTooltip)("disabled",0===n.availDevices.length||!n.canSelect||n.expansionCanSelect),e.xp6(1),e.Q6J("ngClass",e.VKq(3,Jg,n.icons.add))}}function P0(t,i){if(1&t&&(e.TgZ(0,"span")(1,"span",19),e._uU(2),e.qZA()()),2&t){const n=i.$implicit;e.xp6(2),e.AsE("",n.name,": ",n.value.formatted,"")}}function Ny(t,i){if(1&t&&(e.TgZ(0,"div",20)(1,"span"),e.SDv(2,21),e.ALo(3,"dimlessBinary"),e.qZA()()),2&t){const n=e.oxw(2);e.xp6(3),e.pQV(e.lcZ(3,1,n.capacity)),e.QtT(2)}}const Iy=function(){return["available","osd_ids"]},x0=function(){return[]};function Fy(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",13),e.YNc(1,P0,3,2,"span",14),e.TgZ(2,"a",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().clearDevices(),e.KtG(!1)}),e._UZ(3,"i",11),e.ynx(4),e.SDv(5,16),e.BQk(),e.qZA()(),e.TgZ(6,"div"),e._UZ(7,"cd-inventory-devices",17),e.qZA(),e.YNc(8,Ny,4,3,"div",18)}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.appliedFilters),e.xp6(2),e.Q6J("ngClass",e.VKq(6,Jg,n.icons.clearFilters)),e.xp6(4),e.Q6J("devices",n.devices)("hiddenColumns",e.DdM(8,Iy))("filterColumns",e.DdM(9,x0)),e.xp6(1),e.Q6J("ngIf","data"===n.type)}}let w0=(()=>{class t{constructor(n,s,l){this.modalService=n,this.osdService=s,this.router=l,this.selected=new e.vpe,this.cleared=new e.vpe,this.icons=ei.P,this.devices=[],this.capacity=0,this.appliedFilters=new Array,this.expansionCanSelect=!1,this.tooltips={noAvailDevices:"No available devices",addPrimaryFirst:"Please add primary devices first",addByFilters:"Add devices by using filters"},this.isOsdPage=this.router.url.includes("/osd")}ngOnInit(){this.isOsdPage||(this.devices=this.osdService?.osdDevices[this.type]?this.osdService.osdDevices[this.type]:[],this.capacity=Ke().sumBy(this.devices,"sys_api.size"),this.expansionCanSelect=!!this.osdService?.osdDevices&&this.osdService?.osdDevices.disableSelect),this.updateAddButtonTooltip()}ngOnChanges(){this.updateAddButtonTooltip()}showSelectionModal(){this.modalService.show(Lv,{hostname:this.hostname,deviceType:this.name,diskType:"Primary"===this.name?"hdd":"ssd",devices:this.availDevices,filterColumns:["hostname","human_readable_type","sys_api.vendor","sys_api.model","sys_api.size"]},{size:"xl"}).componentInstance.submitAction.subscribe(g=>{this.devices=g.data,this.capacity=Ke().sumBy(this.devices,"sys_api.size"),this.appliedFilters=g.filters;const M=Ke().assign({type:this.type},g);this.isOsdPage||(this.osdService.osdDevices[this.type]=this.devices,this.osdService.osdDevices.disableSelect=this.canSelect||this.devices.length===this.availDevices.length,this.osdService.osdDevices[this.type].capacity=this.capacity),this.selected.emit(M)})}updateAddButtonTooltip(){this.addButtonTooltip="data"===this.type&&0===this.availDevices.length?this.tooltips.noAvailDevices:this.canSelect?0===this.availDevices.length?this.tooltips.noAvailDevices:this.tooltips.addByFilters:this.tooltips.addPrimaryFirst}clearDevices(){this.isOsdPage||(this.expansionCanSelect=!1,this.osdService.osdDevices.disableSelect=!1,this.osdService.osdDevices=[]);const n={type:this.type,clearedDevices:[...this.devices]};this.devices=[],this.cleared.emit(n)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(tc.Z),e.Y36(md),e.Y36(Ce.F0))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-devices-selection-groups"]],inputs:{type:"type",name:"name",hostname:"hostname",availDevices:"availDevices",canSelect:"canSelect"},outputs:{selected:"selected",cleared:"cleared"},features:[e.TTD],decls:12,vars:6,consts:function(){let i,n,s,l,_,g,M;return i="" + "\ufffd0\ufffd" + " devices",n="The primary storage devices. These devices contain all OSD data.",s="Write-Ahead-Log devices. These devices are used for BlueStore\u2019s internal journal. It is only useful to use a WAL device if the device is faster than the primary device (e.g. NVME devices or SSDs). If there is only a small amount of fast storage available (e.g., less than a gigabyte), we recommend using it as a WAL device.",l="DB devices can be used for storing BlueStore\u2019s internal metadata. It is only helpful to provision a DB device if it is faster than the primary device (e.g. NVME devices or SSD).",_="Add",g="Clear",M="Raw capacity: " + "\ufffd0\ufffd" + "",[[1,"form-group","row"],["for","createDeleteButton",1,"cd-col-form-label"],i,[4,"ngIf"],[1,"cd-col-form-input"],[4,"ngIf","ngIfElse"],["blockClearDevices",""],n,s,l,["type","button","data-toggle","tooltip",1,"btn","btn-light",3,"title","disabled","click"],[3,"ngClass"],_,[1,"pb-2","my-2","border-bottom"],[4,"ngFor","ngForOf"],["href","",1,"tc_clearSelections",3,"click"],g,[3,"devices","hiddenColumns","filterColumns"],["class","float-end",4,"ngIf"],[1,"badge","badge-dark","me-2"],[1,"float-end"],M]},template:function(n,s){if(1&n&&(e.TgZ(0,"div",0)(1,"label",1),e.ynx(2),e.SDv(3,2),e.BQk(),e.TgZ(4,"cd-helper"),e.YNc(5,A0,2,0,"span",3),e.YNc(6,D0,2,0,"span",3),e.YNc(7,R0,2,0,"span",3),e.qZA()(),e.TgZ(8,"div",4),e.YNc(9,O1,5,5,"ng-container",5),e.YNc(10,Fy,9,10,"ng-template",null,6,e.W1O),e.qZA()()),2&n){const l=e.MAs(11);e.xp6(3),e.pQV(s.name),e.QtT(3),e.xp6(2),e.Q6J("ngIf","data"===s.type),e.xp6(1),e.Q6J("ngIf","wal"===s.type),e.xp6(1),e.Q6J("ngIf","db"===s.type),e.xp6(2),e.Q6J("ngIf",0===s.devices.length)("ngIfElse",l)}},dependencies:[f.mk,f.sg,f.O5,je.S,Ht.o,ar.P,Qh,xa.$],styles:[".tc_clearSelections[_ngcontent-%COMP%]{text-decoration:none}"]}),t})();const kv=["dataDeviceSelectionGroups"],$v=["walDeviceSelectionGroups"],Ly=["dbDeviceSelectionGroups"],A1=["previewButtonPanel"];function D1(t,i){1&t&&e._UZ(0,"cd-orchestrator-doc-panel")}function Hv(t,i){if(1&t&&(e.TgZ(0,"div",33),e.SDv(1,34),e.ALo(2,"titlecase"),e.ALo(3,"upperFirst"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(3),e.pQV(e.lcZ(2,2,n.action))(e.lcZ(3,4,n.resource)),e.QtT(1)}}function ky(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",35),e.SDv(1,36),e.qZA())}function R1(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",37)(1,"div",38)(2,"input",39),e.NdJ("change",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.emitDeploymentSelection())}),e.qZA(),e.TgZ(3,"label",40),e.tHW(4,41),e.TgZ(5,"cd-helper"),e._UZ(6,"span"),e.qZA(),e.N_p(),e.qZA()()()}if(2&t){const n=i.$implicit,s=e.oxw(2);e.xp6(2),e.Q6J("id",n)("value",n),e.uIk("disabled",null==s.deploymentOptions||!s.deploymentOptions.options[n].available||null),e.xp6(1),e.Q6J("id","label_"+n)("for",n),e.xp6(3),e.pQV(null==s.deploymentOptions?null:s.deploymentOptions.options[n].title)((null==s.deploymentOptions?null:s.deploymentOptions.recommended_option)===n?"(Recommended)":"")(null==s.deploymentOptions?null:s.deploymentOptions.options[n].desc),e.QtT(4)}}function P1(t,i){1&t&&(e.TgZ(0,"span",50),e.SDv(1,51),e.qZA())}function Uv(t,i){if(1&t&&(e.TgZ(0,"div",42)(1,"label",43),e.ynx(2),e.SDv(3,44),e.BQk(),e.TgZ(4,"cd-helper")(5,"span"),e.SDv(6,45),e.qZA(),e._UZ(7,"br"),e.TgZ(8,"span"),e.SDv(9,46),e.qZA()()(),e.TgZ(10,"div",47),e._UZ(11,"input",48),e.YNc(12,P1,2,0,"span",49),e.qZA()()),2&t){e.oxw();const n=e.MAs(4),s=e.oxw();e.xp6(12),e.Q6J("ngIf",s.form.showError("walSlots",n,"min"))}}function N0(t,i){1&t&&(e.TgZ(0,"span",50),e.SDv(1,57),e.qZA())}function Bv(t,i){if(1&t&&(e.TgZ(0,"div",42)(1,"label",52),e.ynx(2),e.SDv(3,53),e.BQk(),e.TgZ(4,"cd-helper")(5,"span"),e.SDv(6,54),e.qZA(),e._UZ(7,"br"),e.TgZ(8,"span"),e.SDv(9,55),e.qZA()()(),e.TgZ(10,"div",47),e._UZ(11,"input",56),e.YNc(12,N0,2,0,"span",49),e.qZA()()),2&t){e.oxw();const n=e.MAs(4),s=e.oxw();e.xp6(12),e.Q6J("ngIf",s.form.showError("dbSlots",n,"min"))}}function I0(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",58)(1,"input",59),e.NdJ("change",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.emitDeploymentSelection())}),e.qZA(),e.TgZ(2,"label",60),e._uU(3),e.qZA()()}if(2&t){const n=i.$implicit;e.xp6(1),e.s9C("id",n.key),e.s9C("name",n.key),e.s9C("formControlName",n.key),e.xp6(1),e.s9C("for",n.key),e.xp6(1),e.Oqu(n.desc)}}function F0(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",61)(1,"cd-form-button-panel",62,63),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.submit())}),e.qZA()()}if(2&t){e.oxw();const n=e.MAs(23),s=e.oxw();e.xp6(1),e.Q6J("form",s.form)("disabled",0===n.devices.length&&!s.simpleDeployment)("submitText",s.simpleDeployment?"Create OSDs":s.actionLabels.PREVIEW)}}const x1=function(t){return{collapsed:t}},O=function(t){return{show:t}};function G(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",2),e.YNc(1,Hv,4,6,"div",3),e.TgZ(2,"div",4)(3,"form",5,6),e.YNc(5,ky,2,0,"cd-alert-panel",7),e.TgZ(6,"div",8)(7,"div",9)(8,"h2",10)(9,"button",11),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.emitDeploymentMode())}),e.SDv(10,12),e.qZA()()(),e.TgZ(11,"div",13)(12,"div",14),e.YNc(13,R1,7,8,"div",15),e.qZA()(),e.TgZ(14,"div",9)(15,"h2",10)(16,"button",16),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.emitDeploymentMode())}),e.SDv(17,17),e.qZA()()(),e.TgZ(18,"div",13)(19,"div",14)(20,"div",18)(21,"fieldset")(22,"cd-osd-devices-selection-groups",19,20),e.NdJ("selected",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.onDevicesSelected(l))})("cleared",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.onDevicesCleared(l))}),e.qZA()(),e.TgZ(24,"fieldset")(25,"legend"),e.SDv(26,21),e.qZA(),e.TgZ(27,"cd-osd-devices-selection-groups",22,23),e.NdJ("selected",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.onDevicesSelected(l))})("cleared",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.onDevicesCleared(l))}),e.qZA(),e.YNc(29,Uv,13,1,"div",24),e.TgZ(30,"cd-osd-devices-selection-groups",25,26),e.NdJ("selected",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.onDevicesSelected(l))})("cleared",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.onDevicesCleared(l))}),e.qZA(),e.YNc(32,Bv,13,1,"div",24),e.qZA()()()(),e.TgZ(33,"div",9)(34,"h2",10)(35,"button",27),e.SDv(36,28),e.qZA()()(),e.TgZ(37,"div",29)(38,"div",14)(39,"div",30),e.YNc(40,I0,4,5,"div",31),e.qZA()()()()()(),e.YNc(41,F0,3,3,"div",32),e.qZA()}if(2&t){const n=e.MAs(23),s=e.MAs(28),l=e.MAs(31),_=e.oxw();e.xp6(1),e.Q6J("ngIf",!_.hideTitle),e.xp6(2),e.Q6J("formGroup",_.form),e.xp6(2),e.Q6J("ngIf",!(null!=_.deploymentOptions&&_.deploymentOptions.recommended_option)),e.xp6(4),e.Q6J("ngClass",e.VKq(20,x1,!_.simpleDeployment)),e.xp6(2),e.Q6J("ngClass",e.VKq(22,O,_.simpleDeployment)),e.xp6(2),e.Q6J("ngForOf",_.optionNames),e.xp6(3),e.Q6J("ngClass",e.VKq(24,x1,_.simpleDeployment)),e.xp6(2),e.Q6J("ngClass",e.VKq(26,O,!_.simpleDeployment)),e.xp6(4),e.Q6J("availDevices",_.availDevices)("canSelect",0!==_.availDevices.length),e.xp6(5),e.Q6J("availDevices",_.availDevices)("canSelect",0!==n.devices.length)("hostname",_.hostname),e.xp6(2),e.Q6J("ngIf",0!==s.devices.length),e.xp6(1),e.Q6J("availDevices",_.availDevices)("canSelect",0!==n.devices.length)("hostname",_.hostname),e.xp6(2),e.Q6J("ngIf",0!==l.devices.length),e.xp6(8),e.Q6J("ngForOf",_.featureList),e.xp6(1),e.Q6J("ngIf",!_.hideSubmitBtn)}}let ye=(()=>{class t extends de.E{constructor(n,s,l,_,g,M,x,Y){super(),this.actionLabels=n,this.authStorageService=s,this.orchService=l,this.hostService=_,this.router=g,this.modalService=M,this.osdService=x,this.taskWrapper=Y,this.hideTitle=!1,this.hideSubmitBtn=!1,this.emitDriveGroup=new e.vpe,this.emitDeploymentOption=new e.vpe,this.emitMode=new e.vpe,this.icons=ei.P,this.columns=[],this.allDevices=[],this.availDevices=[],this.dataDeviceFilters=[],this.dbDeviceFilters=[],this.walDeviceFilters=[],this.hostname="",this.driveGroup=new yh,this.featureList=[],this.hasOrchestrator=!0,this.simpleDeployment=!0,this.optionNames=Object.values(rh),this.resource="OSDs",this.action=this.actionLabels.CREATE,this.features={encrypted:{key:"encrypted",desc:"Encryption"}},this.featureList=Ke().map(this.features,(K,le)=>Object.assign(K,{key:le})),this.createForm()}ngOnInit(){this.orchService.status().subscribe(n=>{this.hasOrchestrator=n.available,n.available?this.getDataDevices():this.loadingNone()}),this.osdService.getDeploymentOptions().subscribe(n=>{this.deploymentOptions=n,this.form.get("deploymentOption").setValue(this.deploymentOptions?.recommended_option),this.deploymentOptions?.recommended_option&&this.enableFeatures()}),this.form.get("walSlots").valueChanges.subscribe(n=>this.setSlots("wal",n)),this.form.get("dbSlots").valueChanges.subscribe(n=>this.setSlots("db",n)),Ke().each(this.features,n=>{this.form.get("features").get(n.key).valueChanges.subscribe(s=>this.featureFormUpdate(n.key,s))})}createForm(){this.form=new Fe.d({walSlots:new se.p4(0),dbSlots:new se.p4(0),features:new Fe.d(this.featureList.reduce((n,s)=>(n[s.key]=new se.p4({value:!1,disabled:!0}),n),{})),deploymentOption:new se.p4(0)})}getDataDevices(){this.hostService.inventoryDeviceList().subscribe(n=>{this.allDevices=Ke().filter(n,"available"),this.availDevices=[...this.allDevices],this.loadingReady()},()=>{this.allDevices=[],this.availDevices=[],this.loadingError()})}setSlots(n,s){"number"==typeof s&&s>=0&&this.driveGroup.setSlots(n,s)}featureFormUpdate(n,s){this.driveGroup.setFeature(n,s)}enableFeatures(){this.featureList.forEach(n=>{this.form.get(n.key).enable({emitEvent:!1})})}disableFeatures(){this.featureList.forEach(n=>{const s=this.form.get(n.key);s.disable({emitEvent:!1}),s.setValue(!1,{emitEvent:!1})})}onDevicesSelected(n){if(this.availDevices=n.dataOut,"data"===n.type){const s=Ke().find(n.filters,{prop:"hostname"});s?(this.hostname=s.value.raw,this.availDevices=n.dataOut.filter(l=>l.hostname===this.hostname),this.driveGroup.setHostPattern(this.hostname)):this.driveGroup.setHostPattern("*"),this.enableFeatures()}this.driveGroup.setDeviceSelection(n.type,n.filters),this.emitDriveGroup.emit(this.driveGroup)}onDevicesCleared(n){"data"===n.type?(this.hostname="",this.availDevices=[...this.allDevices],this.walDeviceSelectionGroups.devices=[],this.dbDeviceSelectionGroups.devices=[],this.disableFeatures(),this.driveGroup.reset(),this.form.get("walSlots").setValue(0,{emitEvent:!1}),this.form.get("dbSlots").setValue(0,{emitEvent:!1})):(this.availDevices=[...this.availDevices,...n.clearedDevices],this.driveGroup.clearDeviceSelection(n.type),this.form.get(`${n.type}Slots`).setValue(0,{emitEvent:!1}))}emitDeploymentSelection(){const n=this.form.get("deploymentOption").value,s=this.form.get("encrypted").value;this.emitDeploymentOption.emit({option:n,encrypted:s})}emitDeploymentMode(){this.simpleDeployment=!this.simpleDeployment,this.simpleDeployment||0!==this.dataDeviceSelectionGroups.devices.length?this.enableFeatures():this.disableFeatures(),this.emitMode.emit(this.simpleDeployment)}submit(){if(this.simpleDeployment){const l={option:this.form.get("deploymentOption").value,encrypted:this.form.get("encrypted").value},g=`${this.deploymentOptions.options[l.option].title} deployment`;this.taskWrapper.wrapTaskAroundCall({task:new ce.R("osd/"+Dr.MQ.CREATE,{tracking_id:g}),call:this.osdService.create([l],g,"predefined")}).subscribe({complete:()=>{this.router.navigate(["/osd"])}})}else{const n=this.authStorageService.getUsername();this.driveGroup.setName(`dashboard-${n}-${Ke().now()}`),this.modalService.show(_g,{driveGroups:[this.driveGroup.spec]}).componentInstance.submitAction.subscribe(()=>{this.router.navigate(["/osd"])}),this.previewButtonPanel.submitButton.loading=!1}}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Dr.p4),e.Y36(fa.j),e.Y36(sd),e.Y36(Dd.x),e.Y36(Ce.F0),e.Y36(tc.Z),e.Y36(md),e.Y36(Gr.P))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-form"]],viewQuery:function(n,s){if(1&n&&(e.Gf(kv,5),e.Gf($v,5),e.Gf(Ly,5),e.Gf(A1,5)),2&n){let l;e.iGM(l=e.CRH())&&(s.dataDeviceSelectionGroups=l.first),e.iGM(l=e.CRH())&&(s.walDeviceSelectionGroups=l.first),e.iGM(l=e.CRH())&&(s.dbDeviceSelectionGroups=l.first),e.iGM(l=e.CRH())&&(s.previewButtonPanel=l.first)}},inputs:{hideTitle:"hideTitle",hideSubmitBtn:"hideSubmitBtn"},outputs:{emitDriveGroup:"emitDriveGroup",emitDeploymentOption:"emitDeploymentOption",emitMode:"emitMode"},features:[e.qOj],decls:2,vars:2,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge;return i="Deployment Options",n="Advanced Mode",s="Shared devices",l="Features",_="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",g=" No devices(HDD, SSD or NVME) were found. Creation of OSDs will remain disabled until devices are added. ",M="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + " " + "\ufffd#5\ufffd" + "" + "\ufffd#6\ufffd" + "" + "\ufffd2\ufffd" + "" + "\ufffd/#6\ufffd" + "" + "\ufffd/#5\ufffd" + "",x="WAL slots",Y="How many OSDs per WAL device.",K="Specify 0 to let Orchestrator backend decide it.",le="Value should be greater than or equal to 0",fe="DB slots",ge="How many OSDs per DB device.",Se="Specify 0 to let Orchestrator backend decide it.",Ge="Value should be greater than or equal to 0",[[4,"ngIf"],["class","card",4,"cdFormLoading"],[1,"card"],["class","card-header",4,"ngIf"],[1,"card-body","ms-2"],["name","form","novalidate","",3,"formGroup"],["formDir","ngForm"],["type","warning","class","mx-3",4,"ngIf"],[1,"accordion"],[1,"accordion-item"],[1,"accordion-header"],["type","button","data-toggle","collapse","aria-label","toggle deployment options",1,"accordion-button",3,"ngClass","click"],i,[1,"accordion-collapse","collapse",3,"ngClass"],[1,"accordion-body"],["class","pt-3 pb-3",4,"ngFor","ngForOf"],["type","button","aria-label","toggle advanced mode",1,"accordion-button",3,"ngClass","click"],n,[1,"card-body"],["name","Primary","type","data",3,"availDevices","canSelect","selected","cleared"],["dataDeviceSelectionGroups",""],s,["name","WAL","type","wal",3,"availDevices","canSelect","hostname","selected","cleared"],["walDeviceSelectionGroups",""],["class","form-group row",4,"ngIf"],["name","DB","type","db",3,"availDevices","canSelect","hostname","selected","cleared"],["dbDeviceSelectionGroups",""],["type","button","data-toggle","collapse","aria-label","features","aria-expanded","true",1,"accordion-button"],l,[1,"accordion-collapse","collapse","show"],["formGroupName","features",1,"pt-3","pb-3"],["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],["class","card-footer",4,"ngIf"],[1,"card-header"],_,["type","warning",1,"mx-3"],g,[1,"pt-3","pb-3"],[1,"custom-control","form-check","custom-control-inline"],["type","radio","name","deploymentOption","formControlName","deploymentOption",1,"form-check-input",3,"id","value","change"],[1,"form-check-label",3,"id","for"],M,[1,"form-group","row"],["for","walSlots",1,"cd-col-form-label"],x,Y,K,[1,"cd-col-form-input"],["id","walSlots","name","walSlots","type","number","min","0","formControlName","walSlots",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"invalid-feedback"],le,["for","dbSlots",1,"cd-col-form-label"],fe,ge,Se,["id","dbSlots","name","dbSlots","type","number","min","0","formControlName","dbSlots",1,"form-control"],Ge,[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","name","formControlName","change"],[1,"custom-control-label",3,"for"],[1,"card-footer"],["wrappingClass","text-right",3,"form","disabled","submitText","submitActionEvent"],["previewButtonPanel",""]]},template:function(n,s){1&n&&(e.YNc(0,D1,1,0,"cd-orchestrator-doc-panel",0),e.YNc(1,G,42,28,"div",1)),2&n&&(e.Q6J("ngIf",!s.hasOrchestrator),e.xp6(1),e.Q6J("cdFormLoading",s.loading))},dependencies:[f.mk,f.sg,f.O5,je.S,Hr.G,qp,lt.p,Vt.y,Ht.o,wn.b,ar.P,cr.V,se._Y,se.Fj,se.wV,se.Wl,se._,se.JJ,se.JL,se.qQ,se.sg,se.u,se.x0,w0,f.rS,_i.m]}),t})();const pt=function(){return["services","status"]};let cn=(()=>{class t{constructor(n,s,l,_,g){this.wizardStepsService=n,this.cephServiceService=s,this.dimlessBinary=l,this.hostService=_,this.osdService=g,this.hosts=[],this.totalCapacity=0,this.services=[],this.totalCPUs=0,this.totalMemory=0}ngOnInit(){let n=0,s=0,l=0,_=0,g=0,M=0;const x=new gd.E(()=>{});this.hostService.list(x.toParams(),"true").subscribe(Y=>{this.hosts=Y,this.hostsCount=this.hosts.length,Ke().forEach(this.hosts,K=>{this.totalCPUs=this.totalCPUs+K.cpu_count,this.totalMemory=this.totalMemory+1024*K.memory_total_kb}),this.totalMemory=this.dimlessBinary.transform(this.totalMemory)}),this.osdService.osdDevices.data&&(n=this.osdService.osdDevices.data?.length,s=this.osdService.osdDevices.data.capacity),this.osdService.osdDevices.wal&&(l=this.osdService.osdDevices.wal?.length,_=this.osdService.osdDevices.wal.capacity),this.osdService.osdDevices.db&&(g=this.osdService.osdDevices.db?.length,M=this.osdService.osdDevices.db.capacity),this.totalDevices=n+l+g,this.osdService.osdDevices.totalDevices=this.totalDevices,this.totalCapacity=s+_+M}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ff),e.Y36(eg),e.Y36(xa.$),e.Y36(Dd.x),e.Y36(md))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-create-cluster-review"]],decls:45,vars:16,consts:function(){let i,n,s,l,_,g,M,x;return i="Cluster Resources",n="Hosts",s="Storage Capacity",l="Number of devices",_="Raw capacity",g="CPUs",M="Memory",x="Host Details",[[1,"row"],[1,"col-lg-3"],[1,"cd-header"],i,[1,"table","table-striped"],[1,"bold"],n,s,l,_,[1,"pt-5"],g,M,[1,"col-lg-9"],x,[3,"hiddenColumns","hideToolHeader","hasTableDetails","showGeneralActionsOnly"]]},template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"fieldset")(3,"legend",2),e.SDv(4,3),e.qZA(),e.TgZ(5,"table",4)(6,"tr")(7,"td",5),e.SDv(8,6),e.qZA(),e.TgZ(9,"td"),e._uU(10),e.qZA()(),e.TgZ(11,"tr")(12,"td")(13,"dl")(14,"dt")(15,"p"),e.SDv(16,7),e.qZA()(),e.TgZ(17,"dd")(18,"p"),e.SDv(19,8),e.qZA()(),e.TgZ(20,"dd")(21,"p"),e.SDv(22,9),e.qZA()()()(),e.TgZ(23,"td",10)(24,"p"),e._uU(25),e.qZA(),e.TgZ(26,"p"),e._uU(27),e.ALo(28,"dimlessBinary"),e.qZA()()(),e.TgZ(29,"tr")(30,"td",5),e.SDv(31,11),e.qZA(),e.TgZ(32,"td"),e._uU(33),e.ALo(34,"empty"),e.qZA()(),e.TgZ(35,"tr")(36,"td",5),e.SDv(37,12),e.qZA(),e.TgZ(38,"td"),e._uU(39),e.ALo(40,"empty"),e.qZA()()()()(),e.TgZ(41,"div",13)(42,"legend",2),e.SDv(43,14),e.qZA(),e._UZ(44,"cd-hosts",15),e.qZA()()),2&n&&(e.xp6(10),e.Oqu(s.hostsCount),e.xp6(15),e.Oqu(s.totalDevices),e.xp6(2),e.hij(" ",e.lcZ(28,9,s.totalCapacity),""),e.xp6(6),e.Oqu(e.lcZ(34,11,s.totalCPUs)),e.xp6(6),e.Oqu(e.lcZ(40,13,s.totalMemory)),e.xp6(5),e.Q6J("hiddenColumns",e.DdM(15,pt))("hideToolHeader",!0)("hasTableDetails",!1)("showGeneralActionsOnly",!0))},dependencies:[em,xa.$,Lf.W],styles:["cd-hosts[_ngcontent-%COMP%] .nav{display:none}"]}),t})();const Hn=["skipConfirmTpl"];function br(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",3)(1,"div",4)(2,"div",5),e._UZ(3,"img",6),e.TgZ(4,"h3",7),e.SDv(5,8),e.qZA(),e.TgZ(6,"div",9)(7,"h4",10),e.SDv(8,11),e.qZA(),e.TgZ(9,"div",10)(10,"button",12),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.createCluster())}),e.SDv(11,13),e.qZA(),e.TgZ(12,"button",14),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.skipClusterCreation())}),e.SDv(13,15),e.qZA()()()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.Q6J("src",n.projectConstants.cephLogo,e.LSH),e.xp6(2),e.pQV(n.projectConstants.projectName),e.QtT(5)}}const Qr=function(){return["services"]};function bi(t,i){1&t&&(e.TgZ(0,"div",29)(1,"h4",30),e.SDv(2,31),e.qZA(),e._UZ(3,"br")(4,"cd-hosts",32),e.qZA()),2&t&&(e.xp6(4),e.Q6J("hiddenColumns",e.DdM(4,Qr))("hideMaintenance",!0)("hasTableDetails",!1)("showGeneralActionsOnly",!0))}function Ro(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",29)(1,"h4",30),e.SDv(2,33),e.qZA(),e.TgZ(3,"div",34)(4,"cd-osd-form",35),e.NdJ("emitDriveGroup",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.setDriveGroup(l))})("emitDeploymentOption",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.setDeploymentOptions(l))})("emitMode",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.setDeploymentMode(l))}),e.qZA()()()}2&t&&(e.xp6(4),e.Q6J("hideTitle",!0)("hideSubmitBtn",!0))}const Po=function(){return["mon","mgr","crash","agent"]},Zo=function(){return["status.running","status.size","status.last_refresh"]};function zs(t,i){1&t&&(e.TgZ(0,"div",29)(1,"h4",30),e.SDv(2,36),e.qZA(),e._UZ(3,"br")(4,"cd-services",37),e.qZA()),2&t&&(e.xp6(4),e.Q6J("hasDetails",!1)("hiddenServices",e.DdM(4,Po))("hiddenColumns",e.DdM(5,Zo))("routedModal",!1))}function Na(t,i){1&t&&(e.TgZ(0,"div",29),e._UZ(1,"cd-create-cluster-review"),e.qZA())}function El(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",38),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.onSkip())}),e.SDv(1,39),e.qZA()}}function _c(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",16)(1,"div",17),e.SDv(2,18),e.qZA(),e.TgZ(3,"div",19),e._UZ(4,"cd-wizard",20),e.TgZ(5,"div",21),e.ynx(6,22),e.YNc(7,bi,5,5,"div",23),e.YNc(8,Ro,5,2,"div",23),e.YNc(9,zs,5,6,"div",23),e.YNc(10,Na,2,0,"div",23),e.BQk(),e.qZA()(),e.TgZ(11,"div",24)(12,"button",25),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onNextStep())}),e.SDv(13,26),e.qZA(),e.TgZ(14,"cd-back-button",27),e.NdJ("backAction",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onPreviousStep())}),e.qZA(),e.YNc(15,El,2,0,"button",28),e.qZA()()}if(2&t){const n=e.oxw();e.xp6(4),e.Q6J("stepsTitle",n.stepTitles),e.xp6(2),e.Q6J("ngSwitch",null==n.currentStep?null:n.currentStep.stepIndex),e.xp6(1),e.Q6J("ngSwitchCase","1"),e.xp6(1),e.Q6J("ngSwitchCase","2"),e.xp6(1),e.Q6J("ngSwitchCase","3"),e.xp6(1),e.Q6J("ngSwitchCase","4"),e.xp6(3),e.pQV(n.showSubmitButtonLabel()),e.QtT(13),e.xp6(1),e.Q6J("name",n.showCancelButtonLabel()),e.xp6(1),e.Q6J("ngIf","Create OSDs"===n.stepTitles[n.currentStep.stepIndex-1])}}function Sl(t,i){1&t&&(e.TgZ(0,"span"),e.tHW(1,40),e._UZ(2,"strong"),e.N_p(),e.qZA(),e.TgZ(3,"div",41),e.SDv(4,42),e.qZA())}let Nc=(()=>{class t{constructor(n,s,l,_,g,M,x,Y,K,le){this.authStorageService=n,this.wizardStepsService=s,this.router=l,this.hostService=_,this.notificationService=g,this.actionLabels=M,this.clusterService=x,this.modalService=Y,this.taskWrapper=K,this.osdService=le,this.projectConstants=Dr.$x,this.stepTitles=["Add Hosts","Create OSDs","Create Services","Review"],this.startClusterCreation=!1,this.observables=[],this.driveGroup=new yh,this.driveGroups=[],this.selectedOption={},this.simpleDeployment=!0,this.stepsToSkip={},this.submitAction=new e.vpe,this.permissions=this.authStorageService.getPermissions(),this.currentStepSub=this.wizardStepsService.getCurrentStep().subscribe(fe=>{this.currentStep=fe}),this.currentStep.stepIndex=1}ngOnInit(){this.osdService.getDeploymentOptions().subscribe(n=>{this.deploymentOption=n,this.selectedOption={option:n.recommended_option,encrypted:!1}}),this.stepTitles.forEach(n=>{this.stepsToSkip[n]=!1})}createCluster(){this.startClusterCreation=!0}skipClusterCreation(){const n={titleText:"Warning",buttonText:"Continue",warning:!0,bodyTpl:this.skipConfirmTpl,showSubmit:!0,onSubmit:()=>{this.clusterService.updateStatus("POST_INSTALLED").subscribe({error:()=>this.modalRef.close(),complete:()=>{this.notificationService.show(ua.k.info,"Cluster expansion skipped by user"),this.router.navigate(["/dashboard"]),this.modalRef.close()}})}};this.modalRef=this.modalService.show(jd.Y,n)}onSubmit(){if(!this.stepsToSkip["Add Hosts"]){const n=new gd.E(()=>{});this.hostService.list(n.toParams(),"false").subscribe(s=>{s.forEach(l=>{const _=l.labels.indexOf("_no_schedule",0);_>-1&&(l.labels.splice(_,1),this.observables.push(this.hostService.update(l.hostname,!0,l.labels)))}),(0,Wa.D)(this.observables).pipe((0,lf.x)(()=>this.clusterService.updateStatus("POST_INSTALLED").subscribe(()=>{this.notificationService.show(ua.k.success,"Cluster expansion was successful"),this.router.navigate(["/dashboard"])}))).subscribe({error:l=>l.preventDefault()})})}if(!this.stepsToSkip["Create OSDs"]){if(this.driveGroup){const n=this.authStorageService.getUsername();this.driveGroup.setName(`dashboard-${n}-${Ke().now()}`),this.driveGroups.push(this.driveGroup.spec)}if(this.simpleDeployment){const n=this.deploymentOption?.options[this.selectedOption.option].title,s="" + n + " deployment";this.taskWrapper.wrapTaskAroundCall({task:new ce.R("osd/"+Dr.MQ.CREATE,{tracking_id:s}),call:this.osdService.create([this.selectedOption],s,"predefined")}).subscribe({error:l=>l.preventDefault(),complete:()=>{this.submitAction.emit()}})}else if(this.osdService.osdDevices.totalDevices>0){this.driveGroup.setFeature("encrypted",this.selectedOption.encrypted);const n=Ke().join(Ke().map(this.driveGroups,"service_id"),", ");this.taskWrapper.wrapTaskAroundCall({task:new ce.R("osd/"+Dr.MQ.CREATE,{tracking_id:n}),call:this.osdService.create(this.driveGroups,n)}).subscribe({error:s=>s.preventDefault(),complete:()=>{this.submitAction.emit(),this.osdService.osdDevices=[]}})}}}setDriveGroup(n){this.driveGroup=n}setDeploymentOptions(n){this.selectedOption=n}setDeploymentMode(n){this.simpleDeployment=n}onNextStep(){this.wizardStepsService.isLastStep()?this.onSubmit():(this.wizardStepsService.getCurrentStep().subscribe(n=>{this.currentStep=n}),this.wizardStepsService.moveToNextStep())}onPreviousStep(){this.wizardStepsService.isFirstStep()?this.router.navigate(["/dashboard"]):this.wizardStepsService.moveToPreviousStep()}onSkip(){this.stepsToSkip[this.stepTitles[this.currentStep.stepIndex-1]]=!0,this.onNextStep()}showSubmitButtonLabel(){return this.wizardStepsService.isLastStep()?"Expand Cluster":this.actionLabels.NEXT}showCancelButtonLabel(){return this.wizardStepsService.isFirstStep()?this.actionLabels.CANCEL:this.actionLabels.BACK}ngOnDestroy(){this.currentStepSub.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(Ff),e.Y36(Ce.F0),e.Y36(Dd.x),e.Y36(Le.g),e.Y36(Dr.p4),e.Y36(_m),e.Y36(tc.Z),e.Y36(Gr.P),e.Y36(md))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-create-cluster"]],viewQuery:function(n,s){if(1&n&&e.Gf(Hn,7),2&n){let l;e.iGM(l=e.CRH())&&(s.skipConfirmTpl=l.first)}},outputs:{submitAction:"submitAction"},decls:4,vars:2,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe;return i="Welcome to " + "\ufffd0\ufffd" + "",n="Please expand your cluster first",s="Expand Cluster",l="Skip",_="Expand Cluster",g="" + "\ufffd0\ufffd" + "",M="Add Hosts",x="Create OSDs",Y="Create Services",K="Skip",le="You are about to skip the cluster expansion process. You\u2019ll need to " + "\ufffd#2\ufffd" + "navigate through the menu to add hosts and services." + "\ufffd/#2\ufffd" + "",fe="Are you sure you want to continue?",[["class","container h-75",4,"ngIf"],["class","card",4,"ngIf"],["skipConfirmTpl",""],[1,"container","h-75"],[1,"row","h-100","justify-content-center","align-items-center"],[1,"blank-page"],["alt","Ceph",1,"img-fluid","mx-auto","d-block",3,"src"],[1,"text-center","m-2"],i,[1,"m-4"],[1,"text-center"],n,["name","expand-cluster","aria-label","Expand Cluster",1,"btn","btn-accent","m-2",3,"click"],s,["name","skip-cluster-creation","aria-label","Skip",1,"btn","btn-light",3,"click"],l,[1,"card"],[1,"card-header"],_,[1,"container-fluid"],[3,"stepsTitle"],[1,"card-body","vertical-line"],[3,"ngSwitch"],["class","ms-5",4,"ngSwitchCase"],[1,"card-footer"],["aria-label","Next",1,"btn","btn-accent","m-2","float-end",3,"click"],g,["aria-label","Close",1,"m-2","float-end",3,"name","backAction"],["class","btn btn-light m-2 me-4 float-end","id","skipStepBtn","aria-label","Skip this step",3,"click",4,"ngIf"],[1,"ms-5"],[1,"title"],M,[3,"hiddenColumns","hideMaintenance","hasTableDetails","showGeneralActionsOnly"],x,[1,"alignForm"],[3,"hideTitle","hideSubmitBtn","emitDriveGroup","emitDeploymentOption","emitMode"],Y,[3,"hasDetails","hiddenServices","hiddenColumns","routedModal"],["id","skipStepBtn","aria-label","Skip this step",1,"btn","btn-light","m-2","me-4","float-end",3,"click"],K,le,[1,"mt-4"],fe]},template:function(n,s){1&n&&(e.YNc(0,br,14,2,"div",0),e.YNc(1,_c,16,9,"div",1),e.YNc(2,Sl,5,0,"ng-template",null,2,e.W1O)),2&n&&(e.Q6J("ngIf",!s.startClusterCreation),e.xp6(1),e.Q6J("ngIf",s.startClusterCreation))},dependencies:[f.O5,f.RF,f.n9,V_.W,W_,Ht.o,em,jm,ye,cn],styles:[".container-fluid[_ngcontent-%COMP%]{align-items:flex-start;display:flex;padding-left:0;width:100%}cd-hosts[_ngcontent-%COMP%] .nav{display:none}cd-osd-form[_ngcontent-%COMP%] .card{border:0}cd-osd-form[_ngcontent-%COMP%] .accordion{margin-left:-1.5rem}"]}),t})();var Zc=o(83608);const np=["tree"],xd=function(t,i,n){return[t,i,n]};function i_(t,i){if(1&t&&e._UZ(0,"i",12),2&t){const n=e.oxw();e.Q6J("ngClass",e.kEZ(1,xd,n.icons.large,n.icons.spinner,n.icons.spin))}}const Bd=function(){return["in","up"]},o_=function(){return["down","out","destroyed"]},bp=function(t,i){return{"badge-success":t,"badge-danger":i}};function w1(t,i){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=e.oxw().$implicit;e.Q6J("ngClass",e.WLB(4,bp,e.DdM(2,Bd).includes(n.data.status),e.DdM(3,o_).includes(n.data.status))),e.xp6(1),e.hij(" ",n.data.status," ")}}const Xb=function(t){return{"type-osd":t}};function $y(t,i){if(1&t&&(e.YNc(0,w1,2,7,"span",13),e.TgZ(1,"span"),e._uU(2,"\xa0"),e.qZA(),e._UZ(3,"span",14)),2&t){const n=i.$implicit;e.Q6J("ngIf",n.data.status),e.xp6(3),e.Q6J("ngClass",e.VKq(3,Xb,"osd"===n.data.type))("innerHTML",n.data.name,e.oJD)}}function QD(t,i){if(1&t&&(e.TgZ(0,"div",16)(1,"legend"),e._uU(2),e.qZA(),e.TgZ(3,"div"),e._UZ(4,"cd-table-key-value",17),e.qZA()()),2&t){const n=e.oxw();e.xp6(2),e.Oqu(n.metadataTitle),e.xp6(2),e.Q6J("data",n.metadata)}}let KD=(()=>{class t{constructor(n,s){this.crushRuleService=n,this.timerService=s,this.sub=new od.w,this.icons=ei.P,this.loadingIndicator=!0,this.nodes=[],this.treeOptions={useVirtualScroll:!0,nodeHeight:22,actionMapping:{mouse:{click:this.onNodeSelected.bind(this)}}},this.metadataKeyMap={}}ngOnInit(){this.sub=this.timerService.get(()=>this.crushRuleService.getInfo(),5e3).subscribe(n=>{this.loadingIndicator=!1,this.nodes=this.abstractTreeData(n)})}ngOnDestroy(){this.sub.unsubscribe()}abstractTreeData(n){const s=n.nodes||[],l=n.roots||[],_={};if(0===s.length)return[{name:"No nodes!"}];const g=[];return s.reverse().forEach(x=>{l.includes(x.id)&&g.push(x.id),_[x.id]=this.generateTreeLeaf(x,_)}),g.map(x=>_[x])}generateTreeLeaf(n,s){const l=n.id;this.metadataKeyMap[l]=n;const M=[],x={name:n.name+" ("+n.type+")",status:n.status,cdId:l,type:n.type};return n.children&&(n.children.sort().forEach(Y=>{M.push(s[Y])}),x.children=M),x}onNodeSelected(n,s){if(Bu.iM.ACTIVATE(n,s,!0),void 0!==s.data.cdId){const{name:l,type:_,status:g,...M}=this.metadataKeyMap[s.data.cdId];this.metadata=M,this.metadataTitle=l+" ("+_+")"}else delete this.metadata,delete this.metadataTitle}onUpdateData(){this.tree.treeModel.expandAll()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Zc.H),e.Y36(Xf.f))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-crushmap"]],viewQuery:function(n,s){if(1&n&&e.Gf(np,5),2&n){let l;e.iGM(l=e.CRH())&&(s.tree=l.first)}},decls:14,vars:4,consts:function(){let i;return i="CRUSH map viewer",[[1,"row"],[1,"col-sm-12","col-lg-12"],[1,"card"],[1,"card-header"],i,[1,"card-body"],[1,"col-sm-6","col-lg-6","tree-container"],[3,"ngClass",4,"ngIf"],[3,"nodes","options","updateData"],["tree",""],["treeNodeTemplate",""],["class","col-sm-6 col-lg-6 metadata",4,"ngIf"],[3,"ngClass"],["class","badge",3,"ngClass",4,"ngIf"],[1,"node-name",3,"ngClass","innerHTML"],[1,"badge",3,"ngClass"],[1,"col-sm-6","col-lg-6","metadata"],[3,"data"]]},template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),e.SDv(4,4),e.qZA(),e.TgZ(5,"div",5)(6,"div",0)(7,"div",6),e.YNc(8,i_,1,5,"i",7),e.TgZ(9,"tree-root",8,9),e.NdJ("updateData",function(){return s.onUpdateData()}),e.YNc(11,$y,4,5,"ng-template",null,10,e.W1O),e.qZA()(),e.YNc(13,QD,5,2,"div",11),e.qZA()()()()()),2&n&&(e.xp6(8),e.Q6J("ngIf",s.loadingIndicator),e.xp6(1),e.Q6J("nodes",s.nodes)("options",s.treeOptions),e.xp6(4),e.Q6J("ngIf",s.metadata))},dependencies:[f.mk,f.O5,Pc.b,Bu.qr],styles:[".tree-container[_ngcontent-%COMP%]{height:calc(100vh - 200px)}"]}),t})(),qb=(()=>{class t{constructor(n){this.http=n}getLogs(){return this.http.get("api/logs/all")}validateDashboardUrl(n){return this.http.get(`api/grafana/validation/${n}`)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var eM=o(49457);let mS=(()=>{class t{download(n,s){(0,eM.saveAs)(new Blob([n]),s)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Hy=function(t){return[t]};function Uf(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",5),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.download("json"))}),e._UZ(1,"i",2),e.TgZ(2,"span"),e._uU(3,"JSON"),e.qZA()()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(1,Hy,n.icons.json))}}function gS(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",5),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.download())}),e._UZ(1,"i",2),e.TgZ(2,"span"),e._uU(3,"Text"),e.qZA()()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(1,Hy,n.icons.text))}}let vS=(()=>{class t{constructor(n){this.textToDownloadService=n,this.title="Download",this.icons=ei.P}download(n){this.fileName=`${this.fileName}_${(new Date).toLocaleDateString()}`,"json"===n?this.textToDownloadService.download(JSON.stringify(this.objectItem,null,2),`${this.fileName}.json`):this.textToDownloadService.download(this.textItem,`${this.fileName}.txt`)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(mS))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-download-button"]],inputs:{objectItem:"objectItem",textItem:"textItem",fileName:"fileName",title:"title"},decls:6,vars:6,consts:[["ngbDropdown","","placement","bottom-right"],["type","button","ngbDropdownToggle","",1,"btn","btn-light","dropdown-toggle-split",3,"title"],[3,"ngClass"],["ngbDropdownMenu",""],["ngbDropdownItem","",3,"click",4,"ngIf"],["ngbDropdownItem","",3,"click"]],template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"button",1),e._UZ(2,"i",2),e.qZA(),e.TgZ(3,"div",3),e.YNc(4,Uf,4,3,"button",4),e.YNc(5,gS,4,3,"button",4),e.qZA()()),2&n&&(e.xp6(1),e.Q6J("title",s.title),e.xp6(1),e.Q6J("ngClass",e.VKq(4,Hy,s.icons.download)),e.xp6(2),e.Q6J("ngIf",s.objectItem),e.xp6(1),e.Q6J("ngIf",s.textItem))},dependencies:[f.mk,f.O5,Ht.o,Be.jt,Be.iD,Be.Vi,Be.TH]}),t})();var tM=o(42746);let yS=(()=>{class t{transform(n,s){if(!s)return n;s=this.escapeRegExp(s);const l=new RegExp(s,"gi");return n.match(l)?n.replace(l,"<mark>$&</mark>"):n}escapeRegExp(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"searchHighlight",type:t,pure:!0}),t})();function nM(t,i){1&t&&e.GkF(0)}function ES(t,i){if(1&t&&e._UZ(0,"cd-download-button",25),2&t){const n=e.oxw(5);e.Q6J("objectItem",n.clog)("textItem",n.clogText)}}function SS(t,i){if(1&t&&e._UZ(0,"cd-copy-2-clipboard-button",26),2&t){const n=e.oxw(5);e.Q6J("source",n.clogText)("byId",!1)}}function N1(t,i){if(1&t&&(e.TgZ(0,"div",22),e.YNc(1,ES,1,2,"cd-download-button",23),e.YNc(2,SS,1,2,"cd-copy-2-clipboard-button",24),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngIf",n.showDownloadCopyButton),e.xp6(1),e.Q6J("ngIf",n.showDownloadCopyButton)}}function rM(t,i){if(1&t&&(e.TgZ(0,"p")(1,"span",27),e._uU(2),e.ALo(3,"cdDate"),e.qZA(),e.TgZ(4,"span"),e.ALo(5,"logPriority"),e._uU(6),e.qZA(),e._UZ(7,"span",28),e.ALo(8,"searchHighlight"),e.qZA()),2&t){const n=i.$implicit,s=e.oxw(4);e.xp6(2),e.Oqu(e.lcZ(3,6,n.stamp)),e.xp6(2),e.Gre("priority ",e.lcZ(5,8,n.priority),""),e.xp6(2),e.Oqu(n.priority),e.xp6(1),e.Q6J("innerHTML",e.xi3(8,10,n.message,s.search),e.oJD)}}function iM(t,i){1&t&&e.GkF(0)}const CS=function(t){return{"overflow-auto":t}};function oM(t,i){if(1&t&&(e.TgZ(0,"div",17),e.YNc(1,N1,3,2,"div",18),e.TgZ(2,"div",19),e.YNc(3,rM,9,13,"p",20),e.YNc(4,iM,1,0,"ng-container",21),e.qZA()()),2&t){const n=e.oxw(3),s=e.MAs(4);e.xp6(1),e.Q6J("ngIf",n.clog.length&&n.showClusterLogs),e.xp6(1),e.Q6J("ngClass",e.VKq(5,CS,n.scrollable)),e.xp6(1),e.Q6J("ngForOf",n.clog),e.xp6(1),e.Q6J("ngIf",0!==n.clog.length)("ngIfElse",s)}}function TS(t,i){if(1&t&&e.YNc(0,oM,5,7,"div",16),2&t){const n=e.oxw(2);e.Q6J("ngIf",n.clog)}}function XD(t,i){if(1&t&&e._UZ(0,"cd-download-button",31),2&t){const n=e.oxw(5);e.Q6J("objectItem",n.audit_log)("textItem",n.auditLogText)}}function Uy(t,i){if(1&t&&e._UZ(0,"cd-copy-2-clipboard-button",26),2&t){const n=e.oxw(5);e.Q6J("source",n.auditLogText)("byId",!1)}}function By(t,i){if(1&t&&(e.TgZ(0,"div",22),e.YNc(1,XD,1,2,"cd-download-button",30),e.YNc(2,Uy,1,2,"cd-copy-2-clipboard-button",24),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngIf",n.showDownloadCopyButton),e.xp6(1),e.Q6J("ngIf",n.showDownloadCopyButton)}}function Tm(t,i){if(1&t&&(e.TgZ(0,"p")(1,"span",27),e._uU(2),e.ALo(3,"cdDate"),e.qZA(),e.TgZ(4,"span"),e.ALo(5,"logPriority"),e._uU(6),e.qZA(),e._UZ(7,"span",28),e.ALo(8,"searchHighlight"),e.qZA()),2&t){const n=i.$implicit,s=e.oxw(4);e.xp6(2),e.Oqu(e.lcZ(3,6,n.stamp)),e.xp6(2),e.Gre("priority ",e.lcZ(5,8,n.priority),""),e.xp6(2),e.Oqu(n.priority),e.xp6(1),e.Q6J("innerHTML",e.xi3(8,10,n.message,s.search),e.oJD)}}function sM(t,i){1&t&&e.GkF(0)}function bS(t,i){if(1&t&&(e.TgZ(0,"div",17),e.YNc(1,By,3,2,"div",18),e.TgZ(2,"div",29),e.YNc(3,Tm,9,13,"p",20),e.YNc(4,sM,1,0,"ng-container",21),e.qZA()()),2&t){const n=e.oxw(3),s=e.MAs(4);e.xp6(1),e.Q6J("ngIf",n.audit_log.length),e.xp6(2),e.Q6J("ngForOf",n.audit_log),e.xp6(1),e.Q6J("ngIf",0!==n.audit_log.length)("ngIfElse",s)}}function bm(t,i){if(1&t&&e.YNc(0,bS,5,4,"div",16),2&t){const n=e.oxw(2);e.Q6J("ngIf",n.audit_log&&n.showAuditLogs)}}function rm(t,i){1&t&&(e.TgZ(0,"div"),e._UZ(1,"cd-grafana",32),e.qZA()),2&t&&(e.xp6(1),e.Q6J("grafanaPath","explore?")("type","logs"))}function im(t,i){if(1&t&&(e.ynx(0),e.YNc(1,rm,2,2,"div",21),e.ALo(2,"async"),e.BQk()),2&t){const n=e.oxw(3),s=e.MAs(6);e.xp6(1),e.Q6J("ngIf",e.lcZ(2,2,n.promtailServiceStatus$))("ngIfElse",s)}}function MS(t,i){if(1&t&&(e.YNc(0,im,3,4,"ng-container",21),e.ALo(1,"async")),2&t){const n=e.oxw(2),s=e.MAs(6);e.Q6J("ngIf",e.lcZ(1,2,n.showDaemonLogs&&n.lokiServiceStatus$))("ngIfElse",s)}}function OS(t,i){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,nM,1,0,"ng-container",4),e.TgZ(2,"nav",5,6),e.ynx(4,7),e.TgZ(5,"a",8),e.SDv(6,9),e.qZA(),e.YNc(7,TS,1,1,"ng-template",10),e.BQk(),e.ynx(8,11),e.TgZ(9,"a",8),e.SDv(10,12),e.qZA(),e.YNc(11,bm,1,1,"ng-template",10),e.BQk(),e.ynx(12,13),e.TgZ(13,"a",8),e.SDv(14,14),e.qZA(),e.YNc(15,MS,2,4,"ng-template",10),e.BQk(),e.qZA(),e._UZ(16,"div",15),e.qZA()),2&t){const n=e.MAs(3),s=e.oxw(),l=e.MAs(2);e.xp6(1),e.Q6J("ngTemplateOutlet",l),e.xp6(1),e.Q6J("cdStatefulTabDefault",s.defaultTab)("hidden",!s.showNavLinks),e.xp6(14),e.Q6J("ngbNavOutlet",n)}}function aM(t,i){if(1&t&&(e.TgZ(0,"option",59),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.value),e.xp6(1),e.Oqu(n.name)}}const lM=function(t){return[t]};function cM(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",34)(1,"div",35)(2,"div",36)(3,"label",37),e.SDv(4,38),e.qZA(),e.TgZ(5,"select",39),e.NdJ("ngModelChange",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.priority=l)})("ngModelChange",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.filterLogs())}),e.YNc(6,aM,2,2,"option",40),e.qZA()(),e.TgZ(7,"div",41)(8,"label",42),e.SDv(9,43),e.qZA(),e.TgZ(10,"div",44)(11,"span",45),e._UZ(12,"i",46),e.qZA(),e.TgZ(13,"input",47),e.NdJ("ngModelChange",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.search=l)})("keyup",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.filterLogs())}),e.qZA(),e.TgZ(14,"button",48),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.clearSearchKey())}),e._UZ(15,"i"),e.qZA()()(),e.TgZ(16,"div",41)(17,"label",49),e.SDv(18,50),e.qZA(),e.TgZ(19,"div",44)(20,"input",51,52),e.NdJ("click",function(){e.CHM(n);const l=e.MAs(21);return e.KtG(l.open())})("ngModelChange",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.selectedDate=l)})("ngModelChange",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.filterLogs())}),e.qZA(),e.TgZ(22,"button",48),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.clearDate())}),e._UZ(23,"i"),e.qZA()()(),e.TgZ(24,"div",53)(25,"label",54),e.SDv(26,55),e.qZA(),e.TgZ(27,"div",56)(28,"ngb-timepicker",57),e.NdJ("ngModelChange",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.startTime=l)})("ngModelChange",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.filterLogs())}),e.qZA(),e.TgZ(29,"span",58),e._uU(30,"\xa0\u2014\xa0"),e.qZA(),e.TgZ(31,"ngb-timepicker",57),e.NdJ("ngModelChange",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.endTime=l)})("ngModelChange",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.filterLogs())}),e.qZA()()()()()}if(2&t){const n=e.oxw(2);e.xp6(5),e.Q6J("ngModel",n.priority),e.xp6(1),e.Q6J("ngForOf",n.priorities),e.xp6(6),e.Q6J("ngClass",e.VKq(16,lM,n.icons.search)),e.xp6(1),e.Q6J("ngModel",n.search),e.xp6(2),e.Gre("icon-prepend ",n.icons.destroy,""),e.xp6(5),e.Q6J("maxDate",n.maxDate)("ngModel",n.selectedDate),e.xp6(3),e.Gre("icon-prepend ",n.icons.destroy,""),e.xp6(5),e.Q6J("spinners",!1)("ngModel",n.startTime),e.xp6(3),e.Q6J("spinners",!1)("ngModel",n.endTime)}}function uM(t,i){if(1&t&&e.YNc(0,cM,32,18,"div",33),2&t){const n=e.oxw();e.Q6J("ngIf",n.showFilterTools)}}function Gy(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"span"),e.SDv(1,60),e.qZA(),e.TgZ(2,"span"),e._uU(3,"\xa0"),e.qZA(),e.TgZ(4,"a",61),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.resetFilter())}),e.SDv(5,62),e.qZA()}}function Gv(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",63),e.ynx(1),e.SDv(2,64),e.BQk(),e.qZA())}let Yy=(()=>{class t{constructor(n,s,l,_){this.logsService=n,this.cephService=s,this.datePipe=l,this.ngZone=_,this.showClusterLogs=!0,this.showAuditLogs=!0,this.showDaemonLogs=!0,this.showNavLinks=!0,this.showFilterTools=!0,this.showDownloadCopyButton=!0,this.defaultTab="",this.scrollable=!1,this.icons=ei.P,this.priorities=[{name:"Debug",value:"[DBG]"},{name:"Info",value:"[INF]"},{name:"Warning",value:"[WRN]"},{name:"Error",value:"[ERR]"},{name:"All",value:"All"}],this.priority="All",this.search="",this.startTime={hour:0,minute:0},this.endTime={hour:23,minute:59},this.maxDate={year:(new Date).getFullYear(),month:(new Date).getMonth()+1,day:(new Date).getDate()}}ngOnInit(){this.getInfo(),this.ngZone.runOutsideAngular(()=>{this.getDaemonDetails(),this.interval=window.setInterval(()=>{this.ngZone.run(()=>{this.getInfo()})},5e3)})}ngOnDestroy(){clearInterval(this.interval)}getDaemonDetails(){this.lokiServiceStatus$=this.cephService.getDaemons("loki").pipe((0,ss.U)(n=>n.length>0&&1===n[0].status)),this.promtailServiceStatus$=this.cephService.getDaemons("promtail").pipe((0,ss.U)(n=>n.length>0&&1===n[0].status))}getInfo(){this.logsService.getLogs().subscribe(n=>{this.contentData=n,this.clogText=this.logToText(this.contentData.clog),this.auditLogText=this.logToText(this.contentData.audit_log),this.filterLogs()})}abstractFilters(){const n=this.priority,s=this.search.toLowerCase();let l;if(this.selectedDate){const le=this.selectedDate.month,fe=this.selectedDate.day;l=`${this.selectedDate.year}-${le<=9?`0${le}`:`${le}`}-${fe<=9?`0${fe}`:`${fe}`}`}else l="";return{priority:n,key:s,yearMonthDay:l,sTime:60*(this.startTime?.hour??0)+(this.startTime?.minute??0),eTime:60*(this.endTime?.hour??23)+(this.endTime?.minute??59)}}filterExecutor(n,s){return n.filter(l=>{const _=this.datePipe.transform(l.stamp,"mediumTime"),g=parseInt(_.split(":")[0],10),M=parseInt(_.split(":")[1],10);let x,Y,K;return x="All"===s.priority?l.priority:s.priority,Y=s.yearMonthDay?s.yearMonthDay:l.stamp,K=60*g+M,l.priority===x&&-1!==l.message.toLowerCase().indexOf(s.key)&&-1!==l.stamp.indexOf(Y)&&K>=s.sTime&&K<=s.eTime})}filterLogs(){const n=this.abstractFilters();this.clog=this.filterExecutor(this.contentData.clog,n),this.audit_log=this.filterExecutor(this.contentData.audit_log,n)}clearSearchKey(){this.search="",this.filterLogs()}clearDate(){this.selectedDate=null,this.filterLogs()}resetFilter(){return this.priority="All",this.search="",this.selectedDate=null,this.startTime={hour:0,minute:0},this.endTime={hour:23,minute:59},this.filterLogs(),!1}logToText(n){let s="";for(const l of Object.keys(n))s=s+this.datePipe.transform(n[l].stamp,"medium")+"\t"+n[l].priority+"\t"+n[l].message+"\n";return s}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(qb),e.Y36(eg),e.Y36(f.uU),e.Y36(e.R0b))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-logs"]],inputs:{showClusterLogs:"showClusterLogs",showAuditLogs:"showAuditLogs",showDaemonLogs:"showDaemonLogs",showNavLinks:"showNavLinks",showFilterTools:"showFilterTools",showDownloadCopyButton:"showDownloadCopyButton",defaultTab:"defaultTab",scrollable:"scrollable"},decls:7,vars:1,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe;return i="Cluster Logs",n="Audit Logs",s="Daemon Logs",l="Daemon logs",_="Priority:",g="Keyword:",M="Date:",x="Time range:",Y="No log entries found. Please try to select different filter options.",K="Reset filter.",le="Loki/Promtail service not running",fe="Please start the loki and promtail service to see these logs.",[[4,"ngIf"],["logFiltersTpl",""],["noEntriesTpl",""],["daemonLogsTpl",""],[4,"ngTemplateOutlet"],["ngbNav","","cdStatefulTab","logs",1,"nav-tabs",3,"cdStatefulTabDefault","hidden"],["nav","ngbNav"],["ngbNavItem","cluster-logs"],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","audit-logs"],n,["ngbNavItem","daemon-logs"],s,[3,"ngbNavOutlet"],["class","card bg-light mb-3",4,"ngIf"],[1,"card","bg-light","mb-3"],["class","btn-group","role","group",4,"ngIf"],[1,"card-body",3,"ngClass"],[4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["role","group",1,"btn-group"],["fileName","cluster_log",3,"objectItem","textItem",4,"ngIf"],[3,"source","byId",4,"ngIf"],["fileName","cluster_log",3,"objectItem","textItem"],[3,"source","byId"],[1,"timestamp"],[1,"message",3,"innerHTML"],[1,"card-body"],["fileName","audit_log",3,"objectItem","textItem",4,"ngIf"],["fileName","audit_log",3,"objectItem","textItem"],["title",l,"uid","CrAHE0iZz","grafanaStyle","three",3,"grafanaPath","type"],["class","row mb-3",4,"ngIf"],[1,"row","mb-3"],[1,"col-lg-10","d-flex"],[1,"col-sm-1","me-3"],["for","logs-priority",1,"fw-bold"],_,["id","logs-priority",1,"form-select",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"col-md-3","me-3"],["for","logs-keyword",1,"fw-bold"],g,[1,"input-group"],[1,"input-group-text"],[3,"ngClass"],["id","logs-keyword","type","text",1,"form-control",3,"ngModel","ngModelChange","keyup"],["type","button","title","Clear",1,"btn","btn-light",3,"click"],["for","logs-date",1,"fw-bold"],M,["id","logs-date","placeholder","YYYY-MM-DD","ngbDatepicker","",1,"form-control",3,"maxDate","ngModel","click","ngModelChange"],["d","ngbDatepicker"],[1,"col-md-5"],[1,"fw-bold"],x,[1,"d-flex"],[3,"spinners","ngModel","ngModelChange"],[1,"mt-2"],[3,"value"],Y,["href","#",3,"click"],K,["type","info","title",le],fe]},template:function(n,s){1&n&&(e.YNc(0,OS,17,4,"div",0),e.YNc(1,uM,1,1,"ng-template",null,1,e.W1O),e.YNc(3,Gy,6,0,"ng-template",null,2,e.W1O),e.YNc(5,Gv,3,0,"ng-template",null,3,e.W1O)),2&n&&e.Q6J("ngIf",s.contentData)},dependencies:[f.mk,f.sg,f.O5,f.tP,Be.uN,Be.Pz,Be.nv,Be.Vx,Be.tO,Be.Dy,xl.F,Hr.G,Bn.s,vS,Gc.m,Ht.o,wn.b,se.YN,se.Kr,se.Fj,se.EJ,se.JJ,se.On,Be.Pm,Be.J4,f.Ov,tM.e,pu.N,yS],styles:["p[_ngcontent-%COMP%]{font-family:monospace}.card[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%]{margin-top:-45px;position:absolute;right:0}.card[_ngcontent-%COMP%] div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:flex}.card[_ngcontent-%COMP%] div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:last-child{margin-bottom:0}.card[_ngcontent-%COMP%] .timestamp[_ngcontent-%COMP%]{flex-shrink:0;font-weight:700}.card[_ngcontent-%COMP%] .priority[_ngcontent-%COMP%]{margin-left:.5rem}.card[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{margin-left:1rem}.card[_ngcontent-%COMP%] .err[_ngcontent-%COMP%]{color:#dc3545}.card[_ngcontent-%COMP%] .warn[_ngcontent-%COMP%]{color:#d48200}.card[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{color:#25828e}.card[_ngcontent-%COMP%] .debug[_ngcontent-%COMP%]{color:#495057} cd-logs ngb-timepicker input.ngb-tp-input{width:3.5rem!important}.card-body.overflow-auto[_ngcontent-%COMP%]{height:50vh}"]}),t})();function AS(t,i){if(1&t&&(e.TgZ(0,"cd-helper"),e._uU(1),e.ALo(2,"upperFirst"),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,n.value.long_desc||n.value.desc)," ")}}function dM(t,i){if(1&t&&(e.TgZ(0,"div",15)(1,"div",16),e._UZ(2,"input",17)(3,"label",18),e.qZA()()),2&t){const n=e.oxw().$implicit;e.xp6(2),e.s9C("id",n.value.name),e.s9C("formControlName",n.value.name),e.xp6(1),e.s9C("for",n.value.name)}}function fM(t,i){if(1&t&&e._UZ(0,"input",22),2&t){const n=e.oxw(2).$implicit;e.s9C("id",n.value.name),e.s9C("formControlName",n.value.name)}}function DS(t,i){if(1&t&&(e.TgZ(0,"option",25),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("ngValue",n),e.xp6(1),e.hij(" ",n," ")}}function RS(t,i){if(1&t&&(e.TgZ(0,"select",23),e.YNc(1,DS,2,2,"option",24),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.s9C("id",n.value.name),e.s9C("formControlName",n.value.name),e.xp6(1),e.Q6J("ngForOf",n.value.enum_allowed)}}function L0(t,i){1&t&&(e.TgZ(0,"span",26),e.SDv(1,27),e.qZA())}function pM(t,i){1&t&&(e.TgZ(0,"span",26),e.SDv(1,28),e.qZA())}function PS(t,i){if(1&t&&(e.TgZ(0,"div",15),e.YNc(1,fM,1,2,"input",19),e.YNc(2,RS,2,3,"select",20),e.YNc(3,L0,2,0,"span",21),e.YNc(4,pM,2,0,"span",21),e.qZA()),2&t){const n=e.oxw().$implicit;e.oxw();const s=e.MAs(2),l=e.oxw();e.xp6(1),e.Q6J("ngIf",0===n.value.enum_allowed.length),e.xp6(1),e.Q6J("ngIf",n.value.enum_allowed.length>0),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,s,"invalidUuid")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,s,"pattern"))}}function xS(t,i){1&t&&(e.TgZ(0,"span",26),e.SDv(1,30),e.qZA())}function jy(t,i){if(1&t&&(e.TgZ(0,"span",26),e.SDv(1,31),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.pQV(n.value.max),e.QtT(1)}}function k0(t,i){if(1&t&&(e.TgZ(0,"span",26),e.SDv(1,32),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.pQV(n.value.min),e.QtT(1)}}function Zy(t,i){1&t&&(e.TgZ(0,"span",26),e.SDv(1,33),e.qZA())}function zy(t,i){if(1&t&&(e.TgZ(0,"div",15),e._UZ(1,"input",29),e.YNc(2,xS,2,0,"span",21),e.YNc(3,jy,2,1,"span",21),e.YNc(4,k0,2,1,"span",21),e.YNc(5,Zy,2,0,"span",21),e.qZA()),2&t){const n=e.oxw().$implicit;e.oxw();const s=e.MAs(2),l=e.oxw();e.xp6(1),e.s9C("id",n.value.name),e.s9C("formControlName",n.value.name),e.s9C("min",n.value.min),e.s9C("max",n.value.max),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,s,"required")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,s,"max")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,s,"min")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,s,"pattern"))}}function wS(t,i){1&t&&(e.TgZ(0,"span",26),e.SDv(1,35),e.qZA())}function NS(t,i){1&t&&(e.TgZ(0,"span",26),e.SDv(1,36),e.qZA())}function IS(t,i){if(1&t&&(e.TgZ(0,"div",15),e._UZ(1,"input",34),e.YNc(2,wS,2,0,"span",21),e.YNc(3,NS,2,0,"span",21),e.qZA()),2&t){const n=e.oxw().$implicit;e.oxw();const s=e.MAs(2),l=e.oxw();e.xp6(1),e.s9C("id",n.value.name),e.s9C("formControlName",n.value.name),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,s,"required")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,s,"pattern"))}}const FS=function(){return["addr","str","uuid"]},LS=function(){return["uint","int","size","secs"]};function kS(t,i){if(1&t&&(e.TgZ(0,"div",11)(1,"label",12),e._uU(2),e.YNc(3,AS,3,3,"cd-helper",13),e.qZA(),e.YNc(4,dM,4,3,"div",14),e.YNc(5,PS,5,4,"div",14),e.YNc(6,zy,6,8,"div",14),e.YNc(7,IS,4,4,"div",14),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.s9C("for",n.value.name),e.xp6(1),e.hij(" ",n.value.name," "),e.xp6(1),e.Q6J("ngIf",n.value.long_desc||n.value.desc),e.xp6(1),e.Q6J("ngIf","bool"===n.value.type),e.xp6(1),e.Q6J("ngIf",e.DdM(7,FS).includes(n.value.type)),e.xp6(1),e.Q6J("ngIf",e.DdM(8,LS).includes(n.value.type)),e.xp6(1),e.Q6J("ngIf","float"===n.value.type)}}function $S(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.qZA(),e.TgZ(6,"div",7),e.YNc(7,kS,8,9,"div",8),e.ALo(8,"keyvalue"),e.qZA(),e.TgZ(9,"div",9)(10,"cd-form-button-panel",10),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onSubmit())}),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("formGroup",n.mgrModuleForm),e.xp6(6),e.Q6J("ngForOf",e.lcZ(8,4,n.moduleOptions)),e.xp6(3),e.Q6J("form",n.mgrModuleForm)("submitText",n.actionLabels.UPDATE)}}let HS=(()=>{class t extends de.E{constructor(n,s,l,_,g,M){super(),this.actionLabels=n,this.route=s,this.router=l,this.formBuilder=_,this.mgrModuleService=g,this.notificationService=M,this.moduleName="",this.moduleOptions=[]}ngOnInit(){this.route.params.subscribe(n=>{this.moduleName=decodeURIComponent(n.name);const s=[this.mgrModuleService.getOptions(this.moduleName),this.mgrModuleService.getConfig(this.moduleName)];(0,Wa.D)(s).subscribe(l=>{this.moduleOptions=l[0],this.createForm(),this.mgrModuleForm.setValue(l[1]),this.loadingReady()},l=>{this.loadingError()})})}getValidators(n){const s=[];switch(n.type){case"addr":s.push(zo.h.ip());break;case"uint":case"int":case"size":case"secs":s.push(se.kI.required);break;case"str":Ke().isNumber(n.min)&&s.push(se.kI.minLength(n.min)),Ke().isNumber(n.max)&&s.push(se.kI.maxLength(n.max));break;case"float":s.push(se.kI.required),s.push(zo.h.decimalNumber());break;case"uuid":s.push(zo.h.uuid())}return s}createForm(){const n={};Ke().forEach(this.moduleOptions,s=>{n[s.name]=[s.default_value,this.getValidators(s)]}),this.mgrModuleForm=this.formBuilder.group(n)}goToListView(){this.router.navigate(["/mgr-modules"])}onSubmit(){if(this.mgrModuleForm.pristine)return void this.goToListView();const n={};Ke().forEach(this.moduleOptions,s=>{const l=this.mgrModuleForm.get(s.name);l.dirty&&l.valid&&(n[s.name]=l.value)}),this.mgrModuleService.updateConfig(this.moduleName,n).subscribe(()=>{this.notificationService.show(ua.k.success,"Updated options for module '" + this.moduleName + "'."),this.goToListView()},()=>{this.mgrModuleForm.setErrors({cdSubmitButton:!0})})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Dr.p4),e.Y36(Ce.gz),e.Y36(Ce.F0),e.Y36(Xd.O),e.Y36(Wd.N),e.Y36(Le.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-mgr-module-form"]],features:[e.qOj],decls:1,vars:1,consts:function(){let i,n,s,l,_,g,M,x,Y;return i="Edit Manager module",n="The entered value is not a valid UUID, e.g.: 67dcac9f-2c03-4d6c-b7bd-1210b3a259a8",s="The entered value needs to be a valid IP address.",l="This field is required.",_="The entered value is too high! It must be lower or equal to " + "\ufffd0\ufffd" + ".",g="The entered value is too low! It must be greater or equal to " + "\ufffd0\ufffd" + ".",M="The entered value needs to be a number.",x="This field is required.",Y="The entered value needs to be a number or decimal.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","mgrModuleForm","novalidate","",3,"formGroup"],["frm","ngForm"],[1,"card"],[1,"card-header"],i,[1,"card-body"],["class","form-group row",4,"ngFor","ngForOf"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"form-group","row"],[1,"cd-col-form-label",3,"for"],[4,"ngIf"],["class","cd-col-form-input",4,"ngIf"],[1,"cd-col-form-input"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","formControlName"],[1,"custom-control-label",3,"for"],["class","form-control","type","text",3,"id","formControlName",4,"ngIf"],["class","form-select",3,"id","formControlName",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],["type","text",1,"form-control",3,"id","formControlName"],[1,"form-select",3,"id","formControlName"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[1,"invalid-feedback"],n,s,["type","number",1,"form-control",3,"id","formControlName","min","max"],l,_,g,M,["type","number",1,"form-control",3,"id","formControlName"],x,Y]},template:function(n,s){1&n&&e.YNc(0,$S,11,6,"div",0),2&n&&e.Q6J("cdFormLoading",s.loading)},dependencies:[f.sg,f.O5,se._Y,se.YN,se.Kr,se.Fj,se.wV,se.Wl,se.EJ,se.JJ,se.JL,se.qQ,se.Fd,se.sg,se.u,je.S,lt.p,Vt.y,Ht.o,wn.b,ar.P,cr.V,f.Nd,_i.m]}),t})();function _M(t,i){if(1&t&&(e.ynx(0),e._UZ(1,"cd-table-key-value",1),e.BQk()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("data",n.module_config)}}let hM=(()=>{class t{constructor(n){this.mgrModuleService=n}ngOnChanges(){this.selection&&this.mgrModuleService.getConfig(this.selection.name).subscribe(n=>{this.module_config=n})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Wd.N))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-mgr-module-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:[[4,"ngIf"],[3,"data"]],template:function(n,s){1&n&&e.YNc(0,_M,2,1,"ng-container",0),2&n&&e.Q6J("ngIf",s.selection)},dependencies:[f.O5,Pc.b]}),t})();class I1 extends Oi.o{constructor(i,n,s){super(),this.authStorageService=i,this.mgrModuleService=n,this.notificationService=s,this.columns=[],this.modules=[],this.selection=new Kn.r,this.permission=this.authStorageService.getPermissions().configOpt,this.columns=[{name:"Name",prop:"name",flexGrow:1},{name:"Enabled",prop:"enabled",flexGrow:1,cellClass:"text-center",cellTransformation:ai.e.checkIcon},{name:"Always-On",prop:"always_on",flexGrow:1,cellClass:"text-center",cellTransformation:ai.e.checkIcon}];const l=()=>this.selection.first()&&encodeURIComponent(this.selection.first().name);this.tableActions=[{name:"Edit",permission:"update",disable:()=>!this.selection.hasSelection||0===Object.values(this.selection.first().options).length,routerLink:()=>`/mgr-modules/edit/${l()}`,icon:ei.P.edit},{name:"Enable",permission:"update",click:()=>this.updateModuleState(),disable:()=>this.isTableActionDisabled("enabled"),icon:ei.P.start},{name:"Disable",permission:"update",click:()=>this.updateModuleState(),disable:()=>this.getTableActionDisabledDesc(),icon:ei.P.stop}]}getModuleList(i){this.mgrModuleService.list().subscribe(n=>{this.modules=n},()=>{i.error()})}updateSelection(i){this.selection=i}isTableActionDisabled(i){if(!this.selection.hasSelection)return!0;const n=this.selection.first();if("dashboard"===n.name||n.always_on)return!0;switch(i){case"enabled":return n.enabled;case"disabled":return!n.enabled}}getTableActionDisabledDesc(){return this.selection.first()?.always_on?"This Manager module is always on.":this.isTableActionDisabled("disabled")}updateModuleState(){if(!this.selection.hasSelection)return;let i;const n=()=>{(0,qo.H)(2e3).subscribe(()=>{this.mgrModuleService.list().subscribe(()=>{this.notificationService.suspendToasties(!1),this.blockUI.stop(),this.table.refreshBtn()},()=>{n()})})},s=this.selection.first();i=s.enabled?this.mgrModuleService.disable(s.name):this.mgrModuleService.enable(s.name),i.subscribe(()=>{},()=>{this.notificationService.suspendToasties(!0),this.blockUI.start("Reconnecting, please wait ..."),n()})}}I1.\u0275fac=function(i){return new(i||I1)(e.Y36(fa.j),e.Y36(Wd.N),e.Y36(Le.g))},I1.\u0275cmp=e.Xpm({type:I1,selectors:[["cd-mgr-module-list"]],viewQuery:function(i,n){if(1&i&&e.Gf(Ol.a,7),2&i){let s;e.iGM(s=e.CRH())&&(n.table=s.first)}},features:[e.qOj],decls:4,vars:8,consts:[["columnMode","flex","selectionType","single","identifier","module",3,"autoReload","data","columns","hasDetails","setExpandedRow","updateSelection","fetchData"],["table",""],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"]],template:function(i,n){1&i&&(e.TgZ(0,"cd-table",0,1),e.NdJ("setExpandedRow",function(l){return n.setExpandedRow(l)})("updateSelection",function(l){return n.updateSelection(l)})("fetchData",function(l){return n.getModuleList(l)}),e._UZ(2,"cd-table-actions",2)(3,"cd-mgr-module-details",3),e.qZA()),2&i&&(e.Q6J("autoReload",!1)("data",n.modules)("columns",n.columns)("hasDetails",!0),e.xp6(2),e.Q6J("permission",n.permission)("selection",n.selection)("tableActions",n.tableActions),e.xp6(1),e.Q6J("selection",n.expandedRow))},dependencies:[Ol.a,il.K,hM]}),(0,Gt.gn)([(0,zp.bH)(),(0,Gt.w6)("design:type",Object)],I1.prototype,"blockUI",void 0);let mM=(()=>{class t{constructor(n){this.http=n}getMonitor(){return this.http.get("api/monitor")}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function gM(t,i){if(1&t&&(e.TgZ(0,"table",11)(1,"tbody")(2,"tr")(3,"td",12),e.SDv(4,13),e.qZA(),e.TgZ(5,"td"),e._uU(6),e.qZA()(),e.TgZ(7,"tr")(8,"td",12),e.SDv(9,14),e.qZA(),e.TgZ(10,"td"),e._uU(11),e.ALo(12,"relativeDate"),e.qZA()(),e.TgZ(13,"tr")(14,"td",12),e.SDv(15,15),e.qZA(),e.TgZ(16,"td"),e._uU(17),e.qZA()(),e.TgZ(18,"tr")(19,"td",12),e.SDv(20,16),e.qZA(),e.TgZ(21,"td"),e._uU(22),e.qZA()(),e.TgZ(23,"tr")(24,"td",12),e.SDv(25,17),e.qZA(),e.TgZ(26,"td"),e._uU(27),e.qZA()(),e.TgZ(28,"tr")(29,"td",12),e.SDv(30,18),e.qZA(),e.TgZ(31,"td"),e._uU(32),e.qZA()(),e.TgZ(33,"tr")(34,"td",12),e.SDv(35,19),e.qZA(),e.TgZ(36,"td"),e._uU(37),e.qZA()()()()),2&t){const n=e.oxw();e.xp6(6),e.Oqu(n.mon_status.monmap.fsid),e.xp6(5),e.Oqu(e.lcZ(12,7,n.mon_status.monmap.modified)),e.xp6(6),e.Oqu(n.mon_status.monmap.epoch),e.xp6(5),e.Oqu(n.mon_status.features.quorum_con),e.xp6(5),e.Oqu(n.mon_status.features.quorum_mon),e.xp6(5),e.Oqu(n.mon_status.features.required_con),e.xp6(5),e.Oqu(n.mon_status.features.required_mon)}}let vM=(()=>{class t{constructor(n){this.monitorService=n,this.inQuorum={columns:[{prop:"name",name:"Name",cellTransformation:ai.e.routerLink},{prop:"rank",name:"Rank"},{prop:"public_addr",name:"Public Address"},{prop:"cdOpenSessions",name:"Open Sessions",cellTransformation:ai.e.sparkline,comparator:(s,l)=>{const _=Ke().last(s),g=Ke().last(l);return _&&g&&_!==g?_>g?1:-1:0}}]},this.notInQuorum={columns:[{prop:"name",name:"Name",cellTransformation:ai.e.routerLink},{prop:"rank",name:"Rank"},{prop:"public_addr",name:"Public Address"}]}}refresh(){this.monitorService.getMonitor().subscribe(n=>{n.in_quorum.map(s=>(s.cdOpenSessions=s.stats.num_sessions.map(l=>l[1]),s.cdLink="/perf_counters/mon/"+s.name,s.cdParams={fromLink:"/monitor"},s)),n.out_quorum.map(s=>(s.cdLink="/perf_counters/mon/"+s.name,s.cdParams={fromLink:"/monitor"},s)),this.inQuorum.data=[...n.in_quorum],this.notInQuorum.data=[...n.out_quorum],this.mon_status=n.mon_status})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(mM))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-monitor"]],decls:15,vars:5,consts:function(){let i,n,s,l,_,g,M,x,Y,K;return i="Status",n="In Quorum",s="Not In Quorum",l="Cluster ID",_="monmap modified",g="monmap epoch",M="quorum con",x="quorum mon",Y="required con",K="required mon",[[1,"row"],[1,"col-lg-4"],[1,"cd-header"],i,["class","table table-striped",4,"ngIf"],[1,"col-lg-8"],[1,"in-quorum","cd-header"],n,[3,"data","columns"],s,[3,"data","columns","fetchData"],[1,"table","table-striped"],[1,"bold"],l,_,g,M,x,Y,K]},template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"fieldset")(3,"legend",2),e.SDv(4,3),e.qZA(),e.YNc(5,gM,38,9,"table",4),e.qZA()(),e.TgZ(6,"div",5)(7,"legend",6),e.SDv(8,7),e.qZA(),e.TgZ(9,"div"),e._UZ(10,"cd-table",8),e.qZA(),e.TgZ(11,"legend",6),e.SDv(12,9),e.qZA(),e.TgZ(13,"div")(14,"cd-table",10),e.NdJ("fetchData",function(){return s.refresh()}),e.qZA()()()()),2&n&&(e.xp6(5),e.Q6J("ngIf",s.mon_status),e.xp6(5),e.Q6J("data",s.inQuorum.data)("columns",s.inQuorum.columns),e.xp6(4),e.Q6J("data",s.notInQuorum.data)("columns",s.notInQuorum.columns))},dependencies:[f.O5,Ol.a,$p.h]}),t})();class US{}function yM(t,i){if(1&t&&(e.TgZ(0,"span",18),e.SDv(1,19),e.qZA()),2&t){const n=e.oxw(2);e.Q6J("ngbTooltip",n.clusterWideTooltip)}}function EM(t,i){1&t&&e._UZ(0,"hr",20)}function SM(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",12)(1,"input",13),e.NdJ("change",function(){const _=e.CHM(n).$implicit,g=e.oxw();return e.KtG(g.changeValue(_))}),e.qZA(),e.TgZ(2,"label",14)(3,"strong"),e._uU(4),e.qZA(),e.YNc(5,yM,2,1,"span",15),e._UZ(6,"br"),e.TgZ(7,"span",16),e._uU(8),e.qZA()(),e.YNc(9,EM,1,0,"hr",17),e.qZA()}if(2&t){const n=i.$implicit,s=i.last;e.xp6(1),e.Q6J("checked",n.value)("indeterminate",n.indeterminate)("name",n.code)("id",n.code),e.xp6(1),e.Q6J("for",n.code),e.xp6(2),e.Oqu(n.name),e.xp6(1),e.Q6J("ngIf",n.clusterWide),e.xp6(3),e.Oqu(n.description),e.xp6(1),e.Q6J("ngIf",!s)}}let CM=(()=>{class t{constructor(n,s,l,_,g){this.activeModal=n,this.actionLabels=s,this.authStorageService=l,this.osdService=_,this.notificationService=g,this.initialSelection=[],this.osdFlagsForm=new se.nJ({}),this.flags=[{code:"noup",name:"No Up",description:"OSDs are not allowed to start",value:!1,clusterWide:!1,indeterminate:!1},{code:"nodown",name:"No Down",description:"OSD failure reports are being ignored, such that the monitors will not mark OSDs down",value:!1,clusterWide:!1,indeterminate:!1},{code:"noin",name:"No In",description:"OSDs that were previously marked out will not be marked back in when they start",value:!1,clusterWide:!1,indeterminate:!1},{code:"noout",name:"No Out",description:"OSDs will not automatically be marked out after the configured interval",value:!1,clusterWide:!1,indeterminate:!1}],this.clusterWideTooltip="The flag has been enabled for the entire cluster.",this.permissions=this.authStorageService.getPermissions()}ngOnInit(){const n=this.selected.length;this.osdService.getFlags().subscribe(s=>{const l=this.getActivatedIndivFlags();this.flags.forEach(_=>{const g=l[_.code];s.includes(_.code)&&(_.clusterWide=!0),g===n?_.value=!0:g>0&&(_.indeterminate=!0)}),this.initialSelection=Ke().cloneDeep(this.flags)})}getActivatedIndivFlags(){const n={};return this.flags.forEach(s=>{n[s.code]=0}),[].concat(...this.selected.map(s=>s.state)).map(s=>{Object.keys(n).includes(s)&&(n[s]=n[s]+1)}),n}changeValue(n){n.value=!n.value,n.indeterminate=!1}resetSelection(){this.flags=Ke().cloneDeep(this.initialSelection)}submitAction(){const n={};this.flags.forEach(l=>{n[l.code]=l.indeterminate?null:l.value});const s=this.selected.map(l=>l.osd);this.osdService.updateIndividualFlags(n,s).subscribe(()=>{this.notificationService.show(ua.k.success,"Updated OSD Flags"),this.activeModal.close()},()=>{this.activeModal.close()})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.Kz),e.Y36(Dr.p4),e.Y36(fa.j),e.Y36(md),e.Y36(Le.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-flags-indiv-modal"]],decls:12,vars:6,consts:function(){let i,n,s;return i="Individual OSD Flags",n="Restore previous selection",s="Cluster-wide",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","osdFlagsForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body","osd-modal"],["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],[1,"modal-footer"],["type","button",1,"btn","btn-light",3,"click"],n,[3,"form","showSubmit","submitText","submitActionEvent"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"checked","indeterminate","name","id","change"],["ng-class","['tc_' + key]",1,"custom-control-label",3,"for"],["class","badge badge-hdd ms-2",3,"ngbTooltip",4,"ngIf"],[1,"form-text","text-muted"],["class","m-1",4,"ngIf"],[1,"badge","badge-hdd","ms-2",3,"ngbTooltip"],s,[1,"m-1"]]},template:function(n,s){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6),e.YNc(7,SM,10,9,"div",7),e.qZA(),e.TgZ(8,"div",8)(9,"button",9),e.NdJ("click",function(){return s.resetSelection()}),e.SDv(10,10),e.qZA(),e.TgZ(11,"cd-form-button-panel",11),e.NdJ("submitActionEvent",function(){return s.submitAction()}),e.qZA()()(),e.BQk(),e.qZA()),2&n&&(e.Q6J("modalRef",s.activeModal),e.xp6(4),e.Q6J("formGroup",s.osdFlagsForm),e.xp6(3),e.Q6J("ngForOf",s.flags),e.xp6(4),e.Q6J("form",s.osdFlagsForm)("showSubmit",s.permissions.osd.update)("submitText",s.actionLabels.UPDATE))},dependencies:[f.sg,f.O5,Kt.z,lt.p,Ht.o,wn.b,cr.V,se._Y,se.JL,se.sg,Be._L]}),t})();var Vy=o(84333);function TM(t,i){1&t&&e._UZ(0,"hr",15)}function bM(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",10)(1,"input",11),e.NdJ("change",function(){const _=e.CHM(n).$implicit;return e.KtG(_.value=!_.value)}),e.qZA(),e.TgZ(2,"label",12)(3,"strong"),e._uU(4),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"span",13),e._uU(7),e.qZA()(),e.YNc(8,TM,1,0,"hr",14),e.qZA()}if(2&t){const n=i.$implicit,s=i.last;e.xp6(1),e.Q6J("checked",n.value)("name",n.code)("id",n.code)("disabled",n.disabled),e.xp6(1),e.Q6J("for",n.code),e.xp6(2),e.Oqu(n.name),e.xp6(3),e.Oqu(n.description),e.xp6(1),e.Q6J("ngIf",!s)}}let MM=(()=>{class t{constructor(n,s,l,_,g){this.activeModal=n,this.actionLabels=s,this.authStorageService=l,this.osdService=_,this.notificationService=g,this.osdFlagsForm=new se.nJ({}),this.allFlags={noin:{code:"noin",name:"No In",value:!1,description:"OSDs that were previously marked out will not be marked back in when they start"},noout:{code:"noout",name:"No Out",value:!1,description:"OSDs will not automatically be marked out after the configured interval"},noup:{code:"noup",name:"No Up",value:!1,description:"OSDs are not allowed to start"},nodown:{code:"nodown",name:"No Down",value:!1,description:"OSD failure reports are being ignored, such that the monitors will not mark OSDs down"},pause:{code:"pause",name:"Pause",value:!1,description:"Pauses reads and writes"},noscrub:{code:"noscrub",name:"No Scrub",value:!1,description:"Scrubbing is disabled"},"nodeep-scrub":{code:"nodeep-scrub",name:"No Deep Scrub",value:!1,description:"Deep Scrubbing is disabled"},nobackfill:{code:"nobackfill",name:"No Backfill",value:!1,description:"Backfilling of PGs is suspended"},norebalance:{code:"norebalance",name:"No Rebalance",value:!1,description:"OSD will choose not to backfill unless PG is also degraded"},norecover:{code:"norecover",name:"No Recover",value:!1,description:"Recovery of PGs is suspended"},sortbitwise:{code:"sortbitwise",name:"Bitwise Sort",value:!1,description:"Use bitwise sort",disabled:!0},purged_snapdirs:{code:"purged_snapdirs",name:"Purged Snapdirs",value:!1,description:"OSDs have converted snapsets",disabled:!0},recovery_deletes:{code:"recovery_deletes",name:"Recovery Deletes",value:!1,description:"Deletes performed during recovery instead of peering",disabled:!0},pglog_hardlimit:{code:"pglog_hardlimit",name:"PG Log Hard Limit",value:!1,description:"Puts a hard limit on pg log length",disabled:!0}},this.unknownFlags=[],this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.osdService.getFlags().subscribe(n=>{n.forEach(s=>{this.allFlags[s]?this.allFlags[s].value=!0:this.unknownFlags.push(s)}),this.flags=Ke().toArray(this.allFlags)})}submitAction(){const n=this.flags.filter(s=>s.value).map(s=>s.code).concat(this.unknownFlags);this.osdService.updateFlags(n).subscribe(()=>{this.notificationService.show(ua.k.success,"Updated OSD Flags"),this.activeModal.close()},()=>{this.activeModal.close()})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.Kz),e.Y36(Dr.p4),e.Y36(fa.j),e.Y36(md),e.Y36(Le.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-flags-modal"]],decls:10,vars:6,consts:function(){let i;return i="Cluster-wide OSD Flags",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","osdFlagsForm","novalidate","","cdFormScope","osd",3,"formGroup"],["formDir","ngForm"],[1,"modal-body","osd-modal"],["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","showSubmit","submitText","submitActionEvent"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"checked","name","id","disabled","change"],["ng-class","['tc_' + key]",1,"custom-control-label",3,"for"],[1,"form-text","text-muted"],["class","m-1",4,"ngIf"],[1,"m-1"]]},template:function(n,s){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6),e.YNc(7,bM,9,8,"div",7),e.qZA(),e.TgZ(8,"div",8)(9,"cd-form-button-panel",9),e.NdJ("submitActionEvent",function(){return s.submitAction()}),e.qZA()()(),e.BQk(),e.qZA()),2&n&&(e.Q6J("modalRef",s.activeModal),e.xp6(4),e.Q6J("formGroup",s.osdFlagsForm),e.xp6(3),e.Q6J("ngForOf",s.flags),e.xp6(2),e.Q6J("form",s.osdFlagsForm)("showSubmit",s.permissions.osd.update)("submitText",s.actionLabels.UPDATE))},dependencies:[f.sg,f.O5,Kt.z,lt.p,Ht.o,Vy.T,wn.b,cr.V,se._Y,se.JL,se.sg]}),t})();function OM(t,i){if(1&t&&(e.TgZ(0,"cd-helper"),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",n.long_desc,"")}}function BS(t,i){if(1&t&&(e.TgZ(0,"div",4)(1,"label",5)(2,"b"),e._uU(3),e.qZA(),e._UZ(4,"br"),e.TgZ(5,"span",6),e._uU(6),e.YNc(7,OM,2,1,"cd-helper",7),e.qZA()(),e.TgZ(8,"div",8)(9,"div",9),e._UZ(10,"input",10)(11,"label",11),e.qZA()()()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("for",n.name),e.xp6(2),e.Oqu(n.text),e.xp6(3),e.hij(" ",n.desc," "),e.xp6(1),e.Q6J("ngIf",n.long_desc),e.xp6(3),e.Q6J("id",n.name)("formControlName",n.name),e.xp6(1),e.Q6J("for",n.name)}}function GS(t,i){if(1&t&&(e.TgZ(0,"cd-helper"),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",n.long_desc,"")}}const YS=function(t){return[t]};function jS(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",16),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2).$implicit,_=e.oxw();return e.KtG(_.resetValue(l.name))}),e._UZ(1,"i",17),e.qZA()}if(2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngClass",e.VKq(1,YS,n.icons.erase))}}function ZS(t,i){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",n.additionalTypeInfo.patternHelpText,"")}}function zS(t,i){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",n.additionalTypeInfo.patternHelpText,"")}}function VS(t,i){if(1&t&&(e.TgZ(0,"span",18),e.SDv(1,19),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.pQV(n.maxValue),e.QtT(1)}}function WS(t,i){if(1&t&&(e.TgZ(0,"span",18),e.SDv(1,20),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.pQV(n.minValue),e.QtT(1)}}function JS(t,i){if(1&t&&(e.TgZ(0,"div",4)(1,"label",5),e._uU(2),e._UZ(3,"br"),e.TgZ(4,"span",6),e._uU(5),e.YNc(6,GS,2,1,"cd-helper",7),e.qZA()(),e.TgZ(7,"div",8)(8,"div",12),e._UZ(9,"input",13),e.YNc(10,jS,2,3,"button",14),e.qZA(),e.YNc(11,ZS,2,1,"span",15),e.YNc(12,zS,2,1,"span",15),e.YNc(13,VS,2,1,"span",15),e.YNc(14,WS,2,1,"span",15),e.qZA()()),2&t){const n=e.oxw().$implicit,s=e.oxw();e.xp6(1),e.Q6J("for",n.name),e.xp6(1),e.hij("",n.text," "),e.xp6(3),e.hij(" ",n.desc," "),e.xp6(1),e.Q6J("ngIf",n.long_desc),e.xp6(3),e.Q6J("type",n.additionalTypeInfo.inputType)("id",n.name)("placeholder",n.additionalTypeInfo.humanReadable)("formControlName",n.name)("step",s.getStep(n.type,s.optionsForm.getValue(n.name))),e.xp6(1),e.Q6J("ngIf",s.optionsFormShowReset),e.xp6(1),e.Q6J("ngIf",s.optionsForm.showError(n.name,s.optionsFormDir,"pattern")),e.xp6(1),e.Q6J("ngIf",s.optionsForm.showError(n.name,s.optionsFormDir,"invalidUuid")),e.xp6(1),e.Q6J("ngIf",s.optionsForm.showError(n.name,s.optionsFormDir,"max")),e.xp6(1),e.Q6J("ngIf",s.optionsForm.showError(n.name,s.optionsFormDir,"min"))}}function Wy(t,i){1&t&&e._UZ(0,"hr",21)}function Jy(t,i){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,BS,12,7,"div",2),e.YNc(2,JS,15,14,"div",2),e.YNc(3,Wy,1,0,"hr",3),e.qZA()),2&t){const n=i.$implicit,s=i.last;e.xp6(1),e.Q6J("ngIf","bool"===n.type),e.xp6(1),e.Q6J("ngIf","bool"!==n.type),e.xp6(1),e.Q6J("ngIf",!s)}}let Qg=(()=>{class t{constructor(n){this.configService=n,this.optionNames=[],this.optionsForm=new Fe.d({}),this.optionsFormDir=new se.F([],[]),this.optionsFormGroupName="",this.optionsFormShowReset=!0,this.icons=ei.P,this.options=[],this.optionsFormGroup=new Fe.d({})}static optionNameToText(n){const s=["mon","mgr","osd","mds","client"];return n.split("_").filter((l,_)=>0!==_||!s.includes(l)).map(l=>l.charAt(0).toUpperCase()+l.substring(1)).join(" ")}ngOnInit(){this.createForm(),this.loadStoredData()}createForm(){this.optionsForm.addControl(this.optionsFormGroupName,this.optionsFormGroup),this.optionNames.forEach(n=>{this.optionsFormGroup.addControl(n,new se.p4(null))})}getStep(n,s){return xf.getTypeStep(n,s)}loadStoredData(){this.configService.filter(this.optionNames).subscribe(n=>{this.options=n.map(s=>{const l=this.optionsForm.get(s.name),_=xf.getTypeValidators(s);return s.additionalTypeInfo=xf.getType(s.type),s.text=t.optionNameToText(s.name),s.value=Ke().find(s.value,g=>"osd"===g.section),s.value&&l.setValue("bool"===s.additionalTypeInfo.name?"true"===s.value.value:s.value.value),_&&(s.patternHelpText=_.patternHelpText,"max"in _&&""!==_.max&&(s.maxValue=_.max),"min"in _&&""!==_.min&&(s.minValue=_.min),l.setValidators(_.validators)),s})})}saveValues(){const n={};return this.optionNames.forEach(s=>{const l=this.optionsForm.getValue(s);null!==l&&""!==l&&(n[s]={section:"osd",value:l})}),this.configService.bulkCreate({options:n})}resetValue(n){this.configService.delete(n,"osd").subscribe(()=>{this.optionsForm.get(n).reset()})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(uu.e))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-config-option"]],inputs:{optionNames:"optionNames",optionsForm:"optionsForm",optionsFormDir:"optionsFormDir",optionsFormGroupName:"optionsFormGroupName",optionsFormShowReset:"optionsFormShowReset"},decls:2,vars:2,consts:function(){let i,n,s;return i="Remove the custom configuration value. The default configuration will be inherited and used instead.",n="The entered value is too high! It must not be greater than " + "\ufffd0\ufffd" + ".",s="The entered value is too low! It must not be lower than " + "\ufffd0\ufffd" + ".",[[3,"formGroup"],[4,"ngFor","ngForOf"],["class","form-group row pt-2",4,"ngIf"],["class","my-2",4,"ngIf"],[1,"form-group","row","pt-2"],[1,"cd-col-form-label",3,"for"],[1,"text-muted"],[4,"ngIf"],[1,"cd-col-form-input"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","formControlName"],[1,"custom-control-label",3,"for"],[1,"input-group"],[1,"form-control",3,"type","id","placeholder","formControlName","step"],["class","btn btn-light","type","button","data-toggle","button","title",i,3,"click",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],["type","button","data-toggle","button","title",i,1,"btn","btn-light",3,"click"],["aria-hidden","true",3,"ngClass"],[1,"invalid-feedback"],n,s,[1,"my-2"]]},template:function(n,s){1&n&&(e.TgZ(0,"div",0),e.YNc(1,Jy,4,3,"div",1),e.qZA()),2&n&&(e.Q6J("formGroup",s.optionsFormGroup),e.xp6(1),e.Q6J("ngForOf",s.options))},dependencies:[f.mk,f.sg,f.O5,se.Fj,se.Wl,se.JJ,se.JL,se.sg,se.u,Ht.o,wn.b,ar.P,cr.V,je.S],styles:[".custom-checkbox[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .custom-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{cursor:pointer}.col-form-label[_ngcontent-%COMP%]{text-align:left}"]}),t})(),QS=(()=>{class t{}return t.basicOptions=["osd_scrub_during_recovery","osd_scrub_begin_hour","osd_scrub_end_hour","osd_scrub_begin_week_day","osd_scrub_end_week_day","osd_scrub_min_interval","osd_scrub_max_interval","osd_deep_scrub_interval","osd_scrub_auto_repair","osd_max_scrubs","osd_scrub_priority","osd_scrub_sleep"],t.advancedOptions=["osd_scrub_auto_repair_num_errors","osd_debug_deep_scrub_sleep","osd_deep_scrub_keys","osd_deep_scrub_large_omap_object_key_threshold","osd_deep_scrub_large_omap_object_value_sum_threshold","osd_deep_scrub_randomize_ratio","osd_deep_scrub_stride","osd_deep_scrub_update_digest_min_age","osd_requested_scrub_priority","osd_scrub_backoff_ratio","osd_scrub_chunk_max","osd_scrub_chunk_min","osd_scrub_cost","osd_scrub_interval_randomize_ratio","osd_scrub_invalid_stats","osd_scrub_load_threshold","osd_scrub_max_preemptions","osd_shallow_scrub_chunk_max","osd_shallow_scrub_chunk_min"],t})();const AM=["basicOptionsValues"],F1=["advancedOptionsValues"];function qD(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"a",15),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.advancedEnabled=!0)}),e.SDv(1,16),e.qZA()}}function Qy(t,i){if(1&t&&(e.TgZ(0,"div")(1,"h3",17),e.SDv(2,18),e.qZA(),e._UZ(3,"cd-config-option",7,19),e.qZA()),2&t){const n=e.oxw(),s=e.MAs(7);e.xp6(3),e.Q6J("optionNames",n.advancedOptions)("optionsForm",n.osdPgScrubForm)("optionsFormDir",s)("optionsFormGroupName","advancedFormGroup")}}let eR=(()=>{class t{constructor(n,s,l,_){this.activeModal=n,this.authStorageService=s,this.notificationService=l,this.actionLabels=_,this.basicOptions=QS.basicOptions,this.advancedOptions=QS.advancedOptions,this.advancedEnabled=!1,this.osdPgScrubForm=new Fe.d({}),this.resource="PG scrub options",this.action=this.actionLabels.EDIT,this.permissions=this.authStorageService.getPermissions()}submitAction(){const n=[this.basicOptionsValues.saveValues()];this.advancedOptionsValues&&n.push(this.advancedOptionsValues.saveValues()),(0,Wa.D)(n).subscribe(()=>{this.notificationService.show(ua.k.success,"Updated PG scrub options"),this.activeModal.close()},()=>{this.activeModal.close()})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.Kz),e.Y36(fa.j),e.Y36(Le.g),e.Y36(Dr.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-pg-scrub-modal"]],viewQuery:function(n,s){if(1&n&&(e.Gf(AM,7),e.Gf(F1,5)),2&n){let l;e.iGM(l=e.CRH())&&(s.basicOptionsValues=l.first),e.iGM(l=e.CRH())&&(s.advancedOptionsValues=l.first)}},decls:19,vars:21,consts:function(){let i,n,s;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Advanced...",s="Advanced configuration options",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["novalidate","","cdFormScope","osd",3,"formGroup"],["formDir","ngForm"],[1,"modal-body","osd-modal"],[3,"optionNames","optionsForm","optionsFormDir","optionsFormGroupName"],["basicOptionsValues",""],[1,"row"],[1,"col-sm-12"],["class","pull-right margin-right-md",3,"click",4,"ngIf"],[4,"ngIf"],[1,"modal-footer"],[3,"form","showSubmit","submitText","submitActionEvent"],[1,"pull-right","margin-right-md",3,"click"],n,[1,"page-header"],s,["advancedOptionsValues",""]]},template:function(n,s){if(1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6),e._UZ(9,"cd-config-option",7,8),e.TgZ(11,"div",9)(12,"div",10),e.YNc(13,qD,2,0,"a",11),e.qZA()(),e.YNc(14,Qy,5,4,"div",12),e.qZA(),e.TgZ(15,"div",13)(16,"cd-form-button-panel",14),e.NdJ("submitActionEvent",function(){return s.submitAction()}),e.ALo(17,"titlecase"),e.ALo(18,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&n){const l=e.MAs(7);e.Q6J("modalRef",s.activeModal),e.xp6(4),e.pQV(e.lcZ(3,13,s.action))(e.lcZ(4,15,s.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",s.osdPgScrubForm),e.xp6(3),e.Q6J("optionNames",s.basicOptions)("optionsForm",s.osdPgScrubForm)("optionsFormDir",l)("optionsFormGroupName","basicFormGroup"),e.xp6(4),e.Q6J("ngIf",!s.advancedEnabled),e.xp6(1),e.Q6J("ngIf",s.advancedEnabled),e.xp6(2),e.Q6J("form",s.osdPgScrubForm)("showSubmit",s.permissions.configOpt.update)("submitText",e.lcZ(17,17,s.action)+" "+e.lcZ(18,19,s.resource))}},dependencies:[f.O5,Kt.z,Qg,lt.p,Vy.T,cr.V,se._Y,se.JL,se.sg,f.rS,_i.m]}),t})();function KS(t,i){if(1&t&&(e.TgZ(0,"option",22),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.name),e.xp6(1),e.hij(" ",n.text," ")}}function XS(t,i){1&t&&(e.TgZ(0,"span",23),e.SDv(1,24),e.qZA())}function tR(t,i){if(1&t&&(e.TgZ(0,"cd-helper"),e._uU(1),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Oqu(n.value.desc)}}function Ml(t,i){1&t&&(e.TgZ(0,"span",23),e.SDv(1,29),e.qZA())}function DM(t,i){if(1&t&&(e.TgZ(0,"span",23),e.SDv(1,30),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.pQV(n.value.patternHelpText),e.QtT(1)}}function RM(t,i){if(1&t&&(e.TgZ(0,"span",23),e.SDv(1,31),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.pQV(n.value.maxValue),e.QtT(1)}}function PM(t,i){if(1&t&&(e.TgZ(0,"span",23),e.SDv(1,32),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.pQV(n.value.minValue),e.QtT(1)}}const L1=function(t){return{required:t}};function xM(t,i){if(1&t&&(e.TgZ(0,"div",7)(1,"label",25)(2,"span",26),e._uU(3),e.qZA(),e.YNc(4,tR,2,1,"cd-helper",27),e.qZA(),e.TgZ(5,"div",10),e._UZ(6,"input",28),e.YNc(7,Ml,2,0,"span",13),e.YNc(8,DM,2,1,"span",13),e.YNc(9,RM,2,1,"span",13),e.YNc(10,PM,2,1,"span",13),e.qZA()()),2&t){const n=i.$implicit,s=e.oxw(),l=e.MAs(5);e.xp6(1),e.Q6J("for",n.key),e.xp6(1),e.Q6J("ngClass",e.VKq(11,L1,s.osdRecvSpeedForm.getValue("customizePriority"))),e.xp6(1),e.hij(" ",n.value.text," "),e.xp6(1),e.Q6J("ngIf",n.value.desc),e.xp6(2),e.Q6J("id",n.key)("formControlName",n.key)("readonly",!s.osdRecvSpeedForm.getValue("customizePriority")),e.xp6(1),e.Q6J("ngIf",s.osdRecvSpeedForm.getValue("customizePriority")&&s.osdRecvSpeedForm.showError(n.key,l,"required")),e.xp6(1),e.Q6J("ngIf",s.osdRecvSpeedForm.getValue("customizePriority")&&s.osdRecvSpeedForm.showError(n.key,l,"pattern")),e.xp6(1),e.Q6J("ngIf",s.osdRecvSpeedForm.getValue("customizePriority")&&s.osdRecvSpeedForm.showError(n.key,l,"max")),e.xp6(1),e.Q6J("ngIf",s.osdRecvSpeedForm.getValue("customizePriority")&&s.osdRecvSpeedForm.showError(n.key,l,"min"))}}let $0=(()=>{class t{constructor(n,s,l,_,g,M){this.activeModal=n,this.actionLabels=s,this.authStorageService=l,this.configService=_,this.notificationService=g,this.osdService=M,this.priorities=[],this.priorityAttrs={},this.permissions=this.authStorageService.getPermissions(),this.priorities=this.osdService.osdRecvSpeedModalPriorities.KNOWN_PRIORITIES,this.osdRecvSpeedForm=new Fe.d({priority:new se.p4(null,{validators:[se.kI.required]}),customizePriority:new se.p4(!1)}),this.priorityAttrs={osd_max_backfills:{text:"Max Backfills",desc:"",patternHelpText:"",maxValue:void 0,minValue:void 0},osd_recovery_max_active:{text:"Recovery Max Active",desc:"",patternHelpText:"",maxValue:void 0,minValue:void 0},osd_recovery_max_single_start:{text:"Recovery Max Single Start",desc:"",patternHelpText:"",maxValue:void 0,minValue:void 0},osd_recovery_sleep:{text:"Recovery Sleep",desc:"",patternHelpText:"",maxValue:void 0,minValue:void 0}},Object.keys(this.priorityAttrs).forEach(x=>{this.osdRecvSpeedForm.addControl(x,new se.p4(null,{validators:[se.kI.required]}))})}ngOnInit(){this.configService.filter(Object.keys(this.priorityAttrs)).subscribe(n=>{const s=this.getCurrentValues(n);this.detectPriority(s.values,l=>{this.setPriority(l)}),this.setDescription(s.configOptions),this.setValidators(s.configOptions)})}detectPriority(n,s){const l=Ke().find(this.priorities,_=>Ke().isEqual(_.values,n));return this.osdRecvSpeedForm.controls.customizePriority.setValue(!1),l?s(l):4===Object.entries(n).length?(this.osdRecvSpeedForm.controls.customizePriority.setValue(!0),s(Object({name:"custom",text:"Custom",values:n}))):s(this.priorities[0])}getCurrentValues(n){const s={values:{},configOptions:[]};return n.forEach(l=>{s.configOptions.push(l),"value"in l?l.value.forEach(_=>{"osd"===_.section&&(s.values[l.name]=Number(_.value))}):"default"in l&&null!==l.default&&(s.values[l.name]=Number(l.default))}),s}setDescription(n){n.forEach(s=>{""!==s.desc&&(this.priorityAttrs[s.name].desc=s.desc)})}setPriority(n){const s=Ke().find(this.priorities,l=>"custom"===l.name);"custom"===n.name?s||this.priorities.push(n):s&&this.priorities.splice(this.priorities.indexOf(s),1),this.osdRecvSpeedForm.controls.priority.setValue(n.name),Object.entries(n.values).forEach(([l,_])=>{this.osdRecvSpeedForm.controls[l].setValue(_)})}setValidators(n){n.forEach(s=>{const l=xf.getTypeValidators(s);l?(l.validators.push(se.kI.required),"max"in l&&""!==l.max&&(this.priorityAttrs[s.name].maxValue=l.max),"min"in l&&""!==l.min&&(this.priorityAttrs[s.name].minValue=l.min),this.priorityAttrs[s.name].patternHelpText=l.patternHelpText,this.osdRecvSpeedForm.controls[s.name].setValidators(l.validators)):this.osdRecvSpeedForm.controls[s.name].setValidators(se.kI.required)})}onCustomizePriorityChange(){const n={};if(Object.keys(this.priorityAttrs).forEach(s=>{n[s]=this.osdRecvSpeedForm.getValue(s)}),this.osdRecvSpeedForm.getValue("customizePriority")){const s={name:"custom",text:"Custom",values:n};this.setPriority(s)}else this.detectPriority(n,s=>{this.setPriority(s)})}onPriorityChange(n){const s=Ke().find(this.priorities,l=>l.name===n)||this.priorities[0];this.osdRecvSpeedForm.get("customizePriority").setValue(!1),this.setPriority(s)}submitAction(){const n={};Object.keys(this.priorityAttrs).forEach(s=>{n[s]={section:"osd",value:this.osdRecvSpeedForm.getValue(s)}}),this.configService.bulkCreate({options:n}).subscribe(()=>{this.notificationService.show(ua.k.success,"Updated OSD recovery speed priority '" + this.osdRecvSpeedForm.getValue("priority") + "'"),this.activeModal.close()},()=>{this.activeModal.close()})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.Kz),e.Y36(Dr.p4),e.Y36(fa.j),e.Y36(uu.e),e.Y36(Le.g),e.Y36(md))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-recv-speed-modal"]],decls:24,vars:10,consts:function(){let i,n,s,l,_,g,M,x;return i="OSD Recovery Priority",n="Priority",s="Customize priority values",l="This field is required.",_="This field is required!",g="" + "\ufffd0\ufffd" + "",M="The entered value is too high! It must not be greater than " + "\ufffd0\ufffd" + ".",x="The entered value is too low! It must not be lower than " + "\ufffd0\ufffd" + ".",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["novalidate","","cdFormScope","osd",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","priority",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["formControlName","priority","id","priority",1,"form-select",3,"change"],[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["formControlName","customizePriority","id","customizePriority","name","customizePriority","type","checkbox",1,"custom-control-input",3,"change"],["for","customizePriority",1,"custom-control-label"],s,["class","form-group row",4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","submitText","showSubmit","submitActionEvent"],[3,"value"],[1,"invalid-feedback"],l,[1,"cd-col-form-label",3,"for"],[3,"ngClass"],[4,"ngIf"],["type","number",1,"form-control",3,"id","formControlName","readonly"],_,g,M,x]},template:function(n,s){if(1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"div",7)(8,"label",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"div",10)(11,"select",11),e.NdJ("change",function(_){return s.onPriorityChange(_.target.value)}),e.YNc(12,KS,2,2,"option",12),e.qZA(),e.YNc(13,XS,2,0,"span",13),e.qZA()(),e.TgZ(14,"div",7)(15,"div",14)(16,"div",15)(17,"input",16),e.NdJ("change",function(){return s.onCustomizePriorityChange()}),e.qZA(),e.TgZ(18,"label",17),e.SDv(19,18),e.qZA()()()(),e.YNc(20,xM,11,13,"div",19),e.ALo(21,"keyvalue"),e.qZA(),e.TgZ(22,"div",20)(23,"cd-form-button-panel",21),e.NdJ("submitActionEvent",function(){return s.submitAction()}),e.qZA()()(),e.BQk(),e.qZA()),2&n){const l=e.MAs(5);e.Q6J("modalRef",s.activeModal),e.xp6(4),e.Q6J("formGroup",s.osdRecvSpeedForm),e.xp6(8),e.Q6J("ngForOf",s.priorities),e.xp6(1),e.Q6J("ngIf",s.osdRecvSpeedForm.showError("priority",l,"required")),e.xp6(7),e.Q6J("ngForOf",e.lcZ(21,8,s.priorityAttrs)),e.xp6(3),e.Q6J("form",s.osdRecvSpeedForm)("submitText",s.actionLabels.UPDATE)("showSubmit",s.permissions.configOpt.update)}},dependencies:[f.mk,f.sg,f.O5,je.S,Kt.z,lt.p,Ht.o,Vy.T,wn.b,ar.P,cr.V,se._Y,se.YN,se.Kr,se.Fj,se.wV,se.Wl,se.EJ,se.JJ,se.JL,se.sg,se.u,f.Nd]}),t})();function H0(t,i){1&t&&(e.TgZ(0,"span"),e.SDv(1,15),e.qZA())}function ef(t,i){1&t&&(e.TgZ(0,"span"),e.SDv(1,16),e.qZA())}function nR(t,i){if(1&t&&(e.TgZ(0,"span",13),e.YNc(1,H0,2,0,"span",14),e.YNc(2,ef,2,0,"span",14),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",null==n.weight.errors?null:n.weight.errors.required),e.xp6(1),e.Q6J("ngIf",(null==n.weight.errors?null:n.weight.errors.max)||(null==n.weight.errors?null:n.weight.errors.min))}}let qS=(()=>{class t{constructor(n,s,l,_){this.actionLabels=n,this.activeModal=s,this.osdService=l,this.fb=_,this.currentWeight=1}get weight(){return this.reweightForm.get("weight")}ngOnInit(){this.reweightForm=this.fb.group({weight:this.fb.control(this.currentWeight,[se.kI.required])})}reweight(){this.osdService.reweight(this.osdId,this.reweightForm.value.weight).subscribe(()=>this.activeModal.close())}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Dr.p4),e.Y36(Be.Kz),e.Y36(md),e.Y36(Xd.O))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-reweight-modal"]],decls:14,vars:7,consts:function(){let i,n,s;return i="Reweight OSD: " + "\ufffd0\ufffd" + "",n="This field is required.",s="The value needs to be between 0 and 1.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],[3,"formGroup"],[1,"modal-body"],[1,"row"],["for","weight",1,"cd-col-form-label"],[1,"cd-col-form-input"],["id","weight","type","number","step","0.1","formControlName","weight","min","0","max","1",1,"form-control",3,"value"],["class","invalid-feedback",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],[4,"ngIf"],n,s]},template:function(n,s){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4)(5,"div",5)(6,"div",6)(7,"label",7),e._uU(8,"Weight"),e.qZA(),e.TgZ(9,"div",8),e._UZ(10,"input",9),e.YNc(11,nR,3,2,"span",10),e.qZA()()(),e.TgZ(12,"div",11)(13,"cd-form-button-panel",12),e.NdJ("submitActionEvent",function(){return s.reweight()}),e.qZA()()(),e.BQk(),e.qZA()),2&n&&(e.Q6J("modalRef",s.activeModal),e.xp6(2),e.pQV(s.osdId),e.QtT(2),e.xp6(2),e.Q6J("formGroup",s.reweightForm),e.xp6(6),e.Q6J("value",s.currentWeight),e.xp6(1),e.Q6J("ngIf",s.weight.errors),e.xp6(2),e.Q6J("form",s.reweightForm)("submitText",s.actionLabels.REWEIGHT))},dependencies:[f.O5,Kt.z,lt.p,Ht.o,wn.b,cr.V,se._Y,se.Fj,se.wV,se.JJ,se.JL,se.qQ,se.Fd,se.sg,se.u]}),t})();var U0=o(86969);let wM=(()=>{class t{constructor(n,s,l,_,g){this.activeModal=n,this.actionLabels=s,this.osdService=l,this.notificationService=_,this.joinPipe=g,this.selected=[]}ngOnInit(){this.scrubForm=new se.nJ({})}scrub(){(0,Wa.D)(this.selected.map(n=>this.osdService.scrub(n,this.deep))).subscribe(()=>{this.notificationService.show(ua.k.success,"" + (this.deep ? "Deep scrub" : "Scrub") + " was initialized in the following OSD(s): " + this.joinPipe.transform(this.selected) + ""),this.activeModal.close()},()=>this.activeModal.close())}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.Kz),e.Y36(Dr.p4),e.Y36(md),e.Y36(Le.g),e.Y36(U0.A))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-scrub-modal"]],decls:13,vars:9,consts:function(){let i,n,s,l;return i="{VAR_SELECT, select, true {Deep } other {}}",i=e.Zx4(i,{VAR_SELECT:"\ufffd0\ufffd"}),n="OSDs " + i + "Scrub",s="{VAR_SELECT, select, true {deep } other {}}",s=e.Zx4(s,{VAR_SELECT:"\ufffd0\ufffd"}),l="You are about to apply a " + s + "scrub to the OSD(s): " + "\ufffd#9\ufffd" + "" + "\ufffd1\ufffd" + "" + "\ufffd/#9\ufffd" + ".",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["name","scrubForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],l,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"]]},template:function(n,s){1&n&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.qZA(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p"),e.tHW(8,7),e._UZ(9,"strong"),e.ALo(10,"join"),e.N_p(),e.qZA()(),e.TgZ(11,"div",8)(12,"cd-form-button-panel",9),e.NdJ("submitActionEvent",function(){return s.scrub()}),e.qZA()()(),e.BQk(),e.qZA()),2&n&&(e.Q6J("modalRef",s.activeModal),e.xp6(2),e.pQV(s.deep),e.QtT(2),e.xp6(2),e.Q6J("formGroup",s.scrubForm),e.xp6(6),e.pQV(s.deep)(e.lcZ(10,7,s.selected)),e.QtT(8),e.xp6(2),e.Q6J("form",s.scrubForm)("submitText",s.actionLabels.UPDATE))},dependencies:[Kt.z,lt.p,cr.V,se._Y,se.JL,se.sg,U0.A]}),t})();var Ky=o(60351);function eC(t,i){if(1&t&&e._UZ(0,"cd-device-list",17),2&t){const n=e.oxw(2);e.Q6J("osdId",null==n.osd?null:n.osd.id)("hostname",null==n.selection?null:n.selection.host.name)("osdList",!0)}}function tC(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",18),2&t){const n=e.oxw(2);e.Q6J("data",null==n.osd||null==n.osd.details?null:n.osd.details.osd_map)}}function nC(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table-key-value",21),e.NdJ("fetchData",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.refresh())}),e.qZA()}if(2&t){const n=e.oxw(3);e.Q6J("data",null==n.osd||null==n.osd.details?null:n.osd.details.osd_metadata)}}function NM(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",22),e.SDv(1,23),e.qZA())}function IM(t,i){if(1&t&&(e.YNc(0,nC,1,1,"cd-table-key-value",19),e.YNc(1,NM,2,0,"ng-template",null,20,e.W1O)),2&t){const n=e.MAs(2),s=e.oxw(2);e.Q6J("ngIf",null==s.osd||null==s.osd.details?null:s.osd.details.osd_metadata)("ngIfElse",n)}}function FM(t,i){if(1&t&&e._UZ(0,"cd-smart-list",24),2&t){const n=e.oxw(2);e.Q6J("osdId",null==n.osd?null:n.osd.id)}}function Yv(t,i){if(1&t&&e._UZ(0,"cd-table-performance-counter",26),2&t){const n=e.oxw(3);e.Q6J("serviceId",null==n.osd?null:n.osd.id)}}function LM(t,i){if(1&t&&e.YNc(0,Yv,1,1,"cd-table-performance-counter",25),2&t){const n=e.oxw(2);e.Q6J("ngIf",null==n.osd?null:n.osd.details)}}function kM(t,i){if(1&t&&e._UZ(0,"cd-grafana",29),2&t){const n=e.oxw(3);e.Q6J("grafanaPath","osd-device-details?var-osd=osd."+n.osd.id)("type","metrics")}}function $M(t,i){1&t&&(e.ynx(0,27),e.TgZ(1,"a",4),e.SDv(2,28),e.qZA(),e.YNc(3,kM,1,2,"ng-template",6),e.BQk())}function B0(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"nav",1,2),e.ynx(3,3),e.TgZ(4,"a",4),e.SDv(5,5),e.qZA(),e.YNc(6,eC,1,3,"ng-template",6),e.BQk(),e.ynx(7,7),e.TgZ(8,"a",4),e.SDv(9,8),e.qZA(),e.YNc(10,tC,1,1,"ng-template",6),e.BQk(),e.ynx(11,9),e.TgZ(12,"a",4),e.SDv(13,10),e.qZA(),e.YNc(14,IM,3,2,"ng-template",6),e.BQk(),e.ynx(15,11),e.TgZ(16,"a",4),e.SDv(17,12),e.qZA(),e.YNc(18,FM,1,1,"ng-template",6),e.BQk(),e.ynx(19,13),e.TgZ(20,"a",4),e.SDv(21,14),e.qZA(),e.YNc(22,LM,1,1,"ng-template",6),e.BQk(),e.YNc(23,$M,4,0,"ng-container",15),e.qZA(),e._UZ(24,"div",16),e.BQk()),2&t){const n=e.MAs(2),s=e.oxw();e.xp6(23),e.Q6J("ngIf",s.grafanaPermission.read),e.xp6(1),e.Q6J("ngbNavOutlet",n)}}let rC=(()=>{class t{constructor(n,s){this.osdService=n,this.authStorageService=s,this.grafanaPermission=this.authStorageService.getPermissions().grafana}ngOnChanges(){this.osd?.id!==this.selection?.id&&(this.osd=this.selection),Ke().isNumber(this.osd?.id)&&this.refresh()}refresh(){this.osdService.getDetails(this.osd.id).subscribe(n=>{this.osd.details=n})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(md),e.Y36(fa.j))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let i,n,s,l,_,g,M,x;return i="Devices",n="Attributes (OSD map)",s="Metadata",l="Device health",_="Performance counter",g="Metadata not available",M="Performance Details",x="OSD details",[[4,"ngIf"],["ngbNav","","id","tabset-osd-details","cdStatefulTab","osd-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","devices"],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","attributes"],n,["ngbNavItem","metadata"],s,["ngbNavItem","device-health"],l,["ngbNavItem","performance-counter"],_,["ngbNavItem","performance-details",4,"ngIf"],[3,"ngbNavOutlet"],[3,"osdId","hostname","osdList"],[3,"data"],[3,"data","fetchData",4,"ngIf","ngIfElse"],["noMetaData",""],[3,"data","fetchData"],["type","warning"],g,[3,"osdId"],["serviceType","osd",3,"serviceId",4,"ngIf"],["serviceType","osd",3,"serviceId"],["ngbNavItem","performance-details"],M,["title",x,"uid","CrAHE0iZz","grafanaStyle","three",3,"grafanaPath","type"]]},template:function(n,s){1&n&&e.YNc(0,B0,25,2,"ng-container",0),2&n&&e.Q6J("ngIf",s.selection)},dependencies:[f.O5,Ky.p,Be.uN,Be.Pz,Be.nv,Be.Vx,Be.tO,Be.Dy,xl.F,Hr.G,Pc.b,Gc.m,v,kf]}),t})();const iC=["osdUsageTpl"],oC=["markOsdConfirmationTpl"],HM=["criticalConfirmationTpl"],jv=["reweightBodyTpl"],Zv=["safeToDestroyBodyTpl"],UM=["deleteOsdExtraTpl"],BM=["flagsTpl"],GM=function(){return{read:!0}};function sC(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",13),e.NdJ("fetchData",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.getOsdList())})("setExpandedRow",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.setExpandedRow(l))})("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.updateSelection(l))}),e.TgZ(1,"div",14),e._UZ(2,"cd-table-actions",15)(3,"cd-table-actions",16),e.qZA(),e._UZ(4,"cd-osd-details",17),e.qZA()}if(2&t){const n=e.oxw();e.Q6J("data",n.osds)("columns",n.columns)("hasDetails",!0)("updateSelectionOnRefresh","never"),e.xp6(2),e.Q6J("permission",n.permissions.osd)("selection",n.selection)("tableActions",n.tableActions),e.xp6(1),e.Q6J("permission",e.DdM(11,GM))("selection",n.selection)("tableActions",n.clusterWideActions),e.xp6(1),e.Q6J("selection",n.expandedRow)}}function aC(t,i){1&t&&e._UZ(0,"cd-grafana",19),2&t&&e.Q6J("grafanaPath","osd-overview?")("type","metrics")}function lC(t,i){1&t&&(e.ynx(0,2),e.TgZ(1,"a",3),e.SDv(2,18),e.qZA(),e.YNc(3,aC,1,2,"ng-template",5),e.BQk())}function YM(t,i){if(1&t&&(e.ynx(0),e.tHW(1,20),e._UZ(2,"strong"),e.ALo(3,"join"),e._UZ(4,"strong"),e.N_p(),e.BQk()),2&t){const n=i.markActionDescription,s=i.osdIds;e.xp6(4),e.pQV(e.lcZ(3,2,s))(n),e.QtT(1)}}function cC(t,i){if(1&t&&(e.TgZ(0,"li"),e.SDv(1,28),e.ALo(2,"join"),e.qZA()),2&t){const n=e.oxw(2).active,s=e.oxw();e.xp6(2),e.pQV(s.selection.hasSingleSelection)(e.lcZ(2,3,n))(1===n.length),e.QtT(1)}}function jM(t,i){if(1&t&&(e.TgZ(0,"li"),e.SDv(1,29),e.ALo(2,"join"),e.qZA()),2&t){const n=e.oxw(2).missingStats,s=e.oxw();e.xp6(2),e.pQV(s.selection.hasSingleSelection)(e.lcZ(2,2,n)),e.QtT(1)}}function ZM(t,i){if(1&t&&(e.TgZ(0,"li"),e.SDv(1,30),e.ALo(2,"join"),e.qZA()),2&t){const n=e.oxw(2).storedPgs,s=e.oxw();e.xp6(2),e.pQV(s.selection.hasSingleSelection)(e.lcZ(2,2,n)),e.QtT(1)}}function rR(t,i){if(1&t&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).message;e.xp6(1),e.hij(" ",n," ")}}function iR(t,i){if(1&t&&(e.TgZ(0,"div",23)(1,"cd-alert-panel",24)(2,"span"),e.SDv(3,25),e.qZA(),e._UZ(4,"br"),e.TgZ(5,"ul",26),e.YNc(6,cC,3,5,"li",27),e.YNc(7,jM,3,4,"li",27),e.YNc(8,ZM,3,4,"li",27),e.YNc(9,rR,2,1,"li",27),e.qZA()()()),2&t){const n=e.oxw(),s=n.actionDescription,l=n.active,_=n.missingStats,g=n.storedPgs,M=n.message,x=e.oxw();e.xp6(3),e.pQV(x.selection.hasSingleSelection)(s),e.QtT(3),e.xp6(3),e.Q6J("ngIf",l.length>0),e.xp6(1),e.Q6J("ngIf",_.length>0),e.xp6(1),e.Q6J("ngIf",g.length>0),e.xp6(1),e.Q6J("ngIf",M)}}function oR(t,i){if(1&t&&(e.TgZ(0,"div",23)(1,"cd-alert-panel",31)(2,"span"),e.SDv(3,32),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(3),e.pQV(n.selection.hasSingleSelection),e.QtT(3)}}function sR(t,i){if(1&t&&(e.YNc(0,iR,10,6,"div",21),e.YNc(1,oR,4,1,"div",21),e.ynx(2),e.tHW(3,22),e._UZ(4,"strong"),e.ALo(5,"join"),e._UZ(6,"strong"),e.N_p(),e.BQk()),2&t){const n=i.safeToPerform,s=i.actionDescription,l=i.osdIds;e.Q6J("ngIf",!n),e.xp6(1),e.Q6J("ngIf",n),e.xp6(5),e.pQV(e.lcZ(5,4,l))(s),e.QtT(3)}}function uC(t,i){if(1&t&&(e.TgZ(0,"span",35),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.Oqu(n)}}function G0(t,i){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.Oqu(n)}}function zM(t,i){if(1&t&&(e.YNc(0,uC,2,1,"span",33),e.YNc(1,G0,2,1,"span",34)),2&t){const n=i.row;e.Q6J("ngForOf",n.cdClusterFlags),e.xp6(1),e.Q6J("ngForOf",n.cdIndivFlags)}}function VM(t,i){if(1&t&&e._UZ(0,"cd-usage-bar",37),2&t){const n=i.row,s=e.oxw();e.Q6J("title","osd "+n.osd)("total",n.stats.stat_bytes)("used",n.stats.stat_bytes_used)("warningThreshold",s.osdSettings.nearfull_ratio)("errorThreshold",s.osdSettings.full_ratio)}}function dC(t,i){1&t&&(e.ynx(0,38)(1,39),e.TgZ(2,"div",40)(3,"div",41),e._UZ(4,"input",42),e.TgZ(5,"label",43),e.SDv(6,44),e.qZA()()(),e.BQk()()),2&t&&e.Q6J("formGroup",i.form)}let WM=(()=>{class t extends Oi.o{static collectStates(n){const s=[n.in?"in":"out"];return n.up?s.push("up"):n.state.includes("destroyed")?s.push("destroyed"):s.push("down"),s}constructor(n,s,l,_,g,M,x,Y,K,le){super(),this.authStorageService=n,this.osdService=s,this.dimlessBinaryPipe=l,this.modalService=_,this.urlBuilder=g,this.router=M,this.taskWrapper=x,this.actionLabels=Y,this.notificationService=K,this.orchService=le,this.icons=ei.P,this.osdSettings=new US,this.selection=new Kn.r,this.osds=[],this.disabledFlags=["sortbitwise","purged_snapdirs","recovery_deletes","pglog_hardlimit"],this.indivFlagNames=["noup","nodown","noin","noout"],this.actionOrchFeatures={create:[ad.OSD_CREATE],delete:[ad.OSD_DELETE]},this.permissions=this.authStorageService.getPermissions(),this.tableActions=[{name:this.actionLabels.CREATE,permission:"create",icon:ei.P.add,click:()=>this.router.navigate([this.urlBuilder.getCreate()]),disable:fe=>this.getDisable("create",fe),canBePrimary:fe=>!fe.hasSelection},{name:this.actionLabels.EDIT,permission:"update",icon:ei.P.edit,click:()=>this.editAction()},{name:this.actionLabels.FLAGS,permission:"update",icon:ei.P.flag,click:()=>this.configureFlagsIndivAction(),disable:()=>!this.hasOsdSelected},{name:this.actionLabels.SCRUB,permission:"update",icon:ei.P.analyse,click:()=>this.scrubAction(!1),disable:()=>!this.hasOsdSelected,canBePrimary:fe=>fe.hasSelection},{name:this.actionLabels.DEEP_SCRUB,permission:"update",icon:ei.P.deepCheck,click:()=>this.scrubAction(!0),disable:()=>!this.hasOsdSelected},{name:this.actionLabels.REWEIGHT,permission:"update",click:()=>this.reweight(),disable:()=>!this.hasOsdSelected||!this.selection.hasSingleSelection,icon:ei.P.reweight},{name:this.actionLabels.MARK_OUT,permission:"update",click:()=>this.showConfirmationModal("out",this.osdService.markOut),disable:()=>this.isNotSelectedOrInState("out"),icon:ei.P.left},{name:this.actionLabels.MARK_IN,permission:"update",click:()=>this.showConfirmationModal("in",this.osdService.markIn),disable:()=>this.isNotSelectedOrInState("in"),icon:ei.P.right},{name:this.actionLabels.MARK_DOWN,permission:"update",click:()=>this.showConfirmationModal("down",this.osdService.markDown),disable:()=>this.isNotSelectedOrInState("down"),icon:ei.P.down},{name:this.actionLabels.MARK_LOST,permission:"delete",click:()=>this.showCriticalConfirmationModal("Mark","OSD lost","marked lost",fe=>this.osdService.safeToDestroy(JSON.stringify(fe)),"is_safe_to_destroy",this.osdService.markLost),disable:()=>this.isNotSelectedOrInState("up"),icon:ei.P.flatten},{name:this.actionLabels.PURGE,permission:"delete",click:()=>this.showCriticalConfirmationModal("Purge","OSD","purged",fe=>this.osdService.safeToDestroy(JSON.stringify(fe)),"is_safe_to_destroy",fe=>(this.selection=new Kn.r,this.osdService.purge(fe))),disable:()=>this.isNotSelectedOrInState("up"),icon:ei.P.erase},{name:this.actionLabels.DESTROY,permission:"delete",click:()=>this.showCriticalConfirmationModal("destroy","OSD","destroyed",fe=>this.osdService.safeToDestroy(JSON.stringify(fe)),"is_safe_to_destroy",fe=>(this.selection=new Kn.r,this.osdService.destroy(fe))),disable:()=>this.isNotSelectedOrInState("up"),icon:ei.P.destroyCircle},{name:this.actionLabels.DELETE,permission:"delete",click:()=>this.delete(),disable:fe=>this.getDisable("delete",fe),icon:ei.P.destroy}]}ngOnInit(){this.clusterWideActions=[{name:"Flags",icon:ei.P.flag,click:()=>this.configureFlagsAction(),permission:"read",visible:()=>this.permissions.osd.read},{name:"Recovery Priority",icon:ei.P.deepCheck,click:()=>this.configureQosParamsAction(),permission:"read",visible:()=>this.permissions.configOpt.read},{name:"PG scrub",icon:ei.P.analyse,click:()=>this.configurePgScrubAction(),permission:"read",visible:()=>this.permissions.configOpt.read}],this.columns=[{prop:"id",name:"ID",flexGrow:1,cellTransformation:ai.e.executing,customTemplateConfig:{valueClass:"bold"}},{prop:"host.name",name:"Host"},{prop:"collectedStates",name:"Status",flexGrow:1,cellTransformation:ai.e.badge,customTemplateConfig:{map:{in:{class:"badge-success"},up:{class:"badge-success"},down:{class:"badge-danger"},out:{class:"badge-danger"},destroyed:{class:"badge-danger"}}}},{prop:"tree.device_class",name:"Device class",flexGrow:1.2,cellTransformation:ai.e.badge,customTemplateConfig:{map:{hdd:{class:"badge-hdd"},ssd:{class:"badge-ssd"}}}},{prop:"stats.numpg",name:"PGs",flexGrow:1},{prop:"stats.stat_bytes",name:"Size",flexGrow:1,pipe:this.dimlessBinaryPipe},{prop:"state",name:"Flags",cellTemplate:this.flagsTpl},{prop:"stats.usage",name:"Usage",cellTemplate:this.osdUsageTpl},{prop:"stats_history.out_bytes",name:"Read bytes",cellTransformation:ai.e.sparkline},{prop:"stats_history.in_bytes",name:"Write bytes",cellTransformation:ai.e.sparkline},{prop:"stats.op_r",name:"Read ops",cellTransformation:ai.e.perSecond},{prop:"stats.op_w",name:"Write ops",cellTransformation:ai.e.perSecond}],this.orchService.status().subscribe(n=>this.orchStatus=n),this.osdService.getOsdSettings().pipe((0,e_.q)(1)).subscribe(n=>{this.osdSettings=n})}getDisable(n,s){if("delete"===n){if(!s.hasSelection)return!0;if(Ke().some(this.getSelectedOsds(),_=>{const g=Ke().get(_,"operational_status");return"deleting"===g||"unmanaged"===g}))return!0}return this.orchService.getTableActionDisableDesc(this.orchStatus,this.actionOrchFeatures[n])}getSelectedOsdIds(){const n=this.osds.map(s=>s.id);return this.selection.selected.map(s=>s.id).filter(s=>n.includes(s)).sort()}getSelectedOsds(){return this.osds.filter(n=>!Ke().isUndefined(n)&&this.getSelectedOsdIds().includes(n.id))}get hasOsdSelected(){return this.getSelectedOsdIds().length>0}updateSelection(n){this.selection=n}isNotSelectedOrInState(n){const s=this.getSelectedOsds();if(0===s.length)return!0;switch(n){case"in":return s.some(l=>1===l.in);case"out":return s.some(l=>1!==l.in);case"down":return s.some(l=>1!==l.up);case"up":return s.some(l=>1===l.up)}}getOsdList(){const n=[this.osdService.getList(),this.osdService.getFlags()];(0,Wa.D)(n).subscribe(s=>{this.osds=s[0].map(l=>{l.collectedStates=t.collectStates(l),l.stats_history.out_bytes=l.stats_history.op_out_bytes.map(g=>g[1]),l.stats_history.in_bytes=l.stats_history.op_in_bytes.map(g=>g[1]),l.stats.usage=l.stats.stat_bytes_used/l.stats.stat_bytes,l.cdIsBinary=!0,l.cdIndivFlags=l.state.filter(g=>this.indivFlagNames.includes(g)),l.cdClusterFlags=s[1].filter(g=>!this.disabledFlags.includes(g));const _=Ke().get(l,"operational_status","unmanaged");return"unmanaged"!==_&&"working"!==_&&(l.cdExecuting=_),l})})}editAction(){const n=Ke().filter(this.osds,["id",this.selection.first().id]).pop();this.modalService.show(lc.X,{titleText:"Edit OSD: " + n.id + "",fields:[{type:"text",name:"deviceClass",value:n.tree.device_class,label:"Device class",required:!0}],submitButtonText:"Edit OSD",onSubmit:s=>{this.osdService.update(n.id,s.deviceClass).subscribe(()=>{this.notificationService.show(ua.k.success,"Updated OSD '" + n.id + "'"),this.getOsdList()})}})}scrubAction(n){if(!this.hasOsdSelected)return;const s={selected:this.getSelectedOsdIds(),deep:n};this.bsModalRef=this.modalService.show(wM,s)}configureFlagsAction(){this.bsModalRef=this.modalService.show(MM)}configureFlagsIndivAction(){const n={selected:this.getSelectedOsds()};this.bsModalRef=this.modalService.show(CM,n)}showConfirmationModal(n,s){const l=this.getSelectedOsdIds();this.bsModalRef=this.modalService.show(jd.Y,{titleText:"Mark OSD " + n + "",buttonText:"Mark " + n + "",bodyTpl:this.markOsdConfirmationTpl,bodyContext:{markActionDescription:n,osdIds:l},onSubmit:()=>{(0,Wa.D)(this.getSelectedOsdIds().map(_=>s.call(this.osdService,_))).subscribe(()=>this.bsModalRef.close())}})}reweight(){const n=this.osds.filter(s=>s.id===this.selection.first().id).pop();this.bsModalRef=this.modalService.show(qS,{currentWeight:n.weight,osdId:n.id})}delete(){const n=new Fe.d({preserve:new se.p4(!1)});this.showCriticalConfirmationModal("delete","OSD","deleted",s=>this.osdService.safeToDelete(JSON.stringify(s)),"is_safe_to_delete",s=>(this.selection=new Kn.r,this.taskWrapper.wrapTaskAroundCall({task:new ce.R("osd/"+Dr.MQ.DELETE,{svc_id:s}),call:this.osdService.delete(s,n.value.preserve,!0)})),!0,n,this.deleteOsdExtraTpl)}showCriticalConfirmationModal(n,s,l,_,g,M,x=!1,Y,K){_(this.getSelectedOsdIds()).subscribe(le=>{const fe=this.modalService.show(Yo.M,{actionDescription:n,itemDescription:s,bodyTemplate:this.criticalConfirmationTpl,bodyContext:{safeToPerform:le[g],message:le.message,active:le.active,missingStats:le.missing_stats,storedPgs:le.stored_pgs,actionDescription:l,osdIds:this.getSelectedOsdIds()},childFormGroup:Y,childFormGroupTemplate:K,submitAction:()=>{const ge=(0,Wa.D)(this.getSelectedOsdIds().map(Se=>M.call(this.osdService,Se)));x?ge.subscribe({error:()=>{this.getOsdList(),fe.close()},complete:()=>fe.close()}):ge.subscribe(()=>{this.getOsdList(),fe.close()},()=>fe.close())}})})}configureQosParamsAction(){this.bsModalRef=this.modalService.show($0)}configurePgScrubAction(){this.bsModalRef=this.modalService.show(eR,void 0,{size:"lg"})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(md),e.Y36(xa.$),e.Y36(tc.Z),e.Y36(zr.F),e.Y36(Ce.F0),e.Y36(Gr.P),e.Y36(Dr.p4),e.Y36(Le.g),e.Y36(sd))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-list"]],viewQuery:function(n,s){if(1&n&&(e.Gf(iC,7),e.Gf(oC,7),e.Gf(HM,7),e.Gf(jv,5),e.Gf(Zv,5),e.Gf(UM,5),e.Gf(BM,7)),2&n){let l;e.iGM(l=e.CRH())&&(s.osdUsageTpl=l.first),e.iGM(l=e.CRH())&&(s.markOsdConfirmationTpl=l.first),e.iGM(l=e.CRH())&&(s.criticalConfirmationTpl=l.first),e.iGM(l=e.CRH())&&(s.reweightBodyTpl=l.first),e.iGM(l=e.CRH())&&(s.safeToDestroyBodyTpl=l.first),e.iGM(l=e.CRH())&&(s.deleteOsdExtraTpl=l.first),e.iGM(l=e.CRH())&&(s.flagsTpl=l.first)}},features:[e._Bn([{provide:zr.F,useValue:new zr.F("osd")}]),e.qOj],decls:18,vars:2,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He;return i="OSDs List",n="Overall Performance",s="OSD list",l="" + "[\ufffd#2\ufffd|\ufffd#4\ufffd]" + "OSD(s) " + "\ufffd0\ufffd" + "" + "[\ufffd/#2\ufffd|\ufffd/#4\ufffd]" + " will be marked " + "[\ufffd#2\ufffd|\ufffd#4\ufffd]" + "" + "\ufffd1\ufffd" + "" + "[\ufffd/#2\ufffd|\ufffd/#4\ufffd]" + " if you proceed.",l=e.Zx4(l),_="" + "[\ufffd#4\ufffd|\ufffd#6\ufffd]" + "OSD " + "\ufffd0\ufffd" + "" + "[\ufffd/#4\ufffd|\ufffd/#6\ufffd]" + " will be " + "[\ufffd#4\ufffd|\ufffd#6\ufffd]" + "" + "\ufffd1\ufffd" + "" + "[\ufffd/#4\ufffd|\ufffd/#6\ufffd]" + " if you proceed.",_=e.Zx4(_),g="{VAR_SELECT, select, true {OSD is} other {OSDs are}}",g=e.Zx4(g,{VAR_SELECT:"\ufffd0\ufffd"}),M=" The " + g + " not safe to be " + "\ufffd1\ufffd" + "! ",x="{VAR_SELECT, select, true {} other {{INTERPOLATION} : }}",x=e.Zx4(x,{VAR_SELECT:"\ufffd0\ufffd",INTERPOLATION:"\ufffd1\ufffd"}),Y="{VAR_SELECT, select, true {it} other {them}}",Y=e.Zx4(Y,{VAR_SELECT:"\ufffd2\ufffd"}),K=" " + x + " Some PGs are currently mapped to " + Y + ". ",le="{VAR_SELECT, select, true {} other {{INTERPOLATION} : }}",le=e.Zx4(le,{VAR_SELECT:"\ufffd0\ufffd",INTERPOLATION:"\ufffd1\ufffd"}),fe=" " + le + " There are no reported stats and not all PGs are active and clean. ",ge="{VAR_SELECT, select, true {OSD} other {{INTERPOLATION} : OSDs }}",ge=e.Zx4(ge,{VAR_SELECT:"\ufffd0\ufffd",INTERPOLATION:"\ufffd1\ufffd"}),Se=" " + ge + " still store some PG data and not all PGs are active and clean. ",Ge="{VAR_SELECT, select, true {OSD is} other {OSDs are}}",Ge=e.Zx4(Ge,{VAR_SELECT:"\ufffd0\ufffd"}),we=" The " + Ge + " safe to destroy without reducing data durability. ",He="Preserve OSD ID(s) for replacement.",[["ngbNav","",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem",""],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","",4,"ngIf"],[3,"ngbNavOutlet"],["markOsdConfirmationTpl",""],["criticalConfirmationTpl",""],["flagsTpl",""],["osdUsageTpl",""],["deleteOsdExtraTpl",""],["selectionType","multiClick",3,"data","columns","hasDetails","updateSelectionOnRefresh","fetchData","setExpandedRow","updateSelection"],[1,"table-actions","btn-toolbar"],["id","osd-actions",1,"btn-group",3,"permission","selection","tableActions"],["dropDownOnly","Cluster-wide configuration","btnColor","light","id","cluster-wide-actions",1,"btn-group",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],n,["title",s,"uid","lo02I1Aiz","grafanaStyle","four",3,"grafanaPath","type"],l,["class","danger mb-3",4,"ngIf"],_,[1,"danger","mb-3"],["type","warning"],M,[1,"mb-0","ps-4"],[4,"ngIf"],K,fe,Se,["type","info"],we,["class","badge badge-hdd me-1",4,"ngFor","ngForOf"],["class","badge badge-info me-1",4,"ngFor","ngForOf"],[1,"badge","badge-hdd","me-1"],[1,"badge","badge-info","me-1"],[3,"title","total","used","warningThreshold","errorThreshold"],[3,"formGroup"],["formGroupName","child"],[1,"form-group"],[1,"custom-control","custom-checkbox"],["type","checkbox","name","preserve","id","preserve","formControlName","preserve",1,"custom-control-input"],["for","preserve",1,"custom-control-label"],He]},template:function(n,s){if(1&n&&(e.TgZ(0,"nav",0,1),e.ynx(2,2),e.TgZ(3,"a",3),e.SDv(4,4),e.qZA(),e.YNc(5,sC,5,12,"ng-template",5),e.BQk(),e.YNc(6,lC,4,0,"ng-container",6),e.qZA(),e._UZ(7,"div",7),e.YNc(8,YM,5,4,"ng-template",null,8,e.W1O),e.YNc(10,sR,7,6,"ng-template",null,9,e.W1O),e.YNc(12,zM,2,2,"ng-template",null,10,e.W1O),e.YNc(14,VM,1,5,"ng-template",null,11,e.W1O),e.YNc(16,dC,7,1,"ng-template",null,12,e.W1O)),2&n){const l=e.MAs(1);e.xp6(6),e.Q6J("ngIf",s.permissions.grafana.read),e.xp6(1),e.Q6J("ngbNavOutlet",l)}},dependencies:[f.sg,f.O5,Be.uN,Be.Pz,Be.nv,Be.Vx,Be.tO,Be.Dy,En.O,xl.F,Hr.G,Ol.a,il.K,Ht.o,wn.b,ar.P,cr.V,se.Wl,se.JJ,se.JL,se.sg,se.u,se.x0,rC,U0.A]}),t})();var Zm=o(11656);let Y0=(()=>{class t extends Oi.o{constructor(n){super(),this.prometheusService=n,this.isPrometheusConfigured=!1,this.isAlertmanagerConfigured=!1}ngOnInit(){this.prometheusService.ifAlertmanagerConfigured(()=>{this.isAlertmanagerConfigured=!0}),this.prometheusService.ifPrometheusConfigured(()=>{this.isPrometheusConfigured=!0})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Zm.Q))},t.\u0275dir=e.lG2({type:t,features:[e.qOj]}),t})();var Xy=o(61355);let JM=(()=>{class t{constructor(n){this.notificationService=n}sendNotifications(n){n.forEach(s=>this.notificationService.show(s))}convertToCustomAlerts(n){return Ke().uniqWith(n.map(s=>({status:Ke().isObject(s.status)?s.status.state:this.getPrometheusNotificationStatus(s),name:s.labels.alertname,url:s.generatorURL,description:s.annotations.description,fingerprint:Ke().isObject(s.status)&&s.fingerprint})),Ke().isEqual)}getPrometheusNotificationStatus(n){const s=n.status;return"firing"===s?"active":s}convertAlertToNotification(n){return new Xy.T(this.formatType(n.status),`${n.name} (${n.status})`,this.appendSourceLink(n,n.description),void 0,"Prometheus")}formatType(n){return ua.k[Ke().findKey({error:["firing","active"],info:["suppressed","unprocessed"],success:["resolved"]},l=>l.includes(n))]}appendSourceLink(n,s){return`${s} <a href="${n.url}" target="_blank"><i class="${ei.P.lineChart}"></i></a>`}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(Le.g))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),k1=(()=>{class t{constructor(n,s){this.alertFormatter=n,this.prometheusService=s,this.canAlertsBeNotified=!1,this.alerts=[],this.rules=[]}getAlerts(){this.prometheusService.ifAlertmanagerConfigured(()=>{this.prometheusService.getAlerts().subscribe(n=>this.handleAlerts(n),n=>{[404,504].includes(n.status)&&this.prometheusService.disableAlertmanagerConfig()})})}getRules(){this.prometheusService.ifPrometheusConfigured(()=>{this.prometheusService.getRules("alerting").subscribe(n=>{this.rules=n.groups.reduce((s,l)=>s.concat(l.rules.map(_=>(_.group=l.name,_))),[])})})}refresh(){this.getAlerts(),this.getRules()}handleAlerts(n){this.canAlertsBeNotified&&this.notifyOnAlertChanges(n,this.alerts),this.activeAlerts=Ke().reduce(n,(s,l)=>"active"===l.status.state?++s:s,0),this.activeCriticalAlerts=Ke().reduce(n,(s,l)=>"active"===l.status.state&&"critical"===l.labels.severity?++s:s,0),this.activeWarningAlerts=Ke().reduce(n,(s,l)=>"active"===l.status.state&&"warning"===l.labels.severity?++s:s,0),this.alerts=n.reverse().sort((s,l)=>s.labels.severity.localeCompare(l.labels.severity)),this.canAlertsBeNotified=!0}notifyOnAlertChanges(n,s){const l=this.getChangedAlerts(this.alertFormatter.convertToCustomAlerts(n),this.alertFormatter.convertToCustomAlerts(s)),g=Ke().filter(l,M=>"suppressed"!==M.status).map(M=>this.alertFormatter.convertAlertToNotification(M));this.alertFormatter.sendNotifications(g)}getChangedAlerts(n,s){return Ke().differenceWith(n,s,Ke().isEqual).concat(this.getVanishedAlerts(n,s))}getVanishedAlerts(n,s){return Ke().differenceWith(s,n,(l,_)=>l.fingerprint===_.fingerprint).map(l=>(l.status="resolved",l))}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(JM),e.LFG(Zm.Q))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function fC(t,i){if(1&t&&(e.tHW(0,3,1),e._UZ(1,"small",10),e.N_p()),2&t){const n=e.oxw();e.xp6(1),e.pQV(n.prometheusAlertService.activeCriticalAlerts),e.QtT(0)}}function QM(t,i){if(1&t&&(e.tHW(0,3,2),e._UZ(1,"small",11),e.N_p()),2&t){const n=e.oxw();e.xp6(1),e.pQV(n.prometheusAlertService.activeWarningAlerts),e.QtT(0)}}const qy=function(){return{exact:!0}};let Kg=(()=>{class t{constructor(n){this.prometheusAlertService=n}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(k1))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-prometheus-tabs"]],decls:12,vars:8,consts:function(){let i,n,s;return i="Alerts",n="Silences",s="Active Alerts " + "\ufffd*4:1\ufffd\ufffd#1:1\ufffd" + "" + "\ufffd0:1\ufffd" + "" + "[\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*5:2\ufffd]" + "" + "\ufffd*5:2\ufffd\ufffd#1:2\ufffd" + "" + "\ufffd0:2\ufffd" + "" + "[\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*5:2\ufffd]" + "",s=e.Zx4(s),[[1,"nav","nav-tabs"],[1,"nav-item"],["routerLink","/monitoring/active-alerts","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],s,["class","badge badge-danger ms-1",4,"ngIf"],["class","badge badge-warning ms-1",4,"ngIf"],["routerLink","/monitoring/alerts","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],i,["routerLink","/monitoring/silences","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],n,[1,"badge","badge-danger","ms-1"],[1,"badge","badge-warning","ms-1"]]},template:function(n,s){1&n&&(e.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),e.tHW(3,3),e.YNc(4,fC,2,1,"small",4),e.YNc(5,QM,2,1,"small",5),e.N_p(),e.qZA()(),e.TgZ(6,"li",1)(7,"a",6),e.SDv(8,7),e.qZA()(),e.TgZ(9,"li",1)(10,"a",8),e.SDv(11,9),e.qZA()()()),2&n&&(e.xp6(2),e.Q6J("routerLinkActiveOptions",e.DdM(5,qy)),e.xp6(2),e.Q6J("ngIf",s.prometheusAlertService.activeCriticalAlerts>0),e.xp6(1),e.Q6J("ngIf",s.prometheusAlertService.activeWarningAlerts>0),e.xp6(2),e.Q6J("routerLinkActiveOptions",e.DdM(6,qy)),e.xp6(3),e.Q6J("routerLinkActiveOptions",e.DdM(7,qy)))},dependencies:[f.O5,Ce.rH,Ce.Od]}),t})();const KM=["externalLinkTpl"];function pC(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",3),e.tHW(1,4),e._UZ(2,"cd-doc",5),e.N_p(),e.qZA())}function XM(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",9),2&t){const n=e.oxw(2);e.Q6J("renderObjects",!0)("hideEmpty",!0)("appendParentKey",!1)("data",n.expandedRow)("customCss",n.customCss)("autoReload",!1)}}function _C(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",6),e.NdJ("setExpandedRow",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.setExpandedRow(l))})("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.updateSelection(l))}),e._UZ(1,"cd-table-actions",7),e.YNc(2,XM,1,6,"cd-table-key-value",8),e.qZA()}if(2&t){const n=e.oxw();e.Q6J("data",n.prometheusAlertService.alerts)("columns",n.columns)("forceIdentifier",!0)("customCss",n.customCss)("hasDetails",!0),e.xp6(1),e.Q6J("permission",n.permission)("selection",n.selection)("tableActions",n.tableActions),e.xp6(1),e.Q6J("ngIf",n.expandedRow)}}const qM=function(t){return[t]};function hC(t,i){if(1&t&&(e.TgZ(0,"a",10),e._UZ(1,"i",11),e._uU(2," Source"),e.qZA()),2&t){const n=i.value,s=e.oxw();e.Q6J("href",n,e.LSH),e.xp6(1),e.Q6J("ngClass",e.VKq(2,qM,s.icons.lineChart))}}let eE=(()=>{class t extends Y0{constructor(n,s,l,_){super(_),this.authStorageService=n,this.prometheusAlertService=s,this.urlBuilder=l,this.selection=new Kn.r,this.icons=ei.P,this.permission=this.authStorageService.getPermissions().prometheus,this.tableActions=[{permission:"create",canBePrimary:g=>g.hasSingleSelection,disable:g=>!g.hasSingleSelection||g.first().cdExecuting,icon:ei.P.add,routerLink:()=>"/monitoring"+this.urlBuilder.getCreateFrom(this.selection.first().fingerprint),name:"Create Silence"}]}ngOnInit(){super.ngOnInit(),this.columns=[{name:"Name",prop:"labels.alertname",cellClass:"fw-bold",flexGrow:2},{name:"Summary",prop:"annotations.summary",flexGrow:3},{name:"Severity",prop:"labels.severity",flexGrow:1,cellTransformation:ai.e.badge,customTemplateConfig:{map:{critical:{class:"badge-danger"},warning:{class:"badge-warning"}}}},{name:"State",prop:"status.state",flexGrow:1,cellTransformation:ai.e.badge,customTemplateConfig:{map:{active:{class:"badge-info"},unprocessed:{class:"badge-warning"},suppressed:{class:"badge-dark"}}}},{name:"Started",prop:"startsAt",cellTransformation:ai.e.timeAgo,flexGrow:1},{name:"URL",prop:"generatorURL",flexGrow:1,sortable:!1,cellTemplate:this.externalLinkTpl}]}updateSelection(n){this.selection=n}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(k1),e.Y36(zr.F),e.Y36(Zm.Q))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-active-alert-list"]],viewQuery:function(n,s){if(1&n&&e.Gf(KM,7),2&n){let l;e.iGM(l=e.CRH())&&(s.externalLinkTpl=l.first)}},features:[e._Bn([{provide:zr.F,useValue:new zr.F("silences")}]),e.qOj],decls:5,vars:2,consts:function(){let i;return i="To see all active Prometheus alerts, please provide the URL to the API of Prometheus' Alertmanager as described in the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + ".",[["type","info",4,"ngIf"],["identifier","fingerprint","selectionType","single",3,"data","columns","forceIdentifier","customCss","hasDetails","setExpandedRow","updateSelection",4,"ngIf"],["externalLinkTpl",""],["type","info"],i,["section","prometheus"],["identifier","fingerprint","selectionType","single",3,"data","columns","forceIdentifier","customCss","hasDetails","setExpandedRow","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"renderObjects","hideEmpty","appendParentKey","data","customCss","autoReload",4,"ngIf"],["cdTableDetail","",3,"renderObjects","hideEmpty","appendParentKey","data","customCss","autoReload"],["target","_blank",3,"href"],[3,"ngClass"]]},template:function(n,s){1&n&&(e._UZ(0,"cd-prometheus-tabs"),e.YNc(1,pC,3,0,"cd-alert-panel",0),e.YNc(2,_C,3,9,"cd-table",1),e.YNc(3,hC,3,4,"ng-template",null,2,e.W1O)),2&n&&(e.xp6(1),e.Q6J("ngIf",!s.isAlertmanagerConfigured),e.xp6(1),e.Q6J("ngIf",s.isAlertmanagerConfigured))},dependencies:[f.mk,f.O5,Hr.G,Kd.K,Ol.a,Pc.b,il.K,Kg]}),t})();var mC=o(94088);function gC(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",2),e.tHW(1,3),e._UZ(2,"cd-doc",4),e.N_p(),e.qZA())}function vC(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",7),2&t){const n=e.oxw(2);e.Q6J("data",n.expandedRow)("renderObjects",!0)("hideKeys",n.hideKeys)}}function t2(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",5),e.NdJ("setExpandedRow",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.setExpandedRow(l))})("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.updateSelection(l))}),e.YNc(1,vC,1,3,"cd-table-key-value",6),e.qZA()}if(2&t){const n=e.oxw();e.Q6J("data",n.prometheusAlertService.rules)("columns",n.columns)("selectionType","single")("hasDetails",!0),e.xp6(1),e.Q6J("ngIf",n.expandedRow)}}let n2=(()=>{class t extends Y0{constructor(n,s){super(s),this.prometheusAlertService=n,this.selection=new Kn.r,this.hideKeys=["alerts","type"]}ngOnInit(){super.ngOnInit(),this.columns=[{prop:"name",name:"Name",cellClass:"fw-bold",flexGrow:2},{prop:"labels.severity",name:"Severity",flexGrow:1,cellTransformation:ai.e.badge,customTemplateConfig:{map:{critical:{class:"badge-danger"},warning:{class:"badge-warning"}}}},{prop:"group",name:"Group",flexGrow:1,cellTransformation:ai.e.badge},{prop:"duration",name:"Duration",pipe:new mC.u,flexGrow:1},{prop:"query",name:"Query",isHidden:!0,flexGrow:1},{prop:"annotations.summary",name:"Summary",flexGrow:3}]}updateSelection(n){this.selection=n}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(k1),e.Y36(Zm.Q))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rules-list"]],features:[e.qOj],decls:3,vars:2,consts:function(){let i;return i="To see all configured Prometheus alerts, please provide the URL to the API of Prometheus as described in the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + ".",[["type","info",4,"ngIf"],[3,"data","columns","selectionType","hasDetails","setExpandedRow","updateSelection",4,"ngIf"],["type","info"],i,["section","prometheus"],[3,"data","columns","selectionType","hasDetails","setExpandedRow","updateSelection"],["cdTableDetail","",3,"data","renderObjects","hideKeys",4,"ngIf"],["cdTableDetail","",3,"data","renderObjects","hideKeys"]]},template:function(n,s){1&n&&(e._UZ(0,"cd-prometheus-tabs"),e.YNc(1,gC,3,0,"cd-alert-panel",0),e.YNc(2,t2,2,5,"cd-table",1)),2&n&&(e.xp6(1),e.Q6J("ngIf",!s.isPrometheusConfigured),e.xp6(1),e.Q6J("ngIf",s.isPrometheusConfigured))},dependencies:[f.O5,Hr.G,Kd.K,Ol.a,Pc.b,Kg]}),t})();var tE=o(26504);let Vv=(()=>{class t{constructor(){this.valueAttributePath={alertname:"name",instance:"alerts.0.labels.instance",job:"alerts.0.labels.job",severity:"labels.severity"}}singleMatch(n,s){return this.multiMatch([n],s)}multiMatch(n,s){if(!n.some(l=>l.isRegex))return n.forEach(l=>{s=this.getMatchedRules(l,s)}),this.describeMatch(s)}getMatchedRules(n,s){const l=this.getAttributePath(n.name);return s.filter(_=>Ke().get(_,l)===n.value)}describeMatch(n){let s=0;return n.forEach(l=>s+=l.alerts.length),{status:this.getMatchText(n.length,s),cssClass:s?"has-success":"has-warning"}}getAttributePath(n){return this.valueAttributePath[n]}getMatchText(n,s){const l={noRule:"Your matcher seems to match no currently defined rule or active alert.",noAlerts:"no active alerts",alert:"1 active alert",alerts:"" + s + " active alerts",rule:"Matches 1 rule",rules:"Matches " + n + " rules"};return n?"" + (n > 1 ? l.rules : l.rule) + " with " + (s ? s > 1 ? l.alerts : l.alert : l.noAlerts) + ".":l.noRule}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),r2=(()=>{class t{calculateDuration(n,s){const l=+n,_=+s,g=this.getDuration(Math.abs(l-_));return l>_?"-"+g:g}getDuration(n){const s=new Date(n),l=s.getUTCHours(),_=s.getUTCMinutes(),M=(x,Y)=>x&&x+Y;return[M(Math.floor(n/864e5),"d"),M(l,"h"),M(_,"m")].filter(x=>x).join(" ")}calculateDate(n,s,l){const _=+n;if(Ke().isNaN(_))return;const g=this.getDurationMs(s)*(l?-1:1);return new Date(_+g)}getDurationMs(n){return 6e4*(60*(24*this.getNumbersFromString(n,"d")+this.getNumbersFromString(n,"h"))+this.getNumbersFromString(n,"m"))}getNumbersFromString(n,s){const l=n.match(new RegExp(`[0-9 ]+${s}`,"i"));return l?parseInt(l[0],10):0}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function yC(t,i){if(1&t&&(e.TgZ(0,"option",28),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.hij(" ",n," ")}}function i2(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function o2(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,31),e.qZA())}function s2(t,i){if(1&t&&(e.TgZ(0,"div",32)(1,"span"),e._uU(2),e.qZA()()),2&t){const n=e.oxw();e.Gre("cd-col-form-offset ",n.matcherMatch.cssClass,""),e.xp6(1),e.Gre("text-muted ",n.matcherMatch.cssClass,""),e.xp6(1),e.hij(" ",n.matcherMatch.status," ")}}let a2=(()=>{class t{constructor(n,s,l,_){this.formBuilder=n,this.silenceMatcher=s,this.activeModal=l,this.actionLabels=_,this.submitAction=new e.vpe,this.editMode=!1,this.nameAttributes=["alertname","instance","job","severity"],this.possibleValues=[],this.matcherMatch=void 0,this.valueClick=new Ai.xQ,this.valueFocus=new Ai.xQ,this.search=g=>(0,$g.T)(g.pipe((0,Xe.b)(200),(0,rn.x)()),this.valueFocus,this.valueClick.pipe((0,as.h)(()=>!this.typeahead.isPopupOpen()))).pipe((0,ss.U)(M=>(""===M?this.possibleValues:this.possibleValues.filter(x=>x.toLowerCase().indexOf(M.toLowerCase())>-1)).slice(0,10))),this.createForm(),this.subscribeToChanges()}createForm(){this.form=this.formBuilder.group({name:[null,[se.kI.required]],value:[{value:"",disabled:!0},[se.kI.required]],isRegex:new se.p4(!1)})}subscribeToChanges(){this.form.get("name").valueChanges.subscribe(n=>{null!==n?(this.setPossibleValues(n),this.form.get("value").enable()):this.form.get("value").disable()}),this.form.get("value").valueChanges.subscribe(n=>{const s=this.form.value;s.value=n,this.matcherMatch=this.silenceMatcher.singleMatch(s,this.rules)})}setPossibleValues(n){this.possibleValues=Ke().sortedUniq(this.rules.map(s=>Ke().get(s,this.silenceMatcher.getAttributePath(n))).filter(s=>s))}getMode(){return this.editMode?this.actionLabels.EDIT:this.actionLabels.ADD}preFillControls(n){this.form.setValue(n)}onSubmit(){this.submitAction.emit(this.form.value),this.activeModal.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Xd.O),e.Y36(Vv),e.Y36(Be.Kz),e.Y36(Dr.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-silence-matcher-modal"]],viewQuery:function(n,s){if(1&n&&e.Gf(Be.dR,7),2&n){let l;e.iGM(l=e.CRH())&&(s.typeahead=l.first)}},outputs:{submitAction:"submitAction"},decls:32,vars:11,consts:function(){let i,n,s,l,_,g,M,x;return i="{VAR_SELECT, select, true {Edit} other {Add}}",i=e.Zx4(i,{VAR_SELECT:"\ufffd0\ufffd"}),n="" + i + " Matcher",s="Name",l="-- Select an attribute to match against --",_="Value",g="Use regular expression",M="This field is required!",x="This field is required!",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","name",1,"cd-col-form-label","required"],s,[1,"cd-col-form-input"],["id","name","formControlName","name","name","name",1,"form-select"],[3,"ngValue"],l,[3,"value",4,"ngFor","ngForOf"],["class","help-block",4,"ngIf"],["for","value",1,"cd-col-form-label","required"],_,["id","value","type","text","formControlName","value",1,"form-control",3,"ngbTypeahead","focus","click"],["instance","ngbTypeahead"],["id","match-state",3,"class",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","formControlName","isRegex","name","is-regex","id","is-regex",1,"custom-control-input"],["for","is-regex",1,"custom-control-label"],g,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[3,"value"],[1,"help-block"],M,x,["id","match-state"]]},template:function(n,s){if(1&n&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.qZA(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"div",7)(8,"label",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"div",10)(11,"select",11)(12,"option",12),e.SDv(13,13),e.qZA(),e.YNc(14,yC,2,2,"option",14),e.qZA(),e.YNc(15,i2,2,0,"span",15),e.qZA()(),e.TgZ(16,"div",7)(17,"label",16),e.SDv(18,17),e.qZA(),e.TgZ(19,"div",10)(20,"input",18,19),e.NdJ("focus",function(_){return s.valueFocus.next(_.target.value)})("click",function(_){return s.valueClick.next(_.target.value)}),e.qZA(),e.YNc(22,o2,2,0,"span",15),e.qZA(),e.YNc(23,s2,3,7,"div",20),e.qZA(),e.TgZ(24,"div",7)(25,"div",21)(26,"div",22),e._UZ(27,"input",23),e.TgZ(28,"label",24),e.SDv(29,25),e.qZA()()()()(),e.TgZ(30,"div",26)(31,"cd-form-button-panel",27),e.NdJ("submitActionEvent",function(){return s.onSubmit()}),e.qZA()()(),e.BQk(),e.qZA()),2&n){const l=e.MAs(5);e.Q6J("modalRef",s.activeModal),e.xp6(2),e.pQV(s.editMode),e.QtT(2),e.xp6(2),e.Q6J("formGroup",s.form),e.xp6(8),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",s.nameAttributes),e.xp6(1),e.Q6J("ngIf",s.form.showError("name",l,"required")),e.xp6(5),e.Q6J("ngbTypeahead",s.search),e.xp6(2),e.Q6J("ngIf",s.form.showError("value",l,"required")),e.xp6(1),e.Q6J("ngIf",s.form.getValue("value")&&!s.form.getValue("isRegex")&&s.matcherMatch),e.xp6(8),e.Q6J("form",s.form)("submitText",s.getMode())}},dependencies:[f.sg,f.O5,Kt.z,lt.p,Ht.o,wn.b,ar.P,cr.V,se._Y,se.YN,se.Kr,se.Fj,se.Wl,se.EJ,se.JJ,se.JL,se.sg,se.u,Be.dR]}),t})();var l2=o(52266);function c2(t,i){if(1&t&&(e.TgZ(0,"i",54),e._uU(1,"~"),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.Q6J("ngbTooltip",n.tooltip)}}function u2(t,i){1&t&&(e.TgZ(0,"i",55),e._uU(1,"="),e.qZA())}function d2(t,i){if(1&t&&(e.TgZ(0,"span",51),e.YNc(1,c2,2,1,"i",52),e.YNc(2,u2,2,0,"i",53),e.qZA()),2&t){const n=e.oxw().$implicit,s=e.oxw().matcher;e.xp6(1),e.Q6J("ngIf",s[n.attribute]),e.xp6(1),e.Q6J("ngIf",!s[n.attribute])}}function nE(t,i){if(1&t&&(e.ynx(0),e._UZ(1,"input",56),e.BQk()),2&t){const n=e.oxw().$implicit,s=e.oxw(),l=s.index,_=s.matcher;e.xp6(1),e.hYB("id","matcher-",n.attribute,"-",l,""),e.Q6J("value",_[n.attribute])}}function rE(t,i){if(1&t&&(e.ynx(0),e.YNc(1,d2,3,2,"span",50),e.YNc(2,nE,2,3,"ng-container",7),e.BQk()),2&t){const n=i.$implicit;e.xp6(1),e.Q6J("ngIf","isRegex"===n.attribute),e.xp6(1),e.Q6J("ngIf","isRegex"!==n.attribute)}}const j0=function(t){return[t]};function EC(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",46),e.YNc(1,rE,3,2,"ng-container",34),e.TgZ(2,"button",47),e.NdJ("click",function(){const _=e.CHM(n).index,g=e.oxw();return e.KtG(g.showMatcherModal(_))}),e._UZ(3,"i",38),e.qZA(),e.TgZ(4,"button",48),e.NdJ("click",function(){const _=e.CHM(n).index,g=e.oxw();return e.KtG(g.deleteMatcher(_))}),e._UZ(5,"i",38),e.qZA()(),e._UZ(6,"span",49)}if(2&t){const n=i.index,s=e.oxw();e.xp6(1),e.Q6J("ngForOf",s.matcherConfig),e.xp6(1),e.MGl("id","matcher-edit-",n,""),e.xp6(1),e.Q6J("ngClass",e.VKq(5,j0,s.icons.edit)),e.xp6(1),e.MGl("id","matcher-delete-",n,""),e.xp6(1),e.Q6J("ngClass",e.VKq(7,j0,s.icons.trash))}}function iE(t,i){1&t&&(e.TgZ(0,"cd-helper"),e.SDv(1,57),e.qZA())}function SC(t,i){1&t&&(e.TgZ(0,"span",58),e.SDv(1,59),e.qZA())}function CC(t,i){1&t&&(e.TgZ(0,"span",58),e.SDv(1,60),e.qZA())}function f2(t,i){1&t&&(e.TgZ(0,"span",58),e.SDv(1,61),e.qZA())}function oE(t,i){1&t&&(e.TgZ(0,"span",58),e.SDv(1,62),e.qZA())}function sE(t,i){1&t&&(e.TgZ(0,"span",58),e.SDv(1,63),e.qZA())}const TC=function(t,i){return{"text-warning":t,"text-danger":i}};function aE(t,i){if(1&t&&(e.TgZ(0,"h5",38)(1,"strong"),e.SDv(2,64),e.qZA()()),2&t){e.oxw();const n=e.MAs(4);e.Q6J("ngClass",e.WLB(1,TC,!n.submitted,n.submitted))}}function p2(t,i){1&t&&e.GkF(0)}const _2=function(t,i){return{index:t,matcher:i}};function lE(t,i){if(1&t&&(e.TgZ(0,"span"),e.YNc(1,p2,1,0,"ng-container",65),e.qZA()),2&t){const n=i.$implicit,s=i.index;e.oxw();const l=e.MAs(1);e.xp6(1),e.Q6J("ngTemplateOutlet",l)("ngTemplateOutletContext",e.WLB(2,_2,s,n))}}function h2(t,i){if(1&t&&(e.TgZ(0,"div",66)(1,"span"),e._uU(2),e.qZA()()),2&t){const n=e.oxw();e.Gre("cd-col-form-offset ",n.matcherMatch.cssClass,""),e.xp6(1),e.Gre("text-muted ",n.matcherMatch.cssClass,""),e.xp6(1),e.hij(" ",n.matcherMatch.status," ")}}function bC(t,i){if(1&t&&e._UZ(0,"cd-date-time-picker",67),2&t){const n=e.oxw();e.Q6J("control",n.form.get("startsAt"))("hasSeconds",!1)}}function $1(t,i){if(1&t&&e._UZ(0,"cd-date-time-picker",67),2&t){const n=e.oxw();e.Q6J("control",n.form.get("endsAt"))("hasSeconds",!1)}}const MC=function(t){return{"btn-warning":t}};let H1=(()=>{class t{constructor(n,s,l,_,g,M,x,Y,K,le,fe){this.router=n,this.authStorageService=s,this.formBuilder=l,this.prometheusService=_,this.notificationService=g,this.route=M,this.timeDiff=x,this.modalService=Y,this.silenceMatcher=K,this.actionLabels=le,this.succeededLabels=fe,this.icons=ei.P,this.matchName="",this.matchValue="",this.recreate=!1,this.edit=!1,this.resource="silence",this.matchers=[],this.matcherMatch=void 0,this.matcherConfig=[{tooltip:"Attribute name",attribute:"name"},{tooltip:"Regular expression",attribute:"isRegex"},{tooltip:"Value",attribute:"value"}],this.datetimeFormat="YYYY-MM-DD HH:mm",this.isNavigate=!0,this.init()}init(){this.chooseMode(),this.authenticate(),this.createForm(),this.setupDates(),this.getData()}chooseMode(){this.edit=this.router.url.startsWith("/monitoring/silences/edit"),this.recreate=this.router.url.startsWith("/monitoring/silences/recreate"),this.action=this.edit?this.actionLabels.EDIT:this.recreate?this.actionLabels.RECREATE:this.actionLabels.CREATE}authenticate(){if(this.permission=this.authStorageService.getPermissions().prometheus,!this.permission.read||!(this.edit?this.permission.update:this.permission.create))throw new tE._2}createForm(){const n=zo.h.custom("format",s=>!(""===s||fl()(s,this.datetimeFormat).isValid()));this.form=this.formBuilder.group({startsAt:["",[se.kI.required,n]],duration:["2h",[se.kI.min(1)]],endsAt:["",[se.kI.required,n]],createdBy:[this.authStorageService.getUsername(),[se.kI.required]],comment:[null,[se.kI.required]]},{validators:zo.h.custom("matcherRequired",()=>0===this.matchers.length)})}setupDates(){const n=fl()().format(this.datetimeFormat);this.form.silentSet("startsAt",n),this.updateDate(),this.subscribeDateChanges()}updateDate(n){const s=fl()(this.form.getValue(n?"endsAt":"startsAt"),this.datetimeFormat).toDate(),l=this.timeDiff.calculateDate(s,this.form.getValue("duration"),n);if(l){const _=fl()(l).format(this.datetimeFormat);this.form.silentSet(n?"startsAt":"endsAt",_)}}subscribeDateChanges(){this.form.get("startsAt").valueChanges.subscribe(()=>{this.onDateChange()}),this.form.get("duration").valueChanges.subscribe(()=>{this.updateDate()}),this.form.get("endsAt").valueChanges.subscribe(()=>{this.onDateChange(!0)})}onDateChange(n){const s=fl()(this.form.getValue("startsAt"),this.datetimeFormat),l=fl()(this.form.getValue("endsAt"),this.datetimeFormat);s.isBefore(l)?this.updateDuration():this.updateDate(n)}updateDuration(){const n=fl()(this.form.getValue("startsAt"),this.datetimeFormat).toDate(),s=fl()(this.form.getValue("endsAt"),this.datetimeFormat).toDate();this.form.silentSet("duration",this.timeDiff.calculateDuration(n,s))}getData(){this.getRules(),this.getModeSpecificData()}getRules(){return this.prometheusService.ifPrometheusConfigured(()=>this.prometheusService.getRules().subscribe(n=>{this.rules=n.groups.reduce((s,l)=>Ke().concat(s,l.rules),[])},()=>{this.prometheusService.disablePrometheusConfig(),this.rules=[]}),()=>{this.rules=[],this.notificationService.show(ua.k.info,"Please add your Prometheus host to the dashboard configuration and refresh the page",void 0,void 0,"Prometheus")}),this.rules}getModeSpecificData(){this.route.params.subscribe(n=>{n.id&&(this.edit||this.recreate?this.prometheusService.getSilences().subscribe(s=>{const l=Ke().find(s,["id",n.id]);Ke().isUndefined(l)||this.fillFormWithSilence(l)}):this.prometheusService.getAlerts().subscribe(s=>{const l=Ke().find(s,["fingerprint",n.id]);Ke().isUndefined(l)||this.fillFormByAlert(l)}))})}fillFormWithSilence(n){this.id=n.id,this.edit&&(["startsAt","endsAt"].forEach(s=>this.form.silentSet(s,fl()(n[s]).format(this.datetimeFormat))),this.updateDuration()),["createdBy","comment"].forEach(s=>this.form.silentSet(s,n[s])),this.matchers=n.matchers,this.validateMatchers()}validateMatchers(){this.rules?(this.matcherMatch=this.silenceMatcher.multiMatch(this.matchers,this.rules),this.form.markAsDirty(),this.form.updateValueAndValidity()):window.setTimeout(()=>this.validateMatchers(),100)}fillFormByAlert(n){this.setMatcher({name:"alertname",value:n.labels.alertname,isRegex:!1})}setMatcher(n,s){Ke().isNumber(s)?this.matchers[s]=n:this.matchers.push(n),this.validateMatchers()}showMatcherModal(n){const l=this.modalService.show(a2).componentInstance;l.rules=this.rules,Ke().isNumber(n)&&(l.editMode=!0,l.preFillControls(this.matchers[n])),l.submitAction.subscribe(_=>{this.setMatcher(_,n)})}deleteMatcher(n){this.matchers.splice(n,1),this.validateMatchers()}submit(n){this.form.invalid||this.prometheusService.setSilence(this.getSubmitData()).subscribe(s=>{n&&(n.silenceId=s.body.silenceId),this.isNavigate&&this.router.navigate(["/monitoring/silences"]),this.notificationService.show(ua.k.success,this.getNotificationTile(this.matchers),void 0,void 0,"Prometheus"),this.matchers=[]},()=>this.form.setErrors({cdSubmitButton:!0}))}getSubmitData(){const n=this.form.value;return delete n.duration,n.startsAt=fl()(n.startsAt,this.datetimeFormat).toISOString(),n.endsAt=fl()(n.endsAt,this.datetimeFormat).toISOString(),n.matchers=this.matchers,this.edit&&(n.id=this.id),n}getNotificationTile(n){let s;s=this.edit?this.succeededLabels.EDITED:this.recreate?this.succeededLabels.RECREATED:this.succeededLabels.CREATED;let l="";for(const _ of n)l=l.concat(` ${_.name} - ${_.value},`);return`${s} ${this.resource} for ${l.slice(0,-1)}`}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ce.F0),e.Y36(fa.j),e.Y36(Xd.O),e.Y36(Zm.Q),e.Y36(Le.g),e.Y36(Ce.gz),e.Y36(r2),e.Y36(tc.Z),e.Y36(Vv),e.Y36(Dr.p4),e.Y36(Dr.aX))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-prometheus-form"]],decls:71,vars:30,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He,Pe;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Creator",s="Comment",l="Start time",_="If the start time lies in the past the creation time will be used",g="Duration",M="End time",x="Matchers",Y="Add matcher",K="Edit",le="Delete",fe="Editing a silence will expire the old silence and recreate it as a new silence",ge="This field is required!",Se="This field is required!",Ge="This field is required!",we="This field is required!",He="This field is required!",Pe="A silence requires at least one matcher",[["matcherTpl",""],[1,"cd-col-form"],["name","form","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],i,[4,"ngIf"],[1,"card-body"],[1,"form-group","row"],["for","created-by",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["formControlName","createdBy","id","created-by","name","created-by","type","text",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","comment",1,"cd-col-form-label","required"],s,["formControlName","comment","id","comment","name","comment","type","text",1,"form-control"],["for","starts-at",1,"cd-col-form-label"],[1,"required"],l,_,["formControlName","startsAt","triggers","manual",1,"form-control",3,"ngbPopover","click","keypress"],["ps","ngbPopover"],["for","duration",1,"cd-col-form-label","required"],g,["formControlName","duration","id","duration","name","duration","type","text",1,"form-control"],["for","ends-at",1,"cd-col-form-label","required"],M,["formControlName","endsAt","triggers","manual",1,"form-control",3,"ngbPopover","click","keypress"],["pe","ngbPopover"],x,[1,"cd-col-form-offset"],[3,"ngClass",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"row"],[1,"col-12"],["type","button","id","add-matcher",1,"btn","btn-light","float-end","my-3",3,"ngClass","click"],[3,"ngClass"],Y,["id","match-state",3,"class",4,"ngIf"],[1,"card-footer"],[1,"text-right"],[3,"form","submitText","submitActionEvent"],["popStart",""],["popEnd",""],[1,"input-group","my-2"],["type","button","ngbTooltip",K,1,"btn","btn-light",3,"id","click"],["type","button","ngbTooltip",le,1,"btn","btn-light",3,"id","click"],[1,"help-block"],["class","input-group-text",4,"ngIf"],[1,"input-group-text"],[3,"ngbTooltip",4,"ngIf"],["ngbTooltip","Equals",4,"ngIf"],[3,"ngbTooltip"],["ngbTooltip","Equals"],["type","text","disabled","","readonly","",1,"form-control",3,"id","value"],fe,[1,"invalid-feedback"],ge,Se,Ge,we,He,Pe,[4,"ngTemplateOutlet","ngTemplateOutletContext"],["id","match-state"],[3,"control","hasSeconds"]]},template:function(n,s){if(1&n){const l=e.EpF();e.YNc(0,EC,7,9,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1)(3,"form",2,3)(5,"div",4)(6,"div",5)(7,"span"),e.SDv(8,6),e.ALo(9,"titlecase"),e.ALo(10,"upperFirst"),e.qZA(),e.YNc(11,iE,2,0,"cd-helper",7),e.qZA(),e.TgZ(12,"div",8)(13,"div",9)(14,"label",10),e.SDv(15,11),e.qZA(),e.TgZ(16,"div",12),e._UZ(17,"input",13),e.YNc(18,SC,2,0,"span",14),e.qZA()(),e.TgZ(19,"div",9)(20,"label",15),e.SDv(21,16),e.qZA(),e.TgZ(22,"div",12)(23,"textarea",17),e._uU(24," "),e.qZA(),e.YNc(25,CC,2,0,"span",14),e.qZA()(),e.TgZ(26,"div",9)(27,"label",18)(28,"span",19),e.SDv(29,20),e.qZA(),e.TgZ(30,"cd-helper"),e.SDv(31,21),e.qZA()(),e.TgZ(32,"div",12)(33,"input",22,23),e.NdJ("click",function(){e.CHM(l);const g=e.MAs(34);return e.KtG(g.open())})("keypress",function(){e.CHM(l);const g=e.MAs(34);return e.KtG(g.close())}),e.qZA(),e.YNc(35,f2,2,0,"span",14),e.qZA()(),e.TgZ(36,"div",9)(37,"label",24),e.SDv(38,25),e.qZA(),e.TgZ(39,"div",12),e._UZ(40,"input",26),e.YNc(41,oE,2,0,"span",14),e.qZA()(),e.TgZ(42,"div",9)(43,"label",27),e.SDv(44,28),e.qZA(),e.TgZ(45,"div",12)(46,"input",29,30),e.NdJ("click",function(){e.CHM(l);const g=e.MAs(47);return e.KtG(g.open())})("keypress",function(){e.CHM(l);const g=e.MAs(47);return e.KtG(g.close())}),e.qZA(),e.YNc(48,sE,2,0,"span",14),e.qZA()(),e.TgZ(49,"fieldset")(50,"legend",19),e.SDv(51,31),e.qZA(),e.TgZ(52,"div",32),e.YNc(53,aE,3,4,"h5",33),e.YNc(54,lE,2,5,"span",34),e.TgZ(55,"div",35)(56,"div",36)(57,"button",37),e.NdJ("click",function(){return s.showMatcherModal()}),e._UZ(58,"i",38),e.ynx(59),e.SDv(60,39),e.BQk(),e.qZA()()()(),e.YNc(61,h2,3,7,"div",40),e.qZA()(),e.TgZ(62,"div",41)(63,"div",42)(64,"cd-form-button-panel",43),e.NdJ("submitActionEvent",function(){return s.submit()}),e.ALo(65,"titlecase"),e.ALo(66,"upperFirst"),e.qZA()()()()()(),e.YNc(67,bC,1,2,"ng-template",null,44,e.W1O),e.YNc(69,$1,1,2,"ng-template",null,45,e.W1O)}if(2&n){const l=e.MAs(4),_=e.MAs(68),g=e.MAs(70);e.xp6(3),e.Q6J("formGroup",s.form),e.xp6(7),e.pQV(e.lcZ(9,18,s.action))(e.lcZ(10,20,s.resource)),e.QtT(8),e.xp6(1),e.Q6J("ngIf",s.edit),e.xp6(7),e.Q6J("ngIf",s.form.showError("createdBy",l,"required")),e.xp6(7),e.Q6J("ngIf",s.form.showError("comment",l,"required")),e.xp6(8),e.Q6J("ngbPopover",_),e.xp6(2),e.Q6J("ngIf",s.form.showError("startsAt",l,"required")),e.xp6(6),e.Q6J("ngIf",s.form.showError("duration",l,"required")),e.xp6(5),e.Q6J("ngbPopover",g),e.xp6(2),e.Q6J("ngIf",s.form.showError("endsAt",l,"required")),e.xp6(5),e.Q6J("ngIf",0===s.matchers.length),e.xp6(1),e.Q6J("ngForOf",s.matchers),e.xp6(3),e.Q6J("ngClass",e.VKq(26,MC,l.submitted&&0===s.matchers.length)),e.xp6(1),e.Q6J("ngClass",e.VKq(28,j0,s.icons.add)),e.xp6(3),e.Q6J("ngIf",s.matchers.length&&s.matcherMatch),e.xp6(3),e.Q6J("form",s.form)("submitText",e.lcZ(65,22,s.action)+" "+e.lcZ(66,24,s.resource))}},dependencies:[f.mk,f.sg,f.O5,f.tP,je.S,l2.J,lt.p,Ht.o,wn.b,ar.P,cr.V,se._Y,se.Fj,se.JJ,se.JL,se.sg,se.u,Be._L,Be.o8,f.rS,_i.m],styles:["textarea[_ngcontent-%COMP%]{resize:vertical}"]}),t})();var aR=o(84051),cE=o(70882);function uE(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",2),e.tHW(1,3),e._UZ(2,"cd-doc",4),e.N_p(),e.qZA())}function m2(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",8),2&t){const n=e.oxw(2);e.Q6J("renderObjects",!0)("hideEmpty",!0)("appendParentKey",!1)("data",n.expandedRow)("customCss",n.customCss)("autoReload",!1)}}function dE(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",5),e.NdJ("setExpandedRow",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.setExpandedRow(l))})("fetchData",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.refresh())})("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.updateSelection(l))}),e._UZ(1,"cd-table-actions",6),e.YNc(2,m2,1,6,"cd-table-key-value",7),e.qZA()}if(2&t){const n=e.oxw();e.Q6J("data",n.silences)("columns",n.columns)("forceIdentifier",!0)("customCss",n.customCss)("sorts",n.sorts)("hasDetails",!0),e.xp6(1),e.Q6J("permission",n.permission)("selection",n.selection)("tableActions",n.tableActions),e.xp6(1),e.Q6J("ngIf",n.expandedRow)}}let OC=(()=>{class t extends Y0{constructor(n,s,l,_,g,M,x,Y,K,le){super(le),this.authStorageService=n,this.cdDatePipe=s,this.modalService=l,this.notificationService=_,this.urlBuilder=g,this.actionLabels=M,this.succeededLabels=x,this.silenceFormComponent=Y,this.silenceMatcher=K,this.silences=[],this.selection=new Kn.r,this.customCss={"badge badge-danger":"active","badge badge-warning":"pending","badge badge-default":"expired"},this.sorts=[{prop:"endsAt",dir:aR.Sr.desc}],this.permission=this.authStorageService.getPermissions().prometheus;const fe=ge=>ge.first()&&ge.first().status&&"expired"===ge.first().status.state;this.tableActions=[{permission:"create",icon:ei.P.add,routerLink:()=>this.urlBuilder.getCreate(),canBePrimary:ge=>!ge.hasSingleSelection,name:this.actionLabels.CREATE},{permission:"create",canBePrimary:ge=>ge.hasSingleSelection&&fe(ge),disable:ge=>!ge.hasSingleSelection||ge.first().cdExecuting||ge.first().cdExecuting&&fe(ge)||!fe(ge),icon:ei.P.copy,routerLink:()=>this.urlBuilder.getRecreate(this.selection.first().id),name:this.actionLabels.RECREATE},{permission:"update",icon:ei.P.edit,canBePrimary:ge=>ge.hasSingleSelection&&!fe(ge),disable:ge=>!ge.hasSingleSelection||ge.first().cdExecuting||ge.first().cdExecuting&&!fe(ge)||fe(ge),routerLink:()=>this.urlBuilder.getEdit(this.selection.first().id),name:this.actionLabels.EDIT},{permission:"delete",icon:ei.P.trash,canBePrimary:ge=>ge.hasSingleSelection&&!fe(ge),disable:ge=>!ge.hasSingleSelection||ge.first().cdExecuting||fe(ge),click:()=>this.expireSilence(),name:this.actionLabels.EXPIRE}],this.columns=[{name:"ID",prop:"id",flexGrow:3},{name:"Alerts Silenced",prop:"silencedAlerts",flexGrow:3,cellTransformation:ai.e.badge},{name:"Created by",prop:"createdBy",flexGrow:2},{name:"Started",prop:"startsAt",pipe:this.cdDatePipe},{name:"Updated",prop:"updatedAt",pipe:this.cdDatePipe},{name:"Ends",prop:"endsAt",pipe:this.cdDatePipe},{name:"Status",prop:"status.state",cellTransformation:ai.e.classAdding}]}refresh(){this.prometheusService.ifAlertmanagerConfigured(()=>{this.prometheusService.getSilences().subscribe(n=>{this.silences=n;const s=n.filter(l=>"expired"!==l.status.state);this.getAlerts(s)},()=>{this.prometheusService.disableAlertmanagerConfig()})})}updateSelection(n){this.selection=n}getAlerts(n){const s=this.silenceFormComponent.getRules();n.forEach(l=>{l.matchers.forEach(_=>{this.rules=this.silenceMatcher.getMatchedRules(_,s);const g=[];for(const M of this.rules)g.push(M.name);l.silencedAlerts=g})})}expireSilence(){const n=this.selection.first().id,s="Silence",l="Prometheus";this.modalRef=this.modalService.show(Yo.M,{itemDescription:s,itemNames:[n],actionDescription:this.actionLabels.EXPIRE,submitActionObservable:()=>new cE.y(_=>{this.prometheusService.expireSilence(n).subscribe(()=>{this.notificationService.show(ua.k.success,`${this.succeededLabels.EXPIRED} ${s} ${n}`,void 0,void 0,l)},g=>{g.application=l,_.error(g)},()=>{_.complete(),this.refresh()})})})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(pu.N),e.Y36(tc.Z),e.Y36(Le.g),e.Y36(zr.F),e.Y36(Dr.p4),e.Y36(Dr.aX),e.Y36(H1),e.Y36(Vv),e.Y36(Zm.Q))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-silences-list"]],features:[e._Bn([{provide:zr.F,useValue:new zr.F("monitoring/silences")},H1]),e.qOj],decls:3,vars:2,consts:function(){let i;return i="To enable Silences, please provide the URL to the API of the Prometheus' Alertmanager as described in the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + ".",[["type","info",4,"ngIf"],["selectionType","single",3,"data","columns","forceIdentifier","customCss","sorts","hasDetails","setExpandedRow","fetchData","updateSelection",4,"ngIf"],["type","info"],i,["section","prometheus"],["selectionType","single",3,"data","columns","forceIdentifier","customCss","sorts","hasDetails","setExpandedRow","fetchData","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"renderObjects","hideEmpty","appendParentKey","data","customCss","autoReload",4,"ngIf"],["cdTableDetail","",3,"renderObjects","hideEmpty","appendParentKey","data","customCss","autoReload"]]},template:function(n,s){1&n&&(e._UZ(0,"cd-prometheus-tabs"),e.YNc(1,uE,3,0,"cd-alert-panel",0),e.YNc(2,dE,3,10,"cd-table",1)),2&n&&(e.xp6(1),e.Q6J("ngIf",!s.isAlertmanagerConfigured),e.xp6(1),e.Q6J("ngIf",s.isAlertmanagerConfigured))},dependencies:[f.O5,Hr.G,Kd.K,Ol.a,Pc.b,il.K,Kg]}),t})(),fE=(()=>{class t{constructor(n){this.http=n,this.url="api/telemetry"}getReport(){return this.http.get(`${this.url}/report`)}enable(n=!0){const s={enable:n};return n&&(s.license_name="sharing-1-0"),this.http.put(`${this.url}`,s)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Z0=(()=>{class t{constructor(){this.visible=!1,this.update=new e.vpe}setVisibility(n){this.visible=n,this.update.emit(n)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function AC(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div"),e._uU(1," The plugin is already "),e.TgZ(2,"b"),e._uU(3,"enabled"),e.qZA(),e._uU(4,". Click "),e.TgZ(5,"b"),e._uU(6,"Deactivate"),e.qZA(),e._uU(7," to disable it.\xa0 "),e.TgZ(8,"button",66),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.disableModule("The Telemetry module has been disabled successfully."))}),e.SDv(9,67),e.qZA()()}}function DC(t,i){1&t&&(e.ynx(0),e.TgZ(1,"legend"),e.ynx(2),e.SDv(3,68),e.BQk(),e.TgZ(4,"cd-helper"),e.SDv(5,69),e.qZA()(),e.TgZ(6,"div",15)(7,"label",70),e.SDv(8,71),e.qZA(),e.TgZ(9,"div",24),e._UZ(10,"input",72),e.qZA()(),e.TgZ(11,"div",15)(12,"label",73),e.SDv(13,74),e.qZA(),e.TgZ(14,"div",24),e._UZ(15,"input",75),e.qZA()(),e.TgZ(16,"div",15)(17,"label",76),e.SDv(18,77),e.qZA(),e.TgZ(19,"div",24),e._UZ(20,"input",78),e.qZA()(),e.BQk())}function RC(t,i){1&t&&(e.TgZ(0,"span",79),e.SDv(1,80),e.qZA())}function v2(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div")(1,"form",4,5)(3,"div",6)(4,"div",7),e.SDv(5,8),e.qZA(),e.TgZ(6,"div",9)(7,"p"),e.tHW(8,10),e._UZ(9,"br")(10,"a",11)(11,"br")(12,"br")(13,"b"),e.N_p(),e.qZA(),e.YNc(14,AC,10,0,"div",12),e.TgZ(15,"legend"),e.SDv(16,13),e.qZA(),e.TgZ(17,"p"),e.SDv(18,14),e.qZA(),e.TgZ(19,"div",15)(20,"label",16),e.ynx(21),e.SDv(22,17),e.BQk(),e.TgZ(23,"cd-helper"),e.ynx(24),e.SDv(25,18),e.BQk(),e.TgZ(26,"ul")(27,"li"),e.SDv(28,19),e.qZA(),e.TgZ(29,"li"),e.SDv(30,20),e.qZA(),e.TgZ(31,"li"),e.SDv(32,21),e.qZA(),e.TgZ(33,"li"),e.SDv(34,22),e.qZA(),e.TgZ(35,"li"),e.SDv(36,23),e.qZA()()()(),e.TgZ(37,"div",24)(38,"div",25),e._UZ(39,"input",26)(40,"label",27),e.qZA()()(),e.TgZ(41,"div",15)(42,"label",28),e.ynx(43),e.SDv(44,29),e.BQk(),e.TgZ(45,"cd-helper"),e.ynx(46),e.SDv(47,30),e.BQk(),e.TgZ(48,"ul")(49,"li"),e.SDv(50,31),e.qZA(),e.TgZ(51,"li"),e.SDv(52,32),e.qZA(),e.TgZ(53,"li"),e.SDv(54,33),e.qZA(),e.TgZ(55,"li"),e.SDv(56,34),e.qZA()()()(),e.TgZ(57,"div",24)(58,"div",25),e._UZ(59,"input",35)(60,"label",36),e.qZA()()(),e.TgZ(61,"div",15)(62,"label",37),e.ynx(63),e.SDv(64,38),e.BQk(),e._UZ(65,"cd-helper",39),e.qZA(),e.TgZ(66,"div",24)(67,"div",25),e._UZ(68,"input",40)(69,"label",41),e.qZA()()(),e.TgZ(70,"div",15)(71,"label",42),e.ynx(72),e.SDv(73,43),e.BQk(),e.TgZ(74,"cd-helper"),e.ynx(75),e.SDv(76,44),e.BQk(),e.TgZ(77,"ul")(78,"li"),e._uU(79,"Cluster description"),e.qZA(),e.TgZ(80,"li"),e._uU(81,"Contact email address"),e.qZA()()()(),e.TgZ(82,"div",24)(83,"div",25)(84,"input",45),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.toggleIdent())}),e.qZA(),e._UZ(85,"label",46),e.qZA()()(),e.TgZ(86,"div",15)(87,"label",47),e.ynx(88),e.SDv(89,48),e.BQk(),e.TgZ(90,"cd-helper"),e.ynx(91),e.SDv(92,49),e.BQk(),e.qZA()(),e.TgZ(93,"div",24)(94,"div",25),e._UZ(95,"input",50)(96,"label",51),e.qZA()()(),e.YNc(97,DC,21,0,"ng-container",12),e.TgZ(98,"legend"),e.SDv(99,52),e.qZA(),e.TgZ(100,"div",15)(101,"label",53),e.ynx(102),e.SDv(103,54),e.BQk(),e.TgZ(104,"cd-helper"),e.SDv(105,55),e.qZA()(),e.TgZ(106,"div",24),e._UZ(107,"input",56),e.YNc(108,RC,2,0,"span",57),e.qZA()(),e.TgZ(109,"div",15)(110,"label",58),e.ynx(111),e.SDv(112,59),e.BQk(),e.TgZ(113,"cd-helper")(114,"p"),e.SDv(115,60),e.qZA(),e.TgZ(116,"p"),e.SDv(117,61),e.qZA()()(),e.TgZ(118,"div",24),e._UZ(119,"input",62),e.qZA()(),e._UZ(120,"br"),e.TgZ(121,"p"),e.tHW(122,63),e._UZ(123,"b"),e.N_p(),e.qZA()(),e.TgZ(124,"div",64)(125,"div",65)(126,"button",66),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.next())}),e.ynx(127),e._uU(128),e.BQk(),e.qZA()()()()()()}if(2&t){const n=e.MAs(2),s=e.oxw(2);e.xp6(1),e.Q6J("formGroup",s.configForm),e.xp6(4),e.pQV(s.step),e.QtT(5),e.xp6(8),e.pQV(s.sendToUrl)(s.sendToDeviceUrl),e.QtT(8),e.xp6(1),e.Q6J("ngIf",s.moduleEnabled),e.xp6(83),e.Q6J("ngIf",s.showContactInfo),e.xp6(11),e.Q6J("ngIf",s.configForm.showError("interval",n,"min")),e.xp6(20),e.Oqu(s.actionLabels.NEXT)}}function y2(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div")(1,"form",81,82)(3,"div",6)(4,"div",7),e.SDv(5,83),e.qZA(),e.TgZ(6,"div",9)(7,"div",15)(8,"label",84),e.tHW(9,85),e._UZ(10,"cd-helper",86),e.N_p(),e.qZA(),e.TgZ(11,"div",24),e._UZ(12,"input",87),e.qZA()(),e.TgZ(13,"div",15)(14,"label",88),e.tHW(15,89),e.TgZ(16,"cd-helper",90),e._UZ(17,"em"),e.qZA(),e.N_p(),e.qZA(),e.TgZ(18,"div",24),e._UZ(19,"textarea",91),e.qZA()(),e.TgZ(20,"div",15)(21,"div",92)(22,"div",93),e._UZ(23,"cd-download-button",94)(24,"cd-copy-2-clipboard-button",95),e.qZA()()(),e.TgZ(25,"div",15)(26,"div",92)(27,"div",25),e._UZ(28,"input",96),e.TgZ(29,"label",97),e.tHW(30,98),e._UZ(31,"a",99),e.N_p(),e.qZA()()()()(),e.TgZ(32,"div",64)(33,"div",65)(34,"cd-form-button-panel",100),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.onSubmit())})("backActionEvent",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.back())}),e.qZA()()()()()()}if(2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("formGroup",n.previewForm),e.xp6(4),e.pQV(n.step),e.QtT(5),e.xp6(18),e.Q6J("objectItem",n.report),e.xp6(11),e.Q6J("form",n.previewForm)("submitText",n.actionLabels.UPDATE)("cancelText",n.actionLabels.BACK)}}function E2(t,i){if(1&t&&(e.TgZ(0,"div",1),e.ynx(1,2),e.YNc(2,v2,129,8,"div",3),e.YNc(3,y2,35,6,"div",3),e.BQk(),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngSwitch",n.step),e.xp6(1),e.Q6J("ngSwitchCase",1),e.xp6(1),e.Q6J("ngSwitchCase",2)}}let S2=(()=>{class t extends de.E{constructor(n,s,l,_,g,M,x){super(),this.actionLabels=n,this.formBuilder=s,this.mgrModuleService=l,this.notificationService=_,this.router=g,this.telemetryService=M,this.telemetryNotificationService=x,this.licenseAgrmt=!1,this.options={},this.newConfig={},this.configResp={},this.requiredFields=["channel_basic","channel_crash","channel_device","channel_ident","channel_perf","interval","proxy","contact","description","organization"],this.contactInfofields=["contact","description","organization"],this.report=void 0,this.reportId=void 0,this.sendToUrl="",this.sendToDeviceUrl="",this.step=1}ngOnInit(){const n=[this.mgrModuleService.getOptions("telemetry"),this.mgrModuleService.getConfig("telemetry")];(0,Wa.D)(n).subscribe(s=>{const l=s[1];this.moduleEnabled=l.enabled,this.sendToUrl=l.url,this.sendToDeviceUrl=l.device_url,this.showContactInfo=l.channel_ident,this.options=Ke().pick(s[0],this.requiredFields),this.configResp=Ke().pick(l,this.requiredFields),this.createConfigForm(),this.configForm.setValue(this.configResp),this.loadingReady()},s=>{this.loadingError()})}createConfigForm(){const n={};Ke().forEach(Object.values(this.options),s=>{n[s.name]=[s.default_value,this.getValidators(s)]}),this.configForm=this.formBuilder.group(n)}replacer(n,s){if(("ranges"===n||"values"===n)&&Array.isArray(s)){const l=[];for(let _=0;_<s.length;_++)l.push(JSON.stringify(s[_]));return l}return s}replacerTest(n){return JSON.stringify(n,this.replacer,2)}formatReport(){let n={};n=JSON.parse(JSON.stringify(this.report));const s=["perf_counters","stats_per_pool","stats_per_pg","io_rate","osd_perf_histograms","mempool","heap_stats","rocksdb_stats"];for(let l=0;l<s.length;l++){const _=s[l];_ in n.report&&delete n.report[_]}return JSON.stringify(n,null,2)}formatReportTest(n){let s={};s=JSON.parse(JSON.stringify(n));const l=["perf_counters","stats_per_pool","stats_per_pg","io_rate","osd_perf_histograms","mempool","heap_stats","rocksdb_stats"];for(let _=0;_<l.length;_++){const g=l[_];g in s&&delete s[g]}return JSON.stringify(s,null,2)}createPreviewForm(){const n={report:this.formatReport(),reportId:this.reportId,licenseAgrmt:[this.licenseAgrmt,se.kI.requiredTrue]};this.previewForm=this.formBuilder.group(n)}getValidators(n){const s=[];switch(n.type){case"int":s.push(se.kI.required);break;case"str":Ke().isNumber(n.min)&&s.push(se.kI.minLength(n.min)),Ke().isNumber(n.max)&&s.push(se.kI.maxLength(n.max))}return s}updateReportFromConfig(n={}){const s=this.report.report.channels_available,l=[];for(const _ of s)n[`channel_${_}`]&&l.push(_);this.report.report.channels=l;for(const _ of this.contactInfofields)this.report.report[_]=n[_]}getReport(){this.loadingStart(),this.telemetryService.getReport().subscribe(n=>{this.report=n,this.reportId=n.report.report_id,this.updateReportFromConfig(this.newConfig),this.createPreviewForm(),this.loadingReady(),this.step++},n=>{this.loadingError()})}toggleIdent(){this.showContactInfo=!this.showContactInfo}buildReport(){this.newConfig={};for(const n of Object.values(this.options)){const s=this.configForm.get(n.name);if(!s.valid)return void this.configForm.setErrors({cdSubmitButton:!0});this.newConfig[n.name]=s.value}if(!this.newConfig.channel_ident)for(const n of this.contactInfofields)this.newConfig[n]="";this.getReport()}disableModule(n=null,s=null){this.telemetryService.enable(!1).subscribe(()=>{this.telemetryNotificationService.setVisibility(!0),n&&this.notificationService.show(ua.k.success,n),s?s():this.router.navigate([""])})}next(){this.buildReport()}back(){this.step--}getChangedConfig(){const n={};return Ke().forEach(this.requiredFields,s=>{Ke().isEqual(this.configResp[s],this.newConfig[s])||(n[s]=this.newConfig[s])}),n}onSubmit(){const n=this.getChangedConfig(),s=[this.telemetryService.enable(),this.mgrModuleService.updateConfig("telemetry",n)];(0,Wa.D)(s).subscribe(()=>{this.telemetryNotificationService.setVisibility(!1),this.notificationService.show(ua.k.success,"The Telemetry module has been configured and activated successfully.")},()=>{this.telemetryNotificationService.setVisibility(!1),this.notificationService.show(ua.k.error,"An Error occurred while updating the Telemetry module configuration. Please Try again"),this.previewForm.setErrors({cdSubmitButton:!0})},()=>{this.newConfig={},this.router.navigate([""])})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Dr.p4),e.Y36(Xd.O),e.Y36(Wd.N),e.Y36(Le.g),e.Y36(Ce.F0),e.Y36(fE),e.Y36(Z0))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-telemetry"]],features:[e.qOj],decls:1,vars:1,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He,Pe,W,It,Pt,Jt,dn,Un,ln,Xn,jn,Wr,Ur,di,Mi,Gn,pr,fr,Mr,Jn,ci,ho,Yi,lo,yi,qn,In,Ti,Ji;return i="Step " + "\ufffd0\ufffd" + " of 2: Telemetry report configuration",n="The telemetry module sends anonymous data about this Ceph cluster back to the Ceph developers to help understand how Ceph is used and what problems users may be experiencing." + "[\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#11\ufffd\ufffd/#11\ufffd|\ufffd#12\ufffd\ufffd/#12\ufffd]" + " This data is visualized on " + "\ufffd#10\ufffd" + "public dashboards" + "\ufffd/#10\ufffd" + " that allow the community to quickly see summary statistics on how many clusters are reporting, their total capacity and OSD count, and version distribution trends." + "[\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#11\ufffd\ufffd/#11\ufffd|\ufffd#12\ufffd\ufffd/#12\ufffd]" + "" + "[\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#11\ufffd\ufffd/#11\ufffd|\ufffd#12\ufffd\ufffd/#12\ufffd]" + " The data being reported does " + "\ufffd#13\ufffd" + "not" + "\ufffd/#13\ufffd" + " contain any sensitive data like pool names, object names, object contents, hostnames, or device serial numbers. It contains counters and statistics on how the cluster has been deployed, the version of Ceph, the distribution of the hosts and other parameters which help the project to gain a better understanding of the way Ceph is used. The data is sent secured to " + "\ufffd0\ufffd" + " and " + "\ufffd1\ufffd" + " (device report).",n=e.Zx4(n),s="Channels",l="The telemetry report is broken down into several \"channels\", each with a different type of information that can be configured below.",_="Basic",g="Includes basic information about the cluster:",M="Capacity of the cluster",x="Number of monitors, managers, OSDs, MDSs, object gateways, or other daemons",Y="Software version currently being used",K="Number and types of RADOS pools and CephFS file systems",le="Names of configuration options that have been changed from their default (but not their values)",fe="Crash",ge="Includes information about daemon crashes:",Se="Type of daemon",Ge="Version of the daemon",we="Operating system (OS distribution, kernel version)",He="Stack trace identifying where in the Ceph code the crash occurred",Pe="Device",W="Includes information about device metrics like anonymized SMART metrics.",It="Ident",Pt="Includes user-provided identifying information about the cluster:",Jt="Perf",dn="Includes various performance metrics of a cluster.",Un="Advanced Settings",ln="Interval",Xn="The module compiles and sends a new report every 24 hours by default. You can adjust this interval by setting a different number of hours.",jn="Proxy",Wr="If the cluster cannot directly connect to the configured telemetry endpoint (default telemetry.ceph.com), you can configure a HTTP/HTTPS proxy server by e.g. adding https://10.0.0.1:8080",Ur="You can also include a user:pass if needed e.g. https://ceph:telemetry@10.0.0.1:8080",di="" + "\ufffd#123\ufffd" + "Note:" + "\ufffd/#123\ufffd" + " By clicking 'Next' you will first see a preview of the report content before you can activate the automatic submission of your data.",Mi="Deactivate",Gn="Contact Information",pr="Submitting any contact information is completely optional and disabled by default.",fr="Contact",Mr="Description",Jn="My first Ceph cluster",ci="Organization",ho="Organization name",Yi="The entered value is too low! It must be greater or equal to 8.",lo="Step " + "\ufffd0\ufffd" + " of 2: Telemetry report preview",yi="A randomized UUID to identify a particular cluster over the course of several telemetry reports.",qn="Report ID " + "\ufffd#10\ufffd" + "" + "\ufffd/#10\ufffd" + "",In="The actual telemetry data that will be submitted.",Ti="Report preview " + "\ufffd#16\ufffd" + "" + "\ufffd#17\ufffd" + "Note: Please select 'Download' to view the full report, including metrics from the perf channel." + "\ufffd/#17\ufffd" + "" + "\ufffd/#16\ufffd" + "",Ji="I agree to my telemetry data being submitted under the " + "\ufffd#31\ufffd" + "Community Data License Agreement - Sharing - Version 1.0" + "\ufffd/#31\ufffd" + "",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],[3,"ngSwitch"],[4,"ngSwitchCase"],["name","form","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],i,[1,"card-body"],n,["href","https://telemetry-public.ceph.com/"],[4,"ngIf"],s,l,[1,"form-group","row"],["for","channel_basic",1,"cd-col-form-label"],_,g,M,x,Y,K,le,[1,"cd-col-form-input"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","channel_basic","formControlName","channel_basic",1,"custom-control-input"],["for","channel_basic",1,"custom-control-label"],["for","channel_crash",1,"cd-col-form-label"],fe,ge,Se,Ge,we,He,["type","checkbox","id","channel_crash","formControlName","channel_crash",1,"custom-control-input"],["for","channel_crash",1,"custom-control-label"],["for","channel_device",1,"cd-col-form-label"],Pe,["html",W],["type","checkbox","id","channel_device","formControlName","channel_device",1,"custom-control-input"],["for","channel_device",1,"custom-control-label"],["for","channel_ident",1,"cd-col-form-label"],It,Pt,["type","checkbox","id","channel_ident","formControlName","channel_ident",1,"custom-control-input",3,"click"],["for","channel_ident",1,"custom-control-label"],["for","channel_perf",1,"cd-col-form-label"],Jt,dn,["type","checkbox","id","channel_perf","formControlName","channel_perf",1,"custom-control-input"],["for","channel_perf",1,"custom-control-label"],Un,["for","interval",1,"cd-col-form-label"],ln,Xn,["id","interval","type","number","formControlName","interval","min","8",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","proxy",1,"cd-col-form-label"],jn,Wr,Ur,["id","proxy","type","text","formControlName","proxy","placeholder","https://10.0.0.1:8080",1,"form-control"],di,[1,"card-footer"],[1,"button-group","text-right"],["type","button",1,"btn","btn-light",3,"click"],Mi,Gn,pr,["for","contact",1,"cd-col-form-label"],fr,["id","contact","type","text","formControlName","contact","placeholder","Example User <user@example.com>",1,"form-control"],["for","description",1,"cd-col-form-label"],Mr,["id","description","type","text","formControlName","description","placeholder",Jn,1,"form-control"],["for","organization",1,"cd-col-form-label"],ci,["id","organization","type","text","formControlName","organization","placeholder",ho,1,"form-control"],[1,"invalid-feedback"],Yi,["name","previewForm","novalidate","",3,"formGroup"],["frm","ngForm"],lo,["for","reportId",1,"cd-col-form-label"],qn,["html",yi],["type","text","id","reportId","formControlName","reportId","readonly","",1,"form-control"],["for","report",1,"cd-col-form-label"],Ti,["html",In],["id","report","formControlName","report","rows","15","readonly","",1,"form-control"],[1,"cd-col-form-offset"],["role","group",1,"btn-group"],["fileName","telemetry_report",3,"objectItem"],["source","report"],["type","checkbox","id","licenseAgrmt","name","licenseAgrmt","formControlName","licenseAgrmt",1,"custom-control-input"],["for","licenseAgrmt",1,"custom-control-label"],Ji,["href","https://cdla.io/sharing-1-0/"],[3,"form","submitText","cancelText","submitActionEvent","backActionEvent"]]},template:function(n,s){1&n&&e.YNc(0,E2,4,3,"div",0),2&n&&e.Q6J("cdFormLoading",s.loading)},dependencies:[f.O5,f.RF,f.n9,je.S,Bn.s,vS,lt.p,Vt.y,Ht.o,wn.b,ar.P,cr.V,se._Y,se.Fj,se.wV,se.Wl,se.JJ,se.JL,se.qQ,se.sg,se.u]}),t})();var U1=o(89154),z0=o(98677);function PC(t,i){if(1&t&&(e.TgZ(0,"option",7),e._uU(1),e.qZA()),2&t){const n=i.$implicit,s=e.oxw();e.Q6J("value",s.intervalList[n]),e.xp6(1),e.Oqu(n)}}let C2=(()=>{class t{constructor(n){this.refreshIntervalService=n,this.intervalList={"5 s":5e3,"10 s":1e4,"15 s":15e3,"30 s":3e4,"1 min":6e4,"3 min":18e4,"5 min":3e5},this.intervalKeys=Object.keys(this.intervalList)}ngOnInit(){this.selectedInterval=this.refreshIntervalService.getRefreshInterval()||5e3}changeRefreshInterval(n){this.refreshIntervalService.setRefreshInterval(n)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(z0.s))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-refresh-selector"]],decls:8,vars:2,consts:function(){let i;return i="Refresh",[[1,"container-fluid"],[1,"row"],[1,"col-sm-1","d-flex","float-end"],["for","refreshInterval",1,"col-form-label","my-0","mx-2","float-end"],i,["id","refreshInterval","name","refreshInterval",1,"form-select","float-end",3,"ngModel","change","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]]},template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"form")(3,"div",2)(4,"label",3),e.SDv(5,4),e.qZA(),e.TgZ(6,"select",5),e.NdJ("change",function(_){return s.changeRefreshInterval(_.target.value)})("ngModelChange",function(_){return s.selectedInterval=_}),e.YNc(7,PC,2,2,"option",6),e.qZA()()()()()),2&n&&(e.xp6(6),e.Q6J("ngModel",s.selectedInterval),e.xp6(1),e.Q6J("ngForOf",s.intervalKeys))},dependencies:[f.sg,se._Y,se.YN,se.Kr,se.EJ,se.JJ,se.JL,se.On,se.F,Ht.o]}),t})();var T2=o(4167),zm=o(74255),b2=o(43892),xC=o(9219),wC=o(17401),Wv=o(85770),pE=o(75875),gg=o(99475);let NC=(()=>{class t{constructor(n,s){this.cssHelper=n,this.dimlessBinary=s,this.doughnutChartPlugins=[{id:"center_text",beforeDraw(l){const _=new gg.P,g="Helvetica Neue, Helvetica, Arial, sans-serif";pE.d.font.family=g;const M=l.ctx;if(!l.options.plugins.center_text||!l.data.datasets[0].label)return;M.save();const x=l.data.datasets[0].label[0].split("\n"),Y=(l.chartArea.left+l.chartArea.right)/2,K=(l.chartArea.top+l.chartArea.bottom)/2;M.textAlign="center",M.textBaseline="middle",M.font=`24px ${g}`,M.fillText(x[0],Y,K-10),x.length>1&&(M.font=`14px ${g}`,M.fillStyle=_.propertyValue("chart-color-center-text-description"),M.fillText(x[1],Y,K+10)),M.restore()}}],this.chartConfig={chartType:"doughnut",labels:[],dataset:[{label:null,backgroundColor:[this.cssHelper.propertyValue("chart-color-light-gray"),this.cssHelper.propertyValue("chart-color-slight-dark-gray"),this.cssHelper.propertyValue("chart-color-dark-gray")]},{label:null,borderWidth:0,backgroundColor:[this.cssHelper.propertyValue("chart-color-blue"),this.cssHelper.propertyValue("chart-color-white")]}],options:{cutout:"70%",events:["click","mouseout","touchstart"],aspectRatio:2,plugins:{center_text:!0,legend:{display:!0,position:"right",labels:{boxWidth:10,usePointStyle:!1,generateLabels:l=>{let _=l.data.labels.slice(0,this.chartConfig.labels.length);return _[0]={text:"Used: " + l.data.datasets[1].data[2] + "",fillStyle:l.data.datasets[1].backgroundColor[0],strokeStyle:l.data.datasets[1].backgroundColor[0]},l.data.datasets[0].data?.length&&(_[1]={text:"Warning: " + l.data.datasets[0].data[0] + "%",fillStyle:l.data.datasets[0].backgroundColor[1],strokeStyle:l.data.datasets[0].backgroundColor[1]},_[2]={text:"Danger: " + (l.data.datasets[0].data[0] + l.data.datasets[0].data[1]) + "%",fillStyle:l.data.datasets[0].backgroundColor[2],strokeStyle:l.data.datasets[0].backgroundColor[2]}),_}}},tooltip:{enabled:!0,displayColors:!1,backgroundColor:this.cssHelper.propertyValue("chart-color-tooltip-background"),cornerRadius:0,bodyFontSize:14,bodyFontStyle:"600",position:"nearest",xPadding:12,yPadding:12,filter:l=>1===l.datasetIndex,callbacks:{label:(l,_)=>{let g=_.labels[l.index];return g.includes("%")||(g=`${g} (${_.datasets[l.datasetIndex].data[l.index]}%)`),g}}},title:{display:!1}}}}}ngOnInit(){this.prepareRawUsage(this.chartConfig,this.data)}ngOnChanges(){this.prepareRawUsage(this.chartConfig,this.data)}prepareRawUsage(n,s){const l=100*this.lowThreshold,_=100*this.highThreshold,g=this.calcPercentage(s.max-s.current,s.max),M=this.calcPercentage(s.current,s.max);this.color=_>=0&&M>=_?"chart-color-red":l>=0&&M>=l?"chart-color-yellow":"chart-color-blue",_>=0&&l>=0?n.dataset[0].data=[Math.round(l),Math.round(Math.abs(l-_)),Math.round(100-_)]:n.dataset[1].backgroundColor[1]=this.cssHelper.propertyValue("chart-color-light-gray"),n.dataset[1].data=[M,g,this.dimlessBinary.transform(s.current)],n.dataset[1].backgroundColor[0]=this.cssHelper.propertyValue(this.color),n.dataset[0].label=[`${M}%\nof ${this.dimlessBinary.transform(s.max)}`]}calcPercentage(n,s){return Ke().isNumber(n)&&Ke().isNumber(s)&&0!==s?Math.ceil(n/s*100*100)/100:0}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(gg.P),e.Y36(xa.$))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-dashboard-pie"]],inputs:{data:"data",highThreshold:"highThreshold",lowThreshold:"lowThreshold"},features:[e.TTD],decls:6,vars:5,consts:[[1,"chart-container","d-flex","align-items-center","justify-content-center"],["baseChart","",1,"chart-canvas",3,"datasets","type","options","labels","plugins"],["chartCanvas",""],[1,"chartjs-tooltip"],["chartTooltip",""]],template:function(n,s){1&n&&(e.TgZ(0,"div",0),e._UZ(1,"canvas",1,2),e.TgZ(3,"div",3,4),e._UZ(5,"table"),e.qZA()()),2&n&&(e.xp6(1),e.Q6J("datasets",s.chartConfig.dataset)("type",s.chartConfig.chartType)("options",s.chartConfig.options)("labels",s.chartConfig.labels)("plugins",s.doughnutChartPlugins))},dependencies:[ju.jh],styles:['.chart-container[_ngcontent-%COMP%]{cursor:pointer;margin:auto;overflow:visible;position:absolute}canvas[_ngcontent-%COMP%]{user-select:none}.chartjs-tooltip[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%);transition:all .1s ease}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]{transform:translate(-10%)}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]:after{left:10%}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]{transform:translate(-90%)}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]:after{left:90%}.chartjs-tooltip[_ngcontent-%COMP%]:after{border-color:#000 transparent transparent transparent;border-style:solid;border-width:5px;content:" ";left:50%;margin-left:-5px;position:absolute;top:100%} .chartjs-tooltip-key{display:inline-block;height:10px;margin-right:10px;width:10px}.chart-container[_ngcontent-%COMP%]{height:100%;margin-left:auto;margin-right:auto;position:unset;width:100%}.chart-canvas[_ngcontent-%COMP%]{height:100%;margin-left:auto;margin-right:auto;max-height:100%;max-width:100%;position:unset;width:100%}']}),t})();var IC=o(9024),M2=o(54740),Xg=(()=>{return(t=Xg||(Xg={})).HEALTH_ERR="health-color-error",t.HEALTH_WARN="health-color-warning",t.HEALTH_OK="health-color-healthy",Xg;var t})();let V0=(()=>{class t{constructor(n){this.cssHelper=n}transform(n){return Object.keys(Xg).includes(n)?{color:this.cssHelper.propertyValue(Xg[n])}:null}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(gg.P,16))},t.\u0275pipe=e.Yjl({name:"healthColor",type:t,pure:!0}),t})();var O2=o(9228),B1=o(40473),FC=o(8074),LC=o(67891),_E=o(20687);let kC=(()=>{class t{constructor(n){this.pgCategoryService=n}transform(n){const s={};let l=0;return Ke().forEach(n.statuses,(_,g)=>{const M=this.pgCategoryService.getTypeByStates(g);Ke().isUndefined(s[M])&&(s[M]=0),s[M]+=_,l+=_}),{categoryPgAmount:s,total:l}}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(_E.j,16))},t.\u0275pipe=e.Yjl({name:"pgSummary",type:t,pure:!0}),t})();function $C(t,i){if(1&t&&e._UZ(0,"cd-card-row",47),2&t){const n=e.oxw(2);e.Q6J("data",n.healthData.hosts)}}function HC(t,i){if(1&t&&e._UZ(0,"cd-card-row",48),2&t){const n=e.oxw(2);e.Q6J("data",n.healthData.mon_status.monmap.mons.length)}}function A2(t,i){if(1&t&&(e._UZ(0,"cd-card-row",49),e.ALo(1,"mgrSummary")),2&t){const n=e.oxw(2);e.Q6J("data",e.lcZ(1,1,n.healthData.mgr_map))}}function lR(t,i){if(1&t&&(e._UZ(0,"cd-card-row",50),e.ALo(1,"osdSummary")),2&t){const n=e.oxw(2);e.Q6J("data",e.lcZ(1,1,n.healthData.osd_map))}}function UC(t,i){if(1&t&&e._UZ(0,"cd-card-row",51),2&t){const n=e.oxw(2);e.Q6J("data",n.healthData.pools.length)}}function BC(t,i){if(1&t&&(e._UZ(0,"cd-card-row",52),e.ALo(1,"pgSummary")),2&t){const n=e.oxw(2);e.Q6J("data",e.lcZ(1,1,n.healthData.pg_info))}}function GC(t,i){if(1&t&&e._UZ(0,"cd-card-row",53),2&t){const n=e.oxw(2);e.Q6J("data",n.healthData.rgw)}}function D2(t,i){if(1&t&&(e._UZ(0,"cd-card-row",54),e.ALo(1,"mdsSummary")),2&t){const n=e.oxw(2);e.Q6J("data",e.lcZ(1,1,n.healthData.fs_map))}}function R2(t,i){if(1&t&&e._UZ(0,"cd-card-row",55),2&t){const n=e.oxw(2);e.Q6J("data",n.healthData.iscsi_daemons)}}function Jv(t,i){1&t&&(e.TgZ(0,"div",56)(1,"a",57),e.SDv(2,58),e.qZA()())}function P2(t,i){1&t&&e.GkF(0)}function hE(t,i){if(1&t&&(e.TgZ(0,"li")(1,"span",61),e.ALo(2,"healthColor"),e._uU(3),e.qZA(),e._uU(4),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.ekj("health-warn-description","HEALTH_WARN"===n.severity),e.Q6J("ngStyle",e.lcZ(2,5,n.severity)),e.xp6(2),e.hij(" ",n.type,""),e.xp6(1),e.hij(": ",n.summary.message," ")}}function Mm(t,i){if(1&t&&(e.YNc(0,P2,1,0,"ng-container",59),e.TgZ(1,"ul"),e.YNc(2,hE,5,7,"li",60),e.qZA()),2&t){const n=e.oxw(2),s=e.MAs(5);e.Q6J("ngTemplateOutlet",s),e.xp6(2),e.Q6J("ngForOf",n.healthData.health.checks)}}const Qv=function(t,i){return[t,i]};function mE(t,i){if(1&t&&(e._UZ(0,"i",62),e.ALo(1,"healthIcon"),e.ALo(2,"healthColor")),2&t){const n=e.oxw(2);e.Q6J("ngClass",e.WLB(7,Qv,e.lcZ(1,3,n.healthData.health.status),n.icons.large2x))("ngStyle",e.lcZ(2,5,n.healthData.health.status))("title",n.healthData.health.status)}}function Kv(t,i){if(1&t&&(e.TgZ(0,"a",63),e.SDv(1,64),e.qZA()),2&t){e.oxw();const n=e.MAs(49);e.Q6J("ngbPopover",n)("openDelay",300)("closeDelay",500)}}function x2(t,i){1&t&&(e.TgZ(0,"span",65),e.SDv(1,66),e.qZA())}const YC=function(t){return{active:t}},G1=function(t){return[t]};function W0(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",77),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.toggleAlertsWindow("critical"))}),e._UZ(1,"i",78),e.TgZ(2,"span"),e._uU(3),e.qZA()()}if(2&t){const n=e.oxw(3);e.Q6J("ngClass",e.VKq(3,YC,"critical"===n.alertType)),e.xp6(1),e.Q6J("ngClass",e.VKq(5,G1,n.icons.danger)),e.xp6(2),e.Oqu(n.prometheusAlertService.activeCriticalAlerts)}}function J0(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",79),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.toggleAlertsWindow("warning"))}),e._UZ(1,"i",78),e.TgZ(2,"span"),e._uU(3),e.qZA()()}if(2&t){const n=e.oxw(3);e.Q6J("ngClass",e.VKq(3,YC,"warning"===n.alertType)),e.xp6(1),e.Q6J("ngClass",e.VKq(5,G1,n.icons.infoCircle)),e.xp6(2),e.Oqu(n.prometheusAlertService.activeWarningAlerts)}}function w2(t,i){1&t&&e.GkF(0)}function N2(t,i){if(1&t&&(e.TgZ(0,"section",67)(1,"div",68)(2,"span",69),e.SDv(3,70),e.qZA(),e.YNc(4,W0,4,7,"button",71),e.YNc(5,J0,4,7,"button",72),e.qZA(),e.TgZ(6,"div",73),e._UZ(7,"hr",74),e.TgZ(8,"ngx-simplebar",75)(9,"div",76),e.YNc(10,w2,1,0,"ng-container",59),e.qZA()()()()),2&t){const n=e.oxw(2),s=e.MAs(3);e.xp6(4),e.Q6J("ngIf",null==n.prometheusAlertService?null:n.prometheusAlertService.activeCriticalAlerts),e.xp6(1),e.Q6J("ngIf",null==n.prometheusAlertService?null:n.prometheusAlertService.activeWarningAlerts),e.xp6(3),e.Q6J("options",n.simplebar),e.xp6(2),e.Q6J("ngTemplateOutlet",s)}}const jC=function(t,i){return{max:t,current:i}};function ZC(t,i){if(1&t&&(e.ynx(0,7),e._UZ(1,"cd-dashboard-pie",80),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("data",e.WLB(3,jC,n.capacity.total_bytes,n.capacity.total_used_raw_bytes))("lowThreshold",n.osdSettings.nearfull_ratio)("highThreshold",n.osdSettings.full_ratio)}}const gE=function(){return["Used Capacity"]};function zC(t,i){if(1&t&&(e.ynx(0),e._UZ(1,"cd-dashboard-area-chart",81),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("maxValue",n.capacity.total_bytes)("labelsArray",e.DdM(3,gE))("dataArray",e.VKq(4,G1,n.queriesResults.USEDCAPACITY))}}const Q0=function(){return["Reads","Writes"]},vE=function(){return["Apply","Commit"]},VC=function(){return["Recovery Throughput"]};function yE(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",3)(1,"div",4)(2,"div",5)(3,"cd-card",6)(4,"dl",7)(5,"dt"),e._uU(6,"Cluster ID"),e.qZA(),e.TgZ(7,"dd"),e._uU(8),e.qZA(),e.TgZ(9,"dt"),e._uU(10,"Orchestrator"),e.qZA(),e.TgZ(11,"dd"),e.SDv(12,8),e.qZA(),e.TgZ(13,"dt"),e._uU(14,"Ceph version"),e.qZA(),e.TgZ(15,"dd"),e._uU(16),e.qZA(),e.TgZ(17,"dt"),e._uU(18,"Cluster API"),e.qZA(),e.TgZ(19,"dd")(20,"a",9),e._uU(21),e._UZ(22,"i",10),e.qZA()(),e.ynx(23),e.TgZ(24,"dt"),e._uU(25,"Telemetry Dashboard "),e.TgZ(26,"span",11),e._uU(27),e.qZA()(),e.TgZ(28,"dd")(29,"a",12),e._uU(30),e._UZ(31,"i",10),e.qZA()(),e.BQk(),e.qZA()(),e.TgZ(32,"cd-card",13),e.YNc(33,$C,1,1,"cd-card-row",14),e.YNc(34,HC,1,1,"cd-card-row",15),e.YNc(35,A2,2,3,"cd-card-row",16),e.YNc(36,lR,2,3,"cd-card-row",17),e.YNc(37,UC,1,1,"cd-card-row",18),e.YNc(38,BC,2,3,"cd-card-row",19),e.YNc(39,GC,1,1,"cd-card-row",20),e.YNc(40,D2,2,3,"cd-card-row",21),e.YNc(41,R2,1,1,"cd-card-row",22),e.qZA()(),e.TgZ(42,"div",23)(43,"div",24)(44,"div",25)(45,"cd-card",26),e.YNc(46,Jv,3,0,"div",27),e.TgZ(47,"div",28),e.YNc(48,Mm,3,2,"ng-template",null,29,e.W1O),e.TgZ(50,"div",30),e.YNc(51,mE,3,10,"i",31),e.YNc(52,Kv,2,3,"a",32),e.YNc(53,x2,2,0,"span",33),e.qZA()(),e.YNc(54,N2,11,4,"section",34),e.qZA()(),e.TgZ(55,"div",35)(56,"cd-card",36),e.YNc(57,ZC,2,6,"ng-container",37),e.qZA()(),e.TgZ(58,"div",38)(59,"cd-card",39)(60,"div",40)(61,"cd-dashboard-time-selector",41),e.NdJ("selectedTime",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.getPrometheusData(l))}),e.qZA(),e.YNc(62,zC,2,6,"ng-container",42),e._UZ(63,"cd-dashboard-area-chart",43)(64,"cd-dashboard-area-chart",44)(65,"cd-dashboard-area-chart",45)(66,"cd-dashboard-area-chart",46),e.qZA()()()()()()()}if(2&t){const n=i.ngIf,s=e.oxw();e.xp6(8),e.Oqu(s.detailsCardData.fsid),e.xp6(4),e.pQV(s.detailsCardData.orchestrator||"Orchestrator is not available"),e.QtT(12),e.xp6(4),e.Oqu(s.detailsCardData.cephVersion),e.xp6(5),e.hij(" ",s.origin,"/api-docs "),e.xp6(5),e.Q6J("ngClass",s.telemetryEnabled?"badge-success":"badge-secondary")("ngbTooltip",s.getTelemetryText()),e.xp6(1),e.hij(" ",s.telemetryEnabled?"Active":"Inactive"," "),e.xp6(2),e.Q6J("href",s.telemetryURL,e.LSH),e.xp6(1),e.hij(" ",s.telemetryURL," "),e.xp6(3),e.Q6J("ngIf",null!=s.healthData.hosts),e.xp6(1),e.Q6J("ngIf",s.healthData.mon_status),e.xp6(1),e.Q6J("ngIf",s.healthData.mgr_map),e.xp6(1),e.Q6J("ngIf",s.healthData.osd_map),e.xp6(1),e.Q6J("ngIf",s.healthData.pools),e.xp6(1),e.Q6J("ngIf",s.healthData.pg_info),e.xp6(1),e.Q6J("ngIf",n.rgw&&s.healthData.rgw||0===s.healthData.rgw),e.xp6(1),e.Q6J("ngIf",n.cephfs&&s.healthData.fs_map),e.xp6(1),e.Q6J("ngIf",n.iscsi&&s.healthData.iscsi_daemons),e.xp6(4),e.Q6J("alignItemsCenter",!0)("cardFooter",s.isAlertmanagerConfigured&&s.prometheusAlertService.alerts.length)("fullHeight",!0),e.xp6(1),e.Q6J("ngIf",s.prometheusAlertService.alerts.length),e.xp6(5),e.Q6J("ngIf",null==s.healthData.health?null:s.healthData.health.status),e.xp6(1),e.Q6J("ngIf",null==s.healthData.health||null==s.healthData.health.checks?null:s.healthData.health.checks.length),e.xp6(1),e.Q6J("ngIf",!(null!=s.healthData.health&&null!=s.healthData.health.checks&&s.healthData.health.checks.length)),e.xp6(1),e.Q6J("ngIf",s.isAlertmanagerConfigured&&s.prometheusAlertService.alerts.length),e.xp6(2),e.Q6J("fullHeight",!0),e.xp6(1),e.Q6J("ngIf",s.capacity&&s.osdSettings),e.xp6(5),e.Q6J("ngIf",s.capacity),e.xp6(1),e.Q6J("labelsArray",e.DdM(37,Q0))("dataArray",e.WLB(38,Qv,s.queriesResults.READIOPS,s.queriesResults.WRITEIOPS)),e.xp6(1),e.Q6J("labelsArray",e.DdM(41,vE))("dataArray",e.WLB(42,Qv,s.queriesResults.READLATENCY,s.queriesResults.WRITELATENCY)),e.xp6(1),e.Q6J("labelsArray",e.DdM(45,Q0))("dataArray",e.WLB(46,Qv,s.queriesResults.READCLIENTTHROUGHPUT,s.queriesResults.WRITECLIENTTHROUGHPUT)),e.xp6(1),e.Q6J("labelsArray",e.DdM(49,VC))("dataArray",e.VKq(50,G1,s.queriesResults.RECOVERYBYTES))}}const K0=function(t,i,n){return[t,i,n]};function I2(t,i){if(1&t&&(e.TgZ(0,"div",78)(1,"div",84)(2,"div",85)(3,"div",86)(4,"span",78),e._UZ(5,"i",78)(6,"i",78),e.qZA()(),e.TgZ(7,"div",87)(8,"div",88)(9,"h6",89),e._uU(10),e.qZA(),e._UZ(11,"p",90),e.TgZ(12,"p",91)(13,"small",92),e.SDv(14,93),e.ALo(15,"cdDate"),e.ALo(16,"relativeDate"),e.qZA()()()()()(),e._UZ(17,"hr",94),e.qZA()),2&t){const n=e.oxw().$implicit,s=e.oxw(2);e.Q6J("ngClass",e.VKq(13,G1,"border-"+s.alertClass[n.labels.severity])),e.xp6(4),e.Q6J("ngClass",e.kEZ(15,K0,s.icons.stack,s.icons.large,"text-"+s.alertClass[n.labels.severity])),e.xp6(1),e.Q6J("ngClass",e.WLB(19,Qv,s.icons.circle,s.icons.stack2x)),e.xp6(1),e.Q6J("ngClass",e.kEZ(22,K0,s.icons.stack1x,s.icons.inverse,s.icons.warning)),e.xp6(4),e.Oqu(n.labels.alertname),e.xp6(1),e.Q6J("innerHtml",n.annotations.description,e.oJD)("ngbTooltip",n.annotations.description),e.xp6(2),e.Q6J("title",e.lcZ(15,9,n.startsAt)),e.xp6(3),e.pQV(e.lcZ(16,11,n.startsAt)),e.QtT(14)}}function F2(t,i){if(1&t&&(e.ynx(0),e.YNc(1,I2,18,26,"div",83),e.BQk()),2&t){const n=i.$implicit,s=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.labels.severity===s.alertType||!s.alertType)}}function L2(t,i){if(1&t&&e.YNc(0,F2,2,1,"ng-container",82),2&t){const n=e.oxw();e.Q6J("ngForOf",n.prometheusAlertService.alerts)("ngForTrackBy",n.trackByFn)}}function k2(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"p",95),e.tHW(2,96),e._UZ(3,"i",78)(4,"a",97),e.N_p(),e.qZA(),e.BQk()),2&t){const n=e.oxw(2);e.xp6(3),e.Q6J("ngClass",e.VKq(1,G1,n.icons.infoCircle))}}function WC(t,i){if(1&t&&e.YNc(0,k2,5,3,"ng-container",42),2&t){const n=e.oxw();e.Q6J("ngIf",n.permissions.log.read)}}let EE=(()=>{class t extends Y0{constructor(n,s,l,_,g,M,x,Y,K,le){super(x),this.summaryService=n,this.orchestratorService=s,this.osdService=l,this.authStorageService=_,this.featureToggles=g,this.healthService=M,this.prometheusService=x,this.mgrModuleService=Y,this.refreshIntervalService=K,this.prometheusAlertService=le,this.detailsCardData={},this.interval=new od.w,this.icons=ei.P,this.flexHeight=!0,this.simplebar={autoHide:!0},this.alertClass=b2.y,this.categoryPgAmount={},this.totalPgs=0,this.queriesResults={USEDCAPACITY:[],IPS:[],OPS:[],READLATENCY:[],WRITELATENCY:[],READCLIENTTHROUGHPUT:[],WRITECLIENTTHROUGHPUT:[],RECOVERYBYTES:[],READIOPS:[],WRITEIOPS:[]},this.telemetryURL="https://telemetry-public.ceph.com/",this.origin=window.location.origin,this.permissions=this.authStorageService.getPermissions(),this.enabledFeature$=this.featureToggles.get()}ngOnInit(){super.ngOnInit(),this.interval=this.refreshIntervalService.intervalData$.subscribe(()=>{this.getHealth(),this.getCapacityCardData()}),this.getPrometheusData(this.prometheusService.lastHourDateObject),this.getDetailsCardData(),this.getTelemetryReport()}getTelemetryText(){return this.telemetryEnabled?"Cluster telemetry is active":"Cluster telemetry is inactive. To Activate the Telemetry, click settings icon on top navigation bar and select Telemetry configration."}ngOnDestroy(){this.interval.unsubscribe(),this.prometheusService.unsubscribe()}getHealth(){this.healthService.getMinimalHealth().subscribe(n=>{this.healthData=n})}toggleAlertsWindow(n){this.alertType=this.alertType===n?null:n}getDetailsCardData(){this.healthService.getClusterFsid().subscribe(n=>{this.detailsCardData.fsid=n}),this.orchestratorService.getName().subscribe(n=>{this.detailsCardData.orchestrator=n}),this.summaryService.subscribe(n=>{const s=n.version.replace("ceph version ","").split(" ");this.detailsCardData.cephVersion=s[0]+" "+s.slice(2,s.length).join(" ")})}getCapacityCardData(){this.osdSettingsService=this.osdService.getOsdSettings().pipe((0,e_.q)(1)).subscribe(n=>{this.osdSettings=n}),this.capacityService=this.healthService.getClusterCapacity().subscribe(n=>{this.capacity=n})}getPrometheusData(n){this.queriesResults=this.prometheusService.getPrometheusQueriesData(n,T2.w,this.queriesResults)}getTelemetryReport(){this.mgrModuleService.getConfig("telemetry").subscribe(n=>{this.telemetryEnabled=n?.enabled})}trackByFn(n){return n}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(zm.J),e.Y36(sd),e.Y36(md),e.Y36(fa.j),e.Y36(U1.l),e.Y36(Iu.z),e.Y36(Zm.Q),e.Y36(Wd.N),e.Y36(z0.s),e.Y36(k1))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-dashboard-v3"]],features:[e.qOj],decls:6,vars:3,consts:function(){let i,n,s,l,_,g,M,x,Y;return i="" + "\ufffd0\ufffd" + "",n=" View alerts ",s="Cluster",l="Cluster",_="Alerts",g="Danger",M="Warning",x="Active since: " + "\ufffd0\ufffd" + "",Y="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " See " + "\ufffd#4\ufffd" + "Logs" + "\ufffd/#4\ufffd" + " for more details.",[["class","container-fluid p-4",4,"ngIf"],["alertsCard",""],["logsLink",""],[1,"container-fluid","p-4"],[1,"row","d-flex","flex-row","ps-3"],[1,"col-sm-3","d-flex","flex-column","ps-2"],["cardTitle","Details","aria-label","Details card",1,"details"],[1,"ms-4","me-4"],i,["routerLink","/api-docs","target","_blank"],[1,"fa","fa-external-link"],[1,"badge",3,"ngClass","ngbTooltip"],["target","_blank",3,"href"],["cardTitle","Inventory","aria-label","Inventory card",1,"pt-4"],["link","/hosts","title","Host","summaryType","simplified",3,"data",4,"ngIf"],["link","/monitor","title","Monitor","summaryType","simplified",3,"data",4,"ngIf"],["title","Manager",3,"data",4,"ngIf"],["link","/osd","title","OSD","summaryType","osd",3,"data",4,"ngIf"],["link","/pool","title","Pool","summaryType","simplified",3,"data",4,"ngIf"],["title","PG",3,"data",4,"ngIf"],["link","/rgw/daemon","title","Object Gateway","summaryType","simplified","id","rgw-item",3,"data",4,"ngIf"],["title","Metadata Server","id","mds-item",3,"data",4,"ngIf"],["link","/iscsi/daemon","title","iSCSI Gateway","summaryType","iscsi","id","iscsi-item",3,"data",4,"ngIf"],[1,"col-sm-9","ps-0"],[1,"row"],[1,"col-sm-8"],["cardTitle","Status","aria-label","Status card",1,"status",3,"alignItemsCenter","cardFooter","fullHeight"],["class","viewAlert",4,"ngIf"],[1,"d-flex","flex-column","ms-4","me-4","mt-4","mb-4"],["healthChecks",""],[1,"d-flex","flex-row"],[3,"ngClass","ngStyle","title",4,"ngIf"],["class","ms-2 mt-n1 lead text-primary","popoverClass","info-card-popover-cluster-status","triggers","mouseenter:mouseleave",3,"ngbPopover","openDelay","closeDelay",4,"ngIf"],["class","ms-2 mt-n1 lead",4,"ngIf"],["class","footer alerts",4,"ngIf"],[1,"col-sm-4","ps-0"],["cardTitle","Capacity","aria-label","Capacity card",3,"fullHeight"],["class","ms-4 me-4",4,"ngIf"],[1,"col-sm-12","d-flex","flex-column","pt-4"],["cardTitle","Cluster Utilization","aria-label","Cluster utilization card"],[1,"ms-4","me-4","mt-0"],[3,"selectedTime"],[4,"ngIf"],["chartTitle","IOPS","dataUnits","","decimals","0",3,"labelsArray","dataArray"],["chartTitle","OSD Latencies","dataUnits","ms","decimals","2",3,"labelsArray","dataArray"],["chartTitle","Client Throughput","dataUnits","B/s","decimals","2",3,"labelsArray","dataArray"],["chartTitle","Recovery Throughput","dataUnits","B/s","decimals","2",3,"labelsArray","dataArray"],["link","/hosts","title","Host","summaryType","simplified",3,"data"],["link","/monitor","title","Monitor","summaryType","simplified",3,"data"],["title","Manager",3,"data"],["link","/osd","title","OSD","summaryType","osd",3,"data"],["link","/pool","title","Pool","summaryType","simplified",3,"data"],["title","PG",3,"data"],["link","/rgw/daemon","title","Object Gateway","summaryType","simplified","id","rgw-item",3,"data"],["title","Metadata Server","id","mds-item",3,"data"],["link","/iscsi/daemon","title","iSCSI Gateway","summaryType","iscsi","id","iscsi-item",3,"data"],[1,"viewAlert"],["href","#/monitoring/active-alerts"],n,[4,"ngTemplateOutlet"],[4,"ngFor","ngForOf"],[3,"ngStyle"],[3,"ngClass","ngStyle","title"],["popoverClass","info-card-popover-cluster-status","triggers","mouseenter:mouseleave",1,"ms-2","mt-n1","lead","text-primary",3,"ngbPopover","openDelay","closeDelay"],s,[1,"ms-2","mt-n1","lead"],l,[1,"footer","alerts"],[1,"d-flex","flex-wrap","ms-4","me-4","mb-3","mt-3"],[1,"pt-2"],_,["class","btn btn-outline-danger rounded-pill ms-2","title",g,"id","dangerAlerts",3,"ngClass","click",4,"ngIf"],["class","btn btn-outline-warning rounded-pill ms-2","title",M,"id","warningAlerts",3,"ngClass","click",4,"ngIf"],[1,"alerts-section","pt-0"],[1,"mt-1","mb-0"],[3,"options"],[1,"card-body","p-0"],["title",g,"id","dangerAlerts",1,"btn","btn-outline-danger","rounded-pill","ms-2",3,"ngClass","click"],[3,"ngClass"],["title",M,"id","warningAlerts",1,"btn","btn-outline-warning","rounded-pill","ms-2",3,"ngClass","click"],[3,"data","lowThreshold","highThreshold"],["chartTitle","Used Capacity (RAW)","dataUnits","B",3,"maxValue","labelsArray","dataArray"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngClass",4,"ngIf"],[1,"card","tc_alerts","border-0","pt-3"],[1,"row","no-gutters","ps-2"],[1,"col-sm-1","text-center"],[1,"col-md-11","ps-0"],[1,"card-body","ps-0","pe-1","pb-1","pt-0"],[1,"card-title","bold"],[1,"card-text","me-3","mb-0","text-truncate",3,"innerHtml","ngbTooltip"],[1,"card-text","text-muted","me-3"],[1,"date",3,"title"],x,[1,"mt-0","mb-0"],[1,"logs-link"],Y,["routerLink","/logs"]]},template:function(n,s){1&n&&(e.YNc(0,yE,67,52,"div",0),e.ALo(1,"async"),e.YNc(2,L2,1,2,"ng-template",null,1,e.W1O),e.YNc(4,WC,1,1,"ng-template",null,2,e.W1O)),2&n&&e.Q6J("ngIf",e.lcZ(1,1,s.healthData&&s.enabledFeature$))},dependencies:[f.mk,f.sg,f.O5,f.tP,f.PC,xC.A,wC.e,Ht.o,Ce.rH,Be.o8,Be._L,Wv.M,NC,IC.S,M2.M,f.Ov,V0,$p.h,pu.N,O2.v,B1.c,FC.F,LC.H,kC],styles:[".details[_ngcontent-%COMP%]{font-size:larger}.details[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{margin-bottom:.3rem}.details[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{margin-bottom:.8rem}.status[_ngcontent-%COMP%] .viewAlert[_ngcontent-%COMP%]{position:absolute;right:2rem;top:2rem}.alerts[_ngcontent-%COMP%] ngx-simplebar[_ngcontent-%COMP%]{height:13.5rem;overflow-x:hidden}.alerts[_ngcontent-%COMP%] .text-truncate[_ngcontent-%COMP%]{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;white-space:normal}"]}),t})();const JC=["chartCanvas"],QC=["chartTooltip"];let KC=(()=>{class t{constructor(n,s,l){this.dimlessBinary=n,this.dimless=s,this.cssHelper=l,this.config={},this.isBytesData=!1,this.showLabelAsTooltip=!1,this.prepareFn=new e.vpe,this.doughnutChartPlugins=[{id:"center_text",beforeDraw(_){const g=new gg.P,M="Helvetica Neue, Helvetica, Arial, sans-serif";pE.d.font.family=M;const x=_.ctx;if(!_.options.plugins.center_text||!_.data.datasets[0].label)return;x.save();const Y=_.data.datasets[0].label.split("\n"),K=(_.chartArea.left+_.chartArea.right)/2,le=(_.chartArea.top+_.chartArea.bottom)/2;x.textAlign="center",x.textBaseline="middle",x.font=`24px ${M}`,x.fillStyle=g.propertyValue("chart-color-center-text"),x.fillText(Y[0],K,le-10),Y.length>1&&(x.font=`14px ${M}`,x.fillStyle=g.propertyValue("chart-color-center-text-description"),x.fillText(Y[1],K,le+10)),x.restore()}}],this.chartConfig={chartType:"doughnut",dataset:[{label:null,borderWidth:0,backgroundColor:[this.cssHelper.propertyValue("chart-color-green"),this.cssHelper.propertyValue("chart-color-yellow"),this.cssHelper.propertyValue("chart-color-orange"),this.cssHelper.propertyValue("chart-color-red"),this.cssHelper.propertyValue("chart-color-blue")]}],options:{cutout:"90%",events:["click","mouseout","touchstart"],aspectRatio:2,plugins:{center_text:!0,legend:{display:!0,position:"right",labels:{boxWidth:10,usePointStyle:!1}},tooltips:{enabled:!0,displayColors:!1,backgroundColor:this.cssHelper.propertyValue("chart-color-tooltip-background"),cornerRadius:0,bodyFontSize:14,bodyFontStyle:"600",position:"nearest",xPadding:12,yPadding:12,callbacks:{label:(_,g)=>{let M=g.labels[_.index];return M.includes("%")||(M=`${M} (${g.datasets[_.datasetIndex].data[_.index]}%)`),M}}},title:{display:!1}}}}}ngOnInit(){new Ed.h(this.chartCanvasRef,this.chartTooltipRef,(_,g)=>g+_.caretX+"px",(_,g)=>g+_.caretY-_.height-10+"px").getBody=_=>this.getChartTooltipBody(_),Ke().merge(this.chartConfig,this.config),this.prepareFn.emit([this.chartConfig,this.data])}ngOnChanges(){this.prepareFn.emit([this.chartConfig,this.data]),this.setChartSliceBorderWidth()}getChartTooltipBody(n){const s=n[0].split(": ");return this.showLabelAsTooltip?s[0]:(s[1]=this.isBytesData?this.dimlessBinary.transform(s[1]):this.dimless.transform(s[1]),s.join(": "))}setChartSliceBorderWidth(){let n=0;Ke().forEach(this.chartConfig.dataset[0].data,function(s){s>0&&(n+=1)}),this.chartConfig.dataset[0].borderWidth=n>1?1:0}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(xa.$),e.Y36(iu.n),e.Y36(gg.P))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-health-pie"]],viewQuery:function(n,s){if(1&n&&(e.Gf(JC,7),e.Gf(QC,7)),2&n){let l;e.iGM(l=e.CRH())&&(s.chartCanvasRef=l.first),e.iGM(l=e.CRH())&&(s.chartTooltipRef=l.first)}},inputs:{data:"data",config:"config",isBytesData:"isBytesData",tooltipFn:"tooltipFn",showLabelAsTooltip:"showLabelAsTooltip"},outputs:{prepareFn:"prepareFn"},features:[e.TTD],decls:5,vars:5,consts:[[1,"chart-container"],["baseChart","",1,"chart-canvas",3,"datasets","type","options","labels","plugins"],["chartCanvas",""],[1,"chartjs-tooltip"],["chartTooltip",""]],template:function(n,s){1&n&&(e.TgZ(0,"div",0),e._UZ(1,"canvas",1,2)(3,"div",3,4),e.qZA()),2&n&&(e.xp6(1),e.Q6J("datasets",s.chartConfig.dataset)("type",s.chartConfig.chartType)("options",s.chartConfig.options)("labels",s.chartConfig.labels)("plugins",s.doughnutChartPlugins))},dependencies:[ju.jh],styles:['.chart-container[_ngcontent-%COMP%]{cursor:pointer;margin:auto;overflow:visible;position:absolute}canvas[_ngcontent-%COMP%]{user-select:none}.chartjs-tooltip[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%);transition:all .1s ease}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]{transform:translate(-10%)}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]:after{left:10%}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]{transform:translate(-90%)}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]:after{left:90%}.chartjs-tooltip[_ngcontent-%COMP%]:after{border-color:#000 transparent transparent transparent;border-style:solid;border-width:5px;content:" ";left:50%;margin-left:-5px;position:absolute;top:100%} .chartjs-tooltip-key{display:inline-block;height:10px;margin-right:10px;width:10px}.chart-container[_ngcontent-%COMP%]{height:100%;margin-left:auto;margin-right:auto;position:unset;width:100%}.chart-canvas[_ngcontent-%COMP%]{height:100%;margin-left:auto;margin-right:auto;max-height:100%;max-width:100%;position:unset;width:100%}']}),t})();function XC(t,i){if(1&t&&(e.TgZ(0,"a",6),e._uU(1),e.qZA()),2&t){const n=e.oxw();e.Q6J("routerLink",n.link),e.xp6(1),e.Oqu(n.cardTitle)}}function $2(t,i){if(1&t&&e._uU(0),2&t){const n=e.oxw();e.hij(" ",n.cardTitle," ")}}const qC=["*"];let eT=(()=>{class t{constructor(){this.cardClass=""}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-info-card"]],inputs:{cardTitle:"cardTitle",link:"link",cardClass:"cardClass",contentClass:"contentClass"},ngContentSelectors:qC,decls:8,vars:4,consts:[[1,"card","shadow-sm",3,"ngClass"],[1,"card-body","d-flex","align-items-center","justify-content-center"],[1,"card-title","m-4"],[3,"routerLink",4,"ngIf","ngIfElse"],["noLinkTitle",""],[1,"card-text","text-center",3,"ngClass"],[3,"routerLink"]],template:function(n,s){if(1&n&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1)(2,"h4",2),e.YNc(3,XC,2,2,"a",3),e.YNc(4,$2,1,1,"ng-template",null,4,e.W1O),e.qZA(),e.TgZ(6,"div",5),e.Hsn(7),e.qZA()()()),2&n){const l=e.MAs(5);e.Q6J("ngClass",s.cardClass),e.xp6(3),e.Q6J("ngIf",s.link)("ngIfElse",l),e.xp6(3),e.Q6J("ngClass",s.contentClass)}},dependencies:[f.mk,f.O5,Ce.rH],styles:[".card[_ngcontent-%COMP%]{font-size:12px;border:.5px solid #dee2e6;border-radius:3px;height:100%}@media screen and (min-width: 320px){.card[_ngcontent-%COMP%]{font-size:calc(12px + 9 * ((100vw - 320px) / 1728))}}@media screen and (min-width: 2048px){.card[_ngcontent-%COMP%]{font-size:21px}}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%]{padding-top:40px!important}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{left:-.6rem;position:absolute;top:-.3rem}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#25828e}.no-center[_ngcontent-%COMP%]{left:unset;position:unset;top:unset;transform:unset}.content-highlight[_ngcontent-%COMP%]{font-weight:700}"]}),t})();const H2=["*"];let tT=(()=>{class t{constructor(){this.icons=ei.P}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-info-group"]],inputs:{groupTitle:"groupTitle"},ngContentSelectors:H2,decls:12,vars:7,consts:function(){let i,n;return i="here",n="For an overview of " + "\ufffd0\ufffd" + " widgets click " + "\ufffd#8\ufffd" + "" + "\ufffd/#8\ufffd" + "",[[1,"row"],[1,"info-group-title"],["iconClass","fa fa-info-circle fa-2xs"],[1,"text-center"],n,["docText",i,3,"section"]]},template:function(n,s){1&n&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1)(2,"span"),e._uU(3),e.qZA(),e.TgZ(4,"cd-helper",2)(5,"div",3),e.tHW(6,4),e.ALo(7,"lowercase"),e._UZ(8,"cd-doc",5),e.ALo(9,"lowercase"),e.N_p(),e.qZA()()()(),e.TgZ(10,"div",0),e.Hsn(11),e.qZA()),2&n&&(e.xp6(3),e.Oqu(s.groupTitle),e.xp6(5),e.MGl("section","dashboard-landing-page-",e.lcZ(9,5,s.groupTitle),""),e.xp6(1),e.pQV(e.lcZ(7,3,s.groupTitle)),e.QtT(6))},dependencies:[je.S,Kd.K,f.i8],styles:[".info-group-title[_ngcontent-%COMP%]{font-size:1.75rem;margin:0 0 .5vw}.popover-icon[_ngcontent-%COMP%]{color:#25828e}.popover-icon[_ngcontent-%COMP%]:focus{box-shadow:none}"]}),t})();var Y1=(()=>{return(t=Y1||(Y1={})).HEALTH_ERR="error",t.HEALTH_WARN="warning",t.HEALTH_OK="ok",Y1;var t})();let Bp=(()=>{class t{transform(n){return Object.keys(Y1).includes(n)?Y1[n]:null}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"healthLabel",type:t,pure:!0}),t})(),j1=(()=>{class t{transform(n){return n?"" + n.monmap.mons.length.toString() + " (quorum " + n.quorum.join(", ") + ")":""}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"monSummary",type:t,pure:!0}),t})(),U2=(()=>{class t{transform(n){if(!n)return"";let s=0,l=0,_=0,g=0;Ke().each(n.osds,K=>{K.in&&s++,K.up&&l++,K.state.includes("nearfull")&&_++,K.state.includes("full")&&g++});const M=[{content:`${n.osds.length} ${"total"}`,class:""}];M.push({content:"",class:"card-text-line-break"}),M.push({content:`${l} ${"up"}, ${s} ${"in"}`,class:""});const x=n.osds.length-l,Y=n.osds.length-s;if(x>0||Y>0){M.push({content:"",class:"card-text-line-break"});const K=x>0?`${x} ${"down"}`:"",fe=Y>0?`${Y} ${"out"}`:"";M.push({content:`${K}${x>0&&Y>0?", ":""}${fe}`,class:"card-text-error"})}return _>0&&M.push({content:"",class:"card-text-line-break"},{content:`${_} ${"near full"}`,class:"card-text-error"},{content:"",class:"card-text-line-break"}),g>0&&M.push({content:`${g} ${"full"}`,class:"card-text-error"}),M}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"osdSummary",type:t,pure:!0}),t})(),B2=(()=>{class t{transform(n){if(!n)return"";let s="n/a";const l=Ke().isUndefined(n.active_name)?"":`${"active daemon"}: ${n.active_name}`;l.length>0&&(s="1");const _=n.standbys.map(Y=>Y.name).join(", "),g=_?`${"standby daemons"}: ${_}`:"",M=n.standbys.length,x=[{content:`${s} ${"active"}`,class:"popover-info",titleText:l}];return x.push({content:"",class:"card-text-line-break",titleText:""}),x.push({content:`${M} ${"standby"}`,class:"popover-info",titleText:g}),x}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"mgrSummary",type:t,pure:!0}),t})(),cR=(()=>{class t{transform(n){if(!n)return"";let s="",l="",_=0,g=0,M=0;Ke().each(n.standbys,()=>{_+=1}),n.standbys&&!n.filesystems?(s=`${_} ${"up"}`,l="no filesystems"):0===n.filesystems.length?s="no filesystems":(Ke().each(n.filesystems,Ge=>{Ke().each(Ge.mdsmap.info,we=>{"up:standby-replay"===we.state?M+=1:g+=1})}),s=`${g} ${"active"}`,l=`${_+M} ${"standby"}`);const x=n.standbys.map(Ge=>Ge.name).join(", "),Y=x?`${"standby daemons"}: ${x}`:"",K=n.filesystems?n.filesystems.length:0,fe=Object.values(K>0?n.filesystems[0].mdsmap.info:{}).map(Ge=>Ge.name).join(", ");let ge=fe?`${"active daemon"}: ${fe}`:"";!g&&K>0&&(ge=`${M} ${"standbyReplay"}`);const Se=[{content:s,class:"popover-info",titleText:ge}];return l&&(Se.push({content:"",class:"card-text-line-break",titleText:""}),Se.push({content:l,class:"popover-info",titleText:Y})),Se}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"mdsSummary",type:t,pure:!0}),t})();function uR(t,i){1&t&&e.GkF(0)}function nT(t,i){if(1&t&&(e.TgZ(0,"li")(1,"span",22),e.ALo(2,"healthColor"),e._uU(3),e.qZA(),e._uU(4),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.ekj("health-warn-description","HEALTH_WARN"===n.severity),e.Q6J("ngStyle",e.lcZ(2,5,n.severity)),e.xp6(2),e.hij(" ",n.type,""),e.xp6(1),e.hij(": ",n.summary.message," ")}}function SE(t,i){if(1&t&&(e.YNc(0,uR,1,0,"ng-container",20),e.TgZ(1,"ul"),e.YNc(2,nT,5,7,"li",21),e.qZA()),2&t){e.oxw(4);const n=e.MAs(5),s=e.oxw();e.Q6J("ngTemplateOutlet",n),e.xp6(2),e.Q6J("ngForOf",s.healthData.health.checks)}}function Xv(t,i){1&t&&e._UZ(0,"i",23)}function G2(t,i){if(1&t&&(e.ynx(0),e.YNc(1,SE,3,2,"ng-template",null,17,e.W1O),e.TgZ(3,"div",18),e.ALo(4,"healthColor"),e._uU(5),e.ALo(6,"uppercase"),e.ALo(7,"healthLabel"),e.YNc(8,Xv,1,0,"i",19),e.qZA(),e.BQk()),2&t){const n=e.MAs(2),s=e.oxw(4);e.xp6(3),e.Q6J("ngStyle",e.lcZ(4,4,s.healthData.health.status))("ngbPopover",n),e.xp6(2),e.hij(" ",e.lcZ(6,6,e.lcZ(7,8,s.healthData.health.status))," "),e.xp6(3),e.Q6J("ngIf","HEALTH_OK"!==(null==s.healthData.health?null:s.healthData.health.status))}}function CE(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",22),e.ALo(2,"healthColor"),e._uU(3),e.ALo(4,"uppercase"),e.ALo(5,"healthLabel"),e.qZA(),e.BQk()),2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngStyle",e.lcZ(2,2,n.healthData.health.status)),e.xp6(2),e.hij(" ",e.lcZ(4,4,e.lcZ(5,6,n.healthData.health.status))," ")}}function Y2(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",15),e.YNc(1,G2,9,10,"ng-container",16),e.YNc(2,CE,6,8,"ng-container",16),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",(null==n.healthData.health||null==n.healthData.health.checks?null:n.healthData.health.checks.length)>0),e.xp6(1),e.Q6J("ngIf",!(null!=n.healthData.health&&null!=n.healthData.health.checks&&n.healthData.health.checks.length))}}function rT(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",n.healthData.hosts," total ")}}function j2(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",25),e._uU(1),e.ALo(2,"monSummary"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,n.healthData.mon_status)," ")}}function Z2(t,i){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("ngClass",n.class),e.xp6(1),e.hij(" ",n.content," ")}}function z2(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",26),e.YNc(1,Z2,2,2,"span",27),e.qZA()),2&t){const n=i.ngIf;e.xp6(1),e.Q6J("ngForOf",n)}}function TE(t,i){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("ngClass",n.class)("title",null!=n.titleText?n.titleText:""),e.xp6(1),e.hij(" ",n.content," ")}}function iT(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",29),e.YNc(1,TE,2,3,"span",30),e.ALo(2,"mgrSummary"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,n.healthData.mgr_map))}}function oT(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",32),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",n.healthData.rgw," total ")}}function X0(t,i){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("ngClass",n.class)("title",null!==n.titleText?n.titleText:""),e.xp6(1),e.hij(" ",n.content," ")}}function bE(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",33),e.YNc(1,X0,2,3,"span",30),e.qZA()),2&t){const n=i.ngIf;e.Q6J("contentClass",(n.length>1?"text-area-size-2":"")+" content-highlight"),e.xp6(1),e.Q6J("ngForOf",n)}}const dR=function(t){return{"card-text-error":t}};function sT(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",34),e._uU(1),e._UZ(2,"span",35),e._uU(3),e.TgZ(4,"span",28),e._uU(5),e.qZA()()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",n.healthData.iscsi_daemons.up+n.healthData.iscsi_daemons.down," total "),e.xp6(2),e.hij(" ",n.healthData.iscsi_daemons.up," up, "),e.xp6(1),e.Q6J("ngClass",e.VKq(4,dR,n.healthData.iscsi_daemons.down>0)),e.xp6(1),e.hij("",n.healthData.iscsi_daemons.down," down")}}function V2(t,i){if(1&t&&(e.TgZ(0,"cd-info-group",6),e.YNc(1,Y2,3,2,"cd-info-card",7),e.YNc(2,rT,2,1,"cd-info-card",8),e.YNc(3,j2,3,3,"cd-info-card",9),e.YNc(4,z2,2,1,"cd-info-card",10),e.ALo(5,"osdSummary"),e.YNc(6,iT,3,3,"cd-info-card",11),e.YNc(7,oT,2,1,"cd-info-card",12),e.YNc(8,bE,2,2,"cd-info-card",13),e.ALo(9,"mdsSummary"),e.YNc(10,sT,6,6,"cd-info-card",14),e.qZA()),2&t){const n=e.oxw().ngIf,s=e.oxw();e.xp6(1),e.Q6J("ngIf",null==s.healthData.health?null:s.healthData.health.status),e.xp6(1),e.Q6J("ngIf",null!=s.healthData.hosts),e.xp6(1),e.Q6J("ngIf",s.healthData.mon_status),e.xp6(1),e.Q6J("ngIf",e.lcZ(5,8,s.healthData.osd_map)),e.xp6(2),e.Q6J("ngIf",s.healthData.mgr_map),e.xp6(1),e.Q6J("ngIf",n.rgw&&null!=(null==s.healthData?null:s.healthData.rgw)),e.xp6(1),e.Q6J("ngIf",e.lcZ(9,10,n.cephfs&&s.healthData.fs_map)),e.xp6(2),e.Q6J("ngIf",n.iscsi&&null!=(null==s.healthData?null:s.healthData.iscsi_daemons))}}function aT(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-info-card",42)(1,"cd-health-pie",43),e.NdJ("prepareFn",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.prepareRawUsage(l[0],l[1]))}),e.qZA()()}if(2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("data",n.healthData)("config",n.rawCapacityChartConfig)("isBytesData",!0)}}function Z1(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-info-card",44)(1,"cd-health-pie",45),e.NdJ("prepareFn",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.prepareObjects(l[0],l[1]))}),e.qZA()()}if(2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("data",n.healthData)}}function W2(t,i){1&t&&e.GkF(0)}function lT(t,i){if(1&t&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.AsE(" ",n.key,": ",n.value," ")}}function ME(t,i){if(1&t&&(e.YNc(0,W2,1,0,"ng-container",20),e.TgZ(1,"ul"),e.YNc(2,lT,2,2,"li",21),e.ALo(3,"keyvalue"),e.qZA()),2&t){e.oxw(3);const n=e.MAs(5),s=e.oxw();e.Q6J("ngTemplateOutlet",n),e.xp6(2),e.Q6J("ngForOf",e.lcZ(3,2,s.healthData.pg_info.statuses))}}function fR(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-info-card",46),e.YNc(1,ME,4,4,"ng-template",null,47,e.W1O),e.TgZ(3,"div",48)(4,"div",49)(5,"cd-health-pie",50),e.NdJ("prepareFn",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.preparePgStatus(l[0],l[1]))}),e.qZA()()()()}if(2&t){const n=e.MAs(2),s=e.oxw(3);e.xp6(4),e.Q6J("ngbPopover",n),e.xp6(1),e.Q6J("data",s.healthData)("config",s.pgStatusChartConfig)}}function J2(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",51),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",n.healthData.pools.length," ")}}function pR(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",52),e._uU(1),e.ALo(2,"dimless"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,n.healthData.pg_info.pgs_per_osd)," ")}}function Q2(t,i){if(1&t&&(e.TgZ(0,"cd-info-group",36),e.YNc(1,aT,2,3,"cd-info-card",37),e.YNc(2,Z1,2,1,"cd-info-card",38),e.YNc(3,fR,6,3,"cd-info-card",39),e.YNc(4,J2,2,1,"cd-info-card",40),e.YNc(5,pR,3,3,"cd-info-card",41),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.healthData.df),e.xp6(1),e.Q6J("ngIf",null!=(null==n.healthData.pg_info||null==n.healthData.pg_info.object_stats?null:n.healthData.pg_info.object_stats.num_objects)),e.xp6(1),e.Q6J("ngIf",n.healthData.pg_info),e.xp6(1),e.Q6J("ngIf",n.healthData.pools),e.xp6(1),e.Q6J("ngIf",n.healthData.pg_info)}}function K2(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-info-card",58)(1,"cd-health-pie",50),e.NdJ("prepareFn",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.prepareReadWriteRatio(l[0],l[1]))}),e.qZA()()}if(2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("data",n.healthData)("config",n.clientStatsConfig)}}function X2(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-info-card",59)(1,"cd-health-pie",50),e.NdJ("prepareFn",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.prepareClientThroughput(l[0],l[1]))}),e.qZA()()}if(2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("data",n.healthData)("config",n.clientStatsConfig)}}function cT(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",60),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,n.healthData.client_perf.recovering_bytes_per_sec)+"/s"," ")}}function uT(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",61),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",n.healthData.scrub_status," ")}}function q2(t,i){if(1&t&&(e.TgZ(0,"cd-info-group",53),e.YNc(1,K2,2,2,"cd-info-card",54),e.YNc(2,X2,2,2,"cd-info-card",55),e.YNc(3,cT,3,3,"cd-info-card",56),e.YNc(4,uT,2,1,"cd-info-card",57),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.healthData.client_perf),e.xp6(1),e.Q6J("ngIf",n.healthData.client_perf),e.xp6(1),e.Q6J("ngIf",n.healthData.client_perf),e.xp6(1),e.Q6J("ngIf",n.healthData.scrub_status)}}const dT=function(t){return[t]};function fT(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"p",62),e.tHW(2,63),e._UZ(3,"i",28)(4,"a",64),e.N_p(),e.qZA(),e.BQk()),2&t){const n=e.oxw(3);e.xp6(3),e.Q6J("ngClass",e.VKq(1,dT,n.icons.infoCircle))}}function eO(t,i){if(1&t&&e.YNc(0,fT,5,3,"ng-container",16),2&t){const n=e.oxw(2);e.Q6J("ngIf",n.permissions.log.read)}}function tO(t,i){if(1&t&&(e.TgZ(0,"div",1),e.YNc(1,V2,11,12,"cd-info-group",2),e.YNc(2,Q2,6,5,"cd-info-group",3),e.YNc(3,q2,5,4,"cd-info-group",4),e.YNc(4,eO,1,1,"ng-template",null,5,e.W1O),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",(null==n.healthData.health?null:n.healthData.health.status)||n.healthData.mon_status||n.healthData.osd_map||n.healthData.mgr_map||null!=n.healthData.hosts||null!=n.healthData.rgw||n.healthData.fs_map||null!=n.healthData.iscsi_daemons),e.xp6(1),e.Q6J("ngIf",n.healthData.pools||n.healthData.df||n.healthData.pg_info),e.xp6(1),e.Q6J("ngIf",n.healthData.client_perf||n.healthData.scrub_status)}}let pT=(()=>{class t{constructor(n,s,l,_,g,M,x,Y,K){this.healthService=n,this.osdService=s,this.authStorageService=l,this.pgCategoryService=_,this.featureToggles=g,this.refreshIntervalService=M,this.dimlessBinary=x,this.dimless=Y,this.cssHelper=K,this.osdSettings=new US,this.interval=new od.w,this.icons=ei.P,this.clientStatsConfig={},this.rawCapacityChartConfig={},this.pgStatusChartConfig={options:{events:[""]}},this.permissions=this.authStorageService.getPermissions(),this.enabledFeature$=this.featureToggles.get()}ngOnInit(){this.clientStatsConfig={dataset:[{backgroundColor:[this.cssHelper.propertyValue("chart-color-cyan"),this.cssHelper.propertyValue("chart-color-purple")]}]},this.rawCapacityChartConfig={dataset:[{backgroundColor:[this.cssHelper.propertyValue("chart-color-blue"),this.cssHelper.propertyValue("chart-color-gray")]}]},this.interval=this.refreshIntervalService.intervalData$.subscribe(()=>{this.getHealth()}),this.osdService.getOsdSettings().pipe((0,e_.q)(1)).subscribe(n=>{this.osdSettings=n})}ngOnDestroy(){this.interval.unsubscribe()}getHealth(){this.healthService.getMinimalHealth().subscribe(n=>{this.healthData=n})}prepareReadWriteRatio(n){const s=[],l=[],_=this.healthData.client_perf.write_op_per_sec+this.healthData.client_perf.read_op_per_sec;s.push(`${"Reads"}: ${this.dimless.transform(this.healthData.client_perf.read_op_per_sec)} ${"/s"}`),l.push(this.calcPercentage(this.healthData.client_perf.read_op_per_sec,_)),s.push(`${"Writes"}: ${this.dimless.transform(this.healthData.client_perf.write_op_per_sec)} ${"/s"}`),l.push(this.calcPercentage(this.healthData.client_perf.write_op_per_sec,_)),n.labels=s,n.dataset[0].data=l,n.dataset[0].label=`${this.dimless.transform(_)}\n${"IOPS"}`}prepareClientThroughput(n){const s=[],l=[],_=this.healthData.client_perf.read_bytes_sec+this.healthData.client_perf.write_bytes_sec;s.push(`${"Reads"}: ${this.dimlessBinary.transform(this.healthData.client_perf.read_bytes_sec)}${"/s"}`),l.push(this.calcPercentage(this.healthData.client_perf.read_bytes_sec,_)),s.push(`${"Writes"}: ${this.dimlessBinary.transform(this.healthData.client_perf.write_bytes_sec)}${"/s"}`),l.push(this.calcPercentage(this.healthData.client_perf.write_bytes_sec,_)),n.labels=s,n.dataset[0].data=l,n.dataset[0].label=`${this.dimlessBinary.transform(_).replace(" ","\n")}${"/s"}`}prepareRawUsage(n,s){const l=this.calcPercentage(s.df.stats.total_bytes-s.df.stats.total_used_raw_bytes,s.df.stats.total_bytes),_=this.calcPercentage(s.df.stats.total_used_raw_bytes,s.df.stats.total_bytes),g=this.osdSettings.nearfull_ratio,M=this.osdSettings.nearfull_ratio;this.color=g>=0&&_/100>=g?"chart-color-red":M>=0&&_/100>=M?"chart-color-yellow":"chart-color-blue",this.rawCapacityChartConfig.dataset[0].backgroundColor[0]=this.cssHelper.propertyValue(this.color),n.dataset[0].data=[_,l],n.labels=[`${"Used"}: ${this.dimlessBinary.transform(s.df.stats.total_used_raw_bytes)}`,`${"Avail."}: ${this.dimlessBinary.transform(s.df.stats.total_bytes-s.df.stats.total_used_raw_bytes)}`],n.dataset[0].label=`${_}%\nof ${this.dimlessBinary.transform(s.df.stats.total_bytes)}`}preparePgStatus(n,s){const l={};let _=0;Ke().forEach(s.pg_info.statuses,(g,M)=>{const x=this.pgCategoryService.getTypeByStates(M);Ke().isUndefined(l[x])&&(l[x]=0),l[x]+=g,_+=g});for(const g of this.pgCategoryService.getAllTypes())Ke().isUndefined(l[g])&&(l[g]=0);n.dataset[0].data=this.pgCategoryService.getAllTypes().map(g=>this.calcPercentage(l[g],_)),n.labels=[`${"Clean"}: ${this.dimless.transform(l.clean)}`,`${"Working"}: ${this.dimless.transform(l.working)}`,`${"Warning"}: ${this.dimless.transform(l.warning)}`,`${"Unknown"}: ${this.dimless.transform(l.unknown)}`],n.dataset[0].label=`${_}\n${"PGs"}`}prepareObjects(n,s){const l=s.pg_info.object_stats.num_object_copies,g=this.calcPercentage(l-s.pg_info.object_stats.num_objects_misplaced-s.pg_info.object_stats.num_objects_degraded-s.pg_info.object_stats.num_objects_unfound,l),M=this.calcPercentage(s.pg_info.object_stats.num_objects_misplaced,l),x=this.calcPercentage(s.pg_info.object_stats.num_objects_degraded,l),Y=this.calcPercentage(s.pg_info.object_stats.num_objects_unfound,l);n.labels=[`${"Healthy"}: ${g}%`,`${"Misplaced"}: ${M}%`,`${"Degraded"}: ${x}%`,`${"Unfound"}: ${Y}%`],n.dataset[0].data=[g,M,x,Y],n.dataset[0].label=`${this.dimless.transform(s.pg_info.object_stats.num_objects)}\n${"objects"}`}isClientReadWriteChartShowable(){return(this.healthData.client_perf.read_op_per_sec||0)+(this.healthData.client_perf.write_op_per_sec||0)>0}calcPercentage(n,s){return Ke().isNumber(n)&&Ke().isNumber(s)&&0!==s?Math.ceil(n/s*100*100)/100:0}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Iu.z),e.Y36(md),e.Y36(fa.j),e.Y36(_E.j),e.Y36(U1.l),e.Y36(z0.s),e.Y36(xa.$),e.Y36(iu.n),e.Y36(gg.P))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-health"]],decls:2,vars:3,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He,Pe,W,It,Pt;return i="Status",n="Capacity",s="Performance",l="Cluster Status",_="Hosts",g="Monitors",M="OSDs",x="Managers",Y="Object Gateways",K="Metadata Servers",le="iSCSI Gateways",fe="Raw Capacity",ge="Objects",Se="PG Status",Ge="Pools",we="PGs per OSD",He="Client Read/Write",Pe="Client Throughput",W="Recovery Throughput",It="Scrubbing",Pt="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " See " + "\ufffd#4\ufffd" + "Logs" + "\ufffd/#4\ufffd" + " for more details.",[["class","container-fluid",4,"ngIf"],[1,"container-fluid"],["groupTitle",i,4,"ngIf"],["groupTitle",n,4,"ngIf"],["groupTitle",s,4,"ngIf"],["logsLink",""],["groupTitle",i],["cardTitle",l,"class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",_,"link","/hosts","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",g,"link","/monitor","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",M,"link","/osd","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",x,"class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",Y,"link","/rgw/daemon","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",K,"class","cd-status-card",3,"contentClass",4,"ngIf"],["cardTitle",le,"link","/block/iscsi","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",l,"contentClass","content-highlight",1,"cd-status-card"],[4,"ngIf"],["healthChecks",""],["popoverClass","info-card-popover-cluster-status",1,"info-card-content-clickable",3,"ngStyle","ngbPopover"],["class","fa fa-exclamation-triangle",4,"ngIf"],[4,"ngTemplateOutlet"],[4,"ngFor","ngForOf"],[3,"ngStyle"],[1,"fa","fa-exclamation-triangle"],["cardTitle",_,"link","/hosts","contentClass","content-highlight",1,"cd-status-card"],["cardTitle",g,"link","/monitor","contentClass","content-highlight",1,"cd-status-card"],["cardTitle",M,"link","/osd","contentClass","content-highlight",1,"cd-status-card"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["cardTitle",x,"contentClass","content-highlight",1,"cd-status-card"],[3,"ngClass","title",4,"ngFor","ngForOf"],[3,"ngClass","title"],["cardTitle",Y,"link","/rgw/daemon","contentClass","content-highlight",1,"cd-status-card"],["cardTitle",K,1,"cd-status-card",3,"contentClass"],["cardTitle",le,"link","/block/iscsi","contentClass","content-highlight",1,"cd-status-card"],[1,"card-text-line-break"],["groupTitle",n],["cardTitle",fe,"class","cd-capacity-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",ge,"class","cd-capacity-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",Se,"class","cd-capacity-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",Ge,"link","/pool","class","cd-capacity-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",we,"class","cd-capacity-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",fe,"contentClass","content-chart",1,"cd-capacity-card","cd-chart-card"],[3,"data","config","isBytesData","prepareFn"],["cardTitle",ge,"contentClass","content-chart",1,"cd-capacity-card","cd-chart-card"],[3,"data","prepareFn"],["cardTitle",Se,"contentClass","content-chart",1,"cd-capacity-card","cd-chart-card"],["pgStatus",""],[1,"pg-status-popover-wrapper"],[3,"ngbPopover"],[3,"data","config","prepareFn"],["cardTitle",Ge,"link","/pool","contentClass","content-highlight",1,"cd-capacity-card"],["cardTitle",we,"contentClass","content-highlight",1,"cd-capacity-card"],["groupTitle",s],["cardTitle",He,"class","cd-performance-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",Pe,"class","cd-performance-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",W,"class","cd-performance-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",It,"class","cd-performance-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",He,"contentClass","content-chart",1,"cd-performance-card","cd-chart-card"],["cardTitle",Pe,"contentClass","content-chart",1,"cd-performance-card","cd-chart-card"],["cardTitle",W,"contentClass","content-highlight",1,"cd-performance-card"],["cardTitle",It,"contentClass","content-highlight",1,"cd-performance-card"],[1,"logs-link"],Pt,["routerLink","/logs"]]},template:function(n,s){1&n&&(e.YNc(0,tO,6,3,"div",0),e.ALo(1,"async")),2&n&&e.Q6J("ngIf",e.lcZ(1,1,s.healthData&&s.enabledFeature$))},dependencies:[f.mk,f.sg,f.O5,f.tP,f.PC,Ce.rH,Be.o8,KC,eT,tT,f.Ov,f.gd,f.Nd,xa.$,V0,Bp,iu.n,j1,U2,B2,cR],styles:['cd-info-card[_ngcontent-%COMP%]{padding:0 .5vw} cd-health .pg-status-popover-wrapper{position:relative} cd-health .pg-status-popover-wrapper .popover{max-height:20vh;max-width:unset!important;min-width:unset!important;position:absolute;width:116%} cd-health .pg-status-popover-wrapper .popover .popover-body{font-size:1rem;max-height:19vh;max-width:100%}.logs-link[_ngcontent-%COMP%]{text-align:center}.logs-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#25828e}.card-text-error[_ngcontent-%COMP%]{color:#c9190b;display:inline}.card-text-line-break[_ngcontent-%COMP%]:after{content:"\\a";white-space:pre}.popover-info[_ngcontent-%COMP%]:hover{cursor:pointer}']}),t})();function nO(t,i){1&t&&(e.ynx(0,4),e._UZ(1,"cd-refresh-selector")(2,"cd-health",5),e.BQk())}function _T(t,i){1&t&&e._UZ(0,"cd-dashboard-v3")}let hT=(()=>{class t{constructor(n){this.featureToggles=n,this.enabledFeature$=this.featureToggles.get()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(U1.l))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-dashboard"]],decls:7,vars:4,consts:[["aria-label","Dashboard"],["href","#main",1,"sr-only"],["class","main-padding",4,"ngIf","ngIfElse"],["dashboardV3",""],[1,"main-padding"],["id","main"]],template:function(n,s){if(1&n&&(e.TgZ(0,"main",0)(1,"a",1),e._uU(2,"skip to content"),e.qZA(),e.YNc(3,nO,3,0,"ng-container",2),e.ALo(4,"async"),e.YNc(5,_T,1,0,"ng-template",null,3,e.W1O),e.qZA()),2&n){const l=e.MAs(6);let _;e.xp6(3),e.Q6J("ngIf",!1===(null==(_=e.lcZ(4,2,s.enabledFeature$))?null:_.dashboard))("ngIfElse",l)}},dependencies:[f.O5,C2,EE,pT,f.Ov],styles:["main[_ngcontent-%COMP%]:has(cd-health){padding-top:20px}"]}),t})();var mT=o(95152),gT=o(33394),vT=o(40205);let OE=(()=>{class t extends Kh.S{constructor(n){super(),this.http=n,this.apiPath="api/nfs-ganesha",this.uiApiPath="ui-api/nfs-ganesha",this.nfsAccessType=[{value:"RW",help:"Allows all operations"},{value:"RO",help:"Allows only operations that do not modify the server"},{value:"NONE",help:"Allows no access at all"}],this.nfsFsal=[{value:"CEPH",descr:"CephFS",disabled:!1},{value:"RGW",descr:"Object Gateway",disabled:!1}],this.nfsSquash={no_root_squash:["no_root_squash","noidsquash","none"],root_id_squash:["root_id_squash","rootidsquash","rootid"],root_squash:["root_squash","rootsquash","root"],all_squash:["all_squash","allsquash","all","allanonymous","all_anonymous"]}}list(){return this.http.get(`${this.apiPath}/export`)}get(n,s){return this.http.get(`${this.apiPath}/export/${n}/${s}`)}create(n){return this.http.post(`${this.apiPath}/export`,n,{headers:{Accept:this.getVersionHeaderValue(2,0)},observe:"response"})}update(n,s,l){return this.http.put(`${this.apiPath}/export/${n}/${s}`,l,{headers:{Accept:this.getVersionHeaderValue(2,0)},observe:"response"})}delete(n,s){return this.http.delete(`${this.apiPath}/export/${n}/${s}`,{headers:{Accept:this.getVersionHeaderValue(2,0)},observe:"response"})}listClusters(){return this.http.get(`${this.apiPath}/cluster`,{headers:{Accept:this.getVersionHeaderValue(0,1)}})}lsDir(n,s){return n?this.http.get(`${this.uiApiPath}/lsdir/${n}?root_dir=${s}`):(0,vT._)("Please specify a filesystem volume.")}fsals(){return this.http.get(`${this.uiApiPath}/fsals`)}filesystems(){return this.http.get(`${this.uiApiPath}/cephfs/filesystems`)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var _R=o(36569);const yT=["squashHelper"];function hR(t,i){1&t&&(e.TgZ(0,"span",14)(1,"span",15),e.SDv(2,16),e.qZA()())}function mR(t,i){1&t&&(e.TgZ(0,"span"),e.SDv(1,37),e.qZA())}function gR(t,i){1&t&&(e.TgZ(0,"span"),e.ynx(1),e.SDv(2,38),e.BQk(),e._UZ(3,"br"),e.ynx(4),e.SDv(5,39),e.BQk(),e._uU(6," 192.168.0.10, 192.168.1.0/8 "),e.qZA())}function rO(t,i){if(1&t&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.value),e.xp6(1),e.Oqu(n.value)}}function iO(t,i){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=e.oxw().index,s=e.oxw();e.xp6(1),e.hij(" ",s.getAccessTypeHelp(n)," ")}}function vR(t,i){1&t&&e.GkF(0)}function yR(t,i){if(1&t&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(n)}}function ER(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div")(1,"div",17)(2,"div",18),e._uU(3),e.ALo(4,"ordinal"),e.TgZ(5,"span",19),e.NdJ("click",function(){const _=e.CHM(n).index,g=e.oxw();return e.KtG(g.removeClient(_))}),e._uU(6,"\xd7"),e.qZA()(),e.TgZ(7,"div",20)(8,"div",0)(9,"label",21),e.SDv(10,22),e.qZA(),e.TgZ(11,"div",23),e._UZ(12,"input",24),e.TgZ(13,"span",25),e.YNc(14,mR,2,0,"span",26),e.YNc(15,gR,7,0,"span",26),e.qZA()()(),e.TgZ(16,"div",0)(17,"label",27),e.SDv(18,28),e.qZA(),e.TgZ(19,"div",23)(20,"select",29)(21,"option",30),e._uU(22),e.qZA(),e.YNc(23,rO,2,2,"option",31),e.qZA(),e.YNc(24,iO,2,1,"span",32),e.qZA()(),e.TgZ(25,"div",0)(26,"label",33)(27,"span"),e.SDv(28,34),e.qZA(),e.YNc(29,vR,1,0,"ng-container",35),e.qZA(),e.TgZ(30,"div",23)(31,"select",36)(32,"option",30),e._uU(33),e.qZA(),e.YNc(34,yR,2,2,"option",31),e.qZA()()()()()()}if(2&t){const n=i.$implicit,s=i.index,l=e.oxw(),_=e.MAs(4);e.xp6(1),e.Q6J("formGroup",n),e.xp6(2),e.hij(" ",e.lcZ(4,10,s+1)," "),e.xp6(11),e.Q6J("ngIf",l.showError(s,"addresses",_,"required")),e.xp6(1),e.Q6J("ngIf",l.showError(s,"addresses",_,"pattern")),e.xp6(7),e.Oqu(l.getNoAccessTypeDescr()),e.xp6(1),e.Q6J("ngForOf",l.nfsAccessType),e.xp6(1),e.Q6J("ngIf",l.getValue(s,"access_type")),e.xp6(5),e.Q6J("ngTemplateOutlet",l.squashHelperTpl),e.xp6(4),e.Oqu(l.getNoSquashDescr()),e.xp6(1),e.Q6J("ngForOf",l.nfsSquash)}}const q0=function(t){return[t]};let SR=(()=>{class t{constructor(n){this.nfsService=n,this.nfsSquash=[],this.nfsAccessType=[],this.icons=ei.P}ngOnInit(){this.nfsSquash=Object.keys(this.nfsService.nfsSquash),this.nfsAccessType=this.nfsService.nfsAccessType,Ke().forEach(this.clients,n=>{this.addClient().patchValue(n)}),this.clientsFormArray=this.form.get("clients")}getNoAccessTypeDescr(){return this.form.getValue("access_type")?`${this.form.getValue("access_type")} ${"(inherited from global config)"}`:"-- Select the access type --"}getAccessTypeHelp(n){const s=this.nfsAccessType.find(l=>this.getValue(n,"access_type")===l.value);return Ke().isObjectLike(s)?s.help:""}getNoSquashDescr(){return this.form.getValue("squash")?`${this.form.getValue("squash")} (${"inherited from global config"})`:"-- Select what kind of user id squashing is performed --"}addClient(){this.clientsFormArray=this.form.get("clients");const n="(([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3}).([0-9]{1,3})([/](\\d|[1-2]\\d|3[0-2]))?)",l=new Fe.d({addresses:new se.p4("",{validators:[se.kI.required,se.kI.pattern(`${n}([ ,]{1,2}${n})*`)]}),access_type:new se.p4(""),squash:new se.p4("")});return this.clientsFormArray.push(l),l}removeClient(n){this.clientsFormArray=this.form.get("clients"),this.clientsFormArray.removeAt(n)}showError(n,s,l,_){return this.form.controls.clients.controls[n].showError(s,l,_)}getValue(n,s){return this.clientsFormArray=this.form.get("clients"),this.clientsFormArray.at(n).getValue(s)}trackByFn(n){return n}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(OE))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-nfs-form-client"]],contentQueries:function(n,s,l){if(1&n&&e.Suo(l,yT,7),2&n){let _;e.iGM(_=e.CRH())&&(s.squashHelperTpl=_.first)}},inputs:{form:"form",clients:"clients"},decls:15,vars:7,consts:function(){let i,n,s,l,_,g,M,x,Y;return i="Clients",n="Add clients",s="Any client can access",l="Addresses",_="Access Type",g="Squash",M="This field is required.",x="Must contain one or more comma-separated values",Y="For example:",[[1,"form-group","row"],[1,"cd-col-form-label"],i,[1,"cd-col-form-input",3,"formGroup"],["formDir","ngForm"],["class","no-border text-muted",4,"ngIf"],["formArrayName","clients"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"row","my-2"],[1,"col-12"],[1,"float-end"],["name","add_client",1,"btn","btn-light",3,"click"],[3,"ngClass"],n,[1,"no-border","text-muted"],[1,"form-text","text-muted"],s,[1,"card",3,"formGroup"],[1,"card-header"],["name","remove_client","ngbTooltip","Remove",1,"float-end","clickable",3,"click"],[1,"card-body"],["for","addresses",1,"cd-col-form-label","required"],l,[1,"cd-col-form-input"],["type","text","name","addresses","id","addresses","formControlName","addresses","placeholder","192.168.0.10, 192.168.1.0/8",1,"form-control"],[1,"invalid-feedback"],[4,"ngIf"],["for","access_type",1,"cd-col-form-label"],_,["name","access_type","id","access_type","formControlName","access_type",1,"form-select"],["value",""],[3,"value",4,"ngFor","ngForOf"],["class","form-text text-muted",4,"ngIf"],["for","squash",1,"cd-col-form-label"],g,[4,"ngTemplateOutlet"],["name","squash","id","squash","formControlName","squash",1,"form-select"],M,x,Y,[3,"value"]]},template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"label",1),e.SDv(2,2),e.qZA(),e.TgZ(3,"div",3,4),e.YNc(5,hR,3,0,"span",5),e.ynx(6,6),e.YNc(7,ER,35,12,"div",7),e.BQk(),e.TgZ(8,"div",8)(9,"div",9)(10,"div",10)(11,"button",11),e.NdJ("click",function(){return s.addClient()}),e._UZ(12,"i",12),e.ynx(13),e.SDv(14,13),e.BQk(),e.qZA()()()()()()),2&n&&(e.xp6(3),e.Q6J("formGroup",s.form),e.xp6(2),e.Q6J("ngIf",0===s.form.get("clients").value.length),e.xp6(2),e.Q6J("ngForOf",s.clientsFormArray.controls)("ngForTrackBy",s.trackByFn),e.xp6(5),e.Q6J("ngClass",e.VKq(5,q0,s.icons.add)))},dependencies:[se.YN,se.Kr,se.Fj,se.EJ,se.JJ,se.JL,se.sg,se.u,se.CE,Ht.o,wn.b,ar.P,cr.V,f.mk,f.sg,f.O5,f.tP,Be._L,_R.f]}),t})();const ET=["nfsClients"];function ey(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,53),e.qZA())}function ST(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,54),e.qZA())}function CT(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,55),e.qZA())}function CR(t,i){if(1&t&&(e.TgZ(0,"option",56),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.cluster_id),e.xp6(1),e.Oqu(n.cluster_id)}}const AE=function(){return["create"]},TT=function(t){return{modal:t}},oO=function(t){return{outlets:t}},TR=function(t){return["/services",t]};function sO(t,i){1&t&&(e.TgZ(0,"span",57),e.tHW(1,58),e._UZ(2,"a",59),e.N_p(),e.qZA()),2&t&&(e.xp6(2),e.Q6J("routerLink",e.VKq(6,TR,e.VKq(4,oO,e.VKq(2,TT,e.DdM(1,AE))))))}function aO(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,60),e.qZA())}function lO(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,61),e.qZA())}function ty(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,62),e.qZA())}function cO(t,i){if(1&t&&(e.TgZ(0,"option",63),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.value)("disabled",n.disabled),e.xp6(1),e.Oqu(n.descr)}}function bR(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,64),e.qZA())}function MR(t,i){if(1&t&&(e.TgZ(0,"span",57),e.SDv(1,65),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.pQV(n.fsalAvailabilityError),e.QtT(1)}}function OR(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,69),e.qZA())}function uO(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,70),e.qZA())}function dO(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,71),e.qZA())}function fO(t,i){if(1&t&&(e.TgZ(0,"option",56),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.name),e.xp6(1),e.Oqu(n.name)}}function AR(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,72),e.qZA())}function pO(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",8)(1,"label",66),e.SDv(2,67),e.qZA(),e.TgZ(3,"div",13)(4,"select",68),e.NdJ("change",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.pathChangeHandler())}),e.YNc(5,OR,2,0,"option",15),e.YNc(6,uO,2,0,"option",15),e.YNc(7,dO,2,0,"option",15),e.YNc(8,fO,2,2,"option",16),e.qZA(),e.YNc(9,AR,2,0,"span",17),e.qZA()()}if(2&t){e.oxw();const n=e.MAs(2),s=e.oxw();e.xp6(5),e.Q6J("ngIf",null===s.allFsNames),e.xp6(1),e.Q6J("ngIf",null!==s.allFsNames&&0===s.allFsNames.length),e.xp6(1),e.Q6J("ngIf",null!==s.allFsNames&&s.allFsNames.length>0),e.xp6(1),e.Q6J("ngForOf",s.allFsNames),e.xp6(1),e.Q6J("ngIf",s.nfsForm.showError("fs_name",n,"required"))}}function bT(t,i){1&t&&e._UZ(0,"input",79)}function MT(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,80),e.qZA())}const DR=function(t){return{required:t}};function om(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",73),e.SDv(2,74),e.qZA(),e.TgZ(3,"div",13)(4,"div",26),e._UZ(5,"input",75),e.TgZ(6,"label",76),e.SDv(7,77),e.qZA()(),e._UZ(8,"br"),e.YNc(9,bT,1,0,"input",78),e.YNc(10,MT,2,0,"span",17),e.qZA()()),2&t){e.oxw();const n=e.MAs(2),s=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(3,DR,s.nfsForm.getValue("security_label"))),e.xp6(8),e.Q6J("ngIf",s.nfsForm.getValue("security_label")),e.xp6(1),e.Q6J("ngIf",s.nfsForm.showError("sec_label_xattr",n,"required"))}}function _O(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,85),e.qZA())}function DE(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,86),e.qZA())}function hO(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,87),e.qZA())}function RR(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",8)(1,"label",81)(2,"span",10),e.SDv(3,82),e.qZA(),e.TgZ(4,"cd-helper")(5,"p"),e.SDv(6,83),e.qZA()()(),e.TgZ(7,"div",13)(8,"input",84),e.NdJ("selectItem",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.pathChangeHandler())})("blur",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.pathChangeHandler())}),e.qZA(),e.YNc(9,_O,2,0,"span",17),e.YNc(10,DE,2,0,"span",17),e.YNc(11,hO,2,0,"span",17),e.qZA()()}if(2&t){e.oxw();const n=e.MAs(2),s=e.oxw();e.xp6(8),e.Q6J("ngbTypeahead",s.pathDataSource),e.xp6(1),e.Q6J("ngIf",s.nfsForm.showError("path",n,"required")),e.xp6(1),e.Q6J("ngIf",s.nfsForm.showError("path",n,"pattern")),e.xp6(1),e.Q6J("ngIf",s.nfsForm.showError("path",n,"pathNameNotAllowed"))}}function Nh(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,90),e.qZA())}function mO(t,i){1&t&&(e.TgZ(0,"span",57),e.tHW(1,91),e._UZ(2,"a",92),e.N_p(),e.qZA())}function RE(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",81)(2,"span",10),e.SDv(3,88),e.qZA()(),e.TgZ(4,"div",13),e._UZ(5,"input",89),e.YNc(6,Nh,2,0,"span",17),e.YNc(7,mO,3,0,"span",17),e.qZA()()),2&t){e.oxw();const n=e.MAs(2),s=e.oxw();e.xp6(5),e.Q6J("ngbTypeahead",s.bucketDataSource),e.xp6(1),e.Q6J("ngIf",s.nfsForm.showError("path",n,"required")),e.xp6(1),e.Q6J("ngIf",s.nfsForm.showError("path",n,"bucketNameNotAllowed"))}}function gO(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,93),e.qZA())}function vO(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,99),e.qZA())}function PE(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,100),e.qZA())}function OT(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,101),e.qZA())}function AT(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",94)(2,"span",10),e.SDv(3,95),e.qZA(),e.TgZ(4,"cd-helper")(5,"p"),e.tHW(6,96),e._UZ(7,"strong")(8,"strong"),e.N_p(),e.qZA(),e.TgZ(9,"p"),e.SDv(10,97),e.qZA()()(),e.TgZ(11,"div",13),e._UZ(12,"input",98),e.YNc(13,vO,2,0,"span",17),e.YNc(14,PE,2,0,"span",17),e.YNc(15,OT,2,0,"span",17),e.qZA()()),2&t){e.oxw();const n=e.MAs(2),s=e.oxw();e.xp6(13),e.Q6J("ngIf",s.nfsForm.showError("pseudo",n,"required")),e.xp6(1),e.Q6J("ngIf",s.nfsForm.showError("pseudo",n,"pseudoAlreadyExists")),e.xp6(1),e.Q6J("ngIf",s.nfsForm.showError("pseudo",n,"pattern"))}}function yO(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,102),e.qZA())}function DT(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,103),e.qZA())}function RT(t,i){if(1&t&&(e.TgZ(0,"option",56),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.value),e.xp6(1),e.Oqu(n.value)}}function EO(t,i){if(1&t&&(e.TgZ(0,"span",104),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.hij(" ",n.getAccessTypeHelp(n.nfsForm.getValue("access_type"))," ")}}function PT(t,i){1&t&&(e.TgZ(0,"span",105),e.tHW(1,106),e._UZ(2,"cd-doc",107),e.N_p(),e.qZA())}function SO(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,108),e.qZA())}function xE(t,i){1&t&&e.GkF(0)}function Vm(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,109),e.qZA())}function vg(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,110),e.qZA())}function xT(t,i){if(1&t&&(e.TgZ(0,"option",56),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(n)}}function wE(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,111),e.qZA())}function wT(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,112),e.qZA())}function CO(t,i){1&t&&(e.TgZ(0,"cd-helper")(1,"ul",113)(2,"li")(3,"span",114),e._uU(4,"no_root_squash: "),e.qZA(),e.TgZ(5,"span"),e.SDv(6,115),e.qZA()(),e.TgZ(7,"li")(8,"span",114),e._uU(9,"root_id_squash: "),e.qZA(),e.TgZ(10,"span"),e.SDv(11,116),e.qZA()(),e.TgZ(12,"li")(13,"span",114),e._uU(14,"root_squash: "),e.qZA(),e.TgZ(15,"span"),e.SDv(16,117),e.qZA()(),e.TgZ(17,"li")(18,"span",114),e._uU(19,"all_squash: "),e.qZA(),e.TgZ(20,"span"),e.SDv(21,118),e.qZA()()()())}function PR(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",7)(9,"div",8)(10,"label",9)(11,"span",10),e.SDv(12,11),e.qZA(),e.TgZ(13,"cd-helper")(14,"p"),e.SDv(15,12),e.qZA()()(),e.TgZ(16,"div",13)(17,"select",14),e.YNc(18,ey,2,0,"option",15),e.YNc(19,ST,2,0,"option",15),e.YNc(20,CT,2,0,"option",15),e.YNc(21,CR,2,2,"option",16),e.qZA(),e.YNc(22,sO,3,8,"span",17),e.qZA()(),e.TgZ(23,"div",18)(24,"div",8)(25,"label",19),e.SDv(26,20),e.qZA(),e.TgZ(27,"div",13)(28,"select",21),e.NdJ("change",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.fsalChangeHandler())}),e.YNc(29,aO,2,0,"option",15),e.YNc(30,lO,2,0,"option",15),e.YNc(31,ty,2,0,"option",15),e.YNc(32,cO,2,3,"option",22),e.qZA(),e.YNc(33,bR,2,0,"span",17),e.YNc(34,MR,2,1,"span",17),e.qZA()(),e.YNc(35,pO,10,5,"div",23),e.qZA(),e.YNc(36,om,11,5,"div",23),e.YNc(37,RR,12,4,"div",23),e.YNc(38,RE,8,3,"div",23),e.TgZ(39,"div",8)(40,"label",24),e.SDv(41,25),e.qZA(),e.TgZ(42,"div",13)(43,"div",26),e._UZ(44,"input",27),e.TgZ(45,"label",28),e.SDv(46,29),e.qZA()(),e.YNc(47,gO,2,0,"span",17),e.qZA()(),e.YNc(48,AT,16,3,"div",23),e.TgZ(49,"div",8)(50,"label",30),e.SDv(51,31),e.qZA(),e.TgZ(52,"div",13)(53,"select",32),e.NdJ("change",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.accessTypeChangeHandler())}),e.YNc(54,yO,2,0,"option",15),e.YNc(55,DT,2,0,"option",15),e.YNc(56,RT,2,2,"option",16),e.qZA(),e.YNc(57,EO,2,1,"span",33),e.YNc(58,PT,3,0,"span",34),e.YNc(59,SO,2,0,"span",17),e.qZA()(),e.TgZ(60,"div",8)(61,"label",35)(62,"span"),e.SDv(63,36),e.qZA(),e.YNc(64,xE,1,0,"ng-container",37),e.qZA(),e.TgZ(65,"div",13)(66,"select",38),e.YNc(67,Vm,2,0,"option",15),e.YNc(68,vg,2,0,"option",15),e.YNc(69,xT,2,2,"option",16),e.qZA(),e.YNc(70,wE,2,0,"span",17),e.qZA()(),e.TgZ(71,"div",8)(72,"label",39),e.SDv(73,40),e.qZA(),e.TgZ(74,"div",13)(75,"div",26),e._UZ(76,"input",41),e.TgZ(77,"label",42),e.SDv(78,43),e.qZA()(),e.TgZ(79,"div",26),e._UZ(80,"input",44),e.TgZ(81,"label",45),e.SDv(82,46),e.qZA()(),e.YNc(83,wT,2,0,"span",17),e._UZ(84,"hr"),e.qZA()(),e.TgZ(85,"cd-nfs-form-client",47,48),e.YNc(87,CO,22,0,"ng-template",null,49,e.W1O),e.qZA()(),e.TgZ(89,"div",50)(90,"cd-form-button-panel",51),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.submitAction())}),e.ALo(91,"titlecase"),e.ALo(92,"upperFirst"),e.qZA()()()()()}if(2&t){const n=e.MAs(2),s=e.MAs(88),l=e.oxw();e.xp6(1),e.Q6J("formGroup",l.nfsForm),e.xp6(6),e.pQV(e.lcZ(6,36,l.action))(e.lcZ(7,38,l.resource)),e.QtT(5),e.xp6(11),e.Q6J("ngIf",null===l.allClusters),e.xp6(1),e.Q6J("ngIf",null!==l.allClusters&&0===l.allClusters.length),e.xp6(1),e.Q6J("ngIf",null!==l.allClusters&&l.allClusters.length>0),e.xp6(1),e.Q6J("ngForOf",l.allClusters),e.xp6(1),e.Q6J("ngIf",l.nfsForm.showError("cluster_id",n,"required")||0===(null==l.allClusters?null:l.allClusters.length)),e.xp6(7),e.Q6J("ngIf",null===l.allFsals),e.xp6(1),e.Q6J("ngIf",null!==l.allFsals&&0===l.allFsals.length),e.xp6(1),e.Q6J("ngIf",null!==l.allFsals&&l.allFsals.length>0),e.xp6(1),e.Q6J("ngForOf",l.allFsals),e.xp6(1),e.Q6J("ngIf",l.nfsForm.showError("name",n,"required")),e.xp6(1),e.Q6J("ngIf",l.fsalAvailabilityError),e.xp6(1),e.Q6J("ngIf","CEPH"===l.nfsForm.getValue("name")),e.xp6(1),e.Q6J("ngIf","CEPH"===l.nfsForm.getValue("name")),e.xp6(1),e.Q6J("ngIf","CEPH"===l.nfsForm.getValue("name")),e.xp6(1),e.Q6J("ngIf","RGW"===l.nfsForm.getValue("name")),e.xp6(9),e.Q6J("ngIf",l.nfsForm.showError("protocolNfsv4",n,"required")),e.xp6(1),e.Q6J("ngIf",l.nfsForm.getValue("protocolNfsv4")),e.xp6(6),e.Q6J("ngIf",null===l.nfsAccessType),e.xp6(1),e.Q6J("ngIf",null!==l.nfsAccessType&&0===l.nfsAccessType.length),e.xp6(1),e.Q6J("ngForOf",l.nfsAccessType),e.xp6(1),e.Q6J("ngIf",l.nfsForm.getValue("access_type")),e.xp6(1),e.Q6J("ngIf","RW"===l.nfsForm.getValue("access_type")&&"RGW"===l.nfsForm.getValue("name")),e.xp6(1),e.Q6J("ngIf",l.nfsForm.showError("access_type",n,"required")),e.xp6(5),e.Q6J("ngTemplateOutlet",s),e.xp6(3),e.Q6J("ngIf",null===l.nfsSquash),e.xp6(1),e.Q6J("ngIf",null!==l.nfsSquash&&0===l.nfsSquash.length),e.xp6(1),e.Q6J("ngForOf",l.nfsSquash),e.xp6(1),e.Q6J("ngIf",l.nfsForm.showError("squash",n,"required")),e.xp6(13),e.Q6J("ngIf",l.nfsForm.showError("transportUDP",n,"required")||l.nfsForm.showError("transportTCP",n,"required")),e.xp6(2),e.Q6J("form",l.nfsForm)("clients",l.clients),e.xp6(5),e.Q6J("form",l.nfsForm)("submitText",e.lcZ(91,40,l.action)+" "+e.lcZ(92,42,l.resource))}}let NT=(()=>{class t extends de.E{constructor(n,s,l,_,g,M,x,Y,K,le){super(),this.authStorageService=n,this.nfsService=s,this.route=l,this.router=_,this.rgwBucketService=g,this.rgwSiteService=M,this.formBuilder=x,this.taskWrapper=Y,this.cdRef=K,this.actionLabels=le,this.clients=[],this.isEdit=!1,this.cluster_id=null,this.export_id=null,this.allClusters=null,this.icons=ei.P,this.allFsals=[],this.allFsNames=null,this.fsalAvailabilityError=null,this.defaultAccessType={RGW:"RO"},this.nfsAccessType=[],this.nfsSquash=[],this.pathDataSource=fe=>fe.pipe((0,Xe.b)(200),(0,rn.x)(),(0,Md.zg)(ge=>this.getPathTypeahead(ge)),(0,ss.U)(ge=>ge)),this.bucketDataSource=fe=>fe.pipe((0,Xe.b)(200),(0,rn.x)(),(0,Md.zg)(ge=>this.getBucketTypeahead(ge))),this.permission=this.authStorageService.getPermissions().pool,this.resource="NFS export"}ngOnInit(){this.nfsAccessType=this.nfsService.nfsAccessType,this.nfsSquash=Object.keys(this.nfsService.nfsSquash),this.createForm();const n=[this.nfsService.listClusters(),this.nfsService.fsals(),this.nfsService.filesystems()];this.router.url.startsWith("/nfs/edit")&&(this.isEdit=!0),this.isEdit?(this.action=this.actionLabels.EDIT,this.route.params.subscribe(s=>{this.cluster_id=decodeURIComponent(s.cluster_id),this.export_id=decodeURIComponent(s.export_id),n.push(this.nfsService.get(this.cluster_id,this.export_id)),this.getData(n)}),this.nfsForm.get("cluster_id").disable()):(this.action=this.actionLabels.CREATE,this.getData(n))}getData(n){(0,Wa.D)(n).subscribe(s=>{this.resolveClusters(s[0]),this.resolveFsals(s[1]),this.resolveFilesystems(s[2]),s[3]&&this.resolveModel(s[3]),this.loadingReady()})}createForm(){this.nfsForm=new Fe.d({cluster_id:new se.p4("",{validators:[se.kI.required]}),fsal:new Fe.d({name:new se.p4("",{validators:[se.kI.required]}),fs_name:new se.p4("",{validators:[zo.h.requiredIf({name:"CEPH"})]})}),path:new se.p4("/"),protocolNfsv4:new se.p4(!0),pseudo:new se.p4("",{validators:[zo.h.requiredIf({protocolNfsv4:!0}),se.kI.pattern("^/[^><|&()]*$")]}),access_type:new se.p4("RW"),squash:new se.p4(this.nfsSquash[0]),transportUDP:new se.p4(!0,{validators:[zo.h.requiredIf({transportTCP:!1},n=>!n)]}),transportTCP:new se.p4(!0,{validators:[zo.h.requiredIf({transportUDP:!1},n=>!n)]}),clients:this.formBuilder.array([]),security_label:new se.p4(!1),sec_label_xattr:new se.p4("security.selinux",zo.h.requiredIf({security_label:!0,"fsal.name":"CEPH"}))})}resolveModel(n){"CEPH"===n.fsal.name&&(n.sec_label_xattr=n.fsal.sec_label_xattr),n.protocolNfsv4=-1!==n.protocols.indexOf(4),delete n.protocols,n.transportTCP=-1!==n.transports.indexOf("TCP"),n.transportUDP=-1!==n.transports.indexOf("UDP"),delete n.transports,Object.entries(this.nfsService.nfsSquash).forEach(([s,l])=>{l.includes(n.squash)&&(n.squash=s)}),n.clients.forEach(s=>{let l="";s.addresses.forEach(_=>{l+=_+", "}),l.length>=2&&(l=l.substring(0,l.length-2)),s.addresses=l}),this.nfsForm.patchValue(n),this.setPathValidation(),this.clients=n.clients}resolveClusters(n){this.allClusters=[];for(const s of n)this.allClusters.push({cluster_id:s});!this.isEdit&&this.allClusters.length>0&&this.nfsForm.get("cluster_id").setValue(this.allClusters[0].cluster_id)}resolveFsals(n){n.forEach(s=>{const l=this.nfsService.nfsFsal.find(_=>s===_.value);Ke().isObjectLike(l)&&this.allFsals.push(l)}),!this.isEdit&&this.allFsals.length>0&&this.nfsForm.patchValue({fsal:{name:this.allFsals[0].value}})}resolveFilesystems(n){this.allFsNames=n,!this.isEdit&&n.length>0&&this.nfsForm.patchValue({fsal:{fs_name:n[0].name}})}fsalChangeHandler(){this.setPathValidation();const n=this.nfsForm.getValue("name");("RGW"===n?this.rgwSiteService.get("realms").pipe((0,Md.zg)(l=>0===l.length?(0,Dt.of)(!0):this.rgwSiteService.isDefaultRealm().pipe((0,Md.zg)(_=>{if(!_)throw new Error("Selected realm is not the default.");return(0,Dt.of)(!0)})))):this.nfsService.filesystems()).subscribe({next:()=>{this.setFsalAvailability(n,!0),this.isEdit||this.nfsForm.patchValue({path:"RGW"===n?"":"/",pseudo:this.generatePseudo(),access_type:this.updateAccessType()}),this.cdRef.detectChanges()},error:l=>{this.setFsalAvailability(n,!1,l),this.nfsForm.get("name").setValue("")}})}setFsalAvailability(n,s,l=""){this.allFsals=this.allFsals.map(_=>(_.value===n&&(_.disabled=!s,this.fsalAvailabilityError=_.disabled?"" + _.descr + " backend is not available. " + l + "":null),_))}accessTypeChangeHandler(){const n=this.nfsForm.getValue("name"),s=this.nfsForm.getValue("access_type");this.defaultAccessType[n]=s}setPathValidation(){const n=this.nfsForm.get("path");n.setValidators([se.kI.required]),"RGW"===this.nfsForm.getValue("name")?n.setAsyncValidators([zo.h.bucketExistence(!0,this.rgwBucketService)]):n.setAsyncValidators([this.pathExistence(!0)]),this.isEdit&&n.markAsDirty()}getAccessTypeHelp(n){const s=this.nfsAccessType.find(l=>{if(n===l.value)return l});return Ke().isObjectLike(s)?s.help:""}getId(){return Ke().isString(this.nfsForm.getValue("cluster_id"))&&Ke().isString(this.nfsForm.getValue("path"))?this.nfsForm.getValue("cluster_id")+":"+this.nfsForm.getValue("path"):""}getPathTypeahead(n){if(!Ke().isString(n)||"/"===n)return(0,Dt.of)([]);const s=this.nfsForm.getValue("fsal").fs_name;return this.nfsService.lsDir(s,n).pipe((0,ss.U)(l=>l.paths.filter(_=>_.toLowerCase().includes(n)).slice(0,15)),(0,zn.K)(()=>(0,Dt.of)(["Error while retrieving paths."])))}pathChangeHandler(){this.isEdit||this.nfsForm.patchValue({pseudo:this.generatePseudo()})}getBucketTypeahead(n){return Ke().isString(n)&&"/"!==n&&""!==n?this.rgwBucketService.list().pipe((0,ss.U)(s=>s.filter(l=>l.toLowerCase().includes(n)).slice(0,15)),(0,zn.K)(()=>(0,Dt.of)(["Error while retrieving bucket names."]))):(0,Dt.of)([])}generatePseudo(){let n=this.nfsForm.getValue("pseudo");return this.nfsForm.get("pseudo")&&!this.nfsForm.get("pseudo").dirty&&(n=void 0,"CEPH"===this.nfsForm.getValue("fsal")&&(n="/cephfs",Ke().isString(this.nfsForm.getValue("path"))&&(n+=this.nfsForm.getValue("path")))),n}updateAccessType(){const n=this.nfsForm.getValue("name");let s=this.defaultAccessType[n];return s||(s="RW"),s}submitAction(){let n;const s=this.buildRequest();n=this.taskWrapper.wrapTaskAroundCall(this.isEdit?{task:new ce.R("nfs/edit",{cluster_id:this.cluster_id,export_id:Ke().parseInt(this.export_id)}),call:this.nfsService.update(this.cluster_id,Ke().parseInt(this.export_id),s)}:{task:new ce.R("nfs/create",{path:s.path,fsal:s.fsal,cluster_id:s.cluster_id}),call:this.nfsService.create(s)}),n.subscribe({error:l=>this.setFormErrors(l),complete:()=>this.router.navigate(["/nfs"])})}setFormErrors(n){n.error.detail&&n.error.detail.toString().includes(`Pseudo ${this.nfsForm.getValue("pseudo")} is already in use`)&&this.nfsForm.get("pseudo").setErrors({pseudoAlreadyExists:!0}),this.nfsForm.setErrors({cdSubmitButton:!0})}buildRequest(){const n=Ke().cloneDeep(this.nfsForm.value);return this.isEdit&&(n.export_id=Ke().parseInt(this.export_id)),"RGW"===n.fsal.name&&delete n.fsal.fs_name,n.protocols=[],n.protocolNfsv4?n.protocols.push(4):n.pseudo=null,delete n.protocolNfsv4,n.transports=[],n.transportTCP&&n.transports.push("TCP"),delete n.transportTCP,n.transportUDP&&n.transports.push("UDP"),delete n.transportUDP,n.clients.forEach(s=>{s.addresses=Ke().isString(s.addresses)?Ke()(s.addresses).split(/[ ,]+/).uniq().filter(l=>""!==l).value():[],s.squash||(s.squash=n.squash),s.access_type||(s.access_type=n.access_type)}),n.fsal.sec_label_xattr=!1===n.security_label||"RGW"===n.fsal.name?null:n.sec_label_xattr,delete n.sec_label_xattr,n}pathExistence(n){return s=>{if(s.pristine||!s.value)return(0,Dt.of)({required:!0});const l=this.nfsForm.getValue("fsal").fs_name;return this.nfsService.lsDir(l,s.value).pipe((0,ss.U)(_=>_.paths.includes(s.value)===n?null:{pathNameNotAllowed:!0}),(0,zn.K)(()=>(0,Dt.of)({pathNameNotAllowed:!0})))}}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(OE),e.Y36(Ce.gz),e.Y36(Ce.F0),e.Y36(mT.o),e.Y36(gT.I),e.Y36(Xd.O),e.Y36(Gr.P),e.Y36(e.sBO),e.Y36(Dr.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-nfs-form"]],viewQuery:function(n,s){if(1&n&&e.Gf(ET,7),2&n){let l;e.iGM(l=e.CRH())&&(s.nfsClients=l.first)}},features:[e.qOj],decls:1,vars:1,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He,Pe,W,It,Pt,Jt,dn,Un,ln,Xn,jn,Wr,Ur,di,Mi,Gn,pr,fr,Mr,Jn,ci,ho,Yi,lo,yi,qn,In,Ti,Ji,To,fs,Xo,Sa,Aa,to,No,Uo,rt,Ft;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Cluster",s="This is the ID of an NFS Service.",l="Storage Backend",_="NFS Protocol",g="NFSv4",M="Access Type",x="Squash",Y="Transport Protocol",K="UDP",le="TCP",fe="Loading...",ge="-- No cluster available --",Se="-- Select the cluster --",Ge="This field is required. To create a new NFS cluster, " + "\ufffd#2\ufffd" + "add a new NFS Service" + "\ufffd/#2\ufffd" + ".",we="Loading...",He="-- No data pools available --",Pe="-- Select the storage backend --",W="This field is required.",It="" + "\ufffd0\ufffd" + "",Pt="Volume",Jt="Loading...",dn="-- No CephFS filesystem available --",Un="-- Select the CephFS filesystem --",ln="This field is required.",Xn="Security Label",jn="Enable security label",Wr="This field is required.",Ur="CephFS Path",di="A path in a CephFS file system.",Mi="This field is required.",Gn="Path need to start with a '/' and can be followed by a word",pr="The path does not exist in the selected volume.",fr="Bucket",Mr="This field is required.",Jn="The bucket does not exist or is not in the default realm (if multiple realms are configured). To continue, " + "\ufffd#2\ufffd" + "create a new bucket" + "\ufffd/#2\ufffd" + ".",ci="This field is required.",ho="Pseudo",Yi="The position that this " + "[\ufffd#7\ufffd|\ufffd#8\ufffd]" + "NFS v4" + "[\ufffd/#7\ufffd|\ufffd/#8\ufffd]" + " export occupies in the " + "[\ufffd#7\ufffd|\ufffd#8\ufffd]" + "Pseudo FS" + "[\ufffd/#7\ufffd|\ufffd/#8\ufffd]" + " (it must be unique).",Yi=e.Zx4(Yi),lo="By using different Pseudo options, the same Path may be exported multiple times.",yi="This field is required.",qn="The pseudo is already in use by another export.",In="Pseudo needs to start with a '/' and can't contain any of the following: >, <, |, &, ( or ).",Ti="Loading...",Ji="-- No access type available --",To="The Object Gateway NFS backend has a number of limitations which will seriously affect applications writing to the share. Please consult the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " for details before enabling write access.",fs="This field is required.",Xo="Loading...",Sa="-- No squash available --",Aa="This field is required.",to="This field is required.",No="No user id squashing is performed.",Uo="uid 0 and gid 0 are squashed to the Anonymous_Uid and Anonymous_Gid gid 0 in alt_groups lists is also squashed.",rt="uid 0 and gid of any value are squashed to the Anonymous_Uid and Anonymous_Gid alt_groups lists is discarded.",Ft="All users are squashed.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","nfsForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],i,[1,"card-body"],[1,"form-group","row"],["for","cluster_id",1,"cd-col-form-label"],[1,"required"],n,s,[1,"cd-col-form-input"],["formControlName","cluster_id","name","cluster_id","id","cluster_id",1,"form-select"],["value","",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],["formGroupName","fsal"],["for","name",1,"cd-col-form-label","required"],l,["formControlName","name","name","name","id","name",1,"form-select",3,"change"],[3,"value","disabled",4,"ngFor","ngForOf"],["class","form-group row",4,"ngIf"],["for","protocols",1,"cd-col-form-label","required"],_,[1,"custom-control","custom-checkbox"],["type","checkbox","formControlName","protocolNfsv4","name","protocolNfsv4","id","protocolNfsv4","disabled","",1,"custom-control-input"],["for","protocolNfsv4",1,"custom-control-label"],g,["for","access_type",1,"cd-col-form-label","required"],M,["formControlName","access_type","name","access_type","id","access_type",1,"form-select",3,"change"],["class","form-text text-muted",4,"ngIf"],["class","form-text text-warning",4,"ngIf"],["for","squash",1,"cd-col-form-label"],x,[4,"ngTemplateOutlet"],["name","squash","formControlName","squash","id","squash",1,"form-select"],["for","transports",1,"cd-col-form-label","required"],Y,["type","checkbox","formControlName","transportUDP","name","transportUDP","id","transportUDP",1,"custom-control-input"],["for","transportUDP",1,"custom-control-label"],K,["type","checkbox","formControlName","transportTCP","name","transportTCP","id","transportTCP",1,"custom-control-input"],["for","transportTCP",1,"custom-control-label"],le,[3,"form","clients"],["nfsClients",""],["squashHelper",""],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],["value",""],fe,ge,Se,[3,"value"],[1,"invalid-feedback"],Ge,[1,"btn-link",3,"routerLink"],we,He,Pe,[3,"value","disabled"],W,It,["for","fs_name",1,"cd-col-form-label","required"],Pt,["formControlName","fs_name","name","fs_name","id","fs_name",1,"form-select",3,"change"],Jt,dn,Un,ln,["for","security_label",1,"cd-col-form-label",3,"ngClass"],Xn,["type","checkbox","formControlName","security_label","name","security_label","id","security_label",1,"custom-control-input"],["for","security_label",1,"custom-control-label"],jn,["type","text","class","form-control","name","sec_label_xattr","id","sec_label_xattr","formControlName","sec_label_xattr",4,"ngIf"],["type","text","name","sec_label_xattr","id","sec_label_xattr","formControlName","sec_label_xattr",1,"form-control"],Wr,["for","path",1,"cd-col-form-label"],Ur,di,["type","text","name","path","id","path","data-testid","fs_path","formControlName","path",1,"form-control",3,"ngbTypeahead","selectItem","blur"],Mi,Gn,pr,fr,["type","text","name","path","id","path","data-testid","rgw_path","formControlName","path",1,"form-control",3,"ngbTypeahead"],Mr,Jn,["routerLink","/rgw/bucket/create",1,"btn-link"],ci,["for","pseudo",1,"cd-col-form-label"],ho,Yi,lo,["type","text","name","pseudo","id","pseudo","formControlName","pseudo",1,"form-control"],yi,qn,In,Ti,Ji,[1,"form-text","text-muted"],[1,"form-text","text-warning"],To,["section","rgw-nfs"],fs,Xo,Sa,Aa,to,[1,"squash-helper"],[1,"squash-helper-item-value"],No,Uo,rt,Ft]},template:function(n,s){1&n&&e.YNc(0,PR,93,44,"div",0),2&n&&e.Q6J("cdFormLoading",s.loading)},dependencies:[se._Y,se.YN,se.Kr,se.Fj,se.Wl,se.EJ,se.JJ,se.JL,se.sg,se.u,se.x0,Ce.rH,je.S,Kd.K,lt.p,Vt.y,Ht.o,wn.b,ar.P,cr.V,f.mk,f.sg,f.O5,f.tP,Be.dR,SR,_i.m,f.rS],styles:[".cd-mb[_ngcontent-%COMP%]{margin-bottom:10px}.squash-helper[_ngcontent-%COMP%]{padding-left:1rem}.squash-helper-item-value[_ngcontent-%COMP%]{font-weight:700}"]}),t})();var IT=o(38047);function TO(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",10),2&t){const n=e.oxw(2);e.Q6J("data",n.data)}}function bO(t,i){if(1&t&&e._UZ(0,"cd-table",11,12),2&t){const n=e.oxw(2);e.Q6J("data",n.clients)("columns",n.clientsColumns)}}function FT(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"nav",1,2),e.ynx(3,3),e.TgZ(4,"a",4),e.SDv(5,5),e.qZA(),e.YNc(6,TO,1,1,"ng-template",6),e.BQk(),e.ynx(7,7),e.TgZ(8,"a",4),e.SDv(9,8),e.qZA(),e.YNc(10,bO,2,2,"ng-template",6),e.BQk(),e.qZA(),e._UZ(11,"div",9),e.BQk()),2&t){const n=e.MAs(2),s=e.oxw();e.xp6(9),e.pQV(s.clients.length),e.QtT(9),e.xp6(2),e.Q6J("ngbNavOutlet",n)}}let xR=(()=>{class t{constructor(){this.clients=[],this.clientsColumns=[{name:"Addresses",prop:"addresses",flexGrow:2},{name:"Access Type",prop:"access_type",flexGrow:1},{name:"Squash",prop:"squash",flexGrow:1}]}ngOnChanges(){this.selection&&(this.selectedItem=this.selection,this.clients=this.selectedItem.clients,this.data={},this.data["Cluster"]=this.selectedItem.cluster_id,this.data["NFS Protocol"]=this.selectedItem.protocols.map(n=>"NFSv"+n),this.data["Pseudo"]=this.selectedItem.pseudo,this.data["Access Type"]=this.selectedItem.access_type,this.data["Squash"]=this.selectedItem.squash,this.data["Transport"]=this.selectedItem.transports,this.data["Path"]=this.selectedItem.path,"CEPH"===this.selectedItem.fsal.name?(this.data["Storage Backend"]="CephFS",this.data["CephFS User"]=this.selectedItem.fsal.user_id,this.data["CephFS Filesystem"]=this.selectedItem.fsal.fs_name,this.data["Security Label"]=this.selectedItem.fsal.sec_label_xattr):(this.data["Storage Backend"]="Object Gateway",this.data["Object Gateway User"]=this.selectedItem.fsal.user_id))}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-nfs-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let i,n;return i="Details",n="Clients (" + "\ufffd0\ufffd" + ")",[[4,"ngIf"],["ngbNav","","cdStatefulTab","nfs-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","clients"],n,[3,"ngbNavOutlet"],[3,"data"],["columnMode","flex","identifier","addresses","forceIdentifier","true","selectionType","",3,"data","columns"],["table",""]]},template:function(n,s){1&n&&e.YNc(0,FT,12,2,"ng-container",0),2&n&&e.Q6J("ngIf",s.selection)},dependencies:[Ol.a,Pc.b,Gc.m,Be.uN,Be.Pz,Be.nv,Be.Vx,Be.tO,Be.Dy,f.O5]}),t})();const LT=["nfsState"],MO=["nfsFsal"],kT=["table"];function wR(t,i){1&t&&(e.ynx(0),e.SDv(1,7),e.BQk())}function NE(t,i){1&t&&(e.ynx(0),e.SDv(1,8),e.BQk())}function $T(t,i){if(1&t&&(e.YNc(0,wR,2,0,"ng-container",6),e.YNc(1,NE,2,0,"ng-container",6)),2&t){const n=i.value;e.Q6J("ngIf","CEPH"===n.name),e.xp6(1),e.Q6J("ngIf","RGW"===n.name)}}let HT=(()=>{class t extends Oi.o{constructor(n,s,l,_,g,M){super(),this.authStorageService=n,this.modalService=s,this.nfsService=l,this.taskListService=_,this.taskWrapper=g,this.actionLabels=M,this.selection=new Kn.r,this.isDefaultCluster=!1,this.builders={"nfs/create":fe=>({path:fe.path,cluster_id:fe.cluster_id,fsal:fe.fsal})},this.permission=this.authStorageService.getPermissions().nfs;const x=()=>this.selection.first()&&`${encodeURI(this.selection.first().cluster_id)}/${encodeURI(this.selection.first().export_id)}`;this.tableActions=[{permission:"create",icon:ei.P.add,routerLink:()=>"/nfs/create",canBePrimary:fe=>!fe.hasSingleSelection,name:this.actionLabels.CREATE},{permission:"update",icon:ei.P.edit,routerLink:()=>`/nfs/edit/${x()}`,name:this.actionLabels.EDIT},{permission:"delete",icon:ei.P.destroy,click:()=>this.deleteNfsModal(),name:this.actionLabels.DELETE}]}ngOnInit(){this.columns=[{name:"Path",prop:"path",flexGrow:2,cellTransformation:ai.e.executing},{name:"Pseudo",prop:"pseudo",flexGrow:2},{name:"Cluster",prop:"cluster_id",flexGrow:2},{name:"Storage Backend",prop:"fsal",flexGrow:2,cellTemplate:this.nfsFsal},{name:"Access Type",prop:"access_type",flexGrow:2}],this.taskListService.init(()=>this.nfsService.list(),n=>this.prepareResponse(n),n=>this.exports=n,()=>this.onFetchError(),this.taskFilter,this.itemFilter,this.builders)}ngOnDestroy(){this.summaryDataSubscription&&this.summaryDataSubscription.unsubscribe()}prepareResponse(n){let s=[];return n.forEach(l=>{l.id=`${l.cluster_id}:${l.export_id}`,l.state="LOADING",s=s.concat(l)}),s}onFetchError(){this.table.reset(),this.viewCacheStatus={status:Al.T.ValueException}}itemFilter(n,s){return n.cluster_id===s.metadata.cluster_id&&n.export_id===s.metadata.export_id}taskFilter(n){return["nfs/create","nfs/delete","nfs/edit"].includes(n.name)}updateSelection(n){this.selection=n}deleteNfsModal(){const n=this.selection.first().cluster_id,s=this.selection.first().export_id;this.modalRef=this.modalService.show(Yo.M,{itemDescription:"NFS export",itemNames:[`${n}:${s}`],submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new ce.R("nfs/delete",{cluster_id:n,export_id:s}),call:this.nfsService.delete(n,s)})})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(tc.Z),e.Y36(OE),e.Y36(IT.j),e.Y36(Gr.P),e.Y36(Dr.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-nfs-list"]],viewQuery:function(n,s){if(1&n&&(e.Gf(LT,5),e.Gf(MO,7),e.Gf(kT,7)),2&n){let l;e.iGM(l=e.CRH())&&(s.nfsState=l.first),e.iGM(l=e.CRH())&&(s.nfsFsal=l.first),e.iGM(l=e.CRH())&&(s.table=l.first)}},features:[e._Bn([IT.j]),e.qOj],decls:7,vars:7,consts:function(){let i,n;return i="CephFS",n="Object Gateway",[["columnMode","flex","identifier","id","forceIdentifier","true","selectionType","single",3,"data","columns","hasDetails","setExpandedRow","updateSelection"],["table",""],[1,"table-actions","btn-toolbar"],[1,"btn-group",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],["nfsFsal",""],[4,"ngIf"],i,n]},template:function(n,s){1&n&&(e.TgZ(0,"cd-table",0,1),e.NdJ("setExpandedRow",function(_){return s.setExpandedRow(_)})("updateSelection",function(_){return s.updateSelection(_)}),e.TgZ(2,"div",2),e._UZ(3,"cd-table-actions",3),e.qZA(),e._UZ(4,"cd-nfs-details",4),e.qZA(),e.YNc(5,$T,2,2,"ng-template",null,5,e.W1O)),2&n&&(e.Q6J("data",s.exports)("columns",s.columns)("hasDetails",!0),e.xp6(3),e.Q6J("permission",s.permission)("selection",s.selection)("tableActions",s.tableActions),e.xp6(1),e.Q6J("selection",s.expandedRow))},dependencies:[Ol.a,il.K,f.O5,xR]}),t})(),UT=(()=>{class t{constructor(n){this.route=n,this.route.queryParams.subscribe(s=>{this.fromLink=s.fromLink||t.defaultFromLink}),this.route.params.subscribe(s=>{this.serviceId=decodeURIComponent(s.id),this.serviceType=s.type})}}return t.defaultFromLink="/hosts",t.\u0275fac=function(n){return new(n||t)(e.Y36(Ce.gz))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-performance-counter"]],decls:3,vars:4,consts:[[3,"serviceType","serviceId"]],template:function(n,s){1&n&&(e.TgZ(0,"legend"),e._uU(1),e.qZA(),e._UZ(2,"cd-table-performance-counter",0)),2&n&&(e.xp6(1),e.AsE("",s.serviceType,".",s.serviceId,""),e.xp6(1),e.Q6J("serviceType",s.serviceType)("serviceId",s.serviceId))},dependencies:[Ky.p]}),t})();var ny=o(39219),IE=o(81354),z1=o(32057);function ry(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function BT(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,31),e.qZA())}function OO(t,i){if(1&t&&e._UZ(0,"cd-helper",32),2&t){const n=e.oxw();e.s9C("html",n.passwordPolicyHelpText)}}function AO(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,33),e.qZA())}function DO(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,34),e.qZA())}function NR(t,i){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.hij(" ",n.passwordValuation," ")}}function IR(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,35),e.qZA())}function GT(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,36),e.qZA())}let YT=(()=>{class t{constructor(n,s,l,_,g,M,x){this.actionLabels=n,this.notificationService=s,this.userService=l,this.authStorageService=_,this.formBuilder=g,this.router=M,this.passwordPolicyService=x,this.passwordPolicyHelpText="",this.icons=ei.P,this.action=this.actionLabels.CHANGE,this.resource="password",this.createForm()}createForm(){this.passwordPolicyService.getHelpText().subscribe(n=>{this.passwordPolicyHelpText=n}),this.userForm=this.formBuilder.group({oldpassword:[null,[se.kI.required,zo.h.custom("notmatch",()=>this.userForm&&this.userForm.getValue("newpassword")===this.userForm.getValue("oldpassword"))]],newpassword:[null,[se.kI.required,zo.h.custom("notmatch",()=>this.userForm&&this.userForm.getValue("oldpassword")===this.userForm.getValue("newpassword"))],[zo.h.passwordPolicy(this.userService,()=>this.authStorageService.getUsername(),(n,s,l)=>{this.passwordStrengthLevelClass=this.passwordPolicyService.mapCreditsToCssClass(s),this.passwordValuation=Ke().defaultTo(l,"")})]],confirmnewpassword:[null,[se.kI.required]]},{validators:[zo.h.match("newpassword","confirmnewpassword")]})}onSubmit(){if(this.userForm.pristine)return;const n=this.authStorageService.getUsername(),s=this.userForm.getValue("oldpassword"),l=this.userForm.getValue("newpassword");this.userService.changePassword(n,s,l).subscribe(()=>this.onPasswordChange(),()=>{this.userForm.setErrors({cdSubmitButton:!0})})}onPasswordChange(){this.notificationService.show(ua.k.success,"Updated user password\""),this.router.navigate(["/login"])}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Dr.p4),e.Y36(Le.g),e.Y36(z1.K),e.Y36(fa.j),e.Y36(Xd.O),e.Y36(Ce.F0),e.Y36(IE.q))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-user-password-form"]],decls:45,vars:25,consts:function(){let i,n,s,l,_,g,M,x,Y,K;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Old password",s="New password",l="Confirm new password",_="This field is required.",g="The old and new passwords must be different.",M="This field is required.",x="The old and new passwords must be different.",Y="This field is required.",K="Password confirmation doesn't match the new password.",[[1,"cd-col-form"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"card"],[1,"card-header"],i,[1,"card-body"],[1,"form-group","row"],["for","oldpassword",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],[1,"input-group"],["type","password","placeholder","Old password...","id","oldpassword","formControlName","oldpassword","autocomplete","new-password","autofocus","",1,"form-control"],["cdPasswordButton","oldpassword",1,"btn","btn-light"],["class","invalid-feedback",4,"ngIf"],["for","newpassword",1,"cd-col-form-label"],[1,"required"],s,["class","text-pre-wrap",3,"html",4,"ngIf"],["type","password","placeholder","Password...","id","newpassword","autocomplete","new-password","formControlName","newpassword",1,"form-control"],["type","button","cdPasswordButton","newpassword",1,"btn","btn-light"],[1,"password-strength-level"],["data-toggle","tooltip",3,"title"],["for","confirmnewpassword",1,"cd-col-form-label","required"],l,["type","password","autocomplete","new-password","placeholder","Confirm new password...","id","confirmnewpassword","formControlName","confirmnewpassword",1,"form-control"],["cdPasswordButton","confirmnewpassword",1,"btn","btn-light"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],_,g,[1,"text-pre-wrap",3,"html"],M,x,Y,K]},template:function(n,s){if(1&n&&(e.TgZ(0,"div",0)(1,"form",1,2)(3,"div",3)(4,"div",4),e.SDv(5,5),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10)(13,"div",11),e._UZ(14,"input",12)(15,"button",13),e.qZA(),e.YNc(16,ry,2,0,"span",14),e.YNc(17,BT,2,0,"span",14),e.qZA()(),e.TgZ(18,"div",7)(19,"label",15)(20,"span",16),e.SDv(21,17),e.qZA(),e.YNc(22,OO,1,1,"cd-helper",18),e.qZA(),e.TgZ(23,"div",10)(24,"div",11),e._UZ(25,"input",19)(26,"button",20),e.qZA(),e.TgZ(27,"div",21),e._UZ(28,"div",22),e.qZA(),e.YNc(29,AO,2,0,"span",14),e.YNc(30,DO,2,0,"span",14),e.YNc(31,NR,2,1,"span",14),e.qZA()(),e.TgZ(32,"div",7)(33,"label",23),e.SDv(34,24),e.qZA(),e.TgZ(35,"div",10)(36,"div",11),e._UZ(37,"input",25)(38,"button",26),e.qZA(),e.YNc(39,IR,2,0,"span",14),e.YNc(40,GT,2,0,"span",14),e.qZA()()(),e.TgZ(41,"div",27)(42,"cd-form-button-panel",28),e.NdJ("submitActionEvent",function(){return s.onSubmit()}),e.ALo(43,"titlecase"),e.ALo(44,"upperFirst"),e.qZA()()()()()),2&n){const l=e.MAs(2);e.xp6(1),e.Q6J("formGroup",s.userForm),e.xp6(6),e.pQV(e.lcZ(6,17,s.action))(e.lcZ(7,19,s.resource)),e.QtT(5),e.xp6(9),e.Q6J("ngIf",s.userForm.showError("oldpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",s.userForm.showError("oldpassword",l,"notmatch")),e.xp6(5),e.Q6J("ngIf",s.passwordPolicyHelpText.length>0),e.xp6(6),e.Tol(s.passwordStrengthLevelClass),e.s9C("title",s.passwordValuation),e.xp6(1),e.Q6J("ngIf",s.userForm.showError("newpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",s.userForm.showError("newpassword",l,"notmatch")),e.xp6(1),e.Q6J("ngIf",s.userForm.showError("newpassword",l,"passwordPolicy")),e.xp6(8),e.Q6J("ngIf",s.userForm.showError("confirmnewpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",s.userForm.showError("confirmnewpassword",l,"match")),e.xp6(2),e.Q6J("form",s.userForm)("submitText",e.lcZ(43,21,s.action)+" "+e.lcZ(44,23,s.resource))}},dependencies:[f.O5,se._Y,se.Fj,se.JJ,se.JL,se.sg,se.u,je.S,lt.p,B.U,$f.C,Ht.o,wn.b,ar.P,cr.V,f.rS,_i.m],styles:["#oldpassword.is-valid[_ngcontent-%COMP%]{background-image:unset;border-color:#ced4da}"]}),t})();function RO(t,i){1&t&&(e.TgZ(0,"span",16),e.SDv(1,17),e.qZA())}function PO(t,i){1&t&&(e.TgZ(0,"span",16),e.SDv(1,18),e.qZA())}function FR(t,i){1&t&&(e.TgZ(0,"span",16),e.SDv(1,19),e.qZA())}function LR(t,i){1&t&&(e.TgZ(0,"span",16),e.SDv(1,20),e.qZA())}function kR(t,i){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.hij(" ",n.passwordValuation," ")}}function $R(t,i){1&t&&(e.TgZ(0,"span",16),e.SDv(1,21),e.qZA())}function HR(t,i){1&t&&(e.TgZ(0,"span",16),e.SDv(1,22),e.qZA())}let xO=(()=>{class t extends YT{constructor(n,s,l,_,g,M,x,Y){super(n,s,l,_,g,M,x),this.actionLabels=n,this.notificationService=s,this.userService=l,this.authStorageService=_,this.formBuilder=g,this.router=M,this.passwordPolicyService=x,this.authService=Y}onPasswordChange(){this.authService.logout()}onCancel(){this.authService.logout()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Dr.p4),e.Y36(Le.g),e.Y36(z1.K),e.Y36(fa.j),e.Y36(Xd.O),e.Y36(Ce.F0),e.Y36(IE.q),e.Y36(ny.e))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-login-password-form"]],features:[e.qOj],decls:31,vars:19,consts:function(){let i,n,s,l,_,g,M,x;return i="Please set a new password.",n="You will be redirected to the login page afterwards.",s="This field is required.",l="The old and new passwords must be different.",_="This field is required.",g="The old and new passwords must be different.",M="This field is required.",x="Password confirmation doesn't match the new password.",[i,n,["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"form-group","has-feedback"],[1,"input-group"],["type","password","placeholder","Old password...","id","oldpassword","formControlName","oldpassword","autocomplete","new-password","autofocus","",1,"form-control"],["cdPasswordButton","oldpassword",1,"btn","btn-outline-light","btn-password"],["class","invalid-feedback",4,"ngIf"],["type","password","placeholder","New password...","id","newpassword","autocomplete","new-password","formControlName","newpassword",1,"form-control"],["type","button","cdPasswordButton","newpassword",1,"btn","btn-outline-light","btn-password"],[1,"password-strength-level"],["data-toggle","tooltip",3,"title"],["type","password","autocomplete","new-password","placeholder","Confirm new password...","id","confirmnewpassword","formControlName","confirmnewpassword",1,"form-control"],["cdPasswordButton","confirmnewpassword",1,"btn","btn-outline-light","btn-password"],["wrappingClass","text-right",3,"form","disabled","submitText","submitActionEvent","backActionEvent"],[1,"invalid-feedback"],s,l,_,g,M,x]},template:function(n,s){if(1&n&&(e.TgZ(0,"div")(1,"h2"),e.SDv(2,0),e.qZA(),e.TgZ(3,"h4"),e.SDv(4,1),e.qZA(),e.TgZ(5,"form",2,3)(7,"div",4)(8,"div",5),e._UZ(9,"input",6)(10,"button",7),e.qZA(),e.YNc(11,RO,2,0,"span",8),e.YNc(12,PO,2,0,"span",8),e.qZA(),e.TgZ(13,"div",4)(14,"div",5),e._UZ(15,"input",9)(16,"button",10),e.qZA(),e.TgZ(17,"div",11),e._UZ(18,"div",12),e.qZA(),e.YNc(19,FR,2,0,"span",8),e.YNc(20,LR,2,0,"span",8),e.YNc(21,kR,2,1,"span",8),e.qZA(),e.TgZ(22,"div",4)(23,"div",5),e._UZ(24,"input",13)(25,"button",14),e.qZA(),e.YNc(26,$R,2,0,"span",8),e.YNc(27,HR,2,0,"span",8),e.qZA(),e.TgZ(28,"cd-form-button-panel",15),e.NdJ("submitActionEvent",function(){return s.onSubmit()})("backActionEvent",function(){return s.onCancel()}),e.ALo(29,"titlecase"),e.ALo(30,"upperFirst"),e.qZA()()()),2&n){const l=e.MAs(6);e.xp6(5),e.Q6J("formGroup",s.userForm),e.xp6(6),e.Q6J("ngIf",s.userForm.showError("oldpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",s.userForm.showError("oldpassword",l,"notmatch")),e.xp6(6),e.Tol(s.passwordStrengthLevelClass),e.s9C("title",s.passwordValuation),e.xp6(1),e.Q6J("ngIf",s.userForm.showError("newpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",s.userForm.showError("newpassword",l,"notmatch")),e.xp6(1),e.Q6J("ngIf",s.userForm.showError("newpassword",l,"passwordPolicy")),e.xp6(5),e.Q6J("ngIf",s.userForm.showError("confirmnewpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",s.userForm.showError("confirmnewpassword",l,"match")),e.xp6(1),e.Q6J("form",s.userForm)("disabled",s.userForm.invalid)("submitText",e.lcZ(29,15,s.action)+" "+e.lcZ(30,17,s.resource))}},dependencies:[f.O5,se._Y,se.Fj,se.JJ,se.JL,se.sg,se.u,lt.p,B.U,$f.C,Ht.o,wn.b,ar.P,cr.V,f.rS,_i.m],styles:["cd-login-password-form h4{margin:0 0 30px} cd-login-password-form .form-group{background-color:#2e373d;border-left:4px solid #fff} cd-login-password-form .form-group:focus-within{border-left:4px solid #25828e} cd-login-password-form .btn-password, cd-login-password-form .btn-password:focus, cd-login-password-form .form-control, cd-login-password-form .form-control:focus{background-color:#2e373d;border:0;box-shadow:none;color:#f8f9fa;filter:none;outline:none} cd-login-password-form .form-control::placeholder{color:#6c757d} cd-login-password-form .btn-password:focus{outline-color:#25828e} cd-login-password-form button.btn:not(:first-child){margin-left:5px}@keyframes _ngcontent-%COMP%_autofill{to{background-color:#2e373d;color:#f8f9fa}}input[_ngcontent-%COMP%]:-webkit-autofill{animation-fill-mode:both;animation-name:_ngcontent-%COMP%_autofill;border-radius:0;box-shadow:0 0 0 1000px #2e373d inset;-webkit-text-fill-color:#f8f9fa;-webkit-transition-property:none;transition-property:none}.invalid-feedback[_ngcontent-%COMP%]{padding-left:9px}.is-invalid.cd-form-control[_ngcontent-%COMP%]{border-color:transparent}#oldpassword.is-valid[_ngcontent-%COMP%]{background-image:unset;border-color:transparent}"]}),t})();class iy{}function wO(t,i){1&t&&(e.TgZ(0,"div",21),e.SDv(1,22),e.qZA())}function NO(t,i){1&t&&(e.TgZ(0,"div",21),e.SDv(1,23),e.qZA())}function jT(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",1)(1,"h1",2),e._uU(2,"Ceph login"),e.qZA(),e.TgZ(3,"form",3,4),e.NdJ("ngSubmit",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.login())}),e.TgZ(5,"div",5)(6,"label",6),e.SDv(7,7),e.qZA(),e.TgZ(8,"input",8,9),e.NdJ("ngModelChange",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.model.username=l)}),e.qZA(),e.YNc(10,wO,2,0,"div",10),e.qZA(),e.TgZ(11,"div",11)(12,"div",12)(13,"div",13)(14,"label",14),e.SDv(15,15),e.qZA(),e.TgZ(16,"input",16,17),e.NdJ("ngModelChange",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.model.password=l)}),e.qZA(),e.YNc(18,NO,2,0,"div",10),e.qZA(),e.TgZ(19,"span",18),e._UZ(20,"button",19),e.qZA()()(),e._UZ(21,"input",20),e.qZA()()}if(2&t){const n=e.MAs(4),s=e.MAs(9),l=e.MAs(17),_=e.oxw();e.xp6(8),e.Q6J("ngModel",_.model.username),e.uIk("aria-invalid",s.invalid),e.xp6(2),e.Q6J("ngIf",(n.submitted||s.dirty)&&s.invalid),e.xp6(6),e.Q6J("ngModel",_.model.password),e.uIk("aria-invalid",l.invalid),e.xp6(2),e.Q6J("ngIf",(n.submitted||l.dirty)&&l.invalid),e.xp6(3),e.Q6J("disabled",n.invalid)}}let qg=(()=>{class t{constructor(n,s,l,_,g){this.authService=n,this.authStorageService=s,this.modalService=l,this.route=_,this.router=g,this.model=new iy,this.isLoginActive=!1,this.postInstalled=!1}ngOnInit(){if(this.authStorageService.isLoggedIn())this.router.navigate([""]);else{this.modalService.dismissAll();let n=null;if(-1!==window.location.hash.indexOf("access_token=")){n=window.location.hash.split("access_token=")[1];const s=window.location.toString();window.history.replaceState({},document.title,s.split("?")[0])}this.authService.check(n).subscribe(s=>{s.login_url?(this.postInstalled="POST_INSTALLED"===s.cluster_status,"#/login"===s.login_url?this.isLoginActive=!0:window.location.replace(s.login_url)):(this.authStorageService.set(s.username,s.permissions,s.sso,s.pwdExpirationDate),this.router.navigate([""]))})}}login(){this.authService.login(this.model).subscribe(()=>{const n=this.postInstalled?"/":"/expand-cluster";let s=Ke().get(this.route.snapshot.queryParams,"returnUrl",n);!this.postInstalled&&"/dashboard"===this.route.snapshot.queryParams.returnUrl&&(s="/expand-cluster"),this.router.navigate([s])})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(ny.e),e.Y36(fa.j),e.Y36(tc.Z),e.Y36(Ce.gz),e.Y36(Ce.F0))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-login"]],decls:1,vars:1,consts:function(){let i,n,s,l,_;return i="Username",n="Password",s="Log in",l="Username is required",_="Password is required",[["class","container",4,"ngIf"],[1,"container"],[1,"sr-only"],["name","loginForm","novalidate","",3,"ngSubmit"],["loginForm","ngForm"],[1,"form-group","has-feedback","d-flex","flex-column","py-3"],["for","username",1,"ps-3"],i,["id","username","name","username","type","text","aria-labelledby","username","required","","autofocus","",1,"form-control","ps-3",3,"ngModel","ngModelChange"],["username","ngModel"],["class","invalid-feedback ps-3",4,"ngIf"],["id","password-div",1,"form-group","has-feedback"],[1,"input-group","d-flex","flex-nowrap"],[1,"d-flex","flex-column","flex-grow-1","py-3"],["for","password",1,"ps-3"],n,["id","password","name","password","type","password","aria-labelledby","password","required","",1,"form-control","ps-3",3,"ngModel","ngModelChange"],["password","ngModel"],[1,"form-group-append"],["type","button","cdPasswordButton","password","aria-label","toggle-password",1,"btn","btn-outline-light","btn-password","h-100","px-4"],["type","submit","value",s,1,"btn","btn-accent","px-5","py-2",3,"disabled"],[1,"invalid-feedback","ps-3"],l,_]},template:function(n,s){1&n&&e.YNc(0,jT,22,7,"div",0),2&n&&e.Q6J("ngIf",s.isLoginActive)},dependencies:[f.O5,se._Y,se.Fj,se.JJ,se.JL,se.Q7,se.On,se.F,B.U,$f.C,Ht.o,wn.b,ar.P],styles:["cd-login .form-group{background-color:#2e373d;border-left:4px solid #fff;height:auto;margin-bottom:2rem} cd-login .form-group:focus-within{border-left:4px solid #25828e} cd-login .btn-password, cd-login .btn-password:focus, cd-login .form-control, cd-login .form-control:focus{background-color:#2e373d;border:0;box-shadow:none;color:#f8f9fa;filter:none;outline:none} cd-login label{color:#adb5bd} cd-login .btn-password:focus{outline-color:#25828e}@keyframes _ngcontent-%COMP%_autofill{to{background-color:#2e373d;color:#f8f9fa}}input[_ngcontent-%COMP%]:-webkit-autofill{animation-fill-mode:both;animation-name:_ngcontent-%COMP%_autofill;border-radius:0;box-shadow:0 0 0 1000px #2e373d inset;-webkit-text-fill-color:#f8f9fa;-webkit-transition-property:none;transition-property:none}"]}),t})();var FE=o(72625);function LE(t,i){if(1&t&&(e.TgZ(0,"h4",14),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.message)}}function kE(t,i){if(1&t&&(e.TgZ(0,"h4"),e.tHW(1,15),e._UZ(2,"a",16),e.N_p(),e.qZA()),2&t){const n=e.oxw(2);e.xp6(2),e.s9C("href",n.docUrl,e.LSH),e.pQV(n.sectionInfo),e.QtT(1)}}function IO(t,i){if(1&t&&(e.TgZ(0,"div"),e._UZ(1,"i",10),e.TgZ(2,"div",11)(3,"h3")(4,"b"),e._uU(5),e.qZA()(),e.YNc(6,LE,2,1,"h4",12),e.YNc(7,kE,3,2,"h4",13),e.qZA()()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",n.icon),e.xp6(4),e.Oqu(n.header),e.xp6(1),e.Q6J("ngIf",n.header!==n.message),e.xp6(1),e.Q6J("ngIf",n.section)}}function $E(t,i){if(1&t&&(e.TgZ(0,"button",20),e.SDv(1,21),e.qZA()),2&t){const n=e.oxw(2);e.Q6J("routerLink",n.buttonRoute),e.xp6(1),e.pQV(n.buttonName),e.QtT(1)}}function HE(t,i){if(1&t&&(e.TgZ(0,"button",22),e.SDv(1,23),e.qZA()),2&t){const n=e.oxw(2);e.Q6J("routerLink",n.secondaryButtonRoute),e.xp6(1),e.pQV(n.secondaryButtonName),e.QtT(1)}}function oy(t,i){if(1&t&&(e.TgZ(0,"div",17),e.YNc(1,$E,2,2,"button",18),e.YNc(2,HE,2,2,"button",19),e.qZA()),2&t){const n=e.oxw(),s=e.MAs(11);e.xp6(1),e.Q6J("ngIf",!n.uiConfig)("ngIfElse",s),e.xp6(1),e.Q6J("ngIf",n.secondaryButtonName&&n.secondaryButtonRoute)}}function UR(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",25),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.doConfigure())}),e.SDv(1,26),e.qZA()}if(2&t){const n=e.oxw(2);e.uIk("title",n.buttonTitle),e.xp6(1),e.pQV(n.buttonName),e.QtT(1)}}function BR(t,i){if(1&t&&e.YNc(0,UR,2,2,"button",24),2&t){const n=e.oxw();e.Q6J("ngIf",n.uiConfig)}}function GR(t,i){1&t&&(e._UZ(0,"i",27),e.TgZ(1,"div",11)(2,"h3"),e.tHW(3,28),e._UZ(4,"b"),e.N_p(),e.qZA(),e.TgZ(5,"h4",5),e.SDv(6,29),e.qZA()())}function YR(t,i){1&t&&(e.TgZ(0,"div",11)(1,"button",30),e.SDv(2,31),e.qZA()()),2&t&&(e.xp6(1),e.Q6J("routerLink","/dashboard"))}let ZT=(()=>{class t{constructor(n,s,l,_){this.router=n,this.docService=s,this.http=l,this.notificationService=_}ngOnInit(){this.fetchData(),this.routerSubscription=this.router.events.pipe((0,as.h)(n=>n instanceof Ce.m2)).subscribe(()=>{this.fetchData()})}doConfigure(){this.http.post(`ui-api/${this.uiApiPath}/configure`,{}).subscribe({next:()=>{this.notificationService.show(ua.k.info,`Configuring ${this.component}`)},error:n=>{this.notificationService.show(ua.k.error,n)},complete:()=>{setTimeout(()=>{this.router.navigate([this.uiApiPath]),this.notificationService.show(ua.k.success,`Configured ${this.component}`)},3e3)}})}unloadHandler(n){n.returnValue=!1}fetchData(){try{this.router.onSameUrlNavigation="reload",this.message=history.state.message,this.header=history.state.header,this.section=history.state.section,this.sectionInfo=history.state.section_info,this.icon=history.state.icon,this.source=history.state.source,this.uiConfig=history.state.uiConfig,this.uiApiPath=history.state.uiApiPath,this.buttonRoute=history.state.button_route,this.buttonName=history.state.button_name,this.buttonTitle=history.state.button_title,this.secondaryButtonRoute=history.state.secondary_button_route,this.secondaryButtonName=history.state.secondary_button_name,this.secondaryButtonTitle=history.state.secondary_button_title,this.component=history.state.component,this.docUrl=this.docService.urlGenerator(this.section)}catch{this.router.navigate(["/error"])}}ngOnDestroy(){this.routerSubscription&&this.routerSubscription.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ce.F0),e.Y36(FE.R),e.Y36(h.eN),e.Y36(Le.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-error"]],hostBindings:function(n,s){1&n&&e.NdJ("beforeunload",function(_){return s.unloadHandler(_)},!1,e.Jf7)},decls:16,vars:4,consts:function(){let i,n,s,l,_,g,M;return i="Please consult the " + "\ufffd#2\ufffd" + "documentation" + "\ufffd/#2\ufffd" + " on how to configure and enable the " + "\ufffd0\ufffd" + " management functionality. ",n="" + "\ufffd0\ufffd" + "",s="" + "\ufffd0\ufffd" + "",l="" + "\ufffd0\ufffd" + "",_="" + "\ufffd#4\ufffd" + "Page not Found" + "\ufffd/#4\ufffd" + "",g="Sorry, we couldn\u2019t find what you were looking for. The page you requested may have been changed or moved.",M="Go To Dashboard",[["target","_blank"],[1,"container","h-75"],[1,"row","h-100","justify-content-center","align-items-center"],[1,"blank-page"],[4,"ngIf","ngIfElse"],[1,"mt-4"],["class","text-center",4,"ngIf","ngIfElse"],["configureButtonTpl",""],["elseBlock",""],["dashboardButton",""],[1,"mx-auto","d-block",3,"ngClass"],[1,"mt-4","text-center"],["class","mt-3",4,"ngIf"],[4,"ngIf"],[1,"mt-3"],i,[3,"href"],[1,"text-center"],["class","btn btn-primary ms-1",3,"routerLink",4,"ngIf","ngIfElse"],["class","btn btn-light ms-1",3,"routerLink",4,"ngIf"],[1,"btn","btn-primary","ms-1",3,"routerLink"],n,[1,"btn","btn-light","ms-1",3,"routerLink"],s,["class","btn btn-primary",3,"click",4,"ngIf"],[1,"btn","btn-primary",3,"click"],l,[1,"fa","fa-exclamation-triangle","mx-auto","d-block","text-danger"],_,g,[1,"btn","btn-primary",3,"routerLink"],M]},template:function(n,s){if(1&n&&(e.TgZ(0,"head")(1,"title"),e._uU(2,"Error Page"),e.qZA(),e._UZ(3,"base",0),e.qZA(),e.TgZ(4,"div",1)(5,"div",2)(6,"div",3),e.YNc(7,IO,8,4,"div",4),e.TgZ(8,"div",5),e.YNc(9,oy,3,3,"div",6),e.qZA()()()(),e.YNc(10,BR,1,1,"ng-template",null,7,e.W1O),e.YNc(12,GR,7,0,"ng-template",null,8,e.W1O),e.YNc(14,YR,3,1,"ng-template",null,9,e.W1O)),2&n){const l=e.MAs(13),_=e.MAs(15);e.xp6(7),e.Q6J("ngIf",s.header&&s.message)("ngIfElse",l),e.xp6(2),e.Q6J("ngIf",s.buttonName&&s.buttonRoute||s.uiConfig)("ngIfElse",_)}},dependencies:[f.mk,f.O5,Ce.rH,Ht.o],styles:["h4[_ngcontent-%COMP%]{color:#495057}i[_ngcontent-%COMP%]{font-size:6em;margin-top:120px}.fa-lock[_ngcontent-%COMP%]{color:#dc3545}.fa-wrench[_ngcontent-%COMP%]{color:#25828e}"]}),t})(),FO=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-blank-layout"]],decls:1,vars:0,template:function(n,s){1&n&&e._UZ(0,"router-outlet")},dependencies:[Ce.lC]}),t})();var zT=o(92340);let LO=(()=>{class t{constructor(n,s){this.http=n,this.localeId=s}getLocale(){return this.localeId||zT.N.default_lang}setLocale(n){document.cookie=`cd-lang=${n}`}getLanguages(){return this.http.get("ui-api/langs")}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN),e.LFG(e.soG))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var qv=(()=>{return(t=qv||(qv={})).cs="\u010ce\u0161tina",t.de="Deutsch",t["en-US"]="English",t.es="Espa\xf1ol",t.fr="Fran\xe7ais",t.id="Bahasa Indonesia",t.it="Italiano",t.ja="\u65e5\u672c\u8a9e",t.ko="\ud55c\uad6d\uc5b4",t.pl="Polski",t.pt="Portugu\xeas (brasileiro)",t["zh-Hans"]="\u4e2d\u6587 (\u7b80\u4f53)",t["zh-Hant"]="\u4e2d\u6587 (\u7e41\u9ad4\uff09",qv;var t})();function VT(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"button",4),e.NdJ("click",function(){const _=e.CHM(n).$implicit,g=e.oxw();return e.KtG(g.changeLanguage(_.key))}),e._uU(2),e.qZA(),e.BQk()}if(2&t){const n=i.$implicit;e.xp6(2),e.hij(" ",n.value," ")}}let UE=(()=>{class t{constructor(n){this.languageService=n,this.allLanguages=qv,this.supportedLanguages={}}ngOnInit(){this.selectedLanguage=this.languageService.getLocale(),this.languageService.getLanguages().subscribe(n=>{this.supportedLanguages=Ke().pick(qv,n)})}reloadWindow(){window.location.reload()}changeLanguage(n){this.languageService.setLocale(n),this.reloadWindow()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(LO))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-language-selector"]],decls:6,vars:4,consts:function(){let i;return i="Select a Language",[["ngbDropdown","","display","dynamic","placement","bottom-right"],["ngbDropdownToggle","","id","toggle-language-button","title",i,"role","button"],["ngbDropdownMenu","","role","listbox","aria-labelledby","toggle-language-button"],[4,"ngFor","ngForOf"],["ngbDropdownItem","","role","option",3,"click"]]},template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"a",1),e._uU(2),e.qZA(),e.TgZ(3,"div",2),e.YNc(4,VT,3,1,"ng-container",3),e.ALo(5,"keyvalue"),e.qZA()()),2&n&&(e.xp6(2),e.hij(" ",s.allLanguages[s.selectedLanguage]," "),e.xp6(2),e.Q6J("ngForOf",e.lcZ(5,2,s.supportedLanguages)))},dependencies:[f.sg,Ht.o,Be.jt,Be.iD,Be.Vi,Be.TH,f.Nd]}),t})(),WT=(()=>{class t{constructor(n){this.http=n,this.baseUiURL="ui-api/login/custom_banner"}getBannerText(){return this.http.get(this.baseUiURL)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function kO(t,i){if(1&t&&(e.TgZ(0,"p",1),e._uU(1),e.qZA()),2&t){const n=i.ngIf;e.xp6(1),e.Oqu(n)}}let $O=(()=>{class t{constructor(n){this.customLoginBannerService=n}ngOnInit(){this.bannerText$=this.customLoginBannerService.getBannerText()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(WT))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-custom-login-banner"]],decls:2,vars:3,consts:[["class","login-text",4,"ngIf"],[1,"login-text"]],template:function(n,s){1&n&&(e.YNc(0,kO,2,1,"p",0),e.ALo(1,"async")),2&n&&e.Q6J("ngIf",e.lcZ(1,1,s.bannerText$))},dependencies:[f.O5,f.Ov],styles:[".login-text[_ngcontent-%COMP%]{font-weight:700;margin:0;padding:12px 20% 12px 12px}"]}),t})();function JT(t,i){if(1&t&&(e.TgZ(0,"li",11)(1,"cd-doc",12),e.DtL(2,13),e.qZA()()),2&t){const n=i.$implicit;e.xp6(1),e.pQV(n.text),e.QtT(2),e.s9C("section",n.section)}}let BE=(()=>{class t{constructor(){this.docItems=[{section:"help",text:"Help"},{section:"security",text:"Security"},{section:"trademarks",text:"Trademarks"}]}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-login-layout"]],decls:16,vars:1,consts:function(){let i;return i="" + "\ufffd0\ufffd" + "",[[1,"login","full-height"],[1,"navbar","p-4"],[1,"navbar-brand"],[1,"form-inline"],[1,"container"],[1,"row","full-height"],[1,"col-sm-12","col-md-6","d-sm-block","login-form"],[1,"col-sm-12","col-md-6","d-sm-block","branding-info"],["src","assets/Ceph_Ceph_Logo_with_text_white.svg","alt","Ceph",1,"img-fluid","pb-3"],[1,"list-inline"],["class","list-inline-item p-3",4,"ngFor","ngForOf"],[1,"list-inline-item","p-3"],["noSubscribe","true",3,"section",6,"docText"],["docText",i]]},template:function(n,s){1&n&&(e.TgZ(0,"main",0)(1,"header")(2,"nav",1),e._UZ(3,"a",2),e.TgZ(4,"div",3),e._UZ(5,"cd-language-selector"),e.qZA()()(),e.TgZ(6,"section")(7,"div",4)(8,"div",5)(9,"div",6),e._UZ(10,"router-outlet"),e.qZA(),e.TgZ(11,"div",7),e._UZ(12,"img",8),e.TgZ(13,"ul",9),e.YNc(14,JT,3,2,"li",10),e.qZA(),e._UZ(15,"cd-custom-login-banner"),e.qZA()()()()()),2&n&&(e.xp6(14),e.Q6J("ngForOf",s.docItems))},dependencies:[f.sg,Ce.lC,UE,Kd.K,$O],styles:["cd-login-layout .login{background-color:#374249;background-image:url(ceph_background.3fbdf95cd52530d7.gif);background-position:right bottom;background-repeat:no-repeat;color:#f8f9fa} cd-login-layout .login header{position:absolute;width:100vw} cd-login-layout .login header .navbar .dropdown-menu{margin-top:.2rem} cd-login-layout .login header .navbar .dropdown-menu li a:hover{background-color:#25828e} cd-login-layout .login section{display:inline-flex;min-height:100vh;width:100vw} cd-login-layout .login .list-inline{margin-bottom:0;margin-left:17%} cd-login-layout .login a{color:#fff} cd-login-layout .login a:hover{color:#adb5bd}@media screen and (min-width: 576px){ cd-login-layout .login .login-form, cd-login-layout .login .branding-info{padding-top:30vh}}@media screen and (max-width: 767px){ cd-login-layout .login .login-form{padding-top:10vh} cd-login-layout .login .branding-info{padding-top:0}}"]}),t})(),HO=(()=>{class t{constructor(n,s,l){this.document=n,this.summaryService=s,this.cssHelper=l}init(){this.url=this.document.getElementById("cdFavicon")?.getAttribute("href"),this.sub=this.summaryService.subscribe(n=>{this.changeIcon(n.health_status)})}changeIcon(n){if(n===this.oldStatus)return;this.oldStatus=n;const s=this.document.getElementById("cdFavicon"),g=this.document.createElement("canvas");g.width=16,g.height=16;const M=g.getContext("2d"),x=this.document.createElement("img");x.src=this.url,x.onload=()=>{M.drawImage(x,0,0,16,16),Object.keys(Xg).includes(n)&&(M.save(),M.globalCompositeOperation="destination-out",M.beginPath(),M.arc(g.width-4,4,6,0,2*Math.PI),M.fill(),M.restore(),M.beginPath(),M.arc(g.width-4,4,4,0,2*Math.PI),M.fillStyle=this.cssHelper.propertyValue(Xg[n]),M.fill()),s.setAttribute("href",g.toDataURL("image/png"))}}ngOnDestroy(){this.changeIcon(),this.sub?.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(f.K0),e.LFG(zm.J),e.LFG(gg.P))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})();var QT=o(71099),sy=o(59193);class KT{constructor(i,n){this.count=i,this.source=n}call(i,n){return n.subscribe(new jR(i,this.count,this.source))}}class jR extends ks.L{constructor(i,n,s){super(i),this.count=n,this.source=s}complete(){if(!this.isStopped){const{source:i,count:n}=this;if(0===n)return super.complete();n>-1&&(this.count=n-1),i.subscribe(this._unsubscribeAndRecycle())}}}var ZR=o(2817);let BO=(()=>{class t{constructor(n){this.http=n,this.url="ui-api/motd"}get(){return this.http.get(this.url)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),XT=(()=>{class t{constructor(n){this.motdService=n,this.motdSource=new ii.X(null),this.localStorageKey="dashboard_motd_hidden",this.motd$=this.motdSource.asObservable(),this.subscription=(0,Dt.of)(!0).pipe((0,Md.zg)(()=>this.motdService.get()),(0,zn.K)(s=>(gt.isFunction(s.preventDefault)&&s.preventDefault(),sy.E)),(0,oa.b)(s=>this.processResponse(s)),(0,kg.g)(6e4),function UO(t=-1){return i=>0===t?(0,sy.c)():i.lift(new KT(t<0?-1:t-1,i))}(),(0,ZR.r)()).subscribe()}ngOnDestroy(){this.subscription.unsubscribe()}hide(){const n=this.motdSource.getValue();if(n){const s=`${n.severity}:${n.md5}`;switch(n.severity){case"info":localStorage.setItem(this.localStorageKey,s),sessionStorage.removeItem(this.localStorageKey);break;case"warning":sessionStorage.setItem(this.localStorageKey,s),localStorage.removeItem(this.localStorageKey)}}this.motdSource.next(null)}processResponse(n){const s=sessionStorage.getItem(this.localStorageKey)||localStorage.getItem(this.localStorageKey);let l=gt.isNull(s);if(!l&&n){const[_,g]=s.split(":");(_!==n.severity||g!==n.md5)&&(l=!0,sessionStorage.removeItem(this.localStorageKey),localStorage.removeItem(this.localStorageKey))}l&&this.motdSource.next(n)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(BO))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class zR{constructor(i){if(this._maxConcurrency=i,this._queue=[],i<=0)throw new Error("semaphore must be initialized to a positive value");this._value=i}acquire(){const i=this.isLocked(),n=new Promise(s=>this._queue.push(s));return i||this._dispatch(),n}runExclusive(i){return function(t,i,n,s){return new(n||(n=Promise))(function(_,g){function M(K){try{Y(s.next(K))}catch(le){g(le)}}function x(K){try{Y(s.throw(K))}catch(le){g(le)}}function Y(K){K.done?_(K.value):function l(_){return _ instanceof n?_:new n(function(g){g(_)})}(K.value).then(M,x)}Y((s=s.apply(t,i||[])).next())})}(this,void 0,void 0,function*(){const[n,s]=yield this.acquire();try{return yield i(n)}finally{s()}})}isLocked(){return this._value<=0}release(){if(this._maxConcurrency>1)throw new Error("this method is unavailabel on semaphores with concurrency > 1; use the scoped release returned by acquire instead");this._currentReleaser&&(this._currentReleaser(),this._currentReleaser=void 0)}_dispatch(){const i=this._queue.shift();if(!i)return;let n=!1;this._currentReleaser=()=>{n||(n=!0,this._value++,this._dispatch())},i([this._value--,this._currentReleaser])}}class WR{constructor(){this._semaphore=new zR(1)}acquire(){return function(t,i,n,s){return new(n||(n=Promise))(function(_,g){function M(K){try{Y(s.next(K))}catch(le){g(le)}}function x(K){try{Y(s.throw(K))}catch(le){g(le)}}function Y(K){K.done?_(K.value):function l(_){return _ instanceof n?_:new n(function(g){g(_)})}(K.value).then(M,x)}Y((s=s.apply(t,i||[])).next())})}(this,void 0,void 0,function*(){const[,i]=yield this._semaphore.acquire();return i})}runExclusive(i){return this._semaphore.runExclusive(()=>i())}isLocked(){return this._semaphore.isLocked()}release(){this._semaphore.release()}}let QR=(()=>{class t{constructor(n,s){this.alertFormatter=n,this.prometheusService=s,this.backendFailure=!1,this.notifications=[]}refresh(){this.backendFailure||this.prometheusService.getNotifications(Ke().last(this.notifications)).subscribe(n=>this.handleNotifications(n),()=>this.backendFailure=!0)}handleNotifications(n){0!==n.length&&(this.notifications.length>0&&this.alertFormatter.sendNotifications(Ke().flatten(n.map(s=>this.formatNotification(s)))),this.notifications=this.notifications.concat(n))}formatNotification(n){return this.alertFormatter.convertToCustomAlerts(n.alerts).map(s=>this.alertFormatter.convertAlertToNotification(s))}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(JM),e.LFG(Zm.Q))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var KR=o(57924),XR=o(90504);const qT=function(t,i){return[t,i]},jO=function(t,i,n,s){return[t,i,n,s]};function qR(t,i){if(1&t&&(e.TgZ(0,"div")(1,"div",11)(2,"div",12)(3,"div",13)(4,"span",14),e._UZ(5,"i",15)(6,"i",15),e.qZA()(),e.TgZ(7,"div",16)(8,"div",17)(9,"h6",18),e._uU(10),e.qZA(),e.TgZ(11,"div",19),e._UZ(12,"ngb-progressbar",20),e.qZA(),e.TgZ(13,"p",21)(14,"small",22),e._uU(15),e.ALo(16,"cdDate"),e.qZA(),e.TgZ(17,"span",23),e._uU(18),e.qZA()()()()()(),e._UZ(19,"hr"),e.qZA()),2&t){const n=i.$implicit,s=e.oxw(2);e.xp6(4),e.Q6J("ngClass",e.WLB(11,qT,s.icons.stack,s.icons.large2x)),e.xp6(1),e.Q6J("ngClass",e.WLB(14,qT,s.icons.stack2x,s.icons.circle)),e.xp6(1),e.Q6J("ngClass",e.l5B(17,jO,s.icons.stack1x,s.icons.spinner,s.icons.spin,s.icons.inverse)),e.xp6(4),e.Oqu(n.description),e.xp6(2),e.Q6J("value",null==n?null:n.progress)("striped",!0)("animated",!0),e.xp6(3),e.hij(" ",e.lcZ(16,9,n.begin_time)," "),e.xp6(3),e.hij(" ",n.progress||0," % ")}}function d(t,i){if(1&t&&e.YNc(0,qR,20,22,"div",10),2&t){const n=e.oxw();e.Q6J("ngForOf",n.executingTasks)("ngForTrackBy",n.trackByFn)}}const p=function(t){return[t]};function m(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",37),e.NdJ("click",function(){e.CHM(n);const l=e.oxw().$implicit,_=e.oxw(3);return e.KtG(_.silence(l))}),e._UZ(1,"i",15),e.qZA()}if(2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(1,p,n.icons.mute))}}function P(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",38),e.NdJ("click",function(){e.CHM(n);const l=e.oxw().$implicit,_=e.oxw(3);return e.KtG(_.expire(l))}),e._UZ(1,"i",15),e.qZA()}if(2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(1,p,n.icons.bell))}}function H(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"small"),e.ynx(2),e.SDv(3,39),e.BQk(),e._uU(4),e.ALo(5,"duration"),e.qZA(),e._UZ(6,"br"),e.BQk()),2&t){const n=e.oxw().$implicit;e.xp6(4),e.hij(" ",e.lcZ(5,1,n.duration)," ")}}const te=function(t,i,n){return[t,i,n]};function Ee(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",15)(1,"div",29)(2,"div",12)(3,"div",13)(4,"span",15),e._UZ(5,"i",15)(6,"i",15),e.qZA()(),e.TgZ(7,"div",30)(8,"div",17)(9,"button",31),e.NdJ("click",function(l){const g=e.CHM(n).index;return e.oxw(3).remove(g),e.KtG(l.stopPropagation())}),e._UZ(10,"i",15),e.qZA(),e.YNc(11,m,2,3,"button",32),e.YNc(12,P,2,3,"button",33),e.TgZ(13,"h6",18),e._uU(14),e.qZA(),e._UZ(15,"p",34),e.TgZ(16,"p",21),e.YNc(17,H,7,3,"ng-container",24),e.TgZ(18,"small",35),e.ALo(19,"cdDate"),e._uU(20),e.ALo(21,"relativeDate"),e.qZA(),e._UZ(22,"i",36),e.qZA()()()()(),e._UZ(23,"hr"),e.qZA()}if(2&t){const n=i.$implicit,s=e.oxw(3);e.Q6J("ngClass",n.borderClass),e.xp6(4),e.Q6J("ngClass",e.kEZ(18,te,s.icons.stack,s.icons.large2x,n.textClass)),e.xp6(1),e.Q6J("ngClass",e.WLB(22,qT,s.icons.circle,s.icons.stack2x)),e.xp6(1),e.Q6J("ngClass",e.kEZ(25,te,s.icons.stack1x,s.icons.inverse,n.iconClass)),e.xp6(4),e.Q6J("ngClass",e.VKq(29,p,s.icons.trash)),e.xp6(1),e.Q6J("ngIf","Prometheus"===n.application&&2!==n.type&&!n.alertSilenced),e.xp6(1),e.Q6J("ngIf","Prometheus"===n.application&&2!==n.type&&n.alertSilenced),e.xp6(2),e.Oqu(n.title),e.xp6(1),e.Q6J("innerHtml",n.message,e.oJD),e.xp6(2),e.Q6J("ngIf",n.duration),e.xp6(1),e.Q6J("title",e.lcZ(19,14,n.timestamp)),e.xp6(2),e.Oqu(e.lcZ(21,16,n.timestamp)),e.xp6(2),e.Q6J("ngClass",e.VKq(31,p,n.applicationClass))("title",n.application)}}function Ye(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"button",25),e.NdJ("click",function(l){return e.CHM(n),e.oxw(2).removeAll(),e.KtG(l.stopPropagation())}),e._UZ(2,"i",26),e._uU(3," \xa0 "),e.ynx(4),e.SDv(5,27),e.BQk(),e.qZA(),e._UZ(6,"hr"),e.YNc(7,Ee,24,33,"div",28),e.BQk()}if(2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(2,p,n.icons.trash)),e.xp6(5),e.Q6J("ngForOf",n.notifications)}}function nt(t,i){if(1&t&&e.YNc(0,Ye,8,4,"ng-container",24),2&t){const n=e.oxw();e.Q6J("ngIf",n.notifications.length>0)}}function Yt(t,i){1&t&&(e.TgZ(0,"div")(1,"div",40),e.SDv(2,41),e.qZA()())}function Mn(t,i){if(1&t&&e.YNc(0,Yt,3,0,"div",24),2&t){const n=e.oxw();e.Q6J("ngIf",0===n.notifications.length&&0===n.executingTasks.length)}}function ir(t,i){1&t&&e.GkF(0)}function ti(t,i){1&t&&e.GkF(0)}function Pi(t,i){1&t&&e.GkF(0)}let mo=(()=>{class t{constructor(n,s,l,_,g,M,x,Y,K,le){this.notificationService=n,this.summaryService=s,this.taskMessageService=l,this.prometheusNotificationService=_,this.succeededLabels=g,this.authStorageService=M,this.prometheusAlertService=x,this.prometheusService=Y,this.ngZone=K,this.cdRef=le,this.isSidebarOpened=!1,this.executingTasks=[],this.subs=new od.w,this.icons=ei.P,this.last_task="",this.mutex=new WR,this.simplebar={autoHide:!1},this.notifications=[]}ngOnDestroy(){window.clearInterval(this.interval),window.clearTimeout(this.timeout),this.subs.unsubscribe()}ngOnInit(){this.last_task=window.localStorage.getItem("last_task");const n=this.authStorageService.getPermissions();n.prometheus.read&&n.configOpt.read&&(this.triggerPrometheusAlerts(),this.ngZone.runOutsideAngular(()=>{this.interval=window.setInterval(()=>{this.ngZone.run(()=>{this.triggerPrometheusAlerts()})},5e3)})),this.subs.add(this.notificationService.data$.subscribe(s=>{this.notifications=Ke().orderBy(s,["timestamp"],["desc"]),this.cdRef.detectChanges()})),this.subs.add(this.notificationService.sidebarSubject.subscribe(s=>{this.isSidebarOpened=!s&&!this.isSidebarOpened,window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{this.cdRef.detectChanges()},0)})),this.subs.add(this.summaryService.subscribe(s=>{this._handleTasks(s.executing_tasks),this.mutex.acquire().then(l=>{Ke().filter(s.finished_tasks,_=>!this.last_task||fl()(_.end_time).isAfter(this.last_task)).forEach(_=>{const g=this.notificationService.finishedTaskToNotification(_,_.success),M=new Xy.e(g);M.timestamp=_.end_time,M.duration=_.duration,(!this.last_task||fl()(_.end_time).isAfter(this.last_task))&&(this.last_task=_.end_time,window.localStorage.setItem("last_task",this.last_task)),this.notificationService.save(M)}),this.cdRef.detectChanges(),l()})}))}_handleTasks(n){for(const s of n)s.description=this.taskMessageService.getRunningTitle(s);this.executingTasks=n}triggerPrometheusAlerts(){this.prometheusAlertService.refresh(),this.prometheusNotificationService.refresh()}removeAll(){this.notificationService.removeAll()}remove(n){this.notificationService.remove(n)}closeSidebar(){this.isSidebarOpened=!1}trackByFn(n){return n}silence(n){const s="YYYY-MM-DD HH:mm",l="silence",_={name:"alertname",value:n.title.split(" ")[0],isRegex:!1},g={matchers:[_],startsAt:fl()(fl()().format(s)).toISOString(),endsAt:fl()(fl()().add(2,"hours").format(s)).toISOString(),createdBy:this.authStorageService.getUsername(),comment:"Silence created from the alert notification"};let M="";n.alertSilenced=!0,M=M.concat(` ${_.name} - ${_.value},`);const x=`${this.succeededLabels.CREATED} ${l} for ${M.slice(0,-1)}`;this.prometheusService.setSilence(g).subscribe(Y=>{n&&(n.silenceId=Y.body.silenceId),this.notificationService.show(ua.k.success,x,void 0,void 0,"Prometheus")})}expire(n){n.alertSilenced=!1,this.prometheusService.expireSilence(n.silenceId).subscribe(()=>{this.notificationService.show(ua.k.success,`${this.succeededLabels.EXPIRED} ${n.silenceId}`,void 0,void 0,"Prometheus")},s=>{s.application="Prometheus"})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Le.g),e.Y36(zm.J),e.Y36(KR.p),e.Y36(QR),e.Y36(Dr.aX),e.Y36(fa.j),e.Y36(k1),e.Y36(Zm.Q),e.Y36(e.R0b),e.Y36(e.sBO))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-notifications-sidebar"]],hostVars:2,hostBindings:function(n,s){2&n&&e.ekj("active",s.isSidebarOpened)},decls:16,vars:5,consts:function(){let i,n,s,l,_,g,M;return i="Tasks and Notifications",n="Clear notifications",s="Remove notification",l="Silence Alert",_="Expire Silence",g="Duration:",M="There are no notifications.",[["tasksTpl",""],["notificationsTpl",""],["emptyTpl",""],[1,"card",3,"clickOutsideEnabled","clickOutside"],[1,"card-header"],i,["tabindex","-1","type","button","title","close",1,"btn-close","float-end",3,"click"],[3,"options"],[1,"card-body"],[4,"ngTemplateOutlet"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"card","tc_task","border-0"],[1,"row","no-gutters"],[1,"col-md-2","text-center"],[1,"text-info",3,"ngClass"],[3,"ngClass"],[1,"col-md-9"],[1,"card-body","p-1"],[1,"card-title","bold"],[1,"mb-1"],["type","info",3,"value","striped","animated"],[1,"card-text","text-muted"],[1,"date","float-start"],[1,"float-end"],[4,"ngIf"],["type","button",1,"btn","btn-light","btn-block",3,"click"],["aria-hidden","true",3,"ngClass"],n,[3,"ngClass",4,"ngFor","ngForOf"],[1,"card","tc_notification","border-0"],[1,"col-md-10"],["title",s,1,"btn","btn-link","float-end","mt-0","pt-0",3,"click"],["class","btn btn-link float-end text-muted mute m-0 p-0","title",l,3,"click",4,"ngIf"],["class","btn btn-link float-end text-muted mute m-0 p-0","title",_,3,"click",4,"ngIf"],[1,"card-text",3,"innerHtml"],[1,"date",3,"title"],[1,"float-end","custom-icon",3,"ngClass","title"],["title",l,1,"btn","btn-link","float-end","text-muted","mute","m-0","p-0",3,"click"],["title",_,1,"btn","btn-link","float-end","text-muted","mute","m-0","p-0",3,"click"],g,[1,"message","text-center"],M]},template:function(n,s){if(1&n&&(e.YNc(0,d,1,2,"ng-template",null,0,e.W1O),e.YNc(2,nt,1,1,"ng-template",null,1,e.W1O),e.YNc(4,Mn,1,1,"ng-template",null,2,e.W1O),e.TgZ(6,"div",3),e.NdJ("clickOutside",function(){return s.closeSidebar()}),e.TgZ(7,"div",4),e.ynx(8),e.SDv(9,5),e.BQk(),e.TgZ(10,"button",6),e.NdJ("click",function(){return s.closeSidebar()}),e.qZA()(),e.TgZ(11,"ngx-simplebar",7)(12,"div",8),e.YNc(13,ir,1,0,"ng-container",9),e.YNc(14,ti,1,0,"ng-container",9),e.YNc(15,Pi,1,0,"ng-container",9),e.qZA()()()),2&n){const l=e.MAs(1),_=e.MAs(3),g=e.MAs(5);e.xp6(6),e.Q6J("clickOutsideEnabled",s.isSidebarOpened),e.xp6(5),e.Q6J("options",s.simplebar),e.xp6(2),e.Q6J("ngTemplateOutlet",l),e.xp6(1),e.Q6J("ngTemplateOutlet",_),e.xp6(1),e.Q6J("ngTemplateOutlet",g)}},dependencies:[f.mk,f.sg,f.O5,f.tP,Be.Ly,Ht.o,XR._,Wv.M,$p.h,pu.N,mC.u],styles:["[_nghost-%COMP%]{bottom:10px;max-width:90vw;position:fixed;right:-350px;top:53px;transition:all .6s;width:350px;z-index:9}.active[_nghost-%COMP%]{right:20px}.card[_ngcontent-%COMP%]{height:100%}.card-body[_ngcontent-%COMP%]{padding-left:0;padding-right:5px;padding-top:3px}ngx-simplebar[_ngcontent-%COMP%]{height:calc(100% - 42.2px)}.separator[_ngcontent-%COMP%]{background-color:#e9ecef;color:#6c757d;font-size:1rem;padding:5px 12px}.btn-block[_ngcontent-%COMP%]{width:98%}.btn-link[_ngcontent-%COMP%] .fa-trash-o[_ngcontent-%COMP%]{color:#000}table[_ngcontent-%COMP%]{width:100%}.row[_ngcontent-%COMP%]{margin-left:0;margin-right:0;padding-bottom:1rem;padding-top:1rem}hr[_ngcontent-%COMP%]{margin-bottom:2px;margin-top:2px}"],changeDetection:0}),t})();var _s=o(9837),Js=o(51907);function Oa(t,i){1&t&&(e.TgZ(0,"div"),e.tHW(1,3),e._UZ(2,"strong")(3,"a",4),e.N_p(),e.qZA())}function Dl(t,i){if(1&t&&(e.TgZ(0,"div"),e.tHW(1,5),e._UZ(2,"strong")(3,"a",4),e.N_p(),e.qZA()),2&t){const n=e.oxw(2);e.xp6(3),e.pQV(n.expirationDays),e.QtT(1)}}function Ko(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-alert-panel",1),e.NdJ("dismissed",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onDismissed())}),e.YNc(1,Oa,4,0,"div",2),e.YNc(2,Dl,4,1,"div",2),e.qZA()}if(2&t){const n=e.oxw();e.Q6J("type",n.alertType)("showTitle",!1)("dismissible","danger"!==n.alertType),e.xp6(1),e.Q6J("ngIf",0===n.expirationDays),e.xp6(1),e.Q6J("ngIf",n.expirationDays>0)}}let ic=(()=>{class t{constructor(n,s){this.settingsService=n,this.authStorageService=s,this.displayNotification=!1}ngOnInit(){this.settingsService.getStandardSettings().subscribe(n=>{this.pwdExpirationSettings=new Js.G(n);const s=this.authStorageService.getPwdExpirationDate();s&&(this.expirationDays=this.getExpirationDays(s),this.alertType=this.expirationDays<=this.pwdExpirationSettings.pwdExpirationWarning2?"danger":"warning",this.displayNotification=this.expirationDays<=this.pwdExpirationSettings.pwdExpirationWarning1,this.authStorageService.isPwdDisplayedSource.next(this.displayNotification))})}ngOnDestroy(){this.authStorageService.isPwdDisplayedSource.next(!1)}getExpirationDays(n){const s=new Date,l=new Date(1e3*n);return Math.floor((l.valueOf()-s.valueOf())/864e5)}onDismissed(){this.authStorageService.isPwdDisplayedSource.next(!1),this.displayNotification=!1}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(_s.g),e.Y36(fa.j))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-pwd-expiration-notification"]],decls:1,vars:1,consts:function(){let i,n;return i="Your password will expire in " + "\ufffd#2\ufffd" + "less than 1" + "\ufffd/#2\ufffd" + " day. Click " + "\ufffd#3\ufffd" + "here" + "\ufffd/#3\ufffd" + " to change it now.",n="Your password will expire in " + "\ufffd#2\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#2\ufffd" + " day(s). Click " + "\ufffd#3\ufffd" + "here" + "\ufffd/#3\ufffd" + " to change it now.",[["class","no-margin-bottom","size","slim",3,"type","showTitle","dismissible","dismissed",4,"ngIf"],["size","slim",1,"no-margin-bottom",3,"type","showTitle","dismissible","dismissed"],[4,"ngIf"],i,["routerLink","/user-profile/edit",1,"alert-link"],n]},template:function(n,s){1&n&&e.YNc(0,Ko,3,5,"cd-alert-panel",0),2&n&&e.Q6J("ngIf",s.displayNotification)},dependencies:[f.O5,Ce.rH,Hr.G],styles:[".no-margin-bottom[_ngcontent-%COMP%]{margin-bottom:0}"]}),t})();function wd(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-alert-panel",1),e.NdJ("dismissed",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onDismissed())}),e.TgZ(1,"div"),e.tHW(2,2),e._UZ(3,"a",3)(4,"a",4),e.N_p(),e.qZA()()}if(2&t){const n=e.oxw();e.Q6J("showTitle",!1)("type",n.notificationSeverity)("dismissible","danger"!==n.notificationSeverity)}}let ff=(()=>{class t{constructor(n,s,l,_){this.mgrModuleService=n,this.authStorageService=s,this.notificationService=l,this.telemetryNotificationService=_,this.displayNotification=!1,this.notificationSeverity="warning"}ngOnInit(){if(this.telemetryNotificationService.update.subscribe(n=>{this.displayNotification=n}),!this.isNotificationHidden()){const n=this.authStorageService.getPermissions().configOpt;Ke().every(Object.values(n))&&this.mgrModuleService.getConfig("telemetry").subscribe(s=>{s.enabled||this.telemetryNotificationService.setVisibility(!0)})}}ngOnDestroy(){this.telemetryNotificationService.setVisibility(!1)}isNotificationHidden(){return"true"===localStorage.getItem("telemetry_notification_hidden")}onDismissed(){this.telemetryNotificationService.setVisibility(!1),localStorage.setItem("telemetry_notification_hidden","true"),this.notificationService.show(ua.k.success,"Telemetry activation reminder muted","You can activate the module on the Telemetry configuration page (<b>Dashboard Settings</b> -> <b>Telemetry configuration</b>) at any time.")}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Wd.N),e.Y36(fa.j),e.Y36(Le.g),e.Y36(Z0))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-telemetry-notification"]],decls:1,vars:1,consts:function(){let i;return i="The Ceph community needs your help to continue improving: please " + "\ufffd#3\ufffd" + "Activate" + "[\ufffd/#3\ufffd|\ufffd/#4\ufffd]" + " the " + "\ufffd#4\ufffd" + "Telemetry" + "[\ufffd/#3\ufffd|\ufffd/#4\ufffd]" + " module.",i=e.Zx4(i),[["class","no-margin-bottom","size","slim",3,"showTitle","type","dismissible","dismissed",4,"ngIf"],["size","slim",1,"no-margin-bottom",3,"showTitle","type","dismissible","dismissed"],i,["routerLink","/telemetry",1,"btn","activate-button","alert-link","activate-text"],["href","https://docs.ceph.com/en/latest/mgr/telemetry/"]]},template:function(n,s){1&n&&e.YNc(0,wd,5,3,"cd-alert-panel",0),2&n&&e.Q6J("ngIf",s.displayNotification)},dependencies:[f.O5,Ce.rH,Hr.G],styles:[".no-margin-bottom[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:0}.activate-button[_ngcontent-%COMP%]{background-color:#fcecba;border:#495057 solid .5px;border-radius:10%;padding:.1rem .4rem}.activate-text[_ngcontent-%COMP%]{color:#495057;font-weight:700}a[_ngcontent-%COMP%]{color:#1a5d66;font-weight:700}"]}),t})();var eP=o(60793);function x6(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-alert-panel",1),e.NdJ("dismissed",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onDismissed())}),e._UZ(1,"span",2),e.ALo(2,"sanitizeHtml"),e.qZA()}if(2&t){const n=e.oxw();e.Q6J("showTitle",!1)("type",n.motd.severity)("dismissible","danger"!==n.motd.severity),e.xp6(1),e.Q6J("innerHTML",e.lcZ(2,4,n.motd.message),e.oJD)}}let w6=(()=>{class t{constructor(n){this.motdNotificationService=n,this.motd=void 0}ngOnInit(){this.subscription=this.motdNotificationService.motd$.subscribe(n=>{this.motd=n})}ngOnDestroy(){this.subscription.unsubscribe()}onDismissed(){this.motdNotificationService.hide()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(XT))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-motd"]],decls:1,vars:1,consts:[["size","slim",3,"showTitle","type","dismissible","dismissed",4,"ngIf"],["size","slim",3,"showTitle","type","dismissible","dismissed"],[3,"innerHTML"]],template:function(n,s){1&n&&e.YNc(0,x6,3,6,"cd-alert-panel",0),2&n&&e.Q6J("ngIf",s.motd)},dependencies:[f.O5,Hr.G,eP.A]}),t})();function N6(t,i){1&t&&e._UZ(0,"span",5)}const I6=function(t){return{running:t}},F6=function(t){return[t]};let L6=(()=>{class t{constructor(n,s){this.notificationService=n,this.summaryService=s,this.icons=ei.P,this.hasRunningTasks=!1,this.hasNotifications=!1,this.subs=new od.w}ngOnInit(){this.subs.add(this.summaryService.subscribe(n=>{this.hasRunningTasks=n.executing_tasks.length>0})),this.subs.add(this.notificationService.data$.subscribe(n=>{this.hasNotifications=n.length>0}))}ngOnDestroy(){this.subs.unsubscribe()}toggleSidebar(){this.notificationService.toggleSidebar()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Le.g),e.Y36(zm.J))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-notifications"]],decls:5,vars:7,consts:function(){let i,n;return i="Tasks and Notifications",n="Tasks and Notifications",[["title",i,3,"ngClass","click"],[3,"ngClass"],["class","dot",4,"ngIf"],[1,"d-md-none"],n,[1,"dot"]]},template:function(n,s){1&n&&(e.TgZ(0,"a",0),e.NdJ("click",function(){return s.toggleSidebar()}),e._UZ(1,"i",1),e.YNc(2,N6,1,0,"span",2),e.TgZ(3,"span",3),e.SDv(4,4),e.qZA()()),2&n&&(e.Q6J("ngClass",e.VKq(3,I6,s.hasRunningTasks)),e.xp6(1),e.Q6J("ngClass",e.VKq(5,F6,s.icons.bell)),e.xp6(1),e.Q6J("ngIf",s.hasNotifications))},dependencies:[f.mk,f.O5],styles:[".running[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#25828e}.running[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%] .dot[_ngcontent-%COMP%]{background-color:#2b99a8;border:2px solid #374249;border-radius:50%;height:11px;position:absolute;right:17px;top:10px;width:10px}a[_ngcontent-%COMP%]:hover .dot[_ngcontent-%COMP%]{background-color:#fff;border-color:#2b99a8}"]}),t})(),k6=(()=>{class t{constructor(n){this.http=n,this.baseUIURL="api/feedback"}isKeyExist(){return this.http.get("ui-api/feedback/api_key/exist")}createIssue(n,s,l,_,g){return this.http.post("api/feedback",{project:n,tracker:s,subject:l,description:_,api_key:g},{headers:{Accept:"application/vnd.ceph.api.v0.1+json"}})}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function $6(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-alert-panel",30),e.tHW(1,31),e.TgZ(2,"a",32),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.redirect())}),e.qZA(),e.N_p(),e.qZA()}}function H6(t,i){1&t&&(e.TgZ(0,"span",37),e.SDv(1,38),e.qZA())}function U6(t,i){1&t&&(e.TgZ(0,"span",37),e.SDv(1,39),e.qZA())}function B6(t,i){if(1&t&&(e.TgZ(0,"div",33)(1,"label",34),e.SDv(2,35),e.qZA(),e.TgZ(3,"div",12),e._UZ(4,"input",36),e.YNc(5,H6,2,0,"span",17),e.YNc(6,U6,2,0,"span",17),e.qZA()()),2&t){const n=e.oxw(),s=e.MAs(5);e.xp6(5),e.Q6J("ngIf",n.feedbackForm.showError("api_key",s,"required")),e.xp6(1),e.Q6J("ngIf",n.feedbackForm.showError("api_key",s,"invalidApiKey"))}}function G6(t,i){if(1&t&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(n)}}function Y6(t,i){1&t&&(e.TgZ(0,"span",37),e.SDv(1,41),e.qZA())}function j6(t,i){if(1&t&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(n)}}function Z6(t,i){1&t&&(e.TgZ(0,"span",37),e.SDv(1,42),e.qZA())}function z6(t,i){1&t&&(e.TgZ(0,"span",37),e.SDv(1,43),e.qZA())}function V6(t,i){1&t&&(e.TgZ(0,"span",37),e.SDv(1,44),e.qZA())}let W6=(()=>{class t{constructor(n,s,l,_,g,M){this.feedbackService=n,this.activeModal=s,this.actionLabels=l,this.secondaryModal=_,this.notificationService=g,this.router=M,this.title="Feedback",this.project=["dashboard","block","objects","file_system","ceph_manager","orchestrator","ceph_volume","core_ceph"],this.tracker=["bug","feature"],this.isAPIKeySet=!1,this.isFeedbackEnabled=!0}ngOnInit(){this.createForm(),this.keySub=this.feedbackService.isKeyExist().subscribe({next:n=>{this.isAPIKeySet=n,this.isAPIKeySet&&this.feedbackForm.get("api_key").clearValidators()},error:()=>{this.isFeedbackEnabled=!1,this.feedbackForm.disable()}})}createForm(){this.feedbackForm=new Fe.d({project:new se.p4("",se.kI.required),tracker:new se.p4("",se.kI.required),subject:new se.p4("",se.kI.required),description:new se.p4("",se.kI.required),api_key:new se.p4("",se.kI.required)})}ngOnDestroy(){this.keySub.unsubscribe()}onSubmit(){this.feedbackService.createIssue(this.feedbackForm.controls.project.value,this.feedbackForm.controls.tracker.value,this.feedbackForm.controls.subject.value,this.feedbackForm.controls.description.value,this.feedbackForm.controls.api_key.value).subscribe({next:n=>{this.notificationService.show(ua.k.success,"Issue successfully created on Ceph Issue tracker",`Go to the tracker: <a href="https://tracker.ceph.com/issues/${n.message.issue.id}" target="_blank"> ${n.message.issue.id} </a>`)},error:()=>{this.feedbackForm.get("api_key").setErrors({invalidApiKey:!0}),this.feedbackForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}redirect(){this.activeModal.close(),this.router.navigate(["/mgr-modules"])}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(k6),e.Y36(Be.Kz),e.Y36(Dr.p4),e.Y36(Be.FF),e.Y36(Le.g),e.Y36(Ce.F0))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-feedback"]],decls:42,vars:12,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge;return i="Report an issue",n="Project name",s="-- Select a project --",l="Tracker",_="-- Select a tracker --",g="Subject",M="Description",x="Feedback module is not enabled. Please enable it from " + "\ufffd#2\ufffd" + "Cluster-> Manager Modules." + "\ufffd/#2\ufffd" + "",Y="Ceph Tracker API Key",K="Ceph Tracker API key is required.",le="Ceph Tracker API key is invalid.",fe="Project name is required.",ge="Tracker name is required.",Se="Subject is required.",Ge="Description is required.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","feedbackForm",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],["type","error",4,"ngIf"],["class","form-group row mt-3",4,"ngIf"],[1,"form-group","row"],["for","project",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["id","project","formControlName","project",1,"form-control"],["ngValue",""],s,[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],["for","tracker",1,"cd-col-form-label","required"],l,["id","tracker","formControlName","tracker",1,"form-control"],_,["for","subject",1,"cd-col-form-label","required"],g,["id","subject","type","text","formControlName","subject","placeholder","Add issue title",1,"form-control"],["for","description",1,"cd-col-form-label","required"],M,["id","description","type","text","formControlName","description","placeholder","Add issue description",1,"form-control"],[1,"modal-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],["type","error"],x,[3,"click"],[1,"form-group","row","mt-3"],["for","api_key",1,"cd-col-form-label","required"],Y,["id","api_key","type","password","formControlName","api_key","placeholder","Add Ceph tracker API key",1,"form-control"],[1,"invalid-feedback"],K,le,[3,"value"],fe,ge,Se,Ge]},template:function(n,s){if(1&n&&(e.TgZ(0,"cd-modal",0)(1,"div",1),e.SDv(2,2),e.qZA(),e.TgZ(3,"div",3)(4,"form",4,5)(6,"div",6),e.YNc(7,$6,3,0,"cd-alert-panel",7),e.YNc(8,B6,7,2,"div",8),e.TgZ(9,"div",9)(10,"label",10),e.SDv(11,11),e.qZA(),e.TgZ(12,"div",12)(13,"select",13)(14,"option",14),e.SDv(15,15),e.qZA(),e.YNc(16,G6,2,2,"option",16),e.qZA(),e.YNc(17,Y6,2,0,"span",17),e.qZA()(),e.TgZ(18,"div",9)(19,"label",18),e.SDv(20,19),e.qZA(),e.TgZ(21,"div",12)(22,"select",20)(23,"option",14),e.SDv(24,21),e.qZA(),e.YNc(25,j6,2,2,"option",16),e.qZA(),e.YNc(26,Z6,2,0,"span",17),e.qZA()(),e.TgZ(27,"div",9)(28,"label",22),e.SDv(29,23),e.qZA(),e.TgZ(30,"div",12),e._UZ(31,"input",24),e.YNc(32,z6,2,0,"span",17),e.qZA()(),e.TgZ(33,"div",9)(34,"label",25),e.SDv(35,26),e.qZA(),e.TgZ(36,"div",12)(37,"textarea",27),e._uU(38," "),e.qZA(),e.YNc(39,V6,2,0,"span",17),e.qZA()()(),e.TgZ(40,"div",28)(41,"cd-form-button-panel",29),e.NdJ("submitActionEvent",function(){return s.onSubmit()}),e.qZA()()()()()),2&n){const l=e.MAs(5);e.Q6J("modalRef",s.activeModal),e.xp6(4),e.Q6J("formGroup",s.feedbackForm),e.xp6(3),e.Q6J("ngIf",!s.isFeedbackEnabled),e.xp6(1),e.Q6J("ngIf",!s.isAPIKeySet),e.xp6(8),e.Q6J("ngForOf",s.project),e.xp6(1),e.Q6J("ngIf",s.feedbackForm.showError("project",l,"required")),e.xp6(8),e.Q6J("ngForOf",s.tracker),e.xp6(1),e.Q6J("ngIf",s.feedbackForm.showError("tracker",l,"required")),e.xp6(6),e.Q6J("ngIf",s.feedbackForm.showError("subject",l,"required")),e.xp6(7),e.Q6J("ngIf",s.feedbackForm.showError("description",l,"required")),e.xp6(2),e.Q6J("form",s.feedbackForm)("submitText",s.actionLabels.SUBMIT)}},dependencies:[f.sg,f.O5,Kt.z,Hr.G,lt.p,Ht.o,wn.b,ar.P,cr.V,se._Y,se.YN,se.Kr,se.Fj,se.EJ,se.JJ,se.JL,se.sg,se.u]}),t})();var J6=o(97057);let Q6=(()=>{class t{constructor(n,s,l,_){this.activeModal=n,this.summaryService=s,this.userService=l,this.authStorageService=_,this.userPermission=this.authStorageService.getPermissions().user}ngOnInit(){this.projectConstants=Dr.$x,this.hostAddr=window.location.hostname,this.modalVariables=this.setVariables(),this.subs=this.summaryService.subscribe(n=>{const s=n.version.replace("ceph version ","").split(" ");this.hostAddr=n.mgr_host.replace(/(^\w+:|^)\/\//,"").replace(/\/$/,""),this.versionNumber=s[0],this.versionHash=s[1],this.versionName=s.slice(2,s.length).join(" ")})}ngOnDestroy(){this.subs.unsubscribe()}setVariables(){const n={};n.user=localStorage.getItem("dashboard_username"),n.role="user",this.userPermission.read&&this.userService.get(n.user).subscribe(l=>{n.role=l.roles});const s=(0,J6.qY)();return n.browserName=s&&s.name?s.name:"Not detected",n.browserVersion=s&&s.version?s.version:"Not detected",n.browserOS=s&&s.os?s.os:"Not detected",n}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.Kz),e.Y36(zm.J),e.Y36(z1.K),e.Y36(fa.j))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-about"]],decls:44,vars:13,consts:[[1,"about-container"],[1,"modal-header"],["type","button","aria-label","Close",1,"btn-close","float-end",3,"click"],[1,"modal-body"],["src","assets/Ceph_Ceph_Logo_with_text_red_white.svg",1,"ceph-logo",3,"alt"],[1,"product-versions"],[1,"modal-footer"],[1,"text-left"]],template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"button",2),e.NdJ("click",function(){return s.activeModal.close()}),e.qZA()(),e.TgZ(3,"div",3),e._UZ(4,"img",4),e.TgZ(5,"h3")(6,"strong"),e._uU(7),e.qZA()(),e.TgZ(8,"div",5)(9,"strong"),e._uU(10,"Version"),e.qZA(),e._UZ(11,"br"),e._uU(12),e._UZ(13,"br"),e._uU(14),e.qZA(),e._UZ(15,"br"),e.TgZ(16,"dl")(17,"dt"),e._uU(18,"Ceph Manager"),e.qZA(),e.TgZ(19,"dd"),e._uU(20),e.qZA(),e.TgZ(21,"dt"),e._uU(22,"User"),e.qZA(),e.TgZ(23,"dd"),e._uU(24),e.qZA(),e.TgZ(25,"dt"),e._uU(26,"User Role"),e.qZA(),e.TgZ(27,"dd"),e._uU(28),e.qZA(),e.TgZ(29,"dt"),e._uU(30,"Browser"),e.qZA(),e.TgZ(31,"dd"),e._uU(32),e.qZA(),e.TgZ(33,"dt"),e._uU(34,"Browser Version"),e.qZA(),e.TgZ(35,"dd"),e._uU(36),e.qZA(),e.TgZ(37,"dt"),e._uU(38,"Browser OS"),e.qZA(),e.TgZ(39,"dd"),e._uU(40),e.qZA()()(),e.TgZ(41,"div",6)(42,"div",7),e._uU(43),e.qZA()()()),2&n&&(e.xp6(4),e.s9C("alt",s.projectConstants.organization),e.xp6(3),e.Oqu(s.projectConstants.projectName),e.xp6(5),e.AsE(" ",s.versionNumber," ",s.versionHash," "),e.xp6(2),e.hij(" ",s.versionName," "),e.xp6(6),e.Oqu(s.hostAddr),e.xp6(4),e.Oqu(s.modalVariables.user),e.xp6(4),e.Oqu(s.modalVariables.role),e.xp6(4),e.Oqu(s.modalVariables.browserName),e.xp6(4),e.Oqu(s.modalVariables.browserVersion),e.xp6(4),e.Oqu(s.modalVariables.browserOS),e.xp6(3),e.AsE(" ",s.projectConstants.copyright," ",s.projectConstants.license," "))},dependencies:[Ht.o],styles:[".about-container[_ngcontent-%COMP%]{background-color:#374249;background-image:url(ceph_background.3fbdf95cd52530d7.gif);background-position:right bottom;background-repeat:no-repeat;color:#fff;text-shadow:1px 1px #374249}.product-versions[_ngcontent-%COMP%]{margin-top:30px}.product-versions[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px}.modal-header[_ngcontent-%COMP%]{border-bottom:0}.modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{color:#fff;font-size:2em}.modal-body[_ngcontent-%COMP%]{padding-left:80px;padding-right:80px}.ceph-logo[_ngcontent-%COMP%]{margin-bottom:30px;width:25%}.modal-footer[_ngcontent-%COMP%]{border-top:0;display:block;padding:15px 80px 35px}"]}),t})();const K6=function(t){return[t]},X6=function(t){return{disabled:t}};let q6=(()=>{class t{constructor(n,s){this.modalService=n,this.docService=s,this.icons=ei.P}ngOnInit(){this.docService.subscribeOnce("dashboard",n=>{this.docsUrl=n})}openAboutModal(){this.modalRef=this.modalService.show(Q6,null,{size:"lg"})}openFeedbackModal(){this.bsModalRef=this.modalService.show(W6,null,{size:"lg"})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(tc.Z),e.Y36(FE.R))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-dashboard-help"]],decls:14,vars:7,consts:function(){let i,n,s,l,_,g;return i="Help",n="Help",s="documentation",l="API",_="About",g="Report an issue...",[["ngbDropdown","","placement","bottom-right"],["ngbDropdownToggle","","title",i,"role","button"],[3,"ngClass"],[1,"d-md-none"],n,["ngbDropdownMenu",""],["ngbDropdownItem","","target","_blank",1,"text-capitalize",3,"ngClass","href"],s,["ngbDropdownItem","","routerLink","/api-docs","target","_blank"],l,["ngbDropdownItem","",3,"click"],_,g]},template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"a",1),e._UZ(2,"i",2),e.TgZ(3,"span",3),e.SDv(4,4),e.qZA()(),e.TgZ(5,"div",5)(6,"a",6),e.SDv(7,7),e.qZA(),e.TgZ(8,"button",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"button",10),e.NdJ("click",function(){return s.openAboutModal()}),e.SDv(11,11),e.qZA(),e.TgZ(12,"button",10),e.NdJ("click",function(){return s.openFeedbackModal()}),e.SDv(13,12),e.qZA()()()),2&n&&(e.xp6(2),e.Q6J("ngClass",e.VKq(3,K6,s.icons.questionCircle)),e.xp6(4),e.s9C("href",s.docsUrl,e.LSH),e.Q6J("ngClass",e.VKq(5,X6,!s.docsUrl)))},dependencies:[f.mk,Be.jt,Be.iD,Be.Vi,Be.TH,Ce.rH,Ht.o]}),t})();function e8(t,i){1&t&&(e.TgZ(0,"button",9),e.SDv(1,10),e.qZA())}function t8(t,i){1&t&&(e.TgZ(0,"button",11),e.SDv(1,12),e.qZA())}const n8=function(t){return[t]};function r8(t,i){if(1&t&&(e.TgZ(0,"div",1)(1,"a",2),e._UZ(2,"i",3),e.TgZ(3,"span",4),e.SDv(4,5),e.qZA()(),e.TgZ(5,"div",6),e.YNc(6,e8,2,0,"button",7),e.YNc(7,t8,2,0,"button",8),e.qZA()()),2&t){const n=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(3,n8,n.icons.deepCheck)),e.xp6(4),e.Q6J("ngIf",n.userPermission.read),e.xp6(1),e.Q6J("ngIf",n.configOptPermission.read)}}let i8=(()=>{class t{constructor(n){this.authStorageService=n,this.icons=ei.P;const s=this.authStorageService.getPermissions();this.userPermission=s.user,this.configOptPermission=s.configOpt}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-administration"]],decls:1,vars:1,consts:function(){let i,n,s,l;return i="Dashboard Settings",n="Dashboard Settings",s="User management",l="Telemetry configuration",[["ngbDropdown","","placement","bottom-right",4,"ngIf"],["ngbDropdown","","placement","bottom-right"],["ngbDropdownToggle","","title",i,"role","button",1,"dropdown-toggle"],[3,"ngClass"],[1,"d-md-none"],n,["ngbDropdownMenu",""],["ngbDropdownItem","","routerLink","/user-management",4,"ngIf"],["ngbDropdownItem","","routerLink","/telemetry",4,"ngIf"],["ngbDropdownItem","","routerLink","/user-management"],s,["ngbDropdownItem","","routerLink","/telemetry"],l]},template:function(n,s){1&n&&e.YNc(0,r8,8,5,"div",0),2&n&&e.Q6J("ngIf",s.userPermission.read)},dependencies:[f.mk,f.O5,Be.jt,Be.iD,Be.Vi,Be.TH,Ce.rH,Ht.o]}),t})();const ZO=function(t){return[t]};function o8(t,i){if(1&t&&(e.TgZ(0,"button",12),e._UZ(1,"i",2),e.TgZ(2,"span"),e.SDv(3,13),e.qZA()()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(1,ZO,n.icons.lock))}}let s8=(()=>{class t{constructor(n,s){this.authStorageService=n,this.authService=s,this.icons=ei.P}ngOnInit(){this.username=this.authStorageService.getUsername(),this.sso=this.authStorageService.isSSO()}logout(){this.authService.logout()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(ny.e))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-identity"]],decls:15,vars:8,consts:function(){let i,n,s,l,_;return i="Logged in user",n="Logged in user",s="Signed in as " + "\ufffd#8\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#8\ufffd" + "",l="Sign out",_="Change password",[["ngbDropdown","","placement","bottom-right"],["ngbDropdownToggle","","title",i,"role","button"],[3,"ngClass"],[1,"d-md-none"],n,["ngbDropdownMenu",""],["ngbDropdownItem","","disabled",""],s,[1,"dropdown-divider"],["ngbDropdownItem","","routerLink","/user-profile/edit",4,"ngIf"],["ngbDropdownItem","",3,"click"],l,["ngbDropdownItem","","routerLink","/user-profile/edit"],_]},template:function(n,s){1&n&&(e.TgZ(0,"div",0)(1,"a",1),e._UZ(2,"i",2),e.TgZ(3,"span",3),e.SDv(4,4),e.qZA()(),e.TgZ(5,"div",5)(6,"button",6),e.tHW(7,7),e._UZ(8,"strong"),e.N_p(),e.qZA(),e._UZ(9,"hr",8),e.YNc(10,o8,4,3,"button",9),e.TgZ(11,"button",10),e.NdJ("click",function(){return s.logout()}),e._UZ(12,"i",2),e.TgZ(13,"span"),e.SDv(14,11),e.qZA()()()()),2&n&&(e.xp6(2),e.Q6J("ngClass",e.VKq(4,ZO,s.icons.user)),e.xp6(6),e.pQV(s.username),e.QtT(7),e.xp6(2),e.Q6J("ngIf",!s.sso),e.xp6(2),e.Q6J("ngClass",e.VKq(6,ZO,s.icons.signOut)))},dependencies:[f.mk,f.O5,Be.jt,Be.iD,Be.Vi,Be.TH,Ce.rH,Ht.o]}),t})();function a8(t,i){1&t&&e.GkF(0)}function l8(t,i){1&t&&e.GkF(0)}function c8(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"li",22),e._UZ(1,"cd-language-selector",23),e.qZA(),e.TgZ(2,"li",22)(3,"cd-notifications",24),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.toggleRightSidebar())}),e.qZA()(),e.TgZ(4,"li",22),e._UZ(5,"cd-dashboard-help",23),e.qZA(),e.TgZ(6,"li",22),e._UZ(7,"cd-administration",23),e.qZA(),e.TgZ(8,"li",22),e._UZ(9,"cd-identity",23),e.qZA()}}function u8(t,i){1&t&&(e.TgZ(0,"li",52)(1,"a",53),e.SDv(2,54),e.qZA()())}function d8(t,i){1&t&&(e.TgZ(0,"li",55)(1,"a",56),e.SDv(2,57),e.qZA()())}function f8(t,i){1&t&&(e.TgZ(0,"li",58)(1,"a",59),e.SDv(2,60),e.qZA()())}function p8(t,i){1&t&&(e.TgZ(0,"li",61)(1,"a",62),e.SDv(2,63),e.qZA()())}function _8(t,i){1&t&&(e.TgZ(0,"li",64)(1,"a",65),e.SDv(2,66),e.qZA()())}function h8(t,i){1&t&&(e.TgZ(0,"li",67)(1,"a",68),e.SDv(2,69),e.qZA()())}function m8(t,i){1&t&&(e.TgZ(0,"li",70)(1,"a",71),e.SDv(2,72),e.qZA()())}function g8(t,i){1&t&&(e.TgZ(0,"li",73)(1,"a",74),e.SDv(2,75),e.qZA()())}function v8(t,i){1&t&&(e.TgZ(0,"li",76)(1,"a",77),e.SDv(2,78),e.qZA()())}function y8(t,i){1&t&&(e.TgZ(0,"li",79)(1,"a",80),e.SDv(2,81),e.qZA()())}function E8(t,i){if(1&t&&(e.TgZ(0,"small",87),e._uU(1),e.qZA()),2&t){const n=e.oxw(5);e.xp6(1),e.Oqu(n.prometheusAlertService.activeCriticalAlerts)}}function S8(t,i){if(1&t&&(e.TgZ(0,"small",88),e._uU(1),e.qZA()),2&t){const n=e.oxw(5);e.xp6(1),e.Oqu(n.prometheusAlertService.activeWarningAlerts)}}function C8(t,i){if(1&t&&(e.TgZ(0,"li",82)(1,"a",83),e.ynx(2),e.SDv(3,84),e.BQk(),e.YNc(4,E8,2,1,"small",85),e.YNc(5,S8,2,1,"small",86),e.qZA()()),2&t){const n=e.oxw(4);e.xp6(4),e.Q6J("ngIf",n.prometheusAlertService.activeCriticalAlerts>0),e.xp6(1),e.Q6J("ngIf",n.prometheusAlertService.activeWarningAlerts>0)}}function T8(t,i){1&t&&(e.TgZ(0,"li",89)(1,"a",90),e.SDv(2,91),e.qZA()())}function b8(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"li",36)(1,"a",37),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.toggleSubMenu("cluster"))}),e.ynx(2),e.SDv(3,38),e.BQk(),e.qZA(),e.TgZ(4,"ul",39),e.YNc(5,u8,3,0,"li",40),e.YNc(6,d8,3,0,"li",41),e.YNc(7,f8,3,0,"li",42),e.YNc(8,p8,3,0,"li",43),e.YNc(9,_8,3,0,"li",44),e.YNc(10,h8,3,0,"li",45),e.YNc(11,m8,3,0,"li",46),e.YNc(12,g8,3,0,"li",47),e.YNc(13,v8,3,0,"li",48),e.YNc(14,y8,3,0,"li",49),e.YNc(15,C8,6,2,"li",50),e.YNc(16,T8,3,0,"li",51),e.qZA()()}if(2&t){const n=e.oxw(3);e.xp6(1),e.uIk("aria-expanded","cluster"===n.displayedSubMenu),e.xp6(3),e.Q6J("ngbCollapse","cluster"!==n.displayedSubMenu),e.xp6(1),e.Q6J("ngIf",n.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",n.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",n.permissions.monitor.read),e.xp6(1),e.Q6J("ngIf",n.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",n.permissions.osd.read),e.xp6(1),e.Q6J("ngIf",n.permissions.configOpt.read),e.xp6(1),e.Q6J("ngIf",n.permissions.osd.read),e.xp6(1),e.Q6J("ngIf",n.permissions.configOpt.read),e.xp6(1),e.Q6J("ngIf",n.permissions.configOpt.read),e.xp6(1),e.Q6J("ngIf",n.permissions.log.read),e.xp6(1),e.Q6J("ngIf",n.permissions.prometheus.read),e.xp6(1),e.Q6J("ngIf",n.permissions.configOpt.read)}}function M8(t,i){1&t&&(e.TgZ(0,"li",92)(1,"a",93),e.SDv(2,94),e.qZA()())}function O8(t,i){1&t&&(e.TgZ(0,"li",102)(1,"a",103),e.SDv(2,104),e.qZA()())}function A8(t,i){if(1&t&&(e.TgZ(0,"small",110),e._uU(1),e.qZA()),2&t){const n=e.oxw(5);e.xp6(1),e.Oqu(null==n.summaryData||null==n.summaryData.rbd_mirroring?null:n.summaryData.rbd_mirroring.warnings)}}function D8(t,i){if(1&t&&(e.TgZ(0,"small",111),e._uU(1),e.qZA()),2&t){const n=e.oxw(5);e.xp6(1),e.Oqu(null==n.summaryData||null==n.summaryData.rbd_mirroring?null:n.summaryData.rbd_mirroring.errors)}}function R8(t,i){if(1&t&&(e.TgZ(0,"li",105)(1,"a",106),e.ynx(2),e.SDv(3,107),e.BQk(),e.YNc(4,A8,2,1,"small",108),e.YNc(5,D8,2,1,"small",109),e.qZA()()),2&t){const n=e.oxw(4);e.xp6(4),e.Q6J("ngIf",0!==(null==n.summaryData||null==n.summaryData.rbd_mirroring?null:n.summaryData.rbd_mirroring.warnings)),e.xp6(1),e.Q6J("ngIf",0!==(null==n.summaryData||null==n.summaryData.rbd_mirroring?null:n.summaryData.rbd_mirroring.errors))}}function P8(t,i){1&t&&(e.TgZ(0,"li",112)(1,"a",113),e.SDv(2,114),e.qZA()())}function x8(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"li",95)(1,"a",96),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.toggleSubMenu("block"))}),e.ynx(2),e.SDv(3,97),e.BQk(),e.qZA(),e.TgZ(4,"ul",98),e.YNc(5,O8,3,0,"li",99),e.YNc(6,R8,6,2,"li",100),e.YNc(7,P8,3,0,"li",101),e.qZA()()}if(2&t){const n=e.oxw().ngIf,s=e.oxw(2);e.xp6(1),e.Q6J("ngStyle",s.blockHealthColor()),e.uIk("aria-expanded","block"===s.displayedSubMenu),e.xp6(3),e.Q6J("ngbCollapse","block"!==s.displayedSubMenu),e.xp6(1),e.Q6J("ngIf",s.permissions.rbdImage.read&&n.rbd),e.xp6(1),e.Q6J("ngIf",s.permissions.rbdMirroring.read&&n.mirroring),e.xp6(1),e.Q6J("ngIf",s.permissions.iscsi.read&&n.iscsi)}}function w8(t,i){1&t&&(e.TgZ(0,"li",115)(1,"a",116),e.SDv(2,117),e.qZA()())}function N8(t,i){1&t&&(e.TgZ(0,"li",118)(1,"a",119),e.SDv(2,120),e.qZA()())}function I8(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"li",121)(1,"a",122),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.toggleSubMenu("rgw"))}),e.ynx(2),e.SDv(3,123),e.BQk(),e.qZA(),e.TgZ(4,"ul",124)(5,"li",125)(6,"a",126),e.SDv(7,127),e.qZA()(),e.TgZ(8,"li",128)(9,"a",129),e.SDv(10,130),e.qZA()(),e.TgZ(11,"li",131)(12,"a",132),e.SDv(13,133),e.qZA()(),e.TgZ(14,"li",134)(15,"a",135),e.SDv(16,136),e.qZA()(),e.TgZ(17,"li",134)(18,"a",137),e.SDv(19,138),e.qZA()()()()}if(2&t){const n=e.oxw(3);e.xp6(1),e.uIk("aria-expanded","rgw"===n.displayedSubMenu),e.xp6(3),e.Q6J("ngbCollapse","rgw"!==n.displayedSubMenu)}}const F8=function(t){return[t]};function L8(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"li",26)(2,"a",27)(3,"span"),e.SDv(4,28),e.qZA(),e._uU(5,"\xa0 "),e._UZ(6,"i",29),e.ALo(7,"healthColor"),e.qZA()(),e.YNc(8,b8,17,14,"li",30),e.YNc(9,M8,3,0,"li",31),e.YNc(10,x8,8,6,"li",32),e.YNc(11,w8,3,0,"li",33),e.YNc(12,N8,3,0,"li",34),e.YNc(13,I8,20,2,"li",35),e.BQk()),2&t){const n=i.ngIf,s=e.oxw(2);e.xp6(6),e.Q6J("ngClass",e.VKq(10,F8,s.icons.health))("ngStyle",e.lcZ(7,8,null==s.summaryData?null:s.summaryData.health_status)),e.xp6(2),e.Q6J("ngIf",s.permissions.hosts.read||s.permissions.monitor.read||s.permissions.osd.read||s.permissions.configOpt.read||s.permissions.log.read||s.permissions.prometheus.read),e.xp6(1),e.Q6J("ngIf",s.permissions.pool.read),e.xp6(1),e.Q6J("ngIf",(s.permissions.rbdImage.read||s.permissions.rbdMirroring.read||s.permissions.iscsi.read)&&(n.rbd||n.mirroring||n.iscsi)),e.xp6(1),e.Q6J("ngIf",s.permissions.nfs.read&&n.nfs),e.xp6(1),e.Q6J("ngIf",s.permissions.cephfs.read&&n.cephfs),e.xp6(1),e.Q6J("ngIf",s.permissions.rgw.read&&n.rgw)}}function k8(t,i){if(1&t&&(e.YNc(0,L8,14,12,"ng-container",25),e.ALo(1,"async")),2&t){const n=e.oxw();e.Q6J("ngIf",e.lcZ(1,1,n.enabledFeature$))}}const $8=function(t){return{show:t}},tP=function(t){return{active:t}},H8=["*"];let U8=(()=>{class t{get class(){return"top-notification-"+this.notifications.length}constructor(n,s,l,_,g,M){this.authStorageService=n,this.summaryService=s,this.featureToggles=l,this.telemetryNotificationService=_,this.prometheusAlertService=g,this.motdNotificationService=M,this.notifications=[],this.icons=ei.P,this.rightSidebarOpen=!1,this.showMenuSidebar=!0,this.displayedSubMenu="",this.simplebar={autoHide:!1},this.subs=new od.w,this.permissions=this.authStorageService.getPermissions(),this.enabledFeature$=this.featureToggles.get()}ngOnInit(){this.subs.add(this.summaryService.subscribe(n=>{this.summaryData=n})),this.subs.add(this.authStorageService.isPwdDisplayed$.subscribe(n=>{this.showTopNotification("isPwdDisplayed",n)})),this.subs.add(this.telemetryNotificationService.update.subscribe(n=>{this.showTopNotification("telemetryNotificationEnabled",n)})),this.subs.add(this.motdNotificationService.motd$.subscribe(n=>{this.showTopNotification("motdNotificationEnabled",gt.isPlainObject(n))}))}ngOnDestroy(){this.subs.unsubscribe()}blockHealthColor(){if(this.summaryData&&this.summaryData.rbd_mirroring){if(this.summaryData.rbd_mirroring.errors>0)return{color:"#f4926c"};if(this.summaryData.rbd_mirroring.warnings>0)return{color:"#f0ad4e"}}}toggleSubMenu(n){this.displayedSubMenu=this.displayedSubMenu===n?"":n}toggleRightSidebar(){this.rightSidebarOpen=!this.rightSidebarOpen}showTopNotification(n,s){if(s)this.notifications.includes(n)||this.notifications.push(n);else{const l=this.notifications.indexOf(n);l>=0&&this.notifications.splice(l,1)}}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(zm.J),e.Y36(U1.l),e.Y36(Z0),e.Y36(k1),e.Y36(XT))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-navigation"]],hostVars:2,hostBindings:function(n,s){2&n&&e.Tol(s.class)},ngContentSelectors:H8,decls:30,vars:12,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He,Pe,W,It,Pt,Jt,dn,Un,ln,Xn,jn,Wr;return i="Toggle navigation",n="Dashboard",s="Cluster",l="Hosts",_="Physical Disks",g="Monitors",M="Services",x="OSDs",Y="Configuration",K="CRUSH map",le="Manager Modules",fe="Ceph Users",ge="Logs",Se="Alerts",Ge="Upgrade",we="Pools",He="Block",Pe="Images",W="Mirroring",It="iSCSI",Pt="NFS",Jt="File Systems",dn="Object Gateway",Un="Overview",ln="Gateways",Xn="Users",jn="Buckets",Wr="Multi-Site",[[1,"cd-navbar-main"],[1,"cd-navbar-top"],[1,"navbar","navbar-expand-md","navbar-dark","cd-navbar-brand"],["aria-label","toggle sidebar visibility",1,"btn","btn-link","py-0","ms-3",3,"click"],["aria-hidden","true",1,"fa","fa-bars","fa-2x"],["routerLink","/dashboard",1,"navbar-brand","ms-2"],["src","assets/Ceph_Ceph_Logo_with_text_white.svg","alt","Ceph"],["type","button",1,"navbar-toggler",3,"click"],[1,"sr-only"],i,[1,""],[1,"fa","fa-navicon","fa-lg"],[1,"collapse","navbar-collapse",3,"ngClass"],[1,"nav","navbar-nav","cd-navbar-utility","my-2","my-md-0"],[4,"ngTemplateOutlet"],[1,"wrapper"],["id","sidebar",3,"ngClass"],[3,"options"],[1,"list-unstyled","components","cd-navbar-primary"],["id","content",3,"ngClass"],["cd_utilities",""],["cd_menu",""],[1,"nav-item"],[1,"cd-navbar"],[1,"cd-navbar",3,"click"],[4,"ngIf"],["routerLinkActive","active",1,"nav-item","tc_menuitem_dashboard"],["routerLink","/dashboard",1,"nav-link"],n,[3,"ngClass","ngStyle"],["routerLinkActive","active","class","nav-item tc_menuitem_cluster",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_pool",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_block",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_nfs",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_cephfs",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_rgw",4,"ngIf"],["routerLinkActive","active",1,"nav-item","tc_menuitem_cluster"],["aria-controls","cluster-nav","role","button",1,"nav-link","dropdown-toggle",3,"click"],s,["id","cluster-nav",1,"list-unstyled",3,"ngbCollapse"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_hosts",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_cluster_inventory",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_cluster_monitor",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_cluster_services",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_osds",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_configuration",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_crush",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_modules",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_users",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_log",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_monitoring",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_upgrade",4,"ngIf"],["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_hosts"],["routerLink","/hosts"],l,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_cluster_inventory"],["routerLink","/inventory"],_,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_cluster_monitor"],["routerLink","/monitor/"],g,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_cluster_services"],["routerLink","/services/"],M,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_osds"],["routerLink","/osd"],x,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_configuration"],["routerLink","/configuration"],Y,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_crush"],["routerLink","/crush-map"],K,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_modules"],["routerLink","/mgr-modules"],le,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_users"],["routerLink","/ceph-users"],fe,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_log"],["routerLink","/logs"],ge,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_monitoring"],["routerLink","/monitoring"],Se,["class","badge badge-danger ms-1",4,"ngIf"],["class","badge badge-warning ms-1",4,"ngIf"],[1,"badge","badge-danger","ms-1"],[1,"badge","badge-warning","ms-1"],["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_upgrade"],["routerLink","/upgrade"],Ge,["routerLinkActive","active",1,"nav-item","tc_menuitem_pool"],["routerLink","/pool",1,"nav-link"],we,["routerLinkActive","active",1,"nav-item","tc_menuitem_block"],["aria-controls","block-nav","role","button",1,"nav-link","dropdown-toggle",3,"ngStyle","click"],He,["id","block-nav",1,"list-unstyled",3,"ngbCollapse"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_block_images",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_block_mirroring",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_block_iscsi",4,"ngIf"],["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_block_images"],["routerLink","/block/rbd"],Pe,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_block_mirroring"],["routerLink","/block/mirroring"],W,["class","badge badge-warning",4,"ngIf"],["class","badge badge-danger",4,"ngIf"],[1,"badge","badge-warning"],[1,"badge","badge-danger"],["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_block_iscsi"],["routerLink","/block/iscsi"],It,["routerLinkActive","active",1,"nav-item","tc_menuitem_nfs"],["routerLink","/nfs",1,"nav-link"],Pt,["routerLinkActive","active",1,"nav-item","tc_menuitem_cephfs"],["routerLink","/cephfs",1,"nav-link"],Jt,["routerLinkActive","active",1,"nav-item","tc_menuitem_rgw"],["aria-controls","gateway-nav","role","button",1,"nav-link","dropdown-toggle",3,"click"],dn,["id","gateway-nav",1,"list-unstyled",3,"ngbCollapse"],["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_rgw_overview"],["routerLink","/rgw/overview"],Un,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_rgw_daemons"],["routerLink","/rgw/daemon"],ln,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_rgw_users"],["routerLink","/rgw/user"],Xn,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_rgw_buckets"],["routerLink","/rgw/bucket"],jn,["routerLink","/rgw/multisite"],Wr]},template:function(n,s){if(1&n&&(e.F$t(),e.TgZ(0,"div",0),e._UZ(1,"cd-pwd-expiration-notification")(2,"cd-telemetry-notification")(3,"cd-motd")(4,"cd-notifications-sidebar"),e.TgZ(5,"div",1)(6,"nav",2)(7,"button",3),e.NdJ("click",function(){return s.showMenuSidebar=!s.showMenuSidebar}),e._UZ(8,"i",4),e.qZA(),e.TgZ(9,"a",5),e._UZ(10,"img",6),e.qZA(),e.TgZ(11,"button",7),e.NdJ("click",function(){return s.toggleRightSidebar()}),e.TgZ(12,"span",8),e.SDv(13,9),e.qZA(),e.TgZ(14,"span",10),e._UZ(15,"i",11),e.qZA()(),e.TgZ(16,"div",12)(17,"ul",13),e.YNc(18,a8,1,0,"ng-container",14),e.qZA()()()(),e.TgZ(19,"div",15)(20,"nav",16)(21,"ngx-simplebar",17)(22,"ul",18),e.YNc(23,l8,1,0,"ng-container",14),e.qZA()()(),e.TgZ(24,"div",19),e.Hsn(25),e.qZA()(),e.YNc(26,c8,10,0,"ng-template",null,20,e.W1O),e.YNc(28,k8,2,3,"ng-template",null,21,e.W1O),e.qZA()),2&n){const l=e.MAs(27),_=e.MAs(29);e.xp6(16),e.Q6J("ngClass",e.VKq(6,$8,s.rightSidebarOpen)),e.xp6(2),e.Q6J("ngTemplateOutlet",l),e.xp6(2),e.Q6J("ngClass",e.VKq(8,tP,!s.showMenuSidebar)),e.xp6(1),e.Q6J("options",s.simplebar),e.xp6(2),e.Q6J("ngTemplateOutlet",_),e.xp6(1),e.Q6J("ngClass",e.VKq(10,tP,!s.showMenuSidebar))}},dependencies:[f.mk,f.O5,f.tP,f.PC,Be._D,Ce.rH,Ce.Od,mo,UE,ic,ff,w6,Ht.o,Wv.M,L6,q6,i8,s8,f.Ov,V0],styles:['.cd-navbar-main[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;height:100%} cd-navigation .cd-navbar-top .cd-navbar-brand{background:#374249;border-top:4px solid #25828e} cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-brand, cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-brand:hover{color:#e9ecef;height:auto;padding:0} cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-brand>img{height:25px} cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-toggler{border:0} cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-toggler:focus, cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-toggler:hover{outline:0} cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-toggler .fa-navicon{color:#e9ecef} cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-collapse{padding:0} cd-navigation .cd-navbar-top .cd-navbar-brand .cd-navbar-utility>.active>a{background-color:#25828e;color:#e9ecef} cd-navigation .cd-navbar-top .cd-navbar-brand .cd-navbar-utility>li>.open>a, cd-navigation .cd-navbar-top .cd-navbar-brand .cd-navbar-utility>li>.open>a:focus, cd-navigation .cd-navbar-top .cd-navbar-brand .cd-navbar-utility>li>.open>a:hover{background-color:transparent;border-color:transparent;color:#e9ecef} cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>[ngbDropdown]>a, cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>a, cd-navigation .cd-navbar-top .navbar-nav>li>a{color:#e9ecef;display:block;line-height:1;padding:13.5px 18px!important;position:relative;text-decoration:none} cd-navigation .cd-navbar-top .navbar-nav .nav-link, cd-navigation .cd-navbar-top .navbar-nav .nav-link:hover{color:#e9ecef} cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>[ngbDropdown]>a:hover, cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>[ngbDropdown].open>a, cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>a:hover, cd-navigation .cd-navbar-top .navbar-nav>li>a:hover, cd-navigation .cd-navbar-top .navbar-nav>li:hover{background-color:#25828e} cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>[ngbDropdown]>a, cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>[ngbDropdown]>a:hover, cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>a, cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>a:focus, cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>a:hover, cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>li>a:focus, cd-navigation .cd-navbar-top .navbar-nav>.open>a, cd-navigation .cd-navbar-top .navbar-nav>.open>a:focus, cd-navigation .cd-navbar-top .navbar-nav>.open>a:hover{background-color:transparent;border-color:transparent;color:#e9ecef} cd-navigation .cd-navbar-top .no-hover:hover{background-color:#374249!important}@media (min-width: 768px){ cd-navigation .cd-navbar-top .cd-navbar-utility{border-bottom:0;font-size:1.1rem;position:absolute;right:0;top:0}}@media (max-width: 767px){ cd-navigation .cd-navbar-top .navbar-nav{margin:0} cd-navigation .cd-navbar-top .navbar-nav .fa{margin-right:.5em} cd-navigation .cd-navbar-top .navbar-nav .open .dropdown-menu{background-color:#25828e;border:0;padding-bottom:0;padding-top:0} cd-navigation .cd-navbar-top .navbar-nav .open .dropdown-menu>li>a{color:#e9ecef;padding:5px 15px 5px 35px} cd-navigation .cd-navbar-top .navbar-nav .open .dropdown-menu>.active>a{background-color:#25828e} cd-navigation .cd-navbar-top .navbar-nav>li>a:hover{background-color:#25828e}}.cd-navbar-primary[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .cd-navbar-primary[_ngcontent-%COMP%] > .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, .cd-navbar-primary[_ngcontent-%COMP%] > .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{background-color:#25828e!important;border:0!important;color:#fff!important}.wrapper[_ngcontent-%COMP%]{display:flex;height:100%;width:100%}.wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%]{background:#374249;bottom:0;color:#fff;height:auto;left:0;overflow-y:auto;position:relative;transition:all .3s;width:200px;z-index:999}.wrapper[_ngcontent-%COMP%] #sidebar.active[_ngcontent-%COMP%]{margin-left:-200px}.wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%] ul.component[_ngcontent-%COMP%]{margin:0;padding:20px 0}.wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff;padding:10px}.wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;display:block;font-size:1.3em;padding:10px 10px 10px 27px;text-decoration:none}.wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:#25828e;color:#fff}.wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] > .badge[_ngcontent-%COMP%]{margin-left:5px}.wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] a[aria-expanded=true][_ngcontent-%COMP%]{color:#fff}.wrapper[_ngcontent-%COMP%] a.dropdown-toggle[_ngcontent-%COMP%]{position:relative}.wrapper[_ngcontent-%COMP%] a.dropdown-toggle[_ngcontent-%COMP%]:after{border:0;content:"\\f054";font-family:ForkAwesome;font-size:1rem;margin-top:2px;position:absolute;right:20px;transition:transform .3s ease-in-out}.wrapper[_ngcontent-%COMP%] a.dropdown-toggle[aria-expanded=true][_ngcontent-%COMP%]:after{transform:rotate(90deg)}.wrapper[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{background:#4d5c66;font-size:1.1em!important;padding-left:40px!important}.wrapper[_ngcontent-%COMP%] .cd-navbar-primary[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus{outline:none}.wrapper[_ngcontent-%COMP%] ngx-simplebar[_ngcontent-%COMP%]{height:100%}#content[_ngcontent-%COMP%]{bottom:0;position:relative;right:0;transition:all .3s;width:calc(100% - 200px)}#content.active[_ngcontent-%COMP%]{width:100vw}']}),t})();var B8=o(6481),G8=o(76666),zO=o(85345);class j8{constructor(i,n){this.keySelector=i,this.flushes=n}call(i,n){return n.subscribe(new Z8(i,this.keySelector,this.flushes))}}class Z8 extends zO.Ds{constructor(i,n,s){super(i),this.keySelector=n,this.values=new Set,s&&this.add((0,zO.ft)(s,new zO.IY(this)))}notifyNext(){this.values.clear()}notifyError(i){this._error(i)}_next(i){this.keySelector?this._useKeySelector(i):this._finalizeNext(i,i)}_useKeySelector(i){let n;const{destination:s}=this;try{n=this.keySelector(i)}catch(l){return void s.error(l)}this._finalizeNext(n,i)}_finalizeNext(i,n){const{values:s}=this;s.has(i)||(s.add(i),this.destination.next(n))}}var z8=o(46240),nP=o(28049);class eb{resolve(i){const n=i.routeConfig.data,s=null===n.path?null:this.getFullPath(i);return(0,Dt.of)([{text:"string"==typeof n.breadcrumbs?n.breadcrumbs:n.breadcrumbs.text||n.text||s,path:s}])}getFullPath(i){return i.pathFromRoot.reduce((_,g)=>_+g.url.reduce((_,g)=>_+"/"+g.path,""),"")}}function V8(t,i){if(1&t&&(e.TgZ(0,"a",6),e._uU(1),e.qZA()),2&t){const n=e.oxw().$implicit;e.Q6J("routerLink",n.path),e.xp6(1),e.Oqu(n.text)}}function W8(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Oqu(n.text)}}const J8=function(t){return{active:t}};function Q8(t,i){if(1&t&&(e.TgZ(0,"li",3),e.YNc(1,V8,2,2,"a",4),e.YNc(2,W8,2,1,"span",5),e.qZA()),2&t){const n=i.$implicit,s=i.last,l=e.oxw(2);e.Q6J("ngClass",e.VKq(3,J8,s&&l.finished)),e.xp6(1),e.Q6J("ngIf",!s&&null!==n.path),e.xp6(1),e.Q6J("ngIf",s||null===n.path)}}function K8(t,i){if(1&t&&(e.TgZ(0,"ol",1),e.YNc(1,Q8,3,5,"li",2),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.crumbs)}}let X8=(()=>{class t{constructor(n,s,l){this.router=n,this.injector=s,this.titleService=l,this.crumbs=[],this.finished=!1,this.defaultResolver=new eb,this.subscription=this.router.events.pipe((0,as.h)(_=>_ instanceof Ce.OD)).subscribe(()=>{this.finished=!1}),this.subscription=this.router.events.pipe((0,as.h)(_=>_ instanceof Ce.m2)).subscribe(()=>{this._resolveCrumbs(n.routerState.snapshot.root).pipe((0,Md.zg)(g=>g),function Y8(t,i){return n=>n.lift(new j8(t,i))}(g=>g.text),(0,z8.q)(),(0,Md.zg)(g=>{const M=this.postProcess(g);return this.wrapIntoObservable(M).pipe((0,nP.P)())})).subscribe(g=>{this.finished=!0,this.crumbs=g;const M=this.getTitleFromCrumbs(this.crumbs);this.titleService.setTitle(M)})})}ngOnDestroy(){this.subscription.unsubscribe()}_resolveCrumbs(n){let s;const l=n.routeConfig&&n.routeConfig.data;if(l&&l.breadcrumbs){let _;_=l.breadcrumbs.prototype instanceof eb?this.injector.get(l.breadcrumbs):this.defaultResolver;const g=_.resolve(n);s=this.wrapIntoObservable(g).pipe((0,nP.P)())}else s=(0,Dt.of)([]);return n.firstChild&&(s=(0,B8.z)(s,this._resolveCrumbs(n.firstChild))),s}postProcess(n){const s=[];return n.forEach(l=>{const _=l.text.split("/");if(_.length>1){l.text=_[_.length-1];for(let g=0;g<_.length-1;g++)s.push({text:_[g],path:null})}s.push(l)}),s}isPromise(n){return n&&"function"==typeof n.then}wrapIntoObservable(n){return n instanceof cE.y?n:this.isPromise(n)?(0,G8.D)(Promise.resolve(n)):(0,Dt.of)(n)}getTitleFromCrumbs(n){const s=n.map(l=>l.text||"").join(" > ");return s.length>0?`Ceph: ${s}`:"Ceph"}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ce.F0),e.Y36(e.zs3),e.Y36(c.Dx))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-breadcrumbs"]],decls:1,vars:1,consts:[["class","breadcrumb",4,"ngIf"],[1,"breadcrumb"],["class","breadcrumb-item",3,"ngClass",4,"ngFor","ngForOf"],[1,"breadcrumb-item",3,"ngClass"],["preserveFragment","",3,"routerLink",4,"ngIf"],[4,"ngIf"],["preserveFragment","",3,"routerLink"]],template:function(n,s){1&n&&e.YNc(0,K8,2,1,"ol",0),2&n&&e.Q6J("ngIf",s.crumbs.length)},dependencies:[f.mk,f.sg,f.O5,Ce.rH],styles:['.breadcrumb[_ngcontent-%COMP%]{background-color:transparent;border-radius:0;margin-top:8px;padding:8px 0}.breadcrumb[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]:before{content:"\\f101";font-family:ForkAwesome;padding:0 5px 0 7px}']}),t})();var q8=o(17757),eI=o(20523);function tI(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"button",8),e.NdJ("click",function(){const _=e.CHM(n).$implicit,g=e.oxw(3);return e.KtG(g.onDaemonSelection(_))}),e._uU(2),e.qZA(),e.BQk()}if(2&t){const n=i.$implicit;e.xp6(2),e.AsE(" ",n.id," ( ",n.zonegroup_name," ) ")}}function nI(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",1)(2,"span",2),e.SDv(3,3),e.qZA(),e.TgZ(4,"div",4)(5,"button",5),e._uU(6),e.qZA(),e.TgZ(7,"div",6),e.YNc(8,tI,3,2,"ng-container",7),e.qZA()()(),e.BQk()),2&t){const n=e.oxw().ngIf;e.xp6(6),e.AsE(" ",n.selectedDaemon.id," ( ",n.selectedDaemon.zonegroup_name," ) "),e.xp6(2),e.Q6J("ngForOf",n.daemons)}}function rI(t,i){if(1&t&&(e.ynx(0),e.YNc(1,nI,9,3,"ng-container",0),e.BQk()),2&t){const n=i.ngIf,s=e.oxw();e.xp6(1),e.Q6J("ngIf",n.ftMap&&n.ftMap.rgw&&s.permissions.rgw.read&&s.isRgwRoute&&n.daemons.length>1)}}const iI=function(t,i,n){return{ftMap:t,daemons:i,selectedDaemon:n}};let oI=(()=>{class t{constructor(n,s,l,_,g){this.authStorageService=n,this.featureToggles=s,this.router=l,this.timerService=_,this.rgwDaemonService=g,this.REFRESH_INTERVAL=5e3,this.subs=new od.w,this.rgwUrlPrefix="/rgw",this.rgwUserUrlPrefix="/rgw/user",this.rgwRoleUrlPrefix="/rgw/roles",this.rgwBuckerUrlPrefix="/rgw/bucket",this.isRgwRoute=document.location.href.includes(this.rgwUserUrlPrefix)||document.location.href.includes(this.rgwBuckerUrlPrefix)||document.location.href.includes(this.rgwRoleUrlPrefix)}ngOnInit(){this.permissions=this.authStorageService.getPermissions(),this.featureToggleMap$=this.featureToggles.get(),this.subs.add(this.router.events.pipe((0,as.h)(n=>n instanceof Ce.m2)).subscribe(()=>this.isRgwRoute=[this.rgwBuckerUrlPrefix,this.rgwUserUrlPrefix,this.rgwRoleUrlPrefix].some(n=>this.router.url.startsWith(n)))),this.subs.add(this.timerService.get(()=>this.isRgwRoute?this.rgwDaemonService.list():q8.C,this.REFRESH_INTERVAL).subscribe())}ngOnDestroy(){this.subs.unsubscribe()}onDaemonSelection(n){this.rgwDaemonService.selectDaemon(n),this.reloadData()}reloadData(){const n=this.router.url;this.router.navigateByUrl(this.rgwUrlPrefix,{skipLocationChange:!0}).finally(()=>{this.router.navigate([n])})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(U1.l),e.Y36(Ce.F0),e.Y36(Xf.f),e.Y36(eI.b))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-context"]],decls:4,vars:11,consts:function(){let i,n;return i="Selected Object Gateway:",n="Select Object Gateway",[[4,"ngIf"],[1,"cd-context-bar","pt-3","pb-3"],[1,"me-1"],i,["ngbDropdown","","placement","bottom-left",1,"d-inline-block","ms-2"],["ngbDropdownToggle","","title",n,1,"btn","btn-outline-info","ctx-bar-selected-rgw-daemon"],["ngbDropdownMenu",""],[4,"ngFor","ngForOf"],["ngbDropdownItem","",1,"ctx-bar-available-rgw-daemon",3,"click"]]},template:function(n,s){1&n&&(e.YNc(0,rI,2,1,"ng-container",0),e.ALo(1,"async"),e.ALo(2,"async"),e.ALo(3,"async")),2&n&&e.Q6J("ngIf",e.kEZ(7,iI,e.lcZ(1,1,s.featureToggleMap$),e.lcZ(2,3,s.rgwDaemonService.daemons$),e.lcZ(3,5,s.rgwDaemonService.selectedDaemon$)))},dependencies:[f.sg,f.O5,Be.jt,Be.iD,Be.Vi,Be.TH,Ht.o,f.Ov],styles:[".cd-context-bar[_ngcontent-%COMP%]{border-bottom:1px solid #dee2e6}"]}),t})();const sI=function(t,i){return{dashboard:t,"rgw-dashboard":i}};let aI=(()=>{class t{constructor(n,s,l,_){this.router=n,this.summaryService=s,this.taskManagerService=l,this.faviconService=_,this.subs=new od.w}ngOnInit(){this.subs.add(this.summaryService.startPolling()),this.subs.add(this.taskManagerService.init(this.summaryService)),this.faviconService.init()}ngOnDestroy(){this.subs.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ce.F0),e.Y36(zm.J),e.Y36(QT.k),e.Y36(HO))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-workbench-layout"]],features:[e._Bn([HO])],decls:6,vars:4,consts:[[1,"container-fluid","h-100",3,"ngClass"]],template:function(n,s){1&n&&(e.TgZ(0,"block-ui")(1,"cd-navigation")(2,"div",0),e._UZ(3,"cd-context")(4,"cd-breadcrumbs")(5,"router-outlet"),e.qZA()()()),2&n&&(e.xp6(2),e.Q6J("ngClass",e.WLB(1,sI,"/dashboard"==s.router.url||"/dashboard_3"==s.router.url,"/rgw/overview"==s.router.url)))},dependencies:[zp.G8,f.mk,U8,X8,Ce.lC,oI],styles:[".dashboard[_ngcontent-%COMP%]{background-color:#e9ecef;margin:0;padding:0}.container-fluid[_ngcontent-%COMP%]{overflow:auto;position:absolute}.rgw-dashboard[_ngcontent-%COMP%]{background-color:#e9ecef}"]}),t})();var kc=o(78139),rP=o(55004);function tb(t){return(tb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(t)}function iP(t,i){for(var n=0;n<i.length;n++){var s=i[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}function uI(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function oP(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);i&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,s)}return n}function VO(t){return(VO=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(t)}function WO(t,i){return(WO=Object.setPrototypeOf||function(s,l){return s.__proto__=l,s})(t,i)}var sP={};function gI(t,i,n){return function mI(t){return null==t}(t)?n:function hI(t){return null!==t&&"object"===tb(t)&&"function"==typeof t.get&&"function"==typeof t.has}(t)?t.has(i)?t.get(i):n:hasOwnProperty.call(t,i)?t[i]:n}function aP(t,i,n){for(var s=0;s!==i.length;)if((t=gI(t,i[s++],sP))===sP)return n;return t}function JO(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=function vI(t,i){return function(n){if("string"==typeof n)return(0,rP.is)(i[n],t[n]);if(Array.isArray(n))return(0,rP.is)(aP(i,n),aP(t,n));throw new TypeError("Invalid key: expected Array or string: "+n)}}(i,n),l=t||Object.keys(function dI(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?oP(n,!0).forEach(function(s){uI(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):oP(n).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}({},n,{},i));return l.every(s)}var yI=function(t){function i(){return function lI(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}(this,i),function _I(t,i){return!i||"object"!=typeof i&&"function"!=typeof i?function pI(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):i}(this,VO(i).apply(this,arguments))}return function fI(t,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(i&&i.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),i&&WO(t,i)}(i,t),function cI(t,i,n){i&&iP(t.prototype,i),n&&iP(t,n)}(i,[{key:"shouldComponentUpdate",value:function(s){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!JO(this.updateOnProps,this.props,s,"updateOnProps")||!JO(this.updateOnStates,this.state,l,"updateOnStates")}}]),i}(kc.Component);const EI=yI;function lP(t,i){if(Array.prototype.indexOf)return t.indexOf(i);for(var n=0,s=t.length;n<s;n++)if(t[n]===i)return n;return-1}function e0(t,i){for(var n=t.length-1;n>=0;n--)!0===i(t[n])&&t.splice(n,1)}function QO(t){throw new Error("Unhandled case for value: '".concat(t,"'"))}var n,KO=function(){function t(i){void 0===i&&(i={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=i.tagName||"",this.attrs=i.attrs||{},this.innerHTML=i.innerHtml||i.innerHTML||""}return t.prototype.setTagName=function(i){return this.tagName=i,this},t.prototype.getTagName=function(){return this.tagName||""},t.prototype.setAttr=function(i,n){return this.getAttrs()[i]=n,this},t.prototype.getAttr=function(i){return this.getAttrs()[i]},t.prototype.setAttrs=function(i){return Object.assign(this.getAttrs(),i),this},t.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},t.prototype.setClass=function(i){return this.setAttr("class",i)},t.prototype.addClass=function(i){for(var g,n=this.getClass(),s=this.whitespaceRegex,l=n?n.split(s):[],_=i.split(s);g=_.shift();)-1===lP(l,g)&&l.push(g);return this.getAttrs().class=l.join(" "),this},t.prototype.removeClass=function(i){for(var g,n=this.getClass(),s=this.whitespaceRegex,l=n?n.split(s):[],_=i.split(s);l.length&&(g=_.shift());){var M=lP(l,g);-1!==M&&l.splice(M,1)}return this.getAttrs().class=l.join(" "),this},t.prototype.getClass=function(){return this.getAttrs().class||""},t.prototype.hasClass=function(i){return-1!==(" "+this.getClass()+" ").indexOf(" "+i+" ")},t.prototype.setInnerHTML=function(i){return this.innerHTML=i,this},t.prototype.setInnerHtml=function(i){return this.setInnerHTML(i)},t.prototype.getInnerHTML=function(){return this.innerHTML||""},t.prototype.getInnerHtml=function(){return this.getInnerHTML()},t.prototype.toAnchorString=function(){var i=this.getTagName(),n=this.buildAttrsStr();return["<",i,n=n?" "+n:"",">",this.getInnerHtml(),"</",i,">"].join("")},t.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var i=this.getAttrs(),n=[];for(var s in i)i.hasOwnProperty(s)&&n.push(s+'="'+i[s]+'"');return n.join(" ")},t}(),cP=function(){function t(i){void 0===i&&(i={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=i.newWindow||!1,this.truncate=i.truncate||{},this.className=i.className||""}return t.prototype.build=function(i){return new KO({tagName:"a",attrs:this.createAttrs(i),innerHtml:this.processAnchorText(i.getAnchorText())})},t.prototype.createAttrs=function(i){var n={href:i.getAnchorHref()},s=this.createCssClass(i);return s&&(n.class=s),this.newWindow&&(n.target="_blank",n.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<i.getAnchorText().length&&(n.title=i.getAnchorHref()),n},t.prototype.createCssClass=function(i){var n=this.className;if(n){for(var s=[n],l=i.getCssClassSuffixes(),_=0,g=l.length;_<g;_++)s.push(n+"-"+l[_]);return s.join(" ")}return""},t.prototype.processAnchorText=function(i){return this.doTruncate(i)},t.prototype.doTruncate=function(i){var n=this.truncate;if(!n||!n.length)return i;var s=n.length,l=n.location;return"smart"===l?function MI(t,i,n){var s,l;null==n?(n="&hellip;",l=3,s=8):(l=n.length,s=n.length);var g=function(Pe){var W="";return Pe.scheme&&Pe.host&&(W+=Pe.scheme+"://"),Pe.host&&(W+=Pe.host),Pe.path&&(W+="/"+Pe.path),Pe.query&&(W+="?"+Pe.query),Pe.fragment&&(W+="#"+Pe.fragment),W},M=function(Pe,W){var It=W/2,Pt=Math.ceil(It),Jt=-1*Math.floor(It),dn="";return Jt<0&&(dn=Pe.substr(Jt)),Pe.substr(0,Pt)+n+dn};if(t.length<=i)return t;var W,It,Pt,x=i-l,Y=(W={},(Pt=(It=t).match(/^([a-z]+):\/\//i))&&(W.scheme=Pt[1],It=It.substr(Pt[0].length)),(Pt=It.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(W.host=Pt[1],It=It.substr(Pt[0].length)),(Pt=It.match(/^\/(.*?)(?=(\?|#|$))/i))&&(W.path=Pt[1],It=It.substr(Pt[0].length)),(Pt=It.match(/^\?(.*?)(?=(#|$))/i))&&(W.query=Pt[1],It=It.substr(Pt[0].length)),(Pt=It.match(/^#(.*?)$/i))&&(W.fragment=Pt[1]),W);if(Y.query){var K=Y.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);K&&(Y.query=Y.query.substr(0,K[1].length),t=g(Y))}if(t.length<=i||(Y.host&&(Y.host=Y.host.replace(/^www\./,""),t=g(Y)),t.length<=i))return t;var le="";if(Y.host&&(le+=Y.host),le.length>=x)return Y.host.length==i?(Y.host.substr(0,i-l)+n).substr(0,x+s):M(le,x).substr(0,x+s);var fe="";if(Y.path&&(fe+="/"+Y.path),Y.query&&(fe+="?"+Y.query),fe){if((le+fe).length>=x)return(le+fe).length==i?(le+fe).substr(0,i):(le+M(fe,x-le.length)).substr(0,x+s);le+=fe}if(Y.fragment){var Se="#"+Y.fragment;if((le+Se).length>=x)return(le+Se).length==i?(le+Se).substr(0,i):(le+M(Se,x-le.length)).substr(0,x+s);le+=Se}if(Y.scheme&&Y.host){var we=Y.scheme+"://";if((le+we).length<x)return(we+le).substr(0,i)}if(le.length<=i)return le;var He="";return x>0&&(He=le.substr(-1*Math.floor(x/2))),(le.substr(0,Math.ceil(x/2))+n+He).substr(0,x+s)}(i,s):"middle"===l?function OI(t,i,n){if(t.length<=i)return t;var s,l;null==n?(n="&hellip;",s=8,l=3):(s=n.length,l=n.length);var _=i-l,g="";return _>0&&(g=t.substr(-1*Math.floor(_/2))),(t.substr(0,Math.ceil(_/2))+n+g).substr(0,_+s)}(i,s):function AI(t,i,n){return function TI(t,i,n){var s;return t.length>i&&(null==n?(n="&hellip;",s=3):s=n.length,t=t.substring(0,i-s)+n),t}(t,i,n)}(i,s)},t}(),ay=function(){function t(i){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=i.tagBuilder,this.matchedText=i.matchedText,this.offset=i.offset}return t.prototype.getMatchedText=function(){return this.matchedText},t.prototype.setOffset=function(i){this.offset=i},t.prototype.getOffset=function(){return this.offset},t.prototype.getCssClassSuffixes=function(){return[this.getType()]},t.prototype.buildTag=function(){return this.tagBuilder.build(this)},t}(),uP=function(t){function i(n){var s=t.call(this,n)||this;return s.email="",s.email=n.email,s}return(0,Gt.ZT)(i,t),i.prototype.getType=function(){return"email"},i.prototype.getEmail=function(){return this.email},i.prototype.getAnchorHref=function(){return"mailto:"+this.email},i.prototype.getAnchorText=function(){return this.email},i}(ay),dP=function(t){function i(n){var s=t.call(this,n)||this;return s.serviceName="",s.hashtag="",s.serviceName=n.serviceName,s.hashtag=n.hashtag,s}return(0,Gt.ZT)(i,t),i.prototype.getType=function(){return"hashtag"},i.prototype.getServiceName=function(){return this.serviceName},i.prototype.getHashtag=function(){return this.hashtag},i.prototype.getAnchorHref=function(){var n=this.serviceName,s=this.hashtag;switch(n){case"twitter":return"https://twitter.com/hashtag/"+s;case"facebook":return"https://www.facebook.com/hashtag/"+s;case"instagram":return"https://instagram.com/explore/tags/"+s;case"tiktok":return"https://www.tiktok.com/tag/"+s;default:throw new Error("Unknown service name to point hashtag to: "+n)}},i.prototype.getAnchorText=function(){return"#"+this.hashtag},i}(ay),fP=function(t){function i(n){var s=t.call(this,n)||this;return s.serviceName="twitter",s.mention="",s.mention=n.mention,s.serviceName=n.serviceName,s}return(0,Gt.ZT)(i,t),i.prototype.getType=function(){return"mention"},i.prototype.getMention=function(){return this.mention},i.prototype.getServiceName=function(){return this.serviceName},i.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;case"tiktok":return"https://www.tiktok.com/@"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},i.prototype.getAnchorText=function(){return"@"+this.mention},i.prototype.getCssClassSuffixes=function(){var n=t.prototype.getCssClassSuffixes.call(this),s=this.getServiceName();return s&&n.push(s),n},i}(ay),pP=function(t){function i(n){var s=t.call(this,n)||this;return s.number="",s.plusSign=!1,s.number=n.number,s.plusSign=n.plusSign,s}return(0,Gt.ZT)(i,t),i.prototype.getType=function(){return"phone"},i.prototype.getPhoneNumber=function(){return this.number},i.prototype.getNumber=function(){return this.getPhoneNumber()},i.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},i.prototype.getAnchorText=function(){return this.matchedText},i}(ay),_P=function(t){function i(n){var s=t.call(this,n)||this;return s.url="",s.urlMatchType="scheme",s.protocolUrlMatch=!1,s.protocolRelativeMatch=!1,s.stripPrefix={scheme:!0,www:!0},s.stripTrailingSlash=!0,s.decodePercentEncoding=!0,s.schemePrefixRegex=/^(https?:\/\/)?/i,s.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,s.protocolRelativeRegex=/^\/\//,s.protocolPrepended=!1,s.urlMatchType=n.urlMatchType,s.url=n.url,s.protocolUrlMatch=n.protocolUrlMatch,s.protocolRelativeMatch=n.protocolRelativeMatch,s.stripPrefix=n.stripPrefix,s.stripTrailingSlash=n.stripTrailingSlash,s.decodePercentEncoding=n.decodePercentEncoding,s}return(0,Gt.ZT)(i,t),i.prototype.getType=function(){return"url"},i.prototype.getUrlMatchType=function(){return this.urlMatchType},i.prototype.getUrl=function(){var n=this.url;return!this.protocolRelativeMatch&&!this.protocolUrlMatch&&!this.protocolPrepended&&(n=this.url="http://"+n,this.protocolPrepended=!0),n},i.prototype.getAnchorHref=function(){return this.getUrl().replace(/&amp;/g,"&")},i.prototype.getAnchorText=function(){var n=this.getMatchedText();return this.protocolRelativeMatch&&(n=this.stripProtocolRelativePrefix(n)),this.stripPrefix.scheme&&(n=this.stripSchemePrefix(n)),this.stripPrefix.www&&(n=this.stripWwwPrefix(n)),this.stripTrailingSlash&&(n=this.removeTrailingSlash(n)),this.decodePercentEncoding&&(n=this.removePercentEncoding(n)),n},i.prototype.stripSchemePrefix=function(n){return n.replace(this.schemePrefixRegex,"")},i.prototype.stripWwwPrefix=function(n){return n.replace(this.wwwPrefixRegex,"$1")},i.prototype.stripProtocolRelativePrefix=function(n){return n.replace(this.protocolRelativeRegex,"")},i.prototype.removeTrailingSlash=function(n){return"/"===n.charAt(n.length-1)&&(n=n.slice(0,-1)),n},i.prototype.removePercentEncoding=function(n){var s=n.replace(/%22/gi,"&quot;").replace(/%26/gi,"&amp;").replace(/%27/gi,"&#39;").replace(/%3C/gi,"&lt;").replace(/%3E/gi,"&gt;");try{return decodeURIComponent(s)}catch{return s}},i}(ay),ly=function t(i){this.__jsduckDummyDocProp=null,this.tagBuilder=i.tagBuilder},XO=/[A-Za-z]/,DI=/[\d]/,RI=/[\D]/,t0=/\s/,qO=/['"]/,PI=/[\x00-\x1F\x7F]/,hP=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,mP=hP+/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source+/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,nb=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,NI=mP+nb,tf=mP+nb,GE=new RegExp("[".concat(tf,"]")),II="(?:["+nb+"]{1,3}\\.){3}["+nb+"]{1,3}",FI="["+tf+"](?:["+tf+"\\-_]{0,61}["+tf+"])?",gP=function(t){return"(?=("+FI+"))\\"+t},eA=function(t){return"(?:"+gP(t)+"(?:\\."+gP(t+1)+"){0,126}|"+II+")"},rb=(new RegExp("["+tf+".\\-]*["+tf+"\\-]"),GE),vP=/(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|verm\xf6gensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|verm\xf6gensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|travelchannel|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cityeats|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|etisalat|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|\u043a\u0430\u0442\u043e\u043b\u0438\u043a|\u0627\u062a\u0635\u0627\u0644\u0627\u062a|\u0627\u0644\u0628\u062d\u0631\u064a\u0646|\u0627\u0644\u062c\u0632\u0627\u0626\u0631|\u0627\u0644\u0639\u0644\u064a\u0627\u0646|\u067e\u0627\u06a9\u0633\u062a\u0627\u0646|\u0643\u0627\u062b\u0648\u0644\u064a\u0643|\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe|abarth|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|webcam|xihuan|yachts|yandex|zappos|\u043c\u043e\u0441\u043a\u0432\u0430|\u043e\u043d\u043b\u0430\u0439\u043d|\u0627\u0628\u0648\u0638\u0628\u064a|\u0627\u0631\u0627\u0645\u0643\u0648|\u0627\u0644\u0627\u0631\u062f\u0646|\u0627\u0644\u0645\u063a\u0631\u0628|\u0627\u0645\u0627\u0631\u0627\u062a|\u0641\u0644\u0633\u0637\u064a\u0646|\u0645\u0644\u064a\u0633\u064a\u0627|\u092d\u093e\u0930\u0924\u092e\u094d|\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8|\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|loans|locus|lotte|lotto|macys|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|\u05d9\u05e9\u05e8\u05d0\u05dc|\u0627\u06cc\u0631\u0627\u0646|\u0628\u0627\u0632\u0627\u0631|\u0628\u06be\u0627\u0631\u062a|\u0633\u0648\u062f\u0627\u0646|\u0633\u0648\u0631\u064a\u0629|\u0647\u0645\u0631\u0627\u0647|\u092d\u093e\u0930\u094b\u0924|\u0938\u0902\u0917\u0920\u0928|\u09ac\u09be\u0982\u09b2\u09be|\u0c2d\u0c3e\u0c30\u0c24\u0c4d|\u0d2d\u0d3e\u0d30\u0d24\u0d02|\u5609\u91cc\u5927\u9152\u5e97|aarp|able|adac|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|\u0434\u0435\u0442\u0438|\u0441\u0430\u0439\u0442|\u0628\u0627\u0631\u062a|\u0628\u064a\u062a\u0643|\u0680\u0627\u0631\u062a|\u062a\u0648\u0646\u0633|\u0634\u0628\u0643\u0629|\u0639\u0631\u0627\u0642|\u0639\u0645\u0627\u0646|\u0645\u0648\u0642\u0639|\u092d\u093e\u0930\u0924|\u09ad\u09be\u09b0\u09a4|\u09ad\u09be\u09f0\u09a4|\u0a2d\u0a3e\u0a30\u0a24|\u0aad\u0abe\u0ab0\u0aa4|\u0b2d\u0b3e\u0b30\u0b24|\u0cad\u0cbe\u0cb0\u0ca4|\u0dbd\u0d82\u0d9a\u0dcf|\u30a2\u30de\u30be\u30f3|\u30b0\u30fc\u30b0\u30eb|\u30af\u30e9\u30a6\u30c9|\u30dd\u30a4\u30f3\u30c8|\u7ec4\u7ec7\u673a\u6784|\u96fb\u8a0a\u76c8\u79d1|\u9999\u683c\u91cc\u62c9|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|\u0431\u0435\u043b|\u043a\u043e\u043c|\u049b\u0430\u0437|\u043c\u043a\u0434|\u043c\u043e\u043d|\u043e\u0440\u0433|\u0440\u0443\u0441|\u0441\u0440\u0431|\u0443\u043a\u0440|\u0570\u0561\u0575|\u05e7\u05d5\u05dd|\u0639\u0631\u0628|\u0642\u0637\u0631|\u0643\u0648\u0645|\u0645\u0635\u0631|\u0915\u0949\u092e|\u0928\u0947\u091f|\u0e04\u0e2d\u0e21|\u0e44\u0e17\u0e22|\u0ea5\u0eb2\u0ea7|\u30b9\u30c8\u30a2|\u30bb\u30fc\u30eb|\u307f\u3093\u306a|\u4e2d\u6587\u7f51|\u4e9a\u9a6c\u900a|\u5929\u4e3b\u6559|\u6211\u7231\u4f60|\u65b0\u52a0\u5761|\u6de1\u9a6c\u9521|\u8bfa\u57fa\u4e9a|\u98de\u5229\u6d66|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|\u03b5\u03bb|\u03b5\u03c5|\u0431\u0433|\u0435\u044e|\u0440\u0444|\u10d2\u10d4|\ub2f7\ub137|\ub2f7\ucef4|\uc0bc\uc131|\ud55c\uad6d|\u30b3\u30e0|\u4e16\u754c|\u4e2d\u4fe1|\u4e2d\u56fd|\u4e2d\u570b|\u4f01\u4e1a|\u4f5b\u5c71|\u4fe1\u606f|\u5065\u5eb7|\u516b\u5366|\u516c\u53f8|\u516c\u76ca|\u53f0\u6e7e|\u53f0\u7063|\u5546\u57ce|\u5546\u5e97|\u5546\u6807|\u5609\u91cc|\u5728\u7ebf|\u5927\u62ff|\u5a31\u4e50|\u5bb6\u96fb|\u5e7f\u4e1c|\u5fae\u535a|\u6148\u5584|\u624b\u673a|\u62db\u8058|\u653f\u52a1|\u653f\u5e9c|\u65b0\u95fb|\u65f6\u5c1a|\u66f8\u7c4d|\u673a\u6784|\u6e38\u620f|\u6fb3\u9580|\u70b9\u770b|\u79fb\u52a8|\u7f51\u5740|\u7f51\u5e97|\u7f51\u7ad9|\u7f51\u7edc|\u8054\u901a|\u8c37\u6b4c|\u8d2d\u7269|\u901a\u8ca9|\u96c6\u56e2|\u98df\u54c1|\u9910\u5385|\u9999\u6e2f)/,LI=new RegExp("[".concat(tf,"!#$%&'*+/=?^_`{|}~-]")),kI=new RegExp("^".concat(vP.source,"$")),yP=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.localPartCharRegex=LI,n.strictTldRegex=kI,n}return(0,Gt.ZT)(i,t),i.prototype.parseMatches=function(n){for(var s=this.tagBuilder,l=this.localPartCharRegex,_=this.strictTldRegex,g=[],M=n.length,x=new ib,Y={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},K=0,le=0,fe=x;K<M;){var ge=n.charAt(K);switch(le){case 0:"m"===(ln=ge)?Jt(1):l.test(ln)&&Jt();break;case 1:Ge(n.charAt(K-1),ge);break;case 2:we(ge);break;case 3:He(ge);break;case 4:Pe(ge);break;case 5:W(ge);break;case 6:It(ge);break;case 7:Pt(ge);break;default:QO(le)}K++}var ln;return Un(),g;function Ge(ln,Xn){":"===ln?l.test(Xn)?(le=2,fe=new ib((0,Gt.pi)((0,Gt.pi)({},fe),{hasMailtoPrefix:!0}))):dn():Y[ln]===Xn||(l.test(Xn)?le=2:"."===Xn?le=3:"@"===Xn?le=4:dn())}function we(ln){"."===ln?le=3:"@"===ln?le=4:l.test(ln)||dn()}function He(ln){"."===ln||"@"===ln?dn():l.test(ln)?le=2:dn()}function Pe(ln){rb.test(ln)?le=5:dn()}function W(ln){"."===ln?le=7:"-"===ln?le=6:rb.test(ln)||Un()}function It(ln){"-"===ln||"."===ln?Un():rb.test(ln)?le=5:Un()}function Pt(ln){"."===ln||"-"===ln?Un():rb.test(ln)?(le=5,fe=new ib((0,Gt.pi)((0,Gt.pi)({},fe),{hasDomainDot:!0}))):Un()}function Jt(ln){void 0===ln&&(ln=2),le=ln,fe=new ib({idx:K})}function dn(){le=0,fe=x}function Un(){if(fe.hasDomainDot){var ln=n.slice(fe.idx,K);/[-.]$/.test(ln)&&(ln=ln.slice(0,-1));var Xn=fe.hasMailtoPrefix?ln.slice(7):ln;(function jn(Wr){var di=(Wr.split(".").pop()||"").toLowerCase();return _.test(di)})(Xn)&&g.push(new uP({tagBuilder:s,matchedText:ln,offset:fe.idx,email:Xn}))}dn()}},i}(ly),ib=function t(i){void 0===i&&(i={}),this.idx=void 0!==i.idx?i.idx:-1,this.hasMailtoPrefix=!!i.hasMailtoPrefix,this.hasDomainDot=!!i.hasDomainDot},$I=function(){function t(){}return t.isValid=function(i,n){return!(n&&!this.isValidUriScheme(n)||this.urlMatchDoesNotHaveProtocolOrDot(i,n)||this.urlMatchDoesNotHaveAtLeastOneWordChar(i,n)&&!this.isValidIpAddress(i)||this.containsMultipleDots(i))},t.isValidIpAddress=function(i){var n=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source);return null!==i.match(n)},t.containsMultipleDots=function(i){var n=i;return this.hasFullProtocolRegex.test(i)&&(n=i.split("://")[1]),n.split("/")[0].indexOf("..")>-1},t.isValidUriScheme=function(i){var n=i.match(this.uriSchemeRegex),s=n&&n[0].toLowerCase();return"javascript:"!==s&&"vbscript:"!==s},t.urlMatchDoesNotHaveProtocolOrDot=function(i,n){return!(!i||n&&this.hasFullProtocolRegex.test(n)||-1!==i.indexOf("."))},t.urlMatchDoesNotHaveAtLeastOneWordChar=function(i,n){return!(!i||!n||this.hasFullProtocolRegex.test(n)||this.hasWordCharAfterProtocolRegex.test(i))},t.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,t.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,t.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+hP+"]"),t.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,t}(),HI=(n=new RegExp("[/?#](?:["+tf+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^\u2713]*["+tf+"\\-+&@#/%=~_()|'$*\\[\\]{}\u2713])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,eA(2),")","|","(","(//)?",/(?:www\.)/.source,eA(6),")","|","(","(//)?",eA(10)+"\\.",vP.source,"(?![-"+NI+"])",")",")","(?::[0-9]+)?","(?:"+n.source+")?"].join(""),"gi")),UI=new RegExp("["+tf+"]"),EP=function(t){function i(n){var s=t.call(this,n)||this;return s.stripPrefix={scheme:!0,www:!0},s.stripTrailingSlash=!0,s.decodePercentEncoding=!0,s.matcherRegex=HI,s.wordCharRegExp=UI,s.stripPrefix=n.stripPrefix,s.stripTrailingSlash=n.stripTrailingSlash,s.decodePercentEncoding=n.decodePercentEncoding,s}return(0,Gt.ZT)(i,t),i.prototype.parseMatches=function(n){for(var Y,s=this.matcherRegex,l=this.stripPrefix,_=this.stripTrailingSlash,g=this.decodePercentEncoding,M=this.tagBuilder,x=[],K=function(){var fe=Y[0],ge=Y[1],Se=Y[4],He=Y.index,Pe=Y[5]||Y[9],W=n.charAt(He-1);if(!$I.isValid(fe,ge)||He>0&&"@"===W||He>0&&Pe&&le.wordCharRegExp.test(W))return"continue";if(/\?$/.test(fe)&&(fe=fe.substr(0,fe.length-1)),le.matchHasUnbalancedClosingParen(fe))fe=fe.substr(0,fe.length-1);else{var It=le.matchHasInvalidCharAfterTld(fe,ge);It>-1&&(fe=fe.substr(0,It))}var Pt=["http://","https://"].find(function(ln){return!!ge&&-1!==ge.indexOf(ln)});if(Pt){var Jt=fe.indexOf(Pt);fe=fe.substr(Jt),ge=ge.substr(Jt),He+=Jt}x.push(new _P({tagBuilder:M,matchedText:fe,offset:He,urlMatchType:ge?"scheme":Se?"www":"tld",url:fe,protocolUrlMatch:!!ge,protocolRelativeMatch:!!Pe,stripPrefix:l,stripTrailingSlash:_,decodePercentEncoding:g}))},le=this;null!==(Y=s.exec(n));)K();return x},i.prototype.matchHasUnbalancedClosingParen=function(n){var l,s=n.charAt(n.length-1);if(")"===s)l="(";else if("]"===s)l="[";else{if("}"!==s)return!1;l="{"}for(var _=0,g=0,M=n.length-1;g<M;g++){var x=n.charAt(g);x===l?_++:x===s&&(_=Math.max(_-1,0))}return 0===_},i.prototype.matchHasInvalidCharAfterTld=function(n,s){if(!n)return-1;var l=0;s&&(l=n.indexOf(":"),n=n.slice(l));var g=new RegExp("^((.?//)?[-."+tf+"]*[-"+tf+"]\\.[-"+tf+"]+)").exec(n);return null===g?-1:(l+=g[1].length,n=n.slice(g[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(n)?l:-1)},i}(ly),SP=new RegExp("[_".concat(tf,"]")),CP=function(t){function i(n){var s=t.call(this,n)||this;return s.serviceName="twitter",s.serviceName=n.serviceName,s}return(0,Gt.ZT)(i,t),i.prototype.parseMatches=function(n){for(var s=this.tagBuilder,l=this.serviceName,_=[],g=n.length,M=0,x=-1,Y=0;M<g;){var K=n.charAt(M);switch(Y){case 0:"#"===(we=K)?(Y=2,x=M):GE.test(we)&&(Y=1);break;case 1:fe(K);break;case 2:ge(K);break;case 3:Se(K);break;default:QO(Y)}M++}var we;return Ge(),_;function fe(we){GE.test(we)||(Y=0)}function ge(we){Y=SP.test(we)?3:GE.test(we)?1:0}function Se(we){SP.test(we)||(Ge(),x=-1,Y=GE.test(we)?1:0)}function Ge(){if(x>-1&&M-x<=140){var we=n.slice(x,M),He=new dP({tagBuilder:s,matchedText:we,offset:x,serviceName:l,hashtag:we.slice(1)});_.push(He)}}},i}(ly),BI=["twitter","facebook","instagram","tiktok"],jI=new RegExp("".concat(/(?:(?:(?:(\+)?\d{1,3}[-\040.]?)?\(?\d{3}\)?[-\040.]?\d{3}[-\040.]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-\040.]?(?:\d[-\040.]?){6,12}\d+))([,;]+[0-9]+#?)*/.source,"|").concat(/(0([1-9]{1}-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/.source),"g"),TP=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.matcherRegex=jI,n}return(0,Gt.ZT)(i,t),i.prototype.parseMatches=function(n){for(var g,s=this.matcherRegex,l=this.tagBuilder,_=[];null!==(g=s.exec(n));){var M=g[0],x=M.replace(/[^0-9,;#]/g,""),Y=!(!g[1]&&!g[2]),K=0==g.index?"":n.substr(g.index-1,1),le=n.substr(g.index+M.length,1),fe=!K.match(/\d/)&&!le.match(/\d/);this.testMatch(g[3])&&this.testMatch(M)&&fe&&_.push(new pP({tagBuilder:l,matchedText:M,offset:g.index,number:x,plusSign:Y}))}return _},i.prototype.testMatch=function(n){return RI.test(n)},i}(ly),ZI=new RegExp("@[_".concat(tf,"]{1,50}(?![_").concat(tf,"])"),"g"),zI=new RegExp("@[_.".concat(tf,"]{1,30}(?![_").concat(tf,"])"),"g"),VI=new RegExp("@[-_.".concat(tf,"]{1,50}(?![-_").concat(tf,"])"),"g"),WI=new RegExp("@[_.".concat(tf,"]{1,23}[_").concat(tf,"](?![_").concat(tf,"])"),"g"),JI=new RegExp("[^"+tf+"]"),bP=function(t){function i(n){var s=t.call(this,n)||this;return s.serviceName="twitter",s.matcherRegexes={twitter:ZI,instagram:zI,soundcloud:VI,tiktok:WI},s.nonWordCharRegex=JI,s.serviceName=n.serviceName,s}return(0,Gt.ZT)(i,t),i.prototype.parseMatches=function(n){var x,s=this.serviceName,l=this.matcherRegexes[this.serviceName],_=this.nonWordCharRegex,g=this.tagBuilder,M=[];if(!l)return M;for(;null!==(x=l.exec(n));){var Y=x.index,K=n.charAt(Y-1);if(0===Y||_.test(K)){var le=x[0].replace(/\.+$/g,""),fe=le.slice(1);M.push(new fP({tagBuilder:g,matchedText:le,offset:Y,serviceName:s,mention:fe}))}}return M},i}(ly);var yg=function t(i){void 0===i&&(i={}),this.idx=void 0!==i.idx?i.idx:-1,this.type=i.type||"tag",this.name=i.name||"",this.isOpening=!!i.isOpening,this.isClosing=!!i.isClosing},KI=function(){function t(i){void 0===i&&(i={}),this.version=t.version,this.urls={},this.email=!0,this.phone=!0,this.hashtag=!1,this.mention=!1,this.newWindow=!0,this.stripPrefix={scheme:!0,www:!0},this.stripTrailingSlash=!0,this.decodePercentEncoding=!0,this.truncate={length:0,location:"end"},this.className="",this.replaceFn=null,this.context=void 0,this.sanitizeHtml=!1,this.matchers=null,this.tagBuilder=null,this.urls=this.normalizeUrlsCfg(i.urls),this.email="boolean"==typeof i.email?i.email:this.email,this.phone="boolean"==typeof i.phone?i.phone:this.phone,this.hashtag=i.hashtag||this.hashtag,this.mention=i.mention||this.mention,this.newWindow="boolean"==typeof i.newWindow?i.newWindow:this.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(i.stripPrefix),this.stripTrailingSlash="boolean"==typeof i.stripTrailingSlash?i.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding="boolean"==typeof i.decodePercentEncoding?i.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=i.sanitizeHtml||!1;var n=this.mention;if(!1!==n&&-1===["twitter","instagram","soundcloud","tiktok"].indexOf(n))throw new Error("invalid `mention` cfg '".concat(n,"' - see docs"));var s=this.hashtag;if(!1!==s&&-1===BI.indexOf(s))throw new Error("invalid `hashtag` cfg '".concat(s,"' - see docs"));this.truncate=this.normalizeTruncateCfg(i.truncate),this.className=i.className||this.className,this.replaceFn=i.replaceFn||this.replaceFn,this.context=i.context||this}return t.link=function(i,n){return new t(n).link(i)},t.parse=function(i,n){return new t(n).parse(i)},t.prototype.normalizeUrlsCfg=function(i){return null==i&&(i=!0),"boolean"==typeof i?{schemeMatches:i,wwwMatches:i,tldMatches:i}:{schemeMatches:"boolean"!=typeof i.schemeMatches||i.schemeMatches,wwwMatches:"boolean"!=typeof i.wwwMatches||i.wwwMatches,tldMatches:"boolean"!=typeof i.tldMatches||i.tldMatches}},t.prototype.normalizeStripPrefixCfg=function(i){return null==i&&(i=!0),"boolean"==typeof i?{scheme:i,www:i}:{scheme:"boolean"!=typeof i.scheme||i.scheme,www:"boolean"!=typeof i.www||i.www}},t.prototype.normalizeTruncateCfg=function(i){return"number"==typeof i?{length:i,location:"end"}:function CI(t,i){for(var n in i)i.hasOwnProperty(n)&&void 0===t[n]&&(t[n]=i[n]);return t}(i||{},{length:Number.POSITIVE_INFINITY,location:"end"})},t.prototype.parse=function(i){var n=this,s=["a","style","script"],l=0,_=[];return function QI(t,i){for(var n=i.onOpenTag,s=i.onCloseTag,l=i.onText,_=i.onComment,g=i.onDoctype,M=new yg,x=0,Y=t.length,K=0,le=0,fe=M;x<Y;){var ge=t.charAt(x);switch(K){case 0:"<"===ge&&Jn();break;case 1:"!"===(yi=ge)?K=13:"/"===yi?(K=2,fe=new yg((0,Gt.pi)((0,Gt.pi)({},fe),{isClosing:!0}))):"<"===yi?Jn():XO.test(yi)?(K=3,fe=new yg((0,Gt.pi)((0,Gt.pi)({},fe),{isOpening:!0}))):(K=0,fe=M);break;case 2:He(ge);break;case 3:we(ge);break;case 4:Pe(ge);break;case 5:W(ge);break;case 6:It(ge);break;case 7:Pt(ge);break;case 8:Jt(ge);break;case 9:dn(ge);break;case 10:Un(ge);break;case 11:ln(ge);break;case 12:Xn(ge);break;case 13:"--"===t.substr(x,2)?(x+=2,fe=new yg((0,Gt.pi)((0,Gt.pi)({},fe),{type:"comment"})),K=14):"DOCTYPE"===t.substr(x,7).toUpperCase()?(x+=7,fe=new yg((0,Gt.pi)((0,Gt.pi)({},fe),{type:"doctype"})),K=20):Mr();break;case 14:Wr(ge);break;case 15:Ur(ge);break;case 16:di(ge);break;case 17:Mi(ge);break;case 18:Gn(ge);break;case 19:pr(ge);break;case 20:fr(ge);break;default:QO(K)}x++}var yi;function we(yi){t0.test(yi)?(fe=new yg((0,Gt.pi)((0,Gt.pi)({},fe),{name:Yi()})),K=4):"<"===yi?Jn():"/"===yi?(fe=new yg((0,Gt.pi)((0,Gt.pi)({},fe),{name:Yi()})),K=12):">"===yi?(fe=new yg((0,Gt.pi)((0,Gt.pi)({},fe),{name:Yi()})),ci()):!XO.test(yi)&&!DI.test(yi)&&":"!==yi&&Mr()}function He(yi){">"===yi?Mr():XO.test(yi)?K=3:Mr()}function Pe(yi){t0.test(yi)||("/"===yi?K=12:">"===yi?ci():"<"===yi?Jn():"="===yi||qO.test(yi)||PI.test(yi)?Mr():K=5)}function W(yi){t0.test(yi)?K=6:"/"===yi?K=12:"="===yi?K=7:">"===yi?ci():"<"===yi?Jn():qO.test(yi)&&Mr()}function It(yi){t0.test(yi)||("/"===yi?K=12:"="===yi?K=7:">"===yi?ci():"<"===yi?Jn():qO.test(yi)?Mr():K=5)}function Pt(yi){t0.test(yi)||('"'===yi?K=8:"'"===yi?K=9:/[>=`]/.test(yi)?Mr():"<"===yi?Jn():K=10)}function Jt(yi){'"'===yi&&(K=11)}function dn(yi){"'"===yi&&(K=11)}function Un(yi){t0.test(yi)?K=4:">"===yi?ci():"<"===yi&&Jn()}function ln(yi){t0.test(yi)?K=4:"/"===yi?K=12:">"===yi?ci():"<"===yi?Jn():(K=4,function lo(){x--}())}function Xn(yi){">"===yi?(fe=new yg((0,Gt.pi)((0,Gt.pi)({},fe),{isClosing:!0})),ci()):K=4}function Wr(yi){"-"===yi?K=15:">"===yi?Mr():K=16}function Ur(yi){"-"===yi?K=18:">"===yi?Mr():K=16}function di(yi){"-"===yi&&(K=17)}function Mi(yi){K="-"===yi?18:16}function Gn(yi){">"===yi?ci():"!"===yi?K=19:"-"===yi||(K=16)}function pr(yi){"-"===yi?K=17:">"===yi?ci():K=16}function fr(yi){">"===yi?ci():"<"===yi&&Jn()}function Mr(){K=0,fe=M}function Jn(){K=1,fe=new yg({idx:x})}function ci(){var yi=t.slice(le,fe.idx);yi&&l(yi,le),"comment"===fe.type?_(fe.idx):"doctype"===fe.type?g(fe.idx):(fe.isOpening&&n(fe.name,fe.idx),fe.isClosing&&s(fe.name,fe.idx)),Mr(),le=x+1}function Yi(){return t.slice(fe.idx+(fe.isClosing?2:1),x).toLowerCase()}le<x&&function ho(){var yi=t.slice(le,x);l(yi,le),le=x+1}()}(i,{onOpenTag:function(g){s.indexOf(g)>=0&&l++},onText:function(g,M){if(0===l){var Y=function bI(t,i){if(!i.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var l,n=[],s=0;l=i.exec(t);)n.push(t.substring(s,l.index)),n.push(l[0]),s=l.index+l[0].length;return n.push(t.substring(s)),n}(g,/(&nbsp;|&#160;|&lt;|&#60;|&gt;|&#62;|&quot;|&#34;|&#39;)/gi),K=M;Y.forEach(function(le,fe){if(fe%2==0){var ge=n.parseText(le,K);_.push.apply(_,ge)}K+=le.length})}},onCloseTag:function(g){s.indexOf(g)>=0&&(l=Math.max(l-1,0))},onComment:function(g){},onDoctype:function(g){}}),_=this.compactMatches(_),_=this.removeUnwantedMatches(_)},t.prototype.compactMatches=function(i){i.sort(function(x,Y){return x.getOffset()-Y.getOffset()});for(var n=0;n<i.length-1;){var s=i[n],l=s.getOffset(),_=s.getMatchedText().length,g=l+_;if(n+1<i.length){if(i[n+1].getOffset()===l){var M=i[n+1].getMatchedText().length>_?n:n+1;i.splice(M,1);continue}if(i[n+1].getOffset()<g){i.splice(n+1,1);continue}}n++}return i},t.prototype.removeUnwantedMatches=function(i){return this.hashtag||e0(i,function(n){return"hashtag"===n.getType()}),this.email||e0(i,function(n){return"email"===n.getType()}),this.phone||e0(i,function(n){return"phone"===n.getType()}),this.mention||e0(i,function(n){return"mention"===n.getType()}),this.urls.schemeMatches||e0(i,function(n){return"url"===n.getType()&&"scheme"===n.getUrlMatchType()}),this.urls.wwwMatches||e0(i,function(n){return"url"===n.getType()&&"www"===n.getUrlMatchType()}),this.urls.tldMatches||e0(i,function(n){return"url"===n.getType()&&"tld"===n.getUrlMatchType()}),i},t.prototype.parseText=function(i,n){void 0===n&&(n=0),n=n||0;for(var s=this.getMatchers(),l=[],_=0,g=s.length;_<g;_++){for(var M=s[_].parseMatches(i),x=0,Y=M.length;x<Y;x++)M[x].setOffset(n+M[x].getOffset());l.push.apply(l,M)}return l},t.prototype.link=function(i){if(!i)return"";this.sanitizeHtml&&(i=i.replace(/</g,"&lt;").replace(/>/g,"&gt;"));for(var n=this.parse(i),s=[],l=0,_=0,g=n.length;_<g;_++){var M=n[_];s.push(i.substring(l,M.getOffset())),s.push(this.createMatchReturnVal(M)),l=M.getOffset()+M.getMatchedText().length}return s.push(i.substring(l)),s.join("")},t.prototype.createMatchReturnVal=function(i){var n;return this.replaceFn&&(n=this.replaceFn.call(this.context,i)),"string"==typeof n?n:!1===n?i.getMatchedText():n instanceof KO?n.toAnchorString():i.buildTag().toAnchorString()},t.prototype.getMatchers=function(){if(this.matchers)return this.matchers;var i=this.getTagBuilder(),n=[new CP({tagBuilder:i,serviceName:this.hashtag}),new yP({tagBuilder:i}),new TP({tagBuilder:i}),new bP({tagBuilder:i,serviceName:this.mention}),new EP({tagBuilder:i,stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding})];return this.matchers=n},t.prototype.getTagBuilder=function(){var i=this.tagBuilder;return i||(i=this.tagBuilder=new cP({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),i},t.version="3.16.2",t.AnchorTagBuilder=cP,t.HtmlTag=KO,t.matcher={Email:yP,Hashtag:CP,Matcher:ly,Mention:bP,Phone:TP,Url:EP},t.match={Email:uP,Hashtag:dP,Match:ay,Mention:fP,Phone:pP,Url:_P},t}();const XI=KI;var qI=/www|@|\:\/\//;function e4(t){return/^<a[>\s]/i.test(t)}function t4(t){return/^<\/a\s*>/i.test(t)}function n4(){var t=[],i=new XI({stripPrefix:!1,url:!0,email:!0,replaceFn:function(n){switch(n.getType()){case"url":t.push({text:n.matchedText,url:n.getUrl()});break;case"email":t.push({text:n.matchedText,url:"mailto:"+n.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:t,autolinker:i}}function r4(t){var i,n,s,l,_,g,M,x,Y,K,le,Se,Ge,fe=t.tokens,ge=null;for(n=0,s=fe.length;n<s;n++)if("inline"===fe[n].type)for(le=0,i=(l=fe[n].children).length-1;i>=0;i--)if("link_close"!==(_=l[i]).type){if("htmltag"===_.type&&(e4(_.content)&&le>0&&le--,t4(_.content)&&le++),!(le>0)&&"text"===_.type&&qI.test(_.content)){if(ge||(Se=(ge=n4()).links,Ge=ge.autolinker),g=_.content,Se.length=0,Ge.link(g),!Se.length)continue;for(M=[],K=_.level,x=0;x<Se.length;x++)t.inline.validateLink(Se[x].url)&&((Y=g.indexOf(Se[x].text))&&M.push({type:"text",content:g.slice(0,Y),level:K}),M.push({type:"link_open",href:Se[x].url,title:"",level:K++}),M.push({type:"text",content:Se[x].text,level:K}),M.push({type:"link_close",level:--K}),g=g.slice(Y+Se[x].text.length));g.length&&M.push({type:"text",content:g,level:K}),fe[n].children=l=[].concat(l.slice(0,i),M,l.slice(i+1))}}else for(i--;l[i].level!==_.level&&"link_open"!==l[i].type;)i--}function i4(t){t.core.ruler.push("linkify",r4)}var o4=o(23358),s4=o.n(o4),a4=o(1653),l4=o.n(a4),c4=o(86101),u4=o.n(c4),tA=o(5151);function MP(t){if(tA(t))return t}var n0=o(73264),nA=o(97078),OP=o(97156);function AP(t){if(typeof n0<"u"&&null!=nA(t)||null!=t["@@iterator"])return OP(t)}var d4=o(23299);function rA(t,i){(null==i||i>t.length)&&(i=t.length);for(var n=0,s=new Array(i);n<i;n++)s[n]=t[n];return s}function ob(t,i){var n;if(t){if("string"==typeof t)return rA(t,i);var s=d4(n=Object.prototype.toString.call(t)).call(n,8,-1);if("Object"===s&&t.constructor&&(s=t.constructor.name),"Map"===s||"Set"===s)return OP(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return rA(t,i)}}function DP(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f4(t){return MP(t)||AP(t)||ob(t)||DP()}var p4=o(53757),_4=o.n(p4),h4=o(48129),m4=o.n(h4),g4=o(31507),v4=o.n(g4),y4=o(17346),E4=o.n(y4),S4=o(12232),C4=o.n(S4),RP=o(91409);function PP(t,i,n,s,l,_,g){try{var M=t[_](g),x=M.value}catch(Y){return void n(Y)}M.done?i(x):RP.resolve(x).then(s,l)}function T4(t){return function(){var i=this,n=arguments;return new RP(function(s,l){var _=t.apply(i,n);function g(x){PP(_,s,l,g,M,"next",x)}function M(x){PP(_,s,l,g,M,"throw",x)}g(void 0)})}}var b4=o(33950),M4=o.n(b4),O4=o(86413),A4=o.n(O4),D4=o(14226),R4=o.n(D4),P4=o(64871),x4=o.n(P4),w4=o(41776),N4=o.n(w4),I4=o(12666),F4=o.n(I4),Om=o(8239);const xP="application/json, application/yaml",iA="https://swagger.io",L4=Object.freeze({url:"/"});function wP(t,i={}){const{requestInterceptor:n,responseInterceptor:s}=i,l=t.withCredentials?"include":"same-origin";return _=>t({url:_,loadSpec:!0,requestInterceptor:n,responseInterceptor:s,headers:{Accept:xP},credentials:l}).then(g=>g.body)}var k4=o(79257),oA=o.n(k4);function NP(t){return typeof t>"u"||null===t}var Mp={isNothing:NP,isObject:function $4(t){return"object"==typeof t&&null!==t},toArray:function H4(t){return Array.isArray(t)?t:NP(t)?[]:[t]},repeat:function B4(t,i){var s,n="";for(s=0;s<i;s+=1)n+=t;return n},isNegativeZero:function G4(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t},extend:function U4(t,i){var n,s,l,_;if(i)for(n=0,s=(_=Object.keys(i)).length;n<s;n+=1)t[l=_[n]]=i[l];return t}};function IP(t,i){var n="",s=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!i&&t.mark.snippet&&(n+="\n\n"+t.mark.snippet),s+" "+n):s}function YE(t,i){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=i,this.message=IP(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}(YE.prototype=Object.create(Error.prototype)).constructor=YE,YE.prototype.toString=function(i){return this.name+": "+IP(this,i)};var ih=YE;function sA(t,i,n,s,l){var _="",g="",M=Math.floor(l/2)-1;return s-i>M&&(i=s-M+(_=" ... ").length),n-s>M&&(n=s+M-(g=" ...").length),{str:_+t.slice(i,n).replace(/\t/g,"\u2192")+g,pos:s-i+_.length}}function aA(t,i){return Mp.repeat(" ",i-t.length)+t}var Q4=function J4(t,i){if(i=Object.create(i||null),!t.buffer)return null;i.maxLength||(i.maxLength=79),"number"!=typeof i.indent&&(i.indent=1),"number"!=typeof i.linesBefore&&(i.linesBefore=3),"number"!=typeof i.linesAfter&&(i.linesAfter=2);for(var _,n=/\r?\n|\r|\0/g,s=[0],l=[],g=-1;_=n.exec(t.buffer);)l.push(_.index),s.push(_.index+_[0].length),t.position<=_.index&&g<0&&(g=s.length-2);g<0&&(g=s.length-1);var x,Y,M="",K=Math.min(t.line+i.linesAfter,l.length).toString().length,le=i.maxLength-(i.indent+K+3);for(x=1;x<=i.linesBefore&&!(g-x<0);x++)Y=sA(t.buffer,s[g-x],l[g-x],t.position-(s[g]-s[g-x]),le),M=Mp.repeat(" ",i.indent)+aA((t.line-x+1).toString(),K)+" | "+Y.str+"\n"+M;for(Y=sA(t.buffer,s[g],l[g],t.position,le),M+=Mp.repeat(" ",i.indent)+aA((t.line+1).toString(),K)+" | "+Y.str+"\n",M+=Mp.repeat("-",i.indent+K+3+Y.pos)+"^\n",x=1;x<=i.linesAfter&&!(g+x>=l.length);x++)Y=sA(t.buffer,s[g+x],l[g+x],t.position-(s[g]-s[g+x]),le),M+=Mp.repeat(" ",i.indent)+aA((t.line+x+1).toString(),K)+" | "+Y.str+"\n";return M.replace(/\n$/,"")},K4=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],X4=["scalar","sequence","mapping"],s_=function eF(t,i){if(i=i||{},Object.keys(i).forEach(function(n){if(-1===K4.indexOf(n))throw new ih('Unknown option "'+n+'" is met in definition of "'+t+'" YAML type.')}),this.options=i,this.tag=t,this.kind=i.kind||null,this.resolve=i.resolve||function(){return!0},this.construct=i.construct||function(n){return n},this.instanceOf=i.instanceOf||null,this.predicate=i.predicate||null,this.represent=i.represent||null,this.representName=i.representName||null,this.defaultStyle=i.defaultStyle||null,this.multi=i.multi||!1,this.styleAliases=function q4(t){var i={};return null!==t&&Object.keys(t).forEach(function(n){t[n].forEach(function(s){i[String(s)]=n})}),i}(i.styleAliases||null),-1===X4.indexOf(this.kind))throw new ih('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function FP(t,i){var n=[];return t[i].forEach(function(s){var l=n.length;n.forEach(function(_,g){_.tag===s.tag&&_.kind===s.kind&&_.multi===s.multi&&(l=g)}),n[l]=s}),n}function lA(t){return this.extend(t)}lA.prototype.extend=function(i){var n=[],s=[];if(i instanceof s_)s.push(i);else if(Array.isArray(i))s=s.concat(i);else{if(!i||!Array.isArray(i.implicit)&&!Array.isArray(i.explicit))throw new ih("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");i.implicit&&(n=n.concat(i.implicit)),i.explicit&&(s=s.concat(i.explicit))}n.forEach(function(_){if(!(_ instanceof s_))throw new ih("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(_.loadKind&&"scalar"!==_.loadKind)throw new ih("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(_.multi)throw new ih("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),s.forEach(function(_){if(!(_ instanceof s_))throw new ih("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var l=Object.create(lA.prototype);return l.implicit=(this.implicit||[]).concat(n),l.explicit=(this.explicit||[]).concat(s),l.compiledImplicit=FP(l,"implicit"),l.compiledExplicit=FP(l,"explicit"),l.compiledTypeMap=function tF(){var i,n,t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function s(l){l.multi?(t.multi[l.kind].push(l),t.multi.fallback.push(l)):t[l.kind][l.tag]=t.fallback[l.tag]=l}for(i=0,n=arguments.length;i<n;i+=1)arguments[i].forEach(s);return t}(l.compiledImplicit,l.compiledExplicit),l};var LP=lA,kP=new s_("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}}),$P=new s_("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}}),HP=new s_("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}}),UP=new LP({explicit:[kP,$P,HP]}),BP=new s_("tag:yaml.org,2002:null",{kind:"scalar",resolve:function nF(t){if(null===t)return!0;var i=t.length;return 1===i&&"~"===t||4===i&&("null"===t||"Null"===t||"NULL"===t)},construct:function rF(){return null},predicate:function iF(t){return null===t},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),GP=new s_("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function oF(t){if(null===t)return!1;var i=t.length;return 4===i&&("true"===t||"True"===t||"TRUE"===t)||5===i&&("false"===t||"False"===t||"FALSE"===t)},construct:function sF(t){return"true"===t||"True"===t||"TRUE"===t},predicate:function aF(t){return"[object Boolean]"===Object.prototype.toString.call(t)},represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function lF(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function cF(t){return 48<=t&&t<=55}function uF(t){return 48<=t&&t<=57}var YP=new s_("tag:yaml.org,2002:int",{kind:"scalar",resolve:function dF(t){if(null===t)return!1;var l,i=t.length,n=0,s=!1;if(!i)return!1;if(("-"===(l=t[n])||"+"===l)&&(l=t[++n]),"0"===l){if(n+1===i)return!0;if("b"===(l=t[++n])){for(n++;n<i;n++)if("_"!==(l=t[n])){if("0"!==l&&"1"!==l)return!1;s=!0}return s&&"_"!==l}if("x"===l){for(n++;n<i;n++)if("_"!==(l=t[n])){if(!lF(t.charCodeAt(n)))return!1;s=!0}return s&&"_"!==l}if("o"===l){for(n++;n<i;n++)if("_"!==(l=t[n])){if(!cF(t.charCodeAt(n)))return!1;s=!0}return s&&"_"!==l}}if("_"===l)return!1;for(;n<i;n++)if("_"!==(l=t[n])){if(!uF(t.charCodeAt(n)))return!1;s=!0}return!(!s||"_"===l)},construct:function fF(t){var s,i=t,n=1;if(-1!==i.indexOf("_")&&(i=i.replace(/_/g,"")),("-"===(s=i[0])||"+"===s)&&("-"===s&&(n=-1),s=(i=i.slice(1))[0]),"0"===i)return 0;if("0"===s){if("b"===i[1])return n*parseInt(i.slice(2),2);if("x"===i[1])return n*parseInt(i.slice(2),16);if("o"===i[1])return n*parseInt(i.slice(2),8)}return n*parseInt(i,10)},predicate:function pF(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!Mp.isNegativeZero(t)},represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),_F=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),gF=/^[-+]?[0-9]+e/,jP=new s_("tag:yaml.org,2002:float",{kind:"scalar",resolve:function hF(t){return!(null===t||!_F.test(t)||"_"===t[t.length-1])},construct:function mF(t){var i,n;return n="-"===(i=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(i[0])>=0&&(i=i.slice(1)),".inf"===i?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===i?NaN:n*parseFloat(i,10)},predicate:function yF(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||Mp.isNegativeZero(t))},represent:function vF(t,i){var n;if(isNaN(t))switch(i){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(i){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(i){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Mp.isNegativeZero(t))return"-0.0";return n=t.toString(10),gF.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),ZP=UP.extend({implicit:[BP,GP,YP,jP]}),zP=ZP,VP=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),WP=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),JP=new s_("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function EF(t){return null!==t&&(null!==VP.exec(t)||null!==WP.exec(t))},construct:function SF(t){var i,n,s,l,_,g,M,fe,x=0,Y=null;if(null===(i=VP.exec(t))&&(i=WP.exec(t)),null===i)throw new Error("Date resolve error");if(n=+i[1],s=+i[2]-1,l=+i[3],!i[4])return new Date(Date.UTC(n,s,l));if(_=+i[4],g=+i[5],M=+i[6],i[7]){for(x=i[7].slice(0,3);x.length<3;)x+="0";x=+x}return i[9]&&(Y=6e4*(60*+i[10]+ +(i[11]||0)),"-"===i[9]&&(Y=-Y)),fe=new Date(Date.UTC(n,s,l,_,g,M,x)),Y&&fe.setTime(fe.getTime()-Y),fe},instanceOf:Date,represent:function CF(t){return t.toISOString()}}),QP=new s_("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function TF(t){return"<<"===t||null===t}}),cA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",KP=new s_("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function bF(t){if(null===t)return!1;var i,n,s=0,l=t.length,_=cA;for(n=0;n<l;n++)if(!((i=_.indexOf(t.charAt(n)))>64)){if(i<0)return!1;s+=6}return s%8==0},construct:function MF(t){var i,n,s=t.replace(/[\r\n=]/g,""),l=s.length,_=cA,g=0,M=[];for(i=0;i<l;i++)i%4==0&&i&&(M.push(g>>16&255),M.push(g>>8&255),M.push(255&g)),g=g<<6|_.indexOf(s.charAt(i));return 0==(n=l%4*6)?(M.push(g>>16&255),M.push(g>>8&255),M.push(255&g)):18===n?(M.push(g>>10&255),M.push(g>>2&255)):12===n&&M.push(g>>4&255),new Uint8Array(M)},predicate:function AF(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function OF(t){var s,l,i="",n=0,_=t.length,g=cA;for(s=0;s<_;s++)s%3==0&&s&&(i+=g[n>>18&63],i+=g[n>>12&63],i+=g[n>>6&63],i+=g[63&n]),n=(n<<8)+t[s];return 0==(l=_%3)?(i+=g[n>>18&63],i+=g[n>>12&63],i+=g[n>>6&63],i+=g[63&n]):2===l?(i+=g[n>>10&63],i+=g[n>>4&63],i+=g[n<<2&63],i+=g[64]):1===l&&(i+=g[n>>2&63],i+=g[n<<4&63],i+=g[64],i+=g[64]),i}}),DF=Object.prototype.hasOwnProperty,RF=Object.prototype.toString,XP=new s_("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function PF(t){if(null===t)return!0;var n,s,l,_,g,i=[],M=t;for(n=0,s=M.length;n<s;n+=1){if(g=!1,"[object Object]"!==RF.call(l=M[n]))return!1;for(_ in l)if(DF.call(l,_)){if(g)return!1;g=!0}if(!g)return!1;if(-1!==i.indexOf(_))return!1;i.push(_)}return!0},construct:function xF(t){return null!==t?t:[]}}),wF=Object.prototype.toString,qP=new s_("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function NF(t){if(null===t)return!0;var i,n,s,l,_,g=t;for(_=new Array(g.length),i=0,n=g.length;i<n;i+=1){if("[object Object]"!==wF.call(s=g[i])||1!==(l=Object.keys(s)).length)return!1;_[i]=[l[0],s[l[0]]]}return!0},construct:function IF(t){if(null===t)return[];var i,n,s,l,_,g=t;for(_=new Array(g.length),i=0,n=g.length;i<n;i+=1)s=g[i],l=Object.keys(s),_[i]=[l[0],s[l[0]]];return _}}),FF=Object.prototype.hasOwnProperty,e3=new s_("tag:yaml.org,2002:set",{kind:"mapping",resolve:function LF(t){if(null===t)return!0;var i,n=t;for(i in n)if(FF.call(n,i)&&null!==n[i])return!1;return!0},construct:function kF(t){return null!==t?t:{}}}),uA=zP.extend({implicit:[JP,QP],explicit:[KP,XP,qP,e3]}),V1=Object.prototype.hasOwnProperty,sb=1,t3=2,n3=3,ab=4,dA=1,$F=2,r3=3,HF=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,UF=/[\x85\u2028\u2029]/,BF=/[,\[\]\{\}]/,i3=/^(?:!|!!|![a-z\-]+!)$/i,o3=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function s3(t){return Object.prototype.toString.call(t)}function Eg(t){return 10===t||13===t}function r0(t){return 9===t||32===t}function Ih(t){return 9===t||32===t||10===t||13===t}function cy(t){return 44===t||91===t||93===t||123===t||125===t}function GF(t){var i;return 48<=t&&t<=57?t-48:97<=(i=32|t)&&i<=102?i-97+10:-1}function YF(t){return 120===t?2:117===t?4:85===t?8:0}function jF(t){return 48<=t&&t<=57?t-48:-1}function a3(t){return 48===t?"\0":97===t?"\x07":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"\x1b":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"\x85":95===t?"\xa0":76===t?"\u2028":80===t?"\u2029":""}function ZF(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var l3=new Array(256),c3=new Array(256),uy=0;uy<256;uy++)l3[uy]=a3(uy)?1:0,c3[uy]=a3(uy);function zF(t,i){this.input=t,this.filename=i.filename||null,this.schema=i.schema||uA,this.onWarning=i.onWarning||null,this.legacy=i.legacy||!1,this.json=i.json||!1,this.listener=i.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function u3(t,i){var n={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return n.snippet=Q4(n),new ih(i,n)}function _l(t,i){throw u3(t,i)}function lb(t,i){t.onWarning&&t.onWarning.call(null,u3(t,i))}var d3={YAML:function(i,n,s){var l,_,g;null!==i.version&&_l(i,"duplication of %YAML directive"),1!==s.length&&_l(i,"YAML directive accepts exactly one argument"),null===(l=/^([0-9]+)\.([0-9]+)$/.exec(s[0]))&&_l(i,"ill-formed argument of the YAML directive"),_=parseInt(l[1],10),g=parseInt(l[2],10),1!==_&&_l(i,"unacceptable YAML version of the document"),i.version=s[0],i.checkLineBreaks=g<2,1!==g&&2!==g&&lb(i,"unsupported YAML version of the document")},TAG:function(i,n,s){var l,_;2!==s.length&&_l(i,"TAG directive accepts exactly two arguments"),_=s[1],i3.test(l=s[0])||_l(i,"ill-formed tag handle (first argument) of the TAG directive"),V1.call(i.tagMap,l)&&_l(i,'there is a previously declared suffix for "'+l+'" tag handle'),o3.test(_)||_l(i,"ill-formed tag prefix (second argument) of the TAG directive");try{_=decodeURIComponent(_)}catch{_l(i,"tag prefix is malformed: "+_)}i.tagMap[l]=_}};function W1(t,i,n,s){var l,_,g,M;if(i<n){if(M=t.input.slice(i,n),s)for(l=0,_=M.length;l<_;l+=1)9===(g=M.charCodeAt(l))||32<=g&&g<=1114111||_l(t,"expected valid JSON character");else HF.test(M)&&_l(t,"the stream contains non-printable characters");t.result+=M}}function f3(t,i,n,s){var l,_,g,M;for(Mp.isObject(n)||_l(t,"cannot merge mappings; the provided source object is unacceptable"),g=0,M=(l=Object.keys(n)).length;g<M;g+=1)V1.call(i,_=l[g])||(i[_]=n[_],s[_]=!0)}function dy(t,i,n,s,l,_,g,M,x){var Y,K;if(Array.isArray(l))for(Y=0,K=(l=Array.prototype.slice.call(l)).length;Y<K;Y+=1)Array.isArray(l[Y])&&_l(t,"nested arrays are not supported inside keys"),"object"==typeof l&&"[object Object]"===s3(l[Y])&&(l[Y]="[object Object]");if("object"==typeof l&&"[object Object]"===s3(l)&&(l="[object Object]"),l=String(l),null===i&&(i={}),"tag:yaml.org,2002:merge"===s)if(Array.isArray(_))for(Y=0,K=_.length;Y<K;Y+=1)f3(t,i,_[Y],n);else f3(t,i,_,n);else!t.json&&!V1.call(n,l)&&V1.call(i,l)&&(t.line=g||t.line,t.lineStart=M||t.lineStart,t.position=x||t.position,_l(t,"duplicated mapping key")),"__proto__"===l?Object.defineProperty(i,l,{configurable:!0,enumerable:!0,writable:!0,value:_}):i[l]=_,delete n[l];return i}function fA(t){var i;10===(i=t.input.charCodeAt(t.position))?t.position++:13===i?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):_l(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function rp(t,i,n){for(var s=0,l=t.input.charCodeAt(t.position);0!==l;){for(;r0(l);)9===l&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),l=t.input.charCodeAt(++t.position);if(i&&35===l)do{l=t.input.charCodeAt(++t.position)}while(10!==l&&13!==l&&0!==l);if(!Eg(l))break;for(fA(t),l=t.input.charCodeAt(t.position),s++,t.lineIndent=0;32===l;)t.lineIndent++,l=t.input.charCodeAt(++t.position)}return-1!==n&&0!==s&&t.lineIndent<n&&lb(t,"deficient indentation"),s}function cb(t){var n,i=t.position;return!(45!==(n=t.input.charCodeAt(i))&&46!==n||n!==t.input.charCodeAt(i+1)||n!==t.input.charCodeAt(i+2)||(i+=3,n=t.input.charCodeAt(i),0!==n&&!Ih(n)))}function pA(t,i){1===i?t.result+=" ":i>1&&(t.result+=Mp.repeat("\n",i-1))}function p3(t,i){var n,x,s=t.tag,l=t.anchor,_=[],M=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=_),x=t.input.charCodeAt(t.position);0!==x&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,_l(t,"tab characters must not be used in indentation")),45===x&&Ih(t.input.charCodeAt(t.position+1)));)if(M=!0,t.position++,rp(t,!0,-1)&&t.lineIndent<=i)_.push(null),x=t.input.charCodeAt(t.position);else if(n=t.line,fy(t,i,n3,!1,!0),_.push(t.result),rp(t,!0,-1),x=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>i)&&0!==x)_l(t,"bad indentation of a sequence entry");else if(t.lineIndent<i)break;return!!M&&(t.tag=s,t.anchor=l,t.kind="sequence",t.result=_,!0)}function qF(t){var i,l,_,g,n=!1,s=!1;if(33!==(g=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&_l(t,"duplication of a tag property"),60===(g=t.input.charCodeAt(++t.position))?(n=!0,g=t.input.charCodeAt(++t.position)):33===g?(s=!0,l="!!",g=t.input.charCodeAt(++t.position)):l="!",i=t.position,n){do{g=t.input.charCodeAt(++t.position)}while(0!==g&&62!==g);t.position<t.length?(_=t.input.slice(i,t.position),g=t.input.charCodeAt(++t.position)):_l(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==g&&!Ih(g);)33===g&&(s?_l(t,"tag suffix cannot contain exclamation marks"):(l=t.input.slice(i-1,t.position+1),i3.test(l)||_l(t,"named tag handle cannot contain such characters"),s=!0,i=t.position+1)),g=t.input.charCodeAt(++t.position);_=t.input.slice(i,t.position),BF.test(_)&&_l(t,"tag suffix cannot contain flow indicator characters")}_&&!o3.test(_)&&_l(t,"tag name cannot contain such characters: "+_);try{_=decodeURIComponent(_)}catch{_l(t,"tag name is malformed: "+_)}return n?t.tag=_:V1.call(t.tagMap,l)?t.tag=t.tagMap[l]+_:"!"===l?t.tag="!"+_:"!!"===l?t.tag="tag:yaml.org,2002:"+_:_l(t,'undeclared tag handle "'+l+'"'),!0}function eL(t){var i,n;if(38!==(n=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&_l(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),i=t.position;0!==n&&!Ih(n)&&!cy(n);)n=t.input.charCodeAt(++t.position);return t.position===i&&_l(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(i,t.position),!0}function fy(t,i,n,s,l){var _,g,M,le,fe,ge,Se,Ge,we,x=1,Y=!1,K=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,_=g=M=ab===n||n3===n,s&&rp(t,!0,-1)&&(Y=!0,t.lineIndent>i?x=1:t.lineIndent===i?x=0:t.lineIndent<i&&(x=-1)),1===x)for(;qF(t)||eL(t);)rp(t,!0,-1)?(Y=!0,M=_,t.lineIndent>i?x=1:t.lineIndent===i?x=0:t.lineIndent<i&&(x=-1)):M=!1;if(M&&(M=Y||l),(1===x||ab===n)&&(Ge=sb===n||t3===n?i:i+1,we=t.position-t.lineStart,1===x?M&&(p3(t,we)||function XF(t,i,n){var s,l,_,g,M,x,Pe,Y=t.tag,K=t.anchor,le={},fe=Object.create(null),ge=null,Se=null,Ge=null,we=!1,He=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=le),Pe=t.input.charCodeAt(t.position);0!==Pe;){if(!we&&-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,_l(t,"tab characters must not be used in indentation")),s=t.input.charCodeAt(t.position+1),_=t.line,63!==Pe&&58!==Pe||!Ih(s)){if(g=t.line,M=t.lineStart,x=t.position,!fy(t,n,t3,!1,!0))break;if(t.line===_){for(Pe=t.input.charCodeAt(t.position);r0(Pe);)Pe=t.input.charCodeAt(++t.position);if(58===Pe)Ih(Pe=t.input.charCodeAt(++t.position))||_l(t,"a whitespace character is expected after the key-value separator within a block mapping"),we&&(dy(t,le,fe,ge,Se,null,g,M,x),ge=Se=Ge=null),He=!0,we=!1,l=!1,ge=t.tag,Se=t.result;else{if(!He)return t.tag=Y,t.anchor=K,!0;_l(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!He)return t.tag=Y,t.anchor=K,!0;_l(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===Pe?(we&&(dy(t,le,fe,ge,Se,null,g,M,x),ge=Se=Ge=null),He=!0,we=!0,l=!0):we?(we=!1,l=!0):_l(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,Pe=s;if((t.line===_||t.lineIndent>i)&&(we&&(g=t.line,M=t.lineStart,x=t.position),fy(t,i,ab,!0,l)&&(we?Se=t.result:Ge=t.result),we||(dy(t,le,fe,ge,Se,Ge,g,M,x),ge=Se=Ge=null),rp(t,!0,-1),Pe=t.input.charCodeAt(t.position)),(t.line===_||t.lineIndent>i)&&0!==Pe)_l(t,"bad indentation of a mapping entry");else if(t.lineIndent<i)break}return we&&dy(t,le,fe,ge,Se,null,g,M,x),He&&(t.tag=Y,t.anchor=K,t.kind="mapping",t.result=le),He}(t,we,Ge))||function QF(t,i){var s,l,_,M,K,le,fe,ge,Ge,we,He,Pe,n=!0,g=t.tag,x=t.anchor,Se=Object.create(null);if(91===(Pe=t.input.charCodeAt(t.position)))K=93,ge=!1,M=[];else{if(123!==Pe)return!1;K=125,ge=!0,M={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=M),Pe=t.input.charCodeAt(++t.position);0!==Pe;){if(rp(t,!0,i),(Pe=t.input.charCodeAt(t.position))===K)return t.position++,t.tag=g,t.anchor=x,t.kind=ge?"mapping":"sequence",t.result=M,!0;n?44===Pe&&_l(t,"expected the node content, but found ','"):_l(t,"missed comma between flow collection entries"),He=null,le=fe=!1,63===Pe&&Ih(t.input.charCodeAt(t.position+1))&&(le=fe=!0,t.position++,rp(t,!0,i)),s=t.line,l=t.lineStart,_=t.position,fy(t,i,sb,!1,!0),we=t.tag,Ge=t.result,rp(t,!0,i),Pe=t.input.charCodeAt(t.position),(fe||t.line===s)&&58===Pe&&(le=!0,Pe=t.input.charCodeAt(++t.position),rp(t,!0,i),fy(t,i,sb,!1,!0),He=t.result),ge?dy(t,M,Se,we,Ge,He,s,l,_):M.push(le?dy(t,null,Se,we,Ge,He,s,l,_):Ge),rp(t,!0,i),44===(Pe=t.input.charCodeAt(t.position))?(n=!0,Pe=t.input.charCodeAt(++t.position)):n=!1}_l(t,"unexpected end of the stream within a flow collection")}(t,Ge)?K=!0:(g&&function KF(t,i){var n,s,K,le,l=dA,_=!1,g=!1,M=i,x=0,Y=!1;if(124===(le=t.input.charCodeAt(t.position)))s=!1;else{if(62!==le)return!1;s=!0}for(t.kind="scalar",t.result="";0!==le;)if(43===(le=t.input.charCodeAt(++t.position))||45===le)dA===l?l=43===le?r3:$F:_l(t,"repeat of a chomping mode identifier");else{if(!((K=jF(le))>=0))break;0===K?_l(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):g?_l(t,"repeat of an indentation width identifier"):(M=i+K-1,g=!0)}if(r0(le)){do{le=t.input.charCodeAt(++t.position)}while(r0(le));if(35===le)do{le=t.input.charCodeAt(++t.position)}while(!Eg(le)&&0!==le)}for(;0!==le;){for(fA(t),t.lineIndent=0,le=t.input.charCodeAt(t.position);(!g||t.lineIndent<M)&&32===le;)t.lineIndent++,le=t.input.charCodeAt(++t.position);if(!g&&t.lineIndent>M&&(M=t.lineIndent),Eg(le))x++;else{if(t.lineIndent<M){l===r3?t.result+=Mp.repeat("\n",_?1+x:x):l===dA&&_&&(t.result+="\n");break}for(s?r0(le)?(Y=!0,t.result+=Mp.repeat("\n",_?1+x:x)):Y?(Y=!1,t.result+=Mp.repeat("\n",x+1)):0===x?_&&(t.result+=" "):t.result+=Mp.repeat("\n",x):t.result+=Mp.repeat("\n",_?1+x:x),_=!0,g=!0,x=0,n=t.position;!Eg(le)&&0!==le;)le=t.input.charCodeAt(++t.position);W1(t,n,t.position,!1)}}return!0}(t,Ge)||function WF(t,i){var n,s,l;if(39!==(n=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,s=l=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(W1(t,s,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return!0;s=t.position,t.position++,l=t.position}else Eg(n)?(W1(t,s,l,!0),pA(t,rp(t,!1,i)),s=l=t.position):t.position===t.lineStart&&cb(t)?_l(t,"unexpected end of the document within a single quoted scalar"):(t.position++,l=t.position);_l(t,"unexpected end of the stream within a single quoted scalar")}(t,Ge)||function JF(t,i){var n,s,l,_,g,M;if(34!==(M=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=s=t.position;0!==(M=t.input.charCodeAt(t.position));){if(34===M)return W1(t,n,t.position,!0),t.position++,!0;if(92===M){if(W1(t,n,t.position,!0),Eg(M=t.input.charCodeAt(++t.position)))rp(t,!1,i);else if(M<256&&l3[M])t.result+=c3[M],t.position++;else if((g=YF(M))>0){for(l=g,_=0;l>0;l--)(g=GF(M=t.input.charCodeAt(++t.position)))>=0?_=(_<<4)+g:_l(t,"expected hexadecimal character");t.result+=ZF(_),t.position++}else _l(t,"unknown escape sequence");n=s=t.position}else Eg(M)?(W1(t,n,s,!0),pA(t,rp(t,!1,i)),n=s=t.position):t.position===t.lineStart&&cb(t)?_l(t,"unexpected end of the document within a double quoted scalar"):(t.position++,s=t.position)}_l(t,"unexpected end of the stream within a double quoted scalar")}(t,Ge)?K=!0:function tL(t){var i,n,s;if(42!==(s=t.input.charCodeAt(t.position)))return!1;for(s=t.input.charCodeAt(++t.position),i=t.position;0!==s&&!Ih(s)&&!cy(s);)s=t.input.charCodeAt(++t.position);return t.position===i&&_l(t,"name of an alias node must contain at least one character"),n=t.input.slice(i,t.position),V1.call(t.anchorMap,n)||_l(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],rp(t,!0,-1),!0}(t)?(K=!0,(null!==t.tag||null!==t.anchor)&&_l(t,"alias node should not have any properties")):function VF(t,i,n){var l,_,g,M,x,Y,K,ge,le=t.kind,fe=t.result;if(Ih(ge=t.input.charCodeAt(t.position))||cy(ge)||35===ge||38===ge||42===ge||33===ge||124===ge||62===ge||39===ge||34===ge||37===ge||64===ge||96===ge||(63===ge||45===ge)&&(Ih(l=t.input.charCodeAt(t.position+1))||n&&cy(l)))return!1;for(t.kind="scalar",t.result="",_=g=t.position,M=!1;0!==ge;){if(58===ge){if(Ih(l=t.input.charCodeAt(t.position+1))||n&&cy(l))break}else if(35===ge){if(Ih(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&cb(t)||n&&cy(ge))break;if(Eg(ge)){if(x=t.line,Y=t.lineStart,K=t.lineIndent,rp(t,!1,-1),t.lineIndent>=i){M=!0,ge=t.input.charCodeAt(t.position);continue}t.position=g,t.line=x,t.lineStart=Y,t.lineIndent=K;break}}M&&(W1(t,_,g,!1),pA(t,t.line-x),_=g=t.position,M=!1),r0(ge)||(g=t.position+1),ge=t.input.charCodeAt(++t.position)}return W1(t,_,g,!1),!!t.result||(t.kind=le,t.result=fe,!1)}(t,Ge,sb===n)&&(K=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===x&&(K=M&&p3(t,we))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&_l(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),le=0,fe=t.implicitTypes.length;le<fe;le+=1)if((Se=t.implicitTypes[le]).resolve(t.result)){t.result=Se.construct(t.result),t.tag=Se.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(V1.call(t.typeMap[t.kind||"fallback"],t.tag))Se=t.typeMap[t.kind||"fallback"][t.tag];else for(Se=null,le=0,fe=(ge=t.typeMap.multi[t.kind||"fallback"]).length;le<fe;le+=1)if(t.tag.slice(0,ge[le].tag.length)===ge[le].tag){Se=ge[le];break}Se||_l(t,"unknown tag !<"+t.tag+">"),null!==t.result&&Se.kind!==t.kind&&_l(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+Se.kind+'", not "'+t.kind+'"'),Se.resolve(t.result,t.tag)?(t.result=Se.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):_l(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||K}function nL(t){var n,s,l,g,i=t.position,_=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(g=t.input.charCodeAt(t.position))&&(rp(t,!0,-1),g=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==g));){for(_=!0,g=t.input.charCodeAt(++t.position),n=t.position;0!==g&&!Ih(g);)g=t.input.charCodeAt(++t.position);for(l=[],(s=t.input.slice(n,t.position)).length<1&&_l(t,"directive name must not be less than one character in length");0!==g;){for(;r0(g);)g=t.input.charCodeAt(++t.position);if(35===g){do{g=t.input.charCodeAt(++t.position)}while(0!==g&&!Eg(g));break}if(Eg(g))break;for(n=t.position;0!==g&&!Ih(g);)g=t.input.charCodeAt(++t.position);l.push(t.input.slice(n,t.position))}0!==g&&fA(t),V1.call(d3,s)?d3[s](t,s,l):lb(t,'unknown document directive "'+s+'"')}rp(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,rp(t,!0,-1)):_&&_l(t,"directives end mark is expected"),fy(t,t.lineIndent-1,ab,!1,!0),rp(t,!0,-1),t.checkLineBreaks&&UF.test(t.input.slice(i,t.position))&&lb(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&cb(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,rp(t,!0,-1)):t.position<t.length-1&&_l(t,"end of the stream or a document separator is expected")}function _3(t,i){i=i||{},0!==(t=String(t)).length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new zF(t,i),s=t.indexOf("\0");for(-1!==s&&(n.position=s,_l(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)nL(n);return n.documents}var h3={loadAll:function rL(t,i,n){null!==i&&"object"==typeof i&&typeof n>"u"&&(n=i,i=null);var s=_3(t,n);if("function"!=typeof i)return s;for(var l=0,_=s.length;l<_;l+=1)i(s[l])},load:function iL(t,i){var n=_3(t,i);if(0!==n.length){if(1===n.length)return n[0];throw new ih("expected a single document in the stream, but found more")}}},m3=Object.prototype.toString,g3=Object.prototype.hasOwnProperty,_A=65279,aL=9,jE=10,lL=13,cL=32,uL=33,dL=34,hA=35,fL=37,pL=38,_L=39,hL=42,v3=44,mL=45,ub=58,gL=61,vL=62,yL=63,EL=64,y3=91,E3=93,SL=96,S3=123,CL=124,C3=125,P_={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},TL=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],bL=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function OL(t){var i,n,s;if(i=t.toString(16).toUpperCase(),t<=255)n="x",s=2;else if(t<=65535)n="u",s=4;else{if(!(t<=4294967295))throw new ih("code point within a string may not be greater than 0xFFFFFFFF");n="U",s=8}return"\\"+n+Mp.repeat("0",s-i.length)+i}var AL=1,ZE=2;function DL(t){this.schema=t.schema||uA,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=Mp.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=function ML(t,i){var n,s,l,_,g,M,x;if(null===i)return{};for(n={},l=0,_=(s=Object.keys(i)).length;l<_;l+=1)g=s[l],M=String(i[g]),"!!"===g.slice(0,2)&&(g="tag:yaml.org,2002:"+g.slice(2)),(x=t.compiledTypeMap.fallback[g])&&g3.call(x.styleAliases,M)&&(M=x.styleAliases[M]),n[g]=M;return n}(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?ZE:AL,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function T3(t,i){for(var g,n=Mp.repeat(" ",i),s=0,l=-1,_="",M=t.length;s<M;)-1===(l=t.indexOf("\n",s))?(g=t.slice(s),s=M):(g=t.slice(s,l+1),s=l+1),g.length&&"\n"!==g&&(_+=n),_+=g;return _}function mA(t,i){return"\n"+Mp.repeat(" ",t.indent*i)}function db(t){return t===cL||t===aL}function zE(t){return 32<=t&&t<=126||161<=t&&t<=55295&&8232!==t&&8233!==t||57344<=t&&t<=65533&&t!==_A||65536<=t&&t<=1114111}function b3(t){return zE(t)&&t!==_A&&t!==lL&&t!==jE}function M3(t,i,n){var s=b3(t),l=s&&!db(t);return(n?s:s&&t!==v3&&t!==y3&&t!==E3&&t!==S3&&t!==C3)&&t!==hA&&!(i===ub&&!l)||b3(i)&&!db(i)&&t===hA||i===ub&&l}function VE(t,i){var s,n=t.charCodeAt(i);return n>=55296&&n<=56319&&i+1<t.length&&(s=t.charCodeAt(i+1))>=56320&&s<=57343?1024*(n-55296)+s-56320+65536:n}function O3(t){return/^\n* /.test(t)}var A3=1,gA=2,D3=3,R3=4,py=5;function NL(t,i,n,s,l){t.dump=function(){if(0===i.length)return t.quotingType===ZE?'""':"''";if(!t.noCompatMode&&(-1!==TL.indexOf(i)||bL.test(i)))return t.quotingType===ZE?'"'+i+'"':"'"+i+"'";var _=t.indent*Math.max(1,n),g=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-_);switch(function wL(t,i,n,s,l,_,g,M){var x,Y=0,K=null,le=!1,fe=!1,ge=-1!==s,Se=-1,Ge=function PL(t){return zE(t)&&t!==_A&&!db(t)&&t!==mL&&t!==yL&&t!==ub&&t!==v3&&t!==y3&&t!==E3&&t!==S3&&t!==C3&&t!==hA&&t!==pL&&t!==hL&&t!==uL&&t!==CL&&t!==gL&&t!==vL&&t!==_L&&t!==dL&&t!==fL&&t!==EL&&t!==SL}(VE(t,0))&&function xL(t){return!db(t)&&t!==ub}(VE(t,t.length-1));if(i||g)for(x=0;x<t.length;Y>=65536?x+=2:x++){if(!zE(Y=VE(t,x)))return py;Ge=Ge&&M3(Y,K,M),K=Y}else{for(x=0;x<t.length;Y>=65536?x+=2:x++){if((Y=VE(t,x))===jE)le=!0,ge&&(fe=fe||x-Se-1>s&&" "!==t[Se+1],Se=x);else if(!zE(Y))return py;Ge=Ge&&M3(Y,K,M),K=Y}fe=fe||ge&&x-Se-1>s&&" "!==t[Se+1]}return le||fe?n>9&&O3(t)?py:g?_===ZE?py:gA:fe?R3:D3:!Ge||g||l(t)?_===ZE?py:gA:A3}(i,s||t.flowLevel>-1&&n>=t.flowLevel,t.indent,g,function x(Y){return function RL(t,i){var n,s;for(n=0,s=t.implicitTypes.length;n<s;n+=1)if(t.implicitTypes[n].resolve(i))return!0;return!1}(t,Y)},t.quotingType,t.forceQuotes&&!s,l)){case A3:return i;case gA:return"'"+i.replace(/'/g,"''")+"'";case D3:return"|"+P3(i,t.indent)+x3(T3(i,_));case R3:return">"+P3(i,t.indent)+x3(T3(function IL(t,i){for(var _,g,n=/(\n+)([^\n]*)/g,s=(Y=void 0,Y=t.indexOf("\n"),n.lastIndex=Y=-1!==Y?Y:t.length,w3(t.slice(0,Y),i)),l="\n"===t[0]||" "===t[0];g=n.exec(t);){var x=g[2];_=" "===x[0],s+=g[1]+(l||_||""===x?"":"\n")+w3(x,i),l=_}var Y;return s}(i,g),_));case py:return'"'+function FL(t){for(var s,i="",n=0,l=0;l<t.length;n>=65536?l+=2:l++)n=VE(t,l),!(s=P_[n])&&zE(n)?(i+=t[l],n>=65536&&(i+=t[l+1])):i+=s||OL(n);return i}(i)+'"';default:throw new ih("impossible error: invalid scalar style")}}()}function P3(t,i){var n=O3(t)?String(i):"",s="\n"===t[t.length-1];return n+(!s||"\n"!==t[t.length-2]&&"\n"!==t?s?"":"-":"+")+"\n"}function x3(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function w3(t,i){if(""===t||" "===t[0])return t;for(var s,_,n=/ [^ ]/g,l=0,g=0,M=0,x="";s=n.exec(t);)(M=s.index)-l>i&&(x+="\n"+t.slice(l,_=g>l?g:M),l=_+1),g=M;return x+="\n",(x+=t.length-l>i&&g>l?t.slice(l,g)+"\n"+t.slice(g+1):t.slice(l)).slice(1)}function I3(t,i,n){var s,l,_,g,M,x;for(_=0,g=(l=n?t.explicitTypes:t.implicitTypes).length;_<g;_+=1)if(((M=l[_]).instanceOf||M.predicate)&&(!M.instanceOf||"object"==typeof i&&i instanceof M.instanceOf)&&(!M.predicate||M.predicate(i))){if(t.tag=n?M.multi&&M.representName?M.representName(i):M.tag:"?",M.represent){if(x=t.styleMap[M.tag]||M.defaultStyle,"[object Function]"===m3.call(M.represent))s=M.represent(i,x);else{if(!g3.call(M.represent,x))throw new ih("!<"+M.tag+'> tag resolver accepts not "'+x+'" style');s=M.represent[x](i,x)}t.dump=s}return!0}return!1}function e1(t,i,n,s,l,_,g){t.tag=null,t.dump=n,I3(t,n,!1)||I3(t,n,!0);var Y,M=m3.call(t.dump),x=s;s&&(s=t.flowLevel<0||t.flowLevel>i);var le,fe,K="[object Object]"===M||"[object Array]"===M;if(K&&(fe=-1!==(le=t.duplicates.indexOf(n))),(null!==t.tag&&"?"!==t.tag||fe||2!==t.indent&&i>0)&&(l=!1),fe&&t.usedDuplicates[le])t.dump="*ref_"+le;else{if(K&&fe&&!t.usedDuplicates[le]&&(t.usedDuplicates[le]=!0),"[object Object]"===M)s&&0!==Object.keys(t.dump).length?(function $L(t,i,n,s){var M,x,Y,K,le,fe,l="",_=t.tag,g=Object.keys(n);if(!0===t.sortKeys)g.sort();else if("function"==typeof t.sortKeys)g.sort(t.sortKeys);else if(t.sortKeys)throw new ih("sortKeys must be a boolean or a function");for(M=0,x=g.length;M<x;M+=1)fe="",(!s||""!==l)&&(fe+=mA(t,i)),K=n[Y=g[M]],t.replacer&&(K=t.replacer.call(n,Y,K)),e1(t,i+1,Y,!0,!0,!0)&&((le=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&jE===t.dump.charCodeAt(0)?fe+="?":fe+="? "),fe+=t.dump,le&&(fe+=mA(t,i)),e1(t,i+1,K,!0,le)&&(t.dump&&jE===t.dump.charCodeAt(0)?fe+=":":fe+=": ",l+=fe+=t.dump));t.tag=_,t.dump=l||"{}"}(t,i,t.dump,l),fe&&(t.dump="&ref_"+le+t.dump)):(function kL(t,i,n){var g,M,x,Y,K,s="",l=t.tag,_=Object.keys(n);for(g=0,M=_.length;g<M;g+=1)K="",""!==s&&(K+=", "),t.condenseFlow&&(K+='"'),Y=n[x=_[g]],t.replacer&&(Y=t.replacer.call(n,x,Y)),e1(t,i,x,!1,!1)&&(t.dump.length>1024&&(K+="? "),K+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),e1(t,i,Y,!1,!1)&&(s+=K+=t.dump));t.tag=l,t.dump="{"+s+"}"}(t,i,t.dump),fe&&(t.dump="&ref_"+le+" "+t.dump));else if("[object Array]"===M)s&&0!==t.dump.length?(function N3(t,i,n,s){var g,M,x,l="",_=t.tag;for(g=0,M=n.length;g<M;g+=1)x=n[g],t.replacer&&(x=t.replacer.call(n,String(g),x)),(e1(t,i+1,x,!0,!0,!1,!0)||typeof x>"u"&&e1(t,i+1,null,!0,!0,!1,!0))&&((!s||""!==l)&&(l+=mA(t,i)),t.dump&&jE===t.dump.charCodeAt(0)?l+="-":l+="- ",l+=t.dump);t.tag=_,t.dump=l||"[]"}(t,t.noArrayIndent&&!g&&i>0?i-1:i,t.dump,l),fe&&(t.dump="&ref_"+le+t.dump)):(function LL(t,i,n){var _,g,M,s="",l=t.tag;for(_=0,g=n.length;_<g;_+=1)M=n[_],t.replacer&&(M=t.replacer.call(n,String(_),M)),(e1(t,i,M,!1,!1)||typeof M>"u"&&e1(t,i,null,!1,!1))&&(""!==s&&(s+=","+(t.condenseFlow?"":" ")),s+=t.dump);t.tag=l,t.dump="["+s+"]"}(t,i,t.dump),fe&&(t.dump="&ref_"+le+" "+t.dump));else{if("[object String]"!==M){if("[object Undefined]"===M)return!1;if(t.skipInvalid)return!1;throw new ih("unacceptable kind of an object to dump "+M)}"?"!==t.tag&&NL(t,t.dump,i,_,x)}null!==t.tag&&"?"!==t.tag&&(Y=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),Y="!"===t.tag[0]?"!"+Y:"tag:yaml.org,2002:"===Y.slice(0,18)?"!!"+Y.slice(18):"!<"+Y+">",t.dump=Y+" "+t.dump)}return!0}function HL(t,i){var l,_,n=[],s=[];for(vA(t,n,s),l=0,_=s.length;l<_;l+=1)i.duplicates.push(n[s[l]]);i.usedDuplicates=new Array(_)}function vA(t,i,n){var s,l,_;if(null!==t&&"object"==typeof t)if(-1!==(l=i.indexOf(t)))-1===n.indexOf(l)&&n.push(l);else if(i.push(t),Array.isArray(t))for(l=0,_=t.length;l<_;l+=1)vA(t[l],i,n);else for(l=0,_=(s=Object.keys(t)).length;l<_;l+=1)vA(t[s[l]],i,n)}function yA(t,i){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+i+" instead, which is now safe by default.")}}const F3={Type:s_,Schema:LP,FAILSAFE_SCHEMA:UP,JSON_SCHEMA:ZP,CORE_SCHEMA:zP,DEFAULT_SCHEMA:uA,load:h3.load,loadAll:h3.loadAll,dump:function UL(t,i){var n=new DL(i=i||{});n.noRefs||HL(t,n);var s=t;return n.replacer&&(s=n.replacer.call({"":s},"",s)),e1(n,0,s,!0,!0)?n.dump+"\n":""},YAMLException:ih,types:{binary:KP,float:jP,map:HP,null:BP,pairs:qP,set:e3,timestamp:JP,bool:GP,int:YP,merge:QP,omap:XP,seq:$P,str:kP},safeLoad:yA("safeLoad","load"),safeLoadAll:yA("safeLoadAll","loadAll"),safeDump:yA("safeDump","dump")},{fetch:i5,Response:o5,Headers:s5,Request:a5,FormData:l5,File:c5,Blob:u5}=globalThis;typeof globalThis.fetch>"u"&&(globalThis.fetch=i5),typeof globalThis.Headers>"u"&&(globalThis.Headers=s5),typeof globalThis.Request>"u"&&(globalThis.Request=a5),typeof globalThis.Response>"u"&&(globalThis.Response=o5),typeof globalThis.FormData>"u"&&(globalThis.FormData=l5),typeof globalThis.File>"u"&&(globalThis.File=c5),typeof globalThis.Blob>"u"&&(globalThis.Blob=u5);const d5=t=>":/?#[]@!$&'()*+,;=".indexOf(t)>-1,f5=t=>/^[a-z0-9\-._~]+$/i.test(t);function _y(t,{escape:i}={},n){return"number"==typeof t&&(t=t.toString()),"string"==typeof t&&t.length&&i?n?JSON.parse(t):[...t].map(s=>{if(f5(s)||d5(s)&&"unsafe"===i)return s;const l=new TextEncoder;return Array.from(l.encode(s)).map(g=>`0${g.toString(16).toUpperCase()}`.slice(-2)).map(g=>`%${g}`).join("")}).join(""):t}function EA(t){const{value:i}=t;return Array.isArray(i)?function p5({key:t,value:i,style:n,explode:s,escape:l}){const _=g=>_y(g,{escape:l});if("simple"===n)return i.map(g=>_(g)).join(",");if("label"===n)return`.${i.map(g=>_(g)).join(".")}`;if("matrix"===n)return i.map(g=>_(g)).reduce((g,M)=>!g||s?`${g||""};${t}=${M}`:`${g},${M}`,"");if("form"===n){const g=s?`&${t}=`:",";return i.map(M=>_(M)).join(g)}if("spaceDelimited"===n){const g=s?`${t}=`:"";return i.map(M=>_(M)).join(` ${g}`)}if("pipeDelimited"===n){const g=s?`${t}=`:"";return i.map(M=>_(M)).join(`|${g}`)}}(t):"object"==typeof i?function _5({key:t,value:i,style:n,explode:s,escape:l}){const _=M=>_y(M,{escape:l}),g=Object.keys(i);return"simple"===n?g.reduce((M,x)=>{const Y=_(i[x]);return`${M?`${M},`:""}${x}${s?"=":","}${Y}`},""):"label"===n?g.reduce((M,x)=>{const Y=_(i[x]);return`${M?`${M}.`:"."}${x}${s?"=":"."}${Y}`},""):"matrix"===n&&s?g.reduce((M,x)=>`${M?`${M};`:";"}${x}=${_(i[x])}`,""):"matrix"===n?g.reduce((M,x)=>{const Y=_(i[x]);return`${M?`${M},`:`;${t}=`}${x},${Y}`},""):"form"===n?g.reduce((M,x)=>{const Y=_(i[x]);return`${M?`${M}${s?"&":","}`:""}${x}${s?"=":","}${Y}`},""):void 0}(t):function h5({key:t,value:i,style:n,escape:s}){const l=_=>_y(_,{escape:s});return"simple"===n?l(i):"label"===n?`.${l(i)}`:"matrix"===n?`;${t}=${l(i)}`:"form"===n||"deepObject"===n?l(i):void 0}(t)}const SA={serializeRes:L3,mergeInQueryOrForm:B3};function CA(t){return TA.apply(this,arguments)}function TA(){return(TA=(0,Om.Z)(function*(t,i={}){let s;"object"==typeof t&&(t=(i=t).url),i.headers=i.headers||{},SA.mergeInQueryOrForm(i),i.headers&&Object.keys(i.headers).forEach(l=>{const _=i.headers[l];"string"==typeof _&&(i.headers[l]=_.replace(/\n+/g," "))}),i.requestInterceptor&&(i=(yield i.requestInterceptor(i))||i),/multipart\/form-data/i.test(i.headers["content-type"]||i.headers["Content-Type"])&&(delete i.headers["content-type"],delete i.headers["Content-Type"]);try{s=yield(i.userFetch||fetch)(i.url,i),s=yield SA.serializeRes(s,t,i),i.responseInterceptor&&(s=(yield i.responseInterceptor(s))||s)}catch(l){if(!s)throw l;const _=new Error(s.statusText||`response status is ${s.status}`);throw _.status=s.status,_.statusCode=s.status,_.responseError=l,_}if(!s.ok){const l=new Error(s.statusText||`response status is ${s.status}`);throw l.status=s.status,l.statusCode=s.status,l.response=s,l}return s})).apply(this,arguments)}const m5=(t="")=>/(json|xml|yaml|text)\b/.test(t);function L3(t,i,{loadSpec:n=!1}={}){const s={ok:t.ok,url:t.url||i,status:t.status,statusText:t.statusText,headers:y5(t.headers)},l=s.headers["content-type"],_=n||m5(l);return(_?t.text:t.blob||t.buffer).call(t).then(M=>{if(s.text=M,s.data=M,_)try{const x=function g5(t,i){return i&&(0===i.indexOf("application/json")||i.indexOf("+json")>0)?JSON.parse(t):F3.load(t)}(M,l);s.body=x,s.obj=x}catch(x){s.parseError=x}return s})}function y5(t={}){return"function"!=typeof t.entries?{}:Array.from(t.entries()).reduce((i,[n,s])=>(i[n]=function v5(t){return t.includes(", ")?t.split(", "):t}(s),i),{})}function bA(t,i){return!i&&typeof navigator<"u"&&(i=navigator),i&&"ReactNative"===i.product?!(!t||"object"!=typeof t||"string"!=typeof t.uri):!!(typeof File<"u"&&t instanceof File||typeof Blob<"u"&&t instanceof Blob||ArrayBuffer.isView(t))||null!==t&&"object"==typeof t&&"function"==typeof t.pipe}function k3(t,i){return Array.isArray(t)&&t.some(n=>bA(n,i))}const E5={form:",",spaceDelimited:"%20",pipeDelimited:"|"},S5={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};class MA extends File{constructor(i,n="",s={}){super([i],n,s),this.data=i}valueOf(){return this.data}toString(){return this.valueOf()}}function $3(t,i,n=!1){const{collectionFormat:s,allowEmptyValue:l,serializationOption:_,encoding:g}=i,M="object"!=typeof i||Array.isArray(i)?i:i.value,x=n?K=>K.toString():K=>encodeURIComponent(K),Y=x(t);if(typeof M>"u"&&l)return[[Y,""]];if(bA(M)||k3(M))return[[Y,M]];if(_)return H3(t,M,n,_);if(g){if([typeof g.style,typeof g.explode,typeof g.allowReserved].some(K=>"undefined"!==K)){const{style:K,explode:le,allowReserved:fe}=g;return H3(t,M,n,{style:K,explode:le,allowReserved:fe})}if("string"==typeof g.contentType){if(g.contentType.startsWith("application/json")){const ge=x("string"==typeof M?M:JSON.stringify(M));return[[Y,new MA(ge,"blob",{type:g.contentType})]]}const K=x(String(M));return[[Y,new MA(K,"blob",{type:g.contentType})]]}return"object"!=typeof M?[[Y,x(M)]]:Array.isArray(M)&&M.every(K=>"object"!=typeof K)?[[Y,M.map(x).join(",")]]:[[Y,x(JSON.stringify(M))]]}return"object"!=typeof M?[[Y,x(M)]]:Array.isArray(M)?"multi"===s?[[Y,M.map(x)]]:[[Y,M.map(x).join(S5[s||"csv"])]]:[[Y,""]]}function H3(t,i,n,s){const l=s.style||"form",_=typeof s.explode>"u"?"form"===l:s.explode,g=!n&&(s&&s.allowReserved?"unsafe":"reserved"),M=Y=>_y(Y,{escape:g}),x=n?Y=>Y:Y=>_y(Y,{escape:g});return"object"!=typeof i?[[x(t),M(i)]]:Array.isArray(i)?_?[[x(t),i.map(M)]]:[[x(t),i.map(M).join(E5[l])]]:"deepObject"===l?Object.keys(i).map(Y=>[x(`${t}[${Y}]`),M(i[Y])]):_?Object.keys(i).map(Y=>[x(Y),M(i[Y])]):[[x(t),Object.keys(i).map(Y=>[`${x(Y)},${M(i[Y])}`]).join(",")]]}function U3(t){const i=Object.keys(t).reduce((n,s)=>{for(const[l,_]of $3(s,t[s]))n[l]=_ instanceof MA?_.valueOf():_;return n},{});return oA().stringify(i,{encode:!1,indices:!1})||""}function B3(t={}){const{url:i="",query:n,form:s}=t;if(s){if(Object.keys(s).some(M=>{const{value:x}=s[M];return bA(x)||k3(x)})||/multipart\/form-data/i.test(t.headers["content-type"]||t.headers["Content-Type"])){const M=function C5(t){return Object.entries(t).reduce((i,[n,s])=>{for(const[l,_]of $3(n,s,!0))if(Array.isArray(_))for(const g of _)if(ArrayBuffer.isView(g)){const M=new Blob([g]);i.append(l,M)}else i.append(l,g);else if(ArrayBuffer.isView(_)){const g=new Blob([_]);i.append(l,g)}else i.append(l,_);return i},new FormData)}(t.form);t.formdata=M,t.body=M}else t.body=U3(s);delete t.form}if(n){const[_,g]=i.split("?");let M="";if(g){const Y=oA().parse(g);Object.keys(n).forEach(le=>delete Y[le]),M=oA().stringify(Y,{encode:!0})}const x=((..._)=>{const g=_.filter(M=>M).join("&");return g?`?${g}`:""})(M,U3(n));t.url=_+x,delete t.query}return t}function T5(t,i,n){return n=n||(s=>s),i=i||(s=>s),s=>("string"==typeof s&&(s={url:s}),SA.mergeInQueryOrForm(s),s=i(s),n(t(s)))}const G3=t=>{var i,n;const{baseDoc:s,url:l}=t,_=null!==(i=s??l)&&void 0!==i?i:"";return"string"==typeof(null===(n=globalThis.document)||void 0===n?void 0:n.baseURI)?String(new URL(_,globalThis.document.baseURI)):_},Y3=t=>{const{fetch:i,http:n}=t;return i||n||CA};var t,b5=(t=function(i,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,l){s.__proto__=l}||function(s,l){for(var _ in l)l.hasOwnProperty(_)&&(s[_]=l[_])})(i,n)},function(i,n){function s(){this.constructor=i}t(i,n),i.prototype=null===n?Object.create(n):(s.prototype=n.prototype,new s)}),M5=Object.prototype.hasOwnProperty;function fb(t,i){return M5.call(t,i)}function OA(t){if(Array.isArray(t)){for(var i=new Array(t.length),n=0;n<i.length;n++)i[n]=""+n;return i}if(Object.keys)return Object.keys(t);var s=[];for(var l in t)fb(t,l)&&s.push(l);return s}function sm(t){switch(typeof t){case"object":return JSON.parse(JSON.stringify(t));case"undefined":return null;default:return t}}function AA(t){for(var s,i=0,n=t.length;i<n;){if(!((s=t.charCodeAt(i))>=48&&s<=57))return!1;i++}return!0}function t1(t){return-1===t.indexOf("/")&&-1===t.indexOf("~")?t:t.replace(/~/g,"~0").replace(/\//g,"~1")}function j3(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}function DA(t){if(void 0===t)return!0;if(t)if(Array.isArray(t)){for(var i=0,n=t.length;i<n;i++)if(DA(t[i]))return!0}else if("object"==typeof t)for(var s=OA(t),l=s.length,_=0;_<l;_++)if(DA(t[s[_]]))return!0;return!1}function z3(t,i){var n=[t];for(var s in i){var l="object"==typeof i[s]?JSON.stringify(i[s],null,2):i[s];typeof l<"u"&&n.push(s+": "+l)}return n.join("\n")}var V3=function(t){function i(n,s,l,_,g){var M=this.constructor,x=t.call(this,z3(n,{name:s,index:l,operation:_,tree:g}))||this;return x.name=s,x.index=l,x.operation=_,x.tree=g,Object.setPrototypeOf(x,M.prototype),x.message=z3(n,{name:s,index:l,operation:_,tree:g}),x}return b5(i,t),i}(Error),Tf=V3,O5=sm,hy={add:function(t,i,n){return t[i]=this.value,{newDocument:n}},remove:function(t,i,n){var s=t[i];return delete t[i],{newDocument:n,removed:s}},replace:function(t,i,n){var s=t[i];return t[i]=this.value,{newDocument:n,removed:s}},move:function(t,i,n){var s=WE(n,this.path);s&&(s=sm(s));var l=o0(n,{op:"remove",path:this.from}).removed;return o0(n,{op:"add",path:this.path,value:l}),{newDocument:n,removed:s}},copy:function(t,i,n){var s=WE(n,this.from);return o0(n,{op:"add",path:this.path,value:sm(s)}),{newDocument:n}},test:function(t,i,n){return{newDocument:n,test:JE(t[i],this.value)}},_get:function(t,i,n){return this.value=t[i],{newDocument:n}}},A5={add:function(t,i,n){return AA(i)?t.splice(i,0,this.value):t[i]=this.value,{newDocument:n,index:i}},remove:function(t,i,n){return{newDocument:n,removed:t.splice(i,1)[0]}},replace:function(t,i,n){var s=t[i];return t[i]=this.value,{newDocument:n,removed:s}},move:hy.move,copy:hy.copy,test:hy.test,_get:hy._get};function WE(t,i){if(""==i)return t;var n={op:"_get",path:i};return o0(t,n),n.value}function o0(t,i,n,s,l,_){if(void 0===n&&(n=!1),void 0===s&&(s=!0),void 0===l&&(l=!0),void 0===_&&(_=0),n&&("function"==typeof n?n(i,0,t,i.path):pb(i,0)),""===i.path){var g={newDocument:t};if("add"===i.op)return g.newDocument=i.value,g;if("replace"===i.op)return g.newDocument=i.value,g.removed=t,g;if("move"===i.op||"copy"===i.op)return g.newDocument=WE(t,i.from),"move"===i.op&&(g.removed=t),g;if("test"===i.op){if(g.test=JE(t,i.value),!1===g.test)throw new Tf("Test operation failed","TEST_OPERATION_FAILED",_,i,t);return g.newDocument=t,g}if("remove"===i.op)return g.removed=t,g.newDocument=null,g;if("_get"===i.op)return i.value=t,g;if(n)throw new Tf("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",_,i,t);return g}s||(t=sm(t));var x=(i.path||"").split("/"),Y=t,K=1,le=x.length,fe=void 0,ge=void 0,Se=void 0;for(Se="function"==typeof n?n:pb;;){if((ge=x[K])&&-1!=ge.indexOf("~")&&(ge=j3(ge)),l&&("__proto__"==ge||"prototype"==ge&&K>0&&"constructor"==x[K-1]))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(n&&void 0===fe&&(void 0===Y[ge]?fe=x.slice(0,K).join("/"):K==le-1&&(fe=i.path),void 0!==fe&&Se(i,0,t,fe)),K++,Array.isArray(Y)){if("-"===ge)ge=Y.length;else{if(n&&!AA(ge))throw new Tf("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",_,i,t);AA(ge)&&(ge=~~ge)}if(K>=le){if(n&&"add"===i.op&&ge>Y.length)throw new Tf("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",_,i,t);if(!1===(g=A5[i.op].call(i,Y,ge,t)).test)throw new Tf("Test operation failed","TEST_OPERATION_FAILED",_,i,t);return g}}else if(K>=le){if(!1===(g=hy[i.op].call(i,Y,ge,t)).test)throw new Tf("Test operation failed","TEST_OPERATION_FAILED",_,i,t);return g}if(Y=Y[ge],n&&K<le&&(!Y||"object"!=typeof Y))throw new Tf("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",_,i,t)}}function J1(t,i,n,s,l){if(void 0===s&&(s=!0),void 0===l&&(l=!0),n&&!Array.isArray(i))throw new Tf("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");s||(t=sm(t));for(var _=new Array(i.length),g=0,M=i.length;g<M;g++)_[g]=o0(t,i[g],n,!0,l,g),t=_[g].newDocument;return _.newDocument=t,_}function D5(t,i,n){var s=o0(t,i);if(!1===s.test)throw new Tf("Test operation failed","TEST_OPERATION_FAILED",n,i,t);return s.newDocument}function pb(t,i,n,s){if("object"!=typeof t||null===t||Array.isArray(t))throw new Tf("Operation is not an object","OPERATION_NOT_AN_OBJECT",i,t,n);if(!hy[t.op])throw new Tf("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",i,t,n);if("string"!=typeof t.path)throw new Tf("Operation `path` property is not a string","OPERATION_PATH_INVALID",i,t,n);if(0!==t.path.indexOf("/")&&t.path.length>0)throw new Tf('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",i,t,n);if(("move"===t.op||"copy"===t.op)&&"string"!=typeof t.from)throw new Tf("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",i,t,n);if(("add"===t.op||"replace"===t.op||"test"===t.op)&&void 0===t.value)throw new Tf("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",i,t,n);if(("add"===t.op||"replace"===t.op||"test"===t.op)&&DA(t.value))throw new Tf("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",i,t,n);if(n)if("add"==t.op){var l=t.path.split("/").length,_=s.split("/").length;if(l!==_+1&&l!==_)throw new Tf("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",i,t,n)}else if("replace"===t.op||"remove"===t.op||"_get"===t.op){if(t.path!==s)throw new Tf("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",i,t,n)}else if("move"===t.op||"copy"===t.op){var M=W3([{op:"_get",path:t.from,value:void 0}],n);if(M&&"OPERATION_PATH_UNRESOLVABLE"===M.name)throw new Tf("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",i,t,n)}}function W3(t,i,n){try{if(!Array.isArray(t))throw new Tf("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(i)J1(sm(i),sm(t),n||!0);else{n=n||pb;for(var s=0;s<t.length;s++)n(t[s],s,i,void 0)}}catch(l){if(l instanceof Tf)return l;throw l}}function JE(t,i){if(t===i)return!0;if(t&&i&&"object"==typeof t&&"object"==typeof i){var l,_,g,n=Array.isArray(t),s=Array.isArray(i);if(n&&s){if((_=t.length)!=i.length)return!1;for(l=_;0!=l--;)if(!JE(t[l],i[l]))return!1;return!0}if(n!=s)return!1;var M=Object.keys(t);if((_=M.length)!==Object.keys(i).length)return!1;for(l=_;0!=l--;)if(!i.hasOwnProperty(M[l]))return!1;for(l=_;0!=l--;)if(!JE(t[g=M[l]],i[g]))return!1;return!0}return t!=t&&i!=i}var RA=new WeakMap,R5=function t(i){this.observers=new Map,this.obj=i},P5=function t(i,n){this.callback=i,this.observer=n};function I5(t,i){i.unobserve()}function F5(t,i){var s,l=function x5(t){return RA.get(t)}(t);if(l){var _=function w5(t,i){return t.observers.get(i)}(l,i);s=_&&_.observer}else l=new R5(t),RA.set(t,l);if(s)return s;if(s={},l.value=sm(t),i){s.callback=i,s.next=null;var g=function(){PA(s)},M=function(){clearTimeout(s.next),s.next=setTimeout(g)};typeof window<"u"&&(window.addEventListener("mouseup",M),window.addEventListener("keyup",M),window.addEventListener("mousedown",M),window.addEventListener("keydown",M),window.addEventListener("change",M))}return s.patches=[],s.object=t,s.unobserve=function(){PA(s),clearTimeout(s.next),function N5(t,i){t.observers.delete(i.callback)}(l,s),typeof window<"u"&&(window.removeEventListener("mouseup",M),window.removeEventListener("keyup",M),window.removeEventListener("mousedown",M),window.removeEventListener("keydown",M),window.removeEventListener("change",M))},l.observers.set(i,new P5(i,s)),s}function PA(t,i){void 0===i&&(i=!1);var n=RA.get(t.object);xA(n.value,t.object,t.patches,"",i),t.patches.length&&J1(n.value,t.patches);var s=t.patches;return s.length>0&&(t.patches=[],t.callback&&t.callback(s)),s}function xA(t,i,n,s,l){if(i!==t){"function"==typeof i.toJSON&&(i=i.toJSON());for(var _=OA(i),g=OA(t),x=!1,Y=g.length-1;Y>=0;Y--){var le=t[K=g[Y]];if(!fb(i,K)||void 0===i[K]&&void 0!==le&&!1===Array.isArray(i))Array.isArray(t)===Array.isArray(i)?(l&&n.push({op:"test",path:s+"/"+t1(K),value:sm(le)}),n.push({op:"remove",path:s+"/"+t1(K)}),x=!0):(l&&n.push({op:"test",path:s,value:t}),n.push({op:"replace",path:s,value:i}));else{var fe=i[K];"object"==typeof le&&null!=le&&"object"==typeof fe&&null!=fe&&Array.isArray(le)===Array.isArray(fe)?xA(le,fe,n,s+"/"+t1(K),l):le!==fe&&(l&&n.push({op:"test",path:s+"/"+t1(K),value:sm(le)}),n.push({op:"replace",path:s+"/"+t1(K),value:sm(fe)}))}}if(x||_.length!=g.length)for(Y=0;Y<_.length;Y++){var K;!fb(t,K=_[Y])&&void 0!==i[K]&&n.push({op:"add",path:s+"/"+t1(K),value:sm(i[K])})}}}function L5(t,i,n){void 0===n&&(n=!1);var s=[];return xA(t,i,s,"",n),s}Object.assign({},r,a,{JsonPatchError:V3,deepClone:sm,escapePathComponent:t1,unescapePathComponent:j3});var k5=o(82312),$5=o.n(k5);const Wu={add:function U5(t,i){return{op:"add",path:t,value:i}},replace:_b,remove:function B5(t){return{op:"remove",path:t}},merge:function G5(t,i){return{type:"mutation",op:"merge",path:t,value:i}},mergeDeep:function Y5(t,i){return{type:"mutation",op:"mergeDeep",path:t,value:i}},context:function j5(t,i){return{type:"context",path:t,value:i}},getIn:function W5(t,i){return i.reduce((n,s)=>typeof s<"u"&&n?n[s]:n,t)},applyPatch:function H5(t,i,n){if(n=n||{},"merge"===(i={...i,path:i.path&&J3(i.path)}).op){const s=IA(t,i.path);Object.assign(s,i.value),J1(t,[_b(i.path,s)])}else if("mergeDeep"===i.op){const s=IA(t,i.path),l=$5()(s,i.value);t=J1(t,[_b(i.path,l)]).newDocument}else if("add"===i.op&&""===i.path&&s0(i.value))J1(t,Object.keys(i.value).reduce((l,_)=>(l.push({op:"add",path:`/${J3(_)}`,value:i.value[_]}),l),[]));else if("replace"===i.op&&""===i.path){let{value:s}=i;n.allowMetaPatches&&i.meta&&hb(i)&&(Array.isArray(i.value)||s0(i.value))&&(s={...s,...i.meta}),t=s}else if(J1(t,[i]),n.allowMetaPatches&&i.meta&&hb(i)&&(Array.isArray(i.value)||s0(i.value))){const l={...IA(t,i.path),...i.meta};J1(t,[_b(i.path,l)])}return t},parentPathMatch:function V5(t,i){if(!Array.isArray(i))return!1;for(let n=0,s=i.length;n<s;n+=1)if(i[n]!==t[n])return!1;return!0},flatten:QE,fullyNormalizeArray:function J5(t){return X3(QE(K3(t)))},normalizeArray:K3,isPromise:function Q5(t){return s0(t)&&q3(t.then)},forEachNew:function Z5(t,i){try{return Q3(t,NA,i)}catch(n){return n}},forEachNewPrimitive:function z5(t,i){try{return Q3(t,wA,i)}catch(n){return n}},isJsonPatch:ex,isContextPatch:function q5(t){return mb(t)&&"context"===t.type},isPatch:mb,isMutation:tx,isAdditiveMutation:hb,isGenerator:function X5(t){return"[object GeneratorFunction]"===Object.prototype.toString.call(t)},isFunction:q3,isObject:s0,isError:function K5(t){return t instanceof Error}};function J3(t){return Array.isArray(t)?t.length<1?"":`/${t.map(i=>(i+"").replace(/~/g,"~0").replace(/\//g,"~1")).join("/")}`:t}function _b(t,i,n){return{op:"replace",path:t,value:i,meta:n}}function Q3(t,i,n){return X3(QE(t.filter(hb).map(g=>i(g.value,n,g.path))||[]))}function wA(t,i,n){return n=n||[],Array.isArray(t)?t.map((s,l)=>wA(s,i,n.concat(l))):s0(t)?Object.keys(t).map(s=>wA(t[s],i,n.concat(s))):i(t,n[n.length-1],n)}function NA(t,i,n){let s=[];if((n=n||[]).length>0){const l=i(t,n[n.length-1],n);l&&(s=s.concat(l))}if(Array.isArray(t)){const l=t.map((_,g)=>NA(_,i,n.concat(g)));l&&(s=s.concat(l))}else if(s0(t)){const l=Object.keys(t).map(_=>NA(t[_],i,n.concat(_)));l&&(s=s.concat(l))}return s=QE(s),s}function K3(t){return Array.isArray(t)?t:[t]}function QE(t){return[].concat(...t.map(i=>Array.isArray(i)?QE(i):i))}function X3(t){return t.filter(i=>typeof i<"u")}function s0(t){return t&&"object"==typeof t}function q3(t){return t&&"function"==typeof t}function ex(t){if(mb(t)){const{op:i}=t;return"add"===i||"remove"===i||"replace"===i}return!1}function tx(t){return ex(t)||mb(t)&&"mutation"===t.type}function hb(t){return tx(t)&&("add"===t.op||"replace"===t.op||"merge"===t.op||"mergeDeep"===t.op)}function mb(t){return t&&"object"==typeof t}function IA(t,i){try{return WE(t,i)}catch(n){return console.error(n),{}}}function gb(t,i){switch(t){case 0:return function(){return i.apply(this,arguments)};case 1:return function(n){return i.apply(this,arguments)};case 2:return function(n,s){return i.apply(this,arguments)};case 3:return function(n,s,l){return i.apply(this,arguments)};case 4:return function(n,s,l,_){return i.apply(this,arguments)};case 5:return function(n,s,l,_,g){return i.apply(this,arguments)};case 6:return function(n,s,l,_,g,M){return i.apply(this,arguments)};case 7:return function(n,s,l,_,g,M,x){return i.apply(this,arguments)};case 8:return function(n,s,l,_,g,M,x,Y){return i.apply(this,arguments)};case 9:return function(n,s,l,_,g,M,x,Y,K){return i.apply(this,arguments)};case 10:return function(n,s,l,_,g,M,x,Y,K,le){return i.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function e7(t,i){return function(){return i.call(this,t.apply(this,arguments))}}function Gd(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function Op(t){return function i(n){return 0===arguments.length||Gd(n)?i:t.apply(this,arguments)}}function a_(t){return function i(n,s){switch(arguments.length){case 0:return i;case 1:return Gd(n)?i:Op(function(l){return t(n,l)});default:return Gd(n)&&Gd(s)?i:Gd(n)?Op(function(l){return t(l,s)}):Gd(s)?Op(function(l){return t(n,l)}):t(n,s)}}}function nx(t){return function i(n,s,l){switch(arguments.length){case 0:return i;case 1:return Gd(n)?i:a_(function(_,g){return t(n,_,g)});case 2:return Gd(n)&&Gd(s)?i:Gd(n)?a_(function(_,g){return t(_,s,g)}):Gd(s)?a_(function(_,g){return t(n,_,g)}):Op(function(_){return t(n,s,_)});default:return Gd(n)&&Gd(s)&&Gd(l)?i:Gd(n)&&Gd(s)?a_(function(_,g){return t(_,g,l)}):Gd(n)&&Gd(l)?a_(function(_,g){return t(_,s,g)}):Gd(s)&&Gd(l)?a_(function(_,g){return t(n,_,g)}):Gd(n)?Op(function(_){return t(_,s,l)}):Gd(s)?Op(function(_){return t(n,_,l)}):Gd(l)?Op(function(_){return t(n,s,_)}):t(n,s,l)}}}o(29849);const FA=Array.isArray||function(i){return null!=i&&i.length>=0&&"[object Array]"===Object.prototype.toString.call(i)};var n7=Op(function(i){return!!FA(i)||!(!i||"object"!=typeof i||function t7(t){return"[object String]"===Object.prototype.toString.call(t)}(i))&&(0===i.length||i.length>0&&i.hasOwnProperty(0)&&i.hasOwnProperty(i.length-1))});const r7=n7;var rx=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function ix(t,i,n){return function(l,_,g){if(r7(g))return t(l,_,g);if(null==g)return _;if("function"==typeof g["fantasy-land/reduce"])return i(l,_,g,"fantasy-land/reduce");if(null!=g[rx])return n(l,_,g[rx]());if("function"==typeof g.next)return n(l,_,g);if("function"==typeof g.reduce)return i(l,_,g,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function i7(t,i,n){for(var s=0,l=n.length;s<l;){if((i=t["@@transducer/step"](i,n[s]))&&i["@@transducer/reduced"]){i=i["@@transducer/value"];break}s+=1}return t["@@transducer/result"](i)}var o7=a_(function(i,n){return gb(i.length,function(){return i.apply(n,arguments)})});const s7=o7;function a7(t,i,n){for(var s=n.next();!s.done;){if((i=t["@@transducer/step"](i,s.value))&&i["@@transducer/reduced"]){i=i["@@transducer/value"];break}s=n.next()}return t["@@transducer/result"](i)}function l7(t,i,n,s){return t["@@transducer/result"](n[s](s7(t["@@transducer/step"],t),i))}const ox=ix(i7,l7,a7);var u7=function(){function t(i){this.f=i}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(i){return i},t.prototype["@@transducer/step"]=function(i,n){return this.f(i,n)},t}(),f7=nx(function(t,i,n){return ox("function"==typeof t?function d7(t){return new u7(t)}(t):t,i,n)});const p7=f7;function sx(t,i){return function(){var n=arguments.length;if(0===n)return i();var s=arguments[n-1];return FA(s)||"function"!=typeof s[t]?i.apply(this,arguments):s[t].apply(s,Array.prototype.slice.call(arguments,0,n-1))}}var _7=nx(sx("slice",function(i,n,s){return Array.prototype.slice.call(s,i,n)}));const ax=_7,m7=Op(sx("tail",ax(1,1/0)));function lx(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return gb(arguments[0].length,p7(e7,arguments[0],m7(arguments)))}function cx(t,i,n){return function(){for(var s=[],l=0,_=t,g=0,M=!1;g<i.length||l<arguments.length;){var x;g<i.length&&(!Gd(i[g])||l>=arguments.length)?x=i[g]:(x=arguments[l],l+=1),s[g]=x,Gd(x)?M=!0:_-=1,g+=1}return!M&&_<=0?n.apply(this,s):gb(Math.max(0,_),cx(t,s,n))}}var g7=a_(function(i,n){return 1===i?Op(n):gb(i,cx(i,[],n))});const my=g7;const y7=Op(function(i){return my(i.length,i)});function ux(t){for(var n,i=[];!(n=t.next()).done;)i.push(n.value);return i}function dx(t,i,n){for(var s=0,l=n.length;s<l;){if(t(i,n[s]))return!0;s+=1}return!1}function vb(t,i){return Object.prototype.hasOwnProperty.call(i,t)}const LA="function"==typeof Object.is?Object.is:function C7(t,i){return t===i?0!==t||1/t==1/i:t!=t&&i!=i};var fx=Object.prototype.toString;const b7=function(){return"[object Arguments]"===fx.call(arguments)?function(i){return"[object Arguments]"===fx.call(i)}:function(i){return vb("callee",i)}}();var M7=!{toString:null}.propertyIsEnumerable("toString"),px=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_x=function(){return arguments.propertyIsEnumerable("length")}(),O7=function(i,n){for(var s=0;s<i.length;){if(i[s]===n)return!0;s+=1}return!1},A7=Op("function"!=typeof Object.keys||_x?function(i){if(Object(i)!==i)return[];var n,s,l=[],_=_x&&b7(i);for(n in i)vb(n,i)&&(!_||"length"!==n)&&(l[l.length]=n);if(M7)for(s=px.length-1;s>=0;)vb(n=px[s],i)&&!O7(l,n)&&(l[l.length]=n),s-=1;return l}:function(i){return Object(i)!==i?[]:Object.keys(i)});const gy=A7;const hx=Op(function(i){return null===i?"Null":void 0===i?"Undefined":Object.prototype.toString.call(i).slice(8,-1)});function mx(t,i,n,s){var l=ux(t);function g(M,x){return kA(M,x,n.slice(),s.slice())}return!dx(function(M,x){return!dx(g,x,M)},ux(i),l)}function kA(t,i,n,s){if(LA(t,i))return!0;var l=hx(t);if(l!==hx(i))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof i["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](i)&&"function"==typeof i["fantasy-land/equals"]&&i["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof i.equals)return"function"==typeof t.equals&&t.equals(i)&&"function"==typeof i.equals&&i.equals(t);switch(l){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===function S7(t){var i=String(t).match(/^function (\w*)/);return null==i?"":i[1]}(t.constructor))return t===i;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof i||!LA(t.valueOf(),i.valueOf()))return!1;break;case"Date":if(!LA(t.valueOf(),i.valueOf()))return!1;break;case"Error":return t.name===i.name&&t.message===i.message;case"RegExp":if(t.source!==i.source||t.global!==i.global||t.ignoreCase!==i.ignoreCase||t.multiline!==i.multiline||t.sticky!==i.sticky||t.unicode!==i.unicode)return!1}for(var _=n.length-1;_>=0;){if(n[_]===t)return s[_]===i;_-=1}switch(l){case"Map":return t.size===i.size&&mx(t.entries(),i.entries(),n.concat([t]),s.concat([i]));case"Set":return t.size===i.size&&mx(t.values(),i.values(),n.concat([t]),s.concat([i]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var g=gy(t);if(g.length!==gy(i).length)return!1;var M=n.concat([t]),x=s.concat([i]);for(_=g.length-1;_>=0;){var Y=g[_];if(!vb(Y,i)||!kA(i[Y],t[Y],M,x))return!1;_-=1}return!0}var R7=a_(function(i,n){return kA(i,n,[],[])});const gx=R7;function vx(t,i){return function P7(t,i,n){var s,l;if("function"==typeof t.indexOf)switch(typeof i){case"number":if(0===i){for(s=1/i;n<t.length;){if(0===(l=t[n])&&1/l===s)return n;n+=1}return-1}if(i!=i){for(;n<t.length;){if("number"==typeof(l=t[n])&&l!=l)return n;n+=1}return-1}return t.indexOf(i,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(i,n);case"object":if(null===i)return t.indexOf(i,n)}for(;n<t.length;){if(gx(t[n],i))return n;n+=1}return-1}(i,t,0)>=0}function yb(t,i){for(var n=0,s=i.length,l=Array(s);n<s;)l[n]=t(i[n]),n+=1;return l}function $A(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var KE=function(i){return(i<10?"0":"")+i};const w7="function"==typeof Date.prototype.toISOString?function(i){return i.toISOString()}:function(i){return i.getUTCFullYear()+"-"+KE(i.getUTCMonth()+1)+"-"+KE(i.getUTCDate())+"T"+KE(i.getUTCHours())+":"+KE(i.getUTCMinutes())+":"+KE(i.getUTCSeconds())+"."+(i.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Eb(t,i,n){for(var s=0,l=n.length;s<l;)i=t(i,n[s]),s+=1;return i}function HA(t,i,n){return function(){if(0===arguments.length)return n();var s=arguments[arguments.length-1];if(!FA(s)){for(var l=0;l<t.length;){if("function"==typeof s[t[l]])return s[t[l]].apply(s,Array.prototype.slice.call(arguments,0,-1));l+=1}if(function I7(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(s))return i.apply(null,Array.prototype.slice.call(arguments,0,-1))(s)}return n.apply(this,arguments)}}const XE_init=function(){return this.xf["@@transducer/init"]()},XE_result=function(t){return this.xf["@@transducer/result"](t)};var k7=function(){function t(i,n){this.xf=n,this.f=i}return t.prototype["@@transducer/init"]=XE_init,t.prototype["@@transducer/result"]=XE_result,t.prototype["@@transducer/step"]=function(i,n){return this.f(n)?this.xf["@@transducer/step"](i,n):i},t}();function $7(t){return function(i){return new k7(t,i)}}var H7=a_(HA(["fantasy-land/filter","filter"],$7,function(t,i){return function L7(t){return"[object Object]"===Object.prototype.toString.call(t)}(i)?Eb(function(n,s){return t(i[s])&&(n[s]=i[s]),n},{},gy(i)):function F7(t,i){for(var n=0,s=i.length,l=[];n<s;)t(i[n])&&(l[l.length]=i[n]),n+=1;return l}(t,i)}));const U7=H7;var B7=a_(function(i,n){return U7(function N7(t){return function(){return!t.apply(this,arguments)}}(i),n)});const G7=B7;function yx(t,i){var n=function(g){var M=i.concat([t]);return vx(g,M)?"<Circular>":yx(g,M)},s=function(_,g){return yb(function(M){return $A(M)+": "+n(_[M])},g.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+yb(n,t).join(", ")+"))";case"[object Array]":return"["+yb(n,t).concat(s(t,G7(function(_){return/^\d+$/.test(_)},gy(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+n(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?n(NaN):$A(w7(t)))+")";case"[object Map]":return"new Map("+n(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+n(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+n(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+n(t.valueOf())+")":$A(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var l=t.toString();if("[object Object]"!==l)return l}return"{"+s(t,gy(t)).join(", ")+"}"}}const j7=Op(function(i){return yx(i,[])});var Z7=a_(function(i,n){return my(i+1,function(){var s=arguments[i];if(null!=s&&function E7(t){var i=Object.prototype.toString.call(t);return"[object Function]"===i||"[object AsyncFunction]"===i||"[object GeneratorFunction]"===i||"[object AsyncGeneratorFunction]"===i}(s[n]))return s[n].apply(s,Array.prototype.slice.call(arguments,0,i));throw new TypeError(j7(s)+' does not have a method named "'+n+'"')})});const Ex=Z7,V7=Ex(1,"split");function W7(t,i){for(var n=i.length-1;n>=0&&t(i[n]);)n-=1;return ax(0,n+1,i)}var J7=function(){function t(i,n){this.f=i,this.retained=[],this.xf=n}return t.prototype["@@transducer/init"]=XE_init,t.prototype["@@transducer/result"]=function(i){return this.retained=null,this.xf["@@transducer/result"](i)},t.prototype["@@transducer/step"]=function(i,n){return this.f(n)?this.retain(i,n):this.flush(i,n)},t.prototype.flush=function(i,n){return i=ox(this.xf,i,this.retained),this.retained=[],this.xf["@@transducer/step"](i,n)},t.prototype.retain=function(i,n){return this.retained.push(n),i},t}();function Q7(t){return function(i){return new J7(t,i)}}const X7=a_(HA([],Q7,W7)),e9=Ex(1,"join");var t9=Op(function(i){return my(i.length,function(n,s){var l=Array.prototype.slice.call(arguments,0);return l[0]=s,l[1]=n,i.apply(this,l)})});const o9=t9(a_(vx));var s9=y7(function(t,i){return lx(V7(""),X7(o9(t)),e9(""))(i)});const a9=s9;function c9(t,i,n){for(var s=n.next();!s.done;)i=t(i,s.value),s=n.next();return i}function u9(t,i,n,s){return n[s](t,i)}const f9=ix(Eb,u9,c9);var p9=function(){function t(i,n){this.xf=n,this.f=i}return t.prototype["@@transducer/init"]=XE_init,t.prototype["@@transducer/result"]=XE_result,t.prototype["@@transducer/step"]=function(i,n){return this.xf["@@transducer/step"](i,this.f(n))},t}(),_9=function(i){return function(n){return new p9(i,n)}},h9=a_(HA(["fantasy-land/map","map"],_9,function(i,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return my(n.length,function(){return i.call(this,n.apply(this,arguments))});case"[object Object]":return Eb(function(s,l){return s[l]=i(n[l]),s},{},gy(n));default:return yb(i,n)}}));const Sx=h9;var m9=a_(function(i,n){return"function"==typeof n["fantasy-land/ap"]?n["fantasy-land/ap"](i):"function"==typeof i.ap?i.ap(n):"function"==typeof i?function(s){return i(s)(n(s))}:f9(function(s,l){return function l9(t,i){var n,s=(t=t||[]).length,l=(i=i||[]).length,_=[];for(n=0;n<s;)_[_.length]=t[n],n+=1;for(n=0;n<l;)_[_.length]=i[n],n+=1;return _}(s,Sx(l,n))},[],i)});const g9=m9;var v9=a_(function(i,n){var s=my(i,n);return my(i,function(){return Eb(g9,Sx(s,arguments[0]),Array.prototype.slice.call(arguments,1))})});const y9=v9;const b9=Op(function(i){return y9(i.length,i)})(Op(function(i){return!i}));var O9=Op(function(i){return function(){return i}})(void 0),D9=b9(gx(O9()));const BA=t=>{try{const i=new URL(t);return a9(":",i.protocol)}catch{return}},P9=(lx(BA,D9),t=>{const i=BA(t);return"http"===i||"https"===i}),qE=(t,i)=>{const n=new URL(i,new URL(t,"resolve://"));if("resolve:"===n.protocol){const{pathname:s,search:l,hash:_}=n;return s+l+_}return n.toString()};function bx(t,i){function n(...s){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,[this.message]=s,i&&i.apply(this,s)}return(n.prototype=new Error).name=t,n.prototype.constructor=n,n}var N9=o(18807),I9=o.n(N9);const F9=["properties"],L9=["properties"],k9=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],$9=["schema/example","items/example"];function Mx(t){const i=t[t.length-1],n=t[t.length-2],s=t.join("/");return F9.indexOf(i)>-1&&-1===L9.indexOf(n)||k9.indexOf(s)>-1||$9.some(l=>s.indexOf(l)>-1)}function GA(t,i){const[n,s]=t.split("#"),l=i??"",_=n??"";let g;if(P9(l))g=qE(l,_);else{const M=qE(iA,l),Y=qE(M,_).replace(iA,"");g=_.startsWith("/")?Y:Y.substring(1)}return s?`${g}#${s}`:g}const U9=/^([a-z]+:\/\/|\/\/)/i,vy=bx("JSONRefError",function(i,n,s){this.originalError=s,Object.assign(this,n||{})}),n1={},Ox=new WeakMap,B9=[t=>"paths"===t[0]&&"responses"===t[3]&&"examples"===t[5],t=>"paths"===t[0]&&"responses"===t[3]&&"content"===t[5]&&"example"===t[7],t=>"paths"===t[0]&&"responses"===t[3]&&"content"===t[5]&&"examples"===t[7]&&"value"===t[9],t=>"paths"===t[0]&&"requestBody"===t[3]&&"content"===t[4]&&"example"===t[6],t=>"paths"===t[0]&&"requestBody"===t[3]&&"content"===t[4]&&"examples"===t[6]&&"value"===t[8],t=>"paths"===t[0]&&"parameters"===t[2]&&"example"===t[4],t=>"paths"===t[0]&&"parameters"===t[3]&&"example"===t[5],t=>"paths"===t[0]&&"parameters"===t[2]&&"examples"===t[4]&&"value"===t[6],t=>"paths"===t[0]&&"parameters"===t[3]&&"examples"===t[5]&&"value"===t[7],t=>"paths"===t[0]&&"parameters"===t[2]&&"content"===t[4]&&"example"===t[6],t=>"paths"===t[0]&&"parameters"===t[2]&&"content"===t[4]&&"examples"===t[6]&&"value"===t[8],t=>"paths"===t[0]&&"parameters"===t[3]&&"content"===t[4]&&"example"===t[7],t=>"paths"===t[0]&&"parameters"===t[3]&&"content"===t[5]&&"examples"===t[7]&&"value"===t[9]],Ax=Object.assign({key:"$ref",plugin:(t,i,n,s)=>{const l=s.getInstance(),_=n.slice(0,-1);if(Mx(_)||(t=>B9.some(i=>i(t)))(_))return;const{baseDoc:g}=s.getContext(n);if("string"!=typeof t)return new vy("$ref: must be a string (JSON-Ref)",{$ref:t,baseDoc:g,fullPath:n});const M=Rx(t),x=M[0],Y=M[1]||"";let K,le,fe;try{K=g||x?Dx(x,g):null}catch(Ge){return YA(Ge,{pointer:Y,$ref:t,basePath:K,fullPath:n})}if(function W9(t,i,n,s){let l=Ox.get(s);l||(l={},Ox.set(s,l));const _=function z9(t){return 0===t.length?"":`/${t.map(Nx).join("/")}`}(n),g=`${i||"<specmap-base>"}#${t}`,M=_.replace(/allOf\/\d+\/?/g,"");if(i===s.contextTree.get([]).baseDoc&&zA(M,t))return!0;let Y="";if(n.some(le=>(Y=`${Y}/${Nx(le)}`,l[Y]&&l[Y].some(fe=>zA(fe,g)||zA(g,fe)))))return!0;l[M]=(l[M]||[]).concat(g)}(Y,K,_,s)&&!l.useCircularStructures){const Ge=GA(t,K);return t===Ge?null:Wu.replace(n,Ge)}if(null==K?(fe=ZA(Y),le=s.get(fe),typeof le>"u"&&(le=new vy(`Could not resolve reference: ${t}`,{pointer:Y,$ref:t,baseDoc:g,fullPath:n}))):(le=Px(K,Y),le=null!=le.__value?le.__value:le.catch(Ge=>{throw YA(Ge,{pointer:Y,$ref:t,baseDoc:g,fullPath:n})})),le instanceof Error)return[Wu.remove(n),le];const ge=GA(t,K),Se=Wu.replace(_,le,{$$ref:ge});if(K&&K!==g)return[Se,Wu.context(_,{baseDoc:K})];try{if(!function J9(t,i){const n=[t];return i.path.reduce((l,_)=>(n.push(l[_]),l[_]),t),function s(l){return Wu.isObject(l)&&(n.indexOf(l)>=0||Object.keys(l).some(_=>s(l[_])))}(i.value)}(s.state,Se)||l.useCircularStructures)return Se}catch{return null}}},{docCache:n1,absoluteify:Dx,clearCache:function j9(t){typeof t<"u"?delete n1[t]:Object.keys(n1).forEach(i=>{delete n1[i]})},JSONRefError:vy,wrapError:YA,getDoc:xx,split:Rx,extractFromDoc:Px,fetchJSON:function Z9(t){return fetch(t,{headers:{Accept:xP},loadSpec:!0}).then(i=>i.text()).then(i=>F3.load(i))},extract:jA,jsonPointerToArray:ZA,unescapeJsonPointerToken:wx}),Y9=Ax;function Dx(t,i){if(!U9.test(t)){if(!i)throw new vy(`Tried to resolve a relative URL, without having a basePath. path: '${t}' basePath: '${i}'`);return qE(i,t)}return t}function YA(t,i){let n;return n=t&&t.response&&t.response.body?`${t.response.body.code} ${t.response.body.message}`:t.message,new vy(`Could not resolve reference: ${n}`,i,t)}function Rx(t){return(t+"").split("#")}function Px(t,i){const n=n1[t];if(n&&!Wu.isPromise(n))try{const s=jA(i,n);return Object.assign(Promise.resolve(s),{__value:s})}catch(s){return Promise.reject(s)}return xx(t).then(s=>jA(i,s))}function xx(t){const i=n1[t];return i?Wu.isPromise(i)?i:Promise.resolve(i):(n1[t]=Ax.fetchJSON(t).then(n=>(n1[t]=n,n)),n1[t])}function jA(t,i){const n=ZA(t);if(n.length<1)return i;const s=Wu.getIn(i,n);if(typeof s>"u")throw new vy(`Could not resolve pointer: ${t} does not exist in document`,{pointer:t});return s}function ZA(t){if("string"!=typeof t)throw new TypeError("Expected a string, got a "+typeof t);return"/"===t[0]&&(t=t.substr(1)),""===t?[]:t.split("/").map(wx)}function wx(t){return"string"!=typeof t?t:new URLSearchParams(`=${t.replace(/~1/g,"/").replace(/~0/g,"~")}`).get("")}function Nx(t){return new URLSearchParams([["",t.replace(/~/g,"~0").replace(/\//g,"~1")]]).toString().slice(1)}const V9=t=>!t||"/"===t||"#"===t;function zA(t,i){if(V9(i))return!0;const n=t.charAt(i.length),s=i.slice(-1);return 0===t.indexOf(i)&&(!n||"/"===n||"#"===n)&&"#"!==s}const Q9={key:"allOf",plugin:(t,i,n,s,l)=>{if(l.meta&&l.meta.$$ref)return;const _=n.slice(0,-1);if(Mx(_))return;if(!Array.isArray(t)){const Y=new TypeError("allOf must be an array");return Y.fullPath=n,Y}let g=!1,M=l.value;if(_.forEach(Y=>{M&&(M=M[Y])}),M={...M},0===Object.keys(M).length)return;delete M.allOf;const x=[];return x.push(s.replace(_,{})),t.forEach((Y,K)=>{if(!s.isObject(Y)){if(g)return null;g=!0;const ge=new TypeError("Elements in allOf must be objects");return ge.fullPath=n,x.push(ge)}x.push(s.mergeDeep(_,Y));const fe=function H9(t,i,{specmap:n,getBaseUrlForNodePath:s=(_=>n.getContext([...i,..._]).baseDoc),targetKeys:l=["$ref","$$ref"]}={}){const _=[];return I9()(t).forEach(function(){if(l.includes(this.key)&&"string"==typeof this.node){const M=this.path,x=i.concat(this.path),Y=GA(this.node,s(M));_.push(n.replace(x,Y))}}),_}(Y,n.slice(0,-1),{getBaseUrlForNodePath:ge=>s.getContext([...n,K,...ge]).baseDoc,specmap:s});x.push(...fe)}),M.example&&x.push(s.remove([].concat(_,"example"))),x.push(s.mergeDeep(_,M)),M.$$ref||x.push(s.remove([].concat(_,"$$ref"))),x}},K9={key:"parameters",plugin:(t,i,n,s)=>{if(Array.isArray(t)&&t.length){const l=Object.assign([],t),_=n.slice(0,-1),g={...Wu.getIn(s.spec,_)};for(let M=0;M<t.length;M+=1){const x=t[M];try{l[M].default=s.parameterMacro(g,x)}catch(Y){const K=new Error(Y);return K.fullPath=n,K}}return Wu.replace(n,l)}return Wu.replace(n,t)}},X9={key:"properties",plugin:(t,i,n,s)=>{const l={...t};for(const g in t)try{l[g].default=s.modelPropertyMacro(l[g])}catch(M){const x=new Error(M);return x.fullPath=n,x}return Wu.replace(n,l)}};class q9{constructor(i){this.root=VA(i||{})}set(i,n){const s=this.getParent(i,!0);if(!s)return void Sb(this.root,n,null);const l=i[i.length-1],{children:_}=s;_[l]?Sb(_[l],n,s):_[l]=VA(n,s)}get(i){if((i=i||[]).length<1)return this.root.value;let s,l,n=this.root;for(let _=0;_<i.length&&(l=i[_],s=n.children,s[l]);_+=1)n=s[l];return n&&n.protoValue}getParent(i,n){return!i||i.length<1?null:i.length<2?this.root:i.slice(0,-1).reduce((s,l)=>{if(!s)return s;const{children:_}=s;return!_[l]&&n&&(_[l]=VA(null,s)),_[l]},this.root)}}function VA(t,i){return Sb({children:{}},t,i)}function Sb(t,i,n){return t.value=i||{},t.protoValue=n?{...n.protoValue,...t.value}:t.value,Object.keys(t.children).forEach(s=>{const l=t.children[s];t.children[s]=Sb(l,l.value,t)}),t}const Fx=()=>{};class ek{static getPluginName(i){return i.pluginName}static getPatchesOfType(i,n){return i.filter(n)}constructor(i){Object.assign(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new q9,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:Object.assign(Object.create(this),Wu,{getInstance:()=>this}),allowMetaPatches:!1},i),this.get=this._get.bind(this),this.getContext=this._getContext.bind(this),this.hasRun=this._hasRun.bind(this),this.wrappedPlugins=this.plugins.map(this.wrapPlugin.bind(this)).filter(Wu.isFunction),this.patches.push(Wu.add([],this.spec)),this.patches.push(Wu.context([],this.context)),this.updatePatches(this.patches)}debug(i,...n){this.debugLevel===i&&console.log(...n)}verbose(i,...n){"verbose"===this.debugLevel&&console.log(`[${i}] `,...n)}wrapPlugin(i,n){const{pathDiscriminator:s}=this;let _,l=null;return i[this.pluginProp]?(l=i,_=i[this.pluginProp]):Wu.isFunction(i)?_=i:Wu.isObject(i)&&(_=function g(M){const x=(Y,K)=>!Array.isArray(Y)||Y.every((le,fe)=>le===K[fe]);return function*(K,le){const fe={};for(const Se of K.filter(Wu.isAdditiveMutation))yield*ge(Se.value,Se.path,Se);function*ge(Se,Ge,we){if(Wu.isObject(Se)){const He=Ge.length-1,Pe=Ge[He],W=Ge.indexOf("properties"),It="properties"===Pe&&He===W,Pt=le.allowMetaPatches&&fe[Se.$$ref];for(const Jt of Object.keys(Se)){const dn=Se[Jt],Un=Ge.concat(Jt),ln=Wu.isObject(dn),Xn=Se.$$ref;if(Pt||ln&&(le.allowMetaPatches&&Xn&&(fe[Xn]=!0),yield*ge(dn,Un,we)),!It&&Jt===M.key){const jn=x(s,Ge);(!s||jn)&&(yield M.plugin(dn,Jt,Un,le,we))}}}else M.key===Ge[Ge.length-1]&&(yield M.plugin(Se,M.key,Ge,le))}}}(i)),Object.assign(_.bind(l),{pluginName:i.name||n,isGenerator:Wu.isGenerator(_)})}nextPlugin(){return this.wrappedPlugins.find(i=>this.getMutationsForPlugin(i).length>0)}nextPromisedPatch(){if(this.promisedPatches.length>0)return Promise.race(this.promisedPatches.map(i=>i.value))}getPluginHistory(i){const n=this.constructor.getPluginName(i);return this.pluginHistory[n]||[]}getPluginRunCount(i){return this.getPluginHistory(i).length}getPluginHistoryTip(i){const n=this.getPluginHistory(i);return n&&n[n.length-1]||{}}getPluginMutationIndex(i){const n=this.getPluginHistoryTip(i).mutationIndex;return"number"!=typeof n?-1:n}updatePluginHistory(i,n){const s=this.constructor.getPluginName(i);this.pluginHistory[s]=this.pluginHistory[s]||[],this.pluginHistory[s].push(n)}updatePatches(i){Wu.normalizeArray(i).forEach(n=>{if(n instanceof Error)this.errors.push(n);else try{if(!Wu.isObject(n))return void this.debug("updatePatches","Got a non-object patch",n);if(this.showDebug&&this.allPatches.push(n),Wu.isPromise(n.value))return this.promisedPatches.push(n),void this.promisedPatchThen(n);if(Wu.isContextPatch(n))return void this.setContext(n.path,n.value);Wu.isMutation(n)&&this.updateMutations(n)}catch(s){console.error(s),this.errors.push(s)}})}updateMutations(i){"object"==typeof i.value&&!Array.isArray(i.value)&&this.allowMetaPatches&&(i.value={...i.value});const n=Wu.applyPatch(this.state,i,{allowMetaPatches:this.allowMetaPatches});n&&(this.mutations.push(i),this.state=n)}removePromisedPatch(i){const n=this.promisedPatches.indexOf(i);n<0?this.debug("Tried to remove a promisedPatch that isn't there!"):this.promisedPatches.splice(n,1)}promisedPatchThen(i){return i.value=i.value.then(n=>{const s={...i,value:n};this.removePromisedPatch(i),this.updatePatches(s)}).catch(n=>{this.removePromisedPatch(i),this.updatePatches(n)}),i.value}getMutations(i,n){return"number"!=typeof n&&(n=this.mutations.length),this.mutations.slice(i=i||0,n)}getCurrentMutations(){return this.getMutationsForPlugin(this.getCurrentPlugin())}getMutationsForPlugin(i){const n=this.getPluginMutationIndex(i);return this.getMutations(n+1)}getCurrentPlugin(){return this.currentPlugin}getLib(){return this.libMethods}_get(i){return Wu.getIn(this.state,i)}_getContext(i){return this.contextTree.get(i)}setContext(i,n){return this.contextTree.set(i,n)}_hasRun(i){return this.getPluginRunCount(this.getCurrentPlugin())>(i||0)}dispatch(){const i=this,n=this.nextPlugin();if(!n){const _=this.nextPromisedPatch();if(_)return _.then(()=>this.dispatch()).catch(()=>this.dispatch());const g={spec:this.state,errors:this.errors};return this.showDebug&&(g.patches=this.allPatches),Promise.resolve(g)}if(i.pluginCount=i.pluginCount||{},i.pluginCount[n]=(i.pluginCount[n]||0)+1,i.pluginCount[n]>100)return Promise.resolve({spec:i.state,errors:i.errors.concat(new Error("We've reached a hard limit of 100 plugin runs"))});if(n!==this.currentPlugin&&this.promisedPatches.length){const _=this.promisedPatches.map(g=>g.value);return Promise.all(_.map(g=>g.then(Fx,Fx))).then(()=>this.dispatch())}return function s(){i.currentPlugin=n;const _=i.getCurrentMutations(),g=i.mutations.length-1;try{if(n.isGenerator)for(const M of n(_,i.getLib()))l(M);else l(n(_,i.getLib()))}catch(M){console.error(M),l([Object.assign(Object.create(M),{plugin:n})])}finally{i.updatePluginHistory(n,{mutationIndex:g})}return i.dispatch()}();function l(_){_&&(_=Wu.fullyNormalizeArray(_),i.updatePatches(_,n))}}}const yy={refs:Y9,allOf:Q9,parameters:K9,properties:X9},Lx=t=>t.replace(/\W/gi,"_");function WA(t,i,n="",{v2OperationIdCompatibilityMode:s}={}){return t&&"object"==typeof t?(t.operationId||"").replace(/\s/g,"").length?Lx(t.operationId):function nk(t,i,{v2OperationIdCompatibilityMode:n}={}){if(n){let s=`${i.toLowerCase()}_${t}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return s=s||`${t.substring(1)}_${i}`,s.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${i.toLowerCase()}${Lx(t)}`}(i,n,{v2OperationIdCompatibilityMode:s}):null}function Cb(t){const{spec:i}=t,{paths:n}=i,s={};if(!n||i.$$normalized)return t;for(const l in n){const _=n[l];if(null==_||!["object","function"].includes(typeof _))continue;const g=_.parameters;for(const M in _){const x=_[M];if(null==x||!["object","function"].includes(typeof x))continue;const Y=WA(x,l,M);if(Y){s[Y]?s[Y].push(x):s[Y]=[x];const K=s[Y];if(K.length>1)K.forEach((le,fe)=>{le.__originalOperationId=le.__originalOperationId||le.operationId,le.operationId=`${Y}${fe+1}`});else if(typeof x.operationId<"u"){const le=K[0];le.__originalOperationId=le.__originalOperationId||x.operationId,le.operationId=Y}}if("parameters"!==M){const K=[],le={};for(const fe in i)("produces"===fe||"consumes"===fe||"security"===fe)&&(le[fe]=i[fe],K.push(le));if(g&&(le.parameters=g,K.push(le)),K.length)for(const fe of K)for(const ge in fe)if(x[ge]){if("parameters"===ge)for(const Se of fe[ge])x[ge].some(we=>we.name&&we.name===Se.name||we.$ref&&we.$ref===Se.$ref||we.$$ref&&we.$$ref===Se.$$ref||we===Se)||x[ge].push(Se)}else x[ge]=fe[ge]}}}return i.$$normalized=!0,t}function JA(t){return QA.apply(this,arguments)}function QA(){return QA=(0,Om.Z)(function*(t){const{spec:i,mode:n,allowMetaPatches:s=!0,pathDiscriminator:l,modelPropertyMacro:_,parameterMacro:g,requestInterceptor:M,responseInterceptor:x,skipNormalization:Y,useCircularStructures:K}=t,le=G3(t),fe=Y3(t);return function ge(Se){le&&(yy.refs.docCache[le]=Se),yy.refs.fetchJSON=wP(fe,{requestInterceptor:M,responseInterceptor:x});const Ge=[yy.refs];return"function"==typeof g&&Ge.push(yy.parameters),"function"==typeof _&&Ge.push(yy.properties),"strict"!==n&&Ge.push(yy.allOf),function tk(t){return new ek(t).dispatch()}({spec:Se,context:{baseDoc:le},plugins:Ge,allowMetaPatches:s,pathDiscriminator:l,parameterMacro:g,modelPropertyMacro:_,useCircularStructures:K}).then(Y?function(){var we=(0,Om.Z)(function*(He){return He});return function(He){return we.apply(this,arguments)}}():Cb)}(i)}),QA.apply(this,arguments)}const kx={name:"generic",match:()=>!0,normalize({spec:t}){const{spec:i}=Cb({spec:t});return i},resolve:t=>(0,Om.Z)(function*(){return JA(t)})()};function KA(){return KA=(0,Om.Z)(function*(t){return JA(t)}),KA.apply(this,arguments)}const $x=t=>{try{const{openapi:i}=t;return"string"==typeof i&&/^3\.0\.([0123])(?:-rc[012])?$/.test(i)}catch{return!1}},Hx=t=>$x(t)||(t=>{try{const{openapi:i}=t;return"string"==typeof i&&/^3\.1\.(?:[1-9]\d*|0)$/.test(i)}catch{return!1}})(t),Ux={name:"openapi-2",match:({spec:t})=>(t=>{try{const{swagger:i}=t;return"2.0"===i}catch{return!1}})(t),normalize({spec:t}){const{spec:i}=Cb({spec:t});return i},resolve:t=>(0,Om.Z)(function*(){return function rk(t){return KA.apply(this,arguments)}(t)})()};function XA(){return XA=(0,Om.Z)(function*(t){return JA(t)}),XA.apply(this,arguments)}const Bx={name:"openapi-3-0",match:({spec:t})=>$x(t),normalize({spec:t}){const{spec:i}=Cb({spec:t});return i},resolve:t=>(0,Om.Z)(function*(){return function sk(t){return XA.apply(this,arguments)}(t)})()},ak=function(){var t=(0,Om.Z)(function*(i){const{spec:n,requestInterceptor:s,responseInterceptor:l}=i,_=G3(i),g=Y3(i),M=n||(yield wP(g,{requestInterceptor:s,responseInterceptor:l})(_)),x={...i,spec:M};return i.strategies.find(K=>K.match(x)).resolve(x)});return function(n){return t.apply(this,arguments)}}(),Gx=(t=>function(){var i=(0,Om.Z)(function*(n){const s={...t,...n};return ak(s)});return function(n){return i.apply(this,arguments)}}())({strategies:[Bx,Ux,kx]});var lk=o(46295);function Yx(t){return"[object Object]"===Object.prototype.toString.call(t)}function jx(t){var i,n;return!1!==Yx(t)&&(void 0===(i=t.constructor)||!(!1===Yx(n=i.prototype)||!1===n.hasOwnProperty("isPrototypeOf")))}const ck={body:function uk({req:t,value:i}){t.body=i},header:function fk({req:t,parameter:i,value:n}){t.headers=t.headers||{},typeof n<"u"&&(t.headers[i.name]=n)},query:function _k({req:t,value:i,parameter:n}){if(t.query=t.query||{},!1===i&&"boolean"===n.type&&(i="false"),0===i&&["number","integer"].indexOf(n.type)>-1&&(i="0"),i)t.query[n.name]={collectionFormat:n.collectionFormat,value:i};else if(n.allowEmptyValue&&void 0!==i){const s=n.name;t.query[s]=t.query[s]||{},t.query[s].allowEmptyValue=!0}},path:function pk({req:t,value:i,parameter:n}){t.url=t.url.split(`{${n.name}}`).join(encodeURIComponent(i))},formData:function dk({req:t,value:i,parameter:n}){(i||n.allowEmptyValue)&&(t.form=t.form||{},t.form[n.name]={value:i,allowEmptyValue:n.allowEmptyValue,collectionFormat:n.collectionFormat})}};function Tb(t,i){return i.includes("application/json")?"string"==typeof t?t:JSON.stringify(t):t.toString()}function hk({req:t,value:i,parameter:n}){const{name:s,style:l,explode:_,content:g}=n;if(g){const x=Object.keys(g)[0];return void(t.url=t.url.split(`{${s}}`).join(_y(Tb(i,x),{escape:!0})))}const M=EA({key:n.name,value:i,style:l||"simple",explode:_||!1,escape:!0});t.url=t.url.split(`{${s}}`).join(M)}function mk({req:t,value:i,parameter:n}){if(t.query=t.query||{},n.content){const l=Tb(i,Object.keys(n.content)[0]);if(l)t.query[n.name]=l;else if(n.allowEmptyValue&&void 0!==i){const _=n.name;t.query[_]=t.query[_]||{},t.query[_].allowEmptyValue=!0}}else if(!1===i&&(i="false"),0===i&&(i="0"),i){const{style:s,explode:l,allowReserved:_}=n;t.query[n.name]={value:i,serializationOption:{style:s,explode:l,allowReserved:_}}}else if(n.allowEmptyValue&&void 0!==i){const s=n.name;t.query[s]=t.query[s]||{},t.query[s].allowEmptyValue=!0}}const gk=["accept","authorization","content-type"];function vk({req:t,parameter:i,value:n}){if(t.headers=t.headers||{},!(gk.indexOf(i.name.toLowerCase())>-1)){if(i.content){const s=Object.keys(i.content)[0];return void(t.headers[i.name]=Tb(n,s))}void 0!==n&&(!Array.isArray(n)||0!==n.length)&&(t.headers[i.name]=EA({key:i.name,value:n,style:i.style||"simple",explode:!(typeof i.explode>"u")&&i.explode,escape:!1}))}}function yk({req:t,parameter:i,value:n}){t.headers=t.headers||{};const s=typeof n;if(i.content){const l=Object.keys(i.content)[0];t.headers.Cookie=`${i.name}=${Tb(n,l)}`}else if(void 0!==n&&(!Array.isArray(n)||0!==n.length)){const l="object"===s&&!Array.isArray(n)&&i.explode?"":`${i.name}=`;t.headers.Cookie=l+EA({key:i.name,value:n,escape:!1,style:i.style||"form",explode:!(typeof i.explode>"u")&&i.explode})}}const Ek=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,{btoa:Sk}=Ek,Zx=Sk;function zx(t,i){return`${i.toLowerCase()}-${t}`}const Vx=t=>Array.isArray(t)?t:[],bb=t=>{try{return new URL(t)}catch{const i=new URL(t,iA),n=String(t).startsWith("/")?i.pathname:i.pathname.substring(1);return{hash:i.hash,host:"",hostname:"",href:"",origin:"",password:"",pathname:n,port:"",protocol:"",search:i.search,searchParams:i.searchParams}}},Rk=bx("OperationNotFoundError",function(i,n,s){this.originalError=s,Object.assign(this,n||{})}),Pk=(t,i)=>i.filter(n=>n.name===t),xk=t=>{const i={};t.forEach(s=>{i[s.in]||(i[s.in]={}),i[s.in][s.name]=s});const n=[];return Object.keys(i).forEach(s=>{Object.keys(i[s]).forEach(l=>{n.push(i[s][l])})}),n},wk={buildRequest:Wx};function Nk({http:t,fetch:i,spec:n,operationId:s,pathName:l,method:_,parameters:g,securities:M,...x}){const Y=t||i||CA;l&&_&&!s&&(s=zx(l,_));const K=wk.buildRequest({spec:n,operationId:s,parameters:g,securities:M,http:Y,...x});return K.body&&(jx(K.body)||Array.isArray(K.body))&&(K.body=JSON.stringify(K.body)),Y(K)}function Wx(t){const{spec:i,operationId:n,responseContentType:s,scheme:l,requestInterceptor:_,responseInterceptor:g,contextUrl:M,userFetch:x,server:Y,serverVariables:K,http:le,signal:fe}=t;let{parameters:ge,parameterBuilders:Se}=t;const Ge=Hx(i);Se||(Se=Ge?u:ck);let He={url:"",credentials:le&&le.withCredentials?"include":"same-origin",headers:{},cookies:{}};fe&&(He.signal=fe),_&&(He.requestInterceptor=_),g&&(He.responseInterceptor=g),x&&(He.userFetch=x);const Pe=function Dk(t,i){return t&&t.paths?function Ak(t,i){return function Ok(t,i,n){if(!t||"object"!=typeof t||!t.paths||"object"!=typeof t.paths)return null;const{paths:s}=t;for(const l in s)for(const _ in s[l]){if("PARAMETERS"===_.toUpperCase())continue;const g=s[l][_];if(!g||"object"!=typeof g)continue;const M={spec:t,pathName:l,method:_.toUpperCase(),operation:g},x=i(M);if(n&&x)return M}}(t,i,!0)||null}(t,({pathName:n,method:s,operation:l})=>{if(!l||"object"!=typeof l)return!1;const _=l.operationId;return[WA(l,n,s),zx(n,s),_].some(x=>x&&x===i)}):null}(i,n);if(!Pe)throw new Rk(`Operation ${n} not found`);const{operation:W={},method:It,pathName:Pt}=Pe;if(He.url+=function Ik(t){return Hx(t.spec)?function Fk({spec:t,pathName:i,method:n,server:s,contextUrl:l,serverVariables:_={}}){var g,M;let K,x=[],Y="";const le=null==t||null===(g=t.paths)||void 0===g||null===(g=g[i])||void 0===g||null===(g=g[(n||"").toLowerCase()])||void 0===g?void 0:g.servers,fe=null==t||null===(M=t.paths)||void 0===M||null===(M=M[i])||void 0===M?void 0:M.servers,ge=t?.servers;return x=eD(le)?le:eD(fe)?fe:eD(ge)?ge:[L4],s&&(K=x.find(Se=>Se.url===s),K&&(Y=s)),Y||([K]=x,Y=K.url),Y.includes("{")&&function kk(t){const i=[],n=/{([^}]+)}/g;let s;for(;s=n.exec(t);)i.push(s[1]);return i}(Y).forEach(Ge=>{if(K.variables&&K.variables[Ge]){const He=_[Ge]||K.variables[Ge].default,Pe=new RegExp(`{${Ge}}`,"g");Y=Y.replace(Pe,He)}}),function Lk(t="",i=""){const n=bb(t&&i?qE(i,t):t),s=bb(i),l=qA(n.protocol)||qA(s.protocol),_=n.host||s.host,g=n.pathname;let M;return M=l&&_?`${l}://${_+g}`:g,"/"===M[M.length-1]?M.slice(0,-1):M}(Y,l)}(t):function $k({spec:t,scheme:i,contextUrl:n=""}){const s=bb(n),l=Array.isArray(t.schemes)?t.schemes[0]:null,_=i||l||qA(s.protocol)||"http",g=t.host||s.host||"",M=t.basePath||"";let x;return x=_&&g?`${_}://${g+M}`:M,"/"===x[x.length-1]?x.slice(0,-1):x}(t)}({spec:i,scheme:l,contextUrl:M,server:Y,serverVariables:K,pathName:Pt,method:It}),!n)return delete He.cookies,He;He.url+=Pt,He.method=`${It}`.toUpperCase(),ge=ge||{};const Jt=i.paths[Pt]||{};s&&(He.headers.accept=s);const dn=xk([].concat(Vx(W.parameters)).concat(Vx(Jt.parameters)));dn.forEach(ln=>{const Xn=Se[ln.in];let jn;if("body"===ln.in&&ln.schema&&ln.schema.properties&&(jn=ge),jn=ln&&ln.name&&ge[ln.name],typeof jn>"u"?jn=ln&&ln.name&&ge[`${ln.in}.${ln.name}`]:Pk(ln.name,dn).length>1&&console.warn(`Parameter '${ln.name}' is ambiguous because the defined spec has more than one parameter with the name: '${ln.name}' and the passed-in parameter values did not define an 'in' value.`),null!==jn){if(typeof ln.default<"u"&&typeof jn>"u"&&(jn=ln.default),typeof jn>"u"&&ln.required&&!ln.allowEmptyValue)throw new Error(`Required parameter ${ln.name} is not provided`);if(Ge&&ln.schema&&"object"===ln.schema.type&&"string"==typeof jn)try{jn=JSON.parse(jn)}catch{throw new Error("Could not parse object parameter value string as JSON")}Xn&&Xn({req:He,parameter:ln,value:jn,operation:W,spec:i})}});const Un={...t,operation:W};if(He=Ge?function Ck(t,i){const{operation:n,requestBody:s,securities:l,spec:_,attachContentTypeForEmptyPayload:g}=t;let{requestContentType:M}=t;i=function Tk({request:t,securities:i={},operation:n={},spec:s}){var l;const _={...t},{authorized:g={}}=i,M=n.security||s.security||[],x=g&&!!Object.keys(g).length,Y=(null==s||null===(l=s.components)||void 0===l?void 0:l.securitySchemes)||{};return _.headers=_.headers||{},_.query=_.query||{},Object.keys(i).length&&x&&M&&(!Array.isArray(n.security)||n.security.length)?(M.forEach(K=>{Object.keys(K).forEach(le=>{const fe=g[le],ge=Y[le];if(!fe)return;const Se=fe.value||fe,{type:Ge}=ge;if(fe)if("apiKey"===Ge)"query"===ge.in&&(_.query[ge.name]=Se),"header"===ge.in&&(_.headers[ge.name]=Se),"cookie"===ge.in&&(_.cookies[ge.name]=Se);else if("http"===Ge){if(/^basic$/i.test(ge.scheme)){const Pe=Zx(`${Se.username||""}:${Se.password||""}`);_.headers.Authorization=`Basic ${Pe}`}/^bearer$/i.test(ge.scheme)&&(_.headers.Authorization=`Bearer ${Se}`)}else if("oauth2"===Ge||"openIdConnect"===Ge){const we=fe.token||{},Pe=we[ge["x-tokenName"]||"access_token"];let W=we.token_type;(!W||"bearer"===W.toLowerCase())&&(W="Bearer"),_.headers.Authorization=`${W} ${Pe}`}})}),_):t}({request:i,securities:l,operation:n,spec:_});const x=n.requestBody||{},Y=Object.keys(x.content||{}),K=M&&Y.indexOf(M)>-1;if(s||g){if(M&&K)i.headers["Content-Type"]=M;else if(!M){const ge=Y[0];ge&&(i.headers["Content-Type"]=ge,M=ge)}}else M&&K&&(i.headers["Content-Type"]=M);if(!t.responseContentType&&n.responses){const ge=Object.entries(n.responses).filter(([Se,Ge])=>{const we=parseInt(Se,10);return we>=200&&we<300&&jx(Ge.content)}).reduce((Se,[,Ge])=>Se.concat(Object.keys(Ge.content)),[]);ge.length>0&&(i.headers.accept=ge.join(", "))}if(s)if(M){if(Y.indexOf(M)>-1)if("application/x-www-form-urlencoded"===M||"multipart/form-data"===M)if("object"==typeof s){var le,fe;const ge=null!==(le=null===(fe=x.content[M])||void 0===fe?void 0:fe.encoding)&&void 0!==le?le:{};i.form={},Object.keys(s).forEach(Se=>{i.form[Se]={value:s[Se],encoding:ge[Se]||{}}})}else i.form=s;else i.body=s}else i.body=s;return i}(Un,He):function bk(t,i){const{spec:n,operation:s,securities:l,requestContentType:_,responseContentType:g,attachContentTypeForEmptyPayload:M}=t;if(i=function Mk({request:t,securities:i={},operation:n={},spec:s}){const l={...t},{authorized:_={},specSecurity:g=[]}=i,M=n.security||g,x=_&&!!Object.keys(_).length,Y=s.securityDefinitions;return l.headers=l.headers||{},l.query=l.query||{},Object.keys(i).length&&x&&M&&(!Array.isArray(n.security)||n.security.length)?(M.forEach(K=>{Object.keys(K).forEach(le=>{const fe=_[le];if(!fe)return;const{token:ge}=fe,Se=fe.value||fe,Ge=Y[le],{type:we}=Ge,Pe=ge&&ge[Ge["x-tokenName"]||"access_token"];let W=ge&&ge.token_type;if(fe)if("apiKey"===we){const It="query"===Ge.in?"query":"headers";l[It]=l[It]||{},l[It][Ge.name]=Se}else"basic"===we?Se.header?l.headers.authorization=Se.header:(Se.base64=Zx(`${Se.username||""}:${Se.password||""}`),l.headers.authorization=`Basic ${Se.base64}`):"oauth2"===we&&Pe&&(W=W&&"bearer"!==W.toLowerCase()?W:"Bearer",l.headers.authorization=`${W} ${Pe}`)})}),l):t}({request:i,securities:l,operation:s,spec:n}),i.body||i.form||M)_?i.headers["Content-Type"]=_:Array.isArray(s.consumes)?[i.headers["Content-Type"]]=s.consumes:Array.isArray(n.consumes)?[i.headers["Content-Type"]]=n.consumes:s.parameters&&s.parameters.filter(x=>"file"===x.type).length?i.headers["Content-Type"]="multipart/form-data":s.parameters&&s.parameters.filter(x=>"formData"===x.in).length&&(i.headers["Content-Type"]="application/x-www-form-urlencoded");else if(_){const x=s.parameters&&s.parameters.filter(K=>"body"===K.in).length>0,Y=s.parameters&&s.parameters.filter(K=>"formData"===K.in).length>0;(x||Y)&&(i.headers["Content-Type"]=_)}return!g&&Array.isArray(s.produces)&&s.produces.length>0&&(i.headers.accept=s.produces.join(", ")),i}(Un,He),He.cookies&&Object.keys(He.cookies).length){const ln=Object.keys(He.cookies).reduce((Xn,jn)=>Xn+(Xn?"&":"")+lk.serialize(jn,He.cookies[jn]),"");He.headers.Cookie=ln}return He.cookies&&delete He.cookies,B3(He),He}const qA=t=>t?t.replace(/\W/g,""):null,eD=t=>Array.isArray(t)&&t.length>0,Hk=function(){var t=(0,Om.Z)(function*(i,n,s={}){const{returnEntireTree:l,baseDoc:_,requestInterceptor:g,responseInterceptor:M,parameterMacro:x,modelPropertyMacro:Y,useCircularStructures:K,strategies:le}=s,fe={spec:i,pathDiscriminator:n,baseDoc:_,requestInterceptor:g,responseInterceptor:M,parameterMacro:x,modelPropertyMacro:Y,useCircularStructures:K,strategies:le},Se=le.find(we=>we.match(fe)).normalize(fe),Ge=yield Gx({...fe,spec:Se,allowMetaPatches:!0,skipNormalization:!0});return!l&&Array.isArray(n)&&n.length&&(Ge.spec=n.reduce((we,He)=>we?.[He],Ge.spec)||null),Ge});return function(n,s){return t.apply(this,arguments)}}(),Uk=(t=>function(){var i=(0,Om.Z)(function*(n,s,l={}){const _={...t,...l};return Hk(n,s,_)});return function(n,s){return i.apply(this,arguments)}}())({strategies:[Bx,Ux,kx]});var Jx=o(88768),Qx=kc.createContext(null),Kx=function Bk(t){t()},Yk=function(){return Kx},Xx={notify:function(){},get:function(){return[]}};function qx(t,i){var n,s=Xx;function g(){K.onStateChange&&K.onStateChange()}function x(){n||(n=i?i.addNestedSub(g):t.subscribe(g),s=function jk(){var t=Yk(),i=null,n=null;return{clear:function(){i=null,n=null},notify:function(){t(function(){for(var l=i;l;)l.callback(),l=l.next})},get:function(){for(var l=[],_=i;_;)l.push(_),_=_.next;return l},subscribe:function(l){var _=!0,g=n={callback:l,next:null,prev:n};return g.prev?g.prev.next=g:i=g,function(){!_||null===i||(_=!1,g.next?g.next.prev=g.prev:n=g.prev,g.prev?g.prev.next=g.next:i=g.next)}}}}())}var K={addNestedSub:function l(le){return x(),s.subscribe(le)},notifyNestedSubs:function _(){s.notify()},handleChangeWrapper:g,isSubscribed:function M(){return Boolean(n)},trySubscribe:x,tryUnsubscribe:function Y(){n&&(n(),n=void 0,s.clear(),s=Xx)},getListeners:function(){return s}};return K}var ew=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?kc.useLayoutEffect:kc.useEffect;const zk=function Zk(t){var i=t.store,n=t.context,s=t.children,l=(0,kc.useMemo)(function(){var M=qx(i);return{store:i,subscription:M}},[i]),_=(0,kc.useMemo)(function(){return i.getState()},[i]);return ew(function(){var M=l.subscription;return M.onStateChange=M.notifyNestedSubs,M.trySubscribe(),_!==i.getState()&&M.notifyNestedSubs(),function(){M.tryUnsubscribe(),M.onStateChange=null}},[l,_]),kc.createElement((n||Qx).Provider,{value:l},s)};function r1(){return r1=Object.assign?Object.assign.bind():function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},r1.apply(this,arguments)}function eS(t,i){if(null==t)return{};var l,_,n={},s=Object.keys(t);for(_=0;_<s.length;_++)!(i.indexOf(l=s[_])>=0)&&(n[l]=t[l]);return n}var Vk=o(62568),tw=o.n(Vk),Wk=o(56261),Jk=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],Qk=["reactReduxForwardedRef"],Kk=[],Xk=[null,null];function qk(t,i){return[i.payload,t[1]+1]}function nw(t,i,n){ew(function(){return t.apply(void 0,i)},n)}function e$(t,i,n,s,l,_,g){t.current=s,i.current=l,n.current=!1,_.current&&(_.current=null,g())}function t$(t,i,n,s,l,_,g,M,x,Y){if(t){var K=!1,le=null,fe=function(){if(!K){var we,He,Ge=i.getState();try{we=s(Ge,l.current)}catch(Pe){He=Pe,le=Pe}He||(le=null),we===_.current?g.current||x():(_.current=we,M.current=we,g.current=!0,Y({type:"STORE_UPDATED",payload:{error:He}}))}};return n.onStateChange=fe,n.trySubscribe(),fe(),function(){if(K=!0,n.tryUnsubscribe(),n.onStateChange=null,le)throw le}}}var n$=function(){return[null,0]};function r$(t,i){void 0===i&&(i={});var s=i.getDisplayName,l=void 0===s?function(Jt){return"ConnectAdvanced("+Jt+")"}:s,_=i.methodName,g=void 0===_?"connectAdvanced":_,M=i.renderCountProp,x=void 0===M?void 0:M,Y=i.shouldHandleStateChanges,K=void 0===Y||Y,le=i.storeKey,fe=void 0===le?"store":le,Ge=i.forwardRef,we=void 0!==Ge&&Ge,He=i.context,Pe=void 0===He?Qx:He,W=eS(i,Jk),Pt=Pe;return function(dn){var Un=dn.displayName||dn.name||"Component",ln=l(Un),Xn=r1({},W,{getDisplayName:l,methodName:g,renderCountProp:x,shouldHandleStateChanges:K,storeKey:fe,displayName:ln,wrappedComponentName:Un,WrappedComponent:dn}),jn=W.pure,Ur=jn?kc.useMemo:function(pr){return pr()};function di(pr){var fr=(0,kc.useMemo)(function(){var ui=pr.reactReduxForwardedRef,no=eS(pr,Qk);return[pr.context,ui,no]},[pr]),Mr=fr[0],Jn=fr[1],ci=fr[2],ho=(0,kc.useMemo)(function(){return Mr&&Mr.Consumer&&(0,Wk.isContextConsumer)(kc.createElement(Mr.Consumer,null))?Mr:Pt},[Mr,Pt]),Yi=(0,kc.useContext)(ho),lo=Boolean(pr.store)&&Boolean(pr.store.getState)&&Boolean(pr.store.dispatch),qn=(Boolean(Yi)&&Boolean(Yi.store),lo?pr.store:Yi.store),In=(0,kc.useMemo)(function(){return function Wr(pr){return t(pr.dispatch,Xn)}(qn)},[qn]),Ti=(0,kc.useMemo)(function(){if(!K)return Xk;var ui=qx(qn,lo?null:Yi.subscription),no=ui.notifyNestedSubs.bind(ui);return[ui,no]},[qn,lo,Yi]),Ji=Ti[0],To=Ti[1],fs=(0,kc.useMemo)(function(){return lo?Yi:r1({},Yi,{subscription:Ji})},[lo,Yi,Ji]),Xo=(0,kc.useReducer)(qk,Kk,n$),Aa=Xo[0][0],to=Xo[1];if(Aa&&Aa.error)throw Aa.error;var No=(0,kc.useRef)(),Uo=(0,kc.useRef)(ci),rt=(0,kc.useRef)(),Ft=(0,kc.useRef)(!1),Nt=Ur(function(){return rt.current&&ci===Uo.current?rt.current:In(qn.getState(),ci)},[qn,Aa,ci]);nw(e$,[Uo,No,Ft,ci,Nt,rt,To]),nw(t$,[K,qn,Ji,In,Uo,No,Ft,rt,To,to],[qn,Ji,In]);var mr=(0,kc.useMemo)(function(){return kc.createElement(dn,r1({},Nt,{ref:Jn}))},[Jn,dn,Nt]);return(0,kc.useMemo)(function(){return K?kc.createElement(ho.Provider,{value:fs},mr):mr},[ho,mr,fs])}var Mi=jn?kc.memo(di):di;if(Mi.WrappedComponent=dn,Mi.displayName=di.displayName=ln,we){var Gn=kc.forwardRef(function(fr,Mr){return kc.createElement(Mi,r1({},fr,{reactReduxForwardedRef:Mr}))});return Gn.displayName=ln,Gn.WrappedComponent=dn,tw()(Gn,dn)}return tw()(Mi,dn)}}function rw(t,i){return t===i?0!==t||0!==i||1/t==1/i:t!=t&&i!=i}function tD(t,i){if(rw(t,i))return!0;if("object"!=typeof t||null===t||"object"!=typeof i||null===i)return!1;var n=Object.keys(t),s=Object.keys(i);if(n.length!==s.length)return!1;for(var l=0;l<n.length;l++)if(!Object.prototype.hasOwnProperty.call(i,n[l])||!rw(t[n[l]],i[n[l]]))return!1;return!0}function nD(t){return function(n,s){var l=t(n,s);function _(){return l}return _.dependsOnOwnProps=!1,_}}function iw(t){return null!=t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function ow(t,i){return function(s,l){var g=function(x,Y){return g.dependsOnOwnProps?g.mapToProps(x,Y):g.mapToProps(x)};return g.dependsOnOwnProps=!0,g.mapToProps=function(x,Y){g.mapToProps=t,g.dependsOnOwnProps=iw(t);var K=g(x,Y);return"function"==typeof K&&(g.mapToProps=K,g.dependsOnOwnProps=iw(K),K=g(x,Y)),K},g}}const l$=[function o$(t){return"function"==typeof t?ow(t):void 0},function s$(t){return t?void 0:nD(function(i){return{dispatch:i}})},function a$(t){return t&&"object"==typeof t?nD(function(i){return function i$(t,i){var n={},s=function(g){var M=t[g];"function"==typeof M&&(n[g]=function(){return i(M.apply(void 0,arguments))})};for(var l in t)s(l);return n}(t,i)}):void 0}],d$=[function c$(t){return"function"==typeof t?ow(t):void 0},function u$(t){return t?void 0:nD(function(){return{}})}];function f$(t,i,n){return r1({},n,t,i)}const m$=[function _$(t){return"function"==typeof t?function p$(t){return function(n,s){var x,_=s.pure,g=s.areMergedPropsEqual,M=!1;return function(K,le,fe){var ge=t(K,le,fe);return M?(!_||!g(ge,x))&&(x=ge):(M=!0,x=ge),x}}}(t):void 0},function h$(t){return t?void 0:function(){return f$}}];var g$=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function v$(t,i,n,s){return function(_,g){return n(t(_,g),i(s,g),g)}}function y$(t,i,n,s,l){var Y,K,le,fe,ge,_=l.areStatesEqual,g=l.areOwnPropsEqual,M=l.areStatePropsEqual,x=!1;return function(It,Pt){return x?function Pe(W,It){var Pt=!g(It,K),Jt=!_(W,Y,It,K);return Y=W,K=It,Pt&&Jt?function Ge(){return le=t(Y,K),i.dependsOnOwnProps&&(fe=i(s,K)),ge=n(le,fe,K)}():Pt?function we(){return t.dependsOnOwnProps&&(le=t(Y,K)),i.dependsOnOwnProps&&(fe=i(s,K)),ge=n(le,fe,K)}():Jt?function He(){var W=t(Y,K),It=!M(W,le);return le=W,It&&(ge=n(le,fe,K)),ge}():ge}(It,Pt):function Se(W,It){return le=t(Y=W,K=It),fe=i(s,K),ge=n(le,fe,K),x=!0,ge}(It,Pt)}}function E$(t,i){var n=i.initMapStateToProps,s=i.initMapDispatchToProps,l=i.initMergeProps,_=eS(i,g$),g=n(t,_),M=s(t,_),x=l(t,_);return(_.pure?y$:v$)(g,M,x,t,_)}var S$=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function rD(t,i,n){for(var s=i.length-1;s>=0;s--){var l=i[s](t);if(l)return l}return function(_,g){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+g.wrappedComponentName+".")}}function C$(t,i){return t===i}function T$(t){var i=void 0===t?{}:t,n=i.connectHOC,s=void 0===n?r$:n,l=i.mapStateToPropsFactories,_=void 0===l?d$:l,g=i.mapDispatchToPropsFactories,M=void 0===g?l$:g,x=i.mergePropsFactories,Y=void 0===x?m$:x,K=i.selectorFactory,le=void 0===K?E$:K;return function(ge,Se,Ge,we){void 0===we&&(we={});var Pe=we.pure,W=void 0===Pe||Pe,It=we.areStatesEqual,Pt=void 0===It?C$:It,Jt=we.areOwnPropsEqual,dn=void 0===Jt?tD:Jt,Un=we.areStatePropsEqual,ln=void 0===Un?tD:Un,Xn=we.areMergedPropsEqual,jn=void 0===Xn?tD:Xn,Wr=eS(we,S$),Ur=rD(ge,_,"mapStateToProps"),di=rD(Se,M,"mapDispatchToProps"),Mi=rD(Ge,Y,"mergeProps");return s(le,r1({methodName:"connect",getDisplayName:function(pr){return"Connect("+pr+")"},shouldHandleStateChanges:Boolean(ge),initMapStateToProps:Ur,initMapDispatchToProps:di,initMergeProps:Mi,pure:W,areStatesEqual:Pt,areOwnPropsEqual:dn,areStatePropsEqual:ln,areMergedPropsEqual:jn},Wr))}}const b$=T$();Kx=Jx.unstable_batchedUpdates;var A$=o(12482),D$=o.n(A$),R$=o(80290),P$=o.n(R$);function iD(t,i){(null==i||i>t.length)&&(i=t.length);for(var n=0,s=new Array(i);n<i;n++)s[n]=t[n];return s}function L$(t){return function w$(t){if(Array.isArray(t))return iD(t)}(t)||function N$(t){if(typeof Symbol<"u"&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function I$(t,i){if(t){if("string"==typeof t)return iD(t,i);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iD(t,i)}}(t)||function F$(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tS(t){return(tS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(t)}function oD(t,i,n){return(i=function $$(t){var i=function k$(t,i){if("object"!==tS(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var s=n.call(t,i||"default");if("object"!==tS(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)}(t,"string");return"symbol"===tS(i)?i:String(i)}(i))in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function sw(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);i&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,s)}return n}function Ey(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?sw(Object(n),!0).forEach(function(s){oD(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sw(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var sD={};function B$(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,l=function U$(t){if(0===t.length||1===t.length)return t;var i=t.join(".");return sD[i]||(sD[i]=function H$(t){var i=t.length;return 0===i||1===i?t:2===i?[t[0],t[1],"".concat(t[0],".").concat(t[1]),"".concat(t[1],".").concat(t[0])]:3===i?[t[0],t[1],t[2],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0])]:i>=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0}(t)),sD[i]}(t.filter(function(_){return"token"!==_}));return l.reduce(function(_,g){return Ey(Ey({},_),n[g])},i)}function aw(t){return t.join(" ")}function lw(t){var i=t.node,n=t.stylesheet,s=t.style,l=void 0===s?{}:s,_=t.useInlineStyles,g=t.key,M=i.properties,Y=i.tagName;if("text"===i.type)return i.value;if(Y){var fe,le=function G$(t,i){var n=0;return function(s){return n+=1,s.map(function(l,_){return lw({node:l,stylesheet:t,useInlineStyles:i,key:"code-segment-".concat(n,"-").concat(_)})})}}(n,_);if(_){var ge=Object.keys(n).reduce(function(He,Pe){return Pe.split(".").forEach(function(W){He.includes(W)||He.push(W)}),He},[]),Se=M.className&&M.className.includes("token")?["token"]:[],Ge=M.className&&Se.concat(M.className.filter(function(He){return!ge.includes(He)}));fe=Ey(Ey({},M),{},{className:aw(Ge)||void 0,style:B$(M.className,Object.assign({},M.style,l),n)})}else fe=Ey(Ey({},M),{},{className:aw(M.className)});var we=le(i.children);return kc.createElement(Y,r1({key:g},fe),we)}}var j$=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function cw(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);i&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,s)}return n}function Sg(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?cw(Object(n),!0).forEach(function(s){oD(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cw(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}var Z$=/\n/g;function W$(t){var i=t.codeString,s=t.containerStyle,_=t.numberStyle,g=void 0===_?{}:_,M=t.startingLineNumber;return kc.createElement("code",{style:Object.assign({},t.codeStyle,void 0===s?{float:"left",paddingRight:"10px"}:s)},function V$(t){var n=t.startingLineNumber,s=t.style;return t.lines.map(function(l,_){var g=_+n;return kc.createElement("span",{key:"line-".concat(_),className:"react-syntax-highlighter-line-number",style:"function"==typeof s?s(g):s},"".concat(g,"\n"))})}({lines:i.replace(/\n$/,"").split("\n"),style:g,startingLineNumber:M}))}function J$(t){return"".concat(t.toString().length,".25em")}function uw(t,i){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(t),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:i},children:[{type:"text",value:t}]}}function dw(t,i,n){var s={display:"inline-block",minWidth:J$(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},l="function"==typeof t?t(i):t;return Sg(Sg({},s),l)}function Mb(t){var i=t.children,n=t.lineNumber,s=t.lineNumberStyle,l=t.largestLineNumber,_=t.showInlineLineNumbers,g=t.lineProps,M=void 0===g?{}:g,x=t.className,Y=void 0===x?[]:x,K=t.showLineNumbers,le=t.wrapLongLines,fe="function"==typeof M?M(n):M;if(fe.className=Y,n&&_){var ge=dw(s,n,l);i.unshift(uw(n,ge))}return le&K&&(fe.style=Sg(Sg({},fe.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:fe,children:i}}function fw(t){for(var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],s=0;s<t.length;s++){var l=t[s];if("text"===l.type)n.push(Mb({children:[l],className:L$(new Set(i))}));else if(l.children){var _=i.concat(l.properties.className);fw(l.children,_).forEach(function(g){return n.push(g)})}}return n}function Q$(t,i,n,s,l,_,g,M,x){var Y,K=fw(t.value),le=[],fe=-1,ge=0;function we(Pt,Jt){var dn=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return i||dn.length>0?function Se(Pt,Jt){return Mb({children:Pt,lineNumber:Jt,lineNumberStyle:M,largestLineNumber:g,showInlineLineNumbers:l,lineProps:n,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:s,wrapLongLines:x})}(Pt,Jt,dn):function Ge(Pt,Jt){if(s&&Jt&&l){var dn=dw(M,Jt,g);Pt.unshift(uw(Jt,dn))}return Pt}(Pt,Jt)}for(var He=function(){var Jt=K[ge],dn=Jt.children[0].value,Un=function z$(t){return t.match(Z$)}(dn);if(Un){var ln=dn.split("\n");ln.forEach(function(Xn,jn){var Wr=s&&le.length+_,Ur={type:"text",value:"".concat(Xn,"\n")};if(0===jn){var Mi=we(K.slice(fe+1,ge).concat(Mb({children:[Ur],className:Jt.properties.className})),Wr);le.push(Mi)}else if(jn===ln.length-1){var Gn=K[ge+1]&&K[ge+1].children&&K[ge+1].children[0],pr={type:"text",value:"".concat(Xn)};if(Gn){var fr=Mb({children:[pr],className:Jt.properties.className});K.splice(ge+1,0,fr)}else{var Jn=we([pr],Wr,Jt.properties.className);le.push(Jn)}}else{var ho=we([Ur],Wr,Jt.properties.className);le.push(ho)}}),fe=ge}ge++};ge<K.length;)He();if(fe!==K.length-1){var Pe=K.slice(fe+1,K.length);if(Pe&&Pe.length){var It=we(Pe,s&&le.length+_);le.push(It)}}return i?le:(Y=[]).concat.apply(Y,le)}function K$(t){var n=t.stylesheet,s=t.useInlineStyles;return t.rows.map(function(l,_){return lw({node:l,stylesheet:n,useInlineStyles:s,key:"code-segement".concat(_)})})}function pw(t){return t&&typeof t.highlightAuto<"u"}var _w=o(74538),hw=function q$(t,i){return function(s){var l=s.language,_=s.children,g=s.style,M=void 0===g?i:g,x=s.customStyle,Y=void 0===x?{}:x,K=s.codeTagProps,le=void 0===K?{className:l?"language-".concat(l):void 0,style:Sg(Sg({},M['code[class*="language-"]']),M['code[class*="language-'.concat(l,'"]')])}:K,fe=s.useInlineStyles,ge=void 0===fe||fe,Se=s.showLineNumbers,Ge=void 0!==Se&&Se,we=s.showInlineLineNumbers,He=void 0===we||we,Pe=s.startingLineNumber,W=void 0===Pe?1:Pe,It=s.lineNumberContainerStyle,Pt=s.lineNumberStyle,Jt=void 0===Pt?{}:Pt,dn=s.wrapLines,Un=s.wrapLongLines,ln=void 0!==Un&&Un,Xn=s.lineProps,jn=void 0===Xn?{}:Xn,Wr=s.renderer,Ur=s.PreTag,di=void 0===Ur?"pre":Ur,Mi=s.CodeTag,Gn=void 0===Mi?"code":Mi,pr=s.code,fr=void 0===pr?(Array.isArray(_)?_[0]:_)||"":pr,Mr=s.astGenerator,Jn=function x$(t,i){if(null==t)return{};var s,l,n=eS(t,i);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(t);for(l=0;l<_.length;l++)!(i.indexOf(s=_[l])>=0)&&Object.prototype.propertyIsEnumerable.call(t,s)&&(n[s]=t[s])}return n}(s,j$);Mr=Mr||t;var ci=Ge?kc.createElement(W$,{containerStyle:It,codeStyle:le.style||{},numberStyle:Jt,startingLineNumber:W,codeString:fr}):null,ho=M.hljs||M['pre[class*="language-"]']||{backgroundColor:"#fff"},Yi=pw(Mr)?"hljs":"prismjs",lo=Object.assign({},Jn,ge?{style:Object.assign({},ho,Y)}:{className:Jn.className?"".concat(Yi," ").concat(Jn.className):Yi,style:Object.assign({},Y)});if(le.style=Sg(Sg({},le.style),{},ln?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!Mr)return kc.createElement(di,lo,ci,kc.createElement(Gn,le,fr));(void 0===dn&&Wr||ln)&&(dn=!0),Wr=Wr||K$;var yi=[{type:"text",value:fr}],qn=function X$(t){var i=t.astGenerator,n=t.language,s=t.code,l=t.defaultCodeValue;if(pw(i)){var _=function(t,i){return-1!==t.listLanguages().indexOf(i)}(i,n);return"text"===n?{value:l,language:"text"}:_?i.highlight(n,s):i.highlightAuto(s)}try{return n&&"text"!==n?{value:i.highlight(s,n)}:{value:l}}catch{return{value:l}}}({astGenerator:Mr,language:l,code:fr,defaultCodeValue:yi});null===qn.language&&(qn.value=yi);var Ti=Q$(qn,dn,jn,Ge,He,W,qn.value.length+W,Jt,ln);return kc.createElement(di,lo,kc.createElement(Gn,le,!He&&ci,Wr({rows:Ti,stylesheet:M,useInlineStyles:ge})))}}(_w,{});hw.registerLanguage=_w.registerLanguage;const eH=hw;var tH=o(36147);const rH=o.n(tH)();var iH=o(92229);const sH=o.n(iH)();var aH=o(13546);const cH=o.n(aH)();var uH=o(4357);const fH=o.n(uH)();var pH=o(44776);const hH=o.n(pH)();var mH=o(28390);const vH=o.n(mH)();var yH=o(78932);const SH=o.n(yH)(),CH={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#333",color:"white"},"hljs-name":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-code":{fontStyle:"italic",color:"#888"},"hljs-emphasis":{fontStyle:"italic"},"hljs-tag":{color:"#62c8f3"},"hljs-variable":{color:"#ade5fc"},"hljs-template-variable":{color:"#ade5fc"},"hljs-selector-id":{color:"#ade5fc"},"hljs-selector-class":{color:"#ade5fc"},"hljs-string":{color:"#a2fca2"},"hljs-bullet":{color:"#d36363"},"hljs-type":{color:"#ffa"},"hljs-title":{color:"#ffa"},"hljs-section":{color:"#ffa"},"hljs-attribute":{color:"#ffa"},"hljs-quote":{color:"#ffa"},"hljs-built_in":{color:"#ffa"},"hljs-builtin-name":{color:"#ffa"},"hljs-number":{color:"#d36363"},"hljs-symbol":{color:"#d36363"},"hljs-keyword":{color:"#fcc28c"},"hljs-selector-tag":{color:"#fcc28c"},"hljs-literal":{color:"#fcc28c"},"hljs-comment":{color:"#888"},"hljs-deletion":{color:"#333",backgroundColor:"#fc9b9b"},"hljs-regexp":{color:"#c6b4f0"},"hljs-link":{color:"#c6b4f0"},"hljs-meta":{color:"#fc9b9b"},"hljs-addition":{backgroundColor:"#a2fca2",color:"#333"}},TH={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222",color:"#aaa"},"hljs-subst":{color:"#aaa"},"hljs-section":{color:"#fff",fontWeight:"bold"},"hljs-comment":{color:"#444"},"hljs-quote":{color:"#444"},"hljs-meta":{color:"#444"},"hljs-string":{color:"#ffcc33"},"hljs-symbol":{color:"#ffcc33"},"hljs-bullet":{color:"#ffcc33"},"hljs-regexp":{color:"#ffcc33"},"hljs-number":{color:"#00cc66"},"hljs-addition":{color:"#00cc66"},"hljs-built_in":{color:"#32aaee"},"hljs-builtin-name":{color:"#32aaee"},"hljs-literal":{color:"#32aaee"},"hljs-type":{color:"#32aaee"},"hljs-template-variable":{color:"#32aaee"},"hljs-attribute":{color:"#32aaee"},"hljs-link":{color:"#32aaee"},"hljs-keyword":{color:"#6644aa"},"hljs-selector-tag":{color:"#6644aa"},"hljs-name":{color:"#6644aa"},"hljs-selector-id":{color:"#6644aa"},"hljs-selector-class":{color:"#6644aa"},"hljs-title":{color:"#bb1166"},"hljs-variable":{color:"#bb1166"},"hljs-deletion":{color:"#bb1166"},"hljs-template-tag":{color:"#bb1166"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},bH={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#272822",color:"#ddd"},"hljs-tag":{color:"#f92672"},"hljs-keyword":{color:"#f92672",fontWeight:"bold"},"hljs-selector-tag":{color:"#f92672",fontWeight:"bold"},"hljs-literal":{color:"#f92672",fontWeight:"bold"},"hljs-strong":{color:"#f92672"},"hljs-name":{color:"#f92672"},"hljs-code":{color:"#66d9ef"},"hljs-class .hljs-title":{color:"white"},"hljs-attribute":{color:"#bf79db"},"hljs-symbol":{color:"#bf79db"},"hljs-regexp":{color:"#bf79db"},"hljs-link":{color:"#bf79db"},"hljs-string":{color:"#a6e22e"},"hljs-bullet":{color:"#a6e22e"},"hljs-subst":{color:"#a6e22e"},"hljs-title":{color:"#a6e22e",fontWeight:"bold"},"hljs-section":{color:"#a6e22e",fontWeight:"bold"},"hljs-emphasis":{color:"#a6e22e"},"hljs-type":{color:"#a6e22e",fontWeight:"bold"},"hljs-built_in":{color:"#a6e22e"},"hljs-builtin-name":{color:"#a6e22e"},"hljs-selector-attr":{color:"#a6e22e"},"hljs-selector-pseudo":{color:"#a6e22e"},"hljs-addition":{color:"#a6e22e"},"hljs-variable":{color:"#a6e22e"},"hljs-template-tag":{color:"#a6e22e"},"hljs-template-variable":{color:"#a6e22e"},"hljs-comment":{color:"#75715e"},"hljs-quote":{color:"#75715e"},"hljs-deletion":{color:"#75715e"},"hljs-meta":{color:"#75715e"},"hljs-doctag":{fontWeight:"bold"},"hljs-selector-id":{fontWeight:"bold"}},MH={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2E3440",color:"#D8DEE9"},"hljs-subst":{color:"#D8DEE9"},"hljs-selector-tag":{color:"#81A1C1"},"hljs-selector-id":{color:"#8FBCBB",fontWeight:"bold"},"hljs-selector-class":{color:"#8FBCBB"},"hljs-selector-attr":{color:"#8FBCBB"},"hljs-selector-pseudo":{color:"#88C0D0"},"hljs-addition":{backgroundColor:"rgba(163, 190, 140, 0.5)"},"hljs-deletion":{backgroundColor:"rgba(191, 97, 106, 0.5)"},"hljs-built_in":{color:"#8FBCBB"},"hljs-type":{color:"#8FBCBB"},"hljs-class":{color:"#8FBCBB"},"hljs-function":{color:"#88C0D0"},"hljs-function > .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}},OH={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}},AH={"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var DH=o(43155),RH=o(35037),PH=o.n(RH),xH=o(93890),wH=o.n(xH),NH=o(98990),IH=o.n(NH),FH=o(52190),LH=o.n(FH),kH=o(71166),$H=o.n(kH),HH=o(52243),UH=o.n(HH),mw=o(4346),nS=o(74690),aD=o(47595),lD=o(1541),gw=o(86431);function a0(t){var i;return(a0=lD?nS(i=gw).call(i):function(s){return s.__proto__||gw(s)})(t)}function Ob(){var t;return Ob=typeof Reflect<"u"&&mw?nS(t=mw).call(t):function(n,s,l){var _=function BH(t,i){for(;!Object.prototype.hasOwnProperty.call(t,i)&&null!==(t=a0(t)););return t}(n,s);if(_){var g=aD(_,s);return g.get?g.get.call(arguments.length<3?n:l):g.value}},Ob.apply(this,arguments)}var vw=o(21913),yw=o(53281);function rS(t,i){var n;return(rS=lD?nS(n=lD).call(n):function(l,_){return l.__proto__=_,l})(t,i)}var cD=o(42297),uD=o(68836),dD=o(48571);function fD(){try{var t=!Boolean.prototype.valueOf.call(uD(Boolean,[],function(){}))}catch{}return(fD=function(){return!!t})()}function pD(t){var i="function"==typeof vw?new vw:void 0;return pD=function(s){if(null===s||!function GH(t){try{var i;return-1!==cD(i=Function.toString.call(t)).call(i,"[native code]")}catch{return"function"==typeof t}}(s))return s;if("function"!=typeof s)throw new TypeError("Super expression must either be null or a function");if(typeof i<"u"){if(i.has(s))return i.get(s);i.set(s,l)}function l(){return function YH(t,i,n){if(fD())return uD.apply(null,arguments);var s=[null];dD(s).apply(s,i);var l=new(nS(t).apply(t,s));return n&&rS(l,n.prototype),l}(s,arguments,a0(this).constructor)}return l.prototype=yw(s.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),rS(l,s)},pD(t)}var jH=o(45163),ZH=o.n(jH),zH=o(30071),VH=o.n(zH),WH=o(58711),JH=o.n(WH),QH=o(15886),KH=o.n(QH),XH=o(34377),qH=o.n(XH),eU=o(28086),tU=o.n(eU),nU=o(56166),rU=o.n(nU),iU=o(44920),oU=o.n(iU),sU=o(45819),aU=o.n(sU),lU=o(84901),cU=o.n(lU),uU=o(35524),dU=o.n(uU),fU=o(71851),pU=o.n(fU),_U=o(91465),hU=o.n(_U),mU=o(37940),gU=o.n(mU),vU=o(35431),yU=o.n(vU),EU=o(46558),SU=o.n(EU),CU=o(53625),TU=o.n(CU),bU=o(31978),MU=o.n(bU),OU=o(84220),AU=o.n(OU),DU=o(40984),RU=o.n(DU),PU=o(44859),xU=o.n(PU),wU=o(54082),NU=o.n(wU),IU=o(30508),FU=o.n(IU),LU=o(46245),kU=o.n(LU),$U=o(35517),HU=o.n($U),UU=o(87513),BU=o.n(UU),GU=o(69253),YU=o.n(GU);function Ew(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jU(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}var iS=o(88043),ZU=o(42163);function l0(t){return(l0="function"==typeof n0&&"symbol"==typeof ZU?function(i){return typeof i}:function(i){return i&&"function"==typeof n0&&i.constructor===n0&&i!==n0.prototype?"symbol":typeof i})(t)}var zU=o(65603);function Sw(t){var i=function VU(t,i){if("object"!=l0(t)||!t)return t;var n=t[zU];if(void 0!==n){var s=n.call(t,i||"default");if("object"!=l0(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)}(t,"string");return"symbol"==l0(i)?i:String(i)}function Cw(t,i){for(var n=0;n<i.length;n++){var s=i[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),iS(t,Sw(s.key),s)}}function WU(t,i,n){return i&&Cw(t.prototype,i),n&&Cw(t,n),iS(t,"prototype",{writable:!1}),t}function JU(t,i){var n=typeof n0<"u"&&nA(t)||t["@@iterator"];if(!n){if(tA(t)||(n=ob(t))||i&&t&&"number"==typeof t.length){n&&(t=n);var s=0,l=function(){};return{s:l,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(Y){throw Y},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var M,_=!0,g=!1;return{s:function(){n=n.call(t)},n:function(){var Y=n.next();return _=Y.done,Y},e:function(Y){g=!0,M=Y},f:function(){try{!_&&null!=n.return&&n.return()}finally{if(g)throw M}}}}function KU(t){var i=fD();return function(){var l,s=a0(t);if(i){var _=a0(this).constructor;l=uD(s,arguments,_)}else l=s.apply(this,arguments);return function QU(t,i){if(i&&("object"===l0(i)||"function"==typeof i))return i;if(void 0!==i)throw new TypeError("Derived constructors may only return object or undefined");return Ew(t)}(this,l)}}function Tw(t,i,n){return(i=Sw(i))in t?iS(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}var bw=o(61068);function _D(){var t;return _D=bw?nS(t=bw).call(t):function(i){for(var n=1;n<arguments.length;n++){var s=arguments[n];for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&(i[l]=s[l])}return i},_D.apply(this,arguments)}function XU(t,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function");t.prototype=yw(i&&i.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),iS(t,"prototype",{writable:!1}),i&&rS(t,i)}var Mw=o(45421),Ab=o(17910),qU=o(62815),Ow=o(77998),Aw=o(28643),eB=o(34178);function Dw(t,i){var n=Mw(t);if(Ab){var s=Ab(t);i&&(s=qU(s).call(s,function(l){return aD(t,l).enumerable})),dD(n).apply(n,s)}return n}function tB(t){for(var i=1;i<arguments.length;i++){var n,s,l=null!=arguments[i]?arguments[i]:{};i%2?Ow(n=Dw(Object(l),!0)).call(n,function(_){Tw(t,_,l[_])}):Aw?eB(t,Aw(l)):Ow(s=Dw(Object(l))).call(s,function(_){iS(t,_,aD(l,_))})}return t}function rB(t,i){if(null==t)return{};var s,l,n=function nB(t,i){if(null==t)return{};var l,_,n={},s=Mw(t);for(_=0;_<s.length;_++)l=s[_],!(cD(i).call(i,l)>=0)&&(n[l]=t[l]);return n}(t,i);if(Ab){var _=Ab(t);for(l=0;l<_.length;l++)s=_[l],!(cD(i).call(i,s)>=0)&&Object.prototype.propertyIsEnumerable.call(t,s)&&(n[s]=t[s])}return n}function oB(t,i){return MP(t)||function iB(t,i){var n=null==t?null:typeof n0<"u"&&nA(t)||t["@@iterator"];if(null!=n){var s,l,_,g,M=[],x=!0,Y=!1;try{if(_=(n=n.call(t)).next,0===i){if(Object(n)!==n)return;x=!1}else for(;!(x=(s=_.call(n)).done)&&(dD(M).call(M,s.value),M.length!==i);x=!0);}catch(K){Y=!0,l=K}finally{try{if(!x&&null!=n.return&&(g=n.return(),Object(g)!==g))return}finally{if(Y)throw l}}return M}}(t,i)||ob(t,i)||DP()}function lB(t){return function sB(t){if(tA(t))return rA(t)}(t)||AP(t)||ob(t)||function aB(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var cB=o(96434),uB=o.t(cB,2),dB=o(68647),fB=o.n(dB),pB=o(12658),_B=o.t(pB,2),c0=o(52129),hB=o.n(c0);function Rw(t){return typeof t>"u"||null===t}var Ap={isNothing:Rw,isObject:function mB(t){return"object"==typeof t&&null!==t},toArray:function gB(t){return Array.isArray(t)?t:Rw(t)?[]:[t]},repeat:function yB(t,i){var s,n="";for(s=0;s<i;s+=1)n+=t;return n},isNegativeZero:function EB(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t},extend:function vB(t,i){var n,s,l,_;if(i)for(n=0,s=(_=Object.keys(i)).length;n<s;n+=1)t[l=_[n]]=i[l];return t}};function Pw(t,i){var n="",s=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!i&&t.mark.snippet&&(n+="\n\n"+t.mark.snippet),s+" "+n):s}function oS(t,i){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=i,this.message=Pw(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}(oS.prototype=Object.create(Error.prototype)).constructor=oS,oS.prototype.toString=function(i){return this.name+": "+Pw(this,i)};var oh=oS;function hD(t,i,n,s,l){var _="",g="",M=Math.floor(l/2)-1;return s-i>M&&(i=s-M+(_=" ... ").length),n-s>M&&(n=s+M-(g=" ...").length),{str:_+t.slice(i,n).replace(/\t/g,"\u2192")+g,pos:s-i+_.length}}function mD(t,i){return Ap.repeat(" ",i-t.length)+t}var DB=function AB(t,i){if(i=Object.create(i||null),!t.buffer)return null;i.maxLength||(i.maxLength=79),"number"!=typeof i.indent&&(i.indent=1),"number"!=typeof i.linesBefore&&(i.linesBefore=3),"number"!=typeof i.linesAfter&&(i.linesAfter=2);for(var _,n=/\r?\n|\r|\0/g,s=[0],l=[],g=-1;_=n.exec(t.buffer);)l.push(_.index),s.push(_.index+_[0].length),t.position<=_.index&&g<0&&(g=s.length-2);g<0&&(g=s.length-1);var x,Y,M="",K=Math.min(t.line+i.linesAfter,l.length).toString().length,le=i.maxLength-(i.indent+K+3);for(x=1;x<=i.linesBefore&&!(g-x<0);x++)Y=hD(t.buffer,s[g-x],l[g-x],t.position-(s[g]-s[g-x]),le),M=Ap.repeat(" ",i.indent)+mD((t.line-x+1).toString(),K)+" | "+Y.str+"\n"+M;for(Y=hD(t.buffer,s[g],l[g],t.position,le),M+=Ap.repeat(" ",i.indent)+mD((t.line+1).toString(),K)+" | "+Y.str+"\n",M+=Ap.repeat("-",i.indent+K+3+Y.pos)+"^\n",x=1;x<=i.linesAfter&&!(g+x>=l.length);x++)Y=hD(t.buffer,s[g+x],l[g+x],t.position-(s[g]-s[g+x]),le),M+=Ap.repeat(" ",i.indent)+mD((t.line+x+1).toString(),K)+" | "+Y.str+"\n";return M.replace(/\n$/,"")},RB=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],PB=["scalar","sequence","mapping"],l_=function wB(t,i){if(i=i||{},Object.keys(i).forEach(function(n){if(-1===RB.indexOf(n))throw new oh('Unknown option "'+n+'" is met in definition of "'+t+'" YAML type.')}),this.options=i,this.tag=t,this.kind=i.kind||null,this.resolve=i.resolve||function(){return!0},this.construct=i.construct||function(n){return n},this.instanceOf=i.instanceOf||null,this.predicate=i.predicate||null,this.represent=i.represent||null,this.representName=i.representName||null,this.defaultStyle=i.defaultStyle||null,this.multi=i.multi||!1,this.styleAliases=function xB(t){var i={};return null!==t&&Object.keys(t).forEach(function(n){t[n].forEach(function(s){i[String(s)]=n})}),i}(i.styleAliases||null),-1===PB.indexOf(this.kind))throw new oh('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function xw(t,i){var n=[];return t[i].forEach(function(s){var l=n.length;n.forEach(function(_,g){_.tag===s.tag&&_.kind===s.kind&&_.multi===s.multi&&(l=g)}),n[l]=s}),n}function gD(t){return this.extend(t)}gD.prototype.extend=function(i){var n=[],s=[];if(i instanceof l_)s.push(i);else if(Array.isArray(i))s=s.concat(i);else{if(!i||!Array.isArray(i.implicit)&&!Array.isArray(i.explicit))throw new oh("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");i.implicit&&(n=n.concat(i.implicit)),i.explicit&&(s=s.concat(i.explicit))}n.forEach(function(_){if(!(_ instanceof l_))throw new oh("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(_.loadKind&&"scalar"!==_.loadKind)throw new oh("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(_.multi)throw new oh("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),s.forEach(function(_){if(!(_ instanceof l_))throw new oh("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var l=Object.create(gD.prototype);return l.implicit=(this.implicit||[]).concat(n),l.explicit=(this.explicit||[]).concat(s),l.compiledImplicit=xw(l,"implicit"),l.compiledExplicit=xw(l,"explicit"),l.compiledTypeMap=function NB(){var i,n,t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function s(l){l.multi?(t.multi[l.kind].push(l),t.multi.fallback.push(l)):t[l.kind][l.tag]=t.fallback[l.tag]=l}for(i=0,n=arguments.length;i<n;i+=1)arguments[i].forEach(s);return t}(l.compiledImplicit,l.compiledExplicit),l};var ww=gD,Nw=new l_("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}}),Iw=new l_("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}}),Fw=new l_("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}}),Lw=new ww({explicit:[Nw,Iw,Fw]}),kw=new l_("tag:yaml.org,2002:null",{kind:"scalar",resolve:function IB(t){if(null===t)return!0;var i=t.length;return 1===i&&"~"===t||4===i&&("null"===t||"Null"===t||"NULL"===t)},construct:function FB(){return null},predicate:function LB(t){return null===t},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),$w=new l_("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function kB(t){if(null===t)return!1;var i=t.length;return 4===i&&("true"===t||"True"===t||"TRUE"===t)||5===i&&("false"===t||"False"===t||"FALSE"===t)},construct:function $B(t){return"true"===t||"True"===t||"TRUE"===t},predicate:function HB(t){return"[object Boolean]"===Object.prototype.toString.call(t)},represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function UB(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function BB(t){return 48<=t&&t<=55}function GB(t){return 48<=t&&t<=57}var Hw=new l_("tag:yaml.org,2002:int",{kind:"scalar",resolve:function YB(t){if(null===t)return!1;var l,i=t.length,n=0,s=!1;if(!i)return!1;if(("-"===(l=t[n])||"+"===l)&&(l=t[++n]),"0"===l){if(n+1===i)return!0;if("b"===(l=t[++n])){for(n++;n<i;n++)if("_"!==(l=t[n])){if("0"!==l&&"1"!==l)return!1;s=!0}return s&&"_"!==l}if("x"===l){for(n++;n<i;n++)if("_"!==(l=t[n])){if(!UB(t.charCodeAt(n)))return!1;s=!0}return s&&"_"!==l}if("o"===l){for(n++;n<i;n++)if("_"!==(l=t[n])){if(!BB(t.charCodeAt(n)))return!1;s=!0}return s&&"_"!==l}}if("_"===l)return!1;for(;n<i;n++)if("_"!==(l=t[n])){if(!GB(t.charCodeAt(n)))return!1;s=!0}return!(!s||"_"===l)},construct:function jB(t){var s,i=t,n=1;if(-1!==i.indexOf("_")&&(i=i.replace(/_/g,"")),("-"===(s=i[0])||"+"===s)&&("-"===s&&(n=-1),s=(i=i.slice(1))[0]),"0"===i)return 0;if("0"===s){if("b"===i[1])return n*parseInt(i.slice(2),2);if("x"===i[1])return n*parseInt(i.slice(2),16);if("o"===i[1])return n*parseInt(i.slice(2),8)}return n*parseInt(i,10)},predicate:function ZB(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!Ap.isNegativeZero(t)},represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),zB=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),JB=/^[-+]?[0-9]+e/,Uw=new l_("tag:yaml.org,2002:float",{kind:"scalar",resolve:function VB(t){return!(null===t||!zB.test(t)||"_"===t[t.length-1])},construct:function WB(t){var i,n;return n="-"===(i=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(i[0])>=0&&(i=i.slice(1)),".inf"===i?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===i?NaN:n*parseFloat(i,10)},predicate:function KB(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||Ap.isNegativeZero(t))},represent:function QB(t,i){var n;if(isNaN(t))switch(i){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(i){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(i){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Ap.isNegativeZero(t))return"-0.0";return n=t.toString(10),JB.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),Bw=Lw.extend({implicit:[kw,$w,Hw,Uw]}),Gw=Bw,Yw=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),jw=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),Zw=new l_("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function XB(t){return null!==t&&(null!==Yw.exec(t)||null!==jw.exec(t))},construct:function qB(t){var i,n,s,l,_,g,M,fe,x=0,Y=null;if(null===(i=Yw.exec(t))&&(i=jw.exec(t)),null===i)throw new Error("Date resolve error");if(n=+i[1],s=+i[2]-1,l=+i[3],!i[4])return new Date(Date.UTC(n,s,l));if(_=+i[4],g=+i[5],M=+i[6],i[7]){for(x=i[7].slice(0,3);x.length<3;)x+="0";x=+x}return i[9]&&(Y=6e4*(60*+i[10]+ +(i[11]||0)),"-"===i[9]&&(Y=-Y)),fe=new Date(Date.UTC(n,s,l,_,g,M,x)),Y&&fe.setTime(fe.getTime()-Y),fe},instanceOf:Date,represent:function eG(t){return t.toISOString()}}),zw=new l_("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function tG(t){return"<<"===t||null===t}}),vD="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",Vw=new l_("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function nG(t){if(null===t)return!1;var i,n,s=0,l=t.length,_=vD;for(n=0;n<l;n++)if(!((i=_.indexOf(t.charAt(n)))>64)){if(i<0)return!1;s+=6}return s%8==0},construct:function rG(t){var i,n,s=t.replace(/[\r\n=]/g,""),l=s.length,_=vD,g=0,M=[];for(i=0;i<l;i++)i%4==0&&i&&(M.push(g>>16&255),M.push(g>>8&255),M.push(255&g)),g=g<<6|_.indexOf(s.charAt(i));return 0==(n=l%4*6)?(M.push(g>>16&255),M.push(g>>8&255),M.push(255&g)):18===n?(M.push(g>>10&255),M.push(g>>2&255)):12===n&&M.push(g>>4&255),new Uint8Array(M)},predicate:function oG(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function iG(t){var s,l,i="",n=0,_=t.length,g=vD;for(s=0;s<_;s++)s%3==0&&s&&(i+=g[n>>18&63],i+=g[n>>12&63],i+=g[n>>6&63],i+=g[63&n]),n=(n<<8)+t[s];return 0==(l=_%3)?(i+=g[n>>18&63],i+=g[n>>12&63],i+=g[n>>6&63],i+=g[63&n]):2===l?(i+=g[n>>10&63],i+=g[n>>4&63],i+=g[n<<2&63],i+=g[64]):1===l&&(i+=g[n>>2&63],i+=g[n<<4&63],i+=g[64],i+=g[64]),i}}),sG=Object.prototype.hasOwnProperty,aG=Object.prototype.toString,Ww=new l_("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function lG(t){if(null===t)return!0;var n,s,l,_,g,i=[],M=t;for(n=0,s=M.length;n<s;n+=1){if(g=!1,"[object Object]"!==aG.call(l=M[n]))return!1;for(_ in l)if(sG.call(l,_)){if(g)return!1;g=!0}if(!g)return!1;if(-1!==i.indexOf(_))return!1;i.push(_)}return!0},construct:function cG(t){return null!==t?t:[]}}),uG=Object.prototype.toString,Jw=new l_("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function dG(t){if(null===t)return!0;var i,n,s,l,_,g=t;for(_=new Array(g.length),i=0,n=g.length;i<n;i+=1){if("[object Object]"!==uG.call(s=g[i])||1!==(l=Object.keys(s)).length)return!1;_[i]=[l[0],s[l[0]]]}return!0},construct:function fG(t){if(null===t)return[];var i,n,s,l,_,g=t;for(_=new Array(g.length),i=0,n=g.length;i<n;i+=1)s=g[i],l=Object.keys(s),_[i]=[l[0],s[l[0]]];return _}}),pG=Object.prototype.hasOwnProperty,Qw=new l_("tag:yaml.org,2002:set",{kind:"mapping",resolve:function _G(t){if(null===t)return!0;var i,n=t;for(i in n)if(pG.call(n,i)&&null!==n[i])return!1;return!0},construct:function hG(t){return null!==t?t:{}}}),yD=Gw.extend({implicit:[Zw,zw],explicit:[Vw,Ww,Jw,Qw]}),Q1=Object.prototype.hasOwnProperty,Db=1,Kw=2,Xw=3,Rb=4,ED=1,mG=2,qw=3,gG=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,vG=/[\x85\u2028\u2029]/,yG=/[,\[\]\{\}]/,eN=/^(?:!|!!|![a-z\-]+!)$/i,tN=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function nN(t){return Object.prototype.toString.call(t)}function Cg(t){return 10===t||13===t}function u0(t){return 9===t||32===t}function Fh(t){return 9===t||32===t||10===t||13===t}function Sy(t){return 44===t||91===t||93===t||123===t||125===t}function EG(t){var i;return 48<=t&&t<=57?t-48:97<=(i=32|t)&&i<=102?i-97+10:-1}function SG(t){return 120===t?2:117===t?4:85===t?8:0}function CG(t){return 48<=t&&t<=57?t-48:-1}function rN(t){return 48===t?"\0":97===t?"\x07":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"\x1b":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"\x85":95===t?"\xa0":76===t?"\u2028":80===t?"\u2029":""}function TG(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var iN=new Array(256),oN=new Array(256),Cy=0;Cy<256;Cy++)iN[Cy]=rN(Cy)?1:0,oN[Cy]=rN(Cy);function bG(t,i){this.input=t,this.filename=i.filename||null,this.schema=i.schema||yD,this.onWarning=i.onWarning||null,this.legacy=i.legacy||!1,this.json=i.json||!1,this.listener=i.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function sN(t,i){var n={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return n.snippet=DB(n),new oh(i,n)}function hl(t,i){throw sN(t,i)}function Pb(t,i){t.onWarning&&t.onWarning.call(null,sN(t,i))}var aN={YAML:function(i,n,s){var l,_,g;null!==i.version&&hl(i,"duplication of %YAML directive"),1!==s.length&&hl(i,"YAML directive accepts exactly one argument"),null===(l=/^([0-9]+)\.([0-9]+)$/.exec(s[0]))&&hl(i,"ill-formed argument of the YAML directive"),_=parseInt(l[1],10),g=parseInt(l[2],10),1!==_&&hl(i,"unacceptable YAML version of the document"),i.version=s[0],i.checkLineBreaks=g<2,1!==g&&2!==g&&Pb(i,"unsupported YAML version of the document")},TAG:function(i,n,s){var l,_;2!==s.length&&hl(i,"TAG directive accepts exactly two arguments"),_=s[1],eN.test(l=s[0])||hl(i,"ill-formed tag handle (first argument) of the TAG directive"),Q1.call(i.tagMap,l)&&hl(i,'there is a previously declared suffix for "'+l+'" tag handle'),tN.test(_)||hl(i,"ill-formed tag prefix (second argument) of the TAG directive");try{_=decodeURIComponent(_)}catch{hl(i,"tag prefix is malformed: "+_)}i.tagMap[l]=_}};function K1(t,i,n,s){var l,_,g,M;if(i<n){if(M=t.input.slice(i,n),s)for(l=0,_=M.length;l<_;l+=1)9===(g=M.charCodeAt(l))||32<=g&&g<=1114111||hl(t,"expected valid JSON character");else gG.test(M)&&hl(t,"the stream contains non-printable characters");t.result+=M}}function lN(t,i,n,s){var l,_,g,M;for(Ap.isObject(n)||hl(t,"cannot merge mappings; the provided source object is unacceptable"),g=0,M=(l=Object.keys(n)).length;g<M;g+=1)Q1.call(i,_=l[g])||(i[_]=n[_],s[_]=!0)}function Ty(t,i,n,s,l,_,g,M,x){var Y,K;if(Array.isArray(l))for(Y=0,K=(l=Array.prototype.slice.call(l)).length;Y<K;Y+=1)Array.isArray(l[Y])&&hl(t,"nested arrays are not supported inside keys"),"object"==typeof l&&"[object Object]"===nN(l[Y])&&(l[Y]="[object Object]");if("object"==typeof l&&"[object Object]"===nN(l)&&(l="[object Object]"),l=String(l),null===i&&(i={}),"tag:yaml.org,2002:merge"===s)if(Array.isArray(_))for(Y=0,K=_.length;Y<K;Y+=1)lN(t,i,_[Y],n);else lN(t,i,_,n);else!t.json&&!Q1.call(n,l)&&Q1.call(i,l)&&(t.line=g||t.line,t.lineStart=M||t.lineStart,t.position=x||t.position,hl(t,"duplicated mapping key")),"__proto__"===l?Object.defineProperty(i,l,{configurable:!0,enumerable:!0,writable:!0,value:_}):i[l]=_,delete n[l];return i}function SD(t){var i;10===(i=t.input.charCodeAt(t.position))?t.position++:13===i?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):hl(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function ip(t,i,n){for(var s=0,l=t.input.charCodeAt(t.position);0!==l;){for(;u0(l);)9===l&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),l=t.input.charCodeAt(++t.position);if(i&&35===l)do{l=t.input.charCodeAt(++t.position)}while(10!==l&&13!==l&&0!==l);if(!Cg(l))break;for(SD(t),l=t.input.charCodeAt(t.position),s++,t.lineIndent=0;32===l;)t.lineIndent++,l=t.input.charCodeAt(++t.position)}return-1!==n&&0!==s&&t.lineIndent<n&&Pb(t,"deficient indentation"),s}function xb(t){var n,i=t.position;return!(45!==(n=t.input.charCodeAt(i))&&46!==n||n!==t.input.charCodeAt(i+1)||n!==t.input.charCodeAt(i+2)||(i+=3,n=t.input.charCodeAt(i),0!==n&&!Fh(n)))}function CD(t,i){1===i?t.result+=" ":i>1&&(t.result+=Ap.repeat("\n",i-1))}function cN(t,i){var n,x,s=t.tag,l=t.anchor,_=[],M=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=_),x=t.input.charCodeAt(t.position);0!==x&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,hl(t,"tab characters must not be used in indentation")),45===x&&Fh(t.input.charCodeAt(t.position+1)));)if(M=!0,t.position++,ip(t,!0,-1)&&t.lineIndent<=i)_.push(null),x=t.input.charCodeAt(t.position);else if(n=t.line,by(t,i,Xw,!1,!0),_.push(t.result),ip(t,!0,-1),x=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>i)&&0!==x)hl(t,"bad indentation of a sequence entry");else if(t.lineIndent<i)break;return!!M&&(t.tag=s,t.anchor=l,t.kind="sequence",t.result=_,!0)}function xG(t){var i,l,_,g,n=!1,s=!1;if(33!==(g=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&hl(t,"duplication of a tag property"),60===(g=t.input.charCodeAt(++t.position))?(n=!0,g=t.input.charCodeAt(++t.position)):33===g?(s=!0,l="!!",g=t.input.charCodeAt(++t.position)):l="!",i=t.position,n){do{g=t.input.charCodeAt(++t.position)}while(0!==g&&62!==g);t.position<t.length?(_=t.input.slice(i,t.position),g=t.input.charCodeAt(++t.position)):hl(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==g&&!Fh(g);)33===g&&(s?hl(t,"tag suffix cannot contain exclamation marks"):(l=t.input.slice(i-1,t.position+1),eN.test(l)||hl(t,"named tag handle cannot contain such characters"),s=!0,i=t.position+1)),g=t.input.charCodeAt(++t.position);_=t.input.slice(i,t.position),yG.test(_)&&hl(t,"tag suffix cannot contain flow indicator characters")}_&&!tN.test(_)&&hl(t,"tag name cannot contain such characters: "+_);try{_=decodeURIComponent(_)}catch{hl(t,"tag name is malformed: "+_)}return n?t.tag=_:Q1.call(t.tagMap,l)?t.tag=t.tagMap[l]+_:"!"===l?t.tag="!"+_:"!!"===l?t.tag="tag:yaml.org,2002:"+_:hl(t,'undeclared tag handle "'+l+'"'),!0}function wG(t){var i,n;if(38!==(n=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&hl(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),i=t.position;0!==n&&!Fh(n)&&!Sy(n);)n=t.input.charCodeAt(++t.position);return t.position===i&&hl(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(i,t.position),!0}function by(t,i,n,s,l){var _,g,M,le,fe,ge,Se,Ge,we,x=1,Y=!1,K=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,_=g=M=Rb===n||Xw===n,s&&ip(t,!0,-1)&&(Y=!0,t.lineIndent>i?x=1:t.lineIndent===i?x=0:t.lineIndent<i&&(x=-1)),1===x)for(;xG(t)||wG(t);)ip(t,!0,-1)?(Y=!0,M=_,t.lineIndent>i?x=1:t.lineIndent===i?x=0:t.lineIndent<i&&(x=-1)):M=!1;if(M&&(M=Y||l),(1===x||Rb===n)&&(Ge=Db===n||Kw===n?i:i+1,we=t.position-t.lineStart,1===x?M&&(cN(t,we)||function PG(t,i,n){var s,l,_,g,M,x,Pe,Y=t.tag,K=t.anchor,le={},fe=Object.create(null),ge=null,Se=null,Ge=null,we=!1,He=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=le),Pe=t.input.charCodeAt(t.position);0!==Pe;){if(!we&&-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,hl(t,"tab characters must not be used in indentation")),s=t.input.charCodeAt(t.position+1),_=t.line,63!==Pe&&58!==Pe||!Fh(s)){if(g=t.line,M=t.lineStart,x=t.position,!by(t,n,Kw,!1,!0))break;if(t.line===_){for(Pe=t.input.charCodeAt(t.position);u0(Pe);)Pe=t.input.charCodeAt(++t.position);if(58===Pe)Fh(Pe=t.input.charCodeAt(++t.position))||hl(t,"a whitespace character is expected after the key-value separator within a block mapping"),we&&(Ty(t,le,fe,ge,Se,null,g,M,x),ge=Se=Ge=null),He=!0,we=!1,l=!1,ge=t.tag,Se=t.result;else{if(!He)return t.tag=Y,t.anchor=K,!0;hl(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!He)return t.tag=Y,t.anchor=K,!0;hl(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===Pe?(we&&(Ty(t,le,fe,ge,Se,null,g,M,x),ge=Se=Ge=null),He=!0,we=!0,l=!0):we?(we=!1,l=!0):hl(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,Pe=s;if((t.line===_||t.lineIndent>i)&&(we&&(g=t.line,M=t.lineStart,x=t.position),by(t,i,Rb,!0,l)&&(we?Se=t.result:Ge=t.result),we||(Ty(t,le,fe,ge,Se,Ge,g,M,x),ge=Se=Ge=null),ip(t,!0,-1),Pe=t.input.charCodeAt(t.position)),(t.line===_||t.lineIndent>i)&&0!==Pe)hl(t,"bad indentation of a mapping entry");else if(t.lineIndent<i)break}return we&&Ty(t,le,fe,ge,Se,null,g,M,x),He&&(t.tag=Y,t.anchor=K,t.kind="mapping",t.result=le),He}(t,we,Ge))||function DG(t,i){var s,l,_,M,K,le,fe,ge,Ge,we,He,Pe,n=!0,g=t.tag,x=t.anchor,Se=Object.create(null);if(91===(Pe=t.input.charCodeAt(t.position)))K=93,ge=!1,M=[];else{if(123!==Pe)return!1;K=125,ge=!0,M={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=M),Pe=t.input.charCodeAt(++t.position);0!==Pe;){if(ip(t,!0,i),(Pe=t.input.charCodeAt(t.position))===K)return t.position++,t.tag=g,t.anchor=x,t.kind=ge?"mapping":"sequence",t.result=M,!0;n?44===Pe&&hl(t,"expected the node content, but found ','"):hl(t,"missed comma between flow collection entries"),He=null,le=fe=!1,63===Pe&&Fh(t.input.charCodeAt(t.position+1))&&(le=fe=!0,t.position++,ip(t,!0,i)),s=t.line,l=t.lineStart,_=t.position,by(t,i,Db,!1,!0),we=t.tag,Ge=t.result,ip(t,!0,i),Pe=t.input.charCodeAt(t.position),(fe||t.line===s)&&58===Pe&&(le=!0,Pe=t.input.charCodeAt(++t.position),ip(t,!0,i),by(t,i,Db,!1,!0),He=t.result),ge?Ty(t,M,Se,we,Ge,He,s,l,_):M.push(le?Ty(t,null,Se,we,Ge,He,s,l,_):Ge),ip(t,!0,i),44===(Pe=t.input.charCodeAt(t.position))?(n=!0,Pe=t.input.charCodeAt(++t.position)):n=!1}hl(t,"unexpected end of the stream within a flow collection")}(t,Ge)?K=!0:(g&&function RG(t,i){var n,s,K,le,l=ED,_=!1,g=!1,M=i,x=0,Y=!1;if(124===(le=t.input.charCodeAt(t.position)))s=!1;else{if(62!==le)return!1;s=!0}for(t.kind="scalar",t.result="";0!==le;)if(43===(le=t.input.charCodeAt(++t.position))||45===le)ED===l?l=43===le?qw:mG:hl(t,"repeat of a chomping mode identifier");else{if(!((K=CG(le))>=0))break;0===K?hl(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):g?hl(t,"repeat of an indentation width identifier"):(M=i+K-1,g=!0)}if(u0(le)){do{le=t.input.charCodeAt(++t.position)}while(u0(le));if(35===le)do{le=t.input.charCodeAt(++t.position)}while(!Cg(le)&&0!==le)}for(;0!==le;){for(SD(t),t.lineIndent=0,le=t.input.charCodeAt(t.position);(!g||t.lineIndent<M)&&32===le;)t.lineIndent++,le=t.input.charCodeAt(++t.position);if(!g&&t.lineIndent>M&&(M=t.lineIndent),Cg(le))x++;else{if(t.lineIndent<M){l===qw?t.result+=Ap.repeat("\n",_?1+x:x):l===ED&&_&&(t.result+="\n");break}for(s?u0(le)?(Y=!0,t.result+=Ap.repeat("\n",_?1+x:x)):Y?(Y=!1,t.result+=Ap.repeat("\n",x+1)):0===x?_&&(t.result+=" "):t.result+=Ap.repeat("\n",x):t.result+=Ap.repeat("\n",_?1+x:x),_=!0,g=!0,x=0,n=t.position;!Cg(le)&&0!==le;)le=t.input.charCodeAt(++t.position);K1(t,n,t.position,!1)}}return!0}(t,Ge)||function OG(t,i){var n,s,l;if(39!==(n=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,s=l=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(K1(t,s,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return!0;s=t.position,t.position++,l=t.position}else Cg(n)?(K1(t,s,l,!0),CD(t,ip(t,!1,i)),s=l=t.position):t.position===t.lineStart&&xb(t)?hl(t,"unexpected end of the document within a single quoted scalar"):(t.position++,l=t.position);hl(t,"unexpected end of the stream within a single quoted scalar")}(t,Ge)||function AG(t,i){var n,s,l,_,g,M;if(34!==(M=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=s=t.position;0!==(M=t.input.charCodeAt(t.position));){if(34===M)return K1(t,n,t.position,!0),t.position++,!0;if(92===M){if(K1(t,n,t.position,!0),Cg(M=t.input.charCodeAt(++t.position)))ip(t,!1,i);else if(M<256&&iN[M])t.result+=oN[M],t.position++;else if((g=SG(M))>0){for(l=g,_=0;l>0;l--)(g=EG(M=t.input.charCodeAt(++t.position)))>=0?_=(_<<4)+g:hl(t,"expected hexadecimal character");t.result+=TG(_),t.position++}else hl(t,"unknown escape sequence");n=s=t.position}else Cg(M)?(K1(t,n,s,!0),CD(t,ip(t,!1,i)),n=s=t.position):t.position===t.lineStart&&xb(t)?hl(t,"unexpected end of the document within a double quoted scalar"):(t.position++,s=t.position)}hl(t,"unexpected end of the stream within a double quoted scalar")}(t,Ge)?K=!0:function NG(t){var i,n,s;if(42!==(s=t.input.charCodeAt(t.position)))return!1;for(s=t.input.charCodeAt(++t.position),i=t.position;0!==s&&!Fh(s)&&!Sy(s);)s=t.input.charCodeAt(++t.position);return t.position===i&&hl(t,"name of an alias node must contain at least one character"),n=t.input.slice(i,t.position),Q1.call(t.anchorMap,n)||hl(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],ip(t,!0,-1),!0}(t)?(K=!0,(null!==t.tag||null!==t.anchor)&&hl(t,"alias node should not have any properties")):function MG(t,i,n){var l,_,g,M,x,Y,K,ge,le=t.kind,fe=t.result;if(Fh(ge=t.input.charCodeAt(t.position))||Sy(ge)||35===ge||38===ge||42===ge||33===ge||124===ge||62===ge||39===ge||34===ge||37===ge||64===ge||96===ge||(63===ge||45===ge)&&(Fh(l=t.input.charCodeAt(t.position+1))||n&&Sy(l)))return!1;for(t.kind="scalar",t.result="",_=g=t.position,M=!1;0!==ge;){if(58===ge){if(Fh(l=t.input.charCodeAt(t.position+1))||n&&Sy(l))break}else if(35===ge){if(Fh(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&xb(t)||n&&Sy(ge))break;if(Cg(ge)){if(x=t.line,Y=t.lineStart,K=t.lineIndent,ip(t,!1,-1),t.lineIndent>=i){M=!0,ge=t.input.charCodeAt(t.position);continue}t.position=g,t.line=x,t.lineStart=Y,t.lineIndent=K;break}}M&&(K1(t,_,g,!1),CD(t,t.line-x),_=g=t.position,M=!1),u0(ge)||(g=t.position+1),ge=t.input.charCodeAt(++t.position)}return K1(t,_,g,!1),!!t.result||(t.kind=le,t.result=fe,!1)}(t,Ge,Db===n)&&(K=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===x&&(K=M&&cN(t,we))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&hl(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),le=0,fe=t.implicitTypes.length;le<fe;le+=1)if((Se=t.implicitTypes[le]).resolve(t.result)){t.result=Se.construct(t.result),t.tag=Se.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(Q1.call(t.typeMap[t.kind||"fallback"],t.tag))Se=t.typeMap[t.kind||"fallback"][t.tag];else for(Se=null,le=0,fe=(ge=t.typeMap.multi[t.kind||"fallback"]).length;le<fe;le+=1)if(t.tag.slice(0,ge[le].tag.length)===ge[le].tag){Se=ge[le];break}Se||hl(t,"unknown tag !<"+t.tag+">"),null!==t.result&&Se.kind!==t.kind&&hl(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+Se.kind+'", not "'+t.kind+'"'),Se.resolve(t.result,t.tag)?(t.result=Se.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):hl(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||K}function IG(t){var n,s,l,g,i=t.position,_=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(g=t.input.charCodeAt(t.position))&&(ip(t,!0,-1),g=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==g));){for(_=!0,g=t.input.charCodeAt(++t.position),n=t.position;0!==g&&!Fh(g);)g=t.input.charCodeAt(++t.position);for(l=[],(s=t.input.slice(n,t.position)).length<1&&hl(t,"directive name must not be less than one character in length");0!==g;){for(;u0(g);)g=t.input.charCodeAt(++t.position);if(35===g){do{g=t.input.charCodeAt(++t.position)}while(0!==g&&!Cg(g));break}if(Cg(g))break;for(n=t.position;0!==g&&!Fh(g);)g=t.input.charCodeAt(++t.position);l.push(t.input.slice(n,t.position))}0!==g&&SD(t),Q1.call(aN,s)?aN[s](t,s,l):Pb(t,'unknown document directive "'+s+'"')}ip(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,ip(t,!0,-1)):_&&hl(t,"directives end mark is expected"),by(t,t.lineIndent-1,Rb,!1,!0),ip(t,!0,-1),t.checkLineBreaks&&vG.test(t.input.slice(i,t.position))&&Pb(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&xb(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,ip(t,!0,-1)):t.position<t.length-1&&hl(t,"end of the stream or a document separator is expected")}function uN(t,i){i=i||{},0!==(t=String(t)).length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new bG(t,i),s=t.indexOf("\0");for(-1!==s&&(n.position=s,hl(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)IG(n);return n.documents}var dN_loadAll=function FG(t,i,n){null!==i&&"object"==typeof i&&typeof n>"u"&&(n=i,i=null);var s=uN(t,n);if("function"!=typeof i)return s;for(var l=0,_=s.length;l<_;l+=1)i(s[l])},dN_load=function LG(t,i){var n=uN(t,i);if(0!==n.length){if(1===n.length)return n[0];throw new oh("expected a single document in the stream, but found more")}},fN=Object.prototype.toString,pN=Object.prototype.hasOwnProperty,TD=65279,HG=9,sS=10,UG=13,BG=32,GG=33,YG=34,bD=35,jG=37,ZG=38,zG=39,VG=42,_N=44,WG=45,wb=58,JG=61,QG=62,KG=63,XG=64,hN=91,mN=93,qG=96,gN=123,eY=124,vN=125,x_={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},tY=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],nY=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function iY(t){var i,n,s;if(i=t.toString(16).toUpperCase(),t<=255)n="x",s=2;else if(t<=65535)n="u",s=4;else{if(!(t<=4294967295))throw new oh("code point within a string may not be greater than 0xFFFFFFFF");n="U",s=8}return"\\"+n+Ap.repeat("0",s-i.length)+i}var oY=1,aS=2;function sY(t){this.schema=t.schema||yD,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=Ap.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=function rY(t,i){var n,s,l,_,g,M,x;if(null===i)return{};for(n={},l=0,_=(s=Object.keys(i)).length;l<_;l+=1)g=s[l],M=String(i[g]),"!!"===g.slice(0,2)&&(g="tag:yaml.org,2002:"+g.slice(2)),(x=t.compiledTypeMap.fallback[g])&&pN.call(x.styleAliases,M)&&(M=x.styleAliases[M]),n[g]=M;return n}(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?aS:oY,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function yN(t,i){for(var g,n=Ap.repeat(" ",i),s=0,l=-1,_="",M=t.length;s<M;)-1===(l=t.indexOf("\n",s))?(g=t.slice(s),s=M):(g=t.slice(s,l+1),s=l+1),g.length&&"\n"!==g&&(_+=n),_+=g;return _}function MD(t,i){return"\n"+Ap.repeat(" ",t.indent*i)}function Nb(t){return t===BG||t===HG}function lS(t){return 32<=t&&t<=126||161<=t&&t<=55295&&8232!==t&&8233!==t||57344<=t&&t<=65533&&t!==TD||65536<=t&&t<=1114111}function EN(t){return lS(t)&&t!==TD&&t!==UG&&t!==sS}function SN(t,i,n){var s=EN(t),l=s&&!Nb(t);return(n?s:s&&t!==_N&&t!==hN&&t!==mN&&t!==gN&&t!==vN)&&t!==bD&&!(i===wb&&!l)||EN(i)&&!Nb(i)&&t===bD||i===wb&&l}function cS(t,i){var s,n=t.charCodeAt(i);return n>=55296&&n<=56319&&i+1<t.length&&(s=t.charCodeAt(i+1))>=56320&&s<=57343?1024*(n-55296)+s-56320+65536:n}function CN(t){return/^\n* /.test(t)}var TN=1,OD=2,bN=3,MN=4,My=5;function dY(t,i,n,s,l){t.dump=function(){if(0===i.length)return t.quotingType===aS?'""':"''";if(!t.noCompatMode&&(-1!==tY.indexOf(i)||nY.test(i)))return t.quotingType===aS?'"'+i+'"':"'"+i+"'";var _=t.indent*Math.max(1,n),g=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-_);switch(function uY(t,i,n,s,l,_,g,M){var x,Y=0,K=null,le=!1,fe=!1,ge=-1!==s,Se=-1,Ge=function lY(t){return lS(t)&&t!==TD&&!Nb(t)&&t!==WG&&t!==KG&&t!==wb&&t!==_N&&t!==hN&&t!==mN&&t!==gN&&t!==vN&&t!==bD&&t!==ZG&&t!==VG&&t!==GG&&t!==eY&&t!==JG&&t!==QG&&t!==zG&&t!==YG&&t!==jG&&t!==XG&&t!==qG}(cS(t,0))&&function cY(t){return!Nb(t)&&t!==wb}(cS(t,t.length-1));if(i||g)for(x=0;x<t.length;Y>=65536?x+=2:x++){if(!lS(Y=cS(t,x)))return My;Ge=Ge&&SN(Y,K,M),K=Y}else{for(x=0;x<t.length;Y>=65536?x+=2:x++){if((Y=cS(t,x))===sS)le=!0,ge&&(fe=fe||x-Se-1>s&&" "!==t[Se+1],Se=x);else if(!lS(Y))return My;Ge=Ge&&SN(Y,K,M),K=Y}fe=fe||ge&&x-Se-1>s&&" "!==t[Se+1]}return le||fe?n>9&&CN(t)?My:g?_===aS?My:OD:fe?MN:bN:!Ge||g||l(t)?_===aS?My:OD:TN}(i,s||t.flowLevel>-1&&n>=t.flowLevel,t.indent,g,function x(Y){return function aY(t,i){var n,s;for(n=0,s=t.implicitTypes.length;n<s;n+=1)if(t.implicitTypes[n].resolve(i))return!0;return!1}(t,Y)},t.quotingType,t.forceQuotes&&!s,l)){case TN:return i;case OD:return"'"+i.replace(/'/g,"''")+"'";case bN:return"|"+ON(i,t.indent)+AN(yN(i,_));case MN:return">"+ON(i,t.indent)+AN(yN(function fY(t,i){for(var _,g,n=/(\n+)([^\n]*)/g,s=(Y=void 0,Y=t.indexOf("\n"),n.lastIndex=Y=-1!==Y?Y:t.length,DN(t.slice(0,Y),i)),l="\n"===t[0]||" "===t[0];g=n.exec(t);){var x=g[2];_=" "===x[0],s+=g[1]+(l||_||""===x?"":"\n")+DN(x,i),l=_}var Y;return s}(i,g),_));case My:return'"'+function pY(t){for(var s,i="",n=0,l=0;l<t.length;n>=65536?l+=2:l++)n=cS(t,l),!(s=x_[n])&&lS(n)?(i+=t[l],n>=65536&&(i+=t[l+1])):i+=s||iY(n);return i}(i)+'"';default:throw new oh("impossible error: invalid scalar style")}}()}function ON(t,i){var n=CN(t)?String(i):"",s="\n"===t[t.length-1];return n+(!s||"\n"!==t[t.length-2]&&"\n"!==t?s?"":"-":"+")+"\n"}function AN(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function DN(t,i){if(""===t||" "===t[0])return t;for(var s,_,n=/ [^ ]/g,l=0,g=0,M=0,x="";s=n.exec(t);)(M=s.index)-l>i&&(x+="\n"+t.slice(l,_=g>l?g:M),l=_+1),g=M;return x+="\n",(x+=t.length-l>i&&g>l?t.slice(l,g)+"\n"+t.slice(g+1):t.slice(l)).slice(1)}function PN(t,i,n){var s,l,_,g,M,x;for(_=0,g=(l=n?t.explicitTypes:t.implicitTypes).length;_<g;_+=1)if(((M=l[_]).instanceOf||M.predicate)&&(!M.instanceOf||"object"==typeof i&&i instanceof M.instanceOf)&&(!M.predicate||M.predicate(i))){if(t.tag=n?M.multi&&M.representName?M.representName(i):M.tag:"?",M.represent){if(x=t.styleMap[M.tag]||M.defaultStyle,"[object Function]"===fN.call(M.represent))s=M.represent(i,x);else{if(!pN.call(M.represent,x))throw new oh("!<"+M.tag+'> tag resolver accepts not "'+x+'" style');s=M.represent[x](i,x)}t.dump=s}return!0}return!1}function i1(t,i,n,s,l,_,g){t.tag=null,t.dump=n,PN(t,n,!1)||PN(t,n,!0);var Y,M=fN.call(t.dump),x=s;s&&(s=t.flowLevel<0||t.flowLevel>i);var le,fe,K="[object Object]"===M||"[object Array]"===M;if(K&&(fe=-1!==(le=t.duplicates.indexOf(n))),(null!==t.tag&&"?"!==t.tag||fe||2!==t.indent&&i>0)&&(l=!1),fe&&t.usedDuplicates[le])t.dump="*ref_"+le;else{if(K&&fe&&!t.usedDuplicates[le]&&(t.usedDuplicates[le]=!0),"[object Object]"===M)s&&0!==Object.keys(t.dump).length?(function mY(t,i,n,s){var M,x,Y,K,le,fe,l="",_=t.tag,g=Object.keys(n);if(!0===t.sortKeys)g.sort();else if("function"==typeof t.sortKeys)g.sort(t.sortKeys);else if(t.sortKeys)throw new oh("sortKeys must be a boolean or a function");for(M=0,x=g.length;M<x;M+=1)fe="",(!s||""!==l)&&(fe+=MD(t,i)),K=n[Y=g[M]],t.replacer&&(K=t.replacer.call(n,Y,K)),i1(t,i+1,Y,!0,!0,!0)&&((le=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&sS===t.dump.charCodeAt(0)?fe+="?":fe+="? "),fe+=t.dump,le&&(fe+=MD(t,i)),i1(t,i+1,K,!0,le)&&(t.dump&&sS===t.dump.charCodeAt(0)?fe+=":":fe+=": ",l+=fe+=t.dump));t.tag=_,t.dump=l||"{}"}(t,i,t.dump,l),fe&&(t.dump="&ref_"+le+t.dump)):(function hY(t,i,n){var g,M,x,Y,K,s="",l=t.tag,_=Object.keys(n);for(g=0,M=_.length;g<M;g+=1)K="",""!==s&&(K+=", "),t.condenseFlow&&(K+='"'),Y=n[x=_[g]],t.replacer&&(Y=t.replacer.call(n,x,Y)),i1(t,i,x,!1,!1)&&(t.dump.length>1024&&(K+="? "),K+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),i1(t,i,Y,!1,!1)&&(s+=K+=t.dump));t.tag=l,t.dump="{"+s+"}"}(t,i,t.dump),fe&&(t.dump="&ref_"+le+" "+t.dump));else if("[object Array]"===M)s&&0!==t.dump.length?(function RN(t,i,n,s){var g,M,x,l="",_=t.tag;for(g=0,M=n.length;g<M;g+=1)x=n[g],t.replacer&&(x=t.replacer.call(n,String(g),x)),(i1(t,i+1,x,!0,!0,!1,!0)||typeof x>"u"&&i1(t,i+1,null,!0,!0,!1,!0))&&((!s||""!==l)&&(l+=MD(t,i)),t.dump&&sS===t.dump.charCodeAt(0)?l+="-":l+="- ",l+=t.dump);t.tag=_,t.dump=l||"[]"}(t,t.noArrayIndent&&!g&&i>0?i-1:i,t.dump,l),fe&&(t.dump="&ref_"+le+t.dump)):(function _Y(t,i,n){var _,g,M,s="",l=t.tag;for(_=0,g=n.length;_<g;_+=1)M=n[_],t.replacer&&(M=t.replacer.call(n,String(_),M)),(i1(t,i,M,!1,!1)||typeof M>"u"&&i1(t,i,null,!1,!1))&&(""!==s&&(s+=","+(t.condenseFlow?"":" ")),s+=t.dump);t.tag=l,t.dump="["+s+"]"}(t,i,t.dump),fe&&(t.dump="&ref_"+le+" "+t.dump));else{if("[object String]"!==M){if("[object Undefined]"===M)return!1;if(t.skipInvalid)return!1;throw new oh("unacceptable kind of an object to dump "+M)}"?"!==t.tag&&dY(t,t.dump,i,_,x)}null!==t.tag&&"?"!==t.tag&&(Y=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),Y="!"===t.tag[0]?"!"+Y:"tag:yaml.org,2002:"===Y.slice(0,18)?"!!"+Y.slice(18):"!<"+Y+">",t.dump=Y+" "+t.dump)}return!0}function gY(t,i){var l,_,n=[],s=[];for(AD(t,n,s),l=0,_=s.length;l<_;l+=1)i.duplicates.push(n[s[l]]);i.usedDuplicates=new Array(_)}function AD(t,i,n){var s,l,_;if(null!==t&&"object"==typeof t)if(-1!==(l=i.indexOf(t)))-1===n.indexOf(l)&&n.push(l);else if(i.push(t),Array.isArray(t))for(l=0,_=t.length;l<_;l+=1)AD(t[l],i,n);else for(l=0,_=(s=Object.keys(t)).length;l<_;l+=1)AD(t[s[l]],i,n)}function DD(t,i){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+i+" instead, which is now safe by default.")}}var SY=l_,CY=ww,TY=Lw,xN=Bw,bY=Gw,MY=yD,OY=dN_load,AY=dN_loadAll,DY=function vY(t,i){var n=new sY(i=i||{});n.noRefs||gY(t,n);var s=t;return n.replacer&&(s=n.replacer.call({"":s},"",s)),i1(n,0,s,!0,!0)?n.dump+"\n":""},RY=oh,PY={binary:Vw,float:Uw,map:Fw,null:kw,pairs:Jw,set:Qw,timestamp:Zw,bool:$w,int:Hw,merge:zw,omap:Ww,seq:Iw,str:Nw},xY=DD("safeLoad","load"),wY=DD("safeLoadAll","loadAll"),NY=DD("safeDump","dump");const FY={Type:SY,Schema:CY,FAILSAFE_SCHEMA:TY,JSON_SCHEMA:xN,CORE_SCHEMA:bY,DEFAULT_SCHEMA:MY,load:OY,loadAll:AY,dump:DY,YAMLException:RY,types:PY,safeLoad:xY,safeLoadAll:wY,safeDump:NY};var LY=o(58102),kY=o.n(LY),$Y=o(55836),HY=o.n($Y),UY=o(97425),BY=o.n(UY),GY=o(76874),YY=o.n(GY),jY=o(43409),ZY=o(14395),zY=o.n(ZY);function wN(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);i&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,s)}return n}function NN(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?wN(Object(n),!0).forEach(function(s){oD(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wN(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}function c_(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Ib,IN="function"==typeof Symbol&&Symbol.observable||"@@observable",RD=function(){return Math.random().toString(36).substring(7).split("").join(".")},Oy={INIT:"@@redux/INIT"+RD(),REPLACE:"@@redux/REPLACE"+RD(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+RD()}};function LN(t,i,n){var s;if("function"==typeof i&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(c_(0));if("function"==typeof i&&typeof n>"u"&&(n=i,i=void 0),typeof n<"u"){if("function"!=typeof n)throw new Error(c_(1));return n(LN)(t,i)}if("function"!=typeof t)throw new Error(c_(2));var l=t,_=i,g=[],M=g,x=!1;function Y(){M===g&&(M=g.slice())}function K(){if(x)throw new Error(c_(3));return _}function le(Ge){if("function"!=typeof Ge)throw new Error(c_(4));if(x)throw new Error(c_(5));var we=!0;return Y(),M.push(Ge),function(){if(we){if(x)throw new Error(c_(6));we=!1,Y();var Pe=M.indexOf(Ge);M.splice(Pe,1),g=null}}}function fe(Ge){if(!function FN(t){if("object"!=typeof t||null===t)return!1;for(var i=t;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return Object.getPrototypeOf(t)===i}(Ge))throw new Error(c_(7));if(typeof Ge.type>"u")throw new Error(c_(8));if(x)throw new Error(c_(9));try{x=!0,_=l(_,Ge)}finally{x=!1}for(var we=g=M,He=0;He<we.length;He++)(0,we[He])();return Ge}return fe({type:Oy.INIT}),(s={dispatch:fe,subscribe:le,getState:K,replaceReducer:function ge(Ge){if("function"!=typeof Ge)throw new Error(c_(10));l=Ge,fe({type:Oy.REPLACE})}})[IN]=function Se(){var Ge,we=le;return(Ge={subscribe:function(Pe){if("object"!=typeof Pe||null===Pe)throw new Error(c_(11));function W(){Pe.next&&Pe.next(K())}return W(),{unsubscribe:we(W)}}})[IN]=function(){return this},Ge},s}function kN(t,i){return function(){return i(t.apply(this,arguments))}}function XY(t,i){if("function"==typeof t)return kN(t,i);if("object"!=typeof t||null===t)throw new Error(c_(16));var n={};for(var s in t){var l=t[s];"function"==typeof l&&(n[s]=kN(l,i))}return n}function $N(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return 0===i.length?function(s){return s}:1===i.length?i[0]:i.reduce(function(s,l){return function(){return s(l.apply(void 0,arguments))}})}function qY(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return function(s){return function(){var l=s.apply(void 0,arguments),_=function(){throw new Error(c_(15))},g={getState:l.getState,dispatch:function(){return _.apply(void 0,arguments)}},M=i.map(function(x){return x(g)});return _=$N.apply(void 0,M)(l.dispatch),NN(NN({},l),{},{dispatch:_})}}}function HN(t){return(Ib=Ib||document.createElement("textarea")).innerHTML="&"+t+";",Ib.value}var nj=Object.prototype.hasOwnProperty;function PD(t){return[].slice.call(arguments,1).forEach(function(n){if(n){if("object"!=typeof n)throw new TypeError(n+"must be object");Object.keys(n).forEach(function(s){t[s]=n[s]})}}),t}var rj=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function Ay(t){return t.indexOf("\\")<0?t:t.replace(rj,"$1")}function xD(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||65535==(65535&t)||65534==(65535&t)||t>=0&&t<=8||11===t||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function Fb(t){return t>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):String.fromCharCode(t)}var ij=/&([a-z#][a-z0-9]{1,31});/gi,oj=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function sj(t,i){var n=0,s=HN(i);return i!==s?s:35===i.charCodeAt(0)&&oj.test(i)&&xD(n="x"===i[1].toLowerCase()?parseInt(i.slice(2),16):parseInt(i.slice(1),10))?Fb(n):t}function X1(t){return t.indexOf("&")<0?t:t.replace(ij,sj)}var aj=/[&<>"]/,lj=/[&<>"]/g,cj={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function uj(t){return cj[t]}function sh(t){return aj.test(t)?t.replace(lj,uj):t}var Ia={};function BN(t,i){return++i>=t.length-2?i:"paragraph_open"===t[i].type&&t[i].tight&&"inline"===t[i+1].type&&0===t[i+1].content.length&&"paragraph_close"===t[i+2].type&&t[i+2].tight?BN(t,i+2):i}Ia.blockquote_open=function(){return"<blockquote>\n"},Ia.blockquote_close=function(t,i){return"</blockquote>"+d0(t,i)},Ia.code=function(t,i){return t[i].block?"<pre><code>"+sh(t[i].content)+"</code></pre>"+d0(t,i):"<code>"+sh(t[i].content)+"</code>"},Ia.fence=function(t,i,n,s,l){var Y,K,_=t[i],g="",M=n.langPrefix;if(_.params){if(K=(Y=_.params.split(/\s+/g)).join(" "),function UN(t,i){return!!t&&nj.call(t,i)}(l.rules.fence_custom,Y[0]))return l.rules.fence_custom[Y[0]](t,i,n,s,l);g=' class="'+M+sh(X1(Ay(K)))+'"'}return"<pre><code"+g+">"+(n.highlight&&n.highlight.apply(n.highlight,[_.content].concat(Y))||sh(_.content))+"</code></pre>"+d0(t,i)},Ia.fence_custom={},Ia.heading_open=function(t,i){return"<h"+t[i].hLevel+">"},Ia.heading_close=function(t,i){return"</h"+t[i].hLevel+">\n"},Ia.hr=function(t,i,n){return(n.xhtmlOut?"<hr />":"<hr>")+d0(t,i)},Ia.bullet_list_open=function(){return"<ul>\n"},Ia.bullet_list_close=function(t,i){return"</ul>"+d0(t,i)},Ia.list_item_open=function(){return"<li>"},Ia.list_item_close=function(){return"</li>\n"},Ia.ordered_list_open=function(t,i){var n=t[i];return"<ol"+(n.order>1?' start="'+n.order+'"':"")+">\n"},Ia.ordered_list_close=function(t,i){return"</ol>"+d0(t,i)},Ia.paragraph_open=function(t,i){return t[i].tight?"":"<p>"},Ia.paragraph_close=function(t,i){return(t[i].tight?"":"</p>")+(t[i].tight&&i&&"inline"===t[i-1].type&&!t[i-1].content?"":d0(t,i))},Ia.link_open=function(t,i,n){var s=t[i].title?' title="'+sh(X1(t[i].title))+'"':"",l=n.linkTarget?' target="'+n.linkTarget+'"':"";return'<a href="'+sh(t[i].href)+'"'+s+l+">"},Ia.link_close=function(){return"</a>"},Ia.image=function(t,i,n){var s=' src="'+sh(t[i].src)+'"',l=t[i].title?' title="'+sh(X1(t[i].title))+'"':"";return"<img"+s+' alt="'+(t[i].alt?sh(X1(Ay(t[i].alt))):"")+'"'+l+(n.xhtmlOut?" /":"")+">"},Ia.table_open=function(){return"<table>\n"},Ia.table_close=function(){return"</table>\n"},Ia.thead_open=function(){return"<thead>\n"},Ia.thead_close=function(){return"</thead>\n"},Ia.tbody_open=function(){return"<tbody>\n"},Ia.tbody_close=function(){return"</tbody>\n"},Ia.tr_open=function(){return"<tr>"},Ia.tr_close=function(){return"</tr>\n"},Ia.th_open=function(t,i){var n=t[i];return"<th"+(n.align?' style="text-align:'+n.align+'"':"")+">"},Ia.th_close=function(){return"</th>"},Ia.td_open=function(t,i){var n=t[i];return"<td"+(n.align?' style="text-align:'+n.align+'"':"")+">"},Ia.td_close=function(){return"</td>"},Ia.strong_open=function(){return"<strong>"},Ia.strong_close=function(){return"</strong>"},Ia.em_open=function(){return"<em>"},Ia.em_close=function(){return"</em>"},Ia.del_open=function(){return"<del>"},Ia.del_close=function(){return"</del>"},Ia.ins_open=function(){return"<ins>"},Ia.ins_close=function(){return"</ins>"},Ia.mark_open=function(){return"<mark>"},Ia.mark_close=function(){return"</mark>"},Ia.sub=function(t,i){return"<sub>"+sh(t[i].content)+"</sub>"},Ia.sup=function(t,i){return"<sup>"+sh(t[i].content)+"</sup>"},Ia.hardbreak=function(t,i,n){return n.xhtmlOut?"<br />\n":"<br>\n"},Ia.softbreak=function(t,i,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},Ia.text=function(t,i){return sh(t[i].content)},Ia.htmlblock=function(t,i){return t[i].content},Ia.htmltag=function(t,i){return t[i].content},Ia.abbr_open=function(t,i){return'<abbr title="'+sh(X1(t[i].title))+'">'},Ia.abbr_close=function(){return"</abbr>"},Ia.footnote_ref=function(t,i){var n=Number(t[i].id+1).toString(),s="fnref"+n;return t[i].subId>0&&(s+=":"+t[i].subId),'<sup class="footnote-ref"><a href="#fn'+n+'" id="'+s+'">['+n+"]</a></sup>"},Ia.footnote_block_open=function(t,i,n){return(n.xhtmlOut?'<hr class="footnotes-sep" />\n':'<hr class="footnotes-sep">\n')+'<section class="footnotes">\n<ol class="footnotes-list">\n'},Ia.footnote_block_close=function(){return"</ol>\n</section>\n"},Ia.footnote_open=function(t,i){return'<li id="fn'+Number(t[i].id+1).toString()+'" class="footnote-item">'},Ia.footnote_close=function(){return"</li>\n"},Ia.footnote_anchor=function(t,i){var s="fnref"+Number(t[i].id+1).toString();return t[i].subId>0&&(s+=":"+t[i].subId),' <a href="#'+s+'" class="footnote-backref">\u21a9</a>'},Ia.dl_open=function(){return"<dl>\n"},Ia.dt_open=function(){return"<dt>"},Ia.dd_open=function(){return"<dd>"},Ia.dl_close=function(){return"</dl>\n"},Ia.dt_close=function(){return"</dt>\n"},Ia.dd_close=function(){return"</dd>\n"};var d0=Ia.getBreak=function(i,n){return(n=BN(i,n))<i.length&&"list_item_close"===i[n].type?"":"\n"};function wD(){this.rules=PD({},Ia),this.getBreak=Ia.getBreak}function am(){this.__rules__=[],this.__cache__=null}function f0(t,i,n,s,l){this.src=t,this.env=s,this.options=n,this.parser=i,this.tokens=l,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}function uS(t,i){var n,s,l,_=-1,g=t.posMax,M=t.pos,x=t.isInLabel;if(t.isInLabel)return-1;if(t.labelUnmatchedScopes)return t.labelUnmatchedScopes--,-1;for(t.pos=i+1,t.isInLabel=!0,n=1;t.pos<g;){if(91===(l=t.src.charCodeAt(t.pos)))n++;else if(93===l&&0==--n){s=!0;break}t.parser.skipToken(t)}return s?(_=t.pos,t.labelUnmatchedScopes=0):t.labelUnmatchedScopes=n-1,t.pos=M,t.isInLabel=x,_}function fj(t,i,n,s){var l,_,g,M,x,Y;if(42!==t.charCodeAt(0)||91!==t.charCodeAt(1)||-1===t.indexOf("]:")||(_=uS(l=new f0(t,i,n,s,[]),1))<0||58!==t.charCodeAt(_+1))return-1;for(M=l.posMax,g=_+2;g<M&&10!==l.src.charCodeAt(g);g++);return x=t.slice(2,_),0===(Y=t.slice(_+2,g).trim()).length?-1:(s.abbreviations||(s.abbreviations={}),typeof s.abbreviations[":"+x]>"u"&&(s.abbreviations[":"+x]=Y),g)}function ND(t){var i=X1(t);try{i=decodeURI(i)}catch{}return encodeURI(i)}function GN(t,i){var n,s,l,_=i,g=t.posMax;if(60===t.src.charCodeAt(i)){for(i++;i<g;){if(10===(n=t.src.charCodeAt(i)))return!1;if(62===n)return l=ND(Ay(t.src.slice(_+1,i))),!!t.parser.validateLink(l)&&(t.pos=i+1,t.linkContent=l,!0);92===n&&i+1<g?i+=2:i++}return!1}for(s=0;i<g&&!(32===(n=t.src.charCodeAt(i))||n<32||127===n);)if(92===n&&i+1<g)i+=2;else{if(40===n&&++s>1||41===n&&--s<0)break;i++}return!(_===i||(l=Ay(t.src.slice(_,i)),!t.parser.validateLink(l))||(t.linkContent=l,t.pos=i,0))}function YN(t,i){var n,s=i,l=t.posMax,_=t.src.charCodeAt(i);if(34!==_&&39!==_&&40!==_)return!1;for(i++,40===_&&(_=41);i<l;){if((n=t.src.charCodeAt(i))===_)return t.pos=i+1,t.linkContent=Ay(t.src.slice(s+1,i)),!0;92===n&&i+1<l?i+=2:i++}return!1}function jN(t){return t.trim().replace(/\s+/g," ").toUpperCase()}function _j(t,i,n,s){var l,_,g,M,x,Y,K,le,fe;if(91!==t.charCodeAt(0)||-1===t.indexOf("]:")||(_=uS(l=new f0(t,i,n,s,[]),0))<0||58!==t.charCodeAt(_+1))return-1;for(M=l.posMax,g=_+2;g<M&&(32===(x=l.src.charCodeAt(g))||10===x);g++);if(!GN(l,g))return-1;for(K=l.linkContent,Y=g=l.pos,g+=1;g<M&&(32===(x=l.src.charCodeAt(g))||10===x);g++);for(g<M&&Y!==g&&YN(l,g)?(le=l.linkContent,g=l.pos):(le="",g=Y);g<M&&32===l.src.charCodeAt(g);)g++;return g<M&&10!==l.src.charCodeAt(g)?-1:(fe=jN(t.slice(1,_)),typeof s.references[fe]>"u"&&(s.references[fe]={title:le,href:K}),g)}wD.prototype.renderInline=function(t,i,n){for(var s=this.rules,l=t.length,_=0,g="";l--;)g+=s[t[_].type](t,_++,i,n,this);return g},wD.prototype.render=function(t,i,n){for(var s=this.rules,l=t.length,_=-1,g="";++_<l;)g+="inline"===t[_].type?this.renderInline(t[_].children,i,n):s[t[_].type](t,_,i,n,this);return g},am.prototype.__find__=function(t){for(var i=this.__rules__.length,n=-1;i--;)if(this.__rules__[++n].name===t)return n;return-1},am.prototype.__compile__=function(){var t=this,i=[""];t.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(s){i.indexOf(s)<0&&i.push(s)})}),t.__cache__={},i.forEach(function(n){t.__cache__[n]=[],t.__rules__.forEach(function(s){s.enabled&&(n&&s.alt.indexOf(n)<0||t.__cache__[n].push(s.fn))})})},am.prototype.at=function(t,i,n){var s=this.__find__(t),l=n||{};if(-1===s)throw new Error("Parser rule not found: "+t);this.__rules__[s].fn=i,this.__rules__[s].alt=l.alt||[],this.__cache__=null},am.prototype.before=function(t,i,n,s){var l=this.__find__(t),_=s||{};if(-1===l)throw new Error("Parser rule not found: "+t);this.__rules__.splice(l,0,{name:i,enabled:!0,fn:n,alt:_.alt||[]}),this.__cache__=null},am.prototype.after=function(t,i,n,s){var l=this.__find__(t),_=s||{};if(-1===l)throw new Error("Parser rule not found: "+t);this.__rules__.splice(l+1,0,{name:i,enabled:!0,fn:n,alt:_.alt||[]}),this.__cache__=null},am.prototype.push=function(t,i,n){this.__rules__.push({name:t,enabled:!0,fn:i,alt:(n||{}).alt||[]}),this.__cache__=null},am.prototype.enable=function(t,i){t=Array.isArray(t)?t:[t],i&&this.__rules__.forEach(function(n){n.enabled=!1}),t.forEach(function(n){var s=this.__find__(n);if(s<0)throw new Error("Rules manager: invalid rule name "+n);this.__rules__[s].enabled=!0},this),this.__cache__=null},am.prototype.disable=function(t){(t=Array.isArray(t)?t:[t]).forEach(function(i){var n=this.__find__(i);if(n<0)throw new Error("Rules manager: invalid rule name "+i);this.__rules__[n].enabled=!1},this),this.__cache__=null},am.prototype.getRules=function(t){return null===this.__cache__&&this.__compile__(),this.__cache__[t]||[]},f0.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},f0.prototype.push=function(t){this.pending&&this.pushPending(),this.tokens.push(t),this.pendingLevel=this.level},f0.prototype.cacheSet=function(t,i){for(var n=this.cache.length;n<=t;n++)this.cache.push(0);this.cache[t]=i},f0.prototype.cacheGet=function(t){return t<this.cache.length?this.cache[t]:0};var ZN=" \n()[]'\".,!?-";function ID(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}var yj=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ej=/\((c|tm|r|p)\)/gi,Sj={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};function Cj(t){return t.indexOf("(")<0?t:t.replace(Ej,function(i,n){return Sj[n.toLowerCase()]})}var bj=/['"]/,zN=/['"]/g,Mj=/[-\s()\[\]]/;function WN(t,i){return!(i<0||i>=t.length||Mj.test(t[i]))}function Dy(t,i,n){return t.substr(0,i)+n+t.substr(i+1)}var FD=[["block",function dj(t){t.inlineMode?t.tokens.push({type:"inline",content:t.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):t.block.parse(t.src,t.options,t.env,t.tokens)}],["abbr",function pj(t){var n,s,l,_,i=t.tokens;if(!t.inlineMode)for(n=1,s=i.length-1;n<s;n++)if("paragraph_open"===i[n-1].type&&"inline"===i[n].type&&"paragraph_close"===i[n+1].type){for(l=i[n].content;l.length&&!((_=fj(l,t.inline,t.options,t.env))<0);)l=l.slice(_).trim();i[n].content=l,l.length||(i[n-1].tight=!0,i[n+1].tight=!0)}}],["references",function hj(t){var n,s,l,_,i=t.tokens;if(t.env.references=t.env.references||{},!t.inlineMode)for(n=1,s=i.length-1;n<s;n++)if("inline"===i[n].type&&"paragraph_open"===i[n-1].type&&"paragraph_close"===i[n+1].type){for(l=i[n].content;l.length&&!((_=_j(l,t.inline,t.options,t.env))<0);)l=l.slice(_).trim();i[n].content=l,l.length||(i[n-1].tight=!0,i[n+1].tight=!0)}}],["inline",function mj(t){var n,s,l,i=t.tokens;for(s=0,l=i.length;s<l;s++)"inline"===(n=i[s]).type&&t.inline.parse(n.content,t.options,t.env,n.children)}],["footnote_tail",function gj(t){var i,n,s,l,_,g,M,x,Y,K=0,le=!1,fe={};if(t.env.footnotes&&(t.tokens=t.tokens.filter(function(ge){return"footnote_reference_open"===ge.type?(le=!0,x=[],Y=ge.label,!1):"footnote_reference_close"===ge.type?(le=!1,fe[":"+Y]=x,!1):(le&&x.push(ge),!le)}),t.env.footnotes.list)){for(g=t.env.footnotes.list,t.tokens.push({type:"footnote_block_open",level:K++}),i=0,n=g.length;i<n;i++){for(t.tokens.push({type:"footnote_open",id:i,level:K++}),g[i].tokens?((M=[]).push({type:"paragraph_open",tight:!1,level:K++}),M.push({type:"inline",content:"",level:K,children:g[i].tokens}),M.push({type:"paragraph_close",tight:!1,level:--K})):g[i].label&&(M=fe[":"+g[i].label]),t.tokens=t.tokens.concat(M),_="paragraph_close"===t.tokens[t.tokens.length-1].type?t.tokens.pop():null,l=g[i].count>0?g[i].count:1,s=0;s<l;s++)t.tokens.push({type:"footnote_anchor",id:i,subId:s,level:K});_&&t.tokens.push(_),t.tokens.push({type:"footnote_close",level:--K})}t.tokens.push({type:"footnote_block_close",level:--K})}}],["abbr2",function vj(t){var i,n,s,l,_,g,M,x,Y,K,le,fe,ge=t.tokens;if(t.env.abbreviations)for(t.env.abbrRegExp||(fe="(^|["+ZN.split("").map(ID).join("")+"])("+Object.keys(t.env.abbreviations).map(function(Se){return Se.substr(1)}).sort(function(Se,Ge){return Ge.length-Se.length}).map(ID).join("|")+")($|["+ZN.split("").map(ID).join("")+"])",t.env.abbrRegExp=new RegExp(fe,"g")),K=t.env.abbrRegExp,n=0,s=ge.length;n<s;n++)if("inline"===ge[n].type)for(i=(l=ge[n].children).length-1;i>=0;i--)if("text"===(_=l[i]).type){for(x=0,g=_.content,K.lastIndex=0,Y=_.level,M=[];le=K.exec(g);)K.lastIndex>x&&M.push({type:"text",content:g.slice(x,le.index+le[1].length),level:Y}),M.push({type:"abbr_open",title:t.env.abbreviations[":"+le[2]],level:Y++}),M.push({type:"text",content:le[2],level:Y}),M.push({type:"abbr_close",level:--Y}),x=K.lastIndex-le[3].length;M.length&&(x<g.length&&M.push({type:"text",content:g.slice(x),level:Y}),ge[n].children=l=[].concat(l.slice(0,i),M,l.slice(i+1)))}}],["replacements",function Tj(t){var i,n,s,l,_;if(t.options.typographer)for(_=t.tokens.length-1;_>=0;_--)if("inline"===t.tokens[_].type)for(i=(l=t.tokens[_].children).length-1;i>=0;i--)"text"===(n=l[i]).type&&(s=Cj(s=n.content),yj.test(s)&&(s=s.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1\u2014$2").replace(/(^|\s)--(\s|$)/gm,"$1\u2013$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1\u2013$2")),n.content=s)}],["smartquotes",function Oj(t){var i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He;if(t.options.typographer)for(He=[],Ge=t.tokens.length-1;Ge>=0;Ge--)if("inline"===t.tokens[Ge].type)for(we=t.tokens[Ge].children,He.length=0,i=0;i<we.length;i++)if("text"===(n=we[i]).type&&!bj.test(n.text)){for(M=we[i].level,ge=He.length-1;ge>=0&&!(He[ge].level<=M);ge--);He.length=ge+1,_=0,g=(s=n.content).length;e:for(;_<g&&(zN.lastIndex=_,l=zN.exec(s),l);)if(x=!WN(s,l.index-1),Se="'"===l[0],(Y=!WN(s,_=l.index+1))||x){if(le=!Y,fe=!x)for(ge=He.length-1;ge>=0&&(K=He[ge],!(He[ge].level<M));ge--)if(K.single===Se&&He[ge].level===M){K=He[ge],Se?(we[K.token].content=Dy(we[K.token].content,K.pos,t.options.quotes[2]),n.content=Dy(n.content,l.index,t.options.quotes[3])):(we[K.token].content=Dy(we[K.token].content,K.pos,t.options.quotes[0]),n.content=Dy(n.content,l.index,t.options.quotes[1])),He.length=ge;continue e}le?He.push({token:i,pos:l.index,single:Se,level:M}):fe&&Se&&(n.content=Dy(n.content,l.index,"\u2019"))}else Se&&(n.content=Dy(n.content,l.index,"\u2019"))}}]];function JN(){this.options={},this.ruler=new am;for(var t=0;t<FD.length;t++)this.ruler.push(FD[t][0],FD[t][1])}function p0(t,i,n,s,l){var _,g,M,x,Y,K,le;for(this.src=t,this.parser=i,this.options=n,this.env=s,this.tokens=l,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",K=0,le=!1,M=x=K=0,Y=(g=this.src).length;x<Y;x++){if(_=g.charCodeAt(x),!le){if(32===_){K++;continue}le=!0}(10===_||x===Y-1)&&(10!==_&&x++,this.bMarks.push(M),this.eMarks.push(x),this.tShift.push(K),le=!1,K=0,M=x+1)}this.bMarks.push(g.length),this.eMarks.push(g.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}function QN(t,i){var n,s,l;return(s=t.bMarks[i]+t.tShift[i])>=(l=t.eMarks[i])||42!==(n=t.src.charCodeAt(s++))&&45!==n&&43!==n||s<l&&32!==t.src.charCodeAt(s)?-1:s}function KN(t,i){var n,s=t.bMarks[i]+t.tShift[i],l=t.eMarks[i];if(s+1>=l||(n=t.src.charCodeAt(s++))<48||n>57)return-1;for(;;){if(s>=l)return-1;if(!((n=t.src.charCodeAt(s++))>=48&&n<=57)){if(41===n||46===n)break;return-1}}return s<l&&32!==t.src.charCodeAt(s)?-1:s}JN.prototype.process=function(t){var i,n,s;for(i=0,n=(s=this.ruler.getRules("")).length;i<n;i++)s[i](t)},p0.prototype.isEmpty=function(i){return this.bMarks[i]+this.tShift[i]>=this.eMarks[i]},p0.prototype.skipEmptyLines=function(i){for(var n=this.lineMax;i<n&&!(this.bMarks[i]+this.tShift[i]<this.eMarks[i]);i++);return i},p0.prototype.skipSpaces=function(i){for(var n=this.src.length;i<n&&32===this.src.charCodeAt(i);i++);return i},p0.prototype.skipChars=function(i,n){for(var s=this.src.length;i<s&&this.src.charCodeAt(i)===n;i++);return i},p0.prototype.skipCharsBack=function(i,n,s){if(i<=s)return i;for(;i>s;)if(n!==this.src.charCodeAt(--i))return i+1;return i},p0.prototype.getLines=function(i,n,s,l){var _,g,x,Y,K=i;if(i>=n)return"";if(K+1===n)return g=this.bMarks[K]+Math.min(this.tShift[K],s),this.src.slice(g,l?this.eMarks[K]+1:this.eMarks[K]);for(x=new Array(n-i),_=0;K<n;K++,_++)(Y=this.tShift[K])>s&&(Y=s),Y<0&&(Y=0),x[_]=this.src.slice(g=this.bMarks[K]+Y,K+1<n||l?this.eMarks[K]+1:this.eMarks[K]);return x.join("")};var XN={};["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach(function(t){XN[t]=!0});var Lj=/^<([a-zA-Z]{1,15})[\s\/>]/,kj=/^<\/([a-zA-Z]{1,15})[\s>]/;function LD(t,i){var n=t.bMarks[i]+t.blkIndent;return t.src.substr(n,t.eMarks[i]-n)}function Lb(t,i){var n,s,l=t.bMarks[i]+t.tShift[i],_=t.eMarks[i];return l>=_||126!==(s=t.src.charCodeAt(l++))&&58!==s||l===(n=t.skipSpaces(l))||n>=_?-1:n}var kb=[["code",function Aj(t,i,n){var s,l;if(t.tShift[i]-t.blkIndent<4)return!1;for(l=s=i+1;s<n;)if(t.isEmpty(s))s++;else{if(!(t.tShift[s]-t.blkIndent>=4))break;l=++s}return t.line=s,t.tokens.push({type:"code",content:t.getLines(i,l,4+t.blkIndent,!0),block:!0,lines:[i,t.line],level:t.level}),!0}],["fences",function Dj(t,i,n,s){var l,_,g,M,x,Y=!1,K=t.bMarks[i]+t.tShift[i],le=t.eMarks[i];if(K+3>le||126!==(l=t.src.charCodeAt(K))&&96!==l||(x=K,(_=(K=t.skipChars(K,l))-x)<3)||(g=t.src.slice(K,le).trim()).indexOf("`")>=0)return!1;if(s)return!0;for(M=i;!(++M>=n||(K=x=t.bMarks[M]+t.tShift[M],le=t.eMarks[M],K<le&&t.tShift[M]<t.blkIndent));)if(!(t.src.charCodeAt(K)!==l||t.tShift[M]-t.blkIndent>=4||(K=t.skipChars(K,l),K-x<_||(K=t.skipSpaces(K),K<le)))){Y=!0;break}return _=t.tShift[i],t.line=M+(Y?1:0),t.tokens.push({type:"fence",params:g,content:t.getLines(i+1,M,_,!0),lines:[i,t.line],level:t.level}),!0},["paragraph","blockquote","list"]],["blockquote",function Rj(t,i,n,s){var l,_,g,M,x,Y,K,le,fe,ge,Se,Ge=t.bMarks[i]+t.tShift[i],we=t.eMarks[i];if(Ge>we||62!==t.src.charCodeAt(Ge++)||t.level>=t.options.maxNesting)return!1;if(s)return!0;for(32===t.src.charCodeAt(Ge)&&Ge++,x=t.blkIndent,t.blkIndent=0,M=[t.bMarks[i]],t.bMarks[i]=Ge,_=(Ge=Ge<we?t.skipSpaces(Ge):Ge)>=we,g=[t.tShift[i]],t.tShift[i]=Ge-t.bMarks[i],le=t.parser.ruler.getRules("blockquote"),l=i+1;l<n&&!((Ge=t.bMarks[l]+t.tShift[l])>=(we=t.eMarks[l]));l++)if(62!==t.src.charCodeAt(Ge++)){if(_)break;for(Se=!1,fe=0,ge=le.length;fe<ge;fe++)if(le[fe](t,l,n,!0)){Se=!0;break}if(Se)break;M.push(t.bMarks[l]),g.push(t.tShift[l]),t.tShift[l]=-1337}else 32===t.src.charCodeAt(Ge)&&Ge++,M.push(t.bMarks[l]),t.bMarks[l]=Ge,_=(Ge=Ge<we?t.skipSpaces(Ge):Ge)>=we,g.push(t.tShift[l]),t.tShift[l]=Ge-t.bMarks[l];for(Y=t.parentType,t.parentType="blockquote",t.tokens.push({type:"blockquote_open",lines:K=[i,0],level:t.level++}),t.parser.tokenize(t,i,l),t.tokens.push({type:"blockquote_close",level:--t.level}),t.parentType=Y,K[1]=t.line,fe=0;fe<g.length;fe++)t.bMarks[fe+i]=M[fe],t.tShift[fe+i]=g[fe];return t.blkIndent=x,!0},["paragraph","blockquote","list"]],["hr",function Pj(t,i,n,s){var l,_,g,M=t.bMarks[i],x=t.eMarks[i];if((M+=t.tShift[i])>x||42!==(l=t.src.charCodeAt(M++))&&45!==l&&95!==l)return!1;for(_=1;M<x;){if((g=t.src.charCodeAt(M++))!==l&&32!==g)return!1;g===l&&_++}return!(_<3||(s||(t.line=i+1,t.tokens.push({type:"hr",lines:[i,t.line],level:t.level})),0))},["paragraph","blockquote","list"]],["list",function wj(t,i,n,s){var l,_,g,M,x,Y,K,le,ge,Se,Ge,we,He,Pe,W,It,Pt,dn,Un,ln,Xn,Jt=!0;if((le=KN(t,i))>=0)we=!0;else{if(!((le=QN(t,i))>=0))return!1;we=!1}if(t.level>=t.options.maxNesting)return!1;if(Ge=t.src.charCodeAt(le-1),s)return!0;for(Pe=t.tokens.length,we?(K=t.bMarks[i]+t.tShift[i],Se=Number(t.src.substr(K,le-K-1)),t.tokens.push({type:"ordered_list_open",order:Se,lines:It=[i,0],level:t.level++})):t.tokens.push({type:"bullet_list_open",lines:It=[i,0],level:t.level++}),l=i,W=!1,dn=t.parser.ruler.getRules("list");l<n&&((ge=(He=t.skipSpaces(le))>=t.eMarks[l]?1:He-le)>4&&(ge=1),ge<1&&(ge=1),_=le-t.bMarks[l]+ge,t.tokens.push({type:"list_item_open",lines:Pt=[i,0],level:t.level++}),M=t.blkIndent,x=t.tight,g=t.tShift[i],Y=t.parentType,t.tShift[i]=He-t.bMarks[i],t.blkIndent=_,t.tight=!0,t.parentType="list",t.parser.tokenize(t,i,n,!0),(!t.tight||W)&&(Jt=!1),W=t.line-i>1&&t.isEmpty(t.line-1),t.blkIndent=M,t.tShift[i]=g,t.tight=x,t.parentType=Y,t.tokens.push({type:"list_item_close",level:--t.level}),l=i=t.line,Pt[1]=l,He=t.bMarks[i],!(l>=n||t.isEmpty(l)||t.tShift[l]<t.blkIndent));){for(Xn=!1,Un=0,ln=dn.length;Un<ln;Un++)if(dn[Un](t,l,n,!0)){Xn=!0;break}if(Xn)break;if(we){if((le=KN(t,l))<0)break}else if((le=QN(t,l))<0)break;if(Ge!==t.src.charCodeAt(le-1))break}return t.tokens.push({type:we?"ordered_list_close":"bullet_list_close",level:--t.level}),It[1]=l,t.line=l,Jt&&function xj(t,i){var n,s,l=t.level+2;for(n=i+2,s=t.tokens.length-2;n<s;n++)t.tokens[n].level===l&&"paragraph_open"===t.tokens[n].type&&(t.tokens[n+2].tight=!0,t.tokens[n].tight=!0,n+=2)}(t,Pe),!0},["paragraph","blockquote"]],["footnote",function Nj(t,i,n,s){var l,_,g,M,x,Y=t.bMarks[i]+t.tShift[i],K=t.eMarks[i];if(Y+4>K||91!==t.src.charCodeAt(Y)||94!==t.src.charCodeAt(Y+1)||t.level>=t.options.maxNesting)return!1;for(M=Y+2;M<K;M++){if(32===t.src.charCodeAt(M))return!1;if(93===t.src.charCodeAt(M))break}return!(M===Y+2||M+1>=K||58!==t.src.charCodeAt(++M)||(s||(M++,t.env.footnotes||(t.env.footnotes={}),t.env.footnotes.refs||(t.env.footnotes.refs={}),x=t.src.slice(Y+2,M-2),t.env.footnotes.refs[":"+x]=-1,t.tokens.push({type:"footnote_reference_open",label:x,level:t.level++}),l=t.bMarks[i],_=t.tShift[i],g=t.parentType,t.tShift[i]=t.skipSpaces(M)-M,t.bMarks[i]=M,t.blkIndent+=4,t.parentType="footnote",t.tShift[i]<t.blkIndent&&(t.tShift[i]+=t.blkIndent,t.bMarks[i]-=t.blkIndent),t.parser.tokenize(t,i,n,!0),t.parentType=g,t.blkIndent-=4,t.tShift[i]=_,t.bMarks[i]=l,t.tokens.push({type:"footnote_reference_close",level:--t.level})),0))},["paragraph"]],["heading",function Ij(t,i,n,s){var l,_,g,M=t.bMarks[i]+t.tShift[i],x=t.eMarks[i];if(M>=x||35!==(l=t.src.charCodeAt(M))||M>=x)return!1;for(_=1,l=t.src.charCodeAt(++M);35===l&&M<x&&_<=6;)_++,l=t.src.charCodeAt(++M);return!(_>6||M<x&&32!==l||(s||(x=t.skipCharsBack(x,32,M),(g=t.skipCharsBack(x,35,M))>M&&32===t.src.charCodeAt(g-1)&&(x=g),t.line=i+1,t.tokens.push({type:"heading_open",hLevel:_,lines:[i,t.line],level:t.level}),M<x&&t.tokens.push({type:"inline",content:t.src.slice(M,x).trim(),level:t.level+1,lines:[i,t.line],children:[]}),t.tokens.push({type:"heading_close",hLevel:_,level:t.level})),0))},["paragraph","blockquote"]],["lheading",function Fj(t,i,n){var s,l,_,g=i+1;return!(g>=n||t.tShift[g]<t.blkIndent||t.tShift[g]-t.blkIndent>3||(l=t.bMarks[g]+t.tShift[g],_=t.eMarks[g],l>=_)||(s=t.src.charCodeAt(l),45!==s&&61!==s)||(l=t.skipChars(l,s),l=t.skipSpaces(l),l<_)||(l=t.bMarks[i]+t.tShift[i],t.line=g+1,t.tokens.push({type:"heading_open",hLevel:61===s?1:2,lines:[i,t.line],level:t.level}),t.tokens.push({type:"inline",content:t.src.slice(l,t.eMarks[i]).trim(),level:t.level+1,lines:[i,t.line-1],children:[]}),t.tokens.push({type:"heading_close",hLevel:61===s?1:2,level:t.level}),0))}],["htmlblock",function Hj(t,i,n,s){var l,_,g,M=t.bMarks[i],x=t.eMarks[i],Y=t.tShift[i];if(M+=Y,!t.options.html||Y>3||M+2>=x||60!==t.src.charCodeAt(M))return!1;if(33===(l=t.src.charCodeAt(M+1))||63===l){if(s)return!0}else{if(47!==l&&!function $j(t){var i=32|t;return i>=97&&i<=122}(l))return!1;if(47===l){if(!(_=t.src.slice(M,x).match(kj)))return!1}else if(!(_=t.src.slice(M,x).match(Lj)))return!1;if(!0!==XN[_[1].toLowerCase()])return!1;if(s)return!0}for(g=i+1;g<t.lineMax&&!t.isEmpty(g);)g++;return t.line=g,t.tokens.push({type:"htmlblock",level:t.level,lines:[i,t.line],content:t.getLines(i,g,0,!0)}),!0},["paragraph","blockquote"]],["table",function Uj(t,i,n,s){var l,_,g,M,x,Y,K,le,fe,ge,Se;if(i+2>n||t.tShift[x=i+1]<t.blkIndent||(g=t.bMarks[x]+t.tShift[x])>=t.eMarks[x]||124!==(l=t.src.charCodeAt(g))&&45!==l&&58!==l||(_=LD(t,i+1),!/^[-:| ]+$/.test(_))||(Y=_.split("|"))<=2)return!1;for(le=[],M=0;M<Y.length;M++){if(!(fe=Y[M].trim())){if(0===M||M===Y.length-1)continue;return!1}if(!/^:?-+:?$/.test(fe))return!1;58===fe.charCodeAt(fe.length-1)?le.push(58===fe.charCodeAt(0)?"center":"right"):58===fe.charCodeAt(0)?le.push("left"):le.push("")}if(-1===(_=LD(t,i).trim()).indexOf("|")||(Y=_.replace(/^\||\|$/g,"").split("|"),le.length!==Y.length))return!1;if(s)return!0;for(t.tokens.push({type:"table_open",lines:ge=[i,0],level:t.level++}),t.tokens.push({type:"thead_open",lines:[i,i+1],level:t.level++}),t.tokens.push({type:"tr_open",lines:[i,i+1],level:t.level++}),M=0;M<Y.length;M++)t.tokens.push({type:"th_open",align:le[M],lines:[i,i+1],level:t.level++}),t.tokens.push({type:"inline",content:Y[M].trim(),lines:[i,i+1],level:t.level,children:[]}),t.tokens.push({type:"th_close",level:--t.level});for(t.tokens.push({type:"tr_close",level:--t.level}),t.tokens.push({type:"thead_close",level:--t.level}),t.tokens.push({type:"tbody_open",lines:Se=[i+2,0],level:t.level++}),x=i+2;x<n&&!(t.tShift[x]<t.blkIndent||(_=LD(t,x).trim(),-1===_.indexOf("|")));x++){for(Y=_.replace(/^\||\|$/g,"").split("|"),t.tokens.push({type:"tr_open",level:t.level++}),M=0;M<Y.length;M++)t.tokens.push({type:"td_open",align:le[M],level:t.level++}),K=Y[M].substring(124===Y[M].charCodeAt(0)?1:0,124===Y[M].charCodeAt(Y[M].length-1)?Y[M].length-1:Y[M].length).trim(),t.tokens.push({type:"inline",content:K,level:t.level,children:[]}),t.tokens.push({type:"td_close",level:--t.level});t.tokens.push({type:"tr_close",level:--t.level})}return t.tokens.push({type:"tbody_close",level:--t.level}),t.tokens.push({type:"table_close",level:--t.level}),ge[1]=Se[1]=x,t.line=x,!0},["paragraph"]],["deflist",function Gj(t,i,n,s){var l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He;if(s)return!(t.ddIndent<0)&&Lb(t,i)>=0;if(t.isEmpty(K=i+1)&&++K>n||t.tShift[K]<t.blkIndent||(l=Lb(t,K))<0||t.level>=t.options.maxNesting)return!1;Y=t.tokens.length,t.tokens.push({type:"dl_open",lines:x=[i,0],level:t.level++}),g=i,_=K;e:for(;;){for(He=!0,we=!1,t.tokens.push({type:"dt_open",lines:[g,g],level:t.level++}),t.tokens.push({type:"inline",content:t.getLines(g,g+1,t.blkIndent,!1).trim(),level:t.level+1,lines:[g,g],children:[]}),t.tokens.push({type:"dt_close",level:--t.level});;){if(t.tokens.push({type:"dd_open",lines:M=[K,0],level:t.level++}),Ge=t.tight,fe=t.ddIndent,le=t.blkIndent,Se=t.tShift[_],ge=t.parentType,t.blkIndent=t.ddIndent=t.tShift[_]+2,t.tShift[_]=l-t.bMarks[_],t.tight=!0,t.parentType="deflist",t.parser.tokenize(t,_,n,!0),(!t.tight||we)&&(He=!1),we=t.line-_>1&&t.isEmpty(t.line-1),t.tShift[_]=Se,t.tight=Ge,t.parentType=ge,t.blkIndent=le,t.ddIndent=fe,t.tokens.push({type:"dd_close",level:--t.level}),M[1]=K=t.line,K>=n||t.tShift[K]<t.blkIndent)break e;if((l=Lb(t,K))<0)break;_=K}if(K>=n||t.isEmpty(g=K)||t.tShift[g]<t.blkIndent||(_=g+1)>=n||(t.isEmpty(_)&&_++,_>=n)||t.tShift[_]<t.blkIndent||(l=Lb(t,_))<0)break}return t.tokens.push({type:"dl_close",level:--t.level}),x[1]=K,t.line=K,He&&function Bj(t,i){var n,s,l=t.level+2;for(n=i+2,s=t.tokens.length-2;n<s;n++)t.tokens[n].level===l&&"paragraph_open"===t.tokens[n].type&&(t.tokens[n+2].tight=!0,t.tokens[n].tight=!0,n+=2)}(t,Y),!0},["paragraph"]],["paragraph",function Yj(t,i){var n,s,l,_,g,x,M=i+1;if(M<(n=t.lineMax)&&!t.isEmpty(M))for(x=t.parser.ruler.getRules("paragraph");M<n&&!t.isEmpty(M);M++)if(!(t.tShift[M]-t.blkIndent>3)){for(l=!1,_=0,g=x.length;_<g;_++)if(x[_](t,M,n,!0)){l=!0;break}if(l)break}return s=t.getLines(i,M,t.blkIndent,!1).trim(),t.line=M,s.length&&(t.tokens.push({type:"paragraph_open",tight:!1,lines:[i,t.line],level:t.level}),t.tokens.push({type:"inline",content:s,level:t.level+1,lines:[i,t.line],children:[]}),t.tokens.push({type:"paragraph_close",tight:!1,level:t.level})),!0}]];function kD(){this.ruler=new am;for(var t=0;t<kb.length;t++)this.ruler.push(kb[t][0],kb[t][1],{alt:(kb[t][2]||[]).slice()})}kD.prototype.tokenize=function(t,i,n){for(var x,s=this.ruler.getRules(""),l=s.length,_=i,g=!1;_<n&&(t.line=_=t.skipEmptyLines(_),!(_>=n||t.tShift[_]<t.blkIndent));){for(x=0;x<l&&!s[x](t,_,n,!1);x++);if(t.tight=!g,t.isEmpty(t.line-1)&&(g=!0),(_=t.line)<n&&t.isEmpty(_)){if(g=!0,++_<n&&"list"===t.parentType&&t.isEmpty(_))break;t.line=_}}};var jj=/[\n\t]/g,Zj=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,zj=/\u00a0/g;function Vj(t){switch(t){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}kD.prototype.parse=function(t,i,n,s){var l,_=0,g=0;if(!t)return[];(t=(t=t.replace(zj," ")).replace(Zj,"\n")).indexOf("\t")>=0&&(t=t.replace(jj,function(M,x){var Y;return 10===t.charCodeAt(x)?(_=x+1,g=0,M):(Y=" ".slice((x-_-g)%4),g=x-_+1,Y)})),l=new p0(t,this,i,n,s),this.tokenize(l,l.line,l.lineMax)};for(var $D=[],qN=0;qN<256;qN++)$D.push(0);function e6(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}function t6(t,i){var s,l,_,n=i,g=!0,M=!0,x=t.posMax,Y=t.src.charCodeAt(i);for(s=i>0?t.src.charCodeAt(i-1):-1;n<x&&t.src.charCodeAt(n)===Y;)n++;return n>=x&&(g=!1),(_=n-i)>=4?g=M=!1:((32===(l=n<x?t.src.charCodeAt(n):-1)||10===l)&&(g=!1),(32===s||10===s)&&(M=!1),95===Y&&(e6(s)&&(g=!1),e6(l)&&(M=!1))),{can_open:g,can_close:M,delims:_}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){$D[t.charCodeAt(0)]=1});var nZ=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,iZ=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,cZ=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],uZ=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,dZ=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function $b(t,i){return t=t.source,i=i||"",function n(s,l){return s?(t=t.replace(s,l=l.source||l),n):new RegExp(t,i)}}var gZ=$b(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",/[^"'=<>`\x00-\x20]+/)("single_quoted",/'[^']*'/)("double_quoted",/"[^"]*"/)(),vZ=$b(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",/[a-zA-Z_:][a-zA-Z0-9:._-]*/)("attr_value",gZ)(),yZ=$b(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",vZ)(),MZ=$b(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",yZ)("close_tag",/<\/[A-Za-z][A-Za-z0-9]*\s*>/)("comment",/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/)("processing",/<[?].*?[?]>/)("declaration",/<![A-Z]+\s+[^>]*>/)("cdata",/<!\[CDATA\[[\s\S]*?\]\]>/)(),DZ=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,RZ=/^&([a-z][a-z0-9]{1,31});/i,HD=[["text",function Wj(t,i){for(var n=t.pos;n<t.posMax&&!Vj(t.src.charCodeAt(n));)n++;return n!==t.pos&&(i||(t.pending+=t.src.slice(t.pos,n)),t.pos=n,!0)}],["newline",function Jj(t,i){var n,s,l=t.pos;if(10!==t.src.charCodeAt(l))return!1;if(n=t.pending.length-1,s=t.posMax,!i)if(n>=0&&32===t.pending.charCodeAt(n))if(n>=1&&32===t.pending.charCodeAt(n-1)){for(var _=n-2;_>=0;_--)if(32!==t.pending.charCodeAt(_)){t.pending=t.pending.substring(0,_+1);break}t.push({type:"hardbreak",level:t.level})}else t.pending=t.pending.slice(0,-1),t.push({type:"softbreak",level:t.level});else t.push({type:"softbreak",level:t.level});for(l++;l<s&&32===t.src.charCodeAt(l);)l++;return t.pos=l,!0}],["escape",function Qj(t,i){var n,s=t.pos,l=t.posMax;if(92!==t.src.charCodeAt(s))return!1;if(++s<l){if((n=t.src.charCodeAt(s))<256&&0!==$D[n])return i||(t.pending+=t.src[s]),t.pos+=2,!0;if(10===n){for(i||t.push({type:"hardbreak",level:t.level}),s++;s<l&&32===t.src.charCodeAt(s);)s++;return t.pos=s,!0}}return i||(t.pending+="\\"),t.pos++,!0}],["backticks",function Kj(t,i){var n,s,l,_,g,M=t.pos;if(96!==t.src.charCodeAt(M))return!1;for(n=M,M++,s=t.posMax;M<s&&96===t.src.charCodeAt(M);)M++;for(l=t.src.slice(n,M),_=g=M;-1!==(_=t.src.indexOf("`",g));){for(g=_+1;g<s&&96===t.src.charCodeAt(g);)g++;if(g-_===l.length)return i||t.push({type:"code",content:t.src.slice(M,_).replace(/[ \n]+/g," ").trim(),block:!1,level:t.level}),t.pos=g,!0}return i||(t.pending+=l),t.pos+=l.length,!0}],["del",function Xj(t,i){var n,s,l,M,x,_=t.posMax,g=t.pos;if(126!==t.src.charCodeAt(g)||i||g+4>=_||126!==t.src.charCodeAt(g+1)||t.level>=t.options.maxNesting||(M=g>0?t.src.charCodeAt(g-1):-1,x=t.src.charCodeAt(g+2),126===M)||126===x||32===x||10===x)return!1;for(s=g+2;s<_&&126===t.src.charCodeAt(s);)s++;if(s>g+3)return t.pos+=s-g,i||(t.pending+=t.src.slice(g,s)),!0;for(t.pos=g+2,l=1;t.pos+1<_;){if(126===t.src.charCodeAt(t.pos)&&126===t.src.charCodeAt(t.pos+1)&&(M=t.src.charCodeAt(t.pos-1),126!==(x=t.pos+2<_?t.src.charCodeAt(t.pos+2):-1)&&126!==M&&(32!==M&&10!==M?l--:32!==x&&10!==x&&l++,l<=0))){n=!0;break}t.parser.skipToken(t)}return n?(t.posMax=t.pos,t.pos=g+2,i||(t.push({type:"del_open",level:t.level++}),t.parser.tokenize(t),t.push({type:"del_close",level:--t.level})),t.pos=t.posMax+2,t.posMax=_,!0):(t.pos=g,!1)}],["ins",function qj(t,i){var n,s,l,M,x,_=t.posMax,g=t.pos;if(43!==t.src.charCodeAt(g)||i||g+4>=_||43!==t.src.charCodeAt(g+1)||t.level>=t.options.maxNesting||(M=g>0?t.src.charCodeAt(g-1):-1,x=t.src.charCodeAt(g+2),43===M)||43===x||32===x||10===x)return!1;for(s=g+2;s<_&&43===t.src.charCodeAt(s);)s++;if(s!==g+2)return t.pos+=s-g,i||(t.pending+=t.src.slice(g,s)),!0;for(t.pos=g+2,l=1;t.pos+1<_;){if(43===t.src.charCodeAt(t.pos)&&43===t.src.charCodeAt(t.pos+1)&&(M=t.src.charCodeAt(t.pos-1),43!==(x=t.pos+2<_?t.src.charCodeAt(t.pos+2):-1)&&43!==M&&(32!==M&&10!==M?l--:32!==x&&10!==x&&l++,l<=0))){n=!0;break}t.parser.skipToken(t)}return n?(t.posMax=t.pos,t.pos=g+2,i||(t.push({type:"ins_open",level:t.level++}),t.parser.tokenize(t),t.push({type:"ins_close",level:--t.level})),t.pos=t.posMax+2,t.posMax=_,!0):(t.pos=g,!1)}],["mark",function eZ(t,i){var n,s,l,M,x,_=t.posMax,g=t.pos;if(61!==t.src.charCodeAt(g)||i||g+4>=_||61!==t.src.charCodeAt(g+1)||t.level>=t.options.maxNesting||(M=g>0?t.src.charCodeAt(g-1):-1,x=t.src.charCodeAt(g+2),61===M)||61===x||32===x||10===x)return!1;for(s=g+2;s<_&&61===t.src.charCodeAt(s);)s++;if(s!==g+2)return t.pos+=s-g,i||(t.pending+=t.src.slice(g,s)),!0;for(t.pos=g+2,l=1;t.pos+1<_;){if(61===t.src.charCodeAt(t.pos)&&61===t.src.charCodeAt(t.pos+1)&&(M=t.src.charCodeAt(t.pos-1),61!==(x=t.pos+2<_?t.src.charCodeAt(t.pos+2):-1)&&61!==M&&(32!==M&&10!==M?l--:32!==x&&10!==x&&l++,l<=0))){n=!0;break}t.parser.skipToken(t)}return n?(t.posMax=t.pos,t.pos=g+2,i||(t.push({type:"mark_open",level:t.level++}),t.parser.tokenize(t),t.push({type:"mark_close",level:--t.level})),t.pos=t.posMax+2,t.posMax=_,!0):(t.pos=g,!1)}],["emphasis",function tZ(t,i){var n,s,l,_,g,M,x,Y=t.posMax,K=t.pos,le=t.src.charCodeAt(K);if(95!==le&&42!==le||i)return!1;if(n=(x=t6(t,K)).delims,!x.can_open)return t.pos+=n,i||(t.pending+=t.src.slice(K,t.pos)),!0;if(t.level>=t.options.maxNesting)return!1;for(t.pos=K+n,M=[n];t.pos<Y;)if(t.src.charCodeAt(t.pos)!==le)t.parser.skipToken(t);else{if(s=(x=t6(t,t.pos)).delims,x.can_close){for(_=M.pop(),g=s;_!==g;){if(g<_){M.push(_-g);break}if(g-=_,0===M.length)break;t.pos+=_,_=M.pop()}if(0===M.length){n=_,l=!0;break}t.pos+=s;continue}x.can_open&&M.push(s),t.pos+=s}return l?(t.posMax=t.pos,t.pos=K+n,i||((2===n||3===n)&&t.push({type:"strong_open",level:t.level++}),(1===n||3===n)&&t.push({type:"em_open",level:t.level++}),t.parser.tokenize(t),(1===n||3===n)&&t.push({type:"em_close",level:--t.level}),(2===n||3===n)&&t.push({type:"strong_close",level:--t.level})),t.pos=t.posMax+n,t.posMax=Y,!0):(t.pos=K,!1)}],["sub",function rZ(t,i){var n,s,l=t.posMax,_=t.pos;if(126!==t.src.charCodeAt(_)||i||_+2>=l||t.level>=t.options.maxNesting)return!1;for(t.pos=_+1;t.pos<l;){if(126===t.src.charCodeAt(t.pos)){n=!0;break}t.parser.skipToken(t)}return!n||_+1===t.pos||(s=t.src.slice(_+1,t.pos)).match(/(^|[^\\])(\\\\)*\s/)?(t.pos=_,!1):(t.posMax=t.pos,t.pos=_+1,i||t.push({type:"sub",level:t.level,content:s.replace(nZ,"$1")}),t.pos=t.posMax+1,t.posMax=l,!0)}],["sup",function oZ(t,i){var n,s,l=t.posMax,_=t.pos;if(94!==t.src.charCodeAt(_)||i||_+2>=l||t.level>=t.options.maxNesting)return!1;for(t.pos=_+1;t.pos<l;){if(94===t.src.charCodeAt(t.pos)){n=!0;break}t.parser.skipToken(t)}return!n||_+1===t.pos||(s=t.src.slice(_+1,t.pos)).match(/(^|[^\\])(\\\\)*\s/)?(t.pos=_,!1):(t.posMax=t.pos,t.pos=_+1,i||t.push({type:"sup",level:t.level,content:s.replace(iZ,"$1")}),t.pos=t.posMax+1,t.posMax=l,!0)}],["links",function sZ(t,i){var n,s,l,_,g,M,x,Y,K=!1,le=t.pos,fe=t.posMax,ge=t.pos,Se=t.src.charCodeAt(ge);if(33===Se&&(K=!0,Se=t.src.charCodeAt(++ge)),91!==Se||t.level>=t.options.maxNesting||(n=ge+1,(s=uS(t,ge))<0))return!1;if((M=s+1)<fe&&40===t.src.charCodeAt(M)){for(M++;M<fe&&(32===(Y=t.src.charCodeAt(M))||10===Y);M++);if(M>=fe)return!1;for(ge=M,GN(t,M)?(_=t.linkContent,M=t.pos):_="",ge=M;M<fe&&(32===(Y=t.src.charCodeAt(M))||10===Y);M++);if(M<fe&&ge!==M&&YN(t,M))for(g=t.linkContent,M=t.pos;M<fe&&(32===(Y=t.src.charCodeAt(M))||10===Y);M++);else g="";if(M>=fe||41!==t.src.charCodeAt(M))return t.pos=le,!1;M++}else{if(t.linkLevel>0)return!1;for(;M<fe&&(32===(Y=t.src.charCodeAt(M))||10===Y);M++);if(M<fe&&91===t.src.charCodeAt(M)&&(ge=M+1,(M=uS(t,M))>=0?l=t.src.slice(ge,M++):M=ge-1),l||(typeof l>"u"&&(M=s+1),l=t.src.slice(n,s)),!(x=t.env.references[jN(l)]))return t.pos=le,!1;_=x.href,g=x.title}return i||(t.pos=n,t.posMax=s,K?t.push({type:"image",src:_,title:g,alt:t.src.substr(n,s-n),level:t.level}):(t.push({type:"link_open",href:_,title:g,level:t.level++}),t.linkLevel++,t.parser.tokenize(t),t.linkLevel--,t.push({type:"link_close",level:--t.level}))),t.pos=M,t.posMax=fe,!0}],["footnote_inline",function aZ(t,i){var n,s,l,_,g=t.posMax,M=t.pos;return!(M+2>=g||94!==t.src.charCodeAt(M)||91!==t.src.charCodeAt(M+1)||t.level>=t.options.maxNesting||(n=M+2,s=uS(t,M+1),s<0)||(i||(t.env.footnotes||(t.env.footnotes={}),t.env.footnotes.list||(t.env.footnotes.list=[]),l=t.env.footnotes.list.length,t.pos=n,t.posMax=s,t.push({type:"footnote_ref",id:l,level:t.level}),t.linkLevel++,_=t.tokens.length,t.parser.tokenize(t),t.env.footnotes.list[l]={tokens:t.tokens.splice(_)},t.linkLevel--),t.pos=s+1,t.posMax=g,0))}],["footnote_ref",function lZ(t,i){var n,s,l,_,g=t.posMax,M=t.pos;if(M+3>g||!t.env.footnotes||!t.env.footnotes.refs||91!==t.src.charCodeAt(M)||94!==t.src.charCodeAt(M+1)||t.level>=t.options.maxNesting)return!1;for(s=M+2;s<g;s++){if(32===t.src.charCodeAt(s)||10===t.src.charCodeAt(s))return!1;if(93===t.src.charCodeAt(s))break}return!(s===M+2||s>=g||(s++,n=t.src.slice(M+2,s-1),typeof t.env.footnotes.refs[":"+n]>"u")||(i||(t.env.footnotes.list||(t.env.footnotes.list=[]),t.env.footnotes.refs[":"+n]<0?(t.env.footnotes.list[l=t.env.footnotes.list.length]={label:n,count:0},t.env.footnotes.refs[":"+n]=l):l=t.env.footnotes.refs[":"+n],_=t.env.footnotes.list[l].count,t.env.footnotes.list[l].count++,t.push({type:"footnote_ref",id:l,subId:_,level:t.level})),t.pos=s,t.posMax=g,0))}],["autolink",function fZ(t,i){var n,s,l,_,g,M=t.pos;return!(60!==t.src.charCodeAt(M)||(n=t.src.slice(M),n.indexOf(">")<0)||((s=n.match(dZ))?cZ.indexOf(s[1].toLowerCase())<0||(_=s[0].slice(1,-1),g=ND(_),!t.parser.validateLink(_))||(i||(t.push({type:"link_open",href:g,level:t.level}),t.push({type:"text",content:_,level:t.level+1}),t.push({type:"link_close",level:t.level})),t.pos+=s[0].length,0):!(l=n.match(uZ))||(g=ND("mailto:"+(_=l[0].slice(1,-1))),!t.parser.validateLink(g)||(i||(t.push({type:"link_open",href:g,level:t.level}),t.push({type:"text",content:_,level:t.level+1}),t.push({type:"link_close",level:t.level})),t.pos+=l[0].length,0))))}],["htmltag",function AZ(t,i){var n,s,l,_=t.pos;return!(!t.options.html||(l=t.posMax,60!==t.src.charCodeAt(_)||_+2>=l)||(n=t.src.charCodeAt(_+1),33!==n&&63!==n&&47!==n&&!function OZ(t){var i=32|t;return i>=97&&i<=122}(n))||(s=t.src.slice(_).match(MZ),!s)||(i||t.push({type:"htmltag",content:t.src.slice(_,_+s[0].length),level:t.level}),t.pos+=s[0].length,0))}],["entity",function PZ(t,i){var s,l,_=t.pos,g=t.posMax;if(38!==t.src.charCodeAt(_))return!1;if(_+1<g)if(35===t.src.charCodeAt(_+1)){if(l=t.src.slice(_).match(DZ))return i||(s="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),t.pending+=xD(s)?Fb(s):Fb(65533)),t.pos+=l[0].length,!0}else if(l=t.src.slice(_).match(RZ)){var M=HN(l[1]);if(l[1]!==M)return i||(t.pending+=M),t.pos+=l[0].length,!0}return i||(t.pending+="&"),t.pos++,!0}]];function Hb(){this.ruler=new am;for(var t=0;t<HD.length;t++)this.ruler.push(HD[t][0],HD[t][1]);this.validateLink=xZ}function xZ(t){var n=t.trim().toLowerCase();return!(-1!==(n=X1(n)).indexOf(":")&&-1!==["vbscript","javascript","file","data"].indexOf(n.split(":")[0]))}Hb.prototype.skipToken=function(t){var l,_,i=this.ruler.getRules(""),n=i.length,s=t.pos;if((_=t.cacheGet(s))>0)t.pos=_;else{for(l=0;l<n;l++)if(i[l](t,!0))return void t.cacheSet(s,t.pos);t.pos++,t.cacheSet(s,t.pos)}},Hb.prototype.tokenize=function(t){for(var l,_,i=this.ruler.getRules(""),n=i.length,s=t.posMax;t.pos<s;){for(_=0;_<n&&!(l=i[_](t,!1));_++);if(l){if(t.pos>=s)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},Hb.prototype.parse=function(t,i,n,s){var l=new f0(t,this,i,n,s);this.tokenize(l)};var FZ={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},full:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}}};function n6(t,i,n){this.src=i,this.env=n,this.options=t.options,this.tokens=[],this.inlineMode=!1,this.inline=t.inline,this.block=t.block,this.renderer=t.renderer,this.typographer=t.typographer}function q1(t,i){"string"!=typeof t&&(i=t,t="default"),i&&null!=i.linkify&&console.warn("linkify option is removed. Use linkify plugin instead:\n\nimport Remarkable from 'remarkable';\nimport linkify from 'remarkable/linkify';\nnew Remarkable().use(linkify)\n"),this.inline=new Hb,this.block=new kD,this.core=new JN,this.renderer=new wD,this.ruler=new am,this.options={},this.configure(FZ[t]),this.set(i||{})}q1.prototype.set=function(t){PD(this.options,t)},q1.prototype.configure=function(t){var i=this;if(!t)throw new Error("Wrong `remarkable` preset, check name/content");t.options&&i.set(t.options),t.components&&Object.keys(t.components).forEach(function(n){t.components[n].rules&&i[n].ruler.enable(t.components[n].rules,!0)})},q1.prototype.use=function(t,i){return t(this,i),this},q1.prototype.parse=function(t,i){var n=new n6(this,t,i);return this.core.process(n),n.tokens},q1.prototype.render=function(t,i){return this.renderer.render(this.parse(t,i=i||{}),this.options,i)},q1.prototype.parseInline=function(t,i){var n=new n6(this,t,i);return n.inlineMode=!0,this.core.process(n),n.tokens},q1.prototype.renderInline=function(t,i){return this.renderer.render(this.parseInline(t,i=i||{}),this.options,i)};var Ub="NOT_FOUND",$Z=function(i,n){return i===n};function UZ(t,i){var n="object"==typeof i?i:{equalityCheck:i},s=n.equalityCheck,_=n.maxSize,g=void 0===_?1:_,M=n.resultEqualityCheck,x=function HZ(t){return function(n,s){if(null===n||null===s||n.length!==s.length)return!1;for(var l=n.length,_=0;_<l;_++)if(!t(n[_],s[_]))return!1;return!0}}(void 0===s?$Z:s),Y=1===g?function LZ(t){var i;return{get:function(s){return i&&t(i.key,s)?i.value:Ub},put:function(s,l){i={key:s,value:l}},getEntries:function(){return i?[i]:[]},clear:function(){i=void 0}}}(x):function kZ(t,i){var n=[];function s(M){var x=n.findIndex(function(K){return i(M,K.key)});if(x>-1){var Y=n[x];return x>0&&(n.splice(x,1),n.unshift(Y)),Y.value}return Ub}return{get:s,put:function l(M,x){s(M)===Ub&&(n.unshift({key:M,value:x}),n.length>t&&n.pop())},getEntries:function _(){return n},clear:function g(){n=[]}}}(g,x);function K(){var le=Y.get(arguments);if(le===Ub){if(le=t.apply(null,arguments),M){var ge=Y.getEntries().find(function(Se){return M(Se.value,le)});ge&&(le=ge.value)}Y.put(arguments,le)}return le}return K.clearCache=function(){return Y.clear()},K}function GZ(t){for(var i=arguments.length,n=new Array(i>1?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];return function(){for(var g=arguments.length,M=new Array(g),x=0;x<g;x++)M[x]=arguments[x];var K,Y=0,le={memoizeOptions:void 0},fe=M.pop();if("object"==typeof fe&&(le=fe,fe=M.pop()),"function"!=typeof fe)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof fe+"]");var Se=le.memoizeOptions,Ge=void 0===Se?n:Se,we=Array.isArray(Ge)?Ge:[Ge],He=function BZ(t){var i=Array.isArray(t[0])?t[0]:t;if(!i.every(function(s){return"function"==typeof s})){var n=i.map(function(s){return"function"==typeof s?"function "+(s.name||"unnamed")+"()":typeof s}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return i}(M),Pe=t.apply(void 0,[function(){return Y++,fe.apply(null,arguments)}].concat(we)),W=t(function(){for(var Pt=[],Jt=He.length,dn=0;dn<Jt;dn++)Pt.push(He[dn].apply(null,arguments));return K=Pe.apply(null,Pt)});return Object.assign(W,{resultFunc:fe,memoizedResultFunc:Pe,dependencies:He,lastResult:function(){return K},recomputations:function(){return Y},resetRecomputations:function(){return Y=0}}),W}}var r6=GZ(UZ),YZ=o(31536),jZ=o(2135),ZZ=o.n(jZ),zZ=o(95327),VZ=o.n(zZ),WZ=o(31208),JZ=o(3912),QZ=o.n(JZ),KZ=o(41233),XZ=o.n(KZ),qZ=o(33814),ez=o.n(qZ),tz=o(74299),nz=o.n(tz),rz=o(32322),iz=o.n(rz),oz=o(58734),sz=o.n(oz),az=o(69883),lz=o.n(az),cz=o(41205),uz=o.n(cz),dz={3978:(t,i,n)=>{t.exports=n(1910)},1543:(t,i,n)=>{n.d(i,{Z:()=>He});var s=n(863),l=n(7344),_=n(8656),g=n(6340),M=n(9972),x=n(5416),Y=n(775),K=n(5171),le=n(8818),fe=n(2565),ge=n(810);const Se=(n.d(W={},{default:()=>EI}),W);var W,Ge=n(9569),we=n(5053),He=function(Pe){(0,M.default)(It,Pe);var W=(0,x.default)(It);function It(){var Pt,Jt;(0,l.default)(this,It);for(var dn=arguments.length,Un=new Array(dn),ln=0;ln<dn;ln++)Un[ln]=arguments[ln];return Jt=W.call.apply(W,(0,K.default)(Pt=[this]).call(Pt,Un)),(0,Y.default)((0,g.default)(Jt),"getModelName",function(Xn){return-1!==(0,le.default)(Xn).call(Xn,"#/definitions/")?Xn.replace(/^.*#\/definitions\//,""):-1!==(0,le.default)(Xn).call(Xn,"#/components/schemas/")?Xn.replace(/^.*#\/components\/schemas\//,""):void 0}),(0,Y.default)((0,g.default)(Jt),"getRefSchema",function(Xn){return Jt.props.specSelectors.findDefinition(Xn)}),Jt}return(0,_.default)(It,[{key:"render",value:function(){var Pt=this.props,Jt=Pt.getComponent,dn=Pt.getConfigs,Un=Pt.specSelectors,ln=Pt.schema,Xn=Pt.required,jn=Pt.name,Wr=Pt.isRef,Ur=Pt.specPath,di=Pt.displayName,Mi=Pt.includeReadOnly,Gn=Pt.includeWriteOnly,pr=Jt("ObjectModel"),fr=Jt("ArrayModel"),Mr=Jt("PrimitiveModel"),Jn="object",ci=ln&&ln.get("$$ref");if(!jn&&ci&&(jn=this.getModelName(ci)),!ln&&ci&&(ln=this.getRefSchema(jn)),!ln)return ge.default.createElement("span",{className:"model model-title"},ge.default.createElement("span",{className:"model-title__text"},di||jn),ge.default.createElement("img",{src:n(2517),height:"20px",width:"20px"}));var ho=Un.isOAS3()&&ln.get("deprecated");switch(Wr=void 0!==Wr?Wr:!!ci,Jn=ln&&ln.get("type")||Jn){case"object":return ge.default.createElement(pr,(0,s.default)({className:"object"},this.props,{specPath:Ur,getConfigs:dn,schema:ln,name:jn,deprecated:ho,isRef:Wr,includeReadOnly:Mi,includeWriteOnly:Gn}));case"array":return ge.default.createElement(fr,(0,s.default)({className:"array"},this.props,{getConfigs:dn,schema:ln,name:jn,deprecated:ho,required:Xn,includeReadOnly:Mi,includeWriteOnly:Gn}));default:return ge.default.createElement(Mr,(0,s.default)({},this.props,{getComponent:Jt,getConfigs:dn,schema:ln,name:jn,deprecated:ho,required:Xn}))}}}]),It}(Se.default);(0,Y.default)(He,"propTypes",{schema:(0,fe.default)(Ge.default).isRequired,getComponent:we.default.func.isRequired,getConfigs:we.default.func.isRequired,specSelectors:we.default.object.isRequired,name:we.default.string,displayName:we.default.string,isRef:we.default.bool,required:we.default.bool,expandDepth:we.default.number,depth:we.default.number,specPath:Ge.default.list.isRequired,includeReadOnly:we.default.bool,includeWriteOnly:we.default.bool})},5623:(t,i,n)=>{n.d(i,{Z:()=>we});var s=n(1581),l=n(7344),_=n(8656),g=n(6340),M=n(9972),x=n(5416),Y=n(775),K=n(2740),le=n(5171),fe=n(810),ge=n(8900),Se=(n(5053),n(6298)),Ge=n(7504),we=function(Pe){(0,M.default)(It,Pe);var W=(0,x.default)(It);function It(Pt,Jt){var dn;(0,l.default)(this,It),dn=W.call(this,Pt,Jt),(0,Y.default)((0,g.default)(dn),"getDefinitionUrl",function(){return new ge.default(dn.props.specSelectors.url(),Ge.Z.location).toString()});var Un=(0,Pt.getConfigs)().validatorUrl;return dn.state={url:dn.getDefinitionUrl(),validatorUrl:void 0===Un?"https://validator.swagger.io/validator":Un},dn}return(0,_.default)(It,[{key:"UNSAFE_componentWillReceiveProps",value:function(Pt){var Jt=(0,Pt.getConfigs)().validatorUrl;this.setState({url:this.getDefinitionUrl(),validatorUrl:void 0===Jt?"https://validator.swagger.io/validator":Jt})}},{key:"render",value:function(){var Pt,Jt,dn=(0,this.props.getConfigs)().spec,Un=(0,Se.Nm)(this.state.validatorUrl);return"object"===(0,s.default)(dn)&&(0,K.default)(dn).length?null:this.state.url&&(0,Se.hW)(this.state.validatorUrl)&&(0,Se.hW)(this.state.url)?fe.default.createElement("span",{className:"float-right"},fe.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:(0,le.default)(Pt="".concat(Un,"/debug?url=")).call(Pt,encodeURIComponent(this.state.url))},fe.default.createElement(He,{src:(0,le.default)(Jt="".concat(Un,"?url=")).call(Jt,encodeURIComponent(this.state.url)),alt:"Online validator badge"}))):null}}]),It}(fe.default.Component),He=function(Pe){(0,M.default)(It,Pe);var W=(0,x.default)(It);function It(Pt){var Jt;return(0,l.default)(this,It),(Jt=W.call(this,Pt)).state={loaded:!1,error:!1},Jt}return(0,_.default)(It,[{key:"componentDidMount",value:function(){var Pt=this,Jt=new Image;Jt.onload=function(){Pt.setState({loaded:!0})},Jt.onerror=function(){Pt.setState({error:!0})},Jt.src=this.props.src}},{key:"UNSAFE_componentWillReceiveProps",value:function(Pt){var Jt=this;if(Pt.src!==this.props.src){var dn=new Image;dn.onload=function(){Jt.setState({loaded:!0})},dn.onerror=function(){Jt.setState({error:!0})},dn.src=Pt.src}}},{key:"render",value:function(){return this.state.error?fe.default.createElement("img",{alt:"Error"}):this.state.loaded?fe.default.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}]),It}(fe.default.Component)},5466:(t,i,n)=>{n.d(i,{Z:()=>Y,s:()=>K});var s=n(810),l=(n(5053),n(3952));const _=(n.d(fe={},{linkify:()=>i4}),fe),g=(le=>{var fe={};return n.d(fe,le),fe})({default:()=>s4()});var fe,M=n(8096);function x(le){var fe=le.source,ge=le.className,Se=void 0===ge?"":ge,Ge=le.getConfigs;if("string"!=typeof fe)return null;var we=new l.Remarkable({html:!0,typographer:!0,breaks:!0,linkTarget:"_blank"}).use(_.linkify);we.core.ruler.disable(["replacements","smartquotes"]);var He=Ge().useUnsafeMarkdown,Pe=we.render(fe),W=K(Pe,{useUnsafeMarkdown:He});return fe&&Pe&&W?s.default.createElement("div",{className:(0,M.default)(Se,"markdown"),dangerouslySetInnerHTML:{__html:W}}):null}g.default.addHook&&g.default.addHook("beforeSanitizeElements",function(le){return le.href&&le.setAttribute("rel","noopener noreferrer"),le}),x.defaultProps={getConfigs:function(){return{useUnsafeMarkdown:!1}}};const Y=x;function K(le){var ge=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).useUnsafeMarkdown,Se=void 0!==ge&&ge,Ge=Se,we=Se?[]:["style","class"];return Se&&!K.hasWarnedAboutDeprecation&&(console.warn("useUnsafeMarkdown display configuration parameter is deprecated since >3.26.0 and will be removed in v4.0.0."),K.hasWarnedAboutDeprecation=!0),g.default.sanitize(le,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:Ge,FORBID_ATTR:we})}K.hasWarnedAboutDeprecation=!1},5308:(t,i,n)=>{n.r(i),n.d(i,{default:()=>K});var s,l=n(29),_=n(5487),g=n(6298),M=n(8102),x=n(5102),Y={};const K=Y;(0,l.default)(s=(0,_.default)(x).call(x)).call(s,function(le){if("./index.js"!==le){var fe=x(le);Y[(0,g.Zl)(le)]=fe.default?fe.default:fe}}),Y.SafeRender=M.default},5812:(t,i,n)=>{n.r(i),n.d(i,{SHOW_AUTH_POPUP:()=>Y,AUTHORIZE:()=>K,LOGOUT:()=>le,PRE_AUTHORIZE_OAUTH2:()=>fe,AUTHORIZE_OAUTH2:()=>ge,VALIDATE:()=>Se,CONFIGURE_AUTH:()=>Ge,RESTORE_AUTHORIZATION:()=>we,showDefinitions:()=>He,authorize:()=>Pe,authorizeWithPersistOption:()=>W,logout:()=>It,logoutWithPersistOption:()=>Pt,preAuthorizeImplicit:()=>Jt,authorizeOauth2:()=>dn,authorizeOauth2WithPersistOption:()=>Un,authorizePassword:()=>ln,authorizeApplication:()=>Xn,authorizeAccessCodeWithFormParams:()=>jn,authorizeAccessCodeWithBasicAuthentication:()=>Wr,authorizeRequest:()=>Ur,configureAuth:()=>di,restoreAuthorization:()=>Mi,persistAuthorizationIfNeeded:()=>Gn,authPopup:()=>pr});var s=n(1581),l=n(313),_=n(7512),g=n(8900),M=n(7504),x=n(6298),Y="show_popup",K="authorize",le="logout",fe="pre_authorize_oauth2",ge="authorize_oauth2",Se="validate",Ge="configure_auth",we="restore_authorization";function He(fr){return{type:Y,payload:fr}}function Pe(fr){return{type:K,payload:fr}}var W=function(fr){return function(Mr){var Jn=Mr.authActions;Jn.authorize(fr),Jn.persistAuthorizationIfNeeded()}};function It(fr){return{type:le,payload:fr}}var Pt=function(fr){return function(Mr){var Jn=Mr.authActions;Jn.logout(fr),Jn.persistAuthorizationIfNeeded()}},Jt=function(fr){return function(Mr){var Jn=Mr.authActions,ci=Mr.errActions,ho=fr.auth,Yi=fr.token,lo=fr.isValid,qn=ho.name,In=ho.schema.get("flow");delete M.Z.swaggerUIRedirectOauth2,"accessCode"===In||lo||ci.newAuthErr({authId:qn,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),Yi.error?ci.newAuthErr({authId:qn,source:"auth",level:"error",message:(0,l.default)(Yi)}):Jn.authorizeOauth2WithPersistOption({auth:ho,token:Yi})}};function dn(fr){return{type:ge,payload:fr}}var Un=function(fr){return function(Mr){var Jn=Mr.authActions;Jn.authorizeOauth2(fr),Jn.persistAuthorizationIfNeeded()}},ln=function(fr){return function(Mr){var To,fs,Xo,Jn=Mr.authActions,ci=fr.schema,ho=fr.name,Yi=fr.username,lo=fr.password,yi=fr.passwordType,qn=fr.clientId,In=fr.clientSecret,Ti={grant_type:"password",scope:fr.scopes.join(" "),username:Yi,password:lo},Ji={};switch(yi){case"request-body":To=Ti,Xo=In,(fs=qn)&&(0,_.default)(To,{client_id:fs}),Xo&&(0,_.default)(To,{client_secret:Xo});break;case"basic":Ji.Authorization="Basic "+(0,x.r3)(qn+":"+In);break;default:console.warn("Warning: invalid passwordType ".concat(yi," was passed, not including client id and secret"))}return Jn.authorizeRequest({body:(0,x.GZ)(Ti),url:ci.get("tokenUrl"),name:ho,headers:Ji,query:{},auth:fr})}},Xn=function(fr){return function(Mr){var Jn=Mr.authActions,ci=fr.schema,ho=fr.scopes,Yi=fr.name,qn={Authorization:"Basic "+(0,x.r3)(fr.clientId+":"+fr.clientSecret)},In={grant_type:"client_credentials",scope:ho.join(" ")};return Jn.authorizeRequest({body:(0,x.GZ)(In),name:Yi,url:ci.get("tokenUrl"),auth:fr,headers:qn})}},jn=function(fr){var Mr=fr.auth,Jn=fr.redirectUrl;return function(ci){var Yi=Mr.schema,lo=Mr.name;return ci.authActions.authorizeRequest({body:(0,x.GZ)({grant_type:"authorization_code",code:Mr.code,client_id:Mr.clientId,client_secret:Mr.clientSecret,redirect_uri:Jn,code_verifier:Mr.codeVerifier}),name:lo,url:Yi.get("tokenUrl"),auth:Mr})}},Wr=function(fr){var Mr=fr.auth,Jn=fr.redirectUrl;return function(ci){var ho=ci.authActions,Yi=Mr.schema,lo=Mr.name,yi=Mr.clientId,In=Mr.codeVerifier,Ti={Authorization:"Basic "+(0,x.r3)(yi+":"+Mr.clientSecret)};return ho.authorizeRequest({body:(0,x.GZ)({grant_type:"authorization_code",code:Mr.code,client_id:yi,redirect_uri:Jn,code_verifier:In}),name:lo,url:Yi.get("tokenUrl"),auth:Mr,headers:Ti})}},Ur=function(fr){return function(Mr){var Jn,ci=Mr.fn,ho=Mr.getConfigs,Yi=Mr.authActions,lo=Mr.errActions,yi=Mr.oas3Selectors,qn=Mr.specSelectors,Ti=fr.body,Ji=fr.query,To=void 0===Ji?{}:Ji,fs=fr.headers,Xo=void 0===fs?{}:fs,Sa=fr.name,Aa=fr.url,to=fr.auth,No=(Mr.authSelectors.getConfigs()||{}).additionalQueryStringParams;if(qn.isOAS3()){var Uo=yi.serverEffectiveValue(yi.selectedServer());Jn=(0,g.default)(Aa,Uo,!0)}else Jn=(0,g.default)(Aa,qn.url(),!0);"object"===(0,s.default)(No)&&(Jn.query=(0,_.default)({},Jn.query,No));var rt=Jn.toString(),Ft=(0,_.default)({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},Xo);ci.fetch({url:rt,method:"post",headers:Ft,query:To,body:Ti,requestInterceptor:ho().requestInterceptor,responseInterceptor:ho().responseInterceptor}).then(function(Nt){var mr=JSON.parse(Nt.data);Nt.ok?mr&&mr.error||mr&&mr.parseError?lo.newAuthErr({authId:Sa,level:"error",source:"auth",message:(0,l.default)(mr)}):Yi.authorizeOauth2WithPersistOption({auth:to,token:mr}):lo.newAuthErr({authId:Sa,level:"error",source:"auth",message:Nt.statusText})}).catch(function(Nt){var mr=new Error(Nt).message;if(Nt.response&&Nt.response.data){var Zr=Nt.response.data;try{var ui="string"==typeof Zr?JSON.parse(Zr):Zr;ui.error&&(mr+=", error: ".concat(ui.error)),ui.error_description&&(mr+=", description: ".concat(ui.error_description))}catch{}}lo.newAuthErr({authId:Sa,level:"error",source:"auth",message:mr})})}};function di(fr){return{type:Ge,payload:fr}}function Mi(fr){return{type:we,payload:fr}}var Gn=function(){return function(fr){var Mr=fr.authSelectors;if((0,fr.getConfigs)().persistAuthorization){var Jn=Mr.authorized();localStorage.setItem("authorized",(0,l.default)(Jn.toJS()))}}},pr=function(fr,Mr){return function(){M.Z.swaggerUIRedirectOauth2=Mr,M.Z.open(fr)}}},3705:(t,i,n)=>{n.r(i),n.d(i,{default:()=>K,preauthorizeBasic:()=>le,preauthorizeApiKey:()=>fe});var s=n(775),l=n(5527),_=n(5171),g=n(3962),M=n(5812),x=n(35),Y=n(8302);function K(){return{afterLoad:function(ge){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=ge.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=(0,l.default)(fe).call(fe,null,ge),this.rootInjects.preauthorizeBasic=(0,l.default)(le).call(le,null,ge)},statePlugins:{auth:{reducers:g.default,actions:M,selectors:x},spec:{wrapActions:Y}}}}function le(ge,Se,Ge,we){var He,Pe=ge.authActions.authorize,W=ge.specSelectors,It=W.specJson,Pt=(0,W.isOAS3)()?["components","securitySchemes"]:["securityDefinitions"],Jt=It().getIn((0,_.default)(He=[]).call(He,Pt,[Se]));return Jt?Pe((0,s.default)({},Se,{value:{username:Ge,password:we},schema:Jt.toJS()})):null}function fe(ge,Se,Ge){var we,He=ge.authActions.authorize,Pe=ge.specSelectors,W=Pe.specJson,It=(0,Pe.isOAS3)()?["components","securitySchemes"]:["securityDefinitions"],Pt=W().getIn((0,_.default)(we=[]).call(we,It,[Se]));return Pt?He((0,s.default)({},Se,{value:Ge,schema:Pt.toJS()})):null}},3962:(t,i,n)=>{n.r(i),n.d(i,{default:()=>le});var s,l=n(775),_=n(9334),g=n(29),M=n(7512),x=n(9725),Y=n(6298),K=n(5812);const le=((0,l.default)(s={},K.SHOW_AUTH_POPUP,function(fe,ge){return fe.set("showDefinitions",ge.payload)}),(0,l.default)(s,K.AUTHORIZE,function(fe,ge){var Se,we=(0,x.fromJS)(ge.payload),He=fe.get("authorized")||(0,x.Map)();return(0,g.default)(Se=we.entrySeq()).call(Se,function(Pe){var W=(0,_.default)(Pe,2),It=W[0],Pt=W[1];if(!(0,Y.Wl)(Pt.getIn))return fe.set("authorized",He);var Jt=Pt.getIn(["schema","type"]);if("apiKey"===Jt||"http"===Jt)He=He.set(It,Pt);else if("basic"===Jt){var dn=Pt.getIn(["value","username"]),Un=Pt.getIn(["value","password"]);He=(He=He.setIn([It,"value"],{username:dn,header:"Basic "+(0,Y.r3)(dn+":"+Un)})).setIn([It,"schema"],Pt.get("schema"))}}),fe.set("authorized",He)}),(0,l.default)(s,K.AUTHORIZE_OAUTH2,function(fe,ge){var Se,Ge=ge.payload,we=Ge.auth;we.token=(0,M.default)({},Ge.token),Se=(0,x.fromJS)(we);var Pe=fe.get("authorized")||(0,x.Map)();return Pe=Pe.set(Se.get("name"),Se),fe.set("authorized",Pe)}),(0,l.default)(s,K.LOGOUT,function(fe,ge){var Se=ge.payload,Ge=fe.get("authorized").withMutations(function(we){(0,g.default)(Se).call(Se,function(He){we.delete(He)})});return fe.set("authorized",Ge)}),(0,l.default)(s,K.CONFIGURE_AUTH,function(fe,ge){return fe.set("configs",ge.payload)}),(0,l.default)(s,K.RESTORE_AUTHORIZATION,function(fe,ge){return fe.set("authorized",(0,x.fromJS)(ge.payload.authorized))}),s)},35:(t,i,n)=>{n.r(i),n.d(i,{shownDefinitions:()=>ge,definitionsToAuthorize:()=>Se,getDefinitionsByNames:()=>Ge,definitionsForRequirements:()=>we,authorized:()=>He,isAuthorized:()=>Pe,getConfigs:()=>W});var s=n(9334),l=n(29),_=n(6145),g=n(9963),M=n(8818),x=n(2565),Y=n(2740),K=n(8639),le=n(9725),fe=function(It){return It},ge=(0,K.createSelector)(fe,function(It){return It.get("showDefinitions")}),Se=(0,K.createSelector)(fe,function(){return function(It){var Pt,Jt=It.specSelectors.securityDefinitions()||(0,le.Map)({}),dn=(0,le.List)();return(0,l.default)(Pt=Jt.entrySeq()).call(Pt,function(Un){var ln=(0,s.default)(Un,2),Xn=ln[0],jn=ln[1],Wr=(0,le.Map)();Wr=Wr.set(Xn,jn),dn=dn.push(Wr)}),dn}}),Ge=function(It,Pt){return function(Jt){var dn,Un=Jt.specSelectors;console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.");var ln=Un.securityDefinitions(),Xn=(0,le.List)();return(0,l.default)(dn=Pt.valueSeq()).call(dn,function(jn){var Wr,Ur=(0,le.Map)();(0,l.default)(Wr=jn.entrySeq()).call(Wr,function(di){var Mi,Gn,pr=(0,s.default)(di,2),fr=pr[0],Mr=pr[1],Jn=ln.get(fr);"oauth2"===Jn.get("type")&&Mr.size&&(Mi=Jn.get("scopes"),(0,l.default)(Gn=Mi.keySeq()).call(Gn,function(ci){Mr.contains(ci)||(Mi=Mi.delete(ci))}),Jn=Jn.set("allowedScopes",Mi)),Ur=Ur.set(fr,Jn)}),Xn=Xn.push(Ur)}),Xn}},we=function(It){var Pt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,le.List)();return function(Jt){var dn=Jt.authSelectors.definitionsToAuthorize()||(0,le.List)();return(0,_.default)(dn).call(dn,function(Un){return(0,g.default)(Pt).call(Pt,function(ln){return ln.get(Un.keySeq().first())})})}},He=(0,K.createSelector)(fe,function(It){return It.get("authorized")||(0,le.Map)()}),Pe=function(It,Pt){return function(Jt){var dn,Un=Jt.authSelectors.authorized();return le.List.isList(Pt)?!!(0,_.default)(dn=Pt.toJS()).call(dn,function(ln){var Xn,jn;return-1===(0,M.default)(Xn=(0,x.default)(jn=(0,Y.default)(ln)).call(jn,function(Wr){return!!Un.get(Wr)})).call(Xn,!1)}).length:null}},W=(0,K.createSelector)(fe,function(It){return It.get("configs")})},8302:(t,i,n)=>{n.r(i),n.d(i,{execute:()=>l});var s=n(1013),l=function(_,g){var M=g.authSelectors,x=g.specSelectors;return function(Y){var K=Y.path,le=Y.method,fe=Y.operation,ge=Y.extras,Se={authorized:M.authorized()&&M.authorized().toJS(),definitions:x.securityDefinitions()&&x.securityDefinitions().toJS(),specSecurity:x.security()&&x.security().toJS()};return _((0,s.default)({path:K,method:le,operation:fe,securities:Se},ge))}}},714:(t,i,n)=>{n.r(i),n.d(i,{UPDATE_CONFIGS:()=>l,TOGGLE_CONFIGS:()=>_,update:()=>g,toggle:()=>M,loaded:()=>x});var s=n(775),l="configs_update",_="configs_toggle";function g(Y,K){return{type:l,payload:(0,s.default)({},Y,K)}}function M(Y){return{type:_,payload:Y}}var x=function(){return function(Y){var le=Y.authActions;if((0,Y.getConfigs)().persistAuthorization){var fe=localStorage.getItem("authorized");fe&&le.restoreAuthorization({authorized:JSON.parse(fe)})}}}},2256:(t,i,n)=>{n.r(i),n.d(i,{parseYamlConfig:()=>l});var s=n(626),l=function(_,g){try{return s.default.load(_)}catch(M){return g&&g.errActions.newThrownErr(new Error(M)),{}}}},1661:(t,i,n)=>{n.r(i),n.d(i,{default:()=>K});var s=n(5163),l=n(2256),_=n(714),g=n(2698),M=n(9018),x=n(7743),Y={getLocalConfig:function(){return(0,l.parseYamlConfig)(s)}};function K(){return{statePlugins:{spec:{actions:g,selectors:Y},configs:{reducers:x.default,actions:_,selectors:M}}}}},7743:(t,i,n)=>{n.r(i),n.d(i,{default:()=>M});var s,l=n(775),_=n(9725),g=n(714);const M=((0,l.default)(s={},g.UPDATE_CONFIGS,function(x,Y){return x.merge((0,_.fromJS)(Y.payload))}),(0,l.default)(s,g.TOGGLE_CONFIGS,function(x,Y){var K=Y.payload,le=x.get(K);return x.set(K,!le)}),s)},9018:(t,i,n)=>{n.r(i),n.d(i,{get:()=>l});var s=n(4163),l=function(_,g){return _.getIn((0,s.default)(g)?g:[g])}},2698:(t,i,n)=>{n.r(i),n.d(i,{downloadConfig:()=>l,getConfigByUrl:()=>_});var s=n(2256),l=function(g){return function(M){return(0,M.fn.fetch)(g)}},_=function(g,M){return function(x){var Y=x.specActions;if(g)return Y.downloadConfig(g).then(K,K);function K(le){le instanceof Error||le.status>=400?(Y.updateLoadingStatus("failedConfig"),Y.updateLoadingStatus("failedConfig"),Y.updateUrl(""),console.error(le.statusText+" "+g.url),M(null)):M((0,s.parseYamlConfig)(le.text))}}}},1970:(t,i,n)=>{n.r(i),n.d(i,{setHash:()=>s});var s=function(l){return l?history.pushState(null,null,"#".concat(l)):window.location.hash=""}},4980:(t,i,n)=>{n.r(i),n.d(i,{default:()=>g});var s=n(5858),l=n(877),_=n(4584);function g(){return[s.default,{statePlugins:{configs:{wrapActions:{loaded:function(M,x){return function(){M.apply(void 0,arguments);var Y=decodeURIComponent(window.location.hash);x.layoutActions.parseDeepLinkHash(Y)}}}}},wrapComponents:{operation:l.default,OperationTag:_.default}}]}},5858:(t,i,n)=>{n.r(i),n.d(i,{clearScrollTo:()=>Jt,default:()=>dn,parseDeepLinkHash:()=>W,readyToScroll:()=>It,scrollTo:()=>Pe,scrollToElement:()=>Pt,show:()=>He});var s=n(775),l=n(9334),_=n(4163),g=n(5171),M=n(8136),x=n(2565),Y=n(8818),K=n(1970);const le=(n.d(ln={},{default:()=>l4()}),ln);var ln,fe,ge=n(6298),Se=n(9725),Ge="layout_scroll_to",we="layout_clear_scroll",He=function(Un,ln){var Xn=ln.getConfigs,jn=ln.layoutSelectors;return function(){for(var Wr=arguments.length,Ur=new Array(Wr),di=0;di<Wr;di++)Ur[di]=arguments[di];if(Un.apply(void 0,Ur),Xn().deepLinking)try{var Mi=Ur[0],Gn=Ur[1];Mi=(0,_.default)(Mi)?Mi:[Mi];var pr=jn.urlHashArrayFromIsShownKey(Mi);if(!pr.length)return;var fr,Mr=(0,l.default)(pr,2),Jn=Mr[0],ci=Mr[1];if(!Gn)return(0,K.setHash)("/");2===pr.length?(0,K.setHash)((0,ge.oJ)((0,g.default)(fr="/".concat(encodeURIComponent(Jn),"/")).call(fr,encodeURIComponent(ci)))):1===pr.length&&(0,K.setHash)((0,ge.oJ)("/".concat(encodeURIComponent(Jn))))}catch(ho){console.error(ho)}}},Pe=function(Un){return{type:Ge,payload:(0,_.default)(Un)?Un:[Un]}},W=function(Un){return function(ln){var Xn=ln.layoutActions,jn=ln.layoutSelectors;if((0,ln.getConfigs)().deepLinking&&Un){var Wr,Ur=(0,M.default)(Un).call(Un,1);"!"===Ur[0]&&(Ur=(0,M.default)(Ur).call(Ur,1)),"/"===Ur[0]&&(Ur=(0,M.default)(Ur).call(Ur,1));var di=(0,x.default)(Wr=Ur.split("/")).call(Wr,function(Yi){return Yi||""}),Mi=jn.isShownKeyFromUrlHashArray(di),Gn=(0,l.default)(Mi,3),fr=Gn[1],Mr=void 0===fr?"":fr,Jn=Gn[2],ci=void 0===Jn?"":Jn;if("operations"===Gn[0]){var ho=jn.isShownKeyFromUrlHashArray([Mr]);(0,Y.default)(Mr).call(Mr,"_")>-1&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),Xn.show((0,x.default)(ho).call(ho,function(Yi){return Yi.replace(/_/g," ")}),!0)),Xn.show(ho,!0)}((0,Y.default)(Mr).call(Mr,"_")>-1||(0,Y.default)(ci).call(ci,"_")>-1)&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),Xn.show((0,x.default)(Mi).call(Mi,function(Yi){return Yi.replace(/_/g," ")}),!0)),Xn.show(Mi,!0),Xn.scrollTo(Mi)}}},It=function(Un,ln){return function(Xn){var jn=Xn.layoutSelectors.getScrollToKey();Se.default.is(jn,(0,Se.fromJS)(Un))&&(Xn.layoutActions.scrollToElement(ln),Xn.layoutActions.clearScrollTo())}},Pt=function(Un,ln){return function(Xn){try{ln=ln||Xn.fn.getScrollParent(Un),le.default.createScroller(ln).to(Un)}catch(jn){console.error(jn)}}},Jt=function(){return{type:we}};const dn={fn:{getScrollParent:function(Un,ln){var Xn=document.documentElement,jn=getComputedStyle(Un),Wr="absolute"===jn.position,Ur=ln?/(auto|scroll|hidden)/:/(auto|scroll)/;if("fixed"===jn.position)return Xn;for(var di=Un;di=di.parentElement;)if(jn=getComputedStyle(di),(!Wr||"static"!==jn.position)&&Ur.test(jn.overflow+jn.overflowY+jn.overflowX))return di;return Xn}},statePlugins:{layout:{actions:{scrollToElement:Pt,scrollTo:Pe,clearScrollTo:Jt,readyToScroll:It,parseDeepLinkHash:W},selectors:{getScrollToKey:function(Un){return Un.get("scrollToKey")},isShownKeyFromUrlHashArray:function(Un,ln){var Xn=(0,l.default)(ln,2),jn=Xn[0],Wr=Xn[1];return Wr?["operations",jn,Wr]:jn?["operations-tag",jn]:[]},urlHashArrayFromIsShownKey:function(Un,ln){var Xn=(0,l.default)(ln,3),jn=Xn[0],Wr=Xn[1];return"operations"==jn?[Wr,Xn[2]]:"operations-tag"==jn?[Wr]:[]}},reducers:(fe={},(0,s.default)(fe,Ge,function(Un,ln){return Un.set("scrollToKey",Se.default.fromJS(ln.payload))}),(0,s.default)(fe,we,function(Un){return Un.delete("scrollToKey")}),fe),wrapActions:{show:He}}}}},4584:(t,i,n)=>{n.r(i),n.d(i,{default:()=>le});var s=n(7344),l=n(8656),_=n(6340),g=n(9972),M=n(5416),x=n(775),Y=n(5171),K=n(810);n(5053);const le=function(fe,ge){return function(Se){(0,g.default)(we,Se);var Ge=(0,M.default)(we);function we(){var He,Pe;(0,s.default)(this,we);for(var W=arguments.length,It=new Array(W),Pt=0;Pt<W;Pt++)It[Pt]=arguments[Pt];return Pe=Ge.call.apply(Ge,(0,Y.default)(He=[this]).call(He,It)),(0,x.default)((0,_.default)(Pe),"onLoad",function(Jt){ge.layoutActions.readyToScroll(["operations-tag",Pe.props.tag],Jt)}),Pe}return(0,l.default)(we,[{key:"render",value:function(){return K.default.createElement("span",{ref:this.onLoad},K.default.createElement(fe,this.props))}}]),we}(K.default.Component)}},877:(t,i,n)=>{n.r(i),n.d(i,{default:()=>le});var s=n(7344),l=n(8656),_=n(6340),g=n(9972),M=n(5416),x=n(775),Y=n(5171),K=n(810);n(9569);const le=function(fe,ge){return function(Se){(0,g.default)(we,Se);var Ge=(0,M.default)(we);function we(){var He,Pe;(0,s.default)(this,we);for(var W=arguments.length,It=new Array(W),Pt=0;Pt<W;Pt++)It[Pt]=arguments[Pt];return Pe=Ge.call.apply(Ge,(0,Y.default)(He=[this]).call(He,It)),(0,x.default)((0,_.default)(Pe),"onLoad",function(Jt){var dn=Pe.props.operation,Un=dn.toObject(),ln=Un.tag,Xn=Un.operationId,jn=dn.toObject().isShownKey;ge.layoutActions.readyToScroll(jn=jn||["operations",ln,Xn],Jt)}),Pe}return(0,l.default)(we,[{key:"render",value:function(){return K.default.createElement("span",{ref:this.onLoad},K.default.createElement(fe,this.props))}}]),we}(K.default.Component)}},8011:(t,i,n)=>{n.r(i),n.d(i,{default:()=>le});var s=n(7512),l=n(3769),_=n(5171),g=n(8818),M=n(313),x=n(8639),Y=n(9725),K=n(7504);function le(fe){var ge=fe.fn;return{statePlugins:{spec:{actions:{download:function(Se){return function(Ge){var we=Ge.errActions,He=Ge.specSelectors,Pe=Ge.specActions,It=ge.fetch,Pt=(0,Ge.getConfigs)();function Jt(dn){if(dn instanceof Error||dn.status>=400)return Pe.updateLoadingStatus("failed"),we.newThrownErr((0,s.default)(new Error((dn.message||dn.statusText)+" "+Se),{source:"fetch"})),void(!dn.status&&dn instanceof Error&&function(){try{var Un;if("URL"in K.Z?Un=new l.default(Se):(Un=document.createElement("a")).href=Se,"https:"!==Un.protocol&&"https:"===K.Z.location.protocol){var ln=(0,s.default)(new Error("Possible mixed-content issue? The page was loaded over https:// but a ".concat(Un.protocol,"// URL was specified. Check that you are not attempting to load mixed content.")),{source:"fetch"});return void we.newThrownErr(ln)}if(Un.origin!==K.Z.location.origin){var Xn,jn=(0,s.default)(new Error((0,_.default)(Xn="Possible cross-origin (CORS) issue? The URL origin (".concat(Un.origin,") does not match the page (")).call(Xn,K.Z.location.origin,"). Check the server returns the correct 'Access-Control-Allow-*' headers.")),{source:"fetch"});we.newThrownErr(jn)}}catch{return}}());Pe.updateLoadingStatus("success"),Pe.updateSpec(dn.text),He.url()!==Se&&Pe.updateUrl(Se)}Se=Se||He.url(),Pe.updateLoadingStatus("loading"),we.clear({source:"fetch"}),It({url:Se,loadSpec:!0,requestInterceptor:Pt.requestInterceptor||function(dn){return dn},responseInterceptor:Pt.responseInterceptor||function(dn){return dn},credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(Jt,Jt)}},updateLoadingStatus:function(Se){var Ge,we=[null,"loading","failed","success","failedConfig"];return-1===(0,g.default)(we).call(we,Se)&&console.error((0,_.default)(Ge="Error: ".concat(Se," is not one of ")).call(Ge,(0,M.default)(we))),{type:"spec_update_loading_status",payload:Se}}},reducers:{spec_update_loading_status:function(Se,Ge){return"string"==typeof Ge.payload?Se.set("loadingStatus",Ge.payload):Se}},selectors:{loadingStatus:(0,x.createSelector)(function(Se){return Se||(0,Y.Map)()},function(Se){return Se.get("loadingStatus")||null})}}}}}},4966:(t,i,n)=>{n.r(i),n.d(i,{NEW_THROWN_ERR:()=>l,NEW_THROWN_ERR_BATCH:()=>_,NEW_SPEC_ERR:()=>g,NEW_SPEC_ERR_BATCH:()=>M,NEW_AUTH_ERR:()=>x,CLEAR:()=>Y,CLEAR_BY:()=>K,newThrownErr:()=>le,newThrownErrBatch:()=>fe,newSpecErr:()=>ge,newSpecErrBatch:()=>Se,newAuthErr:()=>Ge,clear:()=>we,clearBy:()=>He});var s=n(8518),l="err_new_thrown_err",_="err_new_thrown_err_batch",g="err_new_spec_err",M="err_new_spec_err_batch",x="err_new_auth_err",Y="err_clear",K="err_clear_by";function le(Pe){return{type:l,payload:(0,s.serializeError)(Pe)}}function fe(Pe){return{type:_,payload:Pe}}function ge(Pe){return{type:g,payload:Pe}}function Se(Pe){return{type:M,payload:Pe}}function Ge(Pe){return{type:x,payload:Pe}}function we(){return{type:Y,payload:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}function He(){return{type:K,payload:arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0}}}},6808:(t,i,n)=>{n.r(i),n.d(i,{default:()=>M});var s=n(6145),l=n(2565);const _=(n.d(Y={},{default:()=>u4()}),Y);var Y,g=[n(2392),n(1835)];function M(x){var Y,K={jsSpec:{}},le=(0,_.default)(g,function(fe,ge){try{var Se=ge.transform(fe,K);return(0,s.default)(Se).call(Se,function(Ge){return!!Ge})}catch(Ge){return console.error("Transformer error:",Ge),fe}},x);return(0,l.default)(Y=(0,s.default)(le).call(le,function(fe){return!!fe})).call(Y,function(fe){return!fe.get("line")&&fe.get("path"),fe})}},2392:(t,i,n)=>{n.r(i),n.d(i,{transform:()=>M});var s=n(2565),l=n(8818),_=n(8136),g=n(6785);function M(x){return(0,s.default)(x).call(x,function(Y){var K,we,le="is not of a type(s)",fe=(0,l.default)(K=Y.get("message")).call(K,le);if(fe>-1){var ge,Se,Ge=(0,_.default)(ge=Y.get("message")).call(ge,fe+le.length).split(",");return Y.set("message",(0,_.default)(Se=Y.get("message")).call(Se,0,fe)+(0,g.default)(we=Ge).call(we,function(He,Pe,W,It){return W===It.length-1&&It.length>1?He+"or "+Pe:It[W+1]&&It.length>2?He+Pe+", ":It[W+1]?He+Pe+" ":He+Pe},"should be a"))}return Y})}},1835:(t,i,n)=>{function s(l,_){return l}n.r(i),n.d(i,{transform:()=>s}),n(2565),n(8818),n(9908),n(9725)},7793:(t,i,n)=>{n.r(i),n.d(i,{default:()=>g});var s=n(3527),l=n(4966),_=n(7667);function g(M){return{statePlugins:{err:{reducers:(0,s.default)(M),actions:l,selectors:_}}}}},3527:(t,i,n)=>{n.r(i),n.d(i,{default:()=>ge});var s=n(775),l=n(7512),_=n(2565),g=n(5171),M=n(6145),x=n(7930),Y=n(4966),K=n(9725),le=n(6808),fe={line:0,level:"error",message:"Unknown error"};function ge(){var Se;return(0,s.default)(Se={},Y.NEW_THROWN_ERR,function(Ge,we){var Pe=(0,l.default)(fe,we.payload,{type:"thrown"});return Ge.update("errors",function(W){return(W||(0,K.List)()).push((0,K.fromJS)(Pe))}).update("errors",function(W){return(0,le.default)(W)})}),(0,s.default)(Se,Y.NEW_THROWN_ERR_BATCH,function(Ge,we){var He=we.payload;return He=(0,_.default)(He).call(He,function(Pe){return(0,K.fromJS)((0,l.default)(fe,Pe,{type:"thrown"}))}),Ge.update("errors",function(Pe){var W;return(0,g.default)(W=Pe||(0,K.List)()).call(W,(0,K.fromJS)(He))}).update("errors",function(Pe){return(0,le.default)(Pe)})}),(0,s.default)(Se,Y.NEW_SPEC_ERR,function(Ge,we){var Pe=(0,K.fromJS)(we.payload);return Pe=Pe.set("type","spec"),Ge.update("errors",function(W){return(W||(0,K.List)()).push((0,K.fromJS)(Pe)).sortBy(function(It){return It.get("line")})}).update("errors",function(W){return(0,le.default)(W)})}),(0,s.default)(Se,Y.NEW_SPEC_ERR_BATCH,function(Ge,we){var He=we.payload;return He=(0,_.default)(He).call(He,function(Pe){return(0,K.fromJS)((0,l.default)(fe,Pe,{type:"spec"}))}),Ge.update("errors",function(Pe){var W;return(0,g.default)(W=Pe||(0,K.List)()).call(W,(0,K.fromJS)(He))}).update("errors",function(Pe){return(0,le.default)(Pe)})}),(0,s.default)(Se,Y.NEW_AUTH_ERR,function(Ge,we){var Pe=(0,K.fromJS)((0,l.default)({},we.payload));return Pe=Pe.set("type","auth"),Ge.update("errors",function(W){return(W||(0,K.List)()).push((0,K.fromJS)(Pe))}).update("errors",function(W){return(0,le.default)(W)})}),(0,s.default)(Se,Y.CLEAR,function(Ge,we){var He,Pe=we.payload;if(!Pe||!Ge.get("errors"))return Ge;var W=(0,M.default)(He=Ge.get("errors")).call(He,function(It){var Pt;return(0,x.default)(Pt=It.keySeq()).call(Pt,function(Jt){var dn=It.get(Jt),Un=Pe[Jt];return!Un||dn!==Un})});return Ge.merge({errors:W})}),(0,s.default)(Se,Y.CLEAR_BY,function(Ge,we){var He,Pe=we.payload;if(!Pe||"function"!=typeof Pe)return Ge;var W=(0,M.default)(He=Ge.get("errors")).call(He,function(It){return Pe(It)});return Ge.merge({errors:W})}),Se}},7667:(t,i,n)=>{n.r(i),n.d(i,{allErrors:()=>_,lastError:()=>g});var s=n(9725),l=n(8639),_=(0,l.createSelector)(function(M){return M},function(M){return M.get("errors",(0,s.List)())}),g=(0,l.createSelector)(_,function(M){return M.last()})},9978:(t,i,n)=>{n.r(i),n.d(i,{default:()=>l});var s=n(4309);function l(){return{fn:{opsFilter:s.default}}}},4309:(t,i,n)=>{n.r(i),n.d(i,{default:()=>_});var s=n(6145),l=n(8818);function _(g,M){return(0,s.default)(g).call(g,function(x,Y){return-1!==(0,l.default)(Y).call(Y,M)})}},5474:(t,i,n)=>{n.r(i),n.d(i,{UPDATE_LAYOUT:()=>l,UPDATE_FILTER:()=>_,UPDATE_MODE:()=>g,SHOW:()=>M,updateLayout:()=>x,updateFilter:()=>Y,show:()=>K,changeMode:()=>le});var s=n(6298),l="layout_update_layout",_="layout_update_filter",g="layout_update_mode",M="layout_show";function x(fe){return{type:l,payload:fe}}function Y(fe){return{type:_,payload:fe}}function K(fe){var ge=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return fe=(0,s.AF)(fe),{type:M,payload:{thing:fe,shown:ge}}}function le(fe){var ge=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return fe=(0,s.AF)(fe),{type:g,payload:{thing:fe,mode:ge}}}},6821:(t,i,n)=>{n.r(i),n.d(i,{default:()=>M});var s=n(5672),l=n(5474),_=n(4400),g=n(8989);function M(){return{statePlugins:{layout:{reducers:s.default,actions:l,selectors:_},spec:{wrapSelectors:g}}}}},5672:(t,i,n)=>{n.r(i),n.d(i,{default:()=>x});var s,l=n(775),_=n(5171),g=n(9725),M=n(5474);const x=((0,l.default)(s={},M.UPDATE_LAYOUT,function(Y,K){return Y.set("layout",K.payload)}),(0,l.default)(s,M.UPDATE_FILTER,function(Y,K){return Y.set("filter",K.payload)}),(0,l.default)(s,M.SHOW,function(Y,K){var le=K.payload.shown,fe=(0,g.fromJS)(K.payload.thing);return Y.update("shown",(0,g.fromJS)({}),function(ge){return ge.set(fe,le)})}),(0,l.default)(s,M.UPDATE_MODE,function(Y,K){var le,fe=K.payload.thing,ge=K.payload.mode;return Y.setIn((0,_.default)(le=["modes"]).call(le,fe),(ge||"")+"")}),s)},4400:(t,i,n)=>{n.r(i),n.d(i,{current:()=>x,currentFilter:()=>Y,isShown:()=>K,whatMode:()=>le,showSummary:()=>fe});var s=n(2691),l=n(5171),_=n(8639),g=n(6298),M=n(9725),x=function(ge){return ge.get("layout")},Y=function(ge){return ge.get("filter")},K=function(ge,Se,Ge){return Se=(0,g.AF)(Se),ge.get("shown",(0,M.fromJS)({})).get((0,M.fromJS)(Se),Ge)},le=function(ge,Se){var Ge,we=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Se=(0,g.AF)(Se),ge.getIn((0,l.default)(Ge=["modes"]).call(Ge,(0,s.default)(Se)),we)},fe=(0,_.createSelector)(function(ge){return ge},function(ge){return!K(ge,"editor")})},8989:(t,i,n)=>{n.r(i),n.d(i,{taggedOperations:()=>_});var s=n(5171),l=n(8136),_=function(g,M){return function(x){for(var Y,K=arguments.length,le=new Array(K>1?K-1:0),fe=1;fe<K;fe++)le[fe-1]=arguments[fe];var ge=g.apply(void 0,(0,s.default)(Y=[x]).call(Y,le)),Se=M.getSystem(),Ge=Se.fn,we=Se.layoutSelectors,W=(0,Se.getConfigs)().maxDisplayedTags,It=we.currentFilter();return It&&!0!==It&&"true"!==It&&"false"!==It&&(ge=Ge.opsFilter(ge,It)),W&&!isNaN(W)&&W>=0&&(ge=(0,l.default)(ge).call(ge,0,W)),ge}}},9150:(t,i,n)=>{n.r(i),n.d(i,{default:()=>l});var s=n(5527);function l(_){var M={debug:0,info:1,log:2,warn:3,error:4},x=function(fe){return M[fe]||-1},K=x(_.configs.logLevel);function le(fe){for(var ge,Se=arguments.length,Ge=new Array(Se>1?Se-1:0),we=1;we<Se;we++)Ge[we-1]=arguments[we];x(fe)>=K&&(ge=console)[fe].apply(ge,Ge)}return le.warn=(0,s.default)(le).call(le,null,"warn"),le.error=(0,s.default)(le).call(le,null,"error"),le.info=(0,s.default)(le).call(le,null,"info"),le.debug=(0,s.default)(le).call(le,null,"debug"),{rootInjects:{log:le}}}},7002:(t,i,n)=>{n.r(i),n.d(i,{UPDATE_SELECTED_SERVER:()=>s,UPDATE_REQUEST_BODY_VALUE:()=>l,UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:()=>_,UPDATE_REQUEST_BODY_INCLUSION:()=>g,UPDATE_ACTIVE_EXAMPLES_MEMBER:()=>M,UPDATE_REQUEST_CONTENT_TYPE:()=>x,UPDATE_RESPONSE_CONTENT_TYPE:()=>Y,UPDATE_SERVER_VARIABLE_VALUE:()=>K,SET_REQUEST_BODY_VALIDATE_ERROR:()=>le,CLEAR_REQUEST_BODY_VALIDATE_ERROR:()=>fe,CLEAR_REQUEST_BODY_VALUE:()=>ge,setSelectedServer:()=>Se,setRequestBodyValue:()=>Ge,setRetainRequestBodyValueFlag:()=>we,setRequestBodyInclusion:()=>He,setActiveExamplesMember:()=>Pe,setRequestContentType:()=>W,setResponseContentType:()=>It,setServerVariableValue:()=>Pt,setRequestBodyValidateError:()=>Jt,clearRequestBodyValidateError:()=>dn,initRequestBodyValidateError:()=>Un,clearRequestBodyValue:()=>ln});var s="oas3_set_servers",l="oas3_set_request_body_value",_="oas3_set_request_body_retain_flag",g="oas3_set_request_body_inclusion",M="oas3_set_active_examples_member",x="oas3_set_request_content_type",Y="oas3_set_response_content_type",K="oas3_set_server_variable_value",le="oas3_set_request_body_validate_error",fe="oas3_clear_request_body_validate_error",ge="oas3_clear_request_body_value";function Se(Xn,jn){return{type:s,payload:{selectedServerUrl:Xn,namespace:jn}}}function Ge(Xn){return{type:l,payload:{value:Xn.value,pathMethod:Xn.pathMethod}}}var we=function(Xn){return{type:_,payload:{value:Xn.value,pathMethod:Xn.pathMethod}}};function He(Xn){return{type:g,payload:{value:Xn.value,pathMethod:Xn.pathMethod,name:Xn.name}}}function Pe(Xn){return{type:M,payload:{name:Xn.name,pathMethod:Xn.pathMethod,contextType:Xn.contextType,contextName:Xn.contextName}}}function W(Xn){return{type:x,payload:{value:Xn.value,pathMethod:Xn.pathMethod}}}function It(Xn){return{type:Y,payload:{value:Xn.value,path:Xn.path,method:Xn.method}}}function Pt(Xn){return{type:K,payload:{server:Xn.server,namespace:Xn.namespace,key:Xn.key,val:Xn.val}}}var Jt=function(Xn){return{type:le,payload:{path:Xn.path,method:Xn.method,validationErrors:Xn.validationErrors}}},dn=function(Xn){return{type:fe,payload:{path:Xn.path,method:Xn.method}}},Un=function(Xn){var jn=Xn.pathMethod;return{type:fe,payload:{path:jn[0],method:jn[1]}}},ln=function(Xn){return{type:ge,payload:{pathMethod:Xn.pathMethod}}}},3723:(t,i,n)=>{n.r(i),n.d(i,{definitionsToAuthorize:()=>ge});var fe,s=n(775),l=n(9334),_=n(5171),g=n(29),M=n(6145),x=n(6785),Y=n(8639),K=n(9725),le=n(7779),ge=(fe=(0,Y.createSelector)(function(Se){return Se},function(Se){return Se.specSelectors.securityDefinitions()},function(Se,Ge){var we,He=(0,K.List)();return Ge&&(0,g.default)(we=Ge.entrySeq()).call(we,function(Pe){var W,It=(0,l.default)(Pe,2),Pt=It[0],Jt=It[1],dn=Jt.get("type");if("oauth2"===dn&&(0,g.default)(W=Jt.get("flows").entrySeq()).call(W,function(Xn){var jn=(0,l.default)(Xn,2),Ur=jn[1],di=(0,K.fromJS)({flow:jn[0],authorizationUrl:Ur.get("authorizationUrl"),tokenUrl:Ur.get("tokenUrl"),scopes:Ur.get("scopes"),type:Jt.get("type"),description:Jt.get("description")});He=He.push(new K.Map((0,s.default)({},Pt,(0,M.default)(di).call(di,function(Mi){return void 0!==Mi}))))}),"http"!==dn&&"apiKey"!==dn||(He=He.push(new K.Map((0,s.default)({},Pt,Jt)))),"openIdConnect"===dn&&Jt.get("openIdConnectData")){var Un=Jt.get("openIdConnectData"),ln=Un.get("grant_types_supported")||["authorization_code","implicit"];(0,g.default)(ln).call(ln,function(Xn){var jn,Wr=Un.get("scopes_supported")&&(0,x.default)(jn=Un.get("scopes_supported")).call(jn,function(di,Mi){return di.set(Mi,"")},new K.Map),Ur=(0,K.fromJS)({flow:Xn,authorizationUrl:Un.get("authorization_endpoint"),tokenUrl:Un.get("token_endpoint"),scopes:Wr,type:"oauth2",openIdConnectUrl:Jt.get("openIdConnectUrl")});He=He.push(new K.Map((0,s.default)({},Pt,(0,M.default)(Ur).call(Ur,function(di){return void 0!==di}))))})}}),He}),function(Se,Ge){return function(){for(var we=Ge.getSystem().specSelectors.specJson(),He=arguments.length,Pe=new Array(He),W=0;W<He;W++)Pe[W]=arguments[W];if((0,le.isOAS3)(we)){var It,Pt=Ge.getState().getIn(["spec","resolvedSubtrees","components","securitySchemes"]);return fe.apply(void 0,(0,_.default)(It=[Ge,Pt]).call(It,Pe))}return Se.apply(void 0,Pe)}})},3427:(t,i,n)=>{n.r(i),n.d(i,{default:()=>x});var s=n(863),l=n(9334),_=n(2565),g=n(810),M=(n(5053),n(9569),n(9725));const x=function(Y){var K,le=Y.callbacks,ge=Y.specPath,Se=(0,Y.getComponent)("OperationContainer",!0);if(!le)return g.default.createElement("span",null,"No callbacks");var Ge=(0,_.default)(K=le.entrySeq()).call(K,function(we){var He,Pe=(0,l.default)(we,2),W=Pe[0],It=Pe[1];return g.default.createElement("div",{key:W},g.default.createElement("h2",null,W),(0,_.default)(He=It.entrySeq()).call(He,function(Pt){var Jt,dn=(0,l.default)(Pt,2),Un=dn[0];return"$$ref"===Un?null:g.default.createElement("div",{key:Un},(0,_.default)(Jt=dn[1].entrySeq()).call(Jt,function(Xn){var jn=(0,l.default)(Xn,2),Wr=jn[0];if("$$ref"===Wr)return null;var di=(0,M.fromJS)({operation:jn[1]});return g.default.createElement(Se,(0,s.default)({},Y,{op:di,key:Wr,tag:"",method:Wr,path:Un,specPath:ge.push(W,Un,Wr),allowTryItOut:!1}))}))}))});return g.default.createElement("div",null,Ge)}},6775:(t,i,n)=>{n.r(i),n.d(i,{default:()=>ge});var s=n(7344),l=n(8656),_=n(6340),g=n(9972),M=n(5416),x=n(775),Y=n(7512),K=n(6145),le=n(2565),fe=n(810),ge=(n(5053),function(Se){(0,g.default)(we,Se);var Ge=(0,M.default)(we);function we(He,Pe){var W;(0,s.default)(this,we),W=Ge.call(this,He,Pe),(0,x.default)((0,_.default)(W),"onChange",function(Un){var ln=W.props.onChange,Xn=Un.target,jn=Xn.value,Wr=Xn.name,Ur=(0,Y.default)({},W.state.value);Wr?Ur[Wr]=jn:Ur=jn,W.setState({value:Ur},function(){return ln(W.state)})});var It=W.props,Pt=It.name,Jt=It.schema,dn=W.getValue();return W.state={name:Pt,schema:Jt,value:dn},W}return(0,l.default)(we,[{key:"getValue",value:function(){var He=this.props,W=He.authorized;return W&&W.getIn([He.name,"value"])}},{key:"render",value:function(){var He,Pe,W=this.props,It=W.schema,Pt=W.getComponent,Jt=W.errSelectors,dn=W.name,Un=Pt("Input"),ln=Pt("Row"),Xn=Pt("Col"),jn=Pt("authError"),Wr=Pt("Markdown",!0),Ur=Pt("JumpToPath",!0),di=(It.get("scheme")||"").toLowerCase(),Mi=this.getValue(),Gn=(0,K.default)(He=Jt.allErrors()).call(He,function(Mr){return Mr.get("authId")===dn});if("basic"===di){var pr,fr=Mi?Mi.get("username"):null;return fe.default.createElement("div",null,fe.default.createElement("h4",null,fe.default.createElement("code",null,dn||It.get("name")),"\xa0 (http, Basic)",fe.default.createElement(Ur,{path:["securityDefinitions",dn]})),fr&&fe.default.createElement("h6",null,"Authorized"),fe.default.createElement(ln,null,fe.default.createElement(Wr,{source:It.get("description")})),fe.default.createElement(ln,null,fe.default.createElement("label",null,"Username:"),fr?fe.default.createElement("code",null," ",fr," "):fe.default.createElement(Xn,null,fe.default.createElement(Un,{type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),fe.default.createElement(ln,null,fe.default.createElement("label",null,"Password:"),fr?fe.default.createElement("code",null," ****** "):fe.default.createElement(Xn,null,fe.default.createElement(Un,{autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}))),(0,le.default)(pr=Gn.valueSeq()).call(pr,function(Mr,Jn){return fe.default.createElement(jn,{error:Mr,key:Jn})}))}return"bearer"===di?fe.default.createElement("div",null,fe.default.createElement("h4",null,fe.default.createElement("code",null,dn||It.get("name")),"\xa0 (http, Bearer)",fe.default.createElement(Ur,{path:["securityDefinitions",dn]})),Mi&&fe.default.createElement("h6",null,"Authorized"),fe.default.createElement(ln,null,fe.default.createElement(Wr,{source:It.get("description")})),fe.default.createElement(ln,null,fe.default.createElement("label",null,"Value:"),Mi?fe.default.createElement("code",null," ****** "):fe.default.createElement(Xn,null,fe.default.createElement(Un,{type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),(0,le.default)(Pe=Gn.valueSeq()).call(Pe,function(Mr,Jn){return fe.default.createElement(jn,{error:Mr,key:Jn})})):fe.default.createElement("div",null,fe.default.createElement("em",null,fe.default.createElement("b",null,dn)," HTTP authentication: unsupported scheme ","'".concat(di,"'")))}}]),we}(fe.default.Component))},6467:(t,i,n)=>{n.r(i),n.d(i,{default:()=>le});var s=n(3427),l=n(2458),_=n(5757),g=n(6617),M=n(9928),x=n(5327),Y=n(6775),K=n(6796);const le={Callbacks:s.default,HttpAuth:Y.default,RequestBody:l.default,Servers:g.default,ServersContainer:M.default,RequestBodyEditor:x.default,OperationServers:K.default,operationLink:_.default}},5757:(t,i,n)=>{n.r(i),n.d(i,{default:()=>K});var s=n(7344),l=n(8656),_=n(9972),g=n(5416),M=n(313),x=n(2565),Y=n(810);n(5053),n(9569);const K=function(le){(0,_.default)(ge,le);var fe=(0,g.default)(ge);function ge(){return(0,s.default)(this,ge),fe.apply(this,arguments)}return(0,l.default)(ge,[{key:"render",value:function(){var Jt,dn,Se=this.props,Ge=Se.link,we=Se.name,He=(0,Se.getComponent)("Markdown",!0),Pe=Ge.get("operationId")||Ge.get("operationRef"),W=Ge.get("parameters")&&Ge.get("parameters").toJS(),It=Ge.get("description");return Y.default.createElement("div",{className:"operation-link"},Y.default.createElement("div",{className:"description"},Y.default.createElement("b",null,Y.default.createElement("code",null,we)),It?Y.default.createElement(He,{source:It}):null),Y.default.createElement("pre",null,"Operation `",Pe,"`",Y.default.createElement("br",null),Y.default.createElement("br",null),"Parameters ",("string"!=typeof(Jt=(0,M.default)(W,null,2))?"":(0,x.default)(dn=Jt.split("\n")).call(dn,function(Un,ln){return ln>0?Array(1).join(" ")+Un:Un}).join("\n"))||"{}",Y.default.createElement("br",null)))}}]),ge}(Y.Component)},6796:(t,i,n)=>{n.r(i),n.d(i,{default:()=>fe});var s=n(1013),l=n(7344),_=n(8656),g=n(6340),M=n(9972),x=n(5416),Y=n(775),K=n(5171),le=n(810),fe=(n(5053),n(9569),function(ge){(0,M.default)(Ge,ge);var Se=(0,x.default)(Ge);function Ge(){var we,He;(0,l.default)(this,Ge);for(var Pe=arguments.length,W=new Array(Pe),It=0;It<Pe;It++)W[It]=arguments[It];return He=Se.call.apply(Se,(0,K.default)(we=[this]).call(we,W)),(0,Y.default)((0,g.default)(He),"setSelectedServer",function(Pt){var Jt,dn=He.props,Un=dn.path,ln=dn.method;return He.forceUpdate(),He.props.setSelectedServer(Pt,(0,K.default)(Jt="".concat(Un,":")).call(Jt,ln))}),(0,Y.default)((0,g.default)(He),"setServerVariableValue",function(Pt){var Jt,dn=He.props,Un=dn.path,ln=dn.method;return He.forceUpdate(),He.props.setServerVariableValue((0,s.default)((0,s.default)({},Pt),{},{namespace:(0,K.default)(Jt="".concat(Un,":")).call(Jt,ln)}))}),(0,Y.default)((0,g.default)(He),"getSelectedServer",function(){var Pt,Jt=He.props,Un=Jt.method;return He.props.getSelectedServer((0,K.default)(Pt="".concat(Jt.path,":")).call(Pt,Un))}),(0,Y.default)((0,g.default)(He),"getServerVariable",function(Pt,Jt){var dn,Un=He.props,Xn=Un.method;return He.props.getServerVariable({namespace:(0,K.default)(dn="".concat(Un.path,":")).call(dn,Xn),server:Pt},Jt)}),(0,Y.default)((0,g.default)(He),"getEffectiveServerValue",function(Pt){var Jt,dn=He.props,ln=dn.method;return He.props.getEffectiveServerValue({server:Pt,namespace:(0,K.default)(Jt="".concat(dn.path,":")).call(Jt,ln)})}),He}return(0,_.default)(Ge,[{key:"render",value:function(){var we=this.props,He=we.operationServers,Pe=we.pathServers;if(!He&&!Pe)return null;var It=(0,we.getComponent)("Servers"),Pt=He||Pe,Jt=He?"operation":"path";return le.default.createElement("div",{className:"opblock-section operation-servers"},le.default.createElement("div",{className:"opblock-section-header"},le.default.createElement("div",{className:"tab-header"},le.default.createElement("h4",{className:"opblock-title"},"Servers"))),le.default.createElement("div",{className:"opblock-description-wrapper"},le.default.createElement("h4",{className:"message"},"These ",Jt,"-level options override the global server options."),le.default.createElement(It,{servers:Pt,currentServer:this.getSelectedServer(),setSelectedServer:this.setSelectedServer,setServerVariableValue:this.setServerVariableValue,getServerVariable:this.getServerVariable,getEffectiveServerValue:this.getEffectiveServerValue})))}}]),Ge}(le.default.Component))},5327:(t,i,n)=>{n.r(i),n.d(i,{default:()=>ge});var s=n(7344),l=n(8656),_=n(6340),g=n(9972),M=n(5416),x=n(775),Y=n(810),K=(n(5053),n(8096)),le=n(6298),fe=Function.prototype,ge=function(Se){(0,g.default)(we,Se);var Ge=(0,M.default)(we);function we(He,Pe){var W;return(0,s.default)(this,we),W=Ge.call(this,He,Pe),(0,x.default)((0,_.default)(W),"applyDefaultValue",function(It){var Pt=It||W.props,Jt=Pt.onChange,dn=Pt.defaultValue;return W.setState({value:dn}),Jt(dn)}),(0,x.default)((0,_.default)(W),"onChange",function(It){W.props.onChange((0,le.Pz)(It))}),(0,x.default)((0,_.default)(W),"onDomChange",function(It){var Pt=It.target.value;W.setState({value:Pt},function(){return W.onChange(Pt)})}),W.state={value:(0,le.Pz)(He.value)||He.defaultValue},He.onChange(He.value),W}return(0,l.default)(we,[{key:"UNSAFE_componentWillReceiveProps",value:function(He){this.props.value!==He.value&&He.value!==this.state.value&&this.setState({value:(0,le.Pz)(He.value)}),!He.value&&He.defaultValue&&this.state.value&&this.applyDefaultValue(He)}},{key:"render",value:function(){var He=this.props,W=He.errors,It=this.state.value,Pt=W.size>0,Jt=(0,He.getComponent)("TextArea");return Y.default.createElement("div",{className:"body-param"},Y.default.createElement(Jt,{className:(0,K.default)("body-param__text",{invalid:Pt}),title:W.size?W.join(", "):"",value:It,onChange:this.onDomChange}))}}]),we}(Y.PureComponent);(0,x.default)(ge,"defaultProps",{onChange:fe,userHasEditedBody:!1})},2458:(t,i,n)=>{n.r(i),n.d(i,{getDefaultRequestBodyValue:()=>ge,default:()=>Se});var s=n(9334),l=n(2565),_=n(8818),g=n(2372),M=n(5171),x=n(4163),Y=n(810),K=(n(5053),n(9569),n(9725)),le=n(6298),fe=n(2518),ge=function(Ge,we,He){var Pe=Ge.getIn(["content",we]),W=Pe.get("schema").toJS(),It=void 0!==Pe.get("examples"),Pt=Pe.get("example"),Jt=It?Pe.getIn(["examples",He,"value"]):Pt,dn=(0,le.xi)(W,we,{includeWriteOnly:!0},Jt);return(0,le.Pz)(dn)};const Se=function(Ge){var we=Ge.userHasEditedBody,He=Ge.requestBody,Pe=Ge.requestBodyValue,W=Ge.requestBodyInclusionSetting,It=Ge.requestBodyErrors,Pt=Ge.getComponent,Jt=Ge.getConfigs,dn=Ge.specSelectors,Un=Ge.fn,ln=Ge.contentType,Xn=Ge.isExecute,jn=Ge.specPath,Wr=Ge.onChange,Ur=Ge.onChangeIncludeEmpty,di=Ge.activeExamplesKey,Mi=Ge.updateActiveExamplesKey,Gn=Ge.setRetainRequestBodyValueFlag,pr=function(Zr){var ui={key:Zr,shouldDispatchInit:!1,defaultValue:!0};return"no value"===W.get(Zr,"no value")&&(ui.shouldDispatchInit=!0),ui},fr=Pt("Markdown",!0),Mr=Pt("modelExample"),Jn=Pt("RequestBodyEditor"),ci=Pt("highlightCode"),ho=Pt("ExamplesSelectValueRetainer"),Yi=Pt("Example"),lo=Pt("ParameterIncludeEmpty"),yi=Jt().showCommonExtensions,qn=He&&He.get("description")||null,In=He&&He.get("content")||new K.OrderedMap;ln=ln||In.keySeq().first()||"";var Ti=In.get(ln,(0,K.OrderedMap)()),Ji=Ti.get("schema",(0,K.OrderedMap)()),To=Ti.get("examples",null),fs=null==To?void 0:(0,l.default)(To).call(To,function(Zr,ui){var no,Ca=null===(no=Zr)||void 0===no?void 0:no.get("value",null);return Ca&&(Zr=Zr.set("value",ge(He,ln,ui),Ca)),Zr});if(It=K.List.isList(It)?It:(0,K.List)(),!Ti.size)return null;var Xo="object"===Ti.getIn(["schema","type"]),Sa="binary"===Ti.getIn(["schema","format"]),Aa="base64"===Ti.getIn(["schema","format"]);if("application/octet-stream"===ln||0===(0,_.default)(ln).call(ln,"image/")||0===(0,_.default)(ln).call(ln,"audio/")||0===(0,_.default)(ln).call(ln,"video/")||Sa||Aa){var to=Pt("Input");return Xn?Y.default.createElement(to,{type:"file",onChange:function(Zr){Wr(Zr.target.files[0])}}):Y.default.createElement("i",null,"Example values are not available for ",Y.default.createElement("code",null,ln)," media types.")}if(Xo&&("application/x-www-form-urlencoded"===ln||0===(0,_.default)(ln).call(ln,"multipart/"))&&Ji.get("properties",(0,K.OrderedMap)()).size>0){var No,Uo=Pt("JsonSchemaForm"),rt=Pt("ParameterExt"),Ft=Ji.get("properties",(0,K.OrderedMap)());return Pe=K.Map.isMap(Pe)?Pe:(0,K.OrderedMap)(),Y.default.createElement("div",{className:"table-container"},qn&&Y.default.createElement(fr,{source:qn}),Y.default.createElement("table",null,Y.default.createElement("tbody",null,K.Map.isMap(Ft)&&(0,l.default)(No=Ft.entrySeq()).call(No,function(Zr){var ui,no,Ca=(0,s.default)(Zr,2),vs=Ca[0],Hl=Ca[1];if(!Hl.get("readOnly")){var Wl=yi?(0,le.po)(Hl):null,$c=(0,g.default)(ui=Ji.get("required",(0,K.List)())).call(ui,vs),Nu=Hl.get("type"),op=Hl.get("format"),hc=Hl.get("description"),yd=Pe.getIn([vs,"value"]),Gp=Pe.getIn([vs,"errors"])||It,ah=W.get(vs)||!1,w_=Hl.has("default")||Hl.has("example")||Hl.hasIn(["items","example"])||Hl.hasIn(["items","default"]),lh=Hl.has("enum")&&(1===Hl.get("enum").size||$c),Hc=w_||lh,ud="";"array"!==Nu||Hc||(ud=[]),("object"===Nu||Hc)&&(ud=(0,le.xi)(Hl,!1,{includeWriteOnly:!0})),"string"!=typeof ud&&"object"===Nu&&(ud=(0,le.Pz)(ud)),"string"==typeof ud&&"array"===Nu&&(ud=JSON.parse(ud));var u_="string"===Nu&&("binary"===op||"base64"===op);return Y.default.createElement("tr",{key:vs,className:"parameters","data-property-name":vs},Y.default.createElement("td",{className:"parameters-col_name"},Y.default.createElement("div",{className:$c?"parameter__name required":"parameter__name"},vs,$c?Y.default.createElement("span",null,"\xa0*"):null),Y.default.createElement("div",{className:"parameter__type"},Nu,op&&Y.default.createElement("span",{className:"prop-format"},"($",op,")"),yi&&Wl.size?(0,l.default)(no=Wl.entrySeq()).call(no,function(fo){var Rr,Bi=(0,s.default)(fo,2),Oo=Bi[0],ls=Bi[1];return Y.default.createElement(rt,{key:(0,M.default)(Rr="".concat(Oo,"-")).call(Rr,ls),xKey:Oo,xVal:ls})}):null),Y.default.createElement("div",{className:"parameter__deprecated"},Hl.get("deprecated")?"deprecated":null)),Y.default.createElement("td",{className:"parameters-col_description"},Y.default.createElement(fr,{source:hc}),Xn?Y.default.createElement("div",null,Y.default.createElement(Uo,{fn:Un,dispatchInitialValue:!u_,schema:Hl,description:vs,getComponent:Pt,value:void 0===yd?ud:yd,required:$c,errors:Gp,onChange:function(fo){Wr(fo,[vs])}}),$c?null:Y.default.createElement(lo,{onChange:function(fo){return Ur(vs,fo)},isIncluded:ah,isIncludedOptions:pr(vs),isDisabled:(0,x.default)(yd)?0!==yd.length:!(0,le.O2)(yd)})):null))}}))))}var Nt=ge(He,ln,di),mr=null;return(0,fe.O)(Nt)&&(mr="json"),Y.default.createElement("div",null,qn&&Y.default.createElement(fr,{source:qn}),fs?Y.default.createElement(ho,{userHasEditedBody:we,examples:fs,currentKey:di,currentUserInputValue:Pe,onSelect:function(Zr){Mi(Zr)},updateValue:Wr,defaultToFirstExample:!0,getComponent:Pt,setRetainRequestBodyValueFlag:Gn}):null,Xn?Y.default.createElement("div",null,Y.default.createElement(Jn,{value:Pe,errors:It,defaultValue:Nt,onChange:Wr,getComponent:Pt})):Y.default.createElement(Mr,{getComponent:Pt,getConfigs:Jt,specSelectors:dn,expandDepth:1,isExecute:Xn,schema:Ti.get("schema"),specPath:jn.push("content",ln),example:Y.default.createElement(ci,{className:"body-param__example",getConfigs:Jt,language:mr,value:(0,le.Pz)(Pe)||Nt}),includeWriteOnly:!0}),fs?Y.default.createElement(Yi,{example:fs.get(di),getComponent:Pt,getConfigs:Jt}):null)}},9928:(t,i,n)=>{n.r(i),n.d(i,{default:()=>x});var s=n(7344),l=n(8656),_=n(9972),g=n(5416),M=n(810),x=(n(5053),function(Y){(0,_.default)(le,Y);var K=(0,g.default)(le);function le(){return(0,s.default)(this,le),K.apply(this,arguments)}return(0,l.default)(le,[{key:"render",value:function(){var fe=this.props,Se=fe.oas3Selectors,Ge=fe.oas3Actions,we=fe.getComponent,He=fe.specSelectors.servers(),Pe=we("Servers");return He&&He.size?M.default.createElement("div",null,M.default.createElement("span",{className:"servers-title"},"Servers"),M.default.createElement(Pe,{servers:He,currentServer:Se.selectedServer(),setSelectedServer:Ge.setSelectedServer,setServerVariableValue:Ge.setServerVariableValue,getServerVariable:Se.serverVariableValue,getEffectiveServerValue:Se.serverEffectiveValue})):null}}]),le}(M.default.Component))},6617:(t,i,n)=>{n.r(i),n.d(i,{default:()=>Ge});var s=n(9334),l=n(7344),_=n(8656),g=n(6340),M=n(9972),x=n(5416),Y=n(775),K=n(5171),le=n(1778),fe=n(2565),ge=n(810),Se=n(9725),Ge=(n(5053),n(9569),function(we){(0,M.default)(Pe,we);var He=(0,x.default)(Pe);function Pe(){var W,It;(0,l.default)(this,Pe);for(var Pt=arguments.length,Jt=new Array(Pt),dn=0;dn<Pt;dn++)Jt[dn]=arguments[dn];return It=He.call.apply(He,(0,K.default)(W=[this]).call(W,Jt)),(0,Y.default)((0,g.default)(It),"onServerChange",function(Un){It.setServer(Un.target.value)}),(0,Y.default)((0,g.default)(It),"onServerVariableValueChange",function(Un){var ln=It.props,Xn=ln.setServerVariableValue,jn=ln.currentServer,Wr=Un.target.getAttribute("data-variable");"function"==typeof Xn&&Xn({server:jn,key:Wr,val:Un.target.value})}),(0,Y.default)((0,g.default)(It),"setServer",function(Un){(0,It.props.setSelectedServer)(Un)}),It}return(0,_.default)(Pe,[{key:"componentDidMount",value:function(){var W,It=this.props;It.currentServer||this.setServer(null===(W=It.servers.first())||void 0===W?void 0:W.get("url"))}},{key:"UNSAFE_componentWillReceiveProps",value:function(W){var It=this,Pt=W.servers,Jt=W.setServerVariableValue,dn=W.getServerVariable;if(this.props.currentServer!==W.currentServer||this.props.servers!==W.servers){var Un,ln=(0,le.default)(Pt).call(Pt,function(Mi){return Mi.get("url")===W.currentServer}),Xn=(0,le.default)(Un=this.props.servers).call(Un,function(Mi){return Mi.get("url")===It.props.currentServer})||(0,Se.OrderedMap)();if(!ln)return this.setServer(Pt.first().get("url"));var jn=Xn.get("variables")||(0,Se.OrderedMap)(),Wr=((0,le.default)(jn).call(jn,function(Mi){return Mi.get("default")})||(0,Se.OrderedMap)()).get("default"),Ur=ln.get("variables")||(0,Se.OrderedMap)(),di=((0,le.default)(Ur).call(Ur,function(Mi){return Mi.get("default")})||(0,Se.OrderedMap)()).get("default");(0,fe.default)(Ur).call(Ur,function(Mi,Gn){dn(W.currentServer,Gn)&&Wr===di||Jt({server:W.currentServer,key:Gn,val:Mi.get("default")||""})})}}},{key:"render",value:function(){var W,It,Pt=this,Jt=this.props,dn=Jt.servers,Un=Jt.currentServer,ln=Jt.getServerVariable,Xn=Jt.getEffectiveServerValue,jn=((0,le.default)(dn).call(dn,function(Ur){return Ur.get("url")===Un})||(0,Se.OrderedMap)()).get("variables")||(0,Se.OrderedMap)(),Wr=0!==jn.size;return ge.default.createElement("div",{className:"servers"},ge.default.createElement("label",{htmlFor:"servers"},ge.default.createElement("select",{onChange:this.onServerChange,value:Un},(0,fe.default)(W=dn.valueSeq()).call(W,function(Ur){return ge.default.createElement("option",{value:Ur.get("url"),key:Ur.get("url")},Ur.get("url"),Ur.get("description")&&" - ".concat(Ur.get("description")))}).toArray())),Wr?ge.default.createElement("div",null,ge.default.createElement("div",{className:"computed-url"},"Computed URL:",ge.default.createElement("code",null,Xn(Un))),ge.default.createElement("h4",null,"Server variables"),ge.default.createElement("table",null,ge.default.createElement("tbody",null,(0,fe.default)(It=jn.entrySeq()).call(It,function(Ur){var di,Mi=(0,s.default)(Ur,2),Gn=Mi[0],pr=Mi[1];return ge.default.createElement("tr",{key:Gn},ge.default.createElement("td",null,Gn),ge.default.createElement("td",null,pr.get("enum")?ge.default.createElement("select",{"data-variable":Gn,onChange:Pt.onServerVariableValueChange},(0,fe.default)(di=pr.get("enum")).call(di,function(fr){return ge.default.createElement("option",{selected:fr===ln(Un,Gn),key:fr,value:fr},fr)})):ge.default.createElement("input",{type:"text",value:ln(Un,Gn)||"",onChange:Pt.onServerVariableValueChange,"data-variable":Gn})))})))):null)}}]),Pe}(ge.default.Component))},7779:(t,i,n)=>{n.r(i),n.d(i,{isOAS3:()=>g,isSwagger2:()=>M,OAS3ComponentWrapFactory:()=>x});var s=n(863),l=n(3590),_=n(810);function g(Y){var K=Y.get("openapi");return"string"==typeof K&&(0,l.default)(K).call(K,"3.0.")&&K.length>4}function M(Y){var K=Y.get("swagger");return"string"==typeof K&&(0,l.default)(K).call(K,"2.0")}function x(Y){return function(K,le){return function(fe){return le&&le.specSelectors&&le.specSelectors.specJson?g(le.specSelectors.specJson())?_.default.createElement(Y,(0,s.default)({},fe,le,{Ori:K})):_.default.createElement(K,fe):(console.warn("OAS3 wrapper: couldn't get spec"),null)}}}},7451:(t,i,n)=>{n.r(i),n.d(i,{default:()=>le});var s=n(2044),l=n(3723),_=n(1741),g=n(6467),M=n(7761),x=n(7002),Y=n(5065),K=n(9666);function le(){return{components:g.default,wrapComponents:M.default,statePlugins:{spec:{wrapSelectors:s,selectors:_},auth:{wrapSelectors:l},oas3:{actions:x,reducers:K.default,selectors:Y}}}}},9666:(t,i,n)=>{n.r(i),n.d(i,{default:()=>ge});var s=n(775);const l=(n.d(Ge={},{default:()=>f4}),Ge);var Ge,_,g=n(9334),M=n(5487),x=n(8136),Y=n(29),K=n(6785),le=n(9725),fe=n(7002);const ge=((0,s.default)(_={},fe.UPDATE_SELECTED_SERVER,function(Se,Ge){var we=Ge.payload,Pe=we.namespace;return Se.setIn(Pe?[Pe,"selectedServer"]:["selectedServer"],we.selectedServerUrl)}),(0,s.default)(_,fe.UPDATE_REQUEST_BODY_VALUE,function(Se,Ge){var we=Ge.payload,He=we.value,W=(0,g.default)(we.pathMethod,2),It=W[0],Pt=W[1];if(!le.Map.isMap(He))return Se.setIn(["requestData",It,Pt,"bodyValue"],He);var Jt,dn=Se.getIn(["requestData",It,Pt,"bodyValue"])||(0,le.Map)();le.Map.isMap(dn)||(dn=(0,le.Map)());var Un=(0,M.default)(He).call(He),ln=(0,l.default)(Un),Xn=(0,x.default)(ln).call(ln,0);return(0,Y.default)(Xn).call(Xn,function(jn){var Wr=He.getIn([jn]);dn.has(jn)&&le.Map.isMap(Wr)||(Jt=dn.setIn([jn,"value"],Wr))}),Se.setIn(["requestData",It,Pt,"bodyValue"],Jt)}),(0,s.default)(_,fe.UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG,function(Se,Ge){var we=Ge.payload,He=we.value,W=(0,g.default)(we.pathMethod,2);return Se.setIn(["requestData",W[0],W[1],"retainBodyValue"],He)}),(0,s.default)(_,fe.UPDATE_REQUEST_BODY_INCLUSION,function(Se,Ge){var we=Ge.payload,He=we.value,W=we.name,It=(0,g.default)(we.pathMethod,2);return Se.setIn(["requestData",It[0],It[1],"bodyInclusion",W],He)}),(0,s.default)(_,fe.UPDATE_ACTIVE_EXAMPLES_MEMBER,function(Se,Ge){var we=Ge.payload,He=we.name,W=we.contextType,It=we.contextName,Pt=(0,g.default)(we.pathMethod,2);return Se.setIn(["examples",Pt[0],Pt[1],W,It,"activeExample"],He)}),(0,s.default)(_,fe.UPDATE_REQUEST_CONTENT_TYPE,function(Se,Ge){var we=Ge.payload,He=we.value,W=(0,g.default)(we.pathMethod,2);return Se.setIn(["requestData",W[0],W[1],"requestContentType"],He)}),(0,s.default)(_,fe.UPDATE_RESPONSE_CONTENT_TYPE,function(Se,Ge){var we=Ge.payload;return Se.setIn(["requestData",we.path,we.method,"responseContentType"],we.value)}),(0,s.default)(_,fe.UPDATE_SERVER_VARIABLE_VALUE,function(Se,Ge){var we=Ge.payload,He=we.server,Pe=we.namespace,W=we.key;return Se.setIn(Pe?[Pe,"serverVariableValues",He,W]:["serverVariableValues",He,W],we.val)}),(0,s.default)(_,fe.SET_REQUEST_BODY_VALIDATE_ERROR,function(Se,Ge){var we=Ge.payload,He=we.path,Pe=we.method,W=we.validationErrors,It=[];if(It.push("Required field is not provided"),W.missingBodyValue)return Se.setIn(["requestData",He,Pe,"errors"],(0,le.fromJS)(It));if(W.missingRequiredKeys&&W.missingRequiredKeys.length>0){var Pt=W.missingRequiredKeys;return Se.updateIn(["requestData",He,Pe,"bodyValue"],(0,le.fromJS)({}),function(Jt){return(0,K.default)(Pt).call(Pt,function(dn,Un){return dn.setIn([Un,"errors"],(0,le.fromJS)(It))},Jt)})}return console.warn("unexpected result: SET_REQUEST_BODY_VALIDATE_ERROR"),Se}),(0,s.default)(_,fe.CLEAR_REQUEST_BODY_VALIDATE_ERROR,function(Se,Ge){var we=Ge.payload,He=we.path,Pe=we.method,W=Se.getIn(["requestData",He,Pe,"bodyValue"]);if(!le.Map.isMap(W))return Se.setIn(["requestData",He,Pe,"errors"],(0,le.fromJS)([]));var It=(0,M.default)(W).call(W),Pt=(0,l.default)(It),Jt=(0,x.default)(Pt).call(Pt,0);return Jt?Se.updateIn(["requestData",He,Pe,"bodyValue"],(0,le.fromJS)({}),function(dn){return(0,K.default)(Jt).call(Jt,function(Un,ln){return Un.setIn([ln,"errors"],(0,le.fromJS)([]))},dn)}):Se}),(0,s.default)(_,fe.CLEAR_REQUEST_BODY_VALUE,function(Se,Ge){var He=(0,g.default)(Ge.payload.pathMethod,2),Pe=He[0],W=He[1],It=Se.getIn(["requestData",Pe,W,"bodyValue"]);return It?le.Map.isMap(It)?Se.setIn(["requestData",Pe,W,"bodyValue"],(0,le.Map)()):Se.setIn(["requestData",Pe,W,"bodyValue"],""):Se}),_)},5065:(t,i,n)=>{n.r(i),n.d(i,{selectedServer:()=>Ge,requestBodyValue:()=>we,shouldRetainRequestBodyValue:()=>He,hasUserEditedBody:()=>Pe,requestBodyInclusionSetting:()=>W,requestBodyErrors:()=>It,activeExamplesMember:()=>Pt,requestContentType:()=>Jt,responseContentType:()=>dn,serverVariableValue:()=>Un,serverVariables:()=>ln,serverEffectiveValue:()=>Xn,validateBeforeExecute:()=>jn,validateShallowRequired:()=>Wr});var s=n(2691),l=n(5171),_=n(2565),g=n(29),M=n(2740),x=n(8818),Y=n(9725),K=n(7779),le=n(2458),fe=n(6298);function ge(Ur){return function(){for(var di=arguments.length,Mi=new Array(di),Gn=0;Gn<di;Gn++)Mi[Gn]=arguments[Gn];return function(pr){var fr=pr.getSystem().specSelectors.specJson();return(0,K.isOAS3)(fr)?Ur.apply(void 0,Mi):null}}}var Se,Ge=ge(function(Ur,di){return Ur.getIn(di?[di,"selectedServer"]:["selectedServer"])||""}),we=ge(function(Ur,di,Mi){return Ur.getIn(["requestData",di,Mi,"bodyValue"])||null}),He=ge(function(Ur,di,Mi){return Ur.getIn(["requestData",di,Mi,"retainBodyValue"])||!1}),Pe=function(Ur,di,Mi){return function(Gn){var pr=Gn.getSystem(),fr=pr.oas3Selectors,Mr=pr.specSelectors,Jn=Mr.specJson();if((0,K.isOAS3)(Jn)){var ci=!1,ho=fr.requestContentType(di,Mi),Yi=fr.requestBodyValue(di,Mi);if(Y.Map.isMap(Yi)&&(Yi=(0,fe.Pz)(Yi.mapEntries(function(yi){return Y.Map.isMap(yi[1])?[yi[0],yi[1].get("value")]:yi}).toJS())),Y.List.isList(Yi)&&(Yi=(0,fe.Pz)(Yi)),ho){var lo=(0,le.getDefaultRequestBodyValue)(Mr.specResolvedSubtree(["paths",di,Mi,"requestBody"]),ho,fr.activeExamplesMember(di,Mi,"requestBody","requestBody"));ci=!!Yi&&Yi!==lo}return ci}return null}},W=ge(function(Ur,di,Mi){return Ur.getIn(["requestData",di,Mi,"bodyInclusion"])||(0,Y.Map)()}),It=ge(function(Ur,di,Mi){return Ur.getIn(["requestData",di,Mi,"errors"])||null}),Pt=ge(function(Ur,di,Mi,Gn,pr){return Ur.getIn(["examples",di,Mi,Gn,pr,"activeExample"])||null}),Jt=ge(function(Ur,di,Mi){return Ur.getIn(["requestData",di,Mi,"requestContentType"])||null}),dn=ge(function(Ur,di,Mi){return Ur.getIn(["requestData",di,Mi,"responseContentType"])||null}),Un=ge(function(Ur,di,Mi){var Gn;if("string"!=typeof di){var pr=di.server,fr=di.namespace;Gn=fr?[fr,"serverVariableValues",pr,Mi]:["serverVariableValues",pr,Mi]}else Gn=["serverVariableValues",di,Mi];return Ur.getIn(Gn)||null}),ln=ge(function(Ur,di){var Mi;if("string"!=typeof di){var Gn=di.server,pr=di.namespace;Mi=pr?[pr,"serverVariableValues",Gn]:["serverVariableValues",Gn]}else Mi=["serverVariableValues",di];return Ur.getIn(Mi)||(0,Y.OrderedMap)()}),Xn=ge(function(Ur,di){var Mi,Gn;if("string"!=typeof di){var fr=di.namespace;Gn=di.server,Mi=Ur.getIn(fr?[fr,"serverVariableValues",Gn]:["serverVariableValues",Gn])}else Mi=Ur.getIn(["serverVariableValues",Gn=di]);Mi=Mi||(0,Y.OrderedMap)();var Mr=Gn;return(0,_.default)(Mi).call(Mi,function(Jn,ci){Mr=Mr.replace(new RegExp("{".concat(ci,"}"),"g"),Jn)}),Mr}),jn=(Se=function(Ur,di){return Gn=(Gn=di)||[],!!Ur.getIn((0,l.default)(pr=["requestData"]).call(pr,(0,s.default)(Gn),["bodyValue"]));var Gn,pr},function(){for(var Ur=arguments.length,di=new Array(Ur),Mi=0;Mi<Ur;Mi++)di[Mi]=arguments[Mi];return function(Gn){var pr,fr,Mr=Gn.getSystem().specSelectors.specJson(),Jn=(0,l.default)(pr=[]).call(pr,di)[1]||[];return!Mr.getIn((0,l.default)(fr=["paths"]).call(fr,(0,s.default)(Jn),["requestBody","required"]))||Se.apply(void 0,di)}}),Wr=function(Ur,di){var Mi,Gn=di.oas3RequiredRequestBodyContentType,pr=di.oas3RequestContentType,fr=di.oas3RequestBodyValue,Mr=[];if(!Y.Map.isMap(fr))return Mr;var Jn=[];return(0,g.default)(Mi=(0,M.default)(Gn.requestContentType)).call(Mi,function(ci){if(ci===pr){var ho=Gn.requestContentType[ci];(0,g.default)(ho).call(ho,function(Yi){(0,x.default)(Jn).call(Jn,Yi)<0&&Jn.push(Yi)})}}),(0,g.default)(Jn).call(Jn,function(ci){fr.getIn([ci,"value"])||Mr.push(ci)}),Mr}},1741:(t,i,n)=>{n.r(i),n.d(i,{servers:()=>K,isSwagger2:()=>le});var g,s=n(8639),l=n(9725),_=n(7779),M=function(fe){return fe||(0,l.Map)()},x=(0,s.createSelector)(M,function(fe){return fe.get("json",(0,l.Map)())}),Y=(0,s.createSelector)(M,function(fe){return fe.get("resolved",(0,l.Map)())}),K=(g=(0,s.createSelector)(function(fe){var ge=Y(fe);return ge.count()<1&&(ge=x(fe)),ge},function(fe){return fe.getIn(["servers"])||(0,l.Map)()}),function(){return function(fe){var ge=fe.getSystem().specSelectors.specJson();if((0,_.isOAS3)(ge)){for(var Se=arguments.length,Ge=new Array(Se>1?Se-1:0),we=1;we<Se;we++)Ge[we-1]=arguments[we];return g.apply(void 0,Ge)}return null}}),le=function(fe,ge){return function(){var Se=ge.getSystem().specSelectors.specJson();return(0,_.isSwagger2)(Se)}}},2044:(t,i,n)=>{n.r(i),n.d(i,{definitions:()=>ge,hasHost:()=>Se,securityDefinitions:()=>Ge,host:()=>we,basePath:()=>He,consumes:()=>Pe,produces:()=>W,schemes:()=>It,servers:()=>Pt,isOAS3:()=>Jt,isSwagger2:()=>dn});var s=n(8639),l=n(3881),_=n(9725),g=n(7779);function M(Un){return function(ln,Xn){return function(){var jn=Xn.getSystem().specSelectors.specJson();return(0,g.isOAS3)(jn)?Un.apply(void 0,arguments):ln.apply(void 0,arguments)}}}var x=function(Un){return Un||(0,_.Map)()},Y=M((0,s.createSelector)(function(){return null})),K=(0,s.createSelector)(x,function(Un){return Un.get("json",(0,_.Map)())}),le=(0,s.createSelector)(x,function(Un){return Un.get("resolved",(0,_.Map)())}),fe=function(Un){var ln=le(Un);return ln.count()<1&&(ln=K(Un)),ln},ge=M((0,s.createSelector)(fe,function(Un){var ln=Un.getIn(["components","schemas"]);return _.Map.isMap(ln)?ln:(0,_.Map)()})),Se=M(function(Un){return fe(Un).hasIn(["servers",0])}),Ge=M((0,s.createSelector)(l.specJsonWithResolvedSubtrees,function(Un){return Un.getIn(["components","securitySchemes"])||null})),we=Y,He=Y,Pe=Y,W=Y,It=Y,Pt=M((0,s.createSelector)(fe,function(Un){return Un.getIn(["servers"])||(0,_.Map)()})),Jt=function(Un,ln){return function(){var Xn=ln.getSystem().specSelectors.specJson();return(0,g.isOAS3)(_.Map.isMap(Xn)?Xn:(0,_.Map)())}},dn=function(Un,ln){return function(){var Xn=ln.getSystem().specSelectors.specJson();return(0,g.isSwagger2)(_.Map.isMap(Xn)?Xn:(0,_.Map)())}}},356:(t,i,n)=>{n.r(i),n.d(i,{default:()=>M});var s=n(302),l=n(810),_=n(7779),g=["Ori"];const M=(0,_.OAS3ComponentWrapFactory)(function(x){var Y=x.Ori,K=(0,s.default)(x,g),le=K.schema,fe=K.getComponent,ge=K.errSelectors,Se=K.authorized,Ge=K.onAuthChange,we=K.name,He=fe("HttpAuth");return"http"===le.get("type")?l.default.createElement(He,{key:we,schema:le,name:we,errSelectors:ge,authorized:Se,getComponent:fe,onChange:Ge}):l.default.createElement(Y,K)})},7761:(t,i,n)=>{n.r(i),n.d(i,{default:()=>Y});var s=n(2460),l=n(356),_=n(9487),g=n(58),M=n(3499),x=n(287);const Y={Markdown:s.default,AuthItem:l.default,JsonSchema_string:x.default,VersionStamp:_.default,model:M.default,onlineValidatorBadge:g.default}},287:(t,i,n)=>{n.r(i),n.d(i,{default:()=>M});var s=n(302),l=n(810),_=n(7779),g=["Ori"];const M=(0,_.OAS3ComponentWrapFactory)(function(x){var Y=x.Ori,K=(0,s.default)(x,g),le=K.schema,fe=K.getComponent,ge=K.errors,Se=K.onChange,Ge=le&&le.get?le.get("format"):null,we=le&&le.get?le.get("type"):null,He=fe("Input");return we&&"string"===we&&Ge&&("binary"===Ge||"base64"===Ge)?l.default.createElement(He,{type:"file",className:ge.length?"invalid":"",title:ge.length?ge:"",onChange:function(Pe){Se(Pe.target.files[0])},disabled:Y.isDisabled}):l.default.createElement(Y,K)})},2460:(t,i,n)=>{n.r(i),n.d(i,{Markdown:()=>K,default:()=>le});var s=n(5942),l=n(810),_=(n(5053),n(8096)),g=n(3952),M=n(7779),x=n(5466),Y=new g.Remarkable("commonmark");Y.block.ruler.enable(["table"]),Y.set({linkTarget:"_blank"});var K=function(fe){var ge=fe.source,Se=fe.className,Ge=void 0===Se?"":Se;if("string"!=typeof ge)return null;if(ge){var He,Pe=(0,fe.getConfigs)().useUnsafeMarkdown,W=Y.render(ge),It=(0,x.s)(W,{useUnsafeMarkdown:Pe});return"string"==typeof It&&(He=(0,s.default)(It).call(It)),l.default.createElement("div",{dangerouslySetInnerHTML:{__html:He},className:(0,_.default)(Ge,"renderedMarkdown")})}return null};K.defaultProps={getConfigs:function(){return{useUnsafeMarkdown:!1}}};const le=(0,M.OAS3ComponentWrapFactory)(K)},3499:(t,i,n)=>{n.r(i),n.d(i,{default:()=>fe});var s=n(863),l=n(7344),_=n(8656),g=n(9972),M=n(5416),x=n(810),Y=(n(5053),n(7779)),K=n(1543),le=function(ge){(0,g.default)(Ge,ge);var Se=(0,M.default)(Ge);function Ge(){return(0,l.default)(this,Ge),Se.apply(this,arguments)}return(0,_.default)(Ge,[{key:"render",value:function(){var we=this.props,He=we.getConfigs,Pe=["model-box"],W=null;return!0===we.schema.get("deprecated")&&(Pe.push("deprecated"),W=x.default.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),x.default.createElement("div",{className:Pe.join(" ")},W,x.default.createElement(K.Z,(0,s.default)({},this.props,{getConfigs:He,depth:1,expandDepth:this.props.expandDepth||0})))}}]),Ge}(x.Component);const fe=(0,Y.OAS3ComponentWrapFactory)(le)},58:(t,i,n)=>{n.r(i),n.d(i,{default:()=>_});var s=n(7779),l=n(5623);const _=(0,s.OAS3ComponentWrapFactory)(l.Z)},9487:(t,i,n)=>{n.r(i),n.d(i,{default:()=>l});var s=n(810);const l=(0,n(7779).OAS3ComponentWrapFactory)(function(_){return s.default.createElement("span",null,s.default.createElement(_.Ori,_),s.default.createElement("small",{className:"version-stamp"},s.default.createElement("pre",{className:"version"},"OAS3")))})},8560:(t,i,n)=>{n.r(i),n.d(i,{default:()=>_});var s=n(6235),l=!1;function _(){return{statePlugins:{spec:{wrapActions:{updateSpec:function(g){return function(){return l=!0,g.apply(void 0,arguments)}},updateJsonSpec:function(g,M){return function(){var x=M.getConfigs().onComplete;return l&&"function"==typeof x&&((0,s.default)(x,0),l=!1),g.apply(void 0,arguments)}}}}}}}},4624:(t,i,n)=>{n.r(i),n.d(i,{requestSnippetGenerator_curl_bash:()=>dn,requestSnippetGenerator_curl_cmd:()=>Un,requestSnippetGenerator_curl_powershell:()=>Jt});var s=n(2691),l=n(9334),_=n(3248),g=n(8818),M=n(5942),x=n(5171),Y=n(313),K=n(2565);const le=(n.d(Xn={},{default:()=>_4()}),Xn);var Xn,fe=n(2954),ge=n(2372),Se=n(7504),Ge=n(9725),we=function(ln){var Xn;return(0,g.default)(ln).call(ln,"_**[]")<0?ln:(0,M.default)(Xn=ln.split("_**[]")[0]).call(Xn)},He=function(ln){return"-d "===ln||/^[_\/-]/g.test(ln)?ln:"'"+ln.replace(/'/g,"'\\''")+"'"},Pe=function(ln){return"-d "===(ln=ln.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,"^\n"))?ln.replace(/-d /g,"-d ^\n"):/^[_\/-]/g.test(ln)?ln:'"'+ln+'"'},W=function(ln){return"-d "===ln?ln:/\n/.test(ln)?'@"\n'+ln.replace(/"/g,'\\"').replace(/`/g,"``").replace(/\$/,"`$")+'\n"@':/^[_\/-]/g.test(ln)?ln:"'"+ln.replace(/"/g,'""').replace(/'/g,"''")+"'"},Pt=function(ln,Xn,jn){var Wr=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",Ur=!1,di="",Mi=function(){for(var Nt=arguments.length,mr=new Array(Nt),Zr=0;Zr<Nt;Zr++)mr[Zr]=arguments[Zr];return di+=" "+(0,K.default)(mr).call(mr,Xn).join(" ")},Gn=function(){for(var Nt=arguments.length,mr=new Array(Nt),Zr=0;Zr<Nt;Zr++)mr[Zr]=arguments[Zr];return di+=(0,K.default)(mr).call(mr,Xn).join(" ")},pr=function(){return di+=" ".concat(jn)},fr=function(){var mr=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return di+=(0,le.default)(" ").call(" ",mr)},Mr=ln.get("headers");if(di+="curl"+Wr,ln.has("curlOptions")&&Mi.apply(void 0,(0,s.default)(ln.get("curlOptions"))),Mi("-X",ln.get("method")),pr(),fr(),Gn("".concat(ln.get("url"))),Mr&&Mr.size){var Jn,ci,ho=(0,_.default)((0,fe.default)(Jn=ln.get("headers")).call(Jn));try{for(ho.s();!(ci=ho.n()).done;){var Yi,lo=ci.value;pr(),fr();var yi=(0,l.default)(lo,2),qn=yi[0],In=yi[1];Gn("-H",(0,x.default)(Yi="".concat(qn,": ")).call(Yi,In)),Ur=Ur||/^content-type$/i.test(qn)&&/^multipart\/form-data$/i.test(In)}}catch(Nt){ho.e(Nt)}finally{ho.f()}}var Ti,Ji=ln.get("body");if(Ji)if(Ur&&(0,ge.default)(Ti=["POST","PUT","PATCH"]).call(Ti,ln.get("method"))){var To,fs=(0,_.default)(Ji.entrySeq());try{for(fs.s();!(To=fs.n()).done;){var Xo,Sa,Aa,to=(0,l.default)(To.value,2),Uo=to[1],rt=we(to[0]);pr(),fr(),Gn("-F"),Mi(Uo instanceof Se.Z.File?(0,x.default)(Xo=(0,x.default)(Sa="".concat(rt,"=@")).call(Sa,Uo.name)).call(Xo,Uo.type?";type=".concat(Uo.type):""):(0,x.default)(Aa="".concat(rt,"=")).call(Aa,Uo))}}catch(Nt){fs.e(Nt)}finally{fs.f()}}else if(Ji instanceof Se.Z.File)pr(),fr(),Gn("--data-binary '@".concat(Ji.name,"'"));else{pr(),fr(),Gn("-d ");var Ft=Ji;Ge.Map.isMap(Ft)?Gn(function It(ln){var Xn,jn=[],Wr=(0,_.default)(ln.get("body").entrySeq());try{for(Wr.s();!(Xn=Wr.n()).done;){var Ur,di,Mi,Gn=(0,l.default)(Xn.value,2),fr=Gn[1],Mr=we(Gn[0]);jn.push(fr instanceof Se.Z.File?(0,x.default)(Ur=(0,x.default)(di=' "'.concat(Mr,'": {\n "name": "')).call(di,fr.name,'"')).call(Ur,fr.type?',\n "type": "'.concat(fr.type,'"'):"","\n }"):(0,x.default)(Mi=' "'.concat(Mr,'": ')).call(Mi,(0,Y.default)(fr,null,2).replace(/(\r\n|\r|\n)/g,"\n ")))}}catch(Jn){Wr.e(Jn)}finally{Wr.f()}return"{\n".concat(jn.join(",\n"),"\n}")}(ln)):("string"!=typeof Ft&&(Ft=(0,Y.default)(Ft)),Gn(Ft))}else Ji||"POST"!==ln.get("method")||(pr(),fr(),Gn("-d ''"));return di},Jt=function(ln){return Pt(ln,W,"`\n",".exe")},dn=function(ln){return Pt(ln,He,"\\\n")},Un=function(ln){return Pt(ln,Pe,"^\n")}},6575:(t,i,n)=>{n.r(i),n.d(i,{default:()=>g});var s=n(4624),l=n(4669),_=n(4206);const g=function(){return{components:{RequestSnippets:_.default},fn:s,statePlugins:{requestSnippets:{selectors:l}}}}},4206:(t,i,n)=>{n.r(i),n.d(i,{default:()=>Ge});var s=n(9334),l=n(6145),_=n(8898),g=n(29),M=n(2565),x=n(810),Y=(n(5053),n(9908)),K=n(7068),le=n(9874),fe=n(471),ge={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(250, 250, 250)",paddingBottom:"0",paddingTop:"0",border:"1px solid rgb(51, 51, 51)",borderRadius:"4px 4px 0 0",boxShadow:"none",borderBottom:"none"},Se={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(51, 51, 51)",boxShadow:"none",border:"1px solid rgb(51, 51, 51)",paddingBottom:"0",paddingTop:"0",borderRadius:"4px 4px 0 0",marginTop:"-5px",marginRight:"-5px",marginLeft:"-5px",zIndex:"9999",borderBottom:"none"};const Ge=function(we){var He,Pe,W=we.request,It=we.requestSnippetsSelectors,Pt=we.getConfigs,Jt=(0,K.default)(Pt)?Pt():null,dn=!1!==(0,Y.default)(Jt,"syntaxHighlight")&&(0,Y.default)(Jt,"syntaxHighlight.activated",!0),Un=(0,x.useRef)(null),ln=(0,x.useState)(null===(He=It.getSnippetGenerators())||void 0===He?void 0:He.keySeq().first()),Xn=(0,s.default)(ln,2),jn=Xn[0],Wr=Xn[1],Ur=(0,x.useState)(It?.getDefaultExpanded()),di=(0,s.default)(Ur,2),Mi=di[0],Gn=di[1];(0,x.useEffect)(function(){},[]),(0,x.useEffect)(function(){var lo,yi=(0,l.default)(lo=(0,_.default)(Un.current.childNodes)).call(lo,function(qn){var In;return!!qn.nodeType&&(null===(In=qn.classList)||void 0===In?void 0:In.contains("curl-command"))});return(0,g.default)(yi).call(yi,function(qn){return qn.addEventListener("mousewheel",ho,{passive:!1})}),function(){(0,g.default)(yi).call(yi,function(qn){return qn.removeEventListener("mousewheel",ho)})}},[W]);var pr=It.getSnippetGenerators(),fr=pr.get(jn),Mr=fr.get("fn")(W),Jn=function(){Gn(!Mi)},ci=function(lo){return lo===jn?Se:ge},ho=function(lo){var yi=lo.target,qn=lo.deltaY,In=yi.scrollHeight,Ti=yi.offsetHeight,Ji=yi.scrollTop;In>Ti&&(0===Ji&&qn<0||Ti+Ji>=In&&qn>0)&&lo.preventDefault()},Yi=dn?x.default.createElement(fe.d3,{language:fr.get("syntax"),className:"curl microlight",style:(0,fe.C2)((0,Y.default)(Jt,"syntaxHighlight.theme"))},Mr):x.default.createElement("textarea",{readOnly:!0,className:"curl",value:Mr});return x.default.createElement("div",{className:"request-snippets",ref:Un},x.default.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},x.default.createElement("h4",{onClick:function(){return Jn()},style:{cursor:"pointer"}},"Snippets"),x.default.createElement("button",{onClick:function(){return Jn()},style:{border:"none",background:"none"},title:Mi?"Collapse operation":"Expand operation"},x.default.createElement("svg",{className:"arrow",width:"10",height:"10"},x.default.createElement("use",{href:Mi?"#large-arrow-down":"#large-arrow",xlinkHref:Mi?"#large-arrow-down":"#large-arrow"})))),Mi&&x.default.createElement("div",{className:"curl-command"},x.default.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},(0,M.default)(Pe=pr.entrySeq()).call(Pe,function(lo){var yi=(0,s.default)(lo,2),qn=yi[0],In=yi[1];return x.default.createElement("div",{style:ci(qn),className:"btn",key:qn,onClick:function(){var Ti;jn!==(Ti=qn)&&Wr(Ti)}},x.default.createElement("h4",{style:qn===jn?{color:"white"}:{}},In.get("title")))})),x.default.createElement("div",{className:"copy-to-clipboard"},x.default.createElement(le.CopyToClipboard,{text:Mr},x.default.createElement("button",null))),x.default.createElement("div",null,Yi)))}},4669:(t,i,n)=>{n.r(i),n.d(i,{getGenerators:()=>Y,getSnippetGenerators:()=>K,getActiveLanguage:()=>le,getDefaultExpanded:()=>fe});var s=n(6145),l=n(2372),_=n(2565),g=n(8639),M=n(9725),x=function(ge){return ge||(0,M.Map)()},Y=(0,g.createSelector)(x,function(ge){var Se=ge.get("languages"),Ge=ge.get("generators",(0,M.Map)());return!Se||Se.isEmpty()?Ge:(0,s.default)(Ge).call(Ge,function(we,He){return(0,l.default)(Se).call(Se,He)})}),K=function(ge){return function(Se){var Ge,we,He=Se.fn;return(0,s.default)(Ge=(0,_.default)(we=Y(ge)).call(we,function(Pe,W){var It=He["requestSnippetGenerator_".concat(W)];return"function"!=typeof It?null:Pe.set("fn",It)})).call(Ge,function(Pe){return Pe})}},le=(0,g.createSelector)(x,function(ge){return ge.get("activeLanguage")}),fe=(0,g.createSelector)(x,function(ge){return ge.get("defaultExpanded")})},6195:(t,i,n)=>{n.r(i),n.d(i,{ErrorBoundary:()=>le,default:()=>fe});var s=n(7344),l=n(8656),_=n(9972),g=n(5416),M=n(5171),x=(n(5053),n(810)),Y=n(6189),K=n(9403),le=function(ge){(0,_.default)(Ge,ge);var Se=(0,g.default)(Ge);function Ge(){var we,He;(0,s.default)(this,Ge);for(var Pe=arguments.length,W=new Array(Pe),It=0;It<Pe;It++)W[It]=arguments[It];return(He=Se.call.apply(Se,(0,M.default)(we=[this]).call(we,W))).state={hasError:!1,error:null},He}return(0,l.default)(Ge,[{key:"componentDidCatch",value:function(we,He){this.props.fn.componentDidCatch(we,He)}},{key:"render",value:function(){var we=this.props,Pe=we.targetName,W=we.children;if(this.state.hasError){var It=(0,we.getComponent)("Fallback");return x.default.createElement(It,{name:Pe})}return W}}],[{key:"getDerivedStateFromError",value:function(we){return{hasError:!0,error:we}}}]),Ge}(x.Component);le.defaultProps={targetName:"this component",getComponent:function(){return K.default},fn:{componentDidCatch:Y.componentDidCatch},children:null};const fe=le},9403:(t,i,n)=>{n.r(i),n.d(i,{default:()=>l});var s=n(810);n(5053);const l=function(_){var g=_.name;return s.default.createElement("div",{className:"fallback"},"\u{1f631} ",s.default.createElement("i",null,"Could not render ","t"===g?"this component":g,", see the console."))}},6189:(t,i,n)=>{n.r(i),n.d(i,{componentDidCatch:()=>Y,withErrorBoundary:()=>K});var s=n(863),l=n(7344),_=n(8656),g=n(9972),M=n(5416),x=n(810),Y=console.error,K=function(le){return function(fe){var ge,Se=le(),Ge=Se.getComponent,we=Se.fn,He=Ge("ErrorBoundary"),Pe=we.getDisplayName(fe),W=function(It){(0,g.default)(Jt,It);var Pt=(0,M.default)(Jt);function Jt(){return(0,l.default)(this,Jt),Pt.apply(this,arguments)}return(0,_.default)(Jt,[{key:"render",value:function(){return x.default.createElement(He,{targetName:Pe,getComponent:Ge,fn:we},x.default.createElement(fe,(0,s.default)({},this.props,this.context)))}}]),Jt}(x.Component);return W.displayName="WithErrorBoundary(".concat(Pe,")"),(ge=fe).prototype&&ge.prototype.isReactComponent&&(W.prototype.mapStateToProps=fe.prototype.mapStateToProps),W}}},8102:(t,i,n)=>{n.r(i),n.d(i,{default:()=>K});var s=n(2691),l=n(5171);const _=(n.d(fe={},{default:()=>m4()}),fe),g=(le=>{var fe={};return n.d(fe,le),fe})({default:()=>v4()});var fe,M=n(6195),x=n(9403),Y=n(6189);const K=function(){var le=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},fe=le.componentList,ge=void 0===fe?[]:fe,Se=le.fullOverride,Ge=void 0!==Se&&Se;return function(we){var He,Pe,W=we.getSystem,It=Ge?ge:(0,l.default)(He=[]).call(He,["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper"],(0,s.default)(ge)),Pt=(0,g.default)(It,(0,_.default)(Pe=Array(It.length)).call(Pe,function(Jt,dn){return dn.fn.withErrorBoundary(Jt)}));return{fn:{componentDidCatch:Y.componentDidCatch,withErrorBoundary:(0,Y.withErrorBoundary)(W)},components:{ErrorBoundary:M.default,Fallback:x.default},wrapComponents:Pt}}}},2473:(t,i,n)=>{n.r(i),n.d(i,{createXMLExample:()=>di,inferSchema:()=>Ur,memoizedCreateXMLExample:()=>pr,memoizedSampleFromSchema:()=>fr,sampleFromSchema:()=>Mi,sampleFromSchemaGeneric:()=>Wr});var s=n(1581),l=n(5171),_=n(8818),g=n(29),M=n(4163),x=n(2372),Y=n(9963),K=n(8136),le=n(1778),fe=n(2565),ge=n(313),Se=n(3479),Ge=n.n(Se);const we=(n.d(Jn={},{default:()=>E4()}),Jn),He=(Mr=>{var Jn={};return n.d(Jn,Mr),Jn})({default:()=>C4()});var Jn,Pe=n(6298),W=n(8287),It={string:function(Mr){return Mr.pattern?function(Jn){try{return new we.default(Jn).gen()}catch{return"string"}}(Mr.pattern):"string"},string_email:function(){return"user@example.com"},"string_date-time":function(){return(new Date).toISOString()},string_date:function(){return(new Date).toISOString().substring(0,10)},string_uuid:function(){return"3fa85f64-5717-4562-b3fc-2c963f66afa6"},string_hostname:function(){return"example.com"},string_ipv4:function(){return"198.51.100.42"},string_ipv6:function(){return"2001:0db8:5b96:0000:0000:426f:8e17:642a"},number:function(){return 0},number_float:function(){return 0},integer:function(){return 0},boolean:function(Mr){return"boolean"!=typeof Mr.default||Mr.default}},Pt=function(Mr){var Jn,ci=Mr=(0,Pe.mz)(Mr),ho=ci.type,Yi=ci.format,lo=It[(0,l.default)(Jn="".concat(ho,"_")).call(Jn,Yi)]||It[ho];return(0,Pe.Wl)(lo)?lo(Mr):"Unknown Type: "+Mr.type},Jt=function(Mr){return(0,Pe.XV)(Mr,"$$ref",function(Jn){return"string"==typeof Jn&&(0,_.default)(Jn).call(Jn,"#")>-1})},dn=["maxProperties","minProperties"],Un=["minItems","maxItems"],ln=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],Xn=["minLength","maxLength"],jn=function Mr(Jn,ci){var ho,Yi,lo,yi=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if((0,g.default)(ho=(0,l.default)(Yi=["example","default","enum","xml","type"]).call(Yi,dn,Un,ln,Xn)).call(ho,function(To){return function(To){void 0===ci[To]&&void 0!==Jn[To]&&(ci[To]=Jn[To])}(To)}),void 0!==Jn.required&&(0,M.default)(Jn.required)&&(void 0!==ci.required&&ci.required.length||(ci.required=[]),(0,g.default)(lo=Jn.required).call(lo,function(To){var fs;(0,x.default)(fs=ci.required).call(fs,To)||ci.required.push(To)})),Jn.properties){ci.properties||(ci.properties={});var In=(0,Pe.mz)(Jn.properties);for(var Ti in In){var Ji;Object.prototype.hasOwnProperty.call(In,Ti)&&(!In[Ti]||!In[Ti].deprecated)&&(!In[Ti]||!In[Ti].readOnly||yi.includeReadOnly)&&(!In[Ti]||!In[Ti].writeOnly||yi.includeWriteOnly)&&(ci.properties[Ti]||(ci.properties[Ti]=In[Ti],!Jn.required&&(0,M.default)(Jn.required)&&-1!==(0,_.default)(Ji=Jn.required).call(Ji,Ti)&&(ci.required?ci.required.push(Ti):ci.required=[Ti])))}}return Jn.items&&(ci.items||(ci.items={}),ci.items=Mr(Jn.items,ci.items,yi)),ci},Wr=function Mr(Jn){var ci=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ho=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,Yi=arguments.length>3&&void 0!==arguments[3]&&arguments[3];Jn&&(0,Pe.Wl)(Jn.toJS)&&(Jn=Jn.toJS());var lo=void 0!==ho||Jn&&void 0!==Jn.example||Jn&&void 0!==Jn.default,yi=!lo&&Jn&&Jn.oneOf&&Jn.oneOf.length>0;if(!lo&&(yi||!lo&&Jn&&Jn.anyOf&&Jn.anyOf.length>0)){var In=(0,Pe.mz)(yi?Jn.oneOf[0]:Jn.anyOf[0]);if(jn(In,Jn,ci),!Jn.xml&&In.xml&&(Jn.xml=In.xml),void 0!==Jn.example&&void 0!==In.example)lo=!0;else if(In.properties){Jn.properties||(Jn.properties={});var Ti=(0,Pe.mz)(In.properties);for(var Ji in Ti){var To;Object.prototype.hasOwnProperty.call(Ti,Ji)&&(!Ti[Ji]||!Ti[Ji].deprecated)&&(!Ti[Ji]||!Ti[Ji].readOnly||ci.includeReadOnly)&&(!Ti[Ji]||!Ti[Ji].writeOnly||ci.includeWriteOnly)&&(Jn.properties[Ji]||(Jn.properties[Ji]=Ti[Ji],!In.required&&(0,M.default)(In.required)&&-1!==(0,_.default)(To=In.required).call(To,Ji)&&(Jn.required?Jn.required.push(Ji):Jn.required=[Ji])))}}}var fs,Xo={},Sa=Jn||{},Aa=Sa.xml,to=Sa.type,No=Sa.example,Uo=Sa.properties,rt=Sa.additionalProperties,Ft=Sa.items,Nt=ci.includeReadOnly,mr=ci.includeWriteOnly,Zr=Aa=Aa||{},ui=Zr.name,no=Zr.prefix,Ca=Zr.namespace,vs={};Yi&&(fs=(no?no+":":"")+(ui=ui||"notagname"),Ca)&&(Xo[no?"xmlns:"+no:"xmlns"]=Ca),Yi&&(vs[fs]=[]);var Wl=function(po){return(0,Y.default)(po).call(po,function(sa){return Object.prototype.hasOwnProperty.call(Jn,sa)})};Jn&&!to&&(Uo||rt||Wl(dn)?to="object":Ft||Wl(Un)?to="array":Wl(ln)?(to="number",Jn.type="number"):lo||Jn.enum||(to="string",Jn.type="string"));var $c,Nu,op=function(po){var sa,Fs,Jc,ql,Yl;if(null!==(null===(sa=Jn)||void 0===sa?void 0:sa.maxItems)&&void 0!==(null===(Fs=Jn)||void 0===Fs?void 0:Fs.maxItems)&&(po=(0,K.default)(po).call(po,0,null===(Yl=Jn)||void 0===Yl?void 0:Yl.maxItems)),null!==(null===(Jc=Jn)||void 0===Jc?void 0:Jc.minItems)&&void 0!==(null===(ql=Jn)||void 0===ql?void 0:ql.minItems))for(var Cl=0;po.length<(null===(ul=Jn)||void 0===ul?void 0:ul.minItems);){var ul;po.push(po[Cl++%po.length])}return po},hc=(0,Pe.mz)(Uo),yd=0,Gp=function(){return Jn&&null!=Jn.maxProperties&&yd>=Jn.maxProperties},lh=function(po){return!Jn||null==Jn.maxProperties||!Gp()&&(!function(po){var sa;return!(Jn&&Jn.required&&Jn.required.length&&(0,x.default)(sa=Jn.required).call(sa,po))}(po)||Jn.maxProperties-yd-function(){if(!Jn||!Jn.required)return 0;var po,sa,Fs=0;return Yi?(0,g.default)(po=Jn.required).call(po,function(Jc){return Fs+=void 0===vs[Jc]?0:1}):(0,g.default)(sa=Jn.required).call(sa,function(Jc){var ql;return Fs+=void 0===(null===(ql=vs[fs])||void 0===ql?void 0:(0,le.default)(ql).call(ql,function(Yl){return void 0!==Yl[Jc]}))?0:1}),Jn.required.length-Fs}()>0)};if($c=Yi?function(po){var sa=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(Jn&&hc[po]){if(hc[po].xml=hc[po].xml||{},hc[po].xml.attribute){var Fs=(0,M.default)(hc[po].enum)?hc[po].enum[0]:void 0,Jc=hc[po].example,ql=hc[po].default;return void(Xo[hc[po].xml.name||po]=void 0!==Jc?Jc:void 0!==ql?ql:void 0!==Fs?Fs:Pt(hc[po]))}hc[po].xml.name=hc[po].xml.name||po}else hc[po]||!1===rt||(hc[po]={xml:{name:po}});var Yl,Cl=Mr(Jn&&hc[po]||void 0,ci,sa,Yi);lh(po)&&(yd++,(0,M.default)(Cl)?vs[fs]=(0,l.default)(Yl=vs[fs]).call(Yl,Cl):vs[fs].push(Cl))}:function(po,sa){lh(po)&&(vs[po]=Mr(hc[po],ci,sa,Yi),yd++)},lo){var Hc;if(Hc=Jt(void 0!==ho?ho:void 0!==No?No:Jn.default),!Yi){if("number"==typeof Hc&&"string"===to)return"".concat(Hc);if("string"!=typeof Hc||"string"===to)return Hc;try{return JSON.parse(Hc)}catch{return Hc}}if(Jn||(to=(0,M.default)(Hc)?"array":(0,s.default)(Hc)),"array"===to){if(!(0,M.default)(Hc)){if("string"==typeof Hc)return Hc;Hc=[Hc]}var ud=Jn?Jn.items:void 0;ud&&(ud.xml=ud.xml||Aa||{},ud.xml.name=ud.xml.name||Aa.name);var u_=(0,fe.default)(Hc).call(Hc,function(po){return Mr(ud,ci,po,Yi)});return u_=op(u_),Aa.wrapped?(vs[fs]=u_,(0,He.default)(Xo)||vs[fs].push({_attr:Xo})):vs=u_,vs}if("object"===to){if("string"==typeof Hc)return Hc;for(var fo in Hc)Object.prototype.hasOwnProperty.call(Hc,fo)&&(Jn&&hc[fo]&&hc[fo].readOnly&&!Nt||Jn&&hc[fo]&&hc[fo].writeOnly&&!mr||(Jn&&hc[fo]&&hc[fo].xml&&hc[fo].xml.attribute?Xo[hc[fo].xml.name||fo]=Hc[fo]:$c(fo,Hc[fo])));return(0,He.default)(Xo)||vs[fs].push({_attr:Xo}),vs}return vs[fs]=(0,He.default)(Xo)?Hc:[{_attr:Xo},Hc],vs}if("object"===to){for(var Rr in hc)Object.prototype.hasOwnProperty.call(hc,Rr)&&(hc[Rr]&&hc[Rr].deprecated||hc[Rr]&&hc[Rr].readOnly&&!Nt||hc[Rr]&&hc[Rr].writeOnly&&!mr||$c(Rr));if(Yi&&Xo&&vs[fs].push({_attr:Xo}),Gp())return vs;if(!0===rt)Yi?vs[fs].push({additionalProp:"Anything can be here"}):vs.additionalProp1={},yd++;else if(rt){var Bi=(0,Pe.mz)(rt),Oo=Mr(Bi,ci,void 0,Yi);if(Yi&&Bi.xml&&Bi.xml.name&&"notagname"!==Bi.xml.name)vs[fs].push(Oo);else for(var ls=null!=Jn.minProperties&&yd<Jn.minProperties?Jn.minProperties-yd:3,Rs=1;Rs<=ls;Rs++){if(Gp())return vs;if(Yi){var Is={};Is["additionalProp"+Rs]=Oo.notagname,vs[fs].push(Is)}else vs["additionalProp"+Rs]=Oo;yd++}}return vs}if("array"===to){if(!Ft)return;var Gs,Qa,Il;if(Yi&&(Ft.xml=Ft.xml||(null===(Qa=Jn)||void 0===Qa?void 0:Qa.xml)||{},Ft.xml.name=Ft.xml.name||Aa.name),(0,M.default)(Ft.anyOf))Gs=(0,fe.default)(Il=Ft.anyOf).call(Il,function(po){return Mr(jn(Ft,po,ci),ci,void 0,Yi)});else if((0,M.default)(Ft.oneOf)){var gu;Gs=(0,fe.default)(gu=Ft.oneOf).call(gu,function(po){return Mr(jn(Ft,po,ci),ci,void 0,Yi)})}else{if(!(!Yi||Yi&&Aa.wrapped))return Mr(Ft,ci,void 0,Yi);Gs=[Mr(Ft,ci,void 0,Yi)]}return Gs=op(Gs),Yi&&Aa.wrapped?(vs[fs]=Gs,(0,He.default)(Xo)||vs[fs].push({_attr:Xo}),vs):Gs}if(Jn&&(0,M.default)(Jn.enum))Nu=(0,Pe.AF)(Jn.enum)[0];else{if(!Jn)return;if("number"==typeof(Nu=Pt(Jn))){var Cr=Jn.minimum;null!=Cr&&(Jn.exclusiveMinimum&&Cr++,Nu=Cr);var oo=Jn.maximum;null!=oo&&(Jn.exclusiveMaximum&&oo--,Nu=oo)}if("string"==typeof Nu&&(null!=Jn.maxLength&&(Nu=(0,K.default)(Nu).call(Nu,0,Jn.maxLength)),null!=Jn.minLength))for(var Us=0;Nu.length<Jn.minLength;)Nu+=Nu[Us++%Nu.length]}if("file"!==to)return Yi?(vs[fs]=(0,He.default)(Xo)?Nu:[{_attr:Xo},Nu],vs):Nu},Ur=function(Mr){return Mr.schema&&(Mr=Mr.schema),Mr.properties&&(Mr.type="object"),Mr},di=function(Mr,Jn,ci){var ho=Wr(Mr,Jn,ci,!0);if(ho)return"string"==typeof ho?ho:Ge()(ho,{declaration:!0,indent:"\t"})},Mi=function(Mr,Jn,ci){return Wr(Mr,Jn,ci,!1)},Gn=function(Mr,Jn,ci){return[Mr,(0,ge.default)(Jn),(0,ge.default)(ci)]},pr=(0,W.Z)(di,Gn),fr=(0,W.Z)(Mi,Gn)},8883:(t,i,n)=>{n.r(i),n.d(i,{default:()=>l});var s=n(2473);function l(){return{fn:s}}},1737:(t,i,n)=>{n.r(i),n.d(i,{CLEAR_REQUEST:()=>In,CLEAR_RESPONSE:()=>qn,CLEAR_VALIDATE_PARAMS:()=>Ti,LOG_REQUEST:()=>yi,SET_MUTATED_REQUEST:()=>lo,SET_REQUEST:()=>Yi,SET_RESPONSE:()=>ho,SET_SCHEME:()=>Xo,UPDATE_EMPTY_PARAM_INCLUSION:()=>Jn,UPDATE_JSON:()=>fr,UPDATE_OPERATION_META_VALUE:()=>Ji,UPDATE_PARAM:()=>Mr,UPDATE_RESOLVED:()=>To,UPDATE_RESOLVED_SUBTREE:()=>fs,UPDATE_SPEC:()=>Gn,UPDATE_URL:()=>pr,VALIDATE_PARAMS:()=>ci,changeConsumesValue:()=>Nu,changeParam:()=>ui,changeParamByIdentity:()=>no,changeProducesValue:()=>op,clearRequest:()=>ud,clearResponse:()=>Hc,clearValidateParams:()=>$c,execute:()=>lh,executeRequest:()=>w_,invalidateResolvedSubtreeCache:()=>vs,logRequest:()=>ah,parseToJson:()=>Uo,requestResolvedSubtree:()=>Zr,resolveSpec:()=>Ft,setMutatedRequest:()=>Gp,setRequest:()=>yd,setResponse:()=>hc,setScheme:()=>u_,updateEmptyParamInclusion:()=>Wl,updateJsonSpec:()=>No,updateResolved:()=>Aa,updateResolvedSubtree:()=>Ca,updateSpec:()=>Sa,updateUrl:()=>to,validateParams:()=>Hl});var s=n(1013),l=n(302);const _=(n.d(Rr={},{default:()=>T4}),Rr);var Rr,g=n(1581);const M=(fo=>{var Rr={};return n.d(Rr,fo),Rr})({default:()=>M4()});var x=n(4163),Y=n(2565),K=n(3978),le=n.n(K),fe=n(6785),ge=n(7930);const Se=(fo=>{var Rr={};return n.d(Rr,fo),Rr})({default:()=>A4()});var Ge=n(6145),we=n(374),He=n(8818),Pe=n(29),W=n(5171),It=n(2740),Pt=n(7512);const Jt=(fo=>{var Rr={};return n.d(Rr,fo),Rr})({default:()=>R4()});var dn=n(626),Un=n(9725),ln=n(8900),Xn=n(8518);const jn=(fo=>{var Rr={};return n.d(Rr,fo),Rr})({default:()=>x4()}),Wr=(fo=>{var Rr={};return n.d(Rr,fo),Rr})({default:()=>N4()}),Ur=(fo=>{var Rr={};return n.d(Rr,fo),Rr})({default:()=>F4()});var di=n(6298),Mi=["path","method"],Gn="spec_update_spec",pr="spec_update_url",fr="spec_update_json",Mr="spec_update_param",Jn="spec_update_empty_param_inclusion",ci="spec_validate_param",ho="spec_set_response",Yi="spec_set_request",lo="spec_set_mutated_request",yi="spec_log_request",qn="spec_clear_response",In="spec_clear_request",Ti="spec_clear_validate_param",Ji="spec_update_operation_meta_value",To="spec_update_resolved",fs="spec_update_resolved_subtree",Xo="set_scheme";function Sa(fo){var Rr,Bi=(Rr=fo,(0,jn.default)(Rr)?Rr:"").replace(/\t/g," ");if("string"==typeof fo)return{type:Gn,payload:Bi}}function Aa(fo){return{type:To,payload:fo}}function to(fo){return{type:pr,payload:fo}}function No(fo){return{type:fr,payload:fo}}var Uo=function(fo){return function(Rr){var Bi=Rr.specActions,ls=Rr.errActions,Rs=Rr.specSelectors.specStr,Is=null;try{fo=fo||Rs(),ls.clear({source:"parser"}),Is=dn.default.load(fo,{schema:dn.JSON_SCHEMA})}catch(Gs){return console.error(Gs),ls.newSpecErr({source:"parser",level:"error",message:Gs.reason,line:Gs.mark&&Gs.mark.line?Gs.mark.line+1:void 0})}return Is&&"object"===(0,g.default)(Is)?Bi.updateJsonSpec(Is):{}}},rt=!1,Ft=function(fo,Rr){return function(Bi){var Oo=Bi.specActions,ls=Bi.specSelectors,Rs=Bi.errActions,Is=Bi.fn,Gs=Is.fetch,Qa=Is.resolve,Il=Is.AST,gu=void 0===Il?{}:Il,Cr=Bi.getConfigs;rt||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),rt=!0);var oo=Cr(),Us=oo.modelPropertyMacro,po=oo.parameterMacro,sa=oo.requestInterceptor,Fs=oo.responseInterceptor;void 0===fo&&(fo=ls.specJson()),void 0===Rr&&(Rr=ls.url());var Jc=gu.getLineNumberForPath?gu.getLineNumberForPath:function(){},ql=ls.specStr();return Qa({fetch:Gs,spec:fo,baseDoc:Rr,modelPropertyMacro:Us,parameterMacro:po,requestInterceptor:sa,responseInterceptor:Fs}).then(function(Yl){var Cl=Yl.spec,ul=Yl.errors;if(Rs.clear({type:"thrown"}),(0,x.default)(ul)&&ul.length>0){var vu=(0,Y.default)(ul).call(ul,function(Qc){return console.error(Qc),Qc.line=Qc.fullPath?Jc(ql,Qc.fullPath):null,Qc.path=Qc.fullPath?Qc.fullPath.join("."):null,Qc.level="error",Qc.type="thrown",Qc.source="resolver",le()(Qc,"message",{enumerable:!0,value:Qc.message}),Qc});Rs.newThrownErrBatch(vu)}return Oo.updateResolved(Cl)})}},Nt=[],mr=(0,Wr.default)((0,_.default)(M.default.mark(function fo(){var Rr,Bi,Oo,ls,Rs,Is,Gs,Qa,Il,gu,Cr,oo,Us,po,sa,Fs,Jc,ql;return M.default.wrap(function(Yl){for(;;)switch(Yl.prev=Yl.next){case 0:if(Rr=Nt.system){Yl.next=4;break}return console.error("debResolveSubtrees: don't have a system to operate on, aborting."),Yl.abrupt("return");case 4:if(Bi=Rr.errActions,Oo=Rr.errSelectors,Is=(ls=Rr.fn).fetch,Qa=void 0===(Gs=ls.AST)?{}:Gs,Il=Rr.specSelectors,gu=Rr.specActions,Rs=ls.resolveSubtree){Yl.next=8;break}return console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing."),Yl.abrupt("return");case 8:return Cr=Qa.getLineNumberForPath?Qa.getLineNumberForPath:function(){},oo=Il.specStr(),Us=Rr.getConfigs(),po=Us.modelPropertyMacro,sa=Us.parameterMacro,Fs=Us.requestInterceptor,Jc=Us.responseInterceptor,Yl.prev=11,Yl.next=14,(0,fe.default)(Nt).call(Nt,function(){var Cl=(0,_.default)(M.default.mark(function ul(vu,Qc){var pf,Dp,mc,bf,ch,Rp,Lh,N_,Wm;return M.default.wrap(function(yo){for(;;)switch(yo.prev=yo.next){case 0:return yo.next=2,vu;case 2:return Dp=(pf=yo.sent).resultMap,mc=pf.specWithCurrentSubtrees,yo.next=7,Rs(mc,Qc,{baseDoc:Il.url(),modelPropertyMacro:po,parameterMacro:sa,requestInterceptor:Fs,responseInterceptor:Jc});case 7:if(ch=(bf=yo.sent).errors,Rp=bf.spec,Oo.allErrors().size&&Bi.clearBy(function(Yd){var Jm;return"thrown"!==Yd.get("type")||"resolver"!==Yd.get("source")||!(0,ge.default)(Jm=Yd.get("fullPath")).call(Jm,function(bg,Am){return bg===Qc[Am]||void 0===Qc[Am]})}),(0,x.default)(ch)&&ch.length>0&&(Lh=(0,Y.default)(ch).call(ch,function(Yd){return Yd.line=Yd.fullPath?Cr(oo,Yd.fullPath):null,Yd.path=Yd.fullPath?Yd.fullPath.join("."):null,Yd.level="error",Yd.type="thrown",Yd.source="resolver",le()(Yd,"message",{enumerable:!0,value:Yd.message}),Yd}),Bi.newThrownErrBatch(Lh)),!Rp||!Il.isOAS3()||"components"!==Qc[0]||"securitySchemes"!==Qc[1]){yo.next=15;break}return yo.next=15,Se.default.all((0,Y.default)(N_=(0,Ge.default)(Wm=(0,we.default)(Rp)).call(Wm,function(Yd){return"openIdConnect"===Yd.type})).call(N_,function(){var Yd=(0,_.default)(M.default.mark(function Jm(bg){var Am,o1;return M.default.wrap(function(d_){for(;;)switch(d_.prev=d_.next){case 0:return Am={url:bg.openIdConnectUrl,requestInterceptor:Fs,responseInterceptor:Jc},d_.prev=1,d_.next=4,Is(Am);case 4:(o1=d_.sent)instanceof Error||o1.status>=400?console.error(o1.statusText+" "+Am.url):bg.openIdConnectData=JSON.parse(o1.text),d_.next=11;break;case 8:d_.prev=8,d_.t0=d_.catch(1),console.error(d_.t0);case 11:case"end":return d_.stop()}},Jm,null,[[1,8]])}));return function(Jm){return Yd.apply(this,arguments)}}()));case 15:return(0,Ur.default)(Dp,Qc,Rp),(0,Ur.default)(mc,Qc,Rp),yo.abrupt("return",{resultMap:Dp,specWithCurrentSubtrees:mc});case 18:case"end":return yo.stop()}},ul)}));return function(ul,vu){return Cl.apply(this,arguments)}}(),Se.default.resolve({resultMap:(Il.specResolvedSubtree([])||(0,Un.Map)()).toJS(),specWithCurrentSubtrees:Il.specJson().toJS()}));case 14:ql=Yl.sent,delete Nt.system,Nt=[],Yl.next=22;break;case 19:Yl.prev=19,Yl.t0=Yl.catch(11),console.error(Yl.t0);case 22:gu.updateResolvedSubtree([],ql.resultMap);case 23:case"end":return Yl.stop()}},fo,null,[[11,19]])})),35),Zr=function(fo){return function(Rr){var Bi;(0,He.default)(Bi=(0,Y.default)(Nt).call(Nt,function(Oo){return Oo.join("@@")})).call(Bi,fo.join("@@"))>-1||(Nt.push(fo),Nt.system=Rr,mr())}};function ui(fo,Rr,Bi,Oo,ls){return{type:Mr,payload:{path:fo,value:Oo,paramName:Rr,paramIn:Bi,isXml:ls}}}function no(fo,Rr,Bi,Oo){return{type:Mr,payload:{path:fo,param:Rr,value:Bi,isXml:Oo}}}var Ca=function(fo,Rr){return{type:fs,payload:{path:fo,value:Rr}}},vs=function(){return{type:fs,payload:{path:[],value:(0,Un.Map)()}}},Hl=function(fo,Rr){return{type:ci,payload:{pathMethod:fo,isOAS3:Rr}}},Wl=function(fo,Rr,Bi,Oo){return{type:Jn,payload:{pathMethod:fo,paramName:Rr,paramIn:Bi,includeEmptyValue:Oo}}};function $c(fo){return{type:Ti,payload:{pathMethod:fo}}}function Nu(fo,Rr){return{type:Ji,payload:{path:fo,value:Rr,key:"consumes_value"}}}function op(fo,Rr){return{type:Ji,payload:{path:fo,value:Rr,key:"produces_value"}}}var hc=function(fo,Rr,Bi){return{payload:{path:fo,method:Rr,res:Bi},type:ho}},yd=function(fo,Rr,Bi){return{payload:{path:fo,method:Rr,req:Bi},type:Yi}},Gp=function(fo,Rr,Bi){return{payload:{path:fo,method:Rr,req:Bi},type:lo}},ah=function(fo){return{payload:fo,type:yi}},w_=function(fo){return function(Rr){var Bi,Oo,ls=Rr.fn,Rs=Rr.specActions,Is=Rr.specSelectors,Qa=Rr.oas3Selectors,Il=fo.pathName,gu=fo.method,Cr=fo.operation,oo=(0,Rr.getConfigs)(),Us=oo.requestInterceptor,po=oo.responseInterceptor,sa=Cr.toJS();if(Cr&&Cr.get("parameters")&&(0,Pe.default)(Bi=(0,Ge.default)(Oo=Cr.get("parameters")).call(Oo,function(mc){return mc&&!0===mc.get("allowEmptyValue")})).call(Bi,function(mc){if(Is.parameterInclusionSettingFor([Il,gu],mc.get("name"),mc.get("in"))){fo.parameters=fo.parameters||{};var bf=(0,di.cz)(mc,fo.parameters);(!bf||bf&&0===bf.size)&&(fo.parameters[mc.get("name")]="")}}),fo.contextUrl=(0,ln.default)(Is.url()).toString(),sa&&sa.operationId?fo.operationId=sa.operationId:sa&&Il&&gu&&(fo.operationId=ls.opId(sa,Il,gu)),Is.isOAS3()){var Fs,Jc=(0,W.default)(Fs="".concat(Il,":")).call(Fs,gu);fo.server=Qa.selectedServer(Jc)||Qa.selectedServer();var ql=Qa.serverVariables({server:fo.server,namespace:Jc}).toJS(),Yl=Qa.serverVariables({server:fo.server}).toJS();fo.serverVariables=(0,It.default)(ql).length?ql:Yl,fo.requestContentType=Qa.requestContentType(Il,gu),fo.responseContentType=Qa.responseContentType(Il,gu)||"*/*";var Cl,ul=Qa.requestBodyValue(Il,gu),vu=Qa.requestBodyInclusionSetting(Il,gu);fo.requestBody=ul&&ul.toJS?(0,Ge.default)(Cl=(0,Y.default)(ul).call(ul,function(mc){return Un.Map.isMap(mc)?mc.get("value"):mc})).call(Cl,function(mc,bf){return((0,x.default)(mc)?0!==mc.length:!(0,di.O2)(mc))||vu.get(bf)}).toJS():ul}var Qc=(0,Pt.default)({},fo);Qc=ls.buildRequest(Qc),Rs.setRequest(fo.pathName,fo.method,Qc);var mc,pf=(mc=(0,_.default)(M.default.mark(function bf(ch){var Rp,Lh;return M.default.wrap(function(N_){for(;;)switch(N_.prev=N_.next){case 0:return N_.next=2,Us.apply(void 0,[ch]);case 2:return Lh=(0,Pt.default)({},Rp=N_.sent),Rs.setMutatedRequest(fo.pathName,fo.method,Lh),N_.abrupt("return",Rp);case 6:case"end":return N_.stop()}},bf)})),function(bf){return mc.apply(this,arguments)});fo.requestInterceptor=pf,fo.responseInterceptor=po;var Dp=(0,Jt.default)();return ls.execute(fo).then(function(mc){mc.duration=(0,Jt.default)()-Dp,Rs.setResponse(fo.pathName,fo.method,mc)}).catch(function(mc){"Failed to fetch"===mc.message&&(mc.name="",mc.message='**Failed to fetch.** \n**Possible Reasons:** \n - CORS \n - Network Failure \n - URL scheme must be "http" or "https" for CORS request.'),Rs.setResponse(fo.pathName,fo.method,{error:!0,err:(0,Xn.serializeError)(mc)})})}},lh=function(){var fo=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Rr=fo.path,Bi=fo.method,Oo=(0,l.default)(fo,Mi);return function(ls){var Rs=ls.fn.fetch,Is=ls.specSelectors,Gs=ls.specActions,Qa=Is.specJsonWithResolvedSubtrees().toJS(),Il=Is.operationScheme(Rr,Bi),gu=Is.contentTypeValues([Rr,Bi]).toJS(),Cr=gu.requestContentType,oo=gu.responseContentType,Us=/xml/i.test(Cr),po=Is.parameterValues([Rr,Bi],Us).toJS();return Gs.executeRequest((0,s.default)((0,s.default)({},Oo),{},{fetch:Rs,spec:Qa,pathName:Rr,method:Bi,parameters:po,requestContentType:Cr,scheme:Il,responseContentType:oo}))}};function Hc(fo,Rr){return{type:qn,payload:{path:fo,method:Rr}}}function ud(fo,Rr){return{type:In,payload:{path:fo,method:Rr}}}function u_(fo,Rr,Bi){return{type:Xo,payload:{scheme:fo,path:Rr,method:Bi}}}},7038:(t,i,n)=>{n.r(i),n.d(i,{default:()=>M});var s=n(32),l=n(1737),_=n(3881),g=n(7508);function M(){return{statePlugins:{spec:{wrapActions:g,reducers:s.default,actions:l,selectors:_}}}}},32:(t,i,n)=>{n.r(i),n.d(i,{default:()=>Ge});var s,l=n(775),_=n(2691),g=n(5171),M=n(6785),x=n(2565),Y=n(7512),K=n(9725),le=n(6298),fe=n(7504),ge=n(3881),Se=n(1737);const Ge=((0,l.default)(s={},Se.UPDATE_SPEC,function(we,He){return"string"==typeof He.payload?we.set("spec",He.payload):we}),(0,l.default)(s,Se.UPDATE_URL,function(we,He){return we.set("url",He.payload+"")}),(0,l.default)(s,Se.UPDATE_JSON,function(we,He){return we.set("json",(0,le.oG)(He.payload))}),(0,l.default)(s,Se.UPDATE_RESOLVED,function(we,He){return we.setIn(["resolved"],(0,le.oG)(He.payload))}),(0,l.default)(s,Se.UPDATE_RESOLVED_SUBTREE,function(we,He){var Pe,W=He.payload,It=W.value,Pt=W.path;return we.setIn((0,g.default)(Pe=["resolvedSubtrees"]).call(Pe,(0,_.default)(Pt)),(0,le.oG)(It))}),(0,l.default)(s,Se.UPDATE_PARAM,function(we,He){var Pe,W,It=He.payload,Pt=It.path,Jt=It.paramName,dn=It.paramIn,Un=It.param,ln=It.value,Xn=It.isXml,jn=Un?(0,le.V9)(Un):(0,g.default)(Pe="".concat(dn,".")).call(Pe,Jt),Wr=Xn?"value_xml":"value";return we.setIn((0,g.default)(W=["meta","paths"]).call(W,(0,_.default)(Pt),["parameters",jn,Wr]),ln)}),(0,l.default)(s,Se.UPDATE_EMPTY_PARAM_INCLUSION,function(we,He){var Pe,W,It=He.payload,Pt=It.pathMethod,Jt=It.paramName,dn=It.paramIn,Un=It.includeEmptyValue;if(!Jt||!dn)return console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),we;var ln=(0,g.default)(Pe="".concat(dn,".")).call(Pe,Jt);return we.setIn((0,g.default)(W=["meta","paths"]).call(W,(0,_.default)(Pt),["parameter_inclusions",ln]),Un)}),(0,l.default)(s,Se.VALIDATE_PARAMS,function(we,He){var Pe,W,It=He.payload,Pt=It.pathMethod,Jt=It.isOAS3,dn=(0,ge.specJsonWithResolvedSubtrees)(we).getIn((0,g.default)(Pe=["paths"]).call(Pe,(0,_.default)(Pt))),Un=(0,ge.parameterValues)(we,Pt).toJS();return we.updateIn((0,g.default)(W=["meta","paths"]).call(W,(0,_.default)(Pt),["parameters"]),(0,K.fromJS)({}),function(ln){var Xn;return(0,M.default)(Xn=dn.get("parameters",(0,K.List)())).call(Xn,function(jn,Wr){var Ur=(0,le.cz)(Wr,Un),di=(0,ge.parameterInclusionSettingFor)(we,Pt,Wr.get("name"),Wr.get("in")),Mi=(0,le.Ik)(Wr,Ur,{bypassRequiredCheck:di,isOAS3:Jt});return jn.setIn([(0,le.V9)(Wr),"errors"],(0,K.fromJS)(Mi))},ln)})}),(0,l.default)(s,Se.CLEAR_VALIDATE_PARAMS,function(we,He){var Pe,W=He.payload.pathMethod;return we.updateIn((0,g.default)(Pe=["meta","paths"]).call(Pe,(0,_.default)(W),["parameters"]),(0,K.fromJS)([]),function(It){return(0,x.default)(It).call(It,function(Pt){return Pt.set("errors",(0,K.fromJS)([]))})})}),(0,l.default)(s,Se.SET_RESPONSE,function(we,He){var Pe,W=He.payload,It=W.res,Pt=W.path,Jt=W.method;(Pe=It.error?(0,Y.default)({error:!0,name:It.err.name,message:It.err.message,statusCode:It.err.statusCode},It.err.response):It).headers=Pe.headers||{};var dn=we.setIn(["responses",Pt,Jt],(0,le.oG)(Pe));return fe.Z.Blob&&It.data instanceof fe.Z.Blob&&(dn=dn.setIn(["responses",Pt,Jt,"text"],It.data)),dn}),(0,l.default)(s,Se.SET_REQUEST,function(we,He){var Pe=He.payload;return we.setIn(["requests",Pe.path,Pe.method],(0,le.oG)(Pe.req))}),(0,l.default)(s,Se.SET_MUTATED_REQUEST,function(we,He){var Pe=He.payload;return we.setIn(["mutatedRequests",Pe.path,Pe.method],(0,le.oG)(Pe.req))}),(0,l.default)(s,Se.UPDATE_OPERATION_META_VALUE,function(we,He){var Pe,W,It,Pt,Jt,dn,Un=He.payload,ln=Un.path,Xn=Un.value,jn=Un.key,Wr=(0,g.default)(Pe=["paths"]).call(Pe,(0,_.default)(ln)),Ur=(0,g.default)(W=["meta","paths"]).call(W,(0,_.default)(ln));return we.getIn((0,g.default)(It=["json"]).call(It,(0,_.default)(Wr)))||we.getIn((0,g.default)(Pt=["resolved"]).call(Pt,(0,_.default)(Wr)))||we.getIn((0,g.default)(Jt=["resolvedSubtrees"]).call(Jt,(0,_.default)(Wr)))?we.setIn((0,g.default)(dn=[]).call(dn,(0,_.default)(Ur),[jn]),(0,K.fromJS)(Xn)):we}),(0,l.default)(s,Se.CLEAR_RESPONSE,function(we,He){var Pe=He.payload;return we.deleteIn(["responses",Pe.path,Pe.method])}),(0,l.default)(s,Se.CLEAR_REQUEST,function(we,He){var Pe=He.payload;return we.deleteIn(["requests",Pe.path,Pe.method])}),(0,l.default)(s,Se.SET_SCHEME,function(we,He){var Pe=He.payload,W=Pe.scheme,It=Pe.path,Pt=Pe.method;return It&&Pt?we.setIn(["scheme",It,Pt],W):It||Pt?void 0:we.setIn(["scheme","_defaultScheme"],W)}),s)},3881:(t,i,n)=>{n.r(i),n.d(i,{lastError:()=>Pt,url:()=>Jt,specStr:()=>dn,specSource:()=>Un,specJson:()=>ln,specResolved:()=>Xn,specResolvedSubtree:()=>jn,specJsonWithResolvedSubtrees:()=>Ur,spec:()=>di,isOAS3:()=>Mi,info:()=>Gn,externalDocs:()=>pr,version:()=>fr,semver:()=>Mr,paths:()=>Jn,operations:()=>ci,consumes:()=>ho,produces:()=>Yi,security:()=>lo,securityDefinitions:()=>yi,findDefinition:()=>qn,definitions:()=>In,basePath:()=>Ti,host:()=>Ji,schemes:()=>To,operationsWithRootInherited:()=>fs,tags:()=>Xo,tagDetails:()=>Sa,operationsWithTags:()=>Aa,taggedOperations:()=>to,responses:()=>No,requests:()=>Uo,mutatedRequests:()=>rt,responseFor:()=>Ft,requestFor:()=>Nt,mutatedRequestFor:()=>mr,allowTryItOutFor:()=>Zr,parameterWithMetaByIdentity:()=>ui,parameterInclusionSettingFor:()=>no,parameterWithMeta:()=>Ca,operationWithMeta:()=>vs,getParameter:()=>Hl,hasHost:()=>Wl,parameterValues:()=>$c,parametersIncludeIn:()=>Nu,parametersIncludeType:()=>op,contentTypeValues:()=>hc,currentProducesFor:()=>yd,producesOptionsFor:()=>Gp,consumesOptionsFor:()=>ah,operationScheme:()=>w_,canExecuteScheme:()=>lh,validateBeforeExecute:()=>Hc,getOAS3RequiredRequestBodyContentType:()=>ud,isMediaTypeSchemaPropertiesEqual:()=>u_});var s=n(9334),l=n(2691),_=n(5171),g=n(8136),M=n(29),x=n(8818),Y=n(2565),K=n(6145),le=n(1778),fe=n(6785),ge=n(4350),Se=n(9963),Ge=n(4163),we=n(8639),He=n(6298),Pe=n(9725),W=["get","put","post","delete","options","head","patch","trace"],It=function(Rr){return Rr||(0,Pe.Map)()},Pt=(0,we.createSelector)(It,function(Rr){return Rr.get("lastError")}),Jt=(0,we.createSelector)(It,function(Rr){return Rr.get("url")}),dn=(0,we.createSelector)(It,function(Rr){return Rr.get("spec")||""}),Un=(0,we.createSelector)(It,function(Rr){return Rr.get("specSource")||"not-editor"}),ln=(0,we.createSelector)(It,function(Rr){return Rr.get("json",(0,Pe.Map)())}),Xn=(0,we.createSelector)(It,function(Rr){return Rr.get("resolved",(0,Pe.Map)())}),jn=function(Rr,Bi){var Oo;return Rr.getIn((0,_.default)(Oo=["resolvedSubtrees"]).call(Oo,(0,l.default)(Bi)),void 0)},Wr=function Rr(Bi,Oo){return Pe.Map.isMap(Bi)&&Pe.Map.isMap(Oo)?Oo.get("$$ref")?Oo:(0,Pe.OrderedMap)().mergeWith(Rr,Bi,Oo):Oo},Ur=(0,we.createSelector)(It,function(Rr){return(0,Pe.OrderedMap)().mergeWith(Wr,Rr.get("json"),Rr.get("resolvedSubtrees"))}),di=function(Rr){return ln(Rr)},Mi=(0,we.createSelector)(di,function(){return!1}),Gn=(0,we.createSelector)(di,function(Rr){return fo(Rr&&Rr.get("info"))}),pr=(0,we.createSelector)(di,function(Rr){return fo(Rr&&Rr.get("externalDocs"))}),fr=(0,we.createSelector)(Gn,function(Rr){return Rr&&Rr.get("version")}),Mr=(0,we.createSelector)(fr,function(Rr){var Bi;return(0,g.default)(Bi=/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(Rr)).call(Bi,1)}),Jn=(0,we.createSelector)(Ur,function(Rr){return Rr.get("paths")}),ci=(0,we.createSelector)(Jn,function(Rr){if(!Rr||Rr.size<1)return(0,Pe.List)();var Bi=(0,Pe.List)();return Rr&&(0,M.default)(Rr)?((0,M.default)(Rr).call(Rr,function(Oo,ls){if(!Oo||!(0,M.default)(Oo))return{};(0,M.default)(Oo).call(Oo,function(Rs,Is){var Gs;(0,x.default)(W).call(W,Is)<0||(Bi=Bi.push((0,Pe.fromJS)({path:ls,method:Is,operation:Rs,id:(0,_.default)(Gs="".concat(Is,"-")).call(Gs,ls)})))})}),Bi):(0,Pe.List)()}),ho=(0,we.createSelector)(di,function(Rr){return(0,Pe.Set)(Rr.get("consumes"))}),Yi=(0,we.createSelector)(di,function(Rr){return(0,Pe.Set)(Rr.get("produces"))}),lo=(0,we.createSelector)(di,function(Rr){return Rr.get("security",(0,Pe.List)())}),yi=(0,we.createSelector)(di,function(Rr){return Rr.get("securityDefinitions")}),qn=function(Rr,Bi){var Oo=Rr.getIn(["resolvedSubtrees","definitions",Bi],null),ls=Rr.getIn(["json","definitions",Bi],null);return Oo||ls||null},In=(0,we.createSelector)(di,function(Rr){var Bi=Rr.get("definitions");return Pe.Map.isMap(Bi)?Bi:(0,Pe.Map)()}),Ti=(0,we.createSelector)(di,function(Rr){return Rr.get("basePath")}),Ji=(0,we.createSelector)(di,function(Rr){return Rr.get("host")}),To=(0,we.createSelector)(di,function(Rr){return Rr.get("schemes",(0,Pe.Map)())}),fs=(0,we.createSelector)(ci,ho,Yi,function(Rr,Bi,Oo){return(0,Y.default)(Rr).call(Rr,function(ls){return ls.update("operation",function(Rs){return Rs?Pe.Map.isMap(Rs)?Rs.withMutations(function(Is){return Is.get("consumes")||Is.update("consumes",function(Gs){return(0,Pe.Set)(Gs).merge(Bi)}),Is.get("produces")||Is.update("produces",function(Gs){return(0,Pe.Set)(Gs).merge(Oo)}),Is}):void 0:(0,Pe.Map)()})})}),Xo=(0,we.createSelector)(di,function(Rr){var Bi=Rr.get("tags",(0,Pe.List)());return Pe.List.isList(Bi)?(0,K.default)(Bi).call(Bi,function(Oo){return Pe.Map.isMap(Oo)}):(0,Pe.List)()}),Sa=function(Rr,Bi){var Oo,ls=Xo(Rr)||(0,Pe.List)();return(0,le.default)(Oo=(0,K.default)(ls).call(ls,Pe.Map.isMap)).call(Oo,function(Rs){return Rs.get("name")===Bi},(0,Pe.Map)())},Aa=(0,we.createSelector)(fs,Xo,function(Rr,Bi){return(0,fe.default)(Rr).call(Rr,function(Oo,ls){var Rs=(0,Pe.Set)(ls.getIn(["operation","tags"]));return Rs.count()<1?Oo.update("default",(0,Pe.List)(),function(Is){return Is.push(ls)}):(0,fe.default)(Rs).call(Rs,function(Is,Gs){return Is.update(Gs,(0,Pe.List)(),function(Qa){return Qa.push(ls)})},Oo)},(0,fe.default)(Bi).call(Bi,function(Oo,ls){return Oo.set(ls.get("name"),(0,Pe.List)())},(0,Pe.OrderedMap)()))}),to=function(Rr){return function(Bi){var Oo,ls=(0,Bi.getConfigs)(),Rs=ls.tagsSorter,Is=ls.operationsSorter;return(0,Y.default)(Oo=Aa(Rr).sortBy(function(Gs,Qa){return Qa},function(Gs,Qa){var Il="function"==typeof Rs?Rs:He.wh.tagsSorter[Rs];return Il?Il(Gs,Qa):null})).call(Oo,function(Gs,Qa){var Il="function"==typeof Is?Is:He.wh.operationsSorter[Is],gu=Il?(0,ge.default)(Gs).call(Gs,Il):Gs;return(0,Pe.Map)({tagDetails:Sa(Rr,Qa),operations:gu})})}},No=(0,we.createSelector)(It,function(Rr){return Rr.get("responses",(0,Pe.Map)())}),Uo=(0,we.createSelector)(It,function(Rr){return Rr.get("requests",(0,Pe.Map)())}),rt=(0,we.createSelector)(It,function(Rr){return Rr.get("mutatedRequests",(0,Pe.Map)())}),Ft=function(Rr,Bi,Oo){return No(Rr).getIn([Bi,Oo],null)},Nt=function(Rr,Bi,Oo){return Uo(Rr).getIn([Bi,Oo],null)},mr=function(Rr,Bi,Oo){return rt(Rr).getIn([Bi,Oo],null)},Zr=function(){return!0},ui=function(Rr,Bi,Oo){var ls,Rs,Is=Ur(Rr).getIn((0,_.default)(ls=["paths"]).call(ls,(0,l.default)(Bi),["parameters"]),(0,Pe.OrderedMap)()),Gs=Rr.getIn((0,_.default)(Rs=["meta","paths"]).call(Rs,(0,l.default)(Bi),["parameters"]),(0,Pe.OrderedMap)()),Qa=(0,Y.default)(Is).call(Is,function(Il){var gu,Cr,oo,Us=Gs.get((0,_.default)(gu="".concat(Oo.get("in"),".")).call(gu,Oo.get("name"))),po=Gs.get((0,_.default)(Cr=(0,_.default)(oo="".concat(Oo.get("in"),".")).call(oo,Oo.get("name"),".hash-")).call(Cr,Oo.hashCode()));return(0,Pe.OrderedMap)().merge(Il,Us,po)});return(0,le.default)(Qa).call(Qa,function(Il){return Il.get("in")===Oo.get("in")&&Il.get("name")===Oo.get("name")},(0,Pe.OrderedMap)())},no=function(Rr,Bi,Oo,ls){var Rs,Is,Gs=(0,_.default)(Rs="".concat(ls,".")).call(Rs,Oo);return Rr.getIn((0,_.default)(Is=["meta","paths"]).call(Is,(0,l.default)(Bi),["parameter_inclusions",Gs]),!1)},Ca=function(Rr,Bi,Oo,ls){var Rs,Is=Ur(Rr).getIn((0,_.default)(Rs=["paths"]).call(Rs,(0,l.default)(Bi),["parameters"]),(0,Pe.OrderedMap)()),Gs=(0,le.default)(Is).call(Is,function(Qa){return Qa.get("in")===ls&&Qa.get("name")===Oo},(0,Pe.OrderedMap)());return ui(Rr,Bi,Gs)},vs=function(Rr,Bi,Oo){var ls,Rs=Ur(Rr).getIn(["paths",Bi,Oo],(0,Pe.OrderedMap)()),Is=Rr.getIn(["meta","paths",Bi,Oo],(0,Pe.OrderedMap)()),Gs=(0,Y.default)(ls=Rs.get("parameters",(0,Pe.List)())).call(ls,function(Qa){return ui(Rr,[Bi,Oo],Qa)});return(0,Pe.OrderedMap)().merge(Rs,Is).set("parameters",Gs)};function Hl(Rr,Bi,Oo,ls){var Rs;Bi=Bi||[];var Is=Rr.getIn((0,_.default)(Rs=["meta","paths"]).call(Rs,(0,l.default)(Bi),["parameters"]),(0,Pe.fromJS)([]));return(0,le.default)(Is).call(Is,function(Gs){return Pe.Map.isMap(Gs)&&Gs.get("name")===Oo&&Gs.get("in")===ls})||(0,Pe.Map)()}var Wl=(0,we.createSelector)(di,function(Rr){var Bi=Rr.get("host");return"string"==typeof Bi&&Bi.length>0&&"/"!==Bi[0]});function $c(Rr,Bi,Oo){var ls;Bi=Bi||[];var Rs=vs.apply(void 0,(0,_.default)(ls=[Rr]).call(ls,(0,l.default)(Bi))).get("parameters",(0,Pe.List)());return(0,fe.default)(Rs).call(Rs,function(Is,Gs){var Qa=Oo&&"body"===Gs.get("in")?Gs.get("value_xml"):Gs.get("value");return Is.set((0,He.V9)(Gs,{allowHashes:!1}),Qa)},(0,Pe.fromJS)({}))}function Nu(Rr){var Bi=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(Pe.List.isList(Rr))return(0,Se.default)(Rr).call(Rr,function(Oo){return Pe.Map.isMap(Oo)&&Oo.get("in")===Bi})}function op(Rr){var Bi=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(Pe.List.isList(Rr))return(0,Se.default)(Rr).call(Rr,function(Oo){return Pe.Map.isMap(Oo)&&Oo.get("type")===Bi})}function hc(Rr,Bi){var Oo,ls;Bi=Bi||[];var Rs=Ur(Rr).getIn((0,_.default)(Oo=["paths"]).call(Oo,(0,l.default)(Bi)),(0,Pe.fromJS)({})),Is=Rr.getIn((0,_.default)(ls=["meta","paths"]).call(ls,(0,l.default)(Bi)),(0,Pe.fromJS)({})),Gs=yd(Rr,Bi),Qa=Rs.get("parameters")||new Pe.List,Il=Is.get("consumes_value")?Is.get("consumes_value"):op(Qa,"file")?"multipart/form-data":op(Qa,"formData")?"application/x-www-form-urlencoded":void 0;return(0,Pe.fromJS)({requestContentType:Il,responseContentType:Gs})}function yd(Rr,Bi){var Oo,ls;Bi=Bi||[];var Rs=Ur(Rr).getIn((0,_.default)(Oo=["paths"]).call(Oo,(0,l.default)(Bi)),null);if(null!==Rs){var Is=Rr.getIn((0,_.default)(ls=["meta","paths"]).call(ls,(0,l.default)(Bi),["produces_value"]),null),Gs=Rs.getIn(["produces",0],null);return Is||Gs||"application/json"}}function Gp(Rr,Bi){var Oo;Bi=Bi||[];var ls=Ur(Rr),Rs=ls.getIn((0,_.default)(Oo=["paths"]).call(Oo,(0,l.default)(Bi)),null);if(null!==Rs){var Gs=(0,s.default)(Bi,1)[0],Qa=Rs.get("produces",null),Il=ls.getIn(["paths",Gs,"produces"],null),gu=ls.getIn(["produces"],null);return Qa||Il||gu}}function ah(Rr,Bi){var Oo;Bi=Bi||[];var ls=Ur(Rr),Rs=ls.getIn((0,_.default)(Oo=["paths"]).call(Oo,(0,l.default)(Bi)),null);if(null!==Rs){var Gs=(0,s.default)(Bi,1)[0],Qa=Rs.get("consumes",null),Il=ls.getIn(["paths",Gs,"consumes"],null),gu=ls.getIn(["consumes"],null);return Qa||Il||gu}}var w_=function(Rr,Bi,Oo){var ls=Rr.get("url").match(/^([a-z][a-z0-9+\-.]*):/),Rs=(0,Ge.default)(ls)?ls[1]:null;return Rr.getIn(["scheme",Bi,Oo])||Rr.getIn(["scheme","_defaultScheme"])||Rs||""},lh=function(Rr,Bi,Oo){var ls;return(0,x.default)(ls=["http","https"]).call(ls,w_(Rr,Bi,Oo))>-1},Hc=function(Rr,Bi){var Oo;Bi=Bi||[];var ls=Rr.getIn((0,_.default)(Oo=["meta","paths"]).call(Oo,(0,l.default)(Bi),["parameters"]),(0,Pe.fromJS)([])),Rs=!0;return(0,M.default)(ls).call(ls,function(Is){var Gs=Is.get("errors");Gs&&Gs.count()&&(Rs=!1)}),Rs},ud=function(Rr,Bi){var Oo,ls,Rs={requestBody:!1,requestContentType:{}},Is=Rr.getIn((0,_.default)(Oo=["resolvedSubtrees","paths"]).call(Oo,(0,l.default)(Bi),["requestBody"]),(0,Pe.fromJS)([]));return Is.size<1||(Is.getIn(["required"])&&(Rs.requestBody=Is.getIn(["required"])),(0,M.default)(ls=Is.getIn(["content"]).entrySeq()).call(ls,function(Gs){var Qa=Gs[0];if(Gs[1].getIn(["schema","required"])){var Il=Gs[1].getIn(["schema","required"]).toJS();Rs.requestContentType[Qa]=Il}})),Rs},u_=function(Rr,Bi,Oo,ls){var Rs;if((Oo||ls)&&Oo===ls)return!0;var Is=Rr.getIn((0,_.default)(Rs=["resolvedSubtrees","paths"]).call(Rs,(0,l.default)(Bi),["requestBody","content"]),(0,Pe.fromJS)([]));if(Is.size<2||!Oo||!ls)return!1;var Gs=Is.getIn([Oo,"schema","properties"],(0,Pe.fromJS)([])),Qa=Is.getIn([ls,"schema","properties"],(0,Pe.fromJS)([]));return!!Gs.equals(Qa)};function fo(Rr){return Pe.Map.isMap(Rr)?Rr:new Pe.Map}},7508:(t,i,n)=>{n.r(i),n.d(i,{updateSpec:()=>g,updateJsonSpec:()=>M,executeRequest:()=>x,validateParams:()=>Y});var s=n(2740),l=n(29),_=n(9908),g=function(K,le){var fe=le.specActions;return function(){K.apply(void 0,arguments),fe.parseToJson.apply(fe,arguments)}},M=function(K,le){var fe=le.specActions;return function(){for(var ge=arguments.length,Se=new Array(ge),Ge=0;Ge<ge;Ge++)Se[Ge]=arguments[Ge];K.apply(void 0,Se),fe.invalidateResolvedSubtreeCache();var He=(0,_.default)(Se[0],["paths"])||{},Pe=(0,s.default)(He);(0,l.default)(Pe).call(Pe,function(W){(0,_.default)(He,[W]).$ref&&fe.requestResolvedSubtree(["paths",W])}),fe.requestResolvedSubtree(["components","securitySchemes"])}},x=function(K,le){var fe=le.specActions;return function(ge){return fe.logRequest(ge),K(ge)}},Y=function(K,le){var fe=le.specSelectors;return function(ge){return K(ge,fe.isOAS3())}}},4852:(t,i,n)=>{n.r(i),n.d(i,{loaded:()=>s});var s=function(l,_){return function(){l.apply(void 0,arguments);var g=_.getConfigs().withCredentials;void 0!==g&&(_.fn.fetch.withCredentials="string"==typeof g?"true"===g:!!g)}}},2990:(t,i,n)=>{n.r(i),n.d(i,{default:()=>K});var s=n(5171);const l=(n.d(fe={},{default:()=>Gx}),fe),_=(le=>{var fe={};return n.d(fe,le),fe})({buildRequest:()=>Wx,execute:()=>Nk}),g=(le=>{var fe={};return n.d(fe,le),fe})({default:()=>CA,makeHttp:()=>T5,serializeRes:()=>L3}),M=(le=>{var fe={};return n.d(fe,le),fe})({default:()=>Uk});var fe,x=n(5013),Y=n(4852);function K(le){var fe=le.configs,ge=le.getConfigs;return{fn:{fetch:(0,g.makeHttp)(g.default,fe.preFetch,fe.postFetch),buildRequest:_.buildRequest,execute:_.execute,resolve:l.default,resolveSubtree:function(Se,Ge,we){var He;if(void 0===we){var Pe=ge();we={modelPropertyMacro:Pe.modelPropertyMacro,parameterMacro:Pe.parameterMacro,requestInterceptor:Pe.requestInterceptor,responseInterceptor:Pe.responseInterceptor}}for(var W=arguments.length,It=new Array(W>3?W-3:0),Pt=3;Pt<W;Pt++)It[Pt-3]=arguments[Pt];return M.default.apply(void 0,(0,s.default)(He=[Se,Ge,we]).call(He,It))},serializeRes:g.serializeRes,opId:x.opId},statePlugins:{configs:{wrapActions:{loaded:Y.loaded}}}}}},8525:(t,i,n)=>{n.r(i),n.d(i,{default:()=>l});var s=n(6298);function l(){return{fn:{shallowEqualKeys:s.be}}}},8347:(t,i,n)=>{n.r(i),n.d(i,{getDisplayName:()=>s});var s=function(l){return l.displayName||l.name||"Component"}},3420:(t,i,n)=>{n.r(i),n.d(i,{default:()=>x});var s=n(313),l=n(6298),_=n(5005),g=n(8347),M=n(8287);const x=function(Y){var K,we,le=Y.getComponents,fe=Y.getStore,ge=Y.getSystem,Se=(K=(0,_.getComponent)(ge,fe,le),(0,l.HP)(K,function(){for(var we=arguments.length,He=new Array(we),Pe=0;Pe<we;Pe++)He[Pe]=arguments[Pe];return(0,s.default)(He)})),Ge=(we=(0,_.withMappedContainer)(ge,fe,Se),(0,M.Z)(we,function(){for(var He=arguments.length,Pe=new Array(He),W=0;W<He;W++)Pe[W]=arguments[W];return Pe}));return{rootInjects:{getComponent:Se,makeMappedContainer:Ge,render:(0,_.render)(ge,fe,_.getComponent,le)},fn:{getDisplayName:g.getDisplayName}}}},5005:(t,i,n)=>{n.r(i),n.d(i,{getComponent:()=>Pt,render:()=>It,withMappedContainer:()=>W});var s=n(1581),l=n(1013),_=n(863),g=n(7344),M=n(8656),x=n(9972),Y=n(5416),K=n(2740),le=n(810);const fe=(n.d(dn={},{default:()=>Jx}),dn);var dn,ge=n(9871);const Se=(Jt=>{var dn={};return n.d(dn,Jt),dn})({Provider:()=>zk,connect:()=>b$}),Ge=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>D$()}),we=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>P$()});var He=function(Jt,dn,Un){return(0,ge.compose)(Un?(ln=Jt,Xn=Un,function(jn){var Wr=ln().fn,Ur=function(di){(0,x.default)(Gn,di);var Mi=(0,Y.default)(Gn);function Gn(){return(0,g.default)(this,Gn),Mi.apply(this,arguments)}return(0,M.default)(Gn,[{key:"render",value:function(){return le.default.createElement(Se.Provider,{store:Xn},le.default.createElement(jn,(0,_.default)({},this.props,this.context)))}}]),Gn}(le.Component);return Ur.displayName="WithRoot(".concat(Wr.getDisplayName(jn),")"),Ur}):we.default,(0,Se.connect)(function(ln,Xn){var jn,Wr=(0,l.default)((0,l.default)({},Xn),Jt());return((null===(jn=dn.prototype)||void 0===jn?void 0:jn.mapStateToProps)||function(di){return{state:di}})(ln,Wr)}),function(ln){return function(Xn){var jn=ln().fn,Wr=function(Ur){(0,x.default)(Mi,Ur);var di=(0,Y.default)(Mi);function Mi(){return(0,g.default)(this,Mi),di.apply(this,arguments)}return(0,M.default)(Mi,[{key:"render",value:function(){return le.default.createElement(Xn,(0,_.default)({},ln(),this.props,this.context))}}]),Mi}(le.Component);return Wr.displayName="WithSystem(".concat(jn.getDisplayName(Xn),")"),Wr}}(Jt))(dn);var ln,Xn},Pe=function(Jt,dn,Un,ln){for(var Xn in dn){var jn=dn[Xn];"function"==typeof jn&&jn(Un[Xn],ln[Xn],Jt())}},W=function(Jt,dn,Un){return function(ln,Xn){var jn=Jt().fn,Wr=Un(ln,"root"),Ur=function(di){(0,x.default)(Gn,di);var Mi=(0,Y.default)(Gn);function Gn(pr,fr){var Mr;return(0,g.default)(this,Gn),Mr=Mi.call(this,pr,fr),Pe(Jt,Xn,pr,{}),Mr}return(0,M.default)(Gn,[{key:"UNSAFE_componentWillReceiveProps",value:function(pr){Pe(Jt,Xn,pr,this.props)}},{key:"render",value:function(){var pr=(0,Ge.default)(this.props,Xn?(0,K.default)(Xn):[]);return le.default.createElement(Wr,pr)}}]),Gn}(le.Component);return Ur.displayName="WithMappedContainer(".concat(jn.getDisplayName(Wr),")"),Ur}},It=function(Jt,dn,Un,ln){return function(Xn){var jn=Un(Jt,dn,ln)("App","root");fe.default.render(le.default.createElement(jn,null),Xn)}},Pt=function(Jt,dn,Un){return function(ln,Xn){var jn=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"!=typeof ln)throw new TypeError("Need a string, to fetch a component. Was given a "+(0,s.default)(ln));var Wr=Un(ln);return Wr?Xn?"root"===Xn?He(Jt,Wr,dn()):He(Jt,Wr):Wr:(jn.failSilently||Jt().log.warn("Could not find component:",ln),null)}}},471:(t,i,n)=>{n.d(i,{d3:()=>_.default,C2:()=>Pt});var s=n(2740),l=n(2372);const _=(n.d(dn={},{default:()=>eH}),dn),g=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>rH}),M=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>sH}),x=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>cH}),Y=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>fH}),K=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>hH}),le=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>vH}),fe=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>SH}),ge=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>CH}),Se=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>TH}),Ge=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>bH}),we=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>MH}),He=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>OH}),Pe=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>AH});var dn;_.default.registerLanguage("json",M.default),_.default.registerLanguage("js",g.default),_.default.registerLanguage("xml",x.default),_.default.registerLanguage("yaml",K.default),_.default.registerLanguage("http",le.default),_.default.registerLanguage("bash",Y.default),_.default.registerLanguage("powershell",fe.default),_.default.registerLanguage("javascript",g.default);var W={agate:ge.default,arta:Se.default,monokai:Ge.default,nord:we.default,obsidian:He.default,"tomorrow-night":Pe.default},It=(0,s.default)(W),Pt=function(Jt){return(0,l.default)(It).call(It,Jt)?W[Jt]:(console.warn("Request style '".concat(Jt,"' is not available, returning default instead")),ge.default)}},6298:(t,i,n)=>{n.d(i,{r3:()=>hc,GZ:()=>Gp,Xb:()=>Qa,oJ:()=>ud,XV:()=>Bi,iQ:()=>Ft,J6:()=>u_,DR:()=>mr,oG:()=>Ji,Uj:()=>Gs,QG:()=>Hc,po:()=>Rr,nX:()=>fo,gp:()=>Nt,xi:()=>Nu,kJ:()=>Aa,O2:()=>gu,LQ:()=>fs,Wl:()=>Sa,Kn:()=>Xo,HP:()=>to,AF:()=>To,D$:()=>ls,Ay:()=>No,Q2:()=>Uo,mz:()=>Ti,V9:()=>Rs,cz:()=>Is,UG:()=>op,Zl:()=>Zr,hW:()=>lh,Nm:()=>w_,be:()=>ah,wh:()=>yd,Pz:()=>Oo,_5:()=>rt,Ik:()=>no});var s=n(2691),l=(n(9334),n(1581)),_=n(3248),g=n(4163),M=n(2565),x=n(2954),Y=n(5171),K=n(29),le=n(6145),fe=n(2740),ge=(n(5527),n(6785)),Se=n(7512),Ge=n(4350),we=n(8136),He=n(9963),Pe=(n(2372),n(313)),W=n(8818),It=n(1778),Pt=n(3590),Jt=n(5942),dn=n(9725);const Un=(n.d(oo={},{sanitizeUrl:()=>DH.N}),oo),ln=(Cr=>{var oo={};return n.d(oo,Cr),oo})({default:()=>PH()}),Xn=(Cr=>{var oo={};return n.d(oo,Cr),oo})({default:()=>wH()});var oo,jn=n(5476);const Wr=(Cr=>{var oo={};return n.d(oo,Cr),oo})({default:()=>IH()}),Ur=(Cr=>{var oo={};return n.d(oo,Cr),oo})({default:()=>LH()}),di=(Cr=>{var oo={};return n.d(oo,Cr),oo})({default:()=>$H()});var Mi=n(7068),Gn=n(2473),pr=n(7504);const fr=(Cr=>{var oo={};return n.d(oo,Cr),oo})({default:()=>UH()});var Mr=n(9069),Jn=n(1798),ci=n.n(Jn),ho=n(9072),Yi=n.n(ho),lo=n(626),yi=n(8764).Buffer,qn="default",In=function(Cr){return dn.default.Iterable.isIterable(Cr)};function Ti(Cr){return Xo(Cr)?In(Cr)?Cr.toJS():Cr:{}}function Ji(Cr){var oo,Us;if(In(Cr)||Cr instanceof pr.Z.File||!Xo(Cr))return Cr;if((0,g.default)(Cr))return(0,M.default)(Us=dn.default.Seq(Cr)).call(Us,Ji).toList();if((0,Mi.default)((0,x.default)(Cr))){var po,sa=function(Fs){if(!(0,Mi.default)((0,x.default)(Fs)))return Fs;var Jc,ql={},Cl={},ul=(0,_.default)((0,x.default)(Fs).call(Fs));try{for(ul.s();!(Jc=ul.n()).done;){var Qc,pf,Dp,mc,vu=Jc.value;ql[vu[0]]||Cl[vu[0]]&&Cl[vu[0]].containsMultiple?(Cl[vu[0]]||(Cl[vu[0]]={containsMultiple:!0,length:1},ql[(0,Y.default)(Dp=(0,Y.default)(mc="".concat(vu[0])).call(mc,"_**[]")).call(Dp,Cl[vu[0]].length)]=ql[vu[0]],delete ql[vu[0]]),Cl[vu[0]].length+=1,ql[(0,Y.default)(Qc=(0,Y.default)(pf="".concat(vu[0])).call(pf,"_**[]")).call(Qc,Cl[vu[0]].length)]=vu[1]):ql[vu[0]]=vu[1]}}catch(bf){ul.e(bf)}finally{ul.f()}return ql}(Cr);return(0,M.default)(po=dn.default.OrderedMap(sa)).call(po,Ji)}return(0,M.default)(oo=dn.default.OrderedMap(Cr)).call(oo,Ji)}function To(Cr){return(0,g.default)(Cr)?Cr:[Cr]}function fs(Cr){return"function"==typeof Cr}function Xo(Cr){return!!Cr&&"object"===(0,l.default)(Cr)}function Sa(Cr){return"function"==typeof Cr}function Aa(Cr){return(0,g.default)(Cr)}var to=jn.default;function No(Cr,oo){var Us;return(0,ge.default)(Us=(0,fe.default)(Cr)).call(Us,function(po,sa){return po[sa]=oo(Cr[sa],sa),po},{})}function Uo(Cr,oo){var Us;return(0,ge.default)(Us=(0,fe.default)(Cr)).call(Us,function(po,sa){var Fs=oo(Cr[sa],sa);return Fs&&"object"===(0,l.default)(Fs)&&(0,Se.default)(po,Fs),po},{})}function rt(Cr){return function(oo){return function(Us){return function(po){return"function"==typeof po?po(Cr()):Us(po)}}}}function Ft(Cr){var oo,Us=Cr.keySeq();return Us.contains(qn)?qn:(0,Ge.default)(oo=(0,le.default)(Us).call(Us,function(po){return"2"===(po+"")[0]})).call(oo).first()}function Nt(Cr,oo){if(!dn.default.Iterable.isIterable(Cr))return dn.default.List();var Us=Cr.getIn((0,g.default)(oo)?oo:[oo]);return dn.default.List.isList(Us)?Us:dn.default.List()}function mr(Cr){var oo,Us=[/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i];if((0,He.default)(Us).call(Us,function(po){return null!==(oo=po.exec(Cr))}),null!==oo&&oo.length>1)try{return decodeURIComponent(oo[1])}catch(po){console.error(po)}return null}function Zr(Cr){return oo=Cr.replace(/\.[^./]*$/,""),(0,Xn.default)((0,ln.default)(oo));var oo}function ui(Cr,oo,Us,po,sa){if(!oo)return[];var Fs=[],Jc=oo.get("nullable"),ql=oo.get("required"),Yl=oo.get("maximum"),Cl=oo.get("minimum"),ul=oo.get("type"),vu=oo.get("format"),Qc=oo.get("maxLength"),pf=oo.get("minLength"),Dp=oo.get("uniqueItems"),mc=oo.get("maxItems"),bf=oo.get("minItems"),ch=oo.get("pattern"),Rp=Us||!0===ql,Lh=null!=Cr;if(Jc&&null===Cr||!ul||!(Rp||Lh&&"array"===ul||Rp||Lh))return[];var N_="string"===ul&&Cr,Wm="array"===ul&&(0,g.default)(Cr)&&Cr.length,yo="array"===ul&&dn.default.List.isList(Cr)&&Cr.count(),Yd=[N_,Wm,yo,"array"===ul&&"string"==typeof Cr&&Cr,"file"===ul&&Cr instanceof pr.Z.File,"boolean"===ul&&(Cr||!1===Cr),"number"===ul&&(Cr||0===Cr),"integer"===ul&&(Cr||0===Cr),"object"===ul&&"object"===(0,l.default)(Cr)&&null!==Cr,"object"===ul&&"string"==typeof Cr&&Cr],Jm=(0,He.default)(Yd).call(Yd,function(Rl){return!!Rl});if(Rp&&!Jm&&!po)return Fs.push("Required field is not provided"),Fs;if("object"===ul&&(null===sa||"application/json"===sa)){var bg,Am=Cr;if("string"==typeof Cr)try{Am=JSON.parse(Cr)}catch{return Fs.push("Parameter string value must be valid JSON"),Fs}oo&&oo.has("required")&&Sa(ql.isList)&&ql.isList()&&(0,K.default)(ql).call(ql,function(Rl){void 0===Am[Rl]&&Fs.push({propKey:Rl,error:"Required property not found"})}),oo&&oo.has("properties")&&(0,K.default)(bg=oo.get("properties")).call(bg,function(Rl,Su){var Nd=ui(Am[Su],Rl,!1,po,sa);Fs.push.apply(Fs,(0,s.default)((0,M.default)(Nd).call(Nd,function(_0){return{propKey:Su,error:_0}})))})}if(ch){var o1=function(Rl,Su){if(!new RegExp(Su).test(Rl))return"Value must follow pattern "+Su}(Cr,ch);o1&&Fs.push(o1)}if(bf&&"array"===ul){var d_=function(Rl,Su){var Nd;if(!Rl&&Su>=1||Rl&&Rl.length<Su)return(0,Y.default)(Nd="Array must contain at least ".concat(Su," item")).call(Nd,1===Su?"":"s")}(Cr,bf);d_&&Fs.push(d_)}if(mc&&"array"===ul){var Yb=function(Rl,Su){var Nd;if(Rl&&Rl.length>Su)return(0,Y.default)(Nd="Array must not contain more then ".concat(Su," item")).call(Nd,1===Su?"":"s")}(Cr,mc);Yb&&Fs.push({needRemove:!0,error:Yb})}if(Dp&&"array"===ul){var nf=function(Rl,Su){if(Rl&&("true"===Su||!0===Su)){var Nd=(0,dn.fromJS)(Rl),_0=Nd.toSet();if(Rl.length>_0.size){var ev=(0,dn.Set)();if((0,K.default)(Nd).call(Nd,function(h0,f_){(0,le.default)(Nd).call(Nd,function(tv){return Sa(tv.equals)?tv.equals(h0):tv===h0}).size>1&&(ev=ev.add(f_))}),0!==ev.size)return(0,M.default)(ev).call(ev,function(h0){return{index:h0,error:"No duplicates allowed."}}).toArray()}}}(Cr,Dp);nf&&Fs.push.apply(Fs,(0,s.default)(nf))}if(Qc||0===Qc){var jb=function(Rl,Su){var Nd;if(Rl.length>Su)return(0,Y.default)(Nd="Value must be no longer than ".concat(Su," character")).call(Nd,1!==Su?"s":"")}(Cr,Qc);jb&&Fs.push(jb)}if(pf){var dS=function(Rl,Su){var Nd;if(Rl.length<Su)return(0,Y.default)(Nd="Value must be at least ".concat(Su," character")).call(Nd,1!==Su?"s":"")}(Cr,pf);dS&&Fs.push(dS)}if(Yl||0===Yl){var Zb=function(Rl,Su){if(Rl>Su)return"Value must be less than ".concat(Su)}(Cr,Yl);Zb&&Fs.push(Zb)}if(Cl||0===Cl){var zb=function(Rl,Su){if(Rl<Su)return"Value must be greater than ".concat(Su)}(Cr,Cl);zb&&Fs.push(zb)}if("string"===ul){var fS;if(!(fS="date-time"===vu?function(Rl){if(isNaN(Date.parse(Rl)))return"Value must be a DateTime"}(Cr):"uuid"===vu?function(Rl){if(Rl=Rl.toString().toLowerCase(),!/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(Rl))return"Value must be a Guid"}(Cr):function(Rl){if(Rl&&"string"!=typeof Rl)return"Value must be a string"}(Cr)))return Fs;Fs.push(fS)}else if("boolean"===ul){var xy=function(Rl){if("true"!==Rl&&"false"!==Rl&&!0!==Rl&&!1!==Rl)return"Value must be a boolean"}(Cr);if(!xy)return Fs;Fs.push(xy)}else if("number"===ul){var Vb=function(Rl){if(!/^-?\d+(\.?\d+)?$/.test(Rl))return"Value must be a number"}(Cr);if(!Vb)return Fs;Fs.push(Vb)}else if("integer"===ul){var Wb=function(Rl){if(!/^-?\d+$/.test(Rl))return"Value must be an integer"}(Cr);if(!Wb)return Fs;Fs.push(Wb)}else if("array"===ul){if(!Wm&&!yo)return Fs;Cr&&(0,K.default)(Cr).call(Cr,function(Rl,Su){var Nd=ui(Rl,oo.get("items"),!1,po,sa);Fs.push.apply(Fs,(0,s.default)((0,M.default)(Nd).call(Nd,function(_0){return{index:Su,error:_0}})))})}else if("file"===ul){var Jb=function(Rl){if(Rl&&!(Rl instanceof pr.Z.File))return"Value must be a file"}(Cr);if(!Jb)return Fs;Fs.push(Jb)}return Fs}var no=function(Cr,oo){var Us=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},po=Us.isOAS3,sa=void 0!==po&&po,Fs=Us.bypassRequiredCheck,Jc=void 0!==Fs&&Fs,ql=Cr.get("required"),Yl=(0,Mr.Z)(Cr,{isOAS3:sa});return ui(oo,Yl.schema,ql,Jc,Yl.parameterContentMediaType)},Ca=function(Cr,oo,Us){if(Cr&&(!Cr.xml||!Cr.xml.name)){if(Cr.xml=Cr.xml||{},!Cr.$$ref)return Cr.type||Cr.items||Cr.properties||Cr.additionalProperties?'<?xml version="1.0" encoding="UTF-8"?>\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e':null;var po=Cr.$$ref.match(/\S*\/(\S+)$/);Cr.xml.name=po[1]}return(0,Gn.memoizedCreateXMLExample)(Cr,oo,Us)},vs=[{when:/json/,shouldStringifyTypes:["string"]}],Hl=["object"],Wl=function(Cr,oo,Us,po){var sa=(0,Gn.memoizedSampleFromSchema)(Cr,oo,po),Fs=(0,l.default)(sa),Jc=(0,ge.default)(vs).call(vs,function(ql,Yl){var Cl;return Yl.when.test(Us)?(0,Y.default)(Cl=[]).call(Cl,(0,s.default)(ql),(0,s.default)(Yl.shouldStringifyTypes)):ql},Hl);return(0,Ur.default)(Jc,function(ql){return ql===Fs})?(0,Pe.default)(sa,null,2):sa},$c=function(Cr,oo,Us,po){var sa,Fs=Wl(Cr,oo,Us,po);try{"\n"===(sa=lo.default.dump(lo.default.load(Fs),{lineWidth:-1},{schema:lo.JSON_SCHEMA}))[sa.length-1]&&(sa=(0,we.default)(sa).call(sa,0,sa.length-1))}catch(Jc){return console.error(Jc),"error: could not generate yaml example"}return sa.replace(/\t/g," ")},Nu=function(Cr){var oo=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",Us=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},po=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return Cr&&Sa(Cr.toJS)&&(Cr=Cr.toJS()),po&&Sa(po.toJS)&&(po=po.toJS()),/xml/.test(oo)?Ca(Cr,Us,po):/(yaml|yml)/.test(oo)?$c(Cr,Us,oo,po):Wl(Cr,Us,oo,po)},op=function(){var Cr={},oo=pr.Z.location.search;if(!oo)return{};if(""!=oo){var Us=oo.substr(1).split("&");for(var po in Us)Object.prototype.hasOwnProperty.call(Us,po)&&(po=Us[po].split("="),Cr[decodeURIComponent(po[0])]=po[1]&&decodeURIComponent(po[1])||"")}return Cr},hc=function(Cr){return(Cr instanceof yi?Cr:yi.from(Cr.toString(),"utf-8")).toString("base64")},yd={operationsSorter:{alpha:function(Cr,oo){return Cr.get("path").localeCompare(oo.get("path"))},method:function(Cr,oo){return Cr.get("method").localeCompare(oo.get("method"))}},tagsSorter:{alpha:function(Cr,oo){return Cr.localeCompare(oo)}}},Gp=function(Cr){var oo=[];for(var Us in Cr){var po=Cr[Us];void 0!==po&&""!==po&&oo.push([Us,"=",encodeURIComponent(po).replace(/%20/g,"+")].join(""))}return oo.join("&")},ah=function(Cr,oo,Us){return!!(0,Wr.default)(Us,function(po){return(0,di.default)(Cr[po],oo[po])})};function w_(Cr){return"string"!=typeof Cr||""===Cr?"":(0,Un.sanitizeUrl)(Cr)}function lh(Cr){return!(!Cr||(0,W.default)(Cr).call(Cr,"localhost")>=0||(0,W.default)(Cr).call(Cr,"127.0.0.1")>=0||"none"===Cr)}function Hc(Cr){if(!dn.default.OrderedMap.isOrderedMap(Cr)||!Cr.size)return null;var oo=(0,It.default)(Cr).call(Cr,function(sa,Fs){return(0,Pt.default)(Fs).call(Fs,"2")&&(0,fe.default)(sa.get("content")||{}).length>0}),Us=Cr.get("default")||dn.default.OrderedMap(),po=(Us.get("content")||dn.default.OrderedMap()).keySeq().toJS().length?Us:null;return oo||po}var ud=function(Cr){return"string"==typeof Cr||Cr instanceof String?(0,Jt.default)(Cr).call(Cr).replace(/\s/g,"%20"):""},u_=function(Cr){return(0,fr.default)(ud(Cr).replace(/%20/g,"_"))},fo=function(Cr){return(0,le.default)(Cr).call(Cr,function(oo,Us){return/^x-/.test(Us)})},Rr=function(Cr){return(0,le.default)(Cr).call(Cr,function(oo,Us){return/^pattern|maxLength|minLength|maximum|minimum/.test(Us)})};function Bi(Cr,oo){var Us,po=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};if("object"!==(0,l.default)(Cr)||(0,g.default)(Cr)||null===Cr||!oo)return Cr;var sa=(0,Se.default)({},Cr);return(0,K.default)(Us=(0,fe.default)(sa)).call(Us,function(Fs){Fs===oo&&po(sa[Fs],Fs)?delete sa[Fs]:sa[Fs]=Bi(sa[Fs],oo,po)}),sa}function Oo(Cr){if("string"==typeof Cr)return Cr;if(Cr&&Cr.toJS&&(Cr=Cr.toJS()),"object"===(0,l.default)(Cr)&&null!==Cr)try{return(0,Pe.default)(Cr,null,2)}catch{return String(Cr)}return null==Cr?"":Cr.toString()}function ls(Cr){return"number"==typeof Cr?Cr.toString():Cr}function Rs(Cr){var oo=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Us=oo.returnAll,po=void 0!==Us&&Us,sa=oo.allowHashes,Fs=void 0===sa||sa;if(!dn.default.Map.isMap(Cr))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");var Jc,ql,Yl,Cl=Cr.get("name"),ul=Cr.get("in"),vu=[];return Cr&&Cr.hashCode&&ul&&Cl&&Fs&&vu.push((0,Y.default)(Jc=(0,Y.default)(ql="".concat(ul,".")).call(ql,Cl,".hash-")).call(Jc,Cr.hashCode())),ul&&Cl&&vu.push((0,Y.default)(Yl="".concat(ul,".")).call(Yl,Cl)),vu.push(Cl),po?vu:vu[0]||""}function Is(Cr,oo){var Us,po=Rs(Cr,{returnAll:!0});return(0,le.default)(Us=(0,M.default)(po).call(po,function(sa){return oo[sa]})).call(Us,function(sa){return void 0!==sa})[0]}function Gs(){return Il(ci()(32).toString("base64"))}function Qa(Cr){return Il(Yi()("sha256").update(Cr).digest("base64"))}function Il(Cr){return Cr.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var gu=function(Cr){return!Cr||!(!In(Cr)||!Cr.isEmpty())}},2518:(t,i,n)=>{function s(l){return function(_){try{return!!JSON.parse(_)}catch{return null}}(l)?"json":null}n.d(i,{O:()=>s})},7504:(t,i,n)=>{n.d(i,{Z:()=>s});const s=function(){var l={location:{},history:{},open:function(){},close:function(){},File:function(){}};if(typeof window>"u")return l;try{l=window;for(var _=0,g=["File","Blob","FormData"];_<g.length;_++){var M=g[_];M in window&&(l[M]=window[M])}}catch(x){console.error(x)}return l}()},9069:(t,i,n)=>{n.d(i,{Z:()=>M});var s=n(6145),l=n(2372),_=n(9725),g=_.default.Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf");function M(x){var K=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isOAS3;if(!_.default.Map.isMap(x))return{schema:_.default.Map(),parameterContentMediaType:null};if(!K)return"body"===x.get("in")?{schema:x.get("schema",_.default.Map()),parameterContentMediaType:null}:{schema:(0,s.default)(x).call(x,function(ge,Se){return(0,l.default)(g).call(g,Se)}),parameterContentMediaType:null};if(x.get("content")){var fe=x.get("content",_.default.Map({})).keySeq().first();return{schema:x.getIn(["content",fe,"schema"],_.default.Map()),parameterContentMediaType:fe}}return{schema:x.get("schema",_.default.Map()),parameterContentMediaType:null}}},8287:(t,i,n)=>{n.d(i,{Z:()=>Pt});var s=n(7344),l=n(8656);const _=(n.d(dn={},{default:()=>Ob}),dn),g=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>a0});var dn,M=n(9972),x=n(5416);const Y=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>pD});var K=n(4163),le=n(7930),fe=n(8898),ge=n(5487),Se=n(1778);const Ge=(Jt=>{var dn={};return n.d(dn,Jt),dn})({default:()=>ZH()});var we=n(6914),He=n(5476),Pe=function(Jt){return function(dn){return(0,K.default)(Jt)&&(0,K.default)(dn)&&Jt.length===dn.length&&(0,le.default)(Jt).call(Jt,function(Un,ln){return Un===dn[ln]})}},W=function(){for(var Jt=arguments.length,dn=new Array(Jt),Un=0;Un<Jt;Un++)dn[Un]=arguments[Un];return dn},It=function(Jt){(0,M.default)(Un,Jt);var dn=(0,x.default)(Un);function Un(){return(0,s.default)(this,Un),dn.apply(this,arguments)}return(0,l.default)(Un,[{key:"delete",value:function(ln){var Xn=(0,fe.default)((0,ge.default)(this).call(this)),jn=(0,Se.default)(Xn).call(Xn,Pe(ln));return(0,_.default)((0,g.default)(Un.prototype),"delete",this).call(this,jn)}},{key:"get",value:function(ln){var Xn=(0,fe.default)((0,ge.default)(this).call(this)),jn=(0,Se.default)(Xn).call(Xn,Pe(ln));return(0,_.default)((0,g.default)(Un.prototype),"get",this).call(this,jn)}},{key:"has",value:function(ln){var Xn=(0,fe.default)((0,ge.default)(this).call(this));return-1!==(0,Ge.default)(Xn).call(Xn,Pe(ln))}}]),Un}((0,Y.default)(we.default));const Pt=function(Jt){var dn=arguments.length>1&&void 0!==arguments[1]?arguments[1]:W,Un=He.default.Cache;He.default.Cache=It;var ln=(0,He.default)(Jt,dn);return He.default.Cache=Un,ln}},8764:(t,i,n)=>{const s=n(4780),l=n(3294),_="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;i.Buffer=x,i.SlowBuffer=function(rt){return+rt!=rt&&(rt=0),x.alloc(+rt)},i.INSPECT_MAX_BYTES=50;const g=2147483647;function M(rt){if(rt>g)throw new RangeError('The value "'+rt+'" is invalid for option "size"');const Ft=new Uint8Array(rt);return Object.setPrototypeOf(Ft,x.prototype),Ft}function x(rt,Ft,Nt){if("number"==typeof rt){if("string"==typeof Ft)throw new TypeError('The "string" argument must be of type string. Received type number');return le(rt)}return Y(rt,Ft,Nt)}function Y(rt,Ft,Nt){if("string"==typeof rt)return function(ui,no){if("string"==typeof no&&""!==no||(no="utf8"),!x.isEncoding(no))throw new TypeError("Unknown encoding: "+no);const Ca=0|Ge(ui,no);let vs=M(Ca);const Hl=vs.write(ui,no);return Hl!==Ca&&(vs=vs.slice(0,Hl)),vs}(rt,Ft);if(ArrayBuffer.isView(rt))return function(ui){if(Sa(ui,Uint8Array)){const no=new Uint8Array(ui);return ge(no.buffer,no.byteOffset,no.byteLength)}return fe(ui)}(rt);if(null==rt)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof rt);if(Sa(rt,ArrayBuffer)||rt&&Sa(rt.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Sa(rt,SharedArrayBuffer)||rt&&Sa(rt.buffer,SharedArrayBuffer)))return ge(rt,Ft,Nt);if("number"==typeof rt)throw new TypeError('The "value" argument must not be of type number. Received type number');const mr=rt.valueOf&&rt.valueOf();if(null!=mr&&mr!==rt)return x.from(mr,Ft,Nt);const Zr=function(ui){if(x.isBuffer(ui)){const no=0|Se(ui.length),Ca=M(no);return 0===Ca.length||ui.copy(Ca,0,0,no),Ca}return void 0!==ui.length?"number"!=typeof ui.length||Aa(ui.length)?M(0):fe(ui):"Buffer"===ui.type&&Array.isArray(ui.data)?fe(ui.data):void 0}(rt);if(Zr)return Zr;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof rt[Symbol.toPrimitive])return x.from(rt[Symbol.toPrimitive]("string"),Ft,Nt);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof rt)}function K(rt){if("number"!=typeof rt)throw new TypeError('"size" argument must be of type number');if(rt<0)throw new RangeError('The value "'+rt+'" is invalid for option "size"')}function le(rt){return K(rt),M(rt<0?0:0|Se(rt))}function fe(rt){const Ft=rt.length<0?0:0|Se(rt.length),Nt=M(Ft);for(let mr=0;mr<Ft;mr+=1)Nt[mr]=255&rt[mr];return Nt}function ge(rt,Ft,Nt){if(Ft<0||rt.byteLength<Ft)throw new RangeError('"offset" is outside of buffer bounds');if(rt.byteLength<Ft+(Nt||0))throw new RangeError('"length" is outside of buffer bounds');let mr;return mr=void 0===Ft&&void 0===Nt?new Uint8Array(rt):void 0===Nt?new Uint8Array(rt,Ft):new Uint8Array(rt,Ft,Nt),Object.setPrototypeOf(mr,x.prototype),mr}function Se(rt){if(rt>=g)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+g.toString(16)+" bytes");return 0|rt}function Ge(rt,Ft){if(x.isBuffer(rt))return rt.length;if(ArrayBuffer.isView(rt)||Sa(rt,ArrayBuffer))return rt.byteLength;if("string"!=typeof rt)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof rt);const Nt=rt.length,mr=arguments.length>2&&!0===arguments[2];if(!mr&&0===Nt)return 0;let Zr=!1;for(;;)switch(Ft){case"ascii":case"latin1":case"binary":return Nt;case"utf8":case"utf-8":return To(rt).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Nt;case"hex":return Nt>>>1;case"base64":return fs(rt).length;default:if(Zr)return mr?-1:To(rt).length;Ft=(""+Ft).toLowerCase(),Zr=!0}}function we(rt,Ft,Nt){let mr=!1;if((void 0===Ft||Ft<0)&&(Ft=0),Ft>this.length||((void 0===Nt||Nt>this.length)&&(Nt=this.length),Nt<=0)||(Nt>>>=0)<=(Ft>>>=0))return"";for(rt||(rt="utf8");;)switch(rt){case"hex":return di(this,Ft,Nt);case"utf8":case"utf-8":return Xn(this,Ft,Nt);case"ascii":return Wr(this,Ft,Nt);case"latin1":case"binary":return Ur(this,Ft,Nt);case"base64":return ln(this,Ft,Nt);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Mi(this,Ft,Nt);default:if(mr)throw new TypeError("Unknown encoding: "+rt);rt=(rt+"").toLowerCase(),mr=!0}}function He(rt,Ft,Nt){const mr=rt[Ft];rt[Ft]=rt[Nt],rt[Nt]=mr}function Pe(rt,Ft,Nt,mr,Zr){if(0===rt.length)return-1;if("string"==typeof Nt?(mr=Nt,Nt=0):Nt>2147483647?Nt=2147483647:Nt<-2147483648&&(Nt=-2147483648),Aa(Nt=+Nt)&&(Nt=Zr?0:rt.length-1),Nt<0&&(Nt=rt.length+Nt),Nt>=rt.length){if(Zr)return-1;Nt=rt.length-1}else if(Nt<0){if(!Zr)return-1;Nt=0}if("string"==typeof Ft&&(Ft=x.from(Ft,mr)),x.isBuffer(Ft))return 0===Ft.length?-1:W(rt,Ft,Nt,mr,Zr);if("number"==typeof Ft)return Ft&=255,"function"==typeof Uint8Array.prototype.indexOf?Zr?Uint8Array.prototype.indexOf.call(rt,Ft,Nt):Uint8Array.prototype.lastIndexOf.call(rt,Ft,Nt):W(rt,[Ft],Nt,mr,Zr);throw new TypeError("val must be string, number or Buffer")}function W(rt,Ft,Nt,mr,Zr){let ui,no=1,Ca=rt.length,vs=Ft.length;if(void 0!==mr&&("ucs2"===(mr=String(mr).toLowerCase())||"ucs-2"===mr||"utf16le"===mr||"utf-16le"===mr)){if(rt.length<2||Ft.length<2)return-1;no=2,Ca/=2,vs/=2,Nt/=2}function Hl(Wl,$c){return 1===no?Wl[$c]:Wl.readUInt16BE($c*no)}if(Zr){let Wl=-1;for(ui=Nt;ui<Ca;ui++)if(Hl(rt,ui)===Hl(Ft,-1===Wl?0:ui-Wl)){if(-1===Wl&&(Wl=ui),ui-Wl+1===vs)return Wl*no}else-1!==Wl&&(ui-=ui-Wl),Wl=-1}else for(Nt+vs>Ca&&(Nt=Ca-vs),ui=Nt;ui>=0;ui--){let Wl=!0;for(let $c=0;$c<vs;$c++)if(Hl(rt,ui+$c)!==Hl(Ft,$c)){Wl=!1;break}if(Wl)return ui}return-1}function It(rt,Ft,Nt,mr){Nt=Number(Nt)||0;const Zr=rt.length-Nt;mr?(mr=Number(mr))>Zr&&(mr=Zr):mr=Zr;const ui=Ft.length;let no;for(mr>ui/2&&(mr=ui/2),no=0;no<mr;++no){const Ca=parseInt(Ft.substr(2*no,2),16);if(Aa(Ca))return no;rt[Nt+no]=Ca}return no}function Pt(rt,Ft,Nt,mr){return Xo(To(Ft,rt.length-Nt),rt,Nt,mr)}function Jt(rt,Ft,Nt,mr){return Xo(function(Zr){const ui=[];for(let no=0;no<Zr.length;++no)ui.push(255&Zr.charCodeAt(no));return ui}(Ft),rt,Nt,mr)}function dn(rt,Ft,Nt,mr){return Xo(fs(Ft),rt,Nt,mr)}function Un(rt,Ft,Nt,mr){return Xo(function(Zr,ui){let no,Ca,vs;const Hl=[];for(let Wl=0;Wl<Zr.length&&!((ui-=2)<0);++Wl)no=Zr.charCodeAt(Wl),Ca=no>>8,vs=no%256,Hl.push(vs),Hl.push(Ca);return Hl}(Ft,rt.length-Nt),rt,Nt,mr)}function ln(rt,Ft,Nt){return s.fromByteArray(0===Ft&&Nt===rt.length?rt:rt.slice(Ft,Nt))}function Xn(rt,Ft,Nt){Nt=Math.min(rt.length,Nt);const mr=[];let Zr=Ft;for(;Zr<Nt;){const ui=rt[Zr];let no=null,Ca=ui>239?4:ui>223?3:ui>191?2:1;if(Zr+Ca<=Nt){let vs,Hl,Wl,$c;switch(Ca){case 1:ui<128&&(no=ui);break;case 2:vs=rt[Zr+1],128==(192&vs)&&($c=(31&ui)<<6|63&vs,$c>127&&(no=$c));break;case 3:vs=rt[Zr+1],Hl=rt[Zr+2],128==(192&vs)&&128==(192&Hl)&&($c=(15&ui)<<12|(63&vs)<<6|63&Hl,$c>2047&&($c<55296||$c>57343)&&(no=$c));break;case 4:vs=rt[Zr+1],Hl=rt[Zr+2],Wl=rt[Zr+3],128==(192&vs)&&128==(192&Hl)&&128==(192&Wl)&&($c=(15&ui)<<18|(63&vs)<<12|(63&Hl)<<6|63&Wl,$c>65535&&$c<1114112&&(no=$c))}}null===no?(no=65533,Ca=1):no>65535&&(no-=65536,mr.push(no>>>10&1023|55296),no=56320|1023&no),mr.push(no),Zr+=Ca}return function(ui){const no=ui.length;if(no<=jn)return String.fromCharCode.apply(String,ui);let Ca="",vs=0;for(;vs<no;)Ca+=String.fromCharCode.apply(String,ui.slice(vs,vs+=jn));return Ca}(mr)}i.kMaxLength=g,(x.TYPED_ARRAY_SUPPORT=function(){try{const rt=new Uint8Array(1),Ft={foo:function(){return 42}};return Object.setPrototypeOf(Ft,Uint8Array.prototype),Object.setPrototypeOf(rt,Ft),42===rt.foo()}catch{return!1}}())||typeof console>"u"||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(x.prototype,"parent",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.buffer}}),Object.defineProperty(x.prototype,"offset",{enumerable:!0,get:function(){if(x.isBuffer(this))return this.byteOffset}}),x.poolSize=8192,x.from=function(rt,Ft,Nt){return Y(rt,Ft,Nt)},Object.setPrototypeOf(x.prototype,Uint8Array.prototype),Object.setPrototypeOf(x,Uint8Array),x.alloc=function(rt,Ft,Nt){return Zr=Ft,ui=Nt,K(mr=rt),mr<=0?M(mr):void 0!==Zr?"string"==typeof ui?M(mr).fill(Zr,ui):M(mr).fill(Zr):M(mr);var mr,Zr,ui},x.allocUnsafe=function(rt){return le(rt)},x.allocUnsafeSlow=function(rt){return le(rt)},x.isBuffer=function(rt){return null!=rt&&!0===rt._isBuffer&&rt!==x.prototype},x.compare=function(rt,Ft){if(Sa(rt,Uint8Array)&&(rt=x.from(rt,rt.offset,rt.byteLength)),Sa(Ft,Uint8Array)&&(Ft=x.from(Ft,Ft.offset,Ft.byteLength)),!x.isBuffer(rt)||!x.isBuffer(Ft))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(rt===Ft)return 0;let Nt=rt.length,mr=Ft.length;for(let Zr=0,ui=Math.min(Nt,mr);Zr<ui;++Zr)if(rt[Zr]!==Ft[Zr]){Nt=rt[Zr],mr=Ft[Zr];break}return Nt<mr?-1:mr<Nt?1:0},x.isEncoding=function(rt){switch(String(rt).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},x.concat=function(rt,Ft){if(!Array.isArray(rt))throw new TypeError('"list" argument must be an Array of Buffers');if(0===rt.length)return x.alloc(0);let Nt;if(void 0===Ft)for(Ft=0,Nt=0;Nt<rt.length;++Nt)Ft+=rt[Nt].length;const mr=x.allocUnsafe(Ft);let Zr=0;for(Nt=0;Nt<rt.length;++Nt){let ui=rt[Nt];if(Sa(ui,Uint8Array))Zr+ui.length>mr.length?(x.isBuffer(ui)||(ui=x.from(ui)),ui.copy(mr,Zr)):Uint8Array.prototype.set.call(mr,ui,Zr);else{if(!x.isBuffer(ui))throw new TypeError('"list" argument must be an Array of Buffers');ui.copy(mr,Zr)}Zr+=ui.length}return mr},x.byteLength=Ge,x.prototype._isBuffer=!0,x.prototype.swap16=function(){const rt=this.length;if(rt%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Ft=0;Ft<rt;Ft+=2)He(this,Ft,Ft+1);return this},x.prototype.swap32=function(){const rt=this.length;if(rt%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let Ft=0;Ft<rt;Ft+=4)He(this,Ft,Ft+3),He(this,Ft+1,Ft+2);return this},x.prototype.swap64=function(){const rt=this.length;if(rt%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let Ft=0;Ft<rt;Ft+=8)He(this,Ft,Ft+7),He(this,Ft+1,Ft+6),He(this,Ft+2,Ft+5),He(this,Ft+3,Ft+4);return this},x.prototype.toLocaleString=x.prototype.toString=function(){const rt=this.length;return 0===rt?"":0===arguments.length?Xn(this,0,rt):we.apply(this,arguments)},x.prototype.equals=function(rt){if(!x.isBuffer(rt))throw new TypeError("Argument must be a Buffer");return this===rt||0===x.compare(this,rt)},x.prototype.inspect=function(){let rt="";const Ft=i.INSPECT_MAX_BYTES;return rt=this.toString("hex",0,Ft).replace(/(.{2})/g,"$1 ").trim(),this.length>Ft&&(rt+=" ... "),"<Buffer "+rt+">"},_&&(x.prototype[_]=x.prototype.inspect),x.prototype.compare=function(rt,Ft,Nt,mr,Zr){if(Sa(rt,Uint8Array)&&(rt=x.from(rt,rt.offset,rt.byteLength)),!x.isBuffer(rt))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof rt);if(void 0===Ft&&(Ft=0),void 0===Nt&&(Nt=rt?rt.length:0),void 0===mr&&(mr=0),void 0===Zr&&(Zr=this.length),Ft<0||Nt>rt.length||mr<0||Zr>this.length)throw new RangeError("out of range index");if(mr>=Zr&&Ft>=Nt)return 0;if(mr>=Zr)return-1;if(Ft>=Nt)return 1;if(this===rt)return 0;let ui=(Zr>>>=0)-(mr>>>=0),no=(Nt>>>=0)-(Ft>>>=0);const Ca=Math.min(ui,no),vs=this.slice(mr,Zr),Hl=rt.slice(Ft,Nt);for(let Wl=0;Wl<Ca;++Wl)if(vs[Wl]!==Hl[Wl]){ui=vs[Wl],no=Hl[Wl];break}return ui<no?-1:no<ui?1:0},x.prototype.includes=function(rt,Ft,Nt){return-1!==this.indexOf(rt,Ft,Nt)},x.prototype.indexOf=function(rt,Ft,Nt){return Pe(this,rt,Ft,Nt,!0)},x.prototype.lastIndexOf=function(rt,Ft,Nt){return Pe(this,rt,Ft,Nt,!1)},x.prototype.write=function(rt,Ft,Nt,mr){if(void 0===Ft)mr="utf8",Nt=this.length,Ft=0;else if(void 0===Nt&&"string"==typeof Ft)mr=Ft,Nt=this.length,Ft=0;else{if(!isFinite(Ft))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");Ft>>>=0,isFinite(Nt)?(Nt>>>=0,void 0===mr&&(mr="utf8")):(mr=Nt,Nt=void 0)}const Zr=this.length-Ft;if((void 0===Nt||Nt>Zr)&&(Nt=Zr),rt.length>0&&(Nt<0||Ft<0)||Ft>this.length)throw new RangeError("Attempt to write outside buffer bounds");mr||(mr="utf8");let ui=!1;for(;;)switch(mr){case"hex":return It(this,rt,Ft,Nt);case"utf8":case"utf-8":return Pt(this,rt,Ft,Nt);case"ascii":case"latin1":case"binary":return Jt(this,rt,Ft,Nt);case"base64":return dn(this,rt,Ft,Nt);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Un(this,rt,Ft,Nt);default:if(ui)throw new TypeError("Unknown encoding: "+mr);mr=(""+mr).toLowerCase(),ui=!0}},x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const jn=4096;function Wr(rt,Ft,Nt){let mr="";Nt=Math.min(rt.length,Nt);for(let Zr=Ft;Zr<Nt;++Zr)mr+=String.fromCharCode(127&rt[Zr]);return mr}function Ur(rt,Ft,Nt){let mr="";Nt=Math.min(rt.length,Nt);for(let Zr=Ft;Zr<Nt;++Zr)mr+=String.fromCharCode(rt[Zr]);return mr}function di(rt,Ft,Nt){const mr=rt.length;(!Ft||Ft<0)&&(Ft=0),(!Nt||Nt<0||Nt>mr)&&(Nt=mr);let Zr="";for(let ui=Ft;ui<Nt;++ui)Zr+=to[rt[ui]];return Zr}function Mi(rt,Ft,Nt){const mr=rt.slice(Ft,Nt);let Zr="";for(let ui=0;ui<mr.length-1;ui+=2)Zr+=String.fromCharCode(mr[ui]+256*mr[ui+1]);return Zr}function Gn(rt,Ft,Nt){if(rt%1!=0||rt<0)throw new RangeError("offset is not uint");if(rt+Ft>Nt)throw new RangeError("Trying to access beyond buffer length")}function pr(rt,Ft,Nt,mr,Zr,ui){if(!x.isBuffer(rt))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ft>Zr||Ft<ui)throw new RangeError('"value" argument is out of bounds');if(Nt+mr>rt.length)throw new RangeError("Index out of range")}function fr(rt,Ft,Nt,mr,Zr){qn(Ft,mr,Zr,rt,Nt,7);let ui=Number(Ft&BigInt(4294967295));rt[Nt++]=ui,ui>>=8,rt[Nt++]=ui,ui>>=8,rt[Nt++]=ui,ui>>=8,rt[Nt++]=ui;let no=Number(Ft>>BigInt(32)&BigInt(4294967295));return rt[Nt++]=no,no>>=8,rt[Nt++]=no,no>>=8,rt[Nt++]=no,no>>=8,rt[Nt++]=no,Nt}function Mr(rt,Ft,Nt,mr,Zr){qn(Ft,mr,Zr,rt,Nt,7);let ui=Number(Ft&BigInt(4294967295));rt[Nt+7]=ui,ui>>=8,rt[Nt+6]=ui,ui>>=8,rt[Nt+5]=ui,ui>>=8,rt[Nt+4]=ui;let no=Number(Ft>>BigInt(32)&BigInt(4294967295));return rt[Nt+3]=no,no>>=8,rt[Nt+2]=no,no>>=8,rt[Nt+1]=no,no>>=8,rt[Nt]=no,Nt+8}function Jn(rt,Ft,Nt,mr,Zr,ui){if(Nt+mr>rt.length)throw new RangeError("Index out of range");if(Nt<0)throw new RangeError("Index out of range")}function ci(rt,Ft,Nt,mr,Zr){return Ft=+Ft,Nt>>>=0,Zr||Jn(rt,0,Nt,4),l.write(rt,Ft,Nt,mr,23,4),Nt+4}function ho(rt,Ft,Nt,mr,Zr){return Ft=+Ft,Nt>>>=0,Zr||Jn(rt,0,Nt,8),l.write(rt,Ft,Nt,mr,52,8),Nt+8}x.prototype.slice=function(rt,Ft){const Nt=this.length;(rt=~~rt)<0?(rt+=Nt)<0&&(rt=0):rt>Nt&&(rt=Nt),(Ft=void 0===Ft?Nt:~~Ft)<0?(Ft+=Nt)<0&&(Ft=0):Ft>Nt&&(Ft=Nt),Ft<rt&&(Ft=rt);const mr=this.subarray(rt,Ft);return Object.setPrototypeOf(mr,x.prototype),mr},x.prototype.readUintLE=x.prototype.readUIntLE=function(rt,Ft,Nt){rt>>>=0,Ft>>>=0,Nt||Gn(rt,Ft,this.length);let mr=this[rt],Zr=1,ui=0;for(;++ui<Ft&&(Zr*=256);)mr+=this[rt+ui]*Zr;return mr},x.prototype.readUintBE=x.prototype.readUIntBE=function(rt,Ft,Nt){rt>>>=0,Ft>>>=0,Nt||Gn(rt,Ft,this.length);let mr=this[rt+--Ft],Zr=1;for(;Ft>0&&(Zr*=256);)mr+=this[rt+--Ft]*Zr;return mr},x.prototype.readUint8=x.prototype.readUInt8=function(rt,Ft){return rt>>>=0,Ft||Gn(rt,1,this.length),this[rt]},x.prototype.readUint16LE=x.prototype.readUInt16LE=function(rt,Ft){return rt>>>=0,Ft||Gn(rt,2,this.length),this[rt]|this[rt+1]<<8},x.prototype.readUint16BE=x.prototype.readUInt16BE=function(rt,Ft){return rt>>>=0,Ft||Gn(rt,2,this.length),this[rt]<<8|this[rt+1]},x.prototype.readUint32LE=x.prototype.readUInt32LE=function(rt,Ft){return rt>>>=0,Ft||Gn(rt,4,this.length),(this[rt]|this[rt+1]<<8|this[rt+2]<<16)+16777216*this[rt+3]},x.prototype.readUint32BE=x.prototype.readUInt32BE=function(rt,Ft){return rt>>>=0,Ft||Gn(rt,4,this.length),16777216*this[rt]+(this[rt+1]<<16|this[rt+2]<<8|this[rt+3])},x.prototype.readBigUInt64LE=No(function(rt){In(rt>>>=0,"offset");const Ft=this[rt],Nt=this[rt+7];void 0!==Ft&&void 0!==Nt||Ti(rt,this.length-8);const mr=Ft+256*this[++rt]+65536*this[++rt]+this[++rt]*2**24,Zr=this[++rt]+256*this[++rt]+65536*this[++rt]+Nt*2**24;return BigInt(mr)+(BigInt(Zr)<<BigInt(32))}),x.prototype.readBigUInt64BE=No(function(rt){In(rt>>>=0,"offset");const Ft=this[rt],Nt=this[rt+7];void 0!==Ft&&void 0!==Nt||Ti(rt,this.length-8);const mr=Ft*2**24+65536*this[++rt]+256*this[++rt]+this[++rt],Zr=this[++rt]*2**24+65536*this[++rt]+256*this[++rt]+Nt;return(BigInt(mr)<<BigInt(32))+BigInt(Zr)}),x.prototype.readIntLE=function(rt,Ft,Nt){rt>>>=0,Ft>>>=0,Nt||Gn(rt,Ft,this.length);let mr=this[rt],Zr=1,ui=0;for(;++ui<Ft&&(Zr*=256);)mr+=this[rt+ui]*Zr;return Zr*=128,mr>=Zr&&(mr-=Math.pow(2,8*Ft)),mr},x.prototype.readIntBE=function(rt,Ft,Nt){rt>>>=0,Ft>>>=0,Nt||Gn(rt,Ft,this.length);let mr=Ft,Zr=1,ui=this[rt+--mr];for(;mr>0&&(Zr*=256);)ui+=this[rt+--mr]*Zr;return Zr*=128,ui>=Zr&&(ui-=Math.pow(2,8*Ft)),ui},x.prototype.readInt8=function(rt,Ft){return rt>>>=0,Ft||Gn(rt,1,this.length),128&this[rt]?-1*(255-this[rt]+1):this[rt]},x.prototype.readInt16LE=function(rt,Ft){rt>>>=0,Ft||Gn(rt,2,this.length);const Nt=this[rt]|this[rt+1]<<8;return 32768&Nt?4294901760|Nt:Nt},x.prototype.readInt16BE=function(rt,Ft){rt>>>=0,Ft||Gn(rt,2,this.length);const Nt=this[rt+1]|this[rt]<<8;return 32768&Nt?4294901760|Nt:Nt},x.prototype.readInt32LE=function(rt,Ft){return rt>>>=0,Ft||Gn(rt,4,this.length),this[rt]|this[rt+1]<<8|this[rt+2]<<16|this[rt+3]<<24},x.prototype.readInt32BE=function(rt,Ft){return rt>>>=0,Ft||Gn(rt,4,this.length),this[rt]<<24|this[rt+1]<<16|this[rt+2]<<8|this[rt+3]},x.prototype.readBigInt64LE=No(function(rt){In(rt>>>=0,"offset");const Ft=this[rt],Nt=this[rt+7];return void 0!==Ft&&void 0!==Nt||Ti(rt,this.length-8),(BigInt(this[rt+4]+256*this[rt+5]+65536*this[rt+6]+(Nt<<24))<<BigInt(32))+BigInt(Ft+256*this[++rt]+65536*this[++rt]+this[++rt]*2**24)}),x.prototype.readBigInt64BE=No(function(rt){In(rt>>>=0,"offset");const Ft=this[rt],Nt=this[rt+7];void 0!==Ft&&void 0!==Nt||Ti(rt,this.length-8);const mr=(Ft<<24)+65536*this[++rt]+256*this[++rt]+this[++rt];return(BigInt(mr)<<BigInt(32))+BigInt(this[++rt]*2**24+65536*this[++rt]+256*this[++rt]+Nt)}),x.prototype.readFloatLE=function(rt,Ft){return rt>>>=0,Ft||Gn(rt,4,this.length),l.read(this,rt,!0,23,4)},x.prototype.readFloatBE=function(rt,Ft){return rt>>>=0,Ft||Gn(rt,4,this.length),l.read(this,rt,!1,23,4)},x.prototype.readDoubleLE=function(rt,Ft){return rt>>>=0,Ft||Gn(rt,8,this.length),l.read(this,rt,!0,52,8)},x.prototype.readDoubleBE=function(rt,Ft){return rt>>>=0,Ft||Gn(rt,8,this.length),l.read(this,rt,!1,52,8)},x.prototype.writeUintLE=x.prototype.writeUIntLE=function(rt,Ft,Nt,mr){rt=+rt,Ft>>>=0,Nt>>>=0,!mr&&pr(this,rt,Ft,Nt,Math.pow(2,8*Nt)-1,0);let Zr=1,ui=0;for(this[Ft]=255&rt;++ui<Nt&&(Zr*=256);)this[Ft+ui]=rt/Zr&255;return Ft+Nt},x.prototype.writeUintBE=x.prototype.writeUIntBE=function(rt,Ft,Nt,mr){rt=+rt,Ft>>>=0,Nt>>>=0,!mr&&pr(this,rt,Ft,Nt,Math.pow(2,8*Nt)-1,0);let Zr=Nt-1,ui=1;for(this[Ft+Zr]=255&rt;--Zr>=0&&(ui*=256);)this[Ft+Zr]=rt/ui&255;return Ft+Nt},x.prototype.writeUint8=x.prototype.writeUInt8=function(rt,Ft,Nt){return rt=+rt,Ft>>>=0,Nt||pr(this,rt,Ft,1,255,0),this[Ft]=255&rt,Ft+1},x.prototype.writeUint16LE=x.prototype.writeUInt16LE=function(rt,Ft,Nt){return rt=+rt,Ft>>>=0,Nt||pr(this,rt,Ft,2,65535,0),this[Ft]=255&rt,this[Ft+1]=rt>>>8,Ft+2},x.prototype.writeUint16BE=x.prototype.writeUInt16BE=function(rt,Ft,Nt){return rt=+rt,Ft>>>=0,Nt||pr(this,rt,Ft,2,65535,0),this[Ft]=rt>>>8,this[Ft+1]=255&rt,Ft+2},x.prototype.writeUint32LE=x.prototype.writeUInt32LE=function(rt,Ft,Nt){return rt=+rt,Ft>>>=0,Nt||pr(this,rt,Ft,4,4294967295,0),this[Ft+3]=rt>>>24,this[Ft+2]=rt>>>16,this[Ft+1]=rt>>>8,this[Ft]=255&rt,Ft+4},x.prototype.writeUint32BE=x.prototype.writeUInt32BE=function(rt,Ft,Nt){return rt=+rt,Ft>>>=0,Nt||pr(this,rt,Ft,4,4294967295,0),this[Ft]=rt>>>24,this[Ft+1]=rt>>>16,this[Ft+2]=rt>>>8,this[Ft+3]=255&rt,Ft+4},x.prototype.writeBigUInt64LE=No(function(rt,Ft=0){return fr(this,rt,Ft,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeBigUInt64BE=No(function(rt,Ft=0){return Mr(this,rt,Ft,BigInt(0),BigInt("0xffffffffffffffff"))}),x.prototype.writeIntLE=function(rt,Ft,Nt,mr){if(rt=+rt,Ft>>>=0,!mr){const Ca=Math.pow(2,8*Nt-1);pr(this,rt,Ft,Nt,Ca-1,-Ca)}let Zr=0,ui=1,no=0;for(this[Ft]=255&rt;++Zr<Nt&&(ui*=256);)rt<0&&0===no&&0!==this[Ft+Zr-1]&&(no=1),this[Ft+Zr]=(rt/ui>>0)-no&255;return Ft+Nt},x.prototype.writeIntBE=function(rt,Ft,Nt,mr){if(rt=+rt,Ft>>>=0,!mr){const Ca=Math.pow(2,8*Nt-1);pr(this,rt,Ft,Nt,Ca-1,-Ca)}let Zr=Nt-1,ui=1,no=0;for(this[Ft+Zr]=255&rt;--Zr>=0&&(ui*=256);)rt<0&&0===no&&0!==this[Ft+Zr+1]&&(no=1),this[Ft+Zr]=(rt/ui>>0)-no&255;return Ft+Nt},x.prototype.writeInt8=function(rt,Ft,Nt){return rt=+rt,Ft>>>=0,Nt||pr(this,rt,Ft,1,127,-128),rt<0&&(rt=255+rt+1),this[Ft]=255&rt,Ft+1},x.prototype.writeInt16LE=function(rt,Ft,Nt){return rt=+rt,Ft>>>=0,Nt||pr(this,rt,Ft,2,32767,-32768),this[Ft]=255&rt,this[Ft+1]=rt>>>8,Ft+2},x.prototype.writeInt16BE=function(rt,Ft,Nt){return rt=+rt,Ft>>>=0,Nt||pr(this,rt,Ft,2,32767,-32768),this[Ft]=rt>>>8,this[Ft+1]=255&rt,Ft+2},x.prototype.writeInt32LE=function(rt,Ft,Nt){return rt=+rt,Ft>>>=0,Nt||pr(this,rt,Ft,4,2147483647,-2147483648),this[Ft]=255&rt,this[Ft+1]=rt>>>8,this[Ft+2]=rt>>>16,this[Ft+3]=rt>>>24,Ft+4},x.prototype.writeInt32BE=function(rt,Ft,Nt){return rt=+rt,Ft>>>=0,Nt||pr(this,rt,Ft,4,2147483647,-2147483648),rt<0&&(rt=4294967295+rt+1),this[Ft]=rt>>>24,this[Ft+1]=rt>>>16,this[Ft+2]=rt>>>8,this[Ft+3]=255&rt,Ft+4},x.prototype.writeBigInt64LE=No(function(rt,Ft=0){return fr(this,rt,Ft,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeBigInt64BE=No(function(rt,Ft=0){return Mr(this,rt,Ft,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),x.prototype.writeFloatLE=function(rt,Ft,Nt){return ci(this,rt,Ft,!0,Nt)},x.prototype.writeFloatBE=function(rt,Ft,Nt){return ci(this,rt,Ft,!1,Nt)},x.prototype.writeDoubleLE=function(rt,Ft,Nt){return ho(this,rt,Ft,!0,Nt)},x.prototype.writeDoubleBE=function(rt,Ft,Nt){return ho(this,rt,Ft,!1,Nt)},x.prototype.copy=function(rt,Ft,Nt,mr){if(!x.isBuffer(rt))throw new TypeError("argument should be a Buffer");if(Nt||(Nt=0),mr||0===mr||(mr=this.length),Ft>=rt.length&&(Ft=rt.length),Ft||(Ft=0),mr>0&&mr<Nt&&(mr=Nt),mr===Nt||0===rt.length||0===this.length)return 0;if(Ft<0)throw new RangeError("targetStart out of bounds");if(Nt<0||Nt>=this.length)throw new RangeError("Index out of range");if(mr<0)throw new RangeError("sourceEnd out of bounds");mr>this.length&&(mr=this.length),rt.length-Ft<mr-Nt&&(mr=rt.length-Ft+Nt);const Zr=mr-Nt;return this===rt&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(Ft,Nt,mr):Uint8Array.prototype.set.call(rt,this.subarray(Nt,mr),Ft),Zr},x.prototype.fill=function(rt,Ft,Nt,mr){if("string"==typeof rt){if("string"==typeof Ft?(mr=Ft,Ft=0,Nt=this.length):"string"==typeof Nt&&(mr=Nt,Nt=this.length),void 0!==mr&&"string"!=typeof mr)throw new TypeError("encoding must be a string");if("string"==typeof mr&&!x.isEncoding(mr))throw new TypeError("Unknown encoding: "+mr);if(1===rt.length){const ui=rt.charCodeAt(0);("utf8"===mr&&ui<128||"latin1"===mr)&&(rt=ui)}}else"number"==typeof rt?rt&=255:"boolean"==typeof rt&&(rt=Number(rt));if(Ft<0||this.length<Ft||this.length<Nt)throw new RangeError("Out of range index");if(Nt<=Ft)return this;let Zr;if(Ft>>>=0,Nt=void 0===Nt?this.length:Nt>>>0,rt||(rt=0),"number"==typeof rt)for(Zr=Ft;Zr<Nt;++Zr)this[Zr]=rt;else{const ui=x.isBuffer(rt)?rt:x.from(rt,mr),no=ui.length;if(0===no)throw new TypeError('The value "'+rt+'" is invalid for argument "value"');for(Zr=0;Zr<Nt-Ft;++Zr)this[Zr+Ft]=ui[Zr%no]}return this};const Yi={};function lo(rt,Ft,Nt){Yi[rt]=class extends Nt{constructor(){super(),Object.defineProperty(this,"message",{value:Ft.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${rt}]`,delete this.name}get code(){return rt}set code(mr){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:mr,writable:!0})}toString(){return`${this.name} [${rt}]: ${this.message}`}}}function yi(rt){let Ft="",Nt=rt.length;const mr="-"===rt[0]?1:0;for(;Nt>=mr+4;Nt-=3)Ft=`_${rt.slice(Nt-3,Nt)}${Ft}`;return`${rt.slice(0,Nt)}${Ft}`}function qn(rt,Ft,Nt,mr,Zr,ui){if(rt>Nt||rt<Ft){const no="bigint"==typeof Ft?"n":"";let Ca;throw Ca=ui>3?0===Ft||Ft===BigInt(0)?`>= 0${no} and < 2${no} ** ${8*(ui+1)}${no}`:`>= -(2${no} ** ${8*(ui+1)-1}${no}) and < 2 ** ${8*(ui+1)-1}${no}`:`>= ${Ft}${no} and <= ${Nt}${no}`,new Yi.ERR_OUT_OF_RANGE("value",Ca,rt)}var no,Ca,vs;no=mr,vs=ui,In(Ca=Zr,"offset"),void 0!==no[Ca]&&void 0!==no[Ca+vs]||Ti(Ca,no.length-(vs+1))}function In(rt,Ft){if("number"!=typeof rt)throw new Yi.ERR_INVALID_ARG_TYPE(Ft,"number",rt)}function Ti(rt,Ft,Nt){throw Math.floor(rt)!==rt?(In(rt,Nt),new Yi.ERR_OUT_OF_RANGE(Nt||"offset","an integer",rt)):Ft<0?new Yi.ERR_BUFFER_OUT_OF_BOUNDS:new Yi.ERR_OUT_OF_RANGE(Nt||"offset",`>= ${Nt?1:0} and <= ${Ft}`,rt)}lo("ERR_BUFFER_OUT_OF_BOUNDS",function(rt){return rt?`${rt} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),lo("ERR_INVALID_ARG_TYPE",function(rt,Ft){return`The "${rt}" argument must be of type number. Received type ${typeof Ft}`},TypeError),lo("ERR_OUT_OF_RANGE",function(rt,Ft,Nt){let mr=`The value of "${rt}" is out of range.`,Zr=Nt;return Number.isInteger(Nt)&&Math.abs(Nt)>2**32?Zr=yi(String(Nt)):"bigint"==typeof Nt&&(Zr=String(Nt),(Nt>BigInt(2)**BigInt(32)||Nt<-(BigInt(2)**BigInt(32)))&&(Zr=yi(Zr)),Zr+="n"),mr+=` It must be ${Ft}. Received ${Zr}`,mr},RangeError);const Ji=/[^+/0-9A-Za-z-_]/g;function To(rt,Ft){let Nt;Ft=Ft||1/0;const mr=rt.length;let Zr=null;const ui=[];for(let no=0;no<mr;++no){if(Nt=rt.charCodeAt(no),Nt>55295&&Nt<57344){if(!Zr){if(Nt>56319){(Ft-=3)>-1&&ui.push(239,191,189);continue}if(no+1===mr){(Ft-=3)>-1&&ui.push(239,191,189);continue}Zr=Nt;continue}if(Nt<56320){(Ft-=3)>-1&&ui.push(239,191,189),Zr=Nt;continue}Nt=65536+(Zr-55296<<10|Nt-56320)}else Zr&&(Ft-=3)>-1&&ui.push(239,191,189);if(Zr=null,Nt<128){if((Ft-=1)<0)break;ui.push(Nt)}else if(Nt<2048){if((Ft-=2)<0)break;ui.push(Nt>>6|192,63&Nt|128)}else if(Nt<65536){if((Ft-=3)<0)break;ui.push(Nt>>12|224,Nt>>6&63|128,63&Nt|128)}else{if(!(Nt<1114112))throw new Error("Invalid code point");if((Ft-=4)<0)break;ui.push(Nt>>18|240,Nt>>12&63|128,Nt>>6&63|128,63&Nt|128)}}return ui}function fs(rt){return s.toByteArray(function(Ft){if((Ft=(Ft=Ft.split("=")[0]).trim().replace(Ji,"")).length<2)return"";for(;Ft.length%4!=0;)Ft+="=";return Ft}(rt))}function Xo(rt,Ft,Nt,mr){let Zr;for(Zr=0;Zr<mr&&!(Zr+Nt>=Ft.length||Zr>=rt.length);++Zr)Ft[Zr+Nt]=rt[Zr];return Zr}function Sa(rt,Ft){return rt instanceof Ft||null!=rt&&null!=rt.constructor&&null!=rt.constructor.name&&rt.constructor.name===Ft.name}function Aa(rt){return rt!=rt}const to=function(){const rt="0123456789abcdef",Ft=new Array(256);for(let Nt=0;Nt<16;++Nt){const mr=16*Nt;for(let Zr=0;Zr<16;++Zr)Ft[mr+Zr]=rt[Nt]+rt[Zr]}return Ft}();function No(rt){return typeof BigInt>"u"?Uo:rt}function Uo(){throw new Error("BigInt not supported")}},8171:(t,i,n)=>{n(6450);var s=n(4058).Object,l=t.exports=function(_,g,M){return s.defineProperty(_,g,M)};s.defineProperty.sham&&(l.sham=!0)},4883:(t,i,n)=>{var s=n(1899),l=n(7475),_=n(9826),g=s.TypeError;t.exports=function(M){if(l(M))return M;throw g(_(M)+" is not a function")}},6059:(t,i,n)=>{var s=n(1899),l=n(941),_=s.String,g=s.TypeError;t.exports=function(M){if(l(M))return M;throw g(_(M)+" is not an object")}},2532:(t,i,n)=>{var s=n(5329),l=s({}.toString),_=s("".slice);t.exports=function(g){return _(l(g),8,-1)}},2029:(t,i,n)=>{var s=n(5746),l=n(5988),_=n(1887);t.exports=s?function(g,M,x){return l.f(g,M,_(1,x))}:function(g,M,x){return g[M]=x,g}},1887:t=>{t.exports=function(i,n){return{enumerable:!(1&i),configurable:!(2&i),writable:!(4&i),value:n}}},5746:(t,i,n)=>{var s=n(5981);t.exports=!s(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},1333:(t,i,n)=>{var s=n(1899),l=n(941),_=s.document,g=l(_)&&l(_.createElement);t.exports=function(M){return g?_.createElement(M):{}}},2861:(t,i,n)=>{var s=n(224);t.exports=s("navigator","userAgent")||""},3385:(t,i,n)=>{var s,l,_=n(1899),g=n(2861),M=_.process,x=_.Deno,Y=M&&M.versions||x&&x.version,K=Y&&Y.v8;K&&(l=(s=K.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!l&&g&&(!(s=g.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=g.match(/Chrome\/(\d+)/))&&(l=+s[1]),t.exports=l},6887:(t,i,n)=>{var s=n(1899),l=n(9730),_=n(5329),g=n(7475),M=n(9677).f,x=n(7252),Y=n(4058),K=n(6843),le=n(2029),fe=n(953),ge=function(Se){var Ge=function(we,He,Pe){if(this instanceof Ge){switch(arguments.length){case 0:return new Se;case 1:return new Se(we);case 2:return new Se(we,He)}return new Se(we,He,Pe)}return l(Se,this,arguments)};return Ge.prototype=Se.prototype,Ge};t.exports=function(Se,Ge){var we,He,Pe,W,It,Pt,Jt,dn,Un=Se.target,ln=Se.global,Xn=Se.stat,jn=Se.proto,Wr=ln?s:Xn?s[Un]:(s[Un]||{}).prototype,Ur=ln?Y:Y[Un]||le(Y,Un,{})[Un],di=Ur.prototype;for(Pe in Ge)we=!x(ln?Pe:Un+(Xn?".":"#")+Pe,Se.forced)&&Wr&&fe(Wr,Pe),It=Ur[Pe],we&&(Pt=Se.noTargetGet?(dn=M(Wr,Pe))&&dn.value:Wr[Pe]),W=we&&Pt?Pt:Ge[Pe],we&&typeof It==typeof W||(Jt=Se.bind&&we?K(W,s):Se.wrap&&we?ge(W):jn&&g(W)?_(W):W,(Se.sham||W&&W.sham||It&&It.sham)&&le(Jt,"sham",!0),le(Ur,Pe,Jt),jn&&(fe(Y,He=Un+"Prototype")||le(Y,He,{}),le(Y[He],Pe,W),Se.real&&di&&!di[Pe]&&le(di,Pe,W)))}},5981:t=>{t.exports=function(i){try{return!!i()}catch{return!0}}},9730:(t,i,n)=>{var s=n(8285),l=Function.prototype,_=l.apply,g=l.call;t.exports="object"==typeof Reflect&&Reflect.apply||(s?g.bind(_):function(){return g.apply(_,arguments)})},6843:(t,i,n)=>{var s=n(5329),l=n(4883),_=n(8285),g=s(s.bind);t.exports=function(M,x){return l(M),void 0===x?M:_?g(M,x):function(){return M.apply(x,arguments)}}},8285:(t,i,n)=>{var s=n(5981);t.exports=!s(function(){var l=function(){}.bind();return"function"!=typeof l||l.hasOwnProperty("prototype")})},8834:(t,i,n)=>{var s=n(8285),l=Function.prototype.call;t.exports=s?l.bind(l):function(){return l.apply(l,arguments)}},5329:(t,i,n)=>{var s=n(8285),l=Function.prototype,g=l.call,M=s&&l.bind.bind(g,g);t.exports=s?function(x){return x&&M(x)}:function(x){return x&&function(){return g.apply(x,arguments)}}},224:(t,i,n)=>{var s=n(4058),l=n(1899),_=n(7475),g=function(M){return _(M)?M:void 0};t.exports=function(M,x){return arguments.length<2?g(s[M])||g(l[M]):s[M]&&s[M][x]||l[M]&&l[M][x]}},9733:(t,i,n)=>{var s=n(4883);t.exports=function(l,_){var g=l[_];return null==g?void 0:s(g)}},1899:(t,i,n)=>{var s=function(l){return l&&l.Math==Math&&l};t.exports=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},953:(t,i,n)=>{var s=n(5329),l=n(9678),_=s({}.hasOwnProperty);t.exports=Object.hasOwn||function(g,M){return _(l(g),M)}},2840:(t,i,n)=>{var s=n(5746),l=n(5981),_=n(1333);t.exports=!s&&!l(function(){return 7!=Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a})},7026:(t,i,n)=>{var s=n(1899),l=n(5329),_=n(5981),g=n(2532),M=s.Object,x=l("".split);t.exports=_(function(){return!M("z").propertyIsEnumerable(0)})?function(Y){return"String"==g(Y)?x(Y,""):M(Y)}:M},7475:t=>{t.exports=function(i){return"function"==typeof i}},7252:(t,i,n)=>{var s=n(5981),l=n(7475),_=/#|\.prototype\./,g=function(le,fe){var ge=x[M(le)];return ge==K||ge!=Y&&(l(fe)?s(fe):!!fe)},M=g.normalize=function(le){return String(le).replace(_,".").toLowerCase()},x=g.data={},Y=g.NATIVE="N",K=g.POLYFILL="P";t.exports=g},941:(t,i,n)=>{var s=n(7475);t.exports=function(l){return"object"==typeof l?null!==l:s(l)}},2529:t=>{t.exports=!0},6664:(t,i,n)=>{var s=n(1899),l=n(224),_=n(7475),g=n(7046),M=n(2302),x=s.Object;t.exports=M?function(Y){return"symbol"==typeof Y}:function(Y){var K=l("Symbol");return _(K)&&g(K.prototype,x(Y))}},2497:(t,i,n)=>{var s=n(3385),l=n(5981);t.exports=!!Object.getOwnPropertySymbols&&!l(function(){var _=Symbol();return!String(_)||!(Object(_)instanceof Symbol)||!Symbol.sham&&s&&s<41})},5988:(t,i,n)=>{var s=n(1899),l=n(5746),_=n(2840),g=n(3937),M=n(6059),x=n(3894),Y=s.TypeError,K=Object.defineProperty,le=Object.getOwnPropertyDescriptor;i.f=l?g?function(Ge,we,He){if(M(Ge),we=x(we),M(He),"function"==typeof Ge&&"prototype"===we&&"value"in He&&"writable"in He&&!He.writable){var Pe=le(Ge,we);Pe&&Pe.writable&&(Ge[we]=He.value,He={configurable:"configurable"in He?He.configurable:Pe.configurable,enumerable:"enumerable"in He?He.enumerable:Pe.enumerable,writable:!1})}return K(Ge,we,He)}:K:function(Ge,we,He){if(M(Ge),we=x(we),M(He),_)try{return K(Ge,we,He)}catch{}if("get"in He||"set"in He)throw Y("Accessors not supported");return"value"in He&&(Ge[we]=He.value),Ge}},9677:(t,i,n)=>{var s=n(5746),l=n(8834),_=n(6760),g=n(1887),M=n(4529),x=n(3894),Y=n(953),K=n(2840),le=Object.getOwnPropertyDescriptor;i.f=s?le:function(fe,ge){if(fe=M(fe),ge=x(ge),K)try{return le(fe,ge)}catch{}if(Y(fe,ge))return g(!l(_.f,fe,ge),fe[ge])}},7046:(t,i,n)=>{var s=n(5329);t.exports=s({}.isPrototypeOf)},6760:(t,i)=>{var n={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l=s&&!n.call({1:2},1);i.f=l?function(_){var g=s(this,_);return!!g&&g.enumerable}:n},9811:(t,i,n)=>{var s=n(1899),l=n(8834),_=n(7475),g=n(941),M=s.TypeError;t.exports=function(x,Y){var K,le;if("string"===Y&&_(K=x.toString)&&!g(le=l(K,x))||_(K=x.valueOf)&&!g(le=l(K,x))||"string"!==Y&&_(K=x.toString)&&!g(le=l(K,x)))return le;throw M("Can't convert object to primitive value")}},4058:t=>{t.exports={}},8219:(t,i,n)=>{var s=n(1899).TypeError;t.exports=function(l){if(null==l)throw s("Can't call method on "+l);return l}},4911:(t,i,n)=>{var s=n(1899),l=Object.defineProperty;t.exports=function(_,g){try{l(s,_,{value:g,configurable:!0,writable:!0})}catch{s[_]=g}return g}},3030:(t,i,n)=>{var s=n(1899),l=n(4911),_="__core-js_shared__",g=s[_]||l(_,{});t.exports=g},8726:(t,i,n)=>{var s=n(2529),l=n(3030);(t.exports=function(_,g){return l[_]||(l[_]=void 0!==g?g:{})})("versions",[]).push({version:"3.20.3",mode:s?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.20.3/LICENSE",source:"https://github.com/zloirock/core-js"})},4529:(t,i,n)=>{var s=n(7026),l=n(8219);t.exports=function(_){return s(l(_))}},9678:(t,i,n)=>{var s=n(1899),l=n(8219),_=s.Object;t.exports=function(g){return _(l(g))}},6935:(t,i,n)=>{var s=n(1899),l=n(8834),_=n(941),g=n(6664),M=n(9733),x=n(9811),Y=n(9813),K=s.TypeError,le=Y("toPrimitive");t.exports=function(fe,ge){if(!_(fe)||g(fe))return fe;var Se,Ge=M(fe,le);if(Ge){if(void 0===ge&&(ge="default"),Se=l(Ge,fe,ge),!_(Se)||g(Se))return Se;throw K("Can't convert object to primitive value")}return void 0===ge&&(ge="number"),x(fe,ge)}},3894:(t,i,n)=>{var s=n(6935),l=n(6664);t.exports=function(_){var g=s(_,"string");return l(g)?g:g+""}},9826:(t,i,n)=>{var s=n(1899).String;t.exports=function(l){try{return s(l)}catch{return"Object"}}},9418:(t,i,n)=>{var s=n(5329),l=0,_=Math.random(),g=s(1..toString);t.exports=function(M){return"Symbol("+(void 0===M?"":M)+")_"+g(++l+_,36)}},2302:(t,i,n)=>{var s=n(2497);t.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3937:(t,i,n)=>{var s=n(5746),l=n(5981);t.exports=s&&l(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},9813:(t,i,n)=>{var s=n(1899),l=n(8726),_=n(953),g=n(9418),M=n(2497),x=n(2302),Y=l("wks"),K=s.Symbol,le=K&&K.for,fe=x?K:K&&K.withoutSetter||g;t.exports=function(ge){if(!_(Y,ge)||!M&&"string"!=typeof Y[ge]){var Se="Symbol."+ge;Y[ge]=M&&_(K,ge)?K[ge]:x&&le?le(Se):fe(Se)}return Y[ge]}},6450:(t,i,n)=>{var s=n(6887),l=n(5746),_=n(5988).f;s({target:"Object",stat:!0,forced:Object.defineProperty!==_,sham:!l},{defineProperty:_})},1910:(t,i,n)=>{var s=n(8171);t.exports=s},7698:(t,i,n)=>{var s=n(8764).Buffer;function l(Y){return Y instanceof s||Y instanceof Date||Y instanceof RegExp}function _(Y){if(Y instanceof s){var K=s.alloc?s.alloc(Y.length):new s(Y.length);return Y.copy(K),K}if(Y instanceof Date)return new Date(Y.getTime());if(Y instanceof RegExp)return new RegExp(Y);throw new Error("Unexpected situation")}function g(Y){var K=[];return Y.forEach(function(le,fe){K[fe]="object"==typeof le&&null!==le?Array.isArray(le)?g(le):l(le)?_(le):x({},le):le}),K}function M(Y,K){return"__proto__"===K?void 0:Y[K]}var x=t.exports=function(){if(arguments.length<1||"object"!=typeof arguments[0])return!1;if(arguments.length<2)return arguments[0];var Y,K,le=arguments[0];return Array.prototype.slice.call(arguments,1).forEach(function(ge){"object"!=typeof ge||null===ge||Array.isArray(ge)||Object.keys(ge).forEach(function(Se){return K=M(le,Se),(Y=M(ge,Se))===le?void 0:"object"!=typeof Y||null===Y?void(le[Se]=Y):Array.isArray(Y)?void(le[Se]=g(Y)):l(Y)?void(le[Se]=_(Y)):"object"!=typeof K||null===K||Array.isArray(K)?void(le[Se]=x({},Y)):void(le[Se]=x(K,Y))})}),le}},7187:t=>{var i,n="object"==typeof Reflect?Reflect:null,s=n&&"function"==typeof n.apply?n.apply:function(we,He,Pe){return Function.prototype.apply.call(we,He,Pe)};i=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(we){return Object.getOwnPropertyNames(we).concat(Object.getOwnPropertySymbols(we))}:function(we){return Object.getOwnPropertyNames(we)};var l=Number.isNaN||function(we){return we!=we};function _(){_.init.call(this)}t.exports=_,t.exports.once=function(we,He){return new Promise(function(Pe,W){function It(Jt){we.removeListener(He,Pt),W(Jt)}function Pt(){"function"==typeof we.removeListener&&we.removeListener("error",It),Pe([].slice.call(arguments))}var Jt;Ge(we,He,Pt,{once:!0}),"error"!==He&&("function"==typeof(Jt=we).on&&Ge(Jt,"error",It,{once:!0}))})},_.EventEmitter=_,_.prototype._events=void 0,_.prototype._eventsCount=0,_.prototype._maxListeners=void 0;var g=10;function M(we){if("function"!=typeof we)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof we)}function x(we){return void 0===we._maxListeners?_.defaultMaxListeners:we._maxListeners}function Y(we,He,Pe,W){var It,Pt,Jt;if(M(Pe),void 0===(Pt=we._events)?(Pt=we._events=Object.create(null),we._eventsCount=0):(void 0!==Pt.newListener&&(we.emit("newListener",He,Pe.listener?Pe.listener:Pe),Pt=we._events),Jt=Pt[He]),void 0===Jt)Jt=Pt[He]=Pe,++we._eventsCount;else if("function"==typeof Jt?Jt=Pt[He]=W?[Pe,Jt]:[Jt,Pe]:W?Jt.unshift(Pe):Jt.push(Pe),(It=x(we))>0&&Jt.length>It&&!Jt.warned){Jt.warned=!0;var Un=new Error("Possible EventEmitter memory leak detected. "+Jt.length+" "+String(He)+" listeners added. Use emitter.setMaxListeners() to increase limit");Un.name="MaxListenersExceededWarning",Un.emitter=we,Un.type=He,Un.count=Jt.length,console&&console.warn&&console.warn(Un)}return we}function K(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function le(we,He,Pe){var W={fired:!1,wrapFn:void 0,target:we,type:He,listener:Pe},It=K.bind(W);return It.listener=Pe,W.wrapFn=It,It}function fe(we,He,Pe){var W=we._events;if(void 0===W)return[];var It=W[He];return void 0===It?[]:"function"==typeof It?Pe?[It.listener||It]:[It]:Pe?function(Pt){for(var Jt=new Array(Pt.length),dn=0;dn<Jt.length;++dn)Jt[dn]=Pt[dn].listener||Pt[dn];return Jt}(It):Se(It,It.length)}function ge(we){var He=this._events;if(void 0!==He){var Pe=He[we];if("function"==typeof Pe)return 1;if(void 0!==Pe)return Pe.length}return 0}function Se(we,He){for(var Pe=new Array(He),W=0;W<He;++W)Pe[W]=we[W];return Pe}function Ge(we,He,Pe,W){if("function"==typeof we.on)W.once?we.once(He,Pe):we.on(He,Pe);else{if("function"!=typeof we.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof we);we.addEventListener(He,function It(Pt){W.once&&we.removeEventListener(He,It),Pe(Pt)})}}Object.defineProperty(_,"defaultMaxListeners",{enumerable:!0,get:function(){return g},set:function(we){if("number"!=typeof we||we<0||l(we))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+we+".");g=we}}),_.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},_.prototype.setMaxListeners=function(we){if("number"!=typeof we||we<0||l(we))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+we+".");return this._maxListeners=we,this},_.prototype.getMaxListeners=function(){return x(this)},_.prototype.emit=function(we){for(var He=[],Pe=1;Pe<arguments.length;Pe++)He.push(arguments[Pe]);var W="error"===we,It=this._events;if(void 0!==It)W=W&&void 0===It.error;else if(!W)return!1;if(W){var Pt;if(He.length>0&&(Pt=He[0]),Pt instanceof Error)throw Pt;var Jt=new Error("Unhandled error."+(Pt?" ("+Pt.message+")":""));throw Jt.context=Pt,Jt}var dn=It[we];if(void 0===dn)return!1;if("function"==typeof dn)s(dn,this,He);else{var Un=dn.length,ln=Se(dn,Un);for(Pe=0;Pe<Un;++Pe)s(ln[Pe],this,He)}return!0},_.prototype.on=_.prototype.addListener=function(we,He){return Y(this,we,He,!1)},_.prototype.prependListener=function(we,He){return Y(this,we,He,!0)},_.prototype.once=function(we,He){return M(He),this.on(we,le(this,we,He)),this},_.prototype.prependOnceListener=function(we,He){return M(He),this.prependListener(we,le(this,we,He)),this},_.prototype.off=_.prototype.removeListener=function(we,He){var Pe,W,It,Pt,Jt;if(M(He),void 0===(W=this._events))return this;if(void 0===(Pe=W[we]))return this;if(Pe===He||Pe.listener===He)0==--this._eventsCount?this._events=Object.create(null):(delete W[we],W.removeListener&&this.emit("removeListener",we,Pe.listener||He));else if("function"!=typeof Pe){for(It=-1,Pt=Pe.length-1;Pt>=0;Pt--)if(Pe[Pt]===He||Pe[Pt].listener===He){Jt=Pe[Pt].listener,It=Pt;break}if(It<0)return this;0===It?Pe.shift():function(dn,Un){for(;Un+1<dn.length;Un++)dn[Un]=dn[Un+1];dn.pop()}(Pe,It),1===Pe.length&&(W[we]=Pe[0]),void 0!==W.removeListener&&this.emit("removeListener",we,Jt||He)}return this},_.prototype.removeAllListeners=function(we){var He,Pe,W;if(void 0===(Pe=this._events))return this;if(void 0===Pe.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==Pe[we]&&(0==--this._eventsCount?this._events=Object.create(null):delete Pe[we]),this;if(0===arguments.length){var It,Pt=Object.keys(Pe);for(W=0;W<Pt.length;++W)"removeListener"!==(It=Pt[W])&&this.removeAllListeners(It);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(He=Pe[we]))this.removeListener(we,He);else if(void 0!==He)for(W=He.length-1;W>=0;W--)this.removeListener(we,He[W]);return this},_.prototype.listeners=function(we){return fe(this,we,!0)},_.prototype.rawListeners=function(we){return fe(this,we,!1)},_.listenerCount=function(we,He){return"function"==typeof we.listenerCount?we.listenerCount(He):ge.call(we,He)},_.prototype.listenerCount=ge,_.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},5717:t=>{t.exports="function"==typeof Object.create?function(i,n){n&&(i.super_=n,i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}))}:function(i,n){if(n){i.super_=n;var s=function(){};s.prototype=n.prototype,i.prototype=new s,i.prototype.constructor=i}}},4155:t=>{var i,n,s=t.exports={};function l(){throw new Error("setTimeout has not been defined")}function _(){throw new Error("clearTimeout has not been defined")}function g(Ge){if(i===setTimeout)return setTimeout(Ge,0);if((i===l||!i)&&setTimeout)return i=setTimeout,setTimeout(Ge,0);try{return i(Ge,0)}catch{try{return i.call(null,Ge,0)}catch{return i.call(this,Ge,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:l}catch{i=l}try{n="function"==typeof clearTimeout?clearTimeout:_}catch{n=_}}();var M,x=[],Y=!1,K=-1;function le(){Y&&M&&(Y=!1,M.length?x=M.concat(x):K=-1,x.length&&fe())}function fe(){if(!Y){var Ge=g(le);Y=!0;for(var we=x.length;we;){for(M=x,x=[];++K<we;)M&&M[K].run();K=-1,we=x.length}M=null,Y=!1,function(He){if(n===clearTimeout)return clearTimeout(He);if((n===_||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(He);try{n(He)}catch{try{return n.call(null,He)}catch{return n.call(this,He)}}}(Ge)}}function ge(Ge,we){this.fun=Ge,this.array=we}function Se(){}s.nextTick=function(Ge){var we=new Array(arguments.length-1);if(arguments.length>1)for(var He=1;He<arguments.length;He++)we[He-1]=arguments[He];x.push(new ge(Ge,we)),1!==x.length||Y||g(fe)},ge.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=Se,s.addListener=Se,s.once=Se,s.off=Se,s.removeListener=Se,s.removeAllListeners=Se,s.emit=Se,s.prependListener=Se,s.prependOnceListener=Se,s.listeners=function(Ge){return[]},s.binding=function(Ge){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(Ge){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},1798:(t,i,n)=>{var s=n(4155),l=65536,g=n(396).Buffer,M=n.g.crypto||n.g.msCrypto;t.exports=M&&M.getRandomValues?function(x,Y){if(x>4294967295)throw new RangeError("requested too many random bytes");var K=g.allocUnsafe(x);if(x>0)if(x>l)for(var le=0;le<x;le+=l)M.getRandomValues(K.slice(le,le+l));else M.getRandomValues(K);return"function"==typeof Y?s.nextTick(function(){Y(null,K)}):K}:function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},4281:t=>{var i={};function n(l,_,g){g||(g=Error);var M=function(x){var Y,K;function le(fe,ge,Se){return x.call(this,"string"==typeof _?_:_(fe,ge,Se))||this}return K=x,(Y=le).prototype=Object.create(K.prototype),Y.prototype.constructor=Y,Y.__proto__=K,le}(g);M.prototype.name=g.name,M.prototype.code=l,i[l]=M}function s(l,_){if(Array.isArray(l)){var g=l.length;return l=l.map(function(M){return String(M)}),g>2?"one of ".concat(_," ").concat(l.slice(0,g-1).join(", "),", or ")+l[g-1]:2===g?"one of ".concat(_," ").concat(l[0]," or ").concat(l[1]):"of ".concat(_," ").concat(l[0])}return"of ".concat(_," ").concat(String(l))}n("ERR_INVALID_OPT_VALUE",function(l,_){return'The value "'+_+'" is invalid for option "'+l+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(l,_,g){var M,K,fe,Se;if("string"==typeof _&&"not "===_.substr(0,"not ".length)?(M="must not be",_=_.replace(/^not /,"")):M="must be",fe=l,(void 0===Se||Se>fe.length)&&(Se=fe.length)," argument"===fe.substring(Se-" argument".length,Se))K="The ".concat(l," ").concat(M," ").concat(s(_,"type"));else{var le=function(fe,ge,Se){return"number"!=typeof Se&&(Se=0),!(Se+".".length>fe.length)&&-1!==fe.indexOf(".",Se)}(l)?"property":"argument";K='The "'.concat(l,'" ').concat(le," ").concat(M," ").concat(s(_,"type"))}return K+". Received type ".concat(typeof g)},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(l){return"The "+l+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(l){return"Cannot call "+l+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(l){return"Unknown encoding: "+l},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.q=i},6753:(t,i,n)=>{var s=n(4155),l=Object.keys||function(ge){var Se=[];for(var Ge in ge)Se.push(Ge);return Se};t.exports=K;var _=n(9481),g=n(4229);n(5717)(K,_);for(var M=l(g.prototype),x=0;x<M.length;x++){var Y=M[x];K.prototype[Y]||(K.prototype[Y]=g.prototype[Y])}function K(ge){if(!(this instanceof K))return new K(ge);_.call(this,ge),g.call(this,ge),this.allowHalfOpen=!0,ge&&(!1===ge.readable&&(this.readable=!1),!1===ge.writable&&(this.writable=!1),!1===ge.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",le)))}function le(){this._writableState.ended||s.nextTick(fe,this)}function fe(ge){ge.end()}Object.defineProperty(K.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(K.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(K.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(K.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(ge){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=ge,this._writableState.destroyed=ge)}})},2725:(t,i,n)=>{t.exports=l;var s=n(4605);function l(_){if(!(this instanceof l))return new l(_);s.call(this,_)}n(5717)(l,s),l.prototype._transform=function(_,g,M){M(null,_)}},9481:(t,i,n)=>{var s,l=n(4155);t.exports=ln,ln.ReadableState=Un,n(7187);var Y,_=function(qn,In){return qn.listeners(In).length},g=n(2503),M=n(8764).Buffer,x=n.g.Uint8Array||function(){},K=n(4616);Y=K&&K.debuglog?K.debuglog("stream"):function(){};var le,fe,ge,Se=n(7327),Ge=n(1195),we=n(2457).getHighWaterMark,He=n(4281).q,Pe=He.ERR_INVALID_ARG_TYPE,W=He.ERR_STREAM_PUSH_AFTER_EOF,It=He.ERR_METHOD_NOT_IMPLEMENTED,Pt=He.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(5717)(ln,g);var Jt=Ge.errorOrDestroy,dn=["error","close","destroy","pause","resume"];function Un(qn,In,Ti){s=s||n(6753),"boolean"!=typeof Ti&&(Ti=In instanceof s),this.objectMode=!!(qn=qn||{}).objectMode,Ti&&(this.objectMode=this.objectMode||!!qn.readableObjectMode),this.highWaterMark=we(this,qn,"readableHighWaterMark",Ti),this.buffer=new Se,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==qn.emitClose,this.autoDestroy=!!qn.autoDestroy,this.destroyed=!1,this.defaultEncoding=qn.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,qn.encoding&&(le||(le=n(2553).s),this.decoder=new le(qn.encoding),this.encoding=qn.encoding)}function ln(qn){if(s=s||n(6753),!(this instanceof ln))return new ln(qn);this._readableState=new Un(qn,this,this instanceof s),this.readable=!0,qn&&("function"==typeof qn.read&&(this._read=qn.read),"function"==typeof qn.destroy&&(this._destroy=qn.destroy)),g.call(this)}function Xn(qn,In,Ti,Ji,To){Y("readableAddChunk",In);var fs,Sa,Aa,to,No,Xo=qn._readableState;if(null===In)Xo.reading=!1,function(Sa,Aa){if(Y("onEofChunk"),!Aa.ended){if(Aa.decoder){var to=Aa.decoder.end();to&&to.length&&(Aa.buffer.push(to),Aa.length+=Aa.objectMode?1:to.length)}Aa.ended=!0,Aa.sync?di(Sa):(Aa.needReadable=!1,Aa.emittedReadable||(Aa.emittedReadable=!0,Mi(Sa)))}}(qn,Xo);else if(To||(Sa=Xo,M.isBuffer(No=Aa=In)||No instanceof x||"string"==typeof Aa||void 0===Aa||Sa.objectMode||(to=new Pe("chunk",["string","Buffer","Uint8Array"],Aa)),fs=to),fs)Jt(qn,fs);else if(Xo.objectMode||In&&In.length>0)if("string"==typeof In||Xo.objectMode||Object.getPrototypeOf(In)===M.prototype||(In=function(Sa){return M.from(Sa)}(In)),Ji)Xo.endEmitted?Jt(qn,new Pt):jn(qn,Xo,In,!0);else if(Xo.ended)Jt(qn,new W);else{if(Xo.destroyed)return!1;Xo.reading=!1,Xo.decoder&&!Ti?(In=Xo.decoder.write(In),Xo.objectMode||0!==In.length?jn(qn,Xo,In,!1):Gn(qn,Xo)):jn(qn,Xo,In,!1)}else Ji||(Xo.reading=!1,Gn(qn,Xo));return!Xo.ended&&(Xo.length<Xo.highWaterMark||0===Xo.length)}function jn(qn,In,Ti,Ji){In.flowing&&0===In.length&&!In.sync?(In.awaitDrain=0,qn.emit("data",Ti)):(In.length+=In.objectMode?1:Ti.length,Ji?In.buffer.unshift(Ti):In.buffer.push(Ti),In.needReadable&&di(qn)),Gn(qn,In)}Object.defineProperty(ln.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(qn){this._readableState&&(this._readableState.destroyed=qn)}}),ln.prototype.destroy=Ge.destroy,ln.prototype._undestroy=Ge.undestroy,ln.prototype._destroy=function(qn,In){In(qn)},ln.prototype.push=function(qn,In){var Ti,Ji=this._readableState;return Ji.objectMode?Ti=!0:"string"==typeof qn&&((In=In||Ji.defaultEncoding)!==Ji.encoding&&(qn=M.from(qn,In),In=""),Ti=!0),Xn(this,qn,In,!1,Ti)},ln.prototype.unshift=function(qn){return Xn(this,qn,null,!0,!1)},ln.prototype.isPaused=function(){return!1===this._readableState.flowing},ln.prototype.setEncoding=function(qn){le||(le=n(2553).s);var In=new le(qn);this._readableState.decoder=In,this._readableState.encoding=this._readableState.decoder.encoding;for(var Ti=this._readableState.buffer.head,Ji="";null!==Ti;)Ji+=In.write(Ti.data),Ti=Ti.next;return this._readableState.buffer.clear(),""!==Ji&&this._readableState.buffer.push(Ji),this._readableState.length=Ji.length,this};var Wr=1073741824;function Ur(qn,In){return qn<=0||0===In.length&&In.ended?0:In.objectMode?1:qn!=qn?In.flowing&&In.length?In.buffer.head.data.length:In.length:(qn>In.highWaterMark&&(In.highWaterMark=((Ti=qn)>=Wr?Ti=Wr:(Ti--,Ti|=Ti>>>1,Ti|=Ti>>>2,Ti|=Ti>>>4,Ti|=Ti>>>8,Ti|=Ti>>>16,Ti++),Ti)),qn<=In.length?qn:In.ended?In.length:(In.needReadable=!0,0));var Ti}function di(qn){var In=qn._readableState;Y("emitReadable",In.needReadable,In.emittedReadable),In.needReadable=!1,In.emittedReadable||(Y("emitReadable",In.flowing),In.emittedReadable=!0,l.nextTick(Mi,qn))}function Mi(qn){var In=qn._readableState;Y("emitReadable_",In.destroyed,In.length,In.ended),In.destroyed||!In.length&&!In.ended||(qn.emit("readable"),In.emittedReadable=!1),In.needReadable=!In.flowing&&!In.ended&&In.length<=In.highWaterMark,ci(qn)}function Gn(qn,In){In.readingMore||(In.readingMore=!0,l.nextTick(pr,qn,In))}function pr(qn,In){for(;!In.reading&&!In.ended&&(In.length<In.highWaterMark||In.flowing&&0===In.length);){var Ti=In.length;if(Y("maybeReadMore read 0"),qn.read(0),Ti===In.length)break}In.readingMore=!1}function fr(qn){var In=qn._readableState;In.readableListening=qn.listenerCount("readable")>0,In.resumeScheduled&&!In.paused?In.flowing=!0:qn.listenerCount("data")>0&&qn.resume()}function Mr(qn){Y("readable nexttick read 0"),qn.read(0)}function Jn(qn,In){Y("resume",In.reading),In.reading||qn.read(0),In.resumeScheduled=!1,qn.emit("resume"),ci(qn),In.flowing&&!In.reading&&qn.read(0)}function ci(qn){var In=qn._readableState;for(Y("flow",In.flowing);In.flowing&&null!==qn.read(););}function ho(qn,In){return 0===In.length?null:(In.objectMode?Ti=In.buffer.shift():!qn||qn>=In.length?(Ti=In.decoder?In.buffer.join(""):1===In.buffer.length?In.buffer.first():In.buffer.concat(In.length),In.buffer.clear()):Ti=In.buffer.consume(qn,In.decoder),Ti);var Ti}function Yi(qn){var In=qn._readableState;Y("endReadable",In.endEmitted),In.endEmitted||(In.ended=!0,l.nextTick(lo,In,qn))}function lo(qn,In){if(Y("endReadableNT",qn.endEmitted,qn.length),!qn.endEmitted&&0===qn.length&&(qn.endEmitted=!0,In.readable=!1,In.emit("end"),qn.autoDestroy)){var Ti=In._writableState;(!Ti||Ti.autoDestroy&&Ti.finished)&&In.destroy()}}function yi(qn,In){for(var Ti=0,Ji=qn.length;Ti<Ji;Ti++)if(qn[Ti]===In)return Ti;return-1}ln.prototype.read=function(qn){Y("read",qn),qn=parseInt(qn,10);var In=this._readableState,Ti=qn;if(0!==qn&&(In.emittedReadable=!1),0===qn&&In.needReadable&&((0!==In.highWaterMark?In.length>=In.highWaterMark:In.length>0)||In.ended))return Y("read: emitReadable",In.length,In.ended),0===In.length&&In.ended?Yi(this):di(this),null;if(0===(qn=Ur(qn,In))&&In.ended)return 0===In.length&&Yi(this),null;var Ji,To=In.needReadable;return Y("need readable",To),(0===In.length||In.length-qn<In.highWaterMark)&&Y("length less than watermark",To=!0),In.ended||In.reading?Y("reading or ended",To=!1):To&&(Y("do read"),In.reading=!0,In.sync=!0,0===In.length&&(In.needReadable=!0),this._read(In.highWaterMark),In.sync=!1,In.reading||(qn=Ur(Ti,In))),null===(Ji=qn>0?ho(qn,In):null)?(In.needReadable=In.length<=In.highWaterMark,qn=0):(In.length-=qn,In.awaitDrain=0),0===In.length&&(In.ended||(In.needReadable=!0),Ti!==qn&&In.ended&&Yi(this)),null!==Ji&&this.emit("data",Ji),Ji},ln.prototype._read=function(qn){Jt(this,new It("_read()"))},ln.prototype.pipe=function(qn,In){var Ti=this,Ji=this._readableState;switch(Ji.pipesCount){case 0:Ji.pipes=qn;break;case 1:Ji.pipes=[Ji.pipes,qn];break;default:Ji.pipes.push(qn)}Ji.pipesCount+=1,Y("pipe count=%d opts=%j",Ji.pipesCount,In);var To=In&&!1===In.end||qn===l.stdout||qn===l.stderr?Ft:Xo;function Xo(){Y("onend"),qn.end()}Ji.endEmitted?l.nextTick(To):Ti.once("end",To),qn.on("unpipe",function fs(Nt,mr){Y("onunpipe"),Nt===Ti&&mr&&!1===mr.hasUnpiped&&(mr.hasUnpiped=!0,Y("cleanup"),qn.removeListener("close",Uo),qn.removeListener("finish",rt),qn.removeListener("drain",Sa),qn.removeListener("error",No),qn.removeListener("unpipe",fs),Ti.removeListener("end",Xo),Ti.removeListener("end",Ft),Ti.removeListener("data",to),Aa=!0,!Ji.awaitDrain||qn._writableState&&!qn._writableState.needDrain||Sa())});var Nt,Sa=(Nt=Ti,function(){var mr=Nt._readableState;Y("pipeOnDrain",mr.awaitDrain),mr.awaitDrain&&mr.awaitDrain--,0===mr.awaitDrain&&_(Nt,"data")&&(mr.flowing=!0,ci(Nt))});qn.on("drain",Sa);var Aa=!1;function to(Nt){Y("ondata");var mr=qn.write(Nt);Y("dest.write",mr),!1===mr&&((1===Ji.pipesCount&&Ji.pipes===qn||Ji.pipesCount>1&&-1!==yi(Ji.pipes,qn))&&!Aa&&(Y("false write response, pause",Ji.awaitDrain),Ji.awaitDrain++),Ti.pause())}function No(Nt){Y("onerror",Nt),Ft(),qn.removeListener("error",No),0===_(qn,"error")&&Jt(qn,Nt)}function Uo(){qn.removeListener("finish",rt),Ft()}function rt(){Y("onfinish"),qn.removeListener("close",Uo),Ft()}function Ft(){Y("unpipe"),Ti.unpipe(qn)}return Ti.on("data",to),function(Nt,mr,Zr){if("function"==typeof Nt.prependListener)return Nt.prependListener(mr,Zr);Nt._events&&Nt._events[mr]?Array.isArray(Nt._events[mr])?Nt._events[mr].unshift(Zr):Nt._events[mr]=[Zr,Nt._events[mr]]:Nt.on(mr,Zr)}(qn,"error",No),qn.once("close",Uo),qn.once("finish",rt),qn.emit("pipe",Ti),Ji.flowing||(Y("pipe resume"),Ti.resume()),qn},ln.prototype.unpipe=function(qn){var In=this._readableState,Ti={hasUnpiped:!1};if(0===In.pipesCount)return this;if(1===In.pipesCount)return qn&&qn!==In.pipes||(qn||(qn=In.pipes),In.pipes=null,In.pipesCount=0,In.flowing=!1,qn&&qn.emit("unpipe",this,Ti)),this;if(!qn){var Ji=In.pipes,To=In.pipesCount;In.pipes=null,In.pipesCount=0,In.flowing=!1;for(var fs=0;fs<To;fs++)Ji[fs].emit("unpipe",this,{hasUnpiped:!1});return this}var Xo=yi(In.pipes,qn);return-1===Xo||(In.pipes.splice(Xo,1),In.pipesCount-=1,1===In.pipesCount&&(In.pipes=In.pipes[0]),qn.emit("unpipe",this,Ti)),this},ln.prototype.addListener=ln.prototype.on=function(qn,In){var Ti=g.prototype.on.call(this,qn,In),Ji=this._readableState;return"data"===qn?(Ji.readableListening=this.listenerCount("readable")>0,!1!==Ji.flowing&&this.resume()):"readable"===qn&&(Ji.endEmitted||Ji.readableListening||(Ji.readableListening=Ji.needReadable=!0,Ji.flowing=!1,Ji.emittedReadable=!1,Y("on readable",Ji.length,Ji.reading),Ji.length?di(this):Ji.reading||l.nextTick(Mr,this))),Ti},ln.prototype.removeListener=function(qn,In){var Ti=g.prototype.removeListener.call(this,qn,In);return"readable"===qn&&l.nextTick(fr,this),Ti},ln.prototype.removeAllListeners=function(qn){var In=g.prototype.removeAllListeners.apply(this,arguments);return"readable"!==qn&&void 0!==qn||l.nextTick(fr,this),In},ln.prototype.resume=function(){var Ti,qn=this._readableState;return qn.flowing||(Y("resume"),qn.flowing=!qn.readableListening,this,(Ti=qn).resumeScheduled||(Ti.resumeScheduled=!0,l.nextTick(Jn,this,Ti))),qn.paused=!1,this},ln.prototype.pause=function(){return Y("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(Y("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},ln.prototype.wrap=function(qn){var In=this,Ti=this._readableState,Ji=!1;for(var To in qn.on("end",function(){if(Y("wrapped end"),Ti.decoder&&!Ti.ended){var Xo=Ti.decoder.end();Xo&&Xo.length&&In.push(Xo)}In.push(null)}),qn.on("data",function(Xo){Y("wrapped data"),Ti.decoder&&(Xo=Ti.decoder.write(Xo)),Ti.objectMode&&null==Xo||(Ti.objectMode||Xo&&Xo.length)&&(In.push(Xo)||(Ji=!0,qn.pause()))}),qn)void 0===this[To]&&"function"==typeof qn[To]&&(this[To]=function(Xo){return function(){return qn[Xo].apply(qn,arguments)}}(To));for(var fs=0;fs<dn.length;fs++)qn.on(dn[fs],this.emit.bind(this,dn[fs]));return this._read=function(Xo){Y("wrapped _read",Xo),Ji&&(Ji=!1,qn.resume())},this},"function"==typeof Symbol&&(ln.prototype[Symbol.asyncIterator]=function(){return void 0===fe&&(fe=n(5850)),fe(this)}),Object.defineProperty(ln.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(ln.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(ln.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(qn){this._readableState&&(this._readableState.flowing=qn)}}),ln._fromList=ho,Object.defineProperty(ln.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(ln.from=function(qn,In){return void 0===ge&&(ge=n(5167)),ge(ln,qn,In)})},4605:(t,i,n)=>{t.exports=K;var s=n(4281).q,l=s.ERR_METHOD_NOT_IMPLEMENTED,_=s.ERR_MULTIPLE_CALLBACK,g=s.ERR_TRANSFORM_ALREADY_TRANSFORMING,M=s.ERR_TRANSFORM_WITH_LENGTH_0,x=n(6753);function Y(ge,Se){var Ge=this._transformState;Ge.transforming=!1;var we=Ge.writecb;if(null===we)return this.emit("error",new _);Ge.writechunk=null,Ge.writecb=null,null!=Se&&this.push(Se),we(ge);var He=this._readableState;He.reading=!1,(He.needReadable||He.length<He.highWaterMark)&&this._read(He.highWaterMark)}function K(ge){if(!(this instanceof K))return new K(ge);x.call(this,ge),this._transformState={afterTransform:Y.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,ge&&("function"==typeof ge.transform&&(this._transform=ge.transform),"function"==typeof ge.flush&&(this._flush=ge.flush)),this.on("prefinish",le)}function le(){var ge=this;"function"!=typeof this._flush||this._readableState.destroyed?fe(this,null,null):this._flush(function(Se,Ge){fe(ge,Se,Ge)})}function fe(ge,Se,Ge){if(Se)return ge.emit("error",Se);if(null!=Ge&&ge.push(Ge),ge._writableState.length)throw new M;if(ge._transformState.transforming)throw new g;return ge.push(null)}n(5717)(K,x),K.prototype.push=function(ge,Se){return this._transformState.needTransform=!1,x.prototype.push.call(this,ge,Se)},K.prototype._transform=function(ge,Se,Ge){Ge(new l("_transform()"))},K.prototype._write=function(ge,Se,Ge){var we=this._transformState;if(we.writecb=Ge,we.writechunk=ge,we.writeencoding=Se,!we.transforming){var He=this._readableState;(we.needTransform||He.needReadable||He.length<He.highWaterMark)&&this._read(He.highWaterMark)}},K.prototype._read=function(ge){var Se=this._transformState;null===Se.writechunk||Se.transforming?Se.needTransform=!0:(Se.transforming=!0,this._transform(Se.writechunk,Se.writeencoding,Se.afterTransform))},K.prototype._destroy=function(ge,Se){x.prototype._destroy.call(this,ge,function(Ge){Se(Ge)})}},4229:(t,i,n)=>{var s,l=n(4155);function _(Gn){var pr=this;this.next=null,this.entry=null,this.finish=function(){!function(fr,Mr,Jn){var ci=fr.entry;for(fr.entry=null;ci;){var ho=ci.callback;Mr.pendingcb--,ho(void 0),ci=ci.next}Mr.corkedRequestsFree.next=fr}(pr,Gn)}}t.exports=ln,ln.WritableState=Un;var K,g={deprecate:n(4927)},M=n(2503),x=n(8764).Buffer,Y=n.g.Uint8Array||function(){},le=n(1195),fe=n(2457).getHighWaterMark,ge=n(4281).q,Se=ge.ERR_INVALID_ARG_TYPE,Ge=ge.ERR_METHOD_NOT_IMPLEMENTED,we=ge.ERR_MULTIPLE_CALLBACK,He=ge.ERR_STREAM_CANNOT_PIPE,Pe=ge.ERR_STREAM_DESTROYED,W=ge.ERR_STREAM_NULL_VALUES,It=ge.ERR_STREAM_WRITE_AFTER_END,Pt=ge.ERR_UNKNOWN_ENCODING,Jt=le.errorOrDestroy;function dn(){}function Un(Gn,pr,fr){s=s||n(6753),"boolean"!=typeof fr&&(fr=pr instanceof s),this.objectMode=!!(Gn=Gn||{}).objectMode,fr&&(this.objectMode=this.objectMode||!!Gn.writableObjectMode),this.highWaterMark=fe(this,Gn,"writableHighWaterMark",fr),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===Gn.decodeStrings),this.defaultEncoding=Gn.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Jn){!function(ci,ho){var In,Yi=ci._writableState,lo=Yi.sync,yi=Yi.writecb;if("function"!=typeof yi)throw new we;if((In=Yi).writing=!1,In.writecb=null,In.length-=In.writelen,In.writelen=0,ho)!function(In,Ti,Ji,To,fs){--Ti.pendingcb,Ji?(l.nextTick(fs,To),l.nextTick(Mi,In,Ti),In._writableState.errorEmitted=!0,Jt(In,To)):(fs(To),In._writableState.errorEmitted=!0,Jt(In,To),Mi(In,Ti))}(ci,Yi,lo,ho,yi);else{var qn=Ur(Yi)||ci.destroyed;qn||Yi.corked||Yi.bufferProcessing||!Yi.bufferedRequest||Wr(ci,Yi),lo?l.nextTick(jn,ci,Yi,qn,yi):jn(ci,Yi,qn,yi)}}(pr,Jn)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==Gn.emitClose,this.autoDestroy=!!Gn.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new _(this)}function ln(Gn){var pr=this instanceof(s=s||n(6753));if(!pr&&!K.call(ln,this))return new ln(Gn);this._writableState=new Un(Gn,this,pr),this.writable=!0,Gn&&("function"==typeof Gn.write&&(this._write=Gn.write),"function"==typeof Gn.writev&&(this._writev=Gn.writev),"function"==typeof Gn.destroy&&(this._destroy=Gn.destroy),"function"==typeof Gn.final&&(this._final=Gn.final)),M.call(this)}function Xn(Gn,pr,fr,Mr,Jn,ci,ho){pr.writelen=Mr,pr.writecb=ho,pr.writing=!0,pr.sync=!0,pr.destroyed?pr.onwrite(new Pe("write")):fr?Gn._writev(Jn,pr.onwrite):Gn._write(Jn,ci,pr.onwrite),pr.sync=!1}function jn(Gn,pr,fr,Mr){var Jn,ci;fr||(Jn=Gn,0===(ci=pr).length&&ci.needDrain&&(ci.needDrain=!1,Jn.emit("drain"))),pr.pendingcb--,Mr(),Mi(Gn,pr)}function Wr(Gn,pr){pr.bufferProcessing=!0;var fr=pr.bufferedRequest;if(Gn._writev&&fr&&fr.next){var Jn=new Array(pr.bufferedRequestCount),ci=pr.corkedRequestsFree;ci.entry=fr;for(var ho=0,Yi=!0;fr;)Jn[ho]=fr,fr.isBuf||(Yi=!1),fr=fr.next,ho+=1;Jn.allBuffers=Yi,Xn(Gn,pr,!0,pr.length,Jn,"",ci.finish),pr.pendingcb++,pr.lastBufferedRequest=null,ci.next?(pr.corkedRequestsFree=ci.next,ci.next=null):pr.corkedRequestsFree=new _(pr),pr.bufferedRequestCount=0}else{for(;fr;){var lo=fr.chunk;if(Xn(Gn,pr,!1,pr.objectMode?1:lo.length,lo,fr.encoding,fr.callback),fr=fr.next,pr.bufferedRequestCount--,pr.writing)break}null===fr&&(pr.lastBufferedRequest=null)}pr.bufferedRequest=fr,pr.bufferProcessing=!1}function Ur(Gn){return Gn.ending&&0===Gn.length&&null===Gn.bufferedRequest&&!Gn.finished&&!Gn.writing}function di(Gn,pr){Gn._final(function(fr){pr.pendingcb--,fr&&Jt(Gn,fr),pr.prefinished=!0,Gn.emit("prefinish"),Mi(Gn,pr)})}function Mi(Gn,pr){var Jn,ci,fr=Ur(pr);if(fr&&(Jn=Gn,(ci=pr).prefinished||ci.finalCalled||("function"!=typeof Jn._final||ci.destroyed?(ci.prefinished=!0,Jn.emit("prefinish")):(ci.pendingcb++,ci.finalCalled=!0,l.nextTick(di,Jn,ci))),0===pr.pendingcb&&(pr.finished=!0,Gn.emit("finish"),pr.autoDestroy))){var Mr=Gn._readableState;(!Mr||Mr.autoDestroy&&Mr.endEmitted)&&Gn.destroy()}return fr}n(5717)(ln,M),Un.prototype.getBuffer=function(){for(var Gn=this.bufferedRequest,pr=[];Gn;)pr.push(Gn),Gn=Gn.next;return pr},function(){try{Object.defineProperty(Un.prototype,"buffer",{get:g.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(K=Function.prototype[Symbol.hasInstance],Object.defineProperty(ln,Symbol.hasInstance,{value:function(Gn){return!!K.call(this,Gn)||this===ln&&Gn&&Gn._writableState instanceof Un}})):K=function(Gn){return Gn instanceof this},ln.prototype.pipe=function(){Jt(this,new He)},ln.prototype.write=function(Gn,pr,fr){var Mr,Yi,lo,yi,Jn=this._writableState,ci=!1,ho=!Jn.objectMode&&(x.isBuffer(Mr=Gn)||Mr instanceof Y);return ho&&!x.isBuffer(Gn)&&(Gn=x.from(Gn)),"function"==typeof pr&&(fr=pr,pr=null),ho?pr="buffer":pr||(pr=Jn.defaultEncoding),"function"!=typeof fr&&(fr=dn),Jn.ending?(Yi=this,lo=fr,yi=new It,Jt(Yi,yi),l.nextTick(lo,yi)):(ho||function(Yi,lo,yi,qn){var In;return null===yi?In=new W:"string"==typeof yi||lo.objectMode||(In=new Se("chunk",["string","Buffer"],yi)),!In||(Jt(Yi,In),l.nextTick(qn,In),!1)}(this,Jn,Gn,fr))&&(Jn.pendingcb++,ci=function(Yi,lo,yi,qn,In,Ti){if(!yi){var Ji=(Aa=qn,(Sa=lo).objectMode||!1===Sa.decodeStrings||"string"!=typeof Aa||(Aa=x.from(Aa,In)),Aa);qn!==Ji&&(yi=!0,In="buffer",qn=Ji)}var Sa,Aa,To=lo.objectMode?1:qn.length;lo.length+=To;var fs=lo.length<lo.highWaterMark;if(fs||(lo.needDrain=!0),lo.writing||lo.corked){var Xo=lo.lastBufferedRequest;lo.lastBufferedRequest={chunk:qn,encoding:In,isBuf:yi,callback:Ti,next:null},Xo?Xo.next=lo.lastBufferedRequest:lo.bufferedRequest=lo.lastBufferedRequest,lo.bufferedRequestCount+=1}else Xn(Yi,lo,!1,To,qn,In,Ti);return fs}(this,Jn,ho,Gn,pr,fr)),ci},ln.prototype.cork=function(){this._writableState.corked++},ln.prototype.uncork=function(){var Gn=this._writableState;Gn.corked&&(Gn.corked--,Gn.writing||Gn.corked||Gn.bufferProcessing||!Gn.bufferedRequest||Wr(this,Gn))},ln.prototype.setDefaultEncoding=function(Gn){if("string"==typeof Gn&&(Gn=Gn.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Gn+"").toLowerCase())>-1))throw new Pt(Gn);return this._writableState.defaultEncoding=Gn,this},Object.defineProperty(ln.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(ln.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),ln.prototype._write=function(Gn,pr,fr){fr(new Ge("_write()"))},ln.prototype._writev=null,ln.prototype.end=function(Gn,pr,fr){var ci,ho,Mr=this._writableState;return"function"==typeof Gn?(fr=Gn,Gn=null,pr=null):"function"==typeof pr&&(fr=pr,pr=null),null!=Gn&&this.write(Gn,pr),Mr.corked&&(Mr.corked=1,this.uncork()),Mr.ending||(this,ho=fr,(ci=Mr).ending=!0,Mi(this,ci),ho&&(ci.finished?l.nextTick(ho):this.once("finish",ho)),ci.ended=!0,this.writable=!1),this},Object.defineProperty(ln.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(ln.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(Gn){this._writableState&&(this._writableState.destroyed=Gn)}}),ln.prototype.destroy=le.destroy,ln.prototype._undestroy=le.undestroy,ln.prototype._destroy=function(Gn,pr){pr(Gn)}},5850:(t,i,n)=>{var s,l=n(4155);function _(W,It,Pt){return It in W?Object.defineProperty(W,It,{value:Pt,enumerable:!0,configurable:!0,writable:!0}):W[It]=Pt,W}var g=n(8610),M=Symbol("lastResolve"),x=Symbol("lastReject"),Y=Symbol("error"),K=Symbol("ended"),le=Symbol("lastPromise"),fe=Symbol("handlePromise"),ge=Symbol("stream");function Se(W,It){return{value:W,done:It}}function Ge(W){var It=W[M];if(null!==It){var Pt=W[ge].read();null!==Pt&&(W[le]=null,W[M]=null,W[x]=null,It(Se(Pt,!1)))}}function we(W){l.nextTick(Ge,W)}var He=Object.getPrototypeOf(function(){}),Pe=Object.setPrototypeOf((_(s={get stream(){return this[ge]},next:function(){var W=this,It=this[Y];if(null!==It)return Promise.reject(It);if(this[K])return Promise.resolve(Se(void 0,!0));if(this[ge].destroyed)return new Promise(function(Un,ln){l.nextTick(function(){W[Y]?ln(W[Y]):Un(Se(void 0,!0))})});var Pt,Un,ln,Jt=this[le];if(Jt)Pt=new Promise((Un=Jt,ln=this,function(Xn,jn){Un.then(function(){ln[K]?Xn(Se(void 0,!0)):ln[fe](Xn,jn)},jn)}));else{var dn=this[ge].read();if(null!==dn)return Promise.resolve(Se(dn,!1));Pt=new Promise(this[fe])}return this[le]=Pt,Pt}},Symbol.asyncIterator,function(){return this}),_(s,"return",function(){var W=this;return new Promise(function(It,Pt){W[ge].destroy(null,function(Jt){Jt?Pt(Jt):It(Se(void 0,!0))})})}),s),He);t.exports=function(W){var It,Pt=Object.create(Pe,(_(It={},ge,{value:W,writable:!0}),_(It,M,{value:null,writable:!0}),_(It,x,{value:null,writable:!0}),_(It,Y,{value:null,writable:!0}),_(It,K,{value:W._readableState.endEmitted,writable:!0}),_(It,fe,{value:function(Jt,dn){var Un=Pt[ge].read();Un?(Pt[le]=null,Pt[M]=null,Pt[x]=null,Jt(Se(Un,!1))):(Pt[M]=Jt,Pt[x]=dn)},writable:!0}),It));return Pt[le]=null,g(W,function(Jt){if(Jt&&"ERR_STREAM_PREMATURE_CLOSE"!==Jt.code){var dn=Pt[x];return null!==dn&&(Pt[le]=null,Pt[M]=null,Pt[x]=null,dn(Jt)),void(Pt[Y]=Jt)}var Un=Pt[M];null!==Un&&(Pt[le]=null,Pt[M]=null,Pt[x]=null,Un(Se(void 0,!0))),Pt[K]=!0}),W.on("readable",we.bind(null,Pt)),Pt}},7327:(t,i,n)=>{function s(Y,K){var le=Object.keys(Y);if(Object.getOwnPropertySymbols){var fe=Object.getOwnPropertySymbols(Y);K&&(fe=fe.filter(function(ge){return Object.getOwnPropertyDescriptor(Y,ge).enumerable})),le.push.apply(le,fe)}return le}function l(Y,K,le){return K in Y?Object.defineProperty(Y,K,{value:le,enumerable:!0,configurable:!0,writable:!0}):Y[K]=le,Y}var g=n(8764).Buffer,M=n(2361).inspect,x=M&&M.custom||"inspect";t.exports=function(){function Y(){(function(ge,Se){if(!(ge instanceof Se))throw new TypeError("Cannot call a class as a function")})(this,Y),this.head=null,this.tail=null,this.length=0}var le;return le=[{key:"push",value:function(ge){var Se={data:ge,next:null};this.length>0?this.tail.next=Se:this.head=Se,this.tail=Se,++this.length}},{key:"unshift",value:function(ge){var Se={data:ge,next:this.head};0===this.length&&(this.tail=Se),this.head=Se,++this.length}},{key:"shift",value:function(){if(0!==this.length){var ge=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,ge}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(ge){if(0===this.length)return"";for(var Se=this.head,Ge=""+Se.data;Se=Se.next;)Ge+=ge+Se.data;return Ge}},{key:"concat",value:function(ge){if(0===this.length)return g.alloc(0);for(var He=g.allocUnsafe(ge>>>0),Pe=this.head,W=0;Pe;)g.prototype.copy.call(Pe.data,He,W),W+=Pe.data.length,Pe=Pe.next;return He}},{key:"consume",value:function(ge,Se){var Ge;return ge<this.head.data.length?(Ge=this.head.data.slice(0,ge),this.head.data=this.head.data.slice(ge)):Ge=ge===this.head.data.length?this.shift():Se?this._getString(ge):this._getBuffer(ge),Ge}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(ge){var Se=this.head,Ge=1,we=Se.data;for(ge-=we.length;Se=Se.next;){var He=Se.data,Pe=ge>He.length?He.length:ge;if(we+=Pe===He.length?He:He.slice(0,ge),0==(ge-=Pe)){Pe===He.length?(++Ge,this.head=Se.next?Se.next:this.tail=null):(this.head=Se,Se.data=He.slice(Pe));break}++Ge}return this.length-=Ge,we}},{key:"_getBuffer",value:function(ge){var Se=g.allocUnsafe(ge),Ge=this.head,we=1;for(Ge.data.copy(Se),ge-=Ge.data.length;Ge=Ge.next;){var He=Ge.data,Pe=ge>He.length?He.length:ge;if(He.copy(Se,Se.length-ge,0,Pe),0==(ge-=Pe)){Pe===He.length?(++we,this.head=Ge.next?Ge.next:this.tail=null):(this.head=Ge,Ge.data=He.slice(Pe));break}++we}return this.length-=we,Se}},{key:x,value:function(ge,Se){return M(this,function(Ge){for(var we=1;we<arguments.length;we++){var He=null!=arguments[we]?arguments[we]:{};we%2?s(Object(He),!0).forEach(function(Pe){l(Ge,Pe,He[Pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ge,Object.getOwnPropertyDescriptors(He)):s(Object(He)).forEach(function(Pe){Object.defineProperty(Ge,Pe,Object.getOwnPropertyDescriptor(He,Pe))})}return Ge}({},Se,{depth:0,customInspect:!1}))}}],le&&function _(Y,K){for(var le=0;le<K.length;le++){var fe=K[le];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(Y,fe.key,fe)}}(Y.prototype,le),Y}()},1195:(t,i,n)=>{var s=n(4155);function l(M,x){g(M,x),_(M)}function _(M){M._writableState&&!M._writableState.emitClose||M._readableState&&!M._readableState.emitClose||M.emit("close")}function g(M,x){M.emit("error",x)}t.exports={destroy:function(M,x){var Y=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(x?x(M):M&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,s.nextTick(g,this,M)):s.nextTick(g,this,M)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(M||null,function(fe){!x&&fe?Y._writableState?Y._writableState.errorEmitted?s.nextTick(_,Y):(Y._writableState.errorEmitted=!0,s.nextTick(l,Y,fe)):s.nextTick(l,Y,fe):x?(s.nextTick(_,Y),x(fe)):s.nextTick(_,Y)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(M,x){var Y=M._readableState,K=M._writableState;Y&&Y.autoDestroy||K&&K.autoDestroy?M.destroy(x):M.emit("error",x)}}},8610:(t,i,n)=>{var s=n(4281).q.ERR_STREAM_PREMATURE_CLOSE;function l(){}t.exports=function _(g,M,x){if("function"==typeof M)return _(g,null,M);var W,It;M||(M={}),W=x||l,It=!1,x=function(){if(!It){It=!0;for(var Pt=arguments.length,Jt=new Array(Pt),dn=0;dn<Pt;dn++)Jt[dn]=arguments[dn];W.apply(this,Jt)}};var Y=M.readable||!1!==M.readable&&g.readable,K=M.writable||!1!==M.writable&&g.writable,le=function(){g.writable||ge()},fe=g._writableState&&g._writableState.finished,ge=function(){K=!1,fe=!0,Y||x.call(g)},Se=g._readableState&&g._readableState.endEmitted,Ge=function(){Y=!1,Se=!0,K||x.call(g)},we=function(W){x.call(g,W)},He=function(){var W;return Y&&!Se?(g._readableState&&g._readableState.ended||(W=new s),x.call(g,W)):K&&!fe?(g._writableState&&g._writableState.ended||(W=new s),x.call(g,W)):void 0},Pe=function(){g.req.on("finish",ge)};return function(W){return W.setHeader&&"function"==typeof W.abort}(g)?(g.on("complete",ge),g.on("abort",He),g.req?Pe():g.on("request",Pe)):K&&!g._writableState&&(g.on("end",le),g.on("close",le)),g.on("end",Ge),g.on("finish",ge),!1!==M.error&&g.on("error",we),g.on("close",He),function(){g.removeListener("complete",ge),g.removeListener("abort",He),g.removeListener("request",Pe),g.req&&g.req.removeListener("finish",ge),g.removeListener("end",le),g.removeListener("close",le),g.removeListener("finish",ge),g.removeListener("end",Ge),g.removeListener("error",we),g.removeListener("close",He)}}},5167:t=>{t.exports=function(){throw new Error("Readable.from is not available in the browser")}},9946:(t,i,n)=>{var s,l=n(4281).q,_=l.ERR_MISSING_ARGS,g=l.ERR_STREAM_DESTROYED;function M(fe){if(fe)throw fe}function Y(fe){fe()}function K(fe,ge){return fe.pipe(ge)}t.exports=function(){for(var fe=arguments.length,ge=new Array(fe),Se=0;Se<fe;Se++)ge[Se]=arguments[Se];var Ge,we=function le(fe){return fe.length?"function"!=typeof fe[fe.length-1]?M:fe.pop():M}(ge);if(Array.isArray(ge[0])&&(ge=ge[0]),ge.length<2)throw new _("streams");var He=ge.map(function(Pe,W){var It=W<ge.length-1;return function x(fe,ge,Se,Ge){var Pe,W;Pe=Ge,W=!1,Ge=function(){W||(W=!0,Pe.apply(void 0,arguments))};var we=!1;fe.on("close",function(){we=!0}),void 0===s&&(s=n(8610)),s(fe,{readable:ge,writable:Se},function(Pe){if(Pe)return Ge(Pe);we=!0,Ge()});var He=!1;return function(Pe){if(!we&&!He)return He=!0,function(W){return W.setHeader&&"function"==typeof W.abort}(fe)?fe.abort():"function"==typeof fe.destroy?fe.destroy():void Ge(Pe||new g("pipe"))}}(Pe,It,W>0,function(Pt){Ge||(Ge=Pt),Pt&&He.forEach(Y),It||(He.forEach(Y),we(Ge))})});return ge.reduce(K)}},2457:(t,i,n)=>{var s=n(4281).q.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(l,_,g,M){var Y,x=null!=(Y=_).highWaterMark?Y.highWaterMark:M?Y[g]:null;if(null!=x){if(!isFinite(x)||Math.floor(x)!==x||x<0)throw new s(M?g:"highWaterMark",x);return Math.floor(x)}return l.objectMode?16:16384}}},2503:(t,i,n)=>{t.exports=n(7187).EventEmitter},4189:(t,i,n)=>{var s=n(396).Buffer;function l(_,g){this._block=s.alloc(_),this._finalSize=g,this._blockSize=_,this._len=0}l.prototype.update=function(_,g){"string"==typeof _&&(_=s.from(_,g=g||"utf8"));for(var M=this._block,x=this._blockSize,Y=_.length,K=this._len,le=0;le<Y;){for(var fe=K%x,ge=Math.min(Y-le,x-fe),Se=0;Se<ge;Se++)M[fe+Se]=_[le+Se];le+=ge,(K+=ge)%x==0&&this._update(M)}return this._len+=Y,this},l.prototype.digest=function(_){var g=this._len%this._blockSize;this._block[g]=128,this._block.fill(0,g+1),g>=this._finalSize&&(this._update(this._block),this._block.fill(0));var M=8*this._len;if(M<=4294967295)this._block.writeUInt32BE(M,this._blockSize-4);else{var x=(4294967295&M)>>>0;this._block.writeUInt32BE((M-x)/4294967296,this._blockSize-8),this._block.writeUInt32BE(x,this._blockSize-4)}this._update(this._block);var K=this._hash();return _?K.toString(_):K},l.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=l},9072:(t,i,n)=>{var s=t.exports=function(l){l=l.toLowerCase();var _=s[l];if(!_)throw new Error(l+" is not supported (we accept pull requests)");return new _};s.sha=n(4448),s.sha1=n(8336),s.sha224=n(8432),s.sha256=n(7499),s.sha384=n(1686),s.sha512=n(7816)},4448:(t,i,n)=>{var s=n(5717),l=n(4189),_=n(396).Buffer,g=[1518500249,1859775393,-1894007588,-899497514],M=new Array(80);function x(){this.init(),this._w=M,l.call(this,64,56)}function Y(le){return le<<30|le>>>2}function K(le,fe,ge,Se){return 0===le?fe&ge|~fe&Se:2===le?fe&ge|fe&Se|ge&Se:fe^ge^Se}s(x,l),x.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},x.prototype._update=function(le){for(var fe,ge=this._w,Se=0|this._a,Ge=0|this._b,we=0|this._c,He=0|this._d,Pe=0|this._e,W=0;W<16;++W)ge[W]=le.readInt32BE(4*W);for(;W<80;++W)ge[W]=ge[W-3]^ge[W-8]^ge[W-14]^ge[W-16];for(var It=0;It<80;++It){var Pt=~~(It/20),Jt=0|((fe=Se)<<5|fe>>>27)+K(Pt,Ge,we,He)+Pe+ge[It]+g[Pt];Pe=He,He=we,we=Y(Ge),Ge=Se,Se=Jt}this._a=Se+this._a|0,this._b=Ge+this._b|0,this._c=we+this._c|0,this._d=He+this._d|0,this._e=Pe+this._e|0},x.prototype._hash=function(){var le=_.allocUnsafe(20);return le.writeInt32BE(0|this._a,0),le.writeInt32BE(0|this._b,4),le.writeInt32BE(0|this._c,8),le.writeInt32BE(0|this._d,12),le.writeInt32BE(0|this._e,16),le},t.exports=x},8336:(t,i,n)=>{var s=n(5717),l=n(4189),_=n(396).Buffer,g=[1518500249,1859775393,-1894007588,-899497514],M=new Array(80);function x(){this.init(),this._w=M,l.call(this,64,56)}function Y(fe){return fe<<5|fe>>>27}function K(fe){return fe<<30|fe>>>2}function le(fe,ge,Se,Ge){return 0===fe?ge&Se|~ge&Ge:2===fe?ge&Se|ge&Ge|Se&Ge:ge^Se^Ge}s(x,l),x.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},x.prototype._update=function(fe){for(var ge,Se=this._w,Ge=0|this._a,we=0|this._b,He=0|this._c,Pe=0|this._d,W=0|this._e,It=0;It<16;++It)Se[It]=fe.readInt32BE(4*It);for(;It<80;++It)Se[It]=(ge=Se[It-3]^Se[It-8]^Se[It-14]^Se[It-16])<<1|ge>>>31;for(var Pt=0;Pt<80;++Pt){var Jt=~~(Pt/20),dn=Y(Ge)+le(Jt,we,He,Pe)+W+Se[Pt]+g[Jt]|0;W=Pe,Pe=He,He=K(we),we=Ge,Ge=dn}this._a=Ge+this._a|0,this._b=we+this._b|0,this._c=He+this._c|0,this._d=Pe+this._d|0,this._e=W+this._e|0},x.prototype._hash=function(){var fe=_.allocUnsafe(20);return fe.writeInt32BE(0|this._a,0),fe.writeInt32BE(0|this._b,4),fe.writeInt32BE(0|this._c,8),fe.writeInt32BE(0|this._d,12),fe.writeInt32BE(0|this._e,16),fe},t.exports=x},8432:(t,i,n)=>{var s=n(5717),l=n(7499),_=n(4189),g=n(396).Buffer,M=new Array(64);function x(){this.init(),this._w=M,_.call(this,64,56)}s(x,l),x.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},x.prototype._hash=function(){var Y=g.allocUnsafe(28);return Y.writeInt32BE(this._a,0),Y.writeInt32BE(this._b,4),Y.writeInt32BE(this._c,8),Y.writeInt32BE(this._d,12),Y.writeInt32BE(this._e,16),Y.writeInt32BE(this._f,20),Y.writeInt32BE(this._g,24),Y},t.exports=x},7499:(t,i,n)=>{var s=n(5717),l=n(4189),_=n(396).Buffer,g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],M=new Array(64);function x(){this.init(),this._w=M,l.call(this,64,56)}function Y(Se,Ge,we){return we^Se&(Ge^we)}function K(Se,Ge,we){return Se&Ge|we&(Se|Ge)}function le(Se){return(Se>>>2|Se<<30)^(Se>>>13|Se<<19)^(Se>>>22|Se<<10)}function fe(Se){return(Se>>>6|Se<<26)^(Se>>>11|Se<<21)^(Se>>>25|Se<<7)}function ge(Se){return(Se>>>7|Se<<25)^(Se>>>18|Se<<14)^Se>>>3}s(x,l),x.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},x.prototype._update=function(Se){for(var Ge,we=this._w,He=0|this._a,Pe=0|this._b,W=0|this._c,It=0|this._d,Pt=0|this._e,Jt=0|this._f,dn=0|this._g,Un=0|this._h,ln=0;ln<16;++ln)we[ln]=Se.readInt32BE(4*ln);for(;ln<64;++ln)we[ln]=0|(((Ge=we[ln-2])>>>17|Ge<<15)^(Ge>>>19|Ge<<13)^Ge>>>10)+we[ln-7]+ge(we[ln-15])+we[ln-16];for(var Xn=0;Xn<64;++Xn){var jn=Un+fe(Pt)+Y(Pt,Jt,dn)+g[Xn]+we[Xn]|0,Wr=le(He)+K(He,Pe,W)|0;Un=dn,dn=Jt,Jt=Pt,Pt=It+jn|0,It=W,W=Pe,Pe=He,He=jn+Wr|0}this._a=He+this._a|0,this._b=Pe+this._b|0,this._c=W+this._c|0,this._d=It+this._d|0,this._e=Pt+this._e|0,this._f=Jt+this._f|0,this._g=dn+this._g|0,this._h=Un+this._h|0},x.prototype._hash=function(){var Se=_.allocUnsafe(32);return Se.writeInt32BE(this._a,0),Se.writeInt32BE(this._b,4),Se.writeInt32BE(this._c,8),Se.writeInt32BE(this._d,12),Se.writeInt32BE(this._e,16),Se.writeInt32BE(this._f,20),Se.writeInt32BE(this._g,24),Se.writeInt32BE(this._h,28),Se},t.exports=x},1686:(t,i,n)=>{var s=n(5717),l=n(7816),_=n(4189),g=n(396).Buffer,M=new Array(160);function x(){this.init(),this._w=M,_.call(this,128,112)}s(x,l),x.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},x.prototype._hash=function(){var Y=g.allocUnsafe(48);function K(le,fe,ge){Y.writeInt32BE(le,ge),Y.writeInt32BE(fe,ge+4)}return K(this._ah,this._al,0),K(this._bh,this._bl,8),K(this._ch,this._cl,16),K(this._dh,this._dl,24),K(this._eh,this._el,32),K(this._fh,this._fl,40),Y},t.exports=x},7816:(t,i,n)=>{var s=n(5717),l=n(4189),_=n(396).Buffer,g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],M=new Array(160);function x(){this.init(),this._w=M,l.call(this,128,112)}function Y(Pe,W,It){return It^Pe&(W^It)}function K(Pe,W,It){return Pe&W|It&(Pe|W)}function le(Pe,W){return(Pe>>>28|W<<4)^(W>>>2|Pe<<30)^(W>>>7|Pe<<25)}function fe(Pe,W){return(Pe>>>14|W<<18)^(Pe>>>18|W<<14)^(W>>>9|Pe<<23)}function ge(Pe,W){return(Pe>>>1|W<<31)^(Pe>>>8|W<<24)^Pe>>>7}function Se(Pe,W){return(Pe>>>1|W<<31)^(Pe>>>8|W<<24)^(Pe>>>7|W<<25)}function Ge(Pe,W){return(Pe>>>19|W<<13)^(W>>>29|Pe<<3)^Pe>>>6}function we(Pe,W){return(Pe>>>19|W<<13)^(W>>>29|Pe<<3)^(Pe>>>6|W<<26)}function He(Pe,W){return Pe>>>0<W>>>0?1:0}s(x,l),x.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},x.prototype._update=function(Pe){for(var W=this._w,It=0|this._ah,Pt=0|this._bh,Jt=0|this._ch,dn=0|this._dh,Un=0|this._eh,ln=0|this._fh,Xn=0|this._gh,jn=0|this._hh,Wr=0|this._al,Ur=0|this._bl,di=0|this._cl,Mi=0|this._dl,Gn=0|this._el,pr=0|this._fl,fr=0|this._gl,Mr=0|this._hl,Jn=0;Jn<32;Jn+=2)W[Jn]=Pe.readInt32BE(4*Jn),W[Jn+1]=Pe.readInt32BE(4*Jn+4);for(;Jn<160;Jn+=2){var ci=W[Jn-30],ho=W[Jn-30+1],Yi=ge(ci,ho),lo=Se(ho,ci),yi=Ge(ci=W[Jn-4],ho=W[Jn-4+1]),qn=we(ho,ci),Ji=W[Jn-32],To=W[Jn-32+1],fs=lo+W[Jn-14+1]|0,Xo=Yi+W[Jn-14]+He(fs,lo)|0;Xo=(Xo=Xo+yi+He(fs=fs+qn|0,qn)|0)+Ji+He(fs=fs+To|0,To)|0,W[Jn]=Xo,W[Jn+1]=fs}for(var Sa=0;Sa<160;Sa+=2){Xo=W[Sa],fs=W[Sa+1];var Aa=K(It,Pt,Jt),to=K(Wr,Ur,di),No=le(It,Wr),Uo=le(Wr,It),rt=fe(Un,Gn),Ft=fe(Gn,Un),Nt=g[Sa],mr=g[Sa+1],Zr=Y(Un,ln,Xn),ui=Y(Gn,pr,fr),no=Mr+Ft|0,Ca=jn+rt+He(no,Mr)|0;Ca=(Ca=(Ca=Ca+Zr+He(no=no+ui|0,ui)|0)+Nt+He(no=no+mr|0,mr)|0)+Xo+He(no=no+fs|0,fs)|0;var vs=Uo+to|0,Hl=No+Aa+He(vs,Uo)|0;jn=Xn,Mr=fr,Xn=ln,fr=pr,ln=Un,pr=Gn,Un=dn+Ca+He(Gn=Mi+no|0,Mi)|0,dn=Jt,Mi=di,Jt=Pt,di=Ur,Pt=It,Ur=Wr,It=Ca+Hl+He(Wr=no+vs|0,no)|0}this._al=this._al+Wr|0,this._bl=this._bl+Ur|0,this._cl=this._cl+di|0,this._dl=this._dl+Mi|0,this._el=this._el+Gn|0,this._fl=this._fl+pr|0,this._gl=this._gl+fr|0,this._hl=this._hl+Mr|0,this._ah=this._ah+It+He(this._al,Wr)|0,this._bh=this._bh+Pt+He(this._bl,Ur)|0,this._ch=this._ch+Jt+He(this._cl,di)|0,this._dh=this._dh+dn+He(this._dl,Mi)|0,this._eh=this._eh+Un+He(this._el,Gn)|0,this._fh=this._fh+ln+He(this._fl,pr)|0,this._gh=this._gh+Xn+He(this._gl,fr)|0,this._hh=this._hh+jn+He(this._hl,Mr)|0},x.prototype._hash=function(){var Pe=_.allocUnsafe(64);function W(It,Pt,Jt){Pe.writeInt32BE(It,Jt),Pe.writeInt32BE(Pt,Jt+4)}return W(this._ah,this._al,0),W(this._bh,this._bl,8),W(this._ch,this._cl,16),W(this._dh,this._dl,24),W(this._eh,this._el,32),W(this._fh,this._fl,40),W(this._gh,this._gl,48),W(this._hh,this._hl,56),Pe},t.exports=x},2830:(t,i,n)=>{t.exports=l;var s=n(7187).EventEmitter;function l(){s.call(this)}n(5717)(l,s),l.Readable=n(9481),l.Writable=n(4229),l.Duplex=n(6753),l.Transform=n(4605),l.PassThrough=n(2725),l.finished=n(8610),l.pipeline=n(9946),l.Stream=l,l.prototype.pipe=function(_,g){var M=this;function x(Ge){_.writable&&!1===_.write(Ge)&&M.pause&&M.pause()}function Y(){M.readable&&M.resume&&M.resume()}M.on("data",x),_.on("drain",Y),_._isStdio||g&&!1===g.end||(M.on("end",le),M.on("close",fe));var K=!1;function le(){K||(K=!0,_.end())}function fe(){K||(K=!0,"function"==typeof _.destroy&&_.destroy())}function ge(Ge){if(Se(),0===s.listenerCount(this,"error"))throw Ge}function Se(){M.removeListener("data",x),_.removeListener("drain",Y),M.removeListener("end",le),M.removeListener("close",fe),M.removeListener("error",ge),_.removeListener("error",ge),M.removeListener("end",Se),M.removeListener("close",Se),_.removeListener("close",Se)}return M.on("error",ge),_.on("error",ge),M.on("end",Se),M.on("close",Se),_.on("close",Se),_.emit("pipe",M),_}},2553:(t,i,n)=>{var s=n(396).Buffer,l=s.isEncoding||function(Se){switch((Se=""+Se)&&Se.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function _(Se){var Ge;switch(this.encoding=function(we){var He=function(Pe){if(!Pe)return"utf8";for(var W;;)switch(Pe){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return Pe;default:if(W)return;Pe=(""+Pe).toLowerCase(),W=!0}}(we);if("string"!=typeof He&&(s.isEncoding===l||!l(we)))throw new Error("Unknown encoding: "+we);return He||we}(Se),this.encoding){case"utf16le":this.text=x,this.end=Y,Ge=4;break;case"utf8":this.fillLast=M,Ge=4;break;case"base64":this.text=K,this.end=le,Ge=3;break;default:return this.write=fe,void(this.end=ge)}this.lastNeed=0,this.lastTotal=0,this.lastChar=s.allocUnsafe(Ge)}function g(Se){return Se<=127?0:Se>>5==6?2:Se>>4==14?3:Se>>3==30?4:Se>>6==2?-1:-2}function M(Se){var Ge=this.lastTotal-this.lastNeed,we=function(He,Pe,W){if(128!=(192&Pe[0]))return He.lastNeed=0,"\ufffd";if(He.lastNeed>1&&Pe.length>1){if(128!=(192&Pe[1]))return He.lastNeed=1,"\ufffd";if(He.lastNeed>2&&Pe.length>2&&128!=(192&Pe[2]))return He.lastNeed=2,"\ufffd"}}(this,Se);return void 0!==we?we:this.lastNeed<=Se.length?(Se.copy(this.lastChar,Ge,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(Se.copy(this.lastChar,Ge,0,Se.length),void(this.lastNeed-=Se.length))}function x(Se,Ge){if((Se.length-Ge)%2==0){var we=Se.toString("utf16le",Ge);if(we){var He=we.charCodeAt(we.length-1);if(He>=55296&&He<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Se[Se.length-2],this.lastChar[1]=Se[Se.length-1],we.slice(0,-1)}return we}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Se[Se.length-1],Se.toString("utf16le",Ge,Se.length-1)}function Y(Se){var Ge=Se&&Se.length?this.write(Se):"";return this.lastNeed?Ge+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):Ge}function K(Se,Ge){var we=(Se.length-Ge)%3;return 0===we?Se.toString("base64",Ge):(this.lastNeed=3-we,this.lastTotal=3,1===we?this.lastChar[0]=Se[Se.length-1]:(this.lastChar[0]=Se[Se.length-2],this.lastChar[1]=Se[Se.length-1]),Se.toString("base64",Ge,Se.length-we))}function le(Se){var Ge=Se&&Se.length?this.write(Se):"";return this.lastNeed?Ge+this.lastChar.toString("base64",0,3-this.lastNeed):Ge}function fe(Se){return Se.toString(this.encoding)}function ge(Se){return Se&&Se.length?this.write(Se):""}i.s=_,_.prototype.write=function(Se){if(0===Se.length)return"";var Ge,we;if(this.lastNeed){if(void 0===(Ge=this.fillLast(Se)))return"";we=this.lastNeed,this.lastNeed=0}else we=0;return we<Se.length?Ge?Ge+this.text(Se,we):this.text(Se,we):Ge||""},_.prototype.end=function(Se){var Ge=Se&&Se.length?this.write(Se):"";return this.lastNeed?Ge+"\ufffd":Ge},_.prototype.text=function(Se,Ge){var we=function(Pe,W,It){var Pt=W.length-1;if(Pt<It)return 0;var Jt=g(W[Pt]);return Jt>=0?(Jt>0&&(Pe.lastNeed=Jt-1),Jt):--Pt<It||-2===Jt?0:(Jt=g(W[Pt]))>=0?(Jt>0&&(Pe.lastNeed=Jt-2),Jt):--Pt<It||-2===Jt?0:(Jt=g(W[Pt]))>=0?(Jt>0&&(2===Jt?Jt=0:Pe.lastNeed=Jt-3),Jt):0}(this,Se,Ge);if(!this.lastNeed)return Se.toString("utf8",Ge);this.lastTotal=we;var He=Se.length-(we-this.lastNeed);return Se.copy(this.lastChar,0,He),Se.toString("utf8",Ge,He)},_.prototype.fillLast=function(Se){if(this.lastNeed<=Se.length)return Se.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Se.copy(this.lastChar,this.lastTotal-this.lastNeed,0,Se.length),this.lastNeed-=Se.length}},396:(t,i,n)=>{var s=n(8764),l=s.Buffer;function _(M,x){for(var Y in M)x[Y]=M[Y]}function g(M,x,Y){return l(M,x,Y)}l.from&&l.alloc&&l.allocUnsafe&&l.allocUnsafeSlow?t.exports=s:(_(s,i),i.Buffer=g),g.prototype=Object.create(l.prototype),_(l,g),g.from=function(M,x,Y){if("number"==typeof M)throw new TypeError("Argument must not be a number");return l(M,x,Y)},g.alloc=function(M,x,Y){if("number"!=typeof M)throw new TypeError("Argument must be a number");var K=l(M);return void 0!==x?"string"==typeof Y?K.fill(x,Y):K.fill(x):K.fill(0),K},g.allocUnsafe=function(M){if("number"!=typeof M)throw new TypeError("Argument must be a number");return l(M)},g.allocUnsafeSlow=function(M){if("number"!=typeof M)throw new TypeError("Argument must be a number");return s.SlowBuffer(M)}},4927:(t,i,n)=>{function s(l){try{if(!n.g.localStorage)return!1}catch{return!1}var _=n.g.localStorage[l];return null!=_&&"true"===String(_).toLowerCase()}t.exports=function(l,_){if(s("noDeprecation"))return l;var g=!1;return function(){if(!g){if(s("throwDeprecation"))throw new Error(_);s("traceDeprecation")?console.trace(_):console.warn(_),g=!0}return l.apply(this,arguments)}}},255:t=>{var i={"&":"&amp;",'"':"&quot;","'":"&apos;","<":"&lt;",">":"&gt;"};t.exports=function(n){return n&&n.replace?n.replace(/([&"<>'])/g,function(s,l){return i[l]}):n}},3479:(t,i,n)=>{var s=n(4155),l=n(255),_=n(2830).Stream;function g(x,Y,K){K=K||0;var le,fe,ge=(le=Y,new Array(K||0).join(le||"")),Se=x;if("object"==typeof x&&(Se=x[fe=Object.keys(x)[0]])&&Se._elem)return Se._elem.name=fe,Se._elem.icount=K,Se._elem.indent=Y,Se._elem.indents=ge,Se._elem.interrupt=Se,Se._elem;var Ge,we=[],He=[];function Pe(W){Object.keys(W).forEach(function(It){we.push(It+'="'+l(W[It])+'"')})}switch(typeof Se){case"object":if(null===Se)break;Se._attr&&Pe(Se._attr),Se._cdata&&He.push(("<![CDATA["+Se._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),Se.forEach&&(Ge=!1,He.push(""),Se.forEach(function(W){"object"==typeof W?"_attr"==Object.keys(W)[0]?Pe(W._attr):He.push(g(W,Y,K+1)):(He.pop(),Ge=!0,He.push(l(W)))}),Ge||He.push(""));break;default:He.push(l(Se))}return{name:fe,interrupt:!1,attributes:we,content:He,icount:K,indents:ge,indent:Y}}function M(x,Y,K){if("object"!=typeof Y)return x(!1,Y);var le=Y.interrupt?1:Y.content.length;function fe(){for(;Y.content.length;){var Se=Y.content.shift();if(void 0!==Se){if(ge(Se))return;M(x,Se)}}x(!1,(le>1?Y.indents:"")+(Y.name?"</"+Y.name+">":"")+(Y.indent&&!K?"\n":"")),K&&K()}function ge(Se){return!!Se.interrupt&&(Se.interrupt.append=x,Se.interrupt.end=fe,Se.interrupt=!1,x(!0),!0)}if(x(!1,Y.indents+(Y.name?"<"+Y.name:"")+(Y.attributes.length?" "+Y.attributes.join(" "):"")+(le?Y.name?">":"":Y.name?"/>":"")+(Y.indent&&le>1?"\n":"")),!le)return x(!1,Y.indent?"\n":"");ge(Y)||fe()}t.exports=function(x,Y){"object"!=typeof Y&&(Y={indent:Y});var K,le,fe=Y.stream?new _:null,ge="",Se=!1,Ge=Y.indent?!0===Y.indent?" ":Y.indent:"",we=!0;function He(Pt){we?s.nextTick(Pt):Pt()}function Pe(Pt,Jt){if(void 0!==Jt&&(ge+=Jt),Pt&&!Se&&(fe=fe||new _,Se=!0),Pt&&Se){var dn=ge;He(function(){fe.emit("data",dn)}),ge=""}}function W(Pt,Jt){M(Pe,g(Pt,Ge,Ge?1:0),Jt)}function It(){if(fe){var Pt=ge;He(function(){fe.emit("data",Pt),fe.emit("end"),fe.readable=!1,fe.emit("close")})}}return He(function(){we=!1}),Y.declaration&&(le={version:"1.0",encoding:(K=Y.declaration).encoding||"UTF-8"},K.standalone&&(le.standalone=K.standalone),W({"?xml":{_attr:le}}),ge=ge.replace("/>","?>")),x&&x.forEach?x.forEach(function(Pt,Jt){var dn;Jt+1===x.length&&(dn=It),W(Pt,dn)}):W(x,It),fe?(fe.readable=!0,fe):ge},t.exports.element=t.exports.Element=function(){return{_elem:g(Array.prototype.slice.call(arguments)),push:function(K){if(!this.append)throw new Error("not assigned to a parent!");var le=this,fe=this._elem.indent;M(this.append,g(K,fe,this._elem.icount+(fe?1:0)),function(){le.append(!0)})},close:function(K){void 0!==K&&this.push(K),this.end&&this.end()}}}},5102:(t,i,n)=>{var s={"./all.js":5308,"./auth/actions.js":5812,"./auth/index.js":3705,"./auth/reducers.js":3962,"./auth/selectors.js":35,"./auth/spec-wrap-actions.js":8302,"./configs/actions.js":714,"./configs/helpers.js":2256,"./configs/index.js":1661,"./configs/reducers.js":7743,"./configs/selectors.js":9018,"./configs/spec-actions.js":2698,"./deep-linking/helpers.js":1970,"./deep-linking/index.js":4980,"./deep-linking/layout.js":5858,"./deep-linking/operation-tag-wrapper.jsx":4584,"./deep-linking/operation-wrapper.jsx":877,"./download-url.js":8011,"./err/actions.js":4966,"./err/error-transformers/hook.js":6808,"./err/error-transformers/transformers/not-of-type.js":2392,"./err/error-transformers/transformers/parameter-oneof.js":1835,"./err/index.js":7793,"./err/reducers.js":3527,"./err/selectors.js":7667,"./filter/index.js":9978,"./filter/opsFilter.js":4309,"./layout/actions.js":5474,"./layout/index.js":6821,"./layout/reducers.js":5672,"./layout/selectors.js":4400,"./layout/spec-extensions/wrap-selector.js":8989,"./logs/index.js":9150,"./oas3/actions.js":7002,"./oas3/auth-extensions/wrap-selectors.js":3723,"./oas3/components/callbacks.jsx":3427,"./oas3/components/http-auth.jsx":6775,"./oas3/components/index.js":6467,"./oas3/components/operation-link.jsx":5757,"./oas3/components/operation-servers.jsx":6796,"./oas3/components/request-body-editor.jsx":5327,"./oas3/components/request-body.jsx":2458,"./oas3/components/servers-container.jsx":9928,"./oas3/components/servers.jsx":6617,"./oas3/helpers.jsx":7779,"./oas3/index.js":7451,"./oas3/reducers.js":9666,"./oas3/selectors.js":5065,"./oas3/spec-extensions/selectors.js":1741,"./oas3/spec-extensions/wrap-selectors.js":2044,"./oas3/wrap-components/auth-item.jsx":356,"./oas3/wrap-components/index.js":7761,"./oas3/wrap-components/json-schema-string.jsx":287,"./oas3/wrap-components/markdown.jsx":2460,"./oas3/wrap-components/model.jsx":3499,"./oas3/wrap-components/online-validator-badge.js":58,"./oas3/wrap-components/version-stamp.jsx":9487,"./on-complete/index.js":8560,"./request-snippets/fn.js":4624,"./request-snippets/index.js":6575,"./request-snippets/request-snippets.jsx":4206,"./request-snippets/selectors.js":4669,"./safe-render/components/error-boundary.jsx":6195,"./safe-render/components/fallback.jsx":9403,"./safe-render/fn.jsx":6189,"./safe-render/index.js":8102,"./samples/fn.js":2473,"./samples/index.js":8883,"./spec/actions.js":1737,"./spec/index.js":7038,"./spec/reducers.js":32,"./spec/selectors.js":3881,"./spec/wrap-actions.js":7508,"./swagger-js/configs-wrap-actions.js":4852,"./swagger-js/index.js":2990,"./util/index.js":8525,"./view/fn.js":8347,"./view/index.js":3420,"./view/root-injects.jsx":5005,"core/plugins/all.js":5308,"core/plugins/auth/actions.js":5812,"core/plugins/auth/index.js":3705,"core/plugins/auth/reducers.js":3962,"core/plugins/auth/selectors.js":35,"core/plugins/auth/spec-wrap-actions.js":8302,"core/plugins/configs/actions.js":714,"core/plugins/configs/helpers.js":2256,"core/plugins/configs/index.js":1661,"core/plugins/configs/reducers.js":7743,"core/plugins/configs/selectors.js":9018,"core/plugins/configs/spec-actions.js":2698,"core/plugins/deep-linking/helpers.js":1970,"core/plugins/deep-linking/index.js":4980,"core/plugins/deep-linking/layout.js":5858,"core/plugins/deep-linking/operation-tag-wrapper.jsx":4584,"core/plugins/deep-linking/operation-wrapper.jsx":877,"core/plugins/download-url.js":8011,"core/plugins/err/actions.js":4966,"core/plugins/err/error-transformers/hook.js":6808,"core/plugins/err/error-transformers/transformers/not-of-type.js":2392,"core/plugins/err/error-transformers/transformers/parameter-oneof.js":1835,"core/plugins/err/index.js":7793,"core/plugins/err/reducers.js":3527,"core/plugins/err/selectors.js":7667,"core/plugins/filter/index.js":9978,"core/plugins/filter/opsFilter.js":4309,"core/plugins/layout/actions.js":5474,"core/plugins/layout/index.js":6821,"core/plugins/layout/reducers.js":5672,"core/plugins/layout/selectors.js":4400,"core/plugins/layout/spec-extensions/wrap-selector.js":8989,"core/plugins/logs/index.js":9150,"core/plugins/oas3/actions.js":7002,"core/plugins/oas3/auth-extensions/wrap-selectors.js":3723,"core/plugins/oas3/components/callbacks.jsx":3427,"core/plugins/oas3/components/http-auth.jsx":6775,"core/plugins/oas3/components/index.js":6467,"core/plugins/oas3/components/operation-link.jsx":5757,"core/plugins/oas3/components/operation-servers.jsx":6796,"core/plugins/oas3/components/request-body-editor.jsx":5327,"core/plugins/oas3/components/request-body.jsx":2458,"core/plugins/oas3/components/servers-container.jsx":9928,"core/plugins/oas3/components/servers.jsx":6617,"core/plugins/oas3/helpers.jsx":7779,"core/plugins/oas3/index.js":7451,"core/plugins/oas3/reducers.js":9666,"core/plugins/oas3/selectors.js":5065,"core/plugins/oas3/spec-extensions/selectors.js":1741,"core/plugins/oas3/spec-extensions/wrap-selectors.js":2044,"core/plugins/oas3/wrap-components/auth-item.jsx":356,"core/plugins/oas3/wrap-components/index.js":7761,"core/plugins/oas3/wrap-components/json-schema-string.jsx":287,"core/plugins/oas3/wrap-components/markdown.jsx":2460,"core/plugins/oas3/wrap-components/model.jsx":3499,"core/plugins/oas3/wrap-components/online-validator-badge.js":58,"core/plugins/oas3/wrap-components/version-stamp.jsx":9487,"core/plugins/on-complete/index.js":8560,"core/plugins/request-snippets/fn.js":4624,"core/plugins/request-snippets/index.js":6575,"core/plugins/request-snippets/request-snippets.jsx":4206,"core/plugins/request-snippets/selectors.js":4669,"core/plugins/safe-render/components/error-boundary.jsx":6195,"core/plugins/safe-render/components/fallback.jsx":9403,"core/plugins/safe-render/fn.jsx":6189,"core/plugins/safe-render/index.js":8102,"core/plugins/samples/fn.js":2473,"core/plugins/samples/index.js":8883,"core/plugins/spec/actions.js":1737,"core/plugins/spec/index.js":7038,"core/plugins/spec/reducers.js":32,"core/plugins/spec/selectors.js":3881,"core/plugins/spec/wrap-actions.js":7508,"core/plugins/swagger-js/configs-wrap-actions.js":4852,"core/plugins/swagger-js/index.js":2990,"core/plugins/util/index.js":8525,"core/plugins/view/fn.js":8347,"core/plugins/view/index.js":3420,"core/plugins/view/root-injects.jsx":5005};function l(g){var M=_(g);return n(M)}function _(g){if(!n.o(s,g)){var M=new Error("Cannot find module '"+g+"'");throw M.code="MODULE_NOT_FOUND",M}return s[g]}l.keys=function(){return Object.keys(s)},l.resolve=_,t.exports=l,l.id=5102},2517:t=>{t.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwcHgiICBoZWlnaHQ9IjIwMHB4IiAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiIGNsYXNzPSJsZHMtcm9sbGluZyIgc3R5bGU9ImJhY2tncm91bmQtaW1hZ2U6IG5vbmU7IGJhY2tncm91bmQtcG9zaXRpb246IGluaXRpYWwgaW5pdGlhbDsgYmFja2dyb3VuZC1yZXBlYXQ6IGluaXRpYWwgaW5pdGlhbDsiPjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIGZpbGw9Im5vbmUiIG5nLWF0dHItc3Ryb2tlPSJ7e2NvbmZpZy5jb2xvcn19IiBuZy1hdHRyLXN0cm9rZS13aWR0aD0ie3tjb25maWcud2lkdGh9fSIgbmctYXR0ci1yPSJ7e2NvbmZpZy5yYWRpdXN9fSIgbmctYXR0ci1zdHJva2UtZGFzaGFycmF5PSJ7e2NvbmZpZy5kYXNoYXJyYXl9fSIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjEwIiByPSIzNSIgc3Ryb2tlLWRhc2hhcnJheT0iMTY0LjkzMzYxNDMxMzQ2NDE1IDU2Ljk3Nzg3MTQzNzgyMTM4Ij48YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InJvdGF0ZSIgY2FsY01vZGU9ImxpbmVhciIgdmFsdWVzPSIwIDUwIDUwOzM2MCA1MCA1MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49IjBzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvc3ZnPgo="},5163:t=>{t.exports='---\nurl: "https://petstore.swagger.io/v2/swagger.json"\ndom_id: "#swagger-ui"\nvalidatorUrl: "https://validator.swagger.io/validator"\n'},8898:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>VH()}),l)},4163:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>JH()}),l)},5527:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>KH()}),l)},5171:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>qH()}),l)},2954:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>tU()}),l)},7930:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>rU()}),l)},6145:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>oU()}),l)},1778:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>aU()}),l)},29:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>cU()}),l)},2372:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>dU()}),l)},8818:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>pU()}),l)},5487:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>hU()}),l)},2565:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>gU()}),l)},6785:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>yU()}),l)},8136:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>SU()}),l)},9963:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>TU()}),l)},4350:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>MU()}),l)},3590:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>AU()}),l)},5942:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>RU()}),l)},313:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>xU()}),l)},6914:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>NU()}),l)},7512:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>FU()}),l)},2740:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>kU()}),l)},374:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>HU()}),l)},6235:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>BU()}),l)},3769:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>YU()}),l)},6340:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>Ew}),l)},7344:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>jU}),l)},8656:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>WU}),l)},3248:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>JU}),l)},5416:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>KU}),l)},775:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>Tw}),l)},863:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>_D}),l)},9972:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>XU}),l)},1013:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>tB}),l)},302:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>rB}),l)},9334:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>oB}),l)},2691:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>lB}),l)},1581:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>l0}),l)},4780:t=>{t.exports=uB},8096:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>fB()}),l)},3294:t=>{t.exports=_B},9725:(t,i,n)=>{var l;t.exports=(n.d(l={},{List:()=>c0.List,Map:()=>c0.Map,OrderedMap:()=>c0.OrderedMap,Seq:()=>c0.Seq,Set:()=>c0.Set,default:()=>hB(),fromJS:()=>c0.fromJS}),l)},626:(t,i,n)=>{var l;t.exports=(n.d(l={},{JSON_SCHEMA:()=>xN,default:()=>FY}),l)},9908:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>kY()}),l)},7068:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>HY()}),l)},5476:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>BY()}),l)},5053:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>YY()}),l)},810:(t,i,n)=>{var l;t.exports=(n.d(l={},{Component:()=>kc.Component,PureComponent:()=>kc.PureComponent,default:()=>kc,useEffect:()=>kc.useEffect,useRef:()=>kc.useRef,useState:()=>kc.useState}),l)},9874:(t,i,n)=>{var l;t.exports=(n.d(l={},{CopyToClipboard:()=>jY.CopyToClipboard}),l)},9569:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>zY()}),l)},9871:(t,i,n)=>{var l;t.exports=(n.d(l={},{applyMiddleware:()=>qY,bindActionCreators:()=>XY,compose:()=>$N,createStore:()=>LN}),l)},3952:(t,i,n)=>{var l;t.exports=(n.d(l={},{Remarkable:()=>q1}),l)},8639:(t,i,n)=>{var l;t.exports=(n.d(l={},{createSelector:()=>r6}),l)},8518:(t,i,n)=>{var l;t.exports=(n.d(l={},{serializeError:()=>YZ.serializeError}),l)},5013:(t,i,n)=>{var l;t.exports=(n.d(l={},{opId:()=>WA}),l)},8900:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>ZZ()}),l)},2361:()=>{},4616:()=>{}},i6={};function is(t){var i=i6[t];if(void 0!==i)return i.exports;var n=i6[t]={exports:{}};return dz[t](n,n.exports,is),n.exports}is.n=t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return is.d(i,{a:i}),i},is.d=(t,i)=>{for(var n in i)is.o(i,n)&&!is.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:i[n]})},is.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch{if("object"==typeof window)return window}}(),is.o=(t,i)=>Object.prototype.hasOwnProperty.call(t,i),is.r=t=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o6={};(()=>{is.d(o6,{Z:()=>YW});var t={};is.r(t),is.d(t,{Button:()=>h6,Col:()=>XV,Collapse:()=>y6,Container:()=>KV,Input:()=>tW,Link:()=>g6,Row:()=>qV,Select:()=>m6,TextArea:()=>eW});var i={};is.r(i),is.d(i,{JsonSchemaArrayItemFile:()=>VD,JsonSchemaArrayItemText:()=>zD,JsonSchemaForm:()=>M6,JsonSchema_array:()=>A6,JsonSchema_boolean:()=>D6,JsonSchema_object:()=>R6,JsonSchema_string:()=>O6});var n=is(1581),s=is(5171);const l=(is.d(Sn={},{default:()=>VZ()}),Sn);var Sn,_=is(6145),g=is(2740),M=is(313),x=is(7698),Y=is.n(x),K=is(775),le=is(7344),fe=is(8656),ge=is(5527),Se=is(7512),Ge=is(8136),we=is(4163),He=is(6785),Pe=is(2565),W=is(810),It=is(9871),Pt=is(9725);const Jt=(Yn=>{var Sn={};return is.d(Sn,Yn),Sn})({combineReducers:()=>WZ.U});var dn=is(8518);const Un=(Yn=>{var Sn={};return is.d(Sn,Yn),Sn})({default:()=>QZ()});var ln=is(4966),Xn=is(7504),jn=is(6298),Wr=function(Yn){return Yn},Ur=function(){function Yn(){var Sn,Tt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,le.default)(this,Yn),Y()(this,{state:{},plugins:[],pluginsOptions:{},system:{configs:{},fn:{},components:{},rootInjects:{},statePlugins:{}},boundSystem:{},toolbox:{}},Tt),this.getSystem=(0,ge.default)(Sn=this._getSystem).call(Sn,this),this.store=function fr(Yn,Sn,Tt){var dt,mt,Zt;return dt=Yn,mt=Sn,Zt=[(0,jn._5)(Tt)],(0,It.createStore)(dt,mt,(Xn.Z.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||It.compose)(It.applyMiddleware.apply(void 0,Zt)))}(Wr,(0,Pt.fromJS)(this.state),this.getSystem),this.buildSystem(!1),this.register(this.plugins)}return(0,fe.default)(Yn,[{key:"getStore",value:function(){return this.store}},{key:"register",value:function(Sn){var Tt=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],at=di(Sn,this.getSystem(),this.pluginsOptions);Gn(this.system,at),Tt&&this.buildSystem(),Mi.call(this.system,Sn,this.getSystem())&&this.buildSystem()}},{key:"buildSystem",value:function(){var Sn=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],Tt=this.getStore().dispatch,at=this.getStore().getState;this.boundSystem=(0,Se.default)({},this.getRootInjects(),this.getWrappedAndBoundActions(Tt),this.getWrappedAndBoundSelectors(at,this.getSystem),this.getStateThunks(at),this.getFn(),this.getConfigs()),Sn&&this.rebuildReducer()}},{key:"_getSystem",value:function(){return this.boundSystem}},{key:"getRootInjects",value:function(){var Sn,Tt,at;return(0,Se.default)({getSystem:this.getSystem,getStore:(0,ge.default)(Sn=this.getStore).call(Sn,this),getComponents:(0,ge.default)(Tt=this.getComponents).call(Tt,this),getState:this.getStore().getState,getConfigs:(0,ge.default)(at=this._getConfigs).call(at,this),Im:Pt.default,React:W.default},this.system.rootInjects||{})}},{key:"_getConfigs",value:function(){return this.system.configs}},{key:"getConfigs",value:function(){return{configs:this.system.configs}}},{key:"setConfigs",value:function(Sn){this.system.configs=Sn}},{key:"rebuildReducer",value:function(){var Sn,Tt,at;this.store.replaceReducer((Sn=(0,jn.Ay)(this.system.statePlugins,function(mt){return mt.reducers}),at=(0,He.default)(Tt=(0,g.default)(Sn)).call(Tt,function(mt,jt){return mt[jt]=(Zt=Sn[jt],function(){var vn=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Pt.Map,Vn=arguments.length>1?arguments[1]:void 0;if(!Zt)return vn;var gr=Zt[Vn.type];if(gr){var ur=pr(gr)(vn,Vn);return null===ur?vn:ur}return vn}),mt;var Zt},{}),(0,g.default)(at).length?(0,Jt.combineReducers)(at):Wr))}},{key:"getType",value:function(Sn){var Tt=Sn[0].toUpperCase()+(0,Ge.default)(Sn).call(Sn,1);return(0,jn.Q2)(this.system.statePlugins,function(at,dt){var mt=at[Sn];if(mt)return(0,K.default)({},dt+Tt,mt)})}},{key:"getSelectors",value:function(){return this.getType("selectors")}},{key:"getActions",value:function(){var Sn=this.getType("actions");return(0,jn.Ay)(Sn,function(Tt){return(0,jn.Q2)(Tt,function(at,dt){if((0,jn.LQ)(at))return(0,K.default)({},dt,at)})})}},{key:"getWrappedAndBoundActions",value:function(Sn){var Tt=this,at=this.getBoundActions(Sn);return(0,jn.Ay)(at,function(dt,mt){var jt=Tt.system.statePlugins[(0,Ge.default)(mt).call(mt,0,-7)].wrapActions;return jt?(0,jn.Ay)(dt,function(Zt,vn){var Vn=jt[vn];return Vn?((0,we.default)(Vn)||(Vn=[Vn]),(0,He.default)(Vn).call(Vn,function(gr,ur){var Or=function(){return ur(gr,Tt.getSystem()).apply(void 0,arguments)};if(!(0,jn.LQ)(Or))throw new TypeError("wrapActions needs to return a function that returns a new function (ie the wrapped action)");return pr(Or)},Zt||Function.prototype)):Zt}):dt})}},{key:"getWrappedAndBoundSelectors",value:function(Sn,Tt){var at=this,dt=this.getBoundSelectors(Sn,Tt);return(0,jn.Ay)(dt,function(mt,jt){var Zt=[(0,Ge.default)(jt).call(jt,0,-9)],vn=at.system.statePlugins[Zt].wrapSelectors;return vn?(0,jn.Ay)(mt,function(Vn,gr){var ur=vn[gr];return ur?((0,we.default)(ur)||(ur=[ur]),(0,He.default)(ur).call(ur,function(Or,Hi){var ki=function(){for(var Ki,ro=arguments.length,Io=new Array(ro),bo=0;bo<ro;bo++)Io[bo]=arguments[bo];return Hi(Or,at.getSystem()).apply(void 0,(0,s.default)(Ki=[Sn().getIn(Zt)]).call(Ki,Io))};if(!(0,jn.LQ)(ki))throw new TypeError("wrapSelector needs to return a function that returns a new function (ie the wrapped action)");return ki},Vn||Function.prototype)):Vn}):mt})}},{key:"getStates",value:function(Sn){var Tt;return(0,He.default)(Tt=(0,g.default)(this.system.statePlugins)).call(Tt,function(at,dt){return at[dt]=Sn.get(dt),at},{})}},{key:"getStateThunks",value:function(Sn){var Tt;return(0,He.default)(Tt=(0,g.default)(this.system.statePlugins)).call(Tt,function(at,dt){return at[dt]=function(){return Sn().get(dt)},at},{})}},{key:"getFn",value:function(){return{fn:this.system.fn}}},{key:"getComponents",value:function(Sn){var Tt=this,at=this.system.components[Sn];return(0,we.default)(at)?(0,He.default)(at).call(at,function(dt,mt){return mt(dt,Tt.getSystem())}):void 0!==Sn?this.system.components[Sn]:this.system.components}},{key:"getBoundSelectors",value:function(Sn,Tt){return(0,jn.Ay)(this.getSelectors(),function(at,dt){var mt=[(0,Ge.default)(dt).call(dt,0,-9)],jt=function(){return Sn().getIn(mt)};return(0,jn.Ay)(at,function(Zt){return function(){for(var vn,Vn=arguments.length,gr=new Array(Vn),ur=0;ur<Vn;ur++)gr[ur]=arguments[ur];var Or=pr(Zt).apply(null,(0,s.default)(vn=[jt()]).call(vn,gr));return"function"==typeof Or&&(Or=pr(Or)(Tt())),Or}})})}},{key:"getBoundActions",value:function(Sn){Sn=Sn||this.getStore().dispatch;var Tt=this.getActions(),at=function dt(mt){return"function"!=typeof mt?(0,jn.Ay)(mt,function(jt){return dt(jt)}):function(){var jt=null;try{jt=mt.apply(void 0,arguments)}catch(Zt){jt={type:ln.NEW_THROWN_ERR,error:!0,payload:(0,dn.serializeError)(Zt)}}finally{return jt}}};return(0,jn.Ay)(Tt,function(dt){return(0,It.bindActionCreators)(at(dt),Sn)})}},{key:"getMapStateToProps",value:function(){var Sn=this;return function(){return(0,Se.default)({},Sn.getSystem())}}},{key:"getMapDispatchToProps",value:function(Sn){var Tt=this;return function(at){return Y()({},Tt.getWrappedAndBoundActions(at),Tt.getFn(),Sn)}}}]),Yn}();function di(Yn,Sn,Tt){if((0,jn.Kn)(Yn)&&!(0,jn.kJ)(Yn))return(0,Un.default)({},Yn);if((0,jn.Wl)(Yn))return di(Yn(Sn),Sn,Tt);if((0,jn.kJ)(Yn)){var at,dt="chain"===Tt.pluginLoadType?Sn.getComponents():{};return(0,He.default)(at=(0,Pe.default)(Yn).call(Yn,function(mt){return di(mt,Sn,Tt)})).call(at,Gn,dt)}return{}}function Mi(Yn,Sn){var Tt=this,mt=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).hasLoaded;return(0,jn.Kn)(Yn)&&!(0,jn.kJ)(Yn)&&"function"==typeof Yn.afterLoad&&(mt=!0,pr(Yn.afterLoad).call(this,Sn)),(0,jn.Wl)(Yn)?Mi.call(this,Yn(Sn),Sn,{hasLoaded:mt}):(0,jn.kJ)(Yn)?(0,Pe.default)(Yn).call(Yn,function(jt){return Mi.call(Tt,jt,Sn,{hasLoaded:mt})}):mt}function Gn(){var Yn=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Sn=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,jn.Kn)(Yn))return{};if(!(0,jn.Kn)(Sn))return Yn;Sn.wrapComponents&&((0,jn.Ay)(Sn.wrapComponents,function(Hi,ki){var Ki=Yn.components&&Yn.components[ki];Ki&&(0,we.default)(Ki)?(Yn.components[ki]=(0,s.default)(Ki).call(Ki,[Hi]),delete Sn.wrapComponents[ki]):Ki&&(Yn.components[ki]=[Ki,Hi],delete Sn.wrapComponents[ki])}),(0,g.default)(Sn.wrapComponents).length||delete Sn.wrapComponents);var Tt=Yn.statePlugins;if((0,jn.Kn)(Tt))for(var at in Tt){var dt=Tt[at];if((0,jn.Kn)(dt)){var mt=dt.wrapActions,jt=dt.wrapSelectors;if((0,jn.Kn)(mt))for(var Zt in mt){var vn,Vn=mt[Zt];(0,we.default)(Vn)||(mt[Zt]=Vn=[Vn]),Sn&&Sn.statePlugins&&Sn.statePlugins[at]&&Sn.statePlugins[at].wrapActions&&Sn.statePlugins[at].wrapActions[Zt]&&(Sn.statePlugins[at].wrapActions[Zt]=(0,s.default)(vn=mt[Zt]).call(vn,Sn.statePlugins[at].wrapActions[Zt]))}if((0,jn.Kn)(jt))for(var gr in jt){var ur,Or=jt[gr];(0,we.default)(Or)||(jt[gr]=Or=[Or]),Sn&&Sn.statePlugins&&Sn.statePlugins[at]&&Sn.statePlugins[at].wrapSelectors&&Sn.statePlugins[at].wrapSelectors[gr]&&(Sn.statePlugins[at].wrapSelectors[gr]=(0,s.default)(ur=jt[gr]).call(ur,Sn.statePlugins[at].wrapSelectors[gr]))}}}return Y()(Yn,Sn)}function pr(Yn){var Tt=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).logErrors,at=void 0===Tt||Tt;return"function"!=typeof Yn?Yn:function(){try{for(var dt,mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return Yn.call.apply(Yn,(0,s.default)(dt=[this]).call(dt,jt))}catch(vn){return at&&console.error(vn),null}}}var Mr=is(7793),Jn=is(6821),ci=is(7038),ho=is(3420),Yi=is(8883),lo=is(6575),yi=is(9150),qn=is(2990),In=is(3705),Ti=is(8525),Ji=is(8011),To=is(1661),fs=is(4980),Xo=is(9978),Sa=is(8560),Aa=is(8102),to=is(6340),No=is(9972),Uo=is(5416),rt=is(8818),Ft=(is(5053),is(9569),is(5013)),Nt=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at,dt){var mt;(0,le.default)(this,Tt),mt=Sn.call(this,at,dt),(0,K.default)((0,to.default)(mt),"toggleShown",function(){var Zt=mt.props,vn=Zt.layoutActions,Vn=Zt.tag,gr=Zt.operationId,ur=Zt.isShown,Or=mt.getResolvedSubtree();ur||void 0!==Or||mt.requestResolvedSubtree(),vn.show(["operations",Vn,gr],!ur)}),(0,K.default)((0,to.default)(mt),"onCancelClick",function(){mt.setState({tryItOutEnabled:!mt.state.tryItOutEnabled})}),(0,K.default)((0,to.default)(mt),"onTryoutClick",function(){mt.setState({tryItOutEnabled:!mt.state.tryItOutEnabled})}),(0,K.default)((0,to.default)(mt),"onExecute",function(){mt.setState({executeInProgress:!0})}),(0,K.default)((0,to.default)(mt),"getResolvedSubtree",function(){var Zt=mt.props,Vn=Zt.path,gr=Zt.method,ur=Zt.specPath;return Zt.specSelectors.specResolvedSubtree(ur?ur.toJS():["paths",Vn,gr])}),(0,K.default)((0,to.default)(mt),"requestResolvedSubtree",function(){var Zt=mt.props,Vn=Zt.path,gr=Zt.method,ur=Zt.specPath;return Zt.specActions.requestResolvedSubtree(ur?ur.toJS():["paths",Vn,gr])});var jt=at.getConfigs().tryItOutEnabled;return mt.state={tryItOutEnabled:!0===jt||"true"===jt,executeInProgress:!1},mt}return(0,fe.default)(Tt,[{key:"mapStateToProps",value:function(at,dt){var mt,jt=dt.op,Zt=dt.layoutSelectors,vn=(0,dt.getConfigs)(),Vn=vn.docExpansion,gr=vn.deepLinking,ur=vn.displayOperationId,Or=vn.displayRequestDuration,Hi=vn.supportedSubmitMethods,ki=Zt.showSummary(),Ki=jt.getIn(["operation","__originalOperationId"])||jt.getIn(["operation","operationId"])||(0,Ft.opId)(jt.get("operation"),dt.path,dt.method)||jt.get("id"),ro=["operations",dt.tag,Ki],Io=gr&&"false"!==gr,bo=(0,rt.default)(Hi).call(Hi,dt.method)>=0&&(void 0===dt.allowTryItOut?dt.specSelectors.allowTryItOutFor(dt.path,dt.method):dt.allowTryItOut),Ao=jt.getIn(["operation","security"])||dt.specSelectors.security();return{operationId:Ki,isDeepLinkingEnabled:Io,showSummary:ki,displayOperationId:ur,displayRequestDuration:Or,allowTryItOut:bo,security:Ao,isAuthorized:dt.authSelectors.isAuthorized(Ao),isShown:Zt.isShown(ro,"full"===Vn),jumpToKey:(0,s.default)(mt="paths.".concat(dt.path,".")).call(mt,dt.method),response:dt.specSelectors.responseFor(dt.path,dt.method),request:dt.specSelectors.requestFor(dt.path,dt.method)}}},{key:"componentDidMount",value:function(){var at=this.props.isShown,dt=this.getResolvedSubtree();at&&void 0===dt&&this.requestResolvedSubtree()}},{key:"UNSAFE_componentWillReceiveProps",value:function(at){var dt=at.response,mt=at.isShown,jt=this.getResolvedSubtree();dt!==this.props.response&&this.setState({executeInProgress:!1}),mt&&void 0===jt&&this.requestResolvedSubtree()}},{key:"render",value:function(){var at=this.props,dt=at.op,mt=at.tag,jt=at.path,Zt=at.method,vn=at.security,Vn=at.isAuthorized,gr=at.operationId,ur=at.showSummary,Or=at.isShown,Hi=at.jumpToKey,ki=at.allowTryItOut,Ki=at.response,ro=at.request,Io=at.displayOperationId,bo=at.displayRequestDuration,Ao=at.isDeepLinkingEnabled,ea=at.specPath,_a=at.specSelectors,Fa=at.specActions,aa=at.getComponent,la=at.getConfigs,ha=at.layoutSelectors,na=at.layoutActions,Tl=at.authActions,Ta=at.authSelectors,sl=at.oas3Actions,Ps=at.oas3Selectors,La=at.fn,Jl=aa("operation"),Id=this.getResolvedSubtree()||(0,Pt.Map)(),Mf=(0,Pt.fromJS)({op:Id,tag:mt,path:jt,summary:dt.getIn(["operation","summary"])||"",deprecated:Id.get("deprecated")||dt.getIn(["operation","deprecated"])||!1,method:Zt,security:vn,isAuthorized:Vn,operationId:gr,originalOperationId:Id.getIn(["operation","__originalOperationId"]),showSummary:ur,isShown:Or,jumpToKey:Hi,allowTryItOut:ki,request:ro,displayOperationId:Io,displayRequestDuration:bo,isDeepLinkingEnabled:Ao,executeInProgress:this.state.executeInProgress,tryItOutEnabled:this.state.tryItOutEnabled});return W.default.createElement(Jl,{operation:Mf,response:Ki,request:ro,isShown:Or,toggleShown:this.toggleShown,onTryoutClick:this.onTryoutClick,onCancelClick:this.onCancelClick,onExecute:this.onExecute,specPath:ea,specActions:Fa,specSelectors:_a,oas3Actions:sl,oas3Selectors:Ps,layoutActions:na,layoutSelectors:ha,authActions:Tl,authSelectors:Ta,getComponent:aa,getConfigs:la,fn:La})}}]),Tt}(W.PureComponent);(0,K.default)(Nt,"defaultProps",{showSummary:!0,response:null,allowTryItOut:!0,displayOperationId:!1,displayRequestDuration:!1});var mr=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"getLayout",value:function(){var at=this.props,dt=at.getComponent,mt=at.layoutSelectors.current();return dt(mt,!0)||function(){return W.default.createElement("h1",null,' No layout defined for "',mt,'" ')}}},{key:"render",value:function(){var at=this.getLayout();return W.default.createElement(at,null)}}]),Tt}(W.default.Component);mr.defaultProps={};var Zr=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"close",function(){dt.props.authActions.showDefinitions(!1)}),dt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt=this.props,mt=dt.authSelectors,jt=dt.authActions,Zt=dt.getComponent,vn=dt.errSelectors,Vn=dt.specSelectors,gr=dt.fn.AST,ur=void 0===gr?{}:gr,Or=mt.shownDefinitions(),Hi=Zt("auths");return W.default.createElement("div",{className:"dialog-ux"},W.default.createElement("div",{className:"backdrop-ux"}),W.default.createElement("div",{className:"modal-ux"},W.default.createElement("div",{className:"modal-dialog-ux"},W.default.createElement("div",{className:"modal-ux-inner"},W.default.createElement("div",{className:"modal-ux-header"},W.default.createElement("h3",null,"Available authorizations"),W.default.createElement("button",{type:"button",className:"close-modal",onClick:this.close},W.default.createElement("svg",{width:"20",height:"20"},W.default.createElement("use",{href:"#close",xlinkHref:"#close"})))),W.default.createElement("div",{className:"modal-ux-content"},(0,Pe.default)(at=Or.valueSeq()).call(at,function(ki,Ki){return W.default.createElement(Hi,{key:Ki,AST:ur,definitions:ki,getComponent:Zt,errSelectors:vn,authSelectors:mt,authActions:jt,specSelectors:Vn})}))))))}}]),Tt}(W.default.Component),ui=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.isAuthorized,mt=at.showPopup,jt=at.onClick,Zt=(0,at.getComponent)("authorizationPopup",!0);return W.default.createElement("div",{className:"auth-wrapper"},W.default.createElement("button",{className:dt?"btn authorize locked":"btn authorize unlocked",onClick:jt},W.default.createElement("span",null,"Authorize"),W.default.createElement("svg",{width:"20",height:"20"},W.default.createElement("use",{href:dt?"#locked":"#unlocked",xlinkHref:dt?"#locked":"#unlocked"}))),mt&&W.default.createElement(Zt,null))}}]),Tt}(W.default.Component),no=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.authActions,mt=at.authSelectors,Zt=at.getComponent,vn=at.specSelectors.securityDefinitions(),Vn=mt.definitionsToAuthorize(),gr=Zt("authorizeBtn");return vn?W.default.createElement(gr,{onClick:function(){return dt.showDefinitions(Vn)},isAuthorized:!!mt.authorized().size,showPopup:!!mt.shownDefinitions(),getComponent:Zt}):null}}]),Tt}(W.default.Component),Ca=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"onClick",function(vn){vn.stopPropagation();var Vn=dt.props.onClick;Vn&&Vn()}),dt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props.isAuthorized;return W.default.createElement("button",{className:at?"authorization__btn locked":"authorization__btn unlocked","aria-label":at?"authorization button locked":"authorization button unlocked",onClick:this.onClick},W.default.createElement("svg",{width:"20",height:"20"},W.default.createElement("use",{href:at?"#locked":"#unlocked",xlinkHref:at?"#locked":"#unlocked"})))}}]),Tt}(W.default.Component),vs=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at,dt){var mt;return(0,le.default)(this,Tt),mt=Sn.call(this,at,dt),(0,K.default)((0,to.default)(mt),"onAuthChange",function(jt){mt.setState((0,K.default)({},jt.name,jt))}),(0,K.default)((0,to.default)(mt),"submitAuth",function(jt){jt.preventDefault(),mt.props.authActions.authorizeWithPersistOption(mt.state)}),(0,K.default)((0,to.default)(mt),"logoutClick",function(jt){jt.preventDefault();var Zt=mt.props,vn=Zt.authActions,Vn=Zt.definitions,gr=(0,Pe.default)(Vn).call(Vn,function(ur,Or){return Or}).toArray();mt.setState((0,He.default)(gr).call(gr,function(ur,Or){return ur[Or]="",ur},{})),vn.logoutWithPersistOption(gr)}),(0,K.default)((0,to.default)(mt),"close",function(jt){jt.preventDefault(),mt.props.authActions.showDefinitions(!1)}),mt.state={},mt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt=this,mt=this.props,jt=mt.definitions,Zt=mt.getComponent,vn=mt.authSelectors,Vn=mt.errSelectors,gr=Zt("AuthItem"),ur=Zt("oauth2",!0),Or=Zt("Button"),Hi=vn.authorized(),ki=(0,_.default)(jt).call(jt,function(Io,bo){return!!Hi.get(bo)}),Ki=(0,_.default)(jt).call(jt,function(Io){return"oauth2"!==Io.get("type")}),ro=(0,_.default)(jt).call(jt,function(Io){return"oauth2"===Io.get("type")});return W.default.createElement("div",{className:"auth-container"},!!Ki.size&&W.default.createElement("form",{onSubmit:this.submitAuth},(0,Pe.default)(Ki).call(Ki,function(Io,bo){return W.default.createElement(gr,{key:bo,schema:Io,name:bo,getComponent:Zt,onAuthChange:dt.onAuthChange,authorized:Hi,errSelectors:Vn})}).toArray(),W.default.createElement("div",{className:"auth-btn-wrapper"},Ki.size===ki.size?W.default.createElement(Or,{className:"btn modal-btn auth",onClick:this.logoutClick},"Logout"):W.default.createElement(Or,{type:"submit",className:"btn modal-btn auth authorize"},"Authorize"),W.default.createElement(Or,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),ro&&ro.size?W.default.createElement("div",null,W.default.createElement("div",{className:"scope-def"},W.default.createElement("p",null,"Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes."),W.default.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),(0,Pe.default)(at=(0,_.default)(jt).call(jt,function(Io){return"oauth2"===Io.get("type")})).call(at,function(Io,bo){return W.default.createElement("div",{key:bo},W.default.createElement(ur,{authorized:Hi,schema:Io,name:bo}))}).toArray()):null)}}]),Tt}(W.default.Component),Hl=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt=this.props,mt=dt.schema,jt=dt.name,Zt=dt.getComponent,vn=dt.onAuthChange,Vn=dt.authorized,gr=dt.errSelectors,ur=Zt("apiKeyAuth"),Or=Zt("basicAuth"),Hi=mt.get("type");switch(Hi){case"apiKey":at=W.default.createElement(ur,{key:jt,schema:mt,name:jt,errSelectors:gr,authorized:Vn,getComponent:Zt,onChange:vn});break;case"basic":at=W.default.createElement(Or,{key:jt,schema:mt,name:jt,errSelectors:gr,authorized:Vn,getComponent:Zt,onChange:vn});break;default:at=W.default.createElement("div",{key:jt},"Unknown security definition type ",Hi)}return W.default.createElement("div",{key:"".concat(jt,"-jump")},at)}}]),Tt}(W.default.Component),Wl=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props.error,dt=at.get("level"),mt=at.get("message"),jt=at.get("source");return W.default.createElement("div",{className:"errors"},W.default.createElement("b",null,jt," ",dt),W.default.createElement("span",null,mt))}}]),Tt}(W.default.Component),$c=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at,dt){var mt;(0,le.default)(this,Tt),mt=Sn.call(this,at,dt),(0,K.default)((0,to.default)(mt),"onChange",function(gr){var ur=mt.props.onChange,Hi=(0,Se.default)({},mt.state,{value:gr.target.value});mt.setState(Hi),ur(Hi)});var jt=mt.props,Zt=jt.name,vn=jt.schema,Vn=mt.getValue();return mt.state={name:Zt,schema:vn,value:Vn},mt}return(0,fe.default)(Tt,[{key:"getValue",value:function(){var at=this.props,mt=at.authorized;return mt&&mt.getIn([at.name,"value"])}},{key:"render",value:function(){var at,dt,mt=this.props,jt=mt.schema,Zt=mt.getComponent,vn=mt.errSelectors,Vn=mt.name,gr=Zt("Input"),ur=Zt("Row"),Or=Zt("Col"),Hi=Zt("authError"),ki=Zt("Markdown",!0),Ki=Zt("JumpToPath",!0),ro=this.getValue(),Io=(0,_.default)(at=vn.allErrors()).call(at,function(bo){return bo.get("authId")===Vn});return W.default.createElement("div",null,W.default.createElement("h4",null,W.default.createElement("code",null,Vn||jt.get("name")),"\xa0(apiKey)",W.default.createElement(Ki,{path:["securityDefinitions",Vn]})),ro&&W.default.createElement("h6",null,"Authorized"),W.default.createElement(ur,null,W.default.createElement(ki,{source:jt.get("description")})),W.default.createElement(ur,null,W.default.createElement("p",null,"Name: ",W.default.createElement("code",null,jt.get("name")))),W.default.createElement(ur,null,W.default.createElement("p",null,"In: ",W.default.createElement("code",null,jt.get("in")))),W.default.createElement(ur,null,W.default.createElement("label",null,"Value:"),ro?W.default.createElement("code",null," ****** "):W.default.createElement(Or,null,W.default.createElement(gr,{type:"text",onChange:this.onChange,autoFocus:!0}))),(0,Pe.default)(dt=Io.valueSeq()).call(dt,function(bo,Ao){return W.default.createElement(Hi,{error:bo,key:Ao})}))}}]),Tt}(W.default.Component),Nu=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at,dt){var mt;(0,le.default)(this,Tt),mt=Sn.call(this,at,dt),(0,K.default)((0,to.default)(mt),"onChange",function(gr){var ur=mt.props.onChange,Or=gr.target,Ki=mt.state.value;Ki[Or.name]=Or.value,mt.setState({value:Ki}),ur(mt.state)});var jt=mt.props,Zt=jt.schema,vn=jt.name,Vn=mt.getValue().username;return mt.state={name:vn,schema:Zt,value:Vn?{username:Vn}:{}},mt}return(0,fe.default)(Tt,[{key:"getValue",value:function(){var at=this.props,dt=at.authorized;return dt&&dt.getIn([at.name,"value"])||{}}},{key:"render",value:function(){var at,dt,mt=this.props,jt=mt.schema,Zt=mt.getComponent,vn=mt.name,Vn=mt.errSelectors,gr=Zt("Input"),ur=Zt("Row"),Or=Zt("Col"),Hi=Zt("authError"),ki=Zt("JumpToPath",!0),Ki=Zt("Markdown",!0),ro=this.getValue().username,Io=(0,_.default)(at=Vn.allErrors()).call(at,function(bo){return bo.get("authId")===vn});return W.default.createElement("div",null,W.default.createElement("h4",null,"Basic authorization",W.default.createElement(ki,{path:["securityDefinitions",vn]})),ro&&W.default.createElement("h6",null,"Authorized"),W.default.createElement(ur,null,W.default.createElement(Ki,{source:jt.get("description")})),W.default.createElement(ur,null,W.default.createElement("label",null,"Username:"),ro?W.default.createElement("code",null," ",ro," "):W.default.createElement(Or,null,W.default.createElement(gr,{type:"text",required:"required",name:"username",onChange:this.onChange,autoFocus:!0}))),W.default.createElement(ur,null,W.default.createElement("label",null,"Password:"),ro?W.default.createElement("code",null," ****** "):W.default.createElement(Or,null,W.default.createElement(gr,{autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),(0,Pe.default)(dt=Io.valueSeq()).call(dt,function(bo,Ao){return W.default.createElement(Hi,{error:bo,key:Ao})}))}}]),Tt}(W.default.Component);function op(Yn){var Sn=Yn.example,Tt=Yn.showValue,at=Yn.getComponent,dt=Yn.getConfigs,mt=at("Markdown",!0),jt=at("highlightCode");return Sn?W.default.createElement("div",{className:"example"},Sn.get("description")?W.default.createElement("section",{className:"example__section"},W.default.createElement("div",{className:"example__section-header"},"Example Description"),W.default.createElement("p",null,W.default.createElement(mt,{source:Sn.get("description")}))):null,Tt&&Sn.has("value")?W.default.createElement("section",{className:"example__section"},W.default.createElement("div",{className:"example__section-header"},"Example Value"),W.default.createElement(jt,{getConfigs:dt,value:(0,jn.Pz)(Sn.get("value"))})):null):null}var hc=is(6914),yd=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"_onSelect",function(vn){var gr=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isSyntheticChange;"function"==typeof dt.props.onSelect&&dt.props.onSelect(vn,{isSyntheticChange:void 0!==gr&&gr})}),(0,K.default)((0,to.default)(dt),"_onDomSelect",function(vn){if("function"==typeof dt.props.onSelect){var Vn=vn.target.selectedOptions[0].getAttribute("value");dt._onSelect(Vn,{isSyntheticChange:!1})}}),(0,K.default)((0,to.default)(dt),"getCurrentExample",function(){var vn=dt.props,Vn=vn.examples,ur=Vn.get(vn.currentExampleKey),Or=Vn.keySeq().first(),Hi=Vn.get(Or);return ur||Hi||(0,hc.default)({})}),dt}return(0,fe.default)(Tt,[{key:"componentDidMount",value:function(){var at=this.props,mt=at.examples;if("function"==typeof at.onSelect){var jt=mt.first(),Zt=mt.keyOf(jt);this._onSelect(Zt,{isSyntheticChange:!0})}}},{key:"UNSAFE_componentWillReceiveProps",value:function(at){var mt=at.examples;if(mt!==this.props.examples&&!mt.has(at.currentExampleKey)){var jt=mt.first(),Zt=mt.keyOf(jt);this._onSelect(Zt,{isSyntheticChange:!0})}}},{key:"render",value:function(){var at=this.props,dt=at.examples,mt=at.currentExampleKey,jt=at.isValueModified,Zt=at.isModifiedValueAvailable;return W.default.createElement("div",{className:"examples-select"},at.showLabels?W.default.createElement("span",{className:"examples-select__section-label"},"Examples: "):null,W.default.createElement("select",{className:"examples-select-element",onChange:this._onDomSelect,value:Zt&&jt?"__MODIFIED__VALUE__":mt||""},Zt?W.default.createElement("option",{value:"__MODIFIED__VALUE__"},"[Modified value]"):null,(0,Pe.default)(dt).call(dt,function(Vn,gr){return W.default.createElement("option",{key:gr,value:gr},Vn.get("summary")||gr)}).valueSeq()))}}]),Tt}(W.default.PureComponent);(0,K.default)(yd,"defaultProps",{examples:Pt.default.Map({}),onSelect:function(){for(var Yn,Sn,Tt=arguments.length,at=new Array(Tt),dt=0;dt<Tt;dt++)at[dt]=arguments[dt];return(Yn=console).log.apply(Yn,(0,s.default)(Sn=["DEBUG: ExamplesSelect was not given an onSelect callback"]).call(Sn,at))},currentExampleKey:null,showLabels:!0});var Gp=function(Yn){return Pt.List.isList(Yn)?Yn:(0,jn.Pz)(Yn)},ah=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at){var dt;(0,le.default)(this,Tt),dt=Sn.call(this,at),(0,K.default)((0,to.default)(dt),"_getStateForCurrentNamespace",function(){return(dt.state[dt.props.currentNamespace]||(0,Pt.Map)()).toObject()}),(0,K.default)((0,to.default)(dt),"_setStateForCurrentNamespace",function(jt){return dt._setStateForNamespace(dt.props.currentNamespace,jt)}),(0,K.default)((0,to.default)(dt),"_setStateForNamespace",function(jt,Zt){var vn=(dt.state[jt]||(0,Pt.Map)()).mergeDeep(Zt);return dt.setState((0,K.default)({},jt,vn))}),(0,K.default)((0,to.default)(dt),"_isCurrentUserInputSameAsExampleValue",function(){var jt=dt.props.currentUserInputValue;return dt._getCurrentExampleValue()===jt}),(0,K.default)((0,to.default)(dt),"_getValueForExample",function(jt,Zt){return Gp(((Zt||dt.props).examples||(0,Pt.Map)({})).getIn([jt,"value"]))}),(0,K.default)((0,to.default)(dt),"_getCurrentExampleValue",function(jt){return dt._getValueForExample((jt||dt.props).currentKey,jt||dt.props)}),(0,K.default)((0,to.default)(dt),"_onExamplesSelect",function(jt){var vn=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isSyntheticChange,Vn=dt.props,gr=Vn.onSelect,ur=Vn.updateValue,Or=Vn.currentUserInputValue,Hi=Vn.userHasEditedBody,Ki=dt._getStateForCurrentNamespace().lastUserEditedValue,ro=dt._getValueForExample(jt);if("__MODIFIED__VALUE__"===jt)return ur(Gp(Ki)),dt._setStateForCurrentNamespace({isModifiedValueSelected:!0});if("function"==typeof gr){for(var Io,bo=arguments.length,Ao=new Array(bo>2?bo-2:0),ea=2;ea<bo;ea++)Ao[ea-2]=arguments[ea];gr.apply(void 0,(0,s.default)(Io=[jt,{isSyntheticChange:vn}]).call(Io,Ao))}dt._setStateForCurrentNamespace({lastDownstreamValue:ro,isModifiedValueSelected:vn&&Hi||!!Or&&Or!==ro}),vn||"function"==typeof ur&&ur(Gp(ro))});var mt=dt._getCurrentExampleValue();return dt.state=(0,K.default)({},at.currentNamespace,(0,Pt.Map)({lastUserEditedValue:dt.props.currentUserInputValue,lastDownstreamValue:mt,isModifiedValueSelected:dt.props.userHasEditedBody||dt.props.currentUserInputValue!==mt})),dt}return(0,fe.default)(Tt,[{key:"componentWillUnmount",value:function(){this.props.setRetainRequestBodyValueFlag(!1)}},{key:"UNSAFE_componentWillReceiveProps",value:function(at){var dt=at.currentUserInputValue,mt=at.examples,jt=at.onSelect,Zt=at.userHasEditedBody,vn=this._getStateForCurrentNamespace(),Vn=vn.lastUserEditedValue,gr=vn.lastDownstreamValue,ur=this._getValueForExample(at.currentKey,at),Or=(0,_.default)(mt).call(mt,function(Hi){return Hi.get("value")===dt||(0,jn.Pz)(Hi.get("value"))===dt});Or.size?jt(Or.has(at.currentKey)?at.currentKey:Or.keySeq().first(),{isSyntheticChange:!0}):dt!==this.props.currentUserInputValue&&dt!==Vn&&dt!==gr&&(this.props.setRetainRequestBodyValueFlag(!0),this._setStateForNamespace(at.currentNamespace,{lastUserEditedValue:at.currentUserInputValue,isModifiedValueSelected:Zt||dt!==ur}))}},{key:"render",value:function(){var at=this.props,dt=at.currentUserInputValue,mt=at.examples,jt=at.currentKey,Zt=at.getComponent,vn=at.userHasEditedBody,Vn=this._getStateForCurrentNamespace(),gr=Vn.lastDownstreamValue,ur=Vn.lastUserEditedValue,Or=Vn.isModifiedValueSelected,Hi=Zt("ExamplesSelect");return W.default.createElement(Hi,{examples:mt,currentExampleKey:jt,onSelect:this._onExamplesSelect,isModifiedValueAvailable:!!ur&&ur!==gr,isValueModified:void 0!==dt&&Or&&dt!==this._getCurrentExampleValue()||vn})}}]),Tt}(W.default.PureComponent);(0,K.default)(ah,"defaultProps",{userHasEditedBody:!1,examples:(0,Pt.Map)({}),currentNamespace:"__DEFAULT__NAMESPACE__",setRetainRequestBodyValueFlag:function(){},onSelect:function(){for(var Yn,Sn,Tt=arguments.length,at=new Array(Tt),dt=0;dt<Tt;dt++)at[dt]=arguments[dt];return(Yn=console).log.apply(Yn,(0,s.default)(Sn=["ExamplesSelectValueRetainer: no `onSelect` function was provided"]).call(Sn,at))},updateValue:function(){for(var Yn,Sn,Tt=arguments.length,at=new Array(Tt),dt=0;dt<Tt;dt++)at[dt]=arguments[dt];return(Yn=console).log.apply(Yn,(0,s.default)(Sn=["ExamplesSelectValueRetainer: no `updateValue` function was provided"]).call(Sn,at))}});var w_=is(8898),lh=is(5487),Hc=is(2372),ud=is(8900),u_=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at,dt){var mt;(0,le.default)(this,Tt),mt=Sn.call(this,at,dt),(0,K.default)((0,to.default)(mt),"close",function(bo){bo.preventDefault(),mt.props.authActions.showDefinitions(!1)}),(0,K.default)((0,to.default)(mt),"authorize",function(){var bo=mt.props,Ao=bo.authActions,ea=bo.errActions,Fa=bo.authSelectors,aa=bo.oas3Selectors,la=(0,bo.getConfigs)(),ha=Fa.getConfigs();ea.clear({authId:name,type:"auth",source:"auth"}),function(na){var Tl=na.auth,Ta=na.authActions,sl=na.errActions,Ps=na.configs,La=na.authConfigs,Jl=void 0===La?{}:La,Id=na.currentServer,Mf=Tl.schema,Of=Tl.scopes,sp=Tl.name,Uc=Tl.clientId,Fd=Mf.get("flow"),$u=[];switch(Fd){case"password":return void Ta.authorizePassword(Tl);case"application":case"clientCredentials":case"client_credentials":return void Ta.authorizeApplication(Tl);case"accessCode":case"authorizationCode":case"authorization_code":$u.push("response_type=code");break;case"implicit":$u.push("response_type=token")}"string"==typeof Uc&&$u.push("client_id="+encodeURIComponent(Uc));var Yp=Ps.oauth2RedirectUrl;if(void 0!==Yp){$u.push("redirect_uri="+encodeURIComponent(Yp));var Pp=[];(0,we.default)(Of)?Pp=Of:Pt.default.List.isList(Of)&&(Pp=Of.toArray()),Pp.length>0&&$u.push("scope="+encodeURIComponent(Pp.join(Jl.scopeSeparator||" ")));var _f=(0,jn.r3)(new Date);if($u.push("state="+encodeURIComponent(_f)),void 0!==Jl.realm&&$u.push("realm="+encodeURIComponent(Jl.realm)),("authorizationCode"===Fd||"authorization_code"===Fd||"accessCode"===Fd)&&Jl.usePkceWithAuthorizationCodeGrant){var Hu=(0,jn.Uj)(),hf=(0,jn.Xb)(Hu);$u.push("code_challenge="+hf),$u.push("code_challenge_method=S256"),Tl.codeVerifier=Hu}var Af=Jl.additionalQueryStringParams;for(var Df in Af){var uh;void 0!==Af[Df]&&$u.push((0,Pe.default)(uh=[Df,Af[Df]]).call(uh,encodeURIComponent).join("="))}var sf=Mf.get("authorizationUrl"),Bf=[Id?(0,ud.default)((0,jn.Nm)(sf),Id,!0).toString():(0,jn.Nm)(sf),$u.join("&")].join(-1===(0,rt.default)(sf).call(sf,"?")?"?":"&");Ta.authPopup(Bf,{auth:Tl,state:_f,redirectUrl:Yp,callback:"implicit"===Fd?Ta.preAuthorizeImplicit:Jl.useBasicAuthenticationWithAccessCodeGrant?Ta.authorizeAccessCodeWithBasicAuthentication:Ta.authorizeAccessCodeWithFormParams,errCb:sl.newAuthErr})}else sl.newAuthErr({authId:sp,source:"validation",level:"error",message:"oauth2RedirectUrl configuration is not passed. Oauth2 authorization cannot be performed."})}({auth:mt.state,currentServer:aa.serverEffectiveValue(aa.selectedServer()),authActions:Ao,errActions:ea,configs:la,authConfigs:ha})}),(0,K.default)((0,to.default)(mt),"onScopeChange",function(bo){var Ao,ea,_a=bo.target,Fa=_a.checked,aa=_a.dataset.value;if(Fa&&-1===(0,rt.default)(Ao=mt.state.scopes).call(Ao,aa)){var la,ha=(0,s.default)(la=mt.state.scopes).call(la,[aa]);mt.setState({scopes:ha})}else if(!Fa&&(0,rt.default)(ea=mt.state.scopes).call(ea,aa)>-1){var na;mt.setState({scopes:(0,_.default)(na=mt.state.scopes).call(na,function(Tl){return Tl!==aa})})}}),(0,K.default)((0,to.default)(mt),"onInputChange",function(bo){var Ao=bo.target,Fa=(0,K.default)({},Ao.dataset.name,Ao.value);mt.setState(Fa)}),(0,K.default)((0,to.default)(mt),"selectScopes",function(bo){var Ao;mt.setState(bo.target.dataset.all?{scopes:(0,w_.default)((0,lh.default)(Ao=mt.props.schema.get("allowedScopes")||mt.props.schema.get("scopes")).call(Ao))}:{scopes:[]})}),(0,K.default)((0,to.default)(mt),"logout",function(bo){bo.preventDefault();var Ao=mt.props,ea=Ao.authActions,Fa=Ao.name;Ao.errActions.clear({authId:Fa,type:"auth",source:"auth"}),ea.logoutWithPersistOption([Fa])});var jt=mt.props,Zt=jt.name,vn=jt.schema,Vn=jt.authorized,gr=jt.authSelectors,ur=Vn&&Vn.get(Zt),Or=gr.getConfigs()||{},Hi=ur&&ur.get("username")||"",ki=ur&&ur.get("clientId")||Or.clientId||"",Ki=ur&&ur.get("clientSecret")||Or.clientSecret||"",ro=ur&&ur.get("passwordType")||"basic",Io=ur&&ur.get("scopes")||Or.scopes||[];return"string"==typeof Io&&(Io=Io.split(Or.scopeSeparator||" ")),mt.state={appName:Or.appName,name:Zt,schema:vn,scopes:Io,clientId:ki,clientSecret:Ki,username:Hi,password:"",passwordType:ro},mt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt,mt=this,jt=this.props,Zt=jt.schema,vn=jt.getComponent,Vn=jt.authSelectors,gr=jt.errSelectors,ur=jt.name,Or=jt.specSelectors,Hi=vn("Input"),ki=vn("Row"),Ki=vn("Col"),ro=vn("Button"),Io=vn("authError"),bo=vn("JumpToPath",!0),Ao=vn("Markdown",!0),ea=vn("InitializedInput"),_a=Or.isOAS3,Fa=_a()?Zt.get("openIdConnectUrl"):null,aa="implicit",la="password",ha=_a()?Fa?"authorization_code":"authorizationCode":"accessCode",na=_a()?Fa?"client_credentials":"clientCredentials":"application",Tl=!!(Vn.getConfigs()||{}).usePkceWithAuthorizationCodeGrant,Ta=Zt.get("flow"),sl=Ta===ha&&Tl?Ta+" with PKCE":Ta,Ps=Zt.get("allowedScopes")||Zt.get("scopes"),La=!!Vn.authorized().get(ur),Jl=(0,_.default)(at=gr.allErrors()).call(at,function(Of){return Of.get("authId")===ur}),Id=!(0,_.default)(Jl).call(Jl,function(Of){return"validation"===Of.get("source")}).size,Mf=Zt.get("description");return W.default.createElement("div",null,W.default.createElement("h4",null,ur," (OAuth2, ",sl,") ",W.default.createElement(bo,{path:["securityDefinitions",ur]})),this.state.appName?W.default.createElement("h5",null,"Application: ",this.state.appName," "):null,Mf&&W.default.createElement(Ao,{source:Zt.get("description")}),La&&W.default.createElement("h6",null,"Authorized"),Fa&&W.default.createElement("p",null,"OpenID Connect URL: ",W.default.createElement("code",null,Fa)),(Ta===aa||Ta===ha)&&W.default.createElement("p",null,"Authorization URL: ",W.default.createElement("code",null,Zt.get("authorizationUrl"))),(Ta===la||Ta===ha||Ta===na)&&W.default.createElement("p",null,"Token URL:",W.default.createElement("code",null," ",Zt.get("tokenUrl"))),W.default.createElement("p",{className:"flow"},"Flow: ",W.default.createElement("code",null,sl)),Ta!==la?null:W.default.createElement(ki,null,W.default.createElement(ki,null,W.default.createElement("label",{htmlFor:"oauth_username"},"username:"),La?W.default.createElement("code",null," ",this.state.username," "):W.default.createElement(Ki,{tablet:10,desktop:10},W.default.createElement("input",{id:"oauth_username",type:"text","data-name":"username",onChange:this.onInputChange,autoFocus:!0}))),W.default.createElement(ki,null,W.default.createElement("label",{htmlFor:"oauth_password"},"password:"),La?W.default.createElement("code",null," ****** "):W.default.createElement(Ki,{tablet:10,desktop:10},W.default.createElement("input",{id:"oauth_password",type:"password","data-name":"password",onChange:this.onInputChange}))),W.default.createElement(ki,null,W.default.createElement("label",{htmlFor:"password_type"},"Client credentials location:"),La?W.default.createElement("code",null," ",this.state.passwordType," "):W.default.createElement(Ki,{tablet:10,desktop:10},W.default.createElement("select",{id:"password_type","data-name":"passwordType",onChange:this.onInputChange},W.default.createElement("option",{value:"basic"},"Authorization header"),W.default.createElement("option",{value:"request-body"},"Request body"))))),(Ta===na||Ta===aa||Ta===ha||Ta===la)&&(!La||La&&this.state.clientId)&&W.default.createElement(ki,null,W.default.createElement("label",{htmlFor:"client_id"},"client_id:"),La?W.default.createElement("code",null," ****** "):W.default.createElement(Ki,{tablet:10,desktop:10},W.default.createElement(ea,{id:"client_id",type:"text",required:Ta===la,initialValue:this.state.clientId,"data-name":"clientId",onChange:this.onInputChange}))),(Ta===na||Ta===ha||Ta===la)&&!Tl&&W.default.createElement(ki,null,W.default.createElement("label",{htmlFor:"client_secret"},"client_secret:"),La?W.default.createElement("code",null," ****** "):W.default.createElement(Ki,{tablet:10,desktop:10},W.default.createElement(ea,{id:"client_secret",initialValue:this.state.clientSecret,type:"password","data-name":"clientSecret",onChange:this.onInputChange}))),!La&&Ps&&Ps.size?W.default.createElement("div",{className:"scopes"},W.default.createElement("h2",null,"Scopes:",W.default.createElement("a",{onClick:this.selectScopes,"data-all":!0},"select all"),W.default.createElement("a",{onClick:this.selectScopes},"select none")),(0,Pe.default)(Ps).call(Ps,function(Of,sp){var Uc,Fd,$u,Yp,Pp;return W.default.createElement(ki,{key:sp},W.default.createElement("div",{className:"checkbox"},W.default.createElement(Hi,{"data-value":sp,id:(0,s.default)(Uc=(0,s.default)(Fd="".concat(sp,"-")).call(Fd,Ta,"-checkbox-")).call(Uc,mt.state.name),disabled:La,checked:(0,Hc.default)($u=mt.state.scopes).call($u,sp),type:"checkbox",onChange:mt.onScopeChange}),W.default.createElement("label",{htmlFor:(0,s.default)(Yp=(0,s.default)(Pp="".concat(sp,"-")).call(Pp,Ta,"-checkbox-")).call(Yp,mt.state.name)},W.default.createElement("span",{className:"item"}),W.default.createElement("div",{className:"text"},W.default.createElement("p",{className:"name"},sp),W.default.createElement("p",{className:"description"},Of)))))}).toArray()):null,(0,Pe.default)(dt=Jl.valueSeq()).call(dt,function(Of,sp){return W.default.createElement(Io,{error:Of,key:sp})}),W.default.createElement("div",{className:"auth-btn-wrapper"},Id&&(La?W.default.createElement(ro,{className:"btn modal-btn auth authorize",onClick:this.logout},"Logout"):W.default.createElement(ro,{className:"btn modal-btn auth authorize",onClick:this.authorize},"Authorize")),W.default.createElement(ro,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close")))}}]),Tt}(W.default.Component),fo=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"onClick",function(){var vn=dt.props,Vn=vn.specActions,gr=vn.path,ur=vn.method;Vn.clearResponse(gr,ur),Vn.clearRequest(gr,ur)}),dt}return(0,fe.default)(Tt,[{key:"render",value:function(){return W.default.createElement("button",{className:"btn btn-clear opblock-control__btn",onClick:this.onClick},"Clear")}}]),Tt}(W.Component),Rr=function(Yn){var Sn=Yn.headers;return W.default.createElement("div",null,W.default.createElement("h5",null,"Response headers"),W.default.createElement("pre",{className:"microlight"},Sn))},Bi=function(Yn){var Sn=Yn.duration;return W.default.createElement("div",null,W.default.createElement("h5",null,"Request duration"),W.default.createElement("pre",{className:"microlight"},Sn," ms"))},Oo=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"shouldComponentUpdate",value:function(at){return this.props.response!==at.response||this.props.path!==at.path||this.props.method!==at.method||this.props.displayRequestDuration!==at.displayRequestDuration}},{key:"render",value:function(){var at,dt=this.props,mt=dt.response,jt=dt.getComponent,Zt=dt.getConfigs,vn=dt.displayRequestDuration,Vn=dt.specSelectors,gr=dt.path,ur=dt.method,Or=Zt(),ki=Or.requestSnippetsEnabled,Ki=Or.showMutatedRequest?Vn.mutatedRequestFor(gr,ur):Vn.requestFor(gr,ur),ro=mt.get("status"),Io=Ki.get("url"),bo=mt.get("headers").toJS(),Ao=mt.get("notDocumented"),ea=mt.get("error"),_a=mt.get("text"),Fa=mt.get("duration"),aa=(0,g.default)(bo),la=bo["content-type"]||bo["Content-Type"],ha=jt("responseBody"),na=(0,Pe.default)(aa).call(aa,function(La){var Jl=(0,we.default)(bo[La])?bo[La].join():bo[La];return W.default.createElement("span",{className:"headerline",key:La}," ",La,": ",Jl," ")}),Tl=0!==na.length,Ta=jt("Markdown",!0),sl=jt("RequestSnippets",!0),Ps=jt("curl");return W.default.createElement("div",null,Ki&&(!0===ki||"true"===ki?W.default.createElement(sl,{request:Ki}):W.default.createElement(Ps,{request:Ki,getConfigs:Zt})),Io&&W.default.createElement("div",null,W.default.createElement("div",{className:"request-url"},W.default.createElement("h4",null,"Request URL"),W.default.createElement("pre",{className:"microlight"},Io))),W.default.createElement("h4",null,"Server response"),W.default.createElement("table",{className:"responses-table live-responses-table"},W.default.createElement("thead",null,W.default.createElement("tr",{className:"responses-header"},W.default.createElement("td",{className:"col_header response-col_status"},"Code"),W.default.createElement("td",{className:"col_header response-col_description"},"Details"))),W.default.createElement("tbody",null,W.default.createElement("tr",{className:"response"},W.default.createElement("td",{className:"response-col_status"},ro,Ao?W.default.createElement("div",{className:"response-undocumented"},W.default.createElement("i",null," Undocumented ")):null),W.default.createElement("td",{className:"response-col_description"},ea?W.default.createElement(Ta,{source:(0,s.default)(at="".concat(""!==mt.get("name")?"".concat(mt.get("name"),": "):"")).call(at,mt.get("message"))}):null,_a?W.default.createElement(ha,{content:_a,contentType:la,url:Io,headers:bo,getConfigs:Zt,getComponent:jt}):null,Tl?W.default.createElement(Rr,{headers:na}):null,vn&&Fa?W.default.createElement(Bi,{duration:Fa}):null)))))}}]),Tt}(W.default.Component),ls=is(5623),Rs=["get","put","post","delete","options","head","patch"],Is=(0,s.default)(Rs).call(Rs,["trace"]),Gs=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"renderOperationTag",function(vn,Vn){var gr=dt.props,ur=gr.specSelectors,Or=gr.getComponent,Hi=gr.oas3Selectors,ki=gr.layoutSelectors,Ki=gr.layoutActions,ro=gr.getConfigs,Io=Or("OperationContainer",!0),bo=Or("OperationTag"),Ao=vn.get("operations");return W.default.createElement(bo,{key:"operation-"+Vn,tagObj:vn,tag:Vn,oas3Selectors:Hi,layoutSelectors:ki,layoutActions:Ki,getConfigs:ro,getComponent:Or,specUrl:ur.url()},W.default.createElement("div",{className:"operation-tag-content"},(0,Pe.default)(Ao).call(Ao,function(ea){var _a,Fa=ea.get("path"),aa=ea.get("method"),la=Pt.default.List(["paths",Fa,aa]),ha=ur.isOAS3()?Is:Rs;return-1===(0,rt.default)(ha).call(ha,aa)?null:W.default.createElement(Io,{key:(0,s.default)(_a="".concat(Fa,"-")).call(_a,aa),specPath:la,op:ea,path:Fa,method:aa,tag:Vn})}).toArray()))}),dt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props.specSelectors.taggedOperations();return 0===at.size?W.default.createElement("h3",null," No operations defined in spec!"):W.default.createElement("div",null,(0,Pe.default)(at).call(at,this.renderOperationTag).toArray(),at.size<1?W.default.createElement("h3",null," No operations defined in spec! "):null)}}]),Tt}(W.default.Component),Qa=is(3769);function Il(Yn){return Yn.match(/^(?:[a-z]+:)?\/\//i)}function oo(Yn,Sn){var at=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).selectedServer,dt=void 0===at?"":at;try{return function Cr(Yn,Sn){var at=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).selectedServer,dt=void 0===at?"":at;if(Yn){if(Il(Yn))return Yn;var mt=function gu(Yn,Sn){return Yn?Il(Yn)?(Tt=Yn).match(/^\/\//i)?(0,s.default)(at="".concat(window.location.protocol)).call(at,Tt):Tt:new Qa.default(Yn,Sn).href:Sn;var Tt,at}(dt,Sn);return Il(mt)?new Qa.default(Yn,mt).href:new Qa.default(Yn,window.location.href).href}}(Yn,Sn,{selectedServer:dt})}catch{return}}var Us=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt=this.props,mt=dt.tagObj,jt=dt.tag,Zt=dt.children,vn=dt.oas3Selectors,Vn=dt.layoutSelectors,gr=dt.layoutActions,Or=dt.getComponent,Hi=dt.specUrl,ki=(0,dt.getConfigs)(),Ki=ki.docExpansion,ro=ki.deepLinking,Io=ro&&"false"!==ro,bo=Or("Collapse"),Ao=Or("Markdown",!0),ea=Or("DeepLink"),_a=Or("Link"),Fa=mt.getIn(["tagDetails","description"],null),aa=mt.getIn(["tagDetails","externalDocs","description"]),la=mt.getIn(["tagDetails","externalDocs","url"]);at=(0,jn.Wl)(vn)&&(0,jn.Wl)(vn.selectedServer)?oo(la,Hi,{selectedServer:vn.selectedServer()}):la;var ha=["operations-tag",jt],na=Vn.isShown(ha,"full"===Ki||"list"===Ki);return W.default.createElement("div",{className:na?"opblock-tag-section is-open":"opblock-tag-section"},W.default.createElement("h3",{onClick:function(){return gr.show(ha,!na)},className:Fa?"opblock-tag":"opblock-tag no-desc",id:(0,Pe.default)(ha).call(ha,function(Tl){return(0,jn.J6)(Tl)}).join("-"),"data-tag":jt,"data-is-open":na},W.default.createElement(ea,{enabled:Io,isShown:na,path:(0,jn.oJ)(jt),text:jt}),Fa?W.default.createElement("small",null,W.default.createElement(Ao,{source:Fa})):W.default.createElement("small",null),aa?W.default.createElement("div",{className:"info__externaldocs"},W.default.createElement("small",null,aa,at?": ":null,at?W.default.createElement(_a,{href:(0,jn.Nm)(at),onClick:function(Tl){return Tl.stopPropagation()},target:"_blank"},at):null)):null,W.default.createElement("button",{"aria-expanded":na,className:"expand-operation",title:na?"Collapse operation":"Expand operation",onClick:function(){return gr.show(ha,!na)}},W.default.createElement("svg",{className:"arrow",width:"20",height:"20","aria-hidden":"true",focusable:"false"},W.default.createElement("use",{href:na?"#large-arrow-up":"#large-arrow-down",xlinkHref:na?"#large-arrow-up":"#large-arrow-down"})))),W.default.createElement(bo,{isOpened:na},Zt))}}]),Tt}(W.default.Component);(0,K.default)(Us,"defaultProps",{tagObj:Pt.default.fromJS({}),tag:""});var po=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.specPath,mt=at.response,jt=at.request,Zt=at.toggleShown,vn=at.onTryoutClick,Vn=at.onCancelClick,gr=at.onExecute,ur=at.fn,Or=at.getComponent,Hi=at.getConfigs,ki=at.specActions,Ki=at.specSelectors,ro=at.authActions,Io=at.authSelectors,bo=at.oas3Actions,Ao=at.oas3Selectors,ea=this.props.operation,_a=ea.toJS(),Fa=_a.deprecated,aa=_a.isShown,la=_a.path,ha=_a.method,na=_a.op,Tl=_a.tag,Ta=_a.operationId,sl=_a.allowTryItOut,Ps=_a.displayRequestDuration,La=_a.tryItOutEnabled,Jl=_a.executeInProgress,Id=na.description,Mf=na.externalDocs,Of=na.schemes,sp=Mf?oo(Mf.url,Ki.url(),{selectedServer:Ao.selectedServer()}):"",Uc=ea.getIn(["op"]),Fd=Uc.get("responses"),$u=(0,jn.gp)(Uc,["parameters"]),Yp=Ki.operationScheme(la,ha),Pp=["operations",Tl,Ta],lm=(0,jn.nX)(Uc),_f=Or("responses"),Hu=Or("parameters"),hf=Or("execute"),Af=Or("clear"),Df=Or("Collapse"),uh=Or("Markdown",!0),rf=Or("schemes"),sf=Or("OperationServers"),Bf=Or("OperationExt"),dh=Or("OperationSummary"),Mg=Or("Link"),jW=Hi().showExtensions;if(Fd&&mt&&mt.size>0){var ZW=!Fd.get(String(mt.get("status")))&&!Fd.get("default");mt=mt.set("notDocumented",ZW)}var zW=[la,ha];return W.default.createElement("div",{className:Fa?"opblock opblock-deprecated":aa?"opblock opblock-".concat(ha," is-open"):"opblock opblock-".concat(ha),id:(0,jn.J6)(Pp.join("-"))},W.default.createElement(dh,{operationProps:ea,isShown:aa,toggleShown:Zt,getComponent:Or,authActions:ro,authSelectors:Io,specPath:dt}),W.default.createElement(Df,{isOpened:aa},W.default.createElement("div",{className:"opblock-body"},Uc&&Uc.size||null===Uc?null:W.default.createElement("img",{height:"32px",width:"32px",src:is(2517),className:"opblock-loading-animation"}),Fa&&W.default.createElement("h4",{className:"opblock-title_normal"}," Warning: Deprecated"),Id&&W.default.createElement("div",{className:"opblock-description-wrapper"},W.default.createElement("div",{className:"opblock-description"},W.default.createElement(uh,{source:Id}))),sp?W.default.createElement("div",{className:"opblock-external-docs-wrapper"},W.default.createElement("h4",{className:"opblock-title_normal"},"Find more details"),W.default.createElement("div",{className:"opblock-external-docs"},W.default.createElement("span",{className:"opblock-external-docs__description"},W.default.createElement(uh,{source:Mf.description})),W.default.createElement(Mg,{target:"_blank",className:"opblock-external-docs__link",href:(0,jn.Nm)(sp)},sp))):null,Uc&&Uc.size?W.default.createElement(Hu,{parameters:$u,specPath:dt.push("parameters"),operation:Uc,onChangeKey:zW,onTryoutClick:vn,onCancelClick:Vn,tryItOutEnabled:La,allowTryItOut:sl,fn:ur,getComponent:Or,specActions:ki,specSelectors:Ki,pathMethod:[la,ha],getConfigs:Hi,oas3Actions:bo,oas3Selectors:Ao}):null,La?W.default.createElement(sf,{getComponent:Or,path:la,method:ha,operationServers:Uc.get("servers"),pathServers:Ki.paths().getIn([la,"servers"]),getSelectedServer:Ao.selectedServer,setSelectedServer:bo.setSelectedServer,setServerVariableValue:bo.setServerVariableValue,getServerVariable:Ao.serverVariableValue,getEffectiveServerValue:Ao.serverEffectiveValue}):null,La&&sl&&Of&&Of.size?W.default.createElement("div",{className:"opblock-schemes"},W.default.createElement(rf,{schemes:Of,path:la,method:ha,specActions:ki,currentScheme:Yp})):null,W.default.createElement("div",{className:La&&mt&&sl?"btn-group":"execute-wrapper"},La&&sl?W.default.createElement(hf,{operation:Uc,specActions:ki,specSelectors:Ki,oas3Selectors:Ao,oas3Actions:bo,path:la,method:ha,onExecute:gr,disabled:Jl}):null,La&&mt&&sl?W.default.createElement(Af,{specActions:ki,path:la,method:ha}):null),Jl?W.default.createElement("div",{className:"loading-container"},W.default.createElement("div",{className:"loading"})):null,Fd?W.default.createElement(_f,{responses:Fd,request:jt,tryItOutResponse:mt,getComponent:Or,getConfigs:Hi,specSelectors:Ki,oas3Actions:bo,oas3Selectors:Ao,specActions:ki,produces:Ki.producesOptionsFor([la,ha]),producesValue:Ki.currentProducesFor([la,ha]),specPath:dt.push("responses"),path:la,method:ha,displayRequestDuration:Ps,fn:ur}):null,jW&&lm.size?W.default.createElement(Bf,{extensions:lm,getComponent:Or}):null)))}}]),Tt}(W.PureComponent);(0,K.default)(po,"defaultProps",{operation:null,response:null,request:null,specPath:(0,Pt.List)(),summary:""});const sa=(Yn=>{var Sn={};return is.d(Sn,Yn),Sn})({default:()=>XZ()});var Fs=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt=this.props,mt=dt.isShown,jt=dt.toggleShown,Zt=dt.getComponent,vn=dt.authActions,Vn=dt.authSelectors,gr=dt.operationProps,ur=dt.specPath,Or=gr.toJS(),Hi=Or.summary,ki=Or.isAuthorized,Ki=Or.method,Io=Or.showSummary,bo=Or.path,Ao=Or.operationId,ea=Or.originalOperationId,_a=Or.displayOperationId,Fa=Or.op.summary,aa=gr.get("security"),la=Zt("authorizeOperationBtn"),ha=Zt("OperationSummaryMethod"),na=Zt("OperationSummaryPath"),Tl=Zt("JumpToPath",!0),Ta=aa&&!!aa.count(),sl=Ta&&1===aa.size&&aa.first().isEmpty(),Ps=!Ta||sl;return W.default.createElement("div",{className:"opblock-summary opblock-summary-".concat(Ki)},W.default.createElement("button",{"aria-label":(0,s.default)(at="".concat(Ki," ")).call(at,bo.replace(/\//g,"\u200b/")),"aria-expanded":mt,className:"opblock-summary-control",onClick:jt},W.default.createElement(ha,{method:Ki}),W.default.createElement(na,{getComponent:Zt,operationProps:gr,specPath:ur}),Io?W.default.createElement("div",{className:"opblock-summary-description"},(0,sa.default)(Fa||Hi)):null,_a&&(ea||Ao)?W.default.createElement("span",{className:"opblock-summary-operation-id"},ea||Ao):null,W.default.createElement("svg",{className:"arrow",width:"20",height:"20","aria-hidden":"true",focusable:"false"},W.default.createElement("use",{href:mt?"#large-arrow-up":"#large-arrow-down",xlinkHref:mt?"#large-arrow-up":"#large-arrow-down"}))),Ps?null:W.default.createElement(la,{isAuthorized:ki,onClick:function(){var La=Vn.definitionsForRequirements(aa);vn.showDefinitions(La)}}),W.default.createElement(Tl,{path:ur}))}}]),Tt}(W.PureComponent);(0,K.default)(Fs,"defaultProps",{operationProps:null,specPath:(0,Pt.List)(),summary:""});var Jc=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){return W.default.createElement("span",{className:"opblock-summary-method"},this.props.method.toUpperCase())}}]),Tt}(W.PureComponent);(0,K.default)(Jc,"defaultProps",{operationProps:null});const ql=(Yn=>{var Sn={};return is.d(Sn,Yn),Sn})({default:()=>ez()});var Yl=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){for(var at,dt=this.props,mt=dt.getComponent,jt=dt.operationProps.toJS(),Zt=jt.deprecated,vn=jt.isShown,Vn=jt.path,gr=jt.tag,ur=jt.operationId,Or=jt.isDeepLinkingEnabled,Hi=Vn.split(/(?=\/)/g),ki=1;ki<Hi.length;ki+=2)(0,ql.default)(Hi).call(Hi,ki,0,W.default.createElement("wbr",{key:ki}));var Ki=mt("DeepLink");return W.default.createElement("span",{className:Zt?"opblock-summary-path__deprecated":"opblock-summary-path","data-path":Vn},W.default.createElement(Ki,{enabled:Or,isShown:vn,path:(0,jn.oJ)((0,s.default)(at="".concat(gr,"/")).call(at,ur)),text:Hi}))}}]),Tt}(W.PureComponent),Cl=is(9334);const ul=function(Yn){var Sn,Tt=Yn.extensions,at=(0,Yn.getComponent)("OperationExtRow");return W.default.createElement("div",{className:"opblock-section"},W.default.createElement("div",{className:"opblock-section-header"},W.default.createElement("h4",null,"Extensions")),W.default.createElement("div",{className:"table-container"},W.default.createElement("table",null,W.default.createElement("thead",null,W.default.createElement("tr",null,W.default.createElement("td",{className:"col_header"},"Field"),W.default.createElement("td",{className:"col_header"},"Value"))),W.default.createElement("tbody",null,(0,Pe.default)(Sn=Tt.entrySeq()).call(Sn,function(dt){var mt,jt=(0,Cl.default)(dt,2),Zt=jt[0],vn=jt[1];return W.default.createElement(at,{key:(0,s.default)(mt="".concat(Zt,"-")).call(mt,vn),xKey:Zt,xVal:vn})})))))},vu=function(Yn){var Sn=Yn.xKey,Tt=Yn.xVal,at=Tt?Tt.toJS?Tt.toJS():Tt:null;return W.default.createElement("tr",null,W.default.createElement("td",null,Sn),W.default.createElement("td",null,(0,M.default)(at)))};var Qc=is(29),pf=is(8096),Dp=is(471),mc=is(9908),bf=is(7068);const ch=(Yn=>{var Sn={};return is.d(Sn,Yn),Sn})({default:()=>nz()});var Rp=is(9874),Lh=function(Yn){var Sn=Yn.value,Tt=Yn.fileName,at=Yn.className,dt=Yn.downloadable,mt=Yn.getConfigs,jt=Yn.canCopy,Zt=Yn.language,vn=(0,bf.default)(mt)?mt():null,Vn=!1!==(0,mc.default)(vn,"syntaxHighlight")&&(0,mc.default)(vn,"syntaxHighlight.activated",!0),gr=(0,W.useRef)(null);(0,W.useEffect)(function(){var Or,Hi=(0,_.default)(Or=(0,w_.default)(gr.current.childNodes)).call(Or,function(ki){return!!ki.nodeType&&ki.classList.contains("microlight")});return(0,Qc.default)(Hi).call(Hi,function(ki){return ki.addEventListener("mousewheel",ur,{passive:!1})}),function(){(0,Qc.default)(Hi).call(Hi,function(ki){return ki.removeEventListener("mousewheel",ur)})}},[Sn,at,Zt]);var ur=function(Or){var Hi=Or.target,ki=Or.deltaY,Ki=Hi.scrollHeight,ro=Hi.offsetHeight,Io=Hi.scrollTop;Ki>ro&&(0===Io&&ki<0||ro+Io>=Ki&&ki>0)&&Or.preventDefault()};return W.default.createElement("div",{className:"highlight-code",ref:gr},dt?W.default.createElement("div",{className:"download-contents",onClick:function(){(0,ch.default)(Sn,Tt)}},"Download"):null,jt&&W.default.createElement("div",{className:"copy-to-clipboard"},W.default.createElement(Rp.CopyToClipboard,{text:Sn},W.default.createElement("button",null))),Vn?W.default.createElement(Dp.d3,{language:Zt,className:(0,pf.default)(at,"microlight"),style:(0,Dp.C2)((0,mc.default)(vn,"syntaxHighlight.theme","agate"))},Sn):W.default.createElement("pre",{className:(0,pf.default)(at,"microlight")},Sn))};Lh.defaultProps={fileName:"response.txt"};const N_=Lh;var Wm=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"onChangeProducesWrapper",function(vn){return dt.props.specActions.changeProducesValue([dt.props.path,dt.props.method],vn)}),(0,K.default)((0,to.default)(dt),"onResponseContentTypeChange",function(vn){var ur=dt.props;vn.controlsAcceptHeader&&ur.oas3Actions.setResponseContentType({value:vn.value,path:ur.path,method:ur.method})}),dt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt,mt=this,jt=this.props,Zt=jt.responses,vn=jt.tryItOutResponse,Vn=jt.getComponent,gr=jt.getConfigs,ur=jt.specSelectors,Or=jt.fn,Hi=jt.producesValue,ki=jt.displayRequestDuration,Ki=jt.specPath,ro=jt.path,Io=jt.method,bo=jt.oas3Selectors,Ao=jt.oas3Actions,ea=(0,jn.iQ)(Zt),_a=Vn("contentType"),Fa=Vn("liveResponse"),aa=Vn("response"),la=this.props.produces&&this.props.produces.size?this.props.produces:Tt.defaultProps.produces,ha=ur.isOAS3()?(0,jn.QG)(Zt):null,na=function(Ta){return Ta.replace(/[^\w-]/g,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_")}((0,s.default)(at="".concat(Io)).call(at,ro,"_responses")),Tl="".concat(na,"_select");return W.default.createElement("div",{className:"responses-wrapper"},W.default.createElement("div",{className:"opblock-section-header"},W.default.createElement("h4",null,"Responses"),ur.isOAS3()?null:W.default.createElement("label",{htmlFor:Tl},W.default.createElement("span",null,"Response content type"),W.default.createElement(_a,{value:Hi,ariaControls:na,ariaLabel:"Response content type",className:"execute-content-type",contentTypes:la,controlId:Tl,onChange:this.onChangeProducesWrapper}))),W.default.createElement("div",{className:"responses-inner"},vn?W.default.createElement("div",null,W.default.createElement(Fa,{response:vn,getComponent:Vn,getConfigs:gr,specSelectors:ur,path:this.props.path,method:this.props.method,displayRequestDuration:ki}),W.default.createElement("h4",null,"Responses")):null,W.default.createElement("table",{"aria-live":"polite",className:"responses-table",id:na,role:"region"},W.default.createElement("thead",null,W.default.createElement("tr",{className:"responses-header"},W.default.createElement("td",{className:"col_header response-col_status"},"Code"),W.default.createElement("td",{className:"col_header response-col_description"},"Description"),ur.isOAS3()?W.default.createElement("td",{className:"col col_header response-col_links"},"Links"):null)),W.default.createElement("tbody",null,(0,Pe.default)(dt=Zt.entrySeq()).call(dt,function(Ta){var sl=(0,Cl.default)(Ta,2),Ps=sl[0],La=sl[1],Jl=vn&&vn.get("status")==Ps?"response_current":"";return W.default.createElement(aa,{key:Ps,path:ro,method:Io,specPath:Ki.push(Ps),isDefault:ea===Ps,fn:Or,className:Jl,code:Ps,response:La,specSelectors:ur,controlsAcceptHeader:La===ha,onContentTypeChange:mt.onResponseContentTypeChange,contentType:Hi,getConfigs:gr,activeExamplesKey:bo.activeExamplesMember(ro,Io,"responses",Ps),oas3Actions:Ao,getComponent:Vn})}).toArray()))))}}]),Tt}(W.default.Component);(0,K.default)(Wm,"defaultProps",{tryItOutResponse:null,produces:(0,Pt.fromJS)(["application/json"]),displayRequestDuration:!1});var yo=is(1013);const Yd=(Yn=>{var Sn={};return is.d(Sn,Yn),Sn})({default:()=>iz()});var Jm=is(2518),bg=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at,dt){var mt;return(0,le.default)(this,Tt),mt=Sn.call(this,at,dt),(0,K.default)((0,to.default)(mt),"_onContentTypeChange",function(jt){var Zt=mt.props,vn=Zt.onContentTypeChange,Vn=Zt.controlsAcceptHeader;mt.setState({responseContentType:jt}),vn({value:jt,controlsAcceptHeader:Vn})}),(0,K.default)((0,to.default)(mt),"getTargetExamplesKey",function(){var jt=mt.props,Vn=jt.activeExamplesKey,ur=jt.response.getIn(["content",mt.state.responseContentType||jt.contentType],(0,Pt.Map)({})).get("examples",null).keySeq().first();return Vn||ur}),mt.state={responseContentType:""},mt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt,mt,jt,Zt,vn=this.props,Vn=vn.path,gr=vn.method,ur=vn.code,Or=vn.response,Hi=vn.className,ki=vn.specPath,ro=vn.getComponent,Io=vn.getConfigs,bo=vn.specSelectors,Ao=vn.contentType,ea=vn.controlsAcceptHeader,_a=vn.oas3Actions,Fa=vn.fn.inferSchema,aa=bo.isOAS3(),la=Io().showExtensions,ha=la?(0,jn.nX)(Or):null,na=Or.get("headers"),Tl=Or.get("links"),Ta=ro("ResponseExtension"),sl=ro("headers"),Ps=ro("highlightCode"),La=ro("modelExample"),Jl=ro("Markdown",!0),Id=ro("operationLink"),Mf=ro("contentType"),Of=ro("ExamplesSelect"),sp=ro("Example"),Uc=this.state.responseContentType||Ao,Fd=Or.getIn(["content",Uc],(0,Pt.Map)({})),$u=Fd.get("examples",null);if(aa){var Yp=Fd.get("schema");mt=Yp?Fa(Yp.toJS()):null,jt=Yp?(0,Pt.List)(["content",this.state.responseContentType,"schema"]):ki}else mt=Or.get("schema"),jt=Or.has("schema")?ki.push("schema"):ki;var Pp,lm=!1,_f={includeReadOnly:!0};if(aa){var Hu;if(Pp=null===(Hu=Fd.get("schema"))||void 0===Hu?void 0:Hu.toJS(),$u){var hf=this.getTargetExamplesKey(),Af=function(rf){return rf.get("value")};void 0===(Zt=Af($u.get(hf,(0,Pt.Map)({}))))&&(Zt=Af((0,Yd.default)($u).call($u).next().value)),lm=!0}else void 0!==Fd.get("example")&&(Zt=Fd.get("example"),lm=!0)}else{Pp=mt,_f=(0,yo.default)((0,yo.default)({},_f),{},{includeWriteOnly:!0});var Df=Or.getIn(["examples",Uc]);Df&&(Zt=Df,lm=!0)}var uh=function(rf,sf,Bf){if(null!=rf){var dh=null;return(0,Jm.O)(rf)&&(dh="json"),W.default.createElement("div",null,W.default.createElement(sf,{className:"example",getConfigs:Bf,language:dh,value:(0,jn.Pz)(rf)}))}return null}((0,jn.xi)(Pp,Uc,_f,lm?Zt:void 0),Ps,Io);return W.default.createElement("tr",{className:"response "+(Hi||""),"data-code":ur},W.default.createElement("td",{className:"response-col_status"},ur),W.default.createElement("td",{className:"response-col_description"},W.default.createElement("div",{className:"response-col_description__inner"},W.default.createElement(Jl,{source:Or.get("description")})),la&&ha.size?(0,Pe.default)(at=ha.entrySeq()).call(at,function(rf){var sf,Bf=(0,Cl.default)(rf,2),dh=Bf[0],Mg=Bf[1];return W.default.createElement(Ta,{key:(0,s.default)(sf="".concat(dh,"-")).call(sf,Mg),xKey:dh,xVal:Mg})}):null,aa&&Or.get("content")?W.default.createElement("section",{className:"response-controls"},W.default.createElement("div",{className:(0,pf.default)("response-control-media-type",{"response-control-media-type--accept-controller":ea})},W.default.createElement("small",{className:"response-control-media-type__title"},"Media type"),W.default.createElement(Mf,{value:this.state.responseContentType,contentTypes:Or.get("content")?Or.get("content").keySeq():(0,Pt.Seq)(),onChange:this._onContentTypeChange,ariaLabel:"Media Type"}),ea?W.default.createElement("small",{className:"response-control-media-type__accept-message"},"Controls ",W.default.createElement("code",null,"Accept")," header."):null),$u?W.default.createElement("div",{className:"response-control-examples"},W.default.createElement("small",{className:"response-control-examples__title"},"Examples"),W.default.createElement(Of,{examples:$u,currentExampleKey:this.getTargetExamplesKey(),onSelect:function(rf){return _a.setActiveExamplesMember({name:rf,pathMethod:[Vn,gr],contextType:"responses",contextName:ur})},showLabels:!1})):null):null,uh||mt?W.default.createElement(La,{specPath:jt,getComponent:ro,getConfigs:Io,specSelectors:bo,schema:(0,jn.oG)(mt),example:uh,includeReadOnly:!0}):null,aa&&$u?W.default.createElement(sp,{example:$u.get(this.getTargetExamplesKey(),(0,Pt.Map)({})),getComponent:ro,getConfigs:Io,omitValue:!0}):null,na?W.default.createElement(sl,{headers:na,getComponent:ro}):null),aa?W.default.createElement("td",{className:"response-col_links"},Tl?(0,Pe.default)(dt=Tl.toSeq().entrySeq()).call(dt,function(rf){var sf=(0,Cl.default)(rf,2),Bf=sf[0];return W.default.createElement(Id,{key:Bf,name:Bf,link:sf[1],getComponent:ro})}):W.default.createElement("i",null,"No links")):null)}}]),Tt}(W.default.Component);(0,K.default)(bg,"defaultProps",{response:(0,Pt.fromJS)({}),onContentTypeChange:function(){}});const Am=function(Yn){return W.default.createElement("div",{className:"response__extension"},Yn.xKey,": ",String(Yn.xVal))},o1=(Yn=>{var Sn={};return is.d(Sn,Yn),Sn})({default:()=>sz()}),d_=(Yn=>{var Sn={};return is.d(Sn,Yn),Sn})({default:()=>lz()});var Yb=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"state",{parsedContent:null}),(0,K.default)((0,to.default)(dt),"updateParsedContent",function(vn){var Vn=dt.props.content;if(vn!==Vn)if(Vn&&Vn instanceof Blob){var gr=new FileReader;gr.onload=function(){dt.setState({parsedContent:gr.result})},gr.readAsText(Vn)}else dt.setState({parsedContent:Vn.toString()})}),dt}return(0,fe.default)(Tt,[{key:"componentDidMount",value:function(){this.updateParsedContent(null)}},{key:"componentDidUpdate",value:function(at){this.updateParsedContent(at.content)}},{key:"render",value:function(){var at,dt,mt=this.props,jt=mt.content,Zt=mt.contentType,vn=mt.url,Vn=mt.headers,gr=void 0===Vn?{}:Vn,ur=mt.getConfigs,Hi=this.state.parsedContent,ki=(0,mt.getComponent)("highlightCode"),Ki="response_"+(new Date).getTime();if(vn=vn||"",/^application\/octet-stream/i.test(Zt)||gr["Content-Disposition"]&&/attachment/i.test(gr["Content-Disposition"])||gr["content-disposition"]&&/attachment/i.test(gr["content-disposition"])||gr["Content-Description"]&&/File Transfer/i.test(gr["Content-Description"])||gr["content-description"]&&/File Transfer/i.test(gr["content-description"]))if("Blob"in window){var ro=Zt||"text/html",Io=jt instanceof Blob?jt:new Blob([jt],{type:ro}),bo=Qa.default.createObjectURL(Io),Ao=[ro,vn.substr((0,l.default)(vn).call(vn,"/")+1),bo].join(":"),ea=gr["content-disposition"]||gr["Content-Disposition"];if(void 0!==ea){var _a=(0,jn.DR)(ea);null!==_a&&(Ao=_a)}dt=W.default.createElement("div",null,W.default.createElement("a",Xn.Z.navigator&&Xn.Z.navigator.msSaveOrOpenBlob?{href:bo,onClick:function(){return Xn.Z.navigator.msSaveOrOpenBlob(Io,Ao)}}:{href:bo,download:Ao},"Download file"))}else dt=W.default.createElement("pre",{className:"microlight"},"Download headers detected but your browser does not support downloading binary via XHR (Blob).");else if(/json/i.test(Zt)){var Fa=null;(0,Jm.O)(jt)&&(Fa="json");try{at=(0,M.default)(JSON.parse(jt),null," ")}catch{at="can't parse JSON. Raw result:\n\n"+jt}dt=W.default.createElement(ki,{language:Fa,downloadable:!0,fileName:"".concat(Ki,".json"),value:at,getConfigs:ur,canCopy:!0})}else/xml/i.test(Zt)?(at=(0,o1.default)(jt,{textNodesOnSameLine:!0,indentor:" "}),dt=W.default.createElement(ki,{downloadable:!0,fileName:"".concat(Ki,".xml"),value:at,getConfigs:ur,canCopy:!0})):dt="text/html"===(0,d_.default)(Zt)||/text\/plain/.test(Zt)?W.default.createElement(ki,{downloadable:!0,fileName:"".concat(Ki,".html"),value:jt,getConfigs:ur,canCopy:!0}):"text/csv"===(0,d_.default)(Zt)||/text\/csv/.test(Zt)?W.default.createElement(ki,{downloadable:!0,fileName:"".concat(Ki,".csv"),value:jt,getConfigs:ur,canCopy:!0}):/^image\//i.test(Zt)?(0,Hc.default)(Zt).call(Zt,"svg")?W.default.createElement("div",null," ",jt," "):W.default.createElement("img",{src:Qa.default.createObjectURL(jt)}):/^audio\//i.test(Zt)?W.default.createElement("pre",{className:"microlight"},W.default.createElement("audio",{controls:!0},W.default.createElement("source",{src:vn,type:Zt}))):"string"==typeof jt?W.default.createElement(ki,{downloadable:!0,fileName:"".concat(Ki,".txt"),value:jt,getConfigs:ur,canCopy:!0}):jt.size>0?Hi?W.default.createElement("div",null,W.default.createElement("p",{className:"i"},"Unrecognized response type; displaying content as text."),W.default.createElement(ki,{downloadable:!0,fileName:"".concat(Ki,".txt"),value:Hi,getConfigs:ur,canCopy:!0})):W.default.createElement("p",{className:"i"},"Unrecognized response type; unable to display."):null;return dt?W.default.createElement("div",null,W.default.createElement("h5",null,"Response body"),dt):null}}]),Tt}(W.default.PureComponent),nf=is(2691),jb=is(374),dS=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at){var dt;return(0,le.default)(this,Tt),dt=Sn.call(this,at),(0,K.default)((0,to.default)(dt),"onChange",function(mt,jt,Zt){var vn=dt.props;(0,vn.specActions.changeParamByIdentity)(vn.onChangeKey,mt,jt,Zt)}),(0,K.default)((0,to.default)(dt),"onChangeConsumesWrapper",function(mt){var jt=dt.props;(0,jt.specActions.changeConsumesValue)(jt.onChangeKey,mt)}),(0,K.default)((0,to.default)(dt),"toggleTab",function(mt){return"parameters"===mt?dt.setState({parametersVisible:!0,callbackVisible:!1}):"callbacks"===mt?dt.setState({callbackVisible:!0,parametersVisible:!1}):void 0}),(0,K.default)((0,to.default)(dt),"onChangeMediaType",function(mt){var jt=mt.value,Zt=mt.pathMethod,vn=dt.props,Vn=vn.specActions,gr=vn.oas3Selectors,ur=vn.oas3Actions,Or=gr.hasUserEditedBody.apply(gr,(0,nf.default)(Zt)),Hi=gr.shouldRetainRequestBodyValue.apply(gr,(0,nf.default)(Zt));ur.setRequestContentType({value:jt,pathMethod:Zt}),ur.initRequestBodyValidateError({pathMethod:Zt}),Or||(Hi||ur.setRequestBodyValue({value:void 0,pathMethod:Zt}),Vn.clearResponse.apply(Vn,(0,nf.default)(Zt)),Vn.clearRequest.apply(Vn,(0,nf.default)(Zt)),Vn.clearValidateParams(Zt))}),dt.state={callbackVisible:!1,parametersVisible:!0},dt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt,mt=this,jt=this.props,Zt=jt.onTryoutClick,vn=jt.parameters,Vn=jt.allowTryItOut,gr=jt.tryItOutEnabled,ur=jt.specPath,Or=jt.fn,Hi=jt.getComponent,ki=jt.getConfigs,Ki=jt.specSelectors,ro=jt.specActions,Io=jt.pathMethod,bo=jt.oas3Actions,Ao=jt.oas3Selectors,ea=jt.operation,_a=Hi("parameterRow"),Fa=Hi("TryItOutButton"),aa=Hi("contentType"),la=Hi("Callbacks",!0),ha=Hi("RequestBody",!0),na=gr&&Vn,Tl=Ki.isOAS3(),Ta=ea.get("requestBody"),sl=(0,He.default)(at=(0,jb.default)((0,He.default)(vn).call(vn,function(Ps,La){var Jl,Id=La.get("in");return null!==(Jl=Ps[Id])&&void 0!==Jl||(Ps[Id]=[]),Ps[Id].push(La),Ps},{}))).call(at,function(Ps,La){return(0,s.default)(Ps).call(Ps,La)},[]);return W.default.createElement("div",{className:"opblock-section"},W.default.createElement("div",{className:"opblock-section-header"},Tl?W.default.createElement("div",{className:"tab-header"},W.default.createElement("div",{onClick:function(){return mt.toggleTab("parameters")},className:"tab-item ".concat(this.state.parametersVisible&&"active")},W.default.createElement("h4",{className:"opblock-title"},W.default.createElement("span",null,"Parameters"))),ea.get("callbacks")?W.default.createElement("div",{onClick:function(){return mt.toggleTab("callbacks")},className:"tab-item ".concat(this.state.callbackVisible&&"active")},W.default.createElement("h4",{className:"opblock-title"},W.default.createElement("span",null,"Callbacks"))):null):W.default.createElement("div",{className:"tab-header"},W.default.createElement("h4",{className:"opblock-title"},"Parameters")),Vn?W.default.createElement(Fa,{isOAS3:Ki.isOAS3(),hasUserEditedBody:Ao.hasUserEditedBody.apply(Ao,(0,nf.default)(Io)),enabled:gr,onCancelClick:this.props.onCancelClick,onTryoutClick:Zt,onResetClick:function(){return bo.setRequestBodyValue({value:void 0,pathMethod:Io})}}):null),this.state.parametersVisible?W.default.createElement("div",{className:"parameters-container"},sl.length?W.default.createElement("div",{className:"table-container"},W.default.createElement("table",{className:"parameters"},W.default.createElement("thead",null,W.default.createElement("tr",null,W.default.createElement("th",{className:"col_header parameters-col_name"},"Name"),W.default.createElement("th",{className:"col_header parameters-col_description"},"Description"))),W.default.createElement("tbody",null,(0,Pe.default)(sl).call(sl,function(Ps,La){var Jl;return W.default.createElement(_a,{fn:Or,specPath:ur.push(La.toString()),getComponent:Hi,getConfigs:ki,rawParam:Ps,param:Ki.parameterWithMetaByIdentity(Io,Ps),key:(0,s.default)(Jl="".concat(Ps.get("in"),".")).call(Jl,Ps.get("name")),onChange:mt.onChange,onChangeConsumes:mt.onChangeConsumesWrapper,specSelectors:Ki,specActions:ro,oas3Actions:bo,oas3Selectors:Ao,pathMethod:Io,isExecute:na})})))):W.default.createElement("div",{className:"opblock-description-wrapper"},W.default.createElement("p",null,"No parameters"))):null,this.state.callbackVisible?W.default.createElement("div",{className:"callbacks-container opblock-description-wrapper"},W.default.createElement(la,{callbacks:(0,Pt.Map)(ea.get("callbacks")),specPath:(0,Ge.default)(ur).call(ur,0,-1).push("callbacks")})):null,Tl&&Ta&&this.state.parametersVisible&&W.default.createElement("div",{className:"opblock-section opblock-section-request-body"},W.default.createElement("div",{className:"opblock-section-header"},W.default.createElement("h4",{className:"opblock-title parameter__name ".concat(Ta.get("required")&&"required")},"Request body"),W.default.createElement("label",null,W.default.createElement(aa,{value:Ao.requestContentType.apply(Ao,(0,nf.default)(Io)),contentTypes:Ta.get("content",(0,Pt.List)()).keySeq(),onChange:function(Ps){mt.onChangeMediaType({value:Ps,pathMethod:Io})},className:"body-param-content-type",ariaLabel:"Request content type"}))),W.default.createElement("div",{className:"opblock-description-wrapper"},W.default.createElement(ha,{setRetainRequestBodyValueFlag:function(Ps){return bo.setRetainRequestBodyValueFlag({value:Ps,pathMethod:Io})},userHasEditedBody:Ao.hasUserEditedBody.apply(Ao,(0,nf.default)(Io)),specPath:(0,Ge.default)(ur).call(ur,0,-1).push("requestBody"),requestBody:Ta,requestBodyValue:Ao.requestBodyValue.apply(Ao,(0,nf.default)(Io)),requestBodyInclusionSetting:Ao.requestBodyInclusionSetting.apply(Ao,(0,nf.default)(Io)),requestBodyErrors:Ao.requestBodyErrors.apply(Ao,(0,nf.default)(Io)),isExecute:na,getConfigs:ki,activeExamplesKey:Ao.activeExamplesMember.apply(Ao,(0,s.default)(dt=(0,nf.default)(Io)).call(dt,["requestBody","requestBody"])),updateActiveExamplesKey:function(Ps){mt.props.oas3Actions.setActiveExamplesMember({name:Ps,pathMethod:mt.props.pathMethod,contextType:"requestBody",contextName:"requestBody"})},onChange:function(Ps,La){if(La){var Jl=Ao.requestBodyValue.apply(Ao,(0,nf.default)(Io)),Id=Pt.Map.isMap(Jl)?Jl:(0,Pt.Map)();return bo.setRequestBodyValue({pathMethod:Io,value:Id.setIn(La,Ps)})}bo.setRequestBodyValue({value:Ps,pathMethod:Io})},onChangeIncludeEmpty:function(Ps,La){bo.setRequestBodyInclusion({pathMethod:Io,value:La,name:Ps})},contentType:Ao.requestContentType.apply(Ao,(0,nf.default)(Io))}))))}}]),Tt}(W.Component);(0,K.default)(dS,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,tryItOutEnabled:!1,allowTryItOut:!0,onChangeKey:[],specPath:[]});const Zb=function(Yn){return W.default.createElement("div",{className:"parameter__extension"},Yn.xKey,": ",String(Yn.xVal))};var fS=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"onCheckboxChange",function(vn){(0,dt.props.onChange)(vn.target.checked)}),dt}return(0,fe.default)(Tt,[{key:"componentDidMount",value:function(){var at=this.props,dt=at.isIncludedOptions;dt.shouldDispatchInit&&(0,at.onChange)(dt.defaultValue)}},{key:"render",value:function(){var at=this.props,dt=at.isIncluded,mt=at.isDisabled;return W.default.createElement("div",null,W.default.createElement("label",{className:(0,pf.default)("parameter__empty_value_toggle",{disabled:mt})},W.default.createElement("input",{type:"checkbox",disabled:mt,checked:!mt&&dt,onChange:this.onCheckboxChange}),"Send empty value"))}}]),Tt}(W.Component);(0,K.default)(fS,"defaultProps",{onChange:function(){},isIncludedOptions:{}});var xy=is(9069),Vb=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at,dt){var mt;return(0,le.default)(this,Tt),mt=Sn.call(this,at,dt),(0,K.default)((0,to.default)(mt),"onChangeWrapper",function(jt){var vn=mt.props;return(0,vn.onChange)(vn.rawParam,""===jt||jt&&0===jt.size?null:jt,arguments.length>1&&void 0!==arguments[1]&&arguments[1])}),(0,K.default)((0,to.default)(mt),"_onExampleSelect",function(jt){mt.props.oas3Actions.setActiveExamplesMember({name:jt,pathMethod:mt.props.pathMethod,contextType:"parameters",contextName:mt.getParamKey()})}),(0,K.default)((0,to.default)(mt),"onChangeIncludeEmpty",function(jt){var Zt=mt.props,vn=Zt.specActions,Vn=Zt.param,gr=Zt.pathMethod,ur=Vn.get("name"),Or=Vn.get("in");return vn.updateEmptyParamInclusion(gr,ur,Or,jt)}),(0,K.default)((0,to.default)(mt),"setDefaultValue",function(){var jt=mt.props,Zt=jt.specSelectors,vn=jt.pathMethod,gr=jt.oas3Selectors,ur=Zt.parameterWithMetaByIdentity(vn,jt.rawParam)||(0,Pt.Map)(),Or=(0,xy.Z)(ur,{isOAS3:Zt.isOAS3()}).schema,Hi=ur.get("content",(0,Pt.Map)()).keySeq().first(),ki=Or?(0,jn.xi)(Or.toJS(),Hi,{includeWriteOnly:!0}):null;if(ur&&void 0===ur.get("value")&&"body"!==ur.get("in")){var Ki;if(Zt.isSwagger2())Ki=void 0!==ur.get("x-example")?ur.get("x-example"):void 0!==ur.getIn(["schema","example"])?ur.getIn(["schema","example"]):Or&&Or.getIn(["default"]);else if(Zt.isOAS3()){var ro,Io=gr.activeExamplesMember.apply(gr,(0,s.default)(ro=(0,nf.default)(vn)).call(ro,["parameters",mt.getParamKey()]));Ki=void 0!==ur.getIn(["examples",Io,"value"])?ur.getIn(["examples",Io,"value"]):void 0!==ur.getIn(["content",Hi,"example"])?ur.getIn(["content",Hi,"example"]):void 0!==ur.get("example")?ur.get("example"):void 0!==(Or&&Or.get("example"))?Or&&Or.get("example"):void 0!==(Or&&Or.get("default"))?Or&&Or.get("default"):ur.get("default")}void 0===Ki||Pt.List.isList(Ki)||(Ki=(0,jn.Pz)(Ki)),void 0!==Ki?mt.onChangeWrapper(Ki):Or&&"object"===Or.get("type")&&ki&&!ur.get("examples")&&mt.onChangeWrapper(Pt.List.isList(ki)?ki:(0,jn.Pz)(ki))}}),mt.setDefaultValue(),mt}return(0,fe.default)(Tt,[{key:"UNSAFE_componentWillReceiveProps",value:function(at){var dt,mt=at.specSelectors,jt=at.pathMethod,Zt=at.rawParam,vn=mt.isOAS3(),Vn=mt.parameterWithMetaByIdentity(jt,Zt)||new Pt.Map;if(Vn=Vn.isEmpty()?Zt:Vn,vn){var gr=(0,xy.Z)(Vn,{isOAS3:vn}).schema;dt=gr?gr.get("enum"):void 0}else dt=Vn?Vn.get("enum"):void 0;var ur,Or=Vn?Vn.get("value"):void 0;void 0!==Or?ur=Or:Zt.get("required")&&dt&&dt.size&&(ur=dt.first()),void 0!==ur&&ur!==Or&&this.onChangeWrapper((0,jn.D$)(ur)),this.setDefaultValue()}},{key:"getParamKey",value:function(){var at,dt=this.props.param;return dt?(0,s.default)(at="".concat(dt.get("name"),"-")).call(at,dt.get("in")):null}},{key:"render",value:function(){var at,dt,mt,jt,Zt=this.props,vn=Zt.param,Vn=Zt.rawParam,gr=Zt.getComponent,ur=Zt.getConfigs,Or=Zt.isExecute,Hi=Zt.fn,ki=Zt.onChangeConsumes,Ki=Zt.specSelectors,ro=Zt.pathMethod,Io=Zt.specPath,bo=Zt.oas3Selectors,Ao=Ki.isOAS3(),ea=ur(),_a=ea.showExtensions,Fa=ea.showCommonExtensions;if(vn||(vn=Vn),!Vn)return null;var aa,la,ha,na,Tl=gr("JsonSchemaForm"),Ta=gr("ParamBody"),sl=vn.get("in"),Ps="body"!==sl?null:W.default.createElement(Ta,{getComponent:gr,getConfigs:ur,fn:Hi,param:vn,consumes:Ki.consumesOptionsFor(ro),consumesValue:Ki.contentTypeValues(ro).get("requestContentType"),onChange:this.onChangeWrapper,onChangeConsumes:ki,isExecute:Or,specSelectors:Ki,pathMethod:ro}),La=gr("modelExample"),Jl=gr("Markdown",!0),Id=gr("ParameterExt"),Mf=gr("ParameterIncludeEmpty"),Of=gr("ExamplesSelectValueRetainer"),sp=gr("Example"),Uc=(0,xy.Z)(vn,{isOAS3:Ao}).schema,Fd=Ki.parameterWithMetaByIdentity(ro,Vn)||(0,Pt.Map)(),$u=Uc?Uc.get("format"):null,Yp=Uc?Uc.get("type"):null,Pp=Uc?Uc.getIn(["items","type"]):null,lm="formData"===sl,_f="FormData"in Xn.Z,Hu=vn.get("required"),hf=Fd?Fd.get("value"):"",Af=Fa?(0,jn.po)(Uc):null,Df=_a?(0,jn.nX)(vn):null,uh=!1;return void 0!==vn&&Uc&&(aa=Uc.get("items")),void 0!==aa?(la=aa.get("enum"),ha=aa.get("default")):Uc&&(la=Uc.get("enum")),la&&la.size&&la.size>0&&(uh=!0),void 0!==vn&&(Uc&&(ha=Uc.get("default")),void 0===ha&&(ha=vn.get("default")),void 0===(na=vn.get("example"))&&(na=vn.get("x-example"))),W.default.createElement("tr",{"data-param-name":vn.get("name"),"data-param-in":vn.get("in")},W.default.createElement("td",{className:"parameters-col_name"},W.default.createElement("div",{className:Hu?"parameter__name required":"parameter__name"},vn.get("name"),Hu?W.default.createElement("span",null,"\xa0*"):null),W.default.createElement("div",{className:"parameter__type"},Yp,Pp&&"[".concat(Pp,"]"),$u&&W.default.createElement("span",{className:"prop-format"},"($",$u,")")),W.default.createElement("div",{className:"parameter__deprecated"},Ao&&vn.get("deprecated")?"deprecated":null),W.default.createElement("div",{className:"parameter__in"},"(",vn.get("in"),")"),Fa&&Af.size?(0,Pe.default)(at=Af.entrySeq()).call(at,function(rf){var sf,Bf=(0,Cl.default)(rf,2),dh=Bf[0],Mg=Bf[1];return W.default.createElement(Id,{key:(0,s.default)(sf="".concat(dh,"-")).call(sf,Mg),xKey:dh,xVal:Mg})}):null,_a&&Df.size?(0,Pe.default)(dt=Df.entrySeq()).call(dt,function(rf){var sf,Bf=(0,Cl.default)(rf,2),dh=Bf[0],Mg=Bf[1];return W.default.createElement(Id,{key:(0,s.default)(sf="".concat(dh,"-")).call(sf,Mg),xKey:dh,xVal:Mg})}):null),W.default.createElement("td",{className:"parameters-col_description"},vn.get("description")?W.default.createElement(Jl,{source:vn.get("description")}):null,!Ps&&Or||!uh?null:W.default.createElement(Jl,{className:"parameter__enum",source:"<i>Available values</i> : "+(0,Pe.default)(la).call(la,function(rf){return rf}).toArray().join(", ")}),!Ps&&Or||void 0===ha?null:W.default.createElement(Jl,{className:"parameter__default",source:"<i>Default value</i> : "+ha}),!Ps&&Or||void 0===na?null:W.default.createElement(Jl,{source:"<i>Example</i> : "+na}),lm&&!_f&&W.default.createElement("div",null,"Error: your browser does not support FormData"),Ao&&vn.get("examples")?W.default.createElement("section",{className:"parameter-controls"},W.default.createElement(Of,{examples:vn.get("examples"),onSelect:this._onExampleSelect,updateValue:this.onChangeWrapper,getComponent:gr,defaultToFirstExample:!0,currentKey:bo.activeExamplesMember.apply(bo,(0,s.default)(mt=(0,nf.default)(ro)).call(mt,["parameters",this.getParamKey()])),currentUserInputValue:hf})):null,Ps?null:W.default.createElement(Tl,{fn:Hi,getComponent:gr,value:hf,required:Hu,disabled:!Or,description:vn.get("name"),onChange:this.onChangeWrapper,errors:Fd.get("errors"),schema:Uc}),Ps&&Uc?W.default.createElement(La,{getComponent:gr,specPath:Io.push("schema"),getConfigs:ur,isExecute:Or,specSelectors:Ki,schema:Uc,example:Ps,includeWriteOnly:!0}):null,!Ps&&Or&&vn.get("allowEmptyValue")?W.default.createElement(Mf,{onChange:this.onChangeIncludeEmpty,isIncluded:Ki.parameterInclusionSettingFor(ro,vn.get("name"),vn.get("in")),isDisabled:!(0,jn.O2)(hf)}):null,Ao&&vn.get("examples")?W.default.createElement(sp,{example:vn.getIn(["examples",bo.activeExamplesMember.apply(bo,(0,s.default)(jt=(0,nf.default)(ro)).call(jt,["parameters",this.getParamKey()]))]),getComponent:gr,getConfigs:ur}):null))}}]),Tt}(W.Component),Wb=is(6235),Jb=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"handleValidateParameters",function(){var vn=dt.props,Vn=vn.specSelectors,ur=vn.path,Or=vn.method;return vn.specActions.validateParams([ur,Or]),Vn.validateBeforeExecute([ur,Or])}),(0,K.default)((0,to.default)(dt),"handleValidateRequestBody",function(){var vn=dt.props,Vn=vn.path,gr=vn.method,ur=vn.specSelectors,Or=vn.oas3Selectors,Hi=vn.oas3Actions,ki={missingBodyValue:!1,missingRequiredKeys:[]};Hi.clearRequestBodyValidateError({path:Vn,method:gr});var Ki=ur.getOAS3RequiredRequestBodyContentType([Vn,gr]),ro=Or.requestBodyValue(Vn,gr),Io=Or.validateBeforeExecute([Vn,gr]),bo=Or.requestContentType(Vn,gr);if(!Io)return ki.missingBodyValue=!0,Hi.setRequestBodyValidateError({path:Vn,method:gr,validationErrors:ki}),!1;if(!Ki)return!0;var Ao=Or.validateShallowRequired({oas3RequiredRequestBodyContentType:Ki,oas3RequestContentType:bo,oas3RequestBodyValue:ro});return!Ao||Ao.length<1||((0,Qc.default)(Ao).call(Ao,function(ea){ki.missingRequiredKeys.push(ea)}),Hi.setRequestBodyValidateError({path:Vn,method:gr,validationErrors:ki}),!1)}),(0,K.default)((0,to.default)(dt),"handleValidationResultPass",function(){var vn=dt.props,Vn=vn.specActions,gr=vn.operation,ur=vn.path,Or=vn.method;dt.props.onExecute&&dt.props.onExecute(),Vn.execute({operation:gr,path:ur,method:Or})}),(0,K.default)((0,to.default)(dt),"handleValidationResultFail",function(){var vn=dt.props,Vn=vn.specActions,gr=vn.path,ur=vn.method;Vn.clearValidateParams([gr,ur]),(0,Wb.default)(function(){Vn.validateParams([gr,ur])},40)}),(0,K.default)((0,to.default)(dt),"handleValidationResult",function(vn){vn?dt.handleValidationResultPass():dt.handleValidationResultFail()}),(0,K.default)((0,to.default)(dt),"onClick",function(){var vn=dt.handleValidateParameters(),Vn=dt.handleValidateRequestBody();dt.handleValidationResult(vn&&Vn)}),(0,K.default)((0,to.default)(dt),"onChangeProducesWrapper",function(vn){return dt.props.specActions.changeProducesValue([dt.props.path,dt.props.method],vn)}),dt}return(0,fe.default)(Tt,[{key:"render",value:function(){return W.default.createElement("button",{className:"btn execute opblock-control__btn",onClick:this.onClick,disabled:this.props.disabled},"Execute")}}]),Tt}(W.Component),Rl=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt=this.props,mt=dt.headers,jt=dt.getComponent,Zt=jt("Property"),vn=jt("Markdown",!0);return mt&&mt.size?W.default.createElement("div",{className:"headers-wrapper"},W.default.createElement("h4",{className:"headers__title"},"Headers:"),W.default.createElement("table",{className:"headers"},W.default.createElement("thead",null,W.default.createElement("tr",{className:"header-row"},W.default.createElement("th",{className:"header-col"},"Name"),W.default.createElement("th",{className:"header-col"},"Description"),W.default.createElement("th",{className:"header-col"},"Type"))),W.default.createElement("tbody",null,(0,Pe.default)(at=mt.entrySeq()).call(at,function(Vn){var gr=(0,Cl.default)(Vn,2),ur=gr[0],Or=gr[1];if(!Pt.default.Map.isMap(Or))return null;var Hi=Or.get("description"),ki=Or.getIn(["schema"])?Or.getIn(["schema","type"]):Or.getIn(["type"]),Ki=Or.getIn(["schema","example"]);return W.default.createElement("tr",{key:ur},W.default.createElement("td",{className:"header-col"},ur),W.default.createElement("td",{className:"header-col"},Hi?W.default.createElement(vn,{source:Hi}):null),W.default.createElement("td",{className:"header-col"},ki," ",Ki?W.default.createElement(Zt,{propKey:"Example",propVal:Ki,propClass:"header-example"}):null))}).toArray()))):null}}]),Tt}(W.default.Component),Su=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.editorActions,mt=at.errSelectors,jt=at.layoutSelectors,Zt=at.layoutActions,vn=(0,at.getComponent)("Collapse");if(dt&&dt.jumpToLine)var Vn=dt.jumpToLine;var gr=mt.allErrors(),ur=(0,_.default)(gr).call(gr,function(ki){return"thrown"===ki.get("type")||"error"===ki.get("level")});if(!ur||ur.count()<1)return null;var Or=jt.isShown(["errorPane"],!0),Hi=ur.sortBy(function(ki){return ki.get("line")});return W.default.createElement("pre",{className:"errors-wrapper"},W.default.createElement("hgroup",{className:"error"},W.default.createElement("h4",{className:"errors__title"},"Errors"),W.default.createElement("button",{className:"btn errors__clear-btn",onClick:function(){return Zt.show(["errorPane"],!Or)}},Or?"Hide":"Show")),W.default.createElement(vn,{isOpened:Or,animated:!0},W.default.createElement("div",{className:"errors"},(0,Pe.default)(Hi).call(Hi,function(ki,Ki){var ro=ki.get("type");return"thrown"===ro||"auth"===ro?W.default.createElement(Nd,{key:Ki,error:ki.get("error")||ki,jumpToLine:Vn}):"spec"===ro?W.default.createElement(_0,{key:Ki,error:ki,jumpToLine:Vn}):void 0}))))}}]),Tt}(W.default.Component),Nd=function(Yn){var Sn=Yn.error,Tt=Yn.jumpToLine;if(!Sn)return null;var at=Sn.get("line");return W.default.createElement("div",{className:"error-wrapper"},Sn?W.default.createElement("div",null,W.default.createElement("h4",null,Sn.get("source")&&Sn.get("level")?ev(Sn.get("source"))+" "+Sn.get("level"):"",Sn.get("path")?W.default.createElement("small",null," at ",Sn.get("path")):null),W.default.createElement("span",{className:"message thrown"},Sn.get("message")),W.default.createElement("div",{className:"error-line"},at&&Tt?W.default.createElement("a",{onClick:(0,ge.default)(Tt).call(Tt,null,at)},"Jump to line ",at):null)):null)},_0=function(Yn){var Sn=Yn.error,Tt=Yn.jumpToLine,at=null;return Sn.get("path")?at=Pt.List.isList(Sn.get("path"))?W.default.createElement("small",null,"at ",Sn.get("path").join(".")):W.default.createElement("small",null,"at ",Sn.get("path")):Sn.get("line")&&!Tt&&(at=W.default.createElement("small",null,"on line ",Sn.get("line"))),W.default.createElement("div",{className:"error-wrapper"},Sn?W.default.createElement("div",null,W.default.createElement("h4",null,ev(Sn.get("source"))+" "+Sn.get("level"),"\xa0",at),W.default.createElement("span",{className:"message"},Sn.get("message")),W.default.createElement("div",{className:"error-line"},Tt?W.default.createElement("a",{onClick:(0,ge.default)(Tt).call(Tt,null,Sn.get("line"))},"Jump to line ",Sn.get("line")):null)):null)};function ev(Yn){var Sn;return(0,Pe.default)(Sn=(Yn||"").split(" ")).call(Sn,function(Tt){return Tt[0].toUpperCase()+(0,Ge.default)(Tt).call(Tt,1)}).join(" ")}Nd.defaultProps={jumpToLine:null};var h0=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"onChangeWrapper",function(vn){return dt.props.onChange(vn.target.value)}),dt}return(0,fe.default)(Tt,[{key:"componentDidMount",value:function(){this.props.contentTypes&&this.props.onChange(this.props.contentTypes.first())}},{key:"UNSAFE_componentWillReceiveProps",value:function(at){var dt;at.contentTypes&&at.contentTypes.size&&((0,Hc.default)(dt=at.contentTypes).call(dt,at.value)||at.onChange(at.contentTypes.first()))}},{key:"render",value:function(){var at=this.props,Zt=at.contentTypes;return Zt&&Zt.size?W.default.createElement("div",{className:"content-type-wrapper "+(at.className||"")},W.default.createElement("select",{"aria-controls":at.ariaControls,"aria-label":at.ariaLabel,className:"content-type",id:at.controlId,onChange:this.onChangeWrapper,value:at.value||""},(0,Pe.default)(Zt).call(Zt,function(gr){return W.default.createElement("option",{key:gr,value:gr},gr)}).toArray())):null}}]),Tt}(W.default.Component);(0,K.default)(h0,"defaultProps",{onChange:function(){},value:null,contentTypes:(0,Pt.fromJS)(["application/json"])});var f_=is(863),tv=is(302),WV=is(5942),JV=["fullscreen","full"],QV=["hide","keepContents","mobile","tablet","desktop","large"];function pS(){for(var Yn,Sn=arguments.length,Tt=new Array(Sn),at=0;at<Sn;at++)Tt[at]=arguments[at];return(0,WV.default)(Yn=(0,_.default)(Tt).call(Tt,function(dt){return!!dt}).join(" ")).call(Yn)}var KV=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.fullscreen,mt=at.full,jt=(0,tv.default)(at,JV);return W.default.createElement("section",dt?jt:(0,f_.default)({},jt,{className:pS(jt.className,"swagger-container"+(mt?"-full":""))}))}}]),Tt}(W.default.Component),jD={mobile:"",tablet:"-tablet",desktop:"-desktop",large:"-hd"},XV=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt=this.props,mt=dt.hide,jt=dt.keepContents,Zt=(0,tv.default)(dt,QV);if(mt&&!jt)return W.default.createElement("span",null);var vn=[];for(var Vn in jD)if(Object.prototype.hasOwnProperty.call(jD,Vn)){var gr=jD[Vn];if(Vn in this.props){var ur=this.props[Vn];if(ur<1){vn.push("none"+gr);continue}vn.push("block"+gr),vn.push("col-"+ur+gr)}}mt&&vn.push("hidden");var Or=pS.apply(void 0,(0,s.default)(at=[Zt.className]).call(at,vn));return W.default.createElement("section",(0,f_.default)({},Zt,{className:Or}))}}]),Tt}(W.default.Component),qV=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){return W.default.createElement("div",(0,f_.default)({},this.props,{className:pS(this.props.className,"wrapper")}))}}]),Tt}(W.default.Component),h6=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){return W.default.createElement("button",(0,f_.default)({},this.props,{className:pS(this.props.className,"button")}))}}]),Tt}(W.default.Component);(0,K.default)(h6,"defaultProps",{className:""});var eW=function(Yn){return W.default.createElement("textarea",Yn)},tW=function(Yn){return W.default.createElement("input",Yn)},m6=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at,dt){var mt;return(0,le.default)(this,Tt),mt=Sn.call(this,at,dt),(0,K.default)((0,to.default)(mt),"onChange",function(Zt){var vn,Vn,gr=mt.props,ur=gr.onChange,Or=gr.multiple,Hi=(0,Ge.default)([]).call(Zt.target.options);vn=Or?(0,Pe.default)(Vn=(0,_.default)(Hi).call(Hi,function(ki){return ki.selected})).call(Vn,function(ki){return ki.value}):Zt.target.value,mt.setState({value:vn}),ur&&ur(vn)}),mt.state={value:at.value?at.value:at.multiple?[""]:""},mt}return(0,fe.default)(Tt,[{key:"UNSAFE_componentWillReceiveProps",value:function(at){at.value!==this.props.value&&this.setState({value:at.value})}},{key:"render",value:function(){var at,dt,mt=this.props,jt=mt.allowedValues,Zt=mt.multiple,vn=mt.allowEmptyValue,Vn=mt.disabled,gr=(null===(at=this.state.value)||void 0===at||null===(dt=at.toJS)||void 0===dt?void 0:dt.call(at))||this.state.value;return W.default.createElement("select",{className:this.props.className,multiple:Zt,value:gr,onChange:this.onChange,disabled:Vn},vn?W.default.createElement("option",{value:""},"--"):null,(0,Pe.default)(jt).call(jt,function(ur,Or){return W.default.createElement("option",{key:Or,value:String(ur)},String(ur))}))}}]),Tt}(W.default.Component);(0,K.default)(m6,"defaultProps",{multiple:!1,allowEmptyValue:!0});var g6=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){return W.default.createElement("a",(0,f_.default)({},this.props,{rel:"noopener noreferrer",className:pS(this.props.className,"link")}))}}]),Tt}(W.default.Component),v6=function(Yn){return W.default.createElement("div",{className:"no-margin"}," ",Yn.children," ")},y6=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"renderNotAnimated",value:function(){return this.props.isOpened?W.default.createElement(v6,null,this.props.children):W.default.createElement("noscript",null)}},{key:"render",value:function(){var at=this.props,jt=at.children;return at.animated?W.default.createElement(v6,null,jt=at.isOpened?jt:null):this.renderNotAnimated()}}]),Tt}(W.default.Component);(0,K.default)(y6,"defaultProps",{isOpened:!1,animated:!1});var nW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt,mt;(0,le.default)(this,Tt);for(var jt=arguments.length,Zt=new Array(jt),vn=0;vn<jt;vn++)Zt[vn]=arguments[vn];return(mt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,Zt))).setTagShown=(0,ge.default)(dt=mt._setTagShown).call(dt,(0,to.default)(mt)),mt}return(0,fe.default)(Tt,[{key:"_setTagShown",value:function(at,dt){this.props.layoutActions.show(at,dt)}},{key:"showOp",value:function(at,dt){this.props.layoutActions.show(at,dt)}},{key:"render",value:function(){var at=this.props,mt=at.layoutSelectors,jt=at.layoutActions,Zt=at.getComponent,vn=at.specSelectors.taggedOperations(),Vn=Zt("Collapse");return W.default.createElement("div",null,W.default.createElement("h4",{className:"overview-title"},"Overview"),(0,Pe.default)(vn).call(vn,function(gr,ur){var Or=gr.get("operations"),Hi=["overview-tags",ur],ki=mt.isShown(Hi,!0);return W.default.createElement("div",{key:"overview-"+ur},W.default.createElement("h4",{onClick:function(){return jt.show(Hi,!ki)},className:"link overview-tag"}," ",ki?"-":"+",ur),W.default.createElement(Vn,{isOpened:ki,animated:!0},(0,Pe.default)(Or).call(Or,function(Ki){var ro=Ki.toObject(),Io=ro.path,bo=ro.method,Ao=ro.id,ea="operations",_a=Ao,Fa=mt.isShown([ea,_a]);return W.default.createElement(rW,{key:Ao,path:Io,method:bo,id:Io+"-"+bo,shown:Fa,showOpId:_a,showOpIdPrefix:ea,href:"#operation-".concat(_a),onClick:jt.show})}).toArray()))}).toArray(),vn.size<1&&W.default.createElement("h3",null," No operations defined in spec! "))}}]),Tt}(W.default.Component),rW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at){var dt,mt;return(0,le.default)(this,Tt),(mt=Sn.call(this,at)).onClick=(0,ge.default)(dt=mt._onClick).call(dt,(0,to.default)(mt)),mt}return(0,fe.default)(Tt,[{key:"_onClick",value:function(){var at=this.props;(0,at.onClick)([at.showOpIdPrefix,at.showOpId],!at.shown)}},{key:"render",value:function(){var at=this.props,dt=at.id,mt=at.method;return W.default.createElement(g6,{href:at.href,onClick:this.onClick,className:"block opblock-link ".concat(at.shown?"shown":"")},W.default.createElement("div",null,W.default.createElement("small",{className:"bold-label-".concat(mt)},mt.toUpperCase()),W.default.createElement("span",{className:"bold-label"},dt)))}}]),Tt}(W.default.Component),iW=["value","defaultValue","initialValue"],oW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"componentDidMount",value:function(){this.props.initialValue&&(this.inputRef.value=this.props.initialValue)}},{key:"render",value:function(){var at=this,mt=(0,tv.default)(this.props,iW);return W.default.createElement("input",(0,f_.default)({},mt,{ref:function(jt){return at.inputRef=jt}}))}}]),Tt}(W.default.Component),sW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props;return W.default.createElement("pre",{className:"base-url"},"[ Base URL: ",at.host,at.basePath," ]")}}]),Tt}(W.default.Component),aW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.data,mt=at.getComponent,jt=at.selectedServer,Zt=at.url,vn=dt.get("name")||"the developer",Vn=oo(dt.get("url"),Zt,{selectedServer:jt}),gr=dt.get("email"),ur=mt("Link");return W.default.createElement("div",{className:"info__contact"},Vn&&W.default.createElement("div",null,W.default.createElement(ur,{href:(0,jn.Nm)(Vn),target:"_blank"},vn," - Website")),gr&&W.default.createElement(ur,{href:(0,jn.Nm)("mailto:".concat(gr))},Vn?"Send email to ".concat(vn):"Contact ".concat(vn)))}}]),Tt}(W.default.Component),lW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.license,jt=at.selectedServer,Zt=at.url,vn=(0,at.getComponent)("Link"),Vn=dt.get("name")||"License",gr=oo(dt.get("url"),Zt,{selectedServer:jt});return W.default.createElement("div",{className:"info__license"},gr?W.default.createElement(vn,{target:"_blank",href:(0,jn.Nm)(gr)},Vn):W.default.createElement("span",null,Vn))}}]),Tt}(W.default.Component),cW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.url,mt=(0,at.getComponent)("Link");return W.default.createElement(mt,{target:"_blank",href:(0,jn.Nm)(dt)},W.default.createElement("span",{className:"url"}," ",dt))}}]),Tt}(W.default.PureComponent),uW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.info,mt=at.url,jt=at.host,Zt=at.basePath,vn=at.getComponent,Vn=at.externalDocs,gr=at.selectedServer,ur=at.url,Or=dt.get("version"),Hi=dt.get("description"),ki=dt.get("title"),Ki=oo(dt.get("termsOfService"),ur,{selectedServer:gr}),ro=dt.get("contact"),Io=dt.get("license"),bo=oo(Vn&&Vn.get("url"),ur,{selectedServer:gr}),Ao=Vn&&Vn.get("description"),ea=vn("Markdown",!0),_a=vn("Link"),Fa=vn("VersionStamp"),aa=vn("InfoUrl"),la=vn("InfoBasePath");return W.default.createElement("div",{className:"info"},W.default.createElement("hgroup",{className:"main"},W.default.createElement("h2",{className:"title"},ki,Or&&W.default.createElement(Fa,{version:Or})),jt||Zt?W.default.createElement(la,{host:jt,basePath:Zt}):null,mt&&W.default.createElement(aa,{getComponent:vn,url:mt})),W.default.createElement("div",{className:"description"},W.default.createElement(ea,{source:Hi})),Ki&&W.default.createElement("div",{className:"info__tos"},W.default.createElement(_a,{target:"_blank",href:(0,jn.Nm)(Ki)},"Terms of service")),ro&&ro.size?W.default.createElement(aW,{getComponent:vn,data:ro,selectedServer:gr,url:mt}):null,Io&&Io.size?W.default.createElement(lW,{getComponent:vn,license:Io,selectedServer:gr,url:mt}):null,bo?W.default.createElement(_a,{className:"info__extdocs",target:"_blank",href:(0,jn.Nm)(bo)},Ao||bo):null)}}]),Tt}(W.default.Component),dW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.specSelectors,mt=at.getComponent,jt=at.oas3Selectors,Zt=dt.info(),vn=dt.url(),Vn=dt.basePath(),gr=dt.host(),ur=dt.externalDocs(),Or=jt.selectedServer(),Hi=mt("info");return W.default.createElement("div",null,Zt&&Zt.count()?W.default.createElement(Hi,{info:Zt,url:vn,host:gr,basePath:Vn,externalDocs:ur,getComponent:mt,selectedServer:Or}):null)}}]),Tt}(W.default.Component),fW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){return null}}]),Tt}(W.default.Component),pW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){return W.default.createElement("div",{className:"footer"})}}]),Tt}(W.default.Component),_W=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"onFilterChange",function(vn){dt.props.layoutActions.updateFilter(vn.target.value)}),dt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.specSelectors,mt=at.layoutSelectors,jt=(0,at.getComponent)("Col"),Zt="loading"===dt.loadingStatus(),vn="failed"===dt.loadingStatus(),Vn=mt.currentFilter(),gr=["operation-filter-input"];return vn&&gr.push("failed"),Zt&&gr.push("loading"),W.default.createElement("div",null,null===Vn||!1===Vn||"false"===Vn?null:W.default.createElement("div",{className:"filter-container"},W.default.createElement(jt,{className:"filter wrapper",mobile:12},W.default.createElement("input",{className:gr.join(" "),placeholder:"Filter by tag",type:"text",onChange:this.onFilterChange,value:!0===Vn||"true"===Vn?"":Vn,disabled:Zt}))))}}]),Tt}(W.default.Component),ZD=Function.prototype,E6=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at,dt){var mt;return(0,le.default)(this,Tt),mt=Sn.call(this,at,dt),(0,K.default)((0,to.default)(mt),"updateValues",function(jt){var Zt=jt.param,vn=jt.isExecute,Vn=jt.consumesValue,gr=void 0===Vn?"":Vn,ur=/xml/i.test(gr),Or=/json/i.test(gr),Hi=Zt.get(ur?"value_xml":"value");if(void 0!==Hi){var ki=!Hi&&Or?"{}":Hi;mt.setState({value:ki}),mt.onChange(ki,{isXml:ur,isEditBox:vn})}else ur?mt.onChange(mt.sample("xml"),{isXml:ur,isEditBox:vn}):mt.onChange(mt.sample(),{isEditBox:vn})}),(0,K.default)((0,to.default)(mt),"sample",function(jt){var Zt=mt.props,Vn=(0,Zt.fn.inferSchema)(Zt.param.toJS());return(0,jn.xi)(Vn,jt,{includeWriteOnly:!0})}),(0,K.default)((0,to.default)(mt),"onChange",function(jt,Zt){var Vn=Zt.isXml;mt.setState({value:jt,isEditBox:Zt.isEditBox}),mt._onChange(jt,Vn)}),(0,K.default)((0,to.default)(mt),"_onChange",function(jt,Zt){(mt.props.onChange||ZD)(jt,Zt)}),(0,K.default)((0,to.default)(mt),"handleOnChange",function(jt){var vn=/xml/i.test(mt.props.consumesValue);mt.onChange(jt.target.value,{isXml:vn,isEditBox:mt.state.isEditBox})}),(0,K.default)((0,to.default)(mt),"toggleIsEditBox",function(){return mt.setState(function(jt){return{isEditBox:!jt.isEditBox}})}),mt.state={isEditBox:!1,value:""},mt}return(0,fe.default)(Tt,[{key:"componentDidMount",value:function(){this.updateValues.call(this,this.props)}},{key:"UNSAFE_componentWillReceiveProps",value:function(at){this.updateValues.call(this,at)}},{key:"render",value:function(){var at=this.props,dt=at.onChangeConsumes,mt=at.param,jt=at.isExecute,Zt=at.specSelectors,vn=at.pathMethod,Vn=at.getConfigs,gr=at.getComponent,ur=gr("Button"),Or=gr("TextArea"),Hi=gr("highlightCode"),ki=gr("contentType"),Ki=(Zt?Zt.parameterWithMetaByIdentity(vn,mt):mt).get("errors",(0,Pt.List)()),ro=Zt.contentTypeValues(vn).get("requestContentType"),Io=this.props.consumes&&this.props.consumes.size?this.props.consumes:Tt.defaultProp.consumes,bo=this.state,Ao=bo.value,ea=bo.isEditBox,_a=null;return(0,Jm.O)(Ao)&&(_a="json"),W.default.createElement("div",{className:"body-param","data-param-name":mt.get("name"),"data-param-in":mt.get("in")},ea&&jt?W.default.createElement(Or,{className:"body-param__text"+(Ki.count()?" invalid":""),value:Ao,onChange:this.handleOnChange}):Ao&&W.default.createElement(Hi,{className:"body-param__example",language:_a,getConfigs:Vn,value:Ao}),W.default.createElement("div",{className:"body-param-options"},jt?W.default.createElement("div",{className:"body-param-edit"},W.default.createElement(ur,{className:ea?"btn cancel body-param__example-edit":"btn edit body-param__example-edit",onClick:this.toggleIsEditBox},ea?"Cancel":"Edit")):null,W.default.createElement("label",{htmlFor:""},W.default.createElement("span",null,"Parameter content type"),W.default.createElement(ki,{value:ro,contentTypes:Io,onChange:dt,className:"body-param-content-type",ariaLabel:"Parameter content type"}))))}}]),Tt}(W.PureComponent);(0,K.default)(E6,"defaultProp",{consumes:(0,Pt.fromJS)(["application/json"]),param:(0,Pt.fromJS)({}),onChange:ZD,onChangeConsumes:ZD});var hW=is(4624),mW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,mt=at.getConfigs,jt=(0,hW.requestSnippetGenerator_curl_bash)(at.request),Zt=mt(),vn=(0,mc.default)(Zt,"syntaxHighlight.activated")?W.default.createElement(Dp.d3,{language:"bash",className:"curl microlight",style:(0,Dp.C2)((0,mc.default)(Zt,"syntaxHighlight.theme"))},jt):W.default.createElement("textarea",{readOnly:!0,className:"curl",value:jt});return W.default.createElement("div",{className:"curl-command"},W.default.createElement("h4",null,"Curl"),W.default.createElement("div",{className:"copy-to-clipboard"},W.default.createElement(Rp.CopyToClipboard,{text:jt},W.default.createElement("button",null))),W.default.createElement("div",null,vn))}}]),Tt}(W.default.Component),gW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"onChange",function(vn){dt.setScheme(vn.target.value)}),(0,K.default)((0,to.default)(dt),"setScheme",function(vn){var Vn=dt.props;Vn.specActions.setScheme(vn,Vn.path,Vn.method)}),dt}return(0,fe.default)(Tt,[{key:"UNSAFE_componentWillMount",value:function(){this.setScheme(this.props.schemes.first())}},{key:"UNSAFE_componentWillReceiveProps",value:function(at){var dt;this.props.currentScheme&&(0,Hc.default)(dt=at.schemes).call(dt,this.props.currentScheme)||this.setScheme(at.schemes.first())}},{key:"render",value:function(){var at,dt=this.props,mt=dt.schemes,jt=dt.currentScheme;return W.default.createElement("label",{htmlFor:"schemes"},W.default.createElement("span",{className:"schemes-title"},"Schemes"),W.default.createElement("select",{onChange:this.onChange,value:jt},(0,Pe.default)(at=mt.valueSeq()).call(at,function(Zt){return W.default.createElement("option",{value:Zt,key:Zt},Zt)}).toArray()))}}]),Tt}(W.default.Component),vW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.specActions,mt=at.specSelectors,jt=at.getComponent,Zt=mt.operationScheme(),vn=mt.schemes(),Vn=jt("schemes");return vn&&vn.size?W.default.createElement(Vn,{currentScheme:Zt,schemes:vn,specActions:dt}):null}}]),Tt}(W.default.Component),S6=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at,dt){var mt;(0,le.default)(this,Tt),mt=Sn.call(this,at,dt),(0,K.default)((0,to.default)(mt),"toggleCollapsed",function(){mt.props.onToggle&&mt.props.onToggle(mt.props.modelName,!mt.state.expanded),mt.setState({expanded:!mt.state.expanded})}),(0,K.default)((0,to.default)(mt),"onLoad",function(Vn){if(Vn&&mt.props.layoutSelectors){var gr=mt.props.layoutSelectors.getScrollToKey();Pt.default.is(gr,mt.props.specPath)&&mt.toggleCollapsed(),mt.props.layoutActions.readyToScroll(mt.props.specPath,Vn.parentElement)}});var jt=mt.props;return mt.state={expanded:jt.expanded,collapsedContent:jt.collapsedContent||Tt.defaultProps.collapsedContent},mt}return(0,fe.default)(Tt,[{key:"componentDidMount",value:function(){var at=this.props,mt=at.expanded;at.hideSelfOnExpand&&mt&&this.props.onToggle(at.modelName,mt)}},{key:"UNSAFE_componentWillReceiveProps",value:function(at){this.props.expanded!==at.expanded&&this.setState({expanded:at.expanded})}},{key:"render",value:function(){var at=this.props,dt=at.title,mt=at.classes;return this.state.expanded&&this.props.hideSelfOnExpand?W.default.createElement("span",{className:mt||""},this.props.children):W.default.createElement("span",{className:mt||"",ref:this.onLoad},W.default.createElement("button",{"aria-expanded":this.state.expanded,className:"model-box-control",onClick:this.toggleCollapsed},dt&&W.default.createElement("span",{className:"pointer"},dt),W.default.createElement("span",{className:"model-toggle"+(this.state.expanded?"":" collapsed")}),!this.state.expanded&&W.default.createElement("span",null,this.state.collapsedContent)),this.state.expanded&&this.props.children)}}]),Tt}(W.Component);(0,K.default)(S6,"defaultProps",{collapsedContent:"{...}",expanded:!1,title:null,onToggle:function(){},hideSelfOnExpand:!1,specPath:Pt.default.List([])});var yW=is(1798),Qb=is.n(yW),EW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at,dt){var mt;(0,le.default)(this,Tt),mt=Sn.call(this,at,dt),(0,K.default)((0,to.default)(mt),"activeTab",function(ur){mt.setState({activeTab:ur.target.dataset.name})});var jt=mt.props,vn=jt.isExecute,Vn=(0,jt.getConfigs)().defaultModelRendering,gr=Vn;return"example"!==Vn&&"model"!==Vn&&(gr="example"),vn&&(gr="example"),mt.state={activeTab:gr},mt}return(0,fe.default)(Tt,[{key:"UNSAFE_componentWillReceiveProps",value:function(at){at.isExecute&&!this.props.isExecute&&this.props.example&&this.setState({activeTab:"example"})}},{key:"render",value:function(){var at=this.props,dt=at.getComponent,mt=at.specSelectors,jt=at.schema,Zt=at.example,vn=at.isExecute,Vn=at.getConfigs,gr=at.specPath,ur=at.includeReadOnly,Or=at.includeWriteOnly,Hi=Vn().defaultModelExpandDepth,ki=dt("ModelWrapper"),Ki=dt("highlightCode"),ro=Qb()(5).toString("base64"),Io=Qb()(5).toString("base64"),bo=Qb()(5).toString("base64"),Ao=Qb()(5).toString("base64"),ea=mt.isOAS3();return W.default.createElement("div",{className:"model-example"},W.default.createElement("ul",{className:"tab",role:"tablist"},W.default.createElement("li",{className:(0,pf.default)("tabitem",{active:"example"===this.state.activeTab}),role:"presentation"},W.default.createElement("button",{"aria-controls":Io,"aria-selected":"example"===this.state.activeTab,className:"tablinks","data-name":"example",id:ro,onClick:this.activeTab,role:"tab"},vn?"Edit Value":"Example Value")),jt&&W.default.createElement("li",{className:(0,pf.default)("tabitem",{active:"model"===this.state.activeTab}),role:"presentation"},W.default.createElement("button",{"aria-controls":Ao,"aria-selected":"model"===this.state.activeTab,className:(0,pf.default)("tablinks",{inactive:vn}),"data-name":"model",id:bo,onClick:this.activeTab,role:"tab"},ea?"Schema":"Model"))),"example"===this.state.activeTab&&W.default.createElement("div",{"aria-hidden":"example"!==this.state.activeTab,"aria-labelledby":ro,"data-name":"examplePanel",id:Io,role:"tabpanel",tabIndex:"0"},Zt||W.default.createElement(Ki,{value:"(no example available)",getConfigs:Vn})),"model"===this.state.activeTab&&W.default.createElement("div",{"aria-hidden":"example"===this.state.activeTab,"aria-labelledby":bo,"data-name":"modelPanel",id:Ao,role:"tabpanel",tabIndex:"0"},W.default.createElement(ki,{schema:jt,getComponent:dt,getConfigs:Vn,specSelectors:mt,expandDepth:Hi,specPath:gr,includeReadOnly:ur,includeWriteOnly:Or})))}}]),Tt}(W.default.Component),SW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"onToggle",function(vn,Vn){dt.props.layoutActions&&dt.props.layoutActions.show(dt.props.fullPath,Vn)}),dt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt=this.props,jt=dt.getConfigs,Zt=(0,dt.getComponent)("Model");return this.props.layoutSelectors&&(at=this.props.layoutSelectors.isShown(this.props.fullPath)),W.default.createElement("div",{className:"model-box"},W.default.createElement(Zt,(0,f_.default)({},this.props,{getConfigs:jt,expanded:at,depth:1,onToggle:this.onToggle,expandDepth:this.props.expandDepth||0})))}}]),Tt}(W.Component),CW=is(1543),TW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"getSchemaBasePath",function(){return dt.props.specSelectors.isOAS3()?["components","schemas"]:["definitions"]}),(0,K.default)((0,to.default)(dt),"getCollapsedContent",function(){return" "}),(0,K.default)((0,to.default)(dt),"handleToggle",function(vn,Vn){var gr,ur;dt.props.layoutActions.show((0,s.default)(gr=[]).call(gr,(0,nf.default)(dt.getSchemaBasePath()),[vn]),Vn),Vn&&dt.props.specActions.requestResolvedSubtree((0,s.default)(ur=[]).call(ur,(0,nf.default)(dt.getSchemaBasePath()),[vn]))}),(0,K.default)((0,to.default)(dt),"onLoadModels",function(vn){vn&&dt.props.layoutActions.readyToScroll(dt.getSchemaBasePath(),vn)}),(0,K.default)((0,to.default)(dt),"onLoadModel",function(vn){if(vn){var Vn,gr=vn.getAttribute("data-name");dt.props.layoutActions.readyToScroll((0,s.default)(Vn=[]).call(Vn,(0,nf.default)(dt.getSchemaBasePath()),[gr]),vn)}}),dt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt=this,mt=this.props,jt=mt.specSelectors,Zt=mt.getComponent,vn=mt.layoutSelectors,Vn=mt.layoutActions,gr=mt.getConfigs,ur=jt.definitions(),Or=gr(),Hi=Or.docExpansion,ki=Or.defaultModelsExpandDepth;if(!ur.size||ki<0)return null;var Ki=this.getSchemaBasePath(),ro=vn.isShown(Ki,ki>0&&"none"!==Hi),Io=jt.isOAS3(),bo=Zt("ModelWrapper"),Ao=Zt("Collapse"),ea=Zt("ModelCollapse"),_a=Zt("JumpToPath",!0);return W.default.createElement("section",{className:ro?"models is-open":"models",ref:this.onLoadModels},W.default.createElement("h4",null,W.default.createElement("button",{"aria-expanded":ro,className:"models-control",onClick:function(){return Vn.show(Ki,!ro)}},W.default.createElement("span",null,Io?"Schemas":"Models"),W.default.createElement("svg",{width:"20",height:"20","aria-hidden":"true",focusable:"false"},W.default.createElement("use",{xlinkHref:ro?"#large-arrow-up":"#large-arrow-down"})))),W.default.createElement(Ao,{isOpened:ro},(0,Pe.default)(at=ur.entrySeq()).call(at,function(Fa){var aa,la=(0,Cl.default)(Fa,1)[0],ha=(0,s.default)(aa=[]).call(aa,(0,nf.default)(Ki),[la]),na=Pt.default.List(ha),Tl=jt.specResolvedSubtree(ha),Ta=jt.specJson().getIn(ha),sl=Pt.Map.isMap(Tl)?Tl:Pt.default.Map(),Ps=Pt.Map.isMap(Ta)?Ta:Pt.default.Map(),La=sl.get("title")||Ps.get("title")||la,Jl=vn.isShown(ha,!1);Jl&&0===sl.size&&Ps.size>0&&dt.props.specActions.requestResolvedSubtree(ha);var Id=W.default.createElement(bo,{name:la,expandDepth:ki,schema:sl||Pt.default.Map(),displayName:La,fullPath:ha,specPath:na,getComponent:Zt,specSelectors:jt,getConfigs:gr,layoutSelectors:vn,layoutActions:Vn,includeReadOnly:!0,includeWriteOnly:!0}),Mf=W.default.createElement("span",{className:"model-box"},W.default.createElement("span",{className:"model model-title"},La));return W.default.createElement("div",{id:"model-".concat(la),className:"model-container",key:"models-section-".concat(la),"data-name":la,ref:dt.onLoadModel},W.default.createElement("span",{className:"models-jump-to-path"},W.default.createElement(_a,{specPath:na})),W.default.createElement(ea,{classes:"model-box",collapsedContent:dt.getCollapsedContent(la),onToggle:dt.handleToggle,title:Mf,displayName:La,modelName:la,specPath:na,layoutSelectors:vn,layoutActions:Vn,hideSelfOnExpand:!0,expanded:ki>0&&Jl},Id))}).toArray()))}}]),Tt}(W.Component);const bW=function(Yn){var Sn=Yn.value,Tt=(0,Yn.getComponent)("ModelCollapse"),at=W.default.createElement("span",null,"Array [ ",Sn.count()," ]");return W.default.createElement("span",{className:"prop-enum"},"Enum:",W.default.createElement("br",null),W.default.createElement(Tt,{collapsedContent:at},"[ ",Sn.join(", ")," ]"))};var MW=["schema","name","displayName","isRef","getComponent","getConfigs","depth","onToggle","expanded","specPath"],OW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt,mt,jt,Zt=this.props,vn=Zt.schema,Vn=Zt.name,gr=Zt.displayName,ur=Zt.isRef,Or=Zt.getComponent,Hi=Zt.getConfigs,ki=Zt.depth,Ki=Zt.onToggle,ro=Zt.expanded,Io=Zt.specPath,bo=(0,tv.default)(Zt,MW),Ao=bo.specSelectors,ea=bo.expandDepth,_a=bo.includeReadOnly,Fa=bo.includeWriteOnly,aa=Ao.isOAS3;if(!vn)return null;var la=Hi().showExtensions,ha=vn.get("description"),na=vn.get("properties"),Tl=vn.get("additionalProperties"),Ta=vn.get("title")||gr||Vn,sl=vn.get("required"),Ps=(0,_.default)(vn).call(vn,function(_f,Hu){var hf;return-1!==(0,rt.default)(hf=["maxProperties","minProperties","nullable","example"]).call(hf,Hu)}),La=vn.get("deprecated"),Jl=Or("JumpToPath",!0),Id=Or("Markdown",!0),Mf=Or("Model"),Of=Or("ModelCollapse"),sp=Or("Property"),Uc=function(){return W.default.createElement("span",{className:"model-jump-to-path"},W.default.createElement(Jl,{specPath:Io}))},Fd=W.default.createElement("span",null,W.default.createElement("span",null,"{"),"...",W.default.createElement("span",null,"}"),ur?W.default.createElement(Uc,null):""),$u=Ao.isOAS3()?vn.get("anyOf"):null,Yp=Ao.isOAS3()?vn.get("oneOf"):null,Pp=Ao.isOAS3()?vn.get("not"):null,lm=Ta&&W.default.createElement("span",{className:"model-title"},ur&&vn.get("$$ref")&&W.default.createElement("span",{className:"model-hint"},vn.get("$$ref")),W.default.createElement("span",{className:"model-title__text"},Ta));return W.default.createElement("span",{className:"model"},W.default.createElement(Of,{modelName:Vn,title:lm,onToggle:Ki,expanded:!!ro||ki<=ea,collapsedContent:Fd},W.default.createElement("span",{className:"brace-open object"},"{"),ur?W.default.createElement(Uc,null):null,W.default.createElement("span",{className:"inner-object"},W.default.createElement("table",{className:"model"},W.default.createElement("tbody",null,ha?W.default.createElement("tr",{className:"description"},W.default.createElement("td",null,"description:"),W.default.createElement("td",null,W.default.createElement(Id,{source:ha}))):null,La?W.default.createElement("tr",{className:"property"},W.default.createElement("td",null,"deprecated:"),W.default.createElement("td",null,"true")):null,na&&na.size?(0,Pe.default)(at=(0,_.default)(dt=na.entrySeq()).call(dt,function(_f){var Hu=(0,Cl.default)(_f,2)[1];return(!Hu.get("readOnly")||_a)&&(!Hu.get("writeOnly")||Fa)})).call(at,function(_f){var Hu,hf,Af=(0,Cl.default)(_f,2),Df=Af[0],uh=Af[1],rf=aa()&&uh.get("deprecated"),sf=Pt.List.isList(sl)&&sl.contains(Df),Bf=["property-row"];return rf&&Bf.push("deprecated"),sf&&Bf.push("required"),W.default.createElement("tr",{key:Df,className:Bf.join(" ")},W.default.createElement("td",null,Df,sf&&W.default.createElement("span",{className:"star"},"*")),W.default.createElement("td",null,W.default.createElement(Mf,(0,f_.default)({key:(0,s.default)(Hu=(0,s.default)(hf="object-".concat(Vn,"-")).call(hf,Df,"_")).call(Hu,uh)},bo,{required:sf,getComponent:Or,specPath:Io.push("properties",Df),getConfigs:Hi,schema:uh,depth:ki+1}))))}).toArray():null,la?W.default.createElement("tr",null,W.default.createElement("td",null,"\xa0")):null,la?(0,Pe.default)(mt=vn.entrySeq()).call(mt,function(_f){var Hu=(0,Cl.default)(_f,2),hf=Hu[0],Af=Hu[1];if("x-"===(0,Ge.default)(hf).call(hf,0,2)){var Df=Af?Af.toJS?Af.toJS():Af:null;return W.default.createElement("tr",{key:hf,className:"extension"},W.default.createElement("td",null,hf),W.default.createElement("td",null,(0,M.default)(Df)))}}).toArray():null,Tl&&Tl.size?W.default.createElement("tr",null,W.default.createElement("td",null,"< * >:"),W.default.createElement("td",null,W.default.createElement(Mf,(0,f_.default)({},bo,{required:!1,getComponent:Or,specPath:Io.push("additionalProperties"),getConfigs:Hi,schema:Tl,depth:ki+1})))):null,$u?W.default.createElement("tr",null,W.default.createElement("td",null,"anyOf ->"),W.default.createElement("td",null,(0,Pe.default)($u).call($u,function(_f,Hu){return W.default.createElement("div",{key:Hu},W.default.createElement(Mf,(0,f_.default)({},bo,{required:!1,getComponent:Or,specPath:Io.push("anyOf",Hu),getConfigs:Hi,schema:_f,depth:ki+1})))}))):null,Yp?W.default.createElement("tr",null,W.default.createElement("td",null,"oneOf ->"),W.default.createElement("td",null,(0,Pe.default)(Yp).call(Yp,function(_f,Hu){return W.default.createElement("div",{key:Hu},W.default.createElement(Mf,(0,f_.default)({},bo,{required:!1,getComponent:Or,specPath:Io.push("oneOf",Hu),getConfigs:Hi,schema:_f,depth:ki+1})))}))):null,Pp?W.default.createElement("tr",null,W.default.createElement("td",null,"not ->"),W.default.createElement("td",null,W.default.createElement("div",null,W.default.createElement(Mf,(0,f_.default)({},bo,{required:!1,getComponent:Or,specPath:Io.push("not"),getConfigs:Hi,schema:Pp,depth:ki+1}))))):null))),W.default.createElement("span",{className:"brace-close"},"}")),Ps.size?(0,Pe.default)(jt=Ps.entrySeq()).call(jt,function(_f){var Hu,hf=(0,Cl.default)(_f,2),Af=hf[0],Df=hf[1];return W.default.createElement(sp,{key:(0,s.default)(Hu="".concat(Af,"-")).call(Hu,Df),propKey:Af,propVal:Df,propClass:"property"})}):null)}}]),Tt}(W.Component),AW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt=this.props,mt=dt.getComponent,jt=dt.getConfigs,Zt=dt.schema,vn=dt.depth,Vn=dt.expandDepth,gr=dt.name,ur=dt.displayName,Or=dt.specPath,Hi=Zt.get("description"),ki=Zt.get("items"),Ki=Zt.get("title")||ur||gr,ro=(0,_.default)(Zt).call(Zt,function(Fa,aa){var la;return-1===(0,rt.default)(la=["type","items","description","$$ref"]).call(la,aa)}),Io=mt("Markdown",!0),bo=mt("ModelCollapse"),Ao=mt("Model"),ea=mt("Property"),_a=Ki&&W.default.createElement("span",{className:"model-title"},W.default.createElement("span",{className:"model-title__text"},Ki));return W.default.createElement("span",{className:"model"},W.default.createElement(bo,{title:_a,expanded:vn<=Vn,collapsedContent:"[...]"},"[",ro.size?(0,Pe.default)(at=ro.entrySeq()).call(at,function(Fa){var aa,la=(0,Cl.default)(Fa,2),ha=la[0],na=la[1];return W.default.createElement(ea,{key:(0,s.default)(aa="".concat(ha,"-")).call(aa,na),propKey:ha,propVal:na,propClass:"property"})}):null,Hi?W.default.createElement(Io,{source:Hi}):ro.size?W.default.createElement("div",{className:"markdown"}):null,W.default.createElement("span",null,W.default.createElement(Ao,(0,f_.default)({},this.props,{getConfigs:jt,specPath:Or.push("items"),name:null,schema:ki,required:!1,depth:vn+1}))),"]"))}}]),Tt}(W.Component),Kb="property primitive",DW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at,dt,mt,jt=this.props,Zt=jt.schema,vn=jt.getComponent,gr=jt.name,ur=jt.displayName,Or=jt.depth,Hi=jt.expandDepth,ki=(0,jt.getConfigs)().showExtensions;if(!Zt||!Zt.get)return W.default.createElement("div",null);var Ki=Zt.get("type"),ro=Zt.get("format"),Io=Zt.get("xml"),bo=Zt.get("enum"),Ao=Zt.get("title")||ur||gr,ea=Zt.get("description"),_a=(0,jn.nX)(Zt),Fa=(0,_.default)(Zt).call(Zt,function(Ta,sl){var Ps;return-1===(0,rt.default)(Ps=["enum","type","format","description","$$ref"]).call(Ps,sl)}).filterNot(function(Ta,sl){return _a.has(sl)}),aa=vn("Markdown",!0),la=vn("EnumModel"),ha=vn("Property"),na=vn("ModelCollapse"),Tl=Ao&&W.default.createElement("span",{className:"model-title"},W.default.createElement("span",{className:"model-title__text"},Ao));return W.default.createElement("span",{className:"model"},W.default.createElement(na,{title:Tl,expanded:Or>=Hi,collapsedContent:" ",hideSelfOnExpand:Hi!==Or},W.default.createElement("span",{className:"prop"},gr&&Or>1&&W.default.createElement("span",{className:"prop-name"},Ao),W.default.createElement("span",{className:"prop-type"},Ki),ro&&W.default.createElement("span",{className:"prop-format"},"($",ro,")"),Fa.size?(0,Pe.default)(at=Fa.entrySeq()).call(at,function(Ta){var sl,Ps=(0,Cl.default)(Ta,2),La=Ps[0],Jl=Ps[1];return W.default.createElement(ha,{key:(0,s.default)(sl="".concat(La,"-")).call(sl,Jl),propKey:La,propVal:Jl,propClass:Kb})}):null,ki&&_a.size?(0,Pe.default)(dt=_a.entrySeq()).call(dt,function(Ta){var sl,Ps=(0,Cl.default)(Ta,2),La=Ps[0],Jl=Ps[1];return W.default.createElement(ha,{key:(0,s.default)(sl="".concat(La,"-")).call(sl,Jl),propKey:La,propVal:Jl,propClass:Kb})}):null,ea?W.default.createElement(aa,{source:ea}):null,Io&&Io.size?W.default.createElement("span",null,W.default.createElement("br",null),W.default.createElement("span",{className:Kb},"xml:"),(0,Pe.default)(mt=Io.entrySeq()).call(mt,function(Ta){var sl,Ps=(0,Cl.default)(Ta,2),La=Ps[0],Jl=Ps[1];return W.default.createElement("span",{key:(0,s.default)(sl="".concat(La,"-")).call(sl,Jl),className:Kb},W.default.createElement("br",null),"\xa0\xa0\xa0",La,": ",String(Jl))}).toArray()):null,bo&&W.default.createElement(la,{value:bo,getComponent:vn}))))}}]),Tt}(W.Component);const RW=function(Yn){var Sn=Yn.propKey,Tt=Yn.propVal;return W.default.createElement("span",{className:Yn.propClass},W.default.createElement("br",null),Sn,": ",String(Tt))};var C6=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.onTryoutClick,jt=at.onResetClick,Vn=at.isOAS3&&at.hasUserEditedBody;return W.default.createElement("div",{className:Vn?"try-out btn-group":"try-out"},at.enabled?W.default.createElement("button",{className:"btn try-out__btn cancel",onClick:at.onCancelClick},"Cancel"):W.default.createElement("button",{className:"btn try-out__btn",onClick:dt},"Try it out "),Vn&&W.default.createElement("button",{className:"btn try-out__btn reset",onClick:jt},"Reset"))}}]),Tt}(W.default.Component);(0,K.default)(C6,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,onResetClick:Function.prototype,enabled:!1,hasUserEditedBody:!1,isOAS3:!1});var T6=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,mt=at.isSwagger2,jt=at.isOAS3,Zt=at.alsoShow;return at.bypass?W.default.createElement("div",null,this.props.children):mt&&jt?W.default.createElement("div",{className:"version-pragma"},Zt,W.default.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},W.default.createElement("div",null,W.default.createElement("h3",null,"Unable to render this definition"),W.default.createElement("p",null,W.default.createElement("code",null,"swagger")," and ",W.default.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),W.default.createElement("p",null,"Supported version fields are ",W.default.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",W.default.createElement("code",null,"openapi: 3.0.n")," (for example, ",W.default.createElement("code",null,"openapi: 3.0.0"),").")))):mt||jt?W.default.createElement("div",null,this.props.children):W.default.createElement("div",{className:"version-pragma"},Zt,W.default.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},W.default.createElement("div",null,W.default.createElement("h3",null,"Unable to render this definition"),W.default.createElement("p",null,"The provided definition does not specify a valid version field."),W.default.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",W.default.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",W.default.createElement("code",null,"openapi: 3.0.n")," (for example, ",W.default.createElement("code",null,"openapi: 3.0.0"),")."))))}}]),Tt}(W.default.PureComponent);(0,K.default)(T6,"defaultProps",{alsoShow:null,children:null,bypass:!1});const PW=function(Yn){return W.default.createElement("small",null,W.default.createElement("pre",{className:"version"}," ",Yn.version," "))},xW=function(Yn){var Sn=Yn.enabled,at=Yn.text;return W.default.createElement("a",{className:"nostyle",onClick:Sn?function(dt){return dt.preventDefault()}:null,href:Sn?"#/".concat(Yn.path):null},W.default.createElement("span",null,at))},wW=function(){return W.default.createElement("div",null,W.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"svg-assets"},W.default.createElement("defs",null,W.default.createElement("symbol",{viewBox:"0 0 20 20",id:"unlocked"},W.default.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"})),W.default.createElement("symbol",{viewBox:"0 0 20 20",id:"locked"},W.default.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"})),W.default.createElement("symbol",{viewBox:"0 0 20 20",id:"close"},W.default.createElement("path",{d:"M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"})),W.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow"},W.default.createElement("path",{d:"M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"})),W.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-down"},W.default.createElement("path",{d:"M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"})),W.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-up"},W.default.createElement("path",{d:"M 17.418 14.908 C 17.69 15.176 18.127 15.176 18.397 14.908 C 18.667 14.64 18.668 14.207 18.397 13.939 L 10.489 6.109 C 10.219 5.841 9.782 5.841 9.51 6.109 L 1.602 13.939 C 1.332 14.207 1.332 14.64 1.602 14.908 C 1.873 15.176 2.311 15.176 2.581 14.908 L 10 7.767 L 17.418 14.908 Z"})),W.default.createElement("symbol",{viewBox:"0 0 24 24",id:"jump-to"},W.default.createElement("path",{d:"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"})),W.default.createElement("symbol",{viewBox:"0 0 24 24",id:"expand"},W.default.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"})))))};var NW=is(5466),IW=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.errSelectors,mt=at.specSelectors,jt=at.getComponent,Zt=jt("SvgAssets"),vn=jt("InfoContainer",!0),Vn=jt("VersionPragmaFilter"),gr=jt("operations",!0),ur=jt("Models",!0),Or=jt("Row"),Hi=jt("Col"),ki=jt("errors",!0),Ki=jt("ServersContainer",!0),ro=jt("SchemesContainer",!0),Io=jt("AuthorizeBtnContainer",!0),bo=jt("FilterContainer",!0),Ao=mt.isSwagger2(),ea=mt.isOAS3(),_a=!mt.specStr(),Fa=mt.loadingStatus(),aa=null;if("loading"===Fa&&(aa=W.default.createElement("div",{className:"info"},W.default.createElement("div",{className:"loading-container"},W.default.createElement("div",{className:"loading"})))),"failed"===Fa&&(aa=W.default.createElement("div",{className:"info"},W.default.createElement("div",{className:"loading-container"},W.default.createElement("h4",{className:"title"},"Failed to load API definition."),W.default.createElement(ki,null)))),"failedConfig"===Fa){var la=dt.lastError(),ha=la?la.get("message"):"";aa=W.default.createElement("div",{className:"info failed-config"},W.default.createElement("div",{className:"loading-container"},W.default.createElement("h4",{className:"title"},"Failed to load remote configuration."),W.default.createElement("p",null,ha)))}if(!aa&&_a&&(aa=W.default.createElement("h4",null,"No API definition provided.")),aa)return W.default.createElement("div",{className:"swagger-ui"},W.default.createElement("div",{className:"loading-container"},aa));var na=mt.servers(),Tl=mt.schemes(),Ta=na&&na.size,sl=Tl&&Tl.size,Ps=!!mt.securityDefinitions();return W.default.createElement("div",{className:"swagger-ui"},W.default.createElement(Zt,null),W.default.createElement(Vn,{isSwagger2:Ao,isOAS3:ea,alsoShow:W.default.createElement(ki,null)},W.default.createElement(ki,null),W.default.createElement(Or,{className:"information-container"},W.default.createElement(Hi,{mobile:12},W.default.createElement(vn,null))),Ta||sl||Ps?W.default.createElement("div",{className:"scheme-container"},W.default.createElement(Hi,{className:"schemes wrapper",mobile:12},Ta?W.default.createElement(Ki,null):null,sl?W.default.createElement(ro,null):null,Ps?W.default.createElement(Io,null):null)):null,W.default.createElement(bo,null),W.default.createElement(Or,null,W.default.createElement(Hi,{mobile:12,desktop:12},W.default.createElement(gr,null))),W.default.createElement(Or,null,W.default.createElement(Hi,{mobile:12,desktop:12},W.default.createElement(ur,null)))))}}]),Tt}(W.default.Component);const b6=(Yn=>{var Sn={};return is.d(Sn,Yn),Sn})({default:()=>uz()});var m0={value:"",onChange:function(){},schema:{},keyName:"",required:!1,errors:(0,Pt.List)()},M6=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){return(0,le.default)(this,Tt),Sn.apply(this,arguments)}return(0,fe.default)(Tt,[{key:"componentDidMount",value:function(){var at=this.props,dt=at.dispatchInitialValue,jt=at.onChange;dt?jt(at.value):!1===dt&&jt("")}},{key:"render",value:function(){var at,dt=this.props,mt=dt.schema,jt=dt.errors,Zt=dt.value,vn=dt.onChange,Vn=dt.getComponent,gr=dt.fn,ur=dt.disabled,Or=mt&&mt.get?mt.get("format"):null,Hi=mt&&mt.get?mt.get("type"):null,Ki=Hi?Vn(Or?(0,s.default)(at="JsonSchema_".concat(Hi,"_")).call(at,Or):"JsonSchema_".concat(Hi),!1,{failSilently:!0}):Vn("JsonSchema_string");return Ki||(Ki=Vn("JsonSchema_string")),W.default.createElement(Ki,(0,f_.default)({},this.props,{errors:jt,fn:gr,getComponent:Vn,value:Zt,onChange:vn,schema:mt,disabled:ur}))}}]),Tt}(W.Component);(0,K.default)(M6,"defaultProps",m0);var O6=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"onChange",function(vn){var Vn=dt.props.schema&&"file"===dt.props.schema.get("type")?vn.target.files[0]:vn.target.value;dt.props.onChange(Vn,dt.props.keyName)}),(0,K.default)((0,to.default)(dt),"onEnumChange",function(vn){return dt.props.onChange(vn)}),dt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.getComponent,mt=at.value,jt=at.schema,Zt=at.errors,vn=at.required,Vn=at.description,gr=at.disabled,ur=jt&&jt.get?jt.get("enum"):null,Or=jt&&jt.get?jt.get("format"):null,Hi=jt&&jt.get?jt.get("type"):null,ki=jt&&jt.get?jt.get("in"):null;if(mt||(mt=""),Zt=Zt.toJS?Zt.toJS():[],ur){var Ki=dt("Select");return W.default.createElement(Ki,{className:Zt.length?"invalid":"",title:Zt.length?Zt:"",allowedValues:ur,value:mt,allowEmptyValue:!vn,disabled:gr,onChange:this.onEnumChange})}var ro=gr||ki&&"formData"===ki&&!("FormData"in window),Io=dt("Input");return Hi&&"file"===Hi?W.default.createElement(Io,{type:"file",className:Zt.length?"invalid":"",title:Zt.length?Zt:"",onChange:this.onChange,disabled:ro}):W.default.createElement(b6.default,{type:Or&&"password"===Or?"password":"text",className:Zt.length?"invalid":"",title:Zt.length?Zt:"",value:mt,minLength:0,debounceTimeout:350,placeholder:Vn,onChange:this.onChange,disabled:ro})}}]),Tt}(W.Component);(0,K.default)(O6,"defaultProps",m0);var A6=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(at,dt){var mt;return(0,le.default)(this,Tt),mt=Sn.call(this,at,dt),(0,K.default)((0,to.default)(mt),"onChange",function(){mt.props.onChange(mt.state.value)}),(0,K.default)((0,to.default)(mt),"onItemChange",function(jt,Zt){mt.setState(function(vn){return{value:vn.value.set(Zt,jt)}},mt.onChange)}),(0,K.default)((0,to.default)(mt),"removeItem",function(jt){mt.setState(function(Zt){return{value:Zt.value.delete(jt)}},mt.onChange)}),(0,K.default)((0,to.default)(mt),"addItem",function(){var jt=WD(mt.state.value);mt.setState(function(){return{value:jt.push((0,jn.xi)(mt.state.schema.get("items"),!1,{includeWriteOnly:!0}))}},mt.onChange)}),(0,K.default)((0,to.default)(mt),"onEnumChange",function(jt){mt.setState(function(){return{value:jt}},mt.onChange)}),mt.state={value:WD(at.value),schema:at.schema},mt}return(0,fe.default)(Tt,[{key:"UNSAFE_componentWillReceiveProps",value:function(at){var dt=WD(at.value);dt!==this.state.value&&this.setState({value:dt}),at.schema!==this.state.schema&&this.setState({schema:at.schema})}},{key:"render",value:function(){var at,dt=this,mt=this.props,jt=mt.getComponent,Zt=mt.required,vn=mt.schema,Vn=mt.errors,gr=mt.fn,ur=mt.disabled;Vn=Vn.toJS?Vn.toJS():(0,we.default)(Vn)?Vn:[];var Or,Hi,ki=(0,_.default)(Vn).call(Vn,function(na){return"string"==typeof na}),Ki=(0,Pe.default)(at=(0,_.default)(Vn).call(Vn,function(na){return void 0!==na.needRemove})).call(at,function(na){return na.error}),ro=this.state.value,Io=!!(ro&&ro.count&&ro.count()>0),bo=vn.getIn(["items","enum"]),Ao=vn.getIn(["items","type"]),ea=vn.getIn(["items","format"]),_a=vn.get("items"),Fa=!1,aa="file"===Ao||"string"===Ao&&"binary"===ea;if(Ao&&ea?Or=jt((0,s.default)(Hi="JsonSchema_".concat(Ao,"_")).call(Hi,ea)):"boolean"!==Ao&&"array"!==Ao&&"object"!==Ao||(Or=jt("JsonSchema_".concat(Ao))),Or||aa||(Fa=!0),bo){var la=jt("Select");return W.default.createElement(la,{className:Vn.length?"invalid":"",title:Vn.length?Vn:"",multiple:!0,value:ro,disabled:ur,allowedValues:bo,allowEmptyValue:!Zt,onChange:this.onEnumChange})}var ha=jt("Button");return W.default.createElement("div",{className:"json-schema-array"},Io?(0,Pe.default)(ro).call(ro,function(na,Tl){var Ta,sl=(0,Pt.fromJS)((0,nf.default)((0,Pe.default)(Ta=(0,_.default)(Vn).call(Vn,function(Ps){return Ps.index===Tl})).call(Ta,function(Ps){return Ps.error})));return W.default.createElement("div",{key:Tl,className:"json-schema-form-item"},aa?W.default.createElement(VD,{value:na,onChange:function(Ps){return dt.onItemChange(Ps,Tl)},disabled:ur,errors:sl,getComponent:jt}):Fa?W.default.createElement(zD,{value:na,onChange:function(Ps){return dt.onItemChange(Ps,Tl)},disabled:ur,errors:sl}):W.default.createElement(Or,(0,f_.default)({},dt.props,{value:na,onChange:function(Ps){return dt.onItemChange(Ps,Tl)},disabled:ur,errors:sl,schema:_a,getComponent:jt,fn:gr})),ur?null:W.default.createElement(ha,{className:"btn btn-sm json-schema-form-item-remove ".concat(Ki.length?"invalid":null),title:Ki.length?Ki:"",onClick:function(){return dt.removeItem(Tl)}}," - "))}):null,ur?null:W.default.createElement(ha,{className:"btn btn-sm json-schema-form-item-add ".concat(ki.length?"invalid":null),title:ki.length?ki:"",onClick:this.addItem},"Add ",Ao?"".concat(Ao," "):"","item"))}}]),Tt}(W.PureComponent);(0,K.default)(A6,"defaultProps",m0);var zD=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"onChange",function(vn){dt.props.onChange(vn.target.value,dt.props.keyName)}),dt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.value,mt=at.errors,jt=at.description,Zt=at.disabled;return dt||(dt=""),mt=mt.toJS?mt.toJS():[],W.default.createElement(b6.default,{type:"text",className:mt.length?"invalid":"",title:mt.length?mt:"",value:dt,minLength:0,debounceTimeout:350,placeholder:jt,onChange:this.onChange,disabled:Zt})}}]),Tt}(W.Component);(0,K.default)(zD,"defaultProps",m0);var VD=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"onFileChange",function(vn){dt.props.onChange(vn.target.files[0],dt.props.keyName)}),dt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,mt=at.errors,jt=at.disabled,Zt=(0,at.getComponent)("Input"),vn=jt||!("FormData"in window);return W.default.createElement(Zt,{type:"file",className:mt.length?"invalid":"",title:mt.length?mt:"",onChange:this.onFileChange,disabled:vn})}}]),Tt}(W.Component);(0,K.default)(VD,"defaultProps",m0);var D6=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at,dt;(0,le.default)(this,Tt);for(var mt=arguments.length,jt=new Array(mt),Zt=0;Zt<mt;Zt++)jt[Zt]=arguments[Zt];return dt=Sn.call.apply(Sn,(0,s.default)(at=[this]).call(at,jt)),(0,K.default)((0,to.default)(dt),"onEnumChange",function(vn){return dt.props.onChange(vn)}),dt}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,dt=at.getComponent,mt=at.value,jt=at.errors,Zt=at.schema,vn=at.required,Vn=at.disabled;jt=jt.toJS?jt.toJS():[];var gr=Zt&&Zt.get?Zt.get("enum"):null,ur=!gr||!vn,Or=!gr&&(0,Pt.fromJS)(["true","false"]),Hi=dt("Select");return W.default.createElement(Hi,{className:jt.length?"invalid":"",title:jt.length?jt:"",value:String(mt),disabled:Vn,allowedValues:gr||Or,allowEmptyValue:ur,onChange:this.onEnumChange})}}]),Tt}(W.Component);(0,K.default)(D6,"defaultProps",m0);var FW=function(Yn){return(0,Pe.default)(Yn).call(Yn,function(Sn){var Tt,dt="string"==typeof Sn?Sn:"string"==typeof Sn.error?Sn.error:null;if(!(void 0!==Sn.propKey?Sn.propKey:Sn.index)&&dt)return dt;for(var mt=Sn.error,jt="/".concat(Sn.propKey);"object"===(0,n.default)(mt);){var Zt=void 0!==mt.propKey?mt.propKey:mt.index;if(void 0===Zt||(jt+="/".concat(Zt),!mt.error))break;mt=mt.error}return(0,s.default)(Tt="".concat(jt,": ")).call(Tt,mt)})},R6=function(Yn){(0,No.default)(Tt,Yn);var Sn=(0,Uo.default)(Tt);function Tt(){var at;return(0,le.default)(this,Tt),at=Sn.call(this),(0,K.default)((0,to.default)(at),"onChange",function(dt){at.props.onChange(dt)}),(0,K.default)((0,to.default)(at),"handleOnChange",function(dt){at.onChange(dt.target.value)}),at}return(0,fe.default)(Tt,[{key:"render",value:function(){var at=this.props,mt=at.value,jt=at.errors,Zt=at.disabled,vn=(0,at.getComponent)("TextArea");return jt=jt.toJS?jt.toJS():(0,we.default)(jt)?jt:[],W.default.createElement("div",null,W.default.createElement(vn,{className:(0,pf.default)({invalid:jt.length}),title:jt.length?FW(jt).join(", "):"",value:(0,jn.Pz)(mt),disabled:Zt,onChange:this.handleOnChange}))}}]),Tt}(W.PureComponent);function WD(Yn){return Pt.List.isList(Yn)?Yn:(0,we.default)(Yn)?(0,Pt.fromJS)(Yn):(0,Pt.List)()}function LW(){return[To.default,Ti.default,yi.default,ho.default,ci.default,Mr.default,Jn.default,Yi.default,{components:{App:mr,authorizationPopup:Zr,authorizeBtn:ui,AuthorizeBtnContainer:no,authorizeOperationBtn:Ca,auths:vs,AuthItem:Hl,authError:Wl,oauth2:u_,apiKeyAuth:$c,basicAuth:Nu,clear:fo,liveResponse:Oo,InitializedInput:oW,info:uW,InfoContainer:dW,JumpToPath:fW,onlineValidatorBadge:ls.Z,operations:Gs,operation:po,OperationSummary:Fs,OperationSummaryMethod:Jc,OperationSummaryPath:Yl,highlightCode:N_,responses:Wm,response:bg,ResponseExtension:Am,responseBody:Yb,parameters:dS,parameterRow:Vb,execute:Jb,headers:Rl,errors:Su,contentType:h0,overview:nW,footer:pW,FilterContainer:_W,ParamBody:E6,curl:mW,schemes:gW,SchemesContainer:vW,modelExample:EW,ModelWrapper:SW,ModelCollapse:S6,Model:CW.Z,Models:TW,EnumModel:bW,ObjectModel:OW,ArrayModel:AW,PrimitiveModel:DW,Property:RW,TryItOutButton:C6,Markdown:NW.Z,BaseLayout:IW,VersionPragmaFilter:T6,VersionStamp:PW,OperationExt:ul,OperationExtRow:vu,ParameterExt:Zb,ParameterIncludeEmpty:fS,OperationTag:Us,OperationContainer:Nt,DeepLink:xW,InfoUrl:cW,InfoBasePath:sW,SvgAssets:wW,Example:op,ExamplesSelect:yd,ExamplesSelectValueRetainer:ah}},{components:t},qn.default,{components:i},In.default,Ji.default,fs.default,Xo.default,Sa.default,lo.default,(0,Aa.default)()]}(0,K.default)(R6,"defaultProps",m0);var kW=is(7451);function P6(){return[LW,kW.default]}var $W=is(5308),HW=!0,UW="ga7e23b5",BW="4.12.0",GW="Fri, 03 Jun 2022 17:07:59 GMT";function JD(Yn){var Sn,Tt,at;Xn.Z.versions=Xn.Z.versions||{},Xn.Z.versions.swaggerUi={version:BW,gitRevision:UW,gitDirty:HW,buildTimestamp:GW};var dt={dom_id:null,domNode:null,spec:{},url:"",urls:null,layout:"BaseLayout",docExpansion:"list",maxDisplayedTags:null,filter:null,validatorUrl:"https://validator.swagger.io/validator",oauth2RedirectUrl:(0,s.default)(Sn=(0,s.default)(Tt="".concat(window.location.protocol,"//")).call(Tt,window.location.host)).call(Sn,window.location.pathname.substring(0,(0,l.default)(at=window.location.pathname).call(at,"/")),"/oauth2-redirect.html"),persistAuthorization:!1,configs:{},custom:{},displayOperationId:!1,displayRequestDuration:!1,deepLinking:!1,tryItOutEnabled:!1,requestInterceptor:function(ki){return ki},responseInterceptor:function(ki){return ki},showMutatedRequest:!0,defaultModelRendering:"example",defaultModelExpandDepth:1,defaultModelsExpandDepth:1,showExtensions:!1,showCommonExtensions:!1,withCredentials:void 0,requestSnippetsEnabled:!1,requestSnippets:{generators:{curl_bash:{title:"cURL (bash)",syntax:"bash"},curl_powershell:{title:"cURL (PowerShell)",syntax:"powershell"},curl_cmd:{title:"cURL (CMD)",syntax:"bash"}},defaultExpanded:!0,languages:null},supportedSubmitMethods:["get","put","post","delete","options","head","patch","trace"],queryConfigEnabled:!1,presets:[P6],plugins:[],pluginsOptions:{pluginLoadType:"legacy"},initialState:{},fn:{},components:{},syntaxHighlight:{activated:!0,theme:"agate"}},mt=Yn.queryConfigEnabled?(0,jn.UG)():{},jt=Yn.domNode;delete Yn.domNode;var Zt=Y()({},dt,Yn,mt),vn={system:{configs:Zt.configs},plugins:Zt.presets,pluginsOptions:Zt.pluginsOptions,state:Y()({layout:{layout:Zt.layout,filter:(0,_.default)(Zt)},spec:{spec:"",url:Zt.url},requestSnippets:Zt.requestSnippets},Zt.initialState)};if(Zt.initialState)for(var Vn in Zt.initialState)Object.prototype.hasOwnProperty.call(Zt.initialState,Vn)&&void 0===Zt.initialState[Vn]&&delete vn.state[Vn];var gr=new Ur(vn);gr.register([Zt.plugins,function(){return{fn:Zt.fn,components:Zt.components,state:Zt.state}}]);var ur=gr.getSystem(),Or=function(ki){var Ki=ur.specSelectors.getLocalConfig?ur.specSelectors.getLocalConfig():{},ro=Y()({},Ki,Zt,ki||{},mt);if(jt&&(ro.domNode=jt),gr.setConfigs(ro),ur.configsActions.loaded(),null!==ki&&(!mt.url&&"object"===(0,n.default)(ro.spec)&&(0,g.default)(ro.spec).length?(ur.specActions.updateUrl(""),ur.specActions.updateLoadingStatus("success"),ur.specActions.updateSpec((0,M.default)(ro.spec))):ur.specActions.download&&ro.url&&!ro.urls&&(ur.specActions.updateUrl(ro.url),ur.specActions.download(ro.url))),ro.domNode)ur.render(ro.domNode,"App");else if(ro.dom_id){var Io=document.querySelector(ro.dom_id);ur.render(Io,"App")}else null===ro.dom_id||null===ro.domNode||console.error("Skipped rendering: no `dom_id` or `domNode` was specified");return ur},Hi=mt.config||Zt.configUrl;return Hi&&ur.specActions&&ur.specActions.getConfigByUrl?(ur.specActions.getConfigByUrl({url:Hi,loadRemoteConfig:!0,requestInterceptor:Zt.requestInterceptor,responseInterceptor:Zt.responseInterceptor},Or),ur):Or()}JD.presets={apis:P6},JD.plugins=$W.default;const YW=JD})();var fz=o6.Z;let pz=(()=>{class t{ngOnInit(){fz({url:window.location.origin+"/docs/openapi.json",dom_id:"#swagger-ui",layout:"BaseLayout"})}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-api-docs"]],decls:1,vars:0,consts:[["id","swagger-ui",1,"apiDocs"]],template:function(n,s){1&n&&e._UZ(0,"div",0)},styles:[".apiDocs[_ngcontent-%COMP%]{background:#f8f9fa;font-size:18px!important;margin-top:-48px!important}"]}),t})();var UD=o(83357),_z=o(4268),s6=o(45510);let a6=(()=>{class t{constructor(n,s){this.router=n,this.authStorageService=s}canActivate(n,s){return!(this.authStorageService.isLoggedIn()&&!this.authStorageService.isSSO()&&this.authStorageService.getPwdUpdateRequired()&&(this.router.navigate(["/login-change-password"],{queryParams:{returnUrl:s.url}}),1))}canActivateChild(n,s){return this.canActivate(n,s)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(Ce.F0),e.LFG(fa.j))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var BD=o(4222),Ry=o(54462);let l6=(()=>{class t{constructor(n){this.authStorageService=n}canActivate(){if(!this.authStorageService.isSSO())return!0;throw new tE.mM}canActivateChild(){return this.canActivate()}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(fa.j))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const hz=["crushInfoTabs"],mz=["crushDeletionBtn"],gz=["ecpInfoTabs"],vz=["ecpDeletionBtn"];function yz(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",18),e.SDv(1,19),e.qZA())}function Ez(t,i){if(1&t&&(e.ynx(0),e.YNc(1,yz,2,0,"cd-alert-panel",17),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!n.editing)}}function Sz(t,i){1&t&&(e.TgZ(0,"span",20),e.SDv(1,21),e.qZA())}function Cz(t,i){1&t&&(e.TgZ(0,"span",20),e.SDv(1,22),e.qZA())}function Tz(t,i){1&t&&(e.TgZ(0,"div",9)(1,"label",24),e.SDv(2,25),e.qZA(),e.TgZ(3,"div",12)(4,"select",26)(5,"option",27),e.SDv(6,28),e.qZA(),e.TgZ(7,"option",29),e.SDv(8,30),e.qZA()()()())}function bz(t,i){1&t&&(e.TgZ(0,"span",20),e.SDv(1,34),e.qZA())}function Mz(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",9)(1,"label",31),e.SDv(2,32),e.qZA(),e.TgZ(3,"div",12)(4,"input",33),e.NdJ("focus",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.labelFocus.next(l.target.value))})("click",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.labelClick.next(l.target.value))}),e.qZA(),e.YNc(5,bz,2,0,"span",14),e.qZA()()}if(2&t){e.oxw(2);const n=e.MAs(2),s=e.oxw();e.xp6(4),e.Q6J("ngbTypeahead",s.searchLabels),e.xp6(1),e.Q6J("ngIf",s.form.showError("label",n,"required"))}}function Oz(t,i){if(1&t&&(e.TgZ(0,"div",9)(1,"label",35),e.SDv(2,36),e.qZA(),e.TgZ(3,"div",12),e._UZ(4,"cd-select-badges",37),e.qZA()()),2&t){const n=e.oxw(3);e.xp6(4),e.Q6J("data",n.form.controls.hosts.value)("options",n.hosts.options)("messages",n.hosts.messages)}}function Az(t,i){if(1&t&&(e.ynx(0),e.YNc(1,Tz,9,0,"div",23),e.YNc(2,Mz,6,2,"div",23),e.YNc(3,Oz,5,3,"div",23),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!n.editing),e.xp6(1),e.Q6J("ngIf","label"===n.form.controls.placement.value&&!n.editing),e.xp6(1),e.Q6J("ngIf","hosts"===n.form.controls.placement.value&&!n.editing)}}function Dz(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(4,"div",4)(5,"div",5),e.SDv(6,6),e.ALo(7,"titlecase"),e.ALo(8,"upperFirst"),e.qZA(),e.YNc(9,Ez,2,1,"ng-container",7),e.TgZ(10,"div",8)(11,"div",9)(12,"label",10),e.SDv(13,11),e.qZA(),e.TgZ(14,"div",12),e._UZ(15,"input",13),e.YNc(16,Sz,2,0,"span",14),e.YNc(17,Cz,2,0,"span",14),e.qZA()(),e.YNc(18,Az,4,3,"ng-container",7),e.qZA(),e.TgZ(19,"div",15)(20,"cd-form-button-panel",16),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.submit())}),e.ALo(21,"titlecase"),e.ALo(22,"upperFirst"),e.qZA()()()()()}if(2&t){const n=i.ngIf,s=e.MAs(3),l=e.oxw();e.xp6(1),e.Q6J("formGroup",l.form),e.xp6(7),e.pQV(e.lcZ(7,9,l.action))(e.lcZ(8,11,l.resource)),e.QtT(6),e.xp6(1),e.Q6J("ngIf",!n.available),e.xp6(7),e.Q6J("ngIf",l.form.showError("name",s,"required")),e.xp6(1),e.Q6J("ngIf",l.form.showError("name",s,"pattern")),e.xp6(1),e.Q6J("ngIf",n.available),e.xp6(2),e.Q6J("form",l.form)("submitText",e.lcZ(21,13,l.action)+" "+e.lcZ(22,15,l.resource))}}let c6=(()=>{class t extends de.E{constructor(n,s,l,_,g,M,x,Y){super(),this.router=n,this.taskWrapperService=s,this.orchService=l,this.formBuilder=_,this.actionLabels=g,this.hostService=M,this.cephfsService=x,this.route=Y,this.labelFocus=new Ai.xQ,this.labelClick=new Ai.xQ,this.icons=ei.P,this.searchLabels=K=>(0,$g.T)(K.pipe((0,Xe.b)(200),(0,rn.x)()),this.labelFocus,this.labelClick.pipe((0,as.h)(()=>!this.typeahead.isPopupOpen()))).pipe((0,ss.U)(le=>this.labels.filter(fe=>fe.toLowerCase().indexOf(le.toLowerCase())>-1).slice(0,10))),this.editing=this.router.url.startsWith(`/cephfs/${Dr.MQ.EDIT}`),this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.CREATE,this.resource="File System",this.hosts={options:[],messages:new Mu.a({empty:"There are no hosts.",filter:"Filter hosts"})},this.createForm()}createForm(){this.orchService.status().subscribe(n=>{this.hasOrchestrator=n.available}),this.form=this.formBuilder.group({name:new se.NI("",{validators:[se.kI.pattern(/^(?:[.][A-Za-z0-9_-]+|[A-Za-z][.A-Za-z0-9_-]*)$/),se.kI.required]}),placement:["hosts"],hosts:[[]],label:[null,[zo.h.requiredIf({placement:"label",unmanaged:!1})]],unmanaged:[!1]})}ngOnInit(){if(this.editing)this.route.params.subscribe(n=>{this.currentVolumeName=n.name,this.form.get("name").setValue(this.currentVolumeName)});else{const n=new gd.E(()=>{});this.hostService.list(n.toParams(),"false").subscribe(s=>{const l=[];Ke().forEach(s,_=>{if(Ke().get(_,"sources.orchestrator",!1)){const g=new Dh.$(!1,Ke().get(_,"hostname"),"");l.push(g)}}),this.hosts.options=[...l]}),this.hostService.getLabels().subscribe(s=>{this.labels=s})}this.orchStatus$=this.orchService.status()}submit(){const n=this.form.get("name").value,s="cephfs";if(this.editing)this.taskWrapperService.wrapTaskAroundCall({task:new ce.R(`${s}/${Dr.MQ.EDIT}`,{volumeName:n}),call:this.cephfsService.rename(this.currentVolumeName,n)}).subscribe({error:()=>{this.form.setErrors({cdSubmitButton:!0})},complete:()=>{this.router.navigate([s])}});else{let l=this.form.getRawValue();const _={placement:{},unmanaged:l.unmanaged};switch(l.placement){case"hosts":l.hosts.length>0&&(_.placement.hosts=l.hosts);break;case"label":_.placement.label=l.label}const g=this;this.taskWrapperService.wrapTaskAroundCall({task:new ce.R(`${s}/${Dr.MQ.CREATE}`,{volumeName:n}),call:this.cephfsService.create(this.form.get("name").value,_)}).subscribe({error(){g.form.setErrors({cdSubmitButton:!0})},complete:()=>{this.router.navigate([s])}})}}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ce.F0),e.Y36(Gr.P),e.Y36(sd),e.Y36(Xd.O),e.Y36(Dr.p4),e.Y36(Dd.x),e.Y36(Fr),e.Y36(Ce.gz))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-form"]],viewQuery:function(n,s){if(1&n&&(e.Gf(hz,5),e.Gf(mz,5),e.Gf(gz,5),e.Gf(vz,5),e.Gf(Be.dR,5)),2&n){let l;e.iGM(l=e.CRH())&&(s.crushInfoTabs=l.first),e.iGM(l=e.CRH())&&(s.crushDeletionBtn=l.first),e.iGM(l=e.CRH())&&(s.ecpInfoTabs=l.first),e.iGM(l=e.CRH())&&(s.ecpDeletionBtn=l.first),e.iGM(l=e.CRH())&&(s.typeahead=l.first)}},features:[e.qOj],decls:2,vars:3,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Name",s="Name...",l="Orchestrator is not configured. Deploy MDS daemons manually after creating the volume.",_="This field is required!",g="File System name should start with a letter or dot (.) and can only contain letters, numbers, '.', '-' or '_'",M="Placement",x="Hosts",Y="Label",K="Label",le="This field is required.",fe="Hosts",[["class","cd-col-form",4,"ngIf"],[1,"cd-col-form"],["novalidate","",3,"formGroup"],["frm","ngForm","formDir","ngForm"],[1,"card"],[1,"card-header"],i,[4,"ngIf"],[1,"card-body"],[1,"form-group","row"],["for","name",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["id","name","name","name","type","text","placeholder",s,"formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],["type","info","class","m-3","spacingClass","mt-3",4,"ngIf"],["type","info","spacingClass","mt-3",1,"m-3"],l,[1,"invalid-feedback"],_,g,["class","form-group row",4,"ngIf"],["for","placement",1,"cd-col-form-label"],M,["id","placement","formControlName","placement",1,"form-select"],["value","hosts"],x,["value","label"],Y,["for","label",1,"cd-col-form-label"],K,["id","label","type","text","formControlName","label",1,"form-control",3,"ngbTypeahead","focus","click"],le,["for","hosts",1,"cd-col-form-label"],fe,["id","hosts",3,"data","options","messages"]]},template:function(n,s){1&n&&(e.YNc(0,Dz,23,17,"div",0),e.ALo(1,"async")),2&n&&e.Q6J("ngIf",e.lcZ(1,1,s.orchStatus$))},dependencies:[f.O5,J_.m,Hr.G,lt.p,B.U,Ht.o,wn.b,ar.P,cr.V,se._Y,se.YN,se.Kr,se.Fj,se.EJ,se.JJ,se.JL,se.sg,se.u,Be.dR,f.Ov,f.rS,_i.m]}),t})();var GD=o(7357),Rz=o(94458),xz=o(51307);let YD=(()=>{class t extends Kh.S{constructor(n,s){super(),this.http=n,this.summaryService=s,this.baseURL="api/cluster/upgrade",this.upgradableServiceTypes=["mgr","mon","crash","osd","mds","rgw","rbd-mirror","cephfs-mirror","iscsi","nfs"]}list(){return this.http.get(this.baseURL).pipe((0,ss.U)(n=>this.versionAvailableForUpgrades(n)))}versionAvailableForUpgrades(n){let s="";this.summaryService.subscribe(_=>{s=_.version.replace("ceph version ","").split("-")[0]});const l=n.versions.filter(_=>{const g=s.split("."),M=_.split(".");return g[0]===M[0]&&(g[1]<M[1]||g[2]<M[2])});return n.versions=l.sort(),n}start(n,s){return this.http.post(`${this.baseURL}/start`,{image:s,version:n})}pause(){return this.http.put(`${this.baseURL}/pause`,null)}resume(){return this.http.put(`${this.baseURL}/resume`,null)}stop(){return this.http.put(`${this.baseURL}/stop`,null)}status(){return this.http.get(`${this.baseURL}/status`)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN),e.LFG(zm.J))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const wz=["class","component"];function Nz(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",11),e.SDv(1,12),e.qZA())}function Iz(t,i){1&t&&(e.TgZ(0,"option",22),e.SDv(1,23),e.qZA())}function Fz(t,i){1&t&&(e.TgZ(0,"option",24),e.SDv(1,25),e.qZA()),2&t&&e.Q6J("ngValue",null)}function Lz(t,i){1&t&&(e.TgZ(0,"option",24),e.SDv(1,26),e.qZA()),2&t&&e.Q6J("ngValue",null)}function kz(t,i){if(1&t&&(e.TgZ(0,"option",27),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(n)}}function $z(t,i){1&t&&(e.TgZ(0,"span",28),e.SDv(1,29),e.qZA())}const Hz=function(t){return{required:t}};function Uz(t,i){if(1&t&&(e.TgZ(0,"div",13)(1,"label",14),e.SDv(2,15),e.qZA(),e.TgZ(3,"div",16)(4,"select",17),e.YNc(5,Iz,2,0,"option",18),e.YNc(6,Fz,2,1,"option",19),e.YNc(7,Lz,2,1,"option",19),e.YNc(8,kz,2,2,"option",20),e.qZA(),e.YNc(9,$z,2,0,"span",21),e.qZA()()),2&t){const n=e.oxw(),s=e.MAs(7);e.xp6(1),e.Q6J("ngClass",e.VKq(6,Hz,!n.showImageField)),e.xp6(4),e.Q6J("ngIf",null===n.versions),e.xp6(1),e.Q6J("ngIf",null!==n.versions&&0===n.versions.length),e.xp6(1),e.Q6J("ngIf",null!==n.versions&&n.versions.length>0),e.xp6(1),e.Q6J("ngForOf",n.versions),e.xp6(1),e.Q6J("ngIf",n.upgradeForm.showError("availableVersions",s,"required"))}}function Bz(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",13)(1,"div",30)(2,"div",31)(3,"input",32),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.useImage())}),e.qZA(),e.TgZ(4,"label",33),e.SDv(5,34),e.qZA()()()()}}function Gz(t,i){1&t&&(e.TgZ(0,"span",28),e.SDv(1,38),e.qZA())}function Yz(t,i){if(1&t&&(e.TgZ(0,"div",13)(1,"label",35),e.SDv(2,36),e.qZA(),e.TgZ(3,"div",16),e._UZ(4,"input",37),e.YNc(5,Gz,2,0,"span",21),e.qZA()()),2&t){const n=e.oxw(),s=e.MAs(7);e.xp6(5),e.Q6J("ngIf",n.upgradeForm.showError("customImageName",s,"required"))}}let jz=(()=>{class t{constructor(n,s,l,_,g){this.actionLabels=n,this.authStorageService=s,this.activeModal=l,this.upgradeService=_,this.notificationService=g,this.icons=ei.P,this.showImageField=!1,this.permission=this.authStorageService.getPermissions().configOpt}ngOnInit(){if(this.upgradeForm=new Fe.d({availableVersions:new se.NI(null,[se.kI.required]),useImage:new se.NI(!1),customImageName:new se.NI(null)}),void 0===this.versions){this.upgradeForm.get("availableVersions").clearValidators();const s=this.upgradeForm.get("customImageName");s.setValidators(se.kI.required),s.updateValueAndValidity()}}startUpgrade(){const n=this.upgradeForm.getValue("availableVersions"),s=this.upgradeForm.getValue("customImageName");this.upgradeService.start(n,s).subscribe({next:()=>{this.notificationService.show(ua.k.success,"Started upgrading the cluster")},error:l=>{this.upgradeForm.setErrors({cdSubmitButton:!0}),this.notificationService.show(ua.k.error,"Failed to start the upgrade",l)},complete:()=>{this.activeModal.close()}})}useImage(){this.showImageField=!this.showImageField;const n=this.upgradeForm.get("availableVersions"),s=this.upgradeForm.get("customImageName");this.showImageField?(n.disable(),n.clearValidators(),s.setValidators(se.kI.required),s.updateValueAndValidity()):(n.enable(),n.setValidators(se.kI.required),n.updateValueAndValidity(),s.clearValidators())}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Dr.p4),e.Y36(fa.j),e.Y36(Be.Kz),e.Y36(YD),e.Y36(Le.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-upgrade-start-modal",8,"component"]],attrs:wz,decls:15,vars:8,consts:function(){let i,n,s,l,_,g,M,x,Y,K;return i="Upgrade Cluster",n="Make sure to put the correct image. Passing an incorrect image can lead the cluster into an undesired state.",s="New Version",l="Loading...",_="-- No version available --",g="-- Select a version --",M="This field is required!",x="Use image",Y="Image",K="This field is required!",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","upgradeForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],["type","warning","spacingClass","mb-3",4,"ngIf"],["class","form-group row",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],["type","warning","spacingClass","mb-3"],n,[1,"form-group","row"],["for","availableVersions",1,"cd-col-form-label",3,"ngClass"],s,[1,"cd-col-form-input"],["id","availableVersions","name","availableVersions","formControlName","availableVersions",1,"form-select"],["ngValue","null",4,"ngIf"],[3,"ngValue",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],["ngValue","null"],l,[3,"ngValue"],_,g,[3,"value"],[1,"invalid-feedback"],M,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","useImage","name","useImage","formControlName","useImage",1,"custom-control-input",3,"click"],["for","useImage",1,"custom-control-label"],x,["for","customImageName",1,"cd-col-form-label","required"],Y,["type","text","id","customImageName","name","customImageName","formControlName","customImageName",1,"form-control"],K]},template:function(n,s){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1)(2),e.SDv(3,2),e.BQk(),e._uU(4,"\xa0 "),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6),e.YNc(9,Nz,2,0,"cd-alert-panel",7),e.YNc(10,Uz,10,8,"div",8),e.YNc(11,Bz,6,0,"div",8),e.YNc(12,Yz,6,1,"div",8),e.qZA(),e.TgZ(13,"div",9)(14,"cd-form-button-panel",10),e.NdJ("submitActionEvent",function(){return s.startUpgrade()}),e.qZA()()(),e.BQk(),e.qZA()),2&n&&(e.Q6J("modalRef",s.activeModal),e.xp6(6),e.Q6J("formGroup",s.upgradeForm),e.xp6(3),e.Q6J("ngIf",s.showImageField),e.xp6(1),e.Q6J("ngIf",s.versions),e.xp6(1),e.Q6J("ngIf",s.versions),e.xp6(1),e.Q6J("ngIf",s.showImageField||!s.versions),e.xp6(2),e.Q6J("form",s.upgradeForm)("submitText",s.actionLabels.START_UPGRADE))},dependencies:[f.mk,f.sg,f.O5,Kt.z,Hr.G,lt.p,Ht.o,wn.b,ar.P,cr.V,se._Y,se.YN,se.Kr,se.Fj,se.Wl,se.EJ,se.JJ,se.JL,se.sg,se.u]}),t})();var Zz=o(23240);const Py=function(t){return[t]};function zz(t,i){if(1&t&&(e.TgZ(0,"h5"),e.tHW(1,31),e._UZ(2,"i",32),e.N_p(),e.qZA()),2&t){const n=e.oxw(5);e.xp6(2),e.Q6J("ngClass",e.VKq(2,Py,n.icons.spinner)),e.pQV(null==n.executingTasks?null:n.executingTasks.progress),e.QtT(1)}}const Bb=function(t,i){return[t,i]};function Vz(t,i){if(1&t&&(e.TgZ(0,"h5"),e.tHW(1,33),e._UZ(2,"i",32),e.N_p(),e.qZA()),2&t){const n=e.oxw(5);e.xp6(2),e.Q6J("ngClass",e.WLB(2,Bb,n.icons.spin,n.icons.spinner)),e.pQV(null==n.executingTasks?null:n.executingTasks.progress),e.QtT(1)}}function Wz(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",27),e.YNc(2,zz,3,4,"h5",16),e.TgZ(3,"a",28),e.SDv(4,29),e.qZA()(),e.YNc(5,Vz,3,5,"ng-template",null,30,e.W1O),e.BQk()),2&t){const n=e.MAs(6),s=e.oxw().ngIf;e.xp6(2),e.Q6J("ngIf",s.is_paused)("ngIfElse",n)}}function Jz(t,i){if(1&t&&(e.TgZ(0,"cd-card",26),e.YNc(1,Wz,7,2,"ng-container",16),e.qZA()),2&t){const n=i.ngIf;e.oxw();const s=e.MAs(31);e.xp6(1),e.Q6J("ngIf",n.in_progress)("ngIfElse",s)}}function Qz(t,i){if(1&t&&(e.TgZ(0,"li")(1,"span",35),e.ALo(2,"healthColor"),e._uU(3),e.qZA(),e._uU(4),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.ekj("health-warn-description","HEALTH_WARN"===n.severity),e.Q6J("ngStyle",e.lcZ(2,5,n.severity)),e.xp6(2),e.hij(" ",n.type,""),e.xp6(1),e.hij(": ",n.summary.message," ")}}function Kz(t,i){if(1&t&&(e.TgZ(0,"ul"),e.YNc(1,Qz,5,7,"li",34),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",n.health.checks)}}function Xz(t,i){1&t&&e._UZ(0,"i",38)}function qz(t,i){if(1&t&&(e.TgZ(0,"div",36),e.ALo(1,"healthColor"),e._uU(2),e.ALo(3,"uppercase"),e.ALo(4,"healthLabel"),e.YNc(5,Xz,1,0,"i",37),e.qZA()),2&t){const n=e.oxw().ngIf,s=e.MAs(10);e.Q6J("ngStyle",e.lcZ(1,4,n.health.status))("ngbPopover",s),e.xp6(2),e.hij(" ",e.lcZ(3,6,e.lcZ(4,8,n.health.status))," "),e.xp6(3),e.Q6J("ngIf","HEALTH_OK"!==(null==n.health?null:n.health.status))}}function eV(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",35),e.ALo(2,"healthColor"),e._uU(3),e.ALo(4,"uppercase"),e.ALo(5,"healthLabel"),e.qZA(),e.BQk()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Q6J("ngStyle",e.lcZ(2,2,n.health.status)),e.xp6(2),e.hij(" ",e.lcZ(4,4,e.lcZ(5,6,n.health.status))," ")}}function tV(t,i){if(1&t&&e._UZ(0,"i",39),2&t){const n=e.oxw(3);e.Q6J("ngClass",e.VKq(1,Py,n.icons.success))}}function nV(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"dt",40),e.SDv(2,43),e.qZA(),e.TgZ(3,"dd",42),e._uU(4),e.qZA(),e.TgZ(5,"dt",40),e.SDv(6,44),e.qZA(),e.TgZ(7,"dd",42),e._uU(8),e.qZA(),e.BQk()),2&t){const n=i.ngIf;e.xp6(4),e.Oqu(n.image),e.xp6(4),e.Oqu(n.registry)}}function rV(t,i){if(1&t&&(e.TgZ(0,"dl",21)(1,"dt",40),e.SDv(2,41),e.qZA(),e.TgZ(3,"dd",42),e._uU(4),e.qZA(),e.YNc(5,nV,9,2,"ng-container",16),e.ALo(6,"async"),e.qZA()),2&t){const n=i.ngIf,s=e.oxw(3),l=e.MAs(8);e.xp6(4),e.Oqu(n),e.xp6(1),e.Q6J("ngIf",e.lcZ(6,3,s.info$))("ngIfElse",l)}}function iV(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"legend",22),e.SDv(2,45),e.qZA(),e.TgZ(3,"div"),e._UZ(4,"cd-table",46,47),e.qZA(),e.BQk()),2&t){const n=i.ngIf,s=e.oxw(3);e.xp6(4),e.Q6J("data",n)("columns",s.columns)("limit",5)}}function oV(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"div",49),e.ALo(2,"mgrSummary"),e.TgZ(3,"button",50),e.NdJ("click",function(){e.CHM(n);const l=e.oxw().ngIf,_=e.oxw(4);return e.KtG(_.upgradeNow(l.versions[l.versions.length-1]))}),e.SDv(4,51),e.ALo(5,"mgrSummary"),e.qZA()(),e.TgZ(6,"a",52),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(5);return e.KtG(l.startUpgradeModal())}),e.SDv(7,53),e.qZA(),e.BQk()}if(2&t){const n=e.oxw().ngIf,s=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngbTooltip",e.lcZ(2,3,s.mgr_map).total<=1?"To upgrade, you need minimum 2 mgr daemons.":""),e.xp6(2),e.Q6J("disabled",e.lcZ(5,5,s.mgr_map).total<=1),e.xp6(2),e.pQV(n.versions[n.versions.length-1]),e.QtT(4)}}function sV(t,i){if(1&t&&(e.TgZ(0,"div",12),e.YNc(1,oV,8,7,"ng-container",16),e.qZA()),2&t){const n=i.ngIf;e.oxw(4);const s=e.MAs(2);e.xp6(1),e.Q6J("ngIf",n.versions.length>0)("ngIfElse",s)}}function aV(t,i){if(1&t&&(e.YNc(0,sV,2,2,"div",48),e.ALo(1,"async")),2&t){const n=e.oxw(3),s=e.MAs(6);e.Q6J("ngIf",e.lcZ(1,2,n.info$))("ngIfElse",s)}}function lV(t,i){if(1&t&&(e.ynx(0),e.YNc(1,Jz,2,2,"cd-card",10),e.ALo(2,"async"),e.TgZ(3,"cd-card",11)(4,"div",12)(5,"h5"),e._uU(6),e.qZA()()(),e.TgZ(7,"cd-card",13)(8,"div",12),e.YNc(9,Kz,2,1,"ng-template",null,14,e.W1O),e.YNc(11,qz,6,10,"ng-template",null,15,e.W1O),e.YNc(13,eV,6,8,"ng-container",16),e.qZA()(),e.TgZ(14,"cd-card",17)(15,"div",12)(16,"h5"),e.YNc(17,tV,1,3,"i",18),e.ALo(18,"mgrSummary"),e._uU(19),e.ALo(20,"mgrSummary"),e.qZA()()(),e.TgZ(21,"div",19),e.YNc(22,rV,7,5,"dl",20),e.ALo(23,"async"),e.TgZ(24,"div",21),e.YNc(25,iV,6,3,"ng-container",9),e.ALo(26,"async"),e.qZA()(),e.TgZ(27,"legend",22),e.SDv(28,23),e.qZA(),e._UZ(29,"cd-logs",24),e.YNc(30,aV,2,4,"ng-template",null,25,e.W1O),e.BQk()),2&t){const n=i.ngIf,s=e.MAs(12),l=e.oxw(2),_=e.MAs(4);e.xp6(1),e.Q6J("ngIf",e.lcZ(2,15,l.upgradeStatus$)),e.xp6(5),e.Oqu(l.version),e.xp6(7),e.Q6J("ngIf",!(null!=n.health&&null!=n.health.checks&&n.health.checks.length))("ngIfElse",s),e.xp6(4),e.Q6J("ngIf",e.lcZ(18,17,n.mgr_map).total>1)("ngIfElse",_),e.xp6(2),e.hij(" ",e.lcZ(20,19,n.mgr_map).total," "),e.xp6(3),e.Q6J("ngIf",e.lcZ(23,21,l.fsid$)),e.xp6(3),e.Q6J("ngIf",e.lcZ(26,23,l.daemons$)),e.xp6(4),e.Q6J("showAuditLogs",!1)("showDaemonLogs",!1)("showNavLinks",!1)("showFilterTools",!1)("showDownloadCopyButton",!1)("scrollable",!0)}}function cV(t,i){if(1&t&&(e.TgZ(0,"div",8),e.YNc(1,lV,32,25,"ng-container",9),e.ALo(2,"async"),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,n.healthData$))}}function uV(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"span",54),e.tHW(1,55),e._UZ(2,"i",39),e.N_p(),e.qZA(),e.TgZ(3,"a",56),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.startUpgradeModal())}),e.SDv(4,57),e.qZA()}if(2&t){const n=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(1,Py,n.icons.success))}}function dV(t,i){if(1&t&&e._UZ(0,"i",58),2&t){const n=e.oxw();e.Q6J("ngClass",e.VKq(1,Py,n.icons.warning))}}function fV(t,i){if(1&t&&(e.TgZ(0,"div",12)(1,"button",59),e.tHW(2,60),e._UZ(3,"i",32),e.N_p(),e.qZA()()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("disabled",!0),e.xp6(2),e.Q6J("ngClass",e.WLB(2,Bb,n.icons.spin,n.icons.spinner))}}function pV(t,i){if(1&t&&e.YNc(0,fV,4,5,"div",48),2&t){const n=e.oxw(),s=e.MAs(10);e.Q6J("ngIf",!n.errorMessage)("ngIfElse",s)}}function _V(t,i){if(1&t&&(e.TgZ(0,"div",21)(1,"span",62),e.tHW(2,63),e._UZ(3,"i",32),e.N_p(),e.qZA()()),2&t){const n=e.oxw(2);e.xp6(3),e.Q6J("ngClass",e.WLB(1,Bb,n.icons.spin,n.icons.spinner))}}function hV(t,i){if(1&t&&e.YNc(0,_V,4,4,"div",61),2&t){const n=e.oxw(),s=e.MAs(12);e.Q6J("ngIf",!n.errorMessage)("ngIfElse",s)}}function mV(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",12)(1,"span",64),e.tHW(2,65),e._UZ(3,"i",32),e.N_p(),e.qZA(),e.TgZ(4,"a",56),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.startUpgradeModal())}),e.SDv(5,66),e.qZA()()}if(2&t){const n=e.oxw();e.xp6(3),e.Q6J("ngClass",e.VKq(2,Py,n.icons.danger)),e.pQV(n.errorMessage),e.QtT(2)}}function gV(t,i){if(1&t&&(e.TgZ(0,"span",67),e.tHW(1,68),e._UZ(2,"i",32),e.N_p(),e.qZA()),2&t){const n=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(1,Py,n.icons.danger))}}function vV(t,i){if(1&t&&(e.TgZ(0,"div",27)(1,"h5"),e.tHW(2,69),e._UZ(3,"i",32),e.N_p(),e.qZA(),e.TgZ(4,"a",28),e.SDv(5,70),e.qZA()()),2&t){const n=e.oxw();e.xp6(3),e.Q6J("ngClass",e.WLB(2,Bb,n.icons.spin,n.icons.spinner)),e.pQV(null==n.executingTasks?null:n.executingTasks.progress),e.QtT(2)}}let yV=(()=>{class t{constructor(n,s,l,_,g,M,x,Y){this.modalService=n,this.summaryService=s,this.upgradeService=l,this.healthService=_,this.daemonService=g,this.notificationService=M,this.router=x,this.refreshIntervalService=Y,this.interval=new od.w,this.columns=[],this.icons=ei.P,this.subject=new GD.t}ngOnInit(){this.upgradeStatus$=this.subject.pipe((0,Ma.w)(()=>this.upgradeService.status()),(0,lr.d)(1)),this.columns=[{name:"Daemon name",prop:"daemon_name",flexGrow:1,filterable:!0},{name:"Version",prop:"version",flexGrow:1,filterable:!0}],this.summaryService.subscribe(n=>{const s=n.version.replace("ceph version ","").split("-");this.version=s[0],this.executingTasks=n.executing_tasks.filter(l=>l.name.includes("progress/Upgrade"))[0]}),this.interval=this.refreshIntervalService.intervalData$.subscribe(()=>{this.fetchStatus()}),this.info$=this.upgradeService.list().pipe((0,oa.b)(n=>this.upgradableVersions=n.versions),function Pz(t,i,n,s){n&&"function"!=typeof n&&(s=n);const l="function"==typeof n?n:void 0,_=new GD.t(t,i,s);return g=>(0,Rz.O)(()=>_,l)(g)}(1),(0,xz.x)(),(0,zn.K)(n=>(n.preventDefault(),this.errorMessage="Not retrieving upgrades",this.notificationService.show(ua.k.error,this.errorMessage,n.error.detail||n.error.message),(0,Dt.of)(null)))),this.healthData$=this.healthService.getMinimalHealth(),this.daemons$=this.daemonService.list(this.upgradeService.upgradableServiceTypes),this.fsid$=this.healthService.getClusterFsid()}startUpgradeModal(){this.modalRef=this.modalService.show(jz,{versions:this.upgradableVersions})}fetchStatus(){this.subject.next()}upgradeNow(n){this.upgradeService.start(n).subscribe({error:s=>{this.notificationService.show(ua.k.error,"Failed to start the upgrade",s)},complete:()=>{this.notificationService.show(ua.k.success,"Started upgrading the cluster"),this.fetchStatus(),this.router.navigate(["/upgrade/progress"])}})}ngOnDestroy(){this.interval?.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(tc.Z),e.Y36(zm.J),e.Y36(YD),e.Y36(Iu.z),e.Y36(td),e.Y36(Le.g),e.Y36(Ce.F0),e.Y36(z0.s))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-upgrade"]],decls:15,vars:1,consts:function(){let i,n,s,l,_,g,M,x,Y,K,le,fe,ge,Se,Ge,we,He,Pe,W,It,Pt,Jt,dn,Un,ln,Xn,jn;return i="New Version",n="New Version",s="Current Version",l="Current Version",_="Cluster Status",g="Cluster Status",M="MGR Count",x="MGR Count",Y="Cluster logs",K="View Details...",le="" + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " Upgrade is paused " + "\ufffd0\ufffd" + "%",fe="" + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " Upgrade in progress " + "\ufffd0\ufffd" + "% ",ge="Cluster FSID",Se="Release Image",Ge="Registry",we="Daemon versions",He="Upgrade to " + "\ufffd0\ufffd" + "",Pe="Select another version...",W="" + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " Cluster is up-to-date ",It="Upgrade using custom image...",Pt="Checking for upgrades " + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + "",Jt="Fetching registry informations " + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + "",dn="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " " + "\ufffd0\ufffd" + " ",Un="Upgrade using custom image...",ln="" + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " Failed to fetch registry informations ",Xn="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " Upgrade in progress " + "\ufffd0\ufffd" + "%",jn="View Details...",[["class","row h-25",4,"cdScope"],["noUpgradesAvailable",""],["warningIcon",""],["checkingForUpgradeStatus",""],["loadingDetails",""],["upgradeStatusError",""],["upgradeInfoError",""],["upgradeProgress",""],[1,"row","h-25"],[4,"ngIf"],["class","col-sm-3 px-3 d-flex","cardTitle",i,"aria-label",n,"id","newVersionAvailable",4,"ngIf"],["cardTitle",s,"aria-label",l,"id","currentVersion",1,"col-sm-3","px-3","d-flex"],[1,"d-flex","flex-column","justify-content-center","align-items-center"],["cardTitle",_,"aria-label",g,"id","clusterStatus",1,"col-sm-3","px-3","d-flex"],["healthChecks",""],["healthWarningAndError",""],[4,"ngIf","ngIfElse"],["cardTitle",M,"aria-label",x,"id","mgrCount",1,"col-sm-3","px-3","d-flex"],["class","text-success",3,"ngClass",4,"ngIf","ngIfElse"],[1,"d-flex","mt-3"],["class","w-50",4,"ngIf"],[1,"w-50"],[1,"cd-header"],Y,["defaultTab","cluster-logs",3,"showAuditLogs","showDaemonLogs","showNavLinks","showFilterTools","showDownloadCopyButton","scrollable"],["upgradeStatusTpl",""],["cardTitle",i,"aria-label",n,"id","newVersionAvailable",1,"col-sm-3","px-3","d-flex"],[1,"d-flex","flex-column","justify-content-center","align-items-center","mt-2"],["routerLink","/upgrade/progress",1,"mt-2","link-primary","mb-2"],K,["inProgress",""],le,[3,"ngClass"],fe,[4,"ngFor","ngForOf"],[3,"ngStyle"],["popoverClass","info-card-popover-cluster-status",1,"info-card-content-clickable","mt-1",3,"ngStyle","ngbPopover"],["class","fa fa-exclamation-triangle",4,"ngIf"],[1,"fa","fa-exclamation-triangle"],[1,"text-success",3,"ngClass"],[1,"bold","mt-5"],ge,[1,"mt-2"],Se,Ge,we,["selectionType","single","columnMode","flex",3,"data","columns","limit"],["daemonsTable",""],["class","d-flex flex-column justify-content-center align-items-center",4,"ngIf","ngIfElse"],[3,"ngbTooltip"],["id","upgrade","aria-label","Upgrade now",1,"btn","btn-accent","mt-2",3,"disabled","click"],He,[1,"mt-2","link-primary","mb-2",3,"click"],Pe,["id","no-upgrades-available",1,"mt-1"],W,[1,"link-primary","mb-2",3,"click"],It,["title","To upgrade, you need minimum 2 mgr daemons.",1,"text-warning",3,"ngClass"],["id","upgrade","aria-label","Upgrade now",1,"btn","btn-accent","mt-2","mb-4",3,"disabled"],Pt,["class","w-50",4,"ngIf","ngIfElse"],[1,"text-info","justify-content-center","align-items-center"],Jt,["id","upgrade-status-error",1,"text-danger","mt-2","mb-4"],dn,Un,[1,"text-danger","justify-content-center","align-items-center"],ln,Xn,jn]},template:function(n,s){1&n&&(e.YNc(0,cV,3,3,"div",0),e.YNc(1,uV,5,3,"ng-template",null,1,e.W1O),e.YNc(3,dV,1,3,"ng-template",null,2,e.W1O),e.YNc(5,pV,1,2,"ng-template",null,3,e.W1O),e.YNc(7,hV,1,2,"ng-template",null,4,e.W1O),e.YNc(9,mV,6,4,"ng-template",null,5,e.W1O),e.YNc(11,gV,3,3,"ng-template",null,6,e.W1O),e.YNc(13,vV,6,5,"ng-template",null,7,e.W1O)),2&n&&e.Q6J("cdScope","configOpt")},dependencies:[f.mk,f.sg,f.O5,f.PC,xC.A,Ol.a,Ht.o,Zz.w,Ce.rH,Be._L,Be.o8,Yy,f.Ov,f.gd,V0,Bp,B1.c]}),t})();const EV=function(t,i,n){return[t,i,n]};function SV(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"h3",23),e.tHW(2,24),e._UZ(3,"i",25),e.N_p(),e.qZA(),e.TgZ(4,"h3",26),e._uU(5),e.qZA(),e.TgZ(6,"h5",17),e.SDv(7,27),e.qZA(),e.BQk()),2&t){const n=e.oxw().ngIf,s=e.oxw();e.xp6(3),e.Q6J("ngClass",e.kEZ(3,EV,s.icons.large,s.icons.spin,s.icons.spinner)),e.xp6(2),e.hij(" ",null==s.executingTask?null:s.executingTask.description," "),e.xp6(2),e.pQV(n.which),e.QtT(7)}}function CV(t,i){if(1&t&&(e.ynx(0),e._uU(1," Finished upgrading: "),e.TgZ(2,"span",28),e._uU(3),e.qZA(),e.BQk()),2&t){const n=e.oxw().ngIf;e.xp6(3),e.hij(" ",n.services_complete," ")}}function TV(t,i){if(1&t&&(e.TgZ(0,"h5",26),e.SDv(1,29),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.pQV(n.message),e.QtT(1)}}function bV(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.pauseUpgrade())}),e.SDv(1,31),e.qZA()}}function MV(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.resumeUpgrade())}),e.SDv(1,33),e.qZA()}}function OV(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.stopUpgradeModal())}),e.SDv(1,35),e.qZA()}}function AV(t,i){if(1&t&&(e.TgZ(0,"div",5),e.YNc(1,SV,8,7,"ng-container",6),e.TgZ(2,"div",7)(3,"div",8),e.YNc(4,CV,4,1,"ng-container",9),e.TgZ(5,"div",10),e._UZ(6,"ngb-progressbar",11),e.qZA(),e.TgZ(7,"p",12)(8,"span",13),e._uU(9),e.qZA()()(),e.TgZ(10,"h4",14),e.SDv(11,15),e.qZA(),e.YNc(12,TV,2,1,"h5",16),e.TgZ(13,"div",17)(14,"button",18),e.SDv(15,19),e.qZA(),e.YNc(16,bV,2,0,"button",20),e.YNc(17,MV,2,0,"button",21),e.YNc(18,OV,2,0,"button",22),e.qZA()()()),2&t){const n=i.ngIf,s=e.oxw(),l=e.MAs(6);e.xp6(1),e.Q6J("ngIf",n.in_progress&&!n.is_paused)("ngIfElse",l),e.xp6(3),e.Q6J("ngIf",n.services_complete.length>0),e.xp6(2),e.Q6J("value",null==s.executingTask?null:s.executingTask.progress)("striped",!0)("animated",!n.is_paused),e.xp6(3),e.hij(" ",(null==s.executingTask?null:s.executingTask.progress)||0," % "),e.xp6(2),e.pQV(n.progress),e.QtT(11),e.xp6(1),e.Q6J("ngIf",n.in_progress),e.xp6(4),e.Q6J("ngIf",n.in_progress&&!n.is_paused),e.xp6(1),e.Q6J("ngIf",n.in_progress&&n.is_paused),e.xp6(1),e.Q6J("ngIf",n.in_progress)}}const DV=function(t,i){return[t,i]};function RV(t,i){if(1&t&&(e.TgZ(0,"h3",17),e._UZ(1,"i",25),e.qZA(),e.TgZ(2,"h3",36),e._uU(3),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",e.WLB(2,DV,n.icons.large,n.icons.spinner)),e.xp6(2),e.hij(" ",null==n.executingTask?null:n.executingTask.description," ")}}let PV=(()=>{class t{constructor(n,s,l,_,g,M,x){this.authStorageService=n,this.upgradeService=s,this.notificationService=l,this.modalService=_,this.summaryService=g,this.router=M,this.refreshIntervalService=x,this.icons=ei.P,this.interval=new od.w,this.subject=new GD.t,this.permission=this.authStorageService.getPermissions().configOpt}ngOnInit(){this.upgradeStatus$=this.subject.pipe((0,Ma.w)(()=>this.upgradeService.status()),(0,oa.b)(n=>{n.in_progress||this.router.navigate(["/upgrade"])}),(0,lr.d)(1)),this.interval=this.refreshIntervalService.intervalData$.subscribe(()=>{this.fetchStatus()}),this.summaryService.subscribe(n=>{this.executingTask=n.executing_tasks.filter(s=>s.name.includes("progress/Upgrade"))[0]})}pauseUpgrade(){this.upgradeService.pause().subscribe({error:n=>{this.notificationService.show(ua.k.error,"Failed to pause the upgrade",n)},complete:()=>{this.notificationService.show(ua.k.success,"The upgrade is paused"),this.fetchStatus()}})}fetchStatus(){this.subject.next()}resumeUpgrade(n=!1){this.upgradeService.resume().subscribe({error:s=>{this.notificationService.show(ua.k.error,"Failed to resume the upgrade",s)},complete:()=>{this.fetchStatus(),this.notificationService.show(ua.k.success,"Upgrade is resumed"),n&&this.modalRef.close()}})}stopUpgradeModal(){this.pauseUpgrade(),this.modalRef=this.modalService.show(Yo.M,{itemDescription:"Upgrade",actionDescription:"stop",submitAction:()=>this.stopUpgrade(),callBackAtionObservable:()=>this.resumeUpgrade(!0)})}stopUpgrade(){this.modalRef.close(),this.upgradeService.stop().subscribe({error:n=>{this.notificationService.show(ua.k.error,"Failed to stop the upgrade",n)},complete:()=>{this.notificationService.show(ua.k.success,"The upgrade is stopped"),this.router.navigate(["/upgrade"])}})}ngOnDestroy(){this.interval?.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(fa.j),e.Y36(YD),e.Y36(Le.g),e.Y36(tc.Z),e.Y36(zm.J),e.Y36(Ce.F0),e.Y36(z0.s))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-upgrade-progress"]],decls:7,vars:9,consts:function(){let i,n,s,l,_,g,M,x,Y;return i="Cluster logs",n="" + "\ufffd0\ufffd" + "",s="Back",l="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + "",_="" + "\ufffd0\ufffd" + "",g=" " + "\ufffd0\ufffd" + " ",M="Pause",x="Resume",Y="Stop",[["class","d-flex flex-column justify-content-center align-items-center bold",4,"ngIf"],[1,"cd-header"],i,["defaultTab","cluster-logs",3,"showAuditLogs","showDaemonLogs","showNavLinks","showFilterTools","showDownloadCopyButton","scrollable"],["upgradePaused",""],[1,"d-flex","flex-column","justify-content-center","align-items-center","bold"],[4,"ngIf","ngIfElse"],[1,"w-50","row","h-100","d-flex","justify-content-center","align-items-center","mt-4"],[1,"text-center","w-75"],[4,"ngIf"],[1,"mt-2"],["type","info",3,"value","striped","animated"],[1,"card-text","text-muted"],[1,"float-end"],[1,"text-center","m-2"],n,["class","text-center mt-2",4,"ngIf"],[1,"text-center","mt-3"],["aria-label","Go back","routerLink","/upgrade",1,"btn","btn-light"],s,["class","btn btn-light m-2","aria-label","Pause Upgrade",3,"click",4,"ngIf"],["class","btn btn-light m-2","aria-label","Resume Upgrade",3,"click",4,"ngIf"],["class","btn btn-danger","aria-label","Stop Upgrade",3,"click",4,"ngIf"],[1,"text-center"],l,[3,"ngClass"],[1,"text-center","mt-2"],_,[1,"text-success"],g,["aria-label","Pause Upgrade",1,"btn","btn-light","m-2",3,"click"],M,["aria-label","Resume Upgrade",1,"btn","btn-light","m-2",3,"click"],x,["aria-label","Stop Upgrade",1,"btn","btn-danger",3,"click"],Y,[1,"text-center","mt-3","mb-4"]]},template:function(n,s){1&n&&(e.YNc(0,AV,19,12,"div",0),e.ALo(1,"async"),e.TgZ(2,"legend",1),e.SDv(3,2),e.qZA(),e._UZ(4,"cd-logs",3),e.YNc(5,RV,4,5,"ng-template",null,4,e.W1O)),2&n&&(e.Q6J("ngIf",e.lcZ(1,7,s.upgradeStatus$)),e.xp6(4),e.Q6J("showAuditLogs",!1)("showDaemonLogs",!1)("showNavLinks",!1)("showFilterTools",!1)("showDownloadCopyButton",!1)("scrollable",!0))},dependencies:[f.mk,f.O5,Ht.o,Ce.rH,Be.Ly,Yy,f.Ov]}),t})(),u6=(()=>{class t extends eb{resolve(n){const s=[],l=n.queryParams.fromLink||null;let _="";switch(l){case"/monitor":_="Monitors";break;case"/hosts":_="Hosts"}return s.push({text:"Cluster",path:null}),s.push({text:_,path:l}),s.push({text:"Performance Counters",path:""}),s}}return t.\u0275fac=function(){let i;return function(s){return(i||(i=e.n5z(t)))(s||t)}}(),t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})(),d6=(()=>{class t extends eb{resolve(n){const s=n.params.name;return[{text:`${Ke().startCase(s)}/Edit`,path:s}]}}return t.\u0275fac=function(){let i;return function(s){return(i||(i=e.n5z(t)))(s||t)}}(),t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})();const xV=[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"api-docs",component:pz},{path:"",component:aI,canActivate:[s6.P,a6],canActivateChild:[s6.P,a6],children:[{path:"dashboard",component:hT},{path:"error",component:ZT},{path:"expand-cluster",component:Nc,canActivate:[Ry.P],data:{moduleStatusGuardConfig:{uiApiPath:"orchestrator",redirectTo:"dashboard",backend:"cephadm"},breadcrumbs:"Expand Cluster"}},{path:"hosts",component:em,data:{breadcrumbs:"Cluster/Hosts"},children:[{path:Dr.MQ.ADD,component:Q_,outlet:"modal"}]},{path:"ceph-users",component:_z.c,data:{breadcrumbs:"Cluster/Ceph Users",resource:"api.cluster.user@1.0"}},{path:"cluster/user/create",component:UD.U,data:{breadcrumbs:"Cluster/Ceph Users/Create",resource:"api.cluster.user@1.0"}},{path:"cluster/user/import",component:UD.U,data:{breadcrumbs:"Cluster/Ceph Users/Import",resource:"api.cluster.user@1.0"}},{path:"cluster/user/edit",component:UD.U,data:{breadcrumbs:"Cluster/Ceph Users/Edit",resource:"api.cluster.user@1.0"}},{path:"monitor",component:vM,data:{breadcrumbs:"Cluster/Monitors"}},{path:"services",component:jm,canActivate:[Ry.P],data:{moduleStatusGuardConfig:{uiApiPath:"orchestrator",redirectTo:"error",section:"orch",section_info:"Orchestrator",header:"Orchestrator is not available"},breadcrumbs:"Cluster/Services"},children:[{path:Dr.MQ.CREATE,component:R_,outlet:"modal"},{path:`${Dr.MQ.EDIT}/:type/:name`,component:R_,outlet:"modal"}]},{path:"inventory",canActivate:[Ry.P],component:Nm,data:{moduleStatusGuardConfig:{uiApiPath:"orchestrator",redirectTo:"error",section:"orch",section_info:"Orchestrator",header:"Orchestrator is not available"},breadcrumbs:"Cluster/Physical Disks"}},{path:"osd",data:{breadcrumbs:"Cluster/OSDs"},children:[{path:"",component:WM},{path:Dr.MQ.CREATE,component:ye,data:{breadcrumbs:Dr.Qn.CREATE}}]},{path:"configuration",data:{breadcrumbs:"Cluster/Configuration"},children:[{path:"",component:Vh},{path:"edit/:name",component:Z_,data:{breadcrumbs:Dr.Qn.EDIT}}]},{path:"crush-map",component:KD,data:{breadcrumbs:"Cluster/CRUSH map"}},{path:"logs",component:Yy,data:{breadcrumbs:"Cluster/Logs"}},{path:"telemetry",component:S2,data:{breadcrumbs:"Telemetry configuration"}},{path:"monitoring",data:{breadcrumbs:"Cluster/Alerts"},children:[{path:"",redirectTo:"active-alerts",pathMatch:"full"},{path:"active-alerts",data:{breadcrumbs:"Active Alerts"},component:eE},{path:"alerts",data:{breadcrumbs:"Alerts"},component:n2},{path:"silences",data:{breadcrumbs:"Silences"},children:[{path:"",component:OC},{path:Dr.MQ.CREATE,component:H1,data:{breadcrumbs:`${Dr.Qn.CREATE} Silence`}},{path:`${Dr.MQ.CREATE}/:id`,component:H1,data:{breadcrumbs:Dr.Qn.CREATE}},{path:`${Dr.MQ.EDIT}/:id`,component:H1,data:{breadcrumbs:Dr.Qn.EDIT}},{path:`${Dr.MQ.RECREATE}/:id`,component:H1,data:{breadcrumbs:Dr.Qn.RECREATE}}]}]},{path:"upgrade",canActivate:[Ry.P],data:{moduleStatusGuardConfig:{uiApiPath:"orchestrator",redirectTo:"error",backend:"cephadm",section:"orch",section_info:"Orchestrator",header:"Orchestrator is not available"},breadcrumbs:"Cluster/Upgrade"},children:[{path:"",component:yV},{path:"progress",component:PV,data:{breadcrumbs:"Progress"}}]},{path:"perf_counters/:type/:id",component:UT,data:{breadcrumbs:u6}},{path:"mgr-modules",data:{breadcrumbs:"Cluster/Manager Modules"},children:[{path:"",component:I1},{path:"edit/:name",component:HS,data:{breadcrumbs:d6}}]},{path:"pool",data:{breadcrumbs:"Pools"},loadChildren:()=>Promise.all([o.e(121),o.e(119)]).then(o.bind(o,22119)).then(t=>t.RoutedPoolModule)},{path:"block",data:{breadcrumbs:!0,text:"Block",path:null},loadChildren:()=>o.e(121).then(o.bind(o,32121)).then(t=>t.RoutedBlockModule)},{path:"cephfs",canActivate:[BD.T],data:{breadcrumbs:"File Systems"},children:[{path:"",component:B_},{path:Dr.MQ.CREATE,component:c6,data:{breadcrumbs:Dr.Qn.CREATE}},{path:`${Dr.MQ.EDIT}/:name`,component:c6,data:{breadcrumbs:Dr.Qn.EDIT}}]},{path:"rgw",canActivate:[BD.T,Ry.P],data:{moduleStatusGuardConfig:{uiApiPath:"rgw",redirectTo:"error",section:"rgw",section_info:"Object Gateway",header:"The Object Gateway Service is not configured"},breadcrumbs:!0,text:"Object Gateway",path:null},loadChildren:()=>o.e(889).then(o.bind(o,59889)).then(t=>t.RoutedRgwModule)},{path:"user-management",data:{breadcrumbs:"User management",path:null},loadChildren:()=>Promise.resolve().then(o.bind(o,13140)).then(t=>t.RoutedAuthModule)},{path:"user-profile",data:{breadcrumbs:"User profile",path:null},children:[{path:Dr.MQ.EDIT,component:YT,canActivate:[l6],data:{breadcrumbs:Dr.Qn.EDIT}}]},{path:"nfs",canActivateChild:[BD.T,Ry.P],data:{moduleStatusGuardConfig:{uiApiPath:"nfs-ganesha",redirectTo:"error",section:"nfs-ganesha",section_info:"NFS GANESHA",header:"NFS-Ganesha is not configured"},breadcrumbs:"NFS"},children:[{path:"",component:HT},{path:Dr.MQ.CREATE,component:NT,data:{breadcrumbs:Dr.Qn.CREATE}},{path:`${Dr.MQ.EDIT}/:cluster_id/:export_id`,component:NT,data:{breadcrumbs:Dr.Qn.EDIT}}]}]},{path:"",component:BE,children:[{path:"login",component:qg},{path:"login-change-password",component:xO,canActivate:[l6]}]},{path:"",component:FO,children:[{path:"**",redirectTo:"/error"}]}];let Gb=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({providers:[d6,u6],imports:[Ce.Bz.forRoot(xV,{useHash:!0,preloadingStrategy:Ce.wm}),Ce.Bz]}),t})(),wV=(()=>{class t{constructor(n,s){n.autoClose="outside",n.container="body",n.placement="bottom",s.container="body"}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Be.AX),e.Y36(Be.xI))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-root"]],decls:1,vars:0,template:function(n,s){1&n&&e._UZ(0,"router-outlet")},dependencies:[Ce.lC]}),t})();var Tg=o(44466),NV=o(40267);let IV=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[f.ez,Tg.m,Gb,ju.vQ,Bu.xc,Be.Oz,se.u5,se.UX,Be.ZS,Be.HK,NV.t,Be.M,Be.UL,Be.ZS]}),t})();var f6=o(66265),p6=o(370);let FV=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[Gb,f.ez,se.UX,Tg.m,Be.Oz]}),t})(),LV=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({providers:[Be.Kz],imports:[f.ez,f6.B,Be.Oz,Tg.m,Ce.Bz,se.u5,se.UX,Be.HK,FV,Be.ZS,Be.UL,Bu.xc,p6.t,Be.M,Be.dT,Be.XC,R.b,Be.ZQ]}),t})();var kV=o(46767);let $V=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[p6.t,f.ez,Be.Oz,Tg.m,ju.vQ,Ce.Bz,Be.dT,se.u5,se.UX,kV.d]}),t})(),HV=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[se.UX,Ce.Bz,Tg.m,Be.Oz,f.ez,Be.ZS,Be.HK]}),t})(),UV=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[f.ez,LV,$V,f6.B,IV,HV,Tg.m]}),t})();var BV=o(13140);let _6=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[f.ez,BV.AuthModule,Be.lQ,Be.XC,Gb,Tg.m,Wv.t,Ce.Bz]}),t})(),GV=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[zp.uh.forRoot(),f.ez,_6,Be.XC,Ce.Bz,Tg.m,_6]}),t})();var YV=o(51295);let jV=(()=>{class t{constructor(n,s,l){this.router=n,this.authStorageService=s,this.notificationService=l}intercept(n,s){const l=n.headers.get("Accept");let _;return _=l&&l.startsWith("application/vnd.ceph.api.v")?n.clone():n.clone({setHeaders:{Accept:YV.T.cdVersionHeader("1","0")}}),s.handle(_).pipe((0,zn.K)(g=>{if(g instanceof h.UA){let M;switch(g.status){case 400:const x=new ce.R,Y=g.error.task;Ke().isPlainObject(Y)?(Y.metadata.component=Y.metadata.component||g.error.component,x.name=Y.name,x.metadata=Y.metadata):x.metadata=g.error,x.success=!1,x.exception=g.error,M=this.notificationService.notifyTask(x);break;case 401:this.authStorageService.remove(),this.router.navigate(["/login"]);break;case 403:this.router.navigate(["error"],{state:{message:"Sorry, you don\u2019t have permission to view this page or resource.",header:"Access Denied",icon:"fa fa-lock",source:"forbidden"}});break;default:M=this.prepareNotification(g)}g.preventDefault=()=>{this.notificationService.cancel(M)},g.ignoreStatusCode=function(x){this.status===x&&this.preventDefault()}}return(0,vT._)(g)}))}prepareNotification(n){return this.notificationService.show(()=>{let s="";return Ke().isPlainObject(n.error)&&Ke().isString(n.error.detail)?s=n.error.detail:Ke().isString(n.error)?s=n.error:Ke().isString(n.message)&&(s=n.message),new Xy.T(ua.k.error,`${n.status} - ${n.statusText}`,s,void 0,n.application)})}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(Ce.F0),e.LFG(fa.j),e.LFG(Le.g))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ZV=(()=>{class t{constructor(n){this.http=n}jsError(n,s,l){return this.http.post("ui-api/logging/js-error",{url:n,message:s,stack:l})}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(h.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),zV=(()=>{class t{constructor(n,s){this.injector=n,this.router=s}handleError(n){const s=this.injector.get(ZV),l=window.location.href;if(s.jsError(l,n&&n.message,n&&n.stack).subscribe(),!(n.rejection instanceof tE.s9))throw n;setTimeout(()=>this.router.navigate(["error"],{state:{message:n.rejection.message,header:n.rejection.header,icon:n.rejection.icon}}),50)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(e.zs3),e.LFG(Ce.F0))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})(),VV=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t,bootstrap:[wV]}),t.\u0275inj=e.cJS({providers:[{provide:e.qLn,useClass:zV},{provide:h.TP,useClass:jV,multi:!0},{provide:f.mr,useValue:"/"+(window.location.pathname.split("/",1)[1]||"")}],imports:[h.JF,c.b2,tu,X.Rh.forRoot({positionClass:"toast-top-right",preventDuplicates:!0,enableHtml:!0}),Gb,GV,Tg.m,UV,Tg.m]}),t})();zT.N.production&&(0,e.G48)(),c.q6().bootstrapModule(VV).then(t=>{if((0,e.X6Q)()){const n=t.injector.get(e.z2F).components[0];(0,c.HJ)(n)}}).catch(t=>console.log(t))},64762:(y,b,o)=>{"use strict";o.d(b,{ZT:()=>a,fM:()=>f,gn:()=>e,pi:()=>u,w6:()=>h});var r=function(et,tt){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Et,ze){Et.__proto__=ze}||function(Et,ze){for(var bt in ze)Object.prototype.hasOwnProperty.call(ze,bt)&&(Et[bt]=ze[bt])})(et,tt)};function a(et,tt){if("function"!=typeof tt&&null!==tt)throw new TypeError("Class extends value "+String(tt)+" is not a constructor or null");function Et(){this.constructor=et}r(et,tt),et.prototype=null===tt?Object.create(tt):(Et.prototype=tt.prototype,new Et)}var u=function(){return u=Object.assign||function(tt){for(var Et,ze=1,bt=arguments.length;ze<bt;ze++)for(var Ct in Et=arguments[ze])Object.prototype.hasOwnProperty.call(Et,Ct)&&(tt[Ct]=Et[Ct]);return tt},u.apply(this,arguments)};function e(et,tt,Et,ze){var Qt,bt=arguments.length,Ct=bt<3?tt:null===ze?ze=Object.getOwnPropertyDescriptor(tt,Et):ze;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Ct=Reflect.decorate(et,tt,Et,ze);else for(var ht=et.length-1;ht>=0;ht--)(Qt=et[ht])&&(Ct=(bt<3?Qt(Ct):bt>3?Qt(tt,Et,Ct):Qt(tt,Et))||Ct);return bt>3&&Ct&&Object.defineProperty(tt,Et,Ct),Ct}function f(et,tt){return function(Et,ze){tt(Et,ze,et)}}function h(et,tt){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(et,tt)}},46700:(y,b,o)=>{var r={"./af":26431,"./af.js":26431,"./ar":81286,"./ar-dz":1616,"./ar-dz.js":1616,"./ar-kw":9759,"./ar-kw.js":9759,"./ar-ly":43160,"./ar-ly.js":43160,"./ar-ma":62551,"./ar-ma.js":62551,"./ar-sa":79989,"./ar-sa.js":79989,"./ar-tn":6962,"./ar-tn.js":6962,"./ar.js":81286,"./az":15887,"./az.js":15887,"./be":14572,"./be.js":14572,"./bg":3276,"./bg.js":3276,"./bm":93344,"./bm.js":93344,"./bn":58985,"./bn-bd":83990,"./bn-bd.js":83990,"./bn.js":58985,"./bo":94391,"./bo.js":94391,"./br":46728,"./br.js":46728,"./bs":5536,"./bs.js":5536,"./ca":41043,"./ca.js":41043,"./cs":70420,"./cs.js":70420,"./cv":33513,"./cv.js":33513,"./cy":6771,"./cy.js":6771,"./da":47978,"./da.js":47978,"./de":46061,"./de-at":25204,"./de-at.js":25204,"./de-ch":2653,"./de-ch.js":2653,"./de.js":46061,"./dv":85,"./dv.js":85,"./el":8579,"./el.js":8579,"./en-au":25724,"./en-au.js":25724,"./en-ca":10525,"./en-ca.js":10525,"./en-gb":52847,"./en-gb.js":52847,"./en-ie":67216,"./en-ie.js":67216,"./en-il":39305,"./en-il.js":39305,"./en-in":73364,"./en-in.js":73364,"./en-nz":79130,"./en-nz.js":79130,"./en-sg":11161,"./en-sg.js":11161,"./eo":50802,"./eo.js":50802,"./es":40328,"./es-do":45551,"./es-do.js":45551,"./es-mx":75615,"./es-mx.js":75615,"./es-us":64790,"./es-us.js":64790,"./es.js":40328,"./et":96389,"./et.js":96389,"./eu":52961,"./eu.js":52961,"./fa":26151,"./fa.js":26151,"./fi":7997,"./fi.js":7997,"./fil":58898,"./fil.js":58898,"./fo":37779,"./fo.js":37779,"./fr":28174,"./fr-ca":3287,"./fr-ca.js":3287,"./fr-ch":38867,"./fr-ch.js":38867,"./fr.js":28174,"./fy":50452,"./fy.js":50452,"./ga":45014,"./ga.js":45014,"./gd":74127,"./gd.js":74127,"./gl":72124,"./gl.js":72124,"./gom-deva":6444,"./gom-deva.js":6444,"./gom-latn":37953,"./gom-latn.js":37953,"./gu":76604,"./gu.js":76604,"./he":1222,"./he.js":1222,"./hi":74235,"./hi.js":74235,"./hr":622,"./hr.js":622,"./hu":37735,"./hu.js":37735,"./hy-am":90402,"./hy-am.js":90402,"./id":59187,"./id.js":59187,"./is":30536,"./is.js":30536,"./it":35007,"./it-ch":94667,"./it-ch.js":94667,"./it.js":35007,"./ja":62093,"./ja.js":62093,"./jv":80059,"./jv.js":80059,"./ka":66870,"./ka.js":66870,"./kk":80880,"./kk.js":80880,"./km":1083,"./km.js":1083,"./kn":68785,"./kn.js":68785,"./ko":21721,"./ko.js":21721,"./ku":37851,"./ku.js":37851,"./ky":1727,"./ky.js":1727,"./lb":40346,"./lb.js":40346,"./lo":93002,"./lo.js":93002,"./lt":64035,"./lt.js":64035,"./lv":56927,"./lv.js":56927,"./me":5634,"./me.js":5634,"./mi":94173,"./mi.js":94173,"./mk":86320,"./mk.js":86320,"./ml":11705,"./ml.js":11705,"./mn":31062,"./mn.js":31062,"./mr":92805,"./mr.js":92805,"./ms":11341,"./ms-my":59900,"./ms-my.js":59900,"./ms.js":11341,"./mt":37734,"./mt.js":37734,"./my":19034,"./my.js":19034,"./nb":9324,"./nb.js":9324,"./ne":46495,"./ne.js":46495,"./nl":70673,"./nl-be":76272,"./nl-be.js":76272,"./nl.js":70673,"./nn":72486,"./nn.js":72486,"./oc-lnc":46219,"./oc-lnc.js":46219,"./pa-in":2829,"./pa-in.js":2829,"./pl":78444,"./pl.js":78444,"./pt":53170,"./pt-br":66117,"./pt-br.js":66117,"./pt.js":53170,"./ro":96587,"./ro.js":96587,"./ru":39264,"./ru.js":39264,"./sd":42135,"./sd.js":42135,"./se":95366,"./se.js":95366,"./si":93379,"./si.js":93379,"./sk":46143,"./sk.js":46143,"./sl":196,"./sl.js":196,"./sq":21082,"./sq.js":21082,"./sr":91621,"./sr-cyrl":98963,"./sr-cyrl.js":98963,"./sr.js":91621,"./ss":41404,"./ss.js":41404,"./sv":55685,"./sv.js":55685,"./sw":3872,"./sw.js":3872,"./ta":54106,"./ta.js":54106,"./te":39204,"./te.js":39204,"./tet":83692,"./tet.js":83692,"./tg":86361,"./tg.js":86361,"./th":31735,"./th.js":31735,"./tk":1568,"./tk.js":1568,"./tl-ph":96129,"./tl-ph.js":96129,"./tlh":13759,"./tlh.js":13759,"./tr":81644,"./tr.js":81644,"./tzl":90875,"./tzl.js":90875,"./tzm":16878,"./tzm-latn":11041,"./tzm-latn.js":11041,"./tzm.js":16878,"./ug-cn":74357,"./ug-cn.js":74357,"./uk":74810,"./uk.js":74810,"./ur":86794,"./ur.js":86794,"./uz":28966,"./uz-latn":77959,"./uz-latn.js":77959,"./uz.js":28966,"./vi":35386,"./vi.js":35386,"./x-pseudo":23156,"./x-pseudo.js":23156,"./yo":68028,"./yo.js":68028,"./zh-cn":9330,"./zh-cn.js":9330,"./zh-hk":89380,"./zh-hk.js":89380,"./zh-mo":60874,"./zh-mo.js":60874,"./zh-tw":96508,"./zh-tw.js":96508};function a(c){var e=u(c);return o(e)}function u(c){if(!o.o(r,c)){var e=new Error("Cannot find module '"+c+"'");throw e.code="MODULE_NOT_FOUND",e}return r[c]}a.keys=function(){return Object.keys(r)},a.resolve=u,y.exports=a,a.id=46700},24654:()=>{},68647:(y,b)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function u(){for(var f="",h=0;h<arguments.length;h++){var E=arguments[h];E&&(f=e(f,c(E)))}return f}function c(f){if("string"==typeof f||"number"==typeof f)return f;if("object"!=typeof f)return"";if(Array.isArray(f))return u.apply(null,f);if(f.toString!==Object.prototype.toString&&!f.toString.toString().includes("[native code]"))return f.toString();var h="";for(var E in f)a.call(f,E)&&f[E]&&(h=e(h,E));return h}function e(f,h){return h?f?f+" "+h:f+h:f}y.exports?(u.default=u,y.exports=u):void 0!==(r=function(){return u}.apply(b,[]))&&(y.exports=r)}()},27408:(y,b,o)=>{"use strict";var r=o(75579);y.exports=r},61441:(y,b,o)=>{"use strict";var r=o(4733);y.exports=r},97072:(y,b,o)=>{"use strict";var r=o(68764);y.exports=r},79423:(y,b,o)=>{"use strict";var r=o(87531);y.exports=r},3205:(y,b,o)=>{"use strict";var r=o(19808);y.exports=r},3081:(y,b,o)=>{"use strict";var r=o(71048);y.exports=r},67674:(y,b,o)=>{"use strict";var r=o(73646);y.exports=r},20295:(y,b,o)=>{"use strict";var r=o(15640);y.exports=r},32548:(y,b,o)=>{"use strict";var r=o(96057);y.exports=r},76593:(y,b,o)=>{"use strict";var r=o(56918);y.exports=r},99749:(y,b,o)=>{"use strict";var r=o(95750);o(25520),y.exports=r},23180:(y,b,o)=>{"use strict";var r=o(39875);y.exports=r},33473:(y,b,o)=>{"use strict";var r=o(75461);y.exports=r},32062:(y,b,o)=>{"use strict";var r=o(14723);y.exports=r},34746:(y,b,o)=>{"use strict";var r=o(70916);y.exports=r},8396:(y,b,o)=>{"use strict";var r=o(41899);y.exports=r},9551:(y,b,o)=>{"use strict";var r=o(45895);y.exports=r},69507:(y,b,o)=>{"use strict";var r=o(59324);y.exports=r},70048:(y,b,o)=>{"use strict";var r=o(14041);y.exports=r},65227:(y,b,o)=>{"use strict";var r=o(94278);y.exports=r},2751:(y,b,o)=>{"use strict";var r=o(20399);y.exports=r},61681:(y,b,o)=>{"use strict";var r=o(65961);o(68977),y.exports=r},89312:(y,b,o)=>{"use strict";var r=o(72467);y.exports=r},12855:(y,b,o)=>{"use strict";var r=o(10507);y.exports=r},37986:(y,b,o)=>{"use strict";var r=o(27248);o(51903),o(95924),o(74422),o(64168),y.exports=r},2110:(y,b,o)=>{"use strict";var r=o(53249);y.exports=r},68329:(y,b,o)=>{"use strict";var r=o(62861);y.exports=r},98192:(y,b,o)=>{"use strict";o(28097),o(58403);var r=o(18208);y.exports=r.Array.from},23278:(y,b,o)=>{"use strict";o(80744);var r=o(18208);y.exports=r.Array.isArray},11522:(y,b,o)=>{"use strict";o(89191);var r=o(96499);y.exports=r("Array","concat")},19573:(y,b,o)=>{"use strict";o(96833),o(71561);var r=o(96499);y.exports=r("Array","entries")},56210:(y,b,o)=>{"use strict";o(56619);var r=o(96499);y.exports=r("Array","every")},16409:(y,b,o)=>{"use strict";o(45750);var r=o(96499);y.exports=r("Array","fill")},10871:(y,b,o)=>{"use strict";o(38114);var r=o(96499);y.exports=r("Array","filter")},13182:(y,b,o)=>{"use strict";o(52323);var r=o(96499);y.exports=r("Array","findIndex")},45450:(y,b,o)=>{"use strict";o(69480);var r=o(96499);y.exports=r("Array","find")},6265:(y,b,o)=>{"use strict";o(27539);var r=o(96499);y.exports=r("Array","forEach")},52911:(y,b,o)=>{"use strict";o(58633);var r=o(96499);y.exports=r("Array","includes")},95900:(y,b,o)=>{"use strict";o(46307);var r=o(96499);y.exports=r("Array","indexOf")},55549:(y,b,o)=>{"use strict";o(96833),o(71561);var r=o(96499);y.exports=r("Array","keys")},87762:(y,b,o)=>{"use strict";o(40692);var r=o(96499);y.exports=r("Array","lastIndexOf")},94940:(y,b,o)=>{"use strict";o(94719);var r=o(96499);y.exports=r("Array","map")},88028:(y,b,o)=>{"use strict";o(70428);var r=o(96499);y.exports=r("Array","push")},40132:(y,b,o)=>{"use strict";o(80795);var r=o(96499);y.exports=r("Array","reduce")},15841:(y,b,o)=>{"use strict";o(20004);var r=o(96499);y.exports=r("Array","reverse")},10566:(y,b,o)=>{"use strict";o(6513);var r=o(96499);y.exports=r("Array","slice")},3241:(y,b,o)=>{"use strict";o(79447);var r=o(96499);y.exports=r("Array","some")},30342:(y,b,o)=>{"use strict";o(97216);var r=o(96499);y.exports=r("Array","sort")},56455:(y,b,o)=>{"use strict";o(88878);var r=o(96499);y.exports=r("Array","splice")},90555:(y,b,o)=>{"use strict";o(96833),o(71561);var r=o(96499);y.exports=r("Array","values")},87560:(y,b,o)=>{"use strict";o(15352);var r=o(18208);y.exports=r.Date.now},36224:(y,b,o)=>{"use strict";o(70170);var r=o(96499);y.exports=r("Function","bind")},44537:(y,b,o)=>{"use strict";o(96833),o(28097);var r=o(96420);y.exports=r},15145:(y,b,o)=>{"use strict";var r=o(75040),a=o(36224),u=Function.prototype;y.exports=function(c){var e=c.bind;return c===u||r(u,c)&&e===u.bind?a:e}},3722:(y,b,o)=>{"use strict";var r=o(75040),a=o(11522),u=Array.prototype;y.exports=function(c){var e=c.concat;return c===u||r(u,c)&&e===u.concat?a:e}},18059:(y,b,o)=>{"use strict";var r=o(75040),a=o(56210),u=Array.prototype;y.exports=function(c){var e=c.every;return c===u||r(u,c)&&e===u.every?a:e}},85731:(y,b,o)=>{"use strict";var r=o(75040),a=o(16409),u=Array.prototype;y.exports=function(c){var e=c.fill;return c===u||r(u,c)&&e===u.fill?a:e}},90229:(y,b,o)=>{"use strict";var r=o(75040),a=o(10871),u=Array.prototype;y.exports=function(c){var e=c.filter;return c===u||r(u,c)&&e===u.filter?a:e}},97402:(y,b,o)=>{"use strict";var r=o(75040),a=o(13182),u=Array.prototype;y.exports=function(c){var e=c.findIndex;return c===u||r(u,c)&&e===u.findIndex?a:e}},73335:(y,b,o)=>{"use strict";var r=o(75040),a=o(45450),u=Array.prototype;y.exports=function(c){var e=c.find;return c===u||r(u,c)&&e===u.find?a:e}},78167:(y,b,o)=>{"use strict";var r=o(75040),a=o(52911),u=o(5038),c=Array.prototype,e=String.prototype;y.exports=function(f){var h=f.includes;return f===c||r(c,f)&&h===c.includes?a:"string"==typeof f||f===e||r(e,f)&&h===e.includes?u:h}},27517:(y,b,o)=>{"use strict";var r=o(75040),a=o(95900),u=Array.prototype;y.exports=function(c){var e=c.indexOf;return c===u||r(u,c)&&e===u.indexOf?a:e}},55955:(y,b,o)=>{"use strict";var r=o(75040),a=o(87762),u=Array.prototype;y.exports=function(c){var e=c.lastIndexOf;return c===u||r(u,c)&&e===u.lastIndexOf?a:e}},88967:(y,b,o)=>{"use strict";var r=o(75040),a=o(94940),u=Array.prototype;y.exports=function(c){var e=c.map;return c===u||r(u,c)&&e===u.map?a:e}},92613:(y,b,o)=>{"use strict";var r=o(75040),a=o(88028),u=Array.prototype;y.exports=function(c){var e=c.push;return c===u||r(u,c)&&e===u.push?a:e}},55125:(y,b,o)=>{"use strict";var r=o(75040),a=o(40132),u=Array.prototype;y.exports=function(c){var e=c.reduce;return c===u||r(u,c)&&e===u.reduce?a:e}},60450:(y,b,o)=>{"use strict";var r=o(75040),a=o(59036),u=String.prototype;y.exports=function(c){var e=c.repeat;return"string"==typeof c||c===u||r(u,c)&&e===u.repeat?a:e}},97401:(y,b,o)=>{"use strict";var r=o(75040),a=o(15841),u=Array.prototype;y.exports=function(c){var e=c.reverse;return c===u||r(u,c)&&e===u.reverse?a:e}},12631:(y,b,o)=>{"use strict";var r=o(75040),a=o(10566),u=Array.prototype;y.exports=function(c){var e=c.slice;return c===u||r(u,c)&&e===u.slice?a:e}},61970:(y,b,o)=>{"use strict";var r=o(75040),a=o(3241),u=Array.prototype;y.exports=function(c){var e=c.some;return c===u||r(u,c)&&e===u.some?a:e}},891:(y,b,o)=>{"use strict";var r=o(75040),a=o(30342),u=Array.prototype;y.exports=function(c){var e=c.sort;return c===u||r(u,c)&&e===u.sort?a:e}},98697:(y,b,o)=>{"use strict";var r=o(75040),a=o(56455),u=Array.prototype;y.exports=function(c){var e=c.splice;return c===u||r(u,c)&&e===u.splice?a:e}},83388:(y,b,o)=>{"use strict";var r=o(75040),a=o(17629),u=String.prototype;y.exports=function(c){var e=c.startsWith;return"string"==typeof c||c===u||r(u,c)&&e===u.startsWith?a:e}},26660:(y,b,o)=>{"use strict";var r=o(75040),a=o(17665),u=String.prototype;y.exports=function(c){var e=c.trim;return"string"==typeof c||c===u||r(u,c)&&e===u.trim?a:e}},17558:(y,b,o)=>{"use strict";o(38279),o(76895);var r=o(18208),a=o(10154);r.JSON||(r.JSON={stringify:JSON.stringify}),y.exports=function(c,e,f){return a(r.JSON.stringify,null,arguments)}},96877:(y,b,o)=>{"use strict";o(96833),o(5759),o(4603),o(71561),o(28097);var r=o(18208);y.exports=r.Map},42732:(y,b,o)=>{"use strict";o(57926);var r=o(18208);y.exports=r.Object.assign},78960:(y,b,o)=>{"use strict";o(19105);var a=o(18208).Object;y.exports=function(c,e){return a.create(c,e)}},71396:(y,b,o)=>{"use strict";o(41137);var a=o(18208).Object,u=y.exports=function(e,f){return a.defineProperties(e,f)};a.defineProperties.sham&&(u.sham=!0)},19855:(y,b,o)=>{"use strict";o(61147);var a=o(18208).Object,u=y.exports=function(e,f,h){return a.defineProperty(e,f,h)};a.defineProperty.sham&&(u.sham=!0)},81777:(y,b,o)=>{"use strict";o(93159);var a=o(18208).Object,u=y.exports=function(e,f){return a.getOwnPropertyDescriptor(e,f)};a.getOwnPropertyDescriptor.sham&&(u.sham=!0)},74473:(y,b,o)=>{"use strict";o(52833);var r=o(18208);y.exports=r.Object.getOwnPropertyDescriptors},49366:(y,b,o)=>{"use strict";o(21307);var r=o(18208);y.exports=r.Object.getOwnPropertySymbols},17347:(y,b,o)=>{"use strict";o(57239);var r=o(18208);y.exports=r.Object.getPrototypeOf},21309:(y,b,o)=>{"use strict";o(43536);var r=o(18208);y.exports=r.Object.keys},81858:(y,b,o)=>{"use strict";o(76855);var r=o(18208);y.exports=r.Object.setPrototypeOf},78985:(y,b,o)=>{"use strict";o(97970);var r=o(18208);y.exports=r.Object.values},95938:(y,b,o)=>{"use strict";o(97147),o(96833),o(71561),o(17741),o(80356),o(93996),o(44170),o(23807),o(28097);var r=o(18208);y.exports=r.Promise},2153:(y,b,o)=>{"use strict";o(90549);var r=o(18208);y.exports=r.Reflect.construct},71553:(y,b,o)=>{"use strict";o(29179);var r=o(18208);y.exports=r.Reflect.get},5038:(y,b,o)=>{"use strict";o(21084);var r=o(96499);y.exports=r("String","includes")},59036:(y,b,o)=>{"use strict";o(65543);var r=o(96499);y.exports=r("String","repeat")},17629:(y,b,o)=>{"use strict";o(19934);var r=o(96499);y.exports=r("String","startsWith")},17665:(y,b,o)=>{"use strict";o(36738);var r=o(96499);y.exports=r("String","trim")},4746:(y,b,o)=>{"use strict";o(89191),o(71561),o(21307),o(24314),o(67626),o(65685),o(81214),o(35821),o(93885),o(85348),o(46457),o(42840),o(85011),o(58834),o(26100),o(7992),o(84841),o(65067),o(90712),o(8844);var r=o(18208);y.exports=r.Symbol},22714:(y,b,o)=>{"use strict";o(96833),o(71561),o(28097),o(35821);var r=o(16020);y.exports=r.f("iterator")},85492:(y,b,o)=>{"use strict";o(26970),o(26100);var r=o(16020);y.exports=r.f("toPrimitive")},22762:(y,b,o)=>{"use strict";y.exports=o(77998)},25046:(y,b,o)=>{"use strict";y.exports=o(48571)},74717:(y,b,o)=>{"use strict";y.exports=o(3364)},55049:(y,b,o)=>{"use strict";y.exports=o(23299)},7449:(y,b,o)=>{"use strict";y.exports=o(53281)},32342:(y,b,o)=>{"use strict";y.exports=o(88043)},83435:(y,b,o)=>{"use strict";y.exports=o(86431)},53881:(y,b,o)=>{"use strict";y.exports=o(1541)},13185:(y,b,o)=>{"use strict";y.exports=o(91409)},90887:(y,b,o)=>{"use strict";y.exports=o(73264)},45355:(y,b,o)=>{"use strict";y.exports=o(42163)},97156:(y,b,o)=>{"use strict";var r=o(27408);y.exports=r},5151:(y,b,o)=>{"use strict";var r=o(61441);y.exports=r},97078:(y,b,o)=>{"use strict";var r=o(97072);y.exports=r},74690:(y,b,o)=>{"use strict";var r=o(79423);y.exports=r},62815:(y,b,o)=>{"use strict";var r=o(3205);y.exports=r},77998:(y,b,o)=>{"use strict";var r=o(3081);y.exports=r},42297:(y,b,o)=>{"use strict";var r=o(67674);y.exports=r},48571:(y,b,o)=>{"use strict";var r=o(20295);y.exports=r},3364:(y,b,o)=>{"use strict";var r=o(32548);y.exports=r},23299:(y,b,o)=>{"use strict";var r=o(76593);y.exports=r},21913:(y,b,o)=>{"use strict";var r=o(99749);o(49082),o(71231),o(12818),o(95549),o(97288),o(86574),o(96607),o(57312),o(68679),o(32091),o(44296),o(8253),o(87427),o(87134),o(14966),o(56935),o(70535),o(55095),o(25970),y.exports=r},61068:(y,b,o)=>{"use strict";var r=o(23180);y.exports=r},53281:(y,b,o)=>{"use strict";var r=o(33473);y.exports=r},34178:(y,b,o)=>{"use strict";var r=o(32062);y.exports=r},88043:(y,b,o)=>{"use strict";var r=o(34746);y.exports=r},47595:(y,b,o)=>{"use strict";var r=o(8396);y.exports=r},28643:(y,b,o)=>{"use strict";var r=o(9551);y.exports=r},17910:(y,b,o)=>{"use strict";var r=o(69507);y.exports=r},86431:(y,b,o)=>{"use strict";var r=o(70048);y.exports=r},45421:(y,b,o)=>{"use strict";var r=o(65227);y.exports=r},1541:(y,b,o)=>{"use strict";var r=o(2751);y.exports=r},91409:(y,b,o)=>{"use strict";var r=o(61681);o(20736),o(71606),o(345),o(50205),y.exports=r},68836:(y,b,o)=>{"use strict";var r=o(89312);y.exports=r},4346:(y,b,o)=>{"use strict";var r=o(12855);y.exports=r},73264:(y,b,o)=>{"use strict";var r=o(37986);o(64301),o(36436),o(57752),o(55703),o(54983),o(30035),o(28471),o(22301),o(12206),y.exports=r},42163:(y,b,o)=>{"use strict";var r=o(2110);y.exports=r},65603:(y,b,o)=>{"use strict";var r=o(68329);y.exports=r},41511:(y,b,o)=>{"use strict";var r=o(4884),a=o(23886),u=TypeError;y.exports=function(c){if(r(c))return c;throw new u(a(c)+" is not a function")}},51616:(y,b,o)=>{"use strict";var r=o(92157),a=o(23886),u=TypeError;y.exports=function(c){if(r(c))return c;throw new u(a(c)+" is not a constructor")}},90375:(y,b,o)=>{"use strict";var r=o(23886),a=TypeError;y.exports=function(u){if("object"==typeof u&&"size"in u&&"has"in u&&"get"in u&&"set"in u&&"delete"in u&&"entries"in u)return u;throw new a(r(u)+" is not a map")}},77338:(y,b,o)=>{"use strict";var r=o(4732),a=String,u=TypeError;y.exports=function(c){if(r(c))return c;throw new u("Can't set "+a(c)+" as a prototype")}},32132:y=>{"use strict";y.exports=function(){}},87630:(y,b,o)=>{"use strict";var r=o(75040),a=TypeError;y.exports=function(u,c){if(r(c,u))return u;throw new a("Incorrect invocation")}},21768:(y,b,o)=>{"use strict";var r=o(7694),a=String,u=TypeError;y.exports=function(c){if(r(c))return c;throw new u(a(c)+" is not an object")}},31937:(y,b,o)=>{"use strict";var r=o(6070);y.exports=r(function(){if("function"==typeof ArrayBuffer){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},9851:(y,b,o)=>{"use strict";var r=o(61952),a=o(79288),u=o(5226);y.exports=function(e){for(var f=r(this),h=u(f),E=arguments.length,T=a(E>1?arguments[1]:void 0,h),D=E>2?arguments[2]:void 0,A=void 0===D?h:a(D,h);A>T;)f[T++]=e;return f}},89274:(y,b,o)=>{"use strict";var r=o(93575).forEach,u=o(90148)("forEach");y.exports=u?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},43660:(y,b,o)=>{"use strict";var r=o(10068),a=o(24200),u=o(61952),c=o(91958),e=o(49845),f=o(92157),h=o(5226),E=o(97220),T=o(7846),D=o(96420),A=Array;y.exports=function(Q){var U=u(Q),q=f(this),L=arguments.length,J=L>1?arguments[1]:void 0,pe=void 0!==J;pe&&(J=r(J,L>2?arguments[2]:void 0));var ie,me,Oe,Ue,Me,yt,j=D(U),ue=0;if(!j||this===A&&e(j))for(ie=h(U),me=q?new this(ie):A(ie);ie>ue;ue++)yt=pe?J(U[ue],ue):U[ue],E(me,ue,yt);else for(Me=(Ue=T(U,j)).next,me=q?new this:[];!(Oe=a(Me,Ue)).done;ue++)yt=pe?c(Ue,J,[Oe.value,ue],!0):Oe.value,E(me,ue,yt);return me.length=ue,me}},25250:(y,b,o)=>{"use strict";var r=o(54712),a=o(79288),u=o(5226),c=function(e){return function(f,h,E){var T=r(f),D=u(T);if(0===D)return!e&&-1;var $,A=a(E,D);if(e&&h!=h){for(;D>A;)if(($=T[A++])!=$)return!0}else for(;D>A;A++)if((e||A in T)&&T[A]===h)return e||A||0;return!e&&-1}};y.exports={includes:c(!0),indexOf:c(!1)}},93575:(y,b,o)=>{"use strict";var r=o(10068),a=o(19823),u=o(41847),c=o(61952),e=o(5226),f=o(84869),h=a([].push),E=function(T){var D=1===T,A=2===T,$=3===T,Q=4===T,U=6===T,q=7===T,L=5===T||U;return function(J,pe,j,ue){for(var tt,Et,ie=c(J),me=u(ie),Oe=e(me),Ue=r(pe,j),Me=0,yt=ue||f,et=D?yt(J,Oe):A||q?yt(J,0):void 0;Oe>Me;Me++)if((L||Me in me)&&(Et=Ue(tt=me[Me],Me,ie),T))if(D)et[Me]=Et;else if(Et)switch(T){case 3:return!0;case 5:return tt;case 6:return Me;case 2:h(et,tt)}else switch(T){case 4:return!1;case 7:h(et,tt)}return U?-1:$||Q?Q:et}};y.exports={forEach:E(0),map:E(1),filter:E(2),some:E(3),every:E(4),find:E(5),findIndex:E(6),filterReject:E(7)}},8685:(y,b,o)=>{"use strict";var r=o(10154),a=o(54712),u=o(47254),c=o(5226),e=o(90148),f=Math.min,h=[].lastIndexOf,E=!!h&&1/[1].lastIndexOf(1,-0)<0,T=e("lastIndexOf");y.exports=E||!T?function($){if(E)return r(h,this,arguments)||0;var Q=a(this),U=c(Q);if(0===U)return-1;var q=U-1;for(arguments.length>1&&(q=f(q,u(arguments[1]))),q<0&&(q=U+q);q>=0;q--)if(q in Q&&Q[q]===$)return q||0;return-1}:h},85515:(y,b,o)=>{"use strict";var r=o(6070),a=o(91323),u=o(62507),c=a("species");y.exports=function(e){return u>=51||!r(function(){var f=[];return(f.constructor={})[c]=function(){return{foo:1}},1!==f[e](Boolean).foo})}},90148:(y,b,o)=>{"use strict";var r=o(6070);y.exports=function(a,u){var c=[][a];return!!c&&r(function(){c.call(null,u||function(){return 1},1)})}},74675:(y,b,o)=>{"use strict";var r=o(41511),a=o(61952),u=o(41847),c=o(5226),e=TypeError,f="Reduce of empty array with no initial value",h=function(E){return function(T,D,A,$){var Q=a(T),U=u(Q),q=c(Q);if(r(D),0===q&&A<2)throw new e(f);var L=E?q-1:0,J=E?-1:1;if(A<2)for(;;){if(L in U){$=U[L],L+=J;break}if(L+=J,E?L<0:q<=L)throw new e(f)}for(;E?L>=0:q>L;L+=J)L in U&&($=D($,U[L],L,Q));return $}};y.exports={left:h(!1),right:h(!0)}},50105:(y,b,o)=>{"use strict";var r=o(96617),a=o(98420),u=TypeError,c=Object.getOwnPropertyDescriptor,e=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(f){return f instanceof TypeError}}();y.exports=e?function(f,h){if(a(f)&&!c(f,"length").writable)throw new u("Cannot set read only .length");return f.length=h}:function(f,h){return f.length=h}},52772:(y,b,o)=>{"use strict";var r=o(19823);y.exports=r([].slice)},80338:(y,b,o)=>{"use strict";var r=o(52772),a=Math.floor,u=function(c,e){var f=c.length;if(f<8)for(var E,T,h=1;h<f;){for(T=h,E=c[h];T&&e(c[T-1],E)>0;)c[T]=c[--T];T!==h++&&(c[T]=E)}else for(var D=a(f/2),A=u(r(c,0,D),e),$=u(r(c,D),e),Q=A.length,U=$.length,q=0,L=0;q<Q||L<U;)c[q+L]=q<Q&&L<U?e(A[q],$[L])<=0?A[q++]:$[L++]:q<Q?A[q++]:$[L++];return c};y.exports=u},84394:(y,b,o)=>{"use strict";var r=o(98420),a=o(92157),u=o(7694),e=o(91323)("species"),f=Array;y.exports=function(h){var E;return r(h)&&(a(E=h.constructor)&&(E===f||r(E.prototype))||u(E)&&null===(E=E[e]))&&(E=void 0),void 0===E?f:E}},84869:(y,b,o)=>{"use strict";var r=o(84394);y.exports=function(a,u){return new(r(a))(0===u?0:u)}},91958:(y,b,o)=>{"use strict";var r=o(21768),a=o(60282);y.exports=function(u,c,e,f){try{return f?c(r(e)[0],e[1]):c(e)}catch(h){a(u,"throw",h)}}},82001:y=>{"use strict";y.exports=function(b,o){return 1===o?function(r,a){return r[b](a)}:function(r,a,u){return r[b](a,u)}}},26311:(y,b,o)=>{"use strict";var a=o(91323)("iterator"),u=!1;try{var c=0,e={next:function(){return{done:!!c++}},return:function(){u=!0}};e[a]=function(){return this},Array.from(e,function(){throw 2})}catch{}y.exports=function(f,h){try{if(!h&&!u)return!1}catch{return!1}var E=!1;try{var T={};T[a]=function(){return{next:function(){return{done:E=!0}}}},f(T)}catch{}return E}},59243:(y,b,o)=>{"use strict";var r=o(19823),a=r({}.toString),u=r("".slice);y.exports=function(c){return u(a(c),8,-1)}},96483:(y,b,o)=>{"use strict";var r=o(49250),a=o(4884),u=o(59243),e=o(91323)("toStringTag"),f=Object,h="Arguments"===u(function(){return arguments}());y.exports=r?u:function(T){var D,A,$;return void 0===T?"Undefined":null===T?"Null":"string"==typeof(A=function(T,D){try{return T[D]}catch{}}(D=f(T),e))?A:h?u(D):"Object"===($=u(D))&&a(D.callee)?"Arguments":$}},19517:(y,b,o)=>{"use strict";var r=o(10068),a=o(21768),u=o(61952),c=o(44458);y.exports=function(e,f,h){return function(T){var D=u(T),A=arguments.length,$=A>1?arguments[1]:void 0,Q=void 0!==$,U=Q?r($,A>2?arguments[2]:void 0):void 0,q=new e,L=0;return c(D,function(J){var pe=Q?U(J,L++):J;h?f(q,a(pe)[0],pe[1]):f(q,pe)}),q}}},44658:(y,b,o)=>{"use strict";var r=o(21768);y.exports=function(a,u,c){return function(){for(var f=new a,h=arguments.length,E=0;E<h;E++){var T=arguments[E];c?u(f,r(T)[0],T[1]):u(f,T)}return f}}},42299:(y,b,o)=>{"use strict";var r=o(81091),a=o(87078),u=o(29303),c=o(10068),e=o(87630),f=o(58973),h=o(44458),E=o(99570),T=o(34503),D=o(61424),A=o(96617),$=o(19708).fastKey,Q=o(68081),U=Q.set,q=Q.getterFor;y.exports={getConstructor:function(L,J,pe,j){var ue=L(function(Me,yt){e(Me,ie),U(Me,{type:J,index:r(null),first:void 0,last:void 0,size:0}),A||(Me.size=0),f(yt)||h(yt,Me[j],{that:Me,AS_ENTRIES:pe})}),ie=ue.prototype,me=q(J),Oe=function(Me,yt,et){var ze,bt,tt=me(Me),Et=Ue(Me,yt);return Et?Et.value=et:(tt.last=Et={index:bt=$(yt,!0),key:yt,value:et,previous:ze=tt.last,next:void 0,removed:!1},tt.first||(tt.first=Et),ze&&(ze.next=Et),A?tt.size++:Me.size++,"F"!==bt&&(tt.index[bt]=Et)),Me},Ue=function(Me,yt){var Et,et=me(Me),tt=$(yt);if("F"!==tt)return et.index[tt];for(Et=et.first;Et;Et=Et.next)if(Et.key===yt)return Et};return u(ie,{clear:function(){for(var et=me(this),tt=et.first;tt;)tt.removed=!0,tt.previous&&(tt.previous=tt.previous.next=void 0),tt=tt.next;et.first=et.last=void 0,et.index=r(null),A?et.size=0:this.size=0},delete:function(Me){var et=me(this),tt=Ue(this,Me);if(tt){var Et=tt.next,ze=tt.previous;delete et.index[tt.index],tt.removed=!0,ze&&(ze.next=Et),Et&&(Et.previous=ze),et.first===tt&&(et.first=Et),et.last===tt&&(et.last=ze),A?et.size--:this.size--}return!!tt},forEach:function(yt){for(var Et,et=me(this),tt=c(yt,arguments.length>1?arguments[1]:void 0);Et=Et?Et.next:et.first;)for(tt(Et.value,Et.key,this);Et&&Et.removed;)Et=Et.previous},has:function(yt){return!!Ue(this,yt)}}),u(ie,pe?{get:function(yt){var et=Ue(this,yt);return et&&et.value},set:function(yt,et){return Oe(this,0===yt?0:yt,et)}}:{add:function(yt){return Oe(this,yt=0===yt?0:yt,yt)}}),A&&a(ie,"size",{configurable:!0,get:function(){return me(this).size}}),ue},setStrong:function(L,J,pe){var j=J+" Iterator",ue=q(J),ie=q(j);E(L,J,function(me,Oe){U(this,{type:j,target:me,state:ue(me),kind:Oe,last:void 0})},function(){for(var me=ie(this),Oe=me.kind,Ue=me.last;Ue&&Ue.removed;)Ue=Ue.previous;return me.target&&(me.last=Ue=Ue?Ue.next:me.state.first)?T("keys"===Oe?Ue.key:"values"===Oe?Ue.value:[Ue.key,Ue.value],!1):(me.target=void 0,T(void 0,!0))},pe?"entries":"values",!pe,!0),D(J)}}},66964:(y,b,o)=>{"use strict";var r=o(76722),a=o(86043),u=o(19708),c=o(6070),e=o(31920),f=o(44458),h=o(87630),E=o(4884),T=o(7694),D=o(58973),A=o(49264),$=o(46499).f,Q=o(93575).forEach,U=o(96617),q=o(68081),L=q.set,J=q.getterFor;y.exports=function(pe,j,ue){var et,ie=-1!==pe.indexOf("Map"),me=-1!==pe.indexOf("Weak"),Oe=ie?"set":"add",Ue=a[pe],Me=Ue&&Ue.prototype,yt={};if(U&&E(Ue)&&(me||Me.forEach&&!c(function(){(new Ue).entries().next()}))){var tt=(et=j(function(ze,bt){L(h(ze,tt),{type:pe,collection:new Ue}),D(bt)||f(bt,ze[Oe],{that:ze,AS_ENTRIES:ie})})).prototype,Et=J(pe);Q(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(ze){var bt="add"===ze||"set"===ze;ze in Me&&(!me||"clear"!==ze)&&e(tt,ze,function(Ct,Qt){var ht=Et(this).collection;if(!bt&&me&&!T(Ct))return"get"===ze&&void 0;var en=ht[ze](0===Ct?0:Ct,Qt);return bt?this:en})}),me||$(tt,"size",{configurable:!0,get:function(){return Et(this).collection.size}})}else et=ue.getConstructor(j,pe,ie,Oe),u.enable();return A(et,pe,!1,!0),yt[pe]=et,r({global:!0,forced:!0},yt),me||ue.setStrong(et,pe,ie),et}},51495:(y,b,o)=>{"use strict";var r=o(46880),a=o(80920),u=o(5856),c=o(46499);y.exports=function(e,f,h){for(var E=a(f),T=c.f,D=u.f,A=0;A<E.length;A++){var $=E[A];!r(e,$)&&(!h||!r(h,$))&&T(e,$,D(f,$))}}},59314:(y,b,o)=>{"use strict";var a=o(91323)("match");y.exports=function(u){var c=/./;try{"/./"[u](c)}catch{try{return c[a]=!1,"/./"[u](c)}catch{}}return!1}},95139:(y,b,o)=>{"use strict";var r=o(6070);y.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},34503:y=>{"use strict";y.exports=function(b,o){return{value:b,done:o}}},31920:(y,b,o)=>{"use strict";var r=o(96617),a=o(46499),u=o(35207);y.exports=r?function(c,e,f){return a.f(c,e,u(1,f))}:function(c,e,f){return c[e]=f,c}},35207:y=>{"use strict";y.exports=function(b,o){return{enumerable:!(1&b),configurable:!(2&b),writable:!(4&b),value:o}}},97220:(y,b,o)=>{"use strict";var r=o(96617),a=o(46499),u=o(35207);y.exports=function(c,e,f){r?a.f(c,e,u(0,f)):c[e]=f}},35009:(y,b,o)=>{"use strict";var r=o(19823),a=o(6070),u=o(18722).start,c=RangeError,e=isFinite,f=Math.abs,h=Date.prototype,E=h.toISOString,T=r(h.getTime),D=r(h.getUTCDate),A=r(h.getUTCFullYear),$=r(h.getUTCHours),Q=r(h.getUTCMilliseconds),U=r(h.getUTCMinutes),q=r(h.getUTCMonth),L=r(h.getUTCSeconds);y.exports=a(function(){return"0385-07-25T07:06:39.999Z"!==E.call(new Date(-50000000000001))})||!a(function(){E.call(new Date(NaN))})?function(){if(!e(T(this)))throw new c("Invalid time value");var pe=this,j=A(pe),ue=Q(pe),ie=j<0?"-":j>9999?"+":"";return ie+u(f(j),ie?6:4,0)+"-"+u(q(pe)+1,2,0)+"-"+u(D(pe),2,0)+"T"+u($(pe),2,0)+":"+u(U(pe),2,0)+":"+u(L(pe),2,0)+"."+u(ue,3,0)+"Z"}:E},87078:(y,b,o)=>{"use strict";var r=o(46499);y.exports=function(a,u,c){return r.f(a,u,c)}},65469:(y,b,o)=>{"use strict";var r=o(31920);y.exports=function(a,u,c,e){return e&&e.enumerable?a[u]=c:r(a,u,c),a}},29303:(y,b,o)=>{"use strict";var r=o(65469);y.exports=function(a,u,c){for(var e in u)c&&c.unsafe&&a[e]?a[e]=u[e]:r(a,e,u[e],c);return a}},14071:(y,b,o)=>{"use strict";var r=o(86043),a=Object.defineProperty;y.exports=function(u,c){try{a(r,u,{value:c,configurable:!0,writable:!0})}catch{r[u]=c}return c}},528:(y,b,o)=>{"use strict";var r=o(23886),a=TypeError;y.exports=function(u,c){if(!delete u[c])throw new a("Cannot delete property "+r(c)+" of "+r(u))}},96617:(y,b,o)=>{"use strict";var r=o(6070);y.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},17323:(y,b,o)=>{"use strict";var r=o(86043),a=o(7694),u=r.document,c=a(u)&&a(u.createElement);y.exports=function(e){return c?u.createElement(e):{}}},58429:y=>{"use strict";var b=TypeError;y.exports=function(r){if(r>9007199254740991)throw b("Maximum allowed index exceeded");return r}},9307:y=>{"use strict";y.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},37918:(y,b,o)=>{"use strict";var a=o(46756).match(/firefox\/(\d+)/i);y.exports=!!a&&+a[1]},71179:(y,b,o)=>{"use strict";var r=o(57584),a=o(32343);y.exports=!r&&!a&&"object"==typeof window&&"object"==typeof document},58113:y=>{"use strict";y.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},57584:y=>{"use strict";y.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},80275:(y,b,o)=>{"use strict";var r=o(46756);y.exports=/MSIE|Trident/.test(r)},96991:(y,b,o)=>{"use strict";var r=o(46756);y.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble<"u"},51036:(y,b,o)=>{"use strict";var r=o(46756);y.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},32343:(y,b,o)=>{"use strict";var r=o(86043),a=o(59243);y.exports="process"===a(r.process)},60467:(y,b,o)=>{"use strict";var r=o(46756);y.exports=/web0s(?!.*chrome)/i.test(r)},46756:y=>{"use strict";y.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},62507:(y,b,o)=>{"use strict";var h,E,r=o(86043),a=o(46756),u=r.process,c=r.Deno,e=u&&u.versions||c&&c.version,f=e&&e.v8;f&&(E=(h=f.split("."))[0]>0&&h[0]<4?1:+(h[0]+h[1])),!E&&a&&(!(h=a.match(/Edge\/(\d+)/))||h[1]>=74)&&(h=a.match(/Chrome\/(\d+)/))&&(E=+h[1]),y.exports=E},28145:(y,b,o)=>{"use strict";var a=o(46756).match(/AppleWebKit\/(\d+)\./);y.exports=!!a&&+a[1]},90398:y=>{"use strict";y.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},61757:(y,b,o)=>{"use strict";var r=o(19823),a=Error,u=r("".replace),c=String(new a("zxcasd").stack),e=/\n\s*at [^:]*:[^\n]*/,f=e.test(c);y.exports=function(h,E){if(f&&"string"==typeof h&&!a.prepareStackTrace)for(;E--;)h=u(h,e,"");return h}},63134:(y,b,o)=>{"use strict";var r=o(31920),a=o(61757),u=o(20229),c=Error.captureStackTrace;y.exports=function(e,f,h,E){u&&(c?c(e,f):r(e,"stack",a(h,E)))}},20229:(y,b,o)=>{"use strict";var r=o(6070),a=o(35207);y.exports=!r(function(){var u=new Error("a");return!("stack"in u)||(Object.defineProperty(u,"stack",a(1,7)),7!==u.stack)})},76722:(y,b,o)=>{"use strict";var r=o(86043),a=o(10154),u=o(3998),c=o(4884),e=o(5856).f,f=o(29386),h=o(18208),E=o(10068),T=o(31920),D=o(46880);o(70750);var A=function($){var Q=function(U,q,L){if(this instanceof Q){switch(arguments.length){case 0:return new $;case 1:return new $(U);case 2:return new $(U,q)}return new $(U,q,L)}return a($,this,arguments)};return Q.prototype=$.prototype,Q};y.exports=function($,Q){var ie,me,Oe,Ue,Me,yt,et,tt,Et,U=$.target,q=$.global,L=$.stat,J=$.proto,pe=q?r:L?r[U]:r[U]&&r[U].prototype,j=q?h:h[U]||T(h,U,{})[U],ue=j.prototype;for(Ue in Q)me=!(ie=f(q?Ue:U+(L?".":"#")+Ue,$.forced))&&pe&&D(pe,Ue),yt=j[Ue],me&&(et=$.dontCallGetSet?(Et=e(pe,Ue))&&Et.value:pe[Ue]),Me=me&&et?et:Q[Ue],(ie||J||typeof yt!=typeof Me)&&(tt=$.bind&&me?E(Me,r):$.wrap&&me?A(Me):J&&c(Me)?u(Me):Me,($.sham||Me&&Me.sham||yt&&yt.sham)&&T(tt,"sham",!0),T(j,Ue,tt),J&&(D(h,Oe=U+"Prototype")||T(h,Oe,{}),T(h[Oe],Ue,Me),$.real&&ue&&(ie||!ue[Ue])&&T(ue,Ue,Me)))}},6070:y=>{"use strict";y.exports=function(b){try{return!!b()}catch{return!0}}},59543:(y,b,o)=>{"use strict";var r=o(6070);y.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},10154:(y,b,o)=>{"use strict";var r=o(33111),a=Function.prototype,u=a.apply,c=a.call;y.exports="object"==typeof Reflect&&Reflect.apply||(r?c.bind(u):function(){return c.apply(u,arguments)})},10068:(y,b,o)=>{"use strict";var r=o(3998),a=o(41511),u=o(33111),c=r(r.bind);y.exports=function(e,f){return a(e),void 0===f?e:u?c(e,f):function(){return e.apply(f,arguments)}}},33111:(y,b,o)=>{"use strict";var r=o(6070);y.exports=!r(function(){var a=function(){}.bind();return"function"!=typeof a||a.hasOwnProperty("prototype")})},92801:(y,b,o)=>{"use strict";var r=o(19823),a=o(41511),u=o(7694),c=o(46880),e=o(52772),f=o(33111),h=Function,E=r([].concat),T=r([].join),D={},A=function($,Q,U){if(!c(D,Q)){for(var q=[],L=0;L<Q;L++)q[L]="a["+L+"]";D[Q]=h("C,a","return new C("+T(q,",")+")")}return D[Q]($,U)};y.exports=f?h.bind:function(Q){var U=a(this),q=U.prototype,L=e(arguments,1),J=function(){var j=E(L,e(arguments));return this instanceof J?A(U,j.length,j):U.apply(Q,j)};return u(q)&&(J.prototype=q),J}},24200:(y,b,o)=>{"use strict";var r=o(33111),a=Function.prototype.call;y.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},8468:(y,b,o)=>{"use strict";var r=o(96617),a=o(46880),u=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,e=a(u,"name"),f=e&&"something"===function(){}.name,h=e&&(!r||r&&c(u,"name").configurable);y.exports={EXISTS:e,PROPER:f,CONFIGURABLE:h}},49423:(y,b,o)=>{"use strict";var r=o(19823),a=o(41511);y.exports=function(u,c,e){try{return r(a(Object.getOwnPropertyDescriptor(u,c)[e]))}catch{}}},3998:(y,b,o)=>{"use strict";var r=o(59243),a=o(19823);y.exports=function(u){if("Function"===r(u))return a(u)}},19823:(y,b,o)=>{"use strict";var r=o(33111),a=Function.prototype,u=a.call,c=r&&a.bind.bind(u,u);y.exports=r?c:function(e){return function(){return u.apply(e,arguments)}}},96499:(y,b,o)=>{"use strict";var r=o(86043),a=o(18208);y.exports=function(u,c){var e=a[u+"Prototype"],f=e&&e[c];if(f)return f;var h=r[u],E=h&&h.prototype;return E&&E[c]}},73800:(y,b,o)=>{"use strict";var r=o(18208),a=o(86043),u=o(4884),c=function(e){return u(e)?e:void 0};y.exports=function(e,f){return arguments.length<2?c(r[e])||c(a[e]):r[e]&&r[e][f]||a[e]&&a[e][f]}},96420:(y,b,o)=>{"use strict";var r=o(96483),a=o(70143),u=o(58973),c=o(40457),f=o(91323)("iterator");y.exports=function(h){if(!u(h))return a(h,f)||a(h,"@@iterator")||c[r(h)]}},7846:(y,b,o)=>{"use strict";var r=o(24200),a=o(41511),u=o(21768),c=o(23886),e=o(96420),f=TypeError;y.exports=function(h,E){var T=arguments.length<2?e(h):E;if(a(T))return u(r(T,h));throw new f(c(h)+" is not iterable")}},67309:(y,b,o)=>{"use strict";var r=o(19823),a=o(98420),u=o(4884),c=o(59243),e=o(69579),f=r([].push);y.exports=function(h){if(u(h))return h;if(a(h)){for(var E=h.length,T=[],D=0;D<E;D++){var A=h[D];"string"==typeof A?f(T,A):("number"==typeof A||"Number"===c(A)||"String"===c(A))&&f(T,e(A))}var $=T.length,Q=!0;return function(U,q){if(Q)return Q=!1,q;if(a(this))return q;for(var L=0;L<$;L++)if(T[L]===U)return q}}}},70143:(y,b,o)=>{"use strict";var r=o(41511),a=o(58973);y.exports=function(u,c){var e=u[c];return a(e)?void 0:r(e)}},86043:function(y){"use strict";var b=function(o){return o&&o.Math===Math&&o};y.exports=b("object"==typeof globalThis&&globalThis)||b("object"==typeof window&&window)||b("object"==typeof self&&self)||b("object"==typeof global&&global)||b("object"==typeof this&&this)||function(){return this}()||Function("return this")()},46880:(y,b,o)=>{"use strict";var r=o(19823),a=o(61952),u=r({}.hasOwnProperty);y.exports=Object.hasOwn||function(e,f){return u(a(e),f)}},95397:y=>{"use strict";y.exports={}},34847:y=>{"use strict";y.exports=function(b,o){try{1===arguments.length?console.error(b):console.error(b,o)}catch{}}},64400:(y,b,o)=>{"use strict";var r=o(73800);y.exports=r("document","documentElement")},41718:(y,b,o)=>{"use strict";var r=o(96617),a=o(6070),u=o(17323);y.exports=!r&&!a(function(){return 7!==Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a})},41847:(y,b,o)=>{"use strict";var r=o(19823),a=o(6070),u=o(59243),c=Object,e=r("".split);y.exports=a(function(){return!c("z").propertyIsEnumerable(0)})?function(f){return"String"===u(f)?e(f,""):c(f)}:c},64624:(y,b,o)=>{"use strict";var r=o(19823),a=o(4884),u=o(70750),c=r(Function.toString);a(u.inspectSource)||(u.inspectSource=function(e){return c(e)}),y.exports=u.inspectSource},21664:(y,b,o)=>{"use strict";var r=o(7694),a=o(31920);y.exports=function(u,c){r(c)&&"cause"in c&&a(u,"cause",c.cause)}},19708:(y,b,o)=>{"use strict";var r=o(76722),a=o(19823),u=o(95397),c=o(7694),e=o(46880),f=o(46499).f,h=o(94493),E=o(26529),T=o(65962),D=o(83103),A=o(59543),$=!1,Q=D("meta"),U=0,q=function(ie){f(ie,Q,{value:{objectID:"O"+U++,weakData:{}}})},ue=y.exports={enable:function(){ue.enable=function(){},$=!0;var ie=h.f,me=a([].splice),Oe={};Oe[Q]=1,ie(Oe).length&&(h.f=function(Ue){for(var Me=ie(Ue),yt=0,et=Me.length;yt<et;yt++)if(Me[yt]===Q){me(Me,yt,1);break}return Me},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:E.f}))},fastKey:function(ie,me){if(!c(ie))return"symbol"==typeof ie?ie:("string"==typeof ie?"S":"P")+ie;if(!e(ie,Q)){if(!T(ie))return"F";if(!me)return"E";q(ie)}return ie[Q].objectID},getWeakData:function(ie,me){if(!e(ie,Q)){if(!T(ie))return!0;if(!me)return!1;q(ie)}return ie[Q].weakData},onFreeze:function(ie){return A&&$&&T(ie)&&!e(ie,Q)&&q(ie),ie}};u[Q]=!0},68081:(y,b,o)=>{"use strict";var $,Q,U,r=o(55524),a=o(86043),u=o(7694),c=o(31920),e=o(46880),f=o(70750),h=o(25436),E=o(95397),T="Object already initialized",D=a.TypeError;if(r||f.state){var J=f.state||(f.state=new(0,a.WeakMap));J.get=J.get,J.has=J.has,J.set=J.set,$=function(j,ue){if(J.has(j))throw new D(T);return ue.facade=j,J.set(j,ue),ue},Q=function(j){return J.get(j)||{}},U=function(j){return J.has(j)}}else{var pe=h("state");E[pe]=!0,$=function(j,ue){if(e(j,pe))throw new D(T);return ue.facade=j,c(j,pe,ue),ue},Q=function(j){return e(j,pe)?j[pe]:{}},U=function(j){return e(j,pe)}}y.exports={set:$,get:Q,has:U,enforce:function(j){return U(j)?Q(j):$(j,{})},getterFor:function(j){return function(ue){var ie;if(!u(ue)||(ie=Q(ue)).type!==j)throw new D("Incompatible receiver, "+j+" required");return ie}}}},49845:(y,b,o)=>{"use strict";var r=o(91323),a=o(40457),u=r("iterator"),c=Array.prototype;y.exports=function(e){return void 0!==e&&(a.Array===e||c[u]===e)}},98420:(y,b,o)=>{"use strict";var r=o(59243);y.exports=Array.isArray||function(u){return"Array"===r(u)}},4884:y=>{"use strict";var b="object"==typeof document&&document.all;y.exports=typeof b>"u"&&void 0!==b?function(o){return"function"==typeof o||o===b}:function(o){return"function"==typeof o}},92157:(y,b,o)=>{"use strict";var r=o(19823),a=o(6070),u=o(4884),c=o(96483),e=o(73800),f=o(64624),h=function(){},E=e("Reflect","construct"),T=/^\s*(?:class|function)\b/,D=r(T.exec),A=!T.test(h),$=function(q){if(!u(q))return!1;try{return E(h,[],q),!0}catch{return!1}},Q=function(q){if(!u(q))return!1;switch(c(q)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return A||!!D(T,f(q))}catch{return!0}};Q.sham=!0,y.exports=!E||a(function(){var U;return $($.call)||!$(Object)||!$(function(){U=!0})||U})?Q:$},54729:(y,b,o)=>{"use strict";var r=o(46880);y.exports=function(a){return void 0!==a&&(r(a,"value")||r(a,"writable"))}},29386:(y,b,o)=>{"use strict";var r=o(6070),a=o(4884),u=/#|\.prototype\./,c=function(T,D){var A=f[e(T)];return A===E||A!==h&&(a(D)?r(D):!!D)},e=c.normalize=function(T){return String(T).replace(u,".").toLowerCase()},f=c.data={},h=c.NATIVE="N",E=c.POLYFILL="P";y.exports=c},58973:y=>{"use strict";y.exports=function(b){return null==b}},7694:(y,b,o)=>{"use strict";var r=o(4884);y.exports=function(a){return"object"==typeof a?null!==a:r(a)}},4732:(y,b,o)=>{"use strict";var r=o(7694);y.exports=function(a){return r(a)||null===a}},47870:y=>{"use strict";y.exports=!0},15693:(y,b,o)=>{"use strict";var r=o(7694),a=o(59243),c=o(91323)("match");y.exports=function(e){var f;return r(e)&&(void 0!==(f=e[c])?!!f:"RegExp"===a(e))}},95014:(y,b,o)=>{"use strict";var r=o(73800),a=o(4884),u=o(75040),c=o(35514),e=Object;y.exports=c?function(f){return"symbol"==typeof f}:function(f){var h=r("Symbol");return a(h)&&u(h.prototype,e(f))}},80391:(y,b,o)=>{"use strict";var r=o(24200);y.exports=function(a,u,c){for(var h,E,e=c?a:a.iterator,f=a.next;!(h=r(f,e)).done;)if(void 0!==(E=u(h.value)))return E}},44458:(y,b,o)=>{"use strict";var r=o(10068),a=o(24200),u=o(21768),c=o(23886),e=o(49845),f=o(5226),h=o(75040),E=o(7846),T=o(96420),D=o(60282),A=TypeError,$=function(U,q){this.stopped=U,this.result=q},Q=$.prototype;y.exports=function(U,q,L){var Oe,Ue,Me,yt,et,tt,Et,pe=!(!L||!L.AS_ENTRIES),j=!(!L||!L.IS_RECORD),ue=!(!L||!L.IS_ITERATOR),ie=!(!L||!L.INTERRUPTED),me=r(q,L&&L.that),ze=function(Ct){return Oe&&D(Oe,"normal",Ct),new $(!0,Ct)},bt=function(Ct){return pe?(u(Ct),ie?me(Ct[0],Ct[1],ze):me(Ct[0],Ct[1])):ie?me(Ct,ze):me(Ct)};if(j)Oe=U.iterator;else if(ue)Oe=U;else{if(!(Ue=T(U)))throw new A(c(U)+" is not iterable");if(e(Ue)){for(Me=0,yt=f(U);yt>Me;Me++)if((et=bt(U[Me]))&&h(Q,et))return et;return new $(!1)}Oe=E(U,Ue)}for(tt=j?U.next:Oe.next;!(Et=a(tt,Oe)).done;){try{et=bt(Et.value)}catch(Ct){D(Oe,"throw",Ct)}if("object"==typeof et&&et&&h(Q,et))return et}return new $(!1)}},60282:(y,b,o)=>{"use strict";var r=o(24200),a=o(21768),u=o(70143);y.exports=function(c,e,f){var h,E;a(c);try{if(!(h=u(c,"return"))){if("throw"===e)throw f;return f}h=r(h,c)}catch(T){E=!0,h=T}if("throw"===e)throw f;if(E)throw h;return a(h),f}},89399:(y,b,o)=>{"use strict";var r=o(96650).IteratorPrototype,a=o(81091),u=o(35207),c=o(49264),e=o(40457),f=function(){return this};y.exports=function(h,E,T,D){var A=E+" Iterator";return h.prototype=a(r,{next:u(+!D,T)}),c(h,A,!1,!0),e[A]=f,h}},99570:(y,b,o)=>{"use strict";var r=o(76722),a=o(24200),u=o(47870),c=o(8468),e=o(4884),f=o(89399),h=o(62378),E=o(73404),T=o(49264),D=o(31920),A=o(65469),$=o(91323),Q=o(40457),U=o(96650),q=c.PROPER,L=c.CONFIGURABLE,J=U.IteratorPrototype,pe=U.BUGGY_SAFARI_ITERATORS,j=$("iterator"),ie="values",me="entries",Oe=function(){return this};y.exports=function(Ue,Me,yt,et,tt,Et,ze){f(yt,Me,et);var Dn,Rt,Xt,bt=function(un){if(un===tt&&nn)return nn;if(!pe&&un&&un in ht)return ht[un];switch(un){case"keys":case ie:case me:return function(){return new yt(this,un)}}return function(){return new yt(this)}},Ct=Me+" Iterator",Qt=!1,ht=Ue.prototype,en=ht[j]||ht["@@iterator"]||tt&&ht[tt],nn=!pe&&en||bt(tt),bn="Array"===Me&&ht.entries||en;if(bn&&(Dn=h(bn.call(new Ue)))!==Object.prototype&&Dn.next&&(!u&&h(Dn)!==J&&(E?E(Dn,J):e(Dn[j])||A(Dn,j,Oe)),T(Dn,Ct,!0,!0),u&&(Q[Ct]=Oe)),q&&tt===ie&&en&&en.name!==ie&&(!u&&L?D(ht,"name",ie):(Qt=!0,nn=function(){return a(en,this)})),tt)if(Rt={values:bt(ie),keys:Et?nn:bt("keys"),entries:bt(me)},ze)for(Xt in Rt)(pe||Qt||!(Xt in ht))&&A(ht,Xt,Rt[Xt]);else r({target:Me,proto:!0,forced:pe||Qt},Rt);return(!u||ze)&&ht[j]!==nn&&A(ht,j,nn,{name:tt}),Q[Me]=nn,Rt}},96650:(y,b,o)=>{"use strict";var A,$,Q,r=o(6070),a=o(4884),u=o(7694),c=o(81091),e=o(62378),f=o(65469),h=o(91323),E=o(47870),T=h("iterator"),D=!1;[].keys&&("next"in(Q=[].keys())?($=e(e(Q)))!==Object.prototype&&(A=$):D=!0),!u(A)||r(function(){var q={};return A[T].call(q)!==q})?A={}:E&&(A=c(A)),a(A[T])||f(A,T,function(){return this}),y.exports={IteratorPrototype:A,BUGGY_SAFARI_ITERATORS:D}},40457:y=>{"use strict";y.exports={}},5226:(y,b,o)=>{"use strict";var r=o(41297);y.exports=function(a){return r(a.length)}},55274:(y,b,o)=>{"use strict";var r=o(73800),a=o(82001),u=r("Map");y.exports={Map:u,set:a("set",2),get:a("get",1),has:a("has",1),remove:a("delete",1),proto:u.prototype}},84104:(y,b,o)=>{"use strict";var r=o(80391);y.exports=function(a,u,c){return c?r(a.entries(),function(e){return u(e[1],e[0])},!0):a.forEach(u)}},43670:(y,b,o)=>{"use strict";var r=o(24200),a=o(41511),u=o(4884),c=o(21768),e=TypeError;y.exports=function(h,E){var U,T=c(this),D=a(T.get),A=a(T.has),$=a(T.set),Q=arguments.length>2?arguments[2]:void 0;if(!u(E)&&!u(Q))throw new e("At least one callback required");return r(A,T,h)?(U=r(D,T,h),u(E)&&(U=E(U),r($,T,h,U))):u(Q)&&(U=Q(),r($,T,h,U)),U}},38960:y=>{"use strict";var b=Math.ceil,o=Math.floor;y.exports=Math.trunc||function(a){var u=+a;return(u>0?o:b)(u)}},50250:(y,b,o)=>{"use strict";var q,L,J,pe,j,r=o(86043),a=o(45159),u=o(10068),c=o(25409).set,e=o(47338),f=o(51036),h=o(96991),E=o(60467),T=o(32343),D=r.MutationObserver||r.WebKitMutationObserver,A=r.document,$=r.process,Q=r.Promise,U=a("queueMicrotask");if(!U){var ue=new e,ie=function(){var me,Oe;for(T&&(me=$.domain)&&me.exit();Oe=ue.get();)try{Oe()}catch(Ue){throw ue.head&&q(),Ue}me&&me.enter()};f||T||E||!D||!A?!h&&Q&&Q.resolve?((pe=Q.resolve(void 0)).constructor=Q,j=u(pe.then,pe),q=function(){j(ie)}):T?q=function(){$.nextTick(ie)}:(c=u(c,r),q=function(){c(ie)}):(L=!0,J=A.createTextNode(""),new D(ie).observe(J,{characterData:!0}),q=function(){J.data=L=!L}),U=function(me){ue.head||q(),ue.add(me)}}y.exports=U},32535:(y,b,o)=>{"use strict";var r=o(41511),a=TypeError,u=function(c){var e,f;this.promise=new c(function(h,E){if(void 0!==e||void 0!==f)throw new a("Bad Promise constructor");e=h,f=E}),this.resolve=r(e),this.reject=r(f)};y.exports.f=function(c){return new u(c)}},52808:(y,b,o)=>{"use strict";var r=o(69579);y.exports=function(a,u){return void 0===a?arguments.length<2?"":u:r(a)}},48424:(y,b,o)=>{"use strict";var r=o(15693),a=TypeError;y.exports=function(u){if(r(u))throw new a("The method doesn't accept regular expressions");return u}},49243:(y,b,o)=>{"use strict";var r=o(96617),a=o(19823),u=o(24200),c=o(6070),e=o(55438),f=o(34201),h=o(66078),E=o(61952),T=o(41847),D=Object.assign,A=Object.defineProperty,$=a([].concat);y.exports=!D||c(function(){if(r&&1!==D({b:1},D(A({},"a",{enumerable:!0,get:function(){A(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var Q={},U={},q=Symbol("assign detection"),L="abcdefghijklmnopqrst";return Q[q]=7,L.split("").forEach(function(J){U[J]=J}),7!==D({},Q)[q]||e(D({},U)).join("")!==L})?function(U,q){for(var L=E(U),J=arguments.length,pe=1,j=f.f,ue=h.f;J>pe;)for(var Me,ie=T(arguments[pe++]),me=j?$(e(ie),j(ie)):e(ie),Oe=me.length,Ue=0;Oe>Ue;)Me=me[Ue++],(!r||u(ue,ie,Me))&&(L[Me]=ie[Me]);return L}:D},81091:(y,b,o)=>{"use strict";var J,r=o(21768),a=o(24400),u=o(90398),c=o(95397),e=o(64400),f=o(17323),h=o(25436),D="prototype",A="script",$=h("IE_PROTO"),Q=function(){},U=function(j){return"<"+A+">"+j+"</"+A+">"},q=function(j){j.write(U("")),j.close();var ue=j.parentWindow.Object;return j=null,ue},pe=function(){try{J=new ActiveXObject("htmlfile")}catch{}pe=typeof document<"u"?document.domain&&J?q(J):function(){var ie,j=f("iframe"),ue="java"+A+":";return j.style.display="none",e.appendChild(j),j.src=String(ue),(ie=j.contentWindow.document).open(),ie.write(U("document.F=Object")),ie.close(),ie.F}():q(J);for(var j=u.length;j--;)delete pe[D][u[j]];return pe()};c[$]=!0,y.exports=Object.create||function(ue,ie){var me;return null!==ue?(Q[D]=r(ue),me=new Q,Q[D]=null,me[$]=ue):me=pe(),void 0===ie?me:a.f(me,ie)}},24400:(y,b,o)=>{"use strict";var r=o(96617),a=o(71639),u=o(46499),c=o(21768),e=o(54712),f=o(55438);b.f=r&&!a?Object.defineProperties:function(E,T){c(E);for(var U,D=e(T),A=f(T),$=A.length,Q=0;$>Q;)u.f(E,U=A[Q++],D[U]);return E}},46499:(y,b,o)=>{"use strict";var r=o(96617),a=o(41718),u=o(71639),c=o(21768),e=o(8854),f=TypeError,h=Object.defineProperty,E=Object.getOwnPropertyDescriptor,T="enumerable",D="configurable",A="writable";b.f=r?u?function(Q,U,q){if(c(Q),U=e(U),c(q),"function"==typeof Q&&"prototype"===U&&"value"in q&&A in q&&!q[A]){var L=E(Q,U);L&&L[A]&&(Q[U]=q.value,q={configurable:D in q?q[D]:L[D],enumerable:T in q?q[T]:L[T],writable:!1})}return h(Q,U,q)}:h:function(Q,U,q){if(c(Q),U=e(U),c(q),a)try{return h(Q,U,q)}catch{}if("get"in q||"set"in q)throw new f("Accessors not supported");return"value"in q&&(Q[U]=q.value),Q}},5856:(y,b,o)=>{"use strict";var r=o(96617),a=o(24200),u=o(66078),c=o(35207),e=o(54712),f=o(8854),h=o(46880),E=o(41718),T=Object.getOwnPropertyDescriptor;b.f=r?T:function(A,$){if(A=e(A),$=f($),E)try{return T(A,$)}catch{}if(h(A,$))return c(!a(u.f,A,$),A[$])}},26529:(y,b,o)=>{"use strict";var r=o(59243),a=o(54712),u=o(94493).f,c=o(52772),e="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];y.exports.f=function(E){return e&&"Window"===r(E)?function(h){try{return u(h)}catch{return c(e)}}(E):u(a(E))}},94493:(y,b,o)=>{"use strict";var r=o(39675),u=o(90398).concat("length","prototype");b.f=Object.getOwnPropertyNames||function(e){return r(e,u)}},34201:(y,b)=>{"use strict";b.f=Object.getOwnPropertySymbols},62378:(y,b,o)=>{"use strict";var r=o(46880),a=o(4884),u=o(61952),c=o(25436),e=o(95139),f=c("IE_PROTO"),h=Object,E=h.prototype;y.exports=e?h.getPrototypeOf:function(T){var D=u(T);if(r(D,f))return D[f];var A=D.constructor;return a(A)&&D instanceof A?A.prototype:D instanceof h?E:null}},65962:(y,b,o)=>{"use strict";var r=o(6070),a=o(7694),u=o(59243),c=o(31937),e=Object.isExtensible,f=r(function(){e(1)});y.exports=f||c?function(E){return!(!a(E)||c&&"ArrayBuffer"===u(E))&&(!e||e(E))}:e},75040:(y,b,o)=>{"use strict";var r=o(19823);y.exports=r({}.isPrototypeOf)},39675:(y,b,o)=>{"use strict";var r=o(19823),a=o(46880),u=o(54712),c=o(25250).indexOf,e=o(95397),f=r([].push);y.exports=function(h,E){var $,T=u(h),D=0,A=[];for($ in T)!a(e,$)&&a(T,$)&&f(A,$);for(;E.length>D;)a(T,$=E[D++])&&(~c(A,$)||f(A,$));return A}},55438:(y,b,o)=>{"use strict";var r=o(39675),a=o(90398);y.exports=Object.keys||function(c){return r(c,a)}},66078:(y,b)=>{"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!o.call({1:2},1);b.f=a?function(c){var e=r(this,c);return!!e&&e.enumerable}:o},73404:(y,b,o)=>{"use strict";var r=o(49423),a=o(21768),u=o(77338);y.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f,c=!1,e={};try{(f=r(Object.prototype,"__proto__","set"))(e,[]),c=e instanceof Array}catch{}return function(E,T){return a(E),u(T),c?f(E,T):E.__proto__=T,E}}():void 0)},91630:(y,b,o)=>{"use strict";var r=o(96617),a=o(6070),u=o(19823),c=o(62378),e=o(55438),f=o(54712),E=u(o(66078).f),T=u([].push),D=r&&a(function(){var $=Object.create(null);return $[2]=2,!E($,2)}),A=function($){return function(Q){for(var ue,U=f(Q),q=e(U),L=D&&null===c(U),J=q.length,pe=0,j=[];J>pe;)ue=q[pe++],(!r||(L?ue in U:E(U,ue)))&&T(j,$?[ue,U[ue]]:U[ue]);return j}};y.exports={entries:A(!0),values:A(!1)}},79887:(y,b,o)=>{"use strict";var r=o(49250),a=o(96483);y.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},40775:(y,b,o)=>{"use strict";var r=o(24200),a=o(4884),u=o(7694),c=TypeError;y.exports=function(e,f){var h,E;if("string"===f&&a(h=e.toString)&&!u(E=r(h,e))||a(h=e.valueOf)&&!u(E=r(h,e))||"string"!==f&&a(h=e.toString)&&!u(E=r(h,e)))return E;throw new c("Can't convert object to primitive value")}},80920:(y,b,o)=>{"use strict";var r=o(73800),a=o(19823),u=o(94493),c=o(34201),e=o(21768),f=a([].concat);y.exports=r("Reflect","ownKeys")||function(E){var T=u.f(e(E)),D=c.f;return D?f(T,D(E)):T}},18208:y=>{"use strict";y.exports={}},1456:y=>{"use strict";y.exports=function(b){try{return{error:!1,value:b()}}catch(o){return{error:!0,value:o}}}},97789:(y,b,o)=>{"use strict";var r=o(86043),a=o(8246),u=o(4884),c=o(29386),e=o(64624),f=o(91323),h=o(71179),E=o(57584),T=o(47870),D=o(62507),A=a&&a.prototype,$=f("species"),Q=!1,U=u(r.PromiseRejectionEvent),q=c("Promise",function(){var L=e(a),J=L!==String(a);if(!J&&66===D||T&&(!A.catch||!A.finally))return!0;if(!D||D<51||!/native code/.test(L)){var pe=new a(function(ie){ie(1)}),j=function(ie){ie(function(){},function(){})};if((pe.constructor={})[$]=j,!(Q=pe.then(function(){})instanceof j))return!0}return!J&&(h||E)&&!U});y.exports={CONSTRUCTOR:q,REJECTION_EVENT:U,SUBCLASSING:Q}},8246:(y,b,o)=>{"use strict";var r=o(86043);y.exports=r.Promise},32532:(y,b,o)=>{"use strict";var r=o(21768),a=o(7694),u=o(32535);y.exports=function(c,e){if(r(c),a(e)&&e.constructor===c)return e;var f=u.f(c);return(0,f.resolve)(e),f.promise}},49866:(y,b,o)=>{"use strict";var r=o(8246),a=o(26311),u=o(97789).CONSTRUCTOR;y.exports=u||!a(function(c){r.all(c).then(void 0,function(){})})},47338:y=>{"use strict";var b=function(){this.head=null,this.tail=null};b.prototype={add:function(o){var r={item:o,next:null},a=this.tail;a?a.next=r:this.head=r,this.tail=r},get:function(){var o=this.head;if(o)return null===(this.head=o.next)&&(this.tail=null),o.item}},y.exports=b},12610:(y,b,o)=>{"use strict";var r=o(58973),a=TypeError;y.exports=function(u){if(r(u))throw new a("Can't call method on "+u);return u}},45159:(y,b,o)=>{"use strict";var r=o(86043),a=o(96617),u=Object.getOwnPropertyDescriptor;y.exports=function(c){if(!a)return r[c];var e=u(r,c);return e&&e.value}},8584:y=>{"use strict";y.exports=function(b,o){return b===o||b!=b&&o!=o}},66160:(y,b,o)=>{"use strict";var D,r=o(86043),a=o(10154),u=o(4884),c=o(58113),e=o(46756),f=o(52772),h=o(34288),E=r.Function,T=/MSIE .\./.test(e)||c&&((D=r.Bun.version.split(".")).length<3||"0"===D[0]&&(D[1]<3||"3"===D[1]&&"0"===D[2]));y.exports=function(D,A){var $=A?2:1;return T?function(Q,U){var q=h(arguments.length,1)>$,L=u(Q)?Q:E(Q),J=q?f(arguments,$):[],pe=q?function(){a(L,this,J)}:L;return A?D(pe,U):D(pe)}:D}},61424:(y,b,o)=>{"use strict";var r=o(73800),a=o(87078),u=o(91323),c=o(96617),e=u("species");y.exports=function(f){var h=r(f);c&&h&&!h[e]&&a(h,e,{configurable:!0,get:function(){return this}})}},49264:(y,b,o)=>{"use strict";var r=o(49250),a=o(46499).f,u=o(31920),c=o(46880),e=o(79887),h=o(91323)("toStringTag");y.exports=function(E,T,D,A){var $=D?E:E&&E.prototype;$&&(c($,h)||a($,h,{configurable:!0,value:T}),A&&!r&&u($,"toString",e))}},25436:(y,b,o)=>{"use strict";var r=o(37745),a=o(83103),u=r("keys");y.exports=function(c){return u[c]||(u[c]=a(c))}},70750:(y,b,o)=>{"use strict";var r=o(47870),a=o(86043),u=o(14071),c="__core-js_shared__",e=y.exports=a[c]||u(c,{});(e.versions||(e.versions=[])).push({version:"3.36.0",mode:r?"pure":"global",copyright:"\xa9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE",source:"https://github.com/zloirock/core-js"})},37745:(y,b,o)=>{"use strict";var r=o(70750);y.exports=function(a,u){return r[a]||(r[a]=u||{})}},67912:(y,b,o)=>{"use strict";var r=o(21768),a=o(51616),u=o(58973),e=o(91323)("species");y.exports=function(f,h){var T,E=r(f).constructor;return void 0===E||u(T=r(E)[e])?h:a(T)}},57558:(y,b,o)=>{"use strict";var r=o(19823),a=o(47254),u=o(69579),c=o(12610),e=r("".charAt),f=r("".charCodeAt),h=r("".slice),E=function(T){return function(D,A){var q,L,$=u(c(D)),Q=a(A),U=$.length;return Q<0||Q>=U?T?"":void 0:(q=f($,Q))<55296||q>56319||Q+1===U||(L=f($,Q+1))<56320||L>57343?T?e($,Q):q:T?h($,Q,Q+2):L-56320+(q-55296<<10)+65536}};y.exports={codeAt:E(!1),charAt:E(!0)}},18722:(y,b,o)=>{"use strict";var r=o(19823),a=o(41297),u=o(69579),c=o(725),e=o(12610),f=r(c),h=r("".slice),E=Math.ceil,T=function(D){return function(A,$,Q){var pe,j,U=u(e(A)),q=a($),L=U.length,J=void 0===Q?" ":u(Q);return q<=L||""===J?U:((j=f(J,E((pe=q-L)/J.length))).length>pe&&(j=h(j,0,pe)),D?U+j:j+U)}};y.exports={start:T(!1),end:T(!0)}},66017:(y,b,o)=>{"use strict";var r=o(19823),a=2147483647,A=/[^\0-\u007E]/,$=/[.\u3002\uFF0E\uFF61]/g,Q="Overflow: input needs wider integers to process",q=RangeError,L=r($.exec),J=Math.floor,pe=String.fromCharCode,j=r("".charCodeAt),ue=r([].join),ie=r([].push),me=r("".replace),Oe=r("".split),Ue=r("".toLowerCase),yt=function(Et){return Et+22+75*(Et<26)},et=function(Et,ze,bt){var Ct=0;for(Et=bt?J(Et/700):Et>>1,Et+=J(Et/ze);Et>455;)Et=J(Et/35),Ct+=36;return J(Ct+36*Et/(Et+38))},tt=function(Et){var ze=[];Et=function(Et){for(var ze=[],bt=0,Ct=Et.length;bt<Ct;){var Qt=j(Et,bt++);if(Qt>=55296&&Qt<=56319&&bt<Ct){var ht=j(Et,bt++);56320==(64512&ht)?ie(ze,((1023&Qt)<<10)+(1023&ht)+65536):(ie(ze,Qt),bt--)}else ie(ze,Qt)}return ze}(Et);var en,nn,bt=Et.length,Ct=128,Qt=0,ht=72;for(en=0;en<Et.length;en++)(nn=Et[en])<128&&ie(ze,pe(nn));var bn=ze.length,Dn=bn;for(bn&&ie(ze,"-");Dn<bt;){var Rt=a;for(en=0;en<Et.length;en++)(nn=Et[en])>=Ct&&nn<Rt&&(Rt=nn);var Xt=Dn+1;if(Rt-Ct>J((a-Qt)/Xt))throw new q(Q);for(Qt+=(Rt-Ct)*Xt,Ct=Rt,en=0;en<Et.length;en++){if((nn=Et[en])<Ct&&++Qt>a)throw new q(Q);if(nn===Ct){for(var un=Qt,_n=36;;){var kn=_n<=ht?1:_n>=ht+26?26:_n-ht;if(un<kn)break;var ri=un-kn,Ir=36-kn;ie(ze,pe(yt(kn+ri%Ir))),un=J(ri/Ir),_n+=36}ie(ze,pe(yt(un))),ht=et(Qt,Xt,Dn===bn),Qt=0,Dn++}}Qt++,Ct++}return ue(ze,"")};y.exports=function(Et){var Ct,Qt,ze=[],bt=Oe(me(Ue(Et),$,"."),".");for(Ct=0;Ct<bt.length;Ct++)ie(ze,L(A,Qt=bt[Ct])?"xn--"+tt(Qt):Qt);return ue(ze,".")}},725:(y,b,o)=>{"use strict";var r=o(47254),a=o(69579),u=o(12610),c=RangeError;y.exports=function(f){var h=a(u(this)),E="",T=r(f);if(T<0||T===1/0)throw new c("Wrong number of repetitions");for(;T>0;(T>>>=1)&&(h+=h))1&T&&(E+=h);return E}},79178:(y,b,o)=>{"use strict";var r=o(8468).PROPER,a=o(6070),u=o(11444);y.exports=function(e){return a(function(){return!!u[e]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[e]()||r&&u[e].name!==e})}},40929:(y,b,o)=>{"use strict";var r=o(19823),a=o(12610),u=o(69579),c=o(11444),e=r("".replace),f=RegExp("^["+c+"]+"),h=RegExp("(^|[^"+c+"])["+c+"]+$"),E=function(T){return function(D){var A=u(a(D));return 1&T&&(A=e(A,f,"")),2&T&&(A=e(A,h,"$1")),A}};y.exports={start:E(1),end:E(2),trim:E(3)}},65304:(y,b,o)=>{"use strict";var r=o(62507),a=o(6070),c=o(86043).String;y.exports=!!Object.getOwnPropertySymbols&&!a(function(){var e=Symbol("symbol detection");return!c(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},38328:(y,b,o)=>{"use strict";var r=o(24200),a=o(73800),u=o(91323),c=o(65469);y.exports=function(){var e=a("Symbol"),f=e&&e.prototype,h=f&&f.valueOf,E=u("toPrimitive");f&&!f[E]&&c(f,E,function(T){return r(h,this)},{arity:1})}},41648:(y,b,o)=>{"use strict";var r=o(73800),a=o(19823),u=r("Symbol"),c=u.keyFor,e=a(u.prototype.valueOf);y.exports=u.isRegisteredSymbol||function(h){try{return void 0!==c(e(h))}catch{return!1}}},42789:(y,b,o)=>{"use strict";for(var r=o(37745),a=o(73800),u=o(19823),c=o(95014),e=o(91323),f=a("Symbol"),h=f.isWellKnownSymbol,E=a("Object","getOwnPropertyNames"),T=u(f.prototype.valueOf),D=r("wks"),A=0,$=E(f),Q=$.length;A<Q;A++)try{var U=$[A];c(f[U])&&e(U)}catch{}y.exports=function(L){if(h&&h(L))return!0;try{for(var J=T(L),pe=0,j=E(D),ue=j.length;pe<ue;pe++)if(D[j[pe]]==J)return!0}catch{}return!1}},7322:(y,b,o)=>{"use strict";var r=o(65304);y.exports=r&&!!Symbol.for&&!!Symbol.keyFor},25409:(y,b,o)=>{"use strict";var Oe,Ue,Me,yt,r=o(86043),a=o(10154),u=o(10068),c=o(4884),e=o(46880),f=o(6070),h=o(64400),E=o(52772),T=o(17323),D=o(34288),A=o(51036),$=o(32343),Q=r.setImmediate,U=r.clearImmediate,q=r.process,L=r.Dispatch,J=r.Function,pe=r.MessageChannel,j=r.String,ue=0,ie={},me="onreadystatechange";f(function(){Oe=r.location});var et=function(bt){if(e(ie,bt)){var Ct=ie[bt];delete ie[bt],Ct()}},tt=function(bt){return function(){et(bt)}},Et=function(bt){et(bt.data)},ze=function(bt){r.postMessage(j(bt),Oe.protocol+"//"+Oe.host)};(!Q||!U)&&(Q=function(Ct){D(arguments.length,1);var Qt=c(Ct)?Ct:J(Ct),ht=E(arguments,1);return ie[++ue]=function(){a(Qt,void 0,ht)},Ue(ue),ue},U=function(Ct){delete ie[Ct]},$?Ue=function(bt){q.nextTick(tt(bt))}:L&&L.now?Ue=function(bt){L.now(tt(bt))}:pe&&!A?(yt=(Me=new pe).port2,Me.port1.onmessage=Et,Ue=u(yt.postMessage,yt)):r.addEventListener&&c(r.postMessage)&&!r.importScripts&&Oe&&"file:"!==Oe.protocol&&!f(ze)?(Ue=ze,r.addEventListener("message",Et,!1)):Ue=me in T("script")?function(bt){h.appendChild(T("script"))[me]=function(){h.removeChild(this),et(bt)}}:function(bt){setTimeout(tt(bt),0)}),y.exports={set:Q,clear:U}},79288:(y,b,o)=>{"use strict";var r=o(47254),a=Math.max,u=Math.min;y.exports=function(c,e){var f=r(c);return f<0?a(f+e,0):u(f,e)}},54712:(y,b,o)=>{"use strict";var r=o(41847),a=o(12610);y.exports=function(u){return r(a(u))}},47254:(y,b,o)=>{"use strict";var r=o(38960);y.exports=function(a){var u=+a;return u!=u||0===u?0:r(u)}},41297:(y,b,o)=>{"use strict";var r=o(47254),a=Math.min;y.exports=function(u){var c=r(u);return c>0?a(c,9007199254740991):0}},61952:(y,b,o)=>{"use strict";var r=o(12610),a=Object;y.exports=function(u){return a(r(u))}},26662:(y,b,o)=>{"use strict";var r=o(24200),a=o(7694),u=o(95014),c=o(70143),e=o(40775),f=o(91323),h=TypeError,E=f("toPrimitive");y.exports=function(T,D){if(!a(T)||u(T))return T;var $,A=c(T,E);if(A){if(void 0===D&&(D="default"),$=r(A,T,D),!a($)||u($))return $;throw new h("Can't convert object to primitive value")}return void 0===D&&(D="number"),e(T,D)}},8854:(y,b,o)=>{"use strict";var r=o(26662),a=o(95014);y.exports=function(u){var c=r(u,"string");return a(c)?c:c+""}},49250:(y,b,o)=>{"use strict";var u={};u[o(91323)("toStringTag")]="z",y.exports="[object z]"===String(u)},69579:(y,b,o)=>{"use strict";var r=o(96483),a=String;y.exports=function(u){if("Symbol"===r(u))throw new TypeError("Cannot convert a Symbol value to a string");return a(u)}},23886:y=>{"use strict";var b=String;y.exports=function(o){try{return b(o)}catch{return"Object"}}},83103:(y,b,o)=>{"use strict";var r=o(19823),a=0,u=Math.random(),c=r(1..toString);y.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+c(++a+u,36)}},7766:(y,b,o)=>{"use strict";var r=o(6070),a=o(91323),u=o(96617),c=o(47870),e=a("iterator");y.exports=!r(function(){var f=new URL("b?a=1&b=2&c=3","http://a"),h=f.searchParams,E=new URLSearchParams("a=1&a=2&b=3"),T="";return f.pathname="c%20d",h.forEach(function(D,A){h.delete("b"),T+=A+D}),E.delete("a",2),E.delete("b",void 0),c&&(!f.toJSON||!E.has("a",1)||E.has("a",2)||!E.has("a",void 0)||E.has("b"))||!h.size&&(c||!u)||!h.sort||"http://a/c%20d?a=1&c=3"!==f.href||"3"!==h.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!h[e]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==T||"x"!==new URL("http://x",void 0).host})},35514:(y,b,o)=>{"use strict";var r=o(65304);y.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},71639:(y,b,o)=>{"use strict";var r=o(96617),a=o(6070);y.exports=r&&a(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},34288:y=>{"use strict";var b=TypeError;y.exports=function(o,r){if(o<r)throw new b("Not enough arguments");return o}},55524:(y,b,o)=>{"use strict";var r=o(86043),a=o(4884),u=r.WeakMap;y.exports=a(u)&&/native code/.test(String(u))},88148:(y,b,o)=>{"use strict";var r=o(18208),a=o(46880),u=o(16020),c=o(46499).f;y.exports=function(e){var f=r.Symbol||(r.Symbol={});a(f,e)||c(f,e,{value:u.f(e)})}},16020:(y,b,o)=>{"use strict";var r=o(91323);b.f=r},91323:(y,b,o)=>{"use strict";var r=o(86043),a=o(37745),u=o(46880),c=o(83103),e=o(65304),f=o(35514),h=r.Symbol,E=a("wks"),T=f?h.for||h:h&&h.withoutSetter||c;y.exports=function(D){return u(E,D)||(E[D]=e&&u(h,D)?h[D]:T("Symbol."+D)),E[D]}},11444:y=>{"use strict";y.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},54294:(y,b,o)=>{"use strict";var r=o(76722),a=o(75040),u=o(62378),c=o(73404),e=o(51495),f=o(81091),h=o(31920),E=o(35207),T=o(21664),D=o(63134),A=o(44458),$=o(52808),U=o(91323)("toStringTag"),q=Error,L=[].push,J=function(ue,ie){var Oe,me=a(pe,this);c?Oe=c(new q,me?u(this):pe):(Oe=me?this:f(pe),h(Oe,U,"Error")),void 0!==ie&&h(Oe,"message",$(ie)),D(Oe,J,Oe.stack,1),arguments.length>2&&T(Oe,arguments[2]);var Ue=[];return A(ue,L,{that:Ue}),h(Oe,"errors",Ue),Oe};c?c(J,q):e(J,q,{name:!0});var pe=J.prototype=f(q.prototype,{constructor:E(1,J),message:E(1,""),name:E(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:J})},97147:(y,b,o)=>{"use strict";o(54294)},89191:(y,b,o)=>{"use strict";var r=o(76722),a=o(6070),u=o(98420),c=o(7694),e=o(61952),f=o(5226),h=o(58429),E=o(97220),T=o(84869),D=o(85515),A=o(91323),$=o(62507),Q=A("isConcatSpreadable"),U=$>=51||!a(function(){var J=[];return J[Q]=!1,J.concat()[0]!==J}),q=function(J){if(!c(J))return!1;var pe=J[Q];return void 0!==pe?!!pe:u(J)};r({target:"Array",proto:!0,arity:1,forced:!U||!D("concat")},{concat:function(pe){var me,Oe,Ue,Me,yt,j=e(this),ue=T(j,0),ie=0;for(me=-1,Ue=arguments.length;me<Ue;me++)if(q(yt=-1===me?j:arguments[me]))for(Me=f(yt),h(ie+Me),Oe=0;Oe<Me;Oe++,ie++)Oe in yt&&E(ue,ie,yt[Oe]);else h(ie+1),E(ue,ie++,yt);return ue.length=ie,ue}})},56619:(y,b,o)=>{"use strict";var r=o(76722),a=o(93575).every;r({target:"Array",proto:!0,forced:!o(90148)("every")},{every:function(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}})},45750:(y,b,o)=>{"use strict";var r=o(76722),a=o(9851),u=o(32132);r({target:"Array",proto:!0},{fill:a}),u("fill")},38114:(y,b,o)=>{"use strict";var r=o(76722),a=o(93575).filter;r({target:"Array",proto:!0,forced:!o(85515)("filter")},{filter:function(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}})},52323:(y,b,o)=>{"use strict";var r=o(76722),a=o(93575).findIndex,u=o(32132),c="findIndex",e=!0;c in[]&&Array(1)[c](function(){e=!1}),r({target:"Array",proto:!0,forced:e},{findIndex:function(h){return a(this,h,arguments.length>1?arguments[1]:void 0)}}),u(c)},69480:(y,b,o)=>{"use strict";var r=o(76722),a=o(93575).find,u=o(32132),c="find",e=!0;c in[]&&Array(1)[c](function(){e=!1}),r({target:"Array",proto:!0,forced:e},{find:function(h){return a(this,h,arguments.length>1?arguments[1]:void 0)}}),u(c)},27539:(y,b,o)=>{"use strict";var r=o(76722),a=o(89274);r({target:"Array",proto:!0,forced:[].forEach!==a},{forEach:a})},58403:(y,b,o)=>{"use strict";var r=o(76722),a=o(43660);r({target:"Array",stat:!0,forced:!o(26311)(function(e){Array.from(e)})},{from:a})},58633:(y,b,o)=>{"use strict";var r=o(76722),a=o(25250).includes,u=o(6070),c=o(32132);r({target:"Array",proto:!0,forced:u(function(){return!Array(1).includes()})},{includes:function(h){return a(this,h,arguments.length>1?arguments[1]:void 0)}}),c("includes")},46307:(y,b,o)=>{"use strict";var r=o(76722),a=o(3998),u=o(25250).indexOf,c=o(90148),e=a([].indexOf),f=!!e&&1/e([1],1,-0)<0;r({target:"Array",proto:!0,forced:f||!c("indexOf")},{indexOf:function(T){var D=arguments.length>1?arguments[1]:void 0;return f?e(this,T,D)||0:u(this,T,D)}})},80744:(y,b,o)=>{"use strict";o(76722)({target:"Array",stat:!0},{isArray:o(98420)})},96833:(y,b,o)=>{"use strict";var r=o(54712),a=o(32132),u=o(40457),c=o(68081),e=o(46499).f,f=o(99570),h=o(34503),E=o(47870),T=o(96617),D="Array Iterator",A=c.set,$=c.getterFor(D);y.exports=f(Array,"Array",function(U,q){A(this,{type:D,target:r(U),index:0,kind:q})},function(){var U=$(this),q=U.target,L=U.index++;if(!q||L>=q.length)return U.target=void 0,h(void 0,!0);switch(U.kind){case"keys":return h(L,!1);case"values":return h(q[L],!1)}return h([L,q[L]],!1)},"values");var Q=u.Arguments=u.Array;if(a("keys"),a("values"),a("entries"),!E&&T&&"values"!==Q.name)try{e(Q,"name",{value:"values"})}catch{}},40692:(y,b,o)=>{"use strict";var r=o(76722),a=o(8685);r({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},94719:(y,b,o)=>{"use strict";var r=o(76722),a=o(93575).map;r({target:"Array",proto:!0,forced:!o(85515)("map")},{map:function(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}})},70428:(y,b,o)=>{"use strict";var r=o(76722),a=o(61952),u=o(5226),c=o(50105),e=o(58429);r({target:"Array",proto:!0,arity:1,forced:o(6070)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(D){return D instanceof TypeError}}()},{push:function(A){var $=a(this),Q=u($),U=arguments.length;e(Q+U);for(var q=0;q<U;q++)$[Q]=arguments[q],Q++;return c($,Q),Q}})},80795:(y,b,o)=>{"use strict";var r=o(76722),a=o(74675).left,u=o(90148),c=o(62507);r({target:"Array",proto:!0,forced:!o(32343)&&c>79&&c<83||!u("reduce")},{reduce:function(T){var D=arguments.length;return a(this,T,D,D>1?arguments[1]:void 0)}})},20004:(y,b,o)=>{"use strict";var r=o(76722),a=o(19823),u=o(98420),c=a([].reverse),e=[1,2];r({target:"Array",proto:!0,forced:String(e)===String(e.reverse())},{reverse:function(){return u(this)&&(this.length=this.length),c(this)}})},6513:(y,b,o)=>{"use strict";var r=o(76722),a=o(98420),u=o(92157),c=o(7694),e=o(79288),f=o(5226),h=o(54712),E=o(97220),T=o(91323),D=o(85515),A=o(52772),$=D("slice"),Q=T("species"),U=Array,q=Math.max;r({target:"Array",proto:!0,forced:!$},{slice:function(J,pe){var Oe,Ue,Me,j=h(this),ue=f(j),ie=e(J,ue),me=e(void 0===pe?ue:pe,ue);if(a(j)&&((u(Oe=j.constructor)&&(Oe===U||a(Oe.prototype))||c(Oe)&&null===(Oe=Oe[Q]))&&(Oe=void 0),Oe===U||void 0===Oe))return A(j,ie,me);for(Ue=new(void 0===Oe?U:Oe)(q(me-ie,0)),Me=0;ie<me;ie++,Me++)ie in j&&E(Ue,Me,j[ie]);return Ue.length=Me,Ue}})},79447:(y,b,o)=>{"use strict";var r=o(76722),a=o(93575).some;r({target:"Array",proto:!0,forced:!o(90148)("some")},{some:function(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}})},97216:(y,b,o)=>{"use strict";var r=o(76722),a=o(19823),u=o(41511),c=o(61952),e=o(5226),f=o(528),h=o(69579),E=o(6070),T=o(80338),D=o(90148),A=o(37918),$=o(80275),Q=o(62507),U=o(28145),q=[],L=a(q.sort),J=a(q.push),pe=E(function(){q.sort(void 0)}),j=E(function(){q.sort(null)}),ue=D("sort"),ie=!E(function(){if(Q)return Q<70;if(!(A&&A>3)){if($)return!0;if(U)return U<603;var Me,yt,et,tt,Ue="";for(Me=65;Me<76;Me++){switch(yt=String.fromCharCode(Me),Me){case 66:case 69:case 70:case 72:et=3;break;case 68:case 71:et=4;break;default:et=2}for(tt=0;tt<47;tt++)q.push({k:yt+tt,v:et})}for(q.sort(function(Et,ze){return ze.v-Et.v}),tt=0;tt<q.length;tt++)yt=q[tt].k.charAt(0),Ue.charAt(Ue.length-1)!==yt&&(Ue+=yt);return"DGBEFHACIJK"!==Ue}});r({target:"Array",proto:!0,forced:pe||!j||!ue||!ie},{sort:function(Me){void 0!==Me&&u(Me);var yt=c(this);if(ie)return void 0===Me?L(yt):L(yt,Me);var Et,ze,et=[],tt=e(yt);for(ze=0;ze<tt;ze++)ze in yt&&J(et,yt[ze]);for(T(et,function(Ue){return function(Me,yt){return void 0===yt?-1:void 0===Me?1:void 0!==Ue?+Ue(Me,yt)||0:h(Me)>h(yt)?1:-1}}(Me)),Et=e(et),ze=0;ze<Et;)yt[ze]=et[ze++];for(;ze<tt;)f(yt,ze++);return yt}})},88878:(y,b,o)=>{"use strict";var r=o(76722),a=o(61952),u=o(79288),c=o(47254),e=o(5226),f=o(50105),h=o(58429),E=o(84869),T=o(97220),D=o(528),$=o(85515)("splice"),Q=Math.max,U=Math.min;r({target:"Array",proto:!0,forced:!$},{splice:function(L,J){var me,Oe,Ue,Me,yt,et,pe=a(this),j=e(pe),ue=u(L,j),ie=arguments.length;for(0===ie?me=Oe=0:1===ie?(me=0,Oe=j-ue):(me=ie-2,Oe=U(Q(c(J),0),j-ue)),h(j+me-Oe),Ue=E(pe,Oe),Me=0;Me<Oe;Me++)(yt=ue+Me)in pe&&T(Ue,Me,pe[yt]);if(Ue.length=Oe,me<Oe){for(Me=ue;Me<j-Oe;Me++)et=Me+me,(yt=Me+Oe)in pe?pe[et]=pe[yt]:D(pe,et);for(Me=j;Me>j-Oe+me;Me--)D(pe,Me-1)}else if(me>Oe)for(Me=j-Oe;Me>ue;Me--)et=Me+me-1,(yt=Me+Oe-1)in pe?pe[et]=pe[yt]:D(pe,et);for(Me=0;Me<me;Me++)pe[Me+ue]=arguments[Me+2];return f(pe,j-Oe+me),Ue}})},15352:(y,b,o)=>{"use strict";var r=o(76722),a=o(19823),u=Date,c=a(u.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return c(new u)}})},38279:(y,b,o)=>{"use strict";var r=o(76722),a=o(24200),u=o(61952),c=o(26662),e=o(35009),f=o(59243);r({target:"Date",proto:!0,forced:o(6070)(function(){return null!==new Date(NaN).toJSON()||1!==a(Date.prototype.toJSON,{toISOString:function(){return 1}})})},{toJSON:function(D){var A=u(this),$=c(A,"number");return"number"!=typeof $||isFinite($)?"toISOString"in A||"Date"!==f(A)?A.toISOString():a(e,A):null}})},26970:()=>{},70170:(y,b,o)=>{"use strict";var r=o(76722),a=o(92801);r({target:"Function",proto:!0,forced:Function.bind!==a},{bind:a})},76895:(y,b,o)=>{"use strict";var r=o(76722),a=o(73800),u=o(10154),c=o(24200),e=o(19823),f=o(6070),h=o(4884),E=o(95014),T=o(52772),D=o(67309),A=o(65304),$=String,Q=a("JSON","stringify"),U=e(/./.exec),q=e("".charAt),L=e("".charCodeAt),J=e("".replace),pe=e(1..toString),j=/[\uD800-\uDFFF]/g,ue=/^[\uD800-\uDBFF]$/,ie=/^[\uDC00-\uDFFF]$/,me=!A||f(function(){var yt=a("Symbol")("stringify detection");return"[null]"!==Q([yt])||"{}"!==Q({a:yt})||"{}"!==Q(Object(yt))}),Oe=f(function(){return'"\\udf06\\ud834"'!==Q("\udf06\ud834")||'"\\udead"'!==Q("\udead")}),Ue=function(yt,et){var tt=T(arguments),Et=D(et);if(h(Et)||void 0!==yt&&!E(yt))return tt[1]=function(ze,bt){if(h(Et)&&(bt=c(Et,this,$(ze),bt)),!E(bt))return bt},u(Q,null,tt)},Me=function(yt,et,tt){var Et=q(tt,et-1),ze=q(tt,et+1);return U(ue,yt)&&!U(ie,ze)||U(ie,yt)&&!U(ue,Et)?"\\u"+pe(L(yt,0),16):yt};Q&&r({target:"JSON",stat:!0,arity:3,forced:me||Oe},{stringify:function(et,tt,Et){var ze=T(arguments),bt=u(me?Ue:Q,null,ze);return Oe&&"string"==typeof bt?J(bt,j,Me):bt}})},65067:(y,b,o)=>{"use strict";var r=o(86043);o(49264)(r.JSON,"JSON",!0)},35664:(y,b,o)=>{"use strict";o(66964)("Map",function(u){return function(){return u(this,arguments.length?arguments[0]:void 0)}},o(42299))},4603:(y,b,o)=>{"use strict";var r=o(76722),a=o(19823),u=o(41511),c=o(12610),e=o(44458),f=o(55274),h=o(47870),E=f.Map,T=f.has,D=f.get,A=f.set,$=a([].push);r({target:"Map",stat:!0,forced:h},{groupBy:function(U,q){c(U),u(q);var L=new E,J=0;return e(U,function(pe){var j=q(pe,J++);T(L,j)?$(D(L,j),pe):A(L,j,[pe])}),L}})},5759:(y,b,o)=>{"use strict";o(35664)},90712:()=>{},57926:(y,b,o)=>{"use strict";var r=o(76722),a=o(49243);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},19105:(y,b,o)=>{"use strict";o(76722)({target:"Object",stat:!0,sham:!o(96617)},{create:o(81091)})},41137:(y,b,o)=>{"use strict";var r=o(76722),a=o(96617),u=o(24400).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==u,sham:!a},{defineProperties:u})},61147:(y,b,o)=>{"use strict";var r=o(76722),a=o(96617),u=o(46499).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==u,sham:!a},{defineProperty:u})},93159:(y,b,o)=>{"use strict";var r=o(76722),a=o(6070),u=o(54712),c=o(5856).f,e=o(96617);r({target:"Object",stat:!0,forced:!e||a(function(){c(1)}),sham:!e},{getOwnPropertyDescriptor:function(E,T){return c(u(E),T)}})},52833:(y,b,o)=>{"use strict";var r=o(76722),a=o(96617),u=o(80920),c=o(54712),e=o(5856),f=o(97220);r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(E){for(var U,q,T=c(E),D=e.f,A=u(T),$={},Q=0;A.length>Q;)void 0!==(q=D(T,U=A[Q++]))&&f($,U,q);return $}})},90805:(y,b,o)=>{"use strict";var r=o(76722),a=o(65304),u=o(6070),c=o(34201),e=o(61952);r({target:"Object",stat:!0,forced:!a||u(function(){c.f(1)})},{getOwnPropertySymbols:function(E){var T=c.f;return T?T(e(E)):[]}})},57239:(y,b,o)=>{"use strict";var r=o(76722),a=o(6070),u=o(61952),c=o(62378),e=o(95139);r({target:"Object",stat:!0,forced:a(function(){c(1)}),sham:!e},{getPrototypeOf:function(E){return c(u(E))}})},43536:(y,b,o)=>{"use strict";var r=o(76722),a=o(61952),u=o(55438);r({target:"Object",stat:!0,forced:o(6070)(function(){u(1)})},{keys:function(h){return u(a(h))}})},76855:(y,b,o)=>{"use strict";o(76722)({target:"Object",stat:!0},{setPrototypeOf:o(73404)})},71561:()=>{},97970:(y,b,o)=>{"use strict";var r=o(76722),a=o(91630).values;r({target:"Object",stat:!0},{values:function(c){return a(c)}})},80356:(y,b,o)=>{"use strict";var r=o(76722),a=o(24200),u=o(41511),c=o(32535),e=o(1456),f=o(44458);r({target:"Promise",stat:!0,forced:o(49866)},{allSettled:function(T){var D=this,A=c.f(D),$=A.resolve,Q=A.reject,U=e(function(){var q=u(D.resolve),L=[],J=0,pe=1;f(T,function(j){var ue=J++,ie=!1;pe++,a(q,D,j).then(function(me){ie||(ie=!0,L[ue]={status:"fulfilled",value:me},--pe||$(L))},function(me){ie||(ie=!0,L[ue]={status:"rejected",reason:me},--pe||$(L))})}),--pe||$(L)});return U.error&&Q(U.value),A.promise}})},7875:(y,b,o)=>{"use strict";var r=o(76722),a=o(24200),u=o(41511),c=o(32535),e=o(1456),f=o(44458);r({target:"Promise",stat:!0,forced:o(49866)},{all:function(T){var D=this,A=c.f(D),$=A.resolve,Q=A.reject,U=e(function(){var q=u(D.resolve),L=[],J=0,pe=1;f(T,function(j){var ue=J++,ie=!1;pe++,a(q,D,j).then(function(me){ie||(ie=!0,L[ue]=me,--pe||$(L))},Q)}),--pe||$(L)});return U.error&&Q(U.value),A.promise}})},93996:(y,b,o)=>{"use strict";var r=o(76722),a=o(24200),u=o(41511),c=o(73800),e=o(32535),f=o(1456),h=o(44458),E=o(49866),T="No one promise resolved";r({target:"Promise",stat:!0,forced:E},{any:function(A){var $=this,Q=c("AggregateError"),U=e.f($),q=U.resolve,L=U.reject,J=f(function(){var pe=u($.resolve),j=[],ue=0,ie=1,me=!1;h(A,function(Oe){var Ue=ue++,Me=!1;ie++,a(pe,$,Oe).then(function(yt){Me||me||(me=!0,q(yt))},function(yt){Me||me||(Me=!0,j[Ue]=yt,--ie||L(new Q(j,T)))})}),--ie||L(new Q(j,T))});return J.error&&L(J.value),U.promise}})},58597:(y,b,o)=>{"use strict";var r=o(76722),a=o(47870),u=o(97789).CONSTRUCTOR,c=o(8246),e=o(73800),f=o(4884),h=o(65469),E=c&&c.prototype;if(r({target:"Promise",proto:!0,forced:u,real:!0},{catch:function(D){return this.then(void 0,D)}}),!a&&f(c)){var T=e("Promise").prototype.catch;E.catch!==T&&h(E,"catch",T,{unsafe:!0})}},41106:(y,b,o)=>{"use strict";var wr,_r,Ri,r=o(76722),a=o(47870),u=o(32343),c=o(86043),e=o(24200),f=o(65469),h=o(73404),E=o(49264),T=o(61424),D=o(41511),A=o(4884),$=o(7694),Q=o(87630),U=o(67912),q=o(25409).set,L=o(50250),J=o(34847),pe=o(1456),j=o(47338),ue=o(68081),ie=o(8246),me=o(97789),Oe=o(32535),Ue="Promise",Me=me.CONSTRUCTOR,yt=me.REJECTION_EVENT,et=me.SUBCLASSING,tt=ue.getterFor(Ue),Et=ue.set,ze=ie&&ie.prototype,bt=ie,Ct=ze,Qt=c.TypeError,ht=c.document,en=c.process,nn=Oe.f,bn=nn,Dn=!!(ht&&ht.createEvent&&c.dispatchEvent),Rt="unhandledrejection",Tr=function(Xr){var Ni;return!(!$(Xr)||!A(Ni=Xr.then))&&Ni},ft=function(Xr,Ni){var io,Vi,Pn,ji=Ni.value,jr=1===Ni.state,Pr=jr?Xr.ok:Xr.fail,Bo=Xr.resolve,cs=Xr.reject,ts=Xr.domain;try{Pr?(jr||(2===Ni.rejection&&Lr(Ni),Ni.rejection=1),!0===Pr?io=ji:(ts&&ts.enter(),io=Pr(ji),ts&&(ts.exit(),Pn=!0)),io===Xr.promise?cs(new Qt("Promise-chain cycle")):(Vi=Tr(io))?e(Vi,io,Bo,cs):Bo(io)):cs(ji)}catch(Nn){ts&&!Pn&&ts.exit(),cs(Nn)}},sn=function(Xr,Ni){Xr.notified||(Xr.notified=!0,L(function(){for(var jr,ji=Xr.reactions;jr=ji.get();)ft(jr,Xr);Xr.notified=!1,Ni&&!Xr.rejection&&Ln(Xr)}))},At=function(Xr,Ni,ji){var jr,Pr;Dn?((jr=ht.createEvent("Event")).promise=Ni,jr.reason=ji,jr.initEvent(Xr,!1,!0),c.dispatchEvent(jr)):jr={promise:Ni,reason:ji},!yt&&(Pr=c["on"+Xr])?Pr(jr):Xr===Rt&&J("Unhandled promise rejection",ji)},Ln=function(Xr){e(q,c,function(){var Pr,Ni=Xr.facade,ji=Xr.value;if(rr(Xr)&&(Pr=pe(function(){u?en.emit("unhandledRejection",ji,Ni):At(Rt,Ni,ji)}),Xr.rejection=u||rr(Xr)?2:1,Pr.error))throw Pr.value})},rr=function(Xr){return 1!==Xr.rejection&&!Xr.parent},Lr=function(Xr){e(q,c,function(){var Ni=Xr.facade;u?en.emit("rejectionHandled",Ni):At("rejectionhandled",Ni,Xr.value)})},Fi=function(Xr,Ni,ji){return function(jr){Xr(Ni,jr,ji)}},so=function(Xr,Ni,ji){Xr.done||(Xr.done=!0,ji&&(Xr=ji),Xr.value=Ni,Xr.state=2,sn(Xr,!0))},Vo=function(Xr,Ni,ji){if(!Xr.done){Xr.done=!0,ji&&(Xr=ji);try{if(Xr.facade===Ni)throw new Qt("Promise can't be resolved itself");var jr=Tr(Ni);jr?L(function(){var Pr={done:!1};try{e(jr,Ni,Fi(Vo,Pr,Xr),Fi(so,Pr,Xr))}catch(Bo){so(Pr,Bo,Xr)}}):(Xr.value=Ni,Xr.state=1,sn(Xr,!1))}catch(Pr){so({done:!1},Pr,Xr)}}};if(Me&&(bt=function(Ni){Q(this,Ct),D(Ni),e(wr,this);var ji=tt(this);try{Ni(Fi(Vo,ji),Fi(so,ji))}catch(jr){so(ji,jr)}},(wr=function(Ni){Et(this,{type:Ue,done:!1,notified:!1,parent:!1,reactions:new j,rejection:!1,state:0,value:void 0})}).prototype=f(Ct=bt.prototype,"then",function(Ni,ji){var jr=tt(this),Pr=nn(U(this,bt));return jr.parent=!0,Pr.ok=!A(Ni)||Ni,Pr.fail=A(ji)&&ji,Pr.domain=u?en.domain:void 0,0===jr.state?jr.reactions.add(Pr):L(function(){ft(Pr,jr)}),Pr.promise}),_r=function(){var Xr=new wr,Ni=tt(Xr);this.promise=Xr,this.resolve=Fi(Vo,Ni),this.reject=Fi(so,Ni)},Oe.f=nn=function(Xr){return Xr===bt||void 0===Xr?new _r(Xr):bn(Xr)},!a&&A(ie)&&ze!==Object.prototype)){Ri=ze.then,et||f(ze,"then",function(Ni,ji){var jr=this;return new bt(function(Pr,Bo){e(Ri,jr,Pr,Bo)}).then(Ni,ji)},{unsafe:!0});try{delete ze.constructor}catch{}h&&h(ze,Ct)}r({global:!0,constructor:!0,wrap:!0,forced:Me},{Promise:bt}),E(bt,Ue,!1,!0),T(Ue)},23807:(y,b,o)=>{"use strict";var r=o(76722),a=o(47870),u=o(8246),c=o(6070),e=o(73800),f=o(4884),h=o(67912),E=o(32532),T=o(65469),D=u&&u.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!u&&c(function(){D.finally.call({then:function(){}},function(){})})},{finally:function(Q){var U=h(this,e("Promise")),q=f(Q);return this.then(q?function(L){return E(U,Q()).then(function(){return L})}:Q,q?function(L){return E(U,Q()).then(function(){throw L})}:Q)}}),!a&&f(u)){var $=e("Promise").prototype.finally;D.finally!==$&&T(D,"finally",$,{unsafe:!0})}},17741:(y,b,o)=>{"use strict";o(41106),o(7875),o(58597),o(79198),o(55064),o(36503)},79198:(y,b,o)=>{"use strict";var r=o(76722),a=o(24200),u=o(41511),c=o(32535),e=o(1456),f=o(44458);r({target:"Promise",stat:!0,forced:o(49866)},{race:function(T){var D=this,A=c.f(D),$=A.reject,Q=e(function(){var U=u(D.resolve);f(T,function(q){a(U,D,q).then(A.resolve,$)})});return Q.error&&$(Q.value),A.promise}})},55064:(y,b,o)=>{"use strict";var r=o(76722),a=o(32535);r({target:"Promise",stat:!0,forced:o(97789).CONSTRUCTOR},{reject:function(e){var f=a.f(this);return(0,f.reject)(e),f.promise}})},36503:(y,b,o)=>{"use strict";var r=o(76722),a=o(73800),u=o(47870),c=o(8246),e=o(97789).CONSTRUCTOR,f=o(32532),h=a("Promise"),E=u&&!e;r({target:"Promise",stat:!0,forced:u||e},{resolve:function(D){return f(E&&this===h?c:this,D)}})},44170:(y,b,o)=>{"use strict";var r=o(76722),a=o(32535);r({target:"Promise",stat:!0},{withResolvers:function(){var c=a.f(this);return{promise:c.promise,resolve:c.resolve,reject:c.reject}}})},90549:(y,b,o)=>{"use strict";var r=o(76722),a=o(73800),u=o(10154),c=o(92801),e=o(51616),f=o(21768),h=o(7694),E=o(81091),T=o(6070),D=a("Reflect","construct"),A=Object.prototype,$=[].push,Q=T(function(){function L(){}return!(D(function(){},[],L)instanceof L)}),U=!T(function(){D(function(){})}),q=Q||U;r({target:"Reflect",stat:!0,forced:q,sham:q},{construct:function(J,pe){e(J),f(pe);var j=arguments.length<3?J:e(arguments[2]);if(U&&!Q)return D(J,pe,j);if(J===j){switch(pe.length){case 0:return new J;case 1:return new J(pe[0]);case 2:return new J(pe[0],pe[1]);case 3:return new J(pe[0],pe[1],pe[2]);case 4:return new J(pe[0],pe[1],pe[2],pe[3])}var ue=[null];return u($,ue,pe),new(u(c,J,ue))}var ie=j.prototype,me=E(h(ie)?ie:A),Oe=u(J,me,pe);return h(Oe)?Oe:me}})},29179:(y,b,o)=>{"use strict";var r=o(76722),a=o(24200),u=o(7694),c=o(21768),e=o(54729),f=o(5856),h=o(62378);r({target:"Reflect",stat:!0},{get:function E(T,D){var $,Q,A=arguments.length<3?T:arguments[2];return c(T)===A?T[D]:($=f.f(T,D))?e($)?$.value:void 0===$.get?void 0:a($.get,A):u(Q=h(T))?E(Q,D,A):void 0}})},8844:()=>{},21084:(y,b,o)=>{"use strict";var r=o(76722),a=o(19823),u=o(48424),c=o(12610),e=o(69579),f=o(59314),h=a("".indexOf);r({target:"String",proto:!0,forced:!f("includes")},{includes:function(T){return!!~h(e(c(this)),e(u(T)),arguments.length>1?arguments[1]:void 0)}})},28097:(y,b,o)=>{"use strict";var r=o(57558).charAt,a=o(69579),u=o(68081),c=o(99570),e=o(34503),f="String Iterator",h=u.set,E=u.getterFor(f);c(String,"String",function(T){h(this,{type:f,string:a(T),index:0})},function(){var Q,D=E(this),A=D.string,$=D.index;return $>=A.length?e(void 0,!0):(Q=r(A,$),D.index+=Q.length,e(Q,!1))})},65543:(y,b,o)=>{"use strict";o(76722)({target:"String",proto:!0},{repeat:o(725)})},19934:(y,b,o)=>{"use strict";var U,r=o(76722),a=o(3998),u=o(5856).f,c=o(41297),e=o(69579),f=o(48424),h=o(12610),E=o(59314),T=o(47870),D=a("".slice),A=Math.min,$=E("startsWith");r({target:"String",proto:!0,forced:!(!T&&!$&&(U=u(String.prototype,"startsWith"),U&&!U.writable)||$)},{startsWith:function(q){var L=e(h(this));f(q);var J=c(A(arguments.length>1?arguments[1]:void 0,L.length)),pe=e(q);return D(L,J,J+pe.length)===pe}})},36738:(y,b,o)=>{"use strict";var r=o(76722),a=o(40929).trim;r({target:"String",proto:!0,forced:o(79178)("trim")},{trim:function(){return a(this)}})},24314:(y,b,o)=>{"use strict";o(88148)("asyncIterator")},92606:(y,b,o)=>{"use strict";var r=o(76722),a=o(86043),u=o(24200),c=o(19823),e=o(47870),f=o(96617),h=o(65304),E=o(6070),T=o(46880),D=o(75040),A=o(21768),$=o(54712),Q=o(8854),U=o(69579),q=o(35207),L=o(81091),J=o(55438),pe=o(94493),j=o(26529),ue=o(34201),ie=o(5856),me=o(46499),Oe=o(24400),Ue=o(66078),Me=o(65469),yt=o(87078),et=o(37745),tt=o(25436),Et=o(95397),ze=o(83103),bt=o(91323),Ct=o(16020),Qt=o(88148),ht=o(38328),en=o(49264),nn=o(68081),bn=o(93575).forEach,Dn=tt("hidden"),Rt="Symbol",Xt="prototype",un=nn.set,_n=nn.getterFor(Rt),kn=Object[Xt],ri=a.Symbol,Ir=ri&&ri[Xt],wr=a.RangeError,_r=a.TypeError,oi=a.QObject,Ri=ie.f,Tr=me.f,ft=j.f,sn=Ue.f,At=c([].push),Ln=et("symbols"),rr=et("op-symbols"),Lr=et("wks"),Fi=!oi||!oi[Xt]||!oi[Xt].findChild,so=function(io,Vi,Pn){var Nn=Ri(kn,Vi);Nn&&delete kn[Vi],Tr(io,Vi,Pn),Nn&&io!==kn&&Tr(kn,Vi,Nn)},Vo=f&&E(function(){return 7!==L(Tr({},"a",{get:function(){return Tr(this,"a",{value:7}).a}})).a})?so:Tr,Xr=function(io,Vi){var Pn=Ln[io]=L(Ir);return un(Pn,{type:Rt,tag:io,description:Vi}),f||(Pn.description=Vi),Pn},Ni=function(Vi,Pn,Nn){Vi===kn&&Ni(rr,Pn,Nn),A(Vi);var Ut=Q(Pn);return A(Nn),T(Ln,Ut)?(Nn.enumerable?(T(Vi,Dn)&&Vi[Dn][Ut]&&(Vi[Dn][Ut]=!1),Nn=L(Nn,{enumerable:q(0,!1)})):(T(Vi,Dn)||Tr(Vi,Dn,q(1,L(null))),Vi[Dn][Ut]=!0),Vo(Vi,Ut,Nn)):Tr(Vi,Ut,Nn)},ji=function(Vi,Pn){A(Vi);var Nn=$(Pn),Ut=J(Nn).concat(ts(Nn));return bn(Ut,function(ke){(!f||u(Pr,Nn,ke))&&Ni(Vi,ke,Nn[ke])}),Vi},Pr=function(Vi){var Pn=Q(Vi),Nn=u(sn,this,Pn);return!(this===kn&&T(Ln,Pn)&&!T(rr,Pn))&&(!(Nn||!T(this,Pn)||!T(Ln,Pn)||T(this,Dn)&&this[Dn][Pn])||Nn)},Bo=function(Vi,Pn){var Nn=$(Vi),Ut=Q(Pn);if(Nn!==kn||!T(Ln,Ut)||T(rr,Ut)){var ke=Ri(Nn,Ut);return ke&&T(Ln,Ut)&&!(T(Nn,Dn)&&Nn[Dn][Ut])&&(ke.enumerable=!0),ke}},cs=function(Vi){var Pn=ft($(Vi)),Nn=[];return bn(Pn,function(Ut){!T(Ln,Ut)&&!T(Et,Ut)&&At(Nn,Ut)}),Nn},ts=function(io){var Vi=io===kn,Pn=ft(Vi?rr:$(io)),Nn=[];return bn(Pn,function(Ut){T(Ln,Ut)&&(!Vi||T(kn,Ut))&&At(Nn,Ln[Ut])}),Nn};h||(Me(Ir=(ri=function(){if(D(Ir,this))throw new _r("Symbol is not a constructor");var Vi=arguments.length&&void 0!==arguments[0]?U(arguments[0]):void 0,Pn=ze(Vi),Nn=function(Ut){var ke=void 0===this?a:this;ke===kn&&u(Nn,rr,Ut),T(ke,Dn)&&T(ke[Dn],Pn)&&(ke[Dn][Pn]=!1);var Ie=q(1,Ut);try{Vo(ke,Pn,Ie)}catch(Qe){if(!(Qe instanceof wr))throw Qe;so(ke,Pn,Ie)}};return f&&Fi&&Vo(kn,Pn,{configurable:!0,set:Nn}),Xr(Pn,Vi)})[Xt],"toString",function(){return _n(this).tag}),Me(ri,"withoutSetter",function(io){return Xr(ze(io),io)}),Ue.f=Pr,me.f=Ni,Oe.f=ji,ie.f=Bo,pe.f=j.f=cs,ue.f=ts,Ct.f=function(io){return Xr(bt(io),io)},f&&(yt(Ir,"description",{configurable:!0,get:function(){return _n(this).description}}),e||Me(kn,"propertyIsEnumerable",Pr,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:ri}),bn(J(Lr),function(io){Qt(io)}),r({target:Rt,stat:!0,forced:!h},{useSetter:function(){Fi=!0},useSimple:function(){Fi=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!f},{create:function(Vi,Pn){return void 0===Pn?L(Vi):ji(L(Vi),Pn)},defineProperty:Ni,defineProperties:ji,getOwnPropertyDescriptor:Bo}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:cs}),ht(),en(ri,Rt),Et[Dn]=!0},67626:()=>{},1317:(y,b,o)=>{"use strict";var r=o(76722),a=o(73800),u=o(46880),c=o(69579),e=o(37745),f=o(7322),h=e("string-to-symbol-registry"),E=e("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!f},{for:function(T){var D=c(T);if(u(h,D))return h[D];var A=a("Symbol")(D);return h[D]=A,E[A]=D,A}})},65685:(y,b,o)=>{"use strict";o(88148)("hasInstance")},81214:(y,b,o)=>{"use strict";o(88148)("isConcatSpreadable")},35821:(y,b,o)=>{"use strict";o(88148)("iterator")},21307:(y,b,o)=>{"use strict";o(92606),o(1317),o(39015),o(76895),o(90805)},39015:(y,b,o)=>{"use strict";var r=o(76722),a=o(46880),u=o(95014),c=o(23886),e=o(37745),f=o(7322),h=e("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!f},{keyFor:function(T){if(!u(T))throw new TypeError(c(T)+" is not a symbol");if(a(h,T))return h[T]}})},85348:(y,b,o)=>{"use strict";o(88148)("matchAll")},93885:(y,b,o)=>{"use strict";o(88148)("match")},46457:(y,b,o)=>{"use strict";o(88148)("replace")},42840:(y,b,o)=>{"use strict";o(88148)("search")},85011:(y,b,o)=>{"use strict";o(88148)("species")},58834:(y,b,o)=>{"use strict";o(88148)("split")},26100:(y,b,o)=>{"use strict";var r=o(88148),a=o(38328);r("toPrimitive"),a()},7992:(y,b,o)=>{"use strict";var r=o(73800),a=o(88148),u=o(49264);a("toStringTag"),u(r("Symbol"),"Symbol")},84841:(y,b,o)=>{"use strict";o(88148)("unscopables")},20736:(y,b,o)=>{"use strict";o(97147)},51903:(y,b,o)=>{"use strict";var r=o(91323),a=o(46499).f,u=r("metadata"),c=Function.prototype;void 0===c[u]&&a(c,u,{value:null})},12818:(y,b,o)=>{"use strict";var r=o(76722),a=o(90375),u=o(55274).remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var h,e=a(this),f=!0,E=0,T=arguments.length;E<T;E++)h=u(e,arguments[E]),f=f&&h;return!!f}})},95549:(y,b,o)=>{"use strict";var r=o(76722),a=o(90375),u=o(55274),c=u.get,e=u.has,f=u.set;r({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(E,T){var A,$,D=a(this);return e(D,E)?(A=c(D,E),"update"in T&&(A=T.update(A,E,D),f(D,E,A)),A):($=T.insert(E,D),f(D,E,$),$)}})},97288:(y,b,o)=>{"use strict";var r=o(76722),a=o(10068),u=o(90375),c=o(84104);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(f){var h=u(this),E=a(f,arguments.length>1?arguments[1]:void 0);return!1!==c(h,function(T,D){if(!E(T,D,h))return!1},!0)}})},86574:(y,b,o)=>{"use strict";var r=o(76722),a=o(10068),u=o(90375),c=o(55274),e=o(84104),f=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(T){var D=u(this),A=a(T,arguments.length>1?arguments[1]:void 0),$=new f;return e(D,function(Q,U){A(Q,U,D)&&h($,U,Q)}),$}})},57312:(y,b,o)=>{"use strict";var r=o(76722),a=o(10068),u=o(90375),c=o(84104);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(f){var h=u(this),E=a(f,arguments.length>1?arguments[1]:void 0),T=c(h,function(D,A){if(E(D,A,h))return{key:A}},!0);return T&&T.key}})},96607:(y,b,o)=>{"use strict";var r=o(76722),a=o(10068),u=o(90375),c=o(84104);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(f){var h=u(this),E=a(f,arguments.length>1?arguments[1]:void 0),T=c(h,function(D,A){if(E(D,A,h))return{value:D}},!0);return T&&T.value}})},49082:(y,b,o)=>{"use strict";var r=o(76722),a=o(55274);r({target:"Map",stat:!0,forced:!0},{from:o(19517)(a.Map,a.set,!0)})},25520:(y,b,o)=>{"use strict";o(4603)},68679:(y,b,o)=>{"use strict";var r=o(76722),a=o(8584),u=o(90375),c=o(84104);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(f){return!0===c(u(this),function(h){if(a(h,f))return!0},!0)}})},32091:(y,b,o)=>{"use strict";var r=o(76722),a=o(24200),u=o(44458),c=o(4884),e=o(41511),f=o(55274).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(E,T){var A=new(c(this)?this:f);e(T);var $=e(A.set);return u(E,function(Q){a($,A,T(Q),Q)}),A}})},44296:(y,b,o)=>{"use strict";var r=o(76722),a=o(90375),u=o(84104);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var f=u(a(this),function(h,E){if(h===e)return{key:E}},!0);return f&&f.key}})},8253:(y,b,o)=>{"use strict";var r=o(76722),a=o(10068),u=o(90375),c=o(55274),e=o(84104),f=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(T){var D=u(this),A=a(T,arguments.length>1?arguments[1]:void 0),$=new f;return e(D,function(Q,U){h($,A(Q,U,D),Q)}),$}})},87427:(y,b,o)=>{"use strict";var r=o(76722),a=o(10068),u=o(90375),c=o(55274),e=o(84104),f=c.Map,h=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(T){var D=u(this),A=a(T,arguments.length>1?arguments[1]:void 0),$=new f;return e(D,function(Q,U){h($,U,A(Q,U,D))}),$}})},87134:(y,b,o)=>{"use strict";var r=o(76722),a=o(90375),u=o(44458),c=o(55274).set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(f){for(var h=a(this),E=arguments.length,T=0;T<E;)u(arguments[T++],function(D,A){c(h,D,A)},{AS_ENTRIES:!0});return h}})},71231:(y,b,o)=>{"use strict";var r=o(76722),a=o(55274);r({target:"Map",stat:!0,forced:!0},{of:o(44658)(a.Map,a.set,!0)})},14966:(y,b,o)=>{"use strict";var r=o(76722),a=o(41511),u=o(90375),c=o(84104),e=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(h){var E=u(this),T=arguments.length<2,D=T?void 0:arguments[1];if(a(h),c(E,function(A,$){T?(T=!1,D=A):D=h(D,A,$,E)}),T)throw new e("Reduce of empty map with no initial value");return D}})},56935:(y,b,o)=>{"use strict";var r=o(76722),a=o(10068),u=o(90375),c=o(84104);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(f){var h=u(this),E=a(f,arguments.length>1?arguments[1]:void 0);return!0===c(h,function(T,D){if(E(T,D,h))return!0},!0)}})},25970:(y,b,o)=>{"use strict";o(76722)({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:o(43670)})},70535:(y,b,o)=>{"use strict";var r=o(76722),a=o(41511),u=o(90375),c=o(55274),e=TypeError,f=c.get,h=c.has,E=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(D,A){var $=u(this),Q=arguments.length;a(A);var U=h($,D);if(!U&&Q<3)throw new e("Updating absent value");var q=U?f($,D):a(Q>2?arguments[2]:void 0)(D,$);return E($,D,A(q,D,$)),$}})},55095:(y,b,o)=>{"use strict";o(76722)({target:"Map",proto:!0,real:!0,forced:!0},{upsert:o(43670)})},71606:(y,b,o)=>{"use strict";o(80356)},50205:(y,b,o)=>{"use strict";o(93996)},345:(y,b,o)=>{"use strict";var r=o(76722),a=o(32535),u=o(1456);r({target:"Promise",stat:!0,forced:!0},{try:function(c){var e=a.f(this),f=u(c);return(f.error?e.reject:e.resolve)(f.value),e.promise}})},68977:(y,b,o)=>{"use strict";o(44170)},95924:(y,b,o)=>{"use strict";o(88148)("asyncDispose")},74422:(y,b,o)=>{"use strict";o(88148)("dispose")},64301:(y,b,o)=>{"use strict";o(76722)({target:"Symbol",stat:!0},{isRegisteredSymbol:o(41648)})},54983:(y,b,o)=>{"use strict";o(76722)({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:o(41648)})},36436:(y,b,o)=>{"use strict";o(76722)({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:o(42789)})},30035:(y,b,o)=>{"use strict";o(76722)({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:o(42789)})},57752:(y,b,o)=>{"use strict";o(88148)("matcher")},28471:(y,b,o)=>{"use strict";o(88148)("metadataKey")},64168:(y,b,o)=>{"use strict";o(88148)("metadata")},55703:(y,b,o)=>{"use strict";o(88148)("observable")},22301:(y,b,o)=>{"use strict";o(88148)("patternMatch")},12206:(y,b,o)=>{"use strict";o(88148)("replaceAll")},57708:()=>{},94333:(y,b,o)=>{"use strict";o(96833);var r=o(9307),a=o(86043),u=o(49264),c=o(40457);for(var e in r)u(a[e],e),c[e]=c.Array},17908:(y,b,o)=>{"use strict";var r=o(76722),a=o(86043),c=o(66160)(a.setInterval,!0);r({global:!0,bind:!0,forced:a.setInterval!==c},{setInterval:c})},38645:(y,b,o)=>{"use strict";var r=o(76722),a=o(86043),c=o(66160)(a.setTimeout,!0);r({global:!0,bind:!0,forced:a.setTimeout!==c},{setTimeout:c})},54596:(y,b,o)=>{"use strict";o(17908),o(38645)},27413:(y,b,o)=>{"use strict";o(96833);var r=o(76722),a=o(86043),u=o(45159),c=o(24200),e=o(19823),f=o(96617),h=o(7766),E=o(65469),T=o(87078),D=o(29303),A=o(49264),$=o(89399),Q=o(68081),U=o(87630),q=o(4884),L=o(46880),J=o(10068),pe=o(96483),j=o(21768),ue=o(7694),ie=o(69579),me=o(81091),Oe=o(35207),Ue=o(7846),Me=o(96420),yt=o(34503),et=o(34288),tt=o(91323),Et=o(80338),ze=tt("iterator"),bt="URLSearchParams",Ct=bt+"Iterator",Qt=Q.set,ht=Q.getterFor(bt),en=Q.getterFor(Ct),nn=u("fetch"),bn=u("Request"),Dn=u("Headers"),Rt=bn&&bn.prototype,Xt=Dn&&Dn.prototype,un=a.RegExp,_n=a.TypeError,kn=a.decodeURIComponent,ri=a.encodeURIComponent,Ir=e("".charAt),wr=e([].join),_r=e([].push),oi=e("".replace),Ri=e([].shift),Tr=e([].splice),ft=e("".split),sn=e("".slice),At=/\+/g,Ln=Array(4),rr=function(Pn){return Ln[Pn-1]||(Ln[Pn-1]=un("((?:%[\\da-f]{2}){"+Pn+"})","gi"))},Lr=function(Pn){try{return kn(Pn)}catch{return Pn}},Fi=function(Pn){var Nn=oi(Pn,At," "),Ut=4;try{return kn(Nn)}catch{for(;Ut;)Nn=oi(Nn,rr(Ut--),Lr);return Nn}},so=/[!'()~]|%20/g,Vo={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Xr=function(Pn){return Vo[Pn]},Ni=function(Pn){return oi(ri(Pn),so,Xr)},ji=$(function(Nn,Ut){Qt(this,{type:Ct,target:ht(Nn).entries,index:0,kind:Ut})},bt,function(){var Nn=en(this),Ut=Nn.target,ke=Nn.index++;if(!Ut||ke>=Ut.length)return Nn.target=void 0,yt(void 0,!0);var Ie=Ut[ke];switch(Nn.kind){case"keys":return yt(Ie.key,!1);case"values":return yt(Ie.value,!1)}return yt([Ie.key,Ie.value],!1)},!0),jr=function(Pn){this.entries=[],this.url=null,void 0!==Pn&&(ue(Pn)?this.parseObject(Pn):this.parseQuery("string"==typeof Pn?"?"===Ir(Pn,0)?sn(Pn,1):Pn:ie(Pn)))};jr.prototype={type:bt,bindURL:function(Pn){this.url=Pn,this.update()},parseObject:function(Pn){var ke,Ie,Qe,Ve,tn,ot,xt,Nn=this.entries,Ut=Me(Pn);if(Ut)for(Ie=(ke=Ue(Pn,Ut)).next;!(Qe=c(Ie,ke)).done;){if(Ve=Ue(j(Qe.value)),(ot=c(tn=Ve.next,Ve)).done||(xt=c(tn,Ve)).done||!c(tn,Ve).done)throw new _n("Expected sequence with length 2");_r(Nn,{key:ie(ot.value),value:ie(xt.value)})}else for(var qt in Pn)L(Pn,qt)&&_r(Nn,{key:qt,value:ie(Pn[qt])})},parseQuery:function(Pn){if(Pn)for(var Ie,Qe,Nn=this.entries,Ut=ft(Pn,"&"),ke=0;ke<Ut.length;)(Ie=Ut[ke++]).length&&(Qe=ft(Ie,"="),_r(Nn,{key:Fi(Ri(Qe)),value:Fi(wr(Qe,"="))}))},serialize:function(){for(var ke,Pn=this.entries,Nn=[],Ut=0;Ut<Pn.length;)ke=Pn[Ut++],_r(Nn,Ni(ke.key)+"="+Ni(ke.value));return wr(Nn,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Pr=function(){U(this,Bo);var Ut=Qt(this,new jr(arguments.length>0?arguments[0]:void 0));f||(this.size=Ut.entries.length)},Bo=Pr.prototype;if(D(Bo,{append:function(Nn,Ut){var ke=ht(this);et(arguments.length,2),_r(ke.entries,{key:ie(Nn),value:ie(Ut)}),f||this.length++,ke.updateURL()},delete:function(Pn){for(var Nn=ht(this),Ut=et(arguments.length,1),ke=Nn.entries,Ie=ie(Pn),Qe=Ut<2?void 0:arguments[1],Ve=void 0===Qe?Qe:ie(Qe),tn=0;tn<ke.length;){var ot=ke[tn];if(ot.key!==Ie||void 0!==Ve&&ot.value!==Ve)tn++;else if(Tr(ke,tn,1),void 0!==Ve)break}f||(this.size=ke.length),Nn.updateURL()},get:function(Nn){var Ut=ht(this).entries;et(arguments.length,1);for(var ke=ie(Nn),Ie=0;Ie<Ut.length;Ie++)if(Ut[Ie].key===ke)return Ut[Ie].value;return null},getAll:function(Nn){var Ut=ht(this).entries;et(arguments.length,1);for(var ke=ie(Nn),Ie=[],Qe=0;Qe<Ut.length;Qe++)Ut[Qe].key===ke&&_r(Ie,Ut[Qe].value);return Ie},has:function(Nn){for(var Ut=ht(this).entries,ke=et(arguments.length,1),Ie=ie(Nn),Qe=ke<2?void 0:arguments[1],Ve=void 0===Qe?Qe:ie(Qe),tn=0;tn<Ut.length;){var ot=Ut[tn++];if(ot.key===Ie&&(void 0===Ve||ot.value===Ve))return!0}return!1},set:function(Nn,Ut){var ke=ht(this);et(arguments.length,1);for(var xt,Ie=ke.entries,Qe=!1,Ve=ie(Nn),tn=ie(Ut),ot=0;ot<Ie.length;ot++)(xt=Ie[ot]).key===Ve&&(Qe?Tr(Ie,ot--,1):(Qe=!0,xt.value=tn));Qe||_r(Ie,{key:Ve,value:tn}),f||(this.size=Ie.length),ke.updateURL()},sort:function(){var Nn=ht(this);Et(Nn.entries,function(Ut,ke){return Ut.key>ke.key?1:-1}),Nn.updateURL()},forEach:function(Nn){for(var Qe,Ut=ht(this).entries,ke=J(Nn,arguments.length>1?arguments[1]:void 0),Ie=0;Ie<Ut.length;)ke((Qe=Ut[Ie++]).value,Qe.key,this)},keys:function(){return new ji(this,"keys")},values:function(){return new ji(this,"values")},entries:function(){return new ji(this,"entries")}},{enumerable:!0}),E(Bo,ze,Bo.entries,{name:"entries"}),E(Bo,"toString",function(){return ht(this).serialize()},{enumerable:!0}),f&&T(Bo,"size",{get:function(){return ht(this).entries.length},configurable:!0,enumerable:!0}),A(Pr,bt),r({global:!0,constructor:!0,forced:!h},{URLSearchParams:Pr}),!h&&q(Dn)){var cs=e(Xt.has),ts=e(Xt.set),io=function(Pn){if(ue(Pn)){var Ut,Nn=Pn.body;if(pe(Nn)===bt)return Ut=Pn.headers?new Dn(Pn.headers):new Dn,cs(Ut,"content-type")||ts(Ut,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),me(Pn,{body:Oe(0,ie(Nn)),headers:Oe(0,Ut)})}return Pn};if(q(nn)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Nn){return nn(Nn,arguments.length>1?io(arguments[1]):{})}}),q(bn)){var Vi=function(Nn){return U(this,Rt),new bn(Nn,arguments.length>1?io(arguments[1]):{})};Rt.constructor=Vi,Vi.prototype=Rt,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Vi})}}y.exports={URLSearchParams:Pr,getState:ht}},51406:()=>{},58001:()=>{},30333:(y,b,o)=>{"use strict";o(27413)},84639:()=>{},24837:(y,b,o)=>{"use strict";var r=o(76722),a=o(73800),u=o(6070),c=o(34288),e=o(69579),f=o(7766),h=a("URL");r({target:"URL",stat:!0,forced:!(f&&u(function(){h.canParse()}))},{canParse:function(D){var A=c(arguments.length,1),$=e(D),Q=A<2||void 0===arguments[1]?void 0:e(arguments[1]);try{return!!new h($,Q)}catch{return!1}}})},2434:(y,b,o)=>{"use strict";o(28097);var so,r=o(76722),a=o(96617),u=o(7766),c=o(86043),e=o(10068),f=o(19823),h=o(65469),E=o(87078),T=o(87630),D=o(46880),A=o(49243),$=o(43660),Q=o(52772),U=o(57558).codeAt,q=o(66017),L=o(69579),J=o(49264),pe=o(34288),j=o(27413),ue=o(68081),ie=ue.set,me=ue.getterFor("URL"),Oe=j.URLSearchParams,Ue=j.getState,Me=c.URL,yt=c.TypeError,et=c.parseInt,tt=Math.floor,Et=Math.pow,ze=f("".charAt),bt=f(/./.exec),Ct=f([].join),Qt=f(1..toString),ht=f([].pop),en=f([].push),nn=f("".replace),bn=f([].shift),Dn=f("".split),Rt=f("".slice),Xt=f("".toLowerCase),un=f([].unshift),kn="Invalid scheme",ri="Invalid host",Ir="Invalid port",wr=/[a-z]/i,_r=/[\d+-.a-z]/i,oi=/\d/,Ri=/^0x/i,Tr=/^[0-7]+$/,ft=/^\d+$/,sn=/^[\da-f]+$/i,At=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Ln=/[\0\t\n\r #/:<>?@[\\\]^|]/,rr=/^[\u0000-\u0020]+/,Lr=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Fi=/[\t\n\r]/g,ji=function(hr){var Ii,ni,Vr,wi;if("number"==typeof hr){for(Ii=[],ni=0;ni<4;ni++)un(Ii,hr%256),hr=tt(hr/256);return Ct(Ii,".")}if("object"==typeof hr){for(Ii="",Vr=function(hr){for(var Ii=null,ni=1,Vr=null,wi=0,Gi=0;Gi<8;Gi++)0!==hr[Gi]?(wi>ni&&(Ii=Vr,ni=wi),Vr=null,wi=0):(null===Vr&&(Vr=Gi),++wi);return wi>ni&&(Ii=Vr,ni=wi),Ii}(hr),ni=0;ni<8;ni++)wi&&0===hr[ni]||(wi&&(wi=!1),Vr===ni?(Ii+=ni?":":"::",wi=!0):(Ii+=Qt(hr[ni],16),ni<7&&(Ii+=":")));return"["+Ii+"]"}return hr},jr={},Pr=A({},jr,{" ":1,'"':1,"<":1,">":1,"`":1}),Bo=A({},Pr,{"#":1,"?":1,"{":1,"}":1}),cs=A({},Bo,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ts=function(hr,Ii){var ni=U(hr,0);return ni>32&&ni<127&&!D(Ii,hr)?hr:encodeURIComponent(hr)},io={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Vi=function(hr,Ii){var ni;return 2===hr.length&&bt(wr,ze(hr,0))&&(":"===(ni=ze(hr,1))||!Ii&&"|"===ni)},Pn=function(hr){var Ii;return hr.length>1&&Vi(Rt(hr,0,2))&&(2===hr.length||"/"===(Ii=ze(hr,2))||"\\"===Ii||"?"===Ii||"#"===Ii)},Nn=function(hr){return"."===hr||"%2e"===Xt(hr)},Ut=function(hr){return".."===(hr=Xt(hr))||"%2e."===hr||".%2e"===hr||"%2e%2e"===hr},ke={},Ie={},Qe={},Ve={},tn={},ot={},xt={},qt={},tr={},vr={},An={},yr={},Nr={},nr={},Qn={},dr={},Wn={},Wt={},kt={},st={},zt={},er=function(hr,Ii,ni){var wi,Gi,Wi,Vr=L(hr);if(Ii){if(Gi=this.parse(Vr))throw new yt(Gi);this.searchParams=null}else{if(void 0!==ni&&(wi=new er(ni,!0)),Gi=this.parse(Vr,null,wi))throw new yt(Gi);(Wi=Ue(new Oe)).bindURL(this),this.searchParams=Wi}};er.prototype={type:"URL",parse:function(hr,Ii,ni){var qr,$r,Cn,mn,Vr=this,wi=Ii||ke,Gi=0,Wi="",Mo=!1,As=!1,Ls=!1;for(hr=L(hr),Ii||(Vr.scheme="",Vr.username="",Vr.password="",Vr.host=null,Vr.port=null,Vr.path=[],Vr.query=null,Vr.fragment=null,Vr.cannotBeABaseURL=!1,hr=nn(hr,rr,""),hr=nn(hr,Lr,"$1")),hr=nn(hr,Fi,""),qr=$(hr);Gi<=qr.length;){switch($r=qr[Gi],wi){case ke:if(!$r||!bt(wr,$r)){if(Ii)return kn;wi=Qe;continue}Wi+=Xt($r),wi=Ie;break;case Ie:if($r&&(bt(_r,$r)||"+"===$r||"-"===$r||"."===$r))Wi+=Xt($r);else{if(":"!==$r){if(Ii)return kn;Wi="",wi=Qe,Gi=0;continue}if(Ii&&(Vr.isSpecial()!==D(io,Wi)||"file"===Wi&&(Vr.includesCredentials()||null!==Vr.port)||"file"===Vr.scheme&&!Vr.host))return;if(Vr.scheme=Wi,Ii)return void(Vr.isSpecial()&&io[Vr.scheme]===Vr.port&&(Vr.port=null));Wi="","file"===Vr.scheme?wi=nr:Vr.isSpecial()&&ni&&ni.scheme===Vr.scheme?wi=Ve:Vr.isSpecial()?wi=qt:"/"===qr[Gi+1]?(wi=tn,Gi++):(Vr.cannotBeABaseURL=!0,en(Vr.path,""),wi=kt)}break;case Qe:if(!ni||ni.cannotBeABaseURL&&"#"!==$r)return kn;if(ni.cannotBeABaseURL&&"#"===$r){Vr.scheme=ni.scheme,Vr.path=Q(ni.path),Vr.query=ni.query,Vr.fragment="",Vr.cannotBeABaseURL=!0,wi=zt;break}wi="file"===ni.scheme?nr:ot;continue;case Ve:if("/"!==$r||"/"!==qr[Gi+1]){wi=ot;continue}wi=tr,Gi++;break;case tn:if("/"===$r){wi=vr;break}wi=Wt;continue;case ot:if(Vr.scheme=ni.scheme,$r===so)Vr.username=ni.username,Vr.password=ni.password,Vr.host=ni.host,Vr.port=ni.port,Vr.path=Q(ni.path),Vr.query=ni.query;else if("/"===$r||"\\"===$r&&Vr.isSpecial())wi=xt;else if("?"===$r)Vr.username=ni.username,Vr.password=ni.password,Vr.host=ni.host,Vr.port=ni.port,Vr.path=Q(ni.path),Vr.query="",wi=st;else{if("#"!==$r){Vr.username=ni.username,Vr.password=ni.password,Vr.host=ni.host,Vr.port=ni.port,Vr.path=Q(ni.path),Vr.path.length--,wi=Wt;continue}Vr.username=ni.username,Vr.password=ni.password,Vr.host=ni.host,Vr.port=ni.port,Vr.path=Q(ni.path),Vr.query=ni.query,Vr.fragment="",wi=zt}break;case xt:if(!Vr.isSpecial()||"/"!==$r&&"\\"!==$r){if("/"!==$r){Vr.username=ni.username,Vr.password=ni.password,Vr.host=ni.host,Vr.port=ni.port,wi=Wt;continue}wi=vr}else wi=tr;break;case qt:if(wi=tr,"/"!==$r||"/"!==ze(Wi,Gi+1))continue;Gi++;break;case tr:if("/"!==$r&&"\\"!==$r){wi=vr;continue}break;case vr:if("@"===$r){Mo&&(Wi="%40"+Wi),Mo=!0,Cn=$(Wi);for(var kr=0;kr<Cn.length;kr++){var Qi=Cn[kr];if(":"!==Qi||Ls){var xo=ts(Qi,cs);Ls?Vr.password+=xo:Vr.username+=xo}else Ls=!0}Wi=""}else if($r===so||"/"===$r||"?"===$r||"#"===$r||"\\"===$r&&Vr.isSpecial()){if(Mo&&""===Wi)return"Invalid authority";Gi-=$(Wi).length+1,Wi="",wi=An}else Wi+=$r;break;case An:case yr:if(Ii&&"file"===Vr.scheme){wi=dr;continue}if(":"!==$r||As){if($r===so||"/"===$r||"?"===$r||"#"===$r||"\\"===$r&&Vr.isSpecial()){if(Vr.isSpecial()&&""===Wi)return ri;if(Ii&&""===Wi&&(Vr.includesCredentials()||null!==Vr.port))return;if(mn=Vr.parseHost(Wi))return mn;if(Wi="",wi=Wn,Ii)return;continue}"["===$r?As=!0:"]"===$r&&(As=!1),Wi+=$r}else{if(""===Wi)return ri;if(mn=Vr.parseHost(Wi))return mn;if(Wi="",wi=Nr,Ii===yr)return}break;case Nr:if(!bt(oi,$r)){if($r===so||"/"===$r||"?"===$r||"#"===$r||"\\"===$r&&Vr.isSpecial()||Ii){if(""!==Wi){var Ss=et(Wi,10);if(Ss>65535)return Ir;Vr.port=Vr.isSpecial()&&Ss===io[Vr.scheme]?null:Ss,Wi=""}if(Ii)return;wi=Wn;continue}return Ir}Wi+=$r;break;case nr:if(Vr.scheme="file","/"===$r||"\\"===$r)wi=Qn;else{if(!ni||"file"!==ni.scheme){wi=Wt;continue}switch($r){case so:Vr.host=ni.host,Vr.path=Q(ni.path),Vr.query=ni.query;break;case"?":Vr.host=ni.host,Vr.path=Q(ni.path),Vr.query="",wi=st;break;case"#":Vr.host=ni.host,Vr.path=Q(ni.path),Vr.query=ni.query,Vr.fragment="",wi=zt;break;default:Pn(Ct(Q(qr,Gi),""))||(Vr.host=ni.host,Vr.path=Q(ni.path),Vr.shortenPath()),wi=Wt;continue}}break;case Qn:if("/"===$r||"\\"===$r){wi=dr;break}ni&&"file"===ni.scheme&&!Pn(Ct(Q(qr,Gi),""))&&(Vi(ni.path[0],!0)?en(Vr.path,ni.path[0]):Vr.host=ni.host),wi=Wt;continue;case dr:if($r===so||"/"===$r||"\\"===$r||"?"===$r||"#"===$r){if(!Ii&&Vi(Wi))wi=Wt;else if(""===Wi){if(Vr.host="",Ii)return;wi=Wn}else{if(mn=Vr.parseHost(Wi))return mn;if("localhost"===Vr.host&&(Vr.host=""),Ii)return;Wi="",wi=Wn}continue}Wi+=$r;break;case Wn:if(Vr.isSpecial()){if(wi=Wt,"/"!==$r&&"\\"!==$r)continue}else if(Ii||"?"!==$r)if(Ii||"#"!==$r){if($r!==so&&(wi=Wt,"/"!==$r))continue}else Vr.fragment="",wi=zt;else Vr.query="",wi=st;break;case Wt:if($r===so||"/"===$r||"\\"===$r&&Vr.isSpecial()||!Ii&&("?"===$r||"#"===$r)){if(Ut(Wi)?(Vr.shortenPath(),"/"!==$r&&!("\\"===$r&&Vr.isSpecial())&&en(Vr.path,"")):Nn(Wi)?"/"!==$r&&!("\\"===$r&&Vr.isSpecial())&&en(Vr.path,""):("file"===Vr.scheme&&!Vr.path.length&&Vi(Wi)&&(Vr.host&&(Vr.host=""),Wi=ze(Wi,0)+":"),en(Vr.path,Wi)),Wi="","file"===Vr.scheme&&($r===so||"?"===$r||"#"===$r))for(;Vr.path.length>1&&""===Vr.path[0];)bn(Vr.path);"?"===$r?(Vr.query="",wi=st):"#"===$r&&(Vr.fragment="",wi=zt)}else Wi+=ts($r,Bo);break;case kt:"?"===$r?(Vr.query="",wi=st):"#"===$r?(Vr.fragment="",wi=zt):$r!==so&&(Vr.path[0]+=ts($r,jr));break;case st:Ii||"#"!==$r?$r!==so&&("'"===$r&&Vr.isSpecial()?Vr.query+="%27":Vr.query+="#"===$r?"%23":ts($r,jr)):(Vr.fragment="",wi=zt);break;case zt:$r!==so&&(Vr.fragment+=ts($r,Pr))}Gi++}},parseHost:function(hr){var Ii,ni,Vr;if("["===ze(hr,0)){if("]"!==ze(hr,hr.length-1)||(Ii=function(hr){var Gi,Wi,Mo,As,Ls,qr,$r,Ii=[0,0,0,0,0,0,0,0],ni=0,Vr=null,wi=0,Cn=function(){return ze(hr,wi)};if(":"===Cn()){if(":"!==ze(hr,1))return;wi+=2,Vr=++ni}for(;Cn();){if(8===ni)return;if(":"!==Cn()){for(Gi=Wi=0;Wi<4&&bt(sn,Cn());)Gi=16*Gi+et(Cn(),16),wi++,Wi++;if("."===Cn()){if(0===Wi||(wi-=Wi,ni>6))return;for(Mo=0;Cn();){if(As=null,Mo>0){if(!("."===Cn()&&Mo<4))return;wi++}if(!bt(oi,Cn()))return;for(;bt(oi,Cn());){if(Ls=et(Cn(),10),null===As)As=Ls;else{if(0===As)return;As=10*As+Ls}if(As>255)return;wi++}Ii[ni]=256*Ii[ni]+As,(2==++Mo||4===Mo)&&ni++}if(4!==Mo)return;break}if(":"===Cn()){if(wi++,!Cn())return}else if(Cn())return;Ii[ni++]=Gi}else{if(null!==Vr)return;wi++,Vr=++ni}}if(null!==Vr)for(qr=ni-Vr,ni=7;0!==ni&&qr>0;)$r=Ii[ni],Ii[ni--]=Ii[Vr+qr-1],Ii[Vr+--qr]=$r;else if(8!==ni)return;return Ii}(Rt(hr,1,-1)),!Ii))return ri;this.host=Ii}else if(this.isSpecial()){if(hr=q(hr),bt(At,hr)||(Ii=function(hr){var ni,Vr,wi,Gi,Wi,Mo,As,Ii=Dn(hr,".");if(Ii.length&&""===Ii[Ii.length-1]&&Ii.length--,(ni=Ii.length)>4)return hr;for(Vr=[],wi=0;wi<ni;wi++){if(""===(Gi=Ii[wi]))return hr;if(Wi=10,Gi.length>1&&"0"===ze(Gi,0)&&(Wi=bt(Ri,Gi)?16:8,Gi=Rt(Gi,8===Wi?1:2)),""===Gi)Mo=0;else{if(!bt(10===Wi?ft:8===Wi?Tr:sn,Gi))return hr;Mo=et(Gi,Wi)}en(Vr,Mo)}for(wi=0;wi<ni;wi++)if(Mo=Vr[wi],wi===ni-1){if(Mo>=Et(256,5-ni))return null}else if(Mo>255)return null;for(As=ht(Vr),wi=0;wi<Vr.length;wi++)As+=Vr[wi]*Et(256,3-wi);return As}(hr),null===Ii))return ri;this.host=Ii}else{if(bt(Ln,hr))return ri;for(Ii="",ni=$(hr),Vr=0;Vr<ni.length;Vr++)Ii+=ts(ni[Vr],jr);this.host=Ii}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return D(io,this.scheme)},shortenPath:function(){var hr=this.path,Ii=hr.length;Ii&&("file"!==this.scheme||1!==Ii||!Vi(hr[0],!0))&&hr.length--},serialize:function(){var hr=this,Ii=hr.scheme,ni=hr.username,Vr=hr.password,wi=hr.host,Gi=hr.port,Wi=hr.path,Mo=hr.query,As=hr.fragment,Ls=Ii+":";return null!==wi?(Ls+="//",hr.includesCredentials()&&(Ls+=ni+(Vr?":"+Vr:"")+"@"),Ls+=ji(wi),null!==Gi&&(Ls+=":"+Gi)):"file"===Ii&&(Ls+="//"),Ls+=hr.cannotBeABaseURL?Wi[0]:Wi.length?"/"+Ct(Wi,"/"):"",null!==Mo&&(Ls+="?"+Mo),null!==As&&(Ls+="#"+As),Ls},setHref:function(hr){var Ii=this.parse(hr);if(Ii)throw new yt(Ii);this.searchParams.update()},getOrigin:function(){var hr=this.scheme,Ii=this.port;if("blob"===hr)try{return new Kr(hr.path[0]).origin}catch{return"null"}return"file"!==hr&&this.isSpecial()?hr+"://"+ji(this.host)+(null!==Ii?":"+Ii:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(hr){this.parse(L(hr)+":",ke)},getUsername:function(){return this.username},setUsername:function(hr){var Ii=$(L(hr));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var ni=0;ni<Ii.length;ni++)this.username+=ts(Ii[ni],cs)}},getPassword:function(){return this.password},setPassword:function(hr){var Ii=$(L(hr));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var ni=0;ni<Ii.length;ni++)this.password+=ts(Ii[ni],cs)}},getHost:function(){var hr=this.host,Ii=this.port;return null===hr?"":null===Ii?ji(hr):ji(hr)+":"+Ii},setHost:function(hr){this.cannotBeABaseURL||this.parse(hr,An)},getHostname:function(){var hr=this.host;return null===hr?"":ji(hr)},setHostname:function(hr){this.cannotBeABaseURL||this.parse(hr,yr)},getPort:function(){var hr=this.port;return null===hr?"":L(hr)},setPort:function(hr){this.cannotHaveUsernamePasswordPort()||(""===(hr=L(hr))?this.port=null:this.parse(hr,Nr))},getPathname:function(){var hr=this.path;return this.cannotBeABaseURL?hr[0]:hr.length?"/"+Ct(hr,"/"):""},setPathname:function(hr){this.cannotBeABaseURL||(this.path=[],this.parse(hr,Wn))},getSearch:function(){var hr=this.query;return hr?"?"+hr:""},setSearch:function(hr){""===(hr=L(hr))?this.query=null:("?"===ze(hr,0)&&(hr=Rt(hr,1)),this.query="",this.parse(hr,st)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var hr=this.fragment;return hr?"#"+hr:""},setHash:function(hr){""!==(hr=L(hr))?("#"===ze(hr,0)&&(hr=Rt(hr,1)),this.fragment="",this.parse(hr,zt)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Kr=function(Ii){var ni=T(this,mi),Vr=pe(arguments.length,1)>1?arguments[1]:void 0,wi=ie(ni,new er(Ii,!1,Vr));a||(ni.href=wi.serialize(),ni.origin=wi.getOrigin(),ni.protocol=wi.getProtocol(),ni.username=wi.getUsername(),ni.password=wi.getPassword(),ni.host=wi.getHost(),ni.hostname=wi.getHostname(),ni.port=wi.getPort(),ni.pathname=wi.getPathname(),ni.search=wi.getSearch(),ni.searchParams=wi.getSearchParams(),ni.hash=wi.getHash())},mi=Kr.prototype,gi=function(hr,Ii){return{get:function(){return me(this)[hr]()},set:Ii&&function(ni){return me(this)[Ii](ni)},configurable:!0,enumerable:!0}};if(a&&(E(mi,"href",gi("serialize","setHref")),E(mi,"origin",gi("getOrigin")),E(mi,"protocol",gi("getProtocol","setProtocol")),E(mi,"username",gi("getUsername","setUsername")),E(mi,"password",gi("getPassword","setPassword")),E(mi,"host",gi("getHost","setHost")),E(mi,"hostname",gi("getHostname","setHostname")),E(mi,"port",gi("getPort","setPort")),E(mi,"pathname",gi("getPathname","setPathname")),E(mi,"search",gi("getSearch","setSearch")),E(mi,"searchParams",gi("getSearchParams")),E(mi,"hash",gi("getHash","setHash"))),h(mi,"toJSON",function(){return me(this).serialize()},{enumerable:!0}),h(mi,"toString",function(){return me(this).serialize()},{enumerable:!0}),Me){var Jo=Me.createObjectURL,os=Me.revokeObjectURL;Jo&&h(Kr,"createObjectURL",e(Jo,Me)),os&&h(Kr,"revokeObjectURL",e(os,Me))}J(Kr,"URL"),r({global:!0,constructor:!0,forced:!u,sham:!a},{URL:Kr})},79826:(y,b,o)=>{"use strict";o(2434)},42385:()=>{},75579:(y,b,o)=>{"use strict";var r=o(98192);y.exports=r},4733:(y,b,o)=>{"use strict";var r=o(23278);y.exports=r},27868:(y,b,o)=>{"use strict";var r=o(19573);y.exports=r},93320:(y,b,o)=>{"use strict";var r=o(6265);y.exports=r},81340:(y,b,o)=>{"use strict";var r=o(55549);y.exports=r},98532:(y,b,o)=>{"use strict";var r=o(90555);y.exports=r},34259:(y,b,o)=>{"use strict";var r=o(87560);y.exports=r},68764:(y,b,o)=>{"use strict";var r=o(44537);o(94333),y.exports=r},87531:(y,b,o)=>{"use strict";var r=o(15145);y.exports=r},65213:(y,b,o)=>{"use strict";var r=o(3722);y.exports=r},46794:(y,b,o)=>{"use strict";o(94333);var r=o(96483),a=o(46880),u=o(75040),c=o(27868),e=Array.prototype,f={DOMTokenList:!0,NodeList:!0};y.exports=function(h){var E=h.entries;return h===e||u(e,h)&&E===e.entries||a(f,r(h))?c:E}},83007:(y,b,o)=>{"use strict";var r=o(18059);y.exports=r},82499:(y,b,o)=>{"use strict";var r=o(85731);y.exports=r},19808:(y,b,o)=>{"use strict";var r=o(90229);y.exports=r},62623:(y,b,o)=>{"use strict";var r=o(97402);y.exports=r},91330:(y,b,o)=>{"use strict";var r=o(73335);y.exports=r},71048:(y,b,o)=>{"use strict";var r=o(96483),a=o(46880),u=o(75040),c=o(93320);o(57708);var e=Array.prototype,f={DOMTokenList:!0,NodeList:!0};y.exports=function(h){var E=h.forEach;return h===e||u(e,h)&&E===e.forEach||a(f,r(h))?c:E}},15594:(y,b,o)=>{"use strict";var r=o(78167);y.exports=r},73646:(y,b,o)=>{"use strict";var r=o(27517);y.exports=r},30594:(y,b,o)=>{"use strict";o(94333);var r=o(96483),a=o(46880),u=o(75040),c=o(81340),e=Array.prototype,f={DOMTokenList:!0,NodeList:!0};y.exports=function(h){var E=h.keys;return h===e||u(e,h)&&E===e.keys||a(f,r(h))?c:E}},71330:(y,b,o)=>{"use strict";var r=o(55955);y.exports=r},23354:(y,b,o)=>{"use strict";var r=o(88967);y.exports=r},15640:(y,b,o)=>{"use strict";var r=o(92613);y.exports=r},55203:(y,b,o)=>{"use strict";var r=o(55125);y.exports=r},5894:(y,b,o)=>{"use strict";var r=o(60450);y.exports=r},96057:(y,b,o)=>{"use strict";var r=o(97401);y.exports=r},56918:(y,b,o)=>{"use strict";var r=o(12631);y.exports=r},4700:(y,b,o)=>{"use strict";var r=o(61970);y.exports=r},74460:(y,b,o)=>{"use strict";var r=o(891);y.exports=r},88458:(y,b,o)=>{"use strict";var r=o(98697);y.exports=r},37208:(y,b,o)=>{"use strict";var r=o(83388);y.exports=r},35707:(y,b,o)=>{"use strict";var r=o(26660);y.exports=r},69972:(y,b,o)=>{"use strict";o(94333);var r=o(96483),a=o(46880),u=o(75040),c=o(98532),e=Array.prototype,f={DOMTokenList:!0,NodeList:!0};y.exports=function(h){var E=h.values;return h===e||u(e,h)&&E===e.values||a(f,r(h))?c:E}},91185:(y,b,o)=>{"use strict";var r=o(17558);y.exports=r},95750:(y,b,o)=>{"use strict";var r=o(96877);o(94333),y.exports=r},39875:(y,b,o)=>{"use strict";var r=o(42732);y.exports=r},75461:(y,b,o)=>{"use strict";var r=o(78960);y.exports=r},14723:(y,b,o)=>{"use strict";var r=o(71396);y.exports=r},70916:(y,b,o)=>{"use strict";var r=o(19855);y.exports=r},41899:(y,b,o)=>{"use strict";var r=o(81777);y.exports=r},45895:(y,b,o)=>{"use strict";var r=o(74473);y.exports=r},59324:(y,b,o)=>{"use strict";var r=o(49366);y.exports=r},14041:(y,b,o)=>{"use strict";var r=o(17347);y.exports=r},94278:(y,b,o)=>{"use strict";var r=o(21309);y.exports=r},20399:(y,b,o)=>{"use strict";var r=o(81858);y.exports=r},20388:(y,b,o)=>{"use strict";var r=o(78985);y.exports=r},65961:(y,b,o)=>{"use strict";var r=o(95938);o(94333),y.exports=r},72467:(y,b,o)=>{"use strict";var r=o(2153);y.exports=r},10507:(y,b,o)=>{"use strict";var r=o(71553);y.exports=r},66879:(y,b,o)=>{"use strict";o(54596);var r=o(18208);y.exports=r.setTimeout},27248:(y,b,o)=>{"use strict";var r=o(4746);o(94333),y.exports=r},53249:(y,b,o)=>{"use strict";var r=o(22714);o(94333),y.exports=r},62861:(y,b,o)=>{"use strict";var r=o(85492);y.exports=r},33774:(y,b,o)=>{"use strict";var r=o(79945);y.exports=r},82778:(y,b,o)=>{"use strict";o(30333),o(51406),o(58001),o(84639);var r=o(18208);y.exports=r.URLSearchParams},79945:(y,b,o)=>{"use strict";o(82778),o(79826),o(24837),o(42385);var r=o(18208);y.exports=r.URL},30071:(y,b,o)=>{y.exports=o(75579)},58711:(y,b,o)=>{y.exports=o(4733)},14226:(y,b,o)=>{y.exports=o(34259)},15886:(y,b,o)=>{y.exports=o(87531)},34377:(y,b,o)=>{y.exports=o(65213)},28086:(y,b,o)=>{y.exports=o(46794)},56166:(y,b,o)=>{y.exports=o(83007)},48129:(y,b,o)=>{y.exports=o(82499)},44920:(y,b,o)=>{y.exports=o(19808)},45163:(y,b,o)=>{y.exports=o(62623)},45819:(y,b,o)=>{y.exports=o(91330)},84901:(y,b,o)=>{y.exports=o(71048)},35524:(y,b,o)=>{y.exports=o(15594)},71851:(y,b,o)=>{y.exports=o(73646)},91465:(y,b,o)=>{y.exports=o(30594)},95327:(y,b,o)=>{y.exports=o(71330)},37940:(y,b,o)=>{y.exports=o(23354)},35431:(y,b,o)=>{y.exports=o(55203)},53757:(y,b,o)=>{y.exports=o(5894)},46558:(y,b,o)=>{y.exports=o(56918)},53625:(y,b,o)=>{y.exports=o(4700)},31978:(y,b,o)=>{y.exports=o(74460)},33814:(y,b,o)=>{y.exports=o(88458)},84220:(y,b,o)=>{y.exports=o(37208)},40984:(y,b,o)=>{y.exports=o(35707)},32322:(y,b,o)=>{y.exports=o(69972)},44859:(y,b,o)=>{y.exports=o(91185)},54082:(y,b,o)=>{y.exports=o(95750)},30508:(y,b,o)=>{y.exports=o(39875)},46245:(y,b,o)=>{y.exports=o(94278)},35517:(y,b,o)=>{y.exports=o(20388)},86413:(y,b,o)=>{y.exports=o(65961)},87513:(y,b,o)=>{y.exports=o(66879)},69253:(y,b,o)=>{y.exports=o(33774)},12885:(y,b,o)=>{var r=o(79599).default,a=o(32342),u=o(90887),c=o(7449),e=o(83435),f=o(22762),h=o(25046),E=o(53881),T=o(13185),D=o(74717),A=o(55049);function $(){"use strict";y.exports=$=function(){return U},y.exports.__esModule=!0,y.exports.default=y.exports;var Q,U={},q=Object.prototype,L=q.hasOwnProperty,J=a||function(Ir,wr,_r){Ir[wr]=_r.value},pe="function"==typeof u?u:{},j=pe.iterator||"@@iterator",ue=pe.asyncIterator||"@@asyncIterator",ie=pe.toStringTag||"@@toStringTag";function me(Ir,wr,_r){return a(Ir,wr,{value:_r,enumerable:!0,configurable:!0,writable:!0}),Ir[wr]}try{me({},"")}catch{me=function(_r,oi,Ri){return _r[oi]=Ri}}function Oe(Ir,wr,_r,oi){var Tr=c((wr&&wr.prototype instanceof ze?wr:ze).prototype),ft=new kn(oi||[]);return J(Tr,"_invoke",{value:Rt(Ir,_r,ft)}),Tr}function Ue(Ir,wr,_r){try{return{type:"normal",arg:Ir.call(wr,_r)}}catch(oi){return{type:"throw",arg:oi}}}U.wrap=Oe;var Me="suspendedStart",yt="suspendedYield",et="executing",tt="completed",Et={};function ze(){}function bt(){}function Ct(){}var Qt={};me(Qt,j,function(){return this});var en=e&&e(e(ri([])));en&&en!==q&&L.call(en,j)&&(Qt=en);var nn=Ct.prototype=ze.prototype=c(Qt);function bn(Ir){var wr;f(wr=["next","throw","return"]).call(wr,function(_r){me(Ir,_r,function(oi){return this._invoke(_r,oi)})})}function Dn(Ir,wr){function _r(Ri,Tr,ft,sn){var At=Ue(Ir[Ri],Ir,Tr);if("throw"!==At.type){var Ln=At.arg,rr=Ln.value;return rr&&"object"==r(rr)&&L.call(rr,"__await")?wr.resolve(rr.__await).then(function(Lr){_r("next",Lr,ft,sn)},function(Lr){_r("throw",Lr,ft,sn)}):wr.resolve(rr).then(function(Lr){Ln.value=Lr,ft(Ln)},function(Lr){return _r("throw",Lr,ft,sn)})}sn(At.arg)}var oi;J(this,"_invoke",{value:function(Tr,ft){function sn(){return new wr(function(At,Ln){_r(Tr,ft,At,Ln)})}return oi=oi?oi.then(sn,sn):sn()}})}function Rt(Ir,wr,_r){var oi=Me;return function(Ri,Tr){if(oi===et)throw new Error("Generator is already running");if(oi===tt){if("throw"===Ri)throw Tr;return{value:Q,done:!0}}for(_r.method=Ri,_r.arg=Tr;;){var ft=_r.delegate;if(ft){var sn=Xt(ft,_r);if(sn){if(sn===Et)continue;return sn}}if("next"===_r.method)_r.sent=_r._sent=_r.arg;else if("throw"===_r.method){if(oi===Me)throw oi=tt,_r.arg;_r.dispatchException(_r.arg)}else"return"===_r.method&&_r.abrupt("return",_r.arg);oi=et;var At=Ue(Ir,wr,_r);if("normal"===At.type){if(oi=_r.done?tt:yt,At.arg===Et)continue;return{value:At.arg,done:_r.done}}"throw"===At.type&&(oi=tt,_r.method="throw",_r.arg=At.arg)}}}function Xt(Ir,wr){var _r=wr.method,oi=Ir.iterator[_r];if(oi===Q)return wr.delegate=null,"throw"===_r&&Ir.iterator.return&&(wr.method="return",wr.arg=Q,Xt(Ir,wr),"throw"===wr.method)||"return"!==_r&&(wr.method="throw",wr.arg=new TypeError("The iterator does not provide a '"+_r+"' method")),Et;var Ri=Ue(oi,Ir.iterator,wr.arg);if("throw"===Ri.type)return wr.method="throw",wr.arg=Ri.arg,wr.delegate=null,Et;var Tr=Ri.arg;return Tr?Tr.done?(wr[Ir.resultName]=Tr.value,wr.next=Ir.nextLoc,"return"!==wr.method&&(wr.method="next",wr.arg=Q),wr.delegate=null,Et):Tr:(wr.method="throw",wr.arg=new TypeError("iterator result is not an object"),wr.delegate=null,Et)}function un(Ir){var wr,_r={tryLoc:Ir[0]};1 in Ir&&(_r.catchLoc=Ir[1]),2 in Ir&&(_r.finallyLoc=Ir[2],_r.afterLoc=Ir[3]),h(wr=this.tryEntries).call(wr,_r)}function _n(Ir){var wr=Ir.completion||{};wr.type="normal",delete wr.arg,Ir.completion=wr}function kn(Ir){this.tryEntries=[{tryLoc:"root"}],f(Ir).call(Ir,un,this),this.reset(!0)}function ri(Ir){if(Ir||""===Ir){var wr=Ir[j];if(wr)return wr.call(Ir);if("function"==typeof Ir.next)return Ir;if(!isNaN(Ir.length)){var _r=-1,oi=function Ri(){for(;++_r<Ir.length;)if(L.call(Ir,_r))return Ri.value=Ir[_r],Ri.done=!1,Ri;return Ri.value=Q,Ri.done=!0,Ri};return oi.next=oi}}throw new TypeError(r(Ir)+" is not iterable")}return bt.prototype=Ct,J(nn,"constructor",{value:Ct,configurable:!0}),J(Ct,"constructor",{value:bt,configurable:!0}),bt.displayName=me(Ct,ie,"GeneratorFunction"),U.isGeneratorFunction=function(Ir){var wr="function"==typeof Ir&&Ir.constructor;return!!wr&&(wr===bt||"GeneratorFunction"===(wr.displayName||wr.name))},U.mark=function(Ir){return E?E(Ir,Ct):(Ir.__proto__=Ct,me(Ir,ie,"GeneratorFunction")),Ir.prototype=c(nn),Ir},U.awrap=function(Ir){return{__await:Ir}},bn(Dn.prototype),me(Dn.prototype,ue,function(){return this}),U.AsyncIterator=Dn,U.async=function(Ir,wr,_r,oi,Ri){void 0===Ri&&(Ri=T);var Tr=new Dn(Oe(Ir,wr,_r,oi),Ri);return U.isGeneratorFunction(wr)?Tr:Tr.next().then(function(ft){return ft.done?ft.value:Tr.next()})},bn(nn),me(nn,ie,"Generator"),me(nn,j,function(){return this}),me(nn,"toString",function(){return"[object Generator]"}),U.keys=function(Ir){var wr=Object(Ir),_r=[];for(var oi in wr)h(_r).call(_r,oi);return D(_r).call(_r),function Ri(){for(;_r.length;){var Tr=_r.pop();if(Tr in wr)return Ri.value=Tr,Ri.done=!1,Ri}return Ri.done=!0,Ri}},U.values=ri,kn.prototype={constructor:kn,reset:function(wr){var _r;if(this.prev=0,this.next=0,this.sent=this._sent=Q,this.done=!1,this.delegate=null,this.method="next",this.arg=Q,f(_r=this.tryEntries).call(_r,_n),!wr)for(var oi in this)"t"===oi.charAt(0)&&L.call(this,oi)&&!isNaN(+A(oi).call(oi,1))&&(this[oi]=Q)},stop:function(){this.done=!0;var wr=this.tryEntries[0].completion;if("throw"===wr.type)throw wr.arg;return this.rval},dispatchException:function(wr){if(this.done)throw wr;var _r=this;function oi(Ln,rr){return ft.type="throw",ft.arg=wr,_r.next=Ln,rr&&(_r.method="next",_r.arg=Q),!!rr}for(var Ri=this.tryEntries.length-1;Ri>=0;--Ri){var Tr=this.tryEntries[Ri],ft=Tr.completion;if("root"===Tr.tryLoc)return oi("end");if(Tr.tryLoc<=this.prev){var sn=L.call(Tr,"catchLoc"),At=L.call(Tr,"finallyLoc");if(sn&&At){if(this.prev<Tr.catchLoc)return oi(Tr.catchLoc,!0);if(this.prev<Tr.finallyLoc)return oi(Tr.finallyLoc)}else if(sn){if(this.prev<Tr.catchLoc)return oi(Tr.catchLoc,!0)}else{if(!At)throw new Error("try statement without catch or finally");if(this.prev<Tr.finallyLoc)return oi(Tr.finallyLoc)}}}},abrupt:function(wr,_r){for(var oi=this.tryEntries.length-1;oi>=0;--oi){var Ri=this.tryEntries[oi];if(Ri.tryLoc<=this.prev&&L.call(Ri,"finallyLoc")&&this.prev<Ri.finallyLoc){var Tr=Ri;break}}Tr&&("break"===wr||"continue"===wr)&&Tr.tryLoc<=_r&&_r<=Tr.finallyLoc&&(Tr=null);var ft=Tr?Tr.completion:{};return ft.type=wr,ft.arg=_r,Tr?(this.method="next",this.next=Tr.finallyLoc,Et):this.complete(ft)},complete:function(wr,_r){if("throw"===wr.type)throw wr.arg;return"break"===wr.type||"continue"===wr.type?this.next=wr.arg:"return"===wr.type?(this.rval=this.arg=wr.arg,this.method="return",this.next="end"):"normal"===wr.type&&_r&&(this.next=_r),Et},finish:function(wr){for(var _r=this.tryEntries.length-1;_r>=0;--_r){var oi=this.tryEntries[_r];if(oi.finallyLoc===wr)return this.complete(oi.completion,oi.afterLoc),_n(oi),Et}},catch:function(wr){for(var _r=this.tryEntries.length-1;_r>=0;--_r){var oi=this.tryEntries[_r];if(oi.tryLoc===wr){var Ri=oi.completion;if("throw"===Ri.type){var Tr=Ri.arg;_n(oi)}return Tr}}throw new Error("illegal catch attempt")},delegateYield:function(wr,_r,oi){return this.delegate={iterator:ri(wr),resultName:_r,nextLoc:oi},"next"===this.method&&(this.arg=Q),Et}},U}y.exports=$,y.exports.__esModule=!0,y.exports.default=y.exports},79599:(y,b,o)=>{var r=o(90887),a=o(45355);function u(c){return y.exports=u="function"==typeof r&&"symbol"==typeof a?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},y.exports.__esModule=!0,y.exports.default=y.exports,u(c)}y.exports=u,y.exports.__esModule=!0,y.exports.default=y.exports},33950:(y,b,o)=>{var r=o(12885)();y.exports=r;try{regeneratorRuntime=r}catch{"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},8591:(y,b,o)=>{"use strict";var r=o(57362),a=o(22996),u=TypeError;y.exports=function(c){if(r(c))return c;throw new u(a(c)+" is not a function")}},90063:(y,b,o)=>{"use strict";var r=o(7805),a=String,u=TypeError;y.exports=function(c){if(r(c))return c;throw new u("Can't set "+a(c)+" as a prototype")}},18126:(y,b,o)=>{"use strict";var r=o(10263),a=o(88345),u=o(80937).f,c=r("unscopables"),e=Array.prototype;void 0===e[c]&&u(e,c,{configurable:!0,value:a(null)}),y.exports=function(f){e[c][f]=!0}},22100:(y,b,o)=>{"use strict";var r=o(27931).charAt;y.exports=function(a,u,c){return u+(c?r(a,u).length:1)}},19649:(y,b,o)=>{"use strict";var r=o(44404),a=TypeError;y.exports=function(u,c){if(r(c,u))return u;throw new a("Incorrect invocation")}},97038:(y,b,o)=>{"use strict";var r=o(44146),a=String,u=TypeError;y.exports=function(c){if(r(c))return c;throw new u(a(c)+" is not an object")}},57221:(y,b,o)=>{"use strict";var r=o(30801);y.exports=r(function(){if("function"==typeof ArrayBuffer){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},81989:(y,b,o)=>{"use strict";var r=o(8708),a=o(24674),u=o(66455),c=function(e){return function(f,h,E){var T=r(f),D=u(T);if(0===D)return!e&&-1;var $,A=a(E,D);if(e&&h!=h){for(;D>A;)if(($=T[A++])!=$)return!0}else for(;D>A;A++)if((e||A in T)&&T[A]===h)return e||A||0;return!e&&-1}};y.exports={includes:c(!0),indexOf:c(!1)}},17030:(y,b,o)=>{"use strict";var r=o(8121),a=o(42559),u=o(73927),c=o(50054),e=o(66455),f=o(28691),h=a([].push),E=function(T){var D=1===T,A=2===T,$=3===T,Q=4===T,U=6===T,q=7===T,L=5===T||U;return function(J,pe,j,ue){for(var tt,Et,ie=c(J),me=u(ie),Oe=e(me),Ue=r(pe,j),Me=0,yt=ue||f,et=D?yt(J,Oe):A||q?yt(J,0):void 0;Oe>Me;Me++)if((L||Me in me)&&(Et=Ue(tt=me[Me],Me,ie),T))if(D)et[Me]=Et;else if(Et)switch(T){case 3:return!0;case 5:return tt;case 6:return Me;case 2:h(et,tt)}else switch(T){case 4:return!1;case 7:h(et,tt)}return U?-1:$||Q?Q:et}};y.exports={forEach:E(0),map:E(1),filter:E(2),some:E(3),every:E(4),find:E(5),findIndex:E(6),filterReject:E(7)}},78173:(y,b,o)=>{"use strict";var r=o(30801),a=o(10263),u=o(30182),c=a("species");y.exports=function(e){return u>=51||!r(function(){var f=[];return(f.constructor={})[c]=function(){return{foo:1}},1!==f[e](Boolean).foo})}},22185:(y,b,o)=>{"use strict";var r=o(30801);y.exports=function(a,u){var c=[][a];return!!c&&r(function(){c.call(null,u||function(){return 1},1)})}},71473:(y,b,o)=>{"use strict";var r=o(8591),a=o(50054),u=o(73927),c=o(66455),e=TypeError,f="Reduce of empty array with no initial value",h=function(E){return function(T,D,A,$){var Q=a(T),U=u(Q),q=c(Q);if(r(D),0===q&&A<2)throw new e(f);var L=E?q-1:0,J=E?-1:1;if(A<2)for(;;){if(L in U){$=U[L],L+=J;break}if(L+=J,E?L<0:q<=L)throw new e(f)}for(;E?L>=0:q>L;L+=J)L in U&&($=D($,U[L],L,Q));return $}};y.exports={left:h(!1),right:h(!0)}},76221:(y,b,o)=>{"use strict";var r=o(42559);y.exports=r([].slice)},78529:(y,b,o)=>{"use strict";var r=o(46652),a=o(41922),u=o(44146),e=o(10263)("species"),f=Array;y.exports=function(h){var E;return r(h)&&(a(E=h.constructor)&&(E===f||r(E.prototype))||u(E)&&null===(E=E[e]))&&(E=void 0),void 0===E?f:E}},28691:(y,b,o)=>{"use strict";var r=o(78529);y.exports=function(a,u){return new(r(a))(0===u?0:u)}},9727:(y,b,o)=>{"use strict";var a=o(10263)("iterator"),u=!1;try{var c=0,e={next:function(){return{done:!!c++}},return:function(){u=!0}};e[a]=function(){return this},Array.from(e,function(){throw 2})}catch{}y.exports=function(f,h){try{if(!h&&!u)return!1}catch{return!1}var E=!1;try{var T={};T[a]=function(){return{next:function(){return{done:E=!0}}}},f(T)}catch{}return E}},23947:(y,b,o)=>{"use strict";var r=o(42559),a=r({}.toString),u=r("".slice);y.exports=function(c){return u(a(c),8,-1)}},46148:(y,b,o)=>{"use strict";var r=o(2631),a=o(57362),u=o(23947),e=o(10263)("toStringTag"),f=Object,h="Arguments"===u(function(){return arguments}());y.exports=r?u:function(T){var D,A,$;return void 0===T?"Undefined":null===T?"Null":"string"==typeof(A=function(T,D){try{return T[D]}catch{}}(D=f(T),e))?A:h?u(D):"Object"===($=u(D))&&a(D.callee)?"Arguments":$}},67832:(y,b,o)=>{"use strict";var r=o(42559),a=o(86129),u=o(5391).getWeakData,c=o(19649),e=o(97038),f=o(64706),h=o(44146),E=o(5364),T=o(17030),D=o(43232),A=o(23904),$=A.set,Q=A.getterFor,U=T.find,q=T.findIndex,L=r([].splice),J=0,pe=function(ie){return ie.frozen||(ie.frozen=new j)},j=function(){this.entries=[]},ue=function(ie,me){return U(ie.entries,function(Oe){return Oe[0]===me})};j.prototype={get:function(ie){var me=ue(this,ie);if(me)return me[1]},has:function(ie){return!!ue(this,ie)},set:function(ie,me){var Oe=ue(this,ie);Oe?Oe[1]=me:this.entries.push([ie,me])},delete:function(ie){var me=q(this.entries,function(Oe){return Oe[0]===ie});return~me&&L(this.entries,me,1),!!~me}},y.exports={getConstructor:function(ie,me,Oe,Ue){var Me=ie(function(Et,ze){c(Et,yt),$(Et,{type:me,id:J++,frozen:void 0}),f(ze)||E(ze,Et[Ue],{that:Et,AS_ENTRIES:Oe})}),yt=Me.prototype,et=Q(me),tt=function(Et,ze,bt){var Ct=et(Et),Qt=u(e(ze),!0);return!0===Qt?pe(Ct).set(ze,bt):Qt[Ct.id]=bt,Et};return a(yt,{delete:function(Et){var ze=et(this);if(!h(Et))return!1;var bt=u(Et);return!0===bt?pe(ze).delete(Et):bt&&D(bt,ze.id)&&delete bt[ze.id]},has:function(ze){var bt=et(this);if(!h(ze))return!1;var Ct=u(ze);return!0===Ct?pe(bt).has(ze):Ct&&D(Ct,bt.id)}}),a(yt,Oe?{get:function(ze){var bt=et(this);if(h(ze)){var Ct=u(ze);return!0===Ct?pe(bt).get(ze):Ct?Ct[bt.id]:void 0}},set:function(ze,bt){return tt(this,ze,bt)}}:{add:function(ze){return tt(this,ze,!0)}}),Me}}},5041:(y,b,o)=>{"use strict";var r=o(26040),a=o(24597),u=o(42559),c=o(94262),e=o(73808),f=o(5391),h=o(5364),E=o(19649),T=o(57362),D=o(64706),A=o(44146),$=o(30801),Q=o(9727),U=o(8686),q=o(63887);y.exports=function(L,J,pe){var j=-1!==L.indexOf("Map"),ue=-1!==L.indexOf("Weak"),ie=j?"set":"add",me=a[L],Oe=me&&me.prototype,Ue=me,Me={},yt=function(Qt){var ht=u(Oe[Qt]);e(Oe,Qt,"add"===Qt?function(nn){return ht(this,0===nn?0:nn),this}:"delete"===Qt?function(en){return!(ue&&!A(en))&&ht(this,0===en?0:en)}:"get"===Qt?function(nn){return ue&&!A(nn)?void 0:ht(this,0===nn?0:nn)}:"has"===Qt?function(nn){return!(ue&&!A(nn))&&ht(this,0===nn?0:nn)}:function(nn,bn){return ht(this,0===nn?0:nn,bn),this})};if(c(L,!T(me)||!(ue||Oe.forEach&&!$(function(){(new me).entries().next()}))))Ue=pe.getConstructor(J,L,j,ie),f.enable();else if(c(L,!0)){var tt=new Ue,Et=tt[ie](ue?{}:-0,1)!==tt,ze=$(function(){tt.has(1)}),bt=Q(function(Qt){new me(Qt)}),Ct=!ue&&$(function(){for(var Qt=new me,ht=5;ht--;)Qt[ie](ht,ht);return!Qt.has(-0)});bt||((Ue=J(function(Qt,ht){E(Qt,Oe);var en=q(new me,Qt,Ue);return D(ht)||h(ht,en[ie],{that:en,AS_ENTRIES:j}),en})).prototype=Oe,Oe.constructor=Ue),(ze||Ct)&&(yt("delete"),yt("has"),j&&yt("get")),(Ct||Et)&&yt(ie),ue&&Oe.clear&&delete Oe.clear}return Me[L]=Ue,r({global:!0,constructor:!0,forced:Ue!==me},Me),U(Ue,L),ue||pe.setStrong(Ue,L,j),Ue}},65485:(y,b,o)=>{"use strict";var r=o(43232),a=o(84579),u=o(5757),c=o(80937);y.exports=function(e,f,h){for(var E=a(f),T=c.f,D=u.f,A=0;A<E.length;A++){var $=E[A];!r(e,$)&&(!h||!r(h,$))&&T(e,$,D(f,$))}}},27760:(y,b,o)=>{"use strict";var r=o(30801);y.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},30660:y=>{"use strict";y.exports=function(b,o){return{value:b,done:o}}},92338:(y,b,o)=>{"use strict";var r=o(171),a=o(80937),u=o(4274);y.exports=r?function(c,e,f){return a.f(c,e,u(1,f))}:function(c,e,f){return c[e]=f,c}},4274:y=>{"use strict";y.exports=function(b,o){return{enumerable:!(1&b),configurable:!(2&b),writable:!(4&b),value:o}}},77606:(y,b,o)=>{"use strict";var r=o(98131),a=o(80937);y.exports=function(u,c,e){return e.get&&r(e.get,c,{getter:!0}),e.set&&r(e.set,c,{setter:!0}),a.f(u,c,e)}},73808:(y,b,o)=>{"use strict";var r=o(57362),a=o(80937),u=o(98131),c=o(81343);y.exports=function(e,f,h,E){E||(E={});var T=E.enumerable,D=void 0!==E.name?E.name:f;if(r(h)&&u(h,D,E),E.global)T?e[f]=h:c(f,h);else{try{E.unsafe?e[f]&&(T=!0):delete e[f]}catch{}T?e[f]=h:a.f(e,f,{value:h,enumerable:!1,configurable:!E.nonConfigurable,writable:!E.nonWritable})}return e}},86129:(y,b,o)=>{"use strict";var r=o(73808);y.exports=function(a,u,c){for(var e in u)r(a,e,u[e],c);return a}},81343:(y,b,o)=>{"use strict";var r=o(24597),a=Object.defineProperty;y.exports=function(u,c){try{a(r,u,{value:c,configurable:!0,writable:!0})}catch{r[u]=c}return c}},171:(y,b,o)=>{"use strict";var r=o(30801);y.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},2832:(y,b,o)=>{"use strict";var r=o(24597),a=o(44146),u=r.document,c=a(u)&&a(u.createElement);y.exports=function(e){return c?u.createElement(e):{}}},24140:y=>{"use strict";y.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},23157:(y,b,o)=>{"use strict";var a=o(2832)("span").classList,u=a&&a.constructor&&a.constructor.prototype;y.exports=u===Object.prototype?void 0:u},21306:(y,b,o)=>{"use strict";var r=o(24597),a=o(23947);y.exports="process"===a(r.process)},68599:y=>{"use strict";y.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},30182:(y,b,o)=>{"use strict";var h,E,r=o(24597),a=o(68599),u=r.process,c=r.Deno,e=u&&u.versions||c&&c.version,f=e&&e.v8;f&&(E=(h=f.split("."))[0]>0&&h[0]<4?1:+(h[0]+h[1])),!E&&a&&(!(h=a.match(/Edge\/(\d+)/))||h[1]>=74)&&(h=a.match(/Chrome\/(\d+)/))&&(E=+h[1]),y.exports=E},42966:y=>{"use strict";y.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},26040:(y,b,o)=>{"use strict";var r=o(24597),a=o(5757).f,u=o(92338),c=o(73808),e=o(81343),f=o(65485),h=o(94262);y.exports=function(E,T){var U,q,L,J,pe,D=E.target,A=E.global,$=E.stat;if(U=A?r:$?r[D]||e(D,{}):r[D]&&r[D].prototype)for(q in T){if(J=T[q],L=E.dontCallGetSet?(pe=a(U,q))&&pe.value:U[q],!h(A?q:D+($?".":"#")+q,E.forced)&&void 0!==L){if(typeof J==typeof L)continue;f(J,L)}(E.sham||L&&L.sham)&&u(J,"sham",!0),c(U,q,J,E)}}},30801:y=>{"use strict";y.exports=function(b){try{return!!b()}catch{return!0}}},26533:(y,b,o)=>{"use strict";o(35495);var r=o(941),a=o(73808),u=o(47219),c=o(30801),e=o(10263),f=o(92338),h=e("species"),E=RegExp.prototype;y.exports=function(T,D,A,$){var Q=e(T),U=!c(function(){var pe={};return pe[Q]=function(){return 7},7!==""[T](pe)}),q=U&&!c(function(){var pe=!1,j=/a/;return"split"===T&&((j={}).constructor={},j.constructor[h]=function(){return j},j.flags="",j[Q]=/./[Q]),j.exec=function(){return pe=!0,null},j[Q](""),!pe});if(!U||!q||A){var L=/./[Q],J=D(Q,""[T],function(pe,j,ue,ie,me){var Oe=j.exec;return Oe===u||Oe===E.exec?U&&!me?{done:!0,value:r(L,j,ue,ie)}:{done:!0,value:r(pe,ue,j,ie)}:{done:!1}});a(String.prototype,T,J[0]),a(E,Q,J[1])}$&&f(E[Q],"sham",!0)}},34951:(y,b,o)=>{"use strict";var r=o(30801);y.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},72627:(y,b,o)=>{"use strict";var r=o(87903),a=Function.prototype,u=a.apply,c=a.call;y.exports="object"==typeof Reflect&&Reflect.apply||(r?c.bind(u):function(){return c.apply(u,arguments)})},8121:(y,b,o)=>{"use strict";var r=o(38755),a=o(8591),u=o(87903),c=r(r.bind);y.exports=function(e,f){return a(e),void 0===f?e:u?c(e,f):function(){return e.apply(f,arguments)}}},87903:(y,b,o)=>{"use strict";var r=o(30801);y.exports=!r(function(){var a=function(){}.bind();return"function"!=typeof a||a.hasOwnProperty("prototype")})},941:(y,b,o)=>{"use strict";var r=o(87903),a=Function.prototype.call;y.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},76535:(y,b,o)=>{"use strict";var r=o(171),a=o(43232),u=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,e=a(u,"name"),f=e&&"something"===function(){}.name,h=e&&(!r||r&&c(u,"name").configurable);y.exports={EXISTS:e,PROPER:f,CONFIGURABLE:h}},82699:(y,b,o)=>{"use strict";var r=o(42559),a=o(8591);y.exports=function(u,c,e){try{return r(a(Object.getOwnPropertyDescriptor(u,c)[e]))}catch{}}},38755:(y,b,o)=>{"use strict";var r=o(23947),a=o(42559);y.exports=function(u){if("Function"===r(u))return a(u)}},42559:(y,b,o)=>{"use strict";var r=o(87903),a=Function.prototype,u=a.call,c=r&&a.bind.bind(u,u);y.exports=r?c:function(e){return function(){return u.apply(e,arguments)}}},75764:(y,b,o)=>{"use strict";var r=o(24597),a=o(57362),u=function(c){return a(c)?c:void 0};y.exports=function(c,e){return arguments.length<2?u(r[c]):r[c]&&r[c][e]}},51767:(y,b,o)=>{"use strict";var r=o(46148),a=o(55996),u=o(64706),c=o(19695),f=o(10263)("iterator");y.exports=function(h){if(!u(h))return a(h,f)||a(h,"@@iterator")||c[r(h)]}},78495:(y,b,o)=>{"use strict";var r=o(941),a=o(8591),u=o(97038),c=o(22996),e=o(51767),f=TypeError;y.exports=function(h,E){var T=arguments.length<2?e(h):E;if(a(T))return u(r(T,h));throw new f(c(h)+" is not iterable")}},55996:(y,b,o)=>{"use strict";var r=o(8591),a=o(64706);y.exports=function(u,c){var e=u[c];return a(e)?void 0:r(e)}},96569:(y,b,o)=>{"use strict";var r=o(42559),a=o(50054),u=Math.floor,c=r("".charAt),e=r("".replace),f=r("".slice),h=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,E=/\$([$&'`]|\d{1,2})/g;y.exports=function(T,D,A,$,Q,U){var q=A+T.length,L=$.length,J=E;return void 0!==Q&&(Q=a(Q),J=h),e(U,J,function(pe,j){var ue;switch(c(j,0)){case"$":return"$";case"&":return T;case"`":return f(D,0,A);case"'":return f(D,q);case"<":ue=Q[f(j,1,-1)];break;default:var ie=+j;if(0===ie)return pe;if(ie>L){var me=u(ie/10);return 0===me?pe:me<=L?void 0===$[me-1]?c(j,1):$[me-1]+c(j,1):pe}ue=$[ie-1]}return void 0===ue?"":ue})}},24597:function(y){"use strict";var b=function(o){return o&&o.Math===Math&&o};y.exports=b("object"==typeof globalThis&&globalThis)||b("object"==typeof window&&window)||b("object"==typeof self&&self)||b("object"==typeof global&&global)||b("object"==typeof this&&this)||function(){return this}()||Function("return this")()},43232:(y,b,o)=>{"use strict";var r=o(42559),a=o(50054),u=r({}.hasOwnProperty);y.exports=Object.hasOwn||function(e,f){return u(a(e),f)}},25962:y=>{"use strict";y.exports={}},14221:(y,b,o)=>{"use strict";var r=o(75764);y.exports=r("document","documentElement")},36363:(y,b,o)=>{"use strict";var r=o(171),a=o(30801),u=o(2832);y.exports=!r&&!a(function(){return 7!==Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a})},73927:(y,b,o)=>{"use strict";var r=o(42559),a=o(30801),u=o(23947),c=Object,e=r("".split);y.exports=a(function(){return!c("z").propertyIsEnumerable(0)})?function(f){return"String"===u(f)?e(f,""):c(f)}:c},63887:(y,b,o)=>{"use strict";var r=o(57362),a=o(44146),u=o(68821);y.exports=function(c,e,f){var h,E;return u&&r(h=e.constructor)&&h!==f&&a(E=h.prototype)&&E!==f.prototype&&u(c,E),c}},80313:(y,b,o)=>{"use strict";var r=o(42559),a=o(57362),u=o(17836),c=r(Function.toString);a(u.inspectSource)||(u.inspectSource=function(e){return c(e)}),y.exports=u.inspectSource},5391:(y,b,o)=>{"use strict";var r=o(26040),a=o(42559),u=o(25962),c=o(44146),e=o(43232),f=o(80937).f,h=o(7104),E=o(12073),T=o(74874),D=o(61618),A=o(34951),$=!1,Q=D("meta"),U=0,q=function(ie){f(ie,Q,{value:{objectID:"O"+U++,weakData:{}}})},ue=y.exports={enable:function(){ue.enable=function(){},$=!0;var ie=h.f,me=a([].splice),Oe={};Oe[Q]=1,ie(Oe).length&&(h.f=function(Ue){for(var Me=ie(Ue),yt=0,et=Me.length;yt<et;yt++)if(Me[yt]===Q){me(Me,yt,1);break}return Me},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:E.f}))},fastKey:function(ie,me){if(!c(ie))return"symbol"==typeof ie?ie:("string"==typeof ie?"S":"P")+ie;if(!e(ie,Q)){if(!T(ie))return"F";if(!me)return"E";q(ie)}return ie[Q].objectID},getWeakData:function(ie,me){if(!e(ie,Q)){if(!T(ie))return!0;if(!me)return!1;q(ie)}return ie[Q].weakData},onFreeze:function(ie){return A&&$&&T(ie)&&!e(ie,Q)&&q(ie),ie}};u[Q]=!0},23904:(y,b,o)=>{"use strict";var $,Q,U,r=o(13572),a=o(24597),u=o(44146),c=o(92338),e=o(43232),f=o(17836),h=o(38493),E=o(25962),T="Object already initialized",D=a.TypeError;if(r||f.state){var J=f.state||(f.state=new(0,a.WeakMap));J.get=J.get,J.has=J.has,J.set=J.set,$=function(j,ue){if(J.has(j))throw new D(T);return ue.facade=j,J.set(j,ue),ue},Q=function(j){return J.get(j)||{}},U=function(j){return J.has(j)}}else{var pe=h("state");E[pe]=!0,$=function(j,ue){if(e(j,pe))throw new D(T);return ue.facade=j,c(j,pe,ue),ue},Q=function(j){return e(j,pe)?j[pe]:{}},U=function(j){return e(j,pe)}}y.exports={set:$,get:Q,has:U,enforce:function(j){return U(j)?Q(j):$(j,{})},getterFor:function(j){return function(ue){var ie;if(!u(ue)||(ie=Q(ue)).type!==j)throw new D("Incompatible receiver, "+j+" required");return ie}}}},63075:(y,b,o)=>{"use strict";var r=o(10263),a=o(19695),u=r("iterator"),c=Array.prototype;y.exports=function(e){return void 0!==e&&(a.Array===e||c[u]===e)}},46652:(y,b,o)=>{"use strict";var r=o(23947);y.exports=Array.isArray||function(u){return"Array"===r(u)}},57362:y=>{"use strict";var b="object"==typeof document&&document.all;y.exports=typeof b>"u"&&void 0!==b?function(o){return"function"==typeof o||o===b}:function(o){return"function"==typeof o}},41922:(y,b,o)=>{"use strict";var r=o(42559),a=o(30801),u=o(57362),c=o(46148),e=o(75764),f=o(80313),h=function(){},E=e("Reflect","construct"),T=/^\s*(?:class|function)\b/,D=r(T.exec),A=!T.test(h),$=function(q){if(!u(q))return!1;try{return E(h,[],q),!0}catch{return!1}},Q=function(q){if(!u(q))return!1;switch(c(q)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return A||!!D(T,f(q))}catch{return!0}};Q.sham=!0,y.exports=!E||a(function(){var U;return $($.call)||!$(Object)||!$(function(){U=!0})||U})?Q:$},94262:(y,b,o)=>{"use strict";var r=o(30801),a=o(57362),u=/#|\.prototype\./,c=function(T,D){var A=f[e(T)];return A===E||A!==h&&(a(D)?r(D):!!D)},e=c.normalize=function(T){return String(T).replace(u,".").toLowerCase()},f=c.data={},h=c.NATIVE="N",E=c.POLYFILL="P";y.exports=c},64706:y=>{"use strict";y.exports=function(b){return null==b}},44146:(y,b,o)=>{"use strict";var r=o(57362);y.exports=function(a){return"object"==typeof a?null!==a:r(a)}},7805:(y,b,o)=>{"use strict";var r=o(44146);y.exports=function(a){return r(a)||null===a}},62850:y=>{"use strict";y.exports=!1},8298:(y,b,o)=>{"use strict";var r=o(75764),a=o(57362),u=o(44404),c=o(307),e=Object;y.exports=c?function(f){return"symbol"==typeof f}:function(f){var h=r("Symbol");return a(h)&&u(h.prototype,e(f))}},5364:(y,b,o)=>{"use strict";var r=o(8121),a=o(941),u=o(97038),c=o(22996),e=o(63075),f=o(66455),h=o(44404),E=o(78495),T=o(51767),D=o(4812),A=TypeError,$=function(U,q){this.stopped=U,this.result=q},Q=$.prototype;y.exports=function(U,q,L){var Oe,Ue,Me,yt,et,tt,Et,pe=!(!L||!L.AS_ENTRIES),j=!(!L||!L.IS_RECORD),ue=!(!L||!L.IS_ITERATOR),ie=!(!L||!L.INTERRUPTED),me=r(q,L&&L.that),ze=function(Ct){return Oe&&D(Oe,"normal",Ct),new $(!0,Ct)},bt=function(Ct){return pe?(u(Ct),ie?me(Ct[0],Ct[1],ze):me(Ct[0],Ct[1])):ie?me(Ct,ze):me(Ct)};if(j)Oe=U.iterator;else if(ue)Oe=U;else{if(!(Ue=T(U)))throw new A(c(U)+" is not iterable");if(e(Ue)){for(Me=0,yt=f(U);yt>Me;Me++)if((et=bt(U[Me]))&&h(Q,et))return et;return new $(!1)}Oe=E(U,Ue)}for(tt=j?U.next:Oe.next;!(Et=a(tt,Oe)).done;){try{et=bt(Et.value)}catch(Ct){D(Oe,"throw",Ct)}if("object"==typeof et&&et&&h(Q,et))return et}return new $(!1)}},4812:(y,b,o)=>{"use strict";var r=o(941),a=o(97038),u=o(55996);y.exports=function(c,e,f){var h,E;a(c);try{if(!(h=u(c,"return"))){if("throw"===e)throw f;return f}h=r(h,c)}catch(T){E=!0,h=T}if("throw"===e)throw f;if(E)throw h;return a(h),f}},52053:(y,b,o)=>{"use strict";var r=o(3566).IteratorPrototype,a=o(88345),u=o(4274),c=o(8686),e=o(19695),f=function(){return this};y.exports=function(h,E,T,D){var A=E+" Iterator";return h.prototype=a(r,{next:u(+!D,T)}),c(h,A,!1,!0),e[A]=f,h}},97580:(y,b,o)=>{"use strict";var r=o(26040),a=o(941),u=o(62850),c=o(76535),e=o(57362),f=o(52053),h=o(12910),E=o(68821),T=o(8686),D=o(92338),A=o(73808),$=o(10263),Q=o(19695),U=o(3566),q=c.PROPER,L=c.CONFIGURABLE,J=U.IteratorPrototype,pe=U.BUGGY_SAFARI_ITERATORS,j=$("iterator"),ie="values",me="entries",Oe=function(){return this};y.exports=function(Ue,Me,yt,et,tt,Et,ze){f(yt,Me,et);var Dn,Rt,Xt,bt=function(un){if(un===tt&&nn)return nn;if(!pe&&un&&un in ht)return ht[un];switch(un){case"keys":case ie:case me:return function(){return new yt(this,un)}}return function(){return new yt(this)}},Ct=Me+" Iterator",Qt=!1,ht=Ue.prototype,en=ht[j]||ht["@@iterator"]||tt&&ht[tt],nn=!pe&&en||bt(tt),bn="Array"===Me&&ht.entries||en;if(bn&&(Dn=h(bn.call(new Ue)))!==Object.prototype&&Dn.next&&(!u&&h(Dn)!==J&&(E?E(Dn,J):e(Dn[j])||A(Dn,j,Oe)),T(Dn,Ct,!0,!0),u&&(Q[Ct]=Oe)),q&&tt===ie&&en&&en.name!==ie&&(!u&&L?D(ht,"name",ie):(Qt=!0,nn=function(){return a(en,this)})),tt)if(Rt={values:bt(ie),keys:Et?nn:bt("keys"),entries:bt(me)},ze)for(Xt in Rt)(pe||Qt||!(Xt in ht))&&A(ht,Xt,Rt[Xt]);else r({target:Me,proto:!0,forced:pe||Qt},Rt);return(!u||ze)&&ht[j]!==nn&&A(ht,j,nn,{name:tt}),Q[Me]=nn,Rt}},3566:(y,b,o)=>{"use strict";var A,$,Q,r=o(30801),a=o(57362),u=o(44146),c=o(88345),e=o(12910),f=o(73808),h=o(10263),E=o(62850),T=h("iterator"),D=!1;[].keys&&("next"in(Q=[].keys())?($=e(e(Q)))!==Object.prototype&&(A=$):D=!0),!u(A)||r(function(){var q={};return A[T].call(q)!==q})?A={}:E&&(A=c(A)),a(A[T])||f(A,T,function(){return this}),y.exports={IteratorPrototype:A,BUGGY_SAFARI_ITERATORS:D}},19695:y=>{"use strict";y.exports={}},66455:(y,b,o)=>{"use strict";var r=o(80278);y.exports=function(a){return r(a.length)}},98131:(y,b,o)=>{"use strict";var r=o(42559),a=o(30801),u=o(57362),c=o(43232),e=o(171),f=o(76535).CONFIGURABLE,h=o(80313),E=o(23904),T=E.enforce,D=E.get,A=String,$=Object.defineProperty,Q=r("".slice),U=r("".replace),q=r([].join),L=e&&!a(function(){return 8!==$(function(){},"length",{value:8}).length}),J=String(String).split("String"),pe=y.exports=function(j,ue,ie){"Symbol("===Q(A(ue),0,7)&&(ue="["+U(A(ue),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),ie&&ie.getter&&(ue="get "+ue),ie&&ie.setter&&(ue="set "+ue),(!c(j,"name")||f&&j.name!==ue)&&(e?$(j,"name",{value:ue,configurable:!0}):j.name=ue),L&&ie&&c(ie,"arity")&&j.length!==ie.arity&&$(j,"length",{value:ie.arity});try{ie&&c(ie,"constructor")&&ie.constructor?e&&$(j,"prototype",{writable:!1}):j.prototype&&(j.prototype=void 0)}catch{}var me=T(j);return c(me,"source")||(me.source=q(J,"string"==typeof ue?ue:"")),j};Function.prototype.toString=pe(function(){return u(this)&&D(this).source||h(this)},"toString")},64912:y=>{"use strict";var b=Math.ceil,o=Math.floor;y.exports=Math.trunc||function(a){var u=+a;return(u>0?o:b)(u)}},93083:(y,b,o)=>{"use strict";var r=o(24597),a=o(30801),u=o(42559),c=o(38856),e=o(5610).trim,f=o(11156),h=r.parseInt,E=r.Symbol,T=E&&E.iterator,D=/^[+-]?0x/i,A=u(D.exec),$=8!==h(f+"08")||22!==h(f+"0x16")||T&&!a(function(){h(Object(T))});y.exports=$?function(U,q){var L=e(c(U));return h(L,q>>>0||(A(D,L)?16:10))}:h},41721:(y,b,o)=>{"use strict";var r=o(171),a=o(42559),u=o(941),c=o(30801),e=o(44448),f=o(72831),h=o(67695),E=o(50054),T=o(73927),D=Object.assign,A=Object.defineProperty,$=a([].concat);y.exports=!D||c(function(){if(r&&1!==D({b:1},D(A({},"a",{enumerable:!0,get:function(){A(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var Q={},U={},q=Symbol("assign detection"),L="abcdefghijklmnopqrst";return Q[q]=7,L.split("").forEach(function(J){U[J]=J}),7!==D({},Q)[q]||e(D({},U)).join("")!==L})?function(U,q){for(var L=E(U),J=arguments.length,pe=1,j=f.f,ue=h.f;J>pe;)for(var Me,ie=T(arguments[pe++]),me=j?$(e(ie),j(ie)):e(ie),Oe=me.length,Ue=0;Oe>Ue;)Me=me[Ue++],(!r||u(ue,ie,Me))&&(L[Me]=ie[Me]);return L}:D},88345:(y,b,o)=>{"use strict";var J,r=o(97038),a=o(89402),u=o(42966),c=o(25962),e=o(14221),f=o(2832),h=o(38493),D="prototype",A="script",$=h("IE_PROTO"),Q=function(){},U=function(j){return"<"+A+">"+j+"</"+A+">"},q=function(j){j.write(U("")),j.close();var ue=j.parentWindow.Object;return j=null,ue},pe=function(){try{J=new ActiveXObject("htmlfile")}catch{}pe=typeof document<"u"?document.domain&&J?q(J):function(){var ie,j=f("iframe"),ue="java"+A+":";return j.style.display="none",e.appendChild(j),j.src=String(ue),(ie=j.contentWindow.document).open(),ie.write(U("document.F=Object")),ie.close(),ie.F}():q(J);for(var j=u.length;j--;)delete pe[D][u[j]];return pe()};c[$]=!0,y.exports=Object.create||function(ue,ie){var me;return null!==ue?(Q[D]=r(ue),me=new Q,Q[D]=null,me[$]=ue):me=pe(),void 0===ie?me:a.f(me,ie)}},89402:(y,b,o)=>{"use strict";var r=o(171),a=o(55973),u=o(80937),c=o(97038),e=o(8708),f=o(44448);b.f=r&&!a?Object.defineProperties:function(E,T){c(E);for(var U,D=e(T),A=f(T),$=A.length,Q=0;$>Q;)u.f(E,U=A[Q++],D[U]);return E}},80937:(y,b,o)=>{"use strict";var r=o(171),a=o(36363),u=o(55973),c=o(97038),e=o(19384),f=TypeError,h=Object.defineProperty,E=Object.getOwnPropertyDescriptor,T="enumerable",D="configurable",A="writable";b.f=r?u?function(Q,U,q){if(c(Q),U=e(U),c(q),"function"==typeof Q&&"prototype"===U&&"value"in q&&A in q&&!q[A]){var L=E(Q,U);L&&L[A]&&(Q[U]=q.value,q={configurable:D in q?q[D]:L[D],enumerable:T in q?q[T]:L[T],writable:!1})}return h(Q,U,q)}:h:function(Q,U,q){if(c(Q),U=e(U),c(q),a)try{return h(Q,U,q)}catch{}if("get"in q||"set"in q)throw new f("Accessors not supported");return"value"in q&&(Q[U]=q.value),Q}},5757:(y,b,o)=>{"use strict";var r=o(171),a=o(941),u=o(67695),c=o(4274),e=o(8708),f=o(19384),h=o(43232),E=o(36363),T=Object.getOwnPropertyDescriptor;b.f=r?T:function(A,$){if(A=e(A),$=f($),E)try{return T(A,$)}catch{}if(h(A,$))return c(!a(u.f,A,$),A[$])}},12073:(y,b,o)=>{"use strict";var r=o(23947),a=o(8708),u=o(7104).f,c=o(76221),e="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];y.exports.f=function(E){return e&&"Window"===r(E)?function(h){try{return u(h)}catch{return c(e)}}(E):u(a(E))}},7104:(y,b,o)=>{"use strict";var r=o(84536),u=o(42966).concat("length","prototype");b.f=Object.getOwnPropertyNames||function(e){return r(e,u)}},72831:(y,b)=>{"use strict";b.f=Object.getOwnPropertySymbols},12910:(y,b,o)=>{"use strict";var r=o(43232),a=o(57362),u=o(50054),c=o(38493),e=o(27760),f=c("IE_PROTO"),h=Object,E=h.prototype;y.exports=e?h.getPrototypeOf:function(T){var D=u(T);if(r(D,f))return D[f];var A=D.constructor;return a(A)&&D instanceof A?A.prototype:D instanceof h?E:null}},74874:(y,b,o)=>{"use strict";var r=o(30801),a=o(44146),u=o(23947),c=o(57221),e=Object.isExtensible,f=r(function(){e(1)});y.exports=f||c?function(E){return!(!a(E)||c&&"ArrayBuffer"===u(E))&&(!e||e(E))}:e},44404:(y,b,o)=>{"use strict";var r=o(42559);y.exports=r({}.isPrototypeOf)},84536:(y,b,o)=>{"use strict";var r=o(42559),a=o(43232),u=o(8708),c=o(81989).indexOf,e=o(25962),f=r([].push);y.exports=function(h,E){var $,T=u(h),D=0,A=[];for($ in T)!a(e,$)&&a(T,$)&&f(A,$);for(;E.length>D;)a(T,$=E[D++])&&(~c(A,$)||f(A,$));return A}},44448:(y,b,o)=>{"use strict";var r=o(84536),a=o(42966);y.exports=Object.keys||function(c){return r(c,a)}},67695:(y,b)=>{"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!o.call({1:2},1);b.f=a?function(c){var e=r(this,c);return!!e&&e.enumerable}:o},68821:(y,b,o)=>{"use strict";var r=o(82699),a=o(97038),u=o(90063);y.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f,c=!1,e={};try{(f=r(Object.prototype,"__proto__","set"))(e,[]),c=e instanceof Array}catch{}return function(E,T){return a(E),u(T),c?f(E,T):E.__proto__=T,E}}():void 0)},54918:(y,b,o)=>{"use strict";var r=o(2631),a=o(46148);y.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},82975:(y,b,o)=>{"use strict";var r=o(941),a=o(57362),u=o(44146),c=TypeError;y.exports=function(e,f){var h,E;if("string"===f&&a(h=e.toString)&&!u(E=r(h,e))||a(h=e.valueOf)&&!u(E=r(h,e))||"string"!==f&&a(h=e.toString)&&!u(E=r(h,e)))return E;throw new c("Can't convert object to primitive value")}},84579:(y,b,o)=>{"use strict";var r=o(75764),a=o(42559),u=o(7104),c=o(72831),e=o(97038),f=a([].concat);y.exports=r("Reflect","ownKeys")||function(E){var T=u.f(e(E)),D=c.f;return D?f(T,D(E)):T}},7886:(y,b,o)=>{"use strict";var r=o(941),a=o(97038),u=o(57362),c=o(23947),e=o(47219),f=TypeError;y.exports=function(h,E){var T=h.exec;if(u(T)){var D=r(T,h,E);return null!==D&&a(D),D}if("RegExp"===c(h))return r(e,h,E);throw new f("RegExp#exec called on incompatible receiver")}},47219:(y,b,o)=>{"use strict";var me,Oe,r=o(941),a=o(42559),u=o(38856),c=o(17550),e=o(26860),f=o(39357),h=o(88345),E=o(23904).get,T=o(68485),D=o(79981),A=f("native-string-replace",String.prototype.replace),$=RegExp.prototype.exec,Q=$,U=a("".charAt),q=a("".indexOf),L=a("".replace),J=a("".slice),pe=(Oe=/b*/g,r($,me=/a/,"a"),r($,Oe,"a"),0!==me.lastIndex||0!==Oe.lastIndex),j=e.BROKEN_CARET,ue=void 0!==/()??/.exec("")[1];(pe||ue||j||T||D)&&(Q=function(Oe){var tt,Et,ze,bt,Ct,Qt,ht,Ue=this,Me=E(Ue),yt=u(Oe),et=Me.raw;if(et)return et.lastIndex=Ue.lastIndex,tt=r(Q,et,yt),Ue.lastIndex=et.lastIndex,tt;var en=Me.groups,nn=j&&Ue.sticky,bn=r(c,Ue),Dn=Ue.source,Rt=0,Xt=yt;if(nn&&(bn=L(bn,"y",""),-1===q(bn,"g")&&(bn+="g"),Xt=J(yt,Ue.lastIndex),Ue.lastIndex>0&&(!Ue.multiline||Ue.multiline&&"\n"!==U(yt,Ue.lastIndex-1))&&(Dn="(?: "+Dn+")",Xt=" "+Xt,Rt++),Et=new RegExp("^(?:"+Dn+")",bn)),ue&&(Et=new RegExp("^"+Dn+"$(?!\\s)",bn)),pe&&(ze=Ue.lastIndex),bt=r($,nn?Et:Ue,Xt),nn?bt?(bt.input=J(bt.input,Rt),bt[0]=J(bt[0],Rt),bt.index=Ue.lastIndex,Ue.lastIndex+=bt[0].length):Ue.lastIndex=0:pe&&bt&&(Ue.lastIndex=Ue.global?bt.index+bt[0].length:ze),ue&&bt&&bt.length>1&&r(A,bt[0],Et,function(){for(Ct=1;Ct<arguments.length-2;Ct++)void 0===arguments[Ct]&&(bt[Ct]=void 0)}),bt&&en)for(bt.groups=Qt=h(null),Ct=0;Ct<en.length;Ct++)Qt[(ht=en[Ct])[0]]=bt[ht[1]];return bt}),y.exports=Q},17550:(y,b,o)=>{"use strict";var r=o(97038);y.exports=function(){var a=r(this),u="";return a.hasIndices&&(u+="d"),a.global&&(u+="g"),a.ignoreCase&&(u+="i"),a.multiline&&(u+="m"),a.dotAll&&(u+="s"),a.unicode&&(u+="u"),a.unicodeSets&&(u+="v"),a.sticky&&(u+="y"),u}},26860:(y,b,o)=>{"use strict";var r=o(30801),u=o(24597).RegExp,c=r(function(){var h=u("a","y");return h.lastIndex=2,null!==h.exec("abcd")}),e=c||r(function(){return!u("a","y").sticky}),f=c||r(function(){var h=u("^r","gy");return h.lastIndex=2,null!==h.exec("str")});y.exports={BROKEN_CARET:f,MISSED_STICKY:e,UNSUPPORTED_Y:c}},68485:(y,b,o)=>{"use strict";var r=o(30801),u=o(24597).RegExp;y.exports=r(function(){var c=u(".","s");return!(c.dotAll&&c.test("\n")&&"s"===c.flags)})},79981:(y,b,o)=>{"use strict";var r=o(30801),u=o(24597).RegExp;y.exports=r(function(){var c=u("(?<a>b)","g");return"b"!==c.exec("b").groups.a||"bc"!=="b".replace(c,"$<a>c")})},86678:(y,b,o)=>{"use strict";var r=o(64706),a=TypeError;y.exports=function(u){if(r(u))throw new a("Can't call method on "+u);return u}},8686:(y,b,o)=>{"use strict";var r=o(80937).f,a=o(43232),c=o(10263)("toStringTag");y.exports=function(e,f,h){e&&!h&&(e=e.prototype),e&&!a(e,c)&&r(e,c,{configurable:!0,value:f})}},38493:(y,b,o)=>{"use strict";var r=o(39357),a=o(61618),u=r("keys");y.exports=function(c){return u[c]||(u[c]=a(c))}},17836:(y,b,o)=>{"use strict";var r=o(62850),a=o(24597),u=o(81343),c="__core-js_shared__",e=y.exports=a[c]||u(c,{});(e.versions||(e.versions=[])).push({version:"3.36.0",mode:r?"pure":"global",copyright:"\xa9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE",source:"https://github.com/zloirock/core-js"})},39357:(y,b,o)=>{"use strict";var r=o(17836);y.exports=function(a,u){return r[a]||(r[a]=u||{})}},27931:(y,b,o)=>{"use strict";var r=o(42559),a=o(92794),u=o(38856),c=o(86678),e=r("".charAt),f=r("".charCodeAt),h=r("".slice),E=function(T){return function(D,A){var q,L,$=u(c(D)),Q=a(A),U=$.length;return Q<0||Q>=U?T?"":void 0:(q=f($,Q))<55296||q>56319||Q+1===U||(L=f($,Q+1))<56320||L>57343?T?e($,Q):q:T?h($,Q,Q+2):L-56320+(q-55296<<10)+65536}};y.exports={codeAt:E(!1),charAt:E(!0)}},5610:(y,b,o)=>{"use strict";var r=o(42559),a=o(86678),u=o(38856),c=o(11156),e=r("".replace),f=RegExp("^["+c+"]+"),h=RegExp("(^|[^"+c+"])["+c+"]+$"),E=function(T){return function(D){var A=u(a(D));return 1&T&&(A=e(A,f,"")),2&T&&(A=e(A,h,"$1")),A}};y.exports={start:E(1),end:E(2),trim:E(3)}},5574:(y,b,o)=>{"use strict";var r=o(30182),a=o(30801),c=o(24597).String;y.exports=!!Object.getOwnPropertySymbols&&!a(function(){var e=Symbol("symbol detection");return!c(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},24674:(y,b,o)=>{"use strict";var r=o(92794),a=Math.max,u=Math.min;y.exports=function(c,e){var f=r(c);return f<0?a(f+e,0):u(f,e)}},8708:(y,b,o)=>{"use strict";var r=o(73927),a=o(86678);y.exports=function(u){return r(a(u))}},92794:(y,b,o)=>{"use strict";var r=o(64912);y.exports=function(a){var u=+a;return u!=u||0===u?0:r(u)}},80278:(y,b,o)=>{"use strict";var r=o(92794),a=Math.min;y.exports=function(u){var c=r(u);return c>0?a(c,9007199254740991):0}},50054:(y,b,o)=>{"use strict";var r=o(86678),a=Object;y.exports=function(u){return a(r(u))}},617:(y,b,o)=>{"use strict";var r=o(941),a=o(44146),u=o(8298),c=o(55996),e=o(82975),f=o(10263),h=TypeError,E=f("toPrimitive");y.exports=function(T,D){if(!a(T)||u(T))return T;var $,A=c(T,E);if(A){if(void 0===D&&(D="default"),$=r(A,T,D),!a($)||u($))return $;throw new h("Can't convert object to primitive value")}return void 0===D&&(D="number"),e(T,D)}},19384:(y,b,o)=>{"use strict";var r=o(617),a=o(8298);y.exports=function(u){var c=r(u,"string");return a(c)?c:c+""}},2631:(y,b,o)=>{"use strict";var u={};u[o(10263)("toStringTag")]="z",y.exports="[object z]"===String(u)},38856:(y,b,o)=>{"use strict";var r=o(46148),a=String;y.exports=function(u){if("Symbol"===r(u))throw new TypeError("Cannot convert a Symbol value to a string");return a(u)}},22996:y=>{"use strict";var b=String;y.exports=function(o){try{return b(o)}catch{return"Object"}}},61618:(y,b,o)=>{"use strict";var r=o(42559),a=0,u=Math.random(),c=r(1..toString);y.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+c(++a+u,36)}},307:(y,b,o)=>{"use strict";var r=o(5574);y.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},55973:(y,b,o)=>{"use strict";var r=o(171),a=o(30801);y.exports=r&&a(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},13572:(y,b,o)=>{"use strict";var r=o(24597),a=o(57362),u=r.WeakMap;y.exports=a(u)&&/native code/.test(String(u))},10263:(y,b,o)=>{"use strict";var r=o(24597),a=o(39357),u=o(43232),c=o(61618),e=o(5574),f=o(307),h=r.Symbol,E=a("wks"),T=f?h.for||h:h&&h.withoutSetter||c;y.exports=function(D){return u(E,D)||(E[D]=e&&u(h,D)?h[D]:T("Symbol."+D)),E[D]}},11156:y=>{"use strict";y.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},23399:(y,b,o)=>{"use strict";var r=o(26040),a=o(17030).filter;r({target:"Array",proto:!0,forced:!o(78173)("filter")},{filter:function(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}})},60042:(y,b,o)=>{"use strict";var r=o(8708),a=o(18126),u=o(19695),c=o(23904),e=o(80937).f,f=o(97580),h=o(30660),E=o(62850),T=o(171),D="Array Iterator",A=c.set,$=c.getterFor(D);y.exports=f(Array,"Array",function(U,q){A(this,{type:D,target:r(U),index:0,kind:q})},function(){var U=$(this),q=U.target,L=U.index++;if(!q||L>=q.length)return U.target=void 0,h(void 0,!0);switch(U.kind){case"keys":return h(L,!1);case"values":return h(q[L],!1)}return h([L,q[L]],!1)},"values");var Q=u.Arguments=u.Array;if(a("keys"),a("values"),a("entries"),!E&&T&&"values"!==Q.name)try{e(Q,"name",{value:"values"})}catch{}},21917:(y,b,o)=>{"use strict";var r=o(26040),a=o(71473).left,u=o(22185),c=o(30182);r({target:"Array",proto:!0,forced:!o(21306)&&c>79&&c<83||!u("reduce")},{reduce:function(T){var D=arguments.length;return a(this,T,D,D>1?arguments[1]:void 0)}})},59910:(y,b,o)=>{"use strict";var r=o(171),a=o(76535).EXISTS,u=o(42559),c=o(77606),e=Function.prototype,f=u(e.toString),h=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,E=u(h.exec);r&&!a&&c(e,"name",{configurable:!0,get:function(){try{return E(h,f(this))[1]}catch{return""}}})},13310:(y,b,o)=>{"use strict";var r=o(26040),a=o(41721);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},3766:(y,b,o)=>{"use strict";var r=o(2631),a=o(73808),u=o(54918);r||a(Object.prototype,"toString",u,{unsafe:!0})},8998:(y,b,o)=>{"use strict";var r=o(26040),a=o(93083);r({global:!0,forced:parseInt!==a},{parseInt:a})},35495:(y,b,o)=>{"use strict";var r=o(26040),a=o(47219);r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},31089:(y,b,o)=>{"use strict";var r=o(27931).charAt,a=o(38856),u=o(23904),c=o(97580),e=o(30660),f="String Iterator",h=u.set,E=u.getterFor(f);c(String,"String",function(T){h(this,{type:f,string:a(T),index:0})},function(){var Q,D=E(this),A=D.string,$=D.index;return $>=A.length?e(void 0,!0):(Q=r(A,$),D.index+=Q.length,e(Q,!1))})},46042:(y,b,o)=>{"use strict";var r=o(941),a=o(26533),u=o(97038),c=o(64706),e=o(80278),f=o(38856),h=o(86678),E=o(55996),T=o(22100),D=o(7886);a("match",function(A,$,Q){return[function(q){var L=h(this),J=c(q)?void 0:E(q,A);return J?r(J,q,L):new RegExp(q)[A](f(L))},function(U){var q=u(this),L=f(U),J=Q($,q,L);if(J.done)return J.value;if(!q.global)return D(q,L);var pe=q.unicode;q.lastIndex=0;for(var ie,j=[],ue=0;null!==(ie=D(q,L));){var me=f(ie[0]);j[ue]=me,""===me&&(q.lastIndex=T(L,e(q.lastIndex),pe)),ue++}return 0===ue?null:j}]})},43441:(y,b,o)=>{"use strict";var r=o(72627),a=o(941),u=o(42559),c=o(26533),e=o(30801),f=o(97038),h=o(57362),E=o(64706),T=o(92794),D=o(80278),A=o(38856),$=o(86678),Q=o(22100),U=o(55996),q=o(96569),L=o(7886),pe=o(10263)("replace"),j=Math.max,ue=Math.min,ie=u([].concat),me=u([].push),Oe=u("".indexOf),Ue=u("".slice),Me=function(Et){return void 0===Et?Et:String(Et)},yt="$0"==="a".replace(/./,"$0"),et=!!/./[pe]&&""===/./[pe]("a","$0");c("replace",function(Et,ze,bt){var Ct=et?"$":"$0";return[function(ht,en){var nn=$(this),bn=E(ht)?void 0:U(ht,pe);return bn?a(bn,ht,nn,en):a(ze,A(nn),ht,en)},function(Qt,ht){var en=f(this),nn=A(Qt);if("string"==typeof ht&&-1===Oe(ht,Ct)&&-1===Oe(ht,"$<")){var bn=bt(ze,en,nn,ht);if(bn.done)return bn.value}var Dn=h(ht);Dn||(ht=A(ht));var Xt,Rt=en.global;Rt&&(Xt=en.unicode,en.lastIndex=0);for(var _n,un=[];null!==(_n=L(en,nn))&&(me(un,_n),Rt);)""===A(_n[0])&&(en.lastIndex=Q(nn,D(en.lastIndex),Xt));for(var ri="",Ir=0,wr=0;wr<un.length;wr++){for(var Tr,_r=A((_n=un[wr])[0]),oi=j(ue(T(_n.index),nn.length),0),Ri=[],ft=1;ft<_n.length;ft++)me(Ri,Me(_n[ft]));var sn=_n.groups;if(Dn){var At=ie([_r],Ri,oi,nn);void 0!==sn&&me(At,sn),Tr=A(r(ht,void 0,At))}else Tr=q(_r,nn,oi,Ri,sn,ht);oi>=Ir&&(ri+=Ue(nn,Ir,oi)+Tr,Ir=oi+_r.length)}return ri+Ue(nn,Ir)}]},!!e(function(){var Et=/./;return Et.exec=function(){var ze=[];return ze.groups={a:"7"},ze},"7"!=="".replace(Et,"$<a>")})||!yt||et)},70622:(y,b,o)=>{"use strict";var ue,r=o(34951),a=o(24597),u=o(42559),c=o(86129),e=o(5391),f=o(5041),h=o(67832),E=o(44146),T=o(23904).enforce,D=o(30801),A=o(13572),$=Object,Q=Array.isArray,U=$.isExtensible,q=$.isFrozen,L=$.isSealed,J=$.freeze,pe=$.seal,j=!a.ActiveXObject&&"ActiveXObject"in a,ie=function(Et){return function(){return Et(this,arguments.length?arguments[0]:void 0)}},me=f("WeakMap",ie,h),Oe=me.prototype,Ue=u(Oe.set);if(A)if(j){ue=h.getConstructor(ie,"WeakMap",!0),e.enable();var yt=u(Oe.delete),et=u(Oe.has),tt=u(Oe.get);c(Oe,{delete:function(Et){if(E(Et)&&!U(Et)){var ze=T(this);return ze.frozen||(ze.frozen=new ue),yt(this,Et)||ze.frozen.delete(Et)}return yt(this,Et)},has:function(ze){if(E(ze)&&!U(ze)){var bt=T(this);return bt.frozen||(bt.frozen=new ue),et(this,ze)||bt.frozen.has(ze)}return et(this,ze)},get:function(ze){if(E(ze)&&!U(ze)){var bt=T(this);return bt.frozen||(bt.frozen=new ue),et(this,ze)?tt(this,ze):bt.frozen.get(ze)}return tt(this,ze)},set:function(ze,bt){if(E(ze)&&!U(ze)){var Ct=T(this);Ct.frozen||(Ct.frozen=new ue),et(this,ze)?Ue(this,ze,bt):Ct.frozen.set(ze,bt)}else Ue(this,ze,bt);return this}})}else r&&D(function(){var Et=J([]);return Ue(new me,Et,1),!q(Et)})&&c(Oe,{set:function(ze,bt){var Ct;return Q(ze)&&(q(ze)?Ct=J:L(ze)&&(Ct=pe)),Ue(this,ze,bt),Ct&&Ct(ze),this}})},17428:(y,b,o)=>{"use strict";o(70622)},73660:(y,b,o)=>{"use strict";var r=o(24597),a=o(24140),u=o(23157),c=o(60042),e=o(92338),f=o(8686),E=o(10263)("iterator"),T=c.values,D=function($,Q){if($){if($[E]!==T)try{e($,E,T)}catch{$[E]=T}if(f($,Q,!0),a[Q])for(var U in c)if($[U]!==c[U])try{e($,U,c[U])}catch{$[U]=c[U]}}};for(var A in a)D(r[A]&&r[A].prototype,A);D(u,"DOMTokenList")},14091:(y,b,o)=>{"use strict";o.d(b,{LC:()=>a,SB:()=>T,X$:()=>c,ZE:()=>j,ZN:()=>pe,_j:()=>r,eR:()=>A,jt:()=>e,k1:()=>ue,l3:()=>u,oB:()=>E,vP:()=>h});class r{}class a{}const u="*";function c(ie,me){return{type:7,name:ie,definitions:me,options:{}}}function e(ie,me=null){return{type:4,styles:me,timings:ie}}function h(ie,me=null){return{type:2,steps:ie,options:me}}function E(ie){return{type:6,styles:ie,offset:null}}function T(ie,me,Oe){return{type:0,name:ie,styles:me,options:Oe}}function A(ie,me,Oe=null){return{type:1,expr:ie,animation:me,options:Oe}}function J(ie){Promise.resolve().then(ie)}class pe{constructor(me=0,Oe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=me+Oe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(me=>me()),this._onDoneFns=[])}onStart(me){this._originalOnStartFns.push(me),this._onStartFns.push(me)}onDone(me){this._originalOnDoneFns.push(me),this._onDoneFns.push(me)}onDestroy(me){this._onDestroyFns.push(me)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){J(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(me=>me()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(me=>me()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(me){this._position=this.totalTime?me*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(me){const Oe="start"==me?this._onStartFns:this._onDoneFns;Oe.forEach(Ue=>Ue()),Oe.length=0}}class j{constructor(me){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=me;let Oe=0,Ue=0,Me=0;const yt=this.players.length;0==yt?J(()=>this._onFinish()):this.players.forEach(et=>{et.onDone(()=>{++Oe==yt&&this._onFinish()}),et.onDestroy(()=>{++Ue==yt&&this._onDestroy()}),et.onStart(()=>{++Me==yt&&this._onStart()})}),this.totalTime=this.players.reduce((et,tt)=>Math.max(et,tt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(me=>me()),this._onDoneFns=[])}init(){this.players.forEach(me=>me.init())}onStart(me){this._onStartFns.push(me)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(me=>me()),this._onStartFns=[])}onDone(me){this._onDoneFns.push(me)}onDestroy(me){this._onDestroyFns.push(me)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(me=>me.play())}pause(){this.players.forEach(me=>me.pause())}restart(){this.players.forEach(me=>me.restart())}finish(){this._onFinish(),this.players.forEach(me=>me.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(me=>me.destroy()),this._onDestroyFns.forEach(me=>me()),this._onDestroyFns=[])}reset(){this.players.forEach(me=>me.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(me){const Oe=me*this.totalTime;this.players.forEach(Ue=>{const Me=Ue.totalTime?Math.min(1,Oe/Ue.totalTime):1;Ue.setPosition(Me)})}getPosition(){const me=this.players.reduce((Oe,Ue)=>null===Oe||Ue.totalTime>Oe.totalTime?Ue:Oe,null);return null!=me?me.getPosition():0}beforeDestroy(){this.players.forEach(me=>{me.beforeDestroy&&me.beforeDestroy()})}triggerCallback(me){const Oe="start"==me?this._onStartFns:this._onDoneFns;Oe.forEach(Ue=>Ue()),Oe.length=0}}const ue="!"},88692:(y,b,o)=>{"use strict";o.d(b,{Do:()=>j,ED:()=>Ga,EM:()=>cu,Gx:()=>yn,HT:()=>c,JF:()=>gl,JJ:()=>ia,K0:()=>f,Mn:()=>en,Mx:()=>Cn,NF:()=>Ec,Nd:()=>js,O5:()=>ra,Ov:()=>ys,PC:()=>Fo,RF:()=>tl,S$:()=>L,Tn:()=>Et,Ts:()=>Ui,UT:()=>nn,V_:()=>T,Ye:()=>ue,Zx:()=>ta,ax:()=>$s,b0:()=>pe,bD:()=>Ou,ez:()=>bl,gd:()=>qi,i8:()=>rs,iq:()=>Eo,mk:()=>Qi,mr:()=>J,n9:()=>Da,ol:()=>ht,p6:()=>Bo,q:()=>u,rS:()=>Br,sg:()=>$s,tP:()=>Cs,uU:()=>We,w_:()=>e,x:()=>tt,zE:()=>Ra});var r=o(64537);let a=null;function u(){return a}function c(se){a||(a=se)}class e{}const f=new r.OlP("DocumentToken");let h=(()=>{class se{historyGo(Xe){throw new Error("Not implemented")}}return se.\u0275fac=function(Xe){return new(Xe||se)},se.\u0275prov=r.Yz7({token:se,factory:function(){return function E(){return(0,r.LFG)(D)}()},providedIn:"platform"}),se})();const T=new r.OlP("Location Initialized");let D=(()=>{class se extends h{constructor(Xe){super(),this._doc=Xe,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return u().getBaseHref(this._doc)}onPopState(Xe){const rn=u().getGlobalEventTarget(this._doc,"window");return rn.addEventListener("popstate",Xe,!1),()=>rn.removeEventListener("popstate",Xe)}onHashChange(Xe){const rn=u().getGlobalEventTarget(this._doc,"window");return rn.addEventListener("hashchange",Xe,!1),()=>rn.removeEventListener("hashchange",Xe)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(Xe){this._location.pathname=Xe}pushState(Xe,rn,zn){A()?this._history.pushState(Xe,rn,zn):this._location.hash=zn}replaceState(Xe,rn,zn){A()?this._history.replaceState(Xe,rn,zn):this._location.hash=zn}forward(){this._history.forward()}back(){this._history.back()}historyGo(Xe=0){this._history.go(Xe)}getState(){return this._history.state}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.LFG(f))},se.\u0275prov=r.Yz7({token:se,factory:function(){return function $(){return new D((0,r.LFG)(f))}()},providedIn:"platform"}),se})();function A(){return!!window.history.pushState}function Q(se,Dt){if(0==se.length)return Dt;if(0==Dt.length)return se;let Xe=0;return se.endsWith("/")&&Xe++,Dt.startsWith("/")&&Xe++,2==Xe?se+Dt.substring(1):1==Xe?se+Dt:se+"/"+Dt}function U(se){const Dt=se.match(/#|\?|$/),Xe=Dt&&Dt.index||se.length;return se.slice(0,Xe-("/"===se[Xe-1]?1:0))+se.slice(Xe)}function q(se){return se&&"?"!==se[0]?"?"+se:se}let L=(()=>{class se{historyGo(Xe){throw new Error("Not implemented")}}return se.\u0275fac=function(Xe){return new(Xe||se)},se.\u0275prov=r.Yz7({token:se,factory:function(){return(0,r.f3M)(pe)},providedIn:"root"}),se})();const J=new r.OlP("appBaseHref");let pe=(()=>{class se extends L{constructor(Xe,rn){super(),this._platformLocation=Xe,this._removeListenerFns=[],this._baseHref=rn??this._platformLocation.getBaseHrefFromDOM()??(0,r.f3M)(f).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Xe){this._removeListenerFns.push(this._platformLocation.onPopState(Xe),this._platformLocation.onHashChange(Xe))}getBaseHref(){return this._baseHref}prepareExternalUrl(Xe){return Q(this._baseHref,Xe)}path(Xe=!1){const rn=this._platformLocation.pathname+q(this._platformLocation.search),zn=this._platformLocation.hash;return zn&&Xe?`${rn}${zn}`:rn}pushState(Xe,rn,zn,ii){const Ai=this.prepareExternalUrl(zn+q(ii));this._platformLocation.pushState(Xe,rn,Ai)}replaceState(Xe,rn,zn,ii){const Ai=this.prepareExternalUrl(zn+q(ii));this._platformLocation.replaceState(Xe,rn,Ai)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Xe=0){this._platformLocation.historyGo?.(Xe)}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.LFG(h),r.LFG(J,8))},se.\u0275prov=r.Yz7({token:se,factory:se.\u0275fac,providedIn:"root"}),se})(),j=(()=>{class se extends L{constructor(Xe,rn){super(),this._platformLocation=Xe,this._baseHref="",this._removeListenerFns=[],null!=rn&&(this._baseHref=rn)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Xe){this._removeListenerFns.push(this._platformLocation.onPopState(Xe),this._platformLocation.onHashChange(Xe))}getBaseHref(){return this._baseHref}path(Xe=!1){let rn=this._platformLocation.hash;return null==rn&&(rn="#"),rn.length>0?rn.substring(1):rn}prepareExternalUrl(Xe){const rn=Q(this._baseHref,Xe);return rn.length>0?"#"+rn:rn}pushState(Xe,rn,zn,ii){let Ai=this.prepareExternalUrl(zn+q(ii));0==Ai.length&&(Ai=this._platformLocation.pathname),this._platformLocation.pushState(Xe,rn,Ai)}replaceState(Xe,rn,zn,ii){let Ai=this.prepareExternalUrl(zn+q(ii));0==Ai.length&&(Ai=this._platformLocation.pathname),this._platformLocation.replaceState(Xe,rn,Ai)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Xe=0){this._platformLocation.historyGo?.(Xe)}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.LFG(h),r.LFG(J,8))},se.\u0275prov=r.Yz7({token:se,factory:se.\u0275fac}),se})(),ue=(()=>{class se{constructor(Xe){this._subject=new r.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Xe;const rn=this._locationStrategy.getBaseHref();this._basePath=function Ue(se){if(new RegExp("^(https?:)?//").test(se)){const[,Xe]=se.split(/\/\/[^\/]+/);return Xe}return se}(U(Oe(rn))),this._locationStrategy.onPopState(zn=>{this._subject.emit({url:this.path(!0),pop:!0,state:zn.state,type:zn.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Xe=!1){return this.normalize(this._locationStrategy.path(Xe))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Xe,rn=""){return this.path()==this.normalize(Xe+q(rn))}normalize(Xe){return se.stripTrailingSlash(function me(se,Dt){if(!se||!Dt.startsWith(se))return Dt;const Xe=Dt.substring(se.length);return""===Xe||["/",";","?","#"].includes(Xe[0])?Xe:Dt}(this._basePath,Oe(Xe)))}prepareExternalUrl(Xe){return Xe&&"/"!==Xe[0]&&(Xe="/"+Xe),this._locationStrategy.prepareExternalUrl(Xe)}go(Xe,rn="",zn=null){this._locationStrategy.pushState(zn,"",Xe,rn),this._notifyUrlChangeListeners(this.prepareExternalUrl(Xe+q(rn)),zn)}replaceState(Xe,rn="",zn=null){this._locationStrategy.replaceState(zn,"",Xe,rn),this._notifyUrlChangeListeners(this.prepareExternalUrl(Xe+q(rn)),zn)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Xe=0){this._locationStrategy.historyGo?.(Xe)}onUrlChange(Xe){return this._urlChangeListeners.push(Xe),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(rn=>{this._notifyUrlChangeListeners(rn.url,rn.state)})),()=>{const rn=this._urlChangeListeners.indexOf(Xe);this._urlChangeListeners.splice(rn,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Xe="",rn){this._urlChangeListeners.forEach(zn=>zn(Xe,rn))}subscribe(Xe,rn,zn){return this._subject.subscribe({next:Xe,error:rn,complete:zn})}}return se.normalizeQueryParams=q,se.joinWithSlash=Q,se.stripTrailingSlash=U,se.\u0275fac=function(Xe){return new(Xe||se)(r.LFG(L))},se.\u0275prov=r.Yz7({token:se,factory:function(){return function ie(){return new ue((0,r.LFG)(L))}()},providedIn:"root"}),se})();function Oe(se){return se.replace(/\/index.html$/,"")}var yt=(()=>((yt=yt||{})[yt.Decimal=0]="Decimal",yt[yt.Percent=1]="Percent",yt[yt.Currency=2]="Currency",yt[yt.Scientific=3]="Scientific",yt))(),et=(()=>((et=et||{})[et.Zero=0]="Zero",et[et.One=1]="One",et[et.Two=2]="Two",et[et.Few=3]="Few",et[et.Many=4]="Many",et[et.Other=5]="Other",et))(),tt=(()=>((tt=tt||{})[tt.Format=0]="Format",tt[tt.Standalone=1]="Standalone",tt))(),Et=(()=>((Et=Et||{})[Et.Narrow=0]="Narrow",Et[Et.Abbreviated=1]="Abbreviated",Et[Et.Wide=2]="Wide",Et[Et.Short=3]="Short",Et))(),ze=(()=>((ze=ze||{})[ze.Short=0]="Short",ze[ze.Medium=1]="Medium",ze[ze.Long=2]="Long",ze[ze.Full=3]="Full",ze))(),bt=(()=>((bt=bt||{})[bt.Decimal=0]="Decimal",bt[bt.Group=1]="Group",bt[bt.List=2]="List",bt[bt.PercentSign=3]="PercentSign",bt[bt.PlusSign=4]="PlusSign",bt[bt.MinusSign=5]="MinusSign",bt[bt.Exponential=6]="Exponential",bt[bt.SuperscriptingExponent=7]="SuperscriptingExponent",bt[bt.PerMille=8]="PerMille",bt[bt.Infinity=9]="Infinity",bt[bt.NaN=10]="NaN",bt[bt.TimeSeparator=11]="TimeSeparator",bt[bt.CurrencyDecimal=12]="CurrencyDecimal",bt[bt.CurrencyGroup=13]="CurrencyGroup",bt))();function ht(se,Dt,Xe){const rn=(0,r.cg1)(se),ii=Ln([rn[r.wAp.DayPeriodsFormat],rn[r.wAp.DayPeriodsStandalone]],Dt);return Ln(ii,Xe)}function en(se,Dt,Xe){const rn=(0,r.cg1)(se),ii=Ln([rn[r.wAp.DaysFormat],rn[r.wAp.DaysStandalone]],Dt);return Ln(ii,Xe)}function nn(se,Dt,Xe){const rn=(0,r.cg1)(se),ii=Ln([rn[r.wAp.MonthsFormat],rn[r.wAp.MonthsStandalone]],Dt);return Ln(ii,Xe)}function Xt(se,Dt){return Ln((0,r.cg1)(se)[r.wAp.DateFormat],Dt)}function un(se,Dt){return Ln((0,r.cg1)(se)[r.wAp.TimeFormat],Dt)}function _n(se,Dt){return Ln((0,r.cg1)(se)[r.wAp.DateTimeFormat],Dt)}function kn(se,Dt){const Xe=(0,r.cg1)(se),rn=Xe[r.wAp.NumberSymbols][Dt];if(typeof rn>"u"){if(Dt===bt.CurrencyDecimal)return Xe[r.wAp.NumberSymbols][bt.Decimal];if(Dt===bt.CurrencyGroup)return Xe[r.wAp.NumberSymbols][bt.Group]}return rn}function ri(se,Dt){return(0,r.cg1)(se)[r.wAp.NumberFormats][Dt]}const Ri=r.kL8;function Tr(se){if(!se[r.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${se[r.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ln(se,Dt){for(let Xe=Dt;Xe>-1;Xe--)if(typeof se[Xe]<"u")return se[Xe];throw new Error("Locale data API: locale data undefined")}function rr(se){const[Dt,Xe]=se.split(":");return{hours:+Dt,minutes:+Xe}}const Vo=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Xr={},Ni=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ji=(()=>((ji=ji||{})[ji.Short=0]="Short",ji[ji.ShortGMT=1]="ShortGMT",ji[ji.Long=2]="Long",ji[ji.Extended=3]="Extended",ji))(),jr=(()=>((jr=jr||{})[jr.FullYear=0]="FullYear",jr[jr.Month=1]="Month",jr[jr.Date=2]="Date",jr[jr.Hours=3]="Hours",jr[jr.Minutes=4]="Minutes",jr[jr.Seconds=5]="Seconds",jr[jr.FractionalSeconds=6]="FractionalSeconds",jr[jr.Day=7]="Day",jr))(),Pr=(()=>((Pr=Pr||{})[Pr.DayPeriods=0]="DayPeriods",Pr[Pr.Days=1]="Days",Pr[Pr.Months=2]="Months",Pr[Pr.Eras=3]="Eras",Pr))();function Bo(se,Dt,Xe,rn){let zn=function Qn(se){if(Wn(se))return se;if("number"==typeof se&&!isNaN(se))return new Date(se);if("string"==typeof se){if(se=se.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(se)){const[zn,ii=1,Ai=1]=se.split("-").map(qo=>+qo);return cs(zn,ii-1,Ai)}const Xe=parseFloat(se);if(!isNaN(se-Xe))return new Date(Xe);let rn;if(rn=se.match(Vo))return function dr(se){const Dt=new Date(0);let Xe=0,rn=0;const zn=se[8]?Dt.setUTCFullYear:Dt.setFullYear,ii=se[8]?Dt.setUTCHours:Dt.setHours;se[9]&&(Xe=Number(se[9]+se[10]),rn=Number(se[9]+se[11])),zn.call(Dt,Number(se[1]),Number(se[2])-1,Number(se[3]));const Ai=Number(se[4]||0)-Xe,qo=Number(se[5]||0)-rn,as=Number(se[6]||0),oa=Math.floor(1e3*parseFloat("0."+(se[7]||0)));return ii.call(Dt,Ai,qo,as,oa),Dt}(rn)}const Dt=new Date(se);if(!Wn(Dt))throw new Error(`Unable to convert "${se}" into a date`);return Dt}(se);Dt=ts(Xe,Dt)||Dt;let qo,Ai=[];for(;Dt;){if(qo=Ni.exec(Dt),!qo){Ai.push(Dt);break}{Ai=Ai.concat(qo.slice(1));const ks=Ai.pop();if(!ks)break;Dt=ks}}let as=zn.getTimezoneOffset();rn&&(as=yr(rn,as),zn=function nr(se,Dt,Xe){const rn=Xe?-1:1,zn=se.getTimezoneOffset();return function Nr(se,Dt){return(se=new Date(se.getTime())).setMinutes(se.getMinutes()+Dt),se}(se,rn*(yr(Dt,zn)-zn))}(zn,rn,!0));let oa="";return Ai.forEach(ks=>{const Ds=function An(se){if(vr[se])return vr[se];let Dt;switch(se){case"G":case"GG":case"GGG":Dt=ke(Pr.Eras,Et.Abbreviated);break;case"GGGG":Dt=ke(Pr.Eras,Et.Wide);break;case"GGGGG":Dt=ke(Pr.Eras,Et.Narrow);break;case"y":Dt=Nn(jr.FullYear,1,0,!1,!0);break;case"yy":Dt=Nn(jr.FullYear,2,0,!0,!0);break;case"yyy":Dt=Nn(jr.FullYear,3,0,!1,!0);break;case"yyyy":Dt=Nn(jr.FullYear,4,0,!1,!0);break;case"Y":Dt=tr(1);break;case"YY":Dt=tr(2,!0);break;case"YYY":Dt=tr(3);break;case"YYYY":Dt=tr(4);break;case"M":case"L":Dt=Nn(jr.Month,1,1);break;case"MM":case"LL":Dt=Nn(jr.Month,2,1);break;case"MMM":Dt=ke(Pr.Months,Et.Abbreviated);break;case"MMMM":Dt=ke(Pr.Months,Et.Wide);break;case"MMMMM":Dt=ke(Pr.Months,Et.Narrow);break;case"LLL":Dt=ke(Pr.Months,Et.Abbreviated,tt.Standalone);break;case"LLLL":Dt=ke(Pr.Months,Et.Wide,tt.Standalone);break;case"LLLLL":Dt=ke(Pr.Months,Et.Narrow,tt.Standalone);break;case"w":Dt=qt(1);break;case"ww":Dt=qt(2);break;case"W":Dt=qt(1,!0);break;case"d":Dt=Nn(jr.Date,1);break;case"dd":Dt=Nn(jr.Date,2);break;case"c":case"cc":Dt=Nn(jr.Day,1);break;case"ccc":Dt=ke(Pr.Days,Et.Abbreviated,tt.Standalone);break;case"cccc":Dt=ke(Pr.Days,Et.Wide,tt.Standalone);break;case"ccccc":Dt=ke(Pr.Days,Et.Narrow,tt.Standalone);break;case"cccccc":Dt=ke(Pr.Days,Et.Short,tt.Standalone);break;case"E":case"EE":case"EEE":Dt=ke(Pr.Days,Et.Abbreviated);break;case"EEEE":Dt=ke(Pr.Days,Et.Wide);break;case"EEEEE":Dt=ke(Pr.Days,Et.Narrow);break;case"EEEEEE":Dt=ke(Pr.Days,Et.Short);break;case"a":case"aa":case"aaa":Dt=ke(Pr.DayPeriods,Et.Abbreviated);break;case"aaaa":Dt=ke(Pr.DayPeriods,Et.Wide);break;case"aaaaa":Dt=ke(Pr.DayPeriods,Et.Narrow);break;case"b":case"bb":case"bbb":Dt=ke(Pr.DayPeriods,Et.Abbreviated,tt.Standalone,!0);break;case"bbbb":Dt=ke(Pr.DayPeriods,Et.Wide,tt.Standalone,!0);break;case"bbbbb":Dt=ke(Pr.DayPeriods,Et.Narrow,tt.Standalone,!0);break;case"B":case"BB":case"BBB":Dt=ke(Pr.DayPeriods,Et.Abbreviated,tt.Format,!0);break;case"BBBB":Dt=ke(Pr.DayPeriods,Et.Wide,tt.Format,!0);break;case"BBBBB":Dt=ke(Pr.DayPeriods,Et.Narrow,tt.Format,!0);break;case"h":Dt=Nn(jr.Hours,1,-12);break;case"hh":Dt=Nn(jr.Hours,2,-12);break;case"H":Dt=Nn(jr.Hours,1);break;case"HH":Dt=Nn(jr.Hours,2);break;case"m":Dt=Nn(jr.Minutes,1);break;case"mm":Dt=Nn(jr.Minutes,2);break;case"s":Dt=Nn(jr.Seconds,1);break;case"ss":Dt=Nn(jr.Seconds,2);break;case"S":Dt=Nn(jr.FractionalSeconds,1);break;case"SS":Dt=Nn(jr.FractionalSeconds,2);break;case"SSS":Dt=Nn(jr.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Dt=Qe(ji.Short);break;case"ZZZZZ":Dt=Qe(ji.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Dt=Qe(ji.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Dt=Qe(ji.Long);break;default:return null}return vr[se]=Dt,Dt}(ks);oa+=Ds?Ds(zn,Xe,as):"''"===ks?"'":ks.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),oa}function cs(se,Dt,Xe){const rn=new Date(0);return rn.setFullYear(se,Dt,Xe),rn.setHours(0,0,0),rn}function ts(se,Dt){const Xe=function Qt(se){return(0,r.cg1)(se)[r.wAp.LocaleId]}(se);if(Xr[Xe]=Xr[Xe]||{},Xr[Xe][Dt])return Xr[Xe][Dt];let rn="";switch(Dt){case"shortDate":rn=Xt(se,ze.Short);break;case"mediumDate":rn=Xt(se,ze.Medium);break;case"longDate":rn=Xt(se,ze.Long);break;case"fullDate":rn=Xt(se,ze.Full);break;case"shortTime":rn=un(se,ze.Short);break;case"mediumTime":rn=un(se,ze.Medium);break;case"longTime":rn=un(se,ze.Long);break;case"fullTime":rn=un(se,ze.Full);break;case"short":const zn=ts(se,"shortTime"),ii=ts(se,"shortDate");rn=io(_n(se,ze.Short),[zn,ii]);break;case"medium":const Ai=ts(se,"mediumTime"),qo=ts(se,"mediumDate");rn=io(_n(se,ze.Medium),[Ai,qo]);break;case"long":const as=ts(se,"longTime"),oa=ts(se,"longDate");rn=io(_n(se,ze.Long),[as,oa]);break;case"full":const ks=ts(se,"fullTime"),Ds=ts(se,"fullDate");rn=io(_n(se,ze.Full),[ks,Ds])}return rn&&(Xr[Xe][Dt]=rn),rn}function io(se,Dt){return Dt&&(se=se.replace(/\{([^}]+)}/g,function(Xe,rn){return null!=Dt&&rn in Dt?Dt[rn]:Xe})),se}function Vi(se,Dt,Xe="-",rn,zn){let ii="";(se<0||zn&&se<=0)&&(zn?se=1-se:(se=-se,ii=Xe));let Ai=String(se);for(;Ai.length<Dt;)Ai="0"+Ai;return rn&&(Ai=Ai.slice(Ai.length-Dt)),ii+Ai}function Nn(se,Dt,Xe=0,rn=!1,zn=!1){return function(ii,Ai){let qo=function Ut(se,Dt){switch(se){case jr.FullYear:return Dt.getFullYear();case jr.Month:return Dt.getMonth();case jr.Date:return Dt.getDate();case jr.Hours:return Dt.getHours();case jr.Minutes:return Dt.getMinutes();case jr.Seconds:return Dt.getSeconds();case jr.FractionalSeconds:return Dt.getMilliseconds();case jr.Day:return Dt.getDay();default:throw new Error(`Unknown DateType value "${se}".`)}}(se,ii);if((Xe>0||qo>-Xe)&&(qo+=Xe),se===jr.Hours)0===qo&&-12===Xe&&(qo=12);else if(se===jr.FractionalSeconds)return function Pn(se,Dt){return Vi(se,3).substring(0,Dt)}(qo,Dt);const as=kn(Ai,bt.MinusSign);return Vi(qo,Dt,as,rn,zn)}}function ke(se,Dt,Xe=tt.Format,rn=!1){return function(zn,ii){return function Ie(se,Dt,Xe,rn,zn,ii){switch(Xe){case Pr.Months:return nn(Dt,zn,rn)[se.getMonth()];case Pr.Days:return en(Dt,zn,rn)[se.getDay()];case Pr.DayPeriods:const Ai=se.getHours(),qo=se.getMinutes();if(ii){const oa=function ft(se){const Dt=(0,r.cg1)(se);return Tr(Dt),(Dt[r.wAp.ExtraData][2]||[]).map(rn=>"string"==typeof rn?rr(rn):[rr(rn[0]),rr(rn[1])])}(Dt),ks=function sn(se,Dt,Xe){const rn=(0,r.cg1)(se);Tr(rn);const ii=Ln([rn[r.wAp.ExtraData][0],rn[r.wAp.ExtraData][1]],Dt)||[];return Ln(ii,Xe)||[]}(Dt,zn,rn),Ds=oa.findIndex(Bl=>{if(Array.isArray(Bl)){const[ja,Ea]=Bl,ac=Ai>=ja.hours&&qo>=ja.minutes,Bc=Ai<Ea.hours||Ai===Ea.hours&&qo<Ea.minutes;if(ja.hours<Ea.hours){if(ac&&Bc)return!0}else if(ac||Bc)return!0}else if(Bl.hours===Ai&&Bl.minutes===qo)return!0;return!1});if(-1!==Ds)return ks[Ds]}return ht(Dt,zn,rn)[Ai<12?0:1];case Pr.Eras:return function bn(se,Dt){return Ln((0,r.cg1)(se)[r.wAp.Eras],Dt)}(Dt,rn)[se.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${Xe}`)}}(zn,ii,se,Dt,Xe,rn)}}function Qe(se){return function(Dt,Xe,rn){const zn=-1*rn,ii=kn(Xe,bt.MinusSign),Ai=zn>0?Math.floor(zn/60):Math.ceil(zn/60);switch(se){case ji.Short:return(zn>=0?"+":"")+Vi(Ai,2,ii)+Vi(Math.abs(zn%60),2,ii);case ji.ShortGMT:return"GMT"+(zn>=0?"+":"")+Vi(Ai,1,ii);case ji.Long:return"GMT"+(zn>=0?"+":"")+Vi(Ai,2,ii)+":"+Vi(Math.abs(zn%60),2,ii);case ji.Extended:return 0===rn?"Z":(zn>=0?"+":"")+Vi(Ai,2,ii)+":"+Vi(Math.abs(zn%60),2,ii);default:throw new Error(`Unknown zone width "${se}"`)}}}const Ve=0,tn=4;function xt(se){return cs(se.getFullYear(),se.getMonth(),se.getDate()+(tn-se.getDay()))}function qt(se,Dt=!1){return function(Xe,rn){let zn;if(Dt){const ii=new Date(Xe.getFullYear(),Xe.getMonth(),1).getDay()-1,Ai=Xe.getDate();zn=1+Math.floor((Ai+ii)/7)}else{const ii=xt(Xe),Ai=function ot(se){const Dt=cs(se,Ve,1).getDay();return cs(se,0,1+(Dt<=tn?tn:tn+7)-Dt)}(ii.getFullYear()),qo=ii.getTime()-Ai.getTime();zn=1+Math.round(qo/6048e5)}return Vi(zn,se,kn(rn,bt.MinusSign))}}function tr(se,Dt=!1){return function(Xe,rn){return Vi(xt(Xe).getFullYear(),se,kn(rn,bt.MinusSign),Dt)}}const vr={};function yr(se,Dt){se=se.replace(/:/g,"");const Xe=Date.parse("Jan 01, 1970 00:00:00 "+se)/6e4;return isNaN(Xe)?Dt:Xe}function Wn(se){return se instanceof Date&&!isNaN(se.valueOf())}const Wt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,kt=22,st=".",zt="0",er=";",Kr=",",mi="#";function os(se,Dt,Xe,rn,zn,ii,Ai=!1){let qo="",as=!1;if(isFinite(se)){let oa=function Gi(se){let rn,zn,ii,Ai,qo,Dt=Math.abs(se)+"",Xe=0;for((zn=Dt.indexOf(st))>-1&&(Dt=Dt.replace(st,"")),(ii=Dt.search(/e/i))>0?(zn<0&&(zn=ii),zn+=+Dt.slice(ii+1),Dt=Dt.substring(0,ii)):zn<0&&(zn=Dt.length),ii=0;Dt.charAt(ii)===zt;ii++);if(ii===(qo=Dt.length))rn=[0],zn=1;else{for(qo--;Dt.charAt(qo)===zt;)qo--;for(zn-=ii,rn=[],Ai=0;ii<=qo;ii++,Ai++)rn[Ai]=Number(Dt.charAt(ii))}return zn>kt&&(rn=rn.splice(0,kt-1),Xe=zn-1,zn=1),{digits:rn,exponent:Xe,integerLen:zn}}(se);Ai&&(oa=function wi(se){if(0===se.digits[0])return se;const Dt=se.digits.length-se.integerLen;return se.exponent?se.exponent+=2:(0===Dt?se.digits.push(0,0):1===Dt&&se.digits.push(0),se.integerLen+=2),se}(oa));let ks=Dt.minInt,Ds=Dt.minFrac,Bl=Dt.maxFrac;if(ii){const de=ii.match(Wt);if(null===de)throw new Error(`${ii} is not a valid digit info`);const Fe=de[1],je=de[3],lt=de[5];null!=Fe&&(ks=Mo(Fe)),null!=je&&(Ds=Mo(je)),null!=lt?Bl=Mo(lt):null!=je&&Ds>Bl&&(Bl=Ds)}!function Wi(se,Dt,Xe){if(Dt>Xe)throw new Error(`The minimum number of digits after fraction (${Dt}) is higher than the maximum (${Xe}).`);let rn=se.digits,zn=rn.length-se.integerLen;const ii=Math.min(Math.max(Dt,zn),Xe);let Ai=ii+se.integerLen,qo=rn[Ai];if(Ai>0){rn.splice(Math.max(se.integerLen,Ai));for(let Ds=Ai;Ds<rn.length;Ds++)rn[Ds]=0}else{zn=Math.max(0,zn),se.integerLen=1,rn.length=Math.max(1,Ai=ii+1),rn[0]=0;for(let Ds=1;Ds<Ai;Ds++)rn[Ds]=0}if(qo>=5)if(Ai-1<0){for(let Ds=0;Ds>Ai;Ds--)rn.unshift(0),se.integerLen++;rn.unshift(1),se.integerLen++}else rn[Ai-1]++;for(;zn<Math.max(0,ii);zn++)rn.push(0);let as=0!==ii;const oa=Dt+se.integerLen,ks=rn.reduceRight(function(Ds,Bl,ja,Ea){return Ea[ja]=(Bl+=Ds)<10?Bl:Bl-10,as&&(0===Ea[ja]&&ja>=oa?Ea.pop():as=!1),Bl>=10?1:0},0);ks&&(rn.unshift(ks),se.integerLen++)}(oa,Ds,Bl);let ja=oa.digits,Ea=oa.integerLen;const ac=oa.exponent;let Bc=[];for(as=ja.every(de=>!de);Ea<ks;Ea++)ja.unshift(0);for(;Ea<0;Ea++)ja.unshift(0);Ea>0?Bc=ja.splice(Ea,ja.length):(Bc=ja,ja=[0]);const _e=[];for(ja.length>=Dt.lgSize&&_e.unshift(ja.splice(-Dt.lgSize,ja.length).join(""));ja.length>Dt.gSize;)_e.unshift(ja.splice(-Dt.gSize,ja.length).join(""));ja.length&&_e.unshift(ja.join("")),qo=_e.join(kn(Xe,rn)),Bc.length&&(qo+=kn(Xe,zn)+Bc.join("")),ac&&(qo+=kn(Xe,bt.Exponential)+"+"+ac)}else qo=kn(Xe,bt.Infinity);return qo=se<0&&!as?Dt.negPre+qo+Dt.negSuf:Dt.posPre+qo+Dt.posSuf,qo}function Vr(se,Dt="-"){const Xe={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},rn=se.split(er),zn=rn[0],ii=rn[1],Ai=-1!==zn.indexOf(st)?zn.split(st):[zn.substring(0,zn.lastIndexOf(zt)+1),zn.substring(zn.lastIndexOf(zt)+1)],qo=Ai[0],as=Ai[1]||"";Xe.posPre=qo.substring(0,qo.indexOf(mi));for(let ks=0;ks<as.length;ks++){const Ds=as.charAt(ks);Ds===zt?Xe.minFrac=Xe.maxFrac=ks+1:Ds===mi?Xe.maxFrac=ks+1:Xe.posSuf+=Ds}const oa=qo.split(Kr);if(Xe.gSize=oa[1]?oa[1].length:0,Xe.lgSize=oa[2]||oa[1]?(oa[2]||oa[1]).length:0,ii){const ks=zn.length-Xe.posPre.length-Xe.posSuf.length,Ds=ii.indexOf(mi);Xe.negPre=ii.substring(0,Ds).replace(/'/g,""),Xe.negSuf=ii.slice(Ds+ks).replace(/'/g,"")}else Xe.negPre=Dt+Xe.posPre,Xe.negSuf=Xe.posSuf;return Xe}function Mo(se){const Dt=parseInt(se);if(isNaN(Dt))throw new Error("Invalid integer literal when parsing "+se);return Dt}let As=(()=>{class se{}return se.\u0275fac=function(Xe){return new(Xe||se)},se.\u0275prov=r.Yz7({token:se,factory:function(Xe){let rn=null;return Xe?rn=new Xe:(zn=r.LFG(r.soG),rn=new qr(zn)),rn;var zn},providedIn:"root"}),se})();function Ls(se,Dt,Xe,rn){let zn=`=${se}`;if(Dt.indexOf(zn)>-1||(zn=Xe.getPluralCategory(se,rn),Dt.indexOf(zn)>-1))return zn;if(Dt.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${se}"`)}let qr=(()=>{class se extends As{constructor(Xe){super(),this.locale=Xe}getPluralCategory(Xe,rn){switch(Ri(rn||this.locale)(Xe)){case et.Zero:return"zero";case et.One:return"one";case et.Two:return"two";case et.Few:return"few";case et.Many:return"many";default:return"other"}}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.LFG(r.soG))},se.\u0275prov=r.Yz7({token:se,factory:se.\u0275fac}),se})();function Cn(se,Dt){Dt=encodeURIComponent(Dt);for(const Xe of se.split(";")){const rn=Xe.indexOf("="),[zn,ii]=-1==rn?[Xe,""]:[Xe.slice(0,rn),Xe.slice(rn+1)];if(zn.trim()===Dt)return decodeURIComponent(ii)}return null}const mn=/\s+/,kr=[];let Qi=(()=>{class se{constructor(Xe,rn,zn,ii){this._iterableDiffers=Xe,this._keyValueDiffers=rn,this._ngEl=zn,this._renderer=ii,this.initialClasses=kr,this.stateMap=new Map}set klass(Xe){this.initialClasses=null!=Xe?Xe.trim().split(mn):kr}set ngClass(Xe){this.rawClass="string"==typeof Xe?Xe.trim().split(mn):Xe}ngDoCheck(){for(const rn of this.initialClasses)this._updateState(rn,!0);const Xe=this.rawClass;if(Array.isArray(Xe)||Xe instanceof Set)for(const rn of Xe)this._updateState(rn,!0);else if(null!=Xe)for(const rn of Object.keys(Xe))this._updateState(rn,Boolean(Xe[rn]));this._applyStateDiff()}_updateState(Xe,rn){const zn=this.stateMap.get(Xe);void 0!==zn?(zn.enabled!==rn&&(zn.changed=!0,zn.enabled=rn),zn.touched=!0):this.stateMap.set(Xe,{enabled:rn,changed:!0,touched:!0})}_applyStateDiff(){for(const Xe of this.stateMap){const rn=Xe[0],zn=Xe[1];zn.changed?(this._toggleClass(rn,zn.enabled),zn.changed=!1):zn.touched||(zn.enabled&&this._toggleClass(rn,!1),this.stateMap.delete(rn)),zn.touched=!1}}_toggleClass(Xe,rn){(Xe=Xe.trim()).length>0&&Xe.split(mn).forEach(zn=>{rn?this._renderer.addClass(this._ngEl.nativeElement,zn):this._renderer.removeClass(this._ngEl.nativeElement,zn)})}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.Y36(r.ZZ4),r.Y36(r.aQg),r.Y36(r.SBq),r.Y36(r.Qsj))},se.\u0275dir=r.lG2({type:se,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),se})();class ko{constructor(Dt,Xe,rn,zn){this.$implicit=Dt,this.ngForOf=Xe,this.index=rn,this.count=zn}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let $s=(()=>{class se{set ngForOf(Xe){this._ngForOf=Xe,this._ngForOfDirty=!0}set ngForTrackBy(Xe){this._trackByFn=Xe}get ngForTrackBy(){return this._trackByFn}constructor(Xe,rn,zn){this._viewContainer=Xe,this._template=rn,this._differs=zn,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Xe){Xe&&(this._template=Xe)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Xe=this._ngForOf;!this._differ&&Xe&&(this._differ=this._differs.find(Xe).create(this.ngForTrackBy))}if(this._differ){const Xe=this._differ.diff(this._ngForOf);Xe&&this._applyChanges(Xe)}}_applyChanges(Xe){const rn=this._viewContainer;Xe.forEachOperation((zn,ii,Ai)=>{if(null==zn.previousIndex)rn.createEmbeddedView(this._template,new ko(zn.item,this._ngForOf,-1,-1),null===Ai?void 0:Ai);else if(null==Ai)rn.remove(null===ii?void 0:ii);else if(null!==ii){const qo=rn.get(ii);rn.move(qo,Ai),ps(qo,zn)}});for(let zn=0,ii=rn.length;zn<ii;zn++){const qo=rn.get(zn).context;qo.index=zn,qo.count=ii,qo.ngForOf=this._ngForOf}Xe.forEachIdentityChange(zn=>{ps(rn.get(zn.currentIndex),zn)})}static ngTemplateContextGuard(Xe,rn){return!0}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4))},se.\u0275dir=r.lG2({type:se,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),se})();function ps(se,Dt){se.context.$implicit=Dt.item}let ra=(()=>{class se{constructor(Xe,rn){this._viewContainer=Xe,this._context=new Do,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=rn}set ngIf(Xe){this._context.$implicit=this._context.ngIf=Xe,this._updateView()}set ngIfThen(Xe){oc("ngIfThen",Xe),this._thenTemplateRef=Xe,this._thenViewRef=null,this._updateView()}set ngIfElse(Xe){oc("ngIfElse",Xe),this._elseTemplateRef=Xe,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Xe,rn){return!0}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.Y36(r.s_b),r.Y36(r.Rgc))},se.\u0275dir=r.lG2({type:se,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),se})();class Do{constructor(){this.$implicit=null,this.ngIf=null}}function oc(se,Dt){if(Dt&&!Dt.createEmbeddedView)throw new Error(`${se} must be a TemplateRef, but received '${(0,r.AaK)(Dt)}'.`)}class Ql{constructor(Dt,Xe){this._viewContainerRef=Dt,this._templateRef=Xe,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Dt){Dt&&!this._created?this.create():!Dt&&this._created&&this.destroy()}}let tl=(()=>{class se{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Xe){this._ngSwitch=Xe,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Xe){this._defaultViews.push(Xe)}_matchCase(Xe){const rn=Xe==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||rn,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),rn}_updateDefaultCases(Xe){if(this._defaultViews.length>0&&Xe!==this._defaultUsed){this._defaultUsed=Xe;for(const rn of this._defaultViews)rn.enforceState(Xe)}}}return se.\u0275fac=function(Xe){return new(Xe||se)},se.\u0275dir=r.lG2({type:se,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),se})(),Da=(()=>{class se{constructor(Xe,rn,zn){this.ngSwitch=zn,zn._addCase(),this._view=new Ql(Xe,rn)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(tl,9))},se.\u0275dir=r.lG2({type:se,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),se})(),Ga=(()=>{class se{constructor(Xe,rn,zn){zn._addDefault(new Ql(Xe,rn))}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(tl,9))},se.\u0275dir=r.lG2({type:se,selectors:[["","ngSwitchDefault",""]],standalone:!0}),se})(),Eo=(()=>{class se{constructor(Xe){this._localization=Xe,this._caseViews={}}set ngPlural(Xe){this._updateView(Xe)}addCase(Xe,rn){this._caseViews[Xe]=rn}_updateView(Xe){this._clearViews();const zn=Ls(Xe,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[zn])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(Xe){Xe&&(this._activeView=Xe,this._activeView.create())}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.Y36(As))},se.\u0275dir=r.lG2({type:se,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0}),se})(),Ra=(()=>{class se{constructor(Xe,rn,zn,ii){this.value=Xe;const Ai=!isNaN(Number(Xe));ii.addCase(Ai?`=${Xe}`:Xe,new Ql(zn,rn))}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.$8M("ngPluralCase"),r.Y36(r.Rgc),r.Y36(r.s_b),r.Y36(Eo,1))},se.\u0275dir=r.lG2({type:se,selectors:[["","ngPluralCase",""]],standalone:!0}),se})(),Fo=(()=>{class se{constructor(Xe,rn,zn){this._ngEl=Xe,this._differs=rn,this._renderer=zn,this._ngStyle=null,this._differ=null}set ngStyle(Xe){this._ngStyle=Xe,!this._differ&&Xe&&(this._differ=this._differs.find(Xe).create())}ngDoCheck(){if(this._differ){const Xe=this._differ.diff(this._ngStyle);Xe&&this._applyChanges(Xe)}}_setStyle(Xe,rn){const[zn,ii]=Xe.split("."),Ai=-1===zn.indexOf("-")?void 0:r.JOm.DashCase;null!=rn?this._renderer.setStyle(this._ngEl.nativeElement,zn,ii?`${rn}${ii}`:rn,Ai):this._renderer.removeStyle(this._ngEl.nativeElement,zn,Ai)}_applyChanges(Xe){Xe.forEachRemovedItem(rn=>this._setStyle(rn.key,null)),Xe.forEachAddedItem(rn=>this._setStyle(rn.key,rn.currentValue)),Xe.forEachChangedItem(rn=>this._setStyle(rn.key,rn.currentValue))}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.Y36(r.SBq),r.Y36(r.aQg),r.Y36(r.Qsj))},se.\u0275dir=r.lG2({type:se,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),se})(),Cs=(()=>{class se{constructor(Xe){this._viewContainerRef=Xe,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Xe){if(Xe.ngTemplateOutlet||Xe.ngTemplateOutletInjector){const rn=this._viewContainerRef;if(this._viewRef&&rn.remove(rn.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:zn,ngTemplateOutletContext:ii,ngTemplateOutletInjector:Ai}=this;this._viewRef=rn.createEmbeddedView(zn,ii,Ai?{injector:Ai}:void 0)}else this._viewRef=null}else this._viewRef&&Xe.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.Y36(r.s_b))},se.\u0275dir=r.lG2({type:se,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[r.TTD]}),se})();function nl(se,Dt){return new r.vHH(2100,!1)}class ml{createSubscription(Dt,Xe){return Dt.subscribe({next:Xe,error:rn=>{throw rn}})}dispose(Dt){Dt.unsubscribe()}}class ma{createSubscription(Dt,Xe){return Dt.then(Xe,rn=>{throw rn})}dispose(Dt){}}const Qo=new ma,Go=new ml;let ys=(()=>{class se{constructor(Xe){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Xe}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Xe){return this._obj?Xe!==this._obj?(this._dispose(),this.transform(Xe)):this._latestValue:(Xe&&this._subscribe(Xe),this._latestValue)}_subscribe(Xe){this._obj=Xe,this._strategy=this._selectStrategy(Xe),this._subscription=this._strategy.createSubscription(Xe,rn=>this._updateLatestValue(Xe,rn))}_selectStrategy(Xe){if((0,r.QGY)(Xe))return Qo;if((0,r.F4k)(Xe))return Go;throw nl()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Xe,rn){Xe===this._obj&&(this._latestValue=rn,this._ref.markForCheck())}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.Y36(r.sBO,16))},se.\u0275pipe=r.Yjl({name:"async",type:se,pure:!1,standalone:!0}),se})(),rs=(()=>{class se{transform(Xe){if(null==Xe)return null;if("string"!=typeof Xe)throw nl();return Xe.toLowerCase()}}return se.\u0275fac=function(Xe){return new(Xe||se)},se.\u0275pipe=r.Yjl({name:"lowercase",type:se,pure:!0,standalone:!0}),se})();const Lo=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Br=(()=>{class se{transform(Xe){if(null==Xe)return null;if("string"!=typeof Xe)throw nl();return Xe.replace(Lo,rn=>rn[0].toUpperCase()+rn.slice(1).toLowerCase())}}return se.\u0275fac=function(Xe){return new(Xe||se)},se.\u0275pipe=r.Yjl({name:"titlecase",type:se,pure:!0,standalone:!0}),se})(),qi=(()=>{class se{transform(Xe){if(null==Xe)return null;if("string"!=typeof Xe)throw nl();return Xe.toUpperCase()}}return se.\u0275fac=function(Xe){return new(Xe||se)},se.\u0275pipe=r.Yjl({name:"uppercase",type:se,pure:!0,standalone:!0}),se})();const On=new r.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),ae=new r.OlP("DATE_PIPE_DEFAULT_OPTIONS");let We=(()=>{class se{constructor(Xe,rn,zn){this.locale=Xe,this.defaultTimezone=rn,this.defaultOptions=zn}transform(Xe,rn,zn,ii){if(null==Xe||""===Xe||Xe!=Xe)return null;try{return Bo(Xe,rn??this.defaultOptions?.dateFormat??"mediumDate",ii||this.locale,zn??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ai){throw nl()}}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.Y36(r.soG,16),r.Y36(On,24),r.Y36(ae,24))},se.\u0275pipe=r.Yjl({name:"date",type:se,pure:!0,standalone:!0}),se})();const on=/#/g;let yn=(()=>{class se{constructor(Xe){this._localization=Xe}transform(Xe,rn,zn){if(null==Xe)return"";if("object"!=typeof rn||null===rn)throw nl();return rn[Ls(Xe,Object.keys(rn),this._localization,zn)].replace(on,Xe.toString())}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.Y36(As,16))},se.\u0275pipe=r.Yjl({name:"i18nPlural",type:se,pure:!0,standalone:!0}),se})(),Ui=(()=>{class se{transform(Xe){return JSON.stringify(Xe,null,2)}}return se.\u0275fac=function(Xe){return new(Xe||se)},se.\u0275pipe=r.Yjl({name:"json",type:se,pure:!1,standalone:!0}),se})(),js=(()=>{class se{constructor(Xe){this.differs=Xe,this.keyValues=[],this.compareFn=hs}transform(Xe,rn=hs){if(!Xe||!(Xe instanceof Map)&&"object"!=typeof Xe)return null;this.differ||(this.differ=this.differs.find(Xe).create());const zn=this.differ.diff(Xe),ii=rn!==this.compareFn;return zn&&(this.keyValues=[],zn.forEachItem(Ai=>{this.keyValues.push(function eo(se,Dt){return{key:se,value:Dt}}(Ai.key,Ai.currentValue))})),(zn||ii)&&(this.keyValues.sort(rn),this.compareFn=rn),this.keyValues}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.Y36(r.aQg,16))},se.\u0275pipe=r.Yjl({name:"keyvalue",type:se,pure:!1,standalone:!0}),se})();function hs(se,Dt){const Xe=se.key,rn=Dt.key;if(Xe===rn)return 0;if(void 0===Xe)return 1;if(void 0===rn)return-1;if(null===Xe)return 1;if(null===rn)return-1;if("string"==typeof Xe&&"string"==typeof rn)return Xe<rn?-1:1;if("number"==typeof Xe&&"number"==typeof rn)return Xe-rn;if("boolean"==typeof Xe&&"boolean"==typeof rn)return Xe<rn?-1:1;const zn=String(Xe),ii=String(rn);return zn==ii?0:zn<ii?-1:1}let ia=(()=>{class se{constructor(Xe){this._locale=Xe}transform(Xe,rn,zn){if(!Fl(Xe))return null;zn=zn||this._locale;try{return function ni(se,Dt,Xe){return os(se,Vr(ri(Dt,yt.Decimal),kn(Dt,bt.MinusSign)),Dt,bt.Group,bt.Decimal,Xe)}(zc(Xe),zn,rn)}catch(ii){throw nl()}}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.Y36(r.soG,16))},se.\u0275pipe=r.Yjl({name:"number",type:se,pure:!0,standalone:!0}),se})(),ta=(()=>{class se{constructor(Xe){this._locale=Xe}transform(Xe,rn,zn){if(!Fl(Xe))return null;zn=zn||this._locale;try{return function Ii(se,Dt,Xe){return os(se,Vr(ri(Dt,yt.Percent),kn(Dt,bt.MinusSign)),Dt,bt.Group,bt.Decimal,Xe,!0).replace(new RegExp("%","g"),kn(Dt,bt.PercentSign))}(zc(Xe),zn,rn)}catch(ii){throw nl()}}}return se.\u0275fac=function(Xe){return new(Xe||se)(r.Y36(r.soG,16))},se.\u0275pipe=r.Yjl({name:"percent",type:se,pure:!0,standalone:!0}),se})();function Fl(se){return!(null==se||""===se||se!=se)}function zc(se){if("string"==typeof se&&!isNaN(Number(se)-parseFloat(se)))return Number(se);if("number"!=typeof se)throw new Error(`${se} is not a number`);return se}let bl=(()=>{class se{}return se.\u0275fac=function(Xe){return new(Xe||se)},se.\u0275mod=r.oAB({type:se}),se.\u0275inj=r.cJS({}),se})();const Ou="browser";function Ec(se){return se===Ou}let cu=(()=>{class se{}return se.\u0275prov=(0,r.Yz7)({token:se,providedIn:"root",factory:()=>new xs((0,r.LFG)(f),window)}),se})();class xs{constructor(Dt,Xe){this.document=Dt,this.window=Xe,this.offset=()=>[0,0]}setOffset(Dt){this.offset=Array.isArray(Dt)?()=>Dt:Dt}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Dt){this.supportsScrolling()&&this.window.scrollTo(Dt[0],Dt[1])}scrollToAnchor(Dt){if(!this.supportsScrolling())return;const Xe=function cc(se,Dt){const Xe=se.getElementById(Dt)||se.getElementsByName(Dt)[0];if(Xe)return Xe;if("function"==typeof se.createTreeWalker&&se.body&&(se.body.createShadowRoot||se.body.attachShadow)){const rn=se.createTreeWalker(se.body,NodeFilter.SHOW_ELEMENT);let zn=rn.currentNode;for(;zn;){const ii=zn.shadowRoot;if(ii){const Ai=ii.getElementById(Dt)||ii.querySelector(`[name="${Dt}"]`);if(Ai)return Ai}zn=rn.nextNode()}}return null}(this.document,Dt);Xe&&(this.scrollToElement(Xe),Xe.focus())}setHistoryScrollRestoration(Dt){if(this.supportScrollRestoration()){const Xe=this.window.history;Xe&&Xe.scrollRestoration&&(Xe.scrollRestoration=Dt)}}scrollToElement(Dt){const Xe=Dt.getBoundingClientRect(),rn=Xe.left+this.window.pageXOffset,zn=Xe.top+this.window.pageYOffset,ii=this.offset();this.window.scrollTo(rn-ii[0],zn-ii[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const Dt=Tc(this.window.history)||Tc(Object.getPrototypeOf(this.window.history));return!(!Dt||!Dt.writable&&!Dt.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Tc(se){return Object.getOwnPropertyDescriptor(se,"scrollRestoration")}class gl{}},35732:(y,b,o)=>{"use strict";o.d(b,{JF:()=>Qe,LE:()=>pe,TP:()=>bn,UA:()=>bt,eN:()=>Qt});var r=o(88692),a=o(64537),u=o(25917),c=o(70882),e=o(94612),f=o(45435),h=o(88002);class E{}class T{}class D{constructor(xt){this.normalizedNames=new Map,this.lazyUpdate=null,xt?this.lazyInit="string"==typeof xt?()=>{this.headers=new Map,xt.split("\n").forEach(qt=>{const tr=qt.indexOf(":");if(tr>0){const vr=qt.slice(0,tr),An=vr.toLowerCase(),yr=qt.slice(tr+1).trim();this.maybeSetNormalizedName(vr,An),this.headers.has(An)?this.headers.get(An).push(yr):this.headers.set(An,[yr])}})}:()=>{this.headers=new Map,Object.entries(xt).forEach(([qt,tr])=>{let vr;if(vr="string"==typeof tr?[tr]:"number"==typeof tr?[tr.toString()]:tr.map(An=>An.toString()),vr.length>0){const An=qt.toLowerCase();this.headers.set(An,vr),this.maybeSetNormalizedName(qt,An)}})}:this.headers=new Map}has(xt){return this.init(),this.headers.has(xt.toLowerCase())}get(xt){this.init();const qt=this.headers.get(xt.toLowerCase());return qt&&qt.length>0?qt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(xt){return this.init(),this.headers.get(xt.toLowerCase())||null}append(xt,qt){return this.clone({name:xt,value:qt,op:"a"})}set(xt,qt){return this.clone({name:xt,value:qt,op:"s"})}delete(xt,qt){return this.clone({name:xt,value:qt,op:"d"})}maybeSetNormalizedName(xt,qt){this.normalizedNames.has(qt)||this.normalizedNames.set(qt,xt)}init(){this.lazyInit&&(this.lazyInit instanceof D?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(xt=>this.applyUpdate(xt)),this.lazyUpdate=null))}copyFrom(xt){xt.init(),Array.from(xt.headers.keys()).forEach(qt=>{this.headers.set(qt,xt.headers.get(qt)),this.normalizedNames.set(qt,xt.normalizedNames.get(qt))})}clone(xt){const qt=new D;return qt.lazyInit=this.lazyInit&&this.lazyInit instanceof D?this.lazyInit:this,qt.lazyUpdate=(this.lazyUpdate||[]).concat([xt]),qt}applyUpdate(xt){const qt=xt.name.toLowerCase();switch(xt.op){case"a":case"s":let tr=xt.value;if("string"==typeof tr&&(tr=[tr]),0===tr.length)return;this.maybeSetNormalizedName(xt.name,qt);const vr=("a"===xt.op?this.headers.get(qt):void 0)||[];vr.push(...tr),this.headers.set(qt,vr);break;case"d":const An=xt.value;if(An){let yr=this.headers.get(qt);if(!yr)return;yr=yr.filter(Nr=>-1===An.indexOf(Nr)),0===yr.length?(this.headers.delete(qt),this.normalizedNames.delete(qt)):this.headers.set(qt,yr)}else this.headers.delete(qt),this.normalizedNames.delete(qt)}}forEach(xt){this.init(),Array.from(this.normalizedNames.keys()).forEach(qt=>xt(this.normalizedNames.get(qt),this.headers.get(qt)))}}class ${encodeKey(xt){return L(xt)}encodeValue(xt){return L(xt)}decodeKey(xt){return decodeURIComponent(xt)}decodeValue(xt){return decodeURIComponent(xt)}}const U=/%(\d[a-f0-9])/gi,q={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function L(ot){return encodeURIComponent(ot).replace(U,(xt,qt)=>q[qt]??xt)}function J(ot){return`${ot}`}class pe{constructor(xt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=xt.encoder||new $,xt.fromString){if(xt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Q(ot,xt){const qt=new Map;return ot.length>0&&ot.replace(/^\?/,"").split("&").forEach(vr=>{const An=vr.indexOf("="),[yr,Nr]=-1==An?[xt.decodeKey(vr),""]:[xt.decodeKey(vr.slice(0,An)),xt.decodeValue(vr.slice(An+1))],nr=qt.get(yr)||[];nr.push(Nr),qt.set(yr,nr)}),qt}(xt.fromString,this.encoder)}else xt.fromObject?(this.map=new Map,Object.keys(xt.fromObject).forEach(qt=>{const tr=xt.fromObject[qt],vr=Array.isArray(tr)?tr.map(J):[J(tr)];this.map.set(qt,vr)})):this.map=null}has(xt){return this.init(),this.map.has(xt)}get(xt){this.init();const qt=this.map.get(xt);return qt?qt[0]:null}getAll(xt){return this.init(),this.map.get(xt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(xt,qt){return this.clone({param:xt,value:qt,op:"a"})}appendAll(xt){const qt=[];return Object.keys(xt).forEach(tr=>{const vr=xt[tr];Array.isArray(vr)?vr.forEach(An=>{qt.push({param:tr,value:An,op:"a"})}):qt.push({param:tr,value:vr,op:"a"})}),this.clone(qt)}set(xt,qt){return this.clone({param:xt,value:qt,op:"s"})}delete(xt,qt){return this.clone({param:xt,value:qt,op:"d"})}toString(){return this.init(),this.keys().map(xt=>{const qt=this.encoder.encodeKey(xt);return this.map.get(xt).map(tr=>qt+"="+this.encoder.encodeValue(tr)).join("&")}).filter(xt=>""!==xt).join("&")}clone(xt){const qt=new pe({encoder:this.encoder});return qt.cloneFrom=this.cloneFrom||this,qt.updates=(this.updates||[]).concat(xt),qt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(xt=>this.map.set(xt,this.cloneFrom.map.get(xt))),this.updates.forEach(xt=>{switch(xt.op){case"a":case"s":const qt=("a"===xt.op?this.map.get(xt.param):void 0)||[];qt.push(J(xt.value)),this.map.set(xt.param,qt);break;case"d":if(void 0===xt.value){this.map.delete(xt.param);break}{let tr=this.map.get(xt.param)||[];const vr=tr.indexOf(J(xt.value));-1!==vr&&tr.splice(vr,1),tr.length>0?this.map.set(xt.param,tr):this.map.delete(xt.param)}}}),this.cloneFrom=this.updates=null)}}class ue{constructor(){this.map=new Map}set(xt,qt){return this.map.set(xt,qt),this}get(xt){return this.map.has(xt)||this.map.set(xt,xt.defaultValue()),this.map.get(xt)}delete(xt){return this.map.delete(xt),this}has(xt){return this.map.has(xt)}keys(){return this.map.keys()}}function me(ot){return typeof ArrayBuffer<"u"&&ot instanceof ArrayBuffer}function Oe(ot){return typeof Blob<"u"&&ot instanceof Blob}function Ue(ot){return typeof FormData<"u"&&ot instanceof FormData}class yt{constructor(xt,qt,tr,vr){let An;if(this.url=qt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=xt.toUpperCase(),function ie(ot){switch(ot){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||vr?(this.body=void 0!==tr?tr:null,An=vr):An=tr,An&&(this.reportProgress=!!An.reportProgress,this.withCredentials=!!An.withCredentials,An.responseType&&(this.responseType=An.responseType),An.headers&&(this.headers=An.headers),An.context&&(this.context=An.context),An.params&&(this.params=An.params)),this.headers||(this.headers=new D),this.context||(this.context=new ue),this.params){const yr=this.params.toString();if(0===yr.length)this.urlWithParams=qt;else{const Nr=qt.indexOf("?");this.urlWithParams=qt+(-1===Nr?"?":Nr<qt.length-1?"&":"")+yr}}else this.params=new pe,this.urlWithParams=qt}serializeBody(){return null===this.body?null:me(this.body)||Oe(this.body)||Ue(this.body)||function Me(ot){return typeof URLSearchParams<"u"&&ot instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof pe?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Ue(this.body)?null:Oe(this.body)?this.body.type||null:me(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof pe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(xt={}){const qt=xt.method||this.method,tr=xt.url||this.url,vr=xt.responseType||this.responseType,An=void 0!==xt.body?xt.body:this.body,yr=void 0!==xt.withCredentials?xt.withCredentials:this.withCredentials,Nr=void 0!==xt.reportProgress?xt.reportProgress:this.reportProgress;let nr=xt.headers||this.headers,Qn=xt.params||this.params;const dr=xt.context??this.context;return void 0!==xt.setHeaders&&(nr=Object.keys(xt.setHeaders).reduce((Wn,Wt)=>Wn.set(Wt,xt.setHeaders[Wt]),nr)),xt.setParams&&(Qn=Object.keys(xt.setParams).reduce((Wn,Wt)=>Wn.set(Wt,xt.setParams[Wt]),Qn)),new yt(qt,tr,An,{params:Qn,headers:nr,context:dr,reportProgress:Nr,responseType:vr,withCredentials:yr})}}var et=(()=>((et=et||{})[et.Sent=0]="Sent",et[et.UploadProgress=1]="UploadProgress",et[et.ResponseHeader=2]="ResponseHeader",et[et.DownloadProgress=3]="DownloadProgress",et[et.Response=4]="Response",et[et.User=5]="User",et))();class tt{constructor(xt,qt=200,tr="OK"){this.headers=xt.headers||new D,this.status=void 0!==xt.status?xt.status:qt,this.statusText=xt.statusText||tr,this.url=xt.url||null,this.ok=this.status>=200&&this.status<300}}class Et extends tt{constructor(xt={}){super(xt),this.type=et.ResponseHeader}clone(xt={}){return new Et({headers:xt.headers||this.headers,status:void 0!==xt.status?xt.status:this.status,statusText:xt.statusText||this.statusText,url:xt.url||this.url||void 0})}}class ze extends tt{constructor(xt={}){super(xt),this.type=et.Response,this.body=void 0!==xt.body?xt.body:null}clone(xt={}){return new ze({body:void 0!==xt.body?xt.body:this.body,headers:xt.headers||this.headers,status:void 0!==xt.status?xt.status:this.status,statusText:xt.statusText||this.statusText,url:xt.url||this.url||void 0})}}class bt extends tt{constructor(xt){super(xt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${xt.url||"(unknown url)"}`:`Http failure response for ${xt.url||"(unknown url)"}: ${xt.status} ${xt.statusText}`,this.error=xt.error||null}}function Ct(ot,xt){return{body:xt,headers:ot.headers,context:ot.context,observe:ot.observe,params:ot.params,reportProgress:ot.reportProgress,responseType:ot.responseType,withCredentials:ot.withCredentials}}let Qt=(()=>{class ot{constructor(qt){this.handler=qt}request(qt,tr,vr={}){let An;if(qt instanceof yt)An=qt;else{let nr,Qn;nr=vr.headers instanceof D?vr.headers:new D(vr.headers),vr.params&&(Qn=vr.params instanceof pe?vr.params:new pe({fromObject:vr.params})),An=new yt(qt,tr,void 0!==vr.body?vr.body:null,{headers:nr,context:vr.context,params:Qn,reportProgress:vr.reportProgress,responseType:vr.responseType||"json",withCredentials:vr.withCredentials})}const yr=(0,u.of)(An).pipe((0,e.b)(nr=>this.handler.handle(nr)));if(qt instanceof yt||"events"===vr.observe)return yr;const Nr=yr.pipe((0,f.h)(nr=>nr instanceof ze));switch(vr.observe||"body"){case"body":switch(An.responseType){case"arraybuffer":return Nr.pipe((0,h.U)(nr=>{if(null!==nr.body&&!(nr.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return nr.body}));case"blob":return Nr.pipe((0,h.U)(nr=>{if(null!==nr.body&&!(nr.body instanceof Blob))throw new Error("Response is not a Blob.");return nr.body}));case"text":return Nr.pipe((0,h.U)(nr=>{if(null!==nr.body&&"string"!=typeof nr.body)throw new Error("Response is not a string.");return nr.body}));default:return Nr.pipe((0,h.U)(nr=>nr.body))}case"response":return Nr;default:throw new Error(`Unreachable: unhandled observe type ${vr.observe}}`)}}delete(qt,tr={}){return this.request("DELETE",qt,tr)}get(qt,tr={}){return this.request("GET",qt,tr)}head(qt,tr={}){return this.request("HEAD",qt,tr)}jsonp(qt,tr){return this.request("JSONP",qt,{params:(new pe).append(tr,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(qt,tr={}){return this.request("OPTIONS",qt,tr)}patch(qt,tr,vr={}){return this.request("PATCH",qt,Ct(vr,tr))}post(qt,tr,vr={}){return this.request("POST",qt,Ct(vr,tr))}put(qt,tr,vr={}){return this.request("PUT",qt,Ct(vr,tr))}}return ot.\u0275fac=function(qt){return new(qt||ot)(a.LFG(E))},ot.\u0275prov=a.Yz7({token:ot,factory:ot.\u0275fac}),ot})();function ht(ot,xt){return xt(ot)}function en(ot,xt){return(qt,tr)=>xt.intercept(qt,{handle:vr=>ot(vr,tr)})}const bn=new a.OlP("HTTP_INTERCEPTORS"),Dn=new a.OlP("HTTP_INTERCEPTOR_FNS");function Rt(){let ot=null;return(xt,qt)=>(null===ot&&(ot=((0,a.f3M)(bn,{optional:!0})??[]).reduceRight(en,ht)),ot(xt,qt))}let Xt=(()=>{class ot extends E{constructor(qt,tr){super(),this.backend=qt,this.injector=tr,this.chain=null}handle(qt){if(null===this.chain){const tr=Array.from(new Set(this.injector.get(Dn)));this.chain=tr.reduceRight((vr,An)=>function nn(ot,xt,qt){return(tr,vr)=>qt.runInContext(()=>xt(tr,An=>ot(An,vr)))}(vr,An,this.injector),ht)}return this.chain(qt,tr=>this.backend.handle(tr))}}return ot.\u0275fac=function(qt){return new(qt||ot)(a.LFG(T),a.LFG(a.lqb))},ot.\u0275prov=a.Yz7({token:ot,factory:ot.\u0275fac}),ot})();const sn=/^\)\]\}',?\n/;let Ln=(()=>{class ot{constructor(qt){this.xhrFactory=qt}handle(qt){if("JSONP"===qt.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new c.y(tr=>{const vr=this.xhrFactory.build();if(vr.open(qt.method,qt.urlWithParams),qt.withCredentials&&(vr.withCredentials=!0),qt.headers.forEach((kt,st)=>vr.setRequestHeader(kt,st.join(","))),qt.headers.has("Accept")||vr.setRequestHeader("Accept","application/json, text/plain, */*"),!qt.headers.has("Content-Type")){const kt=qt.detectContentTypeHeader();null!==kt&&vr.setRequestHeader("Content-Type",kt)}if(qt.responseType){const kt=qt.responseType.toLowerCase();vr.responseType="json"!==kt?kt:"text"}const An=qt.serializeBody();let yr=null;const Nr=()=>{if(null!==yr)return yr;const kt=vr.statusText||"OK",st=new D(vr.getAllResponseHeaders()),zt=function At(ot){return"responseURL"in ot&&ot.responseURL?ot.responseURL:/^X-Request-URL:/m.test(ot.getAllResponseHeaders())?ot.getResponseHeader("X-Request-URL"):null}(vr)||qt.url;return yr=new Et({headers:st,status:vr.status,statusText:kt,url:zt}),yr},nr=()=>{let{headers:kt,status:st,statusText:zt,url:er}=Nr(),Kr=null;204!==st&&(Kr=typeof vr.response>"u"?vr.responseText:vr.response),0===st&&(st=Kr?200:0);let mi=st>=200&&st<300;if("json"===qt.responseType&&"string"==typeof Kr){const gi=Kr;Kr=Kr.replace(sn,"");try{Kr=""!==Kr?JSON.parse(Kr):null}catch(Jo){Kr=gi,mi&&(mi=!1,Kr={error:Jo,text:Kr})}}mi?(tr.next(new ze({body:Kr,headers:kt,status:st,statusText:zt,url:er||void 0})),tr.complete()):tr.error(new bt({error:Kr,headers:kt,status:st,statusText:zt,url:er||void 0}))},Qn=kt=>{const{url:st}=Nr(),zt=new bt({error:kt,status:vr.status||0,statusText:vr.statusText||"Unknown Error",url:st||void 0});tr.error(zt)};let dr=!1;const Wn=kt=>{dr||(tr.next(Nr()),dr=!0);let st={type:et.DownloadProgress,loaded:kt.loaded};kt.lengthComputable&&(st.total=kt.total),"text"===qt.responseType&&vr.responseText&&(st.partialText=vr.responseText),tr.next(st)},Wt=kt=>{let st={type:et.UploadProgress,loaded:kt.loaded};kt.lengthComputable&&(st.total=kt.total),tr.next(st)};return vr.addEventListener("load",nr),vr.addEventListener("error",Qn),vr.addEventListener("timeout",Qn),vr.addEventListener("abort",Qn),qt.reportProgress&&(vr.addEventListener("progress",Wn),null!==An&&vr.upload&&vr.upload.addEventListener("progress",Wt)),vr.send(An),tr.next({type:et.Sent}),()=>{vr.removeEventListener("error",Qn),vr.removeEventListener("abort",Qn),vr.removeEventListener("load",nr),vr.removeEventListener("timeout",Qn),qt.reportProgress&&(vr.removeEventListener("progress",Wn),null!==An&&vr.upload&&vr.upload.removeEventListener("progress",Wt)),vr.readyState!==vr.DONE&&vr.abort()}})}}return ot.\u0275fac=function(qt){return new(qt||ot)(a.LFG(r.JF))},ot.\u0275prov=a.Yz7({token:ot,factory:ot.\u0275fac}),ot})();const rr=new a.OlP("XSRF_ENABLED"),Fi=new a.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Vo=new a.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Xr{}let Ni=(()=>{class ot{constructor(qt,tr,vr){this.doc=qt,this.platform=tr,this.cookieName=vr,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const qt=this.doc.cookie||"";return qt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.Mx)(qt,this.cookieName),this.lastCookieString=qt),this.lastToken}}return ot.\u0275fac=function(qt){return new(qt||ot)(a.LFG(r.K0),a.LFG(a.Lbi),a.LFG(Fi))},ot.\u0275prov=a.Yz7({token:ot,factory:ot.\u0275fac}),ot})();function ji(ot,xt){const qt=ot.url.toLowerCase();if(!(0,a.f3M)(rr)||"GET"===ot.method||"HEAD"===ot.method||qt.startsWith("http://")||qt.startsWith("https://"))return xt(ot);const tr=(0,a.f3M)(Xr).getToken(),vr=(0,a.f3M)(Vo);return null!=tr&&!ot.headers.has(vr)&&(ot=ot.clone({headers:ot.headers.set(vr,tr)})),xt(ot)}var Pr=(()=>((Pr=Pr||{})[Pr.Interceptors=0]="Interceptors",Pr[Pr.LegacyInterceptors=1]="LegacyInterceptors",Pr[Pr.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Pr[Pr.NoXsrfProtection=3]="NoXsrfProtection",Pr[Pr.JsonpSupport=4]="JsonpSupport",Pr[Pr.RequestsMadeViaParent=5]="RequestsMadeViaParent",Pr))();function Bo(ot,xt){return{\u0275kind:ot,\u0275providers:xt}}function cs(...ot){const xt=[Qt,Ln,Xt,{provide:E,useExisting:Xt},{provide:T,useExisting:Ln},{provide:Dn,useValue:ji,multi:!0},{provide:rr,useValue:!0},{provide:Xr,useClass:Ni}];for(const qt of ot)xt.push(...qt.\u0275providers);return(0,a.MR2)(xt)}const io=new a.OlP("LEGACY_INTERCEPTOR_FN");let Qe=(()=>{class ot{}return ot.\u0275fac=function(qt){return new(qt||ot)},ot.\u0275mod=a.oAB({type:ot}),ot.\u0275inj=a.cJS({providers:[cs(Bo(Pr.LegacyInterceptors,[{provide:io,useFactory:Rt},{provide:Dn,useExisting:io,multi:!0}]))]}),ot})()},64537:(y,b,o)=>{"use strict";o.d(b,{$8M:()=>pl,$WT:()=>As,$Z:()=>Hg,AFp:()=>ST,ALo:()=>HC,AaK:()=>E,AsE:()=>Zy,BQk:()=>P1,CHM:()=>Xs,CRH:()=>XC,CZH:()=>ey,CqO:()=>F0,D6c:()=>GO,DdM:()=>wC,Dn7:()=>GC,DtL:()=>EC,DyG:()=>Zd,EJc:()=>cO,EiD:()=>W_,EpF:()=>N0,F$t:()=>Qr,F4k:()=>I0,FYo:()=>go,FiY:()=>Zi,G48:()=>DO,Gf:()=>QC,GfV:()=>kl,GkF:()=>Uv,Gpc:()=>A,Gre:()=>$S,Hsn:()=>bi,IIB:()=>rO,Ikx:()=>Wy,JOm:()=>Fu,JVY:()=>Xp,JZr:()=>L,Jf7:()=>wm,KtG:()=>Rc,L6k:()=>Y_,LAX:()=>Wf,LFG:()=>Qe,LMc:()=>jO,LSH:()=>Sh,Lbi:()=>oO,Lck:()=>H1,MAs:()=>w0,MGl:()=>Po,MMx:()=>dE,MR2:()=>Rd,MT6:()=>HS,N_p:()=>rE,NdJ:()=>x1,OlP:()=>nc,Oqu:()=>jy,P3R:()=>mm,PXZ:()=>IT,Q6J:()=>kv,QGY:()=>Bv,QbO:()=>sO,Qsj:()=>al,QtT:()=>SC,R0b:()=>Nh,RDi:()=>yu,Rgc:()=>Kv,SBq:()=>pi,SDv:()=>j0,Sil:()=>dO,Suo:()=>KC,TTD:()=>Vc,TgZ:()=>A1,Tol:()=>bS,Udp:()=>Uy,UuU:()=>Di,VKq:()=>Wv,W1O:()=>Y1,WLB:()=>pE,X6Q:()=>AO,XFs:()=>rr,Xpm:()=>mi,Xts:()=>Q_,Y36:()=>Ah,YKP:()=>MC,YNc:()=>x0,Yjl:()=>wi,Yz7:()=>kn,Z0I:()=>_r,ZZ4:()=>BE,Zx4:()=>CC,_Bn:()=>bC,_UZ:()=>Hv,_Vd:()=>ya,_c5:()=>BO,_uU:()=>xS,aQg:()=>sy,c2e:()=>aO,cJS:()=>Ir,cg1:()=>Qy,d8E:()=>Jy,dDg:()=>EO,dqk:()=>Ni,eBb:()=>gh,eFA:()=>LT,eJc:()=>SE,ekj:()=>By,eoX:()=>PT,f3M:()=>tn,g9A:()=>TT,h0i:()=>$1,hGG:()=>XT,hYB:()=>Zo,hij:()=>k0,i9L:()=>lc,iGM:()=>JC,ifc:()=>nr,ip1:()=>ET,jDz:()=>OC,kEZ:()=>gg,kL8:()=>KS,kYT:()=>Ii,l5B:()=>NC,lG2:()=>Vr,lcZ:()=>UC,lnq:()=>zy,lqb:()=>Es,lri:()=>DT,mCW:()=>Ep,n5z:()=>En,oAB:()=>hr,oJD:()=>ad,oxw:()=>Hn,pB0:()=>yp,pQV:()=>iE,pYS:()=>Nm,q3G:()=>Mu,qLn:()=>X_,qOj:()=>Vl,qZA:()=>D1,qbA:()=>IC,qzn:()=>su,rWj:()=>RT,r_U:()=>iO,s9C:()=>Ro,sBO:()=>YT,s_b:()=>J0,soG:()=>ty,tBr:()=>Ci,tHW:()=>nE,tb:()=>wT,tp0:()=>Co,uIk:()=>Wg,uOi:()=>b_,vHH:()=>J,vpe:()=>Mm,wAp:()=>Ml,xi3:()=>BC,xp6:()=>wg,ynx:()=>R1,z2F:()=>z1,z3N:()=>hu,zSh:()=>Rn,zW0:()=>th,zs3:()=>qh});var r=o(79765),a=o(13464),u=o(70882),c=o(66682),e=o(78345);function f(d){for(let p in d)if(d[p]===f)return p;throw Error("Could not find renamed property on target object.")}function h(d,p){for(const m in p)p.hasOwnProperty(m)&&!d.hasOwnProperty(m)&&(d[m]=p[m])}function E(d){if("string"==typeof d)return d;if(Array.isArray(d))return"["+d.map(E).join(", ")+"]";if(null==d)return""+d;if(d.overriddenName)return`${d.overriddenName}`;if(d.name)return`${d.name}`;const p=d.toString();if(null==p)return""+p;const m=p.indexOf("\n");return-1===m?p:p.substring(0,m)}function T(d,p){return null==d||""===d?null===p?"":p:null==p||""===p?d:d+" "+p}const D=f({__forward_ref__:f});function A(d){return d.__forward_ref__=A,d.toString=function(){return E(this())},d}function $(d){return Q(d)?d():d}function Q(d){return"function"==typeof d&&d.hasOwnProperty(D)&&d.__forward_ref__===A}function U(d){return d&&!!d.\u0275providers}const L="https://g.co/ng/security#xss";class J extends Error{constructor(p,m){super(pe(p,m)),this.code=p}}function pe(d,p){return`NG0${Math.abs(d)}${p?": "+p.trim():""}`}function j(d){return"string"==typeof d?d:null==d?"":String(d)}function Ue(d,p){throw new J(-201,!1)}function Rt(d,p,m,P){throw new Error(`ASSERTION ERROR: ${d}`+(null==P?"":` [Expected=> ${m} ${P} ${p} <=Actual]`))}function kn(d){return{token:d.token,providedIn:d.providedIn||null,factory:d.factory,value:void 0}}function Ir(d){return{providers:d.providers||[],imports:d.imports||[]}}function wr(d){return oi(d,ft)||oi(d,At)}function _r(d){return null!==wr(d)}function oi(d,p){return d.hasOwnProperty(p)?d[p]:null}function Tr(d){return d&&(d.hasOwnProperty(sn)||d.hasOwnProperty(Ln))?d[sn]:null}const ft=f({\u0275prov:f}),sn=f({\u0275inj:f}),At=f({ngInjectableDef:f}),Ln=f({ngInjectorDef:f});var rr=(()=>((rr=rr||{})[rr.Default=0]="Default",rr[rr.Host=1]="Host",rr[rr.Self=2]="Self",rr[rr.SkipSelf=4]="SkipSelf",rr[rr.Optional=8]="Optional",rr))();let Lr;function so(d){const p=Lr;return Lr=d,p}function Vo(d,p,m){const P=wr(d);return P&&"root"==P.providedIn?void 0===P.value?P.value=P.factory():P.value:m&rr.Optional?null:void 0!==p?p:void Ue(E(d))}const Ni=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Bo={},cs="__NG_DI_FLAG__",ts="ngTempTokenPath",io="ngTokenPath",Vi=/\n/gm,Pn="\u0275",Nn="__source";let Ut;function ke(d){const p=Ut;return Ut=d,p}function Ie(d,p=rr.Default){if(void 0===Ut)throw new J(-203,!1);return null===Ut?Vo(d,void 0,p):Ut.get(d,p&rr.Optional?null:void 0,p)}function Qe(d,p=rr.Default){return(function Fi(){return Lr}()||Ie)($(d),p)}function tn(d,p=rr.Default){return Qe(d,ot(p))}function ot(d){return typeof d>"u"||"number"==typeof d?d:0|(d.optional&&8)|(d.host&&1)|(d.self&&2)|(d.skipSelf&&4)}function xt(d){const p=[];for(let m=0;m<d.length;m++){const P=$(d[m]);if(Array.isArray(P)){if(0===P.length)throw new J(900,!1);let H,te=rr.Default;for(let Ee=0;Ee<P.length;Ee++){const Ye=P[Ee],nt=tr(Ye);"number"==typeof nt?-1===nt?H=Ye.token:te|=nt:H=Ye}p.push(Qe(H,te))}else p.push(Qe(P))}return p}function qt(d,p){return d[cs]=p,d.prototype[cs]=p,d}function tr(d){return d[cs]}function yr(d){return{toString:d}.toString()}var Nr=(()=>((Nr=Nr||{})[Nr.OnPush=0]="OnPush",Nr[Nr.Default=1]="Default",Nr))(),nr=(()=>{return(d=nr||(nr={}))[d.Emulated=0]="Emulated",d[d.None=2]="None",d[d.ShadowDom=3]="ShadowDom",nr;var d})();const Qn={},dr=[],Wn=f({\u0275cmp:f}),Wt=f({\u0275dir:f}),kt=f({\u0275pipe:f}),st=f({\u0275mod:f}),zt=f({\u0275fac:f}),er=f({__NG_ELEMENT_ID__:f});let Kr=0;function mi(d){return yr(()=>{const p=qr(d),m={...p,decls:d.decls,vars:d.vars,template:d.template,consts:d.consts||null,ngContentSelectors:d.ngContentSelectors,onPush:d.changeDetection===Nr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:p.standalone&&d.dependencies||null,getStandaloneInjector:null,data:d.data||{},encapsulation:d.encapsulation||nr.Emulated,id:"c"+Kr++,styles:d.styles||dr,_:null,schemas:d.schemas||null,tView:null};$r(m);const P=d.dependencies;return m.directiveDefs=Cn(P,!1),m.pipeDefs=Cn(P,!0),m})}function Jo(d){return Gi(d)||Wi(d)}function os(d){return null!==d}function hr(d){return yr(()=>({type:d.type,bootstrap:d.bootstrap||dr,declarations:d.declarations||dr,imports:d.imports||dr,exports:d.exports||dr,transitiveCompileScopes:null,schemas:d.schemas||null,id:d.id||null}))}function Ii(d,p){return yr(()=>{const m=Ls(d,!0);m.declarations=p.declarations||dr,m.imports=p.imports||dr,m.exports=p.exports||dr})}function ni(d,p){if(null==d)return Qn;const m={};for(const P in d)if(d.hasOwnProperty(P)){let H=d[P],te=H;Array.isArray(H)&&(te=H[1],H=H[0]),m[H]=P,p&&(p[H]=te)}return m}function Vr(d){return yr(()=>{const p=qr(d);return $r(p),p})}function wi(d){return{type:d.type,name:d.name,factory:null,pure:!1!==d.pure,standalone:!0===d.standalone,onDestroy:d.type.prototype.ngOnDestroy||null}}function Gi(d){return d[Wn]||null}function Wi(d){return d[Wt]||null}function Mo(d){return d[kt]||null}function As(d){const p=Gi(d)||Wi(d)||Mo(d);return null!==p&&p.standalone}function Ls(d,p){const m=d[st]||null;if(!m&&!0===p)throw new Error(`Type ${E(d)} does not have '\u0275mod' property.`);return m}function qr(d){const p={};return{type:d.type,providersResolver:null,factory:null,hostBindings:d.hostBindings||null,hostVars:d.hostVars||0,hostAttrs:d.hostAttrs||null,contentQueries:d.contentQueries||null,declaredInputs:p,exportAs:d.exportAs||null,standalone:!0===d.standalone,selectors:d.selectors||dr,viewQuery:d.viewQuery||null,features:d.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ni(d.inputs,p),outputs:ni(d.outputs)}}function $r(d){d.features?.forEach(p=>p(d))}function Cn(d,p){if(!d)return null;const m=p?Mo:Jo;return()=>("function"==typeof d?d():d).map(P=>m(P)).filter(os)}const mn=0,kr=1,Qi=2,xo=3,Ss=4,bs=5,ko=6,$s=7,ps=8,Ys=9,ra=10,Do=11,oc=12,Ql=13,tl=14,Da=15,Ga=16,Pl=17,Eo=18,Ra=19,Fo=20,Cs=21,Ks=22,ml=1,ma=2,Qo=7,Go=8,ys=9,rs=10;function Br(d){return Array.isArray(d)&&"object"==typeof d[ml]}function qi(d){return Array.isArray(d)&&!0===d[ml]}function _t(d){return 0!=(4&d.flags)}function On(d){return d.componentOffset>-1}function ae(d){return 1==(1&d.flags)}function We(d){return!!d.template}function on(d){return 0!=(256&d[Qi])}function dl(d,p){return d.hasOwnProperty(zt)?d[zt]:null}class Kc{constructor(p,m,P){this.previousValue=p,this.currentValue=m,this.firstChange=P}isFirstChange(){return this.firstChange}}function Vc(){return cu}function cu(d){return d.type.prototype.ngOnChanges&&(d.setInput=Tc),xs}function xs(){const d=ka(this),p=d?.current;if(p){const m=d.previous;if(m===Qn)d.previous=p;else for(let P in p)m[P]=p[P];d.current=null,this.ngOnChanges(p)}}function Tc(d,p,m,P){const H=this.declaredInputs[m],te=ka(d)||function gl(d,p){return d[cc]=p}(d,{previous:Qn,current:null}),Ee=te.current||(te.current={}),Ye=te.previous,nt=Ye[H];Ee[H]=new Kc(nt&&nt.currentValue,p,Ye===Qn),d[P]=p}Vc.ngInherit=!0;const cc="__ngSimpleChanges__";function ka(d){return d[cc]||null}const Mc=function(d,p,m){};function Ka(d){for(;Array.isArray(d);)d=d[mn];return d}function Xc(d,p){return Ka(p[d])}function sc(d,p){return Ka(p[d.index])}function Ic(d,p){return d.data[p]}function Fc(d,p){return d[p]}function ba(d,p){const m=p[d];return Br(m)?m:m[mn]}function Oc(d){return 64==(64&d[Qi])}function jl(d,p){return null==p?null:d[p]}function yl(d){d[Eo]=0}function Dc(d,p){d[bs]+=p;let m=d,P=d[xo];for(;null!==P&&(1===p&&1===m[bs]||-1===p&&0===m[bs]);)P[bs]+=p,m=P,P=P[xo]}const Zs={lFrame:zr(null),bindingsEnabled:!0};function vi(){return Zs.bindingsEnabled}function Si(){return Zs.lFrame.lView}function ca(){return Zs.lFrame.tView}function Xs(d){return Zs.lFrame.contextLView=d,d[ps]}function Rc(d){return Zs.lFrame.contextLView=null,d}function Zl(){let d=qc();for(;null!==d&&64===d.type;)d=d.parent;return d}function qc(){return Zs.lFrame.currentTNode}function gc(){const d=Zs.lFrame,p=d.currentTNode;return d.isParent?p:p.parent}function zl(d,p){const m=Zs.lFrame;m.currentTNode=d,m.isParent=p}function Ju(){return Zs.lFrame.isParent}function eu(){Zs.lFrame.isParent=!1}function Ll(){const d=Zs.lFrame;let p=d.bindingRootIndex;return-1===p&&(p=d.bindingRootIndex=d.tView.bindingStartIndex),p}function rl(){return Zs.lFrame.bindingIndex}function X(){return Zs.lFrame.bindingIndex++}function Ce(d){const p=Zs.lFrame,m=p.bindingIndex;return p.bindingIndex=p.bindingIndex+d,m}function Ke(d){Zs.lFrame.inI18n=d}function Gt(d,p){const m=Zs.lFrame;m.bindingIndex=m.bindingRootIndex=d,lr(p)}function lr(d){Zs.lFrame.currentDirectiveIndex=d}function Fr(d){const p=Zs.lFrame.currentDirectiveIndex;return-1===p?null:d[p]}function Oi(){return Zs.lFrame.currentQueryIndex}function ai(d){Zs.lFrame.currentQueryIndex=d}function Dr(d){const p=d[kr];return 2===p.type?p.declTNode:1===p.type?d[ko]:null}function ei(d,p,m){if(m&rr.SkipSelf){let H=p,te=d;for(;!(H=H.parent,null!==H||m&rr.Host||(H=Dr(te),null===H||(te=te[Da],10&H.type))););if(null===H)return!1;p=H,d=te}const P=Zs.lFrame=Kn();return P.currentTNode=p,P.lView=d,!0}function Yo(d){const p=Kn(),m=d[kr];Zs.lFrame=p,p.currentTNode=m.firstChild,p.lView=d,p.tView=m,p.contextLView=d,p.bindingIndex=m.bindingStartIndex,p.inI18n=!1}function Kn(){const d=Zs.lFrame,p=null===d?null:d.child;return null===p?zr(d):p}function zr(d){const p={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:d,child:null,inI18n:!1};return null!==d&&(d.child=p),p}function Gr(){const d=Zs.lFrame;return Zs.lFrame=d.parent,d.currentTNode=null,d.lView=null,d}const ce=Gr;function Le(){const d=Gr();d.isParent=!0,d.tView=null,d.selectedIndex=-1,d.contextLView=null,d.elementDepthCount=0,d.currentDirectiveIndex=-1,d.currentNamespace=null,d.bindingRootIndex=-1,d.bindingIndex=-1,d.currentQueryIndex=0}function Kt(){return Zs.lFrame.selectedIndex}function Bn(d){Zs.lFrame.selectedIndex=d}function sr(){const d=Zs.lFrame;return Ic(d.tView,d.selectedIndex)}function us(d,p){for(let m=p.directiveStart,P=p.directiveEnd;m<P;m++){const te=d.data[m].type.prototype,{ngAfterContentInit:Ee,ngAfterContentChecked:Ye,ngAfterViewInit:nt,ngAfterViewChecked:Yt,ngOnDestroy:Mn}=te;Ee&&(d.contentHooks??(d.contentHooks=[])).push(-m,Ee),Ye&&((d.contentHooks??(d.contentHooks=[])).push(m,Ye),(d.contentCheckHooks??(d.contentCheckHooks=[])).push(m,Ye)),nt&&(d.viewHooks??(d.viewHooks=[])).push(-m,nt),Yt&&((d.viewHooks??(d.viewHooks=[])).push(m,Yt),(d.viewCheckHooks??(d.viewCheckHooks=[])).push(m,Yt)),null!=Mn&&(d.destroyHooks??(d.destroyHooks=[])).push(m,Mn)}}function Ma(d,p,m){Dt(d,p,3,m)}function ss(d,p,m,P){(3&d[Qi])===m&&Dt(d,p,m,P)}function se(d,p){let m=d[Qi];(3&m)===p&&(m&=2047,m+=1,d[Qi]=m)}function Dt(d,p,m,P){const te=P??-1,Ee=p.length-1;let Ye=0;for(let nt=void 0!==P?65535&d[Eo]:0;nt<Ee;nt++)if("number"==typeof p[nt+1]){if(Ye=p[nt],null!=P&&Ye>=P)break}else p[nt]<0&&(d[Eo]+=65536),(Ye<te||-1==te)&&(Xe(d,m,p,nt),d[Eo]=(4294901760&d[Eo])+nt+2),nt++}function Xe(d,p,m,P){const H=m[P]<0,te=m[P+1],Ye=d[H?-m[P]:m[P]];if(H){if(d[Qi]>>11<d[Eo]>>16&&(3&d[Qi])===p){d[Qi]+=2048,Mc(4,Ye,te);try{te.call(Ye)}finally{Mc(5,Ye,te)}}}else{Mc(4,Ye,te);try{te.call(Ye)}finally{Mc(5,Ye,te)}}}const rn=-1;class zn{constructor(p,m,P){this.factory=p,this.resolving=!1,this.canSeeViewProviders=m,this.injectImpl=P}}function ja(d,p,m){let P=0;for(;P<m.length;){const H=m[P];if("number"==typeof H){if(0!==H)break;P++;const te=m[P++],Ee=m[P++],Ye=m[P++];d.setAttribute(p,Ee,Ye,te)}else{const te=H,Ee=m[++P];ac(te)?d.setProperty(p,te,Ee):d.setAttribute(p,te,Ee),P++}}return P}function Ea(d){return 3===d||4===d||6===d}function ac(d){return 64===d.charCodeAt(0)}function Bc(d,p){if(null!==p&&0!==p.length)if(null===d||0===d.length)d=p.slice();else{let m=-1;for(let P=0;P<p.length;P++){const H=p[P];"number"==typeof H?m=H:0===m||_e(d,m,H,null,-1===m||2===m?p[++P]:null)}}return d}function _e(d,p,m,P,H){let te=0,Ee=d.length;if(-1===p)Ee=-1;else for(;te<d.length;){const Ye=d[te++];if("number"==typeof Ye){if(Ye===p){Ee=-1;break}if(Ye>p){Ee=te-1;break}}}for(;te<d.length;){const Ye=d[te];if("number"==typeof Ye)break;if(Ye===m){if(null===P)return void(null!==H&&(d[te+1]=H));if(P===d[te+1])return void(d[te+2]=H)}te++,null!==P&&te++,null!==H&&te++}-1!==Ee&&(d.splice(Ee,0,p),te=Ee+1),d.splice(te++,0,m),null!==P&&d.splice(te++,0,P),null!==H&&d.splice(te++,0,H)}function de(d){return d!==rn}function Fe(d){return 32767&d}function lt(d,p){let m=function je(d){return d>>16}(d),P=p;for(;m>0;)P=P[Da],m--;return P}let Vt=!0;function Ht(d){const p=Vt;return Vt=d,p}const ar=255,cr=5;let _i=0;const ao={};function Wo(d,p){const m=Pa(d,p);if(-1!==m)return m;const P=p[kr];P.firstCreatePass&&(d.injectorIndex=p.length,Qs(P.data,d),Qs(p,null),Qs(P.blueprint,null));const H=dc(d,p),te=d.injectorIndex;if(de(H)){const Ee=Fe(H),Ye=lt(H,p),nt=Ye[kr].data;for(let Yt=0;Yt<8;Yt++)p[te+Yt]=Ye[Ee+Yt]|nt[Ee+Yt]}return p[te+8]=H,te}function Qs(d,p){d.push(0,0,0,0,0,0,0,0,p)}function Pa(d,p){return-1===d.injectorIndex||d.parent&&d.parent.injectorIndex===d.injectorIndex||null===p[d.injectorIndex+8]?-1:d.injectorIndex}function dc(d,p){if(d.parent&&-1!==d.parent.injectorIndex)return d.parent.injectorIndex;let m=0,P=null,H=p;for(;null!==H;){if(P=fl(H),null===P)return rn;if(m++,H=H[Da],-1!==P.injectorIndex)return P.injectorIndex|m<<16}return rn}function Tu(d,p,m){!function gs(d,p,m){let P;"string"==typeof m?P=m.charCodeAt(0)||0:m.hasOwnProperty(er)&&(P=m[er]),null==P&&(P=m[er]=_i++);const H=P&ar;p.data[d+(H>>cr)]|=1<<H}(d,p,m)}function fa(d,p,m){if(m&rr.Optional||void 0!==d)return d;Ue()}function uu(d,p,m,P){if(m&rr.Optional&&void 0===P&&(P=null),!(m&(rr.Self|rr.Host))){const H=d[Ys],te=so(void 0);try{return H?H.get(p,P,m&rr.Optional):Vo(p,P,m&rr.Optional)}finally{so(te)}}return fa(P,0,m)}function tc(d,p,m,P=rr.Default,H){if(null!==d){if(1024&p[Qi]){const Ee=function Du(d,p,m,P,H){let te=d,Ee=p;for(;null!==te&&null!==Ee&&1024&Ee[Qi]&&!(256&Ee[Qi]);){const Ye=Iu(te,Ee,m,P|rr.Self,ao);if(Ye!==ao)return Ye;let nt=te.parent;if(!nt){const Yt=Ee[Cs];if(Yt){const Mn=Yt.get(m,ao,P);if(Mn!==ao)return Mn}nt=fl(Ee),Ee=Ee[Da]}te=nt}return H}(d,p,m,P,ao);if(Ee!==ao)return Ee}const te=Iu(d,p,m,P,ao);if(te!==ao)return te}return uu(p,m,P,H)}function Iu(d,p,m,P,H){const te=function Al(d){if("string"==typeof d)return d.charCodeAt(0)||0;const p=d.hasOwnProperty(er)?d[er]:void 0;return"number"==typeof p?p>=0?p&ar:iu:p}(m);if("function"==typeof te){if(!ei(p,d,P))return P&rr.Host?fa(H,0,P):uu(p,m,P,H);try{const Ee=te(P);if(null!=Ee||P&rr.Optional)return Ee;Ue()}finally{ce()}}else if("number"==typeof te){let Ee=null,Ye=Pa(d,p),nt=rn,Yt=P&rr.Host?p[Ga][ko]:null;for((-1===Ye||P&rr.SkipSelf)&&(nt=-1===Ye?dc(d,p):p[Ye+8],nt!==rn&&Gc(P,!1)?(Ee=p[kr],Ye=Fe(nt),p=lt(nt,p)):Ye=-1);-1!==Ye;){const Mn=p[kr];if(xl(te,Ye,Mn.data)){const ir=Ol(Ye,p,m,Ee,P,Yt);if(ir!==ao)return ir}nt=p[Ye+8],nt!==rn&&Gc(P,p[kr].data[Ye+8]===Yt)&&xl(te,Ye,p)?(Ee=Mn,Ye=Fe(nt),p=lt(nt,p)):Ye=-1}}return H}function Ol(d,p,m,P,H,te){const Ee=p[kr],Ye=Ee.data[d+8],Mn=il(Ye,Ee,m,null==P?On(Ye)&&Vt:P!=Ee&&0!=(3&Ye.type),H&rr.Host&&te===Ye);return null!==Mn?du(p,Ee,Mn,Ye):ao}function il(d,p,m,P,H){const te=d.providerIndexes,Ee=p.data,Ye=1048575&te,nt=d.directiveStart,Mn=te>>20,ti=H?Ye+Mn:d.directiveEnd;for(let Pi=P?Ye:Ye+Mn;Pi<ti;Pi++){const mo=Ee[Pi];if(Pi<nt&&m===mo||Pi>=nt&&mo.type===m)return Pi}if(H){const Pi=Ee[nt];if(Pi&&We(Pi)&&Pi.type===m)return nt}return null}function du(d,p,m,P){let H=d[m];const te=p.data;if(function ii(d){return d instanceof zn}(H)){const Ee=H;Ee.resolving&&function ie(d,p){const m=p?`. Dependency path: ${p.join(" > ")} > ${d}`:"";throw new J(-200,`Circular dependency in DI detected for ${d}${m}`)}(function ue(d){return"function"==typeof d?d.name||d.toString():"object"==typeof d&&null!=d&&"function"==typeof d.type?d.type.name||d.type.toString():j(d)}(te[m]));const Ye=Ht(Ee.canSeeViewProviders);Ee.resolving=!0;const nt=Ee.injectImpl?so(Ee.injectImpl):null;ei(d,P,rr.Default);try{H=d[m]=Ee.factory(void 0,te,d,P),p.firstCreatePass&&m>=P.directiveStart&&function Hs(d,p,m){const{ngOnChanges:P,ngOnInit:H,ngDoCheck:te}=p.type.prototype;if(P){const Ee=cu(p);(m.preOrderHooks??(m.preOrderHooks=[])).push(d,Ee),(m.preOrderCheckHooks??(m.preOrderCheckHooks=[])).push(d,Ee)}H&&(m.preOrderHooks??(m.preOrderHooks=[])).push(0-d,H),te&&((m.preOrderHooks??(m.preOrderHooks=[])).push(d,te),(m.preOrderCheckHooks??(m.preOrderCheckHooks=[])).push(d,te))}(m,te[m],p)}finally{null!==nt&&so(nt),Ht(Ye),Ee.resolving=!1,ce()}}return H}function xl(d,p,m){return!!(m[p+(d>>cr)]&1<<d)}function Gc(d,p){return!(d&rr.Self||d&rr.Host&&p)}class xa{constructor(p,m){this._tNode=p,this._lView=m}get(p,m,P){return tc(this._tNode,this._lView,p,ot(P),m)}}function iu(){return new xa(Zl(),Si())}function En(d){return yr(()=>{const p=d.prototype.constructor,m=p[zt]||Pc(p),P=Object.prototype;let H=Object.getPrototypeOf(d.prototype).constructor;for(;H&&H!==P;){const te=H[zt]||Pc(H);if(te&&te!==m)return te;H=Object.getPrototypeOf(H)}return te=>new te})}function Pc(d){return Q(d)?()=>{const p=Pc($(d));return p&&p()}:dl(d)}function fl(d){const p=d[kr],m=p.type;return 2===m?p.declTNode:1===m?d[ko]:null}function pl(d){return function nu(d,p){if("class"===p)return d.classes;if("style"===p)return d.styles;const m=d.attrs;if(m){const P=m.length;let H=0;for(;H<P;){const te=m[H];if(Ea(te))break;if(0===te)H+=2;else if("number"==typeof te)for(H++;H<P&&"string"==typeof m[H];)H++;else{if(te===p)return m[H+1];H+=2}}}return null}(Zl(),d)}const ju="__parameters__",dd="__prop__metadata__";function fd(d){return function(...m){if(d){const P=d(...m);for(const H in P)this[H]=P[H]}}}function Sd(d,p,m){return yr(()=>{const P=fd(p);function H(...te){if(this instanceof H)return P.apply(this,te),this;const Ee=new H(...te);return Ye.annotation=Ee,Ye;function Ye(nt,Yt,Mn){const ir=nt.hasOwnProperty(ju)?nt[ju]:Object.defineProperty(nt,ju,{value:[]})[ju];for(;ir.length<=Mn;)ir.push(null);return(ir[Mn]=ir[Mn]||[]).push(Ee),nt}}return m&&(H.prototype=Object.create(m.prototype)),H.prototype.ngMetadataName=d,H.annotationCls=H,H})}function Cd(d,p,m,P){return yr(()=>{const H=fd(p);function te(...Ee){if(this instanceof te)return H.apply(this,Ee),this;const Ye=new te(...Ee);return function nt(Yt,Mn){const ir=Yt.constructor,ti=ir.hasOwnProperty(dd)?ir[dd]:Object.defineProperty(ir,dd,{value:{}})[dd];ti[Mn]=ti.hasOwnProperty(Mn)&&ti[Mn]||[],ti[Mn].unshift(Ye),P&&P(Yt,Mn,...Ee)}}return m&&(te.prototype=Object.create(m.prototype)),te.prototype.ngMetadataName=d,te.annotationCls=te,te})}class nc{constructor(p,m){this._desc=p,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof m?this.__NG_ELEMENT_ID__=m:void 0!==m&&(this.\u0275prov=kn({token:this,providedIn:m.providedIn||"root",factory:m.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}class ua{}const lc=Cd("ViewChild",(d,p)=>({selector:d,first:!0,isViewQuery:!0,descendants:!0,...p}),ua),Zd=Function;function Ne(d,p){d.forEach(m=>Array.isArray(m)?Ne(m,p):p(m))}function ve(d,p,m){p>=d.length?d.push(m):d.splice(p,0,m)}function Ze(d,p){return p>=d.length-1?d.pop():d.splice(p,1)[0]}function Ot(d,p){const m=[];for(let P=0;P<d;P++)m.push(p);return m}function N(d,p,m){let P=re(d,p);return P>=0?d[1|P]=m:(P=~P,function w(d,p,m,P){let H=d.length;if(H==p)d.push(m,P);else if(1===H)d.push(P,d[0]),d[0]=m;else{for(H--,d.push(d[H-1],d[H]);H>p;)d[H]=d[H-2],H--;d[p]=m,d[p+1]=P}}(d,P,p,m)),P}function B(d,p){const m=re(d,p);if(m>=0)return d[1|m]}function re(d,p){return function Te(d,p,m){let P=0,H=d.length>>m;for(;H!==P;){const te=P+(H-P>>1),Ee=d[te<<m];if(p===Ee)return te<<m;Ee>p?H=te:P=te+1}return~(H<<m)}(d,p,1)}const Ci=qt(Sd("Inject",d=>({token:d})),-1),Zi=qt(Sd("Optional"),8),Co=qt(Sd("SkipSelf"),4);var Fu=(()=>((Fu=Fu||{})[Fu.Important=1]="Important",Fu[Fu.DashCase=2]="DashCase",Fu))();const I_=/^>|^->|<!--|-->|--!>|<!-$/g,zd=/(<|>)/,kh="\u200b$1\u200b";const Yf=new Map;let jp=0;const p_="__ngContext__";function qu(d,p){Br(p)?(d[p_]=p[Fo],function fh(d){Yf.set(d[Fo],d)}(p)):d[p_]=p}let gf;function lf(d,p){return gf(d,p)}function vf(d){const p=d[xo];return qi(p)?p[xo]:p}function _d(d){return zp(d[Ql])}function xu(d){return zp(d[Ss])}function zp(d){for(;null!==d&&!qi(d);)d=d[Ss];return d}function Md(d,p,m,P,H){if(null!=P){let te,Ee=!1;qi(P)?te=P:Br(P)&&(Ee=!0,P=P[mn]);const Ye=Ka(P);0===d&&null!==m?null==H?yc(p,m,Ye):yf(p,m,Ye,H||null,!0):1===d&&null!==m?yf(p,m,Ye,H||null,!0):2===d?$_(p,Ye,Ee):3===d&&p.destroyNode(Ye),null!=te&&function pm(d,p,m,P,H){const te=m[Qo];te!==Ka(m)&&Md(p,d,P,te,H);for(let Ye=rs;Ye<m.length;Ye++){const nt=m[Ye];Hd(nt[kr],nt,d,p,P,te)}}(p,d,te,m,H)}}function F_(d,p){return d.createText(p)}function Uh(d,p,m){d.setValue(p,m)}function cm(d,p){return d.createComment(function $h(d){return d.replace(I_,p=>p.replace(zd,kh))}(p))}function _h(d,p,m){return d.createElement(p,m)}function Pf(d,p){const m=d[ys],P=m.indexOf(p),H=p[xo];512&p[Qi]&&(p[Qi]&=-513,Dc(H,-1)),m.splice(P,1)}function Gh(d,p){if(d.length<=rs)return;const m=rs+p,P=d[m];if(P){const H=P[Pl];null!==H&&H!==d&&Pf(H,P),p>0&&(d[m-1][Ss]=P[Ss]);const te=Ze(d,rs+p);!function um(d,p){Hd(d,p,p[Do],2,null,null),p[mn]=null,p[ko]=null}(P[kr],P);const Ee=te[Ra];null!==Ee&&Ee.detachView(te[kr]),P[xo]=null,P[Ss]=null,P[Qi]&=-65}return P}function fm(d,p){if(!(128&p[Qi])){const m=p[Do];m.destroyNode&&Hd(d,p,m,3,null,null),function hh(d){let p=d[Ql];if(!p)return zf(d[kr],d);for(;p;){let m=null;if(Br(p))m=p[Ql];else{const P=p[rs];P&&(m=P)}if(!m){for(;p&&!p[Ss]&&p!==d;)Br(p)&&zf(p[kr],p),p=p[xo];null===p&&(p=d),Br(p)&&zf(p[kr],p),m=p&&p[Ss]}p=m}}(p)}}function zf(d,p){if(!(128&p[Qi])){p[Qi]&=-65,p[Qi]|=128,function mp(d,p){let m;if(null!=d&&null!=(m=d.destroyHooks))for(let P=0;P<m.length;P+=2){const H=p[m[P]];if(!(H instanceof zn)){const te=m[P+1];if(Array.isArray(te))for(let Ee=0;Ee<te.length;Ee+=2){const Ye=H[te[Ee]],nt=te[Ee+1];Mc(4,Ye,nt);try{nt.call(Ye)}finally{Mc(5,Ye,nt)}}else{Mc(4,H,te);try{te.call(H)}finally{Mc(5,H,te)}}}}}(d,p),function Vp(d,p){const m=d.cleanup,P=p[$s];let H=-1;if(null!==m)for(let te=0;te<m.length-1;te+=2)if("string"==typeof m[te]){const Ee=m[te+3];Ee>=0?P[H=Ee]():P[H=-Ee].unsubscribe(),te+=2}else{const Ee=P[H=m[te+1]];m[te].call(Ee)}if(null!==P){for(let te=H+1;te<P.length;te++)(0,P[te])();p[$s]=null}}(d,p),1===p[kr].type&&p[Do].destroy();const m=p[Pl];if(null!==m&&qi(p[xo])){m!==p[xo]&&Pf(m,p);const P=p[Ra];null!==P&&P.detachView(d)}!function Wa(d){Yf.delete(d[Fo])}(p)}}function m_(d,p,m){return g_(d,p.parent,m)}function g_(d,p,m){let P=p;for(;null!==P&&40&P.type;)P=(p=P).parent;if(null===P)return m[mn];{const{componentOffset:H}=P;if(H>-1){const{encapsulation:te}=d.data[P.directiveStart+H];if(te===nr.None||te===nr.Emulated)return null}return sc(P,m)}}function yf(d,p,m,P,H){d.insertBefore(p,m,P,H)}function yc(d,p,m){d.appendChild(p,m)}function hd(d,p,m,P,H){null!==P?yf(d,p,m,P,H):yc(d,p,m)}function Od(d,p){return d.parentNode(p)}function Yh(d,p,m){return L_(d,p,m)}function Wd(d,p,m){return 40&d.type?sc(d,m):null}let v_,Jd,C_,cf,L_=Wd;function jh(d,p){L_=d,v_=p}function gp(d,p,m,P){const H=m_(d,P,p),te=p[Do],Ye=Yh(P.parent||p[ko],P,p);if(null!=H)if(Array.isArray(m))for(let nt=0;nt<m.length;nt++)hd(te,H,m[nt],Ye,!1);else hd(te,H,m,Ye,!1);void 0!==v_&&v_(te,P,p,m,H)}function Wp(d,p){if(null!==p){const m=p.type;if(3&m)return sc(p,d);if(4&m)return Jp(-1,d[p.index]);if(8&m){const P=p.child;if(null!==P)return Wp(d,P);{const H=d[p.index];return qi(H)?Jp(-1,H):Ka(H)}}if(32&m)return lf(p,d)()||Ka(d[p.index]);{const P=k_(d,p);return null!==P?Array.isArray(P)?P[0]:Wp(vf(d[Ga]),P):Wp(d,p.next)}}return null}function k_(d,p){return null!==p?d[Ga][ko].projection[p.projection]:null}function Jp(d,p){const m=rs+d+1;if(m<p.length){const P=p[m],H=P[kr].firstChild;if(null!==H)return Wp(P,H)}return p[Qo]}function $_(d,p,m){const P=Od(d,p);P&&function Qm(d,p,m,P){d.removeChild(p,m,P)}(d,P,p,m)}function y_(d,p,m,P,H,te,Ee){for(;null!=m;){const Ye=P[m.index],nt=m.type;if(Ee&&0===p&&(Ye&&qu(Ka(Ye),P),m.flags|=2),32!=(32&m.flags))if(8&nt)y_(d,p,m.child,P,H,te,!1),Md(p,d,H,Ye,te);else if(32&nt){const Yt=lf(m,P);let Mn;for(;Mn=Yt();)Md(p,d,H,Mn,te);Md(p,d,H,Ye,te)}else 16&nt?E_(d,p,P,m,H,te):Md(p,d,H,Ye,te);m=Ee?m.projectionNext:m.next}}function Hd(d,p,m,P,H,te){y_(m,P,d.firstChild,p,H,te,!1)}function E_(d,p,m,P,H,te){const Ee=m[Ga],nt=Ee[ko].projection[P.projection];if(Array.isArray(nt))for(let Yt=0;Yt<nt.length;Yt++)Md(p,d,H,nt[Yt],te);else y_(d,p,nt,Ee[xo],H,te,!0)}function Qp(d,p,m){""===m?d.removeAttribute(p,"class"):d.setAttribute(p,"class",m)}function Ad(d,p,m){const{mergedAttrs:P,classes:H,styles:te}=m;null!==P&&ja(d,p,P),null!==H&&Qp(d,p,H),null!==te&&function Zh(d,p,m){d.setAttribute(p,"style",m)}(d,p,te)}function $a(d){return function Ef(){if(void 0===Jd&&(Jd=null,Ni.trustedTypes))try{Jd=Ni.trustedTypes.createPolicy("angular",{createHTML:d=>d,createScript:d=>d,createScriptURL:d=>d})}catch{}return Jd}()?.createHTML(d)||d}function yu(d){C_=d}function U_(){return void 0!==C_?C_:typeof document<"u"?document:void 0}function vp(){if(void 0===cf&&(cf=null,Ni.trustedTypes))try{cf=Ni.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:d=>d,createScript:d=>d,createScriptURL:d=>d})}catch{}return cf}function wu(d){return vp()?.createHTML(d)||d}function xf(d){return vp()?.createScriptURL(d)||d}class wf{constructor(p){this.changingThisBreaksApplicationSecurity=p}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${L})`}}class Kp extends wf{getTypeName(){return"HTML"}}class Np extends wf{getTypeName(){return"Style"}}class da extends wf{getTypeName(){return"Script"}}class G_ extends wf{getTypeName(){return"URL"}}class zh extends wf{getTypeName(){return"ResourceURL"}}function hu(d){return d instanceof wf?d.changingThisBreaksApplicationSecurity:d}function su(d,p){const m=function Ip(d){return d instanceof wf&&d.getTypeName()||null}(d);if(null!=m&&m!==p){if("ResourceURL"===m&&"URL"===p)return!0;throw new Error(`Required a safe ${p}, got a ${m} (see ${L})`)}return m===p}function Xp(d){return new Kp(d)}function Y_(d){return new Np(d)}function gh(d){return new da(d)}function Wf(d){return new G_(d)}function yp(d){return new zh(d)}function j_(d){const p=new Nf(d);return function vh(){try{return!!(new window.DOMParser).parseFromString($a(""),"text/html")}catch{return!1}}()?new Z_(p):p}class Z_{constructor(p){this.inertDocumentHelper=p}getInertBodyElement(p){p="<body><remove></remove>"+p;try{const m=(new window.DOMParser).parseFromString($a(p),"text/html").body;return null===m?this.inertDocumentHelper.getInertBodyElement(p):(m.removeChild(m.firstChild),m)}catch{return null}}}class Nf{constructor(p){this.defaultDoc=p,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(p){const m=this.inertDocument.createElement("template");return m.innerHTML=$a(p),m}}const T_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ep(d){return(d=String(d)).match(T_)?d:"unsafe:"+d}function Lu(d){const p={};for(const m of d.split(","))p[m]=!0;return p}function uf(...d){const p={};for(const m of d)for(const P in m)m.hasOwnProperty(P)&&(p[P]=!0);return p}const Jf=Lu("area,br,col,hr,img,wbr"),Fp=Lu("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Qd=Lu("rp,rt"),Dd=uf(Jf,uf(Fp,Lu("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),uf(Qd,Lu("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),uf(Qd,Fp)),Qf=Lu("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),If=uf(Qf,Lu("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Lu("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Ff=Lu("script,style,template");class yh{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(p){let m=p.firstChild,P=!0;for(;m;)if(m.nodeType===Node.ELEMENT_NODE?P=this.startElement(m):m.nodeType===Node.TEXT_NODE?this.chars(m.nodeValue):this.sanitizedSomething=!0,P&&m.firstChild)m=m.firstChild;else for(;m;){m.nodeType===Node.ELEMENT_NODE&&this.endElement(m);let H=this.checkClobberedElement(m,m.nextSibling);if(H){m=H;break}m=this.checkClobberedElement(m,m.parentNode)}return this.buf.join("")}startElement(p){const m=p.nodeName.toLowerCase();if(!Dd.hasOwnProperty(m))return this.sanitizedSomething=!0,!Ff.hasOwnProperty(m);this.buf.push("<"),this.buf.push(m);const P=p.attributes;for(let H=0;H<P.length;H++){const te=P.item(H),Ee=te.name,Ye=Ee.toLowerCase();if(!If.hasOwnProperty(Ye)){this.sanitizedSomething=!0;continue}let nt=te.value;Qf[Ye]&&(nt=Ep(nt)),this.buf.push(" ",Ee,'="',Wh(nt),'"')}return this.buf.push(">"),!0}endElement(p){const m=p.nodeName.toLowerCase();Dd.hasOwnProperty(m)&&!Jf.hasOwnProperty(m)&&(this.buf.push("</"),this.buf.push(m),this.buf.push(">"))}chars(p){this.buf.push(Wh(p))}checkClobberedElement(p,m){if(m&&(p.compareDocumentPosition(m)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${p.outerHTML}`);return m}}const _m=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,V_=/([^\#-~ |!])/g;function Wh(d){return d.replace(/&/g,"&amp;").replace(_m,function(p){return"&#"+(1024*(p.charCodeAt(0)-55296)+(p.charCodeAt(1)-56320)+65536)+";"}).replace(V_,function(p){return"&#"+p.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Eh;function W_(d,p){let m=null;try{Eh=Eh||j_(d);let P=p?String(p):"";m=Eh.getInertBodyElement(P);let H=5,te=P;do{if(0===H)throw new Error("Failed to sanitize html because the input is unstable");H--,P=te,te=m.innerHTML,m=Eh.getInertBodyElement(P)}while(P!==te);return $a((new yh).sanitizeChildren(od(m)||m))}finally{if(m){const P=od(m)||m;for(;P.firstChild;)P.removeChild(P.firstChild)}}}function od(d){return"content"in d&&function sd(d){return d.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===d.nodeName}(d)?d.content:null}var Mu=(()=>((Mu=Mu||{})[Mu.NONE=0]="NONE",Mu[Mu.HTML=1]="HTML",Mu[Mu.STYLE=2]="STYLE",Mu[Mu.SCRIPT=3]="SCRIPT",Mu[Mu.URL=4]="URL",Mu[Mu.RESOURCE_URL=5]="RESOURCE_URL",Mu))();function ad(d){const p=ld();return p?wu(p.sanitize(Mu.HTML,d)||""):su(d,"HTML")?wu(hu(d)):W_(U_(),j(d))}function Sh(d){const p=ld();return p?p.sanitize(Mu.URL,d)||"":su(d,"URL")?hu(d):Ep(j(d))}function b_(d){const p=ld();if(p)return xf(p.sanitize(Mu.RESOURCE_URL,d)||"");if(su(d,"ResourceURL"))return xf(hu(d));throw new J(904,!1)}function mm(d,p,m){return function hm(d,p){return"src"===p&&("embed"===d||"frame"===d||"iframe"===d||"media"===d||"script"===d)||"href"===p&&("base"===d||"link"===d)?b_:Sh}(p,m)(d)}function ld(){const d=Si();return d&&d[oc]}const Q_=new nc("ENVIRONMENT_INITIALIZER"),Pm=new nc("INJECTOR",-1),Sp=new nc("INJECTOR_DEF_TYPES");class Th{get(p,m=Bo){if(m===Bo){const P=new Error(`NullInjectorError: No provider for ${E(p)}!`);throw P.name="NullInjectorError",P}return m}}function Rd(d){return{\u0275providers:d}}function vm(...d){return{\u0275providers:Jh(0,d),\u0275fromNgModule:!0}}function Jh(d,...p){const m=[],P=new Set;let H;return Ne(p,te=>{const Ee=te;K_(Ee,m,[],P)&&(H||(H=[]),H.push(Ee))}),void 0!==H&&bh(H,m),m}function bh(d,p){for(let m=0;m<d.length;m++){const{providers:H}=d[m];M_(H,te=>{p.push(te)})}}function K_(d,p,m,P){if(!(d=$(d)))return!1;let H=null,te=Tr(d);const Ee=!te&&Gi(d);if(te||Ee){if(Ee&&!Ee.standalone)return!1;H=d}else{const nt=d.ngModule;if(te=Tr(nt),!te)return!1;H=nt}const Ye=P.has(H);if(Ee){if(Ye)return!1;if(P.add(H),Ee.dependencies){const nt="function"==typeof Ee.dependencies?Ee.dependencies():Ee.dependencies;for(const Yt of nt)K_(Yt,p,m,P)}}else{if(!te)return!1;{if(null!=te.imports&&!Ye){let Yt;P.add(H);try{Ne(te.imports,Mn=>{K_(Mn,p,m,P)&&(Yt||(Yt=[]),Yt.push(Mn))})}finally{}void 0!==Yt&&bh(Yt,p)}if(!Ye){const Yt=dl(H)||(()=>new H);p.push({provide:H,useFactory:Yt,deps:dr},{provide:Sp,useValue:H,multi:!0},{provide:Q_,useValue:()=>Qe(H),multi:!0})}const nt=te.providers;null==nt||Ye||M_(nt,Mn=>{p.push(Mn)})}}return H!==d&&void 0!==d.providers}function M_(d,p){for(let m of d)U(m)&&(m=m.\u0275providers),Array.isArray(m)?M_(m,p):p(m)}const F=f({provide:String,useValue:f});function oe(d){return null!==d&&"object"==typeof d&&F in d}function Re(d){return"function"==typeof d}const Rn=new nc("Set Injector scope."),Ar={},si={};let xi;function Li(){return void 0===xi&&(xi=new Th),xi}class Es{}class ns extends Es{get destroyed(){return this._destroyed}constructor(p,m,P,H){super(),this.parent=m,this.source=P,this.scopes=H,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Sr(p,Ee=>this.processProvider(Ee)),this.records.set(Pm,qe(void 0,this)),H.has("environment")&&this.records.set(Es,qe(void 0,this));const te=this.records.get(Rn);null!=te&&"string"==typeof te.value&&this.scopes.add(te.value),this.injectorDefTypes=new Set(this.get(Sp.multi,dr,rr.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const p of this._ngOnDestroyHooks)p.ngOnDestroy();for(const p of this._onDestroyHooks)p()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(p){this._onDestroyHooks.push(p)}runInContext(p){this.assertNotDestroyed();const m=ke(this),P=so(void 0);try{return p()}finally{ke(m),so(P)}}get(p,m=Bo,P=rr.Default){this.assertNotDestroyed(),P=ot(P);const H=ke(this),te=so(void 0);try{if(!(P&rr.SkipSelf)){let Ye=this.records.get(p);if(void 0===Ye){const nt=function $n(d){return"function"==typeof d||"object"==typeof d&&d instanceof nc}(p)&&wr(p);Ye=nt&&this.injectableDefInScope(nt)?qe(v(p),Ar):null,this.records.set(p,Ye)}if(null!=Ye)return this.hydrate(p,Ye)}return(P&rr.Self?Li():this.parent).get(p,m=P&rr.Optional&&m===Bo?null:m)}catch(Ee){if("NullInjectorError"===Ee.name){if((Ee[ts]=Ee[ts]||[]).unshift(E(p)),H)throw Ee;return function vr(d,p,m,P){const H=d[ts];throw p[Nn]&&H.unshift(p[Nn]),d.message=function An(d,p,m,P=null){d=d&&"\n"===d.charAt(0)&&d.charAt(1)==Pn?d.slice(2):d;let H=E(p);if(Array.isArray(p))H=p.map(E).join(" -> ");else if("object"==typeof p){let te=[];for(let Ee in p)if(p.hasOwnProperty(Ee)){let Ye=p[Ee];te.push(Ee+":"+("string"==typeof Ye?JSON.stringify(Ye):E(Ye)))}H=`{${te.join(", ")}}`}return`${m}${P?"("+P+")":""}[${H}]: ${d.replace(Vi,"\n ")}`}("\n"+d.message,H,m,P),d[io]=H,d[ts]=null,d}(Ee,p,"R3InjectorError",this.source)}throw Ee}finally{so(te),ke(H)}}resolveInjectorInitializers(){const p=ke(this),m=so(void 0);try{const P=this.get(Q_.multi,dr,rr.Self);for(const H of P)H()}finally{ke(p),so(m)}}toString(){const p=[],m=this.records;for(const P of m.keys())p.push(E(P));return`R3Injector[${p.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new J(205,!1)}processProvider(p){let m=Re(p=$(p))?p:$(p&&p.provide);const P=function Z(d){return oe(d)?qe(void 0,d.useValue):qe(Ae(d),Ar)}(p);if(Re(p)||!0!==p.multi)this.records.get(m);else{let H=this.records.get(m);H||(H=qe(void 0,Ar,!0),H.factory=()=>xt(H.multi),this.records.set(m,H)),m=p,H.multi.push(p)}this.records.set(m,P)}hydrate(p,m){return m.value===Ar&&(m.value=si,m.value=m.factory()),"object"==typeof m.value&&m.value&&function gn(d){return null!==d&&"object"==typeof d&&"function"==typeof d.ngOnDestroy}(m.value)&&this._ngOnDestroyHooks.add(m.value),m.value}injectableDefInScope(p){if(!p.providedIn)return!1;const m=$(p.providedIn);return"string"==typeof m?"any"===m||this.scopes.has(m):this.injectorDefTypes.has(m)}}function v(d){const p=wr(d),m=null!==p?p.factory:dl(d);if(null!==m)return m;if(d instanceof nc)throw new J(204,!1);if(d instanceof Function)return function R(d){const p=d.length;if(p>0)throw Ot(p,"?"),new J(204,!1);const m=function Ri(d){return d&&(d[ft]||d[At])||null}(d);return null!==m?()=>m.factory(d):()=>new d}(d);throw new J(204,!1)}function Ae(d,p,m){let P;if(Re(d)){const H=$(d);return dl(H)||v(H)}if(oe(d))P=()=>$(d.useValue);else if(function V(d){return!(!d||!d.useFactory)}(d))P=()=>d.useFactory(...xt(d.deps||[]));else if(function S(d){return!(!d||!d.useExisting)}(d))P=()=>Qe($(d.useExisting));else{const H=$(d&&(d.useClass||d.provide));if(!function wt(d){return!!d.deps}(d))return dl(H)||v(H);P=()=>new H(...xt(d.deps))}return P}function qe(d,p,m=!1){return{factory:d,value:p,multi:m?[]:void 0}}function Sr(d,p){for(const m of d)Array.isArray(m)?Sr(m,p):m&&U(m)?Sr(m.\u0275providers,p):p(m)}class Di{}class jo{}class pa{resolveComponentFactory(p){throw function Ns(d){const p=Error(`No component factory found for ${E(d)}. Did you add it to @NgModule.entryComponents?`);return p.ngComponent=d,p}(p)}}let ya=(()=>{class d{}return d.NULL=new pa,d})();function hi(){return Jr(Zl(),Si())}function Jr(d,p){return new pi(sc(d,p))}let pi=(()=>{class d{constructor(m){this.nativeElement=m}}return d.__NG_ELEMENT_ID__=hi,d})();function _o(d){return d instanceof pi?d.nativeElement:d}class go{}let al=(()=>{class d{}return d.__NG_ELEMENT_ID__=()=>function Bs(){const d=Si(),m=ba(Zl().index,d);return(Br(m)?m:d)[Do]}(),d})(),Ja=(()=>{class d{}return d.\u0275prov=kn({token:d,providedIn:"root",factory:()=>null}),d})();class kl{constructor(p){this.full=p,this.major=p.split(".")[0],this.minor=p.split(".")[1],this.patch=p.split(".").slice(2).join(".")}}const ll=new kl("15.2.9"),df={},kf="ngOriginalError";function Mh(d){return d[kf]}class X_{constructor(){this._console=console}handleError(p){const m=this._findOriginalError(p);this._console.error("ERROR",p),m&&this._console.error("ORIGINAL ERROR",m)}_findOriginalError(p){let m=p&&Mh(p);for(;m&&Mh(m);)m=Mh(m);return m||null}}function wm(d){return d.ownerDocument.defaultView}function Nm(d){return d.ownerDocument.body}function td(d){return d instanceof Function?d():d}function Dg(d,p,m){let P=d.length;for(;;){const H=d.indexOf(p,m);if(-1===H)return H;if(0===H||d.charCodeAt(H-1)<=32){const te=p.length;if(H+te===P||d.charCodeAt(H+te)<=32)return H}m=H+1}}const a1="ng-template";function nv(d,p,m){let P=0,H=!0;for(;P<d.length;){let te=d[P++];if("string"==typeof te&&H){const Ee=d[P++];if(m&&"class"===te&&-1!==Dg(Ee.toLowerCase(),p,0))return!0}else{if(1===te){for(;P<d.length&&"string"==typeof(te=d[P++]);)if(te.toLowerCase()===p)return!0;return!1}"number"==typeof te&&(H=!1)}}return!1}function rv(d){return 4===d.type&&d.value!==a1}function iv(d,p,m){return p===(4!==d.type||m?d.value:a1)}function l1(d,p,m){let P=4;const H=d.attrs||[],te=function av(d){for(let p=0;p<d.length;p++)if(Ea(d[p]))return p;return d.length}(H);let Ee=!1;for(let Ye=0;Ye<p.length;Ye++){const nt=p[Ye];if("number"!=typeof nt){if(!Ee)if(4&P){if(P=2|1&P,""!==nt&&!iv(d,nt,m)||""===nt&&1===p.length){if(t_(P))return!1;Ee=!0}}else{const Yt=8&P?nt:p[++Ye];if(8&P&&null!==d.attrs){if(!nv(d.attrs,Yt,m)){if(t_(P))return!1;Ee=!0}continue}const ir=ov(8&P?"class":nt,H,rv(d),m);if(-1===ir){if(t_(P))return!1;Ee=!0;continue}if(""!==Yt){let ti;ti=ir>te?"":H[ir+1].toLowerCase();const Pi=8&P?ti:null;if(Pi&&-1!==Dg(Pi,Yt,0)||2&P&&Yt!==ti){if(t_(P))return!1;Ee=!0}}}}else{if(!Ee&&!t_(P)&&!t_(nt))return!1;if(Ee&&t_(nt))continue;Ee=!1,P=nt|1&P}}return t_(P)||Ee}function t_(d){return 0==(1&d)}function ov(d,p,m,P){if(null===p)return-1;let H=0;if(P||!m){let te=!1;for(;H<p.length;){const Ee=p[H];if(Ee===d)return H;if(3===Ee||6===Ee)te=!0;else{if(1===Ee||2===Ee){let Ye=p[++H];for(;"string"==typeof Ye;)Ye=p[++H];continue}if(4===Ee)break;if(0===Ee){H+=4;continue}}H+=te?1:2}return-1}return function Xh(d,p){let m=d.indexOf(4);if(m>-1)for(m++;m<d.length;){const P=d[m];if("number"==typeof P)return-1;if(P===p)return m;m++}return-1}(p,d)}function Rg(d,p,m=!1){for(let P=0;P<p.length;P++)if(l1(d,p[P],m))return!0;return!1}function lv(d,p){e:for(let m=0;m<p.length;m++){const P=p[m];if(d.length===P.length){for(let H=0;H<d.length;H++)if(d[H]!==P[H])continue e;return!0}}return!1}function Pg(d,p){return d?":not("+p.trim()+")":p}function c1(d){let p=d[0],m=1,P=2,H="",te=!1;for(;m<d.length;){let Ee=d[m];if("string"==typeof Ee)if(2&P){const Ye=d[++m];H+="["+Ee+(Ye.length>0?'="'+Ye+'"':"")+"]"}else 8&P?H+="."+Ee:4&P&&(H+=" "+Ee);else""!==H&&!t_(Ee)&&(p+=Pg(te,H),H=""),P=Ee,te=te||!t_(P);m++}return""!==H&&(p+=Pg(te,H)),p}const $l={};function wg(d){Ng(ca(),Si(),Kt()+d,!1)}function Ng(d,p,m,P){if(!P)if(3==(3&p[Qi])){const te=d.preOrderCheckHooks;null!==te&&Ma(p,te,m)}else{const te=d.preOrderHooks;null!==te&&ss(p,te,0,m)}Bn(m)}function _1(d,p=null,m=null,P){const H=h1(d,p,m,P);return H.resolveInjectorInitializers(),H}function h1(d,p=null,m=null,P,H=new Set){const te=[m||dr,vm(d)];return P=P||("object"==typeof d?void 0:E(d)),new ns(te,p||Li(),P||null,H)}let qh=(()=>{class d{static create(m,P){if(Array.isArray(m))return _1({name:""},P,m,"");{const H=m.name??"";return _1({name:H},m.parent,m.providers,H)}}}return d.THROW_IF_NOT_FOUND=Bo,d.NULL=new Th,d.\u0275prov=kn({token:d,providedIn:"any",factory:()=>Qe(Pm)}),d.__NG_ELEMENT_ID__=-1,d})();function Ah(d,p=rr.Default){const m=Si();return null===m?Qe(d,p):tc(Zl(),m,$(d),p)}function Hg(){throw new Error("invalid")}function y1(d,p){const m=d.contentQueries;if(null!==m)for(let P=0;P<m.length;P+=2){const te=m[P+1];if(-1!==te){const Ee=d.data[te];ai(m[P]),Ee.contentQueries(2,p[te],te)}}}function rg(d,p,m,P,H,te,Ee,Ye,nt,Yt,Mn){const ir=p.blueprint.slice();return ir[mn]=H,ir[Qi]=76|P,(null!==Mn||d&&1024&d[Qi])&&(ir[Qi]|=1024),yl(ir),ir[xo]=ir[Da]=d,ir[ps]=m,ir[ra]=Ee||d&&d[ra],ir[Do]=Ye||d&&d[Do],ir[oc]=nt||d&&d[oc]||null,ir[Ys]=Yt||d&&d[Ys]||null,ir[ko]=te,ir[Fo]=function Rf(){return jp++}(),ir[Cs]=Mn,ir[Ga]=2==p.type?d[Ga]:ir,ir}function Dh(d,p,m,P,H){let te=d.data[p];if(null===te)te=Xd(d,p,m,P,H),function gt(){return Zs.lFrame.inI18n}()&&(te.flags|=32);else if(64&te.type){te.type=m,te.value=P,te.attrs=H;const Ee=gc();te.injectorIndex=null===Ee?-1:Ee.injectorIndex}return zl(te,!0),te}function Xd(d,p,m,P,H){const te=qc(),Ee=Ju(),nt=d.data[p]=function Ph(d,p,m,P,H,te){return{type:m,index:P,insertBeforeIndex:null,injectorIndex:p?p.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:H,attrs:te,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:p,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,Ee?te:te&&te.parent,m,p,P,H);return null===d.firstChild&&(d.firstChild=nt),null!==te&&(Ee?null==te.child&&null!==nt.parent&&(te.child=nt):null===te.next&&(te.next=nt,nt.prev=te)),nt}function Xf(d,p,m,P){if(0===m)return-1;const H=p.length;for(let te=0;te<m;te++)p.push(P),d.blueprint.push(P),d.data.push(null);return H}function $f(d,p,m){Yo(p);try{const P=d.viewQuery;null!==P&&cg(1,P,m);const H=d.template;null!==H&&og(d,p,H,1,m),d.firstCreatePass&&(d.firstCreatePass=!1),d.staticContentQueries&&y1(d,p),d.staticViewQueries&&cg(2,d.viewQuery,m);const te=d.components;null!==te&&function Cv(d,p){for(let m=0;m<p.length;m++)Rv(d,p[m])}(p,te)}catch(P){throw d.firstCreatePass&&(d.incompleteFirstPass=!0,d.firstCreatePass=!1),P}finally{p[Qi]&=-5,Le()}}function ig(d,p,m,P){const H=p[Qi];if(128!=(128&H)){Yo(p);try{yl(p),function qa(d){return Zs.lFrame.bindingIndex=d}(d.bindingStartIndex),null!==m&&og(d,p,m,2,P);const Ee=3==(3&H);if(Ee){const Yt=d.preOrderCheckHooks;null!==Yt&&Ma(p,Yt,null)}else{const Yt=d.preOrderHooks;null!==Yt&&ss(p,Yt,0,null),se(p,0)}if(function qd(d){for(let p=_d(d);null!==p;p=xu(p)){if(!p[ma])continue;const m=p[ys];for(let P=0;P<m.length;P++){const H=m[P];512&H[Qi]||Dc(H[xo],1),H[Qi]|=512}}}(p),function Dv(d){for(let p=_d(d);null!==p;p=xu(p))for(let m=rs;m<p.length;m++){const P=p[m],H=P[kr];Oc(P)&&ig(H,P,H.template,P[ps])}}(p),null!==d.contentQueries&&y1(d,p),Ee){const Yt=d.contentCheckHooks;null!==Yt&&Ma(p,Yt)}else{const Yt=d.contentHooks;null!==Yt&&ss(p,Yt,1),se(p,1)}!function Ev(d,p){const m=d.hostBindingOpCodes;if(null!==m)try{for(let P=0;P<m.length;P++){const H=m[P];if(H<0)Bn(~H);else{const te=H,Ee=m[++P],Ye=m[++P];Gt(Ee,te),Ye(2,p[te])}}}finally{Bn(-1)}}(d,p);const Ye=d.components;null!==Ye&&function Sv(d,p){for(let m=0;m<p.length;m++)ep(d,p[m])}(p,Ye);const nt=d.viewQuery;if(null!==nt&&cg(2,nt,P),Ee){const Yt=d.viewCheckHooks;null!==Yt&&Ma(p,Yt)}else{const Yt=d.viewHooks;null!==Yt&&ss(p,Yt,2),se(p,2)}!0===d.firstUpdatePass&&(d.firstUpdatePass=!1),p[Qi]&=-41,512&p[Qi]&&(p[Qi]&=-513,Dc(p[xo],-1))}finally{Le()}}}function og(d,p,m,P,H){const te=Kt(),Ee=2&P;try{Bn(-1),Ee&&p.length>Ks&&Ng(d,p,Ks,!1),Mc(Ee?2:0,H),m(P,H)}finally{Bn(te),Mc(Ee?3:1,H)}}function qf(d,p,m){if(_t(p)){const H=p.directiveEnd;for(let te=p.directiveStart;te<H;te++){const Ee=d.data[te];Ee.contentQueries&&Ee.contentQueries(1,m[te],te)}}}function nm(d,p,m){vi()&&(function mu(d,p,m,P){const H=m.directiveStart,te=m.directiveEnd;On(m)&&function jg(d,p,m){const P=sc(p,d),H=Tv(m),te=d[ra],Ee=Lm(d,rg(d,H,null,m.onPush?32:16,P,p,te,te.createRenderer(P,m),null,null,null));d[p.index]=Ee}(p,m,d.data[H+m.componentOffset]),d.firstCreatePass||Wo(m,p),qu(P,p);const Ee=m.initialInputs;for(let Ye=H;Ye<te;Ye++){const nt=d.data[Ye],Yt=du(p,d,Ye,m);qu(Yt,p),null!==Ee&&sg(0,Ye-H,Yt,nt,0,Ee),We(nt)&&(ba(m.index,p)[ps]=du(p,d,Ye,m))}}(d,p,m,sc(m,p)),64==(64&m.flags)&&Gg(d,p,m))}function E1(d,p,m=sc){const P=p.localNames;if(null!==P){let H=p.index+1;for(let te=0;te<P.length;te+=2){const Ee=P[te+1],Ye=-1===Ee?m(p,d):d[Ee];d[H++]=Ye}}}function Tv(d){const p=d.tView;return null===p||p.incompleteFirstPass?d.tView=S1(1,null,d.template,d.decls,d.vars,d.directiveDefs,d.pipeDefs,d.viewQuery,d.schemas,d.consts):p}function S1(d,p,m,P,H,te,Ee,Ye,nt,Yt){const Mn=Ks+P,ir=Mn+H,ti=function E0(d,p){const m=[];for(let P=0;P<p;P++)m.push(P<d?null:$l);return m}(Mn,ir),Pi="function"==typeof Yt?Yt():Yt;return ti[kr]={type:d,blueprint:ti,template:m,queries:null,viewQuery:Ye,declTNode:p,data:ti.slice().fill(null,Mn),bindingStartIndex:Mn,expandoStartIndex:ir,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof te?te():te,pipeRegistry:"function"==typeof Ee?Ee():Ee,firstChild:null,schemas:nt,consts:Pi,incompleteFirstPass:!1}}function Rh(d,p,m,P){const H=$m(p);null===m?H.push(P):(H.push(m),d.firstCreatePass&&xh(d).push(P,H.length-1))}function rc(d,p,m,P){for(let H in d)if(d.hasOwnProperty(H)){m=null===m?{}:m;const te=d[H];null===P?C1(m,p,H,te):P.hasOwnProperty(H)&&C1(m,p,P[H],te)}return m}function C1(d,p,m,P){d.hasOwnProperty(m)?d[m].push(p,P):d[m]=[p,P]}function Up(d,p,m,P,H,te,Ee,Ye){const nt=sc(p,m);let Mn,Yt=p.inputs;!Ye&&null!=Yt&&(Mn=Yt[P])?(zg(d,m,Mn,P,H),On(p)&&function Eu(d,p){const m=ba(p,d);16&m[Qi]||(m[Qi]|=32)}(m,p.index)):3&p.type&&(P=function bv(d){return"class"===d?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d}(P),H=null!=Ee?Ee(H,p.value||"",P):H,te.setProperty(nt,P,H))}function Fm(d,p,m,P){if(vi()){const H=null===P?null:{"":-1},te=function Wc(d,p){const m=d.directiveRegistry;let P=null,H=null;if(m)for(let te=0;te<m.length;te++){const Ee=m[te];if(Rg(p,Ee.selectors,!1))if(P||(P=[]),We(Ee))if(null!==Ee.findHostDirectiveDefs){const Ye=[];H=H||new Map,Ee.findHostDirectiveDefs(Ee,Ye,H),P.unshift(...Ye,Ee),Os(d,p,Ye.length)}else P.unshift(Ee),Os(d,p,0);else H=H||new Map,Ee.findHostDirectiveDefs?.(Ee,P,H),P.push(Ee)}return null===P?null:[P,H]}(d,m);let Ee,Ye;null===te?Ee=Ye=null:[Ee,Ye]=te,null!==Ee&&Bg(d,p,m,Ee,H,Ye),H&&function wc(d,p,m){if(p){const P=d.localNames=[];for(let H=0;H<p.length;H+=2){const te=m[p[H+1]];if(null==te)throw new J(-301,!1);P.push(p[H],te)}}}(m,P,H)}m.mergedAttrs=Bc(m.mergedAttrs,m.attrs)}function Bg(d,p,m,P,H,te){for(let Yt=0;Yt<P.length;Yt++)Tu(Wo(m,p),d,P[Yt].type);!function q_(d,p,m){d.flags|=1,d.directiveStart=p,d.directiveEnd=p+m,d.providerIndexes=p}(m,d.data.length,P.length);for(let Yt=0;Yt<P.length;Yt++){const Mn=P[Yt];Mn.providersResolver&&Mn.providersResolver(Mn)}let Ee=!1,Ye=!1,nt=Xf(d,p,P.length,null);for(let Yt=0;Yt<P.length;Yt++){const Mn=P[Yt];m.mergedAttrs=Bc(m.mergedAttrs,Mn.hostAttrs),Ud(d,m,p,nt,Mn),Yg(nt,Mn,H),null!==Mn.contentQueries&&(m.flags|=4),(null!==Mn.hostBindings||null!==Mn.hostAttrs||0!==Mn.hostVars)&&(m.flags|=64);const ir=Mn.type.prototype;!Ee&&(ir.ngOnChanges||ir.ngOnInit||ir.ngDoCheck)&&((d.preOrderHooks??(d.preOrderHooks=[])).push(m.index),Ee=!0),!Ye&&(ir.ngOnChanges||ir.ngDoCheck)&&((d.preOrderCheckHooks??(d.preOrderCheckHooks=[])).push(m.index),Ye=!0),nt++}!function r_(d,p,m){const H=p.directiveEnd,te=d.data,Ee=p.attrs,Ye=[];let nt=null,Yt=null;for(let Mn=p.directiveStart;Mn<H;Mn++){const ir=te[Mn],ti=m?m.get(ir):null,mo=ti?ti.outputs:null;nt=rc(ir.inputs,Mn,nt,ti?ti.inputs:null),Yt=rc(ir.outputs,Mn,Yt,mo);const _s=null===nt||null===Ee||rv(p)?null:Av(nt,Mn,Ee);Ye.push(_s)}null!==nt&&(nt.hasOwnProperty("class")&&(p.flags|=8),nt.hasOwnProperty("style")&&(p.flags|=16)),p.initialInputs=Ye,p.inputs=nt,p.outputs=Yt}(d,m,te)}function Gg(d,p,m){const P=m.directiveStart,H=m.directiveEnd,te=m.index,Ee=function xn(){return Zs.lFrame.currentDirectiveIndex}();try{Bn(te);for(let Ye=P;Ye<H;Ye++){const nt=d.data[Ye],Yt=p[Ye];lr(Ye),(null!==nt.hostBindings||0!==nt.hostVars||null!==nt.hostAttrs)&&Ov(nt,Yt)}}finally{Bn(-1),lr(Ee)}}function Ov(d,p){null!==d.hostBindings&&d.hostBindings(1,p)}function Os(d,p,m){p.componentOffset=m,(d.components??(d.components=[])).push(p.index)}function Yg(d,p,m){if(m){if(p.exportAs)for(let P=0;P<p.exportAs.length;P++)m[p.exportAs[P]]=d;We(p)&&(m[""]=d)}}function Ud(d,p,m,P,H){d.data[P]=H;const te=H.factory||(H.factory=dl(H.type)),Ee=new zn(te,We(H),Ah);d.blueprint[P]=Ee,m[P]=Ee,function vd(d,p,m,P,H){const te=H.hostBindings;if(te){let Ee=d.hostBindingOpCodes;null===Ee&&(Ee=d.hostBindingOpCodes=[]);const Ye=~p.index;(function Cf(d){let p=d.length;for(;p>0;){const m=d[--p];if("number"==typeof m&&m<0)return m}return 0})(Ee)!=Ye&&Ee.push(Ye),Ee.push(m,P,te)}}(d,p,P,Xf(d,m,H.hostVars,$l),H)}function Tp(d,p,m,P,H,te,Ee){if(null==te)d.removeAttribute(p,H,m);else{const Ye=null==Ee?j(te):Ee(te,P||"",H);d.setAttribute(p,H,Ye,m)}}function sg(d,p,m,P,H,te){const Ee=te[p];if(null!==Ee){const Ye=P.setInput;for(let nt=0;nt<Ee.length;){const Yt=Ee[nt++],Mn=Ee[nt++],ir=Ee[nt++];null!==Ye?P.setInput(m,ir,Yt,Mn):m[Mn]=ir}}}function Av(d,p,m){let P=null,H=0;for(;H<m.length;){const te=m[H];if(0!==te)if(5!==te){if("number"==typeof te)break;if(d.hasOwnProperty(te)){null===P&&(P=[]);const Ee=d[te];for(let Ye=0;Ye<Ee.length;Ye+=2)if(Ee[Ye]===p){P.push(te,Ee[Ye+1],m[H+1]);break}}H+=2}else H+=2;else H+=4}return P}function T1(d,p,m,P){return[d,!0,!1,p,null,0,P,m,null,null]}function ep(d,p){const m=ba(p,d);if(Oc(m)){const P=m[kr];48&m[Qi]?ig(P,m,P.template,m[ps]):m[bs]>0&&ag(m)}}function ag(d){for(let P=_d(d);null!==P;P=xu(P))for(let H=rs;H<P.length;H++){const te=P[H];if(Oc(te))if(512&te[Qi]){const Ee=te[kr];ig(Ee,te,Ee.template,te[ps])}else te[bs]>0&&ag(te)}const m=d[kr].components;if(null!==m)for(let P=0;P<m.length;P++){const H=ba(m[P],d);Oc(H)&&H[bs]>0&&ag(H)}}function Rv(d,p){const m=ba(p,d),P=m[kr];(function Pv(d,p){for(let m=p.length;m<d.blueprint.length;m++)p.push(d.blueprint[m])})(P,m),$f(P,m,m[ps])}function Lm(d,p){return d[Ql]?d[tl][Ss]=p:d[Ql]=p,d[tl]=p,p}function km(d){for(;d;){d[Qi]|=32;const p=vf(d);if(on(d)&&!p)return d;d=p}return null}function lg(d,p,m,P=!0){const H=p[ra];H.begin&&H.begin();try{ig(d,p,d.template,m)}catch(Ee){throw P&&Zg(p,Ee),Ee}finally{H.end&&H.end()}}function cg(d,p,m){ai(0),p(d,m)}function $m(d){return d[$s]||(d[$s]=[])}function xh(d){return d.cleanup||(d.cleanup=[])}function Zg(d,p){const m=d[Ys],P=m?m.get(X_,null):null;P&&P.handleError(p)}function zg(d,p,m,P,H){for(let te=0;te<m.length;){const Ee=m[te++],Ye=m[te++],nt=p[Ee],Yt=d.data[Ee];null!==Yt.setInput?Yt.setInput(nt,H,P,Ye):nt[Ye]=H}}function A_(d,p,m){const P=Xc(p,d);Uh(d[Do],P,m)}function Hm(d,p,m){let P=m?d.styles:null,H=m?d.classes:null,te=0;if(null!==p)for(let Ee=0;Ee<p.length;Ee++){const Ye=p[Ee];"number"==typeof Ye?te=Ye:1==te?H=T(H,Ye):2==te&&(P=T(P,Ye+": "+p[++Ee]+";"))}m?d.styles=P:d.stylesWithoutHost=P,m?d.classes=H:d.classesWithoutHost=H}function Um(d,p,m,P,H=!1){for(;null!==m;){const te=p[m.index];if(null!==te&&P.push(Ka(te)),qi(te))for(let Ye=rs;Ye<te.length;Ye++){const nt=te[Ye],Yt=nt[kr].firstChild;null!==Yt&&Um(nt[kr],nt,Yt,P)}const Ee=m.type;if(8&Ee)Um(d,p,m.child,P);else if(32&Ee){const Ye=lf(m,p);let nt;for(;nt=Ye();)P.push(nt)}else if(16&Ee){const Ye=k_(p,m);if(Array.isArray(Ye))P.push(...Ye);else{const nt=vf(p[Ga]);Um(nt[kr],nt,Ye,P,!0)}}m=H?m.projectionNext:m.next}return P}class eh{get rootNodes(){const p=this._lView,m=p[kr];return Um(m,p,m.firstChild,[])}constructor(p,m){this._lView=p,this._cdRefInjectingView=m,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ps]}set context(p){this._lView[ps]=p}get destroyed(){return 128==(128&this._lView[Qi])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const p=this._lView[xo];if(qi(p)){const m=p[Go],P=m?m.indexOf(this):-1;P>-1&&(Gh(p,P),Ze(m,P))}this._attachedToViewContainer=!1}fm(this._lView[kr],this._lView)}onDestroy(p){Rh(this._lView[kr],this._lView,null,p)}markForCheck(){km(this._cdRefInjectingView||this._lView)}detach(){this._lView[Qi]&=-65}reattach(){this._lView[Qi]|=64}detectChanges(){lg(this._lView[kr],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new J(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Dm(d,p){Hd(d,p,p[Do],2,null,null)}(this._lView[kr],this._lView)}attachToAppRef(p){if(this._attachedToViewContainer)throw new J(902,!1);this._appRef=p}}class wv extends eh{constructor(p){super(p),this._view=p}detectChanges(){const p=this._view;lg(p[kr],p,p[ps],!1)}checkNoChanges(){}get context(){return null}}class Vg extends ya{constructor(p){super(),this.ngModule=p}resolveComponentFactory(p){const m=Gi(p);return new ee(m,this.ngModule)}}function b1(d){const p=[];for(let m in d)d.hasOwnProperty(m)&&p.push({propName:d[m],templateName:m});return p}class I{constructor(p,m){this.injector=p,this.parentInjector=m}get(p,m,P){P=ot(P);const H=this.injector.get(p,df,P);return H!==df||m===df?H:this.parentInjector.get(p,m,P)}}class ee extends jo{get inputs(){return b1(this.componentDef.inputs)}get outputs(){return b1(this.componentDef.outputs)}constructor(p,m){super(),this.componentDef=p,this.ngModule=m,this.componentType=p.type,this.selector=function xg(d){return d.map(c1).join(",")}(p.selectors),this.ngContentSelectors=p.ngContentSelectors?p.ngContentSelectors:[],this.isBoundToModule=!!m}create(p,m,P,H){let te=(H=H||this.ngModule)instanceof Es?H:H?.injector;te&&null!==this.componentDef.getStandaloneInjector&&(te=this.componentDef.getStandaloneInjector(te)||te);const Ee=te?new I(p,te):p,Ye=Ee.get(go,null);if(null===Ye)throw new J(407,!1);const nt=Ee.get(Ja,null),Yt=Ye.createRenderer(null,this.componentDef),Mn=this.componentDef.selectors[0][0]||"div",ir=P?function Ug(d,p,m){return d.selectRootElement(p,m===nr.ShadowDom)}(Yt,P,this.componentDef.encapsulation):_h(Yt,Mn,function Nv(d){const p=d.toLowerCase();return"svg"===p?"svg":"math"===p?"math":null}(Mn)),ti=this.componentDef.onPush?288:272,Pi=S1(0,null,null,1,0,null,null,null,null,null),mo=rg(null,Pi,null,ti,null,null,Ye,Yt,nt,Ee,null);let _s,Js;Yo(mo);try{const Oa=this.componentDef;let Dl,Ko=null;Oa.findHostDirectiveDefs?(Dl=[],Ko=new Map,Oa.findHostDirectiveDefs(Oa,Dl,Ko),Dl.push(Oa)):Dl=[Oa];const ic=function Mt(d,p){const m=d[kr],P=Ks;return d[P]=p,Dh(m,P,2,"#host",null)}(mo,ir),wd=function an(d,p,m,P,H,te,Ee,Ye){const nt=H[kr];!function Er(d,p,m,P){for(const H of d)p.mergedAttrs=Bc(p.mergedAttrs,H.hostAttrs);null!==p.mergedAttrs&&(Hm(p,p.mergedAttrs,!0),null!==m&&Ad(P,m,p))}(P,d,p,Ee);const Yt=te.createRenderer(p,m),Mn=rg(H,Tv(m),null,m.onPush?32:16,H[d.index],d,te,Yt,Ye||null,null,null);return nt.firstCreatePass&&Os(nt,d,P.length-1),Lm(H,Mn),H[d.index]=Mn}(ic,ir,Oa,Dl,mo,Ye,Yt);Js=Ic(Pi,Ks),ir&&function es(d,p,m,P){if(P)ja(d,m,["ng-version",ll.full]);else{const{attrs:H,classes:te}=function u1(d){const p=[],m=[];let P=1,H=2;for(;P<d.length;){let te=d[P];if("string"==typeof te)2===H?""!==te&&p.push(te,d[++P]):8===H&&m.push(te);else{if(!t_(H))break;H=te}P++}return{attrs:p,classes:m}}(p.selectors[0]);H&&ja(d,m,H),te&&te.length>0&&Qp(d,m,te.join(" "))}}(Yt,Oa,ir,P),void 0!==m&&function ws(d,p,m){const P=d.projection=[];for(let H=0;H<p.length;H++){const te=m[H];P.push(null!=te?Array.from(te):null)}}(Js,this.ngContentSelectors,m),_s=function li(d,p,m,P,H,te){const Ee=Zl(),Ye=H[kr],nt=sc(Ee,H);Bg(Ye,H,Ee,m,null,P);for(let Mn=0;Mn<m.length;Mn++)qu(du(H,Ye,Ee.directiveStart+Mn,Ee),H);Gg(Ye,H,Ee),nt&&qu(nt,H);const Yt=du(H,Ye,Ee.directiveStart+Ee.componentOffset,Ee);if(d[ps]=H[ps]=Yt,null!==te)for(const Mn of te)Mn(Yt,p);return qf(Ye,Ee,d),Yt}(wd,Oa,Dl,Ko,mo,[Ha]),$f(Pi,mo,null)}finally{Le()}return new z(this.componentType,_s,Jr(Js,mo),mo,Js)}}class z extends Di{constructor(p,m,P,H,te){super(),this.location=P,this._rootLView=H,this._tNode=te,this.instance=m,this.hostView=this.changeDetectorRef=new wv(H),this.componentType=p}setInput(p,m){const P=this._tNode.inputs;let H;if(null!==P&&(H=P[p])){const te=this._rootLView;zg(te[kr],te,H,p,m),km(ba(this._tNode.index,te))}}get injector(){return new xa(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(p){this.hostView.onDestroy(p)}}function Ha(){const d=Zl();us(Si()[kr],d)}function Vl(d){let p=function cl(d){return Object.getPrototypeOf(d.prototype).constructor}(d.type),m=!0;const P=[d];for(;p;){let H;if(We(d))H=p.\u0275cmp||p.\u0275dir;else{if(p.\u0275cmp)throw new J(903,!1);H=p.\u0275dir}if(H){if(m){P.push(H);const Ee=d;Ee.inputs=Lc(d.inputs),Ee.declaredInputs=Lc(d.declaredInputs),Ee.outputs=Lc(d.outputs);const Ye=H.hostBindings;Ye&&Vu(d,Ye);const nt=H.viewQuery,Yt=H.contentQueries;if(nt&&lu(d,nt),Yt&&ku(d,Yt),h(d.inputs,H.inputs),h(d.declaredInputs,H.declaredInputs),h(d.outputs,H.outputs),We(H)&&H.data.animation){const Mn=d.data;Mn.animation=(Mn.animation||[]).concat(H.data.animation)}}const te=H.features;if(te)for(let Ee=0;Ee<te.length;Ee++){const Ye=te[Ee];Ye&&Ye.ngInherit&&Ye(d),Ye===Vl&&(m=!1)}}p=Object.getPrototypeOf(p)}!function zu(d){let p=0,m=null;for(let P=d.length-1;P>=0;P--){const H=d[P];H.hostVars=p+=H.hostVars,H.hostAttrs=Bc(H.hostAttrs,m=Bc(m,H.hostAttrs))}}(P)}function Lc(d){return d===Qn?{}:d===dr?[]:d}function lu(d,p){const m=d.viewQuery;d.viewQuery=m?(P,H)=>{p(P,H),m(P,H)}:p}function ku(d,p){const m=d.contentQueries;d.contentQueries=m?(P,H,te)=>{p(P,H,te),m(P,H,te)}:p}function Vu(d,p){const m=d.hostBindings;d.hostBindings=m?(P,H)=>{p(P,H),m(P,H)}:p}function th(d){return p=>{p.findHostDirectiveDefs=Pd,p.hostDirectives=(Array.isArray(d)?d:d()).map(m=>"function"==typeof m?{directive:$(m),inputs:Qn,outputs:Qn}:{directive:$(m.directive),inputs:nh(m.inputs),outputs:nh(m.outputs)})}}function Pd(d,p,m){if(null!==d.hostDirectives)for(const P of d.hostDirectives){const H=Wi(P.directive);Bm(H.declaredInputs,P.inputs),Pd(H,p,m),m.set(H,P),p.push(H)}}function nh(d){if(void 0===d||0===d.length)return Qn;const p={};for(let m=0;m<d.length;m+=2)p[d[m]]=d[m+1];return p}function Bm(d,p){for(const m in p)p.hasOwnProperty(m)&&(d[p[m]]=d[m])}function dg(d){return!!Fv(d)&&(Array.isArray(d)||!(d instanceof Map)&&Symbol.iterator in d)}function Fv(d){return null!==d&&("function"==typeof d||"object"==typeof d)}function R_(d,p,m){return d[p]=m}function Gm(d,p){return d[p]}function tp(d,p,m){return!Object.is(d[p],m)&&(d[p]=m,!0)}function Ym(d,p,m,P){const H=tp(d,p,m);return tp(d,p+1,P)||H}function M1(d,p,m,P,H){const te=Ym(d,p,m,P);return tp(d,p+2,H)||te}function nd(d,p,m,P,H,te){const Ee=Ym(d,p,m,P);return Ym(d,p+2,H,te)||Ee}function Wg(d,p,m,P){const H=Si();return tp(H,X(),p)&&(ca(),function Hf(d,p,m,P,H,te){const Ee=sc(d,p);Tp(p[Do],Ee,te,d.value,m,P,H)}(sr(),H,d,p,m,P)),Wg}function pg(d,p,m,P){return tp(d,X(),m)?p+j(m)+P:$l}function Sm(d,p,m,P,H,te){const Ye=Ym(d,rl(),m,H);return Ce(2),Ye?p+j(m)+P+j(H)+te:$l}function x0(d,p,m,P,H,te,Ee,Ye){const nt=Si(),Yt=ca(),Mn=d+Ks,ir=Yt.firstCreatePass?function Iy(d,p,m,P,H,te,Ee,Ye,nt){const Yt=p.consts,Mn=Dh(p,d,4,Ee||null,jl(Yt,Ye));Fm(p,m,Mn,jl(Yt,nt)),us(p,Mn);const ir=Mn.tView=S1(2,Mn,P,H,te,p.directiveRegistry,p.pipeRegistry,null,p.schemas,Yt);return null!==p.queries&&(p.queries.template(p,Mn),ir.queries=p.queries.embeddedTView(Mn)),Mn}(Mn,Yt,nt,p,m,P,H,te,Ee):Yt.data[Mn];zl(ir,!1);const ti=nt[Do].createComment("");gp(Yt,nt,ti,ir),qu(ti,nt),Lm(nt,nt[Mn]=T1(ti,nt,ti,ir)),ae(ir)&&nm(Yt,nt,ir),null!=Ee&&E1(nt,ir,Ye)}function w0(d){return Fc(function Cu(){return Zs.lFrame.contextLView}(),Ks+d)}function kv(d,p,m){const P=Si();return tp(P,X(),p)&&Up(ca(),sr(),P,d,p,P[Do],m,!1),kv}function $v(d,p,m,P,H){const Ee=H?"class":"style";zg(d,m,p.inputs[Ee],Ee,P)}function A1(d,p,m,P){const H=Si(),te=ca(),Ee=Ks+d,Ye=H[Do],nt=te.firstCreatePass?function Ly(d,p,m,P,H,te){const Ee=p.consts,nt=Dh(p,d,2,P,jl(Ee,H));return Fm(p,m,nt,jl(Ee,te)),null!==nt.attrs&&Hm(nt,nt.attrs,!1),null!==nt.mergedAttrs&&Hm(nt,nt.mergedAttrs,!0),null!==p.queries&&p.queries.elementStart(p,nt),nt}(Ee,te,H,p,m,P):te.data[Ee],Yt=H[Ee]=_h(Ye,p,function Ms(){return Zs.lFrame.currentNamespace}()),Mn=ae(nt);return zl(nt,!0),Ad(Ye,Yt,nt),32!=(32&nt.flags)&&gp(te,H,Yt,nt),0===function ut(){return Zs.lFrame.elementDepthCount}()&&qu(Yt,H),function Je(){Zs.lFrame.elementDepthCount++}(),Mn&&(nm(te,H,nt),qf(te,nt,H)),null!==P&&E1(H,nt),A1}function D1(){let d=Zl();Ju()?eu():(d=d.parent,zl(d,!1));const p=d;!function hn(){Zs.lFrame.elementDepthCount--}();const m=ca();return m.firstCreatePass&&(us(m,d),_t(d)&&m.queries.elementEnd(d)),null!=p.classesWithoutHost&&function oa(d){return 0!=(8&d.flags)}(p)&&$v(m,p,Si(),p.classesWithoutHost,!0),null!=p.stylesWithoutHost&&function ks(d){return 0!=(16&d.flags)}(p)&&$v(m,p,Si(),p.stylesWithoutHost,!1),D1}function Hv(d,p,m,P){return A1(d,p,m,P),D1(),Hv}function R1(d,p,m){const P=Si(),H=ca(),te=d+Ks,Ee=H.firstCreatePass?function ky(d,p,m,P,H){const te=p.consts,Ee=jl(te,P),Ye=Dh(p,d,8,"ng-container",Ee);return null!==Ee&&Hm(Ye,Ee,!0),Fm(p,m,Ye,jl(te,H)),null!==p.queries&&p.queries.elementStart(p,Ye),Ye}(te,H,P,p,m):H.data[te];zl(Ee,!0);const Ye=P[te]=P[Do].createComment("");return gp(H,P,Ye,Ee),qu(Ye,P),ae(Ee)&&(nm(H,P,Ee),qf(H,Ee,P)),null!=m&&E1(P,Ee),R1}function P1(){let d=Zl();const p=ca();return Ju()?eu():(d=d.parent,zl(d,!1)),p.firstCreatePass&&(us(p,d),_t(d)&&p.queries.elementEnd(d)),P1}function Uv(d,p,m){return R1(d,p,m),P1(),Uv}function N0(){return Si()}function Bv(d){return!!d&&"function"==typeof d.then}function I0(d){return!!d&&"function"==typeof d.subscribe}const F0=I0;function x1(d,p,m,P){const H=Si(),te=ca(),Ee=Zl();return function ye(d,p,m,P,H,te,Ee){const Ye=ae(P),Yt=d.firstCreatePass&&xh(d),Mn=p[ps],ir=$m(p);let ti=!0;if(3&P.type||Ee){const _s=sc(P,p),Js=Ee?Ee(_s):_s,Oa=ir.length,Dl=Ee?ic=>Ee(Ka(ic[P.index])):P.index;let Ko=null;if(!Ee&&Ye&&(Ko=function G(d,p,m,P){const H=d.cleanup;if(null!=H)for(let te=0;te<H.length-1;te+=2){const Ee=H[te];if(Ee===m&&H[te+1]===P){const Ye=p[$s],nt=H[te+2];return Ye.length>nt?Ye[nt]:null}"string"==typeof Ee&&(te+=2)}return null}(d,p,H,P.index)),null!==Ko)(Ko.__ngLastListenerFn__||Ko).__ngNextListenerFn__=te,Ko.__ngLastListenerFn__=te,ti=!1;else{te=cn(P,p,Mn,te,!1);const ic=m.listen(Js,H,te);ir.push(te,ic),Yt&&Yt.push(H,Dl,Oa,Oa+1)}}else te=cn(P,p,Mn,te,!1);const Pi=P.outputs;let mo;if(ti&&null!==Pi&&(mo=Pi[H])){const _s=mo.length;if(_s)for(let Js=0;Js<_s;Js+=2){const wd=p[mo[Js]][mo[Js+1]].subscribe(te),ff=ir.length;ir.push(te,wd),Yt&&Yt.push(H,P.index,ff,-(ff+1))}}}(te,H,H[Do],Ee,d,p,P),x1}function pt(d,p,m,P){try{return Mc(6,p,m),!1!==m(P)}catch(H){return Zg(d,H),!1}finally{Mc(7,p,m)}}function cn(d,p,m,P,H){return function te(Ee){if(Ee===Function)return P;km(d.componentOffset>-1?ba(d.index,p):p);let nt=pt(p,m,P,Ee),Yt=te.__ngNextListenerFn__;for(;Yt;)nt=pt(p,m,Yt,Ee)&&nt,Yt=Yt.__ngNextListenerFn__;return H&&!1===nt&&(Ee.preventDefault(),Ee.returnValue=!1),nt}}function Hn(d=1){return function Be(d){return(Zs.lFrame.contextLView=function Bt(d,p){for(;d>0;)p=p[Da],d--;return p}(d,Zs.lFrame.contextLView))[ps]}(d)}function br(d,p){let m=null;const P=function sv(d){const p=d.attrs;if(null!=p){const m=p.indexOf(5);if(!(1&m))return p[m+1]}return null}(d);for(let H=0;H<p.length;H++){const te=p[H];if("*"!==te){if(null===P?Rg(d,te,!0):lv(P,te))return H}else m=H}return m}function Qr(d){const p=Si()[Ga][ko];if(!p.projection){const P=p.projection=Ot(d?d.length:1,null),H=P.slice();let te=p.child;for(;null!==te;){const Ee=d?br(te,d):0;null!==Ee&&(H[Ee]?H[Ee].projectionNext=te:P[Ee]=te,H[Ee]=te),te=te.next}}}function bi(d,p=0,m){const P=Si(),H=ca(),te=Dh(H,Ks+d,16,null,m||null);null===te.projection&&(te.projection=p),eu(),32!=(32&te.flags)&&function H_(d,p,m){E_(p[Do],0,p,m,m_(d,m,p),Yh(m.parent||p[ko],m,p))}(H,P,te)}function Ro(d,p,m){return Po(d,"",p,"",m),Ro}function Po(d,p,m,P,H){const te=Si(),Ee=pg(te,p,m,P);return Ee!==$l&&Up(ca(),sr(),te,d,Ee,te[Do],H,!1),Po}function Zo(d,p,m,P,H,te,Ee){const Ye=Si(),nt=Sm(Ye,p,m,P,H,te);return nt!==$l&&Up(ca(),sr(),Ye,d,nt,Ye[Do],Ee,!1),Zo}function np(d,p){return d<<17|p<<2}function xd(d){return d>>17&32767}function o_(d){return 2|d}function bp(d){return(131068&d)>>2}function w1(d,p){return-131069&d|p<<2}function $y(d){return 1|d}function mS(d,p,m,P,H){const te=d[m+1],Ee=null===p;let Ye=P?xd(te):bp(te),nt=!1;for(;0!==Ye&&(!1===nt||Ee);){const Mn=d[Ye+1];Hy(d[Ye],p)&&(nt=!0,d[Ye+1]=P?$y(Mn):o_(Mn)),Ye=P?xd(Mn):bp(Mn)}nt&&(d[m+1]=P?o_(te):$y(te))}function Hy(d,p){return null===d||null==p||(Array.isArray(d)?d[1]:d)===p||!(!Array.isArray(d)||"string"!=typeof p)&&re(d,p)>=0}const Uf={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gS(d){return d.substring(Uf.key,Uf.keyEnd)}function yS(d,p){const m=Uf.textEnd;return m===p?-1:(p=Uf.keyEnd=function rM(d,p,m){for(;p<m&&d.charCodeAt(p)>32;)p++;return p}(d,Uf.key=p,m),N1(d,p,m))}function N1(d,p,m){for(;p<m&&d.charCodeAt(p)<=32;)p++;return p}function Uy(d,p,m){return rm(d,p,m,!1),Uy}function By(d,p){return rm(d,p,null,!0),By}function bS(d){im(dM,bm,d,!0)}function bm(d,p){for(let m=function tM(d){return function SS(d){Uf.key=0,Uf.keyEnd=0,Uf.value=0,Uf.valueEnd=0,Uf.textEnd=d.length}(d),yS(d,N1(d,0,Uf.textEnd))}(p);m>=0;m=yS(p,m))N(d,gS(p),!0)}function rm(d,p,m,P){const H=Si(),te=ca(),Ee=Ce(2);te.firstUpdatePass&&OS(te,d,Ee,P),p!==$l&&tp(H,Ee,p)&&DS(te,te.data[Kt()],H,H[Do],d,H[Ee+1]=function pM(d,p){return null==d||""===d||("string"==typeof p?d+=p:"object"==typeof d&&(d=E(hu(d)))),d}(p,m),P,Ee)}function im(d,p,m,P){const H=ca(),te=Ce(2);H.firstUpdatePass&&OS(H,null,te,P);const Ee=Si();if(m!==$l&&tp(Ee,te,m)){const Ye=H.data[Kt()];if(PS(Ye,P)&&!MS(H,te)){let nt=P?Ye.classesWithoutHost:Ye.stylesWithoutHost;null!==nt&&(m=T(nt,m||"")),$v(H,Ye,Ee,m,P)}else!function fM(d,p,m,P,H,te,Ee,Ye){H===$l&&(H=dr);let nt=0,Yt=0,Mn=0<H.length?H[0]:null,ir=0<te.length?te[0]:null;for(;null!==Mn||null!==ir;){const ti=nt<H.length?H[nt+1]:void 0,Pi=Yt<te.length?te[Yt+1]:void 0;let _s,mo=null;Mn===ir?(nt+=2,Yt+=2,ti!==Pi&&(mo=ir,_s=Pi)):null===ir||null!==Mn&&Mn<ir?(nt+=2,mo=Mn):(Yt+=2,mo=ir,_s=Pi),null!==mo&&DS(d,p,m,P,mo,_s,Ee,Ye),Mn=nt<H.length?H[nt]:null,ir=Yt<te.length?te[Yt]:null}}(H,Ye,Ee,Ee[Do],Ee[te+1],Ee[te+1]=function Yy(d,p,m){if(null==m||""===m)return dr;const P=[],H=hu(m);if(Array.isArray(H))for(let te=0;te<H.length;te++)d(P,H[te],!0);else if("object"==typeof H)for(const te in H)H.hasOwnProperty(te)&&d(P,te,H[te]);else"string"==typeof H&&p(P,H);return P}(d,p,m),P,te)}}function MS(d,p){return p>=d.expandoStartIndex}function OS(d,p,m,P){const H=d.data;if(null===H[m+1]){const te=H[Kt()],Ee=MS(d,m);PS(te,P)&&null===p&&!Ee&&(p=!1),p=function aM(d,p,m,P){const H=Fr(d);let te=P?p.residualClasses:p.residualStyles;if(null===H)0===(P?p.classBindings:p.styleBindings)&&(m=Gv(m=Gy(null,d,p,m,P),p.attrs,P),te=null);else{const Ee=p.directiveStylingLast;if(-1===Ee||d[Ee]!==H)if(m=Gy(H,d,p,m,P),null===te){let nt=function lM(d,p,m){const P=m?p.classBindings:p.styleBindings;if(0!==bp(P))return d[xd(P)]}(d,p,P);void 0!==nt&&Array.isArray(nt)&&(nt=Gy(null,d,p,nt[1],P),nt=Gv(nt,p.attrs,P),function cM(d,p,m,P){d[xd(m?p.classBindings:p.styleBindings)]=P}(d,p,P,nt))}else te=function uM(d,p,m){let P;const H=p.directiveEnd;for(let te=1+p.directiveStylingLast;te<H;te++)P=Gv(P,d[te].hostAttrs,m);return Gv(P,p.attrs,m)}(d,p,P)}return void 0!==te&&(P?p.residualClasses=te:p.residualStyles=te),m}(H,te,p,P),function qb(d,p,m,P,H,te){let Ee=te?p.classBindings:p.styleBindings,Ye=xd(Ee),nt=bp(Ee);d[P]=m;let Mn,Yt=!1;if(Array.isArray(m)?(Mn=m[1],(null===Mn||re(m,Mn)>0)&&(Yt=!0)):Mn=m,H)if(0!==nt){const ti=xd(d[Ye+1]);d[P+1]=np(ti,Ye),0!==ti&&(d[ti+1]=w1(d[ti+1],P)),d[Ye+1]=function Bd(d,p){return 131071&d|p<<17}(d[Ye+1],P)}else d[P+1]=np(Ye,0),0!==Ye&&(d[Ye+1]=w1(d[Ye+1],P)),Ye=P;else d[P+1]=np(nt,0),0===Ye?Ye=P:d[nt+1]=w1(d[nt+1],P),nt=P;Yt&&(d[P+1]=o_(d[P+1])),mS(d,Mn,P,!0),mS(d,Mn,P,!1),function eM(d,p,m,P,H){const te=H?d.residualClasses:d.residualStyles;null!=te&&"string"==typeof p&&re(te,p)>=0&&(m[P+1]=$y(m[P+1]))}(p,Mn,d,P,te),Ee=np(Ye,nt),te?p.classBindings=Ee:p.styleBindings=Ee}(H,te,p,m,Ee,P)}}function Gy(d,p,m,P,H){let te=null;const Ee=m.directiveEnd;let Ye=m.directiveStylingLast;for(-1===Ye?Ye=m.directiveStart:Ye++;Ye<Ee&&(te=p[Ye],P=Gv(P,te.hostAttrs,H),te!==d);)Ye++;return null!==d&&(m.directiveStylingLast=Ye),P}function Gv(d,p,m){const P=m?1:2;let H=-1;if(null!==p)for(let te=0;te<p.length;te++){const Ee=p[te];"number"==typeof Ee?H=Ee:H===P&&(Array.isArray(d)||(d=void 0===d?[]:["",d]),N(d,Ee,!!m||p[++te]))}return void 0===d?null:d}function dM(d,p,m){const P=String(p);""!==P&&!P.includes(" ")&&N(d,P,m)}function DS(d,p,m,P,H,te,Ee,Ye){if(!(3&p.type))return;const nt=d.data,Yt=nt[Ye+1],Mn=function Xb(d){return 1==(1&d)}(Yt)?RS(nt,p,m,H,bp(Yt),Ee):void 0;L0(Mn)||(L0(te)||function i_(d){return 2==(2&d)}(Yt)&&(te=RS(nt,null,m,H,Ye,Ee)),function S_(d,p,m,P,H){if(p)H?d.addClass(m,P):d.removeClass(m,P);else{let te=-1===P.indexOf("-")?void 0:Fu.DashCase;null==H?d.removeStyle(m,P,te):("string"==typeof H&&H.endsWith("!important")&&(H=H.slice(0,-10),te|=Fu.Important),d.setStyle(m,P,H,te))}}(P,Ee,Xc(Kt(),m),H,te))}function RS(d,p,m,P,H,te){const Ee=null===p;let Ye;for(;H>0;){const nt=d[H],Yt=Array.isArray(nt),Mn=Yt?nt[1]:nt,ir=null===Mn;let ti=m[H+1];ti===$l&&(ti=ir?dr:void 0);let Pi=ir?B(ti,P):Mn===P?ti:void 0;if(Yt&&!L0(Pi)&&(Pi=B(nt,P)),L0(Pi)&&(Ye=Pi,Ee))return Ye;const mo=d[H+1];H=Ee?xd(mo):bp(mo)}if(null!==p){let nt=te?p.residualClasses:p.residualStyles;null!=nt&&(Ye=B(nt,P))}return Ye}function L0(d){return void 0!==d}function PS(d,p){return 0!=(d.flags&(p?8:16))}function xS(d,p=""){const m=Si(),P=ca(),H=d+Ks,te=P.firstCreatePass?Dh(P,H,1,p,null):P.data[H],Ee=m[H]=F_(m[Do],p);gp(P,m,Ee,te),zl(te,!1)}function jy(d){return k0("",d,""),jy}function k0(d,p,m){const P=Si(),H=pg(P,d,p,m);return H!==$l&&A_(P,Kt(),H),k0}function Zy(d,p,m,P,H){const te=Si(),Ee=Sm(te,d,p,m,P,H);return Ee!==$l&&A_(te,Kt(),Ee),Zy}function zy(d,p,m,P,H,te,Ee){const Ye=Si(),nt=function jm(d,p,m,P,H,te,Ee,Ye){const Yt=M1(d,rl(),m,H,Ee);return Ce(3),Yt?p+j(m)+P+j(H)+te+j(Ee)+Ye:$l}(Ye,d,p,m,P,H,te,Ee);return nt!==$l&&A_(Ye,Kt(),nt),zy}function $S(d,p,m){im(N,bm,pg(Si(),d,p,m),!0)}function HS(d,p,m,P,H){im(N,bm,Sm(Si(),d,p,m,P,H),!0)}function Wy(d,p,m){const P=Si();return tp(P,X(),p)&&Up(ca(),sr(),P,d,p,P[Do],m,!0),Wy}function Jy(d,p,m){const P=Si();if(tp(P,X(),p)){const te=ca(),Ee=sr();Up(te,Ee,P,d,p,function wh(d,p,m){return(null===d||We(d))&&(m=function Ua(d){for(;Array.isArray(d);){if("object"==typeof d[ml])return d;d=d[mn]}return null}(m[p.index])),m[Do]}(Fr(te.data),Ee,P),m,!0)}return Jy}const Qg=void 0;var AM=["en",[["a","p"],["AM","PM"],Qg],[["AM","PM"],Qg,Qg],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Qg,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Qg,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Qg,"{1} 'at' {0}",Qg],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function QS(d){const m=Math.floor(Math.abs(d)),P=d.toString().replace(/^[^.]*\.?/,"").length;return 1===m&&0===P?1:5}];let F1={};function Qy(d){const p=function DM(d){return d.toLowerCase().replace(/_/g,"-")}(d);let m=XS(p);if(m)return m;const P=p.split("-")[0];if(m=XS(P),m)return m;if("en"===P)return AM;throw new J(701,!1)}function KS(d){return Qy(d)[Ml.PluralCase]}function XS(d){return d in F1||(F1[d]=Ni.ng&&Ni.ng.common&&Ni.ng.common.locales&&Ni.ng.common.locales[d]),F1[d]}var Ml=(()=>((Ml=Ml||{})[Ml.LocaleId=0]="LocaleId",Ml[Ml.DayPeriodsFormat=1]="DayPeriodsFormat",Ml[Ml.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ml[Ml.DaysFormat=3]="DaysFormat",Ml[Ml.DaysStandalone=4]="DaysStandalone",Ml[Ml.MonthsFormat=5]="MonthsFormat",Ml[Ml.MonthsStandalone=6]="MonthsStandalone",Ml[Ml.Eras=7]="Eras",Ml[Ml.FirstDayOfWeek=8]="FirstDayOfWeek",Ml[Ml.WeekendRange=9]="WeekendRange",Ml[Ml.DateFormat=10]="DateFormat",Ml[Ml.TimeFormat=11]="TimeFormat",Ml[Ml.DateTimeFormat=12]="DateTimeFormat",Ml[Ml.NumberSymbols=13]="NumberSymbols",Ml[Ml.NumberFormats=14]="NumberFormats",Ml[Ml.CurrencyCode=15]="CurrencyCode",Ml[Ml.CurrencySymbol=16]="CurrencySymbol",Ml[Ml.CurrencyName=17]="CurrencyName",Ml[Ml.Currencies=18]="Currencies",Ml[Ml.Directionality=19]="Directionality",Ml[Ml.PluralCase=20]="PluralCase",Ml[Ml.ExtraData=21]="ExtraData",Ml))();const RM=["zero","one","two","few","many"],L1="en-US",$0={marker:"element"},H0={marker:"ICU"};var ef=(()=>((ef=ef||{})[ef.SHIFT=2]="SHIFT",ef[ef.APPEND_EAGERLY=1]="APPEND_EAGERLY",ef[ef.COMMENT=2]="COMMENT",ef))();let qS=L1;function U0(d){(function Dn(d,p){null==d&&Rt(p,d,null,"!=")})(d,"Expected localeId to be defined"),"string"==typeof d&&(qS=d.toLowerCase().replace(/_/g,"-"))}function Ky(d,p,m){const P=p.insertBeforeIndex,H=Array.isArray(P)?P[0]:P;return null===H?Wd(d,0,m):Ka(m[H])}function eC(d,p,m,P,H){const te=p.insertBeforeIndex;if(Array.isArray(te)){let Ee=P,Ye=null;if(3&p.type||(Ye=Ee,Ee=H),null!==Ee&&-1===p.componentOffset)for(let nt=1;nt<te.length;nt++)yf(d,Ee,m[te[nt]],Ye,!1)}}function tC(d,p){if(d.push(p),d.length>1)for(let m=d.length-2;m>=0;m--){const P=d[m];nC(P)||NM(P,p)&&null===IM(P)&&FM(P,p.index)}}function nC(d){return!(64&d.type)}function NM(d,p){return nC(p)||d.index>p.index}function IM(d){const p=d.insertBeforeIndex;return Array.isArray(p)?p[0]:p}function FM(d,p){const m=d.insertBeforeIndex;Array.isArray(m)?m[0]=p:(jh(Ky,eC),d.insertBeforeIndex=p)}function Yv(d,p){const m=d.data[p];return null===m||"string"==typeof m?null:m.hasOwnProperty("currentCaseLViewIndex")?m:m.value}function $M(d,p,m){const P=Xd(d,m,64,null,null);return tC(p,P),P}function B0(d,p){const m=p[d.currentCaseLViewIndex];return null===m?m:m<0?~m:m}function rC(d){return d>>>17}function iC(d){return(131070&d)>>>1}let jv=0,Zv=0;function sC(d,p,m,P){const H=m[Do];let Ee,te=null;for(let Ye=0;Ye<p.length;Ye++){const nt=p[Ye];if("string"==typeof nt){const Yt=p[++Ye];null===m[Yt]&&(m[Yt]=F_(H,nt))}else if("number"==typeof nt)switch(1&nt){case 0:const Yt=rC(nt);let Mn,ir;if(null===te&&(te=Yt,Ee=Od(H,P)),Yt===te?(Mn=P,ir=Ee):(Mn=null,ir=Ka(m[Yt])),null!==ir){const _s=iC(nt);yf(H,ir,m[_s],Mn,!1);const Oa=Yv(d,_s);if(null!==Oa&&"object"==typeof Oa){const Dl=B0(Oa,m);null!==Dl&&sC(d,Oa.create[Dl],m,m[Oa.anchorIdx])}}break;case 1:const Pi=p[++Ye],mo=p[++Ye];Tp(H,Xc(nt>>>1,m),null,null,Pi,mo,null)}else switch(nt){case H0:const Yt=p[++Ye],Mn=p[++Ye];null===m[Mn]&&qu(m[Mn]=cm(H,Yt),m);break;case $0:const ir=p[++Ye],ti=p[++Ye];null===m[ti]&&qu(m[ti]=_h(H,ir,null),m)}}}function aC(d,p,m,P,H){for(let te=0;te<m.length;te++){const Ee=m[te],Ye=m[++te];if(Ee&H){let nt="";for(let Yt=te+1;Yt<=te+Ye;Yt++){const Mn=m[Yt];if("string"==typeof Mn)nt+=Mn;else if("number"==typeof Mn)if(Mn<0)nt+=j(p[P-Mn]);else{const ir=Mn>>>2;switch(3&Mn){case 1:const ti=m[++Yt],Pi=m[++Yt],mo=d.data[ir];"string"==typeof mo?Tp(p[Do],p[ir],null,mo,ti,nt,Pi):Up(d,mo,p,ti,nt,p[Do],Pi,!1);break;case 0:const _s=p[ir];null!==_s&&Uh(p[Do],_s,nt);break;case 2:YM(d,Yv(d,ir),p,nt);break;case 3:lC(d,Yv(d,ir),P,p)}}}}else{const nt=m[te+1];if(nt>0&&3==(3&nt)){const Mn=Yv(d,nt>>>2);p[Mn.currentCaseLViewIndex]<0&&lC(d,Mn,P,p)}}te+=Ye}}function lC(d,p,m,P){let H=P[p.currentCaseLViewIndex];if(null!==H){let te=jv;H<0&&(H=P[p.currentCaseLViewIndex]=~H,te=-1),aC(d,P,p.update[H],m,te)}}function YM(d,p,m,P){const H=function jM(d,p){let m=d.cases.indexOf(p);if(-1===m)switch(d.type){case 1:{const P=function PM(d,p){const m=KS(p)(parseInt(d,10)),P=RM[m];return void 0!==P?P:"other"}(p,function wM(){return qS}());m=d.cases.indexOf(P),-1===m&&"other"!==P&&(m=d.cases.indexOf("other"));break}case 0:m=d.cases.indexOf("other")}return-1===m?null:m}(p,P);if(B0(p,m)!==H&&(cC(d,p,m),m[p.currentCaseLViewIndex]=null===H?null:~H,null!==H)){const Ee=m[p.anchorIdx];Ee&&sC(d,p.create[H],m,Ee)}}function cC(d,p,m){let P=B0(p,m);if(null!==P){const H=p.remove[P];for(let te=0;te<H.length;te++){const Ee=H[te];if(Ee>0){const Ye=Xc(Ee,m);null!==Ye&&$_(m[Do],Ye)}else cC(d,Yv(d,~Ee),m)}}}function ZM(){const d=[];let m,P,p=-1;function te(Ye,nt){p=0;const Yt=B0(Ye,nt);P=null!==Yt?Ye.remove[Yt]:dr}function Ee(){if(p<P.length){const Ye=P[p++];return Ye>0?m[Ye]:(d.push(p,P),te(m[kr].data[~Ye],m),Ee())}return 0===d.length?null:(P=d.pop(),p=d.pop(),Ee())}return function H(Ye,nt){for(m=nt;d.length;)d.pop();return te(Ye.value,nt),Ee}}const G0=/\ufffd(\d+):?\d*\ufffd/gi,zM=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,VM=/\ufffd(\d+)\ufffd/,dC=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,zv="\ufffd",WM=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Zm=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Y0=/\uE500/g;function fC(d,p,m,P,H,te,Ee){const Ye=Xf(d,P,1,null);let nt=Ye<<ef.SHIFT,Yt=gc();p===Yt&&(Yt=null),null===Yt&&(nt|=ef.APPEND_EAGERLY),Ee&&(nt|=ef.COMMENT,function _p(d){void 0===gf&&(gf=d())}(ZM)),H.push(nt,null===te?"":te);const Mn=Xd(d,Ye,Ee?32:1,null===te?"":te,null);tC(m,Mn);const ir=Mn.index;return zl(Mn,!1),null!==Yt&&p!==Yt&&function kM(d,p){let m=d.insertBeforeIndex;null===m?(jh(Ky,eC),m=d.insertBeforeIndex=[null,p]):(function Et(d,p,m){d!=p&&Rt(m,d,p,"==")}(Array.isArray(m),!0,"Expecting array here"),m.push(p))}(Yt,ir),Mn}function QM(d,p,m,P,H,te,Ee){const Ye=Ee.match(G0),nt=fC(d,p,m,te,P,Ye?null:Ee,!1);Ye&&Kg(H,Ee,nt.index,null,0,null)}function Kg(d,p,m,P,H,te){const Ee=d.length,Ye=Ee+1;d.push(null,null);const nt=Ee+2,Yt=p.split(G0);let Mn=0;for(let ir=0;ir<Yt.length;ir++){const ti=Yt[ir];if(1&ir){const Pi=H+parseInt(ti,10);d.push(-1-Pi),Mn|=pC(Pi)}else""!==ti&&d.push(ti)}return d.push(m<<2|(P?1:0)),P&&d.push(P,te),d[Ee]=Mn,d[Ye]=d.length-nt,Mn}function KM(d){let p=0;for(let m=0;m<d.length;m++){const P=d[m];"number"==typeof P&&P<0&&p++}return p}function pC(d){return 1<<Math.min(d,31)}function _C(d){let p,te,m="",P=0,H=!1;for(;null!==(p=WM.exec(d));)H?p[0]===`${zv}/*${te}${zv}`&&(P=p.index,H=!1):(m+=d.substring(P,p.index+p[0].length),te=p[1],H=!0);return m+=d.slice(P),m}function hC(d,p,m,P,H,te){let Ee=0;const Ye={type:H.type,currentCaseLViewIndex:Xf(d,p,1,null),anchorIdx:te,cases:[],create:[],remove:[],update:[]};(function n2(d,p,m){d.push(pC(p.mainBinding),2,-1-p.mainBinding,m<<2|2)})(m,H,te),function LM(d,p,m){const P=d.data[p];null===P?d.data[p]=m:P.value=m}(d,te,Ye);const nt=H.values;for(let Yt=0;Yt<nt.length;Yt++){const Mn=nt[Yt],ir=[];for(let ti=0;ti<Mn.length;ti++){const Pi=Mn[ti];if("string"!=typeof Pi){const mo=ir.push(Pi)-1;Mn[ti]=`\x3c!--\ufffd${mo}\ufffd--\x3e`}}Ee=mC(d,Ye,p,m,P,H.cases[Yt],Mn.join(""),ir)|Ee}Ee&&function tE(d,p,m){d.push(p,1,m<<2|3)}(m,Ee,te)}function e2(d){const p=[],m=[];let P=1,H=0;const te=eE(d=d.replace(dC,function(Ee,Ye,nt){return P="select"===nt?0:1,H=parseInt(Ye.slice(1),10),""}));for(let Ee=0;Ee<te.length;){let Ye=te[Ee++].trim();1===P&&(Ye=Ye.replace(/\s*(?:=)?(\w+)\s*/,"$1")),Ye.length&&p.push(Ye);const nt=eE(te[Ee++]);p.length>m.length&&m.push(nt)}return{type:P,mainBinding:H,cases:p,values:m}}function eE(d){if(!d)return[];let p=0;const m=[],P=[],H=/[{}]/g;let te;for(H.lastIndex=0;te=H.exec(d);){const Ye=te.index;if("}"==te[0]){if(m.pop(),0==m.length){const nt=d.substring(p,Ye);dC.test(nt)?P.push(e2(nt)):P.push(nt),p=Ye+1}}else{if(0==m.length){const nt=d.substring(p,Ye);P.push(nt),p=Ye+1}m.push("{")}}const Ee=d.substring(p);return P.push(Ee),P}function mC(d,p,m,P,H,te,Ee,Ye){const nt=[],Yt=[],Mn=[];p.cases.push(te),p.create.push(nt),p.remove.push(Yt),p.update.push(Mn);const ti=j_(U_()).getInertBodyElement(Ee),Pi=od(ti)||ti;return Pi?gC(d,p,m,P,nt,Yt,Mn,Pi,H,Ye,0):0}function gC(d,p,m,P,H,te,Ee,Ye,nt,Yt,Mn){let ir=0,ti=Ye.firstChild;for(;ti;){const Pi=Xf(d,m,1,null);switch(ti.nodeType){case Node.ELEMENT_NODE:const mo=ti,_s=mo.tagName.toLowerCase();if(Dd.hasOwnProperty(_s)){Vv(H,$0,_s,nt,Pi),d.data[Pi]=_s;const Ko=mo.attributes;for(let ic=0;ic<Ko.length;ic++){const wd=Ko.item(ic),ff=wd.name.toLowerCase();wd.value.match(G0)?If.hasOwnProperty(ff)&&Kg(Ee,wd.value,Pi,wd.name,0,Qf[ff]?Ep:null):r2(H,Pi,wd)}ir=gC(d,p,m,P,H,te,Ee,ti,Pi,Yt,Mn+1)|ir,vC(te,Pi,Mn)}break;case Node.TEXT_NODE:const Js=ti.textContent||"",Oa=Js.match(G0);Vv(H,null,Oa?"":Js,nt,Pi),vC(te,Pi,Mn),Oa&&(ir=Kg(Ee,Js,Pi,null,0,null)|ir);break;case Node.COMMENT_NODE:const Dl=VM.exec(ti.textContent||"");if(Dl){const ic=Yt[parseInt(Dl[1],10)];Vv(H,H0,"",nt,Pi),hC(d,m,P,nt,ic,Pi),t2(te,Pi,Mn)}}ti=ti.nextSibling}return ir}function vC(d,p,m){0===m&&d.push(p)}function t2(d,p,m){0===m&&(d.push(~p),d.push(p))}function Vv(d,p,m,P,H){null!==p&&d.push(p),d.push(m,H,function HM(d,p,m){return d|p<<17|m<<1}(0,P,H))}function r2(d,p,m){d.push(p<<1|1,m.name,m.value)}const yC=0,i2=/\[(\ufffd.+?\ufffd?)\]/,o2=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,s2=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,a2=/{([A-Z0-9_]+)}/g,l2=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,c2=/\/\*/,u2=/\d+\:(\d+)/;function nE(d,p,m=-1){const P=ca(),H=Si(),te=Ks+d,Ee=jl(P.consts,p),Ye=gc();P.firstCreatePass&&function k1(d,p,m,P,H,te){const Ee=gc(),Ye=[],nt=[],Yt=[[]];H=function qM(d,p){if(function XM(d){return-1===d}(p))return _C(d);{const m=d.indexOf(`:${p}${zv}`)+2+p.toString().length,P=d.search(new RegExp(`${zv}\\/\\*\\d+:${p}${zv}`));return _C(d.substring(m,P))}}(H,te);const Mn=function Xy(d){return d.replace(Y0," ")}(H).split(Zm);for(let ir=0;ir<Mn.length;ir++){let ti=Mn[ir];if(1&ir){const Pi=47===ti.charCodeAt(0),_s=(ti.charCodeAt(Pi?1:0),Ks+Number.parseInt(ti.substring(Pi?2:1)));if(Pi)Yt.shift(),zl(gc(),!1);else{const Js=$M(d,Yt[0],_s);Yt.unshift([]),zl(Js,!0)}}else{const Pi=eE(ti);for(let mo=0;mo<Pi.length;mo++){let _s=Pi[mo];if(1&mo){const Js=_s;if("object"!=typeof Js)throw new Error(`Unable to parse ICU expression in "${H}" message.`);hC(d,m,nt,p,Js,fC(d,Ee,Yt[0],m,Ye,"",!0).index)}else""!==_s&&QM(d,Ee,Yt[0],Ye,nt,m,_s)}}}d.data[P]={create:Ye,update:nt}}(P,null===Ye?0:Ye.index,H,te,Ee,m);const nt=P.data[te],Mn=g_(P,Ye===H[ko]?null:Ye,H);(function GM(d,p,m,P){const H=d[Do];for(let te=0;te<p.length;te++){const Ee=p[te++],Ye=p[te],Yt=(Ee&ef.APPEND_EAGERLY)===ef.APPEND_EAGERLY,Mn=Ee>>>ef.SHIFT;let ir=d[Mn];null===ir&&(ir=d[Mn]=(Ee&ef.COMMENT)===ef.COMMENT?H.createComment(Ye):F_(H,Ye)),Yt&&null!==m&&yf(H,m,ir,P,!1)}})(H,nt.create,Mn,Ye&&8&Ye.type?H[Ye.index]:null),Ke(!0)}function rE(){Ke(!1)}function j0(d,p,m){nE(d,p,m),rE()}function EC(d,p){const m=ca(),P=jl(m.consts,p);!function qy(d,p,m){const H=Zl().index,te=[];if(d.firstCreatePass&&null===d.data[p]){for(let Ee=0;Ee<m.length;Ee+=2){const Ye=m[Ee],nt=m[Ee+1];if(""!==nt){if(zM.test(nt))throw new Error(`ICU expressions are not supported in attributes. Message: "${nt}".`);Kg(te,nt,H,Ye,KM(te),null)}}d.data[p]=te}}(m,d+Ks,P)}function iE(d){return function UM(d){d&&(jv|=1<<Math.min(Zv,31)),Zv++}(tp(Si(),X(),d)),iE}function SC(d){!function BM(d,p,m){if(Zv>0){const P=d.data[m];aC(d,p,Array.isArray(P)?P:P.update,rl()-Zv-1,jv)}jv=0,Zv=0}(ca(),Si(),d+Ks)}function CC(d,p={}){return function d2(d,p={}){let m=d;if(i2.test(d)){const P={},H=[yC];m=m.replace(o2,(te,Ee,Ye)=>{const nt=Ee||Ye,Yt=P[nt]||[];if(Yt.length||(nt.split("|").forEach(_s=>{const Js=_s.match(u2),Oa=Js?parseInt(Js[1],10):yC,Dl=c2.test(_s);Yt.push([Oa,Dl,_s])}),P[nt]=Yt),!Yt.length)throw new Error(`i18n postprocess: unmatched placeholder - ${nt}`);const Mn=H[H.length-1];let ir=0;for(let _s=0;_s<Yt.length;_s++)if(Yt[_s][0]===Mn){ir=_s;break}const[ti,Pi,mo]=Yt[ir];return Pi?H.pop():Mn!==ti&&H.push(ti),Yt.splice(ir,1),mo})}return Object.keys(p).length&&(m=m.replace(s2,(P,H,te,Ee,Ye,nt)=>p.hasOwnProperty(te)?`${H}${p[te]}${nt}`:P),m=m.replace(a2,(P,H)=>p.hasOwnProperty(H)?p[H]:P),m=m.replace(l2,(P,H)=>{if(p.hasOwnProperty(H)){const te=p[H];if(!te.length)throw new Error(`i18n postprocess: unmatched ICU - ${P} with key: ${H}`);return te.shift()}return P})),m}(d,p)}function oE(d,p,m,P,H){if(d=$(d),Array.isArray(d))for(let te=0;te<d.length;te++)oE(d[te],p,m,P,H);else{const te=ca(),Ee=Si();let Ye=Re(d)?d:$(d.provide),nt=Ae(d);const Yt=Zl(),Mn=1048575&Yt.providerIndexes,ir=Yt.directiveStart,ti=Yt.providerIndexes>>20;if(Re(d)||!d.multi){const Pi=new zn(nt,H,Ah),mo=aE(Ye,p,H?Mn:Mn+ti,ir);-1===mo?(Tu(Wo(Yt,Ee),te,Ye),sE(te,d,p.length),p.push(Ye),Yt.directiveStart++,Yt.directiveEnd++,H&&(Yt.providerIndexes+=1048576),m.push(Pi),Ee.push(Pi)):(m[mo]=Pi,Ee[mo]=Pi)}else{const Pi=aE(Ye,p,Mn+ti,ir),mo=aE(Ye,p,Mn,Mn+ti),Js=mo>=0&&m[mo];if(H&&!Js||!H&&!(Pi>=0&&m[Pi])){Tu(Wo(Yt,Ee),te,Ye);const Oa=function h2(d,p,m,P,H){const te=new zn(d,m,Ah);return te.multi=[],te.index=p,te.componentProviders=0,TC(te,H,P&&!m),te}(H?_2:p2,m.length,H,P,nt);!H&&Js&&(m[mo].providerFactory=Oa),sE(te,d,p.length,0),p.push(Ye),Yt.directiveStart++,Yt.directiveEnd++,H&&(Yt.providerIndexes+=1048576),m.push(Oa),Ee.push(Oa)}else sE(te,d,Pi>-1?Pi:mo,TC(m[H?mo:Pi],nt,!H&&P));!H&&P&&Js&&m[mo].componentProviders++}}}function sE(d,p,m,P){const H=Re(p),te=function ct(d){return!!d.useClass}(p);if(H||te){const nt=(te?$(p.useClass):p).prototype.ngOnDestroy;if(nt){const Yt=d.destroyHooks||(d.destroyHooks=[]);if(!H&&p.multi){const Mn=Yt.indexOf(m);-1===Mn?Yt.push(m,[P,nt]):Yt[Mn+1].push(P,nt)}else Yt.push(m,nt)}}}function TC(d,p,m){return m&&d.componentProviders++,d.multi.push(p)-1}function aE(d,p,m,P){for(let H=m;H<P;H++)if(p[H]===d)return H;return-1}function p2(d,p,m,P){return lE(this.multi,[])}function _2(d,p,m,P){const H=this.multi;let te;if(this.providerFactory){const Ee=this.providerFactory.componentProviders,Ye=du(m,m[kr],this.providerFactory.index,P);te=Ye.slice(0,Ee),lE(H,te);for(let nt=Ee;nt<Ye.length;nt++)te.push(Ye[nt])}else te=[],lE(H,te);return te}function lE(d,p){for(let m=0;m<d.length;m++)p.push((0,d[m])());return p}function bC(d,p=[]){return m=>{m.providersResolver=(P,H)=>function f2(d,p,m){const P=ca();if(P.firstCreatePass){const H=We(d);oE(m,P.data,P.blueprint,H,!0),oE(p,P.data,P.blueprint,H,!1)}}(P,H?H(d):d,p)}}class $1{}class MC{}function H1(d,p){return new cE(d,p??null)}class cE extends $1{constructor(p,m){super(),this._parent=m,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Vg(this);const P=Ls(p);this._bootstrapComponents=td(P.bootstrap),this._r3Injector=h1(p,m,[{provide:$1,useValue:this},{provide:ya,useValue:this.componentFactoryResolver}],E(p),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(p)}get injector(){return this._r3Injector}destroy(){const p=this._r3Injector;!p.destroyed&&p.destroy(),this.destroyCbs.forEach(m=>m()),this.destroyCbs=null}onDestroy(p){this.destroyCbs.push(p)}}class uE extends MC{constructor(p){super(),this.moduleType=p}create(p){return new cE(this.moduleType,p)}}class m2 extends $1{constructor(p,m,P){super(),this.componentFactoryResolver=new Vg(this),this.instance=null;const H=new ns([...p,{provide:$1,useValue:this},{provide:ya,useValue:this.componentFactoryResolver}],m||Li(),P,new Set(["environment"]));this.injector=H,H.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(p){this.injector.onDestroy(p)}}function dE(d,p,m=null){return new m2(d,p,m).injector}let g2=(()=>{class d{constructor(m){this._injector=m,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(m){if(!m.standalone)return null;if(!this.cachedInjectors.has(m.id)){const P=Jh(0,m.type),H=P.length>0?dE([P],this._injector,`Standalone[${m.type.name}]`):null;this.cachedInjectors.set(m.id,H)}return this.cachedInjectors.get(m.id)}ngOnDestroy(){try{for(const m of this.cachedInjectors.values())null!==m&&m.destroy()}finally{this.cachedInjectors.clear()}}}return d.\u0275prov=kn({token:d,providedIn:"environment",factory:()=>new d(Qe(Es))}),d})();function OC(d){d.getStandaloneInjector=p=>p.get(g2).getOrCreateStandaloneInjector(d)}function wC(d,p,m){const P=Ll()+d,H=Si();return H[P]===$l?R_(H,P,m?p.call(m):p()):Gm(H,P)}function Wv(d,p,m,P){return FC(Si(),Ll(),d,p,m,P)}function pE(d,p,m,P,H){return LC(Si(),Ll(),d,p,m,P,H)}function gg(d,p,m,P,H,te){return _E(Si(),Ll(),d,p,m,P,H,te)}function NC(d,p,m,P,H,te,Ee){return function kC(d,p,m,P,H,te,Ee,Ye,nt){const Yt=p+m;return nd(d,Yt,H,te,Ee,Ye)?R_(d,Yt+4,nt?P.call(nt,H,te,Ee,Ye):P(H,te,Ee,Ye)):B1(d,Yt+4)}(Si(),Ll(),d,p,m,P,H,te,Ee)}function IC(d,p,m,P,H,te,Ee,Ye){const nt=Ll()+d,Yt=Si(),Mn=nd(Yt,nt,m,P,H,te);return tp(Yt,nt+4,Ee)||Mn?R_(Yt,nt+5,Ye?p.call(Ye,m,P,H,te,Ee):p(m,P,H,te,Ee)):Gm(Yt,nt+5)}function B1(d,p){const m=d[p];return m===$l?void 0:m}function FC(d,p,m,P,H,te){const Ee=p+m;return tp(d,Ee,H)?R_(d,Ee+1,te?P.call(te,H):P(H)):B1(d,Ee+1)}function LC(d,p,m,P,H,te,Ee){const Ye=p+m;return Ym(d,Ye,H,te)?R_(d,Ye+2,Ee?P.call(Ee,H,te):P(H,te)):B1(d,Ye+2)}function _E(d,p,m,P,H,te,Ee,Ye){const nt=p+m;return M1(d,nt,H,te,Ee)?R_(d,nt+3,Ye?P.call(Ye,H,te,Ee):P(H,te,Ee)):B1(d,nt+3)}function HC(d,p){const m=ca();let P;const H=d+Ks;m.firstCreatePass?(P=function A2(d,p){if(p)for(let m=p.length-1;m>=0;m--){const P=p[m];if(d===P.name)return P}}(p,m.pipeRegistry),m.data[H]=P,P.onDestroy&&(m.destroyHooks??(m.destroyHooks=[])).push(H,P.onDestroy)):P=m.data[H];const te=P.factory||(P.factory=dl(P.type)),Ee=so(Ah);try{const Ye=Ht(!1),nt=te();return Ht(Ye),function Fy(d,p,m,P){m>=d.data.length&&(d.data[m]=null,d.blueprint[m]=null),p[m]=P}(m,Si(),H,nt),nt}finally{so(Ee)}}function UC(d,p,m){const P=d+Ks,H=Si(),te=Fc(H,P);return Jv(H,P)?FC(H,Ll(),p,te.transform,m,te):te.transform(m)}function BC(d,p,m,P){const H=d+Ks,te=Si(),Ee=Fc(te,H);return Jv(te,H)?LC(te,Ll(),p,Ee.transform,m,P,Ee):Ee.transform(m,P)}function GC(d,p,m,P,H){const te=d+Ks,Ee=Si(),Ye=Fc(Ee,te);return Jv(Ee,te)?_E(Ee,Ll(),p,Ye.transform,m,P,H,Ye):Ye.transform(m,P,H)}function Jv(d,p){return d[kr].data[p].pure}function hE(d){return p=>{setTimeout(d,void 0,p)}}const Mm=class P2 extends r.xQ{constructor(p=!1){super(),this.__isAsync=p}emit(p){super.next(p)}subscribe(p,m,P){let H=p,te=m||(()=>null),Ee=P;if(p&&"object"==typeof p){const nt=p;H=nt.next?.bind(nt),te=nt.error?.bind(nt),Ee=nt.complete?.bind(nt)}this.__isAsync&&(te=hE(te),H&&(H=hE(H)),Ee&&(Ee=hE(Ee)));const Ye=super.subscribe({next:H,error:te,complete:Ee});return p instanceof a.w&&p.add(Ye),Ye}};function Qv(){return this._results[Symbol.iterator]()}class mE{get changes(){return this._changes||(this._changes=new Mm)}constructor(p=!1){this._emitDistinctChangesOnly=p,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const m=mE.prototype;m[Symbol.iterator]||(m[Symbol.iterator]=Qv)}get(p){return this._results[p]}map(p){return this._results.map(p)}filter(p){return this._results.filter(p)}find(p){return this._results.find(p)}reduce(p,m){return this._results.reduce(p,m)}forEach(p){this._results.forEach(p)}some(p){return this._results.some(p)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(p,m){const P=this;P.dirty=!1;const H=function be(d){return d.flat(Number.POSITIVE_INFINITY)}(p);(this._changesDetected=!function $o(d,p,m){if(d.length!==p.length)return!1;for(let P=0;P<d.length;P++){let H=d[P],te=p[P];if(m&&(H=m(H),te=m(te)),te!==H)return!1}return!0}(P._results,H,m))&&(P._results=H,P.length=H.length,P.last=H[this.length-1],P.first=H[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Kv=(()=>{class d{}return d.__NG_ELEMENT_ID__=G1,d})();const x2=Kv,YC=class extends x2{constructor(p,m,P){super(),this._declarationLView=p,this._declarationTContainer=m,this.elementRef=P}createEmbeddedView(p,m){const P=this._declarationTContainer.tView,H=rg(this._declarationLView,P,p,16,null,P.declTNode,null,null,null,null,m||null);H[Pl]=this._declarationLView[this._declarationTContainer.index];const Ee=this._declarationLView[Ra];return null!==Ee&&(H[Ra]=Ee.createEmbeddedView(P)),$f(P,H,p),new eh(H)}};function G1(){return W0(Zl(),Si())}function W0(d,p){return 4&d.type?new YC(p,d,Jr(d,p)):null}let J0=(()=>{class d{}return d.__NG_ELEMENT_ID__=w2,d})();function w2(){return zC(Zl(),Si())}const N2=J0,jC=class extends N2{constructor(p,m,P){super(),this._lContainer=p,this._hostTNode=m,this._hostLView=P}get element(){return Jr(this._hostTNode,this._hostLView)}get injector(){return new xa(this._hostTNode,this._hostLView)}get parentInjector(){const p=dc(this._hostTNode,this._hostLView);if(de(p)){const m=lt(p,this._hostLView),P=Fe(p);return new xa(m[kr].data[P+8],m)}return new xa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(p){const m=ZC(this._lContainer);return null!==m&&m[p]||null}get length(){return this._lContainer.length-rs}createEmbeddedView(p,m,P){let H,te;"number"==typeof P?H=P:null!=P&&(H=P.index,te=P.injector);const Ee=p.createEmbeddedView(m||{},te);return this.insert(Ee,H),Ee}createComponent(p,m,P,H,te){const Ee=p&&!function Ru(d){return"function"==typeof d}(p);let Ye;if(Ee)Ye=m;else{const ir=m||{};Ye=ir.index,P=ir.injector,H=ir.projectableNodes,te=ir.environmentInjector||ir.ngModuleRef}const nt=Ee?p:new ee(Gi(p)),Yt=P||this.parentInjector;if(!te&&null==nt.ngModule){const ti=(Ee?Yt:this.parentInjector).get(Es,null);ti&&(te=ti)}const Mn=nt.create(Yt,H,void 0,te);return this.insert(Mn.hostView,Ye),Mn}insert(p,m){const P=p._lView,H=P[kr];if(function Ac(d){return qi(d[xo])}(P)){const Mn=this.indexOf(p);if(-1!==Mn)this.detach(Mn);else{const ir=P[xo],ti=new jC(ir,ir[ko],ir[xo]);ti.detach(ti.indexOf(p))}}const te=this._adjustIndex(m),Ee=this._lContainer;!function dm(d,p,m,P){const H=rs+P,te=m.length;P>0&&(m[H-1][Ss]=p),P<te-rs?(p[Ss]=m[H],ve(m,rs+P,p)):(m.push(p),p[Ss]=null),p[xo]=m;const Ee=p[Pl];null!==Ee&&m!==Ee&&function Vd(d,p){const m=d[ys];p[Ga]!==p[xo][xo][Ga]&&(d[ma]=!0),null===m?d[ys]=[p]:m.push(p)}(Ee,p);const Ye=p[Ra];null!==Ye&&Ye.insertView(d),p[Qi]|=64}(H,P,Ee,te);const Ye=Jp(te,Ee),nt=P[Do],Yt=Od(nt,Ee[Qo]);return null!==Yt&&function Bh(d,p,m,P,H,te){P[mn]=H,P[ko]=p,Hd(d,P,m,1,H,te)}(H,Ee[ko],nt,P,Yt,Ye),p.attachToViewContainerRef(),ve(gE(Ee),te,p),p}move(p,m){return this.insert(p,m)}indexOf(p){const m=ZC(this._lContainer);return null!==m?m.indexOf(p):-1}remove(p){const m=this._adjustIndex(p,-1),P=Gh(this._lContainer,m);P&&(Ze(gE(this._lContainer),m),fm(P[kr],P))}detach(p){const m=this._adjustIndex(p,-1),P=Gh(this._lContainer,m);return P&&null!=Ze(gE(this._lContainer),m)?new eh(P):null}_adjustIndex(p,m=0){return p??this.length+m}};function ZC(d){return d[Go]}function gE(d){return d[Go]||(d[Go]=[])}function zC(d,p){let m;const P=p[d.index];if(qi(P))m=P;else{let H;if(8&d.type)H=Ka(P);else{const te=p[Do];H=te.createComment("");const Ee=sc(d,p);yf(te,Od(te,Ee),H,function Vf(d,p){return d.nextSibling(p)}(te,Ee),!1)}p[d.index]=m=T1(P,p,H,d),Lm(p,m)}return new jC(m,d,p)}class Q0{constructor(p){this.queryList=p,this.matches=null}clone(){return new Q0(this.queryList)}setDirty(){this.queryList.setDirty()}}class vE{constructor(p=[]){this.queries=p}createEmbeddedView(p){const m=p.queries;if(null!==m){const P=null!==p.contentQueries?p.contentQueries[0]:m.length,H=[];for(let te=0;te<P;te++){const Ee=m.getByIndex(te);H.push(this.queries[Ee.indexInDeclarationView].clone())}return new vE(H)}return null}insertView(p){this.dirtyQueriesWithMatches(p)}detachView(p){this.dirtyQueriesWithMatches(p)}dirtyQueriesWithMatches(p){for(let m=0;m<this.queries.length;m++)null!==tT(p,m).matches&&this.queries[m].setDirty()}}class VC{constructor(p,m,P=null){this.predicate=p,this.flags=m,this.read=P}}class yE{constructor(p=[]){this.queries=p}elementStart(p,m){for(let P=0;P<this.queries.length;P++)this.queries[P].elementStart(p,m)}elementEnd(p){for(let m=0;m<this.queries.length;m++)this.queries[m].elementEnd(p)}embeddedTView(p){let m=null;for(let P=0;P<this.length;P++){const H=null!==m?m.length:0,te=this.getByIndex(P).embeddedTView(p,H);te&&(te.indexInDeclarationView=P,null!==m?m.push(te):m=[te])}return null!==m?new yE(m):null}template(p,m){for(let P=0;P<this.queries.length;P++)this.queries[P].template(p,m)}getByIndex(p){return this.queries[p]}get length(){return this.queries.length}track(p){this.queries.push(p)}}class K0{constructor(p,m=-1){this.metadata=p,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=m}elementStart(p,m){this.isApplyingToNode(m)&&this.matchTNode(p,m)}elementEnd(p){this._declarationNodeIndex===p.index&&(this._appliesToNextNode=!1)}template(p,m){this.elementStart(p,m)}embeddedTView(p,m){return this.isApplyingToNode(p)?(this.crossesNgTemplate=!0,this.addMatch(-p.index,m),new K0(this.metadata)):null}isApplyingToNode(p){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const m=this._declarationNodeIndex;let P=p.parent;for(;null!==P&&8&P.type&&P.index!==m;)P=P.parent;return m===(null!==P?P.index:-1)}return this._appliesToNextNode}matchTNode(p,m){const P=this.metadata.predicate;if(Array.isArray(P))for(let H=0;H<P.length;H++){const te=P[H];this.matchTNodeWithReadOption(p,m,I2(m,te)),this.matchTNodeWithReadOption(p,m,il(m,p,te,!1,!1))}else P===Kv?4&m.type&&this.matchTNodeWithReadOption(p,m,-1):this.matchTNodeWithReadOption(p,m,il(m,p,P,!1,!1))}matchTNodeWithReadOption(p,m,P){if(null!==P){const H=this.metadata.read;if(null!==H)if(H===pi||H===J0||H===Kv&&4&m.type)this.addMatch(m.index,-2);else{const te=il(m,p,H,!1,!1);null!==te&&this.addMatch(m.index,te)}else this.addMatch(m.index,P)}}addMatch(p,m){null===this.matches?this.matches=[p,m]:this.matches.push(p,m)}}function I2(d,p){const m=d.localNames;if(null!==m)for(let P=0;P<m.length;P+=2)if(m[P]===p)return m[P+1];return null}function L2(d,p,m,P){return-1===m?function F2(d,p){return 11&d.type?Jr(d,p):4&d.type?W0(d,p):null}(p,d):-2===m?function k2(d,p,m){return m===pi?Jr(p,d):m===Kv?W0(p,d):m===J0?zC(p,d):void 0}(d,p,P):du(d,d[kr],m,p)}function WC(d,p,m,P){const H=p[Ra].queries[P];if(null===H.matches){const te=d.data,Ee=m.matches,Ye=[];for(let nt=0;nt<Ee.length;nt+=2){const Yt=Ee[nt];Ye.push(Yt<0?null:L2(p,te[Yt],Ee[nt+1],m.metadata.read))}H.matches=Ye}return H.matches}function EE(d,p,m,P){const H=d.queries.getByIndex(m),te=H.matches;if(null!==te){const Ee=WC(d,p,H,m);for(let Ye=0;Ye<te.length;Ye+=2){const nt=te[Ye];if(nt>0)P.push(Ee[Ye/2]);else{const Yt=te[Ye+1],Mn=p[-nt];for(let ir=rs;ir<Mn.length;ir++){const ti=Mn[ir];ti[Pl]===ti[xo]&&EE(ti[kr],ti,Yt,P)}if(null!==Mn[ys]){const ir=Mn[ys];for(let ti=0;ti<ir.length;ti++){const Pi=ir[ti];EE(Pi[kr],Pi,Yt,P)}}}}}return P}function JC(d){const p=Si(),m=ca(),P=Oi();ai(P+1);const H=tT(m,P);if(d.dirty&&function Xa(d){return 4==(4&d[Qi])}(p)===(2==(2&H.metadata.flags))){if(null===H.matches)d.reset([]);else{const te=H.crossesNgTemplate?EE(m,p,P,[]):WC(m,p,H,P);d.reset(te,_o),d.notifyOnChanges()}return!0}return!1}function QC(d,p,m){const P=ca();P.firstCreatePass&&(eT(P,new VC(d,p,m),-1),2==(2&p)&&(P.staticViewQueries=!0)),qC(P,Si(),p)}function KC(d,p,m,P){const H=ca();if(H.firstCreatePass){const te=Zl();eT(H,new VC(p,m,P),te.index),function H2(d,p){const m=d.contentQueries||(d.contentQueries=[]);p!==(m.length?m[m.length-1]:-1)&&m.push(d.queries.length-1,p)}(H,d),2==(2&m)&&(H.staticContentQueries=!0)}qC(H,Si(),m)}function XC(){return function $2(d,p){return d[Ra].queries[p].queryList}(Si(),Oi())}function qC(d,p,m){const P=new mE(4==(4&m));Rh(d,p,P,P.destroy),null===p[Ra]&&(p[Ra]=new vE),p[Ra].queries.push(new Q0(P))}function eT(d,p,m){null===d.queries&&(d.queries=new yE),d.queries.track(new K0(p,m))}function tT(d,p){return d.queries.getByIndex(p)}function Y1(d,p){return W0(d,p)}function SE(d){return!!Ls(d)}const rO=Cd("Input",d=>({bindingPropertyName:d})),iO=Cd("Output",d=>({bindingPropertyName:d}));function q0(...d){}const ET=new nc("Application Initializer");let ey=(()=>{class d{constructor(m){this.appInits=m,this.resolve=q0,this.reject=q0,this.initialized=!1,this.done=!1,this.donePromise=new Promise((P,H)=>{this.resolve=P,this.reject=H})}runInitializers(){if(this.initialized)return;const m=[],P=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let H=0;H<this.appInits.length;H++){const te=this.appInits[H]();if(Bv(te))m.push(te);else if(F0(te)){const Ee=new Promise((Ye,nt)=>{te.subscribe({complete:Ye,error:nt})});m.push(Ee)}}Promise.all(m).then(()=>{P()}).catch(H=>{this.reject(H)}),0===m.length&&P(),this.initialized=!0}}return d.\u0275fac=function(m){return new(m||d)(Qe(ET,8))},d.\u0275prov=kn({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const ST=new nc("AppId",{providedIn:"root",factory:function CT(){return`${AE()}${AE()}${AE()}`}});function AE(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const TT=new nc("Platform Initializer"),oO=new nc("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),sO=new nc("AnimationModuleType");let aO=(()=>{class d{log(m){console.log(m)}warn(m){console.warn(m)}}return d.\u0275fac=function(m){return new(m||d)},d.\u0275prov=kn({token:d,factory:d.\u0275fac,providedIn:"platform"}),d})();const ty=new nc("LocaleId",{providedIn:"root",factory:()=>tn(ty,rr.Optional|rr.SkipSelf)||function lO(){return typeof $localize<"u"&&$localize.locale||L1}()}),cO=new nc("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class uO{constructor(p,m){this.ngModuleFactory=p,this.componentFactories=m}}let dO=(()=>{class d{compileModuleSync(m){return new uE(m)}compileModuleAsync(m){return Promise.resolve(this.compileModuleSync(m))}compileModuleAndAllComponentsSync(m){const P=this.compileModuleSync(m),te=td(Ls(m).declarations).reduce((Ee,Ye)=>{const nt=Gi(Ye);return nt&&Ee.push(new ee(nt)),Ee},[]);return new uO(P,te)}compileModuleAndAllComponentsAsync(m){return Promise.resolve(this.compileModuleAndAllComponentsSync(m))}clearCache(){}clearCacheFor(m){}getModuleId(m){}}return d.\u0275fac=function(m){return new(m||d)},d.\u0275prov=kn({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const _O=(()=>Promise.resolve(0))();function DE(d){typeof Zone>"u"?_O.then(()=>{d&&d.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",d)}class Nh{constructor({enableLongStackTrace:p=!1,shouldCoalesceEventChangeDetection:m=!1,shouldCoalesceRunChangeDetection:P=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mm(!1),this.onMicrotaskEmpty=new Mm(!1),this.onStable=new Mm(!1),this.onError=new Mm(!1),typeof Zone>"u")throw new J(908,!1);Zone.assertZonePatched();const H=this;H._nesting=0,H._outer=H._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(H._inner=H._inner.fork(new Zone.TaskTrackingZoneSpec)),p&&Zone.longStackTraceZoneSpec&&(H._inner=H._inner.fork(Zone.longStackTraceZoneSpec)),H.shouldCoalesceEventChangeDetection=!P&&m,H.shouldCoalesceRunChangeDetection=P,H.lastRequestAnimationFrameId=-1,H.nativeRequestAnimationFrame=function hO(){let d=Ni.requestAnimationFrame,p=Ni.cancelAnimationFrame;if(typeof Zone<"u"&&d&&p){const m=d[Zone.__symbol__("OriginalDelegate")];m&&(d=m);const P=p[Zone.__symbol__("OriginalDelegate")];P&&(p=P)}return{nativeRequestAnimationFrame:d,nativeCancelAnimationFrame:p}}().nativeRequestAnimationFrame,function vO(d){const p=()=>{!function gO(d){d.isCheckStableRunning||-1!==d.lastRequestAnimationFrameId||(d.lastRequestAnimationFrameId=d.nativeRequestAnimationFrame.call(Ni,()=>{d.fakeTopEventTask||(d.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{d.lastRequestAnimationFrameId=-1,PE(d),d.isCheckStableRunning=!0,RE(d),d.isCheckStableRunning=!1},void 0,()=>{},()=>{})),d.fakeTopEventTask.invoke()}),PE(d))}(d)};d._inner=d._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(m,P,H,te,Ee,Ye)=>{try{return OT(d),m.invokeTask(H,te,Ee,Ye)}finally{(d.shouldCoalesceEventChangeDetection&&"eventTask"===te.type||d.shouldCoalesceRunChangeDetection)&&p(),AT(d)}},onInvoke:(m,P,H,te,Ee,Ye,nt)=>{try{return OT(d),m.invoke(H,te,Ee,Ye,nt)}finally{d.shouldCoalesceRunChangeDetection&&p(),AT(d)}},onHasTask:(m,P,H,te)=>{m.hasTask(H,te),P===H&&("microTask"==te.change?(d._hasPendingMicrotasks=te.microTask,PE(d),RE(d)):"macroTask"==te.change&&(d.hasPendingMacrotasks=te.macroTask))},onHandleError:(m,P,H,te)=>(m.handleError(H,te),d.runOutsideAngular(()=>d.onError.emit(te)),!1)})}(H)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Nh.isInAngularZone())throw new J(909,!1)}static assertNotInAngularZone(){if(Nh.isInAngularZone())throw new J(909,!1)}run(p,m,P){return this._inner.run(p,m,P)}runTask(p,m,P,H){const te=this._inner,Ee=te.scheduleEventTask("NgZoneEvent: "+H,p,mO,q0,q0);try{return te.runTask(Ee,m,P)}finally{te.cancelTask(Ee)}}runGuarded(p,m,P){return this._inner.runGuarded(p,m,P)}runOutsideAngular(p){return this._outer.run(p)}}const mO={};function RE(d){if(0==d._nesting&&!d.hasPendingMicrotasks&&!d.isStable)try{d._nesting++,d.onMicrotaskEmpty.emit(null)}finally{if(d._nesting--,!d.hasPendingMicrotasks)try{d.runOutsideAngular(()=>d.onStable.emit(null))}finally{d.isStable=!0}}}function PE(d){d.hasPendingMicrotasks=!!(d._hasPendingMicrotasks||(d.shouldCoalesceEventChangeDetection||d.shouldCoalesceRunChangeDetection)&&-1!==d.lastRequestAnimationFrameId)}function OT(d){d._nesting++,d.isStable&&(d.isStable=!1,d.onUnstable.emit(null))}function AT(d){d._nesting--,RE(d)}class yO{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mm,this.onMicrotaskEmpty=new Mm,this.onStable=new Mm,this.onError=new Mm}run(p,m,P){return p.apply(m,P)}runGuarded(p,m,P){return p.apply(m,P)}runOutsideAngular(p){return p()}runTask(p,m,P,H){return p.apply(m,P)}}const DT=new nc(""),RT=new nc("");let xE,EO=(()=>{class d{constructor(m,P,H){this._ngZone=m,this.registry=P,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,xE||(function SO(d){xE=d}(H),H.addToWindow(P)),this._watchAngularEvents(),m.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Nh.assertNotInAngularZone(),DE(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())DE(()=>{for(;0!==this._callbacks.length;){let m=this._callbacks.pop();clearTimeout(m.timeoutId),m.doneCb(this._didWork)}this._didWork=!1});else{let m=this.getPendingTasks();this._callbacks=this._callbacks.filter(P=>!P.updateCb||!P.updateCb(m)||(clearTimeout(P.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(m=>({source:m.source,creationLocation:m.creationLocation,data:m.data})):[]}addCallback(m,P,H){let te=-1;P&&P>0&&(te=setTimeout(()=>{this._callbacks=this._callbacks.filter(Ee=>Ee.timeoutId!==te),m(this._didWork,this.getPendingTasks())},P)),this._callbacks.push({doneCb:m,timeoutId:te,updateCb:H})}whenStable(m,P,H){if(H&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(m,P,H),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(m){this.registry.registerApplication(m,this)}unregisterApplication(m){this.registry.unregisterApplication(m)}findProviders(m,P,H){return[]}}return d.\u0275fac=function(m){return new(m||d)(Qe(Nh),Qe(PT),Qe(RT))},d.\u0275prov=kn({token:d,factory:d.\u0275fac}),d})(),PT=(()=>{class d{constructor(){this._applications=new Map}registerApplication(m,P){this._applications.set(m,P)}unregisterApplication(m){this._applications.delete(m)}unregisterAllApplications(){this._applications.clear()}getTestability(m){return this._applications.get(m)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(m,P=!0){return xE?.findTestabilityInTree(this,m,P)??null}}return d.\u0275fac=function(m){return new(m||d)},d.\u0275prov=kn({token:d,factory:d.\u0275fac,providedIn:"platform"}),d})();const Vm=!1;let vg=null;const xT=new nc("AllowMultipleToken"),wE=new nc("PlatformDestroyListeners"),wT=new nc("appBootstrapListener");class IT{constructor(p,m){this.name=p,this.token=m}}function LT(d,p,m=[]){const P=`Platform: ${p}`,H=new nc(P);return(te=[])=>{let Ee=NE();if(!Ee||Ee.injector.get(xT,!1)){const Ye=[...m,...te,{provide:H,useValue:!0}];d?d(Ye):function TO(d){if(vg&&!vg.get(xT,!1))throw new J(400,!1);vg=d;const p=d.get($T);(function FT(d){const p=d.get(TT,null);p&&p.forEach(m=>m())})(d)}(function kT(d=[],p){return qh.create({name:p,providers:[{provide:Rn,useValue:"platform"},{provide:wE,useValue:new Set([()=>vg=null])},...d]})}(Ye,P))}return function MO(d){const p=NE();if(!p)throw new J(401,!1);return p}()}}function NE(){return vg?.get($T)??null}let $T=(()=>{class d{constructor(m){this._injector=m,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(m,P){const H=function UT(d,p){let m;return m="noop"===d?new yO:("zone.js"===d?void 0:d)||new Nh(p),m}(P?.ngZone,function HT(d){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!d||!d.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!d||!d.ngZoneRunCoalescing)||!1}}(P)),te=[{provide:Nh,useValue:H}];return H.run(()=>{const Ee=qh.create({providers:te,parent:this.injector,name:m.moduleType.name}),Ye=m.create(Ee),nt=Ye.injector.get(X_,null);if(!nt)throw new J(402,!1);return H.runOutsideAngular(()=>{const Yt=H.onError.subscribe({next:Mn=>{nt.handleError(Mn)}});Ye.onDestroy(()=>{ry(this._modules,Ye),Yt.unsubscribe()})}),function ny(d,p,m){try{const P=m();return Bv(P)?P.catch(H=>{throw p.runOutsideAngular(()=>d.handleError(H)),H}):P}catch(P){throw p.runOutsideAngular(()=>d.handleError(P)),P}}(nt,H,()=>{const Yt=Ye.injector.get(ey);return Yt.runInitializers(),Yt.donePromise.then(()=>(U0(Ye.injector.get(ty,L1)||L1),this._moduleDoBootstrap(Ye),Ye))})})}bootstrapModule(m,P=[]){const H=IE({},P);return function CO(d,p,m){const P=new uE(m);return Promise.resolve(P)}(0,0,m).then(te=>this.bootstrapModuleFactory(te,H))}_moduleDoBootstrap(m){const P=m.injector.get(z1);if(m._bootstrapComponents.length>0)m._bootstrapComponents.forEach(H=>P.bootstrap(H));else{if(!m.instance.ngDoBootstrap)throw new J(-403,!1);m.instance.ngDoBootstrap(P)}this._modules.push(m)}onDestroy(m){this._destroyListeners.push(m)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new J(404,!1);this._modules.slice().forEach(P=>P.destroy()),this._destroyListeners.forEach(P=>P());const m=this._injector.get(wE,null);m&&(m.forEach(P=>P()),m.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return d.\u0275fac=function(m){return new(m||d)(Qe(qh))},d.\u0275prov=kn({token:d,factory:d.\u0275fac,providedIn:"platform"}),d})();function IE(d,p){return Array.isArray(p)?p.reduce(IE,d):{...d,...p}}let z1=(()=>{class d{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(m,P,H){this._zone=m,this._injector=P,this._exceptionHandler=H,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const te=new u.y(Ye=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Ye.next(this._stable),Ye.complete()})}),Ee=new u.y(Ye=>{let nt;this._zone.runOutsideAngular(()=>{nt=this._zone.onStable.subscribe(()=>{Nh.assertNotInAngularZone(),DE(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Ye.next(!0))})})});const Yt=this._zone.onUnstable.subscribe(()=>{Nh.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Ye.next(!1)}))});return()=>{nt.unsubscribe(),Yt.unsubscribe()}});this.isStable=(0,c.T)(te,Ee.pipe((0,e.B)()))}bootstrap(m,P){const H=m instanceof jo;if(!this._injector.get(ey).done){!H&&As(m);throw new J(405,Vm)}let Ee;Ee=H?m:this._injector.get(ya).resolveComponentFactory(m),this.componentTypes.push(Ee.componentType);const Ye=function NT(d){return d.isBoundToModule}(Ee)?void 0:this._injector.get($1),Yt=Ee.create(qh.NULL,[],P||Ee.selector,Ye),Mn=Yt.location.nativeElement,ir=Yt.injector.get(DT,null);return ir?.registerApplication(Mn),Yt.onDestroy(()=>{this.detachView(Yt.hostView),ry(this.components,Yt),ir?.unregisterApplication(Mn)}),this._loadComponent(Yt),Yt}tick(){if(this._runningTick)throw new J(101,!1);try{this._runningTick=!0;for(let m of this._views)m.detectChanges()}catch(m){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(m))}finally{this._runningTick=!1}}attachView(m){const P=m;this._views.push(P),P.attachToAppRef(this)}detachView(m){const P=m;ry(this._views,P),P.detachFromAppRef()}_loadComponent(m){this.attachView(m.hostView),this.tick(),this.components.push(m);const P=this._injector.get(wT,[]);P.push(...this._bootstrapListeners),P.forEach(H=>H(m))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(m=>m()),this._views.slice().forEach(m=>m.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(m){return this._destroyListeners.push(m),()=>ry(this._destroyListeners,m)}destroy(){if(this._destroyed)throw new J(406,!1);const m=this._injector;m.destroy&&!m.destroyed&&m.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return d.\u0275fac=function(m){return new(m||d)(Qe(Nh),Qe(Es),Qe(X_))},d.\u0275prov=kn({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();function ry(d,p){const m=d.indexOf(p);m>-1&&d.splice(m,1)}function AO(){return!1}function DO(){}let YT=(()=>{class d{}return d.__NG_ELEMENT_ID__=RO,d})();function RO(d){return function PO(d,p,m){if(On(d)&&!m){const P=ba(d.index,p);return new eh(P,P)}return 47&d.type?new eh(p[Ga],p):null}(Zl(),Si(),16==(16&d))}class ZT{constructor(){}supports(p){return dg(p)}create(p){return new zT(p)}}const FO=(d,p)=>p;class zT{constructor(p){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=p||FO}forEachItem(p){let m;for(m=this._itHead;null!==m;m=m._next)p(m)}forEachOperation(p){let m=this._itHead,P=this._removalsHead,H=0,te=null;for(;m||P;){const Ee=!P||m&&m.currentIndex<UE(P,H,te)?m:P,Ye=UE(Ee,H,te),nt=Ee.currentIndex;if(Ee===P)H--,P=P._nextRemoved;else if(m=m._next,null==Ee.previousIndex)H++;else{te||(te=[]);const Yt=Ye-H,Mn=nt-H;if(Yt!=Mn){for(let ti=0;ti<Yt;ti++){const Pi=ti<te.length?te[ti]:te[ti]=0,mo=Pi+ti;Mn<=mo&&mo<Yt&&(te[ti]=Pi+1)}te[Ee.previousIndex]=Mn-Yt}}Ye!==nt&&p(Ee,Ye,nt)}}forEachPreviousItem(p){let m;for(m=this._previousItHead;null!==m;m=m._nextPrevious)p(m)}forEachAddedItem(p){let m;for(m=this._additionsHead;null!==m;m=m._nextAdded)p(m)}forEachMovedItem(p){let m;for(m=this._movesHead;null!==m;m=m._nextMoved)p(m)}forEachRemovedItem(p){let m;for(m=this._removalsHead;null!==m;m=m._nextRemoved)p(m)}forEachIdentityChange(p){let m;for(m=this._identityChangesHead;null!==m;m=m._nextIdentityChange)p(m)}diff(p){if(null==p&&(p=[]),!dg(p))throw new J(900,!1);return this.check(p)?this:null}onDestroy(){}check(p){this._reset();let H,te,Ee,m=this._itHead,P=!1;if(Array.isArray(p)){this.length=p.length;for(let Ye=0;Ye<this.length;Ye++)te=p[Ye],Ee=this._trackByFn(Ye,te),null!==m&&Object.is(m.trackById,Ee)?(P&&(m=this._verifyReinsertion(m,te,Ee,Ye)),Object.is(m.item,te)||this._addIdentityChange(m,te)):(m=this._mismatch(m,te,Ee,Ye),P=!0),m=m._next}else H=0,function b0(d,p){if(Array.isArray(d))for(let m=0;m<d.length;m++)p(d[m]);else{const m=d[Symbol.iterator]();let P;for(;!(P=m.next()).done;)p(P.value)}}(p,Ye=>{Ee=this._trackByFn(H,Ye),null!==m&&Object.is(m.trackById,Ee)?(P&&(m=this._verifyReinsertion(m,Ye,Ee,H)),Object.is(m.item,Ye)||this._addIdentityChange(m,Ye)):(m=this._mismatch(m,Ye,Ee,H),P=!0),m=m._next,H++}),this.length=H;return this._truncate(m),this.collection=p,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let p;for(p=this._previousItHead=this._itHead;null!==p;p=p._next)p._nextPrevious=p._next;for(p=this._additionsHead;null!==p;p=p._nextAdded)p.previousIndex=p.currentIndex;for(this._additionsHead=this._additionsTail=null,p=this._movesHead;null!==p;p=p._nextMoved)p.previousIndex=p.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(p,m,P,H){let te;return null===p?te=this._itTail:(te=p._prev,this._remove(p)),null!==(p=null===this._unlinkedRecords?null:this._unlinkedRecords.get(P,null))?(Object.is(p.item,m)||this._addIdentityChange(p,m),this._reinsertAfter(p,te,H)):null!==(p=null===this._linkedRecords?null:this._linkedRecords.get(P,H))?(Object.is(p.item,m)||this._addIdentityChange(p,m),this._moveAfter(p,te,H)):p=this._addAfter(new LO(m,P),te,H),p}_verifyReinsertion(p,m,P,H){let te=null===this._unlinkedRecords?null:this._unlinkedRecords.get(P,null);return null!==te?p=this._reinsertAfter(te,p._prev,H):p.currentIndex!=H&&(p.currentIndex=H,this._addToMoves(p,H)),p}_truncate(p){for(;null!==p;){const m=p._next;this._addToRemovals(this._unlink(p)),p=m}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(p,m,P){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(p);const H=p._prevRemoved,te=p._nextRemoved;return null===H?this._removalsHead=te:H._nextRemoved=te,null===te?this._removalsTail=H:te._prevRemoved=H,this._insertAfter(p,m,P),this._addToMoves(p,P),p}_moveAfter(p,m,P){return this._unlink(p),this._insertAfter(p,m,P),this._addToMoves(p,P),p}_addAfter(p,m,P){return this._insertAfter(p,m,P),this._additionsTail=null===this._additionsTail?this._additionsHead=p:this._additionsTail._nextAdded=p,p}_insertAfter(p,m,P){const H=null===m?this._itHead:m._next;return p._next=H,p._prev=m,null===H?this._itTail=p:H._prev=p,null===m?this._itHead=p:m._next=p,null===this._linkedRecords&&(this._linkedRecords=new VT),this._linkedRecords.put(p),p.currentIndex=P,p}_remove(p){return this._addToRemovals(this._unlink(p))}_unlink(p){null!==this._linkedRecords&&this._linkedRecords.remove(p);const m=p._prev,P=p._next;return null===m?this._itHead=P:m._next=P,null===P?this._itTail=m:P._prev=m,p}_addToMoves(p,m){return p.previousIndex===m||(this._movesTail=null===this._movesTail?this._movesHead=p:this._movesTail._nextMoved=p),p}_addToRemovals(p){return null===this._unlinkedRecords&&(this._unlinkedRecords=new VT),this._unlinkedRecords.put(p),p.currentIndex=null,p._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=p,p._prevRemoved=null):(p._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=p),p}_addIdentityChange(p,m){return p.item=m,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=p:this._identityChangesTail._nextIdentityChange=p,p}}class LO{constructor(p,m){this.item=p,this.trackById=m,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class qv{constructor(){this._head=null,this._tail=null}add(p){null===this._head?(this._head=this._tail=p,p._nextDup=null,p._prevDup=null):(this._tail._nextDup=p,p._prevDup=this._tail,p._nextDup=null,this._tail=p)}get(p,m){let P;for(P=this._head;null!==P;P=P._nextDup)if((null===m||m<=P.currentIndex)&&Object.is(P.trackById,p))return P;return null}remove(p){const m=p._prevDup,P=p._nextDup;return null===m?this._head=P:m._nextDup=P,null===P?this._tail=m:P._prevDup=m,null===this._head}}class VT{constructor(){this.map=new Map}put(p){const m=p.trackById;let P=this.map.get(m);P||(P=new qv,this.map.set(m,P)),P.add(p)}get(p,m){const H=this.map.get(p);return H?H.get(p,m):null}remove(p){const m=p.trackById;return this.map.get(m).remove(p)&&this.map.delete(m),p}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function UE(d,p,m){const P=d.previousIndex;if(null===P)return P;let H=0;return m&&P<m.length&&(H=m[P]),P+p+H}class WT{constructor(){}supports(p){return p instanceof Map||Fv(p)}create(){return new kO}}class kO{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(p){let m;for(m=this._mapHead;null!==m;m=m._next)p(m)}forEachPreviousItem(p){let m;for(m=this._previousMapHead;null!==m;m=m._nextPrevious)p(m)}forEachChangedItem(p){let m;for(m=this._changesHead;null!==m;m=m._nextChanged)p(m)}forEachAddedItem(p){let m;for(m=this._additionsHead;null!==m;m=m._nextAdded)p(m)}forEachRemovedItem(p){let m;for(m=this._removalsHead;null!==m;m=m._nextRemoved)p(m)}diff(p){if(p){if(!(p instanceof Map||Fv(p)))throw new J(900,!1)}else p=new Map;return this.check(p)?this:null}onDestroy(){}check(p){this._reset();let m=this._mapHead;if(this._appendAfter=null,this._forEach(p,(P,H)=>{if(m&&m.key===H)this._maybeAddToChanges(m,P),this._appendAfter=m,m=m._next;else{const te=this._getOrCreateRecordForKey(H,P);m=this._insertBeforeOrAppend(m,te)}}),m){m._prev&&(m._prev._next=null),this._removalsHead=m;for(let P=m;null!==P;P=P._nextRemoved)P===this._mapHead&&(this._mapHead=null),this._records.delete(P.key),P._nextRemoved=P._next,P.previousValue=P.currentValue,P.currentValue=null,P._prev=null,P._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(p,m){if(p){const P=p._prev;return m._next=p,m._prev=P,p._prev=m,P&&(P._next=m),p===this._mapHead&&(this._mapHead=m),this._appendAfter=p,p}return this._appendAfter?(this._appendAfter._next=m,m._prev=this._appendAfter):this._mapHead=m,this._appendAfter=m,null}_getOrCreateRecordForKey(p,m){if(this._records.has(p)){const H=this._records.get(p);this._maybeAddToChanges(H,m);const te=H._prev,Ee=H._next;return te&&(te._next=Ee),Ee&&(Ee._prev=te),H._next=null,H._prev=null,H}const P=new $O(p);return this._records.set(p,P),P.currentValue=m,this._addToAdditions(P),P}_reset(){if(this.isDirty){let p;for(this._previousMapHead=this._mapHead,p=this._previousMapHead;null!==p;p=p._next)p._nextPrevious=p._next;for(p=this._changesHead;null!==p;p=p._nextChanged)p.previousValue=p.currentValue;for(p=this._additionsHead;null!=p;p=p._nextAdded)p.previousValue=p.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(p,m){Object.is(m,p.currentValue)||(p.previousValue=p.currentValue,p.currentValue=m,this._addToChanges(p))}_addToAdditions(p){null===this._additionsHead?this._additionsHead=this._additionsTail=p:(this._additionsTail._nextAdded=p,this._additionsTail=p)}_addToChanges(p){null===this._changesHead?this._changesHead=this._changesTail=p:(this._changesTail._nextChanged=p,this._changesTail=p)}_forEach(p,m){p instanceof Map?p.forEach(m):Object.keys(p).forEach(P=>m(p[P],P))}}class $O{constructor(p){this.key=p,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function JT(){return new BE([new ZT])}let BE=(()=>{class d{constructor(m){this.factories=m}static create(m,P){if(null!=P){const H=P.factories.slice();m=m.concat(H)}return new d(m)}static extend(m){return{provide:d,useFactory:P=>d.create(m,P||JT()),deps:[[d,new Co,new Zi]]}}find(m){const P=this.factories.find(H=>H.supports(m));if(null!=P)return P;throw new J(901,!1)}}return d.\u0275prov=kn({token:d,providedIn:"root",factory:JT}),d})();function QT(){return new sy([new WT])}let sy=(()=>{class d{constructor(m){this.factories=m}static create(m,P){if(P){const H=P.factories.slice();m=m.concat(H)}return new d(m)}static extend(m){return{provide:d,useFactory:P=>d.create(m,P||QT()),deps:[[d,new Co,new Zi]]}}find(m){const P=this.factories.find(H=>H.supports(m));if(P)return P;throw new J(901,!1)}}return d.\u0275prov=kn({token:d,providedIn:"root",factory:QT}),d})();const BO=LT(null,"core",[]);let XT=(()=>{class d{constructor(m){}}return d.\u0275fac=function(m){return new(m||d)(Qe(z1))},d.\u0275mod=hr({type:d}),d.\u0275inj=Ir({}),d})();function GO(d){return"boolean"==typeof d?d:null!=d&&"false"!==d}function jO(d,p){const m=Gi(d),P=p.elementInjector||Li();return new ee(m).create(P,p.projectableNodes,p.hostElement,p.environmentInjector)}},20092:(y,b,o)=>{"use strict";o.d(b,{CE:()=>Ui,Cf:()=>pe,EJ:()=>Fl,F:()=>ko,Fd:()=>Kc,Fj:()=>U,JJ:()=>Ln,JL:()=>rr,JU:()=>E,K7:()=>Za,Kr:()=>ec,NI:()=>Ys,Oe:()=>Fc,On:()=>Cs,Q7:()=>cc,QS:()=>yl,TO:()=>Nr,UX:()=>Au,Wl:()=>D,YN:()=>zc,_:()=>rs,_Y:()=>Ks,a5:()=>Tr,cw:()=>nr,gN:()=>Ri,kI:()=>ie,nJ:()=>Qn,oH:()=>On,p4:()=>ra,qQ:()=>cu,sg:()=>We,u:()=>hs,u5:()=>Zs,vC:()=>ba,wV:()=>ml,x0:()=>yn});var r=o(64537),a=o(88692),u=o(76666),c=o(35758),e=o(88002);let f=(()=>{class St{constructor(Je,hn){this._renderer=Je,this._elementRef=hn,this.onChange=vi=>{},this.onTouched=()=>{}}setProperty(Je,hn){this._renderer.setProperty(this._elementRef.nativeElement,Je,hn)}registerOnTouched(Je){this.onTouched=Je}registerOnChange(Je){this.onChange=Je}setDisabledState(Je){this.setProperty("disabled",Je)}}return St.\u0275fac=function(Je){return new(Je||St)(r.Y36(r.Qsj),r.Y36(r.SBq))},St.\u0275dir=r.lG2({type:St}),St})(),h=(()=>{class St extends f{}return St.\u0275fac=function(){let ut;return function(hn){return(ut||(ut=r.n5z(St)))(hn||St)}}(),St.\u0275dir=r.lG2({type:St,features:[r.qOj]}),St})();const E=new r.OlP("NgValueAccessor"),T={provide:E,useExisting:(0,r.Gpc)(()=>D),multi:!0};let D=(()=>{class St extends h{writeValue(Je){this.setProperty("checked",Je)}}return St.\u0275fac=function(){let ut;return function(hn){return(ut||(ut=r.n5z(St)))(hn||St)}}(),St.\u0275dir=r.lG2({type:St,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Je,hn){1&Je&&r.NdJ("change",function(wo){return hn.onChange(wo.target.checked)})("blur",function(){return hn.onTouched()})},features:[r._Bn([T]),r.qOj]}),St})();const A={provide:E,useExisting:(0,r.Gpc)(()=>U),multi:!0},Q=new r.OlP("CompositionEventMode");let U=(()=>{class St extends f{constructor(Je,hn,vi){super(Je,hn),this._compositionMode=vi,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function $(){const St=(0,a.q)()?(0,a.q)().getUserAgent():"";return/android (\d+)/.test(St.toLowerCase())}())}writeValue(Je){this.setProperty("value",Je??"")}_handleInput(Je){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Je)}_compositionStart(){this._composing=!0}_compositionEnd(Je){this._composing=!1,this._compositionMode&&this.onChange(Je)}}return St.\u0275fac=function(Je){return new(Je||St)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(Q,8))},St.\u0275dir=r.lG2({type:St,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Je,hn){1&Je&&r.NdJ("input",function(wo){return hn._handleInput(wo.target.value)})("blur",function(){return hn.onTouched()})("compositionstart",function(){return hn._compositionStart()})("compositionend",function(wo){return hn._compositionEnd(wo.target.value)})},features:[r._Bn([A]),r.qOj]}),St})();const q=!1;function L(St){return null==St||("string"==typeof St||Array.isArray(St))&&0===St.length}function J(St){return null!=St&&"number"==typeof St.length}const pe=new r.OlP("NgValidators"),j=new r.OlP("NgAsyncValidators"),ue=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ie{static min(ut){return me(ut)}static max(ut){return Oe(ut)}static required(ut){return Ue(ut)}static requiredTrue(ut){return function Me(St){return!0===St.value?null:{required:!0}}(ut)}static email(ut){return function yt(St){return L(St.value)||ue.test(St.value)?null:{email:!0}}(ut)}static minLength(ut){return function et(St){return ut=>L(ut.value)||!J(ut.value)?null:ut.value.length<St?{minlength:{requiredLength:St,actualLength:ut.value.length}}:null}(ut)}static maxLength(ut){return function tt(St){return ut=>J(ut.value)&&ut.value.length>St?{maxlength:{requiredLength:St,actualLength:ut.value.length}}:null}(ut)}static pattern(ut){return function Et(St){if(!St)return ze;let ut,Je;return"string"==typeof St?(Je="","^"!==St.charAt(0)&&(Je+="^"),Je+=St,"$"!==St.charAt(St.length-1)&&(Je+="$"),ut=new RegExp(Je)):(Je=St.toString(),ut=St),hn=>{if(L(hn.value))return null;const vi=hn.value;return ut.test(vi)?null:{pattern:{requiredPattern:Je,actualValue:vi}}}}(ut)}static nullValidator(ut){return null}static compose(ut){return bn(ut)}static composeAsync(ut){return Rt(ut)}}function me(St){return ut=>{if(L(ut.value)||L(St))return null;const Je=parseFloat(ut.value);return!isNaN(Je)&&Je<St?{min:{min:St,actual:ut.value}}:null}}function Oe(St){return ut=>{if(L(ut.value)||L(St))return null;const Je=parseFloat(ut.value);return!isNaN(Je)&&Je>St?{max:{max:St,actual:ut.value}}:null}}function Ue(St){return L(St.value)?{required:!0}:null}function ze(St){return null}function bt(St){return null!=St}function Ct(St){const ut=(0,r.QGY)(St)?(0,u.D)(St):St;if(q&&!(0,r.CqO)(ut)){let Je="Expected async validator to return Promise or Observable.";throw"object"==typeof St&&(Je+=" Are you using a synchronous validator where an async validator is expected?"),new r.vHH(-1101,Je)}return ut}function Qt(St){let ut={};return St.forEach(Je=>{ut=null!=Je?{...ut,...Je}:ut}),0===Object.keys(ut).length?null:ut}function ht(St,ut){return ut.map(Je=>Je(St))}function nn(St){return St.map(ut=>function en(St){return!St.validate}(ut)?ut:Je=>ut.validate(Je))}function bn(St){if(!St)return null;const ut=St.filter(bt);return 0==ut.length?null:function(Je){return Qt(ht(Je,ut))}}function Dn(St){return null!=St?bn(nn(St)):null}function Rt(St){if(!St)return null;const ut=St.filter(bt);return 0==ut.length?null:function(Je){const hn=ht(Je,ut).map(Ct);return(0,c.D)(hn).pipe((0,e.U)(Qt))}}function Xt(St){return null!=St?Rt(nn(St)):null}function un(St,ut){return null===St?[ut]:Array.isArray(St)?[...St,ut]:[St,ut]}function _n(St){return St._rawValidators}function kn(St){return St._rawAsyncValidators}function ri(St){return St?Array.isArray(St)?St:[St]:[]}function Ir(St,ut){return Array.isArray(St)?St.includes(ut):St===ut}function wr(St,ut){const Je=ri(ut);return ri(St).forEach(vi=>{Ir(Je,vi)||Je.push(vi)}),Je}function _r(St,ut){return ri(ut).filter(Je=>!Ir(St,Je))}class oi{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(ut){this._rawValidators=ut||[],this._composedValidatorFn=Dn(this._rawValidators)}_setAsyncValidators(ut){this._rawAsyncValidators=ut||[],this._composedAsyncValidatorFn=Xt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(ut){this._onDestroyCallbacks.push(ut)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(ut=>ut()),this._onDestroyCallbacks=[]}reset(ut){this.control&&this.control.reset(ut)}hasError(ut,Je){return!!this.control&&this.control.hasError(ut,Je)}getError(ut,Je){return this.control?this.control.getError(ut,Je):null}}class Ri extends oi{get formDirective(){return null}get path(){return null}}class Tr extends oi{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ft{constructor(ut){this._cd=ut}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ln=(()=>{class St extends ft{constructor(Je){super(Je)}}return St.\u0275fac=function(Je){return new(Je||St)(r.Y36(Tr,2))},St.\u0275dir=r.lG2({type:St,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Je,hn){2&Je&&r.ekj("ng-untouched",hn.isUntouched)("ng-touched",hn.isTouched)("ng-pristine",hn.isPristine)("ng-dirty",hn.isDirty)("ng-valid",hn.isValid)("ng-invalid",hn.isInvalid)("ng-pending",hn.isPending)},features:[r.qOj]}),St})(),rr=(()=>{class St extends ft{constructor(Je){super(Je)}}return St.\u0275fac=function(Je){return new(Je||St)(r.Y36(Ri,10))},St.\u0275dir=r.lG2({type:St,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Je,hn){2&Je&&r.ekj("ng-untouched",hn.isUntouched)("ng-touched",hn.isTouched)("ng-pristine",hn.isPristine)("ng-dirty",hn.isDirty)("ng-valid",hn.isValid)("ng-invalid",hn.isInvalid)("ng-pending",hn.isPending)("ng-submitted",hn.isSubmitted)},features:[r.qOj]}),St})();function Vi(St,ut){return St?`with name: '${ut}'`:`at index: ${ut}`}const ke=!1,Ie="VALID",Qe="INVALID",Ve="PENDING",tn="DISABLED";function ot(St){return(vr(St)?St.validators:St)||null}function qt(St,ut){return(vr(ut)?ut.asyncValidators:St)||null}function vr(St){return null!=St&&!Array.isArray(St)&&"object"==typeof St}function An(St,ut,Je){const hn=St.controls;if(!(ut?Object.keys(hn):hn).length)throw new r.vHH(1e3,ke?function Pn(St){return`\n There are no form controls registered with this ${St?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(ut):"");if(!hn[Je])throw new r.vHH(1001,ke?function Nn(St,ut){return`Cannot find form control ${Vi(St,ut)}`}(ut,Je):"")}function yr(St,ut,Je){St._forEachChild((hn,vi)=>{if(void 0===Je[vi])throw new r.vHH(1002,ke?function Ut(St,ut){return`Must supply a value for form control ${Vi(St,ut)}`}(ut,vi):"")})}class Nr{constructor(ut,Je){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(ut),this._assignAsyncValidators(Je)}get validator(){return this._composedValidatorFn}set validator(ut){this._rawValidators=this._composedValidatorFn=ut}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(ut){this._rawAsyncValidators=this._composedAsyncValidatorFn=ut}get parent(){return this._parent}get valid(){return this.status===Ie}get invalid(){return this.status===Qe}get pending(){return this.status==Ve}get disabled(){return this.status===tn}get enabled(){return this.status!==tn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(ut){this._assignValidators(ut)}setAsyncValidators(ut){this._assignAsyncValidators(ut)}addValidators(ut){this.setValidators(wr(ut,this._rawValidators))}addAsyncValidators(ut){this.setAsyncValidators(wr(ut,this._rawAsyncValidators))}removeValidators(ut){this.setValidators(_r(ut,this._rawValidators))}removeAsyncValidators(ut){this.setAsyncValidators(_r(ut,this._rawAsyncValidators))}hasValidator(ut){return Ir(this._rawValidators,ut)}hasAsyncValidator(ut){return Ir(this._rawAsyncValidators,ut)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(ut={}){this.touched=!0,this._parent&&!ut.onlySelf&&this._parent.markAsTouched(ut)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(ut=>ut.markAllAsTouched())}markAsUntouched(ut={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Je=>{Je.markAsUntouched({onlySelf:!0})}),this._parent&&!ut.onlySelf&&this._parent._updateTouched(ut)}markAsDirty(ut={}){this.pristine=!1,this._parent&&!ut.onlySelf&&this._parent.markAsDirty(ut)}markAsPristine(ut={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Je=>{Je.markAsPristine({onlySelf:!0})}),this._parent&&!ut.onlySelf&&this._parent._updatePristine(ut)}markAsPending(ut={}){this.status=Ve,!1!==ut.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!ut.onlySelf&&this._parent.markAsPending(ut)}disable(ut={}){const Je=this._parentMarkedDirty(ut.onlySelf);this.status=tn,this.errors=null,this._forEachChild(hn=>{hn.disable({...ut,onlySelf:!0})}),this._updateValue(),!1!==ut.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...ut,skipPristineCheck:Je}),this._onDisabledChange.forEach(hn=>hn(!0))}enable(ut={}){const Je=this._parentMarkedDirty(ut.onlySelf);this.status=Ie,this._forEachChild(hn=>{hn.enable({...ut,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:ut.emitEvent}),this._updateAncestors({...ut,skipPristineCheck:Je}),this._onDisabledChange.forEach(hn=>hn(!1))}_updateAncestors(ut){this._parent&&!ut.onlySelf&&(this._parent.updateValueAndValidity(ut),ut.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(ut){this._parent=ut}getRawValue(){return this.value}updateValueAndValidity(ut={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ie||this.status===Ve)&&this._runAsyncValidator(ut.emitEvent)),!1!==ut.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!ut.onlySelf&&this._parent.updateValueAndValidity(ut)}_updateTreeValidity(ut={emitEvent:!0}){this._forEachChild(Je=>Je._updateTreeValidity(ut)),this.updateValueAndValidity({onlySelf:!0,emitEvent:ut.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?tn:Ie}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(ut){if(this.asyncValidator){this.status=Ve,this._hasOwnPendingAsyncValidator=!0;const Je=Ct(this.asyncValidator(this));this._asyncValidationSubscription=Je.subscribe(hn=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(hn,{emitEvent:ut})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(ut,Je={}){this.errors=ut,this._updateControlsErrors(!1!==Je.emitEvent)}get(ut){let Je=ut;return null==Je||(Array.isArray(Je)||(Je=Je.split(".")),0===Je.length)?null:Je.reduce((hn,vi)=>hn&&hn._find(vi),this)}getError(ut,Je){const hn=Je?this.get(Je):this;return hn&&hn.errors?hn.errors[ut]:null}hasError(ut,Je){return!!this.getError(ut,Je)}get root(){let ut=this;for(;ut._parent;)ut=ut._parent;return ut}_updateControlsErrors(ut){this.status=this._calculateStatus(),ut&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(ut)}_initObservables(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}_calculateStatus(){return this._allControlsDisabled()?tn:this.errors?Qe:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ve)?Ve:this._anyControlsHaveStatus(Qe)?Qe:Ie}_anyControlsHaveStatus(ut){return this._anyControls(Je=>Je.status===ut)}_anyControlsDirty(){return this._anyControls(ut=>ut.dirty)}_anyControlsTouched(){return this._anyControls(ut=>ut.touched)}_updatePristine(ut={}){this.pristine=!this._anyControlsDirty(),this._parent&&!ut.onlySelf&&this._parent._updatePristine(ut)}_updateTouched(ut={}){this.touched=this._anyControlsTouched(),this._parent&&!ut.onlySelf&&this._parent._updateTouched(ut)}_registerOnCollectionChange(ut){this._onCollectionChange=ut}_setUpdateStrategy(ut){vr(ut)&&null!=ut.updateOn&&(this._updateOn=ut.updateOn)}_parentMarkedDirty(ut){return!ut&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(ut){return null}_assignValidators(ut){this._rawValidators=Array.isArray(ut)?ut.slice():ut,this._composedValidatorFn=function xt(St){return Array.isArray(St)?Dn(St):St||null}(this._rawValidators)}_assignAsyncValidators(ut){this._rawAsyncValidators=Array.isArray(ut)?ut.slice():ut,this._composedAsyncValidatorFn=function tr(St){return Array.isArray(St)?Xt(St):St||null}(this._rawAsyncValidators)}}class nr extends Nr{constructor(ut,Je,hn){super(ot(Je),qt(hn,Je)),this.controls=ut,this._initObservables(),this._setUpdateStrategy(Je),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(ut,Je){return this.controls[ut]?this.controls[ut]:(this.controls[ut]=Je,Je.setParent(this),Je._registerOnCollectionChange(this._onCollectionChange),Je)}addControl(ut,Je,hn={}){this.registerControl(ut,Je),this.updateValueAndValidity({emitEvent:hn.emitEvent}),this._onCollectionChange()}removeControl(ut,Je={}){this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),delete this.controls[ut],this.updateValueAndValidity({emitEvent:Je.emitEvent}),this._onCollectionChange()}setControl(ut,Je,hn={}){this.controls[ut]&&this.controls[ut]._registerOnCollectionChange(()=>{}),delete this.controls[ut],Je&&this.registerControl(ut,Je),this.updateValueAndValidity({emitEvent:hn.emitEvent}),this._onCollectionChange()}contains(ut){return this.controls.hasOwnProperty(ut)&&this.controls[ut].enabled}setValue(ut,Je={}){yr(this,!0,ut),Object.keys(ut).forEach(hn=>{An(this,!0,hn),this.controls[hn].setValue(ut[hn],{onlySelf:!0,emitEvent:Je.emitEvent})}),this.updateValueAndValidity(Je)}patchValue(ut,Je={}){null!=ut&&(Object.keys(ut).forEach(hn=>{const vi=this.controls[hn];vi&&vi.patchValue(ut[hn],{onlySelf:!0,emitEvent:Je.emitEvent})}),this.updateValueAndValidity(Je))}reset(ut={},Je={}){this._forEachChild((hn,vi)=>{hn.reset(ut[vi],{onlySelf:!0,emitEvent:Je.emitEvent})}),this._updatePristine(Je),this._updateTouched(Je),this.updateValueAndValidity(Je)}getRawValue(){return this._reduceChildren({},(ut,Je,hn)=>(ut[hn]=Je.getRawValue(),ut))}_syncPendingControls(){let ut=this._reduceChildren(!1,(Je,hn)=>!!hn._syncPendingControls()||Je);return ut&&this.updateValueAndValidity({onlySelf:!0}),ut}_forEachChild(ut){Object.keys(this.controls).forEach(Je=>{const hn=this.controls[Je];hn&&ut(hn,Je)})}_setUpControls(){this._forEachChild(ut=>{ut.setParent(this),ut._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(ut){for(const[Je,hn]of Object.entries(this.controls))if(this.contains(Je)&&ut(hn))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Je,hn,vi)=>((hn.enabled||this.disabled)&&(Je[vi]=hn.value),Je))}_reduceChildren(ut,Je){let hn=ut;return this._forEachChild((vi,wo)=>{hn=Je(hn,vi,wo)}),hn}_allControlsDisabled(){for(const ut of Object.keys(this.controls))if(this.controls[ut].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(ut){return this.controls.hasOwnProperty(ut)?this.controls[ut]:null}}const Qn=nr;class Wn extends nr{}const kt=new r.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>st}),st="always";function zt(St,ut){return[...ut.path,St]}function er(St,ut,Je=st){Jo(St,ut),ut.valueAccessor.writeValue(St.value),(St.disabled||"always"===Je)&&ut.valueAccessor.setDisabledState?.(St.disabled),function hr(St,ut){ut.valueAccessor.registerOnChange(Je=>{St._pendingValue=Je,St._pendingChange=!0,St._pendingDirty=!0,"change"===St.updateOn&&ni(St,ut)})}(St,ut),function Vr(St,ut){const Je=(hn,vi)=>{ut.valueAccessor.writeValue(hn),vi&&ut.viewToModelUpdate(hn)};St.registerOnChange(Je),ut._registerOnDestroy(()=>{St._unregisterOnChange(Je)})}(St,ut),function Ii(St,ut){ut.valueAccessor.registerOnTouched(()=>{St._pendingTouched=!0,"blur"===St.updateOn&&St._pendingChange&&ni(St,ut),"submit"!==St.updateOn&&St.markAsTouched()})}(St,ut),function gi(St,ut){if(ut.valueAccessor.setDisabledState){const Je=hn=>{ut.valueAccessor.setDisabledState(hn)};St.registerOnDisabledChange(Je),ut._registerOnDestroy(()=>{St._unregisterOnDisabledChange(Je)})}}(St,ut)}function Kr(St,ut,Je=!0){const hn=()=>{};ut.valueAccessor&&(ut.valueAccessor.registerOnChange(hn),ut.valueAccessor.registerOnTouched(hn)),os(St,ut),St&&(ut._invokeOnDestroyCallbacks(),St._registerOnCollectionChange(()=>{}))}function mi(St,ut){St.forEach(Je=>{Je.registerOnValidatorChange&&Je.registerOnValidatorChange(ut)})}function Jo(St,ut){const Je=_n(St);null!==ut.validator?St.setValidators(un(Je,ut.validator)):"function"==typeof Je&&St.setValidators([Je]);const hn=kn(St);null!==ut.asyncValidator?St.setAsyncValidators(un(hn,ut.asyncValidator)):"function"==typeof hn&&St.setAsyncValidators([hn]);const vi=()=>St.updateValueAndValidity();mi(ut._rawValidators,vi),mi(ut._rawAsyncValidators,vi)}function os(St,ut){let Je=!1;if(null!==St){if(null!==ut.validator){const vi=_n(St);if(Array.isArray(vi)&&vi.length>0){const wo=vi.filter(Ya=>Ya!==ut.validator);wo.length!==vi.length&&(Je=!0,St.setValidators(wo))}}if(null!==ut.asyncValidator){const vi=kn(St);if(Array.isArray(vi)&&vi.length>0){const wo=vi.filter(Ya=>Ya!==ut.asyncValidator);wo.length!==vi.length&&(Je=!0,St.setAsyncValidators(wo))}}}const hn=()=>{};return mi(ut._rawValidators,hn),mi(ut._rawAsyncValidators,hn),Je}function ni(St,ut){St._pendingDirty&&St.markAsDirty(),St.setValue(St._pendingValue,{emitModelToViewChange:!1}),ut.viewToModelUpdate(St._pendingValue),St._pendingChange=!1}function wi(St,ut){Jo(St,ut)}function $r(St,ut){if(!St.hasOwnProperty("model"))return!1;const Je=St.model;return!!Je.isFirstChange()||!Object.is(ut,Je.currentValue)}function mn(St,ut){St._syncPendingControls(),ut.forEach(Je=>{const hn=Je.control;"submit"===hn.updateOn&&hn._pendingChange&&(Je.viewToModelUpdate(hn._pendingValue),hn._pendingChange=!1)})}function kr(St,ut){if(!ut)return null;let Je,hn,vi;return Array.isArray(ut),ut.forEach(wo=>{wo.constructor===U?Je=wo:function Cn(St){return Object.getPrototypeOf(St.constructor)===h}(wo)?hn=wo:vi=wo}),vi||hn||Je||null}const Ss={provide:Ri,useExisting:(0,r.Gpc)(()=>ko)},bs=(()=>Promise.resolve())();let ko=(()=>{class St extends Ri{constructor(Je,hn,vi){super(),this.callSetDisabledState=vi,this.submitted=!1,this._directives=new Set,this.ngSubmit=new r.vpe,this.form=new nr({},Dn(Je),Xt(hn))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Je){bs.then(()=>{const hn=this._findContainer(Je.path);Je.control=hn.registerControl(Je.name,Je.control),er(Je.control,Je,this.callSetDisabledState),Je.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Je)})}getControl(Je){return this.form.get(Je.path)}removeControl(Je){bs.then(()=>{const hn=this._findContainer(Je.path);hn&&hn.removeControl(Je.name),this._directives.delete(Je)})}addFormGroup(Je){bs.then(()=>{const hn=this._findContainer(Je.path),vi=new nr({});wi(vi,Je),hn.registerControl(Je.name,vi),vi.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Je){bs.then(()=>{const hn=this._findContainer(Je.path);hn&&hn.removeControl(Je.name)})}getFormGroup(Je){return this.form.get(Je.path)}updateModel(Je,hn){bs.then(()=>{this.form.get(Je.path).setValue(hn)})}setValue(Je){this.control.setValue(Je)}onSubmit(Je){return this.submitted=!0,mn(this.form,this._directives),this.ngSubmit.emit(Je),"dialog"===Je?.target?.method}onReset(){this.resetForm()}resetForm(Je){this.form.reset(Je),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Je){return Je.pop(),Je.length?this.form.get(Je):this.form}}return St.\u0275fac=function(Je){return new(Je||St)(r.Y36(pe,10),r.Y36(j,10),r.Y36(kt,8))},St.\u0275dir=r.lG2({type:St,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Je,hn){1&Je&&r.NdJ("submit",function(wo){return hn.onSubmit(wo)})("reset",function(){return hn.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([Ss]),r.qOj]}),St})();function $s(St,ut){const Je=St.indexOf(ut);Je>-1&&St.splice(Je,1)}function ps(St){return"object"==typeof St&&null!==St&&2===Object.keys(St).length&&"value"in St&&"disabled"in St}const Ys=class extends Nr{constructor(ut=null,Je,hn){super(ot(Je),qt(hn,Je)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(ut),this._setUpdateStrategy(Je),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vr(Je)&&(Je.nonNullable||Je.initialValueIsDefault)&&(this.defaultValue=ps(ut)?ut.value:ut)}setValue(ut,Je={}){this.value=this._pendingValue=ut,this._onChange.length&&!1!==Je.emitModelToViewChange&&this._onChange.forEach(hn=>hn(this.value,!1!==Je.emitViewToModelChange)),this.updateValueAndValidity(Je)}patchValue(ut,Je={}){this.setValue(ut,Je)}reset(ut=this.defaultValue,Je={}){this._applyFormState(ut),this.markAsPristine(Je),this.markAsUntouched(Je),this.setValue(this.value,Je),this._pendingChange=!1}_updateValue(){}_anyControls(ut){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(ut){this._onChange.push(ut)}_unregisterOnChange(ut){$s(this._onChange,ut)}registerOnDisabledChange(ut){this._onDisabledChange.push(ut)}_unregisterOnDisabledChange(ut){$s(this._onDisabledChange,ut)}_forEachChild(ut){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(ut){ps(ut)?(this.value=this._pendingValue=ut.value,ut.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=ut}},ra=Ys;let oc=(()=>{class St extends Ri{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return zt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return St.\u0275fac=function(){let ut;return function(hn){return(ut||(ut=r.n5z(St)))(hn||St)}}(),St.\u0275dir=r.lG2({type:St,features:[r.qOj]}),St})();const Ra={provide:Tr,useExisting:(0,r.Gpc)(()=>Cs)},Fo=(()=>Promise.resolve())();let Cs=(()=>{class St extends Tr{constructor(Je,hn,vi,wo,Ya,Si){super(),this._changeDetectorRef=Ya,this.callSetDisabledState=Si,this.control=new Ys,this._registered=!1,this.update=new r.vpe,this._parent=Je,this._setValidators(hn),this._setAsyncValidators(vi),this.valueAccessor=kr(0,wo)}ngOnChanges(Je){if(this._checkForErrors(),!this._registered||"name"in Je){if(this._registered&&(this._checkName(),this.formDirective)){const hn=Je.name.previousValue;this.formDirective.removeControl({name:hn,path:this._getPath(hn)})}this._setUpControl()}"isDisabled"in Je&&this._updateDisabled(Je),$r(Je,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(Je){this.viewModel=Je,this.update.emit(Je)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){er(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Je){Fo.then(()=>{this.control.setValue(Je,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Je){const hn=Je.isDisabled.currentValue,vi=0!==hn&&(0,r.D6c)(hn);Fo.then(()=>{vi&&!this.control.disabled?this.control.disable():!vi&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Je){return this._parent?zt(Je,this._parent):[Je]}}return St.\u0275fac=function(Je){return new(Je||St)(r.Y36(Ri,9),r.Y36(pe,10),r.Y36(j,10),r.Y36(E,10),r.Y36(r.sBO,8),r.Y36(kt,8))},St.\u0275dir=r.lG2({type:St,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([Ra]),r.qOj,r.TTD]}),St})(),Ks=(()=>{class St{}return St.\u0275fac=function(Je){return new(Je||St)},St.\u0275dir=r.lG2({type:St,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),St})();const nl={provide:E,useExisting:(0,r.Gpc)(()=>ml),multi:!0};let ml=(()=>{class St extends h{writeValue(Je){this.setProperty("value",Je??"")}registerOnChange(Je){this.onChange=hn=>{Je(""==hn?null:parseFloat(hn))}}}return St.\u0275fac=function(){let ut;return function(hn){return(ut||(ut=r.n5z(St)))(hn||St)}}(),St.\u0275dir=r.lG2({type:St,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Je,hn){1&Je&&r.NdJ("input",function(wo){return hn.onChange(wo.target.value)})("blur",function(){return hn.onTouched()})},features:[r._Bn([nl]),r.qOj]}),St})();const ma={provide:E,useExisting:(0,r.Gpc)(()=>rs),multi:!0};let Go=(()=>{class St{}return St.\u0275fac=function(Je){return new(Je||St)},St.\u0275mod=r.oAB({type:St}),St.\u0275inj=r.cJS({}),St})(),ys=(()=>{class St{constructor(){this._accessors=[]}add(Je,hn){this._accessors.push([Je,hn])}remove(Je){for(let hn=this._accessors.length-1;hn>=0;--hn)if(this._accessors[hn][1]===Je)return void this._accessors.splice(hn,1)}select(Je){this._accessors.forEach(hn=>{this._isSameGroup(hn,Je)&&hn[1]!==Je&&hn[1].fireUncheck(Je.value)})}_isSameGroup(Je,hn){return!!Je[0].control&&Je[0]._parent===hn._control._parent&&Je[1].name===hn.name}}return St.\u0275fac=function(Je){return new(Je||St)},St.\u0275prov=r.Yz7({token:St,factory:St.\u0275fac,providedIn:Go}),St})(),rs=(()=>{class St extends h{constructor(Je,hn,vi,wo){super(Je,hn),this._registry=vi,this._injector=wo,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,r.f3M)(kt,{optional:!0})??st}ngOnInit(){this._control=this._injector.get(Tr),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(Je){this._state=Je===this.value,this.setProperty("checked",this._state)}registerOnChange(Je){this._fn=Je,this.onChange=()=>{Je(this.value),this._registry.select(this)}}setDisabledState(Je){(this.setDisabledStateFired||Je||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",Je),this.setDisabledStateFired=!0}fireUncheck(Je){this.writeValue(Je)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return St.\u0275fac=function(Je){return new(Je||St)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(ys),r.Y36(r.zs3))},St.\u0275dir=r.lG2({type:St,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(Je,hn){1&Je&&r.NdJ("change",function(){return hn.onChange()})("blur",function(){return hn.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r._Bn([ma]),r.qOj]}),St})();const qi=new r.OlP("NgModelWithFormControlWarning"),_t={provide:Tr,useExisting:(0,r.Gpc)(()=>On)};let On=(()=>{class St extends Tr{set isDisabled(Je){}constructor(Je,hn,vi,wo,Ya){super(),this._ngModelWarningConfig=wo,this.callSetDisabledState=Ya,this.update=new r.vpe,this._ngModelWarningSent=!1,this._setValidators(Je),this._setAsyncValidators(hn),this.valueAccessor=kr(0,vi)}ngOnChanges(Je){if(this._isControlChanged(Je)){const hn=Je.form.previousValue;hn&&Kr(hn,this,!1),er(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}$r(Je,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Kr(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Je){this.viewModel=Je,this.update.emit(Je)}_isControlChanged(Je){return Je.hasOwnProperty("form")}}return St._ngModelWarningSentOnce=!1,St.\u0275fac=function(Je){return new(Je||St)(r.Y36(pe,10),r.Y36(j,10),r.Y36(E,10),r.Y36(qi,8),r.Y36(kt,8))},St.\u0275dir=r.lG2({type:St,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r._Bn([_t]),r.qOj,r.TTD]}),St})();const ae={provide:Ri,useExisting:(0,r.Gpc)(()=>We)};let We=(()=>{class St extends Ri{constructor(Je,hn,vi){super(),this.callSetDisabledState=vi,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.vpe,this._setValidators(Je),this._setAsyncValidators(hn)}ngOnChanges(Je){this._checkFormPresent(),Je.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(os(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Je){const hn=this.form.get(Je.path);return er(hn,Je,this.callSetDisabledState),hn.updateValueAndValidity({emitEvent:!1}),this.directives.push(Je),hn}getControl(Je){return this.form.get(Je.path)}removeControl(Je){Kr(Je.control||null,Je,!1),function Qi(St,ut){const Je=St.indexOf(ut);Je>-1&&St.splice(Je,1)}(this.directives,Je)}addFormGroup(Je){this._setUpFormContainer(Je)}removeFormGroup(Je){this._cleanUpFormContainer(Je)}getFormGroup(Je){return this.form.get(Je.path)}addFormArray(Je){this._setUpFormContainer(Je)}removeFormArray(Je){this._cleanUpFormContainer(Je)}getFormArray(Je){return this.form.get(Je.path)}updateModel(Je,hn){this.form.get(Je.path).setValue(hn)}onSubmit(Je){return this.submitted=!0,mn(this.form,this.directives),this.ngSubmit.emit(Je),"dialog"===Je?.target?.method}onReset(){this.resetForm()}resetForm(Je){this.form.reset(Je),this.submitted=!1}_updateDomValue(){this.directives.forEach(Je=>{const hn=Je.control,vi=this.form.get(Je.path);hn!==vi&&(Kr(hn||null,Je),(St=>St instanceof Ys)(vi)&&(er(vi,Je,this.callSetDisabledState),Je.control=vi))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Je){const hn=this.form.get(Je.path);wi(hn,Je),hn.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Je){if(this.form){const hn=this.form.get(Je.path);hn&&function Gi(St,ut){return os(St,ut)}(hn,Je)&&hn.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Jo(this.form,this),this._oldForm&&os(this._oldForm,this)}_checkFormPresent(){}}return St.\u0275fac=function(Je){return new(Je||St)(r.Y36(pe,10),r.Y36(j,10),r.Y36(kt,8))},St.\u0275dir=r.lG2({type:St,selectors:[["","formGroup",""]],hostBindings:function(Je,hn){1&Je&&r.NdJ("submit",function(wo){return hn.onSubmit(wo)})("reset",function(){return hn.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([ae]),r.qOj,r.TTD]}),St})();const on={provide:Ri,useExisting:(0,r.Gpc)(()=>yn)};let yn=(()=>{class St extends oc{constructor(Je,hn,vi){super(),this._parent=Je,this._setValidators(hn),this._setAsyncValidators(vi)}_checkParentType(){eo(this._parent)}}return St.\u0275fac=function(Je){return new(Je||St)(r.Y36(Ri,13),r.Y36(pe,10),r.Y36(j,10))},St.\u0275dir=r.lG2({type:St,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r._Bn([on]),r.qOj]}),St})();const Ei={provide:Ri,useExisting:(0,r.Gpc)(()=>Ui)};let Ui=(()=>{class St extends Ri{constructor(Je,hn,vi){super(),this._parent=Je,this._setValidators(hn),this._setAsyncValidators(vi)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return zt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){eo(this._parent)}}return St.\u0275fac=function(Je){return new(Je||St)(r.Y36(Ri,13),r.Y36(pe,10),r.Y36(j,10))},St.\u0275dir=r.lG2({type:St,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r._Bn([Ei]),r.qOj]}),St})();function eo(St){return!(St instanceof yn||St instanceof We||St instanceof Ui)}const js={provide:Tr,useExisting:(0,r.Gpc)(()=>hs)};let hs=(()=>{class St extends Tr{set isDisabled(Je){}constructor(Je,hn,vi,wo,Ya){super(),this._ngModelWarningConfig=Ya,this._added=!1,this.update=new r.vpe,this._ngModelWarningSent=!1,this._parent=Je,this._setValidators(hn),this._setAsyncValidators(vi),this.valueAccessor=kr(0,wo)}ngOnChanges(Je){this._added||this._setUpControl(),$r(Je,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Je){this.viewModel=Je,this.update.emit(Je)}get path(){return zt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return St._ngModelWarningSentOnce=!1,St.\u0275fac=function(Je){return new(Je||St)(r.Y36(Ri,13),r.Y36(pe,10),r.Y36(j,10),r.Y36(E,10),r.Y36(qi,8))},St.\u0275dir=r.lG2({type:St,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r._Bn([js]),r.qOj,r.TTD]}),St})();const ia={provide:E,useExisting:(0,r.Gpc)(()=>Fl),multi:!0};function ta(St,ut){return null==St?`${ut}`:(ut&&"object"==typeof ut&&(ut="Object"),`${St}: ${ut}`.slice(0,50))}let Fl=(()=>{class St extends h{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Je){this._compareWith=Je}writeValue(Je){this.value=Je;const vi=ta(this._getOptionId(Je),Je);this.setProperty("value",vi)}registerOnChange(Je){this.onChange=hn=>{this.value=this._getOptionValue(hn),Je(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(Je){for(const hn of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(hn),Je))return hn;return null}_getOptionValue(Je){const hn=function Ul(St){return St.split(":")[0]}(Je);return this._optionMap.has(hn)?this._optionMap.get(hn):Je}}return St.\u0275fac=function(){let ut;return function(hn){return(ut||(ut=r.n5z(St)))(hn||St)}}(),St.\u0275dir=r.lG2({type:St,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(Je,hn){1&Je&&r.NdJ("change",function(wo){return hn.onChange(wo.target.value)})("blur",function(){return hn.onTouched()})},inputs:{compareWith:"compareWith"},features:[r._Bn([ia]),r.qOj]}),St})(),zc=(()=>{class St{constructor(Je,hn,vi){this._element=Je,this._renderer=hn,this._select=vi,this._select&&(this.id=this._select._registerOption())}set ngValue(Je){null!=this._select&&(this._select._optionMap.set(this.id,Je),this._setElementValue(ta(this.id,Je)),this._select.writeValue(this._select.value))}set value(Je){this._setElementValue(Je),this._select&&this._select.writeValue(this._select.value)}_setElementValue(Je){this._renderer.setProperty(this._element.nativeElement,"value",Je)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return St.\u0275fac=function(Je){return new(Je||St)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(Fl,9))},St.\u0275dir=r.lG2({type:St,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),St})();const Uu={provide:E,useExisting:(0,r.Gpc)(()=>Za),multi:!0};function ru(St,ut){return null==St?`${ut}`:("string"==typeof ut&&(ut=`'${ut}'`),ut&&"object"==typeof ut&&(ut="Object"),`${St}: ${ut}`.slice(0,50))}let Za=(()=>{class St extends h{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Je){this._compareWith=Je}writeValue(Je){let hn;if(this.value=Je,Array.isArray(Je)){const vi=Je.map(wo=>this._getOptionId(wo));hn=(wo,Ya)=>{wo._setSelected(vi.indexOf(Ya.toString())>-1)}}else hn=(vi,wo)=>{vi._setSelected(!1)};this._optionMap.forEach(hn)}registerOnChange(Je){this.onChange=hn=>{const vi=[],wo=hn.selectedOptions;if(void 0!==wo){const Ya=wo;for(let Si=0;Si<Ya.length;Si++){const Xs=this._getOptionValue(Ya[Si].value);vi.push(Xs)}}else{const Ya=hn.options;for(let Si=0;Si<Ya.length;Si++){const ca=Ya[Si];if(ca.selected){const Xs=this._getOptionValue(ca.value);vi.push(Xs)}}}this.value=vi,Je(vi)}}_registerOption(Je){const hn=(this._idCounter++).toString();return this._optionMap.set(hn,Je),hn}_getOptionId(Je){for(const hn of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(hn)._value,Je))return hn;return null}_getOptionValue(Je){const hn=function bl(St){return St.split(":")[0]}(Je);return this._optionMap.has(hn)?this._optionMap.get(hn)._value:Je}}return St.\u0275fac=function(){let ut;return function(hn){return(ut||(ut=r.n5z(St)))(hn||St)}}(),St.\u0275dir=r.lG2({type:St,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(Je,hn){1&Je&&r.NdJ("change",function(wo){return hn.onChange(wo.target)})("blur",function(){return hn.onTouched()})},inputs:{compareWith:"compareWith"},features:[r._Bn([Uu]),r.qOj]}),St})(),ec=(()=>{class St{constructor(Je,hn,vi){this._element=Je,this._renderer=hn,this._select=vi,this._select&&(this.id=this._select._registerOption(this))}set ngValue(Je){null!=this._select&&(this._value=Je,this._setElementValue(ru(this.id,Je)),this._select.writeValue(this._select.value))}set value(Je){this._select?(this._value=Je,this._setElementValue(ru(this.id,Je)),this._select.writeValue(this._select.value)):this._setElementValue(Je)}_setElementValue(Je){this._renderer.setProperty(this._element.nativeElement,"value",Je)}_setSelected(Je){this._renderer.setProperty(this._element.nativeElement,"selected",Je)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return St.\u0275fac=function(Je){return new(Je||St)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(Za,9))},St.\u0275dir=r.lG2({type:St,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),St})();function Ec(St){return"number"==typeof St?St:parseFloat(St)}let Sc=(()=>{class St{constructor(){this._validator=ze}ngOnChanges(Je){if(this.inputName in Je){const hn=this.normalizeInput(Je[this.inputName].currentValue);this._enabled=this.enabled(hn),this._validator=this._enabled?this.createValidator(hn):ze,this._onChange&&this._onChange()}}validate(Je){return this._validator(Je)}registerOnValidatorChange(Je){this._onChange=Je}enabled(Je){return null!=Je}}return St.\u0275fac=function(Je){return new(Je||St)},St.\u0275dir=r.lG2({type:St,features:[r.TTD]}),St})();const dl={provide:pe,useExisting:(0,r.Gpc)(()=>Kc),multi:!0};let Kc=(()=>{class St extends Sc{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Je=>Ec(Je),this.createValidator=Je=>Oe(Je)}}return St.\u0275fac=function(){let ut;return function(hn){return(ut||(ut=r.n5z(St)))(hn||St)}}(),St.\u0275dir=r.lG2({type:St,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Je,hn){2&Je&&r.uIk("max",hn._enabled?hn.max:null)},inputs:{max:"max"},features:[r._Bn([dl]),r.qOj]}),St})();const Vc={provide:pe,useExisting:(0,r.Gpc)(()=>cu),multi:!0};let cu=(()=>{class St extends Sc{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Je=>Ec(Je),this.createValidator=Je=>me(Je)}}return St.\u0275fac=function(){let ut;return function(hn){return(ut||(ut=r.n5z(St)))(hn||St)}}(),St.\u0275dir=r.lG2({type:St,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Je,hn){2&Je&&r.uIk("min",hn._enabled?hn.min:null)},inputs:{min:"min"},features:[r._Bn([Vc]),r.qOj]}),St})();const xs={provide:pe,useExisting:(0,r.Gpc)(()=>cc),multi:!0};let cc=(()=>{class St extends Sc{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=r.D6c,this.createValidator=Je=>Ue}enabled(Je){return Je}}return St.\u0275fac=function(){let ut;return function(hn){return(ut||(ut=r.n5z(St)))(hn||St)}}(),St.\u0275dir=r.lG2({type:St,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Je,hn){2&Je&&r.uIk("required",hn._enabled?"":null)},inputs:{required:"required"},features:[r._Bn([xs]),r.qOj]}),St})(),Ic=(()=>{class St{}return St.\u0275fac=function(Je){return new(Je||St)},St.\u0275mod=r.oAB({type:St}),St.\u0275inj=r.cJS({imports:[Go]}),St})();class Fc extends Nr{constructor(ut,Je,hn){super(ot(Je),qt(hn,Je)),this.controls=ut,this._initObservables(),this._setUpdateStrategy(Je),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(ut){return this.controls[this._adjustIndex(ut)]}push(ut,Je={}){this.controls.push(ut),this._registerControl(ut),this.updateValueAndValidity({emitEvent:Je.emitEvent}),this._onCollectionChange()}insert(ut,Je,hn={}){this.controls.splice(ut,0,Je),this._registerControl(Je),this.updateValueAndValidity({emitEvent:hn.emitEvent})}removeAt(ut,Je={}){let hn=this._adjustIndex(ut);hn<0&&(hn=0),this.controls[hn]&&this.controls[hn]._registerOnCollectionChange(()=>{}),this.controls.splice(hn,1),this.updateValueAndValidity({emitEvent:Je.emitEvent})}setControl(ut,Je,hn={}){let vi=this._adjustIndex(ut);vi<0&&(vi=0),this.controls[vi]&&this.controls[vi]._registerOnCollectionChange(()=>{}),this.controls.splice(vi,1),Je&&(this.controls.splice(vi,0,Je),this._registerControl(Je)),this.updateValueAndValidity({emitEvent:hn.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(ut,Je={}){yr(this,!1,ut),ut.forEach((hn,vi)=>{An(this,!1,vi),this.at(vi).setValue(hn,{onlySelf:!0,emitEvent:Je.emitEvent})}),this.updateValueAndValidity(Je)}patchValue(ut,Je={}){null!=ut&&(ut.forEach((hn,vi)=>{this.at(vi)&&this.at(vi).patchValue(hn,{onlySelf:!0,emitEvent:Je.emitEvent})}),this.updateValueAndValidity(Je))}reset(ut=[],Je={}){this._forEachChild((hn,vi)=>{hn.reset(ut[vi],{onlySelf:!0,emitEvent:Je.emitEvent})}),this._updatePristine(Je),this._updateTouched(Je),this.updateValueAndValidity(Je)}getRawValue(){return this.controls.map(ut=>ut.getRawValue())}clear(ut={}){this.controls.length<1||(this._forEachChild(Je=>Je._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:ut.emitEvent}))}_adjustIndex(ut){return ut<0?ut+this.length:ut}_syncPendingControls(){let ut=this.controls.reduce((Je,hn)=>!!hn._syncPendingControls()||Je,!1);return ut&&this.updateValueAndValidity({onlySelf:!0}),ut}_forEachChild(ut){this.controls.forEach((Je,hn)=>{ut(Je,hn)})}_updateValue(){this.value=this.controls.filter(ut=>ut.enabled||this.disabled).map(ut=>ut.value)}_anyControls(ut){return this.controls.some(Je=>Je.enabled&&ut(Je))}_setUpControls(){this._forEachChild(ut=>this._registerControl(ut))}_allControlsDisabled(){for(const ut of this.controls)if(ut.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(ut){ut.setParent(this),ut._registerOnCollectionChange(this._onCollectionChange)}_find(ut){return this.at(ut)??null}}const ba=Fc;function Oc(St){return!!St&&(void 0!==St.asyncValidators||void 0!==St.validators||void 0!==St.updateOn)}let Ac=(()=>{class St{constructor(){this.useNonNullable=!1}get nonNullable(){const Je=new St;return Je.useNonNullable=!0,Je}group(Je,hn=null){const vi=this._reduceControls(Je);let wo={};return Oc(hn)?wo=hn:null!==hn&&(wo.validators=hn.validator,wo.asyncValidators=hn.asyncValidator),new nr(vi,wo)}record(Je,hn=null){const vi=this._reduceControls(Je);return new Wn(vi,hn)}control(Je,hn,vi){let wo={};return this.useNonNullable?(Oc(hn)?wo=hn:(wo.validators=hn,wo.asyncValidators=vi),new Ys(Je,{...wo,nonNullable:!0})):new Ys(Je,hn,vi)}array(Je,hn,vi){const wo=Je.map(Ya=>this._createControl(Ya));return new Fc(wo,hn,vi)}_reduceControls(Je){const hn={};return Object.keys(Je).forEach(vi=>{hn[vi]=this._createControl(Je[vi])}),hn}_createControl(Je){return Je instanceof Ys||Je instanceof Nr?Je:Array.isArray(Je)?this.control(Je[0],Je.length>1?Je[1]:null,Je.length>2?Je[2]:null):this.control(Je)}}return St.\u0275fac=function(Je){return new(Je||St)},St.\u0275prov=r.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"}),St})(),yl=(()=>{class St extends Ac{group(Je,hn=null){return super.group(Je,hn)}control(Je,hn,vi){return super.control(Je,hn,vi)}array(Je,hn,vi){return super.array(Je,hn,vi)}}return St.\u0275fac=function(){let ut;return function(hn){return(ut||(ut=r.n5z(St)))(hn||St)}}(),St.\u0275prov=r.Yz7({token:St,factory:St.\u0275fac,providedIn:"root"}),St})(),Zs=(()=>{class St{static withConfig(Je){return{ngModule:St,providers:[{provide:kt,useValue:Je.callSetDisabledState??st}]}}}return St.\u0275fac=function(Je){return new(Je||St)},St.\u0275mod=r.oAB({type:St}),St.\u0275inj=r.cJS({imports:[Ic]}),St})(),Au=(()=>{class St{static withConfig(Je){return{ngModule:St,providers:[{provide:qi,useValue:Je.warnOnNgModelWithFormControl??"always"},{provide:kt,useValue:Je.callSetDisabledState??st}]}}}return St.\u0275fac=function(Je){return new(Je||St)},St.\u0275mod=r.oAB({type:St}),St.\u0275inj=r.cJS({imports:[Ic]}),St})()},5998:(y,b,o)=>{"use strict";o.d(b,{Dx:()=>ji,H7:()=>Nr,HJ:()=>Vi,b2:()=>Fi,q6:()=>At,se:()=>bt});var r=o(88692),a=o(64537);class u extends r.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class c extends u{static makeCurrent(){(0,r.HT)(new c)}onAndCancel(Wt,kt,st){return Wt.addEventListener(kt,st,!1),()=>{Wt.removeEventListener(kt,st,!1)}}dispatchEvent(Wt,kt){Wt.dispatchEvent(kt)}remove(Wt){Wt.parentNode&&Wt.parentNode.removeChild(Wt)}createElement(Wt,kt){return(kt=kt||this.getDefaultDocument()).createElement(Wt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Wt){return Wt.nodeType===Node.ELEMENT_NODE}isShadowRoot(Wt){return Wt instanceof DocumentFragment}getGlobalEventTarget(Wt,kt){return"window"===kt?window:"document"===kt?Wt:"body"===kt?Wt.body:null}getBaseHref(Wt){const kt=function f(){return e=e||document.querySelector("base"),e?e.getAttribute("href"):null}();return null==kt?null:function E(Wn){h=h||document.createElement("a"),h.setAttribute("href",Wn);const Wt=h.pathname;return"/"===Wt.charAt(0)?Wt:`/${Wt}`}(kt)}resetBaseElement(){e=null}getUserAgent(){return window.navigator.userAgent}getCookie(Wt){return(0,r.Mx)(document.cookie,Wt)}}let h,e=null;const T=new a.OlP("TRANSITION_ID"),A=[{provide:a.ip1,useFactory:function D(Wn,Wt,kt){return()=>{kt.get(a.CZH).donePromise.then(()=>{const st=(0,r.q)(),zt=Wt.querySelectorAll(`style[ng-transition="${Wn}"]`);for(let er=0;er<zt.length;er++)st.remove(zt[er])})}},deps:[T,r.K0,a.zs3],multi:!0}];let Q=(()=>{class Wn{build(){return new XMLHttpRequest}}return Wn.\u0275fac=function(kt){return new(kt||Wn)},Wn.\u0275prov=a.Yz7({token:Wn,factory:Wn.\u0275fac}),Wn})();const U=new a.OlP("EventManagerPlugins");let q=(()=>{class Wn{constructor(kt,st){this._zone=st,this._eventNameToPlugin=new Map,kt.forEach(zt=>{zt.manager=this}),this._plugins=kt.slice().reverse()}addEventListener(kt,st,zt){return this._findPluginFor(st).addEventListener(kt,st,zt)}addGlobalEventListener(kt,st,zt){return this._findPluginFor(st).addGlobalEventListener(kt,st,zt)}getZone(){return this._zone}_findPluginFor(kt){const st=this._eventNameToPlugin.get(kt);if(st)return st;const zt=this._plugins;for(let er=0;er<zt.length;er++){const Kr=zt[er];if(Kr.supports(kt))return this._eventNameToPlugin.set(kt,Kr),Kr}throw new Error(`No event manager plugin found for event ${kt}`)}}return Wn.\u0275fac=function(kt){return new(kt||Wn)(a.LFG(U),a.LFG(a.R0b))},Wn.\u0275prov=a.Yz7({token:Wn,factory:Wn.\u0275fac}),Wn})();class L{constructor(Wt){this._doc=Wt}addGlobalEventListener(Wt,kt,st){const zt=(0,r.q)().getGlobalEventTarget(this._doc,Wt);if(!zt)throw new Error(`Unsupported event target ${zt} for event ${kt}`);return this.addEventListener(zt,kt,st)}}let J=(()=>{class Wn{constructor(){this.usageCount=new Map}addStyles(kt){for(const st of kt)1===this.changeUsageCount(st,1)&&this.onStyleAdded(st)}removeStyles(kt){for(const st of kt)0===this.changeUsageCount(st,-1)&&this.onStyleRemoved(st)}onStyleRemoved(kt){}onStyleAdded(kt){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(kt,st){const zt=this.usageCount;let er=zt.get(kt)??0;return er+=st,er>0?zt.set(kt,er):zt.delete(kt),er}ngOnDestroy(){for(const kt of this.getAllStyles())this.onStyleRemoved(kt);this.usageCount.clear()}}return Wn.\u0275fac=function(kt){return new(kt||Wn)},Wn.\u0275prov=a.Yz7({token:Wn,factory:Wn.\u0275fac}),Wn})(),pe=(()=>{class Wn extends J{constructor(kt){super(),this.doc=kt,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(kt){for(const st of this.hostNodes)this.addStyleToHost(st,kt)}onStyleRemoved(kt){const st=this.styleRef;st.get(kt)?.forEach(er=>er.remove()),st.delete(kt)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(kt){this.hostNodes.add(kt);for(const st of this.getAllStyles())this.addStyleToHost(kt,st)}removeHost(kt){this.hostNodes.delete(kt)}addStyleToHost(kt,st){const zt=this.doc.createElement("style");zt.textContent=st,kt.appendChild(zt);const er=this.styleRef.get(st);er?er.push(zt):this.styleRef.set(st,[zt])}resetHostNodes(){const kt=this.hostNodes;kt.clear(),kt.add(this.doc.head)}}return Wn.\u0275fac=function(kt){return new(kt||Wn)(a.LFG(r.K0))},Wn.\u0275prov=a.Yz7({token:Wn,factory:Wn.\u0275fac}),Wn})();const j={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ue=/%COMP%/g,yt=new a.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function Et(Wn,Wt){return Wt.flat(100).map(kt=>kt.replace(ue,Wn))}function ze(Wn){return Wt=>{if("__ngUnwrap__"===Wt)return Wn;!1===Wn(Wt)&&(Wt.preventDefault(),Wt.returnValue=!1)}}let bt=(()=>{class Wn{constructor(kt,st,zt,er){this.eventManager=kt,this.sharedStylesHost=st,this.appId=zt,this.removeStylesOnCompDestory=er,this.rendererByCompId=new Map,this.defaultRenderer=new Ct(kt)}createRenderer(kt,st){if(!kt||!st)return this.defaultRenderer;const zt=this.getOrCreateRenderer(kt,st);return zt instanceof Dn?zt.applyToHost(kt):zt instanceof bn&&zt.applyStyles(),zt}getOrCreateRenderer(kt,st){const zt=this.rendererByCompId;let er=zt.get(st.id);if(!er){const Kr=this.eventManager,mi=this.sharedStylesHost,gi=this.removeStylesOnCompDestory;switch(st.encapsulation){case a.ifc.Emulated:er=new Dn(Kr,mi,st,this.appId,gi);break;case a.ifc.ShadowDom:return new nn(Kr,mi,kt,st);default:er=new bn(Kr,mi,st,gi)}er.onDestroy=()=>zt.delete(st.id),zt.set(st.id,er)}return er}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return Wn.\u0275fac=function(kt){return new(kt||Wn)(a.LFG(q),a.LFG(pe),a.LFG(a.AFp),a.LFG(yt))},Wn.\u0275prov=a.Yz7({token:Wn,factory:Wn.\u0275fac}),Wn})();class Ct{constructor(Wt){this.eventManager=Wt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Wt,kt){return kt?document.createElementNS(j[kt]||kt,Wt):document.createElement(Wt)}createComment(Wt){return document.createComment(Wt)}createText(Wt){return document.createTextNode(Wt)}appendChild(Wt,kt){(en(Wt)?Wt.content:Wt).appendChild(kt)}insertBefore(Wt,kt,st){Wt&&(en(Wt)?Wt.content:Wt).insertBefore(kt,st)}removeChild(Wt,kt){Wt&&Wt.removeChild(kt)}selectRootElement(Wt,kt){let st="string"==typeof Wt?document.querySelector(Wt):Wt;if(!st)throw new Error(`The selector "${Wt}" did not match any elements`);return kt||(st.textContent=""),st}parentNode(Wt){return Wt.parentNode}nextSibling(Wt){return Wt.nextSibling}setAttribute(Wt,kt,st,zt){if(zt){kt=zt+":"+kt;const er=j[zt];er?Wt.setAttributeNS(er,kt,st):Wt.setAttribute(kt,st)}else Wt.setAttribute(kt,st)}removeAttribute(Wt,kt,st){if(st){const zt=j[st];zt?Wt.removeAttributeNS(zt,kt):Wt.removeAttribute(`${st}:${kt}`)}else Wt.removeAttribute(kt)}addClass(Wt,kt){Wt.classList.add(kt)}removeClass(Wt,kt){Wt.classList.remove(kt)}setStyle(Wt,kt,st,zt){zt&(a.JOm.DashCase|a.JOm.Important)?Wt.style.setProperty(kt,st,zt&a.JOm.Important?"important":""):Wt.style[kt]=st}removeStyle(Wt,kt,st){st&a.JOm.DashCase?Wt.style.removeProperty(kt):Wt.style[kt]=""}setProperty(Wt,kt,st){Wt[kt]=st}setValue(Wt,kt){Wt.nodeValue=kt}listen(Wt,kt,st){return"string"==typeof Wt?this.eventManager.addGlobalEventListener(Wt,kt,ze(st)):this.eventManager.addEventListener(Wt,kt,ze(st))}}function en(Wn){return"TEMPLATE"===Wn.tagName&&void 0!==Wn.content}class nn extends Ct{constructor(Wt,kt,st,zt){super(Wt),this.sharedStylesHost=kt,this.hostEl=st,this.shadowRoot=st.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const er=Et(zt.id,zt.styles);for(const Kr of er){const mi=document.createElement("style");mi.textContent=Kr,this.shadowRoot.appendChild(mi)}}nodeOrShadowRoot(Wt){return Wt===this.hostEl?this.shadowRoot:Wt}appendChild(Wt,kt){return super.appendChild(this.nodeOrShadowRoot(Wt),kt)}insertBefore(Wt,kt,st){return super.insertBefore(this.nodeOrShadowRoot(Wt),kt,st)}removeChild(Wt,kt){return super.removeChild(this.nodeOrShadowRoot(Wt),kt)}parentNode(Wt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Wt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class bn extends Ct{constructor(Wt,kt,st,zt,er=st.id){super(Wt),this.sharedStylesHost=kt,this.removeStylesOnCompDestory=zt,this.rendererUsageCount=0,this.styles=Et(er,st.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class Dn extends bn{constructor(Wt,kt,st,zt,er){const Kr=zt+"-"+st.id;super(Wt,kt,st,er,Kr),this.contentAttr=function et(Wn){return"_ngcontent-%COMP%".replace(ue,Wn)}(Kr),this.hostAttr=function tt(Wn){return"_nghost-%COMP%".replace(ue,Wn)}(Kr)}applyToHost(Wt){this.applyStyles(),this.setAttribute(Wt,this.hostAttr,"")}createElement(Wt,kt){const st=super.createElement(Wt,kt);return super.setAttribute(st,this.contentAttr,""),st}}let Rt=(()=>{class Wn extends L{constructor(kt){super(kt)}supports(kt){return!0}addEventListener(kt,st,zt){return kt.addEventListener(st,zt,!1),()=>this.removeEventListener(kt,st,zt)}removeEventListener(kt,st,zt){return kt.removeEventListener(st,zt)}}return Wn.\u0275fac=function(kt){return new(kt||Wn)(a.LFG(r.K0))},Wn.\u0275prov=a.Yz7({token:Wn,factory:Wn.\u0275fac}),Wn})();const Xt=["alt","control","meta","shift"],un={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},_n={alt:Wn=>Wn.altKey,control:Wn=>Wn.ctrlKey,meta:Wn=>Wn.metaKey,shift:Wn=>Wn.shiftKey};let kn=(()=>{class Wn extends L{constructor(kt){super(kt)}supports(kt){return null!=Wn.parseEventName(kt)}addEventListener(kt,st,zt){const er=Wn.parseEventName(st),Kr=Wn.eventCallback(er.fullKey,zt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,r.q)().onAndCancel(kt,er.domEventName,Kr))}static parseEventName(kt){const st=kt.toLowerCase().split("."),zt=st.shift();if(0===st.length||"keydown"!==zt&&"keyup"!==zt)return null;const er=Wn._normalizeKey(st.pop());let Kr="",mi=st.indexOf("code");if(mi>-1&&(st.splice(mi,1),Kr="code."),Xt.forEach(Jo=>{const os=st.indexOf(Jo);os>-1&&(st.splice(os,1),Kr+=Jo+".")}),Kr+=er,0!=st.length||0===er.length)return null;const gi={};return gi.domEventName=zt,gi.fullKey=Kr,gi}static matchEventFullKeyCode(kt,st){let zt=un[kt.key]||kt.key,er="";return st.indexOf("code.")>-1&&(zt=kt.code,er="code."),!(null==zt||!zt)&&(zt=zt.toLowerCase()," "===zt?zt="space":"."===zt&&(zt="dot"),Xt.forEach(Kr=>{Kr!==zt&&(0,_n[Kr])(kt)&&(er+=Kr+".")}),er+=zt,er===st)}static eventCallback(kt,st,zt){return er=>{Wn.matchEventFullKeyCode(er,kt)&&zt.runGuarded(()=>st(er))}}static _normalizeKey(kt){return"esc"===kt?"escape":kt}}return Wn.\u0275fac=function(kt){return new(kt||Wn)(a.LFG(r.K0))},Wn.\u0275prov=a.Yz7({token:Wn,factory:Wn.\u0275fac}),Wn})();const At=(0,a.eFA)(a._c5,"browser",[{provide:a.Lbi,useValue:r.bD},{provide:a.g9A,useValue:function Ri(){c.makeCurrent()},multi:!0},{provide:r.K0,useFactory:function ft(){return(0,a.RDi)(document),document},deps:[]}]),Ln=new a.OlP(""),rr=[{provide:a.rWj,useClass:class ${addToWindow(Wt){a.dqk.getAngularTestability=(st,zt=!0)=>{const er=Wt.findTestabilityInTree(st,zt);if(null==er)throw new Error("Could not find testability for element.");return er},a.dqk.getAllAngularTestabilities=()=>Wt.getAllTestabilities(),a.dqk.getAllAngularRootElements=()=>Wt.getAllRootElements(),a.dqk.frameworkStabilizers||(a.dqk.frameworkStabilizers=[]),a.dqk.frameworkStabilizers.push(st=>{const zt=a.dqk.getAllAngularTestabilities();let er=zt.length,Kr=!1;const mi=function(gi){Kr=Kr||gi,er--,0==er&&st(Kr)};zt.forEach(function(gi){gi.whenStable(mi)})})}findTestabilityInTree(Wt,kt,st){return null==kt?null:Wt.getTestability(kt)??(st?(0,r.q)().isShadowRoot(kt)?this.findTestabilityInTree(Wt,kt.host,!0):this.findTestabilityInTree(Wt,kt.parentElement,!0):null)}},deps:[]},{provide:a.lri,useClass:a.dDg,deps:[a.R0b,a.eoX,a.rWj]},{provide:a.dDg,useClass:a.dDg,deps:[a.R0b,a.eoX,a.rWj]}],Lr=[{provide:a.zSh,useValue:"root"},{provide:a.qLn,useFactory:function Tr(){return new a.qLn},deps:[]},{provide:U,useClass:Rt,multi:!0,deps:[r.K0,a.R0b,a.Lbi]},{provide:U,useClass:kn,multi:!0,deps:[r.K0]},{provide:bt,useClass:bt,deps:[q,pe,a.AFp,yt]},{provide:a.FYo,useExisting:bt},{provide:J,useExisting:pe},{provide:pe,useClass:pe,deps:[r.K0]},{provide:q,useClass:q,deps:[U,a.R0b]},{provide:r.JF,useClass:Q,deps:[]},[]];let Fi=(()=>{class Wn{constructor(kt){}static withServerTransition(kt){return{ngModule:Wn,providers:[{provide:a.AFp,useValue:kt.appId},{provide:T,useExisting:a.AFp},A]}}}return Wn.\u0275fac=function(kt){return new(kt||Wn)(a.LFG(Ln,12))},Wn.\u0275mod=a.oAB({type:Wn}),Wn.\u0275inj=a.cJS({providers:[...Lr,...rr],imports:[r.ez,a.hGG]}),Wn})(),ji=(()=>{class Wn{constructor(kt){this._doc=kt}getTitle(){return this._doc.title}setTitle(kt){this._doc.title=kt||""}}return Wn.\u0275fac=function(kt){return new(kt||Wn)(a.LFG(r.K0))},Wn.\u0275prov=a.Yz7({token:Wn,factory:function(kt){let st=null;return st=kt?new kt:function Ni(){return new ji((0,a.LFG)(r.K0))}(),st},providedIn:"root"}),Wn})();const Pr=typeof window<"u"&&window||{};class Bo{constructor(Wt,kt){this.msPerTick=Wt,this.numTicks=kt}}class cs{constructor(Wt){this.appRef=Wt.injector.get(a.z2F)}timeChangeDetection(Wt){const kt=Wt&&Wt.record,st="Change Detection",zt=null!=Pr.console.profile;kt&&zt&&Pr.console.profile(st);const er=ts();let Kr=0;for(;Kr<5||ts()-er<500;)this.appRef.tick(),Kr++;const mi=ts();kt&&zt&&Pr.console.profileEnd(st);const gi=(mi-er)/Kr;return Pr.console.log(`ran ${Kr} change detection cycles`),Pr.console.log(`${gi.toFixed(2)} ms per check`),new Bo(gi,Kr)}}function ts(){return Pr.performance&&Pr.performance.now?Pr.performance.now():(new Date).getTime()}const io="profiler";function Vi(Wn){return function jr(Wn,Wt){(typeof COMPILED>"u"||!COMPILED)&&((a.dqk.ng=a.dqk.ng||{})[Wn]=Wt)}(io,new cs(Wn)),Wn}let Nr=(()=>{class Wn{}return Wn.\u0275fac=function(kt){return new(kt||Wn)},Wn.\u0275prov=a.Yz7({token:Wn,factory:function(kt){let st=null;return st=kt?new(kt||Wn):a.LFG(Qn),st},providedIn:"root"}),Wn})(),Qn=(()=>{class Wn extends Nr{constructor(kt){super(),this._doc=kt}sanitize(kt,st){if(null==st)return null;switch(kt){case a.q3G.NONE:return st;case a.q3G.HTML:return(0,a.qzn)(st,"HTML")?(0,a.z3N)(st):(0,a.EiD)(this._doc,String(st)).toString();case a.q3G.STYLE:return(0,a.qzn)(st,"Style")?(0,a.z3N)(st):st;case a.q3G.SCRIPT:if((0,a.qzn)(st,"Script"))return(0,a.z3N)(st);throw new Error("unsafe value used in a script context");case a.q3G.URL:return(0,a.qzn)(st,"URL")?(0,a.z3N)(st):(0,a.mCW)(String(st));case a.q3G.RESOURCE_URL:if((0,a.qzn)(st,"ResourceURL"))return(0,a.z3N)(st);throw new Error(`unsafe value used in a resource URL context (see ${a.JZr})`);default:throw new Error(`Unexpected SecurityContext ${kt} (see ${a.JZr})`)}}bypassSecurityTrustHtml(kt){return(0,a.JVY)(kt)}bypassSecurityTrustStyle(kt){return(0,a.L6k)(kt)}bypassSecurityTrustScript(kt){return(0,a.eBb)(kt)}bypassSecurityTrustUrl(kt){return(0,a.LAX)(kt)}bypassSecurityTrustResourceUrl(kt){return(0,a.pB0)(kt)}}return Wn.\u0275fac=function(kt){return new(kt||Wn)(a.LFG(r.K0))},Wn.\u0275prov=a.Yz7({token:Wn,factory:function(kt){let st=null;return st=kt?new kt:function nr(Wn){return new Qn(Wn.get(r.K0))}(a.LFG(a.zs3)),st},providedIn:"root"}),Wn})()},54247:(y,b,o)=>{"use strict";o.d(b,{gz:()=>ae,m2:()=>ko,OD:()=>bs,wm:()=>fa,F0:()=>Wo,rH:()=>Pa,Od:()=>dc,Bz:()=>jd,lC:()=>Ec});var r=o(64537),a=o(76666),u=o(25917),c=o(26215),e=o(13410),f=o(9112),h=o(6481),E=o(70882),T=o(59193);function D(be){return new E.y(Ne=>{let ve;try{ve=be()}catch(Ot){return void Ne.error(Ot)}return(ve?(0,a.D)(ve):(0,T.c)()).subscribe(Ne)})}var A=o(34022),$=o(40205),Q=o(52441),U=o(79765),q=o(88692),L=o(88002),J=o(43190),pe=o(15257),j=o(39761),ue=o(45435),ie=o(19773),me=o(28049),Oe=o(94612),Ue=o(68307),Me=o(5304),yt=o(42145),et=o(12627),tt=o(77393);class ze{constructor(Ne,ve){this.predicate=Ne,this.inclusive=ve}call(Ne,ve){return ve.subscribe(new bt(Ne,this.predicate,this.inclusive))}}class bt extends tt.L{constructor(Ne,ve,Ze){super(Ne),this.predicate=ve,this.inclusive=Ze,this.index=0}_next(Ne){const ve=this.destination;let Ze;try{Ze=this.predicate(Ne,this.index++)}catch(Ot){return void ve.error(Ot)}this.nextOrComplete(Ne,Ze)}nextOrComplete(Ne,ve){const Ze=this.destination;Boolean(ve)?Ze.next(Ne):(this.inclusive&&Ze.next(Ne),Ze.complete())}}var Ct=o(95242),Qt=o(548),ht=o(96736),en=o(68939),nn=o(51307),bn=o(63282),Dn=o(5998);const Rt="primary",Xt=Symbol("RouteTitle");class un{constructor(Ne){this.params=Ne||{}}has(Ne){return Object.prototype.hasOwnProperty.call(this.params,Ne)}get(Ne){if(this.has(Ne)){const ve=this.params[Ne];return Array.isArray(ve)?ve[0]:ve}return null}getAll(Ne){if(this.has(Ne)){const ve=this.params[Ne];return Array.isArray(ve)?ve:[ve]}return[]}get keys(){return Object.keys(this.params)}}function _n(be){return new un(be)}function kn(be,Ne,ve){const Ze=ve.path.split("/");if(Ze.length>be.length||"full"===ve.pathMatch&&(Ne.hasChildren()||Ze.length<be.length))return null;const Ot={};for(let fn=0;fn<Ze.length;fn++){const k=Ze[fn],w=be[fn];if(k.startsWith(":"))Ot[k.substring(1)]=w;else if(k!==w.path)return null}return{consumed:be.slice(0,Ze.length),posParams:Ot}}function Ir(be,Ne){const ve=be?Object.keys(be):void 0,Ze=Ne?Object.keys(Ne):void 0;if(!ve||!Ze||ve.length!=Ze.length)return!1;let Ot;for(let fn=0;fn<ve.length;fn++)if(Ot=ve[fn],!wr(be[Ot],Ne[Ot]))return!1;return!0}function wr(be,Ne){if(Array.isArray(be)&&Array.isArray(Ne)){if(be.length!==Ne.length)return!1;const ve=[...be].sort(),Ze=[...Ne].sort();return ve.every((Ot,fn)=>Ze[fn]===Ot)}return be===Ne}function _r(be){return Array.prototype.concat.apply([],be)}function oi(be){return be.length>0?be[be.length-1]:null}function Tr(be,Ne){for(const ve in be)be.hasOwnProperty(ve)&&Ne(be[ve],ve)}function ft(be){return(0,r.CqO)(be)?be:(0,r.QGY)(be)?(0,a.D)(Promise.resolve(be)):(0,u.of)(be)}const sn=!1,At={exact:function Fi(be,Ne,ve){if(!cs(be.segments,Ne.segments)||!Ni(be.segments,Ne.segments,ve)||be.numberOfChildren!==Ne.numberOfChildren)return!1;for(const Ze in Ne.children)if(!be.children[Ze]||!Fi(be.children[Ze],Ne.children[Ze],ve))return!1;return!0},subset:Vo},Ln={exact:function Lr(be,Ne){return Ir(be,Ne)},subset:function so(be,Ne){return Object.keys(Ne).length<=Object.keys(be).length&&Object.keys(Ne).every(ve=>wr(be[ve],Ne[ve]))},ignored:()=>!0};function rr(be,Ne,ve){return At[ve.paths](be.root,Ne.root,ve.matrixParams)&&Ln[ve.queryParams](be.queryParams,Ne.queryParams)&&!("exact"===ve.fragment&&be.fragment!==Ne.fragment)}function Vo(be,Ne,ve){return Xr(be,Ne,Ne.segments,ve)}function Xr(be,Ne,ve,Ze){if(be.segments.length>ve.length){const Ot=be.segments.slice(0,ve.length);return!(!cs(Ot,ve)||Ne.hasChildren()||!Ni(Ot,ve,Ze))}if(be.segments.length===ve.length){if(!cs(be.segments,ve)||!Ni(be.segments,ve,Ze))return!1;for(const Ot in Ne.children)if(!be.children[Ot]||!Vo(be.children[Ot],Ne.children[Ot],Ze))return!1;return!0}{const Ot=ve.slice(0,be.segments.length),fn=ve.slice(be.segments.length);return!!(cs(be.segments,Ot)&&Ni(be.segments,Ot,Ze)&&be.children[Rt])&&Xr(be.children[Rt],Ne,fn,Ze)}}function Ni(be,Ne,ve){return Ne.every((Ze,Ot)=>Ln[ve](be[Ot].parameters,Ze.parameters))}class ji{constructor(Ne=new jr([],{}),ve={},Ze=null){this.root=Ne,this.queryParams=ve,this.fragment=Ze}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_n(this.queryParams)),this._queryParamMap}toString(){return Pn.serialize(this)}}class jr{constructor(Ne,ve){this.segments=Ne,this.children=ve,this.parent=null,Tr(ve,(Ze,Ot)=>Ze.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Nn(this)}}class Pr{constructor(Ne,ve){this.path=Ne,this.parameters=ve}get parameterMap(){return this._parameterMap||(this._parameterMap=_n(this.parameters)),this._parameterMap}toString(){return xt(this)}}function cs(be,Ne){return be.length===Ne.length&&be.every((ve,Ze)=>ve.path===Ne[Ze].path)}let io=(()=>{class be{}return be.\u0275fac=function(ve){return new(ve||be)},be.\u0275prov=r.Yz7({token:be,factory:function(){return new Vi},providedIn:"root"}),be})();class Vi{parse(Ne){const ve=new dr(Ne);return new ji(ve.parseRootSegment(),ve.parseQueryParams(),ve.parseFragment())}serialize(Ne){const ve=`/${Ut(Ne.root,!0)}`,Ze=function tr(be){const Ne=Object.keys(be).map(ve=>{const Ze=be[ve];return Array.isArray(Ze)?Ze.map(Ot=>`${Ie(ve)}=${Ie(Ot)}`).join("&"):`${Ie(ve)}=${Ie(Ze)}`}).filter(ve=>!!ve);return Ne.length?`?${Ne.join("&")}`:""}(Ne.queryParams);return`${ve}${Ze}${"string"==typeof Ne.fragment?`#${function Qe(be){return encodeURI(be)}(Ne.fragment)}`:""}`}}const Pn=new Vi;function Nn(be){return be.segments.map(Ne=>xt(Ne)).join("/")}function Ut(be,Ne){if(!be.hasChildren())return Nn(be);if(Ne){const ve=be.children[Rt]?Ut(be.children[Rt],!1):"",Ze=[];return Tr(be.children,(Ot,fn)=>{fn!==Rt&&Ze.push(`${fn}:${Ut(Ot,!1)}`)}),Ze.length>0?`${ve}(${Ze.join("//")})`:ve}{const ve=function ts(be,Ne){let ve=[];return Tr(be.children,(Ze,Ot)=>{Ot===Rt&&(ve=ve.concat(Ne(Ze,Ot)))}),Tr(be.children,(Ze,Ot)=>{Ot!==Rt&&(ve=ve.concat(Ne(Ze,Ot)))}),ve}(be,(Ze,Ot)=>Ot===Rt?[Ut(be.children[Rt],!1)]:[`${Ot}:${Ut(Ze,!1)}`]);return 1===Object.keys(be.children).length&&null!=be.children[Rt]?`${Nn(be)}/${ve[0]}`:`${Nn(be)}/(${ve.join("//")})`}}function ke(be){return encodeURIComponent(be).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ie(be){return ke(be).replace(/%3B/gi,";")}function Ve(be){return ke(be).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function tn(be){return decodeURIComponent(be)}function ot(be){return tn(be.replace(/\+/g,"%20"))}function xt(be){return`${Ve(be.path)}${function qt(be){return Object.keys(be).map(Ne=>`;${Ve(Ne)}=${Ve(be[Ne])}`).join("")}(be.parameters)}`}const vr=/^[^\/()?;=#]+/;function An(be){const Ne=be.match(vr);return Ne?Ne[0]:""}const yr=/^[^=?&#]+/,nr=/^[^&#]+/;class dr{constructor(Ne){this.url=Ne,this.remaining=Ne}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new jr([],{}):new jr([],this.parseChildren())}parseQueryParams(){const Ne={};if(this.consumeOptional("?"))do{this.parseQueryParam(Ne)}while(this.consumeOptional("&"));return Ne}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Ne=[];for(this.peekStartsWith("(")||Ne.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Ne.push(this.parseSegment());let ve={};this.peekStartsWith("/(")&&(this.capture("/"),ve=this.parseParens(!0));let Ze={};return this.peekStartsWith("(")&&(Ze=this.parseParens(!1)),(Ne.length>0||Object.keys(ve).length>0)&&(Ze[Rt]=new jr(Ne,ve)),Ze}parseSegment(){const Ne=An(this.remaining);if(""===Ne&&this.peekStartsWith(";"))throw new r.vHH(4009,sn);return this.capture(Ne),new Pr(tn(Ne),this.parseMatrixParams())}parseMatrixParams(){const Ne={};for(;this.consumeOptional(";");)this.parseParam(Ne);return Ne}parseParam(Ne){const ve=An(this.remaining);if(!ve)return;this.capture(ve);let Ze="";if(this.consumeOptional("=")){const Ot=An(this.remaining);Ot&&(Ze=Ot,this.capture(Ze))}Ne[tn(ve)]=tn(Ze)}parseQueryParam(Ne){const ve=function Nr(be){const Ne=be.match(yr);return Ne?Ne[0]:""}(this.remaining);if(!ve)return;this.capture(ve);let Ze="";if(this.consumeOptional("=")){const k=function Qn(be){const Ne=be.match(nr);return Ne?Ne[0]:""}(this.remaining);k&&(Ze=k,this.capture(Ze))}const Ot=ot(ve),fn=ot(Ze);if(Ne.hasOwnProperty(Ot)){let k=Ne[Ot];Array.isArray(k)||(k=[k],Ne[Ot]=k),k.push(fn)}else Ne[Ot]=fn}parseParens(Ne){const ve={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Ze=An(this.remaining),Ot=this.remaining[Ze.length];if("/"!==Ot&&")"!==Ot&&";"!==Ot)throw new r.vHH(4010,sn);let fn;Ze.indexOf(":")>-1?(fn=Ze.slice(0,Ze.indexOf(":")),this.capture(fn),this.capture(":")):Ne&&(fn=Rt);const k=this.parseChildren();ve[fn]=1===Object.keys(k).length?k[Rt]:new jr([],k),this.consumeOptional("//")}return ve}peekStartsWith(Ne){return this.remaining.startsWith(Ne)}consumeOptional(Ne){return!!this.peekStartsWith(Ne)&&(this.remaining=this.remaining.substring(Ne.length),!0)}capture(Ne){if(!this.consumeOptional(Ne))throw new r.vHH(4011,sn)}}function Wn(be){return be.segments.length>0?new jr([],{[Rt]:be}):be}function Wt(be){const Ne={};for(const Ze of Object.keys(be.children)){const fn=Wt(be.children[Ze]);(fn.segments.length>0||fn.hasChildren())&&(Ne[Ze]=fn)}return function kt(be){if(1===be.numberOfChildren&&be.children[Rt]){const Ne=be.children[Rt];return new jr(be.segments.concat(Ne.segments),Ne.children)}return be}(new jr(be.segments,Ne))}function st(be){return be instanceof ji}const zt=!1;function gi(be,Ne,ve,Ze,Ot){if(0===ve.length)return hr(Ne.root,Ne.root,Ne.root,Ze,Ot);const fn=function Vr(be){if("string"==typeof be[0]&&1===be.length&&"/"===be[0])return new ni(!0,0,be);let Ne=0,ve=!1;const Ze=be.reduce((Ot,fn,k)=>{if("object"==typeof fn&&null!=fn){if(fn.outlets){const w={};return Tr(fn.outlets,(C,N)=>{w[N]="string"==typeof C?C.split("/"):C}),[...Ot,{outlets:w}]}if(fn.segmentPath)return[...Ot,fn.segmentPath]}return"string"!=typeof fn?[...Ot,fn]:0===k?(fn.split("/").forEach((w,C)=>{0==C&&"."===w||(0==C&&""===w?ve=!0:".."===w?Ne++:""!=w&&Ot.push(w))}),Ot):[...Ot,fn]},[]);return new ni(ve,Ne,Ze)}(ve);return fn.toRoot()?hr(Ne.root,Ne.root,new jr([],{}),Ze,Ot):function k(C){const N=function Wi(be,Ne,ve,Ze){if(be.isAbsolute)return new wi(Ne.root,!0,0);if(-1===Ze)return new wi(ve,ve===Ne.root,0);return function Mo(be,Ne,ve){let Ze=be,Ot=Ne,fn=ve;for(;fn>Ot;){if(fn-=Ot,Ze=Ze.parent,!Ze)throw new r.vHH(4005,zt&&"Invalid number of '../'");Ot=Ze.segments.length}return new wi(Ze,!1,Ot-fn)}(ve,Ze+(Jo(be.commands[0])?0:1),be.numberOfDoubleDots)}(fn,Ne,be.snapshot?._urlSegment,C),B=N.processChildren?qr(N.segmentGroup,N.index,fn.commands):Ls(N.segmentGroup,N.index,fn.commands);return hr(Ne.root,N.segmentGroup,B,Ze,Ot)}(be.snapshot?._lastPathIndex)}function Jo(be){return"object"==typeof be&&null!=be&&!be.outlets&&!be.segmentPath}function os(be){return"object"==typeof be&&null!=be&&be.outlets}function hr(be,Ne,ve,Ze,Ot){let k,fn={};Ze&&Tr(Ze,(C,N)=>{fn[N]=Array.isArray(C)?C.map(B=>`${B}`):`${C}`}),k=be===Ne?ve:Ii(be,Ne,ve);const w=Wn(Wt(k));return new ji(w,fn,Ot)}function Ii(be,Ne,ve){const Ze={};return Tr(be.children,(Ot,fn)=>{Ze[fn]=Ot===Ne?ve:Ii(Ot,Ne,ve)}),new jr(be.segments,Ze)}class ni{constructor(Ne,ve,Ze){if(this.isAbsolute=Ne,this.numberOfDoubleDots=ve,this.commands=Ze,Ne&&Ze.length>0&&Jo(Ze[0]))throw new r.vHH(4003,zt&&"Root segment cannot have matrix parameters");const Ot=Ze.find(os);if(Ot&&Ot!==oi(Ze))throw new r.vHH(4004,zt&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class wi{constructor(Ne,ve,Ze){this.segmentGroup=Ne,this.processChildren=ve,this.index=Ze}}function Ls(be,Ne,ve){if(be||(be=new jr([],{})),0===be.segments.length&&be.hasChildren())return qr(be,Ne,ve);const Ze=function $r(be,Ne,ve){let Ze=0,Ot=Ne;const fn={match:!1,pathIndex:0,commandIndex:0};for(;Ot<be.segments.length;){if(Ze>=ve.length)return fn;const k=be.segments[Ot],w=ve[Ze];if(os(w))break;const C=`${w}`,N=Ze<ve.length-1?ve[Ze+1]:null;if(Ot>0&&void 0===C)break;if(C&&N&&"object"==typeof N&&void 0===N.outlets){if(!Qi(C,N,k))return fn;Ze+=2}else{if(!Qi(C,{},k))return fn;Ze++}Ot++}return{match:!0,pathIndex:Ot,commandIndex:Ze}}(be,Ne,ve),Ot=ve.slice(Ze.commandIndex);if(Ze.match&&Ze.pathIndex<be.segments.length){const fn=new jr(be.segments.slice(0,Ze.pathIndex),{});return fn.children[Rt]=new jr(be.segments.slice(Ze.pathIndex),be.children),qr(fn,0,Ot)}return Ze.match&&0===Ot.length?new jr(be.segments,{}):Ze.match&&!be.hasChildren()?Cn(be,Ne,ve):Ze.match?qr(be,0,Ot):Cn(be,Ne,ve)}function qr(be,Ne,ve){if(0===ve.length)return new jr(be.segments,{});{const Ze=function As(be){return os(be[0])?be[0].outlets:{[Rt]:be}}(ve),Ot={};if(!Ze[Rt]&&be.children[Rt]&&1===be.numberOfChildren&&0===be.children[Rt].segments.length){const fn=qr(be.children[Rt],Ne,ve);return new jr(be.segments,fn.children)}return Tr(Ze,(fn,k)=>{"string"==typeof fn&&(fn=[fn]),null!==fn&&(Ot[k]=Ls(be.children[k],Ne,fn))}),Tr(be.children,(fn,k)=>{void 0===Ze[k]&&(Ot[k]=fn)}),new jr(be.segments,Ot)}}function Cn(be,Ne,ve){const Ze=be.segments.slice(0,Ne);let Ot=0;for(;Ot<ve.length;){const fn=ve[Ot];if(os(fn)){const C=mn(fn.outlets);return new jr(Ze,C)}if(0===Ot&&Jo(ve[0])){Ze.push(new Pr(be.segments[Ne].path,kr(ve[0]))),Ot++;continue}const k=os(fn)?fn.outlets[Rt]:`${fn}`,w=Ot<ve.length-1?ve[Ot+1]:null;k&&w&&Jo(w)?(Ze.push(new Pr(k,kr(w))),Ot+=2):(Ze.push(new Pr(k,{})),Ot++)}return new jr(Ze,{})}function mn(be){const Ne={};return Tr(be,(ve,Ze)=>{"string"==typeof ve&&(ve=[ve]),null!==ve&&(Ne[Ze]=Cn(new jr([],{}),0,ve))}),Ne}function kr(be){const Ne={};return Tr(be,(ve,Ze)=>Ne[Ze]=`${ve}`),Ne}function Qi(be,Ne,ve){return be==ve.path&&Ir(Ne,ve.parameters)}const xo="imperative";class Ss{constructor(Ne,ve){this.id=Ne,this.url=ve}}class bs extends Ss{constructor(Ne,ve,Ze="imperative",Ot=null){super(Ne,ve),this.type=0,this.navigationTrigger=Ze,this.restoredState=Ot}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ko extends Ss{constructor(Ne,ve,Ze){super(Ne,ve),this.urlAfterRedirects=Ze,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class $s extends Ss{constructor(Ne,ve,Ze,Ot){super(Ne,ve),this.reason=Ze,this.code=Ot,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ps extends Ss{constructor(Ne,ve,Ze,Ot){super(Ne,ve),this.reason=Ze,this.code=Ot,this.type=16}}class Ys extends Ss{constructor(Ne,ve,Ze,Ot){super(Ne,ve),this.error=Ze,this.target=Ot,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ra extends Ss{constructor(Ne,ve,Ze,Ot){super(Ne,ve),this.urlAfterRedirects=Ze,this.state=Ot,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Do extends Ss{constructor(Ne,ve,Ze,Ot){super(Ne,ve),this.urlAfterRedirects=Ze,this.state=Ot,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class oc extends Ss{constructor(Ne,ve,Ze,Ot,fn){super(Ne,ve),this.urlAfterRedirects=Ze,this.state=Ot,this.shouldActivate=fn,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ql extends Ss{constructor(Ne,ve,Ze,Ot){super(Ne,ve),this.urlAfterRedirects=Ze,this.state=Ot,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tl extends Ss{constructor(Ne,ve,Ze,Ot){super(Ne,ve),this.urlAfterRedirects=Ze,this.state=Ot,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Da{constructor(Ne){this.route=Ne,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ga{constructor(Ne){this.route=Ne,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Pl{constructor(Ne){this.snapshot=Ne,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Eo{constructor(Ne){this.snapshot=Ne,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ra{constructor(Ne){this.snapshot=Ne,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Fo{constructor(Ne){this.snapshot=Ne,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Cs{constructor(Ne,ve,Ze){this.routerEvent=Ne,this.position=ve,this.anchor=Ze,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let ml=(()=>{class be{createUrlTree(ve,Ze,Ot,fn,k,w){return gi(ve||Ze.root,Ot,fn,k,w)}}return be.\u0275fac=function(ve){return new(ve||be)},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac}),be})(),Qo=(()=>{class be{}return be.\u0275fac=function(ve){return new(ve||be)},be.\u0275prov=r.Yz7({token:be,factory:function(Ne){return ml.\u0275fac(Ne)},providedIn:"root"}),be})();class Go{constructor(Ne){this._root=Ne}get root(){return this._root.value}parent(Ne){const ve=this.pathFromRoot(Ne);return ve.length>1?ve[ve.length-2]:null}children(Ne){const ve=ys(Ne,this._root);return ve?ve.children.map(Ze=>Ze.value):[]}firstChild(Ne){const ve=ys(Ne,this._root);return ve&&ve.children.length>0?ve.children[0].value:null}siblings(Ne){const ve=rs(Ne,this._root);return ve.length<2?[]:ve[ve.length-2].children.map(Ot=>Ot.value).filter(Ot=>Ot!==Ne)}pathFromRoot(Ne){return rs(Ne,this._root).map(ve=>ve.value)}}function ys(be,Ne){if(be===Ne.value)return Ne;for(const ve of Ne.children){const Ze=ys(be,ve);if(Ze)return Ze}return null}function rs(be,Ne){if(be===Ne.value)return[Ne];for(const ve of Ne.children){const Ze=rs(be,ve);if(Ze.length)return Ze.unshift(Ne),Ze}return[]}class Lo{constructor(Ne,ve){this.value=Ne,this.children=ve}toString(){return`TreeNode(${this.value})`}}function Br(be){const Ne={};return be&&be.children.forEach(ve=>Ne[ve.value.outlet]=ve),Ne}class qi extends Go{constructor(Ne,ve){super(Ne),this.snapshot=ve,Ui(this,Ne)}toString(){return this.snapshot.toString()}}function _t(be,Ne){const ve=function On(be,Ne){const k=new yn([],{},{},"",{},Rt,Ne,null,be.root,-1,{});return new Ei("",new Lo(k,[]))}(be,Ne),Ze=new c.X([new Pr("",{})]),Ot=new c.X({}),fn=new c.X({}),k=new c.X({}),w=new c.X(""),C=new ae(Ze,Ot,k,w,fn,Rt,Ne,ve.root);return C.snapshot=ve.root,new qi(new Lo(C,[]),ve)}class ae{constructor(Ne,ve,Ze,Ot,fn,k,w,C){this.url=Ne,this.params=ve,this.queryParams=Ze,this.fragment=Ot,this.data=fn,this.outlet=k,this.component=w,this.title=this.data?.pipe((0,L.U)(N=>N[Xt]))??(0,u.of)(void 0),this._futureSnapshot=C}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,L.U)(Ne=>_n(Ne)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,L.U)(Ne=>_n(Ne)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function We(be,Ne="emptyOnly"){const ve=be.pathFromRoot;let Ze=0;if("always"!==Ne)for(Ze=ve.length-1;Ze>=1;){const Ot=ve[Ze],fn=ve[Ze-1];if(Ot.routeConfig&&""===Ot.routeConfig.path)Ze--;else{if(fn.component)break;Ze--}}return function on(be){return be.reduce((Ne,ve)=>({params:{...Ne.params,...ve.params},data:{...Ne.data,...ve.data},resolve:{...ve.data,...Ne.resolve,...ve.routeConfig?.data,...ve._resolvedData}}),{params:{},data:{},resolve:{}})}(ve.slice(Ze))}class yn{get title(){return this.data?.[Xt]}constructor(Ne,ve,Ze,Ot,fn,k,w,C,N,B,re){this.url=Ne,this.params=ve,this.queryParams=Ze,this.fragment=Ot,this.data=fn,this.outlet=k,this.component=w,this.routeConfig=C,this._urlSegment=N,this._lastPathIndex=B,this._resolve=re}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=_n(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_n(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Ze=>Ze.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ei extends Go{constructor(Ne,ve){super(ve),this.url=Ne,Ui(this,ve)}toString(){return eo(this._root)}}function Ui(be,Ne){Ne.value._routerState=be,Ne.children.forEach(ve=>Ui(be,ve))}function eo(be){const Ne=be.children.length>0?` { ${be.children.map(eo).join(", ")} } `:"";return`${be.value}${Ne}`}function js(be){if(be.snapshot){const Ne=be.snapshot,ve=be._futureSnapshot;be.snapshot=ve,Ir(Ne.queryParams,ve.queryParams)||be.queryParams.next(ve.queryParams),Ne.fragment!==ve.fragment&&be.fragment.next(ve.fragment),Ir(Ne.params,ve.params)||be.params.next(ve.params),function ri(be,Ne){if(be.length!==Ne.length)return!1;for(let ve=0;ve<be.length;++ve)if(!Ir(be[ve],Ne[ve]))return!1;return!0}(Ne.url,ve.url)||be.url.next(ve.url),Ir(Ne.data,ve.data)||be.data.next(ve.data)}else be.snapshot=be._futureSnapshot,be.data.next(be._futureSnapshot.data)}function hs(be,Ne){const ve=Ir(be.params,Ne.params)&&function Bo(be,Ne){return cs(be,Ne)&&be.every((ve,Ze)=>Ir(ve.parameters,Ne[Ze].parameters))}(be.url,Ne.url);return ve&&!(!be.parent!=!Ne.parent)&&(!be.parent||hs(be.parent,Ne.parent))}function ta(be,Ne,ve){if(ve&&be.shouldReuseRoute(Ne.value,ve.value.snapshot)){const Ze=ve.value;Ze._futureSnapshot=Ne.value;const Ot=function Ul(be,Ne,ve){return Ne.children.map(Ze=>{for(const Ot of ve.children)if(be.shouldReuseRoute(Ze.value,Ot.value.snapshot))return ta(be,Ze,Ot);return ta(be,Ze)})}(be,Ne,ve);return new Lo(Ze,Ot)}{if(be.shouldAttach(Ne.value)){const fn=be.retrieve(Ne.value);if(null!==fn){const k=fn.route;return k.value._futureSnapshot=Ne.value,k.children=Ne.children.map(w=>ta(be,w)),k}}const Ze=function Fl(be){return new ae(new c.X(be.url),new c.X(be.params),new c.X(be.queryParams),new c.X(be.fragment),new c.X(be.data),be.outlet,be.component,be)}(Ne.value),Ot=Ne.children.map(fn=>ta(be,fn));return new Lo(Ze,Ot)}}const zc="ngNavigationCancelingError";function Uu(be,Ne){const{redirectTo:ve,navigationBehaviorOptions:Ze}=st(Ne)?{redirectTo:Ne,navigationBehaviorOptions:void 0}:Ne,Ot=ru(!1,0,Ne);return Ot.url=ve,Ot.navigationBehaviorOptions=Ze,Ot}function ru(be,Ne,ve){const Ze=new Error("NavigationCancelingError: "+(be||""));return Ze[zc]=!0,Ze.cancellationCode=Ne,ve&&(Ze.url=ve),Ze}function bl(be){return Ou(be)&&st(be.url)}function Ou(be){return be&&be[zc]}class Za{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new ec,this.attachRef=null}}let ec=(()=>{class be{constructor(){this.contexts=new Map}onChildOutletCreated(ve,Ze){const Ot=this.getOrCreateContext(ve);Ot.outlet=Ze,this.contexts.set(ve,Ot)}onChildOutletDestroyed(ve){const Ze=this.getContext(ve);Ze&&(Ze.outlet=null,Ze.attachRef=null)}onOutletDeactivated(){const ve=this.contexts;return this.contexts=new Map,ve}onOutletReAttached(ve){this.contexts=ve}getOrCreateContext(ve){let Ze=this.getContext(ve);return Ze||(Ze=new Za,this.contexts.set(ve,Ze)),Ze}getContext(ve){return this.contexts.get(ve)||null}}return be.\u0275fac=function(ve){return new(ve||be)},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})();const wa=!1;let Ec=(()=>{class be{constructor(){this.activated=null,this._activatedRoute=null,this.name=Rt,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.attachEvents=new r.vpe,this.detachEvents=new r.vpe,this.parentContexts=(0,r.f3M)(ec),this.location=(0,r.f3M)(r.s_b),this.changeDetector=(0,r.f3M)(r.sBO),this.environmentInjector=(0,r.f3M)(r.lqb)}ngOnChanges(ve){if(ve.name){const{firstChange:Ze,previousValue:Ot}=ve.name;if(Ze)return;this.isTrackedInParentContexts(Ot)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Ot)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(ve){return this.parentContexts.getContext(ve)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const ve=this.parentContexts.getContext(this.name);ve?.route&&(ve.attachRef?this.attach(ve.attachRef,ve.route):this.activateWith(ve.route,ve.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new r.vHH(4012,wa);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new r.vHH(4012,wa);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new r.vHH(4012,wa);this.location.detach();const ve=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(ve.instance),ve}attach(ve,Ze){this.activated=ve,this._activatedRoute=Ze,this.location.insert(ve.hostView),this.attachEvents.emit(ve.instance)}deactivate(){if(this.activated){const ve=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(ve)}}activateWith(ve,Ze){if(this.isActivated)throw new r.vHH(4013,wa);this._activatedRoute=ve;const Ot=this.location,k=ve.snapshot.component,w=this.parentContexts.getOrCreateContext(this.name).children,C=new Sc(ve,w,Ot.injector);if(Ze&&function dl(be){return!!be.resolveComponentFactory}(Ze)){const N=Ze.resolveComponentFactory(k);this.activated=Ot.createComponent(N,Ot.length,C)}else this.activated=Ot.createComponent(k,{index:Ot.length,injector:C,environmentInjector:Ze??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return be.\u0275fac=function(ve){return new(ve||be)},be.\u0275dir=r.lG2({type:be,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[r.TTD]}),be})();class Sc{constructor(Ne,ve,Ze){this.route=Ne,this.childContexts=ve,this.parent=Ze}get(Ne,ve){return Ne===ae?this.route:Ne===ec?this.childContexts:this.parent.get(Ne,ve)}}let Kc=(()=>{class be{}return be.\u0275fac=function(ve){return new(ve||be)},be.\u0275cmp=r.Xpm({type:be,selectors:[["ng-component"]],standalone:!0,features:[r.jDz],decls:1,vars:0,template:function(ve,Ze){1&ve&&r._UZ(0,"router-outlet")},dependencies:[Ec],encapsulation:2}),be})();function Vc(be,Ne){return be.providers&&!be._injector&&(be._injector=(0,r.MMx)(be.providers,Ne,`Route: ${be.path}`)),be._injector??Ne}function Mc(be){const Ne=be.children&&be.children.map(Mc),ve=Ne?{...be,children:Ne}:{...be};return!ve.component&&!ve.loadComponent&&(Ne||ve.loadChildren)&&ve.outlet&&ve.outlet!==Rt&&(ve.component=Kc),ve}function za(be){return be.outlet||Rt}function vl(be,Ne){const ve=be.filter(Ze=>za(Ze)===Ne);return ve.push(...be.filter(Ze=>za(Ze)!==Ne)),ve}function Ka(be){if(!be)return null;if(be.routeConfig?._injector)return be.routeConfig._injector;for(let Ne=be.parent;Ne;Ne=Ne.parent){const ve=Ne.routeConfig;if(ve?._loadedInjector)return ve._loadedInjector;if(ve?._injector)return ve._injector}return null}class Xc{constructor(Ne,ve,Ze,Ot){this.routeReuseStrategy=Ne,this.futureState=ve,this.currState=Ze,this.forwardEvent=Ot}activate(Ne){const ve=this.futureState._root,Ze=this.currState?this.currState._root:null;this.deactivateChildRoutes(ve,Ze,Ne),js(this.futureState.root),this.activateChildRoutes(ve,Ze,Ne)}deactivateChildRoutes(Ne,ve,Ze){const Ot=Br(ve);Ne.children.forEach(fn=>{const k=fn.value.outlet;this.deactivateRoutes(fn,Ot[k],Ze),delete Ot[k]}),Tr(Ot,(fn,k)=>{this.deactivateRouteAndItsChildren(fn,Ze)})}deactivateRoutes(Ne,ve,Ze){const Ot=Ne.value,fn=ve?ve.value:null;if(Ot===fn)if(Ot.component){const k=Ze.getContext(Ot.outlet);k&&this.deactivateChildRoutes(Ne,ve,k.children)}else this.deactivateChildRoutes(Ne,ve,Ze);else fn&&this.deactivateRouteAndItsChildren(ve,Ze)}deactivateRouteAndItsChildren(Ne,ve){Ne.value.component&&this.routeReuseStrategy.shouldDetach(Ne.value.snapshot)?this.detachAndStoreRouteSubtree(Ne,ve):this.deactivateRouteAndOutlet(Ne,ve)}detachAndStoreRouteSubtree(Ne,ve){const Ze=ve.getContext(Ne.value.outlet),Ot=Ze&&Ne.value.component?Ze.children:ve,fn=Br(Ne);for(const k of Object.keys(fn))this.deactivateRouteAndItsChildren(fn[k],Ot);if(Ze&&Ze.outlet){const k=Ze.outlet.detach(),w=Ze.children.onOutletDeactivated();this.routeReuseStrategy.store(Ne.value.snapshot,{componentRef:k,route:Ne,contexts:w})}}deactivateRouteAndOutlet(Ne,ve){const Ze=ve.getContext(Ne.value.outlet),Ot=Ze&&Ne.value.component?Ze.children:ve,fn=Br(Ne);for(const k of Object.keys(fn))this.deactivateRouteAndItsChildren(fn[k],Ot);Ze&&(Ze.outlet&&(Ze.outlet.deactivate(),Ze.children.onOutletDeactivated()),Ze.attachRef=null,Ze.resolver=null,Ze.route=null)}activateChildRoutes(Ne,ve,Ze){const Ot=Br(ve);Ne.children.forEach(fn=>{this.activateRoutes(fn,Ot[fn.value.outlet],Ze),this.forwardEvent(new Fo(fn.value.snapshot))}),Ne.children.length&&this.forwardEvent(new Eo(Ne.value.snapshot))}activateRoutes(Ne,ve,Ze){const Ot=Ne.value,fn=ve?ve.value:null;if(js(Ot),Ot===fn)if(Ot.component){const k=Ze.getOrCreateContext(Ot.outlet);this.activateChildRoutes(Ne,ve,k.children)}else this.activateChildRoutes(Ne,ve,Ze);else if(Ot.component){const k=Ze.getOrCreateContext(Ot.outlet);if(this.routeReuseStrategy.shouldAttach(Ot.snapshot)){const w=this.routeReuseStrategy.retrieve(Ot.snapshot);this.routeReuseStrategy.store(Ot.snapshot,null),k.children.onOutletReAttached(w.contexts),k.attachRef=w.componentRef,k.route=w.route.value,k.outlet&&k.outlet.attach(w.componentRef,w.route.value),js(w.route.value),this.activateChildRoutes(Ne,null,k.children)}else{const w=Ka(Ot.snapshot),C=w?.get(r._Vd)??null;k.attachRef=null,k.route=Ot,k.resolver=C,k.injector=w,k.outlet&&k.outlet.activateWith(Ot,k.injector),this.activateChildRoutes(Ne,null,k.children)}}else this.activateChildRoutes(Ne,null,Ze)}}class sc{constructor(Ne){this.path=Ne,this.route=this.path[this.path.length-1]}}class Ba{constructor(Ne,ve){this.component=Ne,this.route=ve}}function Ic(be,Ne,ve){const Ze=be._root;return Xa(Ze,Ne?Ne._root:null,ve,[Ze.value])}function ba(be,Ne){const ve=Symbol(),Ze=Ne.get(be,ve);return Ze===ve?"function"!=typeof be||(0,r.Z0I)(be)?Ne.get(be):be:Ze}function Xa(be,Ne,ve,Ze,Ot={canDeactivateChecks:[],canActivateChecks:[]}){const fn=Br(Ne);return be.children.forEach(k=>{(function Oc(be,Ne,ve,Ze,Ot={canDeactivateChecks:[],canActivateChecks:[]}){const fn=be.value,k=Ne?Ne.value:null,w=ve?ve.getContext(be.value.outlet):null;if(k&&fn.routeConfig===k.routeConfig){const C=function Ac(be,Ne,ve){if("function"==typeof ve)return ve(be,Ne);switch(ve){case"pathParamsChange":return!cs(be.url,Ne.url);case"pathParamsOrQueryParamsChange":return!cs(be.url,Ne.url)||!Ir(be.queryParams,Ne.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!hs(be,Ne)||!Ir(be.queryParams,Ne.queryParams);default:return!hs(be,Ne)}}(k,fn,fn.routeConfig.runGuardsAndResolvers);C?Ot.canActivateChecks.push(new sc(Ze)):(fn.data=k.data,fn._resolvedData=k._resolvedData),Xa(be,Ne,fn.component?w?w.children:null:ve,Ze,Ot),C&&w&&w.outlet&&w.outlet.isActivated&&Ot.canDeactivateChecks.push(new Ba(w.outlet.component,k))}else k&&jl(Ne,w,Ot),Ot.canActivateChecks.push(new sc(Ze)),Xa(be,null,fn.component?w?w.children:null:ve,Ze,Ot)})(k,fn[k.value.outlet],ve,Ze.concat([k.value]),Ot),delete fn[k.value.outlet]}),Tr(fn,(k,w)=>jl(k,ve.getContext(w),Ot)),Ot}function jl(be,Ne,ve){const Ze=Br(be),Ot=be.value;Tr(Ze,(fn,k)=>{jl(fn,Ot.component?Ne?Ne.children.getContext(k):null:Ne,ve)}),ve.canDeactivateChecks.push(new Ba(Ot.component&&Ne&&Ne.outlet&&Ne.outlet.isActivated?Ne.outlet.component:null,Ot))}function yl(be){return"function"==typeof be}function wo(be){return be instanceof e.K||"EmptyError"===be?.name}const Ya=Symbol("INITIAL_VALUE");function Si(){return(0,J.w)(be=>(0,f.aj)(be.map(Ne=>Ne.pipe((0,pe.q)(1),(0,j.O)(Ya)))).pipe((0,L.U)(Ne=>{for(const ve of Ne)if(!0!==ve){if(ve===Ya)return Ya;if(!1===ve||ve instanceof ji)return ve}return!0}),(0,ue.h)(Ne=>Ne!==Ya),(0,pe.q)(1)))}function Cu(be){return(0,A.z)((0,Ue.b)(Ne=>{if(st(Ne))throw Uu(0,Ne)}),(0,L.U)(Ne=>!0===Ne))}const tu={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ll(be,Ne,ve,Ze,Ot){const fn=rl(be,Ne,ve);return fn.matched?function uc(be,Ne,ve,Ze){const Ot=Ne.canMatch;if(!Ot||0===Ot.length)return(0,u.of)(!0);const fn=Ot.map(k=>{const w=ba(k,be);return ft(function Je(be){return be&&yl(be.canMatch)}(w)?w.canMatch(Ne,ve):be.runInContext(()=>w(Ne,ve)))});return(0,u.of)(fn).pipe(Si(),Cu())}(Ze=Vc(Ne,Ze),Ne,ve).pipe((0,L.U)(k=>!0===k?fn:{...tu})):(0,u.of)(fn)}function rl(be,Ne,ve){if(""===Ne.path)return"full"===Ne.pathMatch&&(be.hasChildren()||ve.length>0)?{...tu}:{matched:!0,consumedSegments:[],remainingSegments:ve,parameters:{},positionalParamSegments:{}};const Ot=(Ne.matcher||kn)(ve,be,Ne);if(!Ot)return{...tu};const fn={};Tr(Ot.posParams,(w,C)=>{fn[C]=w.path});const k=Ot.consumed.length>0?{...fn,...Ot.consumed[Ot.consumed.length-1].parameters}:fn;return{matched:!0,consumedSegments:Ot.consumed,remainingSegments:ve.slice(Ot.consumed.length),parameters:k,positionalParamSegments:Ot.posParams??{}}}function qa(be,Ne,ve,Ze){if(ve.length>0&&function gt(be,Ne,ve){return ve.some(Ze=>Gt(be,Ne,Ze)&&za(Ze)!==Rt)}(be,ve,Ze)){const fn=new jr(Ne,function Ce(be,Ne,ve,Ze){const Ot={};Ot[Rt]=Ze,Ze._sourceSegment=be,Ze._segmentIndexShift=Ne.length;for(const fn of ve)if(""===fn.path&&za(fn)!==Rt){const k=new jr([],{});k._sourceSegment=be,k._segmentIndexShift=Ne.length,Ot[za(fn)]=k}return Ot}(be,Ne,Ze,new jr(ve,be.children)));return fn._sourceSegment=be,fn._segmentIndexShift=Ne.length,{segmentGroup:fn,slicedSegments:[]}}if(0===ve.length&&function Ke(be,Ne,ve){return ve.some(Ze=>Gt(be,Ne,Ze))}(be,ve,Ze)){const fn=new jr(be.segments,function X(be,Ne,ve,Ze,Ot){const fn={};for(const k of Ze)if(Gt(be,ve,k)&&!Ot[za(k)]){const w=new jr([],{});w._sourceSegment=be,w._segmentIndexShift=Ne.length,fn[za(k)]=w}return{...Ot,...fn}}(be,Ne,ve,Ze,be.children));return fn._sourceSegment=be,fn._segmentIndexShift=Ne.length,{segmentGroup:fn,slicedSegments:ve}}const Ot=new jr(be.segments,be.children);return Ot._sourceSegment=be,Ot._segmentIndexShift=Ne.length,{segmentGroup:Ot,slicedSegments:ve}}function Gt(be,Ne,ve){return(!(be.hasChildren()||Ne.length>0)||"full"!==ve.pathMatch)&&""===ve.path}function xn(be,Ne,ve,Ze){return!!(za(be)===Ze||Ze!==Rt&&Gt(Ne,ve,be))&&("**"===be.path||rl(Ne,be,ve).matched)}function lr(be,Ne,ve){return 0===Ne.length&&!be.children[ve]}const Fr=!1;class Oi{constructor(Ne){this.segmentGroup=Ne||null}}class ai{constructor(Ne){this.urlTree=Ne}}function Dr(be){return(0,$._)(new Oi(be))}function ei(be){return(0,$._)(new ai(be))}class Gr{constructor(Ne,ve,Ze,Ot,fn){this.injector=Ne,this.configLoader=ve,this.urlSerializer=Ze,this.urlTree=Ot,this.config=fn,this.allowRedirects=!0}apply(){const Ne=qa(this.urlTree.root,[],[],this.config).segmentGroup,ve=new jr(Ne.segments,Ne.children);return this.expandSegmentGroup(this.injector,this.config,ve,Rt).pipe((0,L.U)(fn=>this.createUrlTree(Wt(fn),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Me.K)(fn=>{if(fn instanceof ai)return this.allowRedirects=!1,this.match(fn.urlTree);throw fn instanceof Oi?this.noMatchError(fn):fn}))}match(Ne){return this.expandSegmentGroup(this.injector,this.config,Ne.root,Rt).pipe((0,L.U)(Ot=>this.createUrlTree(Wt(Ot),Ne.queryParams,Ne.fragment))).pipe((0,Me.K)(Ot=>{throw Ot instanceof Oi?this.noMatchError(Ot):Ot}))}noMatchError(Ne){return new r.vHH(4002,Fr)}createUrlTree(Ne,ve,Ze){const Ot=Wn(Ne);return new ji(Ot,ve,Ze)}expandSegmentGroup(Ne,ve,Ze,Ot){return 0===Ze.segments.length&&Ze.hasChildren()?this.expandChildren(Ne,ve,Ze).pipe((0,L.U)(fn=>new jr([],fn))):this.expandSegment(Ne,Ze,ve,Ze.segments,Ot,!0)}expandChildren(Ne,ve,Ze){const Ot=[];for(const fn of Object.keys(Ze.children))"primary"===fn?Ot.unshift(fn):Ot.push(fn);return(0,a.D)(Ot).pipe((0,Oe.b)(fn=>{const k=Ze.children[fn],w=vl(ve,fn);return this.expandSegmentGroup(Ne,w,k,fn).pipe((0,L.U)(C=>({segment:C,outlet:fn})))}),(0,yt.R)((fn,k)=>(fn[k.outlet]=k.segment,fn),{}),(0,et.Z)())}expandSegment(Ne,ve,Ze,Ot,fn,k){return(0,a.D)(Ze).pipe((0,Oe.b)(w=>this.expandSegmentAgainstRoute(Ne,ve,Ze,w,Ot,fn,k).pipe((0,Me.K)(N=>{if(N instanceof Oi)return(0,u.of)(null);throw N}))),(0,me.P)(w=>!!w),(0,Me.K)((w,C)=>{if(wo(w))return lr(ve,Ot,fn)?(0,u.of)(new jr([],{})):Dr(ve);throw w}))}expandSegmentAgainstRoute(Ne,ve,Ze,Ot,fn,k,w){return xn(Ot,ve,fn,k)?void 0===Ot.redirectTo?this.matchSegmentAgainstRoute(Ne,ve,Ot,fn,k):w&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(Ne,ve,Ze,Ot,fn,k):Dr(ve):Dr(ve)}expandSegmentAgainstRouteUsingRedirect(Ne,ve,Ze,Ot,fn,k){return"**"===Ot.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(Ne,Ze,Ot,k):this.expandRegularSegmentAgainstRouteUsingRedirect(Ne,ve,Ze,Ot,fn,k)}expandWildCardWithParamsAgainstRouteUsingRedirect(Ne,ve,Ze,Ot){const fn=this.applyRedirectCommands([],Ze.redirectTo,{});return Ze.redirectTo.startsWith("/")?ei(fn):this.lineralizeSegments(Ze,fn).pipe((0,ie.zg)(k=>{const w=new jr(k,{});return this.expandSegment(Ne,w,ve,k,Ot,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(Ne,ve,Ze,Ot,fn,k){const{matched:w,consumedSegments:C,remainingSegments:N,positionalParamSegments:B}=rl(ve,Ot,fn);if(!w)return Dr(ve);const re=this.applyRedirectCommands(C,Ot.redirectTo,B);return Ot.redirectTo.startsWith("/")?ei(re):this.lineralizeSegments(Ot,re).pipe((0,ie.zg)(he=>this.expandSegment(Ne,ve,Ze,he.concat(N),k,!1)))}matchSegmentAgainstRoute(Ne,ve,Ze,Ot,fn){return"**"===Ze.path?(Ne=Vc(Ze,Ne),Ze.loadChildren?(Ze._loadedRoutes?(0,u.of)({routes:Ze._loadedRoutes,injector:Ze._loadedInjector}):this.configLoader.loadChildren(Ne,Ze)).pipe((0,L.U)(w=>(Ze._loadedRoutes=w.routes,Ze._loadedInjector=w.injector,new jr(Ot,{})))):(0,u.of)(new jr(Ot,{}))):Ll(ve,Ze,Ot,Ne).pipe((0,J.w)(({matched:k,consumedSegments:w,remainingSegments:C})=>k?this.getChildConfig(Ne=Ze._injector??Ne,Ze,Ot).pipe((0,ie.zg)(B=>{const re=B.injector??Ne,he=B.routes,{segmentGroup:Te,slicedSegments:$e}=qa(ve,w,C,he),it=new jr(Te.segments,Te.children);if(0===$e.length&&it.hasChildren())return this.expandChildren(re,he,it).pipe((0,L.U)(Zn=>new jr(w,Zn)));if(0===he.length&&0===$e.length)return(0,u.of)(new jr(w,{}));const $t=za(Ze)===fn;return this.expandSegment(re,it,he,$e,$t?Rt:fn,!0).pipe((0,L.U)(Fn=>new jr(w.concat(Fn.segments),Fn.children)))})):Dr(ve)))}getChildConfig(Ne,ve,Ze){return ve.children?(0,u.of)({routes:ve.children,injector:Ne}):ve.loadChildren?void 0!==ve._loadedRoutes?(0,u.of)({routes:ve._loadedRoutes,injector:ve._loadedInjector}):function eu(be,Ne,ve,Ze){const Ot=Ne.canLoad;if(void 0===Ot||0===Ot.length)return(0,u.of)(!0);const fn=Ot.map(k=>{const w=ba(k,be);return ft(function Zs(be){return be&&yl(be.canLoad)}(w)?w.canLoad(Ne,ve):be.runInContext(()=>w(Ne,ve)))});return(0,u.of)(fn).pipe(Si(),Cu())}(Ne,ve,Ze).pipe((0,ie.zg)(Ot=>Ot?this.configLoader.loadChildren(Ne,ve).pipe((0,Ue.b)(fn=>{ve._loadedRoutes=fn.routes,ve._loadedInjector=fn.injector})):function Kn(be){return(0,$._)(ru(Fr,3))}())):(0,u.of)({routes:[],injector:Ne})}lineralizeSegments(Ne,ve){let Ze=[],Ot=ve.root;for(;;){if(Ze=Ze.concat(Ot.segments),0===Ot.numberOfChildren)return(0,u.of)(Ze);if(Ot.numberOfChildren>1||!Ot.children[Rt])return Ne.redirectTo,(0,$._)(new r.vHH(4e3,Fr));Ot=Ot.children[Rt]}}applyRedirectCommands(Ne,ve,Ze){return this.applyRedirectCreateUrlTree(ve,this.urlSerializer.parse(ve),Ne,Ze)}applyRedirectCreateUrlTree(Ne,ve,Ze,Ot){const fn=this.createSegmentGroup(Ne,ve.root,Ze,Ot);return new ji(fn,this.createQueryParams(ve.queryParams,this.urlTree.queryParams),ve.fragment)}createQueryParams(Ne,ve){const Ze={};return Tr(Ne,(Ot,fn)=>{if("string"==typeof Ot&&Ot.startsWith(":")){const w=Ot.substring(1);Ze[fn]=ve[w]}else Ze[fn]=Ot}),Ze}createSegmentGroup(Ne,ve,Ze,Ot){const fn=this.createSegments(Ne,ve.segments,Ze,Ot);let k={};return Tr(ve.children,(w,C)=>{k[C]=this.createSegmentGroup(Ne,w,Ze,Ot)}),new jr(fn,k)}createSegments(Ne,ve,Ze,Ot){return ve.map(fn=>fn.path.startsWith(":")?this.findPosParam(Ne,fn,Ot):this.findOrReturn(fn,Ze))}findPosParam(Ne,ve,Ze){const Ot=Ze[ve.path.substring(1)];if(!Ot)throw new r.vHH(4001,Fr);return Ot}findOrReturn(Ne,ve){let Ze=0;for(const Ot of ve){if(Ot.path===Ne.path)return ve.splice(Ze),Ot;Ze++}return Ne}}class Be{}class Bn{constructor(Ne,ve,Ze,Ot,fn,k,w){this.injector=Ne,this.rootComponentType=ve,this.config=Ze,this.urlTree=Ot,this.url=fn,this.paramsInheritanceStrategy=k,this.urlSerializer=w}recognize(){const Ne=qa(this.urlTree.root,[],[],this.config.filter(ve=>void 0===ve.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,Ne,Rt).pipe((0,L.U)(ve=>{if(null===ve)return null;const Ze=new yn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Rt,this.rootComponentType,null,this.urlTree.root,-1,{}),Ot=new Lo(Ze,ve),fn=new Ei(this.url,Ot);return this.inheritParamsAndData(fn._root),fn}))}inheritParamsAndData(Ne){const ve=Ne.value,Ze=We(ve,this.paramsInheritanceStrategy);ve.params=Object.freeze(Ze.params),ve.data=Object.freeze(Ze.data),Ne.children.forEach(Ot=>this.inheritParamsAndData(Ot))}processSegmentGroup(Ne,ve,Ze,Ot){return 0===Ze.segments.length&&Ze.hasChildren()?this.processChildren(Ne,ve,Ze):this.processSegment(Ne,ve,Ze,Ze.segments,Ot)}processChildren(Ne,ve,Ze){return(0,a.D)(Object.keys(Ze.children)).pipe((0,Oe.b)(Ot=>{const fn=Ze.children[Ot],k=vl(ve,Ot);return this.processSegmentGroup(Ne,k,fn,Ot)}),(0,yt.R)((Ot,fn)=>Ot&&fn?(Ot.push(...fn),Ot):null),function Et(be,Ne=!1){return ve=>ve.lift(new ze(be,Ne))}(Ot=>null!==Ot),(0,Ct.d)(null),(0,et.Z)(),(0,L.U)(Ot=>{if(null===Ot)return null;const fn=Xi(Ot);return function sr(be){be.sort((Ne,ve)=>Ne.value.outlet===Rt?-1:ve.value.outlet===Rt?1:Ne.value.outlet.localeCompare(ve.value.outlet))}(fn),fn}))}processSegment(Ne,ve,Ze,Ot,fn){return(0,a.D)(ve).pipe((0,Oe.b)(k=>this.processSegmentAgainstRoute(k._injector??Ne,k,Ze,Ot,fn)),(0,me.P)(k=>!!k),(0,Me.K)(k=>{if(wo(k))return lr(Ze,Ot,fn)?(0,u.of)([]):(0,u.of)(null);throw k}))}processSegmentAgainstRoute(Ne,ve,Ze,Ot,fn){if(ve.redirectTo||!xn(ve,Ze,Ot,fn))return(0,u.of)(null);let k;if("**"===ve.path){const w=Ot.length>0?oi(Ot).parameters:{},C=Hs(Ze)+Ot.length,N=new yn(Ot,w,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ma(ve),za(ve),ve.component??ve._loadedComponent??null,ve,Ms(Ze),C,ss(ve));k=(0,u.of)({snapshot:N,consumedSegments:[],remainingSegments:[]})}else k=Ll(Ze,ve,Ot,Ne).pipe((0,L.U)(({matched:w,consumedSegments:C,remainingSegments:N,parameters:B})=>{if(!w)return null;const re=Hs(Ze)+C.length;return{snapshot:new yn(C,B,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ma(ve),za(ve),ve.component??ve._loadedComponent??null,ve,Ms(Ze),re,ss(ve)),consumedSegments:C,remainingSegments:N}}));return k.pipe((0,J.w)(w=>{if(null===w)return(0,u.of)(null);const{snapshot:C,consumedSegments:N,remainingSegments:B}=w;Ne=ve._injector??Ne;const re=ve._loadedInjector??Ne,he=function xr(be){return be.children?be.children:be.loadChildren?be._loadedRoutes:[]}(ve),{segmentGroup:Te,slicedSegments:$e}=qa(Ze,N,B,he.filter($t=>void 0===$t.redirectTo));if(0===$e.length&&Te.hasChildren())return this.processChildren(re,he,Te).pipe((0,L.U)($t=>null===$t?null:[new Lo(C,$t)]));if(0===he.length&&0===$e.length)return(0,u.of)([new Lo(C,[])]);const it=za(ve)===fn;return this.processSegment(re,he,Te,$e,it?Rt:fn).pipe((0,L.U)($t=>null===$t?null:[new Lo(C,$t)]))}))}}function fi(be){const Ne=be.value.routeConfig;return Ne&&""===Ne.path&&void 0===Ne.redirectTo}function Xi(be){const Ne=[],ve=new Set;for(const Ze of be){if(!fi(Ze)){Ne.push(Ze);continue}const Ot=Ne.find(fn=>Ze.value.routeConfig===fn.value.routeConfig);void 0!==Ot?(Ot.children.push(...Ze.children),ve.add(Ot)):Ne.push(Ze)}for(const Ze of ve){const Ot=Xi(Ze.children);Ne.push(new Lo(Ze.value,Ot))}return Ne.filter(Ze=>!ve.has(Ze))}function Ms(be){let Ne=be;for(;Ne._sourceSegment;)Ne=Ne._sourceSegment;return Ne}function Hs(be){let Ne=be,ve=Ne._segmentIndexShift??0;for(;Ne._sourceSegment;)Ne=Ne._sourceSegment,ve+=Ne._segmentIndexShift??0;return ve-1}function Ma(be){return be.data||{}}function ss(be){return be.resolve||{}}function Ai(be){return"string"==typeof be.title||null===be.title}function qo(be){return(0,J.w)(Ne=>{const ve=be(Ne);return ve?(0,a.D)(ve).pipe((0,L.U)(()=>Ne)):(0,u.of)(Ne)})}const oa=new r.OlP("ROUTES");let ks=(()=>{class be{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,r.f3M)(r.Sil)}loadComponent(ve){if(this.componentLoaders.get(ve))return this.componentLoaders.get(ve);if(ve._loadedComponent)return(0,u.of)(ve._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(ve);const Ze=ft(ve.loadComponent()).pipe((0,L.U)(Bl),(0,Ue.b)(fn=>{this.onLoadEndListener&&this.onLoadEndListener(ve),ve._loadedComponent=fn}),(0,en.x)(()=>{this.componentLoaders.delete(ve)})),Ot=new Q.c(Ze,()=>new U.xQ).pipe((0,nn.x)());return this.componentLoaders.set(ve,Ot),Ot}loadChildren(ve,Ze){if(this.childrenLoaders.get(Ze))return this.childrenLoaders.get(Ze);if(Ze._loadedRoutes)return(0,u.of)({routes:Ze._loadedRoutes,injector:Ze._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Ze);const fn=this.loadModuleFactoryOrRoutes(Ze.loadChildren).pipe((0,L.U)(w=>{this.onLoadEndListener&&this.onLoadEndListener(Ze);let C,N,B=!1;Array.isArray(w)?N=w:(C=w.create(ve).injector,N=_r(C.get(oa,[],r.XFs.Self|r.XFs.Optional)));return{routes:N.map(Mc),injector:C}}),(0,en.x)(()=>{this.childrenLoaders.delete(Ze)})),k=new Q.c(fn,()=>new U.xQ).pipe((0,nn.x)());return this.childrenLoaders.set(Ze,k),k}loadModuleFactoryOrRoutes(ve){return ft(ve()).pipe((0,L.U)(Bl),(0,ie.zg)(Ze=>Ze instanceof r.YKP||Array.isArray(Ze)?(0,u.of)(Ze):(0,a.D)(this.compiler.compileModuleAsync(Ze))))}}return be.\u0275fac=function(ve){return new(ve||be)},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})();function Bl(be){return function Ds(be){return be&&"object"==typeof be&&"default"in be}(be)?be.default:be}let Ea=(()=>{class be{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new U.xQ,this.configLoader=(0,r.f3M)(ks),this.environmentInjector=(0,r.f3M)(r.lqb),this.urlSerializer=(0,r.f3M)(io),this.rootContexts=(0,r.f3M)(ec),this.navigationId=0,this.afterPreactivation=()=>(0,u.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Ot=>this.events.next(new Ga(Ot)),this.configLoader.onLoadStartListener=Ot=>this.events.next(new Da(Ot))}complete(){this.transitions?.complete()}handleNavigationRequest(ve){const Ze=++this.navigationId;this.transitions?.next({...this.transitions.value,...ve,id:Ze})}setupNavigations(ve){return this.transitions=new c.X({id:0,targetPageId:0,currentUrlTree:ve.currentUrlTree,currentRawUrl:ve.currentUrlTree,extractedUrl:ve.urlHandlingStrategy.extract(ve.currentUrlTree),urlAfterRedirects:ve.urlHandlingStrategy.extract(ve.currentUrlTree),rawUrl:ve.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:xo,restoredState:null,currentSnapshot:ve.routerState.snapshot,targetSnapshot:null,currentRouterState:ve.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ue.h)(Ze=>0!==Ze.id),(0,L.U)(Ze=>({...Ze,extractedUrl:ve.urlHandlingStrategy.extract(Ze.rawUrl)})),(0,J.w)(Ze=>{let Ot=!1,fn=!1;return(0,u.of)(Ze).pipe((0,Ue.b)(k=>{this.currentNavigation={id:k.id,initialUrl:k.rawUrl,extractedUrl:k.extractedUrl,trigger:k.source,extras:k.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,J.w)(k=>{const w=ve.browserUrlTree.toString(),C=!ve.navigated||k.extractedUrl.toString()!==w||w!==ve.currentUrlTree.toString();if(!C&&"reload"!==(k.extras.onSameUrlNavigation??ve.onSameUrlNavigation)){const B="";return this.events.next(new ps(k.id,ve.serializeUrl(Ze.rawUrl),B,0)),ve.rawUrlTree=k.rawUrl,k.resolve(null),T.E}if(ve.urlHandlingStrategy.shouldProcessUrl(k.rawUrl))return ac(k.source)&&(ve.browserUrlTree=k.extractedUrl),(0,u.of)(k).pipe((0,J.w)(B=>{const re=this.transitions?.getValue();return this.events.next(new bs(B.id,this.urlSerializer.serialize(B.extractedUrl),B.source,B.restoredState)),re!==this.transitions?.getValue()?T.E:Promise.resolve(B)}),function ce(be,Ne,ve,Ze){return(0,J.w)(Ot=>function zr(be,Ne,ve,Ze,Ot){return new Gr(be,Ne,ve,Ze,Ot).apply()}(be,Ne,ve,Ot.extractedUrl,Ze).pipe((0,L.U)(fn=>({...Ot,urlAfterRedirects:fn}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,ve.config),(0,Ue.b)(B=>{this.currentNavigation={...this.currentNavigation,finalUrl:B.urlAfterRedirects},Ze.urlAfterRedirects=B.urlAfterRedirects}),function se(be,Ne,ve,Ze,Ot){return(0,ie.zg)(fn=>function Kt(be,Ne,ve,Ze,Ot,fn,k="emptyOnly"){return new Bn(be,Ne,ve,Ze,Ot,k,fn).recognize().pipe((0,J.w)(w=>null===w?function Bt(be){return new E.y(Ne=>Ne.error(be))}(new Be):(0,u.of)(w)))}(be,Ne,ve,fn.urlAfterRedirects,Ze.serialize(fn.urlAfterRedirects),Ze,Ot).pipe((0,L.U)(k=>({...fn,targetSnapshot:k}))))}(this.environmentInjector,this.rootComponentType,ve.config,this.urlSerializer,ve.paramsInheritanceStrategy),(0,Ue.b)(B=>{if(Ze.targetSnapshot=B.targetSnapshot,"eager"===ve.urlUpdateStrategy){if(!B.extras.skipLocationChange){const he=ve.urlHandlingStrategy.merge(B.urlAfterRedirects,B.rawUrl);ve.setBrowserUrl(he,B)}ve.browserUrlTree=B.urlAfterRedirects}const re=new ra(B.id,this.urlSerializer.serialize(B.extractedUrl),this.urlSerializer.serialize(B.urlAfterRedirects),B.targetSnapshot);this.events.next(re)}));if(C&&ve.urlHandlingStrategy.shouldProcessUrl(ve.rawUrlTree)){const{id:B,extractedUrl:re,source:he,restoredState:Te,extras:$e}=k,it=new bs(B,this.urlSerializer.serialize(re),he,Te);this.events.next(it);const $t=_t(re,this.rootComponentType).snapshot;return Ze={...k,targetSnapshot:$t,urlAfterRedirects:re,extras:{...$e,skipLocationChange:!1,replaceUrl:!1}},(0,u.of)(Ze)}{const B="";return this.events.next(new ps(k.id,ve.serializeUrl(Ze.extractedUrl),B,1)),ve.rawUrlTree=k.rawUrl,k.resolve(null),T.E}}),(0,Ue.b)(k=>{const w=new Do(k.id,this.urlSerializer.serialize(k.extractedUrl),this.urlSerializer.serialize(k.urlAfterRedirects),k.targetSnapshot);this.events.next(w)}),(0,L.U)(k=>Ze={...k,guards:Ic(k.targetSnapshot,k.currentSnapshot,this.rootContexts)}),function ca(be,Ne){return(0,ie.zg)(ve=>{const{targetSnapshot:Ze,currentSnapshot:Ot,guards:{canActivateChecks:fn,canDeactivateChecks:k}}=ve;return 0===k.length&&0===fn.length?(0,u.of)({...ve,guardsResult:!0}):function Xs(be,Ne,ve,Ze){return(0,a.D)(be).pipe((0,ie.zg)(Ot=>function Ju(be,Ne,ve,Ze,Ot){const fn=Ne&&Ne.routeConfig?Ne.routeConfig.canDeactivate:null;if(!fn||0===fn.length)return(0,u.of)(!0);const k=fn.map(w=>{const C=Ka(Ne)??Ot,N=ba(w,C);return ft(function ut(be){return be&&yl(be.canDeactivate)}(N)?N.canDeactivate(be,Ne,ve,Ze):C.runInContext(()=>N(be,Ne,ve,Ze))).pipe((0,me.P)())});return(0,u.of)(k).pipe(Si())}(Ot.component,Ot.route,ve,Ne,Ze)),(0,me.P)(Ot=>!0!==Ot,!0))}(k,Ze,Ot,be).pipe((0,ie.zg)(w=>w&&function Dc(be){return"boolean"==typeof be}(w)?function Rc(be,Ne,ve,Ze){return(0,a.D)(Ne).pipe((0,Oe.b)(Ot=>(0,h.z)(function qc(be,Ne){return null!==be&&Ne&&Ne(new Pl(be)),(0,u.of)(!0)}(Ot.route.parent,Ze),function Zl(be,Ne){return null!==be&&Ne&&Ne(new Ra(be)),(0,u.of)(!0)}(Ot.route,Ze),function zl(be,Ne,ve){const Ze=Ne[Ne.length-1],fn=Ne.slice(0,Ne.length-1).reverse().map(k=>function Fc(be){const Ne=be.routeConfig?be.routeConfig.canActivateChild:null;return Ne&&0!==Ne.length?{node:be,guards:Ne}:null}(k)).filter(k=>null!==k).map(k=>D(()=>{const w=k.guards.map(C=>{const N=Ka(k.node)??ve,B=ba(C,N);return ft(function St(be){return be&&yl(be.canActivateChild)}(B)?B.canActivateChild(Ze,be):N.runInContext(()=>B(Ze,be))).pipe((0,me.P)())});return(0,u.of)(w).pipe(Si())}));return(0,u.of)(fn).pipe(Si())}(be,Ot.path,ve),function gc(be,Ne,ve){const Ze=Ne.routeConfig?Ne.routeConfig.canActivate:null;if(!Ze||0===Ze.length)return(0,u.of)(!0);const Ot=Ze.map(fn=>D(()=>{const k=Ka(Ne)??ve,w=ba(fn,k);return ft(function Au(be){return be&&yl(be.canActivate)}(w)?w.canActivate(Ne,be):k.runInContext(()=>w(Ne,be))).pipe((0,me.P)())}));return(0,u.of)(Ot).pipe(Si())}(be,Ot.route,ve))),(0,me.P)(Ot=>!0!==Ot,!0))}(Ze,fn,be,Ne):(0,u.of)(w)),(0,L.U)(w=>({...ve,guardsResult:w})))})}(this.environmentInjector,k=>this.events.next(k)),(0,Ue.b)(k=>{if(Ze.guardsResult=k.guardsResult,st(k.guardsResult))throw Uu(0,k.guardsResult);const w=new oc(k.id,this.urlSerializer.serialize(k.extractedUrl),this.urlSerializer.serialize(k.urlAfterRedirects),k.targetSnapshot,!!k.guardsResult);this.events.next(w)}),(0,ue.h)(k=>!!k.guardsResult||(ve.restoreHistory(k),this.cancelNavigationTransition(k,"",3),!1)),qo(k=>{if(k.guards.canActivateChecks.length)return(0,u.of)(k).pipe((0,Ue.b)(w=>{const C=new Ql(w.id,this.urlSerializer.serialize(w.extractedUrl),this.urlSerializer.serialize(w.urlAfterRedirects),w.targetSnapshot);this.events.next(C)}),(0,J.w)(w=>{let C=!1;return(0,u.of)(w).pipe(function Dt(be,Ne){return(0,ie.zg)(ve=>{const{targetSnapshot:Ze,guards:{canActivateChecks:Ot}}=ve;if(!Ot.length)return(0,u.of)(ve);let fn=0;return(0,a.D)(Ot).pipe((0,Oe.b)(k=>function Xe(be,Ne,ve,Ze){const Ot=be.routeConfig,fn=be._resolve;return void 0!==Ot?.title&&!Ai(Ot)&&(fn[Xt]=Ot.title),function rn(be,Ne,ve,Ze){const Ot=function zn(be){return[...Object.keys(be),...Object.getOwnPropertySymbols(be)]}(be);if(0===Ot.length)return(0,u.of)({});const fn={};return(0,a.D)(Ot).pipe((0,ie.zg)(k=>function ii(be,Ne,ve,Ze){const Ot=Ka(Ne)??Ze,fn=ba(be,Ot);return ft(fn.resolve?fn.resolve(Ne,ve):Ot.runInContext(()=>fn(Ne,ve)))}(be[k],Ne,ve,Ze).pipe((0,me.P)(),(0,Ue.b)(w=>{fn[k]=w}))),(0,Qt.h)(1),(0,ht.h)(fn),(0,Me.K)(k=>wo(k)?T.E:(0,$._)(k)))}(fn,be,Ne,Ze).pipe((0,L.U)(k=>(be._resolvedData=k,be.data=We(be,ve).resolve,Ot&&Ai(Ot)&&(be.data[Xt]=Ot.title),null)))}(k.route,Ze,be,Ne)),(0,Ue.b)(()=>fn++),(0,Qt.h)(1),(0,ie.zg)(k=>fn===Ot.length?(0,u.of)(ve):T.E))})}(ve.paramsInheritanceStrategy,this.environmentInjector),(0,Ue.b)({next:()=>C=!0,complete:()=>{C||(ve.restoreHistory(w),this.cancelNavigationTransition(w,"",2))}}))}),(0,Ue.b)(w=>{const C=new tl(w.id,this.urlSerializer.serialize(w.extractedUrl),this.urlSerializer.serialize(w.urlAfterRedirects),w.targetSnapshot);this.events.next(C)}))}),qo(k=>{const w=C=>{const N=[];C.routeConfig?.loadComponent&&!C.routeConfig._loadedComponent&&N.push(this.configLoader.loadComponent(C.routeConfig).pipe((0,Ue.b)(B=>{C.component=B}),(0,L.U)(()=>{})));for(const B of C.children)N.push(...w(B));return N};return(0,f.aj)(w(k.targetSnapshot.root)).pipe((0,Ct.d)(),(0,pe.q)(1))}),qo(()=>this.afterPreactivation()),(0,L.U)(k=>{const w=function ia(be,Ne,ve){const Ze=ta(be,Ne._root,ve?ve._root:void 0);return new qi(Ze,Ne)}(ve.routeReuseStrategy,k.targetSnapshot,k.currentRouterState);return Ze={...k,targetRouterState:w}}),(0,Ue.b)(k=>{ve.currentUrlTree=k.urlAfterRedirects,ve.rawUrlTree=ve.urlHandlingStrategy.merge(k.urlAfterRedirects,k.rawUrl),ve.routerState=k.targetRouterState,"deferred"===ve.urlUpdateStrategy&&(k.extras.skipLocationChange||ve.setBrowserUrl(ve.rawUrlTree,k),ve.browserUrlTree=k.urlAfterRedirects)}),((be,Ne,ve)=>(0,L.U)(Ze=>(new Xc(Ne,Ze.targetRouterState,Ze.currentRouterState,ve).activate(be),Ze)))(this.rootContexts,ve.routeReuseStrategy,k=>this.events.next(k)),(0,pe.q)(1),(0,Ue.b)({next:k=>{Ot=!0,this.lastSuccessfulNavigation=this.currentNavigation,ve.navigated=!0,this.events.next(new ko(k.id,this.urlSerializer.serialize(k.extractedUrl),this.urlSerializer.serialize(ve.currentUrlTree))),ve.titleStrategy?.updateTitle(k.targetRouterState.snapshot),k.resolve(!0)},complete:()=>{Ot=!0}}),(0,en.x)(()=>{Ot||fn||this.cancelNavigationTransition(Ze,"",1),this.currentNavigation?.id===Ze.id&&(this.currentNavigation=null)}),(0,Me.K)(k=>{if(fn=!0,Ou(k)){bl(k)||(ve.navigated=!0,ve.restoreHistory(Ze,!0));const w=new $s(Ze.id,this.urlSerializer.serialize(Ze.extractedUrl),k.message,k.cancellationCode);if(this.events.next(w),bl(k)){const C=ve.urlHandlingStrategy.merge(k.url,ve.rawUrlTree),N={skipLocationChange:Ze.extras.skipLocationChange,replaceUrl:"eager"===ve.urlUpdateStrategy||ac(Ze.source)};ve.scheduleNavigation(C,xo,null,N,{resolve:Ze.resolve,reject:Ze.reject,promise:Ze.promise})}else Ze.resolve(!1)}else{ve.restoreHistory(Ze,!0);const w=new Ys(Ze.id,this.urlSerializer.serialize(Ze.extractedUrl),k,Ze.targetSnapshot??void 0);this.events.next(w);try{Ze.resolve(ve.errorHandler(k))}catch(C){Ze.reject(C)}}return T.E}))}))}cancelNavigationTransition(ve,Ze,Ot){const fn=new $s(ve.id,this.urlSerializer.serialize(ve.extractedUrl),Ze,Ot);this.events.next(fn),ve.resolve(!1)}}return be.\u0275fac=function(ve){return new(ve||be)},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})();function ac(be){return be!==xo}let Bc=(()=>{class be{buildTitle(ve){let Ze,Ot=ve.root;for(;void 0!==Ot;)Ze=this.getResolvedTitleForRoute(Ot)??Ze,Ot=Ot.children.find(fn=>fn.outlet===Rt);return Ze}getResolvedTitleForRoute(ve){return ve.data[Xt]}}return be.\u0275fac=function(ve){return new(ve||be)},be.\u0275prov=r.Yz7({token:be,factory:function(){return(0,r.f3M)(_e)},providedIn:"root"}),be})(),_e=(()=>{class be extends Bc{constructor(ve){super(),this.title=ve}updateTitle(ve){const Ze=this.buildTitle(ve);void 0!==Ze&&this.title.setTitle(Ze)}}return be.\u0275fac=function(ve){return new(ve||be)(r.LFG(Dn.Dx))},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})(),de=(()=>{class be{}return be.\u0275fac=function(ve){return new(ve||be)},be.\u0275prov=r.Yz7({token:be,factory:function(){return(0,r.f3M)(je)},providedIn:"root"}),be})();class Fe{shouldDetach(Ne){return!1}store(Ne,ve){}shouldAttach(Ne){return!1}retrieve(Ne){return null}shouldReuseRoute(Ne,ve){return Ne.routeConfig===ve.routeConfig}}let je=(()=>{class be extends Fe{}return be.\u0275fac=function(){let Ne;return function(Ze){return(Ne||(Ne=r.n5z(be)))(Ze||be)}}(),be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})();const Vt=new r.OlP("",{providedIn:"root",factory:()=>({})});let Ht=(()=>{class be{}return be.\u0275fac=function(ve){return new(ve||be)},be.\u0275prov=r.Yz7({token:be,factory:function(){return(0,r.f3M)(wn)},providedIn:"root"}),be})(),wn=(()=>{class be{shouldProcessUrl(ve){return!0}extract(ve){return ve}merge(ve,Ze){return ve}}return be.\u0275fac=function(ve){return new(ve||be)},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})();function cr(be){throw be}function _i(be,Ne,ve){return Ne.parse("/")}const ao={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Wo=(()=>{class be{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,r.f3M)(r.c2e),this.isNgZoneEnabled=!1,this.options=(0,r.f3M)(Vt,{optional:!0})||{},this.errorHandler=this.options.errorHandler||cr,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||_i,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,r.f3M)(Ht),this.routeReuseStrategy=(0,r.f3M)(de),this.urlCreationStrategy=(0,r.f3M)(Qo),this.titleStrategy=(0,r.f3M)(Bc),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=_r((0,r.f3M)(oa,{optional:!0})??[]),this.navigationTransitions=(0,r.f3M)(Ea),this.urlSerializer=(0,r.f3M)(io),this.location=(0,r.f3M)(q.Ye),this.isNgZoneEnabled=(0,r.f3M)(r.R0b)instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ji,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=_t(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(ve=>{this.lastSuccessfulId=ve.id,this.currentPageId=this.browserPageId??0},ve=>{this.console.warn(`Unhandled Navigation Error: ${ve}`)})}resetRootComponentType(ve){this.routerState.root.component=ve,this.navigationTransitions.rootComponentType=ve}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const ve=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),xo,ve)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(ve=>{const Ze="popstate"===ve.type?"popstate":"hashchange";"popstate"===Ze&&setTimeout(()=>{this.navigateToSyncWithBrowser(ve.url,Ze,ve.state)},0)}))}navigateToSyncWithBrowser(ve,Ze,Ot){const fn={replaceUrl:!0},k=Ot?.navigationId?Ot:null;if(Ot){const C={...Ot};delete C.navigationId,delete C.\u0275routerPageId,0!==Object.keys(C).length&&(fn.state=C)}const w=this.parseUrl(ve);this.scheduleNavigation(w,Ze,k,fn)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(ve){this.config=ve.map(Mc),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(ve,Ze={}){const{relativeTo:Ot,queryParams:fn,fragment:k,queryParamsHandling:w,preserveFragment:C}=Ze,N=C?this.currentUrlTree.fragment:k;let B=null;switch(w){case"merge":B={...this.currentUrlTree.queryParams,...fn};break;case"preserve":B=this.currentUrlTree.queryParams;break;default:B=fn||null}return null!==B&&(B=this.removeEmptyProps(B)),this.urlCreationStrategy.createUrlTree(Ot,this.routerState,this.currentUrlTree,ve,B,N??null)}navigateByUrl(ve,Ze={skipLocationChange:!1}){const Ot=st(ve)?ve:this.parseUrl(ve),fn=this.urlHandlingStrategy.merge(Ot,this.rawUrlTree);return this.scheduleNavigation(fn,xo,null,Ze)}navigate(ve,Ze={skipLocationChange:!1}){return function Qs(be){for(let Ne=0;Ne<be.length;Ne++){const ve=be[Ne];if(null==ve)throw new r.vHH(4008,false)}}(ve),this.navigateByUrl(this.createUrlTree(ve,Ze),Ze)}serializeUrl(ve){return this.urlSerializer.serialize(ve)}parseUrl(ve){let Ze;try{Ze=this.urlSerializer.parse(ve)}catch(Ot){Ze=this.malformedUriErrorHandler(Ot,this.urlSerializer,ve)}return Ze}isActive(ve,Ze){let Ot;if(Ot=!0===Ze?{...ao}:!1===Ze?{...gs}:Ze,st(ve))return rr(this.currentUrlTree,ve,Ot);const fn=this.parseUrl(ve);return rr(this.currentUrlTree,fn,Ot)}removeEmptyProps(ve){return Object.keys(ve).reduce((Ze,Ot)=>{const fn=ve[Ot];return null!=fn&&(Ze[Ot]=fn),Ze},{})}scheduleNavigation(ve,Ze,Ot,fn,k){if(this.disposed)return Promise.resolve(!1);let w,C,N,B;return k?(w=k.resolve,C=k.reject,N=k.promise):N=new Promise((re,he)=>{w=re,C=he}),B="computed"===this.canceledNavigationResolution?Ot&&Ot.\u0275routerPageId?Ot.\u0275routerPageId:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:B,source:Ze,restoredState:Ot,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:ve,extras:fn,resolve:w,reject:C,promise:N,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),N.catch(re=>Promise.reject(re))}setBrowserUrl(ve,Ze){const Ot=this.urlSerializer.serialize(ve);if(this.location.isCurrentPathEqualTo(Ot)||Ze.extras.replaceUrl){const k={...Ze.extras.state,...this.generateNgRouterState(Ze.id,this.browserPageId)};this.location.replaceState(Ot,"",k)}else{const fn={...Ze.extras.state,...this.generateNgRouterState(Ze.id,Ze.targetPageId)};this.location.go(Ot,"",fn)}}restoreHistory(ve,Ze=!1){if("computed"===this.canceledNavigationResolution){const fn=this.currentPageId-(this.browserPageId??this.currentPageId);0!==fn?this.location.historyGo(fn):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===fn&&(this.resetState(ve),this.browserUrlTree=ve.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Ze&&this.resetState(ve),this.resetUrlToCurrentUrlTree())}resetState(ve){this.routerState=ve.currentRouterState,this.currentUrlTree=ve.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,ve.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(ve,Ze){return"computed"===this.canceledNavigationResolution?{navigationId:ve,\u0275routerPageId:Ze}:{navigationId:ve}}}return be.\u0275fac=function(ve){return new(ve||be)},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})(),Pa=(()=>{class be{constructor(ve,Ze,Ot,fn,k,w){this.router=ve,this.route=Ze,this.tabIndexAttribute=Ot,this.renderer=fn,this.el=k,this.locationStrategy=w,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new U.xQ;const C=k.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===C||"area"===C,this.isAnchorElement?this.subscription=ve.events.subscribe(N=>{N instanceof ko&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(ve){this._preserveFragment=(0,r.D6c)(ve)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(ve){this._skipLocationChange=(0,r.D6c)(ve)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(ve){this._replaceUrl=(0,r.D6c)(ve)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(ve){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ve)}ngOnChanges(ve){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(ve){null!=ve?(this.commands=Array.isArray(ve)?ve:[ve],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(ve,Ze,Ot,fn,k){return!!(null===this.urlTree||this.isAnchorElement&&(0!==ve||Ze||Ot||fn||k||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const ve=null===this.href?null:(0,r.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",ve)}applyAttributeValue(ve,Ze){const Ot=this.renderer,fn=this.el.nativeElement;null!==Ze?Ot.setAttribute(fn,ve,Ze):Ot.removeAttribute(fn,ve)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return be.\u0275fac=function(ve){return new(ve||be)(r.Y36(Wo),r.Y36(ae),r.$8M("tabindex"),r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(q.S$))},be.\u0275dir=r.lG2({type:be,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(ve,Ze){1&ve&&r.NdJ("click",function(fn){return Ze.onClick(fn.button,fn.ctrlKey,fn.shiftKey,fn.altKey,fn.metaKey)}),2&ve&&r.uIk("target",Ze.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[r.TTD]}),be})(),dc=(()=>{class be{get isActive(){return this._isActive}constructor(ve,Ze,Ot,fn,k){this.router=ve,this.element=Ze,this.renderer=Ot,this.cdr=fn,this.link=k,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new r.vpe,this.routerEventsSubscription=ve.events.subscribe(w=>{w instanceof ko&&this.update()})}ngAfterContentInit(){(0,u.of)(this.links.changes,(0,u.of)(null)).pipe((0,bn.J)()).subscribe(ve=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const ve=[...this.links.toArray(),this.link].filter(Ze=>!!Ze).map(Ze=>Ze.onChanges);this.linkInputChangesSubscription=(0,a.D)(ve).pipe((0,bn.J)()).subscribe(Ze=>{this._isActive!==this.isLinkActive(this.router)(Ze)&&this.update()})}set routerLinkActive(ve){const Ze=Array.isArray(ve)?ve:ve.split(" ");this.classes=Ze.filter(Ot=>!!Ot)}ngOnChanges(ve){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const ve=this.hasActiveLinks();this._isActive!==ve&&(this._isActive=ve,this.cdr.markForCheck(),this.classes.forEach(Ze=>{ve?this.renderer.addClass(this.element.nativeElement,Ze):this.renderer.removeClass(this.element.nativeElement,Ze)}),ve&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(ve))})}isLinkActive(ve){const Ze=function Tu(be){return!!be.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Ot=>!!Ot.urlTree&&ve.isActive(Ot.urlTree,Ze)}hasActiveLinks(){const ve=this.isLinkActive(this.router);return this.link&&ve(this.link)||this.links.some(ve)}}return be.\u0275fac=function(ve){return new(ve||be)(r.Y36(Wo),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.sBO),r.Y36(Pa,8))},be.\u0275dir=r.lG2({type:be,selectors:[["","routerLinkActive",""]],contentQueries:function(ve,Ze,Ot){if(1&ve&&r.Suo(Ot,Pa,5),2&ve){let fn;r.iGM(fn=r.CRH())&&(Ze.links=fn)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[r.TTD]}),be})();class nu{}let fa=(()=>{class be{preload(ve,Ze){return Ze().pipe((0,Me.K)(()=>(0,u.of)(null)))}}return be.\u0275fac=function(ve){return new(ve||be)},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})(),tc=(()=>{class be{constructor(ve,Ze,Ot,fn,k){this.router=ve,this.injector=Ot,this.preloadingStrategy=fn,this.loader=k}setUpPreloading(){this.subscription=this.router.events.pipe((0,ue.h)(ve=>ve instanceof ko),(0,Oe.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ve,Ze){const Ot=[];for(const fn of Ze){fn.providers&&!fn._injector&&(fn._injector=(0,r.MMx)(fn.providers,ve,`Route: ${fn.path}`));const k=fn._injector??ve,w=fn._loadedInjector??k;(fn.loadChildren&&!fn._loadedRoutes&&void 0===fn.canLoad||fn.loadComponent&&!fn._loadedComponent)&&Ot.push(this.preloadConfig(k,fn)),(fn.children||fn._loadedRoutes)&&Ot.push(this.processRoutes(w,fn.children??fn._loadedRoutes))}return(0,a.D)(Ot).pipe((0,bn.J)())}preloadConfig(ve,Ze){return this.preloadingStrategy.preload(Ze,()=>{let Ot;Ot=Ze.loadChildren&&void 0===Ze.canLoad?this.loader.loadChildren(ve,Ze):(0,u.of)(null);const fn=Ot.pipe((0,ie.zg)(k=>null===k?(0,u.of)(void 0):(Ze._loadedRoutes=k.routes,Ze._loadedInjector=k.injector,this.processRoutes(k.injector??ve,k.routes))));if(Ze.loadComponent&&!Ze._loadedComponent){const k=this.loader.loadComponent(Ze);return(0,a.D)([fn,k]).pipe((0,bn.J)())}return fn})}}return be.\u0275fac=function(ve){return new(ve||be)(r.LFG(Wo),r.LFG(r.Sil),r.LFG(r.lqb),r.LFG(nu),r.LFG(ks))},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac,providedIn:"root"}),be})();const Iu=new r.OlP("");let Ol=(()=>{class be{constructor(ve,Ze,Ot,fn,k={}){this.urlSerializer=ve,this.transitions=Ze,this.viewportScroller=Ot,this.zone=fn,this.options=k,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},k.scrollPositionRestoration=k.scrollPositionRestoration||"disabled",k.anchorScrolling=k.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(ve=>{ve instanceof bs?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ve.navigationTrigger,this.restoredId=ve.restoredState?ve.restoredState.navigationId:0):ve instanceof ko&&(this.lastId=ve.id,this.scheduleScrollEvent(ve,this.urlSerializer.parse(ve.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ve=>{ve instanceof Cs&&(ve.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ve.position):ve.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ve.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ve,Ze){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Cs(ve,"popstate"===this.lastSource?this.store[this.restoredId]:null,Ze))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return be.\u0275fac=function(ve){r.$Z()},be.\u0275prov=r.Yz7({token:be,factory:be.\u0275fac}),be})();var il=(()=>((il=il||{})[il.COMPLETE=0]="COMPLETE",il[il.FAILED=1]="FAILED",il[il.REDIRECTING=2]="REDIRECTING",il))();const Al=!1;function xa(be,Ne){return{\u0275kind:be,\u0275providers:Ne}}const iu=new r.OlP("",{providedIn:"root",factory:()=>!1});function fl(){const be=(0,r.f3M)(r.zs3);return Ne=>{const ve=be.get(r.z2F);if(Ne!==ve.components[0])return;const Ze=be.get(Wo),Ot=be.get(pl);1===be.get(Ed)&&Ze.initialNavigation(),be.get(fd,null,r.XFs.Optional)?.setUpPreloading(),be.get(Iu,null,r.XFs.Optional)?.init(),Ze.resetRootComponentType(ve.componentTypes[0]),Ot.closed||(Ot.next(),Ot.complete(),Ot.unsubscribe())}}const pl=new r.OlP(Al?"bootstrap done indicator":"",{factory:()=>new U.xQ}),Ed=new r.OlP(Al?"initial navigation":"",{providedIn:"root",factory:()=>1});function fu(){let be=[];return be=Al?[{provide:r.Xts,multi:!0,useFactory:()=>{const Ne=(0,r.f3M)(Wo);return()=>Ne.events.subscribe(ve=>{console.group?.(`Router Event: ${ve.constructor.name}`),console.log(function Ks(be){if(!("type"in be))return`Unknown Router Event: ${be.constructor.name}`;switch(be.type){case 14:return`ActivationEnd(path: '${be.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${be.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${be.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${be.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${be.id}, url: '${be.url}', urlAfterRedirects: '${be.urlAfterRedirects}', state: ${be.state}, shouldActivate: ${be.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${be.id}, url: '${be.url}', urlAfterRedirects: '${be.urlAfterRedirects}', state: ${be.state})`;case 2:return`NavigationCancel(id: ${be.id}, url: '${be.url}')`;case 16:return`NavigationSkipped(id: ${be.id}, url: '${be.url}')`;case 1:return`NavigationEnd(id: ${be.id}, url: '${be.url}', urlAfterRedirects: '${be.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${be.id}, url: '${be.url}', error: ${be.error})`;case 0:return`NavigationStart(id: ${be.id}, url: '${be.url}')`;case 6:return`ResolveEnd(id: ${be.id}, url: '${be.url}', urlAfterRedirects: '${be.urlAfterRedirects}', state: ${be.state})`;case 5:return`ResolveStart(id: ${be.id}, url: '${be.url}', urlAfterRedirects: '${be.urlAfterRedirects}', state: ${be.state})`;case 10:return`RouteConfigLoadEnd(path: ${be.route.path})`;case 9:return`RouteConfigLoadStart(path: ${be.route.path})`;case 4:return`RoutesRecognized(id: ${be.id}, url: '${be.url}', urlAfterRedirects: '${be.urlAfterRedirects}', state: ${be.state})`;case 15:return`Scroll(anchor: '${be.anchor}', position: '${be.position?`${be.position[0]}, ${be.position[1]}`:null}')`}}(ve)),console.log(ve),console.groupEnd?.()})}}]:[],xa(1,be)}const fd=new r.OlP(Al?"router preloader":"");function Sd(be){return xa(0,[{provide:fd,useExisting:tc},{provide:nu,useExisting:be}])}const Qu=!1,ua=new r.OlP(Qu?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),lp=[q.Ye,{provide:io,useClass:Vi},Wo,ec,{provide:ae,useFactory:function Gc(be){return be.routerState.root},deps:[Wo]},ks,Qu?{provide:iu,useValue:!0}:[]];function Bu(){return new r.PXZ("Router",Wo)}let jd=(()=>{class be{constructor(ve){}static forRoot(ve,Ze){return{ngModule:be,providers:[lp,Qu&&Ze?.enableTracing?fu().\u0275providers:[],{provide:oa,multi:!0,useValue:ve},{provide:ua,useFactory:cp,deps:[[Wo,new r.FiY,new r.tp0]]},{provide:Vt,useValue:Ze||{}},Ze?.useHash?{provide:q.S$,useClass:q.Do}:{provide:q.S$,useClass:q.b0},{provide:Iu,useFactory:()=>{const be=(0,r.f3M)(q.EM),Ne=(0,r.f3M)(r.R0b),ve=(0,r.f3M)(Vt),Ze=(0,r.f3M)(Ea),Ot=(0,r.f3M)(io);return ve.scrollOffset&&be.setOffset(ve.scrollOffset),new Ol(Ot,Ze,be,Ne,ve)}},Ze?.preloadingStrategy?Sd(Ze.preloadingStrategy).\u0275providers:[],{provide:r.PXZ,multi:!0,useFactory:Bu},Ze?.initialNavigation?fc(Ze):[],[{provide:Zd,useFactory:fl},{provide:r.tb,multi:!0,useExisting:Zd}]]}}static forChild(ve){return{ngModule:be,providers:[{provide:oa,multi:!0,useValue:ve}]}}}return be.\u0275fac=function(ve){return new(ve||be)(r.LFG(ua,8))},be.\u0275mod=r.oAB({type:be}),be.\u0275inj=r.cJS({imports:[Kc]}),be})();function cp(be){if(Qu&&be)throw new r.vHH(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function fc(be){return["disabled"===be.initialNavigation?xa(3,[{provide:r.ip1,multi:!0,useFactory:()=>{const Ne=(0,r.f3M)(Wo);return()=>{Ne.setUpLocationChangeListener()}}},{provide:Ed,useValue:2}]).\u0275providers:[],"enabledBlocking"===be.initialNavigation?xa(2,[{provide:Ed,useValue:0},{provide:r.ip1,multi:!0,deps:[r.zs3],useFactory:Ne=>{const ve=Ne.get(q.V_,Promise.resolve());return()=>ve.then(()=>new Promise(Ze=>{const Ot=Ne.get(Wo),fn=Ne.get(pl);(function du(be,Ne){be.events.pipe((0,ue.h)(ve=>ve instanceof ko||ve instanceof $s||ve instanceof Ys||ve instanceof ps),(0,L.U)(ve=>ve instanceof ko||ve instanceof ps?il.COMPLETE:ve instanceof $s&&(0===ve.code||1===ve.code)?il.REDIRECTING:il.FAILED),(0,ue.h)(ve=>ve!==il.REDIRECTING),(0,pe.q)(1)).subscribe(()=>{Ne()})})(Ot,()=>{Ze(!0)}),Ne.get(Ea).afterPreactivation=()=>(Ze(!0),fn.closed?(0,u.of)(void 0):fn),Ot.initialNavigation()}))}}]).\u0275providers:[]]}const Zd=new r.OlP(Qu?"Router Initializer":"")},51389:(y,b,o)=>{"use strict";o.d(b,{Kz:()=>Wd,xm:()=>ju,_A:()=>dd,vL:()=>B,_D:()=>il,lQ:()=>lc,VL:()=>vo,M:()=>zf,jt:()=>hd,TH:()=>m_,Vi:()=>g_,XC:()=>mh,iD:()=>yc,J4:()=>ne,FF:()=>y_,IJ:()=>M_,Pz:()=>Ad,uN:()=>S_,nv:()=>Qp,Is:()=>Zh,Vx:()=>$a,tO:()=>Jd,Oz:()=>yu,Dy:()=>Sf,o8:()=>Z_,AX:()=>Wf,dT:()=>Nf,Ly:()=>T_,ZQ:()=>Ep,Pm:()=>If,UL:()=>Ff,_L:()=>ad,xI:()=>od,HK:()=>Lf,dR:()=>Rm,ZS:()=>ld});var r=o(64537),a=o(70882),u=o(59193),c=o(25917),e=o(79765),f=o(22759),h=o(46797),E=o(59796),T=o(56693),D=o(55197),A=o(53960);function $(...F){if(1===F.length){if(!(0,E.k)(F[0]))return F[0];F=F[0]}return(0,T.n)(F,void 0).lift(new Q)}class Q{call(oe,S){return S.subscribe(new U(oe))}}class U extends D.L{constructor(oe){super(oe),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(oe){this.observables.push(oe)}_complete(){const oe=this.observables,S=oe.length;if(0===S)this.destination.complete();else{for(let V=0;V<S&&!this.hasFirst;V++){const ct=(0,A.D)(this,oe[V],void 0,V);this.subscriptions&&this.subscriptions.push(ct),this.add(ct)}this.observables=null}}notifyNext(oe,S,V){if(!this.hasFirst){this.hasFirst=!0;for(let Re=0;Re<this.subscriptions.length;Re++)if(Re!==V){let ct=this.subscriptions[Re];ct.unsubscribe(),this.remove(ct)}this.subscriptions=null}this.destination.next(S)}}var q=o(26215),L=o(9112),J=o(17757),pe=o(77393),j=o(20377),ue=o(85345);function ie(...F){const oe=F[F.length-1];return"function"==typeof oe&&F.pop(),(0,T.n)(F,void 0).lift(new me(oe))}class me{constructor(oe){this.resultSelector=oe}call(oe,S){return S.subscribe(new Oe(oe,this.resultSelector))}}class Oe extends pe.L{constructor(oe,S,V=Object.create(null)){super(oe),this.resultSelector=S,this.iterators=[],this.active=0,this.resultSelector="function"==typeof S?S:void 0}_next(oe){const S=this.iterators;(0,E.k)(oe)?S.push(new Me(oe)):S.push("function"==typeof oe[j.hZ]?new Ue(oe[j.hZ]()):new yt(this.destination,this,oe))}_complete(){const oe=this.iterators,S=oe.length;if(this.unsubscribe(),0!==S){this.active=S;for(let V=0;V<S;V++){let Re=oe[V];Re.stillUnsubscribed?this.destination.add(Re.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const oe=this.iterators,S=oe.length,V=this.destination;for(let Rn=0;Rn<S;Rn++){let Ar=oe[Rn];if("function"==typeof Ar.hasValue&&!Ar.hasValue())return}let Re=!1;const ct=[];for(let Rn=0;Rn<S;Rn++){let Ar=oe[Rn],si=Ar.next();if(Ar.hasCompleted()&&(Re=!0),si.done)return void V.complete();ct.push(si.value)}this.resultSelector?this._tryresultSelector(ct):V.next(ct),Re&&V.complete()}_tryresultSelector(oe){let S;try{S=this.resultSelector.apply(this,oe)}catch(V){return void this.destination.error(V)}this.destination.next(S)}}class Ue{constructor(oe){this.iterator=oe,this.nextResult=oe.next()}hasValue(){return!0}next(){const oe=this.nextResult;return this.nextResult=this.iterator.next(),oe}hasCompleted(){const oe=this.nextResult;return Boolean(oe&&oe.done)}}class Me{constructor(oe){this.array=oe,this.index=0,this.length=0,this.length=oe.length}[j.hZ](){return this}next(oe){const S=this.index++;return S<this.length?{value:this.array[S],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class yt extends ue.Ds{constructor(oe,S,V){super(oe),this.parent=S,this.observable=V,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[j.hZ](){return this}next(){const oe=this.buffer;return 0===oe.length&&this.isComplete?{value:null,done:!0}:{value:oe.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(oe){this.buffer.push(oe),this.parent.checkIterators()}subscribe(){return(0,ue.ft)(this.observable,new ue.IY(this))}}var et=o(66682),tt=o(6481),ze=o(46782),bt=o(45435),Ct=o(15257),Qt=o(88002),ht=o(39761),en=o(87519),nn=o(43190),bn=o(68307);function Dn(...F){return oe=>{let S;return"function"==typeof F[F.length-1]&&(S=F.pop()),oe.lift(new Rt(F,S))}}class Rt{constructor(oe,S){this.observables=oe,this.project=S}call(oe,S){return S.subscribe(new Xt(oe,this.observables,this.project))}}class Xt extends D.L{constructor(oe,S,V){super(oe),this.observables=S,this.project=V,this.toRespond=[];const Re=S.length;this.values=new Array(Re);for(let ct=0;ct<Re;ct++)this.toRespond.push(ct);for(let ct=0;ct<Re;ct++)this.add((0,A.D)(this,S[ct],void 0,ct))}notifyNext(oe,S,V){this.values[V]=S;const Re=this.toRespond;if(Re.length>0){const ct=Re.indexOf(V);-1!==ct&&Re.splice(ct,1)}}notifyComplete(){}_next(oe){if(0===this.toRespond.length){const S=[oe,...this.values];this.project?this._tryProject(S):this.destination.next(S)}}_tryProject(oe){let S;try{S=this.project.apply(this,oe)}catch(V){return void this.destination.error(V)}this.destination.next(S)}}var un=o(67460),_n=o(19773);class ri{constructor(oe){this.total=oe}call(oe,S){return S.subscribe(new Ir(oe,this.total))}}class Ir extends pe.L{constructor(oe,S){super(oe),this.total=S,this.count=0}_next(oe){++this.count>this.total&&this.destination.next(oe)}}var wr=o(78345),_r=o(88692),oi=o(20092),Ri={left:"right",right:"left",bottom:"top",top:"bottom"};function Tr(F){return F.replace(/left|right|bottom|top/g,function(oe){return Ri[oe]})}function ft(F){return F.split("-")[0]}var sn={start:"end",end:"start"};function At(F){return F.replace(/start|end/g,function(oe){return sn[oe]})}var Ln="top",rr="bottom",Lr="right",Fi="left",so="auto",Vo=[Ln,rr,Lr,Fi],Xr="start",Ni="end",ji="clippingParents",jr="viewport",Pr="popper",Bo="reference",cs=Vo.reduce(function(F,oe){return F.concat([oe+"-"+Xr,oe+"-"+Ni])},[]),ts=[].concat(Vo,[so]).reduce(function(F,oe){return F.concat([oe,oe+"-"+Xr,oe+"-"+Ni])},[]),tn=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ot(F){if(null==F)return window;if("[object Window]"!==F.toString()){var oe=F.ownerDocument;return oe&&oe.defaultView||window}return F}function xt(F){return F instanceof ot(F).Element||F instanceof Element}function qt(F){return F instanceof ot(F).HTMLElement||F instanceof HTMLElement}function tr(F){return!(typeof ShadowRoot>"u")&&(F instanceof ot(F).ShadowRoot||F instanceof ShadowRoot)}function vr(F){return((xt(F)?F.ownerDocument:F.document)||window.document).documentElement}function An(F,oe){void 0===oe&&(oe=!1);var S=F.getBoundingClientRect();return{width:S.width/1,height:S.height/1,top:S.top/1,right:S.right/1,bottom:S.bottom/1,left:S.left/1,x:S.left/1,y:S.top/1}}function yr(F){var oe=ot(F);return{scrollLeft:oe.pageXOffset,scrollTop:oe.pageYOffset}}function Nr(F){return An(vr(F)).left+yr(F).scrollLeft}function Qn(F){return ot(F).getComputedStyle(F)}var dr=Math.max,Wn=Math.min,Wt=Math.round;function st(F){return F?(F.nodeName||"").toLowerCase():null}function zt(F){return"html"===st(F)?F:F.assignedSlot||F.parentNode||(tr(F)?F.host:null)||vr(F)}function er(F){var oe=Qn(F);return/auto|scroll|overlay|hidden/.test(oe.overflow+oe.overflowY+oe.overflowX)}function Kr(F){return["html","body","#document"].indexOf(st(F))>=0?F.ownerDocument.body:qt(F)&&er(F)?F:Kr(zt(F))}function mi(F,oe){var S;void 0===oe&&(oe=[]);var V=Kr(F),Re=V===(null==(S=F.ownerDocument)?void 0:S.body),ct=ot(V),Rn=Re?[ct].concat(ct.visualViewport||[],er(V)?V:[]):V,Ar=oe.concat(Rn);return Re?Ar:Ar.concat(mi(zt(Rn)))}function gi(F){return["table","td","th"].indexOf(st(F))>=0}function Jo(F){return qt(F)&&"fixed"!==Qn(F).position?F.offsetParent:null}function hr(F){for(var oe=ot(F),S=Jo(F);S&&gi(S)&&"static"===Qn(S).position;)S=Jo(S);return S&&("html"===st(S)||"body"===st(S)&&"static"===Qn(S).position)?oe:S||function os(F){var oe=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&qt(F)&&"fixed"===Qn(F).position)return null;for(var Re=zt(F);qt(Re)&&["html","body"].indexOf(st(Re))<0;){var ct=Qn(Re);if("none"!==ct.transform||"none"!==ct.perspective||"paint"===ct.contain||-1!==["transform","perspective"].indexOf(ct.willChange)||oe&&"filter"===ct.willChange||oe&&ct.filter&&"none"!==ct.filter)return Re;Re=Re.parentNode}return null}(F)||oe}function Ii(F,oe){var S=oe.getRootNode&&oe.getRootNode();if(F.contains(oe))return!0;if(S&&tr(S)){var V=oe;do{if(V&&F.isSameNode(V))return!0;V=V.parentNode||V.host}while(V)}return!1}function ni(F){return Object.assign({},F,{left:F.x,top:F.y,right:F.x+F.width,bottom:F.y+F.height})}function wi(F,oe){return oe===jr?ni(function nr(F){var oe=ot(F),S=vr(F),V=oe.visualViewport,Re=S.clientWidth,ct=S.clientHeight,Rn=0,Ar=0;return V&&(Re=V.width,ct=V.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(Rn=V.offsetLeft,Ar=V.offsetTop)),{width:Re,height:ct,x:Rn+Nr(F),y:Ar}}(F)):qt(oe)?function Vr(F){var oe=An(F);return oe.top=oe.top+F.clientTop,oe.left=oe.left+F.clientLeft,oe.bottom=oe.top+F.clientHeight,oe.right=oe.left+F.clientWidth,oe.width=F.clientWidth,oe.height=F.clientHeight,oe.x=oe.left,oe.y=oe.top,oe}(oe):ni(function kt(F){var oe,S=vr(F),V=yr(F),Re=null==(oe=F.ownerDocument)?void 0:oe.body,ct=dr(S.scrollWidth,S.clientWidth,Re?Re.scrollWidth:0,Re?Re.clientWidth:0),Rn=dr(S.scrollHeight,S.clientHeight,Re?Re.scrollHeight:0,Re?Re.clientHeight:0),Ar=-V.scrollLeft+Nr(F),si=-V.scrollTop;return"rtl"===Qn(Re||S).direction&&(Ar+=dr(S.clientWidth,Re?Re.clientWidth:0)-ct),{width:ct,height:Rn,x:Ar,y:si}}(vr(F)))}function Mo(F){return F.split("-")[1]}function As(F){return["top","bottom"].indexOf(F)>=0?"x":"y"}function Ls(F){var si,oe=F.reference,S=F.element,V=F.placement,Re=V?ft(V):null,ct=V?Mo(V):null,Rn=oe.x+oe.width/2-S.width/2,Ar=oe.y+oe.height/2-S.height/2;switch(Re){case Ln:si={x:Rn,y:oe.y-S.height};break;case rr:si={x:Rn,y:oe.y+oe.height};break;case Lr:si={x:oe.x+oe.width,y:Ar};break;case Fi:si={x:oe.x-S.width,y:Ar};break;default:si={x:oe.x,y:oe.y}}var xi=Re?As(Re):null;if(null!=xi){var Li="y"===xi?"height":"width";switch(ct){case Xr:si[xi]=si[xi]-(oe[Li]/2-S[Li]/2);break;case Ni:si[xi]=si[xi]+(oe[Li]/2-S[Li]/2)}}return si}function $r(F){return Object.assign({},{top:0,right:0,bottom:0,left:0},F)}function Cn(F,oe){return oe.reduce(function(S,V){return S[V]=F,S},{})}function mn(F,oe){void 0===oe&&(oe={});var V=oe.placement,Re=void 0===V?F.placement:V,ct=oe.boundary,Rn=void 0===ct?ji:ct,Ar=oe.rootBoundary,si=void 0===Ar?jr:Ar,xi=oe.elementContext,Li=void 0===xi?Pr:xi,Es=oe.altBoundary,ns=void 0!==Es&&Es,v=oe.padding,R=void 0===v?0:v,Z=$r("number"!=typeof R?R:Cn(R,Vo)),qe=F.rects.popper,wt=F.elements[ns?Li===Pr?Bo:Pr:Li],gn=function Wi(F,oe,S){var V="clippingParents"===oe?function Gi(F){var oe=mi(zt(F)),V=["absolute","fixed"].indexOf(Qn(F).position)>=0&&qt(F)?hr(F):F;return xt(V)?oe.filter(function(Re){return xt(Re)&&Ii(Re,V)&&"body"!==st(Re)}):[]}(F):[].concat(oe),Re=[].concat(V,[S]),Rn=Re.reduce(function(Ar,si){var xi=wi(F,si);return Ar.top=dr(xi.top,Ar.top),Ar.right=Wn(xi.right,Ar.right),Ar.bottom=Wn(xi.bottom,Ar.bottom),Ar.left=dr(xi.left,Ar.left),Ar},wi(F,Re[0]));return Rn.width=Rn.right-Rn.left,Rn.height=Rn.bottom-Rn.top,Rn.x=Rn.left,Rn.y=Rn.top,Rn}(xt(wt)?wt:wt.contextElement||vr(F.elements.popper),Rn,si),$n=An(F.elements.reference),Sr=Ls({reference:$n,element:qe,strategy:"absolute",placement:Re}),Di=ni(Object.assign({},qe,Sr)),jo=Li===Pr?Di:$n,Ns={top:gn.top-jo.top+Z.top,bottom:jo.bottom-gn.bottom+Z.bottom,left:gn.left-jo.left+Z.left,right:jo.right-gn.right+Z.right},uo=F.modifiersData.offset;if(Li===Pr&&uo){var Ws=uo[Re];Object.keys(Ns).forEach(function(pa){var ya=[Lr,rr].indexOf(pa)>=0?1:-1,hi=[Ln,rr].indexOf(pa)>=0?"y":"x";Ns[pa]+=Ws[hi]*ya})}return Ns}const Ss={name:"flip",enabled:!0,phase:"main",fn:function xo(F){var oe=F.state,S=F.options,V=F.name;if(!oe.modifiersData[V]._skip){for(var Re=S.mainAxis,ct=void 0===Re||Re,Rn=S.altAxis,Ar=void 0===Rn||Rn,si=S.fallbackPlacements,xi=S.padding,Li=S.boundary,Es=S.rootBoundary,ns=S.altBoundary,v=S.flipVariations,R=void 0===v||v,Z=S.allowedAutoPlacements,Ae=oe.options.placement,qe=ft(Ae),gn=si||(qe!==Ae&&R?function Qi(F){if(ft(F)===so)return[];var oe=Tr(F);return[At(F),oe,At(oe)]}(Ae):[Tr(Ae)]),$n=[Ae].concat(gn).reduce(function(kf,Kd){return kf.concat(ft(Kd)===so?function kr(F,oe){void 0===oe&&(oe={});var Re=oe.boundary,ct=oe.rootBoundary,Rn=oe.padding,Ar=oe.flipVariations,si=oe.allowedAutoPlacements,xi=void 0===si?ts:si,Li=Mo(oe.placement),Es=Li?Ar?cs:cs.filter(function(R){return Mo(R)===Li}):Vo,ns=Es.filter(function(R){return xi.indexOf(R)>=0});0===ns.length&&(ns=Es);var v=ns.reduce(function(R,Z){return R[Z]=mn(F,{placement:Z,boundary:Re,rootBoundary:ct,padding:Rn})[ft(Z)],R},{});return Object.keys(v).sort(function(R,Z){return v[R]-v[Z]})}(oe,{placement:Kd,boundary:Li,rootBoundary:Es,padding:xi,flipVariations:R,allowedAutoPlacements:Z}):Kd)},[]),Sr=oe.rects.reference,Di=oe.rects.popper,jo=new Map,Ns=!0,uo=$n[0],Ws=0;Ws<$n.length;Ws++){var pa=$n[Ws],ya=ft(pa),hi=Mo(pa)===Xr,Jr=[Ln,rr].indexOf(ya)>=0,pi=Jr?"width":"height",_o=mn(oe,{placement:pa,boundary:Li,rootBoundary:Es,altBoundary:ns,padding:xi}),go=Jr?hi?Lr:Fi:hi?rr:Ln;Sr[pi]>Di[pi]&&(go=Tr(go));var al=Tr(go),Bs=[];if(ct&&Bs.push(_o[ya]<=0),Ar&&Bs.push(_o[go]<=0,_o[al]<=0),Bs.every(function(kf){return kf})){uo=pa,Ns=!1;break}jo.set(pa,Bs)}if(Ns)for(var kl=function(Kd){var Mh=$n.find(function(X_){var qp=jo.get(X_);if(qp)return qp.slice(0,Kd).every(function(Qh){return Qh})});if(Mh)return uo=Mh,"break"},ll=R?3:1;ll>0&&"break"!==kl(ll);ll--);oe.placement!==uo&&(oe.modifiersData[V]._skip=!0,oe.placement=uo,oe.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ko(F,oe,S){return dr(F,Wn(oe,S))}function $s(F){var oe=An(F),S=F.offsetWidth,V=F.offsetHeight;return Math.abs(oe.width-S)<=1&&(S=oe.width),Math.abs(oe.height-V)<=1&&(V=oe.height),{x:F.offsetLeft,y:F.offsetTop,width:S,height:V}}const Ys={name:"preventOverflow",enabled:!0,phase:"main",fn:function ps(F){var oe=F.state,S=F.options,V=F.name,Re=S.mainAxis,ct=void 0===Re||Re,Rn=S.altAxis,Ar=void 0!==Rn&&Rn,ns=S.tether,v=void 0===ns||ns,R=S.tetherOffset,Z=void 0===R?0:R,Ae=mn(oe,{boundary:S.boundary,rootBoundary:S.rootBoundary,padding:S.padding,altBoundary:S.altBoundary}),qe=ft(oe.placement),wt=Mo(oe.placement),gn=!wt,$n=As(qe),Sr=function bs(F){return"x"===F?"y":"x"}($n),Di=oe.modifiersData.popperOffsets,jo=oe.rects.reference,Ns=oe.rects.popper,uo="function"==typeof Z?Z(Object.assign({},oe.rects,{placement:oe.placement})):Z,Ws={x:0,y:0};if(Di){if(ct||Ar){var pa="y"===$n?Ln:Fi,ya="y"===$n?rr:Lr,hi="y"===$n?"height":"width",Jr=Di[$n],pi=Di[$n]+Ae[pa],_o=Di[$n]-Ae[ya],go=v?-Ns[hi]/2:0,al=wt===Xr?jo[hi]:Ns[hi],Bs=wt===Xr?-Ns[hi]:-jo[hi],Ja=oe.elements.arrow,kl=v&&Ja?$s(Ja):{width:0,height:0},ll=oe.modifiersData["arrow#persistent"]?oe.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},df=ll[pa],kf=ll[ya],Kd=ko(0,jo[hi],kl[hi]),Mh=gn?jo[hi]/2-go-Kd-df-uo:al-Kd-df-uo,X_=gn?-jo[hi]/2+go+Kd+kf+uo:Bs+Kd+kf+uo,qp=oe.elements.arrow&&hr(oe.elements.arrow),Xm=oe.modifiersData.offset?oe.modifiersData.offset[oe.placement][$n]:0,xm=Di[$n]+Mh-Xm-(qp?"y"===$n?qp.clientTop||0:qp.clientLeft||0:0),wm=Di[$n]+X_-Xm;if(ct){var qm=ko(v?Wn(pi,xm):pi,Jr,v?dr(_o,wm):_o);Di[$n]=qm,Ws[$n]=qm-Jr}if(Ar){var td=Di[Sr],$p=td+Ae["x"===$n?Ln:Fi],Kh=td-Ae["x"===$n?rr:Lr],Og=ko(v?Wn($p,xm):$p,td,v?dr(Kh,wm):Kh);Di[Sr]=Og,Ws[Sr]=Og-td}}oe.modifiersData[V]=Ws}},requiresIfExists:["offset"]};const Ql={name:"arrow",enabled:!0,phase:"main",fn:function Do(F){var oe,S=F.state,V=F.name,Re=F.options,ct=S.elements.arrow,Rn=S.modifiersData.popperOffsets,Ar=ft(S.placement),si=As(Ar),Li=[Fi,Lr].indexOf(Ar)>=0?"height":"width";if(ct&&Rn){var Es=function(oe,S){return $r("number"!=typeof(oe="function"==typeof oe?oe(Object.assign({},S.rects,{placement:S.placement})):oe)?oe:Cn(oe,Vo))}(Re.padding,S),ns=$s(ct),v="y"===si?Ln:Fi,R="y"===si?rr:Lr,Z=S.rects.reference[Li]+S.rects.reference[si]-Rn[si]-S.rects.popper[Li],Ae=Rn[si]-S.rects.reference[si],qe=hr(ct),wt=qe?"y"===si?qe.clientHeight||0:qe.clientWidth||0:0,Di=wt/2-ns[Li]/2+(Z/2-Ae/2),jo=ko(Es[v],Di,wt-ns[Li]-Es[R]);S.modifiersData[V]=((oe={})[si]=jo,oe.centerOffset=jo-Di,oe)}},effect:function oc(F){var oe=F.state,V=F.options.element,Re=void 0===V?"[data-popper-arrow]":V;null!=Re&&("string"==typeof Re&&!(Re=oe.elements.popper.querySelector(Re))||Ii(oe.elements.popper,Re)&&(oe.elements.arrow=Re))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Pl(F,oe,S){void 0===S&&(S=!1);var V=qt(oe),Re=qt(oe)&&function Ga(F){var oe=F.getBoundingClientRect();return 1!==(oe.width/F.offsetWidth||1)||1!==(oe.height/F.offsetHeight||1)}(oe),ct=vr(oe),Rn=An(F,Re),Ar={scrollLeft:0,scrollTop:0},si={x:0,y:0};return(V||!V&&!S)&&(("body"!==st(oe)||er(ct))&&(Ar=function Da(F){return F!==ot(F)&&qt(F)?function tl(F){return{scrollLeft:F.scrollLeft,scrollTop:F.scrollTop}}(F):yr(F)}(oe)),qt(oe)?((si=An(oe,!0)).x+=oe.clientLeft,si.y+=oe.clientTop):ct&&(si.x=Nr(ct))),{x:Rn.left+Ar.scrollLeft-si.x,y:Rn.top+Ar.scrollTop-si.y,width:Rn.width,height:Rn.height}}function Eo(F){var oe=new Map,S=new Set,V=[];function Re(ct){S.add(ct.name),[].concat(ct.requires||[],ct.requiresIfExists||[]).forEach(function(Ar){if(!S.has(Ar)){var si=oe.get(Ar);si&&Re(si)}}),V.push(ct)}return F.forEach(function(ct){oe.set(ct.name,ct)}),F.forEach(function(ct){S.has(ct.name)||Re(ct)}),V}function Fo(F){var oe;return function(){return oe||(oe=new Promise(function(S){Promise.resolve().then(function(){oe=void 0,S(F())})})),oe}}var ml={placement:"bottom",modifiers:[],strategy:"absolute"};function ma(){for(var F=arguments.length,oe=new Array(F),S=0;S<F;S++)oe[S]=arguments[S];return!oe.some(function(V){return!(V&&"function"==typeof V.getBoundingClientRect)})}function Qo(F){void 0===F&&(F={});var S=F.defaultModifiers,V=void 0===S?[]:S,Re=F.defaultOptions,ct=void 0===Re?ml:Re;return function(Ar,si,xi){void 0===xi&&(xi=ct);var Li={placement:"bottom",orderedModifiers:[],options:Object.assign({},ml,ct),modifiersData:{},elements:{reference:Ar,popper:si},attributes:{},styles:{}},Es=[],ns=!1,v={state:Li,setOptions:function(qe){var wt="function"==typeof qe?qe(Li.options):qe;Z(),Li.options=Object.assign({},ct,Li.options,wt),Li.scrollParents={reference:xt(Ar)?mi(Ar):Ar.contextElement?mi(Ar.contextElement):[],popper:mi(si)};var gn=function Ra(F){var oe=Eo(F);return tn.reduce(function(S,V){return S.concat(oe.filter(function(Re){return Re.phase===V}))},[])}(function Cs(F){var oe=F.reduce(function(S,V){var Re=S[V.name];return S[V.name]=Re?Object.assign({},Re,V,{options:Object.assign({},Re.options,V.options),data:Object.assign({},Re.data,V.data)}):V,S},{});return Object.keys(oe).map(function(S){return oe[S]})}([].concat(V,Li.options.modifiers)));return Li.orderedModifiers=gn.filter(function(pa){return pa.enabled}),function R(){Li.orderedModifiers.forEach(function(Ae){var wt=Ae.options,$n=Ae.effect;if("function"==typeof $n){var Sr=$n({state:Li,name:Ae.name,instance:v,options:void 0===wt?{}:wt});Es.push(Sr||function(){})}})}(),v.update()},forceUpdate:function(){if(!ns){var qe=Li.elements,wt=qe.reference,gn=qe.popper;if(ma(wt,gn)){Li.rects={reference:Pl(wt,hr(gn),"fixed"===Li.options.strategy),popper:$s(gn)},Li.reset=!1,Li.placement=Li.options.placement,Li.orderedModifiers.forEach(function(pa){return Li.modifiersData[pa.name]=Object.assign({},pa.data)});for(var Sr=0;Sr<Li.orderedModifiers.length;Sr++)if(!0!==Li.reset){var Di=Li.orderedModifiers[Sr],jo=Di.fn,Ns=Di.options;"function"==typeof jo&&(Li=jo({state:Li,options:void 0===Ns?{}:Ns,name:Di.name,instance:v})||Li)}else Li.reset=!1,Sr=-1}}},update:Fo(function(){return new Promise(function(Ae){v.forceUpdate(),Ae(Li)})}),destroy:function(){Z(),ns=!0}};if(!ma(Ar,si))return v;function Z(){Es.forEach(function(Ae){return Ae()}),Es=[]}return v.setOptions(xi).then(function(Ae){!ns&&xi.onFirstUpdate&&xi.onFirstUpdate(Ae)}),v}}var ys={passive:!0},_t={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ae(F){var oe,S=F.popper,V=F.popperRect,Re=F.placement,ct=F.variation,Rn=F.offsets,Ar=F.position,si=F.gpuAcceleration,xi=F.adaptive,Li=F.roundOffsets,Es=!0===Li?function On(F){var S=F.y,Re=window.devicePixelRatio||1;return{x:Wt(Wt(F.x*Re)/Re)||0,y:Wt(Wt(S*Re)/Re)||0}}(Rn):"function"==typeof Li?Li(Rn):Rn,ns=Es.x,v=void 0===ns?0:ns,R=Es.y,Z=void 0===R?0:R,Ae=Rn.hasOwnProperty("x"),qe=Rn.hasOwnProperty("y"),wt=Fi,gn=Ln,$n=window;if(xi){var Sr=hr(S),Di="clientHeight",jo="clientWidth";Sr===ot(S)&&"static"!==Qn(Sr=vr(S)).position&&"absolute"===Ar&&(Di="scrollHeight",jo="scrollWidth"),(Re===Ln||(Re===Fi||Re===Lr)&&ct===Ni)&&(gn=rr,Z-=Sr[Di]-V.height,Z*=si?1:-1),(Re===Fi||(Re===Ln||Re===rr)&&ct===Ni)&&(wt=Lr,v-=Sr[jo]-V.width,v*=si?1:-1)}var uo,Ns=Object.assign({position:Ar},xi&&_t);return Object.assign({},Ns,si?((uo={})[gn]=qe?"0":"",uo[wt]=Ae?"0":"",uo.transform=($n.devicePixelRatio||1)<=1?"translate("+v+"px, "+Z+"px)":"translate3d("+v+"px, "+Z+"px, 0)",uo):((oe={})[gn]=qe?Z+"px":"",oe[wt]=Ae?v+"px":"",oe.transform="",oe))}var js=Qo({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function rs(F){var oe=F.state,S=F.instance,V=F.options,Re=V.scroll,ct=void 0===Re||Re,Rn=V.resize,Ar=void 0===Rn||Rn,si=ot(oe.elements.popper),xi=[].concat(oe.scrollParents.reference,oe.scrollParents.popper);return ct&&xi.forEach(function(Li){Li.addEventListener("scroll",S.update,ys)}),Ar&&si.addEventListener("resize",S.update,ys),function(){ct&&xi.forEach(function(Li){Li.removeEventListener("scroll",S.update,ys)}),Ar&&si.removeEventListener("resize",S.update,ys)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function Br(F){var oe=F.state;oe.modifiersData[F.name]=Ls({reference:oe.rects.reference,element:oe.rects.popper,strategy:"absolute",placement:oe.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function We(F){var oe=F.state,S=F.options,V=S.gpuAcceleration,Re=void 0===V||V,ct=S.adaptive,Rn=void 0===ct||ct,Ar=S.roundOffsets,si=void 0===Ar||Ar,Li={placement:ft(oe.placement),variation:Mo(oe.placement),popper:oe.elements.popper,popperRect:oe.rects.popper,gpuAcceleration:Re};null!=oe.modifiersData.popperOffsets&&(oe.styles.popper=Object.assign({},oe.styles.popper,ae(Object.assign({},Li,{offsets:oe.modifiersData.popperOffsets,position:oe.options.strategy,adaptive:Rn,roundOffsets:si})))),null!=oe.modifiersData.arrow&&(oe.styles.arrow=Object.assign({},oe.styles.arrow,ae(Object.assign({},Li,{offsets:oe.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:si})))),oe.attributes.popper=Object.assign({},oe.attributes.popper,{"data-popper-placement":oe.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function yn(F){var oe=F.state;Object.keys(oe.elements).forEach(function(S){var V=oe.styles[S]||{},Re=oe.attributes[S]||{},ct=oe.elements[S];!qt(ct)||!st(ct)||(Object.assign(ct.style,V),Object.keys(Re).forEach(function(Rn){var Ar=Re[Rn];!1===Ar?ct.removeAttribute(Rn):ct.setAttribute(Rn,!0===Ar?"":Ar)}))})},effect:function Ei(F){var oe=F.state,S={popper:{position:oe.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(oe.elements.popper.style,S.popper),oe.styles=S,oe.elements.arrow&&Object.assign(oe.elements.arrow.style,S.arrow),function(){Object.keys(oe.elements).forEach(function(V){var Re=oe.elements[V],ct=oe.attributes[V]||{},Ar=Object.keys(oe.styles.hasOwnProperty(V)?oe.styles[V]:S[V]).reduce(function(si,xi){return si[xi]="",si},{});!qt(Re)||!st(Re)||(Object.assign(Re.style,Ar),Object.keys(ct).forEach(function(si){Re.removeAttribute(si)}))})}},requires:["computeStyles"]}]});const ta={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function ia(F){var oe=F.state,V=F.name,Re=F.options.offset,ct=void 0===Re?[0,0]:Re,Rn=ts.reduce(function(Li,Es){return Li[Es]=function hs(F,oe,S){var V=ft(F),Re=[Fi,Ln].indexOf(V)>=0?-1:1,ct="function"==typeof S?S(Object.assign({},oe,{placement:F})):S,Rn=ct[0],Ar=ct[1];return Rn=Rn||0,Ar=(Ar||0)*Re,[Fi,Lr].indexOf(V)>=0?{x:Ar,y:Rn}:{x:Rn,y:Ar}}(Es,oe.rects,ct),Li},{}),Ar=Rn[oe.placement],xi=Ar.y;null!=oe.modifiersData.popperOffsets&&(oe.modifiersData.popperOffsets.x+=Ar.x,oe.modifiersData.popperOffsets.y+=xi),oe.modifiersData[V]=Rn}};function Ul(F,oe){}function Fl(F,oe){if(1&F&&(r.TgZ(0,"button",3),r._uU(1),r.YNc(2,Ul,0,0,"ng-template",4),r.qZA()),2&F){const S=oe.$implicit;r.Q6J("ngbPanelToggle",S),r.xp6(1),r.hij(" ",S.title," "),r.xp6(1),r.Q6J("ngTemplateOutlet",null==S.titleTpl?null:S.titleTpl.templateRef)}}function zc(F,oe){}function Uu(F,oe){}function ru(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"div",8),r.NdJ("ngbRef",function(Re){r.CHM(S);const ct=r.oxw().$implicit;return r.KtG(ct.panelDiv=Re)}),r.TgZ(1,"div",9),r.YNc(2,Uu,0,0,"ng-template",4),r.qZA()()}if(2&F){const S=r.oxw().$implicit;r.s9C("id",S.id),r.uIk("aria-labelledby",S.id+"-header"),r.xp6(2),r.Q6J("ngTemplateOutlet",(null==S.contentTpl?null:S.contentTpl.templateRef)||null)}}const bl=function(F,oe){return{$implicit:F,opened:oe}};function Ou(F,oe){if(1&F&&(r.TgZ(0,"div")(1,"div",5),r.YNc(2,zc,0,0,"ng-template",6),r.qZA(),r.YNc(3,ru,3,3,"div",7),r.qZA()),2&F){const S=oe.$implicit,V=r.oxw(),Re=r.MAs(1);r.Tol("accordion-item "+(S.cardClass||"")),r.xp6(1),r.Tol("accordion-header "+(S.type?"bg-"+S.type:V.type?"bg-"+V.type:"")),r.MGl("id","",S.id,"-header"),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==S.headerTpl?null:S.headerTpl.templateRef)||Re)("ngTemplateOutletContext",r.WLB(8,bl,S,S.isOpen)),r.xp6(1),r.Q6J("ngIf",!V.destroyOnHide||S.isOpen||S.transitionRunning)}}function Za(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"button",1),r.NdJ("click",function(){r.CHM(S);const Re=r.oxw();return r.KtG(Re.close())}),r.qZA()}}const ec=["*"];function wa(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"button",6),r.NdJ("click",function(){const ct=r.CHM(S).$implicit,Rn=r.oxw();return Rn.focus(),r.KtG(Rn.select(ct.id,Rn.NgbSlideEventSource.INDICATOR))}),r.qZA()}if(2&F){const S=oe.$implicit,V=r.oxw();r.ekj("active",S.id===V.activeId),r.uIk("aria-labelledby","slide-"+S.id)("aria-controls","slide-"+S.id)("aria-selected",S.id===V.activeId)}}function Ec(F,oe){}function Sc(F,oe){if(1&F&&(r.TgZ(0,"div",7)(1,"span",8),r.SDv(2,9),r.qZA(),r.YNc(3,Ec,0,0,"ng-template",10),r.qZA()),2&F){const S=oe.$implicit,V=oe.index,Re=oe.count;r.Q6J("id","slide-"+S.id),r.xp6(2),r.pQV(V+1)(Re),r.QtT(2),r.xp6(1),r.Q6J("ngTemplateOutlet",S.tplRef)}}function dl(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Re=r.oxw();return r.KtG(Re.arrowLeft())}),r._UZ(1,"span",12),r.TgZ(2,"span",8),r.SDv(3,13),r.qZA()()}}function Kc(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"button",14),r.NdJ("click",function(){r.CHM(S);const Re=r.oxw();return r.KtG(Re.arrowRight())}),r._UZ(1,"span",15),r.TgZ(2,"span",8),r.SDv(3,16),r.qZA()()}}const Vc=["ngbDatepickerDayView",""],cu=["month"],xs=["year"];function Tc(F,oe){if(1&F&&(r.TgZ(0,"option",5),r._uU(1),r.qZA()),2&F){const S=oe.$implicit,V=r.oxw();r.Q6J("value",S),r.uIk("aria-label",V.i18n.getMonthFullName(S,V.date.year)),r.xp6(1),r.Oqu(V.i18n.getMonthShortName(S,V.date.year))}}function cc(F,oe){if(1&F&&(r.TgZ(0,"option",5),r._uU(1),r.qZA()),2&F){const S=oe.$implicit,V=r.oxw();r.Q6J("value",S),r.xp6(1),r.Oqu(V.i18n.getYearNumerals(S))}}function ka(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"ngb-datepicker-navigation-select",7),r.NdJ("select",function(Re){r.CHM(S);const ct=r.oxw();return r.KtG(ct.select.emit(Re))}),r.qZA()}if(2&F){const S=r.oxw();r.Q6J("date",S.date)("disabled",S.disabled)("months",S.selectBoxes.months)("years",S.selectBoxes.years)}}function gl(F,oe){1&F&&r._UZ(0,"div",0)}function Cc(F,oe){1&F&&r._UZ(0,"div",0)}function bc(F,oe){if(1&F&&(r.YNc(0,gl,1,0,"div",9),r.TgZ(1,"div",10),r._uU(2),r.qZA(),r.YNc(3,Cc,1,0,"div",9)),2&F){const S=oe.$implicit,V=oe.index,Re=r.oxw(2);r.Q6J("ngIf",V>0),r.xp6(2),r.hij(" ",Re.i18n.getMonthLabel(S.firstDate)," "),r.xp6(1),r.Q6J("ngIf",V!==Re.months.length-1)}}function Mc(F,oe){if(1&F&&r.YNc(0,bc,4,3,"ng-template",8),2&F){const S=r.oxw();r.Q6J("ngForOf",S.months)}}function za(F,oe){if(1&F&&(r.TgZ(0,"div",5),r._uU(1),r.qZA()),2&F){const S=r.oxw(2);r.xp6(1),r.Oqu(S.i18n.getWeekLabel())}}function vl(F,oe){if(1&F&&(r.TgZ(0,"div",6),r._uU(1),r.qZA()),2&F){const S=oe.$implicit;r.xp6(1),r.Oqu(S)}}function Ka(F,oe){if(1&F&&(r.TgZ(0,"div",2),r.YNc(1,za,2,1,"div",3),r.YNc(2,vl,2,1,"div",4),r.qZA()),2&F){const S=r.oxw();r.xp6(1),r.Q6J("ngIf",S.datepicker.showWeekNumbers),r.xp6(1),r.Q6J("ngForOf",S.viewModel.weekdays)}}function Ua(F,oe){if(1&F&&(r.TgZ(0,"div",11),r._uU(1),r.qZA()),2&F){const S=r.oxw(2).$implicit,V=r.oxw();r.xp6(1),r.Oqu(V.i18n.getWeekNumerals(S.number))}}function Xc(F,oe){}function sc(F,oe){if(1&F&&r.YNc(0,Xc,0,0,"ng-template",14),2&F){const S=r.oxw().$implicit,V=r.oxw(3);r.Q6J("ngTemplateOutlet",V.datepicker.dayTemplate)("ngTemplateOutletContext",S.context)}}function Ba(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"div",12),r.NdJ("click",function(Re){const Rn=r.CHM(S).$implicit;return r.oxw(3).doSelect(Rn),r.KtG(Re.preventDefault())}),r.YNc(1,sc,1,2,"ng-template",13),r.qZA()}if(2&F){const S=oe.$implicit;r.ekj("disabled",S.context.disabled)("hidden",S.hidden)("ngb-dp-today",S.context.today),r.Q6J("tabindex",S.tabindex),r.uIk("aria-label",S.ariaLabel),r.xp6(1),r.Q6J("ngIf",!S.hidden)}}function Ic(F,oe){if(1&F&&(r.TgZ(0,"div",8),r.YNc(1,Ua,2,1,"div",9),r.YNc(2,Ba,2,9,"div",10),r.qZA()),2&F){const S=r.oxw().$implicit,V=r.oxw();r.xp6(1),r.Q6J("ngIf",V.datepicker.showWeekNumbers),r.xp6(1),r.Q6J("ngForOf",S.days)}}function Fc(F,oe){1&F&&r.YNc(0,Ic,3,2,"div",7),2&F&&r.Q6J("ngIf",!oe.$implicit.collapsed)}const ba=["defaultDayTemplate"],Xa=["content"];function Oc(F,oe){if(1&F&&r._UZ(0,"div",8),2&F){const V=oe.currentMonth,Re=oe.selected,ct=oe.disabled,Rn=oe.focused;r.Q6J("date",oe.date)("currentMonth",V)("selected",Re)("disabled",ct)("focused",Rn)}}function Ac(F,oe){if(1&F&&(r.TgZ(0,"div",13),r._uU(1),r.qZA()),2&F){const S=r.oxw().$implicit,V=r.oxw(2);r.xp6(1),r.hij(" ",V.i18n.getMonthLabel(S.firstDate)," ")}}function jl(F,oe){if(1&F&&(r.TgZ(0,"div",10),r.YNc(1,Ac,2,1,"div",11),r._UZ(2,"ngb-datepicker-month",12),r.qZA()),2&F){const S=oe.$implicit,V=r.oxw(2);r.xp6(1),r.Q6J("ngIf","none"===V.navigation||V.displayMonths>1&&"select"===V.navigation),r.xp6(1),r.Q6J("month",S.firstDate)}}function yl(F,oe){if(1&F&&r.YNc(0,jl,3,2,"div",9),2&F){const S=r.oxw();r.Q6J("ngForOf",S.model.months)}}function Dc(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"ngb-datepicker-navigation",14),r.NdJ("navigate",function(Re){r.CHM(S);const ct=r.oxw();return r.KtG(ct.onNavigateEvent(Re))})("select",function(Re){r.CHM(S);const ct=r.oxw();return r.KtG(ct.onNavigateDateSelect(Re))}),r.qZA()}if(2&F){const S=r.oxw();r.Q6J("date",S.model.firstDate)("months",S.model.months)("disabled",S.model.disabled)("showSelect","select"===S.model.navigation)("prevDisabled",S.model.prevDisabled)("nextDisabled",S.model.nextDisabled)("selectBoxes",S.model.selectBoxes)}}function Zs(F,oe){}function Au(F,oe){}const St=function(F){return{$implicit:F}},ut=["dialog"],Je=["ngbNavOutlet",""];function hn(F,oe){}function vi(F,oe){if(1&F&&(r.TgZ(0,"div",2),r.YNc(1,hn,0,0,"ng-template",3),r.qZA()),2&F){const S=r.oxw().$implicit,V=r.oxw();r.Q6J("item",S)("nav",V.nav)("role",V.paneRole),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==S.contentTpl?null:S.contentTpl.templateRef)||null)("ngTemplateOutletContext",r.VKq(5,St,S.active||V.isPanelTransitioning(S)))}}function wo(F,oe){if(1&F&&r.YNc(0,vi,2,7,"div",1),2&F){const S=oe.$implicit,V=r.oxw();r.Q6J("ngIf",S.isPanelInDom()||V.isPanelTransitioning(S))}}function Ya(F,oe){1&F&&(r.TgZ(0,"span",9),r.SDv(1,10),r.qZA())}function Si(F,oe){1&F&&(r.TgZ(0,"span",9),r.SDv(1,11),r.qZA())}function ca(F,oe){1&F&&(r.TgZ(0,"span",9),r.SDv(1,12),r.qZA())}function Xs(F,oe){1&F&&(r.TgZ(0,"span",9),r.SDv(1,13),r.qZA())}function Rc(F,oe){1&F&&r._uU(0,"...")}function Zl(F,oe){1&F&&r._uU(0),2&F&&r.Oqu(oe.$implicit)}function qc(F,oe){}const gc=function(F){return{disabled:!0,currentPage:F}};function zl(F,oe){if(1&F&&(r.TgZ(0,"a",18),r.YNc(1,qc,0,0,"ng-template",8),r.qZA()),2&F){const S=r.oxw(2).$implicit,V=r.oxw(),Re=r.MAs(9);r.xp6(1),r.Q6J("ngTemplateOutlet",(null==V.tplEllipsis?null:V.tplEllipsis.templateRef)||Re)("ngTemplateOutletContext",r.VKq(2,gc,S))}}function Ju(F,oe){}const eu=function(F,oe,S){return{disabled:F,$implicit:oe,currentPage:S}};function Cu(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"a",19),r.NdJ("click",function(Re){r.CHM(S);const ct=r.oxw().$implicit;return r.oxw(2).selectPage(ct),r.KtG(Re.preventDefault())}),r.YNc(1,Ju,0,0,"ng-template",8),r.qZA()}if(2&F){const S=r.oxw().$implicit,V=r.oxw(),Re=V.disabled,ct=V.$implicit,Rn=r.oxw(),Ar=r.MAs(11);r.uIk("tabindex",Re?"-1":null)("aria-disabled",Re?"true":null),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==Rn.tplNumber?null:Rn.tplNumber.templateRef)||Ar)("ngTemplateOutletContext",r.kEZ(4,eu,Re,S,ct))}}function uc(F,oe){if(1&F&&(r.TgZ(0,"li",15),r.YNc(1,zl,2,4,"a",16),r.YNc(2,Cu,2,8,"a",17),r.qZA()),2&F){const S=oe.$implicit,V=r.oxw(),Re=V.$implicit,ct=V.disabled,Rn=r.oxw();r.ekj("active",S===Re)("disabled",Rn.isEllipsis(S)||ct),r.uIk("aria-current",S===Re?"page":null),r.xp6(1),r.Q6J("ngIf",Rn.isEllipsis(S)),r.xp6(1),r.Q6J("ngIf",!Rn.isEllipsis(S))}}function tu(F,oe){1&F&&r.YNc(0,uc,3,7,"li",14),2&F&&r.Q6J("ngForOf",oe.pages)}function Ll(F,oe){}const rl=function(F,oe){return{disabled:F,currentPage:oe}};function qa(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"li",15)(1,"a",20),r.NdJ("click",function(Re){return r.CHM(S),r.oxw().selectPage(1),r.KtG(Re.preventDefault())}),r.YNc(2,Ll,0,0,"ng-template",8),r.qZA()()}if(2&F){const S=r.oxw(),V=r.MAs(1);r.ekj("disabled",S.previousDisabled()),r.xp6(1),r.uIk("tabindex",S.previousDisabled()?"-1":null)("aria-disabled",S.previousDisabled()?"true":null),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==S.tplFirst?null:S.tplFirst.templateRef)||V)("ngTemplateOutletContext",r.WLB(6,rl,S.previousDisabled(),S.page))}}function X(F,oe){}const Ce=function(F){return{disabled:F}};function gt(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"li",15)(1,"a",21),r.NdJ("click",function(Re){r.CHM(S);const ct=r.oxw();return ct.selectPage(ct.page-1),r.KtG(Re.preventDefault())}),r.YNc(2,X,0,0,"ng-template",8),r.qZA()()}if(2&F){const S=r.oxw(),V=r.MAs(3);r.ekj("disabled",S.previousDisabled()),r.xp6(1),r.uIk("tabindex",S.previousDisabled()?"-1":null)("aria-disabled",S.previousDisabled()?"true":null),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==S.tplPrevious?null:S.tplPrevious.templateRef)||V)("ngTemplateOutletContext",r.VKq(6,Ce,S.previousDisabled()))}}function Ke(F,oe){}function Gt(F,oe){}function xn(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"li",15)(1,"a",22),r.NdJ("click",function(Re){r.CHM(S);const ct=r.oxw();return ct.selectPage(ct.page+1),r.KtG(Re.preventDefault())}),r.YNc(2,Gt,0,0,"ng-template",8),r.qZA()()}if(2&F){const S=r.oxw(),V=r.MAs(5);r.ekj("disabled",S.nextDisabled()),r.xp6(1),r.uIk("tabindex",S.nextDisabled()?"-1":null)("aria-disabled",S.nextDisabled()?"true":null),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==S.tplNext?null:S.tplNext.templateRef)||V)("ngTemplateOutletContext",r.WLB(6,rl,S.nextDisabled(),S.page))}}function lr(F,oe){}function Fr(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"li",15)(1,"a",23),r.NdJ("click",function(Re){r.CHM(S);const ct=r.oxw();return ct.selectPage(ct.pageCount),r.KtG(Re.preventDefault())}),r.YNc(2,lr,0,0,"ng-template",8),r.qZA()()}if(2&F){const S=r.oxw(),V=r.MAs(7);r.ekj("disabled",S.nextDisabled()),r.xp6(1),r.uIk("tabindex",S.nextDisabled()?"-1":null)("aria-disabled",S.nextDisabled()?"true":null),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==S.tplLast?null:S.tplLast.templateRef)||V)("ngTemplateOutletContext",r.WLB(6,rl,S.nextDisabled(),S.page))}}const Oi=function(F,oe,S){return{$implicit:F,pages:oe,disabled:S}};function ai(F,oe){if(1&F&&r._uU(0),2&F){const S=r.oxw(2);r.Oqu(S.title)}}function Dr(F,oe){}function ei(F,oe){if(1&F&&(r.TgZ(0,"h3",3),r.YNc(1,ai,1,1,"ng-template",null,4,r.W1O),r.YNc(3,Dr,0,0,"ng-template",5),r.qZA()),2&F){const S=r.MAs(2),V=r.oxw();r.xp6(3),r.Q6J("ngTemplateOutlet",V.isTitleTemplate()?V.title:S)("ngTemplateOutletContext",V.context)}}function Yo(F,oe){if(1&F&&(r.TgZ(0,"span"),r.SDv(1,1),r.ALo(2,"percent"),r.qZA()),2&F){const S=r.oxw();r.xp6(2),r.pQV(r.lcZ(2,1,S.getValue()/S.max)),r.QtT(1)}}function Kn(F,oe){1&F&&r._uU(0),2&F&&r.Oqu(100===oe.fill?"\u2605":"\u2606")}function zr(F,oe){}function Gr(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"span",2),r._uU(1),r.qZA(),r.TgZ(2,"span",3),r.NdJ("mouseenter",function(){const ct=r.CHM(S).index,Rn=r.oxw();return r.KtG(Rn.enter(ct+1))})("click",function(){const ct=r.CHM(S).index,Rn=r.oxw();return r.KtG(Rn.handleClick(ct+1))}),r.YNc(3,zr,0,0,"ng-template",4),r.qZA()}if(2&F){const S=oe.index,V=r.oxw(),Re=r.MAs(1);r.xp6(1),r.hij("(",S<V.nextRate?"*":" ",")"),r.xp6(1),r.Udp("cursor",V.isInteractive()?"pointer":"default"),r.xp6(1),r.Q6J("ngTemplateOutlet",V.starTemplate||V.starTemplateFromContent||Re)("ngTemplateOutletContext",V.contexts[S])}}function ce(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Re=r.oxw();return r.KtG(Re.changeHour(Re.hourStep))}),r._UZ(1,"span",12),r.TgZ(2,"span",13),r.SDv(3,14),r.qZA()()}if(2&F){const S=r.oxw();r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function Le(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Re=r.oxw();return r.KtG(Re.changeHour(-Re.hourStep))}),r._UZ(1,"span",15),r.TgZ(2,"span",13),r.SDv(3,16),r.qZA()()}if(2&F){const S=r.oxw();r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function Be(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Re=r.oxw();return r.KtG(Re.changeMinute(Re.minuteStep))}),r._UZ(1,"span",12),r.TgZ(2,"span",13),r.SDv(3,17),r.qZA()()}if(2&F){const S=r.oxw();r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function Bt(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Re=r.oxw();return r.KtG(Re.changeMinute(-Re.minuteStep))}),r._UZ(1,"span",15),r.TgZ(2,"span",13),r.SDv(3,18),r.qZA()()}if(2&F){const S=r.oxw();r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function Kt(F,oe){1&F&&(r.TgZ(0,"div",5),r._uU(1,":"),r.qZA())}function Bn(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Re=r.oxw(2);return r.KtG(Re.changeSecond(Re.secondStep))}),r._UZ(1,"span",12),r.TgZ(2,"span",13),r.SDv(3,21),r.qZA()()}if(2&F){const S=r.oxw(2);r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function sr(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Re=r.oxw(2);return r.KtG(Re.changeSecond(-Re.secondStep))}),r._UZ(1,"span",15),r.TgZ(2,"span",13),r.SDv(3,22),r.qZA()()}if(2&F){const S=r.oxw(2);r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function xr(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"div",19),r.YNc(1,Bn,4,7,"button",3),r.TgZ(2,"input",20),r.NdJ("change",function(Re){r.CHM(S);const ct=r.oxw();return r.KtG(ct.updateSecond(Re.target.value))})("blur",function(){r.CHM(S);const Re=r.oxw();return r.KtG(Re.handleBlur())})("input",function(Re){r.CHM(S);const ct=r.oxw();return r.KtG(ct.formatInput(Re.target))})("keydown.ArrowUp",function(Re){r.CHM(S);const ct=r.oxw();return ct.changeSecond(ct.secondStep),r.KtG(Re.preventDefault())})("keydown.ArrowDown",function(Re){r.CHM(S);const ct=r.oxw();return ct.changeSecond(-ct.secondStep),r.KtG(Re.preventDefault())}),r.qZA(),r.YNc(3,sr,4,7,"button",3),r.qZA()}if(2&F){const S=r.oxw();r.xp6(1),r.Q6J("ngIf",S.spinners),r.xp6(1),r.ekj("form-control-sm",S.isSmallSize)("form-control-lg",S.isLargeSize),r.Q6J("value",S.formatMinSec(null==S.model?null:S.model.second))("readOnly",S.readonlyInputs)("disabled",S.disabled),r.xp6(1),r.Q6J("ngIf",S.spinners)}}function fi(F,oe){1&F&&r._UZ(0,"div",5)}function Xi(F,oe){if(1&F&&(r.ynx(0),r.SDv(1,27),r.BQk()),2&F){const S=r.oxw(2);r.xp6(1),r.pQV(S.i18n.getAfternoonPeriod()),r.QtT(1)}}function So(F,oe){if(1&F&&r.SDv(0,28),2&F){const S=r.oxw(2);r.pQV(S.i18n.getMorningPeriod()),r.QtT(0)}}function Ms(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"div",23)(1,"button",24),r.NdJ("click",function(){r.CHM(S);const Re=r.oxw();return r.KtG(Re.toggleMeridian())}),r.YNc(2,Xi,2,1,"ng-container",25),r.YNc(3,So,1,1,"ng-template",null,26,r.W1O),r.qZA()()}if(2&F){const S=r.MAs(4),V=r.oxw();r.xp6(1),r.ekj("btn-sm",V.isSmallSize)("btn-lg",V.isLargeSize)("disabled",V.disabled),r.Q6J("disabled",V.disabled),r.xp6(1),r.Q6J("ngIf",V.model&&V.model.hour>=12)("ngIfElse",S)}}function Hs(F,oe){if(1&F&&(r.TgZ(0,"strong",3),r._uU(1),r.qZA()),2&F){const S=r.oxw();r.xp6(1),r.Oqu(S.header)}}function us(F,oe){}function Ma(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"div",4),r.YNc(1,us,0,0,"ng-template",5),r.TgZ(2,"button",6),r.NdJ("click",function(){r.CHM(S);const Re=r.oxw();return r.KtG(Re.hide())}),r.qZA()()}if(2&F){const S=r.oxw(),V=r.MAs(1);r.xp6(1),r.Q6J("ngTemplateOutlet",S.contentHeaderTpl||V)}}function ss(F,oe){if(1&F&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&F){const S=r.oxw().$implicit,V=r.oxw();r.Tol(V.highlightClass),r.xp6(1),r.Oqu(S)}}function se(F,oe){if(1&F&&r._uU(0),2&F){const S=r.oxw().$implicit;r.Oqu(S)}}function Dt(F,oe){if(1&F&&(r.YNc(0,ss,2,3,"span",1),r.YNc(1,se,1,1,"ng-template",null,2,r.W1O)),2&F){const S=oe.odd,V=r.MAs(2);r.Q6J("ngIf",S)("ngIfElse",V)}}function Xe(F,oe){if(1&F&&r._UZ(0,"ngb-highlight",2),2&F){const V=oe.term;r.Q6J("result",(0,oe.formatter)(oe.result))("term",V)}}function rn(F,oe){}const zn=function(F,oe,S){return{result:F,term:oe,formatter:S}};function ii(F,oe){if(1&F){const S=r.EpF();r.TgZ(0,"button",3),r.NdJ("mouseenter",function(){const ct=r.CHM(S).index,Rn=r.oxw();return r.KtG(Rn.markActive(ct))})("click",function(){const ct=r.CHM(S).$implicit,Rn=r.oxw();return r.KtG(Rn.select(ct))}),r.YNc(1,rn,0,0,"ng-template",4),r.qZA()}if(2&F){const S=oe.$implicit,V=oe.index,Re=r.oxw(),ct=r.MAs(1);r.ekj("active",V===Re.activeIdx),r.Q6J("id",Re.id+"-"+V),r.xp6(1),r.Q6J("ngTemplateOutlet",Re.resultTemplate||ct)("ngTemplateOutletContext",r.kEZ(5,zn,S,Re.term,Re.formatter))}}function Ai(F){return parseInt(`${F}`,10)}function qo(F){return null!=F?`${F}`:""}function as(F,oe,S=0){return Math.max(Math.min(F,oe),S)}function oa(F){return"string"==typeof F}function ks(F){return!isNaN(Ai(F))}function Ds(F){return"number"==typeof F&&isFinite(F)&&Math.floor(F)===F}function Bl(F){return null!=F}function Ea(F){return ks(F)?`0${F}`.slice(-2):""}function Bc(F,oe){return F&&F.className&&F.className.split&&F.className.split(/\s+/).indexOf(oe)>=0}function de(F){return(F||document.body).getBoundingClientRect()}function je(F){return F.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const Vt={animation:!0,transitionTimerDelayMs:5},Ht=()=>{},{transitionTimerDelayMs:wn}=Vt,ar=new Map,cr=(F,oe,S,V)=>{let Re=V.context||{};const ct=ar.get(oe);if(ct)switch(V.runningTransition){case"continue":return u.E;case"stop":F.run(()=>ct.transition$.complete()),Re=Object.assign(ct.context,Re),ar.delete(oe)}const Rn=S(oe,V.animation,Re)||Ht;if(!V.animation||"none"===window.getComputedStyle(oe).transitionProperty)return F.run(()=>Rn()),(0,c.of)(void 0).pipe(function Fe(F){return oe=>new a.y(S=>oe.subscribe({next:Rn=>F.run(()=>S.next(Rn)),error:Rn=>F.run(()=>S.error(Rn)),complete:()=>F.run(()=>S.complete())}))}(F));const Ar=new e.xQ,si=new e.xQ,xi=Ar.pipe(function Et(...F){return oe=>(0,tt.z)(oe,(0,c.of)(...F))}(!0));ar.set(oe,{transition$:Ar,complete:()=>{si.next(),si.complete()},context:Re});const Li=function lt(F){const{transitionDelay:oe,transitionDuration:S}=window.getComputedStyle(F);return 1e3*(parseFloat(oe)+parseFloat(S))}(oe);return F.runOutsideAngular(()=>{const Es=(0,f.R)(oe,"transitionend").pipe((0,ze.R)(xi),(0,bt.h)(({target:v})=>v===oe));$((0,h.H)(Li+wn).pipe((0,ze.R)(xi)),Es,si).pipe((0,ze.R)(xi)).subscribe(()=>{ar.delete(oe),F.run(()=>{Rn(),Ar.next(),Ar.complete()})})}),Ar.asObservable()},gs=(F,oe,S)=>{let{direction:V,maxSize:Re,dimension:ct}=S;const{classList:Rn}=F;function Ar(){Rn.add("collapse"),"show"===V?Rn.add("show"):Rn.remove("show")}if(oe)return Re||(Re=function ao(F,oe){if(typeof navigator>"u")return"0px";const{classList:S}=F,V=S.contains("show");V||S.add("show"),F.style[oe]="";const Re=F.getBoundingClientRect()[oe]+"px";return V||S.remove("show"),Re}(F,ct),S.maxSize=Re,F.style[ct]="show"!==V?Re:"0px",Rn.remove("collapse"),Rn.remove("collapsing"),Rn.remove("show"),de(F),Rn.add("collapsing")),F.style[ct]="show"===V?Re:"0px",()=>{Ar(),Rn.remove("collapsing"),F.style[ct]=""};Ar()};let Wo=(()=>{class F{constructor(){this.animation=Vt.animation}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),Qs=(()=>{class F{constructor(S){this._ngbConfig=S,this.closeOthers=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(Wo))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),Pa=0,dc=(()=>{class F{constructor(S){this.templateRef=S}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["ng-template","ngbPanelHeader",""]],standalone:!0}),F})(),Tu=(()=>{class F{constructor(S){this.templateRef=S}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["ng-template","ngbPanelTitle",""]],standalone:!0}),F})(),nu=(()=>{class F{constructor(S){this.templateRef=S}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["ng-template","ngbPanelContent",""]],standalone:!0}),F})(),fa=(()=>{class F{constructor(){this.disabled=!1,this.id="ngb-panel-"+Pa++,this.isOpen=!1,this.initClassDone=!1,this.transitionRunning=!1,this.shown=new r.vpe,this.hidden=new r.vpe}ngAfterContentChecked(){this.titleTpl=this.titleTpls.first,this.headerTpl=this.headerTpls.first,this.contentTpl=this.contentTpls.first}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275dir=r.lG2({type:F,selectors:[["ngb-panel"]],contentQueries:function(S,V,Re){if(1&S&&(r.Suo(Re,Tu,4),r.Suo(Re,dc,4),r.Suo(Re,nu,4)),2&S){let ct;r.iGM(ct=r.CRH())&&(V.titleTpls=ct),r.iGM(ct=r.CRH())&&(V.headerTpls=ct),r.iGM(ct=r.CRH())&&(V.contentTpls=ct)}},inputs:{disabled:"disabled",id:"id",title:"title",type:"type",cardClass:"cardClass"},outputs:{shown:"shown",hidden:"hidden"},standalone:!0}),F})(),uu=(()=>{class F{constructor(S){this._El=S,this.ngbRef=new r.vpe}ngOnInit(){this.ngbRef.emit(this._El.nativeElement)}ngOnDestroy(){this.ngbRef.emit(null)}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.SBq))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbRef",""]],outputs:{ngbRef:"ngbRef"},standalone:!0}),F})(),tc=(()=>{class F{constructor(S,V){this.accordion=S,this.panel=V}set ngbPanelToggle(S){S&&(this.panel=S)}}return F.\u0275fac=function(S){return new(S||F)(r.Y36((0,r.Gpc)(()=>Iu)),r.Y36(fa,9))},F.\u0275dir=r.lG2({type:F,selectors:[["button","ngbPanelToggle",""]],hostAttrs:["type","button"],hostVars:5,hostBindings:function(S,V){1&S&&r.NdJ("click",function(){return V.accordion.toggle(V.panel.id)}),2&S&&(r.Ikx("disabled",V.panel.disabled),r.uIk("aria-expanded",V.panel.isOpen)("aria-controls",V.panel.id),r.ekj("collapsed",!V.panel.isOpen))},inputs:{ngbPanelToggle:"ngbPanelToggle"},standalone:!0}),F})(),Iu=(()=>{class F{constructor(S,V,Re){this._ngZone=V,this._changeDetector=Re,this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new r.vpe,this.shown=new r.vpe,this.hidden=new r.vpe,this.animation=S.animation,this.type=S.type,this.closeOtherPanels=S.closeOthers}isExpanded(S){return this.activeIds.indexOf(S)>-1}expand(S){this._changeOpenState(this._findPanelById(S),!0)}expandAll(){this.closeOtherPanels?0===this.activeIds.length&&this.panels.length&&this._changeOpenState(this.panels.first,!0):this.panels.forEach(S=>this._changeOpenState(S,!0))}collapse(S){this._changeOpenState(this._findPanelById(S),!1)}collapseAll(){this.panels.forEach(S=>{this._changeOpenState(S,!1)})}toggle(S){const V=this._findPanelById(S);V&&this._changeOpenState(V,!V.isOpen)}ngAfterContentChecked(){oa(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this.panels.forEach(S=>{S.isOpen=!S.disabled&&this.activeIds.indexOf(S.id)>-1}),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0],!1),this._updateActiveIds()),this._ngZone.onStable.pipe((0,Ct.q)(1)).subscribe(()=>{this.panels.forEach(S=>{const V=S.panelDiv;V?S.initClassDone||(S.initClassDone=!0,cr(this._ngZone,V,gs,{animation:!1,runningTransition:"continue",context:{direction:S.isOpen?"show":"hide",dimension:"height"}})):S.initClassDone=!1})})}_changeOpenState(S,V){if(null!=S&&!S.disabled&&S.isOpen!==V){let Re=!1;this.panelChange.emit({panelId:S.id,nextState:V,preventDefault:()=>{Re=!0}}),Re||(S.isOpen=V,S.transitionRunning=!0,V&&this.closeOtherPanels&&this._closeOthers(S.id),this._updateActiveIds(),this._runTransitions(this.animation))}}_closeOthers(S,V=!0){this.panels.forEach(Re=>{Re.id!==S&&Re.isOpen&&(Re.isOpen=!1,Re.transitionRunning=V)})}_findPanelById(S){return this.panels.find(V=>V.id===S)||null}_updateActiveIds(){this.activeIds=this.panels.filter(S=>S.isOpen&&!S.disabled).map(S=>S.id)}_runTransitions(S){this._changeDetector.detectChanges(),this.panels.forEach(V=>{V.transitionRunning&&cr(this._ngZone,V.panelDiv,gs,{animation:S,runningTransition:"stop",context:{direction:V.isOpen?"show":"hide",dimension:"height"}}).subscribe(()=>{V.transitionRunning=!1;const{id:ct}=V;V.isOpen?(V.shown.emit(),this.shown.emit(ct)):(V.hidden.emit(),this.hidden.emit(ct))})})}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(Qs),r.Y36(r.R0b),r.Y36(r.sBO))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-accordion"]],contentQueries:function(S,V,Re){if(1&S&&r.Suo(Re,fa,4),2&S){let ct;r.iGM(ct=r.CRH())&&(V.panels=ct)}},hostAttrs:["role","tablist",1,"accordion"],hostVars:1,hostBindings:function(S,V){2&S&&r.uIk("aria-multiselectable",!V.closeOtherPanels)},inputs:{animation:"animation",activeIds:"activeIds",closeOtherPanels:["closeOthers","closeOtherPanels"],destroyOnHide:"destroyOnHide",type:"type"},outputs:{panelChange:"panelChange",shown:"shown",hidden:"hidden"},exportAs:["ngbAccordion"],standalone:!0,features:[r.jDz],decls:3,vars:1,consts:[["ngbPanelHeader",""],["t",""],["ngFor","",3,"ngForOf"],[1,"accordion-button",3,"ngbPanelToggle"],[3,"ngTemplateOutlet"],["role","tab",3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tabpanel",3,"id","ngbRef",4,"ngIf"],["role","tabpanel",3,"id","ngbRef"],[1,"accordion-body"]],template:function(S,V){1&S&&(r.YNc(0,Fl,3,3,"ng-template",0,1,r.W1O),r.YNc(2,Ou,4,11,"ng-template",2)),2&S&&(r.xp6(2),r.Q6J("ngForOf",V.panels))},dependencies:[_r.ax,_r.tP,tc,uu,dc,_r.O5],encapsulation:2}),F})(),Ol=(()=>{class F{constructor(S){this._ngbConfig=S,this.horizontal=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(Wo))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),il=(()=>{class F{constructor(S,V,Re){this._element=S,this._zone=Re,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new r.vpe,this.shown=new r.vpe,this.hidden=new r.vpe,this.animation=V.animation,this.horizontal=V.horizontal}set collapsed(S){this._isCollapsed!==S&&(this._isCollapsed=S,this._afterInit&&this._runTransitionWithEvents(S,this.animation))}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(S=this._isCollapsed){this.collapsed=!S,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(S,V){return cr(this._zone,this._element.nativeElement,gs,{animation:V,runningTransition:"stop",context:{direction:S?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(S,V){this._runTransition(S,V).subscribe(()=>{S?this.hidden.emit():this.shown.emit()})}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.SBq),r.Y36(Ol),r.Y36(r.R0b))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(S,V){2&S&&r.ekj("collapse-horizontal",V.horizontal)},inputs:{animation:"animation",collapsed:["ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],standalone:!0}),F})(),fl=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({imports:[Iu]}),F})();const pl=({classList:F})=>{F.remove("show")};let Ed=(()=>{class F{constructor(S){this._ngbConfig=S,this.dismissible=!0,this.type="warning"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(Wo))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),ju=(()=>{class F{constructor(S,V,Re,ct){this._renderer=V,this._element=Re,this._zone=ct,this.closed=new r.vpe,this.dismissible=S.dismissible,this.type=S.type,this.animation=S.animation}close(){const S=cr(this._zone,this._element.nativeElement,pl,{animation:this.animation,runningTransition:"continue"});return S.subscribe(()=>this.closed.emit()),S}ngOnChanges(S){const V=S.type;V&&!V.firstChange&&(this._renderer.removeClass(this._element.nativeElement,`alert-${V.previousValue}`),this._renderer.addClass(this._element.nativeElement,`alert-${V.currentValue}`))}ngOnInit(){this._renderer.addClass(this._element.nativeElement,`alert-${this.type}`)}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(Ed),r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(r.R0b))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-alert"]],hostAttrs:["role","alert",1,"alert","show"],hostVars:4,hostBindings:function(S,V){2&S&&r.ekj("fade",V.animation)("alert-dismissible",V.dismissible)},inputs:{animation:"animation",dismissible:"dismissible",type:"type"},outputs:{closed:"closed"},exportAs:["ngbAlert"],standalone:!0,features:[r.TTD,r.jDz],ngContentSelectors:ec,decls:2,vars:1,consts:function(){let oe;return oe="Close",[["type","button","class","btn-close","aria-label",oe,3,"click",4,"ngIf"],["type","button","aria-label",oe,1,"btn-close",3,"click"]]},template:function(S,V){1&S&&(r.F$t(),r.Hsn(0),r.YNc(1,Za,1,0,"button",0)),2&S&&(r.xp6(1),r.Q6J("ngIf",V.dismissible))},dependencies:[_r.O5],styles:["ngb-alert{display:block}\n"],encapsulation:2,changeDetection:0}),F})(),dd=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({imports:[ju]}),F})();var fu=(()=>{return(F=fu||(fu={})).START="start",F.END="end",fu;var F})();const fd=({classList:F})=>F.contains("carousel-item-start")||F.contains("carousel-item-end"),Sd=F=>{F.remove("carousel-item-start"),F.remove("carousel-item-end")},Cd=F=>{Sd(F),F.remove("carousel-item-prev"),F.remove("carousel-item-next")},xp=(F,oe,{direction:S})=>{const{classList:V}=F;return oe?(fd(F)?Sd(V):(V.add("carousel-item-"+(S===fu.START?"next":"prev")),de(F),V.add("carousel-item-"+S)),()=>{Cd(V),V.add("active")}):(Sd(V),Cd(V),void V.add("active"))},nc=(F,oe,{direction:S})=>{const{classList:V}=F;return oe?(fd(F)?Sd(V):V.add("carousel-item-"+S),()=>{Cd(V),V.remove("active")}):(Sd(V),Cd(V),void V.remove("active"))};let Qu=(()=>{class F{constructor(S){this._ngbConfig=S,this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.pauseOnFocus=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(Wo))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),ap=0,ua=(()=>{class F{constructor(S){this.tplRef=S,this.id="ngb-slide-"+ap++,this.slid=new r.vpe}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["ng-template","ngbSlide",""]],inputs:{id:"id"},outputs:{slid:"slid"},standalone:!0}),F})(),lp=(()=>{class F{constructor(S,V,Re,ct,Rn){this._platformId=V,this._ngZone=Re,this._cd=ct,this._container=Rn,this.NgbSlideEventSource=Bu,this._destroy$=new e.xQ,this._interval$=new q.X(0),this._mouseHover$=new q.X(!1),this._focused$=new q.X(!1),this._pauseOnHover$=new q.X(!1),this._pauseOnFocus$=new q.X(!1),this._pause$=new q.X(!1),this._wrap$=new q.X(!1),this.slide=new r.vpe,this.slid=new r.vpe,this._transitionIds=null,this.animation=S.animation,this.interval=S.interval,this.wrap=S.wrap,this.keyboard=S.keyboard,this.pauseOnHover=S.pauseOnHover,this.pauseOnFocus=S.pauseOnFocus,this.showNavigationArrows=S.showNavigationArrows,this.showNavigationIndicators=S.showNavigationIndicators}set interval(S){this._interval$.next(S)}get interval(){return this._interval$.value}set wrap(S){this._wrap$.next(S)}get wrap(){return this._wrap$.value}set pauseOnHover(S){this._pauseOnHover$.next(S)}get pauseOnHover(){return this._pauseOnHover$.value}set pauseOnFocus(S){this._pauseOnFocus$.next(S)}get pauseOnFocus(){return this._pauseOnFocus$.value}set mouseHover(S){this._mouseHover$.next(S)}get mouseHover(){return this._mouseHover$.value}set focused(S){this._focused$.next(S)}get focused(){return this._focused$.value}arrowLeft(){this.focus(),this.prev(Bu.ARROW_LEFT)}arrowRight(){this.focus(),this.next(Bu.ARROW_RIGHT)}ngAfterContentInit(){(0,_r.NF)(this._platformId)&&this._ngZone.runOutsideAngular(()=>{const S=(0,L.aj)([this.slide.pipe((0,Qt.U)(V=>V.current),(0,ht.O)(this.activeId)),this._wrap$,this.slides.changes.pipe((0,ht.O)(null))]).pipe((0,Qt.U)(([V,Re])=>{const ct=this.slides.toArray(),Rn=this._getSlideIdxById(V);return Re?ct.length>1:Rn<ct.length-1}),(0,en.x)());(0,L.aj)([this._pause$,this._pauseOnHover$,this._mouseHover$,this._pauseOnFocus$,this._focused$,this._interval$,S]).pipe((0,Qt.U)(([V,Re,ct,Rn,Ar,si,xi])=>V||Re&&ct||Rn&&Ar||!xi?0:si),(0,en.x)(),(0,nn.w)(V=>V>0?(0,h.H)(V,V):J.C),(0,ze.R)(this._destroy$)).subscribe(()=>this._ngZone.run(()=>this.next(Bu.TIMER)))}),this.slides.changes.pipe((0,ze.R)(this._destroy$)).subscribe(()=>{this._transitionIds?.forEach(S=>(F=>{ar.get(F)?.complete()})(this._getSlideElement(S))),this._transitionIds=null,this._cd.markForCheck(),this._ngZone.onStable.pipe((0,Ct.q)(1)).subscribe(()=>{for(const{id:S}of this.slides){const V=this._getSlideElement(S);S===this.activeId?V.classList.add("active"):V.classList.remove("active")}})})}ngAfterContentChecked(){let S=this._getSlideById(this.activeId);this.activeId=S?S.id:this.slides.length?this.slides.first.id:""}ngAfterViewInit(){if(this.activeId){const S=this._getSlideElement(this.activeId);S&&S.classList.add("active")}}ngOnDestroy(){this._destroy$.next()}select(S,V){this._cycleToSelected(S,this._getSlideEventDirection(this.activeId,S),V)}prev(S){this._cycleToSelected(this._getPrevSlide(this.activeId),fu.END,S)}next(S){this._cycleToSelected(this._getNextSlide(this.activeId),fu.START,S)}pause(){this._pause$.next(!0)}cycle(){this._pause$.next(!1)}focus(){this._container.nativeElement.focus()}_cycleToSelected(S,V,Re){const ct=this._transitionIds;if(ct&&(ct[0]!==S||ct[1]!==this.activeId))return;let Rn=this._getSlideById(S);if(Rn&&Rn.id!==this.activeId){this._transitionIds=[this.activeId,S],this.slide.emit({prev:this.activeId,current:Rn.id,direction:V,paused:this._pause$.value,source:Re});const Ar={animation:this.animation,runningTransition:"stop",context:{direction:V}},si=[],xi=this._getSlideById(this.activeId);if(xi){const v=cr(this._ngZone,this._getSlideElement(xi.id),nc,Ar);v.subscribe(()=>{xi.slid.emit({isShown:!1,direction:V,source:Re})}),si.push(v)}const Li=this.activeId;this.activeId=Rn.id;const Es=this._getSlideById(this.activeId),ns=cr(this._ngZone,this._getSlideElement(Rn.id),xp,Ar);ns.subscribe(()=>{Es?.slid.emit({isShown:!0,direction:V,source:Re})}),si.push(ns),ie(...si).pipe((0,Ct.q)(1)).subscribe(()=>{this._transitionIds=null,this.slid.emit({prev:Li,current:Rn.id,direction:V,paused:this._pause$.value,source:Re})})}this._cd.markForCheck()}_getSlideEventDirection(S,V){return this._getSlideIdxById(S)>this._getSlideIdxById(V)?fu.END:fu.START}_getSlideById(S){return this.slides.find(V=>V.id===S)||null}_getSlideIdxById(S){const V=this._getSlideById(S);return null!=V?this.slides.toArray().indexOf(V):-1}_getNextSlide(S){const V=this.slides.toArray(),Re=this._getSlideIdxById(S);return Re===V.length-1?this.wrap?V[0].id:V[V.length-1].id:V[Re+1].id}_getPrevSlide(S){const V=this.slides.toArray(),Re=this._getSlideIdxById(S);return 0===Re?this.wrap?V[V.length-1].id:V[0].id:V[Re-1].id}_getSlideElement(S){return this._container.nativeElement.querySelector(`#slide-${S}`)}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(Qu),r.Y36(r.Lbi),r.Y36(r.R0b),r.Y36(r.sBO),r.Y36(r.SBq))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-carousel"]],contentQueries:function(S,V,Re){if(1&S&&r.Suo(Re,ua,4),2&S){let ct;r.iGM(ct=r.CRH())&&(V.slides=ct)}},hostAttrs:["tabIndex","0",1,"carousel","slide"],hostVars:3,hostBindings:function(S,V){1&S&&r.NdJ("keydown.arrowLeft",function(){return V.keyboard&&V.arrowLeft()})("keydown.arrowRight",function(){return V.keyboard&&V.arrowRight()})("mouseenter",function(){return V.mouseHover=!0})("mouseleave",function(){return V.mouseHover=!1})("focusin",function(){return V.focused=!0})("focusout",function(){return V.focused=!1}),2&S&&(r.uIk("aria-activedescendant","slide-"+V.activeId),r.Udp("display","block"))},inputs:{animation:"animation",activeId:"activeId",interval:"interval",wrap:"wrap",keyboard:"keyboard",pauseOnHover:"pauseOnHover",pauseOnFocus:"pauseOnFocus",showNavigationArrows:"showNavigationArrows",showNavigationIndicators:"showNavigationIndicators"},outputs:{slide:"slide",slid:"slid"},exportAs:["ngbCarousel"],standalone:!0,features:[r.jDz],decls:6,vars:6,consts:function(){let oe,S,V;return oe=" Slide " + "\ufffd0\ufffd" + " of " + "\ufffd1\ufffd" + " ",S="Previous",V="Next",[["role","tablist",1,"carousel-indicators"],["type","button","data-bs-target","","role","tab",3,"active","click",4,"ngFor","ngForOf"],[1,"carousel-inner"],["class","carousel-item","role","tabpanel",3,"id",4,"ngFor","ngForOf"],["class","carousel-control-prev","type","button",3,"click",4,"ngIf"],["class","carousel-control-next","type","button",3,"click",4,"ngIf"],["type","button","data-bs-target","","role","tab",3,"click"],["role","tabpanel",1,"carousel-item",3,"id"],[1,"visually-hidden"],oe,[3,"ngTemplateOutlet"],["type","button",1,"carousel-control-prev",3,"click"],["aria-hidden","true",1,"carousel-control-prev-icon"],S,["type","button",1,"carousel-control-next",3,"click"],["aria-hidden","true",1,"carousel-control-next-icon"],V]},template:function(S,V){1&S&&(r.TgZ(0,"div",0),r.YNc(1,wa,1,5,"button",1),r.qZA(),r.TgZ(2,"div",2),r.YNc(3,Sc,4,4,"div",3),r.qZA(),r.YNc(4,dl,4,0,"button",4),r.YNc(5,Kc,4,0,"button",5)),2&S&&(r.ekj("visually-hidden",!V.showNavigationIndicators),r.xp6(1),r.Q6J("ngForOf",V.slides),r.xp6(2),r.Q6J("ngForOf",V.slides),r.xp6(1),r.Q6J("ngIf",V.showNavigationArrows),r.xp6(1),r.Q6J("ngIf",V.showNavigationArrows))},dependencies:[_r.ax,_r.tP,_r.O5],encapsulation:2,changeDetection:0}),F})();var Bu=(()=>{return(F=Bu||(Bu={})).TIMER="timer",F.ARROW_LEFT="arrowLeft",F.ARROW_RIGHT="arrowRight",F.INDICATOR="indicator",Bu;var F})();let jd=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({imports:[lp]}),F})(),lc=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({}),F})();class zo{constructor(oe,S,V){this.year=Ds(oe)?oe:null,this.month=Ds(S)?S:null,this.day=Ds(V)?V:null}static from(oe){return oe instanceof zo?oe:oe?new zo(oe.year,oe.month,oe.day):null}equals(oe){return null!=oe&&this.year===oe.year&&this.month===oe.month&&this.day===oe.day}before(oe){return!!oe&&(this.year===oe.year?this.month===oe.month?this.day!==oe.day&&this.day<oe.day:this.month<oe.month:this.year<oe.year)}after(oe){return!!oe&&(this.year===oe.year?this.month===oe.month?this.day!==oe.day&&this.day>oe.day:this.month>oe.month:this.year>oe.year)}}function pu(F,oe){return!function fc(F,oe){return!F&&!oe||!!F&&!!oe&&F.equals(oe)}(F,oe)}function cp(F,oe){return!(!F&&!oe||F&&oe&&F.year===oe.year&&F.month===oe.month)}function Ru(F,oe,S){return F&&oe&&F.before(oe)?oe:F&&S&&F.after(S)?S:F||null}function $o(F,oe){const{minDate:S,maxDate:V,disabled:Re,markDisabled:ct}=oe;return!(null==F||Re||ct&&ct(F,{year:F.year,month:F.month})||S&&F.before(S)||V&&F.after(V))}function w(F){return new zo(F.getFullYear(),F.getMonth()+1,F.getDate())}function C(F){const oe=new Date(F.year,F.month-1,F.day,12);return isNaN(oe.getTime())||oe.setFullYear(F.year),oe}let B=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:function(){return function N(){return new re}()},providedIn:"root"}),F})(),re=(()=>{class F extends B{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(S,V="d",Re=1){let ct=C(S),Rn=!0,Ar=ct.getMonth();switch(V){case"y":ct.setFullYear(ct.getFullYear()+Re);break;case"m":Ar+=Re,ct.setMonth(Ar),Ar%=12,Ar<0&&(Ar+=12);break;case"d":ct.setDate(ct.getDate()+Re),Rn=!1;break;default:return S}return Rn&&ct.getMonth()!==Ar&&ct.setDate(0),w(ct)}getPrev(S,V="d",Re=1){return this.getNext(S,V,-Re)}getWeekday(S){let Re=C(S).getDay();return 0===Re?7:Re}getWeekNumber(S,V){7===V&&(V=0);const Rn=C(S[(11-V)%7]);Rn.setDate(Rn.getDate()+4-(Rn.getDay()||7));const Ar=Rn.getTime();return Rn.setMonth(0),Rn.setDate(1),Math.floor(Math.round((Ar-Rn.getTime())/864e5)/7)+1}getToday(){return w(new Date)}isValid(S){if(!(S&&Ds(S.year)&&Ds(S.month)&&Ds(S.day)&&0!==S.year))return!1;const V=C(S);return!isNaN(V.getTime())&&V.getFullYear()===S.year&&V.getMonth()+1===S.month&&V.getDate()===S.day}}return F.\u0275fac=function(){let oe;return function(V){return(oe||(oe=r.n5z(F)))(V||F)}}(),F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac}),F})(),Te=(()=>{class F{getMonthLabel(S){return`${this.getMonthFullName(S.month,S.year)} ${this.getYearNumerals(S.year)}`}getDayNumerals(S){return`${S.day}`}getWeekNumerals(S){return`${S}`}getYearNumerals(S){return`${S}`}getWeekLabel(){return""}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:function(S){let V=null;return V=S?new S:function he(F){return new $e(F)}(r.LFG(r.soG)),V},providedIn:"root"}),F})(),$e=(()=>{class F extends Te{constructor(S){super(),this._locale=S,this._monthsShort=(0,_r.UT)(S,_r.x.Standalone,_r.Tn.Abbreviated),this._monthsFull=(0,_r.UT)(S,_r.x.Standalone,_r.Tn.Wide)}getWeekdayLabel(S,V){const Re=(0,_r.Mn)(this._locale,_r.x.Standalone,void 0===V?_r.Tn.Short:V);return Re.map((Rn,Ar)=>Re[(Ar+1)%7])[S-1]||""}getMonthShortName(S){return this._monthsShort[S-1]||""}getMonthFullName(S){return this._monthsFull[S-1]||""}getDayAriaLabel(S){const V=new Date(S.year,S.month-1,S.day);return(0,_r.p6)(V,"fullDate",this._locale)}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(r.soG))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac}),F})(),it=(()=>{class F{constructor(S,V){this._calendar=S,this._i18n=V,this._VALIDATORS={dayTemplateData:Re=>{if(this._state.dayTemplateData!==Re)return{dayTemplateData:Re}},displayMonths:Re=>{if(Ds(Re=Ai(Re))&&Re>0&&this._state.displayMonths!==Re)return{displayMonths:Re}},disabled:Re=>{if(this._state.disabled!==Re)return{disabled:Re}},firstDayOfWeek:Re=>{if(Ds(Re=Ai(Re))&&Re>=0&&this._state.firstDayOfWeek!==Re)return{firstDayOfWeek:Re}},focusVisible:Re=>{if(this._state.focusVisible!==Re&&!this._state.disabled)return{focusVisible:Re}},markDisabled:Re=>{if(this._state.markDisabled!==Re)return{markDisabled:Re}},maxDate:Re=>{const ct=this.toValidDate(Re,null);if(pu(this._state.maxDate,ct))return{maxDate:ct}},minDate:Re=>{const ct=this.toValidDate(Re,null);if(pu(this._state.minDate,ct))return{minDate:ct}},navigation:Re=>{if(this._state.navigation!==Re)return{navigation:Re}},outsideDays:Re=>{if(this._state.outsideDays!==Re)return{outsideDays:Re}},weekdays:Re=>{const ct=!0===Re||!1===Re?_r.Tn.Short:Re,Rn=!0!==Re&&!1!==Re||Re;if(this._state.weekdayWidth!==ct||this._state.weekdaysVisible!==Rn)return{weekdayWidth:ct,weekdaysVisible:Rn}}},this._model$=new e.xQ,this._dateSelect$=new e.xQ,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:_r.Tn.Short,weekdaysVisible:!0}}get model$(){return this._model$.pipe((0,bt.h)(S=>S.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe((0,bt.h)(S=>null!==S))}set(S){let V=Object.keys(S).map(Re=>this._VALIDATORS[Re](S[Re])).reduce((Re,ct)=>({...Re,...ct}),{});Object.keys(V).length>0&&this._nextState(V)}focus(S){const V=this.toValidDate(S,null);null!=V&&!this._state.disabled&&pu(this._state.focusDate,V)&&this._nextState({focusDate:S})}focusSelect(){$o(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(S){const V=this.toValidDate(S,this._calendar.getToday());null!=V&&!this._state.disabled&&(!this._state.firstDate||cp(this._state.firstDate,V))&&this._nextState({firstDate:V})}select(S,V={}){const Re=this.toValidDate(S,null);null!=Re&&!this._state.disabled&&(pu(this._state.selectedDate,Re)&&this._nextState({selectedDate:Re}),V.emitEvent&&$o(Re,this._state)&&this._dateSelect$.next(Re))}toValidDate(S,V){const Re=zo.from(S);return void 0===V&&(V=this._calendar.getToday()),this._calendar.isValid(Re)?Re:V}getMonth(S){for(let V of this._state.months)if(S.month===V.number&&S.year===V.year)return V;throw new Error(`month ${S.month} of year ${S.year} not found`)}_nextState(S){const V=this._updateState(S);this._patchContexts(V),this._state=V,this._model$.next(this._state)}_patchContexts(S){const{months:V,displayMonths:Re,selectedDate:ct,focusDate:Rn,focusVisible:Ar,disabled:si,outsideDays:xi}=S;S.months.forEach(Li=>{Li.weeks.forEach(Es=>{Es.days.forEach(ns=>{Rn&&(ns.context.focused=Rn.equals(ns.date)&&Ar),ns.tabindex=!si&&Rn&&ns.date.equals(Rn)&&Rn.month===Li.number?0:-1,!0===si&&(ns.context.disabled=!0),void 0!==ct&&(ns.context.selected=null!==ct&&ct.equals(ns.date)),Li.number!==ns.date.month&&(ns.hidden="hidden"===xi||"collapsed"===xi||Re>1&&ns.date.after(V[0].firstDate)&&ns.date.before(V[Re-1].lastDate))})})})}_updateState(S){const V=Object.assign({},this._state,S);let Re=V.firstDate;if(("minDate"in S||"maxDate"in S)&&(function Zd(F,oe){if(oe&&F&&oe.before(F))throw new Error(`'maxDate' ${oe} should be greater than 'minDate' ${F}`)}(V.minDate,V.maxDate),V.focusDate=Ru(V.focusDate,V.minDate,V.maxDate),V.firstDate=Ru(V.firstDate,V.minDate,V.maxDate),Re=V.focusDate),"disabled"in S&&(V.focusVisible=!1),"selectedDate"in S&&0===this._state.months.length&&(Re=V.selectedDate),"focusVisible"in S||"focusDate"in S&&(V.focusDate=Ru(V.focusDate,V.minDate,V.maxDate),Re=V.focusDate,0!==V.months.length&&V.focusDate&&!V.focusDate.before(V.firstDate)&&!V.focusDate.after(V.lastDate)))return V;if("firstDate"in S&&(V.firstDate=Ru(V.firstDate,V.minDate,V.maxDate),Re=V.firstDate),Re){const Rn=function Ot(F,oe,S,V,Re){const{displayMonths:ct,months:Rn}=S,Ar=Rn.splice(0,Rn.length);return Array.from({length:ct},(xi,Li)=>{const Es=Object.assign(F.getNext(oe,"m",Li),{day:1});if(Rn[Li]=null,!Re){const ns=Ar.findIndex(v=>v.firstDate.equals(Es));-1!==ns&&(Rn[Li]=Ar.splice(ns,1)[0])}return Es}).forEach((xi,Li)=>{null===Rn[Li]&&(Rn[Li]=function fn(F,oe,S,V,Re={}){const{dayTemplateData:ct,minDate:Rn,maxDate:Ar,firstDayOfWeek:si,markDisabled:xi,outsideDays:Li,weekdayWidth:Es,weekdaysVisible:ns}=S,v=F.getToday();Re.firstDate=null,Re.lastDate=null,Re.number=oe.month,Re.year=oe.year,Re.weeks=Re.weeks||[],Re.weekdays=Re.weekdays||[],oe=function k(F,oe,S){const V=F.getDaysPerWeek(),Re=new zo(oe.year,oe.month,1),ct=F.getWeekday(Re)%V;return F.getPrev(Re,"d",(V+ct-S)%V)}(F,oe,si),ns||(Re.weekdays.length=0);for(let R=0;R<F.getWeeksPerMonth();R++){let Z=Re.weeks[R];Z||(Z=Re.weeks[R]={number:0,days:[],collapsed:!0});const Ae=Z.days;for(let qe=0;qe<F.getDaysPerWeek();qe++){0===R&&ns&&(Re.weekdays[qe]=V.getWeekdayLabel(F.getWeekday(oe),Es));const wt=new zo(oe.year,oe.month,oe.day),gn=F.getNext(wt),$n=V.getDayAriaLabel(wt);let Sr=!!(Rn&&wt.before(Rn)||Ar&&wt.after(Ar));!Sr&&xi&&(Sr=xi(wt,{month:Re.number,year:Re.year}));let Di=wt.equals(v),jo=ct?ct(wt,{month:Re.number,year:Re.year}):void 0;null===Re.firstDate&&wt.month===Re.number&&(Re.firstDate=wt),wt.month===Re.number&&gn.month!==Re.number&&(Re.lastDate=wt);let Ns=Ae[qe];Ns||(Ns=Ae[qe]={}),Ns.date=wt,Ns.context=Object.assign(Ns.context||{},{$implicit:wt,date:wt,data:jo,currentMonth:Re.number,currentYear:Re.year,disabled:Sr,focused:!1,selected:!1,today:Di}),Ns.tabindex=-1,Ns.ariaLabel=$n,Ns.hidden=!1,oe=gn}Z.number=F.getWeekNumber(Ae.map(qe=>qe.date),si),Z.collapsed="collapsed"===Li&&Ae[0].date.month!==Re.number&&Ae[Ae.length-1].date.month!==Re.number}return Re}(F,xi,S,V,Ar.shift()||{}))}),Rn}(this._calendar,Re,V,this._i18n,"dayTemplateData"in S||"firstDayOfWeek"in S||"markDisabled"in S||"minDate"in S||"maxDate"in S||"disabled"in S||"outsideDays"in S||"weekdaysVisible"in S);V.months=Rn,V.firstDate=Rn[0].firstDate,V.lastDate=Rn[Rn.length-1].lastDate,"selectedDate"in S&&!$o(V.selectedDate,V)&&(V.selectedDate=null),"firstDate"in S&&(!V.focusDate||V.focusDate.before(V.firstDate)||V.focusDate.after(V.lastDate))&&(V.focusDate=Re);const Ar=!this._state.firstDate||this._state.firstDate.year!==V.firstDate.year,si=!this._state.firstDate||this._state.firstDate.month!==V.firstDate.month;"select"===V.navigation?(("minDate"in S||"maxDate"in S||0===V.selectBoxes.years.length||Ar)&&(V.selectBoxes.years=function Ne(F,oe,S){if(!F)return[];const V=oe?Math.max(oe.year,F.year-500):F.year-10,ct=(S?Math.min(S.year,F.year+500):F.year+10)-V+1,Rn=Array(ct);for(let Ar=0;Ar<ct;Ar++)Rn[Ar]=V+Ar;return Rn}(V.firstDate,V.minDate,V.maxDate)),("minDate"in S||"maxDate"in S||0===V.selectBoxes.months.length||Ar)&&(V.selectBoxes.months=function be(F,oe,S,V){if(!oe)return[];let Re=F.getMonths(oe.year);if(S&&oe.year===S.year){const ct=Re.findIndex(Rn=>Rn===S.month);Re=Re.slice(ct)}if(V&&oe.year===V.year){const ct=Re.findIndex(Rn=>Rn===V.month);Re=Re.slice(0,ct+1)}return Re}(this._calendar,V.firstDate,V.minDate,V.maxDate))):V.selectBoxes={years:[],months:[]},("arrows"===V.navigation||"select"===V.navigation)&&(si||Ar||"minDate"in S||"maxDate"in S||"disabled"in S)&&(V.prevDisabled=V.disabled||function Ze(F,oe,S){const V=Object.assign(F.getPrev(oe,"m"),{day:1});return null!=S&&(V.year===S.year&&V.month<S.month||V.year<S.year&&1===S.month)}(this._calendar,V.firstDate,V.minDate),V.nextDisabled=V.disabled||function ve(F,oe,S){const V=Object.assign(F.getNext(oe,"m"),{day:1});return null!=S&&V.after(S)}(this._calendar,V.lastDate,V.maxDate))}return V}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(B),r.LFG(Te))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac}),F})();var $t=(()=>{return(F=$t||($t={}))[F.PREV=0]="PREV",F[F.NEXT=1]="NEXT",$t;var F})();let pn=(()=>{class F{constructor(S){this.i18n=S}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(Te))},F.\u0275cmp=r.Xpm({type:F,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(S,V){2&S&&r.ekj("bg-primary",V.selected)("text-white",V.selected)("text-muted",V.isMuted())("outside",V.isMuted())("active",V.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},standalone:!0,features:[r.jDz],attrs:Vc,decls:1,vars:1,template:function(S,V){1&S&&r._uU(0),2&S&&r.Oqu(V.i18n.getDayNumerals(V.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView]:hover:not(.bg-primary),[ngbDatepickerDayView].active:not(.bg-primary){background-color:var(--bs-btn-bg);outline:1px solid var(--bs-border-color)}[ngbDatepickerDayView].outside{opacity:.5}\n"],encapsulation:2,changeDetection:0}),F})(),Fn=(()=>{class F{constructor(S,V){this.i18n=S,this._renderer=V,this.select=new r.vpe,this._month=-1,this._year=-1}changeMonth(S){this.select.emit(new zo(this.date.year,Ai(S),1))}changeYear(S){this.select.emit(new zo(Ai(S),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(Te),r.Y36(r.Qsj))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(S,V){if(1&S&&(r.Gf(cu,7,r.SBq),r.Gf(xs,7,r.SBq)),2&S){let Re;r.iGM(Re=r.CRH())&&(V.monthSelect=Re.first),r.iGM(Re=r.CRH())&&(V.yearSelect=Re.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},standalone:!0,features:[r.jDz],decls:6,vars:4,consts:function(){let oe,S,V,Re;return oe="Select month",S="Select month",V="Select year",Re="Select year",[["aria-label",oe,"title",S,1,"form-select",3,"disabled","change"],["month",""],[3,"value",4,"ngFor","ngForOf"],["aria-label",V,"title",Re,1,"form-select",3,"disabled","change"],["year",""],[3,"value"]]},template:function(S,V){1&S&&(r.TgZ(0,"select",0,1),r.NdJ("change",function(ct){return V.changeMonth(ct.target.value)}),r.YNc(2,Tc,2,3,"option",2),r.qZA(),r.TgZ(3,"select",3,4),r.NdJ("change",function(ct){return V.changeYear(ct.target.value)}),r.YNc(5,cc,2,2,"option",2),r.qZA()),2&S&&(r.Q6J("disabled",V.disabled),r.xp6(2),r.Q6J("ngForOf",V.months),r.xp6(1),r.Q6J("disabled",V.disabled),r.xp6(2),r.Q6J("ngForOf",V.years))},dependencies:[_r.ax],styles:["ngb-datepicker-navigation-select>.form-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.form-select:focus{z-index:1}ngb-datepicker-navigation-select>.form-select::-ms-value{background-color:transparent!important}\n"],encapsulation:2,changeDetection:0}),F})(),Zn=(()=>{class F{constructor(S){this.i18n=S,this.navigation=$t,this.months=[],this.navigate=new r.vpe,this.select=new r.vpe}onClickPrev(S){S.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(S){S.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(Te))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},standalone:!0,features:[r.jDz],decls:8,vars:4,consts:function(){let oe,S,V,Re;return oe="Previous month",S="Previous month",V="Next month",Re="Next month",[[1,"ngb-dp-arrow"],["type","button","aria-label",oe,"title",S,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-chevron"],["class","ngb-dp-navigation-select",3,"date","disabled","months","years","select",4,"ngIf"],[4,"ngIf"],[1,"ngb-dp-arrow","right"],["type","button","aria-label",V,"title",Re,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years","select"],["ngFor","",3,"ngForOf"],["class","ngb-dp-arrow",4,"ngIf"],[1,"ngb-dp-month-name"]]},template:function(S,V){1&S&&(r.TgZ(0,"div",0)(1,"button",1),r.NdJ("click",function(ct){return V.onClickPrev(ct)}),r._UZ(2,"span",2),r.qZA()(),r.YNc(3,ka,1,4,"ngb-datepicker-navigation-select",3),r.YNc(4,Mc,1,1,null,4),r.TgZ(5,"div",5)(6,"button",6),r.NdJ("click",function(ct){return V.onClickNext(ct)}),r._UZ(7,"span",2),r.qZA()()),2&S&&(r.xp6(1),r.Q6J("disabled",V.prevDisabled),r.xp6(2),r.Q6J("ngIf",V.showSelect),r.xp6(1),r.Q6J("ngIf",!V.showSelect),r.xp6(2),r.Q6J("disabled",V.nextDisabled))},dependencies:[_r.O5,_r.ax,Fn],styles:["ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow.right{justify-content:flex-end}.ngb-dp-arrow.right .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem}\n"],encapsulation:2,changeDetection:0}),F})();var or=(()=>{return(F=or||(or={}))[F.Tab=9]="Tab",F[F.Enter=13]="Enter",F[F.Escape=27]="Escape",F[F.Space=32]="Space",F[F.PageUp=33]="PageUp",F[F.PageDown=34]="PageDown",F[F.End=35]="End",F[F.Home=36]="Home",F[F.ArrowLeft=37]="ArrowLeft",F[F.ArrowUp=38]="ArrowUp",F[F.ArrowRight=39]="ArrowRight",F[F.ArrowDown=40]="ArrowDown",or;var F})();let Hr=(()=>{class F{processKey(S,V){const{state:Re,calendar:ct}=V;switch(S.which){case or.PageUp:V.focusDate(ct.getPrev(Re.focusedDate,S.shiftKey?"y":"m",1));break;case or.PageDown:V.focusDate(ct.getNext(Re.focusedDate,S.shiftKey?"y":"m",1));break;case or.End:V.focusDate(S.shiftKey?Re.maxDate:Re.lastDate);break;case or.Home:V.focusDate(S.shiftKey?Re.minDate:Re.firstDate);break;case or.ArrowLeft:V.focusDate(ct.getPrev(Re.focusedDate,"d",1));break;case or.ArrowUp:V.focusDate(ct.getPrev(Re.focusedDate,"d",ct.getDaysPerWeek()));break;case or.ArrowRight:V.focusDate(ct.getNext(Re.focusedDate,"d",1));break;case or.ArrowDown:V.focusDate(ct.getNext(Re.focusedDate,"d",ct.getDaysPerWeek()));break;case or.Enter:case or.Space:V.focusSelect();break;default:return}S.preventDefault(),S.stopPropagation()}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),Ci=(()=>{class F{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays=_r.Tn.Short}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),$i=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:function(){return function Zi(){return new Co}()},providedIn:"root"}),F})(),Co=(()=>{class F extends $i{fromModel(S){return S&&Ds(S.year)&&Ds(S.month)&&Ds(S.day)?{year:S.year,month:S.month,day:S.day}:null}toModel(S){return S&&Ds(S.year)&&Ds(S.month)&&Ds(S.day)?{year:S.year,month:S.month,day:S.day}:null}}return F.\u0275fac=function(){let oe;return function(V){return(oe||(oe=r.n5z(F)))(V||F)}}(),F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac}),F})(),Ho=(()=>{class F{constructor(S){this.templateRef=S}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["ng-template","ngbDatepickerContent",""]],standalone:!0}),F})(),co=(()=>{class F{constructor(S,V,Re,ct){this.i18n=S,this.datepicker=V,this._keyboardService=Re,this._service=ct}set month(S){this.viewModel=this._service.getMonth(S)}onKeyDown(S){this._keyboardService.processKey(S,this.datepicker)}doSelect(S){!S.context.disabled&&!S.hidden&&this.datepicker.onDateSelect(S.date)}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(Te),r.Y36((0,r.Gpc)(()=>vo)),r.Y36(Hr),r.Y36(it))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(S,V){1&S&&r.NdJ("keydown",function(ct){return V.onKeyDown(ct)})},inputs:{month:"month"},standalone:!0,features:[r.jDz],decls:2,vars:2,consts:[["class","ngb-dp-week ngb-dp-weekdays","role","row",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],["class","ngb-dp-weekday ngb-dp-showweek small",4,"ngIf"],["class","ngb-dp-weekday small","role","columnheader",4,"ngFor","ngForOf"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["class","ngb-dp-week","role","row",4,"ngIf"],["role","row",1,"ngb-dp-week"],["class","ngb-dp-week-number small text-muted",4,"ngIf"],["class","ngb-dp-day","role","gridcell",3,"disabled","tabindex","hidden","ngb-dp-today","click",4,"ngFor","ngForOf"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"tabindex","click"],[3,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,V){1&S&&(r.YNc(0,Ka,3,2,"div",0),r.YNc(1,Fc,1,1,"ng-template",1)),2&S&&(r.Q6J("ngIf",V.viewModel.weekdays.length>0),r.xp6(1),r.Q6J("ngForOf",V.viewModel.weeks))},dependencies:[_r.O5,_r.ax,_r.tP],styles:['ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:var(--bs-info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid var(--bs-border-color);border-radius:0;background-color:var(--bs-light)}.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}\n'],encapsulation:2}),F})(),vo=(()=>{class F{constructor(S,V,Re,ct,Rn,Ar,si,xi){this._service=S,this._calendar=V,this._i18n=Re,this._elementRef=Ar,this._ngbDateAdapter=si,this._ngZone=xi,this.injector=(0,r.f3M)(r.zs3),this._controlValue=null,this._destroyed$=new e.xQ,this._publicState={},this.navigate=new r.vpe,this.dateSelect=new r.vpe,this.onChange=Li=>{},this.onTouched=()=>{},["contentTemplate","dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekNumbers","startDate","weekdays"].forEach(Li=>this[Li]=ct[Li]),S.dateSelect$.pipe((0,ze.R)(this._destroyed$)).subscribe(Li=>{this.dateSelect.emit(Li)}),S.model$.pipe((0,ze.R)(this._destroyed$)).subscribe(Li=>{const Es=Li.firstDate,ns=this.model?this.model.firstDate:null;this._publicState={maxDate:Li.maxDate,minDate:Li.minDate,firstDate:Li.firstDate,lastDate:Li.lastDate,focusedDate:Li.focusDate,months:Li.months.map(qe=>qe.firstDate)};let v=!1;if(!Es.equals(ns)&&(this.navigate.emit({current:ns?{year:ns.year,month:ns.month}:null,next:{year:Es.year,month:Es.month},preventDefault:()=>v=!0}),v&&null!==ns))return void this._service.open(ns);const R=Li.selectedDate,Z=Li.focusDate,Ae=this.model?this.model.focusDate:null;this.model=Li,pu(R,this._controlValue)&&(this._controlValue=R,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(R))),pu(Z,Ae)&&Ae&&Li.focusVisible&&this.focus(),Rn.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}get i18n(){return this._i18n}focusDate(S){this._service.focus(zo.from(S))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe((0,Ct.q)(1)).subscribe(()=>{const S=this._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');S&&S.focus()})}navigateTo(S){this._service.open(zo.from(S?S.day?S:{...S,day:1}:null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const S=(0,f.R)(this._contentEl.nativeElement,"focusin"),V=(0,f.R)(this._contentEl.nativeElement,"focusout"),{nativeElement:Re}=this._elementRef;(0,et.T)(S,V).pipe((0,bt.h)(({target:ct,relatedTarget:Rn})=>!(Bc(ct,"ngb-dp-day")&&Bc(Rn,"ngb-dp-day")&&Re.contains(ct)&&Re.contains(Rn))),(0,ze.R)(this._destroyed$)).subscribe(({type:ct})=>this._ngZone.run(()=>this._service.set({focusVisible:"focusin"===ct})))})}ngOnDestroy(){this._destroyed$.next()}ngOnInit(){if(void 0===this.model){const S={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(V=>S[V]=this[V]),this._service.set(S),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(S){const V={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(Re=>Re in S).forEach(Re=>V[Re]=this[Re]),this._service.set(V),"startDate"in S){const{currentValue:Re,previousValue:ct}=S.startDate;cp(ct,Re)&&this.navigateTo(this.startDate)}}onDateSelect(S){this._service.focus(S),this._service.select(S,{emitEvent:!0})}onNavigateDateSelect(S){this._service.open(S)}onNavigateEvent(S){switch(S){case $t.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case $t.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}registerOnChange(S){this.onChange=S}registerOnTouched(S){this.onTouched=S}setDisabledState(S){this._service.set({disabled:S})}writeValue(S){this._controlValue=zo.from(this._ngbDateAdapter.fromModel(S)),this._service.select(this._controlValue)}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(it),r.Y36(B),r.Y36(Te),r.Y36(Ci),r.Y36(r.sBO),r.Y36(r.SBq),r.Y36($i),r.Y36(r.R0b))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-datepicker"]],contentQueries:function(S,V,Re){if(1&S&&r.Suo(Re,Ho,7),2&S){let ct;r.iGM(ct=r.CRH())&&(V.contentTemplateFromContent=ct.first)}},viewQuery:function(S,V){if(1&S&&(r.Gf(ba,7),r.Gf(Xa,7)),2&S){let Re;r.iGM(Re=r.CRH())&&(V._defaultDayTemplate=Re.first),r.iGM(Re=r.CRH())&&(V._contentEl=Re.first)}},hostVars:2,hostBindings:function(S,V){2&S&&r.ekj("disabled",V.model.disabled)},inputs:{contentTemplate:"contentTemplate",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],standalone:!0,features:[r._Bn([{provide:oi.JU,useExisting:(0,r.Gpc)(()=>F),multi:!0},it]),r.TTD,r.jDz],decls:10,vars:9,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select",4,"ngIf"],[1,"ngb-dp-content"],["content",""],[3,"ngTemplateOutlet","ngTemplateOutletContext","ngTemplateOutletInjector"],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],["class","ngb-dp-month",4,"ngFor","ngForOf"],[1,"ngb-dp-month"],["class","ngb-dp-month-name",4,"ngIf"],[3,"month"],[1,"ngb-dp-month-name"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select"]],template:function(S,V){if(1&S&&(r.YNc(0,Oc,1,5,"ng-template",null,0,r.W1O),r.YNc(2,yl,1,1,"ng-template",null,1,r.W1O),r.TgZ(4,"div",2),r.YNc(5,Dc,1,7,"ngb-datepicker-navigation",3),r.qZA(),r.TgZ(6,"div",4,5),r.YNc(8,Zs,0,0,"ng-template",6),r.qZA(),r.YNc(9,Au,0,0,"ng-template",7)),2&S){const Re=r.MAs(3);r.xp6(5),r.Q6J("ngIf","none"!==V.navigation),r.xp6(1),r.ekj("ngb-dp-months",!V.contentTemplate),r.xp6(2),r.Q6J("ngTemplateOutlet",V.contentTemplate||(null==V.contentTemplateFromContent?null:V.contentTemplateFromContent.templateRef)||Re)("ngTemplateOutletContext",r.VKq(7,St,V))("ngTemplateOutletInjector",V.injector),r.xp6(1),r.Q6J("ngTemplateOutlet",V.footerTemplate)}},dependencies:[_r.O5,_r.ax,_r.tP,pn,co,Zn],styles:["ngb-datepicker{border:1px solid var(--bs-border-color);border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}ngb-datepicker.disabled .ngb-dp-weekday,ngb-datepicker.disabled .ngb-dp-week-number,ngb-datepicker.disabled .ngb-dp-month-name{color:var(--bs-text-muted)}.ngb-dp-body{z-index:1055}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:var(--bs-light)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:var(--bs-light)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}\n"],encapsulation:2,changeDetection:0}),F})();const ms=(F,oe)=>!!oe&&oe.some(S=>S.contains(F)),ds=(F,oe)=>!oe||null!=function _e(F,oe){return!oe||typeof F.closest>"u"?null:F.closest(oe)}(F,oe),Ts=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent)),el=F=>Ts?()=>setTimeout(()=>F(),100):F;function ga(F,oe,S,V,Re,ct,Rn,Ar){S&&F.runOutsideAngular(el(()=>{const xi=(0,f.R)(oe,"keydown").pipe((0,ze.R)(Re),(0,bt.h)(ns=>ns.which===or.Escape),(0,bn.b)(ns=>ns.preventDefault())),Li=(0,f.R)(oe,"mousedown").pipe((0,Qt.U)(ns=>{const v=ns.target;return 2!==ns.button&&!ms(v,Rn)&&("inside"===S?ms(v,ct)&&ds(v,Ar):"outside"===S?!ms(v,ct):ds(v,Ar)||!ms(v,ct))}),(0,ze.R)(Re)),Es=(0,f.R)(oe,"mouseup").pipe(Dn(Li),(0,bt.h)(([ns,v])=>v),(0,un.g)(0),(0,ze.R)(Re));$([xi.pipe((0,Qt.U)(ns=>0)),Es.pipe((0,Qt.U)(ns=>1))]).subscribe(ns=>F.run(()=>V(ns)))}))}const va=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function vc(F){const oe=Array.from(F.querySelectorAll(va)).filter(S=>-1!==S.tabIndex);return[oe[0],oe[oe.length-1]]}const Gu=(F,oe,S,V=!1)=>{F.runOutsideAngular(()=>{const Re=(0,f.R)(oe,"focusin").pipe((0,ze.R)(S),(0,Qt.U)(ct=>ct.target));(0,f.R)(oe,"keydown").pipe((0,ze.R)(S),(0,bt.h)(ct=>ct.which===or.Tab),Dn(Re)).subscribe(([ct,Rn])=>{const[Ar,si]=vc(oe);(Rn===Ar||Rn===oe)&&ct.shiftKey&&(si.focus(),ct.preventDefault()),Rn===si&&!ct.shiftKey&&(Ar.focus(),ct.preventDefault())}),V&&(0,f.R)(oe,"click").pipe((0,ze.R)(S),Dn(Re),(0,Qt.U)(ct=>ct[1])).subscribe(ct=>ct.focus())})};let wl=(()=>{class F{constructor(S){this._element=S.documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(_r.K0))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();const Yc=/\s+/,Nl=/ +/gi,_u={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},rd=/^left/,pd=/^right/,Pu=/^start/,Ku=/^end/;function af({placement:F,baseClass:oe},S){let V=Array.isArray(F)?F:F.split(Yc),ct=V.findIndex(xi=>"auto"===xi);ct>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(xi){null==V.find(Li=>-1!==Li.search("^"+xi))&&V.splice(ct++,1,xi)});const Rn=V.map(xi=>function jc(F,oe){const[S,V]=_u[F];return oe&&V||S}(xi,S.isRTL()));return{placement:Rn.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!oe,phase:"write",fn({state:xi}){const Li=new RegExp(oe+"(-[a-z]+)*","gi"),Es=xi.elements.popper,ns=xi.placement;let v=Es.className;v=v.replace(Li,""),v+=` ${function Td(F,oe){let[S,V]=oe.split("-");const Re=S.replace(rd,"start").replace(pd,"end");let ct=[Re];if(V){let Rn=V;("left"===S||"right"===S)&&(Rn=Rn.replace(Pu,"top").replace(Ku,"bottom")),ct.push(`${Re}-${Rn}`)}return F&&(ct=ct.map(Rn=>`${F}-${Rn}`)),ct.join(" ")}(oe,ns)}`,v=v.trim().replace(Nl," "),Es.className=v}},Ss,Ys,Ql,{enabled:!0,name:"flip",options:{fallbackPlacements:Rn}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function xc(F){return F}function up(){const F=(0,r.f3M)(wl);let oe=null;return{createPopper(S){if(!oe){let Re=(S.updatePopperOptions||xc)(af(S,F));oe=js(S.hostElement,S.targetElement,Re)}},update(){oe&&oe.update()},setOptions(S){if(oe){let Re=(S.updatePopperOptions||xc)(af(S,F));oe.setOptions(Re)}},destroy(){oe&&(oe.destroy(),oe=null)}}}let bd=(()=>{class F extends Ci{constructor(){super(...arguments),this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=S=>S,this.restoreFocus=!0}}return F.\u0275fac=function(){let oe;return function(V){return(oe||(oe=r.n5z(F)))(V||F)}}(),F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();function Ld(F){return oe=>(oe.modifiers.push(ta,{name:"offset",options:{offset:()=>F}}),oe)}let Gf=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:function(){return function Xu(){return new Kl}()},providedIn:"root"}),F})(),Kl=(()=>{class F extends Gf{parse(S){if(null!=S){const V=S.trim().split("-");if(1===V.length&&ks(V[0]))return{year:Ai(V[0]),month:null,day:null};if(2===V.length&&ks(V[0])&&ks(V[1]))return{year:Ai(V[0]),month:Ai(V[1]),day:null};if(3===V.length&&ks(V[0])&&ks(V[1])&&ks(V[2]))return{year:Ai(V[0]),month:Ai(V[1]),day:Ai(V[2])}}return null}format(S){return S?`${S.year}-${ks(S.month)?Ea(S.month):""}-${ks(S.day)?Ea(S.day):""}`:""}}return F.\u0275fac=function(){let oe;return function(V){return(oe||(oe=r.n5z(F)))(V||F)}}(),F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac}),F})(),ne=(()=>{class F{constructor(S,V,Re,ct,Rn,Ar,si,xi,Li,Es){this._parserFormatter=S,this._elRef=V,this._vcRef=Re,this._renderer=ct,this._ngZone=Rn,this._calendar=Ar,this._dateAdapter=si,this._document=xi,this._changeDetector=Li,this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this._destroyCloseHandlers$=new e.xQ,this.dateSelect=new r.vpe,this.navigate=new r.vpe,this.closed=new r.vpe,this._onChange=ns=>{},this._onTouched=()=>{},this._validatorChange=()=>{},["autoClose","container","positionTarget","placement","popperOptions"].forEach(ns=>this[ns]=Es[ns]),this._positioning=up()}get disabled(){return this._disabled}set disabled(S){this._disabled=""===S||S&&"false"!==S,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}registerOnChange(S){this._onChange=S}registerOnTouched(S){this._onTouched=S}registerOnValidatorChange(S){this._validatorChange=S}setDisabledState(S){this.disabled=S}validate(S){const{value:V}=S;if(null!=V){const Re=this._fromDateStruct(this._dateAdapter.fromModel(V));if(!Re)return{ngbDate:{invalid:V}};if(this.minDate&&Re.before(zo.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:V}}};if(this.maxDate&&Re.after(zo.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:V}}}}return null}writeValue(S){this._model=this._fromDateStruct(this._dateAdapter.fromModel(S)),this._writeModelValue(this._model)}manualDateChange(S,V=!1){const Re=S!==this._inputValue;Re&&(this._inputValue=S,this._model=this._fromDateStruct(this._parserFormatter.parse(S))),(Re||!V)&&this._onChange(this._model?this._dateAdapter.toModel(this._model):""===S?null:S),V&&this._model&&this._writeModelValue(this._model)}isOpen(){return!!this._cRef}open(){if(!this.isOpen()){let S;if(this._cRef=this._vcRef.createComponent(vo),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(V=>{this.writeValue(V),this._onChange(V),this._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,Gu(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),setTimeout(()=>this._cRef?.instance.focus()),S=oa(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?this.positionTarget:this._elRef.nativeElement,this._ngZone.runOutsideAngular(()=>{this._cRef&&(this._positioning.createPopper({hostElement:S,targetElement:this._cRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:V=>this.popperOptions(Ld([0,2])(V))}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),this.positionTarget&&!S)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");this._setCloseHandlers()}}close(){if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.closed.emit(),this._changeDetector.markForCheck();let S=this._elWithFocus;oa(this.restoreFocus)?S=this._document.querySelector(this.restoreFocus):void 0!==this.restoreFocus&&(S=this.restoreFocus),S&&S.focus?S.focus():this._document.body.focus()}}toggle(){this.isOpen()?this.close():this.open()}navigateTo(S){this.isOpen()&&this._cRef.instance.navigateTo(S)}onBlur(){this._onTouched()}onFocus(){this._elWithFocus=this._elRef.nativeElement}ngOnChanges(S){if((S.minDate||S.maxDate)&&(this._validatorChange(),this.isOpen()&&(S.minDate&&(this._cRef.instance.minDate=this.minDate),S.maxDate&&(this._cRef.instance.maxDate=this.maxDate),this._cRef.instance.ngOnChanges(S))),S.datepickerClass){const{currentValue:V,previousValue:Re}=S.datepickerClass;this._applyPopupClass(V,Re)}S.autoClose&&this.isOpen()&&this._setCloseHandlers()}ngOnDestroy(){this.close()}_applyDatepickerInputs(S){["contentTemplate","dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekNumbers","weekdays"].forEach(V=>{void 0!==this[V]&&S.setInput(V,this[V])}),S.setInput("startDate",this.startDate||this._model)}_applyPopupClass(S,V){const Re=this._cRef?.location.nativeElement;Re&&(S&&this._renderer.addClass(Re,S),V&&this._renderer.removeClass(Re,V))}_applyPopupStyling(S){this._renderer.addClass(S,"dropdown-menu"),this._renderer.addClass(S,"show"),"body"===this.container&&this._renderer.addClass(S,"ngb-dp-body"),this._applyPopupClass(this.datepickerClass)}_subscribeForDatepickerOutputs(S){S.navigate.subscribe(V=>this.navigate.emit(V)),S.dateSelect.subscribe(V=>{this.dateSelect.emit(V),(!0===this.autoClose||"inside"===this.autoClose)&&this.close()})}_writeModelValue(S){const V=this._parserFormatter.format(S);this._inputValue=V,this._renderer.setProperty(this._elRef.nativeElement,"value",V),this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(S)),this._onTouched())}_fromDateStruct(S){const V=S?new zo(S.year,S.month,S.day):null;return this._calendar.isValid(V)?V:null}_setCloseHandlers(){this._destroyCloseHandlers$.next(),ga(this._ngZone,this._document,this.autoClose,()=>this.close(),this._destroyCloseHandlers$,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(Gf),r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(r.Qsj),r.Y36(r.R0b),r.Y36(B),r.Y36($i),r.Y36(_r.K0),r.Y36(r.sBO),r.Y36(bd))},F.\u0275dir=r.lG2({type:F,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(S,V){1&S&&r.NdJ("input",function(ct){return V.manualDateChange(ct.target.value)})("change",function(ct){return V.manualDateChange(ct.target.value,!0)})("focus",function(){return V.onFocus()})("blur",function(){return V.onBlur()}),2&S&&r.Ikx("disabled",V.disabled)},inputs:{autoClose:"autoClose",contentTemplate:"contentTemplate",datepickerClass:"datepickerClass",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",popperOptions:"popperOptions",restoreFocus:"restoreFocus",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget",weekdays:"weekdays",disabled:"disabled"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],standalone:!0,features:[r._Bn([{provide:oi.JU,useExisting:(0,r.Gpc)(()=>F),multi:!0},{provide:oi.Cf,useExisting:(0,r.Gpc)(()=>F),multi:!0},{provide:Ci,useExisting:bd}]),r.TTD]}),F})();new Date(1882,10,12),new Date(2174,10,25);let zf=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({imports:[vo,co]}),F})(),Vp=(()=>{class F{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=S=>S}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),m_=(()=>{class F{constructor(S,V){this.elementRef=S,this._renderer=V,this._disabled=!1}set disabled(S){this._disabled=""===S||!0===S,this._renderer.setProperty(this.elementRef.nativeElement,"disabled",this._disabled)}get disabled(){return this._disabled}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.SBq),r.Y36(r.Qsj))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(S,V){2&S&&(r.Ikx("tabIndex",V.disabled?-1:0),r.ekj("disabled",V.disabled))},inputs:{disabled:"disabled"},standalone:!0}),F})(),g_=(()=>{class F{constructor(S,V){this.dropdown=S,this.placement="bottom",this.isOpen=!1,this.nativeElement=V.nativeElement}}return F.\u0275fac=function(S){return new(S||F)(r.Y36((0,r.Gpc)(()=>hd)),r.Y36(r.SBq))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(S,V,Re){if(1&S&&r.Suo(Re,m_,4),2&S){let ct;r.iGM(ct=r.CRH())&&(V.menuItems=ct)}},hostVars:4,hostBindings:function(S,V){1&S&&r.NdJ("keydown.ArrowUp",function(ct){return V.dropdown.onKeyDown(ct)})("keydown.ArrowDown",function(ct){return V.dropdown.onKeyDown(ct)})("keydown.Home",function(ct){return V.dropdown.onKeyDown(ct)})("keydown.End",function(ct){return V.dropdown.onKeyDown(ct)})("keydown.Enter",function(ct){return V.dropdown.onKeyDown(ct)})("keydown.Space",function(ct){return V.dropdown.onKeyDown(ct)})("keydown.Tab",function(ct){return V.dropdown.onKeyDown(ct)})("keydown.Shift.Tab",function(ct){return V.dropdown.onKeyDown(ct)}),2&S&&r.ekj("dropdown-menu",!0)("show",V.dropdown.isOpen())},standalone:!0}),F})(),yf=(()=>{class F{constructor(S,V){this.dropdown=S,this.nativeElement=V.nativeElement}}return F.\u0275fac=function(S){return new(S||F)(r.Y36((0,r.Gpc)(()=>hd)),r.Y36(r.SBq))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(S,V){2&S&&r.uIk("aria-expanded",V.dropdown.isOpen())},standalone:!0}),F})(),yc=(()=>{class F extends yf{constructor(S,V){super(S,V)}}return F.\u0275fac=function(S){return new(S||F)(r.Y36((0,r.Gpc)(()=>hd)),r.Y36(r.SBq))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(S,V){1&S&&r.NdJ("click",function(){return V.dropdown.toggle()})("keydown.ArrowUp",function(ct){return V.dropdown.onKeyDown(ct)})("keydown.ArrowDown",function(ct){return V.dropdown.onKeyDown(ct)})("keydown.Home",function(ct){return V.dropdown.onKeyDown(ct)})("keydown.End",function(ct){return V.dropdown.onKeyDown(ct)})("keydown.Tab",function(ct){return V.dropdown.onKeyDown(ct)})("keydown.Shift.Tab",function(ct){return V.dropdown.onKeyDown(ct)}),2&S&&r.uIk("aria-expanded",V.dropdown.isOpen())},standalone:!0,features:[r._Bn([{provide:yf,useExisting:(0,r.Gpc)(()=>F)}]),r.qOj]}),F})(),hd=(()=>{class F{constructor(S,V,Re,ct,Rn,Ar){this._changeDetector=S,this._document=Re,this._ngZone=ct,this._elementRef=Rn,this._renderer=Ar,this._destroyCloseHandlers$=new e.xQ,this._bodyContainer=null,this._open=!1,this.openChange=new r.vpe,this.placement=V.placement,this.popperOptions=V.popperOptions,this.container=V.container,this.autoClose=V.autoClose,this._positioning=up(),this.display=this._elementRef.nativeElement.closest(".navbar")?"static":"dynamic"}ngAfterContentInit(){this._ngZone.onStable.pipe((0,Ct.q)(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(S){if(S.container&&this._open&&this._applyContainer(this.container),S.placement&&!S.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container}),this._applyPlacementClasses()),S.dropdownClass){const{currentValue:V,previousValue:Re}=S.dropdownClass;this._applyCustomDropdownClass(V,Re)}S.autoClose&&this._open&&(this.autoClose=S.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),"dynamic"===this.display&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:S=>this.popperOptions(Ld([0,2])(S))}),this._applyPlacementClasses(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positionMenu())})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),ga(this._ngZone,this._document,this.autoClose,S=>{this.close(),0===S&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(S){const V=S.which,Re=this._getMenuElements();let ct=-1,Rn=null;const Ar=this._isEventFromToggle(S);if(!Ar&&Re.length&&Re.forEach((si,xi)=>{si.contains(S.target)&&(Rn=si),si===this._document.activeElement&&(ct=xi)}),V!==or.Space&&V!==or.Enter){if(V!==or.Tab){if(Ar||Rn){if(this.open(),Re.length){switch(V){case or.ArrowDown:ct=Math.min(ct+1,Re.length-1);break;case or.ArrowUp:if(this._isDropup()&&-1===ct){ct=Re.length-1;break}ct=Math.max(ct-1,0);break;case or.Home:ct=0;break;case or.End:ct=Re.length-1}Re[ct].focus()}S.preventDefault()}}else if(S.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===S.target)return void("body"!==this.container||S.shiftKey?S.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){const si=this._menu.nativeElement.querySelectorAll(va);S.shiftKey&&S.target===si[0]?(this._anchor.nativeElement.focus(),S.preventDefault()):!S.shiftKey&&S.target===si[si.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else(0,f.R)(S.target,"focusout").pipe((0,Ct.q)(1)).subscribe(({relatedTarget:si})=>{this._elementRef.nativeElement.contains(si)||this.close()})}}else Rn&&(!0===this.autoClose||"inside"===this.autoClose)&&(0,f.R)(Rn,"click").pipe((0,Ct.q)(1)).subscribe(()=>this.close())}_isDropup(){return this._elementRef.nativeElement.classList.contains("dropup")}_isEventFromToggle(S){return this._anchor.nativeElement.contains(S.target)}_getMenuElements(){const S=this._menu;return null==S?[]:S.menuItems.filter(V=>!V.disabled).map(V=>V.elementRef.nativeElement)}_positionMenu(){const S=this._menu;this.isOpen()&&S&&("dynamic"===this.display?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(S){return Array.isArray(S)?S[0]:S.split(" ")[0]}_resetContainer(){const S=this._renderer;this._menu&&S.appendChild(this._elementRef.nativeElement,this._menu.nativeElement),this._bodyContainer&&(S.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}_applyContainer(S=null){if(this._resetContainer(),"body"===S){const V=this._renderer,Re=this._menu.nativeElement,ct=this._bodyContainer=this._bodyContainer||V.createElement("div");V.setStyle(ct,"position","absolute"),V.setStyle(Re,"position","static"),V.setStyle(ct,"z-index","1055"),V.appendChild(ct,Re),V.appendChild(this._document.body,ct)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(S,V){const Re="body"===this.container?this._bodyContainer:this._elementRef.nativeElement;Re&&(V&&this._renderer.removeClass(Re,V),S&&this._renderer.addClass(Re,S))}_applyPlacementClasses(S){const V=this._menu;if(V){S||(S=this._getFirstPlacement(this.placement));const Re=this._renderer,ct=this._elementRef.nativeElement;Re.removeClass(ct,"dropup"),Re.removeClass(ct,"dropdown");const{nativeElement:Rn}=V;"static"===this.display?(V.placement=null,Re.setAttribute(Rn,"data-bs-popper","static")):(V.placement=S,Re.removeAttribute(Rn,"data-bs-popper"));const Ar=-1!==S.search("^top")?"dropup":"dropdown";Re.addClass(ct,Ar);const si=this._bodyContainer;si&&(Re.removeClass(si,"dropup"),Re.removeClass(si,"dropdown"),Re.addClass(si,Ar))}}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.sBO),r.Y36(Vp),r.Y36(_r.K0),r.Y36(r.R0b),r.Y36(r.SBq),r.Y36(r.Qsj))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbDropdown",""]],contentQueries:function(S,V,Re){if(1&S&&(r.Suo(Re,g_,5),r.Suo(Re,yf,5)),2&S){let ct;r.iGM(ct=r.CRH())&&(V._menu=ct.first),r.iGM(ct=r.CRH())&&(V._anchor=ct.first)}},hostVars:2,hostBindings:function(S,V){2&S&&r.ekj("show",V.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:["open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],standalone:!0,features:[r.TTD]}),F})(),mh=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({}),F})();class Od{constructor(oe,S,V){this.nodes=oe,this.viewRef=S,this.componentRef=V}}class Vf{constructor(oe,S,V,Re,ct,Rn){this._componentType=oe,this._injector=S,this._viewContainerRef=V,this._renderer=Re,this._ngZone=ct,this._applicationRef=Rn,this._windowRef=null,this._contentRef=null}open(oe,S,V=!1){this._windowRef||(this._contentRef=this._getContentRef(oe,S),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:Re}=this._windowRef.location,ct=this._ngZone.onStable.pipe((0,Ct.q)(1),(0,_n.zg)(()=>cr(this._ngZone,Re,({classList:Rn})=>Rn.add("show"),{animation:V,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:ct}}close(oe=!1){return this._windowRef?cr(this._ngZone,this._windowRef.location.nativeElement,({classList:S})=>S.remove("show"),{animation:oe,runningTransition:"stop"}).pipe((0,bn.b)(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,c.of)(void 0)}_getContentRef(oe,S){if(oe){if(oe instanceof r.Rgc){const V=oe.createEmbeddedView(S);return this._applicationRef.attachView(V),new Od([V.rootNodes],V)}return new Od([[this._renderer.createText(`${oe}`)]])}return new Od([])}}let Yh=(()=>{class F{constructor(S,V){this._el=S,this._zone=V}ngOnInit(){this._zone.onStable.asObservable().pipe((0,Ct.q)(1)).subscribe(()=>{cr(this._zone,this._el.nativeElement,(S,V)=>{V&&de(S),S.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return cr(this._zone,this._el.nativeElement,({classList:S})=>S.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.SBq),r.Y36(r.R0b))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(S,V){2&S&&(r.Tol("modal-backdrop"+(V.backdropClass?" "+V.backdropClass:"")),r.ekj("show",!V.animation)("fade",V.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[r.jDz],decls:0,vars:0,template:function(S,V){},encapsulation:2}),F})();class Wd{update(oe){}close(oe){}dismiss(oe){}}const L_=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],v_=["animation","backdropClass"];class jh{constructor(oe,S,V,Re){this._windowCmptRef=oe,this._contentRef=S,this._backdropCmptRef=V,this._beforeDismiss=Re,this._closed=new e.xQ,this._dismissed=new e.xQ,this._hidden=new e.xQ,oe.instance.dismissEvent.subscribe(ct=>{this.dismiss(ct)}),this.result=new Promise((ct,Rn)=>{this._resolve=ct,this._reject=Rn}),this.result.then(null,()=>{})}_applyWindowOptions(oe,S){L_.forEach(V=>{Bl(S[V])&&(oe[V]=S[V])})}_applyBackdropOptions(oe,S){v_.forEach(V=>{Bl(S[V])&&(oe[V]=S[V])})}update(oe){this._applyWindowOptions(this._windowCmptRef.instance,oe),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,oe)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,ze.R)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,ze.R)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(oe){this._windowCmptRef&&(this._closed.next(oe),this._resolve(oe),this._removeModalElements())}_dismiss(oe){this._dismissed.next(oe),this._reject(oe),this._removeModalElements()}dismiss(oe){if(this._windowCmptRef)if(this._beforeDismiss){const S=this._beforeDismiss();!function ja(F){return F&&F.then}(S)?!1!==S&&this._dismiss(oe):S.then(V=>{!1!==V&&this._dismiss(oe)},()=>{})}else this._dismiss(oe)}_removeModalElements(){const oe=this._windowCmptRef.instance.hide(),S=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,c.of)(void 0);oe.subscribe(()=>{const{nativeElement:V}=this._windowCmptRef.location;V.parentNode.removeChild(V),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),S.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:V}=this._backdropCmptRef.location;V.parentNode.removeChild(V),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),ie(oe,S).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var gp=(()=>{return(F=gp||(gp={}))[F.BACKDROP_CLICK=0]="BACKDROP_CLICK",F[F.ESC=1]="ESC",gp;var F})();let Wp=(()=>{class F{constructor(S,V,Re){this._document=S,this._elRef=V,this._zone=Re,this._closed$=new e.xQ,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new r.vpe,this.shown=new e.xQ,this.hidden=new e.xQ}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":oa(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(S){this.dismissEvent.emit(S)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,Ct.q)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:S}=this._elRef,V={animation:this.animation,runningTransition:"stop"},Rn=ie(cr(this._zone,S,()=>S.classList.remove("show"),V),cr(this._zone,this._dialogEl.nativeElement,()=>{},V));return Rn.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),Rn}_show(){const S={animation:this.animation,runningTransition:"continue"};ie(cr(this._zone,this._elRef.nativeElement,(ct,Rn)=>{Rn&&de(ct),ct.classList.add("show")},S),cr(this._zone,this._dialogEl.nativeElement,()=>{},S)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:S}=this._elRef;this._zone.runOutsideAngular(()=>{(0,f.R)(S,"keydown").pipe((0,ze.R)(this._closed$),(0,bt.h)(Re=>Re.which===or.Escape)).subscribe(Re=>{this.keyboard?requestAnimationFrame(()=>{Re.defaultPrevented||this._zone.run(()=>this.dismiss(gp.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let V=!1;(0,f.R)(this._dialogEl.nativeElement,"mousedown").pipe((0,ze.R)(this._closed$),(0,bn.b)(()=>V=!1),(0,nn.w)(()=>(0,f.R)(S,"mouseup").pipe((0,ze.R)(this._closed$),(0,Ct.q)(1))),(0,bt.h)(({target:Re})=>S===Re)).subscribe(()=>{V=!0}),(0,f.R)(S,"click").pipe((0,ze.R)(this._closed$)).subscribe(({target:Re})=>{S===Re&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!V&&this._zone.run(()=>this.dismiss(gp.BACKDROP_CLICK))),V=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:S}=this._elRef;if(!S.contains(document.activeElement)){const V=S.querySelector("[ngbAutofocus]"),Re=vc(S)[0];(V||Re||S).focus()}}_restoreFocus(){const S=this._document.body,V=this._elWithFocus;let Re;Re=V&&V.focus&&S.contains(V)?V:S,this._zone.runOutsideAngular(()=>{setTimeout(()=>Re.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&cr(this._zone,this._elRef.nativeElement,({classList:S})=>(S.add("modal-static"),()=>S.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(_r.K0),r.Y36(r.SBq),r.Y36(r.R0b))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-modal-window"]],viewQuery:function(S,V){if(1&S&&r.Gf(ut,7),2&S){let Re;r.iGM(Re=r.CRH())&&(V._dialogEl=Re.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(S,V){2&S&&(r.uIk("aria-modal",!0)("aria-labelledby",V.ariaLabelledBy)("aria-describedby",V.ariaDescribedBy),r.Tol("modal d-block"+(V.windowClass?" "+V.windowClass:"")),r.ekj("fade",V.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[r.jDz],ngContentSelectors:ec,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(S,V){1&S&&(r.F$t(),r.TgZ(0,"div",0,1)(2,"div",2),r.Hsn(3),r.qZA()()),2&S&&r.Tol("modal-dialog"+(V.size?" modal-"+V.size:"")+(V.centered?" modal-dialog-centered":"")+V.fullscreenClass+(V.scrollable?" modal-dialog-scrollable":"")+(V.modalDialogClass?" "+V.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2}),F})(),k_=(()=>{class F{constructor(S){this._document=S}hide(){const S=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),V=this._document.body,Re=V.style,{overflow:ct,paddingRight:Rn}=Re;if(S>0){const Ar=parseFloat(window.getComputedStyle(V).paddingRight);Re.paddingRight=`${Ar+S}px`}return Re.overflow="hidden",()=>{S>0&&(Re.paddingRight=Rn),Re.overflow=ct}}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(_r.K0))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),Jp=(()=>{class F{constructor(S,V,Re,ct,Rn,Ar,si){this._applicationRef=S,this._injector=V,this._environmentInjector=Re,this._document=ct,this._scrollBar=Rn,this._rendererFactory=Ar,this._ngZone=si,this._activeWindowCmptHasChanged=new e.xQ,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new r.vpe,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const xi=this._windowCmpts[this._windowCmpts.length-1];Gu(this._ngZone,xi.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(xi.location.nativeElement)}})}_restoreScrollBar(){const S=this._scrollBarRestoreFn;S&&(this._scrollBarRestoreFn=null,S())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(S,V,Re){const ct=Re.container instanceof HTMLElement?Re.container:Bl(Re.container)?this._document.querySelector(Re.container):this._document.body,Rn=this._rendererFactory.createRenderer(null,null);if(!ct)throw new Error(`The specified modal container "${Re.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const Ar=new Wd,si=(S=Re.injector||S).get(r.lqb,null)||this._environmentInjector,xi=this._getContentRef(S,si,V,Ar,Re);let Li=!1!==Re.backdrop?this._attachBackdrop(ct):void 0,Es=this._attachWindowComponent(ct,xi.nodes),ns=new jh(Es,xi,Li,Re.beforeDismiss);return this._registerModalRef(ns),this._registerWindowCmpt(Es),ns.hidden.pipe((0,Ct.q)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(Rn.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),Ar.close=v=>{ns.close(v)},Ar.dismiss=v=>{ns.dismiss(v)},Ar.update=v=>{ns.update(v)},ns.update(Re),1===this._modalRefs.length&&Rn.addClass(this._document.body,"modal-open"),Li&&Li.instance&&Li.changeDetectorRef.detectChanges(),Es.changeDetectorRef.detectChanges(),ns}get activeInstances(){return this._activeInstances}dismissAll(S){this._modalRefs.forEach(V=>V.dismiss(S))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(S){let V=(0,r.LMc)(Yh,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(V.hostView),S.appendChild(V.location.nativeElement),V}_attachWindowComponent(S,V){let Re=(0,r.LMc)(Wp,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:V});return this._applicationRef.attachView(Re.hostView),S.appendChild(Re.location.nativeElement),Re}_getContentRef(S,V,Re,ct,Rn){return Re?Re instanceof r.Rgc?this._createFromTemplateRef(Re,ct):oa(Re)?this._createFromString(Re):this._createFromComponent(S,V,Re,ct,Rn):new Od([])}_createFromTemplateRef(S,V){const ct=S.createEmbeddedView({$implicit:V,close(Rn){V.close(Rn)},dismiss(Rn){V.dismiss(Rn)}});return this._applicationRef.attachView(ct),new Od([ct.rootNodes],ct)}_createFromString(S){const V=this._document.createTextNode(`${S}`);return new Od([[V]])}_createFromComponent(S,V,Re,ct,Rn){const Ar=r.zs3.create({providers:[{provide:Wd,useValue:ct}],parent:S}),si=(0,r.LMc)(Re,{environmentInjector:V,elementInjector:Ar}),xi=si.location.nativeElement;return Rn.scrollable&&xi.classList.add("component-host-scrollable"),this._applicationRef.attachView(si.hostView),new Od([[xi]],si.hostView,si)}_setAriaHidden(S){const V=S.parentElement;V&&S!==this._document.body&&(Array.from(V.children).forEach(Re=>{Re!==S&&"SCRIPT"!==Re.nodeName&&(this._ariaHiddenValues.set(Re,Re.getAttribute("aria-hidden")),Re.setAttribute("aria-hidden","true"))}),this._setAriaHidden(V))}_revertAriaHidden(){this._ariaHiddenValues.forEach((S,V)=>{S?V.setAttribute("aria-hidden",S):V.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(S){const V=()=>{const Re=this._modalRefs.indexOf(S);Re>-1&&(this._modalRefs.splice(Re,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(S),this._activeInstances.emit(this._modalRefs),S.result.then(V,V)}_registerWindowCmpt(S){this._windowCmpts.push(S),this._activeWindowCmptHasChanged.next(),S.onDestroy(()=>{const V=this._windowCmpts.indexOf(S);V>-1&&(this._windowCmpts.splice(V,1),this._activeWindowCmptHasChanged.next())})}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(r.z2F),r.LFG(r.zs3),r.LFG(r.lqb),r.LFG(_r.K0),r.LFG(k_),r.LFG(r.FYo),r.LFG(r.R0b))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),$_=(()=>{class F{constructor(S){this._ngbConfig=S,this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(Wo))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),y_=(()=>{class F{constructor(S,V,Re){this._injector=S,this._modalStack=V,this._config=Re}open(S,V={}){const Re={...this._config,animation:this._config.animation,...V};return this._modalStack.open(this._injector,S,Re)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(S){this._modalStack.dismissAll(S)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(r.zs3),r.LFG(Jp),r.LFG($_))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),Hd=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({providers:[y_]}),F})(),H_=(()=>{class F{constructor(S){this._ngbConfig=S,this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(Wo))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();const E_=F=>Bl(F)&&""!==F;let pm=0,S_=(()=>{class F{constructor(S){this.templateRef=S}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["ng-template","ngbNavContent",""]],standalone:!0}),F})(),Zh=(()=>{class F{constructor(S,V){this.role=S,this.nav=V}}return F.\u0275fac=function(S){return new(S||F)(r.$8M("role"),r.Y36((0,r.Gpc)(()=>Ad)))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbNavItem","",5,"ng-container"]],hostVars:1,hostBindings:function(S,V){2&S&&r.uIk("role",V.role?V.role:V.nav.roles?"presentation":void 0)},standalone:!0}),F})(),Qp=(()=>{class F{constructor(S,V){this._nav=S,this.elementRef=V,this.disabled=!1,this.shown=new r.vpe,this.hidden=new r.vpe}ngAfterContentChecked(){this.contentTpl=this.contentTpls.first}ngOnInit(){Bl(this.domId)||(this.domId="ngb-nav-"+pm++)}get active(){return this._nav.activeId===this.id}get id(){return E_(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return(Bl(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}}return F.\u0275fac=function(S){return new(S||F)(r.Y36((0,r.Gpc)(()=>Ad)),r.Y36(r.SBq))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbNavItem",""]],contentQueries:function(S,V,Re){if(1&S&&r.Suo(Re,S_,4),2&S){let ct;r.iGM(ct=r.CRH())&&(V.contentTpls=ct)}},hostVars:2,hostBindings:function(S,V){2&S&&r.ekj("nav-item",!0)},inputs:{destroyOnHide:"destroyOnHide",disabled:"disabled",domId:"domId",_id:["ngbNavItem","_id"]},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbNavItem"],standalone:!0}),F})(),Ad=(()=>{class F{constructor(S,V,Re,ct){this.role=S,this._cd=Re,this._document=ct,this.activeIdChange=new r.vpe,this.shown=new r.vpe,this.hidden=new r.vpe,this.destroy$=new e.xQ,this.navItemChange$=new e.xQ,this.navChange=new r.vpe,this.animation=V.animation,this.destroyOnHide=V.destroyOnHide,this.orientation=V.orientation,this.roles=V.roles,this.keyboard=V.keyboard}click(S){S.disabled||this._updateActiveId(S.id)}onKeyDown(S){if("tablist"!==this.roles||!this.keyboard)return;const V=S.which,Re=this.links.filter(Ar=>!Ar.navItem.disabled),{length:ct}=Re;let Rn=-1;if(Re.forEach((Ar,si)=>{Ar.elRef.nativeElement===this._document.activeElement&&(Rn=si)}),ct){switch(V){case or.ArrowLeft:if("vertical"===this.orientation)return;Rn=(Rn-1+ct)%ct;break;case or.ArrowRight:if("vertical"===this.orientation)return;Rn=(Rn+1)%ct;break;case or.ArrowDown:if("horizontal"===this.orientation)return;Rn=(Rn+1)%ct;break;case or.ArrowUp:if("horizontal"===this.orientation)return;Rn=(Rn-1+ct)%ct;break;case or.Home:Rn=0;break;case or.End:Rn=ct-1}"changeWithArrows"===this.keyboard&&this.select(Re[Rn].navItem.id),Re[Rn].elRef.nativeElement.focus(),S.preventDefault()}}select(S){this._updateActiveId(S,!1)}ngAfterContentInit(){if(!Bl(this.activeId)){const S=this.items.first?this.items.first.id:null;E_(S)&&(this._updateActiveId(S,!1),this._cd.detectChanges())}this.items.changes.pipe((0,ze.R)(this.destroy$)).subscribe(()=>this._notifyItemChanged(this.activeId))}ngOnChanges({activeId:S}){S&&!S.firstChange&&this._notifyItemChanged(S.currentValue)}ngOnDestroy(){this.destroy$.next()}_updateActiveId(S,V=!0){if(this.activeId!==S){let Re=!1;V&&this.navChange.emit({activeId:this.activeId,nextId:S,preventDefault:()=>{Re=!0}}),Re||(this.activeId=S,this.activeIdChange.emit(S),this._notifyItemChanged(S))}}_notifyItemChanged(S){this.navItemChange$.next(this._getItemById(S))}_getItemById(S){return this.items&&this.items.find(V=>V.id===S)||null}}return F.\u0275fac=function(S){return new(S||F)(r.$8M("role"),r.Y36(H_),r.Y36(r.sBO),r.Y36(_r.K0))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbNav",""]],contentQueries:function(S,V,Re){if(1&S&&(r.Suo(Re,Qp,4),r.Suo(Re,Jd,5)),2&S){let ct;r.iGM(ct=r.CRH())&&(V.items=ct),r.iGM(ct=r.CRH())&&(V.links=ct)}},hostVars:6,hostBindings:function(S,V){1&S&&r.NdJ("keydown.arrowLeft",function(ct){return V.onKeyDown(ct)})("keydown.arrowRight",function(ct){return V.onKeyDown(ct)})("keydown.arrowDown",function(ct){return V.onKeyDown(ct)})("keydown.arrowUp",function(ct){return V.onKeyDown(ct)})("keydown.Home",function(ct){return V.onKeyDown(ct)})("keydown.End",function(ct){return V.onKeyDown(ct)}),2&S&&(r.uIk("aria-orientation","vertical"===V.orientation&&"tablist"===V.roles?"vertical":void 0)("role",V.role?V.role:V.roles?"tablist":void 0),r.ekj("nav",!0)("flex-column","vertical"===V.orientation))},inputs:{activeId:"activeId",animation:"animation",destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard"},outputs:{activeIdChange:"activeIdChange",shown:"shown",hidden:"hidden",navChange:"navChange"},exportAs:["ngbNav"],standalone:!0,features:[r.TTD]}),F})(),Jd=(()=>{class F{constructor(S,V,Re,ct){this.role=S,this.navItem=V,this.nav=Re,this.elRef=ct}hasNavItemClass(){return this.navItem.elementRef.nativeElement.nodeType===Node.COMMENT_NODE}}return F.\u0275fac=function(S){return new(S||F)(r.$8M("role"),r.Y36(Qp),r.Y36(Ad),r.Y36(r.SBq))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbNavLink",""]],hostVars:14,hostBindings:function(S,V){2&S&&(r.Ikx("id",V.navItem.domId),r.uIk("role",V.role?V.role:V.nav.roles?"tab":void 0)("tabindex",V.navItem.disabled?-1:void 0)("aria-controls",V.navItem.isPanelInDom()?V.navItem.panelDomId:null)("aria-selected",V.navItem.active)("aria-disabled",V.navItem.disabled),r.ekj("nav-link",!0)("nav-item",V.hasNavItemClass())("active",V.navItem.active)("disabled",V.navItem.disabled))},standalone:!0}),F})(),$a=(()=>{class F{constructor(S,V){this.navItem=S,this.nav=V}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(Qp),r.Y36(Ad))},F.\u0275dir=r.lG2({type:F,selectors:[["a","ngbNavLink",""]],hostAttrs:["href",""],hostBindings:function(S,V){1&S&&r.NdJ("click",function(ct){return V.nav.click(V.navItem),ct.preventDefault()})},standalone:!0,features:[r.zW0([Jd])]}),F})();const id=({classList:F})=>(F.remove("show"),()=>F.remove("active")),bu=(F,oe)=>{oe&&de(F),F.classList.add("show")};let qs=(()=>{class F{constructor(S){this.elRef=S}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.SBq))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(S,V){2&S&&(r.Ikx("id",V.item.panelDomId),r.uIk("role",V.role?V.role:V.nav.roles?"tabpanel":void 0)("aria-labelledby",V.item.domId),r.ekj("fade",V.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"},standalone:!0}),F})(),Sf=(()=>{class F{constructor(S,V){this._cd=S,this._ngZone=V,this._activePane=null}isPanelTransitioning(S){return this._activePane?.item===S}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe((0,ze.R)(this.nav.destroy$),(0,ht.O)(this._activePane?.item||null),(0,en.x)(),function kn(F){return oe=>oe.lift(new ri(F))}(1)).subscribe(S=>{const V={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?cr(this._ngZone,this._activePane.elRef.nativeElement,id,V).subscribe(()=>{const Re=this._activePane?.item;this._activePane=this._getPaneForItem(S),this._cd.markForCheck(),this._activePane&&(this._activePane.elRef.nativeElement.classList.add("active"),cr(this._ngZone,this._activePane.elRef.nativeElement,bu,V).subscribe(()=>{S&&(S.shown.emit(),this.nav.shown.emit(S.id))})),Re&&(Re.hidden.emit(),this.nav.hidden.emit(Re.id))}):this._updateActivePane()})}_updateActivePane(){this._activePane=this._getActivePane(),this._activePane?.elRef.nativeElement.classList.add("show"),this._activePane?.elRef.nativeElement.classList.add("active")}_getPaneForItem(S){return this._panes&&this._panes.find(V=>V.item===S)||null}_getActivePane(){return this._panes&&this._panes.find(S=>S.item.active)||null}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.sBO),r.Y36(r.R0b))},F.\u0275cmp=r.Xpm({type:F,selectors:[["","ngbNavOutlet",""]],viewQuery:function(S,V){if(1&S&&r.Gf(qs,5),2&S){let Re;r.iGM(Re=r.CRH())&&(V._panes=Re)}},hostVars:2,hostBindings:function(S,V){2&S&&r.ekj("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},standalone:!0,features:[r.jDz],attrs:Je,decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["ngbNavPane","",3,"item","nav","role",4,"ngIf"],["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,V){1&S&&r.YNc(0,wo,1,1,"ng-template",0),2&S&&r.Q6J("ngForOf",V.nav.items)},dependencies:[qs,_r.ax,_r.O5,_r.tP],encapsulation:2,changeDetection:0}),F})(),yu=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({imports:[Sf]}),F})(),U_=(()=>{class F{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),cf=(()=>{class F{constructor(S){this.templateRef=S}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["ng-template","ngbPaginationEllipsis",""]],standalone:!0}),F})(),vp=(()=>{class F{constructor(S){this.templateRef=S}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["ng-template","ngbPaginationFirst",""]],standalone:!0}),F})(),wu=(()=>{class F{constructor(S){this.templateRef=S}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["ng-template","ngbPaginationLast",""]],standalone:!0}),F})(),B_=(()=>{class F{constructor(S){this.templateRef=S}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["ng-template","ngbPaginationNext",""]],standalone:!0}),F})(),xf=(()=>{class F{constructor(S){this.templateRef=S}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["ng-template","ngbPaginationNumber",""]],standalone:!0}),F})(),wf=(()=>{class F{constructor(S){this.templateRef=S}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["ng-template","ngbPaginationPrevious",""]],standalone:!0}),F})(),Kp=(()=>{class F{constructor(S){this.templateRef=S}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.Rgc))},F.\u0275dir=r.lG2({type:F,selectors:[["ng-template","ngbPaginationPages",""]],standalone:!0}),F})(),Np=(()=>{class F{constructor(S){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new r.vpe(!0),this.disabled=S.disabled,this.boundaryLinks=S.boundaryLinks,this.directionLinks=S.directionLinks,this.ellipses=S.ellipses,this.maxSize=S.maxSize,this.pageSize=S.pageSize,this.rotate=S.rotate,this.size=S.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(S){this._updatePages(S)}ngOnChanges(S){this._updatePages(this.page)}isEllipsis(S){return-1===S}_applyEllipses(S,V){this.ellipses&&(S>0&&(S>2?this.pages.unshift(-1):2===S&&this.pages.unshift(2),this.pages.unshift(1)),V<this.pageCount&&(V<this.pageCount-2?this.pages.push(-1):V===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let S=0,V=this.pageCount,Re=Math.floor(this.maxSize/2);return this.page<=Re?V=this.maxSize:this.pageCount-this.page<Re?S=this.pageCount-this.maxSize:(S=this.page-Re-1,V=this.page+(this.maxSize%2==0?Re-1:Re)),[S,V]}_applyPagination(){let V=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[V,V+this.maxSize]}_setPageInRange(S){const V=this.page;this.page=as(S,this.pageCount,1),this.page!==V&&ks(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(S){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),ks(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let V=1;V<=this.pageCount;V++)this.pages.push(V);if(this._setPageInRange(S),this.maxSize>0&&this.pageCount>this.maxSize){let V=0,Re=this.pageCount;[V,Re]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(V,Re),this._applyEllipses(V,Re)}}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(U_))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-pagination"]],contentQueries:function(S,V,Re){if(1&S&&(r.Suo(Re,cf,5),r.Suo(Re,vp,5),r.Suo(Re,wu,5),r.Suo(Re,B_,5),r.Suo(Re,xf,5),r.Suo(Re,wf,5),r.Suo(Re,Kp,5)),2&S){let ct;r.iGM(ct=r.CRH())&&(V.tplEllipsis=ct.first),r.iGM(ct=r.CRH())&&(V.tplFirst=ct.first),r.iGM(ct=r.CRH())&&(V.tplLast=ct.first),r.iGM(ct=r.CRH())&&(V.tplNext=ct.first),r.iGM(ct=r.CRH())&&(V.tplNumber=ct.first),r.iGM(ct=r.CRH())&&(V.tplPrevious=ct.first),r.iGM(ct=r.CRH())&&(V.tplPages=ct.first)}},hostAttrs:["role","navigation"],inputs:{disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",rotate:"rotate",collectionSize:"collectionSize",maxSize:"maxSize",page:"page",pageSize:"pageSize",size:"size"},outputs:{pageChange:"pageChange"},standalone:!0,features:[r.TTD,r.jDz],decls:20,vars:12,consts:function(){let oe,S,V,Re,ct,Rn,Ar,si;return oe="\xAB\xAB",S="\xAB",V="\xBB",Re="\xBB\xBB",ct="First",Rn="Previous",Ar="Next",si="Last",[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],["class","page-item",3,"disabled",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],oe,S,V,Re,["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],[1,"page-item"],["class","page-link","tabindex","-1","aria-disabled","true",4,"ngIf"],["class","page-link","href","",3,"click",4,"ngIf"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",ct,"href","",1,"page-link",3,"click"],["aria-label",Rn,"href","",1,"page-link",3,"click"],["aria-label",Ar,"href","",1,"page-link",3,"click"],["aria-label",si,"href","",1,"page-link",3,"click"]]},template:function(S,V){if(1&S&&(r.YNc(0,Ya,2,0,"ng-template",null,0,r.W1O),r.YNc(2,Si,2,0,"ng-template",null,1,r.W1O),r.YNc(4,ca,2,0,"ng-template",null,2,r.W1O),r.YNc(6,Xs,2,0,"ng-template",null,3,r.W1O),r.YNc(8,Rc,1,0,"ng-template",null,4,r.W1O),r.YNc(10,Zl,1,1,"ng-template",null,5,r.W1O),r.YNc(12,tu,1,1,"ng-template",null,6,r.W1O),r.TgZ(14,"ul"),r.YNc(15,qa,3,9,"li",7),r.YNc(16,gt,3,8,"li",7),r.YNc(17,Ke,0,0,"ng-template",8),r.YNc(18,xn,3,9,"li",7),r.YNc(19,Fr,3,9,"li",7),r.qZA()),2&S){const Re=r.MAs(13);r.xp6(14),r.Tol("pagination"+(V.size?" pagination-"+V.size:"")),r.xp6(1),r.Q6J("ngIf",V.boundaryLinks),r.xp6(1),r.Q6J("ngIf",V.directionLinks),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==V.tplPages?null:V.tplPages.templateRef)||Re)("ngTemplateOutletContext",r.kEZ(8,Oi,V.page,V.pages,V.disabled)),r.xp6(1),r.Q6J("ngIf",V.directionLinks),r.xp6(1),r.Q6J("ngIf",V.boundaryLinks)}},dependencies:[_r.O5,_r.ax,_r.tP],encapsulation:2,changeDetection:0}),F})(),G_=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({imports:[Np]}),F})();class zh{constructor(oe,S){this.open=oe,this.close=S,S||(this.close=oe)}isManual(){return"manual"===this.open||"manual"===this.close}}const hu={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]},Xp=F=>F>0?(0,un.g)(F):oe=>oe;function gh(F,oe,S,V,Re,ct,Rn=0,Ar=0){const si=function su(F,oe=hu){const S=(F||"").trim();if(0===S.length)return[];const V=S.split(/\s+/).map(ct=>ct.split(":")).map(ct=>{let Rn=oe[ct[0]]||ct;return new zh(Rn[0],Rn[1])}),Re=V.filter(ct=>ct.isManual());if(Re.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===Re.length&&V.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return V}(S);if(1===si.length&&si[0].isManual())return()=>{};const xi=function Ip(F,oe,S,V){return new a.y(Re=>{const ct=[],Rn=()=>Re.next(!0),Ar=()=>Re.next(!1),si=()=>Re.next(!V());return S.forEach(xi=>{xi.open===xi.close?ct.push(F.listen(oe,xi.open,si)):ct.push(F.listen(oe,xi.open,Rn),F.listen(oe,xi.close,Ar))}),()=>{ct.forEach(xi=>xi())}})}(F,oe,si,V).pipe(function Y_(F,oe,S){return V=>{let Re=null;const ct=V.pipe((0,Qt.U)(si=>({open:si})),(0,bt.h)(si=>{const xi=S();return xi===si.open||Re&&Re.open!==xi?(Re&&Re.open!==si.open&&(Re=null),!1):(Re=si,!0)}),(0,wr.B)()),Rn=ct.pipe((0,bt.h)(si=>si.open),Xp(F)),Ar=ct.pipe((0,bt.h)(si=>!si.open),Xp(oe));return(0,et.T)(Rn,Ar).pipe((0,bt.h)(si=>si===Re&&(Re=null,si.open!==S())),(0,Qt.U)(si=>si.open))}}(Rn,Ar,V)).subscribe(Li=>Li?Re():ct());return()=>xi.unsubscribe()}let Wf=(()=>{class F{constructor(S){this._ngbConfig=S,this.autoClose=!0,this.placement="auto",this.popperOptions=V=>V,this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(Wo))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),yp=0,j_=(()=>{class F{isTitleTemplate(){return this.title instanceof r.Rgc}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip",2,"position","absolute"],hostVars:5,hostBindings:function(S,V){2&S&&(r.Ikx("id",V.id),r.Tol("popover"+(V.popoverClass?" "+V.popoverClass:"")),r.ekj("fade",V.animation))},inputs:{animation:"animation",title:"title",id:"id",popoverClass:"popoverClass",context:"context"},standalone:!0,features:[r.jDz],ngContentSelectors:ec,decls:4,vars:1,consts:[["data-popper-arrow","",1,"popover-arrow"],["class","popover-header",4,"ngIf"],[1,"popover-body"],[1,"popover-header"],["simpleTitle",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,V){1&S&&(r.F$t(),r._UZ(0,"div",0),r.YNc(1,ei,4,2,"h3",1),r.TgZ(2,"div",2),r.Hsn(3),r.qZA()),2&S&&(r.xp6(1),r.Q6J("ngIf",V.title))},dependencies:[_r.tP,_r.O5],encapsulation:2,changeDetection:0}),F})(),Z_=(()=>{class F{constructor(S,V,Re,ct,Rn,Ar,si,xi,Li){this._elementRef=S,this._renderer=V,this._ngZone=Ar,this._document=si,this._changeDetector=xi,this.shown=new r.vpe,this.hidden=new r.vpe,this._ngbPopoverWindowId="ngb-popover-"+yp++,this._windowRef=null,this.animation=Rn.animation,this.autoClose=Rn.autoClose,this.placement=Rn.placement,this.popperOptions=Rn.popperOptions,this.triggers=Rn.triggers,this.container=Rn.container,this.disablePopover=Rn.disablePopover,this.popoverClass=Rn.popoverClass,this.openDelay=Rn.openDelay,this.closeDelay=Rn.closeDelay,this._positioning=up(),this._popupService=new Vf(j_,Re,ct,V,this._ngZone,Li)}_isDisabled(){return!(!this.disablePopover&&(this.ngbPopover||this.popoverTitle))}open(S){if(!this._windowRef&&!this._isDisabled()){const{windowRef:V,transition$:Re}=this._popupService.open(this.ngbPopover,S,this.animation);this._windowRef=V,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("title",this.popoverTitle),this._windowRef.setInput("context",S),this._windowRef.setInput("popoverClass",this.popoverClass),this._windowRef.setInput("id",this._ngbPopoverWindowId),this._renderer.setAttribute(this._getPositionTargetElement(),"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-popover",updatePopperOptions:ct=>this.popperOptions(Ld([0,8])(ct))}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),ga(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),Re.subscribe(()=>this.shown.emit())}}close(S=this.animation){this._windowRef&&(this._renderer.removeAttribute(this._getPositionTargetElement(),"aria-describedby"),this._popupService.close(S).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=gh(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({ngbPopover:S,popoverTitle:V,disablePopover:Re,popoverClass:ct}){ct&&this.isOpen()&&(this._windowRef.instance.popoverClass=ct.currentValue),(S||V||Re)&&this._isDisabled()&&this.close()}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(oa(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._elementRef.nativeElement}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.zs3),r.Y36(r.s_b),r.Y36(Wf),r.Y36(r.R0b),r.Y36(_r.K0),r.Y36(r.sBO),r.Y36(r.z2F))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbPopover",""]],inputs:{animation:"animation",autoClose:"autoClose",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",openDelay:"openDelay",closeDelay:"closeDelay"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],standalone:!0,features:[r.TTD]}),F})(),Nf=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({}),F})(),vh=(()=>{class F{constructor(){this.max=100,this.animated=!1,this.ariaLabel="progress bar",this.striped=!1,this.showValue=!1}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),T_=(()=>{class F{constructor(S){this.value=0,this.max=S.max,this.animated=S.animated,this.ariaLabel=S.ariaLabel,this.striped=S.striped,this.textType=S.textType,this.type=S.type,this.showValue=S.showValue,this.height=S.height}set max(S){this._max=!ks(S)||S<=0?100:S}get max(){return this._max}getValue(){return as(this.value,this.max)}getPercentValue(){return 100*this.getValue()/this.max}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(vh))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-progressbar"]],hostAttrs:["role","progressbar","aria-valuemin","0",1,"progress"],hostVars:5,hostBindings:function(S,V){2&S&&(r.uIk("aria-valuenow",V.getValue())("aria-valuemax",V.max)("aria-label",V.ariaLabel),r.Udp("height",V.height))},inputs:{max:"max",animated:"animated",ariaLabel:"ariaLabel",striped:"striped",showValue:"showValue",textType:"textType",type:"type",value:"value",height:"height"},standalone:!0,features:[r.jDz],ngContentSelectors:ec,decls:3,vars:11,consts:function(){let oe;return oe="" + "\ufffd0\ufffd" + "",[[4,"ngIf"],oe]},template:function(S,V){1&S&&(r.F$t(),r.TgZ(0,"div"),r.YNc(1,Yo,3,3,"span",0),r.Hsn(2),r.qZA()),2&S&&(r.MT6("progress-bar",V.type?V.textType?" bg-"+V.type:" text-bg-"+V.type:"","",V.textType?" text-"+V.textType:"",""),r.Udp("width",V.getPercentValue(),"%"),r.ekj("progress-bar-animated",V.animated)("progress-bar-striped",V.striped),r.xp6(1),r.Q6J("ngIf",V.showValue))},dependencies:[_r.O5,_r.Zx],encapsulation:2,changeDetection:0}),F})(),Ep=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({imports:[T_]}),F})(),Lu=(()=>{class F{constructor(){this.max=10,this.readonly=!1,this.resettable=!1,this.tabindex=0}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),uf=(()=>{class F{constructor(S,V){this._changeDetectorRef=V,this.contexts=[],this.disabled=!1,this.hover=new r.vpe,this.leave=new r.vpe,this.rateChange=new r.vpe(!0),this.onChange=Re=>{},this.onTouched=()=>{},this.max=S.max,this.readonly=S.readonly,this.tabindex=S.tabindex}ariaValueText(S,V){return`${S} out of ${V}`}isInteractive(){return!this.readonly&&!this.disabled}enter(S){this.isInteractive()&&this._updateState(S),this.hover.emit(S)}handleBlur(){this.onTouched()}handleClick(S){this.isInteractive()&&this.update(this.resettable&&this.rate===S?0:S)}handleKeyDown(S){switch(S.which){case or.ArrowDown:case or.ArrowLeft:this.update(this.rate-1);break;case or.ArrowUp:case or.ArrowRight:this.update(this.rate+1);break;case or.Home:this.update(0);break;case or.End:this.update(this.max);break;default:return}S.preventDefault()}ngOnChanges(S){S.rate&&this.update(this.rate),S.max&&this._updateMax()}ngOnInit(){this._setupContexts(),this._updateState(this.rate)}registerOnChange(S){this.onChange=S}registerOnTouched(S){this.onTouched=S}reset(){this.leave.emit(this.nextRate),this._updateState(this.rate)}setDisabledState(S){this.disabled=S}update(S,V=!0){const Re=as(S,this.max,0);this.isInteractive()&&this.rate!==Re&&(this.rate=Re,this.rateChange.emit(this.rate)),V&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)}writeValue(S){this.update(S,!1),this._changeDetectorRef.markForCheck()}_updateState(S){this.nextRate=S,this.contexts.forEach((V,Re)=>V.fill=Math.round(100*as(S-Re,1,0)))}_updateMax(){this.max>0&&(this._setupContexts(),this.update(this.rate))}_setupContexts(){this.contexts=Array.from({length:this.max},(S,V)=>({fill:0,index:V}))}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(Lu),r.Y36(r.sBO))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-rating"]],contentQueries:function(S,V,Re){if(1&S&&r.Suo(Re,r.Rgc,5),2&S){let ct;r.iGM(ct=r.CRH())&&(V.starTemplateFromContent=ct.first)}},hostAttrs:["role","slider","aria-valuemin","0",1,"d-inline-flex"],hostVars:5,hostBindings:function(S,V){1&S&&r.NdJ("blur",function(){return V.handleBlur()})("keydown",function(ct){return V.handleKeyDown(ct)})("mouseleave",function(){return V.reset()}),2&S&&(r.Ikx("tabindex",V.disabled?-1:V.tabindex),r.uIk("aria-valuemax",V.max)("aria-valuenow",V.nextRate)("aria-valuetext",V.ariaValueText(V.nextRate,V.max))("aria-disabled",!!V.readonly||null))},inputs:{max:"max",rate:"rate",readonly:"readonly",resettable:"resettable",starTemplate:"starTemplate",tabindex:"tabindex",ariaValueText:"ariaValueText"},outputs:{hover:"hover",leave:"leave",rateChange:"rateChange"},standalone:!0,features:[r._Bn([{provide:oi.JU,useExisting:(0,r.Gpc)(()=>F),multi:!0}]),r.TTD,r.jDz],decls:3,vars:1,consts:[["t",""],["ngFor","",3,"ngForOf"],[1,"visually-hidden"],[3,"mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,V){1&S&&(r.YNc(0,Kn,1,1,"ng-template",null,0,r.W1O),r.YNc(2,Gr,4,5,"ng-template",1)),2&S&&(r.xp6(2),r.Q6J("ngForOf",V.contexts))},dependencies:[_r.ax,_r.tP],encapsulation:2,changeDetection:0}),F})(),Jf=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({imports:[uf]}),F})();class Fp{constructor(oe,S,V){this.hour=Ai(oe),this.minute=Ai(S),this.second=Ai(V)}changeHour(oe=1){this.updateHour((isNaN(this.hour)?0:this.hour)+oe)}updateHour(oe){this.hour=ks(oe)?(oe<0?24+oe:oe)%24:NaN}changeMinute(oe=1){this.updateMinute((isNaN(this.minute)?0:this.minute)+oe)}updateMinute(oe){ks(oe)?(this.minute=oe%60<0?60+oe%60:oe%60,this.changeHour(Math.floor(oe/60))):this.minute=NaN}changeSecond(oe=1){this.updateSecond((isNaN(this.second)?0:this.second)+oe)}updateSecond(oe){ks(oe)?(this.second=oe<0?60+oe%60:oe%60,this.changeMinute(Math.floor(oe/60))):this.second=NaN}isValid(oe=!0){return ks(this.hour)&&ks(this.minute)&&(!oe||ks(this.second))}toString(){return`${this.hour||0}:${this.minute||0}:${this.second||0}`}}let Qd=(()=>{class F{constructor(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),Lp=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:function(){return function z_(){return new Vh}()},providedIn:"root"}),F})(),Vh=(()=>{class F extends Lp{fromModel(S){return S&&Ds(S.hour)&&Ds(S.minute)?{hour:S.hour,minute:S.minute,second:Ds(S.second)?S.second:null}:null}toModel(S){return S&&Ds(S.hour)&&Ds(S.minute)?{hour:S.hour,minute:S.minute,second:Ds(S.second)?S.second:null}:null}}return F.\u0275fac=function(){let oe;return function(V){return(oe||(oe=r.n5z(F)))(V||F)}}(),F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac}),F})(),Qf=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:function(S){let V=null;return V=S?new S:function Dd(F){return new md(F)}(r.LFG(r.soG)),V},providedIn:"root"}),F})(),md=(()=>{class F extends Qf{constructor(S){super(),this._periods=(0,_r.ol)(S,_r.x.Standalone,_r.Tn.Narrow)}getMorningPeriod(){return this._periods[0]}getAfternoonPeriod(){return this._periods[1]}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(r.soG))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac}),F})();const gd=/[^0-9]/g;let If=(()=>{class F{constructor(S,V,Re,ct){this._config=S,this._ngbTimeAdapter=V,this._cd=Re,this.i18n=ct,this.onChange=Rn=>{},this.onTouched=()=>{},this.meridian=S.meridian,this.spinners=S.spinners,this.seconds=S.seconds,this.hourStep=S.hourStep,this.minuteStep=S.minuteStep,this.secondStep=S.secondStep,this.disabled=S.disabled,this.readonlyInputs=S.readonlyInputs,this.size=S.size}set hourStep(S){this._hourStep=Ds(S)?S:this._config.hourStep}get hourStep(){return this._hourStep}set minuteStep(S){this._minuteStep=Ds(S)?S:this._config.minuteStep}get minuteStep(){return this._minuteStep}set secondStep(S){this._secondStep=Ds(S)?S:this._config.secondStep}get secondStep(){return this._secondStep}writeValue(S){const V=this._ngbTimeAdapter.fromModel(S);this.model=V?new Fp(V.hour,V.minute,V.second):new Fp,!this.seconds&&(!V||!ks(V.second))&&(this.model.second=0),this._cd.markForCheck()}registerOnChange(S){this.onChange=S}registerOnTouched(S){this.onTouched=S}setDisabledState(S){this.disabled=S}changeHour(S){this.model?.changeHour(S),this.propagateModelChange()}changeMinute(S){this.model?.changeMinute(S),this.propagateModelChange()}changeSecond(S){this.model?.changeSecond(S),this.propagateModelChange()}updateHour(S){const V=!!this.model&&this.model.hour>=12,Re=Ai(S);this.model?.updateHour(this.meridian&&(V&&Re<12||!V&&12===Re)?Re+12:Re),this.propagateModelChange()}updateMinute(S){this.model?.updateMinute(Ai(S)),this.propagateModelChange()}updateSecond(S){this.model?.updateSecond(Ai(S)),this.propagateModelChange()}toggleMeridian(){this.meridian&&this.changeHour(12)}formatInput(S){S.value=S.value.replace(gd,"")}formatHour(S){return ks(S)?Ea(this.meridian?S%12==0?12:S%12:S%24):Ea(NaN)}formatMinSec(S){return Ea(ks(S)?S:NaN)}handleBlur(){this.onTouched()}get isSmallSize(){return"small"===this.size}get isLargeSize(){return"large"===this.size}ngOnChanges(S){S.seconds&&!this.seconds&&this.model&&!ks(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))}propagateModelChange(S=!0){S&&this.onTouched(),this.model?.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(Qd),r.Y36(Lp),r.Y36(r.sBO),r.Y36(Qf))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-timepicker"]],inputs:{meridian:"meridian",spinners:"spinners",seconds:"seconds",hourStep:"hourStep",minuteStep:"minuteStep",secondStep:"secondStep",readonlyInputs:"readonlyInputs",size:"size"},exportAs:["ngbTimepicker"],standalone:!0,features:[r._Bn([{provide:oi.JU,useExisting:(0,r.Gpc)(()=>F),multi:!0}]),r.TTD,r.jDz],decls:16,vars:25,consts:function(){let oe,S,V,Re,ct,Rn,Ar,si,xi,Li,Es,ns,v,R;return oe="HH",S="Hours",V="MM",Re="Minutes",ct="Increment hours",Rn="Decrement hours",Ar="Increment minutes",si="Decrement minutes",xi="SS",Li="Seconds",Es="Increment seconds",ns="Decrement seconds",v="" + "\ufffd0\ufffd" + "",R="" + "\ufffd0\ufffd" + "",[[3,"disabled"],[1,"ngb-tp"],[1,"ngb-tp-input-container","ngb-tp-hour"],["tabindex","-1","type","button","class","btn btn-link",3,"btn-sm","btn-lg","disabled","click",4,"ngIf"],["type","text","maxlength","2","inputmode","numeric","placeholder",oe,"aria-label",S,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],[1,"ngb-tp-spacer"],[1,"ngb-tp-input-container","ngb-tp-minute"],["type","text","maxlength","2","inputmode","numeric","placeholder",V,"aria-label",Re,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],["class","ngb-tp-spacer",4,"ngIf"],["class","ngb-tp-input-container ngb-tp-second",4,"ngIf"],["class","ngb-tp-meridian",4,"ngIf"],["tabindex","-1","type","button",1,"btn","btn-link",3,"disabled","click"],[1,"chevron","ngb-tp-chevron"],[1,"visually-hidden"],ct,[1,"chevron","ngb-tp-chevron","bottom"],Rn,Ar,si,[1,"ngb-tp-input-container","ngb-tp-second"],["type","text","maxlength","2","inputmode","numeric","placeholder",xi,"aria-label",Li,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],Es,ns,[1,"ngb-tp-meridian"],["type","button",1,"btn","btn-outline-primary",3,"disabled","click"],[4,"ngIf","ngIfElse"],["am",""],v,R]},template:function(S,V){1&S&&(r.TgZ(0,"fieldset",0)(1,"div",1)(2,"div",2),r.YNc(3,ce,4,7,"button",3),r.TgZ(4,"input",4),r.NdJ("change",function(ct){return V.updateHour(ct.target.value)})("blur",function(){return V.handleBlur()})("input",function(ct){return V.formatInput(ct.target)})("keydown.ArrowUp",function(ct){return V.changeHour(V.hourStep),ct.preventDefault()})("keydown.ArrowDown",function(ct){return V.changeHour(-V.hourStep),ct.preventDefault()}),r.qZA(),r.YNc(5,Le,4,7,"button",3),r.qZA(),r.TgZ(6,"div",5),r._uU(7,":"),r.qZA(),r.TgZ(8,"div",6),r.YNc(9,Be,4,7,"button",3),r.TgZ(10,"input",7),r.NdJ("change",function(ct){return V.updateMinute(ct.target.value)})("blur",function(){return V.handleBlur()})("input",function(ct){return V.formatInput(ct.target)})("keydown.ArrowUp",function(ct){return V.changeMinute(V.minuteStep),ct.preventDefault()})("keydown.ArrowDown",function(ct){return V.changeMinute(-V.minuteStep),ct.preventDefault()}),r.qZA(),r.YNc(11,Bt,4,7,"button",3),r.qZA(),r.YNc(12,Kt,2,0,"div",8),r.YNc(13,xr,4,9,"div",9),r.YNc(14,fi,1,0,"div",8),r.YNc(15,Ms,5,9,"div",10),r.qZA()()),2&S&&(r.ekj("disabled",V.disabled),r.Q6J("disabled",V.disabled),r.xp6(3),r.Q6J("ngIf",V.spinners),r.xp6(1),r.ekj("form-control-sm",V.isSmallSize)("form-control-lg",V.isLargeSize),r.Q6J("value",V.formatHour(null==V.model?null:V.model.hour))("readOnly",V.readonlyInputs)("disabled",V.disabled),r.xp6(1),r.Q6J("ngIf",V.spinners),r.xp6(4),r.Q6J("ngIf",V.spinners),r.xp6(1),r.ekj("form-control-sm",V.isSmallSize)("form-control-lg",V.isLargeSize),r.Q6J("value",V.formatMinSec(null==V.model?null:V.model.minute))("readOnly",V.readonlyInputs)("disabled",V.disabled),r.xp6(1),r.Q6J("ngIf",V.spinners),r.xp6(1),r.Q6J("ngIf",V.seconds),r.xp6(1),r.Q6J("ngIf",V.seconds),r.xp6(1),r.Q6J("ngIf",V.meridian),r.xp6(1),r.Q6J("ngIf",V.meridian))},dependencies:[_r.O5],styles:['ngb-timepicker{font-size:1rem}.ngb-tp{display:flex;align-items:center}.ngb-tp-input-container{width:4em}.ngb-tp-chevron:before{border-style:solid;border-width:.29em .29em 0 0;content:"";display:inline-block;height:.69em;left:.05em;position:relative;top:.15em;transform:rotate(-45deg);vertical-align:middle;width:.69em}.ngb-tp-chevron.bottom:before{top:-.3em;transform:rotate(135deg)}.ngb-tp-input{text-align:center}.ngb-tp-hour,.ngb-tp-minute,.ngb-tp-second,.ngb-tp-meridian{display:flex;flex-direction:column;align-items:center;justify-content:space-around}.ngb-tp-spacer{width:1em;text-align:center}\n'],encapsulation:2}),F})(),Ff=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({imports:[If]}),F})();const yh=(F,oe)=>{const{classList:S}=F;if(oe)return S.add("fade"),de(F),S.add("show","showing"),()=>{S.remove("showing")};S.add("show")},_m=({classList:F})=>(F.add("showing"),()=>{F.remove("show","showing")});let V_=(()=>{class F{constructor(S){this._ngbConfig=S,this.autohide=!0,this.delay=5e3,this.ariaLive="polite"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(Wo))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),Wh=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbToastHeader",""]],standalone:!0}),F})(),Eh=(()=>{class F{constructor(S,V,Re,ct){this.ariaLive=S,this._zone=Re,this._element=ct,this.contentHeaderTpl=null,this.shown=new r.vpe,this.hidden=new r.vpe,null==this.ariaLive&&(this.ariaLive=V.ariaLive),this.delay=V.delay,this.autohide=V.autohide,this.animation=V.animation}ngAfterContentInit(){this._zone.onStable.asObservable().pipe((0,Ct.q)(1)).subscribe(()=>{this._init(),this.show()})}ngOnChanges(S){"autohide"in S&&(this._clearTimeout(),this._init())}hide(){this._clearTimeout();const S=cr(this._zone,this._element.nativeElement,_m,{animation:this.animation,runningTransition:"stop"});return S.subscribe(()=>{this.hidden.emit()}),S}show(){const S=cr(this._zone,this._element.nativeElement,yh,{animation:this.animation,runningTransition:"continue"});return S.subscribe(()=>{this.shown.emit()}),S}_init(){this.autohide&&!this._timeoutID&&(this._timeoutID=setTimeout(()=>this.hide(),this.delay))}_clearTimeout(){this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null)}}return F.\u0275fac=function(S){return new(S||F)(r.$8M("aria-live"),r.Y36(V_),r.Y36(r.R0b),r.Y36(r.SBq))},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-toast"]],contentQueries:function(S,V,Re){if(1&S&&r.Suo(Re,Wh,7,r.Rgc),2&S){let ct;r.iGM(ct=r.CRH())&&(V.contentHeaderTpl=ct.first)}},hostAttrs:["role","alert","aria-atomic","true",1,"toast"],hostVars:3,hostBindings:function(S,V){2&S&&(r.uIk("aria-live",V.ariaLive),r.ekj("fade",V.animation))},inputs:{animation:"animation",delay:"delay",autohide:"autohide",header:"header"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbToast"],standalone:!0,features:[r.TTD,r.jDz],ngContentSelectors:ec,decls:5,vars:1,consts:function(){let oe;return oe="Close",[["headerTpl",""],[3,"ngIf"],[1,"toast-body"],[1,"me-auto"],[1,"toast-header"],[3,"ngTemplateOutlet"],["type","button","aria-label",oe,1,"btn-close",3,"click"]]},template:function(S,V){1&S&&(r.F$t(),r.YNc(0,Hs,2,1,"ng-template",null,0,r.W1O),r.YNc(2,Ma,3,1,"ng-template",1),r.TgZ(3,"div",2),r.Hsn(4),r.qZA()),2&S&&(r.xp6(2),r.Q6J("ngIf",V.contentHeaderTpl||V.header))},dependencies:[_r.O5,_r.tP],styles:["ngb-toast{display:block}ngb-toast .toast-header .close{margin-left:auto;margin-bottom:.25rem}\n"],encapsulation:2}),F})(),W_=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({imports:[Eh]}),F})(),od=(()=>{class F{constructor(S){this._ngbConfig=S,this.autoClose=!0,this.placement="auto",this.popperOptions=V=>V,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(Wo))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),sd=0,Mu=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip",2,"position","absolute"],hostVars:5,hostBindings:function(S,V){2&S&&(r.Ikx("id",V.id),r.Tol("tooltip"+(V.tooltipClass?" "+V.tooltipClass:"")),r.ekj("fade",V.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},standalone:!0,features:[r.jDz],ngContentSelectors:ec,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(S,V){1&S&&(r.F$t(),r._UZ(0,"div",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA())},encapsulation:2,changeDetection:0}),F})(),ad=(()=>{class F{constructor(S,V,Re,ct,Rn,Ar,si,xi,Li){this._elementRef=S,this._renderer=V,this._ngZone=Ar,this._document=si,this._changeDetector=xi,this.shown=new r.vpe,this.hidden=new r.vpe,this._ngbTooltipWindowId="ngb-tooltip-"+sd++,this._windowRef=null,this.animation=Rn.animation,this.autoClose=Rn.autoClose,this.placement=Rn.placement,this.popperOptions=Rn.popperOptions,this.triggers=Rn.triggers,this.container=Rn.container,this.disableTooltip=Rn.disableTooltip,this.tooltipClass=Rn.tooltipClass,this.openDelay=Rn.openDelay,this.closeDelay=Rn.closeDelay,this._popupService=new Vf(Mu,Re,ct,V,this._ngZone,Li),this._positioning=up()}set ngbTooltip(S){this._ngbTooltip=S,!S&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(S){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:V,transition$:Re}=this._popupService.open(this._ngbTooltip,S,this.animation);this._windowRef=V,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._renderer.setAttribute(this._getPositionTargetElement(),"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-tooltip",updatePopperOptions:ct=>this.popperOptions(ct)}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),ga(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),Re.subscribe(()=>this.shown.emit())}}close(S=this.animation){null!=this._windowRef&&(this._renderer.removeAttribute(this._getPositionTargetElement(),"aria-describedby"),this._popupService.close(S).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=gh(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:S}){S&&this.isOpen()&&(this._windowRef.instance.tooltipClass=S.currentValue)}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(oa(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._elementRef.nativeElement}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.zs3),r.Y36(r.s_b),r.Y36(od),r.Y36(r.R0b),r.Y36(_r.K0),r.Y36(r.sBO),r.Y36(r.z2F))},F.\u0275dir=r.lG2({type:F,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],standalone:!0,features:[r.TTD]}),F})(),Lf=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({}),F})(),Sh=(()=>{class F{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(S){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);const V=qo(this.result),Re=Array.isArray(this.term)?this.term:[this.term],ct=xi=>this.accentSensitive?xi:je(xi),Rn=Re.map(xi=>function ac(F){return F.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(ct(qo(xi)))).filter(xi=>xi),Ar=this.accentSensitive?V:je(V),si=Rn.length?Ar.split(new RegExp(`(${Rn.join("|")})`,"gmi")):[V];if(this.accentSensitive)this.parts=si;else{let xi=0;this.parts=si.map(Li=>V.substring(xi,xi+=Li.length))}}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},standalone:!0,features:[r.TTD,r.jDz],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(S,V){1&S&&r.YNc(0,Dt,3,2,"ng-template",0),2&S&&r.Q6J("ngForOf",V.parts)},dependencies:[_r.O5,_r.ax],styles:[".ngb-highlight{font-weight:700}\n"],encapsulation:2,changeDetection:0}),F})(),b_=(()=>{class F{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=qo,this.selectEvent=new r.vpe,this.activeChangeEvent=new r.vpe}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(S){this.activeIdx=S,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(S){this.selectEvent.emit(S)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275cmp=r.Xpm({type:F,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(S,V){1&S&&r.NdJ("mousedown",function(ct){return ct.preventDefault()}),2&S&&(r.Ikx("id",V.id),r.Tol("dropdown-menu show"+(V.popupClass?" "+V.popupClass:"")))},inputs:{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate",popupClass:"popupClass"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],standalone:!0,features:[r.jDz],decls:3,vars:1,consts:[["rt",""],["ngFor","",3,"ngForOf"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"id","mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,V){1&S&&(r.YNc(0,Xe,1,2,"ng-template",null,0,r.W1O),r.YNc(2,ii,2,9,"ng-template",1)),2&S&&(r.xp6(2),r.Q6J("ngForOf",V.results))},dependencies:[Sh,_r.ax,_r.tP],encapsulation:2}),F})(),Ch=(()=>{class F{constructor(){this.editable=!0,this.focusFirst=!0,this.selectOnExact=!1,this.showHint=!1,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=S=>S}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();const J_=new r.OlP("live announcer delay",{providedIn:"root",factory:function kp(){return 100}});function hm(F,oe=!1){let S=F.body.querySelector("#ngb-live");return null==S&&oe&&(S=F.createElement("div"),S.setAttribute("id","ngb-live"),S.setAttribute("aria-live","polite"),S.setAttribute("aria-atomic","true"),S.classList.add("visually-hidden"),F.body.appendChild(S)),S}let mm=(()=>{class F{constructor(S,V){this._document=S,this._delay=V}ngOnDestroy(){const S=hm(this._document);S&&S.parentElement.removeChild(S)}say(S){const V=hm(this._document,!0),Re=this._delay;if(null!=V){V.textContent="";const ct=()=>V.textContent=S;null===Re?ct():setTimeout(ct,Re)}}}return F.\u0275fac=function(S){return new(S||F)(r.LFG(_r.K0),r.LFG(J_))},F.\u0275prov=r.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),gm=0,Rm=(()=>{class F{constructor(S,V,Re,ct,Rn,Ar,si,xi,Li,Es,ns){this._elementRef=S,this._renderer=Re,this._live=si,this._document=xi,this._ngZone=Li,this._changeDetector=Es,this._subscription=null,this._closed$=new e.xQ,this._inputValueBackup=null,this._inputValueForSelectOnExact=null,this._windowRef=null,this.autocomplete="off",this.placement="bottom-start",this.selectItem=new r.vpe,this.activeDescendant=null,this.popupId="ngb-typeahead-"+gm++,this._onTouched=()=>{},this._onChange=v=>{},this.container=Rn.container,this.editable=Rn.editable,this.focusFirst=Rn.focusFirst,this.selectOnExact=Rn.selectOnExact,this.showHint=Rn.showHint,this.placement=Rn.placement,this.popperOptions=Rn.popperOptions,this._valueChanges=(0,f.R)(S.nativeElement,"input").pipe((0,Qt.U)(v=>v.target.value)),this._resubscribeTypeahead=new q.X(null),this._popupService=new Vf(b_,ct,V,Re,this._ngZone,ns),this._positioning=up()}ngOnInit(){this._subscribeToUserInput()}ngOnChanges({ngbTypeahead:S}){S&&!S.firstChange&&(this._unsubscribeFromUserInput(),this._subscribeToUserInput())}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput()}registerOnChange(S){this._onChange=S}registerOnTouched(S){this._onTouched=S}writeValue(S){this._writeInputValue(this._formatItemForInput(S)),this.showHint&&(this._inputValueBackup=S)}setDisabledState(S){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",S)}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return null!=this._windowRef}handleBlur(){this._resubscribeTypeahead.next(null),this._onTouched()}handleKeyDown(S){if(this.isPopupOpen())switch(S.which){case or.ArrowDown:S.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case or.ArrowUp:S.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case or.Enter:case or.Tab:{const V=this._windowRef.instance.getActive();Bl(V)&&(S.preventDefault(),S.stopPropagation(),this._selectResult(V)),this._closePopup();break}}}_openPopup(){if(!this.isPopupOpen()){this._inputValueBackup=this._elementRef.nativeElement.value;const{windowRef:S}=this._popupService.open();this._windowRef=S,this._windowRef.setInput("id",this.popupId),this._windowRef.setInput("popupClass",this.popupClass),this._windowRef.instance.selectEvent.subscribe(V=>this._selectResultClosePopup(V)),this._windowRef.instance.activeChangeEvent.subscribe(V=>this.activeDescendant=V),"body"===this.container&&(this._renderer.setStyle(this._windowRef.location.nativeElement,"z-index","1055"),this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement)),this._changeDetector.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._windowRef&&(this._positioning.createPopper({hostElement:this._elementRef.nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:V=>this.popperOptions(Ld([0,2])(V))}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),ga(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._elementRef.nativeElement,this._windowRef.location.nativeElement])}}_closePopup(){this._popupService.close().subscribe(()=>{this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._closed$.next(),this._windowRef=null,this.activeDescendant=null})}_selectResult(S){let V=!1;this.selectItem.emit({item:S,preventDefault:()=>{V=!0}}),this._resubscribeTypeahead.next(null),V||(this.writeValue(S),this._onChange(S))}_selectResultClosePopup(S){this._selectResult(S),this._closePopup()}_showHint(){if(this.showHint&&this._windowRef?.instance.hasActive()&&null!=this._inputValueBackup){const S=this._inputValueBackup.toLowerCase(),V=this._formatItemForInput(this._windowRef.instance.getActive());S===V.substring(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+V.substring(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,V.length])):this._writeInputValue(V)}}_formatItemForInput(S){return null!=S&&this.inputFormatter?this.inputFormatter(S):qo(S)}_writeInputValue(S){this._renderer.setProperty(this._elementRef.nativeElement,"value",qo(S))}_subscribeToUserInput(){const S=this._valueChanges.pipe((0,bn.b)(V=>{this._inputValueBackup=this.showHint?V:null,this._inputValueForSelectOnExact=this.selectOnExact?V:null,this._onChange(this.editable?V:void 0)}),this.ngbTypeahead?this.ngbTypeahead:()=>(0,c.of)([]));this._subscription=this._resubscribeTypeahead.pipe((0,nn.w)(()=>S)).subscribe(V=>{V&&0!==V.length?this.selectOnExact&&1===V.length&&this._formatItemForInput(V[0])===this._inputValueForSelectOnExact?(this._selectResult(V[0]),this._closePopup()):(this._openPopup(),this._windowRef.instance.focusFirst=this.focusFirst,this._windowRef.instance.results=V,this._windowRef.instance.term=this._elementRef.nativeElement.value,this.resultFormatter&&(this._windowRef.instance.formatter=this.resultFormatter),this.resultTemplate&&(this._windowRef.instance.resultTemplate=this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint()):this._closePopup();const Re=V?V.length:0;this._live.say(0===Re?"No results available":`${Re} result${1===Re?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}}return F.\u0275fac=function(S){return new(S||F)(r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(r.Qsj),r.Y36(r.zs3),r.Y36(Ch),r.Y36(r.R0b),r.Y36(mm),r.Y36(_r.K0),r.Y36(r.R0b),r.Y36(r.sBO),r.Y36(r.z2F))},F.\u0275dir=r.lG2({type:F,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox"],hostVars:7,hostBindings:function(S,V){1&S&&r.NdJ("blur",function(){return V.handleBlur()})("keydown",function(ct){return V.handleKeyDown(ct)}),2&S&&(r.Ikx("autocomplete",V.autocomplete),r.uIk("aria-autocomplete",V.showHint?"both":"list")("aria-activedescendant",V.activeDescendant)("aria-owns",V.isPopupOpen()?V.popupId:null)("aria-expanded",V.isPopupOpen()),r.ekj("open",V.isPopupOpen()))},inputs:{autocomplete:"autocomplete",container:"container",editable:"editable",focusFirst:"focusFirst",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate",selectOnExact:"selectOnExact",showHint:"showHint",placement:"placement",popperOptions:"popperOptions",popupClass:"popupClass"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],standalone:!0,features:[r._Bn([{provide:oi.JU,useExisting:(0,r.Gpc)(()=>F),multi:!0}]),r.TTD]}),F})(),ld=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({imports:[Sh]}),F})(),K_=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({}),F})();const Km=[fl,dd,jd,lc,zf,mh,Hd,yu,K_,G_,Nf,Ep,Jf,Ff,W_,Lf,ld];let M_=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=r.oAB({type:F}),F.\u0275inj=r.cJS({imports:[Km,fl,dd,jd,lc,zf,mh,Hd,yu,K_,G_,Nf,Ep,Jf,Ff,W_,Lf,ld]}),F})()},43765:(y,b,o)=>{"use strict";o.d(b,{z:()=>Qe});var r=o(64537),a=o(88692),u=o(13066),c=o(20092);function e(Ve,tn){1&Ve&&(r.TgZ(0,"span",9),r._uU(1,"*"),r.qZA())}function f(Ve,tn){if(1&Ve&&(r.TgZ(0,"label",7),r._uU(1),r.YNc(2,e,2,0,"span",8),r.qZA()),2&Ve){const ot=r.oxw(2);r.uIk("for",ot.id),r.xp6(1),r.hij(" ",ot.props.label," "),r.xp6(1),r.Q6J("ngIf",ot.props.required&&!0!==ot.props.hideRequiredMarker)}}function h(Ve,tn){if(1&Ve&&r.YNc(0,f,3,3,"label",6),2&Ve){const ot=r.oxw();r.Q6J("ngIf",ot.props.label&&!0!==ot.props.hideLabel)}}function E(Ve,tn){if(1&Ve&&(r.ynx(0),r.GkF(1,10),r.BQk()),2&Ve){r.oxw();const ot=r.MAs(1);r.xp6(1),r.Q6J("ngTemplateOutlet",ot)}}function T(Ve,tn){}function D(Ve,tn){if(1&Ve&&(r.ynx(0),r.GkF(1,10),r.BQk()),2&Ve){r.oxw();const ot=r.MAs(1);r.xp6(1),r.Q6J("ngTemplateOutlet",ot)}}function A(Ve,tn){if(1&Ve&&(r.TgZ(0,"div",11),r._UZ(1,"formly-validation-message",12),r.qZA()),2&Ve){const ot=r.oxw();r.Udp("display","block"),r.xp6(1),r.Q6J("field",ot.field)}}function $(Ve,tn){if(1&Ve&&(r.TgZ(0,"small",13),r._uU(1),r.qZA()),2&Ve){const ot=r.oxw();r.xp6(1),r.Oqu(ot.props.description)}}const Q=["fieldTypeTemplate"];let U=(()=>{class Ve extends u.n2{}return Ve.\u0275fac=function(){let tn;return function(xt){return(tn||(tn=r.n5z(Ve)))(xt||Ve)}}(),Ve.\u0275cmp=r.Xpm({type:Ve,selectors:[["formly-wrapper-form-field"]],features:[r.qOj],decls:9,vars:8,consts:[["labelTemplate",""],[1,"mb-3"],[4,"ngIf"],["fieldComponent",""],["class","invalid-feedback",3,"display",4,"ngIf"],["class","form-text text-muted",4,"ngIf"],["class","form-label",4,"ngIf"],[1,"form-label"],["aria-hidden","true",4,"ngIf"],["aria-hidden","true"],[3,"ngTemplateOutlet"],[1,"invalid-feedback"],[3,"field"],[1,"form-text","text-muted"]],template:function(ot,xt){1&ot&&(r.YNc(0,h,1,1,"ng-template",null,0,r.W1O),r.TgZ(2,"div",1),r.YNc(3,E,2,1,"ng-container",2),r.YNc(4,T,0,0,"ng-template",null,3,r.W1O),r.YNc(6,D,2,1,"ng-container",2),r.YNc(7,A,2,3,"div",4),r.YNc(8,$,2,1,"small",5),r.qZA()),2&ot&&(r.xp6(2),r.ekj("form-floating","floating"===xt.props.labelPosition)("has-error",xt.showError),r.xp6(1),r.Q6J("ngIf","floating"!==xt.props.labelPosition),r.xp6(3),r.Q6J("ngIf","floating"===xt.props.labelPosition),r.xp6(1),r.Q6J("ngIf",xt.showError),r.xp6(1),r.Q6J("ngIf",xt.props.description))},dependencies:[u.M2,a.O5,a.tP],encapsulation:2}),Ve})(),q=(()=>{class Ve{}return Ve.\u0275fac=function(ot){return new(ot||Ve)},Ve.\u0275mod=r.oAB({type:Ve}),Ve.\u0275inj=r.cJS({imports:[[a.ez,c.UX,u.X0.forChild({wrappers:[{name:"form-field",component:U}]})]]}),Ve})(),L=(()=>{class Ve extends u.fS{constructor(ot){super(),this.hostContainerRef=ot}set content(ot){ot&&this.hostContainerRef&&this.hostContainerRef.createEmbeddedView(ot)}}return Ve.\u0275fac=function(ot){return new(ot||Ve)(r.Y36(r.s_b,8))},Ve.\u0275dir=r.lG2({type:Ve,viewQuery:function(ot,xt){if(1&ot&&r.Gf(Q,7),2&ot){let qt;r.iGM(qt=r.CRH())&&(xt.content=qt.first)}},features:[r.qOj]}),Ve})();function J(Ve,tn){if(1&Ve&&r._UZ(0,"input",3),2&Ve){const ot=r.oxw(2);r.ekj("is-invalid",ot.showError),r.Q6J("type",ot.type)("formControl",ot.formControl)("formlyAttributes",ot.field)}}function pe(Ve,tn){if(1&Ve&&r._UZ(0,"input",4),2&Ve){const ot=r.oxw(2);r.ekj("is-invalid",ot.showError),r.Q6J("formControl",ot.formControl)("formlyAttributes",ot.field)}}function j(Ve,tn){if(1&Ve&&(r.YNc(0,J,1,5,"input",1),r.YNc(1,pe,1,4,"ng-template",null,2,r.W1O)),2&Ve){const ot=r.MAs(2),xt=r.oxw();r.Q6J("ngIf","number"!==xt.type)("ngIfElse",ot)}}let ue=(()=>{class Ve extends L{get type(){return this.props.type||"text"}}return Ve.\u0275fac=function(){let tn;return function(xt){return(tn||(tn=r.n5z(Ve)))(xt||Ve)}}(),Ve.\u0275cmp=r.Xpm({type:Ve,selectors:[["formly-field-input"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],["class","form-control",3,"type","formControl","formlyAttributes","is-invalid",4,"ngIf","ngIfElse"],["numberTmp",""],[1,"form-control",3,"type","formControl","formlyAttributes"],["type","number",1,"form-control",3,"formControl","formlyAttributes"]],template:function(ot,xt){1&ot&&r.YNc(0,j,3,2,"ng-template",null,0,r.W1O)},dependencies:[a.O5,c.Fj,c.JJ,c.oH,u.JD,c.wV],encapsulation:2,changeDetection:0}),Ve})(),ie=(()=>{class Ve{}return Ve.\u0275fac=function(ot){return new(ot||Ve)},Ve.\u0275mod=r.oAB({type:Ve}),Ve.\u0275inj=r.cJS({imports:[[a.ez,c.UX,q,u.X0.forChild({types:[{name:"input",component:ue,wrappers:["form-field"]},{name:"string",extends:"input"},{name:"number",extends:"input",defaultOptions:{props:{type:"number"}}},{name:"integer",extends:"input",defaultOptions:{props:{type:"number"}}}]})]]}),Ve})();function me(Ve,tn){if(1&Ve&&(r.TgZ(0,"textarea",1),r._uU(1," "),r.qZA()),2&Ve){const ot=r.oxw();r.ekj("is-invalid",ot.showError),r.Q6J("formControl",ot.formControl)("cols",ot.props.cols)("rows",ot.props.rows)("formlyAttributes",ot.field)}}let Oe=(()=>{class Ve extends L{constructor(){super(...arguments),this.defaultOptions={props:{cols:1,rows:1}}}}return Ve.\u0275fac=function(){let tn;return function(xt){return(tn||(tn=r.n5z(Ve)))(xt||Ve)}}(),Ve.\u0275cmp=r.Xpm({type:Ve,selectors:[["formly-field-textarea"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],[1,"form-control",3,"formControl","cols","rows","formlyAttributes"]],template:function(ot,xt){1&ot&&r.YNc(0,me,2,6,"ng-template",null,0,r.W1O)},dependencies:[c.Fj,c.JJ,c.oH,u.JD],encapsulation:2,changeDetection:0}),Ve})(),Ue=(()=>{class Ve{}return Ve.\u0275fac=function(ot){return new(ot||Ve)},Ve.\u0275mod=r.oAB({type:Ve}),Ve.\u0275inj=r.cJS({imports:[[a.ez,c.UX,q,u.X0.forChild({types:[{name:"textarea",component:Oe,wrappers:["form-field"]}]})]]}),Ve})();var Me=o(70882),yt=o(26215),et=o(88002),tt=o(45435),Et=o(68307);let ze=(()=>{class Ve{transform(ot,xt){return ot instanceof Me.y?this.dispose():ot=this.observableOf(ot,xt),ot.pipe((0,et.U)(qt=>this.transformOptions(qt,xt)))}ngOnDestroy(){this.dispose()}transformOptions(ot,xt){const qt=this.transformSelectProps(xt),tr=[],vr={};return ot?.forEach(An=>{const yr=this.transformOption(An,qt);if(yr.group){const Nr=vr[yr.label];void 0===Nr?vr[yr.label]=tr.push(yr)-1:yr.group.forEach(nr=>tr[Nr].group.push(nr))}else tr.push(yr)}),tr}transformOption(ot,xt){const qt=xt.groupProp(ot);return Array.isArray(qt)?{label:xt.labelProp(ot),group:qt.map(tr=>this.transformOption(tr,xt))}:(ot={label:xt.labelProp(ot),value:xt.valueProp(ot),disabled:!!xt.disabledProp(ot)},qt?{label:qt,group:[ot]}:ot)}transformSelectProps(ot){const xt=ot?.props||ot?.templateOptions||{},qt=tr=>"function"==typeof tr?tr:vr=>vr[tr];return{groupProp:qt(xt.groupProp||"group"),labelProp:qt(xt.labelProp||"label"),valueProp:qt(xt.valueProp||"value"),disabledProp:qt(xt.disabledProp||"disabled")}}dispose(){this._options&&(this._options.complete(),this._options=null),this._subscription&&(this._subscription.unsubscribe(),this._subscription=null)}observableOf(ot,xt){return this.dispose(),xt&&xt.options&&xt.options.fieldChanges&&(this._subscription=xt.options.fieldChanges.pipe((0,tt.h)(({property:qt,type:tr,field:vr})=>"expressionChanges"===tr&&(0===qt.indexOf("templateOptions.options")||0===qt.indexOf("props.options"))&&vr===xt&&Array.isArray(vr.props.options)&&!!this._options),(0,Et.b)(()=>this._options.next(xt.props.options))).subscribe()),this._options=new yt.X(ot),this._options.asObservable()}}return Ve.\u0275fac=function(ot){return new(ot||Ve)},Ve.\u0275pipe=r.Yjl({name:"formlySelectOptions",type:Ve,pure:!0}),Ve})(),bt=(()=>{class Ve{}return Ve.\u0275fac=function(ot){return new(ot||Ve)},Ve.\u0275mod=r.oAB({type:Ve}),Ve.\u0275inj=r.cJS({}),Ve})();function Ct(Ve,tn){if(1&Ve&&(r.TgZ(0,"div",2),r._UZ(1,"input",3),r.TgZ(2,"label",4),r._uU(3),r.qZA()()),2&Ve){const ot=tn.$implicit,xt=tn.index,qt=r.oxw(2);r.ekj("form-check-inline","inline"===qt.props.formCheck),r.xp6(1),r.ekj("is-invalid",qt.showError),r.Q6J("id",qt.id+"_"+xt)("name",qt.field.name||qt.id)("value",ot.value)("formControl",ot.disabled?qt.disabledControl:qt.formControl)("formlyAttributes",qt.field),r.uIk("value",ot.value),r.xp6(1),r.Q6J("for",qt.id+"_"+xt),r.xp6(1),r.hij(" ",ot.label," ")}}function Qt(Ve,tn){if(1&Ve&&(r.YNc(0,Ct,4,12,"div",1),r.ALo(1,"async"),r.ALo(2,"formlySelectOptions")),2&Ve){const ot=r.oxw();r.Q6J("ngForOf",r.lcZ(1,1,r.xi3(2,3,ot.props.options,ot.field)))}}let ht=(()=>{class Ve extends L{constructor(){super(...arguments),this.defaultOptions={props:{formCheck:"default"}}}get disabledControl(){return new c.NI({value:this.formControl.value,disabled:!0})}}return Ve.\u0275fac=function(){let tn;return function(xt){return(tn||(tn=r.n5z(Ve)))(xt||Ve)}}(),Ve.\u0275cmp=r.Xpm({type:Ve,selectors:[["formly-field-radio"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],["class","form-check",3,"form-check-inline",4,"ngFor","ngForOf"],[1,"form-check"],["type","radio",1,"form-check-input",3,"id","name","value","formControl","formlyAttributes"],[1,"form-check-label",3,"for"]],template:function(ot,xt){1&ot&&r.YNc(0,Qt,3,6,"ng-template",null,0,r.W1O)},dependencies:[a.sg,c._,c.Fj,c.JJ,c.oH,u.JD,a.Ov,ze],encapsulation:2,changeDetection:0}),Ve})(),en=(()=>{class Ve{}return Ve.\u0275fac=function(ot){return new(ot||Ve)},Ve.\u0275mod=r.oAB({type:Ve}),Ve.\u0275inj=r.cJS({imports:[[a.ez,c.UX,q,bt,u.X0.forChild({types:[{name:"radio",component:ht,wrappers:["form-field"]}]})]]}),Ve})();function nn(Ve,tn){1&Ve&&(r.TgZ(0,"span",6),r._uU(1,"*"),r.qZA())}function bn(Ve,tn){if(1&Ve&&(r.TgZ(0,"label",4),r._uU(1),r.YNc(2,nn,2,0,"span",5),r.qZA()),2&Ve){const ot=r.oxw(2);r.Q6J("for",ot.id),r.xp6(1),r.hij(" ",ot.props.label," "),r.xp6(1),r.Q6J("ngIf",ot.props.required&&!0!==ot.props.hideRequiredMarker)}}const Dn=function(Ve,tn){return{"form-check-inline":Ve,"form-switch":tn}};function Rt(Ve,tn){if(1&Ve&&(r.TgZ(0,"div",1),r._UZ(1,"input",2),r.YNc(2,bn,3,3,"label",3),r.qZA()),2&Ve){const ot=r.oxw();r.Q6J("ngClass",r.WLB(9,Dn,"inline"===ot.props.formCheck||"inline-switch"===ot.props.formCheck,"switch"===ot.props.formCheck||"inline-switch"===ot.props.formCheck)),r.xp6(1),r.ekj("is-invalid",ot.showError)("position-static","nolabel"===ot.props.formCheck),r.Q6J("indeterminate",ot.props.indeterminate&&null==ot.formControl.value)("formControl",ot.formControl)("formlyAttributes",ot.field),r.xp6(1),r.Q6J("ngIf","nolabel"!==ot.props.formCheck)}}let Xt=(()=>{class Ve extends L{constructor(){super(...arguments),this.defaultOptions={props:{indeterminate:!0,hideLabel:!0,formCheck:"default"}}}}return Ve.\u0275fac=function(){let tn;return function(xt){return(tn||(tn=r.n5z(Ve)))(xt||Ve)}}(),Ve.\u0275cmp=r.Xpm({type:Ve,selectors:[["formly-field-checkbox"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],[1,"form-check",3,"ngClass"],["type","checkbox",1,"form-check-input",3,"indeterminate","formControl","formlyAttributes"],["class","form-check-label",3,"for",4,"ngIf"],[1,"form-check-label",3,"for"],["aria-hidden","true",4,"ngIf"],["aria-hidden","true"]],template:function(ot,xt){1&ot&&r.YNc(0,Rt,3,12,"ng-template",null,0,r.W1O)},dependencies:[a.mk,c.Wl,c.JJ,c.oH,u.JD,a.O5],encapsulation:2,changeDetection:0}),Ve})(),un=(()=>{class Ve{}return Ve.\u0275fac=function(ot){return new(ot||Ve)},Ve.\u0275mod=r.oAB({type:Ve}),Ve.\u0275inj=r.cJS({imports:[[a.ez,c.UX,q,u.X0.forChild({types:[{name:"checkbox",component:Xt,wrappers:["form-field"]},{name:"boolean",extends:"checkbox"}]})]]}),Ve})();const _n=function(Ve,tn){return{"form-check-inline":Ve,"form-switch":tn}};function kn(Ve,tn){if(1&Ve){const ot=r.EpF();r.TgZ(0,"div",2)(1,"input",3),r.NdJ("change",function(qt){const vr=r.CHM(ot).$implicit,An=r.oxw(2);return r.KtG(An.onChange(vr.value,qt.target.checked))}),r.qZA(),r.TgZ(2,"label",4),r._uU(3),r.qZA()()}if(2&Ve){const ot=tn.$implicit,xt=tn.index,qt=r.oxw(2);r.Q6J("ngClass",r.WLB(8,_n,"inline"===qt.props.formCheck||"inline-switch"===qt.props.formCheck,"switch"===qt.props.formCheck||"inline-switch"===qt.props.formCheck)),r.xp6(1),r.Q6J("id",qt.id+"_"+xt)("value",ot.value)("checked",qt.isChecked(ot))("formlyAttributes",qt.field)("disabled",qt.formControl.disabled||ot.disabled),r.xp6(1),r.Q6J("for",qt.id+"_"+xt),r.xp6(1),r.hij(" ",ot.label," ")}}function ri(Ve,tn){if(1&Ve&&(r.YNc(0,kn,4,11,"div",1),r.ALo(1,"async"),r.ALo(2,"formlySelectOptions")),2&Ve){const ot=r.oxw();r.Q6J("ngForOf",r.lcZ(1,1,r.xi3(2,3,ot.props.options,ot.field)))}}let Ir=(()=>{class Ve extends L{constructor(){super(...arguments),this.defaultOptions={props:{formCheck:"default"}}}onChange(ot,xt){this.formControl.markAsDirty(),this.formControl.patchValue("array"===this.props.type?xt?[...this.formControl.value||[],ot]:[...this.formControl.value||[]].filter(qt=>qt!==ot):{...this.formControl.value,[ot]:xt}),this.formControl.markAsTouched()}isChecked(ot){const xt=this.formControl.value;return xt&&("array"===this.props.type?-1!==xt.indexOf(ot.value):xt[ot.value])}}return Ve.\u0275fac=function(){let tn;return function(xt){return(tn||(tn=r.n5z(Ve)))(xt||Ve)}}(),Ve.\u0275cmp=r.Xpm({type:Ve,selectors:[["formly-field-multicheckbox"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],["class","form-check",3,"ngClass",4,"ngFor","ngForOf"],[1,"form-check",3,"ngClass"],["type","checkbox",1,"form-check-input",3,"id","value","checked","formlyAttributes","disabled","change"],[1,"form-check-label",3,"for"]],template:function(ot,xt){1&ot&&r.YNc(0,ri,3,6,"ng-template",null,0,r.W1O)},dependencies:[a.sg,a.mk,u.JD,a.Ov,ze],encapsulation:2,changeDetection:0}),Ve})(),wr=(()=>{class Ve{}return Ve.\u0275fac=function(ot){return new(ot||Ve)},Ve.\u0275mod=r.oAB({type:Ve}),Ve.\u0275inj=r.cJS({imports:[[a.ez,c.UX,q,bt,u.X0.forChild({types:[{name:"multicheckbox",component:Ir,wrappers:["form-field"]}]})]]}),Ve})();var _r=o(15257);function oi(Ve,tn){if(1&Ve&&(r.TgZ(0,"option",8),r._uU(1),r.qZA()),2&Ve){const ot=r.oxw().$implicit;r.Q6J("ngValue",ot.value)("disabled",ot.disabled),r.xp6(1),r.hij(" ",ot.label," ")}}function Ri(Ve,tn){if(1&Ve&&(r.TgZ(0,"option",8),r._uU(1),r.qZA()),2&Ve){const ot=tn.$implicit;r.Q6J("ngValue",ot.value)("disabled",ot.disabled),r.xp6(1),r.hij(" ",ot.label," ")}}function Tr(Ve,tn){if(1&Ve&&(r.TgZ(0,"optgroup",9),r.YNc(1,Ri,2,3,"option",10),r.qZA()),2&Ve){const ot=r.oxw().$implicit;r.Q6J("label",ot.label),r.xp6(1),r.Q6J("ngForOf",ot.group)}}function ft(Ve,tn){if(1&Ve&&(r.ynx(0),r.YNc(1,oi,2,3,"option",6),r.YNc(2,Tr,2,2,"ng-template",null,7,r.W1O),r.BQk()),2&Ve){const ot=tn.$implicit,xt=r.MAs(3);r.xp6(1),r.Q6J("ngIf",!ot.group)("ngIfElse",xt)}}function sn(Ve,tn){if(1&Ve&&(r.ynx(0),r.YNc(1,ft,4,2,"ng-container",5),r.BQk()),2&Ve){const ot=tn.ngIf;r.xp6(1),r.Q6J("ngForOf",ot)}}function At(Ve,tn){if(1&Ve&&(r.TgZ(0,"select",3),r.YNc(1,sn,2,1,"ng-container",4),r.ALo(2,"async"),r.ALo(3,"formlySelectOptions"),r.qZA()),2&Ve){const ot=r.oxw(2);r.ekj("is-invalid",ot.showError),r.Q6J("formControl",ot.formControl)("compareWith",ot.props.compareWith)("formlyAttributes",ot.field),r.xp6(1),r.Q6J("ngIf",r.lcZ(2,6,r.xi3(3,8,ot.props.options,ot.field)))}}function Ln(Ve,tn){if(1&Ve&&(r.TgZ(0,"option",13),r._uU(1),r.qZA()),2&Ve){const ot=r.oxw(3);r.Q6J("ngValue",void 0),r.xp6(1),r.Oqu(ot.props.placeholder)}}function rr(Ve,tn){if(1&Ve&&(r.TgZ(0,"option",8),r._uU(1),r.qZA()),2&Ve){const ot=r.oxw().$implicit;r.Q6J("ngValue",ot.value)("disabled",ot.disabled),r.xp6(1),r.hij(" ",ot.label," ")}}function Lr(Ve,tn){if(1&Ve&&(r.TgZ(0,"option",8),r._uU(1),r.qZA()),2&Ve){const ot=tn.$implicit;r.Q6J("ngValue",ot.value)("disabled",ot.disabled),r.xp6(1),r.hij(" ",ot.label," ")}}function Fi(Ve,tn){if(1&Ve&&(r.TgZ(0,"optgroup",9),r.YNc(1,Lr,2,3,"option",10),r.qZA()),2&Ve){const ot=r.oxw().$implicit;r.Q6J("label",ot.label),r.xp6(1),r.Q6J("ngForOf",ot.group)}}function so(Ve,tn){if(1&Ve&&(r.ynx(0),r.YNc(1,rr,2,3,"option",6),r.YNc(2,Fi,2,2,"ng-template",null,7,r.W1O),r.BQk()),2&Ve){const ot=tn.$implicit,xt=r.MAs(3);r.xp6(1),r.Q6J("ngIf",!ot.group)("ngIfElse",xt)}}function Vo(Ve,tn){if(1&Ve&&(r.ynx(0),r.YNc(1,so,4,2,"ng-container",5),r.BQk()),2&Ve){const ot=tn.ngIf;r.xp6(1),r.Q6J("ngForOf",ot)}}function Xr(Ve,tn){if(1&Ve&&(r.TgZ(0,"select",11),r.YNc(1,Ln,2,2,"option",12),r.YNc(2,Vo,2,1,"ng-container",4),r.ALo(3,"async"),r.ALo(4,"formlySelectOptions"),r.qZA()),2&Ve){const ot=r.oxw(2);r.ekj("is-invalid",ot.showError),r.Q6J("formControl",ot.formControl)("compareWith",ot.props.compareWith)("formlyAttributes",ot.field),r.xp6(1),r.Q6J("ngIf",ot.props.placeholder),r.xp6(1),r.Q6J("ngIf",r.lcZ(3,7,r.xi3(4,9,ot.props.options,ot.field)))}}function Ni(Ve,tn){if(1&Ve&&(r.YNc(0,At,4,11,"select",1),r.YNc(1,Xr,5,12,"ng-template",null,2,r.W1O)),2&Ve){const ot=r.MAs(2),xt=r.oxw();r.Q6J("ngIf",xt.props.multiple)("ngIfElse",ot)}}let ji=(()=>{class Ve extends L{constructor(ot,xt){super(xt),this.ngZone=ot,this.defaultOptions={props:{compareWith:(qt,tr)=>qt===tr}}}set selectAccessor(ot){if(!ot)return;const xt=ot.writeValue.bind(ot);null===ot._getOptionId(ot.value)&&xt(ot.value),ot.writeValue=qt=>{const tr=ot._idCounter;xt(qt),null===qt&&this.ngZone.onStable.asObservable().pipe((0,_r.q)(1)).subscribe(()=>{tr!==ot._idCounter&&null===ot._getOptionId(qt)&&-1!==ot._elementRef.nativeElement.selectedIndex&&xt(qt)})}}}return Ve.\u0275fac=function(ot){return new(ot||Ve)(r.Y36(r.R0b),r.Y36(r.s_b))},Ve.\u0275cmp=r.Xpm({type:Ve,selectors:[["formly-field-select"]],viewQuery:function(ot,xt){if(1&ot&&r.Gf(c.EJ,5),2&ot){let qt;r.iGM(qt=r.CRH())&&(xt.selectAccessor=qt.first)}},features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],["class","form-select","multiple","",3,"formControl","compareWith","is-invalid","formlyAttributes",4,"ngIf","ngIfElse"],["singleSelect",""],["multiple","",1,"form-select",3,"formControl","compareWith","formlyAttributes"],[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"ngValue","disabled",4,"ngIf","ngIfElse"],["optgroup",""],[3,"ngValue","disabled"],[3,"label"],[3,"ngValue","disabled",4,"ngFor","ngForOf"],[1,"form-select",3,"formControl","compareWith","formlyAttributes"],[3,"ngValue",4,"ngIf"],[3,"ngValue"]],template:function(ot,xt){1&ot&&r.YNc(0,Ni,3,2,"ng-template",null,0,r.W1O)},dependencies:[a.O5,c.K7,c.JJ,c.oH,u.JD,a.sg,c.YN,c.Kr,c.EJ,a.Ov,ze],encapsulation:2,changeDetection:0}),Ve})(),jr=(()=>{class Ve{}return Ve.\u0275fac=function(ot){return new(ot||Ve)},Ve.\u0275mod=r.oAB({type:Ve}),Ve.\u0275inj=r.cJS({imports:[[a.ez,c.UX,q,bt,u.X0.forChild({types:[{name:"select",component:ji,wrappers:["form-field"]},{name:"enum",extends:"select"}]})]]}),Ve})();const Pr=["fieldTypeTemplate"];function Bo(Ve,tn){if(1&Ve&&r._UZ(0,"i",7),2&Ve){const ot=r.oxw(3);r.Q6J("ngClass",ot.props.addonLeft.class)}}function cs(Ve,tn){if(1&Ve&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&Ve){const ot=r.oxw(3);r.xp6(1),r.Oqu(ot.props.addonLeft.text)}}function ts(Ve,tn){if(1&Ve){const ot=r.EpF();r.TgZ(0,"div",4),r.NdJ("click",function(qt){r.CHM(ot);const tr=r.oxw(2);return r.KtG(tr.addonLeftClick(qt))}),r.YNc(1,Bo,1,1,"i",5),r.YNc(2,cs,2,1,"span",6),r.qZA()}if(2&Ve){const ot=r.oxw(2);r.ekj("input-group-btn",ot.props.addonLeft.onClick),r.xp6(1),r.Q6J("ngIf",ot.props.addonLeft.class),r.xp6(1),r.Q6J("ngIf",ot.props.addonLeft.text)}}function io(Ve,tn){if(1&Ve&&r._UZ(0,"i",7),2&Ve){const ot=r.oxw(3);r.Q6J("ngClass",ot.props.addonRight.class)}}function Vi(Ve,tn){if(1&Ve&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&Ve){const ot=r.oxw(3);r.xp6(1),r.Oqu(ot.props.addonRight.text)}}function Pn(Ve,tn){if(1&Ve){const ot=r.EpF();r.TgZ(0,"div",4),r.NdJ("click",function(qt){r.CHM(ot);const tr=r.oxw(2);return r.KtG(tr.addonRightClick(qt))}),r.YNc(1,io,1,1,"i",5),r.YNc(2,Vi,2,1,"span",6),r.qZA()}if(2&Ve){const ot=r.oxw(2);r.ekj("input-group-btn",ot.props.addonRight.onClick),r.xp6(1),r.Q6J("ngIf",ot.props.addonRight.class),r.xp6(1),r.Q6J("ngIf",ot.props.addonRight.text)}}function Nn(Ve,tn){if(1&Ve&&(r.TgZ(0,"div",1),r.YNc(1,ts,3,4,"div",2),r.GkF(2,null,3),r.YNc(4,Pn,3,4,"div",2),r.qZA()),2&Ve){const ot=r.oxw();r.ekj("has-validation",ot.showError),r.xp6(1),r.Q6J("ngIf",ot.props.addonLeft),r.xp6(3),r.Q6J("ngIf",ot.props.addonRight)}}let Ut=(()=>{class Ve extends u.n2{constructor(ot){super(),this.hostContainerRef=ot}set content(ot){ot&&this.hostContainerRef&&this.hostContainerRef.createEmbeddedView(ot)}addonRightClick(ot){this.props.addonRight.onClick?.(this.field,ot)}addonLeftClick(ot){this.props.addonLeft.onClick?.(this.field,ot)}}return Ve.\u0275fac=function(ot){return new(ot||Ve)(r.Y36(r.s_b))},Ve.\u0275cmp=r.Xpm({type:Ve,selectors:[["formly-wrapper-addons"]],viewQuery:function(ot,xt){if(1&ot&&r.Gf(Pr,7),2&ot){let qt;r.iGM(qt=r.CRH())&&(xt.content=qt.first)}},features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],[1,"input-group"],["class","input-group-text",3,"input-group-btn","click",4,"ngIf"],["fieldComponent",""],[1,"input-group-text",3,"click"],[3,"ngClass",4,"ngIf"],[4,"ngIf"],[3,"ngClass"]],template:function(ot,xt){1&ot&&r.YNc(0,Nn,5,4,"ng-template",null,0,r.W1O)},dependencies:[a.O5,a.mk],styles:["formly-wrapper-form-field .input-group-btn{cursor:pointer}\n"],encapsulation:2}),Ve})();function ke(Ve){!Ve.props||Ve.wrappers&&-1!==Ve.wrappers.indexOf("addons")||(Ve.props.addonLeft||Ve.props.addonRight)&&(Ve.wrappers=[...Ve.wrappers||[],"addons"])}let Ie=(()=>{class Ve{}return Ve.\u0275fac=function(ot){return new(ot||Ve)},Ve.\u0275mod=r.oAB({type:Ve}),Ve.\u0275inj=r.cJS({imports:[[a.ez,c.UX,u.X0.forChild({wrappers:[{name:"addons",component:Ut}],extensions:[{name:"addons",extension:{postPopulate:ke}}]})]]}),Ve})(),Qe=(()=>{class Ve{}return Ve.\u0275fac=function(ot){return new(ot||Ve)},Ve.\u0275mod=r.oAB({type:Ve}),Ve.\u0275inj=r.cJS({imports:[[q,ie,Ue,en,un,wr,jr,Ie]]}),Ve})()},13066:(y,b,o)=>{"use strict";o.d(b,{hv:()=>Ni,fS:()=>so,n2:()=>ji,cw:()=>rr,T7:()=>Lr,X0:()=>Nn,JD:()=>Fi,M2:()=>Xr,kg:()=>Rt,Hl:()=>ze,_S:()=>Me,Du:()=>bt});var r=o(64537),a=o(20092),u=o(70882);function c(Ut){return!!Ut&&(Ut instanceof u.y||"function"==typeof Ut.lift&&"function"==typeof Ut.subscribe)}var e=o(66682),f=o(25917),h=o(79765),E=o(87519),T=o(39761),D=o(54395),A=o(45435),$=o(43190),Q=o(15257),U=o(68307),q=o(88002),L=o(88692),J=o(5998);const pe=["container"];function j(Ut,ke){}function ue(Ut,ke){1&Ut&&r._UZ(0,"formly-field",1),2&Ut&&r.Q6J("field",ke.$implicit)}const ie=["*"],me=["fieldComponent"];function Ue(Ut,ke,Ie){if(ke.id)return ke.id;let Qe=ke.type;return!Qe&&ke.template&&(Qe="template"),Qe instanceof r.DyG&&(Qe=Qe.prototype.constructor.name),[Ut,Qe,ke.key,Ie].join("_")}function Me(Ut){return!Ct(Ut.key)&&""!==Ut.key}function yt(Ut){if(!Me(Ut))return[];if(Ut._keyPath?.key!==Ut.key){let ke=[];if("string"==typeof Ut.key){const Ie=-1===Ut.key.indexOf("[")?Ut.key:Ut.key.replace(/\[(\w+)\]/g,".$1");ke=-1!==Ie.indexOf(".")?Ie.split("."):[Ie]}else ke=Array.isArray(Ut.key)?Ut.key.slice(0):[`${Ut.key}`];Xt(Ut,"_keyPath",{key:Ut.key,path:ke})}return Ut._keyPath.path.slice(0)}const et=["required","pattern","minLength","maxLength","min","max"];function tt(Ut,ke){let Ie=yt(Ut);if(0===Ie.length)return;let Qe=Ut;for(;Qe.parent;)Qe=Qe.parent,Ie=[...yt(Qe),...Ie];if(void 0===ke&&Ut.resetOnHide){const Ve=Ie.pop();delete Ie.reduce((ot,xt)=>ot[xt]||{},Qe.model)[Ve]}else!function Et(Ut,ke,Ie){for(let Qe=0;Qe<ke.length-1;Qe++){const Ve=ke[Qe];(!Ut[Ve]||!bn(Ut[Ve]))&&(Ut[Ve]=/^\d+$/.test(ke[Qe+1])?[]:{}),Ut=Ut[Ve]}Ut[ke[ke.length-1]]=Rt(Ie)}(Qe.model,Ie,ke)}function ze(Ut){let ke=Ut.parent?Ut.parent.model:Ut.model;for(const Ie of yt(Ut)){if(!ke)return ke;ke=ke[Ie]}return ke}function bt(Ut,...ke){return ke.forEach(Ie=>{for(const Qe in Ie)Ct(Ut[Qe])||ht(Ut[Qe])?Ut[Qe]=Rt(Ie[Qe]):nn(Ut[Qe],Ie[Qe])&&bt(Ut[Qe],Ie[Qe])}),Ut}function Ct(Ut){return null==Ut}function Qt(Ut){return void 0===Ut}function ht(Ut){return""===Ut}function en(Ut){return"function"==typeof Ut}function nn(Ut,ke){return bn(Ut)&&bn(ke)&&Object.getPrototypeOf(Ut)===Object.getPrototypeOf(ke)&&!(Array.isArray(Ut)||Array.isArray(ke))}function bn(Ut){return null!=Ut&&"object"==typeof Ut}function Rt(Ut){if(!bn(Ut)||c(Ut)||Ut instanceof r.Rgc||Ut.changingThisBreaksApplicationSecurity||-1!==["RegExp","FileList","File","Blob"].indexOf(Ut.constructor.name))return Ut;if(Ut instanceof Set)return new Set(Ut);if(Ut instanceof Map)return new Map(Ut);if(Ut._isAMomentObject&&en(Ut.clone))return Ut.clone();if(Ut instanceof a.TO)return null;if(Ut instanceof Date)return new Date(Ut.getTime());if(Array.isArray(Ut))return Ut.slice(0).map(Qe=>Rt(Qe));const ke=Object.getPrototypeOf(Ut);let Ie=Object.create(ke);return Ie=Object.setPrototypeOf(Ie,ke),Object.keys(Ut).reduce((Qe,Ve)=>{const tn=Object.getOwnPropertyDescriptor(Ut,Ve);return tn.get?Object.defineProperty(Qe,Ve,tn):Qe[Ve]=Rt(Ut[Ve]),Qe},Ie)}function Xt(Ut,ke,Ie){Object.defineProperty(Ut,ke,{enumerable:!1,writable:!0,configurable:!0}),Ut[ke]=Ie}function un(Ut,ke,Ie){let Qe=[];const Ve=()=>{Qe.forEach(ot=>ot()),Qe=[]},tn=_n(Ut,ke,({firstChange:ot,currentValue:xt})=>{!ot&&Ie(),Ve(),bn(xt)&&"Object"===xt.constructor.name&&Object.keys(xt).forEach(qt=>{Qe.push(un(Ut,[...ke,qt],Ie))})});return()=>{tn.unsubscribe(),Ve()}}function _n(Ut,ke,Ie){Ut._observers||Xt(Ut,"_observers",{});let Qe=Ut;for(let xt=0;xt<ke.length-1;xt++)(!Qe[ke[xt]]||!bn(Qe[ke[xt]]))&&(Qe[ke[xt]]=/^\d+$/.test(ke[xt+1])?[]:{}),Qe=Qe[ke[xt]];const Ve=ke[ke.length-1],tn=ke.join(".");Ut._observers[tn]||(Ut._observers[tn]={value:Qe[Ve],onChange:[]});const ot=Ut._observers[tn];if(Qe[Ve]!==ot.value&&(ot.value=Qe[Ve]),-1===ot.onChange.indexOf(Ie)&&(ot.onChange.push(Ie),Ie({currentValue:ot.value,firstChange:!0}),ot.onChange.length>=1)){const{enumerable:xt}=Object.getOwnPropertyDescriptor(Qe,Ve)||{enumerable:!0};Object.defineProperty(Qe,Ve,{enumerable:xt,configurable:!0,get:()=>ot.value,set:qt=>{if(qt!==ot.value){const tr=ot.value;ot.value=qt,ot.onChange.forEach(vr=>vr({previousValue:tr,currentValue:qt,firstChange:!1}))}}})}return{setValue(xt){ot.value=xt},unsubscribe(){ot.onChange=ot.onChange.filter(xt=>xt!==Ie),0===ot.onChange.length&&delete Ut._observers[tn]}}}function kn(Ut,ke){if(ke=Array.isArray(ke)?ke.join("."):ke,Ut.fieldGroup)for(let Ie=0,Qe=Ut.fieldGroup.length;Ie<Qe;Ie++){const Ve=Ut.fieldGroup[Ie],tn=Array.isArray(Ve.key)?Ve.key.join("."):Ve.key;if(tn===ke)return Ve;if(Ve.fieldGroup&&(Ct(tn)||0===ke.indexOf(`${tn}.`))){const ot=kn(Ve,Ct(tn)?ke:ke.slice(tn.length+1));if(ot)return ot}}}function ri(Ut){Ut._componentRefs?.forEach(ke=>{ke instanceof r.UuU?ke.injector.get(r.sBO).markForCheck():ke.markForCheck()})}const Ir=new r.OlP("FORMLY_CONFIG");let wr=(()=>{class Ut{constructor(){this.types={},this.validators={},this.wrappers={},this.messages={},this.extras={checkExpressionOn:"modelChange",lazyRender:!0,resetFieldOnHide:!0,renderFormlyFieldElement:!0,showError:Ie=>Ie.formControl?.invalid&&(Ie.formControl?.touched||Ie.options.parentForm?.submitted||!!Ie.field.validation?.show)},this.extensions={},this.presets={},this.extensionsByPriority={}}addConfig(Ie){Ie.types&&Ie.types.forEach(Qe=>this.setType(Qe)),Ie.validators&&Ie.validators.forEach(Qe=>this.setValidator(Qe)),Ie.wrappers&&Ie.wrappers.forEach(Qe=>this.setWrapper(Qe)),Ie.validationMessages&&Ie.validationMessages.forEach(Qe=>this.addValidatorMessage(Qe.name,Qe.message)),Ie.extensions&&this.setSortedExtensions(Ie.extensions),Ie.extras&&(this.extras={...this.extras,...Ie.extras}),Ie.presets&&(this.presets={...this.presets,...Ie.presets.reduce((Qe,Ve)=>({...Qe,[Ve.name]:Ve.config}),{})})}setType(Ie){Array.isArray(Ie)?Ie.forEach(Qe=>this.setType(Qe)):(this.types[Ie.name]||(this.types[Ie.name]={name:Ie.name}),["component","extends","defaultOptions","wrappers"].forEach(Qe=>{Ie.hasOwnProperty(Qe)&&(this.types[Ie.name][Qe]=Ie[Qe])}))}getType(Ie,Qe=!1){if(Ie instanceof r.DyG)return{component:Ie,name:Ie.prototype.constructor.name};if(!this.types[Ie]){if(Qe)throw new Error(`[Formly Error] The type "${Ie}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return null}return this.mergeExtendedType(Ie),this.types[Ie]}getMergedField(Ie={}){const Qe=this.getType(Ie.type);if(!Qe)return;Qe.defaultOptions&&bt(Ie,Qe.defaultOptions);const Ve=Qe.extends&&this.getType(Qe.extends).defaultOptions;Ve&&bt(Ie,Ve),Ie?.optionsTypes&&Ie.optionsTypes.forEach(ot=>{const xt=this.getType(ot).defaultOptions;xt&&bt(Ie,xt)});const tn=this.resolveFieldTypeRef(Ie);tn?.instance?.defaultOptions&&bt(Ie,tn.instance.defaultOptions),!Ie.wrappers&&Qe.wrappers&&(Ie.wrappers=[...Qe.wrappers])}resolveFieldTypeRef(Ie={}){const Qe=this.getType(Ie.type);if(!Qe)return null;if(!Qe.component||Qe._componentRef)return Qe._componentRef;const{_viewContainerRef:Ve,_injector:tn}=Ie.options;if(!Ve||!tn)return null;const ot=Ve.createComponent(Qe.component,{injector:tn});Xt(Qe,"_componentRef",ot);try{ot.destroy()}catch(xt){console.error(`An error occurred while destroying the Formly component type "${Ie.type}"`,xt)}return Qe._componentRef}setWrapper(Ie){this.wrappers[Ie.name]=Ie,Ie.types&&Ie.types.forEach(Qe=>{this.setTypeWrapper(Qe,Ie.name)})}getWrapper(Ie){if(Ie instanceof r.DyG)return{component:Ie,name:Ie.prototype.constructor.name};if(!this.wrappers[Ie])throw new Error(`[Formly Error] The wrapper "${Ie}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.wrappers[Ie]}setTypeWrapper(Ie,Qe){this.types[Ie]||(this.types[Ie]={}),this.types[Ie].wrappers||(this.types[Ie].wrappers=[]),-1===this.types[Ie].wrappers.indexOf(Qe)&&this.types[Ie].wrappers.push(Qe)}setValidator(Ie){this.validators[Ie.name]=Ie}getValidator(Ie){if(!this.validators[Ie])throw new Error(`[Formly Error] The validator "${Ie}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.validators[Ie]}addValidatorMessage(Ie,Qe){this.messages[Ie]=Qe}getValidatorMessage(Ie){return this.messages[Ie]}setSortedExtensions(Ie){Ie.forEach(Qe=>{const Ve=Qe.priority??1;this.extensionsByPriority[Ve]={...this.extensionsByPriority[Ve],[Qe.name]:Qe.extension}}),this.extensions=Object.keys(this.extensionsByPriority).map(Number).sort((Qe,Ve)=>Qe-Ve).reduce((Qe,Ve)=>({...Qe,...this.extensionsByPriority[Ve]}),{})}mergeExtendedType(Ie){if(!this.types[Ie].extends)return;const Qe=this.getType(this.types[Ie].extends);this.types[Ie].component||(this.types[Ie].component=Qe.component),this.types[Ie].wrappers||(this.types[Ie].wrappers=Qe.wrappers)}}return Ut.\u0275fac=function(Ie){return new(Ie||Ut)},Ut.\u0275prov=r.Yz7({token:Ut,factory:Ut.\u0275fac,providedIn:"root"}),Ut})(),_r=(()=>{class Ut{constructor(Ie,Qe,Ve,tn){this.config=Ie,this.injector=Qe,this.viewContainerRef=Ve,this.parentForm=tn}buildForm(Ie,Qe=[],Ve,tn){this.build({fieldGroup:Qe,model:Ve,form:Ie,options:tn})}build(Ie){if(!this.config.extensions.core)throw new Error("NgxFormly: missing `forRoot()` call. use `forRoot()` when registering the `FormlyModule`.");Ie.parent?this._build(Ie):(this._setOptions(Ie),function Oe(Ut,ke){const Ie=Ut._updateTreeValidity.bind(Ut);Ut._updateTreeValidity=()=>{},ke(),Ut._updateTreeValidity=Ie}(Ie.form,()=>{this._build(Ie);const Qe=Ie.options;Qe.checkExpressions?.(Ie,!0),Qe.detectChanges?.(Ie)}))}_build(Ie){if(!Ie)return;const Qe=Object.values(this.config.extensions);Qe.forEach(Ve=>Ve.prePopulate?.(Ie)),Qe.forEach(Ve=>Ve.onPopulate?.(Ie)),Ie.fieldGroup?.forEach(Ve=>this._build(Ve)),Qe.forEach(Ve=>Ve.postPopulate?.(Ie))}_setOptions(Ie){Ie.form=Ie.form||new a.cw({}),Ie.model=Ie.model||{},Ie.options=Ie.options||{};const Qe=Ie.options;Qe._viewContainerRef||Xt(Qe,"_viewContainerRef",this.viewContainerRef),Qe._injector||Xt(Qe,"_injector",this.injector),Qe.build||(Qe._buildForm=()=>{console.warn("Formly: 'options._buildForm' is deprecated since v6.0, use 'options.build' instead."),this.build(Ie)},Qe.build=(Ve=Ie)=>(this.build(Ve),Ve)),!Qe.parentForm&&this.parentForm&&(Xt(Qe,"parentForm",this.parentForm),_n(Qe,["parentForm","submitted"],({firstChange:Ve})=>{Ve||(Qe.checkExpressions(Ie),Qe.detectChanges(Ie))}))}}return Ut.\u0275fac=function(Ie){return new(Ie||Ut)(r.LFG(wr),r.LFG(r.zs3),r.LFG(r.s_b,8),r.LFG(a.sg,8))},Ut.\u0275prov=r.Yz7({token:Ut,factory:Ut.\u0275fac,providedIn:"root"}),Ut})();function oi(Ut,ke=!1){const Ie=Ut.formControl,Qe=Ie._fields?Ie._fields.indexOf(Ut):-1;-1!==Qe&&Ie._fields.splice(Qe,1);const Ve=Ie.parent;if(!Ve)return;const tn={emitEvent:ke};if(Ve instanceof a.Oe){const ot=Ve.controls.findIndex(xt=>xt===Ie);-1!==ot&&Ve.removeAt(ot,tn)}else if(Ve instanceof a.cw){const ot=yt(Ut),xt=ot[ot.length-1];Ve.get([xt])===Ie&&Ve.removeControl(xt,tn)}Ie.setParent(null)}function Ri(Ut){return Ut.formControl?Ut.formControl:!1===Ut.shareFormControl?null:Ut.form?.get(yt(Ut))}function Tr(Ut,ke,Ie=!1){if((ke=ke||Ut.formControl)._fields||Xt(ke,"_fields",[]),-1===ke._fields.indexOf(Ut)&&ke._fields.push(Ut),!Ut.formControl&&ke){Xt(Ut,"formControl",ke),ke.setValidators(null),ke.setAsyncValidators(null),Ut.props.disabled=!!Ut.props.disabled;const xt=_n(Ut,["props","disabled"],({firstChange:qt,currentValue:tr})=>{qt||(tr?Ut.formControl.disable():Ut.formControl.enable())});ke instanceof a.NI&&ke.registerOnDisabledChange(xt.setValue)}if(!Ut.form||!Me(Ut))return;let Qe=Ut.form;const Ve=yt(Ut),tn=ze(Ut);(!Ct(ke.value)||!Ct(tn))&&ke.value!==tn&&ke instanceof a.NI&&ke.patchValue(tn);for(let xt=0;xt<Ve.length-1;xt++){const qt=Ve[xt];Qe.get([qt])||Qe.setControl(qt,new a.cw({}),{emitEvent:Ie}),Qe=Qe.get([qt])}const ot=Ve[Ve.length-1];!Ut._hide&&Qe.get([ot])!==ke&&Qe.setControl(ot,ke,{emitEvent:Ie})}function ft(Ut,ke=!1){const Ie=Ut.status,Qe=Ut.value;Ut.updateValueAndValidity({emitEvent:!1,onlySelf:ke}),Ie!==Ut.status&&Ut.statusChanges.emit(Ut.status),Qe!==Ut.value&&Ut.valueChanges.emit(Ut.value)}function sn(Ut){delete Ut?._fields,Ut.setValidators(null),Ut.setAsyncValidators(null),(Ut instanceof a.cw||Ut instanceof a.Oe)&&Object.values(Ut.controls).forEach(ke=>sn(ke))}let At=(()=>{class Ut{constructor(Ie){this.ref=Ie}ngOnChanges(){this.name=this.name||"formly-group"}}return Ut.\u0275fac=function(Ie){return new(Ie||Ut)(r.Y36(r.Rgc))},Ut.\u0275dir=r.lG2({type:Ut,selectors:[["","formlyTemplate",""]],inputs:{name:["formlyTemplate","name"]},features:[r.TTD]}),Ut})(),Ln=(()=>{class Ut{}return Ut.\u0275fac=function(Ie){return new(Ie||Ut)},Ut.\u0275prov=r.Yz7({token:Ut,factory:Ut.\u0275fac}),Ut})(),rr=(()=>{class Ut{constructor(Ie,Qe,Ve,tn,ot){this.config=Ie,this.renderer=Qe,this._elementRef=Ve,this.hostContainerRef=tn,this.form=ot,this.hostObservers=[],this.componentRefs=[],this.hooksObservers=[],this.detectFieldBuild=!1,this.valueChangesUnsubscribe=()=>{}}get containerRef(){return this.config.extras.renderFormlyFieldElement?this.viewContainerRef:this.hostContainerRef}get elementRef(){return this.config.extras.renderFormlyFieldElement?this._elementRef:this.componentRefs?.[0]instanceof r.UuU?this.componentRefs[0].location:null}ngAfterContentInit(){this.triggerHook("afterContentInit")}ngAfterViewInit(){this.triggerHook("afterViewInit")}ngDoCheck(){this.detectFieldBuild&&this.field&&this.field.options&&this.render()}ngOnInit(){this.triggerHook("onInit")}ngOnChanges(Ie){this.triggerHook("onChanges",Ie)}ngOnDestroy(){this.resetRefs(this.field),this.hostObservers.forEach(Ie=>Ie.unsubscribe()),this.hooksObservers.forEach(Ie=>Ie()),this.valueChangesUnsubscribe(),this.triggerHook("onDestroy")}renderField(Ie,Qe,Ve=[]){if(this.containerRef===Ie&&(this.resetRefs(this.field),this.containerRef.clear(),Ve=this.field?.wrappers),Ve?.length>0){const[tn,...ot]=Ve,{component:xt}=this.config.getWrapper(tn),qt=Ie.createComponent(xt);this.attachComponentRef(qt,Qe),_n(qt.instance,["fieldComponent"],({currentValue:tr,previousValue:vr,firstChange:An})=>{if(tr){if(vr&&vr._lContainer===tr._lContainer)return;const yr=vr?vr.detach():null;yr&&!yr.destroyed?tr.insert(yr):this.renderField(tr,Qe,ot),!An&&qt.changeDetectorRef.detectChanges()}})}else if(Qe?.type){const tn=this.form?.templates?.find(xt=>xt.name===Qe.type);let ot;if(tn)ot=Ie.createEmbeddedView(tn.ref,{$implicit:Qe});else{const{component:xt}=this.config.getType(Qe.type,!0);ot=Ie.createComponent(xt)}this.attachComponentRef(ot,Qe)}}triggerHook(Ie,Qe){if(("onInit"===Ie||"onChanges"===Ie&&Qe.field&&!Qe.field.firstChange)&&(this.valueChangesUnsubscribe=this.fieldChanges(this.field)),this.field?.hooks?.[Ie]&&(!Qe||Qe.field)){const Ve=this.field.hooks[Ie](this.field);if(c(Ve)&&-1!==["onInit","afterContentInit","afterViewInit"].indexOf(Ie)){const tn=Ve.subscribe();this.hooksObservers.push(()=>tn.unsubscribe())}}"onChanges"===Ie&&Qe.field&&(this.resetRefs(Qe.field.previousValue),this.render())}attachComponentRef(Ie,Qe){this.componentRefs.push(Ie),Qe._componentRefs.push(Ie),Ie instanceof r.UuU&&Object.assign(Ie.instance,{field:Qe})}render(){if(this.field){if(!this.field.options)return void(this.detectFieldBuild=!0);this.detectFieldBuild=!1,this.hostObservers.forEach(Ie=>Ie.unsubscribe()),this.hostObservers=[_n(this.field,["hide"],({firstChange:Ie,currentValue:Qe})=>{const Ve=this.containerRef;!1===this.config.extras.lazyRender?(Ie&&this.renderField(Ve,this.field),(!Ie||Ie&&Qe)&&this.elementRef&&this.renderer.setStyle(this.elementRef.nativeElement,"display",Qe?"none":"")):Qe?(Ve.clear(),this.field.className&&this.renderer.removeAttribute(this.elementRef.nativeElement,"class")):(this.renderField(Ve,this.field),this.field.className&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",this.field.className)),!Ie&&this.field.options.detectChanges(this.field)}),_n(this.field,["className"],({firstChange:Ie,currentValue:Qe})=>{(!Ie||Ie&&Qe)&&(!this.config.extras.lazyRender||!0!==this.field.hide)&&this.elementRef&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",Qe)}),...["touched","pristine","status"].map(Ie=>_n(this.field,["formControl",Ie],({firstChange:Qe})=>!Qe&&ri(this.field)))]}}resetRefs(Ie){Ie&&(Ie._componentRefs?Ie._componentRefs=Ie._componentRefs.filter(Qe=>-1===this.componentRefs.indexOf(Qe)):Xt(this.field,"_componentRefs",[])),this.componentRefs=[]}fieldChanges(Ie){if(this.valueChangesUnsubscribe(),!Ie)return()=>{};const Qe=[un(Ie,["props"],()=>Ie.options.detectChanges(Ie)),un(Ie.options,["formState"],()=>Ie.options.detectChanges(Ie))];for(const Ve of Object.keys(Ie._expressions)){const tn=_n(Ie,["_expressions",Ve],({currentValue:ot,previousValue:xt})=>{xt?.subscription&&(xt.subscription.unsubscribe(),xt.subscription=null),c(ot.value$)&&(ot.subscription=ot.value$.subscribe())});Qe.push(()=>{Ie._expressions[Ve]?.subscription&&Ie._expressions[Ve].subscription.unsubscribe(),tn.unsubscribe()})}for(const Ve of[["template"],["fieldGroupClassName"],["validation","show"]]){const tn=_n(Ie,Ve,({firstChange:ot})=>!ot&&Ie.options.detectChanges(Ie));Qe.push(()=>tn.unsubscribe())}if(Ie.formControl&&!Ie.fieldGroup){const Ve=Ie.formControl;let tn=Ve.valueChanges.pipe((0,E.x)((tr,vr)=>!(tr!==vr||Array.isArray(tr)||bn(tr))));Ve.value!==ze(Ie)&&(tn=tn.pipe((0,T.O)(Ve.value)));const{updateOn:ot,debounce:xt}=Ie.modelOptions;(!ot||"change"===ot)&&xt?.default>0&&(tn=Ve.valueChanges.pipe((0,D.b)(xt.default)));const qt=tn.subscribe(tr=>{Ve._fields?.length>1&&Ve instanceof a.NI&&Ve.patchValue(tr,{emitEvent:!1,onlySelf:!0}),Ie.parsers?.forEach(vr=>tr=vr(tr)),tr===Ie.formControl.value?(Me(Ie)&&tt(Ie,tr),Ie.options.fieldChanges.next({value:tr,field:Ie,type:"valueChanges"})):Ie.formControl.setValue(tr)});Qe.push(()=>qt.unsubscribe())}return()=>Qe.forEach(Ve=>Ve())}}return Ut.\u0275fac=function(Ie){return new(Ie||Ut)(r.Y36(wr),r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(Ln,8))},Ut.\u0275cmp=r.Xpm({type:Ut,selectors:[["formly-field"]],viewQuery:function(Ie,Qe){if(1&Ie&&r.Gf(pe,7,r.s_b),2&Ie){let Ve;r.iGM(Ve=r.CRH())&&(Qe.viewContainerRef=Ve.first)}},inputs:{field:"field"},features:[r.TTD],decls:2,vars:0,consts:[["container",""]],template:function(Ie,Qe){1&Ie&&r.YNc(0,j,0,0,"ng-template",null,0,r.W1O)},styles:["[_nghost-%COMP%]:empty{display:none}"]}),Ut})(),Lr=(()=>{class Ut{constructor(Ie,Qe,Ve,tn){this.builder=Ie,this.config=Qe,this.ngZone=Ve,this.fieldTemplates=tn,this.modelChange=new r.vpe,this.field={type:"formly-group"},this._modelChangeValue={},this.valueChangesUnsubscribe=()=>{}}set form(Ie){this.field.form=Ie}get form(){return this.field.form}set model(Ie){this.setField({model:Ie})}get model(){return this.field.model}set fields(Ie){this.setField({fieldGroup:Ie})}get fields(){return this.field.fieldGroup}set options(Ie){this.setField({options:Ie})}get options(){return this.field.options}set templates(Ie){this.fieldTemplates.templates=Ie}ngDoCheck(){"changeDetectionCheck"===this.config.extras.checkExpressionOn&&this.checkExpressionChange()}ngOnChanges(Ie){Ie.fields&&this.form&&sn(this.form),(Ie.fields||Ie.form||Ie.model&&this._modelChangeValue!==Ie.model.currentValue)&&(this.valueChangesUnsubscribe(),this.builder.build(this.field),this.valueChangesUnsubscribe=this.valueChanges())}ngOnDestroy(){this.valueChangesUnsubscribe()}checkExpressionChange(){this.field.options.checkExpressions?.(this.field)}valueChanges(){this.valueChangesUnsubscribe();const Ie=this.field.options.fieldChanges.pipe((0,A.h)(({field:Qe,type:Ve})=>Me(Qe)&&"valueChanges"===Ve),(0,$.w)(()=>this.ngZone.onStable.asObservable().pipe((0,Q.q)(1)))).subscribe(()=>this.ngZone.runGuarded(()=>{this.checkExpressionChange(),this.modelChange.emit(this._modelChangeValue=Rt(this.model))}));return()=>Ie.unsubscribe()}setField(Ie){this.config.extras.immutable?this.field={...this.field,...Rt(Ie)}:Object.keys(Ie).forEach(Qe=>this.field[Qe]=Ie[Qe])}}return Ut.\u0275fac=function(Ie){return new(Ie||Ut)(r.Y36(_r),r.Y36(wr),r.Y36(r.R0b),r.Y36(Ln))},Ut.\u0275cmp=r.Xpm({type:Ut,selectors:[["formly-form"]],contentQueries:function(Ie,Qe,Ve){if(1&Ie&&r.Suo(Ve,At,4),2&Ie){let tn;r.iGM(tn=r.CRH())&&(Qe.templates=tn)}},inputs:{form:"form",model:"model",fields:"fields",options:"options"},outputs:{modelChange:"modelChange"},features:[r._Bn([_r,Ln]),r.TTD],decls:1,vars:1,consts:[[3,"field"]],template:function(Ie,Qe){1&Ie&&r._UZ(0,"formly-field",0),2&Ie&&r.Q6J("field",Qe.field)},dependencies:[rr],encapsulation:2,changeDetection:0}),Ut})(),Fi=(()=>{class Ut{constructor(Ie,Qe,Ve){this.renderer=Ie,this.elementRef=Qe,this.uiAttributesCache={},this.uiEvents={listeners:[],events:["click","keyup","keydown","keypress","focus","blur","change"],callback:(tn,ot)=>{switch(tn){case"focus":return this.onFocus(ot);case"blur":return this.onBlur(ot);case"change":return this.onChange(ot);default:return this.props[tn](this.field,ot)}}},this.document=Ve}get props(){return this.field.props||{}}get fieldAttrElements(){return this.field?._elementRefs||[]}ngOnChanges(Ie){Ie.field&&(this.field.name&&this.setAttribute("name",this.field.name),this.uiEvents.listeners.forEach(Qe=>Qe()),this.uiEvents.events.forEach(Qe=>{(this.props?.[Qe]||-1!==["focus","blur","change"].indexOf(Qe))&&this.uiEvents.listeners.push(this.renderer.listen(this.elementRef.nativeElement,Qe,Ve=>this.uiEvents.callback(Qe,Ve)))}),this.props?.attributes&&_n(this.field,["props","attributes"],({currentValue:Qe,previousValue:Ve})=>{Ve&&Object.keys(Ve).forEach(tn=>this.removeAttribute(tn)),Qe&&Object.keys(Qe).forEach(tn=>{null!=Qe[tn]&&this.setAttribute(tn,Qe[tn])})}),this.detachElementRef(Ie.field.previousValue),this.attachElementRef(Ie.field.currentValue),1===this.fieldAttrElements.length&&(!this.id&&this.field.id&&this.setAttribute("id",this.field.id),this.focusObserver=_n(this.field,["focus"],({currentValue:Qe})=>{this.toggleFocus(Qe)}))),Ie.id&&this.setAttribute("id",this.id)}ngDoCheck(){if(!this.uiAttributes){const Ie=this.elementRef.nativeElement;this.uiAttributes=[...et,"tabindex","placeholder","readonly","disabled","step"].filter(Qe=>!Ie.hasAttribute||!Ie.hasAttribute(Qe))}this.uiAttributes.forEach(Ie=>{const Qe=this.props[Ie];this.uiAttributesCache[Ie]!==Qe&&(!this.props.attributes||!this.props.attributes.hasOwnProperty(Ie.toLowerCase()))&&(this.uiAttributesCache[Ie]=Qe,Qe||0===Qe?this.setAttribute(Ie,!0===Qe?Ie:`${Qe}`):this.removeAttribute(Ie))})}ngOnDestroy(){this.uiEvents.listeners.forEach(Ie=>Ie()),this.detachElementRef(this.field),this.focusObserver?.unsubscribe()}toggleFocus(Ie){const Qe=this.fieldAttrElements?this.fieldAttrElements[0]:null;if(!Qe||!Qe.nativeElement.focus)return;const Ve=!!this.document.activeElement&&this.fieldAttrElements.some(({nativeElement:tn})=>this.document.activeElement===tn||tn.contains(this.document.activeElement));Ie&&!Ve?Promise.resolve().then(()=>Qe.nativeElement.focus()):!Ie&&Ve&&Promise.resolve().then(()=>Qe.nativeElement.blur())}onFocus(Ie){this.focusObserver?.setValue(!0),this.props.focus?.(this.field,Ie)}onBlur(Ie){this.focusObserver?.setValue(!1),this.props.blur?.(this.field,Ie)}onHostChange(Ie){Ie instanceof Event||this.onChange(Ie)}onChange(Ie){this.props.change?.(this.field,Ie),this.field.formControl?.markAsDirty()}attachElementRef(Ie){Ie&&(-1===Ie._elementRefs?.indexOf(this.elementRef)?Ie._elementRefs.push(this.elementRef):Xt(Ie,"_elementRefs",[this.elementRef]))}detachElementRef(Ie){const Qe=Ie?._elementRefs?this.fieldAttrElements.indexOf(this.elementRef):-1;-1!==Qe&&Ie._elementRefs.splice(Qe,1)}setAttribute(Ie,Qe){this.renderer.setAttribute(this.elementRef.nativeElement,Ie,Qe)}removeAttribute(Ie){this.renderer.removeAttribute(this.elementRef.nativeElement,Ie)}}return Ut.\u0275fac=function(Ie){return new(Ie||Ut)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(L.K0))},Ut.\u0275dir=r.lG2({type:Ut,selectors:[["","formlyAttributes",""]],hostBindings:function(Ie,Qe){1&Ie&&r.NdJ("change",function(tn){return Qe.onHostChange(tn)})},inputs:{field:["formlyAttributes","field"],id:"id"},features:[r.TTD]}),Ut})(),so=(()=>{class Ut{get model(){return this.field.model}get form(){return this.field.form}get options(){return this.field.options}get key(){return this.field.key}get formControl(){return this.field.formControl}get props(){return this.field.props||{}}get to(){return this.props}get showError(){return this.options.showError(this)}get id(){return this.field.id}get formState(){return this.options.formState||{}}}return Ut.\u0275fac=function(Ie){return new(Ie||Ut)},Ut.\u0275dir=r.lG2({type:Ut,inputs:{field:"field"}}),Ut})(),Vo=(()=>{class Ut extends so{}return Ut.\u0275fac=function(){let ke;return function(Qe){return(ke||(ke=r.n5z(Ut)))(Qe||Ut)}}(),Ut.\u0275cmp=r.Xpm({type:Ut,selectors:[["formly-group"]],hostVars:2,hostBindings:function(Ie,Qe){2&Ie&&r.Tol(Qe.field.fieldGroupClassName||"")},features:[r.qOj],ngContentSelectors:ie,decls:2,vars:1,consts:[[3,"field",4,"ngFor","ngForOf"],[3,"field"]],template:function(Ie,Qe){1&Ie&&(r.F$t(),r.YNc(0,ue,1,1,"formly-field",0),r.Hsn(1)),2&Ie&&r.Q6J("ngForOf",Qe.field.fieldGroup)},dependencies:[rr,L.sg],encapsulation:2,changeDetection:0}),Ut})(),Xr=(()=>{class Ut{constructor(Ie){this.config=Ie}ngOnChanges(){const Ie=et.map(Qe=>`templateOptions.${Qe}`);this.errorMessage$=(0,e.T)(this.field.formControl.statusChanges,this.field.options?this.field.options.fieldChanges.pipe((0,A.h)(({field:Qe,type:Ve,property:tn})=>Qe===this.field&&"expressionChanges"===Ve&&(-1!==tn.indexOf("validation")||-1!==Ie.indexOf(tn)))):(0,f.of)(null)).pipe((0,T.O)(null),(0,$.w)(()=>c(this.errorMessage)?this.errorMessage:(0,f.of)(this.errorMessage)))}get errorMessage(){const Ie=this.field.formControl;for(const Qe in Ie.errors)if(Ie.errors.hasOwnProperty(Qe)){let Ve=this.config.getValidatorMessage(Qe);if(bn(Ie.errors[Qe])){if(Ie.errors[Qe].errorPath)return;Ie.errors[Qe].message&&(Ve=Ie.errors[Qe].message)}return this.field.validation?.messages?.[Qe]&&(Ve=this.field.validation.messages[Qe]),this.field.validators?.[Qe]?.message&&(Ve=this.field.validators[Qe].message),this.field.asyncValidators?.[Qe]?.message&&(Ve=this.field.asyncValidators[Qe].message),"function"==typeof Ve?Ve(Ie.errors[Qe],this.field):Ve}}}return Ut.\u0275fac=function(Ie){return new(Ie||Ut)(r.Y36(wr))},Ut.\u0275cmp=r.Xpm({type:Ut,selectors:[["formly-validation-message"]],inputs:{field:"field"},features:[r.TTD],decls:2,vars:3,template:function(Ie,Qe){1&Ie&&(r._uU(0),r.ALo(1,"async")),2&Ie&&r.Oqu(r.lcZ(1,1,Qe.errorMessage$))},dependencies:[L.Ov],encapsulation:2,changeDetection:0}),Ut})(),Ni=(()=>{class Ut extends so{onPopulate(Ie){!Ie.formControl&&Me(Ie)&&Tr(Ie,Ri(Ie)||new a.Oe([],{updateOn:Ie.modelOptions.updateOn})),Ie.fieldGroup=Ie.fieldGroup||[];const Qe=Array.isArray(Ie.model)?Ie.model.length:0;if(Ie.fieldGroup.length>Qe)for(let Ve=Ie.fieldGroup.length-1;Ve>=Qe;--Ve)oi(Ie.fieldGroup[Ve],!0),Ie.fieldGroup.splice(Ve,1);for(let Ve=Ie.fieldGroup.length;Ve<Qe;Ve++){const tn={...Rt("function"==typeof Ie.fieldArray?Ie.fieldArray(Ie):Ie.fieldArray),key:`${Ve}`};Ie.fieldGroup.push(tn)}}add(Ie,Qe,{markAsDirty:Ve}={markAsDirty:!0}){Ie=Ie??this.field.fieldGroup.length,this.model||tt(this.field,[]),this.model.splice(Ie,0,Qe?Rt(Qe):void 0),this._build(),Ve&&this.formControl.markAsDirty()}remove(Ie,{markAsDirty:Qe}={markAsDirty:!0}){this.model.splice(Ie,1);const Ve=this.field.fieldGroup[Ie];this.field.fieldGroup.splice(Ie,1),this.field.fieldGroup.forEach((tn,ot)=>tn.key=`${ot}`),oi(Ve,!0),this._build(),Qe&&this.formControl.markAsDirty()}_build(){(this.field.formControl._fields??[this.field]).forEach(Qe=>this.options.build(Qe)),this.options.fieldChanges.next({field:this.field,value:ze(this.field),type:"valueChanges"})}}return Ut.\u0275fac=function(){let ke;return function(Qe){return(ke||(ke=r.n5z(Ut)))(Qe||Ut)}}(),Ut.\u0275dir=r.lG2({type:Ut,features:[r.qOj]}),Ut})(),ji=(()=>{class Ut extends so{set _staticContent(Ie){this.fieldComponent=Ie}}return Ut.\u0275fac=function(){let ke;return function(Qe){return(ke||(ke=r.n5z(Ut)))(Qe||Ut)}}(),Ut.\u0275dir=r.lG2({type:Ut,viewQuery:function(Ie,Qe){if(1&Ie&&(r.Gf(me,5,r.s_b),r.Gf(me,7,r.s_b)),2&Ie){let Ve;r.iGM(Ve=r.CRH())&&(Qe.fieldComponent=Ve.first),r.iGM(Ve=r.CRH())&&(Qe._staticContent=Ve.first)}},features:[r.qOj]}),Ut})(),jr=(()=>{class Ut extends so{constructor(Ie){super(),this.sanitizer=Ie,this.innerHtml={}}get template(){return this.field&&this.field.template!==this.innerHtml.template&&(this.innerHtml={template:this.field.template,content:this.props.safeHtml?this.sanitizer.bypassSecurityTrustHtml(this.field.template):this.field.template}),this.innerHtml.content}}return Ut.\u0275fac=function(Ie){return new(Ie||Ut)(r.Y36(J.H7))},Ut.\u0275cmp=r.Xpm({type:Ut,selectors:[["formly-template"]],features:[r.qOj],decls:1,vars:1,consts:[[3,"innerHtml"]],template:function(Ie,Qe){1&Ie&&r._UZ(0,"div",0),2&Ie&&r.Q6J("innerHtml",Qe.template,r.oJD)},encapsulation:2,changeDetection:0}),Ut})();class cs{onPopulate(ke){if(ke._expressions)return;Xt(ke,"_expressions",{}),_n(ke,["hide"],({currentValue:Qe,firstChange:Ve})=>{Xt(ke,"_hide",!!Qe),(!Ve||Ve&&!0===Qe)&&(ke.props.hidden=Qe,ke.options._hiddenFieldsForCheck.push(ke))}),ke.hideExpression&&_n(ke,["hideExpression"],({currentValue:Qe})=>{ke._expressions.hide=this.parseExpressions(ke,"hide","boolean"==typeof Qe?()=>Qe:Qe)});const Ie=(Qe,Ve)=>{"string"==typeof Ve||en(Ve)?ke._expressions[Qe]=this.parseExpressions(ke,Qe,Ve):Ve instanceof u.y&&(ke._expressions[Qe]={value$:Ve.pipe((0,U.b)(tn=>{this.evalExpr(ke,Qe,tn),ke.options.detectChanges(ke)}))})};ke.expressions=ke.expressions||{};for(const Qe of Object.keys(ke.expressions))_n(ke,["expressions",Qe],({currentValue:Ve})=>{Ie(Qe,en(Ve)?(...tn)=>Ve(ke,tn[3]):Ve)});ke.expressionProperties=ke.expressionProperties||{};for(const Qe of Object.keys(ke.expressionProperties))_n(ke,["expressionProperties",Qe],({currentValue:Ve})=>Ie(Qe,Ve))}postPopulate(ke){if(!ke.parent&&!ke.options.checkExpressions){let Ie=!1;ke.options.checkExpressions=(Qe,Ve)=>{if(Ie)return;Ie=!0;const tn=this.checkExpressions(Qe,Ve),ot=ke.options;ot._hiddenFieldsForCheck.sort(xt=>xt.hide?-1:1).forEach(xt=>this.changeHideState(xt,xt.hide,!Ve)),ot._hiddenFieldsForCheck=[],tn&&(this.checkExpressions(ke),ke.options&&ke.options.detectChanges&&ke.options.detectChanges(ke)),Ie=!1},ke.options._checkField=(Qe,Ve)=>{console.warn("Formly: 'options._checkField' is deprecated since v6.0, use 'options.checkExpressions' instead."),ke.options.checkExpressions(Qe,Ve)}}}parseExpressions(ke,Ie,Qe){let Ve,tn;if(ke.parent&&["hide","props.disabled"].includes(Ie)){const ot=xt=>"hide"===Ie?xt.hide:xt.props.disabled;Ve=()=>{let xt=ke.parent;for(;xt.parent&&!ot(xt);)xt=xt.parent;return ot(xt)}}return"string"==typeof(Qe=Qe||(()=>!1))&&(Qe=function Pr(Ut,ke){try{return Function(...ke,`return ${Ut};`)}catch(Ie){console.error(Ie)}}(Qe,["model","formState","field"])),{callback:ot=>{try{const xt=function Bo(Ut,ke,Ie){return"function"==typeof Ut?Ut.apply(ke,Ie):!!Ut}(Ve?(...qt)=>Ve(ke)||Qe(...qt):Qe,{field:ke},[ke.model,ke.options.formState,ke,ot]);return!(!ot&&(tn===xt||bn(xt)&&!c(xt)&&JSON.stringify(xt)===JSON.stringify(tn))||(tn=xt,this.evalExpr(ke,Ie,xt),0))}catch(xt){throw xt.message=`[Formly Error] [Expression "${Ie}"] ${xt.message}`,xt}}}}checkExpressions(ke,Ie=!1){if(!ke)return!1;let Qe=!1;if(ke._expressions)for(const Ve of Object.keys(ke._expressions))ke._expressions[Ve].callback?.(Ie)&&(Qe=!0);return ke.fieldGroup?.forEach(Ve=>this.checkExpressions(Ve,Ie)&&(Qe=!0)),Qe}changeDisabledState(ke,Ie){ke.fieldGroup&&ke.fieldGroup.filter(Qe=>!Qe._expressions.hasOwnProperty("props.disabled")).forEach(Qe=>this.changeDisabledState(Qe,Ie)),Me(ke)&&ke.props.disabled!==Ie&&(ke.props.disabled=Ie)}changeHideState(ke,Ie,Qe){if(ke.fieldGroup&&ke.fieldGroup.filter(Ve=>!Ve._expressions.hide).forEach(Ve=>this.changeHideState(Ve,Ie,Qe)),ke.formControl&&Me(ke)){Xt(ke,"_hide",!(!Ie&&!ke.hide));const Ve=ke.formControl;Ve._fields?.length>1&&ft(Ve),!0!==Ie||Ve._fields&&!Ve._fields.every(tn=>!!tn._hide)?!1===Ie&&(ke.resetOnHide&&!Qt(ke.defaultValue)&&Qt(ze(ke))&&tt(ke,ke.defaultValue),Tr(ke,void 0,!0),ke.resetOnHide&&ke.fieldArray&&ke.fieldGroup?.length!==ke.model?.length&&ke.options.build(ke)):(oi(ke,!0),Qe&&ke.resetOnHide&&(tt(ke,void 0),ke.formControl.reset({value:void 0,disabled:ke.formControl.disabled}),ke.options.fieldChanges.next({value:void 0,field:ke,type:"valueChanges"}),ke.fieldGroup&&ke.formControl instanceof a.Oe&&(ke.fieldGroup.length=0)))}ke.options.fieldChanges&&ke.options.fieldChanges.next({field:ke,type:"hidden",value:Ie})}evalExpr(ke,Ie,Qe){try{let Ve=ke;const tn=this._evalExpressionPath(ke,Ie),ot=tn.length-1;for(let xt=0;xt<ot;xt++)Ve=Ve[tn[xt]];Ve[tn[ot]]=Qe}catch(Ve){throw Ve.message=`[Formly Error] [Expression "${Ie}"] ${Ve.message}`,Ve}if(["templateOptions.disabled","props.disabled"].includes(Ie)&&Me(ke)&&this.changeDisabledState(ke,Qe),0===Ie.indexOf("model.")){const Ve=Ie.replace(/^model\./,""),tn=ke?.key===Ve?ke.formControl:ke.form.get(Ve);tn&&(!Ct(tn.value)||!Ct(Qe))&&tn.value!==Qe&&tn.patchValue(Qe)}this.emitExpressionChanges(ke,Ie,Qe)}emitExpressionChanges(ke,Ie,Qe){ke.options.fieldChanges&&ke.options.fieldChanges.next({field:ke,type:"expressionChanges",property:Ie,value:Qe})}_evalExpressionPath(ke,Ie){if(ke._expressions[Ie]&&ke._expressions[Ie].paths)return ke._expressions[Ie].paths;let Qe=[];return-1===Ie.indexOf("[")?Qe=Ie.split("."):Ie.split(/[[\]]{1,2}/).filter(Ve=>Ve).forEach(Ve=>{const tn=Ve.match(/['|"](.*?)['|"]/);tn?Qe.push(tn[1]):Qe.push(...Ve.split(".").filter(ot=>ot))}),ke._expressions[Ie]&&(ke._expressions[Ie].paths=Qe),Qe}}class ts{constructor(ke){this.config=ke}onPopulate(ke){this.initFieldValidation(ke,"validators"),this.initFieldValidation(ke,"asyncValidators")}initFieldValidation(ke,Ie){const Qe=[];if("validators"===Ie&&!(ke.hasOwnProperty("fieldGroup")&&!Me(ke))&&Qe.push(this.getPredefinedFieldValidation(ke)),ke[Ie])for(const Ve of Object.keys(ke[Ie]))"validation"===Ve?Qe.push(...ke[Ie].validation.map(tn=>this.wrapNgValidatorFn(ke,tn))):Qe.push(this.wrapNgValidatorFn(ke,ke[Ie][Ve],Ve));Xt(ke,"_"+Ie,Qe)}getPredefinedFieldValidation(ke){let Ie=[];return et.forEach(Qe=>_n(ke,["props",Qe],({currentValue:Ve,firstChange:tn})=>{Ie=Ie.filter(ot=>ot!==Qe),null!=Ve&&!1!==Ve&&Ie.push(Qe),!tn&&ke.formControl&&ft(ke.formControl)})),Qe=>0===Ie.length?null:a.kI.compose(Ie.map(Ve=>()=>{const tn=ke.props[Ve];switch(Ve){case"required":return a.kI.required(Qe);case"pattern":return a.kI.pattern(tn)(Qe);case"minLength":const ot=a.kI.minLength(tn)(Qe),xt=this.config.getValidatorMessage("minlength")||ke.validation?.messages?.minlength?"minlength":"minLength";return ot?{[xt]:ot.minlength}:null;case"maxLength":const qt=a.kI.maxLength(tn)(Qe),tr=this.config.getValidatorMessage("maxlength")||ke.validation?.messages?.maxlength?"maxlength":"maxLength";return qt?{[tr]:qt.maxlength}:null;case"min":return a.kI.min(tn)(Qe);case"max":return a.kI.max(tn)(Qe);default:return null}}))(Qe)}wrapNgValidatorFn(ke,Ie,Qe){let Ve;if("string"==typeof Ie&&(Ve=Rt(this.config.getValidator(Ie))),"object"==typeof Ie&&Ie.name&&(Ve=Rt(this.config.getValidator(Ie.name)),Ie.options&&(Ve.options=Ie.options)),"object"==typeof Ie&&Ie.expression){const{expression:tn,...ot}=Ie;Ve={name:Qe,validation:tn,options:Object.keys(ot).length>0?ot:null}}return"function"==typeof Ie&&(Ve={name:Qe,validation:Ie}),tn=>{const ot=Ve.validation(tn,ke,Ve.options);return function Dn(Ut){return!!Ut&&"function"==typeof Ut.then}(ot)?ot.then(xt=>this.handleAsyncResult(ke,Qe?!!xt:xt,Ve)):c(ot)?ot.pipe((0,q.U)(xt=>this.handleAsyncResult(ke,Qe?!!xt:xt,Ve))):this.handleResult(ke,Qe?!!ot:ot,Ve)}}handleAsyncResult(ke,Ie,Qe){return ke.options.detectChanges(ke),this.handleResult(ke,Ie,Qe)}handleResult(ke,Ie,{name:Qe,options:Ve}){"boolean"==typeof Ie&&(Ie=Ie?null:{[Qe]:Ve||!0});const tn=ke.formControl;return tn?._childrenErrors?.[Qe]?.(),bn(Ie)&&Object.keys(Ie).forEach(ot=>{const xt=Ie[ot].errorPath?Ie[ot].errorPath:Ve?.errorPath,qt=xt?ke.formControl.get(xt):null;if(qt){const{errorPath:tr,...vr}=Ie[ot];qt.setErrors({...qt.errors||{},[ot]:vr}),!tn._childrenErrors&&Xt(tn,"_childrenErrors",{}),tn._childrenErrors[ot]=()=>{const{[ot]:An,...yr}=qt.errors||{};qt.setErrors(0===Object.keys(yr).length?null:yr)}}}),Ie}}class io{prePopulate(ke){this.root||(this.root=ke),ke.parent&&Object.defineProperty(ke,"form",{get:()=>ke.parent.formControl,configurable:!0})}onPopulate(ke){ke.hasOwnProperty("fieldGroup")&&!Me(ke)?Xt(ke,"formControl",ke.form):this.addFormControl(ke)}postPopulate(ke){if(this.root===ke&&(this.root=null,this.setValidators(ke)&&ke.parent)){let Qe=ke.parent;for(;Qe;)(Me(Qe)||!Qe.parent)&&ft(Qe.formControl,!0),Qe=Qe.parent}}addFormControl(ke){let Ie=Ri(ke);if(!Ie){const Qe={updateOn:ke.modelOptions.updateOn};if(ke.fieldGroup)Ie=new a.cw({},Qe);else{const Ve=Me(ke)?ze(ke):ke.defaultValue;Ie=new a.NI({value:Ve,disabled:!1},{...Qe,initialValueIsDefault:!0})}}Tr(ke,Ie)}setValidators(ke,Ie=!1){!1===Ie&&Me(ke)&&ke.props?.disabled&&(Ie=!0);let Qe=!1;if(ke.fieldGroup?.forEach(Ve=>Ve&&this.setValidators(Ve,Ie)&&(Qe=!0)),Me(ke)||!ke.parent||!Me(ke)&&!ke.fieldGroup){const{formControl:Ve}=ke;if(Ve&&(Me(ke)&&Ve instanceof a.NI&&(Ie&&Ve.enabled&&(Ve.disable({emitEvent:!1,onlySelf:!0}),Qe=!0),!Ie&&Ve.disabled&&(Ve.enable({emitEvent:!1,onlySelf:!0}),Qe=!0)),(null===Ve.validator||null===Ve.asyncValidator)&&(Ve.setValidators(()=>{const tn=a.kI.compose(this.mergeValidators(ke,"_validators"));return tn?tn(Ve):null}),Ve.setAsyncValidators(()=>{const tn=a.kI.composeAsync(this.mergeValidators(ke,"_asyncValidators"));return tn?tn(Ve):(0,f.of)(null)}),Qe=!0),Qe)){ft(Ve,!0);let tn=Ve.parent;for(let ot=1;ot<yt(ke).length;ot++)tn&&(ft(tn,!0),tn=tn.parent)}}return Qe}mergeValidators(ke,Ie){const Qe=[],Ve=ke.formControl;return Ve?._fields?.length>1?Ve._fields.filter(tn=>!tn._hide).forEach(tn=>Qe.push(...tn[Ie])):ke[Ie]&&Qe.push(...ke[Ie]),ke.fieldGroup&&ke.fieldGroup.filter(tn=>tn?.fieldGroup&&!Me(tn)).forEach(tn=>Qe.push(...this.mergeValidators(tn,Ie))),Qe}}class Vi{constructor(ke){this.config=ke,this.formId=0}prePopulate(ke){const Ie=ke.parent;this.initRootOptions(ke),this.initFieldProps(ke),Ie&&(Object.defineProperty(ke,"options",{get:()=>Ie.options,configurable:!0}),Object.defineProperty(ke,"model",{get:()=>Me(ke)&&ke.fieldGroup?ze(ke):Ie.model,configurable:!0})),Object.defineProperty(ke,"get",{value:Qe=>kn(ke,Qe),configurable:!0}),this.getFieldComponentInstance(ke).prePopulate?.(ke)}onPopulate(ke){this.initFieldOptions(ke),this.getFieldComponentInstance(ke).onPopulate?.(ke),ke.fieldGroup&&ke.fieldGroup.forEach((Ie,Qe)=>{Ie&&(Object.defineProperty(Ie,"parent",{get:()=>ke,configurable:!0}),Object.defineProperty(Ie,"index",{get:()=>Qe,configurable:!0})),this.formId++})}postPopulate(ke){this.getFieldComponentInstance(ke).postPopulate?.(ke)}initFieldProps(ke){ke.props??(ke.props=ke.templateOptions),Object.defineProperty(ke,"templateOptions",{get:()=>ke.props,set:Ie=>ke.props=Ie,configurable:!0})}initRootOptions(ke){if(ke.parent)return;const Ie=ke.options;ke.options.formState=ke.options.formState||{},Ie.showError||(Ie.showError=this.config.extras.showError),Ie.fieldChanges||Xt(Ie,"fieldChanges",new h.xQ),Ie._hiddenFieldsForCheck||(Ie._hiddenFieldsForCheck=[]),Ie._markForCheck=Qe=>{console.warn("Formly: 'options._markForCheck' is deprecated since v6.0, use 'options.detectChanges' instead."),Ie.detectChanges(Qe)},Ie.detectChanges=Qe=>{Qe._componentRefs&&(Qe.options.checkExpressions(Qe),ri(Qe)),Qe.fieldGroup?.forEach(Ve=>Ve&&Ie.detectChanges(Ve))},Ie.resetModel=Qe=>{Qe=Rt(Qe??Ie._initialModel),ke.model&&(Object.keys(ke.model).forEach(Ve=>delete ke.model[Ve]),Object.assign(ke.model,Qe||{})),Ie.build(ke),ke.form.reset(ke.model),Ie.parentForm&&Ie.parentForm.control===ke.formControl&&(Ie.parentForm.submitted=!1)},Ie.updateInitialValue=Qe=>Ie._initialModel=Rt(Qe??ke.model),ke.options.updateInitialValue()}initFieldOptions(ke){if(bt(ke,{id:Ue(`formly_${this.formId}`,ke,ke.index),hooks:{},modelOptions:{},validation:{messages:{}},props:ke.type&&Me(ke)?{label:"",placeholder:"",disabled:!1}:{}}),this.config.extras.resetFieldOnHide&&!1!==ke.resetOnHide&&(ke.resetOnHide=!0),"formly-template"!==ke.type&&(ke.template||ke.expressions?.template||ke.expressionProperties?.template)&&(ke.type="formly-template"),!ke.type&&ke.fieldGroup&&(ke.type="formly-group"),ke.type&&this.config.getMergedField(ke),Me(ke)&&!Qt(ke.defaultValue)&&Qt(ze(ke))){const Ie=Ve=>Ve.hide||Ve.expressions?.hide||Ve.hideExpression;let Qe=!ke.resetOnHide||!Ie(ke);if(!Ie(ke)&&ke.resetOnHide){let Ve=ke.parent;for(;Ve&&!Ie(Ve);)Ve=Ve.parent;Qe=!Ve||!Ie(Ve)}Qe&&tt(ke,ke.defaultValue)}ke.wrappers=ke.wrappers||[]}getFieldComponentInstance(ke){const Ie=()=>{let Qe=this.config.resolveFieldTypeRef(ke);const Ve=ke._componentRefs?.slice(-1)[0];return Ve instanceof r.UuU&&Ve?.componentType===Qe?.componentType&&(Qe=Ve),Qe?.instance};return ke._proxyInstance||Xt(ke,"_proxyInstance",new Proxy({},{get:(Qe,Ve)=>Ie()?.[Ve],set:(Qe,Ve,tn)=>Ie()[Ve]=tn})),ke._proxyInstance}}function Pn(Ut){return{types:[{name:"formly-group",component:Vo},{name:"formly-template",component:jr}],extensions:[{name:"core",extension:new Vi(Ut),priority:-250},{name:"field-validation",extension:new ts(Ut),priority:-200},{name:"field-form",extension:new io,priority:-150},{name:"field-expression",extension:new cs,priority:-100}]}}let Nn=(()=>{class Ut{constructor(Ie,Qe=[]){Qe&&Qe.forEach(Ve=>Ie.addConfig(Ve))}static forRoot(Ie={}){return{ngModule:Ut,providers:[{provide:Ir,multi:!0,useFactory:Pn,deps:[wr]},{provide:Ir,useValue:Ie,multi:!0},wr,_r]}}static forChild(Ie={}){return{ngModule:Ut,providers:[{provide:Ir,multi:!0,useFactory:Pn,deps:[wr]},{provide:Ir,useValue:Ie,multi:!0},_r]}}}return Ut.\u0275fac=function(Ie){return new(Ie||Ut)(r.LFG(wr),r.LFG(Ir,8))},Ut.\u0275mod=r.oAB({type:Ut}),Ut.\u0275inj=r.cJS({imports:[[L.ez]]}),Ut})()},10172:(y,b,o)=>{"use strict";o.d(b,{IQ:()=>Fi,kL:()=>Kc,zX:()=>fn});var r=o(75875);class a{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(w,C,N,B){const he=C.duration;C.listeners[B].forEach(Te=>Te({chart:w,initial:C.initial,numSteps:he,currentStep:Math.min(N-C.start,he)}))}_refresh(){this._request||(this._running=!0,this._request=r.r.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(w=Date.now()){let C=0;this._charts.forEach((N,B)=>{if(!N.running||!N.items.length)return;const re=N.items;let $e,he=re.length-1,Te=!1;for(;he>=0;--he)$e=re[he],$e._active?($e._total>N.duration&&(N.duration=$e._total),$e.tick(w),Te=!0):(re[he]=re[re.length-1],re.pop());Te&&(B.draw(),this._notify(B,N,w,"progress")),re.length||(N.running=!1,this._notify(B,N,w,"complete"),N.initial=!1),C+=re.length}),this._lastDate=w,0===C&&(this._running=!1)}_getAnims(w){const C=this._charts;let N=C.get(w);return N||(N={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},C.set(w,N)),N}listen(w,C,N){this._getAnims(w).listeners[C].push(N)}add(w,C){!C||!C.length||this._getAnims(w).items.push(...C)}has(w){return this._getAnims(w).items.length>0}start(w){const C=this._charts.get(w);C&&(C.running=!0,C.start=Date.now(),C.duration=C.items.reduce((N,B)=>Math.max(N,B._duration),0),this._refresh())}running(w){if(!this._running)return!1;const C=this._charts.get(w);return!(!C||!C.running||!C.items.length)}stop(w){const C=this._charts.get(w);if(!C||!C.items.length)return;const N=C.items;let B=N.length-1;for(;B>=0;--B)N[B].cancel();C.items=[],this._notify(w,C,Date.now(),"complete")}remove(w){return this._charts.delete(w)}}var u=new a;const c="transparent",e={boolean:(k,w,C)=>C>.5?w:k,color(k,w,C){const N=(0,r.c)(k||c),B=N.valid&&(0,r.c)(w||c);return B&&B.valid?B.mix(N,C).hexString():w},number:(k,w,C)=>k+(w-k)*C};class f{constructor(w,C,N,B){const re=C[N];B=(0,r.a)([w.to,B,re,w.from]);const he=(0,r.a)([w.from,re,B]);this._active=!0,this._fn=w.fn||e[w.type||typeof he],this._easing=r.e[w.easing]||r.e.linear,this._start=Math.floor(Date.now()+(w.delay||0)),this._duration=this._total=Math.floor(w.duration),this._loop=!!w.loop,this._target=C,this._prop=N,this._from=he,this._to=B,this._promises=void 0}active(){return this._active}update(w,C,N){if(this._active){this._notify(!1);const B=this._target[this._prop],re=N-this._start,he=this._duration-re;this._start=N,this._duration=Math.floor(Math.max(he,w.duration)),this._total+=re,this._loop=!!w.loop,this._to=(0,r.a)([w.to,C,B,w.from]),this._from=(0,r.a)([w.from,B,C])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(w){const C=w-this._start,N=this._duration,B=this._prop,re=this._from,he=this._loop,Te=this._to;let $e;if(this._active=re!==Te&&(he||C<N),!this._active)return this._target[B]=Te,void this._notify(!0);C<0?this._target[B]=re:($e=C/N%2,$e=he&&$e>1?2-$e:$e,$e=this._easing(Math.min(1,Math.max(0,$e))),this._target[B]=this._fn(re,Te,$e))}wait(){const w=this._promises||(this._promises=[]);return new Promise((C,N)=>{w.push({res:C,rej:N})})}_notify(w){const C=w?"res":"rej",N=this._promises||[];for(let B=0;B<N.length;B++)N[B][C]()}}class h{constructor(w,C){this._chart=w,this._properties=new Map,this.configure(C)}configure(w){if(!(0,r.i)(w))return;const C=Object.keys(r.d.animation),N=this._properties;Object.getOwnPropertyNames(w).forEach(B=>{const re=w[B];if(!(0,r.i)(re))return;const he={};for(const Te of C)he[Te]=re[Te];((0,r.b)(re.properties)&&re.properties||[B]).forEach(Te=>{(Te===B||!N.has(Te))&&N.set(Te,he)})})}_animateOptions(w,C){const N=C.options,B=function T(k,w){if(!w)return;let C=k.options;if(C)return C.$shared&&(k.options=C=Object.assign({},C,{$shared:!1,$animations:{}})),C;k.options=w}(w,N);if(!B)return[];const re=this._createAnimations(B,N);return N.$shared&&function E(k,w){const C=[],N=Object.keys(w);for(let B=0;B<N.length;B++){const re=k[N[B]];re&&re.active()&&C.push(re.wait())}return Promise.all(C)}(w.options.$animations,N).then(()=>{w.options=N},()=>{}),re}_createAnimations(w,C){const N=this._properties,B=[],re=w.$animations||(w.$animations={}),he=Object.keys(C),Te=Date.now();let $e;for($e=he.length-1;$e>=0;--$e){const it=he[$e];if("$"===it.charAt(0))continue;if("options"===it){B.push(...this._animateOptions(w,C));continue}const $t=C[it];let pn=re[it];const Fn=N.get(it);if(pn){if(Fn&&pn.active()){pn.update(Fn,$t,Te);continue}pn.cancel()}Fn&&Fn.duration?(re[it]=pn=new f(Fn,w,it,$t),B.push(pn)):w[it]=$t}return B}update(w,C){if(0===this._properties.size)return void Object.assign(w,C);const N=this._createAnimations(w,C);return N.length?(u.add(this._chart,N),!0):void 0}}function D(k,w){const C=k&&k.options||{},N=C.reverse,B=void 0===C.min?w:0,re=void 0===C.max?w:0;return{start:N?re:B,end:N?B:re}}function Q(k,w){const C=[],N=k._getSortedDatasetMetas(w);let B,re;for(B=0,re=N.length;B<re;++B)C.push(N[B].index);return C}function U(k,w,C,N={}){const B=k.keys,re="single"===N.mode;let he,Te,$e,it;if(null!==w){for(he=0,Te=B.length;he<Te;++he){if($e=+B[he],$e===C){if(N.all)continue;break}it=k.values[$e],(0,r.g)(it)&&(re||0===w||(0,r.s)(w)===(0,r.s)(it))&&(w+=it)}return w}}function L(k,w){const C=k&&k.options.stacked;return C||void 0===C&&void 0!==w.stack}function j(k,w,C){const N=k[w]||(k[w]={});return N[C]||(N[C]={})}function ue(k,w,C,N){for(const B of w.getMatchingVisibleMetas(N).reverse()){const re=k[B.index];if(C&&re>0||!C&&re<0)return B.index}return null}function ie(k,w){const{chart:C,_cachedMeta:N}=k,B=C._stacks||(C._stacks={}),{iScale:re,vScale:he,index:Te}=N,$e=re.axis,it=he.axis,$t=function J(k,w,C){return`${k.id}.${w.id}.${C.stack||C.type}`}(re,he,N),pn=w.length;let Fn;for(let Zn=0;Zn<pn;++Zn){const or=w[Zn],{[$e]:Hr,[it]:Ci}=or;Fn=(or._stacks||(or._stacks={}))[it]=j(B,$t,Hr),Fn[Te]=Ci,Fn._top=ue(Fn,he,!0,N.type),Fn._bottom=ue(Fn,he,!1,N.type),(Fn._visualValues||(Fn._visualValues={}))[Te]=Ci}}function me(k,w){const C=k.scales;return Object.keys(C).filter(N=>C[N].axis===w).shift()}function Me(k,w){const C=k.controller.index,N=k.vScale&&k.vScale.axis;if(N){w=w||k._parsed;for(const B of w){const re=B._stacks;if(!re||void 0===re[N]||void 0===re[N][C])return;delete re[N][C],void 0!==re[N]._visualValues&&void 0!==re[N]._visualValues[C]&&delete re[N]._visualValues[C]}}}const yt=k=>"reset"===k||"none"===k,et=(k,w)=>w?k:Object.assign({},k);let Et=(()=>class k{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(C,N){this.chart=C,this._ctx=C.ctx,this.index=N,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const C=this._cachedMeta;this.configure(),this.linkScales(),C._stacked=L(C.vScale,C),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(C){this.index!==C&&Me(this._cachedMeta),this.index=C}linkScales(){const C=this.chart,N=this._cachedMeta,B=this.getDataset(),re=(Fn,Zn,or,Hr)=>"x"===Fn?Zn:"r"===Fn?Hr:or,he=N.xAxisID=(0,r.v)(B.xAxisID,me(C,"x")),Te=N.yAxisID=(0,r.v)(B.yAxisID,me(C,"y")),$e=N.rAxisID=(0,r.v)(B.rAxisID,me(C,"r")),it=N.indexAxis,$t=N.iAxisID=re(it,he,Te,$e),pn=N.vAxisID=re(it,Te,he,$e);N.xScale=this.getScaleForId(he),N.yScale=this.getScaleForId(Te),N.rScale=this.getScaleForId($e),N.iScale=this.getScaleForId($t),N.vScale=this.getScaleForId(pn)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(C){return this.chart.scales[C]}_getOtherScale(C){const N=this._cachedMeta;return C===N.iScale?N.vScale:N.iScale}reset(){this._update("reset")}_destroy(){const C=this._cachedMeta;this._data&&(0,r.u)(this._data,this),C._stacked&&Me(C)}_dataCheck(){const C=this.getDataset(),N=C.data||(C.data=[]),B=this._data;if((0,r.i)(N))this._data=function q(k){const w=Object.keys(k),C=new Array(w.length);let N,B,re;for(N=0,B=w.length;N<B;++N)re=w[N],C[N]={x:re,y:k[re]};return C}(N);else if(B!==N){if(B){(0,r.u)(B,this);const re=this._cachedMeta;Me(re),re._parsed=[]}N&&Object.isExtensible(N)&&(0,r.l)(N,this),this._syncList=[],this._data=N}}addElements(){const C=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(C.dataset=new this.datasetElementType)}buildOrUpdateElements(C){const N=this._cachedMeta,B=this.getDataset();let re=!1;this._dataCheck();const he=N._stacked;N._stacked=L(N.vScale,N),N.stack!==B.stack&&(re=!0,Me(N),N.stack=B.stack),this._resyncElements(C),(re||he!==N._stacked)&&ie(this,N._parsed)}configure(){const C=this.chart.config,N=C.datasetScopeKeys(this._type),B=C.getOptionScopes(this.getDataset(),N,!0);this.options=C.createResolver(B,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(C,N){const{_cachedMeta:B,_data:re}=this,{iScale:he,_stacked:Te}=B,$e=he.axis;let pn,Fn,Zn,it=0===C&&N===re.length||B._sorted,$t=C>0&&B._parsed[C-1];if(!1===this._parsing)B._parsed=re,B._sorted=!0,Zn=re;else{Zn=(0,r.b)(re[C])?this.parseArrayData(B,re,C,N):(0,r.i)(re[C])?this.parseObjectData(B,re,C,N):this.parsePrimitiveData(B,re,C,N);const or=()=>null===Fn[$e]||$t&&Fn[$e]<$t[$e];for(pn=0;pn<N;++pn)B._parsed[pn+C]=Fn=Zn[pn],it&&(or()&&(it=!1),$t=Fn);B._sorted=it}Te&&ie(this,Zn)}parsePrimitiveData(C,N,B,re){const{iScale:he,vScale:Te}=C,$e=he.axis,it=Te.axis,$t=he.getLabels(),pn=he===Te,Fn=new Array(re);let Zn,or,Hr;for(Zn=0,or=re;Zn<or;++Zn)Hr=Zn+B,Fn[Zn]={[$e]:pn||he.parse($t[Hr],Hr),[it]:Te.parse(N[Hr],Hr)};return Fn}parseArrayData(C,N,B,re){const{xScale:he,yScale:Te}=C,$e=new Array(re);let it,$t,pn,Fn;for(it=0,$t=re;it<$t;++it)pn=it+B,Fn=N[pn],$e[it]={x:he.parse(Fn[0],pn),y:Te.parse(Fn[1],pn)};return $e}parseObjectData(C,N,B,re){const{xScale:he,yScale:Te}=C,{xAxisKey:$e="x",yAxisKey:it="y"}=this._parsing,$t=new Array(re);let pn,Fn,Zn,or;for(pn=0,Fn=re;pn<Fn;++pn)Zn=pn+B,or=N[Zn],$t[pn]={x:he.parse((0,r.f)(or,$e),Zn),y:Te.parse((0,r.f)(or,it),Zn)};return $t}getParsed(C){return this._cachedMeta._parsed[C]}getDataElement(C){return this._cachedMeta.data[C]}applyStack(C,N,B){const he=this._cachedMeta,Te=N[C.axis];return U({keys:Q(this.chart,!0),values:N._stacks[C.axis]._visualValues},Te,he.index,{mode:B})}updateRangeFromParsed(C,N,B,re){const he=B[N.axis];let Te=null===he?NaN:he;const $e=re&&B._stacks[N.axis];re&&$e&&(re.values=$e,Te=U(re,he,this._cachedMeta.index)),C.min=Math.min(C.min,Te),C.max=Math.max(C.max,Te)}getMinMax(C,N){const B=this._cachedMeta,re=B._parsed,he=B._sorted&&C===B.iScale,Te=re.length,$e=this._getOtherScale(C),it=((k,w,C)=>k&&!w.hidden&&w._stacked&&{keys:Q(this.chart,!0),values:null})(N,B),$t={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:pn,max:Fn}=function pe(k){const{min:w,max:C,minDefined:N,maxDefined:B}=k.getUserBounds();return{min:N?w:Number.NEGATIVE_INFINITY,max:B?C:Number.POSITIVE_INFINITY}}($e);let Zn,or;function Hr(){or=re[Zn];const Ci=or[$e.axis];return!(0,r.g)(or[C.axis])||pn>Ci||Fn<Ci}for(Zn=0;Zn<Te&&(Hr()||(this.updateRangeFromParsed($t,C,or,it),!he));++Zn);if(he)for(Zn=Te-1;Zn>=0;--Zn)if(!Hr()){this.updateRangeFromParsed($t,C,or,it);break}return $t}getAllParsedValues(C){const N=this._cachedMeta._parsed,B=[];let re,he,Te;for(re=0,he=N.length;re<he;++re)Te=N[re][C.axis],(0,r.g)(Te)&&B.push(Te);return B}getMaxOverflow(){return!1}getLabelAndValue(C){const N=this._cachedMeta,B=N.iScale,re=N.vScale,he=this.getParsed(C);return{label:B?""+B.getLabelForValue(he[B.axis]):"",value:re?""+re.getLabelForValue(he[re.axis]):""}}_update(C){const N=this._cachedMeta;this.update(C||"default"),N._clip=function $(k){let w,C,N,B;return(0,r.i)(k)?(w=k.top,C=k.right,N=k.bottom,B=k.left):w=C=N=B=k,{top:w,right:C,bottom:N,left:B,disabled:!1===k}}((0,r.v)(this.options.clip,function A(k,w,C){if(!1===C)return!1;const N=D(k,C),B=D(w,C);return{top:B.end,right:N.end,bottom:B.start,left:N.start}}(N.xScale,N.yScale,this.getMaxOverflow())))}update(C){}draw(){const C=this._ctx,B=this._cachedMeta,re=B.data||[],he=this.chart.chartArea,Te=[],$e=this._drawStart||0,it=this._drawCount||re.length-$e,$t=this.options.drawActiveElementsOnTop;let pn;for(B.dataset&&B.dataset.draw(C,he,$e,it),pn=$e;pn<$e+it;++pn){const Fn=re[pn];Fn.hidden||(Fn.active&&$t?Te.push(Fn):Fn.draw(C,he))}for(pn=0;pn<Te.length;++pn)Te[pn].draw(C,he)}getStyle(C,N){const B=N?"active":"default";return void 0===C&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(B):this.resolveDataElementOptions(C||0,B)}getContext(C,N,B){const re=this.getDataset();let he;if(C>=0&&C<this._cachedMeta.data.length){const Te=this._cachedMeta.data[C];he=Te.$context||(Te.$context=function Ue(k,w,C){return(0,r.j)(k,{active:!1,dataIndex:w,parsed:void 0,raw:void 0,element:C,index:w,mode:"default",type:"data"})}(this.getContext(),C,Te)),he.parsed=this.getParsed(C),he.raw=re.data[C],he.index=he.dataIndex=C}else he=this.$context||(this.$context=function Oe(k,w){return(0,r.j)(k,{active:!1,dataset:void 0,datasetIndex:w,index:w,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),he.dataset=re,he.index=he.datasetIndex=this.index;return he.active=!!N,he.mode=B,he}resolveDatasetElementOptions(C){return this._resolveElementOptions(this.datasetElementType.id,C)}resolveDataElementOptions(C,N){return this._resolveElementOptions(this.dataElementType.id,N,C)}_resolveElementOptions(C,N="default",B){const re="active"===N,he=this._cachedDataOpts,Te=C+"-"+N,$e=he[Te],it=this.enableOptionSharing&&(0,r.h)(B);if($e)return et($e,it);const $t=this.chart.config,pn=$t.datasetElementScopeKeys(this._type,C),Fn=re?[`${C}Hover`,"hover",C,""]:[C,""],Zn=$t.getOptionScopes(this.getDataset(),pn),or=Object.keys(r.d.elements[C]),Ci=$t.resolveNamedOptions(Zn,or,()=>this.getContext(B,re,N),Fn);return Ci.$shared&&(Ci.$shared=it,he[Te]=Object.freeze(et(Ci,it))),Ci}_resolveAnimations(C,N,B){const re=this.chart,he=this._cachedDataOpts,Te=`animation-${N}`,$e=he[Te];if($e)return $e;let it;if(!1!==re.options.animation){const pn=this.chart.config,Fn=pn.datasetAnimationScopeKeys(this._type,N),Zn=pn.getOptionScopes(this.getDataset(),Fn);it=pn.createResolver(Zn,this.getContext(C,B,N))}const $t=new h(re,it&&it.animations);return it&&it._cacheable&&(he[Te]=Object.freeze($t)),$t}getSharedOptions(C){if(C.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},C))}includeOptions(C,N){return!N||yt(C)||this.chart._animationsDisabled}_getSharedOptions(C,N){const B=this.resolveDataElementOptions(C,N),re=this._sharedOptions,he=this.getSharedOptions(B),Te=this.includeOptions(N,he)||he!==re;return this.updateSharedOptions(he,N,B),{sharedOptions:he,includeOptions:Te}}updateElement(C,N,B,re){yt(re)?Object.assign(C,B):this._resolveAnimations(N,re).update(C,B)}updateSharedOptions(C,N,B){C&&!yt(N)&&this._resolveAnimations(void 0,N).update(C,B)}_setStyle(C,N,B,re){C.active=re;const he=this.getStyle(N,re);this._resolveAnimations(N,B,re).update(C,{options:!re&&this.getSharedOptions(he)||he})}removeHoverStyle(C,N,B){this._setStyle(C,B,"active",!1)}setHoverStyle(C,N,B){this._setStyle(C,B,"active",!0)}_removeDatasetHoverStyle(){const C=this._cachedMeta.dataset;C&&this._setStyle(C,void 0,"active",!1)}_setDatasetHoverStyle(){const C=this._cachedMeta.dataset;C&&this._setStyle(C,void 0,"active",!0)}_resyncElements(C){const N=this._data,B=this._cachedMeta.data;for(const[$e,it,$t]of this._syncList)this[$e](it,$t);this._syncList=[];const re=B.length,he=N.length,Te=Math.min(he,re);Te&&this.parse(0,Te),he>re?this._insertElements(re,he-re,C):he<re&&this._removeElements(he,re-he)}_insertElements(C,N,B=!0){const re=this._cachedMeta,he=re.data,Te=C+N;let $e;const it=$t=>{for($t.length+=N,$e=$t.length-1;$e>=Te;$e--)$t[$e]=$t[$e-N]};for(it(he),$e=C;$e<Te;++$e)he[$e]=new this.dataElementType;this._parsing&&it(re._parsed),this.parse(C,N),B&&this.updateElements(he,C,N,"reset")}updateElements(C,N,B,re){}_removeElements(C,N){const B=this._cachedMeta;if(this._parsing){const re=B._parsed.splice(C,N);B._stacked&&Me(B,re)}B.data.splice(C,N)}_sync(C){if(this._parsing)this._syncList.push(C);else{const[N,B,re]=C;this[N](B,re)}this.chart._dataChanges.push([this.index,...C])}_onDataPush(){const C=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-C,C])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(C,N){N&&this._sync(["_removeElements",C,N]);const B=arguments.length-2;B&&this._sync(["_insertElements",C,B])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}})();function bt(k){const w=k.iScale,C=function ze(k,w){if(!k._cache.$bar){const C=k.getMatchingVisibleMetas(w);let N=[];for(let B=0,re=C.length;B<re;B++)N=N.concat(C[B].controller.getAllParsedValues(k));k._cache.$bar=(0,r._)(N.sort((B,re)=>B-re))}return k._cache.$bar}(w,k.type);let B,re,he,Te,N=w._length;const $e=()=>{32767===he||-32768===he||((0,r.h)(Te)&&(N=Math.min(N,Math.abs(he-Te)||N)),Te=he)};for(B=0,re=C.length;B<re;++B)he=w.getPixelForValue(C[B]),$e();for(Te=void 0,B=0,re=w.ticks.length;B<re;++B)he=w.getPixelForTick(B),$e();return N}function en(k,w,C,N){return(0,r.b)(k)?function ht(k,w,C,N){const B=C.parse(k[0],N),re=C.parse(k[1],N),he=Math.min(B,re),Te=Math.max(B,re);let $e=he,it=Te;Math.abs(he)>Math.abs(Te)&&($e=Te,it=he),w[C.axis]=it,w._custom={barStart:$e,barEnd:it,start:B,end:re,min:he,max:Te}}(k,w,C,N):w[C.axis]=C.parse(k,N),w}function nn(k,w,C,N){const B=k.iScale,re=k.vScale,he=B.getLabels(),Te=B===re,$e=[];let it,$t,pn,Fn;for(it=C,$t=C+N;it<$t;++it)Fn=w[it],pn={},pn[B.axis]=Te||B.parse(he[it],it),$e.push(en(Fn,pn,re,it));return $e}function bn(k){return k&&void 0!==k.barStart&&void 0!==k.barEnd}function Xt(k,w,C,N){let B=w.borderSkipped;const re={};if(!B)return void(k.borderSkipped=re);if(!0===B)return void(k.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:he,end:Te,reverse:$e,top:it,bottom:$t}=function Rt(k){let w,C,N,B,re;return k.horizontal?(w=k.base>k.x,C="left",N="right"):(w=k.base<k.y,C="bottom",N="top"),w?(B="end",re="start"):(B="start",re="end"),{start:C,end:N,reverse:w,top:B,bottom:re}}(k);"middle"===B&&C&&(k.enableBorderRadius=!0,(C._top||0)===N?B=it:(C._bottom||0)===N?B=$t:(re[un($t,he,Te,$e)]=!0,B=it)),re[un(B,he,Te,$e)]=!0,k.borderSkipped=re}function un(k,w,C,N){return N?(k=function _n(k,w,C){return k===w?C:k===C?w:k}(k,w,C),k=kn(k,C,w)):k=kn(k,w,C),k}function kn(k,w,C){return"start"===k?w:"end"===k?C:k}function ri(k,{inflateAmount:w},C){k.inflateAmount="auto"===w?1===C?.33:0:w}let Ir=(()=>class k extends Et{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(C,N,B,re){return nn(C,N,B,re)}parseArrayData(C,N,B,re){return nn(C,N,B,re)}parseObjectData(C,N,B,re){const{iScale:he,vScale:Te}=C,{xAxisKey:$e="x",yAxisKey:it="y"}=this._parsing,$t="x"===he.axis?$e:it,pn="x"===Te.axis?$e:it,Fn=[];let Zn,or,Hr,Ci;for(Zn=B,or=B+re;Zn<or;++Zn)Ci=N[Zn],Hr={},Hr[he.axis]=he.parse((0,r.f)(Ci,$t),Zn),Fn.push(en((0,r.f)(Ci,pn),Hr,Te,Zn));return Fn}updateRangeFromParsed(C,N,B,re){super.updateRangeFromParsed(C,N,B,re);const he=B._custom;he&&N===this._cachedMeta.vScale&&(C.min=Math.min(C.min,he.min),C.max=Math.max(C.max,he.max))}getMaxOverflow(){return 0}getLabelAndValue(C){const N=this._cachedMeta,{iScale:B,vScale:re}=N,he=this.getParsed(C),Te=he._custom,$e=bn(Te)?"["+Te.start+", "+Te.end+"]":""+re.getLabelForValue(he[re.axis]);return{label:""+B.getLabelForValue(he[B.axis]),value:$e}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(C){const N=this._cachedMeta;this.updateElements(N.data,0,N.data.length,C)}updateElements(C,N,B,re){const he="reset"===re,{index:Te,_cachedMeta:{vScale:$e}}=this,it=$e.getBasePixel(),$t=$e.isHorizontal(),pn=this._getRuler(),{sharedOptions:Fn,includeOptions:Zn}=this._getSharedOptions(N,re);for(let or=N;or<N+B;or++){const Hr=this.getParsed(or),Ci=he||(0,r.k)(Hr[$e.axis])?{base:it,head:it}:this._calculateBarValuePixels(or),Zi=this._calculateBarIndexPixels(or,pn),$i=(Hr._stacks||{})[$e.axis],Co={horizontal:$t,base:Ci.base,enableBorderRadius:!$i||bn(Hr._custom)||Te===$i._top||Te===$i._bottom,x:$t?Ci.head:Zi.center,y:$t?Zi.center:Ci.head,height:$t?Zi.size:Math.abs(Ci.size),width:$t?Math.abs(Ci.size):Zi.size};Zn&&(Co.options=Fn||this.resolveDataElementOptions(or,C[or].active?"active":re));const Ho=Co.options||C[or].options;Xt(Co,Ho,$i,Te),ri(Co,Ho,pn.ratio),this.updateElement(C[or],or,Co,re)}}_getStacks(C,N){const{iScale:B}=this._cachedMeta,re=B.getMatchingVisibleMetas(this._type).filter(it=>it.controller.options.grouped),he=B.options.stacked,Te=[],$e=it=>{const $t=it.controller.getParsed(N),pn=$t&&$t[it.vScale.axis];if((0,r.k)(pn)||isNaN(pn))return!0};for(const it of re)if((void 0===N||!$e(it))&&((!1===he||-1===Te.indexOf(it.stack)||void 0===he&&void 0===it.stack)&&Te.push(it.stack),it.index===C))break;return Te.length||Te.push(void 0),Te}_getStackCount(C){return this._getStacks(void 0,C).length}_getStackIndex(C,N,B){const re=this._getStacks(C,B),he=void 0!==N?re.indexOf(N):-1;return-1===he?re.length-1:he}_getRuler(){const C=this.options,N=this._cachedMeta,B=N.iScale,re=[];let he,Te;for(he=0,Te=N.data.length;he<Te;++he)re.push(B.getPixelForValue(this.getParsed(he)[B.axis],he));const $e=C.barThickness;return{min:$e||bt(N),pixels:re,start:B._startPixel,end:B._endPixel,stackCount:this._getStackCount(),scale:B,grouped:C.grouped,ratio:$e?1:C.categoryPercentage*C.barPercentage}}_calculateBarValuePixels(C){const{_cachedMeta:{vScale:N,_stacked:B,index:re},options:{base:he,minBarLength:Te}}=this,$e=he||0,it=this.getParsed(C),$t=it._custom,pn=bn($t);let Hr,Ci,Fn=it[N.axis],Zn=0,or=B?this.applyStack(N,it,B):Fn;or!==Fn&&(Zn=or-Fn,or=Fn),pn&&(Fn=$t.barStart,or=$t.barEnd-$t.barStart,0!==Fn&&(0,r.s)(Fn)!==(0,r.s)($t.barEnd)&&(Zn=0),Zn+=Fn);const Zi=(0,r.k)(he)||pn?Zn:he;let $i=N.getPixelForValue(Zi);if(Hr=this.chart.getDataVisibility(C)?N.getPixelForValue(Zn+or):$i,Ci=Hr-$i,Math.abs(Ci)<Te){Ci=function Dn(k,w,C){return 0!==k?(0,r.s)(k):(w.isHorizontal()?1:-1)*(w.min>=C?1:-1)}(Ci,N,$e)*Te,Fn===$e&&($i-=Ci/2);const Co=N.getPixelForDecimal(0),Ho=N.getPixelForDecimal(1),co=Math.min(Co,Ho),vo=Math.max(Co,Ho);$i=Math.max(Math.min($i,vo),co),Hr=$i+Ci,B&&!pn&&(it._stacks[N.axis]._visualValues[re]=N.getValueForPixel(Hr)-N.getValueForPixel($i))}if($i===N.getPixelForValue($e)){const Co=(0,r.s)(Ci)*N.getLineWidthForValue($e)/2;$i+=Co,Ci-=Co}return{size:Ci,base:$i,head:Hr,center:Hr+Ci/2}}_calculateBarIndexPixels(C,N){const B=N.scale,re=this.options,he=re.skipNull,Te=(0,r.v)(re.maxBarThickness,1/0);let $e,it;if(N.grouped){const $t=he?this._getStackCount(C):N.stackCount,pn="flex"===re.barThickness?function Qt(k,w,C,N){const B=w.pixels,re=B[k];let he=k>0?B[k-1]:null,Te=k<B.length-1?B[k+1]:null;const $e=C.categoryPercentage;null===he&&(he=re-(null===Te?w.end-w.start:Te-re)),null===Te&&(Te=re+re-he);const it=re-(re-Math.min(he,Te))/2*$e;return{chunk:Math.abs(Te-he)/2*$e/N,ratio:C.barPercentage,start:it}}(C,N,re,$t):function Ct(k,w,C,N){const B=C.barThickness;let re,he;return(0,r.k)(B)?(re=w.min*C.categoryPercentage,he=C.barPercentage):(re=B*N,he=1),{chunk:re/N,ratio:he,start:w.pixels[k]-re/2}}(C,N,re,$t),Fn=this._getStackIndex(this.index,this._cachedMeta.stack,he?C:void 0);$e=pn.start+pn.chunk*Fn+pn.chunk/2,it=Math.min(Te,pn.chunk*pn.ratio)}else $e=B.getPixelForValue(this.getParsed(C)[B.axis],C),it=Math.min(Te,N.min*N.ratio);return{base:$e-it/2,head:$e+it/2,center:$e,size:it}}draw(){const C=this._cachedMeta,N=C.vScale,B=C.data,re=B.length;let he=0;for(;he<re;++he)null!==this.getParsed(he)[N.axis]&&B[he].draw(this._ctx)}})(),wr=(()=>class k extends Et{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(C,N,B,re){const he=super.parsePrimitiveData(C,N,B,re);for(let Te=0;Te<he.length;Te++)he[Te]._custom=this.resolveDataElementOptions(Te+B).radius;return he}parseArrayData(C,N,B,re){const he=super.parseArrayData(C,N,B,re);for(let Te=0;Te<he.length;Te++)he[Te]._custom=(0,r.v)(N[B+Te][2],this.resolveDataElementOptions(Te+B).radius);return he}parseObjectData(C,N,B,re){const he=super.parseObjectData(C,N,B,re);for(let Te=0;Te<he.length;Te++){const $e=N[B+Te];he[Te]._custom=(0,r.v)($e&&$e.r&&+$e.r,this.resolveDataElementOptions(Te+B).radius)}return he}getMaxOverflow(){const C=this._cachedMeta.data;let N=0;for(let B=C.length-1;B>=0;--B)N=Math.max(N,C[B].size(this.resolveDataElementOptions(B))/2);return N>0&&N}getLabelAndValue(C){const N=this._cachedMeta,B=this.chart.data.labels||[],{xScale:re,yScale:he}=N,Te=this.getParsed(C),$e=re.getLabelForValue(Te.x),it=he.getLabelForValue(Te.y),$t=Te._custom;return{label:B[C]||"",value:"("+$e+", "+it+($t?", "+$t:"")+")"}}update(C){const N=this._cachedMeta.data;this.updateElements(N,0,N.length,C)}updateElements(C,N,B,re){const he="reset"===re,{iScale:Te,vScale:$e}=this._cachedMeta,{sharedOptions:it,includeOptions:$t}=this._getSharedOptions(N,re),pn=Te.axis,Fn=$e.axis;for(let Zn=N;Zn<N+B;Zn++){const or=C[Zn],Hr=!he&&this.getParsed(Zn),Ci={},Zi=Ci[pn]=he?Te.getPixelForDecimal(.5):Te.getPixelForValue(Hr[pn]),$i=Ci[Fn]=he?$e.getBasePixel():$e.getPixelForValue(Hr[Fn]);Ci.skip=isNaN(Zi)||isNaN($i),$t&&(Ci.options=it||this.resolveDataElementOptions(Zn,or.active?"active":re),he&&(Ci.options.radius=0)),this.updateElement(or,Zn,Ci,re)}}resolveDataElementOptions(C,N){const B=this.getParsed(C);let re=super.resolveDataElementOptions(C,N);re.$shared&&(re=Object.assign({},re,{$shared:!1}));const he=re.radius;return"active"!==N&&(re.radius=0),re.radius+=(0,r.v)(B&&B._custom,he),re}})(),oi=(()=>class k extends Et{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:C=>"spacing"!==C,_indexable:C=>"spacing"!==C&&!C.startsWith("borderDash")&&!C.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(C){const N=C.data;if(N.labels.length&&N.datasets.length){const{labels:{pointStyle:B,color:re}}=C.legend.options;return N.labels.map((he,Te)=>{const it=C.getDatasetMeta(0).controller.getStyle(Te);return{text:he,fillStyle:it.backgroundColor,strokeStyle:it.borderColor,fontColor:re,lineWidth:it.borderWidth,pointStyle:B,hidden:!C.getDataVisibility(Te),index:Te}})}return[]}},onClick(C,N,B){B.chart.toggleDataVisibility(N.index),B.chart.update()}}}};constructor(C,N){super(C,N),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(C,N){const B=this.getDataset().data,re=this._cachedMeta;if(!1===this._parsing)re._parsed=B;else{let Te,$e,he=it=>+B[it];if((0,r.i)(B[C])){const{key:it="value"}=this._parsing;he=$t=>+(0,r.f)(B[$t],it)}for(Te=C,$e=C+N;Te<$e;++Te)re._parsed[Te]=he(Te)}}_getRotation(){return(0,r.t)(this.options.rotation-90)}_getCircumference(){return(0,r.t)(this.options.circumference)}_getRotationExtents(){let C=r.T,N=-r.T;for(let B=0;B<this.chart.data.datasets.length;++B)if(this.chart.isDatasetVisible(B)&&this.chart.getDatasetMeta(B).type===this._type){const re=this.chart.getDatasetMeta(B).controller,he=re._getRotation(),Te=re._getCircumference();C=Math.min(C,he),N=Math.max(N,he+Te)}return{rotation:C,circumference:N-C}}update(C){const N=this.chart,{chartArea:B}=N,re=this._cachedMeta,he=re.data,Te=this.getMaxBorderWidth()+this.getMaxOffset(he)+this.options.spacing,$e=Math.max((Math.min(B.width,B.height)-Te)/2,0),it=Math.min((0,r.m)(this.options.cutout,$e),1),$t=this._getRingWeight(this.index),{circumference:pn,rotation:Fn}=this._getRotationExtents(),{ratioX:Zn,ratioY:or,offsetX:Hr,offsetY:Ci}=function _r(k,w,C){let N=1,B=1,re=0,he=0;if(w<r.T){const Te=k,$e=Te+w,it=Math.cos(Te),$t=Math.sin(Te),pn=Math.cos($e),Fn=Math.sin($e),Zn=(Co,Ho,co)=>(0,r.p)(Co,Te,$e,!0)?1:Math.max(Ho,Ho*C,co,co*C),or=(Co,Ho,co)=>(0,r.p)(Co,Te,$e,!0)?-1:Math.min(Ho,Ho*C,co,co*C),Hr=Zn(0,it,pn),Ci=Zn(r.H,$t,Fn),Zi=or(r.P,it,pn),$i=or(r.P+r.H,$t,Fn);N=(Hr-Zi)/2,B=(Ci-$i)/2,re=-(Hr+Zi)/2,he=-(Ci+$i)/2}return{ratioX:N,ratioY:B,offsetX:re,offsetY:he}}(Fn,pn,it),Co=Math.max(Math.min((B.width-Te)/Zn,(B.height-Te)/or)/2,0),Ho=(0,r.n)(this.options.radius,Co),vo=(Ho-Math.max(Ho*it,0))/this._getVisibleDatasetWeightTotal();this.offsetX=Hr*Ho,this.offsetY=Ci*Ho,re.total=this.calculateTotal(),this.outerRadius=Ho-vo*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-vo*$t,0),this.updateElements(he,0,he.length,C)}_circumference(C,N){const B=this.options,re=this._cachedMeta,he=this._getCircumference();return N&&B.animation.animateRotate||!this.chart.getDataVisibility(C)||null===re._parsed[C]||re.data[C].hidden?0:this.calculateCircumference(re._parsed[C]*he/r.T)}updateElements(C,N,B,re){const he="reset"===re,Te=this.chart,$e=Te.chartArea,pn=($e.left+$e.right)/2,Fn=($e.top+$e.bottom)/2,Zn=he&&Te.options.animation.animateScale,or=Zn?0:this.innerRadius,Hr=Zn?0:this.outerRadius,{sharedOptions:Ci,includeOptions:Zi}=this._getSharedOptions(N,re);let Co,$i=this._getRotation();for(Co=0;Co<N;++Co)$i+=this._circumference(Co,he);for(Co=N;Co<N+B;++Co){const Ho=this._circumference(Co,he),co=C[Co],vo={x:pn+this.offsetX,y:Fn+this.offsetY,startAngle:$i,endAngle:$i+Ho,circumference:Ho,outerRadius:Hr,innerRadius:or};Zi&&(vo.options=Ci||this.resolveDataElementOptions(Co,co.active?"active":re)),$i+=Ho,this.updateElement(co,Co,vo,re)}}calculateTotal(){const C=this._cachedMeta,N=C.data;let re,B=0;for(re=0;re<N.length;re++){const he=C._parsed[re];null!==he&&!isNaN(he)&&this.chart.getDataVisibility(re)&&!N[re].hidden&&(B+=Math.abs(he))}return B}calculateCircumference(C){const N=this._cachedMeta.total;return N>0&&!isNaN(C)?r.T*(Math.abs(C)/N):0}getLabelAndValue(C){const B=this.chart,re=B.data.labels||[],he=(0,r.o)(this._cachedMeta._parsed[C],B.options.locale);return{label:re[C]||"",value:he}}getMaxBorderWidth(C){let N=0;const B=this.chart;let re,he,Te,$e,it;if(!C)for(re=0,he=B.data.datasets.length;re<he;++re)if(B.isDatasetVisible(re)){Te=B.getDatasetMeta(re),C=Te.data,$e=Te.controller;break}if(!C)return 0;for(re=0,he=C.length;re<he;++re)it=$e.resolveDataElementOptions(re),"inner"!==it.borderAlign&&(N=Math.max(N,it.borderWidth||0,it.hoverBorderWidth||0));return N}getMaxOffset(C){let N=0;for(let B=0,re=C.length;B<re;++B){const he=this.resolveDataElementOptions(B);N=Math.max(N,he.offset||0,he.hoverOffset||0)}return N}_getRingWeightOffset(C){let N=0;for(let B=0;B<C;++B)this.chart.isDatasetVisible(B)&&(N+=this._getRingWeight(B));return N}_getRingWeight(C){return Math.max((0,r.v)(this.chart.data.datasets[C].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}})(),Ri=(()=>class k extends Et{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(C){const N=this._cachedMeta,{dataset:B,data:re=[],_dataset:he}=N,Te=this.chart._animationsDisabled;let{start:$e,count:it}=(0,r.q)(N,re,Te);this._drawStart=$e,this._drawCount=it,(0,r.w)(N)&&($e=0,it=re.length),B._chart=this.chart,B._datasetIndex=this.index,B._decimated=!!he._decimated,B.points=re;const $t=this.resolveDatasetElementOptions(C);this.options.showLine||($t.borderWidth=0),$t.segment=this.options.segment,this.updateElement(B,void 0,{animated:!Te,options:$t},C),this.updateElements(re,$e,it,C)}updateElements(C,N,B,re){const he="reset"===re,{iScale:Te,vScale:$e,_stacked:it,_dataset:$t}=this._cachedMeta,{sharedOptions:pn,includeOptions:Fn}=this._getSharedOptions(N,re),Zn=Te.axis,or=$e.axis,{spanGaps:Hr,segment:Ci}=this.options,Zi=(0,r.x)(Hr)?Hr:Number.POSITIVE_INFINITY,$i=this.chart._animationsDisabled||he||"none"===re,Co=N+B,Ho=C.length;let co=N>0&&this.getParsed(N-1);for(let vo=0;vo<Ho;++vo){const ms=C[vo],ds=$i?ms:{};if(vo<N||vo>=Co){ds.skip=!0;continue}const Ts=this.getParsed(vo),el=(0,r.k)(Ts[or]),ga=ds[Zn]=Te.getPixelForValue(Ts[Zn],vo),va=ds[or]=he||el?$e.getBasePixel():$e.getPixelForValue(it?this.applyStack($e,Ts,it):Ts[or],vo);ds.skip=isNaN(ga)||isNaN(va)||el,ds.stop=vo>0&&Math.abs(Ts[Zn]-co[Zn])>Zi,Ci&&(ds.parsed=Ts,ds.raw=$t.data[vo]),Fn&&(ds.options=pn||this.resolveDataElementOptions(vo,ms.active?"active":re)),$i||this.updateElement(ms,vo,ds,re),co=Ts}}getMaxOverflow(){const C=this._cachedMeta,N=C.dataset,B=N.options&&N.options.borderWidth||0,re=C.data||[];if(!re.length)return B;const he=re[0].size(this.resolveDataElementOptions(0)),Te=re[re.length-1].size(this.resolveDataElementOptions(re.length-1));return Math.max(B,he,Te)/2}draw(){const C=this._cachedMeta;C.dataset.updateControlPoints(this.chart.chartArea,C.iScale.axis),super.draw()}})(),Tr=(()=>class k extends Et{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(C){const N=C.data;if(N.labels.length&&N.datasets.length){const{labels:{pointStyle:B,color:re}}=C.legend.options;return N.labels.map((he,Te)=>{const it=C.getDatasetMeta(0).controller.getStyle(Te);return{text:he,fillStyle:it.backgroundColor,strokeStyle:it.borderColor,fontColor:re,lineWidth:it.borderWidth,pointStyle:B,hidden:!C.getDataVisibility(Te),index:Te}})}return[]}},onClick(C,N,B){B.chart.toggleDataVisibility(N.index),B.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(C,N){super(C,N),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(C){const B=this.chart,re=B.data.labels||[],he=(0,r.o)(this._cachedMeta._parsed[C].r,B.options.locale);return{label:re[C]||"",value:he}}parseObjectData(C,N,B,re){return r.y.bind(this)(C,N,B,re)}update(C){const N=this._cachedMeta.data;this._updateRadius(),this.updateElements(N,0,N.length,C)}getMinMax(){const N={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return this._cachedMeta.data.forEach((B,re)=>{const he=this.getParsed(re).r;!isNaN(he)&&this.chart.getDataVisibility(re)&&(he<N.min&&(N.min=he),he>N.max&&(N.max=he))}),N}_updateRadius(){const C=this.chart,N=C.chartArea,B=C.options,re=Math.min(N.right-N.left,N.bottom-N.top),he=Math.max(re/2,0),$e=(he-Math.max(B.cutoutPercentage?he/100*B.cutoutPercentage:1,0))/C.getVisibleDatasetCount();this.outerRadius=he-$e*this.index,this.innerRadius=this.outerRadius-$e}updateElements(C,N,B,re){const he="reset"===re,Te=this.chart,it=Te.options.animation,$t=this._cachedMeta.rScale,pn=$t.xCenter,Fn=$t.yCenter,Zn=$t.getIndexAngle(0)-.5*r.P;let Hr,or=Zn;const Ci=360/this.countVisibleElements();for(Hr=0;Hr<N;++Hr)or+=this._computeAngle(Hr,re,Ci);for(Hr=N;Hr<N+B;Hr++){const Zi=C[Hr];let $i=or,Co=or+this._computeAngle(Hr,re,Ci),Ho=Te.getDataVisibility(Hr)?$t.getDistanceFromCenterForValue(this.getParsed(Hr).r):0;or=Co,he&&(it.animateScale&&(Ho=0),it.animateRotate&&($i=Co=Zn));const co={x:pn,y:Fn,innerRadius:0,outerRadius:Ho,startAngle:$i,endAngle:Co,options:this.resolveDataElementOptions(Hr,Zi.active?"active":re)};this.updateElement(Zi,Hr,co,re)}}countVisibleElements(){let N=0;return this._cachedMeta.data.forEach((B,re)=>{!isNaN(this.getParsed(re).r)&&this.chart.getDataVisibility(re)&&N++}),N}_computeAngle(C,N,B){return this.chart.getDataVisibility(C)?(0,r.t)(this.resolveDataElementOptions(C,N).angle||B):0}})();var Ln=Object.freeze({__proto__:null,BarController:Ir,BubbleController:wr,DoughnutController:oi,LineController:Ri,PieController:(()=>class k extends oi{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}})(),PolarAreaController:Tr,RadarController:(()=>class k extends Et{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(C){const N=this._cachedMeta.vScale,B=this.getParsed(C);return{label:N.getLabels()[C],value:""+N.getLabelForValue(B[N.axis])}}parseObjectData(C,N,B,re){return r.y.bind(this)(C,N,B,re)}update(C){const N=this._cachedMeta,B=N.dataset,re=N.data||[],he=N.iScale.getLabels();if(B.points=re,"resize"!==C){const Te=this.resolveDatasetElementOptions(C);this.options.showLine||(Te.borderWidth=0),this.updateElement(B,void 0,{_loop:!0,_fullLoop:he.length===re.length,options:Te},C)}this.updateElements(re,0,re.length,C)}updateElements(C,N,B,re){const he=this._cachedMeta.rScale,Te="reset"===re;for(let $e=N;$e<N+B;$e++){const it=C[$e],$t=this.resolveDataElementOptions($e,it.active?"active":re),pn=he.getPointPositionForValue($e,this.getParsed($e).r),Fn=Te?he.xCenter:pn.x,Zn=Te?he.yCenter:pn.y,or={x:Fn,y:Zn,angle:pn.angle,skip:isNaN(Fn)||isNaN(Zn),options:$t};this.updateElement(it,$e,or,re)}}})(),ScatterController:(()=>class k extends Et{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(C){const N=this._cachedMeta,B=this.chart.data.labels||[],{xScale:re,yScale:he}=N,Te=this.getParsed(C),$e=re.getLabelForValue(Te.x),it=he.getLabelForValue(Te.y);return{label:B[C]||"",value:"("+$e+", "+it+")"}}update(C){const N=this._cachedMeta,{data:B=[]}=N,re=this.chart._animationsDisabled;let{start:he,count:Te}=(0,r.q)(N,B,re);if(this._drawStart=he,this._drawCount=Te,(0,r.w)(N)&&(he=0,Te=B.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:$e,_dataset:it}=N;$e._chart=this.chart,$e._datasetIndex=this.index,$e._decimated=!!it._decimated,$e.points=B;const $t=this.resolveDatasetElementOptions(C);$t.segment=this.options.segment,this.updateElement($e,void 0,{animated:!re,options:$t},C)}else this.datasetElementType&&(delete N.dataset,this.datasetElementType=!1);this.updateElements(B,he,Te,C)}addElements(){const{showLine:C}=this.options;!this.datasetElementType&&C&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(C,N,B,re){const he="reset"===re,{iScale:Te,vScale:$e,_stacked:it,_dataset:$t}=this._cachedMeta,pn=this.resolveDataElementOptions(N,re),Fn=this.getSharedOptions(pn),Zn=this.includeOptions(re,Fn),or=Te.axis,Hr=$e.axis,{spanGaps:Ci,segment:Zi}=this.options,$i=(0,r.x)(Ci)?Ci:Number.POSITIVE_INFINITY,Co=this.chart._animationsDisabled||he||"none"===re;let Ho=N>0&&this.getParsed(N-1);for(let co=N;co<N+B;++co){const vo=C[co],ms=this.getParsed(co),ds=Co?vo:{},Ts=(0,r.k)(ms[Hr]),el=ds[or]=Te.getPixelForValue(ms[or],co),ga=ds[Hr]=he||Ts?$e.getBasePixel():$e.getPixelForValue(it?this.applyStack($e,ms,it):ms[Hr],co);ds.skip=isNaN(el)||isNaN(ga)||Ts,ds.stop=co>0&&Math.abs(ms[or]-Ho[or])>$i,Zi&&(ds.parsed=ms,ds.raw=$t.data[co]),Zn&&(ds.options=Fn||this.resolveDataElementOptions(co,vo.active?"active":re)),Co||this.updateElement(vo,co,ds,re),Ho=ms}this.updateSharedOptions(Fn,re,pn)}getMaxOverflow(){const C=this._cachedMeta,N=C.data||[];if(!this.options.showLine){let $e=0;for(let it=N.length-1;it>=0;--it)$e=Math.max($e,N[it].size(this.resolveDataElementOptions(it))/2);return $e>0&&$e}const B=C.dataset,re=B.options&&B.options.borderWidth||0;if(!N.length)return re;const he=N[0].size(this.resolveDataElementOptions(0)),Te=N[N.length-1].size(this.resolveDataElementOptions(N.length-1));return Math.max(re,he,Te)/2}})()});function rr(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Lr{static override(w){Object.assign(Lr.prototype,w)}options;constructor(w){this.options=w||{}}init(){}formats(){return rr()}parse(){return rr()}format(){return rr()}add(){return rr()}diff(){return rr()}startOf(){return rr()}endOf(){return rr()}}var Fi={_date:Lr};function so(k,w,C,N){const{controller:B,data:re,_sorted:he}=k,Te=B._cachedMeta.iScale;if(Te&&w===Te.axis&&"r"!==w&&he&&re.length){const $e=Te._reversePixels?r.A:r.B;if(!N)return $e(re,w,C);if(B._sharedOptions){const it=re[0],$t="function"==typeof it.getRange&&it.getRange(w);if($t){const pn=$e(re,w,C-$t),Fn=$e(re,w,C+$t);return{lo:pn.lo,hi:Fn.hi}}}}return{lo:0,hi:re.length-1}}function Vo(k,w,C,N,B){const re=k.getSortedVisibleDatasetMetas(),he=C[w];for(let Te=0,$e=re.length;Te<$e;++Te){const{index:it,data:$t}=re[Te],{lo:pn,hi:Fn}=so(re[Te],w,he,B);for(let Zn=pn;Zn<=Fn;++Zn){const or=$t[Zn];or.skip||N(or,it,Zn)}}}function Ni(k,w,C,N,B){const re=[];return!B&&!k.isPointInArea(w)||Vo(k,C,w,function(Te,$e,it){!B&&!(0,r.C)(Te,k.chartArea,0)||Te.inRange(w.x,w.y,N)&&re.push({element:Te,datasetIndex:$e,index:it})},!0),re}function Pr(k,w,C,N,B,re){return re||k.isPointInArea(w)?"r"!==C||N?function jr(k,w,C,N,B,re){let he=[];const Te=function Xr(k){const w=-1!==k.indexOf("x"),C=-1!==k.indexOf("y");return function(N,B){const re=w?Math.abs(N.x-B.x):0,he=C?Math.abs(N.y-B.y):0;return Math.sqrt(Math.pow(re,2)+Math.pow(he,2))}}(C);let $e=Number.POSITIVE_INFINITY;return Vo(k,C,w,function it($t,pn,Fn){const Zn=$t.inRange(w.x,w.y,B);if(N&&!Zn)return;const or=$t.getCenterPoint(B);if(!re&&!k.isPointInArea(or)&&!Zn)return;const Ci=Te(w,or);Ci<$e?(he=[{element:$t,datasetIndex:pn,index:Fn}],$e=Ci):Ci===$e&&he.push({element:$t,datasetIndex:pn,index:Fn})}),he}(k,w,C,N,B,re):function ji(k,w,C,N){let B=[];return Vo(k,C,w,function re(he,Te,$e){const{startAngle:it,endAngle:$t}=he.getProps(["startAngle","endAngle"],N),{angle:pn}=(0,r.D)(he,{x:w.x,y:w.y});(0,r.p)(pn,it,$t)&&B.push({element:he,datasetIndex:Te,index:$e})}),B}(k,w,C,B):[]}function Bo(k,w,C,N,B){const re=[],he="x"===C?"inXRange":"inYRange";let Te=!1;return Vo(k,C,w,($e,it,$t)=>{$e[he](w[C],B)&&(re.push({element:$e,datasetIndex:it,index:$t}),Te=Te||$e.inRange(w.x,w.y,B))}),N&&!Te?[]:re}var cs={evaluateInteractionItems:Vo,modes:{index(k,w,C,N){const B=(0,r.z)(w,k),re=C.axis||"x",he=C.includeInvisible||!1,Te=C.intersect?Ni(k,B,re,N,he):Pr(k,B,re,!1,N,he),$e=[];return Te.length?(k.getSortedVisibleDatasetMetas().forEach(it=>{const $t=Te[0].index,pn=it.data[$t];pn&&!pn.skip&&$e.push({element:pn,datasetIndex:it.index,index:$t})}),$e):[]},dataset(k,w,C,N){const B=(0,r.z)(w,k),re=C.axis||"xy",he=C.includeInvisible||!1;let Te=C.intersect?Ni(k,B,re,N,he):Pr(k,B,re,!1,N,he);if(Te.length>0){const $e=Te[0].datasetIndex,it=k.getDatasetMeta($e).data;Te=[];for(let $t=0;$t<it.length;++$t)Te.push({element:it[$t],datasetIndex:$e,index:$t})}return Te},point:(k,w,C,N)=>Ni(k,(0,r.z)(w,k),C.axis||"xy",N,C.includeInvisible||!1),nearest:(k,w,C,N)=>Pr(k,(0,r.z)(w,k),C.axis||"xy",C.intersect,N,C.includeInvisible||!1),x:(k,w,C,N)=>Bo(k,(0,r.z)(w,k),"x",C.intersect,N),y:(k,w,C,N)=>Bo(k,(0,r.z)(w,k),"y",C.intersect,N)}};const ts=["left","top","right","bottom"];function io(k,w){return k.filter(C=>C.pos===w)}function Vi(k,w){return k.filter(C=>-1===ts.indexOf(C.pos)&&C.box.axis===w)}function Pn(k,w){return k.sort((C,N)=>{const B=w?N:C,re=w?C:N;return B.weight===re.weight?B.index-re.index:B.weight-re.weight})}function Qe(k,w,C,N){return Math.max(k[C],w[C])+Math.max(k[N],w[N])}function Ve(k,w){k.top=Math.max(k.top,w.top),k.left=Math.max(k.left,w.left),k.bottom=Math.max(k.bottom,w.bottom),k.right=Math.max(k.right,w.right)}function tn(k,w,C,N){const{pos:B,box:re}=C,he=k.maxPadding;if(!(0,r.i)(B)){C.size&&(k[B]-=C.size);const pn=N[C.stack]||{size:0,count:1};pn.size=Math.max(pn.size,C.horizontal?re.height:re.width),C.size=pn.size/pn.count,k[B]+=C.size}re.getPadding&&Ve(he,re.getPadding());const Te=Math.max(0,w.outerWidth-Qe(he,k,"left","right")),$e=Math.max(0,w.outerHeight-Qe(he,k,"top","bottom")),it=Te!==k.w,$t=$e!==k.h;return k.w=Te,k.h=$e,C.horizontal?{same:it,other:$t}:{same:$t,other:it}}function xt(k,w){const C=w.maxPadding;return function N(B){const re={left:0,top:0,right:0,bottom:0};return B.forEach(he=>{re[he]=Math.max(w[he],C[he])}),re}(k?["left","right"]:["top","bottom"])}function qt(k,w,C,N){const B=[];let re,he,Te,$e,it,$t;for(re=0,he=k.length,it=0;re<he;++re){Te=k[re],$e=Te.box,$e.update(Te.width||w.w,Te.height||w.h,xt(Te.horizontal,w));const{same:pn,other:Fn}=tn(w,C,Te,N);it|=pn&&B.length,$t=$t||Fn,$e.fullSize||B.push(Te)}return it&&qt(B,w,C,N)||$t}function tr(k,w,C,N,B){k.top=C,k.left=w,k.right=w+N,k.bottom=C+B,k.width=N,k.height=B}function vr(k,w,C,N){const B=C.padding;let{x:re,y:he}=w;for(const Te of k){const $e=Te.box,it=N[Te.stack]||{count:1,placed:0,weight:1},$t=Te.stackWeight/it.weight||1;if(Te.horizontal){const pn=w.w*$t,Fn=it.size||$e.height;(0,r.h)(it.start)&&(he=it.start),$e.fullSize?tr($e,B.left,he,C.outerWidth-B.right-B.left,Fn):tr($e,w.left+it.placed,he,pn,Fn),it.start=he,it.placed+=pn,he=$e.bottom}else{const pn=w.h*$t,Fn=it.size||$e.width;(0,r.h)(it.start)&&(re=it.start),$e.fullSize?tr($e,re,B.top,Fn,C.outerHeight-B.bottom-B.top):tr($e,re,w.top+it.placed,Fn,pn),it.start=re,it.placed+=pn,re=$e.right}}w.x=re,w.y=he}var An={addBox(k,w){k.boxes||(k.boxes=[]),w.fullSize=w.fullSize||!1,w.position=w.position||"top",w.weight=w.weight||0,w._layers=w._layers||function(){return[{z:0,draw(C){w.draw(C)}}]},k.boxes.push(w)},removeBox(k,w){const C=k.boxes?k.boxes.indexOf(w):-1;-1!==C&&k.boxes.splice(C,1)},configure(k,w,C){w.fullSize=C.fullSize,w.position=C.position,w.weight=C.weight},update(k,w,C,N){if(!k)return;const B=(0,r.E)(k.options.layout.padding),re=Math.max(w-B.width,0),he=Math.max(C-B.height,0),Te=function Ie(k){const w=function Nn(k){const w=[];let C,N,B,re,he,Te;for(C=0,N=(k||[]).length;C<N;++C)B=k[C],({position:re,options:{stack:he,stackWeight:Te=1}}=B),w.push({index:C,box:B,pos:re,horizontal:B.isHorizontal(),weight:B.weight,stack:he&&re+he,stackWeight:Te});return w}(k),C=Pn(w.filter(it=>it.box.fullSize),!0),N=Pn(io(w,"left"),!0),B=Pn(io(w,"right")),re=Pn(io(w,"top"),!0),he=Pn(io(w,"bottom")),Te=Vi(w,"x"),$e=Vi(w,"y");return{fullSize:C,leftAndTop:N.concat(re),rightAndBottom:B.concat($e).concat(he).concat(Te),chartArea:io(w,"chartArea"),vertical:N.concat(B).concat($e),horizontal:re.concat(he).concat(Te)}}(k.boxes),$e=Te.vertical,it=Te.horizontal;(0,r.F)(k.boxes,Hr=>{"function"==typeof Hr.beforeLayout&&Hr.beforeLayout()});const $t=$e.reduce((Hr,Ci)=>Ci.box.options&&!1===Ci.box.options.display?Hr:Hr+1,0)||1,pn=Object.freeze({outerWidth:w,outerHeight:C,padding:B,availableWidth:re,availableHeight:he,vBoxMaxWidth:re/2/$t,hBoxMaxHeight:he/2}),Fn=Object.assign({},B);Ve(Fn,(0,r.E)(N));const Zn=Object.assign({maxPadding:Fn,w:re,h:he,x:B.left,y:B.top},B),or=function ke(k,w){const C=function Ut(k){const w={};for(const C of k){const{stack:N,pos:B,stackWeight:re}=C;if(!N||!ts.includes(B))continue;const he=w[N]||(w[N]={count:0,placed:0,weight:0,size:0});he.count++,he.weight+=re}return w}(k),{vBoxMaxWidth:N,hBoxMaxHeight:B}=w;let re,he,Te;for(re=0,he=k.length;re<he;++re){Te=k[re];const{fullSize:$e}=Te.box,it=C[Te.stack],$t=it&&Te.stackWeight/it.weight;Te.horizontal?(Te.width=$t?$t*N:$e&&w.availableWidth,Te.height=B):(Te.width=N,Te.height=$t?$t*B:$e&&w.availableHeight)}return C}($e.concat(it),pn);qt(Te.fullSize,Zn,pn,or),qt($e,Zn,pn,or),qt(it,Zn,pn,or)&&qt($e,Zn,pn,or),function ot(k){const w=k.maxPadding;function C(N){const B=Math.max(w[N]-k[N],0);return k[N]+=B,B}k.y+=C("top"),k.x+=C("left"),C("right"),C("bottom")}(Zn),vr(Te.leftAndTop,Zn,pn,or),Zn.x+=Zn.w,Zn.y+=Zn.h,vr(Te.rightAndBottom,Zn,pn,or),k.chartArea={left:Zn.left,top:Zn.top,right:Zn.left+Zn.w,bottom:Zn.top+Zn.h,height:Zn.h,width:Zn.w},(0,r.F)(Te.chartArea,Hr=>{const Ci=Hr.box;Object.assign(Ci,k.chartArea),Ci.update(Zn.w,Zn.h,{left:0,top:0,right:0,bottom:0})})}};class yr{acquireContext(w,C){}releaseContext(w){return!1}addEventListener(w,C,N){}removeEventListener(w,C,N){}getDevicePixelRatio(){return 1}getMaximumSize(w,C,N,B){return C=Math.max(0,C||w.width),N=N||w.height,{width:C,height:Math.max(0,B?Math.floor(C/B):N)}}isAttached(w){return!0}updateConfig(w){}}class Nr extends yr{acquireContext(w){return w&&w.getContext&&w.getContext("2d")||null}updateConfig(w){w.options.animation=!1}}const nr="$chartjs",Qn={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},dr=k=>null===k||""===k,Wt=!!r.K&&{passive:!0};function st(k,w,C){k.canvas.removeEventListener(w,C,Wt)}function er(k,w){for(const C of k)if(C===w||C.contains(w))return!0}function Kr(k,w,C){const N=k.canvas,B=new MutationObserver(re=>{let he=!1;for(const Te of re)he=he||er(Te.addedNodes,N),he=he&&!er(Te.removedNodes,N);he&&C()});return B.observe(document,{childList:!0,subtree:!0}),B}function mi(k,w,C){const N=k.canvas,B=new MutationObserver(re=>{let he=!1;for(const Te of re)he=he||er(Te.removedNodes,N),he=he&&!er(Te.addedNodes,N);he&&C()});return B.observe(document,{childList:!0,subtree:!0}),B}const gi=new Map;let Jo=0;function os(){const k=window.devicePixelRatio;k!==Jo&&(Jo=k,gi.forEach((w,C)=>{C.currentDevicePixelRatio!==k&&w()}))}function ni(k,w,C){const N=k.canvas,B=N&&(0,r.I)(N);if(!B)return;const re=(0,r.L)((Te,$e)=>{const it=B.clientWidth;C(Te,$e),it<B.clientWidth&&C()},window),he=new ResizeObserver(Te=>{const $e=Te[0],it=$e.contentRect.width,$t=$e.contentRect.height;0===it&&0===$t||re(it,$t)});return he.observe(B),function hr(k,w){gi.size||window.addEventListener("resize",os),gi.set(k,w)}(k,re),he}function Vr(k,w,C){C&&C.disconnect(),"resize"===w&&function Ii(k){gi.delete(k),gi.size||window.removeEventListener("resize",os)}(k)}function wi(k,w,C){const N=k.canvas,B=(0,r.L)(re=>{null!==k.ctx&&C(function zt(k,w){const C=Qn[k.type]||k.type,{x:N,y:B}=(0,r.z)(k,w);return{type:C,chart:w,native:k,x:void 0!==N?N:null,y:void 0!==B?B:null}}(re,k))},k);return function kt(k,w,C){k.addEventListener(w,C,Wt)}(N,w,B),B}class Gi extends yr{acquireContext(w,C){const N=w&&w.getContext&&w.getContext("2d");return N&&N.canvas===w?(function Wn(k,w){const C=k.style,N=k.getAttribute("height"),B=k.getAttribute("width");if(k[nr]={initial:{height:N,width:B,style:{display:C.display,height:C.height,width:C.width}}},C.display=C.display||"block",C.boxSizing=C.boxSizing||"border-box",dr(B)){const re=(0,r.J)(k,"width");void 0!==re&&(k.width=re)}if(dr(N))if(""===k.style.height)k.height=k.width/(w||2);else{const re=(0,r.J)(k,"height");void 0!==re&&(k.height=re)}}(w,C),N):null}releaseContext(w){const C=w.canvas;if(!C[nr])return!1;const N=C[nr].initial;["height","width"].forEach(re=>{const he=N[re];(0,r.k)(he)?C.removeAttribute(re):C.setAttribute(re,he)});const B=N.style||{};return Object.keys(B).forEach(re=>{C.style[re]=B[re]}),C.width=C.width,delete C[nr],!0}addEventListener(w,C,N){this.removeEventListener(w,C),(w.$proxies||(w.$proxies={}))[C]=({attach:Kr,detach:mi,resize:ni}[C]||wi)(w,C,N)}removeEventListener(w,C){const N=w.$proxies||(w.$proxies={}),B=N[C];B&&(({attach:Vr,detach:Vr,resize:Vr}[C]||st)(w,C,B),N[C]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(w,C,N,B){return(0,r.G)(w,C,N,B)}isAttached(w){const C=(0,r.I)(w);return!(!C||!C.isConnected)}}class Mo{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(w){const{x:C,y:N}=this.getProps(["x","y"],w);return{x:C,y:N}}hasValue(){return(0,r.x)(this.x)&&(0,r.x)(this.y)}getProps(w,C){const N=this.$animations;if(!C||!N)return this;const B={};return w.forEach(re=>{B[re]=N[re]&&N[re].active()?N[re]._to:this[re]}),B}}function mn(k,w,C,N,B){const re=(0,r.v)(N,0),he=Math.min((0,r.v)(B,k.length),k.length);let $e,it,$t,Te=0;for(C=Math.ceil(C),B&&($e=B-N,C=$e/Math.floor($e/C)),$t=re;$t<0;)Te++,$t=Math.round(re+Te*C);for(it=Math.max(re,0);it<he;it++)it===$t&&(w.push(k[it]),Te++,$t=Math.round(re+Te*C))}const Qi=k=>"left"===k?"right":"right"===k?"left":k,xo=(k,w,C)=>"top"===w||"left"===w?k[w]+C:k[w]-C,Ss=(k,w)=>Math.min(w||k,k);function bs(k,w){const C=[],N=k.length/w,B=k.length;let re=0;for(;re<B;re+=N)C.push(k[Math.floor(re)]);return C}function ko(k,w,C){const N=k.ticks.length,B=Math.min(w,N-1),re=k._startPixel,he=k._endPixel;let it,$e=k.getPixelForTick(B);if(!(C&&(it=1===N?Math.max($e-re,he-$e):0===w?(k.getPixelForTick(1)-$e)/2:($e-k.getPixelForTick(B-1))/2,$e+=B<w?it:-it,$e<re-1e-6||$e>he+1e-6)))return $e}function ps(k){return k.drawTicks?k.tickLength:0}function Ys(k,w){if(!k.display)return 0;const C=(0,r.a0)(k.font,w),N=(0,r.E)(k.padding);return((0,r.b)(k.text)?k.text.length:1)*C.lineHeight+N.height}function oc(k,w,C){let N=(0,r.a1)(k);return(C&&"right"!==w||!C&&"right"===w)&&(N=Qi(N)),N}class tl extends Mo{constructor(w){super(),this.id=w.id,this.type=w.type,this.options=void 0,this.ctx=w.ctx,this.chart=w.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(w){this.options=w.setContext(this.getContext()),this.axis=w.axis,this._userMin=this.parse(w.min),this._userMax=this.parse(w.max),this._suggestedMin=this.parse(w.suggestedMin),this._suggestedMax=this.parse(w.suggestedMax)}parse(w,C){return w}getUserBounds(){let{_userMin:w,_userMax:C,_suggestedMin:N,_suggestedMax:B}=this;return w=(0,r.O)(w,Number.POSITIVE_INFINITY),C=(0,r.O)(C,Number.NEGATIVE_INFINITY),N=(0,r.O)(N,Number.POSITIVE_INFINITY),B=(0,r.O)(B,Number.NEGATIVE_INFINITY),{min:(0,r.O)(w,N),max:(0,r.O)(C,B),minDefined:(0,r.g)(w),maxDefined:(0,r.g)(C)}}getMinMax(w){let he,{min:C,max:N,minDefined:B,maxDefined:re}=this.getUserBounds();if(B&&re)return{min:C,max:N};const Te=this.getMatchingVisibleMetas();for(let $e=0,it=Te.length;$e<it;++$e)he=Te[$e].controller.getMinMax(this,w),B||(C=Math.min(C,he.min)),re||(N=Math.max(N,he.max));return C=re&&C>N?N:C,N=B&&C>N?C:N,{min:(0,r.O)(C,(0,r.O)(N,C)),max:(0,r.O)(N,(0,r.O)(C,N))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const w=this.chart.data;return this.options.labels||(this.isHorizontal()?w.xLabels:w.yLabels)||w.labels||[]}getLabelItems(w=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(w))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){(0,r.Q)(this.options.beforeUpdate,[this])}update(w,C,N){const{beginAtZero:B,grace:re,ticks:he}=this.options,Te=he.sampleSize;this.beforeUpdate(),this.maxWidth=w,this.maxHeight=C,this._margins=N=Object.assign({left:0,right:0,top:0,bottom:0},N),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+N.left+N.right:this.height+N.top+N.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=(0,r.R)(this,re,B),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const $e=Te<this.ticks.length;this._convertTicksToLabels($e?bs(this.ticks,Te):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),he.display&&(he.autoSkip||"auto"===he.source)&&(this.ticks=function As(k,w){const C=k.options.ticks,N=function Ls(k){const w=k.options.offset,C=k._tickSize();return Math.floor(Math.min(k._length/C+(w?0:1),k._maxLength/C))}(k),B=Math.min(C.maxTicksLimit||N,N),re=C.major.enabled?function $r(k){const w=[];let C,N;for(C=0,N=k.length;C<N;C++)k[C].major&&w.push(C);return w}(w):[],he=re.length,Te=re[0],$e=re[he-1],it=[];if(he>B)return function Cn(k,w,C,N){let he,B=0,re=C[0];for(N=Math.ceil(N),he=0;he<k.length;he++)he===re&&(w.push(k[he]),B++,re=C[B*N])}(w,it,re,he/B),it;const $t=function qr(k,w,C){const N=function kr(k){const w=k.length;let C,N;if(w<2)return!1;for(N=k[0],C=1;C<w;++C)if(k[C]-k[C-1]!==N)return!1;return N}(k),B=w.length/C;if(!N)return Math.max(B,1);const re=(0,r.N)(N);for(let he=0,Te=re.length-1;he<Te;he++){const $e=re[he];if($e>B)return $e}return Math.max(B,1)}(re,w,B);if(he>0){let pn,Fn;const Zn=he>1?Math.round(($e-Te)/(he-1)):null;for(mn(w,it,$t,(0,r.k)(Zn)?0:Te-Zn,Te),pn=0,Fn=he-1;pn<Fn;pn++)mn(w,it,$t,re[pn],re[pn+1]);return mn(w,it,$t,$e,(0,r.k)(Zn)?w.length:$e+Zn),it}return mn(w,it,$t),it}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),$e&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let C,N,w=this.options.reverse;this.isHorizontal()?(C=this.left,N=this.right):(C=this.top,N=this.bottom,w=!w),this._startPixel=C,this._endPixel=N,this._reversePixels=w,this._length=N-C,this._alignToPixels=this.options.alignToPixels}afterUpdate(){(0,r.Q)(this.options.afterUpdate,[this])}beforeSetDimensions(){(0,r.Q)(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){(0,r.Q)(this.options.afterSetDimensions,[this])}_callHooks(w){this.chart.notifyPlugins(w,this.getContext()),(0,r.Q)(this.options[w],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){(0,r.Q)(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(w){const C=this.options.ticks;let N,B,re;for(N=0,B=w.length;N<B;N++)re=w[N],re.label=(0,r.Q)(C.callback,[re.value,N,w],this)}afterTickToLabelConversion(){(0,r.Q)(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){(0,r.Q)(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const w=this.options,C=w.ticks,N=Ss(this.ticks.length,w.ticks.maxTicksLimit),B=C.minRotation||0,re=C.maxRotation;let Te,$e,it,he=B;if(!this._isVisible()||!C.display||B>=re||N<=1||!this.isHorizontal())return void(this.labelRotation=B);const $t=this._getLabelSizes(),pn=$t.widest.width,Fn=$t.highest.height,Zn=(0,r.S)(this.chart.width-pn,0,this.maxWidth);Te=w.offset?this.maxWidth/N:Zn/(N-1),pn+6>Te&&(Te=Zn/(N-(w.offset?.5:1)),$e=this.maxHeight-ps(w.grid)-C.padding-Ys(w.title,this.chart.options.font),it=Math.sqrt(pn*pn+Fn*Fn),he=(0,r.U)(Math.min(Math.asin((0,r.S)(($t.highest.height+6)/Te,-1,1)),Math.asin((0,r.S)($e/it,-1,1))-Math.asin((0,r.S)(Fn/it,-1,1)))),he=Math.max(B,Math.min(re,he))),this.labelRotation=he}afterCalculateLabelRotation(){(0,r.Q)(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){(0,r.Q)(this.options.beforeFit,[this])}fit(){const w={width:0,height:0},{chart:C,options:{ticks:N,title:B,grid:re}}=this,he=this._isVisible(),Te=this.isHorizontal();if(he){const $e=Ys(B,C.options.font);if(Te?(w.width=this.maxWidth,w.height=ps(re)+$e):(w.height=this.maxHeight,w.width=ps(re)+$e),N.display&&this.ticks.length){const{first:it,last:$t,widest:pn,highest:Fn}=this._getLabelSizes(),Zn=2*N.padding,or=(0,r.t)(this.labelRotation),Hr=Math.cos(or),Ci=Math.sin(or);Te?w.height=Math.min(this.maxHeight,w.height+(N.mirror?0:Ci*pn.width+Hr*Fn.height)+Zn):w.width=Math.min(this.maxWidth,w.width+(N.mirror?0:Hr*pn.width+Ci*Fn.height)+Zn),this._calculatePadding(it,$t,Ci,Hr)}}this._handleMargins(),Te?(this.width=this._length=C.width-this._margins.left-this._margins.right,this.height=w.height):(this.width=w.width,this.height=this._length=C.height-this._margins.top-this._margins.bottom)}_calculatePadding(w,C,N,B){const{ticks:{align:re,padding:he},position:Te}=this.options,$e=0!==this.labelRotation,it="top"!==Te&&"x"===this.axis;if(this.isHorizontal()){const $t=this.getPixelForTick(0)-this.left,pn=this.right-this.getPixelForTick(this.ticks.length-1);let Fn=0,Zn=0;$e?it?(Fn=B*w.width,Zn=N*C.height):(Fn=N*w.height,Zn=B*C.width):"start"===re?Zn=C.width:"end"===re?Fn=w.width:"inner"!==re&&(Fn=w.width/2,Zn=C.width/2),this.paddingLeft=Math.max((Fn-$t+he)*this.width/(this.width-$t),0),this.paddingRight=Math.max((Zn-pn+he)*this.width/(this.width-pn),0)}else{let $t=C.height/2,pn=w.height/2;"start"===re?($t=0,pn=w.height):"end"===re&&($t=C.height,pn=0),this.paddingTop=$t+he,this.paddingBottom=pn+he}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){(0,r.Q)(this.options.afterFit,[this])}isHorizontal(){const{axis:w,position:C}=this.options;return"top"===C||"bottom"===C||"x"===w}isFullSize(){return this.options.fullSize}_convertTicksToLabels(w){let C,N;for(this.beforeTickToLabelConversion(),this.generateTickLabels(w),C=0,N=w.length;C<N;C++)(0,r.k)(w[C].label)&&(w.splice(C,1),N--,C--);this.afterTickToLabelConversion()}_getLabelSizes(){let w=this._labelSizes;if(!w){const C=this.options.ticks.sampleSize;let N=this.ticks;C<N.length&&(N=bs(N,C)),this._labelSizes=w=this._computeLabelSizes(N,N.length,this.options.ticks.maxTicksLimit)}return w}_computeLabelSizes(w,C,N){const{ctx:B,_longestTextCache:re}=this,he=[],Te=[],$e=Math.floor(C/Ss(C,N));let pn,Fn,Zn,or,Hr,Ci,Zi,$i,Co,Ho,co,it=0,$t=0;for(pn=0;pn<C;pn+=$e){if(or=w[pn].label,Hr=this._resolveTickFontOptions(pn),B.font=Ci=Hr.string,Zi=re[Ci]=re[Ci]||{data:{},gc:[]},$i=Hr.lineHeight,Co=Ho=0,(0,r.k)(or)||(0,r.b)(or)){if((0,r.b)(or))for(Fn=0,Zn=or.length;Fn<Zn;++Fn)co=or[Fn],!(0,r.k)(co)&&!(0,r.b)(co)&&(Co=(0,r.V)(B,Zi.data,Zi.gc,Co,co),Ho+=$i)}else Co=(0,r.V)(B,Zi.data,Zi.gc,Co,or),Ho=$i;he.push(Co),Te.push(Ho),it=Math.max(Co,it),$t=Math.max(Ho,$t)}!function $s(k,w){(0,r.F)(k,C=>{const N=C.gc,B=N.length/2;let re;if(B>w){for(re=0;re<B;++re)delete C.data[N[re]];N.splice(0,B)}})}(re,C);const vo=he.indexOf(it),ms=Te.indexOf($t),ds=Ts=>({width:he[Ts]||0,height:Te[Ts]||0});return{first:ds(0),last:ds(C-1),widest:ds(vo),highest:ds(ms),widths:he,heights:Te}}getLabelForValue(w){return w}getPixelForValue(w,C){return NaN}getValueForPixel(w){}getPixelForTick(w){const C=this.ticks;return w<0||w>C.length-1?null:this.getPixelForValue(C[w].value)}getPixelForDecimal(w){this._reversePixels&&(w=1-w);const C=this._startPixel+w*this._length;return(0,r.W)(this._alignToPixels?(0,r.X)(this.chart,C,0):C)}getDecimalForPixel(w){const C=(w-this._startPixel)/this._length;return this._reversePixels?1-C:C}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:w,max:C}=this;return w<0&&C<0?C:w>0&&C>0?w:0}getContext(w){const C=this.ticks||[];if(w>=0&&w<C.length){const N=C[w];return N.$context||(N.$context=function Do(k,w,C){return(0,r.j)(k,{tick:C,index:w,type:"tick"})}(this.getContext(),w,N))}return this.$context||(this.$context=function ra(k,w){return(0,r.j)(k,{scale:w,type:"scale"})}(this.chart.getContext(),this))}_tickSize(){const w=this.options.ticks,C=(0,r.t)(this.labelRotation),N=Math.abs(Math.cos(C)),B=Math.abs(Math.sin(C)),re=this._getLabelSizes(),he=w.autoSkipPadding||0,Te=re?re.widest.width+he:0,$e=re?re.highest.height+he:0;return this.isHorizontal()?$e*N>Te*B?Te/N:$e/B:$e*B<Te*N?$e/N:Te/B}_isVisible(){const w=this.options.display;return"auto"!==w?!!w:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(w){const C=this.axis,N=this.chart,B=this.options,{grid:re,position:he,border:Te}=B,$e=re.offset,it=this.isHorizontal(),pn=this.ticks.length+($e?1:0),Fn=ps(re),Zn=[],or=Te.setContext(this.getContext()),Hr=or.display?or.width:0,Ci=Hr/2,Zi=function(Yc){return(0,r.X)(N,Yc,Hr)};let $i,Co,Ho,co,vo,ms,ds,Ts,el,ga,va,vc;if("top"===he)$i=Zi(this.bottom),ms=this.bottom-Fn,Ts=$i-Ci,ga=Zi(w.top)+Ci,vc=w.bottom;else if("bottom"===he)$i=Zi(this.top),ga=w.top,vc=Zi(w.bottom)-Ci,ms=$i+Ci,Ts=this.top+Fn;else if("left"===he)$i=Zi(this.right),vo=this.right-Fn,ds=$i-Ci,el=Zi(w.left)+Ci,va=w.right;else if("right"===he)$i=Zi(this.left),el=w.left,va=Zi(w.right)-Ci,vo=$i+Ci,ds=this.left+Fn;else if("x"===C){if("center"===he)$i=Zi((w.top+w.bottom)/2+.5);else if((0,r.i)(he)){const Yc=Object.keys(he)[0];$i=Zi(this.chart.scales[Yc].getPixelForValue(he[Yc]))}ga=w.top,vc=w.bottom,ms=$i+Ci,Ts=ms+Fn}else if("y"===C){if("center"===he)$i=Zi((w.left+w.right)/2);else if((0,r.i)(he)){const Yc=Object.keys(he)[0];$i=Zi(this.chart.scales[Yc].getPixelForValue(he[Yc]))}vo=$i-Ci,ds=vo-Fn,el=w.left,va=w.right}const Gu=(0,r.v)(B.ticks.maxTicksLimit,pn),wl=Math.max(1,Math.ceil(pn/Gu));for(Co=0;Co<pn;Co+=wl){const Yc=this.getContext(Co),Nl=re.setContext(Yc),_u=Te.setContext(Yc),jc=Nl.lineWidth,rd=Nl.color,pd=_u.dash||[],Pu=_u.dashOffset,Ku=Nl.tickWidth,Td=Nl.tickColor,af=Nl.tickBorderDash||[],xc=Nl.tickBorderDashOffset;Ho=ko(this,Co,$e),void 0!==Ho&&(co=(0,r.X)(N,Ho,jc),it?vo=ds=el=va=co:ms=Ts=ga=vc=co,Zn.push({tx1:vo,ty1:ms,tx2:ds,ty2:Ts,x1:el,y1:ga,x2:va,y2:vc,width:jc,color:rd,borderDash:pd,borderDashOffset:Pu,tickWidth:Ku,tickColor:Td,tickBorderDash:af,tickBorderDashOffset:xc}))}return this._ticksLength=pn,this._borderValue=$i,Zn}_computeLabelItems(w){const C=this.axis,N=this.options,{position:B,ticks:re}=N,he=this.isHorizontal(),Te=this.ticks,{align:$e,crossAlign:it,padding:$t,mirror:pn}=re,Fn=ps(N.grid),Zn=Fn+$t,or=pn?-$t:Zn,Hr=-(0,r.t)(this.labelRotation),Ci=[];let Zi,$i,Co,Ho,co,vo,ms,ds,Ts,el,ga,va,vc="middle";if("top"===B)vo=this.bottom-or,ms=this._getXAxisLabelAlignment();else if("bottom"===B)vo=this.top+or,ms=this._getXAxisLabelAlignment();else if("left"===B){const wl=this._getYAxisLabelAlignment(Fn);ms=wl.textAlign,co=wl.x}else if("right"===B){const wl=this._getYAxisLabelAlignment(Fn);ms=wl.textAlign,co=wl.x}else if("x"===C){if("center"===B)vo=(w.top+w.bottom)/2+Zn;else if((0,r.i)(B)){const wl=Object.keys(B)[0];vo=this.chart.scales[wl].getPixelForValue(B[wl])+Zn}ms=this._getXAxisLabelAlignment()}else if("y"===C){if("center"===B)co=(w.left+w.right)/2-Zn;else if((0,r.i)(B)){const wl=Object.keys(B)[0];co=this.chart.scales[wl].getPixelForValue(B[wl])}ms=this._getYAxisLabelAlignment(Fn).textAlign}"y"===C&&("start"===$e?vc="top":"end"===$e&&(vc="bottom"));const Gu=this._getLabelSizes();for(Zi=0,$i=Te.length;Zi<$i;++Zi){Co=Te[Zi],Ho=Co.label;const wl=re.setContext(this.getContext(Zi));ds=this.getPixelForTick(Zi)+re.labelOffset,Ts=this._resolveTickFontOptions(Zi),el=Ts.lineHeight,ga=(0,r.b)(Ho)?Ho.length:1;const Yc=ga/2,Nl=wl.color,_u=wl.textStrokeColor,jc=wl.textStrokeWidth;let pd,rd=ms;if(he?(co=ds,"inner"===ms&&(rd=Zi===$i-1?this.options.reverse?"left":"right":0===Zi?this.options.reverse?"right":"left":"center"),va="top"===B?"near"===it||0!==Hr?-ga*el+el/2:"center"===it?-Gu.highest.height/2-Yc*el+el:el/2-Gu.highest.height:"near"===it||0!==Hr?el/2:"center"===it?Gu.highest.height/2-Yc*el:Gu.highest.height-ga*el,pn&&(va*=-1),0!==Hr&&!wl.showLabelBackdrop&&(co+=el/2*Math.sin(Hr))):(vo=ds,va=(1-ga)*el/2),wl.showLabelBackdrop){const Pu=(0,r.E)(wl.backdropPadding),Ku=Gu.heights[Zi],Td=Gu.widths[Zi];let af=va-Pu.top,xc=0-Pu.left;switch(vc){case"middle":af-=Ku/2;break;case"bottom":af-=Ku}switch(ms){case"center":xc-=Td/2;break;case"right":xc-=Td}pd={left:xc,top:af,width:Td+Pu.width,height:Ku+Pu.height,color:wl.backdropColor}}Ci.push({label:Ho,font:Ts,textOffset:va,options:{rotation:Hr,color:Nl,strokeColor:_u,strokeWidth:jc,textAlign:rd,textBaseline:vc,translation:[co,vo],backdrop:pd}})}return Ci}_getXAxisLabelAlignment(){const{position:w,ticks:C}=this.options;if(-(0,r.t)(this.labelRotation))return"top"===w?"left":"right";let B="center";return"start"===C.align?B="left":"end"===C.align?B="right":"inner"===C.align&&(B="inner"),B}_getYAxisLabelAlignment(w){const{position:C,ticks:{crossAlign:N,mirror:B,padding:re}}=this.options,Te=w+re,$e=this._getLabelSizes().widest.width;let it,$t;return"left"===C?B?($t=this.right+re,"near"===N?it="left":"center"===N?(it="center",$t+=$e/2):(it="right",$t+=$e)):($t=this.right-Te,"near"===N?it="right":"center"===N?(it="center",$t-=$e/2):(it="left",$t=this.left)):"right"===C?B?($t=this.left+re,"near"===N?it="right":"center"===N?(it="center",$t-=$e/2):(it="left",$t-=$e)):($t=this.left+Te,"near"===N?it="left":"center"===N?(it="center",$t+=$e/2):(it="right",$t=this.right)):it="right",{textAlign:it,x:$t}}_computeLabelArea(){if(this.options.ticks.mirror)return;const w=this.chart,C=this.options.position;return"left"===C||"right"===C?{top:0,left:this.left,bottom:w.height,right:this.right}:"top"===C||"bottom"===C?{top:this.top,left:0,bottom:this.bottom,right:w.width}:void 0}drawBackground(){const{ctx:w,options:{backgroundColor:C},left:N,top:B,width:re,height:he}=this;C&&(w.save(),w.fillStyle=C,w.fillRect(N,B,re,he),w.restore())}getLineWidthForValue(w){const C=this.options.grid;if(!this._isVisible()||!C.display)return 0;const B=this.ticks.findIndex(re=>re.value===w);return B>=0?C.setContext(this.getContext(B)).lineWidth:0}drawGrid(w){const C=this.options.grid,N=this.ctx,B=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(w));let re,he;const Te=($e,it,$t)=>{!$t.width||!$t.color||(N.save(),N.lineWidth=$t.width,N.strokeStyle=$t.color,N.setLineDash($t.borderDash||[]),N.lineDashOffset=$t.borderDashOffset,N.beginPath(),N.moveTo($e.x,$e.y),N.lineTo(it.x,it.y),N.stroke(),N.restore())};if(C.display)for(re=0,he=B.length;re<he;++re){const $e=B[re];C.drawOnChartArea&&Te({x:$e.x1,y:$e.y1},{x:$e.x2,y:$e.y2},$e),C.drawTicks&&Te({x:$e.tx1,y:$e.ty1},{x:$e.tx2,y:$e.ty2},{color:$e.tickColor,width:$e.tickWidth,borderDash:$e.tickBorderDash,borderDashOffset:$e.tickBorderDashOffset})}}drawBorder(){const{chart:w,ctx:C,options:{border:N,grid:B}}=this,re=N.setContext(this.getContext()),he=N.display?re.width:0;if(!he)return;const Te=B.setContext(this.getContext(0)).lineWidth,$e=this._borderValue;let it,$t,pn,Fn;this.isHorizontal()?(it=(0,r.X)(w,this.left,he)-he/2,$t=(0,r.X)(w,this.right,Te)+Te/2,pn=Fn=$e):(pn=(0,r.X)(w,this.top,he)-he/2,Fn=(0,r.X)(w,this.bottom,Te)+Te/2,it=$t=$e),C.save(),C.lineWidth=re.width,C.strokeStyle=re.color,C.beginPath(),C.moveTo(it,pn),C.lineTo($t,Fn),C.stroke(),C.restore()}drawLabels(w){if(!this.options.ticks.display)return;const N=this.ctx,B=this._computeLabelArea();B&&(0,r.Y)(N,B);const re=this.getLabelItems(w);for(const he of re)(0,r.Z)(N,he.label,0,he.textOffset,he.font,he.options);B&&(0,r.$)(N)}drawTitle(){const{ctx:w,options:{position:C,title:N,reverse:B}}=this;if(!N.display)return;const re=(0,r.a0)(N.font),he=(0,r.E)(N.padding),Te=N.align;let $e=re.lineHeight/2;"bottom"===C||"center"===C||(0,r.i)(C)?($e+=he.bottom,(0,r.b)(N.text)&&($e+=re.lineHeight*(N.text.length-1))):$e+=he.top;const{titleX:it,titleY:$t,maxWidth:pn,rotation:Fn}=function Ql(k,w,C,N){const{top:B,left:re,bottom:he,right:Te,chart:$e}=k,{chartArea:it,scales:$t}=$e;let Fn,Zn,or,pn=0;const Hr=he-B,Ci=Te-re;if(k.isHorizontal()){if(Zn=(0,r.a2)(N,re,Te),(0,r.i)(C)){const Zi=Object.keys(C)[0];or=$t[Zi].getPixelForValue(C[Zi])+Hr-w}else or="center"===C?(it.bottom+it.top)/2+Hr-w:xo(k,C,w);Fn=Te-re}else{if((0,r.i)(C)){const Zi=Object.keys(C)[0];Zn=$t[Zi].getPixelForValue(C[Zi])-Ci+w}else Zn="center"===C?(it.left+it.right)/2-Ci+w:xo(k,C,w);or=(0,r.a2)(N,he,B),pn="left"===C?-r.H:r.H}return{titleX:Zn,titleY:or,maxWidth:Fn,rotation:pn}}(this,$e,C,Te);(0,r.Z)(w,N.text,0,0,re,{color:N.color,maxWidth:pn,rotation:Fn,textAlign:oc(Te,C,B),textBaseline:"middle",translation:[it,$t]})}draw(w){this._isVisible()&&(this.drawBackground(),this.drawGrid(w),this.drawBorder(),this.drawTitle(),this.drawLabels(w))}_layers(){const w=this.options,C=w.ticks&&w.ticks.z||0,N=(0,r.v)(w.grid&&w.grid.z,-1),B=(0,r.v)(w.border&&w.border.z,0);return this._isVisible()&&this.draw===tl.prototype.draw?[{z:N,draw:re=>{this.drawBackground(),this.drawGrid(re),this.drawTitle()}},{z:B,draw:()=>{this.drawBorder()}},{z:C,draw:re=>{this.drawLabels(re)}}]:[{z:C,draw:re=>{this.draw(re)}}]}getMatchingVisibleMetas(w){const C=this.chart.getSortedVisibleDatasetMetas(),N=this.axis+"AxisID",B=[];let re,he;for(re=0,he=C.length;re<he;++re){const Te=C[re];Te[N]===this.id&&(!w||Te.type===w)&&B.push(Te)}return B}_resolveTickFontOptions(w){const C=this.options.ticks.setContext(this.getContext(w));return(0,r.a0)(C.font)}_maxDigits(){const w=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/w}}class Da{constructor(w,C,N){this.type=w,this.scope=C,this.override=N,this.items=Object.create(null)}isForType(w){return Object.prototype.isPrototypeOf.call(this.type.prototype,w.prototype)}register(w){const C=Object.getPrototypeOf(w);let N;(function Eo(k){return"id"in k&&"defaults"in k})(C)&&(N=this.register(C));const B=this.items,re=w.id,he=this.scope+"."+re;if(!re)throw new Error("class does not have id: "+w);return re in B||(B[re]=w,function Ga(k,w,C){const N=(0,r.a4)(Object.create(null),[C?r.d.get(C):{},r.d.get(w),k.defaults]);r.d.set(w,N),k.defaultRoutes&&function Pl(k,w){Object.keys(w).forEach(C=>{const N=C.split("."),B=N.pop(),re=[k].concat(N).join("."),he=w[C].split("."),Te=he.pop(),$e=he.join(".");r.d.route(re,B,$e,Te)})}(w,k.defaultRoutes),k.descriptors&&r.d.describe(w,k.descriptors)}(w,he,N),this.override&&r.d.override(w.id,w.overrides)),he}get(w){return this.items[w]}unregister(w){const C=this.items,N=w.id,B=this.scope;N in C&&delete C[N],B&&N in r.d[B]&&(delete r.d[B][N],this.override&&delete r.a3[N])}}class Ra{constructor(){this.controllers=new Da(Et,"datasets",!0),this.elements=new Da(Mo,"elements"),this.plugins=new Da(Object,"plugins"),this.scales=new Da(tl,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...w){this._each("register",w)}remove(...w){this._each("unregister",w)}addControllers(...w){this._each("register",w,this.controllers)}addElements(...w){this._each("register",w,this.elements)}addPlugins(...w){this._each("register",w,this.plugins)}addScales(...w){this._each("register",w,this.scales)}getController(w){return this._get(w,this.controllers,"controller")}getElement(w){return this._get(w,this.elements,"element")}getPlugin(w){return this._get(w,this.plugins,"plugin")}getScale(w){return this._get(w,this.scales,"scale")}removeControllers(...w){this._each("unregister",w,this.controllers)}removeElements(...w){this._each("unregister",w,this.elements)}removePlugins(...w){this._each("unregister",w,this.plugins)}removeScales(...w){this._each("unregister",w,this.scales)}_each(w,C,N){[...C].forEach(B=>{const re=N||this._getRegistryForType(B);N||re.isForType(B)||re===this.plugins&&B.id?this._exec(w,re,B):(0,r.F)(B,he=>{const Te=N||this._getRegistryForType(he);this._exec(w,Te,he)})})}_exec(w,C,N){const B=(0,r.a5)(w);(0,r.Q)(N["before"+B],[],N),C[w](N),(0,r.Q)(N["after"+B],[],N)}_getRegistryForType(w){for(let C=0;C<this._typedRegistries.length;C++){const N=this._typedRegistries[C];if(N.isForType(w))return N}return this.plugins}_get(w,C,N){const B=C.get(w);if(void 0===B)throw new Error('"'+w+'" is not a registered '+N+".");return B}}var Fo=new Ra;class Cs{constructor(){this._init=[]}notify(w,C,N,B){"beforeInit"===C&&(this._init=this._createDescriptors(w,!0),this._notify(this._init,w,"install"));const re=B?this._descriptors(w).filter(B):this._descriptors(w),he=this._notify(re,w,C,N);return"afterDestroy"===C&&(this._notify(re,w,"stop"),this._notify(this._init,w,"uninstall")),he}_notify(w,C,N,B){B=B||{};for(const re of w){const he=re.plugin;if(!1===(0,r.Q)(he[N],[C,B,re.options],he)&&B.cancelable)return!1}return!0}invalidate(){(0,r.k)(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(w){if(this._cache)return this._cache;const C=this._cache=this._createDescriptors(w);return this._notifyStateChanges(w),C}_createDescriptors(w,C){const N=w&&w.config,B=(0,r.v)(N.options&&N.options.plugins,{}),re=function Ks(k){const w={},C=[],N=Object.keys(Fo.plugins.items);for(let re=0;re<N.length;re++)C.push(Fo.getPlugin(N[re]));const B=k.plugins||[];for(let re=0;re<B.length;re++){const he=B[re];-1===C.indexOf(he)&&(C.push(he),w[he.id]=!0)}return{plugins:C,localIds:w}}(N);return!1!==B||C?function ml(k,{plugins:w,localIds:C},N,B){const re=[],he=k.getContext();for(const Te of w){const $e=Te.id,it=nl(N[$e],B);null!==it&&re.push({plugin:Te,options:ma(k.config,{plugin:Te,local:C[$e]},it,he)})}return re}(w,re,B,C):[]}_notifyStateChanges(w){const C=this._oldCache||[],N=this._cache,B=(re,he)=>re.filter(Te=>!he.some($e=>Te.plugin.id===$e.plugin.id));this._notify(B(C,N),w,"stop"),this._notify(B(N,C),w,"start")}}function nl(k,w){return w||!1!==k?!0===k?{}:k:null}function ma(k,{plugin:w,local:C},N,B){const re=k.pluginScopeKeys(w),he=k.getOptionScopes(N,re);return C&&w.defaults&&he.push(w.defaults),k.createResolver(he,B,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Qo(k,w){return((w.datasets||{})[k]||{}).indexAxis||w.indexAxis||(r.d.datasets[k]||{}).indexAxis||"x"}function rs(k){if("x"===k||"y"===k||"r"===k)return k}function Lo(k){return"top"===k||"bottom"===k?"x":"left"===k||"right"===k?"y":void 0}function Br(k,...w){if(rs(k))return k;for(const C of w){const N=C.axis||Lo(C.position)||k.length>1&&rs(k[0].toLowerCase());if(N)return N}throw new Error(`Cannot determine type of '${k}' axis. Please provide 'axis' or 'position' option.`)}function qi(k,w,C){if(C[w+"AxisID"]===k)return{axis:w}}function ae(k){const w=k.options||(k.options={});w.plugins=(0,r.v)(w.plugins,{}),w.scales=function On(k,w){const C=r.a3[k.type]||{scales:{}},N=w.scales||{},B=Qo(k.type,w),re=Object.create(null);return Object.keys(N).forEach(he=>{const Te=N[he];if(!(0,r.i)(Te))return console.error(`Invalid scale configuration for scale: ${he}`);if(Te._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${he}`);const $e=Br(he,Te,function _t(k,w){if(w.data&&w.data.datasets){const C=w.data.datasets.filter(N=>N.xAxisID===k||N.yAxisID===k);if(C.length)return qi(k,"x",C[0])||qi(k,"y",C[0])}return{}}(he,k),r.d.scales[Te.type]),it=function ys(k,w){return k===w?"_index_":"_value_"}($e,B),$t=C.scales||{};re[he]=(0,r.ab)(Object.create(null),[{axis:$e},Te,$t[$e],$t[it]])}),k.data.datasets.forEach(he=>{const Te=he.type||k.type,$e=he.indexAxis||Qo(Te,w),$t=(r.a3[Te]||{}).scales||{};Object.keys($t).forEach(pn=>{const Fn=function Go(k,w){let C=k;return"_index_"===k?C=w:"_value_"===k&&(C="x"===w?"y":"x"),C}(pn,$e),Zn=he[Fn+"AxisID"]||Fn;re[Zn]=re[Zn]||Object.create(null),(0,r.ab)(re[Zn],[{axis:Fn},N[Zn],$t[pn]])})}),Object.keys(re).forEach(he=>{const Te=re[he];(0,r.ab)(Te,[r.d.scales[Te.type],r.d.scale])}),re}(k,w)}function We(k){return(k=k||{}).datasets=k.datasets||[],k.labels=k.labels||[],k}const yn=new Map,Ei=new Set;function Ui(k,w){let C=yn.get(k);return C||(C=w(),yn.set(k,C),Ei.add(C)),C}const eo=(k,w,C)=>{const N=(0,r.f)(w,C);void 0!==N&&k.add(N)};class js{constructor(w){this._config=function on(k){return(k=k||{}).data=We(k.data),ae(k),k}(w),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(w){this._config.type=w}get data(){return this._config.data}set data(w){this._config.data=We(w)}get options(){return this._config.options}set options(w){this._config.options=w}get plugins(){return this._config.plugins}update(){const w=this._config;this.clearCache(),ae(w)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(w){return Ui(w,()=>[[`datasets.${w}`,""]])}datasetAnimationScopeKeys(w,C){return Ui(`${w}.transition.${C}`,()=>[[`datasets.${w}.transitions.${C}`,`transitions.${C}`],[`datasets.${w}`,""]])}datasetElementScopeKeys(w,C){return Ui(`${w}-${C}`,()=>[[`datasets.${w}.elements.${C}`,`datasets.${w}`,`elements.${C}`,""]])}pluginScopeKeys(w){const C=w.id;return Ui(`${this.type}-plugin-${C}`,()=>[[`plugins.${C}`,...w.additionalOptionScopes||[]]])}_cachedScopes(w,C){const N=this._scopeCache;let B=N.get(w);return(!B||C)&&(B=new Map,N.set(w,B)),B}getOptionScopes(w,C,N){const{options:B,type:re}=this,he=this._cachedScopes(w,N),Te=he.get(C);if(Te)return Te;const $e=new Set;C.forEach($t=>{w&&($e.add(w),$t.forEach(pn=>eo($e,w,pn))),$t.forEach(pn=>eo($e,B,pn)),$t.forEach(pn=>eo($e,r.a3[re]||{},pn)),$t.forEach(pn=>eo($e,r.d,pn)),$t.forEach(pn=>eo($e,r.a6,pn))});const it=Array.from($e);return 0===it.length&&it.push(Object.create(null)),Ei.has(C)&&he.set(C,it),it}chartOptionScopes(){const{options:w,type:C}=this;return[w,r.a3[C]||{},r.d.datasets[C]||{},{type:C},r.d,r.a6]}resolveNamedOptions(w,C,N,B=[""]){const re={$shared:!0},{resolver:he,subPrefixes:Te}=hs(this._resolverCache,w,B);let $e=he;if(function ta(k,w){const{isScriptable:C,isIndexable:N}=(0,r.aa)(k);for(const B of w){const re=C(B),he=N(B),Te=(he||re)&&k[B];if(re&&((0,r.a7)(Te)||ia(Te))||he&&(0,r.b)(Te))return!0}return!1}(he,C)){re.$shared=!1,N=(0,r.a7)(N)?N():N;const it=this.createResolver(w,N,Te);$e=(0,r.a8)(he,N,it)}for(const it of C)re[it]=$e[it];return re}createResolver(w,C,N=[""],B){const{resolver:re}=hs(this._resolverCache,w,N);return(0,r.i)(C)?(0,r.a8)(re,C,void 0,B):re}}function hs(k,w,C){let N=k.get(w);N||(N=new Map,k.set(w,N));const B=C.join();let re=N.get(B);return re||(re={resolver:(0,r.a9)(w,C),subPrefixes:C.filter(Te=>!Te.toLowerCase().includes("hover"))},N.set(B,re)),re}const ia=k=>(0,r.i)(k)&&Object.getOwnPropertyNames(k).reduce((w,C)=>w||(0,r.a7)(k[C]),!1),Fl=["top","bottom","left","right","chartArea"];function zc(k,w){return"top"===k||"bottom"===k||-1===Fl.indexOf(k)&&"x"===w}function Uu(k,w){return function(C,N){return C[k]===N[k]?C[w]-N[w]:C[k]-N[k]}}function ru(k){const w=k.chart,C=w.options.animation;w.notifyPlugins("afterRender"),(0,r.Q)(C&&C.onComplete,[k],w)}function bl(k){const w=k.chart,C=w.options.animation;(0,r.Q)(C&&C.onProgress,[k],w)}function Ou(k){return(0,r.M)()&&"string"==typeof k?k=document.getElementById(k):k&&k.length&&(k=k[0]),k&&k.canvas&&(k=k.canvas),k}const Za={},ec=k=>{const w=Ou(k);return Object.values(Za).filter(C=>C.canvas===w).pop()};function wa(k,w,C){const N=Object.keys(k);for(const B of N){const re=+B;if(re>=w){const he=k[B];delete k[B],(C>0||re>w)&&(k[re+C]=he)}}}function Sc(k,w,C){return k.options.clip?k[C]:w[C]}let Kc=(()=>class k{static defaults=r.d;static instances=Za;static overrides=r.a3;static registry=Fo;static version="4.4.0";static getChart=ec;static register(...C){Fo.add(...C),Vc()}static unregister(...C){Fo.remove(...C),Vc()}constructor(C,N){const B=this.config=new js(N),re=Ou(C),he=ec(re);if(he)throw new Error("Canvas is already in use. Chart with ID '"+he.id+"' must be destroyed before the canvas with ID '"+he.canvas.id+"' can be reused.");const Te=B.createResolver(B.chartOptionScopes(),this.getContext());this.platform=new(B.platform||function Wi(k){return!(0,r.M)()||typeof OffscreenCanvas<"u"&&k instanceof OffscreenCanvas?Nr:Gi}(re)),this.platform.updateConfig(B);const $e=this.platform.acquireContext(re,Te.aspectRatio),it=$e&&$e.canvas,$t=it&&it.height,pn=it&&it.width;this.id=(0,r.ac)(),this.ctx=$e,this.canvas=it,this.width=pn,this.height=$t,this._options=Te,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Cs,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=(0,r.ad)(Fn=>this.update(Fn),Te.resizeDelay||0),this._dataChanges=[],Za[this.id]=this,$e&&it?(u.listen(this,"complete",ru),u.listen(this,"progress",bl),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:C,maintainAspectRatio:N},width:B,height:re,_aspectRatio:he}=this;return(0,r.k)(C)?N&&he?he:re?B/re:null:C}get data(){return this.config.data}set data(C){this.config.data=C}get options(){return this._options}set options(C){this.config.options=C}get registry(){return Fo}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():(0,r.ae)(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return(0,r.af)(this.canvas,this.ctx),this}stop(){return u.stop(this),this}resize(C,N){u.running(this)?this._resizeBeforeDraw={width:C,height:N}:this._resize(C,N)}_resize(C,N){const B=this.options,Te=this.platform.getMaximumSize(this.canvas,C,N,B.maintainAspectRatio&&this.aspectRatio),$e=B.devicePixelRatio||this.platform.getDevicePixelRatio(),it=this.width?"resize":"attach";this.width=Te.width,this.height=Te.height,this._aspectRatio=this.aspectRatio,(0,r.ae)(this,$e,!0)&&(this.notifyPlugins("resize",{size:Te}),(0,r.Q)(B.onResize,[this,Te],this),this.attached&&this._doResize(it)&&this.render())}ensureScalesHaveIDs(){(0,r.F)(this.options.scales||{},(B,re)=>{B.id=re})}buildOrUpdateScales(){const C=this.options,N=C.scales,B=this.scales,re=Object.keys(B).reduce((Te,$e)=>(Te[$e]=!1,Te),{});let he=[];N&&(he=he.concat(Object.keys(N).map(Te=>{const $e=N[Te],it=Br(Te,$e),$t="r"===it,pn="x"===it;return{options:$e,dposition:$t?"chartArea":pn?"bottom":"left",dtype:$t?"radialLinear":pn?"category":"linear"}}))),(0,r.F)(he,Te=>{const $e=Te.options,it=$e.id,$t=Br(it,$e),pn=(0,r.v)($e.type,Te.dtype);(void 0===$e.position||zc($e.position,$t)!==zc(Te.dposition))&&($e.position=Te.dposition),re[it]=!0;let Fn=null;it in B&&B[it].type===pn?Fn=B[it]:(Fn=new(Fo.getScale(pn))({id:it,type:pn,ctx:this.ctx,chart:this}),B[Fn.id]=Fn),Fn.init($e,C)}),(0,r.F)(re,(Te,$e)=>{Te||delete B[$e]}),(0,r.F)(B,Te=>{An.configure(this,Te,Te.options),An.addBox(this,Te)})}_updateMetasets(){const C=this._metasets,N=this.data.datasets.length,B=C.length;if(C.sort((re,he)=>re.index-he.index),B>N){for(let re=N;re<B;++re)this._destroyDatasetMeta(re);C.splice(N,B-N)}this._sortedMetasets=C.slice(0).sort(Uu("order","index"))}_removeUnreferencedMetasets(){const{_metasets:C,data:{datasets:N}}=this;C.length>N.length&&delete this._stacks,C.forEach((B,re)=>{0===N.filter(he=>he===B._dataset).length&&this._destroyDatasetMeta(re)})}buildOrUpdateControllers(){const C=[],N=this.data.datasets;let B,re;for(this._removeUnreferencedMetasets(),B=0,re=N.length;B<re;B++){const he=N[B];let Te=this.getDatasetMeta(B);const $e=he.type||this.config.type;if(Te.type&&Te.type!==$e&&(this._destroyDatasetMeta(B),Te=this.getDatasetMeta(B)),Te.type=$e,Te.indexAxis=he.indexAxis||Qo($e,this.options),Te.order=he.order||0,Te.index=B,Te.label=""+he.label,Te.visible=this.isDatasetVisible(B),Te.controller)Te.controller.updateIndex(B),Te.controller.linkScales();else{const it=Fo.getController($e),{datasetElementType:$t,dataElementType:pn}=r.d.datasets[$e];Object.assign(it,{dataElementType:Fo.getElement(pn),datasetElementType:$t&&Fo.getElement($t)}),Te.controller=new it(this,B),C.push(Te.controller)}}return this._updateMetasets(),C}_resetElements(){(0,r.F)(this.data.datasets,(C,N)=>{this.getDatasetMeta(N).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(C){const N=this.config;N.update();const B=this._options=N.createResolver(N.chartOptionScopes(),this.getContext()),re=this._animationsDisabled=!B.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:C,cancelable:!0}))return;const he=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let Te=0;for(let $t=0,pn=this.data.datasets.length;$t<pn;$t++){const{controller:Fn}=this.getDatasetMeta($t),Zn=!re&&-1===he.indexOf(Fn);Fn.buildOrUpdateElements(Zn),Te=Math.max(+Fn.getMaxOverflow(),Te)}Te=this._minPadding=B.layout.autoPadding?Te:0,this._updateLayout(Te),re||(0,r.F)(he,$t=>{$t.reset()}),this._updateDatasets(C),this.notifyPlugins("afterUpdate",{mode:C}),this._layers.sort(Uu("z","_idx"));const{_active:$e,_lastEvent:it}=this;it?this._eventHandler(it,!0):$e.length&&this._updateHoverStyles($e,$e,!0),this.render()}_updateScales(){(0,r.F)(this.scales,C=>{An.removeBox(this,C)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const C=this.options,N=new Set(Object.keys(this._listeners)),B=new Set(C.events);(!(0,r.ag)(N,B)||!!this._responsiveListeners!==C.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:C}=this,N=this._getUniformDataChanges()||[];for(const{method:B,start:re,count:he}of N)wa(C,re,"_removeElements"===B?-he:he)}_getUniformDataChanges(){const C=this._dataChanges;if(!C||!C.length)return;this._dataChanges=[];const N=this.data.datasets.length,B=he=>new Set(C.filter(Te=>Te[0]===he).map((Te,$e)=>$e+","+Te.splice(1).join(","))),re=B(0);for(let he=1;he<N;he++)if(!(0,r.ag)(re,B(he)))return;return Array.from(re).map(he=>he.split(",")).map(he=>({method:he[1],start:+he[2],count:+he[3]}))}_updateLayout(C){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;An.update(this,this.width,this.height,C);const N=this.chartArea,B=N.width<=0||N.height<=0;this._layers=[],(0,r.F)(this.boxes,re=>{B&&"chartArea"===re.position||(re.configure&&re.configure(),this._layers.push(...re._layers()))},this),this._layers.forEach((re,he)=>{re._idx=he}),this.notifyPlugins("afterLayout")}_updateDatasets(C){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:C,cancelable:!0})){for(let N=0,B=this.data.datasets.length;N<B;++N)this.getDatasetMeta(N).controller.configure();for(let N=0,B=this.data.datasets.length;N<B;++N)this._updateDataset(N,(0,r.a7)(C)?C({datasetIndex:N}):C);this.notifyPlugins("afterDatasetsUpdate",{mode:C})}}_updateDataset(C,N){const B=this.getDatasetMeta(C),re={meta:B,index:C,mode:N,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",re)&&(B.controller._update(N),re.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",re))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(u.has(this)?this.attached&&!u.running(this)&&u.start(this):(this.draw(),ru({chart:this})))}draw(){let C;if(this._resizeBeforeDraw){const{width:B,height:re}=this._resizeBeforeDraw;this._resize(B,re),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const N=this._layers;for(C=0;C<N.length&&N[C].z<=0;++C)N[C].draw(this.chartArea);for(this._drawDatasets();C<N.length;++C)N[C].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(C){const N=this._sortedMetasets,B=[];let re,he;for(re=0,he=N.length;re<he;++re){const Te=N[re];(!C||Te.visible)&&B.push(Te)}return B}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const C=this.getSortedVisibleDatasetMetas();for(let N=C.length-1;N>=0;--N)this._drawDataset(C[N]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(C){const N=this.ctx,B=C._clip,re=!B.disabled,he=function dl(k,w){const{xScale:C,yScale:N}=k;return C&&N?{left:Sc(C,w,"left"),right:Sc(C,w,"right"),top:Sc(N,w,"top"),bottom:Sc(N,w,"bottom")}:w}(C,this.chartArea),Te={meta:C,index:C.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",Te)&&(re&&(0,r.Y)(N,{left:!1===B.left?0:he.left-B.left,right:!1===B.right?this.width:he.right+B.right,top:!1===B.top?0:he.top-B.top,bottom:!1===B.bottom?this.height:he.bottom+B.bottom}),C.controller.draw(),re&&(0,r.$)(N),Te.cancelable=!1,this.notifyPlugins("afterDatasetDraw",Te))}isPointInArea(C){return(0,r.C)(C,this.chartArea,this._minPadding)}getElementsAtEventForMode(C,N,B,re){const he=cs.modes[N];return"function"==typeof he?he(this,C,B,re):[]}getDatasetMeta(C){const N=this.data.datasets[C],B=this._metasets;let re=B.filter(he=>he&&he._dataset===N).pop();return re||(re={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:N&&N.order||0,index:C,_dataset:N,_parsed:[],_sorted:!1},B.push(re)),re}getContext(){return this.$context||(this.$context=(0,r.j)(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(C){const N=this.data.datasets[C];if(!N)return!1;const B=this.getDatasetMeta(C);return"boolean"==typeof B.hidden?!B.hidden:!N.hidden}setDatasetVisibility(C,N){this.getDatasetMeta(C).hidden=!N}toggleDataVisibility(C){this._hiddenIndices[C]=!this._hiddenIndices[C]}getDataVisibility(C){return!this._hiddenIndices[C]}_updateVisibility(C,N,B){const re=B?"show":"hide",he=this.getDatasetMeta(C),Te=he.controller._resolveAnimations(void 0,re);(0,r.h)(N)?(he.data[N].hidden=!B,this.update()):(this.setDatasetVisibility(C,B),Te.update(he,{visible:B}),this.update($e=>$e.datasetIndex===C?re:void 0))}hide(C,N){this._updateVisibility(C,N,!1)}show(C,N){this._updateVisibility(C,N,!0)}_destroyDatasetMeta(C){const N=this._metasets[C];N&&N.controller&&N.controller._destroy(),delete this._metasets[C]}_stop(){let C,N;for(this.stop(),u.remove(this),C=0,N=this.data.datasets.length;C<N;++C)this._destroyDatasetMeta(C)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:C,ctx:N}=this;this._stop(),this.config.clearCache(),C&&(this.unbindEvents(),(0,r.af)(C,N),this.platform.releaseContext(N),this.canvas=null,this.ctx=null),delete Za[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...C){return this.canvas.toDataURL(...C)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const C=this._listeners,N=this.platform,B=(he,Te)=>{N.addEventListener(this,he,Te),C[he]=Te},re=(he,Te,$e)=>{he.offsetX=Te,he.offsetY=$e,this._eventHandler(he)};(0,r.F)(this.options.events,he=>B(he,re))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const C=this._responsiveListeners,N=this.platform,B=(it,$t)=>{N.addEventListener(this,it,$t),C[it]=$t},re=(it,$t)=>{C[it]&&(N.removeEventListener(this,it,$t),delete C[it])},he=(it,$t)=>{this.canvas&&this.resize(it,$t)};let Te;const $e=()=>{re("attach",$e),this.attached=!0,this.resize(),B("resize",he),B("detach",Te)};Te=()=>{this.attached=!1,re("resize",he),this._stop(),this._resize(0,0),B("attach",$e)},N.isAttached(this.canvas)?$e():Te()}unbindEvents(){(0,r.F)(this._listeners,(C,N)=>{this.platform.removeEventListener(this,N,C)}),this._listeners={},(0,r.F)(this._responsiveListeners,(C,N)=>{this.platform.removeEventListener(this,N,C)}),this._responsiveListeners=void 0}updateHoverStyle(C,N,B){const re=B?"set":"remove";let he,Te,$e,it;for("dataset"===N&&(he=this.getDatasetMeta(C[0].datasetIndex),he.controller["_"+re+"DatasetHoverStyle"]()),$e=0,it=C.length;$e<it;++$e){Te=C[$e];const $t=Te&&this.getDatasetMeta(Te.datasetIndex).controller;$t&&$t[re+"HoverStyle"](Te.element,Te.datasetIndex,Te.index)}}getActiveElements(){return this._active||[]}setActiveElements(C){const N=this._active||[],B=C.map(({datasetIndex:he,index:Te})=>{const $e=this.getDatasetMeta(he);if(!$e)throw new Error("No dataset found at index "+he);return{datasetIndex:he,element:$e.data[Te],index:Te}});!(0,r.ah)(B,N)&&(this._active=B,this._lastEvent=null,this._updateHoverStyles(B,N))}notifyPlugins(C,N,B){return this._plugins.notify(this,C,N,B)}isPluginEnabled(C){return 1===this._plugins._cache.filter(N=>N.plugin.id===C).length}_updateHoverStyles(C,N,B){const re=this.options.hover,he=(it,$t)=>it.filter(pn=>!$t.some(Fn=>pn.datasetIndex===Fn.datasetIndex&&pn.index===Fn.index)),Te=he(N,C),$e=B?C:he(C,N);Te.length&&this.updateHoverStyle(Te,re.mode,!1),$e.length&&re.mode&&this.updateHoverStyle($e,re.mode,!0)}_eventHandler(C,N){const B={event:C,replay:N,cancelable:!0,inChartArea:this.isPointInArea(C)},re=Te=>(Te.options.events||this.options.events).includes(C.native.type);if(!1===this.notifyPlugins("beforeEvent",B,re))return;const he=this._handleEvent(C,N,B.inChartArea);return B.cancelable=!1,this.notifyPlugins("afterEvent",B,re),(he||B.changed)&&this.render(),this}_handleEvent(C,N,B){const{_active:re=[],options:he}=this,$e=this._getActiveElements(C,re,B,N),it=(0,r.ai)(C),$t=function Ec(k,w,C,N){return C&&"mouseout"!==k.type?N?w:k:null}(C,this._lastEvent,B,it);B&&(this._lastEvent=null,(0,r.Q)(he.onHover,[C,$e,this],this),it&&(0,r.Q)(he.onClick,[C,$e,this],this));const pn=!(0,r.ah)($e,re);return(pn||N)&&(this._active=$e,this._updateHoverStyles($e,re,N)),this._lastEvent=$t,pn}_getActiveElements(C,N,B,re){if("mouseout"===C.type)return[];if(!B)return N;const he=this.options.hover;return this.getElementsAtEventForMode(C,he.mode,he,re)}})();function Vc(){return(0,r.F)(Kc.instances,k=>k._plugins.invalidate())}function cc(k,w,C,N){return{x:C+k*Math.cos(w),y:N+k*Math.sin(w)}}function ka(k,w,C,N,B,re){const{x:he,y:Te,startAngle:$e,pixelMargin:it,innerRadius:$t}=w,pn=Math.max(w.outerRadius+N+C-it,0),Fn=$t>0?$t+N+C+it:0;let Zn=0;const or=B-$e;if(N){const Nl=(($t>0?$t-N:0)+(pn>0?pn-N:0))/2;Zn=(or-(0!==Nl?or*Nl/(Nl+N):or))/2}const Ci=(or-Math.max(.001,or*pn-C/r.P)/pn)/2,Zi=$e+Ci+Zn,$i=B-Ci-Zn,{outerStart:Co,outerEnd:Ho,innerStart:co,innerEnd:vo}=function Tc(k,w,C,N){const B=function xs(k){return(0,r.ak)(k,["outerStart","outerEnd","innerStart","innerEnd"])}(k.options.borderRadius),re=(C-w)/2,he=Math.min(re,N*w/2),Te=$e=>{const it=(C-Math.min(re,$e))*N/2;return(0,r.S)($e,0,Math.min(re,it))};return{outerStart:Te(B.outerStart),outerEnd:Te(B.outerEnd),innerStart:(0,r.S)(B.innerStart,0,he),innerEnd:(0,r.S)(B.innerEnd,0,he)}}(w,Fn,pn,$i-Zi),ms=pn-Co,ds=pn-Ho,Ts=Zi+Co/ms,el=$i-Ho/ds,ga=Fn+co,va=Fn+vo,vc=Zi+co/ga,Gu=$i-vo/va;if(k.beginPath(),re){const wl=(Ts+el)/2;if(k.arc(he,Te,pn,Ts,wl),k.arc(he,Te,pn,wl,el),Ho>0){const jc=cc(ds,el,he,Te);k.arc(jc.x,jc.y,Ho,el,$i+r.H)}const Yc=cc(va,$i,he,Te);if(k.lineTo(Yc.x,Yc.y),vo>0){const jc=cc(va,Gu,he,Te);k.arc(jc.x,jc.y,vo,$i+r.H,Gu+Math.PI)}const Nl=($i-vo/Fn+(Zi+co/Fn))/2;if(k.arc(he,Te,Fn,$i-vo/Fn,Nl,!0),k.arc(he,Te,Fn,Nl,Zi+co/Fn,!0),co>0){const jc=cc(ga,vc,he,Te);k.arc(jc.x,jc.y,co,vc+Math.PI,Zi-r.H)}const _u=cc(ms,Zi,he,Te);if(k.lineTo(_u.x,_u.y),Co>0){const jc=cc(ms,Ts,he,Te);k.arc(jc.x,jc.y,Co,Zi-r.H,Ts)}}else{k.moveTo(he,Te);const wl=Math.cos(Ts)*pn+he,Yc=Math.sin(Ts)*pn+Te;k.lineTo(wl,Yc);const Nl=Math.cos(el)*pn+he,_u=Math.sin(el)*pn+Te;k.lineTo(Nl,_u)}k.closePath()}function Mc(k,w,C=w){k.lineCap=(0,r.v)(C.borderCapStyle,w.borderCapStyle),k.setLineDash((0,r.v)(C.borderDash,w.borderDash)),k.lineDashOffset=(0,r.v)(C.borderDashOffset,w.borderDashOffset),k.lineJoin=(0,r.v)(C.borderJoinStyle,w.borderJoinStyle),k.lineWidth=(0,r.v)(C.borderWidth,w.borderWidth),k.strokeStyle=(0,r.v)(C.borderColor,w.borderColor)}function za(k,w,C){k.lineTo(C.x,C.y)}function Ka(k,w,C={}){const N=k.length,{start:B=0,end:re=N-1}=C,{start:he,end:Te}=w,$e=Math.max(B,he),it=Math.min(re,Te);return{count:N,start:$e,loop:w.loop,ilen:it<$e&&!(B<he&&re<he||B>Te&&re>Te)?N+it-$e:it-$e}}function Ua(k,w,C,N){const{points:B,options:re}=w,{count:he,start:Te,loop:$e,ilen:it}=Ka(B,C,N),$t=function vl(k){return k.stepped?r.ar:k.tension||"monotone"===k.cubicInterpolationMode?r.as:za}(re);let Zn,or,Hr,{move:pn=!0,reverse:Fn}=N||{};for(Zn=0;Zn<=it;++Zn)or=B[(Te+(Fn?it-Zn:Zn))%he],!or.skip&&(pn?(k.moveTo(or.x,or.y),pn=!1):$t(k,Hr,or,Fn,re.stepped),Hr=or);return $e&&(or=B[(Te+(Fn?it:0))%he],$t(k,Hr,or,Fn,re.stepped)),!!$e}function Xc(k,w,C,N){const B=w.points,{count:re,start:he,ilen:Te}=Ka(B,C,N),{move:$e=!0,reverse:it}=N||{};let Fn,Zn,or,Hr,Ci,Zi,$t=0,pn=0;const $i=Ho=>(he+(it?Te-Ho:Ho))%re,Co=()=>{Hr!==Ci&&(k.lineTo($t,Ci),k.lineTo($t,Hr),k.lineTo($t,Zi))};for($e&&(Zn=B[$i(0)],k.moveTo(Zn.x,Zn.y)),Fn=0;Fn<=Te;++Fn){if(Zn=B[$i(Fn)],Zn.skip)continue;const Ho=Zn.x,co=Zn.y,vo=0|Ho;vo===or?(co<Hr?Hr=co:co>Ci&&(Ci=co),$t=(pn*$t+Ho)/++pn):(Co(),k.lineTo(Ho,co),or=vo,pn=0,Hr=Ci=co),Zi=co}Co()}function sc(k){const w=k.options;return k._decimated||k._loop||w.tension||"monotone"===w.cubicInterpolationMode||w.stepped||w.borderDash&&w.borderDash.length?Ua:Xc}const ba="function"==typeof Path2D;let Oc=(()=>class k extends Mo{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:C=>"borderDash"!==C&&"fill"!==C};constructor(C){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,C&&Object.assign(this,C)}updateControlPoints(C,N){const B=this.options;!B.tension&&"monotone"!==B.cubicInterpolationMode||B.stepped||this._pointsUpdated||((0,r.al)(this._points,B,C,B.spanGaps?this._loop:this._fullLoop,N),this._pointsUpdated=!0)}set points(C){this._points=C,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=(0,r.am)(this,this.options.segment))}first(){const C=this.segments;return C.length&&this.points[C[0].start]}last(){const C=this.segments,B=C.length;return B&&this.points[C[B-1].end]}interpolate(C,N){const B=this.options,re=C[N],he=this.points,Te=(0,r.an)(this,{property:N,start:re,end:re});if(!Te.length)return;const $e=[],it=function Ba(k){return k.stepped?r.ao:k.tension||"monotone"===k.cubicInterpolationMode?r.ap:r.aq}(B);let $t,pn;for($t=0,pn=Te.length;$t<pn;++$t){const{start:Fn,end:Zn}=Te[$t],or=he[Fn],Hr=he[Zn];if(or===Hr){$e.push(or);continue}const Zi=it(or,Hr,Math.abs((re-or[N])/(Hr[N]-or[N])),B.stepped);Zi[N]=C[N],$e.push(Zi)}return 1===$e.length?$e[0]:$e}pathSegment(C,N,B){return sc(this)(C,this,N,B)}path(C,N,B){const re=this.segments,he=sc(this);let Te=this._loop;N=N||0,B=B||this.points.length-N;for(const $e of re)Te&=he(C,this,$e,{start:N,end:N+B-1});return!!Te}draw(C,N,B,re){(this.points||[]).length&&(this.options||{}).borderWidth&&(C.save(),function Xa(k,w,C,N){ba&&!w.options.segment?function Ic(k,w,C,N){let B=w._path;B||(B=w._path=new Path2D,w.path(B,C,N)&&B.closePath()),Mc(k,w.options),k.stroke(B)}(k,w,C,N):function Fc(k,w,C,N){const{segments:B,options:re}=w,he=sc(w);for(const Te of B)Mc(k,re,Te.style),k.beginPath(),he(k,w,Te,{start:C,end:C+N-1})&&k.closePath(),k.stroke()}(k,w,C,N)}(C,this,B,re),C.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}})();function Ac(k,w,C,N){const B=k.options,{[C]:re}=k.getProps([C],N);return Math.abs(w-re)<B.radius+B.hitRadius}let jl=(()=>class k extends Mo{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(C){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,C&&Object.assign(this,C)}inRange(C,N,B){const re=this.options,{x:he,y:Te}=this.getProps(["x","y"],B);return Math.pow(C-he,2)+Math.pow(N-Te,2)<Math.pow(re.hitRadius+re.radius,2)}inXRange(C,N){return Ac(this,C,"x",N)}inYRange(C,N){return Ac(this,C,"y",N)}getCenterPoint(C){const{x:N,y:B}=this.getProps(["x","y"],C);return{x:N,y:B}}size(C){let N=(C=C||this.options||{}).radius||0;return N=Math.max(N,N&&C.hoverRadius||0),2*(N+(N&&C.borderWidth||0))}draw(C,N){const B=this.options;this.skip||B.radius<.1||!(0,r.C)(this,N,this.size(B)/2)||(C.strokeStyle=B.borderColor,C.lineWidth=B.borderWidth,C.fillStyle=B.backgroundColor,(0,r.at)(C,B,this.x,this.y))}getRange(){const C=this.options||{};return C.radius+C.hitRadius}})();function yl(k,w){const{x:C,y:N,base:B,width:re,height:he}=k.getProps(["x","y","base","width","height"],w);let Te,$e,it,$t,pn;return k.horizontal?(pn=he/2,Te=Math.min(C,B),$e=Math.max(C,B),it=N-pn,$t=N+pn):(pn=re/2,Te=C-pn,$e=C+pn,it=Math.min(N,B),$t=Math.max(N,B)),{left:Te,top:it,right:$e,bottom:$t}}function Dc(k,w,C,N){return k?0:(0,r.S)(w,C,N)}function ut(k,w,C,N){const B=null===w,re=null===C,Te=k&&!(B&&re)&&yl(k,N);return Te&&(B||(0,r.aj)(w,Te.left,Te.right))&&(re||(0,r.aj)(C,Te.top,Te.bottom))}function hn(k,w){k.rect(w.x,w.y,w.w,w.h)}function vi(k,w,C={}){const N=k.x!==C.x?-w:0,B=k.y!==C.y?-w:0;return{x:k.x+N,y:k.y+B,w:k.w+((k.x+k.w!==C.x+C.w?w:0)-N),h:k.h+((k.y+k.h!==C.y+C.h?w:0)-B),radius:k.radius}}var Ya=Object.freeze({__proto__:null,ArcElement:class bc extends Mo{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:w=>"borderDash"!==w};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(w){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,w&&Object.assign(this,w)}inRange(w,C,N){const B=this.getProps(["x","y"],N),{angle:re,distance:he}=(0,r.D)(B,{x:w,y:C}),{startAngle:Te,endAngle:$e,innerRadius:it,outerRadius:$t,circumference:pn}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],N),Fn=(this.options.spacing+this.options.borderWidth)/2,or=(0,r.v)(pn,$e-Te)>=r.T||(0,r.p)(re,Te,$e),Hr=(0,r.aj)(he,it+Fn,$t+Fn);return or&&Hr}getCenterPoint(w){const{x:C,y:N,startAngle:B,endAngle:re,innerRadius:he,outerRadius:Te}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],w),{offset:$e,spacing:it}=this.options,$t=(B+re)/2,pn=(he+Te+it+$e)/2;return{x:C+Math.cos($t)*pn,y:N+Math.sin($t)*pn}}tooltipPosition(w){return this.getCenterPoint(w)}draw(w){const{options:C,circumference:N}=this,B=(C.offset||0)/4,re=(C.spacing||0)/2,he=C.circular;if(this.pixelMargin="inner"===C.borderAlign?.33:0,this.fullCircles=N>r.T?Math.floor(N/r.T):0,0===N||this.innerRadius<0||this.outerRadius<0)return;w.save();const Te=(this.startAngle+this.endAngle)/2;w.translate(Math.cos(Te)*B,Math.sin(Te)*B);const it=B*(1-Math.sin(Math.min(r.P,N||0)));w.fillStyle=C.backgroundColor,w.strokeStyle=C.borderColor,function gl(k,w,C,N,B){const{fullCircles:re,startAngle:he,circumference:Te}=w;let $e=w.endAngle;if(re){ka(k,w,C,N,$e,B);for(let it=0;it<re;++it)k.fill();isNaN(Te)||($e=he+(Te%r.T||r.T))}ka(k,w,C,N,$e,B),k.fill()}(w,this,it,re,he),function Cc(k,w,C,N,B){const{fullCircles:re,startAngle:he,circumference:Te,options:$e}=w,{borderWidth:it,borderJoinStyle:$t,borderDash:pn,borderDashOffset:Fn}=$e,Zn="inner"===$e.borderAlign;if(!it)return;k.setLineDash(pn||[]),k.lineDashOffset=Fn,Zn?(k.lineWidth=2*it,k.lineJoin=$t||"round"):(k.lineWidth=it,k.lineJoin=$t||"bevel");let or=w.endAngle;if(re){ka(k,w,C,N,or,B);for(let Hr=0;Hr<re;++Hr)k.stroke();isNaN(Te)||(or=he+(Te%r.T||r.T))}Zn&&function cu(k,w,C){const{startAngle:N,pixelMargin:B,x:re,y:he,outerRadius:Te,innerRadius:$e}=w;let it=B/Te;k.beginPath(),k.arc(re,he,Te,N-it,C+it),$e>B?(it=B/$e,k.arc(re,he,$e,C+it,N-it,!0)):k.arc(re,he,B,C+r.H,N-r.H),k.closePath(),k.clip()}(k,w,or),re||(ka(k,w,C,N,or,B),k.stroke())}(w,this,it,re,he),w.restore()}},BarElement:class wo extends Mo{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(w){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,w&&Object.assign(this,w)}draw(w){const{inflateAmount:C,options:{borderColor:N,backgroundColor:B}}=this,{inner:re,outer:he}=function St(k){const w=yl(k),C=w.right-w.left,N=w.bottom-w.top,B=function Zs(k,w,C){const B=k.borderSkipped,re=(0,r.av)(k.options.borderWidth);return{t:Dc(B.top,re.top,0,C),r:Dc(B.right,re.right,0,w),b:Dc(B.bottom,re.bottom,0,C),l:Dc(B.left,re.left,0,w)}}(k,C/2,N/2),re=function Au(k,w,C){const{enableBorderRadius:N}=k.getProps(["enableBorderRadius"]),B=k.options.borderRadius,re=(0,r.aw)(B),he=Math.min(w,C),Te=k.borderSkipped,$e=N||(0,r.i)(B);return{topLeft:Dc(!$e||Te.top||Te.left,re.topLeft,0,he),topRight:Dc(!$e||Te.top||Te.right,re.topRight,0,he),bottomLeft:Dc(!$e||Te.bottom||Te.left,re.bottomLeft,0,he),bottomRight:Dc(!$e||Te.bottom||Te.right,re.bottomRight,0,he)}}(k,C/2,N/2);return{outer:{x:w.left,y:w.top,w:C,h:N,radius:re},inner:{x:w.left+B.l,y:w.top+B.t,w:C-B.l-B.r,h:N-B.t-B.b,radius:{topLeft:Math.max(0,re.topLeft-Math.max(B.t,B.l)),topRight:Math.max(0,re.topRight-Math.max(B.t,B.r)),bottomLeft:Math.max(0,re.bottomLeft-Math.max(B.b,B.l)),bottomRight:Math.max(0,re.bottomRight-Math.max(B.b,B.r))}}}}(this),Te=function Je(k){return k.topLeft||k.topRight||k.bottomLeft||k.bottomRight}(he.radius)?r.au:hn;w.save(),(he.w!==re.w||he.h!==re.h)&&(w.beginPath(),Te(w,vi(he,C,re)),w.clip(),Te(w,vi(re,-C,he)),w.fillStyle=N,w.fill("evenodd")),w.beginPath(),Te(w,vi(re,C)),w.fillStyle=B,w.fill(),w.restore()}inRange(w,C,N){return ut(this,w,C,N)}inXRange(w,C){return ut(this,w,null,C)}inYRange(w,C){return ut(this,null,w,C)}getCenterPoint(w){const{x:C,y:N,base:B,horizontal:re}=this.getProps(["x","y","base","horizontal"],w);return{x:re?(C+B)/2:C,y:re?N:(N+B)/2}}getRange(w){return"x"===w?this.width/2:this.height/2}},LineElement:Oc,PointElement:jl});const Si=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],ca=Si.map(k=>k.replace("rgb(","rgba(").replace(")",", 0.5)"));function Xs(k){return Si[k%Si.length]}function Rc(k){return ca[k%ca.length]}function Ju(k){let w;for(w in k)if(k[w].borderColor||k[w].backgroundColor)return!0;return!1}var Cu={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(k,w,C){if(!C.enabled)return;const{data:{datasets:N},options:B}=k.config,{elements:re}=B;if(!C.forceOverride&&(Ju(N)||function eu(k){return k&&(k.borderColor||k.backgroundColor)}(B)||re&&Ju(re)))return;const he=function zl(k){let w=0;return(C,N)=>{const B=k.getDatasetMeta(N).controller;B instanceof oi?w=function qc(k,w){return k.backgroundColor=k.data.map(()=>Xs(w++)),w}(C,w):B instanceof Tr?w=function gc(k,w){return k.backgroundColor=k.data.map(()=>Rc(w++)),w}(C,w):B&&(w=function Zl(k,w){return k.borderColor=Xs(w),k.backgroundColor=Rc(w),++w}(C,w))}}(k);N.forEach(he)}};function Ll(k){if(k._decimated){const w=k._data;delete k._decimated,delete k._data,Object.defineProperty(k,"data",{configurable:!0,enumerable:!0,writable:!0,value:w})}}function rl(k){k.data.datasets.forEach(w=>{Ll(w)})}var X={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(k,w,C)=>{if(!C.enabled)return void rl(k);const N=k.width;k.data.datasets.forEach((B,re)=>{const{_data:he,indexAxis:Te}=B,$e=k.getDatasetMeta(re),it=he||B.data;if("y"===(0,r.a)([Te,k.options.indexAxis])||!$e.controller.supportsDecimation)return;const $t=k.scales[$e.xAxisID];if("linear"!==$t.type&&"time"!==$t.type||k.options.parsing)return;let or,{start:pn,count:Fn}=function qa(k,w){const C=w.length;let B,N=0;const{iScale:re}=k,{min:he,max:Te,minDefined:$e,maxDefined:it}=re.getUserBounds();return $e&&(N=(0,r.S)((0,r.B)(w,re.axis,he).lo,0,C-1)),B=it?(0,r.S)((0,r.B)(w,re.axis,Te).hi+1,N,C)-N:C-N,{start:N,count:B}}($e,it);if(Fn<=(C.threshold||4*N))Ll(B);else{switch((0,r.k)(he)&&(B._data=it,delete B.data,Object.defineProperty(B,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(Hr){this._data=Hr}})),C.algorithm){case"lttb":or=function uc(k,w,C,N,B){const re=B.samples||N;if(re>=C)return k.slice(w,w+C);const he=[],Te=(C-2)/(re-2);let $e=0;const it=w+C-1;let pn,Fn,Zn,or,Hr,$t=w;for(he[$e++]=k[$t],pn=0;pn<re-2;pn++){let $i,Ci=0,Zi=0;const Co=Math.floor((pn+1)*Te)+1+w,Ho=Math.min(Math.floor((pn+2)*Te)+1,C)+w,co=Ho-Co;for($i=Co;$i<Ho;$i++)Ci+=k[$i].x,Zi+=k[$i].y;Ci/=co,Zi/=co;const vo=Math.floor(pn*Te)+1+w,ms=Math.min(Math.floor((pn+1)*Te)+1,C)+w,{x:ds,y:Ts}=k[$t];for(Zn=or=-1,$i=vo;$i<ms;$i++)or=.5*Math.abs((ds-Ci)*(k[$i].y-Ts)-(ds-k[$i].x)*(Zi-Ts)),or>Zn&&(Zn=or,Fn=k[$i],Hr=$i);he[$e++]=Fn,$t=Hr}return he[$e++]=k[it],he}(it,pn,Fn,N,C);break;case"min-max":or=function tu(k,w,C,N){let he,Te,$e,it,$t,pn,Fn,Zn,or,Hr,B=0,re=0;const Ci=[],$i=k[w].x,Ho=k[w+C-1].x-$i;for(he=w;he<w+C;++he){Te=k[he],$e=(Te.x-$i)/Ho*N,it=Te.y;const co=0|$e;if(co===$t)it<or?(or=it,pn=he):it>Hr&&(Hr=it,Fn=he),B=(re*B+Te.x)/++re;else{const vo=he-1;if(!(0,r.k)(pn)&&!(0,r.k)(Fn)){const ms=Math.min(pn,Fn),ds=Math.max(pn,Fn);ms!==Zn&&ms!==vo&&Ci.push({...k[ms],x:B}),ds!==Zn&&ds!==vo&&Ci.push({...k[ds],x:B})}he>0&&vo!==Zn&&Ci.push(k[vo]),Ci.push(Te),$t=co,re=0,or=Hr=it,pn=Fn=Zn=he}}return Ci}(it,pn,Fn,N);break;default:throw new Error(`Unsupported decimation algorithm '${C.algorithm}'`)}B._decimated=or}})},destroy(k){rl(k)}};function gt(k,w,C,N){if(N)return;let B=w[k],re=C[k];return"angle"===k&&(B=(0,r.ay)(B),re=(0,r.ay)(re)),{property:k,start:B,end:re}}function Gt(k,w,C){for(;w>k;w--){const N=C[w];if(!isNaN(N.x)&&!isNaN(N.y))break}return w}function xn(k,w,C,N){return k&&w?N(k[C],w[C]):k?k[C]:w?w[C]:0}function lr(k,w){let C=[],N=!1;return(0,r.b)(k)?(N=!0,C=k):C=function Ke(k,w){const{x:C=null,y:N=null}=k||{},B=w.points,re=[];return w.segments.forEach(({start:he,end:Te})=>{Te=Gt(he,Te,B);const $e=B[he],it=B[Te];null!==N?(re.push({x:$e.x,y:N}),re.push({x:it.x,y:N})):null!==C&&(re.push({x:C,y:$e.y}),re.push({x:C,y:it.y}))}),re}(k,w),C.length?new Oc({points:C,options:{tension:0},_loop:N,_fullLoop:N}):null}function Fr(k){return k&&!1!==k.fill}function Oi(k,w,C){let B=k[w].fill;const re=[w];let he;if(!C)return B;for(;!1!==B&&-1===re.indexOf(B);){if(!(0,r.g)(B))return B;if(he=k[B],!he)return!1;if(he.visible)return B;re.push(B),B=he.fill}return!1}function ai(k,w,C){const N=function Kn(k){const w=k.options,C=w.fill;let N=(0,r.v)(C&&C.target,C);return void 0===N&&(N=!!w.backgroundColor),!1!==N&&null!==N&&(!0===N?"origin":N)}(k);if((0,r.i)(N))return!isNaN(N.value)&&N;let B=parseFloat(N);return(0,r.g)(B)&&Math.floor(B)===B?function Dr(k,w,C,N){return("-"===k||"+"===k)&&(C=w+C),!(C===w||C<0||C>=N)&&C}(N[0],w,B,C):["origin","start","end","stack","shape"].indexOf(N)>=0&&N}function ce(k,w,C){const N=[];for(let B=0;B<C.length;B++){const re=C[B],{first:he,last:Te,point:$e}=Le(re,w,"x");if(!(!$e||he&&Te))if(he)N.unshift($e);else if(k.push($e),!Te)break}k.push(...N)}function Le(k,w,C){const N=k.interpolate(w,C);if(!N)return{};const B=N[C],re=k.segments,he=k.points;let Te=!1,$e=!1;for(let it=0;it<re.length;it++){const $t=re[it],pn=he[$t.start][C],Fn=he[$t.end][C];if((0,r.aj)(B,pn,Fn)){Te=B===pn,$e=B===Fn;break}}return{first:Te,last:$e,point:N}}class Be{constructor(w){this.x=w.x,this.y=w.y,this.radius=w.radius}pathSegment(w,C,N){const{x:B,y:re,radius:he}=this;return w.arc(B,re,he,(C=C||{start:0,end:r.T}).end,C.start,!0),!N.bounds}interpolate(w){const{x:C,y:N,radius:B}=this,re=w.angle;return{x:C+Math.cos(re)*B,y:N+Math.sin(re)*B,angle:re}}}function fi(k,w,C){const N=function Bt(k){const{chart:w,fill:C,line:N}=k;if((0,r.g)(C))return function Kt(k,w){const C=k.getDatasetMeta(w);return C&&k.isDatasetVisible(w)?C.dataset:null}(w,C);if("stack"===C)return function zr(k){const{scale:w,index:C,line:N}=k,B=[],re=N.segments,he=N.points,Te=function Gr(k,w){const C=[],N=k.getMatchingVisibleMetas("line");for(let B=0;B<N.length;B++){const re=N[B];if(re.index===w)break;re.hidden||C.unshift(re.dataset)}return C}(w,C);Te.push(lr({x:null,y:w.bottom},N));for(let $e=0;$e<re.length;$e++){const it=re[$e];for(let $t=it.start;$t<=it.end;$t++)ce(B,he[$t],Te)}return new Oc({points:B,options:{}})}(k);if("shape"===C)return!0;const B=function Bn(k){return(k.scale||{}).getPointPositionForValue?function xr(k){const{scale:w,fill:C}=k,N=w.options,B=w.getLabels().length,re=N.reverse?w.max:w.min,he=function Yo(k,w,C){let N;return N="start"===k?C:"end"===k?w.options.reverse?w.min:w.max:(0,r.i)(k)?k.value:w.getBaseValue(),N}(C,w,re),Te=[];if(N.grid.circular){const $e=w.getPointPositionForValue(0,re);return new Be({x:$e.x,y:$e.y,radius:w.getDistanceFromCenterForValue(he)})}for(let $e=0;$e<B;++$e)Te.push(w.getPointPositionForValue($e,he));return Te}(k):function sr(k){const{scale:w={},fill:C}=k,N=function ei(k,w){let C=null;return"start"===k?C=w.bottom:"end"===k?C=w.top:(0,r.i)(k)?C=w.getPixelForValue(k.value):w.getBasePixel&&(C=w.getBasePixel()),C}(C,w);if((0,r.g)(N)){const B=w.isHorizontal();return{x:B?N:null,y:B?null:N}}return null}(k)}(k);return B instanceof Be?B:lr(B,N)}(w),{line:B,scale:re,axis:he}=w,Te=B.options,$e=Te.fill,it=Te.backgroundColor,{above:$t=it,below:pn=it}=$e||{};N&&B.points.length&&((0,r.Y)(k,C),function Xi(k,w){const{line:C,target:N,above:B,below:re,area:he,scale:Te}=w,$e=C._loop?"angle":w.axis;k.save(),"x"===$e&&re!==B&&(So(k,N,he.top),Ms(k,{line:C,target:N,color:B,scale:Te,property:$e}),k.restore(),k.save(),So(k,N,he.bottom)),Ms(k,{line:C,target:N,color:re,scale:Te,property:$e}),k.restore()}(k,{line:B,target:N,above:$t,below:pn,area:C,scale:re,axis:he}),(0,r.$)(k))}function So(k,w,C){const{segments:N,points:B}=w;let re=!0,he=!1;k.beginPath();for(const Te of N){const{start:$e,end:it}=Te,$t=B[$e],pn=B[Gt($e,it,B)];re?(k.moveTo($t.x,$t.y),re=!1):(k.lineTo($t.x,C),k.lineTo($t.x,$t.y)),he=!!w.pathSegment(k,Te,{move:he}),he?k.closePath():k.lineTo(pn.x,C)}k.lineTo(w.first().x,C),k.closePath(),k.clip()}function Ms(k,w){const{line:C,target:N,property:B,color:re,scale:he}=w,Te=function Ce(k,w,C){const N=k.segments,B=k.points,re=w.points,he=[];for(const Te of N){let{start:$e,end:it}=Te;it=Gt($e,it,B);const $t=gt(C,B[$e],B[it],Te.loop);if(!w.segments){he.push({source:Te,target:$t,start:B[$e],end:B[it]});continue}const pn=(0,r.an)(w,$t);for(const Fn of pn){const Zn=gt(C,re[Fn.start],re[Fn.end],Fn.loop),or=(0,r.ax)(Te,B,Zn);for(const Hr of or)he.push({source:Hr,target:Fn,start:{[C]:xn($t,Zn,"start",Math.max)},end:{[C]:xn($t,Zn,"end",Math.min)}})}}return he}(C,N,B);for(const{source:$e,target:it,start:$t,end:pn}of Te){const{style:{backgroundColor:Fn=re}={}}=$e,Zn=!0!==N;k.save(),k.fillStyle=Fn,Hs(k,he,Zn&&gt(B,$t,pn)),k.beginPath();const or=!!C.pathSegment(k,$e);let Hr;if(Zn){or?k.closePath():us(k,N,pn,B);const Ci=!!N.pathSegment(k,it,{move:or,reverse:!0});Hr=or&&Ci,Hr||us(k,N,$t,B)}k.closePath(),k.fill(Hr?"evenodd":"nonzero"),k.restore()}}function Hs(k,w,C){const{top:N,bottom:B}=w.chart.chartArea,{property:re,start:he,end:Te}=C||{};"x"===re&&(k.beginPath(),k.rect(he,N,Te-he,B-N),k.clip())}function us(k,w,C,N){const B=w.interpolate(C,N);B&&k.lineTo(B.x,B.y)}var Ma={id:"filler",afterDatasetsUpdate(k,w,C){const N=(k.data.datasets||[]).length,B=[];let re,he,Te,$e;for(he=0;he<N;++he)re=k.getDatasetMeta(he),Te=re.dataset,$e=null,Te&&Te.options&&Te instanceof Oc&&($e={visible:k.isDatasetVisible(he),index:he,fill:ai(Te,he,N),chart:k,axis:re.controller.options.indexAxis,scale:re.vScale,line:Te}),re.$filler=$e,B.push($e);for(he=0;he<N;++he)$e=B[he],$e&&!1!==$e.fill&&($e.fill=Oi(B,he,C.propagate))},beforeDraw(k,w,C){const N="beforeDraw"===C.drawTime,B=k.getSortedVisibleDatasetMetas(),re=k.chartArea;for(let he=B.length-1;he>=0;--he){const Te=B[he].$filler;Te&&(Te.line.updateControlPoints(re,Te.axis),N&&Te.fill&&fi(k.ctx,Te,re))}},beforeDatasetsDraw(k,w,C){if("beforeDatasetsDraw"!==C.drawTime)return;const N=k.getSortedVisibleDatasetMetas();for(let B=N.length-1;B>=0;--B){const re=N[B].$filler;Fr(re)&&fi(k.ctx,re,k.chartArea)}},beforeDatasetDraw(k,w,C){const N=w.meta.$filler;!Fr(N)||"beforeDatasetDraw"!==C.drawTime||fi(k.ctx,N,k.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const ss=(k,w)=>{let{boxHeight:C=w,boxWidth:N=w}=k;return k.usePointStyle&&(C=Math.min(C,w),N=k.pointStyleWidth||Math.min(N,w)),{boxWidth:N,boxHeight:C,itemHeight:Math.max(w,C)}};class Dt extends Mo{constructor(w){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=w.chart,this.options=w.options,this.ctx=w.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(w,C,N){this.maxWidth=w,this.maxHeight=C,this._margins=N,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const w=this.options.labels||{};let C=(0,r.Q)(w.generateLabels,[this.chart],this)||[];w.filter&&(C=C.filter(N=>w.filter(N,this.chart.data))),w.sort&&(C=C.sort((N,B)=>w.sort(N,B,this.chart.data))),this.options.reverse&&C.reverse(),this.legendItems=C}fit(){const{options:w,ctx:C}=this;if(!w.display)return void(this.width=this.height=0);const N=w.labels,B=(0,r.a0)(N.font),re=B.size,he=this._computeTitleHeight(),{boxWidth:Te,itemHeight:$e}=ss(N,re);let it,$t;C.font=B.string,this.isHorizontal()?(it=this.maxWidth,$t=this._fitRows(he,re,Te,$e)+10):($t=this.maxHeight,it=this._fitCols(he,B,Te,$e)+10),this.width=Math.min(it,w.maxWidth||this.maxWidth),this.height=Math.min($t,w.maxHeight||this.maxHeight)}_fitRows(w,C,N,B){const{ctx:re,maxWidth:he,options:{labels:{padding:Te}}}=this,$e=this.legendHitBoxes=[],it=this.lineWidths=[0],$t=B+Te;let pn=w;re.textAlign="left",re.textBaseline="middle";let Fn=-1,Zn=-$t;return this.legendItems.forEach((or,Hr)=>{const Ci=N+C/2+re.measureText(or.text).width;(0===Hr||it[it.length-1]+Ci+2*Te>he)&&(pn+=$t,it[it.length-(Hr>0?0:1)]=0,Zn+=$t,Fn++),$e[Hr]={left:0,top:Zn,row:Fn,width:Ci,height:B},it[it.length-1]+=Ci+Te}),pn}_fitCols(w,C,N,B){const{ctx:re,maxHeight:he,options:{labels:{padding:Te}}}=this,$e=this.legendHitBoxes=[],it=this.columnSizes=[],$t=he-w;let pn=Te,Fn=0,Zn=0,or=0,Hr=0;return this.legendItems.forEach((Ci,Zi)=>{const{itemWidth:$i,itemHeight:Co}=function Xe(k,w,C,N,B){const re=function rn(k,w,C,N){let B=k.text;return B&&"string"!=typeof B&&(B=B.reduce((re,he)=>re.length>he.length?re:he)),w+C.size/2+N.measureText(B).width}(N,k,w,C),he=function zn(k,w,C){let N=k;return"string"!=typeof w.text&&(N=ii(w,C)),N}(B,N,w.lineHeight);return{itemWidth:re,itemHeight:he}}(N,C,re,Ci,B);Zi>0&&Zn+Co+2*Te>$t&&(pn+=Fn+Te,it.push({width:Fn,height:Zn}),or+=Fn+Te,Hr++,Fn=Zn=0),$e[Zi]={left:or,top:Zn,col:Hr,width:$i,height:Co},Fn=Math.max(Fn,$i),Zn+=Co+Te}),pn+=Fn,it.push({width:Fn,height:Zn}),pn}adjustHitBoxes(){if(!this.options.display)return;const w=this._computeTitleHeight(),{legendHitBoxes:C,options:{align:N,labels:{padding:B},rtl:re}}=this,he=(0,r.az)(re,this.left,this.width);if(this.isHorizontal()){let Te=0,$e=(0,r.a2)(N,this.left+B,this.right-this.lineWidths[Te]);for(const it of C)Te!==it.row&&(Te=it.row,$e=(0,r.a2)(N,this.left+B,this.right-this.lineWidths[Te])),it.top+=this.top+w+B,it.left=he.leftForLtr(he.x($e),it.width),$e+=it.width+B}else{let Te=0,$e=(0,r.a2)(N,this.top+w+B,this.bottom-this.columnSizes[Te].height);for(const it of C)it.col!==Te&&(Te=it.col,$e=(0,r.a2)(N,this.top+w+B,this.bottom-this.columnSizes[Te].height)),it.top=$e,it.left+=this.left+B,it.left=he.leftForLtr(he.x(it.left),it.width),$e+=it.height+B}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const w=this.ctx;(0,r.Y)(w,this),this._draw(),(0,r.$)(w)}}_draw(){const{options:w,columnSizes:C,lineWidths:N,ctx:B}=this,{align:re,labels:he}=w,Te=r.d.color,$e=(0,r.az)(w.rtl,this.left,this.width),it=(0,r.a0)(he.font),{padding:$t}=he,pn=it.size,Fn=pn/2;let Zn;this.drawTitle(),B.textAlign=$e.textAlign("left"),B.textBaseline="middle",B.lineWidth=.5,B.font=it.string;const{boxWidth:or,boxHeight:Hr,itemHeight:Ci}=ss(he,pn),Co=this.isHorizontal(),Ho=this._computeTitleHeight();Zn=Co?{x:(0,r.a2)(re,this.left+$t,this.right-N[0]),y:this.top+$t+Ho,line:0}:{x:this.left+$t,y:(0,r.a2)(re,this.top+Ho+$t,this.bottom-C[0].height),line:0},(0,r.aA)(this.ctx,w.textDirection);const co=Ci+$t;this.legendItems.forEach((vo,ms)=>{B.strokeStyle=vo.fontColor,B.fillStyle=vo.fontColor;const ds=B.measureText(vo.text).width,Ts=$e.textAlign(vo.textAlign||(vo.textAlign=he.textAlign)),el=or+Fn+ds;let ga=Zn.x,va=Zn.y;$e.setWidth(this.width),Co?ms>0&&ga+el+$t>this.right&&(va=Zn.y+=co,Zn.line++,ga=Zn.x=(0,r.a2)(re,this.left+$t,this.right-N[Zn.line])):ms>0&&va+co>this.bottom&&(ga=Zn.x=ga+C[Zn.line].width+$t,Zn.line++,va=Zn.y=(0,r.a2)(re,this.top+Ho+$t,this.bottom-C[Zn.line].height)),function(vo,ms,ds){if(isNaN(or)||or<=0||isNaN(Hr)||Hr<0)return;B.save();const Ts=(0,r.v)(ds.lineWidth,1);if(B.fillStyle=(0,r.v)(ds.fillStyle,Te),B.lineCap=(0,r.v)(ds.lineCap,"butt"),B.lineDashOffset=(0,r.v)(ds.lineDashOffset,0),B.lineJoin=(0,r.v)(ds.lineJoin,"miter"),B.lineWidth=Ts,B.strokeStyle=(0,r.v)(ds.strokeStyle,Te),B.setLineDash((0,r.v)(ds.lineDash,[])),he.usePointStyle){const el={radius:Hr*Math.SQRT2/2,pointStyle:ds.pointStyle,rotation:ds.rotation,borderWidth:Ts},ga=$e.xPlus(vo,or/2);(0,r.aD)(B,el,ga,ms+Fn,he.pointStyleWidth&&or)}else{const el=ms+Math.max((pn-Hr)/2,0),ga=$e.leftForLtr(vo,or),va=(0,r.aw)(ds.borderRadius);B.beginPath(),Object.values(va).some(vc=>0!==vc)?(0,r.au)(B,{x:ga,y:el,w:or,h:Hr,radius:va}):B.rect(ga,el,or,Hr),B.fill(),0!==Ts&&B.stroke()}B.restore()}($e.x(ga),va,vo),ga=(0,r.aB)(Ts,ga+or+Fn,Co?ga+el:this.right,w.rtl),function(vo,ms,ds){(0,r.Z)(B,ds.text,vo,ms+Ci/2,it,{strikethrough:ds.hidden,textAlign:$e.textAlign(ds.textAlign)})}($e.x(ga),va,vo),Co?Zn.x+=el+$t:Zn.y+="string"!=typeof vo.text?ii(vo,it.lineHeight)+$t:co}),(0,r.aC)(this.ctx,w.textDirection)}drawTitle(){const w=this.options,C=w.title,N=(0,r.a0)(C.font),B=(0,r.E)(C.padding);if(!C.display)return;const re=(0,r.az)(w.rtl,this.left,this.width),he=this.ctx,Te=C.position,it=B.top+N.size/2;let $t,pn=this.left,Fn=this.width;if(this.isHorizontal())Fn=Math.max(...this.lineWidths),$t=this.top+it,pn=(0,r.a2)(w.align,pn,this.right-Fn);else{const or=this.columnSizes.reduce((Hr,Ci)=>Math.max(Hr,Ci.height),0);$t=it+(0,r.a2)(w.align,this.top,this.bottom-or-w.labels.padding-this._computeTitleHeight())}const Zn=(0,r.a2)(Te,pn,pn+Fn);he.textAlign=re.textAlign((0,r.a1)(Te)),he.textBaseline="middle",he.strokeStyle=C.color,he.fillStyle=C.color,he.font=N.string,(0,r.Z)(he,C.text,Zn,$t,N)}_computeTitleHeight(){const w=this.options.title,C=(0,r.a0)(w.font),N=(0,r.E)(w.padding);return w.display?C.lineHeight+N.height:0}_getLegendItemAt(w,C){let N,B,re;if((0,r.aj)(w,this.left,this.right)&&(0,r.aj)(C,this.top,this.bottom))for(re=this.legendHitBoxes,N=0;N<re.length;++N)if(B=re[N],(0,r.aj)(w,B.left,B.left+B.width)&&(0,r.aj)(C,B.top,B.top+B.height))return this.legendItems[N];return null}handleEvent(w){const C=this.options;if(!function Ai(k,w){return!(("mousemove"!==k&&"mouseout"!==k||!w.onHover&&!w.onLeave)&&(!w.onClick||"click"!==k&&"mouseup"!==k))}(w.type,C))return;const N=this._getLegendItemAt(w.x,w.y);if("mousemove"===w.type||"mouseout"===w.type){const B=this._hoveredItem,re=((k,w)=>null!==k&&null!==w&&k.datasetIndex===w.datasetIndex&&k.index===w.index)(B,N);B&&!re&&(0,r.Q)(C.onLeave,[w,B,this],this),this._hoveredItem=N,N&&!re&&(0,r.Q)(C.onHover,[w,N,this],this)}else N&&(0,r.Q)(C.onClick,[w,N,this],this)}}function ii(k,w){return w*(k.text?k.text.length:0)}var qo={id:"legend",_element:Dt,start(k,w,C){const N=k.legend=new Dt({ctx:k.ctx,options:C,chart:k});An.configure(k,N,C),An.addBox(k,N)},stop(k){An.removeBox(k,k.legend),delete k.legend},beforeUpdate(k,w,C){const N=k.legend;An.configure(k,N,C),N.options=C},afterUpdate(k){const w=k.legend;w.buildLabels(),w.adjustHitBoxes()},afterEvent(k,w){w.replay||k.legend.handleEvent(w.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(k,w,C){const N=w.datasetIndex,B=C.chart;B.isDatasetVisible(N)?(B.hide(N),w.hidden=!0):(B.show(N),w.hidden=!1)},onHover:null,onLeave:null,labels:{color:k=>k.chart.options.color,boxWidth:40,padding:10,generateLabels(k){const w=k.data.datasets,{labels:{usePointStyle:C,pointStyle:N,textAlign:B,color:re,useBorderRadius:he,borderRadius:Te}}=k.legend.options;return k._getSortedDatasetMetas().map($e=>{const it=$e.controller.getStyle(C?0:void 0),$t=(0,r.E)(it.borderWidth);return{text:w[$e.index].label,fillStyle:it.backgroundColor,fontColor:re,hidden:!$e.visible,lineCap:it.borderCapStyle,lineDash:it.borderDash,lineDashOffset:it.borderDashOffset,lineJoin:it.borderJoinStyle,lineWidth:($t.width+$t.height)/4,strokeStyle:it.borderColor,pointStyle:N||it.pointStyle,rotation:it.rotation,textAlign:B||it.textAlign,borderRadius:he&&(Te||it.borderRadius),datasetIndex:$e.index}},this)}},title:{color:k=>k.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:k=>!k.startsWith("on"),labels:{_scriptable:k=>!["generateLabels","filter","sort"].includes(k)}}};class as extends Mo{constructor(w){super(),this.chart=w.chart,this.options=w.options,this.ctx=w.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(w,C){const N=this.options;if(this.left=0,this.top=0,!N.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=w,this.height=this.bottom=C;const B=(0,r.b)(N.text)?N.text.length:1;this._padding=(0,r.E)(N.padding);const re=B*(0,r.a0)(N.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=re:this.width=re}isHorizontal(){const w=this.options.position;return"top"===w||"bottom"===w}_drawArgs(w){const{top:C,left:N,bottom:B,right:re,options:he}=this,Te=he.align;let it,$t,pn,$e=0;return this.isHorizontal()?($t=(0,r.a2)(Te,N,re),pn=C+w,it=re-N):("left"===he.position?($t=N+w,pn=(0,r.a2)(Te,B,C),$e=-.5*r.P):($t=re-w,pn=(0,r.a2)(Te,C,B),$e=.5*r.P),it=B-C),{titleX:$t,titleY:pn,maxWidth:it,rotation:$e}}draw(){const w=this.ctx,C=this.options;if(!C.display)return;const N=(0,r.a0)(C.font),re=N.lineHeight/2+this._padding.top,{titleX:he,titleY:Te,maxWidth:$e,rotation:it}=this._drawArgs(re);(0,r.Z)(w,C.text,0,0,N,{color:C.color,maxWidth:$e,rotation:it,textAlign:(0,r.a1)(C.align),textBaseline:"middle",translation:[he,Te]})}}var ks={id:"title",_element:as,start(k,w,C){!function oa(k,w){const C=new as({ctx:k.ctx,options:w,chart:k});An.configure(k,C,w),An.addBox(k,C),k.titleBlock=C}(k,C)},stop(k){An.removeBox(k,k.titleBlock),delete k.titleBlock},beforeUpdate(k,w,C){const N=k.titleBlock;An.configure(k,N,C),N.options=C},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Ds=new WeakMap;var Bl={id:"subtitle",start(k,w,C){const N=new as({ctx:k.ctx,options:C,chart:k});An.configure(k,N,C),An.addBox(k,N),Ds.set(k,N)},stop(k){An.removeBox(k,Ds.get(k)),Ds.delete(k)},beforeUpdate(k,w,C){const N=Ds.get(k);An.configure(k,N,C),N.options=C},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const ja={average(k){if(!k.length)return!1;let w,C,N=0,B=0,re=0;for(w=0,C=k.length;w<C;++w){const he=k[w].element;if(he&&he.hasValue()){const Te=he.tooltipPosition();N+=Te.x,B+=Te.y,++re}}return{x:N/re,y:B/re}},nearest(k,w){if(!k.length)return!1;let re,he,Te,C=w.x,N=w.y,B=Number.POSITIVE_INFINITY;for(re=0,he=k.length;re<he;++re){const $e=k[re].element;if($e&&$e.hasValue()){const it=$e.getCenterPoint(),$t=(0,r.aE)(w,it);$t<B&&(B=$t,Te=$e)}}if(Te){const $e=Te.tooltipPosition();C=$e.x,N=$e.y}return{x:C,y:N}}};function Ea(k,w){return w&&((0,r.b)(w)?Array.prototype.push.apply(k,w):k.push(w)),k}function ac(k){return("string"==typeof k||k instanceof String)&&k.indexOf("\n")>-1?k.split("\n"):k}function Bc(k,w){const{element:C,datasetIndex:N,index:B}=w,re=k.getDatasetMeta(N).controller,{label:he,value:Te}=re.getLabelAndValue(B);return{chart:k,label:he,parsed:re.getParsed(B),raw:k.data.datasets[N].data[B],formattedValue:Te,dataset:re.getDataset(),dataIndex:B,datasetIndex:N,element:C}}function _e(k,w){const C=k.chart.ctx,{body:N,footer:B,title:re}=k,{boxWidth:he,boxHeight:Te}=w,$e=(0,r.a0)(w.bodyFont),it=(0,r.a0)(w.titleFont),$t=(0,r.a0)(w.footerFont),pn=re.length,Fn=B.length,Zn=N.length,or=(0,r.E)(w.padding);let Hr=or.height,Ci=0,Zi=N.reduce((Ho,co)=>Ho+co.before.length+co.lines.length+co.after.length,0);Zi+=k.beforeBody.length+k.afterBody.length,pn&&(Hr+=pn*it.lineHeight+(pn-1)*w.titleSpacing+w.titleMarginBottom),Zi&&(Hr+=Zn*(w.displayColors?Math.max(Te,$e.lineHeight):$e.lineHeight)+(Zi-Zn)*$e.lineHeight+(Zi-1)*w.bodySpacing),Fn&&(Hr+=w.footerMarginTop+Fn*$t.lineHeight+(Fn-1)*w.footerSpacing);let $i=0;const Co=function(Ho){Ci=Math.max(Ci,C.measureText(Ho).width+$i)};return C.save(),C.font=it.string,(0,r.F)(k.title,Co),C.font=$e.string,(0,r.F)(k.beforeBody.concat(k.afterBody),Co),$i=w.displayColors?he+2+w.boxPadding:0,(0,r.F)(N,Ho=>{(0,r.F)(Ho.before,Co),(0,r.F)(Ho.lines,Co),(0,r.F)(Ho.after,Co)}),$i=0,C.font=$t.string,(0,r.F)(k.footer,Co),C.restore(),Ci+=or.width,{width:Ci,height:Hr}}function je(k,w,C,N){const{x:B,width:re}=C,{width:he,chartArea:{left:Te,right:$e}}=k;let it="center";return"center"===N?it=B<=(Te+$e)/2?"left":"right":B<=re/2?it="left":B>=he-re/2&&(it="right"),function Fe(k,w,C,N){const{x:B,width:re}=N,he=C.caretSize+C.caretPadding;if("left"===k&&B+re+he>w.width||"right"===k&&B-re-he<0)return!0}(it,k,w,C)&&(it="center"),it}function lt(k,w,C){const N=C.yAlign||w.yAlign||function de(k,w){const{y:C,height:N}=w;return C<N/2?"top":C>k.height-N/2?"bottom":"center"}(k,C);return{xAlign:C.xAlign||w.xAlign||je(k,w,C,N),yAlign:N}}function wn(k,w,C,N){const{caretSize:B,caretPadding:re,cornerRadius:he}=k,{xAlign:Te,yAlign:$e}=C,it=B+re,{topLeft:$t,topRight:pn,bottomLeft:Fn,bottomRight:Zn}=(0,r.aw)(he);let or=function Vt(k,w){let{x:C,width:N}=k;return"right"===w?C-=N:"center"===w&&(C-=N/2),C}(w,Te);const Hr=function Ht(k,w,C){let{y:N,height:B}=k;return"top"===w?N+=C:N-="bottom"===w?B+C:B/2,N}(w,$e,it);return"center"===$e?"left"===Te?or+=it:"right"===Te&&(or-=it):"left"===Te?or-=Math.max($t,Fn)+B:"right"===Te&&(or+=Math.max(pn,Zn)+B),{x:(0,r.S)(or,0,N.width-w.width),y:(0,r.S)(Hr,0,N.height-w.height)}}function ar(k,w,C){const N=(0,r.E)(C.padding);return"center"===w?k.x+k.width/2:"right"===w?k.x+k.width-N.right:k.x+N.left}function cr(k){return Ea([],ac(k))}function ao(k,w){const C=w&&w.dataset&&w.dataset.tooltip&&w.dataset.tooltip.callbacks;return C?k.override(C):k}const gs={beforeTitle:r.aF,title(k){if(k.length>0){const w=k[0],C=w.chart.data.labels,N=C?C.length:0;if(this&&this.options&&"dataset"===this.options.mode)return w.dataset.label||"";if(w.label)return w.label;if(N>0&&w.dataIndex<N)return C[w.dataIndex]}return""},afterTitle:r.aF,beforeBody:r.aF,beforeLabel:r.aF,label(k){if(this&&this.options&&"dataset"===this.options.mode)return k.label+": "+k.formattedValue||k.formattedValue;let w=k.dataset.label||"";w&&(w+=": ");const C=k.formattedValue;return(0,r.k)(C)||(w+=C),w},labelColor(k){const C=k.chart.getDatasetMeta(k.datasetIndex).controller.getStyle(k.dataIndex);return{borderColor:C.borderColor,backgroundColor:C.backgroundColor,borderWidth:C.borderWidth,borderDash:C.borderDash,borderDashOffset:C.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(k){const C=k.chart.getDatasetMeta(k.datasetIndex).controller.getStyle(k.dataIndex);return{pointStyle:C.pointStyle,rotation:C.rotation}},afterLabel:r.aF,afterBody:r.aF,beforeFooter:r.aF,footer:r.aF,afterFooter:r.aF};function Wo(k,w,C,N){const B=k[w].call(C,N);return typeof B>"u"?gs[w].call(C,N):B}let Qs=(()=>class k extends Mo{static positioners=ja;constructor(C){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=C.chart,this.options=C.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(C){this.options=C,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const C=this._cachedAnimations;if(C)return C;const N=this.chart,B=this.options.setContext(this.getContext()),re=B.enabled&&N.options.animation&&B.animations,he=new h(this.chart,re);return re._cacheable&&(this._cachedAnimations=Object.freeze(he)),he}getContext(){return this.$context||(this.$context=function _i(k,w,C){return(0,r.j)(k,{tooltip:w,tooltipItems:C,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(C,N){const{callbacks:B}=N,re=Wo(B,"beforeTitle",this,C),he=Wo(B,"title",this,C),Te=Wo(B,"afterTitle",this,C);let $e=[];return $e=Ea($e,ac(re)),$e=Ea($e,ac(he)),$e=Ea($e,ac(Te)),$e}getBeforeBody(C,N){return cr(Wo(N.callbacks,"beforeBody",this,C))}getBody(C,N){const{callbacks:B}=N,re=[];return(0,r.F)(C,he=>{const Te={before:[],lines:[],after:[]},$e=ao(B,he);Ea(Te.before,ac(Wo($e,"beforeLabel",this,he))),Ea(Te.lines,Wo($e,"label",this,he)),Ea(Te.after,ac(Wo($e,"afterLabel",this,he))),re.push(Te)}),re}getAfterBody(C,N){return cr(Wo(N.callbacks,"afterBody",this,C))}getFooter(C,N){const{callbacks:B}=N,re=Wo(B,"beforeFooter",this,C),he=Wo(B,"footer",this,C),Te=Wo(B,"afterFooter",this,C);let $e=[];return $e=Ea($e,ac(re)),$e=Ea($e,ac(he)),$e=Ea($e,ac(Te)),$e}_createItems(C){const N=this._active,B=this.chart.data,re=[],he=[],Te=[];let it,$t,$e=[];for(it=0,$t=N.length;it<$t;++it)$e.push(Bc(this.chart,N[it]));return C.filter&&($e=$e.filter((pn,Fn,Zn)=>C.filter(pn,Fn,Zn,B))),C.itemSort&&($e=$e.sort((pn,Fn)=>C.itemSort(pn,Fn,B))),(0,r.F)($e,pn=>{const Fn=ao(C.callbacks,pn);re.push(Wo(Fn,"labelColor",this,pn)),he.push(Wo(Fn,"labelPointStyle",this,pn)),Te.push(Wo(Fn,"labelTextColor",this,pn))}),this.labelColors=re,this.labelPointStyles=he,this.labelTextColors=Te,this.dataPoints=$e,$e}update(C,N){const B=this.options.setContext(this.getContext()),re=this._active;let he,Te=[];if(re.length){const $e=ja[B.position].call(this,re,this._eventPosition);Te=this._createItems(B),this.title=this.getTitle(Te,B),this.beforeBody=this.getBeforeBody(Te,B),this.body=this.getBody(Te,B),this.afterBody=this.getAfterBody(Te,B),this.footer=this.getFooter(Te,B);const it=this._size=_e(this,B),$t=Object.assign({},$e,it),pn=lt(this.chart,B,$t),Fn=wn(B,$t,pn,this.chart);this.xAlign=pn.xAlign,this.yAlign=pn.yAlign,he={opacity:1,x:Fn.x,y:Fn.y,width:it.width,height:it.height,caretX:$e.x,caretY:$e.y}}else 0!==this.opacity&&(he={opacity:0});this._tooltipItems=Te,this.$context=void 0,he&&this._resolveAnimations().update(this,he),C&&B.external&&B.external.call(this,{chart:this.chart,tooltip:this,replay:N})}drawCaret(C,N,B,re){const he=this.getCaretPosition(C,B,re);N.lineTo(he.x1,he.y1),N.lineTo(he.x2,he.y2),N.lineTo(he.x3,he.y3)}getCaretPosition(C,N,B){const{xAlign:re,yAlign:he}=this,{caretSize:Te,cornerRadius:$e}=B,{topLeft:it,topRight:$t,bottomLeft:pn,bottomRight:Fn}=(0,r.aw)($e),{x:Zn,y:or}=C,{width:Hr,height:Ci}=N;let Zi,$i,Co,Ho,co,vo;return"center"===he?(co=or+Ci/2,"left"===re?(Zi=Zn,$i=Zi-Te,Ho=co+Te,vo=co-Te):(Zi=Zn+Hr,$i=Zi+Te,Ho=co-Te,vo=co+Te),Co=Zi):($i="left"===re?Zn+Math.max(it,pn)+Te:"right"===re?Zn+Hr-Math.max($t,Fn)-Te:this.caretX,"top"===he?(Ho=or,co=Ho-Te,Zi=$i-Te,Co=$i+Te):(Ho=or+Ci,co=Ho+Te,Zi=$i+Te,Co=$i-Te),vo=Ho),{x1:Zi,x2:$i,x3:Co,y1:Ho,y2:co,y3:vo}}drawTitle(C,N,B){const re=this.title,he=re.length;let Te,$e,it;if(he){const $t=(0,r.az)(B.rtl,this.x,this.width);for(C.x=ar(this,B.titleAlign,B),N.textAlign=$t.textAlign(B.titleAlign),N.textBaseline="middle",Te=(0,r.a0)(B.titleFont),$e=B.titleSpacing,N.fillStyle=B.titleColor,N.font=Te.string,it=0;it<he;++it)N.fillText(re[it],$t.x(C.x),C.y+Te.lineHeight/2),C.y+=Te.lineHeight+$e,it+1===he&&(C.y+=B.titleMarginBottom-$e)}}_drawColorBox(C,N,B,re,he){const Te=this.labelColors[B],$e=this.labelPointStyles[B],{boxHeight:it,boxWidth:$t}=he,pn=(0,r.a0)(he.bodyFont),Fn=ar(this,"left",he),Zn=re.x(Fn),Hr=N.y+(it<pn.lineHeight?(pn.lineHeight-it)/2:0);if(he.usePointStyle){const Ci={radius:Math.min($t,it)/2,pointStyle:$e.pointStyle,rotation:$e.rotation,borderWidth:1},Zi=re.leftForLtr(Zn,$t)+$t/2,$i=Hr+it/2;C.strokeStyle=he.multiKeyBackground,C.fillStyle=he.multiKeyBackground,(0,r.at)(C,Ci,Zi,$i),C.strokeStyle=Te.borderColor,C.fillStyle=Te.backgroundColor,(0,r.at)(C,Ci,Zi,$i)}else{C.lineWidth=(0,r.i)(Te.borderWidth)?Math.max(...Object.values(Te.borderWidth)):Te.borderWidth||1,C.strokeStyle=Te.borderColor,C.setLineDash(Te.borderDash||[]),C.lineDashOffset=Te.borderDashOffset||0;const Ci=re.leftForLtr(Zn,$t),Zi=re.leftForLtr(re.xPlus(Zn,1),$t-2),$i=(0,r.aw)(Te.borderRadius);Object.values($i).some(Co=>0!==Co)?(C.beginPath(),C.fillStyle=he.multiKeyBackground,(0,r.au)(C,{x:Ci,y:Hr,w:$t,h:it,radius:$i}),C.fill(),C.stroke(),C.fillStyle=Te.backgroundColor,C.beginPath(),(0,r.au)(C,{x:Zi,y:Hr+1,w:$t-2,h:it-2,radius:$i}),C.fill()):(C.fillStyle=he.multiKeyBackground,C.fillRect(Ci,Hr,$t,it),C.strokeRect(Ci,Hr,$t,it),C.fillStyle=Te.backgroundColor,C.fillRect(Zi,Hr+1,$t-2,it-2))}C.fillStyle=this.labelTextColors[B]}drawBody(C,N,B){const{body:re}=this,{bodySpacing:he,bodyAlign:Te,displayColors:$e,boxHeight:it,boxWidth:$t,boxPadding:pn}=B,Fn=(0,r.a0)(B.bodyFont);let Zn=Fn.lineHeight,or=0;const Hr=(0,r.az)(B.rtl,this.x,this.width),Ci=function(Ts){N.fillText(Ts,Hr.x(C.x+or),C.y+Zn/2),C.y+=Zn+he},Zi=Hr.textAlign(Te);let $i,Co,Ho,co,vo,ms,ds;for(N.textAlign=Te,N.textBaseline="middle",N.font=Fn.string,C.x=ar(this,Zi,B),N.fillStyle=B.bodyColor,(0,r.F)(this.beforeBody,Ci),or=$e&&"right"!==Zi?"center"===Te?$t/2+pn:$t+2+pn:0,co=0,ms=re.length;co<ms;++co){for($i=re[co],Co=this.labelTextColors[co],N.fillStyle=Co,(0,r.F)($i.before,Ci),Ho=$i.lines,$e&&Ho.length&&(this._drawColorBox(N,C,co,Hr,B),Zn=Math.max(Fn.lineHeight,it)),vo=0,ds=Ho.length;vo<ds;++vo)Ci(Ho[vo]),Zn=Fn.lineHeight;(0,r.F)($i.after,Ci)}or=0,Zn=Fn.lineHeight,(0,r.F)(this.afterBody,Ci),C.y-=he}drawFooter(C,N,B){const re=this.footer,he=re.length;let Te,$e;if(he){const it=(0,r.az)(B.rtl,this.x,this.width);for(C.x=ar(this,B.footerAlign,B),C.y+=B.footerMarginTop,N.textAlign=it.textAlign(B.footerAlign),N.textBaseline="middle",Te=(0,r.a0)(B.footerFont),N.fillStyle=B.footerColor,N.font=Te.string,$e=0;$e<he;++$e)N.fillText(re[$e],it.x(C.x),C.y+Te.lineHeight/2),C.y+=Te.lineHeight+B.footerSpacing}}drawBackground(C,N,B,re){const{xAlign:he,yAlign:Te}=this,{x:$e,y:it}=C,{width:$t,height:pn}=B,{topLeft:Fn,topRight:Zn,bottomLeft:or,bottomRight:Hr}=(0,r.aw)(re.cornerRadius);N.fillStyle=re.backgroundColor,N.strokeStyle=re.borderColor,N.lineWidth=re.borderWidth,N.beginPath(),N.moveTo($e+Fn,it),"top"===Te&&this.drawCaret(C,N,B,re),N.lineTo($e+$t-Zn,it),N.quadraticCurveTo($e+$t,it,$e+$t,it+Zn),"center"===Te&&"right"===he&&this.drawCaret(C,N,B,re),N.lineTo($e+$t,it+pn-Hr),N.quadraticCurveTo($e+$t,it+pn,$e+$t-Hr,it+pn),"bottom"===Te&&this.drawCaret(C,N,B,re),N.lineTo($e+or,it+pn),N.quadraticCurveTo($e,it+pn,$e,it+pn-or),"center"===Te&&"left"===he&&this.drawCaret(C,N,B,re),N.lineTo($e,it+Fn),N.quadraticCurveTo($e,it,$e+Fn,it),N.closePath(),N.fill(),re.borderWidth>0&&N.stroke()}_updateAnimationTarget(C){const N=this.chart,B=this.$animations,re=B&&B.x,he=B&&B.y;if(re||he){const Te=ja[C.position].call(this,this._active,this._eventPosition);if(!Te)return;const $e=this._size=_e(this,C),it=Object.assign({},Te,this._size),$t=lt(N,C,it),pn=wn(C,it,$t,N);(re._to!==pn.x||he._to!==pn.y)&&(this.xAlign=$t.xAlign,this.yAlign=$t.yAlign,this.width=$e.width,this.height=$e.height,this.caretX=Te.x,this.caretY=Te.y,this._resolveAnimations().update(this,pn))}}_willRender(){return!!this.opacity}draw(C){const N=this.options.setContext(this.getContext());let B=this.opacity;if(!B)return;this._updateAnimationTarget(N);const re={width:this.width,height:this.height},he={x:this.x,y:this.y};B=Math.abs(B)<.001?0:B;const Te=(0,r.E)(N.padding);N.enabled&&(this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length)&&(C.save(),C.globalAlpha=B,this.drawBackground(he,C,re,N),(0,r.aA)(C,N.textDirection),he.y+=Te.top,this.drawTitle(he,C,N),this.drawBody(he,C,N),this.drawFooter(he,C,N),(0,r.aC)(C,N.textDirection),C.restore())}getActiveElements(){return this._active||[]}setActiveElements(C,N){const B=this._active,re=C.map(({datasetIndex:$e,index:it})=>{const $t=this.chart.getDatasetMeta($e);if(!$t)throw new Error("Cannot find a dataset at index "+$e);return{datasetIndex:$e,element:$t.data[it],index:it}}),he=!(0,r.ah)(B,re),Te=this._positionChanged(re,N);(he||Te)&&(this._active=re,this._eventPosition=N,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(C,N,B=!0){if(N&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const re=this.options,he=this._active||[],Te=this._getActiveElements(C,he,N,B),$e=this._positionChanged(Te,C),it=N||!(0,r.ah)(Te,he)||$e;return it&&(this._active=Te,(re.enabled||re.external)&&(this._eventPosition={x:C.x,y:C.y},this.update(!0,N))),it}_getActiveElements(C,N,B,re){const he=this.options;if("mouseout"===C.type)return[];if(!re)return N;const Te=this.chart.getElementsAtEventForMode(C,he.mode,he,B);return he.reverse&&Te.reverse(),Te}_positionChanged(C,N){const{caretX:B,caretY:re,options:he}=this,Te=ja[he.position].call(this,C,N);return!1!==Te&&(B!==Te.x||re!==Te.y)}})();var dc=Object.freeze({__proto__:null,Colors:Cu,Decimation:X,Filler:Ma,Legend:qo,SubTitle:Bl,Title:ks,Tooltip:{id:"tooltip",_element:Qs,positioners:ja,afterInit(k,w,C){C&&(k.tooltip=new Qs({chart:k,options:C}))},beforeUpdate(k,w,C){k.tooltip&&k.tooltip.initialize(C)},reset(k,w,C){k.tooltip&&k.tooltip.initialize(C)},afterDraw(k){const w=k.tooltip;if(w&&w._willRender()){const C={tooltip:w};if(!1===k.notifyPlugins("beforeTooltipDraw",{...C,cancelable:!0}))return;w.draw(k.ctx),k.notifyPlugins("afterTooltipDraw",C)}},afterEvent(k,w){k.tooltip&&k.tooltip.handleEvent(w.event,w.replay,w.inChartArea)&&(w.changed=!0)},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(k,w)=>w.bodyFont.size,boxWidth:(k,w)=>w.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:gs},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:k=>"filter"!==k&&"itemSort"!==k&&"external"!==k,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]}});function uu(k){const w=this.getLabels();return k>=0&&k<w.length?w[k]:k}let tc=(()=>class k extends tl{static id="category";static defaults={ticks:{callback:uu}};constructor(C){super(C),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(C){const N=this._addedLabels;if(N.length){const B=this.getLabels();for(const{index:re,label:he}of N)B[re]===he&&B.splice(re,1);this._addedLabels=[]}super.init(C)}parse(C,N){if((0,r.k)(C))return null;const B=this.getLabels();return N=isFinite(N)&&B[N]===C?N:function nu(k,w,C,N){const B=k.indexOf(w);return-1===B?((k,w,C,N)=>("string"==typeof w?(C=k.push(w)-1,N.unshift({index:C,label:w})):isNaN(w)&&(C=null),C))(k,w,C,N):B!==k.lastIndexOf(w)?C:B}(B,C,(0,r.v)(N,C),this._addedLabels),((k,w)=>null===k?null:(0,r.S)(Math.round(k),0,w))(N,B.length-1)}determineDataLimits(){const{minDefined:C,maxDefined:N}=this.getUserBounds();let{min:B,max:re}=this.getMinMax(!0);"ticks"===this.options.bounds&&(C||(B=0),N||(re=this.getLabels().length-1)),this.min=B,this.max=re}buildTicks(){const C=this.min,N=this.max,B=this.options.offset,re=[];let he=this.getLabels();he=0===C&&N===he.length-1?he:he.slice(C,N+1),this._valueRange=Math.max(he.length-(B?0:1),1),this._startValue=this.min-(B?.5:0);for(let Te=C;Te<=N;Te++)re.push({value:Te});return re}getLabelForValue(C){return uu.call(this,C)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(C){return"number"!=typeof C&&(C=this.parse(C)),null===C?NaN:this.getPixelForDecimal((C-this._startValue)/this._valueRange)}getPixelForTick(C){const N=this.ticks;return C<0||C>N.length-1?null:this.getPixelForValue(N[C].value)}getValueForPixel(C){return Math.round(this._startValue+this.getDecimalForPixel(C)*this._valueRange)}getBasePixel(){return this.bottom}})();function Ol(k,w,{horizontal:C,minRotation:N}){const B=(0,r.t)(N),re=(C?Math.sin(B):Math.cos(B))||.001;return Math.min(w/re,.75*w*(""+k).length)}class il extends tl{constructor(w){super(w),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(w,C){return(0,r.k)(w)||("number"==typeof w||w instanceof Number)&&!isFinite(+w)?null:+w}handleTickRangeOptions(){const{beginAtZero:w}=this.options,{minDefined:C,maxDefined:N}=this.getUserBounds();let{min:B,max:re}=this;const he=$e=>B=C?B:$e,Te=$e=>re=N?re:$e;if(w){const $e=(0,r.s)(B),it=(0,r.s)(re);$e<0&&it<0?Te(0):$e>0&&it>0&&he(0)}if(B===re){let $e=0===re?1:Math.abs(.05*re);Te(re+$e),w||he(B-$e)}this.min=B,this.max=re}getTickLimit(){const w=this.options.ticks;let B,{maxTicksLimit:C,stepSize:N}=w;return N?(B=Math.ceil(this.max/N)-Math.floor(this.min/N)+1,B>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${N} would result generating up to ${B} ticks. Limiting to 1000.`),B=1e3)):(B=this.computeTickLimit(),C=C||11),C&&(B=Math.min(C,B)),B}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const w=this.options,C=w.ticks;let N=this.getTickLimit();N=Math.max(2,N);const he=function Iu(k,w){const C=[],{bounds:B,step:re,min:he,max:Te,precision:$e,count:it,maxTicks:$t,maxDigits:pn,includeBounds:Fn}=k,Zn=re||1,or=$t-1,{min:Hr,max:Ci}=w,Zi=!(0,r.k)(he),$i=!(0,r.k)(Te),Co=!(0,r.k)(it),Ho=(Ci-Hr)/(pn+1);let vo,ms,ds,Ts,co=(0,r.aH)((Ci-Hr)/or/Zn)*Zn;if(co<1e-14&&!Zi&&!$i)return[{value:Hr},{value:Ci}];Ts=Math.ceil(Ci/co)-Math.floor(Hr/co),Ts>or&&(co=(0,r.aH)(Ts*co/or/Zn)*Zn),(0,r.k)($e)||(vo=Math.pow(10,$e),co=Math.ceil(co*vo)/vo),"ticks"===B?(ms=Math.floor(Hr/co)*co,ds=Math.ceil(Ci/co)*co):(ms=Hr,ds=Ci),Zi&&$i&&re&&(0,r.aI)((Te-he)/re,co/1e3)?(Ts=Math.round(Math.min((Te-he)/co,$t)),co=(Te-he)/Ts,ms=he,ds=Te):Co?(ms=Zi?he:ms,ds=$i?Te:ds,Ts=it-1,co=(ds-ms)/Ts):(Ts=(ds-ms)/co,Ts=(0,r.aJ)(Ts,Math.round(Ts),co/1e3)?Math.round(Ts):Math.ceil(Ts));const el=Math.max((0,r.aK)(co),(0,r.aK)(ms));vo=Math.pow(10,(0,r.k)($e)?el:$e),ms=Math.round(ms*vo)/vo,ds=Math.round(ds*vo)/vo;let ga=0;for(Zi&&(Fn&&ms!==he?(C.push({value:he}),ms<he&&ga++,(0,r.aJ)(Math.round((ms+ga*co)*vo)/vo,he,Ol(he,Ho,k))&&ga++):ms<he&&ga++);ga<Ts;++ga){const va=Math.round((ms+ga*co)*vo)/vo;if($i&&va>Te)break;C.push({value:va})}return $i&&Fn&&ds!==Te?C.length&&(0,r.aJ)(C[C.length-1].value,Te,Ol(Te,Ho,k))?C[C.length-1].value=Te:C.push({value:Te}):(!$i||ds===Te)&&C.push({value:ds}),C}({maxTicks:N,bounds:w.bounds,min:w.min,max:w.max,precision:C.precision,step:C.stepSize,count:C.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:C.minRotation||0,includeBounds:!1!==C.includeBounds},this._range||this);return"ticks"===w.bounds&&(0,r.aG)(he,this,"value"),w.reverse?(he.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),he}configure(){const w=this.ticks;let C=this.min,N=this.max;if(super.configure(),this.options.offset&&w.length){const B=(N-C)/Math.max(w.length-1,1)/2;C-=B,N+=B}this._startValue=C,this._endValue=N,this._valueRange=N-C}getLabelForValue(w){return(0,r.o)(w,this.chart.options.locale,this.options.ticks.format)}}const Al=k=>Math.floor((0,r.aM)(k)),xl=(k,w)=>Math.pow(10,Al(k)+w);function Gc(k){return k/Math.pow(10,Al(k))==1}function xa(k,w,C){const N=Math.pow(10,C),B=Math.floor(k/N);return Math.ceil(w/N)-B}function Du(k){const w=k.ticks;if(w.display&&k.display){const C=(0,r.E)(w.backdropPadding);return(0,r.v)(w.font&&w.font.size,r.d.font.size)+C.height}return 0}function fl(k,w,C){return C=(0,r.b)(C)?C:[C],{w:(0,r.aN)(k,w.string,C),h:C.length*w.lineHeight}}function pl(k,w,C,N,B){return k===N||k===B?{start:w-C/2,end:w+C/2}:k<N||k>B?{start:w-C,end:w}:{start:w,end:w+C}}function ju(k,w,C,N,B){const re=Math.abs(Math.sin(C)),he=Math.abs(Math.cos(C));let Te=0,$e=0;N.start<w.l?(Te=(w.l-N.start)/re,k.l=Math.min(k.l,w.l-Te)):N.end>w.r&&(Te=(N.end-w.r)/re,k.r=Math.max(k.r,w.r+Te)),B.start<w.t?($e=(w.t-B.start)/he,k.t=Math.min(k.t,w.t-$e)):B.end>w.b&&($e=(B.end-w.b)/he,k.b=Math.max(k.b,w.b+$e))}function dd(k,w,C){const N=k.drawingArea,{extra:B,additionalAngle:re,padding:he,size:Te}=C,$e=k.getPointPosition(w,N+B+he,re),it=Math.round((0,r.U)((0,r.ay)($e.angle+r.H))),$t=function xp(k,w,C){return 90===C||270===C?k-=w/2:(C>270||C<90)&&(k-=w),k}($e.y,Te.h,it),pn=function Sd(k){return 0===k||180===k?"center":k<180?"left":"right"}(it),Fn=function Cd(k,w,C){return"right"===C?k-=w:"center"===C&&(k-=w/2),k}($e.x,Te.w,pn);return{visible:!0,x:$e.x,y:$t,textAlign:pn,left:Fn,top:$t,right:Fn+Te.w,bottom:$t+Te.h}}function fu(k,w){if(!w)return!0;const{left:C,top:N,right:B,bottom:re}=k;return!((0,r.C)({x:C,y:N},w)||(0,r.C)({x:C,y:re},w)||(0,r.C)({x:B,y:N},w)||(0,r.C)({x:B,y:re},w))}function nc(k,w,C){const{left:N,top:B,right:re,bottom:he}=C,{backdropColor:Te}=w;if(!(0,r.k)(Te)){const $e=(0,r.aw)(w.borderRadius),it=(0,r.E)(w.backdropPadding);k.fillStyle=Te;const $t=N-it.left,pn=B-it.top,Fn=re-N+it.width,Zn=he-B+it.height;Object.values($e).some(or=>0!==or)?(k.beginPath(),(0,r.au)(k,{x:$t,y:pn,w:Fn,h:Zn,radius:$e}),k.fill()):k.fillRect($t,pn,Fn,Zn)}}function ap(k,w,C,N){const{ctx:B}=k;if(C)B.arc(k.xCenter,k.yCenter,w,0,r.T);else{let re=k.getPointPosition(0,w);B.moveTo(re.x,re.y);for(let he=1;he<N;he++)re=k.getPointPosition(he,w),B.lineTo(re.x,re.y)}}const jd={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},lc=Object.keys(jd);function zo(k,w){return k-w}function pu(k,w){if((0,r.k)(w))return null;const C=k._adapter,{parser:N,round:B,isoWeekday:re}=k._parseOpts;let he=w;return"function"==typeof N&&(he=N(he)),(0,r.g)(he)||(he="string"==typeof N?C.parse(he,N):C.parse(he)),null===he?null:(B&&(he="week"!==B||!(0,r.x)(re)&&!0!==re?C.startOf(he,B):C.startOf(he,"isoWeek",re)),+he)}function cp(k,w,C,N){const B=lc.length;for(let re=lc.indexOf(k);re<B-1;++re){const he=jd[lc[re]];if(he.common&&Math.ceil((C-w)/((he.steps?he.steps:Number.MAX_SAFE_INTEGER)*he.size))<=N)return lc[re]}return lc[B-1]}function Ru(k,w,C){if(C){if(C.length){const{lo:N,hi:B}=(0,r.aP)(C,w);k[C[N]>=w?C[N]:C[B]]=!0}}else k[w]=!0}function be(k,w,C){const N=[],B={},re=w.length;let he,Te;for(he=0;he<re;++he)Te=w[he],B[Te]=he,N.push({value:Te,major:!1});return 0!==re&&C?function $o(k,w,C,N){const B=k._adapter,re=+B.startOf(w[0].value,N),he=w[w.length-1].value;let Te,$e;for(Te=re;Te<=he;Te=+B.add(Te,1,N))$e=C[Te],$e>=0&&(w[$e].major=!0);return w}(k,N,B,C):N}let Ne=(()=>class k extends tl{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(C){super(C),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(C,N={}){const B=C.time||(C.time={}),re=this._adapter=new Fi._date(C.adapters.date);re.init(N),(0,r.ab)(B.displayFormats,re.formats()),this._parseOpts={parser:B.parser,round:B.round,isoWeekday:B.isoWeekday},super.init(C),this._normalized=N.normalized}parse(C,N){return void 0===C?null:pu(this,C)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const C=this.options,N=this._adapter,B=C.time.unit||"day";let{min:re,max:he,minDefined:Te,maxDefined:$e}=this.getUserBounds();function it($t){!Te&&!isNaN($t.min)&&(re=Math.min(re,$t.min)),!$e&&!isNaN($t.max)&&(he=Math.max(he,$t.max))}(!Te||!$e)&&(it(this._getLabelBounds()),("ticks"!==C.bounds||"labels"!==C.ticks.source)&&it(this.getMinMax(!1))),re=(0,r.g)(re)&&!isNaN(re)?re:+N.startOf(Date.now(),B),he=(0,r.g)(he)&&!isNaN(he)?he:+N.endOf(Date.now(),B)+1,this.min=Math.min(re,he-1),this.max=Math.max(re+1,he)}_getLabelBounds(){const C=this.getLabelTimestamps();let N=Number.POSITIVE_INFINITY,B=Number.NEGATIVE_INFINITY;return C.length&&(N=C[0],B=C[C.length-1]),{min:N,max:B}}buildTicks(){const C=this.options,N=C.time,B=C.ticks,re="labels"===B.source?this.getLabelTimestamps():this._generate();"ticks"===C.bounds&&re.length&&(this.min=this._userMin||re[0],this.max=this._userMax||re[re.length-1]);const he=this.min,$e=(0,r.aO)(re,he,this.max);return this._unit=N.unit||(B.autoSkip?cp(N.minUnit,this.min,this.max,this._getLabelCapacity(he)):function fc(k,w,C,N,B){for(let re=lc.length-1;re>=lc.indexOf(C);re--){const he=lc[re];if(jd[he].common&&k._adapter.diff(B,N,he)>=w-1)return he}return lc[C?lc.indexOf(C):0]}(this,$e.length,N.minUnit,this.min,this.max)),this._majorUnit=B.major.enabled&&"year"!==this._unit?function Zd(k){for(let w=lc.indexOf(k)+1,C=lc.length;w<C;++w)if(jd[lc[w]].common)return lc[w]}(this._unit):void 0,this.initOffsets(re),C.reverse&&$e.reverse(),be(this,$e,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(C=>+C.value))}initOffsets(C=[]){let re,he,N=0,B=0;this.options.offset&&C.length&&(re=this.getDecimalForValue(C[0]),N=1===C.length?1-re:(this.getDecimalForValue(C[1])-re)/2,he=this.getDecimalForValue(C[C.length-1]),B=1===C.length?he:(he-this.getDecimalForValue(C[C.length-2]))/2);const Te=C.length<3?.5:.25;N=(0,r.S)(N,0,Te),B=(0,r.S)(B,0,Te),this._offsets={start:N,end:B,factor:1/(N+1+B)}}_generate(){const C=this._adapter,N=this.min,B=this.max,re=this.options,he=re.time,Te=he.unit||cp(he.minUnit,N,B,this._getLabelCapacity(N)),$e=(0,r.v)(re.ticks.stepSize,1),it="week"===Te&&he.isoWeekday,$t=(0,r.x)(it)||!0===it,pn={};let Zn,or,Fn=N;if($t&&(Fn=+C.startOf(Fn,"isoWeek",it)),Fn=+C.startOf(Fn,$t?"day":Te),C.diff(B,N,Te)>1e5*$e)throw new Error(N+" and "+B+" are too far apart with stepSize of "+$e+" "+Te);const Hr="data"===re.ticks.source&&this.getDataTimestamps();for(Zn=Fn,or=0;Zn<B;Zn=+C.add(Zn,$e,Te),or++)Ru(pn,Zn,Hr);return(Zn===B||"ticks"===re.bounds||1===or)&&Ru(pn,Zn,Hr),Object.keys(pn).sort(zo).map(Ci=>+Ci)}getLabelForValue(C){const B=this.options.time;return this._adapter.format(C,B.tooltipFormat?B.tooltipFormat:B.displayFormats.datetime)}format(C,N){return this._adapter.format(C,N||this.options.time.displayFormats[this._unit])}_tickFormatFunction(C,N,B,re){const he=this.options,Te=he.ticks.callback;if(Te)return(0,r.Q)(Te,[C,N,B],this);const $e=he.time.displayFormats,it=this._unit,$t=this._majorUnit,Fn=$t&&$e[$t],Zn=B[N];return this._adapter.format(C,re||($t&&Fn&&Zn&&Zn.major?Fn:it&&$e[it]))}generateTickLabels(C){let N,B,re;for(N=0,B=C.length;N<B;++N)re=C[N],re.label=this._tickFormatFunction(re.value,N,C)}getDecimalForValue(C){return null===C?NaN:(C-this.min)/(this.max-this.min)}getPixelForValue(C){const N=this._offsets,B=this.getDecimalForValue(C);return this.getPixelForDecimal((N.start+B)*N.factor)}getValueForPixel(C){const N=this._offsets,B=this.getDecimalForPixel(C)/N.factor-N.end;return this.min+B*(this.max-this.min)}_getLabelSize(C){const N=this.options.ticks,B=this.ctx.measureText(C).width,re=(0,r.t)(this.isHorizontal()?N.maxRotation:N.minRotation),he=Math.cos(re),Te=Math.sin(re),$e=this._resolveTickFontOptions(0).size;return{w:B*he+$e*Te,h:B*Te+$e*he}}_getLabelCapacity(C){const N=this.options.time,B=N.displayFormats,re=B[N.unit]||B.millisecond,he=this._tickFormatFunction(C,0,be(this,[C],this._majorUnit),re),Te=this._getLabelSize(he),$e=Math.floor(this.isHorizontal()?this.width/Te.w:this.height/Te.h)-1;return $e>0?$e:1}getDataTimestamps(){let N,B,C=this._cache.data||[];if(C.length)return C;const re=this.getMatchingVisibleMetas();if(this._normalized&&re.length)return this._cache.data=re[0].controller.getAllParsedValues(this);for(N=0,B=re.length;N<B;++N)C=C.concat(re[N].controller.getAllParsedValues(this));return this._cache.data=this.normalize(C)}getLabelTimestamps(){const C=this._cache.labels||[];let N,B;if(C.length)return C;const re=this.getLabels();for(N=0,B=re.length;N<B;++N)C.push(pu(this,re[N]));return this._cache.labels=this._normalized?C:this.normalize(C)}normalize(C){return(0,r._)(C.sort(zo))}})();function ve(k,w,C){let re,he,Te,$e,N=0,B=k.length-1;C?(w>=k[N].pos&&w<=k[B].pos&&({lo:N,hi:B}=(0,r.B)(k,"pos",w)),({pos:re,time:Te}=k[N]),({pos:he,time:$e}=k[B])):(w>=k[N].time&&w<=k[B].time&&({lo:N,hi:B}=(0,r.B)(k,"time",w)),({time:re,pos:Te}=k[N]),({time:he,pos:$e}=k[B]));const it=he-re;return it?Te+($e-Te)*(w-re)/it:Te}const fn=[Ln,Ya,dc,Object.freeze({__proto__:null,CategoryScale:tc,LinearScale:class du extends il{static id="linear";static defaults={ticks:{callback:r.aL.formatters.numeric}};determineDataLimits(){const{min:w,max:C}=this.getMinMax(!0);this.min=(0,r.g)(w)?w:0,this.max=(0,r.g)(C)?C:1,this.handleTickRangeOptions()}computeTickLimit(){const w=this.isHorizontal(),C=w?this.width:this.height,N=(0,r.t)(this.options.ticks.minRotation),B=(w?Math.sin(N):Math.cos(N))||.001,re=this._resolveTickFontOptions(0);return Math.ceil(C/Math.min(40,re.lineHeight/B))}getPixelForValue(w){return null===w?NaN:this.getPixelForDecimal((w-this._startValue)/this._valueRange)}getValueForPixel(w){return this._startValue+this.getDecimalForPixel(w)*this._valueRange}},LogarithmicScale:class Pc extends tl{static id="logarithmic";static defaults={ticks:{callback:r.aL.formatters.logarithmic,major:{enabled:!0}}};constructor(w){super(w),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(w,C){const N=il.prototype.parse.apply(this,[w,C]);if(0!==N)return(0,r.g)(N)&&N>0?N:null;this._zero=!0}determineDataLimits(){const{min:w,max:C}=this.getMinMax(!0);this.min=(0,r.g)(w)?Math.max(0,w):null,this.max=(0,r.g)(C)?Math.max(0,C):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!(0,r.g)(this._userMin)&&(this.min=w===xl(this.min,0)?xl(this.min,-1):xl(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:w,maxDefined:C}=this.getUserBounds();let N=this.min,B=this.max;const re=Te=>N=w?N:Te,he=Te=>B=C?B:Te;N===B&&(N<=0?(re(1),he(10)):(re(xl(N,-1)),he(xl(B,1)))),N<=0&&re(xl(B,-1)),B<=0&&he(xl(N,1)),this.min=N,this.max=B}buildTicks(){const w=this.options,N=function En(k,{min:w,max:C}){w=(0,r.O)(k.min,w);const N=[],B=Al(w);let re=function iu(k,w){let N=Al(w-k);for(;xa(k,w,N)>10;)N++;for(;xa(k,w,N)<10;)N--;return Math.min(N,Al(k))}(w,C),he=re<0?Math.pow(10,Math.abs(re)):1;const Te=Math.pow(10,re),$e=B>re?Math.pow(10,B):0,it=Math.round((w-$e)*he)/he,$t=Math.floor((w-$e)/Te/10)*Te*10;let pn=Math.floor((it-$t)/Math.pow(10,re)),Fn=(0,r.O)(k.min,Math.round(($e+$t+pn*Math.pow(10,re))*he)/he);for(;Fn<C;)N.push({value:Fn,major:Gc(Fn),significand:pn}),pn>=10?pn=pn<15?15:20:pn++,pn>=20&&(re++,pn=2,he=re>=0?1:he),Fn=Math.round(($e+$t+pn*Math.pow(10,re))*he)/he;const Zn=(0,r.O)(k.max,Fn);return N.push({value:Zn,major:Gc(Zn),significand:pn}),N}({min:this._userMin,max:this._userMax},this);return"ticks"===w.bounds&&(0,r.aG)(N,this,"value"),w.reverse?(N.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),N}getLabelForValue(w){return void 0===w?"0":(0,r.o)(w,this.chart.options.locale,this.options.ticks.format)}configure(){const w=this.min;super.configure(),this._startValue=(0,r.aM)(w),this._valueRange=(0,r.aM)(this.max)-(0,r.aM)(w)}getPixelForValue(w){return(void 0===w||0===w)&&(w=this.min),null===w||isNaN(w)?NaN:this.getPixelForDecimal(w===this.min?0:((0,r.aM)(w)-this._startValue)/this._valueRange)}getValueForPixel(w){const C=this.getDecimalForPixel(w);return Math.pow(10,this._startValue+C*this._valueRange)}},RadialLinearScale:class Bu extends il{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:r.aL.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:w=>w,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(w){super(w),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const w=this._padding=(0,r.E)(Du(this.options)/2),C=this.width=this.maxWidth-w.width,N=this.height=this.maxHeight-w.height;this.xCenter=Math.floor(this.left+C/2+w.left),this.yCenter=Math.floor(this.top+N/2+w.top),this.drawingArea=Math.floor(Math.min(C,N)/2)}determineDataLimits(){const{min:w,max:C}=this.getMinMax(!1);this.min=(0,r.g)(w)&&!isNaN(w)?w:0,this.max=(0,r.g)(C)&&!isNaN(C)?C:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Du(this.options))}generateTickLabels(w){il.prototype.generateTickLabels.call(this,w),this._pointLabels=this.getLabels().map((C,N)=>{const B=(0,r.Q)(this.options.pointLabels.callback,[C,N],this);return B||0===B?B:""}).filter((C,N)=>this.chart.getDataVisibility(N))}fit(){const w=this.options;w.display&&w.pointLabels.display?function Ed(k){const w={l:k.left+k._padding.left,r:k.right-k._padding.right,t:k.top+k._padding.top,b:k.bottom-k._padding.bottom},C=Object.assign({},w),N=[],B=[],re=k._pointLabels.length,he=k.options.pointLabels,Te=he.centerPointLabels?r.P/re:0;for(let $e=0;$e<re;$e++){const it=he.setContext(k.getPointLabelContext($e));B[$e]=it.padding;const $t=k.getPointPosition($e,k.drawingArea+B[$e],Te),pn=(0,r.a0)(it.font),Fn=fl(k.ctx,pn,k._pointLabels[$e]);N[$e]=Fn;const Zn=(0,r.ay)(k.getIndexAngle($e)+Te),or=Math.round((0,r.U)(Zn));ju(C,w,Zn,pl(or,$t.x,Fn.w,0,180),pl(or,$t.y,Fn.h,90,270))}k.setCenterPoint(w.l-C.l,C.r-w.r,w.t-C.t,C.b-w.b),k._pointLabelItems=function fd(k,w,C){const N=[],B=k._pointLabels.length,re=k.options,{centerPointLabels:he,display:Te}=re.pointLabels,$e={extra:Du(re)/2,additionalAngle:he?r.P/B:0};let it;for(let $t=0;$t<B;$t++){$e.padding=C[$t],$e.size=w[$t];const pn=dd(k,$t,$e);N.push(pn),"auto"===Te&&(pn.visible=fu(pn,it),pn.visible&&(it=pn))}return N}(k,N,B)}(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(w,C,N,B){this.xCenter+=Math.floor((w-C)/2),this.yCenter+=Math.floor((N-B)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(w,C,N,B))}getIndexAngle(w){return(0,r.ay)(w*(r.T/(this._pointLabels.length||1))+(0,r.t)(this.options.startAngle||0))}getDistanceFromCenterForValue(w){if((0,r.k)(w))return NaN;const C=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-w)*C:(w-this.min)*C}getValueForDistanceFromCenter(w){if((0,r.k)(w))return NaN;const C=w/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-C:this.min+C}getPointLabelContext(w){const C=this._pointLabels||[];if(w>=0&&w<C.length){const N=C[w];return function lp(k,w,C){return(0,r.j)(k,{label:C,index:w,type:"pointLabel"})}(this.getContext(),w,N)}}getPointPosition(w,C,N=0){const B=this.getIndexAngle(w)-r.H+N;return{x:Math.cos(B)*C+this.xCenter,y:Math.sin(B)*C+this.yCenter,angle:B}}getPointPositionForValue(w,C){return this.getPointPosition(w,this.getDistanceFromCenterForValue(C))}getBasePosition(w){return this.getPointPositionForValue(w||0,this.getBaseValue())}getPointLabelPosition(w){const{left:C,top:N,right:B,bottom:re}=this._pointLabelItems[w];return{left:C,top:N,right:B,bottom:re}}drawBackground(){const{backgroundColor:w,grid:{circular:C}}=this.options;if(w){const N=this.ctx;N.save(),N.beginPath(),ap(this,this.getDistanceFromCenterForValue(this._endValue),C,this._pointLabels.length),N.closePath(),N.fillStyle=w,N.fill(),N.restore()}}drawGrid(){const w=this.ctx,C=this.options,{angleLines:N,grid:B,border:re}=C,he=this._pointLabels.length;let Te,$e,it;if(C.pointLabels.display&&function Qu(k,w){const{ctx:C,options:{pointLabels:N}}=k;for(let B=w-1;B>=0;B--){const re=k._pointLabelItems[B];if(!re.visible)continue;const he=N.setContext(k.getPointLabelContext(B));nc(C,he,re);const Te=(0,r.a0)(he.font),{x:$e,y:it,textAlign:$t}=re;(0,r.Z)(C,k._pointLabels[B],$e,it+Te.lineHeight/2,Te,{color:he.color,textAlign:$t,textBaseline:"middle"})}}(this,he),B.display&&this.ticks.forEach(($t,pn)=>{if(0!==pn){$e=this.getDistanceFromCenterForValue($t.value);const Fn=this.getContext(pn),Zn=B.setContext(Fn),or=re.setContext(Fn);!function ua(k,w,C,N,B){const re=k.ctx,he=w.circular,{color:Te,lineWidth:$e}=w;!he&&!N||!Te||!$e||C<0||(re.save(),re.strokeStyle=Te,re.lineWidth=$e,re.setLineDash(B.dash),re.lineDashOffset=B.dashOffset,re.beginPath(),ap(k,C,he,N),re.closePath(),re.stroke(),re.restore())}(this,Zn,$e,he,or)}}),N.display){for(w.save(),Te=he-1;Te>=0;Te--){const $t=N.setContext(this.getPointLabelContext(Te)),{color:pn,lineWidth:Fn}=$t;!Fn||!pn||(w.lineWidth=Fn,w.strokeStyle=pn,w.setLineDash($t.borderDash),w.lineDashOffset=$t.borderDashOffset,$e=this.getDistanceFromCenterForValue(C.ticks.reverse?this.min:this.max),it=this.getPointPosition(Te,$e),w.beginPath(),w.moveTo(this.xCenter,this.yCenter),w.lineTo(it.x,it.y),w.stroke())}w.restore()}}drawBorder(){}drawLabels(){const w=this.ctx,C=this.options,N=C.ticks;if(!N.display)return;const B=this.getIndexAngle(0);let re,he;w.save(),w.translate(this.xCenter,this.yCenter),w.rotate(B),w.textAlign="center",w.textBaseline="middle",this.ticks.forEach((Te,$e)=>{if(0===$e&&!C.reverse)return;const it=N.setContext(this.getContext($e)),$t=(0,r.a0)(it.font);if(re=this.getDistanceFromCenterForValue(this.ticks[$e].value),it.showLabelBackdrop){w.font=$t.string,he=w.measureText(Te.label).width,w.fillStyle=it.backdropColor;const pn=(0,r.E)(it.backdropPadding);w.fillRect(-he/2-pn.left,-re-$t.size/2-pn.top,he+pn.width,$t.size+pn.height)}(0,r.Z)(w,Te.label,0,-re,$t,{color:it.color,strokeColor:it.textStrokeColor,strokeWidth:it.textStrokeWidth})}),w.restore()}drawTitle(){}},TimeScale:Ne,TimeSeriesScale:class Ze extends Ne{static id="timeseries";static defaults=Ne.defaults;constructor(w){super(w),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const w=this._getTimestampsForTable(),C=this._table=this.buildLookupTable(w);this._minPos=ve(C,this.min),this._tableRange=ve(C,this.max)-this._minPos,super.initOffsets(w)}buildLookupTable(w){const{min:C,max:N}=this,B=[],re=[];let he,Te,$e,it,$t;for(he=0,Te=w.length;he<Te;++he)it=w[he],it>=C&&it<=N&&B.push(it);if(B.length<2)return[{time:C,pos:0},{time:N,pos:1}];for(he=0,Te=B.length;he<Te;++he)$t=B[he+1],$e=B[he-1],it=B[he],Math.round(($t+$e)/2)!==it&&re.push({time:it,pos:he/(Te-1)});return re}_generate(){const w=this.min,C=this.max;let N=super.getDataTimestamps();return(!N.includes(w)||!N.length)&&N.splice(0,0,w),(!N.includes(C)||1===N.length)&&N.push(C),N.sort((B,re)=>B-re)}_getTimestampsForTable(){let w=this._cache.all||[];if(w.length)return w;const C=this.getDataTimestamps(),N=this.getLabelTimestamps();return w=C.length&&N.length?this.normalize(C.concat(N)):C.length?C:N,w=this._cache.all=w,w}getDecimalForValue(w){return(ve(this._table,w)-this._minPos)/this._tableRange}getValueForPixel(w){const C=this._offsets,N=this.getDecimalForPixel(w)/C.factor-C.end;return ve(this._table,N*this._tableRange+this._minPos,!0)}}})]},75875:(y,b,o)=>{"use strict";function r(ce){return ce+.5|0}o.d(b,{$:()=>eo,A:()=>Wi,B:()=>Gi,C:()=>Ei,D:()=>mi,E:()=>Ec,F:()=>Vo,G:()=>Ju,H:()=>vr,I:()=>vi,J:()=>uc,K:()=>Cu,L:()=>kr,M:()=>hn,N:()=>Wn,O:()=>Ln,P:()=>tn,Q:()=>so,R:()=>Kc,S:()=>Ii,T:()=>ot,U:()=>er,V:()=>_t,W:()=>ni,X:()=>ae,Y:()=>Ui,Z:()=>Fl,_:()=>$r,a:()=>dl,a0:()=>Sc,a1:()=>xo,a2:()=>Ss,a3:()=>Qo,a4:()=>Pr,a5:()=>Ut,a6:()=>Go,a7:()=>Ie,a8:()=>xs,a9:()=>cu,aA:()=>gt,aB:()=>bs,aC:()=>Ke,aD:()=>yn,aE:()=>gi,aF:()=>oi,aG:()=>st,aH:()=>dr,aI:()=>kt,aJ:()=>Qn,aK:()=>Kr,aL:()=>ml,aM:()=>Nr,aN:()=>On,aO:()=>Mo,aP:()=>wi,aa:()=>Tc,ab:()=>Bo,ac:()=>Ri,ad:()=>Qi,ae:()=>eu,af:()=>We,ag:()=>Qe,ah:()=>Xr,ai:()=>Ve,aj:()=>Vr,ak:()=>Za,al:()=>Je,am:()=>ei,an:()=>Oi,ao:()=>Ll,ap:()=>rl,aq:()=>tu,ar:()=>js,as:()=>hs,at:()=>on,au:()=>zc,av:()=>ec,aw:()=>wa,ax:()=>Fr,ay:()=>os,az:()=>Ce,b:()=>ft,c:()=>Ql,d:()=>Br,e:()=>Do,f:()=>Nn,g:()=>At,h:()=>ke,i:()=>sn,j:()=>Vc,k:()=>Tr,l:()=>Ls,m:()=>Lr,n:()=>Fi,o:()=>Cs,p:()=>hr,q:()=>ko,r:()=>mn,s:()=>nr,t:()=>zt,u:()=>qr,v:()=>rr,w:()=>$s,x:()=>Wt,y:()=>Xa,z:()=>qc});const a=(ce,Le,Be)=>Math.max(Math.min(ce,Be),Le);function u(ce){return a(r(2.55*ce),0,255)}function e(ce){return a(r(255*ce),0,255)}function f(ce){return a(r(ce/2.55)/100,0,1)}function h(ce){return a(r(100*ce),0,100)}const E={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},T=[..."0123456789ABCDEF"],D=ce=>T[15&ce],A=ce=>T[(240&ce)>>4]+T[15&ce],$=ce=>(240&ce)>>4==(15&ce),J=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function pe(ce,Le,Be){const Bt=Le*Math.min(Be,1-Be),Kt=(Bn,sr=(Bn+ce/30)%12)=>Be-Bt*Math.max(Math.min(sr-3,9-sr,1),-1);return[Kt(0),Kt(8),Kt(4)]}function j(ce,Le,Be){const Bt=(Kt,Bn=(Kt+ce/60)%6)=>Be-Be*Le*Math.max(Math.min(Bn,4-Bn,1),0);return[Bt(5),Bt(3),Bt(1)]}function ue(ce,Le,Be){const Bt=pe(ce,1,.5);let Kt;for(Le+Be>1&&(Kt=1/(Le+Be),Le*=Kt,Be*=Kt),Kt=0;Kt<3;Kt++)Bt[Kt]*=1-Le-Be,Bt[Kt]+=Le;return Bt}function me(ce){const Be=ce.r/255,Bt=ce.g/255,Kt=ce.b/255,Bn=Math.max(Be,Bt,Kt),sr=Math.min(Be,Bt,Kt),xr=(Bn+sr)/2;let fi,Xi,So;return Bn!==sr&&(So=Bn-sr,Xi=xr>.5?So/(2-Bn-sr):So/(Bn+sr),fi=function ie(ce,Le,Be,Bt,Kt){return ce===Kt?(Le-Be)/Bt+(Le<Be?6:0):Le===Kt?(Be-ce)/Bt+2:(ce-Le)/Bt+4}(Be,Bt,Kt,So,Bn),fi=60*fi+.5),[0|fi,Xi||0,xr]}function Oe(ce,Le,Be,Bt){return(Array.isArray(Le)?ce(Le[0],Le[1],Le[2]):ce(Le,Be,Bt)).map(e)}function Ue(ce,Le,Be){return Oe(pe,ce,Le,Be)}function et(ce){return(ce%360+360)%360}const bt={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Ct={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let ht;const nn=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,Rt=ce=>ce<=.0031308?12.92*ce:1.055*Math.pow(ce,1/2.4)-.055,Xt=ce=>ce<=.04045?ce/12.92:Math.pow((ce+.055)/1.055,2.4);function _n(ce,Le,Be){if(ce){let Bt=me(ce);Bt[Le]=Math.max(0,Math.min(Bt[Le]+Bt[Le]*Be,0===Le?360:1)),Bt=Ue(Bt),ce.r=Bt[0],ce.g=Bt[1],ce.b=Bt[2]}}function kn(ce,Le){return ce&&Object.assign(Le||{},ce)}function ri(ce){var Le={r:0,g:0,b:0,a:255};return Array.isArray(ce)?ce.length>=3&&(Le={r:ce[0],g:ce[1],b:ce[2],a:255},ce.length>3&&(Le.a=e(ce[3]))):(Le=kn(ce,{r:0,g:0,b:0,a:1})).a=e(Le.a),Le}function Ir(ce){return"r"===ce.charAt(0)?function bn(ce){const Le=nn.exec(ce);let Bt,Kt,Bn,Be=255;if(Le){if(Le[7]!==Bt){const sr=+Le[7];Be=Le[8]?u(sr):a(255*sr,0,255)}return Bt=+Le[1],Kt=+Le[3],Bn=+Le[5],Bt=255&(Le[2]?u(Bt):a(Bt,0,255)),Kt=255&(Le[4]?u(Kt):a(Kt,0,255)),Bn=255&(Le[6]?u(Bn):a(Bn,0,255)),{r:Bt,g:Kt,b:Bn,a:Be}}}(ce):function tt(ce){const Le=J.exec(ce);let Bt,Be=255;if(!Le)return;Le[5]!==Bt&&(Be=Le[6]?u(+Le[5]):e(+Le[5]));const Kt=et(+Le[2]),Bn=+Le[3]/100,sr=+Le[4]/100;return Bt="hwb"===Le[1]?function Me(ce,Le,Be){return Oe(ue,ce,Le,Be)}(Kt,Bn,sr):"hsv"===Le[1]?function yt(ce,Le,Be){return Oe(j,ce,Le,Be)}(Kt,Bn,sr):Ue(Kt,Bn,sr),{r:Bt[0],g:Bt[1],b:Bt[2],a:Be}}(ce)}class wr{constructor(Le){if(Le instanceof wr)return Le;const Be=typeof Le;let Bt;"object"===Be?Bt=ri(Le):"string"===Be&&(Bt=function U(ce){var Be,Le=ce.length;return"#"===ce[0]&&(4===Le||5===Le?Be={r:255&17*E[ce[1]],g:255&17*E[ce[2]],b:255&17*E[ce[3]],a:5===Le?17*E[ce[4]]:255}:(7===Le||9===Le)&&(Be={r:E[ce[1]]<<4|E[ce[2]],g:E[ce[3]]<<4|E[ce[4]],b:E[ce[5]]<<4|E[ce[6]],a:9===Le?E[ce[7]]<<4|E[ce[8]]:255})),Be}(Le)||function en(ce){ht||(ht=function Qt(){const ce={},Le=Object.keys(Ct),Be=Object.keys(bt);let Bt,Kt,Bn,sr,xr;for(Bt=0;Bt<Le.length;Bt++){for(sr=xr=Le[Bt],Kt=0;Kt<Be.length;Kt++)Bn=Be[Kt],xr=xr.replace(Bn,bt[Bn]);Bn=parseInt(Ct[sr],16),ce[xr]=[Bn>>16&255,Bn>>8&255,255&Bn]}return ce}(),ht.transparent=[0,0,0,0]);const Le=ht[ce.toLowerCase()];return Le&&{r:Le[0],g:Le[1],b:Le[2],a:4===Le.length?Le[3]:255}}(Le)||Ir(Le)),this._rgb=Bt,this._valid=!!Bt}get valid(){return this._valid}get rgb(){var Le=kn(this._rgb);return Le&&(Le.a=f(Le.a)),Le}set rgb(Le){this._rgb=ri(Le)}rgbString(){return this._valid?function Dn(ce){return ce&&(ce.a<255?`rgba(${ce.r}, ${ce.g}, ${ce.b}, ${f(ce.a)})`:`rgb(${ce.r}, ${ce.g}, ${ce.b})`)}(this._rgb):void 0}hexString(){return this._valid?function L(ce){var Le=(ce=>$(ce.r)&&$(ce.g)&&$(ce.b)&&$(ce.a))(ce)?D:A;return ce?"#"+Le(ce.r)+Le(ce.g)+Le(ce.b)+((ce,Le)=>ce<255?Le(ce):"")(ce.a,Le):void 0}(this._rgb):void 0}hslString(){return this._valid?function ze(ce){if(!ce)return;const Le=me(ce),Be=Le[0],Bt=h(Le[1]),Kt=h(Le[2]);return ce.a<255?`hsla(${Be}, ${Bt}%, ${Kt}%, ${f(ce.a)})`:`hsl(${Be}, ${Bt}%, ${Kt}%)`}(this._rgb):void 0}mix(Le,Be){if(Le){const Bt=this.rgb,Kt=Le.rgb;let Bn;const sr=Be===Bn?.5:Be,xr=2*sr-1,fi=Bt.a-Kt.a,Xi=((xr*fi==-1?xr:(xr+fi)/(1+xr*fi))+1)/2;Bn=1-Xi,Bt.r=255&Xi*Bt.r+Bn*Kt.r+.5,Bt.g=255&Xi*Bt.g+Bn*Kt.g+.5,Bt.b=255&Xi*Bt.b+Bn*Kt.b+.5,Bt.a=sr*Bt.a+(1-sr)*Kt.a,this.rgb=Bt}return this}interpolate(Le,Be){return Le&&(this._rgb=function un(ce,Le,Be){const Bt=Xt(f(ce.r)),Kt=Xt(f(ce.g)),Bn=Xt(f(ce.b));return{r:e(Rt(Bt+Be*(Xt(f(Le.r))-Bt))),g:e(Rt(Kt+Be*(Xt(f(Le.g))-Kt))),b:e(Rt(Bn+Be*(Xt(f(Le.b))-Bn))),a:ce.a+Be*(Le.a-ce.a)}}(this._rgb,Le._rgb,Be)),this}clone(){return new wr(this.rgb)}alpha(Le){return this._rgb.a=e(Le),this}clearer(Le){return this._rgb.a*=1-Le,this}greyscale(){const Le=this._rgb,Be=r(.3*Le.r+.59*Le.g+.11*Le.b);return Le.r=Le.g=Le.b=Be,this}opaquer(Le){return this._rgb.a*=1+Le,this}negate(){const Le=this._rgb;return Le.r=255-Le.r,Le.g=255-Le.g,Le.b=255-Le.b,this}lighten(Le){return _n(this._rgb,2,Le),this}darken(Le){return _n(this._rgb,2,-Le),this}saturate(Le){return _n(this._rgb,1,Le),this}desaturate(Le){return _n(this._rgb,1,-Le),this}rotate(Le){return function Et(ce,Le){var Be=me(ce);Be[0]=et(Be[0]+Le),Be=Ue(Be),ce.r=Be[0],ce.g=Be[1],ce.b=Be[2]}(this._rgb,Le),this}}function oi(){}const Ri=(()=>{let ce=0;return()=>ce++})();function Tr(ce){return null===ce||typeof ce>"u"}function ft(ce){if(Array.isArray&&Array.isArray(ce))return!0;const Le=Object.prototype.toString.call(ce);return"[object"===Le.slice(0,7)&&"Array]"===Le.slice(-6)}function sn(ce){return null!==ce&&"[object Object]"===Object.prototype.toString.call(ce)}function At(ce){return("number"==typeof ce||ce instanceof Number)&&isFinite(+ce)}function Ln(ce,Le){return At(ce)?ce:Le}function rr(ce,Le){return typeof ce>"u"?Le:ce}const Lr=(ce,Le)=>"string"==typeof ce&&ce.endsWith("%")?parseFloat(ce)/100:+ce/Le,Fi=(ce,Le)=>"string"==typeof ce&&ce.endsWith("%")?parseFloat(ce)/100*Le:+ce;function so(ce,Le,Be){if(ce&&"function"==typeof ce.call)return ce.apply(Be,Le)}function Vo(ce,Le,Be,Bt){let Kt,Bn,sr;if(ft(ce))if(Bn=ce.length,Bt)for(Kt=Bn-1;Kt>=0;Kt--)Le.call(Be,ce[Kt],Kt);else for(Kt=0;Kt<Bn;Kt++)Le.call(Be,ce[Kt],Kt);else if(sn(ce))for(sr=Object.keys(ce),Bn=sr.length,Kt=0;Kt<Bn;Kt++)Le.call(Be,ce[sr[Kt]],sr[Kt])}function Xr(ce,Le){let Be,Bt,Kt,Bn;if(!ce||!Le||ce.length!==Le.length)return!1;for(Be=0,Bt=ce.length;Be<Bt;++Be)if(Kt=ce[Be],Bn=Le[Be],Kt.datasetIndex!==Bn.datasetIndex||Kt.index!==Bn.index)return!1;return!0}function Ni(ce){if(ft(ce))return ce.map(Ni);if(sn(ce)){const Le=Object.create(null),Be=Object.keys(ce),Bt=Be.length;let Kt=0;for(;Kt<Bt;++Kt)Le[Be[Kt]]=Ni(ce[Be[Kt]]);return Le}return ce}function ji(ce){return-1===["__proto__","prototype","constructor"].indexOf(ce)}function jr(ce,Le,Be,Bt){if(!ji(ce))return;const Kt=Le[ce],Bn=Be[ce];sn(Kt)&&sn(Bn)?Pr(Kt,Bn,Bt):Le[ce]=Ni(Bn)}function Pr(ce,Le,Be){const Bt=ft(Le)?Le:[Le],Kt=Bt.length;if(!sn(ce))return ce;const Bn=(Be=Be||{}).merger||jr;let sr;for(let xr=0;xr<Kt;++xr){if(sr=Bt[xr],!sn(sr))continue;const fi=Object.keys(sr);for(let Xi=0,So=fi.length;Xi<So;++Xi)Bn(fi[Xi],ce,sr,Be)}return ce}function Bo(ce,Le){return Pr(ce,Le,{merger:cs})}function cs(ce,Le,Be){if(!ji(ce))return;const Bt=Le[ce],Kt=Be[ce];sn(Bt)&&sn(Kt)?Bo(Bt,Kt):Object.prototype.hasOwnProperty.call(Le,ce)||(Le[ce]=Ni(Kt))}const io={"":ce=>ce,x:ce=>ce.x,y:ce=>ce.y};function Nn(ce,Le){return(io[Le]||(io[Le]=function Pn(ce){const Le=function Vi(ce){const Le=ce.split("."),Be=[];let Bt="";for(const Kt of Le)Bt+=Kt,Bt.endsWith("\\")?Bt=Bt.slice(0,-1)+".":(Be.push(Bt),Bt="");return Be}(ce);return Be=>{for(const Bt of Le){if(""===Bt)break;Be=Be&&Be[Bt]}return Be}}(Le)))(ce)}function Ut(ce){return ce.charAt(0).toUpperCase()+ce.slice(1)}const ke=ce=>typeof ce<"u",Ie=ce=>"function"==typeof ce,Qe=(ce,Le)=>{if(ce.size!==Le.size)return!1;for(const Be of ce)if(!Le.has(Be))return!1;return!0};function Ve(ce){return"mouseup"===ce.type||"click"===ce.type||"contextmenu"===ce.type}const tn=Math.PI,ot=2*tn,xt=ot+tn,qt=Number.POSITIVE_INFINITY,tr=tn/180,vr=tn/2,An=tn/4,yr=2*tn/3,Nr=Math.log10,nr=Math.sign;function Qn(ce,Le,Be){return Math.abs(ce-Le)<Be}function dr(ce){const Le=Math.round(ce);ce=Qn(ce,Le,ce/1e3)?Le:ce;const Be=Math.pow(10,Math.floor(Nr(ce))),Bt=ce/Be;return(Bt<=1?1:Bt<=2?2:Bt<=5?5:10)*Be}function Wn(ce){const Le=[],Be=Math.sqrt(ce);let Bt;for(Bt=1;Bt<Be;Bt++)ce%Bt==0&&(Le.push(Bt),Le.push(ce/Bt));return Be===(0|Be)&&Le.push(Be),Le.sort((Kt,Bn)=>Kt-Bn).pop(),Le}function Wt(ce){return!isNaN(parseFloat(ce))&&isFinite(ce)}function kt(ce,Le){const Be=Math.round(ce);return Be-Le<=ce&&Be+Le>=ce}function st(ce,Le,Be){let Bt,Kt,Bn;for(Bt=0,Kt=ce.length;Bt<Kt;Bt++)Bn=ce[Bt][Be],isNaN(Bn)||(Le.min=Math.min(Le.min,Bn),Le.max=Math.max(Le.max,Bn))}function zt(ce){return ce*(tn/180)}function er(ce){return ce*(180/tn)}function Kr(ce){if(!At(ce))return;let Le=1,Be=0;for(;Math.round(ce*Le)/Le!==ce;)Le*=10,Be++;return Be}function mi(ce,Le){const Be=Le.x-ce.x,Bt=Le.y-ce.y,Kt=Math.sqrt(Be*Be+Bt*Bt);let Bn=Math.atan2(Bt,Be);return Bn<-.5*tn&&(Bn+=ot),{angle:Bn,distance:Kt}}function gi(ce,Le){return Math.sqrt(Math.pow(Le.x-ce.x,2)+Math.pow(Le.y-ce.y,2))}function Jo(ce,Le){return(ce-Le+xt)%ot-tn}function os(ce){return(ce%ot+ot)%ot}function hr(ce,Le,Be,Bt){const Kt=os(ce),Bn=os(Le),sr=os(Be),xr=os(Bn-Kt),fi=os(sr-Kt),Xi=os(Kt-Bn),So=os(Kt-sr);return Kt===Bn||Kt===sr||Bt&&Bn===sr||xr>fi&&Xi<So}function Ii(ce,Le,Be){return Math.max(Le,Math.min(Be,ce))}function ni(ce){return Ii(ce,-32768,32767)}function Vr(ce,Le,Be,Bt=1e-6){return ce>=Math.min(Le,Be)-Bt&&ce<=Math.max(Le,Be)+Bt}function wi(ce,Le,Be){Be=Be||(sr=>ce[sr]<Le);let Bn,Bt=ce.length-1,Kt=0;for(;Bt-Kt>1;)Bn=Kt+Bt>>1,Be(Bn)?Kt=Bn:Bt=Bn;return{lo:Kt,hi:Bt}}const Gi=(ce,Le,Be,Bt)=>wi(ce,Be,Bt?Kt=>{const Bn=ce[Kt][Le];return Bn<Be||Bn===Be&&ce[Kt+1][Le]===Be}:Kt=>ce[Kt][Le]<Be),Wi=(ce,Le,Be)=>wi(ce,Be,Bt=>ce[Bt][Le]>=Be);function Mo(ce,Le,Be){let Bt=0,Kt=ce.length;for(;Bt<Kt&&ce[Bt]<Le;)Bt++;for(;Kt>Bt&&ce[Kt-1]>Be;)Kt--;return Bt>0||Kt<ce.length?ce.slice(Bt,Kt):ce}const As=["push","pop","shift","splice","unshift"];function Ls(ce,Le){ce._chartjs?ce._chartjs.listeners.push(Le):(Object.defineProperty(ce,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[Le]}}),As.forEach(Be=>{const Bt="_onData"+Ut(Be),Kt=ce[Be];Object.defineProperty(ce,Be,{configurable:!0,enumerable:!1,value(...Bn){const sr=Kt.apply(this,Bn);return ce._chartjs.listeners.forEach(xr=>{"function"==typeof xr[Bt]&&xr[Bt](...Bn)}),sr}})}))}function qr(ce,Le){const Be=ce._chartjs;if(!Be)return;const Bt=Be.listeners,Kt=Bt.indexOf(Le);-1!==Kt&&Bt.splice(Kt,1),!(Bt.length>0)&&(As.forEach(Bn=>{delete ce[Bn]}),delete ce._chartjs)}function $r(ce){const Le=new Set(ce);return Le.size===ce.length?ce:Array.from(Le)}const mn=typeof window>"u"?function(ce){return ce()}:window.requestAnimationFrame;function kr(ce,Le){let Be=[],Bt=!1;return function(...Kt){Be=Kt,Bt||(Bt=!0,mn.call(window,()=>{Bt=!1,ce.apply(Le,Be)}))}}function Qi(ce,Le){let Be;return function(...Bt){return Le?(clearTimeout(Be),Be=setTimeout(ce,Le,Bt)):ce.apply(this,Bt),Le}}const xo=ce=>"start"===ce?"left":"end"===ce?"right":"center",Ss=(ce,Le,Be)=>"start"===ce?Le:"end"===ce?Be:(Le+Be)/2,bs=(ce,Le,Be,Bt)=>ce===(Bt?"left":"right")?Be:"center"===ce?(Le+Be)/2:Le;function ko(ce,Le,Be){const Bt=Le.length;let Kt=0,Bn=Bt;if(ce._sorted){const{iScale:sr,_parsed:xr}=ce,fi=sr.axis,{min:Xi,max:So,minDefined:Ms,maxDefined:Hs}=sr.getUserBounds();Ms&&(Kt=Ii(Math.min(Gi(xr,fi,Xi).lo,Be?Bt:Gi(Le,fi,sr.getPixelForValue(Xi)).lo),0,Bt-1)),Bn=Hs?Ii(Math.max(Gi(xr,sr.axis,So,!0).hi+1,Be?0:Gi(Le,fi,sr.getPixelForValue(So),!0).hi+1),Kt,Bt)-Kt:Bt-Kt}return{start:Kt,count:Bn}}function $s(ce){const{xScale:Le,yScale:Be,_scaleRanges:Bt}=ce,Kt={xmin:Le.min,xmax:Le.max,ymin:Be.min,ymax:Be.max};if(!Bt)return ce._scaleRanges=Kt,!0;const Bn=Bt.xmin!==Le.min||Bt.xmax!==Le.max||Bt.ymin!==Be.min||Bt.ymax!==Be.max;return Object.assign(Bt,Kt),Bn}const ps=ce=>0===ce||1===ce,Ys=(ce,Le,Be)=>-Math.pow(2,10*(ce-=1))*Math.sin((ce-Le)*ot/Be),ra=(ce,Le,Be)=>Math.pow(2,-10*ce)*Math.sin((ce-Le)*ot/Be)+1,Do={linear:ce=>ce,easeInQuad:ce=>ce*ce,easeOutQuad:ce=>-ce*(ce-2),easeInOutQuad:ce=>(ce/=.5)<1?.5*ce*ce:-.5*(--ce*(ce-2)-1),easeInCubic:ce=>ce*ce*ce,easeOutCubic:ce=>(ce-=1)*ce*ce+1,easeInOutCubic:ce=>(ce/=.5)<1?.5*ce*ce*ce:.5*((ce-=2)*ce*ce+2),easeInQuart:ce=>ce*ce*ce*ce,easeOutQuart:ce=>-((ce-=1)*ce*ce*ce-1),easeInOutQuart:ce=>(ce/=.5)<1?.5*ce*ce*ce*ce:-.5*((ce-=2)*ce*ce*ce-2),easeInQuint:ce=>ce*ce*ce*ce*ce,easeOutQuint:ce=>(ce-=1)*ce*ce*ce*ce+1,easeInOutQuint:ce=>(ce/=.5)<1?.5*ce*ce*ce*ce*ce:.5*((ce-=2)*ce*ce*ce*ce+2),easeInSine:ce=>1-Math.cos(ce*vr),easeOutSine:ce=>Math.sin(ce*vr),easeInOutSine:ce=>-.5*(Math.cos(tn*ce)-1),easeInExpo:ce=>0===ce?0:Math.pow(2,10*(ce-1)),easeOutExpo:ce=>1===ce?1:1-Math.pow(2,-10*ce),easeInOutExpo:ce=>ps(ce)?ce:ce<.5?.5*Math.pow(2,10*(2*ce-1)):.5*(2-Math.pow(2,-10*(2*ce-1))),easeInCirc:ce=>ce>=1?ce:-(Math.sqrt(1-ce*ce)-1),easeOutCirc:ce=>Math.sqrt(1-(ce-=1)*ce),easeInOutCirc:ce=>(ce/=.5)<1?-.5*(Math.sqrt(1-ce*ce)-1):.5*(Math.sqrt(1-(ce-=2)*ce)+1),easeInElastic:ce=>ps(ce)?ce:Ys(ce,.075,.3),easeOutElastic:ce=>ps(ce)?ce:ra(ce,.075,.3),easeInOutElastic:ce=>ps(ce)?ce:ce<.5?.5*Ys(2*ce,.1125,.45):.5+.5*ra(2*ce-1,.1125,.45),easeInBack:ce=>ce*ce*(2.70158*ce-1.70158),easeOutBack:ce=>(ce-=1)*ce*(2.70158*ce+1.70158)+1,easeInOutBack(ce){let Le=1.70158;return(ce/=.5)<1?ce*ce*((1+(Le*=1.525))*ce-Le)*.5:.5*((ce-=2)*ce*((1+(Le*=1.525))*ce+Le)+2)},easeInBounce:ce=>1-Do.easeOutBounce(1-ce),easeOutBounce:ce=>ce<1/2.75?7.5625*ce*ce:ce<2/2.75?7.5625*(ce-=1.5/2.75)*ce+.75:ce<2.5/2.75?7.5625*(ce-=2.25/2.75)*ce+.9375:7.5625*(ce-=2.625/2.75)*ce+.984375,easeInOutBounce:ce=>ce<.5?.5*Do.easeInBounce(2*ce):.5*Do.easeOutBounce(2*ce-1)+.5};function oc(ce){if(ce&&"object"==typeof ce){const Le=ce.toString();return"[object CanvasPattern]"===Le||"[object CanvasGradient]"===Le}return!1}function Ql(ce){return oc(ce)?ce:new wr(ce)}function tl(ce){return oc(ce)?ce:new wr(ce).saturate(.5).darken(.1).hexString()}const Da=["x","y","borderWidth","radius","tension"],Ga=["color","borderColor","backgroundColor"],Ra=new Map;function Cs(ce,Le,Be){return function Fo(ce,Le){Le=Le||{};const Be=ce+JSON.stringify(Le);let Bt=Ra.get(Be);return Bt||(Bt=new Intl.NumberFormat(ce,Le),Ra.set(Be,Bt)),Bt}(Le,Be).format(ce)}const Ks={values:ce=>ft(ce)?ce:""+ce,numeric(ce,Le,Be){if(0===ce)return"0";const Bt=this.chart.options.locale;let Kt,Bn=ce;if(Be.length>1){const Xi=Math.max(Math.abs(Be[0].value),Math.abs(Be[Be.length-1].value));(Xi<1e-4||Xi>1e15)&&(Kt="scientific"),Bn=function nl(ce,Le){let Be=Le.length>3?Le[2].value-Le[1].value:Le[1].value-Le[0].value;return Math.abs(Be)>=1&&ce!==Math.floor(ce)&&(Be=ce-Math.floor(ce)),Be}(ce,Be)}const sr=Nr(Math.abs(Bn)),xr=isNaN(sr)?1:Math.max(Math.min(-1*Math.floor(sr),20),0),fi={notation:Kt,minimumFractionDigits:xr,maximumFractionDigits:xr};return Object.assign(fi,this.options.ticks.format),Cs(ce,Bt,fi)},logarithmic(ce,Le,Be){if(0===ce)return"0";const Bt=Be[Le].significand||ce/Math.pow(10,Math.floor(Nr(ce)));return[1,2,3,5,10,15].includes(Bt)||Le>.8*Be.length?Ks.numeric.call(this,ce,Le,Be):""}};var ml={formatters:Ks};const Qo=Object.create(null),Go=Object.create(null);function ys(ce,Le){if(!Le)return ce;const Be=Le.split(".");for(let Bt=0,Kt=Be.length;Bt<Kt;++Bt){const Bn=Be[Bt];ce=ce[Bn]||(ce[Bn]=Object.create(null))}return ce}function rs(ce,Le,Be){return"string"==typeof Le?Pr(ys(ce,Le),Be):Pr(ys(ce,""),Le)}class Lo{constructor(Le,Be){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=Bt=>Bt.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(Bt,Kt)=>tl(Kt.backgroundColor),this.hoverBorderColor=(Bt,Kt)=>tl(Kt.borderColor),this.hoverColor=(Bt,Kt)=>tl(Kt.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(Le),this.apply(Be)}set(Le,Be){return rs(this,Le,Be)}get(Le){return ys(this,Le)}describe(Le,Be){return rs(Go,Le,Be)}override(Le,Be){return rs(Qo,Le,Be)}route(Le,Be,Bt,Kt){const Bn=ys(this,Le),sr=ys(this,Bt),xr="_"+Be;Object.defineProperties(Bn,{[xr]:{value:Bn[Be],writable:!0},[Be]:{enumerable:!0,get(){const fi=this[xr],Xi=sr[Kt];return sn(fi)?Object.assign({},Xi,fi):rr(fi,Xi)},set(fi){this[xr]=fi}}})}apply(Le){Le.forEach(Be=>Be(this))}}var Br=new Lo({_scriptable:ce=>!ce.startsWith("on"),_indexable:ce=>"events"!==ce,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function Pl(ce){ce.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),ce.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:Le=>"onProgress"!==Le&&"onComplete"!==Le&&"fn"!==Le}),ce.set("animations",{colors:{type:"color",properties:Ga},numbers:{type:"number",properties:Da}}),ce.describe("animations",{_fallback:"animation"}),ce.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:Le=>0|Le}}}})},function Eo(ce){ce.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function ma(ce){ce.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(Le,Be)=>Be.lineWidth,tickColor:(Le,Be)=>Be.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:ml.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),ce.route("scale.ticks","color","","color"),ce.route("scale.grid","color","","borderColor"),ce.route("scale.border","color","","borderColor"),ce.route("scale.title","color","","color"),ce.describe("scale",{_fallback:!1,_scriptable:Le=>!Le.startsWith("before")&&!Le.startsWith("after")&&"callback"!==Le&&"parser"!==Le,_indexable:Le=>"borderDash"!==Le&&"tickBorderDash"!==Le&&"dash"!==Le}),ce.describe("scales",{_fallback:"scale"}),ce.describe("scale.ticks",{_scriptable:Le=>"backdropPadding"!==Le&&"callback"!==Le,_indexable:Le=>"backdropPadding"!==Le})}]);function _t(ce,Le,Be,Bt,Kt){let Bn=Le[Kt];return Bn||(Bn=Le[Kt]=ce.measureText(Kt).width,Be.push(Kt)),Bn>Bt&&(Bt=Bn),Bt}function On(ce,Le,Be,Bt){let Kt=(Bt=Bt||{}).data=Bt.data||{},Bn=Bt.garbageCollect=Bt.garbageCollect||[];Bt.font!==Le&&(Kt=Bt.data={},Bn=Bt.garbageCollect=[],Bt.font=Le),ce.save(),ce.font=Le;let sr=0;const xr=Be.length;let fi,Xi,So,Ms,Hs;for(fi=0;fi<xr;fi++)if(Ms=Be[fi],null==Ms||ft(Ms)){if(ft(Ms))for(Xi=0,So=Ms.length;Xi<So;Xi++)Hs=Ms[Xi],null!=Hs&&!ft(Hs)&&(sr=_t(ce,Kt,Bn,sr,Hs))}else sr=_t(ce,Kt,Bn,sr,Ms);ce.restore();const us=Bn.length/2;if(us>Be.length){for(fi=0;fi<us;fi++)delete Kt[Bn[fi]];Bn.splice(0,us)}return sr}function ae(ce,Le,Be){const Bt=ce.currentDevicePixelRatio,Kt=0!==Be?Math.max(Be/2,.5):0;return Math.round((Le-Kt)*Bt)/Bt+Kt}function We(ce,Le){(Le=Le||ce.getContext("2d")).save(),Le.resetTransform(),Le.clearRect(0,0,ce.width,ce.height),Le.restore()}function on(ce,Le,Be,Bt){yn(ce,Le,Be,Bt,null)}function yn(ce,Le,Be,Bt,Kt){let Bn,sr,xr,fi,Xi,So,Ms,Hs;const us=Le.pointStyle,Ma=Le.rotation,ss=Le.radius;let se=(Ma||0)*tr;if(us&&"object"==typeof us&&(Bn=us.toString(),"[object HTMLImageElement]"===Bn||"[object HTMLCanvasElement]"===Bn))return ce.save(),ce.translate(Be,Bt),ce.rotate(se),ce.drawImage(us,-us.width/2,-us.height/2,us.width,us.height),void ce.restore();if(!(isNaN(ss)||ss<=0)){switch(ce.beginPath(),us){default:Kt?ce.ellipse(Be,Bt,Kt/2,ss,0,0,ot):ce.arc(Be,Bt,ss,0,ot),ce.closePath();break;case"triangle":So=Kt?Kt/2:ss,ce.moveTo(Be+Math.sin(se)*So,Bt-Math.cos(se)*ss),se+=yr,ce.lineTo(Be+Math.sin(se)*So,Bt-Math.cos(se)*ss),se+=yr,ce.lineTo(Be+Math.sin(se)*So,Bt-Math.cos(se)*ss),ce.closePath();break;case"rectRounded":Xi=.516*ss,fi=ss-Xi,sr=Math.cos(se+An)*fi,Ms=Math.cos(se+An)*(Kt?Kt/2-Xi:fi),xr=Math.sin(se+An)*fi,Hs=Math.sin(se+An)*(Kt?Kt/2-Xi:fi),ce.arc(Be-Ms,Bt-xr,Xi,se-tn,se-vr),ce.arc(Be+Hs,Bt-sr,Xi,se-vr,se),ce.arc(Be+Ms,Bt+xr,Xi,se,se+vr),ce.arc(Be-Hs,Bt+sr,Xi,se+vr,se+tn),ce.closePath();break;case"rect":if(!Ma){fi=Math.SQRT1_2*ss,So=Kt?Kt/2:fi,ce.rect(Be-So,Bt-fi,2*So,2*fi);break}se+=An;case"rectRot":Ms=Math.cos(se)*(Kt?Kt/2:ss),sr=Math.cos(se)*ss,xr=Math.sin(se)*ss,Hs=Math.sin(se)*(Kt?Kt/2:ss),ce.moveTo(Be-Ms,Bt-xr),ce.lineTo(Be+Hs,Bt-sr),ce.lineTo(Be+Ms,Bt+xr),ce.lineTo(Be-Hs,Bt+sr),ce.closePath();break;case"crossRot":se+=An;case"cross":Ms=Math.cos(se)*(Kt?Kt/2:ss),sr=Math.cos(se)*ss,xr=Math.sin(se)*ss,Hs=Math.sin(se)*(Kt?Kt/2:ss),ce.moveTo(Be-Ms,Bt-xr),ce.lineTo(Be+Ms,Bt+xr),ce.moveTo(Be+Hs,Bt-sr),ce.lineTo(Be-Hs,Bt+sr);break;case"star":Ms=Math.cos(se)*(Kt?Kt/2:ss),sr=Math.cos(se)*ss,xr=Math.sin(se)*ss,Hs=Math.sin(se)*(Kt?Kt/2:ss),ce.moveTo(Be-Ms,Bt-xr),ce.lineTo(Be+Ms,Bt+xr),ce.moveTo(Be+Hs,Bt-sr),ce.lineTo(Be-Hs,Bt+sr),se+=An,Ms=Math.cos(se)*(Kt?Kt/2:ss),sr=Math.cos(se)*ss,xr=Math.sin(se)*ss,Hs=Math.sin(se)*(Kt?Kt/2:ss),ce.moveTo(Be-Ms,Bt-xr),ce.lineTo(Be+Ms,Bt+xr),ce.moveTo(Be+Hs,Bt-sr),ce.lineTo(Be-Hs,Bt+sr);break;case"line":sr=Kt?Kt/2:Math.cos(se)*ss,xr=Math.sin(se)*ss,ce.moveTo(Be-sr,Bt-xr),ce.lineTo(Be+sr,Bt+xr);break;case"dash":ce.moveTo(Be,Bt),ce.lineTo(Be+Math.cos(se)*(Kt?Kt/2:ss),Bt+Math.sin(se)*ss);break;case!1:ce.closePath()}ce.fill(),Le.borderWidth>0&&ce.stroke()}}function Ei(ce,Le,Be){return Be=Be||.5,!Le||ce&&ce.x>Le.left-Be&&ce.x<Le.right+Be&&ce.y>Le.top-Be&&ce.y<Le.bottom+Be}function Ui(ce,Le){ce.save(),ce.beginPath(),ce.rect(Le.left,Le.top,Le.right-Le.left,Le.bottom-Le.top),ce.clip()}function eo(ce){ce.restore()}function js(ce,Le,Be,Bt,Kt){if(!Le)return ce.lineTo(Be.x,Be.y);if("middle"===Kt){const Bn=(Le.x+Be.x)/2;ce.lineTo(Bn,Le.y),ce.lineTo(Bn,Be.y)}else"after"===Kt!=!!Bt?ce.lineTo(Le.x,Be.y):ce.lineTo(Be.x,Le.y);ce.lineTo(Be.x,Be.y)}function hs(ce,Le,Be,Bt){if(!Le)return ce.lineTo(Be.x,Be.y);ce.bezierCurveTo(Bt?Le.cp1x:Le.cp2x,Bt?Le.cp1y:Le.cp2y,Bt?Be.cp2x:Be.cp1x,Bt?Be.cp2y:Be.cp1y,Be.x,Be.y)}function ta(ce,Le,Be,Bt,Kt){if(Kt.strikethrough||Kt.underline){const Bn=ce.measureText(Bt),sr=Le-Bn.actualBoundingBoxLeft,xr=Le+Bn.actualBoundingBoxRight,Xi=Be+Bn.actualBoundingBoxDescent,So=Kt.strikethrough?(Be-Bn.actualBoundingBoxAscent+Xi)/2:Xi;ce.strokeStyle=ce.fillStyle,ce.beginPath(),ce.lineWidth=Kt.decorationWidth||2,ce.moveTo(sr,So),ce.lineTo(xr,So),ce.stroke()}}function Ul(ce,Le){const Be=ce.fillStyle;ce.fillStyle=Le.color,ce.fillRect(Le.left,Le.top,Le.width,Le.height),ce.fillStyle=Be}function Fl(ce,Le,Be,Bt,Kt,Bn={}){const sr=ft(Le)?Le:[Le],xr=Bn.strokeWidth>0&&""!==Bn.strokeColor;let fi,Xi;for(ce.save(),ce.font=Kt.string,function ia(ce,Le){Le.translation&&ce.translate(Le.translation[0],Le.translation[1]),Tr(Le.rotation)||ce.rotate(Le.rotation),Le.color&&(ce.fillStyle=Le.color),Le.textAlign&&(ce.textAlign=Le.textAlign),Le.textBaseline&&(ce.textBaseline=Le.textBaseline)}(ce,Bn),fi=0;fi<sr.length;++fi)Xi=sr[fi],Bn.backdrop&&Ul(ce,Bn.backdrop),xr&&(Bn.strokeColor&&(ce.strokeStyle=Bn.strokeColor),Tr(Bn.strokeWidth)||(ce.lineWidth=Bn.strokeWidth),ce.strokeText(Xi,Be,Bt,Bn.maxWidth)),ce.fillText(Xi,Be,Bt,Bn.maxWidth),ta(ce,Be,Bt,Xi,Bn),Bt+=Number(Kt.lineHeight);ce.restore()}function zc(ce,Le){const{x:Be,y:Bt,w:Kt,h:Bn,radius:sr}=Le;ce.arc(Be+sr.topLeft,Bt+sr.topLeft,sr.topLeft,1.5*tn,tn,!0),ce.lineTo(Be,Bt+Bn-sr.bottomLeft),ce.arc(Be+sr.bottomLeft,Bt+Bn-sr.bottomLeft,sr.bottomLeft,tn,vr,!0),ce.lineTo(Be+Kt-sr.bottomRight,Bt+Bn),ce.arc(Be+Kt-sr.bottomRight,Bt+Bn-sr.bottomRight,sr.bottomRight,vr,0,!0),ce.lineTo(Be+Kt,Bt+sr.topRight),ce.arc(Be+Kt-sr.topRight,Bt+sr.topRight,sr.topRight,0,-vr,!0),ce.lineTo(Be+sr.topLeft,Bt)}const Uu=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,ru=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function bl(ce,Le){const Be=(""+ce).match(Uu);if(!Be||"normal"===Be[1])return 1.2*Le;switch(ce=+Be[2],Be[3]){case"px":return ce;case"%":ce/=100}return Le*ce}const Ou=ce=>+ce||0;function Za(ce,Le){const Be={},Bt=sn(Le),Kt=Bt?Object.keys(Le):Le,Bn=sn(ce)?Bt?sr=>rr(ce[sr],ce[Le[sr]]):sr=>ce[sr]:()=>ce;for(const sr of Kt)Be[sr]=Ou(Bn(sr));return Be}function ec(ce){return Za(ce,{top:"y",right:"x",bottom:"y",left:"x"})}function wa(ce){return Za(ce,["topLeft","topRight","bottomLeft","bottomRight"])}function Ec(ce){const Le=ec(ce);return Le.width=Le.left+Le.right,Le.height=Le.top+Le.bottom,Le}function Sc(ce,Le){let Be=rr((ce=ce||{}).size,(Le=Le||Br.font).size);"string"==typeof Be&&(Be=parseInt(Be,10));let Bt=rr(ce.style,Le.style);Bt&&!(""+Bt).match(ru)&&(console.warn('Invalid font style specified: "'+Bt+'"'),Bt=void 0);const Kt={family:rr(ce.family,Le.family),lineHeight:bl(rr(ce.lineHeight,Le.lineHeight),Be),size:Be,style:Bt,weight:rr(ce.weight,Le.weight),string:""};return Kt.string=function qi(ce){return!ce||Tr(ce.size)||Tr(ce.family)?null:(ce.style?ce.style+" ":"")+(ce.weight?ce.weight+" ":"")+ce.size+"px "+ce.family}(Kt),Kt}function dl(ce,Le,Be,Bt){let Bn,sr,xr,Kt=!0;for(Bn=0,sr=ce.length;Bn<sr;++Bn)if(xr=ce[Bn],void 0!==xr&&(void 0!==Le&&"function"==typeof xr&&(xr=xr(Le),Kt=!1),void 0!==Be&&ft(xr)&&(xr=xr[Be%xr.length],Kt=!1),void 0!==xr))return Bt&&!Kt&&(Bt.cacheable=!1),xr}function Kc(ce,Le,Be){const{min:Bt,max:Kt}=ce,Bn=Fi(Le,(Kt-Bt)/2),sr=(xr,fi)=>Be&&0===xr?0:xr+fi;return{min:sr(Bt,-Math.abs(Bn)),max:sr(Kt,Bn)}}function Vc(ce,Le){return Object.assign(Object.create(ce),Le)}function cu(ce,Le=[""],Be,Bt,Kt=(()=>ce[0])){const Bn=Be||ce;typeof Bt>"u"&&(Bt=Ic("_fallback",ce));const sr={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:ce,_rootScopes:Bn,_fallback:Bt,_getTarget:Kt,override:xr=>cu([xr,...ce],Le,Bn,Bt)};return new Proxy(sr,{deleteProperty:(xr,fi)=>(delete xr[fi],delete xr._keys,delete ce[0][fi],!0),get:(xr,fi)=>gl(xr,fi,()=>function Ba(ce,Le,Be,Bt){let Kt;for(const Bn of Le)if(Kt=Ic(cc(Bn,ce),Be),typeof Kt<"u")return ka(ce,Kt)?Ua(Be,Bt,ce,Kt):Kt}(fi,Le,ce,xr)),getOwnPropertyDescriptor:(xr,fi)=>Reflect.getOwnPropertyDescriptor(xr._scopes[0],fi),getPrototypeOf:()=>Reflect.getPrototypeOf(ce[0]),has:(xr,fi)=>Fc(xr).includes(fi),ownKeys:xr=>Fc(xr),set(xr,fi,Xi){const So=xr._storage||(xr._storage=Kt());return xr[fi]=So[fi]=Xi,delete xr._keys,!0}})}function xs(ce,Le,Be,Bt){const Kt={_cacheable:!1,_proxy:ce,_context:Le,_subProxy:Be,_stack:new Set,_descriptors:Tc(ce,Bt),setContext:Bn=>xs(ce,Bn,Be,Bt),override:Bn=>xs(ce.override(Bn),Le,Be,Bt)};return new Proxy(Kt,{deleteProperty:(Bn,sr)=>(delete Bn[sr],delete ce[sr],!0),get:(Bn,sr,xr)=>gl(Bn,sr,()=>function Cc(ce,Le,Be){const{_proxy:Bt,_context:Kt,_subProxy:Bn,_descriptors:sr}=ce;let xr=Bt[Le];return Ie(xr)&&sr.isScriptable(Le)&&(xr=function bc(ce,Le,Be,Bt){const{_proxy:Kt,_context:Bn,_subProxy:sr,_stack:xr}=Be;if(xr.has(ce))throw new Error("Recursion detected: "+Array.from(xr).join("->")+"->"+ce);xr.add(ce);let fi=Le(Bn,sr||Bt);return xr.delete(ce),ka(ce,fi)&&(fi=Ua(Kt._scopes,Kt,ce,fi)),fi}(Le,xr,ce,Be)),ft(xr)&&xr.length&&(xr=function Mc(ce,Le,Be,Bt){const{_proxy:Kt,_context:Bn,_subProxy:sr,_descriptors:xr}=Be;if(typeof Bn.index<"u"&&Bt(ce))return Le[Bn.index%Le.length];if(sn(Le[0])){const fi=Le,Xi=Kt._scopes.filter(So=>So!==fi);Le=[];for(const So of fi){const Ms=Ua(Xi,Kt,ce,So);Le.push(xs(Ms,Bn,sr&&sr[ce],xr))}}return Le}(Le,xr,ce,sr.isIndexable)),ka(Le,xr)&&(xr=xs(xr,Kt,Bn&&Bn[Le],sr)),xr}(Bn,sr,xr)),getOwnPropertyDescriptor:(Bn,sr)=>Bn._descriptors.allKeys?Reflect.has(ce,sr)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(ce,sr),getPrototypeOf:()=>Reflect.getPrototypeOf(ce),has:(Bn,sr)=>Reflect.has(ce,sr),ownKeys:()=>Reflect.ownKeys(ce),set:(Bn,sr,xr)=>(ce[sr]=xr,delete Bn[sr],!0)})}function Tc(ce,Le={scriptable:!0,indexable:!0}){const{_scriptable:Be=Le.scriptable,_indexable:Bt=Le.indexable,_allKeys:Kt=Le.allKeys}=ce;return{allKeys:Kt,scriptable:Be,indexable:Bt,isScriptable:Ie(Be)?Be:()=>Be,isIndexable:Ie(Bt)?Bt:()=>Bt}}const cc=(ce,Le)=>ce?ce+Ut(Le):Le,ka=(ce,Le)=>sn(Le)&&"adapters"!==ce&&(null===Object.getPrototypeOf(Le)||Le.constructor===Object);function gl(ce,Le,Be){if(Object.prototype.hasOwnProperty.call(ce,Le))return ce[Le];const Bt=Be();return ce[Le]=Bt,Bt}function za(ce,Le,Be){return Ie(ce)?ce(Le,Be):ce}const vl=(ce,Le)=>!0===ce?Le:"string"==typeof ce?Nn(Le,ce):void 0;function Ka(ce,Le,Be,Bt,Kt){for(const Bn of Le){const sr=vl(Be,Bn);if(sr){ce.add(sr);const xr=za(sr._fallback,Be,Kt);if(typeof xr<"u"&&xr!==Be&&xr!==Bt)return xr}else if(!1===sr&&typeof Bt<"u"&&Be!==Bt)return null}return!1}function Ua(ce,Le,Be,Bt){const Kt=Le._rootScopes,Bn=za(Le._fallback,Be,Bt),sr=[...ce,...Kt],xr=new Set;xr.add(Bt);let fi=Xc(xr,sr,Be,Bn||Be,Bt);return!(null===fi||typeof Bn<"u"&&Bn!==Be&&(fi=Xc(xr,sr,Bn,fi,Bt),null===fi))&&cu(Array.from(xr),[""],Kt,Bn,()=>function sc(ce,Le,Be){const Bt=ce._getTarget();Le in Bt||(Bt[Le]={});const Kt=Bt[Le];return ft(Kt)&&sn(Be)?Be:Kt||{}}(Le,Be,Bt))}function Xc(ce,Le,Be,Bt,Kt){for(;Be;)Be=Ka(ce,Le,Be,Bt,Kt);return Be}function Ic(ce,Le){for(const Be of Le){if(!Be)continue;const Bt=Be[ce];if(typeof Bt<"u")return Bt}}function Fc(ce){let Le=ce._keys;return Le||(Le=ce._keys=function ba(ce){const Le=new Set;for(const Be of ce)for(const Bt of Object.keys(Be).filter(Kt=>!Kt.startsWith("_")))Le.add(Bt);return Array.from(Le)}(ce._scopes)),Le}function Xa(ce,Le,Be,Bt){const{iScale:Kt}=ce,{key:Bn="r"}=this._parsing,sr=new Array(Bt);let xr,fi,Xi,So;for(xr=0,fi=Bt;xr<fi;++xr)Xi=xr+Be,So=Le[Xi],sr[xr]={r:Kt.parse(Nn(So,Bn),Xi)};return sr}const Oc=Number.EPSILON||1e-14,Ac=(ce,Le)=>Le<ce.length&&!ce[Le].skip&&ce[Le],jl=ce=>"x"===ce?"y":"x";function yl(ce,Le,Be,Bt){const Kt=ce.skip?Le:ce,Bn=Le,sr=Be.skip?Le:Be,xr=gi(Bn,Kt),fi=gi(sr,Bn);let Xi=xr/(xr+fi),So=fi/(xr+fi);Xi=isNaN(Xi)?0:Xi,So=isNaN(So)?0:So;const Ms=Bt*Xi,Hs=Bt*So;return{previous:{x:Bn.x-Ms*(sr.x-Kt.x),y:Bn.y-Ms*(sr.y-Kt.y)},next:{x:Bn.x+Hs*(sr.x-Kt.x),y:Bn.y+Hs*(sr.y-Kt.y)}}}function St(ce,Le,Be){return Math.max(Math.min(ce,Be),Le)}function Je(ce,Le,Be,Bt,Kt){let Bn,sr,xr,fi;if(Le.spanGaps&&(ce=ce.filter(Xi=>!Xi.skip)),"monotone"===Le.cubicInterpolationMode)!function Au(ce,Le="x"){const Be=jl(Le),Bt=ce.length,Kt=Array(Bt).fill(0),Bn=Array(Bt);let sr,xr,fi,Xi=Ac(ce,0);for(sr=0;sr<Bt;++sr)if(xr=fi,fi=Xi,Xi=Ac(ce,sr+1),fi){if(Xi){const So=Xi[Le]-fi[Le];Kt[sr]=0!==So?(Xi[Be]-fi[Be])/So:0}Bn[sr]=xr?Xi?nr(Kt[sr-1])!==nr(Kt[sr])?0:(Kt[sr-1]+Kt[sr])/2:Kt[sr-1]:Kt[sr]}(function Dc(ce,Le,Be){const Bt=ce.length;let Kt,Bn,sr,xr,fi,Xi=Ac(ce,0);for(let So=0;So<Bt-1;++So)if(fi=Xi,Xi=Ac(ce,So+1),fi&&Xi){if(Qn(Le[So],0,Oc)){Be[So]=Be[So+1]=0;continue}Kt=Be[So]/Le[So],Bn=Be[So+1]/Le[So],xr=Math.pow(Kt,2)+Math.pow(Bn,2),!(xr<=9)&&(sr=3/Math.sqrt(xr),Be[So]=Kt*sr*Le[So],Be[So+1]=Bn*sr*Le[So])}})(ce,Kt,Bn),function Zs(ce,Le,Be="x"){const Bt=jl(Be),Kt=ce.length;let Bn,sr,xr,fi=Ac(ce,0);for(let Xi=0;Xi<Kt;++Xi){if(sr=xr,xr=fi,fi=Ac(ce,Xi+1),!xr)continue;const So=xr[Be],Ms=xr[Bt];sr&&(Bn=(So-sr[Be])/3,xr[`cp1${Be}`]=So-Bn,xr[`cp1${Bt}`]=Ms-Bn*Le[Xi]),fi&&(Bn=(fi[Be]-So)/3,xr[`cp2${Be}`]=So+Bn,xr[`cp2${Bt}`]=Ms+Bn*Le[Xi])}}(ce,Bn,Le)}(ce,Kt);else{let Xi=Bt?ce[ce.length-1]:ce[0];for(Bn=0,sr=ce.length;Bn<sr;++Bn)xr=ce[Bn],fi=yl(Xi,xr,ce[Math.min(Bn+1,sr-(Bt?0:1))%sr],Le.tension),xr.cp1x=fi.previous.x,xr.cp1y=fi.previous.y,xr.cp2x=fi.next.x,xr.cp2y=fi.next.y,Xi=xr}Le.capBezierPoints&&function ut(ce,Le){let Be,Bt,Kt,Bn,sr,xr=Ei(ce[0],Le);for(Be=0,Bt=ce.length;Be<Bt;++Be)sr=Bn,Bn=xr,xr=Be<Bt-1&&Ei(ce[Be+1],Le),Bn&&(Kt=ce[Be],sr&&(Kt.cp1x=St(Kt.cp1x,Le.left,Le.right),Kt.cp1y=St(Kt.cp1y,Le.top,Le.bottom)),xr&&(Kt.cp2x=St(Kt.cp2x,Le.left,Le.right),Kt.cp2y=St(Kt.cp2y,Le.top,Le.bottom)))}(ce,Be)}function hn(){return typeof window<"u"&&typeof document<"u"}function vi(ce){let Le=ce.parentNode;return Le&&"[object ShadowRoot]"===Le.toString()&&(Le=Le.host),Le}function wo(ce,Le,Be){let Bt;return"string"==typeof ce?(Bt=parseInt(ce,10),-1!==ce.indexOf("%")&&(Bt=Bt/100*Le.parentNode[Be])):Bt=ce,Bt}const Ya=ce=>ce.ownerDocument.defaultView.getComputedStyle(ce,null),ca=["top","right","bottom","left"];function Xs(ce,Le,Be){const Bt={};Be=Be?"-"+Be:"";for(let Kt=0;Kt<4;Kt++){const Bn=ca[Kt];Bt[Bn]=parseFloat(ce[Le+"-"+Bn+Be])||0}return Bt.width=Bt.left+Bt.right,Bt.height=Bt.top+Bt.bottom,Bt}const Rc=(ce,Le,Be)=>(ce>0||Le>0)&&(!Be||!Be.shadowRoot);function qc(ce,Le){if("native"in ce)return ce;const{canvas:Be,currentDevicePixelRatio:Bt}=Le,Kt=Ya(Be),Bn="border-box"===Kt.boxSizing,sr=Xs(Kt,"padding"),xr=Xs(Kt,"border","width"),{x:fi,y:Xi,box:So}=function Zl(ce,Le){const Be=ce.touches,Bt=Be&&Be.length?Be[0]:ce,{offsetX:Kt,offsetY:Bn}=Bt;let xr,fi,sr=!1;if(Rc(Kt,Bn,ce.target))xr=Kt,fi=Bn;else{const Xi=Le.getBoundingClientRect();xr=Bt.clientX-Xi.left,fi=Bt.clientY-Xi.top,sr=!0}return{x:xr,y:fi,box:sr}}(ce,Be),Ms=sr.left+(So&&xr.left),Hs=sr.top+(So&&xr.top);let{width:us,height:Ma}=Le;return Bn&&(us-=sr.width+xr.width,Ma-=sr.height+xr.height),{x:Math.round((fi-Ms)/us*Be.width/Bt),y:Math.round((Xi-Hs)/Ma*Be.height/Bt)}}const zl=ce=>Math.round(10*ce)/10;function Ju(ce,Le,Be,Bt){const Kt=Ya(ce),Bn=Xs(Kt,"margin"),sr=wo(Kt.maxWidth,ce,"clientWidth")||qt,xr=wo(Kt.maxHeight,ce,"clientHeight")||qt,fi=function gc(ce,Le,Be){let Bt,Kt;if(void 0===Le||void 0===Be){const Bn=vi(ce);if(Bn){const sr=Bn.getBoundingClientRect(),xr=Ya(Bn),fi=Xs(xr,"border","width"),Xi=Xs(xr,"padding");Le=sr.width-Xi.width-fi.width,Be=sr.height-Xi.height-fi.height,Bt=wo(xr.maxWidth,Bn,"clientWidth"),Kt=wo(xr.maxHeight,Bn,"clientHeight")}else Le=ce.clientWidth,Be=ce.clientHeight}return{width:Le,height:Be,maxWidth:Bt||qt,maxHeight:Kt||qt}}(ce,Le,Be);let{width:Xi,height:So}=fi;if("content-box"===Kt.boxSizing){const Hs=Xs(Kt,"border","width"),us=Xs(Kt,"padding");Xi-=us.width+Hs.width,So-=us.height+Hs.height}return Xi=Math.max(0,Xi-Bn.width),So=Math.max(0,Bt?Xi/Bt:So-Bn.height),Xi=zl(Math.min(Xi,sr,fi.maxWidth)),So=zl(Math.min(So,xr,fi.maxHeight)),Xi&&!So&&(So=zl(Xi/2)),(void 0!==Le||void 0!==Be)&&Bt&&fi.height&&So>fi.height&&(So=fi.height,Xi=zl(Math.floor(So*Bt))),{width:Xi,height:So}}function eu(ce,Le,Be){const Bt=Le||1,Kt=Math.floor(ce.height*Bt),Bn=Math.floor(ce.width*Bt);ce.height=Math.floor(ce.height),ce.width=Math.floor(ce.width);const sr=ce.canvas;return sr.style&&(Be||!sr.style.height&&!sr.style.width)&&(sr.style.height=`${ce.height}px`,sr.style.width=`${ce.width}px`),(ce.currentDevicePixelRatio!==Bt||sr.height!==Kt||sr.width!==Bn)&&(ce.currentDevicePixelRatio=Bt,sr.height=Kt,sr.width=Bn,ce.ctx.setTransform(Bt,0,0,Bt,0,0),!0)}const Cu=function(){let ce=!1;try{const Le={get passive(){return ce=!0,!1}};window.addEventListener("test",null,Le),window.removeEventListener("test",null,Le)}catch{}return ce}();function uc(ce,Le){const Be=function Si(ce,Le){return Ya(ce).getPropertyValue(Le)}(ce,Le),Bt=Be&&Be.match(/^(\d+)(\.\d+)?px$/);return Bt?+Bt[1]:void 0}function tu(ce,Le,Be,Bt){return{x:ce.x+Be*(Le.x-ce.x),y:ce.y+Be*(Le.y-ce.y)}}function Ll(ce,Le,Be,Bt){return{x:ce.x+Be*(Le.x-ce.x),y:"middle"===Bt?Be<.5?ce.y:Le.y:"after"===Bt?Be<1?ce.y:Le.y:Be>0?Le.y:ce.y}}function rl(ce,Le,Be,Bt){const Kt={x:ce.cp2x,y:ce.cp2y},Bn={x:Le.cp1x,y:Le.cp1y},sr=tu(ce,Kt,Be),xr=tu(Kt,Bn,Be),fi=tu(Bn,Le,Be),Xi=tu(sr,xr,Be),So=tu(xr,fi,Be);return tu(Xi,So,Be)}const qa=function(ce,Le){return{x:Be=>ce+ce+Le-Be,setWidth(Be){Le=Be},textAlign:Be=>"center"===Be?Be:"right"===Be?"left":"right",xPlus:(Be,Bt)=>Be-Bt,leftForLtr:(Be,Bt)=>Be-Bt}},X=function(){return{x:ce=>ce,setWidth(ce){},textAlign:ce=>ce,xPlus:(ce,Le)=>ce+Le,leftForLtr:(ce,Le)=>ce}};function Ce(ce,Le,Be){return ce?qa(Le,Be):X()}function gt(ce,Le){let Be,Bt;("ltr"===Le||"rtl"===Le)&&(Be=ce.canvas.style,Bt=[Be.getPropertyValue("direction"),Be.getPropertyPriority("direction")],Be.setProperty("direction",Le,"important"),ce.prevTextDirection=Bt)}function Ke(ce,Le){void 0!==Le&&(delete ce.prevTextDirection,ce.canvas.style.setProperty("direction",Le[0],Le[1]))}function Gt(ce){return"angle"===ce?{between:hr,compare:Jo,normalize:os}:{between:Vr,compare:(Le,Be)=>Le-Be,normalize:Le=>Le}}function xn({start:ce,end:Le,count:Be,loop:Bt,style:Kt}){return{start:ce%Be,end:Le%Be,loop:Bt&&(Le-ce+1)%Be==0,style:Kt}}function Fr(ce,Le,Be){if(!Be)return[ce];const{property:Bt,start:Kt,end:Bn}=Be,sr=Le.length,{compare:xr,between:fi,normalize:Xi}=Gt(Bt),{start:So,end:Ms,loop:Hs,style:us}=function lr(ce,Le,Be){const{property:Bt,start:Kt,end:Bn}=Be,{between:sr,normalize:xr}=Gt(Bt),fi=Le.length;let Hs,us,{start:Xi,end:So,loop:Ms}=ce;if(Ms){for(Xi+=fi,So+=fi,Hs=0,us=fi;Hs<us&&sr(xr(Le[Xi%fi][Bt]),Kt,Bn);++Hs)Xi--,So--;Xi%=fi,So%=fi}return So<Xi&&(So+=fi),{start:Xi,end:So,loop:Ms,style:ce.style}}(ce,Le,Be),Ma=[];let Dt,Xe,rn,ss=!1,se=null;for(let as=So,oa=So;as<=Ms;++as)Xe=Le[as%sr],!Xe.skip&&(Dt=Xi(Xe[Bt]),Dt!==rn&&(ss=fi(Dt,Kt,Bn),null===se&&(ss||fi(Kt,rn,Dt)&&0!==xr(Kt,rn))&&(se=0===xr(Dt,Kt)?as:oa),null!==se&&(!ss||0===xr(Bn,Dt)||fi(Bn,rn,Dt))&&(Ma.push(xn({start:se,end:as,loop:Hs,count:sr,style:us})),se=null),oa=as,rn=Dt));return null!==se&&Ma.push(xn({start:se,end:Ms,loop:Hs,count:sr,style:us})),Ma}function Oi(ce,Le){const Be=[],Bt=ce.segments;for(let Kt=0;Kt<Bt.length;Kt++){const Bn=Fr(Bt[Kt],ce.points,Le);Bn.length&&Be.push(...Bn)}return Be}function ei(ce,Le){const Be=ce.points,Bt=ce.options.spanGaps,Kt=Be.length;if(!Kt)return[];const Bn=!!ce._loop,{start:sr,end:xr}=function ai(ce,Le,Be,Bt){let Kt=0,Bn=Le-1;if(Be&&!Bt)for(;Kt<Le&&!ce[Kt].skip;)Kt++;for(;Kt<Le&&ce[Kt].skip;)Kt++;for(Kt%=Le,Be&&(Bn+=Kt);Bn>Kt&&ce[Bn%Le].skip;)Bn--;return Bn%=Le,{start:Kt,end:Bn}}(Be,Kt,Bn,Bt);return Yo(ce,!0===Bt?[{start:sr,end:xr,loop:Bn}]:function Dr(ce,Le,Be,Bt){const Kt=ce.length,Bn=[];let fi,sr=Le,xr=ce[Le];for(fi=Le+1;fi<=Be;++fi){const Xi=ce[fi%Kt];Xi.skip||Xi.stop?xr.skip||(Bn.push({start:Le%Kt,end:(fi-1)%Kt,loop:Bt=!1}),Le=sr=Xi.stop?fi:null):(sr=fi,xr.skip&&(Le=fi)),xr=Xi}return null!==sr&&Bn.push({start:Le%Kt,end:sr%Kt,loop:Bt}),Bn}(Be,sr,xr<sr?xr+Kt:xr,!!ce._fullLoop&&0===sr&&xr===Kt-1),Be,Le)}function Yo(ce,Le,Be,Bt){return Bt&&Bt.setContext&&Be?function Kn(ce,Le,Be,Bt){const Kt=ce._chart.getContext(),Bn=zr(ce.options),{_datasetIndex:sr,options:{spanGaps:xr}}=ce,fi=Be.length,Xi=[];let So=Bn,Ms=Le[0].start,Hs=Ms;function us(Ma,ss,se,Dt){const Xe=xr?-1:1;if(Ma!==ss){for(Ma+=fi;Be[Ma%fi].skip;)Ma-=Xe;for(;Be[ss%fi].skip;)ss+=Xe;Ma%fi!=ss%fi&&(Xi.push({start:Ma%fi,end:ss%fi,loop:se,style:Dt}),So=Dt,Ms=ss%fi)}}for(const Ma of Le){Ms=xr?Ms:Ma.start;let se,ss=Be[Ms%fi];for(Hs=Ms+1;Hs<=Ma.end;Hs++){const Dt=Be[Hs%fi];se=zr(Bt.setContext(Vc(Kt,{type:"segment",p0:ss,p1:Dt,p0DataIndex:(Hs-1)%fi,p1DataIndex:Hs%fi,datasetIndex:sr}))),Gr(se,So)&&us(Ms,Hs-1,Ma.loop,So),ss=Dt,So=se}Ms<Hs-1&&us(Ms,Hs-1,Ma.loop,So)}return Xi}(ce,Le,Be,Bt):Le}function zr(ce){return{backgroundColor:ce.backgroundColor,borderCapStyle:ce.borderCapStyle,borderDash:ce.borderDash,borderDashOffset:ce.borderDashOffset,borderJoinStyle:ce.borderJoinStyle,borderWidth:ce.borderWidth,borderColor:ce.borderColor}}function Gr(ce,Le){if(!Le)return!1;const Be=[],Bt=function(Kt,Bn){return oc(Bn)?(Be.includes(Bn)||Be.push(Bn),Be.indexOf(Bn)):Bn};return JSON.stringify(ce,Bt)!==JSON.stringify(Le,Bt)}},78160:(y,b,o)=>{"use strict";o.d(b,{Z:()=>J});var u=o(66224);const e=function c(pe,j){for(var ue=pe.length;ue--;)if((0,u.Z)(pe[ue][0],j))return ue;return-1};var h=Array.prototype.splice;function L(pe){var j=-1,ue=null==pe?0:pe.length;for(this.clear();++j<ue;){var ie=pe[j];this.set(ie[0],ie[1])}}L.prototype.clear=function r(){this.__data__=[],this.size=0},L.prototype.delete=function E(pe){var j=this.__data__,ue=e(j,pe);return!(ue<0||(ue==j.length-1?j.pop():h.call(j,ue,1),--this.size,0))},L.prototype.get=function D(pe){var j=this.__data__,ue=e(j,pe);return ue<0?void 0:j[ue][1]},L.prototype.has=function $(pe){return e(this.__data__,pe)>-1},L.prototype.set=function U(pe,j){var ue=this.__data__,ie=e(ue,pe);return ie<0?(++this.size,ue.push([pe,j])):ue[ie][1]=j,this};const J=L},54673:(y,b,o)=>{"use strict";o.d(b,{Z:()=>c});var r=o(10259),a=o(40309);const c=(0,r.Z)(a.Z,"Map")},94013:(y,b,o)=>{"use strict";o.d(b,{Z:()=>Rt});const u=(0,o(10259).Z)(Object,"create");var D=Object.prototype.hasOwnProperty;var U=Object.prototype.hasOwnProperty;function ue(Xt){var un=-1,_n=null==Xt?0:Xt.length;for(this.clear();++un<_n;){var kn=Xt[un];this.set(kn[0],kn[1])}}ue.prototype.clear=function c(){this.__data__=u?u(null):{},this.size=0},ue.prototype.delete=function f(Xt){var un=this.has(Xt)&&delete this.__data__[Xt];return this.size-=un?1:0,un},ue.prototype.get=function A(Xt){var un=this.__data__;if(u){var _n=un[Xt];return"__lodash_hash_undefined__"===_n?void 0:_n}return D.call(un,Xt)?un[Xt]:void 0},ue.prototype.has=function q(Xt){var un=this.__data__;return u?void 0!==un[Xt]:U.call(un,Xt)},ue.prototype.set=function pe(Xt,un){var _n=this.__data__;return this.size+=this.has(Xt)?0:1,_n[Xt]=u&&void 0===un?"__lodash_hash_undefined__":un,this};const ie=ue;var me=o(78160),Oe=o(54673);const Et=function tt(Xt,un){var _n=Xt.__data__;return function yt(Xt){var un=typeof Xt;return"string"==un||"number"==un||"symbol"==un||"boolean"==un?"__proto__"!==Xt:null===Xt}(un)?_n["string"==typeof un?"string":"hash"]:_n.map};function Dn(Xt){var un=-1,_n=null==Xt?0:Xt.length;for(this.clear();++un<_n;){var kn=Xt[un];this.set(kn[0],kn[1])}}Dn.prototype.clear=function Ue(){this.size=0,this.__data__={hash:new ie,map:new(Oe.Z||me.Z),string:new ie}},Dn.prototype.delete=function ze(Xt){var un=Et(this,Xt).delete(Xt);return this.size-=un?1:0,un},Dn.prototype.get=function Ct(Xt){return Et(this,Xt).get(Xt)},Dn.prototype.has=function ht(Xt){return Et(this,Xt).has(Xt)},Dn.prototype.set=function nn(Xt,un){var _n=Et(this,Xt),kn=_n.size;return _n.set(Xt,un),this.size+=_n.size==kn?0:1,this};const Rt=Dn},15131:(y,b,o)=>{"use strict";o.d(b,{Z:()=>L});var r=o(78160);var D=o(54673),A=o(94013);function q(J){var pe=this.__data__=new r.Z(J);this.size=pe.size}q.prototype.clear=function a(){this.__data__=new r.Z,this.size=0},q.prototype.delete=function c(J){var pe=this.__data__,j=pe.delete(J);return this.size=pe.size,j},q.prototype.get=function f(J){return this.__data__.get(J)},q.prototype.has=function E(J){return this.__data__.has(J)},q.prototype.set=function Q(J,pe){var j=this.__data__;if(j instanceof r.Z){var ue=j.__data__;if(!D.Z||ue.length<199)return ue.push([J,pe]),this.size=++j.size,this;j=this.__data__=new A.Z(ue)}return j.set(J,pe),this.size=j.size,this};const L=q},35770:(y,b,o)=>{"use strict";o.d(b,{Z:()=>u});const u=o(40309).Z.Symbol},83345:(y,b,o)=>{"use strict";o.d(b,{Z:()=>u});const u=o(40309).Z.Uint8Array},7740:(y,b,o)=>{"use strict";o.d(b,{Z:()=>a});const a=function r(u,c,e){switch(e.length){case 0:return u.call(c);case 1:return u.call(c,e[0]);case 2:return u.call(c,e[0],e[1]);case 3:return u.call(c,e[0],e[1],e[2])}return u.apply(c,e)}},26438:(y,b,o)=>{"use strict";o.d(b,{Z:()=>A});var u=o(40591),c=o(34654),e=o(25014),f=o(28078),h=o(14803),T=Object.prototype.hasOwnProperty;const A=function D($,Q){var U=(0,c.Z)($),q=!U&&(0,u.Z)($),L=!U&&!q&&(0,e.Z)($),J=!U&&!q&&!L&&(0,h.Z)($),pe=U||q||L||J,j=pe?function r($,Q){for(var U=-1,q=Array($);++U<$;)q[U]=Q(U);return q}($.length,String):[],ue=j.length;for(var ie in $)(Q||T.call($,ie))&&(!pe||!("length"==ie||L&&("offset"==ie||"parent"==ie)||J&&("buffer"==ie||"byteLength"==ie||"byteOffset"==ie)||(0,f.Z)(ie,ue)))&&j.push(ie);return j}},15427:(y,b,o)=>{"use strict";o.d(b,{Z:()=>f});var r=o(2951),a=o(66224),c=Object.prototype.hasOwnProperty;const f=function e(h,E,T){var D=h[E];(!c.call(h,E)||!(0,a.Z)(D,T)||void 0===T&&!(E in h))&&(0,r.Z)(h,E,T)}},2951:(y,b,o)=>{"use strict";o.d(b,{Z:()=>u});var r=o(99567);const u=function a(c,e,f){"__proto__"==e&&r.Z?(0,r.Z)(c,e,{configurable:!0,enumerable:!0,value:f,writable:!0}):c[e]=f}},18572:(y,b,o)=>{"use strict";o.d(b,{Z:()=>c});const c=function r(e){return function(f,h,E){for(var T=-1,D=Object(f),A=E(f),$=A.length;$--;){var Q=A[e?$:++T];if(!1===h(D[Q],Q,D))break}return f}}()},98286:(y,b,o)=>{"use strict";o.d(b,{Z:()=>L});var r=o(35770),a=Object.prototype,u=a.hasOwnProperty,c=a.toString,e=r.Z?r.Z.toStringTag:void 0;var T=Object.prototype.toString;var U=r.Z?r.Z.toStringTag:void 0;const L=function q(J){return null==J?void 0===J?"[object Undefined]":"[object Null]":U&&U in Object(J)?function f(J){var pe=u.call(J,e),j=J[e];try{J[e]=void 0;var ue=!0}catch{}var ie=c.call(J);return ue&&(pe?J[e]=j:delete J[e]),ie}(J):function D(J){return T.call(J)}(J)}},849:(y,b,o)=>{"use strict";o.d(b,{Z:()=>bt});var r=o(15131),a=o(2951),u=o(66224);const e=function c(Ct,Qt,ht){(void 0!==ht&&!(0,u.Z)(Ct[Qt],ht)||void 0===ht&&!(Qt in Ct))&&(0,a.Z)(Ct,Qt,ht)};var f=o(18572),h=o(27672),E=o(1044),T=o(36889),D=o(42542),A=o(40591),$=o(34654),Q=o(18402),U=o(6539);var J=o(25014),pe=o(58209),j=o(4214),ue=o(20300),ie=o(14803);const Oe=function me(Ct,Qt){if(("constructor"!==Qt||"function"!=typeof Ct[Qt])&&"__proto__"!=Qt)return Ct[Qt]};var Ue=o(57640),Me=o(34673);const Et=function tt(Ct,Qt,ht,en,nn,bn,Dn){var Rt=Oe(Ct,ht),Xt=Oe(Qt,ht),un=Dn.get(Xt);if(un)e(Ct,ht,un);else{var _n=bn?bn(Rt,Xt,ht+"",Ct,Qt,Dn):void 0,kn=void 0===_n;if(kn){var ri=(0,$.Z)(Xt),Ir=!ri&&(0,J.Z)(Xt),wr=!ri&&!Ir&&(0,ie.Z)(Xt);_n=Xt,ri||Ir||wr?(0,$.Z)(Rt)?_n=Rt:function q(Ct){return(0,U.Z)(Ct)&&(0,Q.Z)(Ct)}(Rt)?_n=(0,T.Z)(Rt):Ir?(kn=!1,_n=(0,h.Z)(Xt,!0)):wr?(kn=!1,_n=(0,E.Z)(Xt,!0)):_n=[]:(0,ue.Z)(Xt)||(0,A.Z)(Xt)?(_n=Rt,(0,A.Z)(Rt)?_n=function yt(Ct){return(0,Ue.Z)(Ct,(0,Me.Z)(Ct))}(Rt):(!(0,j.Z)(Rt)||(0,pe.Z)(Rt))&&(_n=(0,D.Z)(Xt))):kn=!1}kn&&(Dn.set(Xt,_n),nn(_n,Xt,en,bn,Dn),Dn.delete(Xt)),e(Ct,ht,_n)}},bt=function ze(Ct,Qt,ht,en,nn){Ct!==Qt&&(0,f.Z)(Qt,function(bn,Dn){if(nn||(nn=new r.Z),(0,j.Z)(bn))Et(Ct,Qt,Dn,ht,ze,en,nn);else{var Rt=en?en(Oe(Ct,Dn),bn,Dn+"",Ct,Qt,nn):void 0;void 0===Rt&&(Rt=bn),e(Ct,Dn,Rt)}},Me.Z)}},42137:(y,b,o)=>{"use strict";o.d(b,{Z:()=>e});var r=o(40034),a=o(68643),u=o(82666);const e=function c(f,h){return(0,u.Z)((0,a.Z)(f,h,r.Z),f+"")}},21162:(y,b,o)=>{"use strict";o.d(b,{Z:()=>a});const a=function r(u){return function(c){return u(c)}}},80609:(y,b,o)=>{"use strict";o.d(b,{Z:()=>u});var r=o(83345);const u=function a(c){var e=new c.constructor(c.byteLength);return new r.Z(e).set(new r.Z(c)),e}},27672:(y,b,o)=>{"use strict";o.d(b,{Z:()=>E});var r=o(40309),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,u=a&&"object"==typeof module&&module&&!module.nodeType&&module,e=u&&u.exports===a?r.Z.Buffer:void 0,f=e?e.allocUnsafe:void 0;const E=function h(T,D){if(D)return T.slice();var A=T.length,$=f?f(A):new T.constructor(A);return T.copy($),$}},1044:(y,b,o)=>{"use strict";o.d(b,{Z:()=>u});var r=o(80609);const u=function a(c,e){var f=e?(0,r.Z)(c.buffer):c.buffer;return new c.constructor(f,c.byteOffset,c.length)}},36889:(y,b,o)=>{"use strict";o.d(b,{Z:()=>a});const a=function r(u,c){var e=-1,f=u.length;for(c||(c=Array(f));++e<f;)c[e]=u[e];return c}},57640:(y,b,o)=>{"use strict";o.d(b,{Z:()=>c});var r=o(15427),a=o(2951);const c=function u(e,f,h,E){var T=!h;h||(h={});for(var D=-1,A=f.length;++D<A;){var $=f[D],Q=E?E(h[$],e[$],$,h,e):void 0;void 0===Q&&(Q=e[$]),T?(0,a.Z)(h,$,Q):(0,r.Z)(h,$,Q)}return h}},98376:(y,b,o)=>{"use strict";o.d(b,{Z:()=>c});var r=o(42137),a=o(59094);const c=function u(e){return(0,r.Z)(function(f,h){var E=-1,T=h.length,D=T>1?h[T-1]:void 0,A=T>2?h[2]:void 0;for(D=e.length>3&&"function"==typeof D?(T--,D):void 0,A&&(0,a.Z)(h[0],h[1],A)&&(D=T<3?void 0:D,T=1),f=Object(f);++E<T;){var $=h[E];$&&e(f,$,E,D)}return f})}},99567:(y,b,o)=>{"use strict";o.d(b,{Z:()=>u});var r=o(10259);const u=function(){try{var c=(0,r.Z)(Object,"defineProperty");return c({},"",{}),c}catch{}}()},7746:(y,b,o)=>{"use strict";o.d(b,{Z:()=>a});const a="object"==typeof global&&global&&global.Object===Object&&global},10259:(y,b,o)=>{"use strict";o.d(b,{Z:()=>me});var Oe,r=o(58209),u=o(40309).Z["__core-js_shared__"],e=(Oe=/[^.]+$/.exec(u&&u.keys&&u.keys.IE_PROTO||""))?"Symbol(src)_1."+Oe:"";var E=o(4214),T=o(22035),A=/^\[object .+?Constructor\]$/,L=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const pe=function J(Oe){return!(!(0,E.Z)(Oe)||function f(Oe){return!!e&&e in Oe}(Oe))&&((0,r.Z)(Oe)?L:A).test((0,T.Z)(Oe))},me=function ie(Oe,Ue){var Me=function j(Oe,Ue){return Oe?.[Ue]}(Oe,Ue);return pe(Me)?Me:void 0}},11595:(y,b,o)=>{"use strict";o.d(b,{Z:()=>u});const u=(0,o(24184).Z)(Object.getPrototypeOf,Object)},42542:(y,b,o)=>{"use strict";o.d(b,{Z:()=>E});var r=o(4214),a=Object.create;const c=function(){function T(){}return function(D){if(!(0,r.Z)(D))return{};if(a)return a(D);T.prototype=D;var A=new T;return T.prototype=void 0,A}}();var e=o(11595),f=o(31550);const E=function h(T){return"function"!=typeof T.constructor||(0,f.Z)(T)?{}:c((0,e.Z)(T))}},28078:(y,b,o)=>{"use strict";o.d(b,{Z:()=>c});var a=/^(?:0|[1-9]\d*)$/;const c=function u(e,f){var h=typeof e;return!!(f=f??9007199254740991)&&("number"==h||"symbol"!=h&&a.test(e))&&e>-1&&e%1==0&&e<f}},59094:(y,b,o)=>{"use strict";o.d(b,{Z:()=>f});var r=o(66224),a=o(18402),u=o(28078),c=o(4214);const f=function e(h,E,T){if(!(0,c.Z)(T))return!1;var D=typeof E;return!!("number"==D?(0,a.Z)(T)&&(0,u.Z)(E,T.length):"string"==D&&E in T)&&(0,r.Z)(T[E],h)}},31550:(y,b,o)=>{"use strict";o.d(b,{Z:()=>u});var r=Object.prototype;const u=function a(c){var e=c&&c.constructor;return c===("function"==typeof e&&e.prototype||r)}},48514:(y,b,o)=>{"use strict";o.d(b,{Z:()=>h});var r=o(7746),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,u=a&&"object"==typeof module&&module&&!module.nodeType&&module,e=u&&u.exports===a&&r.Z.process;const h=function(){try{return u&&u.require&&u.require("util").types||e&&e.binding&&e.binding("util")}catch{}}()},24184:(y,b,o)=>{"use strict";o.d(b,{Z:()=>a});const a=function r(u,c){return function(e){return u(c(e))}}},68643:(y,b,o)=>{"use strict";o.d(b,{Z:()=>c});var r=o(7740),a=Math.max;const c=function u(e,f,h){return f=a(void 0===f?e.length-1:f,0),function(){for(var E=arguments,T=-1,D=a(E.length-f,0),A=Array(D);++T<D;)A[T]=E[f+T];T=-1;for(var $=Array(f+1);++T<f;)$[T]=E[T];return $[f]=h(A),(0,r.Z)(e,this,$)}}},40309:(y,b,o)=>{"use strict";o.d(b,{Z:()=>c});var r=o(7746),a="object"==typeof self&&self&&self.Object===Object&&self;const c=r.Z||a||Function("return this")()},82666:(y,b,o)=>{"use strict";o.d(b,{Z:()=>Q});const a=function r(U){return function(){return U}};var u=o(99567),c=o(40034),h=800,E=16,T=Date.now;const Q=function D(U){var q=0,L=0;return function(){var J=T(),pe=E-(J-L);if(L=J,pe>0){if(++q>=h)return arguments[0]}else q=0;return U.apply(void 0,arguments)}}(u.Z?function(U,q){return(0,u.Z)(U,"toString",{configurable:!0,enumerable:!1,value:a(q),writable:!0})}:c.Z)},22035:(y,b,o)=>{"use strict";o.d(b,{Z:()=>c});var a=Function.prototype.toString;const c=function u(e){if(null!=e){try{return a.call(e)}catch{}try{return e+""}catch{}}return""}},66224:(y,b,o)=>{"use strict";o.d(b,{Z:()=>a});const a=function r(u,c){return u===c||u!=u&&c!=c}},40034:(y,b,o)=>{"use strict";o.d(b,{Z:()=>a});const a=function r(u){return u}},40591:(y,b,o)=>{"use strict";o.d(b,{Z:()=>D});var r=o(98286),a=o(6539);const e=function c(A){return(0,a.Z)(A)&&"[object Arguments]"==(0,r.Z)(A)};var f=Object.prototype,h=f.hasOwnProperty,E=f.propertyIsEnumerable;const D=e(function(){return arguments}())?e:function(A){return(0,a.Z)(A)&&h.call(A,"callee")&&!E.call(A,"callee")}},34654:(y,b,o)=>{"use strict";o.d(b,{Z:()=>a});const a=Array.isArray},18402:(y,b,o)=>{"use strict";o.d(b,{Z:()=>c});var r=o(58209),a=o(19238);const c=function u(e){return null!=e&&(0,a.Z)(e.length)&&!(0,r.Z)(e)}},25014:(y,b,o)=>{"use strict";o.d(b,{Z:()=>D});var r=o(40309),c="object"==typeof exports&&exports&&!exports.nodeType&&exports,e=c&&"object"==typeof module&&module&&!module.nodeType&&module,h=e&&e.exports===c?r.Z.Buffer:void 0;const D=(h?h.isBuffer:void 0)||function a(){return!1}},58209:(y,b,o)=>{"use strict";o.d(b,{Z:()=>E});var r=o(98286),a=o(4214);const E=function h(T){if(!(0,a.Z)(T))return!1;var D=(0,r.Z)(T);return"[object Function]"==D||"[object GeneratorFunction]"==D||"[object AsyncFunction]"==D||"[object Proxy]"==D}},19238:(y,b,o)=>{"use strict";o.d(b,{Z:()=>u});const u=function a(c){return"number"==typeof c&&c>-1&&c%1==0&&c<=9007199254740991}},4214:(y,b,o)=>{"use strict";o.d(b,{Z:()=>a});const a=function r(u){var c=typeof u;return null!=u&&("object"==c||"function"==c)}},6539:(y,b,o)=>{"use strict";o.d(b,{Z:()=>a});const a=function r(u){return null!=u&&"object"==typeof u}},20300:(y,b,o)=>{"use strict";o.d(b,{Z:()=>A});var r=o(98286),a=o(11595),u=o(6539),h=Function.prototype.toString,E=Object.prototype.hasOwnProperty,T=h.call(Object);const A=function D($){if(!(0,u.Z)($)||"[object Object]"!=(0,r.Z)($))return!1;var Q=(0,a.Z)($);if(null===Q)return!0;var U=E.call(Q,"constructor")&&Q.constructor;return"function"==typeof U&&U instanceof U&&h.call(U)==T}},14803:(y,b,o)=>{"use strict";o.d(b,{Z:()=>en});var r=o(98286),a=o(19238),u=o(6539),tt={};tt["[object Float32Array]"]=tt["[object Float64Array]"]=tt["[object Int8Array]"]=tt["[object Int16Array]"]=tt["[object Int32Array]"]=tt["[object Uint8Array]"]=tt["[object Uint8ClampedArray]"]=tt["[object Uint16Array]"]=tt["[object Uint32Array]"]=!0,tt["[object Arguments]"]=tt["[object Array]"]=tt["[object ArrayBuffer]"]=tt["[object Boolean]"]=tt["[object DataView]"]=tt["[object Date]"]=tt["[object Error]"]=tt["[object Function]"]=tt["[object Map]"]=tt["[object Number]"]=tt["[object Object]"]=tt["[object RegExp]"]=tt["[object Set]"]=tt["[object String]"]=tt["[object WeakMap]"]=!1;var bt=o(21162),Ct=o(48514),Qt=Ct.Z&&Ct.Z.isTypedArray;const en=Qt?(0,bt.Z)(Qt):function Et(nn){return(0,u.Z)(nn)&&(0,a.Z)(nn.length)&&!!tt[(0,r.Z)(nn)]}},34673:(y,b,o)=>{"use strict";o.d(b,{Z:()=>$});var r=o(26438),a=o(4214),u=o(31550);var h=Object.prototype.hasOwnProperty;const T=function E(Q){if(!(0,a.Z)(Q))return function c(Q){var U=[];if(null!=Q)for(var q in Object(Q))U.push(q);return U}(Q);var U=(0,u.Z)(Q),q=[];for(var L in Q)"constructor"==L&&(U||!h.call(Q,L))||q.push(L);return q};var D=o(18402);const $=function A(Q){return(0,D.Z)(Q)?(0,r.Z)(Q,!0):T(Q)}},19035:(y,b,o)=>{"use strict";o.d(b,{jh:()=>A,vQ:()=>j});var r=o(64537),a=o(10172),u=o(75875),c=o(87519),e=o(849);const E=(0,o(98376).Z)(function(ue,ie,me){(0,e.Z)(ue,ie,me)});var T=o(26215);let D=(()=>{class ue{constructor(){this.colorschemesOptions=new T.X(void 0)}setColorschemesOptions(me){this.pColorschemesOptions=me,this.colorschemesOptions.next(me)}getColorschemesOptions(){return this.pColorschemesOptions}}return ue.\u0275fac=function(me){return new(me||ue)},ue.\u0275prov=r.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),A=(()=>{class ue{constructor(me,Oe,Ue){this.zone=Oe,this.themeService=Ue,this.type="bar",this.plugins=[],this.chartClick=new r.vpe,this.chartHover=new r.vpe,this.subs=[],this.themeOverrides={},this.ctx=me.nativeElement.getContext("2d"),this.subs.push(this.themeService.colorschemesOptions.pipe((0,c.x)()).subscribe(Me=>this.themeChanged(Me)))}ngOnChanges(me){const Oe=["type"],Ue=Object.getOwnPropertyNames(me);if(Ue.some(Me=>Oe.includes(Me))||Ue.every(Me=>me[Me].isFirstChange()))this.render();else{const Me=this.getChartConfiguration();this.chart&&(Object.assign(this.chart.config.data,Me.data),this.chart.config.plugins&&Object.assign(this.chart.config.plugins,Me.plugins),this.chart.config.options&&Object.assign(this.chart.config.options,Me.options)),this.update()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(me=>me.unsubscribe())}render(){return this.chart&&this.chart.destroy(),this.zone.runOutsideAngular(()=>this.chart=new a.kL(this.ctx,this.getChartConfiguration()))}update(me){this.chart&&this.zone.runOutsideAngular(()=>this.chart?.update(me))}hideDataset(me,Oe){this.chart&&(this.chart.getDatasetMeta(me).hidden=Oe,this.update())}isDatasetHidden(me){return this.chart?.getDatasetMeta(me)?.hidden}toBase64Image(){return this.chart?.toBase64Image()}themeChanged(me){this.themeOverrides=me,this.chart&&(this.chart.config.options&&Object.assign(this.chart.config.options,this.getChartOptions()),this.update())}getChartOptions(){return E({onHover:(me,Oe)=>{!this.chartHover.observed&&!this.chartHover.observers?.length||this.zone.run(()=>this.chartHover.emit({event:me,active:Oe}))},onClick:(me,Oe)=>{!this.chartClick.observed&&!this.chartClick.observers?.length||this.zone.run(()=>this.chartClick.emit({event:me,active:Oe}))}},this.themeOverrides,this.options,{plugins:{legend:{display:this.legend}}})}getChartConfiguration(){return{type:this.type,data:this.getChartData(),options:this.getChartOptions(),plugins:this.plugins}}getChartData(){return this.data?this.data:{labels:this.labels||[],datasets:this.datasets||[]}}}return ue.\u0275fac=function(me){return new(me||ue)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(D))},ue.\u0275dir=r.lG2({type:ue,selectors:[["canvas","baseChart",""]],inputs:{type:"type",legend:"legend",data:"data",options:"options",plugins:"plugins",labels:"labels",datasets:"datasets"},outputs:{chartClick:"chartClick",chartHover:"chartHover"},exportAs:["base-chart"],features:[r.TTD]}),ue})();const $=[[255,99,132],[54,162,235],[255,206,86],[231,233,237],[75,192,192],[151,187,205],[220,220,220],[247,70,74],[70,191,189],[253,180,92],[148,159,177],[77,83,96]],Q={plugins:{colors:{enabled:!1}},datasets:{line:{backgroundColor:ue=>U(J(ue.datasetIndex),.4),borderColor:ue=>U(J(ue.datasetIndex),1),pointBackgroundColor:ue=>U(J(ue.datasetIndex),1),pointBorderColor:"#fff"},bar:{backgroundColor:ue=>U(J(ue.datasetIndex),.6),borderColor:ue=>U(J(ue.datasetIndex),1)},get radar(){return this.line},doughnut:{backgroundColor:ue=>U(J(ue.dataIndex),.6),borderColor:"#fff"},get pie(){return this.doughnut},polarArea:{backgroundColor:ue=>U(J(ue.dataIndex),.6),borderColor:ue=>U(J(ue.dataIndex),1)},get bubble(){return this.doughnut},get scatter(){return this.doughnut},get area(){return this.polarArea}}};function U(ue,ie){return"rgba("+ue.concat(ie).join(",")+")"}function q(ue,ie){return Math.floor(Math.random()*(ie-ue+1))+ue}function J(ue=0){return $[ue]||function L(){return[q(0,255),q(0,255),q(0,255)]}()}let pe=(()=>{class ue{constructor(){this.generateColors=!0}}return ue.\u0275fac=function(me){return new(me||ue)},ue.\u0275prov=r.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})();a.kL.register(...a.zX);let j=(()=>{class ue{constructor(me){me?.plugins&&a.kL.register(...me?.plugins);const Oe=E(me?.generateColors?Q:{},me?.defaults||{});u.d.set(Oe)}static forRoot(me){return{ngModule:ue,providers:[{provide:pe,useValue:me}]}}}return ue.\u0275fac=function(me){return new(me||ue)(r.LFG(pe,8))},ue.\u0275mod=r.oAB({type:ue}),ue.\u0275inj=r.cJS({}),ue})()},23122:(y,b,o)=>{"use strict";o.d(b,{Rh:()=>ht,_W:()=>ze});var r=o(64537),a=o(14091),u=o(88692),c=o(79765),e=o(5998);const f=["toast-component",""];function h(Rt,Xt){if(1&Rt){const un=r.EpF();r.TgZ(0,"button",5),r.NdJ("click",function(){r.CHM(un);const kn=r.oxw();return r.KtG(kn.remove())}),r.TgZ(1,"span",6),r._uU(2,"\xd7"),r.qZA()()}}function E(Rt,Xt){if(1&Rt&&(r.ynx(0),r._uU(1),r.BQk()),2&Rt){const un=r.oxw(2);r.xp6(1),r.hij("[",un.duplicatesCount+1,"]")}}function T(Rt,Xt){if(1&Rt&&(r.TgZ(0,"div"),r._uU(1),r.YNc(2,E,2,1,"ng-container",4),r.qZA()),2&Rt){const un=r.oxw();r.Tol(un.options.titleClass),r.uIk("aria-label",un.title),r.xp6(1),r.hij(" ",un.title," "),r.xp6(1),r.Q6J("ngIf",un.duplicatesCount)}}function D(Rt,Xt){if(1&Rt&&r._UZ(0,"div",7),2&Rt){const un=r.oxw();r.Tol(un.options.messageClass),r.Q6J("innerHTML",un.message,r.oJD)}}function A(Rt,Xt){if(1&Rt&&(r.TgZ(0,"div",8),r._uU(1),r.qZA()),2&Rt){const un=r.oxw();r.Tol(un.options.messageClass),r.uIk("aria-label",un.message),r.xp6(1),r.hij(" ",un.message," ")}}function $(Rt,Xt){if(1&Rt&&(r.TgZ(0,"div"),r._UZ(1,"div",9),r.qZA()),2&Rt){const un=r.oxw();r.xp6(1),r.Udp("width",un.width+"%")}}class ue{_attachedHost;component;viewContainerRef;injector;constructor(Xt,un){this.component=Xt,this.injector=un}attach(Xt,un){return this._attachedHost=Xt,Xt.attach(this,un)}detach(){const Xt=this._attachedHost;if(Xt)return this._attachedHost=void 0,Xt.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Xt){this._attachedHost=Xt}}class ie{_attachedPortal;_disposeFn;attach(Xt,un){return this._attachedPortal=Xt,this.attachComponentPortal(Xt,un)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Xt){this._disposeFn=Xt}}class me{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new c.xQ;_activate=new c.xQ;_manualClose=new c.xQ;_resetTimeout=new c.xQ;_countDuplicate=new c.xQ;constructor(Xt){this._overlayRef=Xt}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(Xt,un){Xt&&this._resetTimeout.next(),un&&this._countDuplicate.next(++this.duplicatesCount)}}class Oe{toastId;config;message;title;toastType;toastRef;_onTap=new c.xQ;_onAction=new c.xQ;constructor(Xt,un,_n,kn,ri,Ir){this.toastId=Xt,this.config=un,this.message=_n,this.title=kn,this.toastType=ri,this.toastRef=Ir,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(Xt){this._onAction.next(Xt)}onAction(){return this._onAction.asObservable()}}const Me=new r.OlP("ToastConfig");class yt extends ie{_hostDomElement;_componentFactoryResolver;_appRef;constructor(Xt,un,_n){super(),this._hostDomElement=Xt,this._componentFactoryResolver=un,this._appRef=_n}attachComponentPortal(Xt,un){const _n=this._componentFactoryResolver.resolveComponentFactory(Xt.component);let kn;return kn=_n.create(Xt.injector),this._appRef.attachView(kn.hostView),this.setDisposeFn(()=>{this._appRef.detachView(kn.hostView),kn.destroy()}),un?this._hostDomElement.insertBefore(this._getComponentRootNode(kn),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(kn)),kn}_getComponentRootNode(Xt){return Xt.hostView.rootNodes[0]}}let et=(()=>{class Rt{_document=(0,r.f3M)(u.K0);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const un=this._document.createElement("div");un.classList.add("overlay-container"),un.setAttribute("aria-live","polite"),this._document.body.appendChild(un),this._containerElement=un}static \u0275fac=function(_n){return new(_n||Rt)};static \u0275prov=r.Yz7({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();class tt{_portalHost;constructor(Xt){this._portalHost=Xt}attach(Xt,un=!0){return this._portalHost.attach(Xt,un)}detach(){return this._portalHost.detach()}}let Et=(()=>{class Rt{_overlayContainer=(0,r.f3M)(et);_componentFactoryResolver=(0,r.f3M)(r._Vd);_appRef=(0,r.f3M)(r.z2F);_document=(0,r.f3M)(u.K0);_paneElements=new Map;create(un,_n){return this._createOverlayRef(this.getPaneElement(un,_n))}getPaneElement(un="",_n){return this._paneElements.get(_n)||this._paneElements.set(_n,{}),this._paneElements.get(_n)[un]||(this._paneElements.get(_n)[un]=this._createPaneElement(un,_n)),this._paneElements.get(_n)[un]}_createPaneElement(un,_n){const kn=this._document.createElement("div");return kn.id="toast-container",kn.classList.add(un),kn.classList.add("toast-container"),_n?_n.getContainerElement().appendChild(kn):this._overlayContainer.getContainerElement().appendChild(kn),kn}_createPortalHost(un){return new yt(un,this._componentFactoryResolver,this._appRef)}_createOverlayRef(un){return new tt(this._createPortalHost(un))}static \u0275fac=function(_n){return new(_n||Rt)};static \u0275prov=r.Yz7({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})(),ze=(()=>{class Rt{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(un,_n,kn,ri,Ir){this.overlay=_n,this._injector=kn,this.sanitizer=ri,this.ngZone=Ir,this.toastrConfig={...un.default,...un.config},un.config.iconClasses&&(this.toastrConfig.iconClasses={...un.default.iconClasses,...un.config.iconClasses})}show(un,_n,kn={},ri=""){return this._preBuildNotification(ri,un,_n,this.applyConfig(kn))}success(un,_n,kn={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",un,_n,this.applyConfig(kn))}error(un,_n,kn={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",un,_n,this.applyConfig(kn))}info(un,_n,kn={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",un,_n,this.applyConfig(kn))}warning(un,_n,kn={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",un,_n,this.applyConfig(kn))}clear(un){for(const _n of this.toasts)if(void 0!==un){if(_n.toastId===un)return void _n.toastRef.manualClose()}else _n.toastRef.manualClose()}remove(un){const _n=this._findToast(un);if(!_n||(_n.activeToast.toastRef.close(),this.toasts.splice(_n.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const kn=this.toasts[this.currentlyActive].toastRef;kn.isInactive()||(this.currentlyActive=this.currentlyActive+1,kn.activate())}return!0}findDuplicate(un="",_n="",kn,ri){const{includeTitleDuplicates:Ir}=this.toastrConfig;for(const wr of this.toasts)if((!Ir||Ir&&wr.title===un)&&wr.message===_n)return wr.toastRef.onDuplicate(kn,ri),wr;return null}applyConfig(un={}){return{...this.toastrConfig,...un}}_findToast(un){for(let _n=0;_n<this.toasts.length;_n++)if(this.toasts[_n].toastId===un)return{index:_n,activeToast:this.toasts[_n]};return null}_preBuildNotification(un,_n,kn,ri){return ri.onActivateTick?this.ngZone.run(()=>this._buildNotification(un,_n,kn,ri)):this._buildNotification(un,_n,kn,ri)}_buildNotification(un,_n,kn,ri){if(!ri.toastComponent)throw new Error("toastComponent required");const Ir=this.findDuplicate(kn,_n,this.toastrConfig.resetTimeoutOnDuplicate&&ri.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&kn||_n)&&this.toastrConfig.preventDuplicates&&null!==Ir)return Ir;this.previousToastMessage=_n;let wr=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(wr=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const _r=this.overlay.create(ri.positionClass,this.overlayContainer);this.index=this.index+1;let oi=_n;_n&&ri.enableHtml&&(oi=this.sanitizer.sanitize(r.q3G.HTML,_n));const Ri=new me(_r),Tr=new Oe(this.index,ri,oi,kn,un,Ri),sn=r.zs3.create({providers:[{provide:Oe,useValue:Tr}],parent:this._injector}),At=new ue(ri.toastComponent,sn),Ln=_r.attach(At,ri.newestOnTop);Ri.componentInstance=Ln.instance;const rr={toastId:this.index,title:kn||"",message:_n||"",toastRef:Ri,onShown:Ri.afterActivate(),onHidden:Ri.afterClosed(),onTap:Tr.onTap(),onAction:Tr.onAction(),portal:Ln};return wr||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{rr.toastRef.activate()})),this.toasts.push(rr),rr}static \u0275fac=function(_n){return new(_n||Rt)(r.LFG(Me),r.LFG(Et),r.LFG(r.zs3),r.LFG(e.H7),r.LFG(r.R0b))};static \u0275prov=r.Yz7({token:Rt,factory:Rt.\u0275fac,providedIn:"root"})}return Rt})();const Ct={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class Rt{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if("inactive"===this.state.value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(un,_n,kn){this.toastrService=un,this.toastPackage=_n,this.ngZone=kn,this.message=_n.message,this.title=_n.title,this.options=_n.config,this.originalTimeout=_n.config.timeOut,this.toastClasses=`${_n.toastType} ${_n.config.toastClass}`,this.sub=_n.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=_n.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=_n.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=_n.toastRef.countDuplicate().subscribe(ri=>{this.duplicatesCount=ri}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const un=(new Date).getTime();this.width=(this.hideTime-un)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(un,_n){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(un),_n)):this.timeout=setTimeout(()=>un(),_n)}outsideInterval(un,_n){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(un),_n)):this.intervalId=setInterval(()=>un(),_n)}runInsideAngular(un){this.ngZone?this.ngZone.run(()=>un()):un()}static \u0275fac=function(_n){return new(_n||Rt)(r.Y36(ze),r.Y36(Oe),r.Y36(r.R0b))};static \u0275cmp=r.Xpm({type:Rt,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(_n,kn){1&_n&&r.NdJ("click",function(){return kn.tapToast()})("mouseenter",function(){return kn.stickAround()})("mouseleave",function(){return kn.delayedHideToast()}),2&_n&&(r.d8E("@flyInOut",kn.state),r.Tol(kn.toastClasses),r.Udp("display",kn.displayStyle))},standalone:!0,features:[r.jDz],attrs:f,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(_n,kn){1&_n&&(r.YNc(0,h,3,0,"button",0),r.YNc(1,T,3,5,"div",1),r.YNc(2,D,1,3,"div",2),r.YNc(3,A,2,4,"div",3),r.YNc(4,$,2,2,"div",4)),2&_n&&(r.Q6J("ngIf",kn.options.closeButton),r.xp6(1),r.Q6J("ngIf",kn.title),r.xp6(1),r.Q6J("ngIf",kn.message&&kn.options.enableHtml),r.xp6(1),r.Q6J("ngIf",kn.message&&!kn.options.enableHtml),r.xp6(1),r.Q6J("ngIf",kn.options.progressBar))},dependencies:[u.O5],encapsulation:2,data:{animation:[(0,a.X$)("flyInOut",[(0,a.SB)("inactive",(0,a.oB)({opacity:0})),(0,a.SB)("active",(0,a.oB)({opacity:1})),(0,a.SB)("removed",(0,a.oB)({opacity:0})),(0,a.eR)("inactive => active",(0,a.jt)("{{ easeTime }}ms {{ easing }}")),(0,a.eR)("active => removed",(0,a.jt)("{{ easeTime }}ms {{ easing }}"))])]}})}return Rt})()},Qt=(Rt={})=>(0,r.MR2)([{provide:Me,useValue:{default:Ct,config:Rt}}]);let ht=(()=>{class Rt{static forRoot(un={}){return{ngModule:Rt,providers:[Qt(un)]}}static \u0275fac=function(_n){return new(_n||Rt)};static \u0275mod=r.oAB({type:Rt});static \u0275inj=r.cJS({})}return Rt})()},8239:(y,b,o)=>{"use strict";function r(u,c,e,f,h,E,T){try{var D=u[E](T),A=D.value}catch($){return void e($)}D.done?c(A):Promise.resolve(A).then(f,h)}function a(u){return function(){var c=this,e=arguments;return new Promise(function(f,h){var E=u.apply(c,e);function T(A){r(E,f,h,T,D,"next",A)}function D(A){r(E,f,h,T,D,"throw",A)}T(void 0)})}}o.d(b,{Z:()=>a})}},y=>{y(y.s=34963)}]); \ No newline at end of file
diff --git a/src/pybind/mgr/dashboard/frontend/dist/en-US/main.a87f559bb03ca0fb.js b/src/pybind/mgr/dashboard/frontend/dist/en-US/main.a87f559bb03ca0fb.js
deleted file mode 100644
index feac3d82e..000000000
--- a/src/pybind/mgr/dashboard/frontend/dist/en-US/main.a87f559bb03ca0fb.js
+++ /dev/null
@@ -1,3 +0,0 @@
-globalThis.$localize=Object.assign(globalThis.$localize || {},{locale:"en-US"});
-"use strict";(function(global){global.ng=global.ng||{};global.ng.common=global.ng.common||{};global.ng.common.locales=global.ng.common.locales||{};const u=undefined;function plural(val){const n=val,i=Math.floor(Math.abs(val)),v=val.toString().replace(/^[^.]*\.?/,"").length;if(i===1&&v===0)return 1;return 5}global.ng.common.locales["en"]=["en",[["a","p"],["AM","PM"],u],[["AM","PM"],u,u],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],u,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],u,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",u,"{1} 'at' {0}",u],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",plural,[[["mi","n","in the morning","in the afternoon","in the evening","at night"],["midnight","noon","in the morning","in the afternoon","in the evening","at night"],u],[["midnight","noon","morning","afternoon","evening","night"],u,u],["00:00","12:00",["06:00","12:00"],["12:00","18:00"],["18:00","21:00"],["21:00","06:00"]]]]})(typeof globalThis!=="undefined"&&globalThis||typeof global!=="undefined"&&global||typeof window!=="undefined"&&window);;
-(self.webpackChunkceph_dashboard=self.webpackChunkceph_dashboard||[]).push([[179],{43155:(E,C)=>{"use strict";C.N=void 0;var r=/^([^\w]*)(javascript|data|vbscript)/im,a=/&#(\w+)(^\w|;)?/g,c=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,u=/^([^:]+):/gm,e=[".","/"];C.N=function T(M){var w=function m(M){return M.replace(a,function(w,D){return String.fromCharCode(D)})}(M||"").replace(c,"").trim();if(!w)return"about:blank";if(function f(M){return e.indexOf(M[0])>-1}(w))return w;var D=w.match(u);return D&&r.test(D[0])?"about:blank":w}},62946:(E,C,s)=>{"use strict";s.d(C,{iM:()=>Tf,qr:()=>b1,xc:()=>Av});var r=s(64537),a=s(88692),c=function(L,q){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,Ae){j.__proto__=Ae}||function(j,Ae){for(var St in Ae)Ae.hasOwnProperty(St)&&(j[St]=Ae[St])})(L,q)};function u(L,q){function j(){this.constructor=L}c(L,q),L.prototype=null===q?Object.create(q):(j.prototype=q.prototype,new j)}var e=function(){return e=Object.assign||function(q){for(var j,Ae=1,St=arguments.length;Ae<St;Ae++)for(var Kt in j=arguments[Ae])Object.prototype.hasOwnProperty.call(j,Kt)&&(q[Kt]=j[Kt]);return q},e.apply(this,arguments)};function f(L,q){var j="function"==typeof Symbol&&L[Symbol.iterator];if(!j)return L;var St,ur,Ae=j.call(L),Kt=[];try{for(;(void 0===q||q-- >0)&&!(St=Ae.next()).done;)Kt.push(St.value)}catch(Br){ur={error:Br}}finally{try{St&&!St.done&&(j=Ae.return)&&j.call(Ae)}finally{if(ur)throw ur.error}}return Kt}function m(){for(var L=[],q=0;q<arguments.length;q++)L=L.concat(f(arguments[q]));return L}var T="An invariant failed, however the error is obfuscated because this is an production build.",M=[];Object.freeze(M);var w={};Object.freeze(w);var D={};function U(){return typeof window<"u"?window:typeof global<"u"?global:D}function W(){return++Bn.mobxGuid}function $(L){throw J(!1,L),"X"}function J(L,q){if(!L)throw new Error("[mobx] "+(q||T))}function de(L){var q=!1;return function(){if(!q)return q=!0,L.apply(this,arguments)}}var V=function(){};function se(L){return null!==L&&"object"==typeof L}function fe(L){if(null===L||"object"!=typeof L)return!1;var q=Object.getPrototypeOf(L);return q===Object.prototype||null===q}function ge(L,q,j){Object.defineProperty(L,q,{enumerable:!1,writable:!0,configurable:!0,value:j})}function Et(L,q,j){Object.defineProperty(L,q,{enumerable:!1,writable:!1,configurable:!0,value:j})}function qe(L,q){var j="isMobX"+L;return q.prototype[j]=!0,function(Ae){return se(Ae)&&!0===Ae[j]}}function Le(L){return void 0!==U().Map&&L instanceof U().Map}function Pt(L){return L instanceof Set}function it(L){for(var q=[];;){var j=L.next();if(j.done)break;q.push(j.value)}return q}function Xt(){return"function"==typeof Symbol&&Symbol.toPrimitive||"@@toPrimitive"}function cn(L){return null===L?null:"object"==typeof L?""+L:L}function pn(){return"function"==typeof Symbol&&Symbol.iterator||"@@iterator"}function Rn(L,q){Et(L,pn(),q)}function At(L){return L[pn()]=sn,L}function qt(){return"function"==typeof Symbol&&Symbol.toStringTag||"@@toStringTag"}function sn(){return this}var fn=function(){function L(q){void 0===q&&(q="Atom@"+W()),this.name=q,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=an.NOT_TRACKING}return L.prototype.onBecomeUnobserved=function(){},L.prototype.onBecomeObserved=function(){},L.prototype.reportObserved=function(){return Ro(this)},L.prototype.reportChanged=function(){Is(),function jl(L){if(L.lowestObserverState!==an.STALE){L.lowestObserverState=an.STALE;for(var q=L.observers,j=q.length;j--;){var Ae=q[j];Ae.dependenciesState===an.UP_TO_DATE&&(Ae.isTracing!==lt.NONE&&da(Ae,L),Ae.onBecomeStale()),Ae.dependenciesState=an.STALE}}}(this),la()},L.prototype.toString=function(){return this.name},L}(),xn=qe("Atom",fn);function Or(L,q){return L===q}var jr={identity:Or,structural:function Lr(L,q){return ca(L,q)},default:function Qr(L,q){return function He(L,q){return"number"==typeof L&&"number"==typeof q&&isNaN(L)&&isNaN(q)}(L,q)||Or(L,q)},shallow:function ir(L,q){return ca(L,q,1)}},br={},ht={};function Tt(L){if(!0!==L.__mobxDidRunLazyInitializers){var q=L.__mobxDecorators;if(q)for(var j in ge(L,"__mobxDidRunLazyInitializers",!0),q){var Ae=q[j];Ae.propertyCreator(L,Ae.prop,Ae.descriptor,Ae.decoratorTarget,Ae.decoratorArguments)}}}function wn(L,q){return function(){var Ae,St=function(ur,Br,Ii,ms){return!0===ms?(q(ur,Br,Ii,ur,Ae),null):(Object.prototype.hasOwnProperty.call(ur,"__mobxDecorators")||ge(ur,"__mobxDecorators",e({},ur.__mobxDecorators)),ur.__mobxDecorators[Br]={prop:Br,propertyCreator:q,descriptor:Ii,decoratorTarget:ur,decoratorArguments:Ae},function Wt(L,q){var j=q?br:ht;return j[L]||(j[L]={configurable:!0,enumerable:q,get:function(){return Tt(this),this[L]},set:function(Ae){Tt(this),this[L]=Ae}})}(Br,L))};return function jn(L){return(2===L.length||3===L.length)&&"string"==typeof L[1]||4===L.length&&!0===L[3]}(arguments)?(Ae=M,St.apply(null,arguments)):(Ae=Array.prototype.slice.call(arguments),St)}}function hr(L,q,j){return El(L)?L:Array.isArray(L)?jt.array(L,{name:j}):fe(L)?jt.object(L,void 0,{name:j}):Le(L)?jt.map(L,{name:j}):Pt(L)?jt.set(L,{name:j}):L}function Wi(L){return L}function kr(L){var q=wn(!0,function(Ae,St,Kt,ur,Br){!function An(L,q,j,Ae){var St=Gt(L);if(bt(St)){var Kt=Je(St,{object:L,name:q,type:"add",newValue:j});if(!Kt)return;j=Kt.newValue}j=(St.values[q]=new ji(j,Ae,St.name+"."+q,!1)).value,Object.defineProperty(L,q,function yr(L){return Hr[L]||(Hr[L]={configurable:!0,enumerable:!0,get:function(){return this.$mobx.read(this,L)},set:function(q){this.$mobx.write(this,L,q)}})}(q)),St.keys&&St.keys.push(q),function Io(L,q,j,Ae){var St=en(L),Kt=fa(),ur=St||Kt?{type:"add",object:q,name:j,newValue:Ae}:null;Kt&&No(e({},ur,{name:L.name,key:j})),St&&To(L,ur),Kt&&ns()}(St,L,q,j)}(Ae,St,Kt?Kt.initializer?Kt.initializer.call(Ae):Kt.value:void 0,L)}),j=(typeof process<"u"&&process,q);return j.enhancer=L,j}var Ei={deep:!0,name:void 0,defaultDecorator:void 0};function pr(L){return null==L?Ei:"string"==typeof L?{name:L,deep:!0}:L}function Eo(L){return L.defaultDecorator?L.defaultDecorator.enhancer:!1===L.deep?Wi:hr}Object.freeze(Ei),Object.freeze({deep:!1,name:void 0,defaultDecorator:void 0});var po=kr(hr),$i=kr(function Oi(L,q,j){return null==L||Gr(L)||du(L)||ja(L)||yt(L)?L:Array.isArray(L)?jt.array(L,{name:j,deep:!1}):fe(L)?jt.object(L,void 0,{name:j,deep:!1}):Le(L)?jt.map(L,{name:j,deep:!1}):Pt(L)?jt.set(L,{name:j,deep:!1}):$(!1)}),qr=kr(Wi),Hi=kr(function so(L,q,j){return ca(L,q)?q:L}),Hn={box:function(L,q){arguments.length>2&&Fe("box");var j=pr(q);return new ji(L,Eo(j),j.name,!0,j.equals)},shallowBox:function(L,q){return arguments.length>2&&Fe("shallowBox"),jt.box(L,{name:q,deep:!1})},array:function(L,q){arguments.length>2&&Fe("array");var j=pr(q);return new sc(L,Eo(j),j.name)},shallowArray:function(L,q){return arguments.length>2&&Fe("shallowArray"),jt.array(L,{name:q,deep:!1})},map:function(L,q){arguments.length>2&&Fe("map");var j=pr(q);return new kl(L,Eo(j),j.name)},shallowMap:function(L,q){return arguments.length>2&&Fe("shallowMap"),jt.map(L,{name:q,deep:!1})},set:function(L,q){arguments.length>2&&Fe("set");var j=pr(q);return new Ee(L,Eo(j),j.name)},object:function(L,q,j){return"string"==typeof arguments[1]&&Fe("object"),function qu(L,q,j,Ae){var Kt=(Ae=pr(Ae)).defaultDecorator||(!1===Ae.deep?qr:po);Tt(L),Gt(L,Ae.name,Kt.enhancer),Is();try{for(var St in q){var ur=Object.getOwnPropertyDescriptor(q,St),Ii=(j&&St in j?j[St]:ur.get?Ie:Kt)(L,St,ur,!0);Ii&&Object.defineProperty(L,St,Ii)}}finally{la()}return L}({},L,q,pr(j))},shallowObject:function(L,q){return"string"==typeof arguments[1]&&Fe("shallowObject"),jt.object(L,{},{name:q,deep:!1})},ref:qr,shallow:$i,deep:po,struct:Hi},jt=function Dn(L,q,j){if("string"==typeof arguments[1])return po.apply(null,arguments);if(El(L))return L;var Ae=fe(L)?jt.object(L,q,j):Array.isArray(L)?jt.array(L,q):Le(L)?jt.map(L,q):Pt(L)?jt.set(L,q):L;if(Ae!==L)return Ae;$(!1)};function Fe(L){$("Expected one or two arguments to observable."+L+". Did you accidentally try to use observable."+L+" as decorator?")}Object.keys(Hn).forEach(function(L){return jt[L]=Hn[L]});var Ie=wn(!1,function(L,q,j,Ae,St){!function kn(L,q,j){var Ae=Gt(L);j.name=Ae.name+"."+q,j.context=L,Ae.values[q]=new Po(j),Object.defineProperty(L,q,function Go(L){return Xr[L]||(Xr[L]={configurable:Bn.computedConfigurable,enumerable:!1,get:function(){return Rr(this).read(this,L)},set:function(q){Rr(this).write(this,L,q)}})}(q))}(L,q,e({get:j.get,set:j.set},St[0]||{}))}),et=Ie({equals:jr.structural}),ze=function(q,j,Ae){if("string"==typeof j||null!==q&&"object"==typeof q&&1===arguments.length)return Ie.apply(null,arguments);var St="object"==typeof j?j:{};return St.get=q,St.set="function"==typeof j?j:St.set,St.name=St.name||q.name||"",new Po(St)};ze.struct=et;var an=(()=>{return(L=an||(an={}))[L.NOT_TRACKING=-1]="NOT_TRACKING",L[L.UP_TO_DATE=0]="UP_TO_DATE",L[L.POSSIBLY_STALE=1]="POSSIBLY_STALE",L[L.STALE=2]="STALE",an;var L})(),lt=(()=>{return(L=lt||(lt={}))[L.NONE=0]="NONE",L[L.LOG=1]="LOG",L[L.BREAK=2]="BREAK",lt;var L})(),Rt=function L(q){this.cause=q};function Pe(L){return L instanceof Rt}function qn(L){switch(L.dependenciesState){case an.UP_TO_DATE:return!1;case an.NOT_TRACKING:case an.STALE:return!0;case an.POSSIBLY_STALE:for(var q=dn(),j=L.observing,Ae=j.length,St=0;St<Ae;St++){var Kt=j[St];if(ko(Kt)){if(Bn.disableErrorBoundaries)Kt.get();else try{Kt.get()}catch{return Ge(q),!0}if(L.dependenciesState===an.STALE)return Ge(q),!0}}return wr(L),Ge(q),!1}}function Pn(L){var q=L.observers.length>0;Bn.computationDepth>0&&q&&$(!1),!Bn.allowStateChanges&&(q||"strict"===Bn.enforceActions)&&$(!1)}function Pr(L,q,j){var Ae=Ot(!0);wr(L),L.newObserving=new Array(L.observing.length+100),L.unboundDepsCount=0,L.runId=++Bn.runId;var Kt,St=Bn.trackingDerivation;if(Bn.trackingDerivation=L,!0===Bn.disableErrorBoundaries)Kt=q.call(j);else try{Kt=q.call(j)}catch(ur){Kt=new Rt(ur)}return Bn.trackingDerivation=St,function Zn(L){for(var q=L.observing,j=L.observing=L.newObserving,Ae=an.UP_TO_DATE,St=0,Kt=L.unboundDepsCount,ur=0;ur<Kt;ur++)0===(Br=j[ur]).diffValue&&(Br.diffValue=1,St!==ur&&(j[St]=Br),St++),Br.dependenciesState>Ae&&(Ae=Br.dependenciesState);for(j.length=St,L.newObserving=null,Kt=q.length;Kt--;)0===(Br=q[Kt]).diffValue&&ss(Br,L),Br.diffValue=0;for(;St--;){var Br;1===(Br=j[St]).diffValue&&(Br.diffValue=0,jo(Br,L))}Ae!==an.UP_TO_DATE&&(L.dependenciesState=Ae,L.onBecomeStale())}(L),mn(Ae),Kt}function nr(L){var q=L.observing;L.observing=[];for(var j=q.length;j--;)ss(q[j],L);L.dependenciesState=an.NOT_TRACKING}function Zt(L){var q=dn(),j=L();return Ge(q),j}function dn(){var L=Bn.trackingDerivation;return Bn.trackingDerivation=null,L}function Ge(L){Bn.trackingDerivation=L}function Ot(L){var q=Bn.allowStateReads;return Bn.allowStateReads=L,q}function mn(L){Bn.allowStateReads=L}function wr(L){if(L.dependenciesState!==an.UP_TO_DATE){L.dependenciesState=an.UP_TO_DATE;for(var q=L.observing,j=q.length;j--;)q[j].lowestObserverState=an.UP_TO_DATE}}var Ti=0,Ci=1;function Ai(L,q){var j=function(){return function Ko(L,q,j,Ae){var St=function _s(L,q,j){var Ae=fa()&&!!L,St=0;if(Ae){St=Date.now();var Kt=j&&j.length||0,ur=new Array(Kt);if(Kt>0)for(var Br=0;Br<Kt;Br++)ur[Br]=j[Br];No({type:"action",name:L,object:q,arguments:ur})}var Ii=dn();Is();var Ks={prevDerivation:Ii,prevAllowStateChanges:ti(!0),prevAllowStateReads:Ot(!0),notifySpy:Ae,startTime:St,actionId:Ci++,parentActionId:Ti};return Ti=Ks.actionId,Ks}(L,j,Ae);try{return q.apply(j,Ae)}catch(Kt){throw St.error=Kt,Kt}finally{!function dr(L){Ti!==L.actionId&&$("invalid action stack. did you forget to finish an action?"),Ti=L.parentActionId,void 0!==L.error&&(Bn.suppressReactionErrors=!0),Vr(L.prevAllowStateChanges),mn(L.prevAllowStateReads),la(),Ge(L.prevDerivation),L.notifySpy&&ns({time:Date.now()-L.startTime}),Bn.suppressReactionErrors=!1}(St)}}(L,q,this,arguments)};return j.isMobxAction=!0,j}function ti(L){var q=Bn.allowStateChanges;return Bn.allowStateChanges=L,q}function Vr(L){Bn.allowStateChanges=L}var ji=function(L){function q(j,Ae,St,Kt,ur){void 0===St&&(St="ObservableValue@"+W()),void 0===Kt&&(Kt=!0),void 0===ur&&(ur=jr.default);var Br=L.call(this,St)||this;return Br.enhancer=Ae,Br.name=St,Br.equals=ur,Br.hasUnreportedChange=!1,Br.value=Ae(j,void 0,St),Kt&&fa()&&Xo({type:"create",name:Br.name,newValue:""+Br.value}),Br}return u(q,L),q.prototype.dehanceValue=function(j){return void 0!==this.dehancer?this.dehancer(j):j},q.prototype.set=function(j){var Ae=this.value;if((j=this.prepareNewValue(j))!==Bn.UNCHANGED){var St=fa();St&&No({type:"update",name:this.name,newValue:j,oldValue:Ae}),this.setNewValue(j),St&&ns()}},q.prototype.prepareNewValue=function(j){if(Pn(this),bt(this)){var Ae=Je(this,{object:this,type:"update",newValue:j});if(!Ae)return Bn.UNCHANGED;j=Ae.newValue}return j=this.enhancer(j,this.value,this.name),this.equals(this.value,j)?Bn.UNCHANGED:j},q.prototype.setNewValue=function(j){var Ae=this.value;this.value=j,this.reportChanged(),en(this)&&To(this,{type:"update",object:this,newValue:j,oldValue:Ae})},q.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},q.prototype.intercept=function(j){return pt(this,j)},q.prototype.observe=function(j,Ae){return Ae&&j({object:this,type:"update",newValue:this.value,oldValue:void 0}),fi(this,j)},q.prototype.toJSON=function(){return this.get()},q.prototype.toString=function(){return this.name+"["+this.value+"]"},q.prototype.valueOf=function(){return cn(this.get())},q}(fn);ji.prototype[Xt()]=ji.prototype.valueOf,qe("ObservableValue",ji);var Po=function(){function L(q){this.dependenciesState=an.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=an.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+W(),this.value=new Rt(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=lt.NONE,this.derivation=q.get,this.name=q.name||"ComputedValue@"+W(),q.set&&(this.setter=Ai(this.name+"-setter",q.set)),this.equals=q.equals||(q.compareStructural||q.struct?jr.structural:jr.default),this.scope=q.context,this.requiresReaction=!!q.requiresReaction,this.keepAlive=!!q.keepAlive}return L.prototype.onBecomeStale=function(){!function qa(L){if(L.lowestObserverState===an.UP_TO_DATE){L.lowestObserverState=an.POSSIBLY_STALE;for(var q=L.observers,j=q.length;j--;){var Ae=q[j];Ae.dependenciesState===an.UP_TO_DATE&&(Ae.dependenciesState=an.POSSIBLY_STALE,Ae.isTracing!==lt.NONE&&da(Ae,L),Ae.onBecomeStale())}}}(this)},L.prototype.onBecomeUnobserved=function(){},L.prototype.onBecomeObserved=function(){},L.prototype.get=function(){this.isComputing&&$("Cycle detected in computation "+this.name+": "+this.derivation),0!==Bn.inBatch||0!==this.observers.length||this.keepAlive?(Ro(this),qn(this)&&this.trackAndCompute()&&function gl(L){if(L.lowestObserverState!==an.STALE){L.lowestObserverState=an.STALE;for(var q=L.observers,j=q.length;j--;){var Ae=q[j];Ae.dependenciesState===an.POSSIBLY_STALE?Ae.dependenciesState=an.STALE:Ae.dependenciesState===an.UP_TO_DATE&&(L.lowestObserverState=an.UP_TO_DATE)}}}(this)):qn(this)&&(this.warnAboutUntrackedRead(),Is(),this.value=this.computeValue(!1),la());var q=this.value;if(Pe(q))throw q.cause;return q},L.prototype.peek=function(){var q=this.computeValue(!1);if(Pe(q))throw q.cause;return q},L.prototype.set=function(q){if(this.setter){J(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,q)}finally{this.isRunningSetter=!1}}else J(!1,!1)},L.prototype.trackAndCompute=function(){fa()&&Xo({object:this.scope,type:"compute",name:this.name});var q=this.value,j=this.dependenciesState===an.NOT_TRACKING,Ae=this.computeValue(!0),St=j||Pe(q)||Pe(Ae)||!this.equals(q,Ae);return St&&(this.value=Ae),St},L.prototype.computeValue=function(q){var j;if(this.isComputing=!0,Bn.computationDepth++,q)j=Pr(this,this.derivation,this.scope);else if(!0===Bn.disableErrorBoundaries)j=this.derivation.call(this.scope);else try{j=this.derivation.call(this.scope)}catch(Ae){j=new Rt(Ae)}return Bn.computationDepth--,this.isComputing=!1,j},L.prototype.suspend=function(){this.keepAlive||(nr(this),this.value=void 0)},L.prototype.observe=function(q,j){var Ae=this,St=!0,Kt=void 0;return vi(function(){var ur=Ae.get();if(!St||j){var Br=dn();q({type:"update",object:Ae,newValue:ur,oldValue:Kt}),Ge(Br)}St=!1,Kt=ur})},L.prototype.warnAboutUntrackedRead=function(){},L.prototype.toJSON=function(){return this.get()},L.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},L.prototype.valueOf=function(){return cn(this.get())},L}();Po.prototype[Xt()]=Po.prototype.valueOf;var L,ko=qe("ComputedValue",Po),ro=function L(){this.version=5,this.UNCHANGED={},this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.allowStateReads=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.computedConfigurable=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1},Vt=!0,Bn=((L=U()).__mobxInstanceCount>0&&!L.__mobxGlobals&&(Vt=!1),L.__mobxGlobals&&L.__mobxGlobals.version!==(new ro).version&&(Vt=!1),Vt?L.__mobxGlobals?(L.__mobxInstanceCount+=1,L.__mobxGlobals.UNCHANGED||(L.__mobxGlobals.UNCHANGED={}),L.__mobxGlobals):(L.__mobxInstanceCount=1,L.__mobxGlobals=new ro):(setTimeout(function(){$("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")},1),new ro));function jo(L,q){var j=L.observers.length;j&&(L.observersIndexes[q.__mapid]=j),L.observers[j]=q,L.lowestObserverState>q.dependenciesState&&(L.lowestObserverState=q.dependenciesState)}function ss(L,q){if(1===L.observers.length)L.observers.length=0,gs(L);else{var j=L.observers,Ae=L.observersIndexes,St=j.pop();if(St!==q){var Kt=Ae[q.__mapid]||0;Kt?Ae[St.__mapid]=Kt:delete Ae[St.__mapid],j[Kt]=St}delete Ae[q.__mapid]}}function gs(L){!1===L.isPendingUnobservation&&(L.isPendingUnobservation=!0,Bn.pendingUnobservations.push(L))}function Is(){Bn.inBatch++}function la(){if(0==--Bn.inBatch){hs();for(var L=Bn.pendingUnobservations,q=0;q<L.length;q++){var j=L[q];j.isPendingUnobservation=!1,0===j.observers.length&&(j.isBeingObserved&&(j.isBeingObserved=!1,j.onBecomeUnobserved()),j instanceof Po&&j.suspend())}Bn.pendingUnobservations=[]}}function Ro(L){var q=Bn.trackingDerivation;return null!==q?(q.runId!==L.lastAccessedBy&&(L.lastAccessedBy=q.runId,q.newObserving[q.unboundDepsCount++]=L,L.isBeingObserved||(L.isBeingObserved=!0,L.onBecomeObserved())),!0):(0===L.observers.length&&Bn.inBatch>0&&gs(L),!1)}function da(L,q){if(console.log("[mobx.trace] '"+L.name+"' is invalidated due to a change in: '"+q.name+"'"),L.isTracing===lt.BREAK){var j=[];$a(function Ol(L,q){return Kc(Fr(L,q))}(L),j,1),new Function("debugger;\n/*\nTracing '"+L.name+"'\n\nYou are entering this break point because derivation '"+L.name+"' is being traced and '"+q.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(L instanceof Po?L.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+j.join("\n")+"\n*/\n ")()}}function $a(L,q,j){q.length>=1e3?q.push("(and many more)"):(q.push(""+new Array(j).join("\t")+L.name),L.dependencies&&L.dependencies.forEach(function(Ae){return $a(Ae,q,j+1)}))}var Rl=function(){function L(q,j,Ae,St){void 0===q&&(q="Reaction@"+W()),void 0===St&&(St=!1),this.name=q,this.onInvalidate=j,this.errorHandler=Ae,this.requiresObservable=St,this.observing=[],this.newObserving=[],this.dependenciesState=an.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+W(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=lt.NONE}return L.prototype.onBecomeStale=function(){this.schedule()},L.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,Bn.pendingReactions.push(this),hs())},L.prototype.isScheduled=function(){return this._isScheduled},L.prototype.runReaction=function(){if(!this.isDisposed){if(Is(),this._isScheduled=!1,qn(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending&&fa()&&Xo({name:this.name,type:"scheduled-reaction"})}catch(q){this.reportExceptionInDerivation(q)}}la()}},L.prototype.track=function(q){Is();var Ae,j=fa();j&&(Ae=Date.now(),No({name:this.name,type:"reaction"})),this._isRunning=!0;var St=Pr(this,q,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&nr(this),Pe(St)&&this.reportExceptionInDerivation(St.cause),j&&ns({time:Date.now()-Ae}),la()},L.prototype.reportExceptionInDerivation=function(q){var j=this;if(this.errorHandler)this.errorHandler(q,this);else{if(Bn.disableErrorBoundaries)throw q;var Ae="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'";Bn.suppressReactionErrors?console.warn("[mobx] (error in reaction '"+this.name+"' suppressed, fix error of causing action below)"):console.error(Ae,q),fa()&&Xo({type:"error",name:this.name,message:Ae,error:""+q}),Bn.globalReactionErrorHandlers.forEach(function(St){return St(q,j)})}},L.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(Is(),nr(this),la()))},L.prototype.getDisposer=function(){var q=this.dispose.bind(this);return q.$mobx=this,q},L.prototype.toString=function(){return"Reaction["+this.name+"]"},L.prototype.trace=function(q){void 0===q&&(q=!1),function gc(){for(var L=[],q=0;q<arguments.length;q++)L[q]=arguments[q];var j=!1;"boolean"==typeof L[L.length-1]&&(j=L.pop());var Ae=function ql(L){switch(L.length){case 0:return Bn.trackingDerivation;case 1:return Fr(L[0]);case 2:return Fr(L[0],L[1])}}(L);if(!Ae)return $(!1);Ae.isTracing===lt.NONE&&console.log("[mobx.trace] '"+Ae.name+"' tracing enabled"),Ae.isTracing=j?lt.BREAK:lt.LOG}(this,q)},L}(),Ha=100,Ts=function(L){return L()};function hs(){Bn.inBatch>0||Bn.isRunningReactions||Ts($s)}function $s(){Bn.isRunningReactions=!0;for(var L=Bn.pendingReactions,q=0;L.length>0;){++q===Ha&&(console.error("Reaction doesn't converge to a stable state after "+Ha+" iterations. Probably there is a cycle in the reactive function: "+L[0]),L.splice(0));for(var j=L.splice(0),Ae=0,St=j.length;Ae<St;Ae++)j[Ae].runReaction()}Bn.isRunningReactions=!1}var Aa=qe("Reaction",Rl);function fa(){return!!Bn.spyListeners.length}function Xo(L){if(Bn.spyListeners.length)for(var q=Bn.spyListeners,j=0,Ae=q.length;j<Ae;j++)q[j](L)}function No(L){Xo(e({},L,{spyReportStart:!0}))}var Cs={spyReportEnd:!0};function ns(L){Xo(L?e({},L,{spyReportEnd:!0}):Cs)}function zr(){$(!1)}function io(L){return function(q,j,Ae){if(Ae){if(Ae.value)return{value:Ai(L,Ae.value),enumerable:!1,configurable:!0,writable:!0};var St=Ae.initializer;return{enumerable:!1,configurable:!0,writable:!0,initializer:function(){return Ai(L,St.call(this))}}}return function gt(L){return function(q,j,Ae){Object.defineProperty(q,j,{configurable:!0,enumerable:!1,get:function(){},set:function(St){ge(this,j,ie(L,St))}})}}(L).apply(this,arguments)}}var ie=function(q,j,Ae,St){return 1===arguments.length&&"function"==typeof q?Ai(q.name||"<unnamed action>",q):2===arguments.length&&"function"==typeof j?Ai(q,j):1===arguments.length&&"string"==typeof q?io(q):!0!==St?io(j).apply(null,arguments):void(q[j]=Ai(q.name||j,Ae.value))};function gn(L,q,j){ge(L,q,Ai(q,j.bind(L)))}function vi(L,q){void 0===q&&(q=w);var St,j=q&&q.name||L.name||"Autorun@"+W();if(q.scheduler||q.delay){var Kt=Xi(q),ur=!1;St=new Rl(j,function(){ur||(ur=!0,Kt(function(){ur=!1,St.isDisposed||St.track(Br)}))},q.onError,q.requiresObservable)}else St=new Rl(j,function(){this.track(Br)},q.onError,q.requiresObservable);function Br(){L(St)}return St.schedule(),St.getDisposer()}ie.bound=function Tn(L,q,j,Ae){return!0===Ae?(gn(L,q,j.value),null):j?{configurable:!0,enumerable:!1,get:function(){return gn(this,q,j.value||j.initializer.call(this)),this[q]},set:zr}:{enumerable:!1,configurable:!0,set:function(St){gn(this,q,St)},get:function(){}}};var Bi=function(L){return L()};function Xi(L){return L.scheduler?L.scheduler:L.delay?function(q){return setTimeout(q,L.delay)}:Bi}function ws(L,q,j){void 0===j&&(j=w),"boolean"==typeof j&&(j={fireImmediately:j});var ms,Ae=j.name||"Reaction@"+W(),St=ie(Ae,j.onError?function ds(L,q){return function(){try{return q.apply(this,arguments)}catch(j){L.call(this,j)}}}(j.onError,q):q),Kt=!j.scheduler&&!j.delay,ur=Xi(j),Br=!0,Ii=!1,vs=j.compareStructural?jr.structural:j.equals||jr.default,Ks=new Rl(Ae,function(){Br||Kt?Vl():Ii||(Ii=!0,ur(Vl))},j.onError,j.requiresObservable);function Vl(){if(Ii=!1,!Ks.isDisposed){var Xu=!1;Ks.track(function(){var Fu=L(Ks);Xu=Br||!vs(ms,Fu),ms=Fu}),Br&&j.fireImmediately&&St(ms,Ks),!Br&&!0===Xu&&St(ms,Ks),Br&&(Br=!1)}}return Ks.schedule(),Ks.getDisposer()}function Js(L,q,j){return Ll("onBecomeUnobserved",L,q,j)}function Ll(L,q,j,Ae){var St="function"==typeof Ae?Fr(q,j):Fr(q),Kt="function"==typeof Ae?Ae:j,ur=St[L];return"function"!=typeof ur?$(!1):(St[L]=function(){ur.call(this),Kt.call(this)},function(){St[L]=ur})}function Kc(L){var q={name:L.name};return L.observing&&L.observing.length>0&&(q.dependencies=function ce(L){var q=[];return L.forEach(function(j){-1===q.indexOf(j)&&q.push(j)}),q}(L.observing).map(Kc)),q}function El(L){return 1!==arguments.length&&$(!1),function ua(L,q){if(null==L)return!1;if(void 0!==q){if(Gr(L)){var j=L.$mobx;return j.values&&!!j.values[q]}return!1}return Gr(L)||!!L.$mobx||xn(L)||Aa(L)||ko(L)}(L)}function Al(L,q){void 0===q&&(q=void 0),Is();try{return L.apply(q)}finally{la()}}function bt(L){return void 0!==L.interceptors&&L.interceptors.length>0}function pt(L,q){var j=L.interceptors||(L.interceptors=[]);return j.push(q),de(function(){var Ae=j.indexOf(q);-1!==Ae&&j.splice(Ae,1)})}function Je(L,q){var j=dn();try{var Ae=L.interceptors;if(Ae)for(var St=0,Kt=Ae.length;St<Kt&&(J(!(q=Ae[St](q))||q.type,"Intercept handlers should return nothing or a change object"),q);St++);return q}finally{Ge(j)}}function en(L){return void 0!==L.changeListeners&&L.changeListeners.length>0}function fi(L,q){var j=L.changeListeners||(L.changeListeners=[]);return j.push(q),de(function(){var Ae=j.indexOf(q);-1!==Ae&&j.splice(Ae,1)})}function To(L,q){var j=dn(),Ae=L.changeListeners;if(Ae){for(var St=0,Kt=(Ae=Ae.slice()).length;St<Kt;St++)Ae[St](q);Ge(j)}}var mi=function(){var L=!1,q={};return Object.defineProperty(q,"0",{set:function(){L=!0}}),Object.create(q)[0]=1,!1===L}(),Hs=0,Qs=function L(){};(function Hu(L,q){typeof Object.setPrototypeOf<"u"?Object.setPrototypeOf(L.prototype,q):typeof L.prototype.__proto__<"u"?L.prototype.__proto__=q:L.prototype=q})(Qs,Array.prototype),Object.isFrozen(Array)&&["constructor","push","shift","concat","pop","unshift","replace","find","findIndex","splice","reverse","sort"].forEach(function(L){Object.defineProperty(Qs.prototype,L,{configurable:!0,writable:!0,value:Array.prototype[L]})});var zl=function(){function L(q,j,Ae,St){this.array=Ae,this.owned=St,this.values=[],this.lastKnownLength=0,this.atom=new fn(q||"ObservableArray@"+W()),this.enhancer=function(Kt,ur){return j(Kt,ur,q+"[..]")}}return L.prototype.dehanceValue=function(q){return void 0!==this.dehancer?this.dehancer(q):q},L.prototype.dehanceValues=function(q){return void 0!==this.dehancer&&q.length>0?q.map(this.dehancer):q},L.prototype.intercept=function(q){return pt(this,q)},L.prototype.observe=function(q,j){return void 0===j&&(j=!1),j&&q({object:this.array,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),fi(this,q)},L.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},L.prototype.setArrayLength=function(q){if("number"!=typeof q||q<0)throw new Error("[mobx.array] Out of range: "+q);var j=this.values.length;if(q!==j)if(q>j){for(var Ae=new Array(q-j),St=0;St<q-j;St++)Ae[St]=void 0;this.spliceWithArray(j,0,Ae)}else this.spliceWithArray(q,j-q)},L.prototype.updateArrayLength=function(q,j){if(q!==this.lastKnownLength)throw new Error("[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?");this.lastKnownLength+=j,j>0&&q+j+1>Hs&&ec(q+j+1)},L.prototype.spliceWithArray=function(q,j,Ae){var St=this;Pn(this.atom);var Kt=this.values.length;if(void 0===q?q=0:q>Kt?q=Kt:q<0&&(q=Math.max(0,Kt+q)),j=1===arguments.length?Kt-q:null==j?0:Math.max(0,Math.min(j,Kt-q)),void 0===Ae&&(Ae=M),bt(this)){var ur=Je(this,{object:this.array,type:"splice",index:q,removedCount:j,added:Ae});if(!ur)return M;j=ur.removedCount,Ae=ur.added}Ae=0===Ae.length?Ae:Ae.map(function(ms){return St.enhancer(ms,void 0)}),this.updateArrayLength(Kt,Ae.length-j);var Ii=this.spliceItemsIntoValues(q,j,Ae);return(0!==j||0!==Ae.length)&&this.notifyArraySplice(q,Ae,Ii),this.dehanceValues(Ii)},L.prototype.spliceItemsIntoValues=function(q,j,Ae){var St;if(Ae.length<1e4)return(St=this.values).splice.apply(St,m([q,j],Ae));var Kt=this.values.slice(q,q+j);return this.values=this.values.slice(0,q).concat(Ae,this.values.slice(q+j)),Kt},L.prototype.notifyArrayChildUpdate=function(q,j,Ae){var St=!this.owned&&fa(),Kt=en(this),ur=Kt||St?{object:this.array,type:"update",index:q,newValue:j,oldValue:Ae}:null;St&&No(e({},ur,{name:this.atom.name})),this.atom.reportChanged(),Kt&&To(this,ur),St&&ns()},L.prototype.notifyArraySplice=function(q,j,Ae){var St=!this.owned&&fa(),Kt=en(this),ur=Kt||St?{object:this.array,type:"splice",index:q,removed:Ae,added:j,removedCount:Ae.length,addedCount:j.length}:null;St&&No(e({},ur,{name:this.atom.name})),this.atom.reportChanged(),Kt&&To(this,ur),St&&ns()},L}(),sc=function(L){function q(j,Ae,St,Kt){void 0===St&&(St="ObservableArray@"+W()),void 0===Kt&&(Kt=!1);var ur=L.call(this)||this,Br=new zl(St,Ae,ur,Kt);if(Et(ur,"$mobx",Br),j&&j.length){var Ii=ti(!0);ur.spliceWithArray(0,0,j),Vr(Ii)}return mi&&Object.defineProperty(Br.array,"0",hu),ur}return u(q,L),q.prototype.intercept=function(j){return this.$mobx.intercept(j)},q.prototype.observe=function(j,Ae){return void 0===Ae&&(Ae=!1),this.$mobx.observe(j,Ae)},q.prototype.clear=function(){return this.splice(0)},q.prototype.concat=function(){for(var j=[],Ae=0;Ae<arguments.length;Ae++)j[Ae]=arguments[Ae];return this.$mobx.atom.reportObserved(),Array.prototype.concat.apply(this.peek(),j.map(function(St){return du(St)?St.peek():St}))},q.prototype.replace=function(j){return this.$mobx.spliceWithArray(0,this.$mobx.values.length,j)},q.prototype.toJS=function(){return this.slice()},q.prototype.toJSON=function(){return this.toJS()},q.prototype.peek=function(){return this.$mobx.atom.reportObserved(),this.$mobx.dehanceValues(this.$mobx.values)},q.prototype.find=function(j,Ae,St){void 0===St&&(St=0);var Kt=this.findIndex.apply(this,arguments);return-1===Kt?void 0:this.get(Kt)},q.prototype.findIndex=function(j,Ae,St){void 0===St&&(St=0);for(var Kt=this.peek(),ur=Kt.length,Br=St;Br<ur;Br++)if(j.call(Ae,Kt[Br],Br,this))return Br;return-1},q.prototype.splice=function(j,Ae){for(var St=[],Kt=2;Kt<arguments.length;Kt++)St[Kt-2]=arguments[Kt];switch(arguments.length){case 0:return[];case 1:return this.$mobx.spliceWithArray(j);case 2:return this.$mobx.spliceWithArray(j,Ae)}return this.$mobx.spliceWithArray(j,Ae,St)},q.prototype.spliceWithArray=function(j,Ae,St){return this.$mobx.spliceWithArray(j,Ae,St)},q.prototype.push=function(){for(var j=[],Ae=0;Ae<arguments.length;Ae++)j[Ae]=arguments[Ae];var St=this.$mobx;return St.spliceWithArray(St.values.length,0,j),St.values.length},q.prototype.pop=function(){return this.splice(Math.max(this.$mobx.values.length-1,0),1)[0]},q.prototype.shift=function(){return this.splice(0,1)[0]},q.prototype.unshift=function(){for(var j=[],Ae=0;Ae<arguments.length;Ae++)j[Ae]=arguments[Ae];var St=this.$mobx;return St.spliceWithArray(0,0,j),St.values.length},q.prototype.reverse=function(){var j=this.slice();return j.reverse.apply(j,arguments)},q.prototype.sort=function(j){var Ae=this.slice();return Ae.sort.apply(Ae,arguments)},q.prototype.remove=function(j){var Ae=this.$mobx.dehanceValues(this.$mobx.values).indexOf(j);return Ae>-1&&(this.splice(Ae,1),!0)},q.prototype.move=function(j,Ae){function St(Br){if(Br<0)throw new Error("[mobx.array] Index out of bounds: "+Br+" is negative");var Ii=this.$mobx.values.length;if(Br>=Ii)throw new Error("[mobx.array] Index out of bounds: "+Br+" is not smaller than "+Ii)}if(St.call(this,j),St.call(this,Ae),j!==Ae){var ur,Kt=this.$mobx.values;ur=j<Ae?m(Kt.slice(0,j),Kt.slice(j+1,Ae+1),[Kt[j]],Kt.slice(Ae+1)):m(Kt.slice(0,Ae),[Kt[j]],Kt.slice(Ae,j),Kt.slice(j+1)),this.replace(ur)}},q.prototype.get=function(j){var Ae=this.$mobx;if(Ae){if(j<Ae.values.length)return Ae.atom.reportObserved(),Ae.dehanceValue(Ae.values[j]);console.warn("[mobx.array] Attempt to read an array index ("+j+") that is out of bounds ("+Ae.values.length+"). Please check length first. Out of bound indices will not be tracked by MobX")}},q.prototype.set=function(j,Ae){var St=this.$mobx,Kt=St.values;if(j<Kt.length){Pn(St.atom);var ur=Kt[j];if(bt(St)){var Br=Je(St,{type:"update",object:this,index:j,newValue:Ae});if(!Br)return;Ae=Br.newValue}(Ae=St.enhancer(Ae,ur))!==ur&&(Kt[j]=Ae,St.notifyArrayChildUpdate(j,Ae,ur))}else{if(j!==Kt.length)throw new Error("[mobx.array] Index out of bounds, "+j+" is larger than "+Kt.length);St.spliceWithArray(j,0,[Ae])}},q}(Qs);Rn(sc.prototype,function(){this.$mobx.atom.reportObserved();var L=this,q=0;return At({next:function(){return q<L.length?{value:L[q++],done:!1}:{done:!0,value:void 0}}})}),Object.defineProperty(sc.prototype,"length",{enumerable:!1,configurable:!0,get:function(){return this.$mobx.getArrayLength()},set:function(L){this.$mobx.setArrayLength(L)}}),ge(sc.prototype,qt(),"Array"),["every","filter","forEach","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some","toString","toLocaleString"].forEach(function(L){var q=Array.prototype[L];J("function"==typeof q,"Base function not defined on Array prototype: '"+L+"'"),ge(sc.prototype,L,function(){return q.apply(this.peek(),arguments)})}),function $e(L,q){for(var j=0;j<q.length;j++)ge(L,q[j],L[q[j]])}(sc.prototype,["constructor","intercept","observe","clear","concat","get","replace","toJS","toJSON","peek","find","findIndex","splice","spliceWithArray","push","pop","set","shift","unshift","reverse","sort","remove","move","toString","toLocaleString"]);var hu=lu(0);function lu(L){return{enumerable:!1,configurable:!1,get:function(){return this.get(L)},set:function(q){this.set(L,q)}}}function id(L){Object.defineProperty(sc.prototype,""+L,lu(L))}function ec(L){for(var q=Hs;q<L;q++)id(q);Hs=L}ec(1e3);var Fc=qe("ObservableArrayAdministration",zl);function du(L){return se(L)&&Fc(L.$mobx)}var Lc={},kl=function(){function L(q,j,Ae){if(void 0===j&&(j=hr),void 0===Ae&&(Ae="ObservableMap@"+W()),this.enhancer=j,this.name=Ae,this.$mobx=Lc,this._keys=new sc(void 0,Wi,this.name+".keys()",!0),"function"!=typeof Map)throw new Error("mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js");this._data=new Map,this._hasMap=new Map,this.merge(q)}return L.prototype._has=function(q){return this._data.has(q)},L.prototype.has=function(q){var j=this;if(!Bn.trackingDerivation)return this._has(q);var Ae=this._hasMap.get(q);if(!Ae){var St=Ae=new ji(this._has(q),Wi,this.name+"."+sl(q)+"?",!1);this._hasMap.set(q,St),Js(St,function(){return j._hasMap.delete(q)})}return Ae.get()},L.prototype.set=function(q,j){var Ae=this._has(q);if(bt(this)){var St=Je(this,{type:Ae?"update":"add",object:this,newValue:j,name:q});if(!St)return this;j=St.newValue}return Ae?this._updateValue(q,j):this._addValue(q,j),this},L.prototype.delete=function(q){var j=this;if(bt(this)&&!(Ae=Je(this,{type:"delete",object:this,name:q})))return!1;if(this._has(q)){var St=fa(),Kt=en(this),Ae=Kt||St?{type:"delete",object:this,oldValue:this._data.get(q).value,name:q}:null;return St&&No(e({},Ae,{name:this.name,key:q})),Al(function(){j._keys.remove(q),j._updateHasMapEntry(q,!1),j._data.get(q).setNewValue(void 0),j._data.delete(q)}),Kt&&To(this,Ae),St&&ns(),!0}return!1},L.prototype._updateHasMapEntry=function(q,j){var Ae=this._hasMap.get(q);Ae&&Ae.setNewValue(j)},L.prototype._updateValue=function(q,j){var Ae=this._data.get(q);if((j=Ae.prepareNewValue(j))!==Bn.UNCHANGED){var St=fa(),Kt=en(this),ur=Kt||St?{type:"update",object:this,oldValue:Ae.value,name:q,newValue:j}:null;St&&No(e({},ur,{name:this.name,key:q})),Ae.setNewValue(j),Kt&&To(this,ur),St&&ns()}},L.prototype._addValue=function(q,j){var Ae=this;Al(function(){var Br=new ji(j,Ae.enhancer,Ae.name+"."+sl(q),!1);Ae._data.set(q,Br),j=Br.value,Ae._updateHasMapEntry(q,!0),Ae._keys.push(q)});var St=fa(),Kt=en(this),ur=Kt||St?{type:"add",object:this,name:q,newValue:j}:null;St&&No(e({},ur,{name:this.name,key:q})),Kt&&To(this,ur),St&&ns()},L.prototype.get=function(q){return this.has(q)?this.dehanceValue(this._data.get(q).get()):this.dehanceValue(void 0)},L.prototype.dehanceValue=function(q){return void 0!==this.dehancer?this.dehancer(q):q},L.prototype.keys=function(){return this._keys[pn()]()},L.prototype.values=function(){var q=this,j=0;return At({next:function(){return j<q._keys.length?{value:q.get(q._keys[j++]),done:!1}:{value:void 0,done:!0}}})},L.prototype.entries=function(){var q=this,j=0;return At({next:function(){if(j<q._keys.length){var Ae=q._keys[j++];return{value:[Ae,q.get(Ae)],done:!1}}return{done:!0}}})},L.prototype.forEach=function(q,j){var Ae=this;this._keys.forEach(function(St){return q.call(j,Ae.get(St),St,Ae)})},L.prototype.merge=function(q){var j=this;return ja(q)&&(q=q.toJS()),Al(function(){fe(q)?Object.keys(q).forEach(function(Ae){return j.set(Ae,q[Ae])}):Array.isArray(q)?q.forEach(function(Ae){var St=f(Ae,2);return j.set(St[0],St[1])}):Le(q)?q.constructor!==Map?$("Cannot initialize from classes that inherit from Map: "+q.constructor.name):q.forEach(function(Ae,St){return j.set(St,Ae)}):null!=q&&$("Cannot initialize map from "+q)}),this},L.prototype.clear=function(){var q=this;Al(function(){Zt(function(){q._keys.slice().forEach(function(j){return q.delete(j)})})})},L.prototype.replace=function(q){var j=this;return Al(function(){for(var Ae=function Te(L){return Le(L)||ja(L)?L:Array.isArray(L)?new Map(L):fe(L)?new Map(Object.entries(L)):$("Cannot convert to map from '"+L+"'")}(q),St=j._keys,Kt=Array.from(Ae.keys()),ur=!1,Br=0;Br<St.length;Br++){var Ii=St[Br];St.length===Kt.length&&Ii!==Kt[Br]&&(ur=!0),Ae.has(Ii)||(ur=!0,j.delete(Ii))}Ae.forEach(function(ms,vs){j._data.has(vs)||(ur=!0),j.set(vs,ms)}),ur&&j._keys.replace(Kt)}),this},Object.defineProperty(L.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),L.prototype.toPOJO=function(){var q=this,j={};return this._keys.forEach(function(Ae){return j["symbol"==typeof Ae?Ae:sl(Ae)]=q.get(Ae)}),j},L.prototype.toJS=function(){var q=this,j=new Map;return this._keys.forEach(function(Ae){return j.set(Ae,q.get(Ae))}),j},L.prototype.toJSON=function(){return this.toPOJO()},L.prototype.toString=function(){var q=this;return this.name+"[{ "+this._keys.map(function(j){return sl(j)+": "+q.get(j)}).join(", ")+" }]"},L.prototype.observe=function(q,j){return fi(this,q)},L.prototype.intercept=function(q){return pt(this,q)},L}();function sl(L){return L&&L.toString?L.toString():new String(L).toString()}Rn(kl.prototype,function(){return this.entries()}),Et(kl.prototype,qt(),"Map");var ja=qe("ObservableMap",kl),Q={},Ee=function(){function L(q,j,Ae){if(void 0===j&&(j=hr),void 0===Ae&&(Ae="ObservableSet@"+W()),this.name=Ae,this.$mobx=Q,this._data=new Set,this._atom=function Kr(L,q,j){void 0===q&&(q=V),void 0===j&&(j=V);var Ae=new fn(L);return function qs(L,q,j){Ll("onBecomeObserved",L,q,j)}(Ae,q),Js(Ae,j),Ae}(this.name),"function"!=typeof Set)throw new Error("mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js");this.enhancer=function(St,Kt){return j(St,Kt,Ae)},q&&this.replace(q)}return L.prototype.dehanceValue=function(q){return void 0!==this.dehancer?this.dehancer(q):q},L.prototype.clear=function(){var q=this;Al(function(){Zt(function(){q._data.forEach(function(j){q.delete(j)})})})},L.prototype.forEach=function(q,j){var Ae=this;this._data.forEach(function(St){q.call(j,St,St,Ae)})},Object.defineProperty(L.prototype,"size",{get:function(){return this._atom.reportObserved(),this._data.size},enumerable:!0,configurable:!0}),L.prototype.add=function(q){var j=this;if(Pn(this._atom),bt(this)&&!(Ae=Je(this,{type:"add",object:this,newValue:q})))return this;if(!this.has(q)){Al(function(){j._data.add(j.enhancer(q,void 0)),j._atom.reportChanged()});var St=fa(),Kt=en(this),Ae=Kt||St?{type:"add",object:this,newValue:q}:null;Kt&&To(this,Ae)}return this},L.prototype.delete=function(q){var j=this;if(bt(this)&&!(Ae=Je(this,{type:"delete",object:this,oldValue:q})))return!1;if(this.has(q)){var St=fa(),Kt=en(this),Ae=Kt||St?{type:"delete",object:this,oldValue:q}:null;return Al(function(){j._atom.reportChanged(),j._data.delete(q)}),Kt&&To(this,Ae),!0}return!1},L.prototype.has=function(q){return this._atom.reportObserved(),this._data.has(this.dehanceValue(q))},L.prototype.entries=function(){var q=0,j=it(this.keys()),Ae=it(this.values());return At({next:function(){var St=q;return q+=1,St<Ae.length?{value:[j[St],Ae[St]],done:!1}:{done:!0}}})},L.prototype.keys=function(){return this.values()},L.prototype.values=function(){this._atom.reportObserved();var Ae,q=this,j=0;return void 0!==this._data.values?Ae=it(this._data.values()):(Ae=[],this._data.forEach(function(St){return Ae.push(St)})),At({next:function(){return j<Ae.length?{value:q.dehanceValue(Ae[j++]),done:!1}:{done:!0}}})},L.prototype.replace=function(q){var j=this;return yt(q)&&(q=q.toJS()),Al(function(){Array.isArray(q)||Pt(q)?(j.clear(),q.forEach(function(Ae){return j.add(Ae)})):null!=q&&$("Cannot initialize set from "+q)}),this},L.prototype.observe=function(q,j){return fi(this,q)},L.prototype.intercept=function(q){return pt(this,q)},L.prototype.toJS=function(){return new Set(this)},L.prototype.toString=function(){return this.name+"[ "+it(this.keys()).join(", ")+" ]"},L}();Rn(Ee.prototype,function(){return this.values()}),Et(Ee.prototype,qt(),"Set");var yt=qe("ObservableSet",Ee),Xe=function(){function L(q,j,Ae){this.target=q,this.name=j,this.defaultEnhancer=Ae,this.values={}}return L.prototype.read=function(q,j){if(this.target===q||(this.illegalAccess(q,j),this.values[j]))return this.values[j].get()},L.prototype.write=function(q,j,Ae){var St=this.target;St!==q&&this.illegalAccess(q,j);var Kt=this.values[j];if(Kt instanceof Po)Kt.set(Ae);else{if(bt(this)){if(!(ur=Je(this,{type:"update",object:St,name:j,newValue:Ae})))return;Ae=ur.newValue}if((Ae=Kt.prepareNewValue(Ae))!==Bn.UNCHANGED){var Br=en(this),Ii=fa(),ur=Br||Ii?{type:"update",object:St,oldValue:Kt.value,name:j,newValue:Ae}:null;Ii&&No(e({},ur,{name:this.name,key:j})),Kt.setNewValue(Ae),Br&&To(this,ur),Ii&&ns()}}},L.prototype.remove=function(q){if(this.values[q]){var j=this.target;if(bt(this)&&!(Ae=Je(this,{object:j,name:q,type:"remove"})))return;try{Is();var St=en(this),Kt=fa(),ur=this.values[q].get();this.keys&&this.keys.remove(q),delete this.values[q],delete this.target[q];var Ae=St||Kt?{type:"remove",object:j,oldValue:ur,name:q}:null;Kt&&No(e({},Ae,{name:this.name,key:q})),St&&To(this,Ae),Kt&&ns()}finally{la()}}},L.prototype.illegalAccess=function(q,j){console.warn("Property '"+j+"' of '"+q+"' was accessed through the prototype chain. Use 'decorate' instead to declare the prop or access it statically through it's owner")},L.prototype.observe=function(q,j){return fi(this,q)},L.prototype.intercept=function(q){return pt(this,q)},L.prototype.getKeys=function(){var q=this;return void 0===this.keys&&(this.keys=new sc(Object.keys(this.values).filter(function(j){return q.values[j]instanceof ji}),Wi,"keys("+this.name+")",!0)),this.keys.slice()},L}();function Gt(L,q,j){void 0===q&&(q=""),void 0===j&&(j=hr);var Ae=L.$mobx;return Ae||(fe(L)||(q=(L.constructor.name||"ObservableObject")+"@"+W()),q||(q="ObservableObject@"+W()),Et(L,"$mobx",Ae=new Xe(L,q,j)),Ae)}var Hr=Object.create(null),Xr=Object.create(null);function Rr(L){return L.$mobx||(Tt(L),L.$mobx)}var Qn=qe("ObservableObjectAdministration",Xe);function Gr(L){return!!se(L)&&(Tt(L),Qn(L.$mobx))}function Fr(L,q){if("object"==typeof L&&null!==L){if(du(L))return void 0!==q&&$(!1),L.$mobx.atom;if(yt(L))return L.$mobx;if(ja(L)){var j=L;return void 0===q?Fr(j._keys):((Ae=j._data.get(q)||j._hasMap.get(q))||$(!1),Ae)}var Ae;if(Tt(L),Gr(L))return q?((Ae=L.$mobx.values[q])||$(!1),Ae):$(!1);if(xn(L)||ko(L)||Aa(L))return L}else if("function"==typeof L&&Aa(L.$mobx))return L.$mobx;return $(!1)}function Ui(L,q){return L||$("Expecting some object"),void 0!==q?Ui(Fr(L,q)):xn(L)||ko(L)||Aa(L)||ja(L)||yt(L)?L:(Tt(L),L.$mobx?L.$mobx:void $(!1))}var Fa=Object.prototype.toString;function ca(L,q,j){return void 0===j&&(j=-1),zo(L,q,j)}function zo(L,q,j,Ae,St){if(L===q)return 0!==L||1/L==1/q;if(null==L||null==q)return!1;if(L!=L)return q!=q;var Kt=typeof L;if("function"!==Kt&&"object"!==Kt&&"object"!=typeof q)return!1;L=$l(L),q=$l(q);var ur=Fa.call(L);if(ur!==Fa.call(q))return!1;switch(ur){case"[object RegExp]":case"[object String]":return""+L==""+q;case"[object Number]":return+L!=+L?+q!=+q:0==+L?1/+L==1/q:+L==+q;case"[object Date]":case"[object Boolean]":return+L==+q;case"[object Symbol]":return typeof Symbol<"u"&&Symbol.valueOf.call(L)===Symbol.valueOf.call(q)}var Br="[object Array]"===ur;if(!Br){if("object"!=typeof L||"object"!=typeof q)return!1;var Ii=L.constructor,ms=q.constructor;if(Ii!==ms&&!("function"==typeof Ii&&Ii instanceof Ii&&"function"==typeof ms&&ms instanceof ms)&&"constructor"in L&&"constructor"in q)return!1}if(0===j)return!1;j<0&&(j=-1),St=St||[];for(var vs=(Ae=Ae||[]).length;vs--;)if(Ae[vs]===L)return St[vs]===q;if(Ae.push(L),St.push(q),Br){if((vs=L.length)!==q.length)return!1;for(;vs--;)if(!zo(L[vs],q[vs],j-1,Ae,St))return!1}else{var Ks=Object.keys(L),Vl=void 0;if(vs=Ks.length,Object.keys(q).length!==vs)return!1;for(;vs--;)if(!xl(q,Vl=Ks[vs])||!zo(L[Vl],q[Vl],j-1,Ae,St))return!1}return Ae.pop(),St.pop(),!0}function $l(L){return du(L)?L.peek():Le(L)||ja(L)||Pt(L)||yt(L)?it(L.entries()):L}function xl(L,q){return Object.prototype.hasOwnProperty.call(L,q)}"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function Fo(L){return Bn.spyListeners.push(L),de(function(){Bn.spyListeners=Bn.spyListeners.filter(function(q){return q!==L})})},extras:{getDebugName:function Do(L,q){return(void 0!==q?Fr(L,q):Gr(L)||ja(L)||yt(L)?Ui(L):Fr(L)).name}},$mobx:"$mobx"});const yi=function kc(L,q,j){switch(j.length){case 0:return L.call(q);case 1:return L.call(q,j[0]);case 2:return L.call(q,j[0],j[1]);case 3:return L.call(q,j[0],j[1],j[2])}return L.apply(q,j)},Pa=function Wl(L){return L};var fc=Math.max;const je=function bu(L,q,j){return q=fc(void 0===q?L.length-1:q,0),function(){for(var Ae=arguments,St=-1,Kt=fc(Ae.length-q,0),ur=Array(Kt);++St<Kt;)ur[St]=Ae[q+St];St=-1;for(var Br=Array(q+1);++St<q;)Br[St]=Ae[St];return Br[q]=j(ur),yi(L,this,Br)}},tt=function Nt(L){return function(){return L}};var tn=s(99567),Xn=tn.Z?function(L,q){return(0,tn.Z)(L,"toString",{configurable:!0,enumerable:!1,value:tt(q),writable:!0})}:Pa,Ri=800,fs=16,Fs=Date.now,Ms=function Ra(L){var q=0,j=0;return function(){var Ae=Fs(),St=fs-(Ae-j);if(j=Ae,St>0){if(++q>=Ri)return arguments[0]}else q=0;return L.apply(void 0,arguments)}}(Xn);const wl=Ms,Qa=function Ho(L,q){return wl(je(L,q,Pa),L+"")};var rn=s(15131),Jl=s(2951),le=s(66224);const De=function ae(L,q,j){(void 0!==j&&!(0,le.Z)(L[q],j)||void 0===j&&!(q in L))&&(0,Jl.Z)(L,q,j)};var zt=function Ve(L){return function(q,j,Ae){for(var St=-1,Kt=Object(q),ur=Ae(q),Br=ur.length;Br--;){var Ii=ur[L?Br:++St];if(!1===j(Kt[Ii],Ii,Kt))break}return q}}();const Qt=zt;var Gn=s(27672),Er=s(1044),Nr=s(36889),Mi=s(42542),ao=s(40591),Jo=s(34654),rs=s(18402),ys=s(6539);var eu=s(25014),mu=s(58209),wu=s(4214),Rc=s(98286),fu=s(11595),vc=Function.prototype.toString,La=Object.prototype.hasOwnProperty,al=vc.call(Object);const xa=function rl(L){if(!(0,ys.Z)(L)||"[object Object]"!=(0,Rc.Z)(L))return!1;var q=(0,fu.Z)(L);if(null===q)return!0;var j=La.call(q,"constructor")&&q.constructor;return"function"==typeof j&&j instanceof j&&vc.call(j)==al};var Tu=s(14803);const Pu=function En(L,q){if(("constructor"!==q||"function"!=typeof L[q])&&"__proto__"!=q)return L[q]};var za=s(57640),Va=s(34673);const Hc=function ld(L,q,j,Ae,St,Kt,ur){var Br=Pu(L,j),Ii=Pu(q,j),ms=ur.get(Ii);if(ms)De(L,j,ms);else{var vs=Kt?Kt(Br,Ii,j+"",L,q,ur):void 0,Ks=void 0===vs;if(Ks){var Vl=(0,Jo.Z)(Ii),Xu=!Vl&&(0,eu.Z)(Ii),Fu=!Vl&&!Xu&&(0,Tu.Z)(Ii);vs=Ii,Vl||Xu||Fu?(0,Jo.Z)(Br)?vs=Br:function Ps(L){return(0,ys.Z)(L)&&(0,rs.Z)(L)}(Br)?vs=(0,Nr.Z)(Br):Xu?(Ks=!1,vs=(0,Gn.Z)(Ii,!0)):Fu?(Ks=!1,vs=(0,Er.Z)(Ii,!0)):vs=[]:xa(Ii)||(0,ao.Z)(Ii)?(vs=Br,(0,ao.Z)(Br)?vs=function Os(L){return(0,za.Z)(L,(0,Va.Z)(L))}(Br):(!(0,wu.Z)(Br)||(0,mu.Z)(Br))&&(vs=(0,Mi.Z)(Ii))):Ks=!1}Ks&&(ur.set(Ii,vs),St(vs,Ii,Ae,Kt,ur),ur.delete(Ii)),De(L,j,vs)}},ud=function Vu(L,q,j,Ae,St){L!==q&&Qt(q,function(Kt,ur){if(St||(St=new rn.Z),(0,wu.Z)(Kt))Hc(L,q,ur,j,Vu,Ae,St);else{var Br=Ae?Ae(Pu(L,ur),Kt,ur+"",L,q,St):void 0;void 0===Br&&(Br=Kt),De(L,ur,Br)}},Va.Z)},tf=function md(L,q,j,Ae,St,Kt){return(0,wu.Z)(L)&&(0,wu.Z)(q)&&(Kt.set(q,L),ud(L,q,void 0,md,Kt),Kt.delete(q)),L};var Uf=s(28078);const Uc=function Mu(L,q,j){if(!(0,wu.Z)(j))return!1;var Ae=typeof q;return!!("number"==Ae?(0,rs.Z)(j)&&(0,Uf.Z)(q,j.length):"string"==Ae&&q in j)&&(0,le.Z)(j[q],L)};var ip=function Zu(L){return Qa(function(q,j){var Ae=-1,St=j.length,Kt=St>1?j[St-1]:void 0,ur=St>2?j[2]:void 0;for(Kt=L.length>3&&"function"==typeof Kt?(St--,Kt):void 0,ur&&Uc(j[0],j[1],ur)&&(Kt=St<3?void 0:Kt,St=1),q=Object(q);++Ae<St;){var Br=j[Ae];Br&&L(q,Br,Ae,Kt)}return q})}(function(L,q,j,Ae){ud(L,q,j,Ae)});const Hd=ip;var Bf=Qa(function(L){return L.push(void 0,tf),yi(Hd,void 0,L)});const gd=Bf;const xf=function ed(L){return"symbol"==typeof L||(0,ys.Z)(L)&&"[object Symbol]"==(0,Rc.Z)(L)};var _u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ud=/^\w*$/;const Lo=function Bc(L,q){if((0,Jo.Z)(L))return!1;var j=typeof L;return!("number"!=j&&"symbol"!=j&&"boolean"!=j&&null!=L&&!xf(L))||Ud.test(L)||!_u.test(L)||null!=q&&L in Object(q)};var Se=s(94013),Ne="Expected a function";function _e(L,q){if("function"!=typeof L||null!=q&&"function"!=typeof q)throw new TypeError(Ne);var j=function(){var Ae=arguments,St=q?q.apply(this,Ae):Ae[0],Kt=j.cache;if(Kt.has(St))return Kt.get(St);var ur=L.apply(this,Ae);return j.cache=Kt.set(St,ur)||Kt,ur};return j.cache=new(_e.Cache||Se.Z),j}_e.Cache=Se.Z;const Ye=_e;var ni=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zi=/\\(\\)?/g,Wo=function un(L){var q=Ye(L,function(Ae){return 500===j.size&&j.clear(),Ae}),j=q.cache;return q}(function(L){var q=[];return 46===L.charCodeAt(0)&&q.push(""),L.replace(ni,function(j,Ae,St,Kt){q.push(St?Kt.replace(zi,"$1"):Ae||j)}),q});const Qo=Wo;var ya=s(35770);const Wu=function Bl(L,q){for(var j=-1,Ae=null==L?0:L.length,St=Array(Ae);++j<Ae;)St[j]=q(L[j],j,L);return St};var cd=ya.Z?ya.Z.prototype:void 0,Ju=cd?cd.toString:void 0;const od=function tc(L){if("string"==typeof L)return L;if((0,Jo.Z)(L))return Wu(L,tc)+"";if(xf(L))return Ju?Ju.call(L):"";var q=L+"";return"0"==q&&1/L==-Infinity?"-0":q},h=function Ed(L){return null==L?"":od(L)},N=function b(L,q){return(0,Jo.Z)(L)?L:Lo(L,q)?[L]:Qo(h(L))};const he=function ne(L){if("string"==typeof L||xf(L))return L;var q=L+"";return"0"==q&&1/L==-Infinity?"-0":q},Qe=function Me(L,q){for(var j=0,Ae=(q=N(q,L)).length;null!=L&&j<Ae;)L=L[he(q[j++])];return j&&j==Ae?L:void 0},ft=function Re(L,q,j){var Ae=null==L?void 0:Qe(L,q);return void 0===Ae?j:Ae};var wt=s(65252);const Cn=function It(L){var q=null==L?0:L.length;return q?L[q-1]:void 0},oi=function Dr(L,q){return q.length<2?L:Qe(L,function er(L,q,j){var Ae=-1,St=L.length;q<0&&(q=-q>St?0:St+q),(j=j>St?St:j)<0&&(j+=St),St=q>j?0:j-q>>>0,q>>>=0;for(var Kt=Array(St);++Ae<St;)Kt[Ae]=L[Ae+q];return Kt}(q,0,-1))},As=function uo(L,q){return q=N(q,L),null==(L=oi(L,q))||delete L[he(Cn(q))]},ma=function as(L){return xa(L)?void 0:L};var Na=s(57052),Pl=ya.Z?ya.Z.isConcatSpreadable:void 0;const dl=function il(L){return(0,Jo.Z)(L)||(0,ao.Z)(L)||!!(Pl&&L&&L[Pl])},Qu=function Nl(L,q,j,Ae,St){var Kt=-1,ur=L.length;for(j||(j=dl),St||(St=[]);++Kt<ur;){var Br=L[Kt];q>0&&j(Br)?q>1?Nl(Br,q-1,j,Ae,St):(0,Na.Z)(St,Br):Ae||(St[St.length]=Br)}return St},wa=function ac(L){return null!=L&&L.length?Qu(L,1):[]},yc=function nc(L){return wl(je(L,void 0,wa),L+"")};var Gc=s(23359),ee=yc(function(L,q){var j={};if(null==L)return j;var Ae=!1;q=Wu(q,function(Kt){return Kt=N(Kt,L),Ae||(Ae=Kt.length>1),Kt}),(0,za.Z)(L,(0,Gc.Z)(L),j),Ae&&(j=(0,wt.Z)(j,7,ma));for(var St=q.length;St--;)As(j,q[St]);return j});const Ce=ee;const Gi=function Ur(L,q){for(var j=-1,Ae=null==L?0:L.length;++j<Ae;)if(q(L[j],j,L))return!0;return!1};function _c(L){var q=-1,j=null==L?0:L.length;for(this.__data__=new Se.Z;++q<j;)this.add(L[q])}_c.prototype.add=_c.prototype.push=function Ka(L){return this.__data__.set(L,"__lodash_hash_undefined__"),this},_c.prototype.has=function nu(L){return this.__data__.has(L)};const T_=_c,Sh=function Bd(L,q){return L.has(q)};const pf=function Hp(L,q,j,Ae,St,Kt){var ur=1&j,Br=L.length,Ii=q.length;if(Br!=Ii&&!(ur&&Ii>Br))return!1;var ms=Kt.get(L),vs=Kt.get(q);if(ms&&vs)return ms==q&&vs==L;var Ks=-1,Vl=!0,Xu=2&j?new T_:void 0;for(Kt.set(L,q),Kt.set(q,L);++Ks<Br;){var Fu=L[Ks],Oc=q[Ks];if(Ae)var af=ur?Ae(Oc,Fu,Ks,q,L,Kt):Ae(Fu,Oc,Ks,L,q,Kt);if(void 0!==af){if(af)continue;Vl=!1;break}if(Xu){if(!Gi(q,function(lf,m_){if(!Sh(Xu,m_)&&(Fu===lf||St(Fu,lf,j,Ae,Kt)))return Xu.push(m_)})){Vl=!1;break}}else if(Fu!==Oc&&!St(Fu,Oc,j,Ae,Kt)){Vl=!1;break}}return Kt.delete(L),Kt.delete(q),Vl};var C_=s(83345);const Za=function op(L){var q=-1,j=Array(L.size);return L.forEach(function(Ae,St){j[++q]=[St,Ae]}),j},Wa=function _f(L){var q=-1,j=Array(L.size);return L.forEach(function(Ae){j[++q]=Ae}),j};var bd=ya.Z?ya.Z.prototype:void 0,dd=bd?bd.valueOf:void 0;var Jc=s(22018),Gd=Object.prototype.hasOwnProperty;var J_=s(17507),a_="[object Arguments]",Q_="[object Array]",K_="[object Object]",q_=Object.prototype.hasOwnProperty;const vm=function Th(L,q,j,Ae,St,Kt){var ur=(0,Jo.Z)(L),Br=(0,Jo.Z)(q),Ii=ur?Q_:(0,J_.Z)(L),ms=Br?Q_:(0,J_.Z)(q),vs=(Ii=Ii==a_?K_:Ii)==K_,Ks=(ms=ms==a_?K_:ms)==K_,Vl=Ii==ms;if(Vl&&(0,eu.Z)(L)){if(!(0,eu.Z)(q))return!1;ur=!0,vs=!1}if(Vl&&!vs)return Kt||(Kt=new rn.Z),ur||(0,Tu.Z)(L)?pf(L,q,j,Ae,St,Kt):function td(L,q,j,Ae,St,Kt,ur){switch(j){case"[object DataView]":if(L.byteLength!=q.byteLength||L.byteOffset!=q.byteOffset)return!1;L=L.buffer,q=q.buffer;case"[object ArrayBuffer]":return!(L.byteLength!=q.byteLength||!Kt(new C_.Z(L),new C_.Z(q)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,le.Z)(+L,+q);case"[object Error]":return L.name==q.name&&L.message==q.message;case"[object RegExp]":case"[object String]":return L==q+"";case"[object Map]":var Br=Za;case"[object Set]":if(Br||(Br=Wa),L.size!=q.size&&!(1&Ae))return!1;var ms=ur.get(L);if(ms)return ms==q;Ae|=2,ur.set(L,q);var vs=pf(Br(L),Br(q),Ae,St,Kt,ur);return ur.delete(L),vs;case"[object Symbol]":if(dd)return dd.call(L)==dd.call(q)}return!1}(L,q,Ii,j,Ae,St,Kt);if(!(1&j)){var Xu=vs&&q_.call(L,"__wrapped__"),Fu=Ks&&q_.call(q,"__wrapped__");if(Xu||Fu){var Oc=Xu?L.value():L,af=Fu?q.value():q;return Kt||(Kt=new rn.Z),St(Oc,af,j,Ae,Kt)}}return!!Vl&&(Kt||(Kt=new rn.Z),function xd(L,q,j,Ae,St,Kt){var ur=1&j,Br=(0,Jc.Z)(L),Ii=Br.length;if(Ii!=(0,Jc.Z)(q).length&&!ur)return!1;for(var Ks=Ii;Ks--;){var Vl=Br[Ks];if(!(ur?Vl in q:Gd.call(q,Vl)))return!1}var Xu=Kt.get(L),Fu=Kt.get(q);if(Xu&&Fu)return Xu==q&&Fu==L;var Oc=!0;Kt.set(L,q),Kt.set(q,L);for(var af=ur;++Ks<Ii;){var lf=L[Vl=Br[Ks]],m_=q[Vl];if(Ae)var Hh=ur?Ae(m_,lf,Vl,q,L,Kt):Ae(lf,m_,Vl,L,q,Kt);if(!(void 0===Hh?lf===m_||St(lf,m_,j,Ae,Kt):Hh)){Oc=!1;break}af||(af="constructor"==Vl)}if(Oc&&!af){var Uh=L.constructor,Wd=q.constructor;Uh!=Wd&&"constructor"in L&&"constructor"in q&&!("function"==typeof Uh&&Uh instanceof Uh&&"function"==typeof Wd&&Wd instanceof Wd)&&(Oc=!1)}return Kt.delete(L),Kt.delete(q),Oc}(L,q,j,Ae,St,Kt))},Ch=function O_(L,q,j,Ae,St){return L===q||(null==L||null==q||!(0,ys.Z)(L)&&!(0,ys.Z)(q)?L!=L&&q!=q:vm(L,q,j,Ae,O_,St))};const Mp=function lp(L){return L==L&&!(0,wu.Z)(L)};var hf=s(44409);const jf=function mf(L,q){return function(j){return null!=j&&j[L]===q&&(void 0!==q||L in Object(j))}},Nm=function jd(L){var q=function l_(L){for(var q=(0,hf.Z)(L),j=q.length;j--;){var Ae=q[j],St=L[Ae];q[j]=[Ae,St,Mp(St)]}return q}(L);return 1==q.length&&q[0][2]?jf(q[0][0],q[0][1]):function(j){return j===L||function Mh(L,q,j,Ae){var St=j.length,Kt=St,ur=!Ae;if(null==L)return!Kt;for(L=Object(L);St--;){var Br=j[St];if(ur&&Br[2]?Br[1]!==L[Br[0]]:!(Br[0]in L))return!1}for(;++St<Kt;){var Ii=(Br=j[St])[0],ms=L[Ii],vs=Br[1];if(ur&&Br[2]){if(void 0===ms&&!(Ii in L))return!1}else{var Ks=new rn.Z;if(Ae)var Vl=Ae(ms,vs,Ii,L,q,Ks);if(!(void 0===Vl?Ch(vs,ms,3,Ae,Ks):Vl))return!1}}return!0}(j,L,q)}},nf=function Qh(L,q){return null!=L&&q in Object(L)};var Op=s(19238);const Dp=function A_(L,q){return null!=L&&function Oh(L,q,j){for(var Ae=-1,St=(q=N(q,L)).length,Kt=!1;++Ae<St;){var ur=he(q[Ae]);if(!(Kt=null!=L&&j(L,ur)))break;L=L[ur]}return Kt||++Ae!=St?Kt:!!(St=null==L?0:L.length)&&(0,Op.Z)(St)&&(0,Uf.Z)(ur,St)&&((0,Jo.Z)(L)||(0,ao.Z)(L))}(L,q,nf)};const f_=function nh(L){return Lo(L)?function c_(L){return function(q){return q?.[L]}}(he(L)):function d_(L){return function(q){return Qe(q,L)}}(L)},up=function Kh(L){return"function"==typeof L?L:null==L?Pa:"object"==typeof L?(0,Jo.Z)(L)?function Yp(L,q){return Lo(L)&&Mp(q)?jf(he(L),q):function(j){var Ae=ft(j,L);return void 0===Ae&&Ae===q?Dp(j,L):Ch(q,Ae,3)}}(L[0],L[1]):Nm(L):f_(L)};var zp=function Td(L,q){return function(j,Ae){if(null==j)return j;if(!(0,rs.Z)(j))return L(j,Ae);for(var St=j.length,Kt=q?St:-1,ur=Object(j);(q?Kt--:++Kt<St)&&!1!==Ae(ur[Kt],Kt,ur););return j}}(function Dh(L,q){return L&&Qt(L,q,hf.Z)});const Ta=zp,Tc=function fd(L,q){var j;return Ta(L,function(Ae,St,Kt){return!(j=q(Ae,St,Kt))}),!!j},Cc=function p_(L,q){for(var j=-1,Ae=null==L?0:L.length;++j<Ae;)if(!q(L[j],j,L))return!1;return!0},yf=function D_(L,q){var j=!0;return Ta(L,function(Ae,St,Kt){return j=!!q(Ae,St,Kt)}),j},__=function Ff(L){return L&&L.length?L[0]:void 0},zf=function Lf(L){for(var q=-1,j=null==L?0:L.length,Ae=0,St=[];++q<j;){var Kt=L[q];Kt&&(St[Ae++]=Kt)}return St},ih=function rh(L,q,j,Ae){for(var St=L.length,Kt=j+(Ae?1:-1);Ae?Kt--:++Kt<St;)if(q(L[Kt],Kt,L))return Kt;return-1};var lc=/\s/;var Vd=/^\s+/;const h_=function Wf(L){return L&&L.slice(0,function Ku(L){for(var q=L.length;q--&&lc.test(L.charAt(q)););return q}(L)+1).replace(Vd,"")};var rf=/^[-+]0x[0-9a-f]+$/i,R_=/^0b[01]+$/i,x_=/^0o[0-7]+$/i,Jf=parseInt;const Rp=function oh(L){if("number"==typeof L)return L;if(xf(L))return NaN;if((0,wu.Z)(L)){var q="function"==typeof L.valueOf?L.valueOf():L;L=(0,wu.Z)(q)?q+"":q}if("string"!=typeof L)return 0===L?L:+L;L=h_(L);var j=R_.test(L);return j||x_.test(L)?Jf(L.slice(2),j?2:8):rf.test(L)?NaN:+L};const wd=function xp(L){var q=function sf(L){return L?1/0===(L=Rp(L))||-1/0===L?17976931348623157e292*(L<0?-1:1):L==L?L:0:0===L?L:0}(L),j=q%1;return q==q?j?q-j:q:0};var w_=Math.max,sh=function Vf(L){return function(q,j,Ae){var St=Object(q);if(!(0,rs.Z)(q)){var Kt=up(j);q=(0,hf.Z)(q),j=function(Br){return Kt(St[Br],Br,St)}}var ur=L(q,j,Ae);return ur>-1?St[Kt?q[ur]:ur]:void 0}}(function wp(L,q,j){var Ae=null==L?0:L.length;if(!Ae)return-1;var St=null==j?0:wd(j);return St<0&&(St=w_(Ae+St,0)),ih(L,up(q),St)});const pp=sh;const Sf=function Ef(L){return"string"==typeof L||!(0,Jo.Z)(L)&&(0,ys.Z)(L)&&"[object String]"==(0,Rc.Z)(L)};var Vp=s(40309);const ah=function(){return Vp.Z.Date.now()};var qh=Math.max,N_=Math.min;const em=function Qc(L,q,j){var Ae=!0,St=!0;if("function"!=typeof L)throw new TypeError("Expected a function");return(0,wu.Z)(j)&&(Ae="leading"in j?!!j.leading:Ae,St="trailing"in j?!!j.trailing:St),function wh(L,q,j){var Ae,St,Kt,ur,Br,Ii,ms=0,vs=!1,Ks=!1,Vl=!0;if("function"!=typeof L)throw new TypeError("Expected a function");function Xu(Nd){var mp=Ae,wc=St;return Ae=St=void 0,ms=Nd,ur=L.apply(wc,mp)}function af(Nd){var mp=Nd-Ii;return void 0===Ii||mp>=q||mp<0||Ks&&Nd-ms>=Kt}function lf(){var Nd=ah();if(af(Nd))return m_(Nd);Br=setTimeout(lf,function Oc(Nd){var pd=q-(Nd-Ii);return Ks?N_(pd,Kt-(Nd-ms)):pd}(Nd))}function m_(Nd){return Br=void 0,Vl&&Ae?Xu(Nd):(Ae=St=void 0,ur)}function Wd(){var Nd=ah(),mp=af(Nd);if(Ae=arguments,St=this,Ii=Nd,mp){if(void 0===Br)return function Fu(Nd){return ms=Nd,Br=setTimeout(lf,q),vs?Xu(Nd):ur}(Ii);if(Ks)return clearTimeout(Br),Br=setTimeout(lf,q),Xu(Ii)}return void 0===Br&&(Br=setTimeout(lf,q)),ur}return q=Rp(q)||0,(0,wu.Z)(j)&&(vs=!!j.leading,Kt=(Ks="maxWait"in j)?qh(Rp(j.maxWait)||0,q):Kt,Vl="trailing"in j?!!j.trailing:Vl),Wd.cancel=function Hh(){void 0!==Br&&clearTimeout(Br),ms=0,Ae=Ii=St=Br=void 0},Wd.flush=function Uh(){return void 0===Br?ur:m_(ah())},Wd}(L,q,{leading:Ae,maxWait:q,trailing:St})},lh=function _p(L){return L!=L},Im=function im(L){return null==L?[]:function nm(L,q){return Wu(q,function(j){return L[j]})}(L,(0,hf.Z)(L))};var vd=Math.max;const ym=function uh(L,q,j,Ae){L=(0,rs.Z)(L)?L:Im(L),j=j&&!Ae?wd(j):0;var St=L.length;return j<0&&(j=vd(St+j,0)),Sf(L)?j<=St&&L.indexOf(q,j)>-1:!!St&&function Ph(L,q,j){return q==q?function F_(L,q,j){for(var Ae=j-1,St=L.length;++Ae<St;)if(L[Ae]===q)return Ae;return-1}(L,q,j):ih(L,lh,j)}(L,q,j)>-1};var Np=s(15427);const Cd=function ch(L,q,j,Ae){if(!(0,wu.Z)(L))return L;for(var St=-1,Kt=(q=N(q,L)).length,ur=Kt-1,Br=L;null!=Br&&++St<Kt;){var Ii=he(q[St]),ms=j;if("__proto__"===Ii||"constructor"===Ii||"prototype"===Ii)return L;if(St!=ur){var vs=Br[Ii];void 0===(ms=Ae?Ae(vs,Ii,Br):void 0)&&(ms=(0,wu.Z)(vs)?vs:(0,Uf.Z)(q[St+1])?[]:{})}(0,Np.Z)(Br,Ii,ms),Br=Br[Ii]}return L},Fh=function Ih(L,q){return function om(L,q,j){for(var Ae=-1,St=q.length,Kt={};++Ae<St;){var ur=q[Ae],Br=Qe(L,ur);j(Br,ur)&&Cd(Kt,N(ur,L),Br)}return Kt}(L,q,function(j,Ae){return Dp(L,Ae)})};var cg=yc(function(L,q){return null==L?{}:Fh(L,q)});const L_=cg;function I(L,q){1&L&&(r.TgZ(0,"span"),r._uU(1,"loading..."),r.qZA())}const re=function(L){return{$implicit:L}};function S(L,q){if(1&L&&(r.ynx(0),r.TgZ(1,"div"),r.Hsn(2),r.qZA(),r.BQk()),2&L){const j=r.oxw();r.xp6(1),r.Udp("height",j.getTotalHeight())}}const z=function(){return{dontDetach:!0}},Oe=["*"],ut=["loadingTemplate"],On=["treeNodeTemplate"],Ar=["treeNodeWrapperTemplate"],ri=["treeNodeFullTemplate"],Di=["viewport"],Pi=function(L,q,j,Ae){return{loadingTemplate:L,treeNodeTemplate:q,treeNodeWrapperTemplate:j,treeNodeFullTemplate:Ae}};function cs(L,q){if(1&L&&r._UZ(0,"tree-node-collection",4),2&L){const j=r.oxw();r.Q6J("nodes",j.treeModel.roots)("treeModel",j.treeModel)("templates",r.l5B(3,Pi,j.loadingTemplate,j.treeNodeTemplate,j.treeNodeWrapperTemplate,j.treeNodeFullTemplate))}}function Yo(L,q){if(1&L&&r._UZ(0,"tree-node-drop-slot",5),2&L){const j=r.oxw();r.Q6J("dropIndex",0)("node",j.treeModel.virtualRoot)}}function y(L,q){if(1&L&&r._UZ(0,"tree-node-drop-slot",6),2&L){const j=r.oxw(3);r.Q6J("dropIndex",j.node.index)("node",j.node.parent)}}function x(L,q){if(1&L&&(r.TgZ(0,"div"),r.YNc(1,y,1,2,"tree-node-drop-slot",3),r._UZ(2,"tree-node-wrapper",4)(3,"tree-node-children",5)(4,"tree-node-drop-slot",6),r.qZA()),2&L){const j=r.oxw(2);r.Tol(j.node.getClass()),r.ekj("tree-node",!0)("tree-node-expanded",j.node.isExpanded&&j.node.hasChildren)("tree-node-collapsed",j.node.isCollapsed&&j.node.hasChildren)("tree-node-leaf",j.node.isLeaf)("tree-node-active",j.node.isActive)("tree-node-focused",j.node.isFocused),r.xp6(1),r.Q6J("ngIf",0===j.index),r.xp6(1),r.Q6J("node",j.node)("index",j.index)("templates",j.templates),r.xp6(1),r.Q6J("node",j.node)("templates",j.templates),r.xp6(1),r.Q6J("dropIndex",j.node.index+1)("node",j.node.parent)}}const Y=function(L,q,j,Ae){return{$implicit:L,node:q,index:j,templates:Ae}};function be(L,q){if(1&L&&(r.ynx(0),r.YNc(1,x,5,22,"div",1),r.GkF(2,2),r.BQk()),2&L){const j=r.oxw();r.xp6(1),r.Q6J("ngIf",!j.templates.treeNodeFullTemplate),r.xp6(1),r.Q6J("ngTemplateOutlet",j.templates.treeNodeFullTemplate)("ngTemplateOutletContext",r.l5B(3,Y,j.node,j.node,j.index,j.templates))}}function Ke(L,q){if(1&L&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&L){const j=r.oxw();r.xp6(1),r.Oqu(j.node.displayField)}}const xt=function(L,q,j){return{$implicit:L,node:q,index:j}};function _n(L,q){if(1&L){const j=r.EpF();r.TgZ(0,"span",3),r.NdJ("click",function(St){r.CHM(j);const Kt=r.oxw(2);return r.KtG(Kt.node.mouseAction("expanderClick",St))}),r._UZ(1,"span",4),r.qZA()}if(2&L){const j=r.oxw(2);r.ekj("toggle-children-wrapper-expanded",j.node.isExpanded)("toggle-children-wrapper-collapsed",j.node.isCollapsed)}}function In(L,q){1&L&&r._UZ(0,"span",5)}function vr(L,q){if(1&L&&(r.ynx(0),r.YNc(1,_n,2,4,"span",1),r.YNc(2,In,1,0,"span",2),r.BQk()),2&L){const j=r.oxw();r.xp6(1),r.Q6J("ngIf",j.node.hasChildren),r.xp6(1),r.Q6J("ngIf",!j.node.hasChildren)}}function Si(L,q){if(1&L&&r._UZ(0,"tree-node-collection",4),2&L){const j=r.oxw(3);r.Q6J("nodes",j.node.children)("templates",j.templates)("treeModel",j.node.treeModel)}}function Uo(L,q){if(1&L&&r._UZ(0,"tree-loading-component",5),2&L){const j=r.oxw(3);r.Udp("padding-left",j.node.getNodePadding()),r.Q6J("template",j.templates.loadingTemplate)("node",j.node)}}function Ds(L,q){if(1&L&&(r.TgZ(0,"div"),r.YNc(1,Si,1,3,"tree-node-collection",2),r.YNc(2,Uo,1,4,"tree-loading-component",3),r.qZA()),2&L){const j=r.oxw(2);r.ekj("tree-children",!0)("tree-children-no-padding",j.node.options.levelPadding),r.xp6(1),r.Q6J("ngIf",j.node.children),r.xp6(1),r.Q6J("ngIf",!j.node.children)}}function Qi(L,q){if(1&L&&(r.ynx(0),r.YNc(1,Ds,3,6,"div",1),r.BQk()),2&L){const j=r.oxw();r.xp6(1),r.Q6J("treeAnimateOpen",j.node.isExpanded)("treeAnimateOpenSpeed",j.node.options.animateSpeed)("treeAnimateOpenAcceleration",j.node.options.animateAcceleration)("treeAnimateOpenEnabled",j.node.options.animateExpand)}}function Ls(L,q){if(1&L&&r._UZ(0,"tree-node",2),2&L){const j=q.$implicit,Ae=q.index,St=r.oxw(2);r.Q6J("node",j)("index",Ae)("templates",St.templates)}}function ia(L,q){if(1&L&&(r.ynx(0),r.TgZ(1,"div"),r.YNc(2,Ls,1,3,"tree-node",1),r.qZA(),r.BQk()),2&L){const j=r.oxw();r.xp6(1),r.Udp("margin-top",j.marginTop),r.xp6(1),r.Q6J("ngForOf",j.viewportNodes)("ngForTrackBy",j.trackNode)}}function oa(L,q){if(1&L&&r._UZ(0,"tree-node-checkbox",4),2&L){const j=r.oxw(2);r.Q6J("node",j.node)}}function di(L,q){if(1&L){const j=r.EpF();r.TgZ(0,"div",2),r.YNc(1,oa,1,1,"tree-node-checkbox",3),r._UZ(2,"tree-node-expander",4),r.TgZ(3,"div",5),r.NdJ("click",function(St){r.CHM(j);const Kt=r.oxw();return r.KtG(Kt.node.mouseAction("click",St))})("dblclick",function(St){r.CHM(j);const Kt=r.oxw();return r.KtG(Kt.node.mouseAction("dblClick",St))})("mouseover",function(St){r.CHM(j);const Kt=r.oxw();return r.KtG(Kt.node.mouseAction("mouseOver",St))})("mouseout",function(St){r.CHM(j);const Kt=r.oxw();return r.KtG(Kt.node.mouseAction("mouseOut",St))})("contextmenu",function(St){r.CHM(j);const Kt=r.oxw();return r.KtG(Kt.node.mouseAction("contextMenu",St))})("treeDrop",function(St){r.CHM(j);const Kt=r.oxw();return r.KtG(Kt.node.onDrop(St))})("treeDropDragOver",function(St){r.CHM(j);const Kt=r.oxw();return r.KtG(Kt.node.mouseAction("dragOver",St))})("treeDropDragLeave",function(St){r.CHM(j);const Kt=r.oxw();return r.KtG(Kt.node.mouseAction("dragLeave",St))})("treeDropDragEnter",function(St){r.CHM(j);const Kt=r.oxw();return r.KtG(Kt.node.mouseAction("dragEnter",St))}),r._UZ(4,"tree-node-content",6),r.qZA()()}if(2&L){const j=r.oxw();r.Udp("padding-left",j.node.getNodePadding()),r.xp6(1),r.Q6J("ngIf",j.node.options.useCheckbox),r.xp6(1),r.Q6J("node",j.node),r.xp6(1),r.ekj("node-content-wrapper-active",j.node.isActive)("node-content-wrapper-focused",j.node.isFocused),r.Q6J("treeAllowDrop",j.node.allowDrop)("allowDragoverStyling",j.node.allowDragoverStyling())("treeDrag",j.node)("treeDragEnabled",j.node.allowDrag()),r.xp6(1),r.Q6J("node",j.node)("index",j.index)("template",j.templates.treeNodeTemplate)}}function Wr(L,q){if(1&L){const j=r.EpF();r.ynx(0),r.TgZ(1,"input",1),r.NdJ("click",function(St){r.CHM(j);const Kt=r.oxw();return r.KtG(Kt.node.mouseAction("checkboxClick",St))}),r.qZA(),r.BQk()}if(2&L){const j=r.oxw();r.xp6(1),r.Q6J("checked",j.node.isSelected)("indeterminate",j.node.isPartiallySelected)}}let si=(()=>{class L{constructor(j,Ae){this.templateRef=j,this.viewContainer=Ae,this.templateBindings={}}ngOnInit(){this.view=this.viewContainer.createEmbeddedView(this.templateRef),this.dispose&&this.dispose(),this.shouldDetach()&&this.view.detach(),this.autoDetect(this.view)}shouldDetach(){return this.treeMobxAutorun&&this.treeMobxAutorun.detach}autoDetect(j){this.dispose=vi(()=>j.detectChanges())}ngOnDestroy(){this.dispose&&this.dispose()}}return L.\u0275fac=function(j){return new(j||L)(r.Y36(r.Rgc),r.Y36(r.s_b))},L.\u0275dir=r.lG2({type:L,selectors:[["","treeMobxAutorun",""]],inputs:{treeMobxAutorun:"treeMobxAutorun"}}),L})();const Tf={TOGGLE_ACTIVE:(L,q,j)=>q&&q.toggleActivated(),TOGGLE_ACTIVE_MULTI:(L,q,j)=>q&&q.toggleActivated(!0),TOGGLE_SELECTED:(L,q,j)=>q&&q.toggleSelected(),ACTIVATE:(L,q,j)=>q.setIsActive(!0),DEACTIVATE:(L,q,j)=>q.setIsActive(!1),SELECT:(L,q,j)=>q.setIsSelected(!0),DESELECT:(L,q,j)=>q.setIsSelected(!1),FOCUS:(L,q,j)=>q.focus(),TOGGLE_EXPANDED:(L,q,j)=>q.hasChildren&&q.toggleExpanded(),EXPAND:(L,q,j)=>q.expand(),COLLAPSE:(L,q,j)=>q.collapse(),DRILL_DOWN:(L,q,j)=>L.focusDrillDown(),DRILL_UP:(L,q,j)=>L.focusDrillUp(),NEXT_NODE:(L,q,j)=>L.focusNextNode(),PREVIOUS_NODE:(L,q,j)=>L.focusPreviousNode(),MOVE_NODE:(L,q,j,{from:Ae,to:St})=>{j.ctrlKey?L.copyNode(Ae,St):L.moveNode(Ae,St)}},fh={mouse:{click:Tf.TOGGLE_ACTIVE,dblClick:null,contextMenu:null,expanderClick:Tf.TOGGLE_EXPANDED,checkboxClick:Tf.TOGGLE_SELECTED,drop:Tf.MOVE_NODE},keys:{39:Tf.DRILL_DOWN,37:Tf.DRILL_UP,40:Tf.NEXT_NODE,38:Tf.PREVIOUS_NODE,32:Tf.TOGGLE_ACTIVE,13:Tf.TOGGLE_ACTIVE}};class sm{constructor(q={}){this.options=q,this.actionMapping=gd({},this.options.actionMapping,fh),q.rtl&&(this.actionMapping.keys[39]=ft(q,["actionMapping","keys",39])||Tf.DRILL_UP,this.actionMapping.keys[37]=ft(q,["actionMapping","keys",37])||Tf.DRILL_DOWN)}get hasChildrenField(){return this.options.hasChildrenField||"hasChildren"}get childrenField(){return this.options.childrenField||"children"}get displayField(){return this.options.displayField||"name"}get idField(){return this.options.idField||"id"}get isExpandedField(){return this.options.isExpandedField||"isExpanded"}get getChildren(){return this.options.getChildren}get levelPadding(){return this.options.levelPadding||0}get useVirtualScroll(){return this.options.useVirtualScroll}get animateExpand(){return this.options.animateExpand}get animateSpeed(){return this.options.animateSpeed||1}get animateAcceleration(){return this.options.animateAcceleration||1.2}get scrollOnActivate(){return void 0===this.options.scrollOnActivate||this.options.scrollOnActivate}get rtl(){return!!this.options.rtl}get rootId(){return this.options.rootId}get useCheckbox(){return this.options.useCheckbox}get useTriState(){return void 0===this.options.useTriState||this.options.useTriState}get scrollContainer(){return this.options.scrollContainer}get allowDragoverStyling(){return void 0===this.options.allowDragoverStyling||this.options.allowDragoverStyling}getNodeClone(q){return this.options.getNodeClone?this.options.getNodeClone(q):Ce(Object.assign({},q.data),["id"])}allowDrop(q,j,Ae){return this.options.allowDrop instanceof Function?this.options.allowDrop(q,j,Ae):void 0===this.options.allowDrop||this.options.allowDrop}allowDrag(q){return this.options.allowDrag instanceof Function?this.options.allowDrag(q):this.options.allowDrag}nodeClass(q){return this.options.nodeClass?this.options.nodeClass(q):""}nodeHeight(q){if(q.data.virtual)return 0;let j=this.options.nodeHeight||22;return"function"==typeof j&&(j=j(q)),j+(0===q.index?2:1)*this.dropSlotHeight}get dropSlotHeight(){return function $t(L){return"number"==typeof L||(0,ys.Z)(L)&&"[object Number]"==(0,Rc.Z)(L)}(this.options.dropSlotHeight)?this.options.dropSlotHeight:2}}const nd={toggleExpanded:"toggleExpanded",activate:"activate",deactivate:"deactivate",nodeActivate:"nodeActivate",nodeDeactivate:"nodeDeactivate",select:"select",deselect:"deselect",focus:"focus",blur:"blur",initialized:"initialized",updateData:"updateData",moveNode:"moveNode",copyNode:"copyNode",event:"event",loadNodeChildren:"loadNodeChildren",changeFilter:"changeFilter",stateChange:"stateChange"};var Zd=function(L,q,j,Ae){var ur,St=arguments.length,Kt=St<3?q:null===Ae?Ae=Object.getOwnPropertyDescriptor(q,j):Ae;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Kt=Reflect.decorate(L,q,j,Ae);else for(var Br=L.length-1;Br>=0;Br--)(ur=L[Br])&&(Kt=(St<3?ur(Kt):St>3?ur(q,j,Kt):ur(q,j))||Kt);return St>3&&Kt&&Object.defineProperty(q,j,Kt),Kt},hc=function(L,q){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(L,q)};let _g=(()=>{class L{constructor(j,Ae,St,Kt){this.data=j,this.parent=Ae,this.treeModel=St,this.position=0,this.allowDrop=(ur,Br)=>this.options.allowDrop(ur,{parent:this,index:0},Br),this.allowDragoverStyling=()=>this.options.allowDragoverStyling,null==this.id&&(this.id=function hg(){return Math.floor(1e13*Math.random())}()),this.index=Kt,this.getField("children")&&this._initChildren(),this.autoLoadChildren()}get isHidden(){return this.treeModel.isHidden(this)}get isExpanded(){return this.treeModel.isExpanded(this)}get isActive(){return this.treeModel.isActive(this)}get isFocused(){return this.treeModel.isNodeFocused(this)}get isSelected(){return this.isSelectable()?this.treeModel.isSelected(this):function Zs(L,q,j){var Ae=(0,Jo.Z)(L)?Gi:Tc;return j&&Uc(L,q,j)&&(q=void 0),Ae(L,up(q))}(this.children,j=>j.isSelected)}get isAllSelected(){return this.isSelectable()?this.treeModel.isSelected(this):function cp(L,q,j){var Ae=(0,Jo.Z)(L)?Cc:yf;return j&&Uc(L,q,j)&&(q=void 0),Ae(L,up(q))}(this.children,j=>j.isAllSelected)}get isPartiallySelected(){return this.isSelected&&!this.isAllSelected}get level(){return this.parent?this.parent.level+1:0}get path(){return this.parent?[...this.parent.path,this.id]:[]}get elementRef(){throw"Element Ref is no longer supported since introducing virtual scroll\n\n You may use a template to obtain a reference to the element"}get originalNode(){return this._originalNode}get hasChildren(){return!!(this.getField("hasChildren")||this.children&&this.children.length>0)}get isCollapsed(){return!this.isExpanded}get isLeaf(){return!this.hasChildren}get isRoot(){return this.parent.data.virtual}get realParent(){return this.isRoot?null:this.parent}get options(){return this.treeModel.options}fireEvent(j){this.treeModel.fireEvent(j)}get displayField(){return this.getField("display")}get id(){return this.getField("id")}set id(j){this.setField("id",j)}getField(j){return this.data[this.options[`${j}Field`]]}setField(j,Ae){this.data[this.options[`${j}Field`]]=Ae}_findAdjacentSibling(j,Ae=!1){const St=this._getParentsChildren(Ae),Kt=St.indexOf(this);return St.length>Kt+j?St[Kt+j]:null}findNextSibling(j=!1){return this._findAdjacentSibling(1,j)}findPreviousSibling(j=!1){return this._findAdjacentSibling(-1,j)}getVisibleChildren(){return this.visibleChildren}get visibleChildren(){return(this.children||[]).filter(j=>!j.isHidden)}getFirstChild(j=!1){return __((j?this.visibleChildren:this.children)||[])}getLastChild(j=!1){return Cn((j?this.visibleChildren:this.children)||[])}findNextNode(j=!0,Ae=!1){return j&&this.isExpanded&&this.getFirstChild(Ae)||this.findNextSibling(Ae)||this.parent&&this.parent.findNextNode(!1,Ae)}findPreviousNode(j=!1){let Ae=this.findPreviousSibling(j);return Ae?Ae._getLastOpenDescendant(j):this.realParent}_getLastOpenDescendant(j=!1){const Ae=this.getLastChild(j);return this.isCollapsed||!Ae?this:Ae._getLastOpenDescendant(j)}_getParentsChildren(j=!1){return this.parent&&(j?this.parent.getVisibleChildren():this.parent.children)||[]}getIndexInParent(j=!1){return this._getParentsChildren(j).indexOf(this)}isDescendantOf(j){return this===j||this.parent&&this.parent.isDescendantOf(j)}getNodePadding(){return this.options.levelPadding*(this.level-1)+"px"}getClass(){return[this.options.nodeClass(this),`tree-node-level-${this.level}`].join(" ")}onDrop(j){this.mouseAction("drop",j.event,{from:j.element,to:{parent:this,index:0,dropOnNode:!0}})}allowDrag(){return this.options.allowDrag(this)}loadNodeChildren(){return this.options.getChildren?Promise.resolve(this.options.getChildren(this)).then(j=>{j&&(this.setField("children",j),this._initChildren(),this.options.useTriState&&this.treeModel.isSelected(this)&&this.setIsSelected(!0),this.children.forEach(Ae=>{Ae.getField("isExpanded")&&Ae.hasChildren&&Ae.expand()}))}).then(()=>{this.fireEvent({eventName:nd.loadNodeChildren,node:this})}):Promise.resolve()}expand(){return this.isExpanded||this.toggleExpanded(),this}collapse(){return this.isExpanded&&this.toggleExpanded(),this}doForAll(j){Promise.resolve(j(this)).then(()=>{this.children&&this.children.forEach(Ae=>Ae.doForAll(j))})}expandAll(){this.doForAll(j=>j.expand())}collapseAll(){this.doForAll(j=>j.collapse())}ensureVisible(){return this.realParent&&(this.realParent.expand(),this.realParent.ensureVisible()),this}toggleExpanded(){return this.setIsExpanded(!this.isExpanded),this}setIsExpanded(j){return this.hasChildren&&this.treeModel.setExpandedNode(this,j),this}autoLoadChildren(){this.handler=ws(()=>this.isExpanded,j=>{!this.children&&this.hasChildren&&j&&this.loadNodeChildren()},{fireImmediately:!0})}dispose(){this.children&&this.children.forEach(j=>j.dispose()),this.handler&&this.handler(),this.parent=null,this.children=null}setIsActive(j,Ae=!1){return this.treeModel.setActiveNode(this,j,Ae),j&&this.focus(this.options.scrollOnActivate),this}isSelectable(){return this.isLeaf||!this.children||!this.options.useTriState}setIsSelected(j){return this.isSelectable()?this.treeModel.setSelectedNode(this,j):this.visibleChildren.forEach(Ae=>Ae.setIsSelected(j)),this}toggleSelected(){return this.setIsSelected(!this.isSelected),this}toggleActivated(j=!1){return this.setIsActive(!this.isActive,j),this}setActiveAndVisible(j=!1){return this.setIsActive(!0,j).ensureVisible(),setTimeout(this.scrollIntoView.bind(this)),this}scrollIntoView(j=!1){this.treeModel.virtualScroll.scrollIntoView(this,j)}focus(j=!0){let Ae=this.treeModel.getFocusedNode();return this.treeModel.setFocusedNode(this),j&&this.scrollIntoView(),Ae&&this.fireEvent({eventName:nd.blur,node:Ae}),this.fireEvent({eventName:nd.focus,node:this}),this}blur(){let j=this.treeModel.getFocusedNode();return this.treeModel.setFocusedNode(null),j&&this.fireEvent({eventName:nd.blur,node:this}),this}setIsHidden(j){this.treeModel.setIsHidden(this,j)}hide(){this.setIsHidden(!0)}show(){this.setIsHidden(!1)}mouseAction(j,Ae,St=null){this.treeModel.setFocus(!0);const ur=this.options.actionMapping.mouse[j];ur&&ur(this.treeModel,this,Ae,St)}getSelfHeight(){return this.options.nodeHeight(this)}_initChildren(){this.children=this.getField("children").map((j,Ae)=>new L(j,this,this.treeModel,Ae))}}return Zd([ze,hc("design:type",Object),hc("design:paramtypes",[])],L.prototype,"isHidden",null),Zd([ze,hc("design:type",Object),hc("design:paramtypes",[])],L.prototype,"isExpanded",null),Zd([ze,hc("design:type",Object),hc("design:paramtypes",[])],L.prototype,"isActive",null),Zd([ze,hc("design:type",Object),hc("design:paramtypes",[])],L.prototype,"isFocused",null),Zd([ze,hc("design:type",Object),hc("design:paramtypes",[])],L.prototype,"isSelected",null),Zd([ze,hc("design:type",Object),hc("design:paramtypes",[])],L.prototype,"isAllSelected",null),Zd([ze,hc("design:type",Object),hc("design:paramtypes",[])],L.prototype,"isPartiallySelected",null),Zd([jt,hc("design:type",Array)],L.prototype,"children",void 0),Zd([jt,hc("design:type",Number)],L.prototype,"index",void 0),Zd([jt,hc("design:type",Object)],L.prototype,"position",void 0),Zd([jt,hc("design:type",Number)],L.prototype,"height",void 0),Zd([ze,hc("design:type",Number),hc("design:paramtypes",[])],L.prototype,"level",null),Zd([ze,hc("design:type",Array),hc("design:paramtypes",[])],L.prototype,"path",null),Zd([ze,hc("design:type",Object),hc("design:paramtypes",[])],L.prototype,"visibleChildren",null),Zd([ie,hc("design:type",Function),hc("design:paramtypes",[Object]),hc("design:returntype",void 0)],L.prototype,"setIsSelected",null),Zd([ie,hc("design:type",Function),hc("design:paramtypes",[]),hc("design:returntype",void 0)],L.prototype,"_initChildren",null),L})();var Iu=function(L,q,j,Ae){var ur,St=arguments.length,Kt=St<3?q:null===Ae?Ae=Object.getOwnPropertyDescriptor(q,j):Ae;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Kt=Reflect.decorate(L,q,j,Ae);else for(var Br=L.length-1;Br>=0;Br--)(ur=L[Br])&&(Kt=(St<3?ur(Kt):St>3?ur(q,j,Kt):ur(q,j))||Kt);return St>3&&Kt&&Object.defineProperty(q,j,Kt),Kt},Es=function(L,q){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(L,q)};let gu=(()=>{class L{constructor(){this.options=new sm,this.eventNames=Object.keys(nd),this.expandedNodeIds={},this.selectedLeafNodeIds={},this.activeNodeIds={},this.hiddenNodeIds={},this.focusedNodeId=null,this.firstUpdate=!0,this.subscriptions=[]}fireEvent(j){j.treeModel=this,this.events[j.eventName].emit(j),this.events.event.emit(j)}subscribe(j,Ae){const St=this.events[j].subscribe(Ae);this.subscriptions.push(St)}getFocusedNode(){return this.focusedNode}getActiveNode(){return this.activeNodes[0]}getActiveNodes(){return this.activeNodes}getVisibleRoots(){return this.virtualRoot.visibleChildren}getFirstRoot(j=!1){return __(j?this.getVisibleRoots():this.roots)}getLastRoot(j=!1){return Cn(j?this.getVisibleRoots():this.roots)}get isFocused(){return L.focusedTree===this}isNodeFocused(j){return this.focusedNode===j}isEmptyTree(){return this.roots&&0===this.roots.length}get focusedNode(){return this.focusedNodeId?this.getNodeById(this.focusedNodeId):null}get expandedNodes(){const j=Object.keys(this.expandedNodeIds).filter(Ae=>this.expandedNodeIds[Ae]).map(Ae=>this.getNodeById(Ae));return zf(j)}get activeNodes(){const j=Object.keys(this.activeNodeIds).filter(Ae=>this.activeNodeIds[Ae]).map(Ae=>this.getNodeById(Ae));return zf(j)}get hiddenNodes(){const j=Object.keys(this.hiddenNodeIds).filter(Ae=>this.hiddenNodeIds[Ae]).map(Ae=>this.getNodeById(Ae));return zf(j)}get selectedLeafNodes(){const j=Object.keys(this.selectedLeafNodeIds).filter(Ae=>this.selectedLeafNodeIds[Ae]).map(Ae=>this.getNodeById(Ae));return zf(j)}getNodeByPath(j,Ae=null){if(!j)return null;if(Ae=Ae||this.virtualRoot,0===j.length)return Ae;if(!Ae.children)return null;const St=j.shift(),Kt=pp(Ae.children,{id:St});return Kt?this.getNodeByPath(j,Kt):null}getNodeById(j){const Ae=j.toString();return this.getNodeBy(St=>St.id.toString()===Ae)}getNodeBy(j,Ae=null){if(!(Ae=Ae||this.virtualRoot).children)return null;const St=pp(Ae.children,j);if(St)return St;for(let Kt of Ae.children){const ur=this.getNodeBy(j,Kt);if(ur)return ur}}isExpanded(j){return this.expandedNodeIds[j.id]}isHidden(j){return this.hiddenNodeIds[j.id]}isActive(j){return this.activeNodeIds[j.id]}isSelected(j){return this.selectedLeafNodeIds[j.id]}ngOnDestroy(){this.dispose(),this.unsubscribeAll()}dispose(){this.virtualRoot&&this.virtualRoot.dispose()}unsubscribeAll(){this.subscriptions.forEach(j=>j.unsubscribe()),this.subscriptions=[]}setData({nodes:j,options:Ae=null,events:St=null}){Ae&&(this.options=new sm(Ae)),St&&(this.events=St),j&&(this.nodes=j),this.update()}update(){let j={id:this.options.rootId,virtual:!0,[this.options.childrenField]:this.nodes};this.dispose(),this.virtualRoot=new _g(j,null,this,0),this.roots=this.virtualRoot.children,this.firstUpdate?this.roots&&(this.firstUpdate=!1,this._calculateExpandedNodes()):this.fireEvent({eventName:nd.updateData})}setFocusedNode(j){this.focusedNodeId=j?j.id:null}setFocus(j){L.focusedTree=j?this:null}doForAll(j){this.roots.forEach(Ae=>Ae.doForAll(j))}focusNextNode(){let j=this.getFocusedNode(),Ae=j?j.findNextNode(!0,!0):this.getFirstRoot(!0);Ae&&Ae.focus()}focusPreviousNode(){let j=this.getFocusedNode(),Ae=j?j.findPreviousNode(!0):this.getLastRoot(!0);Ae&&Ae.focus()}focusDrillDown(){let j=this.getFocusedNode();if(j&&j.isCollapsed&&j.hasChildren)j.toggleExpanded();else{let Ae=j?j.getFirstChild(!0):this.getFirstRoot(!0);Ae&&Ae.focus()}}focusDrillUp(){let j=this.getFocusedNode();if(j)if(j.isExpanded)j.toggleExpanded();else{let Ae=j.realParent;Ae&&Ae.focus()}}setActiveNode(j,Ae,St=!1){St?this._setActiveNodeMulti(j,Ae):this._setActiveNodeSingle(j,Ae),Ae?(j.focus(this.options.scrollOnActivate),this.fireEvent({eventName:nd.activate,node:j}),this.fireEvent({eventName:nd.nodeActivate,node:j})):(this.fireEvent({eventName:nd.deactivate,node:j}),this.fireEvent({eventName:nd.nodeDeactivate,node:j}))}setSelectedNode(j,Ae){this.selectedLeafNodeIds=Object.assign({},this.selectedLeafNodeIds,{[j.id]:Ae}),Ae?(j.focus(),this.fireEvent({eventName:nd.select,node:j})):this.fireEvent({eventName:nd.deselect,node:j})}setExpandedNode(j,Ae){this.expandedNodeIds=Object.assign({},this.expandedNodeIds,{[j.id]:Ae}),this.fireEvent({eventName:nd.toggleExpanded,node:j,isExpanded:Ae})}expandAll(){this.roots.forEach(j=>j.expandAll())}collapseAll(){this.roots.forEach(j=>j.collapseAll())}setIsHidden(j,Ae){this.hiddenNodeIds=Object.assign({},this.hiddenNodeIds,{[j.id]:Ae})}setHiddenNodeIds(j){this.hiddenNodeIds=j.reduce((Ae,St)=>Object.assign(Ae,{[St]:!0}),{})}performKeyAction(j,Ae){const St=this.options.actionMapping.keys[Ae.keyCode];return!!St&&(Ae.preventDefault(),St(this,j,Ae),!0)}filterNodes(j,Ae=!0){let St;if(!j)return this.clearFilter();if(Sf(j))St=ur=>-1!==ur.displayField.toLowerCase().indexOf(j.toLowerCase());else{if(!(0,mu.Z)(j))return console.error("Don't know what to do with filter",j),void console.error("Should be either a string or function");St=j}const Kt={};this.roots.forEach(ur=>this._filterNode(Kt,ur,St,Ae)),this.hiddenNodeIds=Kt,this.fireEvent({eventName:nd.changeFilter})}clearFilter(){this.hiddenNodeIds={},this.fireEvent({eventName:nd.changeFilter})}moveNode(j,Ae){const St=j.getIndexInParent(),Kt=j.parent;if(!this.canMoveNode(j,Ae,St))return;const ur=Kt.getField("children");Ae.parent.getField("children")||Ae.parent.setField("children",[]);const Br=Ae.parent.getField("children"),Ii=ur.splice(St,1)[0];let ms=Kt===Ae.parent&&Ae.index>St?Ae.index-1:Ae.index;Br.splice(ms,0,Ii),Kt.treeModel.update(),Ae.parent.treeModel!==Kt.treeModel&&Ae.parent.treeModel.update(),this.fireEvent({eventName:nd.moveNode,node:Ii,to:{parent:Ae.parent.data,index:ms},from:{parent:Kt.data,index:St}})}copyNode(j,Ae){const St=j.getIndexInParent();if(!this.canMoveNode(j,Ae,St))return;Ae.parent.getField("children")||Ae.parent.setField("children",[]);const Kt=Ae.parent.getField("children"),ur=this.options.getNodeClone(j);Kt.splice(Ae.index,0,ur),j.treeModel.update(),Ae.parent.treeModel!==j.treeModel&&Ae.parent.treeModel.update(),this.fireEvent({eventName:nd.copyNode,node:ur,to:{parent:Ae.parent.data,index:Ae.index}})}getState(){return{expandedNodeIds:this.expandedNodeIds,selectedLeafNodeIds:this.selectedLeafNodeIds,activeNodeIds:this.activeNodeIds,hiddenNodeIds:this.hiddenNodeIds,focusedNodeId:this.focusedNodeId}}setState(j){j&&Object.assign(this,{expandedNodeIds:j.expandedNodeIds||{},selectedLeafNodeIds:j.selectedLeafNodeIds||{},activeNodeIds:j.activeNodeIds||{},hiddenNodeIds:j.hiddenNodeIds||{},focusedNodeId:j.focusedNodeId})}subscribeToState(j){vi(()=>j(this.getState()))}canMoveNode(j,Ae,St){return St||j.getIndexInParent(),(j.parent!==Ae.parent||St!==Ae.index)&&!Ae.parent.isDescendantOf(j)}calculateExpandedNodes(){this._calculateExpandedNodes()}_filterNode(j,Ae,St,Kt){let ur=St(Ae);return Ae.children&&Ae.children.forEach(Br=>{this._filterNode(j,Br,St,Kt)&&(ur=!0)}),ur||(j[Ae.id]=!0),Kt&&ur&&Ae.ensureVisible(),ur}_calculateExpandedNodes(j=null){(j=j||this.virtualRoot).data[this.options.isExpandedField]&&(this.expandedNodeIds=Object.assign({},this.expandedNodeIds,{[j.id]:!0})),j.children&&j.children.forEach(Ae=>this._calculateExpandedNodes(Ae))}_setActiveNodeSingle(j,Ae){this.activeNodes.filter(St=>St!==j).forEach(St=>{this.fireEvent({eventName:nd.deactivate,node:St}),this.fireEvent({eventName:nd.nodeDeactivate,node:St})}),this.activeNodeIds=Ae?{[j.id]:!0}:{}}_setActiveNodeMulti(j,Ae){this.activeNodeIds=Object.assign({},this.activeNodeIds,{[j.id]:Ae})}}return L.\u0275fac=function(j){return new(j||L)},L.\u0275prov=r.Yz7({token:L,factory:L.\u0275fac}),L.focusedTree=null,L})();Iu([jt,Es("design:type",Array)],gu.prototype,"roots",void 0),Iu([jt,Es("design:type",Object)],gu.prototype,"expandedNodeIds",void 0),Iu([jt,Es("design:type",Object)],gu.prototype,"selectedLeafNodeIds",void 0),Iu([jt,Es("design:type",Object)],gu.prototype,"activeNodeIds",void 0),Iu([jt,Es("design:type",Object)],gu.prototype,"hiddenNodeIds",void 0),Iu([jt,Es("design:type",Object)],gu.prototype,"focusedNodeId",void 0),Iu([jt,Es("design:type",_g)],gu.prototype,"virtualRoot",void 0),Iu([ze,Es("design:type",Object),Es("design:paramtypes",[])],gu.prototype,"focusedNode",null),Iu([ze,Es("design:type",Object),Es("design:paramtypes",[])],gu.prototype,"expandedNodes",null),Iu([ze,Es("design:type",Object),Es("design:paramtypes",[])],gu.prototype,"activeNodes",null),Iu([ze,Es("design:type",Object),Es("design:paramtypes",[])],gu.prototype,"hiddenNodes",null),Iu([ze,Es("design:type",Object),Es("design:paramtypes",[])],gu.prototype,"selectedLeafNodes",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[Object]),Es("design:returntype",void 0)],gu.prototype,"setData",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],gu.prototype,"update",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[Object]),Es("design:returntype",void 0)],gu.prototype,"setFocusedNode",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[Object]),Es("design:returntype",void 0)],gu.prototype,"setFocus",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[Object]),Es("design:returntype",void 0)],gu.prototype,"doForAll",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],gu.prototype,"focusNextNode",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],gu.prototype,"focusPreviousNode",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],gu.prototype,"focusDrillDown",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],gu.prototype,"focusDrillUp",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[Object,Object,Object]),Es("design:returntype",void 0)],gu.prototype,"setActiveNode",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[Object,Object]),Es("design:returntype",void 0)],gu.prototype,"setSelectedNode",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[Object,Object]),Es("design:returntype",void 0)],gu.prototype,"setExpandedNode",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],gu.prototype,"expandAll",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],gu.prototype,"collapseAll",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[Object,Object]),Es("design:returntype",void 0)],gu.prototype,"setIsHidden",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[Object]),Es("design:returntype",void 0)],gu.prototype,"setHiddenNodeIds",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[Object,Object]),Es("design:returntype",void 0)],gu.prototype,"filterNodes",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[]),Es("design:returntype",void 0)],gu.prototype,"clearFilter",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[Object,Object]),Es("design:returntype",void 0)],gu.prototype,"moveNode",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[Object,Object]),Es("design:returntype",void 0)],gu.prototype,"copyNode",null),Iu([ie,Es("design:type",Function),Es("design:paramtypes",[Object]),Es("design:returntype",void 0)],gu.prototype,"setState",null);let km=(()=>{class L{constructor(){this._draggedElement=null}set(j){this._draggedElement=j}get(){return this._draggedElement}isDragging(){return!!this.get()}}return L.\u0275fac=function(j){return new(j||L)},L.\u0275prov=(0,r.Yz7)({factory:function(){return new L},token:L,providedIn:"root"}),L})();var k_=function(L,q,j,Ae){var ur,St=arguments.length,Kt=St<3?q:null===Ae?Ae=Object.getOwnPropertyDescriptor(q,j):Ae;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Kt=Reflect.decorate(L,q,j,Ae);else for(var Br=L.length-1;Br>=0;Br--)(ur=L[Br])&&(Kt=(St<3?ur(Kt):St>3?ur(q,j,Kt):ur(q,j))||Kt);return St>3&&Kt&&Object.defineProperty(q,j,Kt),Kt},Pd=function(L,q){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(L,q)};let Fp=(()=>{class L{constructor(j){this.treeModel=j,this.yBlocks=0,this.x=0,this.viewportHeight=null,this.viewport=null,j.virtualScroll=this,this._dispose=[vi(()=>this.fixScroll())]}get y(){return 150*this.yBlocks}get totalHeight(){return this.treeModel.virtualRoot?this.treeModel.virtualRoot.height:0}fireEvent(j){this.treeModel.fireEvent(j)}init(){const j=this.recalcPositions.bind(this);j(),this._dispose=[...this._dispose,ws(()=>this.treeModel.roots,j),ws(()=>this.treeModel.expandedNodeIds,j),ws(()=>this.treeModel.hiddenNodeIds,j)],this.treeModel.subscribe(nd.loadNodeChildren,j)}isEnabled(){return this.treeModel.options.useVirtualScroll}_setYBlocks(j){this.yBlocks=j}recalcPositions(){this.treeModel.virtualRoot.height=this._getPositionAfter(this.treeModel.getVisibleRoots(),0)}_getPositionAfter(j,Ae){let St=Ae;return j.forEach(Kt=>{Kt.position=St,St=this._getPositionAfterNode(Kt,St)}),St}_getPositionAfterNode(j,Ae){let St=j.getSelfHeight()+Ae;return j.children&&j.isExpanded&&(St=this._getPositionAfter(j.visibleChildren,St)),j.height=St-Ae,St}clear(){this._dispose.forEach(j=>j())}setViewport(j){Object.assign(this,{viewport:j,x:j.scrollLeft,yBlocks:Math.round(j.scrollTop/150),viewportHeight:j.getBoundingClientRect?j.getBoundingClientRect().height:0})}scrollIntoView(j,Ae,St=!0){if(j.options.scrollContainer){const Kt=j.options.scrollContainer,ur=Kt.getBoundingClientRect().height,Br=Kt.getBoundingClientRect().top,Ii=this.viewport.getBoundingClientRect().top+j.position-Br;(Ae||Ii<Kt.scrollTop||Ii+j.getSelfHeight()>Kt.scrollTop+ur)&&(Kt.scrollTop=St?Ii-ur/2:Ii)}else(Ae||j.position<this.y||j.position+j.getSelfHeight()>this.y+this.viewportHeight)&&this.viewport&&(this.viewport.scrollTop=St?j.position-this.viewportHeight/2:j.position,this._setYBlocks(Math.floor(this.viewport.scrollTop/150)))}getViewportNodes(j){if(!j)return[];const Ae=j.filter(ms=>!ms.isHidden);if(!this.isEnabled())return Ae;if(!this.viewportHeight||!Ae.length)return[];const St=Lg(Ae,ms=>ms.position+500>this.y||ms.position+ms.height>this.y),Kt=Lg(Ae,ms=>ms.position-500>this.y+this.viewportHeight,St),ur=[];if(Kt-St>(1e3+this.viewportHeight)/Ae[0].treeModel.options.options.nodeHeight)return[];for(let ms=St;ms<=Kt;ms++)ur.push(Ae[ms]);return ur}fixScroll(){const j=Math.max(0,this.totalHeight-this.viewportHeight);this.y<0&&this._setYBlocks(0),this.y>j&&this._setYBlocks(j/150)}}return L.\u0275fac=function(j){return new(j||L)(r.LFG(gu))},L.\u0275prov=r.Yz7({token:L,factory:L.\u0275fac}),L})();function Lg(L,q,j=0){let Ae=j,St=L.length-1;for(;Ae!==St;){let Kt=Math.floor((Ae+St)/2);q(L[Kt])?St=Kt:Ae=Ae===Kt?St:Kt}return Ae}k_([jt,Pd("design:type",Object)],Fp.prototype,"yBlocks",void 0),k_([jt,Pd("design:type",Object)],Fp.prototype,"x",void 0),k_([jt,Pd("design:type",Object)],Fp.prototype,"viewportHeight",void 0),k_([ze,Pd("design:type",Object),Pd("design:paramtypes",[])],Fp.prototype,"y",null),k_([ze,Pd("design:type",Object),Pd("design:paramtypes",[])],Fp.prototype,"totalHeight",null),k_([ie,Pd("design:type",Function),Pd("design:paramtypes",[Object]),Pd("design:returntype",void 0)],Fp.prototype,"_setYBlocks",null),k_([ie,Pd("design:type",Function),Pd("design:paramtypes",[]),Pd("design:returntype",void 0)],Fp.prototype,"recalcPositions",null),k_([ie,Pd("design:type",Function),Pd("design:paramtypes",[Object]),Pd("design:returntype",void 0)],Fp.prototype,"setViewport",null),k_([ie,Pd("design:type",Function),Pd("design:paramtypes",[Object,Object,Object]),Pd("design:returntype",void 0)],Fp.prototype,"scrollIntoView",null);let S1=(()=>{class L{}return L.\u0275fac=function(j){return new(j||L)},L.\u0275cmp=r.Xpm({type:L,selectors:[["tree-loading-component"]],inputs:{template:"template",node:"node"},decls:2,vars:5,consts:[[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(j,Ae){1&j&&(r.YNc(0,I,2,0,"span",0),r.GkF(1,1)),2&j&&(r.Q6J("ngIf",!Ae.template),r.xp6(1),r.Q6J("ngTemplateOutlet",Ae.template)("ngTemplateOutletContext",r.VKq(3,re,Ae.node)))},dependencies:[a.O5,a.tP],encapsulation:2}),L})(),Hm=(()=>{class L{constructor(j,Ae,St){this.elementRef=j,this.ngZone=Ae,this.virtualScroll=St,this.setViewport=em(()=>{this.virtualScroll.setViewport(this.elementRef.nativeElement)},17),this.scrollEventHandler=this.setViewport.bind(this)}ngOnInit(){this.virtualScroll.init()}ngAfterViewInit(){setTimeout(()=>{this.setViewport(),this.virtualScroll.fireEvent({eventName:nd.initialized})});let j=this.elementRef.nativeElement;this.ngZone.runOutsideAngular(()=>{j.addEventListener("scroll",this.scrollEventHandler)})}ngOnDestroy(){this.virtualScroll.clear(),this.elementRef.nativeElement.removeEventListener("scroll",this.scrollEventHandler)}getTotalHeight(){return this.virtualScroll.isEnabled()&&this.virtualScroll.totalHeight+"px"||"auto"}}return L.\u0275fac=function(j){return new(j||L)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(Fp))},L.\u0275cmp=r.Xpm({type:L,selectors:[["tree-viewport"]],features:[r._Bn([Fp])],ngContentSelectors:Oe,decls:1,vars:2,consts:[[4,"treeMobxAutorun"]],template:function(j,Ae){1&j&&(r.F$t(),r.YNc(0,S,3,2,"ng-container",0)),2&j&&r.Q6J("treeMobxAutorun",r.DdM(1,z))},dependencies:[si],encapsulation:2}),L})(),b1=(()=>{class L{constructor(j,Ae){this.treeModel=j,this.treeDraggedElement=Ae,j.eventNames.forEach(St=>this[St]=new r.vpe),j.subscribeToState(St=>this.stateChange.emit(St))}set nodes(j){}set options(j){}set focused(j){this.treeModel.setFocus(j)}set state(j){this.treeModel.setState(j)}onKeydown(j){if(!this.treeModel.isFocused||ym(["input","textarea"],document.activeElement.tagName.toLowerCase()))return;const Ae=this.treeModel.getFocusedNode();this.treeModel.performKeyAction(Ae,j)}onMousedown(j){(function Ae(St,Kt){return!St||St.localName!==Kt&&Ae(St.parentElement,Kt)})(j.target,"tree-root")&&this.treeModel.setFocus(!1)}ngOnChanges(j){(j.options||j.nodes)&&this.treeModel.setData({options:j.options&&j.options.currentValue,nodes:j.nodes&&j.nodes.currentValue,events:L_(this,this.treeModel.eventNames)})}sizeChanged(){this.viewportComponent.setViewport()}}return L.\u0275fac=function(j){return new(j||L)(r.Y36(gu),r.Y36(km))},L.\u0275cmp=r.Xpm({type:L,selectors:[["Tree"],["tree-root"]],contentQueries:function(j,Ae,St){if(1&j&&(r.Suo(St,ut,5),r.Suo(St,On,5),r.Suo(St,Ar,5),r.Suo(St,ri,5)),2&j){let Kt;r.iGM(Kt=r.CRH())&&(Ae.loadingTemplate=Kt.first),r.iGM(Kt=r.CRH())&&(Ae.treeNodeTemplate=Kt.first),r.iGM(Kt=r.CRH())&&(Ae.treeNodeWrapperTemplate=Kt.first),r.iGM(Kt=r.CRH())&&(Ae.treeNodeFullTemplate=Kt.first)}},viewQuery:function(j,Ae){if(1&j&&r.Gf(Di,5),2&j){let St;r.iGM(St=r.CRH())&&(Ae.viewportComponent=St.first)}},hostBindings:function(j,Ae){1&j&&r.NdJ("keydown",function(Kt){return Ae.onKeydown(Kt)},!1,r.pYS)("mousedown",function(Kt){return Ae.onMousedown(Kt)},!1,r.pYS)},inputs:{nodes:"nodes",options:"options",focused:"focused",state:"state"},outputs:{toggleExpanded:"toggleExpanded",activate:"activate",deactivate:"deactivate",nodeActivate:"nodeActivate",nodeDeactivate:"nodeDeactivate",select:"select",deselect:"deselect",focus:"focus",blur:"blur",updateData:"updateData",initialized:"initialized",moveNode:"moveNode",copyNode:"copyNode",loadNodeChildren:"loadNodeChildren",changeFilter:"changeFilter",event:"event",stateChange:"stateChange"},features:[r._Bn([gu]),r.TTD],decls:5,vars:6,consts:[["viewport",""],[1,"angular-tree-component"],[3,"nodes","treeModel","templates",4,"ngIf"],["class","empty-tree-drop-slot",3,"dropIndex","node",4,"ngIf"],[3,"nodes","treeModel","templates"],[1,"empty-tree-drop-slot",3,"dropIndex","node"]],template:function(j,Ae){1&j&&(r.TgZ(0,"tree-viewport",null,0)(2,"div",1),r.YNc(3,cs,1,8,"tree-node-collection",2),r.YNc(4,Yo,1,2,"tree-node-drop-slot",3),r.qZA()()),2&j&&(r.xp6(2),r.ekj("node-dragging",Ae.treeDraggedElement.isDragging())("angular-tree-component-rtl",Ae.treeModel.options.rtl),r.xp6(1),r.Q6J("ngIf",Ae.treeModel.roots),r.xp6(1),r.Q6J("ngIf",Ae.treeModel.isEmptyTree()))},dependencies:function(){return[a.O5,Em,lm,Hm]},encapsulation:2}),L})(),mg=(()=>{class L{}return L.\u0275fac=function(j){return new(j||L)},L.\u0275cmp=r.Xpm({type:L,selectors:[["TreeNode"],["tree-node"]],inputs:{node:"node",index:"index",templates:"templates"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],[3,"class","tree-node","tree-node-expanded","tree-node-collapsed","tree-node-leaf","tree-node-active","tree-node-focused",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"dropIndex","node",4,"ngIf"],[3,"node","index","templates"],[3,"node","templates"],[3,"dropIndex","node"]],template:function(j,Ae){1&j&&r.YNc(0,be,3,8,"ng-container",0),2&j&&r.Q6J("treeMobxAutorun",r.DdM(1,z))},dependencies:function(){return[a.O5,a.tP,Il,Em,yg,si]},encapsulation:2}),L})(),kg=(()=>{class L{}return L.\u0275fac=function(j){return new(j||L)},L.\u0275cmp=r.Xpm({type:L,selectors:[["tree-node-content"]],inputs:{node:"node",index:"index",template:"template"},decls:2,vars:7,consts:[[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(j,Ae){1&j&&(r.YNc(0,Ke,2,1,"span",0),r.GkF(1,1)),2&j&&(r.Q6J("ngIf",!Ae.template),r.xp6(1),r.Q6J("ngTemplateOutlet",Ae.template)("ngTemplateOutletContext",r.kEZ(3,xt,Ae.node,Ae.node,Ae.index)))},dependencies:[a.O5,a.tP],encapsulation:2}),L})(),Em=(()=>{class L{onDrop(j){this.node.mouseAction("drop",j.event,{from:j.element,to:{parent:this.node,index:this.dropIndex}})}allowDrop(j,Ae){return this.node.options.allowDrop(j,{parent:this.node,index:this.dropIndex},Ae)}}return L.\u0275fac=function(j){return new(j||L)},L.\u0275cmp=r.Xpm({type:L,selectors:[["TreeNodeDropSlot"],["tree-node-drop-slot"]],inputs:{node:"node",dropIndex:"dropIndex"},decls:1,vars:2,consts:[[1,"node-drop-slot",3,"treeAllowDrop","allowDragoverStyling","treeDrop"]],template:function(j,Ae){1&j&&(r.TgZ(0,"div",0),r.NdJ("treeDrop",function(Kt){return Ae.onDrop(Kt)}),r.qZA()),2&j&&r.Q6J("treeAllowDrop",Ae.allowDrop.bind(Ae))("allowDragoverStyling",!0)},dependencies:function(){return[_h]},encapsulation:2}),L})(),$g=(()=>{class L{}return L.\u0275fac=function(j){return new(j||L)},L.\u0275cmp=r.Xpm({type:L,selectors:[["tree-node-expander"]],inputs:{node:"node"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],["class","toggle-children-wrapper",3,"toggle-children-wrapper-expanded","toggle-children-wrapper-collapsed","click",4,"ngIf"],["class","toggle-children-placeholder",4,"ngIf"],[1,"toggle-children-wrapper",3,"click"],[1,"toggle-children"],[1,"toggle-children-placeholder"]],template:function(j,Ae){1&j&&r.YNc(0,vr,3,2,"ng-container",0),2&j&&r.Q6J("treeMobxAutorun",r.DdM(1,z))},dependencies:[a.O5,si],encapsulation:2}),L})(),Il=(()=>{class L{}return L.\u0275fac=function(j){return new(j||L)},L.\u0275cmp=r.Xpm({type:L,selectors:[["tree-node-children"]],inputs:{node:"node",templates:"templates"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],[3,"tree-children","tree-children-no-padding",4,"treeAnimateOpen","treeAnimateOpenSpeed","treeAnimateOpenAcceleration","treeAnimateOpenEnabled"],[3,"nodes","templates","treeModel",4,"ngIf"],["class","tree-node-loading",3,"padding-left","template","node",4,"ngIf"],[3,"nodes","templates","treeModel"],[1,"tree-node-loading",3,"template","node"]],template:function(j,Ae){1&j&&r.YNc(0,Qi,2,4,"ng-container",0),2&j&&r.Q6J("treeMobxAutorun",r.DdM(1,z))},dependencies:function(){return[a.O5,S1,lm,O1,si]},encapsulation:2}),L})();const vg=Object.assign(function gg(...L){return ie(...L)},ie),T1=Object.assign(function Hg(...L){return ze(...L)},ze),am=Object.assign(function C1(...L){return jt(...L)},jt);var $h=function(L,q,j,Ae){var ur,St=arguments.length,Kt=St<3?q:null===Ae?Ae=Object.getOwnPropertyDescriptor(q,j):Ae;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Kt=Reflect.decorate(L,q,j,Ae);else for(var Br=L.length-1;Br>=0;Br--)(ur=L[Br])&&(Kt=(St<3?ur(Kt):St>3?ur(q,j,Kt):ur(q,j))||Kt);return St>3&&Kt&&Object.defineProperty(q,j,Kt),Kt},ph=function(L,q){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(L,q)};let lm=(()=>{class L{constructor(){this._dispose=[]}get nodes(){return this._nodes}set nodes(j){this.setNodes(j)}get marginTop(){const j=this.viewportNodes&&this.viewportNodes.length&&this.viewportNodes[0];return(j&&j.parent?j.position-j.parent.position-j.parent.getSelfHeight():0)+"px"}setNodes(j){this._nodes=j}ngOnInit(){this.virtualScroll=this.treeModel.virtualScroll,this._dispose=[ws(()=>this.virtualScroll.getViewportNodes(this.nodes).map(j=>j.index),j=>{this.viewportNodes=j.map(Ae=>this.nodes[Ae])},{compareStructural:!0,fireImmediately:!0}),ws(()=>this.nodes,j=>{this.viewportNodes=this.virtualScroll.getViewportNodes(j)})]}ngOnDestroy(){this._dispose.forEach(j=>j())}trackNode(j,Ae){return Ae.id}}return L.\u0275fac=function(j){return new(j||L)},L.\u0275cmp=r.Xpm({type:L,selectors:[["tree-node-collection"]],inputs:{nodes:"nodes",treeModel:"treeModel",templates:"templates"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],[3,"node","index","templates",4,"ngFor","ngForOf","ngForTrackBy"],[3,"node","index","templates"]],template:function(j,Ae){1&j&&r.YNc(0,ia,3,4,"ng-container",0),2&j&&r.Q6J("treeMobxAutorun",r.DdM(1,z))},dependencies:[a.sg,mg,si],encapsulation:2}),L})();$h([am,ph("design:type",Object)],lm.prototype,"_nodes",void 0),$h([am,ph("design:type",Array)],lm.prototype,"viewportNodes",void 0),$h([T1,ph("design:type",String),ph("design:paramtypes",[])],lm.prototype,"marginTop",null),$h([vg,ph("design:type",Function),ph("design:paramtypes",[Object]),ph("design:returntype",void 0)],lm.prototype,"setNodes",null);let yg=(()=>{class L{constructor(){}}return L.\u0275fac=function(j){return new(j||L)},L.\u0275cmp=r.Xpm({type:L,selectors:[["tree-node-wrapper"]],inputs:{node:"node",index:"index",templates:"templates"},decls:2,vars:8,consts:[["class","node-wrapper",3,"padding-left",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"node-wrapper"],[3,"node",4,"ngIf"],[3,"node"],[1,"node-content-wrapper",3,"treeAllowDrop","allowDragoverStyling","treeDrag","treeDragEnabled","click","dblclick","mouseover","mouseout","contextmenu","treeDrop","treeDropDragOver","treeDropDragLeave","treeDropDragEnter"],[3,"node","index","template"]],template:function(j,Ae){1&j&&(r.YNc(0,di,5,15,"div",0),r.GkF(1,1)),2&j&&(r.Q6J("ngIf",!Ae.templates.treeNodeWrapperTemplate),r.xp6(1),r.Q6J("ngTemplateOutlet",Ae.templates.treeNodeWrapperTemplate)("ngTemplateOutletContext",r.l5B(3,Y,Ae.node,Ae.node,Ae.index,Ae.templates)))},dependencies:function(){return[a.O5,a.tP,kg,_h,bg,$g,M1]},encapsulation:2}),L})(),M1=(()=>{class L{}return L.\u0275fac=function(j){return new(j||L)},L.\u0275cmp=r.Xpm({type:L,selectors:[["tree-node-checkbox"]],inputs:{node:"node"},decls:1,vars:2,consts:[[4,"treeMobxAutorun"],["type","checkbox",1,"tree-node-checkbox",3,"checked","indeterminate","click"]],template:function(j,Ae){1&j&&r.YNc(0,Wr,2,2,"ng-container",0),2&j&&r.Q6J("treeMobxAutorun",r.DdM(1,z))},dependencies:[si],encapsulation:2}),L})();const Eg="is-dragging-over",Sg="is-dragging-over-disabled";let _h=(()=>{class L{constructor(j,Ae,St,Kt){this.el=j,this.renderer=Ae,this.treeDraggedElement=St,this.ngZone=Kt,this.allowDragoverStyling=!0,this.onDropCallback=new r.vpe,this.onDragOverCallback=new r.vpe,this.onDragLeaveCallback=new r.vpe,this.onDragEnterCallback=new r.vpe,this._allowDrop=(ur,Br)=>!0,this.dragOverEventHandler=this.onDragOver.bind(this),this.dragEnterEventHandler=this.onDragEnter.bind(this),this.dragLeaveEventHandler=this.onDragLeave.bind(this)}set treeAllowDrop(j){this._allowDrop=j instanceof Function?j:(Ae,St)=>j}allowDrop(j){return this._allowDrop(this.treeDraggedElement.get(),j)}ngAfterViewInit(){let j=this.el.nativeElement;this.ngZone.runOutsideAngular(()=>{j.addEventListener("dragover",this.dragOverEventHandler),j.addEventListener("dragenter",this.dragEnterEventHandler),j.addEventListener("dragleave",this.dragLeaveEventHandler)})}ngOnDestroy(){let j=this.el.nativeElement;j.removeEventListener("dragover",this.dragOverEventHandler),j.removeEventListener("dragenter",this.dragEnterEventHandler),j.removeEventListener("dragleave",this.dragLeaveEventHandler)}onDragOver(j){if(!this.allowDrop(j))return this.allowDragoverStyling?this.addDisabledClass():void 0;this.onDragOverCallback.emit({event:j,element:this.treeDraggedElement.get()}),j.preventDefault(),this.allowDragoverStyling&&this.addClass()}onDragEnter(j){this.allowDrop(j)&&(j.preventDefault(),this.onDragEnterCallback.emit({event:j,element:this.treeDraggedElement.get()}))}onDragLeave(j){if(!this.allowDrop(j))return this.allowDragoverStyling?this.removeDisabledClass():void 0;this.onDragLeaveCallback.emit({event:j,element:this.treeDraggedElement.get()}),this.allowDragoverStyling&&this.removeClass()}onDrop(j){this.allowDrop(j)&&(j.preventDefault(),this.onDropCallback.emit({event:j,element:this.treeDraggedElement.get()}),this.allowDragoverStyling&&this.removeClass(),this.treeDraggedElement.set(null))}addClass(){this.renderer.addClass(this.el.nativeElement,Eg)}removeClass(){this.renderer.removeClass(this.el.nativeElement,Eg)}addDisabledClass(){this.renderer.addClass(this.el.nativeElement,Sg)}removeDisabledClass(){this.renderer.removeClass(this.el.nativeElement,Sg)}}return L.\u0275fac=function(j){return new(j||L)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(km),r.Y36(r.R0b))},L.\u0275dir=r.lG2({type:L,selectors:[["","treeDrop",""]],hostBindings:function(j,Ae){1&j&&r.NdJ("drop",function(Kt){return Ae.onDrop(Kt)})},inputs:{allowDragoverStyling:"allowDragoverStyling",treeAllowDrop:"treeAllowDrop"},outputs:{onDropCallback:"treeDrop",onDragOverCallback:"treeDropDragOver",onDragLeaveCallback:"treeDropDragLeave",onDragEnterCallback:"treeDropDragEnter"}}),L})(),bg=(()=>{class L{constructor(j,Ae,St,Kt){this.el=j,this.renderer=Ae,this.treeDraggedElement=St,this.ngZone=Kt,this.dragEventHandler=this.onDrag.bind(this)}ngAfterViewInit(){let j=this.el.nativeElement;this.ngZone.runOutsideAngular(()=>{j.addEventListener("drag",this.dragEventHandler)})}ngDoCheck(){this.renderer.setAttribute(this.el.nativeElement,"draggable",this.treeDragEnabled?"true":"false")}ngOnDestroy(){this.el.nativeElement.removeEventListener("drag",this.dragEventHandler)}onDragStart(j){j.dataTransfer.setData("text",j.target.id),this.treeDraggedElement.set(this.draggedElement),this.draggedElement.mouseAction&&this.draggedElement.mouseAction("dragStart",j)}onDrag(j){this.draggedElement.mouseAction&&this.draggedElement.mouseAction("drag",j)}onDragEnd(){this.draggedElement.mouseAction&&this.draggedElement.mouseAction("dragEnd"),this.treeDraggedElement.set(null)}}return L.\u0275fac=function(j){return new(j||L)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(km),r.Y36(r.R0b))},L.\u0275dir=r.lG2({type:L,selectors:[["","treeDrag",""]],hostBindings:function(j,Ae){1&j&&r.NdJ("dragstart",function(Kt){return Ae.onDragStart(Kt)})("dragend",function(){return Ae.onDragEnd()})},inputs:{draggedElement:["treeDrag","draggedElement"],treeDragEnabled:"treeDragEnabled"}}),L})(),O1=(()=>{class L{constructor(j,Ae,St){this.renderer=j,this.templateRef=Ae,this.viewContainerRef=St}set isOpen(j){j?(this._show(),this.isEnabled&&!1===this._isOpen&&this._animateOpen()):this.isEnabled?this._animateClose():this._hide(),this._isOpen=!!j}_show(){this.innerElement||(this.innerElement=this.viewContainerRef.createEmbeddedView(this.templateRef).rootNodes[0])}_hide(){this.viewContainerRef.clear(),this.innerElement=null}_animateOpen(){let j=this.animateSpeed,Ae=this.animateAcceleration,St=0;this.renderer.setStyle(this.innerElement,"max-height","0"),setTimeout(()=>{const Kt=setInterval(()=>{if(!this._isOpen||!this.innerElement)return clearInterval(Kt);St+=j;const ur=Math.round(St);this.renderer.setStyle(this.innerElement,"max-height",`${ur}px`);const Br=this.innerElement.getBoundingClientRect?this.innerElement.getBoundingClientRect().height:0;j*=Ae,Ae*=1.005,Br<ur&&(this.renderer.setStyle(this.innerElement,"max-height",null),clearInterval(Kt))},17)})}_animateClose(){if(!this.innerElement)return;let j=this.animateSpeed,Ae=this.animateAcceleration,St=this.innerElement.getBoundingClientRect().height;const Kt=setInterval(()=>{if(this._isOpen||!this.innerElement)return clearInterval(Kt);St-=j,this.renderer.setStyle(this.innerElement,"max-height",`${St}px`),j*=Ae,Ae*=1.005,St<=0&&(this.viewContainerRef.clear(),this.innerElement=null,clearInterval(Kt))},17)}}return L.\u0275fac=function(j){return new(j||L)(r.Y36(r.Qsj),r.Y36(r.Rgc),r.Y36(r.s_b))},L.\u0275dir=r.lG2({type:L,selectors:[["","treeAnimateOpen",""]],inputs:{isOpen:["treeAnimateOpen","isOpen"],animateSpeed:["treeAnimateOpenSpeed","animateSpeed"],animateAcceleration:["treeAnimateOpenAcceleration","animateAcceleration"],isEnabled:["treeAnimateOpenEnabled","isEnabled"]}}),L})(),Av=(()=>{class L{}return L.\u0275fac=function(j){return new(j||L)},L.\u0275mod=r.oAB({type:L}),L.\u0275inj=r.cJS({imports:[a.ez]}),L})()},84051:(E,C,s)=>{"use strict";s.d(C,{$7:()=>wr,AR:()=>mn,Hg:()=>jt,Sr:()=>Ro,dX:()=>Ti,ii:()=>ii,nE:()=>da,vq:()=>dn,xD:()=>Fo});var r=s(64537),a=s(88692),c=s(79765),u=s(22759),e=s(26215),f=s(46782),m=s(64762);const T=["*"];function M(gt,Tn){1&gt&&r._UZ(0,"datatable-progress")}function w(gt,Tn){if(1&gt&&r._UZ(0,"datatable-summary-row",9),2&gt){const ie=r.oxw(2);r.Q6J("rowHeight",ie.summaryHeight)("offsetX",ie.offsetX)("innerWidth",ie.innerWidth)("rows",ie.rows)("columns",ie.columns)}}function D(gt,Tn){if(1&gt){const ie=r.EpF();r.TgZ(0,"datatable-body-row",13),r.NdJ("treeAction",function(){r.CHM(ie);const Jt=r.oxw().$implicit,gn=r.oxw(2);return r.KtG(gn.onTreeAction(Jt))})("activate",function(Jt){r.CHM(ie);const gn=r.oxw().index,vi=r.oxw(2),Bi=r.MAs(2);return r.KtG(Bi.onActivate(Jt,vi.indexes.first+gn))}),r.qZA()}if(2&gt){const ie=r.oxw().$implicit,Ze=r.oxw(2),Jt=r.MAs(2);r.Q6J("isSelected",Jt.getRowSelected(ie))("innerWidth",Ze.innerWidth)("offsetX",Ze.offsetX)("columns",Ze.columns)("rowHeight",Ze.getRowHeight(ie))("row",ie)("rowIndex",Ze.getRowIndex(ie))("expanded",Ze.getRowExpanded(ie))("rowClass",Ze.rowClass)("displayCheck",Ze.displayCheck)("treeStatus",ie&&ie.treeStatus)}}function U(gt,Tn){if(1&gt){const ie=r.EpF();r.TgZ(0,"datatable-body-row",15),r.NdJ("activate",function(Jt){const vi=r.CHM(ie).index;r.oxw(4);const Bi=r.MAs(2);return r.KtG(Bi.onActivate(Jt,vi))}),r.qZA()}if(2&gt){const ie=Tn.$implicit,Ze=r.oxw(2).$implicit,Jt=r.oxw(2),gn=r.MAs(2);r.Q6J("isSelected",gn.getRowSelected(ie))("innerWidth",Jt.innerWidth)("offsetX",Jt.offsetX)("columns",Jt.columns)("rowHeight",Jt.getRowHeight(ie))("row",ie)("group",Ze.value)("rowIndex",Jt.getRowIndex(ie))("expanded",Jt.getRowExpanded(ie))("rowClass",Jt.rowClass)}}function W(gt,Tn){if(1&gt&&r.YNc(0,U,1,10,"datatable-body-row",14),2&gt){const ie=r.oxw().$implicit,Ze=r.oxw(2);r.Q6J("ngForOf",ie.value)("ngForTrackBy",Ze.rowTrackingFn)}}function $(gt,Tn){if(1&gt){const ie=r.EpF();r.TgZ(0,"datatable-row-wrapper",10),r.NdJ("rowContextmenu",function(Jt){r.CHM(ie);const gn=r.oxw(2);return r.KtG(gn.rowContextmenu.emit(Jt))}),r.YNc(1,D,1,11,"datatable-body-row",11),r.YNc(2,W,1,2,"ng-template",null,12,r.W1O),r.qZA()}if(2&gt){const ie=Tn.$implicit,Ze=Tn.index,Jt=r.MAs(3),gn=r.oxw(2);r.Q6J("groupedRows",gn.groupedRows)("innerWidth",gn.innerWidth)("ngStyle",gn.getRowsStyles(ie))("rowDetail",gn.rowDetail)("groupHeader",gn.groupHeader)("offsetX",gn.offsetX)("detailRowHeight",gn.getDetailRowHeight(ie&&ie[Ze],Ze))("row",ie)("expanded",gn.getRowExpanded(ie))("rowIndex",gn.getRowIndex(ie&&ie[Ze])),r.xp6(1),r.Q6J("ngIf",!gn.groupedRows)("ngIfElse",Jt)}}function J(gt,Tn){if(1&gt&&r._UZ(0,"datatable-summary-row",16),2&gt){const ie=r.oxw(2);r.Q6J("ngStyle",ie.getBottomSummaryRowStyles())("rowHeight",ie.summaryHeight)("offsetX",ie.offsetX)("innerWidth",ie.innerWidth)("rows",ie.rows)("columns",ie.columns)}}function F(gt,Tn){if(1&gt){const ie=r.EpF();r.TgZ(0,"datatable-scroller",5),r.NdJ("scroll",function(Jt){r.CHM(ie);const gn=r.oxw();return r.KtG(gn.onBodyScroll(Jt))}),r.YNc(1,w,1,5,"datatable-summary-row",6),r.YNc(2,$,4,12,"datatable-row-wrapper",7),r.YNc(3,J,1,6,"datatable-summary-row",8),r.qZA()}if(2&gt){const ie=r.oxw();r.Q6J("scrollbarV",ie.scrollbarV)("scrollbarH",ie.scrollbarH)("scrollHeight",ie.scrollHeight)("scrollWidth",null==ie.columnGroupWidths?null:ie.columnGroupWidths.total),r.xp6(1),r.Q6J("ngIf",ie.summaryRow&&"top"===ie.summaryPosition),r.xp6(1),r.Q6J("ngForOf",ie.temp)("ngForTrackBy",ie.rowTrackingFn),r.xp6(1),r.Q6J("ngIf",ie.summaryRow&&"bottom"===ie.summaryPosition)}}function X(gt,Tn){if(1&gt&&r._UZ(0,"div",17),2&gt){const ie=r.oxw();r.Q6J("innerHTML",ie.emptyMessage,r.oJD)}}function de(gt,Tn){if(1&gt){const ie=r.EpF();r.TgZ(0,"datatable-header-cell",4),r.NdJ("resize",function(Jt){const vi=r.CHM(ie).$implicit,Bi=r.oxw(2);return r.KtG(Bi.onColumnResized(Jt,vi))})("longPressStart",function(Jt){r.CHM(ie);const gn=r.oxw(2);return r.KtG(gn.onLongPressStart(Jt))})("longPressEnd",function(Jt){r.CHM(ie);const gn=r.oxw(2);return r.KtG(gn.onLongPressEnd(Jt))})("sort",function(Jt){r.CHM(ie);const gn=r.oxw(2);return r.KtG(gn.onSort(Jt))})("select",function(Jt){r.CHM(ie);const gn=r.oxw(2);return r.KtG(gn.select.emit(Jt))})("columnContextmenu",function(Jt){r.CHM(ie);const gn=r.oxw(2);return r.KtG(gn.columnContextmenu.emit(Jt))}),r.qZA()}if(2&gt){const ie=Tn.$implicit,Ze=r.oxw(2);r.Q6J("resizeEnabled",ie.resizeable)("pressModel",ie)("pressEnabled",Ze.reorderable&&ie.draggable)("dragX",Ze.reorderable&&ie.draggable&&ie.dragging)("dragY",!1)("dragModel",ie)("dragEventTarget",Ze.dragEventTarget)("headerHeight",Ze.headerHeight)("isTarget",ie.isTarget)("targetMarkerTemplate",Ze.targetMarkerTemplate)("targetMarkerContext",ie.targetMarkerContext)("column",ie)("sortType",Ze.sortType)("sorts",Ze.sorts)("selectionType",Ze.selectionType)("sortAscendingIcon",Ze.sortAscendingIcon)("sortDescendingIcon",Ze.sortDescendingIcon)("sortUnsetIcon",Ze.sortUnsetIcon)("allRowsSelected",Ze.allRowsSelected)}}function V(gt,Tn){if(1&gt&&(r.TgZ(0,"div",2),r.YNc(1,de,1,19,"datatable-header-cell",3),r.qZA()),2&gt){const ie=Tn.$implicit,Ze=r.oxw();r.Tol("datatable-row-"+ie.type),r.Q6J("ngStyle",Ze._styleByGroup[ie.type]),r.xp6(1),r.Q6J("ngForOf",ie.columns)("ngForTrackBy",Ze.columnTrackingFn)}}function ce(gt,Tn){if(1&gt){const ie=r.EpF();r.TgZ(0,"datatable-header",4),r.NdJ("sort",function(Jt){r.CHM(ie);const gn=r.oxw();return r.KtG(gn.onColumnSort(Jt))})("resize",function(Jt){r.CHM(ie);const gn=r.oxw();return r.KtG(gn.onColumnResize(Jt))})("reorder",function(Jt){r.CHM(ie);const gn=r.oxw();return r.KtG(gn.onColumnReorder(Jt))})("select",function(Jt){r.CHM(ie);const gn=r.oxw();return r.KtG(gn.onHeaderSelect(Jt))})("columnContextmenu",function(Jt){r.CHM(ie);const gn=r.oxw();return r.KtG(gn.onColumnContextmenu(Jt))}),r.ALo(1,"async"),r.qZA()}if(2&gt){const ie=r.oxw();r.Q6J("sorts",ie.sorts)("sortType",ie.sortType)("scrollbarH",ie.scrollbarH)("innerWidth",ie._innerWidth)("offsetX",r.lcZ(1,15,ie._offsetX))("dealsWithGroup",void 0!==ie.groupedRows)("columns",ie._internalColumns)("headerHeight",ie.headerHeight)("reorderable",ie.reorderable)("targetMarkerTemplate",ie.targetMarkerTemplate)("sortAscendingIcon",ie.cssClasses.sortAscending)("sortDescendingIcon",ie.cssClasses.sortDescending)("sortUnsetIcon",ie.cssClasses.sortUnset)("allRowsSelected",ie.allRowsSelected)("selectionType",ie.selectionType)}}function se(gt,Tn){if(1&gt){const ie=r.EpF();r.TgZ(0,"datatable-footer",5),r.NdJ("page",function(Jt){r.CHM(ie);const gn=r.oxw();return r.KtG(gn.onFooterPage(Jt))}),r.qZA()}if(2&gt){const ie=r.oxw();r.Q6J("rowCount",ie.rowCount)("pageSize",ie.pageSize)("offset",ie.offset)("footerHeight",ie.footerHeight)("footerTemplate",ie.footer)("totalMessage",ie.messages.totalMessage)("pagerLeftArrowIcon",ie.cssClasses.pagerLeftArrow)("pagerRightArrowIcon",ie.cssClasses.pagerRightArrow)("pagerPreviousIcon",ie.cssClasses.pagerPrevious)("selectedCount",ie.selected.length)("selectedMessage",!!ie.selectionType&&ie.messages.selectedMessage)("pagerNextIcon",ie.cssClasses.pagerNext)}}function fe(gt,Tn){}function Te(gt,Tn){if(1&gt&&r.YNc(0,fe,0,0,"ng-template",5),2&gt){const ie=r.oxw();r.Q6J("ngTemplateOutlet",ie.targetMarkerTemplate)("ngTemplateOutletContext",ie.targetMarkerContext)}}function $e(gt,Tn){if(1&gt){const ie=r.EpF();r.TgZ(0,"label",6)(1,"input",7),r.NdJ("change",function(){r.CHM(ie);const Jt=r.oxw();return r.KtG(Jt.select.emit(!Jt.allRowsSelected))}),r.qZA()()}if(2&gt){const ie=r.oxw();r.xp6(1),r.Q6J("checked",ie.allRowsSelected)}}function ge(gt,Tn){if(1&gt){const ie=r.EpF();r.TgZ(0,"span",8)(1,"span",9),r.NdJ("click",function(){r.CHM(ie);const Jt=r.oxw();return r.KtG(Jt.onSort())}),r.qZA()()}if(2&gt){const ie=r.oxw();r.xp6(1),r.Q6J("innerHTML",ie.name,r.oJD)}}function Et(gt,Tn){}function ot(gt,Tn){if(1&gt&&r.YNc(0,Et,0,0,"ng-template",5),2&gt){const ie=r.oxw();r.Q6J("ngTemplateOutlet",ie.column.headerTemplate)("ngTemplateOutletContext",ie.cellContext)}}function ct(gt,Tn){}const qe=function(gt,Tn,ie,Ze,Jt){return{rowCount:gt,pageSize:Tn,selectedCount:ie,curPage:Ze,offset:Jt}};function He(gt,Tn){if(1&gt&&r.YNc(0,ct,0,0,"ng-template",4),2&gt){const ie=r.oxw();r.Q6J("ngTemplateOutlet",ie.footerTemplate.template)("ngTemplateOutletContext",r.qbA(2,qe,ie.rowCount,ie.pageSize,ie.selectedCount,ie.curPage,ie.offset))}}function We(gt,Tn){if(1&gt&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&gt){const ie=r.oxw(2);r.xp6(1),r.AsE(" ",null==ie.selectedCount?null:ie.selectedCount.toLocaleString()," ",ie.selectedMessage," / ")}}function Le(gt,Tn){if(1&gt&&(r.TgZ(0,"div",5),r.YNc(1,We,2,2,"span",1),r._uU(2),r.qZA()),2&gt){const ie=r.oxw();r.xp6(1),r.Q6J("ngIf",ie.selectedMessage),r.xp6(1),r.AsE(" ",null==ie.rowCount?null:ie.rowCount.toLocaleString()," ",ie.totalMessage," ")}}function Pt(gt,Tn){if(1&gt){const ie=r.EpF();r.TgZ(0,"datatable-pager",6),r.NdJ("change",function(Jt){r.CHM(ie);const gn=r.oxw();return r.KtG(gn.page.emit(Jt))}),r.qZA()}if(2&gt){const ie=r.oxw();r.Q6J("pagerLeftArrowIcon",ie.pagerLeftArrowIcon)("pagerRightArrowIcon",ie.pagerRightArrowIcon)("pagerPreviousIcon",ie.pagerPreviousIcon)("pagerNextIcon",ie.pagerNextIcon)("page",ie.curPage)("size",ie.pageSize)("count",ie.rowCount)("hidden",!ie.isVisible)}}const it=function(gt){return{"selected-count":gt}};function Xt(gt,Tn){if(1&gt){const ie=r.EpF();r.TgZ(0,"li",6)(1,"a",7),r.NdJ("click",function(){const gn=r.CHM(ie).$implicit,vi=r.oxw();return r.KtG(vi.selectPage(gn.number))}),r._uU(2),r.qZA()()}if(2&gt){const ie=Tn.$implicit,Ze=r.oxw();r.ekj("active",ie.number===Ze.page),r.uIk("aria-label","page "+ie.number),r.xp6(2),r.hij(" ",ie.text," ")}}function cn(gt,Tn){if(1&gt){const ie=r.EpF();r.TgZ(0,"datatable-body-cell",3),r.NdJ("activate",function(Jt){const vi=r.CHM(ie).index,Bi=r.oxw(2);return r.KtG(Bi.onActivate(Jt,vi))})("treeAction",function(){r.CHM(ie);const Jt=r.oxw(2);return r.KtG(Jt.onTreeAction())}),r.qZA()}if(2&gt){const ie=Tn.$implicit,Ze=r.oxw(2);r.Q6J("row",Ze.row)("group",Ze.group)("expanded",Ze.expanded)("isSelected",Ze.isSelected)("rowIndex",Ze.rowIndex)("column",ie)("rowHeight",Ze.rowHeight)("displayCheck",Ze.displayCheck)("treeStatus",Ze.treeStatus)}}function pn(gt,Tn){if(1&gt&&(r.TgZ(0,"div",1),r.YNc(1,cn,1,9,"datatable-body-cell",2),r.qZA()),2&gt){const ie=Tn.$implicit,Ze=r.oxw();r.Gre("datatable-row-",ie.type," datatable-row-group"),r.Q6J("ngStyle",Ze._groupStyles[ie.type]),r.xp6(1),r.Q6J("ngForOf",ie.columns)("ngForTrackBy",Ze.columnTrackingFn)}}function Rn(gt,Tn){}function At(gt,Tn){if(1&gt&&r.YNc(0,Rn,0,0,"ng-template",4),2&gt){const ie=r.oxw(2);r.Q6J("ngTemplateOutlet",ie.groupHeader.template)("ngTemplateOutletContext",ie.groupContext)}}function qt(gt,Tn){if(1&gt&&(r.TgZ(0,"div",3),r.YNc(1,At,1,2,null,1),r.qZA()),2&gt){const ie=r.oxw();r.Q6J("ngStyle",ie.getGroupHeaderStyle()),r.xp6(1),r.Q6J("ngIf",ie.groupHeader&&ie.groupHeader.template)}}function sn(gt,Tn){1&gt&&r.Hsn(0,0,["*ngIf","(groupHeader && groupHeader.template && expanded) || !groupHeader || !groupHeader.template"])}function fn(gt,Tn){}function xn(gt,Tn){if(1&gt&&r.YNc(0,fn,0,0,"ng-template",4),2&gt){const ie=r.oxw(2);r.Q6J("ngTemplateOutlet",ie.rowDetail.template)("ngTemplateOutletContext",ie.rowContext)}}function Kr(gt,Tn){if(1&gt&&(r.TgZ(0,"div",5),r.YNc(1,xn,1,2,null,1),r.qZA()),2&gt){const ie=r.oxw();r.Udp("height",ie.detailRowHeight,"px"),r.xp6(1),r.Q6J("ngIf",ie.rowDetail&&ie.rowDetail.template)}}const Or=["cellTemplate"];function Lr(gt,Tn){if(1&gt){const ie=r.EpF();r.TgZ(0,"label",4)(1,"input",5),r.NdJ("click",function(Jt){r.CHM(ie);const gn=r.oxw();return r.KtG(gn.onCheckboxChange(Jt))}),r.qZA()()}if(2&gt){const ie=r.oxw();r.xp6(1),r.Q6J("checked",ie.isSelected)}}function ir(gt,Tn){1&gt&&r._UZ(0,"i",11)}function Qr(gt,Tn){1&gt&&r._UZ(0,"i",12)}function jr(gt,Tn){1&gt&&r._UZ(0,"i",13)}function br(gt,Tn){if(1&gt){const ie=r.EpF();r.TgZ(0,"button",7),r.NdJ("click",function(){r.CHM(ie);const Jt=r.oxw(2);return r.KtG(Jt.onTreeAction())}),r.TgZ(1,"span"),r.YNc(2,ir,1,0,"i",8),r.YNc(3,Qr,1,0,"i",9),r.YNc(4,jr,1,0,"i",10),r.qZA()()}if(2&gt){const ie=r.oxw(2);r.Q6J("disabled","disabled"===ie.treeStatus),r.xp6(2),r.Q6J("ngIf","loading"===ie.treeStatus),r.xp6(1),r.Q6J("ngIf","collapsed"===ie.treeStatus),r.xp6(1),r.Q6J("ngIf","expanded"===ie.treeStatus||"disabled"===ie.treeStatus)}}function ht(gt,Tn){}const Wt=function(gt){return{cellContext:gt}};function Tt(gt,Tn){if(1&gt&&r.YNc(0,ht,0,0,"ng-template",14),2&gt){const ie=r.oxw(2);r.Q6J("ngTemplateOutlet",ie.column.treeToggleTemplate)("ngTemplateOutletContext",r.VKq(2,Wt,ie.cellContext))}}function wn(gt,Tn){if(1&gt&&(r.ynx(0),r.YNc(1,br,5,4,"button",6),r.YNc(2,Tt,1,4,null,2),r.BQk()),2&gt){const ie=r.oxw();r.xp6(1),r.Q6J("ngIf",!ie.column.treeToggleTemplate),r.xp6(1),r.Q6J("ngIf",ie.column.treeToggleTemplate)}}function jn(gt,Tn){if(1&gt&&r._UZ(0,"span",15),2&gt){const ie=r.oxw();r.Q6J("title",ie.sanitizedValue)("innerHTML",ie.value,r.oJD)}}function hr(gt,Tn){}function Oi(gt,Tn){if(1&gt&&r.YNc(0,hr,0,0,"ng-template",14,16,r.W1O),2&gt){const ie=r.oxw();r.Q6J("ngTemplateOutlet",ie.column.cellTemplate)("ngTemplateOutletContext",ie.cellContext)}}function Wi(gt,Tn){if(1&gt&&r._UZ(0,"datatable-body-row",1),2&gt){const ie=r.oxw();r.Q6J("innerWidth",ie.innerWidth)("offsetX",ie.offsetX)("columns",ie._internalColumns)("rowHeight",ie.rowHeight)("row",ie.summaryRow)("rowIndex",-1)}}let so=(()=>{class gt{constructor(ie){this.document=ie,this.width=this.getWidth()}getWidth(){const ie=this.document.createElement("div");ie.style.visibility="hidden",ie.style.width="100px",ie.style.msOverflowStyle="scrollbar",this.document.body.appendChild(ie);const Ze=ie.offsetWidth;ie.style.overflow="scroll";const Jt=this.document.createElement("div");Jt.style.width="100%",ie.appendChild(Jt);const gn=Jt.offsetWidth;return ie.parentNode.removeChild(ie),Ze-gn}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.LFG(a.K0))},gt.\u0275prov=r.Yz7({token:gt,factory:gt.\u0275fac}),gt})(),kr=(()=>{class gt{getDimensions(ie){return ie.getBoundingClientRect()}}return gt.\u0275fac=function(ie){return new(ie||gt)},gt.\u0275prov=r.Yz7({token:gt,factory:gt.\u0275fac}),gt})(),Ei=(()=>{class gt{constructor(){this.columnInputChanges=new c.xQ}get columnInputChanges$(){return this.columnInputChanges.asObservable()}onInputChange(){this.columnInputChanges.next()}}return gt.\u0275fac=function(ie){return new(ie||gt)},gt.\u0275prov=r.Yz7({token:gt,factory:gt.\u0275fac}),gt})(),ii=(()=>{class gt{constructor(ie){this.template=ie}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.Rgc))},gt.\u0275dir=r.lG2({type:gt,selectors:[["","ngx-datatable-footer-template",""]]}),gt})(),mr=(()=>{class gt{constructor(ie,Ze){this.element=ie,this.zone=Ze,this.isVisible=!1,this.visible=new r.vpe}ngOnInit(){this.runCheck()}ngOnDestroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const ie=()=>{const{offsetHeight:Ze,offsetWidth:Jt}=this.element.nativeElement;Ze&&Jt?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>ie(),50)}))};this.timeout=setTimeout(()=>ie())}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.SBq),r.Y36(r.R0b))},gt.\u0275dir=r.lG2({type:gt,selectors:[["","visibilityObserver",""]],hostVars:2,hostBindings:function(ie,Ze){2&ie&&r.ekj("visible",Ze.isVisible)},outputs:{visible:"visible"}}),gt})(),pr=(()=>{class gt{constructor(ie){this.dragX=!0,this.dragY=!0,this.dragStart=new r.vpe,this.dragging=new r.vpe,this.dragEnd=new r.vpe,this.isDragging=!1,this.element=ie.nativeElement}ngOnChanges(ie){ie.dragEventTarget&&ie.dragEventTarget.currentValue&&this.dragModel.dragging&&this.onMousedown(ie.dragEventTarget.currentValue)}ngOnDestroy(){this._destroySubscription()}onMouseup(ie){this.isDragging&&(this.isDragging=!1,this.element.classList.remove("dragging"),this.subscription&&(this._destroySubscription(),this.dragEnd.emit({event:ie,element:this.element,model:this.dragModel})))}onMousedown(ie){if(ie.target.classList.contains("draggable")&&(this.dragX||this.dragY)){ie.preventDefault(),this.isDragging=!0;const Jt={x:ie.clientX,y:ie.clientY},gn=(0,u.R)(document,"mouseup");this.subscription=gn.subscribe(Bi=>this.onMouseup(Bi));const vi=(0,u.R)(document,"mousemove").pipe((0,f.R)(gn)).subscribe(Bi=>this.move(Bi,Jt));this.subscription.add(vi),this.dragStart.emit({event:ie,element:this.element,model:this.dragModel})}}move(ie,Ze){if(!this.isDragging)return;const gn=ie.clientY-Ze.y;this.dragX&&(this.element.style.left=ie.clientX-Ze.x+"px"),this.dragY&&(this.element.style.top=`${gn}px`),this.element.classList.add("dragging"),this.dragging.emit({event:ie,element:this.element,model:this.dragModel})}_destroySubscription(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.SBq))},gt.\u0275dir=r.lG2({type:gt,selectors:[["","draggable",""]],inputs:{dragX:"dragX",dragY:"dragY",dragEventTarget:"dragEventTarget",dragModel:"dragModel"},outputs:{dragStart:"dragStart",dragging:"dragging",dragEnd:"dragEnd"},features:[r.TTD]}),gt})(),Eo=(()=>{class gt{constructor(ie,Ze){this.renderer=Ze,this.resizeEnabled=!0,this.resize=new r.vpe,this.resizing=!1,this.element=ie.nativeElement}ngAfterViewInit(){const ie=this.renderer;this.resizeHandle=ie.createElement("span"),ie.addClass(this.resizeHandle,this.resizeEnabled?"resize-handle":"resize-handle--not-resizable"),ie.appendChild(this.element,this.resizeHandle)}ngOnDestroy(){this._destroySubscription(),this.renderer.destroyNode?this.renderer.destroyNode(this.resizeHandle):this.resizeHandle&&this.renderer.removeChild(this.renderer.parentNode(this.resizeHandle),this.resizeHandle)}onMouseup(){this.resizing=!1,this.subscription&&!this.subscription.closed&&(this._destroySubscription(),this.resize.emit(this.element.clientWidth))}onMousedown(ie){const Ze=ie.target.classList.contains("resize-handle"),Jt=this.element.clientWidth,gn=ie.screenX;if(Ze){ie.stopPropagation(),this.resizing=!0;const vi=(0,u.R)(document,"mouseup");this.subscription=vi.subscribe(Xi=>this.onMouseup());const Bi=(0,u.R)(document,"mousemove").pipe((0,f.R)(vi)).subscribe(Xi=>this.move(Xi,Jt,gn));this.subscription.add(Bi)}}move(ie,Ze,Jt){const vi=Ze+(ie.screenX-Jt);(!this.minWidth||vi>=this.minWidth)&&(!this.maxWidth||vi<=this.maxWidth)&&(this.element.style.width=`${vi}px`)}_destroySubscription(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.SBq),r.Y36(r.Qsj))},gt.\u0275dir=r.lG2({type:gt,selectors:[["","resizeable",""]],hostVars:2,hostBindings:function(ie,Ze){1&ie&&r.NdJ("mousedown",function(gn){return Ze.onMousedown(gn)}),2&ie&&r.ekj("resizeable",Ze.resizeEnabled)},inputs:{resizeEnabled:"resizeEnabled",minWidth:"minWidth",maxWidth:"maxWidth"},outputs:{resize:"resize"}}),gt})(),po=(()=>{class gt{constructor(ie,Ze){this.document=Ze,this.reorder=new r.vpe,this.targetChanged=new r.vpe,this.differ=ie.find({}).create()}ngAfterContentInit(){this.updateSubscriptions(),this.draggables.changes.subscribe(this.updateSubscriptions.bind(this))}ngOnDestroy(){this.draggables.forEach(ie=>{ie.dragStart.unsubscribe(),ie.dragging.unsubscribe(),ie.dragEnd.unsubscribe()})}updateSubscriptions(){const ie=this.differ.diff(this.createMapDiffs());if(ie){const Ze=({currentValue:gn,previousValue:vi})=>{Jt({previousValue:vi}),gn&&(gn.dragStart.subscribe(this.onDragStart.bind(this)),gn.dragging.subscribe(this.onDragging.bind(this)),gn.dragEnd.subscribe(this.onDragEnd.bind(this)))},Jt=({previousValue:gn})=>{gn&&(gn.dragStart.unsubscribe(),gn.dragging.unsubscribe(),gn.dragEnd.unsubscribe())};ie.forEachAddedItem(Ze),ie.forEachRemovedItem(Jt)}}onDragStart(){this.positions={};let ie=0;for(const Ze of this.draggables.toArray()){const Jt=Ze.element,gn=parseInt(Jt.offsetLeft.toString(),0);this.positions[Ze.dragModel.prop]={left:gn,right:gn+parseInt(Jt.offsetWidth.toString(),0),index:ie++,element:Jt}}}onDragging({model:Ze,event:Jt}){const gn=this.positions[Ze.prop],vi=this.isTarget(Ze,Jt);vi?this.lastDraggingIndex!==vi.i&&(this.targetChanged.emit({prevIndex:this.lastDraggingIndex,newIndex:vi.i,initialIndex:gn.index}),this.lastDraggingIndex=vi.i):this.lastDraggingIndex!==gn.index&&(this.targetChanged.emit({prevIndex:this.lastDraggingIndex,initialIndex:gn.index}),this.lastDraggingIndex=gn.index)}onDragEnd({element:ie,model:Ze,event:Jt}){const gn=this.positions[Ze.prop],vi=this.isTarget(Ze,Jt);vi&&this.reorder.emit({prevIndex:gn.index,newIndex:vi.i,model:Ze}),this.lastDraggingIndex=void 0,ie.style.left="auto"}isTarget(ie,Ze){let Jt=0;const Bi=this.document.elementsFromPoint(Ze.x||Ze.clientX,Ze.y||Ze.clientY);for(const Xi in this.positions){const ws=this.positions[Xi];if(ie.prop!==Xi&&Bi.find(ds=>ds===ws.element))return{pos:ws,i:Jt};Jt++}}createMapDiffs(){return this.draggables.toArray().reduce((ie,Ze)=>(ie[Ze.dragModel.$$id]=Ze,ie),{})}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.aQg),r.Y36(a.K0))},gt.\u0275dir=r.lG2({type:gt,selectors:[["","orderable",""]],contentQueries:function(ie,Ze,Jt){if(1&ie&&r.Suo(Jt,pr,5),2&ie){let gn;r.iGM(gn=r.CRH())&&(Ze.draggables=gn)}},outputs:{reorder:"reorder",targetChanged:"targetChanged"}}),gt})(),$i=(()=>{class gt{constructor(){this.pressEnabled=!0,this.duration=500,this.longPressStart=new r.vpe,this.longPressing=new r.vpe,this.longPressEnd=new r.vpe,this.mouseX=0,this.mouseY=0}get press(){return this.pressing}get isLongPress(){return this.isLongPressing}onMouseDown(ie){if(1!==ie.which||!this.pressEnabled||ie.target.classList.contains("resize-handle"))return;this.mouseX=ie.clientX,this.mouseY=ie.clientY,this.pressing=!0,this.isLongPressing=!1;const Jt=(0,u.R)(document,"mouseup");this.subscription=Jt.subscribe(gn=>this.onMouseup()),this.timeout=setTimeout(()=>{this.isLongPressing=!0,this.longPressStart.emit({event:ie,model:this.pressModel}),this.subscription.add((0,u.R)(document,"mousemove").pipe((0,f.R)(Jt)).subscribe(gn=>this.onMouseMove(gn))),this.loop(ie)},this.duration),this.loop(ie)}onMouseMove(ie){if(this.pressing&&!this.isLongPressing){const Ze=Math.abs(ie.clientX-this.mouseX)>10,Jt=Math.abs(ie.clientY-this.mouseY)>10;(Ze||Jt)&&this.endPress()}}loop(ie){this.isLongPressing&&(this.timeout=setTimeout(()=>{this.longPressing.emit({event:ie,model:this.pressModel}),this.loop(ie)},50))}endPress(){clearTimeout(this.timeout),this.isLongPressing=!1,this.pressing=!1,this._destroySubscription(),this.longPressEnd.emit({model:this.pressModel})}onMouseup(){this.endPress()}ngOnDestroy(){this._destroySubscription()}_destroySubscription(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=void 0)}}return gt.\u0275fac=function(ie){return new(ie||gt)},gt.\u0275dir=r.lG2({type:gt,selectors:[["","long-press",""]],hostVars:4,hostBindings:function(ie,Ze){1&ie&&r.NdJ("mousedown",function(gn){return Ze.onMouseDown(gn)}),2&ie&&r.ekj("press",Ze.press)("longpress",Ze.isLongPress)},inputs:{pressEnabled:"pressEnabled",duration:"duration",pressModel:"pressModel"},outputs:{longPressStart:"longPressStart",longPressing:"longPressing",longPressEnd:"longPressEnd"}}),gt})(),qr=(()=>{class gt{constructor(ie,Ze,Jt){this.ngZone=ie,this.renderer=Jt,this.scrollbarV=!1,this.scrollbarH=!1,this.scroll=new r.vpe,this.scrollYPos=0,this.scrollXPos=0,this.prevScrollYPos=0,this.prevScrollXPos=0,this._scrollEventListener=null,this.element=Ze.nativeElement}ngOnInit(){if(this.scrollbarV||this.scrollbarH){const ie=this.renderer;this.parentElement=ie.parentNode(ie.parentNode(this.element)),this._scrollEventListener=this.onScrolled.bind(this),this.parentElement.addEventListener("scroll",this._scrollEventListener)}}ngOnDestroy(){this._scrollEventListener&&(this.parentElement.removeEventListener("scroll",this._scrollEventListener),this._scrollEventListener=null)}setOffset(ie){this.parentElement&&(this.parentElement.scrollTop=ie)}onScrolled(ie){const Ze=ie.currentTarget;requestAnimationFrame(()=>{this.scrollYPos=Ze.scrollTop,this.scrollXPos=Ze.scrollLeft,this.updateOffset()})}updateOffset(){let ie;this.scrollYPos<this.prevScrollYPos?ie="down":this.scrollYPos>this.prevScrollYPos&&(ie="up"),this.scroll.emit({direction:ie,scrollYPos:this.scrollYPos,scrollXPos:this.scrollXPos}),this.prevScrollYPos=this.scrollYPos,this.prevScrollXPos=this.scrollXPos}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.R0b),r.Y36(r.SBq),r.Y36(r.Qsj))},gt.\u0275cmp=r.Xpm({type:gt,selectors:[["datatable-scroller"]],hostAttrs:[1,"datatable-scroll"],hostVars:4,hostBindings:function(ie,Ze){2&ie&&r.Udp("height",Ze.scrollHeight,"px")("width",Ze.scrollWidth,"px")},inputs:{scrollbarV:"scrollbarV",scrollbarH:"scrollbarH",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth"},outputs:{scroll:"scroll"},ngContentSelectors:T,decls:1,vars:0,template:function(ie,Ze){1&ie&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),gt})(),Hi=(()=>{class gt{constructor(ie){this.template=ie}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.Rgc))},gt.\u0275dir=r.lG2({type:gt,selectors:[["","ngx-datatable-group-header-template",""]]}),gt})(),Dn=(()=>{class gt{constructor(){this.rowHeight=0,this.toggle=new r.vpe}get template(){return this._templateInput||this._templateQuery}toggleExpandGroup(ie){this.toggle.emit({type:"group",value:ie})}expandAllGroups(){this.toggle.emit({type:"all",value:!0})}collapseAllGroups(){this.toggle.emit({type:"all",value:!1})}}return gt.\u0275fac=function(ie){return new(ie||gt)},gt.\u0275dir=r.lG2({type:gt,selectors:[["ngx-datatable-group-header"]],contentQueries:function(ie,Ze,Jt){if(1&ie&&r.Suo(Jt,Hi,7,r.Rgc),2&ie){let gn;r.iGM(gn=r.CRH())&&(Ze._templateQuery=gn.first)}},inputs:{rowHeight:"rowHeight",_templateInput:["template","_templateInput"]},outputs:{toggle:"toggle"}}),gt})();function Hn(){return""}function jt(gt){return null==gt?Hn:"number"==typeof gt?Fe:-1!==gt.indexOf(".")?et:Ie}function Fe(gt,Tn){return null==gt?"":gt&&null!=Tn?gt[Tn]??"":gt}function Ie(gt,Tn){return null==gt?"":gt&&Tn?gt[Tn]??"":gt}function et(gt,Tn){if(null==gt)return"";if(!gt||!Tn)return gt;let ie=gt[Tn];if(void 0!==ie)return ie;ie=gt;const Ze=Tn.split(".");if(Ze.length)for(let Jt=0;Jt<Ze.length;Jt++)if(ie=ie[Ze[Jt]],null==ie)return"";return ie}function ze(gt){return gt&&(Tn=>jt(gt)(Tn,gt))}function an(gt,Tn,ie){if(Tn&&ie){const Ze={},Jt=gt.length;let gn=null;Ze[0]=new lt;const vi=gt.reduce((Xi,ws)=>{const ds=ie(ws);return-1===Xi.indexOf(ds)&&Xi.push(ds),Xi},[]);for(let Xi=0;Xi<Jt;Xi++)Ze[ie(gt[Xi])]=new lt(gt[Xi]);for(let Xi=0;Xi<Jt;Xi++){gn=Ze[ie(gt[Xi])];let ws=0;const ds=Tn(gn.row);ds&&vi.indexOf(ds)>-1&&(ws=ds),gn.parent=Ze[ws],gn.row.level=gn.parent.row.level+1,gn.parent.children.push(gn)}let Bi=[];return Ze[0].flatten(function(){Bi=[...Bi,this.row]},!0),Bi}return gt}class lt{constructor(Tn=null){Tn||(Tn={level:-1,treeStatus:"expanded"}),this.row=Tn,this.parent=null,this.children=[]}flatten(Tn,ie){if("expanded"===this.row.treeStatus)for(let Ze=0,Jt=this.children.length;Ze<Jt;Ze++){const gn=this.children[Ze];Tn.apply(gn,Array.prototype.slice.call(arguments,2)),ie&&gn.flatten.apply(gn,arguments)}}}function Rt(gt){return(gt=(gt=(gt=gt.replace(/[^a-zA-Z0-9 ]/g," ")).replace(/([a-z](?=[A-Z]))/g,"$1 ")).replace(/([^a-zA-Z0-9 ])|^[0-9]+/g,"").trim().toLowerCase()).replace(/([ 0-9]+)([a-zA-Z])/g,function(Tn,ie,Ze){return ie.trim()+Ze.toUpperCase()})}function Pe(gt){return gt.replace(/([A-Z])/g,Tn=>` ${Tn}`).replace(/^./,Tn=>Tn.toUpperCase())}function gr(gt){if(!gt)return;let Tn=!1;for(const ie of gt)ie.$$id||(ie.$$id=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)),Pn(ie.prop)&&ie.name&&(ie.prop=Rt(ie.name)),ie.$$valueGetter||(ie.$$valueGetter=jt(ie.prop)),!Pn(ie.prop)&&Pn(ie.name)&&(ie.name=Pe(String(ie.prop))),Pn(ie.prop)&&Pn(ie.name)&&(ie.name=""),ie.hasOwnProperty("resizeable")||(ie.resizeable=!0),ie.hasOwnProperty("sortable")||(ie.sortable=!0),ie.hasOwnProperty("draggable")||(ie.draggable=!0),ie.hasOwnProperty("canAutoResize")||(ie.canAutoResize=!0),ie.hasOwnProperty("width")||(ie.width=150),ie.hasOwnProperty("isTreeColumn")&&ie.isTreeColumn&&!Tn?Tn=!0:ie.isTreeColumn=!1}function Pn(gt){return null==gt}var Pr=(()=>{return(gt=Pr||(Pr={})).standard="standard",gt.flex="flex",gt.force="force",Pr;var gt})(),tr=(()=>{return(gt=tr||(tr={})).single="single",gt.multi="multi",gt.multiClick="multiClick",gt.cell="cell",gt.checkbox="checkbox",tr;var gt})(),Zn=(()=>{return(gt=Zn||(Zn={})).single="single",gt.multi="multi",Zn;var gt})(),nr=(()=>{return(gt=nr||(nr={})).header="header",gt.body="body",nr;var gt})();let Zt=(()=>{class gt{constructor(ie){this.template=ie}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.Rgc))},gt.\u0275dir=r.lG2({type:gt,selectors:[["","ngx-datatable-header-template",""]]}),gt})(),dn=(()=>{class gt{constructor(ie){this.template=ie}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.Rgc))},gt.\u0275dir=r.lG2({type:gt,selectors:[["","ngx-datatable-cell-template",""]]}),gt})(),Ge=(()=>{class gt{constructor(ie){this.template=ie}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.Rgc))},gt.\u0275dir=r.lG2({type:gt,selectors:[["","ngx-datatable-tree-toggle",""]]}),gt})(),Ot=(()=>{class gt{constructor(ie){this.columnChangesService=ie,this.isFirstChange=!0}get cellTemplate(){return this._cellTemplateInput||this._cellTemplateQuery}get headerTemplate(){return this._headerTemplateInput||this._headerTemplateQuery}get treeToggleTemplate(){return this._treeToggleTemplateInput||this._treeToggleTemplateQuery}ngOnChanges(){this.isFirstChange?this.isFirstChange=!1:this.columnChangesService.onInputChange()}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(Ei))},gt.\u0275dir=r.lG2({type:gt,selectors:[["ngx-datatable-column"]],contentQueries:function(ie,Ze,Jt){if(1&ie&&(r.Suo(Jt,dn,7,r.Rgc),r.Suo(Jt,Zt,7,r.Rgc),r.Suo(Jt,Ge,7,r.Rgc)),2&ie){let gn;r.iGM(gn=r.CRH())&&(Ze._cellTemplateQuery=gn.first),r.iGM(gn=r.CRH())&&(Ze._headerTemplateQuery=gn.first),r.iGM(gn=r.CRH())&&(Ze._treeToggleTemplateQuery=gn.first)}},inputs:{name:"name",prop:"prop",frozenLeft:"frozenLeft",frozenRight:"frozenRight",flexGrow:"flexGrow",resizeable:"resizeable",comparator:"comparator",pipe:"pipe",sortable:"sortable",draggable:"draggable",canAutoResize:"canAutoResize",minWidth:"minWidth",width:"width",maxWidth:"maxWidth",checkboxable:"checkboxable",headerCheckboxable:"headerCheckboxable",headerClass:"headerClass",cellClass:"cellClass",isTreeColumn:"isTreeColumn",treeLevelIndent:"treeLevelIndent",summaryFunc:"summaryFunc",summaryTemplate:"summaryTemplate",_cellTemplateInput:["cellTemplate","_cellTemplateInput"],_headerTemplateInput:["headerTemplate","_headerTemplateInput"],_treeToggleTemplateInput:["treeToggleTemplate","_treeToggleTemplateInput"]},features:[r.TTD]}),gt})(),mn=(()=>{class gt{constructor(ie){this.template=ie}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.Rgc))},gt.\u0275dir=r.lG2({type:gt,selectors:[["","ngx-datatable-row-detail-template",""]]}),gt})(),wr=(()=>{class gt{constructor(){this.rowHeight=0,this.toggle=new r.vpe}get template(){return this._templateInput||this._templateQuery}toggleExpandRow(ie){this.toggle.emit({type:"row",value:ie})}expandAllRows(){this.toggle.emit({type:"all",value:!0})}collapseAllRows(){this.toggle.emit({type:"all",value:!1})}}return gt.\u0275fac=function(ie){return new(ie||gt)},gt.\u0275dir=r.lG2({type:gt,selectors:[["ngx-datatable-row-detail"]],contentQueries:function(ie,Ze,Jt){if(1&ie&&r.Suo(Jt,mn,7,r.Rgc),2&ie){let gn;r.iGM(gn=r.CRH())&&(Ze._templateQuery=gn.first)}},inputs:{rowHeight:"rowHeight",_templateInput:["template","_templateInput"]},outputs:{toggle:"toggle"}}),gt})(),Ti=(()=>{class gt{get template(){return this._templateInput||this._templateQuery}}return gt.\u0275fac=function(ie){return new(ie||gt)},gt.\u0275dir=r.lG2({type:gt,selectors:[["ngx-datatable-footer"]],contentQueries:function(ie,Ze,Jt){if(1&ie&&r.Suo(Jt,ii,5,r.Rgc),2&ie){let gn;r.iGM(gn=r.CRH())&&(Ze._templateQuery=gn.first)}},inputs:{footerHeight:"footerHeight",totalMessage:"totalMessage",selectedMessage:"selectedMessage",pagerLeftArrowIcon:"pagerLeftArrowIcon",pagerRightArrowIcon:"pagerRightArrowIcon",pagerPreviousIcon:"pagerPreviousIcon",pagerNextIcon:"pagerNextIcon",_templateInput:["template","_templateInput"]}}),gt})();function Ci(gt){const Tn={left:[],center:[],right:[]};if(gt)for(const ie of gt)ie.frozenLeft?Tn.left.push(ie):ie.frozenRight?Tn.right.push(ie):Tn.center.push(ie);return Tn}function Ai(gt,Tn){return{left:Ko(gt.left),center:Ko(gt.center),right:Ko(gt.right),total:Math.floor(Ko(Tn))}}function Ko(gt,Tn){let ie=0;if(gt)for(const Ze of gt)ie+=parseFloat(Tn&&Ze[Tn]?Ze[Tn]:Ze.width);return ie}function dr(gt){const Tn=[],ie=Ci(gt);return Tn.push({type:"left",columns:ie.left}),Tn.push({type:"center",columns:ie.center}),Tn.push({type:"right",columns:ie.right}),Tn}class Ni{constructor(){this.treeArray=[]}clearCache(){this.treeArray=[]}initCache(Tn){const{rows:ie,rowHeight:Ze,detailRowHeight:Jt,externalVirtual:gn,rowCount:vi,rowIndexes:Bi,rowExpansions:Xi}=Tn,ws="function"==typeof Ze,ds="function"==typeof Jt;if(!ws&&isNaN(Ze))throw new Error(`Row Height cache initialization failed. Please ensure that 'rowHeight' is a\n valid number or function value: (${Ze}) when 'scrollbarV' is enabled.`);if(!ds&&isNaN(Jt))throw new Error(`Row Height cache initialization failed. Please ensure that 'detailRowHeight' is a\n valid number or function value: (${Jt}) when 'scrollbarV' is enabled.`);const qs=gn?vi:ie.length;this.treeArray=new Array(qs);for(let Js=0;Js<qs;++Js)this.treeArray[Js]=0;for(let Js=0;Js<qs;++Js){const Ll=ie[Js];let vl=Ze;ws&&(vl=Ze(Ll));const Yu=Xi.has(Ll);Ll&&Yu&&(vl+=ds?Jt(Ll,Bi.get(Ll)):Jt),this.update(Js,vl)}}getRowIndex(Tn){return 0===Tn?0:this.calcRowIndex(Tn)}update(Tn,ie){if(!this.treeArray.length)throw new Error(`Update at index ${Tn} with value ${ie} failed:\n Row Height cache not initialized.`);const Ze=this.treeArray.length;for(Tn|=0;Tn<Ze;)this.treeArray[Tn]+=ie,Tn|=Tn+1}query(Tn){if(!this.treeArray.length)throw new Error(`query at index ${Tn} failed: Fenwick tree array not initialized.`);let ie=0;for(Tn|=0;Tn>=0;)ie+=this.treeArray[Tn],Tn=(Tn&Tn+1)-1;return ie}queryBetween(Tn,ie){return this.query(ie)-this.query(Tn-1)}calcRowIndex(Tn){if(!this.treeArray.length)return 0;let ie=-1;const Ze=this.treeArray.length;for(let gn=Math.pow(2,Ze.toString(2).length-1);0!==gn;gn>>=1){const vi=ie+gn;vi<Ze&&Tn>=this.treeArray[vi]&&(Tn-=this.treeArray[vi],ie=vi)}return ie+1}}const ti={},Vr=typeof document<"u"?document.createElement("div").style:void 0,ji=function(){const gt=typeof window<"u"?window.getComputedStyle(document.documentElement,""):void 0,Tn=typeof gt<"u"?Array.prototype.slice.call(gt).join("").match(/-(moz|webkit|ms)-/):null,ie=null!==Tn?Tn[1]:void 0,Ze=typeof ie<"u"?"WebKit|Moz|MS|O".match(new RegExp("("+ie+")","i"))[1]:void 0;return Ze?{dom:Ze,lowercase:ie,css:`-${ie}-`,js:ie[0].toUpperCase()+ie.substr(1)}:void 0}();function Vi(gt){const Tn=Rt(gt);return ti[Tn]||(void 0!==ji&&void 0!==Vr[ji.css+gt]?ti[Tn]=ji.css+gt:void 0!==Vr[gt]&&(ti[Tn]=gt)),ti[Tn]}const Po=typeof window<"u"?Vi("transform"):void 0,ko=typeof window<"u"?Vi("backfaceVisibility"):void 0,Ir=typeof window<"u"?!!Vi("transform"):void 0,ro=typeof window<"u"?!!Vi("perspective"):void 0,Vt=typeof window<"u"?window.navigator.userAgent:"Chrome",bn=/Safari\//.test(Vt)&&!/Chrome\//.test(Vt);function Bn(gt,Tn,ie){typeof Po<"u"&&Ir?!bn&&ro?(gt[Po]=`translate3d(${Tn}px, ${ie}px, 0)`,gt[ko]="hidden"):gt[Rt(Po)]=`translate(${Tn}px, ${ie}px)`:(gt.top=`${ie}px`,gt.left=`${Tn}px`)}let ci=(()=>{class gt{constructor(ie){this.cd=ie,this.selected=[],this.scroll=new r.vpe,this.page=new r.vpe,this.activate=new r.vpe,this.select=new r.vpe,this.detailToggle=new r.vpe,this.rowContextmenu=new r.vpe(!1),this.treeAction=new r.vpe,this.rowHeightsCache=new Ni,this.temp=[],this.offsetY=0,this.indexes={},this.rowIndexes=new WeakMap,this.rowExpansions=[],this.getDetailRowHeight=(Ze,Jt)=>{if(!this.rowDetail)return 0;const gn=this.rowDetail.rowHeight;return"function"==typeof gn?gn(Ze,Jt):gn},this.rowTrackingFn=(Ze,Jt)=>{const gn=this.getRowIndex(Jt);return this.trackByProp?Jt[this.trackByProp]:gn}}set pageSize(ie){this._pageSize=ie,this.recalcLayout()}get pageSize(){return this._pageSize}set rows(ie){this._rows=ie,this.recalcLayout()}get rows(){return this._rows}set columns(ie){this._columns=ie;const Ze=Ci(ie);this.columnGroupWidths=Ai(Ze,ie)}get columns(){return this._columns}set offset(ie){this._offset=ie,(!this.scrollbarV||this.scrollbarV&&!this.virtualization)&&this.recalcLayout()}get offset(){return this._offset}set rowCount(ie){this._rowCount=ie,this.recalcLayout()}get rowCount(){return this._rowCount}get bodyWidth(){return this.scrollbarH?this.innerWidth+"px":"100%"}set bodyHeight(ie){this._bodyHeight=this.scrollbarV?ie+"px":"auto",this.recalcLayout()}get bodyHeight(){return this._bodyHeight}get selectEnabled(){return!!this.selectionType}get scrollHeight(){if(this.scrollbarV&&this.virtualization&&this.rowCount)return this.rowHeightsCache.query(this.rowCount-1)}ngOnInit(){this.rowDetail&&(this.listener=this.rowDetail.toggle.subscribe(({type:ie,value:Ze})=>{"row"===ie&&this.toggleRowExpansion(Ze),"all"===ie&&this.toggleAllRows(Ze),this.updateIndexes(),this.updateRows(),this.cd.markForCheck()})),this.groupHeader&&(this.listener=this.groupHeader.toggle.subscribe(({type:ie,value:Ze})=>{"group"===ie&&this.toggleRowExpansion(Ze),"all"===ie&&this.toggleAllRows(Ze),this.updateIndexes(),this.updateRows(),this.cd.markForCheck()}))}ngOnDestroy(){(this.rowDetail||this.groupHeader)&&this.listener.unsubscribe()}updateOffsetY(ie){this.scroller&&(this.scrollbarV&&this.virtualization&&ie?ie=this.rowHeightsCache.query(this.pageSize*ie-1):this.scrollbarV&&!this.virtualization&&(ie=0),this.scroller.setOffset(ie||0))}onBodyScroll(ie){const Ze=ie.scrollYPos,Jt=ie.scrollXPos;(this.offsetY!==Ze||this.offsetX!==Jt)&&this.scroll.emit({offsetY:Ze,offsetX:Jt}),this.offsetY=Ze,this.offsetX=Jt,this.updateIndexes(),this.updatePage(ie.direction),this.updateRows()}updatePage(ie){let Ze=this.indexes.first/this.pageSize;"up"===ie?Ze=Math.ceil(Ze):"down"===ie&&(Ze=Math.floor(Ze)),void 0!==ie&&!isNaN(Ze)&&this.page.emit({offset:Ze})}updateRows(){const{first:ie,last:Ze}=this.indexes;let Jt=ie,gn=0;const vi=[];if(this.groupedRows){let Bi=3;for(1===this.groupedRows.length&&(Bi=this.groupedRows[0].value.length);Jt<Ze&&Jt<this.groupedRows.length;){const Xi=this.groupedRows[Jt];this.rowIndexes.set(Xi,Jt),Xi.value&&Xi.value.forEach((ws,ds)=>{this.rowIndexes.set(ws,`${Jt}-${ds}`)}),vi[gn]=Xi,gn++,Jt++}}else for(;Jt<Ze&&Jt<this.rowCount;){const Bi=this.rows[Jt];Bi&&(this.rowIndexes.set(Bi,Jt),vi[gn]=Bi),gn++,Jt++}this.temp=vi}getRowHeight(ie){return"function"==typeof this.rowHeight?this.rowHeight(ie):this.rowHeight}getGroupHeight(ie){let Ze=0;if(ie.value)for(let Jt=0;Jt<ie.value.length;Jt++)Ze+=this.getRowAndDetailHeight(ie.value[Jt]);return Ze}getRowAndDetailHeight(ie){let Ze=this.getRowHeight(ie);return this.getRowExpanded(ie)&&(Ze+=this.getDetailRowHeight(ie)),Ze}getRowsStyles(ie){const Ze={};if(this.groupedRows&&(Ze.width=this.columnGroupWidths.total),this.scrollbarV&&this.virtualization){let Jt=0;if(this.groupedRows){const vi=ie[ie.length-1];Jt=vi?this.getRowIndex(vi):0}else Jt=this.getRowIndex(ie);Bn(Ze,0,this.rowHeightsCache.query(Jt-1))}return Ze}getBottomSummaryRowStyles(){if(!this.scrollbarV||!this.rows||!this.rows.length)return null;const ie={position:"absolute"};return Bn(ie,0,this.rowHeightsCache.query(this.rows.length-1)),ie}hideIndicator(){setTimeout(()=>this.loadingIndicator=!1,500)}updateIndexes(){let ie=0,Ze=0;if(this.scrollbarV)if(this.virtualization){const Jt=parseInt(this.bodyHeight,0);ie=this.rowHeightsCache.getRowIndex(this.offsetY),Ze=this.rowHeightsCache.getRowIndex(Jt+this.offsetY)+1}else ie=0,Ze=this.rowCount;else this.externalPaging||(ie=Math.max(this.offset*this.pageSize,0)),Ze=Math.min(ie+this.pageSize,this.rowCount);this.indexes={first:ie,last:Ze}}refreshRowHeightCache(){if(this.scrollbarV&&(!this.scrollbarV||this.virtualization)&&(this.rowHeightsCache.clearCache(),this.rows&&this.rows.length)){const ie=new Set;for(const Ze of this.rows)this.getRowExpanded(Ze)&&ie.add(Ze);this.rowHeightsCache.initCache({rows:this.rows,rowHeight:this.rowHeight,detailRowHeight:this.getDetailRowHeight,externalVirtual:this.scrollbarV&&this.externalPaging,rowCount:this.rowCount,rowIndexes:this.rowIndexes,rowExpansions:ie})}}getAdjustedViewPortIndex(){const ie=this.indexes.first;return this.scrollbarV&&this.virtualization&&this.rowHeightsCache.query(ie-1)<=this.offsetY?ie-1:ie}toggleRowExpansion(ie){const Ze=this.getAdjustedViewPortIndex(),Jt=this.getRowExpandedIdx(ie,this.rowExpansions),gn=Jt>-1;if(this.scrollbarV&&this.virtualization){const vi=this.getDetailRowHeight(ie)*(gn?-1:1),Bi=this.getRowIndex(ie);this.rowHeightsCache.update(Bi,vi)}gn?this.rowExpansions.splice(Jt,1):this.rowExpansions.push(ie),this.detailToggle.emit({rows:[ie],currentIndex:Ze})}toggleAllRows(ie){this.rowExpansions=[];const Ze=this.getAdjustedViewPortIndex();if(ie)for(const Jt of this.rows)this.rowExpansions.push(Jt);this.scrollbarV&&this.recalcLayout(),this.detailToggle.emit({rows:this.rows,currentIndex:Ze})}recalcLayout(){this.refreshRowHeightCache(),this.updateIndexes(),this.updateRows()}columnTrackingFn(ie,Ze){return Ze.$$id}stylesByGroup(ie){const Ze=this.columnGroupWidths,Jt=this.offsetX,gn={width:`${Ze[ie]}px`};if("left"===ie)Bn(gn,Jt,0);else if("right"===ie){const vi=parseInt(this.innerWidth+"",0);Bn(gn,-1*(Ze.total-vi-Jt),0)}return gn}getRowExpanded(ie){if(0===this.rowExpansions.length&&this.groupExpansionDefault)for(const Ze of this.groupedRows)this.rowExpansions.push(Ze);return this.getRowExpandedIdx(ie,this.rowExpansions)>-1}getRowExpandedIdx(ie,Ze){if(!Ze||!Ze.length)return-1;const Jt=this.rowIdentity(ie);return Ze.findIndex(gn=>this.rowIdentity(gn)===Jt)}getRowIndex(ie){return this.rowIndexes.get(ie)||0}onTreeAction(ie){this.treeAction.emit({row:ie})}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.sBO))},gt.\u0275cmp=r.Xpm({type:gt,selectors:[["datatable-body"]],viewQuery:function(ie,Ze){if(1&ie&&r.Gf(qr,5),2&ie){let Jt;r.iGM(Jt=r.CRH())&&(Ze.scroller=Jt.first)}},hostAttrs:[1,"datatable-body"],hostVars:4,hostBindings:function(ie,Ze){2&ie&&r.Udp("width",Ze.bodyWidth)("height",Ze.bodyHeight)},inputs:{selected:"selected",pageSize:"pageSize",rows:"rows",columns:"columns",offset:"offset",rowCount:"rowCount",bodyHeight:"bodyHeight",offsetX:"offsetX",loadingIndicator:"loadingIndicator",scrollbarV:"scrollbarV",scrollbarH:"scrollbarH",externalPaging:"externalPaging",rowHeight:"rowHeight",emptyMessage:"emptyMessage",selectionType:"selectionType",rowIdentity:"rowIdentity",rowDetail:"rowDetail",groupHeader:"groupHeader",selectCheck:"selectCheck",displayCheck:"displayCheck",trackByProp:"trackByProp",rowClass:"rowClass",groupedRows:"groupedRows",groupExpansionDefault:"groupExpansionDefault",innerWidth:"innerWidth",groupRowsBy:"groupRowsBy",virtualization:"virtualization",summaryRow:"summaryRow",summaryPosition:"summaryPosition",summaryHeight:"summaryHeight"},outputs:{scroll:"scroll",page:"page",activate:"activate",select:"select",detailToggle:"detailToggle",rowContextmenu:"rowContextmenu",treeAction:"treeAction"},decls:5,vars:9,consts:[[4,"ngIf"],[3,"selected","rows","selectCheck","selectEnabled","selectionType","rowIdentity","select","activate"],["selector",""],[3,"scrollbarV","scrollbarH","scrollHeight","scrollWidth","scroll",4,"ngIf"],["class","empty-row",3,"innerHTML",4,"ngIf"],[3,"scrollbarV","scrollbarH","scrollHeight","scrollWidth","scroll"],[3,"rowHeight","offsetX","innerWidth","rows","columns",4,"ngIf"],[3,"groupedRows","innerWidth","ngStyle","rowDetail","groupHeader","offsetX","detailRowHeight","row","expanded","rowIndex","rowContextmenu",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngStyle","rowHeight","offsetX","innerWidth","rows","columns",4,"ngIf"],[3,"rowHeight","offsetX","innerWidth","rows","columns"],[3,"groupedRows","innerWidth","ngStyle","rowDetail","groupHeader","offsetX","detailRowHeight","row","expanded","rowIndex","rowContextmenu"],["tabindex","-1",3,"isSelected","innerWidth","offsetX","columns","rowHeight","row","rowIndex","expanded","rowClass","displayCheck","treeStatus","treeAction","activate",4,"ngIf","ngIfElse"],["groupedRowsTemplate",""],["tabindex","-1",3,"isSelected","innerWidth","offsetX","columns","rowHeight","row","rowIndex","expanded","rowClass","displayCheck","treeStatus","treeAction","activate"],["tabindex","-1",3,"isSelected","innerWidth","offsetX","columns","rowHeight","row","group","rowIndex","expanded","rowClass","activate",4,"ngFor","ngForOf","ngForTrackBy"],["tabindex","-1",3,"isSelected","innerWidth","offsetX","columns","rowHeight","row","group","rowIndex","expanded","rowClass","activate"],[3,"ngStyle","rowHeight","offsetX","innerWidth","rows","columns"],[1,"empty-row",3,"innerHTML"]],template:function(ie,Ze){1&ie&&(r.YNc(0,M,1,0,"datatable-progress",0),r.TgZ(1,"datatable-selection",1,2),r.NdJ("select",function(gn){return Ze.select.emit(gn)})("activate",function(gn){return Ze.activate.emit(gn)}),r.YNc(3,F,4,8,"datatable-scroller",3),r.YNc(4,X,1,1,"div",4),r.qZA()),2&ie&&(r.Q6J("ngIf",Ze.loadingIndicator),r.xp6(1),r.Q6J("selected",Ze.selected)("rows",Ze.rows)("selectCheck",Ze.selectCheck)("selectEnabled",Ze.selectEnabled)("selectionType",Ze.selectionType)("rowIdentity",Ze.rowIdentity),r.xp6(2),r.Q6J("ngIf",null==Ze.rows?null:Ze.rows.length),r.xp6(1),r.Q6J("ngIf",!(null!=Ze.rows&&Ze.rows.length||Ze.loadingIndicator)))},dependencies:function(){return[a.sg,a.O5,a.PC,qr,Ha,hs,$s,Xo,ns]},encapsulation:2,changeDetection:0}),gt})(),_o=(()=>{class gt{constructor(ie){this.cd=ie,this.sort=new r.vpe,this.reorder=new r.vpe,this.resize=new r.vpe,this.select=new r.vpe,this.columnContextmenu=new r.vpe(!1),this._columnGroupWidths={total:100},this._styleByGroup={left:{},center:{},right:{}},this.destroyed=!1}set innerWidth(ie){this._innerWidth=ie,setTimeout(()=>{if(this._columns){const Ze=Ci(this._columns);this._columnGroupWidths=Ai(Ze,this._columns),this.setStylesByGroup()}})}get innerWidth(){return this._innerWidth}set headerHeight(ie){this._headerHeight="auto"!==ie?`${ie}px`:ie}get headerHeight(){return this._headerHeight}set columns(ie){this._columns=ie;const Ze=Ci(ie);this._columnsByPin=dr(ie),setTimeout(()=>{this._columnGroupWidths=Ai(Ze,ie),this.setStylesByGroup()})}get columns(){return this._columns}set offsetX(ie){this._offsetX=ie,this.setStylesByGroup()}get offsetX(){return this._offsetX}ngOnDestroy(){this.destroyed=!0}onLongPressStart({event:ie,model:Ze}){Ze.dragging=!0,this.dragEventTarget=ie}onLongPressEnd({event:ie,model:Ze}){this.dragEventTarget=ie,setTimeout(()=>{const Jt=this._columns.find(gn=>gn.$$id===Ze.$$id);Jt&&(Jt.dragging=!1)},5)}get headerWidth(){return this.scrollbarH?this.innerWidth+"px":"100%"}trackByGroups(ie,Ze){return Ze.type}columnTrackingFn(ie,Ze){return Ze.$$id}onColumnResized(ie,Ze){ie<=Ze.minWidth?ie=Ze.minWidth:ie>=Ze.maxWidth&&(ie=Ze.maxWidth),this.resize.emit({column:Ze,prevValue:Ze.width,newValue:ie})}onColumnReordered({prevIndex:ie,newIndex:Ze,model:Jt}){const gn=this.getColumn(Ze);gn.isTarget=!1,gn.targetMarkerContext=void 0,this.reorder.emit({column:Jt,prevValue:ie,newValue:Ze})}onTargetChanged({prevIndex:ie,newIndex:Ze,initialIndex:Jt}){if(ie||0===ie){const gn=this.getColumn(ie);gn.isTarget=!1,gn.targetMarkerContext=void 0}if(Ze||0===Ze){const gn=this.getColumn(Ze);gn.isTarget=!0,Jt!==Ze&&(gn.targetMarkerContext={class:"targetMarker ".concat(Jt>Ze?"dragFromRight":"dragFromLeft")})}}getColumn(ie){const Ze=this._columnsByPin[0].columns.length;if(ie<Ze)return this._columnsByPin[0].columns[ie];const Jt=this._columnsByPin[1].columns.length;return ie<Ze+Jt?this._columnsByPin[1].columns[ie-Ze]:this._columnsByPin[2].columns[ie-Ze-Jt]}onSort({column:ie,prevValue:Ze,newValue:Jt}){if(ie.dragging)return;const gn=this.calcNewSorts(ie,Ze,Jt);this.sort.emit({sorts:gn,column:ie,prevValue:Ze,newValue:Jt})}calcNewSorts(ie,Ze,Jt){let gn=0;this.sorts||(this.sorts=[]);const vi=this.sorts.map((Bi,Xi)=>((Bi=Object.assign({},Bi)).prop===ie.prop&&(gn=Xi),Bi));return void 0===Jt?vi.splice(gn,1):Ze?vi[gn].dir=Jt:(this.sortType===Zn.single&&vi.splice(0,this.sorts.length),vi.push({dir:Jt,prop:ie.prop})),vi}setStylesByGroup(){this._styleByGroup.left=this.calcStylesByGroup("left"),this._styleByGroup.center=this.calcStylesByGroup("center"),this._styleByGroup.right=this.calcStylesByGroup("right"),this.destroyed||this.cd.detectChanges()}calcStylesByGroup(ie){const Ze=this._columnGroupWidths,gn={width:`${Ze[ie]}px`};return"center"===ie?Bn(gn,-1*this.offsetX,0):"right"===ie&&Bn(gn,-1*(Ze.total-this.innerWidth),0),gn}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.sBO))},gt.\u0275cmp=r.Xpm({type:gt,selectors:[["datatable-header"]],hostAttrs:[1,"datatable-header"],hostVars:4,hostBindings:function(ie,Ze){2&ie&&r.Udp("height",Ze.headerHeight)("width",Ze.headerWidth)},inputs:{innerWidth:"innerWidth",headerHeight:"headerHeight",columns:"columns",offsetX:"offsetX",sorts:"sorts",sortAscendingIcon:"sortAscendingIcon",sortDescendingIcon:"sortDescendingIcon",sortUnsetIcon:"sortUnsetIcon",scrollbarH:"scrollbarH",dealsWithGroup:"dealsWithGroup",targetMarkerTemplate:"targetMarkerTemplate",sortType:"sortType",allRowsSelected:"allRowsSelected",selectionType:"selectionType",reorderable:"reorderable"},outputs:{sort:"sort",reorder:"reorder",resize:"resize",select:"select",columnContextmenu:"columnContextmenu"},decls:2,vars:4,consts:[["orderable","",1,"datatable-header-inner",3,"reorder","targetChanged"],[3,"class","ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngStyle"],["resizeable","","long-press","","draggable","",3,"resizeEnabled","pressModel","pressEnabled","dragX","dragY","dragModel","dragEventTarget","headerHeight","isTarget","targetMarkerTemplate","targetMarkerContext","column","sortType","sorts","selectionType","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","resize","longPressStart","longPressEnd","sort","select","columnContextmenu",4,"ngFor","ngForOf","ngForTrackBy"],["resizeable","","long-press","","draggable","",3,"resizeEnabled","pressModel","pressEnabled","dragX","dragY","dragModel","dragEventTarget","headerHeight","isTarget","targetMarkerTemplate","targetMarkerContext","column","sortType","sorts","selectionType","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","resize","longPressStart","longPressEnd","sort","select","columnContextmenu"]],template:function(ie,Ze){1&ie&&(r.TgZ(0,"div",0),r.NdJ("reorder",function(gn){return Ze.onColumnReordered(gn)})("targetChanged",function(gn){return Ze.onTargetChanged(gn)}),r.YNc(1,V,2,5,"div",1),r.qZA()),2&ie&&(r.Udp("width",Ze._columnGroupWidths.total,"px"),r.xp6(1),r.Q6J("ngForOf",Ze._columnsByPin)("ngForTrackBy",Ze.trackByGroups))},dependencies:function(){return[a.sg,a.PC,pr,Eo,po,$i,$a]},encapsulation:2,changeDetection:0}),gt})();function go(gt,Tn,ie){ie=ie||{};let Ze,Jt,gn,vi=null,Bi=0;function Xi(){Bi=!1===ie.leading?0:+new Date,vi=null,gn=gt.apply(Ze,Jt)}return function(){const ws=+new Date;!Bi&&!1===ie.leading&&(Bi=ws);const ds=Tn-(ws-Bi);return Ze=this,Jt=arguments,ds<=0?(clearTimeout(vi),vi=null,Bi=ws,gn=gt.apply(Ze,Jt)):!vi&&!1!==ie.trailing&&(vi=setTimeout(Xi,ds)),gn}}function es(gt,Tn){return function(Ze,Jt,gn){return{configurable:!0,enumerable:gn.enumerable,get:function(){return Object.defineProperty(this,Jt,{configurable:!0,enumerable:gn.enumerable,value:go(gn.value,gt,Tn)}),this[Jt]}}}}function Is(gt,Tn){for(const ie of Tn){const Ze=gt.indexOf(ie);gt.splice(Ze,1)}}function la(gt,Tn=300){let ie=0;for(const Ze of gt)ie+=Ze.width||Tn;return ie}var Ro=(()=>{return(gt=Ro||(Ro={})).asc="asc",gt.desc="desc",Ro;var gt})();function gl(gt,Tn){if((null===gt||typeof gt>"u")&&(gt=0),(null===Tn||typeof Tn>"u")&&(Tn=0),gt instanceof Date&&Tn instanceof Date){if(gt<Tn)return-1;if(gt>Tn)return 1}else if(isNaN(parseFloat(gt))||!isFinite(gt)||isNaN(parseFloat(Tn))||!isFinite(Tn)){if(gt=String(gt),Tn=String(Tn),gt.toLowerCase()<Tn.toLowerCase())return-1;if(gt.toLowerCase()>Tn.toLowerCase())return 1}else{if(parseFloat(gt)<parseFloat(Tn))return-1;if(parseFloat(gt)>parseFloat(Tn))return 1}return 0}let da=(()=>{class gt{constructor(ie,Ze,Jt,gn,vi,Bi,Xi){this.scrollbarHelper=ie,this.dimensionsHelper=Ze,this.cd=Jt,this.columnChangesService=Bi,this.configuration=Xi,this.selected=[],this.scrollbarV=!1,this.scrollbarH=!1,this.rowHeight=30,this.columnMode=Pr.standard,this.headerHeight=30,this.footerHeight=0,this.externalPaging=!1,this.externalSorting=!1,this.loadingIndicator=!1,this.reorderable=!0,this.swapColumns=!0,this.sortType=Zn.single,this.sorts=[],this.cssClasses={sortAscending:"datatable-icon-up",sortDescending:"datatable-icon-down",sortUnset:"datatable-icon-sort-unset",pagerLeftArrow:"datatable-icon-left",pagerRightArrow:"datatable-icon-right",pagerPrevious:"datatable-icon-prev",pagerNext:"datatable-icon-skip"},this.messages={emptyMessage:"No data to display",totalMessage:"total",selectedMessage:"selected"},this.groupExpansionDefault=!1,this.selectAllRowsOnPage=!1,this.virtualization=!0,this.summaryRow=!1,this.summaryHeight=30,this.summaryPosition="top",this.scroll=new r.vpe,this.activate=new r.vpe,this.select=new r.vpe,this.sort=new r.vpe,this.page=new r.vpe,this.reorder=new r.vpe,this.resize=new r.vpe,this.tableContextmenu=new r.vpe(!1),this.treeAction=new r.vpe,this.rowCount=0,this._offsetX=new e.X(0),this._count=0,this._offset=0,this._subscriptions=[],this.rowIdentity=ws=>this._groupRowsBy?ws.key:ws,this.element=gn.nativeElement,this.rowDiffer=vi.find({}).create(),this.configuration&&this.configuration.messages&&(this.messages=Object.assign({},this.configuration.messages))}set rows(ie){this._rows=ie,ie&&(this._internalRows=[...ie]),this.externalSorting||this.sortInternalRows(),this._internalRows=an(this._internalRows,ze(this.treeFromRelation),ze(this.treeToRelation)),this.recalculate(),this._rows&&this._groupRowsBy&&(this.groupedRows=this.groupArrayBy(this._rows,this._groupRowsBy)),this.cd.markForCheck()}get rows(){return this._rows}set groupRowsBy(ie){ie&&(this._groupRowsBy=ie,this._rows&&this._groupRowsBy&&(this.groupedRows=this.groupArrayBy(this._rows,this._groupRowsBy)))}get groupRowsBy(){return this._groupRowsBy}set columns(ie){ie&&(this._internalColumns=[...ie],gr(this._internalColumns),this.recalculateColumns()),this._columns=ie}get columns(){return this._columns}set limit(ie){this._limit=ie,this.recalculate()}get limit(){return this._limit}set count(ie){this._count=ie,this.recalculate()}get count(){return this._count}set offset(ie){this._offset=ie}get offset(){return Math.max(Math.min(this._offset,Math.ceil(this.rowCount/this.pageSize)-1),0)}get isFixedHeader(){const ie=this.headerHeight;return"string"!=typeof ie||"auto"!==ie}get isFixedRow(){return"auto"!==this.rowHeight}get isVertScroll(){return this.scrollbarV}get isVirtualized(){return this.virtualization}get isHorScroll(){return this.scrollbarH}get isSelectable(){return void 0!==this.selectionType}get isCheckboxSelection(){return this.selectionType===tr.checkbox}get isCellSelection(){return this.selectionType===tr.cell}get isSingleSelection(){return this.selectionType===tr.single}get isMultiSelection(){return this.selectionType===tr.multi}get isMultiClickSelection(){return this.selectionType===tr.multiClick}set columnTemplates(ie){this._columnTemplates=ie,this.translateColumns(ie)}get columnTemplates(){return this._columnTemplates}get allRowsSelected(){let ie=this.rows&&this.selected&&this.selected.length===this.rows.length;if(this.bodyComponent&&this.selectAllRowsOnPage){const Ze=this.bodyComponent.indexes;ie=this.selected.length===Ze.last-Ze.first}return this.selected&&this.rows&&0!==this.rows.length&&ie}ngOnInit(){this.recalculate()}ngAfterViewInit(){this.externalSorting||this.sortInternalRows(),!(typeof requestAnimationFrame>"u")&&requestAnimationFrame(()=>{this.recalculate(),this.externalPaging&&this.scrollbarV&&this.page.emit({count:this.count,pageSize:this.pageSize,limit:this.limit,offset:0})})}ngAfterContentInit(){this.columnTemplates.changes.subscribe(ie=>this.translateColumns(ie)),this.listenForColumnInputChanges()}translateColumns(ie){if(ie){const Ze=ie.toArray();Ze.length&&(this._internalColumns=function _r(gt){const Tn=[];for(const ie of gt){const Ze={},Jt=Object.getOwnPropertyNames(ie);for(const gn of Jt)Ze[gn]=ie[gn];ie.headerTemplate&&(Ze.headerTemplate=ie.headerTemplate),ie.cellTemplate&&(Ze.cellTemplate=ie.cellTemplate),ie.summaryFunc&&(Ze.summaryFunc=ie.summaryFunc),ie.summaryTemplate&&(Ze.summaryTemplate=ie.summaryTemplate),Tn.push(Ze)}return Tn}(Ze),gr(this._internalColumns),this.recalculateColumns(),this.sortInternalRows(),this.cd.markForCheck())}}groupArrayBy(ie,Ze){const Jt=new Map;return ie.forEach(Bi=>{const Xi=Bi[Ze];Jt.has(Xi)?Jt.get(Xi).push(Bi):Jt.set(Xi,[Bi])}),Array.from(Jt,Bi=>((Bi,Xi)=>({key:Bi,value:Xi}))(Bi[0],Bi[1]))}ngDoCheck(){this.rowDiffer.diff(this.rows)&&(this.externalSorting?this._internalRows=[...this.rows]:this.sortInternalRows(),this._internalRows=an(this._internalRows,ze(this.treeFromRelation),ze(this.treeToRelation)),this.recalculatePages(),this.cd.markForCheck())}recalculate(){this.recalculateDims(),this.recalculateColumns(),this.cd.markForCheck()}onWindowResize(){this.recalculate()}recalculateColumns(ie=this._internalColumns,Ze=-1,Jt=this.scrollbarH){if(!ie)return;let gn=this._innerWidth;return this.scrollbarV&&(gn-=this.scrollbarHelper.width),this.columnMode===Pr.force?function gs(gt,Tn,ie,Ze,Jt=300){const gn=gt.slice(ie+1,gt.length).filter(Js=>!1!==Js.canAutoResize);for(const Js of gn)Js.$$oldWidth||(Js.$$oldWidth=Js.width);let vi=0,Bi=!1,Xi=la(gt,Jt),ws=Tn-Xi;const ds=[];do{vi=ws/gn.length,Bi=Xi>=Tn;for(const Js of gn){if(Bi&&Ze)Js.width=Js.$$oldWidth||Js.width||Jt;else{const Ll=(Js.width||Jt)+vi;Js.minWidth&&Ll<Js.minWidth?(Js.width=Js.minWidth,ds.push(Js)):Js.maxWidth&&Ll>Js.maxWidth?(Js.width=Js.maxWidth,ds.push(Js)):Js.width=Ll}Js.width=Math.max(0,Js.width)}Xi=la(gt),ws=Tn-Xi,Is(gn,ds)}while(ws>1&&0!==gn.length)}(ie,gn,Ze,Jt):this.columnMode===Pr.flex&&function jo(gt,Tn){const ie=function _s(gt,Tn){let ie=0;for(const Ze of gt)ie+=Tn&&Ze[Tn]?Ze[Tn]:Ze.width;return ie}(gt),Ze=function ts(gt){let Tn=0;for(const ie of gt)Tn+=ie.flexGrow||0;return Tn}(gt),Jt=Ci(gt);ie!==Tn&&function ss(gt,Tn,ie){for(const gn in gt)for(const vi of gt[gn])vi.canAutoResize?vi.width=0:(Tn-=vi.width,ie-=vi.flexGrow?vi.flexGrow:0);const Ze={};let Jt=Tn;do{const gn=Jt/ie;Jt=0;for(const vi in gt)for(const Bi of gt[vi])if(Bi.canAutoResize&&!Ze[Bi.prop]){const Xi=Bi.width+Bi.flexGrow*gn;void 0!==Bi.minWidth&&Xi<Bi.minWidth?(Jt+=Xi-Bi.minWidth,Bi.width=Bi.minWidth,Ze[Bi.prop]=!0):Bi.width=Xi}}while(0!==Jt)}(Jt,Tn,Ze)}(ie,gn),ie}recalculateDims(){const ie=this.dimensionsHelper.getDimensions(this.element);if(this._innerWidth=Math.floor(ie.width),this.scrollbarV){let Ze=ie.height;this.headerHeight&&(Ze-=this.headerHeight),this.footerHeight&&(Ze-=this.footerHeight),this.bodyHeight=Ze}this.recalculatePages()}recalculatePages(){this.pageSize=this.calcPageSize(),this.rowCount=this.calcRowCount()}onBodyPage({offset:ie}){this.externalPaging&&!this.virtualization||(this.offset=ie,this.page.emit({count:this.count,pageSize:this.pageSize,limit:this.limit,offset:this.offset}))}onBodyScroll(ie){this._offsetX.next(ie.offsetX),this.scroll.emit(ie),this.cd.detectChanges()}onFooterPage(ie){this.offset=ie.page-1,this.bodyComponent.updateOffsetY(this.offset),this.page.emit({count:this.count,pageSize:this.pageSize,limit:this.limit,offset:this.offset}),this.selectAllRowsOnPage&&(this.selected=[],this.select.emit({selected:this.selected}))}calcPageSize(ie=this.rows){if(this.scrollbarV&&this.virtualization){const Ze=Math.ceil(this.bodyHeight/this.rowHeight);return Math.max(Ze,0)}return void 0!==this.limit?this.limit:ie?ie.length:0}calcRowCount(ie=this.rows){return this.externalPaging?this.count:ie?this.groupedRows?this.groupedRows.length:null!=this.treeFromRelation&&null!=this.treeToRelation?this._internalRows.length:ie.length:0}onColumnContextmenu({event:ie,column:Ze}){this.tableContextmenu.emit({event:ie,type:nr.header,content:Ze})}onRowContextmenu({event:ie,row:Ze}){this.tableContextmenu.emit({event:ie,type:nr.body,content:Ze})}onColumnResize({column:ie,newValue:Ze}){if(void 0===ie)return;let Jt;const gn=this._internalColumns.map((vi,Bi)=>((vi=Object.assign({},vi)).$$id===ie.$$id&&(Jt=Bi,vi.width=Ze,vi.$$oldWidth=Ze),vi));this.recalculateColumns(gn,Jt),this._internalColumns=gn,this.resize.emit({column:ie,newValue:Ze})}onColumnReorder({column:ie,newValue:Ze,prevValue:Jt}){const gn=this._internalColumns.map(vi=>Object.assign({},vi));if(this.swapColumns){const vi=gn[Ze];gn[Ze]=ie,gn[Jt]=vi}else if(Ze>Jt){const vi=gn[Jt];for(let Bi=Jt;Bi<Ze;Bi++)gn[Bi]=gn[Bi+1];gn[Ze]=vi}else{const vi=gn[Jt];for(let Bi=Jt;Bi>Ze;Bi--)gn[Bi]=gn[Bi-1];gn[Ze]=vi}this._internalColumns=gn,this.reorder.emit({column:ie,newValue:Ze,prevValue:Jt})}onColumnSort(ie){this.selectAllRowsOnPage&&(this.selected=[],this.select.emit({selected:this.selected})),this.sorts=ie.sorts,!1===this.externalSorting&&this.sortInternalRows(),this._internalRows=an(this._internalRows,ze(this.treeFromRelation),ze(this.treeToRelation)),this.offset=0,this.bodyComponent.updateOffsetY(this.offset),this.sort.emit(ie)}onHeaderSelect(ie){if(this.bodyComponent&&this.selectAllRowsOnPage){const Ze=this.bodyComponent.indexes.first,Jt=this.bodyComponent.indexes.last,gn=this.selected.length===Jt-Ze;this.selected=[],gn||this.selected.push(...this._internalRows.slice(Ze,Jt))}else{const Ze=this.selected.length===this.rows.length;this.selected=[],Ze||this.selected.push(...this.rows)}this.select.emit({selected:this.selected})}onBodySelect(ie){this.select.emit(ie)}onTreeAction(ie){const Ze=ie.row,Jt=this._rows.findIndex(gn=>gn[this.treeToRelation]===ie.row[this.treeToRelation]);this.treeAction.emit({row:Ze,rowIndex:Jt})}ngOnDestroy(){this._subscriptions.forEach(ie=>ie.unsubscribe())}listenForColumnInputChanges(){this._subscriptions.push(this.columnChangesService.columnInputChanges$.subscribe(()=>{this.columnTemplates&&this.columnTemplates.notifyOnChanges()}))}sortInternalRows(){this._internalRows=function qa(gt,Tn,ie){if(!gt)return[];if(!ie||!ie.length||!Tn)return[...gt];const Ze=new Map;gt.forEach((Bi,Xi)=>Ze.set(Bi,Xi));const Jt=[...gt],gn=Tn.reduce((Bi,Xi)=>(Xi.comparator&&"function"==typeof Xi.comparator&&(Bi[Xi.prop]=Xi.comparator),Bi),{}),vi=ie.map(Bi=>{const Xi=Bi.prop;return{prop:Xi,dir:Bi.dir,valueGetter:jt(Xi),compareFn:gn[Xi]||gl}});return Jt.sort(function(Bi,Xi){for(const ws of vi){const{prop:ds,valueGetter:qs}=ws,Js=qs(Bi,ds),Ll=qs(Xi,ds),vl=ws.dir!==Ro.desc?ws.compareFn(Js,Ll,Bi,Xi,ws.dir):-ws.compareFn(Js,Ll,Bi,Xi,ws.dir);if(0!==vl)return vl}return Ze.has(Bi)&&Ze.has(Xi)?Ze.get(Bi)<Ze.get(Xi)?-1:1:0})}(this._internalRows,this._internalColumns,this.sorts)}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(so,4),r.Y36(kr,4),r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(r.aQg),r.Y36(Ei),r.Y36("configuration",8))},gt.\u0275cmp=r.Xpm({type:gt,selectors:[["ngx-datatable"]],contentQueries:function(ie,Ze,Jt){if(1&ie&&(r.Suo(Jt,wr,5),r.Suo(Jt,Dn,5),r.Suo(Jt,Ti,5),r.Suo(Jt,Ot,4)),2&ie){let gn;r.iGM(gn=r.CRH())&&(Ze.rowDetail=gn.first),r.iGM(gn=r.CRH())&&(Ze.groupHeader=gn.first),r.iGM(gn=r.CRH())&&(Ze.footer=gn.first),r.iGM(gn=r.CRH())&&(Ze.columnTemplates=gn)}},viewQuery:function(ie,Ze){if(1&ie&&(r.Gf(ci,5),r.Gf(_o,5)),2&ie){let Jt;r.iGM(Jt=r.CRH())&&(Ze.bodyComponent=Jt.first),r.iGM(Jt=r.CRH())&&(Ze.headerComponent=Jt.first)}},hostAttrs:[1,"ngx-datatable"],hostVars:22,hostBindings:function(ie,Ze){1&ie&&r.NdJ("resize",function(){return Ze.onWindowResize()},!1,r.Jf7),2&ie&&r.ekj("fixed-header",Ze.isFixedHeader)("fixed-row",Ze.isFixedRow)("scroll-vertical",Ze.isVertScroll)("virtualized",Ze.isVirtualized)("scroll-horz",Ze.isHorScroll)("selectable",Ze.isSelectable)("checkbox-selection",Ze.isCheckboxSelection)("cell-selection",Ze.isCellSelection)("single-selection",Ze.isSingleSelection)("multi-selection",Ze.isMultiSelection)("multi-click-selection",Ze.isMultiClickSelection)},inputs:{selected:"selected",scrollbarV:"scrollbarV",scrollbarH:"scrollbarH",rowHeight:"rowHeight",columnMode:"columnMode",headerHeight:"headerHeight",footerHeight:"footerHeight",externalPaging:"externalPaging",externalSorting:"externalSorting",loadingIndicator:"loadingIndicator",reorderable:"reorderable",swapColumns:"swapColumns",sortType:"sortType",sorts:"sorts",cssClasses:"cssClasses",messages:"messages",groupExpansionDefault:"groupExpansionDefault",selectAllRowsOnPage:"selectAllRowsOnPage",virtualization:"virtualization",summaryRow:"summaryRow",summaryHeight:"summaryHeight",summaryPosition:"summaryPosition",rowIdentity:"rowIdentity",rows:"rows",groupedRows:"groupedRows",groupRowsBy:"groupRowsBy",columns:"columns",limit:"limit",count:"count",offset:"offset",targetMarkerTemplate:"targetMarkerTemplate",selectionType:"selectionType",rowClass:"rowClass",selectCheck:"selectCheck",displayCheck:"displayCheck",trackByProp:"trackByProp",treeFromRelation:"treeFromRelation",treeToRelation:"treeToRelation"},outputs:{scroll:"scroll",activate:"activate",select:"select",sort:"sort",page:"page",reorder:"reorder",resize:"resize",tableContextmenu:"tableContextmenu",treeAction:"treeAction"},decls:5,vars:34,consts:[["visibilityObserver","",3,"visible"],[3,"sorts","sortType","scrollbarH","innerWidth","offsetX","dealsWithGroup","columns","headerHeight","reorderable","targetMarkerTemplate","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","selectionType","sort","resize","reorder","select","columnContextmenu",4,"ngIf"],[3,"groupRowsBy","groupedRows","rows","groupExpansionDefault","scrollbarV","scrollbarH","virtualization","loadingIndicator","externalPaging","rowHeight","rowCount","offset","trackByProp","columns","pageSize","offsetX","rowDetail","groupHeader","selected","innerWidth","bodyHeight","selectionType","emptyMessage","rowIdentity","rowClass","selectCheck","displayCheck","summaryRow","summaryHeight","summaryPosition","page","activate","rowContextmenu","select","scroll","treeAction"],[3,"rowCount","pageSize","offset","footerHeight","footerTemplate","totalMessage","pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","selectedCount","selectedMessage","pagerNextIcon","page",4,"ngIf"],[3,"sorts","sortType","scrollbarH","innerWidth","offsetX","dealsWithGroup","columns","headerHeight","reorderable","targetMarkerTemplate","sortAscendingIcon","sortDescendingIcon","sortUnsetIcon","allRowsSelected","selectionType","sort","resize","reorder","select","columnContextmenu"],[3,"rowCount","pageSize","offset","footerHeight","footerTemplate","totalMessage","pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","selectedCount","selectedMessage","pagerNextIcon","page"]],template:function(ie,Ze){1&ie&&(r.TgZ(0,"div",0),r.NdJ("visible",function(){return Ze.recalculate()}),r.YNc(1,ce,2,17,"datatable-header",1),r.TgZ(2,"datatable-body",2),r.NdJ("page",function(gn){return Ze.onBodyPage(gn)})("activate",function(gn){return Ze.activate.emit(gn)})("rowContextmenu",function(gn){return Ze.onRowContextmenu(gn)})("select",function(gn){return Ze.onBodySelect(gn)})("scroll",function(gn){return Ze.onBodyScroll(gn)})("treeAction",function(gn){return Ze.onTreeAction(gn)}),r.ALo(3,"async"),r.qZA(),r.YNc(4,se,1,12,"datatable-footer",3),r.qZA()),2&ie&&(r.xp6(1),r.Q6J("ngIf",Ze.headerHeight),r.xp6(1),r.Q6J("groupRowsBy",Ze.groupRowsBy)("groupedRows",Ze.groupedRows)("rows",Ze._internalRows)("groupExpansionDefault",Ze.groupExpansionDefault)("scrollbarV",Ze.scrollbarV)("scrollbarH",Ze.scrollbarH)("virtualization",Ze.virtualization)("loadingIndicator",Ze.loadingIndicator)("externalPaging",Ze.externalPaging)("rowHeight",Ze.rowHeight)("rowCount",Ze.rowCount)("offset",Ze.offset)("trackByProp",Ze.trackByProp)("columns",Ze._internalColumns)("pageSize",Ze.pageSize)("offsetX",r.lcZ(3,32,Ze._offsetX))("rowDetail",Ze.rowDetail)("groupHeader",Ze.groupHeader)("selected",Ze.selected)("innerWidth",Ze._innerWidth)("bodyHeight",Ze.bodyHeight)("selectionType",Ze.selectionType)("emptyMessage",Ze.messages.emptyMessage)("rowIdentity",Ze.rowIdentity)("rowClass",Ze.rowClass)("selectCheck",Ze.selectCheck)("displayCheck",Ze.displayCheck)("summaryRow",Ze.summaryRow)("summaryHeight",Ze.summaryHeight)("summaryPosition",Ze.summaryPosition),r.xp6(2),r.Q6J("ngIf",Ze.footerHeight))},dependencies:function(){return[a.O5,mr,_o,ci,Rl,a.Ov]},styles:[".ngx-datatable{display:block;justify-content:center;overflow:hidden;position:relative;transform:translateZ(0)}.ngx-datatable [hidden]{display:none!important}.ngx-datatable *,.ngx-datatable :after,.ngx-datatable :before{box-sizing:border-box}.ngx-datatable.scroll-vertical .datatable-body{overflow-y:auto}.ngx-datatable.scroll-vertical.virtualized .datatable-body .datatable-row-wrapper{position:absolute}.ngx-datatable.scroll-horz .datatable-body{-webkit-overflow-scrolling:touch;overflow-x:auto}.ngx-datatable.fixed-header .datatable-header .datatable-header-inner{white-space:nowrap}.ngx-datatable.fixed-header .datatable-header .datatable-header-inner .datatable-header-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngx-datatable.fixed-row .datatable-scroll,.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row{white-space:nowrap}.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row .datatable-body-cell,.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row .datatable-body-group-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngx-datatable .datatable-body-row,.ngx-datatable .datatable-header-inner,.ngx-datatable .datatable-row-center{-o-flex-flow:row;display:flex;flex-direction:row;flex-flow:row}.ngx-datatable .datatable-body-cell,.ngx-datatable .datatable-header-cell{display:inline-block;line-height:1.625;overflow-x:hidden;vertical-align:top}.ngx-datatable .datatable-body-cell:focus,.ngx-datatable .datatable-header-cell:focus{outline:none}.ngx-datatable .datatable-row-left,.ngx-datatable .datatable-row-right{z-index:9}.ngx-datatable .datatable-row-center,.ngx-datatable .datatable-row-group,.ngx-datatable .datatable-row-left,.ngx-datatable .datatable-row-right{position:relative}.ngx-datatable .datatable-header{display:block;overflow:hidden}.ngx-datatable .datatable-header .datatable-header-inner{-webkit-align-items:stretch;align-items:stretch}.ngx-datatable .datatable-header .datatable-header-cell{display:inline-block;position:relative}.ngx-datatable .datatable-header .datatable-header-cell.sortable .datatable-header-cell-wrapper{cursor:pointer}.ngx-datatable .datatable-header .datatable-header-cell.longpress .datatable-header-cell-wrapper{cursor:move}.ngx-datatable .datatable-header .datatable-header-cell .sort-btn{cursor:pointer;display:inline-block;line-height:100%;vertical-align:middle}.ngx-datatable .datatable-header .datatable-header-cell .resize-handle,.ngx-datatable .datatable-header .datatable-header-cell .resize-handle--not-resizable{bottom:0;display:inline-block;padding:0 4px;position:absolute;right:0;top:0;visibility:hidden;width:5px}.ngx-datatable .datatable-header .datatable-header-cell .resize-handle{cursor:ew-resize}.ngx-datatable .datatable-header .datatable-header-cell.resizeable:hover .resize-handle,.ngx-datatable .datatable-header .datatable-header-cell:hover .resize-handle--not-resizable{visibility:visible}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker{bottom:0;position:absolute;top:0}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker.dragFromLeft{right:0}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker.dragFromRight{left:0}.ngx-datatable .datatable-header .datatable-header-cell .datatable-header-cell-template-wrap{height:inherit}.ngx-datatable .datatable-body{display:block;position:relative;z-index:10}.ngx-datatable .datatable-body .datatable-scroll{display:inline-block}.ngx-datatable .datatable-body .datatable-row-detail{overflow-y:hidden}.ngx-datatable .datatable-body .datatable-row-wrapper{display:flex;flex-direction:column}.ngx-datatable .datatable-body .datatable-body-row{outline:none}.ngx-datatable .datatable-body .datatable-body-row>div{display:flex}.ngx-datatable .datatable-footer{display:block;overflow:auto;width:100%}.ngx-datatable .datatable-footer .datatable-footer-inner{align-items:center;display:flex;width:100%}.ngx-datatable .datatable-footer .selected-count .page-count{flex:1 1 40%}.ngx-datatable .datatable-footer .selected-count .datatable-pager{flex:1 1 60%}.ngx-datatable .datatable-footer .page-count{flex:1 1 20%}.ngx-datatable .datatable-footer .datatable-pager{flex:1 1 80%;text-align:right}.ngx-datatable .datatable-footer .datatable-pager .pager,.ngx-datatable .datatable-footer .datatable-pager .pager li{display:inline-block;list-style:none;margin:0;padding:0}.ngx-datatable .datatable-footer .datatable-pager .pager li,.ngx-datatable .datatable-footer .datatable-pager .pager li a{outline:none}.ngx-datatable .datatable-footer .datatable-pager .pager li a{cursor:pointer;display:inline-block}.ngx-datatable .datatable-footer .datatable-pager .pager li.disabled a{cursor:not-allowed}"],encapsulation:2,changeDetection:0}),(0,m.gn)([es(5)],gt.prototype,"onWindowResize",null),gt})(),$a=(()=>{class gt{constructor(ie){this.cd=ie,this.sort=new r.vpe,this.select=new r.vpe,this.columnContextmenu=new r.vpe(!1),this.sortFn=this.onSort.bind(this),this.selectFn=this.select.emit.bind(this.select),this.cellContext={column:this.column,sortDir:this.sortDir,sortFn:this.sortFn,allRowsSelected:this.allRowsSelected,selectFn:this.selectFn}}set allRowsSelected(ie){this._allRowsSelected=ie,this.cellContext.allRowsSelected=ie}get allRowsSelected(){return this._allRowsSelected}set column(ie){this._column=ie,this.cellContext.column=ie,this.cd.markForCheck()}get column(){return this._column}set sorts(ie){this._sorts=ie,this.sortDir=this.calcSortDir(ie),this.cellContext.sortDir=this.sortDir,this.sortClass=this.calcSortClass(this.sortDir),this.cd.markForCheck()}get sorts(){return this._sorts}get columnCssClasses(){let ie="datatable-header-cell";if(this.column.sortable&&(ie+=" sortable"),this.column.resizeable&&(ie+=" resizeable"),this.column.headerClass)if("string"==typeof this.column.headerClass)ie+=" "+this.column.headerClass;else if("function"==typeof this.column.headerClass){const Jt=this.column.headerClass({column:this.column});if("string"==typeof Jt)ie+=Jt;else if("object"==typeof Jt){const gn=Object.keys(Jt);for(const vi of gn)!0===Jt[vi]&&(ie+=` ${vi}`)}}const Ze=this.sortDir;return Ze&&(ie+=` sort-active sort-${Ze}`),ie}get name(){return void 0===this.column.headerTemplate?this.column.name:void 0}get minWidth(){return this.column.minWidth}get maxWidth(){return this.column.maxWidth}get width(){return this.column.width}get isCheckboxable(){return this.column.checkboxable&&this.column.headerCheckboxable&&this.selectionType===tr.checkbox}onContextmenu(ie){this.columnContextmenu.emit({event:ie,column:this.column})}ngOnInit(){this.sortClass=this.calcSortClass(this.sortDir)}calcSortDir(ie){if(ie&&this.column){const Ze=ie.find(Jt=>Jt.prop===this.column.prop);if(Ze)return Ze.dir}}onSort(){if(!this.column.sortable)return;const ie=function jl(gt,Tn){return gt===Zn.single?Tn===Ro.asc?Ro.desc:Ro.asc:Tn?Tn===Ro.asc?Ro.desc:void 0:Ro.asc}(this.sortType,this.sortDir);this.sort.emit({column:this.column,prevValue:this.sortDir,newValue:ie})}calcSortClass(ie){if(this.cellContext.column.sortable)return ie===Ro.asc?`sort-btn sort-asc ${this.sortAscendingIcon}`:ie===Ro.desc?`sort-btn sort-desc ${this.sortDescendingIcon}`:`sort-btn ${this.sortUnsetIcon}`}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.sBO))},gt.\u0275cmp=r.Xpm({type:gt,selectors:[["datatable-header-cell"]],hostAttrs:[1,"datatable-header-cell"],hostVars:11,hostBindings:function(ie,Ze){1&ie&&r.NdJ("contextmenu",function(gn){return Ze.onContextmenu(gn)}),2&ie&&(r.uIk("title",Ze.name),r.Tol(Ze.columnCssClasses),r.Udp("min-width",Ze.minWidth,"px")("max-width",Ze.maxWidth,"px")("width",Ze.width,"px")("height",Ze.headerHeight,"px"))},inputs:{allRowsSelected:"allRowsSelected",column:"column",sorts:"sorts",sortType:"sortType",sortAscendingIcon:"sortAscendingIcon",sortDescendingIcon:"sortDescendingIcon",sortUnsetIcon:"sortUnsetIcon",isTarget:"isTarget",targetMarkerTemplate:"targetMarkerTemplate",targetMarkerContext:"targetMarkerContext",selectionType:"selectionType",headerHeight:"headerHeight"},outputs:{sort:"sort",select:"select",columnContextmenu:"columnContextmenu"},decls:6,vars:6,consts:[[1,"datatable-header-cell-template-wrap"],[4,"ngIf"],["class","datatable-checkbox",4,"ngIf"],["class","datatable-header-cell-wrapper",4,"ngIf"],[3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"datatable-checkbox"],["type","checkbox",3,"checked","change"],[1,"datatable-header-cell-wrapper"],[1,"datatable-header-cell-label","draggable",3,"innerHTML","click"]],template:function(ie,Ze){1&ie&&(r.TgZ(0,"div",0),r.YNc(1,Te,1,2,null,1),r.YNc(2,$e,2,1,"label",2),r.YNc(3,ge,2,1,"span",3),r.YNc(4,ot,1,2,null,1),r.TgZ(5,"span",4),r.NdJ("click",function(){return Ze.onSort()}),r.qZA()()),2&ie&&(r.xp6(1),r.Q6J("ngIf",Ze.isTarget),r.xp6(1),r.Q6J("ngIf",Ze.isCheckboxable),r.xp6(1),r.Q6J("ngIf",!Ze.column.headerTemplate),r.xp6(1),r.Q6J("ngIf",Ze.column.headerTemplate),r.xp6(1),r.Tol(Ze.sortClass))},dependencies:[a.O5,a.tP],encapsulation:2,changeDetection:0}),gt})(),Rl=(()=>{class gt{constructor(){this.selectedCount=0,this.page=new r.vpe}get isVisible(){return this.rowCount/this.pageSize>1}get curPage(){return this.offset+1}}return gt.\u0275fac=function(ie){return new(ie||gt)},gt.\u0275cmp=r.Xpm({type:gt,selectors:[["datatable-footer"]],hostAttrs:[1,"datatable-footer"],inputs:{selectedCount:"selectedCount",footerHeight:"footerHeight",rowCount:"rowCount",pageSize:"pageSize",offset:"offset",pagerLeftArrowIcon:"pagerLeftArrowIcon",pagerRightArrowIcon:"pagerRightArrowIcon",pagerPreviousIcon:"pagerPreviousIcon",pagerNextIcon:"pagerNextIcon",totalMessage:"totalMessage",footerTemplate:"footerTemplate",selectedMessage:"selectedMessage"},outputs:{page:"page"},decls:4,vars:8,consts:[[1,"datatable-footer-inner",3,"ngClass"],[4,"ngIf"],["class","page-count",4,"ngIf"],[3,"pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","pagerNextIcon","page","size","count","hidden","change",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"page-count"],[3,"pagerLeftArrowIcon","pagerRightArrowIcon","pagerPreviousIcon","pagerNextIcon","page","size","count","hidden","change"]],template:function(ie,Ze){1&ie&&(r.TgZ(0,"div",0),r.YNc(1,He,1,8,null,1),r.YNc(2,Le,3,3,"div",2),r.YNc(3,Pt,1,8,"datatable-pager",3),r.qZA()),2&ie&&(r.Udp("height",Ze.footerHeight,"px"),r.Q6J("ngClass",r.VKq(6,it,Ze.selectedMessage)),r.xp6(1),r.Q6J("ngIf",Ze.footerTemplate),r.xp6(1),r.Q6J("ngIf",!Ze.footerTemplate),r.xp6(1),r.Q6J("ngIf",!Ze.footerTemplate))},dependencies:function(){return[a.mk,a.O5,a.tP,Ji]},encapsulation:2,changeDetection:0}),gt})(),Ji=(()=>{class gt{constructor(){this.change=new r.vpe,this._count=0,this._page=1,this._size=0}set size(ie){this._size=ie,this.pages=this.calcPages()}get size(){return this._size}set count(ie){this._count=ie,this.pages=this.calcPages()}get count(){return this._count}set page(ie){this._page=ie,this.pages=this.calcPages()}get page(){return this._page}get totalPages(){const ie=this.size<1?1:Math.ceil(this.count/this.size);return Math.max(ie||0,1)}canPrevious(){return this.page>1}canNext(){return this.page<this.totalPages}prevPage(){this.selectPage(this.page-1)}nextPage(){this.selectPage(this.page+1)}selectPage(ie){ie>0&&ie<=this.totalPages&&ie!==this.page&&(this.page=ie,this.change.emit({page:ie}))}calcPages(ie){const Ze=[];let Jt=1,gn=this.totalPages;ie=ie||this.page,5<this.totalPages&&(Jt=ie-Math.floor(2.5),gn=ie+Math.floor(2.5),Jt<1?(Jt=1,gn=Math.min(Jt+5-1,this.totalPages)):gn>this.totalPages&&(Jt=Math.max(this.totalPages-5+1,1),gn=this.totalPages));for(let Xi=Jt;Xi<=gn;Xi++)Ze.push({number:Xi,text:Xi});return Ze}}return gt.\u0275fac=function(ie){return new(ie||gt)},gt.\u0275cmp=r.Xpm({type:gt,selectors:[["datatable-pager"]],hostAttrs:[1,"datatable-pager"],inputs:{size:"size",count:"count",page:"page",pagerLeftArrowIcon:"pagerLeftArrowIcon",pagerRightArrowIcon:"pagerRightArrowIcon",pagerPreviousIcon:"pagerPreviousIcon",pagerNextIcon:"pagerNextIcon"},outputs:{change:"change"},decls:14,vars:21,consts:[[1,"pager"],["role","button","aria-label","go to first page","href","javascript:void(0)",3,"click"],["role","button","aria-label","go to previous page","href","javascript:void(0)",3,"click"],["role","button","class","pages",3,"active",4,"ngFor","ngForOf"],["role","button","aria-label","go to next page","href","javascript:void(0)",3,"click"],["role","button","aria-label","go to last page","href","javascript:void(0)",3,"click"],["role","button",1,"pages"],["href","javascript:void(0)",3,"click"]],template:function(ie,Ze){1&ie&&(r.TgZ(0,"ul",0)(1,"li")(2,"a",1),r.NdJ("click",function(){return Ze.selectPage(1)}),r._UZ(3,"i"),r.qZA()(),r.TgZ(4,"li")(5,"a",2),r.NdJ("click",function(){return Ze.prevPage()}),r._UZ(6,"i"),r.qZA()(),r.YNc(7,Xt,3,4,"li",3),r.TgZ(8,"li")(9,"a",4),r.NdJ("click",function(){return Ze.nextPage()}),r._UZ(10,"i"),r.qZA()(),r.TgZ(11,"li")(12,"a",5),r.NdJ("click",function(){return Ze.selectPage(Ze.totalPages)}),r._UZ(13,"i"),r.qZA()()()),2&ie&&(r.xp6(1),r.ekj("disabled",!Ze.canPrevious()),r.xp6(2),r.Tol(Ze.pagerPreviousIcon),r.xp6(1),r.ekj("disabled",!Ze.canPrevious()),r.xp6(2),r.Tol(Ze.pagerLeftArrowIcon),r.xp6(1),r.Q6J("ngForOf",Ze.pages),r.xp6(1),r.ekj("disabled",!Ze.canNext()),r.xp6(2),r.Tol(Ze.pagerRightArrowIcon),r.xp6(1),r.ekj("disabled",!Ze.canNext()),r.xp6(2),r.Tol(Ze.pagerNextIcon))},dependencies:[a.sg],encapsulation:2,changeDetection:0}),gt})(),Ha=(()=>{class gt{}return gt.\u0275fac=function(ie){return new(ie||gt)},gt.\u0275cmp=r.Xpm({type:gt,selectors:[["datatable-progress"]],decls:3,vars:0,consts:[["role","progressbar",1,"progress-linear"],[1,"container"],[1,"bar"]],template:function(ie,Ze){1&ie&&(r.TgZ(0,"div",0)(1,"div",1),r._UZ(2,"div",2),r.qZA()())},encapsulation:2,changeDetection:0}),gt})();var Ts=(()=>{return(gt=Ts||(Ts={}))[gt.up=38]="up",gt[gt.down=40]="down",gt[gt.return=13]="return",gt[gt.escape=27]="escape",gt[gt.left=37]="left",gt[gt.right=39]="right",Ts;var gt})();let hs=(()=>{class gt{constructor(ie,Ze,Jt,gn){this.differs=ie,this.scrollbarHelper=Ze,this.cd=Jt,this.treeStatus="collapsed",this.activate=new r.vpe,this.treeAction=new r.vpe,this._groupStyles={left:{},center:{},right:{}},this._element=gn.nativeElement,this._rowDiffer=ie.find({}).create()}set columns(ie){this._columns=ie,this.recalculateColumns(ie),this.buildStylesByGroup()}get columns(){return this._columns}set innerWidth(ie){if(this._columns){const Ze=Ci(this._columns);this._columnGroupWidths=Ai(Ze,this._columns)}this._innerWidth=ie,this.recalculateColumns(),this.buildStylesByGroup()}get innerWidth(){return this._innerWidth}set offsetX(ie){this._offsetX=ie,this.buildStylesByGroup()}get offsetX(){return this._offsetX}get cssClass(){let ie="datatable-body-row";if(this.isSelected&&(ie+=" active"),this.rowIndex%2!=0&&(ie+=" datatable-row-odd"),this.rowIndex%2==0&&(ie+=" datatable-row-even"),this.rowClass){const Ze=this.rowClass(this.row);if("string"==typeof Ze)ie+=` ${Ze}`;else if("object"==typeof Ze){const Jt=Object.keys(Ze);for(const gn of Jt)!0===Ze[gn]&&(ie+=` ${gn}`)}}return ie}get columnsTotalWidths(){return this._columnGroupWidths.total}ngDoCheck(){this._rowDiffer.diff(this.row)&&this.cd.markForCheck()}trackByGroups(ie,Ze){return Ze.type}columnTrackingFn(ie,Ze){return Ze.$$id}buildStylesByGroup(){this._groupStyles.left=this.calcStylesByGroup("left"),this._groupStyles.center=this.calcStylesByGroup("center"),this._groupStyles.right=this.calcStylesByGroup("right"),this.cd.markForCheck()}calcStylesByGroup(ie){const Ze=this._columnGroupWidths,Jt=this.offsetX,gn={width:`${Ze[ie]}px`};if("left"===ie)Bn(gn,Jt,0);else if("right"===ie){const vi=parseInt(this.innerWidth+"",0);Bn(gn,-1*(Ze.total-vi-Jt+this.scrollbarHelper.width),0)}return gn}onActivate(ie,Ze){ie.cellIndex=Ze,ie.rowElement=this._element,this.activate.emit(ie)}onKeyDown(ie){const Ze=ie.keyCode;(Ze===Ts.return||Ze===Ts.down||Ze===Ts.up||Ze===Ts.left||Ze===Ts.right)&&ie.target===this._element&&(ie.preventDefault(),ie.stopPropagation(),this.activate.emit({type:"keydown",event:ie,row:this.row,rowElement:this._element}))}onMouseenter(ie){this.activate.emit({type:"mouseenter",event:ie,row:this.row,rowElement:this._element})}recalculateColumns(ie=this.columns){this._columns=ie;const Ze=Ci(this._columns);this._columnsByPin=dr(this._columns),this._columnGroupWidths=Ai(Ze,this._columns)}onTreeAction(){this.treeAction.emit()}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.aQg),r.Y36(so,4),r.Y36(r.sBO),r.Y36(r.SBq))},gt.\u0275cmp=r.Xpm({type:gt,selectors:[["datatable-body-row"]],hostVars:6,hostBindings:function(ie,Ze){1&ie&&r.NdJ("keydown",function(gn){return Ze.onKeyDown(gn)})("mouseenter",function(gn){return Ze.onMouseenter(gn)}),2&ie&&(r.Tol(Ze.cssClass),r.Udp("width",Ze.columnsTotalWidths,"px")("height",Ze.rowHeight,"px"))},inputs:{treeStatus:"treeStatus",columns:"columns",innerWidth:"innerWidth",offsetX:"offsetX",expanded:"expanded",rowClass:"rowClass",row:"row",group:"group",isSelected:"isSelected",rowIndex:"rowIndex",displayCheck:"displayCheck",rowHeight:"rowHeight"},outputs:{activate:"activate",treeAction:"treeAction"},decls:1,vars:2,consts:[[3,"class","ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngStyle"],["tabindex","-1",3,"row","group","expanded","isSelected","rowIndex","column","rowHeight","displayCheck","treeStatus","activate","treeAction",4,"ngFor","ngForOf","ngForTrackBy"],["tabindex","-1",3,"row","group","expanded","isSelected","rowIndex","column","rowHeight","displayCheck","treeStatus","activate","treeAction"]],template:function(ie,Ze){1&ie&&r.YNc(0,pn,2,6,"div",0),2&ie&&r.Q6J("ngForOf",Ze._columnsByPin)("ngForTrackBy",Ze.trackByGroups)},dependencies:function(){return[a.sg,a.PC,Aa]},encapsulation:2,changeDetection:0}),gt})(),$s=(()=>{class gt{constructor(ie,Ze){this.cd=ie,this.differs=Ze,this.rowContextmenu=new r.vpe(!1),this.groupContext={group:this.row,expanded:this.expanded,rowIndex:this.rowIndex},this.rowContext={row:this.row,expanded:this.expanded,rowIndex:this.rowIndex},this._expanded=!1,this.rowDiffer=Ze.find({}).create()}set rowIndex(ie){this._rowIndex=ie,this.rowContext.rowIndex=ie,this.groupContext.rowIndex=ie,this.cd.markForCheck()}get rowIndex(){return this._rowIndex}set expanded(ie){this._expanded=ie,this.groupContext.expanded=ie,this.rowContext.expanded=ie,this.cd.markForCheck()}get expanded(){return this._expanded}ngDoCheck(){this.rowDiffer.diff(this.row)&&(this.rowContext.row=this.row,this.groupContext.group=this.row,this.cd.markForCheck())}onContextmenu(ie){this.rowContextmenu.emit({event:ie,row:this.row})}getGroupHeaderStyle(){const ie={};return ie.transform="translate3d("+this.offsetX+"px, 0px, 0px)",ie["backface-visibility"]="hidden",ie.width=this.innerWidth,ie}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.sBO),r.Y36(r.aQg))},gt.\u0275cmp=r.Xpm({type:gt,selectors:[["datatable-row-wrapper"]],hostAttrs:[1,"datatable-row-wrapper"],hostBindings:function(ie,Ze){1&ie&&r.NdJ("contextmenu",function(gn){return Ze.onContextmenu(gn)})},inputs:{rowIndex:"rowIndex",expanded:"expanded",innerWidth:"innerWidth",rowDetail:"rowDetail",groupHeader:"groupHeader",offsetX:"offsetX",detailRowHeight:"detailRowHeight",row:"row",groupedRows:"groupedRows"},outputs:{rowContextmenu:"rowContextmenu"},ngContentSelectors:T,decls:3,vars:3,consts:[["class","datatable-group-header",3,"ngStyle",4,"ngIf"],[4,"ngIf"],["class","datatable-row-detail",3,"height",4,"ngIf"],[1,"datatable-group-header",3,"ngStyle"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"datatable-row-detail"]],template:function(ie,Ze){1&ie&&(r.F$t(),r.YNc(0,qt,2,2,"div",0),r.YNc(1,sn,1,0,"ng-content",1),r.YNc(2,Kr,2,3,"div",2)),2&ie&&(r.Q6J("ngIf",Ze.groupHeader&&Ze.groupHeader.template),r.xp6(1),r.Q6J("ngIf",Ze.groupHeader&&Ze.groupHeader.template&&Ze.expanded||!Ze.groupHeader||!Ze.groupHeader.template),r.xp6(1),r.Q6J("ngIf",Ze.rowDetail&&Ze.rowDetail.template&&Ze.expanded))},dependencies:[a.O5,a.tP,a.PC],encapsulation:2,changeDetection:0}),gt})(),Aa=(()=>{class gt{constructor(ie,Ze){this.cd=Ze,this.activate=new r.vpe,this.treeAction=new r.vpe,this.isFocused=!1,this.onCheckboxChangeFn=this.onCheckboxChange.bind(this),this.activateFn=this.activate.emit.bind(this.activate),this.cellContext={onCheckboxChangeFn:this.onCheckboxChangeFn,activateFn:this.activateFn,row:this.row,group:this.group,value:this.value,column:this.column,rowHeight:this.rowHeight,isSelected:this.isSelected,rowIndex:this.rowIndex,treeStatus:this.treeStatus,onTreeAction:this.onTreeAction.bind(this)},this._element=ie.nativeElement}set group(ie){this._group=ie,this.cellContext.group=ie,this.checkValueUpdates(),this.cd.markForCheck()}get group(){return this._group}set rowHeight(ie){this._rowHeight=ie,this.cellContext.rowHeight=ie,this.checkValueUpdates(),this.cd.markForCheck()}get rowHeight(){return this._rowHeight}set isSelected(ie){this._isSelected=ie,this.cellContext.isSelected=ie,this.cd.markForCheck()}get isSelected(){return this._isSelected}set expanded(ie){this._expanded=ie,this.cellContext.expanded=ie,this.cd.markForCheck()}get expanded(){return this._expanded}set rowIndex(ie){this._rowIndex=ie,this.cellContext.rowIndex=ie,this.checkValueUpdates(),this.cd.markForCheck()}get rowIndex(){return this._rowIndex}set column(ie){this._column=ie,this.cellContext.column=ie,this.checkValueUpdates(),this.cd.markForCheck()}get column(){return this._column}set row(ie){this._row=ie,this.cellContext.row=ie,this.checkValueUpdates(),this.cd.markForCheck()}get row(){return this._row}set sorts(ie){this._sorts=ie,this.calcSortDir=this.calcSortDir(ie)}get sorts(){return this._sorts}set treeStatus(ie){this._treeStatus="collapsed"!==ie&&"expanded"!==ie&&"loading"!==ie&&"disabled"!==ie?"collapsed":ie,this.cellContext.treeStatus=this._treeStatus,this.checkValueUpdates(),this.cd.markForCheck()}get treeStatus(){return this._treeStatus}get columnCssClasses(){let ie="datatable-body-cell";if(this.column.cellClass)if("string"==typeof this.column.cellClass)ie+=" "+this.column.cellClass;else if("function"==typeof this.column.cellClass){const Ze=this.column.cellClass({row:this.row,group:this.group,column:this.column,value:this.value,rowHeight:this.rowHeight});if("string"==typeof Ze)ie+=" "+Ze;else if("object"==typeof Ze){const Jt=Object.keys(Ze);for(const gn of Jt)!0===Ze[gn]&&(ie+=` ${gn}`)}}return this.sortDir||(ie+=" sort-active"),this.isFocused&&(ie+=" active"),this.sortDir===Ro.asc&&(ie+=" sort-asc"),this.sortDir===Ro.desc&&(ie+=" sort-desc"),ie}get width(){return this.column.width}get minWidth(){return this.column.minWidth}get maxWidth(){return this.column.maxWidth}get height(){const ie=this.rowHeight;return isNaN(ie)?ie:ie+"px"}ngDoCheck(){this.checkValueUpdates()}ngOnDestroy(){this.cellTemplate&&this.cellTemplate.clear()}checkValueUpdates(){let ie="";if(this.row&&this.column){const Ze=this.column.$$valueGetter(this.row,this.column.prop),Jt=this.column.pipe;Jt?ie=Jt.transform(Ze):void 0!==ie&&(ie=Ze)}else ie="";this.value!==ie&&(this.value=ie,this.cellContext.value=ie,this.sanitizedValue=null!=ie?this.stripHtml(ie):ie,this.cd.markForCheck())}onFocus(){this.isFocused=!0}onBlur(){this.isFocused=!1}onClick(ie){this.activate.emit({type:"click",event:ie,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element})}onDblClick(ie){this.activate.emit({type:"dblclick",event:ie,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element})}onKeyDown(ie){const Ze=ie.keyCode;(Ze===Ts.return||Ze===Ts.down||Ze===Ts.up||Ze===Ts.left||Ze===Ts.right)&&ie.target===this._element&&(ie.preventDefault(),ie.stopPropagation(),this.activate.emit({type:"keydown",event:ie,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element}))}onCheckboxChange(ie){this.activate.emit({type:"checkbox",event:ie,row:this.row,group:this.group,rowHeight:this.rowHeight,column:this.column,value:this.value,cellElement:this._element,treeStatus:"collapsed"})}calcSortDir(ie){if(!ie)return;const Ze=ie.find(Jt=>Jt.prop===this.column.prop);return Ze?Ze.dir:void 0}stripHtml(ie){return ie.replace?ie.replace(/<\/?[^>]+(>|$)/g,""):ie}onTreeAction(){this.treeAction.emit(this.row)}calcLeftMargin(ie,Ze){return ie.isTreeColumn?Ze.level*(null!=ie.treeLevelIndent?ie.treeLevelIndent:50):0}}return gt.\u0275fac=function(ie){return new(ie||gt)(r.Y36(r.SBq),r.Y36(r.sBO))},gt.\u0275cmp=r.Xpm({type:gt,selectors:[["datatable-body-cell"]],viewQuery:function(ie,Ze){if(1&ie&&r.Gf(Or,7,r.s_b),2&ie){let Jt;r.iGM(Jt=r.CRH())&&(Ze.cellTemplate=Jt.first)}},hostVars:10,hostBindings:function(ie,Ze){1&ie&&r.NdJ("focus",function(){return Ze.onFocus()})("blur",function(){return Ze.onBlur()})("click",function(gn){return Ze.onClick(gn)})("dblclick",function(gn){return Ze.onDblClick(gn)})("keydown",function(gn){return Ze.onKeyDown(gn)}),2&ie&&(r.Tol(Ze.columnCssClasses),r.Udp("width",Ze.width,"px")("min-width",Ze.minWidth,"px")("max-width",Ze.maxWidth,"px")("height",Ze.height))},inputs:{group:"group",rowHeight:"rowHeight",isSelected:"isSelected",expanded:"expanded",rowIndex:"rowIndex",column:"column",row:"row",sorts:"sorts",treeStatus:"treeStatus",displayCheck:"displayCheck"},outputs:{activate:"activate",treeAction:"treeAction"},decls:5,vars:6,consts:[[1,"datatable-body-cell-label"],["class","datatable-checkbox",4,"ngIf"],[4,"ngIf"],[3,"title","innerHTML",4,"ngIf"],[1,"datatable-checkbox"],["type","checkbox",3,"checked","click"],["class","datatable-tree-button",3,"disabled","click",4,"ngIf"],[1,"datatable-tree-button",3,"disabled","click"],["class","icon datatable-icon-collapse",4,"ngIf"],["class","icon datatable-icon-up",4,"ngIf"],["class","icon datatable-icon-down",4,"ngIf"],[1,"icon","datatable-icon-collapse"],[1,"icon","datatable-icon-up"],[1,"icon","datatable-icon-down"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"title","innerHTML"],["cellTemplate",""]],template:function(ie,Ze){1&ie&&(r.TgZ(0,"div",0),r.YNc(1,Lr,2,1,"label",1),r.YNc(2,wn,3,2,"ng-container",2),r.YNc(3,jn,1,2,"span",3),r.YNc(4,Oi,2,2,null,2),r.qZA()),2&ie&&(r.Udp("margin-left",Ze.calcLeftMargin(Ze.column,Ze.row),"px"),r.xp6(1),r.Q6J("ngIf",Ze.column.checkboxable&&(!Ze.displayCheck||Ze.displayCheck(Ze.row,Ze.column,Ze.value))),r.xp6(1),r.Q6J("ngIf",Ze.column.isTreeColumn),r.xp6(1),r.Q6J("ngIf",!Ze.column.cellTemplate),r.xp6(1),r.Q6J("ngIf",Ze.column.cellTemplate))},dependencies:[a.O5,a.tP],encapsulation:2,changeDetection:0}),gt})();function Ja(gt,Tn,ie){const Ze=ie(Tn,gt);return Ze>-1?gt.splice(Ze,1):gt.push(Tn),gt}let Xo=(()=>{class gt{constructor(){this.activate=new r.vpe,this.select=new r.vpe}selectRow(ie,Ze,Jt){if(!this.selectEnabled)return;const gn=this.selectionType===tr.checkbox,Bi=this.selectionType===tr.multiClick;let Xi=[];Xi=this.selectionType===tr.multi||gn||Bi?ie.shiftKey?function fa(gt,Tn,ie,Ze,Jt){const gn=ie<Ze;for(let vi=0;vi<Tn.length;vi++){let ds={start:0,end:0};ds=gn?{start:ie,end:Ze}:{start:Ze,end:ie+1},(gn&&vi<=Ze&&vi>=ie||!gn&&vi>=Ze&&vi<=ie)&&vi>=ds.start&&vi<=ds.end&&gt.push(Tn[vi])}return gt}([],this.rows,Ze,this.prevIndex,this.getRowSelectedIdx.bind(this)):Ja(ie.ctrlKey||ie.metaKey||Bi||gn?[...this.selected]:[],Jt,this.getRowSelectedIdx.bind(this)):Ja([],Jt,this.getRowSelectedIdx.bind(this)),"function"==typeof this.selectCheck&&(Xi=Xi.filter(this.selectCheck.bind(this))),this.selected.splice(0,this.selected.length),this.selected.push(...Xi),this.prevIndex=Ze,this.select.emit({selected:Xi})}onActivate(ie,Ze){const{type:Jt,event:gn,row:vi}=ie,Bi=this.selectionType===tr.checkbox;!Bi&&("click"===Jt||"dblclick"===Jt)||Bi&&"checkbox"===Jt?this.selectRow(gn,Ze,vi):"keydown"===Jt&&(gn.keyCode===Ts.return?this.selectRow(gn,Ze,vi):this.onKeyboardFocus(ie)),this.activate.emit(ie)}onKeyboardFocus(ie){const{keyCode:Ze}=ie.event;if(Ze===Ts.up||Ze===Ts.down||Ze===Ts.right||Ze===Ts.left){const gn=this.selectionType===tr.cell;ie.cellElement&&gn?gn&&this.focusCell(ie.cellElement,ie.rowElement,Ze,ie.cellIndex):this.focusRow(ie.rowElement,Ze)}}focusRow(ie,Ze){const Jt=this.getPrevNextRow(ie,Ze);Jt&&Jt.focus()}getPrevNextRow(ie,Ze){const Jt=ie.parentElement;if(Jt){let gn;if(Ze===Ts.up?gn=Jt.previousElementSibling:Ze===Ts.down&&(gn=Jt.nextElementSibling),gn&&gn.children.length)return gn.children[0]}}focusCell(ie,Ze,Jt,gn){let vi;if(Jt===Ts.left)vi=ie.previousElementSibling;else if(Jt===Ts.right)vi=ie.nextElementSibling;else if(Jt===Ts.up||Jt===Ts.down){const Bi=this.getPrevNextRow(Ze,Jt);if(Bi){const Xi=Bi.getElementsByClassName("datatable-body-cell");Xi.length&&(vi=Xi[gn])}}vi&&vi.focus()}getRowSelected(ie){return this.getRowSelectedIdx(ie,this.selected)>-1}getRowSelectedIdx(ie,Ze){if(!Ze||!Ze.length)return-1;const Jt=this.rowIdentity(ie);return Ze.findIndex(gn=>this.rowIdentity(gn)===Jt)}}return gt.\u0275fac=function(ie){return new(ie||gt)},gt.\u0275cmp=r.Xpm({type:gt,selectors:[["datatable-selection"]],inputs:{rows:"rows",selected:"selected",selectEnabled:"selectEnabled",selectionType:"selectionType",rowIdentity:"rowIdentity",selectCheck:"selectCheck"},outputs:{activate:"activate",select:"select"},ngContentSelectors:T,decls:1,vars:0,template:function(ie,Ze){1&ie&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),gt})();function No(gt){const Tn=gt.filter(ie=>!!ie);return!Tn.length||Tn.some(ie=>"number"!=typeof ie)?null:Tn.reduce((ie,Ze)=>ie+Ze)}function Cs(gt){return null}let ns=(()=>{class gt{constructor(){this.summaryRow={}}ngOnChanges(){!this.columns||!this.rows||(this.updateInternalColumns(),this.updateValues())}updateInternalColumns(){this._internalColumns=this.columns.map(ie=>Object.assign(Object.assign({},ie),{cellTemplate:ie.summaryTemplate}))}updateValues(){this.summaryRow={},this.columns.filter(ie=>!ie.summaryTemplate).forEach(ie=>{const Ze=this.rows.map(gn=>gn[ie.prop]),Jt=this.getSummaryFunction(ie);this.summaryRow[ie.prop]=ie.pipe?ie.pipe.transform(Jt(Ze)):Jt(Ze)})}getSummaryFunction(ie){return void 0===ie.summaryFunc?No:null===ie.summaryFunc?Cs:ie.summaryFunc}}return gt.\u0275fac=function(ie){return new(ie||gt)},gt.\u0275cmp=r.Xpm({type:gt,selectors:[["datatable-summary-row"]],hostAttrs:[1,"datatable-summary-row"],inputs:{rows:"rows",columns:"columns",rowHeight:"rowHeight",offsetX:"offsetX",innerWidth:"innerWidth"},features:[r.TTD],decls:1,vars:1,consts:[["tabindex","-1",3,"innerWidth","offsetX","columns","rowHeight","row","rowIndex",4,"ngIf"],["tabindex","-1",3,"innerWidth","offsetX","columns","rowHeight","row","rowIndex"]],template:function(ie,Ze){1&ie&&r.YNc(0,Wi,1,6,"datatable-body-row",0),2&ie&&r.Q6J("ngIf",Ze.summaryRow&&Ze._internalColumns)},dependencies:[a.O5,hs],encapsulation:2}),gt})(),Fo=(()=>{class gt{static forRoot(ie){return{ngModule:gt,providers:[{provide:"configuration",useValue:ie}]}}}return gt.\u0275fac=function(ie){return new(ie||gt)},gt.\u0275mod=r.oAB({type:gt}),gt.\u0275inj=r.cJS({providers:[so,kr,Ei],imports:[a.ez]}),gt})();typeof document<"u"&&!document.elementsFromPoint&&(document.elementsFromPoint=function io(gt,Tn){const ie=[],Ze=[];let Jt,gn,vi;for(;(Jt=document.elementFromPoint(gt,Tn))&&-1===ie.indexOf(Jt)&&null!=Jt;)ie.push(Jt),Ze.push({value:Jt.style.getPropertyValue("pointer-events"),priority:Jt.style.getPropertyPriority("pointer-events")}),Jt.style.setProperty("pointer-events","none","important");for(gn=Ze.length;vi=Ze[--gn];)ie[gn].style.setProperty("pointer-events",vi.value?vi.value:"",vi.priority);return ie})},67506:E=>{"use strict";function C(a,c,u){a instanceof RegExp&&(a=s(a,u)),c instanceof RegExp&&(c=s(c,u));var e=r(a,c,u);return e&&{start:e[0],end:e[1],pre:u.slice(0,e[0]),body:u.slice(e[0]+a.length,e[1]),post:u.slice(e[1]+c.length)}}function s(a,c){var u=c.match(a);return u?u[0]:null}function r(a,c,u){var e,f,m,T,M,w=u.indexOf(a),D=u.indexOf(c,w+1),U=w;if(w>=0&&D>0){if(a===c)return[w,D];for(e=[],m=u.length;U>=0&&!M;)U==w?(e.push(U),w=u.indexOf(a,U+1)):1==e.length?M=[e.pop(),D]:((f=e.pop())<m&&(m=f,T=D),D=u.indexOf(c,U+1)),U=w<D&&w>=0?w:D;e.length&&(M=[m,T])}return M}E.exports=C,C.range=r},96434:(E,C)=>{"use strict";C.byteLength=function m(W){var $=f(W),F=$[1];return 3*($[0]+F)/4-F},C.toByteArray=function M(W){var $,se,J=f(W),F=J[0],X=J[1],de=new a(function T(W,$,J){return 3*($+J)/4-J}(0,F,X)),V=0,ce=X>0?F-4:F;for(se=0;se<ce;se+=4)$=r[W.charCodeAt(se)]<<18|r[W.charCodeAt(se+1)]<<12|r[W.charCodeAt(se+2)]<<6|r[W.charCodeAt(se+3)],de[V++]=$>>16&255,de[V++]=$>>8&255,de[V++]=255&$;return 2===X&&($=r[W.charCodeAt(se)]<<2|r[W.charCodeAt(se+1)]>>4,de[V++]=255&$),1===X&&($=r[W.charCodeAt(se)]<<10|r[W.charCodeAt(se+1)]<<4|r[W.charCodeAt(se+2)]>>2,de[V++]=$>>8&255,de[V++]=255&$),de},C.fromByteArray=function U(W){for(var $,J=W.length,F=J%3,X=[],V=0,ce=J-F;V<ce;V+=16383)X.push(D(W,V,V+16383>ce?ce:V+16383));return 1===F?X.push(s[($=W[J-1])>>2]+s[$<<4&63]+"=="):2===F&&X.push(s[($=(W[J-2]<<8)+W[J-1])>>10]+s[$>>4&63]+s[$<<2&63]+"="),X.join("")};for(var s=[],r=[],a=typeof Uint8Array<"u"?Uint8Array:Array,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,e=c.length;u<e;++u)s[u]=c[u],r[c.charCodeAt(u)]=u;function f(W){var $=W.length;if($%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var J=W.indexOf("=");return-1===J&&(J=$),[J,J===$?0:4-J%4]}function w(W){return s[W>>18&63]+s[W>>12&63]+s[W>>6&63]+s[63&W]}function D(W,$,J){for(var X=[],de=$;de<J;de+=3)X.push(w((W[de]<<16&16711680)+(W[de+1]<<8&65280)+(255&W[de+2])));return X.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},33512:(E,C,s)=>{var r=s(2665),a=s(67506);E.exports=function U(V){return V?("{}"===V.substr(0,2)&&(V="\\{\\}"+V.substr(2)),de(function M(V){return V.split("\\\\").join(c).split("\\{").join(u).split("\\}").join(e).split("\\,").join(f).split("\\.").join(m)}(V),!0).map(w)):[]};var c="\0SLASH"+Math.random()+"\0",u="\0OPEN"+Math.random()+"\0",e="\0CLOSE"+Math.random()+"\0",f="\0COMMA"+Math.random()+"\0",m="\0PERIOD"+Math.random()+"\0";function T(V){return parseInt(V,10)==V?parseInt(V,10):V.charCodeAt(0)}function w(V){return V.split(c).join("\\").split(u).join("{").split(e).join("}").split(f).join(",").split(m).join(".")}function D(V){if(!V)return[""];var ce=[],se=a("{","}",V);if(!se)return V.split(",");var Te=se.body,$e=se.post,ge=se.pre.split(",");ge[ge.length-1]+="{"+Te+"}";var Et=D($e);return $e.length&&(ge[ge.length-1]+=Et.shift(),ge.push.apply(ge,Et)),ce.push.apply(ce,ge),ce}function $(V){return"{"+V+"}"}function J(V){return/^-?0\d/.test(V)}function F(V,ce){return V<=ce}function X(V,ce){return V>=ce}function de(V,ce){var se=[],fe=a("{","}",V);if(!fe||/\$$/.test(fe.pre))return[V];var ot,Te=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(fe.body),$e=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(fe.body),ge=Te||$e,Et=fe.body.indexOf(",")>=0;if(!ge&&!Et)return fe.post.match(/,.*\}/)?de(V=fe.pre+"{"+fe.body+e+fe.post):[V];if(ge)ot=fe.body.split(/\.\./);else if(1===(ot=D(fe.body)).length&&1===(ot=de(ot[0],!1).map($)).length)return(qe=fe.post.length?de(fe.post,!1):[""]).map(function(Lr){return fe.pre+ot[0]+Lr});var He,ct=fe.pre,qe=fe.post.length?de(fe.post,!1):[""];if(ge){var We=T(ot[0]),Le=T(ot[1]),Pt=Math.max(ot[0].length,ot[1].length),it=3==ot.length?Math.abs(T(ot[2])):1,Xt=F;Le<We&&(it*=-1,Xt=X);var pn=ot.some(J);He=[];for(var Rn=We;Xt(Rn,Le);Rn+=it){var At;if($e)"\\"===(At=String.fromCharCode(Rn))&&(At="");else if(At=String(Rn),pn){var qt=Pt-At.length;if(qt>0){var sn=new Array(qt+1).join("0");At=Rn<0?"-"+sn+At.slice(1):sn+At}}He.push(At)}}else He=r(ot,function(Or){return de(Or,!1)});for(var fn=0;fn<He.length;fn++)for(var xn=0;xn<qe.length;xn++){var Kr=ct+He[fn]+qe[xn];(!ce||ge||Kr)&&se.push(Kr)}return se}},19568:(E,C,s)=>{"use strict";var r=s(18540),a=s(60044),c=a(r("String.prototype.indexOf"));E.exports=function(e,f){var m=r(e,!!f);return"function"==typeof m&&c(e,".prototype.")>-1?a(m):m}},60044:(E,C,s)=>{"use strict";var r=s(75396),a=s(18540),c=a("%Function.prototype.apply%"),u=a("%Function.prototype.call%"),e=a("%Reflect.apply%",!0)||r.call(u,c),f=a("%Object.getOwnPropertyDescriptor%",!0),m=a("%Object.defineProperty%",!0),T=a("%Math.max%");if(m)try{m({},"a",{value:1})}catch{m=null}E.exports=function(D){var U=e(r,u,arguments);return f&&m&&f(U,"length").configurable&&m(U,"length",{value:1+T(0,D.length-(arguments.length-1))}),U};var M=function(){return e(r,c,arguments)};m?m(E.exports,"apply",{value:M}):E.exports.apply=M},72318:E=>{var C=!!(typeof window<"u"&&window.document&&window.document.createElement);E.exports=C},6823:function(E,C,s){E.exports=function(r){"use strict";r=r&&r.hasOwnProperty("default")?r.default:r;var u={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},e=function a(h,b){return h(b={exports:{}},b.exports),b.exports}(function(h){var b={};for(var N in u)u.hasOwnProperty(N)&&(b[u[N]]=N);var k=h.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var ne in k)if(k.hasOwnProperty(ne)){if(!("channels"in k[ne]))throw new Error("missing channels property: "+ne);if(!("labels"in k[ne]))throw new Error("missing channel labels property: "+ne);if(k[ne].labels.length!==k[ne].channels)throw new Error("channel and label counts mismatch: "+ne);var he=k[ne].channels,Me=k[ne].labels;delete k[ne].channels,delete k[ne].labels,Object.defineProperty(k[ne],"channels",{value:he}),Object.defineProperty(k[ne],"labels",{value:Me})}function Qe(Re,ft){return Math.pow(Re[0]-ft[0],2)+Math.pow(Re[1]-ft[1],2)+Math.pow(Re[2]-ft[2],2)}k.rgb.hsl=function(Re){var Dr,uo,ft=Re[0]/255,wt=Re[1]/255,It=Re[2]/255,Cn=Math.min(ft,wt,It),er=Math.max(ft,wt,It),sr=er-Cn;return er===Cn?Dr=0:ft===er?Dr=(wt-It)/sr:wt===er?Dr=2+(It-ft)/sr:It===er&&(Dr=4+(ft-wt)/sr),(Dr=Math.min(60*Dr,360))<0&&(Dr+=360),uo=(Cn+er)/2,[Dr,100*(er===Cn?0:uo<=.5?sr/(er+Cn):sr/(2-er-Cn)),100*uo]},k.rgb.hsv=function(Re){var ft,wt,It,Cn,er,sr=Re[0]/255,Dr=Re[1]/255,oi=Re[2]/255,uo=Math.max(sr,Dr,oi),As=uo-Math.min(sr,Dr,oi),as=function(ma){return(uo-ma)/6/As+.5};return 0===As?Cn=er=0:(er=As/uo,ft=as(sr),wt=as(Dr),It=as(oi),sr===uo?Cn=It-wt:Dr===uo?Cn=1/3+ft-It:oi===uo&&(Cn=2/3+wt-ft),Cn<0?Cn+=1:Cn>1&&(Cn-=1)),[360*Cn,100*er,100*uo]},k.rgb.hwb=function(Re){var ft=Re[0],wt=Re[1],It=Re[2];return[k.rgb.hsl(Re)[0],1/255*Math.min(ft,Math.min(wt,It))*100,100*(It=1-1/255*Math.max(ft,Math.max(wt,It)))]},k.rgb.cmyk=function(Re){var Dr,ft=Re[0]/255,wt=Re[1]/255,It=Re[2]/255;return[100*((1-ft-(Dr=Math.min(1-ft,1-wt,1-It)))/(1-Dr)||0),100*((1-wt-Dr)/(1-Dr)||0),100*((1-It-Dr)/(1-Dr)||0),100*Dr]},k.rgb.keyword=function(Re){var ft=b[Re];if(ft)return ft;var It,wt=1/0;for(var Cn in u)if(u.hasOwnProperty(Cn)){var sr=Qe(Re,u[Cn]);sr<wt&&(wt=sr,It=Cn)}return It},k.keyword.rgb=function(Re){return u[Re]},k.rgb.xyz=function(Re){var ft=Re[0]/255,wt=Re[1]/255,It=Re[2]/255;return[100*(.4124*(ft=ft>.04045?Math.pow((ft+.055)/1.055,2.4):ft/12.92)+.3576*(wt=wt>.04045?Math.pow((wt+.055)/1.055,2.4):wt/12.92)+.1805*(It=It>.04045?Math.pow((It+.055)/1.055,2.4):It/12.92)),100*(.2126*ft+.7152*wt+.0722*It),100*(.0193*ft+.1192*wt+.9505*It)]},k.rgb.lab=function(Re){var ft=k.rgb.xyz(Re),wt=ft[0],It=ft[1],Cn=ft[2];return It/=100,Cn/=108.883,wt=(wt/=95.047)>.008856?Math.pow(wt,1/3):7.787*wt+16/116,[116*(It=It>.008856?Math.pow(It,1/3):7.787*It+16/116)-16,500*(wt-It),200*(It-(Cn=Cn>.008856?Math.pow(Cn,1/3):7.787*Cn+16/116))]},k.hsl.rgb=function(Re){var Cn,er,sr,Dr,oi,ft=Re[0]/360,wt=Re[1]/100,It=Re[2]/100;if(0===wt)return[oi=255*It,oi,oi];Cn=2*It-(er=It<.5?It*(1+wt):It+wt-It*wt),Dr=[0,0,0];for(var uo=0;uo<3;uo++)(sr=ft+1/3*-(uo-1))<0&&sr++,sr>1&&sr--,Dr[uo]=255*(oi=6*sr<1?Cn+6*(er-Cn)*sr:2*sr<1?er:3*sr<2?Cn+(er-Cn)*(2/3-sr)*6:Cn);return Dr},k.hsl.hsv=function(Re){var ft=Re[0],wt=Re[1]/100,It=Re[2]/100,Cn=wt,er=Math.max(It,.01);return wt*=(It*=2)<=1?It:2-It,Cn*=er<=1?er:2-er,[ft,100*(0===It?2*Cn/(er+Cn):2*wt/(It+wt)),(It+wt)/2*100]},k.hsv.rgb=function(Re){var ft=Re[0]/60,wt=Re[1]/100,It=Re[2]/100,Cn=Math.floor(ft)%6,er=ft-Math.floor(ft),sr=255*It*(1-wt),Dr=255*It*(1-wt*er),oi=255*It*(1-wt*(1-er));switch(It*=255,Cn){case 0:return[It,oi,sr];case 1:return[Dr,It,sr];case 2:return[sr,It,oi];case 3:return[sr,Dr,It];case 4:return[oi,sr,It];case 5:return[It,sr,Dr]}},k.hsv.hsl=function(Re){var er,sr,Dr,ft=Re[0],wt=Re[1]/100,It=Re[2]/100,Cn=Math.max(It,.01);return Dr=(2-wt)*It,sr=wt*Cn,[ft,100*(sr=(sr/=(er=(2-wt)*Cn)<=1?er:2-er)||0),100*(Dr/=2)]},k.hwb.rgb=function(Re){var er,sr,Dr,oi,uo,As,as,ft=Re[0]/360,wt=Re[1]/100,It=Re[2]/100,Cn=wt+It;switch(Cn>1&&(wt/=Cn,It/=Cn),Dr=6*ft-(er=Math.floor(6*ft)),1&er&&(Dr=1-Dr),oi=wt+Dr*((sr=1-It)-wt),er){default:case 6:case 0:uo=sr,As=oi,as=wt;break;case 1:uo=oi,As=sr,as=wt;break;case 2:uo=wt,As=sr,as=oi;break;case 3:uo=wt,As=oi,as=sr;break;case 4:uo=oi,As=wt,as=sr;break;case 5:uo=sr,As=wt,as=oi}return[255*uo,255*As,255*as]},k.cmyk.rgb=function(Re){var wt=Re[1]/100,It=Re[2]/100,Cn=Re[3]/100;return[255*(1-Math.min(1,Re[0]/100*(1-Cn)+Cn)),255*(1-Math.min(1,wt*(1-Cn)+Cn)),255*(1-Math.min(1,It*(1-Cn)+Cn))]},k.xyz.rgb=function(Re){var Cn,er,sr,ft=Re[0]/100,wt=Re[1]/100,It=Re[2]/100;return er=-.9689*ft+1.8758*wt+.0415*It,sr=.0557*ft+-.204*wt+1.057*It,Cn=(Cn=3.2406*ft+-1.5372*wt+-.4986*It)>.0031308?1.055*Math.pow(Cn,1/2.4)-.055:12.92*Cn,er=er>.0031308?1.055*Math.pow(er,1/2.4)-.055:12.92*er,sr=sr>.0031308?1.055*Math.pow(sr,1/2.4)-.055:12.92*sr,[255*(Cn=Math.min(Math.max(0,Cn),1)),255*(er=Math.min(Math.max(0,er),1)),255*(sr=Math.min(Math.max(0,sr),1))]},k.xyz.lab=function(Re){var ft=Re[0],wt=Re[1],It=Re[2];return wt/=100,It/=108.883,ft=(ft/=95.047)>.008856?Math.pow(ft,1/3):7.787*ft+16/116,[116*(wt=wt>.008856?Math.pow(wt,1/3):7.787*wt+16/116)-16,500*(ft-wt),200*(wt-(It=It>.008856?Math.pow(It,1/3):7.787*It+16/116))]},k.lab.xyz=function(Re){var Cn,er,sr;Cn=Re[1]/500+(er=(Re[0]+16)/116),sr=er-Re[2]/200;var Dr=Math.pow(er,3),oi=Math.pow(Cn,3),uo=Math.pow(sr,3);return er=Dr>.008856?Dr:(er-16/116)/7.787,Cn=oi>.008856?oi:(Cn-16/116)/7.787,sr=uo>.008856?uo:(sr-16/116)/7.787,[Cn*=95.047,er*=100,sr*=108.883]},k.lab.lch=function(Re){var er,ft=Re[0],wt=Re[1],It=Re[2];return(er=360*Math.atan2(It,wt)/2/Math.PI)<0&&(er+=360),[ft,Math.sqrt(wt*wt+It*It),er]},k.lch.lab=function(Re){var sr,wt=Re[1];return sr=Re[2]/360*2*Math.PI,[Re[0],wt*Math.cos(sr),wt*Math.sin(sr)]},k.rgb.ansi16=function(Re){var ft=Re[0],wt=Re[1],It=Re[2],Cn=1 in arguments?arguments[1]:k.rgb.hsv(Re)[2];if(0===(Cn=Math.round(Cn/50)))return 30;var er=30+(Math.round(It/255)<<2|Math.round(wt/255)<<1|Math.round(ft/255));return 2===Cn&&(er+=60),er},k.hsv.ansi16=function(Re){return k.rgb.ansi16(k.hsv.rgb(Re),Re[2])},k.rgb.ansi256=function(Re){var ft=Re[0],wt=Re[1],It=Re[2];return ft===wt&&wt===It?ft<8?16:ft>248?231:Math.round((ft-8)/247*24)+232:16+36*Math.round(ft/255*5)+6*Math.round(wt/255*5)+Math.round(It/255*5)},k.ansi16.rgb=function(Re){var ft=Re%10;if(0===ft||7===ft)return Re>50&&(ft+=3.5),[ft=ft/10.5*255,ft,ft];var wt=.5*(1+~~(Re>50));return[(1&ft)*wt*255,(ft>>1&1)*wt*255,(ft>>2&1)*wt*255]},k.ansi256.rgb=function(Re){if(Re>=232){var ft=10*(Re-232)+8;return[ft,ft,ft]}var wt;return Re-=16,[Math.floor(Re/36)/5*255,Math.floor((wt=Re%36)/6)/5*255,wt%6/5*255]},k.rgb.hex=function(Re){var wt=(((255&Math.round(Re[0]))<<16)+((255&Math.round(Re[1]))<<8)+(255&Math.round(Re[2]))).toString(16).toUpperCase();return"000000".substring(wt.length)+wt},k.hex.rgb=function(Re){var ft=Re.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!ft)return[0,0,0];var wt=ft[0];3===ft[0].length&&(wt=wt.split("").map(function(Dr){return Dr+Dr}).join(""));var It=parseInt(wt,16);return[It>>16&255,It>>8&255,255&It]},k.rgb.hcg=function(Re){var oi,ft=Re[0]/255,wt=Re[1]/255,It=Re[2]/255,Cn=Math.max(Math.max(ft,wt),It),er=Math.min(Math.min(ft,wt),It),sr=Cn-er;return oi=sr<=0?0:Cn===ft?(wt-It)/sr%6:Cn===wt?2+(It-ft)/sr:4+(ft-wt)/sr+4,oi/=6,[360*(oi%=1),100*sr,100*(sr<1?er/(1-sr):0)]},k.hsl.hcg=function(Re){var It,ft=Re[1]/100,wt=Re[2]/100,Cn=0;return(It=wt<.5?2*ft*wt:2*ft*(1-wt))<1&&(Cn=(wt-.5*It)/(1-It)),[Re[0],100*It,100*Cn]},k.hsv.hcg=function(Re){var wt=Re[2]/100,It=Re[1]/100*wt,Cn=0;return It<1&&(Cn=(wt-It)/(1-It)),[Re[0],100*It,100*Cn]},k.hcg.rgb=function(Re){var wt=Re[1]/100,It=Re[2]/100;if(0===wt)return[255*It,255*It,255*It];var oi,Cn=[0,0,0],er=Re[0]/360%1*6,sr=er%1,Dr=1-sr;switch(Math.floor(er)){case 0:Cn[0]=1,Cn[1]=sr,Cn[2]=0;break;case 1:Cn[0]=Dr,Cn[1]=1,Cn[2]=0;break;case 2:Cn[0]=0,Cn[1]=1,Cn[2]=sr;break;case 3:Cn[0]=0,Cn[1]=Dr,Cn[2]=1;break;case 4:Cn[0]=sr,Cn[1]=0,Cn[2]=1;break;default:Cn[0]=1,Cn[1]=0,Cn[2]=Dr}return[255*(wt*Cn[0]+(oi=(1-wt)*It)),255*(wt*Cn[1]+oi),255*(wt*Cn[2]+oi)]},k.hcg.hsv=function(Re){var ft=Re[1]/100,It=ft+Re[2]/100*(1-ft),Cn=0;return It>0&&(Cn=ft/It),[Re[0],100*Cn,100*It]},k.hcg.hsl=function(Re){var ft=Re[1]/100,It=Re[2]/100*(1-ft)+.5*ft,Cn=0;return It>0&&It<.5?Cn=ft/(2*It):It>=.5&&It<1&&(Cn=ft/(2*(1-It))),[Re[0],100*Cn,100*It]},k.hcg.hwb=function(Re){var ft=Re[1]/100,It=ft+Re[2]/100*(1-ft);return[Re[0],100*(It-ft),100*(1-It)]},k.hwb.hcg=function(Re){var It=1-Re[2]/100,Cn=It-Re[1]/100,er=0;return Cn<1&&(er=(It-Cn)/(1-Cn)),[Re[0],100*Cn,100*er]},k.apple.rgb=function(Re){return[Re[0]/65535*255,Re[1]/65535*255,Re[2]/65535*255]},k.rgb.apple=function(Re){return[Re[0]/255*65535,Re[1]/255*65535,Re[2]/255*65535]},k.gray.rgb=function(Re){return[Re[0]/100*255,Re[0]/100*255,Re[0]/100*255]},k.gray.hsl=k.gray.hsv=function(Re){return[0,0,Re[0]]},k.gray.hwb=function(Re){return[0,100,Re[0]]},k.gray.cmyk=function(Re){return[0,0,0,Re[0]]},k.gray.lab=function(Re){return[Re[0],0,0]},k.gray.hex=function(Re){var ft=255&Math.round(Re[0]/100*255),It=((ft<<16)+(ft<<8)+ft).toString(16).toUpperCase();return"000000".substring(It.length)+It},k.rgb.gray=function(Re){return[(Re[0]+Re[1]+Re[2])/3/255*100]}});function fe(h){var b=function se(){for(var h={},b=Object.keys(e),N=b.length,k=0;k<N;k++)h[b[k]]={distance:-1,parent:null};return h}(),N=[h];for(b[h].distance=0;N.length;)for(var k=N.pop(),ne=Object.keys(e[k]),he=ne.length,Me=0;Me<he;Me++){var Qe=ne[Me],Re=b[Qe];-1===Re.distance&&(Re.distance=b[k].distance+1,Re.parent=k,N.unshift(Qe))}return b}function Te(h,b){return function(N){return b(h(N))}}function $e(h,b){for(var N=[b[h].parent,h],k=e[b[h].parent][h],ne=b[h].parent;b[ne].parent;)N.unshift(b[ne].parent),k=Te(e[b[ne].parent][ne],k),ne=b[ne].parent;return k.conversion=N,k}var Et={};Object.keys(e).forEach(function(h){Et[h]={},Object.defineProperty(Et[h],"channels",{value:e[h].channels}),Object.defineProperty(Et[h],"labels",{value:e[h].labels});var b=function(h){for(var b=fe(h),N={},k=Object.keys(b),ne=k.length,he=0;he<ne;he++){var Me=k[he];null!==b[Me].parent&&(N[Me]=$e(Me,b))}return N}(h);Object.keys(b).forEach(function(k){var ne=b[k];Et[h][k]=function qe(h){var b=function(N){if(null==N)return N;arguments.length>1&&(N=Array.prototype.slice.call(arguments));var k=h(N);if("object"==typeof k)for(var ne=k.length,he=0;he<ne;he++)k[he]=Math.round(k[he]);return k};return"conversion"in h&&(b.conversion=h.conversion),b}(ne),Et[h][k].raw=function ct(h){var b=function(N){return null==N?N:(arguments.length>1&&(N=Array.prototype.slice.call(arguments)),h(N))};return"conversion"in h&&(b.conversion=h.conversion),b}(ne)})});var He=Et,We={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Le={getRgba:Pt,getHsla:it,getRgb:function cn(h){var b=Pt(h);return b&&b.slice(0,3)},getHsl:function pn(h){var b=it(h);return b&&b.slice(0,3)},getHwb:Xt,getAlpha:function Rn(h){var b=Pt(h);return b||(b=it(h))||(b=Xt(h))?b[3]:void 0},hexString:function At(h,N){return N=void 0!==N&&3===h.length?N:h[3],"#"+jr(h[0])+jr(h[1])+jr(h[2])+(N>=0&&N<1?jr(Math.round(255*N)):"")},rgbString:function qt(h,b){return b<1||h[3]&&h[3]<1?sn(h,b):"rgb("+h[0]+", "+h[1]+", "+h[2]+")"},rgbaString:sn,percentString:function fn(h,b){return b<1||h[3]&&h[3]<1?xn(h,b):"rgb("+Math.round(h[0]/255*100)+"%, "+Math.round(h[1]/255*100)+"%, "+Math.round(h[2]/255*100)+"%)"},percentaString:xn,hslString:function Kr(h,b){return b<1||h[3]&&h[3]<1?Or(h,b):"hsl("+h[0]+", "+h[1]+"%, "+h[2]+"%)"},hslaString:Or,hwbString:function Lr(h,b){return void 0===b&&(b=void 0!==h[3]?h[3]:1),"hwb("+h[0]+", "+h[1]+"%, "+h[2]+"%"+(void 0!==b&&1!==b?", "+b:"")+")"},keyword:function ir(h){return br[h.slice(0,3)]}};function Pt(h){if(h){var Me=[0,0,0],Qe=1,Re=h.match(/^#([a-fA-F0-9]{3,4})$/i),ft="";if(Re){ft=(Re=Re[1])[3];for(var wt=0;wt<Me.length;wt++)Me[wt]=parseInt(Re[wt]+Re[wt],16);ft&&(Qe=Math.round(parseInt(ft+ft,16)/255*100)/100)}else if(Re=h.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(ft=Re[2],Re=Re[1],wt=0;wt<Me.length;wt++)Me[wt]=parseInt(Re.slice(2*wt,2*wt+2),16);ft&&(Qe=Math.round(parseInt(ft,16)/255*100)/100)}else if(Re=h.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(wt=0;wt<Me.length;wt++)Me[wt]=parseInt(Re[wt+1]);Qe=parseFloat(Re[4])}else if(Re=h.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(wt=0;wt<Me.length;wt++)Me[wt]=Math.round(2.55*parseFloat(Re[wt+1]));Qe=parseFloat(Re[4])}else if(Re=h.match(/(\w+)/)){if("transparent"==Re[1])return[0,0,0,0];if(!(Me=We[Re[1]]))return}for(wt=0;wt<Me.length;wt++)Me[wt]=Qr(Me[wt],0,255);return Qe=Qe||0==Qe?Qr(Qe,0,1):1,Me[3]=Qe,Me}}function it(h){if(h){var N=h.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(N){var k=parseFloat(N[4]);return[Qr(parseInt(N[1]),0,360),Qr(parseFloat(N[2]),0,100),Qr(parseFloat(N[3]),0,100),Qr(isNaN(k)?1:k,0,1)]}}}function Xt(h){if(h){var N=h.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(N){var k=parseFloat(N[4]);return[Qr(parseInt(N[1]),0,360),Qr(parseFloat(N[2]),0,100),Qr(parseFloat(N[3]),0,100),Qr(isNaN(k)?1:k,0,1)]}}}function sn(h,b){return void 0===b&&(b=void 0!==h[3]?h[3]:1),"rgba("+h[0]+", "+h[1]+", "+h[2]+", "+b+")"}function xn(h,b){return"rgba("+Math.round(h[0]/255*100)+"%, "+Math.round(h[1]/255*100)+"%, "+Math.round(h[2]/255*100)+"%, "+(b||h[3]||1)+")"}function Or(h,b){return void 0===b&&(b=void 0!==h[3]?h[3]:1),"hsla("+h[0]+", "+h[1]+"%, "+h[2]+"%, "+b+")"}function Qr(h,b,N){return Math.min(Math.max(b,h),N)}function jr(h){var b=h.toString(16).toUpperCase();return b.length<2?"0"+b:b}var br={};for(var ht in We)br[We[ht]]=ht;var Wt=function(h){return h instanceof Wt?h:this instanceof Wt?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof h?(b=Le.getRgba(h))?this.setValues("rgb",b):(b=Le.getHsla(h))?this.setValues("hsl",b):(b=Le.getHwb(h))&&this.setValues("hwb",b):"object"==typeof h&&(void 0!==(b=h).r||void 0!==b.red?this.setValues("rgb",b):void 0!==b.l||void 0!==b.lightness?this.setValues("hsl",b):void 0!==b.v||void 0!==b.value?this.setValues("hsv",b):void 0!==b.w||void 0!==b.whiteness?this.setValues("hwb",b):(void 0!==b.c||void 0!==b.cyan)&&this.setValues("cmyk",b)))):new Wt(h);var b};Wt.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var h=this.values;return 1!==h.alpha?h.hwb.concat([h.alpha]):h.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var h=this.values;return h.rgb.concat([h.alpha])},hslaArray:function(){var h=this.values;return h.hsl.concat([h.alpha])},alpha:function(h){return void 0===h?this.values.alpha:(this.setValues("alpha",h),this)},red:function(h){return this.setChannel("rgb",0,h)},green:function(h){return this.setChannel("rgb",1,h)},blue:function(h){return this.setChannel("rgb",2,h)},hue:function(h){return h&&(h=(h%=360)<0?360+h:h),this.setChannel("hsl",0,h)},saturation:function(h){return this.setChannel("hsl",1,h)},lightness:function(h){return this.setChannel("hsl",2,h)},saturationv:function(h){return this.setChannel("hsv",1,h)},whiteness:function(h){return this.setChannel("hwb",1,h)},blackness:function(h){return this.setChannel("hwb",2,h)},value:function(h){return this.setChannel("hsv",2,h)},cyan:function(h){return this.setChannel("cmyk",0,h)},magenta:function(h){return this.setChannel("cmyk",1,h)},yellow:function(h){return this.setChannel("cmyk",2,h)},black:function(h){return this.setChannel("cmyk",3,h)},hexString:function(){return Le.hexString(this.values.rgb)},rgbString:function(){return Le.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return Le.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return Le.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return Le.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return Le.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return Le.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return Le.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var h=this.values.rgb;return h[0]<<16|h[1]<<8|h[2]},luminosity:function(){for(var h=this.values.rgb,b=[],N=0;N<h.length;N++){var k=h[N]/255;b[N]=k<=.03928?k/12.92:Math.pow((k+.055)/1.055,2.4)}return.2126*b[0]+.7152*b[1]+.0722*b[2]},contrast:function(h){var b=this.luminosity(),N=h.luminosity();return b>N?(b+.05)/(N+.05):(N+.05)/(b+.05)},level:function(h){var b=this.contrast(h);return b>=7.1?"AAA":b>=4.5?"AA":""},dark:function(){var h=this.values.rgb;return(299*h[0]+587*h[1]+114*h[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var h=[],b=0;b<3;b++)h[b]=255-this.values.rgb[b];return this.setValues("rgb",h),this},lighten:function(h){var b=this.values.hsl;return b[2]+=b[2]*h,this.setValues("hsl",b),this},darken:function(h){var b=this.values.hsl;return b[2]-=b[2]*h,this.setValues("hsl",b),this},saturate:function(h){var b=this.values.hsl;return b[1]+=b[1]*h,this.setValues("hsl",b),this},desaturate:function(h){var b=this.values.hsl;return b[1]-=b[1]*h,this.setValues("hsl",b),this},whiten:function(h){var b=this.values.hwb;return b[1]+=b[1]*h,this.setValues("hwb",b),this},blacken:function(h){var b=this.values.hwb;return b[2]+=b[2]*h,this.setValues("hwb",b),this},greyscale:function(){var h=this.values.rgb,b=.3*h[0]+.59*h[1]+.11*h[2];return this.setValues("rgb",[b,b,b]),this},clearer:function(h){var b=this.values.alpha;return this.setValues("alpha",b-b*h),this},opaquer:function(h){var b=this.values.alpha;return this.setValues("alpha",b+b*h),this},rotate:function(h){var b=this.values.hsl,N=(b[0]+h)%360;return b[0]=N<0?360+N:N,this.setValues("hsl",b),this},mix:function(h,b){var N=this,k=h,ne=void 0===b?.5:b,he=2*ne-1,Me=N.alpha()-k.alpha(),Qe=((he*Me==-1?he:(he+Me)/(1+he*Me))+1)/2,Re=1-Qe;return this.rgb(Qe*N.red()+Re*k.red(),Qe*N.green()+Re*k.green(),Qe*N.blue()+Re*k.blue()).alpha(N.alpha()*ne+k.alpha()*(1-ne))},toJSON:function(){return this.rgb()},clone:function(){var k,ne,h=new Wt,b=this.values,N=h.values;for(var he in b)b.hasOwnProperty(he)&&("[object Array]"===(ne={}.toString.call(k=b[he]))?N[he]=k.slice(0):"[object Number]"===ne?N[he]=k:console.error("unexpected color value:",k));return h}},Wt.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},Wt.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},Wt.prototype.getValues=function(h){for(var b=this.values,N={},k=0;k<h.length;k++)N[h.charAt(k)]=b[h][k];return 1!==b.alpha&&(N.a=b.alpha),N},Wt.prototype.setValues=function(h,b){var Me,Re,N=this.values,k=this.spaces,ne=this.maxes,he=1;if(this.valid=!0,"alpha"===h)he=b;else if(b.length)N[h]=b.slice(0,h.length),he=b[h.length];else if(void 0!==b[h.charAt(0)]){for(Me=0;Me<h.length;Me++)N[h][Me]=b[h.charAt(Me)];he=b.a}else if(void 0!==b[k[h][0]]){var Qe=k[h];for(Me=0;Me<h.length;Me++)N[h][Me]=b[Qe[Me]];he=b.alpha}if(N.alpha=Math.max(0,Math.min(1,void 0===he?N.alpha:he)),"alpha"===h)return!1;for(Me=0;Me<h.length;Me++)Re=Math.max(0,Math.min(ne[h][Me],N[h][Me])),N[h][Me]=Math.round(Re);for(var ft in k)ft!==h&&(N[ft]=He[h][ft](N[h]));return!0},Wt.prototype.setSpace=function(h,b){var N=b[0];return void 0===N?this.getValues(h):("number"==typeof N&&(N=Array.prototype.slice.call(b)),this.setValues(h,N),this)},Wt.prototype.setChannel=function(h,b,N){var k=this.values[h];return void 0===N?k[b]:(N===k[b]||(k[b]=N,this.setValues(h,k)),this)},typeof window<"u"&&(window.Color=Wt);var Tt=Wt;function wn(h){return-1===["__proto__","prototype","constructor"].indexOf(h)}var h,jn={noop:function(){},uid:(h=0,function(){return h++}),isNullOrUndef:function(h){return null===h||typeof h>"u"},isArray:function(h){if(Array.isArray&&Array.isArray(h))return!0;var b=Object.prototype.toString.call(h);return"[object"===b.substr(0,7)&&"Array]"===b.substr(-6)},isObject:function(h){return null!==h&&"[object Object]"===Object.prototype.toString.call(h)},isFinite:function(h){return("number"==typeof h||h instanceof Number)&&isFinite(h)},valueOrDefault:function(h,b){return typeof h>"u"?b:h},valueAtIndexOrDefault:function(h,b,N){return jn.valueOrDefault(jn.isArray(h)?h[b]:h,N)},callback:function(h,b,N){if(h&&"function"==typeof h.call)return h.apply(N,b)},each:function(h,b,N,k){var ne,he,Me;if(jn.isArray(h))if(he=h.length,k)for(ne=he-1;ne>=0;ne--)b.call(N,h[ne],ne);else for(ne=0;ne<he;ne++)b.call(N,h[ne],ne);else if(jn.isObject(h))for(he=(Me=Object.keys(h)).length,ne=0;ne<he;ne++)b.call(N,h[Me[ne]],Me[ne])},arrayEquals:function(h,b){var N,k,ne,he;if(!h||!b||h.length!==b.length)return!1;for(N=0,k=h.length;N<k;++N)if(he=b[N],(ne=h[N])instanceof Array&&he instanceof Array){if(!jn.arrayEquals(ne,he))return!1}else if(ne!==he)return!1;return!0},clone:function(h){if(jn.isArray(h))return h.map(jn.clone);if(jn.isObject(h)){for(var b=Object.create(h),N=Object.keys(h),k=N.length,ne=0;ne<k;++ne)b[N[ne]]=jn.clone(h[N[ne]]);return b}return h},_merger:function(h,b,N,k){if(wn(h)){var ne=b[h],he=N[h];jn.isObject(ne)&&jn.isObject(he)?jn.merge(ne,he,k):b[h]=jn.clone(he)}},_mergerIf:function(h,b,N){if(wn(h)){var k=b[h],ne=N[h];jn.isObject(k)&&jn.isObject(ne)?jn.mergeIf(k,ne):b.hasOwnProperty(h)||(b[h]=jn.clone(ne))}},merge:function(h,b,N){var he,Me,Qe,Re,ft,k=jn.isArray(b)?b:[b],ne=k.length;if(!jn.isObject(h))return h;for(he=(N=N||{}).merger||jn._merger,Me=0;Me<ne;++Me)if(jn.isObject(b=k[Me]))for(ft=0,Re=(Qe=Object.keys(b)).length;ft<Re;++ft)he(Qe[ft],h,b,N);return h},mergeIf:function(h,b){return jn.merge(h,b,{merger:jn._mergerIf})},extend:Object.assign||function(h){return jn.merge(h,[].slice.call(arguments,1),{merger:function(b,N,k){N[b]=k[b]}})},inherits:function(h){var b=this,N=h&&h.hasOwnProperty("constructor")?h.constructor:function(){return b.apply(this,arguments)},k=function(){this.constructor=N};return k.prototype=b.prototype,N.prototype=new k,N.extend=jn.inherits,h&&jn.extend(N.prototype,h),N.__super__=b.prototype,N},_deprecated:function(h,b,N,k){void 0!==b&&console.warn(h+': "'+N+'" is deprecated. Please use "'+k+'" instead')}},hr=jn;jn.callCallback=jn.callback,jn.indexOf=function(h,b,N){return Array.prototype.indexOf.call(h,b,N)},jn.getValueOrDefault=jn.valueOrDefault,jn.getValueAtIndexOrDefault=jn.valueAtIndexOrDefault;var Oi={linear:function(h){return h},easeInQuad:function(h){return h*h},easeOutQuad:function(h){return-h*(h-2)},easeInOutQuad:function(h){return(h/=.5)<1?.5*h*h:-.5*(--h*(h-2)-1)},easeInCubic:function(h){return h*h*h},easeOutCubic:function(h){return(h-=1)*h*h+1},easeInOutCubic:function(h){return(h/=.5)<1?.5*h*h*h:.5*((h-=2)*h*h+2)},easeInQuart:function(h){return h*h*h*h},easeOutQuart:function(h){return-((h-=1)*h*h*h-1)},easeInOutQuart:function(h){return(h/=.5)<1?.5*h*h*h*h:-.5*((h-=2)*h*h*h-2)},easeInQuint:function(h){return h*h*h*h*h},easeOutQuint:function(h){return(h-=1)*h*h*h*h+1},easeInOutQuint:function(h){return(h/=.5)<1?.5*h*h*h*h*h:.5*((h-=2)*h*h*h*h+2)},easeInSine:function(h){return 1-Math.cos(h*(Math.PI/2))},easeOutSine:function(h){return Math.sin(h*(Math.PI/2))},easeInOutSine:function(h){return-.5*(Math.cos(Math.PI*h)-1)},easeInExpo:function(h){return 0===h?0:Math.pow(2,10*(h-1))},easeOutExpo:function(h){return 1===h?1:1-Math.pow(2,-10*h)},easeInOutExpo:function(h){return 0===h?0:1===h?1:(h/=.5)<1?.5*Math.pow(2,10*(h-1)):.5*(2-Math.pow(2,-10*--h))},easeInCirc:function(h){return h>=1?h:-(Math.sqrt(1-h*h)-1)},easeOutCirc:function(h){return Math.sqrt(1-(h-=1)*h)},easeInOutCirc:function(h){return(h/=.5)<1?-.5*(Math.sqrt(1-h*h)-1):.5*(Math.sqrt(1-(h-=2)*h)+1)},easeInElastic:function(h){var b=1.70158,N=0,k=1;return 0===h?0:1===h?1:(N||(N=.3),k<1?(k=1,b=N/4):b=N/(2*Math.PI)*Math.asin(1/k),-k*Math.pow(2,10*(h-=1))*Math.sin((h-b)*(2*Math.PI)/N))},easeOutElastic:function(h){var b=1.70158,N=0,k=1;return 0===h?0:1===h?1:(N||(N=.3),k<1?(k=1,b=N/4):b=N/(2*Math.PI)*Math.asin(1/k),k*Math.pow(2,-10*h)*Math.sin((h-b)*(2*Math.PI)/N)+1)},easeInOutElastic:function(h){var b=1.70158,N=0,k=1;return 0===h?0:2==(h/=.5)?1:(N||(N=.45),k<1?(k=1,b=N/4):b=N/(2*Math.PI)*Math.asin(1/k),h<1?k*Math.pow(2,10*(h-=1))*Math.sin((h-b)*(2*Math.PI)/N)*-.5:k*Math.pow(2,-10*(h-=1))*Math.sin((h-b)*(2*Math.PI)/N)*.5+1)},easeInBack:function(h){var b=1.70158;return h*h*((b+1)*h-b)},easeOutBack:function(h){var b=1.70158;return(h-=1)*h*((b+1)*h+b)+1},easeInOutBack:function(h){var b=1.70158;return(h/=.5)<1?h*h*((1+(b*=1.525))*h-b)*.5:.5*((h-=2)*h*((1+(b*=1.525))*h+b)+2)},easeInBounce:function(h){return 1-Oi.easeOutBounce(1-h)},easeOutBounce:function(h){return h<1/2.75?7.5625*h*h:h<2/2.75?7.5625*(h-=1.5/2.75)*h+.75:h<2.5/2.75?7.5625*(h-=2.25/2.75)*h+.9375:7.5625*(h-=2.625/2.75)*h+.984375},easeInOutBounce:function(h){return h<.5?.5*Oi.easeInBounce(2*h):.5*Oi.easeOutBounce(2*h-1)+.5}},Wi={effects:Oi};hr.easingEffects=Oi;var so=Math.PI,kr=so/180,Ei=2*so,ii=so/2,mr=so/4,pr=2*so/3,Eo={clear:function(h){h.ctx.clearRect(0,0,h.width,h.height)},roundedRect:function(h,b,N,k,ne,he){if(he){var Me=Math.min(he,ne/2,k/2),Qe=b+Me,Re=N+Me,ft=b+k-Me,wt=N+ne-Me;h.moveTo(b,Re),Qe<ft&&Re<wt?(h.arc(Qe,Re,Me,-so,-ii),h.arc(ft,Re,Me,-ii,0),h.arc(ft,wt,Me,0,ii),h.arc(Qe,wt,Me,ii,so)):Qe<ft?(h.moveTo(Qe,N),h.arc(ft,Re,Me,-ii,ii),h.arc(Qe,Re,Me,ii,so+ii)):Re<wt?(h.arc(Qe,Re,Me,-so,0),h.arc(Qe,wt,Me,0,so)):h.arc(Qe,Re,Me,-so,so),h.closePath(),h.moveTo(b,N)}else h.rect(b,N,k,ne)},drawPoint:function(h,b,N,k,ne,he){var Me,Qe,Re,ft,wt,It=(he||0)*kr;if(b&&"object"==typeof b&&("[object HTMLImageElement]"===(Me=b.toString())||"[object HTMLCanvasElement]"===Me))return h.save(),h.translate(k,ne),h.rotate(It),h.drawImage(b,-b.width/2,-b.height/2,b.width,b.height),void h.restore();if(!(isNaN(N)||N<=0)){switch(h.beginPath(),b){default:h.arc(k,ne,N,0,Ei),h.closePath();break;case"triangle":h.moveTo(k+Math.sin(It)*N,ne-Math.cos(It)*N),It+=pr,h.lineTo(k+Math.sin(It)*N,ne-Math.cos(It)*N),It+=pr,h.lineTo(k+Math.sin(It)*N,ne-Math.cos(It)*N),h.closePath();break;case"rectRounded":ft=N-(wt=.516*N),Qe=Math.cos(It+mr)*ft,Re=Math.sin(It+mr)*ft,h.arc(k-Qe,ne-Re,wt,It-so,It-ii),h.arc(k+Re,ne-Qe,wt,It-ii,It),h.arc(k+Qe,ne+Re,wt,It,It+ii),h.arc(k-Re,ne+Qe,wt,It+ii,It+so),h.closePath();break;case"rect":if(!he){ft=Math.SQRT1_2*N,h.rect(k-ft,ne-ft,2*ft,2*ft);break}It+=mr;case"rectRot":Qe=Math.cos(It)*N,Re=Math.sin(It)*N,h.moveTo(k-Qe,ne-Re),h.lineTo(k+Re,ne-Qe),h.lineTo(k+Qe,ne+Re),h.lineTo(k-Re,ne+Qe),h.closePath();break;case"crossRot":It+=mr;case"cross":Qe=Math.cos(It)*N,Re=Math.sin(It)*N,h.moveTo(k-Qe,ne-Re),h.lineTo(k+Qe,ne+Re),h.moveTo(k+Re,ne-Qe),h.lineTo(k-Re,ne+Qe);break;case"star":Qe=Math.cos(It)*N,Re=Math.sin(It)*N,h.moveTo(k-Qe,ne-Re),h.lineTo(k+Qe,ne+Re),h.moveTo(k+Re,ne-Qe),h.lineTo(k-Re,ne+Qe),It+=mr,Qe=Math.cos(It)*N,Re=Math.sin(It)*N,h.moveTo(k-Qe,ne-Re),h.lineTo(k+Qe,ne+Re),h.moveTo(k+Re,ne-Qe),h.lineTo(k-Re,ne+Qe);break;case"line":Qe=Math.cos(It)*N,Re=Math.sin(It)*N,h.moveTo(k-Qe,ne-Re),h.lineTo(k+Qe,ne+Re);break;case"dash":h.moveTo(k,ne),h.lineTo(k+Math.cos(It)*N,ne+Math.sin(It)*N)}h.fill(),h.stroke()}},_isPointInArea:function(h,b){var N=1e-6;return h.x>b.left-N&&h.x<b.right+N&&h.y>b.top-N&&h.y<b.bottom+N},clipArea:function(h,b){h.save(),h.beginPath(),h.rect(b.left,b.top,b.right-b.left,b.bottom-b.top),h.clip()},unclipArea:function(h){h.restore()},lineTo:function(h,b,N,k){var ne=N.steppedLine;if(ne){if("middle"===ne){var he=(b.x+N.x)/2;h.lineTo(he,k?N.y:b.y),h.lineTo(he,k?b.y:N.y)}else"after"===ne&&!k||"after"!==ne&&k?h.lineTo(b.x,N.y):h.lineTo(N.x,b.y);h.lineTo(N.x,N.y)}else N.tension?h.bezierCurveTo(k?b.controlPointPreviousX:b.controlPointNextX,k?b.controlPointPreviousY:b.controlPointNextY,k?N.controlPointNextX:N.controlPointPreviousX,k?N.controlPointNextY:N.controlPointPreviousY,N.x,N.y):h.lineTo(N.x,N.y)}},po=Eo;hr.clear=Eo.clear,hr.drawRoundedRectangle=function(h){h.beginPath(),Eo.roundedRect.apply(Eo,arguments)};var $i={_set:function(h,b){return hr.merge(this[h]||(this[h]={}),b)}};$i._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var qr=$i,Hi=hr.valueOrDefault;var Hn={toLineHeight:function(h,b){var N=(""+h).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!N||"normal"===N[1])return 1.2*b;switch(h=+N[2],N[3]){case"px":return h;case"%":h/=100}return b*h},toPadding:function(h){var b,N,k,ne;return hr.isObject(h)?(b=+h.top||0,N=+h.right||0,k=+h.bottom||0,ne=+h.left||0):b=N=k=ne=+h||0,{top:b,right:N,bottom:k,left:ne,height:b+k,width:ne+N}},_parseFont:function(h){var b=qr.global,N=Hi(h.fontSize,b.defaultFontSize),k={family:Hi(h.fontFamily,b.defaultFontFamily),lineHeight:hr.options.toLineHeight(Hi(h.lineHeight,b.defaultLineHeight),N),size:N,style:Hi(h.fontStyle,b.defaultFontStyle),weight:null,string:""};return k.string=function Dn(h){return!h||hr.isNullOrUndef(h.size)||hr.isNullOrUndef(h.family)?null:(h.style?h.style+" ":"")+(h.weight?h.weight+" ":"")+h.size+"px "+h.family}(k),k},resolve:function(h,b,N,k){var he,Me,Qe,ne=!0;for(he=0,Me=h.length;he<Me;++he)if(void 0!==(Qe=h[he])&&(void 0!==b&&"function"==typeof Qe&&(Qe=Qe(b),ne=!1),void 0!==N&&hr.isArray(Qe)&&(Qe=Qe[N],ne=!1),void 0!==Qe))return k&&!ne&&(k.cacheable=!1),Qe}},jt={_factorize:function(h){var k,b=[],N=Math.sqrt(h);for(k=1;k<N;k++)h%k==0&&(b.push(k),b.push(h/k));return N===(0|N)&&b.push(N),b.sort(function(ne,he){return ne-he}).pop(),b},log10:Math.log10||function(h){var b=Math.log(h)*Math.LOG10E,N=Math.round(b);return h===Math.pow(10,N)?N:b}},Fe=jt;hr.log10=jt.log10;var Pe=hr,gr=po,Pn=Hn,_r=Fe,Pr={getRtlAdapter:function(h,b,N){return h?function(h,b){return{x:function(N){return h+h+b-N},setWidth:function(N){b=N},textAlign:function(N){return"center"===N?N:"right"===N?"left":"right"},xPlus:function(N,k){return N-k},leftForLtr:function(N,k){return N-k}}}(b,N):{x:function(h){return h},setWidth:function(h){},textAlign:function(h){return h},xPlus:function(h,b){return h+b},leftForLtr:function(h,b){return h}}},overrideTextDirection:function(h,b){var N,k;("ltr"===b||"rtl"===b)&&(k=[(N=h.canvas.style).getPropertyValue("direction"),N.getPropertyPriority("direction")],N.setProperty("direction",b,"important"),h.prevTextDirection=k)},restoreTextDirection:function(h){var b=h.prevTextDirection;void 0!==b&&(delete h.prevTextDirection,h.canvas.style.setProperty("direction",b[0],b[1]))}};Pe.easing=Wi,Pe.canvas=gr,Pe.options=Pn,Pe.math=_r,Pe.rtl=Pr;var Zn=function(h){Pe.extend(this,h),this.initialize.apply(this,arguments)};Pe.extend(Zn.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var h=this;return h._view||(h._view=Pe.extend({},h._model)),h._start={},h},transition:function(h){var b=this,N=b._model,k=b._start,ne=b._view;return N&&1!==h?(ne||(ne=b._view={}),k||(k=b._start={}),function tr(h,b,N,k){var he,Me,Qe,Re,ft,wt,It,Cn,er,ne=Object.keys(N);for(he=0,Me=ne.length;he<Me;++he)if(wt=N[Qe=ne[he]],b.hasOwnProperty(Qe)||(b[Qe]=wt),(Re=b[Qe])!==wt&&"_"!==Qe[0]){if(h.hasOwnProperty(Qe)||(h[Qe]=Re),(It=typeof wt)==typeof(ft=h[Qe]))if("string"===It){if((Cn=Tt(ft)).valid&&(er=Tt(wt)).valid){b[Qe]=er.mix(Cn,k).rgbString();continue}}else if(Pe.isFinite(ft)&&Pe.isFinite(wt)){b[Qe]=ft+(wt-ft)*k;continue}b[Qe]=wt}}(k,ne,N,h),b):(b._view=Pe.extend({},N),b._start=null,b)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return Pe.isNumber(this._model.x)&&Pe.isNumber(this._model.y)}}),Zn.extend=Pe.inherits;var nr=Zn,Zt=nr.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),dn=Zt;Object.defineProperty(Zt.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(Zt.prototype,"chartInstance",{get:function(){return this.chart},set:function(h){this.chart=h}}),qr._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:Pe.noop,onComplete:Pe.noop}});var Ge={animations:[],request:null,addAnimation:function(h,b,N,k){var he,Me,ne=this.animations;for(b.chart=h,b.startTime=Date.now(),b.duration=N,k||(h.animating=!0),he=0,Me=ne.length;he<Me;++he)if(ne[he].chart===h)return void(ne[he]=b);ne.push(b),1===ne.length&&this.requestAnimationFrame()},cancelAnimation:function(h){var b=Pe.findIndex(this.animations,function(N){return N.chart===h});-1!==b&&(this.animations.splice(b,1),h.animating=!1)},requestAnimationFrame:function(){var h=this;null===h.request&&(h.request=Pe.requestAnimFrame.call(window,function(){h.request=null,h.startDigest()}))},startDigest:function(){var h=this;h.advance(),h.animations.length>0&&h.requestAnimationFrame()},advance:function(){for(var b,N,k,ne,h=this.animations,he=0;he<h.length;)N=(b=h[he]).chart,k=b.numSteps,ne=Math.floor((Date.now()-b.startTime)/b.duration*k)+1,b.currentStep=Math.min(ne,k),Pe.callback(b.render,[N,b],N),Pe.callback(b.onAnimationProgress,[b],N),b.currentStep>=k?(Pe.callback(b.onAnimationComplete,[b],N),N.animating=!1,h.splice(he,1)):++he}},Ot=Pe.options.resolve,mn=["push","pop","shift","splice","unshift"];function Ti(h,b){var N=h._chartjs;if(N){var k=N.listeners,ne=k.indexOf(b);-1!==ne&&k.splice(ne,1),!(k.length>0)&&(mn.forEach(function(he){delete h[he]}),delete h._chartjs)}}var Ci=function(h,b){this.initialize(h,b)};Pe.extend(Ci.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(h,b){var N=this;N.chart=h,N.index=b,N.linkScales(),N.addElements(),N._type=N.getMeta().type},updateIndex:function(h){this.index=h},linkScales:function(){var h=this,b=h.getMeta(),N=h.chart,k=N.scales,ne=h.getDataset(),he=N.options.scales;(null===b.xAxisID||!(b.xAxisID in k)||ne.xAxisID)&&(b.xAxisID=ne.xAxisID||he.xAxes[0].id),(null===b.yAxisID||!(b.yAxisID in k)||ne.yAxisID)&&(b.yAxisID=ne.yAxisID||he.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(h){return this.chart.scales[h]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&Ti(this._data,this)},createMetaDataset:function(){var h=this,b=h.datasetElementType;return b&&new b({_chart:h.chart,_datasetIndex:h.index})},createMetaData:function(h){var b=this,N=b.dataElementType;return N&&new N({_chart:b.chart,_datasetIndex:b.index,_index:h})},addElements:function(){var ne,he,h=this,b=h.getMeta(),N=h.getDataset().data||[],k=b.data;for(ne=0,he=N.length;ne<he;++ne)k[ne]=k[ne]||h.createMetaData(ne);b.dataset=b.dataset||h.createMetaDataset()},addElementAndReset:function(h){var b=this.createMetaData(h);this.getMeta().data.splice(h,0,b),this.updateElement(b,h,!0)},buildOrUpdateElements:function(){var h=this,b=h.getDataset(),N=b.data||(b.data=[]);h._data!==N&&(h._data&&Ti(h._data,h),N&&Object.isExtensible(N)&&function wr(h,b){h._chartjs?h._chartjs.listeners.push(b):(Object.defineProperty(h,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[b]}}),mn.forEach(function(N){var k="onData"+N.charAt(0).toUpperCase()+N.slice(1),ne=h[N];Object.defineProperty(h,N,{configurable:!0,enumerable:!1,value:function(){var he=Array.prototype.slice.call(arguments),Me=ne.apply(this,he);return Pe.each(h._chartjs.listeners,function(Qe){"function"==typeof Qe[k]&&Qe[k].apply(Qe,he)}),Me}})}))}(N,h),h._data=N),h.resyncElements()},_configure:function(){var h=this;h._config=Pe.merge(Object.create(null),[h.chart.options.datasets[h._type],h.getDataset()],{merger:function(b,N,k){"_meta"!==b&&"data"!==b&&Pe._merger(b,N,k)}})},_update:function(h){var b=this;b._configure(),b._cachedDataOpts=null,b.update(h)},update:Pe.noop,transition:function(h){for(var b=this.getMeta(),N=b.data||[],k=N.length,ne=0;ne<k;++ne)N[ne].transition(h);b.dataset&&b.dataset.transition(h)},draw:function(){var h=this.getMeta(),b=h.data||[],N=b.length,k=0;for(h.dataset&&h.dataset.draw();k<N;++k)b[k].draw()},getStyle:function(h){var ne,b=this,N=b.getMeta(),k=N.dataset;return b._configure(),(!1===(ne=k&&void 0===h?b._resolveDatasetElementOptions(k||{}):b._resolveDataElementOptions(N.data[h=h||0]||{},h)).fill||null===ne.fill)&&(ne.backgroundColor=ne.borderColor),ne},_resolveDatasetElementOptions:function(h,b){var ft,wt,It,Cn,N=this,k=N.chart,ne=N._config,he=h.custom||{},Me=k.options.elements[N.datasetElementType.prototype._type]||{},Qe=N._datasetElementOptions,Re={},er={chart:k,dataset:N.getDataset(),datasetIndex:N.index,hover:b};for(ft=0,wt=Qe.length;ft<wt;++ft)It=Qe[ft],Cn=b?"hover"+It.charAt(0).toUpperCase()+It.slice(1):It,Re[It]=Ot([he[Cn],ne[Cn],Me[Cn]],er);return Re},_resolveDataElementOptions:function(h,b){var N=this,k=h&&h.custom,ne=N._cachedDataOpts;if(ne&&!k)return ne;var Cn,er,sr,Dr,he=N.chart,Me=N._config,Qe=he.options.elements[N.dataElementType.prototype._type]||{},Re=N._dataElementOptions,ft={},wt={chart:he,dataIndex:b,dataset:N.getDataset(),datasetIndex:N.index},It={cacheable:!k};if(k=k||{},Pe.isArray(Re))for(er=0,sr=Re.length;er<sr;++er)ft[Dr=Re[er]]=Ot([k[Dr],Me[Dr],Qe[Dr]],wt,b,It);else for(er=0,sr=(Cn=Object.keys(Re)).length;er<sr;++er)ft[Dr=Cn[er]]=Ot([k[Dr],Me[Re[Dr]],Me[Dr],Qe[Dr]],wt,b,It);return It.cacheable&&(N._cachedDataOpts=Object.freeze(ft)),ft},removeHoverStyle:function(h){Pe.merge(h._model,h.$previousStyle||{}),delete h.$previousStyle},setHoverStyle:function(h){var b=this.chart.data.datasets[h._datasetIndex],N=h._index,k=h.custom||{},ne=h._model,he=Pe.getHoverColor;h.$previousStyle={backgroundColor:ne.backgroundColor,borderColor:ne.borderColor,borderWidth:ne.borderWidth},ne.backgroundColor=Ot([k.hoverBackgroundColor,b.hoverBackgroundColor,he(ne.backgroundColor)],void 0,N),ne.borderColor=Ot([k.hoverBorderColor,b.hoverBorderColor,he(ne.borderColor)],void 0,N),ne.borderWidth=Ot([k.hoverBorderWidth,b.hoverBorderWidth,ne.borderWidth],void 0,N)},_removeDatasetHoverStyle:function(){var h=this.getMeta().dataset;h&&this.removeHoverStyle(h)},_setDatasetHoverStyle:function(){var N,k,ne,he,Me,Qe,h=this.getMeta().dataset,b={};if(h){for(Qe=h._model,Me=this._resolveDatasetElementOptions(h,!0),N=0,k=(he=Object.keys(Me)).length;N<k;++N)b[ne=he[N]]=Qe[ne],Qe[ne]=Me[ne];h.$previousStyle=b}},resyncElements:function(){var h=this,b=h.getMeta(),N=h.getDataset().data,k=b.data.length,ne=N.length;ne<k?b.data.splice(ne,k-ne):ne>k&&h.insertElements(k,ne-k)},insertElements:function(h,b){for(var N=0;N<b;++N)this.addElementAndReset(h+N)},onDataPush:function(){var h=arguments.length;this.insertElements(this.getDataset().data.length-h,h)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(h,b){this.getMeta().data.splice(h,b),this.insertElements(h,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),Ci.extend=Pe.inherits;var Ai=Ci,Ko=2*Math.PI;function _s(h,b){var N=b.startAngle,k=b.endAngle,ne=b.pixelMargin,he=ne/b.outerRadius,Me=b.x,Qe=b.y;h.beginPath(),h.arc(Me,Qe,b.outerRadius,N-he,k+he),b.innerRadius>ne?h.arc(Me,Qe,b.innerRadius-ne,k+(he=ne/b.innerRadius),N-he,!0):h.arc(Me,Qe,ne,k+Math.PI/2,N-Math.PI/2),h.closePath(),h.clip()}function Ni(h,b,N){var k="inner"===b.borderAlign;k?(h.lineWidth=2*b.borderWidth,h.lineJoin="round"):(h.lineWidth=b.borderWidth,h.lineJoin="bevel"),N.fullCircles&&function dr(h,b,N,k){var he,ne=N.endAngle;for(k&&(N.endAngle=N.startAngle+Ko,_s(h,N),N.endAngle=ne,N.endAngle===N.startAngle&&N.fullCircles&&(N.endAngle+=Ko,N.fullCircles--)),h.beginPath(),h.arc(N.x,N.y,N.innerRadius,N.startAngle+Ko,N.startAngle,!0),he=0;he<N.fullCircles;++he)h.stroke();for(h.beginPath(),h.arc(N.x,N.y,b.outerRadius,N.startAngle,N.startAngle+Ko),he=0;he<N.fullCircles;++he)h.stroke()}(h,b,N,k),k&&_s(h,N),h.beginPath(),h.arc(N.x,N.y,b.outerRadius,N.startAngle,N.endAngle),h.arc(N.x,N.y,N.innerRadius,N.endAngle,N.startAngle,!0),h.closePath(),h.stroke()}qr._set("global",{elements:{arc:{backgroundColor:qr.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ti=nr.extend({_type:"arc",inLabelRange:function(h){var b=this._view;return!!b&&Math.pow(h-b.x,2)<Math.pow(b.radius+b.hoverRadius,2)},inRange:function(h,b){var N=this._view;if(N){for(var k=Pe.getAngleFromPoint(N,{x:h,y:b}),ne=k.angle,he=k.distance,Me=N.startAngle,Qe=N.endAngle;Qe<Me;)Qe+=Ko;for(;ne>Qe;)ne-=Ko;for(;ne<Me;)ne+=Ko;return ne>=Me&&ne<=Qe&&he>=N.innerRadius&&he<=N.outerRadius}return!1},getCenterPoint:function(){var h=this._view,b=(h.startAngle+h.endAngle)/2,N=(h.innerRadius+h.outerRadius)/2;return{x:h.x+Math.cos(b)*N,y:h.y+Math.sin(b)*N}},getArea:function(){var h=this._view;return Math.PI*((h.endAngle-h.startAngle)/(2*Math.PI))*(Math.pow(h.outerRadius,2)-Math.pow(h.innerRadius,2))},tooltipPosition:function(){var h=this._view,b=h.startAngle+(h.endAngle-h.startAngle)/2,N=(h.outerRadius-h.innerRadius)/2+h.innerRadius;return{x:h.x+Math.cos(b)*N,y:h.y+Math.sin(b)*N}},draw:function(){var ne,h=this._chart.ctx,b=this._view,N="inner"===b.borderAlign?.33:0,k={x:b.x,y:b.y,innerRadius:b.innerRadius,outerRadius:Math.max(b.outerRadius-N,0),pixelMargin:N,startAngle:b.startAngle,endAngle:b.endAngle,fullCircles:Math.floor(b.circumference/Ko)};if(h.save(),h.fillStyle=b.backgroundColor,h.strokeStyle=b.borderColor,k.fullCircles){for(k.endAngle=k.startAngle+Ko,h.beginPath(),h.arc(k.x,k.y,k.outerRadius,k.startAngle,k.endAngle),h.arc(k.x,k.y,k.innerRadius,k.endAngle,k.startAngle,!0),h.closePath(),ne=0;ne<k.fullCircles;++ne)h.fill();k.endAngle=k.startAngle+b.circumference%Ko}h.beginPath(),h.arc(k.x,k.y,k.outerRadius,k.startAngle,k.endAngle),h.arc(k.x,k.y,k.innerRadius,k.endAngle,k.startAngle,!0),h.closePath(),h.fill(),b.borderWidth&&Ni(h,b,k),h.restore()}}),Vr=Pe.valueOrDefault,wi=qr.global.defaultColor;qr._set("global",{elements:{line:{tension:.4,backgroundColor:wi,borderWidth:3,borderColor:wi,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var ji=nr.extend({_type:"line",draw:function(){var ft,wt,It,h=this,b=h._view,N=h._chart.ctx,k=b.spanGaps,ne=h._children.slice(),he=qr.global,Me=he.elements.line,Qe=-1,Re=h._loop;if(ne.length){if(h._loop){for(ft=0;ft<ne.length;++ft)if(wt=Pe.previousItem(ne,ft),!ne[ft]._view.skip&&wt._view.skip){ne=ne.slice(ft).concat(ne.slice(0,ft)),Re=k;break}Re&&ne.push(ne[0])}for(N.save(),N.lineCap=b.borderCapStyle||Me.borderCapStyle,N.setLineDash&&N.setLineDash(b.borderDash||Me.borderDash),N.lineDashOffset=Vr(b.borderDashOffset,Me.borderDashOffset),N.lineJoin=b.borderJoinStyle||Me.borderJoinStyle,N.lineWidth=Vr(b.borderWidth,Me.borderWidth),N.strokeStyle=b.borderColor||he.defaultColor,N.beginPath(),(It=ne[0]._view).skip||(N.moveTo(It.x,It.y),Qe=0),ft=1;ft<ne.length;++ft)It=ne[ft]._view,wt=-1===Qe?Pe.previousItem(ne,ft):ne[Qe],It.skip||(Qe!==ft-1&&!k||-1===Qe?N.moveTo(It.x,It.y):Pe.canvas.lineTo(N,wt._view,It),Qe=ft);Re&&N.closePath(),N.stroke(),N.restore()}}}),Vi=Pe.valueOrDefault,Po=qr.global.defaultColor;function ko(h){var b=this._view;return!!b&&Math.abs(h-b.x)<b.radius+b.hitRadius}qr._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:Po,borderColor:Po,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var ro=nr.extend({_type:"point",inRange:function(h,b){var N=this._view;return!!N&&Math.pow(h-N.x,2)+Math.pow(b-N.y,2)<Math.pow(N.hitRadius+N.radius,2)},inLabelRange:ko,inXRange:ko,inYRange:function Ir(h){var b=this._view;return!!b&&Math.abs(h-b.y)<b.radius+b.hitRadius},getCenterPoint:function(){var h=this._view;return{x:h.x,y:h.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var h=this._view;return{x:h.x,y:h.y,padding:h.radius+h.borderWidth}},draw:function(h){var b=this._view,N=this._chart.ctx,k=b.pointStyle,ne=b.rotation,he=b.radius,Me=b.x,Qe=b.y,Re=qr.global,ft=Re.defaultColor;b.skip||(void 0===h||Pe.canvas._isPointInArea(b,h))&&(N.strokeStyle=b.borderColor||ft,N.lineWidth=Vi(b.borderWidth,Re.elements.point.borderWidth),N.fillStyle=b.backgroundColor||ft,Pe.canvas.drawPoint(N,k,he,Me,Qe,ne))}}),Vt=qr.global.defaultColor;function bn(h){return h&&void 0!==h.width}function Bn(h){var b,N,k,ne,he;return bn(h)?(b=h.x-(he=h.width/2),N=h.x+he,k=Math.min(h.y,h.base),ne=Math.max(h.y,h.base)):(he=h.height/2,b=Math.min(h.x,h.base),N=Math.max(h.x,h.base),k=h.y-he,ne=h.y+he),{left:b,top:k,right:N,bottom:ne}}function ci(h,b,N){return h===b?N:h===N?b:h}function go(h,b,N){var he,Me,Qe,Re,k=h.borderWidth,ne=function _o(h){var b=h.borderSkipped,N={};return b&&(h.horizontal?h.base>h.x&&(b=ci(b,"left","right")):h.base<h.y&&(b=ci(b,"bottom","top")),N[b]=!0),N}(h);return Pe.isObject(k)?(he=+k.top||0,Me=+k.right||0,Qe=+k.bottom||0,Re=+k.left||0):he=Me=Qe=Re=+k||0,{t:ne.top||he<0?0:he>N?N:he,r:ne.right||Me<0?0:Me>b?b:Me,b:ne.bottom||Qe<0?0:Qe>N?N:Qe,l:ne.left||Re<0?0:Re>b?b:Re}}function ts(h,b,N){var k=null===b,ne=null===N,he=!(!h||k&&ne)&&Bn(h);return he&&(k||b>=he.left&&b<=he.right)&&(ne||N>=he.top&&N<=he.bottom)}qr._set("global",{elements:{rectangle:{backgroundColor:Vt,borderColor:Vt,borderSkipped:"bottom",borderWidth:0}}});var jo=nr.extend({_type:"rectangle",draw:function(){var h=this._chart.ctx,b=this._view,N=function es(h){var b=Bn(h),N=b.right-b.left,k=b.bottom-b.top,ne=go(h,N/2,k/2);return{outer:{x:b.left,y:b.top,w:N,h:k},inner:{x:b.left+ne.l,y:b.top+ne.t,w:N-ne.l-ne.r,h:k-ne.t-ne.b}}}(b),k=N.outer,ne=N.inner;h.fillStyle=b.backgroundColor,h.fillRect(k.x,k.y,k.w,k.h),(k.w!==ne.w||k.h!==ne.h)&&(h.save(),h.beginPath(),h.rect(k.x,k.y,k.w,k.h),h.clip(),h.fillStyle=b.borderColor,h.rect(ne.x,ne.y,ne.w,ne.h),h.fill("evenodd"),h.restore())},height:function(){var h=this._view;return h.base-h.y},inRange:function(h,b){return ts(this._view,h,b)},inLabelRange:function(h,b){var N=this._view;return bn(N)?ts(N,h,null):ts(N,null,b)},inXRange:function(h){return ts(this._view,h,null)},inYRange:function(h){return ts(this._view,null,h)},getCenterPoint:function(){var b,N,h=this._view;return bn(h)?(b=h.x,N=(h.y+h.base)/2):(b=(h.x+h.base)/2,N=h.y),{x:b,y:N}},getArea:function(){var h=this._view;return bn(h)?h.width*Math.abs(h.y-h.base):h.height*Math.abs(h.x-h.base)},tooltipPosition:function(){var h=this._view;return{x:h.x,y:h.y}}}),ss={},Is=ji,la=ro,Ro=jo;ss.Arc=ti,ss.Line=Is,ss.Point=la,ss.Rectangle=Ro;var jl=Pe._deprecated,gl=Pe.valueOrDefault;function da(h,b,N){var Qe,Re,k=N.barThickness,ne=b.stackCount,he=b.pixels[h],Me=Pe.isNullOrUndef(k)?function qa(h,b){var k,ne,he,Me,N=h._length;for(he=1,Me=b.length;he<Me;++he)N=Math.min(N,Math.abs(b[he]-b[he-1]));for(he=0,Me=h.getTicks().length;he<Me;++he)ne=h.getPixelForTick(he),N=he>0?Math.min(N,Math.abs(ne-k)):N,k=ne;return N}(b.scale,b.pixels):-1;return Pe.isNullOrUndef(k)?(Qe=Me*N.categoryPercentage,Re=N.barPercentage):(Qe=k*ne,Re=1),{chunk:Qe/ne,ratio:Re,start:he-Qe/2}}qr._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),qr._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Rl=Ai.extend({dataElementType:ss.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var b,N,h=this;Ai.prototype.initialize.apply(h,arguments),(b=h.getMeta()).stack=h.getDataset().stack,b.bar=!0,N=h._getIndexScale().options,jl("bar chart",N.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),jl("bar chart",N.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),jl("bar chart",N.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),jl("bar chart",h._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),jl("bar chart",N.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(h){var k,ne,b=this,N=b.getMeta().data;for(b._ruler=b.getRuler(),k=0,ne=N.length;k<ne;++k)b.updateElement(N[k],k,h)},updateElement:function(h,b,N){var k=this,ne=k.getMeta(),he=k.getDataset(),Me=k._resolveDataElementOptions(h,b);h._xScale=k.getScaleForId(ne.xAxisID),h._yScale=k.getScaleForId(ne.yAxisID),h._datasetIndex=k.index,h._index=b,h._model={backgroundColor:Me.backgroundColor,borderColor:Me.borderColor,borderSkipped:Me.borderSkipped,borderWidth:Me.borderWidth,datasetLabel:he.label,label:k.chart.data.labels[b]},Pe.isArray(he.data[b])&&(h._model.borderSkipped=null),k._updateElementGeometry(h,b,N,Me),h.pivot()},_updateElementGeometry:function(h,b,N,k){var ne=this,he=h._model,Me=ne._getValueScale(),Qe=Me.getBasePixel(),Re=Me.isHorizontal(),ft=ne._ruler||ne.getRuler(),wt=ne.calculateBarValuePixels(ne.index,b,k),It=ne.calculateBarIndexPixels(ne.index,b,ft,k);he.horizontal=Re,he.base=N?Qe:wt.base,he.x=Re?N?Qe:wt.head:It.center,he.y=Re?It.center:N?Qe:wt.head,he.height=Re?It.size:void 0,he.width=Re?void 0:It.size},_getStacks:function(h){var Qe,Re,N=this._getIndexScale(),k=N._getMatchingVisibleMetas(this._type),ne=N.options.stacked,he=k.length,Me=[];for(Qe=0;Qe<he&&(Re=k[Qe],(!1===ne||-1===Me.indexOf(Re.stack)||void 0===ne&&void 0===Re.stack)&&Me.push(Re.stack),Re.index!==h);++Qe);return Me},getStackCount:function(){return this._getStacks().length},getStackIndex:function(h,b){var N=this._getStacks(h),k=void 0!==b?N.indexOf(b):-1;return-1===k?N.length-1:k},getRuler:function(){var k,ne,h=this,b=h._getIndexScale(),N=[];for(k=0,ne=h.getMeta().data.length;k<ne;++k)N.push(b.getPixelForValue(null,k,h.index));return{pixels:N,start:b._startPixel,end:b._endPixel,stackCount:h.getStackCount(),scale:b}},calculateBarValuePixels:function(h,b,N){var oi,uo,As,as,ma,Na,Pl,k=this,ne=k.chart,he=k._getValueScale(),Me=he.isHorizontal(),Qe=ne.data.datasets,Re=he._getMatchingVisibleMetas(k._type),ft=he._parseValue(Qe[h].data[b]),wt=N.minBarLength,It=he.options.stacked,Cn=k.getMeta().stack,er=void 0===ft.start?0:ft.max>=0&&ft.min>=0?ft.min:ft.max,sr=void 0===ft.start?ft.end:ft.max>=0&&ft.min>=0?ft.max-ft.min:ft.min-ft.max,Dr=Re.length;if(It||void 0===It&&void 0!==Cn)for(oi=0;oi<Dr&&(uo=Re[oi]).index!==h;++oi)uo.stack===Cn&&(As=void 0===(Pl=he._parseValue(Qe[uo.index].data[b])).start?Pl.end:Pl.min>=0&&Pl.max>=0?Pl.max:Pl.min,(ft.min<0&&As<0||ft.max>=0&&As>0)&&(er+=As));return as=he.getPixelForValue(er),Na=(ma=he.getPixelForValue(er+sr))-as,void 0!==wt&&Math.abs(Na)<wt&&(Na=wt,ma=sr>=0&&!Me||sr<0&&Me?as-wt:as+wt),{size:Na,base:as,head:ma,center:ma+Na/2}},calculateBarIndexPixels:function(h,b,N,k){var he="flex"===k.barThickness?function $a(h,b,N){var Re,k=b.pixels,ne=k[h],he=h>0?k[h-1]:null,Me=h<k.length-1?k[h+1]:null,Qe=N.categoryPercentage;return null===he&&(he=ne-(null===Me?b.end-b.start:Me-ne)),null===Me&&(Me=ne+ne-he),Re=ne-(ne-Math.min(he,Me))/2*Qe,{chunk:Math.abs(Me-he)/2*Qe/b.stackCount,ratio:N.barPercentage,start:Re}}(b,N,k):da(b,N,k),Me=this.getStackIndex(h,this.getMeta().stack),Qe=he.start+he.chunk*Me+he.chunk/2,Re=Math.min(gl(k.maxBarThickness,1/0),he.chunk*he.ratio);return{base:Qe-Re/2,head:Qe+Re/2,center:Qe,size:Re}},draw:function(){var h=this,b=h.chart,N=h._getValueScale(),k=h.getMeta().data,ne=h.getDataset(),he=k.length,Me=0;for(Pe.canvas.clipArea(b.ctx,b.chartArea);Me<he;++Me){var Qe=N._parseValue(ne.data[Me]);!isNaN(Qe.min)&&!isNaN(Qe.max)&&k[Me].draw()}Pe.canvas.unclipArea(b.ctx)},_resolveDataElementOptions:function(){var h=this,b=Pe.extend({},Ai.prototype._resolveDataElementOptions.apply(h,arguments)),N=h._getIndexScale().options,k=h._getValueScale().options;return b.barPercentage=gl(N.barPercentage,b.barPercentage),b.barThickness=gl(N.barThickness,b.barThickness),b.categoryPercentage=gl(N.categoryPercentage,b.categoryPercentage),b.maxBarThickness=gl(N.maxBarThickness,b.maxBarThickness),b.minBarLength=gl(k.minBarLength,b.minBarLength),b}}),Ji=Pe.valueOrDefault,Ha=Pe.options.resolve;qr._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(h,b){return(b.datasets[h.datasetIndex].label||"")+": ("+h.xLabel+", "+h.yLabel+", "+b.datasets[h.datasetIndex].data[h.index].r+")"}}}});var Ts=Ai.extend({dataElementType:ss.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(h){var b=this,N=b.getMeta();Pe.each(N.data,function(ne,he){b.updateElement(ne,he,h)})},updateElement:function(h,b,N){var k=this,ne=k.getMeta(),he=h.custom||{},Me=k.getScaleForId(ne.xAxisID),Qe=k.getScaleForId(ne.yAxisID),Re=k._resolveDataElementOptions(h,b),ft=k.getDataset().data[b],wt=k.index,It=N?Me.getPixelForDecimal(.5):Me.getPixelForValue("object"==typeof ft?ft:NaN,b,wt),Cn=N?Qe.getBasePixel():Qe.getPixelForValue(ft,b,wt);h._xScale=Me,h._yScale=Qe,h._options=Re,h._datasetIndex=wt,h._index=b,h._model={backgroundColor:Re.backgroundColor,borderColor:Re.borderColor,borderWidth:Re.borderWidth,hitRadius:Re.hitRadius,pointStyle:Re.pointStyle,rotation:Re.rotation,radius:N?0:Re.radius,skip:he.skip||isNaN(It)||isNaN(Cn),x:It,y:Cn},h.pivot()},setHoverStyle:function(h){var b=h._model,N=h._options,k=Pe.getHoverColor;h.$previousStyle={backgroundColor:b.backgroundColor,borderColor:b.borderColor,borderWidth:b.borderWidth,radius:b.radius},b.backgroundColor=Ji(N.hoverBackgroundColor,k(N.backgroundColor)),b.borderColor=Ji(N.hoverBorderColor,k(N.borderColor)),b.borderWidth=Ji(N.hoverBorderWidth,N.borderWidth),b.radius=N.radius+N.hoverRadius},_resolveDataElementOptions:function(h,b){var N=this,k=N.chart,ne=N.getDataset(),he=h.custom||{},Me=ne.data[b]||{},Qe=Ai.prototype._resolveDataElementOptions.apply(N,arguments),Re={chart:k,dataIndex:b,dataset:ne,datasetIndex:N.index};return N._cachedDataOpts===Qe&&(Qe=Pe.extend({},Qe)),Qe.radius=Ha([he.radius,Me.r,N._config.radius,k.options.elements.point.radius],Re,b),Qe}}),hs=Pe.valueOrDefault,$s=Math.PI,Aa=2*$s,Ja=$s/2;qr._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(h){var he,Me,Qe,b=document.createElement("ul"),N=h.data,k=N.datasets,ne=N.labels;if(b.setAttribute("class",h.id+"-legend"),k.length)for(he=0,Me=k[0].data.length;he<Me;++he)(Qe=b.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=k[0].backgroundColor[he],ne[he]&&Qe.appendChild(document.createTextNode(ne[he]));return b.outerHTML},legend:{labels:{generateLabels:function(h){var b=h.data;return b.labels.length&&b.datasets.length?b.labels.map(function(N,k){var ne=h.getDatasetMeta(0),he=ne.controller.getStyle(k);return{text:N,fillStyle:he.backgroundColor,strokeStyle:he.borderColor,lineWidth:he.borderWidth,hidden:isNaN(b.datasets[0].data[k])||ne.data[k].hidden,index:k}}):[]}},onClick:function(h,b){var ne,he,Me,N=b.index,k=this.chart;for(ne=0,he=(k.data.datasets||[]).length;ne<he;++ne)(Me=k.getDatasetMeta(ne)).data[N]&&(Me.data[N].hidden=!Me.data[N].hidden);k.update()}},cutoutPercentage:50,rotation:-Ja,circumference:Aa,tooltips:{callbacks:{title:function(){return""},label:function(h,b){var N=b.labels[h.index],k=": "+b.datasets[h.datasetIndex].data[h.index];return Pe.isArray(N)?(N=N.slice())[0]+=k:N+=k,N}}}});var fa=Ai.extend({dataElementType:ss.Arc,linkScales:Pe.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(h){for(var b=0,N=0;N<h;++N)this.chart.isDatasetVisible(N)&&++b;return b},update:function(h){var oi,uo,b=this,N=b.chart,k=N.chartArea,ne=N.options,he=1,Me=1,Qe=0,Re=0,ft=b.getMeta(),wt=ft.data,It=ne.cutoutPercentage/100||0,Cn=ne.circumference,er=b._getRingWeight(b.index);if(Cn<Aa){var As=ne.rotation%Aa,as=(As+=As>=$s?-Aa:As<-$s?Aa:0)+Cn,ma=Math.cos(As),Na=Math.sin(As),Pl=Math.cos(as),il=Math.sin(as),dl=As<=0&&as>=0||as>=Aa,Nl=As<=Ja&&as>=Ja||as>=Aa+Ja,ac=As<=-Ja&&as>=-Ja||as>=$s+Ja,wa=As===-$s||as>=$s?-1:Math.min(ma,ma*It,Pl,Pl*It),nc=ac?-1:Math.min(Na,Na*It,il,il*It),yc=dl?1:Math.max(ma,ma*It,Pl,Pl*It),Gc=Nl?1:Math.max(Na,Na*It,il,il*It);he=(yc-wa)/2,Me=(Gc-nc)/2,Qe=-(yc+wa)/2,Re=-(Gc+nc)/2}for(oi=0,uo=wt.length;oi<uo;++oi)wt[oi]._options=b._resolveDataElementOptions(wt[oi],oi);for(N.borderWidth=b.getMaxBorderWidth(),N.outerRadius=Math.max(Math.min((k.right-k.left-N.borderWidth)/he,(k.bottom-k.top-N.borderWidth)/Me)/2,0),N.innerRadius=Math.max(N.outerRadius*It,0),N.radiusLength=(N.outerRadius-N.innerRadius)/(b._getVisibleDatasetWeightTotal()||1),N.offsetX=Qe*N.outerRadius,N.offsetY=Re*N.outerRadius,ft.total=b.calculateTotal(),b.outerRadius=N.outerRadius-N.radiusLength*b._getRingWeightOffset(b.index),b.innerRadius=Math.max(b.outerRadius-N.radiusLength*er,0),oi=0,uo=wt.length;oi<uo;++oi)b.updateElement(wt[oi],oi,h)},updateElement:function(h,b,N){var k=this,ne=k.chart,he=ne.chartArea,Me=ne.options,Qe=Me.animation,Re=(he.left+he.right)/2,ft=(he.top+he.bottom)/2,wt=Me.rotation,It=Me.rotation,Cn=k.getDataset(),er=N&&Qe.animateRotate||h.hidden?0:k.calculateCircumference(Cn.data[b])*(Me.circumference/Aa),oi=h._options||{};Pe.extend(h,{_datasetIndex:k.index,_index:b,_model:{backgroundColor:oi.backgroundColor,borderColor:oi.borderColor,borderWidth:oi.borderWidth,borderAlign:oi.borderAlign,x:Re+ne.offsetX,y:ft+ne.offsetY,startAngle:wt,endAngle:It,circumference:er,outerRadius:N&&Qe.animateScale?0:k.outerRadius,innerRadius:N&&Qe.animateScale?0:k.innerRadius,label:Pe.valueAtIndexOrDefault(Cn.label,b,ne.data.labels[b])}});var uo=h._model;(!N||!Qe.animateRotate)&&(uo.startAngle=0===b?Me.rotation:k.getMeta().data[b-1]._model.endAngle,uo.endAngle=uo.startAngle+uo.circumference),h.pivot()},calculateTotal:function(){var k,h=this.getDataset(),b=this.getMeta(),N=0;return Pe.each(b.data,function(ne,he){k=h.data[he],!isNaN(k)&&!ne.hidden&&(N+=Math.abs(k))}),N},calculateCircumference:function(h){var b=this.getMeta().total;return b>0&&!isNaN(h)?Aa*(Math.abs(h)/b):0},getMaxBorderWidth:function(h){var ne,he,Me,Qe,Re,ft,wt,It,N=0,k=this.chart;if(!h)for(ne=0,he=k.data.datasets.length;ne<he;++ne)if(k.isDatasetVisible(ne)){h=(Me=k.getDatasetMeta(ne)).data,ne!==this.index&&(Re=Me.controller);break}if(!h)return 0;for(ne=0,he=h.length;ne<he;++ne)Qe=h[ne],Re?(Re._configure(),ft=Re._resolveDataElementOptions(Qe,ne)):ft=Qe._options,"inner"!==ft.borderAlign&&(N=(It=ft.hoverBorderWidth)>(N=(wt=ft.borderWidth)>N?wt:N)?It:N);return N},setHoverStyle:function(h){var b=h._model,N=h._options,k=Pe.getHoverColor;h.$previousStyle={backgroundColor:b.backgroundColor,borderColor:b.borderColor,borderWidth:b.borderWidth},b.backgroundColor=hs(N.hoverBackgroundColor,k(N.backgroundColor)),b.borderColor=hs(N.hoverBorderColor,k(N.borderColor)),b.borderWidth=hs(N.hoverBorderWidth,N.borderWidth)},_getRingWeightOffset:function(h){for(var b=0,N=0;N<h;++N)this.chart.isDatasetVisible(N)&&(b+=this._getRingWeight(N));return b},_getRingWeight:function(h){return Math.max(hs(this.chart.data.datasets[h].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});qr._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),qr._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var Xo=Rl.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),No=Pe.valueOrDefault,Cs=Pe.options.resolve,ns=Pe.canvas._isPointInArea;function Fo(h,b){var N=h&&h.options.ticks||{},k=N.reverse,ne=void 0===N.min?b:0,he=void 0===N.max?b:0;return{start:k?he:ne,end:k?ne:he}}qr._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var gt=Ai.extend({datasetElementType:ss.Line,dataElementType:ss.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(h){var Re,ft,b=this,N=b.getMeta(),k=N.dataset,ne=N.data||[],Me=b._config,Qe=b._showLine=No(Me.showLine,b.chart.options.showLines);for(b._xScale=b.getScaleForId(N.xAxisID),b._yScale=b.getScaleForId(N.yAxisID),Qe&&(void 0!==Me.tension&&void 0===Me.lineTension&&(Me.lineTension=Me.tension),k._scale=b._yScale,k._datasetIndex=b.index,k._children=ne,k._model=b._resolveDatasetElementOptions(k),k.pivot()),Re=0,ft=ne.length;Re<ft;++Re)b.updateElement(ne[Re],Re,h);for(Qe&&0!==k._model.tension&&b.updateBezierControlPoints(),Re=0,ft=ne.length;Re<ft;++Re)ne[Re].pivot()},updateElement:function(h,b,N){var Cn,er,k=this,ne=k.getMeta(),he=h.custom||{},Me=k.getDataset(),Qe=k.index,Re=Me.data[b],ft=k._xScale,wt=k._yScale,It=ne.dataset._model,sr=k._resolveDataElementOptions(h,b);Cn=ft.getPixelForValue("object"==typeof Re?Re:NaN,b,Qe),er=N?wt.getBasePixel():k.calculatePointY(Re,b,Qe),h._xScale=ft,h._yScale=wt,h._options=sr,h._datasetIndex=Qe,h._index=b,h._model={x:Cn,y:er,skip:he.skip||isNaN(Cn)||isNaN(er),radius:sr.radius,pointStyle:sr.pointStyle,rotation:sr.rotation,backgroundColor:sr.backgroundColor,borderColor:sr.borderColor,borderWidth:sr.borderWidth,tension:No(he.tension,It?It.tension:0),steppedLine:!!It&&It.steppedLine,hitRadius:sr.hitRadius}},_resolveDatasetElementOptions:function(h){var b=this,N=b._config,k=h.custom||{},ne=b.chart.options,he=ne.elements.line,Me=Ai.prototype._resolveDatasetElementOptions.apply(b,arguments);return Me.spanGaps=No(N.spanGaps,ne.spanGaps),Me.tension=No(N.lineTension,he.tension),Me.steppedLine=Cs([k.steppedLine,N.steppedLine,he.stepped]),Me.clip=function io(h){var b,N,k,ne;return Pe.isObject(h)?(b=h.top,N=h.right,k=h.bottom,ne=h.left):b=N=k=ne=h,{top:b,right:N,bottom:k,left:ne}}(No(N.clip,function zr(h,b,N){var k=N/2,ne=Fo(h,k),he=Fo(b,k);return{top:he.end,right:ne.end,bottom:he.start,left:ne.start}}(b._xScale,b._yScale,Me.borderWidth))),Me},calculatePointY:function(h,b,N){var Re,wt,It,Cn,er,sr,ne=this.chart,he=this._yScale,Me=0,Qe=0;if(he.options.stacked){for(Cn=+he.getRightValue(h),sr=(er=ne._getSortedVisibleDatasetMetas()).length,Re=0;Re<sr&&(wt=er[Re]).index!==N;++Re)"line"===wt.type&&wt.yAxisID===he.id&&((It=+he.getRightValue(ne.data.datasets[wt.index].data[b]))<0?Qe+=It||0:Me+=It||0);return he.getPixelForValue(Cn<0?Qe+Cn:Me+Cn)}return he.getPixelForValue(h)},updateBezierControlPoints:function(){var Me,Qe,Re,ft,b=this.chart,N=this.getMeta(),k=N.dataset._model,ne=b.chartArea,he=N.data||[];function wt(It,Cn,er){return Math.max(Math.min(It,er),Cn)}if(k.spanGaps&&(he=he.filter(function(It){return!It._model.skip})),"monotone"===k.cubicInterpolationMode)Pe.splineCurveMonotone(he);else for(Me=0,Qe=he.length;Me<Qe;++Me)Re=he[Me]._model,ft=Pe.splineCurve(Pe.previousItem(he,Me)._model,Re,Pe.nextItem(he,Me)._model,k.tension),Re.controlPointPreviousX=ft.previous.x,Re.controlPointPreviousY=ft.previous.y,Re.controlPointNextX=ft.next.x,Re.controlPointNextY=ft.next.y;if(b.options.elements.line.capBezierPoints)for(Me=0,Qe=he.length;Me<Qe;++Me)ns(Re=he[Me]._model,ne)&&(Me>0&&ns(he[Me-1]._model,ne)&&(Re.controlPointPreviousX=wt(Re.controlPointPreviousX,ne.left,ne.right),Re.controlPointPreviousY=wt(Re.controlPointPreviousY,ne.top,ne.bottom)),Me<he.length-1&&ns(he[Me+1]._model,ne)&&(Re.controlPointNextX=wt(Re.controlPointNextX,ne.left,ne.right),Re.controlPointNextY=wt(Re.controlPointNextY,ne.top,ne.bottom)))},draw:function(){var Re,h=this,b=h.chart,N=h.getMeta(),k=N.data||[],ne=b.chartArea,he=b.canvas,Me=0,Qe=k.length;for(h._showLine&&(Pe.canvas.clipArea(b.ctx,{left:!1===(Re=N.dataset._model.clip).left?0:ne.left-Re.left,right:!1===Re.right?he.width:ne.right+Re.right,top:!1===Re.top?0:ne.top-Re.top,bottom:!1===Re.bottom?he.height:ne.bottom+Re.bottom}),N.dataset.draw(),Pe.canvas.unclipArea(b.ctx));Me<Qe;++Me)k[Me].draw(ne)},setHoverStyle:function(h){var b=h._model,N=h._options,k=Pe.getHoverColor;h.$previousStyle={backgroundColor:b.backgroundColor,borderColor:b.borderColor,borderWidth:b.borderWidth,radius:b.radius},b.backgroundColor=No(N.hoverBackgroundColor,k(N.backgroundColor)),b.borderColor=No(N.hoverBorderColor,k(N.borderColor)),b.borderWidth=No(N.hoverBorderWidth,N.borderWidth),b.radius=No(N.hoverRadius,N.radius)}}),Tn=Pe.options.resolve;qr._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(h){var he,Me,Qe,b=document.createElement("ul"),N=h.data,k=N.datasets,ne=N.labels;if(b.setAttribute("class",h.id+"-legend"),k.length)for(he=0,Me=k[0].data.length;he<Me;++he)(Qe=b.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=k[0].backgroundColor[he],ne[he]&&Qe.appendChild(document.createTextNode(ne[he]));return b.outerHTML},legend:{labels:{generateLabels:function(h){var b=h.data;return b.labels.length&&b.datasets.length?b.labels.map(function(N,k){var ne=h.getDatasetMeta(0),he=ne.controller.getStyle(k);return{text:N,fillStyle:he.backgroundColor,strokeStyle:he.borderColor,lineWidth:he.borderWidth,hidden:isNaN(b.datasets[0].data[k])||ne.data[k].hidden,index:k}}):[]}},onClick:function(h,b){var ne,he,Me,N=b.index,k=this.chart;for(ne=0,he=(k.data.datasets||[]).length;ne<he;++ne)(Me=k.getDatasetMeta(ne)).data[N].hidden=!Me.data[N].hidden;k.update()}},tooltips:{callbacks:{title:function(){return""},label:function(h,b){return b.labels[h.index]+": "+h.yLabel}}}});var ie=Ai.extend({dataElementType:ss.Arc,linkScales:Pe.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(h){var Re,ft,wt,b=this,N=b.getDataset(),k=b.getMeta(),ne=b.chart.options.startAngle||0,he=b._starts=[],Me=b._angles=[],Qe=k.data;for(b._updateRadius(),k.count=b.countVisibleElements(),Re=0,ft=N.data.length;Re<ft;Re++)he[Re]=ne,wt=b._computeAngle(Re),Me[Re]=wt,ne+=wt;for(Re=0,ft=Qe.length;Re<ft;++Re)Qe[Re]._options=b._resolveDataElementOptions(Qe[Re],Re),b.updateElement(Qe[Re],Re,h)},_updateRadius:function(){var h=this,b=h.chart,N=b.chartArea,k=b.options,ne=Math.min(N.right-N.left,N.bottom-N.top);b.outerRadius=Math.max(ne/2,0),b.innerRadius=Math.max(k.cutoutPercentage?b.outerRadius/100*k.cutoutPercentage:1,0),b.radiusLength=(b.outerRadius-b.innerRadius)/b.getVisibleDatasetCount(),h.outerRadius=b.outerRadius-b.radiusLength*h.index,h.innerRadius=h.outerRadius-b.radiusLength},updateElement:function(h,b,N){var k=this,ne=k.chart,he=k.getDataset(),Me=ne.options,Qe=Me.animation,Re=ne.scale,ft=ne.data.labels,wt=Re.xCenter,It=Re.yCenter,Cn=Me.startAngle,er=h.hidden?0:Re.getDistanceFromCenterForValue(he.data[b]),sr=k._starts[b],Dr=sr+(h.hidden?0:k._angles[b]),oi=Qe.animateScale?0:Re.getDistanceFromCenterForValue(he.data[b]),uo=h._options||{};Pe.extend(h,{_datasetIndex:k.index,_index:b,_scale:Re,_model:{backgroundColor:uo.backgroundColor,borderColor:uo.borderColor,borderWidth:uo.borderWidth,borderAlign:uo.borderAlign,x:wt,y:It,innerRadius:0,outerRadius:N?oi:er,startAngle:N&&Qe.animateRotate?Cn:sr,endAngle:N&&Qe.animateRotate?Cn:Dr,label:Pe.valueAtIndexOrDefault(ft,b,ft[b])}}),h.pivot()},countVisibleElements:function(){var h=this.getDataset(),b=this.getMeta(),N=0;return Pe.each(b.data,function(k,ne){!isNaN(h.data[ne])&&!k.hidden&&N++}),N},setHoverStyle:function(h){var b=h._model,N=h._options,k=Pe.getHoverColor,ne=Pe.valueOrDefault;h.$previousStyle={backgroundColor:b.backgroundColor,borderColor:b.borderColor,borderWidth:b.borderWidth},b.backgroundColor=ne(N.hoverBackgroundColor,k(N.backgroundColor)),b.borderColor=ne(N.hoverBorderColor,k(N.borderColor)),b.borderWidth=ne(N.hoverBorderWidth,N.borderWidth)},_computeAngle:function(h){var b=this,N=this.getMeta().count,k=b.getDataset(),ne=b.getMeta();return isNaN(k.data[h])||ne.data[h].hidden?0:Tn([b.chart.options.elements.arc.angle,2*Math.PI/N],{chart:b.chart,dataIndex:h,dataset:k,datasetIndex:b.index},h)}});qr._set("pie",Pe.clone(qr.doughnut)),qr._set("pie",{cutoutPercentage:0});var Ze=fa,Jt=Pe.valueOrDefault;qr._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var gn=Ai.extend({datasetElementType:ss.Line,dataElementType:ss.Point,linkScales:Pe.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(h){var Qe,Re,b=this,N=b.getMeta(),k=N.dataset,ne=N.data||[],he=b.chart.scale,Me=b._config;for(void 0!==Me.tension&&void 0===Me.lineTension&&(Me.lineTension=Me.tension),k._scale=he,k._datasetIndex=b.index,k._children=ne,k._loop=!0,k._model=b._resolveDatasetElementOptions(k),k.pivot(),Qe=0,Re=ne.length;Qe<Re;++Qe)b.updateElement(ne[Qe],Qe,h);for(b.updateBezierControlPoints(),Qe=0,Re=ne.length;Qe<Re;++Qe)ne[Qe].pivot()},updateElement:function(h,b,N){var k=this,ne=h.custom||{},he=k.getDataset(),Me=k.chart.scale,Qe=Me.getPointPositionForValue(b,he.data[b]),Re=k._resolveDataElementOptions(h,b),ft=k.getMeta().dataset._model,wt=N?Me.xCenter:Qe.x,It=N?Me.yCenter:Qe.y;h._scale=Me,h._options=Re,h._datasetIndex=k.index,h._index=b,h._model={x:wt,y:It,skip:ne.skip||isNaN(wt)||isNaN(It),radius:Re.radius,pointStyle:Re.pointStyle,rotation:Re.rotation,backgroundColor:Re.backgroundColor,borderColor:Re.borderColor,borderWidth:Re.borderWidth,tension:Jt(ne.tension,ft?ft.tension:0),hitRadius:Re.hitRadius}},_resolveDatasetElementOptions:function(){var h=this,b=h._config,N=h.chart.options,k=Ai.prototype._resolveDatasetElementOptions.apply(h,arguments);return k.spanGaps=Jt(b.spanGaps,N.spanGaps),k.tension=Jt(b.lineTension,N.elements.line.tension),k},updateBezierControlPoints:function(){var ne,he,Me,Qe,b=this.getMeta(),N=this.chart.chartArea,k=b.data||[];function Re(ft,wt,It){return Math.max(Math.min(ft,It),wt)}for(b.dataset._model.spanGaps&&(k=k.filter(function(ft){return!ft._model.skip})),ne=0,he=k.length;ne<he;++ne)Me=k[ne]._model,Qe=Pe.splineCurve(Pe.previousItem(k,ne,!0)._model,Me,Pe.nextItem(k,ne,!0)._model,Me.tension),Me.controlPointPreviousX=Re(Qe.previous.x,N.left,N.right),Me.controlPointPreviousY=Re(Qe.previous.y,N.top,N.bottom),Me.controlPointNextX=Re(Qe.next.x,N.left,N.right),Me.controlPointNextY=Re(Qe.next.y,N.top,N.bottom)},setHoverStyle:function(h){var b=h._model,N=h._options,k=Pe.getHoverColor;h.$previousStyle={backgroundColor:b.backgroundColor,borderColor:b.borderColor,borderWidth:b.borderWidth,radius:b.radius},b.backgroundColor=Jt(N.hoverBackgroundColor,k(N.backgroundColor)),b.borderColor=Jt(N.hoverBorderColor,k(N.borderColor)),b.borderWidth=Jt(N.hoverBorderWidth,N.borderWidth),b.radius=Jt(N.hoverRadius,N.radius)}});qr._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(h){return"("+h.xLabel+", "+h.yLabel+")"}}}}),qr._set("global",{datasets:{scatter:{showLine:!1}}});var Bi={bar:Rl,bubble:Ts,doughnut:fa,horizontalBar:Xo,line:gt,polarArea:ie,pie:Ze,radar:gn,scatter:gt};function Xi(h,b){return h.native?{x:h.x,y:h.y}:Pe.getRelativePosition(h,b)}function ws(h,b){var k,ne,he,Me,Qe,Re,N=h._getSortedVisibleDatasetMetas();for(ne=0,Me=N.length;ne<Me;++ne)for(he=0,Qe=(k=N[ne].data).length;he<Qe;++he)(Re=k[he])._view.skip||b(Re)}function ds(h,b){var N=[];return ws(h,function(k){k.inRange(b.x,b.y)&&N.push(k)}),N}function qs(h,b,N,k){var ne=Number.POSITIVE_INFINITY,he=[];return ws(h,function(Me){if(!N||Me.inRange(b.x,b.y)){var Qe=Me.getCenterPoint(),Re=k(b,Qe);Re<ne?(he=[Me],ne=Re):Re===ne&&he.push(Me)}}),he}function Js(h){var b=-1!==h.indexOf("x"),N=-1!==h.indexOf("y");return function(k,ne){var he=b?Math.abs(k.x-ne.x):0,Me=N?Math.abs(k.y-ne.y):0;return Math.sqrt(Math.pow(he,2)+Math.pow(Me,2))}}function Ll(h,b,N){var k=Xi(b,h);N.axis=N.axis||"x";var ne=Js(N.axis),he=N.intersect?ds(h,k):qs(h,k,!1,ne),Me=[];return he.length?(h._getSortedVisibleDatasetMetas().forEach(function(Qe){var Re=Qe.data[he[0]._index];Re&&!Re._view.skip&&Me.push(Re)}),Me):[]}var vl={modes:{single:function(h,b){var N=Xi(b,h),k=[];return ws(h,function(ne){if(ne.inRange(N.x,N.y))return k.push(ne),k}),k.slice(0,1)},label:Ll,index:Ll,dataset:function(h,b,N){var k=Xi(b,h);N.axis=N.axis||"xy";var ne=Js(N.axis),he=N.intersect?ds(h,k):qs(h,k,!1,ne);return he.length>0&&(he=h.getDatasetMeta(he[0]._datasetIndex).data),he},"x-axis":function(h,b){return Ll(h,b,{intersect:!1})},point:function(h,b){return ds(h,Xi(b,h))},nearest:function(h,b,N){var k=Xi(b,h);N.axis=N.axis||"xy";var ne=Js(N.axis);return qs(h,k,N.intersect,ne)},x:function(h,b,N){var k=Xi(b,h),ne=[],he=!1;return ws(h,function(Me){Me.inXRange(k.x)&&ne.push(Me),Me.inRange(k.x,k.y)&&(he=!0)}),N.intersect&&!he&&(ne=[]),ne},y:function(h,b,N){var k=Xi(b,h),ne=[],he=!1;return ws(h,function(Me){Me.inYRange(k.y)&&ne.push(Me),Me.inRange(k.x,k.y)&&(he=!0)}),N.intersect&&!he&&(ne=[]),ne}}},Yu=Pe.extend;function Nc(h,b){return Pe.where(h,function(N){return N.pos===b})}function qu(h,b){return h.sort(function(N,k){var ne=b?k:N,he=b?N:k;return ne.weight===he.weight?ne.index-he.index:ne.weight-he.weight})}function au(h,b,N,k){return Math.max(h[N],b[N])+Math.max(h[k],b[k])}function Da(h,b,N){var he,Me,k=N.box,ne=h.maxPadding;if(N.size&&(h[N.pos]-=N.size),N.size=N.horizontal?k.height:k.width,h[N.pos]+=N.size,k.getPadding){var Qe=k.getPadding();ne.top=Math.max(ne.top,Qe.top),ne.left=Math.max(ne.left,Qe.left),ne.bottom=Math.max(ne.bottom,Qe.bottom),ne.right=Math.max(ne.right,Qe.right)}if(he=b.outerWidth-au(ne,h,"left","right"),Me=b.outerHeight-au(ne,h,"top","bottom"),he!==h.w||Me!==h.h){h.w=he,h.h=Me;var Re=N.horizontal?[he,h.w]:[Me,h.h];return!(Re[0]===Re[1]||isNaN(Re[0])&&isNaN(Re[1]))}}function ju(h,b){var N=b.maxPadding;return function k(ne){var he={left:0,top:0,right:0,bottom:0};return ne.forEach(function(Me){he[Me]=Math.max(b[Me],N[Me])}),he}(h?["left","right"]:["top","bottom"])}function el(h,b,N){var ne,he,Me,Qe,Re,ft,k=[];for(ne=0,he=h.length;ne<he;++ne)(Qe=(Me=h[ne]).box).update(Me.width||b.w,Me.height||b.h,ju(Me.horizontal,b)),Da(b,N,Me)&&(ft=!0,k.length&&(Re=!0)),Qe.fullWidth||k.push(Me);return Re&&el(k,b,N)||ft}function oc(h,b,N){var Me,Qe,Re,ft,k=N.padding,ne=b.x,he=b.y;for(Me=0,Qe=h.length;Me<Qe;++Me)ft=(Re=h[Me]).box,Re.horizontal?(ft.left=ft.fullWidth?k.left:b.left,ft.right=ft.fullWidth?N.outerWidth-k.right:b.left+b.w,ft.top=he,ft.bottom=he+ft.height,ft.width=ft.right-ft.left,he=ft.bottom):(ft.left=ne,ft.right=ne+ft.width,ft.top=b.top,ft.bottom=b.top+b.h,ft.height=ft.bottom-ft.top,ne=ft.right);b.x=ne,b.y=he}qr._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var Xl={defaults:{},addBox:function(h,b){h.boxes||(h.boxes=[]),b.fullWidth=b.fullWidth||!1,b.position=b.position||"top",b.weight=b.weight||0,b._layers=b._layers||function(){return[{z:0,draw:function(){b.draw.apply(b,arguments)}}]},h.boxes.push(b)},removeBox:function(h,b){var N=h.boxes?h.boxes.indexOf(b):-1;-1!==N&&h.boxes.splice(N,1)},configure:function(h,b,N){for(var Me,k=["fullWidth","position","weight"],ne=k.length,he=0;he<ne;++he)N.hasOwnProperty(Me=k[he])&&(b[Me]=N[Me])},update:function(h,b,N){if(h){var ne=Pe.options.toPadding((h.options.layout||{}).padding),he=b-ne.width,Me=N-ne.height,Qe=function yl(h){var b=function Ol(h){var N,k,ne,b=[];for(N=0,k=(h||[]).length;N<k;++N)b.push({index:N,box:ne=h[N],pos:ne.position,horizontal:ne.isHorizontal(),weight:ne.weight});return b}(h),N=qu(Nc(b,"left"),!0),k=qu(Nc(b,"right")),ne=qu(Nc(b,"top"),!0),he=qu(Nc(b,"bottom"));return{leftAndTop:N.concat(ne),rightAndBottom:k.concat(he),chartArea:Nc(b,"chartArea"),vertical:N.concat(k),horizontal:ne.concat(he)}}(h.boxes),Re=Qe.vertical,ft=Qe.horizontal,wt=Object.freeze({outerWidth:b,outerHeight:N,padding:ne,availableWidth:he,vBoxMaxWidth:he/2/Re.length,hBoxMaxHeight:Me/2}),It=Yu({maxPadding:Yu({},ne),w:he,h:Me,x:ne.left,y:ne.top},ne);(function Kc(h,b){var N,k,ne;for(N=0,k=h.length;N<k;++N)(ne=h[N]).width=ne.horizontal?ne.box.fullWidth&&b.availableWidth:b.vBoxMaxWidth,ne.height=ne.horizontal&&b.hBoxMaxHeight})(Re.concat(ft),wt),el(Re,It,wt),el(ft,It,wt)&&el(Re,It,wt),function yu(h){var b=h.maxPadding;function N(k){var ne=Math.max(b[k]-h[k],0);return h[k]+=ne,ne}h.y+=N("top"),h.x+=N("left"),N("right"),N("bottom")}(It),oc(Qe.leftAndTop,It,wt),It.x+=It.w,It.y+=It.h,oc(Qe.rightAndBottom,It,wt),h.chartArea={left:It.left,top:It.top,right:It.left+It.w,bottom:It.top+It.h},Pe.each(Qe.chartArea,function(Cn){var er=Cn.box;Yu(er,h.chartArea),er.update(It.w,It.h)})}}},zu=function c(h){return h&&h.default||h}(Object.freeze({__proto__:null,default:"/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"})),ua="$chartjs",El="chartjs-",uu=El+"size-monitor",Eu=El+"render-monitor",$u=El+"render-animation",Ba=["animationstart","webkitAnimationStart"],Tl={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function tl(h,b){var N=Pe.getStyle(h,b),k=N&&N.match(/^(\d+)(\.\d+)?px$/);return k?Number(k[1]):void 0}var cu=!!function(){var h=!1;try{var b=Object.defineProperty({},"passive",{get:function(){h=!0}});window.addEventListener("e",null,b)}catch{}return h}()&&{passive:!0};function Sa(h,b,N){h.addEventListener(b,N,cu)}function Ru(h,b,N){h.removeEventListener(b,N,cu)}function xu(h,b,N,k,ne){return{type:h,chart:b,native:ne||null,x:void 0!==N?N:null,y:void 0!==k?k:null}}function Su(h){var b=document.createElement("div");return b.className=h||"",b}function Dc(h,b,N){var k=h[ua]||(h[ua]={}),ne=k.resizer=function gc(h){var b=1e6,N=Su(uu),k=Su(uu+"-expand"),ne=Su(uu+"-shrink");k.appendChild(Su()),ne.appendChild(Su()),N.appendChild(k),N.appendChild(ne),N._reset=function(){k.scrollLeft=b,k.scrollTop=b,ne.scrollLeft=b,ne.scrollTop=b};var he=function(){N._reset(),h()};return Sa(k,"scroll",he.bind(k,"expand")),Sa(ne,"scroll",he.bind(ne,"shrink")),N}(function nl(h,b){var N=!1,k=[];return function(){k=Array.prototype.slice.call(arguments),b=b||this,N||(N=!0,Pe.requestAnimFrame.call(window,function(){N=!1,h.apply(b,k)}))}}(function(){if(k.resizer){var he=N.options.maintainAspectRatio&&h.parentNode,Me=he?he.clientWidth:0;b(xu("resize",N)),he&&he.clientWidth<Me&&N.canvas&&b(xu("resize",N))}}));!function ql(h,b){var N=h[ua]||(h[ua]={}),k=N.renderProxy=function(ne){ne.animationName===$u&&b()};Pe.each(Ba,function(ne){Sa(h,ne,k)}),N.reflow=!!h.offsetParent,h.classList.add(Eu)}(h,function(){if(k.resizer){var he=h.parentNode;he&&he!==ne.parentNode&&he.insertBefore(ne,he.firstChild),ne._reset()}})}function zs(h){var b=h[ua]||{},N=b.resizer;delete b.resizer,function Al(h){var b=h[ua]||{},N=b.renderProxy;N&&(Pe.each(Ba,function(k){Ru(h,k,N)}),delete b.renderProxy),h.classList.remove(Eu)}(h),N&&N.parentNode&&N.parentNode.removeChild(N)}var bt={disableCSSInjection:!1,_enabled:typeof window<"u"&&typeof document<"u",_ensureLoaded:function(h){if(!this.disableCSSInjection){var b=h.getRootNode?h.getRootNode():document;!function Vc(h,b){var N=h[ua]||(h[ua]={});if(!N.containsStyles){N.containsStyles=!0,b="/* Chart.js */\n"+b;var k=document.createElement("style");k.setAttribute("type","text/css"),k.appendChild(document.createTextNode(b)),h.appendChild(k)}}(b.host?b:document.head,zu)}},acquireContext:function(h,b){"string"==typeof h?h=document.getElementById(h):h.length&&(h=h[0]),h&&h.canvas&&(h=h.canvas);var N=h&&h.getContext&&h.getContext("2d");return N&&N.canvas===h?(this._ensureLoaded(h),function Ga(h,b){var N=h.style,k=h.getAttribute("height"),ne=h.getAttribute("width");if(h[ua]={initial:{height:k,width:ne,style:{display:N.display,height:N.height,width:N.width}}},N.display=N.display||"block",null===ne||""===ne){var he=tl(h,"width");void 0!==he&&(h.width=he)}if(null===k||""===k)if(""===h.style.height)h.height=h.width/(b.options.aspectRatio||2);else{var Me=tl(h,"height");void 0!==he&&(h.height=Me)}return h}(h,b),N):null},releaseContext:function(h){var b=h.canvas;if(b[ua]){var N=b[ua].initial;["height","width"].forEach(function(k){var ne=N[k];Pe.isNullOrUndef(ne)?b.removeAttribute(k):b.setAttribute(k,ne)}),Pe.each(N.style||{},function(k,ne){b.style[ne]=k}),b.width=b.width,delete b[ua]}},addEventListener:function(h,b,N){var k=h.canvas;if("resize"!==b){var ne=N[ua]||(N[ua]={});Sa(k,b,(ne.proxies||(ne.proxies={}))[h.id+"_"+b]=function(Qe){N(function ba(h,b){var N=Tl[h.type]||h.type,k=Pe.getRelativePosition(h,b);return xu(N,b,k.x,k.y,h)}(Qe,h))})}else Dc(k,N,h)},removeEventListener:function(h,b,N){var k=h.canvas;if("resize"!==b){var Me=((N[ua]||{}).proxies||{})[h.id+"_"+b];Me&&Ru(k,b,Me)}else zs(k)}};Pe.addEvent=Sa,Pe.removeEvent=Ru;var Je=Pe.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},bt._enabled?bt:{acquireContext:function(h){return h&&h.canvas&&(h=h.canvas),h&&h.getContext("2d")||null}});qr._set("global",{plugins:{}});var en={_plugins:[],_cacheId:0,register:function(h){var b=this._plugins;[].concat(h).forEach(function(N){-1===b.indexOf(N)&&b.push(N)}),this._cacheId++},unregister:function(h){var b=this._plugins;[].concat(h).forEach(function(N){var k=b.indexOf(N);-1!==k&&b.splice(k,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(h,b,N){var he,Me,Qe,Re,ft,k=this.descriptors(h),ne=k.length;for(he=0;he<ne;++he)if("function"==typeof(ft=(Qe=(Me=k[he]).plugin)[b])&&((Re=[h].concat(N||[])).push(Me.options),!1===ft.apply(Qe,Re)))return!1;return!0},descriptors:function(h){var b=h.$plugins||(h.$plugins={});if(b.id===this._cacheId)return b.descriptors;var N=[],k=[],ne=h&&h.config||{},he=ne.options&&ne.options.plugins||{};return this._plugins.concat(ne.plugins||[]).forEach(function(Me){if(-1===N.indexOf(Me)){var Re=Me.id,ft=he[Re];!1!==ft&&(!0===ft&&(ft=Pe.clone(qr.global.plugins[Re])),N.push(Me),k.push({plugin:Me,options:ft||{}}))}}),b.descriptors=k,b.id=this._cacheId,k},_invalidate:function(h){delete h.$plugins}},fi={constructors:{},defaults:{},registerScaleType:function(h,b,N){this.constructors[h]=b,this.defaults[h]=Pe.clone(N)},getScaleConstructor:function(h){return this.constructors.hasOwnProperty(h)?this.constructors[h]:void 0},getScaleDefaults:function(h){return this.defaults.hasOwnProperty(h)?Pe.merge(Object.create(null),[qr.scale,this.defaults[h]]):{}},updateScaleDefaults:function(h,b){var N=this;N.defaults.hasOwnProperty(h)&&(N.defaults[h]=Pe.extend(N.defaults[h],b))},addScalesToLayout:function(h){Pe.each(h.scales,function(b){b.fullWidth=b.options.fullWidth,b.position=b.options.position,b.weight=b.options.weight,Xl.addBox(h,b)})}},To=Pe.valueOrDefault,Ya=Pe.rtl.getRtlAdapter;qr._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:Pe.noop,title:function(h,b){var N="",k=b.labels,ne=k?k.length:0;if(h.length>0){var he=h[0];he.label?N=he.label:he.xLabel?N=he.xLabel:ne>0&&he.index<ne&&(N=k[he.index])}return N},afterTitle:Pe.noop,beforeBody:Pe.noop,beforeLabel:Pe.noop,label:function(h,b){var N=b.datasets[h.datasetIndex].label||"";return N&&(N+=": "),Pe.isNullOrUndef(h.value)?N+=h.yLabel:N+=h.value,N},labelColor:function(h,b){var ne=b.getDatasetMeta(h.datasetIndex).data[h.index]._view;return{borderColor:ne.borderColor,backgroundColor:ne.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:Pe.noop,afterBody:Pe.noop,beforeFooter:Pe.noop,footer:Pe.noop,afterFooter:Pe.noop}}});var mi={average:function(h){if(!h.length)return!1;var b,N,k=0,ne=0,he=0;for(b=0,N=h.length;b<N;++b){var Me=h[b];if(Me&&Me.hasValue()){var Qe=Me.tooltipPosition();k+=Qe.x,ne+=Qe.y,++he}}return{x:k/he,y:ne/he}},nearest:function(h,b){var he,Me,Qe,N=b.x,k=b.y,ne=Number.POSITIVE_INFINITY;for(he=0,Me=h.length;he<Me;++he){var Re=h[he];if(Re&&Re.hasValue()){var ft=Re.getCenterPoint(),wt=Pe.distanceBetweenPoints(b,ft);wt<ne&&(ne=wt,Qe=Re)}}if(Qe){var It=Qe.tooltipPosition();N=It.x,k=It.y}return{x:N,y:k}}};function Hs(h,b){return b&&(Pe.isArray(b)?Array.prototype.push.apply(h,b):h.push(b)),h}function Qs(h){return("string"==typeof h||h instanceof String)&&h.indexOf("\n")>-1?h.split("\n"):h}function Hu(h){var b=h._xScale,N=h._yScale||h._scale,k=h._index,ne=h._datasetIndex,he=h._chart.getDatasetMeta(ne).controller,Me=he._getIndexScale(),Qe=he._getValueScale();return{xLabel:b?b.getLabelForIndex(k,ne):"",yLabel:N?N.getLabelForIndex(k,ne):"",label:Me?""+Me.getLabelForIndex(k,ne):"",value:Qe?""+Qe.getLabelForIndex(k,ne):"",index:k,datasetIndex:ne,x:h._model.x,y:h._model.y}}function zl(h){var b=qr.global;return{xPadding:h.xPadding,yPadding:h.yPadding,xAlign:h.xAlign,yAlign:h.yAlign,rtl:h.rtl,textDirection:h.textDirection,bodyFontColor:h.bodyFontColor,_bodyFontFamily:To(h.bodyFontFamily,b.defaultFontFamily),_bodyFontStyle:To(h.bodyFontStyle,b.defaultFontStyle),_bodyAlign:h.bodyAlign,bodyFontSize:To(h.bodyFontSize,b.defaultFontSize),bodySpacing:h.bodySpacing,titleFontColor:h.titleFontColor,_titleFontFamily:To(h.titleFontFamily,b.defaultFontFamily),_titleFontStyle:To(h.titleFontStyle,b.defaultFontStyle),titleFontSize:To(h.titleFontSize,b.defaultFontSize),_titleAlign:h.titleAlign,titleSpacing:h.titleSpacing,titleMarginBottom:h.titleMarginBottom,footerFontColor:h.footerFontColor,_footerFontFamily:To(h.footerFontFamily,b.defaultFontFamily),_footerFontStyle:To(h.footerFontStyle,b.defaultFontStyle),footerFontSize:To(h.footerFontSize,b.defaultFontSize),_footerAlign:h.footerAlign,footerSpacing:h.footerSpacing,footerMarginTop:h.footerMarginTop,caretSize:h.caretSize,cornerRadius:h.cornerRadius,backgroundColor:h.backgroundColor,opacity:0,legendColorBackground:h.multiKeyBackground,displayColors:h.displayColors,borderColor:h.borderColor,borderWidth:h.borderWidth}}function id(h,b){return"center"===b?h.x+h.width/2:"right"===b?h.x+h.width-h.xPadding:h.x+h.xPadding}function ec(h){return Hs([],Qs(h))}var Fc=nr.extend({initialize:function(){this._model=zl(this._options),this._lastActive=[]},getTitle:function(){var h=this,N=h._options.callbacks,k=N.beforeTitle.apply(h,arguments),ne=N.title.apply(h,arguments),he=N.afterTitle.apply(h,arguments),Me=[];return Me=Hs(Me,Qs(k)),Me=Hs(Me,Qs(ne)),Hs(Me,Qs(he))},getBeforeBody:function(){return ec(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(h,b){var N=this,k=N._options.callbacks,ne=[];return Pe.each(h,function(he){var Me={before:[],lines:[],after:[]};Hs(Me.before,Qs(k.beforeLabel.call(N,he,b))),Hs(Me.lines,k.label.call(N,he,b)),Hs(Me.after,Qs(k.afterLabel.call(N,he,b))),ne.push(Me)}),ne},getAfterBody:function(){return ec(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var h=this,b=h._options.callbacks,N=b.beforeFooter.apply(h,arguments),k=b.footer.apply(h,arguments),ne=b.afterFooter.apply(h,arguments),he=[];return he=Hs(he,Qs(N)),he=Hs(he,Qs(k)),Hs(he,Qs(ne))},update:function(h){var It,Cn,b=this,N=b._options,k=b._model,ne=b._model=zl(N),he=b._active,Me=b._data,Qe={xAlign:k.xAlign,yAlign:k.yAlign},Re={x:k.x,y:k.y},ft={width:k.width,height:k.height},wt={x:k.caretX,y:k.caretY};if(he.length){ne.opacity=1;var er=[],sr=[];wt=mi[N.position].call(b,he,b._eventPosition);var Dr=[];for(It=0,Cn=he.length;It<Cn;++It)Dr.push(Hu(he[It]));N.filter&&(Dr=Dr.filter(function(oi){return N.filter(oi,Me)})),N.itemSort&&(Dr=Dr.sort(function(oi,uo){return N.itemSort(oi,uo,Me)})),Pe.each(Dr,function(oi){er.push(N.callbacks.labelColor.call(b,oi,b._chart)),sr.push(N.callbacks.labelTextColor.call(b,oi,b._chart))}),ne.title=b.getTitle(Dr,Me),ne.beforeBody=b.getBeforeBody(Dr,Me),ne.body=b.getBody(Dr,Me),ne.afterBody=b.getAfterBody(Dr,Me),ne.footer=b.getFooter(Dr,Me),ne.x=wt.x,ne.y=wt.y,ne.caretPadding=N.caretPadding,ne.labelColors=er,ne.labelTextColors=sr,ne.dataPoints=Dr,Re=function lu(h,b,N,k){var ne=h.x,he=h.y,Qe=h.caretPadding,ft=N.xAlign,wt=N.yAlign,It=h.caretSize+Qe,Cn=h.cornerRadius+Qe;return"right"===ft?ne-=b.width:"center"===ft&&((ne-=b.width/2)+b.width>k.width&&(ne=k.width-b.width),ne<0&&(ne=0)),"top"===wt?he+=It:he-="bottom"===wt?b.height+It:b.height/2,"center"===wt?"left"===ft?ne+=It:"right"===ft&&(ne-=It):"left"===ft?ne-=Cn:"right"===ft&&(ne+=Cn),{x:ne,y:he}}(ne,ft=function sc(h,b){var N=h._chart.ctx,k=2*b.yPadding,ne=0,he=b.body,Me=he.reduce(function(sr,Dr){return sr+Dr.before.length+Dr.lines.length+Dr.after.length},0),Qe=b.title.length,Re=b.footer.length,ft=b.titleFontSize,wt=b.bodyFontSize,It=b.footerFontSize;k+=Qe*ft,k+=Qe?(Qe-1)*b.titleSpacing:0,k+=Qe?b.titleMarginBottom:0,k+=(Me+=b.beforeBody.length+b.afterBody.length)*wt,k+=Me?(Me-1)*b.bodySpacing:0,k+=Re?b.footerMarginTop:0,k+=Re*It,k+=Re?(Re-1)*b.footerSpacing:0;var Cn=0,er=function(sr){ne=Math.max(ne,N.measureText(sr).width+Cn)};return N.font=Pe.fontString(ft,b._titleFontStyle,b._titleFontFamily),Pe.each(b.title,er),N.font=Pe.fontString(wt,b._bodyFontStyle,b._bodyFontFamily),Pe.each(b.beforeBody.concat(b.afterBody),er),Cn=b.displayColors?wt+2:0,Pe.each(he,function(sr){Pe.each(sr.before,er),Pe.each(sr.lines,er),Pe.each(sr.after,er)}),Cn=0,N.font=Pe.fontString(It,b._footerFontStyle,b._footerFontFamily),Pe.each(b.footer,er),{width:ne+=2*b.xPadding,height:k}}(this,ne),Qe=function hu(h,b){var N=h._model,k=h._chart,ne=h._chart.chartArea,he="center",Me="center";N.y<b.height?Me="top":N.y>k.height-b.height&&(Me="bottom");var Qe,Re,ft,wt,It,Cn=(ne.left+ne.right)/2,er=(ne.top+ne.bottom)/2;"center"===Me?(Qe=function(Dr){return Dr<=Cn},Re=function(Dr){return Dr>Cn}):(Qe=function(Dr){return Dr<=b.width/2},Re=function(Dr){return Dr>=k.width-b.width/2}),ft=function(Dr){return Dr+b.width+N.caretSize+N.caretPadding>k.width},wt=function(Dr){return Dr-b.width-N.caretSize-N.caretPadding<0},It=function(Dr){return Dr<=er?"top":"bottom"},Qe(N.x)?(he="left",ft(N.x)&&(he="center",Me=It(N.y))):Re(N.x)&&(he="right",wt(N.x)&&(he="center",Me=It(N.y)));var sr=h._options;return{xAlign:sr.xAlign?sr.xAlign:he,yAlign:sr.yAlign?sr.yAlign:Me}}(this,ft),b._chart)}else ne.opacity=0;return ne.xAlign=Qe.xAlign,ne.yAlign=Qe.yAlign,ne.x=Re.x,ne.y=Re.y,ne.width=ft.width,ne.height=ft.height,ne.caretX=wt.x,ne.caretY=wt.y,b._model=ne,h&&N.custom&&N.custom.call(b,ne),b},drawCaret:function(h,b){var N=this._chart.ctx,ne=this.getCaretPosition(h,b,this._view);N.lineTo(ne.x1,ne.y1),N.lineTo(ne.x2,ne.y2),N.lineTo(ne.x3,ne.y3)},getCaretPosition:function(h,b,N){var k,ne,he,Me,Qe,Re,ft=N.caretSize,wt=N.cornerRadius,It=N.xAlign,Cn=N.yAlign,er=h.x,sr=h.y,Dr=b.width,oi=b.height;if("center"===Cn)Qe=sr+oi/2,"left"===It?(ne=(k=er)-ft,he=k,Me=Qe+ft,Re=Qe-ft):(ne=(k=er+Dr)+ft,he=k,Me=Qe-ft,Re=Qe+ft);else if("left"===It?(k=(ne=er+wt+ft)-ft,he=ne+ft):"right"===It?(k=(ne=er+Dr-wt-ft)-ft,he=ne+ft):(k=(ne=N.caretX)-ft,he=ne+ft),"top"===Cn)Qe=(Me=sr)-ft,Re=Me;else{Qe=(Me=sr+oi)+ft,Re=Me;var uo=he;he=k,k=uo}return{x1:k,x2:ne,x3:he,y1:Me,y2:Qe,y3:Re}},drawTitle:function(h,b,N){var he,Me,Qe,k=b.title,ne=k.length;if(ne){var Re=Ya(b.rtl,b.x,b.width);for(h.x=id(b,b._titleAlign),N.textAlign=Re.textAlign(b._titleAlign),N.textBaseline="middle",he=b.titleFontSize,Me=b.titleSpacing,N.fillStyle=b.titleFontColor,N.font=Pe.fontString(he,b._titleFontStyle,b._titleFontFamily),Qe=0;Qe<ne;++Qe)N.fillText(k[Qe],Re.x(h.x),h.y+he/2),h.y+=he+Me,Qe+1===ne&&(h.y+=b.titleMarginBottom-Me)}},drawBody:function(h,b,N){var Cn,er,sr,Dr,oi,uo,As,as,k=b.bodyFontSize,ne=b.bodySpacing,he=b._bodyAlign,Me=b.body,Qe=b.displayColors,Re=0,ft=Qe?id(b,"left"):0,wt=Ya(b.rtl,b.x,b.width),It=function(Pl){N.fillText(Pl,wt.x(h.x+Re),h.y+k/2),h.y+=k+ne},ma=wt.textAlign(he);for(N.textAlign=he,N.textBaseline="middle",N.font=Pe.fontString(k,b._bodyFontStyle,b._bodyFontFamily),h.x=id(b,ma),N.fillStyle=b.bodyFontColor,Pe.each(b.beforeBody,It),Re=Qe&&"right"!==ma?"center"===he?k/2+1:k+2:0,oi=0,As=Me.length;oi<As;++oi){for(Cn=Me[oi],sr=b.labelColors[oi],N.fillStyle=er=b.labelTextColors[oi],Pe.each(Cn.before,It),uo=0,as=(Dr=Cn.lines).length;uo<as;++uo){if(Qe){var Na=wt.x(ft);N.fillStyle=b.legendColorBackground,N.fillRect(wt.leftForLtr(Na,k),h.y,k,k),N.lineWidth=1,N.strokeStyle=sr.borderColor,N.strokeRect(wt.leftForLtr(Na,k),h.y,k,k),N.fillStyle=sr.backgroundColor,N.fillRect(wt.leftForLtr(wt.xPlus(Na,1),k-2),h.y+1,k-2,k-2),N.fillStyle=er}It(Dr[uo])}Pe.each(Cn.after,It)}Re=0,Pe.each(b.afterBody,It),h.y-=ne},drawFooter:function(h,b,N){var he,Me,k=b.footer,ne=k.length;if(ne){var Qe=Ya(b.rtl,b.x,b.width);for(h.x=id(b,b._footerAlign),h.y+=b.footerMarginTop,N.textAlign=Qe.textAlign(b._footerAlign),N.textBaseline="middle",he=b.footerFontSize,N.fillStyle=b.footerFontColor,N.font=Pe.fontString(he,b._footerFontStyle,b._footerFontFamily),Me=0;Me<ne;++Me)N.fillText(k[Me],Qe.x(h.x),h.y+he/2),h.y+=he+b.footerSpacing}},drawBackground:function(h,b,N,k){N.fillStyle=b.backgroundColor,N.strokeStyle=b.borderColor,N.lineWidth=b.borderWidth;var ne=b.xAlign,he=b.yAlign,Me=h.x,Qe=h.y,Re=k.width,ft=k.height,wt=b.cornerRadius;N.beginPath(),N.moveTo(Me+wt,Qe),"top"===he&&this.drawCaret(h,k),N.lineTo(Me+Re-wt,Qe),N.quadraticCurveTo(Me+Re,Qe,Me+Re,Qe+wt),"center"===he&&"right"===ne&&this.drawCaret(h,k),N.lineTo(Me+Re,Qe+ft-wt),N.quadraticCurveTo(Me+Re,Qe+ft,Me+Re-wt,Qe+ft),"bottom"===he&&this.drawCaret(h,k),N.lineTo(Me+wt,Qe+ft),N.quadraticCurveTo(Me,Qe+ft,Me,Qe+ft-wt),"center"===he&&"left"===ne&&this.drawCaret(h,k),N.lineTo(Me,Qe+wt),N.quadraticCurveTo(Me,Qe,Me+wt,Qe),N.closePath(),N.fill(),b.borderWidth>0&&N.stroke()},draw:function(){var h=this._chart.ctx,b=this._view;if(0!==b.opacity){var N={width:b.width,height:b.height},k={x:b.x,y:b.y},ne=Math.abs(b.opacity<.001)?0:b.opacity;this._options.enabled&&(b.title.length||b.beforeBody.length||b.body.length||b.afterBody.length||b.footer.length)&&(h.save(),h.globalAlpha=ne,this.drawBackground(k,b,h,N),k.y+=b.yPadding,Pe.rtl.overrideTextDirection(h,b.textDirection),this.drawTitle(k,b,h),this.drawBody(k,b,h),this.drawFooter(k,b,h),Pe.rtl.restoreTextDirection(h,b.textDirection),h.restore())}},handleEvent:function(h){var k,b=this,N=b._options;return b._lastActive=b._lastActive||[],"mouseout"===h.type?b._active=[]:(b._active=b._chart.getElementsAtEventForMode(h,N.mode,N),N.reverse&&b._active.reverse()),(k=!Pe.arrayEquals(b._active,b._lastActive))&&(b._lastActive=b._active,(N.enabled||N.custom)&&(b._eventPosition={x:h.x,y:h.y},b.update(!0),b.pivot())),k}}),Lc=Fc;Lc.positioners=mi;var kl=Pe.valueOrDefault;function sl(){return Pe.merge(Object.create(null),[].slice.call(arguments),{merger:function(h,b,N,k){if("xAxes"===h||"yAxes"===h){var he,Me,Qe,ne=N[h].length;for(b[h]||(b[h]=[]),he=0;he<ne;++he)Me=kl((Qe=N[h][he]).type,"xAxes"===h?"category":"linear"),he>=b[h].length&&b[h].push({}),Pe.merge(b[h][he],!b[h][he].type||Qe.type&&Qe.type!==b[h][he].type?[fi.getScaleDefaults(Me),Qe]:Qe)}else Pe._merger(h,b,N,k)}})}function ja(){return Pe.merge(Object.create(null),[].slice.call(arguments),{merger:function(h,b,N,k){var ne=b[h]||Object.create(null),he=N[h];"scales"===h?b[h]=sl(ne,he):"scale"===h?b[h]=Pe.merge(ne,[fi.getScaleDefaults(he.type),he]):Pe._merger(h,b,N,k)}})}function yt(h,b,N){var k,ne=function(he){return he.id===k};do{k=b+N++}while(Pe.findIndex(h,ne)>=0);return k}function Xe(h){return"top"===h||"bottom"===h}function Gt(h,b){return function(N,k){return N[h]===k[h]?N[b]-k[b]:N[h]-k[h]}}qr._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var An=function(h,b){return this.construct(h,b),this};Pe.extend(An.prototype,{construct:function(h,b){var N=this;b=function Q(h){var b=(h=h||Object.create(null)).data=h.data||{};return b.datasets=b.datasets||[],b.labels=b.labels||[],h.options=ja(qr.global,qr[h.type],h.options||{}),h}(b);var k=Je.acquireContext(h,b),ne=k&&k.canvas,he=ne&&ne.height,Me=ne&&ne.width;N.id=Pe.uid(),N.ctx=k,N.canvas=ne,N.config=b,N.width=Me,N.height=he,N.aspectRatio=he?Me/he:null,N.options=b.options,N._bufferedRender=!1,N._layers=[],N.chart=N,N.controller=N,An.instances[N.id]=N,Object.defineProperty(N,"data",{get:function(){return N.config.data},set:function(Qe){N.config.data=Qe}}),k&&ne?(N.initialize(),N.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var h=this;return en.notify(h,"beforeInit"),Pe.retinaScale(h,h.options.devicePixelRatio),h.bindEvents(),h.options.responsive&&h.resize(!0),h.initToolTip(),en.notify(h,"afterInit"),h},clear:function(){return Pe.canvas.clear(this),this},stop:function(){return Ge.cancelAnimation(this),this},resize:function(h){var b=this,N=b.options,k=b.canvas,ne=N.maintainAspectRatio&&b.aspectRatio||null,he=Math.max(0,Math.floor(Pe.getMaximumWidth(k))),Me=Math.max(0,Math.floor(ne?he/ne:Pe.getMaximumHeight(k)));if((b.width!==he||b.height!==Me)&&(k.width=b.width=he,k.height=b.height=Me,k.style.width=he+"px",k.style.height=Me+"px",Pe.retinaScale(b,N.devicePixelRatio),!h)){var Qe={width:he,height:Me};en.notify(b,"resize",[Qe]),N.onResize&&N.onResize(b,Qe),b.stop(),b.update({duration:N.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var h=this.options,b=h.scales||{},N=h.scale;Pe.each(b.xAxes,function(k,ne){k.id||(k.id=yt(b.xAxes,"x-axis-",ne))}),Pe.each(b.yAxes,function(k,ne){k.id||(k.id=yt(b.yAxes,"y-axis-",ne))}),N&&(N.id=N.id||"scale")},buildOrUpdateScales:function(){var h=this,b=h.options,N=h.scales||{},k=[],ne=Object.keys(N).reduce(function(he,Me){return he[Me]=!1,he},{});b.scales&&(k=k.concat((b.scales.xAxes||[]).map(function(he){return{options:he,dtype:"category",dposition:"bottom"}}),(b.scales.yAxes||[]).map(function(he){return{options:he,dtype:"linear",dposition:"left"}}))),b.scale&&k.push({options:b.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),Pe.each(k,function(he){var Me=he.options,Qe=Me.id,Re=kl(Me.type,he.dtype);Xe(Me.position)!==Xe(he.dposition)&&(Me.position=he.dposition),ne[Qe]=!0;var ft=null;if(Qe in N&&N[Qe].type===Re)(ft=N[Qe]).options=Me,ft.ctx=h.ctx,ft.chart=h;else{var wt=fi.getScaleConstructor(Re);if(!wt)return;ft=new wt({id:Qe,type:Re,options:Me,ctx:h.ctx,chart:h}),N[ft.id]=ft}ft.mergeTicksOptions(),he.isDefault&&(h.scale=ft)}),Pe.each(ne,function(he,Me){he||delete N[Me]}),h.scales=N,fi.addScalesToLayout(this)},buildOrUpdateControllers:function(){var k,ne,h=this,b=[],N=h.data.datasets;for(k=0,ne=N.length;k<ne;k++){var he=N[k],Me=h.getDatasetMeta(k),Qe=he.type||h.config.type;if(Me.type&&Me.type!==Qe&&(h.destroyDatasetMeta(k),Me=h.getDatasetMeta(k)),Me.type=Qe,Me.order=he.order||0,Me.index=k,Me.controller)Me.controller.updateIndex(k),Me.controller.linkScales();else{var Re=Bi[Me.type];if(void 0===Re)throw new Error('"'+Me.type+'" is not a chart type.');Me.controller=new Re(h,k),b.push(Me.controller)}}return b},resetElements:function(){var h=this;Pe.each(h.data.datasets,function(b,N){h.getDatasetMeta(N).controller.reset()},h)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(h){var N,k,b=this;if((!h||"object"!=typeof h)&&(h={duration:h,lazy:arguments[1]}),function Ee(h){var b=h.options;Pe.each(h.scales,function(N){Xl.removeBox(h,N)}),b=ja(qr.global,qr[h.config.type],b),h.options=h.config.options=b,h.ensureScalesHaveIDs(),h.buildOrUpdateScales(),h.tooltip._options=b.tooltips,h.tooltip.initialize()}(b),en._invalidate(b),!1!==en.notify(b,"beforeUpdate")){b.tooltip._data=b.data;var ne=b.buildOrUpdateControllers();for(N=0,k=b.data.datasets.length;N<k;N++)b.getDatasetMeta(N).controller.buildOrUpdateElements();b.updateLayout(),b.options.animation&&b.options.animation.duration&&Pe.each(ne,function(he){he.reset()}),b.updateDatasets(),b.tooltip.initialize(),b.lastActive=[],en.notify(b,"afterUpdate"),b._layers.sort(Gt("z","_idx")),b._bufferedRender?b._bufferedRequest={duration:h.duration,easing:h.easing,lazy:h.lazy}:b.render(h)}},updateLayout:function(){var h=this;!1!==en.notify(h,"beforeLayout")&&(Xl.update(this,this.width,this.height),h._layers=[],Pe.each(h.boxes,function(b){b._configure&&b._configure(),h._layers.push.apply(h._layers,b._layers())},h),h._layers.forEach(function(b,N){b._idx=N}),en.notify(h,"afterScaleUpdate"),en.notify(h,"afterLayout"))},updateDatasets:function(){var h=this;if(!1!==en.notify(h,"beforeDatasetsUpdate")){for(var b=0,N=h.data.datasets.length;b<N;++b)h.updateDataset(b);en.notify(h,"afterDatasetsUpdate")}},updateDataset:function(h){var b=this,N=b.getDatasetMeta(h),k={meta:N,index:h};!1!==en.notify(b,"beforeDatasetUpdate",[k])&&(N.controller._update(),en.notify(b,"afterDatasetUpdate",[k]))},render:function(h){var b=this;(!h||"object"!=typeof h)&&(h={duration:h,lazy:arguments[1]});var N=b.options.animation,k=kl(h.duration,N&&N.duration),ne=h.lazy;if(!1!==en.notify(b,"beforeRender")){var he=function(Qe){en.notify(b,"afterRender"),Pe.callback(N&&N.onComplete,[Qe],b)};if(N&&k){var Me=new dn({numSteps:k/16.66,easing:h.easing||N.easing,render:function(Qe,Re){var wt=Re.currentStep,It=wt/Re.numSteps;Qe.draw((0,Pe.easing.effects[Re.easing])(It),It,wt)},onAnimationProgress:N.onProgress,onAnimationComplete:he});Ge.addAnimation(b,Me,k,ne)}else b.draw(),he(new dn({numSteps:0,chart:b}));return b}},draw:function(h){var N,k,b=this;if(b.clear(),Pe.isNullOrUndef(h)&&(h=1),b.transition(h),!(b.width<=0||b.height<=0)&&!1!==en.notify(b,"beforeDraw",[h])){for(k=b._layers,N=0;N<k.length&&k[N].z<=0;++N)k[N].draw(b.chartArea);for(b.drawDatasets(h);N<k.length;++N)k[N].draw(b.chartArea);b._drawTooltip(h),en.notify(b,"afterDraw",[h])}},transition:function(h){for(var b=this,N=0,k=(b.data.datasets||[]).length;N<k;++N)b.isDatasetVisible(N)&&b.getDatasetMeta(N).controller.transition(h);b.tooltip.transition(h)},_getSortedDatasetMetas:function(h){var ne,he,b=this,k=[];for(ne=0,he=(b.data.datasets||[]).length;ne<he;++ne)(!h||b.isDatasetVisible(ne))&&k.push(b.getDatasetMeta(ne));return k.sort(Gt("order","index")),k},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(h){var N,k,b=this;if(!1!==en.notify(b,"beforeDatasetsDraw",[h])){for(k=(N=b._getSortedVisibleDatasetMetas()).length-1;k>=0;--k)b.drawDataset(N[k],h);en.notify(b,"afterDatasetsDraw",[h])}},drawDataset:function(h,b){var k={meta:h,index:h.index,easingValue:b};!1!==en.notify(this,"beforeDatasetDraw",[k])&&(h.controller.draw(b),en.notify(this,"afterDatasetDraw",[k]))},_drawTooltip:function(h){var b=this,N=b.tooltip,k={tooltip:N,easingValue:h};!1!==en.notify(b,"beforeTooltipDraw",[k])&&(N.draw(),en.notify(b,"afterTooltipDraw",[k]))},getElementAtEvent:function(h){return vl.modes.single(this,h)},getElementsAtEvent:function(h){return vl.modes.label(this,h,{intersect:!0})},getElementsAtXAxis:function(h){return vl.modes["x-axis"](this,h,{intersect:!0})},getElementsAtEventForMode:function(h,b,N){var k=vl.modes[b];return"function"==typeof k?k(this,h,N):[]},getDatasetAtEvent:function(h){return vl.modes.dataset(this,h,{intersect:!0})},getDatasetMeta:function(h){var b=this,N=b.data.datasets[h];N._meta||(N._meta={});var k=N._meta[b.id];return k||(k=N._meta[b.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:N.order||0,index:h}),k},getVisibleDatasetCount:function(){for(var h=0,b=0,N=this.data.datasets.length;b<N;++b)this.isDatasetVisible(b)&&h++;return h},isDatasetVisible:function(h){var b=this.getDatasetMeta(h);return"boolean"==typeof b.hidden?!b.hidden:!this.data.datasets[h].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(h){var b=this.id,N=this.data.datasets[h],k=N._meta&&N._meta[b];k&&(k.controller.destroy(),delete N._meta[b])},destroy:function(){var N,k,h=this,b=h.canvas;for(h.stop(),N=0,k=h.data.datasets.length;N<k;++N)h.destroyDatasetMeta(N);b&&(h.unbindEvents(),Pe.canvas.clear(h),Je.releaseContext(h.ctx),h.canvas=null,h.ctx=null),en.notify(h,"destroy"),delete An.instances[h.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var h=this;h.tooltip=new Lc({_chart:h,_chartInstance:h,_data:h.data,_options:h.options.tooltips},h)},bindEvents:function(){var h=this,b=h._listeners={},N=function(){h.eventHandler.apply(h,arguments)};Pe.each(h.options.events,function(k){Je.addEventListener(h,k,N),b[k]=N}),h.options.responsive&&(N=function(){h.resize()},Je.addEventListener(h,"resize",N),b.resize=N)},unbindEvents:function(){var h=this,b=h._listeners;b&&(delete h._listeners,Pe.each(b,function(N,k){Je.removeEventListener(h,k,N)}))},updateHoverStyle:function(h,b,N){var ne,he,Me,k=N?"set":"remove";for(he=0,Me=h.length;he<Me;++he)(ne=h[he])&&this.getDatasetMeta(ne._datasetIndex).controller[k+"HoverStyle"](ne);"dataset"===b&&this.getDatasetMeta(h[0]._datasetIndex).controller["_"+k+"DatasetHoverStyle"]()},eventHandler:function(h){var b=this,N=b.tooltip;if(!1!==en.notify(b,"beforeEvent",[h])){b._bufferedRender=!0,b._bufferedRequest=null;var k=b.handleEvent(h);N&&(k=N._start?N.handleEvent(h):k|N.handleEvent(h)),en.notify(b,"afterEvent",[h]);var ne=b._bufferedRequest;return ne?b.render(ne):k&&!b.animating&&(b.stop(),b.render({duration:b.options.hover.animationDuration,lazy:!0})),b._bufferedRender=!1,b._bufferedRequest=null,b}},handleEvent:function(h){var ne,b=this,N=b.options||{},k=N.hover;return b.lastActive=b.lastActive||[],b.active="mouseout"===h.type?[]:b.getElementsAtEventForMode(h,k.mode,k),Pe.callback(N.onHover||N.hover.onHover,[h.native,b.active],b),("mouseup"===h.type||"click"===h.type)&&N.onClick&&N.onClick.call(b,h.native,b.active),b.lastActive.length&&b.updateHoverStyle(b.lastActive,k.mode,!1),b.active.length&&k.mode&&b.updateHoverStyle(b.active,k.mode,!0),ne=!Pe.arrayEquals(b.active,b.lastActive),b.lastActive=b.active,ne}}),An.instances={};var kn=An;An.Controller=An,An.types={},Pe.configMerge=ja,Pe.scaleMerge=sl;function Xr(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function yr(h){this.options=h||{}}Pe.extend(yr.prototype,{formats:Xr,parse:Xr,format:Xr,add:Xr,diff:Xr,startOf:Xr,endOf:Xr,_create:function(h){return h}}),yr.override=function(h){Pe.extend(yr.prototype,h)};var Go={_date:yr},Io={formatters:{values:function(h){return Pe.isArray(h)?h:""+h},linear:function(h,b,N){var k=N.length>3?N[2]-N[1]:N[1]-N[0];Math.abs(k)>1&&h!==Math.floor(h)&&(k=h-Math.floor(h));var ne=Pe.log10(Math.abs(k)),he="";if(0!==h)if(Math.max(Math.abs(N[0]),Math.abs(N[N.length-1]))<1e-4){var Qe=Pe.log10(Math.abs(h)),Re=Math.floor(Qe)-Math.floor(ne);Re=Math.max(Math.min(Re,20),0),he=h.toExponential(Re)}else{var ft=-1*Math.floor(ne);ft=Math.max(Math.min(ft,20),0),he=h.toFixed(ft)}else he="0";return he},logarithmic:function(h,b,N){var k=h/Math.pow(10,Math.floor(Pe.log10(h)));return 0===h?"0":1===k||2===k||5===k||0===b||b===N.length-1?h.toExponential():""}}},Qn=Pe.isArray,Gr=Pe.isNullOrUndef,Fr=Pe.valueOrDefault,Ui=Pe.valueAtIndexOrDefault;function Fa(h,b,N){var ft,k=h.getTicks().length,ne=Math.min(b,k-1),he=h.getPixelForTick(ne),Me=h._startPixel,Qe=h._endPixel;if(!(N&&(ft=1===k?Math.max(he-Me,Qe-he):0===b?(h.getPixelForTick(1)-he)/2:(he-h.getPixelForTick(ne-1))/2,he+=ne<b?ft:-ft,he<Me-1e-6||he>Qe+1e-6)))return he}function zo(h,b,N,k){var wt,It,Cn,er,sr,Dr,oi,uo,As,as,ma,Na,Pl,ne=N.length,he=[],Me=[],Qe=[],Re=0,ft=0;for(wt=0;wt<ne;++wt){if(er=N[wt].label,h.font=Dr=(sr=N[wt].major?b.major:b.minor).string,oi=k[Dr]=k[Dr]||{data:{},gc:[]},uo=sr.lineHeight,As=as=0,Gr(er)||Qn(er)){if(Qn(er))for(It=0,Cn=er.length;It<Cn;++It)!Gr(ma=er[It])&&!Qn(ma)&&(As=Pe.measureText(h,oi.data,oi.gc,As,ma),as+=uo)}else As=Pe.measureText(h,oi.data,oi.gc,As,er),as=uo;he.push(As),Me.push(as),Qe.push(uo/2),Re=Math.max(As,Re),ft=Math.max(as,ft)}function il(dl){return{width:he[dl]||0,height:Me[dl]||0,offset:Qe[dl]||0}}return function ca(h,b){Pe.each(h,function(N){var he,k=N.gc,ne=k.length/2;if(ne>b){for(he=0;he<ne;++he)delete N.data[k[he]];k.splice(0,ne)}})}(k,ne),Na=he.indexOf(Re),Pl=Me.indexOf(ft),{first:il(0),last:il(ne-1),widest:il(Na),highest:il(Pl)}}function $l(h){return h.drawTicks?h.tickMarkLength:0}function xl(h){var b,N;return h.display?(b=Pe.options._parseFont(h),N=Pe.options.toPadding(h.padding),b.lineHeight+N.height):0}function Uu(h,b){return Pe.extend(Pe.options._parseFont({fontFamily:Fr(b.fontFamily,h.fontFamily),fontSize:Fr(b.fontSize,h.fontSize),fontStyle:Fr(b.fontStyle,h.fontStyle),lineHeight:Fr(b.lineHeight,h.lineHeight)}),{color:Pe.options.resolve([b.fontColor,h.fontColor,qr.global.defaultFontColor])})}function Xc(h){var b=Uu(h,h.minor);return{minor:b,major:h.major.enabled?Uu(h,h.major):b}}function ad(h){var N,k,ne,b=[];for(k=0,ne=h.length;k<ne;++k)typeof(N=h[k])._index<"u"&&b.push(N);return b}function fc(h,b,N,k){var Qe,Re,ft,wt,ne=Fr(N,0),he=Math.min(Fr(k,h.length),h.length),Me=0;for(b=Math.ceil(b),k&&(b=(Qe=k-N)/Math.floor(Qe/b)),wt=ne;wt<0;)Me++,wt=Math.round(ne+Me*b);for(Re=Math.max(ne,0);Re<he;Re++)ft=h[Re],Re===wt?(ft._index=Re,Me++,wt=Math.round(ne+Me*b)):delete ft.label}qr._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:Io.formatters.values,minor:{},major:{}}});var bu=nr.extend({zeroLineIndex:0,getPadding:function(){var h=this;return{left:h.paddingLeft||0,top:h.paddingTop||0,right:h.paddingRight||0,bottom:h.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var h=this.chart.data;return this.options.labels||(this.isHorizontal()?h.xLabels:h.yLabels)||h.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){Pe.callback(this.options.beforeUpdate,[this])},update:function(h,b,N){var Me,Qe,Re,ft,wt,k=this,ne=k.options.ticks,he=ne.sampleSize;if(k.beforeUpdate(),k.maxWidth=h,k.maxHeight=b,k.margins=Pe.extend({left:0,right:0,top:0,bottom:0},N),k._ticks=null,k.ticks=null,k._labelSizes=null,k._maxLabelLines=0,k.longestLabelWidth=0,k.longestTextCache=k.longestTextCache||{},k._gridLineItems=null,k._labelItems=null,k.beforeSetDimensions(),k.setDimensions(),k.afterSetDimensions(),k.beforeDataLimits(),k.determineDataLimits(),k.afterDataLimits(),k.beforeBuildTicks(),ft=k.buildTicks()||[],(!(ft=k.afterBuildTicks(ft)||ft)||!ft.length)&&k.ticks)for(ft=[],Me=0,Qe=k.ticks.length;Me<Qe;++Me)ft.push({value:k.ticks[Me],major:!1});return k._ticks=ft,Re=k._convertTicksToLabels((wt=he<ft.length)?function Do(h,b){for(var N=[],k=h.length/b,ne=0,he=h.length;ne<he;ne+=k)N.push(h[Math.floor(ne)]);return N}(ft,he):ft),k._configure(),k.beforeCalculateTickRotation(),k.calculateTickRotation(),k.afterCalculateTickRotation(),k.beforeFit(),k.fit(),k.afterFit(),k._ticksToDraw=ne.display&&(ne.autoSkip||"auto"===ne.source)?k._autoSkip(ft):ft,wt&&(Re=k._convertTicksToLabels(k._ticksToDraw)),k.ticks=Re,k.afterUpdate(),k.minSize},_configure:function(){var N,k,h=this,b=h.options.ticks.reverse;h.isHorizontal()?(N=h.left,k=h.right):(N=h.top,k=h.bottom,b=!b),h._startPixel=N,h._endPixel=k,h._reversePixels=b,h._length=k-N},afterUpdate:function(){Pe.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){Pe.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var h=this;h.isHorizontal()?(h.width=h.maxWidth,h.left=0,h.right=h.width):(h.height=h.maxHeight,h.top=0,h.bottom=h.height),h.paddingLeft=0,h.paddingTop=0,h.paddingRight=0,h.paddingBottom=0},afterSetDimensions:function(){Pe.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){Pe.callback(this.options.beforeDataLimits,[this])},determineDataLimits:Pe.noop,afterDataLimits:function(){Pe.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){Pe.callback(this.options.beforeBuildTicks,[this])},buildTicks:Pe.noop,afterBuildTicks:function(h){var b=this;return Qn(h)&&h.length?Pe.callback(b.options.afterBuildTicks,[b,h]):(b.ticks=Pe.callback(b.options.afterBuildTicks,[b,b.ticks])||b.ticks,h)},beforeTickToLabelConversion:function(){Pe.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var h=this,b=h.options.ticks;h.ticks=h.ticks.map(b.userCallback||b.callback,this)},afterTickToLabelConversion:function(){Pe.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){Pe.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var Qe,Re,ft,wt,It,Cn,er,h=this,b=h.options,N=b.ticks,k=h.getTicks().length,ne=N.minRotation||0,he=N.maxRotation,Me=ne;!h._isVisible()||!N.display||ne>=he||k<=1||!h.isHorizontal()?h.labelRotation=ne:(Re=(Qe=h._getLabelSizes()).widest.width,ft=Qe.highest.height-Qe.highest.offset,wt=Math.min(h.maxWidth,h.chart.width-Re),Re+6>(It=b.offset?h.maxWidth/k:wt/(k-1))&&(It=wt/(k-(b.offset?.5:1)),Cn=h.maxHeight-$l(b.gridLines)-N.padding-xl(b.scaleLabel),er=Math.sqrt(Re*Re+ft*ft),Me=Pe.toDegrees(Math.min(Math.asin(Math.min((Qe.highest.height+6)/It,1)),Math.asin(Math.min(Cn/er,1))-Math.asin(ft/er))),Me=Math.max(ne,Math.min(he,Me))),h.labelRotation=Me)},afterCalculateTickRotation:function(){Pe.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){Pe.callback(this.options.beforeFit,[this])},fit:function(){var h=this,b=h.minSize={width:0,height:0},N=h.chart,k=h.options,ne=k.ticks,he=k.scaleLabel,Me=k.gridLines,Qe=h._isVisible(),Re="bottom"===k.position,ft=h.isHorizontal();if(ft?b.width=h.maxWidth:Qe&&(b.width=$l(Me)+xl(he)),ft?Qe&&(b.height=$l(Me)+xl(he)):b.height=h.maxHeight,ne.display&&Qe){var wt=Xc(ne),It=h._getLabelSizes(),Cn=It.first,er=It.last,sr=It.widest,Dr=It.highest,oi=.4*wt.minor.lineHeight,uo=ne.padding;if(ft){var As=0!==h.labelRotation,as=Pe.toRadians(h.labelRotation),ma=Math.cos(as),Na=Math.sin(as);b.height=Math.min(h.maxHeight,b.height+(Na*sr.width+ma*(Dr.height-(As?Dr.offset:0))+(As?0:oi))+uo);var Nl,Qu,il=h.getPixelForTick(0)-h.left,dl=h.right-h.getPixelForTick(h.getTicks().length-1);As?(Nl=Re?ma*Cn.width+Na*Cn.offset:Na*(Cn.height-Cn.offset),Qu=Re?Na*(er.height-er.offset):ma*er.width+Na*er.offset):(Nl=Cn.width/2,Qu=er.width/2),h.paddingLeft=Math.max((Nl-il)*h.width/(h.width-il),0)+3,h.paddingRight=Math.max((Qu-dl)*h.width/(h.width-dl),0)+3}else b.width=Math.min(h.maxWidth,b.width+(ne.mirror?0:sr.width+uo+oi)),h.paddingTop=Cn.height/2,h.paddingBottom=er.height/2}h.handleMargins(),ft?(h.width=h._length=N.width-h.margins.left-h.margins.right,h.height=b.height):(h.width=b.width,h.height=h._length=N.height-h.margins.top-h.margins.bottom)},handleMargins:function(){var h=this;h.margins&&(h.margins.left=Math.max(h.paddingLeft,h.margins.left),h.margins.top=Math.max(h.paddingTop,h.margins.top),h.margins.right=Math.max(h.paddingRight,h.margins.right),h.margins.bottom=Math.max(h.paddingBottom,h.margins.bottom))},afterFit:function(){Pe.callback(this.options.afterFit,[this])},isHorizontal:function(){var h=this.options.position;return"top"===h||"bottom"===h},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(h){if(Gr(h))return NaN;if(("number"==typeof h||h instanceof Number)&&!isFinite(h))return NaN;if(h)if(this.isHorizontal()){if(void 0!==h.x)return this.getRightValue(h.x)}else if(void 0!==h.y)return this.getRightValue(h.y);return h},_convertTicksToLabels:function(h){var N,k,ne,b=this;for(b.ticks=h.map(function(he){return he.value}),b.beforeTickToLabelConversion(),N=b.convertTicksToLabels(h)||b.ticks,b.afterTickToLabelConversion(),k=0,ne=h.length;k<ne;++k)h[k].label=N[k];return N},_getLabelSizes:function(){var h=this,b=h._labelSizes;return b||(h._labelSizes=b=zo(h.ctx,Xc(h.options.ticks),h.getTicks(),h.longestTextCache),h.longestLabelWidth=b.widest.width),b},_parseValue:function(h){var b,N,k,ne;return Qn(h)?(b=+this.getRightValue(h[0]),N=+this.getRightValue(h[1]),k=Math.min(b,N),ne=Math.max(b,N)):(b=void 0,N=h=+this.getRightValue(h),k=h,ne=h),{min:k,max:ne,start:b,end:N}},_getScaleLabel:function(h){var b=this._parseValue(h);return void 0!==b.start?"["+b.start+", "+b.end+"]":+this.getRightValue(h)},getLabelForIndex:Pe.noop,getPixelForValue:Pe.noop,getValueForPixel:Pe.noop,getPixelForTick:function(h){var b=this,N=b.options.offset,k=b._ticks.length,ne=1/Math.max(k-(N?0:1),1);return h<0||h>k-1?null:b.getPixelForDecimal(h*ne+(N?ne/2:0))},getPixelForDecimal:function(h){var b=this;return b._reversePixels&&(h=1-h),b._startPixel+h*b._length},getDecimalForPixel:function(h){var b=(h-this._startPixel)/this._length;return this._reversePixels?1-b:b},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var h=this,b=h.min,N=h.max;return h.beginAtZero?0:b<0&&N<0?N:b>0&&N>0?b:0},_autoSkip:function(h){var ft,wt,It,Cn,b=this,N=b.options.ticks,k=b._length,ne=N.maxTicksLimit||k/b._tickSize()+1,he=N.major.enabled?function Wl(h){var N,k,b=[];for(N=0,k=h.length;N<k;N++)h[N].major&&b.push(N);return b}(h):[],Me=he.length,Qe=he[0],Re=he[Me-1];if(Me>ne)return function Pa(h,b,N){var he,Me,k=0,ne=b[0];for(N=Math.ceil(N),he=0;he<h.length;he++)Me=h[he],he===ne?(Me._index=he,ne=b[++k*N]):delete Me.label}(h,he,Me/ne),ad(h);if(It=function yi(h,b,N,k){var Me,Qe,Re,ft,ne=function kc(h){var N,k,b=h.length;if(b<2)return!1;for(k=h[0],N=1;N<b;++N)if(h[N]-h[N-1]!==k)return!1;return k}(h),he=(b.length-1)/k;if(!ne)return Math.max(he,1);for(Re=0,ft=(Me=Pe.math._factorize(ne)).length-1;Re<ft;Re++)if((Qe=Me[Re])>he)return Qe;return Math.max(he,1)}(he,h,0,ne),Me>0){for(ft=0,wt=Me-1;ft<wt;ft++)fc(h,It,he[ft],he[ft+1]);return fc(h,It,Pe.isNullOrUndef(Cn=Me>1?(Re-Qe)/(Me-1):null)?0:Qe-Cn,Qe),fc(h,It,Re,Pe.isNullOrUndef(Cn)?h.length:Re+Cn),ad(h)}return fc(h,It),ad(h)},_tickSize:function(){var h=this,b=h.options.ticks,N=Pe.toRadians(h.labelRotation),k=Math.abs(Math.cos(N)),ne=Math.abs(Math.sin(N)),he=h._getLabelSizes(),Me=b.autoSkipPadding||0,Qe=he?he.widest.width+Me:0,Re=he?he.highest.height+Me:0;return h.isHorizontal()?Re*k>Qe*ne?Qe/k:Re/ne:Re*ne<Qe*k?Re/k:Qe/ne},_isVisible:function(){var k,ne,he,h=this,b=h.chart,N=h.options.display;if("auto"!==N)return!!N;for(k=0,ne=b.data.datasets.length;k<ne;++k)if(b.isDatasetVisible(k)&&((he=b.getDatasetMeta(k)).xAxisID===h.id||he.yAxisID===h.id))return!0;return!1},_computeGridLineItems:function(h){var oi,uo,As,as,ma,Na,Pl,il,dl,Nl,Qu,ac,wa,nc,yc,Gc,xc,b=this,N=b.chart,k=b.options,ne=k.gridLines,he=k.position,Me=ne.offsetGridLines,Qe=b.isHorizontal(),Re=b._ticksToDraw,ft=Re.length+(Me?1:0),wt=$l(ne),It=[],Cn=ne.drawBorder?Ui(ne.lineWidth,0,0):0,er=Cn/2,sr=Pe._alignPixel,Dr=function(wf){return sr(N,wf,Cn)};for("top"===he?(oi=Dr(b.bottom),Pl=b.bottom-wt,dl=oi-er,Qu=Dr(h.top)+er,wa=h.bottom):"bottom"===he?(oi=Dr(b.top),Qu=h.top,wa=Dr(h.bottom)-er,Pl=oi+er,dl=b.top+wt):"left"===he?(oi=Dr(b.right),Na=b.right-wt,il=oi-er,Nl=Dr(h.left)+er,ac=h.right):(oi=Dr(b.left),Nl=h.left,ac=Dr(h.right)-er,Na=oi+er,il=b.left+wt),uo=0;uo<ft;++uo)!(Gr((As=Re[uo]||{}).label)&&uo<Re.length)&&(uo===b.zeroLineIndex&&k.offset===Me?(nc=ne.zeroLineWidth,yc=ne.zeroLineColor,Gc=ne.zeroLineBorderDash||[],xc=ne.zeroLineBorderDashOffset||0):(nc=Ui(ne.lineWidth,uo,1),yc=Ui(ne.color,uo,"rgba(0,0,0,0.1)"),Gc=ne.borderDash||[],xc=ne.borderDashOffset||0),void 0!==(as=Fa(b,As._index||uo,Me))&&(ma=sr(N,as,nc),Qe?Na=il=Nl=ac=ma:Pl=dl=Qu=wa=ma,It.push({tx1:Na,ty1:Pl,tx2:il,ty2:dl,x1:Nl,y1:Qu,x2:ac,y2:wa,width:nc,color:yc,borderDash:Gc,borderDashOffset:xc})));return It.ticksLength=ft,It.borderValue=oi,It},_computeLabelItems:function(){var Cn,er,sr,Dr,oi,uo,As,as,ma,Na,Pl,il,h=this,b=h.options,N=b.ticks,k=b.position,ne=N.mirror,he=h.isHorizontal(),Me=h._ticksToDraw,Qe=Xc(N),Re=N.padding,ft=$l(b.gridLines),wt=-Pe.toRadians(h.labelRotation),It=[];for("top"===k?(uo=h.bottom-ft-Re,As=wt?"left":"center"):"bottom"===k?(uo=h.top+ft+Re,As=wt?"right":"center"):"left"===k?(oi=h.right-(ne?0:ft)-Re,As=ne?"left":"right"):(oi=h.left+(ne?0:ft)+Re,As=ne?"right":"left"),Cn=0,er=Me.length;Cn<er;++Cn)!Gr(Dr=(sr=Me[Cn]).label)&&(as=h.getPixelForTick(sr._index||Cn)+N.labelOffset,Na=(ma=sr.major?Qe.major:Qe.minor).lineHeight,Pl=Qn(Dr)?Dr.length:1,he?(oi=as,il="top"===k?((wt?1:.5)-Pl)*Na:(wt?0:.5)*Na):(uo=as,il=(1-Pl)*Na/2),It.push({x:oi,y:uo,rotation:wt,label:Dr,font:ma,textOffset:il,textAlign:As}));return It},_drawGrid:function(h){var b=this,N=b.options.gridLines;if(N.display){var Re,ft,wt,It,Cn,k=b.ctx,ne=b.chart,he=Pe._alignPixel,Me=N.drawBorder?Ui(N.lineWidth,0,0):0,Qe=b._gridLineItems||(b._gridLineItems=b._computeGridLineItems(h));for(wt=0,It=Qe.length;wt<It;++wt)ft=(Cn=Qe[wt]).color,(Re=Cn.width)&&ft&&(k.save(),k.lineWidth=Re,k.strokeStyle=ft,k.setLineDash&&(k.setLineDash(Cn.borderDash),k.lineDashOffset=Cn.borderDashOffset),k.beginPath(),N.drawTicks&&(k.moveTo(Cn.tx1,Cn.ty1),k.lineTo(Cn.tx2,Cn.ty2)),N.drawOnChartArea&&(k.moveTo(Cn.x1,Cn.y1),k.lineTo(Cn.x2,Cn.y2)),k.stroke(),k.restore());if(Me){var oi,uo,As,as,er=Me,sr=Ui(N.lineWidth,Qe.ticksLength-1,1),Dr=Qe.borderValue;b.isHorizontal()?(oi=he(ne,b.left,er)-er/2,uo=he(ne,b.right,sr)+sr/2,As=as=Dr):(As=he(ne,b.top,er)-er/2,as=he(ne,b.bottom,sr)+sr/2,oi=uo=Dr),k.lineWidth=Me,k.strokeStyle=Ui(N.color,0),k.beginPath(),k.moveTo(oi,As),k.lineTo(uo,as),k.stroke()}}},_drawLabels:function(){var h=this;if(h.options.ticks.display){var ne,he,Me,Qe,Re,ft,wt,It,N=h.ctx,k=h._labelItems||(h._labelItems=h._computeLabelItems());for(ne=0,Me=k.length;ne<Me;++ne){if(ft=(Re=k[ne]).font,N.save(),N.translate(Re.x,Re.y),N.rotate(Re.rotation),N.font=ft.string,N.fillStyle=ft.color,N.textBaseline="middle",N.textAlign=Re.textAlign,It=Re.textOffset,Qn(wt=Re.label))for(he=0,Qe=wt.length;he<Qe;++he)N.fillText(""+wt[he],0,It),It+=ft.lineHeight;else N.fillText(wt,0,It);N.restore()}}},_drawTitle:function(){var h=this,b=h.ctx,N=h.options,k=N.scaleLabel;if(k.display){var wt,It,ne=Fr(k.fontColor,qr.global.defaultFontColor),he=Pe.options._parseFont(k),Me=Pe.options.toPadding(k.padding),Qe=he.lineHeight/2,Re=N.position,ft=0;if(h.isHorizontal())wt=h.left+h.width/2,It="bottom"===Re?h.bottom-Qe-Me.bottom:h.top+Qe+Me.top;else{var Cn="left"===Re;wt=Cn?h.left+Qe+Me.top:h.right-Qe-Me.top,It=h.top+h.height/2,ft=Cn?-.5*Math.PI:.5*Math.PI}b.save(),b.translate(wt,It),b.rotate(ft),b.textAlign="center",b.textBaseline="middle",b.fillStyle=ne,b.font=he.string,b.fillText(k.labelString,0,0),b.restore()}},draw:function(h){var b=this;b._isVisible()&&(b._drawGrid(h),b._drawTitle(),b._drawLabels())},_layers:function(){var h=this,b=h.options,N=b.ticks&&b.ticks.z||0,k=b.gridLines&&b.gridLines.z||0;return h._isVisible()&&N!==k&&h.draw===h._draw?[{z:k,draw:function(){h._drawGrid.apply(h,arguments),h._drawTitle.apply(h,arguments)}},{z:N,draw:function(){h._drawLabels.apply(h,arguments)}}]:[{z:N,draw:function(){h.draw.apply(h,arguments)}}]},_getMatchingVisibleMetas:function(h){var b=this,N=b.isHorizontal();return b.chart._getSortedVisibleDatasetMetas().filter(function(k){return(!h||k.type===h)&&(N?k.xAxisID===b.id:k.yAxisID===b.id)})}});bu.prototype._draw=bu.prototype.draw;var je=bu,Nt=Pe.isNullOrUndef,tn=je.extend({determineDataLimits:function(){var Qe,h=this,b=h._getLabels(),N=h.options.ticks,k=N.min,ne=N.max,he=0,Me=b.length-1;void 0!==k&&(Qe=b.indexOf(k))>=0&&(he=Qe),void 0!==ne&&(Qe=b.indexOf(ne))>=0&&(Me=Qe),h.minIndex=he,h.maxIndex=Me,h.min=b[he],h.max=b[Me]},buildTicks:function(){var h=this,b=h._getLabels(),N=h.minIndex,k=h.maxIndex;h.ticks=0===N&&k===b.length-1?b:b.slice(N,k+1)},getLabelForIndex:function(h,b){var N=this,k=N.chart;return k.getDatasetMeta(b).controller._getValueScaleId()===N.id?N.getRightValue(k.data.datasets[b].data[h]):N._getLabels()[h]},_configure:function(){var h=this,b=h.options.offset,N=h.ticks;je.prototype._configure.call(h),h.isHorizontal()||(h._reversePixels=!h._reversePixels),N&&(h._startValue=h.minIndex-(b?.5:0),h._valueRange=Math.max(N.length-(b?0:1),1))},getPixelForValue:function(h,b,N){var ne,he,Me,k=this;return!Nt(b)&&!Nt(N)&&(h=k.chart.data.datasets[N].data[b]),Nt(h)||(ne=k.isHorizontal()?h.x:h.y),(void 0!==ne||void 0!==h&&isNaN(b))&&(he=k._getLabels(),h=Pe.valueOrDefault(ne,h),b=-1!==(Me=he.indexOf(h))?Me:b,isNaN(b)&&(b=h)),k.getPixelForDecimal((b-k._startValue)/k._valueRange)},getPixelForTick:function(h){var b=this.ticks;return h<0||h>b.length-1?null:this.getPixelForValue(b[h],h+this.minIndex)},getValueForPixel:function(h){var b=this,N=Math.round(b._startValue+b.getDecimalForPixel(h)*b._valueRange);return Math.min(Math.max(N,0),b.ticks.length-1)},getBasePixel:function(){return this.bottom}});tn._defaults={position:"bottom"};var Ri=Pe.isNullOrUndef;var Fs=je.extend({getRightValue:function(h){return"string"==typeof h?+h:je.prototype.getRightValue.call(this,h)},handleTickRangeOptions:function(){var h=this,N=h.options.ticks;if(N.beginAtZero){var k=Pe.sign(h.min),ne=Pe.sign(h.max);k<0&&ne<0?h.max=0:k>0&&ne>0&&(h.min=0)}var he=void 0!==N.min||void 0!==N.suggestedMin,Me=void 0!==N.max||void 0!==N.suggestedMax;void 0!==N.min?h.min=N.min:void 0!==N.suggestedMin&&(h.min=null===h.min?N.suggestedMin:Math.min(h.min,N.suggestedMin)),void 0!==N.max?h.max=N.max:void 0!==N.suggestedMax&&(h.max=null===h.max?N.suggestedMax:Math.max(h.max,N.suggestedMax)),he!==Me&&h.min>=h.max&&(he?h.max=h.min+1:h.min=h.max-1),h.min===h.max&&(h.max++,N.beginAtZero||h.min--)},getTickLimit:function(){var ne,h=this,b=h.options.ticks,N=b.stepSize,k=b.maxTicksLimit;return N?ne=Math.ceil(h.max/N)-Math.floor(h.min/N)+1:(ne=h._computeTickLimit(),k=k||11),k&&(ne=Math.min(k,ne)),ne},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Pe.noop,buildTicks:function(){var h=this,N=h.options.ticks,k=h.getTickLimit(),ne={maxTicks:k=Math.max(2,k),min:N.min,max:N.max,precision:N.precision,stepSize:Pe.valueOrDefault(N.fixedStepSize,N.stepSize)},he=h.ticks=function fs(h,b){var er,sr,Dr,oi,N=[],ne=h.stepSize,he=ne||1,Me=h.maxTicks-1,Qe=h.min,Re=h.max,ft=h.precision,wt=b.min,It=b.max,Cn=Pe.niceNum((It-wt)/Me/he)*he;if(Cn<1e-14&&Ri(Qe)&&Ri(Re))return[wt,It];(oi=Math.ceil(It/Cn)-Math.floor(wt/Cn))>Me&&(Cn=Pe.niceNum(oi*Cn/Me/he)*he),ne||Ri(ft)?er=Math.pow(10,Pe._decimalPlaces(Cn)):(er=Math.pow(10,ft),Cn=Math.ceil(Cn*er)/er),sr=Math.floor(wt/Cn)*Cn,Dr=Math.ceil(It/Cn)*Cn,ne&&(!Ri(Qe)&&Pe.almostWhole(Qe/Cn,Cn/1e3)&&(sr=Qe),!Ri(Re)&&Pe.almostWhole(Re/Cn,Cn/1e3)&&(Dr=Re)),oi=Pe.almostEquals(oi=(Dr-sr)/Cn,Math.round(oi),Cn/1e3)?Math.round(oi):Math.ceil(oi),sr=Math.round(sr*er)/er,Dr=Math.round(Dr*er)/er,N.push(Ri(Qe)?sr:Qe);for(var uo=1;uo<oi;++uo)N.push(Math.round((sr+uo*Cn)*er)/er);return N.push(Ri(Re)?Dr:Re),N}(ne,h);h.handleDirectionalChanges(),h.max=Pe.max(he),h.min=Pe.min(he),N.reverse?(he.reverse(),h.start=h.max,h.end=h.min):(h.start=h.min,h.end=h.max)},convertTicksToLabels:function(){var h=this;h.ticksAsNumbers=h.ticks.slice(),h.zeroLineIndex=h.ticks.indexOf(0),je.prototype.convertTicksToLabels.call(h)},_configure:function(){var ne,h=this,b=h.getTicks(),N=h.min,k=h.max;je.prototype._configure.call(h),h.options.offset&&b.length&&(N-=ne=(k-N)/Math.max(b.length-1,1)/2,k+=ne),h._startValue=N,h._endValue=k,h._valueRange=k-N}}),Ra={position:"left",ticks:{callback:Io.formatters.linear}};function Ho(h,b,N,k){var wt,It,ne=h.options,Me=function wl(h,b,N){var k=[N.type,void 0===b&&void 0===N.stack?N.index:"",N.stack].join(".");return void 0===h[k]&&(h[k]={pos:[],neg:[]}),h[k]}(b,ne.stacked,N),Qe=Me.pos,Re=Me.neg,ft=k.length;for(wt=0;wt<ft;++wt)It=h._parseValue(k[wt]),!(isNaN(It.min)||isNaN(It.max)||N.data[wt].hidden)&&(Qe[wt]=Qe[wt]||0,Re[wt]=Re[wt]||0,ne.relativePoints?Qe[wt]=100:It.min<0||It.max<0?Re[wt]+=It.min:Qe[wt]+=It.max)}function Qa(h,b,N){var ne,he,k=N.length;for(ne=0;ne<k;++ne)he=h._parseValue(N[ne]),!(isNaN(he.min)||isNaN(he.max)||b.data[ne].hidden)&&(h.min=Math.min(h.min,he.min),h.max=Math.max(h.max,he.max))}var rn=Fs.extend({determineDataLimits:function(){var Re,ft,wt,It,h=this,b=h.options,k=h.chart.data.datasets,ne=h._getMatchingVisibleMetas(),he=b.stacked,Me={},Qe=ne.length;if(h.min=Number.POSITIVE_INFINITY,h.max=Number.NEGATIVE_INFINITY,void 0===he)for(Re=0;!he&&Re<Qe;++Re)he=void 0!==(ft=ne[Re]).stack;for(Re=0;Re<Qe;++Re)wt=k[(ft=ne[Re]).index].data,he?Ho(h,Me,ft,wt):Qa(h,ft,wt);Pe.each(Me,function(Cn){It=Cn.pos.concat(Cn.neg),h.min=Math.min(h.min,Pe.min(It)),h.max=Math.max(h.max,Pe.max(It))}),h.min=Pe.isFinite(h.min)&&!isNaN(h.min)?h.min:0,h.max=Pe.isFinite(h.max)&&!isNaN(h.max)?h.max:1,h.handleTickRangeOptions()},_computeTickLimit:function(){var b,h=this;return h.isHorizontal()?Math.ceil(h.width/40):(b=Pe.options._parseFont(h.options.ticks),Math.ceil(h.height/b.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(h,b){return this._getScaleLabel(this.chart.data.datasets[b].data[h])},getPixelForValue:function(h){var b=this;return b.getPixelForDecimal((+b.getRightValue(h)-b._startValue)/b._valueRange)},getValueForPixel:function(h){return this._startValue+this.getDecimalForPixel(h)*this._valueRange},getPixelForTick:function(h){var b=this.ticksAsNumbers;return h<0||h>b.length-1?null:this.getPixelForValue(b[h])}});rn._defaults=Ra;var le=Pe.valueOrDefault,ae=Pe.math.log10;var Ve={position:"left",ticks:{callback:Io.formatters.logarithmic}};function st(h,b){return Pe.isFinite(h)&&h>=0?h:b}var zt=je.extend({determineDataLimits:function(){var Me,Qe,Re,ft,wt,It,h=this,b=h.options,N=h.chart,k=N.data.datasets,ne=h.isHorizontal();function he(oi){return ne?oi.xAxisID===h.id:oi.yAxisID===h.id}h.min=Number.POSITIVE_INFINITY,h.max=Number.NEGATIVE_INFINITY,h.minNotZero=Number.POSITIVE_INFINITY;var Cn=b.stacked;if(void 0===Cn)for(Me=0;Me<k.length;Me++)if(Qe=N.getDatasetMeta(Me),N.isDatasetVisible(Me)&&he(Qe)&&void 0!==Qe.stack){Cn=!0;break}if(b.stacked||Cn){var er={};for(Me=0;Me<k.length;Me++){var sr=[(Qe=N.getDatasetMeta(Me)).type,void 0===b.stacked&&void 0===Qe.stack?Me:"",Qe.stack].join(".");if(N.isDatasetVisible(Me)&&he(Qe))for(void 0===er[sr]&&(er[sr]=[]),wt=0,It=(ft=k[Me].data).length;wt<It;wt++){var Dr=er[sr];Re=h._parseValue(ft[wt]),!(isNaN(Re.min)||isNaN(Re.max)||Qe.data[wt].hidden||Re.min<0||Re.max<0)&&(Dr[wt]=Dr[wt]||0,Dr[wt]+=Re.max)}}Pe.each(er,function(oi){if(oi.length>0){var uo=Pe.min(oi),As=Pe.max(oi);h.min=Math.min(h.min,uo),h.max=Math.max(h.max,As)}})}else for(Me=0;Me<k.length;Me++)if(Qe=N.getDatasetMeta(Me),N.isDatasetVisible(Me)&&he(Qe))for(wt=0,It=(ft=k[Me].data).length;wt<It;wt++)Re=h._parseValue(ft[wt]),!(isNaN(Re.min)||isNaN(Re.max)||Qe.data[wt].hidden||Re.min<0||Re.max<0)&&(h.min=Math.min(Re.min,h.min),h.max=Math.max(Re.max,h.max),0!==Re.min&&(h.minNotZero=Math.min(Re.min,h.minNotZero)));h.min=Pe.isFinite(h.min)?h.min:null,h.max=Pe.isFinite(h.max)?h.max:null,h.minNotZero=Pe.isFinite(h.minNotZero)?h.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var h=this,b=h.options.ticks;h.min=st(b.min,h.min),h.max=st(b.max,h.max),h.min===h.max&&(0!==h.min&&null!==h.min?(h.min=Math.pow(10,Math.floor(ae(h.min))-1),h.max=Math.pow(10,Math.floor(ae(h.max))+1)):(h.min=1,h.max=10)),null===h.min&&(h.min=Math.pow(10,Math.floor(ae(h.max))-1)),null===h.max&&(h.max=0!==h.min?Math.pow(10,Math.floor(ae(h.min))+1):10),null===h.minNotZero&&(h.minNotZero=h.min>0?h.min:h.max<1?Math.pow(10,Math.floor(ae(h.max))):1)},buildTicks:function(){var h=this,b=h.options.ticks,N=!h.isHorizontal(),k={min:st(b.min),max:st(b.max)},ne=h.ticks=function De(h,b){var Me,Qe,N=[],k=le(h.min,Math.pow(10,Math.floor(ae(b.min)))),ne=Math.floor(ae(b.max)),he=Math.ceil(b.max/Math.pow(10,ne));0===k?(Me=Math.floor(ae(b.minNotZero)),Qe=Math.floor(b.minNotZero/Math.pow(10,Me)),N.push(k),k=Qe*Math.pow(10,Me)):(Me=Math.floor(ae(k)),Qe=Math.floor(k/Math.pow(10,Me)));var Re=Me<0?Math.pow(10,Math.abs(Me)):1;do{N.push(k),10==++Qe&&(Qe=1,Re=++Me>=0?1:Re),k=Math.round(Qe*Math.pow(10,Me)*Re)/Re}while(Me<ne||Me===ne&&Qe<he);var ft=le(h.max,k);return N.push(ft),N}(k,h);h.max=Pe.max(ne),h.min=Pe.min(ne),b.reverse?(N=!N,h.start=h.max,h.end=h.min):(h.start=h.min,h.end=h.max),N&&ne.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),je.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(h,b){return this._getScaleLabel(this.chart.data.datasets[b].data[h])},getPixelForTick:function(h){var b=this.tickValues;return h<0||h>b.length-1?null:this.getPixelForValue(b[h])},_getFirstTickValue:function(h){var b=Math.floor(ae(h));return Math.floor(h/Math.pow(10,b))*Math.pow(10,b)},_configure:function(){var h=this,b=h.min,N=0;je.prototype._configure.call(h),0===b&&(b=h._getFirstTickValue(h.minNotZero),N=le(h.options.ticks.fontSize,qr.global.defaultFontSize)/h._length),h._startValue=ae(b),h._valueOffset=N,h._valueRange=(ae(h.max)-ae(b))/(1-N)},getPixelForValue:function(h){var b=this,N=0;return(h=+b.getRightValue(h))>b.min&&h>0&&(N=(ae(h)-b._startValue)/b._valueRange+b._valueOffset),b.getPixelForDecimal(N)},getValueForPixel:function(h){var b=this,N=b.getDecimalForPixel(h);return 0===N&&0===b.min?0:Math.pow(10,b._startValue+(N-b._valueOffset)*b._valueRange)}});zt._defaults=Ve;var Gn=Pe.valueOrDefault,Er=Pe.valueAtIndexOrDefault,Nr=Pe.options.resolve,Mi={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Io.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(h){return h}}};function ao(h){var b=h.ticks;return b.display&&h.display?Gn(b.fontSize,qr.global.defaultFontSize)+2*b.backdropPaddingY:0}function Jo(h,b,N){return Pe.isArray(N)?{w:Pe.longestText(h,h.font,N),h:N.length*b}:{w:h.measureText(N).width,h:b}}function rs(h,b,N,k,ne){return h===k||h===ne?{start:b-N/2,end:b+N/2}:h<k||h>ne?{start:b-N,end:b}:{start:b,end:b+N}}function Ps(h){return 0===h||180===h?"center":h<180?"left":"right"}function Ul(h,b,N,k){var he,Me,ne=N.y+k/2;if(Pe.isArray(b))for(he=0,Me=b.length;he<Me;++he)h.fillText(b[he],N.x,ne),ne+=k;else h.fillText(b,N.x,ne)}function eu(h,b,N){90===h||270===h?N.y-=b.h/2:(h>270||h<90)&&(N.y-=b.h)}function Rc(h){return Pe.isNumber(h)?h:0}var fu=Fs.extend({setDimensions:function(){var h=this;h.width=h.maxWidth,h.height=h.maxHeight,h.paddingTop=ao(h.options)/2,h.xCenter=Math.floor(h.width/2),h.yCenter=Math.floor((h.height-h.paddingTop)/2),h.drawingArea=Math.min(h.height-h.paddingTop,h.width)/2},determineDataLimits:function(){var h=this,b=h.chart,N=Number.POSITIVE_INFINITY,k=Number.NEGATIVE_INFINITY;Pe.each(b.data.datasets,function(ne,he){if(b.isDatasetVisible(he)){var Me=b.getDatasetMeta(he);Pe.each(ne.data,function(Qe,Re){var ft=+h.getRightValue(Qe);isNaN(ft)||Me.data[Re].hidden||(N=Math.min(ft,N),k=Math.max(ft,k))})}}),h.min=N===Number.POSITIVE_INFINITY?0:N,h.max=k===Number.NEGATIVE_INFINITY?0:k,h.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/ao(this.options))},convertTicksToLabels:function(){var h=this;Fs.prototype.convertTicksToLabels.call(h),h.pointLabels=h.chart.data.labels.map(function(){var b=Pe.callback(h.options.pointLabels.callback,arguments,h);return b||0===b?b:""})},getLabelForIndex:function(h,b){return+this.getRightValue(this.chart.data.datasets[b].data[h])},fit:function(){var h=this,b=h.options;b.display&&b.pointLabels.display?function ys(h){var ne,he,Me,b=Pe.options._parseFont(h.options.pointLabels),N={l:0,r:h.width,t:0,b:h.height-h.paddingTop},k={};h.ctx.font=b.string,h._pointLabelSizes=[];var Qe=h.chart.data.labels.length;for(ne=0;ne<Qe;ne++){Me=h.getPointPosition(ne,h.drawingArea+5),he=Jo(h.ctx,b.lineHeight,h.pointLabels[ne]),h._pointLabelSizes[ne]=he;var Re=h.getIndexAngle(ne),ft=Pe.toDegrees(Re)%360,wt=rs(ft,Me.x,he.w,0,180),It=rs(ft,Me.y,he.h,90,270);wt.start<N.l&&(N.l=wt.start,k.l=Re),wt.end>N.r&&(N.r=wt.end,k.r=Re),It.start<N.t&&(N.t=It.start,k.t=Re),It.end>N.b&&(N.b=It.end,k.b=Re)}h.setReductions(h.drawingArea,N,k)}(h):h.setCenterPoint(0,0,0,0)},setReductions:function(h,b,N){var k=this,ne=b.l/Math.sin(N.l),he=Math.max(b.r-k.width,0)/Math.sin(N.r),Me=-b.t/Math.cos(N.t),Qe=-Math.max(b.b-(k.height-k.paddingTop),0)/Math.cos(N.b);ne=Rc(ne),he=Rc(he),Me=Rc(Me),Qe=Rc(Qe),k.drawingArea=Math.min(Math.floor(h-(ne+he)/2),Math.floor(h-(Me+Qe)/2)),k.setCenterPoint(ne,he,Me,Qe)},setCenterPoint:function(h,b,N,k){var ne=this,Qe=N+ne.drawingArea,Re=ne.height-ne.paddingTop-k-ne.drawingArea;ne.xCenter=Math.floor((h+ne.drawingArea+(ne.width-b-ne.drawingArea))/2+ne.left),ne.yCenter=Math.floor((Qe+Re)/2+ne.top+ne.paddingTop)},getIndexAngle:function(h){var b=this.chart,he=(h*(360/b.data.labels.length)+((b.options||{}).startAngle||0))%360;return(he<0?he+360:he)*Math.PI*2/360},getDistanceFromCenterForValue:function(h){var b=this;if(Pe.isNullOrUndef(h))return NaN;var N=b.drawingArea/(b.max-b.min);return b.options.ticks.reverse?(b.max-h)*N:(h-b.min)*N},getPointPosition:function(h,b){var N=this,k=N.getIndexAngle(h)-Math.PI/2;return{x:Math.cos(k)*b+N.xCenter,y:Math.sin(k)*b+N.yCenter}},getPointPositionForValue:function(h,b){return this.getPointPosition(h,this.getDistanceFromCenterForValue(b))},getBasePosition:function(h){var b=this,N=b.min,k=b.max;return b.getPointPositionForValue(h||0,b.beginAtZero?0:N<0&&k<0?k:N>0&&k>0?N:0)},_drawGrid:function(){var Qe,Re,ft,h=this,b=h.ctx,N=h.options,k=N.gridLines,ne=N.angleLines,he=Gn(ne.lineWidth,k.lineWidth),Me=Gn(ne.color,k.color);if(N.pointLabels.display&&function mu(h){var b=h.ctx,N=h.options,k=N.pointLabels,ne=ao(N),he=h.getDistanceFromCenterForValue(N.ticks.reverse?h.min:h.max),Me=Pe.options._parseFont(k);b.save(),b.font=Me.string,b.textBaseline="middle";for(var Qe=h.chart.data.labels.length-1;Qe>=0;Qe--){var ft=h.getPointPosition(Qe,he+(0===Qe?ne/2:0)+5),wt=Er(k.fontColor,Qe,qr.global.defaultFontColor);b.fillStyle=wt;var It=h.getIndexAngle(Qe),Cn=Pe.toDegrees(It);b.textAlign=Ps(Cn),eu(Cn,h._pointLabelSizes[Qe],ft),Ul(b,h.pointLabels[Qe],ft,Me.lineHeight)}b.restore()}(h),k.display&&Pe.each(h.ticks,function(wt,It){0!==It&&(Re=h.getDistanceFromCenterForValue(h.ticksAsNumbers[It]),function wu(h,b,N,k){var ft,ne=h.ctx,he=b.circular,Me=h.chart.data.labels.length,Qe=Er(b.color,k-1),Re=Er(b.lineWidth,k-1);if((he||Me)&&Qe&&Re){if(ne.save(),ne.strokeStyle=Qe,ne.lineWidth=Re,ne.setLineDash&&(ne.setLineDash(b.borderDash||[]),ne.lineDashOffset=b.borderDashOffset||0),ne.beginPath(),he)ne.arc(h.xCenter,h.yCenter,N,0,2*Math.PI);else{ft=h.getPointPosition(0,N),ne.moveTo(ft.x,ft.y);for(var wt=1;wt<Me;wt++)ft=h.getPointPosition(wt,N),ne.lineTo(ft.x,ft.y)}ne.closePath(),ne.stroke(),ne.restore()}}(h,k,Re,It))}),ne.display&&he&&Me){for(b.save(),b.lineWidth=he,b.strokeStyle=Me,b.setLineDash&&(b.setLineDash(Nr([ne.borderDash,k.borderDash,[]])),b.lineDashOffset=Nr([ne.borderDashOffset,k.borderDashOffset,0])),Qe=h.chart.data.labels.length-1;Qe>=0;Qe--)Re=h.getDistanceFromCenterForValue(N.ticks.reverse?h.min:h.max),ft=h.getPointPosition(Qe,Re),b.beginPath(),b.moveTo(h.xCenter,h.yCenter),b.lineTo(ft.x,ft.y),b.stroke();b.restore()}},_drawLabels:function(){var h=this,b=h.ctx,k=h.options.ticks;if(k.display){var Qe,Re,ne=h.getIndexAngle(0),he=Pe.options._parseFont(k),Me=Gn(k.fontColor,qr.global.defaultFontColor);b.save(),b.font=he.string,b.translate(h.xCenter,h.yCenter),b.rotate(ne),b.textAlign="center",b.textBaseline="middle",Pe.each(h.ticks,function(ft,wt){0===wt&&!k.reverse||(Qe=h.getDistanceFromCenterForValue(h.ticksAsNumbers[wt]),k.showLabelBackdrop&&(Re=b.measureText(ft).width,b.fillStyle=k.backdropColor,b.fillRect(-Re/2-k.backdropPaddingX,-Qe-he.size/2-k.backdropPaddingY,Re+2*k.backdropPaddingX,he.size+2*k.backdropPaddingY)),b.fillStyle=Me,b.fillText(ft,0,-Qe))}),b.restore()}},_drawTitle:Pe.noop});fu._defaults=Mi;var $c=Pe._deprecated,pu=Pe.options.resolve,vc=Pe.valueOrDefault,La=Number.MIN_SAFE_INTEGER||-9007199254740991,al=Number.MAX_SAFE_INTEGER||9007199254740991,rl={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},xa=Object.keys(rl);function Tu(h,b){return h-b}function Pu(h){return Pe.valueOrDefault(h.time.min,h.ticks.min)}function za(h){return Pe.valueOrDefault(h.time.max,h.ticks.max)}function Cu(h,b,N,k){var ne=function Os(h,b,N){for(var he,Me,Qe,k=0,ne=h.length-1;k>=0&&k<=ne;){if(Qe=h[he=k+ne>>1],!(Me=h[he-1]||null))return{lo:null,hi:Qe};if(Qe[b]<N)k=he+1;else{if(!(Me[b]>N))return{lo:Me,hi:Qe};ne=he-1}}return{lo:Qe,hi:null}}(h,b,N),he=ne.lo?ne.hi?ne.lo:h[h.length-2]:h[0],Me=ne.lo?ne.hi?ne.hi:h[h.length-1]:h[1],Qe=Me[b]-he[b];return he[k]+(Me[k]-he[k])*(Qe?(N-he[b])/Qe:0)}function ld(h,b){var N=h._adapter,k=h.options.time,ne=k.parser,he=ne||k.format,Me=b;return"function"==typeof ne&&(Me=ne(Me)),Pe.isFinite(Me)||(Me="string"==typeof he?N.parse(Me,he):N.parse(Me)),null!==Me?+Me:(!ne&&"function"==typeof he&&(Me=he(b),Pe.isFinite(Me)||(Me=N.parse(Me))),Me)}function Hc(h,b){if(Pe.isNullOrUndef(b))return null;var N=h.options.time,k=ld(h,h.getRightValue(b));return null===k||N.round&&(k=+h._adapter.startOf(k,N.round)),k}function Vu(h,b,N,k){var he,Me,ne=xa.length;for(he=xa.indexOf(h);he<ne-1;++he)if((Me=rl[xa[he]]).common&&Math.ceil((N-b)/((Me.steps?Me.steps:al)*Me.size))<=k)return xa[he];return xa[ne-1]}function Uc(h,b,N){var Me,Qe,k=[],ne={},he=b.length;for(Me=0;Me<he;++Me)ne[Qe=b[Me]]=Me,k.push({value:Qe,major:!1});return 0!==he&&N?function Mu(h,b,N,k){var Qe,Re,ne=h._adapter,he=+ne.startOf(b[0].value,k),Me=b[b.length-1].value;for(Qe=he;Qe<=Me;Qe=+ne.add(Qe,1,k))(Re=N[Qe])>=0&&(b[Re].major=!0);return b}(h,k,ne,N):k}var Tp=je.extend({initialize:function(){this.mergeTicksOptions(),je.prototype.initialize.call(this)},update:function(){var h=this,b=h.options,N=b.time||(b.time={}),k=h._adapter=new Go._date(b.adapters.date);return $c("time scale",N.format,"time.format","time.parser"),$c("time scale",N.min,"time.min","ticks.min"),$c("time scale",N.max,"time.max","ticks.max"),Pe.mergeIf(N.displayFormats,k.formats()),je.prototype.update.apply(h,arguments)},getRightValue:function(h){return h&&void 0!==h.t&&(h=h.t),je.prototype.getRightValue.call(this,h)},determineDataLimits:function(){var wt,It,Cn,er,sr,Dr,oi,h=this,b=h.chart,N=h._adapter,k=h.options,ne=k.time.unit||"day",he=al,Me=La,Qe=[],Re=[],ft=[],uo=h._getLabels();for(wt=0,Cn=uo.length;wt<Cn;++wt)ft.push(Hc(h,uo[wt]));for(wt=0,Cn=(b.data.datasets||[]).length;wt<Cn;++wt)if(b.isDatasetVisible(wt))if(Pe.isObject((sr=b.data.datasets[wt].data)[0]))for(Re[wt]=[],It=0,er=sr.length;It<er;++It)Dr=Hc(h,sr[It]),Qe.push(Dr),Re[wt][It]=Dr;else Re[wt]=ft.slice(0),oi||(Qe=Qe.concat(ft),oi=!0);else Re[wt]=[];ft.length&&(he=Math.min(he,ft[0]),Me=Math.max(Me,ft[ft.length-1])),Qe.length&&(Qe=Cn>1?function En(h){var k,ne,he,b={},N=[];for(k=0,ne=h.length;k<ne;++k)b[he=h[k]]||(b[he]=!0,N.push(he));return N}(Qe).sort(Tu):Qe.sort(Tu),he=Math.min(he,Qe[0]),Me=Math.max(Me,Qe[Qe.length-1])),he=Hc(h,Pu(k))||he,Me=Hc(h,za(k))||Me,he=he===al?+N.startOf(Date.now(),ne):he,Me=Me===La?+N.endOf(Date.now(),ne)+1:Me,h.min=Math.min(he,Me),h.max=Math.max(he+1,Me),h._table=[],h._timestamps={data:Qe,datasets:Re,labels:ft}},buildTicks:function(){var It,Cn,er,h=this,b=h.min,N=h.max,k=h.options,ne=k.ticks,he=k.time,Me=h._timestamps,Qe=[],Re=h.getLabelCapacity(b),ft=ne.source,wt=k.distribution;for(Me="data"===ft||"auto"===ft&&"series"===wt?Me.data:"labels"===ft?Me.labels:function tf(h,b,N,k){var Cn,ne=h._adapter,he=h.options,Me=he.time,Qe=Me.unit||Vu(Me.minUnit,b,N,k),Re=pu([Me.stepSize,Me.unitStepSize,1]),ft="week"===Qe&&Me.isoWeekday,wt=b,It=[];if(ft&&(wt=+ne.startOf(wt,"isoWeek",ft)),wt=+ne.startOf(wt,ft?"day":Qe),ne.diff(N,b,Qe)>1e5*Re)throw b+" and "+N+" are too far apart with stepSize of "+Re+" "+Qe;for(Cn=wt;Cn<N;Cn=+ne.add(Cn,Re,Qe))It.push(Cn);return(Cn===N||"ticks"===he.bounds)&&It.push(Cn),It}(h,b,N,Re),"ticks"===k.bounds&&Me.length&&(b=Me[0],N=Me[Me.length-1]),b=Hc(h,Pu(k))||b,N=Hc(h,za(k))||N,It=0,Cn=Me.length;It<Cn;++It)(er=Me[It])>=b&&er<=N&&Qe.push(er);return h.min=b,h.max=N,h._unit=he.unit||(ne.autoSkip?Vu(he.minUnit,h.min,h.max,Re):function ud(h,b,N,k,ne){var he,Me;for(he=xa.length-1;he>=xa.indexOf(N);he--)if(rl[Me=xa[he]].common&&h._adapter.diff(ne,k,Me)>=b-1)return Me;return xa[N?xa.indexOf(N):0]}(h,Qe.length,he.minUnit,h.min,h.max)),h._majorUnit=ne.major.enabled&&"year"!==h._unit?function md(h){for(var b=xa.indexOf(h)+1,N=xa.length;b<N;++b)if(rl[xa[b]].common)return xa[b]}(h._unit):void 0,h._table=function Va(h,b,N,k){if("linear"===k||!h.length)return[{time:b,pos:0},{time:N,pos:1}];var Me,Qe,Re,ft,wt,ne=[],he=[b];for(Me=0,Qe=h.length;Me<Qe;++Me)(ft=h[Me])>b&&ft<N&&he.push(ft);for(he.push(N),Me=0,Qe=he.length;Me<Qe;++Me)wt=he[Me+1],ft=he[Me],(void 0===(Re=he[Me-1])||void 0===wt||Math.round((wt+Re)/2)!==ft)&&ne.push({time:ft,pos:Me/(Qe-1)});return ne}(h._timestamps.data,b,N,wt),h._offsets=function Uf(h,b,N,k,ne){var Qe,Re,he=0,Me=0;return ne.offset&&b.length&&(Qe=Cu(h,"time",b[0],"pos"),he=1===b.length?1-Qe:(Cu(h,"time",b[1],"pos")-Qe)/2,Re=Cu(h,"time",b[b.length-1],"pos"),Me=1===b.length?Re:(Re-Cu(h,"time",b[b.length-2],"pos"))/2),{start:he,end:Me,factor:1/(he+1+Me)}}(h._table,Qe,0,0,k),ne.reverse&&Qe.reverse(),Uc(h,Qe,h._majorUnit)},getLabelForIndex:function(h,b){var N=this,k=N._adapter,ne=N.chart.data,he=N.options.time,Me=ne.labels&&h<ne.labels.length?ne.labels[h]:"",Qe=ne.datasets[b].data[h];return Pe.isObject(Qe)&&(Me=N.getRightValue(Qe)),he.tooltipFormat?k.format(ld(N,Me),he.tooltipFormat):"string"==typeof Me?Me:k.format(ld(N,Me),he.displayFormats.datetime)},tickFormatFunction:function(h,b,N,k){var Me=this.options,Qe=Me.time.displayFormats,ft=this._majorUnit,wt=Qe[ft],It=N[b],Cn=Me.ticks,er=ft&&wt&&It&&It.major,sr=this._adapter.format(h,k||(er?wt:Qe[this._unit])),Dr=er?Cn.major:Cn.minor,oi=pu([Dr.callback,Dr.userCallback,Cn.callback,Cn.userCallback]);return oi?oi(sr,b,N):sr},convertTicksToLabels:function(h){var N,k,b=[];for(N=0,k=h.length;N<k;++N)b.push(this.tickFormatFunction(h[N].value,N,h));return b},getPixelForOffset:function(h){var b=this,N=b._offsets,k=Cu(b._table,"time",h,"pos");return b.getPixelForDecimal((N.start+k)*N.factor)},getPixelForValue:function(h,b,N){var k=this,ne=null;if(void 0!==b&&void 0!==N&&(ne=k._timestamps.datasets[N][b]),null===ne&&(ne=Hc(k,h)),null!==ne)return k.getPixelForOffset(ne)},getPixelForTick:function(h){var b=this.getTicks();return h>=0&&h<b.length?this.getPixelForOffset(b[h].value):null},getValueForPixel:function(h){var b=this,N=b._offsets,k=b.getDecimalForPixel(h)/N.factor-N.end,ne=Cu(b._table,"pos",k,"time");return b._adapter._create(ne)},_getLabelSize:function(h){var b=this,N=b.options.ticks,k=b.ctx.measureText(h).width,ne=Pe.toRadians(b.isHorizontal()?N.maxRotation:N.minRotation),he=Math.cos(ne),Me=Math.sin(ne),Qe=vc(N.fontSize,qr.global.defaultFontSize);return{w:k*he+Qe*Me,h:k*Me+Qe*he}},getLabelWidth:function(h){return this._getLabelSize(h).w},getLabelCapacity:function(h){var b=this,N=b.options.time,k=N.displayFormats,ne=k[N.unit]||k.millisecond,he=b.tickFormatFunction(h,0,Uc(b,[h],b._majorUnit),ne),Me=b._getLabelSize(he),Qe=Math.floor(b.isHorizontal()?b.width/Me.w:b.height/Me.h);return b.options.offset&&Qe--,Qe>0?Qe:1}});Tp._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var Hd={category:tn,linear:rn,logarithmic:zt,radialLinear:fu,time:Tp},Bf={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Go._date.override("function"==typeof r?{_id:"moment",formats:function(){return Bf},parse:function(h,b){return"string"==typeof h&&"string"==typeof b?h=r(h,b):h instanceof r||(h=r(h)),h.isValid()?h.valueOf():null},format:function(h,b){return r(h).format(b)},add:function(h,b,N){return r(h).add(b,N).valueOf()},diff:function(h,b,N){return r(h).diff(r(b),N)},startOf:function(h,b,N){return h=r(h),"isoWeek"===b?h.isoWeekday(N).valueOf():h.startOf(b).valueOf()},endOf:function(h,b){return r(h).endOf(b).valueOf()},_create:function(h){return r(h)}}:{}),qr._set("global",{plugins:{filler:{propagate:!0}}});var gd={dataset:function(h){var b=h.fill,N=h.chart,k=N.getDatasetMeta(b),he=k&&N.isDatasetVisible(b)&&k.dataset._children||[],Me=he.length||0;return Me?function(Qe,Re){return Re<Me&&he[Re]._view||null}:null},boundary:function(h){var b=h.boundary,N=b?b.x:null,k=b?b.y:null;return Pe.isArray(b)?function(ne,he){return b[he]}:function(ne){return{x:null===N?ne.x:N,y:null===k?ne.y:k}}}};function Nu(h,b,N){var he,k=h._model||{},ne=k.fill;if(void 0===ne&&(ne=!!k.backgroundColor),!1===ne||null===ne)return!1;if(!0===ne)return"origin";if(he=parseFloat(ne,10),isFinite(he)&&Math.floor(he)===he)return("-"===ne[0]||"+"===ne[0])&&(he=b+he),!(he===b||he<0||he>=N)&&he;switch(ne){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return ne;default:return!1}}function _u(h){return(h.el._scale||{}).getPointPositionForValue?function xf(h){var Me,Qe,Re,ft,wt,b=h.el._scale,N=b.options,k=b.chart.data.labels.length,ne=h.fill,he=[];if(!k)return null;for(Qe=N.ticks.reverse?b.min:b.max,Re=b.getPointPositionForValue(0,Me=N.ticks.reverse?b.max:b.min),ft=0;ft<k;++ft)wt="start"===ne||"end"===ne?b.getPointPositionForValue(ft,"start"===ne?Me:Qe):b.getBasePosition(ft),N.gridLines.circular&&(wt.cx=Re.x,wt.cy=Re.y,wt.angle=b.getIndexAngle(ft)-Math.PI/2),he.push(wt);return he}(h):function ed(h){var he,b=h.el._model||{},N=h.el._scale||{},k=h.fill,ne=null;if(isFinite(k))return null;if("start"===k?ne=void 0===b.scaleBottom?N.bottom:b.scaleBottom:"end"===k?ne=void 0===b.scaleTop?N.top:b.scaleTop:void 0!==b.scaleZero?ne=b.scaleZero:N.getBasePixel&&(ne=N.getBasePixel()),null!=ne){if(void 0!==ne.x&&void 0!==ne.y)return ne;if(Pe.isFinite(ne))return{x:(he=N.isHorizontal())?ne:null,y:he?null:ne}}return null}(h)}function Ud(h,b,N){var Me,ne=h[b].fill,he=[b];if(!N)return ne;for(;!1!==ne&&-1===he.indexOf(ne);){if(!isFinite(ne))return ne;if(!(Me=h[ne]))return!1;if(Me.visible)return ne;he.push(ne),ne=Me.fill}return!1}function Bc(h){var b=h.fill,N="dataset";return!1===b?null:(isFinite(b)||(N="boundary"),gd[N](h))}function Lo(h){return h&&!h.skip}function Se(h,b,N,k,ne){var he,Me,Qe,Re;if(k&&ne){for(h.moveTo(b[0].x,b[0].y),he=1;he<k;++he)Pe.canvas.lineTo(h,b[he-1],b[he]);if(void 0!==N[0].angle){for(Me=N[0].cx,Qe=N[0].cy,Re=Math.sqrt(Math.pow(N[0].x-Me,2)+Math.pow(N[0].y-Qe,2)),he=ne-1;he>0;--he)h.arc(Me,Qe,Re,N[he].angle,N[he-1].angle,!0);return}for(h.lineTo(N[ne-1].x,N[ne-1].y),he=ne-1;he>0;--he)Pe.canvas.lineTo(h,N[he],N[he-1],!0)}}function Ne(h,b,N,k,ne,he){var Cn,er,sr,Dr,oi,uo,As,as,Me=b.length,Qe=k.spanGaps,Re=[],ft=[],wt=0,It=0;for(h.beginPath(),Cn=0,er=Me;Cn<er;++Cn)oi=N(Dr=b[sr=Cn%Me]._view,sr,k),uo=Lo(Dr),As=Lo(oi),he&&void 0===as&&uo&&(er=Me+(as=Cn+1)),uo&&As?(wt=Re.push(Dr),It=ft.push(oi)):wt&&It&&(Qe?(uo&&Re.push(Dr),As&&ft.push(oi)):(Se(h,Re,ft,wt,It),wt=It=0,Re=[],ft=[]));Se(h,Re,ft,wt,It),h.closePath(),h.fillStyle=ne,h.fill()}var _e={id:"filler",afterDatasetsUpdate:function(h,b){var he,Me,Qe,Re,N=(h.data.datasets||[]).length,k=b.propagate,ne=[];for(Me=0;Me<N;++Me)Re=null,(Qe=(he=h.getDatasetMeta(Me)).dataset)&&Qe._model&&Qe instanceof ss.Line&&(Re={visible:h.isDatasetVisible(Me),fill:Nu(Qe,Me,N),chart:h,el:Qe}),he.$filler=Re,ne.push(Re);for(Me=0;Me<N;++Me)(Re=ne[Me])&&(Re.fill=Ud(ne,Me,k),Re.boundary=_u(Re),Re.mapper=Bc(Re))},beforeDatasetsDraw:function(h){var k,ne,he,Me,Qe,Re,ft,b=h._getSortedVisibleDatasetMetas(),N=h.ctx;for(ne=b.length-1;ne>=0;--ne)(k=b[ne].$filler)&&k.visible&&(Qe=(he=k.el)._children||[],ft=(Me=he._view).backgroundColor||qr.global.defaultColor,(Re=k.mapper)&&ft&&Qe.length&&(Pe.canvas.clipArea(N,h.chartArea),Ne(N,Qe,Re,Me,ft,he._loop),Pe.canvas.unclipArea(N)))}},Ye=Pe.rtl.getRtlAdapter,Mt=Pe.noop,un=Pe.valueOrDefault;function Mn(h,b){return h.usePointStyle&&h.boxWidth>b?b:h.boxWidth}qr._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(h,b){var N=b.datasetIndex,k=this.chart,ne=k.getDatasetMeta(N);ne.hidden=null===ne.hidden?!k.data.datasets[N].hidden:null,k.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(h){var b=h.data.datasets,N=h.options.legend||{},k=N.labels&&N.labels.usePointStyle;return h._getSortedDatasetMetas().map(function(ne){var he=ne.controller.getStyle(k?0:void 0);return{text:b[ne.index].label,fillStyle:he.backgroundColor,hidden:!h.isDatasetVisible(ne.index),lineCap:he.borderCapStyle,lineDash:he.borderDash,lineDashOffset:he.borderDashOffset,lineJoin:he.borderJoinStyle,lineWidth:he.borderWidth,strokeStyle:he.borderColor,pointStyle:he.pointStyle,rotation:he.rotation,datasetIndex:ne.index}},this)}}},legendCallback:function(h){var k,ne,he,b=document.createElement("ul"),N=h.data.datasets;for(b.setAttribute("class",h.id+"-legend"),k=0,ne=N.length;k<ne;k++)(he=b.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=N[k].backgroundColor,N[k].label&&he.appendChild(document.createTextNode(N[k].label));return b.outerHTML}});var ni=nr.extend({initialize:function(h){var b=this;Pe.extend(b,h),b.legendHitBoxes=[],b._hoveredItem=null,b.doughnutMode=!1},beforeUpdate:Mt,update:function(h,b,N){var k=this;return k.beforeUpdate(),k.maxWidth=h,k.maxHeight=b,k.margins=N,k.beforeSetDimensions(),k.setDimensions(),k.afterSetDimensions(),k.beforeBuildLabels(),k.buildLabels(),k.afterBuildLabels(),k.beforeFit(),k.fit(),k.afterFit(),k.afterUpdate(),k.minSize},afterUpdate:Mt,beforeSetDimensions:Mt,setDimensions:function(){var h=this;h.isHorizontal()?(h.width=h.maxWidth,h.left=0,h.right=h.width):(h.height=h.maxHeight,h.top=0,h.bottom=h.height),h.paddingLeft=0,h.paddingTop=0,h.paddingRight=0,h.paddingBottom=0,h.minSize={width:0,height:0}},afterSetDimensions:Mt,beforeBuildLabels:Mt,buildLabels:function(){var h=this,b=h.options.labels||{},N=Pe.callback(b.generateLabels,[h.chart],h)||[];b.filter&&(N=N.filter(function(k){return b.filter(k,h.chart.data)})),h.options.reverse&&N.reverse(),h.legendItems=N},afterBuildLabels:Mt,beforeFit:Mt,fit:function(){var h=this,b=h.options,N=b.labels,k=b.display,ne=h.ctx,he=Pe.options._parseFont(N),Me=he.size,Qe=h.legendHitBoxes=[],Re=h.minSize,ft=h.isHorizontal();if(ft?(Re.width=h.maxWidth,Re.height=k?10:0):(Re.width=k?10:0,Re.height=h.maxHeight),k){if(ne.font=he.string,ft){var wt=h.lineWidths=[0],It=0;ne.textAlign="left",ne.textBaseline="middle",Pe.each(h.legendItems,function(As,as){var Na=Mn(N,Me)+Me/2+ne.measureText(As.text).width;(0===as||wt[wt.length-1]+Na+2*N.padding>Re.width)&&(It+=Me+N.padding,wt[wt.length-(as>0?0:1)]=0),Qe[as]={left:0,top:0,width:Na,height:Me},wt[wt.length-1]+=Na+N.padding}),Re.height+=It}else{var Cn=N.padding,er=h.columnWidths=[],sr=h.columnHeights=[],Dr=N.padding,oi=0,uo=0;Pe.each(h.legendItems,function(As,as){var Na=Mn(N,Me)+Me/2+ne.measureText(As.text).width;as>0&&uo+Me+2*Cn>Re.height&&(Dr+=oi+N.padding,er.push(oi),sr.push(uo),oi=0,uo=0),oi=Math.max(oi,Na),uo+=Me+Cn,Qe[as]={left:0,top:0,width:Na,height:Me}}),Dr+=oi,er.push(oi),sr.push(uo),Re.width+=Dr}h.width=Re.width,h.height=Re.height}else h.width=Re.width=h.height=Re.height=0},afterFit:Mt,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var h=this,b=h.options,N=b.labels,k=qr.global,ne=k.defaultColor,he=k.elements.line,Me=h.height,Qe=h.columnHeights,Re=h.width,ft=h.lineWidths;if(b.display){var Dr,wt=Ye(b.rtl,h.left,h.minSize.width),It=h.ctx,Cn=un(N.fontColor,k.defaultFontColor),er=Pe.options._parseFont(N),sr=er.size;It.textAlign=wt.textAlign("left"),It.textBaseline="middle",It.lineWidth=.5,It.strokeStyle=Cn,It.fillStyle=Cn,It.font=er.string;var oi=Mn(N,sr),uo=h.legendHitBoxes,ma=function(il,dl){switch(b.align){case"start":return N.padding;case"end":return il-dl;default:return(il-dl+N.padding)/2}},Na=h.isHorizontal();Dr=Na?{x:h.left+ma(Re,ft[0]),y:h.top+N.padding,line:0}:{x:h.left+N.padding,y:h.top+ma(Me,Qe[0]),line:0},Pe.rtl.overrideTextDirection(h.ctx,b.textDirection);var Pl=sr+N.padding;Pe.each(h.legendItems,function(il,dl){var Nl=It.measureText(il.text).width,Qu=oi+sr/2+Nl,ac=Dr.x,wa=Dr.y;wt.setWidth(h.minSize.width),Na?dl>0&&ac+Qu+N.padding>h.left+h.minSize.width&&(wa=Dr.y+=Pl,Dr.line++,ac=Dr.x=h.left+ma(Re,ft[Dr.line])):dl>0&&wa+Pl>h.top+h.minSize.height&&(ac=Dr.x=ac+h.columnWidths[Dr.line]+N.padding,Dr.line++,wa=Dr.y=h.top+ma(Me,Qe[Dr.line]));var nc=wt.x(ac);(function(il,dl,Nl){if(!(isNaN(oi)||oi<=0)){It.save();var Qu=un(Nl.lineWidth,he.borderWidth);if(It.fillStyle=un(Nl.fillStyle,ne),It.lineCap=un(Nl.lineCap,he.borderCapStyle),It.lineDashOffset=un(Nl.lineDashOffset,he.borderDashOffset),It.lineJoin=un(Nl.lineJoin,he.borderJoinStyle),It.lineWidth=Qu,It.strokeStyle=un(Nl.strokeStyle,ne),It.setLineDash&&It.setLineDash(un(Nl.lineDash,he.borderDash)),N&&N.usePointStyle){var ac=oi*Math.SQRT2/2,wa=wt.xPlus(il,oi/2);Pe.canvas.drawPoint(It,Nl.pointStyle,ac,wa,dl+sr/2,Nl.rotation)}else It.fillRect(wt.leftForLtr(il,oi),dl,oi,sr),0!==Qu&&It.strokeRect(wt.leftForLtr(il,oi),dl,oi,sr);It.restore()}})(nc,wa,il),uo[dl].left=wt.leftForLtr(nc,uo[dl].width),uo[dl].top=wa,function(il,dl,Nl,Qu){var ac=sr/2,wa=wt.xPlus(il,oi+ac),nc=dl+ac;It.fillText(Nl.text,wa,nc),Nl.hidden&&(It.beginPath(),It.lineWidth=2,It.moveTo(wa,nc),It.lineTo(wt.xPlus(wa,Qu),nc),It.stroke())}(nc,wa,il,Nl),Na?Dr.x+=Qu+N.padding:Dr.y+=Pl}),Pe.rtl.restoreTextDirection(h.ctx,b.textDirection)}},_getLegendItemAt:function(h,b){var k,ne,he,N=this;if(h>=N.left&&h<=N.right&&b>=N.top&&b<=N.bottom)for(he=N.legendHitBoxes,k=0;k<he.length;++k)if(h>=(ne=he[k]).left&&h<=ne.left+ne.width&&b>=ne.top&&b<=ne.top+ne.height)return N.legendItems[k];return null},handleEvent:function(h){var ne,b=this,N=b.options,k="mouseup"===h.type?"click":h.type;if("mousemove"===k){if(!N.onHover&&!N.onLeave)return}else{if("click"!==k)return;if(!N.onClick)return}ne=b._getLegendItemAt(h.x,h.y),"click"===k?ne&&N.onClick&&N.onClick.call(b,h.native,ne):(N.onLeave&&ne!==b._hoveredItem&&(b._hoveredItem&&N.onLeave.call(b,h.native,b._hoveredItem),b._hoveredItem=ne),N.onHover&&ne&&N.onHover.call(b,h.native,ne))}});function zi(h,b){var N=new ni({ctx:h.ctx,options:b,chart:h});Xl.configure(h,N,b),Xl.addBox(h,N),h.legend=N}var Wo={id:"legend",_element:ni,beforeInit:function(h){var b=h.options.legend;b&&zi(h,b)},beforeUpdate:function(h){var b=h.options.legend,N=h.legend;b?(Pe.mergeIf(b,qr.global.legend),N?(Xl.configure(h,N,b),N.options=b):zi(h,b)):N&&(Xl.removeBox(h,N),delete h.legend)},afterEvent:function(h,b){var N=h.legend;N&&N.handleEvent(b)}},Qo=Pe.noop;qr._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var ya=nr.extend({initialize:function(h){Pe.extend(this,h),this.legendHitBoxes=[]},beforeUpdate:Qo,update:function(h,b,N){var k=this;return k.beforeUpdate(),k.maxWidth=h,k.maxHeight=b,k.margins=N,k.beforeSetDimensions(),k.setDimensions(),k.afterSetDimensions(),k.beforeBuildLabels(),k.buildLabels(),k.afterBuildLabels(),k.beforeFit(),k.fit(),k.afterFit(),k.afterUpdate(),k.minSize},afterUpdate:Qo,beforeSetDimensions:Qo,setDimensions:function(){var h=this;h.isHorizontal()?(h.width=h.maxWidth,h.left=0,h.right=h.width):(h.height=h.maxHeight,h.top=0,h.bottom=h.height),h.paddingLeft=0,h.paddingTop=0,h.paddingRight=0,h.paddingBottom=0,h.minSize={width:0,height:0}},afterSetDimensions:Qo,beforeBuildLabels:Qo,buildLabels:Qo,afterBuildLabels:Qo,beforeFit:Qo,fit:function(){var he,h=this,b=h.options,N=h.minSize={},k=h.isHorizontal();b.display?(he=(Pe.isArray(b.text)?b.text.length:1)*Pe.options._parseFont(b).lineHeight+2*b.padding,h.width=N.width=k?h.maxWidth:he,h.height=N.height=k?he:h.maxHeight):h.width=N.width=h.height=N.height=0},afterFit:Qo,isHorizontal:function(){var h=this.options.position;return"top"===h||"bottom"===h},draw:function(){var h=this,b=h.ctx,N=h.options;if(N.display){var It,Cn,er,k=Pe.options._parseFont(N),ne=k.lineHeight,he=ne/2+N.padding,Me=0,Qe=h.top,Re=h.left,ft=h.bottom,wt=h.right;b.fillStyle=Pe.valueOrDefault(N.fontColor,qr.global.defaultFontColor),b.font=k.string,h.isHorizontal()?(Cn=Re+(wt-Re)/2,er=Qe+he,It=wt-Re):(Cn="left"===N.position?Re+he:wt-he,er=Qe+(ft-Qe)/2,It=ft-Qe,Me=Math.PI*("left"===N.position?-.5:.5)),b.save(),b.translate(Cn,er),b.rotate(Me),b.textAlign="center",b.textBaseline="middle";var sr=N.text;if(Pe.isArray(sr))for(var Dr=0,oi=0;oi<sr.length;++oi)b.fillText(sr[oi],0,Dr,It),Dr+=ne;else b.fillText(sr,0,0,It);b.restore()}}});function Bl(h,b){var N=new ya({ctx:h.ctx,options:b,chart:h});Xl.configure(h,N,b),Xl.addBox(h,N),h.titleBlock=N}var pc={},cd=_e,Ju=Wo,tc={id:"title",_element:ya,beforeInit:function(h){var b=h.options.title;b&&Bl(h,b)},beforeUpdate:function(h){var b=h.options.title,N=h.titleBlock;b?(Pe.mergeIf(b,qr.global.title),N?(Xl.configure(h,N,b),N.options=b):Bl(h,b)):N&&(Xl.removeBox(h,N),delete h.titleBlock)}};for(var od in pc.filler=cd,pc.legend=Ju,pc.title=tc,kn.helpers=Pe,function(){function h(k,ne,he){var Me;return"string"==typeof k?(Me=parseInt(k,10),-1!==k.indexOf("%")&&(Me=Me/100*ne.parentNode[he])):Me=k,Me}function b(k){return null!=k&&"none"!==k}function N(k,ne,he){var Me=document.defaultView,Qe=Pe._getParentNode(k),Re=Me.getComputedStyle(k)[ne],ft=Me.getComputedStyle(Qe)[ne],wt=b(Re),It=b(ft),Cn=Number.POSITIVE_INFINITY;return wt||It?Math.min(wt?h(Re,k,he):Cn,It?h(ft,Qe,he):Cn):"none"}Pe.where=function(k,ne){if(Pe.isArray(k)&&Array.prototype.filter)return k.filter(ne);var he=[];return Pe.each(k,function(Me){ne(Me)&&he.push(Me)}),he},Pe.findIndex=Array.prototype.findIndex?function(k,ne,he){return k.findIndex(ne,he)}:function(k,ne,he){he=void 0===he?k:he;for(var Me=0,Qe=k.length;Me<Qe;++Me)if(ne.call(he,k[Me],Me,k))return Me;return-1},Pe.findNextWhere=function(k,ne,he){Pe.isNullOrUndef(he)&&(he=-1);for(var Me=he+1;Me<k.length;Me++){var Qe=k[Me];if(ne(Qe))return Qe}},Pe.findPreviousWhere=function(k,ne,he){Pe.isNullOrUndef(he)&&(he=k.length);for(var Me=he-1;Me>=0;Me--){var Qe=k[Me];if(ne(Qe))return Qe}},Pe.isNumber=function(k){return!isNaN(parseFloat(k))&&isFinite(k)},Pe.almostEquals=function(k,ne,he){return Math.abs(k-ne)<he},Pe.almostWhole=function(k,ne){var he=Math.round(k);return he-ne<=k&&he+ne>=k},Pe.max=function(k){return k.reduce(function(ne,he){return isNaN(he)?ne:Math.max(ne,he)},Number.NEGATIVE_INFINITY)},Pe.min=function(k){return k.reduce(function(ne,he){return isNaN(he)?ne:Math.min(ne,he)},Number.POSITIVE_INFINITY)},Pe.sign=Math.sign?function(k){return Math.sign(k)}:function(k){return 0==(k=+k)||isNaN(k)?k:k>0?1:-1},Pe.toRadians=function(k){return k*(Math.PI/180)},Pe.toDegrees=function(k){return k*(180/Math.PI)},Pe._decimalPlaces=function(k){if(Pe.isFinite(k)){for(var ne=1,he=0;Math.round(k*ne)/ne!==k;)ne*=10,he++;return he}},Pe.getAngleFromPoint=function(k,ne){var he=ne.x-k.x,Me=ne.y-k.y,Qe=Math.sqrt(he*he+Me*Me),Re=Math.atan2(Me,he);return Re<-.5*Math.PI&&(Re+=2*Math.PI),{angle:Re,distance:Qe}},Pe.distanceBetweenPoints=function(k,ne){return Math.sqrt(Math.pow(ne.x-k.x,2)+Math.pow(ne.y-k.y,2))},Pe.aliasPixel=function(k){return k%2==0?0:.5},Pe._alignPixel=function(k,ne,he){var Me=k.currentDevicePixelRatio,Qe=he/2;return Math.round((ne-Qe)*Me)/Me+Qe},Pe.splineCurve=function(k,ne,he,Me){var Qe=k.skip?ne:k,Re=ne,ft=he.skip?ne:he,wt=Math.sqrt(Math.pow(Re.x-Qe.x,2)+Math.pow(Re.y-Qe.y,2)),It=Math.sqrt(Math.pow(ft.x-Re.x,2)+Math.pow(ft.y-Re.y,2)),Cn=wt/(wt+It),er=It/(wt+It),sr=Me*(Cn=isNaN(Cn)?0:Cn),Dr=Me*(er=isNaN(er)?0:er);return{previous:{x:Re.x-sr*(ft.x-Qe.x),y:Re.y-sr*(ft.y-Qe.y)},next:{x:Re.x+Dr*(ft.x-Qe.x),y:Re.y+Dr*(ft.y-Qe.y)}}},Pe.EPSILON=Number.EPSILON||1e-14,Pe.splineCurveMonotone=function(k){var Me,Qe,Re,ft,It,Cn,er,sr,Dr,ne=(k||[]).map(function(oi){return{model:oi._model,deltaK:0,mK:0}}),he=ne.length;for(Me=0;Me<he;++Me)if(!(Re=ne[Me]).model.skip){if(Qe=Me>0?ne[Me-1]:null,(ft=Me<he-1?ne[Me+1]:null)&&!ft.model.skip){var wt=ft.model.x-Re.model.x;Re.deltaK=0!==wt?(ft.model.y-Re.model.y)/wt:0}Re.mK=!Qe||Qe.model.skip?Re.deltaK:!ft||ft.model.skip?Qe.deltaK:this.sign(Qe.deltaK)!==this.sign(Re.deltaK)?0:(Qe.deltaK+Re.deltaK)/2}for(Me=0;Me<he-1;++Me)if(ft=ne[Me+1],!(Re=ne[Me]).model.skip&&!ft.model.skip){if(Pe.almostEquals(Re.deltaK,0,this.EPSILON)){Re.mK=ft.mK=0;continue}It=Re.mK/Re.deltaK,Cn=ft.mK/Re.deltaK,!((sr=Math.pow(It,2)+Math.pow(Cn,2))<=9)&&(er=3/Math.sqrt(sr),Re.mK=It*er*Re.deltaK,ft.mK=Cn*er*Re.deltaK)}for(Me=0;Me<he;++Me)!(Re=ne[Me]).model.skip&&(ft=Me<he-1?ne[Me+1]:null,(Qe=Me>0?ne[Me-1]:null)&&!Qe.model.skip&&(Re.model.controlPointPreviousX=Re.model.x-(Dr=(Re.model.x-Qe.model.x)/3),Re.model.controlPointPreviousY=Re.model.y-Dr*Re.mK),ft&&!ft.model.skip&&(Re.model.controlPointNextX=Re.model.x+(Dr=(ft.model.x-Re.model.x)/3),Re.model.controlPointNextY=Re.model.y+Dr*Re.mK))},Pe.nextItem=function(k,ne,he){return he?ne>=k.length-1?k[0]:k[ne+1]:ne>=k.length-1?k[k.length-1]:k[ne+1]},Pe.previousItem=function(k,ne,he){return he?ne<=0?k[k.length-1]:k[ne-1]:ne<=0?k[0]:k[ne-1]},Pe.niceNum=function(k,ne){var he=Math.floor(Pe.log10(k)),Me=k/Math.pow(10,he);return(ne?Me<1.5?1:Me<3?2:Me<7?5:10:Me<=1?1:Me<=2?2:Me<=5?5:10)*Math.pow(10,he)},Pe.requestAnimFrame=typeof window>"u"?function(k){k()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(k){return window.setTimeout(k,1e3/60)},Pe.getRelativePosition=function(k,ne){var he,Me,Qe=k.originalEvent||k,Re=k.target||k.srcElement,ft=Re.getBoundingClientRect(),wt=Qe.touches;wt&&wt.length>0?(he=wt[0].clientX,Me=wt[0].clientY):(he=Qe.clientX,Me=Qe.clientY);var It=parseFloat(Pe.getStyle(Re,"padding-left")),Cn=parseFloat(Pe.getStyle(Re,"padding-top")),er=parseFloat(Pe.getStyle(Re,"padding-right")),sr=parseFloat(Pe.getStyle(Re,"padding-bottom")),oi=ft.bottom-ft.top-Cn-sr;return{x:he=Math.round((he-ft.left-It)/(ft.right-ft.left-It-er)*Re.width/ne.currentDevicePixelRatio),y:Me=Math.round((Me-ft.top-Cn)/oi*Re.height/ne.currentDevicePixelRatio)}},Pe.getConstraintWidth=function(k){return N(k,"max-width","clientWidth")},Pe.getConstraintHeight=function(k){return N(k,"max-height","clientHeight")},Pe._calculatePadding=function(k,ne,he){return(ne=Pe.getStyle(k,ne)).indexOf("%")>-1?he*parseInt(ne,10)/100:parseInt(ne,10)},Pe._getParentNode=function(k){var ne=k.parentNode;return ne&&"[object ShadowRoot]"===ne.toString()&&(ne=ne.host),ne},Pe.getMaximumWidth=function(k){var ne=Pe._getParentNode(k);if(!ne)return k.clientWidth;var he=ne.clientWidth,Re=he-Pe._calculatePadding(ne,"padding-left",he)-Pe._calculatePadding(ne,"padding-right",he),ft=Pe.getConstraintWidth(k);return isNaN(ft)?Re:Math.min(Re,ft)},Pe.getMaximumHeight=function(k){var ne=Pe._getParentNode(k);if(!ne)return k.clientHeight;var he=ne.clientHeight,Re=he-Pe._calculatePadding(ne,"padding-top",he)-Pe._calculatePadding(ne,"padding-bottom",he),ft=Pe.getConstraintHeight(k);return isNaN(ft)?Re:Math.min(Re,ft)},Pe.getStyle=function(k,ne){return k.currentStyle?k.currentStyle[ne]:document.defaultView.getComputedStyle(k,null).getPropertyValue(ne)},Pe.retinaScale=function(k,ne){var he=k.currentDevicePixelRatio=ne||typeof window<"u"&&window.devicePixelRatio||1;if(1!==he){var Me=k.canvas,Qe=k.height,Re=k.width;Me.height=Qe*he,Me.width=Re*he,k.ctx.scale(he,he),!Me.style.height&&!Me.style.width&&(Me.style.height=Qe+"px",Me.style.width=Re+"px")}},Pe.fontString=function(k,ne,he){return ne+" "+k+"px "+he},Pe.longestText=function(k,ne,he,Me){var Qe=(Me=Me||{}).data=Me.data||{},Re=Me.garbageCollect=Me.garbageCollect||[];Me.font!==ne&&(Qe=Me.data={},Re=Me.garbageCollect=[],Me.font=ne),k.font=ne;var It,Cn,er,sr,Dr,ft=0,wt=he.length;for(It=0;It<wt;It++)if(null!=(sr=he[It])&&!0!==Pe.isArray(sr))ft=Pe.measureText(k,Qe,Re,ft,sr);else if(Pe.isArray(sr))for(Cn=0,er=sr.length;Cn<er;Cn++)null!=(Dr=sr[Cn])&&!Pe.isArray(Dr)&&(ft=Pe.measureText(k,Qe,Re,ft,Dr));var oi=Re.length/2;if(oi>he.length){for(It=0;It<oi;It++)delete Qe[Re[It]];Re.splice(0,oi)}return ft},Pe.measureText=function(k,ne,he,Me,Qe){var Re=ne[Qe];return Re||(Re=ne[Qe]=k.measureText(Qe).width,he.push(Qe)),Re>Me&&(Me=Re),Me},Pe.numberOfLabelLines=function(k){var ne=1;return Pe.each(k,function(he){Pe.isArray(he)&&he.length>ne&&(ne=he.length)}),ne},Pe.color=Tt?function(k){return k instanceof CanvasGradient&&(k=qr.global.defaultColor),Tt(k)}:function(k){return console.error("Color.js not found!"),k},Pe.getHoverColor=function(k){return k instanceof CanvasPattern||k instanceof CanvasGradient?k:Pe.color(k).saturate(.5).darken(.1).rgbString()}}(),kn._adapters=Go,kn.Animation=dn,kn.animationService=Ge,kn.controllers=Bi,kn.DatasetController=Ai,kn.defaults=qr,kn.Element=nr,kn.elements=ss,kn.Interaction=vl,kn.layouts=Xl,kn.platform=Je,kn.plugins=en,kn.Scale=je,kn.scaleService=fi,kn.Ticks=Io,kn.Tooltip=Lc,kn.helpers.each(Hd,function(h,b){kn.scaleService.registerScaleType(b,h,h._defaults)}),pc)pc.hasOwnProperty(od)&&kn.plugins.register(pc[od]);kn.platform.initialize();var Ed=kn;return typeof window<"u"&&(window.Chart=kn),kn.Chart=kn,kn.Legend=pc.legend._element,kn.Title=pc.title._element,kn.pluginService=kn.plugins,kn.PluginBase=kn.Element.extend({}),kn.canvasHelpers=kn.helpers.canvas,kn.layoutService=kn.layouts,kn.LinearScaleBase=Fs,kn.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(h){kn[h]=function(b,N){return new kn(b,kn.helpers.merge(N||{},{type:h.charAt(0).toLowerCase()+h.slice(1)}))}}),Ed}(function(){try{return s(16738)}catch{}}())},82885:(E,C)=>{var r;!function(){"use strict";var a={}.hasOwnProperty;function u(){for(var e=[],f=0;f<arguments.length;f++){var m=arguments[f];if(m){var T=typeof m;if("string"===T||"number"===T)e.push(m);else if(Array.isArray(m)){if(m.length){var M=u.apply(null,m);M&&e.push(M)}}else if("object"===T){if(m.toString!==Object.prototype.toString&&!m.toString.toString().includes("[native code]")){e.push(m.toString());continue}for(var w in m)a.call(m,w)&&m[w]&&e.push(w)}}}return e.join(" ")}E.exports?(u.default=u,E.exports=u):void 0!==(r=function(){return u}.apply(C,[]))&&(E.exports=r)}()},2665:E=>{E.exports=function(s,r){for(var a=[],c=0;c<s.length;c++){var u=r(s[c],c);C(u)?a.push.apply(a,u):a.push(u)}return a};var C=Array.isArray||function(s){return"[object Array]"===Object.prototype.toString.call(s)}},96967:(E,C,s)=>{"use strict";var r=s(35311),a={"text/plain":"Text","text/html":"Url",default:"Text"};E.exports=function e(f,m){var T,M,w,D,U,W,$=!1;m||(m={}),T=m.debug||!1;try{if(w=r(),D=document.createRange(),U=document.getSelection(),(W=document.createElement("span")).textContent=f,W.ariaHidden="true",W.style.all="unset",W.style.position="fixed",W.style.top=0,W.style.clip="rect(0, 0, 0, 0)",W.style.whiteSpace="pre",W.style.webkitUserSelect="text",W.style.MozUserSelect="text",W.style.msUserSelect="text",W.style.userSelect="text",W.addEventListener("copy",function(F){F.stopPropagation(),m.format&&(F.preventDefault(),typeof F.clipboardData>"u"?(T&&console.warn("unable to use e.clipboardData"),T&&console.warn("trying IE specific stuff"),window.clipboardData.clearData(),window.clipboardData.setData(a[m.format]||a.default,f)):(F.clipboardData.clearData(),F.clipboardData.setData(m.format,f))),m.onCopy&&(F.preventDefault(),m.onCopy(F.clipboardData))}),document.body.appendChild(W),D.selectNodeContents(W),U.addRange(D),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");$=!0}catch(F){T&&console.error("unable to copy using execCommand: ",F),T&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(m.format||"text",f),m.onCopy&&m.onCopy(window.clipboardData),$=!0}catch(X){T&&console.error("unable to copy using clipboardData: ",X),T&&console.error("falling back to prompt"),M=function u(f){var m=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return f.replace(/#{\s*key\s*}/g,m)}("message"in m?m.message:"Copy to clipboard: #{key}, Enter"),window.prompt(M,f)}}finally{U&&("function"==typeof U.removeRange?U.removeRange(D):U.removeAllRanges()),W&&document.body.removeChild(W),w()}return $}},43987:(E,C,s)=>{"use strict";var r=s(75242);E.exports=r},99556:(E,C,s)=>{"use strict";var r=s(10323);E.exports=r},39287:(E,C,s)=>{"use strict";var r=s(8748);E.exports=r},25272:(E,C,s)=>{"use strict";var r=s(71873);E.exports=r},54450:(E,C,s)=>{"use strict";var r=s(19095);E.exports=r},39557:(E,C,s)=>{"use strict";var r=s(52049);E.exports=r},61611:(E,C,s)=>{"use strict";var r=s(87054);E.exports=r},4412:(E,C,s)=>{"use strict";var r=s(30252);E.exports=r},22549:(E,C,s)=>{"use strict";var r=s(45284);E.exports=r},47646:(E,C,s)=>{"use strict";var r=s(70157);E.exports=r},78663:(E,C,s)=>{"use strict";var r=s(640);s(41554),E.exports=r},48498:(E,C,s)=>{"use strict";var r=s(50320);E.exports=r},4922:(E,C,s)=>{"use strict";var r=s(93006);E.exports=r},95190:(E,C,s)=>{"use strict";var r=s(36226);E.exports=r},78525:(E,C,s)=>{"use strict";var r=s(21968);E.exports=r},21064:(E,C,s)=>{"use strict";var r=s(87259);E.exports=r},65641:(E,C,s)=>{"use strict";var r=s(62021);E.exports=r},21693:(E,C,s)=>{"use strict";var r=s(57682);E.exports=r},88907:(E,C,s)=>{"use strict";var r=s(94222);E.exports=r},41432:(E,C,s)=>{"use strict";var r=s(1162);E.exports=r},7398:(E,C,s)=>{"use strict";var r=s(82805);E.exports=r},67221:(E,C,s)=>{"use strict";var r=s(26498);s(68333),E.exports=r},67447:(E,C,s)=>{"use strict";var r=s(44850);E.exports=r},58811:(E,C,s)=>{"use strict";var r=s(9634);E.exports=r},19573:(E,C,s)=>{"use strict";var r=s(96551);s(43548),s(55461),s(5737),s(71985),E.exports=r},10226:(E,C,s)=>{"use strict";var r=s(98908);E.exports=r},56378:(E,C,s)=>{"use strict";var r=s(55434);E.exports=r},74771:(E,C,s)=>{"use strict";s(3934),s(261);var r=s(13544);E.exports=r.Array.from},8412:(E,C,s)=>{"use strict";s(2862);var r=s(13544);E.exports=r.Array.isArray},77377:(E,C,s)=>{"use strict";s(1625);var r=s(97911);E.exports=r("Array").concat},399:(E,C,s)=>{"use strict";s(1285),s(17221);var r=s(97911);E.exports=r("Array").entries},66933:(E,C,s)=>{"use strict";s(70466);var r=s(97911);E.exports=r("Array").every},9504:(E,C,s)=>{"use strict";s(24990);var r=s(97911);E.exports=r("Array").fill},82168:(E,C,s)=>{"use strict";s(56534);var r=s(97911);E.exports=r("Array").filter},65618:(E,C,s)=>{"use strict";s(12773);var r=s(97911);E.exports=r("Array").findIndex},9186:(E,C,s)=>{"use strict";s(60326);var r=s(97911);E.exports=r("Array").find},98812:(E,C,s)=>{"use strict";s(98792);var r=s(97911);E.exports=r("Array").forEach},58479:(E,C,s)=>{"use strict";s(77059);var r=s(97911);E.exports=r("Array").includes},43207:(E,C,s)=>{"use strict";s(2795);var r=s(97911);E.exports=r("Array").indexOf},33195:(E,C,s)=>{"use strict";s(1285),s(17221);var r=s(97911);E.exports=r("Array").keys},63033:(E,C,s)=>{"use strict";s(74926);var r=s(97911);E.exports=r("Array").lastIndexOf},5736:(E,C,s)=>{"use strict";s(88119);var r=s(97911);E.exports=r("Array").map},7909:(E,C,s)=>{"use strict";s(93870);var r=s(97911);E.exports=r("Array").push},7198:(E,C,s)=>{"use strict";s(46250);var r=s(97911);E.exports=r("Array").reduce},84302:(E,C,s)=>{"use strict";s(32836);var r=s(97911);E.exports=r("Array").reverse},86693:(E,C,s)=>{"use strict";s(72999);var r=s(97911);E.exports=r("Array").slice},24273:(E,C,s)=>{"use strict";s(50733);var r=s(97911);E.exports=r("Array").some},45974:(E,C,s)=>{"use strict";s(93639);var r=s(97911);E.exports=r("Array").sort},68012:(E,C,s)=>{"use strict";s(63117);var r=s(97911);E.exports=r("Array").splice},46332:(E,C,s)=>{"use strict";s(1285),s(17221);var r=s(97911);E.exports=r("Array").values},42618:(E,C,s)=>{"use strict";s(34699);var r=s(13544);E.exports=r.Date.now},97724:(E,C,s)=>{"use strict";s(33379);var r=s(97911);E.exports=r("Function").bind},63791:(E,C,s)=>{"use strict";s(1285),s(3934);var r=s(34014);E.exports=r},69029:(E,C,s)=>{"use strict";var r=s(23336),a=s(97724),c=Function.prototype;E.exports=function(u){var e=u.bind;return u===c||r(c,u)&&e===c.bind?a:e}},28924:(E,C,s)=>{"use strict";var r=s(23336),a=s(77377),c=Array.prototype;E.exports=function(u){var e=u.concat;return u===c||r(c,u)&&e===c.concat?a:e}},98709:(E,C,s)=>{"use strict";var r=s(23336),a=s(66933),c=Array.prototype;E.exports=function(u){var e=u.every;return u===c||r(c,u)&&e===c.every?a:e}},65991:(E,C,s)=>{"use strict";var r=s(23336),a=s(9504),c=Array.prototype;E.exports=function(u){var e=u.fill;return u===c||r(c,u)&&e===c.fill?a:e}},64158:(E,C,s)=>{"use strict";var r=s(23336),a=s(82168),c=Array.prototype;E.exports=function(u){var e=u.filter;return u===c||r(c,u)&&e===c.filter?a:e}},91799:(E,C,s)=>{"use strict";var r=s(23336),a=s(65618),c=Array.prototype;E.exports=function(u){var e=u.findIndex;return u===c||r(c,u)&&e===c.findIndex?a:e}},26155:(E,C,s)=>{"use strict";var r=s(23336),a=s(9186),c=Array.prototype;E.exports=function(u){var e=u.find;return u===c||r(c,u)&&e===c.find?a:e}},33758:(E,C,s)=>{"use strict";var r=s(23336),a=s(58479),c=s(85136),u=Array.prototype,e=String.prototype;E.exports=function(f){var m=f.includes;return f===u||r(u,f)&&m===u.includes?a:"string"==typeof f||f===e||r(e,f)&&m===e.includes?c:m}},7592:(E,C,s)=>{"use strict";var r=s(23336),a=s(43207),c=Array.prototype;E.exports=function(u){var e=u.indexOf;return u===c||r(c,u)&&e===c.indexOf?a:e}},17480:(E,C,s)=>{"use strict";var r=s(23336),a=s(63033),c=Array.prototype;E.exports=function(u){var e=u.lastIndexOf;return u===c||r(c,u)&&e===c.lastIndexOf?a:e}},20681:(E,C,s)=>{"use strict";var r=s(23336),a=s(5736),c=Array.prototype;E.exports=function(u){var e=u.map;return u===c||r(c,u)&&e===c.map?a:e}},801:(E,C,s)=>{"use strict";var r=s(23336),a=s(7909),c=Array.prototype;E.exports=function(u){var e=u.push;return u===c||r(c,u)&&e===c.push?a:e}},90949:(E,C,s)=>{"use strict";var r=s(23336),a=s(7198),c=Array.prototype;E.exports=function(u){var e=u.reduce;return u===c||r(c,u)&&e===c.reduce?a:e}},99316:(E,C,s)=>{"use strict";var r=s(23336),a=s(96302),c=String.prototype;E.exports=function(u){var e=u.repeat;return"string"==typeof u||u===c||r(c,u)&&e===c.repeat?a:e}},62212:(E,C,s)=>{"use strict";var r=s(23336),a=s(84302),c=Array.prototype;E.exports=function(u){var e=u.reverse;return u===c||r(c,u)&&e===c.reverse?a:e}},49073:(E,C,s)=>{"use strict";var r=s(23336),a=s(86693),c=Array.prototype;E.exports=function(u){var e=u.slice;return u===c||r(c,u)&&e===c.slice?a:e}},24146:(E,C,s)=>{"use strict";var r=s(23336),a=s(24273),c=Array.prototype;E.exports=function(u){var e=u.some;return u===c||r(c,u)&&e===c.some?a:e}},40104:(E,C,s)=>{"use strict";var r=s(23336),a=s(45974),c=Array.prototype;E.exports=function(u){var e=u.sort;return u===c||r(c,u)&&e===c.sort?a:e}},3555:(E,C,s)=>{"use strict";var r=s(23336),a=s(68012),c=Array.prototype;E.exports=function(u){var e=u.splice;return u===c||r(c,u)&&e===c.splice?a:e}},42475:(E,C,s)=>{"use strict";var r=s(23336),a=s(98720),c=String.prototype;E.exports=function(u){var e=u.startsWith;return"string"==typeof u||u===c||r(c,u)&&e===c.startsWith?a:e}},65786:(E,C,s)=>{"use strict";var r=s(23336),a=s(75998),c=String.prototype;E.exports=function(u){var e=u.trim;return"string"==typeof u||u===c||r(c,u)&&e===c.trim?a:e}},66306:(E,C,s)=>{"use strict";s(75071);var r=s(13544),a=s(2543);r.JSON||(r.JSON={stringify:JSON.stringify}),E.exports=function(u,e,f){return a(r.JSON.stringify,null,arguments)}},31845:(E,C,s)=>{"use strict";s(1285),s(85140),s(17221),s(3934);var r=s(13544);E.exports=r.Map},44168:(E,C,s)=>{"use strict";s(67234);var r=s(13544);E.exports=r.Object.assign},25852:(E,C,s)=>{"use strict";s(86516);var a=s(13544).Object;E.exports=function(u,e){return a.create(u,e)}},24457:(E,C,s)=>{"use strict";s(36255);var a=s(13544).Object,c=E.exports=function(e,f){return a.defineProperties(e,f)};a.defineProperties.sham&&(c.sham=!0)},99671:(E,C,s)=>{"use strict";s(84468);var a=s(13544).Object,c=E.exports=function(e,f,m){return a.defineProperty(e,f,m)};a.defineProperty.sham&&(c.sham=!0)},38007:(E,C,s)=>{"use strict";s(86627);var a=s(13544).Object,c=E.exports=function(e,f){return a.getOwnPropertyDescriptor(e,f)};a.getOwnPropertyDescriptor.sham&&(c.sham=!0)},57432:(E,C,s)=>{"use strict";s(78275);var r=s(13544);E.exports=r.Object.getOwnPropertyDescriptors},36541:(E,C,s)=>{"use strict";s(56728);var r=s(13544);E.exports=r.Object.getOwnPropertySymbols},17303:(E,C,s)=>{"use strict";s(31193);var r=s(13544);E.exports=r.Object.getPrototypeOf},62149:(E,C,s)=>{"use strict";s(56557);var r=s(13544);E.exports=r.Object.keys},86537:(E,C,s)=>{"use strict";s(17971);var r=s(13544);E.exports=r.Object.setPrototypeOf},79553:(E,C,s)=>{"use strict";s(88923);var r=s(13544);E.exports=r.Object.values},80092:(E,C,s)=>{"use strict";s(10901),s(1285),s(17221),s(66793),s(84798),s(98857),s(30185),s(3934);var r=s(13544);E.exports=r.Promise},472:(E,C,s)=>{"use strict";s(19539);var r=s(13544);E.exports=r.Reflect.construct},4678:(E,C,s)=>{"use strict";s(60851);var r=s(13544);E.exports=r.Reflect.get},85136:(E,C,s)=>{"use strict";s(97764);var r=s(97911);E.exports=r("String").includes},96302:(E,C,s)=>{"use strict";s(3588);var r=s(97911);E.exports=r("String").repeat},98720:(E,C,s)=>{"use strict";s(24655);var r=s(97911);E.exports=r("String").startsWith},75998:(E,C,s)=>{"use strict";s(90451);var r=s(97911);E.exports=r("String").trim},61697:(E,C,s)=>{"use strict";s(1625),s(17221),s(56728),s(16426),s(1172),s(99579),s(41258),s(2383),s(44339),s(64776),s(88215),s(65389),s(12733),s(97977),s(59792),s(60242),s(26291),s(32300),s(63603),s(44864);var r=s(13544);E.exports=r.Symbol},42497:(E,C,s)=>{"use strict";s(1285),s(17221),s(3934),s(2383);var r=s(89734);E.exports=r.f("iterator")},50681:(E,C,s)=>{"use strict";s(68154),s(59792);var r=s(89734);E.exports=r.f("toPrimitive")},31236:(E,C,s)=>{"use strict";E.exports=s(58044)},63811:(E,C,s)=>{"use strict";E.exports=s(99692)},44948:(E,C,s)=>{"use strict";E.exports=s(61483)},96471:(E,C,s)=>{"use strict";E.exports=s(46815)},41171:(E,C,s)=>{"use strict";E.exports=s(47194)},62005:(E,C,s)=>{"use strict";E.exports=s(32944)},42346:(E,C,s)=>{"use strict";E.exports=s(26421)},24329:(E,C,s)=>{"use strict";E.exports=s(15123)},2793:(E,C,s)=>{"use strict";E.exports=s(49745)},88819:(E,C,s)=>{"use strict";E.exports=s(65861)},55912:(E,C,s)=>{"use strict";E.exports=s(63816)},73875:(E,C,s)=>{"use strict";var r=s(43987);E.exports=r},91700:(E,C,s)=>{"use strict";var r=s(99556);E.exports=r},70589:(E,C,s)=>{"use strict";var r=s(39287);E.exports=r},71432:(E,C,s)=>{"use strict";var r=s(25272);E.exports=r},73712:(E,C,s)=>{"use strict";var r=s(54450);E.exports=r},58044:(E,C,s)=>{"use strict";var r=s(39557);E.exports=r},55451:(E,C,s)=>{"use strict";var r=s(61611);E.exports=r},99692:(E,C,s)=>{"use strict";var r=s(4412);E.exports=r},61483:(E,C,s)=>{"use strict";var r=s(22549);E.exports=r},46815:(E,C,s)=>{"use strict";var r=s(47646);E.exports=r},28296:(E,C,s)=>{"use strict";var r=s(78663);s(78271),s(60854),s(10509),s(30887),s(54547),s(68996),s(1530),s(60176),s(41688),s(92847),s(17316),s(58786),s(51943),s(12783),s(69773),s(22337),s(40199),s(69046),s(84131),E.exports=r},96973:(E,C,s)=>{"use strict";var r=s(48498);E.exports=r},47194:(E,C,s)=>{"use strict";var r=s(4922);E.exports=r},56805:(E,C,s)=>{"use strict";var r=s(95190);E.exports=r},32944:(E,C,s)=>{"use strict";var r=s(78525);E.exports=r},70729:(E,C,s)=>{"use strict";var r=s(21064);E.exports=r},48299:(E,C,s)=>{"use strict";var r=s(65641);E.exports=r},33969:(E,C,s)=>{"use strict";var r=s(21693);E.exports=r},26421:(E,C,s)=>{"use strict";var r=s(88907);E.exports=r},37785:(E,C,s)=>{"use strict";var r=s(41432);E.exports=r},15123:(E,C,s)=>{"use strict";var r=s(7398);E.exports=r},49745:(E,C,s)=>{"use strict";var r=s(67221);s(67670),s(61127),s(93114),s(45975),E.exports=r},29044:(E,C,s)=>{"use strict";var r=s(67447);E.exports=r},20611:(E,C,s)=>{"use strict";var r=s(58811);E.exports=r},65861:(E,C,s)=>{"use strict";var r=s(19573);s(70337),s(44388),s(87097),s(90212),s(61652),s(90791),s(29559),s(93770),s(47743),E.exports=r},63816:(E,C,s)=>{"use strict";var r=s(10226);E.exports=r},72378:(E,C,s)=>{"use strict";var r=s(56378);E.exports=r},61812:(E,C,s)=>{"use strict";var r=s(52208),a=s(7378),c=TypeError;E.exports=function(u){if(r(u))return u;throw c(a(u)+" is not a function")}},54356:(E,C,s)=>{"use strict";var r=s(81177),a=s(7378),c=TypeError;E.exports=function(u){if(r(u))return u;throw c(a(u)+" is not a constructor")}},64902:(E,C,s)=>{"use strict";var r=s(7378);E.exports=function(a){if("object"==typeof a&&"size"in a&&"has"in a&&"get"in a&&"set"in a&&"delete"in a&&"entries"in a)return a;throw TypeError(r(a)+" is not a map")}},93221:(E,C,s)=>{"use strict";var r=s(52208),a=String,c=TypeError;E.exports=function(u){if("object"==typeof u||r(u))return u;throw c("Can't set "+a(u)+" as a prototype")}},82196:E=>{"use strict";E.exports=function(){}},54849:(E,C,s)=>{"use strict";var r=s(23336),a=TypeError;E.exports=function(c,u){if(r(u,c))return c;throw a("Incorrect invocation")}},64562:(E,C,s)=>{"use strict";var r=s(77293),a=String,c=TypeError;E.exports=function(u){if(r(u))return u;throw c(a(u)+" is not an object")}},76318:(E,C,s)=>{"use strict";var r=s(55756);E.exports=r(function(){if("function"==typeof ArrayBuffer){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},35277:(E,C,s)=>{"use strict";var r=s(70267),a=s(19401),c=s(6381);E.exports=function(e){for(var f=r(this),m=c(f),T=arguments.length,M=a(T>1?arguments[1]:void 0,m),w=T>2?arguments[2]:void 0,D=void 0===w?m:a(w,m);D>M;)f[M++]=e;return f}},8366:(E,C,s)=>{"use strict";var r=s(68607).forEach,c=s(33620)("forEach");E.exports=c?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},51923:(E,C,s)=>{"use strict";var r=s(76781),a=s(25401),c=s(70267),u=s(93463),e=s(39918),f=s(81177),m=s(6381),T=s(46751),M=s(88055),w=s(34014),D=Array;E.exports=function(W){var $=c(W),J=f(this),F=arguments.length,X=F>1?arguments[1]:void 0,de=void 0!==X;de&&(X=r(X,F>2?arguments[2]:void 0));var se,fe,Te,$e,ge,Et,V=w($),ce=0;if(!V||this===D&&e(V))for(se=m($),fe=J?new this(se):D(se);se>ce;ce++)Et=de?X($[ce],ce):$[ce],T(fe,ce,Et);else for(ge=($e=M($,V)).next,fe=J?new this:[];!(Te=a(ge,$e)).done;ce++)Et=de?u($e,X,[Te.value,ce],!0):Te.value,T(fe,ce,Et);return fe.length=ce,fe}},95171:(E,C,s)=>{"use strict";var r=s(81010),a=s(19401),c=s(6381),u=function(e){return function(f,m,T){var U,M=r(f),w=c(M),D=a(T,w);if(e&&m!=m){for(;w>D;)if((U=M[D++])!=U)return!0}else for(;w>D;D++)if((e||D in M)&&M[D]===m)return e||D||0;return!e&&-1}};E.exports={includes:u(!0),indexOf:u(!1)}},68607:(E,C,s)=>{"use strict";var r=s(76781),a=s(23634),c=s(20973),u=s(70267),e=s(6381),f=s(2103),m=a([].push),T=function(M){var w=1===M,D=2===M,U=3===M,W=4===M,$=6===M,J=7===M,F=5===M||$;return function(X,de,V,ce){for(var ct,qe,se=u(X),fe=c(se),Te=r(de,V),$e=e(fe),ge=0,Et=ce||f,ot=w?Et(X,$e):D||J?Et(X,0):void 0;$e>ge;ge++)if((F||ge in fe)&&(qe=Te(ct=fe[ge],ge,se),M))if(w)ot[ge]=qe;else if(qe)switch(M){case 3:return!0;case 5:return ct;case 6:return ge;case 2:m(ot,ct)}else switch(M){case 4:return!1;case 7:m(ot,ct)}return $?-1:U||W?W:ot}};E.exports={forEach:T(0),map:T(1),filter:T(2),some:T(3),every:T(4),find:T(5),findIndex:T(6),filterReject:T(7)}},78375:(E,C,s)=>{"use strict";var r=s(2543),a=s(81010),c=s(33912),u=s(6381),e=s(33620),f=Math.min,m=[].lastIndexOf,T=!!m&&1/[1].lastIndexOf(1,-0)<0,M=e("lastIndexOf");E.exports=T||!M?function(U){if(T)return r(m,this,arguments)||0;var W=a(this),$=u(W),J=$-1;for(arguments.length>1&&(J=f(J,c(arguments[1]))),J<0&&(J=$+J);J>=0;J--)if(J in W&&W[J]===U)return J||0;return-1}:m},95913:(E,C,s)=>{"use strict";var r=s(55756),a=s(91840),c=s(63556),u=a("species");E.exports=function(e){return c>=51||!r(function(){var f=[];return(f.constructor={})[u]=function(){return{foo:1}},1!==f[e](Boolean).foo})}},33620:(E,C,s)=>{"use strict";var r=s(55756);E.exports=function(a,c){var u=[][a];return!!u&&r(function(){u.call(null,c||function(){return 1},1)})}},88908:(E,C,s)=>{"use strict";var r=s(61812),a=s(70267),c=s(20973),u=s(6381),e=TypeError,f=function(m){return function(T,M,w,D){r(M);var U=a(T),W=c(U),$=u(U),J=m?$-1:0,F=m?-1:1;if(w<2)for(;;){if(J in W){D=W[J],J+=F;break}if(J+=F,m?J<0:$<=J)throw e("Reduce of empty array with no initial value")}for(;m?J>=0:$>J;J+=F)J in W&&(D=M(D,W[J],J,U));return D}};E.exports={left:f(!1),right:f(!0)}},54716:(E,C,s)=>{"use strict";var r=s(49642),a=s(89735),c=TypeError,u=Object.getOwnPropertyDescriptor,e=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(f){return f instanceof TypeError}}();E.exports=e?function(f,m){if(a(f)&&!u(f,"length").writable)throw c("Cannot set read only .length");return f.length=m}:function(f,m){return f.length=m}},8681:(E,C,s)=>{"use strict";var r=s(19401),a=s(6381),c=s(46751),u=Array,e=Math.max;E.exports=function(f,m,T){for(var M=a(f),w=r(m,M),D=r(void 0===T?M:T,M),U=u(e(D-w,0)),W=0;w<D;w++,W++)c(U,W,f[w]);return U.length=W,U}},37591:(E,C,s)=>{"use strict";var r=s(23634);E.exports=r([].slice)},84865:(E,C,s)=>{"use strict";var r=s(8681),a=Math.floor,c=function(f,m){var T=f.length,M=a(T/2);return T<8?u(f,m):e(f,c(r(f,0,M),m),c(r(f,M),m),m)},u=function(f,m){for(var w,D,T=f.length,M=1;M<T;){for(D=M,w=f[M];D&&m(f[D-1],w)>0;)f[D]=f[--D];D!==M++&&(f[D]=w)}return f},e=function(f,m,T,M){for(var w=m.length,D=T.length,U=0,W=0;U<w||W<D;)f[U+W]=U<w&&W<D?M(m[U],T[W])<=0?m[U++]:T[W++]:U<w?m[U++]:T[W++];return f};E.exports=c},48045:(E,C,s)=>{"use strict";var r=s(89735),a=s(81177),c=s(77293),e=s(91840)("species"),f=Array;E.exports=function(m){var T;return r(m)&&(a(T=m.constructor)&&(T===f||r(T.prototype))||c(T)&&null===(T=T[e]))&&(T=void 0),void 0===T?f:T}},2103:(E,C,s)=>{"use strict";var r=s(48045);E.exports=function(a,c){return new(r(a))(0===c?0:c)}},93463:(E,C,s)=>{"use strict";var r=s(64562),a=s(40798);E.exports=function(c,u,e,f){try{return f?u(r(e)[0],e[1]):u(e)}catch(m){a(c,"throw",m)}}},49458:E=>{"use strict";E.exports=function(C,s){return 1===s?function(r,a){return r[C](a)}:function(r,a,c){return r[C](a,c)}}},5253:(E,C,s)=>{"use strict";var a=s(91840)("iterator"),c=!1;try{var u=0,e={next:function(){return{done:!!u++}},return:function(){c=!0}};e[a]=function(){return this},Array.from(e,function(){throw 2})}catch{}E.exports=function(f,m){try{if(!m&&!c)return!1}catch{return!1}var T=!1;try{var M={};M[a]=function(){return{next:function(){return{done:T=!0}}}},f(M)}catch{}return T}},49806:(E,C,s)=>{"use strict";var r=s(23634),a=r({}.toString),c=r("".slice);E.exports=function(u){return c(a(u),8,-1)}},35329:(E,C,s)=>{"use strict";var r=s(5552),a=s(52208),c=s(49806),e=s(91840)("toStringTag"),f=Object,m="Arguments"===c(function(){return arguments}());E.exports=r?c:function(M){var w,D,U;return void 0===M?"Undefined":null===M?"Null":"string"==typeof(D=function(M,w){try{return M[w]}catch{}}(w=f(M),e))?D:m?c(w):"Object"===(U=c(w))&&a(w.callee)?"Arguments":U}},83483:(E,C,s)=>{"use strict";var r=s(76781),a=s(25401),c=s(61812),u=s(54356),e=s(43550),f=s(41605),m=[].push;E.exports=function(M){var U,W,$,J,w=arguments.length,D=w>1?arguments[1]:void 0;return u(this),(U=void 0!==D)&&c(D),e(M)?new this:(W=[],U?($=0,J=r(D,w>2?arguments[2]:void 0),f(M,function(F){a(m,W,J(F,$++))})):f(M,m,{that:W}),new this(W))}},13067:(E,C,s)=>{"use strict";var r=s(37591);E.exports=function(){return new this(r(arguments))}},26650:(E,C,s)=>{"use strict";var r=s(83272),a=s(1707),c=s(84604),u=s(76781),e=s(54849),f=s(43550),m=s(41605),T=s(79077),M=s(28738),w=s(58014),D=s(49642),U=s(57867).fastKey,W=s(91093),$=W.set,J=W.getterFor;E.exports={getConstructor:function(F,X,de,V){var ce=F(function(ge,Et){e(ge,se),$(ge,{type:X,index:r(null),first:void 0,last:void 0,size:0}),D||(ge.size=0),f(Et)||m(Et,ge[V],{that:ge,AS_ENTRIES:de})}),se=ce.prototype,fe=J(X),Te=function(ge,Et,ot){var He,We,ct=fe(ge),qe=$e(ge,Et);return qe?qe.value=ot:(ct.last=qe={index:We=U(Et,!0),key:Et,value:ot,previous:He=ct.last,next:void 0,removed:!1},ct.first||(ct.first=qe),He&&(He.next=qe),D?ct.size++:ge.size++,"F"!==We&&(ct.index[We]=qe)),ge},$e=function(ge,Et){var qe,ot=fe(ge),ct=U(Et);if("F"!==ct)return ot.index[ct];for(qe=ot.first;qe;qe=qe.next)if(qe.key===Et)return qe};return c(se,{clear:function(){for(var ot=fe(this),ct=ot.index,qe=ot.first;qe;)qe.removed=!0,qe.previous&&(qe.previous=qe.previous.next=void 0),delete ct[qe.index],qe=qe.next;ot.first=ot.last=void 0,D?ot.size=0:this.size=0},delete:function(ge){var ot=fe(this),ct=$e(this,ge);if(ct){var qe=ct.next,He=ct.previous;delete ot.index[ct.index],ct.removed=!0,He&&(He.next=qe),qe&&(qe.previous=He),ot.first===ct&&(ot.first=qe),ot.last===ct&&(ot.last=He),D?ot.size--:this.size--}return!!ct},forEach:function(Et){for(var qe,ot=fe(this),ct=u(Et,arguments.length>1?arguments[1]:void 0);qe=qe?qe.next:ot.first;)for(ct(qe.value,qe.key,this);qe&&qe.removed;)qe=qe.previous},has:function(Et){return!!$e(this,Et)}}),c(se,de?{get:function(Et){var ot=$e(this,Et);return ot&&ot.value},set:function(Et,ot){return Te(this,0===Et?0:Et,ot)}}:{add:function(Et){return Te(this,Et=0===Et?0:Et,Et)}}),D&&a(se,"size",{configurable:!0,get:function(){return fe(this).size}}),ce},setStrong:function(F,X,de){var V=X+" Iterator",ce=J(X),se=J(V);T(F,X,function(fe,Te){$(this,{type:V,target:fe,state:ce(fe),kind:Te,last:void 0})},function(){for(var fe=se(this),Te=fe.kind,$e=fe.last;$e&&$e.removed;)$e=$e.previous;return fe.target&&(fe.last=$e=$e?$e.next:fe.state.first)?M("keys"===Te?$e.key:"values"===Te?$e.value:[$e.key,$e.value],!1):(fe.target=void 0,M(void 0,!0))},de?"entries":"values",!de,!0),w(X)}}},85116:(E,C,s)=>{"use strict";var r=s(90513),a=s(70009),c=s(57867),u=s(55756),e=s(65162),f=s(41605),m=s(54849),T=s(52208),M=s(77293),w=s(43550),D=s(85681),U=s(48011).f,W=s(68607).forEach,$=s(49642),J=s(91093),F=J.set,X=J.getterFor;E.exports=function(de,V,ce){var ot,se=-1!==de.indexOf("Map"),fe=-1!==de.indexOf("Weak"),Te=se?"set":"add",$e=a[de],ge=$e&&$e.prototype,Et={};if($&&T($e)&&(fe||ge.forEach&&!u(function(){(new $e).entries().next()}))){var ct=(ot=V(function(He,We){F(m(He,ct),{type:de,collection:new $e}),w(We)||f(We,He[Te],{that:He,AS_ENTRIES:se})})).prototype,qe=X(de);W(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(He){var We="add"===He||"set"===He;He in ge&&(!fe||"clear"!==He)&&e(ct,He,function(Le,Pt){var it=qe(this).collection;if(!We&&fe&&!M(Le))return"get"===He&&void 0;var Xt=it[He](0===Le?0:Le,Pt);return We?this:Xt})}),fe||U(ct,"size",{configurable:!0,get:function(){return qe(this).collection.size}})}else ot=ce.getConstructor(V,de,se,Te),c.enable();return D(ot,de,!1,!0),Et[de]=ot,r({global:!0,forced:!0},Et),fe||ce.setStrong(ot,de,se),ot}},65031:(E,C,s)=>{"use strict";var r=s(80112),a=s(59823),c=s(25525),u=s(48011);E.exports=function(e,f,m){for(var T=a(f),M=u.f,w=c.f,D=0;D<T.length;D++){var U=T[D];!r(e,U)&&(!m||!r(m,U))&&M(e,U,w(f,U))}}},79668:(E,C,s)=>{"use strict";var a=s(91840)("match");E.exports=function(c){var u=/./;try{"/./"[c](u)}catch{try{return u[a]=!1,"/./"[c](u)}catch{}}return!1}},37112:(E,C,s)=>{"use strict";var r=s(55756);E.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},28738:E=>{"use strict";E.exports=function(C,s){return{value:C,done:s}}},65162:(E,C,s)=>{"use strict";var r=s(49642),a=s(48011),c=s(51361);E.exports=r?function(u,e,f){return a.f(u,e,c(1,f))}:function(u,e,f){return u[e]=f,u}},51361:E=>{"use strict";E.exports=function(C,s){return{enumerable:!(1&C),configurable:!(2&C),writable:!(4&C),value:s}}},46751:(E,C,s)=>{"use strict";var r=s(62939),a=s(48011),c=s(51361);E.exports=function(u,e,f){var m=r(e);m in u?a.f(u,m,c(0,f)):u[m]=f}},1707:(E,C,s)=>{"use strict";var r=s(48011);E.exports=function(a,c,u){return r.f(a,c,u)}},42915:(E,C,s)=>{"use strict";var r=s(65162);E.exports=function(a,c,u,e){return e&&e.enumerable?a[c]=u:r(a,c,u),a}},84604:(E,C,s)=>{"use strict";var r=s(42915);E.exports=function(a,c,u){for(var e in c)u&&u.unsafe&&a[e]?a[e]=c[e]:r(a,e,c[e],u);return a}},34056:(E,C,s)=>{"use strict";var r=s(70009),a=Object.defineProperty;E.exports=function(c,u){try{a(r,c,{value:u,configurable:!0,writable:!0})}catch{r[c]=u}return u}},67236:(E,C,s)=>{"use strict";var r=s(7378),a=TypeError;E.exports=function(c,u){if(!delete c[u])throw a("Cannot delete property "+r(u)+" of "+r(c))}},49642:(E,C,s)=>{"use strict";var r=s(55756);E.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},59478:E=>{"use strict";var C="object"==typeof document&&document.all;E.exports={all:C,IS_HTMLDDA:typeof C>"u"&&void 0!==C}},96682:(E,C,s)=>{"use strict";var r=s(70009),a=s(77293),c=r.document,u=a(c)&&a(c.createElement);E.exports=function(e){return u?c.createElement(e):{}}},11594:E=>{"use strict";var C=TypeError;E.exports=function(r){if(r>9007199254740991)throw C("Maximum allowed index exceeded");return r}},44125:E=>{"use strict";E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},36410:(E,C,s)=>{"use strict";var a=s(86053).match(/firefox\/(\d+)/i);E.exports=!!a&&+a[1]},34008:(E,C,s)=>{"use strict";var r=s(31813),a=s(3787);E.exports=!r&&!a&&"object"==typeof window&&"object"==typeof document},70902:E=>{"use strict";E.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},31813:E=>{"use strict";E.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},5329:(E,C,s)=>{"use strict";var r=s(86053);E.exports=/MSIE|Trident/.test(r)},16137:(E,C,s)=>{"use strict";var r=s(86053);E.exports=/ipad|iphone|ipod/i.test(r)&&typeof Pebble<"u"},3877:(E,C,s)=>{"use strict";var r=s(86053);E.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},3787:(E,C,s)=>{"use strict";var r=s(70009),a=s(49806);E.exports="process"===a(r.process)},85308:(E,C,s)=>{"use strict";var r=s(86053);E.exports=/web0s(?!.*chrome)/i.test(r)},86053:E=>{"use strict";E.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},63556:(E,C,s)=>{"use strict";var m,T,r=s(70009),a=s(86053),c=r.process,u=r.Deno,e=c&&c.versions||u&&u.version,f=e&&e.v8;f&&(T=(m=f.split("."))[0]>0&&m[0]<4?1:+(m[0]+m[1])),!T&&a&&(!(m=a.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=a.match(/Chrome\/(\d+)/))&&(T=+m[1]),E.exports=T},34545:(E,C,s)=>{"use strict";var a=s(86053).match(/AppleWebKit\/(\d+)\./);E.exports=!!a&&+a[1]},97911:(E,C,s)=>{"use strict";var r=s(13544);E.exports=function(a){return r[a+"Prototype"]}},44939:E=>{"use strict";E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},40039:(E,C,s)=>{"use strict";var r=s(23634),a=Error,c=r("".replace),u=String(a("zxcasd").stack),e=/\n\s*at [^:]*:[^\n]*/,f=e.test(u);E.exports=function(m,T){if(f&&"string"==typeof m&&!a.prepareStackTrace)for(;T--;)m=c(m,e,"");return m}},77732:(E,C,s)=>{"use strict";var r=s(65162),a=s(40039),c=s(50499),u=Error.captureStackTrace;E.exports=function(e,f,m,T){c&&(u?u(e,f):r(e,"stack",a(m,T)))}},50499:(E,C,s)=>{"use strict";var r=s(55756),a=s(51361);E.exports=!r(function(){var c=Error("a");return!("stack"in c)||(Object.defineProperty(c,"stack",a(1,7)),7!==c.stack)})},90513:(E,C,s)=>{"use strict";var r=s(70009),a=s(2543),c=s(64350),u=s(52208),e=s(25525).f,f=s(79482),m=s(13544),T=s(76781),M=s(65162),w=s(80112),D=function(U){var W=function($,J,F){if(this instanceof W){switch(arguments.length){case 0:return new U;case 1:return new U($);case 2:return new U($,J)}return new U($,J,F)}return a(U,this,arguments)};return W.prototype=U.prototype,W};E.exports=function(U,W){var se,fe,Te,$e,ge,Et,ot,ct,qe,$=U.target,J=U.global,F=U.stat,X=U.proto,de=J?r:F?r[$]:(r[$]||{}).prototype,V=J?m:m[$]||M(m,$,{})[$],ce=V.prototype;for($e in W)fe=!(se=f(J?$e:$+(F?".":"#")+$e,U.forced))&&de&&w(de,$e),Et=V[$e],fe&&(ot=U.dontCallGetSet?(qe=e(de,$e))&&qe.value:de[$e]),ge=fe&&ot?ot:W[$e],(!fe||typeof Et!=typeof ge)&&(ct=U.bind&&fe?T(ge,r):U.wrap&&fe?D(ge):X&&u(ge)?c(ge):ge,(U.sham||ge&&ge.sham||Et&&Et.sham)&&M(ct,"sham",!0),M(V,$e,ct),X&&(w(m,Te=$+"Prototype")||M(m,Te,{}),M(m[Te],$e,ge),U.real&&ce&&(se||!ce[$e])&&M(ce,$e,ge)))}},55756:E=>{"use strict";E.exports=function(C){try{return!!C()}catch{return!0}}},3124:(E,C,s)=>{"use strict";var r=s(55756);E.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},2543:(E,C,s)=>{"use strict";var r=s(29046),a=Function.prototype,c=a.apply,u=a.call;E.exports="object"==typeof Reflect&&Reflect.apply||(r?u.bind(c):function(){return u.apply(c,arguments)})},76781:(E,C,s)=>{"use strict";var r=s(64350),a=s(61812),c=s(29046),u=r(r.bind);E.exports=function(e,f){return a(e),void 0===f?e:c?u(e,f):function(){return e.apply(f,arguments)}}},29046:(E,C,s)=>{"use strict";var r=s(55756);E.exports=!r(function(){var a=function(){}.bind();return"function"!=typeof a||a.hasOwnProperty("prototype")})},44197:(E,C,s)=>{"use strict";var r=s(23634),a=s(61812),c=s(77293),u=s(80112),e=s(37591),f=s(29046),m=Function,T=r([].concat),M=r([].join),w={},D=function(U,W,$){if(!u(w,W)){for(var J=[],F=0;F<W;F++)J[F]="a["+F+"]";w[W]=m("C,a","return new C("+M(J,",")+")")}return w[W](U,$)};E.exports=f?m.bind:function(W){var $=a(this),J=$.prototype,F=e(arguments,1),X=function(){var V=T(F,e(arguments));return this instanceof X?D($,V.length,V):$.apply(W,V)};return c(J)&&(X.prototype=J),X}},25401:(E,C,s)=>{"use strict";var r=s(29046),a=Function.prototype.call;E.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},29862:(E,C,s)=>{"use strict";var r=s(49642),a=s(80112),c=Function.prototype,u=r&&Object.getOwnPropertyDescriptor,e=a(c,"name"),f=e&&"something"===function(){}.name,m=e&&(!r||r&&u(c,"name").configurable);E.exports={EXISTS:e,PROPER:f,CONFIGURABLE:m}},13325:(E,C,s)=>{"use strict";var r=s(23634),a=s(61812);E.exports=function(c,u,e){try{return r(a(Object.getOwnPropertyDescriptor(c,u)[e]))}catch{}}},64350:(E,C,s)=>{"use strict";var r=s(49806),a=s(23634);E.exports=function(c){if("Function"===r(c))return a(c)}},23634:(E,C,s)=>{"use strict";var r=s(29046),a=Function.prototype,c=a.call,u=r&&a.bind.bind(c,c);E.exports=r?u:function(e){return function(){return c.apply(e,arguments)}}},7365:(E,C,s)=>{"use strict";var r=s(13544),a=s(70009),c=s(52208),u=function(e){return c(e)?e:void 0};E.exports=function(e,f){return arguments.length<2?u(r[e])||u(a[e]):r[e]&&r[e][f]||a[e]&&a[e][f]}},34014:(E,C,s)=>{"use strict";var r=s(35329),a=s(34778),c=s(43550),u=s(84394),f=s(91840)("iterator");E.exports=function(m){if(!c(m))return a(m,f)||a(m,"@@iterator")||u[r(m)]}},88055:(E,C,s)=>{"use strict";var r=s(25401),a=s(61812),c=s(64562),u=s(7378),e=s(34014),f=TypeError;E.exports=function(m,T){var M=arguments.length<2?e(m):T;if(a(M))return c(r(M,m));throw f(u(m)+" is not iterable")}},32092:(E,C,s)=>{"use strict";var r=s(23634),a=s(89735),c=s(52208),u=s(49806),e=s(41433),f=r([].push);E.exports=function(m){if(c(m))return m;if(a(m)){for(var T=m.length,M=[],w=0;w<T;w++){var D=m[w];"string"==typeof D?f(M,D):("number"==typeof D||"Number"===u(D)||"String"===u(D))&&f(M,e(D))}var U=M.length,W=!0;return function($,J){if(W)return W=!1,J;if(a(this))return J;for(var F=0;F<U;F++)if(M[F]===$)return J}}}},34778:(E,C,s)=>{"use strict";var r=s(61812),a=s(43550);E.exports=function(c,u){var e=c[u];return a(e)?void 0:r(e)}},70009:function(E){"use strict";var C=function(s){return s&&s.Math===Math&&s};E.exports=C("object"==typeof globalThis&&globalThis)||C("object"==typeof window&&window)||C("object"==typeof self&&self)||C("object"==typeof global&&global)||function(){return this}()||this||Function("return this")()},80112:(E,C,s)=>{"use strict";var r=s(23634),a=s(70267),c=r({}.hasOwnProperty);E.exports=Object.hasOwn||function(e,f){return c(a(e),f)}},45599:E=>{"use strict";E.exports={}},52912:E=>{"use strict";E.exports=function(C,s){try{1===arguments.length?console.error(C):console.error(C,s)}catch{}}},55690:(E,C,s)=>{"use strict";var r=s(7365);E.exports=r("document","documentElement")},50495:(E,C,s)=>{"use strict";var r=s(49642),a=s(55756),c=s(96682);E.exports=!r&&!a(function(){return 7!==Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a})},20973:(E,C,s)=>{"use strict";var r=s(23634),a=s(55756),c=s(49806),u=Object,e=r("".split);E.exports=a(function(){return!u("z").propertyIsEnumerable(0)})?function(f){return"String"===c(f)?e(f,""):u(f)}:u},26699:(E,C,s)=>{"use strict";var r=s(23634),a=s(52208),c=s(24766),u=r(Function.toString);a(c.inspectSource)||(c.inspectSource=function(e){return u(e)}),E.exports=c.inspectSource},33411:(E,C,s)=>{"use strict";var r=s(77293),a=s(65162);E.exports=function(c,u){r(u)&&"cause"in u&&a(c,"cause",u.cause)}},57867:(E,C,s)=>{"use strict";var r=s(90513),a=s(23634),c=s(45599),u=s(77293),e=s(80112),f=s(48011).f,m=s(51518),T=s(62469),M=s(46401),w=s(13708),D=s(3124),U=!1,W=w("meta"),$=0,J=function(se){f(se,W,{value:{objectID:"O"+$++,weakData:{}}})},ce=E.exports={enable:function(){ce.enable=function(){},U=!0;var se=m.f,fe=a([].splice),Te={};Te[W]=1,se(Te).length&&(m.f=function($e){for(var ge=se($e),Et=0,ot=ge.length;Et<ot;Et++)if(ge[Et]===W){fe(ge,Et,1);break}return ge},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:T.f}))},fastKey:function(se,fe){if(!u(se))return"symbol"==typeof se?se:("string"==typeof se?"S":"P")+se;if(!e(se,W)){if(!M(se))return"F";if(!fe)return"E";J(se)}return se[W].objectID},getWeakData:function(se,fe){if(!e(se,W)){if(!M(se))return!0;if(!fe)return!1;J(se)}return se[W].weakData},onFreeze:function(se){return D&&U&&M(se)&&!e(se,W)&&J(se),se}};c[W]=!0},91093:(E,C,s)=>{"use strict";var U,W,$,r=s(81101),a=s(70009),c=s(77293),u=s(65162),e=s(80112),f=s(24766),m=s(86066),T=s(45599),M="Object already initialized",w=a.TypeError;if(r||f.state){var X=f.state||(f.state=new(0,a.WeakMap));X.get=X.get,X.has=X.has,X.set=X.set,U=function(V,ce){if(X.has(V))throw w(M);return ce.facade=V,X.set(V,ce),ce},W=function(V){return X.get(V)||{}},$=function(V){return X.has(V)}}else{var de=m("state");T[de]=!0,U=function(V,ce){if(e(V,de))throw w(M);return ce.facade=V,u(V,de,ce),ce},W=function(V){return e(V,de)?V[de]:{}},$=function(V){return e(V,de)}}E.exports={set:U,get:W,has:$,enforce:function(V){return $(V)?W(V):U(V,{})},getterFor:function(V){return function(ce){var se;if(!c(ce)||(se=W(ce)).type!==V)throw w("Incompatible receiver, "+V+" required");return se}}}},39918:(E,C,s)=>{"use strict";var r=s(91840),a=s(84394),c=r("iterator"),u=Array.prototype;E.exports=function(e){return void 0!==e&&(a.Array===e||u[c]===e)}},89735:(E,C,s)=>{"use strict";var r=s(49806);E.exports=Array.isArray||function(c){return"Array"===r(c)}},52208:(E,C,s)=>{"use strict";var r=s(59478),a=r.all;E.exports=r.IS_HTMLDDA?function(c){return"function"==typeof c||c===a}:function(c){return"function"==typeof c}},81177:(E,C,s)=>{"use strict";var r=s(23634),a=s(55756),c=s(52208),u=s(35329),e=s(7365),f=s(26699),m=function(){},T=[],M=e("Reflect","construct"),w=/^\s*(?:class|function)\b/,D=r(w.exec),U=!w.exec(m),W=function(F){if(!c(F))return!1;try{return M(m,T,F),!0}catch{return!1}},$=function(F){if(!c(F))return!1;switch(u(F)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return U||!!D(w,f(F))}catch{return!0}};$.sham=!0,E.exports=!M||a(function(){var J;return W(W.call)||!W(Object)||!W(function(){J=!0})||J})?$:W},27029:(E,C,s)=>{"use strict";var r=s(80112);E.exports=function(a){return void 0!==a&&(r(a,"value")||r(a,"writable"))}},79482:(E,C,s)=>{"use strict";var r=s(55756),a=s(52208),c=/#|\.prototype\./,u=function(M,w){var D=f[e(M)];return D===T||D!==m&&(a(w)?r(w):!!w)},e=u.normalize=function(M){return String(M).replace(c,".").toLowerCase()},f=u.data={},m=u.NATIVE="N",T=u.POLYFILL="P";E.exports=u},43550:E=>{"use strict";E.exports=function(C){return null==C}},77293:(E,C,s)=>{"use strict";var r=s(52208),a=s(59478),c=a.all;E.exports=a.IS_HTMLDDA?function(u){return"object"==typeof u?null!==u:r(u)||u===c}:function(u){return"object"==typeof u?null!==u:r(u)}},81124:E=>{"use strict";E.exports=!0},60373:(E,C,s)=>{"use strict";var r=s(77293),a=s(49806),u=s(91840)("match");E.exports=function(e){var f;return r(e)&&(void 0!==(f=e[u])?!!f:"RegExp"===a(e))}},74717:(E,C,s)=>{"use strict";var r=s(7365),a=s(52208),c=s(23336),u=s(99554),e=Object;E.exports=u?function(f){return"symbol"==typeof f}:function(f){var m=r("Symbol");return a(m)&&c(m.prototype,e(f))}},87463:(E,C,s)=>{"use strict";var r=s(25401);E.exports=function(a,c,u){for(var m,T,e=u?a:a.iterator,f=a.next;!(m=r(f,e)).done;)if(void 0!==(T=c(m.value)))return T}},41605:(E,C,s)=>{"use strict";var r=s(76781),a=s(25401),c=s(64562),u=s(7378),e=s(39918),f=s(6381),m=s(23336),T=s(88055),M=s(34014),w=s(40798),D=TypeError,U=function($,J){this.stopped=$,this.result=J},W=U.prototype;E.exports=function($,J,F){var Te,$e,ge,Et,ot,ct,qe,de=!(!F||!F.AS_ENTRIES),V=!(!F||!F.IS_RECORD),ce=!(!F||!F.IS_ITERATOR),se=!(!F||!F.INTERRUPTED),fe=r(J,F&&F.that),He=function(Le){return Te&&w(Te,"normal",Le),new U(!0,Le)},We=function(Le){return de?(c(Le),se?fe(Le[0],Le[1],He):fe(Le[0],Le[1])):se?fe(Le,He):fe(Le)};if(V)Te=$.iterator;else if(ce)Te=$;else{if(!($e=M($)))throw D(u($)+" is not iterable");if(e($e)){for(ge=0,Et=f($);Et>ge;ge++)if((ot=We($[ge]))&&m(W,ot))return ot;return new U(!1)}Te=T($,$e)}for(ct=V?$.next:Te.next;!(qe=a(ct,Te)).done;){try{ot=We(qe.value)}catch(Le){w(Te,"throw",Le)}if("object"==typeof ot&&ot&&m(W,ot))return ot}return new U(!1)}},40798:(E,C,s)=>{"use strict";var r=s(25401),a=s(64562),c=s(34778);E.exports=function(u,e,f){var m,T;a(u);try{if(!(m=c(u,"return"))){if("throw"===e)throw f;return f}m=r(m,u)}catch(M){T=!0,m=M}if("throw"===e)throw f;if(T)throw m;return a(m),f}},14554:(E,C,s)=>{"use strict";var r=s(38432).IteratorPrototype,a=s(83272),c=s(51361),u=s(85681),e=s(84394),f=function(){return this};E.exports=function(m,T,M,w){var D=T+" Iterator";return m.prototype=a(r,{next:c(+!w,M)}),u(m,D,!1,!0),e[D]=f,m}},79077:(E,C,s)=>{"use strict";var r=s(90513),a=s(25401),c=s(81124),u=s(29862),e=s(52208),f=s(14554),m=s(31426),T=s(54945),M=s(85681),w=s(65162),D=s(42915),U=s(91840),W=s(84394),$=s(38432),J=u.PROPER,F=u.CONFIGURABLE,X=$.IteratorPrototype,de=$.BUGGY_SAFARI_ITERATORS,V=U("iterator"),se="values",fe="entries",Te=function(){return this};E.exports=function($e,ge,Et,ot,ct,qe,He){f(Et,ge,ot);var Rn,At,qt,We=function(sn){if(sn===ct&&cn)return cn;if(!de&&sn&&sn in it)return it[sn];switch(sn){case"keys":case se:case fe:return function(){return new Et(this,sn)}}return function(){return new Et(this)}},Le=ge+" Iterator",Pt=!1,it=$e.prototype,Xt=it[V]||it["@@iterator"]||ct&&it[ct],cn=!de&&Xt||We(ct),pn="Array"===ge&&it.entries||Xt;if(pn&&(Rn=m(pn.call(new $e)))!==Object.prototype&&Rn.next&&(!c&&m(Rn)!==X&&(T?T(Rn,X):e(Rn[V])||D(Rn,V,Te)),M(Rn,Le,!0,!0),c&&(W[Le]=Te)),J&&ct===se&&Xt&&Xt.name!==se&&(!c&&F?w(it,"name",se):(Pt=!0,cn=function(){return a(Xt,this)})),ct)if(At={values:We(se),keys:qe?cn:We("keys"),entries:We(fe)},He)for(qt in At)(de||Pt||!(qt in it))&&D(it,qt,At[qt]);else r({target:ge,proto:!0,forced:de||Pt},At);return(!c||He)&&it[V]!==cn&&D(it,V,cn,{name:ct}),W[ge]=cn,At}},38432:(E,C,s)=>{"use strict";var D,U,W,r=s(55756),a=s(52208),c=s(77293),u=s(83272),e=s(31426),f=s(42915),m=s(91840),T=s(81124),M=m("iterator"),w=!1;[].keys&&("next"in(W=[].keys())?(U=e(e(W)))!==Object.prototype&&(D=U):w=!0),!c(D)||r(function(){var J={};return D[M].call(J)!==J})?D={}:T&&(D=u(D)),a(D[M])||f(D,M,function(){return this}),E.exports={IteratorPrototype:D,BUGGY_SAFARI_ITERATORS:w}},84394:E=>{"use strict";E.exports={}},6381:(E,C,s)=>{"use strict";var r=s(48869);E.exports=function(a){return r(a.length)}},60077:(E,C,s)=>{"use strict";var r=s(7365),a=s(49458),c=r("Map");E.exports={Map:c,set:a("set",2),get:a("get",1),has:a("has",1),remove:a("delete",1),proto:c.prototype}},21515:(E,C,s)=>{"use strict";var r=s(87463);E.exports=function(a,c,u){return u?r(a.entries(),function(e){return c(e[1],e[0])},!0):a.forEach(c)}},57729:(E,C,s)=>{"use strict";var r=s(25401),a=s(61812),c=s(52208),u=s(64562),e=TypeError;E.exports=function(m,T){var $,M=u(this),w=a(M.get),D=a(M.has),U=a(M.set),W=arguments.length>2?arguments[2]:void 0;if(!c(T)&&!c(W))throw e("At least one callback required");return r(D,M,m)?($=r(w,M,m),c(T)&&($=T($),r(U,M,m,$))):c(W)&&($=W(),r(U,M,m,$)),$}},8651:E=>{"use strict";var C=Math.ceil,s=Math.floor;E.exports=Math.trunc||function(a){var c=+a;return(c>0?s:C)(c)}},53460:(E,C,s)=>{"use strict";var F,X,de,V,ce,r=s(70009),a=s(76781),c=s(25525).f,u=s(37352).set,e=s(70918),f=s(3877),m=s(16137),T=s(85308),M=s(3787),w=r.MutationObserver||r.WebKitMutationObserver,D=r.document,U=r.process,W=r.Promise,$=c(r,"queueMicrotask"),J=$&&$.value;if(!J){var se=new e,fe=function(){var Te,$e;for(M&&(Te=U.domain)&&Te.exit();$e=se.get();)try{$e()}catch(ge){throw se.head&&F(),ge}Te&&Te.enter()};f||M||T||!w||!D?!m&&W&&W.resolve?((V=W.resolve(void 0)).constructor=W,ce=a(V.then,V),F=function(){ce(fe)}):M?F=function(){U.nextTick(fe)}:(u=a(u,r),F=function(){u(fe)}):(X=!0,de=D.createTextNode(""),new w(fe).observe(de,{characterData:!0}),F=function(){de.data=X=!X}),J=function(Te){se.head||F(),se.add(Te)}}E.exports=J},54256:(E,C,s)=>{"use strict";var r=s(61812),a=TypeError,c=function(u){var e,f;this.promise=new u(function(m,T){if(void 0!==e||void 0!==f)throw a("Bad Promise constructor");e=m,f=T}),this.resolve=r(e),this.reject=r(f)};E.exports.f=function(u){return new c(u)}},63313:(E,C,s)=>{"use strict";var r=s(41433);E.exports=function(a,c){return void 0===a?arguments.length<2?"":c:r(a)}},56421:(E,C,s)=>{"use strict";var r=s(60373),a=TypeError;E.exports=function(c){if(r(c))throw a("The method doesn't accept regular expressions");return c}},75791:(E,C,s)=>{"use strict";var r=s(49642),a=s(23634),c=s(25401),u=s(55756),e=s(28474),f=s(47238),m=s(25558),T=s(70267),M=s(20973),w=Object.assign,D=Object.defineProperty,U=a([].concat);E.exports=!w||u(function(){if(r&&1!==w({b:1},w(D({},"a",{enumerable:!0,get:function(){D(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var W={},$={},J=Symbol("assign detection"),F="abcdefghijklmnopqrst";return W[J]=7,F.split("").forEach(function(X){$[X]=X}),7!==w({},W)[J]||e(w({},$)).join("")!==F})?function($,J){for(var F=T($),X=arguments.length,de=1,V=f.f,ce=m.f;X>de;)for(var ge,se=M(arguments[de++]),fe=V?U(e(se),V(se)):e(se),Te=fe.length,$e=0;Te>$e;)ge=fe[$e++],(!r||c(ce,se,ge))&&(F[ge]=se[ge]);return F}:w},83272:(E,C,s)=>{"use strict";var X,r=s(64562),a=s(25913),c=s(44939),u=s(45599),e=s(55690),f=s(96682),m=s(86066),w="prototype",D="script",U=m("IE_PROTO"),W=function(){},$=function(V){return"<"+D+">"+V+"</"+D+">"},J=function(V){V.write($("")),V.close();var ce=V.parentWindow.Object;return V=null,ce},de=function(){try{X=new ActiveXObject("htmlfile")}catch{}de=typeof document<"u"?document.domain&&X?J(X):function(){var se,V=f("iframe"),ce="java"+D+":";return V.style.display="none",e.appendChild(V),V.src=String(ce),(se=V.contentWindow.document).open(),se.write($("document.F=Object")),se.close(),se.F}():J(X);for(var V=c.length;V--;)delete de[w][c[V]];return de()};u[U]=!0,E.exports=Object.create||function(ce,se){var fe;return null!==ce?(W[w]=r(ce),fe=new W,W[w]=null,fe[U]=ce):fe=de(),void 0===se?fe:a.f(fe,se)}},25913:(E,C,s)=>{"use strict";var r=s(49642),a=s(47960),c=s(48011),u=s(64562),e=s(81010),f=s(28474);C.f=r&&!a?Object.defineProperties:function(T,M){u(T);for(var $,w=e(M),D=f(M),U=D.length,W=0;U>W;)c.f(T,$=D[W++],w[$]);return T}},48011:(E,C,s)=>{"use strict";var r=s(49642),a=s(50495),c=s(47960),u=s(64562),e=s(62939),f=TypeError,m=Object.defineProperty,T=Object.getOwnPropertyDescriptor,M="enumerable",w="configurable",D="writable";C.f=r?c?function(W,$,J){if(u(W),$=e($),u(J),"function"==typeof W&&"prototype"===$&&"value"in J&&D in J&&!J[D]){var F=T(W,$);F&&F[D]&&(W[$]=J.value,J={configurable:w in J?J[w]:F[w],enumerable:M in J?J[M]:F[M],writable:!1})}return m(W,$,J)}:m:function(W,$,J){if(u(W),$=e($),u(J),a)try{return m(W,$,J)}catch{}if("get"in J||"set"in J)throw f("Accessors not supported");return"value"in J&&(W[$]=J.value),W}},25525:(E,C,s)=>{"use strict";var r=s(49642),a=s(25401),c=s(25558),u=s(51361),e=s(81010),f=s(62939),m=s(80112),T=s(50495),M=Object.getOwnPropertyDescriptor;C.f=r?M:function(D,U){if(D=e(D),U=f(U),T)try{return M(D,U)}catch{}if(m(D,U))return u(!a(c.f,D,U),D[U])}},62469:(E,C,s)=>{"use strict";var r=s(49806),a=s(81010),c=s(51518).f,u=s(8681),e="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(T){return e&&"Window"===r(T)?function(m){try{return c(m)}catch{return u(e)}}(T):c(a(T))}},51518:(E,C,s)=>{"use strict";var r=s(66250),c=s(44939).concat("length","prototype");C.f=Object.getOwnPropertyNames||function(e){return r(e,c)}},47238:(E,C)=>{"use strict";C.f=Object.getOwnPropertySymbols},31426:(E,C,s)=>{"use strict";var r=s(80112),a=s(52208),c=s(70267),u=s(86066),e=s(37112),f=u("IE_PROTO"),m=Object,T=m.prototype;E.exports=e?m.getPrototypeOf:function(M){var w=c(M);if(r(w,f))return w[f];var D=w.constructor;return a(D)&&w instanceof D?D.prototype:w instanceof m?T:null}},46401:(E,C,s)=>{"use strict";var r=s(55756),a=s(77293),c=s(49806),u=s(76318),e=Object.isExtensible,f=r(function(){e(1)});E.exports=f||u?function(T){return!(!a(T)||u&&"ArrayBuffer"===c(T))&&(!e||e(T))}:e},23336:(E,C,s)=>{"use strict";var r=s(23634);E.exports=r({}.isPrototypeOf)},66250:(E,C,s)=>{"use strict";var r=s(23634),a=s(80112),c=s(81010),u=s(95171).indexOf,e=s(45599),f=r([].push);E.exports=function(m,T){var U,M=c(m),w=0,D=[];for(U in M)!a(e,U)&&a(M,U)&&f(D,U);for(;T.length>w;)a(M,U=T[w++])&&(~u(D,U)||f(D,U));return D}},28474:(E,C,s)=>{"use strict";var r=s(66250),a=s(44939);E.exports=Object.keys||function(u){return r(u,a)}},25558:(E,C)=>{"use strict";var s={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!s.call({1:2},1);C.f=a?function(u){var e=r(this,u);return!!e&&e.enumerable}:s},54945:(E,C,s)=>{"use strict";var r=s(13325),a=s(64562),c=s(93221);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f,u=!1,e={};try{(f=r(Object.prototype,"__proto__","set"))(e,[]),u=e instanceof Array}catch{}return function(T,M){return a(T),c(M),u?f(T,M):T.__proto__=M,T}}():void 0)},36805:(E,C,s)=>{"use strict";var r=s(49642),a=s(55756),c=s(23634),u=s(31426),e=s(28474),f=s(81010),T=c(s(25558).f),M=c([].push),w=r&&a(function(){var U=Object.create(null);return U[2]=2,!T(U,2)}),D=function(U){return function(W){for(var ce,$=f(W),J=e($),F=w&&null===u($),X=J.length,de=0,V=[];X>de;)ce=J[de++],(!r||(F?ce in $:T($,ce)))&&M(V,U?[ce,$[ce]]:$[ce]);return V}};E.exports={entries:D(!0),values:D(!1)}},97686:(E,C,s)=>{"use strict";var r=s(5552),a=s(35329);E.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},71689:(E,C,s)=>{"use strict";var r=s(25401),a=s(52208),c=s(77293),u=TypeError;E.exports=function(e,f){var m,T;if("string"===f&&a(m=e.toString)&&!c(T=r(m,e))||a(m=e.valueOf)&&!c(T=r(m,e))||"string"!==f&&a(m=e.toString)&&!c(T=r(m,e)))return T;throw u("Can't convert object to primitive value")}},59823:(E,C,s)=>{"use strict";var r=s(7365),a=s(23634),c=s(51518),u=s(47238),e=s(64562),f=a([].concat);E.exports=r("Reflect","ownKeys")||function(T){var M=c.f(e(T)),w=u.f;return w?f(M,w(T)):M}},13544:E=>{"use strict";E.exports={}},26975:E=>{"use strict";E.exports=function(C){try{return{error:!1,value:C()}}catch(s){return{error:!0,value:s}}}},9936:(E,C,s)=>{"use strict";var r=s(70009),a=s(46456),c=s(52208),u=s(79482),e=s(26699),f=s(91840),m=s(34008),T=s(31813),M=s(81124),w=s(63556),D=a&&a.prototype,U=f("species"),W=!1,$=c(r.PromiseRejectionEvent),J=u("Promise",function(){var F=e(a),X=F!==String(a);if(!X&&66===w||M&&(!D.catch||!D.finally))return!0;if(!w||w<51||!/native code/.test(F)){var de=new a(function(se){se(1)}),V=function(se){se(function(){},function(){})};if((de.constructor={})[U]=V,!(W=de.then(function(){})instanceof V))return!0}return!X&&(m||T)&&!$});E.exports={CONSTRUCTOR:J,REJECTION_EVENT:$,SUBCLASSING:W}},46456:(E,C,s)=>{"use strict";var r=s(70009);E.exports=r.Promise},25524:(E,C,s)=>{"use strict";var r=s(64562),a=s(77293),c=s(54256);E.exports=function(u,e){if(r(u),a(e)&&e.constructor===u)return e;var f=c.f(u);return(0,f.resolve)(e),f.promise}},95758:(E,C,s)=>{"use strict";var r=s(46456),a=s(5253),c=s(9936).CONSTRUCTOR;E.exports=c||!a(function(u){r.all(u).then(void 0,function(){})})},70918:E=>{"use strict";var C=function(){this.head=null,this.tail=null};C.prototype={add:function(s){var r={item:s,next:null},a=this.tail;a?a.next=r:this.head=r,this.tail=r},get:function(){var s=this.head;if(s)return null===(this.head=s.next)&&(this.tail=null),s.item}},E.exports=C},67917:(E,C,s)=>{"use strict";var r=s(43550),a=TypeError;E.exports=function(c){if(r(c))throw a("Can't call method on "+c);return c}},29627:E=>{"use strict";E.exports=function(C,s){return C===s||C!=C&&s!=s}},53814:(E,C,s)=>{"use strict";var w,r=s(70009),a=s(2543),c=s(52208),u=s(70902),e=s(86053),f=s(37591),m=s(15086),T=r.Function,M=/MSIE .\./.test(e)||u&&((w=r.Bun.version.split(".")).length<3||"0"===w[0]&&(w[1]<3||"3"===w[1]&&"0"===w[2]));E.exports=function(w,D){var U=D?2:1;return M?function(W,$){var J=m(arguments.length,1)>U,F=c(W)?W:T(W),X=J?f(arguments,U):[],de=J?function(){a(F,this,X)}:F;return D?w(de,$):w(de)}:w}},58014:(E,C,s)=>{"use strict";var r=s(7365),a=s(1707),c=s(91840),u=s(49642),e=c("species");E.exports=function(f){var m=r(f);u&&m&&!m[e]&&a(m,e,{configurable:!0,get:function(){return this}})}},85681:(E,C,s)=>{"use strict";var r=s(5552),a=s(48011).f,c=s(65162),u=s(80112),e=s(97686),m=s(91840)("toStringTag");E.exports=function(T,M,w,D){if(T){var U=w?T:T.prototype;u(U,m)||a(U,m,{configurable:!0,value:M}),D&&!r&&c(U,"toString",e)}}},86066:(E,C,s)=>{"use strict";var r=s(64579),a=s(13708),c=r("keys");E.exports=function(u){return c[u]||(c[u]=a(u))}},24766:(E,C,s)=>{"use strict";var r=s(70009),a=s(34056),c="__core-js_shared__",u=r[c]||a(c,{});E.exports=u},64579:(E,C,s)=>{"use strict";var r=s(81124),a=s(24766);(E.exports=function(c,u){return a[c]||(a[c]=void 0!==u?u:{})})("versions",[]).push({version:"3.32.2",mode:r?"pure":"global",copyright:"\xa9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE",source:"https://github.com/zloirock/core-js"})},95869:(E,C,s)=>{"use strict";var r=s(64562),a=s(54356),c=s(43550),e=s(91840)("species");E.exports=function(f,m){var M,T=r(f).constructor;return void 0===T||c(M=r(T)[e])?m:a(M)}},61557:(E,C,s)=>{"use strict";var r=s(23634),a=s(33912),c=s(41433),u=s(67917),e=r("".charAt),f=r("".charCodeAt),m=r("".slice),T=function(M){return function(w,D){var J,F,U=c(u(w)),W=a(D),$=U.length;return W<0||W>=$?M?"":void 0:(J=f(U,W))<55296||J>56319||W+1===$||(F=f(U,W+1))<56320||F>57343?M?e(U,W):J:M?m(U,W,W+2):F-56320+(J-55296<<10)+65536}};E.exports={codeAt:T(!1),charAt:T(!0)}},26662:(E,C,s)=>{"use strict";var r=s(23634),a=2147483647,D=/[^\0-\u007E]/,U=/[.\u3002\uFF0E\uFF61]/g,W="Overflow: input needs wider integers to process",J=RangeError,F=r(U.exec),X=Math.floor,de=String.fromCharCode,V=r("".charCodeAt),ce=r([].join),se=r([].push),fe=r("".replace),Te=r("".split),$e=r("".toLowerCase),Et=function(qe){return qe+22+75*(qe<26)},ot=function(qe,He,We){var Le=0;for(qe=We?X(qe/700):qe>>1,qe+=X(qe/He);qe>455;)qe=X(qe/35),Le+=36;return X(Le+36*qe/(qe+38))},ct=function(qe){var He=[];qe=function(qe){for(var He=[],We=0,Le=qe.length;We<Le;){var Pt=V(qe,We++);if(Pt>=55296&&Pt<=56319&&We<Le){var it=V(qe,We++);56320==(64512&it)?se(He,((1023&Pt)<<10)+(1023&it)+65536):(se(He,Pt),We--)}else se(He,Pt)}return He}(qe);var Xt,cn,We=qe.length,Le=128,Pt=0,it=72;for(Xt=0;Xt<qe.length;Xt++)(cn=qe[Xt])<128&&se(He,de(cn));var pn=He.length,Rn=pn;for(pn&&se(He,"-");Rn<We;){var At=a;for(Xt=0;Xt<qe.length;Xt++)(cn=qe[Xt])>=Le&&cn<At&&(At=cn);var qt=Rn+1;if(At-Le>X((a-Pt)/qt))throw J(W);for(Pt+=(At-Le)*qt,Le=At,Xt=0;Xt<qe.length;Xt++){if((cn=qe[Xt])<Le&&++Pt>a)throw J(W);if(cn===Le){for(var sn=Pt,fn=36;;){var xn=fn<=it?1:fn>=it+26?26:fn-it;if(sn<xn)break;var Kr=sn-xn,Or=36-xn;se(He,de(Et(xn+Kr%Or))),sn=X(Kr/Or),fn+=36}se(He,de(Et(sn))),it=ot(Pt,qt,Rn===pn),Pt=0,Rn++}}Pt++,Le++}return ce(He,"")};E.exports=function(qe){var Le,Pt,He=[],We=Te(fe($e(qe),U,"."),".");for(Le=0;Le<We.length;Le++)se(He,F(D,Pt=We[Le])?"xn--"+ct(Pt):Pt);return ce(He,".")}},53411:(E,C,s)=>{"use strict";var r=s(33912),a=s(41433),c=s(67917),u=RangeError;E.exports=function(f){var m=a(c(this)),T="",M=r(f);if(M<0||M===1/0)throw u("Wrong number of repetitions");for(;M>0;(M>>>=1)&&(m+=m))1&M&&(T+=m);return T}},85462:(E,C,s)=>{"use strict";var r=s(29862).PROPER,a=s(55756),c=s(88185);E.exports=function(e){return a(function(){return!!c[e]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[e]()||r&&c[e].name!==e})}},89858:(E,C,s)=>{"use strict";var r=s(23634),a=s(67917),c=s(41433),u=s(88185),e=r("".replace),f=RegExp("^["+u+"]+"),m=RegExp("(^|[^"+u+"])["+u+"]+$"),T=function(M){return function(w){var D=c(a(w));return 1&M&&(D=e(D,f,"")),2&M&&(D=e(D,m,"$1")),D}};E.exports={start:T(1),end:T(2),trim:T(3)}},98535:(E,C,s)=>{"use strict";var r=s(63556),a=s(55756),u=s(70009).String;E.exports=!!Object.getOwnPropertySymbols&&!a(function(){var e=Symbol("symbol detection");return!u(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},56992:(E,C,s)=>{"use strict";var r=s(25401),a=s(7365),c=s(91840),u=s(42915);E.exports=function(){var e=a("Symbol"),f=e&&e.prototype,m=f&&f.valueOf,T=c("toPrimitive");f&&!f[T]&&u(f,T,function(M){return r(m,this)},{arity:1})}},86475:(E,C,s)=>{"use strict";var r=s(7365),a=s(23634),c=r("Symbol"),u=c.keyFor,e=a(c.prototype.valueOf);E.exports=c.isRegisteredSymbol||function(m){try{return void 0!==u(e(m))}catch{return!1}}},74110:(E,C,s)=>{"use strict";for(var r=s(64579),a=s(7365),c=s(23634),u=s(74717),e=s(91840),f=a("Symbol"),m=f.isWellKnownSymbol,T=a("Object","getOwnPropertyNames"),M=c(f.prototype.valueOf),w=r("wks"),D=0,U=T(f),W=U.length;D<W;D++)try{var $=U[D];u(f[$])&&e($)}catch{}E.exports=function(F){if(m&&m(F))return!0;try{for(var X=M(F),de=0,V=T(w),ce=V.length;de<ce;de++)if(w[V[de]]==X)return!0}catch{}return!1}},56709:(E,C,s)=>{"use strict";var r=s(98535);E.exports=r&&!!Symbol.for&&!!Symbol.keyFor},37352:(E,C,s)=>{"use strict";var Te,$e,ge,Et,r=s(70009),a=s(2543),c=s(76781),u=s(52208),e=s(80112),f=s(55756),m=s(55690),T=s(37591),M=s(96682),w=s(15086),D=s(3877),U=s(3787),W=r.setImmediate,$=r.clearImmediate,J=r.process,F=r.Dispatch,X=r.Function,de=r.MessageChannel,V=r.String,ce=0,se={},fe="onreadystatechange";f(function(){Te=r.location});var ot=function(We){if(e(se,We)){var Le=se[We];delete se[We],Le()}},ct=function(We){return function(){ot(We)}},qe=function(We){ot(We.data)},He=function(We){r.postMessage(V(We),Te.protocol+"//"+Te.host)};(!W||!$)&&(W=function(Le){w(arguments.length,1);var Pt=u(Le)?Le:X(Le),it=T(arguments,1);return se[++ce]=function(){a(Pt,void 0,it)},$e(ce),ce},$=function(Le){delete se[Le]},U?$e=function(We){J.nextTick(ct(We))}:F&&F.now?$e=function(We){F.now(ct(We))}:de&&!D?(Et=(ge=new de).port2,ge.port1.onmessage=qe,$e=c(Et.postMessage,Et)):r.addEventListener&&u(r.postMessage)&&!r.importScripts&&Te&&"file:"!==Te.protocol&&!f(He)?($e=He,r.addEventListener("message",qe,!1)):$e=fe in M("script")?function(We){m.appendChild(M("script"))[fe]=function(){m.removeChild(this),ot(We)}}:function(We){setTimeout(ct(We),0)}),E.exports={set:W,clear:$}},19401:(E,C,s)=>{"use strict";var r=s(33912),a=Math.max,c=Math.min;E.exports=function(u,e){var f=r(u);return f<0?a(f+e,0):c(f,e)}},81010:(E,C,s)=>{"use strict";var r=s(20973),a=s(67917);E.exports=function(c){return r(a(c))}},33912:(E,C,s)=>{"use strict";var r=s(8651);E.exports=function(a){var c=+a;return c!=c||0===c?0:r(c)}},48869:(E,C,s)=>{"use strict";var r=s(33912),a=Math.min;E.exports=function(c){return c>0?a(r(c),9007199254740991):0}},70267:(E,C,s)=>{"use strict";var r=s(67917),a=Object;E.exports=function(c){return a(r(c))}},1645:(E,C,s)=>{"use strict";var r=s(25401),a=s(77293),c=s(74717),u=s(34778),e=s(71689),f=s(91840),m=TypeError,T=f("toPrimitive");E.exports=function(M,w){if(!a(M)||c(M))return M;var U,D=u(M,T);if(D){if(void 0===w&&(w="default"),U=r(D,M,w),!a(U)||c(U))return U;throw m("Can't convert object to primitive value")}return void 0===w&&(w="number"),e(M,w)}},62939:(E,C,s)=>{"use strict";var r=s(1645),a=s(74717);E.exports=function(c){var u=r(c,"string");return a(u)?u:u+""}},5552:(E,C,s)=>{"use strict";var c={};c[s(91840)("toStringTag")]="z",E.exports="[object z]"===String(c)},41433:(E,C,s)=>{"use strict";var r=s(35329),a=String;E.exports=function(c){if("Symbol"===r(c))throw TypeError("Cannot convert a Symbol value to a string");return a(c)}},7378:E=>{"use strict";var C=String;E.exports=function(s){try{return C(s)}catch{return"Object"}}},13708:(E,C,s)=>{"use strict";var r=s(23634),a=0,c=Math.random(),u=r(1..toString);E.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+u(++a+c,36)}},54933:(E,C,s)=>{"use strict";var r=s(55756),a=s(91840),c=s(49642),u=s(81124),e=a("iterator");E.exports=!r(function(){var f=new URL("b?a=1&b=2&c=3","http://a"),m=f.searchParams,T=new URLSearchParams("a=1&a=2&b=3"),M="";return f.pathname="c%20d",m.forEach(function(w,D){m.delete("b"),M+=D+w}),T.delete("a",2),T.delete("b",void 0),u&&(!f.toJSON||!T.has("a",1)||T.has("a",2)||!T.has("a",void 0)||T.has("b"))||!m.size&&(u||!c)||!m.sort||"http://a/c%20d?a=1&c=3"!==f.href||"3"!==m.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!m[e]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==M||"x"!==new URL("http://x",void 0).host})},99554:(E,C,s)=>{"use strict";var r=s(98535);E.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},47960:(E,C,s)=>{"use strict";var r=s(49642),a=s(55756);E.exports=r&&a(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},15086:E=>{"use strict";var C=TypeError;E.exports=function(s,r){if(s<r)throw C("Not enough arguments");return s}},81101:(E,C,s)=>{"use strict";var r=s(70009),a=s(52208),c=r.WeakMap;E.exports=a(c)&&/native code/.test(String(c))},25374:(E,C,s)=>{"use strict";var r=s(13544),a=s(80112),c=s(89734),u=s(48011).f;E.exports=function(e){var f=r.Symbol||(r.Symbol={});a(f,e)||u(f,e,{value:c.f(e)})}},89734:(E,C,s)=>{"use strict";var r=s(91840);C.f=r},91840:(E,C,s)=>{"use strict";var r=s(70009),a=s(64579),c=s(80112),u=s(13708),e=s(98535),f=s(99554),m=r.Symbol,T=a("wks"),M=f?m.for||m:m&&m.withoutSetter||u;E.exports=function(w){return c(T,w)||(T[w]=e&&c(m,w)?m[w]:M("Symbol."+w)),T[w]}},88185:E=>{"use strict";E.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},70210:(E,C,s)=>{"use strict";var r=s(90513),a=s(23336),c=s(31426),u=s(54945),e=s(65031),f=s(83272),m=s(65162),T=s(51361),M=s(33411),w=s(77732),D=s(41605),U=s(63313),$=s(91840)("toStringTag"),J=Error,F=[].push,X=function(ce,se){var Te,fe=a(de,this);u?Te=u(J(),fe?c(this):de):(Te=fe?this:f(de),m(Te,$,"Error")),void 0!==se&&m(Te,"message",U(se)),w(Te,X,Te.stack,1),arguments.length>2&&M(Te,arguments[2]);var $e=[];return D(ce,F,{that:$e}),m(Te,"errors",$e),Te};u?u(X,J):e(X,J,{name:!0});var de=X.prototype=f(J.prototype,{constructor:T(1,X),message:T(1,""),name:T(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:X})},10901:(E,C,s)=>{"use strict";s(70210)},1625:(E,C,s)=>{"use strict";var r=s(90513),a=s(55756),c=s(89735),u=s(77293),e=s(70267),f=s(6381),m=s(11594),T=s(46751),M=s(2103),w=s(95913),D=s(91840),U=s(63556),W=D("isConcatSpreadable"),$=U>=51||!a(function(){var X=[];return X[W]=!1,X.concat()[0]!==X}),J=function(X){if(!u(X))return!1;var de=X[W];return void 0!==de?!!de:c(X)};r({target:"Array",proto:!0,arity:1,forced:!$||!w("concat")},{concat:function(de){var fe,Te,$e,ge,Et,V=e(this),ce=M(V,0),se=0;for(fe=-1,$e=arguments.length;fe<$e;fe++)if(J(Et=-1===fe?V:arguments[fe]))for(ge=f(Et),m(se+ge),Te=0;Te<ge;Te++,se++)Te in Et&&T(ce,se,Et[Te]);else m(se+1),T(ce,se++,Et);return ce.length=se,ce}})},70466:(E,C,s)=>{"use strict";var r=s(90513),a=s(68607).every;r({target:"Array",proto:!0,forced:!s(33620)("every")},{every:function(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}})},24990:(E,C,s)=>{"use strict";var r=s(90513),a=s(35277),c=s(82196);r({target:"Array",proto:!0},{fill:a}),c("fill")},56534:(E,C,s)=>{"use strict";var r=s(90513),a=s(68607).filter;r({target:"Array",proto:!0,forced:!s(95913)("filter")},{filter:function(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}})},12773:(E,C,s)=>{"use strict";var r=s(90513),a=s(68607).findIndex,c=s(82196),u="findIndex",e=!0;u in[]&&Array(1)[u](function(){e=!1}),r({target:"Array",proto:!0,forced:e},{findIndex:function(m){return a(this,m,arguments.length>1?arguments[1]:void 0)}}),c(u)},60326:(E,C,s)=>{"use strict";var r=s(90513),a=s(68607).find,c=s(82196),u="find",e=!0;u in[]&&Array(1)[u](function(){e=!1}),r({target:"Array",proto:!0,forced:e},{find:function(m){return a(this,m,arguments.length>1?arguments[1]:void 0)}}),c(u)},98792:(E,C,s)=>{"use strict";var r=s(90513),a=s(8366);r({target:"Array",proto:!0,forced:[].forEach!==a},{forEach:a})},261:(E,C,s)=>{"use strict";var r=s(90513),a=s(51923);r({target:"Array",stat:!0,forced:!s(5253)(function(e){Array.from(e)})},{from:a})},77059:(E,C,s)=>{"use strict";var r=s(90513),a=s(95171).includes,c=s(55756),u=s(82196);r({target:"Array",proto:!0,forced:c(function(){return!Array(1).includes()})},{includes:function(m){return a(this,m,arguments.length>1?arguments[1]:void 0)}}),u("includes")},2795:(E,C,s)=>{"use strict";var r=s(90513),a=s(64350),c=s(95171).indexOf,u=s(33620),e=a([].indexOf),f=!!e&&1/e([1],1,-0)<0;r({target:"Array",proto:!0,forced:f||!u("indexOf")},{indexOf:function(M){var w=arguments.length>1?arguments[1]:void 0;return f?e(this,M,w)||0:c(this,M,w)}})},2862:(E,C,s)=>{"use strict";s(90513)({target:"Array",stat:!0},{isArray:s(89735)})},1285:(E,C,s)=>{"use strict";var r=s(81010),a=s(82196),c=s(84394),u=s(91093),e=s(48011).f,f=s(79077),m=s(28738),T=s(81124),M=s(49642),w="Array Iterator",D=u.set,U=u.getterFor(w);E.exports=f(Array,"Array",function($,J){D(this,{type:w,target:r($),index:0,kind:J})},function(){var $=U(this),J=$.target,F=$.kind,X=$.index++;if(!J||X>=J.length)return $.target=void 0,m(void 0,!0);switch(F){case"keys":return m(X,!1);case"values":return m(J[X],!1)}return m([X,J[X]],!1)},"values");var W=c.Arguments=c.Array;if(a("keys"),a("values"),a("entries"),!T&&M&&"values"!==W.name)try{e(W,"name",{value:"values"})}catch{}},74926:(E,C,s)=>{"use strict";var r=s(90513),a=s(78375);r({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},88119:(E,C,s)=>{"use strict";var r=s(90513),a=s(68607).map;r({target:"Array",proto:!0,forced:!s(95913)("map")},{map:function(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}})},93870:(E,C,s)=>{"use strict";var r=s(90513),a=s(70267),c=s(6381),u=s(54716),e=s(11594);r({target:"Array",proto:!0,arity:1,forced:s(55756)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(w){return w instanceof TypeError}}()},{push:function(D){var U=a(this),W=c(U),$=arguments.length;e(W+$);for(var J=0;J<$;J++)U[W]=arguments[J],W++;return u(U,W),W}})},46250:(E,C,s)=>{"use strict";var r=s(90513),a=s(88908).left,c=s(33620),u=s(63556);r({target:"Array",proto:!0,forced:!s(3787)&&u>79&&u<83||!c("reduce")},{reduce:function(M){var w=arguments.length;return a(this,M,w,w>1?arguments[1]:void 0)}})},32836:(E,C,s)=>{"use strict";var r=s(90513),a=s(23634),c=s(89735),u=a([].reverse),e=[1,2];r({target:"Array",proto:!0,forced:String(e)===String(e.reverse())},{reverse:function(){return c(this)&&(this.length=this.length),u(this)}})},72999:(E,C,s)=>{"use strict";var r=s(90513),a=s(89735),c=s(81177),u=s(77293),e=s(19401),f=s(6381),m=s(81010),T=s(46751),M=s(91840),w=s(95913),D=s(37591),U=w("slice"),W=M("species"),$=Array,J=Math.max;r({target:"Array",proto:!0,forced:!U},{slice:function(X,de){var Te,$e,ge,V=m(this),ce=f(V),se=e(X,ce),fe=e(void 0===de?ce:de,ce);if(a(V)&&((c(Te=V.constructor)&&(Te===$||a(Te.prototype))||u(Te)&&null===(Te=Te[W]))&&(Te=void 0),Te===$||void 0===Te))return D(V,se,fe);for($e=new(void 0===Te?$:Te)(J(fe-se,0)),ge=0;se<fe;se++,ge++)se in V&&T($e,ge,V[se]);return $e.length=ge,$e}})},50733:(E,C,s)=>{"use strict";var r=s(90513),a=s(68607).some;r({target:"Array",proto:!0,forced:!s(33620)("some")},{some:function(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}})},93639:(E,C,s)=>{"use strict";var r=s(90513),a=s(23634),c=s(61812),u=s(70267),e=s(6381),f=s(67236),m=s(41433),T=s(55756),M=s(84865),w=s(33620),D=s(36410),U=s(5329),W=s(63556),$=s(34545),J=[],F=a(J.sort),X=a(J.push),de=T(function(){J.sort(void 0)}),V=T(function(){J.sort(null)}),ce=w("sort"),se=!T(function(){if(W)return W<70;if(!(D&&D>3)){if(U)return!0;if($)return $<603;var ge,Et,ot,ct,$e="";for(ge=65;ge<76;ge++){switch(Et=String.fromCharCode(ge),ge){case 66:case 69:case 70:case 72:ot=3;break;case 68:case 71:ot=4;break;default:ot=2}for(ct=0;ct<47;ct++)J.push({k:Et+ct,v:ot})}for(J.sort(function(qe,He){return He.v-qe.v}),ct=0;ct<J.length;ct++)Et=J[ct].k.charAt(0),$e.charAt($e.length-1)!==Et&&($e+=Et);return"DGBEFHACIJK"!==$e}});r({target:"Array",proto:!0,forced:de||!V||!ce||!se},{sort:function(ge){void 0!==ge&&c(ge);var Et=u(this);if(se)return void 0===ge?F(Et):F(Et,ge);var qe,He,ot=[],ct=e(Et);for(He=0;He<ct;He++)He in Et&&X(ot,Et[He]);for(M(ot,function($e){return function(ge,Et){return void 0===Et?-1:void 0===ge?1:void 0!==$e?+$e(ge,Et)||0:m(ge)>m(Et)?1:-1}}(ge)),qe=e(ot),He=0;He<qe;)Et[He]=ot[He++];for(;He<ct;)f(Et,He++);return Et}})},63117:(E,C,s)=>{"use strict";var r=s(90513),a=s(70267),c=s(19401),u=s(33912),e=s(6381),f=s(54716),m=s(11594),T=s(2103),M=s(46751),w=s(67236),U=s(95913)("splice"),W=Math.max,$=Math.min;r({target:"Array",proto:!0,forced:!U},{splice:function(F,X){var fe,Te,$e,ge,Et,ot,de=a(this),V=e(de),ce=c(F,V),se=arguments.length;for(0===se?fe=Te=0:1===se?(fe=0,Te=V-ce):(fe=se-2,Te=$(W(u(X),0),V-ce)),m(V+fe-Te),$e=T(de,Te),ge=0;ge<Te;ge++)(Et=ce+ge)in de&&M($e,ge,de[Et]);if($e.length=Te,fe<Te){for(ge=ce;ge<V-Te;ge++)ot=ge+fe,(Et=ge+Te)in de?de[ot]=de[Et]:w(de,ot);for(ge=V;ge>V-Te+fe;ge--)w(de,ge-1)}else if(fe>Te)for(ge=V-Te;ge>ce;ge--)ot=ge+fe-1,(Et=ge+Te-1)in de?de[ot]=de[Et]:w(de,ot);for(ge=0;ge<fe;ge++)de[ge+ce]=arguments[ge+2];return f(de,V-Te+fe),$e}})},34699:(E,C,s)=>{"use strict";var r=s(90513),a=s(23634),c=Date,u=a(c.prototype.getTime);r({target:"Date",stat:!0},{now:function(){return u(new c)}})},68154:()=>{},33379:(E,C,s)=>{"use strict";var r=s(90513),a=s(44197);r({target:"Function",proto:!0,forced:Function.bind!==a},{bind:a})},75071:(E,C,s)=>{"use strict";var r=s(90513),a=s(7365),c=s(2543),u=s(25401),e=s(23634),f=s(55756),m=s(52208),T=s(74717),M=s(37591),w=s(32092),D=s(98535),U=String,W=a("JSON","stringify"),$=e(/./.exec),J=e("".charAt),F=e("".charCodeAt),X=e("".replace),de=e(1..toString),V=/[\uD800-\uDFFF]/g,ce=/^[\uD800-\uDBFF]$/,se=/^[\uDC00-\uDFFF]$/,fe=!D||f(function(){var Et=a("Symbol")("stringify detection");return"[null]"!==W([Et])||"{}"!==W({a:Et})||"{}"!==W(Object(Et))}),Te=f(function(){return'"\\udf06\\ud834"'!==W("\udf06\ud834")||'"\\udead"'!==W("\udead")}),$e=function(Et,ot){var ct=M(arguments),qe=w(ot);if(m(qe)||void 0!==Et&&!T(Et))return ct[1]=function(He,We){if(m(qe)&&(We=u(qe,this,U(He),We)),!T(We))return We},c(W,null,ct)},ge=function(Et,ot,ct){var qe=J(ct,ot-1),He=J(ct,ot+1);return $(ce,Et)&&!$(se,He)||$(se,Et)&&!$(ce,qe)?"\\u"+de(F(Et,0),16):Et};W&&r({target:"JSON",stat:!0,arity:3,forced:fe||Te},{stringify:function(ot,ct,qe){var He=M(arguments),We=c(fe?$e:W,null,He);return Te&&"string"==typeof We?X(We,V,ge):We}})},32300:(E,C,s)=>{"use strict";var r=s(70009);s(85681)(r.JSON,"JSON",!0)},83616:(E,C,s)=>{"use strict";s(85116)("Map",function(c){return function(){return c(this,arguments.length?arguments[0]:void 0)}},s(26650))},85140:(E,C,s)=>{"use strict";s(83616)},63603:()=>{},67234:(E,C,s)=>{"use strict";var r=s(90513),a=s(75791);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},86516:(E,C,s)=>{"use strict";s(90513)({target:"Object",stat:!0,sham:!s(49642)},{create:s(83272)})},36255:(E,C,s)=>{"use strict";var r=s(90513),a=s(49642),c=s(25913).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==c,sham:!a},{defineProperties:c})},84468:(E,C,s)=>{"use strict";var r=s(90513),a=s(49642),c=s(48011).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==c,sham:!a},{defineProperty:c})},86627:(E,C,s)=>{"use strict";var r=s(90513),a=s(55756),c=s(81010),u=s(25525).f,e=s(49642);r({target:"Object",stat:!0,forced:!e||a(function(){u(1)}),sham:!e},{getOwnPropertyDescriptor:function(T,M){return u(c(T),M)}})},78275:(E,C,s)=>{"use strict";var r=s(90513),a=s(49642),c=s(59823),u=s(81010),e=s(25525),f=s(46751);r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(T){for(var $,J,M=u(T),w=e.f,D=c(M),U={},W=0;D.length>W;)void 0!==(J=w(M,$=D[W++]))&&f(U,$,J);return U}})},37764:(E,C,s)=>{"use strict";var r=s(90513),a=s(98535),c=s(55756),u=s(47238),e=s(70267);r({target:"Object",stat:!0,forced:!a||c(function(){u.f(1)})},{getOwnPropertySymbols:function(T){var M=u.f;return M?M(e(T)):[]}})},31193:(E,C,s)=>{"use strict";var r=s(90513),a=s(55756),c=s(70267),u=s(31426),e=s(37112);r({target:"Object",stat:!0,forced:a(function(){u(1)}),sham:!e},{getPrototypeOf:function(T){return u(c(T))}})},56557:(E,C,s)=>{"use strict";var r=s(90513),a=s(70267),c=s(28474);r({target:"Object",stat:!0,forced:s(55756)(function(){c(1)})},{keys:function(m){return c(a(m))}})},17971:(E,C,s)=>{"use strict";s(90513)({target:"Object",stat:!0},{setPrototypeOf:s(54945)})},17221:()=>{},88923:(E,C,s)=>{"use strict";var r=s(90513),a=s(36805).values;r({target:"Object",stat:!0},{values:function(u){return a(u)}})},84798:(E,C,s)=>{"use strict";var r=s(90513),a=s(25401),c=s(61812),u=s(54256),e=s(26975),f=s(41605);r({target:"Promise",stat:!0,forced:s(95758)},{allSettled:function(M){var w=this,D=u.f(w),U=D.resolve,W=D.reject,$=e(function(){var J=c(w.resolve),F=[],X=0,de=1;f(M,function(V){var ce=X++,se=!1;de++,a(J,w,V).then(function(fe){se||(se=!0,F[ce]={status:"fulfilled",value:fe},--de||U(F))},function(fe){se||(se=!0,F[ce]={status:"rejected",reason:fe},--de||U(F))})}),--de||U(F)});return $.error&&W($.value),D.promise}})},58085:(E,C,s)=>{"use strict";var r=s(90513),a=s(25401),c=s(61812),u=s(54256),e=s(26975),f=s(41605);r({target:"Promise",stat:!0,forced:s(95758)},{all:function(M){var w=this,D=u.f(w),U=D.resolve,W=D.reject,$=e(function(){var J=c(w.resolve),F=[],X=0,de=1;f(M,function(V){var ce=X++,se=!1;de++,a(J,w,V).then(function(fe){se||(se=!0,F[ce]=fe,--de||U(F))},W)}),--de||U(F)});return $.error&&W($.value),D.promise}})},98857:(E,C,s)=>{"use strict";var r=s(90513),a=s(25401),c=s(61812),u=s(7365),e=s(54256),f=s(26975),m=s(41605),T=s(95758),M="No one promise resolved";r({target:"Promise",stat:!0,forced:T},{any:function(D){var U=this,W=u("AggregateError"),$=e.f(U),J=$.resolve,F=$.reject,X=f(function(){var de=c(U.resolve),V=[],ce=0,se=1,fe=!1;m(D,function(Te){var $e=ce++,ge=!1;se++,a(de,U,Te).then(function(Et){ge||fe||(fe=!0,J(Et))},function(Et){ge||fe||(ge=!0,V[$e]=Et,--se||F(new W(V,M)))})}),--se||F(new W(V,M))});return X.error&&F(X.value),$.promise}})},5846:(E,C,s)=>{"use strict";var r=s(90513),a=s(81124),c=s(9936).CONSTRUCTOR,u=s(46456),e=s(7365),f=s(52208),m=s(42915),T=u&&u.prototype;if(r({target:"Promise",proto:!0,forced:c,real:!0},{catch:function(w){return this.then(void 0,w)}}),!a&&f(u)){var M=e("Promise").prototype.catch;T.catch!==M&&m(T,"catch",M,{unsafe:!0})}},38206:(E,C,s)=>{"use strict";var Lr,ir,jr,r=s(90513),a=s(81124),c=s(3787),u=s(70009),e=s(25401),f=s(42915),m=s(54945),T=s(85681),M=s(58014),w=s(61812),D=s(52208),U=s(77293),W=s(54849),$=s(95869),J=s(37352).set,F=s(53460),X=s(52912),de=s(26975),V=s(70918),ce=s(91093),se=s(46456),fe=s(9936),Te=s(54256),$e="Promise",ge=fe.CONSTRUCTOR,Et=fe.REJECTION_EVENT,ot=fe.SUBCLASSING,ct=ce.getterFor($e),qe=ce.set,He=se&&se.prototype,We=se,Le=He,Pt=u.TypeError,it=u.document,Xt=u.process,cn=Te.f,pn=cn,Rn=!!(it&&it.createEvent&&u.dispatchEvent),At="unhandledrejection",br=function(kr){var Ei;return!(!U(kr)||!D(Ei=kr.then))&&Ei},ht=function(kr,Ei){var qr,Hi,Dn,ii=Ei.value,mr=1===Ei.state,pr=mr?kr.ok:kr.fail,Eo=kr.resolve,po=kr.reject,$i=kr.domain;try{pr?(mr||(2===Ei.rejection&&hr(Ei),Ei.rejection=1),!0===pr?qr=ii:($i&&$i.enter(),qr=pr(ii),$i&&($i.exit(),Dn=!0)),qr===kr.promise?po(Pt("Promise-chain cycle")):(Hi=br(qr))?e(Hi,qr,Eo,po):Eo(qr)):po(ii)}catch(Hn){$i&&!Dn&&$i.exit(),po(Hn)}},Wt=function(kr,Ei){kr.notified||(kr.notified=!0,F(function(){for(var mr,ii=kr.reactions;mr=ii.get();)ht(mr,kr);kr.notified=!1,Ei&&!kr.rejection&&wn(kr)}))},Tt=function(kr,Ei,ii){var mr,pr;Rn?((mr=it.createEvent("Event")).promise=Ei,mr.reason=ii,mr.initEvent(kr,!1,!0),u.dispatchEvent(mr)):mr={promise:Ei,reason:ii},!Et&&(pr=u["on"+kr])?pr(mr):kr===At&&X("Unhandled promise rejection",ii)},wn=function(kr){e(J,u,function(){var pr,Ei=kr.facade,ii=kr.value;if(jn(kr)&&(pr=de(function(){c?Xt.emit("unhandledRejection",ii,Ei):Tt(At,Ei,ii)}),kr.rejection=c||jn(kr)?2:1,pr.error))throw pr.value})},jn=function(kr){return 1!==kr.rejection&&!kr.parent},hr=function(kr){e(J,u,function(){var Ei=kr.facade;c?Xt.emit("rejectionHandled",Ei):Tt("rejectionhandled",Ei,kr.value)})},Oi=function(kr,Ei,ii){return function(mr){kr(Ei,mr,ii)}},Wi=function(kr,Ei,ii){kr.done||(kr.done=!0,ii&&(kr=ii),kr.value=Ei,kr.state=2,Wt(kr,!0))},so=function(kr,Ei,ii){if(!kr.done){kr.done=!0,ii&&(kr=ii);try{if(kr.facade===Ei)throw Pt("Promise can't be resolved itself");var mr=br(Ei);mr?F(function(){var pr={done:!1};try{e(mr,Ei,Oi(so,pr,kr),Oi(Wi,pr,kr))}catch(Eo){Wi(pr,Eo,kr)}}):(kr.value=Ei,kr.state=1,Wt(kr,!1))}catch(pr){Wi({done:!1},pr,kr)}}};if(ge&&(We=function(Ei){W(this,Le),w(Ei),e(Lr,this);var ii=ct(this);try{Ei(Oi(so,ii),Oi(Wi,ii))}catch(mr){Wi(ii,mr)}},(Lr=function(Ei){qe(this,{type:$e,done:!1,notified:!1,parent:!1,reactions:new V,rejection:!1,state:0,value:void 0})}).prototype=f(Le=We.prototype,"then",function(Ei,ii){var mr=ct(this),pr=cn($(this,We));return mr.parent=!0,pr.ok=!D(Ei)||Ei,pr.fail=D(ii)&&ii,pr.domain=c?Xt.domain:void 0,0===mr.state?mr.reactions.add(pr):F(function(){ht(pr,mr)}),pr.promise}),ir=function(){var kr=new Lr,Ei=ct(kr);this.promise=kr,this.resolve=Oi(so,Ei),this.reject=Oi(Wi,Ei)},Te.f=cn=function(kr){return kr===We||void 0===kr?new ir(kr):pn(kr)},!a&&D(se)&&He!==Object.prototype)){jr=He.then,ot||f(He,"then",function(Ei,ii){var mr=this;return new We(function(pr,Eo){e(jr,mr,pr,Eo)}).then(Ei,ii)},{unsafe:!0});try{delete He.constructor}catch{}m&&m(He,Le)}r({global:!0,constructor:!0,wrap:!0,forced:ge},{Promise:We}),T(We,$e,!1,!0),M($e)},30185:(E,C,s)=>{"use strict";var r=s(90513),a=s(81124),c=s(46456),u=s(55756),e=s(7365),f=s(52208),m=s(95869),T=s(25524),M=s(42915),w=c&&c.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!c&&u(function(){w.finally.call({then:function(){}},function(){})})},{finally:function(W){var $=m(this,e("Promise")),J=f(W);return this.then(J?function(F){return T($,W()).then(function(){return F})}:W,J?function(F){return T($,W()).then(function(){throw F})}:W)}}),!a&&f(c)){var U=e("Promise").prototype.finally;w.finally!==U&&M(w,"finally",U,{unsafe:!0})}},66793:(E,C,s)=>{"use strict";s(38206),s(58085),s(5846),s(44738),s(74767),s(4991)},44738:(E,C,s)=>{"use strict";var r=s(90513),a=s(25401),c=s(61812),u=s(54256),e=s(26975),f=s(41605);r({target:"Promise",stat:!0,forced:s(95758)},{race:function(M){var w=this,D=u.f(w),U=D.reject,W=e(function(){var $=c(w.resolve);f(M,function(J){a($,w,J).then(D.resolve,U)})});return W.error&&U(W.value),D.promise}})},74767:(E,C,s)=>{"use strict";var r=s(90513),a=s(25401),c=s(54256);r({target:"Promise",stat:!0,forced:s(9936).CONSTRUCTOR},{reject:function(f){var m=c.f(this);return a(m.reject,void 0,f),m.promise}})},4991:(E,C,s)=>{"use strict";var r=s(90513),a=s(7365),c=s(81124),u=s(46456),e=s(9936).CONSTRUCTOR,f=s(25524),m=a("Promise"),T=c&&!e;r({target:"Promise",stat:!0,forced:c||e},{resolve:function(w){return f(T&&this===m?u:this,w)}})},19539:(E,C,s)=>{"use strict";var r=s(90513),a=s(7365),c=s(2543),u=s(44197),e=s(54356),f=s(64562),m=s(77293),T=s(83272),M=s(55756),w=a("Reflect","construct"),D=Object.prototype,U=[].push,W=M(function(){function F(){}return!(w(function(){},[],F)instanceof F)}),$=!M(function(){w(function(){})}),J=W||$;r({target:"Reflect",stat:!0,forced:J,sham:J},{construct:function(X,de){e(X),f(de);var V=arguments.length<3?X:e(arguments[2]);if($&&!W)return w(X,de,V);if(X===V){switch(de.length){case 0:return new X;case 1:return new X(de[0]);case 2:return new X(de[0],de[1]);case 3:return new X(de[0],de[1],de[2]);case 4:return new X(de[0],de[1],de[2],de[3])}var ce=[null];return c(U,ce,de),new(c(u,X,ce))}var se=V.prototype,fe=T(m(se)?se:D),Te=c(X,fe,de);return m(Te)?Te:fe}})},60851:(E,C,s)=>{"use strict";var r=s(90513),a=s(25401),c=s(77293),u=s(64562),e=s(27029),f=s(25525),m=s(31426);r({target:"Reflect",stat:!0},{get:function T(M,w){var U,W,D=arguments.length<3?M:arguments[2];return u(M)===D?M[w]:(U=f.f(M,w))?e(U)?U.value:void 0===U.get?void 0:a(U.get,D):c(W=m(M))?T(W,w,D):void 0}})},44864:()=>{},97764:(E,C,s)=>{"use strict";var r=s(90513),a=s(23634),c=s(56421),u=s(67917),e=s(41433),f=s(79668),m=a("".indexOf);r({target:"String",proto:!0,forced:!f("includes")},{includes:function(M){return!!~m(e(u(this)),e(c(M)),arguments.length>1?arguments[1]:void 0)}})},3934:(E,C,s)=>{"use strict";var r=s(61557).charAt,a=s(41433),c=s(91093),u=s(79077),e=s(28738),f="String Iterator",m=c.set,T=c.getterFor(f);u(String,"String",function(M){m(this,{type:f,string:a(M),index:0})},function(){var W,w=T(this),D=w.string,U=w.index;return U>=D.length?e(void 0,!0):(W=r(D,U),w.index+=W.length,e(W,!1))})},3588:(E,C,s)=>{"use strict";s(90513)({target:"String",proto:!0},{repeat:s(53411)})},24655:(E,C,s)=>{"use strict";var J,r=s(90513),a=s(64350),c=s(25525).f,u=s(48869),e=s(41433),f=s(56421),m=s(67917),T=s(79668),M=s(81124),w=a("".startsWith),D=a("".slice),U=Math.min,W=T("startsWith");r({target:"String",proto:!0,forced:!(!M&&!W&&(J=c(String.prototype,"startsWith"),J&&!J.writable)||W)},{startsWith:function(F){var X=e(m(this));f(F);var de=u(U(arguments.length>1?arguments[1]:void 0,X.length)),V=e(F);return w?w(X,V,de):D(X,de,de+V.length)===V}})},90451:(E,C,s)=>{"use strict";var r=s(90513),a=s(89858).trim;r({target:"String",proto:!0,forced:s(85462)("trim")},{trim:function(){return a(this)}})},16426:(E,C,s)=>{"use strict";s(25374)("asyncIterator")},17858:(E,C,s)=>{"use strict";var r=s(90513),a=s(70009),c=s(25401),u=s(23634),e=s(81124),f=s(49642),m=s(98535),T=s(55756),M=s(80112),w=s(23336),D=s(64562),U=s(81010),W=s(62939),$=s(41433),J=s(51361),F=s(83272),X=s(28474),de=s(51518),V=s(62469),ce=s(47238),se=s(25525),fe=s(48011),Te=s(25913),$e=s(25558),ge=s(42915),Et=s(1707),ot=s(64579),ct=s(86066),qe=s(45599),He=s(13708),We=s(91840),Le=s(89734),Pt=s(25374),it=s(56992),Xt=s(85681),cn=s(91093),pn=s(68607).forEach,Rn=ct("hidden"),At="Symbol",qt="prototype",sn=cn.set,fn=cn.getterFor(At),xn=Object[qt],Kr=a.Symbol,Or=Kr&&Kr[qt],Lr=a.TypeError,ir=a.QObject,Qr=se.f,jr=fe.f,br=V.f,ht=$e.f,Wt=u([].push),Tt=ot("symbols"),wn=ot("op-symbols"),jn=ot("wks"),hr=!ir||!ir[qt]||!ir[qt].findChild,Oi=f&&T(function(){return 7!==F(jr({},"a",{get:function(){return jr(this,"a",{value:7}).a}})).a})?function(po,$i,qr){var Hi=Qr(xn,$i);Hi&&delete xn[$i],jr(po,$i,qr),Hi&&po!==xn&&jr(xn,$i,Hi)}:jr,Wi=function(po,$i){var qr=Tt[po]=F(Or);return sn(qr,{type:At,tag:po,description:$i}),f||(qr.description=$i),qr},so=function($i,qr,Hi){$i===xn&&so(wn,qr,Hi),D($i);var Dn=W(qr);return D(Hi),M(Tt,Dn)?(Hi.enumerable?(M($i,Rn)&&$i[Rn][Dn]&&($i[Rn][Dn]=!1),Hi=F(Hi,{enumerable:J(0,!1)})):(M($i,Rn)||jr($i,Rn,J(1,{})),$i[Rn][Dn]=!0),Oi($i,Dn,Hi)):jr($i,Dn,Hi)},kr=function($i,qr){D($i);var Hi=U(qr),Dn=X(Hi).concat(Eo(Hi));return pn(Dn,function(Hn){(!f||c(ii,Hi,Hn))&&so($i,Hn,Hi[Hn])}),$i},ii=function($i){var qr=W($i),Hi=c(ht,this,qr);return!(this===xn&&M(Tt,qr)&&!M(wn,qr))&&(!(Hi||!M(this,qr)||!M(Tt,qr)||M(this,Rn)&&this[Rn][qr])||Hi)},mr=function($i,qr){var Hi=U($i),Dn=W(qr);if(Hi!==xn||!M(Tt,Dn)||M(wn,Dn)){var Hn=Qr(Hi,Dn);return Hn&&M(Tt,Dn)&&!(M(Hi,Rn)&&Hi[Rn][Dn])&&(Hn.enumerable=!0),Hn}},pr=function($i){var qr=br(U($i)),Hi=[];return pn(qr,function(Dn){!M(Tt,Dn)&&!M(qe,Dn)&&Wt(Hi,Dn)}),Hi},Eo=function(po){var $i=po===xn,qr=br($i?wn:U(po)),Hi=[];return pn(qr,function(Dn){M(Tt,Dn)&&(!$i||M(xn,Dn))&&Wt(Hi,Tt[Dn])}),Hi};m||(ge(Or=(Kr=function(){if(w(Or,this))throw Lr("Symbol is not a constructor");var $i=arguments.length&&void 0!==arguments[0]?$(arguments[0]):void 0,qr=He($i),Hi=function(Dn){this===xn&&c(Hi,wn,Dn),M(this,Rn)&&M(this[Rn],qr)&&(this[Rn][qr]=!1),Oi(this,qr,J(1,Dn))};return f&&hr&&Oi(xn,qr,{configurable:!0,set:Hi}),Wi(qr,$i)})[qt],"toString",function(){return fn(this).tag}),ge(Kr,"withoutSetter",function(po){return Wi(He(po),po)}),$e.f=ii,fe.f=so,Te.f=kr,se.f=mr,de.f=V.f=pr,ce.f=Eo,Le.f=function(po){return Wi(We(po),po)},f&&(Et(Or,"description",{configurable:!0,get:function(){return fn(this).description}}),e||ge(xn,"propertyIsEnumerable",ii,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!m,sham:!m},{Symbol:Kr}),pn(X(jn),function(po){Pt(po)}),r({target:At,stat:!0,forced:!m},{useSetter:function(){hr=!0},useSimple:function(){hr=!1}}),r({target:"Object",stat:!0,forced:!m,sham:!f},{create:function($i,qr){return void 0===qr?F($i):kr(F($i),qr)},defineProperty:so,defineProperties:kr,getOwnPropertyDescriptor:mr}),r({target:"Object",stat:!0,forced:!m},{getOwnPropertyNames:pr}),it(),Xt(Kr,At),qe[Rn]=!0},1172:()=>{},12353:(E,C,s)=>{"use strict";var r=s(90513),a=s(7365),c=s(80112),u=s(41433),e=s(64579),f=s(56709),m=e("string-to-symbol-registry"),T=e("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!f},{for:function(M){var w=u(M);if(c(m,w))return m[w];var D=a("Symbol")(w);return m[w]=D,T[D]=w,D}})},99579:(E,C,s)=>{"use strict";s(25374)("hasInstance")},41258:(E,C,s)=>{"use strict";s(25374)("isConcatSpreadable")},2383:(E,C,s)=>{"use strict";s(25374)("iterator")},56728:(E,C,s)=>{"use strict";s(17858),s(12353),s(27632),s(75071),s(37764)},27632:(E,C,s)=>{"use strict";var r=s(90513),a=s(80112),c=s(74717),u=s(7378),e=s(64579),f=s(56709),m=e("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!f},{keyFor:function(M){if(!c(M))throw TypeError(u(M)+" is not a symbol");if(a(m,M))return m[M]}})},64776:(E,C,s)=>{"use strict";s(25374)("matchAll")},44339:(E,C,s)=>{"use strict";s(25374)("match")},88215:(E,C,s)=>{"use strict";s(25374)("replace")},65389:(E,C,s)=>{"use strict";s(25374)("search")},12733:(E,C,s)=>{"use strict";s(25374)("species")},97977:(E,C,s)=>{"use strict";s(25374)("split")},59792:(E,C,s)=>{"use strict";var r=s(25374),a=s(56992);r("toPrimitive"),a()},60242:(E,C,s)=>{"use strict";var r=s(7365),a=s(25374),c=s(85681);a("toStringTag"),c(r("Symbol"),"Symbol")},26291:(E,C,s)=>{"use strict";s(25374)("unscopables")},67670:(E,C,s)=>{"use strict";s(10901)},43548:(E,C,s)=>{"use strict";var r=s(91840),a=s(48011).f,c=r("metadata"),u=Function.prototype;void 0===u[c]&&a(u,c,{value:null})},10509:(E,C,s)=>{"use strict";var r=s(90513),a=s(64902),c=s(60077).remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var m,e=a(this),f=!0,T=0,M=arguments.length;T<M;T++)m=c(e,arguments[T]),f=f&&m;return!!f}})},30887:(E,C,s)=>{"use strict";var r=s(90513),a=s(64902),c=s(60077),u=c.get,e=c.has,f=c.set;r({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(T,M){var D,U,w=a(this);return e(w,T)?(D=u(w,T),"update"in M&&(D=M.update(D,T,w),f(w,T,D)),D):(U=M.insert(T,w),f(w,T,U),U)}})},54547:(E,C,s)=>{"use strict";var r=s(90513),a=s(76781),c=s(64902),u=s(21515);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(f){var m=c(this),T=a(f,arguments.length>1?arguments[1]:void 0);return!1!==u(m,function(M,w){if(!T(M,w,m))return!1},!0)}})},68996:(E,C,s)=>{"use strict";var r=s(90513),a=s(76781),c=s(64902),u=s(60077),e=s(21515),f=u.Map,m=u.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(M){var w=c(this),D=a(M,arguments.length>1?arguments[1]:void 0),U=new f;return e(w,function(W,$){D(W,$,w)&&m(U,$,W)}),U}})},60176:(E,C,s)=>{"use strict";var r=s(90513),a=s(76781),c=s(64902),u=s(21515);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(f){var m=c(this),T=a(f,arguments.length>1?arguments[1]:void 0),M=u(m,function(w,D){if(T(w,D,m))return{key:D}},!0);return M&&M.key}})},1530:(E,C,s)=>{"use strict";var r=s(90513),a=s(76781),c=s(64902),u=s(21515);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(f){var m=c(this),T=a(f,arguments.length>1?arguments[1]:void 0),M=u(m,function(w,D){if(T(w,D,m))return{value:w}},!0);return M&&M.value}})},78271:(E,C,s)=>{"use strict";s(90513)({target:"Map",stat:!0,forced:!0},{from:s(83483)})},41554:(E,C,s)=>{"use strict";var r=s(90513),a=s(23634),c=s(61812),u=s(67917),e=s(41605),f=s(60077),m=s(81124),T=f.Map,M=f.has,w=f.get,D=f.set,U=a([].push);r({target:"Map",stat:!0,forced:m},{groupBy:function($,J){u($),c(J);var F=new T,X=0;return e($,function(de){var V=J(de,X++);M(F,V)?U(w(F,V),de):D(F,V,[de])}),F}})},41688:(E,C,s)=>{"use strict";var r=s(90513),a=s(29627),c=s(64902),u=s(21515);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(f){return!0===u(c(this),function(m){if(a(m,f))return!0},!0)}})},92847:(E,C,s)=>{"use strict";var r=s(90513),a=s(25401),c=s(41605),u=s(52208),e=s(61812),f=s(60077).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(T,M){var D=new(u(this)?this:f);e(M);var U=e(D.set);return c(T,function(W){a(U,D,M(W),W)}),D}})},17316:(E,C,s)=>{"use strict";var r=s(90513),a=s(64902),c=s(21515);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var f=c(a(this),function(m,T){if(m===e)return{key:T}},!0);return f&&f.key}})},58786:(E,C,s)=>{"use strict";var r=s(90513),a=s(76781),c=s(64902),u=s(60077),e=s(21515),f=u.Map,m=u.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(M){var w=c(this),D=a(M,arguments.length>1?arguments[1]:void 0),U=new f;return e(w,function(W,$){m(U,D(W,$,w),W)}),U}})},51943:(E,C,s)=>{"use strict";var r=s(90513),a=s(76781),c=s(64902),u=s(60077),e=s(21515),f=u.Map,m=u.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(M){var w=c(this),D=a(M,arguments.length>1?arguments[1]:void 0),U=new f;return e(w,function(W,$){m(U,$,D(W,$,w))}),U}})},12783:(E,C,s)=>{"use strict";var r=s(90513),a=s(64902),c=s(41605),u=s(60077).set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(f){for(var m=a(this),T=arguments.length,M=0;M<T;)c(arguments[M++],function(w,D){u(m,w,D)},{AS_ENTRIES:!0});return m}})},60854:(E,C,s)=>{"use strict";s(90513)({target:"Map",stat:!0,forced:!0},{of:s(13067)})},69773:(E,C,s)=>{"use strict";var r=s(90513),a=s(61812),c=s(64902),u=s(21515),e=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(m){var T=c(this),M=arguments.length<2,w=M?void 0:arguments[1];if(a(m),u(T,function(D,U){M?(M=!1,w=D):w=m(w,D,U,T)}),M)throw e("Reduce of empty map with no initial value");return w}})},22337:(E,C,s)=>{"use strict";var r=s(90513),a=s(76781),c=s(64902),u=s(21515);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(f){var m=c(this),T=a(f,arguments.length>1?arguments[1]:void 0);return!0===u(m,function(M,w){if(T(M,w,m))return!0},!0)}})},84131:(E,C,s)=>{"use strict";s(90513)({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:s(57729)})},40199:(E,C,s)=>{"use strict";var r=s(90513),a=s(61812),c=s(64902),u=s(60077),e=TypeError,f=u.get,m=u.has,T=u.set;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(w,D){var U=c(this),W=arguments.length;a(D);var $=m(U,w);if(!$&&W<3)throw e("Updating absent value");var J=$?f(U,w):a(W>2?arguments[2]:void 0)(w,U);return T(U,w,D(J,w,U)),U}})},69046:(E,C,s)=>{"use strict";s(90513)({target:"Map",proto:!0,real:!0,forced:!0},{upsert:s(57729)})},61127:(E,C,s)=>{"use strict";s(84798)},45975:(E,C,s)=>{"use strict";s(98857)},93114:(E,C,s)=>{"use strict";var r=s(90513),a=s(54256),c=s(26975);r({target:"Promise",stat:!0,forced:!0},{try:function(u){var e=a.f(this),f=c(u);return(f.error?e.reject:e.resolve)(f.value),e.promise}})},68333:(E,C,s)=>{"use strict";var r=s(90513),a=s(54256);r({target:"Promise",stat:!0},{withResolvers:function(){var u=a.f(this);return{promise:u.promise,resolve:u.resolve,reject:u.reject}}})},55461:(E,C,s)=>{"use strict";s(25374)("asyncDispose")},5737:(E,C,s)=>{"use strict";s(25374)("dispose")},70337:(E,C,s)=>{"use strict";s(90513)({target:"Symbol",stat:!0},{isRegisteredSymbol:s(86475)})},61652:(E,C,s)=>{"use strict";s(90513)({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:s(86475)})},44388:(E,C,s)=>{"use strict";s(90513)({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:s(74110)})},90791:(E,C,s)=>{"use strict";s(90513)({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:s(74110)})},87097:(E,C,s)=>{"use strict";s(25374)("matcher")},29559:(E,C,s)=>{"use strict";s(25374)("metadataKey")},71985:(E,C,s)=>{"use strict";s(25374)("metadata")},90212:(E,C,s)=>{"use strict";s(25374)("observable")},93770:(E,C,s)=>{"use strict";s(25374)("patternMatch")},47743:(E,C,s)=>{"use strict";s(25374)("replaceAll")},33089:(E,C,s)=>{"use strict";s(1285);var r=s(44125),a=s(70009),c=s(35329),u=s(65162),e=s(84394),m=s(91840)("toStringTag");for(var T in r){var M=a[T],w=M&&M.prototype;w&&c(w)!==m&&u(w,m,T),e[T]=e.Array}},94784:(E,C,s)=>{"use strict";var r=s(90513),a=s(70009),u=s(53814)(a.setInterval,!0);r({global:!0,bind:!0,forced:a.setInterval!==u},{setInterval:u})},36445:(E,C,s)=>{"use strict";var r=s(90513),a=s(70009),u=s(53814)(a.setTimeout,!0);r({global:!0,bind:!0,forced:a.setTimeout!==u},{setTimeout:u})},69280:(E,C,s)=>{"use strict";s(94784),s(36445)},73842:(E,C,s)=>{"use strict";s(1285);var r=s(90513),a=s(70009),c=s(25401),u=s(23634),e=s(49642),f=s(54933),m=s(42915),T=s(1707),M=s(84604),w=s(85681),D=s(14554),U=s(91093),W=s(54849),$=s(52208),J=s(80112),F=s(76781),X=s(35329),de=s(64562),V=s(77293),ce=s(41433),se=s(83272),fe=s(51361),Te=s(88055),$e=s(34014),ge=s(15086),Et=s(91840),ot=s(84865),ct=Et("iterator"),qe="URLSearchParams",He=qe+"Iterator",We=U.set,Le=U.getterFor(qe),Pt=U.getterFor(He),it=Object.getOwnPropertyDescriptor,Xt=function(Dn){if(!e)return a[Dn];var Hn=it(a,Dn);return Hn&&Hn.value},cn=Xt("fetch"),pn=Xt("Request"),Rn=Xt("Headers"),At=pn&&pn.prototype,qt=Rn&&Rn.prototype,sn=a.RegExp,fn=a.TypeError,xn=a.decodeURIComponent,Kr=a.encodeURIComponent,Or=u("".charAt),Lr=u([].join),ir=u([].push),Qr=u("".replace),jr=u([].shift),br=u([].splice),ht=u("".split),Wt=u("".slice),Tt=/\+/g,wn=Array(4),jn=function(Dn){return wn[Dn-1]||(wn[Dn-1]=sn("((?:%[\\da-f]{2}){"+Dn+"})","gi"))},hr=function(Dn){try{return xn(Dn)}catch{return Dn}},Oi=function(Dn){var Hn=Qr(Dn,Tt," "),jt=4;try{return xn(Hn)}catch{for(;jt;)Hn=Qr(Hn,jn(jt--),hr);return Hn}},Wi=/[!'()~]|%20/g,so={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},kr=function(Dn){return so[Dn]},Ei=function(Dn){return Qr(Kr(Dn),Wi,kr)},ii=D(function(Hn,jt){We(this,{type:He,iterator:Te(Le(Hn).entries),kind:jt})},"Iterator",function(){var Hn=Pt(this),jt=Hn.kind,Fe=Hn.iterator.next(),Ie=Fe.value;return Fe.done||(Fe.value="keys"===jt?Ie.key:"values"===jt?Ie.value:[Ie.key,Ie.value]),Fe},!0),mr=function(Dn){this.entries=[],this.url=null,void 0!==Dn&&(V(Dn)?this.parseObject(Dn):this.parseQuery("string"==typeof Dn?"?"===Or(Dn,0)?Wt(Dn,1):Dn:ce(Dn)))};mr.prototype={type:qe,bindURL:function(Dn){this.url=Dn,this.update()},parseObject:function(Dn){var jt,Fe,Ie,et,ze,an,lt,Hn=$e(Dn);if(Hn)for(Fe=(jt=Te(Dn,Hn)).next;!(Ie=c(Fe,jt)).done;){if(et=Te(de(Ie.value)),(an=c(ze=et.next,et)).done||(lt=c(ze,et)).done||!c(ze,et).done)throw fn("Expected sequence with length 2");ir(this.entries,{key:ce(an.value),value:ce(lt.value)})}else for(var Rt in Dn)J(Dn,Rt)&&ir(this.entries,{key:Rt,value:ce(Dn[Rt])})},parseQuery:function(Dn){if(Dn)for(var Fe,Ie,Hn=ht(Dn,"&"),jt=0;jt<Hn.length;)(Fe=Hn[jt++]).length&&(Ie=ht(Fe,"="),ir(this.entries,{key:Oi(jr(Ie)),value:Oi(Lr(Ie,"="))}))},serialize:function(){for(var Fe,Dn=this.entries,Hn=[],jt=0;jt<Dn.length;)Fe=Dn[jt++],ir(Hn,Ei(Fe.key)+"="+Ei(Fe.value));return Lr(Hn,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var pr=function(){W(this,Eo);var jt=We(this,new mr(arguments.length>0?arguments[0]:void 0));e||(this.size=jt.entries.length)},Eo=pr.prototype;if(M(Eo,{append:function(Hn,jt){var Fe=Le(this);ge(arguments.length,2),ir(Fe.entries,{key:ce(Hn),value:ce(jt)}),e||this.length++,Fe.updateURL()},delete:function(Dn){for(var Hn=Le(this),jt=ge(arguments.length,1),Fe=Hn.entries,Ie=ce(Dn),et=jt<2?void 0:arguments[1],ze=void 0===et?et:ce(et),an=0;an<Fe.length;){var lt=Fe[an];if(lt.key!==Ie||void 0!==ze&&lt.value!==ze)an++;else if(br(Fe,an,1),void 0!==ze)break}e||(this.size=Fe.length),Hn.updateURL()},get:function(Hn){var jt=Le(this).entries;ge(arguments.length,1);for(var Fe=ce(Hn),Ie=0;Ie<jt.length;Ie++)if(jt[Ie].key===Fe)return jt[Ie].value;return null},getAll:function(Hn){var jt=Le(this).entries;ge(arguments.length,1);for(var Fe=ce(Hn),Ie=[],et=0;et<jt.length;et++)jt[et].key===Fe&&ir(Ie,jt[et].value);return Ie},has:function(Hn){for(var jt=Le(this).entries,Fe=ge(arguments.length,1),Ie=ce(Hn),et=Fe<2?void 0:arguments[1],ze=void 0===et?et:ce(et),an=0;an<jt.length;){var lt=jt[an++];if(lt.key===Ie&&(void 0===ze||lt.value===ze))return!0}return!1},set:function(Hn,jt){var Fe=Le(this);ge(arguments.length,1);for(var Rt,Ie=Fe.entries,et=!1,ze=ce(Hn),an=ce(jt),lt=0;lt<Ie.length;lt++)(Rt=Ie[lt]).key===ze&&(et?br(Ie,lt--,1):(et=!0,Rt.value=an));et||ir(Ie,{key:ze,value:an}),e||(this.size=Ie.length),Fe.updateURL()},sort:function(){var Hn=Le(this);ot(Hn.entries,function(jt,Fe){return jt.key>Fe.key?1:-1}),Hn.updateURL()},forEach:function(Hn){for(var et,jt=Le(this).entries,Fe=F(Hn,arguments.length>1?arguments[1]:void 0),Ie=0;Ie<jt.length;)Fe((et=jt[Ie++]).value,et.key,this)},keys:function(){return new ii(this,"keys")},values:function(){return new ii(this,"values")},entries:function(){return new ii(this,"entries")}},{enumerable:!0}),m(Eo,ct,Eo.entries,{name:"entries"}),m(Eo,"toString",function(){return Le(this).serialize()},{enumerable:!0}),e&&T(Eo,"size",{get:function(){return Le(this).entries.length},configurable:!0,enumerable:!0}),w(pr,qe),r({global:!0,constructor:!0,forced:!f},{URLSearchParams:pr}),!f&&$(Rn)){var po=u(qt.has),$i=u(qt.set),qr=function(Dn){if(V(Dn)){var jt,Hn=Dn.body;if(X(Hn)===qe)return jt=Dn.headers?new Rn(Dn.headers):new Rn,po(jt,"content-type")||$i(jt,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),se(Dn,{body:fe(0,ce(Hn)),headers:fe(0,jt)})}return Dn};if($(cn)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Hn){return cn(Hn,arguments.length>1?qr(arguments[1]):{})}}),$(pn)){var Hi=function(Hn){return W(this,At),new pn(Hn,arguments.length>1?qr(arguments[1]):{})};At.constructor=Hi,Hi.prototype=At,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Hi})}}E.exports={URLSearchParams:pr,getState:Le}},56247:()=>{},82842:()=>{},26953:(E,C,s)=>{"use strict";s(73842)},86023:()=>{},37256:(E,C,s)=>{"use strict";var r=s(90513),a=s(7365),c=s(55756),u=s(15086),e=s(41433),f=s(54933),m=a("URL");r({target:"URL",stat:!0,forced:!(f&&c(function(){m.canParse()}))},{canParse:function(w){var D=u(arguments.length,1),U=e(w),W=D<2||void 0===arguments[1]?void 0:e(arguments[1]);try{return!!new m(U,W)}catch{return!1}}})},80504:(E,C,s)=>{"use strict";s(3934);var Wi,r=s(90513),a=s(49642),c=s(54933),u=s(70009),e=s(76781),f=s(23634),m=s(42915),T=s(1707),M=s(54849),w=s(80112),D=s(75791),U=s(51923),W=s(8681),$=s(61557).codeAt,J=s(26662),F=s(41433),X=s(85681),de=s(15086),V=s(73842),ce=s(91093),se=ce.set,fe=ce.getterFor("URL"),Te=V.URLSearchParams,$e=V.getState,ge=u.URL,Et=u.TypeError,ot=u.parseInt,ct=Math.floor,qe=Math.pow,He=f("".charAt),We=f(/./.exec),Le=f([].join),Pt=f(1..toString),it=f([].pop),Xt=f([].push),cn=f("".replace),pn=f([].shift),Rn=f("".split),At=f("".slice),qt=f("".toLowerCase),sn=f([].unshift),xn="Invalid scheme",Kr="Invalid host",Or="Invalid port",Lr=/[a-z]/i,ir=/[\d+-.a-z]/i,Qr=/\d/,jr=/^0x/i,br=/^[0-7]+$/,ht=/^\d+$/,Wt=/^[\da-f]+$/i,Tt=/[\0\t\n\r #%/:<>?@[\\\]^|]/,wn=/[\0\t\n\r #/:<>?@[\\\]^|]/,jn=/^[\u0000-\u0020]+/,hr=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Oi=/[\t\n\r]/g,ii=function(dr){var Ni,ti,Vr,wi;if("number"==typeof dr){for(Ni=[],ti=0;ti<4;ti++)sn(Ni,dr%256),dr=ct(dr/256);return Le(Ni,".")}if("object"==typeof dr){for(Ni="",Vr=function(dr){for(var Ni=null,ti=1,Vr=null,wi=0,ji=0;ji<8;ji++)0!==dr[ji]?(wi>ti&&(Ni=Vr,ti=wi),Vr=null,wi=0):(null===Vr&&(Vr=ji),++wi);return wi>ti&&(Ni=Vr,ti=wi),Ni}(dr),ti=0;ti<8;ti++)wi&&0===dr[ti]||(wi&&(wi=!1),Vr===ti?(Ni+=ti?":":"::",wi=!0):(Ni+=Pt(dr[ti],16),ti<7&&(Ni+=":")));return"["+Ni+"]"}return dr},mr={},pr=D({},mr,{" ":1,'"':1,"<":1,">":1,"`":1}),Eo=D({},pr,{"#":1,"?":1,"{":1,"}":1}),po=D({},Eo,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),$i=function(dr,Ni){var ti=$(dr,0);return ti>32&&ti<127&&!w(Ni,dr)?dr:encodeURIComponent(dr)},qr={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Hi=function(dr,Ni){var ti;return 2===dr.length&&We(Lr,He(dr,0))&&(":"===(ti=He(dr,1))||!Ni&&"|"===ti)},Dn=function(dr){var Ni;return dr.length>1&&Hi(At(dr,0,2))&&(2===dr.length||"/"===(Ni=He(dr,2))||"\\"===Ni||"?"===Ni||"#"===Ni)},Hn=function(dr){return"."===dr||"%2e"===qt(dr)},jt=function(dr){return".."===(dr=qt(dr))||"%2e."===dr||".%2e"===dr||"%2e%2e"===dr},Fe={},Ie={},et={},ze={},an={},lt={},Rt={},Pe={},qn={},gr={},Pn={},_r={},Pr={},tr={},Zn={},nr={},Zt={},dn={},Ge={},Ot={},mn={},wr=function(dr,Ni,ti){var wi,ji,Vi,Vr=F(dr);if(Ni){if(ji=this.parse(Vr))throw Et(ji);this.searchParams=null}else{if(void 0!==ti&&(wi=new wr(ti,!0)),ji=this.parse(Vr,null,wi))throw Et(ji);(Vi=$e(new Te)).bindURL(this),this.searchParams=Vi}};wr.prototype={type:"URL",parse:function(dr,Ni,ti){var ro,Vt,bn,Bn,Vr=this,wi=Ni||Fe,ji=0,Vi="",Po=!1,ko=!1,Ir=!1;for(dr=F(dr),Ni||(Vr.scheme="",Vr.username="",Vr.password="",Vr.host=null,Vr.port=null,Vr.path=[],Vr.query=null,Vr.fragment=null,Vr.cannotBeABaseURL=!1,dr=cn(dr,jn,""),dr=cn(dr,hr,"$1")),dr=cn(dr,Oi,""),ro=U(dr);ji<=ro.length;){switch(Vt=ro[ji],wi){case Fe:if(!Vt||!We(Lr,Vt)){if(Ni)return xn;wi=et;continue}Vi+=qt(Vt),wi=Ie;break;case Ie:if(Vt&&(We(ir,Vt)||"+"===Vt||"-"===Vt||"."===Vt))Vi+=qt(Vt);else{if(":"!==Vt){if(Ni)return xn;Vi="",wi=et,ji=0;continue}if(Ni&&(Vr.isSpecial()!==w(qr,Vi)||"file"===Vi&&(Vr.includesCredentials()||null!==Vr.port)||"file"===Vr.scheme&&!Vr.host))return;if(Vr.scheme=Vi,Ni)return void(Vr.isSpecial()&&qr[Vr.scheme]===Vr.port&&(Vr.port=null));Vi="","file"===Vr.scheme?wi=tr:Vr.isSpecial()&&ti&&ti.scheme===Vr.scheme?wi=ze:Vr.isSpecial()?wi=Pe:"/"===ro[ji+1]?(wi=an,ji++):(Vr.cannotBeABaseURL=!0,Xt(Vr.path,""),wi=Ge)}break;case et:if(!ti||ti.cannotBeABaseURL&&"#"!==Vt)return xn;if(ti.cannotBeABaseURL&&"#"===Vt){Vr.scheme=ti.scheme,Vr.path=W(ti.path),Vr.query=ti.query,Vr.fragment="",Vr.cannotBeABaseURL=!0,wi=mn;break}wi="file"===ti.scheme?tr:lt;continue;case ze:if("/"!==Vt||"/"!==ro[ji+1]){wi=lt;continue}wi=qn,ji++;break;case an:if("/"===Vt){wi=gr;break}wi=dn;continue;case lt:if(Vr.scheme=ti.scheme,Vt===Wi)Vr.username=ti.username,Vr.password=ti.password,Vr.host=ti.host,Vr.port=ti.port,Vr.path=W(ti.path),Vr.query=ti.query;else if("/"===Vt||"\\"===Vt&&Vr.isSpecial())wi=Rt;else if("?"===Vt)Vr.username=ti.username,Vr.password=ti.password,Vr.host=ti.host,Vr.port=ti.port,Vr.path=W(ti.path),Vr.query="",wi=Ot;else{if("#"!==Vt){Vr.username=ti.username,Vr.password=ti.password,Vr.host=ti.host,Vr.port=ti.port,Vr.path=W(ti.path),Vr.path.length--,wi=dn;continue}Vr.username=ti.username,Vr.password=ti.password,Vr.host=ti.host,Vr.port=ti.port,Vr.path=W(ti.path),Vr.query=ti.query,Vr.fragment="",wi=mn}break;case Rt:if(!Vr.isSpecial()||"/"!==Vt&&"\\"!==Vt){if("/"!==Vt){Vr.username=ti.username,Vr.password=ti.password,Vr.host=ti.host,Vr.port=ti.port,wi=dn;continue}wi=gr}else wi=qn;break;case Pe:if(wi=qn,"/"!==Vt||"/"!==He(Vi,ji+1))continue;ji++;break;case qn:if("/"!==Vt&&"\\"!==Vt){wi=gr;continue}break;case gr:if("@"===Vt){Po&&(Vi="%40"+Vi),Po=!0,bn=U(Vi);for(var ci=0;ci<bn.length;ci++){var _o=bn[ci];if(":"!==_o||Ir){var go=$i(_o,po);Ir?Vr.password+=go:Vr.username+=go}else Ir=!0}Vi=""}else if(Vt===Wi||"/"===Vt||"?"===Vt||"#"===Vt||"\\"===Vt&&Vr.isSpecial()){if(Po&&""===Vi)return"Invalid authority";ji-=U(Vi).length+1,Vi="",wi=Pn}else Vi+=Vt;break;case Pn:case _r:if(Ni&&"file"===Vr.scheme){wi=nr;continue}if(":"!==Vt||ko){if(Vt===Wi||"/"===Vt||"?"===Vt||"#"===Vt||"\\"===Vt&&Vr.isSpecial()){if(Vr.isSpecial()&&""===Vi)return Kr;if(Ni&&""===Vi&&(Vr.includesCredentials()||null!==Vr.port))return;if(Bn=Vr.parseHost(Vi))return Bn;if(Vi="",wi=Zt,Ni)return;continue}"["===Vt?ko=!0:"]"===Vt&&(ko=!1),Vi+=Vt}else{if(""===Vi)return Kr;if(Bn=Vr.parseHost(Vi))return Bn;if(Vi="",wi=Pr,Ni===_r)return}break;case Pr:if(!We(Qr,Vt)){if(Vt===Wi||"/"===Vt||"?"===Vt||"#"===Vt||"\\"===Vt&&Vr.isSpecial()||Ni){if(""!==Vi){var es=ot(Vi,10);if(es>65535)return Or;Vr.port=Vr.isSpecial()&&es===qr[Vr.scheme]?null:es,Vi=""}if(Ni)return;wi=Zt;continue}return Or}Vi+=Vt;break;case tr:if(Vr.scheme="file","/"===Vt||"\\"===Vt)wi=Zn;else{if(!ti||"file"!==ti.scheme){wi=dn;continue}switch(Vt){case Wi:Vr.host=ti.host,Vr.path=W(ti.path),Vr.query=ti.query;break;case"?":Vr.host=ti.host,Vr.path=W(ti.path),Vr.query="",wi=Ot;break;case"#":Vr.host=ti.host,Vr.path=W(ti.path),Vr.query=ti.query,Vr.fragment="",wi=mn;break;default:Dn(Le(W(ro,ji),""))||(Vr.host=ti.host,Vr.path=W(ti.path),Vr.shortenPath()),wi=dn;continue}}break;case Zn:if("/"===Vt||"\\"===Vt){wi=nr;break}ti&&"file"===ti.scheme&&!Dn(Le(W(ro,ji),""))&&(Hi(ti.path[0],!0)?Xt(Vr.path,ti.path[0]):Vr.host=ti.host),wi=dn;continue;case nr:if(Vt===Wi||"/"===Vt||"\\"===Vt||"?"===Vt||"#"===Vt){if(!Ni&&Hi(Vi))wi=dn;else if(""===Vi){if(Vr.host="",Ni)return;wi=Zt}else{if(Bn=Vr.parseHost(Vi))return Bn;if("localhost"===Vr.host&&(Vr.host=""),Ni)return;Vi="",wi=Zt}continue}Vi+=Vt;break;case Zt:if(Vr.isSpecial()){if(wi=dn,"/"!==Vt&&"\\"!==Vt)continue}else if(Ni||"?"!==Vt)if(Ni||"#"!==Vt){if(Vt!==Wi&&(wi=dn,"/"!==Vt))continue}else Vr.fragment="",wi=mn;else Vr.query="",wi=Ot;break;case dn:if(Vt===Wi||"/"===Vt||"\\"===Vt&&Vr.isSpecial()||!Ni&&("?"===Vt||"#"===Vt)){if(jt(Vi)?(Vr.shortenPath(),"/"!==Vt&&!("\\"===Vt&&Vr.isSpecial())&&Xt(Vr.path,"")):Hn(Vi)?"/"!==Vt&&!("\\"===Vt&&Vr.isSpecial())&&Xt(Vr.path,""):("file"===Vr.scheme&&!Vr.path.length&&Hi(Vi)&&(Vr.host&&(Vr.host=""),Vi=He(Vi,0)+":"),Xt(Vr.path,Vi)),Vi="","file"===Vr.scheme&&(Vt===Wi||"?"===Vt||"#"===Vt))for(;Vr.path.length>1&&""===Vr.path[0];)pn(Vr.path);"?"===Vt?(Vr.query="",wi=Ot):"#"===Vt&&(Vr.fragment="",wi=mn)}else Vi+=$i(Vt,Eo);break;case Ge:"?"===Vt?(Vr.query="",wi=Ot):"#"===Vt?(Vr.fragment="",wi=mn):Vt!==Wi&&(Vr.path[0]+=$i(Vt,mr));break;case Ot:Ni||"#"!==Vt?Vt!==Wi&&("'"===Vt&&Vr.isSpecial()?Vr.query+="%27":Vr.query+="#"===Vt?"%23":$i(Vt,mr)):(Vr.fragment="",wi=mn);break;case mn:Vt!==Wi&&(Vr.fragment+=$i(Vt,pr))}ji++}},parseHost:function(dr){var Ni,ti,Vr;if("["===He(dr,0)){if("]"!==He(dr,dr.length-1)||(Ni=function(dr){var ji,Vi,Po,ko,Ir,ro,Vt,Ni=[0,0,0,0,0,0,0,0],ti=0,Vr=null,wi=0,bn=function(){return He(dr,wi)};if(":"===bn()){if(":"!==He(dr,1))return;wi+=2,Vr=++ti}for(;bn();){if(8===ti)return;if(":"!==bn()){for(ji=Vi=0;Vi<4&&We(Wt,bn());)ji=16*ji+ot(bn(),16),wi++,Vi++;if("."===bn()){if(0===Vi||(wi-=Vi,ti>6))return;for(Po=0;bn();){if(ko=null,Po>0){if(!("."===bn()&&Po<4))return;wi++}if(!We(Qr,bn()))return;for(;We(Qr,bn());){if(Ir=ot(bn(),10),null===ko)ko=Ir;else{if(0===ko)return;ko=10*ko+Ir}if(ko>255)return;wi++}Ni[ti]=256*Ni[ti]+ko,(2==++Po||4===Po)&&ti++}if(4!==Po)return;break}if(":"===bn()){if(wi++,!bn())return}else if(bn())return;Ni[ti++]=ji}else{if(null!==Vr)return;wi++,Vr=++ti}}if(null!==Vr)for(ro=ti-Vr,ti=7;0!==ti&&ro>0;)Vt=Ni[ti],Ni[ti--]=Ni[Vr+ro-1],Ni[Vr+--ro]=Vt;else if(8!==ti)return;return Ni}(At(dr,1,-1)),!Ni))return Kr;this.host=Ni}else if(this.isSpecial()){if(dr=J(dr),We(Tt,dr)||(Ni=function(dr){var ti,Vr,wi,ji,Vi,Po,ko,Ni=Rn(dr,".");if(Ni.length&&""===Ni[Ni.length-1]&&Ni.length--,(ti=Ni.length)>4)return dr;for(Vr=[],wi=0;wi<ti;wi++){if(""===(ji=Ni[wi]))return dr;if(Vi=10,ji.length>1&&"0"===He(ji,0)&&(Vi=We(jr,ji)?16:8,ji=At(ji,8===Vi?1:2)),""===ji)Po=0;else{if(!We(10===Vi?ht:8===Vi?br:Wt,ji))return dr;Po=ot(ji,Vi)}Xt(Vr,Po)}for(wi=0;wi<ti;wi++)if(Po=Vr[wi],wi===ti-1){if(Po>=qe(256,5-ti))return null}else if(Po>255)return null;for(ko=it(Vr),wi=0;wi<Vr.length;wi++)ko+=Vr[wi]*qe(256,3-wi);return ko}(dr),null===Ni))return Kr;this.host=Ni}else{if(We(wn,dr))return Kr;for(Ni="",ti=U(dr),Vr=0;Vr<ti.length;Vr++)Ni+=$i(ti[Vr],mr);this.host=Ni}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return w(qr,this.scheme)},shortenPath:function(){var dr=this.path,Ni=dr.length;Ni&&("file"!==this.scheme||1!==Ni||!Hi(dr[0],!0))&&dr.length--},serialize:function(){var dr=this,Ni=dr.scheme,ti=dr.username,Vr=dr.password,wi=dr.host,ji=dr.port,Vi=dr.path,Po=dr.query,ko=dr.fragment,Ir=Ni+":";return null!==wi?(Ir+="//",dr.includesCredentials()&&(Ir+=ti+(Vr?":"+Vr:"")+"@"),Ir+=ii(wi),null!==ji&&(Ir+=":"+ji)):"file"===Ni&&(Ir+="//"),Ir+=dr.cannotBeABaseURL?Vi[0]:Vi.length?"/"+Le(Vi,"/"):"",null!==Po&&(Ir+="?"+Po),null!==ko&&(Ir+="#"+ko),Ir},setHref:function(dr){var Ni=this.parse(dr);if(Ni)throw Et(Ni);this.searchParams.update()},getOrigin:function(){var dr=this.scheme,Ni=this.port;if("blob"===dr)try{return new Ti(dr.path[0]).origin}catch{return"null"}return"file"!==dr&&this.isSpecial()?dr+"://"+ii(this.host)+(null!==Ni?":"+Ni:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(dr){this.parse(F(dr)+":",Fe)},getUsername:function(){return this.username},setUsername:function(dr){var Ni=U(F(dr));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var ti=0;ti<Ni.length;ti++)this.username+=$i(Ni[ti],po)}},getPassword:function(){return this.password},setPassword:function(dr){var Ni=U(F(dr));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var ti=0;ti<Ni.length;ti++)this.password+=$i(Ni[ti],po)}},getHost:function(){var dr=this.host,Ni=this.port;return null===dr?"":null===Ni?ii(dr):ii(dr)+":"+Ni},setHost:function(dr){this.cannotBeABaseURL||this.parse(dr,Pn)},getHostname:function(){var dr=this.host;return null===dr?"":ii(dr)},setHostname:function(dr){this.cannotBeABaseURL||this.parse(dr,_r)},getPort:function(){var dr=this.port;return null===dr?"":F(dr)},setPort:function(dr){this.cannotHaveUsernamePasswordPort()||(""===(dr=F(dr))?this.port=null:this.parse(dr,Pr))},getPathname:function(){var dr=this.path;return this.cannotBeABaseURL?dr[0]:dr.length?"/"+Le(dr,"/"):""},setPathname:function(dr){this.cannotBeABaseURL||(this.path=[],this.parse(dr,Zt))},getSearch:function(){var dr=this.query;return dr?"?"+dr:""},setSearch:function(dr){""===(dr=F(dr))?this.query=null:("?"===He(dr,0)&&(dr=At(dr,1)),this.query="",this.parse(dr,Ot)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var dr=this.fragment;return dr?"#"+dr:""},setHash:function(dr){""!==(dr=F(dr))?("#"===He(dr,0)&&(dr=At(dr,1)),this.fragment="",this.parse(dr,mn)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ti=function(Ni){var ti=M(this,Ci),Vr=de(arguments.length,1)>1?arguments[1]:void 0,wi=se(ti,new wr(Ni,!1,Vr));a||(ti.href=wi.serialize(),ti.origin=wi.getOrigin(),ti.protocol=wi.getProtocol(),ti.username=wi.getUsername(),ti.password=wi.getPassword(),ti.host=wi.getHost(),ti.hostname=wi.getHostname(),ti.port=wi.getPort(),ti.pathname=wi.getPathname(),ti.search=wi.getSearch(),ti.searchParams=wi.getSearchParams(),ti.hash=wi.getHash())},Ci=Ti.prototype,Ai=function(dr,Ni){return{get:function(){return fe(this)[dr]()},set:Ni&&function(ti){return fe(this)[Ni](ti)},configurable:!0,enumerable:!0}};if(a&&(T(Ci,"href",Ai("serialize","setHref")),T(Ci,"origin",Ai("getOrigin")),T(Ci,"protocol",Ai("getProtocol","setProtocol")),T(Ci,"username",Ai("getUsername","setUsername")),T(Ci,"password",Ai("getPassword","setPassword")),T(Ci,"host",Ai("getHost","setHost")),T(Ci,"hostname",Ai("getHostname","setHostname")),T(Ci,"port",Ai("getPort","setPort")),T(Ci,"pathname",Ai("getPathname","setPathname")),T(Ci,"search",Ai("getSearch","setSearch")),T(Ci,"searchParams",Ai("getSearchParams")),T(Ci,"hash",Ai("getHash","setHash"))),m(Ci,"toJSON",function(){return fe(this).serialize()},{enumerable:!0}),m(Ci,"toString",function(){return fe(this).serialize()},{enumerable:!0}),ge){var Ko=ge.createObjectURL,_s=ge.revokeObjectURL;Ko&&m(Ti,"createObjectURL",e(Ko,ge)),_s&&m(Ti,"revokeObjectURL",e(_s,ge))}X(Ti,"URL"),r({global:!0,constructor:!0,forced:!c,sham:!a},{URL:Ti})},95981:(E,C,s)=>{"use strict";s(80504)},71324:()=>{},75242:(E,C,s)=>{"use strict";var r=s(74771);E.exports=r},10323:(E,C,s)=>{"use strict";var r=s(8412);E.exports=r},99940:(E,C,s)=>{"use strict";var r=s(399);E.exports=r},89919:(E,C,s)=>{"use strict";var r=s(98812);E.exports=r},14869:(E,C,s)=>{"use strict";var r=s(33195);E.exports=r},4475:(E,C,s)=>{"use strict";var r=s(46332);E.exports=r},38762:(E,C,s)=>{"use strict";var r=s(42618);E.exports=r},8748:(E,C,s)=>{"use strict";var r=s(63791);s(33089),E.exports=r},71873:(E,C,s)=>{"use strict";var r=s(69029);E.exports=r},61599:(E,C,s)=>{"use strict";var r=s(28924);E.exports=r},34097:(E,C,s)=>{"use strict";s(33089);var r=s(35329),a=s(80112),c=s(23336),u=s(99940),e=Array.prototype,f={DOMTokenList:!0,NodeList:!0};E.exports=function(m){var T=m.entries;return m===e||c(e,m)&&T===e.entries||a(f,r(m))?u:T}},15149:(E,C,s)=>{"use strict";var r=s(98709);E.exports=r},83361:(E,C,s)=>{"use strict";var r=s(65991);E.exports=r},19095:(E,C,s)=>{"use strict";var r=s(64158);E.exports=r},71420:(E,C,s)=>{"use strict";var r=s(91799);E.exports=r},13178:(E,C,s)=>{"use strict";var r=s(26155);E.exports=r},52049:(E,C,s)=>{"use strict";s(33089);var r=s(35329),a=s(80112),c=s(23336),u=s(89919),e=Array.prototype,f={DOMTokenList:!0,NodeList:!0};E.exports=function(m){var T=m.forEach;return m===e||c(e,m)&&T===e.forEach||a(f,r(m))?u:T}},83655:(E,C,s)=>{"use strict";var r=s(33758);E.exports=r},87054:(E,C,s)=>{"use strict";var r=s(7592);E.exports=r},51946:(E,C,s)=>{"use strict";s(33089);var r=s(35329),a=s(80112),c=s(23336),u=s(14869),e=Array.prototype,f={DOMTokenList:!0,NodeList:!0};E.exports=function(m){var T=m.keys;return m===e||c(e,m)&&T===e.keys||a(f,r(m))?u:T}},40764:(E,C,s)=>{"use strict";var r=s(17480);E.exports=r},81214:(E,C,s)=>{"use strict";var r=s(20681);E.exports=r},30252:(E,C,s)=>{"use strict";var r=s(801);E.exports=r},50881:(E,C,s)=>{"use strict";var r=s(90949);E.exports=r},38813:(E,C,s)=>{"use strict";var r=s(99316);E.exports=r},45284:(E,C,s)=>{"use strict";var r=s(62212);E.exports=r},70157:(E,C,s)=>{"use strict";var r=s(49073);E.exports=r},3502:(E,C,s)=>{"use strict";var r=s(24146);E.exports=r},81610:(E,C,s)=>{"use strict";var r=s(40104);E.exports=r},19543:(E,C,s)=>{"use strict";var r=s(3555);E.exports=r},74046:(E,C,s)=>{"use strict";var r=s(42475);E.exports=r},13731:(E,C,s)=>{"use strict";var r=s(65786);E.exports=r},80129:(E,C,s)=>{"use strict";s(33089);var r=s(35329),a=s(80112),c=s(23336),u=s(4475),e=Array.prototype,f={DOMTokenList:!0,NodeList:!0};E.exports=function(m){var T=m.values;return m===e||c(e,m)&&T===e.values||a(f,r(m))?u:T}},43720:(E,C,s)=>{"use strict";var r=s(66306);E.exports=r},640:(E,C,s)=>{"use strict";var r=s(31845);s(33089),E.exports=r},50320:(E,C,s)=>{"use strict";var r=s(44168);E.exports=r},93006:(E,C,s)=>{"use strict";var r=s(25852);E.exports=r},36226:(E,C,s)=>{"use strict";var r=s(24457);E.exports=r},21968:(E,C,s)=>{"use strict";var r=s(99671);E.exports=r},87259:(E,C,s)=>{"use strict";var r=s(38007);E.exports=r},62021:(E,C,s)=>{"use strict";var r=s(57432);E.exports=r},57682:(E,C,s)=>{"use strict";var r=s(36541);E.exports=r},94222:(E,C,s)=>{"use strict";var r=s(17303);E.exports=r},1162:(E,C,s)=>{"use strict";var r=s(62149);E.exports=r},82805:(E,C,s)=>{"use strict";var r=s(86537);E.exports=r},70809:(E,C,s)=>{"use strict";var r=s(79553);E.exports=r},26498:(E,C,s)=>{"use strict";var r=s(80092);s(33089),E.exports=r},44850:(E,C,s)=>{"use strict";var r=s(472);E.exports=r},9634:(E,C,s)=>{"use strict";var r=s(4678);E.exports=r},12118:(E,C,s)=>{"use strict";s(69280);var r=s(13544);E.exports=r.setTimeout},96551:(E,C,s)=>{"use strict";var r=s(61697);s(33089),E.exports=r},98908:(E,C,s)=>{"use strict";var r=s(42497);s(33089),E.exports=r},55434:(E,C,s)=>{"use strict";var r=s(50681);E.exports=r},70906:(E,C,s)=>{"use strict";var r=s(75081);E.exports=r},41530:(E,C,s)=>{"use strict";s(26953),s(56247),s(82842),s(86023);var r=s(13544);E.exports=r.URLSearchParams},75081:(E,C,s)=>{"use strict";s(41530),s(95981),s(37256),s(71324);var r=s(13544);E.exports=r.URL},52243:function(E){var C;C=typeof global<"u"?global:this,E.exports=function(C){if(C.CSS&&C.CSS.escape)return C.CSS.escape;var s=function(r){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var e,a=String(r),c=a.length,u=-1,f="",m=a.charCodeAt(0);++u<c;)0!=(e=a.charCodeAt(u))?f+=e>=1&&e<=31||127==e||0==u&&e>=48&&e<=57||1==u&&e>=48&&e<=57&&45==m?"\\"+e.toString(16)+" ":0==u&&1==c&&45==e||!(e>=128||45==e||95==e||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122)?"\\"+a.charAt(u):a.charAt(u):f+="\ufffd";return f};return C.CSS||(C.CSS={}),C.CSS.escape=s,s}(C)},97057:(E,C,s)=>{"use strict";s.d(C,{qY:()=>U});var r=function(){for(var V=0,ce=0,se=arguments.length;ce<se;ce++)V+=arguments[ce].length;var fe=Array(V),Te=0;for(ce=0;ce<se;ce++)for(var $e=arguments[ce],ge=0,Et=$e.length;ge<Et;ge++,Te++)fe[Te]=$e[ge];return fe},a=function V(ce,se,fe){this.name=ce,this.version=se,this.os=fe,this.type="browser"},c=function V(ce){this.version=ce,this.type="node",this.name="node",this.os=process.platform},u=function V(ce,se,fe,Te){this.name=ce,this.version=se,this.os=fe,this.bot=Te,this.type="bot-device"},e=function V(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},f=function V(){this.type="react-native",this.name="react-native",this.version=null,this.os=null},T=/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,M=3,w=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],D=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function U(V){return V?J(V):typeof document>"u"&&typeof navigator<"u"&&"ReactNative"===navigator.product?new f:typeof navigator<"u"?J(navigator.userAgent):function X(){return typeof process<"u"&&process.version?new c(process.version.slice(1)):null}()}function J(V){var ce=function W(V){return""!==V&&w.reduce(function(ce,se){var fe=se[0];if(ce)return ce;var $e=se[1].exec(V);return!!$e&&[fe,$e]},!1)}(V);if(!ce)return null;var se=ce[0],fe=ce[1];if("searchbot"===se)return new e;var Te=fe[1]&&fe[1].split(/[._]/).slice(0,3);Te?Te.length<M&&(Te=r(Te,function de(V){for(var ce=[],se=0;se<V;se++)ce.push("0");return ce}(M-Te.length))):Te=[];var $e=Te.join("."),ge=function F(V){for(var ce=0,se=D.length;ce<se;ce++){var fe=D[ce],Te=fe[0];if(fe[1].exec(V))return Te}return null}(V),Et=T.exec(V);return Et&&Et[1]?new u(se,$e,ge,Et[1]):new a(se,$e,ge)}},23358:function(E){E.exports=function(){"use strict";var s=Object.hasOwnProperty,r=Object.setPrototypeOf,a=Object.isFrozen,c=Object.getPrototypeOf,u=Object.getOwnPropertyDescriptor,e=Object.freeze,f=Object.seal,m=Object.create,T=typeof Reflect<"u"&&Reflect,M=T.apply,w=T.construct;M||(M=function(ht,Wt,Tt){return ht.apply(Wt,Tt)}),e||(e=function(ht){return ht}),f||(f=function(ht){return ht}),w||(w=function(ht,Wt){return new(Function.prototype.bind.apply(ht,[null].concat(function C(br){if(Array.isArray(br)){for(var ht=0,Wt=Array(br.length);ht<br.length;ht++)Wt[ht]=br[ht];return Wt}return Array.from(br)}(Wt))))});var D=se(Array.prototype.forEach),U=se(Array.prototype.pop),W=se(Array.prototype.push),$=se(String.prototype.toLowerCase),J=se(String.prototype.match),F=se(String.prototype.replace),X=se(String.prototype.indexOf),de=se(String.prototype.trim),V=se(RegExp.prototype.test),ce=function fe(br){return function(){for(var ht=arguments.length,Wt=Array(ht),Tt=0;Tt<ht;Tt++)Wt[Tt]=arguments[Tt];return w(br,Wt)}}(TypeError);function se(br){return function(ht){for(var Wt=arguments.length,Tt=Array(Wt>1?Wt-1:0),wn=1;wn<Wt;wn++)Tt[wn-1]=arguments[wn];return M(br,ht,Tt)}}function Te(br,ht){r&&r(br,null);for(var Wt=ht.length;Wt--;){var Tt=ht[Wt];if("string"==typeof Tt){var wn=$(Tt);wn!==Tt&&(a(ht)||(ht[Wt]=wn),Tt=wn)}br[Tt]=!0}return br}function $e(br){var ht=m(null),Wt=void 0;for(Wt in br)M(s,br,[Wt])&&(ht[Wt]=br[Wt]);return ht}function ge(br,ht){for(;null!==br;){var Wt=u(br,ht);if(Wt){if(Wt.get)return se(Wt.get);if("function"==typeof Wt.value)return se(Wt.value)}br=c(br)}return function Tt(wn){return console.warn("fallback value for",wn),null}}var Et=e(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ot=e(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ct=e(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),qe=e(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),He=e(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),We=e(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Le=e(["#text"]),Pt=e(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),it=e(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Xt=e(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),cn=e(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),pn=f(/\{\{[\s\S]*|[\s\S]*\}\}/gm),Rn=f(/<%[\s\S]*|[\s\S]*%>/gm),At=f(/^data-[\-\w.\u00B7-\uFFFF]/),qt=f(/^aria-[\-\w]+$/),sn=f(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),fn=f(/^(?:\w+script|data):/i),xn=f(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(br){return typeof br}:function(br){return br&&"function"==typeof Symbol&&br.constructor===Symbol&&br!==Symbol.prototype?"symbol":typeof br};function Or(br){if(Array.isArray(br)){for(var ht=0,Wt=Array(br.length);ht<br.length;ht++)Wt[ht]=br[ht];return Wt}return Array.from(br)}var Lr=function(){return typeof window>"u"?null:window},ir=function(ht,Wt){if("object"!==(typeof ht>"u"?"undefined":Kr(ht))||"function"!=typeof ht.createPolicy)return null;var Tt=null,wn="data-tt-policy-suffix";Wt.currentScript&&Wt.currentScript.hasAttribute(wn)&&(Tt=Wt.currentScript.getAttribute(wn));var jn="dompurify"+(Tt?"#"+Tt:"");try{return ht.createPolicy(jn,{createHTML:function(Oi){return Oi}})}catch{return console.warn("TrustedTypes policy "+jn+" could not be created."),null}};return function Qr(){var br=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Lr(),ht=function(zr){return Qr(zr)};if(ht.version="2.3.3",ht.removed=[],!br||!br.document||9!==br.document.nodeType)return ht.isSupported=!1,ht;var Wt=br.document,Tt=br.document,wn=br.DocumentFragment,jn=br.HTMLTemplateElement,hr=br.Node,Oi=br.Element,Wi=br.NodeFilter,so=br.NamedNodeMap,kr=void 0===so?br.NamedNodeMap||br.MozNamedAttrMap:so,Ei=br.Text,ii=br.Comment,mr=br.DOMParser,pr=br.trustedTypes,Eo=Oi.prototype,po=ge(Eo,"cloneNode"),$i=ge(Eo,"nextSibling"),qr=ge(Eo,"childNodes"),Hi=ge(Eo,"parentNode");if("function"==typeof jn){var Dn=Tt.createElement("template");Dn.content&&Dn.content.ownerDocument&&(Tt=Dn.content.ownerDocument)}var Hn=ir(pr,Wt),jt=Hn&&wi?Hn.createHTML(""):"",Ie=Tt.implementation,et=Tt.createNodeIterator,ze=Tt.createDocumentFragment,an=Tt.getElementsByTagName,lt=Wt.importNode,Rt={};try{Rt=$e(Tt).documentMode?Tt.documentMode:{}}catch{}var Pe={};ht.isSupported="function"==typeof Hi&&Ie&&typeof Ie.createHTMLDocument<"u"&&9!==Rt;var qn=pn,gr=Rn,Pn=At,_r=qt,Pr=fn,tr=xn,Zn=sn,nr=null,Zt=Te({},[].concat(Or(Et),Or(ot),Or(ct),Or(He),Or(Le))),dn=null,Ge=Te({},[].concat(Or(Pt),Or(it),Or(Xt),Or(cn))),Ot=null,mn=null,wr=!0,Ti=!0,Ci=!1,Ai=!1,Ko=!1,_s=!1,dr=!1,Ni=!1,ti=!1,Vr=!0,wi=!1,ji=!0,Vi=!0,Po=!1,ko={},Ir=null,ro=Te({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Vt=null,bn=Te({},["audio","video","img","source","image","track"]),Bn=null,ci=Te({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),_o="http://www.w3.org/1998/Math/MathML",go="http://www.w3.org/2000/svg",es="http://www.w3.org/1999/xhtml",ts=es,jo=!1,ss=void 0,gs=["application/xhtml+xml","text/html"],la=void 0,Ro=null,jl=Tt.createElement("form"),gl=function(zr){Ro&&Ro===zr||((!zr||"object"!==(typeof zr>"u"?"undefined":Kr(zr)))&&(zr={}),zr=$e(zr),nr="ALLOWED_TAGS"in zr?Te({},zr.ALLOWED_TAGS):Zt,dn="ALLOWED_ATTR"in zr?Te({},zr.ALLOWED_ATTR):Ge,Bn="ADD_URI_SAFE_ATTR"in zr?Te($e(ci),zr.ADD_URI_SAFE_ATTR):ci,Vt="ADD_DATA_URI_TAGS"in zr?Te($e(bn),zr.ADD_DATA_URI_TAGS):bn,Ir="FORBID_CONTENTS"in zr?Te({},zr.FORBID_CONTENTS):ro,Ot="FORBID_TAGS"in zr?Te({},zr.FORBID_TAGS):{},mn="FORBID_ATTR"in zr?Te({},zr.FORBID_ATTR):{},ko="USE_PROFILES"in zr&&zr.USE_PROFILES,wr=!1!==zr.ALLOW_ARIA_ATTR,Ti=!1!==zr.ALLOW_DATA_ATTR,Ci=zr.ALLOW_UNKNOWN_PROTOCOLS||!1,Ai=zr.SAFE_FOR_TEMPLATES||!1,Ko=zr.WHOLE_DOCUMENT||!1,Ni=zr.RETURN_DOM||!1,ti=zr.RETURN_DOM_FRAGMENT||!1,Vr=!1!==zr.RETURN_DOM_IMPORT,wi=zr.RETURN_TRUSTED_TYPE||!1,dr=zr.FORCE_BODY||!1,ji=!1!==zr.SANITIZE_DOM,Vi=!1!==zr.KEEP_CONTENT,Po=zr.IN_PLACE||!1,Zn=zr.ALLOWED_URI_REGEXP||Zn,ts=zr.NAMESPACE||es,ss=ss=-1===gs.indexOf(zr.PARSER_MEDIA_TYPE)?"text/html":zr.PARSER_MEDIA_TYPE,la="application/xhtml+xml"===ss?function(io){return io}:$,Ai&&(Ti=!1),ti&&(Ni=!0),ko&&(nr=Te({},[].concat(Or(Le))),dn=[],!0===ko.html&&(Te(nr,Et),Te(dn,Pt)),!0===ko.svg&&(Te(nr,ot),Te(dn,it),Te(dn,cn)),!0===ko.svgFilters&&(Te(nr,ct),Te(dn,it),Te(dn,cn)),!0===ko.mathMl&&(Te(nr,He),Te(dn,Xt),Te(dn,cn))),zr.ADD_TAGS&&(nr===Zt&&(nr=$e(nr)),Te(nr,zr.ADD_TAGS)),zr.ADD_ATTR&&(dn===Ge&&(dn=$e(dn)),Te(dn,zr.ADD_ATTR)),zr.ADD_URI_SAFE_ATTR&&Te(Bn,zr.ADD_URI_SAFE_ATTR),zr.FORBID_CONTENTS&&(Ir===ro&&(Ir=$e(Ir)),Te(Ir,zr.FORBID_CONTENTS)),Vi&&(nr["#text"]=!0),Ko&&Te(nr,["html","head","body"]),nr.table&&(Te(nr,["tbody"]),delete Ot.tbody),e&&e(zr),Ro=zr)},qa=Te({},["mi","mo","mn","ms","mtext"]),da=Te({},["foreignobject","desc","title","annotation-xml"]),$a=Te({},ot);Te($a,ct),Te($a,qe);var Rl=Te({},He);Te(Rl,We);var Ha=function(zr){W(ht.removed,{element:zr});try{zr.parentNode.removeChild(zr)}catch{try{zr.outerHTML=jt}catch{zr.remove()}}},Ts=function(zr,io){try{W(ht.removed,{attribute:io.getAttributeNode(zr),from:io})}catch{W(ht.removed,{attribute:null,from:io})}if(io.removeAttribute(zr),"is"===zr&&!dn[zr])if(Ni||ti)try{Ha(io)}catch{}else try{io.setAttribute(zr,"")}catch{}},hs=function(zr){var io=void 0,gt=void 0;if(dr)zr="<remove></remove>"+zr;else{var Tn=J(zr,/^[\r\n\t ]+/);gt=Tn&&Tn[0]}"application/xhtml+xml"===ss&&(zr='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+zr+"</body></html>");var ie=Hn?Hn.createHTML(zr):zr;if(ts===es)try{io=(new mr).parseFromString(ie,ss)}catch{}if(!io||!io.documentElement){io=Ie.createDocument(ts,"template",null);try{io.documentElement.innerHTML=jo?"":ie}catch{}}var Ze=io.body||io.documentElement;return zr&&gt&&Ze.insertBefore(Tt.createTextNode(gt),Ze.childNodes[0]||null),ts===es?an.call(io,Ko?"html":"body")[0]:Ko?io.documentElement:Ze},$s=function(zr){return et.call(zr.ownerDocument||zr,zr,Wi.SHOW_ELEMENT|Wi.SHOW_COMMENT|Wi.SHOW_TEXT,null,!1)},Ja=function(zr){return"object"===(typeof hr>"u"?"undefined":Kr(hr))?zr instanceof hr:zr&&"object"===(typeof zr>"u"?"undefined":Kr(zr))&&"number"==typeof zr.nodeType&&"string"==typeof zr.nodeName},fa=function(zr,io,gt){Pe[zr]&&D(Pe[zr],function(Tn){Tn.call(ht,io,gt,Ro)})},Xo=function(zr){var io=void 0;if(fa("beforeSanitizeElements",zr,null),function(zr){return!(zr instanceof Ei||zr instanceof ii||"string"==typeof zr.nodeName&&"string"==typeof zr.textContent&&"function"==typeof zr.removeChild&&zr.attributes instanceof kr&&"function"==typeof zr.removeAttribute&&"function"==typeof zr.setAttribute&&"string"==typeof zr.namespaceURI&&"function"==typeof zr.insertBefore)}(zr)||J(zr.nodeName,/[\u0080-\uFFFF]/))return Ha(zr),!0;var gt=la(zr.nodeName);if(fa("uponSanitizeElement",zr,{tagName:gt,allowedTags:nr}),!Ja(zr.firstElementChild)&&(!Ja(zr.content)||!Ja(zr.content.firstElementChild))&&V(/<[/\w]/g,zr.innerHTML)&&V(/<[/\w]/g,zr.textContent)||"select"===gt&&V(/<template/i,zr.innerHTML))return Ha(zr),!0;if(!nr[gt]||Ot[gt]){if(Vi&&!Ir[gt]){var Tn=Hi(zr)||zr.parentNode,ie=qr(zr)||zr.childNodes;if(ie&&Tn)for(var Jt=ie.length-1;Jt>=0;--Jt)Tn.insertBefore(po(ie[Jt],!0),$i(zr))}return Ha(zr),!0}return zr instanceof Oi&&!function(zr){var io=Hi(zr);(!io||!io.tagName)&&(io={namespaceURI:es,tagName:"template"});var gt=$(zr.tagName),Tn=$(io.tagName);if(zr.namespaceURI===go)return io.namespaceURI===es?"svg"===gt:io.namespaceURI===_o?"svg"===gt&&("annotation-xml"===Tn||qa[Tn]):Boolean($a[gt]);if(zr.namespaceURI===_o)return io.namespaceURI===es?"math"===gt:io.namespaceURI===go?"math"===gt&&da[Tn]:Boolean(Rl[gt]);if(zr.namespaceURI===es){if(io.namespaceURI===go&&!da[Tn]||io.namespaceURI===_o&&!qa[Tn])return!1;var ie=Te({},["title","style","font","a","script"]);return!Rl[gt]&&(ie[gt]||!$a[gt])}return!1}(zr)||("noscript"===gt||"noembed"===gt)&&V(/<\/no(script|embed)/i,zr.innerHTML)?(Ha(zr),!0):(Ai&&3===zr.nodeType&&(io=F(io=zr.textContent,qn," "),io=F(io,gr," "),zr.textContent!==io&&(W(ht.removed,{element:zr.cloneNode()}),zr.textContent=io)),fa("afterSanitizeElements",zr,null),!1)},No=function(zr,io,gt){if(ji&&("id"===io||"name"===io)&&(gt in Tt||gt in jl))return!1;if((!Ti||mn[io]||!V(Pn,io))&&(!wr||!V(_r,io))){if(!dn[io]||mn[io])return!1;if(!Bn[io]&&!V(Zn,F(gt,tr,""))&&("src"!==io&&"xlink:href"!==io&&"href"!==io||"script"===zr||0!==X(gt,"data:")||!Vt[zr])&&(!Ci||V(Pr,F(gt,tr,"")))&&gt)return!1}return!0},Cs=function(zr){var io=void 0,gt=void 0,Tn=void 0,ie=void 0;fa("beforeSanitizeAttributes",zr,null);var Ze=zr.attributes;if(Ze){var Jt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:dn};for(ie=Ze.length;ie--;){var vi=(io=Ze[ie]).name,Bi=io.namespaceURI;if(gt=de(io.value),Tn=la(vi),Jt.attrName=Tn,Jt.attrValue=gt,Jt.keepAttr=!0,Jt.forceKeepAttr=void 0,fa("uponSanitizeAttribute",zr,Jt),gt=Jt.attrValue,!Jt.forceKeepAttr&&(Ts(vi,zr),Jt.keepAttr)){if(V(/\/>/i,gt)){Ts(vi,zr);continue}Ai&&(gt=F(gt,qn," "),gt=F(gt,gr," "));var Xi=la(zr.nodeName);if(No(Xi,Tn,gt))try{Bi?zr.setAttributeNS(Bi,vi,gt):zr.setAttribute(vi,gt),U(ht.removed)}catch{}}}fa("afterSanitizeAttributes",zr,null)}},ns=function Fo(zr){var io=void 0,gt=$s(zr);for(fa("beforeSanitizeShadowDOM",zr,null);io=gt.nextNode();)fa("uponSanitizeShadowNode",io,null),!Xo(io)&&(io.content instanceof wn&&Fo(io.content),Cs(io));fa("afterSanitizeShadowDOM",zr,null)};return ht.sanitize=function(Fo,zr){var io=void 0,gt=void 0,Tn=void 0,ie=void 0,Ze=void 0;if((jo=!Fo)&&(Fo="\x3c!--\x3e"),"string"!=typeof Fo&&!Ja(Fo)){if("function"!=typeof Fo.toString)throw ce("toString is not a function");if("string"!=typeof(Fo=Fo.toString()))throw ce("dirty is not a string, aborting")}if(!ht.isSupported){if("object"===Kr(br.toStaticHTML)||"function"==typeof br.toStaticHTML){if("string"==typeof Fo)return br.toStaticHTML(Fo);if(Ja(Fo))return br.toStaticHTML(Fo.outerHTML)}return Fo}if(_s||gl(zr),ht.removed=[],"string"==typeof Fo&&(Po=!1),!Po)if(Fo instanceof hr)1===(gt=(io=hs("\x3c!----\x3e")).ownerDocument.importNode(Fo,!0)).nodeType&&"BODY"===gt.nodeName||"HTML"===gt.nodeName?io=gt:io.appendChild(gt);else{if(!Ni&&!Ai&&!Ko&&-1===Fo.indexOf("<"))return Hn&&wi?Hn.createHTML(Fo):Fo;if(!(io=hs(Fo)))return Ni?null:jt}io&&dr&&Ha(io.firstChild);for(var Jt=$s(Po?Fo:io);Tn=Jt.nextNode();)3===Tn.nodeType&&Tn===ie||Xo(Tn)||(Tn.content instanceof wn&&ns(Tn.content),Cs(Tn),ie=Tn);if(ie=null,Po)return Fo;if(Ni){if(ti)for(Ze=ze.call(io.ownerDocument);io.firstChild;)Ze.appendChild(io.firstChild);else Ze=io;return Vr&&(Ze=lt.call(Wt,Ze,!0)),Ze}var gn=Ko?io.outerHTML:io.innerHTML;return Ai&&(gn=F(gn,qn," "),gn=F(gn,gr," ")),Hn&&wi?Hn.createHTML(gn):gn},ht.setConfig=function(Fo){gl(Fo),_s=!0},ht.clearConfig=function(){Ro=null,_s=!1},ht.isValidAttribute=function(Fo,zr,io){Ro||gl({});var gt=la(Fo),Tn=la(zr);return No(gt,Tn,io)},ht.addHook=function(Fo,zr){"function"==typeof zr&&(Pe[Fo]=Pe[Fo]||[],W(Pe[Fo],zr))},ht.removeHook=function(Fo){Pe[Fo]&&U(Pe[Fo])},ht.removeHooks=function(Fo){Pe[Fo]&&(Pe[Fo]=[])},ht.removeAllHooks=function(){Pe={}},ht}()}()},32582:E=>{"use strict";class C{constructor(a,c){this.low=a,this.high=c,this.length=1+c-a}overlaps(a){return!(this.high<a.low||this.low>a.high)}touches(a){return!(this.high+1<a.low||this.low-1>a.high)}add(a){return new C(Math.min(this.low,a.low),Math.max(this.high,a.high))}subtract(a){return a.low<=this.low&&a.high>=this.high?[]:a.low>this.low&&a.high<this.high?[new C(this.low,a.low-1),new C(a.high+1,this.high)]:a.low<=this.low?[new C(a.high+1,this.high)]:[new C(this.low,a.low-1)]}toString(){return this.low==this.high?this.low.toString():this.low+"-"+this.high}}class s{constructor(a,c){this.ranges=[],this.length=0,null!=a&&this.add(a,c)}_update_length(){this.length=this.ranges.reduce((a,c)=>a+c.length,0)}add(a,c){var u=e=>{for(var f=0;f<this.ranges.length&&!e.touches(this.ranges[f]);)f++;for(var m=this.ranges.slice(0,f);f<this.ranges.length&&e.touches(this.ranges[f]);)e=e.add(this.ranges[f]),f++;m.push(e),this.ranges=m.concat(this.ranges.slice(f)),this._update_length()};return a instanceof s?a.ranges.forEach(u):(null==c&&(c=a),u(new C(a,c))),this}subtract(a,c){var u=e=>{for(var f=0;f<this.ranges.length&&!e.overlaps(this.ranges[f]);)f++;for(var m=this.ranges.slice(0,f);f<this.ranges.length&&e.overlaps(this.ranges[f]);)m=m.concat(this.ranges[f].subtract(e)),f++;this.ranges=m.concat(this.ranges.slice(f)),this._update_length()};return a instanceof s?a.ranges.forEach(u):(null==c&&(c=a),u(new C(a,c))),this}intersect(a,c){var u=[],e=f=>{for(var m=0;m<this.ranges.length&&!f.overlaps(this.ranges[m]);)m++;for(;m<this.ranges.length&&f.overlaps(this.ranges[m]);){var T=Math.max(this.ranges[m].low,f.low),M=Math.min(this.ranges[m].high,f.high);u.push(new C(T,M)),m++}};return a instanceof s?a.ranges.forEach(e):(null==c&&(c=a),e(new C(a,c))),this.ranges=u,this._update_length(),this}index(a){for(var c=0;c<this.ranges.length&&this.ranges[c].length<=a;)a-=this.ranges[c].length,c++;return this.ranges[c].low+a}toString(){return"[ "+this.ranges.join(", ")+" ]"}clone(){return new s(this)}numbers(){return this.ranges.reduce((a,c)=>{for(var u=c.low;u<=c.high;)a.push(u),u++;return a},[])}subranges(){return this.ranges.map(a=>({low:a.low,high:a.high,length:1+a.high-a.low}))}}E.exports=s},11926:(E,C,s)=>{"use strict";var r=s(88430),a=c(Error);function c(u){return e.displayName=u.displayName||u.name,e;function e(f){return f&&(f=r.apply(null,arguments)),new u(f)}}E.exports=a,a.eval=c(EvalError),a.range=c(RangeError),a.reference=c(ReferenceError),a.syntax=c(SyntaxError),a.type=c(TypeError),a.uri=c(URIError),a.create=c},49457:function(E,C){var s,a;void 0!==(a="function"==typeof(s=function(){"use strict";function u(M,w,D){var U=new XMLHttpRequest;U.open("GET",M),U.responseType="blob",U.onload=function(){T(U.response,w,D)},U.onerror=function(){console.error("could not download file")},U.send()}function e(M){var w=new XMLHttpRequest;w.open("HEAD",M,!1);try{w.send()}catch{}return 200<=w.status&&299>=w.status}function f(M){try{M.dispatchEvent(new MouseEvent("click"))}catch{var w=document.createEvent("MouseEvents");w.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),M.dispatchEvent(w)}}var m="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,T=m.saveAs||("object"!=typeof window||window!==m?function(){}:"download"in HTMLAnchorElement.prototype?function(M,w,D){var U=m.URL||m.webkitURL,W=document.createElement("a");W.download=w=w||M.name||"download",W.rel="noopener","string"==typeof M?(W.href=M,W.origin===location.origin?f(W):e(W.href)?u(M,w,D):f(W,W.target="_blank")):(W.href=U.createObjectURL(M),setTimeout(function(){U.revokeObjectURL(W.href)},4e4),setTimeout(function(){f(W)},0))}:"msSaveOrOpenBlob"in navigator?function(M,w,D){if(w=w||M.name||"download","string"!=typeof M)navigator.msSaveOrOpenBlob(function c(M,w){return typeof w>"u"?w={autoBom:!1}:"object"!=typeof w&&(console.warn("Deprecated: Expected third argument to be a object"),w={autoBom:!w}),w.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(M.type)?new Blob(["\ufeff",M],{type:M.type}):M}(M,D),w);else if(e(M))u(M,w,D);else{var U=document.createElement("a");U.href=M,U.target="_blank",setTimeout(function(){f(U)})}}:function(M,w,D,U){if((U=U||open("","_blank"))&&(U.document.title=U.document.body.innerText="downloading..."),"string"==typeof M)return u(M,w,D);var W="application/octet-stream"===M.type,$=/constructor/i.test(m.HTMLElement)||m.safari,J=/CriOS\/[\d]+/.test(navigator.userAgent);if((J||W&&$)&&"object"==typeof FileReader){var F=new FileReader;F.onloadend=function(){var V=F.result;V=J?V:V.replace(/^data:[^;]*;/,"data:attachment/file;"),U?U.location.href=V:location=V,U=null},F.readAsDataURL(M)}else{var X=m.URL||m.webkitURL,de=X.createObjectURL(M);U?U.location=de:location.href=de,U=null,setTimeout(function(){X.revokeObjectURL(de)},4e4)}});m.saveAs=T.saveAs=T,E.exports=T})?s.apply(C,[]):s)&&(E.exports=a)},88430:E=>{!function(){var C;function a(c){for(var M,D,U,$,u=1,e=[].slice.call(arguments),f=0,m=c.length,T="",w=!1,W=!1,J=function(){return e[u++]},F=function(){for(var X="";/\d/.test(c[f]);)X+=c[f++],M=c[f];return X.length>0?parseInt(X):null};f<m;++f)if(M=c[f],w)switch(w=!1,"."==M?(W=!1,M=c[++f]):"0"==M&&"."==c[f+1]?(W=!0,f+=2,M=c[f]):W=!0,$=F(),M){case"b":T+=parseInt(J(),10).toString(2);break;case"c":T+="string"==typeof(D=J())||D instanceof String?D:String.fromCharCode(parseInt(D,10));break;case"d":T+=parseInt(J(),10);break;case"f":U=String(parseFloat(J()).toFixed($||6)),T+=W?U:U.replace(/^0/,"");break;case"j":T+=JSON.stringify(J());break;case"o":T+="0"+parseInt(J(),10).toString(8);break;case"s":T+=J();break;case"x":T+="0x"+parseInt(J(),10).toString(16);break;case"X":T+="0x"+parseInt(J(),10).toString(16).toUpperCase();break;default:T+=M}else"%"===M?w=!0:T+=M;return T}(C=E.exports=a).format=a,C.vsprintf=function r(c,u){return a.apply(null,[c].concat(u))},typeof console<"u"&&"function"==typeof console.log&&(C.printf=function s(){console.log(a.apply(null,arguments))})}()},31609:E=>{"use strict";var C="Function.prototype.bind called on incompatible ",s=Array.prototype.slice,r=Object.prototype.toString,a="[object Function]";E.exports=function(u){var e=this;if("function"!=typeof e||r.call(e)!==a)throw new TypeError(C+e);for(var m,f=s.call(arguments,1),M=Math.max(0,e.length-f.length),w=[],D=0;D<M;D++)w.push("$"+D);if(m=Function("binder","return function ("+w.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof m){var W=e.apply(this,f.concat(s.call(arguments)));return Object(W)===W?W:this}return e.apply(u,f.concat(s.call(arguments)))}),e.prototype){var U=function(){};U.prototype=e.prototype,m.prototype=new U,U.prototype=null}return m}},75396:(E,C,s)=>{"use strict";var r=s(31609);E.exports=Function.prototype.bind||r},18540:(E,C,s)=>{"use strict";var r,a=SyntaxError,c=Function,u=TypeError,e=function(qe){try{return c('"use strict"; return ('+qe+").constructor;")()}catch{}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch{f=null}var m=function(){throw new u},T=f?function(){try{return m}catch{try{return f(arguments,"callee").get}catch{return m}}}():m,M=s(59326)(),w=s(41606)(),D=Object.getPrototypeOf||(w?function(qe){return qe.__proto__}:null),U={},W=typeof Uint8Array>"u"||!D?r:D(Uint8Array),$={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":M&&D?D([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":U,"%AsyncGenerator%":U,"%AsyncGeneratorFunction%":U,"%AsyncIteratorPrototype%":U,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":c,"%GeneratorFunction%":U,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":M&&D?D(D([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!M||!D?r:D((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!M||!D?r:D((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":M&&D?D(""[Symbol.iterator]()):r,"%Symbol%":M?Symbol:r,"%SyntaxError%":a,"%ThrowTypeError%":T,"%TypedArray%":W,"%TypeError%":u,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(D)try{null.error}catch(qe){var J=D(D(qe));$["%Error.prototype%"]=J}var F=function qe(He){var We;if("%AsyncFunction%"===He)We=e("async function () {}");else if("%GeneratorFunction%"===He)We=e("function* () {}");else if("%AsyncGeneratorFunction%"===He)We=e("async function* () {}");else if("%AsyncGenerator%"===He){var Le=qe("%AsyncGeneratorFunction%");Le&&(We=Le.prototype)}else if("%AsyncIteratorPrototype%"===He){var Pt=qe("%AsyncGenerator%");Pt&&D&&(We=D(Pt.prototype))}return $[He]=We,We},X={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},de=s(75396),V=s(57709),ce=de.call(Function.call,Array.prototype.concat),se=de.call(Function.apply,Array.prototype.splice),fe=de.call(Function.call,String.prototype.replace),Te=de.call(Function.call,String.prototype.slice),$e=de.call(Function.call,RegExp.prototype.exec),ge=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Et=/\\(\\)?/g,ot=function(He){var We=Te(He,0,1),Le=Te(He,-1);if("%"===We&&"%"!==Le)throw new a("invalid intrinsic syntax, expected closing `%`");if("%"===Le&&"%"!==We)throw new a("invalid intrinsic syntax, expected opening `%`");var Pt=[];return fe(He,ge,function(it,Xt,cn,pn){Pt[Pt.length]=cn?fe(pn,Et,"$1"):Xt||it}),Pt},ct=function(He,We){var Pt,Le=He;if(V(X,Le)&&(Le="%"+(Pt=X[Le])[0]+"%"),V($,Le)){var it=$[Le];if(it===U&&(it=F(Le)),typeof it>"u"&&!We)throw new u("intrinsic "+He+" exists, but is not available. Please file an issue!");return{alias:Pt,name:Le,value:it}}throw new a("intrinsic "+He+" does not exist!")};E.exports=function(He,We){if("string"!=typeof He||0===He.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof We)throw new u('"allowMissing" argument must be a boolean');if(null===$e(/^%?[^%]*%?$/,He))throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Le=ot(He),Pt=Le.length>0?Le[0]:"",it=ct("%"+Pt+"%",We),Xt=it.name,cn=it.value,pn=!1,Rn=it.alias;Rn&&(Pt=Rn[0],se(Le,ce([0,1],Rn)));for(var At=1,qt=!0;At<Le.length;At+=1){var sn=Le[At],fn=Te(sn,0,1),xn=Te(sn,-1);if(('"'===fn||"'"===fn||"`"===fn||'"'===xn||"'"===xn||"`"===xn)&&fn!==xn)throw new a("property names with quotes must have matching quotes");if(("constructor"===sn||!qt)&&(pn=!0),V($,Xt="%"+(Pt+="."+sn)+"%"))cn=$[Xt];else if(null!=cn){if(!(sn in cn)){if(!We)throw new u("base intrinsic for "+He+" exists, but the property is not available.");return}if(f&&At+1>=Le.length){var Kr=f(cn,sn);cn=(qt=!!Kr)&&"get"in Kr&&!("originalValue"in Kr.get)?Kr.get:cn[sn]}else qt=V(cn,sn),cn=cn[sn];qt&&!pn&&($[Xt]=cn)}}return cn}},41606:E=>{"use strict";var C={foo:{}},s=Object;E.exports=function(){return{__proto__:C}.foo===C.foo&&!({__proto__:null}instanceof s)}},59326:(E,C,s)=>{"use strict";var r=typeof Symbol<"u"&&Symbol,a=s(79045);E.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&a()}},79045:E=>{"use strict";E.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var s={},r=Symbol("test"),a=Object(r);if("string"==typeof r||"[object Symbol]"!==Object.prototype.toString.call(r)||"[object Symbol]"!==Object.prototype.toString.call(a))return!1;for(r in s[r]=42,s)return!1;if("function"==typeof Object.keys&&0!==Object.keys(s).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(s).length)return!1;var u=Object.getOwnPropertySymbols(s);if(1!==u.length||u[0]!==r||!Object.prototype.propertyIsEnumerable.call(s,r))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var e=Object.getOwnPropertyDescriptor(s,r);if(42!==e.value||!0!==e.enumerable)return!1}return!0}},57709:(E,C,s)=>{"use strict";var r=s(75396);E.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},7856:E=>{function C(Fe){return Fe instanceof Map?Fe.clear=Fe.delete=Fe.set=function(){throw new Error("map is read-only")}:Fe instanceof Set&&(Fe.add=Fe.clear=Fe.delete=function(){throw new Error("set is read-only")}),Object.freeze(Fe),Object.getOwnPropertyNames(Fe).forEach(function(Ie){var et=Fe[Ie];"object"==typeof et&&!Object.isFrozen(et)&&C(et)}),Fe}var s=C;s.default=C;class a{constructor(Ie){void 0===Ie.data&&(Ie.data={}),this.data=Ie.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function c(Fe){return Fe.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function u(Fe,...Ie){const et=Object.create(null);for(const ze in Fe)et[ze]=Fe[ze];return Ie.forEach(function(ze){for(const an in ze)et[an]=ze[an]}),et}const f=Fe=>!!Fe.kind;class m{constructor(Ie,et){this.buffer="",this.classPrefix=et.classPrefix,Ie.walk(this)}addText(Ie){this.buffer+=c(Ie)}openNode(Ie){if(!f(Ie))return;let et=Ie.kind;Ie.sublanguage||(et=`${this.classPrefix}${et}`),this.span(et)}closeNode(Ie){f(Ie)&&(this.buffer+="</span>")}value(){return this.buffer}span(Ie){this.buffer+=`<span class="${Ie}">`}}class T{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Ie){this.top.children.push(Ie)}openNode(Ie){const et={kind:Ie,children:[]};this.add(et),this.stack.push(et)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Ie){return this.constructor._walk(Ie,this.rootNode)}static _walk(Ie,et){return"string"==typeof et?Ie.addText(et):et.children&&(Ie.openNode(et),et.children.forEach(ze=>this._walk(Ie,ze)),Ie.closeNode(et)),Ie}static _collapse(Ie){"string"!=typeof Ie&&Ie.children&&(Ie.children.every(et=>"string"==typeof et)?Ie.children=[Ie.children.join("")]:Ie.children.forEach(et=>{T._collapse(et)}))}}class M extends T{constructor(Ie){super(),this.options=Ie}addKeyword(Ie,et){""!==Ie&&(this.openNode(et),this.addText(Ie),this.closeNode())}addText(Ie){""!==Ie&&this.add(Ie)}addSublanguage(Ie,et){const ze=Ie.root;ze.kind=et,ze.sublanguage=!0,this.add(ze)}toHTML(){return new m(this,this.options).value()}finalize(){return!0}}function D(Fe){return Fe?"string"==typeof Fe?Fe:Fe.source:null}const F=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,V="[a-zA-Z]\\w*",ce="[a-zA-Z_]\\w*",se="\\b\\d+(\\.\\d+)?",fe="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Te="\\b(0b[01]+)",Et={begin:"\\\\[\\s\\S]",relevance:0},ot={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[Et]},ct={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[Et]},qe={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},He=function(Fe,Ie,et={}){const ze=u({className:"comment",begin:Fe,end:Ie,contains:[]},et);return ze.contains.push(qe),ze.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),ze},We=He("//","$"),Le=He("/\\*","\\*/"),Pt=He("#","$");var xn=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:V,UNDERSCORE_IDENT_RE:ce,NUMBER_RE:se,C_NUMBER_RE:fe,BINARY_NUMBER_RE:Te,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(Fe={})=>{const Ie=/^#![ ]*\//;return Fe.binary&&(Fe.begin=function U(...Fe){return Fe.map(et=>D(et)).join("")}(Ie,/.*\b/,Fe.binary,/\b.*/)),u({className:"meta",begin:Ie,end:/$/,relevance:0,"on:begin":(et,ze)=>{0!==et.index&&ze.ignoreMatch()}},Fe)},BACKSLASH_ESCAPE:Et,APOS_STRING_MODE:ot,QUOTE_STRING_MODE:ct,PHRASAL_WORDS_MODE:qe,COMMENT:He,C_LINE_COMMENT_MODE:We,C_BLOCK_COMMENT_MODE:Le,HASH_COMMENT_MODE:Pt,NUMBER_MODE:{className:"number",begin:se,relevance:0},C_NUMBER_MODE:{className:"number",begin:fe,relevance:0},BINARY_NUMBER_MODE:{className:"number",begin:Te,relevance:0},CSS_NUMBER_MODE:{className:"number",begin:se+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Et,{begin:/\[/,end:/\]/,relevance:0,contains:[Et]}]}]},TITLE_MODE:{className:"title",begin:V,relevance:0},UNDERSCORE_TITLE_MODE:{className:"title",begin:ce,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+ce,relevance:0},END_SAME_AS_BEGIN:function(Fe){return Object.assign(Fe,{"on:begin":(Ie,et)=>{et.data._beginMatch=Ie[1]},"on:end":(Ie,et)=>{et.data._beginMatch!==Ie[1]&&et.ignoreMatch()}})}});function Kr(Fe,Ie){"."===Fe.input[Fe.index-1]&&Ie.ignoreMatch()}function Or(Fe,Ie){Ie&&Fe.beginKeywords&&(Fe.begin="\\b("+Fe.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Fe.__beforeBegin=Kr,Fe.keywords=Fe.keywords||Fe.beginKeywords,delete Fe.beginKeywords,void 0===Fe.relevance&&(Fe.relevance=0))}function Lr(Fe,Ie){Array.isArray(Fe.illegal)&&(Fe.illegal=function W(...Fe){return"("+Fe.map(et=>D(et)).join("|")+")"}(...Fe.illegal))}function ir(Fe,Ie){if(Fe.match){if(Fe.begin||Fe.end)throw new Error("begin & end are not supported with match");Fe.begin=Fe.match,delete Fe.match}}function Qr(Fe,Ie){void 0===Fe.relevance&&(Fe.relevance=1)}const jr=["of","and","for","in","not","or","if","then","parent","list","value"],br="keyword";function ht(Fe,Ie,et=br){const ze={};return"string"==typeof Fe?an(et,Fe.split(" ")):Array.isArray(Fe)?an(et,Fe):Object.keys(Fe).forEach(function(lt){Object.assign(ze,ht(Fe[lt],Ie,lt))}),ze;function an(lt,Rt){Ie&&(Rt=Rt.map(Pe=>Pe.toLowerCase())),Rt.forEach(function(Pe){const qn=Pe.split("|");ze[qn[0]]=[lt,Wt(qn[0],qn[1])]})}}function Wt(Fe,Ie){return Ie?Number(Ie):function Tt(Fe){return jr.includes(Fe.toLowerCase())}(Fe)?0:1}function wn(Fe,{}){function et(Pe,qn){return new RegExp(D(Pe),"m"+(Fe.case_insensitive?"i":"")+(qn?"g":""))}class ze{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(qn,gr){gr.position=this.position++,this.matchIndexes[this.matchAt]=gr,this.regexes.push([gr,qn]),this.matchAt+=function $(Fe){return new RegExp(Fe.toString()+"|").exec("").length-1}(qn)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const qn=this.regexes.map(gr=>gr[1]);this.matcherRe=et(function X(Fe,Ie="|"){let et=0;return Fe.map(ze=>{et+=1;const an=et;let lt=D(ze),Rt="";for(;lt.length>0;){const Pe=F.exec(lt);if(!Pe){Rt+=lt;break}Rt+=lt.substring(0,Pe.index),lt=lt.substring(Pe.index+Pe[0].length),"\\"===Pe[0][0]&&Pe[1]?Rt+="\\"+String(Number(Pe[1])+an):(Rt+=Pe[0],"("===Pe[0]&&et++)}return Rt}).map(ze=>`(${ze})`).join(Ie)}(qn),!0),this.lastIndex=0}exec(qn){this.matcherRe.lastIndex=this.lastIndex;const gr=this.matcherRe.exec(qn);if(!gr)return null;const Pn=gr.findIndex((Pr,tr)=>tr>0&&void 0!==Pr),_r=this.matchIndexes[Pn];return gr.splice(0,Pn),Object.assign(gr,_r)}}class an{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(qn){if(this.multiRegexes[qn])return this.multiRegexes[qn];const gr=new ze;return this.rules.slice(qn).forEach(([Pn,_r])=>gr.addRule(Pn,_r)),gr.compile(),this.multiRegexes[qn]=gr,gr}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(qn,gr){this.rules.push([qn,gr]),"begin"===gr.type&&this.count++}exec(qn){const gr=this.getMatcher(this.regexIndex);gr.lastIndex=this.lastIndex;let Pn=gr.exec(qn);if(this.resumingScanAtSamePosition()&&(!Pn||Pn.index!==this.lastIndex)){const _r=this.getMatcher(0);_r.lastIndex=this.lastIndex+1,Pn=_r.exec(qn)}return Pn&&(this.regexIndex+=Pn.position+1,this.regexIndex===this.count&&this.considerAll()),Pn}}if(Fe.compilerExtensions||(Fe.compilerExtensions=[]),Fe.contains&&Fe.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Fe.classNameAliases=u(Fe.classNameAliases||{}),function Rt(Pe,qn){const gr=Pe;if(Pe.isCompiled)return gr;[ir].forEach(_r=>_r(Pe,qn)),Fe.compilerExtensions.forEach(_r=>_r(Pe,qn)),Pe.__beforeBegin=null,[Or,Lr,Qr].forEach(_r=>_r(Pe,qn)),Pe.isCompiled=!0;let Pn=null;if("object"==typeof Pe.keywords&&(Pn=Pe.keywords.$pattern,delete Pe.keywords.$pattern),Pe.keywords&&(Pe.keywords=ht(Pe.keywords,Fe.case_insensitive)),Pe.lexemes&&Pn)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return Pn=Pn||Pe.lexemes||/\w+/,gr.keywordPatternRe=et(Pn,!0),qn&&(Pe.begin||(Pe.begin=/\B|\b/),gr.beginRe=et(Pe.begin),Pe.endSameAsBegin&&(Pe.end=Pe.begin),!Pe.end&&!Pe.endsWithParent&&(Pe.end=/\B|\b/),Pe.end&&(gr.endRe=et(Pe.end)),gr.terminatorEnd=D(Pe.end)||"",Pe.endsWithParent&&qn.terminatorEnd&&(gr.terminatorEnd+=(Pe.end?"|":"")+qn.terminatorEnd)),Pe.illegal&&(gr.illegalRe=et(Pe.illegal)),Pe.contains||(Pe.contains=[]),Pe.contains=[].concat(...Pe.contains.map(function(_r){return function hr(Fe){return Fe.variants&&!Fe.cachedVariants&&(Fe.cachedVariants=Fe.variants.map(function(Ie){return u(Fe,{variants:null},Ie)})),Fe.cachedVariants?Fe.cachedVariants:jn(Fe)?u(Fe,{starts:Fe.starts?u(Fe.starts):null}):Object.isFrozen(Fe)?u(Fe):Fe}("self"===_r?Pe:_r)})),Pe.contains.forEach(function(_r){Rt(_r,gr)}),Pe.starts&&Rt(Pe.starts,qn),gr.matcher=function lt(Pe){const qn=new an;return Pe.contains.forEach(gr=>qn.addRule(gr.begin,{rule:gr,type:"begin"})),Pe.terminatorEnd&&qn.addRule(Pe.terminatorEnd,{type:"end"}),Pe.illegal&&qn.addRule(Pe.illegal,{type:"illegal"}),qn}(gr),gr}(Fe)}function jn(Fe){return!!Fe&&(Fe.endsWithParent||jn(Fe.starts))}function so(Fe){const Ie={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!Fe.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,c(this.code);let ze={};return this.autoDetect?(ze=Fe.highlightAuto(this.code),this.detectedLanguage=ze.language):(ze=Fe.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),ze.value},autoDetect(){return!this.language||function Wi(Fe){return Boolean(Fe||""===Fe)}(this.autodetect)},ignoreIllegals:()=>!0},render(ze){return ze("pre",{},[ze("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:Ie,VuePlugin:{install(ze){ze.component("highlightjs",Ie)}}}}const kr={"after:highlightElement":({el:Fe,result:Ie,text:et})=>{const ze=ii(Fe);if(!ze.length)return;const an=document.createElement("div");an.innerHTML=Ie.value,Ie.value=function mr(Fe,Ie,et){let ze=0,an="";const lt=[];function Rt(){return Fe.length&&Ie.length?Fe[0].offset!==Ie[0].offset?Fe[0].offset<Ie[0].offset?Fe:Ie:"start"===Ie[0].event?Fe:Ie:Fe.length?Fe:Ie}function Pe(Pn){an+="<"+Ei(Pn)+[].map.call(Pn.attributes,function _r(Pr){return" "+Pr.nodeName+'="'+c(Pr.value)+'"'}).join("")+">"}function qn(Pn){an+="</"+Ei(Pn)+">"}function gr(Pn){("start"===Pn.event?Pe:qn)(Pn.node)}for(;Fe.length||Ie.length;){let Pn=Rt();if(an+=c(et.substring(ze,Pn[0].offset)),ze=Pn[0].offset,Pn===Fe){lt.reverse().forEach(qn);do{gr(Pn.splice(0,1)[0]),Pn=Rt()}while(Pn===Fe&&Pn.length&&Pn[0].offset===ze);lt.reverse().forEach(Pe)}else"start"===Pn[0].event?lt.push(Pn[0].node):lt.pop(),gr(Pn.splice(0,1)[0])}return an+c(et.substr(ze))}(ze,ii(an),et)}};function Ei(Fe){return Fe.nodeName.toLowerCase()}function ii(Fe){const Ie=[];return function et(ze,an){for(let lt=ze.firstChild;lt;lt=lt.nextSibling)3===lt.nodeType?an+=lt.nodeValue.length:1===lt.nodeType&&(Ie.push({event:"start",offset:an,node:lt}),an=et(lt,an),Ei(lt).match(/br|hr|img|input/)||Ie.push({event:"stop",offset:an,node:lt}));return an}(Fe,0),Ie}const pr={},Eo=Fe=>{console.error(Fe)},po=(Fe,...Ie)=>{console.log(`WARN: ${Fe}`,...Ie)},$i=(Fe,Ie)=>{pr[`${Fe}/${Ie}`]||(console.log(`Deprecated as of ${Fe}. ${Ie}`),pr[`${Fe}/${Ie}`]=!0)},qr=c,Hi=u,Dn=Symbol("nomatch");var jt=function(Fe){const Ie=Object.create(null),et=Object.create(null),ze=[];let an=!0;const lt=/(^(<[^>]+>|\t|)+|\n)/gm,Rt="Could not find the language '{}', did you forget to load/include a language module?",Pe={disableAutodetect:!0,name:"Plain text",contains:[]};let qn={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:M};function gr(bn){return qn.noHighlightRe.test(bn)}function _r(bn,Bn,ci,_o){let go="",es="";"object"==typeof Bn?(go=bn,ci=Bn.ignoreIllegals,es=Bn.language,_o=void 0):($i("10.7.0","highlight(lang, code, ...args) has been deprecated."),$i("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),es=bn,go=Bn);const ts={code:go,language:es};Ir("before:highlight",ts);const jo=ts.result?ts.result:Pr(ts.language,ts.code,ci,_o);return jo.code=ts.code,Ir("after:highlight",jo),jo}function Pr(bn,Bn,ci,_o){function go(Xo,No){const Cs=da.case_insensitive?No[0].toLowerCase():No[0];return Object.prototype.hasOwnProperty.call(Xo.keywords,Cs)&&Xo.keywords[Cs]}function jo(){null!=Ji.subLanguage?function ts(){if(""===hs)return;let Xo=null;if("string"==typeof Ji.subLanguage){if(!Ie[Ji.subLanguage])return void Ts.addText(hs);Xo=Pr(Ji.subLanguage,hs,!0,Ha[Ji.subLanguage]),Ha[Ji.subLanguage]=Xo.top}else Xo=Zn(hs,Ji.subLanguage.length?Ji.subLanguage:null);Ji.relevance>0&&($s+=Xo.relevance),Ts.addSublanguage(Xo.emitter,Xo.language)}():function es(){if(!Ji.keywords)return void Ts.addText(hs);let Xo=0;Ji.keywordPatternRe.lastIndex=0;let No=Ji.keywordPatternRe.exec(hs),Cs="";for(;No;){Cs+=hs.substring(Xo,No.index);const ns=go(Ji,No);if(ns){const[Fo,zr]=ns;Ts.addText(Cs),Cs="",$s+=zr,Fo.startsWith("_")?Cs+=No[0]:Ts.addKeyword(No[0],da.classNameAliases[Fo]||Fo)}else Cs+=No[0];Xo=Ji.keywordPatternRe.lastIndex,No=Ji.keywordPatternRe.exec(hs)}Cs+=hs.substr(Xo),Ts.addText(Cs)}(),hs=""}function ss(Xo){return Xo.className&&Ts.openNode(da.classNameAliases[Xo.className]||Xo.className),Ji=Object.create(Xo,{parent:{value:Ji}}),Ji}function gs(Xo,No,Cs){let ns=function J(Fe,Ie){const et=Fe&&Fe.exec(Ie);return et&&0===et.index}(Xo.endRe,Cs);if(ns){if(Xo["on:end"]){const Fo=new a(Xo);Xo["on:end"](No,Fo),Fo.isMatchIgnored&&(ns=!1)}if(ns){for(;Xo.endsParent&&Xo.parent;)Xo=Xo.parent;return Xo}}if(Xo.endsWithParent)return gs(Xo.parent,No,Cs)}function Is(Xo){return 0===Ji.matcher.regexIndex?(hs+=Xo[0],1):(fa=!0,0)}function Ro(Xo){const No=Xo[0],Cs=Bn.substr(Xo.index),ns=gs(Ji,Xo,Cs);if(!ns)return Dn;const Fo=Ji;Fo.skip?hs+=No:(Fo.returnEnd||Fo.excludeEnd||(hs+=No),jo(),Fo.excludeEnd&&(hs=No));do{Ji.className&&Ts.closeNode(),!Ji.skip&&!Ji.subLanguage&&($s+=Ji.relevance),Ji=Ji.parent}while(Ji!==ns.parent);return ns.starts&&(ns.endSameAsBegin&&(ns.starts.endRe=ns.endRe),ss(ns.starts)),Fo.returnEnd?0:No.length}let gl={};function qa(Xo,No){const Cs=No&&No[0];if(hs+=Xo,null==Cs)return jo(),0;if("begin"===gl.type&&"end"===No.type&&gl.index===No.index&&""===Cs){if(hs+=Bn.slice(No.index,No.index+1),!an){const ns=new Error("0 width match regex");throw ns.languageName=bn,ns.badRule=gl.rule,ns}return 1}if(gl=No,"begin"===No.type)return function la(Xo){const No=Xo[0],Cs=Xo.rule,ns=new a(Cs),Fo=[Cs.__beforeBegin,Cs["on:begin"]];for(const zr of Fo)if(zr&&(zr(Xo,ns),ns.isMatchIgnored))return Is(No);return Cs&&Cs.endSameAsBegin&&(Cs.endRe=function w(Fe){return new RegExp(Fe.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(No)),Cs.skip?hs+=No:(Cs.excludeBegin&&(hs+=No),jo(),!Cs.returnBegin&&!Cs.excludeBegin&&(hs=No)),ss(Cs),Cs.returnBegin?0:No.length}(No);if("illegal"===No.type&&!ci){const ns=new Error('Illegal lexeme "'+Cs+'" for mode "'+(Ji.className||"<unnamed>")+'"');throw ns.mode=Ji,ns}if("end"===No.type){const ns=Ro(No);if(ns!==Dn)return ns}if("illegal"===No.type&&""===Cs)return 1;if(Ja>1e5&&Ja>3*No.index)throw new Error("potential infinite loop, way more iterations than matches");return hs+=Cs,Cs.length}const da=wi(bn);if(!da)throw Eo(Rt.replace("{}",bn)),new Error('Unknown language: "'+bn+'"');const $a=wn(da,{plugins:ze});let Rl="",Ji=_o||$a;const Ha={},Ts=new qn.__emitter(qn);!function jl(){const Xo=[];for(let No=Ji;No!==da;No=No.parent)No.className&&Xo.unshift(No.className);Xo.forEach(No=>Ts.openNode(No))}();let hs="",$s=0,Aa=0,Ja=0,fa=!1;try{for(Ji.matcher.considerAll();;){Ja++,fa?fa=!1:Ji.matcher.considerAll(),Ji.matcher.lastIndex=Aa;const Xo=Ji.matcher.exec(Bn);if(!Xo)break;const Cs=qa(Bn.substring(Aa,Xo.index),Xo);Aa=Xo.index+Cs}return qa(Bn.substr(Aa)),Ts.closeAllNodes(),Ts.finalize(),Rl=Ts.toHTML(),{relevance:Math.floor($s),value:Rl,language:bn,illegal:!1,emitter:Ts,top:Ji}}catch(Xo){if(Xo.message&&Xo.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Xo.message,context:Bn.slice(Aa-100,Aa+100),mode:Xo.mode},sofar:Rl,relevance:0,value:qr(Bn),emitter:Ts};if(an)return{illegal:!1,relevance:0,value:qr(Bn),emitter:Ts,language:bn,top:Ji,errorRaised:Xo};throw Xo}}function Zn(bn,Bn){Bn=Bn||qn.languages||Object.keys(Ie);const ci=function tr(bn){const Bn={relevance:0,emitter:new qn.__emitter(qn),value:qr(bn),illegal:!1,top:Pe};return Bn.emitter.addText(bn),Bn}(bn),_o=Bn.filter(wi).filter(Vi).map(ss=>Pr(ss,bn,!1));_o.unshift(ci);const go=_o.sort((ss,gs)=>{if(ss.relevance!==gs.relevance)return gs.relevance-ss.relevance;if(ss.language&&gs.language){if(wi(ss.language).supersetOf===gs.language)return 1;if(wi(gs.language).supersetOf===ss.language)return-1}return 0}),[es,ts]=go,jo=es;return jo.second_best=ts,jo}const dn={"before:highlightElement":({el:bn})=>{qn.useBR&&(bn.innerHTML=bn.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n"))},"after:highlightElement":({result:bn})=>{qn.useBR&&(bn.value=bn.value.replace(/\n/g,"<br>"))}},Ge=/^(<[^>]+>|\t)+/gm,Ot={"after:highlightElement":({result:bn})=>{qn.tabReplace&&(bn.value=bn.value.replace(Ge,Bn=>Bn.replace(/\t/g,qn.tabReplace)))}};function mn(bn){let Bn=null;const ci=function Pn(bn){let Bn=bn.className+" ";Bn+=bn.parentNode?bn.parentNode.className:"";const ci=qn.languageDetectRe.exec(Bn);if(ci){const _o=wi(ci[1]);return _o||(po(Rt.replace("{}",ci[1])),po("Falling back to no-highlight mode for this block.",bn)),_o?ci[1]:"no-highlight"}return Bn.split(/\s+/).find(_o=>gr(_o)||wi(_o))}(bn);if(gr(ci))return;Ir("before:highlightElement",{el:bn,language:ci}),Bn=bn;const _o=Bn.textContent,go=ci?_r(_o,{language:ci,ignoreIllegals:!0}):Zn(_o);Ir("after:highlightElement",{el:bn,result:go,text:_o}),bn.innerHTML=go.value,function Zt(bn,Bn,ci){const _o=Bn?et[Bn]:ci;bn.classList.add("hljs"),_o&&bn.classList.add(_o)}(bn,ci,go.language),bn.result={language:go.language,re:go.relevance,relavance:go.relevance},go.second_best&&(bn.second_best={language:go.second_best.language,re:go.second_best.relevance,relavance:go.second_best.relevance})}const Ti=()=>{Ti.called||(Ti.called=!0,$i("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(mn))};let Ai=!1;function Ko(){"loading"!==document.readyState?document.querySelectorAll("pre code").forEach(mn):Ai=!0}function wi(bn){return bn=(bn||"").toLowerCase(),Ie[bn]||Ie[et[bn]]}function ji(bn,{languageName:Bn}){"string"==typeof bn&&(bn=[bn]),bn.forEach(ci=>{et[ci.toLowerCase()]=Bn})}function Vi(bn){const Bn=wi(bn);return Bn&&!Bn.disableAutodetect}function Ir(bn,Bn){const ci=bn;ze.forEach(function(_o){_o[ci]&&_o[ci](Bn)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function _s(){Ai&&Ko()},!1),Object.assign(Fe,{highlight:_r,highlightAuto:Zn,highlightAll:Ko,fixMarkup:function ro(bn){return $i("10.2.0","fixMarkup will be removed entirely in v11.0"),$i("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function nr(bn){return qn.tabReplace||qn.useBR?bn.replace(lt,Bn=>"\n"===Bn?qn.useBR?"<br>":Bn:qn.tabReplace?Bn.replace(/\t/g,qn.tabReplace):Bn):bn}(bn)},highlightElement:mn,highlightBlock:function Vt(bn){return $i("10.7.0","highlightBlock will be removed entirely in v12.0"),$i("10.7.0","Please use highlightElement now."),mn(bn)},configure:function wr(bn){bn.useBR&&($i("10.3.0","'useBR' will be removed entirely in v11.0"),$i("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),qn=Hi(qn,bn)},initHighlighting:Ti,initHighlightingOnLoad:function Ci(){$i("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),Ai=!0},registerLanguage:function dr(bn,Bn){let ci=null;try{ci=Bn(Fe)}catch(_o){if(Eo("Language definition for '{}' could not be registered.".replace("{}",bn)),!an)throw _o;Eo(_o),ci=Pe}ci.name||(ci.name=bn),Ie[bn]=ci,ci.rawDefinition=Bn.bind(null,Fe),ci.aliases&&ji(ci.aliases,{languageName:bn})},unregisterLanguage:function Ni(bn){delete Ie[bn];for(const Bn of Object.keys(et))et[Bn]===bn&&delete et[Bn]},listLanguages:function ti(){return Object.keys(Ie)},getLanguage:wi,registerAliases:ji,requireLanguage:function Vr(bn){$i("10.4.0","requireLanguage will be removed entirely in v11."),$i("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const Bn=wi(bn);if(Bn)return Bn;throw new Error("The '{}' language is required, but not loaded.".replace("{}",bn))},autoDetection:Vi,inherit:Hi,addPlugin:function ko(bn){(function Po(bn){bn["before:highlightBlock"]&&!bn["before:highlightElement"]&&(bn["before:highlightElement"]=Bn=>{bn["before:highlightBlock"](Object.assign({block:Bn.el},Bn))}),bn["after:highlightBlock"]&&!bn["after:highlightElement"]&&(bn["after:highlightElement"]=Bn=>{bn["after:highlightBlock"](Object.assign({block:Bn.el},Bn))})})(bn),ze.push(bn)},vuePlugin:so(Fe).VuePlugin}),Fe.debugMode=function(){an=!1},Fe.safeMode=function(){an=!0},Fe.versionString="10.7.3";for(const bn in xn)"object"==typeof xn[bn]&&s(xn[bn]);return Object.assign(Fe,xn),Fe.addPlugin(dn),Fe.addPlugin(kr),Fe.addPlugin(Ot),Fe}({});E.exports=jt},4357:E=>{function s(...a){return a.map(u=>function C(a){return a?"string"==typeof a?a:a.source:null}(u)).join("")}E.exports=function r(a){const c={},u={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[c]}]};Object.assign(c,{className:"variable",variants:[{begin:s(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},u]});const e={className:"subst",begin:/\$\(/,end:/\)/,contains:[a.BACKSLASH_ESCAPE]},f={begin:/<<-?\s*(?=\w+)/,starts:{contains:[a.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},m={className:"string",begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,c,e]};e.contains.push(m);const w={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},a.NUMBER_MODE,c]},U=a.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),W={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[a.inherit(a.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[U,a.SHEBANG(),W,w,a.HASH_COMMENT_MODE,f,m,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},c]}}},28390:E=>{function s(...a){return a.map(u=>function C(a){return a?"string"==typeof a?a:a.source:null}(u)).join("")}E.exports=function r(a){const c="HTTP/(2|1\\.[01])",e={className:"attribute",begin:s("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},f=[e,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+c+" \\d{3})",end:/$/,contains:[{className:"meta",begin:c},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:f}},{begin:"(?=^[A-Z]+ (.*?) "+c+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:c},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:f}},a.inherit(e,{relevance:0})]}}},36147:E=>{const C="[A-Za-z$_][0-9A-Za-z$_]*",s=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],r=["true","false","null","undefined","NaN","Infinity"],f=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function T(D){return M("(?=",D,")")}function M(...D){return D.map(W=>function m(D){return D?"string"==typeof D?D:D.source:null}(W)).join("")}E.exports=function w(D){const W=C,J={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(We,Le)=>{const Pt=We[0].length+We.index,it=We.input[Pt];"<"!==it?">"===it&&(((We,{after:Le})=>{const Pt="</"+We[0].slice(1);return-1!==We.input.indexOf(Pt,Le)})(We,{after:Pt})||Le.ignoreMatch()):Le.ignoreMatch()}},F={$pattern:C,keyword:s,literal:r,built_in:f},X="[0-9](_?[0-9])*",de=`\\.(${X})`,V="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",ce={className:"number",variants:[{begin:`(\\b(${V})((${de})|\\.)?|(${de}))[eE][+-]?(${X})\\b`},{begin:`\\b(${V})\\b((${de})\\b|\\.)?|(${de})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},se={className:"subst",begin:"\\$\\{",end:"\\}",keywords:F,contains:[]},fe={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[D.BACKSLASH_ESCAPE,se],subLanguage:"xml"}},Te={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[D.BACKSLASH_ESCAPE,se],subLanguage:"css"}},$e={className:"string",begin:"`",end:"`",contains:[D.BACKSLASH_ESCAPE,se]},Et={className:"comment",variants:[D.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:W+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),D.C_BLOCK_COMMENT_MODE,D.C_LINE_COMMENT_MODE]},ot=[D.APOS_STRING_MODE,D.QUOTE_STRING_MODE,fe,Te,$e,ce,D.REGEXP_MODE];se.contains=ot.concat({begin:/\{/,end:/\}/,keywords:F,contains:["self"].concat(ot)});const ct=[].concat(Et,se.contains),qe=ct.concat([{begin:/\(/,end:/\)/,keywords:F,contains:["self"].concat(ct)}]),He={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:F,contains:qe};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:F,exports:{PARAMS_CONTAINS:qe},illegal:/#(?![$_A-z])/,contains:[D.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},D.APOS_STRING_MODE,D.QUOTE_STRING_MODE,fe,Te,$e,Et,ce,{begin:M(/[{,\n]\s*/,T(M(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,W+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:W+T("\\s*:"),relevance:0}]},{begin:"("+D.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[Et,D.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+D.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:D.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:F,contains:qe}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:"<>",end:"</>"},{begin:J.begin,"on:begin":J.isTrulyOpeningTag,end:J.end}],subLanguage:"xml",contains:[{begin:J.begin,end:J.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:F,contains:["self",D.inherit(D.TITLE_MODE,{begin:W}),He],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:D.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[He,D.inherit(D.TITLE_MODE,{begin:W})]},{variants:[{begin:"\\."+W},{begin:"\\$"+W}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},D.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[D.inherit(D.TITLE_MODE,{begin:W}),"self",He]},{begin:"(get|set)\\s+(?="+W+"\\()",end:/\{/,keywords:"get set",contains:[D.inherit(D.TITLE_MODE,{begin:W}),{begin:/\(\)/},He]},{begin:/\$[(.]/}]}}},92229:E=>{E.exports=function C(s){const r={literal:"true false null"},a=[s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE],c=[s.QUOTE_STRING_MODE,s.C_NUMBER_MODE],u={end:",",endsWithParent:!0,excludeEnd:!0,contains:c,keywords:r},e={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE],illegal:"\\n"},s.inherit(u,{begin:/:/})].concat(a),illegal:"\\S"},f={begin:"\\[",end:"\\]",contains:[s.inherit(u)],illegal:"\\S"};return c.push(e,f),a.forEach(function(m){c.push(m)}),{name:"JSON",contains:c,keywords:r,illegal:"\\S"}}},78932:E=>{E.exports=function C(s){const u={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},f={begin:"`[\\s\\S]",relevance:0},m={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},M={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[f,m,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},w={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},U=s.inherit(s.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),W={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},$={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[s.TITLE_MODE]},J={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[m]}]},F={begin:/using\s/,end:/$/,returnBegin:!0,contains:[M,w,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},X={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},V={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(u.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},s.inherit(s.TITLE_MODE,{endsParent:!0})]},ce=[V,U,f,s.NUMBER_MODE,M,w,W,m,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],se={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",ce,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return V.contains.unshift(se),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:u,contains:ce.concat($,J,F,X,se)}}},13546:E=>{function C(e){return e?"string"==typeof e?e:e.source:null}function s(e){return a("(?=",e,")")}function a(...e){return e.map(m=>C(m)).join("")}function c(...e){return"("+e.map(m=>C(m)).join("|")+")"}E.exports=function u(e){const f=a(/[A-Z_]/,function r(e){return a("(",e,")?")}(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),T={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},M={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},w=e.inherit(M,{begin:/\(/,end:/\)/}),D=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),U=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),W={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[T]},{begin:/'/,end:/'/,contains:[T]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[M,U,D,w,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[M,w,U,D]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},T,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[W],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[W],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:a(/</,s(a(f,c(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:f,relevance:0,starts:W}]},{className:"tag",begin:a(/<\//,s(a(f,/>/))),contains:[{className:"name",begin:f,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},44776:E=>{E.exports=function C(s){var r="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",e={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[s.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},f=s.inherit(e,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),U={end:",",endsWithParent:!0,excludeEnd:!0,keywords:r,relevance:0},J=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+s.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+s.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},s.HASH_COMMENT_MODE,{beginKeywords:r,keywords:{literal:r}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:s.C_NUMBER_RE+"\\b",relevance:0},{begin:/\{/,end:/\}/,contains:[U],illegal:"\\n",relevance:0},{begin:"\\[",end:"\\]",contains:[U],illegal:"\\n",relevance:0},e],F=[...J];return F.pop(),F.push(f),U.contains=F,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:J}}},62568:(E,C,s)=>{"use strict";var r=s(71023),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},c={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},e={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},f={};function m(J){return r.isMemo(J)?e:f[J.$$typeof]||a}f[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},f[r.Memo]=e;var T=Object.defineProperty,M=Object.getOwnPropertyNames,w=Object.getOwnPropertySymbols,D=Object.getOwnPropertyDescriptor,U=Object.getPrototypeOf,W=Object.prototype;E.exports=function $(J,F,X){if("string"!=typeof F){if(W){var de=U(F);de&&de!==W&&$(J,de,X)}var V=M(F);w&&(V=V.concat(w(F)));for(var ce=m(J),se=m(F),fe=0;fe<V.length;++fe){var Te=V[fe];if(!(c[Te]||X&&X[Te]||se&&se[Te]||ce&&ce[Te])){var $e=D(F,Te);try{T(J,Te,$e)}catch{}}}}return J}},76493:(E,C)=>{"use strict";var s="function"==typeof Symbol&&Symbol.for,r=s?Symbol.for("react.element"):60103,a=s?Symbol.for("react.portal"):60106,c=s?Symbol.for("react.fragment"):60107,u=s?Symbol.for("react.strict_mode"):60108,e=s?Symbol.for("react.profiler"):60114,f=s?Symbol.for("react.provider"):60109,m=s?Symbol.for("react.context"):60110,T=s?Symbol.for("react.async_mode"):60111,M=s?Symbol.for("react.concurrent_mode"):60111,w=s?Symbol.for("react.forward_ref"):60112,D=s?Symbol.for("react.suspense"):60113,U=s?Symbol.for("react.suspense_list"):60120,W=s?Symbol.for("react.memo"):60115,$=s?Symbol.for("react.lazy"):60116,J=s?Symbol.for("react.block"):60121,F=s?Symbol.for("react.fundamental"):60117,X=s?Symbol.for("react.responder"):60118,de=s?Symbol.for("react.scope"):60119;function V(se){if("object"==typeof se&&null!==se){var fe=se.$$typeof;switch(fe){case r:switch(se=se.type){case T:case M:case c:case e:case u:case D:return se;default:switch(se=se&&se.$$typeof){case m:case w:case $:case W:case f:return se;default:return fe}}case a:return fe}}}function ce(se){return V(se)===M}C.AsyncMode=T,C.ConcurrentMode=M,C.ContextConsumer=m,C.ContextProvider=f,C.Element=r,C.ForwardRef=w,C.Fragment=c,C.Lazy=$,C.Memo=W,C.Portal=a,C.Profiler=e,C.StrictMode=u,C.Suspense=D,C.isAsyncMode=function(se){return ce(se)||V(se)===T},C.isConcurrentMode=ce,C.isContextConsumer=function(se){return V(se)===m},C.isContextProvider=function(se){return V(se)===f},C.isElement=function(se){return"object"==typeof se&&null!==se&&se.$$typeof===r},C.isForwardRef=function(se){return V(se)===w},C.isFragment=function(se){return V(se)===c},C.isLazy=function(se){return V(se)===$},C.isMemo=function(se){return V(se)===W},C.isPortal=function(se){return V(se)===a},C.isProfiler=function(se){return V(se)===e},C.isStrictMode=function(se){return V(se)===u},C.isSuspense=function(se){return V(se)===D},C.isValidElementType=function(se){return"string"==typeof se||"function"==typeof se||se===c||se===M||se===e||se===u||se===D||se===U||"object"==typeof se&&null!==se&&(se.$$typeof===$||se.$$typeof===W||se.$$typeof===f||se.$$typeof===m||se.$$typeof===w||se.$$typeof===F||se.$$typeof===X||se.$$typeof===de||se.$$typeof===J)},C.typeOf=V},71023:(E,C,s)=>{"use strict";E.exports=s(76493)},12658:(E,C)=>{C.read=function(s,r,a,c,u){var e,f,m=8*u-c-1,T=(1<<m)-1,M=T>>1,w=-7,D=a?u-1:0,U=a?-1:1,W=s[r+D];for(D+=U,e=W&(1<<-w)-1,W>>=-w,w+=m;w>0;e=256*e+s[r+D],D+=U,w-=8);for(f=e&(1<<-w)-1,e>>=-w,w+=c;w>0;f=256*f+s[r+D],D+=U,w-=8);if(0===e)e=1-M;else{if(e===T)return f?NaN:1/0*(W?-1:1);f+=Math.pow(2,c),e-=M}return(W?-1:1)*f*Math.pow(2,e-c)},C.write=function(s,r,a,c,u,e){var f,m,T,M=8*e-u-1,w=(1<<M)-1,D=w>>1,U=23===u?Math.pow(2,-24)-Math.pow(2,-77):0,W=c?0:e-1,$=c?1:-1,J=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(m=isNaN(r)?1:0,f=w):(f=Math.floor(Math.log(r)/Math.LN2),r*(T=Math.pow(2,-f))<1&&(f--,T*=2),(r+=f+D>=1?U/T:U*Math.pow(2,1-D))*T>=2&&(f++,T/=2),f+D>=w?(m=0,f=w):f+D>=1?(m=(r*T-1)*Math.pow(2,u),f+=D):(m=r*Math.pow(2,D-1)*Math.pow(2,u),f=0));u>=8;s[a+W]=255&m,W+=$,m/=256,u-=8);for(f=f<<u|m,M+=u;M>0;s[a+W]=255&f,W+=$,f/=256,M-=8);s[a+W-$]|=128*J}},55004:(E,C,s)=>{"use strict";s.r(C),s.d(C,{Collection:()=>$e,Iterable:()=>rn,List:()=>ba,Map:()=>qu,OrderedMap:()=>To,OrderedSet:()=>yi,PairSorting:()=>je,Range:()=>kn,Record:()=>tt,Repeat:()=>Fs,Seq:()=>Wt,Set:()=>Q,Stack:()=>sc,default:()=>Jl,fromJS:()=>Vs,get:()=>Ji,getIn:()=>Xr,has:()=>Rl,hasIn:()=>Rr,hash:()=>Fe,is:()=>Hi,isAssociative:()=>Te,isCollection:()=>de,isImmutable:()=>Le,isIndexed:()=>fe,isKeyed:()=>ce,isList:()=>xu,isMap:()=>po,isOrdered:()=>it,isOrderedMap:()=>$i,isOrderedSet:()=>Lc,isPlainObject:()=>qa,isRecord:()=>We,isSeq:()=>qe,isSet:()=>du,isStack:()=>zl,isValueObject:()=>qr,merge:()=>Tn,mergeDeep:()=>Ze,mergeDeepWith:()=>Jt,mergeWith:()=>ie,remove:()=>Ts,removeIn:()=>Xo,set:()=>hs,setIn:()=>Ja,update:()=>Cs,updateIn:()=>$s,version:()=>Ho});var r="delete",a=5,c=1<<a,u=c-1,e={};function m(le){le&&(le.value=!0)}function T(){}function M(le){return void 0===le.size&&(le.size=le.__iterate(D)),le.size}function w(le,ae){if("number"!=typeof ae){var De=ae>>>0;if(""+De!==ae||4294967295===De)return NaN;ae=De}return ae<0?M(le)+ae:ae}function D(){return!0}function U(le,ae,De){return(0===le&&!F(le)||void 0!==De&&le<=-De)&&(void 0===ae||void 0!==De&&ae>=De)}function W(le,ae){return J(le,ae,0)}function $(le,ae){return J(le,ae,ae)}function J(le,ae,De){return void 0===le?De:F(le)?ae===1/0?ae:0|Math.max(0,ae+le):void 0===ae||ae===le?le:0|Math.min(ae,le)}function F(le){return le<0||0===le&&1/le==-1/0}var X="@@__IMMUTABLE_ITERABLE__@@";function de(le){return Boolean(le&&le[X])}var V="@@__IMMUTABLE_KEYED__@@";function ce(le){return Boolean(le&&le[V])}var se="@@__IMMUTABLE_INDEXED__@@";function fe(le){return Boolean(le&&le[se])}function Te(le){return ce(le)||fe(le)}var $e=function(ae){return de(ae)?ae:Wt(ae)},ge=function(le){function ae(De){return ce(De)?De:Tt(De)}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae}($e),Et=function(le){function ae(De){return fe(De)?De:wn(De)}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae}($e),ot=function(le){function ae(De){return de(De)&&!Te(De)?De:jn(De)}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae}($e);$e.Keyed=ge,$e.Indexed=Et,$e.Set=ot;var ct="@@__IMMUTABLE_SEQ__@@";function qe(le){return Boolean(le&&le[ct])}var He="@@__IMMUTABLE_RECORD__@@";function We(le){return Boolean(le&&le[He])}function Le(le){return de(le)||We(le)}var Pt="@@__IMMUTABLE_ORDERED__@@";function it(le){return Boolean(le&&le[Pt])}var Xt=0,cn=1,pn=2,Rn="function"==typeof Symbol&&Symbol.iterator,At="@@iterator",qt=Rn||At,sn=function(ae){this.next=ae};function fn(le,ae,De,Ve){var st=0===le?ae:1===le?De:[ae,De];return Ve?Ve.value=st:Ve={value:st,done:!1},Ve}function xn(){return{value:void 0,done:!0}}function Kr(le){return!!Array.isArray(le)||!!ir(le)}function Or(le){return le&&"function"==typeof le.next}function Lr(le){var ae=ir(le);return ae&&ae.call(le)}function ir(le){var ae=le&&(Rn&&le[Rn]||le[At]);if("function"==typeof ae)return ae}sn.prototype.toString=function(){return"[Iterator]"},sn.KEYS=Xt,sn.VALUES=cn,sn.ENTRIES=pn,sn.prototype.inspect=sn.prototype.toSource=function(){return this.toString()},sn.prototype[qt]=function(){return this};var br=Object.prototype.hasOwnProperty;function ht(le){return!(!Array.isArray(le)&&"string"!=typeof le)||le&&"object"==typeof le&&Number.isInteger(le.length)&&le.length>=0&&(0===le.length?1===Object.keys(le).length:le.hasOwnProperty(le.length-1))}var Wt=function(le){function ae(De){return null==De?kr():Le(De)?De.toSeq():function mr(le){var ae=pr(le);if(ae)return function Qr(le){var ae=ir(le);return ae&&ae===le.entries}(le)?ae.fromEntrySeq():function jr(le){var ae=ir(le);return ae&&ae===le.keys}(le)?ae.toSetSeq():ae;if("object"==typeof le)return new Oi(le);throw new TypeError("Expected Array or collection object of values, or keyed object: "+le)}(De)}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.prototype.toSeq=function(){return this},ae.prototype.toString=function(){return this.__toString("Seq {","}")},ae.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},ae.prototype.__iterate=function(Ve,st){var zt=this._cache;if(zt){for(var Qt=zt.length,Gn=0;Gn!==Qt;){var Er=zt[st?Qt-++Gn:Gn++];if(!1===Ve(Er[1],Er[0],this))break}return Gn}return this.__iterateUncached(Ve,st)},ae.prototype.__iterator=function(Ve,st){var zt=this._cache;if(zt){var Qt=zt.length,Gn=0;return new sn(function(){if(Gn===Qt)return{value:void 0,done:!0};var Er=zt[st?Qt-++Gn:Gn++];return fn(Ve,Er[0],Er[1])})}return this.__iteratorUncached(Ve,st)},ae}($e),Tt=function(le){function ae(De){return null==De?kr().toKeyedSeq():de(De)?ce(De)?De.toSeq():De.fromEntrySeq():We(De)?De.toSeq():Ei(De)}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.prototype.toKeyedSeq=function(){return this},ae}(Wt),wn=function(le){function ae(De){return null==De?kr():de(De)?ce(De)?De.entrySeq():De.toIndexedSeq():We(De)?De.toSeq().entrySeq():ii(De)}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.of=function(){return ae(arguments)},ae.prototype.toIndexedSeq=function(){return this},ae.prototype.toString=function(){return this.__toString("Seq [","]")},ae}(Wt),jn=function(le){function ae(De){return(de(De)&&!Te(De)?De:wn(De)).toSetSeq()}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.of=function(){return ae(arguments)},ae.prototype.toSetSeq=function(){return this},ae}(Wt);Wt.isSeq=qe,Wt.Keyed=Tt,Wt.Set=jn,Wt.Indexed=wn,Wt.prototype[ct]=!0;var hr=function(le){function ae(De){this._array=De,this.size=De.length}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.prototype.get=function(Ve,st){return this.has(Ve)?this._array[w(this,Ve)]:st},ae.prototype.__iterate=function(Ve,st){for(var zt=this._array,Qt=zt.length,Gn=0;Gn!==Qt;){var Er=st?Qt-++Gn:Gn++;if(!1===Ve(zt[Er],Er,this))break}return Gn},ae.prototype.__iterator=function(Ve,st){var zt=this._array,Qt=zt.length,Gn=0;return new sn(function(){if(Gn===Qt)return{value:void 0,done:!0};var Er=st?Qt-++Gn:Gn++;return fn(Ve,Er,zt[Er])})},ae}(wn),Oi=function(le){function ae(De){var Ve=Object.keys(De).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(De):[]);this._object=De,this._keys=Ve,this.size=Ve.length}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.prototype.get=function(Ve,st){return void 0===st||this.has(Ve)?this._object[Ve]:st},ae.prototype.has=function(Ve){return br.call(this._object,Ve)},ae.prototype.__iterate=function(Ve,st){for(var zt=this._object,Qt=this._keys,Gn=Qt.length,Er=0;Er!==Gn;){var Nr=Qt[st?Gn-++Er:Er++];if(!1===Ve(zt[Nr],Nr,this))break}return Er},ae.prototype.__iterator=function(Ve,st){var zt=this._object,Qt=this._keys,Gn=Qt.length,Er=0;return new sn(function(){if(Er===Gn)return{value:void 0,done:!0};var Nr=Qt[st?Gn-++Er:Er++];return fn(Ve,Nr,zt[Nr])})},ae}(Tt);Oi.prototype[Pt]=!0;var so,Wi=function(le){function ae(De){this._collection=De,this.size=De.length||De.size}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.prototype.__iterateUncached=function(Ve,st){if(st)return this.cacheResult().__iterate(Ve,st);var Qt=Lr(this._collection),Gn=0;if(Or(Qt))for(var Er;!(Er=Qt.next()).done&&!1!==Ve(Er.value,Gn++,this););return Gn},ae.prototype.__iteratorUncached=function(Ve,st){if(st)return this.cacheResult().__iterator(Ve,st);var Qt=Lr(this._collection);if(!Or(Qt))return new sn(xn);var Gn=0;return new sn(function(){var Er=Qt.next();return Er.done?Er:fn(Ve,Gn++,Er.value)})},ae}(wn);function kr(){return so||(so=new hr([]))}function Ei(le){var ae=pr(le);if(ae)return ae.fromEntrySeq();if("object"==typeof le)return new Oi(le);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+le)}function ii(le){var ae=pr(le);if(ae)return ae;throw new TypeError("Expected Array or collection object of values: "+le)}function pr(le){return ht(le)?new hr(le):Kr(le)?new Wi(le):void 0}var Eo="@@__IMMUTABLE_MAP__@@";function po(le){return Boolean(le&&le[Eo])}function $i(le){return po(le)&&it(le)}function qr(le){return Boolean(le&&"function"==typeof le.equals&&"function"==typeof le.hashCode)}function Hi(le,ae){if(le===ae||le!=le&&ae!=ae)return!0;if(!le||!ae)return!1;if("function"==typeof le.valueOf&&"function"==typeof ae.valueOf){if((le=le.valueOf())===(ae=ae.valueOf())||le!=le&&ae!=ae)return!0;if(!le||!ae)return!1}return!!(qr(le)&&qr(ae)&&le.equals(ae))}var Dn="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(ae,De){var Ve=65535&(ae|=0),st=65535&(De|=0);return Ve*st+((ae>>>16)*st+Ve*(De>>>16)<<16>>>0)|0};function Hn(le){return le>>>1&1073741824|3221225471&le}var jt=Object.prototype.valueOf;function Fe(le){if(null==le)return Ie(le);if("function"==typeof le.hashCode)return Hn(le.hashCode(le));var ae=function Pn(le){return le.valueOf!==jt&&"function"==typeof le.valueOf?le.valueOf(le):le}(le);if(null==ae)return Ie(ae);switch(typeof ae){case"boolean":return ae?1108378657:1108378656;case"number":return function et(le){if(le!=le||le===1/0)return 0;var ae=0|le;for(ae!==le&&(ae^=4294967295*le);le>4294967295;)ae^=le/=4294967295;return Hn(ae)}(ae);case"string":return ae.length>dn?function ze(le){var ae=mn[le];return void 0===ae&&(ae=an(le),Ot===Ge&&(Ot=0,mn={}),Ot++,mn[le]=ae),ae}(ae):an(ae);case"object":case"function":return function Rt(le){var ae;if(Pr&&void 0!==(ae=tr.get(le))||void 0!==(ae=le[Zt])||!qn&&(void 0!==(ae=le.propertyIsEnumerable&&le.propertyIsEnumerable[Zt])||(ae=function gr(le){if(le&&le.nodeType>0)switch(le.nodeType){case 1:return le.uniqueID;case 9:return le.documentElement&&le.documentElement.uniqueID}}(le),void 0!==ae)))return ae;if(ae=_r(),Pr)tr.set(le,ae);else{if(void 0!==Pe&&!1===Pe(le))throw new Error("Non-extensible objects are not allowed as keys.");if(qn)Object.defineProperty(le,Zt,{enumerable:!1,configurable:!1,writable:!1,value:ae});else if(void 0!==le.propertyIsEnumerable&&le.propertyIsEnumerable===le.constructor.prototype.propertyIsEnumerable)le.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},le.propertyIsEnumerable[Zt]=ae;else{if(void 0===le.nodeType)throw new Error("Unable to set a non-enumerable property on object.");le[Zt]=ae}}return ae}(ae);case"symbol":return function lt(le){var ae=Zn[le];return void 0!==ae||(ae=_r(),Zn[le]=ae),ae}(ae);default:if("function"==typeof ae.toString)return an(ae.toString());throw new Error("Value type "+typeof ae+" cannot be hashed.")}}function Ie(le){return null===le?1108378658:1108378659}function an(le){for(var ae=0,De=0;De<le.length;De++)ae=31*ae+le.charCodeAt(De)|0;return Hn(ae)}var Pe=Object.isExtensible,qn=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();function _r(){var le=++nr;return 1073741824&nr&&(nr=0),le}var tr,Pr="function"==typeof WeakMap;Pr&&(tr=new WeakMap);var Zn=Object.create(null),nr=0,Zt="__immutablehash__";"function"==typeof Symbol&&(Zt=Symbol(Zt));var dn=16,Ge=255,Ot=0,mn={},wr=function(le){function ae(De,Ve){this._iter=De,this._useKeys=Ve,this.size=De.size}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.prototype.get=function(Ve,st){return this._iter.get(Ve,st)},ae.prototype.has=function(Ve){return this._iter.has(Ve)},ae.prototype.valueSeq=function(){return this._iter.valueSeq()},ae.prototype.reverse=function(){var Ve=this,st=dr(this,!0);return this._useKeys||(st.valueSeq=function(){return Ve._iter.toSeq().reverse()}),st},ae.prototype.map=function(Ve,st){var zt=this,Qt=_s(this,Ve,st);return this._useKeys||(Qt.valueSeq=function(){return zt._iter.toSeq().map(Ve,st)}),Qt},ae.prototype.__iterate=function(Ve,st){var zt=this;return this._iter.__iterate(function(Qt,Gn){return Ve(Qt,Gn,zt)},st)},ae.prototype.__iterator=function(Ve,st){return this._iter.__iterator(Ve,st)},ae}(Tt);wr.prototype[Pt]=!0;var Ti=function(le){function ae(De){this._iter=De,this.size=De.size}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.prototype.includes=function(Ve){return this._iter.includes(Ve)},ae.prototype.__iterate=function(Ve,st){var zt=this,Qt=0;return st&&M(this),this._iter.__iterate(function(Gn){return Ve(Gn,st?zt.size-++Qt:Qt++,zt)},st)},ae.prototype.__iterator=function(Ve,st){var zt=this,Qt=this._iter.__iterator(cn,st),Gn=0;return st&&M(this),new sn(function(){var Er=Qt.next();return Er.done?Er:fn(Ve,st?zt.size-++Gn:Gn++,Er.value,Er)})},ae}(wn),Ci=function(le){function ae(De){this._iter=De,this.size=De.size}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.prototype.has=function(Ve){return this._iter.includes(Ve)},ae.prototype.__iterate=function(Ve,st){var zt=this;return this._iter.__iterate(function(Qt){return Ve(Qt,Qt,zt)},st)},ae.prototype.__iterator=function(Ve,st){var zt=this._iter.__iterator(cn,st);return new sn(function(){var Qt=zt.next();return Qt.done?Qt:fn(Ve,Qt.value,Qt.value,Qt)})},ae}(jn),Ai=function(le){function ae(De){this._iter=De,this.size=De.size}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(Ve,st){var zt=this;return this._iter.__iterate(function(Qt){if(Qt){es(Qt);var Gn=de(Qt);return Ve(Gn?Qt.get(1):Qt[1],Gn?Qt.get(0):Qt[0],zt)}},st)},ae.prototype.__iterator=function(Ve,st){var zt=this._iter.__iterator(cn,st);return new sn(function(){for(;;){var Qt=zt.next();if(Qt.done)return Qt;var Gn=Qt.value;if(Gn){es(Gn);var Er=de(Gn);return fn(Ve,Er?Gn.get(0):Gn[0],Er?Gn.get(1):Gn[1],Qt)}}})},ae}(Tt);function Ko(le){var ae=jo(le);return ae._iter=le,ae.size=le.size,ae.flip=function(){return le},ae.reverse=function(){var De=le.reverse.apply(this);return De.flip=function(){return le.reverse()},De},ae.has=function(De){return le.includes(De)},ae.includes=function(De){return le.has(De)},ae.cacheResult=ss,ae.__iterateUncached=function(De,Ve){var st=this;return le.__iterate(function(zt,Qt){return!1!==De(Qt,zt,st)},Ve)},ae.__iteratorUncached=function(De,Ve){if(De===pn){var st=le.__iterator(De,Ve);return new sn(function(){var zt=st.next();if(!zt.done){var Qt=zt.value[0];zt.value[0]=zt.value[1],zt.value[1]=Qt}return zt})}return le.__iterator(De===cn?Xt:cn,Ve)},ae}function _s(le,ae,De){var Ve=jo(le);return Ve.size=le.size,Ve.has=function(st){return le.has(st)},Ve.get=function(st,zt){var Qt=le.get(st,e);return Qt===e?zt:ae.call(De,Qt,st,le)},Ve.__iterateUncached=function(st,zt){var Qt=this;return le.__iterate(function(Gn,Er,Nr){return!1!==st(ae.call(De,Gn,Er,Nr),Er,Qt)},zt)},Ve.__iteratorUncached=function(st,zt){var Qt=le.__iterator(pn,zt);return new sn(function(){var Gn=Qt.next();if(Gn.done)return Gn;var Er=Gn.value,Nr=Er[0];return fn(st,Nr,ae.call(De,Er[1],Nr,le),Gn)})},Ve}function dr(le,ae){var De=this,Ve=jo(le);return Ve._iter=le,Ve.size=le.size,Ve.reverse=function(){return le},le.flip&&(Ve.flip=function(){var st=Ko(le);return st.reverse=function(){return le.flip()},st}),Ve.get=function(st,zt){return le.get(ae?st:-1-st,zt)},Ve.has=function(st){return le.has(ae?st:-1-st)},Ve.includes=function(st){return le.includes(st)},Ve.cacheResult=ss,Ve.__iterate=function(st,zt){var Qt=this,Gn=0;return zt&&M(le),le.__iterate(function(Er,Nr){return st(Er,ae?Nr:zt?Qt.size-++Gn:Gn++,Qt)},!zt)},Ve.__iterator=function(st,zt){var Qt=0;zt&&M(le);var Gn=le.__iterator(pn,!zt);return new sn(function(){var Er=Gn.next();if(Er.done)return Er;var Nr=Er.value;return fn(st,ae?Nr[0]:zt?De.size-++Qt:Qt++,Nr[1],Er)})},Ve}function Ni(le,ae,De,Ve){var st=jo(le);return Ve&&(st.has=function(zt){var Qt=le.get(zt,e);return Qt!==e&&!!ae.call(De,Qt,zt,le)},st.get=function(zt,Qt){var Gn=le.get(zt,e);return Gn!==e&&ae.call(De,Gn,zt,le)?Gn:Qt}),st.__iterateUncached=function(zt,Qt){var Gn=this,Er=0;return le.__iterate(function(Nr,Mi,ao){if(ae.call(De,Nr,Mi,ao))return Er++,zt(Nr,Ve?Mi:Er-1,Gn)},Qt),Er},st.__iteratorUncached=function(zt,Qt){var Gn=le.__iterator(pn,Qt),Er=0;return new sn(function(){for(;;){var Nr=Gn.next();if(Nr.done)return Nr;var Mi=Nr.value,ao=Mi[0],Jo=Mi[1];if(ae.call(De,Jo,ao,le))return fn(zt,Ve?ao:Er++,Jo,Nr)}})},st}function ji(le,ae,De,Ve){var st=le.size;if(U(ae,De,st))return le;var zt=W(ae,st),Qt=$(De,st);if(zt!=zt||Qt!=Qt)return ji(le.toSeq().cacheResult(),ae,De,Ve);var Er,Gn=Qt-zt;Gn==Gn&&(Er=Gn<0?0:Gn);var Nr=jo(le);return Nr.size=0===Er?Er:le.size&&Er||void 0,!Ve&&qe(le)&&Er>=0&&(Nr.get=function(Mi,ao){return(Mi=w(this,Mi))>=0&&Mi<Er?le.get(Mi+zt,ao):ao}),Nr.__iterateUncached=function(Mi,ao){var Jo=this;if(0===Er)return 0;if(ao)return this.cacheResult().__iterate(Mi,ao);var rs=0,ys=!0,Ps=0;return le.__iterate(function(Ul,eu){if(!ys||!(ys=rs++<zt))return Ps++,!1!==Mi(Ul,Ve?eu:Ps-1,Jo)&&Ps!==Er}),Ps},Nr.__iteratorUncached=function(Mi,ao){if(0!==Er&&ao)return this.cacheResult().__iterator(Mi,ao);if(0===Er)return new sn(xn);var Jo=le.__iterator(Mi,ao),rs=0,ys=0;return new sn(function(){for(;rs++<zt;)Jo.next();if(++ys>Er)return{value:void 0,done:!0};var Ps=Jo.next();return Ve||Mi===cn||Ps.done?Ps:fn(Mi,ys-1,Mi===Xt?void 0:Ps.value[1],Ps)})},Nr}function Po(le,ae,De,Ve){var st=jo(le);return st.__iterateUncached=function(zt,Qt){var Gn=this;if(Qt)return this.cacheResult().__iterate(zt,Qt);var Er=!0,Nr=0;return le.__iterate(function(Mi,ao,Jo){if(!Er||!(Er=ae.call(De,Mi,ao,Jo)))return Nr++,zt(Mi,Ve?ao:Nr-1,Gn)}),Nr},st.__iteratorUncached=function(zt,Qt){var Gn=this;if(Qt)return this.cacheResult().__iterator(zt,Qt);var Er=le.__iterator(pn,Qt),Nr=!0,Mi=0;return new sn(function(){var ao,Jo,rs;do{if((ao=Er.next()).done)return Ve||zt===cn?ao:fn(zt,Mi++,zt===Xt?void 0:ao.value[1],ao);var ys=ao.value;Jo=ys[0],rs=ys[1],Nr&&(Nr=ae.call(De,rs,Jo,Gn))}while(Nr);return zt===pn?ao:fn(zt,Jo,rs,ao)})},st}function Ir(le,ae,De){var Ve=jo(le);return Ve.__iterateUncached=function(st,zt){if(zt)return this.cacheResult().__iterate(st,zt);var Qt=0,Gn=!1;return function Er(Nr,Mi){Nr.__iterate(function(ao,Jo){return(!ae||Mi<ae)&&de(ao)?Er(ao,Mi+1):(Qt++,!1===st(ao,De?Jo:Qt-1,Ve)&&(Gn=!0)),!Gn},zt)}(le,0),Qt},Ve.__iteratorUncached=function(st,zt){if(zt)return this.cacheResult().__iterator(st,zt);var Qt=le.__iterator(st,zt),Gn=[],Er=0;return new sn(function(){for(;Qt;){var Nr=Qt.next();if(!1===Nr.done){var Mi=Nr.value;if(st===pn&&(Mi=Mi[1]),ae&&!(Gn.length<ae)||!de(Mi))return De?Nr:fn(st,Er++,Mi,Nr);Gn.push(Qt),Qt=Mi.__iterator(st,zt)}else Qt=Gn.pop()}return{value:void 0,done:!0}})},Ve}function bn(le,ae,De){ae||(ae=gs);var Ve=ce(le),st=0,zt=le.toSeq().map(function(Qt,Gn){return[Gn,Qt,st++,De?De(Qt,Gn,le):Qt]}).valueSeq().toArray();return zt.sort(function(Qt,Gn){return ae(Qt[3],Gn[3])||Qt[2]-Gn[2]}).forEach(Ve?function(Qt,Gn){zt[Gn].length=2}:function(Qt,Gn){zt[Gn]=Qt[1]}),Ve?Tt(zt):fe(le)?wn(zt):jn(zt)}function Bn(le,ae,De){if(ae||(ae=gs),De){var Ve=le.toSeq().map(function(st,zt){return[st,De(st,zt,le)]}).reduce(function(st,zt){return ci(ae,st[1],zt[1])?zt:st});return Ve&&Ve[0]}return le.reduce(function(st,zt){return ci(ae,st,zt)?zt:st})}function ci(le,ae,De){var Ve=le(De,ae);return 0===Ve&&De!==ae&&(null==De||De!=De)||Ve>0}function _o(le,ae,De,Ve){var st=jo(le),zt=new hr(De).map(function(Qt){return Qt.size});return st.size=Ve?zt.max():zt.min(),st.__iterate=function(Qt,Gn){for(var Nr,Er=this.__iterator(cn,Gn),Mi=0;!(Nr=Er.next()).done&&!1!==Qt(Nr.value,Mi++,this););return Mi},st.__iteratorUncached=function(Qt,Gn){var Er=De.map(function(ao){return ao=$e(ao),Lr(Gn?ao.reverse():ao)}),Nr=0,Mi=!1;return new sn(function(){var ao;return Mi||(ao=Er.map(function(Jo){return Jo.next()}),Mi=Ve?ao.every(function(Jo){return Jo.done}):ao.some(function(Jo){return Jo.done})),Mi?{value:void 0,done:!0}:fn(Qt,Nr++,ae.apply(null,ao.map(function(Jo){return Jo.value})))})},st}function go(le,ae){return le===ae?le:qe(le)?ae:le.constructor(ae)}function es(le){if(le!==Object(le))throw new TypeError("Expected [K, V] tuple: "+le)}function ts(le){return ce(le)?ge:fe(le)?Et:ot}function jo(le){return Object.create((ce(le)?Tt:fe(le)?wn:jn).prototype)}function ss(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Wt.prototype.cacheResult.call(this)}function gs(le,ae){return void 0===le&&void 0===ae?0:void 0===le?1:void 0===ae?-1:le>ae?1:le<ae?-1:0}function Is(le,ae){ae=ae||0;for(var De=Math.max(0,le.length-ae),Ve=new Array(De),st=0;st<De;st++)Ve[st]=le[st+ae];return Ve}function la(le,ae){if(!le)throw new Error(ae)}function Ro(le){la(le!==1/0,"Cannot perform this action with an infinite size.")}function jl(le){if(ht(le)&&"string"!=typeof le)return le;if(it(le))return le.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+le)}Ti.prototype.cacheResult=wr.prototype.cacheResult=Ci.prototype.cacheResult=Ai.prototype.cacheResult=ss;var gl=Object.prototype.toString;function qa(le){if(!le||"object"!=typeof le||"[object Object]"!==gl.call(le))return!1;var ae=Object.getPrototypeOf(le);if(null===ae)return!0;for(var De=ae,Ve=Object.getPrototypeOf(ae);null!==Ve;)De=Ve,Ve=Object.getPrototypeOf(De);return De===ae}function da(le){return"object"==typeof le&&(Le(le)||Array.isArray(le)||qa(le))}function $a(le){try{return"string"==typeof le?JSON.stringify(le):String(le)}catch{return JSON.stringify(le)}}function Rl(le,ae){return Le(le)?le.has(ae):da(le)&&br.call(le,ae)}function Ji(le,ae,De){return Le(le)?le.get(ae,De):Rl(le,ae)?"function"==typeof le.get?le.get(ae):le[ae]:De}function Ha(le){if(Array.isArray(le))return Is(le);var ae={};for(var De in le)br.call(le,De)&&(ae[De]=le[De]);return ae}function Ts(le,ae){if(!da(le))throw new TypeError("Cannot update non-data-structure value: "+le);if(Le(le)){if(!le.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+le);return le.remove(ae)}if(!br.call(le,ae))return le;var De=Ha(le);return Array.isArray(De)?De.splice(ae,1):delete De[ae],De}function hs(le,ae,De){if(!da(le))throw new TypeError("Cannot update non-data-structure value: "+le);if(Le(le)){if(!le.set)throw new TypeError("Cannot update immutable value without .set() method: "+le);return le.set(ae,De)}if(br.call(le,ae)&&De===le[ae])return le;var Ve=Ha(le);return Ve[ae]=De,Ve}function $s(le,ae,De,Ve){Ve||(Ve=De,De=void 0);var st=Aa(Le(le),le,jl(ae),0,De,Ve);return st===e?De:st}function Aa(le,ae,De,Ve,st,zt){var Qt=ae===e;if(Ve===De.length){var Gn=Qt?st:ae,Er=zt(Gn);return Er===Gn?ae:Er}if(!Qt&&!da(ae))throw new TypeError("Cannot update within non-data-structure value in path ["+De.slice(0,Ve).map($a)+"]: "+ae);var Nr=De[Ve],Mi=Qt?e:Ji(ae,Nr,e),ao=Aa(Mi===e?le:Le(Mi),Mi,De,Ve+1,st,zt);return ao===Mi?ae:ao===e?Ts(ae,Nr):hs(Qt?le?Gs():{}:ae,Nr,ao)}function Ja(le,ae,De){return $s(le,ae,e,function(){return De})}function fa(le,ae){return Ja(this,le,ae)}function Xo(le,ae){return $s(le,ae,function(){return e})}function No(le){return Xo(this,le)}function Cs(le,ae,De,Ve){return $s(le,[ae],De,Ve)}function ns(le,ae,De){return 1===arguments.length?le(this):Cs(this,le,ae,De)}function Fo(le,ae,De){return $s(this,le,ae,De)}function zr(){for(var le=[],ae=arguments.length;ae--;)le[ae]=arguments[ae];return gt(this,le)}function io(le){for(var ae=[],De=arguments.length-1;De-- >0;)ae[De]=arguments[De+1];if("function"!=typeof le)throw new TypeError("Invalid merger function: "+le);return gt(this,ae,le)}function gt(le,ae,De){for(var Ve=[],st=0;st<ae.length;st++){var zt=ge(ae[st]);0!==zt.size&&Ve.push(zt)}return 0===Ve.length?le:0!==le.toSeq().size||le.__ownerID||1!==Ve.length?le.withMutations(function(Qt){for(var Gn=De?function(Nr,Mi){Cs(Qt,Mi,e,function(ao){return ao===e?Nr:De(ao,Nr,Mi)})}:function(Nr,Mi){Qt.set(Mi,Nr)},Er=0;Er<Ve.length;Er++)Ve[Er].forEach(Gn)}):le.constructor(Ve[0])}function Tn(le){for(var ae=[],De=arguments.length-1;De-- >0;)ae[De]=arguments[De+1];return vi(le,ae)}function ie(le,ae){for(var De=[],Ve=arguments.length-2;Ve-- >0;)De[Ve]=arguments[Ve+2];return vi(ae,De,le)}function Ze(le){for(var ae=[],De=arguments.length-1;De-- >0;)ae[De]=arguments[De+1];return gn(le,ae)}function Jt(le,ae){for(var De=[],Ve=arguments.length-2;Ve-- >0;)De[Ve]=arguments[Ve+2];return gn(ae,De,le)}function gn(le,ae,De){return vi(le,ae,function Bi(le){return function ae(De,Ve,st){return da(De)&&da(Ve)&&function Xi(le,ae){var De=Wt(le),Ve=Wt(ae);return fe(De)===fe(Ve)&&ce(De)===ce(Ve)}(De,Ve)?vi(De,[Ve],ae):le?le(De,Ve,st):Ve}}(De))}function vi(le,ae,De){if(!da(le))throw new TypeError("Cannot merge into non-data-structure value: "+le);if(Le(le))return"function"==typeof De&&le.mergeWith?le.mergeWith.apply(le,[De].concat(ae)):le.merge?le.merge.apply(le,ae):le.concat.apply(le,ae);for(var Ve=Array.isArray(le),st=le,zt=Ve?Et:ge,Qt=Ve?function(Er){st===le&&(st=Ha(st)),st.push(Er)}:function(Er,Nr){var Mi=br.call(st,Nr),ao=Mi&&De?De(st[Nr],Er,Nr):Er;(!Mi||ao!==st[Nr])&&(st===le&&(st=Ha(st)),st[Nr]=ao)},Gn=0;Gn<ae.length;Gn++)zt(ae[Gn]).forEach(Qt);return st}function ws(){for(var le=[],ae=arguments.length;ae--;)le[ae]=arguments[ae];return gn(this,le)}function ds(le){for(var ae=[],De=arguments.length-1;De-- >0;)ae[De]=arguments[De+1];return gn(this,ae,le)}function qs(le){for(var ae=[],De=arguments.length-1;De-- >0;)ae[De]=arguments[De+1];return $s(this,le,Gs(),function(Ve){return vi(Ve,ae)})}function Js(le){for(var ae=[],De=arguments.length-1;De-- >0;)ae[De]=arguments[De+1];return $s(this,le,Gs(),function(Ve){return gn(Ve,ae)})}function Ll(le){var ae=this.asMutable();return le(ae),ae.wasAltered()?ae.__ensureOwner(this.__ownerID):this}function vl(){return this.__ownerID?this:this.__ensureOwner(new T)}function Yu(){return this.__ensureOwner()}function Nc(){return this.__altered}var qu=function(le){function ae(De){return null==De?Gs():po(De)&&!it(De)?De:Gs().withMutations(function(Ve){var st=le(De);Ro(st.size),st.forEach(function(zt,Qt){return Ve.set(Qt,zt)})})}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.of=function(){for(var Ve=[],st=arguments.length;st--;)Ve[st]=arguments[st];return Gs().withMutations(function(zt){for(var Qt=0;Qt<Ve.length;Qt+=2){if(Qt+1>=Ve.length)throw new Error("Missing value for key: "+Ve[Qt]);zt.set(Ve[Qt],Ve[Qt+1])}})},ae.prototype.toString=function(){return this.__toString("Map {","}")},ae.prototype.get=function(Ve,st){return this._root?this._root.get(0,void 0,Ve,st):st},ae.prototype.set=function(Ve,st){return ku(this,Ve,st)},ae.prototype.remove=function(Ve){return ku(this,Ve,e)},ae.prototype.deleteAll=function(Ve){var st=$e(Ve);return 0===st.size?this:this.withMutations(function(zt){st.forEach(function(Qt){return zt.remove(Qt)})})},ae.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Gs()},ae.prototype.sort=function(Ve){return To(bn(this,Ve))},ae.prototype.sortBy=function(Ve,st){return To(bn(this,st,Ve))},ae.prototype.map=function(Ve,st){var zt=this;return this.withMutations(function(Qt){Qt.forEach(function(Gn,Er){Qt.set(Er,Ve.call(st,Gn,Er,zt))})})},ae.prototype.__iterator=function(Ve,st){return new ju(this,Ve,st)},ae.prototype.__iterate=function(Ve,st){var zt=this,Qt=0;return this._root&&this._root.iterate(function(Gn){return Qt++,Ve(Gn[1],Gn[0],zt)},st),Qt},ae.prototype.__ensureOwner=function(Ve){return Ve===this.__ownerID?this:Ve?Xl(this.size,this._root,Ve,this.__hash):0===this.size?Gs():(this.__ownerID=Ve,this.__altered=!1,this)},ae}(ge);qu.isMap=po;var Ol=qu.prototype;Ol[Eo]=!0,Ol[r]=Ol.remove,Ol.removeAll=Ol.deleteAll,Ol.setIn=fa,Ol.removeIn=Ol.deleteIn=No,Ol.update=ns,Ol.updateIn=Fo,Ol.merge=Ol.concat=zr,Ol.mergeWith=io,Ol.mergeDeep=ws,Ol.mergeDeepWith=ds,Ol.mergeIn=qs,Ol.mergeDeepIn=Js,Ol.withMutations=Ll,Ol.wasAltered=Nc,Ol.asImmutable=Yu,Ol["@@transducer/init"]=Ol.asMutable=vl,Ol["@@transducer/step"]=function(le,ae){return le.set(ae[0],ae[1])},Ol["@@transducer/result"]=function(le){return le.asImmutable()};var Kc=function(ae,De){this.ownerID=ae,this.entries=De};Kc.prototype.get=function(ae,De,Ve,st){for(var zt=this.entries,Qt=0,Gn=zt.length;Qt<Gn;Qt++)if(Hi(Ve,zt[Qt][0]))return zt[Qt][1];return st},Kc.prototype.update=function(ae,De,Ve,st,zt,Qt,Gn){for(var Er=zt===e,Nr=this.entries,Mi=0,ao=Nr.length;Mi<ao&&!Hi(st,Nr[Mi][0]);Mi++);var Jo=Mi<ao;if(Jo?Nr[Mi][1]===zt:Er)return this;if(m(Gn),(Er||!Jo)&&m(Qt),!Er||1!==Nr.length){if(!Jo&&!Er&&Nr.length>=dc)return function uu(le,ae,De,Ve){le||(le=new T);for(var st=new yu(le,Fe(De),[De,Ve]),zt=0;zt<ae.length;zt++){var Qt=ae[zt];st=st.update(le,0,void 0,Qt[0],Qt[1])}return st}(ae,Nr,st,zt);var rs=ae&&ae===this.ownerID,ys=rs?Nr:Is(Nr);return Jo?Er?Mi===ao-1?ys.pop():ys[Mi]=ys.pop():ys[Mi]=[st,zt]:ys.push([st,zt]),rs?(this.entries=ys,this):new Kc(ae,ys)}};var yl=function(ae,De,Ve){this.ownerID=ae,this.bitmap=De,this.nodes=Ve};yl.prototype.get=function(ae,De,Ve,st){void 0===De&&(De=Fe(Ve));var zt=1<<((0===ae?De:De>>>ae)&u),Qt=this.bitmap;return Qt&zt?this.nodes[Ba(Qt&zt-1)].get(ae+a,De,Ve,st):st},yl.prototype.update=function(ae,De,Ve,st,zt,Qt,Gn){void 0===Ve&&(Ve=Fe(st));var Er=(0===De?Ve:Ve>>>De)&u,Nr=1<<Er,Mi=this.bitmap,ao=0!=(Mi&Nr);if(!ao&&zt===e)return this;var Jo=Ba(Mi&Nr-1),rs=this.nodes,ys=ao?rs[Jo]:void 0,Ps=zu(ys,ae,De+a,Ve,st,zt,Qt,Gn);if(Ps===ys)return this;if(!ao&&Ps&&rs.length>=cu)return function $u(le,ae,De,Ve,st){for(var zt=0,Qt=new Array(c),Gn=0;0!==De;Gn++,De>>>=1)Qt[Gn]=1&De?ae[zt++]:void 0;return Qt[Ve]=st,new au(le,zt+1,Qt)}(ae,rs,Mi,Er,Ps);if(ao&&!Ps&&2===rs.length&&ua(rs[1^Jo]))return rs[1^Jo];if(ao&&Ps&&1===rs.length&&ua(Ps))return Ps;var Ul=ae&&ae===this.ownerID,eu=ao?Ps?Mi:Mi^Nr:Mi|Nr,mu=ao?Ps?Tl(rs,Jo,Ps,Ul):function Ga(le,ae,De){var Ve=le.length-1;if(De&&ae===Ve)return le.pop(),le;for(var st=new Array(Ve),zt=0,Qt=0;Qt<Ve;Qt++)Qt===ae&&(zt=1),st[Qt]=le[Qt+zt];return st}(rs,Jo,Ul):function tl(le,ae,De,Ve){var st=le.length+1;if(Ve&&ae+1===st)return le[ae]=De,le;for(var zt=new Array(st),Qt=0,Gn=0;Gn<st;Gn++)Gn===ae?(zt[Gn]=De,Qt=-1):zt[Gn]=le[Gn+Qt];return zt}(rs,Jo,Ps,Ul);return Ul?(this.bitmap=eu,this.nodes=mu,this):new yl(ae,eu,mu)};var au=function(ae,De,Ve){this.ownerID=ae,this.count=De,this.nodes=Ve};au.prototype.get=function(ae,De,Ve,st){void 0===De&&(De=Fe(Ve));var Qt=this.nodes[(0===ae?De:De>>>ae)&u];return Qt?Qt.get(ae+a,De,Ve,st):st},au.prototype.update=function(ae,De,Ve,st,zt,Qt,Gn){void 0===Ve&&(Ve=Fe(st));var Er=(0===De?Ve:Ve>>>De)&u,Mi=this.nodes,ao=Mi[Er];if(zt===e&&!ao)return this;var Jo=zu(ao,ae,De+a,Ve,st,zt,Qt,Gn);if(Jo===ao)return this;var rs=this.count;if(ao){if(!Jo&&--rs<Sa)return function Eu(le,ae,De,Ve){for(var st=0,zt=0,Qt=new Array(De),Gn=0,Er=1,Nr=ae.length;Gn<Nr;Gn++,Er<<=1){var Mi=ae[Gn];void 0!==Mi&&Gn!==Ve&&(st|=Er,Qt[zt++]=Mi)}return new yl(le,st,Qt)}(ae,Mi,rs,Er)}else rs++;var ys=ae&&ae===this.ownerID,Ps=Tl(Mi,Er,Jo,ys);return ys?(this.count=rs,this.nodes=Ps,this):new au(ae,rs,Ps)};var Da=function(ae,De,Ve){this.ownerID=ae,this.keyHash=De,this.entries=Ve};Da.prototype.get=function(ae,De,Ve,st){for(var zt=this.entries,Qt=0,Gn=zt.length;Qt<Gn;Qt++)if(Hi(Ve,zt[Qt][0]))return zt[Qt][1];return st},Da.prototype.update=function(ae,De,Ve,st,zt,Qt,Gn){void 0===Ve&&(Ve=Fe(st));var Er=zt===e;if(Ve!==this.keyHash)return Er?this:(m(Gn),m(Qt),El(this,ae,De,Ve,[st,zt]));for(var Nr=this.entries,Mi=0,ao=Nr.length;Mi<ao&&!Hi(st,Nr[Mi][0]);Mi++);var Jo=Mi<ao;if(Jo?Nr[Mi][1]===zt:Er)return this;if(m(Gn),(Er||!Jo)&&m(Qt),Er&&2===ao)return new yu(ae,this.keyHash,Nr[1^Mi]);var rs=ae&&ae===this.ownerID,ys=rs?Nr:Is(Nr);return Jo?Er?Mi===ao-1?ys.pop():ys[Mi]=ys.pop():ys[Mi]=[st,zt]:ys.push([st,zt]),rs?(this.entries=ys,this):new Da(ae,this.keyHash,ys)};var yu=function(ae,De,Ve){this.ownerID=ae,this.keyHash=De,this.entry=Ve};yu.prototype.get=function(ae,De,Ve,st){return Hi(Ve,this.entry[0])?this.entry[1]:st},yu.prototype.update=function(ae,De,Ve,st,zt,Qt,Gn){var Er=zt===e,Nr=Hi(st,this.entry[0]);return(Nr?zt===this.entry[1]:Er)?this:(m(Gn),Er?void m(Qt):Nr?ae&&ae===this.ownerID?(this.entry[1]=zt,this):new yu(ae,this.keyHash,[st,zt]):(m(Qt),El(this,ae,De,Fe(st),[st,zt])))},Kc.prototype.iterate=Da.prototype.iterate=function(le,ae){for(var De=this.entries,Ve=0,st=De.length-1;Ve<=st;Ve++)if(!1===le(De[ae?st-Ve:Ve]))return!1},yl.prototype.iterate=au.prototype.iterate=function(le,ae){for(var De=this.nodes,Ve=0,st=De.length-1;Ve<=st;Ve++){var zt=De[ae?st-Ve:Ve];if(zt&&!1===zt.iterate(le,ae))return!1}},yu.prototype.iterate=function(le,ae){return le(this.entry)};var Ic,ju=function(le){function ae(De,Ve,st){this._type=Ve,this._reverse=st,this._stack=De._root&&oc(De._root)}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.prototype.next=function(){for(var Ve=this._type,st=this._stack;st;){var zt=st.node,Qt=st.index++,Gn=void 0;if(zt.entry){if(0===Qt)return el(Ve,zt.entry)}else if(zt.entries){if(Qt<=(Gn=zt.entries.length-1))return el(Ve,zt.entries[this._reverse?Gn-Qt:Qt])}else if(Qt<=(Gn=zt.nodes.length-1)){var Er=zt.nodes[this._reverse?Gn-Qt:Qt];if(Er){if(Er.entry)return el(Ve,Er.entry);st=this._stack=oc(Er,st)}continue}st=this._stack=this._stack.__prev}return{value:void 0,done:!0}},ae}(sn);function el(le,ae){return fn(le,ae[0],ae[1])}function oc(le,ae){return{node:le,index:0,__prev:ae}}function Xl(le,ae,De,Ve){var st=Object.create(Ol);return st.size=le,st._root=ae,st.__ownerID=De,st.__hash=Ve,st.__altered=!1,st}function Gs(){return Ic||(Ic=Xl(0))}function ku(le,ae,De){var Ve,st;if(le._root){var zt={value:!1},Qt={value:!1};if(Ve=zu(le._root,le.__ownerID,0,void 0,ae,De,zt,Qt),!Qt.value)return le;st=le.size+(zt.value?De===e?-1:1:0)}else{if(De===e)return le;st=1,Ve=new Kc(le.__ownerID,[[ae,De]])}return le.__ownerID?(le.size=st,le._root=Ve,le.__hash=void 0,le.__altered=!0,le):Ve?Xl(st,Ve):Gs()}function zu(le,ae,De,Ve,st,zt,Qt,Gn){return le?le.update(ae,De,Ve,st,zt,Qt,Gn):zt===e?le:(m(Gn),m(Qt),new yu(ae,Ve,[st,zt]))}function ua(le){return le.constructor===yu||le.constructor===Da}function El(le,ae,De,Ve,st){if(le.keyHash===Ve)return new Da(ae,Ve,[le.entry,st]);var Gn,zt=(0===De?le.keyHash:le.keyHash>>>De)&u,Qt=(0===De?Ve:Ve>>>De)&u,Er=zt===Qt?[El(le,ae,De+a,Ve,st)]:(Gn=new yu(ae,Ve,st),zt<Qt?[le,Gn]:[Gn,le]);return new yl(ae,1<<zt|1<<Qt,Er)}function Ba(le){return le=(le=(858993459&(le-=le>>1&1431655765))+(le>>2&858993459))+(le>>4)&252645135,127&(le+=le>>8)+(le>>16)}function Tl(le,ae,De,Ve){var st=Ve?le:Is(le);return st[ae]=De,st}var dc=c/4,cu=c/2,Sa=c/4,Ru="@@__IMMUTABLE_LIST__@@";function xu(le){return Boolean(le&&le[Ru])}var ba=function(le){function ae(De){var Ve=zs();if(null==De)return Ve;if(xu(De))return De;var st=le(De),zt=st.size;return 0===zt?Ve:(Ro(zt),zt>0&&zt<c?Al(0,zt,a,null,new Su(st.toArray())):Ve.withMutations(function(Qt){Qt.setSize(zt),st.forEach(function(Gn,Er){return Qt.set(Er,Gn)})}))}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.of=function(){return this(arguments)},ae.prototype.toString=function(){return this.__toString("List [","]")},ae.prototype.get=function(Ve,st){if((Ve=w(this,Ve))>=0&&Ve<this.size){var zt=Je(this,Ve+=this._origin);return zt&&zt.array[Ve&u]}return st},ae.prototype.set=function(Ve,st){return function Vc(le,ae,De){if((ae=w(le,ae))!=ae)return le;if(ae>=le.size||ae<0)return le.withMutations(function(Qt){ae<0?en(Qt,ae).set(0,De):en(Qt,0,ae+1).set(ae,De)});var Ve=le._tail,st=le._root,zt={value:!1};return(ae+=le._origin)>=fi(le._capacity)?Ve=bt(Ve,le.__ownerID,0,ae,De,zt):st=bt(st,le.__ownerID,le._level,ae,De,zt),zt.value?le.__ownerID?(le._root=st,le._tail=Ve,le.__hash=void 0,le.__altered=!0,le):Al(le._origin,le._capacity,le._level,st,Ve):le}(this,Ve,st)},ae.prototype.remove=function(Ve){return this.has(Ve)?0===Ve?this.shift():Ve===this.size-1?this.pop():this.splice(Ve,1):this},ae.prototype.insert=function(Ve,st){return this.splice(Ve,0,st)},ae.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=a,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):zs()},ae.prototype.push=function(){var Ve=arguments,st=this.size;return this.withMutations(function(zt){en(zt,0,st+Ve.length);for(var Qt=0;Qt<Ve.length;Qt++)zt.set(st+Qt,Ve[Qt])})},ae.prototype.pop=function(){return en(this,0,-1)},ae.prototype.unshift=function(){var Ve=arguments;return this.withMutations(function(st){en(st,-Ve.length);for(var zt=0;zt<Ve.length;zt++)st.set(zt,Ve[zt])})},ae.prototype.shift=function(){return en(this,1)},ae.prototype.concat=function(){for(var Ve=arguments,st=[],zt=0;zt<arguments.length;zt++){var Qt=Ve[zt],Gn=le("string"!=typeof Qt&&Kr(Qt)?Qt:[Qt]);0!==Gn.size&&st.push(Gn)}return 0===st.length?this:0!==this.size||this.__ownerID||1!==st.length?this.withMutations(function(Er){st.forEach(function(Nr){return Nr.forEach(function(Mi){return Er.push(Mi)})})}):this.constructor(st[0])},ae.prototype.setSize=function(Ve){return en(this,0,Ve)},ae.prototype.map=function(Ve,st){var zt=this;return this.withMutations(function(Qt){for(var Gn=0;Gn<zt.size;Gn++)Qt.set(Gn,Ve.call(st,Qt.get(Gn),Gn,zt))})},ae.prototype.slice=function(Ve,st){var zt=this.size;return U(Ve,st,zt)?this:en(this,W(Ve,zt),$(st,zt))},ae.prototype.__iterator=function(Ve,st){var zt=st?this.size:0,Qt=ql(this,st);return new sn(function(){var Gn=Qt();return Gn===gc?{value:void 0,done:!0}:fn(Ve,st?--zt:zt++,Gn)})},ae.prototype.__iterate=function(Ve,st){for(var Gn,zt=st?this.size:0,Qt=ql(this,st);(Gn=Qt())!==gc&&!1!==Ve(Gn,st?--zt:zt++,this););return zt},ae.prototype.__ensureOwner=function(Ve){return Ve===this.__ownerID?this:Ve?Al(this._origin,this._capacity,this._level,this._root,this._tail,Ve,this.__hash):0===this.size?zs():(this.__ownerID=Ve,this.__altered=!1,this)},ae}(Et);ba.isList=xu;var nl=ba.prototype;nl[Ru]=!0,nl[r]=nl.remove,nl.merge=nl.concat,nl.setIn=fa,nl.deleteIn=nl.removeIn=No,nl.update=ns,nl.updateIn=Fo,nl.mergeIn=qs,nl.mergeDeepIn=Js,nl.withMutations=Ll,nl.wasAltered=Nc,nl.asImmutable=Yu,nl["@@transducer/init"]=nl.asMutable=vl,nl["@@transducer/step"]=function(le,ae){return le.push(ae)},nl["@@transducer/result"]=function(le){return le.asImmutable()};var Su=function(ae,De){this.array=ae,this.ownerID=De};Su.prototype.removeBefore=function(ae,De,Ve){if(Ve===De?1<<De:0===this.array.length)return this;var st=Ve>>>De&u;if(st>=this.array.length)return new Su([],ae);var Qt,zt=0===st;if(De>0){var Gn=this.array[st];if((Qt=Gn&&Gn.removeBefore(ae,De-a,Ve))===Gn&&zt)return this}if(zt&&!Qt)return this;var Er=pt(this,ae);if(!zt)for(var Nr=0;Nr<st;Nr++)Er.array[Nr]=void 0;return Qt&&(Er.array[st]=Qt),Er},Su.prototype.removeAfter=function(ae,De,Ve){if(Ve===(De?1<<De:0)||0===this.array.length)return this;var zt,st=Ve-1>>>De&u;if(st>=this.array.length)return this;if(De>0){var Qt=this.array[st];if((zt=Qt&&Qt.removeAfter(ae,De-a,Ve))===Qt&&st===this.array.length-1)return this}var Gn=pt(this,ae);return Gn.array.splice(st+1),zt&&(Gn.array[st]=zt),Gn};var Dc,gc={};function ql(le,ae){var De=le._origin,Ve=le._capacity,st=fi(Ve),zt=le._tail;return function Qt(Nr,Mi,ao){return 0===Mi?function Gn(Nr,Mi){var ao=Mi===st?zt&&zt.array:Nr&&Nr.array,Jo=Mi>De?0:De-Mi,rs=Ve-Mi;return rs>c&&(rs=c),function(){if(Jo===rs)return gc;var ys=ae?--rs:Jo++;return ao&&ao[ys]}}(Nr,ao):function Er(Nr,Mi,ao){var Jo,rs=Nr&&Nr.array,ys=ao>De?0:De-ao>>Mi,Ps=1+(Ve-ao>>Mi);return Ps>c&&(Ps=c),function(){for(;;){if(Jo){var Ul=Jo();if(Ul!==gc)return Ul;Jo=null}if(ys===Ps)return gc;var eu=ae?--Ps:ys++;Jo=Qt(rs&&rs[eu],Mi-a,ao+(eu<<Mi))}}}(Nr,Mi,ao)}(le._root,le._level,0)}function Al(le,ae,De,Ve,st,zt,Qt){var Gn=Object.create(nl);return Gn.size=ae-le,Gn._origin=le,Gn._capacity=ae,Gn._level=De,Gn._root=Ve,Gn._tail=st,Gn.__ownerID=zt,Gn.__hash=Qt,Gn.__altered=!1,Gn}function zs(){return Dc||(Dc=Al(0,0,a))}function bt(le,ae,De,Ve,st,zt){var Er,Qt=Ve>>>De&u,Gn=le&&Qt<le.array.length;if(!Gn&&void 0===st)return le;if(De>0){var Nr=le&&le.array[Qt],Mi=bt(Nr,ae,De-a,Ve,st,zt);return Mi===Nr?le:((Er=pt(le,ae)).array[Qt]=Mi,Er)}return Gn&&le.array[Qt]===st?le:(zt&&m(zt),Er=pt(le,ae),void 0===st&&Qt===Er.array.length-1?Er.array.pop():Er.array[Qt]=st,Er)}function pt(le,ae){return ae&&le&&ae===le.ownerID?le:new Su(le?le.array.slice():[],ae)}function Je(le,ae){if(ae>=fi(le._capacity))return le._tail;if(ae<1<<le._level+a){for(var De=le._root,Ve=le._level;De&&Ve>0;)De=De.array[ae>>>Ve&u],Ve-=a;return De}}function en(le,ae,De){void 0!==ae&&(ae|=0),void 0!==De&&(De|=0);var Ve=le.__ownerID||new T,st=le._origin,zt=le._capacity,Qt=st+ae,Gn=void 0===De?zt:De<0?zt+De:st+De;if(Qt===st&&Gn===zt)return le;if(Qt>=Gn)return le.clear();for(var Er=le._level,Nr=le._root,Mi=0;Qt+Mi<0;)Nr=new Su(Nr&&Nr.array.length?[void 0,Nr]:[],Ve),Mi+=1<<(Er+=a);Mi&&(Qt+=Mi,st+=Mi,Gn+=Mi,zt+=Mi);for(var ao=fi(zt),Jo=fi(Gn);Jo>=1<<Er+a;)Nr=new Su(Nr&&Nr.array.length?[Nr]:[],Ve),Er+=a;var rs=le._tail,ys=Jo<ao?Je(le,Gn-1):Jo>ao?new Su([],Ve):rs;if(rs&&Jo>ao&&Qt<zt&&rs.array.length){for(var Ps=Nr=pt(Nr,Ve),Ul=Er;Ul>a;Ul-=a){var eu=ao>>>Ul&u;Ps=Ps.array[eu]=pt(Ps.array[eu],Ve)}Ps.array[ao>>>a&u]=rs}if(Gn<zt&&(ys=ys&&ys.removeAfter(Ve,0,Gn)),Qt>=Jo)Qt-=Jo,Gn-=Jo,Er=a,Nr=null,ys=ys&&ys.removeBefore(Ve,0,Qt);else if(Qt>st||Jo<ao){for(Mi=0;Nr;){var mu=Qt>>>Er&u;if(mu!==Jo>>>Er&u)break;mu&&(Mi+=(1<<Er)*mu),Er-=a,Nr=Nr.array[mu]}Nr&&Qt>st&&(Nr=Nr.removeBefore(Ve,Er,Qt-Mi)),Nr&&Jo<ao&&(Nr=Nr.removeAfter(Ve,Er,Jo-Mi)),Mi&&(Qt-=Mi,Gn-=Mi)}return le.__ownerID?(le.size=Gn-Qt,le._origin=Qt,le._capacity=Gn,le._level=Er,le._root=Nr,le._tail=ys,le.__hash=void 0,le.__altered=!0,le):Al(Qt,Gn,Er,Nr,ys)}function fi(le){return le<c?0:le-1>>>a<<a}var mi,To=function(le){function ae(De){return null==De?Hs():$i(De)?De:Hs().withMutations(function(Ve){var st=ge(De);Ro(st.size),st.forEach(function(zt,Qt){return Ve.set(Qt,zt)})})}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.of=function(){return this(arguments)},ae.prototype.toString=function(){return this.__toString("OrderedMap {","}")},ae.prototype.get=function(Ve,st){var zt=this._map.get(Ve);return void 0!==zt?this._list.get(zt)[1]:st},ae.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):Hs()},ae.prototype.set=function(Ve,st){return Qs(this,Ve,st)},ae.prototype.remove=function(Ve){return Qs(this,Ve,e)},ae.prototype.__iterate=function(Ve,st){var zt=this;return this._list.__iterate(function(Qt){return Qt&&Ve(Qt[1],Qt[0],zt)},st)},ae.prototype.__iterator=function(Ve,st){return this._list.fromEntrySeq().__iterator(Ve,st)},ae.prototype.__ensureOwner=function(Ve){if(Ve===this.__ownerID)return this;var st=this._map.__ensureOwner(Ve),zt=this._list.__ensureOwner(Ve);return Ve?Ya(st,zt,Ve,this.__hash):0===this.size?Hs():(this.__ownerID=Ve,this.__altered=!1,this._map=st,this._list=zt,this)},ae}(qu);function Ya(le,ae,De,Ve){var st=Object.create(To.prototype);return st.size=le?le.size:0,st._map=le,st._list=ae,st.__ownerID=De,st.__hash=Ve,st.__altered=!1,st}function Hs(){return mi||(mi=Ya(Gs(),zs()))}function Qs(le,ae,De){var Gn,Er,Ve=le._map,st=le._list,zt=Ve.get(ae),Qt=void 0!==zt;if(De===e){if(!Qt)return le;st.size>=c&&st.size>=2*Ve.size?(Gn=(Er=st.filter(function(Nr,Mi){return void 0!==Nr&&zt!==Mi})).toKeyedSeq().map(function(Nr){return Nr[0]}).flip().toMap(),le.__ownerID&&(Gn.__ownerID=Er.__ownerID=le.__ownerID)):(Gn=Ve.remove(ae),Er=zt===st.size-1?st.pop():st.set(zt,void 0))}else if(Qt){if(De===st.get(zt)[1])return le;Gn=Ve,Er=st.set(zt,[ae,De])}else Gn=Ve.set(ae,st.size),Er=st.set(st.size,[ae,De]);return le.__ownerID?(le.size=Gn.size,le._map=Gn,le._list=Er,le.__hash=void 0,le.__altered=!0,le):Ya(Gn,Er)}To.isOrderedMap=$i,To.prototype[Pt]=!0,To.prototype[r]=To.prototype.remove;var Hu="@@__IMMUTABLE_STACK__@@";function zl(le){return Boolean(le&&le[Hu])}var sc=function(le){function ae(De){return null==De?ec():zl(De)?De:ec().pushAll(De)}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.of=function(){return this(arguments)},ae.prototype.toString=function(){return this.__toString("Stack [","]")},ae.prototype.get=function(Ve,st){var zt=this._head;for(Ve=w(this,Ve);zt&&Ve--;)zt=zt.next;return zt?zt.value:st},ae.prototype.peek=function(){return this._head&&this._head.value},ae.prototype.push=function(){var Ve=arguments;if(0===arguments.length)return this;for(var st=this.size+arguments.length,zt=this._head,Qt=arguments.length-1;Qt>=0;Qt--)zt={value:Ve[Qt],next:zt};return this.__ownerID?(this.size=st,this._head=zt,this.__hash=void 0,this.__altered=!0,this):lu(st,zt)},ae.prototype.pushAll=function(Ve){if(0===(Ve=le(Ve)).size)return this;if(0===this.size&&zl(Ve))return Ve;Ro(Ve.size);var st=this.size,zt=this._head;return Ve.__iterate(function(Qt){st++,zt={value:Qt,next:zt}},!0),this.__ownerID?(this.size=st,this._head=zt,this.__hash=void 0,this.__altered=!0,this):lu(st,zt)},ae.prototype.pop=function(){return this.slice(1)},ae.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):ec()},ae.prototype.slice=function(Ve,st){if(U(Ve,st,this.size))return this;var zt=W(Ve,this.size);if($(st,this.size)!==this.size)return le.prototype.slice.call(this,Ve,st);for(var Gn=this.size-zt,Er=this._head;zt--;)Er=Er.next;return this.__ownerID?(this.size=Gn,this._head=Er,this.__hash=void 0,this.__altered=!0,this):lu(Gn,Er)},ae.prototype.__ensureOwner=function(Ve){return Ve===this.__ownerID?this:Ve?lu(this.size,this._head,Ve,this.__hash):0===this.size?ec():(this.__ownerID=Ve,this.__altered=!1,this)},ae.prototype.__iterate=function(Ve,st){var zt=this;if(st)return new hr(this.toArray()).__iterate(function(Er,Nr){return Ve(Er,Nr,zt)},st);for(var Qt=0,Gn=this._head;Gn&&!1!==Ve(Gn.value,Qt++,this);)Gn=Gn.next;return Qt},ae.prototype.__iterator=function(Ve,st){if(st)return new hr(this.toArray()).__iterator(Ve,st);var zt=0,Qt=this._head;return new sn(function(){if(Qt){var Gn=Qt.value;return Qt=Qt.next,fn(Ve,zt++,Gn)}return{value:void 0,done:!0}})},ae}(Et);sc.isStack=zl;var id,hu=sc.prototype;function lu(le,ae,De,Ve){var st=Object.create(hu);return st.size=le,st._head=ae,st.__ownerID=De,st.__hash=Ve,st.__altered=!1,st}function ec(){return id||(id=lu(0))}hu[Hu]=!0,hu.shift=hu.pop,hu.unshift=hu.push,hu.unshiftAll=hu.pushAll,hu.withMutations=Ll,hu.wasAltered=Nc,hu.asImmutable=Yu,hu["@@transducer/init"]=hu.asMutable=vl,hu["@@transducer/step"]=function(le,ae){return le.unshift(ae)},hu["@@transducer/result"]=function(le){return le.asImmutable()};var Fc="@@__IMMUTABLE_SET__@@";function du(le){return Boolean(le&&le[Fc])}function Lc(le){return du(le)&&it(le)}function kl(le,ae){if(le===ae)return!0;if(!de(ae)||void 0!==le.size&&void 0!==ae.size&&le.size!==ae.size||void 0!==le.__hash&&void 0!==ae.__hash&&le.__hash!==ae.__hash||ce(le)!==ce(ae)||fe(le)!==fe(ae)||it(le)!==it(ae))return!1;if(0===le.size&&0===ae.size)return!0;var De=!Te(le);if(it(le)){var Ve=le.entries();return ae.every(function(Er,Nr){var Mi=Ve.next().value;return Mi&&Hi(Mi[1],Er)&&(De||Hi(Mi[0],Nr))})&&Ve.next().done}var st=!1;if(void 0===le.size)if(void 0===ae.size)"function"==typeof le.cacheResult&&le.cacheResult();else{st=!0;var zt=le;le=ae,ae=zt}var Qt=!0,Gn=ae.__iterate(function(Er,Nr){if(De?!le.has(Er):st?!Hi(Er,le.get(Nr,e)):!Hi(le.get(Nr,e),Er))return Qt=!1,!1});return Qt&&le.size===Gn}function sl(le,ae){var De=function(Ve){le.prototype[Ve]=ae[Ve]};return Object.keys(ae).forEach(De),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(ae).forEach(De),le}function ja(le){if(!le||"object"!=typeof le)return le;if(!de(le)){if(!da(le))return le;le=Wt(le)}if(ce(le)){var ae={};return le.__iterate(function(Ve,st){ae[st]=ja(Ve)}),ae}var De=[];return le.__iterate(function(Ve){De.push(ja(Ve))}),De}var Q=function(le){function ae(De){return null==De?An():du(De)&&!it(De)?De:An().withMutations(function(Ve){var st=le(De);Ro(st.size),st.forEach(function(zt){return Ve.add(zt)})})}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.of=function(){return this(arguments)},ae.fromKeys=function(Ve){return this(ge(Ve).keySeq())},ae.intersect=function(Ve){return(Ve=$e(Ve).toArray()).length?Ee.intersect.apply(ae(Ve.pop()),Ve):An()},ae.union=function(Ve){return(Ve=$e(Ve).toArray()).length?Ee.union.apply(ae(Ve.pop()),Ve):An()},ae.prototype.toString=function(){return this.__toString("Set {","}")},ae.prototype.has=function(Ve){return this._map.has(Ve)},ae.prototype.add=function(Ve){return yt(this,this._map.set(Ve,Ve))},ae.prototype.remove=function(Ve){return yt(this,this._map.remove(Ve))},ae.prototype.clear=function(){return yt(this,this._map.clear())},ae.prototype.map=function(Ve,st){var zt=this,Qt=!1,Gn=yt(this,this._map.mapEntries(function(Er){var Nr=Er[1],Mi=Ve.call(st,Nr,Nr,zt);return Mi!==Nr&&(Qt=!0),[Mi,Mi]},st));return Qt?Gn:this},ae.prototype.union=function(){for(var Ve=[],st=arguments.length;st--;)Ve[st]=arguments[st];return 0===(Ve=Ve.filter(function(zt){return 0!==zt.size})).length?this:0!==this.size||this.__ownerID||1!==Ve.length?this.withMutations(function(zt){for(var Qt=0;Qt<Ve.length;Qt++)"string"==typeof Ve[Qt]?zt.add(Ve[Qt]):le(Ve[Qt]).forEach(function(Gn){return zt.add(Gn)})}):this.constructor(Ve[0])},ae.prototype.intersect=function(){for(var Ve=[],st=arguments.length;st--;)Ve[st]=arguments[st];if(0===Ve.length)return this;Ve=Ve.map(function(Qt){return le(Qt)});var zt=[];return this.forEach(function(Qt){Ve.every(function(Gn){return Gn.includes(Qt)})||zt.push(Qt)}),this.withMutations(function(Qt){zt.forEach(function(Gn){Qt.remove(Gn)})})},ae.prototype.subtract=function(){for(var Ve=[],st=arguments.length;st--;)Ve[st]=arguments[st];if(0===Ve.length)return this;Ve=Ve.map(function(Qt){return le(Qt)});var zt=[];return this.forEach(function(Qt){Ve.some(function(Gn){return Gn.includes(Qt)})&&zt.push(Qt)}),this.withMutations(function(Qt){zt.forEach(function(Gn){Qt.remove(Gn)})})},ae.prototype.sort=function(Ve){return yi(bn(this,Ve))},ae.prototype.sortBy=function(Ve,st){return yi(bn(this,st,Ve))},ae.prototype.wasAltered=function(){return this._map.wasAltered()},ae.prototype.__iterate=function(Ve,st){var zt=this;return this._map.__iterate(function(Qt){return Ve(Qt,Qt,zt)},st)},ae.prototype.__iterator=function(Ve,st){return this._map.__iterator(Ve,st)},ae.prototype.__ensureOwner=function(Ve){if(Ve===this.__ownerID)return this;var st=this._map.__ensureOwner(Ve);return Ve?this.__make(st,Ve):0===this.size?this.__empty():(this.__ownerID=Ve,this._map=st,this)},ae}(ot);Q.isSet=du;var Gt,Ee=Q.prototype;function yt(le,ae){return le.__ownerID?(le.size=ae.size,le._map=ae,le):ae===le._map?le:0===ae.size?le.__empty():le.__make(ae)}function Xe(le,ae){var De=Object.create(Ee);return De.size=le?le.size:0,De._map=le,De.__ownerID=ae,De}function An(){return Gt||(Gt=Xe(Gs()))}Ee[Fc]=!0,Ee[r]=Ee.remove,Ee.merge=Ee.concat=Ee.union,Ee.withMutations=Ll,Ee.asImmutable=Yu,Ee["@@transducer/init"]=Ee.asMutable=vl,Ee["@@transducer/step"]=function(le,ae){return le.add(ae)},Ee["@@transducer/result"]=function(le){return le.asImmutable()},Ee.__empty=An,Ee.__make=Xe;var Hr,kn=function(le){function ae(De,Ve,st){if(!(this instanceof ae))return new ae(De,Ve,st);if(la(0!==st,"Cannot step a Range by 0"),De=De||0,void 0===Ve&&(Ve=1/0),st=void 0===st?1:Math.abs(st),Ve<De&&(st=-st),this._start=De,this._end=Ve,this._step=st,this.size=Math.max(0,Math.ceil((Ve-De)/st-1)+1),0===this.size){if(Hr)return Hr;Hr=this}}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},ae.prototype.get=function(Ve,st){return this.has(Ve)?this._start+w(this,Ve)*this._step:st},ae.prototype.includes=function(Ve){var st=(Ve-this._start)/this._step;return st>=0&&st<this.size&&st===Math.floor(st)},ae.prototype.slice=function(Ve,st){return U(Ve,st,this.size)?this:(Ve=W(Ve,this.size),(st=$(st,this.size))<=Ve?new ae(0,0):new ae(this.get(Ve,this._end),this.get(st,this._end),this._step))},ae.prototype.indexOf=function(Ve){var st=Ve-this._start;if(st%this._step==0){var zt=st/this._step;if(zt>=0&&zt<this.size)return zt}return-1},ae.prototype.lastIndexOf=function(Ve){return this.indexOf(Ve)},ae.prototype.__iterate=function(Ve,st){for(var zt=this.size,Qt=this._step,Gn=st?this._start+(zt-1)*Qt:this._start,Er=0;Er!==zt&&!1!==Ve(Gn,st?zt-++Er:Er++,this);)Gn+=st?-Qt:Qt;return Er},ae.prototype.__iterator=function(Ve,st){var zt=this.size,Qt=this._step,Gn=st?this._start+(zt-1)*Qt:this._start,Er=0;return new sn(function(){if(Er===zt)return{value:void 0,done:!0};var Nr=Gn;return Gn+=st?-Qt:Qt,fn(Ve,st?zt-++Er:Er++,Nr)})},ae.prototype.equals=function(Ve){return Ve instanceof ae?this._start===Ve._start&&this._end===Ve._end&&this._step===Ve._step:kl(this,Ve)},ae}(wn);function Xr(le,ae,De){for(var Ve=jl(ae),st=0;st!==Ve.length;)if((le=Ji(le,Ve[st++],e))===e)return De;return le}function yr(le,ae){return Xr(this,le,ae)}function Rr(le,ae){return Xr(le,ae,e)!==e}function Io(){Ro(this.size);var le={};return this.__iterate(function(ae,De){le[De]=ae}),le}$e.isIterable=de,$e.isKeyed=ce,$e.isIndexed=fe,$e.isAssociative=Te,$e.isOrdered=it,$e.Iterator=sn,sl($e,{toArray:function(){Ro(this.size);var ae=new Array(this.size||0),De=ce(this),Ve=0;return this.__iterate(function(st,zt){ae[Ve++]=De?[zt,st]:st}),ae},toIndexedSeq:function(){return new Ti(this)},toJS:function(){return ja(this)},toKeyedSeq:function(){return new wr(this,!0)},toMap:function(){return qu(this.toKeyedSeq())},toObject:Io,toOrderedMap:function(){return To(this.toKeyedSeq())},toOrderedSet:function(){return yi(ce(this)?this.valueSeq():this)},toSet:function(){return Q(ce(this)?this.valueSeq():this)},toSetSeq:function(){return new Ci(this)},toSeq:function(){return fe(this)?this.toIndexedSeq():ce(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return sc(ce(this)?this.valueSeq():this)},toList:function(){return ba(ce(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(ae,De){return 0===this.size?ae+De:ae+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+De},concat:function(){for(var ae=[],De=arguments.length;De--;)ae[De]=arguments[De];return go(this,function ko(le,ae){var De=ce(le),Ve=[le].concat(ae).map(function(Qt){return de(Qt)?De&&(Qt=ge(Qt)):Qt=De?Ei(Qt):ii(Array.isArray(Qt)?Qt:[Qt]),Qt}).filter(function(Qt){return 0!==Qt.size});if(0===Ve.length)return le;if(1===Ve.length){var st=Ve[0];if(st===le||De&&ce(st)||fe(le)&&fe(st))return st}var zt=new hr(Ve);return De?zt=zt.toKeyedSeq():fe(le)||(zt=zt.toSetSeq()),(zt=zt.flatten(!0)).size=Ve.reduce(function(Qt,Gn){if(void 0!==Qt){var Er=Gn.size;if(void 0!==Er)return Qt+Er}},0),zt}(this,ae))},includes:function(ae){return this.some(function(De){return Hi(De,ae)})},entries:function(){return this.__iterator(pn)},every:function(ae,De){Ro(this.size);var Ve=!0;return this.__iterate(function(st,zt,Qt){if(!ae.call(De,st,zt,Qt))return Ve=!1,!1}),Ve},filter:function(ae,De){return go(this,Ni(this,ae,De,!0))},partition:function(ae,De){return function wi(le,ae,De){var Ve=ce(le),st=[[],[]];le.__iterate(function(Qt,Gn){st[ae.call(De,Qt,Gn,le)?1:0].push(Ve?[Gn,Qt]:Qt)});var zt=ts(le);return st.map(function(Qt){return go(le,zt(Qt))})}(this,ae,De)},find:function(ae,De,Ve){var st=this.findEntry(ae,De);return st?st[1]:Ve},forEach:function(ae,De){return Ro(this.size),this.__iterate(De?ae.bind(De):ae)},join:function(ae){Ro(this.size),ae=void 0!==ae?""+ae:",";var De="",Ve=!0;return this.__iterate(function(st){Ve?Ve=!1:De+=ae,De+=null!=st?st.toString():""}),De},keys:function(){return this.__iterator(Xt)},map:function(ae,De){return go(this,_s(this,ae,De))},reduce:function(ae,De,Ve){return Do(this,ae,De,Ve,arguments.length<2,!1)},reduceRight:function(ae,De,Ve){return Do(this,ae,De,Ve,arguments.length<2,!0)},reverse:function(){return go(this,dr(this,!0))},slice:function(ae,De){return go(this,ji(this,ae,De,!0))},some:function(ae,De){Ro(this.size);var Ve=!1;return this.__iterate(function(st,zt,Qt){if(ae.call(De,st,zt,Qt))return Ve=!0,!1}),Ve},sort:function(ae){return go(this,bn(this,ae))},values:function(){return this.__iterator(cn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(ae,De){return M(ae?this.toSeq().filter(ae,De):this)},countBy:function(ae,De){return function ti(le,ae,De){var Ve=qu().asMutable();return le.__iterate(function(st,zt){Ve.update(ae.call(De,st,zt,le),0,function(Qt){return Qt+1})}),Ve.asImmutable()}(this,ae,De)},equals:function(ae){return kl(this,ae)},entrySeq:function(){var ae=this;if(ae._cache)return new hr(ae._cache);var De=ae.toSeq().map(ca).toIndexedSeq();return De.fromEntrySeq=function(){return ae.toSeq()},De},filterNot:function(ae,De){return this.filter(zo(ae),De)},findEntry:function(ae,De,Ve){var st=Ve;return this.__iterate(function(zt,Qt,Gn){if(ae.call(De,zt,Qt,Gn))return st=[Qt,zt],!1}),st},findKey:function(ae,De){var Ve=this.findEntry(ae,De);return Ve&&Ve[0]},findLast:function(ae,De,Ve){return this.toKeyedSeq().reverse().find(ae,De,Ve)},findLastEntry:function(ae,De,Ve){return this.toKeyedSeq().reverse().findEntry(ae,De,Ve)},findLastKey:function(ae,De){return this.toKeyedSeq().reverse().findKey(ae,De)},first:function(ae){return this.find(D,null,ae)},flatMap:function(ae,De){return go(this,function ro(le,ae,De){var Ve=ts(le);return le.toSeq().map(function(st,zt){return Ve(ae.call(De,st,zt,le))}).flatten(!0)}(this,ae,De))},flatten:function(ae){return go(this,Ir(this,ae,!0))},fromEntrySeq:function(){return new Ai(this)},get:function(ae,De){return this.find(function(Ve,st){return Hi(st,ae)},void 0,De)},getIn:yr,groupBy:function(ae,De){return function Vr(le,ae,De){var Ve=ce(le),st=(it(le)?To():qu()).asMutable();le.__iterate(function(Qt,Gn){st.update(ae.call(De,Qt,Gn,le),function(Er){return(Er=Er||[]).push(Ve?[Gn,Qt]:Qt),Er})});var zt=ts(le);return st.map(function(Qt){return go(le,zt(Qt))}).asImmutable()}(this,ae,De)},has:function(ae){return this.get(ae,e)!==e},hasIn:function Go(le){return Rr(this,le)},isSubset:function(ae){return ae="function"==typeof ae.includes?ae:$e(ae),this.every(function(De){return ae.includes(De)})},isSuperset:function(ae){return(ae="function"==typeof ae.isSubset?ae:$e(ae)).isSubset(this)},keyOf:function(ae){return this.findKey(function(De){return Hi(De,ae)})},keySeq:function(){return this.toSeq().map(Fa).toIndexedSeq()},last:function(ae){return this.toSeq().reverse().first(ae)},lastKeyOf:function(ae){return this.toKeyedSeq().reverse().keyOf(ae)},max:function(ae){return Bn(this,ae)},maxBy:function(ae,De){return Bn(this,De,ae)},min:function(ae){return Bn(this,ae?$l(ae):Uu)},minBy:function(ae,De){return Bn(this,De?$l(De):Uu,ae)},rest:function(){return this.slice(1)},skip:function(ae){return 0===ae?this:this.slice(Math.max(0,ae))},skipLast:function(ae){return 0===ae?this:this.slice(0,-Math.max(0,ae))},skipWhile:function(ae,De){return go(this,Po(this,ae,De,!0))},skipUntil:function(ae,De){return this.skipWhile(zo(ae),De)},sortBy:function(ae,De){return go(this,bn(this,De,ae))},take:function(ae){return this.slice(0,Math.max(0,ae))},takeLast:function(ae){return this.slice(-Math.max(0,ae))},takeWhile:function(ae,De){return go(this,function Vi(le,ae,De){var Ve=jo(le);return Ve.__iterateUncached=function(st,zt){var Qt=this;if(zt)return this.cacheResult().__iterate(st,zt);var Gn=0;return le.__iterate(function(Er,Nr,Mi){return ae.call(De,Er,Nr,Mi)&&++Gn&&st(Er,Nr,Qt)}),Gn},Ve.__iteratorUncached=function(st,zt){var Qt=this;if(zt)return this.cacheResult().__iterator(st,zt);var Gn=le.__iterator(pn,zt),Er=!0;return new sn(function(){if(!Er)return{value:void 0,done:!0};var Nr=Gn.next();if(Nr.done)return Nr;var Mi=Nr.value,ao=Mi[0],Jo=Mi[1];return ae.call(De,Jo,ao,Qt)?st===pn?Nr:fn(st,ao,Jo,Nr):(Er=!1,{value:void 0,done:!0})})},Ve}(this,ae,De))},takeUntil:function(ae,De){return this.takeWhile(zo(ae),De)},update:function(ae){return ae(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function Xc(le){if(le.size===1/0)return 0;var ae=it(le),De=ce(le),Ve=ae?1:0;return function ad(le,ae){return ae=Dn(ae,3432918353),ae=Dn(ae<<15|ae>>>-15,461845907),ae=Dn(ae<<13|ae>>>-13,5),ae=Dn((ae=(ae+3864292196|0)^le)^ae>>>16,2246822507),ae=Hn((ae=Dn(ae^ae>>>13,3266489909))^ae>>>16)}(le.__iterate(De?ae?function(zt,Qt){Ve=31*Ve+kc(Fe(zt),Fe(Qt))|0}:function(zt,Qt){Ve=Ve+kc(Fe(zt),Fe(Qt))|0}:ae?function(zt){Ve=31*Ve+Fe(zt)|0}:function(zt){Ve=Ve+Fe(zt)|0}),Ve)}(this))}});var Qn=$e.prototype;Qn[X]=!0,Qn[qt]=Qn.values,Qn.toJSON=Qn.toArray,Qn.__toStringMapper=$a,Qn.inspect=Qn.toSource=function(){return this.toString()},Qn.chain=Qn.flatMap,Qn.contains=Qn.includes,sl(ge,{flip:function(){return go(this,Ko(this))},mapEntries:function(ae,De){var Ve=this,st=0;return go(this,this.toSeq().map(function(zt,Qt){return ae.call(De,[Qt,zt],st++,Ve)}).fromEntrySeq())},mapKeys:function(ae,De){var Ve=this;return go(this,this.toSeq().flip().map(function(st,zt){return ae.call(De,st,zt,Ve)}).flip())}});var Gr=ge.prototype;Gr[V]=!0,Gr[qt]=Qn.entries,Gr.toJSON=Io,Gr.__toStringMapper=function(le,ae){return $a(ae)+": "+$a(le)},sl(Et,{toKeyedSeq:function(){return new wr(this,!1)},filter:function(ae,De){return go(this,Ni(this,ae,De,!1))},findIndex:function(ae,De){var Ve=this.findEntry(ae,De);return Ve?Ve[0]:-1},indexOf:function(ae){var De=this.keyOf(ae);return void 0===De?-1:De},lastIndexOf:function(ae){var De=this.lastKeyOf(ae);return void 0===De?-1:De},reverse:function(){return go(this,dr(this,!1))},slice:function(ae,De){return go(this,ji(this,ae,De,!1))},splice:function(ae,De){var Ve=arguments.length;if(De=Math.max(De||0,0),0===Ve||2===Ve&&!De)return this;ae=W(ae,ae<0?this.count():this.size);var st=this.slice(0,ae);return go(this,1===Ve?st:st.concat(Is(arguments,2),this.slice(ae+De)))},findLastIndex:function(ae,De){var Ve=this.findLastEntry(ae,De);return Ve?Ve[0]:-1},first:function(ae){return this.get(0,ae)},flatten:function(ae){return go(this,Ir(this,ae,!1))},get:function(ae,De){return(ae=w(this,ae))<0||this.size===1/0||void 0!==this.size&&ae>this.size?De:this.find(function(Ve,st){return st===ae},void 0,De)},has:function(ae){return(ae=w(this,ae))>=0&&(void 0!==this.size?this.size===1/0||ae<this.size:-1!==this.indexOf(ae))},interpose:function(ae){return go(this,function Vt(le,ae){var De=jo(le);return De.size=le.size&&2*le.size-1,De.__iterateUncached=function(Ve,st){var zt=this,Qt=0;return le.__iterate(function(Gn){return(!Qt||!1!==Ve(ae,Qt++,zt))&&!1!==Ve(Gn,Qt++,zt)},st),Qt},De.__iteratorUncached=function(Ve,st){var Gn,zt=le.__iterator(cn,st),Qt=0;return new sn(function(){return(!Gn||Qt%2)&&(Gn=zt.next()).done?Gn:Qt%2?fn(Ve,Qt++,ae):fn(Ve,Qt++,Gn.value,Gn)})},De}(this,ae))},interleave:function(){var ae=[this].concat(Is(arguments)),De=_o(this.toSeq(),wn.of,ae),Ve=De.flatten(!0);return De.size&&(Ve.size=De.size*ae.length),go(this,Ve)},keySeq:function(){return kn(0,this.size)},last:function(ae){return this.get(-1,ae)},skipWhile:function(ae,De){return go(this,Po(this,ae,De,!1))},zip:function(){return go(this,_o(this,xl,[this].concat(Is(arguments))))},zipAll:function(){return go(this,_o(this,xl,[this].concat(Is(arguments)),!0))},zipWith:function(ae){var De=Is(arguments);return De[0]=this,go(this,_o(this,ae,De))}});var Fr=Et.prototype;Fr[se]=!0,Fr[Pt]=!0,sl(ot,{get:function(ae,De){return this.has(ae)?ae:De},includes:function(ae){return this.has(ae)},keySeq:function(){return this.valueSeq()}});var Ui=ot.prototype;function Do(le,ae,De,Ve,st,zt){return Ro(le.size),le.__iterate(function(Qt,Gn,Er){st?(st=!1,De=Qt):De=ae.call(Ve,De,Qt,Gn,Er)},zt),De}function Fa(le,ae){return ae}function ca(le,ae){return[ae,le]}function zo(le){return function(){return!le.apply(this,arguments)}}function $l(le){return function(){return-le.apply(this,arguments)}}function xl(){return Is(arguments)}function Uu(le,ae){return le<ae?1:le>ae?-1:0}function kc(le,ae){return le^ae+2654435769+(le<<6)+(le>>2)|0}Ui.has=Qn.includes,Ui.contains=Ui.includes,Ui.keys=Ui.values,sl(Tt,Gr),sl(wn,Fr),sl(jn,Ui);var yi=function(le){function ae(De){return null==De?bu():Lc(De)?De:bu().withMutations(function(Ve){var st=ot(De);Ro(st.size),st.forEach(function(zt){return Ve.add(zt)})})}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.of=function(){return this(arguments)},ae.fromKeys=function(Ve){return this(ge(Ve).keySeq())},ae.prototype.toString=function(){return this.__toString("OrderedSet {","}")},ae}(Q);yi.isOrderedSet=Lc;var fc,Wl=yi.prototype;function Pa(le,ae){var De=Object.create(Wl);return De.size=le?le.size:0,De._map=le,De.__ownerID=ae,De}function bu(){return fc||(fc=Pa(Hs()))}Wl[Pt]=!0,Wl.zip=Fr.zip,Wl.zipWith=Fr.zipWith,Wl.zipAll=Fr.zipAll,Wl.__empty=bu,Wl.__make=Pa;var je={LeftThenRight:-1,RightThenLeft:1},tt=function(ae,De){var Ve;!function Nt(le){if(We(le))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(Le(le))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===le||"object"!=typeof le)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(ae);var st=function(Gn){var Er=this;if(Gn instanceof st)return Gn;if(!(this instanceof st))return new st(Gn);if(!Ve){Ve=!0;var Nr=Object.keys(ae),Mi=zt._indices={};zt._name=De,zt._keys=Nr,zt._defaultValues=ae;for(var ao=0;ao<Nr.length;ao++){var Jo=Nr[ao];Mi[Jo]=ao,zt[Jo]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+bi(this)+' with property "'+Jo+'" since that property name is part of the Record API.'):fs(zt,Jo)}}return this.__ownerID=void 0,this._values=ba().withMutations(function(rs){rs.setSize(Er._keys.length),ge(Gn).forEach(function(ys,Ps){rs.set(Er._indices[Ps],ys===Er._defaultValues[Ps]?void 0:ys)})}),this},zt=st.prototype=Object.create(tn);return zt.constructor=st,De&&(st.displayName=De),st};tt.prototype.toString=function(){for(var Ve,ae=bi(this)+" { ",De=this._keys,st=0,zt=De.length;st!==zt;st++)ae+=(st?", ":"")+(Ve=De[st])+": "+$a(this.get(Ve));return ae+" }"},tt.prototype.equals=function(ae){return this===ae||We(ae)&&Ri(this).equals(Ri(ae))},tt.prototype.hashCode=function(){return Ri(this).hashCode()},tt.prototype.has=function(ae){return this._indices.hasOwnProperty(ae)},tt.prototype.get=function(ae,De){if(!this.has(ae))return De;var st=this._values.get(this._indices[ae]);return void 0===st?this._defaultValues[ae]:st},tt.prototype.set=function(ae,De){if(this.has(ae)){var Ve=this._values.set(this._indices[ae],De===this._defaultValues[ae]?void 0:De);if(Ve!==this._values&&!this.__ownerID)return Xn(this,Ve)}return this},tt.prototype.remove=function(ae){return this.set(ae)},tt.prototype.clear=function(){var ae=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:Xn(this,ae)},tt.prototype.wasAltered=function(){return this._values.wasAltered()},tt.prototype.toSeq=function(){return Ri(this)},tt.prototype.toJS=function(){return ja(this)},tt.prototype.entries=function(){return this.__iterator(pn)},tt.prototype.__iterator=function(ae,De){return Ri(this).__iterator(ae,De)},tt.prototype.__iterate=function(ae,De){return Ri(this).__iterate(ae,De)},tt.prototype.__ensureOwner=function(ae){if(ae===this.__ownerID)return this;var De=this._values.__ensureOwner(ae);return ae?Xn(this,De,ae):(this.__ownerID=ae,this._values=De,this)},tt.isRecord=We,tt.getDescriptiveName=bi;var tn=tt.prototype;function Xn(le,ae,De){var Ve=Object.create(Object.getPrototypeOf(le));return Ve._values=ae,Ve.__ownerID=De,Ve}function bi(le){return le.constructor.displayName||le.constructor.name||"Record"}function Ri(le){return Ei(le._keys.map(function(ae){return[ae,le.get(ae)]}))}function fs(le,ae){try{Object.defineProperty(le,ae,{get:function(){return this.get(ae)},set:function(De){la(this.__ownerID,"Cannot set on an immutable record."),this.set(ae,De)}})}catch{}}tn[He]=!0,tn[r]=tn.remove,tn.deleteIn=tn.removeIn=No,tn.getIn=yr,tn.hasIn=Qn.hasIn,tn.merge=zr,tn.mergeWith=io,tn.mergeIn=qs,tn.mergeDeep=ws,tn.mergeDeepWith=ds,tn.mergeDeepIn=Js,tn.setIn=fa,tn.update=ns,tn.updateIn=Fo,tn.withMutations=Ll,tn.asMutable=vl,tn.asImmutable=Yu,tn[qt]=tn.entries,tn.toJSON=tn.toObject=Qn.toObject,tn.inspect=tn.toSource=function(){return this.toString()};var Ra,Fs=function(le){function ae(De,Ve){if(!(this instanceof ae))return new ae(De,Ve);if(this._value=De,this.size=void 0===Ve?1/0:Math.max(0,Ve),0===this.size){if(Ra)return Ra;Ra=this}}return le&&(ae.__proto__=le),(ae.prototype=Object.create(le&&le.prototype)).constructor=ae,ae.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ae.prototype.get=function(Ve,st){return this.has(Ve)?this._value:st},ae.prototype.includes=function(Ve){return Hi(this._value,Ve)},ae.prototype.slice=function(Ve,st){var zt=this.size;return U(Ve,st,zt)?this:new ae(this._value,$(st,zt)-W(Ve,zt))},ae.prototype.reverse=function(){return this},ae.prototype.indexOf=function(Ve){return Hi(this._value,Ve)?0:-1},ae.prototype.lastIndexOf=function(Ve){return Hi(this._value,Ve)?this.size:-1},ae.prototype.__iterate=function(Ve,st){for(var zt=this.size,Qt=0;Qt!==zt&&!1!==Ve(this._value,st?zt-++Qt:Qt++,this););return Qt},ae.prototype.__iterator=function(Ve,st){var zt=this,Qt=this.size,Gn=0;return new sn(function(){return Gn===Qt?{value:void 0,done:!0}:fn(Ve,st?Qt-++Gn:Gn++,zt._value)})},ae.prototype.equals=function(Ve){return Ve instanceof ae?Hi(this._value,Ve._value):kl(Ve)},ae}(wn);function Vs(le,ae){return Ms([],ae||wl,le,"",ae&&ae.length>2?[]:void 0,{"":le})}function Ms(le,ae,De,Ve,st,zt){if("string"!=typeof De&&!Le(De)&&(ht(De)||Kr(De)||qa(De))){if(~le.indexOf(De))throw new TypeError("Cannot convert circular structure to Immutable");le.push(De),st&&""!==Ve&&st.push(Ve);var Qt=ae.call(zt,Ve,Wt(De).map(function(Gn,Er){return Ms(le,ae,Gn,Er,st,De)}),st&&st.slice());return le.pop(),st&&st.pop(),Qt}return De}function wl(le,ae){return fe(ae)?ae.toList():ce(ae)?ae.toMap():ae.toSet()}var Ho="4.3.4",rn=$e;const Jl={version:Ho,Collection:$e,Iterable:$e,Seq:Wt,Map:qu,OrderedMap:To,List:ba,Stack:sc,Set:Q,OrderedSet:yi,PairSorting:je,Record:tt,Range:kn,Repeat:Fs,is:Hi,fromJS:Vs,hash:Fe,isImmutable:Le,isCollection:de,isKeyed:ce,isIndexed:fe,isAssociative:Te,isOrdered:it,isValueObject:qr,isPlainObject:qa,isSeq:qe,isList:xu,isMap:po,isOrderedMap:$i,isStack:zl,isSet:du,isOrderedSet:Lc,isRecord:We,get:Ji,getIn:Xr,has:Rl,hasIn:Rr,merge:Tn,mergeDeep:Ze,mergeWith:ie,mergeDeepWith:Jt,remove:Ts,removeIn:Xo,set:hs,setIn:Ja,update:Cs,updateIn:$s}},74299:E=>{E.exports=function(C,s,r,a){var u=new Blob(typeof a<"u"?[a,C]:[C],{type:r||"application/octet-stream"});if(typeof window.navigator.msSaveBlob<"u")window.navigator.msSaveBlob(u,s);else{var e=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(u):window.webkitURL.createObjectURL(u),f=document.createElement("a");f.style.display="none",f.href=e,f.setAttribute("download",s),typeof f.download>"u"&&f.setAttribute("target","_blank"),document.body.appendChild(f),f.click(),setTimeout(function(){document.body.removeChild(f),window.URL.revokeObjectURL(e)},200)}}},86906:E=>{var s=NaN,r="[object Symbol]",a=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,e=/^0o[0-7]+$/i,f=parseInt,m="object"==typeof global&&global&&global.Object===Object&&global,T="object"==typeof self&&self&&self.Object===Object&&self,M=m||T||Function("return this")(),D=Object.prototype.toString,U=Math.max,W=Math.min,$=function(){return M.Date.now()};function F(ce){var se=typeof ce;return!!ce&&("object"==se||"function"==se)}function V(ce){if("number"==typeof ce)return ce;if(function de(ce){return"symbol"==typeof ce||function X(ce){return!!ce&&"object"==typeof ce}(ce)&&D.call(ce)==r}(ce))return s;if(F(ce)){var se="function"==typeof ce.valueOf?ce.valueOf():ce;ce=F(se)?se+"":se}if("string"!=typeof ce)return 0===ce?ce:+ce;ce=ce.replace(a,"");var fe=u.test(ce);return fe||e.test(ce)?f(ce.slice(2),fe?2:8):c.test(ce)?s:+ce}E.exports=function J(ce,se,fe){var Te,$e,ge,Et,ot,ct,qe=0,He=!1,We=!1,Le=!0;if("function"!=typeof ce)throw new TypeError("Expected a function");function Pt(fn){var xn=Te,Kr=$e;return Te=$e=void 0,qe=fn,Et=ce.apply(Kr,xn)}function cn(fn){var xn=fn-ct;return void 0===ct||xn>=se||xn<0||We&&fn-qe>=ge}function pn(){var fn=$();if(cn(fn))return Rn(fn);ot=setTimeout(pn,function Xt(fn){var Or=se-(fn-ct);return We?W(Or,ge-(fn-qe)):Or}(fn))}function Rn(fn){return ot=void 0,Le&&Te?Pt(fn):(Te=$e=void 0,Et)}function sn(){var fn=$(),xn=cn(fn);if(Te=arguments,$e=this,ct=fn,xn){if(void 0===ot)return function it(fn){return qe=fn,ot=setTimeout(pn,se),He?Pt(fn):Et}(ct);if(We)return ot=setTimeout(pn,se),Pt(ct)}return void 0===ot&&(ot=setTimeout(pn,se)),Et}return se=V(se)||0,F(fe)&&(He=!!fe.leading,ge=(We="maxWait"in fe)?U(V(fe.maxWait)||0,se):ge,Le="trailing"in fe?!!fe.trailing:Le),sn.cancel=function At(){void 0!==ot&&clearTimeout(ot),qe=0,Te=ct=$e=ot=void 0},sn.flush=function qt(){return void 0===ot?Et:Rn($())},sn}},6123:E=>{var C="Expected a function",s=NaN,r="[object Symbol]",a=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,e=/^0o[0-7]+$/i,f=parseInt,m="object"==typeof global&&global&&global.Object===Object&&global,T="object"==typeof self&&self&&self.Object===Object&&self,M=m||T||Function("return this")(),D=Object.prototype.toString,U=Math.max,W=Math.min,$=function(){return M.Date.now()};function X(se){var fe=typeof se;return!!se&&("object"==fe||"function"==fe)}function ce(se){if("number"==typeof se)return se;if(function V(se){return"symbol"==typeof se||function de(se){return!!se&&"object"==typeof se}(se)&&D.call(se)==r}(se))return s;if(X(se)){var fe="function"==typeof se.valueOf?se.valueOf():se;se=X(fe)?fe+"":fe}if("string"!=typeof se)return 0===se?se:+se;se=se.replace(a,"");var Te=u.test(se);return Te||e.test(se)?f(se.slice(2),Te?2:8):c.test(se)?s:+se}E.exports=function F(se,fe,Te){var $e=!0,ge=!0;if("function"!=typeof se)throw new TypeError(C);return X(Te)&&($e="leading"in Te?!!Te.leading:$e,ge="trailing"in Te?!!Te.trailing:ge),function J(se,fe,Te){var $e,ge,Et,ot,ct,qe,He=0,We=!1,Le=!1,Pt=!0;if("function"!=typeof se)throw new TypeError(C);function it(xn){var Kr=$e,Or=ge;return $e=ge=void 0,He=xn,ot=se.apply(Or,Kr)}function pn(xn){var Kr=xn-qe;return void 0===qe||Kr>=fe||Kr<0||Le&&xn-He>=Et}function Rn(){var xn=$();if(pn(xn))return At(xn);ct=setTimeout(Rn,function cn(xn){var Lr=fe-(xn-qe);return Le?W(Lr,Et-(xn-He)):Lr}(xn))}function At(xn){return ct=void 0,Pt&&$e?it(xn):($e=ge=void 0,ot)}function fn(){var xn=$(),Kr=pn(xn);if($e=arguments,ge=this,qe=xn,Kr){if(void 0===ct)return function Xt(xn){return He=xn,ct=setTimeout(Rn,fe),We?it(xn):ot}(qe);if(Le)return ct=setTimeout(Rn,fe),it(qe)}return void 0===ct&&(ct=setTimeout(Rn,fe)),ot}return fe=ce(fe)||0,X(Te)&&(We=!!Te.leading,Et=(Le="maxWait"in Te)?U(ce(Te.maxWait)||0,fe):Et,Pt="trailing"in Te?!!Te.trailing:Pt),fn.cancel=function qt(){void 0!==ct&&clearTimeout(ct),He=0,$e=qe=ge=ct=void 0},fn.flush=function sn(){return void 0===ct?ot:At($())},fn}(se,fe,{leading:$e,maxWait:fe,trailing:ge})}},81235:(E,C,s)=>{var c=s(4153)(s(27038),"DataView");E.exports=c},41505:(E,C,s)=>{var r=s(59410),a=s(21143),c=s(604),u=s(80584),e=s(7792);function f(m){var T=-1,M=null==m?0:m.length;for(this.clear();++T<M;){var w=m[T];this.set(w[0],w[1])}}f.prototype.clear=r,f.prototype.delete=a,f.prototype.get=c,f.prototype.has=u,f.prototype.set=e,E.exports=f},73545:(E,C,s)=>{var r=s(63391),a=s(68971),c=s(18858),u=s(13913),e=s(68944);function f(m){var T=-1,M=null==m?0:m.length;for(this.clear();++T<M;){var w=m[T];this.set(w[0],w[1])}}f.prototype.clear=r,f.prototype.delete=a,f.prototype.get=c,f.prototype.has=u,f.prototype.set=e,E.exports=f},39046:(E,C,s)=>{var c=s(4153)(s(27038),"Map");E.exports=c},93177:(E,C,s)=>{var r=s(70536),a=s(61502),c=s(94960),u=s(61539),e=s(34138);function f(m){var T=-1,M=null==m?0:m.length;for(this.clear();++T<M;){var w=m[T];this.set(w[0],w[1])}}f.prototype.clear=r,f.prototype.delete=a,f.prototype.get=c,f.prototype.has=u,f.prototype.set=e,E.exports=f},97129:(E,C,s)=>{var c=s(4153)(s(27038),"Promise");E.exports=c},74918:(E,C,s)=>{var c=s(4153)(s(27038),"Set");E.exports=c},48690:(E,C,s)=>{var r=s(93177),a=s(30365),c=s(58235);function u(e){var f=-1,m=null==e?0:e.length;for(this.__data__=new r;++f<m;)this.add(e[f])}u.prototype.add=u.prototype.push=a,u.prototype.has=c,E.exports=u},33667:(E,C,s)=>{var r=s(73545),a=s(18034),c=s(37238),u=s(75887),e=s(81450),f=s(61386);function m(T){var M=this.__data__=new r(T);this.size=M.size}m.prototype.clear=a,m.prototype.delete=c,m.prototype.get=u,m.prototype.has=e,m.prototype.set=f,E.exports=m},57333:(E,C,s)=>{var r=s(27038);E.exports=r.Symbol},96820:(E,C,s)=>{var r=s(27038);E.exports=r.Uint8Array},54203:(E,C,s)=>{var c=s(4153)(s(27038),"WeakMap");E.exports=c},81638:E=>{E.exports=function C(s,r,a){switch(a.length){case 0:return s.call(r);case 1:return s.call(r,a[0]);case 2:return s.call(r,a[0],a[1]);case 3:return s.call(r,a[0],a[1],a[2])}return s.apply(r,a)}},4500:E=>{E.exports=function C(s,r){for(var a=-1,c=null==s?0:s.length;++a<c&&!1!==r(s[a],a,s););return s}},11375:E=>{E.exports=function C(s,r){for(var a=-1,c=null==s?0:s.length,u=0,e=[];++a<c;){var f=s[a];r(f,a,s)&&(e[u++]=f)}return e}},71890:(E,C,s)=>{var r=s(48282),a=s(2952),c=s(81690),u=s(84444),e=s(20968),f=s(47679),T=Object.prototype.hasOwnProperty;E.exports=function M(w,D){var U=c(w),W=!U&&a(w),$=!U&&!W&&u(w),J=!U&&!W&&!$&&f(w),F=U||W||$||J,X=F?r(w.length,String):[],de=X.length;for(var V in w)(D||T.call(w,V))&&(!F||!("length"==V||$&&("offset"==V||"parent"==V)||J&&("buffer"==V||"byteLength"==V||"byteOffset"==V)||e(V,de)))&&X.push(V);return X}},14992:E=>{E.exports=function C(s,r){for(var a=-1,c=null==s?0:s.length,u=Array(c);++a<c;)u[a]=r(s[a],a,s);return u}},94165:E=>{E.exports=function C(s,r){for(var a=-1,c=r.length,u=s.length;++a<c;)s[u+a]=r[a];return s}},89731:E=>{E.exports=function C(s,r,a,c){var u=-1,e=null==s?0:s.length;for(c&&e&&(a=s[++u]);++u<e;)a=r(a,s[u],u,s);return a}},8141:E=>{E.exports=function C(s,r){for(var a=-1,c=null==s?0:s.length;++a<c;)if(r(s[a],a,s))return!0;return!1}},87280:E=>{E.exports=function C(s){return s.split("")}},54561:E=>{var C=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;E.exports=function s(r){return r.match(C)||[]}},63530:(E,C,s)=>{var r=s(92007),a=s(71166);E.exports=function c(u,e,f){(void 0!==f&&!a(u[e],f)||void 0===f&&!(e in u))&&r(u,e,f)}},23898:(E,C,s)=>{var r=s(92007),a=s(71166),u=Object.prototype.hasOwnProperty;E.exports=function e(f,m,T){var M=f[m];(!u.call(f,m)||!a(M,T)||void 0===T&&!(m in f))&&r(f,m,T)}},15758:(E,C,s)=>{var r=s(71166);E.exports=function a(c,u){for(var e=c.length;e--;)if(r(c[e][0],u))return e;return-1}},22067:(E,C,s)=>{var r=s(11694),a=s(59108);E.exports=function c(u,e){return u&&r(e,a(e),u)}},57836:(E,C,s)=>{var r=s(11694),a=s(42970);E.exports=function c(u,e){return u&&r(e,a(e),u)}},92007:(E,C,s)=>{var r=s(20395);E.exports=function a(c,u,e){"__proto__"==u&&r?r(c,u,{configurable:!0,enumerable:!0,value:e,writable:!0}):c[u]=e}},77007:(E,C,s)=>{var r=s(33667),a=s(4500),c=s(23898),u=s(22067),e=s(57836),f=s(50694),m=s(53595),T=s(14746),M=s(78857),w=s(58605),D=s(51675),U=s(26663),W=s(62963),$=s(32143),J=s(31563),F=s(81690),X=s(84444),de=s(32e3),V=s(53867),ce=s(48855),se=s(59108),fe=s(42970),Et="[object Arguments]",We="[object Function]",Xt="[object Object]",Wt={};Wt[Et]=Wt["[object Array]"]=Wt["[object ArrayBuffer]"]=Wt["[object DataView]"]=Wt["[object Boolean]"]=Wt["[object Date]"]=Wt["[object Float32Array]"]=Wt["[object Float64Array]"]=Wt["[object Int8Array]"]=Wt["[object Int16Array]"]=Wt["[object Int32Array]"]=Wt["[object Map]"]=Wt["[object Number]"]=Wt[Xt]=Wt["[object RegExp]"]=Wt["[object Set]"]=Wt["[object String]"]=Wt["[object Symbol]"]=Wt["[object Uint8Array]"]=Wt["[object Uint8ClampedArray]"]=Wt["[object Uint16Array]"]=Wt["[object Uint32Array]"]=!0,Wt["[object Error]"]=Wt[We]=Wt["[object WeakMap]"]=!1,E.exports=function Tt(wn,jn,hr,Oi,Wi,so){var kr,Ei=1&jn,ii=2&jn,mr=4&jn;if(hr&&(kr=Wi?hr(wn,Oi,Wi,so):hr(wn)),void 0!==kr)return kr;if(!V(wn))return wn;var pr=F(wn);if(pr){if(kr=W(wn),!Ei)return m(wn,kr)}else{var Eo=U(wn),po=Eo==We||"[object GeneratorFunction]"==Eo;if(X(wn))return f(wn,Ei);if(Eo==Xt||Eo==Et||po&&!Wi){if(kr=ii||po?{}:J(wn),!Ei)return ii?M(wn,e(kr,wn)):T(wn,u(kr,wn))}else{if(!Wt[Eo])return Wi?wn:{};kr=$(wn,Eo,Ei)}}so||(so=new r);var $i=so.get(wn);if($i)return $i;so.set(wn,kr),ce(wn)?wn.forEach(function(Dn){kr.add(Tt(Dn,jn,hr,Dn,wn,so))}):de(wn)&&wn.forEach(function(Dn,Hn){kr.set(Hn,Tt(Dn,jn,hr,Hn,wn,so))});var Hi=pr?void 0:(mr?ii?D:w:ii?fe:se)(wn);return a(Hi||wn,function(Dn,Hn){Hi&&(Dn=wn[Hn=Dn]),c(kr,Hn,Tt(Dn,jn,hr,Hn,wn,so))}),kr}},60920:(E,C,s)=>{var r=s(53867),a=Object.create,c=function(){function u(){}return function(e){if(!r(e))return{};if(a)return a(e);u.prototype=e;var f=new u;return u.prototype=void 0,f}}();E.exports=c},59026:(E,C,s)=>{var r=s(18022),c=s(99889)(r);E.exports=c},12229:E=>{E.exports=function C(s,r,a,c){for(var u=s.length,e=a+(c?1:-1);c?e--:++e<u;)if(r(s[e],e,s))return e;return-1}},56369:(E,C,s)=>{var r=s(94165),a=s(21006);E.exports=function c(u,e,f,m,T){var M=-1,w=u.length;for(f||(f=a),T||(T=[]);++M<w;){var D=u[M];e>0&&f(D)?e>1?c(D,e-1,f,m,T):r(T,D):m||(T[T.length]=D)}return T}},75290:(E,C,s)=>{var a=s(8269)();E.exports=a},18022:(E,C,s)=>{var r=s(75290),a=s(59108);E.exports=function c(u,e){return u&&r(u,e,a)}},93436:(E,C,s)=>{var r=s(64667),a=s(82773);E.exports=function c(u,e){for(var f=0,m=(e=r(e,u)).length;null!=u&&f<m;)u=u[a(e[f++])];return f&&f==m?u:void 0}},19215:(E,C,s)=>{var r=s(94165),a=s(81690);E.exports=function c(u,e,f){var m=e(u);return a(u)?m:r(m,f(u))}},72802:(E,C,s)=>{var r=s(57333),a=s(21613),c=s(81244),f=r?r.toStringTag:void 0;E.exports=function m(T){return null==T?void 0===T?"[object Undefined]":"[object Null]":f&&f in Object(T)?a(T):c(T)}},55333:E=>{E.exports=function C(s,r){return null!=s&&r in Object(s)}},77090:(E,C,s)=>{var r=s(72802),a=s(27503);E.exports=function u(e){return a(e)&&"[object Arguments]"==r(e)}},30696:(E,C,s)=>{var r=s(36863),a=s(27503);E.exports=function c(u,e,f,m,T){return u===e||(null==u||null==e||!a(u)&&!a(e)?u!=u&&e!=e:r(u,e,f,m,c,T))}},36863:(E,C,s)=>{var r=s(33667),a=s(27667),c=s(64630),u=s(70838),e=s(26663),f=s(81690),m=s(84444),T=s(47679),w="[object Arguments]",D="[object Array]",U="[object Object]",$=Object.prototype.hasOwnProperty;E.exports=function J(F,X,de,V,ce,se){var fe=f(F),Te=f(X),$e=fe?D:e(F),ge=Te?D:e(X),Et=($e=$e==w?U:$e)==U,ot=(ge=ge==w?U:ge)==U,ct=$e==ge;if(ct&&m(F)){if(!m(X))return!1;fe=!0,Et=!1}if(ct&&!Et)return se||(se=new r),fe||T(F)?a(F,X,de,V,ce,se):c(F,X,$e,de,V,ce,se);if(!(1&de)){var qe=Et&&$.call(F,"__wrapped__"),He=ot&&$.call(X,"__wrapped__");if(qe||He){var We=qe?F.value():F,Le=He?X.value():X;return se||(se=new r),ce(We,Le,de,V,se)}}return!!ct&&(se||(se=new r),u(F,X,de,V,ce,se))}},63434:(E,C,s)=>{var r=s(26663),a=s(27503);E.exports=function u(e){return a(e)&&"[object Map]"==r(e)}},88783:(E,C,s)=>{var r=s(33667),a=s(30696);E.exports=function e(f,m,T,M){var w=T.length,D=w,U=!M;if(null==f)return!D;for(f=Object(f);w--;){var W=T[w];if(U&&W[2]?W[1]!==f[W[0]]:!(W[0]in f))return!1}for(;++w<D;){var $=(W=T[w])[0],J=f[$],F=W[1];if(U&&W[2]){if(void 0===J&&!($ in f))return!1}else{var X=new r;if(M)var de=M(J,F,$,f,m,X);if(!(void 0===de?a(F,J,3,M,X):de))return!1}}return!0}},43540:(E,C,s)=>{var r=s(55836),a=s(38466),c=s(53867),u=s(51217),f=/^\[object .+?Constructor\]$/,D=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");E.exports=function U(W){return!(!c(W)||a(W))&&(r(W)?D:f).test(u(W))}},67495:(E,C,s)=>{var r=s(26663),a=s(27503);E.exports=function u(e){return a(e)&&"[object Set]"==r(e)}},99390:(E,C,s)=>{var r=s(72802),a=s(8613),c=s(27503),ct={};ct["[object Float32Array]"]=ct["[object Float64Array]"]=ct["[object Int8Array]"]=ct["[object Int16Array]"]=ct["[object Int32Array]"]=ct["[object Uint8Array]"]=ct["[object Uint8ClampedArray]"]=ct["[object Uint16Array]"]=ct["[object Uint32Array]"]=!0,ct["[object Arguments]"]=ct["[object Array]"]=ct["[object ArrayBuffer]"]=ct["[object Boolean]"]=ct["[object DataView]"]=ct["[object Date]"]=ct["[object Error]"]=ct["[object Function]"]=ct["[object Map]"]=ct["[object Number]"]=ct["[object Object]"]=ct["[object RegExp]"]=ct["[object Set]"]=ct["[object String]"]=ct["[object WeakMap]"]=!1,E.exports=function qe(He){return c(He)&&a(He.length)&&!!ct[r(He)]}},5245:(E,C,s)=>{var r=s(69433),a=s(68608),c=s(80290),u=s(81690),e=s(63354);E.exports=function f(m){return"function"==typeof m?m:null==m?c:"object"==typeof m?u(m)?a(m[0],m[1]):r(m):e(m)}},92488:(E,C,s)=>{var r=s(58845),a=s(36700),u=Object.prototype.hasOwnProperty;E.exports=function e(f){if(!r(f))return a(f);var m=[];for(var T in Object(f))u.call(f,T)&&"constructor"!=T&&m.push(T);return m}},50762:(E,C,s)=>{var r=s(53867),a=s(58845),c=s(25618),e=Object.prototype.hasOwnProperty;E.exports=function f(m){if(!r(m))return c(m);var T=a(m),M=[];for(var w in m)"constructor"==w&&(T||!e.call(m,w))||M.push(w);return M}},69433:(E,C,s)=>{var r=s(88783),a=s(48834),c=s(63587);E.exports=function u(e){var f=a(e);return 1==f.length&&f[0][2]?c(f[0][0],f[0][1]):function(m){return m===e||r(m,e,f)}}},68608:(E,C,s)=>{var r=s(30696),a=s(58102),c=s(18303),u=s(99743),e=s(45774),f=s(63587),m=s(82773);E.exports=function w(D,U){return u(D)&&e(U)?f(m(D),U):function(W){var $=a(W,D);return void 0===$&&$===U?c(W,D):r(U,$,3)}}},9085:(E,C,s)=>{var r=s(33667),a=s(63530),c=s(75290),u=s(23607),e=s(53867),f=s(42970),m=s(45959);E.exports=function T(M,w,D,U,W){M!==w&&c(w,function($,J){if(W||(W=new r),e($))u(M,w,J,D,T,U,W);else{var F=U?U(m(M,J),$,J+"",M,w,W):void 0;void 0===F&&(F=$),a(M,J,F)}},f)}},23607:(E,C,s)=>{var r=s(63530),a=s(50694),c=s(96282),u=s(53595),e=s(31563),f=s(2952),m=s(81690),T=s(82027),M=s(84444),w=s(55836),D=s(53867),U=s(82358),W=s(47679),$=s(45959),J=s(31413);E.exports=function F(X,de,V,ce,se,fe,Te){var $e=$(X,V),ge=$(de,V),Et=Te.get(ge);if(Et)r(X,V,Et);else{var ot=fe?fe($e,ge,V+"",X,de,Te):void 0,ct=void 0===ot;if(ct){var qe=m(ge),He=!qe&&M(ge),We=!qe&&!He&&W(ge);ot=ge,qe||He||We?m($e)?ot=$e:T($e)?ot=u($e):He?(ct=!1,ot=a(ge,!0)):We?(ct=!1,ot=c(ge,!0)):ot=[]:U(ge)||f(ge)?(ot=$e,f($e)?ot=J($e):(!D($e)||w($e))&&(ot=e(ge))):ct=!1}ct&&(Te.set(ge,ot),se(ot,ge,ce,fe,Te),Te.delete(ge)),r(X,V,ot)}}},68840:E=>{E.exports=function C(s){return function(r){return r?.[s]}}},59866:(E,C,s)=>{var r=s(93436);E.exports=function a(c){return function(u){return r(u,c)}}},17421:E=>{E.exports=function C(s){return function(r){return s?.[r]}}},85105:E=>{E.exports=function C(s,r,a,c,u){return u(s,function(e,f,m){a=c?(c=!1,e):r(a,e,f,m)}),a}},84441:(E,C,s)=>{var r=s(80290),a=s(15529),c=s(39009);E.exports=function u(e,f){return c(a(e,f,r),e+"")}},32773:(E,C,s)=>{var r=s(23898),a=s(64667),c=s(20968),u=s(53867),e=s(82773);E.exports=function f(m,T,M,w){if(!u(m))return m;for(var D=-1,U=(T=a(T,m)).length,W=U-1,$=m;null!=$&&++D<U;){var J=e(T[D]),F=M;if("__proto__"===J||"constructor"===J||"prototype"===J)return m;if(D!=W){var X=$[J];void 0===(F=w?w(X,J,$):void 0)&&(F=u(X)?X:c(T[D+1])?[]:{})}r($,J,F),$=$[J]}return m}},99372:(E,C,s)=>{var r=s(45654),a=s(20395),c=s(80290);E.exports=a?function(e,f){return a(e,"toString",{configurable:!0,enumerable:!1,value:r(f),writable:!0})}:c},63586:E=>{E.exports=function C(s,r,a){var c=-1,u=s.length;r<0&&(r=-r>u?0:u+r),(a=a>u?u:a)<0&&(a+=u),u=r>a?0:a-r>>>0,r>>>=0;for(var e=Array(u);++c<u;)e[c]=s[c+r];return e}},37834:(E,C,s)=>{var r=s(59026);E.exports=function a(c,u){var e;return r(c,function(f,m,T){return!(e=u(f,m,T))}),!!e}},48282:E=>{E.exports=function C(s,r){for(var a=-1,c=Array(s);++a<s;)c[a]=r(a);return c}},68166:(E,C,s)=>{var r=s(57333),a=s(14992),c=s(81690),u=s(7786),f=r?r.prototype:void 0,m=f?f.toString:void 0;E.exports=function T(M){if("string"==typeof M)return M;if(c(M))return a(M,T)+"";if(u(M))return m?m.call(M):"";var w=M+"";return"0"==w&&1/M==-Infinity?"-0":w}},13743:(E,C,s)=>{var r=s(87478),a=/^\s+/;E.exports=function c(u){return u&&u.slice(0,r(u)+1).replace(a,"")}},70544:E=>{E.exports=function C(s){return function(r){return s(r)}}},72064:(E,C,s)=>{var r=s(64667),a=s(27842),c=s(61746),u=s(82773);E.exports=function e(f,m){return m=r(m,f),null==(f=c(f,m))||delete f[u(a(m))]}},25687:E=>{E.exports=function C(s,r,a){for(var c=-1,u=s.length,e=r.length,f={};++c<u;)a(f,s[c],c<e?r[c]:void 0);return f}},13747:E=>{E.exports=function C(s,r){return s.has(r)}},64667:(E,C,s)=>{var r=s(81690),a=s(99743),c=s(89775),u=s(41233);E.exports=function e(f,m){return r(f)?f:a(f,m)?[f]:c(u(f))}},26477:(E,C,s)=>{var r=s(63586);E.exports=function a(c,u,e){var f=c.length;return e=void 0===e?f:e,!u&&e>=f?c:r(c,u,e)}},88461:(E,C,s)=>{var r=s(96820);E.exports=function a(c){var u=new c.constructor(c.byteLength);return new r(u).set(new r(c)),u}},50694:(E,C,s)=>{E=s.nmd(E);var r=s(27038),a=C&&!C.nodeType&&C,c=a&&E&&!E.nodeType&&E,e=c&&c.exports===a?r.Buffer:void 0,f=e?e.allocUnsafe:void 0;E.exports=function m(T,M){if(M)return T.slice();var w=T.length,D=f?f(w):new T.constructor(w);return T.copy(D),D}},59757:(E,C,s)=>{var r=s(88461);E.exports=function a(c,u){var e=u?r(c.buffer):c.buffer;return new c.constructor(e,c.byteOffset,c.byteLength)}},83615:E=>{var C=/\w*$/;E.exports=function s(r){var a=new r.constructor(r.source,C.exec(r));return a.lastIndex=r.lastIndex,a}},42282:(E,C,s)=>{var r=s(57333),a=r?r.prototype:void 0,c=a?a.valueOf:void 0;E.exports=function u(e){return c?Object(c.call(e)):{}}},96282:(E,C,s)=>{var r=s(88461);E.exports=function a(c,u){var e=u?r(c.buffer):c.buffer;return new c.constructor(e,c.byteOffset,c.length)}},53595:E=>{E.exports=function C(s,r){var a=-1,c=s.length;for(r||(r=Array(c));++a<c;)r[a]=s[a];return r}},11694:(E,C,s)=>{var r=s(23898),a=s(92007);E.exports=function c(u,e,f,m){var T=!f;f||(f={});for(var M=-1,w=e.length;++M<w;){var D=e[M],U=m?m(f[D],u[D],D,f,u):void 0;void 0===U&&(U=u[D]),T?a(f,D,U):r(f,D,U)}return f}},14746:(E,C,s)=>{var r=s(11694),a=s(10296);E.exports=function c(u,e){return r(u,a(u),e)}},78857:(E,C,s)=>{var r=s(11694),a=s(29572);E.exports=function c(u,e){return r(u,a(u),e)}},93412:(E,C,s)=>{var r=s(27038);E.exports=r["__core-js_shared__"]},30906:(E,C,s)=>{var r=s(84441),a=s(71100);E.exports=function c(u){return r(function(e,f){var m=-1,T=f.length,M=T>1?f[T-1]:void 0,w=T>2?f[2]:void 0;for(M=u.length>3&&"function"==typeof M?(T--,M):void 0,w&&a(f[0],f[1],w)&&(M=T<3?void 0:M,T=1),e=Object(e);++m<T;){var D=f[m];D&&u(e,D,m,M)}return e})}},99889:(E,C,s)=>{var r=s(93406);E.exports=function a(c,u){return function(e,f){if(null==e)return e;if(!r(e))return c(e,f);for(var m=e.length,T=u?m:-1,M=Object(e);(u?T--:++T<m)&&!1!==f(M[T],T,M););return e}}},8269:E=>{E.exports=function C(s){return function(r,a,c){for(var u=-1,e=Object(r),f=c(r),m=f.length;m--;){var T=f[s?m:++u];if(!1===a(e[T],T,e))break}return r}}},66803:(E,C,s)=>{var r=s(26477),a=s(407),c=s(2150),u=s(41233);E.exports=function e(f){return function(m){m=u(m);var T=a(m)?c(m):void 0,M=T?T[0]:m.charAt(0),w=T?r(T,1).join(""):m.slice(1);return M[f]()+w}}},17407:(E,C,s)=>{var r=s(89731),a=s(75289),c=s(96590),e=RegExp("['\u2019]","g");E.exports=function f(m){return function(T){return r(c(a(T).replace(e,"")),m,"")}}},44674:(E,C,s)=>{var r=s(5245),a=s(93406),c=s(59108);E.exports=function u(e){return function(f,m,T){var M=Object(f);if(!a(f)){var w=r(m,3);f=c(f),m=function(U){return w(M[U],U,M)}}var D=e(f,m,T);return D>-1?M[w?f[D]:D]:void 0}}},925:(E,C,s)=>{var r=s(82358);E.exports=function a(c){return r(c)?void 0:c}},4068:(E,C,s)=>{var c=s(17421)({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});E.exports=c},20395:(E,C,s)=>{var r=s(4153),a=function(){try{var c=r(Object,"defineProperty");return c({},"",{}),c}catch{}}();E.exports=a},27667:(E,C,s)=>{var r=s(48690),a=s(8141),c=s(13747);E.exports=function f(m,T,M,w,D,U){var W=1&M,$=m.length,J=T.length;if($!=J&&!(W&&J>$))return!1;var F=U.get(m),X=U.get(T);if(F&&X)return F==T&&X==m;var de=-1,V=!0,ce=2&M?new r:void 0;for(U.set(m,T),U.set(T,m);++de<$;){var se=m[de],fe=T[de];if(w)var Te=W?w(fe,se,de,T,m,U):w(se,fe,de,m,T,U);if(void 0!==Te){if(Te)continue;V=!1;break}if(ce){if(!a(T,function($e,ge){if(!c(ce,ge)&&(se===$e||D(se,$e,M,w,U)))return ce.push(ge)})){V=!1;break}}else if(se!==fe&&!D(se,fe,M,w,U)){V=!1;break}}return U.delete(m),U.delete(T),V}},64630:(E,C,s)=>{var r=s(57333),a=s(96820),c=s(71166),u=s(27667),e=s(37461),f=s(57673),ce=r?r.prototype:void 0,se=ce?ce.valueOf:void 0;E.exports=function fe(Te,$e,ge,Et,ot,ct,qe){switch(ge){case"[object DataView]":if(Te.byteLength!=$e.byteLength||Te.byteOffset!=$e.byteOffset)return!1;Te=Te.buffer,$e=$e.buffer;case"[object ArrayBuffer]":return!(Te.byteLength!=$e.byteLength||!ct(new a(Te),new a($e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return c(+Te,+$e);case"[object Error]":return Te.name==$e.name&&Te.message==$e.message;case"[object RegExp]":case"[object String]":return Te==$e+"";case"[object Map]":var He=e;case"[object Set]":if(He||(He=f),Te.size!=$e.size&&!(1&Et))return!1;var Le=qe.get(Te);if(Le)return Le==$e;Et|=2,qe.set(Te,$e);var Pt=u(He(Te),He($e),Et,ot,ct,qe);return qe.delete(Te),Pt;case"[object Symbol]":if(se)return se.call(Te)==se.call($e)}return!1}},70838:(E,C,s)=>{var r=s(58605),u=Object.prototype.hasOwnProperty;E.exports=function e(f,m,T,M,w,D){var U=1&T,W=r(f),$=W.length;if($!=r(m).length&&!U)return!1;for(var X=$;X--;){var de=W[X];if(!(U?de in m:u.call(m,de)))return!1}var V=D.get(f),ce=D.get(m);if(V&&ce)return V==m&&ce==f;var se=!0;D.set(f,m),D.set(m,f);for(var fe=U;++X<$;){var Te=f[de=W[X]],$e=m[de];if(M)var ge=U?M($e,Te,de,m,f,D):M(Te,$e,de,f,m,D);if(!(void 0===ge?Te===$e||w(Te,$e,T,M,D):ge)){se=!1;break}fe||(fe="constructor"==de)}if(se&&!fe){var Et=f.constructor,ot=m.constructor;Et!=ot&&"constructor"in f&&"constructor"in m&&!("function"==typeof Et&&Et instanceof Et&&"function"==typeof ot&&ot instanceof ot)&&(se=!1)}return D.delete(f),D.delete(m),se}},10058:(E,C,s)=>{var r=s(94694),a=s(15529),c=s(39009);E.exports=function u(e){return c(a(e,void 0,r),e+"")}},61138:E=>{var C="object"==typeof global&&global&&global.Object===Object&&global;E.exports=C},58605:(E,C,s)=>{var r=s(19215),a=s(10296),c=s(59108);E.exports=function u(e){return r(e,c,a)}},51675:(E,C,s)=>{var r=s(19215),a=s(29572),c=s(42970);E.exports=function u(e){return r(e,c,a)}},85556:(E,C,s)=>{var r=s(36586);E.exports=function a(c,u){var e=c.__data__;return r(u)?e["string"==typeof u?"string":"hash"]:e.map}},48834:(E,C,s)=>{var r=s(45774),a=s(59108);E.exports=function c(u){for(var e=a(u),f=e.length;f--;){var m=e[f],T=u[m];e[f]=[m,T,r(T)]}return e}},4153:(E,C,s)=>{var r=s(43540),a=s(36825);E.exports=function c(u,e){var f=a(u,e);return r(f)?f:void 0}},52398:(E,C,s)=>{var a=s(93332)(Object.getPrototypeOf,Object);E.exports=a},21613:(E,C,s)=>{var r=s(57333),a=Object.prototype,c=a.hasOwnProperty,u=a.toString,e=r?r.toStringTag:void 0;E.exports=function f(m){var T=c.call(m,e),M=m[e];try{m[e]=void 0;var w=!0}catch{}var D=u.call(m);return w&&(T?m[e]=M:delete m[e]),D}},10296:(E,C,s)=>{var r=s(11375),a=s(65336),u=Object.prototype.propertyIsEnumerable,e=Object.getOwnPropertySymbols;E.exports=e?function(m){return null==m?[]:(m=Object(m),r(e(m),function(T){return u.call(m,T)}))}:a},29572:(E,C,s)=>{var r=s(94165),a=s(52398),c=s(10296),u=s(65336);E.exports=Object.getOwnPropertySymbols?function(m){for(var T=[];m;)r(T,c(m)),m=a(m);return T}:u},26663:(E,C,s)=>{var r=s(81235),a=s(39046),c=s(97129),u=s(74918),e=s(54203),f=s(72802),m=s(51217),T="[object Map]",w="[object Promise]",D="[object Set]",U="[object WeakMap]",W="[object DataView]",$=m(r),J=m(a),F=m(c),X=m(u),de=m(e),V=f;(r&&V(new r(new ArrayBuffer(1)))!=W||a&&V(new a)!=T||c&&V(c.resolve())!=w||u&&V(new u)!=D||e&&V(new e)!=U)&&(V=function(ce){var se=f(ce),fe="[object Object]"==se?ce.constructor:void 0,Te=fe?m(fe):"";if(Te)switch(Te){case $:return W;case J:return T;case F:return w;case X:return D;case de:return U}return se}),E.exports=V},36825:E=>{E.exports=function C(s,r){return s?.[r]}},82138:(E,C,s)=>{var r=s(64667),a=s(2952),c=s(81690),u=s(20968),e=s(8613),f=s(82773);E.exports=function m(T,M,w){for(var D=-1,U=(M=r(M,T)).length,W=!1;++D<U;){var $=f(M[D]);if(!(W=null!=T&&w(T,$)))break;T=T[$]}return W||++D!=U?W:!!(U=null==T?0:T.length)&&e(U)&&u($,U)&&(c(T)||a(T))}},407:E=>{var f=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");E.exports=function m(T){return f.test(T)}},59316:E=>{var C=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;E.exports=function s(r){return C.test(r)}},59410:(E,C,s)=>{var r=s(95969);E.exports=function a(){this.__data__=r?r(null):{},this.size=0}},21143:E=>{E.exports=function C(s){var r=this.has(s)&&delete this.__data__[s];return this.size-=r?1:0,r}},604:(E,C,s)=>{var r=s(95969),u=Object.prototype.hasOwnProperty;E.exports=function e(f){var m=this.__data__;if(r){var T=m[f];return"__lodash_hash_undefined__"===T?void 0:T}return u.call(m,f)?m[f]:void 0}},80584:(E,C,s)=>{var r=s(95969),c=Object.prototype.hasOwnProperty;E.exports=function u(e){var f=this.__data__;return r?void 0!==f[e]:c.call(f,e)}},7792:(E,C,s)=>{var r=s(95969);E.exports=function c(u,e){var f=this.__data__;return this.size+=this.has(u)?0:1,f[u]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},62963:E=>{var s=Object.prototype.hasOwnProperty;E.exports=function r(a){var c=a.length,u=new a.constructor(c);return c&&"string"==typeof a[0]&&s.call(a,"index")&&(u.index=a.index,u.input=a.input),u}},32143:(E,C,s)=>{var r=s(88461),a=s(59757),c=s(83615),u=s(42282),e=s(96282);E.exports=function ge(Et,ot,ct){var qe=Et.constructor;switch(ot){case"[object ArrayBuffer]":return r(Et);case"[object Boolean]":case"[object Date]":return new qe(+Et);case"[object DataView]":return a(Et,ct);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return e(Et,ct);case"[object Map]":case"[object Set]":return new qe;case"[object Number]":case"[object String]":return new qe(Et);case"[object RegExp]":return c(Et);case"[object Symbol]":return u(Et)}}},31563:(E,C,s)=>{var r=s(60920),a=s(52398),c=s(58845);E.exports=function u(e){return"function"!=typeof e.constructor||c(e)?{}:r(a(e))}},21006:(E,C,s)=>{var r=s(57333),a=s(2952),c=s(81690),u=r?r.isConcatSpreadable:void 0;E.exports=function e(f){return c(f)||a(f)||!!(u&&f&&f[u])}},20968:E=>{var s=/^(?:0|[1-9]\d*)$/;E.exports=function r(a,c){var u=typeof a;return!!(c=c??9007199254740991)&&("number"==u||"symbol"!=u&&s.test(a))&&a>-1&&a%1==0&&a<c}},71100:(E,C,s)=>{var r=s(71166),a=s(93406),c=s(20968),u=s(53867);E.exports=function e(f,m,T){if(!u(T))return!1;var M=typeof m;return!!("number"==M?a(T)&&c(m,T.length):"string"==M&&m in T)&&r(T[m],f)}},99743:(E,C,s)=>{var r=s(81690),a=s(7786),c=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;E.exports=function e(f,m){if(r(f))return!1;var T=typeof f;return!("number"!=T&&"symbol"!=T&&"boolean"!=T&&null!=f&&!a(f))||u.test(f)||!c.test(f)||null!=m&&f in Object(m)}},36586:E=>{E.exports=function C(s){var r=typeof s;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==s:null===s}},38466:(E,C,s)=>{var u,r=s(93412),a=(u=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"";E.exports=function c(u){return!!a&&a in u}},58845:E=>{var C=Object.prototype;E.exports=function s(r){var a=r&&r.constructor;return r===("function"==typeof a&&a.prototype||C)}},45774:(E,C,s)=>{var r=s(53867);E.exports=function a(c){return c==c&&!r(c)}},63391:E=>{E.exports=function C(){this.__data__=[],this.size=0}},68971:(E,C,s)=>{var r=s(15758),c=Array.prototype.splice;E.exports=function u(e){var f=this.__data__,m=r(f,e);return!(m<0||(m==f.length-1?f.pop():c.call(f,m,1),--this.size,0))}},18858:(E,C,s)=>{var r=s(15758);E.exports=function a(c){var u=this.__data__,e=r(u,c);return e<0?void 0:u[e][1]}},13913:(E,C,s)=>{var r=s(15758);E.exports=function a(c){return r(this.__data__,c)>-1}},68944:(E,C,s)=>{var r=s(15758);E.exports=function a(c,u){var e=this.__data__,f=r(e,c);return f<0?(++this.size,e.push([c,u])):e[f][1]=u,this}},70536:(E,C,s)=>{var r=s(41505),a=s(73545),c=s(39046);E.exports=function u(){this.size=0,this.__data__={hash:new r,map:new(c||a),string:new r}}},61502:(E,C,s)=>{var r=s(85556);E.exports=function a(c){var u=r(this,c).delete(c);return this.size-=u?1:0,u}},94960:(E,C,s)=>{var r=s(85556);E.exports=function a(c){return r(this,c).get(c)}},61539:(E,C,s)=>{var r=s(85556);E.exports=function a(c){return r(this,c).has(c)}},34138:(E,C,s)=>{var r=s(85556);E.exports=function a(c,u){var e=r(this,c),f=e.size;return e.set(c,u),this.size+=e.size==f?0:1,this}},37461:E=>{E.exports=function C(s){var r=-1,a=Array(s.size);return s.forEach(function(c,u){a[++r]=[u,c]}),a}},63587:E=>{E.exports=function C(s,r){return function(a){return null!=a&&a[s]===r&&(void 0!==r||s in Object(a))}}},43911:(E,C,s)=>{var r=s(97425);E.exports=function c(u){var e=r(u,function(m){return 500===f.size&&f.clear(),m}),f=e.cache;return e}},95969:(E,C,s)=>{var a=s(4153)(Object,"create");E.exports=a},36700:(E,C,s)=>{var a=s(93332)(Object.keys,Object);E.exports=a},25618:E=>{E.exports=function C(s){var r=[];if(null!=s)for(var a in Object(s))r.push(a);return r}},70938:(E,C,s)=>{E=s.nmd(E);var r=s(61138),a=C&&!C.nodeType&&C,c=a&&E&&!E.nodeType&&E,e=c&&c.exports===a&&r.process,f=function(){try{return c&&c.require&&c.require("util").types||e&&e.binding&&e.binding("util")}catch{}}();E.exports=f},81244:E=>{var s=Object.prototype.toString;E.exports=function r(a){return s.call(a)}},93332:E=>{E.exports=function C(s,r){return function(a){return s(r(a))}}},15529:(E,C,s)=>{var r=s(81638),a=Math.max;E.exports=function c(u,e,f){return e=a(void 0===e?u.length-1:e,0),function(){for(var m=arguments,T=-1,M=a(m.length-e,0),w=Array(M);++T<M;)w[T]=m[e+T];T=-1;for(var D=Array(e+1);++T<e;)D[T]=m[T];return D[e]=f(w),r(u,this,D)}}},61746:(E,C,s)=>{var r=s(93436),a=s(63586);E.exports=function c(u,e){return e.length<2?u:r(u,a(e,0,-1))}},27038:(E,C,s)=>{var r=s(61138),a="object"==typeof self&&self&&self.Object===Object&&self,c=r||a||Function("return this")();E.exports=c},45959:E=>{E.exports=function C(s,r){if(("constructor"!==r||"function"!=typeof s[r])&&"__proto__"!=r)return s[r]}},30365:E=>{E.exports=function s(r){return this.__data__.set(r,"__lodash_hash_undefined__"),this}},58235:E=>{E.exports=function C(s){return this.__data__.has(s)}},57673:E=>{E.exports=function C(s){var r=-1,a=Array(s.size);return s.forEach(function(c){a[++r]=c}),a}},39009:(E,C,s)=>{var r=s(99372),c=s(44094)(r);E.exports=c},44094:E=>{var C=800,s=16,r=Date.now;E.exports=function a(c){var u=0,e=0;return function(){var f=r(),m=s-(f-e);if(e=f,m>0){if(++u>=C)return arguments[0]}else u=0;return c.apply(void 0,arguments)}}},18034:(E,C,s)=>{var r=s(73545);E.exports=function a(){this.__data__=new r,this.size=0}},37238:E=>{E.exports=function C(s){var r=this.__data__,a=r.delete(s);return this.size=r.size,a}},75887:E=>{E.exports=function C(s){return this.__data__.get(s)}},81450:E=>{E.exports=function C(s){return this.__data__.has(s)}},61386:(E,C,s)=>{var r=s(73545),a=s(39046),c=s(93177);E.exports=function e(f,m){var T=this.__data__;if(T instanceof r){var M=T.__data__;if(!a||M.length<199)return M.push([f,m]),this.size=++T.size,this;T=this.__data__=new c(M)}return T.set(f,m),this.size=T.size,this}},2150:(E,C,s)=>{var r=s(87280),a=s(407),c=s(1879);E.exports=function u(e){return a(e)?c(e):r(e)}},89775:(E,C,s)=>{var r=s(43911),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g,u=r(function(e){var f=[];return 46===e.charCodeAt(0)&&f.push(""),e.replace(a,function(m,T,M,w){f.push(M?w.replace(c,"$1"):T||m)}),f});E.exports=u},82773:(E,C,s)=>{var r=s(7786);E.exports=function c(u){if("string"==typeof u||r(u))return u;var e=u+"";return"0"==e&&1/u==-Infinity?"-0":e}},51217:E=>{var s=Function.prototype.toString;E.exports=function r(a){if(null!=a){try{return s.call(a)}catch{}try{return a+""}catch{}}return""}},87478:E=>{var C=/\s/;E.exports=function s(r){for(var a=r.length;a--&&C.test(r.charAt(a)););return a}},1879:E=>{var C="\\ud800-\\udfff",e="["+C+"]",f="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",m="\\ud83c[\\udffb-\\udfff]",M="[^"+C+"]",w="(?:\\ud83c[\\udde6-\\uddff]){2}",D="[\\ud800-\\udbff][\\udc00-\\udfff]",W="(?:"+f+"|"+m+")?",$="[\\ufe0e\\ufe0f]?",F=$+W+"(?:\\u200d(?:"+[M,w,D].join("|")+")"+$+W+")*",X="(?:"+[M+f+"?",f,w,D,e].join("|")+")",de=RegExp(m+"(?="+m+")|"+X+F,"g");E.exports=function V(ce){return ce.match(de)||[]}},58863:E=>{var C="\\ud800-\\udfff",u="\\u2700-\\u27bf",e="a-z\\xdf-\\xf6\\xf8-\\xff",w="A-Z\\xc0-\\xd6\\xd8-\\xde",U="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",$="["+U+"]",F="\\d+",X="["+u+"]",de="["+e+"]",V="[^"+C+U+F+u+e+w+"]",Te="(?:\\ud83c[\\udde6-\\uddff]){2}",$e="[\\ud800-\\udbff][\\udc00-\\udfff]",ge="["+w+"]",ot="(?:"+de+"|"+V+")",ct="(?:"+ge+"|"+V+")",qe="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",He="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",We="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Le="[\\ufe0e\\ufe0f]?",cn=Le+We+"(?:\\u200d(?:"+["[^"+C+"]",Te,$e].join("|")+")"+Le+We+")*",pn="(?:"+[X,Te,$e].join("|")+")"+cn,Rn=RegExp([ge+"?"+de+"+"+qe+"(?="+[$,ge,"$"].join("|")+")",ct+"+"+He+"(?="+[$,ge+ot,"$"].join("|")+")",ge+"?"+ot+"+"+qe,ge+"+"+He,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",F,pn].join("|"),"g");E.exports=function At(qt){return qt.match(Rn)||[]}},35037:(E,C,s)=>{var r=s(76974),c=s(17407)(function(u,e,f){return e=e.toLowerCase(),u+(f?r(e):e)});E.exports=c},76974:(E,C,s)=>{var r=s(41233),a=s(93890);E.exports=function c(u){return a(r(u).toLowerCase())}},45654:E=>{E.exports=function C(s){return function(){return s}}},41776:(E,C,s)=>{var r=s(53867),a=s(30765),c=s(45038),e=Math.max,f=Math.min;E.exports=function m(T,M,w){var D,U,W,$,J,F,X=0,de=!1,V=!1,ce=!0;if("function"!=typeof T)throw new TypeError("Expected a function");function se(He){var We=D,Le=U;return D=U=void 0,X=He,$=T.apply(Le,We)}function $e(He){var We=He-F;return void 0===F||We>=M||We<0||V&&He-X>=W}function ge(){var He=a();if($e(He))return Et(He);J=setTimeout(ge,function Te(He){var Pt=M-(He-F);return V?f(Pt,W-(He-X)):Pt}(He))}function Et(He){return J=void 0,ce&&D?se(He):(D=U=void 0,$)}function qe(){var He=a(),We=$e(He);if(D=arguments,U=this,F=He,We){if(void 0===J)return function fe(He){return X=He,J=setTimeout(ge,M),de?se(He):$}(F);if(V)return clearTimeout(J),J=setTimeout(ge,M),se(F)}return void 0===J&&(J=setTimeout(ge,M)),$}return M=c(M)||0,r(w)&&(de=!!w.leading,W=(V="maxWait"in w)?e(c(w.maxWait)||0,M):W,ce="trailing"in w?!!w.trailing:ce),qe.cancel=function ot(){void 0!==J&&clearTimeout(J),X=0,D=F=U=J=void 0},qe.flush=function ct(){return void 0===J?$:Et(a())},qe}},75289:(E,C,s)=>{var r=s(4068),a=s(41233),c=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,M=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");E.exports=function w(D){return(D=a(D))&&D.replace(c,r).replace(M,"")}},71166:E=>{E.exports=function C(s,r){return s===r||s!=s&&r!=r}},98990:(E,C,s)=>{var c=s(44674)(s(84857));E.exports=c},84857:(E,C,s)=>{var r=s(12229),a=s(5245),c=s(32781),u=Math.max;E.exports=function e(f,m,T){var M=null==f?0:f.length;if(!M)return-1;var w=null==T?0:c(T);return w<0&&(w=u(M+w,0)),r(f,a(m,3),w)}},94694:(E,C,s)=>{var r=s(56369);E.exports=function a(c){return null!=c&&c.length?r(c,1):[]}},58102:(E,C,s)=>{var r=s(93436);E.exports=function a(c,u,e){var f=null==c?void 0:r(c,u);return void 0===f?e:f}},18303:(E,C,s)=>{var r=s(55333),a=s(82138);E.exports=function c(u,e){return null!=u&&a(u,e,r)}},80290:E=>{E.exports=function C(s){return s}},2952:(E,C,s)=>{var r=s(77090),a=s(27503),c=Object.prototype,u=c.hasOwnProperty,e=c.propertyIsEnumerable,f=r(function(){return arguments}())?r:function(m){return a(m)&&u.call(m,"callee")&&!e.call(m,"callee")};E.exports=f},81690:E=>{E.exports=Array.isArray},93406:(E,C,s)=>{var r=s(55836),a=s(8613);E.exports=function c(u){return null!=u&&a(u.length)&&!r(u)}},82027:(E,C,s)=>{var r=s(93406),a=s(27503);E.exports=function c(u){return a(u)&&r(u)}},84444:(E,C,s)=>{E=s.nmd(E);var r=s(27038),a=s(61711),c=C&&!C.nodeType&&C,u=c&&E&&!E.nodeType&&E,f=u&&u.exports===c?r.Buffer:void 0;E.exports=(f?f.isBuffer:void 0)||a},12232:(E,C,s)=>{var r=s(92488),a=s(26663),c=s(2952),u=s(81690),e=s(93406),f=s(84444),m=s(58845),T=s(47679),U=Object.prototype.hasOwnProperty;E.exports=function W($){if(null==$)return!0;if(e($)&&(u($)||"string"==typeof $||"function"==typeof $.splice||f($)||T($)||c($)))return!$.length;var J=a($);if("[object Map]"==J||"[object Set]"==J)return!$.size;if(m($))return!r($).length;for(var F in $)if(U.call($,F))return!1;return!0}},55836:(E,C,s)=>{var r=s(72802),a=s(53867);E.exports=function m(T){if(!a(T))return!1;var M=r(T);return"[object Function]"==M||"[object GeneratorFunction]"==M||"[object AsyncFunction]"==M||"[object Proxy]"==M}},8613:E=>{E.exports=function s(r){return"number"==typeof r&&r>-1&&r%1==0&&r<=9007199254740991}},32e3:(E,C,s)=>{var r=s(63434),a=s(70544),c=s(70938),u=c&&c.isMap,e=u?a(u):r;E.exports=e},53867:E=>{E.exports=function C(s){var r=typeof s;return null!=s&&("object"==r||"function"==r)}},27503:E=>{E.exports=function C(s){return null!=s&&"object"==typeof s}},82358:(E,C,s)=>{var r=s(72802),a=s(52398),c=s(27503),m=Function.prototype.toString,T=Object.prototype.hasOwnProperty,M=m.call(Object);E.exports=function w(D){if(!c(D)||"[object Object]"!=r(D))return!1;var U=a(D);if(null===U)return!0;var W=T.call(U,"constructor")&&U.constructor;return"function"==typeof W&&W instanceof W&&m.call(W)==M}},48855:(E,C,s)=>{var r=s(67495),a=s(70544),c=s(70938),u=c&&c.isSet,e=u?a(u):r;E.exports=e},64871:(E,C,s)=>{var r=s(72802),a=s(81690),c=s(27503);E.exports=function e(f){return"string"==typeof f||!a(f)&&c(f)&&"[object String]"==r(f)}},7786:(E,C,s)=>{var r=s(72802),a=s(27503);E.exports=function u(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},47679:(E,C,s)=>{var r=s(99390),a=s(70544),c=s(70938),u=c&&c.isTypedArray,e=u?a(u):r;E.exports=e},59108:(E,C,s)=>{var r=s(71890),a=s(92488),c=s(93406);E.exports=function u(e){return c(e)?r(e):a(e)}},42970:(E,C,s)=>{var r=s(71890),a=s(50762),c=s(93406);E.exports=function u(e){return c(e)?r(e,!0):a(e)}},27842:E=>{E.exports=function C(s){var r=null==s?0:s.length;return r?s[r-1]:void 0}},23815:function(E,C,s){var r;E=s.nmd(E),function(){var a,u=200,f="Expected a function",T="__lodash_hash_undefined__",w="__lodash_placeholder__",D=1,U=2,W=4,$=1,J=2,F=1,X=2,de=4,V=8,ce=16,se=32,fe=64,Te=128,$e=256,ge=512,ct=800,qe=16,Pt=1/0,it=9007199254740991,Xt=17976931348623157e292,cn=NaN,pn=4294967295,Rn=pn-1,At=pn>>>1,qt=[["ary",Te],["bind",F],["bindKey",X],["curry",V],["curryRight",ce],["flip",ge],["partial",se],["partialRight",fe],["rearg",$e]],sn="[object Arguments]",fn="[object Array]",xn="[object AsyncFunction]",Kr="[object Boolean]",Or="[object Date]",Lr="[object DOMException]",ir="[object Error]",Qr="[object Function]",jr="[object GeneratorFunction]",br="[object Map]",ht="[object Number]",Wt="[object Null]",Tt="[object Object]",wn="[object Promise]",jn="[object Proxy]",hr="[object RegExp]",Oi="[object Set]",Wi="[object String]",so="[object Symbol]",kr="[object Undefined]",Ei="[object WeakMap]",mr="[object ArrayBuffer]",pr="[object DataView]",Eo="[object Float32Array]",po="[object Float64Array]",$i="[object Int8Array]",qr="[object Int16Array]",Hi="[object Int32Array]",Dn="[object Uint8Array]",Hn="[object Uint8ClampedArray]",jt="[object Uint16Array]",Fe="[object Uint32Array]",Ie=/\b__p \+= '';/g,et=/\b(__p \+=) '' \+/g,ze=/(__e\(.*?\)|\b__t\)) \+\n'';/g,an=/&(?:amp|lt|gt|quot|#39);/g,lt=/[&<>"']/g,Rt=RegExp(an.source),Pe=RegExp(lt.source),qn=/<%-([\s\S]+?)%>/g,gr=/<%([\s\S]+?)%>/g,Pn=/<%=([\s\S]+?)%>/g,_r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pr=/^\w*$/,tr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Zn=/[\\^$.*+?()[\]{}|]/g,nr=RegExp(Zn.source),Zt=/^\s+/,dn=/\s/,Ge=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ot=/\{\n\/\* \[wrapped with (.+)\] \*/,mn=/,? & /,wr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ti=/[()=,{}\[\]\/\s]/,Ci=/\\(\\)?/g,Ai=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ko=/\w*$/,_s=/^[-+]0x[0-9a-f]+$/i,dr=/^0b[01]+$/i,Ni=/^\[object .+?Constructor\]$/,ti=/^0o[0-7]+$/i,Vr=/^(?:0|[1-9]\d*)$/,wi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ji=/($^)/,Vi=/['\n\r\u2028\u2029\\]/g,Po="\\ud800-\\udfff",Vt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",bn="\\u2700-\\u27bf",Bn="a-z\\xdf-\\xf6\\xf8-\\xff",ts="A-Z\\xc0-\\xd6\\xd8-\\xde",jo="\\ufe0e\\ufe0f",ss="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Is="["+Po+"]",la="["+ss+"]",Ro="["+Vt+"]",jl="\\d+",gl="["+bn+"]",qa="["+Bn+"]",da="[^"+Po+ss+jl+bn+Bn+ts+"]",$a="\\ud83c[\\udffb-\\udfff]",Ji="[^"+Po+"]",Ha="(?:\\ud83c[\\udde6-\\uddff]){2}",Ts="[\\ud800-\\udbff][\\udc00-\\udfff]",hs="["+ts+"]",Aa="(?:"+qa+"|"+da+")",Ja="(?:"+hs+"|"+da+")",fa="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Xo="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",No="(?:"+Ro+"|"+$a+")?",Cs="["+jo+"]?",io=Cs+No+"(?:\\u200d(?:"+[Ji,Ha,Ts].join("|")+")"+Cs+No+")*",gt="(?:"+[gl,Ha,Ts].join("|")+")"+io,Tn="(?:"+[Ji+Ro+"?",Ro,Ha,Ts,Is].join("|")+")",ie=RegExp("['\u2019]","g"),Ze=RegExp(Ro,"g"),Jt=RegExp($a+"(?="+$a+")|"+Tn+io,"g"),gn=RegExp([hs+"?"+qa+"+"+fa+"(?="+[la,hs,"$"].join("|")+")",Ja+"+"+Xo+"(?="+[la,hs+Aa,"$"].join("|")+")",hs+"?"+Aa+"+"+fa,hs+"+"+Xo,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",jl,gt].join("|"),"g"),vi=RegExp("[\\u200d"+Po+Vt+jo+"]"),Bi=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Xi=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ws=-1,ds={};ds[Eo]=ds[po]=ds[$i]=ds[qr]=ds[Hi]=ds[Dn]=ds[Hn]=ds[jt]=ds[Fe]=!0,ds[sn]=ds[fn]=ds[mr]=ds[Kr]=ds[pr]=ds[Or]=ds[ir]=ds[Qr]=ds[br]=ds[ht]=ds[Tt]=ds[hr]=ds[Oi]=ds[Wi]=ds[Ei]=!1;var qs={};qs[sn]=qs[fn]=qs[mr]=qs[pr]=qs[Kr]=qs[Or]=qs[Eo]=qs[po]=qs[$i]=qs[qr]=qs[Hi]=qs[br]=qs[ht]=qs[Tt]=qs[hr]=qs[Oi]=qs[Wi]=qs[so]=qs[Dn]=qs[Hn]=qs[jt]=qs[Fe]=!0,qs[ir]=qs[Qr]=qs[Ei]=!1;var Yu={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Nc=parseFloat,qu=parseInt,Ol="object"==typeof global&&global&&global.Object===Object&&global,Kc="object"==typeof self&&self&&self.Object===Object&&self,yl=Ol||Kc||Function("return this")(),au=C&&!C.nodeType&&C,Da=au&&E&&!E.nodeType&&E,yu=Da&&Da.exports===au,ju=yu&&Ol.process,el=function(){try{return Da&&Da.require&&Da.require("util").types||ju&&ju.binding&&ju.binding("util")}catch{}}(),oc=el&&el.isArrayBuffer,Xl=el&&el.isDate,Ic=el&&el.isMap,Gs=el&&el.isRegExp,ku=el&&el.isSet,zu=el&&el.isTypedArray;function ua(Qn,Gr,Fr){switch(Fr.length){case 0:return Qn.call(Gr);case 1:return Qn.call(Gr,Fr[0]);case 2:return Qn.call(Gr,Fr[0],Fr[1]);case 3:return Qn.call(Gr,Fr[0],Fr[1],Fr[2])}return Qn.apply(Gr,Fr)}function El(Qn,Gr,Fr,Ui){for(var Do=-1,Fa=null==Qn?0:Qn.length;++Do<Fa;){var ca=Qn[Do];Gr(Ui,ca,Fr(ca),Qn)}return Ui}function uu(Qn,Gr){for(var Fr=-1,Ui=null==Qn?0:Qn.length;++Fr<Ui&&!1!==Gr(Qn[Fr],Fr,Qn););return Qn}function Eu(Qn,Gr){for(var Fr=null==Qn?0:Qn.length;Fr--&&!1!==Gr(Qn[Fr],Fr,Qn););return Qn}function $u(Qn,Gr){for(var Fr=-1,Ui=null==Qn?0:Qn.length;++Fr<Ui;)if(!Gr(Qn[Fr],Fr,Qn))return!1;return!0}function Ba(Qn,Gr){for(var Fr=-1,Ui=null==Qn?0:Qn.length,Do=0,Fa=[];++Fr<Ui;){var ca=Qn[Fr];Gr(ca,Fr,Qn)&&(Fa[Do++]=ca)}return Fa}function Tl(Qn,Gr){return!(null==Qn||!Qn.length)&&ql(Qn,Gr,0)>-1}function tl(Qn,Gr,Fr){for(var Ui=-1,Do=null==Qn?0:Qn.length;++Ui<Do;)if(Fr(Gr,Qn[Ui]))return!0;return!1}function Ga(Qn,Gr){for(var Fr=-1,Ui=null==Qn?0:Qn.length,Do=Array(Ui);++Fr<Ui;)Do[Fr]=Gr(Qn[Fr],Fr,Qn);return Do}function dc(Qn,Gr){for(var Fr=-1,Ui=Gr.length,Do=Qn.length;++Fr<Ui;)Qn[Do+Fr]=Gr[Fr];return Qn}function cu(Qn,Gr,Fr,Ui){var Do=-1,Fa=null==Qn?0:Qn.length;for(Ui&&Fa&&(Fr=Qn[++Do]);++Do<Fa;)Fr=Gr(Fr,Qn[Do],Do,Qn);return Fr}function Sa(Qn,Gr,Fr,Ui){var Do=null==Qn?0:Qn.length;for(Ui&&Do&&(Fr=Qn[--Do]);Do--;)Fr=Gr(Fr,Qn[Do],Do,Qn);return Fr}function Ru(Qn,Gr){for(var Fr=-1,Ui=null==Qn?0:Qn.length;++Fr<Ui;)if(Gr(Qn[Fr],Fr,Qn))return!0;return!1}var xu=Vc("length");function Su(Qn,Gr,Fr){var Ui;return Fr(Qn,function(Do,Fa,ca){if(Gr(Do,Fa,ca))return Ui=Fa,!1}),Ui}function gc(Qn,Gr,Fr,Ui){for(var Do=Qn.length,Fa=Fr+(Ui?1:-1);Ui?Fa--:++Fa<Do;)if(Gr(Qn[Fa],Fa,Qn))return Fa;return-1}function ql(Qn,Gr,Fr){return Gr==Gr?function yt(Qn,Gr,Fr){for(var Ui=Fr-1,Do=Qn.length;++Ui<Do;)if(Qn[Ui]===Gr)return Ui;return-1}(Qn,Gr,Fr):gc(Qn,Dc,Fr)}function Al(Qn,Gr,Fr,Ui){for(var Do=Fr-1,Fa=Qn.length;++Do<Fa;)if(Ui(Qn[Do],Gr))return Do;return-1}function Dc(Qn){return Qn!=Qn}function zs(Qn,Gr){var Fr=null==Qn?0:Qn.length;return Fr?en(Qn,Gr)/Fr:cn}function Vc(Qn){return function(Gr){return null==Gr?a:Gr[Qn]}}function bt(Qn){return function(Gr){return null==Qn?a:Qn[Gr]}}function pt(Qn,Gr,Fr,Ui,Do){return Do(Qn,function(Fa,ca,zo){Fr=Ui?(Ui=!1,Fa):Gr(Fr,Fa,ca,zo)}),Fr}function en(Qn,Gr){for(var Fr,Ui=-1,Do=Qn.length;++Ui<Do;){var Fa=Gr(Qn[Ui]);Fa!==a&&(Fr=Fr===a?Fa:Fr+Fa)}return Fr}function fi(Qn,Gr){for(var Fr=-1,Ui=Array(Qn);++Fr<Qn;)Ui[Fr]=Gr(Fr);return Ui}function Ya(Qn){return Qn&&Qn.slice(0,kn(Qn)+1).replace(Zt,"")}function mi(Qn){return function(Gr){return Qn(Gr)}}function Hs(Qn,Gr){return Ga(Gr,function(Fr){return Qn[Fr]})}function Qs(Qn,Gr){return Qn.has(Gr)}function Hu(Qn,Gr){for(var Fr=-1,Ui=Qn.length;++Fr<Ui&&ql(Gr,Qn[Fr],0)>-1;);return Fr}function zl(Qn,Gr){for(var Fr=Qn.length;Fr--&&ql(Gr,Qn[Fr],0)>-1;);return Fr}var hu=bt({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),lu=bt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function id(Qn){return"\\"+Yu[Qn]}function Fc(Qn){return vi.test(Qn)}function kl(Qn){var Gr=-1,Fr=Array(Qn.size);return Qn.forEach(function(Ui,Do){Fr[++Gr]=[Do,Ui]}),Fr}function sl(Qn,Gr){return function(Fr){return Qn(Gr(Fr))}}function ja(Qn,Gr){for(var Fr=-1,Ui=Qn.length,Do=0,Fa=[];++Fr<Ui;){var ca=Qn[Fr];(ca===Gr||ca===w)&&(Qn[Fr]=w,Fa[Do++]=Fr)}return Fa}function Q(Qn){var Gr=-1,Fr=Array(Qn.size);return Qn.forEach(function(Ui){Fr[++Gr]=Ui}),Fr}function Gt(Qn){return Fc(Qn)?function Xr(Qn){for(var Gr=Jt.lastIndex=0;Jt.test(Qn);)++Gr;return Gr}(Qn):xu(Qn)}function An(Qn){return Fc(Qn)?function yr(Qn){return Qn.match(Jt)||[]}(Qn):function ba(Qn){return Qn.split("")}(Qn)}function kn(Qn){for(var Gr=Qn.length;Gr--&&dn.test(Qn.charAt(Gr)););return Gr}var Hr=bt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Io=function Qn(Gr){var A,Fr=(Gr=null==Gr?yl:Io.defaults(yl.Object(),Gr,Io.pick(yl,Xi))).Array,Ui=Gr.Date,Do=Gr.Error,Fa=Gr.Function,ca=Gr.Math,zo=Gr.Object,$l=Gr.RegExp,xl=Gr.String,Uu=Gr.TypeError,Xc=Fr.prototype,kc=zo.prototype,yi=Gr["__core-js_shared__"],Wl=Fa.prototype.toString,Pa=kc.hasOwnProperty,fc=0,bu=(A=/[^.]+$/.exec(yi&&yi.keys&&yi.keys.IE_PROTO||""))?"Symbol(src)_1."+A:"",je=kc.toString,Nt=Wl.call(zo),tt=yl._,tn=$l("^"+Wl.call(Pa).replace(Zn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Xn=yu?Gr.Buffer:a,bi=Gr.Symbol,Ri=Gr.Uint8Array,fs=Xn?Xn.allocUnsafe:a,Fs=sl(zo.getPrototypeOf,zo),Ra=zo.create,Vs=kc.propertyIsEnumerable,Ms=Xc.splice,wl=bi?bi.isConcatSpreadable:a,Ho=bi?bi.iterator:a,Qa=bi?bi.toStringTag:a,rn=function(){try{var A=Cc(zo,"defineProperty");return A({},"",{}),A}catch{}}(),Jl=Gr.clearTimeout!==yl.clearTimeout&&Gr.clearTimeout,le=Ui&&Ui.now!==yl.Date.now&&Ui.now,ae=Gr.setTimeout!==yl.setTimeout&&Gr.setTimeout,De=ca.ceil,Ve=ca.floor,st=zo.getOwnPropertySymbols,zt=Xn?Xn.isBuffer:a,Qt=Gr.isFinite,Gn=Xc.join,Er=sl(zo.keys,zo),Nr=ca.max,Mi=ca.min,ao=Ui.now,Jo=Gr.parseInt,rs=ca.random,ys=Xc.reverse,Ps=Cc(Gr,"DataView"),Ul=Cc(Gr,"Map"),eu=Cc(Gr,"Promise"),mu=Cc(Gr,"Set"),wu=Cc(Gr,"WeakMap"),Rc=Cc(zo,"create"),fu=wu&&new wu,qc={},$c=Sf(Ps),pu=Sf(Ul),vc=Sf(eu),La=Sf(mu),al=Sf(wu),rl=bi?bi.prototype:a,xa=rl?rl.valueOf:a,Tu=rl?rl.toString:a;function En(A){if(pd(A)&&!Ii(A)&&!(A instanceof Os)){if(A instanceof Va)return A;if(Pa.call(A,"__wrapped__"))return xh(A)}return new Va(A)}var Pu=function(){function A(){}return function(B){if(!wc(B))return{};if(Ra)return Ra(B);A.prototype=B;var me=new A;return A.prototype=a,me}}();function za(){}function Va(A,B){this.__wrapped__=A,this.__actions__=[],this.__chain__=!!B,this.__index__=0,this.__values__=a}function Os(A){this.__wrapped__=A,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=pn,this.__views__=[]}function Vu(A){var B=-1,me=null==A?0:A.length;for(this.clear();++B<me;){var _t=A[B];this.set(_t[0],_t[1])}}function Uc(A){var B=-1,me=null==A?0:A.length;for(this.clear();++B<me;){var _t=A[B];this.set(_t[0],_t[1])}}function gd(A){var B=-1,me=null==A?0:A.length;for(this.clear();++B<me;){var _t=A[B];this.set(_t[0],_t[1])}}function Bc(A){var B=-1,me=null==A?0:A.length;for(this.__data__=new gd;++B<me;)this.add(A[B])}function Ne(A){var B=this.__data__=new Uc(A);this.size=B.size}function ni(A,B){var me=Ii(A),_t=!me&&Br(A),on=!me&&!_t&&Xu(A),Fn=!me&&!_t&&!on&&$_(A),Tr=me||_t||on||Fn,Jr=Tr?fi(A.length,xl):[],hi=Jr.length;for(var Oo in A)(B||Pa.call(A,Oo))&&(!Tr||!("length"==Oo||on&&("offset"==Oo||"parent"==Oo)||Fn&&("buffer"==Oo||"byteLength"==Oo||"byteOffset"==Oo)||lc(Oo,hi)))&&Jr.push(Oo);return Jr}function zi(A){var B=A.length;return B?A[pf(0,B-1)]:a}function Wo(A,B){return pp(Yd(A),Ed(B,0,A.length))}function Qo(A){return pp(Yd(A))}function ya(A,B,me){(me!==a&&!St(A[B],me)||me===a&&!(B in A))&&tc(A,B,me)}function Bl(A,B,me){var _t=A[B];(!Pa.call(A,B)||!St(_t,me)||me===a&&!(B in A))&&tc(A,B,me)}function Wu(A,B){for(var me=A.length;me--;)if(St(A[me][0],B))return me;return-1}function pc(A,B,me,_t){return he(A,function(on,Fn,Tr){B(_t,on,me(on),Tr)}),_t}function cd(A,B){return A&&Nf(B,uf(B),A)}function tc(A,B,me){"__proto__"==B&&rn?rn(A,B,{configurable:!0,enumerable:!0,value:me,writable:!0}):A[B]=me}function od(A,B){for(var me=-1,_t=B.length,on=Fr(_t),Fn=null==A;++me<_t;)on[me]=Fn?a:v_(A,B[me]);return on}function Ed(A,B,me){return A==A&&(me!==a&&(A=A<=me?A:me),B!==a&&(A=A>=B?A:B)),A}function h(A,B,me,_t,on,Fn){var Tr,Jr=B&D,hi=B&U,Oo=B&W;if(me&&(Tr=on?me(A,_t,on,Fn):me(A)),Tr!==a)return Tr;if(!wc(A))return A;var Ao=Ii(A);if(Ao){if(Tr=function zf(A){var B=A.length,me=new A.constructor(B);return B&&"string"==typeof A[0]&&Pa.call(A,"index")&&(me.index=A.index,me.input=A.input),me}(A),!Jr)return Yd(A,Tr)}else{var Bo=Mc(A),Bs=Bo==Qr||Bo==jr;if(Xu(A))return Gp(A,Jr);if(Bo==Tt||Bo==sn||Bs&&!on){if(Tr=hi||Bs?{}:Vf(A),!Jr)return hi?function Jh(A,B){return Nf(A,cp(A),B)}(A,function Ju(A,B){return A&&Nf(B,Lp(B),A)}(Tr,A)):function Mh(A,B){return Nf(A,yf(A),B)}(A,cd(Tr,A))}else{if(!qs[Bo])return on?A:{};Tr=function ra(A,B,me){var _t=A.constructor;switch(B){case mr:return a_(A);case Kr:case Or:return new _t(+A);case pr:return function Q_(A,B){var me=B?a_(A.buffer):A.buffer;return new A.constructor(me,A.byteOffset,A.byteLength)}(A,me);case Eo:case po:case $i:case qr:case Hi:case Dn:case Hn:case jt:case Fe:return q_(A,me);case br:return new _t;case ht:case Wi:return new _t(A);case hr:return function K_(A){var B=new A.constructor(A.source,Ko.exec(A));return B.lastIndex=A.lastIndex,B}(A);case Oi:return new _t;case so:return function X_(A){return xa?zo(xa.call(A)):{}}(A)}}(A,Bo,Jr)}}Fn||(Fn=new Ne);var Ea=Fn.get(A);if(Ea)return Ea;Fn.set(A,Tr),Tg(A)?A.forEach(function(_l){Tr.add(h(_l,B,me,_l,A,Fn))}):Sm(A)&&A.forEach(function(_l,vu){Tr.set(vu,h(_l,B,me,vu,A,Fn))});var ru=Ao?a:(Oo?hi?zp:gf:hi?Lp:uf)(A);return uu(ru||A,function(_l,vu){ru&&(_l=A[vu=_l]),Bl(Tr,vu,h(_l,B,me,vu,A,Fn))}),Tr}function N(A,B,me){var _t=me.length;if(null==A)return!_t;for(A=zo(A);_t--;){var on=me[_t],Tr=A[on];if(Tr===a&&!(on in A)||!(0,B[on])(Tr))return!1}return!0}function k(A,B,me){if("function"!=typeof A)throw new Uu(f);return w_(function(){A.apply(a,me)},B)}function ne(A,B,me,_t){var on=-1,Fn=Tl,Tr=!0,Jr=A.length,hi=[],Oo=B.length;if(!Jr)return hi;me&&(B=Ga(B,mi(me))),_t?(Fn=tl,Tr=!1):B.length>=u&&(Fn=Qs,Tr=!1,B=new Bc(B));e:for(;++on<Jr;){var Ao=A[on],Bo=null==me?Ao:me(Ao);if(Ao=_t||0!==Ao?Ao:0,Tr&&Bo==Bo){for(var Bs=Oo;Bs--;)if(B[Bs]===Bo)continue e;hi.push(Ao)}else Fn(B,Bo,_t)||hi.push(Ao)}return hi}En.templateSettings={escape:qn,evaluate:gr,interpolate:Pn,variable:"",imports:{_:En}},(En.prototype=za.prototype).constructor=En,(Va.prototype=Pu(za.prototype)).constructor=Va,(Os.prototype=Pu(za.prototype)).constructor=Os,Vu.prototype.clear=function ud(){this.__data__=Rc?Rc(null):{},this.size=0},Vu.prototype.delete=function md(A){var B=this.has(A)&&delete this.__data__[A];return this.size-=B?1:0,B},Vu.prototype.get=function tf(A){var B=this.__data__;if(Rc){var me=B[A];return me===T?a:me}return Pa.call(B,A)?B[A]:a},Vu.prototype.has=function Uf(A){var B=this.__data__;return Rc?B[A]!==a:Pa.call(B,A)},Vu.prototype.set=function Mu(A,B){var me=this.__data__;return this.size+=this.has(A)?0:1,me[A]=Rc&&B===a?T:B,this},Uc.prototype.clear=function Zu(){this.__data__=[],this.size=0},Uc.prototype.delete=function Tp(A){var B=this.__data__,me=Wu(B,A);return!(me<0||(me==B.length-1?B.pop():Ms.call(B,me,1),--this.size,0))},Uc.prototype.get=function ip(A){var B=this.__data__,me=Wu(B,A);return me<0?a:B[me][1]},Uc.prototype.has=function Hd(A){return Wu(this.__data__,A)>-1},Uc.prototype.set=function Bf(A,B){var me=this.__data__,_t=Wu(me,A);return _t<0?(++this.size,me.push([A,B])):me[_t][1]=B,this},gd.prototype.clear=function Nu(){this.size=0,this.__data__={hash:new Vu,map:new(Ul||Uc),string:new Vu}},gd.prototype.delete=function ed(A){var B=vf(this,A).delete(A);return this.size-=B?1:0,B},gd.prototype.get=function xf(A){return vf(this,A).get(A)},gd.prototype.has=function _u(A){return vf(this,A).has(A)},gd.prototype.set=function Ud(A,B){var me=vf(this,A),_t=me.size;return me.set(A,B),this.size+=me.size==_t?0:1,this},Bc.prototype.add=Bc.prototype.push=function Lo(A){return this.__data__.set(A,T),this},Bc.prototype.has=function Se(A){return this.__data__.has(A)},Ne.prototype.clear=function _e(){this.__data__=new Uc,this.size=0},Ne.prototype.delete=function Ye(A){var B=this.__data__,me=B.delete(A);return this.size=B.size,me},Ne.prototype.get=function Mt(A){return this.__data__.get(A)},Ne.prototype.has=function un(A){return this.__data__.has(A)},Ne.prototype.set=function Mn(A,B){var me=this.__data__;if(me instanceof Uc){var _t=me.__data__;if(!Ul||_t.length<u-1)return _t.push([A,B]),this.size=++me.size,this;me=this.__data__=new gd(_t)}return me.set(A,B),this.size=me.size,this};var he=hf(sr),Me=hf(Dr,!0);function Qe(A,B){var me=!0;return he(A,function(_t,on,Fn){return me=!!B(_t,on,Fn)}),me}function Re(A,B,me){for(var _t=-1,on=A.length;++_t<on;){var Fn=A[_t],Tr=B(Fn);if(null!=Tr&&(Jr===a?Tr==Tr&&!Kf(Tr):me(Tr,Jr)))var Jr=Tr,hi=Fn}return hi}function wt(A,B){var me=[];return he(A,function(_t,on,Fn){B(_t,on,Fn)&&me.push(_t)}),me}function It(A,B,me,_t,on){var Fn=-1,Tr=A.length;for(me||(me=ih),on||(on=[]);++Fn<Tr;){var Jr=A[Fn];B>0&&me(Jr)?B>1?It(Jr,B-1,me,_t,on):dc(on,Jr):_t||(on[on.length]=Jr)}return on}var Cn=l_(),er=l_(!0);function sr(A,B){return A&&Cn(A,B,uf)}function Dr(A,B){return A&&er(A,B,uf)}function oi(A,B){return Ba(B,function(me){return Wd(A[me])})}function uo(A,B){for(var me=0,_t=(B=Gd(B,A)).length;null!=A&&me<_t;)A=A[Ef(B[me++])];return me&&me==_t?A:a}function As(A,B,me){var _t=B(A);return Ii(A)?_t:dc(_t,me(A))}function as(A){return null==A?A===a?kr:Wt:Qa&&Qa in zo(A)?function D_(A){var B=Pa.call(A,Qa),me=A[Qa];try{A[Qa]=a;var _t=!0}catch{}var on=je.call(A);return _t&&(B?A[Qa]=me:delete A[Qa]),on}(A):function dp(A){return je.call(A)}(A)}function ma(A,B){return A>B}function Na(A,B){return null!=A&&Pa.call(A,B)}function Pl(A,B){return null!=A&&B in zo(A)}function dl(A,B,me){for(var _t=me?tl:Tl,on=A[0].length,Fn=A.length,Tr=Fn,Jr=Fr(Fn),hi=1/0,Oo=[];Tr--;){var Ao=A[Tr];Tr&&B&&(Ao=Ga(Ao,mi(B))),hi=Mi(Ao.length,hi),Jr[Tr]=!me&&(B||on>=120&&Ao.length>=120)?new Bc(Tr&&Ao):a}Ao=A[0];var Bo=-1,Bs=Jr[0];e:for(;++Bo<on&&Oo.length<hi;){var Ea=Ao[Bo],pl=B?B(Ea):Ea;if(Ea=me||0!==Ea?Ea:0,!(Bs?Qs(Bs,pl):_t(Oo,pl,me))){for(Tr=Fn;--Tr;){var ru=Jr[Tr];if(!(ru?Qs(ru,pl):_t(A[Tr],pl,me)))continue e}Bs&&Bs.push(pl),Oo.push(Ea)}}return Oo}function Qu(A,B,me){var _t=null==(A=sf(A,B=Gd(B,A)))?A:A[Ef(Cd(B))];return null==_t?a:ua(_t,A,me)}function ac(A){return pd(A)&&as(A)==sn}function yc(A,B,me,_t,on){return A===B||(null==A||null==B||!pd(A)&&!pd(B)?A!=A&&B!=B:function Gc(A,B,me,_t,on,Fn){var Tr=Ii(A),Jr=Ii(B),hi=Tr?fn:Mc(A),Oo=Jr?fn:Mc(B),Ao=(hi=hi==sn?Tt:hi)==Tt,Bo=(Oo=Oo==sn?Tt:Oo)==Tt,Bs=hi==Oo;if(Bs&&Xu(A)){if(!Xu(B))return!1;Tr=!0,Ao=!1}if(Bs&&!Ao)return Fn||(Fn=new Ne),Tr||$_(A)?up(A,B,me,_t,on,Fn):function Dh(A,B,me,_t,on,Fn,Tr){switch(me){case pr:if(A.byteLength!=B.byteLength||A.byteOffset!=B.byteOffset)return!1;A=A.buffer,B=B.buffer;case mr:return!(A.byteLength!=B.byteLength||!Fn(new Ri(A),new Ri(B)));case Kr:case Or:case ht:return St(+A,+B);case ir:return A.name==B.name&&A.message==B.message;case hr:case Wi:return A==B+"";case br:var Jr=kl;case Oi:if(Jr||(Jr=Q),A.size!=B.size&&!(_t&$))return!1;var Oo=Tr.get(A);if(Oo)return Oo==B;_t|=J,Tr.set(A,B);var Ao=up(Jr(A),Jr(B),_t,on,Fn,Tr);return Tr.delete(A),Ao;case so:if(xa)return xa.call(A)==xa.call(B)}return!1}(A,B,hi,me,_t,on,Fn);if(!(me&$)){var Ea=Ao&&Pa.call(A,"__wrapped__"),pl=Bo&&Pa.call(B,"__wrapped__");if(Ea||pl){var ru=Ea?A.value():A,_l=pl?B.value():B;return Fn||(Fn=new Ne),on(ru,_l,me,_t,Fn)}}return!!Bs&&(Fn||(Fn=new Ne),function jp(A,B,me,_t,on,Fn){var Tr=me&$,Jr=gf(A),hi=Jr.length;if(hi!=gf(B).length&&!Tr)return!1;for(var Bo=hi;Bo--;){var Bs=Jr[Bo];if(!(Tr?Bs in B:Pa.call(B,Bs)))return!1}var Ea=Fn.get(A),pl=Fn.get(B);if(Ea&&pl)return Ea==B&&pl==A;var ru=!0;Fn.set(A,B),Fn.set(B,A);for(var _l=Tr;++Bo<hi;){var vu=A[Bs=Jr[Bo]],Lu=B[Bs];if(_t)var qf=Tr?_t(Lu,vu,Bs,B,A,Fn):_t(vu,Lu,Bs,A,B,Fn);if(!(qf===a?vu===Lu||on(vu,Lu,me,_t,Fn):qf)){ru=!1;break}_l||(_l="constructor"==Bs)}if(ru&&!_l){var Md=A.constructor,Qp=B.constructor;Md!=Qp&&"constructor"in A&&"constructor"in B&&!("function"==typeof Md&&Md instanceof Md&&"function"==typeof Qp&&Qp instanceof Qp)&&(ru=!1)}return Fn.delete(A),Fn.delete(B),ru}(A,B,me,_t,on,Fn))}(A,B,me,_t,yc,on))}function wf(A,B,me,_t){var on=me.length,Fn=on,Tr=!_t;if(null==A)return!Fn;for(A=zo(A);on--;){var Jr=me[on];if(Tr&&Jr[2]?Jr[1]!==A[Jr[0]]:!(Jr[0]in A))return!1}for(;++on<Fn;){var hi=(Jr=me[on])[0],Oo=A[hi],Ao=Jr[1];if(Tr&&Jr[2]){if(Oo===a&&!(hi in A))return!1}else{var Bo=new Ne;if(_t)var Bs=_t(Oo,Ao,hi,A,B,Bo);if(!(Bs===a?yc(Ao,Oo,$|J,_t,Bo):Bs))return!1}}return!0}function Ql(A){return!(!wc(A)||function h_(A){return!!bu&&bu in A}(A))&&(Wd(A)?tn:Ni).test(Sf(A))}function $t(A){return"function"==typeof A?A:null==A?sd:"object"==typeof A?Ii(A)?ka(A[0],A[1]):Ka(A):z1(A)}function yn(A){if(!rf(A))return Er(A);var B=[];for(var me in zo(A))Pa.call(A,me)&&"constructor"!=me&&B.push(me);return B}function Gi(A,B){return A<B}function Ys(A,B){var me=-1,_t=vs(A)?Fr(A.length):[];return he(A,function(on,Fn,Tr){_t[++me]=B(on,Fn,Tr)}),_t}function Ka(A){var B=p_(A);return 1==B.length&&B[0][2]?x_(B[0][0],B[0][1]):function(me){return me===A||wf(me,A,B)}}function ka(A,B){return Zf(A)&&R_(B)?x_(Ef(A),B):function(me){var _t=v_(me,A);return _t===a&&_t===B?F1(me,A):yc(B,_t,$|J)}}function nu(A,B,me,_t,on){A!==B&&Cn(B,function(Fn,Tr){if(on||(on=new Ne),wc(Fn))!function rc(A,B,me,_t,on,Fn,Tr){var Jr=xp(A,me),hi=xp(B,me),Oo=Tr.get(hi);if(Oo)ya(A,me,Oo);else{var Ao=Fn?Fn(Jr,hi,me+"",A,B,Tr):a,Bo=Ao===a;if(Bo){var Bs=Ii(hi),Ea=!Bs&&Xu(hi),pl=!Bs&&!Ea&&$_(hi);Ao=hi,Bs||Ea||pl?Ii(Jr)?Ao=Jr:Ks(Jr)?Ao=Yd(Jr):Ea?(Bo=!1,Ao=Gp(hi,!0)):pl?(Bo=!1,Ao=q_(hi,!0)):Ao=[]:Tm(hi)||Br(hi)?(Ao=Jr,Br(Jr)?Ao=P1(Jr):(!wc(Jr)||Wd(Jr))&&(Ao=Vf(hi))):Bo=!1}Bo&&(Tr.set(hi,Ao),on(Ao,hi,_t,Fn,Tr),Tr.delete(hi)),ya(A,me,Ao)}}(A,B,Tr,me,nu,_t,on);else{var Jr=_t?_t(xp(A,Tr),Fn,Tr+"",A,B,on):a;Jr===a&&(Jr=Fn),ya(A,Tr,Jr)}},Lp)}function _c(A,B){var me=A.length;if(me)return lc(B+=B<0?me:0,me)?A[B]:a}function T_(A,B,me){B=B.length?Ga(B,function(Fn){return Ii(Fn)?function(Tr){return uo(Tr,1===Fn.length?Fn[0]:Fn)}:Fn}):[sd];var _t=-1;return B=Ga(B,mi(Zs())),function Je(Qn,Gr){var Fr=Qn.length;for(Qn.sort(Gr);Fr--;)Qn[Fr]=Qn[Fr].value;return Qn}(Ys(A,function(Fn,Tr,Jr){return{criteria:Ga(B,function(Oo){return Oo(Fn)}),index:++_t,value:Fn}}),function(Fn,Tr){return function vm(A,B,me){for(var _t=-1,on=A.criteria,Fn=B.criteria,Tr=on.length,Jr=me.length;++_t<Tr;){var hi=Th(on[_t],Fn[_t]);if(hi)return _t>=Jr?hi:hi*("desc"==me[_t]?-1:1)}return A.index-B.index}(Fn,Tr,me)})}function Sh(A,B,me){for(var _t=-1,on=B.length,Fn={};++_t<on;){var Tr=B[_t],Jr=uo(A,Tr);me(Jr,Tr)&&Ec(Fn,Gd(Tr,A),Jr)}return Fn}function Gf(A,B,me,_t){var on=_t?Al:ql,Fn=-1,Tr=B.length,Jr=A;for(A===B&&(B=Yd(B)),me&&(Jr=Ga(A,mi(me)));++Fn<Tr;)for(var hi=0,Oo=B[Fn],Ao=me?me(Oo):Oo;(hi=on(Jr,Ao,hi,_t))>-1;)Jr!==A&&Ms.call(Jr,hi,1),Ms.call(A,hi,1);return A}function Hp(A,B){for(var me=A?B.length:0,_t=me-1;me--;){var on=B[me];if(me==_t||on!==Fn){var Fn=on;lc(on)?Ms.call(A,on,1):M_(A,on)}}return A}function pf(A,B){return A+Ve(rs()*(B-A+1))}function op(A,B){var me="";if(!A||B<1||B>it)return me;do{B%2&&(me+=A),(B=Ve(B/2))&&(A+=A)}while(B);return me}function Za(A,B){return wp(Yc(A,B,sd),A+"")}function _f(A){return zi(hh(A))}function Wa(A,B){var me=hh(A);return pp(me,Ed(B,0,me.length))}function Ec(A,B,me,_t){if(!wc(A))return A;for(var on=-1,Fn=(B=Gd(B,A)).length,Tr=Fn-1,Jr=A;null!=Jr&&++on<Fn;){var hi=Ef(B[on]),Oo=me;if("__proto__"===hi||"constructor"===hi||"prototype"===hi)return A;if(on!=Tr){var Ao=Jr[hi];(Oo=_t?_t(Ao,hi,Jr):a)===a&&(Oo=wc(Ao)?Ao:lc(B[on+1])?[]:{})}Bl(Jr,hi,Oo),Jr=Jr[hi]}return A}var Up=fu?function(A,B){return fu.set(A,B),A}:sd,Zc=rn?function(A,B){return rn(A,"toString",{configurable:!0,enumerable:!1,value:Om(B),writable:!0})}:sd;function Sc(A){return pp(hh(A))}function Wc(A,B,me){var _t=-1,on=A.length;B<0&&(B=-B>on?0:on+B),(me=me>on?on:me)<0&&(me+=on),on=B>me?0:me-B>>>0,B>>>=0;for(var Fn=Fr(on);++_t<on;)Fn[_t]=A[_t+B];return Fn}function o_(A,B){var me;return he(A,function(_t,on,Fn){return!(me=B(_t,on,Fn))}),!!me}function Cp(A,B,me){var _t=0,on=null==A?_t:A.length;if("number"==typeof B&&B==B&&on<=At){for(;_t<on;){var Fn=_t+on>>>1,Tr=A[Fn];null!==Tr&&!Kf(Tr)&&(me?Tr<=B:Tr<B)?_t=Fn+1:on=Fn}return on}return Pf(A,B,sd,me)}function Pf(A,B,me,_t){var on=0,Fn=null==A?0:A.length;if(0===Fn)return 0;for(var Tr=(B=me(B))!=B,Jr=null===B,hi=Kf(B),Oo=B===a;on<Fn;){var Ao=Ve((on+Fn)/2),Bo=me(A[Ao]),Bs=Bo!==a,Ea=null===Bo,pl=Bo==Bo,ru=Kf(Bo);if(Tr)var _l=_t||pl;else _l=Oo?pl&&(_t||Bs):Jr?pl&&Bs&&(_t||!Ea):hi?pl&&Bs&&!Ea&&(_t||!ru):!Ea&&!ru&&(_t?Bo<=B:Bo<B);_l?on=Ao+1:Fn=Ao}return Mi(Fn,Rn)}function Bp(A,B){for(var me=-1,_t=A.length,on=0,Fn=[];++me<_t;){var Tr=A[me],Jr=B?B(Tr):Tr;if(!me||!St(Jr,hi)){var hi=Jr;Fn[on++]=0===Tr?0:Tr}}return Fn}function W_(A){return"number"==typeof A?A:Kf(A)?cn:+A}function Sd(A){if("string"==typeof A)return A;if(Ii(A))return Ga(A,Sd)+"";if(Kf(A))return Tu?Tu.call(A):"";var B=A+"";return"0"==B&&1/A==-Pt?"-0":B}function Yf(A,B,me){var _t=-1,on=Tl,Fn=A.length,Tr=!0,Jr=[],hi=Jr;if(me)Tr=!1,on=tl;else if(Fn>=u){var Oo=B?null:th(A);if(Oo)return Q(Oo);Tr=!1,on=Qs,hi=new Bc}else hi=B?[]:Jr;e:for(;++_t<Fn;){var Ao=A[_t],Bo=B?B(Ao):Ao;if(Ao=me||0!==Ao?Ao:0,Tr&&Bo==Bo){for(var Bs=hi.length;Bs--;)if(hi[Bs]===Bo)continue e;B&&hi.push(Bo),Jr.push(Ao)}else on(hi,Bo,me)||(hi!==Jr&&hi.push(Bo),Jr.push(Ao))}return Jr}function M_(A,B){return null==(A=sf(A,B=Gd(B,A)))||delete A[Ef(Cd(B))]}function bd(A,B,me,_t){return Ec(A,B,me(uo(A,B)),_t)}function dd(A,B,me,_t){for(var on=A.length,Fn=_t?on:-1;(_t?Fn--:++Fn<on)&&B(A[Fn],Fn,A););return me?Wc(A,_t?0:Fn,_t?Fn+1:on):Wc(A,_t?Fn+1:0,_t?on:Fn)}function td(A,B){var me=A;return me instanceof Os&&(me=me.value()),cu(B,function(_t,on){return on.func.apply(on.thisArg,dc([_t],on.args))},me)}function Rd(A,B,me){var _t=A.length;if(_t<2)return _t?Yf(A[0]):[];for(var on=-1,Fn=Fr(_t);++on<_t;)for(var Tr=A[on],Jr=-1;++Jr<_t;)Jr!=on&&(Fn[on]=ne(Fn[on]||Tr,A[Jr],B,me));return Yf(It(Fn,1),B,me)}function Jc(A,B,me){for(var _t=-1,on=A.length,Fn=B.length,Tr={};++_t<on;)me(Tr,A[_t],_t<Fn?B[_t]:a);return Tr}function sp(A){return Ks(A)?A:[]}function s_(A){return"function"==typeof A?A:sd}function Gd(A,B){return Ii(A)?A:Zf(A,B)?[A]:Xh(Ac(A))}var xd=Za;function bc(A,B,me){var _t=A.length;return me=me===a?_t:me,!B&&me>=_t?A:Wc(A,B,me)}var J_=Jl||function(A){return yl.clearTimeout(A)};function Gp(A,B){if(B)return A.slice();var me=A.length,_t=fs?fs(me):new A.constructor(me);return A.copy(_t),_t}function a_(A){var B=new A.constructor(A.byteLength);return new Ri(B).set(new Ri(A)),B}function q_(A,B){var me=B?a_(A.buffer):A.buffer;return new A.constructor(me,A.byteOffset,A.length)}function Th(A,B){if(A!==B){var me=A!==a,_t=null===A,on=A==A,Fn=Kf(A),Tr=B!==a,Jr=null===B,hi=B==B,Oo=Kf(B);if(!Jr&&!Oo&&!Fn&&A>B||Fn&&Tr&&hi&&!Jr&&!Oo||_t&&Tr&&hi||!me&&hi||!on)return 1;if(!_t&&!Fn&&!Oo&&A<B||Oo&&me&&on&&!_t&&!Fn||Jr&&me&&on||!Tr&&on||!hi)return-1}return 0}function O_(A,B,me,_t){for(var on=-1,Fn=A.length,Tr=me.length,Jr=-1,hi=B.length,Oo=Nr(Fn-Tr,0),Ao=Fr(hi+Oo),Bo=!_t;++Jr<hi;)Ao[Jr]=B[Jr];for(;++on<Tr;)(Bo||on<Fn)&&(Ao[me[on]]=A[on]);for(;Oo--;)Ao[Jr++]=A[on++];return Ao}function Ch(A,B,me,_t){for(var on=-1,Fn=A.length,Tr=-1,Jr=me.length,hi=-1,Oo=B.length,Ao=Nr(Fn-Jr,0),Bo=Fr(Ao+Oo),Bs=!_t;++on<Ao;)Bo[on]=A[on];for(var Ea=on;++hi<Oo;)Bo[Ea+hi]=B[hi];for(;++Tr<Jr;)(Bs||on<Fn)&&(Bo[Ea+me[Tr]]=A[on++]);return Bo}function Yd(A,B){var me=-1,_t=A.length;for(B||(B=Fr(_t));++me<_t;)B[me]=A[me];return B}function Nf(A,B,me,_t){var on=!me;me||(me={});for(var Fn=-1,Tr=B.length;++Fn<Tr;){var Jr=B[Fn],hi=_t?_t(me[Jr],A[Jr],Jr,me,A):a;hi===a&&(hi=A[Jr]),on?tc(me,Jr,hi):Bl(me,Jr,hi)}return me}function lp(A,B){return function(me,_t){var on=Ii(me)?El:pc,Fn=B?B():{};return on(me,A,Zs(_t,2),Fn)}}function Mp(A){return Za(function(B,me){var _t=-1,on=me.length,Fn=on>1?me[on-1]:a,Tr=on>2?me[2]:a;for(Fn=A.length>3&&"function"==typeof Fn?(on--,Fn):a,Tr&&Ku(me[0],me[1],Tr)&&(Fn=on<3?a:Fn,on=1),B=zo(B);++_t<on;){var Jr=me[_t];Jr&&A(B,Jr,_t,Fn)}return B})}function hf(A,B){return function(me,_t){if(null==me)return me;if(!vs(me))return A(me,_t);for(var on=me.length,Fn=B?on:-1,Tr=zo(me);(B?Fn--:++Fn<on)&&!1!==_t(Tr[Fn],Fn,Tr););return me}}function l_(A){return function(B,me,_t){for(var on=-1,Fn=zo(B),Tr=_t(B),Jr=Tr.length;Jr--;){var hi=Tr[A?Jr:++on];if(!1===me(Fn[hi],hi,Fn))break}return B}}function mf(A){return function(B){var me=Fc(B=Ac(B))?An(B):a,_t=me?me[0]:B.charAt(0),on=me?bc(me,1).join(""):B.slice(1);return _t[A]()+on}}function jf(A){return function(B){return cu(jv(kv(B).replace(ie,"")),A,"")}}function jd(A){return function(){var B=arguments;switch(B.length){case 0:return new A;case 1:return new A(B[0]);case 2:return new A(B[0],B[1]);case 3:return new A(B[0],B[1],B[2]);case 4:return new A(B[0],B[1],B[2],B[3]);case 5:return new A(B[0],B[1],B[2],B[3],B[4]);case 6:return new A(B[0],B[1],B[2],B[3],B[4],B[5]);case 7:return new A(B[0],B[1],B[2],B[3],B[4],B[5],B[6])}var me=Pu(A.prototype),_t=A.apply(me,B);return wc(_t)?_t:me}}function Qh(A){return function(B,me,_t){var on=zo(B);if(!vs(B)){var Fn=Zs(me,3);B=uf(B),me=function(Jr){return Fn(on[Jr],Jr,on)}}var Tr=A(B,me,_t);return Tr>-1?on[Fn?B[Tr]:Tr]:a}}function nf(A){return Td(function(B){var me=B.length,_t=me,on=Va.prototype.thru;for(A&&B.reverse();_t--;){var Fn=B[_t];if("function"!=typeof Fn)throw new Uu(f);if(on&&!Tr&&"wrapper"==fd(Fn))var Tr=new Va([],!0)}for(_t=Tr?_t:me;++_t<me;){var Jr=fd(Fn=B[_t]),hi="wrapper"==Jr?Ta(Fn):a;Tr=hi&&Wf(hi[0])&&hi[1]==(Te|V|se|$e)&&!hi[4].length&&1==hi[9]?Tr[fd(hi[0])].apply(Tr,hi[3]):1==Fn.length&&Wf(Fn)?Tr[Jr]():Tr.thru(Fn)}return function(){var Oo=arguments,Ao=Oo[0];if(Tr&&1==Oo.length&&Ii(Ao))return Tr.plant(Ao).value();for(var Bo=0,Bs=me?B[Bo].apply(this,Oo):Ao;++Bo<me;)Bs=B[Bo].call(this,Bs);return Bs}})}function Op(A,B,me,_t,on,Fn,Tr,Jr,hi,Oo){var Ao=B&Te,Bo=B&F,Bs=B&X,Ea=B&(V|ce),pl=B&ge,ru=Bs?a:jd(A);return function _l(){for(var vu=arguments.length,Lu=Fr(vu),qf=vu;qf--;)Lu[qf]=arguments[qf];if(Ea)var Md=Tc(_l),Qp=function sc(Qn,Gr){for(var Fr=Qn.length,Ui=0;Fr--;)Qn[Fr]===Gr&&++Ui;return Ui}(Lu,Md);if(_t&&(Lu=O_(Lu,_t,on,Ea)),Fn&&(Lu=Ch(Lu,Fn,Tr,Ea)),vu-=Qp,Ea&&vu<Oo){var Id=ja(Lu,Md);return eh(A,B,Op,_l.placeholder,me,Lu,Id,Jr,hi,Oo-vu)}var Kp=Bo?me:this,gp=Bs?Kp[A]:A;return vu=Lu.length,Jr?Lu=function fp(A,B){for(var me=A.length,_t=Mi(B.length,me),on=Yd(A);_t--;){var Fn=B[_t];A[_t]=lc(Fn,me)?on[Fn]:a}return A}(Lu,Jr):pl&&vu>1&&Lu.reverse(),Ao&&hi<vu&&(Lu.length=hi),this&&this!==yl&&this instanceof _l&&(gp=ru||jd(gp)),gp.apply(Kp,Lu)}}function Oh(A,B){return function(me,_t){return function Nl(A,B,me,_t){return sr(A,function(on,Fn,Tr){B(_t,me(on),Fn,Tr)}),_t}(me,A,B(_t),{})}}function Ap(A,B){return function(me,_t){var on;if(me===a&&_t===a)return B;if(me!==a&&(on=me),_t!==a){if(on===a)return _t;"string"==typeof me||"string"==typeof _t?(me=Sd(me),_t=Sd(_t)):(me=W_(me),_t=W_(_t)),on=A(me,_t)}return on}}function A_(A){return Td(function(B){return B=Ga(B,mi(Zs())),Za(function(me){var _t=this;return A(B,function(on){return ua(on,_t,me)})})})}function Dp(A,B){var me=(B=B===a?" ":Sd(B)).length;if(me<2)return me?op(B,A):B;var _t=op(B,De(A/Gt(B)));return Fc(B)?bc(An(_t),0,A).join(""):_t.slice(0,A)}function If(A){return function(B,me,_t){return _t&&"number"!=typeof _t&&Ku(B,me,_t)&&(me=_t=a),B=Bh(B),me===a?(me=B,B=0):me=Bh(me),function C_(A,B,me,_t){for(var on=-1,Fn=Nr(De((B-A)/(me||1)),0),Tr=Fr(Fn);Fn--;)Tr[_t?Fn:++on]=A,A+=me;return Tr}(B,me,_t=_t===a?B<me?1:-1:Bh(_t),A)}}function Yp(A){return function(B,me){return"string"==typeof B&&"string"==typeof me||(B=g_(B),me=g_(me)),A(B,me)}}function eh(A,B,me,_t,on,Fn,Tr,Jr,hi,Oo){var Ao=B&V;B|=Ao?se:fe,(B&=~(Ao?fe:se))&de||(B&=~(F|X));var ru=[A,B,on,Ao?Fn:a,Ao?Tr:a,Ao?a:Fn,Ao?a:Tr,Jr,hi,Oo],_l=me.apply(a,ru);return Wf(A)&&wd(_l,ru),_l.placeholder=_t,Rh(_l,A,B)}function c_(A){var B=ca[A];return function(me,_t){if(me=g_(me),(_t=null==_t?0:Mi(tu(_t),292))&&Qt(me)){var on=(Ac(me)+"e").split("e");return+((on=(Ac(B(on[0]+"e"+(+on[1]+_t)))+"e").split("e"))[0]+"e"+(+on[1]-_t))}return B(me)}}var th=mu&&1/Q(new mu([,-0]))[1]==Pt?function(A){return new mu(A)}:cm;function d_(A){return function(B){var me=Mc(B);return me==br?kl(B):me==Oi?function Ee(Qn){var Gr=-1,Fr=Array(Qn.size);return Qn.forEach(function(Ui){Fr[++Gr]=[Ui,Ui]}),Fr}(B):function To(Qn,Gr){return Ga(Gr,function(Fr){return[Fr,Qn[Fr]]})}(B,A(B))}}function zd(A,B,me,_t,on,Fn,Tr,Jr){var hi=B&X;if(!hi&&"function"!=typeof A)throw new Uu(f);var Oo=_t?_t.length:0;if(Oo||(B&=~(se|fe),_t=on=a),Tr=Tr===a?Tr:Nr(tu(Tr),0),Jr=Jr===a?Jr:tu(Jr),Oo-=on?on.length:0,B&fe){var Ao=_t,Bo=on;_t=on=a}var Bs=hi?a:Ta(A),Ea=[A,B,me,_t,on,Ao,Bo,Fn,Tr,Jr];if(Bs&&function oh(A,B){var me=A[1],_t=B[1],on=me|_t;if(!(on<(F|X|Te))&&!(_t==Te&&me==V||_t==Te&&me==$e&&A[7].length<=B[8]||_t==(Te|$e)&&B[7].length<=B[8]&&me==V))return A;_t&F&&(A[2]=B[2],on|=me&F?0:de);var Jr=B[3];if(Jr){var hi=A[3];A[3]=hi?O_(hi,Jr,B[4]):Jr,A[4]=hi?ja(A[3],w):B[4]}(Jr=B[5])&&(A[5]=(hi=A[5])?Ch(hi,Jr,B[6]):Jr,A[6]=hi?ja(A[5],w):B[6]),(Jr=B[7])&&(A[7]=Jr),_t&Te&&(A[8]=null==A[8]?B[8]:Mi(A[8],B[8])),null==A[9]&&(A[9]=B[9]),A[0]=B[0],A[1]=on}(Ea,Bs),A=Ea[0],B=Ea[1],me=Ea[2],_t=Ea[3],on=Ea[4],!(Jr=Ea[9]=Ea[9]===a?hi?0:A.length:Nr(Ea[9]-Oo,0))&&B&(V|ce)&&(B&=~(V|ce)),B&&B!=F)pl=B==V||B==ce?function Nm(A,B,me){var _t=jd(A);return function on(){for(var Fn=arguments.length,Tr=Fr(Fn),Jr=Fn,hi=Tc(on);Jr--;)Tr[Jr]=arguments[Jr];var Oo=Fn<3&&Tr[0]!==hi&&Tr[Fn-1]!==hi?[]:ja(Tr,hi);return(Fn-=Oo.length)<me?eh(A,B,Op,on.placeholder,a,Tr,Oo,a,a,me-Fn):ua(this&&this!==yl&&this instanceof on?_t:A,this,Tr)}}(A,B,Jr):B!=se&&B!=(F|se)||on.length?Op.apply(a,Ea):function Ah(A,B,me,_t){var on=B&F,Fn=jd(A);return function Tr(){for(var Jr=-1,hi=arguments.length,Oo=-1,Ao=_t.length,Bo=Fr(Ao+hi),Bs=this&&this!==yl&&this instanceof Tr?Fn:A;++Oo<Ao;)Bo[Oo]=_t[Oo];for(;hi--;)Bo[Oo++]=arguments[++Jr];return ua(Bs,on?me:this,Bo)}}(A,B,me,_t);else var pl=function u_(A,B,me){var _t=B&F,on=jd(A);return function Fn(){return(this&&this!==yl&&this instanceof Fn?on:A).apply(_t?me:this,arguments)}}(A,B,me);return Rh((Bs?Up:wd)(pl,Ea),A,B)}function nh(A,B,me,_t){return A===a||St(A,kc[me])&&!Pa.call(_t,me)?B:A}function f_(A,B,me,_t,on,Fn){return wc(A)&&wc(B)&&(Fn.set(B,A),nu(A,B,a,f_,Fn),Fn.delete(B)),A}function Kh(A){return Tm(A)?a:A}function up(A,B,me,_t,on,Fn){var Tr=me&$,Jr=A.length,hi=B.length;if(Jr!=hi&&!(Tr&&hi>Jr))return!1;var Oo=Fn.get(A),Ao=Fn.get(B);if(Oo&&Ao)return Oo==B&&Ao==A;var Bo=-1,Bs=!0,Ea=me&J?new Bc:a;for(Fn.set(A,B),Fn.set(B,A);++Bo<Jr;){var pl=A[Bo],ru=B[Bo];if(_t)var _l=Tr?_t(ru,pl,Bo,B,A,Fn):_t(pl,ru,Bo,A,B,Fn);if(_l!==a){if(_l)continue;Bs=!1;break}if(Ea){if(!Ru(B,function(vu,Lu){if(!Qs(Ea,Lu)&&(pl===vu||on(pl,vu,me,_t,Fn)))return Ea.push(Lu)})){Bs=!1;break}}else if(pl!==ru&&!on(pl,ru,me,_t,Fn)){Bs=!1;break}}return Fn.delete(A),Fn.delete(B),Bs}function Td(A){return wp(Yc(A,a,Ph),A+"")}function gf(A){return As(A,uf,yf)}function zp(A){return As(A,Lp,cp)}var Ta=fu?function(A){return fu.get(A)}:cm;function fd(A){for(var B=A.name+"",me=qc[B],_t=Pa.call(qc,B)?me.length:0;_t--;){var on=me[_t],Fn=on.func;if(null==Fn||Fn==A)return on.name}return B}function Tc(A){return(Pa.call(En,"placeholder")?En:A).placeholder}function Zs(){var A=En.iteratee||Dm;return A=A===Dm?$t:A,arguments.length?A(arguments[0],arguments[1]):A}function vf(A,B){var me=A.__data__;return function Vd(A){var B=typeof A;return"string"==B||"number"==B||"symbol"==B||"boolean"==B?"__proto__"!==A:null===A}(B)?me["string"==typeof B?"string":"hash"]:me.map}function p_(A){for(var B=uf(A),me=B.length;me--;){var _t=B[me],on=A[_t];B[me]=[_t,on,R_(on)]}return B}function Cc(A,B){var me=function ec(Qn,Gr){return null==Qn?a:Qn[Gr]}(A,B);return Ql(me)?me:a}var yf=st?function(A){return null==A?[]:(A=zo(A),Ba(st(A),function(B){return Vs.call(A,B)}))}:Wg,cp=st?function(A){for(var B=[];A;)dc(B,yf(A)),A=Fs(A);return B}:Wg,Mc=as;function Lf(A,B,me){for(var _t=-1,on=(B=Gd(B,A)).length,Fn=!1;++_t<on;){var Tr=Ef(B[_t]);if(!(Fn=null!=A&&me(A,Tr)))break;A=A[Tr]}return Fn||++_t!=on?Fn:!!(on=null==A?0:A.length)&&mp(on)&&lc(Tr,on)&&(Ii(A)||Br(A))}function Vf(A){return"function"!=typeof A.constructor||rf(A)?{}:Pu(Fs(A))}function ih(A){return Ii(A)||Br(A)||!!(wl&&A&&A[wl])}function lc(A,B){var me=typeof A;return!!(B=B??it)&&("number"==me||"symbol"!=me&&Vr.test(A))&&A>-1&&A%1==0&&A<B}function Ku(A,B,me){if(!wc(me))return!1;var _t=typeof B;return!!("number"==_t?vs(me)&&lc(B,me.length):"string"==_t&&B in me)&&St(me[B],A)}function Zf(A,B){if(Ii(A))return!1;var me=typeof A;return!("number"!=me&&"symbol"!=me&&"boolean"!=me&&null!=A&&!Kf(A))||Pr.test(A)||!_r.test(A)||null!=B&&A in zo(B)}function Wf(A){var B=fd(A),me=En[B];if("function"!=typeof me||!(B in Os.prototype))return!1;if(A===me)return!0;var _t=Ta(me);return!!_t&&A===_t[0]}(Ps&&Mc(new Ps(new ArrayBuffer(1)))!=pr||Ul&&Mc(new Ul)!=br||eu&&Mc(eu.resolve())!=wn||mu&&Mc(new mu)!=Oi||wu&&Mc(new wu)!=Ei)&&(Mc=function(A){var B=as(A),me=B==Tt?A.constructor:a,_t=me?Sf(me):"";if(_t)switch(_t){case $c:return pr;case pu:return br;case vc:return wn;case La:return Oi;case al:return Ei}return B});var kf=yi?Wd:Jg;function rf(A){var B=A&&A.constructor;return A===("function"==typeof B&&B.prototype||kc)}function R_(A){return A==A&&!wc(A)}function x_(A,B){return function(me){return null!=me&&me[A]===B&&(B!==a||A in zo(me))}}function Yc(A,B,me){return B=Nr(B===a?A.length-1:B,0),function(){for(var _t=arguments,on=-1,Fn=Nr(_t.length-B,0),Tr=Fr(Fn);++on<Fn;)Tr[on]=_t[B+on];on=-1;for(var Jr=Fr(B+1);++on<B;)Jr[on]=_t[on];return Jr[B]=me(Tr),ua(A,this,Jr)}}function sf(A,B){return B.length<2?A:uo(A,Wc(B,0,-1))}function xp(A,B){if(("constructor"!==B||"function"!=typeof A[B])&&"__proto__"!=B)return A[B]}var wd=sh(Up),w_=ae||function(A,B){return yl.setTimeout(A,B)},wp=sh(Zc);function Rh(A,B,me){var _t=B+"";return wp(A,function rh(A,B){var me=B.length;if(!me)return A;var _t=me-1;return B[_t]=(me>1?"& ":"")+B[_t],B=B.join(me>2?", ":" "),A.replace(Ge,"{\n/* [wrapped with "+B+"] */\n")}(_t,function Vp(A,B){return uu(qt,function(me){var _t="_."+me[0];B&me[1]&&!Tl(A,_t)&&A.push(_t)}),A.sort()}(function __(A){var B=A.match(Ot);return B?B[1].split(mn):[]}(_t),me)))}function sh(A){var B=0,me=0;return function(){var _t=ao(),on=qe-(_t-me);if(me=_t,on>0){if(++B>=ct)return arguments[0]}else B=0;return A.apply(a,arguments)}}function pp(A,B){var me=-1,_t=A.length,on=_t-1;for(B=B===a?_t:B;++me<B;){var Fn=pf(me,on),Tr=A[Fn];A[Fn]=A[me],A[me]=Tr}return A.length=B,A}var Xh=function Jf(A){var B=am(A,function(_t){return 500===me.size&&me.clear(),_t}),me=B.cache;return B}(function(A){var B=[];return 46===A.charCodeAt(0)&&B.push(""),A.replace(tr,function(me,_t,on,Fn){B.push(on?Fn.replace(Ci,"$1"):_t||me)}),B});function Ef(A){if("string"==typeof A||Kf(A))return A;var B=A+"";return"0"==B&&1/A==-Pt?"-0":B}function Sf(A){if(null!=A){try{return Wl.call(A)}catch{}try{return A+""}catch{}}return""}function xh(A){if(A instanceof Os)return A.clone();var B=new Va(A.__wrapped__,A.__chain__);return B.__actions__=Yd(A.__actions__),B.__index__=A.__index__,B.__values__=A.__values__,B}var N_=Za(function(A,B){return Ks(A)?ne(A,It(B,1,Ks,!0)):[]}),wh=Za(function(A,B){var me=Cd(B);return Ks(me)&&(me=a),Ks(A)?ne(A,It(B,1,Ks,!0),Zs(me,2)):[]}),I_=Za(function(A,B){var me=Cd(B);return Ks(me)&&(me=a),Ks(A)?ne(A,It(B,1,Ks,!0),a,me):[]});function F_(A,B,me){var _t=null==A?0:A.length;if(!_t)return-1;var on=null==me?0:tu(me);return on<0&&(on=Nr(_t+on,0)),gc(A,Zs(B,3),on)}function tm(A,B,me){var _t=null==A?0:A.length;if(!_t)return-1;var on=_t-1;return me!==a&&(on=tu(me),on=me<0?Nr(_t+on,0):Mi(on,_t-1)),gc(A,Zs(B,3),on,!0)}function Ph(A){return null!=A&&A.length?It(A,1):[]}function im(A){return A&&A.length?A[0]:a}var uh=Za(function(A){var B=Ga(A,sp);return B.length&&B[0]===A[0]?dl(B):[]}),ym=Za(function(A){var B=Cd(A),me=Ga(A,sp);return B===Cd(me)?B=a:me.pop(),me.length&&me[0]===A[0]?dl(me,Zs(B,2)):[]}),Np=Za(function(A){var B=Cd(A),me=Ga(A,sp);return(B="function"==typeof B?B:a)&&me.pop(),me.length&&me[0]===A[0]?dl(me,a,B):[]});function Cd(A){var B=null==A?0:A.length;return B?A[B-1]:a}var Ih=Za(Fh);function Fh(A,B){return A&&A.length&&B&&B.length?Gf(A,B):A}var I=Td(function(A,B){var me=null==A?0:A.length,_t=od(A,B);return Hp(A,Ga(B,function(on){return lc(on,me)?+on:on}).sort(Th)),_t});function S(A){return null==A?A:ys.call(A)}var Ke=Za(function(A){return Yf(It(A,1,Ks,!0))}),xt=Za(function(A){var B=Cd(A);return Ks(B)&&(B=a),Yf(It(A,1,Ks,!0),Zs(B,2))}),_n=Za(function(A){var B=Cd(A);return B="function"==typeof B?B:a,Yf(It(A,1,Ks,!0),a,B)});function Uo(A){if(!A||!A.length)return[];var B=0;return A=Ba(A,function(me){if(Ks(me))return B=Nr(me.length,B),!0}),fi(B,function(me){return Ga(A,Vc(me))})}function Ds(A,B){if(!A||!A.length)return[];var me=Uo(A);return null==B?me:Ga(me,function(_t){return ua(B,a,_t)})}var Qi=Za(function(A,B){return Ks(A)?ne(A,B):[]}),Ls=Za(function(A){return Rd(Ba(A,Ks))}),ia=Za(function(A){var B=Cd(A);return Ks(B)&&(B=a),Rd(Ba(A,Ks),Zs(B,2))}),oa=Za(function(A){var B=Cd(A);return B="function"==typeof B?B:a,Rd(Ba(A,Ks),a,B)}),di=Za(Uo),no=Za(function(A){var B=A.length,me=B>1?A[B-1]:a;return me="function"==typeof me?(A.pop(),me):a,Ds(A,me)});function vo(A){var B=En(A);return B.__chain__=!0,B}function Us(A,B){return B(A)}var ll=Td(function(A){var B=A.length,me=B?A[0]:0,_t=this.__wrapped__,on=function(Fn){return od(Fn,A)};return!(B>1||this.__actions__.length)&&_t instanceof Os&&lc(me)?((_t=_t.slice(me,+me+(B?1:0))).__actions__.push({func:Us,args:[on],thisArg:a}),new Va(_t,this.__chain__).thru(function(Fn){return B&&!Fn.length&&Fn.push(a),Fn})):this.thru(on)}),kh=lp(function(A,B,me){Pa.call(A,me)?++A[me]:tc(A,me,1)}),fg=Qh(F_),Lm=Qh(tm);function Qf(A,B){return(Ii(A)?uu:he)(A,Zs(B,3))}function sm(A,B){return(Ii(A)?Eu:Me)(A,Zs(B,3))}var nd=lp(function(A,B,me){Pa.call(A,me)?A[me].push(B):tc(A,me,[B])}),hc=Za(function(A,B,me){var _t=-1,on="function"==typeof B,Fn=vs(A)?Fr(A.length):[];return he(A,function(Tr){Fn[++_t]=on?ua(B,Tr,me):Qu(Tr,B,me)}),Fn}),_g=lp(function(A,B,me){tc(A,me,B)});function hg(A,B){return(Ii(A)?Ga:Ys)(A,Zs(B,3))}var Es=lp(function(A,B,me){A[me?0:1].push(B)},function(){return[[],[]]}),S1=Za(function(A,B){if(null==A)return[];var me=B.length;return me>1&&Ku(A,B[0],B[1])?B=[]:me>2&&Ku(B[0],B[1],B[2])&&(B=[B[0]]),T_(A,It(B,1),[])}),Hm=le||function(){return yl.Date.now()};function mg(A,B,me){return B=me?a:B,zd(A,Te,a,a,a,a,B=A&&null==B?A.length:B)}function kg(A,B){var me;if("function"!=typeof B)throw new Uu(f);return A=tu(A),function(){return--A>0&&(me=B.apply(this,arguments)),A<=1&&(B=a),me}}var Em=Za(function(A,B,me){var _t=F;if(me.length){var on=ja(me,Tc(Em));_t|=se}return zd(A,_t,B,me,on)}),$g=Za(function(A,B,me){var _t=F|X;if(me.length){var on=ja(me,Tc($g));_t|=se}return zd(B,_t,A,me,on)});function vg(A,B,me){var _t,on,Fn,Tr,Jr,hi,Oo=0,Ao=!1,Bo=!1,Bs=!0;if("function"!=typeof A)throw new Uu(f);function Ea(Id){var Kp=_t,gp=on;return _t=on=a,Oo=Id,Tr=A.apply(gp,Kp)}function _l(Id){var Kp=Id-hi;return hi===a||Kp>=B||Kp<0||Bo&&Id-Oo>=Fn}function vu(){var Id=Hm();if(_l(Id))return Lu(Id);Jr=w_(vu,function ru(Id){var t1=B-(Id-hi);return Bo?Mi(t1,Fn-(Id-Oo)):t1}(Id))}function Lu(Id){return Jr=a,Bs&&_t?Ea(Id):(_t=on=a,Tr)}function Qp(){var Id=Hm(),Kp=_l(Id);if(_t=arguments,on=this,hi=Id,Kp){if(Jr===a)return function pl(Id){return Oo=Id,Jr=w_(vu,B),Ao?Ea(Id):Tr}(hi);if(Bo)return J_(Jr),Jr=w_(vu,B),Ea(hi)}return Jr===a&&(Jr=w_(vu,B)),Tr}return B=g_(B)||0,wc(me)&&(Ao=!!me.leading,Fn=(Bo="maxWait"in me)?Nr(g_(me.maxWait)||0,B):Fn,Bs="trailing"in me?!!me.trailing:Bs),Qp.cancel=function qf(){Jr!==a&&J_(Jr),Oo=0,_t=hi=on=Jr=a},Qp.flush=function Md(){return Jr===a?Tr:Lu(Hm())},Qp}var Hg=Za(function(A,B){return k(A,1,B)}),T1=Za(function(A,B,me){return k(A,g_(B)||0,me)});function am(A,B){if("function"!=typeof A||null!=B&&"function"!=typeof B)throw new Uu(f);var me=function(){var _t=arguments,on=B?B.apply(this,_t):_t[0],Fn=me.cache;if(Fn.has(on))return Fn.get(on);var Tr=A.apply(this,_t);return me.cache=Fn.set(on,Tr)||Fn,Tr};return me.cache=new(am.Cache||gd),me}function $h(A){if("function"!=typeof A)throw new Uu(f);return function(){var B=arguments;switch(B.length){case 0:return!A.call(this);case 1:return!A.call(this,B[0]);case 2:return!A.call(this,B[0],B[1]);case 3:return!A.call(this,B[0],B[1],B[2])}return!A.apply(this,B)}}am.Cache=gd;var lm=xd(function(A,B){var me=(B=1==B.length&&Ii(B[0])?Ga(B[0],mi(Zs())):Ga(It(B,1),mi(Zs()))).length;return Za(function(_t){for(var on=-1,Fn=Mi(_t.length,me);++on<Fn;)_t[on]=B[on].call(this,_t[on]);return ua(A,this,_t)})}),yg=Za(function(A,B){var me=ja(B,Tc(yg));return zd(A,se,a,B,me)}),M1=Za(function(A,B){var me=ja(B,Tc(M1));return zd(A,fe,a,B,me)}),Eg=Td(function(A,B){return zd(A,$e,a,a,a,B)});function St(A,B){return A===B||A!=A&&B!=B}var Kt=Yp(ma),ur=Yp(function(A,B){return A>=B}),Br=ac(function(){return arguments}())?ac:function(A){return pd(A)&&Pa.call(A,"callee")&&!Vs.call(A,"callee")},Ii=Fr.isArray,ms=oc?mi(oc):function wa(A){return pd(A)&&as(A)==mr};function vs(A){return null!=A&&mp(A.length)&&!Wd(A)}function Ks(A){return pd(A)&&vs(A)}var Xu=zt||Jg,Fu=Xl?mi(Xl):function nc(A){return pd(A)&&as(A)==Or};function Hh(A){if(!pd(A))return!1;var B=as(A);return B==ir||B==Lr||"string"==typeof A.message&&"string"==typeof A.name&&!Tm(A)}function Wd(A){if(!wc(A))return!1;var B=as(A);return B==Qr||B==jr||B==xn||B==jn}function Nd(A){return"number"==typeof A&&A==tu(A)}function mp(A){return"number"==typeof A&&A>-1&&A%1==0&&A<=it}function wc(A){var B=typeof A;return null!=A&&("object"==B||"function"==B)}function pd(A){return null!=A&&"object"==typeof A}var Sm=Ic?mi(Ic):function xc(A){return pd(A)&&Mc(A)==br};function bm(A){return"number"==typeof A||pd(A)&&as(A)==ht}function Tm(A){if(!pd(A)||as(A)!=Tt)return!1;var B=Fs(A);if(null===B)return!0;var me=Pa.call(B,"constructor")&&B.constructor;return"function"==typeof me&&me instanceof me&&Wl.call(me)==Nt}var Cm=Gs?mi(Gs):function ee(A){return pd(A)&&as(A)==hr},Tg=ku?mi(ku):function Ce(A){return pd(A)&&Mc(A)==Oi};function Mm(A){return"string"==typeof A||!Ii(A)&&pd(A)&&as(A)==Wi}function Kf(A){return"symbol"==typeof A||pd(A)&&as(A)==so}var $_=zu?mi(zu):function vt(A){return pd(A)&&mp(A.length)&&!!ds[as(A)]},ey=Yp(Gi),ty=Yp(function(A,B){return A<=B});function x1(A){if(!A)return[];if(vs(A))return Mm(A)?An(A):Yd(A);if(Ho&&A[Ho])return function Lc(Qn){for(var Gr,Fr=[];!(Gr=Qn.next()).done;)Fr.push(Gr.value);return Fr}(A[Ho]());var B=Mc(A);return(B==br?kl:B==Oi?Q:hh)(A)}function Bh(A){return A?(A=g_(A))===Pt||A===-Pt?(A<0?-1:1)*Xt:A==A?A:0:0===A?A:0}function tu(A){var B=Bh(A),me=B%1;return B==B?me?B-me:B:0}function w1(A){return A?Ed(tu(A),0,pn):0}function g_(A){if("number"==typeof A)return A;if(Kf(A))return cn;if(wc(A)){var B="function"==typeof A.valueOf?A.valueOf():A;A=wc(B)?B+"":B}if("string"!=typeof A)return 0===A?A:+A;A=Ya(A);var me=dr.test(A);return me||ti.test(A)?qu(A.slice(2),me?2:8):_s.test(A)?cn:+A}function P1(A){return Nf(A,Lp(A))}function Ac(A){return null==A?"":Sd(A)}var ny=Mp(function(A,B){if(rf(B)||vs(B))Nf(B,uf(B),A);else for(var me in B)Pa.call(B,me)&&Bl(A,me,B[me])}),ry=Mp(function(A,B){Nf(B,Lp(B),A)}),Bm=Mp(function(A,B,me,_t){Nf(B,Lp(B),A,_t)}),xv=Mp(function(A,B,me,_t){Nf(B,uf(B),A,_t)}),iy=Td(od),sy=Za(function(A,B){A=zo(A);var me=-1,_t=B.length,on=_t>2?B[2]:a;for(on&&Ku(B[0],B[1],on)&&(_t=1);++me<_t;)for(var Fn=B[me],Tr=Lp(Fn),Jr=-1,hi=Tr.length;++Jr<hi;){var Oo=Tr[Jr],Ao=A[Oo];(Ao===a||St(Ao,kc[Oo])&&!Pa.call(A,Oo))&&(A[Oo]=Fn[Oo])}return A}),wv=Za(function(A){return A.push(a,f_),ua(Cg,a,A)});function v_(A,B,me){var _t=null==A?a:uo(A,B);return _t===a?me:_t}function F1(A,B){return null!=A&&Lf(A,B,Pl)}var Pv=Oh(function(A,B,me){null!=B&&"function"!=typeof B.toString&&(B=je.call(B)),A[B]=me},Om(sd)),L1=Oh(function(A,B,me){null!=B&&"function"!=typeof B.toString&&(B=je.call(B)),Pa.call(A,B)?A[B].push(me):A[B]=[me]},Zs),_y=Za(Qu);function uf(A){return vs(A)?ni(A):yn(A)}function Lp(A){return vs(A)?ni(A,!0):function Ur(A){if(!wc(A))return function Rp(A){var B=[];if(null!=A)for(var me in zo(A))B.push(me);return B}(A);var B=rf(A),me=[];for(var _t in A)"constructor"==_t&&(B||!Pa.call(A,_t))||me.push(_t);return me}(A)}var my=Mp(function(A,B,me){nu(A,B,me)}),Cg=Mp(function(A,B,me,_t){nu(A,B,me,_t)}),Gg=Td(function(A,B){var me={};if(null==A)return me;var _t=!1;B=Ga(B,function(Fn){return Fn=Gd(Fn,A),_t||(_t=Fn.length>1),Fn}),Nf(A,zp(A),me),_t&&(me=h(me,D|U|W,Kh));for(var on=B.length;on--;)M_(me,B[on]);return me}),hS=Td(function(A,B){return null==A?{}:function Bd(A,B){return Sh(A,B,function(me,_t){return F1(A,_t)})}(A,B)});function jg(A,B){if(null==A)return{};var me=Ga(zp(A),function(_t){return[_t]});return B=Zs(B),Sh(A,me,function(_t,on){return B(_t,on[0])})}var $1=d_(uf),H1=d_(Lp);function hh(A){return null==A?[]:Hs(A,uf(A))}var yy=jf(function(A,B,me){return B=B.toLowerCase(),A+(me?Gm(B):B)});function Gm(A){return Ym(Ac(A).toLowerCase())}function kv(A){return(A=Ac(A))&&A.replace(wi,hu).replace(Ze,"")}var by=jf(function(A,B,me){return A+(me?"-":"")+B.toLowerCase()}),B1=jf(function(A,B,me){return A+(me?" ":"")+B.toLowerCase()}),Ty=mf("toLowerCase"),Oy=jf(function(A,B,me){return A+(me?"_":"")+B.toLowerCase()}),Dy=jf(function(A,B,me){return A+(me?" ":"")+Ym(B)}),yS=jf(function(A,B,me){return A+(me?" ":"")+B.toUpperCase()}),Ym=mf("toUpperCase");function jv(A,B,me){return A=Ac(A),(B=me?a:B)===a?function du(Qn){return Bi.test(Qn)}(A)?function Rr(Qn){return Qn.match(gn)||[]}(A):function nl(Qn){return Qn.match(wr)||[]}(A):A.match(B)||[]}var zv=Za(function(A,B){try{return ua(A,a,B)}catch(me){return Hh(me)?me:new Do(me)}}),j1=Td(function(A,B){return uu(B,function(me){me=Ef(me),tc(A,me,Em(A[me],A))}),A});function Om(A){return function(){return A}}var Am=nf(),Zg=nf(!0);function sd(A){return A}function Dm(A){return $t("function"==typeof A?A:h(A,D))}var zm=Za(function(A,B){return function(me){return Qu(me,A,B)}}),Vm=Za(function(A,B){return function(me){return Qu(A,me,B)}});function um(A,B,me){var _t=uf(B),on=oi(B,_t);null==me&&(!wc(B)||!on.length&&_t.length)&&(me=B,B=A,A=this,on=oi(B,uf(B)));var Fn=!(wc(me)&&"chain"in me&&!me.chain),Tr=Wd(A);return uu(on,function(Jr){var hi=B[Jr];A[Jr]=hi,Tr&&(A.prototype[Jr]=function(){var Oo=this.__chain__;if(Fn||Oo){var Ao=A(this.__wrapped__);return(Ao.__actions__=Yd(this.__actions__)).push({func:hi,args:arguments,thisArg:A}),Ao.__chain__=Oo,Ao}return hi.apply(A,dc([this.value()],arguments))})}),A}function cm(){}var Jm=A_(Ga),Vv=A_($u),Zv=A_(Ru);function z1(A){return Zf(A)?Vc(Ef(A)):function bh(A){return function(B){return uo(B,A)}}(A)}var Jv=If(),Qv=If(!0);function Wg(){return[]}function Jg(){return!1}var V1=Ap(function(A,B){return A+B},0),Z1=c_("ceil"),Qm=Ap(function(A,B){return A/B},1),Kg=c_("floor"),e0=Ap(function(A,B){return A*B},1),Mg=c_("round"),t0=Ap(function(A,B){return A-B},0);return En.after=function b1(A,B){if("function"!=typeof B)throw new Uu(f);return A=tu(A),function(){if(--A<1)return B.apply(this,arguments)}},En.ary=mg,En.assign=ny,En.assignIn=ry,En.assignInWith=Bm,En.assignWith=xv,En.at=iy,En.before=kg,En.bind=Em,En.bindAll=j1,En.bindKey=$g,En.castArray=function O1(){if(!arguments.length)return[];var A=arguments[0];return Ii(A)?A:[A]},En.chain=vo,En.chunk=function ah(A,B,me){B=(me?Ku(A,B,me):B===a)?1:Nr(tu(B),0);var _t=null==A?0:A.length;if(!_t||B<1)return[];for(var on=0,Fn=0,Tr=Fr(De(_t/B));on<_t;)Tr[Fn++]=Wc(A,on,on+=B);return Tr},En.compact=function P_(A){for(var B=-1,me=null==A?0:A.length,_t=0,on=[];++B<me;){var Fn=A[B];Fn&&(on[_t++]=Fn)}return on},En.concat=function qh(){var A=arguments.length;if(!A)return[];for(var B=Fr(A-1),me=arguments[0],_t=A;_t--;)B[_t-1]=arguments[_t];return dc(Ii(me)?Yd(me):[me],It(B,1))},En.cond=function Ny(A){var B=null==A?0:A.length,me=Zs();return A=B?Ga(A,function(_t){if("function"!=typeof _t[1])throw new Uu(f);return[me(_t[0]),_t[1]]}):[],Za(function(_t){for(var on=-1;++on<B;){var Fn=A[on];if(ua(Fn[0],this,_t))return ua(Fn[1],this,_t)}})},En.conforms=function mh(A){return function b(A){var B=uf(A);return function(me){return N(me,A,B)}}(h(A,D))},En.constant=Om,En.countBy=kh,En.create=function oy(A,B){var me=Pu(A);return null==B?me:cd(me,B)},En.curry=function Il(A,B,me){var _t=zd(A,V,a,a,a,a,a,B=me?a:B);return _t.placeholder=Il.placeholder,_t},En.curryRight=function gg(A,B,me){var _t=zd(A,ce,a,a,a,a,a,B=me?a:B);return _t.placeholder=gg.placeholder,_t},En.debounce=vg,En.defaults=sy,En.defaultsDeep=wv,En.defer=Hg,En.delay=T1,En.difference=N_,En.differenceBy=wh,En.differenceWith=I_,En.drop=function Zp(A,B,me){var _t=null==A?0:A.length;return _t?Wc(A,(B=me||B===a?1:tu(B))<0?0:B,_t):[]},En.dropRight=function Qc(A,B,me){var _t=null==A?0:A.length;return _t?Wc(A,0,(B=_t-(B=me||B===a?1:tu(B)))<0?0:B):[]},En.dropRightWhile=function em(A,B){return A&&A.length?dd(A,Zs(B,3),!0,!0):[]},En.dropWhile=function _p(A,B){return A&&A.length?dd(A,Zs(B,3),!0):[]},En.fill=function lh(A,B,me,_t){var on=null==A?0:A.length;return on?(me&&"number"!=typeof me&&Ku(A,B,me)&&(me=0,_t=on),function ft(A,B,me,_t){var on=A.length;for((me=tu(me))<0&&(me=-me>on?0:on+me),(_t=_t===a||_t>on?on:tu(_t))<0&&(_t+=on),_t=me>_t?0:w1(_t);me<_t;)A[me++]=B;return A}(A,B,me,_t)):[]},En.filter=function dg(A,B){return(Ii(A)?Ba:wt)(A,Zs(B,3))},En.flatMap=function pg(A,B){return It(hg(A,B),1)},En.flatMapDeep=function Tf(A,B){return It(hg(A,B),Pt)},En.flatMapDepth=function fh(A,B,me){return me=me===a?1:tu(me),It(hg(A,B),me)},En.flatten=Ph,En.flattenDeep=function Pp(A){return null!=A&&A.length?It(A,Pt):[]},En.flattenDepth=function nm(A,B){return null!=A&&A.length?It(A,B=B===a?1:tu(B)):[]},En.flip=function C1(A){return zd(A,ge)},En.flow=Am,En.flowRight=Zg,En.fromPairs=function rm(A){for(var B=-1,me=null==A?0:A.length,_t={};++B<me;){var on=A[B];_t[on[0]]=on[1]}return _t},En.functions=function fy(A){return null==A?[]:oi(A,uf(A))},En.functionsIn=function py(A){return null==A?[]:oi(A,Lp(A))},En.groupBy=nd,En.initial=function vd(A){return null!=A&&A.length?Wc(A,0,-1):[]},En.intersection=uh,En.intersectionBy=ym,En.intersectionWith=Np,En.invert=Pv,En.invertBy=L1,En.invokeMap=hc,En.iteratee=Dm,En.keyBy=_g,En.keys=uf,En.keysIn=Lp,En.map=hg,En.mapKeys=function k1(A,B){var me={};return B=Zs(B,3),sr(A,function(_t,on,Fn){tc(me,B(_t,on,Fn),_t)}),me},En.mapValues=function hy(A,B){var me={};return B=Zs(B,3),sr(A,function(_t,on,Fn){tc(me,on,B(_t,on,Fn))}),me},En.matches=function H_(A){return Ka(h(A,D))},En.matchesProperty=function jm(A,B){return ka(A,h(B,D))},En.memoize=am,En.merge=my,En.mergeWith=Cg,En.method=zm,En.methodOf=Vm,En.mixin=um,En.negate=$h,En.nthArg=function Wm(A){return A=tu(A),Za(function(B){return _c(B,A)})},En.omit=Gg,En.omitBy=function Yg(A,B){return jg(A,$h(Zs(B)))},En.once=function ph(A){return kg(2,A)},En.orderBy=function Iu(A,B,me,_t){return null==A?[]:(Ii(B)||(B=null==B?[]:[B]),Ii(me=_t?a:me)||(me=null==me?[]:[me]),T_(A,B,me))},En.over=Jm,En.overArgs=lm,En.overEvery=Vv,En.overSome=Zv,En.partial=yg,En.partialRight=M1,En.partition=Es,En.pick=hS,En.pickBy=jg,En.property=z1,En.propertyOf=function Wv(A){return function(B){return null==A?a:uo(A,B)}},En.pull=Ih,En.pullAll=Fh,En.pullAllBy=function cg(A,B,me){return A&&A.length&&B&&B.length?Gf(A,B,Zs(me,2)):A},En.pullAllWith=function L_(A,B,me){return A&&A.length&&B&&B.length?Gf(A,B,a,me):A},En.pullAt=I,En.range=Jv,En.rangeRight=Qv,En.rearg=Eg,En.reject=function k_(A,B){return(Ii(A)?Ba:wt)(A,$h(Zs(B,3)))},En.remove=function re(A,B){var me=[];if(!A||!A.length)return me;var _t=-1,on=[],Fn=A.length;for(B=Zs(B,3);++_t<Fn;){var Tr=A[_t];B(Tr,_t,A)&&(me.push(Tr),on.push(_t))}return Hp(A,on),me},En.rest=function Sg(A,B){if("function"!=typeof A)throw new Uu(f);return Za(A,B=B===a?B:tu(B))},En.reverse=S,En.sampleSize=function hp(A,B,me){return B=(me?Ku(A,B,me):B===a)?1:tu(B),(Ii(A)?Wo:Wa)(A,B)},En.set=function Nv(A,B,me){return null==A?A:Ec(A,B,me)},En.setWith=function Iv(A,B,me,_t){return _t="function"==typeof _t?_t:a,null==A?A:Ec(A,B,me,_t)},En.shuffle=function $m(A){return(Ii(A)?Qo:Sc)(A)},En.slice=function z(A,B,me){var _t=null==A?0:A.length;return _t?(me&&"number"!=typeof me&&Ku(A,B,me)?(B=0,me=_t):(B=null==B?0:tu(B),me=me===a?_t:tu(me)),Wc(A,B,me)):[]},En.sortBy=S1,En.sortedUniq=function Pi(A){return A&&A.length?Bp(A):[]},En.sortedUniqBy=function cs(A,B){return A&&A.length?Bp(A,Zs(B,2)):[]},En.split=function Ay(A,B,me){return me&&"number"!=typeof me&&Ku(A,B,me)&&(B=me=a),(me=me===a?pn:me>>>0)?(A=Ac(A))&&("string"==typeof B||null!=B&&!Cm(B))&&!(B=Sd(B))&&Fc(A)?bc(An(A),0,me):A.split(B,me):[]},En.spread=function _h(A,B){if("function"!=typeof A)throw new Uu(f);return B=null==B?0:Nr(tu(B),0),Za(function(me){var _t=me[B],on=bc(me,0,B);return _t&&dc(on,_t),ua(A,this,on)})},En.tail=function Yo(A){var B=null==A?0:A.length;return B?Wc(A,1,B):[]},En.take=function y(A,B,me){return A&&A.length?Wc(A,0,(B=me||B===a?1:tu(B))<0?0:B):[]},En.takeRight=function x(A,B,me){var _t=null==A?0:A.length;return _t?Wc(A,(B=_t-(B=me||B===a?1:tu(B)))<0?0:B,_t):[]},En.takeRightWhile=function Y(A,B){return A&&A.length?dd(A,Zs(B,3),!1,!0):[]},En.takeWhile=function be(A,B){return A&&A.length?dd(A,Zs(B,3)):[]},En.tap=function fl(A,B){return B(A),A},En.throttle=function Ov(A,B,me){var _t=!0,on=!0;if("function"!=typeof A)throw new Uu(f);return wc(me)&&(_t="leading"in me?!!me.leading:_t,on="trailing"in me?!!me.trailing:on),vg(A,B,{leading:_t,maxWait:B,trailing:on})},En.thru=Us,En.toArray=x1,En.toPairs=$1,En.toPairsIn=H1,En.toPath=function Ly(A){return Ii(A)?Ga(A,Ef):Kf(A)?[A]:Yd(Xh(Ac(A)))},En.toPlainObject=P1,En.transform=function U1(A,B,me){var _t=Ii(A),on=_t||Xu(A)||$_(A);if(B=Zs(B,4),null==me){var Fn=A&&A.constructor;me=on?_t?new Fn:[]:wc(A)&&Wd(Fn)?Pu(Fs(A)):{}}return(on?uu:sr)(A,function(Tr,Jr,hi){return B(me,Tr,Jr,hi)}),me},En.unary=function bg(A){return mg(A,1)},En.union=Ke,En.unionBy=xt,En.unionWith=_n,En.uniq=function In(A){return A&&A.length?Yf(A):[]},En.uniqBy=function vr(A,B){return A&&A.length?Yf(A,Zs(B,2)):[]},En.uniqWith=function Si(A,B){return B="function"==typeof B?B:a,A&&A.length?Yf(A,a,B):[]},En.unset=function Gh(A,B){return null==A||M_(A,B)},En.unzip=Uo,En.unzipWith=Ds,En.update=function zg(A,B,me){return null==A?A:bd(A,B,s_(me))},En.updateWith=function Vg(A,B,me,_t){return _t="function"==typeof _t?_t:a,null==A?A:bd(A,B,s_(me),_t)},En.values=hh,En.valuesIn=function gy(A){return null==A?[]:Hs(A,Lp(A))},En.without=Qi,En.words=jv,En.wrap=function Um(A,B){return yg(s_(B),A)},En.xor=Ls,En.xorBy=ia,En.xorWith=oa,En.zip=di,En.zipObject=function Wr(A,B){return Jc(A||[],B||[],Bl)},En.zipObjectDeep=function si(A,B){return Jc(A||[],B||[],Ec)},En.zipWith=no,En.entries=$1,En.entriesIn=H1,En.extend=ry,En.extendWith=Bm,um(En,En),En.add=V1,En.attempt=zv,En.camelCase=yy,En.capitalize=Gm,En.ceil=Z1,En.clamp=function Fv(A,B,me){return me===a&&(me=B,B=a),me!==a&&(me=(me=g_(me))==me?me:0),B!==a&&(B=(B=g_(B))==B?B:0),Ed(g_(A),B,me)},En.clone=function Av(A){return h(A,W)},En.cloneDeep=function q(A){return h(A,D|W)},En.cloneDeepWith=function j(A,B){return h(A,D|W,B="function"==typeof B?B:a)},En.cloneWith=function L(A,B){return h(A,W,B="function"==typeof B?B:a)},En.conformsTo=function Ae(A,B){return null==B||N(A,B,uf(B))},En.deburr=kv,En.defaultTo=function Xf(A,B){return null==A||A!=A?B:A},En.divide=Qm,En.endsWith=function gS(A,B,me){A=Ac(A),B=Sd(B);var _t=A.length,on=me=me===a?_t:Ed(tu(me),0,_t);return(me-=B.length)>=0&&A.slice(me,on)==B},En.eq=St,En.escape=function Ey(A){return(A=Ac(A))&&Pe.test(A)?A.replace(lt,lu):A},En.escapeRegExp=function Sy(A){return(A=Ac(A))&&nr.test(A)?A.replace(Zn,"\\$&"):A},En.every=function Fm(A,B,me){var _t=Ii(A)?$u:Qe;return me&&Ku(A,B,me)&&(B=a),_t(A,Zs(B,3))},En.find=fg,En.findIndex=F_,En.findKey=function ay(A,B){return Su(A,Zs(B,3),sr)},En.findLast=Lm,En.findLastIndex=tm,En.findLastKey=function ly(A,B){return Su(A,Zs(B,3),Dr)},En.floor=Kg,En.forEach=Qf,En.forEachRight=sm,En.forIn=function N1(A,B){return null==A?A:Cn(A,Zs(B,3),Lp)},En.forInRight=function uy(A,B){return null==A?A:er(A,Zs(B,3),Lp)},En.forOwn=function cy(A,B){return A&&sr(A,Zs(B,3))},En.forOwnRight=function dy(A,B){return A&&Dr(A,Zs(B,3))},En.get=v_,En.gt=Kt,En.gte=ur,En.has=function I1(A,B){return null!=A&&Lf(A,B,Na)},En.hasIn=F1,En.head=im,En.identity=sd,En.includes=function Zd(A,B,me,_t){A=vs(A)?A:hh(A),me=me&&!_t?tu(me):0;var on=A.length;return me<0&&(me=Nr(on+me,0)),Mm(A)?me<=on&&A.indexOf(B,me)>-1:!!on&&ql(A,B,me)>-1},En.indexOf=function Im(A,B,me){var _t=null==A?0:A.length;if(!_t)return-1;var on=null==me?0:tu(me);return on<0&&(on=Nr(_t+on,0)),ql(A,B,on)},En.inRange=function Lv(A,B,me){return B=Bh(B),me===a?(me=B,B=0):me=Bh(me),function il(A,B,me){return A>=Mi(B,me)&&A<Nr(B,me)}(A=g_(A),B,me)},En.invoke=_y,En.isArguments=Br,En.isArray=Ii,En.isArrayBuffer=ms,En.isArrayLike=vs,En.isArrayLikeObject=Ks,En.isBoolean=function Vl(A){return!0===A||!1===A||pd(A)&&as(A)==Kr},En.isBuffer=Xu,En.isDate=Fu,En.isElement=function Oc(A){return pd(A)&&1===A.nodeType&&!Tm(A)},En.isEmpty=function af(A){if(null==A)return!0;if(vs(A)&&(Ii(A)||"string"==typeof A||"function"==typeof A.splice||Xu(A)||$_(A)||Br(A)))return!A.length;var B=Mc(A);if(B==br||B==Oi)return!A.size;if(rf(A))return!yn(A).length;for(var me in A)if(Pa.call(A,me))return!1;return!0},En.isEqual=function lf(A,B){return yc(A,B)},En.isEqualWith=function m_(A,B,me){var _t=(me="function"==typeof me?me:a)?me(A,B):a;return _t===a?yc(A,B,a,me):!!_t},En.isError=Hh,En.isFinite=function Uh(A){return"number"==typeof A&&Qt(A)},En.isFunction=Wd,En.isInteger=Nd,En.isLength=mp,En.isMap=Sm,En.isMatch=function Dv(A,B){return A===B||wf(A,B,p_(B))},En.isMatchWith=function K0(A,B,me){return me="function"==typeof me?me:a,wf(A,B,p_(B),me)},En.isNaN=function Ug(A){return bm(A)&&A!=+A},En.isNative=function X0(A){if(kf(A))throw new Do("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ql(A)},En.isNil=function Bg(A){return null==A},En.isNull=function q0(A){return null===A},En.isNumber=bm,En.isObject=wc,En.isObjectLike=pd,En.isPlainObject=Tm,En.isRegExp=Cm,En.isSafeInteger=function A1(A){return Nd(A)&&A>=-it&&A<=it},En.isSet=Tg,En.isString=Mm,En.isSymbol=Kf,En.isTypedArray=$_,En.isUndefined=function D1(A){return A===a},En.isWeakMap=function Rv(A){return pd(A)&&Mc(A)==Ei},En.isWeakSet=function R1(A){return pd(A)&&"[object WeakSet]"==as(A)},En.join=function ch(A,B){return null==A?"":Gn.call(A,B)},En.kebabCase=by,En.last=Cd,En.lastIndexOf=function om(A,B,me){var _t=null==A?0:A.length;if(!_t)return-1;var on=_t;return me!==a&&(on=(on=tu(me))<0?Nr(_t+on,0):Mi(on,_t-1)),B==B?function Xe(Qn,Gr,Fr){for(var Ui=Fr+1;Ui--;)if(Qn[Ui]===Gr)return Ui;return Ui}(A,B,on):gc(A,Dc,on,!0)},En.lowerCase=B1,En.lowerFirst=Ty,En.lt=ey,En.lte=ty,En.max=function Xg(A){return A&&A.length?Re(A,sd,ma):a},En.maxBy=function W1(A,B){return A&&A.length?Re(A,Zs(B,2),ma):a},En.mean=function qv(A){return zs(A,sd)},En.meanBy=function qg(A,B){return zs(A,Zs(B,2))},En.min=function e1(A){return A&&A.length?Re(A,sd,Gi):a},En.minBy=function J1(A,B){return A&&A.length?Re(A,Zs(B,2),Gi):a},En.stubArray=Wg,En.stubFalse=Jg,En.stubObject=function Kv(){return{}},En.stubString=function Iy(){return""},En.stubTrue=function Fy(){return!0},En.multiply=e0,En.nth=function Nh(A,B){return A&&A.length?_c(A,tu(B)):a},En.noConflict=function Zm(){return yl._===this&&(yl._=tt),this},En.noop=cm,En.now=Hm,En.pad=function Cy(A,B,me){A=Ac(A);var _t=(B=tu(B))?Gt(A):0;if(!B||_t>=B)return A;var on=(B-_t)/2;return Dp(Ve(on),me)+A+Dp(De(on),me)},En.padEnd=function $v(A,B,me){A=Ac(A);var _t=(B=tu(B))?Gt(A):0;return B&&_t<B?A+Dp(B-_t,me):A},En.padStart=function Hv(A,B,me){A=Ac(A);var _t=(B=tu(B))?Gt(A):0;return B&&_t<B?Dp(B-_t,me)+A:A},En.parseInt=function G1(A,B,me){return me||null==B?B=0:B&&(B=+B),Jo(Ac(A).replace(Zt,""),B||0)},En.random=function vy(A,B,me){if(me&&"boolean"!=typeof me&&Ku(A,B,me)&&(B=me=a),me===a&&("boolean"==typeof B?(me=B,B=a):"boolean"==typeof A&&(me=A,A=a)),A===a&&B===a?(A=0,B=1):(A=Bh(A),B===a?(B=A,A=0):B=Bh(B)),A>B){var _t=A;A=B,B=_t}if(me||A%1||B%1){var on=rs();return Mi(A+on*(B-A+Nc("1e-"+((on+"").length-1))),B)}return pf(A,B)},En.reduce=function gu(A,B,me){var _t=Ii(A)?cu:pt,on=arguments.length<3;return _t(A,Zs(B,4),me,on,he)},En.reduceRight=function km(A,B,me){var _t=Ii(A)?Sa:pt,on=arguments.length<3;return _t(A,Zs(B,4),me,on,Me)},En.repeat=function My(A,B,me){return B=(me?Ku(A,B,me):B===a)?1:tu(B),op(Ac(A),B)},En.replace=function Y1(){var A=arguments,B=Ac(A[0]);return A.length<3?B:B.replace(A[1],A[2])},En.result=function mS(A,B,me){var _t=-1,on=(B=Gd(B,A)).length;for(on||(on=1,A=a);++_t<on;){var Fn=null==A?a:A[Ef(B[_t])];Fn===a&&(_t=on,Fn=me),A=Wd(Fn)?Fn.call(A):Fn}return A},En.round=Mg,En.runInContext=Qn,En.sample=function Pd(A){return(Ii(A)?zi:_f)(A)},En.size=function Fp(A){if(null==A)return 0;if(vs(A))return Mm(A)?Gt(A):A.length;var B=Mc(A);return B==br||B==Oi?A.size:yn(A).length},En.snakeCase=Oy,En.some=function Lg(A,B,me){var _t=Ii(A)?Ru:o_;return me&&Ku(A,B,me)&&(B=a),_t(A,Zs(B,3))},En.sortedIndex=function Oe(A,B){return Cp(A,B)},En.sortedIndexBy=function ut(A,B,me){return Pf(A,B,Zs(me,2))},En.sortedIndexOf=function On(A,B){var me=null==A?0:A.length;if(me){var _t=Cp(A,B);if(_t<me&&St(A[_t],B))return _t}return-1},En.sortedLastIndex=function Ar(A,B){return Cp(A,B,!0)},En.sortedLastIndexBy=function ri(A,B,me){return Pf(A,B,Zs(me,2),!0)},En.sortedLastIndexOf=function Di(A,B){if(null!=A&&A.length){var _t=Cp(A,B,!0)-1;if(St(A[_t],B))return _t}return-1},En.startCase=Dy,En.startsWith=function Ry(A,B,me){return A=Ac(A),me=null==me?0:Ed(tu(me),0,A.length),B=Sd(B),A.slice(me,me+B.length)==B},En.subtract=t0,En.sum=function n0(A){return A&&A.length?en(A,sd):0},En.sumBy=function Q1(A,B){return A&&A.length?en(A,Zs(B,2)):0},En.template=function xy(A,B,me){var _t=En.templateSettings;me&&Ku(A,B,me)&&(B=a),A=Ac(A),B=Bm({},B,_t,nh);var Jr,hi,on=Bm({},B.imports,_t.imports,nh),Fn=uf(on),Tr=Hs(on,Fn),Oo=0,Ao=B.interpolate||ji,Bo="__p += '",Bs=$l((B.escape||ji).source+"|"+Ao.source+"|"+(Ao===Pn?Ai:ji).source+"|"+(B.evaluate||ji).source+"|$","g"),Ea="//# sourceURL="+(Pa.call(B,"sourceURL")?(B.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ws+"]")+"\n";A.replace(Bs,function(_l,vu,Lu,qf,Md,Qp){return Lu||(Lu=qf),Bo+=A.slice(Oo,Qp).replace(Vi,id),vu&&(Jr=!0,Bo+="' +\n__e("+vu+") +\n'"),Md&&(hi=!0,Bo+="';\n"+Md+";\n__p += '"),Lu&&(Bo+="' +\n((__t = ("+Lu+")) == null ? '' : __t) +\n'"),Oo=Qp+_l.length,_l}),Bo+="';\n";var pl=Pa.call(B,"variable")&&B.variable;if(pl){if(Ti.test(pl))throw new Do("Invalid `variable` option passed into `_.template`")}else Bo="with (obj) {\n"+Bo+"\n}\n";Bo=(hi?Bo.replace(Ie,""):Bo).replace(et,"$1").replace(ze,"$1;"),Bo="function("+(pl||"obj")+") {\n"+(pl?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Jr?", __e = _.escape":"")+(hi?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Bo+"return __p\n}";var ru=zv(function(){return Fa(Fn,Ea+"return "+Bo).apply(a,Tr)});if(ru.source=Bo,Hh(ru))throw ru;return ru},En.times=function Xv(A,B){if((A=tu(A))<1||A>it)return[];var me=pn,_t=Mi(A,pn);B=Zs(B),A-=pn;for(var on=fi(_t,B);++me<A;)B(me);return on},En.toFinite=Bh,En.toInteger=tu,En.toLength=w1,En.toLower=function wy(A){return Ac(A).toLowerCase()},En.toNumber=g_,En.toSafeInteger=function Jp(A){return A?Ed(tu(A),-it,it):0===A?A:0},En.toString=Ac,En.toUpper=function Uv(A){return Ac(A).toUpperCase()},En.trim=function Bv(A,B,me){if((A=Ac(A))&&(me||B===a))return Ya(A);if(!A||!(B=Sd(B)))return A;var _t=An(A),on=An(B);return bc(_t,Hu(_t,on),zl(_t,on)+1).join("")},En.trimEnd=function Gv(A,B,me){if((A=Ac(A))&&(me||B===a))return A.slice(0,kn(A)+1);if(!A||!(B=Sd(B)))return A;var _t=An(A);return bc(_t,0,zl(_t,An(B))+1).join("")},En.trimStart=function Py(A,B,me){if((A=Ac(A))&&(me||B===a))return A.replace(Zt,"");if(!A||!(B=Sd(B)))return A;var _t=An(A);return bc(_t,Hu(_t,An(B))).join("")},En.truncate=function vS(A,B){var me=30,_t="...";if(wc(B)){var on="separator"in B?B.separator:on;me="length"in B?tu(B.length):me,_t="omission"in B?Sd(B.omission):_t}var Fn=(A=Ac(A)).length;if(Fc(A)){var Tr=An(A);Fn=Tr.length}if(me>=Fn)return A;var Jr=me-Gt(_t);if(Jr<1)return _t;var hi=Tr?bc(Tr,0,Jr).join(""):A.slice(0,Jr);if(on===a)return hi+_t;if(Tr&&(Jr+=hi.length-Jr),Cm(on)){if(A.slice(Jr).search(on)){var Oo,Ao=hi;for(on.global||(on=$l(on.source,Ac(Ko.exec(on))+"g")),on.lastIndex=0;Oo=on.exec(Ao);)var Bo=Oo.index;hi=hi.slice(0,Bo===a?Jr:Bo)}}else if(A.indexOf(Sd(on),Jr)!=Jr){var Bs=hi.lastIndexOf(on);Bs>-1&&(hi=hi.slice(0,Bs))}return hi+_t},En.unescape=function Yv(A){return(A=Ac(A))&&Rt.test(A)?A.replace(an,Hr):A},En.uniqueId=function Qg(A){var B=++fc;return Ac(A)+B},En.upperCase=yS,En.upperFirst=Ym,En.each=Qf,En.eachRight=sm,En.first=im,um(En,function(){var A={};return sr(En,function(B,me){Pa.call(En.prototype,me)||(A[me]=B)}),A}(),{chain:!1}),En.VERSION="4.17.21",uu(["bind","bindKey","curry","curryRight","partial","partialRight"],function(A){En[A].placeholder=En}),uu(["drop","take"],function(A,B){Os.prototype[A]=function(me){me=me===a?1:Nr(tu(me),0);var _t=this.__filtered__&&!B?new Os(this):this.clone();return _t.__filtered__?_t.__takeCount__=Mi(me,_t.__takeCount__):_t.__views__.push({size:Mi(me,pn),type:A+(_t.__dir__<0?"Right":"")}),_t},Os.prototype[A+"Right"]=function(me){return this.reverse()[A](me).reverse()}}),uu(["filter","map","takeWhile"],function(A,B){var me=B+1,_t=1==me||3==me;Os.prototype[A]=function(on){var Fn=this.clone();return Fn.__iteratees__.push({iteratee:Zs(on,3),type:me}),Fn.__filtered__=Fn.__filtered__||_t,Fn}}),uu(["head","last"],function(A,B){var me="take"+(B?"Right":"");Os.prototype[A]=function(){return this[me](1).value()[0]}}),uu(["initial","tail"],function(A,B){var me="drop"+(B?"":"Right");Os.prototype[A]=function(){return this.__filtered__?new Os(this):this[me](1)}}),Os.prototype.compact=function(){return this.filter(sd)},Os.prototype.find=function(A){return this.filter(A).head()},Os.prototype.findLast=function(A){return this.reverse().find(A)},Os.prototype.invokeMap=Za(function(A,B){return"function"==typeof A?new Os(this):this.map(function(me){return Qu(me,A,B)})}),Os.prototype.reject=function(A){return this.filter($h(Zs(A)))},Os.prototype.slice=function(A,B){A=tu(A);var me=this;return me.__filtered__&&(A>0||B<0)?new Os(me):(A<0?me=me.takeRight(-A):A&&(me=me.drop(A)),B!==a&&(me=(B=tu(B))<0?me.dropRight(-B):me.take(B-A)),me)},Os.prototype.takeRightWhile=function(A){return this.reverse().takeWhile(A).reverse()},Os.prototype.toArray=function(){return this.take(pn)},sr(Os.prototype,function(A,B){var me=/^(?:filter|find|map|reject)|While$/.test(B),_t=/^(?:head|last)$/.test(B),on=En[_t?"take"+("last"==B?"Right":""):B],Fn=_t||/^find/.test(B);on&&(En.prototype[B]=function(){var Tr=this.__wrapped__,Jr=_t?[1]:arguments,hi=Tr instanceof Os,Oo=Jr[0],Ao=hi||Ii(Tr),Bo=function(vu){var Lu=on.apply(En,dc([vu],Jr));return _t&&Bs?Lu[0]:Lu};Ao&&me&&"function"==typeof Oo&&1!=Oo.length&&(hi=Ao=!1);var Bs=this.__chain__,pl=Fn&&!Bs,ru=hi&&!this.__actions__.length;if(!Fn&&Ao){Tr=ru?Tr:new Os(this);var _l=A.apply(Tr,Jr);return _l.__actions__.push({func:Us,args:[Bo],thisArg:a}),new Va(_l,Bs)}return pl&&ru?A.apply(this,Jr):(_l=this.thru(Bo),pl?_t?_l.value()[0]:_l.value():_l)})}),uu(["pop","push","shift","sort","splice","unshift"],function(A){var B=Xc[A],me=/^(?:push|sort|unshift)$/.test(A)?"tap":"thru",_t=/^(?:pop|shift)$/.test(A);En.prototype[A]=function(){var on=arguments;if(_t&&!this.__chain__){var Fn=this.value();return B.apply(Ii(Fn)?Fn:[],on)}return this[me](function(Tr){return B.apply(Ii(Tr)?Tr:[],on)})}}),sr(Os.prototype,function(A,B){var me=En[B];if(me){var _t=me.name+"";Pa.call(qc,_t)||(qc[_t]=[]),qc[_t].push({name:B,func:me})}}),qc[Op(a,X).name]=[{name:"wrapper",func:a}],Os.prototype.clone=function Cu(){var A=new Os(this.__wrapped__);return A.__actions__=Yd(this.__actions__),A.__dir__=this.__dir__,A.__filtered__=this.__filtered__,A.__iteratees__=Yd(this.__iteratees__),A.__takeCount__=this.__takeCount__,A.__views__=Yd(this.__views__),A},Os.prototype.reverse=function ld(){if(this.__filtered__){var A=new Os(this);A.__dir__=-1,A.__filtered__=!0}else(A=this.clone()).__dir__*=-1;return A},Os.prototype.value=function Hc(){var A=this.__wrapped__.value(),B=this.__dir__,me=Ii(A),_t=B<0,on=me?A.length:0,Fn=function Ff(A,B,me){for(var _t=-1,on=me.length;++_t<on;){var Fn=me[_t],Tr=Fn.size;switch(Fn.type){case"drop":A+=Tr;break;case"dropRight":B-=Tr;break;case"take":B=Mi(B,A+Tr);break;case"takeRight":A=Nr(A,B-Tr)}}return{start:A,end:B}}(0,on,this.__views__),Tr=Fn.start,Jr=Fn.end,hi=Jr-Tr,Oo=_t?Jr:Tr-1,Ao=this.__iteratees__,Bo=Ao.length,Bs=0,Ea=Mi(hi,this.__takeCount__);if(!me||!_t&&on==hi&&Ea==hi)return td(A,this.__actions__);var pl=[];e:for(;hi--&&Bs<Ea;){for(var ru=-1,_l=A[Oo+=B];++ru<Bo;){var vu=Ao[ru],qf=vu.type,Md=(0,vu.iteratee)(_l);if(2==qf)_l=Md;else if(!Md){if(1==qf)continue e;break e}}pl[Bs++]=_l}return pl},En.prototype.at=ll,En.prototype.chain=function Cl(){return vo(this)},En.prototype.commit=function Ia(){return new Va(this.value(),this.__chain__)},En.prototype.next=function bf(){this.__values__===a&&(this.__values__=x1(this.value()));var A=this.__index__>=this.__values__.length;return{done:A,value:A?a:this.__values__[this.__index__++]}},En.prototype.plant=function Wp(A){for(var B,me=this;me instanceof za;){var _t=xh(me);_t.__index__=0,_t.__values__=a,B?on.__wrapped__=_t:B=_t;var on=_t;me=me.__wrapped__}return on.__wrapped__=A,B},En.prototype.reverse=function Lh(){var A=this.__wrapped__;if(A instanceof Os){var B=A;return this.__actions__.length&&(B=new Os(this)),(B=B.reverse()).__actions__.push({func:Us,args:[S],thisArg:a}),new Va(B,this.__chain__)}return this.thru(S)},En.prototype.toJSON=En.prototype.valueOf=En.prototype.value=function dh(){return td(this.__wrapped__,this.__actions__)},En.prototype.first=En.prototype.head,Ho&&(En.prototype[Ho]=function Ip(){return this}),En}();yl._=Io,(r=function(){return Io}.call(C,s,C,E))!==a&&(E.exports=r)}.call(this)},97425:(E,C,s)=>{var r=s(93177),a="Expected a function";function c(u,e){if("function"!=typeof u||null!=e&&"function"!=typeof e)throw new TypeError(a);var f=function(){var m=arguments,T=e?e.apply(this,m):m[0],M=f.cache;if(M.has(T))return M.get(T);var w=u.apply(this,m);return f.cache=M.set(T,w)||M,w};return f.cache=new(c.Cache||r),f}c.Cache=r,E.exports=c},3912:(E,C,s)=>{var r=s(9085),c=s(30906)(function(u,e,f){r(u,e,f)});E.exports=c},30765:(E,C,s)=>{var r=s(27038);E.exports=function(){return r.Date.now()}},12482:(E,C,s)=>{var r=s(14992),a=s(77007),c=s(72064),u=s(64667),e=s(11694),f=s(925),m=s(10058),T=s(51675),U=m(function(W,$){var J={};if(null==W)return J;var F=!1;$=r($,function(de){return de=u(de,W),F||(F=de.length>1),de}),e(W,T(W),J),F&&(J=a(J,7,f));for(var X=$.length;X--;)c(J,$[X]);return J});E.exports=U},63354:(E,C,s)=>{var r=s(68840),a=s(59866),c=s(99743),u=s(82773);E.exports=function e(f){return c(f)?r(u(f)):a(f)}},86101:(E,C,s)=>{var r=s(89731),a=s(59026),c=s(5245),u=s(85105),e=s(81690);E.exports=function f(m,T,M){var w=e(m)?r:u,D=arguments.length<3;return w(m,c(T,4),M,D,a)}},12666:(E,C,s)=>{var r=s(32773);E.exports=function a(c,u,e){return null==c?c:r(c,u,e)}},52190:(E,C,s)=>{var r=s(8141),a=s(5245),c=s(37834),u=s(81690),e=s(71100);E.exports=function f(m,T,M){var w=u(m)?r:c;return M&&e(m,T,M)&&(T=void 0),w(m,a(T,3))}},65336:E=>{E.exports=function C(){return[]}},61711:E=>{E.exports=function C(){return!1}},5152:(E,C,s)=>{var r=s(45038),a=1/0;E.exports=function u(e){return e?(e=r(e))===a||e===-a?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},32781:(E,C,s)=>{var r=s(5152);E.exports=function a(c){var u=r(c),e=u%1;return u==u?e?u-e:u:0}},69883:(E,C,s)=>{var r=s(41233);E.exports=function a(c){return r(c).toLowerCase()}},45038:(E,C,s)=>{var r=s(13743),a=s(53867),c=s(7786),e=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,m=/^0o[0-7]+$/i,T=parseInt;E.exports=function M(w){if("number"==typeof w)return w;if(c(w))return NaN;if(a(w)){var D="function"==typeof w.valueOf?w.valueOf():w;w=a(D)?D+"":D}if("string"!=typeof w)return 0===w?w:+w;w=r(w);var U=f.test(w);return U||m.test(w)?T(w.slice(2),U?2:8):e.test(w)?NaN:+w}},31413:(E,C,s)=>{var r=s(11694),a=s(42970);E.exports=function c(u){return r(u,a(u))}},41233:(E,C,s)=>{var r=s(68166);E.exports=function a(c){return null==c?"":r(c)}},93890:(E,C,s)=>{var a=s(66803)("toUpperCase");E.exports=a},96590:(E,C,s)=>{var r=s(54561),a=s(59316),c=s(41233),u=s(58863);E.exports=function e(f,m,T){return f=c(f),void 0===(m=T?void 0:m)?a(f)?u(f):r(f):f.match(m)||[]}},31507:(E,C,s)=>{var r=s(23898),a=s(25687);E.exports=function c(u,e){return a(u||[],e||[],r)}},74538:(E,C,s)=>{"use strict";var r=s(7856),a=s(11926);C.highlight=u,C.highlightAuto=function e(X,de){var $e,ge,Et,ot,V=de||{},ce=V.subset||r.listLanguages(),se=V.prefix,fe=ce.length,Te=-1;if(null==se&&(se=c),"string"!=typeof X)throw a("Expected `string` for value, got `%s`",X);for(ge={relevance:0,language:null,value:[]},$e={relevance:0,language:null,value:[]};++Te<fe;)r.getLanguage(ot=ce[Te])&&((Et=u(ot,X,de)).language=ot,Et.relevance>ge.relevance&&(ge=Et),Et.relevance>$e.relevance&&(ge=$e,$e=Et));return ge.language&&($e.secondBest=ge),$e},C.registerLanguage=function f(X,de){r.registerLanguage(X,de)},C.listLanguages=function m(){return r.listLanguages()},C.registerAlias=function T(X,de){var ce,V=X;for(ce in de&&((V={})[X]=de),V)r.registerAliases(V[ce],{languageName:ce})},M.prototype.addText=function U(X){var V,ce,de=this.stack;""!==X&&((ce=(V=de[de.length-1]).children[V.children.length-1])&&"text"===ce.type?ce.value+=X:V.children.push({type:"text",value:X}))},M.prototype.addKeyword=function w(X,de){this.openNode(de),this.addText(X),this.closeNode()},M.prototype.addSublanguage=function D(X,de){var V=this.stack,ce=V[V.length-1],se=X.rootNode.children;ce.children=ce.children.concat(de?{type:"element",tagName:"span",properties:{className:[de]},children:se}:se)},M.prototype.openNode=function W(X){var de=this.stack,se={type:"element",tagName:"span",properties:{className:[this.options.classPrefix+X]},children:[]};de[de.length-1].children.push(se),de.push(se)},M.prototype.closeNode=function $(){this.stack.pop()},M.prototype.closeAllNodes=F,M.prototype.finalize=F,M.prototype.toHTML=function J(){return""};var c="hljs-";function u(X,de,V){var Te,ce=r.configure({}),fe=(V||{}).prefix;if("string"!=typeof X)throw a("Expected `string` for name, got `%s`",X);if(!r.getLanguage(X))throw a("Unknown language: `%s` is not registered",X);if("string"!=typeof de)throw a("Expected `string` for value, got `%s`",de);if(null==fe&&(fe=c),r.configure({__emitter:M,classPrefix:fe}),Te=r.highlight(de,{language:X,ignoreIllegals:!0}),r.configure(ce||{}),Te.errorRaised)throw Te.errorRaised;return{relevance:Te.relevance,language:Te.language,value:Te.emitter.rootNode.children}}function M(X){this.options=X,this.rootNode={children:[]},this.stack=[this.rootNode]}function F(){}},26431:function(E,C,s){!function(r){"use strict";r.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(c){return/^nm$/i.test(c)},meridiem:function(c,u,e){return c<12?e?"vm":"VM":e?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(c){return c+(1===c||8===c||c>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(16738))},1616:function(E,C,s){!function(r){"use strict";var a=function(m){return 0===m?0:1===m?1:2===m?2:m%100>=3&&m%100<=10?3:m%100>=11?4:5},c={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},u=function(m){return function(T,M,w,D){var U=a(T),W=c[m][a(T)];return 2===U&&(W=W[M?0:1]),W.replace(/%d/i,T)}},e=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];r.defineLocale("ar-dz",{months:e,monthsShort:e,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(m){return"\u0645"===m},meridiem:function(m,T,M){return m<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:u("s"),ss:u("s"),m:u("m"),mm:u("m"),h:u("h"),hh:u("h"),d:u("d"),dd:u("d"),M:u("M"),MM:u("M"),y:u("y"),yy:u("y")},postformat:function(m){return m.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(s(16738))},9759:function(E,C,s){!function(r){"use strict";r.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(s(16738))},43160:function(E,C,s){!function(r){"use strict";var a={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},c=function(T){return 0===T?0:1===T?1:2===T?2:T%100>=3&&T%100<=10?3:T%100>=11?4:5},u={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},e=function(T){return function(M,w,D,U){var W=c(M),$=u[T][c(M)];return 2===W&&($=$[w?0:1]),$.replace(/%d/i,M)}},f=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];r.defineLocale("ar-ly",{months:f,monthsShort:f,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(T){return"\u0645"===T},meridiem:function(T,M,w){return T<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:e("s"),ss:e("s"),m:e("m"),mm:e("m"),h:e("h"),hh:e("h"),d:e("d"),dd:e("d"),M:e("M"),MM:e("M"),y:e("y"),yy:e("y")},preparse:function(T){return T.replace(/\u060c/g,",")},postformat:function(T){return T.replace(/\d/g,function(M){return a[M]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(s(16738))},62551:function(E,C,s){!function(r){"use strict";r.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(s(16738))},79989:function(E,C,s){!function(r){"use strict";var a={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},c={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};r.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,f,m){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(f){return c[f]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(s(16738))},6962:function(E,C,s){!function(r){"use strict";r.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(s(16738))},81286:function(E,C,s){!function(r){"use strict";var a={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},c={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},u=function(M){return 0===M?0:1===M?1:2===M?2:M%100>=3&&M%100<=10?3:M%100>=11?4:5},e={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},f=function(M){return function(w,D,U,W){var $=u(w),J=e[M][u(w)];return 2===$&&(J=J[D?0:1]),J.replace(/%d/i,w)}},m=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];r.defineLocale("ar",{months:m,monthsShort:m,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(M){return"\u0645"===M},meridiem:function(M,w,D){return M<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:f("s"),ss:f("s"),m:f("m"),mm:f("m"),h:f("h"),hh:f("h"),d:f("d"),dd:f("d"),M:f("M"),MM:f("M"),y:f("y"),yy:f("y")},preparse:function(M){return M.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(w){return c[w]}).replace(/\u060c/g,",")},postformat:function(M){return M.replace(/\d/g,function(w){return a[w]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(s(16738))},15887:function(E,C,s){!function(r){"use strict";var a={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};r.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(u){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(u)},meridiem:function(u,e,f){return u<4?"gec\u0259":u<12?"s\u0259h\u0259r":u<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(u){if(0===u)return u+"-\u0131nc\u0131";var e=u%10;return u+(a[e]||a[u%100-e]||a[u>=100?100:null])},week:{dow:1,doy:7}})}(s(16738))},14572:function(E,C,s){!function(r){"use strict";function c(e,f,m){return"m"===m?f?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===m?f?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+function a(e,f){var m=e.split("_");return f%10==1&&f%100!=11?m[0]:f%10>=2&&f%10<=4&&(f%100<10||f%100>=20)?m[1]:m[2]}({ss:f?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:f?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:f?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[m],+e)}r.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:c,mm:c,h:c,hh:c,d:"\u0434\u0437\u0435\u043d\u044c",dd:c,M:"\u043c\u0435\u0441\u044f\u0446",MM:c,y:"\u0433\u043e\u0434",yy:c},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,f,m){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,f){switch(f){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(s(16738))},3276:function(E,C,s){!function(r){"use strict";r.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(c){var u=c%10,e=c%100;return 0===c?c+"-\u0435\u0432":0===e?c+"-\u0435\u043d":e>10&&e<20?c+"-\u0442\u0438":1===u?c+"-\u0432\u0438":2===u?c+"-\u0440\u0438":7===u||8===u?c+"-\u043c\u0438":c+"-\u0442\u0438"},week:{dow:1,doy:7}})}(s(16738))},93344:function(E,C,s){!function(r){"use strict";r.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(s(16738))},83990:function(E,C,s){!function(r){"use strict";var a={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},c={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};r.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(f){return c[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(e,f){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===f?e<4?e:e+12:"\u09ad\u09cb\u09b0"===f||"\u09b8\u0995\u09be\u09b2"===f?e:"\u09a6\u09c1\u09aa\u09c1\u09b0"===f?e>=3?e:e+12:"\u09ac\u09bf\u0995\u09be\u09b2"===f||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===f?e+12:void 0},meridiem:function(e,f,m){return e<4?"\u09b0\u09be\u09a4":e<6?"\u09ad\u09cb\u09b0":e<12?"\u09b8\u0995\u09be\u09b2":e<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<18?"\u09ac\u09bf\u0995\u09be\u09b2":e<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(s(16738))},58985:function(E,C,s){!function(r){"use strict";var a={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},c={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};r.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(f){return c[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,f){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===f&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===f&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===f?e+12:e},meridiem:function(e,f,m){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(s(16738))},94391:function(E,C,s){!function(r){"use strict";var a={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},c={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};r.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(f){return c[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,f){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===f&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===f&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===f?e+12:e},meridiem:function(e,f,m){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(s(16738))},46728:function(E,C,s){!function(r){"use strict";function a(J,F,X){return J+" "+function e(J,F){return 2===F?function f(J){var F={m:"v",b:"v",d:"z"};return void 0===F[J.charAt(0)]?J:F[J.charAt(0)]+J.substring(1)}(J):J}({mm:"munutenn",MM:"miz",dd:"devezh"}[X],J)}function u(J){return J>9?u(J%10):J}var m=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],T=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,W=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];r.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:W,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:W,monthsRegex:T,monthsShortRegex:T,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:m,longMonthsParse:m,shortMonthsParse:m,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:a,h:"un eur",hh:"%d eur",d:"un devezh",dd:a,M:"ur miz",MM:a,y:"ur bloaz",yy:function c(J){switch(u(J)){case 1:case 3:case 4:case 5:case 9:return J+" bloaz";default:return J+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(J){return J+(1===J?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(J){return"g.m."===J},meridiem:function(J,F,X){return J<12?"a.m.":"g.m."}})}(s(16738))},5536:function(E,C,s){!function(r){"use strict";function a(u,e,f){var m=u+" ";switch(f){case"ss":return m+(1===u?"sekunda":2===u||3===u||4===u?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return m+(1===u?"minuta":2===u||3===u||4===u?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return m+(1===u?"sat":2===u||3===u||4===u?"sata":"sati");case"dd":return m+(1===u?"dan":"dana");case"MM":return m+(1===u?"mjesec":2===u||3===u||4===u?"mjeseca":"mjeseci");case"yy":return m+(1===u?"godina":2===u||3===u||4===u?"godine":"godina")}}r.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:a,m:a,mm:a,h:a,hh:a,d:"dan",dd:a,M:"mjesec",MM:a,y:"godinu",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(16738))},41043:function(E,C,s){!function(r){"use strict";r.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(c,u){var e=1===c?"r":2===c?"n":3===c?"r":4===c?"t":"\xe8";return("w"===u||"W"===u)&&(e="a"),c+e},week:{dow:1,doy:4}})}(s(16738))},70420:function(E,C,s){!function(r){"use strict";var a={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},c="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),u=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],e=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function f(M){return M>1&&M<5&&1!=~~(M/10)}function m(M,w,D,U){var W=M+" ";switch(D){case"s":return w||U?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return w||U?W+(f(M)?"sekundy":"sekund"):W+"sekundami";case"m":return w?"minuta":U?"minutu":"minutou";case"mm":return w||U?W+(f(M)?"minuty":"minut"):W+"minutami";case"h":return w?"hodina":U?"hodinu":"hodinou";case"hh":return w||U?W+(f(M)?"hodiny":"hodin"):W+"hodinami";case"d":return w||U?"den":"dnem";case"dd":return w||U?W+(f(M)?"dny":"dn\xed"):W+"dny";case"M":return w||U?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return w||U?W+(f(M)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):W+"m\u011bs\xedci";case"y":return w||U?"rok":"rokem";case"yy":return w||U?W+(f(M)?"roky":"let"):W+"lety"}}r.defineLocale("cs",{months:a,monthsShort:c,monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:m,ss:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},33513:function(E,C,s){!function(r){"use strict";r.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(c){return c+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(c)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(c)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(s(16738))},6771:function(E,C,s){!function(r){"use strict";r.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(c){var e="";return c>20?e=40===c||50===c||60===c||80===c||100===c?"fed":"ain":c>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][c]),c+e},week:{dow:1,doy:4}})}(s(16738))},47978:function(E,C,s){!function(r){"use strict";r.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},25204:function(E,C,s){!function(r){"use strict";function a(u,e,f,m){var T={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return e?T[f][0]:T[f][1]}r.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},2653:function(E,C,s){!function(r){"use strict";function a(u,e,f,m){var T={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return e?T[f][0]:T[f][1]}r.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},46061:function(E,C,s){!function(r){"use strict";function a(u,e,f,m){var T={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[u+" Tage",u+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[u+" Monate",u+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[u+" Jahre",u+" Jahren"]};return e?T[f][0]:T[f][1]}r.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:a,mm:"%d Minuten",h:a,hh:"%d Stunden",d:a,dd:a,w:a,ww:"%d Wochen",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},85:function(E,C,s){!function(r){"use strict";var a=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],c=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];r.defineLocale("dv",{months:a,monthsShort:a,weekdays:c,weekdaysShort:c,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,f,m){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(s(16738))},8579:function(E,C,s){!function(r){"use strict";r.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(u,e){return u?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[u.month()]:this._monthsNominativeEl[u.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(u,e,f){return u>11?f?"\u03bc\u03bc":"\u039c\u039c":f?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(u){return"\u03bc"===(u+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(u,e){var f=this._calendarEl[u],m=e&&e.hours();return function a(u){return typeof Function<"u"&&u instanceof Function||"[object Function]"===Object.prototype.toString.call(u)}(f)&&(f=f.apply(e)),f.replace("{}",m%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(s(16738))},25724:function(E,C,s){!function(r){"use strict";r.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(c){var u=c%10;return c+(1==~~(c%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:0,doy:4}})}(s(16738))},10525:function(E,C,s){!function(r){"use strict";r.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(c){var u=c%10;return c+(1==~~(c%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")}})}(s(16738))},52847:function(E,C,s){!function(r){"use strict";r.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(c){var u=c%10;return c+(1==~~(c%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(s(16738))},67216:function(E,C,s){!function(r){"use strict";r.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(c){var u=c%10;return c+(1==~~(c%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(s(16738))},39305:function(E,C,s){!function(r){"use strict";r.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(c){var u=c%10;return c+(1==~~(c%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")}})}(s(16738))},73364:function(E,C,s){!function(r){"use strict";r.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(c){var u=c%10;return c+(1==~~(c%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:0,doy:6}})}(s(16738))},79130:function(E,C,s){!function(r){"use strict";r.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(c){var u=c%10;return c+(1==~~(c%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(s(16738))},11161:function(E,C,s){!function(r){"use strict";r.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(c){var u=c%10;return c+(1==~~(c%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(s(16738))},50802:function(E,C,s){!function(r){"use strict";r.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(c){return"p"===c.charAt(0).toLowerCase()},meridiem:function(c,u,e){return c>11?e?"p.t.m.":"P.T.M.":e?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(s(16738))},45551:function(E,C,s){!function(r){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),c="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],e=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;r.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(m,T){return m?/-MMM-/.test(T)?c[m.month()]:a[m.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(s(16738))},75615:function(E,C,s){!function(r){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),c="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],e=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;r.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(m,T){return m?/-MMM-/.test(T)?c[m.month()]:a[m.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(s(16738))},64790:function(E,C,s){!function(r){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),c="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],e=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;r.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(m,T){return m?/-MMM-/.test(T)?c[m.month()]:a[m.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(s(16738))},40328:function(E,C,s){!function(r){"use strict";var a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),c="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),u=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],e=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;r.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(m,T){return m?/-MMM-/.test(T)?c[m.month()]:a[m.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(s(16738))},96389:function(E,C,s){!function(r){"use strict";function a(u,e,f,m){var T={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[u+"sekundi",u+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[u+" minuti",u+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[u+" tunni",u+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[u+" kuu",u+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[u+" aasta",u+" aastat"]};return e?T[f][2]?T[f][2]:T[f][1]:m?T[f][0]:T[f][1]}r.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d p\xe4eva",M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},52961:function(E,C,s){!function(r){"use strict";r.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(16738))},26151:function(E,C,s){!function(r){"use strict";var a={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},c={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};r.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,f,m){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,function(f){return c[f]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(s(16738))},7997:function(E,C,s){!function(r){"use strict";var a="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),c=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",a[7],a[8],a[9]];function u(m,T,M,w){var D="";switch(M){case"s":return w?"muutaman sekunnin":"muutama sekunti";case"ss":D=w?"sekunnin":"sekuntia";break;case"m":return w?"minuutin":"minuutti";case"mm":D=w?"minuutin":"minuuttia";break;case"h":return w?"tunnin":"tunti";case"hh":D=w?"tunnin":"tuntia";break;case"d":return w?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":D=w?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return w?"kuukauden":"kuukausi";case"MM":D=w?"kuukauden":"kuukautta";break;case"y":return w?"vuoden":"vuosi";case"yy":D=w?"vuoden":"vuotta"}return function e(m,T){return m<10?T?c[m]:a[m]:m}(m,w)+" "+D}r.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},58898:function(E,C,s){!function(r){"use strict";r.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(c){return c},week:{dow:1,doy:4}})}(s(16738))},37779:function(E,C,s){!function(r){"use strict";r.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},3287:function(E,C,s){!function(r){"use strict";r.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(c,u){switch(u){default:case"M":case"Q":case"D":case"DDD":case"d":return c+(1===c?"er":"e");case"w":case"W":return c+(1===c?"re":"e")}}})}(s(16738))},38867:function(E,C,s){!function(r){"use strict";r.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(c,u){switch(u){default:case"M":case"Q":case"D":case"DDD":case"d":return c+(1===c?"er":"e");case"w":case"W":return c+(1===c?"re":"e")}},week:{dow:1,doy:4}})}(s(16738))},28174:function(E,C,s){!function(r){"use strict";var u=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,e=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];r.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:e,longMonthsParse:e,shortMonthsParse:e,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(m,T){switch(T){case"D":return m+(1===m?"er":"");default:case"M":case"Q":case"DDD":case"d":return m+(1===m?"er":"e");case"w":case"W":return m+(1===m?"re":"e")}},week:{dow:1,doy:4}})}(s(16738))},50452:function(E,C,s){!function(r){"use strict";var a="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),c="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");r.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,f){return e?/-MMM-/.test(f)?c[e.month()]:a[e.month()]:a},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(16738))},45014:function(E,C,s){!function(r){"use strict";r.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(T){return T+(1===T?"d":T%10==2?"na":"mh")},week:{dow:1,doy:4}})}(s(16738))},74127:function(E,C,s){!function(r){"use strict";r.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(T){return T+(1===T?"d":T%10==2?"na":"mh")},week:{dow:1,doy:4}})}(s(16738))},72124:function(E,C,s){!function(r){"use strict";r.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(c){return 0===c.indexOf("un")?"n"+c:"en "+c},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(s(16738))},6444:function(E,C,s){!function(r){"use strict";function a(u,e,f,m){var T={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[u+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",u+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[u+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",u+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[u+" \u0935\u0930\u093e\u0902\u0928\u0940",u+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[u+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",u+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[u+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",u+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[u+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",u+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return m?T[f][0]:T[f][1]}r.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(u,e){return"D"===e?u+"\u0935\u0947\u0930":u},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(u,e){return 12===u&&(u=0),"\u0930\u093e\u0924\u0940"===e?u<4?u:u+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===e?u:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===e?u>12?u:u+12:"\u0938\u093e\u0902\u091c\u0947"===e?u+12:void 0},meridiem:function(u,e,f){return u<4?"\u0930\u093e\u0924\u0940":u<12?"\u0938\u0915\u093e\u0933\u0940\u0902":u<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":u<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(s(16738))},37953:function(E,C,s){!function(r){"use strict";function a(u,e,f,m){var T={s:["thoddea sekondamni","thodde sekond"],ss:[u+" sekondamni",u+" sekond"],m:["eka mintan","ek minut"],mm:[u+" mintamni",u+" mintam"],h:["eka voran","ek vor"],hh:[u+" voramni",u+" voram"],d:["eka disan","ek dis"],dd:[u+" disamni",u+" dis"],M:["eka mhoinean","ek mhoino"],MM:[u+" mhoineamni",u+" mhoine"],y:["eka vorsan","ek voros"],yy:[u+" vorsamni",u+" vorsam"]};return m?T[f][0]:T[f][1]}r.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(u,e){return"D"===e?u+"er":u},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(u,e){return 12===u&&(u=0),"rati"===e?u<4?u:u+12:"sokallim"===e?u:"donparam"===e?u>12?u:u+12:"sanje"===e?u+12:void 0},meridiem:function(u,e,f){return u<4?"rati":u<12?"sokallim":u<16?"donparam":u<20?"sanje":"rati"}})}(s(16738))},76604:function(E,C,s){!function(r){"use strict";var a={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},c={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};r.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(f){return c[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,f){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===f?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===f?e:"\u0aac\u0aaa\u0acb\u0ab0"===f?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===f?e+12:void 0},meridiem:function(e,f,m){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(s(16738))},1222:function(E,C,s){!function(r){"use strict";r.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(c){return 2===c?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":c+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(c){return 2===c?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":c+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(c){return 2===c?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":c+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(c){return 2===c?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":c%10==0&&10!==c?c+" \u05e9\u05e0\u05d4":c+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(c){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(c)},meridiem:function(c,u,e){return c<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":c<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":c<12?e?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":c<18?e?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(s(16738))},74235:function(E,C,s){!function(r){"use strict";var a={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},c={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},u=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];r.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:u,longMonthsParse:u,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(m){return m.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(T){return c[T]})},postformat:function(m){return m.replace(/\d/g,function(T){return a[T]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(m,T){return 12===m&&(m=0),"\u0930\u093e\u0924"===T?m<4?m:m+12:"\u0938\u0941\u092c\u0939"===T?m:"\u0926\u094b\u092a\u0939\u0930"===T?m>=10?m:m+12:"\u0936\u093e\u092e"===T?m+12:void 0},meridiem:function(m,T,M){return m<4?"\u0930\u093e\u0924":m<10?"\u0938\u0941\u092c\u0939":m<17?"\u0926\u094b\u092a\u0939\u0930":m<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(s(16738))},622:function(E,C,s){!function(r){"use strict";function a(u,e,f){var m=u+" ";switch(f){case"ss":return m+(1===u?"sekunda":2===u||3===u||4===u?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return m+(1===u?"minuta":2===u||3===u||4===u?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return m+(1===u?"sat":2===u||3===u||4===u?"sata":"sati");case"dd":return m+(1===u?"dan":"dana");case"MM":return m+(1===u?"mjesec":2===u||3===u||4===u?"mjeseca":"mjeseci");case"yy":return m+(1===u?"godina":2===u||3===u||4===u?"godine":"godina")}}r.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:a,m:a,mm:a,h:a,hh:a,d:"dan",dd:a,M:"mjesec",MM:a,y:"godinu",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(16738))},37735:function(E,C,s){!function(r){"use strict";var a="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function c(f,m,T,M){var w=f;switch(T){case"s":return M||m?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return w+(M||m)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(M||m?" perc":" perce");case"mm":return w+(M||m?" perc":" perce");case"h":return"egy"+(M||m?" \xf3ra":" \xf3r\xe1ja");case"hh":return w+(M||m?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(M||m?" nap":" napja");case"dd":return w+(M||m?" nap":" napja");case"M":return"egy"+(M||m?" h\xf3nap":" h\xf3napja");case"MM":return w+(M||m?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(M||m?" \xe9v":" \xe9ve");case"yy":return w+(M||m?" \xe9v":" \xe9ve")}return""}function u(f){return(f?"":"[m\xfalt] ")+"["+a[this.day()]+"] LT[-kor]"}r.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(f){return"u"===f.charAt(1).toLowerCase()},meridiem:function(f,m,T){return f<12?!0===T?"de":"DE":!0===T?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return u.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return u.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:c,ss:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},90402:function(E,C,s){!function(r){"use strict";r.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(c){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(c)},meridiem:function(c){return c<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":c<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":c<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(c,u){switch(u){case"DDD":case"w":case"W":case"DDDo":return 1===c?c+"-\u056b\u0576":c+"-\u0580\u0564";default:return c}},week:{dow:1,doy:7}})}(s(16738))},59187:function(E,C,s){!function(r){"use strict";r.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(c,u){return 12===c&&(c=0),"pagi"===u?c:"siang"===u?c>=11?c:c+12:"sore"===u||"malam"===u?c+12:void 0},meridiem:function(c,u,e){return c<11?"pagi":c<15?"siang":c<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(s(16738))},30536:function(E,C,s){!function(r){"use strict";function a(e){return e%100==11||e%10!=1}function c(e,f,m,T){var M=e+" ";switch(m){case"s":return f||T?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return a(e)?M+(f||T?"sek\xfandur":"sek\xfandum"):M+"sek\xfanda";case"m":return f?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return a(e)?M+(f||T?"m\xedn\xfatur":"m\xedn\xfatum"):f?M+"m\xedn\xfata":M+"m\xedn\xfatu";case"hh":return a(e)?M+(f||T?"klukkustundir":"klukkustundum"):M+"klukkustund";case"d":return f?"dagur":T?"dag":"degi";case"dd":return a(e)?f?M+"dagar":M+(T?"daga":"d\xf6gum"):f?M+"dagur":M+(T?"dag":"degi");case"M":return f?"m\xe1nu\xf0ur":T?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return a(e)?f?M+"m\xe1nu\xf0ir":M+(T?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):f?M+"m\xe1nu\xf0ur":M+(T?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return f||T?"\xe1r":"\xe1ri";case"yy":return a(e)?M+(f||T?"\xe1r":"\xe1rum"):M+(f||T?"\xe1r":"\xe1ri")}}r.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:c,ss:c,m:c,mm:c,h:"klukkustund",hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},94667:function(E,C,s){!function(r){"use strict";r.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(c){return(/^[0-9].+$/.test(c)?"tra":"in")+" "+c},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(s(16738))},35007:function(E,C,s){!function(r){"use strict";r.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(s(16738))},62093:function(E,C,s){!function(r){"use strict";r.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(c,u){return"\u5143"===u[1]?1:parseInt(u[1]||c,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(c){return"\u5348\u5f8c"===c},meridiem:function(c,u,e){return c<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(c){return c.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(c){return this.week()!==c.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(c,u){switch(u){case"y":return 1===c?"\u5143\u5e74":c+"\u5e74";case"d":case"D":case"DDD":return c+"\u65e5";default:return c}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(s(16738))},80059:function(E,C,s){!function(r){"use strict";r.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(c,u){return 12===c&&(c=0),"enjing"===u?c:"siyang"===u?c>=11?c:c+12:"sonten"===u||"ndalu"===u?c+12:void 0},meridiem:function(c,u,e){return c<11?"enjing":c<15?"siyang":c<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(s(16738))},66870:function(E,C,s){!function(r){"use strict";r.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(c){return c.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(u,e,f){return"\u10d8"===f?e+"\u10e8\u10d8":e+f+"\u10e8\u10d8"})},past:function(c){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(c)?c.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(c)?c.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):c},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(c){return 0===c?c:1===c?c+"-\u10da\u10d8":c<20||c<=100&&c%20==0||c%100==0?"\u10db\u10d4-"+c:c+"-\u10d4"},week:{dow:1,doy:7}})}(s(16738))},80880:function(E,C,s){!function(r){"use strict";var a={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};r.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(u){return u+(a[u]||a[u%10]||a[u>=100?100:null])},week:{dow:1,doy:7}})}(s(16738))},1083:function(E,C,s){!function(r){"use strict";var a={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},c={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};r.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,f,m){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(f){return c[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},week:{dow:1,doy:4}})}(s(16738))},68785:function(E,C,s){!function(r){"use strict";var a={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},c={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};r.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(f){return c[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,f){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===f?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===f?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===f?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===f?e+12:void 0},meridiem:function(e,f,m){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(s(16738))},21721:function(E,C,s){!function(r){"use strict";r.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(c,u){switch(u){case"d":case"D":case"DDD":return c+"\uc77c";case"M":return c+"\uc6d4";case"w":case"W":return c+"\uc8fc";default:return c}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(c){return"\uc624\ud6c4"===c},meridiem:function(c,u,e){return c<12?"\uc624\uc804":"\uc624\ud6c4"}})}(s(16738))},37851:function(E,C,s){!function(r){"use strict";var a={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},c={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},u=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];r.defineLocale("ku",{months:u,monthsShort:u,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(f){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(f)},meridiem:function(f,m,T){return f<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(f){return f.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(m){return c[m]}).replace(/\u060c/g,",")},postformat:function(f){return f.replace(/\d/g,function(m){return a[m]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(s(16738))},1727:function(E,C,s){!function(r){"use strict";var a={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};r.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(u){return u+(a[u]||a[u%10]||a[u>=100?100:null])},week:{dow:1,doy:7}})}(s(16738))},40346:function(E,C,s){!function(r){"use strict";function a(m,T,M,w){var D={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return T?D[M][0]:D[M][1]}function e(m){if(m=parseInt(m,10),isNaN(m))return!1;if(m<0)return!0;if(m<10)return 4<=m&&m<=7;if(m<100){var T=m%10;return e(0===T?m/10:T)}if(m<1e4){for(;m>=10;)m/=10;return e(m)}return e(m/=1e3)}r.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function c(m){return e(m.substr(0,m.indexOf(" ")))?"a "+m:"an "+m},past:function u(m){return e(m.substr(0,m.indexOf(" ")))?"viru "+m:"virun "+m},s:"e puer Sekonnen",ss:"%d Sekonnen",m:a,mm:"%d Minutten",h:a,hh:"%d Stonnen",d:a,dd:"%d Deeg",M:a,MM:"%d M\xe9int",y:a,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},93002:function(E,C,s){!function(r){"use strict";r.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(c){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===c},meridiem:function(c,u,e){return c<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(c){return"\u0e97\u0eb5\u0ec8"+c}})}(s(16738))},64035:function(E,C,s){!function(r){"use strict";var a={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function u(M,w,D,U){return w?f(D)[0]:U?f(D)[1]:f(D)[2]}function e(M){return M%10==0||M>10&&M<20}function f(M){return a[M].split("_")}function m(M,w,D,U){var W=M+" ";return 1===M?W+u(0,w,D[0],U):w?W+(e(M)?f(D)[1]:f(D)[0]):U?W+f(D)[1]:W+(e(M)?f(D)[1]:f(D)[2])}r.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function c(M,w,D,U){return w?"kelios sekund\u0117s":U?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:m,m:u,mm:m,h:u,hh:m,d:u,dd:m,M:u,MM:m,y:u,yy:m},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(M){return M+"-oji"},week:{dow:1,doy:4}})}(s(16738))},56927:function(E,C,s){!function(r){"use strict";var a={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function c(T,M,w){return w?M%10==1&&M%100!=11?T[2]:T[3]:M%10==1&&M%100!=11?T[0]:T[1]}function u(T,M,w){return T+" "+c(a[w],T,M)}function e(T,M,w){return c(a[w],T,M)}r.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function f(T,M){return M?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:u,m:e,mm:u,h:e,hh:u,d:e,dd:u,M:e,MM:u,y:e,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},5634:function(E,C,s){!function(r){"use strict";var a={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(u,e){return 1===u?e[0]:u>=2&&u<=4?e[1]:e[2]},translate:function(u,e,f){var m=a.words[f];return 1===f.length?e?m[0]:m[1]:u+" "+a.correctGrammaticalCase(u,m)}};r.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"dan",dd:a.translate,M:"mjesec",MM:a.translate,y:"godinu",yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(16738))},94173:function(E,C,s){!function(r){"use strict";r.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(s(16738))},86320:function(E,C,s){!function(r){"use strict";r.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(c){var u=c%10,e=c%100;return 0===c?c+"-\u0435\u0432":0===e?c+"-\u0435\u043d":e>10&&e<20?c+"-\u0442\u0438":1===u?c+"-\u0432\u0438":2===u?c+"-\u0440\u0438":7===u||8===u?c+"-\u043c\u0438":c+"-\u0442\u0438"},week:{dow:1,doy:7}})}(s(16738))},11705:function(E,C,s){!function(r){"use strict";r.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(c,u){return 12===c&&(c=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===u&&c>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===u||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===u?c+12:c},meridiem:function(c,u,e){return c<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":c<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":c<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":c<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(s(16738))},31062:function(E,C,s){!function(r){"use strict";function a(u,e,f,m){switch(f){case"s":return e?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return u+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return u+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return u+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return u+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return u+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return u+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return u}}r.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(u){return"\u04ae\u0425"===u},meridiem:function(u,e,f){return u<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(u,e){switch(e){case"d":case"D":case"DDD":return u+" \u04e9\u0434\u04e9\u0440";default:return u}}})}(s(16738))},92805:function(E,C,s){!function(r){"use strict";var a={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},c={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function u(f,m,T,M){var w="";if(m)switch(T){case"s":w="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":w="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":w="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":w="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":w="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":w="%d \u0924\u093e\u0938";break;case"d":w="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":w="%d \u0926\u093f\u0935\u0938";break;case"M":w="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":w="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":w="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":w="%d \u0935\u0930\u094d\u0937\u0947"}else switch(T){case"s":w="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":w="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":w="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":w="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":w="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":w="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":w="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":w="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":w="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":w="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":w="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":w="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return w.replace(/%d/i,f)}r.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},preparse:function(f){return f.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(m){return c[m]})},postformat:function(f){return f.replace(/\d/g,function(m){return a[m]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(f,m){return 12===f&&(f=0),"\u092a\u0939\u093e\u091f\u0947"===m||"\u0938\u0915\u093e\u0933\u0940"===m?f:"\u0926\u0941\u092a\u093e\u0930\u0940"===m||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===m||"\u0930\u093e\u0924\u094d\u0930\u0940"===m?f>=12?f:f+12:void 0},meridiem:function(f,m,T){return f>=0&&f<6?"\u092a\u0939\u093e\u091f\u0947":f<12?"\u0938\u0915\u093e\u0933\u0940":f<17?"\u0926\u0941\u092a\u093e\u0930\u0940":f<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(s(16738))},59900:function(E,C,s){!function(r){"use strict";r.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(c,u){return 12===c&&(c=0),"pagi"===u?c:"tengahari"===u?c>=11?c:c+12:"petang"===u||"malam"===u?c+12:void 0},meridiem:function(c,u,e){return c<11?"pagi":c<15?"tengahari":c<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(s(16738))},11341:function(E,C,s){!function(r){"use strict";r.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(c,u){return 12===c&&(c=0),"pagi"===u?c:"tengahari"===u?c>=11?c:c+12:"petang"===u||"malam"===u?c+12:void 0},meridiem:function(c,u,e){return c<11?"pagi":c<15?"tengahari":c<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(s(16738))},37734:function(E,C,s){!function(r){"use strict";r.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(s(16738))},19034:function(E,C,s){!function(r){"use strict";var a={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},c={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};r.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(f){return c[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},week:{dow:1,doy:4}})}(s(16738))},9324:function(E,C,s){!function(r){"use strict";r.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},46495:function(E,C,s){!function(r){"use strict";var a={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},c={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};r.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(f){return c[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,f){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===f?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===f?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===f?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===f?e+12:void 0},meridiem:function(e,f,m){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(s(16738))},76272:function(E,C,s){!function(r){"use strict";var a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),c="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),u=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],e=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;r.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(m,T){return m?/-MMM-/.test(T)?c[m.month()]:a[m.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(m){return m+(1===m||8===m||m>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(16738))},70673:function(E,C,s){!function(r){"use strict";var a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),c="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),u=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],e=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;r.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(m,T){return m?/-MMM-/.test(T)?c[m.month()]:a[m.month()]:a},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(m){return m+(1===m||8===m||m>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(16738))},72486:function(E,C,s){!function(r){"use strict";r.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},46219:function(E,C,s){!function(r){"use strict";r.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(c,u){var e=1===c?"r":2===c?"n":3===c?"r":4===c?"t":"\xe8";return("w"===u||"W"===u)&&(e="a"),c+e},week:{dow:1,doy:4}})}(s(16738))},2829:function(E,C,s){!function(r){"use strict";var a={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},c={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};r.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(f){return c[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,f){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===f?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===f?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===f?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===f?e+12:void 0},meridiem:function(e,f,m){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(s(16738))},78444:function(E,C,s){!function(r){"use strict";var a="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),c="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),u=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function e(T){return T%10<5&&T%10>1&&~~(T/10)%10!=1}function f(T,M,w){var D=T+" ";switch(w){case"ss":return D+(e(T)?"sekundy":"sekund");case"m":return M?"minuta":"minut\u0119";case"mm":return D+(e(T)?"minuty":"minut");case"h":return M?"godzina":"godzin\u0119";case"hh":return D+(e(T)?"godziny":"godzin");case"ww":return D+(e(T)?"tygodnie":"tygodni");case"MM":return D+(e(T)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return D+(e(T)?"lata":"lat")}}r.defineLocale("pl",{months:function(T,M){return T?/D MMMM/.test(M)?c[T.month()]:a[T.month()]:a},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:f,m:f,mm:f,h:f,hh:f,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:f,M:"miesi\u0105c",MM:f,y:"rok",yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},66117:function(E,C,s){!function(r){"use strict";r.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(s(16738))},53170:function(E,C,s){!function(r){"use strict";r.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(s(16738))},96587:function(E,C,s){!function(r){"use strict";function a(u,e,f){var T=" ";return(u%100>=20||u>=100&&u%100==0)&&(T=" de "),u+T+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[f]}r.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:a,m:"un minut",mm:a,h:"o or\u0103",hh:a,d:"o zi",dd:a,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:a,M:"o lun\u0103",MM:a,y:"un an",yy:a},week:{dow:1,doy:7}})}(s(16738))},39264:function(E,C,s){!function(r){"use strict";function c(f,m,T){return"m"===T?m?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":f+" "+function a(f,m){var T=f.split("_");return m%10==1&&m%100!=11?T[0]:m%10>=2&&m%10<=4&&(m%100<10||m%100>=20)?T[1]:T[2]}({ss:m?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:m?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[T],+f)}var u=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];r.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:u,longMonthsParse:u,shortMonthsParse:u,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(f){if(f.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(f){if(f.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:c,m:c,mm:c,h:"\u0447\u0430\u0441",hh:c,d:"\u0434\u0435\u043d\u044c",dd:c,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:c,M:"\u043c\u0435\u0441\u044f\u0446",MM:c,y:"\u0433\u043e\u0434",yy:c},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(f){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(f)},meridiem:function(f,m,T){return f<4?"\u043d\u043e\u0447\u0438":f<12?"\u0443\u0442\u0440\u0430":f<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(f,m){switch(m){case"M":case"d":case"DDD":return f+"-\u0439";case"D":return f+"-\u0433\u043e";case"w":case"W":return f+"-\u044f";default:return f}},week:{dow:1,doy:4}})}(s(16738))},42135:function(E,C,s){!function(r){"use strict";var a=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],c=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];r.defineLocale("sd",{months:a,monthsShort:a,weekdays:c,weekdaysShort:c,weekdaysMin:c,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,f,m){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(s(16738))},95366:function(E,C,s){!function(r){"use strict";r.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},93379:function(E,C,s){!function(r){"use strict";r.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(c){return c+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(c){return"\u0db4.\u0dc0."===c||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===c},meridiem:function(c,u,e){return c>11?e?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":e?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(s(16738))},46143:function(E,C,s){!function(r){"use strict";var a="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),c="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function u(m){return m>1&&m<5}function e(m,T,M,w){var D=m+" ";switch(M){case"s":return T||w?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return T||w?D+(u(m)?"sekundy":"sek\xfand"):D+"sekundami";case"m":return T?"min\xfata":w?"min\xfatu":"min\xfatou";case"mm":return T||w?D+(u(m)?"min\xfaty":"min\xfat"):D+"min\xfatami";case"h":return T?"hodina":w?"hodinu":"hodinou";case"hh":return T||w?D+(u(m)?"hodiny":"hod\xedn"):D+"hodinami";case"d":return T||w?"de\u0148":"d\u0148om";case"dd":return T||w?D+(u(m)?"dni":"dn\xed"):D+"d\u0148ami";case"M":return T||w?"mesiac":"mesiacom";case"MM":return T||w?D+(u(m)?"mesiace":"mesiacov"):D+"mesiacmi";case"y":return T||w?"rok":"rokom";case"yy":return T||w?D+(u(m)?"roky":"rokov"):D+"rokmi"}}r.defineLocale("sk",{months:a,monthsShort:c,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},196:function(E,C,s){!function(r){"use strict";function a(u,e,f,m){var T=u+" ";switch(f){case"s":return e||m?"nekaj sekund":"nekaj sekundami";case"ss":return T+(1===u?e?"sekundo":"sekundi":2===u?e||m?"sekundi":"sekundah":u<5?e||m?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return T+(1===u?e?"minuta":"minuto":2===u?e||m?"minuti":"minutama":u<5?e||m?"minute":"minutami":e||m?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return T+(1===u?e?"ura":"uro":2===u?e||m?"uri":"urama":u<5?e||m?"ure":"urami":e||m?"ur":"urami");case"d":return e||m?"en dan":"enim dnem";case"dd":return T+(1===u?e||m?"dan":"dnem":2===u?e||m?"dni":"dnevoma":e||m?"dni":"dnevi");case"M":return e||m?"en mesec":"enim mesecem";case"MM":return T+(1===u?e||m?"mesec":"mesecem":2===u?e||m?"meseca":"mesecema":u<5?e||m?"mesece":"meseci":e||m?"mesecev":"meseci");case"y":return e||m?"eno leto":"enim letom";case"yy":return T+(1===u?e||m?"leto":"letom":2===u?e||m?"leti":"letoma":u<5?e||m?"leta":"leti":e||m?"let":"leti")}}r.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(16738))},21082:function(E,C,s){!function(r){"use strict";r.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(c){return"M"===c.charAt(0)},meridiem:function(c,u,e){return c<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},98963:function(E,C,s){!function(r){"use strict";var a={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(u,e){return u%10>=1&&u%10<=4&&(u%100<10||u%100>=20)?u%10==1?e[0]:e[1]:e[2]},translate:function(u,e,f,m){var M,T=a.words[f];return 1===f.length?"y"===f&&e?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":m||e?T[0]:T[1]:(M=a.correctGrammaticalCase(u,T),"yy"===f&&e&&"\u0433\u043e\u0434\u0438\u043d\u0443"===M?u+" \u0433\u043e\u0434\u0438\u043d\u0430":u+" "+M)}};r.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:a.translate,dd:a.translate,M:a.translate,MM:a.translate,y:a.translate,yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(16738))},91621:function(E,C,s){!function(r){"use strict";var a={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(u,e){return u%10>=1&&u%10<=4&&(u%100<10||u%100>=20)?u%10==1?e[0]:e[1]:e[2]},translate:function(u,e,f,m){var M,T=a.words[f];return 1===f.length?"y"===f&&e?"jedna godina":m||e?T[0]:T[1]:(M=a.correctGrammaticalCase(u,T),"yy"===f&&e&&"godinu"===M?u+" godina":u+" "+M)}};r.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:a.translate,dd:a.translate,M:a.translate,MM:a.translate,y:a.translate,yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(16738))},41404:function(E,C,s){!function(r){"use strict";r.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(c,u,e){return c<11?"ekuseni":c<15?"emini":c<19?"entsambama":"ebusuku"},meridiemHour:function(c,u){return 12===c&&(c=0),"ekuseni"===u?c:"emini"===u?c>=11?c:c+12:"entsambama"===u||"ebusuku"===u?0===c?0:c+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(s(16738))},55685:function(E,C,s){!function(r){"use strict";r.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(c){var u=c%10;return c+(1==~~(c%100/10)?":e":1===u||2===u?":a":":e")},week:{dow:1,doy:4}})}(s(16738))},3872:function(E,C,s){!function(r){"use strict";r.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(s(16738))},54106:function(E,C,s){!function(r){"use strict";var a={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},c={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};r.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(f){return c[f]})},postformat:function(e){return e.replace(/\d/g,function(f){return a[f]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,f,m){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,f){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===f?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===f||"\u0b95\u0bbe\u0bb2\u0bc8"===f||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===f&&e>=10?e:e+12},week:{dow:0,doy:6}})}(s(16738))},39204:function(E,C,s){!function(r){"use strict";r.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(c,u){return 12===c&&(c=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===u?c<4?c:c+12:"\u0c09\u0c26\u0c2f\u0c02"===u?c:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===u?c>=10?c:c+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===u?c+12:void 0},meridiem:function(c,u,e){return c<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":c<10?"\u0c09\u0c26\u0c2f\u0c02":c<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":c<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(s(16738))},83692:function(E,C,s){!function(r){"use strict";r.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(c){var u=c%10;return c+(1==~~(c%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(s(16738))},86361:function(E,C,s){!function(r){"use strict";var a={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};r.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(u,e){return 12===u&&(u=0),"\u0448\u0430\u0431"===e?u<4?u:u+12:"\u0441\u0443\u0431\u04b3"===e?u:"\u0440\u04ef\u0437"===e?u>=11?u:u+12:"\u0431\u0435\u0433\u043e\u04b3"===e?u+12:void 0},meridiem:function(u,e,f){return u<4?"\u0448\u0430\u0431":u<11?"\u0441\u0443\u0431\u04b3":u<16?"\u0440\u04ef\u0437":u<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(u){return u+(a[u]||a[u%10]||a[u>=100?100:null])},week:{dow:1,doy:7}})}(s(16738))},31735:function(E,C,s){!function(r){"use strict";r.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(c){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===c},meridiem:function(c,u,e){return c<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(s(16738))},1568:function(E,C,s){!function(r){"use strict";var a={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};r.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(u,e){switch(e){case"d":case"D":case"Do":case"DD":return u;default:if(0===u)return u+"'unjy";var f=u%10;return u+(a[f]||a[u%100-f]||a[u>=100?100:null])}},week:{dow:1,doy:7}})}(s(16738))},96129:function(E,C,s){!function(r){"use strict";r.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(c){return c},week:{dow:1,doy:4}})}(s(16738))},13759:function(E,C,s){!function(r){"use strict";var a="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function e(T,M,w,D){var U=function f(T){var M=Math.floor(T%1e3/100),w=Math.floor(T%100/10),D=T%10,U="";return M>0&&(U+=a[M]+"vatlh"),w>0&&(U+=(""!==U?" ":"")+a[w]+"maH"),D>0&&(U+=(""!==U?" ":"")+a[D]),""===U?"pagh":U}(T);switch(w){case"ss":return U+" lup";case"mm":return U+" tup";case"hh":return U+" rep";case"dd":return U+" jaj";case"MM":return U+" jar";case"yy":return U+" DIS"}}r.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function c(T){var M=T;return-1!==T.indexOf("jaj")?M.slice(0,-3)+"leS":-1!==T.indexOf("jar")?M.slice(0,-3)+"waQ":-1!==T.indexOf("DIS")?M.slice(0,-3)+"nem":M+" pIq"},past:function u(T){var M=T;return-1!==T.indexOf("jaj")?M.slice(0,-3)+"Hu\u2019":-1!==T.indexOf("jar")?M.slice(0,-3)+"wen":-1!==T.indexOf("DIS")?M.slice(0,-3)+"ben":M+" ret"},s:"puS lup",ss:e,m:"wa\u2019 tup",mm:e,h:"wa\u2019 rep",hh:e,d:"wa\u2019 jaj",dd:e,M:"wa\u2019 jar",MM:e,y:"wa\u2019 DIS",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},81644:function(E,C,s){!function(r){"use strict";var a={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};r.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(u,e,f){return u<12?f?"\xf6\xf6":"\xd6\xd6":f?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(u){return"\xf6s"===u||"\xd6S"===u},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(u,e){switch(e){case"d":case"D":case"Do":case"DD":return u;default:if(0===u)return u+"'\u0131nc\u0131";var f=u%10;return u+(a[f]||a[u%100-f]||a[u>=100?100:null])}},week:{dow:1,doy:7}})}(s(16738))},90875:function(E,C,s){!function(r){"use strict";function c(u,e,f,m){var T={s:["viensas secunds","'iensas secunds"],ss:[u+" secunds",u+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[u+" m\xeduts",u+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[u+" \xfeoras",u+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[u+" ziuas",u+" ziuas"],M:["'n mes","'iens mes"],MM:[u+" mesen",u+" mesen"],y:["'n ar","'iens ar"],yy:[u+" ars",u+" ars"]};return m||e?T[f][0]:T[f][1]}r.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(u){return"d'o"===u.toLowerCase()},meridiem:function(u,e,f){return u>11?f?"d'o":"D'O":f?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:c,ss:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(16738))},11041:function(E,C,s){!function(r){"use strict";r.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(s(16738))},16878:function(E,C,s){!function(r){"use strict";r.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(s(16738))},74357:function(E,C,s){!function(r){"use strict";r.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(c,u){return 12===c&&(c=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===u||"\u0633\u06d5\u06be\u06d5\u0631"===u||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===u?c:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===u||"\u0643\u06d5\u0686"===u?c+12:c>=11?c:c+12},meridiem:function(c,u,e){var f=100*c+u;return f<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":f<900?"\u0633\u06d5\u06be\u06d5\u0631":f<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":f<1230?"\u0686\u06c8\u0634":f<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(c,u){switch(u){case"d":case"D":case"DDD":return c+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return c+"-\u06be\u06d5\u067e\u062a\u06d5";default:return c}},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(s(16738))},74810:function(E,C,s){!function(r){"use strict";function c(m,T,M){return"m"===M?T?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===M?T?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":m+" "+function a(m,T){var M=m.split("_");return T%10==1&&T%100!=11?M[0]:T%10>=2&&T%10<=4&&(T%100<10||T%100>=20)?M[1]:M[2]}({ss:T?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:T?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:T?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[M],+m)}function e(m){return function(){return m+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}r.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function u(m,T){var M={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===m?M.nominative.slice(1,7).concat(M.nominative.slice(0,1)):m?M[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(T)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(T)?"genitive":"nominative"][m.day()]:M.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:e("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:e("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:e("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:e("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return e("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return e("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:c,m:c,mm:c,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:c,d:"\u0434\u0435\u043d\u044c",dd:c,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:c,y:"\u0440\u0456\u043a",yy:c},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(m){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(m)},meridiem:function(m,T,M){return m<4?"\u043d\u043e\u0447\u0456":m<12?"\u0440\u0430\u043d\u043a\u0443":m<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(m,T){switch(T){case"M":case"d":case"DDD":case"w":case"W":return m+"-\u0439";case"D":return m+"-\u0433\u043e";default:return m}},week:{dow:1,doy:7}})}(s(16738))},86794:function(E,C,s){!function(r){"use strict";var a=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],c=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];r.defineLocale("ur",{months:a,monthsShort:a,weekdays:c,weekdaysShort:c,weekdaysMin:c,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,f,m){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(s(16738))},77959:function(E,C,s){!function(r){"use strict";r.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(s(16738))},28966:function(E,C,s){!function(r){"use strict";r.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(s(16738))},35386:function(E,C,s){!function(r){"use strict";r.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(c){return/^ch$/i.test(c)},meridiem:function(c,u,e){return c<12?e?"sa":"SA":e?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(c){return c},week:{dow:1,doy:4}})}(s(16738))},23156:function(E,C,s){!function(r){"use strict";r.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(c){var u=c%10;return c+(1==~~(c%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")},week:{dow:1,doy:4}})}(s(16738))},68028:function(E,C,s){!function(r){"use strict";r.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(s(16738))},9330:function(E,C,s){!function(r){"use strict";r.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(c,u){return 12===c&&(c=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?c:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?c+12:c>=11?c:c+12},meridiem:function(c,u,e){var f=100*c+u;return f<600?"\u51cc\u6668":f<900?"\u65e9\u4e0a":f<1130?"\u4e0a\u5348":f<1230?"\u4e2d\u5348":f<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(c){return c.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(c){return this.week()!==c.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(c,u){switch(u){case"d":case"D":case"DDD":return c+"\u65e5";case"M":return c+"\u6708";case"w":case"W":return c+"\u5468";default:return c}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(s(16738))},89380:function(E,C,s){!function(r){"use strict";r.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(c,u){return 12===c&&(c=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?c:"\u4e2d\u5348"===u?c>=11?c:c+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?c+12:void 0},meridiem:function(c,u,e){var f=100*c+u;return f<600?"\u51cc\u6668":f<900?"\u65e9\u4e0a":f<1200?"\u4e0a\u5348":1200===f?"\u4e2d\u5348":f<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(c,u){switch(u){case"d":case"D":case"DDD":return c+"\u65e5";case"M":return c+"\u6708";case"w":case"W":return c+"\u9031";default:return c}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(s(16738))},60874:function(E,C,s){!function(r){"use strict";r.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(c,u){return 12===c&&(c=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?c:"\u4e2d\u5348"===u?c>=11?c:c+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?c+12:void 0},meridiem:function(c,u,e){var f=100*c+u;return f<600?"\u51cc\u6668":f<900?"\u65e9\u4e0a":f<1130?"\u4e0a\u5348":f<1230?"\u4e2d\u5348":f<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(c,u){switch(u){case"d":case"D":case"DDD":return c+"\u65e5";case"M":return c+"\u6708";case"w":case"W":return c+"\u9031";default:return c}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(s(16738))},96508:function(E,C,s){!function(r){"use strict";r.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(c,u){return 12===c&&(c=0),"\u51cc\u6668"===u||"\u65e9\u4e0a"===u||"\u4e0a\u5348"===u?c:"\u4e2d\u5348"===u?c>=11?c:c+12:"\u4e0b\u5348"===u||"\u665a\u4e0a"===u?c+12:void 0},meridiem:function(c,u,e){var f=100*c+u;return f<600?"\u51cc\u6668":f<900?"\u65e9\u4e0a":f<1130?"\u4e0a\u5348":f<1230?"\u4e2d\u5348":f<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(c,u){switch(u){case"d":case"D":case"DDD":return c+"\u65e5";case"M":return c+"\u6708";case"w":case"W":return c+"\u9031";default:return c}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(s(16738))},16738:function(E,C,s){(E=s.nmd(E)).exports=function(){"use strict";var r,F;function a(){return r.apply(null,arguments)}function u(ee){return ee instanceof Array||"[object Array]"===Object.prototype.toString.call(ee)}function e(ee){return null!=ee&&"[object Object]"===Object.prototype.toString.call(ee)}function f(ee,Ce){return Object.prototype.hasOwnProperty.call(ee,Ce)}function m(ee){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(ee).length;var Ce;for(Ce in ee)if(f(ee,Ce))return!1;return!0}function T(ee){return void 0===ee}function M(ee){return"number"==typeof ee||"[object Number]"===Object.prototype.toString.call(ee)}function w(ee){return ee instanceof Date||"[object Date]"===Object.prototype.toString.call(ee)}function D(ee,Ce){var $t,vt=[],yn=ee.length;for($t=0;$t<yn;++$t)vt.push(Ce(ee[$t],$t));return vt}function U(ee,Ce){for(var vt in Ce)f(Ce,vt)&&(ee[vt]=Ce[vt]);return f(Ce,"toString")&&(ee.toString=Ce.toString),f(Ce,"valueOf")&&(ee.valueOf=Ce.valueOf),ee}function W(ee,Ce,vt,$t){return Hs(ee,Ce,vt,$t,!0).utc()}function J(ee){return null==ee._pf&&(ee._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),ee._pf}function X(ee){if(null==ee._isValid){var Ce=J(ee),vt=F.call(Ce.parsedDateParts,function(yn){return null!=yn}),$t=!isNaN(ee._d.getTime())&&Ce.overflow<0&&!Ce.empty&&!Ce.invalidEra&&!Ce.invalidMonth&&!Ce.invalidWeekday&&!Ce.weekdayMismatch&&!Ce.nullInput&&!Ce.invalidFormat&&!Ce.userInvalidated&&(!Ce.meridiem||Ce.meridiem&&vt);if(ee._strict&&($t=$t&&0===Ce.charsLeftOver&&0===Ce.unusedTokens.length&&void 0===Ce.bigHour),null!=Object.isFrozen&&Object.isFrozen(ee))return $t;ee._isValid=$t}return ee._isValid}function de(ee){var Ce=W(NaN);return null!=ee?U(J(Ce),ee):J(Ce).userInvalidated=!0,Ce}F=Array.prototype.some?Array.prototype.some:function(ee){var $t,Ce=Object(this),vt=Ce.length>>>0;for($t=0;$t<vt;$t++)if($t in Ce&&ee.call(this,Ce[$t],$t,Ce))return!0;return!1};var V=a.momentProperties=[],ce=!1;function se(ee,Ce){var vt,$t,yn,Ur=V.length;if(T(Ce._isAMomentObject)||(ee._isAMomentObject=Ce._isAMomentObject),T(Ce._i)||(ee._i=Ce._i),T(Ce._f)||(ee._f=Ce._f),T(Ce._l)||(ee._l=Ce._l),T(Ce._strict)||(ee._strict=Ce._strict),T(Ce._tzm)||(ee._tzm=Ce._tzm),T(Ce._isUTC)||(ee._isUTC=Ce._isUTC),T(Ce._offset)||(ee._offset=Ce._offset),T(Ce._pf)||(ee._pf=J(Ce)),T(Ce._locale)||(ee._locale=Ce._locale),Ur>0)for(vt=0;vt<Ur;vt++)T(yn=Ce[$t=V[vt]])||(ee[$t]=yn);return ee}function fe(ee){se(this,ee),this._d=new Date(null!=ee._d?ee._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ce&&(ce=!0,a.updateOffset(this),ce=!1)}function Te(ee){return ee instanceof fe||null!=ee&&null!=ee._isAMomentObject}function $e(ee){!1===a.suppressDeprecationWarnings&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+ee)}function ge(ee,Ce){var vt=!0;return U(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,ee),vt){var yn,Ur,Gi,$t=[],Ys=arguments.length;for(Ur=0;Ur<Ys;Ur++){if(yn="","object"==typeof arguments[Ur]){for(Gi in yn+="\n["+Ur+"] ",arguments[0])f(arguments[0],Gi)&&(yn+=Gi+": "+arguments[0][Gi]+", ");yn=yn.slice(0,-2)}else yn=arguments[Ur];$t.push(yn)}$e(ee+"\nArguments: "+Array.prototype.slice.call($t).join("")+"\n"+(new Error).stack),vt=!1}return Ce.apply(this,arguments)},Ce)}var Le,Et={};function ot(ee,Ce){null!=a.deprecationHandler&&a.deprecationHandler(ee,Ce),Et[ee]||($e(Ce),Et[ee]=!0)}function ct(ee){return typeof Function<"u"&&ee instanceof Function||"[object Function]"===Object.prototype.toString.call(ee)}function He(ee,Ce){var $t,vt=U({},ee);for($t in Ce)f(Ce,$t)&&(e(ee[$t])&&e(Ce[$t])?(vt[$t]={},U(vt[$t],ee[$t]),U(vt[$t],Ce[$t])):null!=Ce[$t]?vt[$t]=Ce[$t]:delete vt[$t]);for($t in ee)f(ee,$t)&&!f(Ce,$t)&&e(ee[$t])&&(vt[$t]=U({},vt[$t]));return vt}function We(ee){null!=ee&&this.set(ee)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,Le=Object.keys?Object.keys:function(ee){var Ce,vt=[];for(Ce in ee)f(ee,Ce)&&vt.push(Ce);return vt};function Xt(ee,Ce,vt){var $t=""+Math.abs(ee);return(ee>=0?vt?"+":"":"-")+Math.pow(10,Math.max(0,Ce-$t.length)).toString().substr(1)+$t}var cn=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,pn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Rn={},At={};function qt(ee,Ce,vt,$t){var yn=$t;"string"==typeof $t&&(yn=function(){return this[$t]()}),ee&&(At[ee]=yn),Ce&&(At[Ce[0]]=function(){return Xt(yn.apply(this,arguments),Ce[1],Ce[2])}),vt&&(At[vt]=function(){return this.localeData().ordinal(yn.apply(this,arguments),ee)})}function sn(ee){return ee.match(/\[[\s\S]/)?ee.replace(/^\[|\]$/g,""):ee.replace(/\\/g,"")}function xn(ee,Ce){return ee.isValid()?(Ce=Kr(Ce,ee.localeData()),Rn[Ce]=Rn[Ce]||function fn(ee){var vt,$t,Ce=ee.match(cn);for(vt=0,$t=Ce.length;vt<$t;vt++)Ce[vt]=At[Ce[vt]]?At[Ce[vt]]:sn(Ce[vt]);return function(yn){var Gi,Ur="";for(Gi=0;Gi<$t;Gi++)Ur+=ct(Ce[Gi])?Ce[Gi].call(yn,ee):Ce[Gi];return Ur}}(Ce),Rn[Ce](ee)):ee.localeData().invalidDate()}function Kr(ee,Ce){var vt=5;function $t(yn){return Ce.longDateFormat(yn)||yn}for(pn.lastIndex=0;vt>=0&&pn.test(ee);)ee=ee.replace(pn,$t),pn.lastIndex=0,vt-=1;return ee}var jn={};function hr(ee,Ce){var vt=ee.toLowerCase();jn[vt]=jn[vt+"s"]=jn[Ce]=ee}function Oi(ee){return"string"==typeof ee?jn[ee]||jn[ee.toLowerCase()]:void 0}function Wi(ee){var vt,$t,Ce={};for($t in ee)f(ee,$t)&&(vt=Oi($t))&&(Ce[vt]=ee[$t]);return Ce}var so={};function kr(ee,Ce){so[ee]=Ce}function ii(ee){return ee%4==0&&ee%100!=0||ee%400==0}function mr(ee){return ee<0?Math.ceil(ee)||0:Math.floor(ee)}function pr(ee){var Ce=+ee,vt=0;return 0!==Ce&&isFinite(Ce)&&(vt=mr(Ce)),vt}function Eo(ee,Ce){return function(vt){return null!=vt?($i(this,ee,vt),a.updateOffset(this,Ce),this):po(this,ee)}}function po(ee,Ce){return ee.isValid()?ee._d["get"+(ee._isUTC?"UTC":"")+Ce]():NaN}function $i(ee,Ce,vt){ee.isValid()&&!isNaN(vt)&&("FullYear"===Ce&&ii(ee.year())&&1===ee.month()&&29===ee.date()?(vt=pr(vt),ee._d["set"+(ee._isUTC?"UTC":"")+Ce](vt,ee.month(),Po(vt,ee.month()))):ee._d["set"+(ee._isUTC?"UTC":"")+Ce](vt))}var Zn,Dn=/\d/,Hn=/\d\d/,jt=/\d{3}/,Fe=/\d{4}/,Ie=/[+-]?\d{6}/,et=/\d\d?/,ze=/\d\d\d\d?/,an=/\d\d\d\d\d\d?/,lt=/\d{1,3}/,Rt=/\d{1,4}/,Pe=/[+-]?\d{1,6}/,qn=/\d+/,gr=/[+-]?\d+/,Pn=/Z|[+-]\d\d:?\d\d/gi,_r=/Z|[+-]\d\d(?::?\d\d)?/gi,tr=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function nr(ee,Ce,vt){Zn[ee]=ct(Ce)?Ce:function($t,yn){return $t&&vt?vt:Ce}}function Zt(ee,Ce){return f(Zn,ee)?Zn[ee](Ce._strict,Ce._locale):new RegExp(function dn(ee){return Ge(ee.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(Ce,vt,$t,yn,Ur){return vt||$t||yn||Ur}))}(ee))}function Ge(ee){return ee.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Zn={};var Ot={};function mn(ee,Ce){var vt,yn,$t=Ce;for("string"==typeof ee&&(ee=[ee]),M(Ce)&&($t=function(Ur,Gi){Gi[Ce]=pr(Ur)}),yn=ee.length,vt=0;vt<yn;vt++)Ot[ee[vt]]=$t}function wr(ee,Ce){mn(ee,function(vt,$t,yn,Ur){yn._w=yn._w||{},Ce(vt,yn._w,yn,Ur)})}function Ti(ee,Ce,vt){null!=Ce&&f(Ot,ee)&&Ot[ee](Ce,vt._a,vt,ee)}var Vi,Ci=0,Ai=1,Ko=2,_s=3,dr=4,Ni=5,ti=6,Vr=7,wi=8;function Po(ee,Ce){if(isNaN(ee)||isNaN(Ce))return NaN;var vt=function ji(ee,Ce){return(ee%Ce+Ce)%Ce}(Ce,12);return ee+=(Ce-vt)/12,1===vt?ii(ee)?29:28:31-vt%7%2}Vi=Array.prototype.indexOf?Array.prototype.indexOf:function(ee){var Ce;for(Ce=0;Ce<this.length;++Ce)if(this[Ce]===ee)return Ce;return-1},qt("M",["MM",2],"Mo",function(){return this.month()+1}),qt("MMM",0,0,function(ee){return this.localeData().monthsShort(this,ee)}),qt("MMMM",0,0,function(ee){return this.localeData().months(this,ee)}),hr("month","M"),kr("month",8),nr("M",et),nr("MM",et,Hn),nr("MMM",function(ee,Ce){return Ce.monthsShortRegex(ee)}),nr("MMMM",function(ee,Ce){return Ce.monthsRegex(ee)}),mn(["M","MM"],function(ee,Ce){Ce[Ai]=pr(ee)-1}),mn(["MMM","MMMM"],function(ee,Ce,vt,$t){var yn=vt._locale.monthsParse(ee,$t,vt._strict);null!=yn?Ce[Ai]=yn:J(vt).invalidMonth=ee});var ko="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ir="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ro=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Vt=tr,bn=tr;function _o(ee,Ce,vt){var $t,yn,Ur,Gi=ee.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],$t=0;$t<12;++$t)Ur=W([2e3,$t]),this._shortMonthsParse[$t]=this.monthsShort(Ur,"").toLocaleLowerCase(),this._longMonthsParse[$t]=this.months(Ur,"").toLocaleLowerCase();return vt?"MMM"===Ce?-1!==(yn=Vi.call(this._shortMonthsParse,Gi))?yn:null:-1!==(yn=Vi.call(this._longMonthsParse,Gi))?yn:null:"MMM"===Ce?-1!==(yn=Vi.call(this._shortMonthsParse,Gi))||-1!==(yn=Vi.call(this._longMonthsParse,Gi))?yn:null:-1!==(yn=Vi.call(this._longMonthsParse,Gi))||-1!==(yn=Vi.call(this._shortMonthsParse,Gi))?yn:null}function es(ee,Ce){var vt;if(!ee.isValid())return ee;if("string"==typeof Ce)if(/^\d+$/.test(Ce))Ce=pr(Ce);else if(!M(Ce=ee.localeData().monthsParse(Ce)))return ee;return vt=Math.min(ee.date(),Po(ee.year(),Ce)),ee._d["set"+(ee._isUTC?"UTC":"")+"Month"](Ce,vt),ee}function ts(ee){return null!=ee?(es(this,ee),a.updateOffset(this,!0),this):po(this,"Month")}function Is(){function ee(Gi,Ys){return Ys.length-Gi.length}var yn,Ur,Ce=[],vt=[],$t=[];for(yn=0;yn<12;yn++)Ur=W([2e3,yn]),Ce.push(this.monthsShort(Ur,"")),vt.push(this.months(Ur,"")),$t.push(this.months(Ur,"")),$t.push(this.monthsShort(Ur,""));for(Ce.sort(ee),vt.sort(ee),$t.sort(ee),yn=0;yn<12;yn++)Ce[yn]=Ge(Ce[yn]),vt[yn]=Ge(vt[yn]);for(yn=0;yn<24;yn++)$t[yn]=Ge($t[yn]);this._monthsRegex=new RegExp("^("+$t.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+vt.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+Ce.join("|")+")","i")}function la(ee){return ii(ee)?366:365}qt("Y",0,0,function(){var ee=this.year();return ee<=9999?Xt(ee,4):"+"+ee}),qt(0,["YY",2],0,function(){return this.year()%100}),qt(0,["YYYY",4],0,"year"),qt(0,["YYYYY",5],0,"year"),qt(0,["YYYYYY",6,!0],0,"year"),hr("year","y"),kr("year",1),nr("Y",gr),nr("YY",et,Hn),nr("YYYY",Rt,Fe),nr("YYYYY",Pe,Ie),nr("YYYYYY",Pe,Ie),mn(["YYYYY","YYYYYY"],Ci),mn("YYYY",function(ee,Ce){Ce[Ci]=2===ee.length?a.parseTwoDigitYear(ee):pr(ee)}),mn("YY",function(ee,Ce){Ce[Ci]=a.parseTwoDigitYear(ee)}),mn("Y",function(ee,Ce){Ce[Ci]=parseInt(ee,10)}),a.parseTwoDigitYear=function(ee){return pr(ee)+(pr(ee)>68?1900:2e3)};var Ro=Eo("FullYear",!0);function gl(ee,Ce,vt,$t,yn,Ur,Gi){var Ys;return ee<100&&ee>=0?(Ys=new Date(ee+400,Ce,vt,$t,yn,Ur,Gi),isFinite(Ys.getFullYear())&&Ys.setFullYear(ee)):Ys=new Date(ee,Ce,vt,$t,yn,Ur,Gi),Ys}function qa(ee){var Ce,vt;return ee<100&&ee>=0?((vt=Array.prototype.slice.call(arguments))[0]=ee+400,Ce=new Date(Date.UTC.apply(null,vt)),isFinite(Ce.getUTCFullYear())&&Ce.setUTCFullYear(ee)):Ce=new Date(Date.UTC.apply(null,arguments)),Ce}function da(ee,Ce,vt){var $t=7+Ce-vt;return-(7+qa(ee,0,$t).getUTCDay()-Ce)%7+$t-1}function $a(ee,Ce,vt,$t,yn){var Ka,ka,Ys=1+7*(Ce-1)+(7+vt-$t)%7+da(ee,$t,yn);return Ys<=0?ka=la(Ka=ee-1)+Ys:Ys>la(ee)?(Ka=ee+1,ka=Ys-la(ee)):(Ka=ee,ka=Ys),{year:Ka,dayOfYear:ka}}function Rl(ee,Ce,vt){var Ur,Gi,$t=da(ee.year(),Ce,vt),yn=Math.floor((ee.dayOfYear()-$t-1)/7)+1;return yn<1?Ur=yn+Ji(Gi=ee.year()-1,Ce,vt):yn>Ji(ee.year(),Ce,vt)?(Ur=yn-Ji(ee.year(),Ce,vt),Gi=ee.year()+1):(Gi=ee.year(),Ur=yn),{week:Ur,year:Gi}}function Ji(ee,Ce,vt){var $t=da(ee,Ce,vt),yn=da(ee+1,Ce,vt);return(la(ee)-$t+yn)/7}qt("w",["ww",2],"wo","week"),qt("W",["WW",2],"Wo","isoWeek"),hr("week","w"),hr("isoWeek","W"),kr("week",5),kr("isoWeek",5),nr("w",et),nr("ww",et,Hn),nr("W",et),nr("WW",et,Hn),wr(["w","ww","W","WW"],function(ee,Ce,vt,$t){Ce[$t.substr(0,1)]=pr(ee)});function No(ee,Ce){return ee.slice(Ce,7).concat(ee.slice(0,Ce))}qt("d",0,"do","day"),qt("dd",0,0,function(ee){return this.localeData().weekdaysMin(this,ee)}),qt("ddd",0,0,function(ee){return this.localeData().weekdaysShort(this,ee)}),qt("dddd",0,0,function(ee){return this.localeData().weekdays(this,ee)}),qt("e",0,0,"weekday"),qt("E",0,0,"isoWeekday"),hr("day","d"),hr("weekday","e"),hr("isoWeekday","E"),kr("day",11),kr("weekday",11),kr("isoWeekday",11),nr("d",et),nr("e",et),nr("E",et),nr("dd",function(ee,Ce){return Ce.weekdaysMinRegex(ee)}),nr("ddd",function(ee,Ce){return Ce.weekdaysShortRegex(ee)}),nr("dddd",function(ee,Ce){return Ce.weekdaysRegex(ee)}),wr(["dd","ddd","dddd"],function(ee,Ce,vt,$t){var yn=vt._locale.weekdaysParse(ee,$t,vt._strict);null!=yn?Ce.d=yn:J(vt).invalidWeekday=ee}),wr(["d","e","E"],function(ee,Ce,vt,$t){Ce[$t]=pr(ee)});var Cs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ns="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Fo="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),zr=tr,io=tr,gt=tr;function Jt(ee,Ce,vt){var $t,yn,Ur,Gi=ee.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],$t=0;$t<7;++$t)Ur=W([2e3,1]).day($t),this._minWeekdaysParse[$t]=this.weekdaysMin(Ur,"").toLocaleLowerCase(),this._shortWeekdaysParse[$t]=this.weekdaysShort(Ur,"").toLocaleLowerCase(),this._weekdaysParse[$t]=this.weekdays(Ur,"").toLocaleLowerCase();return vt?"dddd"===Ce?-1!==(yn=Vi.call(this._weekdaysParse,Gi))?yn:null:"ddd"===Ce?-1!==(yn=Vi.call(this._shortWeekdaysParse,Gi))?yn:null:-1!==(yn=Vi.call(this._minWeekdaysParse,Gi))?yn:null:"dddd"===Ce?-1!==(yn=Vi.call(this._weekdaysParse,Gi))||-1!==(yn=Vi.call(this._shortWeekdaysParse,Gi))||-1!==(yn=Vi.call(this._minWeekdaysParse,Gi))?yn:null:"ddd"===Ce?-1!==(yn=Vi.call(this._shortWeekdaysParse,Gi))||-1!==(yn=Vi.call(this._weekdaysParse,Gi))||-1!==(yn=Vi.call(this._minWeekdaysParse,Gi))?yn:null:-1!==(yn=Vi.call(this._minWeekdaysParse,Gi))||-1!==(yn=Vi.call(this._weekdaysParse,Gi))||-1!==(yn=Vi.call(this._shortWeekdaysParse,Gi))?yn:null}function Js(){function ee(nu,rc){return rc.length-nu.length}var Ur,Gi,Ys,Ka,ka,Ce=[],vt=[],$t=[],yn=[];for(Ur=0;Ur<7;Ur++)Gi=W([2e3,1]).day(Ur),Ys=Ge(this.weekdaysMin(Gi,"")),Ka=Ge(this.weekdaysShort(Gi,"")),ka=Ge(this.weekdays(Gi,"")),Ce.push(Ys),vt.push(Ka),$t.push(ka),yn.push(Ys),yn.push(Ka),yn.push(ka);Ce.sort(ee),vt.sort(ee),$t.sort(ee),yn.sort(ee),this._weekdaysRegex=new RegExp("^("+yn.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+$t.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+vt.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+Ce.join("|")+")","i")}function Ll(){return this.hours()%12||12}function Yu(ee,Ce){qt(ee,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),Ce)})}function Nc(ee,Ce){return Ce._meridiemParse}qt("H",["HH",2],0,"hour"),qt("h",["hh",2],0,Ll),qt("k",["kk",2],0,function vl(){return this.hours()||24}),qt("hmm",0,0,function(){return""+Ll.apply(this)+Xt(this.minutes(),2)}),qt("hmmss",0,0,function(){return""+Ll.apply(this)+Xt(this.minutes(),2)+Xt(this.seconds(),2)}),qt("Hmm",0,0,function(){return""+this.hours()+Xt(this.minutes(),2)}),qt("Hmmss",0,0,function(){return""+this.hours()+Xt(this.minutes(),2)+Xt(this.seconds(),2)}),Yu("a",!0),Yu("A",!1),hr("hour","h"),kr("hour",13),nr("a",Nc),nr("A",Nc),nr("H",et),nr("h",et),nr("k",et),nr("HH",et,Hn),nr("hh",et,Hn),nr("kk",et,Hn),nr("hmm",ze),nr("hmmss",an),nr("Hmm",ze),nr("Hmmss",an),mn(["H","HH"],_s),mn(["k","kk"],function(ee,Ce,vt){var $t=pr(ee);Ce[_s]=24===$t?0:$t}),mn(["a","A"],function(ee,Ce,vt){vt._isPm=vt._locale.isPM(ee),vt._meridiem=ee}),mn(["h","hh"],function(ee,Ce,vt){Ce[_s]=pr(ee),J(vt).bigHour=!0}),mn("hmm",function(ee,Ce,vt){var $t=ee.length-2;Ce[_s]=pr(ee.substr(0,$t)),Ce[dr]=pr(ee.substr($t)),J(vt).bigHour=!0}),mn("hmmss",function(ee,Ce,vt){var $t=ee.length-4,yn=ee.length-2;Ce[_s]=pr(ee.substr(0,$t)),Ce[dr]=pr(ee.substr($t,2)),Ce[Ni]=pr(ee.substr(yn)),J(vt).bigHour=!0}),mn("Hmm",function(ee,Ce,vt){var $t=ee.length-2;Ce[_s]=pr(ee.substr(0,$t)),Ce[dr]=pr(ee.substr($t))}),mn("Hmmss",function(ee,Ce,vt){var $t=ee.length-4,yn=ee.length-2;Ce[_s]=pr(ee.substr(0,$t)),Ce[dr]=pr(ee.substr($t,2)),Ce[Ni]=pr(ee.substr(yn))});var Kc=Eo("Hours",!0);var ju,au={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ko,monthsShort:Ir,week:{dow:0,doy:6},weekdays:Cs,weekdaysMin:Fo,weekdaysShort:ns,meridiemParse:/[ap]\.?m?\.?/i},Da={},yu={};function el(ee,Ce){var vt,$t=Math.min(ee.length,Ce.length);for(vt=0;vt<$t;vt+=1)if(ee[vt]!==Ce[vt])return vt;return $t}function oc(ee){return ee&&ee.toLowerCase().replace("_","-")}function Gs(ee){var Ce=null;if(void 0===Da[ee]&&E&&E.exports&&function Ic(ee){return null!=ee.match("^[^/\\\\]*$")}(ee))try{Ce=ju._abbr,s(46700)("./"+ee),ku(Ce)}catch{Da[ee]=null}return Da[ee]}function ku(ee,Ce){var vt;return ee&&((vt=T(Ce)?El(ee):zu(ee,Ce))?ju=vt:typeof console<"u"&&console.warn&&console.warn("Locale "+ee+" not found. Did you forget to load it?")),ju._abbr}function zu(ee,Ce){if(null!==Ce){var vt,$t=au;if(Ce.abbr=ee,null!=Da[ee])ot("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),$t=Da[ee]._config;else if(null!=Ce.parentLocale)if(null!=Da[Ce.parentLocale])$t=Da[Ce.parentLocale]._config;else{if(null==(vt=Gs(Ce.parentLocale)))return yu[Ce.parentLocale]||(yu[Ce.parentLocale]=[]),yu[Ce.parentLocale].push({name:ee,config:Ce}),null;$t=vt._config}return Da[ee]=new We(He($t,Ce)),yu[ee]&&yu[ee].forEach(function(yn){zu(yn.name,yn.config)}),ku(ee),Da[ee]}return delete Da[ee],null}function El(ee){var Ce;if(ee&&ee._locale&&ee._locale._abbr&&(ee=ee._locale._abbr),!ee)return ju;if(!u(ee)){if(Ce=Gs(ee))return Ce;ee=[ee]}return function Xl(ee){for(var vt,$t,yn,Ur,Ce=0;Ce<ee.length;){for(vt=(Ur=oc(ee[Ce]).split("-")).length,$t=($t=oc(ee[Ce+1]))?$t.split("-"):null;vt>0;){if(yn=Gs(Ur.slice(0,vt).join("-")))return yn;if($t&&$t.length>=vt&&el(Ur,$t)>=vt-1)break;vt--}Ce++}return ju}(ee)}function Eu(ee){var Ce,vt=ee._a;return vt&&-2===J(ee).overflow&&(Ce=vt[Ai]<0||vt[Ai]>11?Ai:vt[Ko]<1||vt[Ko]>Po(vt[Ci],vt[Ai])?Ko:vt[_s]<0||vt[_s]>24||24===vt[_s]&&(0!==vt[dr]||0!==vt[Ni]||0!==vt[ti])?_s:vt[dr]<0||vt[dr]>59?dr:vt[Ni]<0||vt[Ni]>59?Ni:vt[ti]<0||vt[ti]>999?ti:-1,J(ee)._overflowDayOfYear&&(Ce<Ci||Ce>Ko)&&(Ce=Ko),J(ee)._overflowWeeks&&-1===Ce&&(Ce=Vr),J(ee)._overflowWeekday&&-1===Ce&&(Ce=wi),J(ee).overflow=Ce),ee}var $u=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ba=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Tl=/Z|[+-]\d\d(?::?\d\d)?/,tl=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ga=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],dc=/^\/?Date\((-?\d+)/i,cu=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Sa={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ru(ee){var Ce,vt,Ur,Gi,Ys,Ka,$t=ee._i,yn=$u.exec($t)||Ba.exec($t),ka=tl.length,nu=Ga.length;if(yn){for(J(ee).iso=!0,Ce=0,vt=ka;Ce<vt;Ce++)if(tl[Ce][1].exec(yn[1])){Gi=tl[Ce][0],Ur=!1!==tl[Ce][2];break}if(null==Gi)return void(ee._isValid=!1);if(yn[3]){for(Ce=0,vt=nu;Ce<vt;Ce++)if(Ga[Ce][1].exec(yn[3])){Ys=(yn[2]||" ")+Ga[Ce][0];break}if(null==Ys)return void(ee._isValid=!1)}if(!Ur&&null!=Ys)return void(ee._isValid=!1);if(yn[4]){if(!Tl.exec(yn[4]))return void(ee._isValid=!1);Ka="Z"}ee._f=Gi+(Ys||"")+(Ka||""),pt(ee)}else ee._isValid=!1}function ba(ee){var Ce=parseInt(ee,10);return Ce<=49?2e3+Ce:Ce<=999?1900+Ce:Ce}function ql(ee){var vt,Ce=cu.exec(function nl(ee){return ee.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(ee._i));if(Ce){if(vt=function xu(ee,Ce,vt,$t,yn,Ur){var Gi=[ba(ee),Ir.indexOf(Ce),parseInt(vt,10),parseInt($t,10),parseInt(yn,10)];return Ur&&Gi.push(parseInt(Ur,10)),Gi}(Ce[4],Ce[3],Ce[2],Ce[5],Ce[6],Ce[7]),!function Su(ee,Ce,vt){return!ee||ns.indexOf(ee)===new Date(Ce[0],Ce[1],Ce[2]).getDay()||(J(vt).weekdayMismatch=!0,vt._isValid=!1,!1)}(Ce[1],vt,ee))return;ee._a=vt,ee._tzm=function gc(ee,Ce,vt){if(ee)return Sa[ee];if(Ce)return 0;var $t=parseInt(vt,10),yn=$t%100;return($t-yn)/100*60+yn}(Ce[8],Ce[9],Ce[10]),ee._d=qa.apply(null,ee._a),ee._d.setUTCMinutes(ee._d.getUTCMinutes()-ee._tzm),J(ee).rfc2822=!0}else ee._isValid=!1}function Dc(ee,Ce,vt){return ee??Ce??vt}function Vc(ee){var Ce,vt,yn,Ur,Gi,$t=[];if(!ee._d){for(yn=function zs(ee){var Ce=new Date(a.now());return ee._useUTC?[Ce.getUTCFullYear(),Ce.getUTCMonth(),Ce.getUTCDate()]:[Ce.getFullYear(),Ce.getMonth(),Ce.getDate()]}(ee),ee._w&&null==ee._a[Ko]&&null==ee._a[Ai]&&function bt(ee){var Ce,vt,$t,yn,Ur,Gi,Ys,Ka,ka;null!=(Ce=ee._w).GG||null!=Ce.W||null!=Ce.E?(Ur=1,Gi=4,vt=Dc(Ce.GG,ee._a[Ci],Rl(Qs(),1,4).year),$t=Dc(Ce.W,1),((yn=Dc(Ce.E,1))<1||yn>7)&&(Ka=!0)):(Ur=ee._locale._week.dow,Gi=ee._locale._week.doy,ka=Rl(Qs(),Ur,Gi),vt=Dc(Ce.gg,ee._a[Ci],ka.year),$t=Dc(Ce.w,ka.week),null!=Ce.d?((yn=Ce.d)<0||yn>6)&&(Ka=!0):null!=Ce.e?(yn=Ce.e+Ur,(Ce.e<0||Ce.e>6)&&(Ka=!0)):yn=Ur),$t<1||$t>Ji(vt,Ur,Gi)?J(ee)._overflowWeeks=!0:null!=Ka?J(ee)._overflowWeekday=!0:(Ys=$a(vt,$t,yn,Ur,Gi),ee._a[Ci]=Ys.year,ee._dayOfYear=Ys.dayOfYear)}(ee),null!=ee._dayOfYear&&(Gi=Dc(ee._a[Ci],yn[Ci]),(ee._dayOfYear>la(Gi)||0===ee._dayOfYear)&&(J(ee)._overflowDayOfYear=!0),vt=qa(Gi,0,ee._dayOfYear),ee._a[Ai]=vt.getUTCMonth(),ee._a[Ko]=vt.getUTCDate()),Ce=0;Ce<3&&null==ee._a[Ce];++Ce)ee._a[Ce]=$t[Ce]=yn[Ce];for(;Ce<7;Ce++)ee._a[Ce]=$t[Ce]=null==ee._a[Ce]?2===Ce?1:0:ee._a[Ce];24===ee._a[_s]&&0===ee._a[dr]&&0===ee._a[Ni]&&0===ee._a[ti]&&(ee._nextDay=!0,ee._a[_s]=0),ee._d=(ee._useUTC?qa:gl).apply(null,$t),Ur=ee._useUTC?ee._d.getUTCDay():ee._d.getDay(),null!=ee._tzm&&ee._d.setUTCMinutes(ee._d.getUTCMinutes()-ee._tzm),ee._nextDay&&(ee._a[_s]=24),ee._w&&typeof ee._w.d<"u"&&ee._w.d!==Ur&&(J(ee).weekdayMismatch=!0)}}function pt(ee){if(ee._f!==a.ISO_8601)if(ee._f!==a.RFC_2822){ee._a=[],J(ee).empty=!0;var vt,$t,yn,Ur,Gi,ka,nu,Ce=""+ee._i,Ys=Ce.length,Ka=0;for(nu=(yn=Kr(ee._f,ee._locale).match(cn)||[]).length,vt=0;vt<nu;vt++)($t=(Ce.match(Zt(Ur=yn[vt],ee))||[])[0])&&((Gi=Ce.substr(0,Ce.indexOf($t))).length>0&&J(ee).unusedInput.push(Gi),Ce=Ce.slice(Ce.indexOf($t)+$t.length),Ka+=$t.length),At[Ur]?($t?J(ee).empty=!1:J(ee).unusedTokens.push(Ur),Ti(Ur,$t,ee)):ee._strict&&!$t&&J(ee).unusedTokens.push(Ur);J(ee).charsLeftOver=Ys-Ka,Ce.length>0&&J(ee).unusedInput.push(Ce),ee._a[_s]<=12&&!0===J(ee).bigHour&&ee._a[_s]>0&&(J(ee).bigHour=void 0),J(ee).parsedDateParts=ee._a.slice(0),J(ee).meridiem=ee._meridiem,ee._a[_s]=function Je(ee,Ce,vt){var $t;return null==vt?Ce:null!=ee.meridiemHour?ee.meridiemHour(Ce,vt):(null!=ee.isPM&&(($t=ee.isPM(vt))&&Ce<12&&(Ce+=12),!$t&&12===Ce&&(Ce=0)),Ce)}(ee._locale,ee._a[_s],ee._meridiem),null!==(ka=J(ee).era)&&(ee._a[Ci]=ee._locale.erasConvertYear(ka,ee._a[Ci])),Vc(ee),Eu(ee)}else ql(ee);else Ru(ee)}function Ya(ee){var Ce=ee._i,vt=ee._f;return ee._locale=ee._locale||El(ee._l),null===Ce||void 0===vt&&""===Ce?de({nullInput:!0}):("string"==typeof Ce&&(ee._i=Ce=ee._locale.preparse(Ce)),Te(Ce)?new fe(Eu(Ce)):(w(Ce)?ee._d=Ce:u(vt)?function en(ee){var Ce,vt,$t,yn,Ur,Gi,Ys=!1,Ka=ee._f.length;if(0===Ka)return J(ee).invalidFormat=!0,void(ee._d=new Date(NaN));for(yn=0;yn<Ka;yn++)Ur=0,Gi=!1,Ce=se({},ee),null!=ee._useUTC&&(Ce._useUTC=ee._useUTC),Ce._f=ee._f[yn],pt(Ce),X(Ce)&&(Gi=!0),Ur+=J(Ce).charsLeftOver,Ur+=10*J(Ce).unusedTokens.length,J(Ce).score=Ur,Ys?Ur<$t&&($t=Ur,vt=Ce):(null==$t||Ur<$t||Gi)&&($t=Ur,vt=Ce,Gi&&(Ys=!0));U(ee,vt||Ce)}(ee):vt?pt(ee):function mi(ee){var Ce=ee._i;T(Ce)?ee._d=new Date(a.now()):w(Ce)?ee._d=new Date(Ce.valueOf()):"string"==typeof Ce?function Al(ee){var Ce=dc.exec(ee._i);null===Ce?(Ru(ee),!1===ee._isValid&&(delete ee._isValid,ql(ee),!1===ee._isValid&&(delete ee._isValid,ee._strict?ee._isValid=!1:a.createFromInputFallback(ee)))):ee._d=new Date(+Ce[1])}(ee):u(Ce)?(ee._a=D(Ce.slice(0),function(vt){return parseInt(vt,10)}),Vc(ee)):e(Ce)?function fi(ee){if(!ee._d){var Ce=Wi(ee._i);ee._a=D([Ce.year,Ce.month,void 0===Ce.day?Ce.date:Ce.day,Ce.hour,Ce.minute,Ce.second,Ce.millisecond],function($t){return $t&&parseInt($t,10)}),Vc(ee)}}(ee):M(Ce)?ee._d=new Date(Ce):a.createFromInputFallback(ee)}(ee),X(ee)||(ee._d=null),ee))}function Hs(ee,Ce,vt,$t,yn){var Ur={};return(!0===Ce||!1===Ce)&&($t=Ce,Ce=void 0),(!0===vt||!1===vt)&&($t=vt,vt=void 0),(e(ee)&&m(ee)||u(ee)&&0===ee.length)&&(ee=void 0),Ur._isAMomentObject=!0,Ur._useUTC=Ur._isUTC=yn,Ur._l=vt,Ur._i=ee,Ur._f=Ce,Ur._strict=$t,function To(ee){var Ce=new fe(Eu(Ya(ee)));return Ce._nextDay&&(Ce.add(1,"d"),Ce._nextDay=void 0),Ce}(Ur)}function Qs(ee,Ce,vt,$t){return Hs(ee,Ce,vt,$t,!1)}a.createFromInputFallback=ge("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(ee){ee._d=new Date(ee._i+(ee._useUTC?" UTC":""))}),a.ISO_8601=function(){},a.RFC_2822=function(){};var Hu=ge("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var ee=Qs.apply(null,arguments);return this.isValid()&&ee.isValid()?ee<this?this:ee:de()}),zl=ge("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var ee=Qs.apply(null,arguments);return this.isValid()&&ee.isValid()?ee>this?this:ee:de()});function sc(ee,Ce){var vt,$t;if(1===Ce.length&&u(Ce[0])&&(Ce=Ce[0]),!Ce.length)return Qs();for(vt=Ce[0],$t=1;$t<Ce.length;++$t)(!Ce[$t].isValid()||Ce[$t][ee](vt))&&(vt=Ce[$t]);return vt}var ec=["year","quarter","month","week","day","hour","minute","second","millisecond"];function kl(ee){var Ce=Wi(ee),vt=Ce.year||0,$t=Ce.quarter||0,yn=Ce.month||0,Ur=Ce.week||Ce.isoWeek||0,Gi=Ce.day||0,Ys=Ce.hour||0,Ka=Ce.minute||0,ka=Ce.second||0,nu=Ce.millisecond||0;this._isValid=function Fc(ee){var Ce,$t,vt=!1,yn=ec.length;for(Ce in ee)if(f(ee,Ce)&&(-1===Vi.call(ec,Ce)||null!=ee[Ce]&&isNaN(ee[Ce])))return!1;for($t=0;$t<yn;++$t)if(ee[ec[$t]]){if(vt)return!1;parseFloat(ee[ec[$t]])!==pr(ee[ec[$t]])&&(vt=!0)}return!0}(Ce),this._milliseconds=+nu+1e3*ka+6e4*Ka+1e3*Ys*60*60,this._days=+Gi+7*Ur,this._months=+yn+3*$t+12*vt,this._data={},this._locale=El(),this._bubble()}function sl(ee){return ee instanceof kl}function ja(ee){return ee<0?-1*Math.round(-1*ee):Math.round(ee)}function Ee(ee,Ce){qt(ee,0,0,function(){var vt=this.utcOffset(),$t="+";return vt<0&&(vt=-vt,$t="-"),$t+Xt(~~(vt/60),2)+Ce+Xt(~~vt%60,2)})}Ee("Z",":"),Ee("ZZ",""),nr("Z",_r),nr("ZZ",_r),mn(["Z","ZZ"],function(ee,Ce,vt){vt._useUTC=!0,vt._tzm=Xe(_r,ee)});var yt=/([\+\-]|\d\d)/gi;function Xe(ee,Ce){var yn,Ur,vt=(Ce||"").match(ee);return null===vt?null:0===(Ur=60*(yn=((vt[vt.length-1]||[])+"").match(yt)||["-",0,0])[1]+pr(yn[2]))?0:"+"===yn[0]?Ur:-Ur}function Gt(ee,Ce){var vt,$t;return Ce._isUTC?(vt=Ce.clone(),$t=(Te(ee)||w(ee)?ee.valueOf():Qs(ee).valueOf())-vt.valueOf(),vt._d.setTime(vt._d.valueOf()+$t),a.updateOffset(vt,!1),vt):Qs(ee).local()}function An(ee){return-Math.round(ee._d.getTimezoneOffset())}function Ui(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var Do=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Fa=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ca(ee,Ce){var yn,Ur,Gi,vt=ee,$t=null;return sl(ee)?vt={ms:ee._milliseconds,d:ee._days,M:ee._months}:M(ee)||!isNaN(+ee)?(vt={},Ce?vt[Ce]=+ee:vt.milliseconds=+ee):($t=Do.exec(ee))?(yn="-"===$t[1]?-1:1,vt={y:0,d:pr($t[Ko])*yn,h:pr($t[_s])*yn,m:pr($t[dr])*yn,s:pr($t[Ni])*yn,ms:pr(ja(1e3*$t[ti]))*yn}):($t=Fa.exec(ee))?vt={y:zo($t[2],yn="-"===$t[1]?-1:1),M:zo($t[3],yn),w:zo($t[4],yn),d:zo($t[5],yn),h:zo($t[6],yn),m:zo($t[7],yn),s:zo($t[8],yn)}:null==vt?vt={}:"object"==typeof vt&&("from"in vt||"to"in vt)&&(Gi=function xl(ee,Ce){var vt;return ee.isValid()&&Ce.isValid()?(Ce=Gt(Ce,ee),ee.isBefore(Ce)?vt=$l(ee,Ce):((vt=$l(Ce,ee)).milliseconds=-vt.milliseconds,vt.months=-vt.months),vt):{milliseconds:0,months:0}}(Qs(vt.from),Qs(vt.to)),(vt={}).ms=Gi.milliseconds,vt.M=Gi.months),Ur=new kl(vt),sl(ee)&&f(ee,"_locale")&&(Ur._locale=ee._locale),sl(ee)&&f(ee,"_isValid")&&(Ur._isValid=ee._isValid),Ur}function zo(ee,Ce){var vt=ee&&parseFloat(ee.replace(",","."));return(isNaN(vt)?0:vt)*Ce}function $l(ee,Ce){var vt={};return vt.months=Ce.month()-ee.month()+12*(Ce.year()-ee.year()),ee.clone().add(vt.months,"M").isAfter(Ce)&&--vt.months,vt.milliseconds=+Ce-+ee.clone().add(vt.months,"M"),vt}function Uu(ee,Ce){return function(vt,$t){var Ur;return null!==$t&&!isNaN(+$t)&&(ot(Ce,"moment()."+Ce+"(period, number) is deprecated. Please use moment()."+Ce+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),Ur=vt,vt=$t,$t=Ur),Xc(this,ca(vt,$t),ee),this}}function Xc(ee,Ce,vt,$t){var yn=Ce._milliseconds,Ur=ja(Ce._days),Gi=ja(Ce._months);ee.isValid()&&($t=$t??!0,Gi&&es(ee,po(ee,"Month")+Gi*vt),Ur&&$i(ee,"Date",po(ee,"Date")+Ur*vt),yn&&ee._d.setTime(ee._d.valueOf()+yn*vt),$t&&a.updateOffset(ee,Ur||Gi))}ca.fn=kl.prototype,ca.invalid=function Lc(){return ca(NaN)};var ad=Uu(1,"add"),kc=Uu(-1,"subtract");function yi(ee){return"string"==typeof ee||ee instanceof String}function Wl(ee){return Te(ee)||w(ee)||yi(ee)||M(ee)||function fc(ee){var Ce=u(ee),vt=!1;return Ce&&(vt=0===ee.filter(function($t){return!M($t)&&yi(ee)}).length),Ce&&vt}(ee)||function Pa(ee){var yn,Ce=e(ee)&&!m(ee),vt=!1,$t=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],Gi=$t.length;for(yn=0;yn<Gi;yn+=1)vt=vt||f(ee,$t[yn]);return Ce&&vt}(ee)||null==ee}function Vs(ee,Ce){if(ee.date()<Ce.date())return-Vs(Ce,ee);var vt=12*(Ce.year()-ee.year())+(Ce.month()-ee.month()),$t=ee.clone().add(vt,"months");return-(vt+(Ce-$t<0?(Ce-$t)/($t-ee.clone().add(vt-1,"months")):(Ce-$t)/(ee.clone().add(vt+1,"months")-$t)))||0}function De(ee){var Ce;return void 0===ee?this._locale._abbr:(null!=(Ce=El(ee))&&(this._locale=Ce),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ve=ge("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(ee){return void 0===ee?this.localeData():this.locale(ee)});function st(){return this._locale}var zt=1e3,Qt=60*zt,Gn=60*Qt,Er=3506328*Gn;function Nr(ee,Ce){return(ee%Ce+Ce)%Ce}function Mi(ee,Ce,vt){return ee<100&&ee>=0?new Date(ee+400,Ce,vt)-Er:new Date(ee,Ce,vt).valueOf()}function ao(ee,Ce,vt){return ee<100&&ee>=0?Date.UTC(ee+400,Ce,vt)-Er:Date.UTC(ee,Ce,vt)}function Va(ee,Ce){return Ce.erasAbbrRegex(ee)}function Hc(){var yn,Ur,ee=[],Ce=[],vt=[],$t=[],Gi=this.eras();for(yn=0,Ur=Gi.length;yn<Ur;++yn)Ce.push(Ge(Gi[yn].name)),ee.push(Ge(Gi[yn].abbr)),vt.push(Ge(Gi[yn].narrow)),$t.push(Ge(Gi[yn].name)),$t.push(Ge(Gi[yn].abbr)),$t.push(Ge(Gi[yn].narrow));this._erasRegex=new RegExp("^("+$t.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+Ce.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+ee.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+vt.join("|")+")","i")}function Vu(ee,Ce){qt(0,[ee,ee.length],0,Ce)}function Zu(ee,Ce,vt,$t,yn){var Ur;return null==ee?Rl(this,$t,yn).year:(Ce>(Ur=Ji(ee,$t,yn))&&(Ce=Ur),Tp.call(this,ee,Ce,vt,$t,yn))}function Tp(ee,Ce,vt,$t,yn){var Ur=$a(ee,Ce,vt,$t,yn),Gi=qa(Ur.year,0,Ur.dayOfYear);return this.year(Gi.getUTCFullYear()),this.month(Gi.getUTCMonth()),this.date(Gi.getUTCDate()),this}qt("N",0,0,"eraAbbr"),qt("NN",0,0,"eraAbbr"),qt("NNN",0,0,"eraAbbr"),qt("NNNN",0,0,"eraName"),qt("NNNNN",0,0,"eraNarrow"),qt("y",["y",1],"yo","eraYear"),qt("y",["yy",2],0,"eraYear"),qt("y",["yyy",3],0,"eraYear"),qt("y",["yyyy",4],0,"eraYear"),nr("N",Va),nr("NN",Va),nr("NNN",Va),nr("NNNN",function Os(ee,Ce){return Ce.erasNameRegex(ee)}),nr("NNNNN",function Cu(ee,Ce){return Ce.erasNarrowRegex(ee)}),mn(["N","NN","NNN","NNNN","NNNNN"],function(ee,Ce,vt,$t){var yn=vt._locale.erasParse(ee,$t,vt._strict);yn?J(vt).era=yn:J(vt).invalidEra=ee}),nr("y",qn),nr("yy",qn),nr("yyy",qn),nr("yyyy",qn),nr("yo",function ld(ee,Ce){return Ce._eraYearOrdinalRegex||qn}),mn(["y","yy","yyy","yyyy"],Ci),mn(["yo"],function(ee,Ce,vt,$t){var yn;vt._locale._eraYearOrdinalRegex&&(yn=ee.match(vt._locale._eraYearOrdinalRegex)),Ce[Ci]=vt._locale.eraYearOrdinalParse?vt._locale.eraYearOrdinalParse(ee,yn):parseInt(ee,10)}),qt(0,["gg",2],0,function(){return this.weekYear()%100}),qt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Vu("gggg","weekYear"),Vu("ggggg","weekYear"),Vu("GGGG","isoWeekYear"),Vu("GGGGG","isoWeekYear"),hr("weekYear","gg"),hr("isoWeekYear","GG"),kr("weekYear",1),kr("isoWeekYear",1),nr("G",gr),nr("g",gr),nr("GG",et,Hn),nr("gg",et,Hn),nr("GGGG",Rt,Fe),nr("gggg",Rt,Fe),nr("GGGGG",Pe,Ie),nr("ggggg",Pe,Ie),wr(["gggg","ggggg","GGGG","GGGGG"],function(ee,Ce,vt,$t){Ce[$t.substr(0,2)]=pr(ee)}),wr(["gg","GG"],function(ee,Ce,vt,$t){Ce[$t]=a.parseTwoDigitYear(ee)}),qt("Q",0,"Qo","quarter"),hr("quarter","Q"),kr("quarter",7),nr("Q",Dn),mn("Q",function(ee,Ce){Ce[Ai]=3*(pr(ee)-1)}),qt("D",["DD",2],"Do","date"),hr("date","D"),kr("date",9),nr("D",et),nr("DD",et,Hn),nr("Do",function(ee,Ce){return ee?Ce._dayOfMonthOrdinalParse||Ce._ordinalParse:Ce._dayOfMonthOrdinalParseLenient}),mn(["D","DD"],Ko),mn("Do",function(ee,Ce){Ce[Ko]=pr(ee.match(et)[0])});var Hd=Eo("Date",!0);qt("DDD",["DDDD",3],"DDDo","dayOfYear"),hr("dayOfYear","DDD"),kr("dayOfYear",4),nr("DDD",lt),nr("DDDD",jt),mn(["DDD","DDDD"],function(ee,Ce,vt){vt._dayOfYear=pr(ee)}),qt("m",["mm",2],0,"minute"),hr("minute","m"),kr("minute",14),nr("m",et),nr("mm",et,Hn),mn(["m","mm"],dr);var gd=Eo("Minutes",!1);qt("s",["ss",2],0,"second"),hr("second","s"),kr("second",15),nr("s",et),nr("ss",et,Hn),mn(["s","ss"],Ni);var ed,xf,Nu=Eo("Seconds",!1);for(qt("S",0,0,function(){return~~(this.millisecond()/100)}),qt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),qt(0,["SSS",3],0,"millisecond"),qt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),qt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),qt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),qt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),qt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),qt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),hr("millisecond","ms"),kr("millisecond",16),nr("S",lt,Dn),nr("SS",lt,Hn),nr("SSS",lt,jt),ed="SSSS";ed.length<=9;ed+="S")nr(ed,qn);function _u(ee,Ce){Ce[ti]=pr(1e3*("0."+ee))}for(ed="S";ed.length<=9;ed+="S")mn(ed,_u);xf=Eo("Milliseconds",!1),qt("z",0,0,"zoneAbbr"),qt("zz",0,0,"zoneName");var Lo=fe.prototype;function _e(ee){return ee}Lo.add=ad,Lo.calendar=function Nt(ee,Ce){1===arguments.length&&(arguments[0]?Wl(arguments[0])?(ee=arguments[0],Ce=void 0):function bu(ee){var yn,Ce=e(ee)&&!m(ee),vt=!1,$t=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(yn=0;yn<$t.length;yn+=1)vt=vt||f(ee,$t[yn]);return Ce&&vt}(arguments[0])&&(Ce=arguments[0],ee=void 0):(ee=void 0,Ce=void 0));var vt=ee||Qs(),$t=Gt(vt,this).startOf("day"),yn=a.calendarFormat(this,$t)||"sameElse",Ur=Ce&&(ct(Ce[yn])?Ce[yn].call(this,vt):Ce[yn]);return this.format(Ur||this.localeData().calendar(yn,this,Qs(vt)))},Lo.clone=function tt(){return new fe(this)},Lo.diff=function Ra(ee,Ce,vt){var $t,yn,Ur;if(!this.isValid())return NaN;if(!($t=Gt(ee,this)).isValid())return NaN;switch(yn=6e4*($t.utcOffset()-this.utcOffset()),Ce=Oi(Ce)){case"year":Ur=Vs(this,$t)/12;break;case"month":Ur=Vs(this,$t);break;case"quarter":Ur=Vs(this,$t)/3;break;case"second":Ur=(this-$t)/1e3;break;case"minute":Ur=(this-$t)/6e4;break;case"hour":Ur=(this-$t)/36e5;break;case"day":Ur=(this-$t-yn)/864e5;break;case"week":Ur=(this-$t-yn)/6048e5;break;default:Ur=this-$t}return vt?Ur:mr(Ur)},Lo.endOf=function rs(ee){var Ce,vt;if(void 0===(ee=Oi(ee))||"millisecond"===ee||!this.isValid())return this;switch(vt=this._isUTC?ao:Mi,ee){case"year":Ce=vt(this.year()+1,0,1)-1;break;case"quarter":Ce=vt(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":Ce=vt(this.year(),this.month()+1,1)-1;break;case"week":Ce=vt(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":Ce=vt(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":Ce=vt(this.year(),this.month(),this.date()+1)-1;break;case"hour":Ce=this._d.valueOf(),Ce+=Gn-Nr(Ce+(this._isUTC?0:this.utcOffset()*Qt),Gn)-1;break;case"minute":Ce=this._d.valueOf(),Ce+=Qt-Nr(Ce,Qt)-1;break;case"second":Ce=this._d.valueOf(),Ce+=zt-Nr(Ce,zt)-1}return this._d.setTime(Ce),a.updateOffset(this,!0),this},Lo.format=function Qa(ee){ee||(ee=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var Ce=xn(this,ee);return this.localeData().postformat(Ce)},Lo.from=function rn(ee,Ce){return this.isValid()&&(Te(ee)&&ee.isValid()||Qs(ee).isValid())?ca({to:this,from:ee}).locale(this.locale()).humanize(!Ce):this.localeData().invalidDate()},Lo.fromNow=function Jl(ee){return this.from(Qs(),ee)},Lo.to=function le(ee,Ce){return this.isValid()&&(Te(ee)&&ee.isValid()||Qs(ee).isValid())?ca({from:this,to:ee}).locale(this.locale()).humanize(!Ce):this.localeData().invalidDate()},Lo.toNow=function ae(ee){return this.to(Qs(),ee)},Lo.get=function qr(ee){return ct(this[ee=Oi(ee)])?this[ee]():this},Lo.invalidAt=function qc(){return J(this).overflow},Lo.isAfter=function tn(ee,Ce){var vt=Te(ee)?ee:Qs(ee);return!(!this.isValid()||!vt.isValid())&&("millisecond"===(Ce=Oi(Ce)||"millisecond")?this.valueOf()>vt.valueOf():vt.valueOf()<this.clone().startOf(Ce).valueOf())},Lo.isBefore=function Xn(ee,Ce){var vt=Te(ee)?ee:Qs(ee);return!(!this.isValid()||!vt.isValid())&&("millisecond"===(Ce=Oi(Ce)||"millisecond")?this.valueOf()<vt.valueOf():this.clone().endOf(Ce).valueOf()<vt.valueOf())},Lo.isBetween=function bi(ee,Ce,vt,$t){var yn=Te(ee)?ee:Qs(ee),Ur=Te(Ce)?Ce:Qs(Ce);return!!(this.isValid()&&yn.isValid()&&Ur.isValid())&&("("===($t=$t||"()")[0]?this.isAfter(yn,vt):!this.isBefore(yn,vt))&&(")"===$t[1]?this.isBefore(Ur,vt):!this.isAfter(Ur,vt))},Lo.isSame=function Ri(ee,Ce){var $t,vt=Te(ee)?ee:Qs(ee);return!(!this.isValid()||!vt.isValid())&&("millisecond"===(Ce=Oi(Ce)||"millisecond")?this.valueOf()===vt.valueOf():($t=vt.valueOf(),this.clone().startOf(Ce).valueOf()<=$t&&$t<=this.clone().endOf(Ce).valueOf()))},Lo.isSameOrAfter=function fs(ee,Ce){return this.isSame(ee,Ce)||this.isAfter(ee,Ce)},Lo.isSameOrBefore=function Fs(ee,Ce){return this.isSame(ee,Ce)||this.isBefore(ee,Ce)},Lo.isValid=function Rc(){return X(this)},Lo.lang=Ve,Lo.locale=De,Lo.localeData=st,Lo.max=zl,Lo.min=Hu,Lo.parsingFlags=function fu(){return U({},J(this))},Lo.set=function Hi(ee,Ce){if("object"==typeof ee){var $t,vt=function Ei(ee){var vt,Ce=[];for(vt in ee)f(ee,vt)&&Ce.push({unit:vt,priority:so[vt]});return Ce.sort(function($t,yn){return $t.priority-yn.priority}),Ce}(ee=Wi(ee)),yn=vt.length;for($t=0;$t<yn;$t++)this[vt[$t].unit](ee[vt[$t].unit])}else if(ct(this[ee=Oi(ee)]))return this[ee](Ce);return this},Lo.startOf=function Jo(ee){var Ce,vt;if(void 0===(ee=Oi(ee))||"millisecond"===ee||!this.isValid())return this;switch(vt=this._isUTC?ao:Mi,ee){case"year":Ce=vt(this.year(),0,1);break;case"quarter":Ce=vt(this.year(),this.month()-this.month()%3,1);break;case"month":Ce=vt(this.year(),this.month(),1);break;case"week":Ce=vt(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":Ce=vt(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":Ce=vt(this.year(),this.month(),this.date());break;case"hour":Ce=this._d.valueOf(),Ce-=Nr(Ce+(this._isUTC?0:this.utcOffset()*Qt),Gn);break;case"minute":Ce=this._d.valueOf(),Ce-=Nr(Ce,Qt);break;case"second":Ce=this._d.valueOf(),Ce-=Nr(Ce,zt)}return this._d.setTime(Ce),a.updateOffset(this,!0),this},Lo.subtract=kc,Lo.toArray=function eu(){var ee=this;return[ee.year(),ee.month(),ee.date(),ee.hour(),ee.minute(),ee.second(),ee.millisecond()]},Lo.toObject=function mu(){var ee=this;return{years:ee.year(),months:ee.month(),date:ee.date(),hours:ee.hours(),minutes:ee.minutes(),seconds:ee.seconds(),milliseconds:ee.milliseconds()}},Lo.toDate=function Ul(){return new Date(this.valueOf())},Lo.toISOString=function wl(ee){if(!this.isValid())return null;var Ce=!0!==ee,vt=Ce?this.clone().utc():this;return vt.year()<0||vt.year()>9999?xn(vt,Ce?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ct(Date.prototype.toISOString)?Ce?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",xn(vt,"Z")):xn(vt,Ce?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Lo.inspect=function Ho(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var vt,$t,ee="moment",Ce="";return this.isLocal()||(ee=0===this.utcOffset()?"moment.utc":"moment.parseZone",Ce="Z"),vt="["+ee+'("]',$t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(vt+$t+"-MM-DD[T]HH:mm:ss.SSS"+Ce+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Lo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Lo.toJSON=function wu(){return this.isValid()?this.toISOString():null},Lo.toString=function Ms(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Lo.unix=function Ps(){return Math.floor(this.valueOf()/1e3)},Lo.valueOf=function ys(){return this._d.valueOf()-6e4*(this._offset||0)},Lo.creationData=function $c(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Lo.eraName=function al(){var ee,Ce,vt,$t=this.localeData().eras();for(ee=0,Ce=$t.length;ee<Ce;++ee)if(vt=this.clone().startOf("day").valueOf(),$t[ee].since<=vt&&vt<=$t[ee].until||$t[ee].until<=vt&&vt<=$t[ee].since)return $t[ee].name;return""},Lo.eraNarrow=function rl(){var ee,Ce,vt,$t=this.localeData().eras();for(ee=0,Ce=$t.length;ee<Ce;++ee)if(vt=this.clone().startOf("day").valueOf(),$t[ee].since<=vt&&vt<=$t[ee].until||$t[ee].until<=vt&&vt<=$t[ee].since)return $t[ee].narrow;return""},Lo.eraAbbr=function xa(){var ee,Ce,vt,$t=this.localeData().eras();for(ee=0,Ce=$t.length;ee<Ce;++ee)if(vt=this.clone().startOf("day").valueOf(),$t[ee].since<=vt&&vt<=$t[ee].until||$t[ee].until<=vt&&vt<=$t[ee].since)return $t[ee].abbr;return""},Lo.eraYear=function Tu(){var ee,Ce,vt,$t,yn=this.localeData().eras();for(ee=0,Ce=yn.length;ee<Ce;++ee)if(vt=yn[ee].since<=yn[ee].until?1:-1,$t=this.clone().startOf("day").valueOf(),yn[ee].since<=$t&&$t<=yn[ee].until||yn[ee].until<=$t&&$t<=yn[ee].since)return(this.year()-a(yn[ee].since).year())*vt+yn[ee].offset;return this.year()},Lo.year=Ro,Lo.isLeapYear=function jl(){return ii(this.year())},Lo.weekYear=function ud(ee){return Zu.call(this,ee,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Lo.isoWeekYear=function md(ee){return Zu.call(this,ee,this.isoWeek(),this.isoWeekday(),1,4)},Lo.quarter=Lo.quarters=function ip(ee){return null==ee?Math.ceil((this.month()+1)/3):this.month(3*(ee-1)+this.month()%3)},Lo.month=ts,Lo.daysInMonth=function jo(){return Po(this.year(),this.month())},Lo.week=Lo.weeks=function Aa(ee){var Ce=this.localeData().week(this);return null==ee?Ce:this.add(7*(ee-Ce),"d")},Lo.isoWeek=Lo.isoWeeks=function Ja(ee){var Ce=Rl(this,1,4).week;return null==ee?Ce:this.add(7*(ee-Ce),"d")},Lo.weeksInYear=function Mu(){var ee=this.localeData()._week;return Ji(this.year(),ee.dow,ee.doy)},Lo.weeksInWeekYear=function Uc(){var ee=this.localeData()._week;return Ji(this.weekYear(),ee.dow,ee.doy)},Lo.isoWeeksInYear=function tf(){return Ji(this.year(),1,4)},Lo.isoWeeksInISOWeekYear=function Uf(){return Ji(this.isoWeekYear(),1,4)},Lo.date=Hd,Lo.day=Lo.days=function vi(ee){if(!this.isValid())return null!=ee?this:NaN;var Ce=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=ee?(ee=function fa(ee,Ce){return"string"!=typeof ee?ee:isNaN(ee)?"number"==typeof(ee=Ce.weekdaysParse(ee))?ee:null:parseInt(ee,10)}(ee,this.localeData()),this.add(ee-Ce,"d")):Ce},Lo.weekday=function Bi(ee){if(!this.isValid())return null!=ee?this:NaN;var Ce=(this.day()+7-this.localeData()._week.dow)%7;return null==ee?Ce:this.add(ee-Ce,"d")},Lo.isoWeekday=function Xi(ee){if(!this.isValid())return null!=ee?this:NaN;if(null!=ee){var Ce=function Xo(ee,Ce){return"string"==typeof ee?Ce.weekdaysParse(ee)%7||7:isNaN(ee)?null:ee}(ee,this.localeData());return this.day(this.day()%7?Ce:Ce-7)}return this.day()||7},Lo.dayOfYear=function Bf(ee){var Ce=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==ee?Ce:this.add(ee-Ce,"d")},Lo.hour=Lo.hours=Kc,Lo.minute=Lo.minutes=gd,Lo.second=Lo.seconds=Nu,Lo.millisecond=Lo.milliseconds=xf,Lo.utcOffset=function kn(ee,Ce,vt){var yn,$t=this._offset||0;if(!this.isValid())return null!=ee?this:NaN;if(null!=ee){if("string"==typeof ee){if(null===(ee=Xe(_r,ee)))return this}else Math.abs(ee)<16&&!vt&&(ee*=60);return!this._isUTC&&Ce&&(yn=An(this)),this._offset=ee,this._isUTC=!0,null!=yn&&this.add(yn,"m"),$t!==ee&&(!Ce||this._changeInProgress?Xc(this,ca(ee-$t,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?$t:An(this)},Lo.utc=function Xr(ee){return this.utcOffset(0,ee)},Lo.local=function yr(ee){return this._isUTC&&(this.utcOffset(0,ee),this._isUTC=!1,ee&&this.subtract(An(this),"m")),this},Lo.parseZone=function Rr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var ee=Xe(Pn,this._i);null!=ee?this.utcOffset(ee):this.utcOffset(0,!0)}return this},Lo.hasAlignedHourOffset=function Go(ee){return!!this.isValid()&&(ee=ee?Qs(ee).utcOffset():0,(this.utcOffset()-ee)%60==0)},Lo.isDST=function Io(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Lo.isLocal=function Gr(){return!!this.isValid()&&!this._isUTC},Lo.isUtcOffset=function Fr(){return!!this.isValid()&&this._isUTC},Lo.isUtc=Ui,Lo.isUTC=Ui,Lo.zoneAbbr=function Ud(){return this._isUTC?"UTC":""},Lo.zoneName=function Bc(){return this._isUTC?"Coordinated Universal Time":""},Lo.dates=ge("dates accessor is deprecated. Use date instead.",Hd),Lo.months=ge("months accessor is deprecated. Use month instead",ts),Lo.years=ge("years accessor is deprecated. Use year instead",Ro),Lo.zone=ge("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Hr(ee,Ce){return null!=ee?("string"!=typeof ee&&(ee=-ee),this.utcOffset(ee,Ce),this):-this.utcOffset()}),Lo.isDSTShifted=ge("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Qn(){if(!T(this._isDSTShifted))return this._isDSTShifted;var Ce,ee={};return se(ee,this),(ee=Ya(ee))._a?(Ce=ee._isUTC?W(ee._a):Qs(ee._a),this._isDSTShifted=this.isValid()&&function Q(ee,Ce,vt){var Gi,$t=Math.min(ee.length,Ce.length),yn=Math.abs(ee.length-Ce.length),Ur=0;for(Gi=0;Gi<$t;Gi++)(vt&&ee[Gi]!==Ce[Gi]||!vt&&pr(ee[Gi])!==pr(Ce[Gi]))&&Ur++;return Ur+yn}(ee._a,Ce.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var Ye=We.prototype;function Mt(ee,Ce,vt,$t){var yn=El(),Ur=W().set($t,Ce);return yn[vt](Ur,ee)}function un(ee,Ce,vt){if(M(ee)&&(Ce=ee,ee=void 0),ee=ee||"",null!=Ce)return Mt(ee,Ce,vt,"month");var $t,yn=[];for($t=0;$t<12;$t++)yn[$t]=Mt(ee,$t,vt,"month");return yn}function Mn(ee,Ce,vt,$t){"boolean"==typeof ee?(M(Ce)&&(vt=Ce,Ce=void 0),Ce=Ce||""):(vt=Ce=ee,ee=!1,M(Ce)&&(vt=Ce,Ce=void 0),Ce=Ce||"");var Gi,yn=El(),Ur=ee?yn._week.dow:0,Ys=[];if(null!=vt)return Mt(Ce,(vt+Ur)%7,$t,"day");for(Gi=0;Gi<7;Gi++)Ys[Gi]=Mt(Ce,(Gi+Ur)%7,$t,"day");return Ys}Ye.calendar=function it(ee,Ce,vt){var $t=this._calendar[ee]||this._calendar.sameElse;return ct($t)?$t.call(Ce,vt):$t},Ye.longDateFormat=function Lr(ee){var Ce=this._longDateFormat[ee],vt=this._longDateFormat[ee.toUpperCase()];return Ce||!vt?Ce:(this._longDateFormat[ee]=vt.match(cn).map(function($t){return"MMMM"===$t||"MM"===$t||"DD"===$t||"dddd"===$t?$t.slice(1):$t}).join(""),this._longDateFormat[ee])},Ye.invalidDate=function Qr(){return this._invalidDate},Ye.ordinal=function ht(ee){return this._ordinal.replace("%d",ee)},Ye.preparse=_e,Ye.postformat=_e,Ye.relativeTime=function Tt(ee,Ce,vt,$t){var yn=this._relativeTime[vt];return ct(yn)?yn(ee,Ce,vt,$t):yn.replace(/%d/i,ee)},Ye.pastFuture=function wn(ee,Ce){var vt=this._relativeTime[ee>0?"future":"past"];return ct(vt)?vt(Ce):vt.replace(/%s/i,Ce)},Ye.set=function qe(ee){var Ce,vt;for(vt in ee)f(ee,vt)&&(ct(Ce=ee[vt])?this[vt]=Ce:this["_"+vt]=Ce);this._config=ee,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Ye.eras=function pu(ee,Ce){var vt,$t,yn,Ur=this._eras||El("en")._eras;for(vt=0,$t=Ur.length;vt<$t;++vt)switch("string"==typeof Ur[vt].since&&(yn=a(Ur[vt].since).startOf("day"),Ur[vt].since=yn.valueOf()),typeof Ur[vt].until){case"undefined":Ur[vt].until=1/0;break;case"string":yn=a(Ur[vt].until).startOf("day").valueOf(),Ur[vt].until=yn.valueOf()}return Ur},Ye.erasParse=function vc(ee,Ce,vt){var $t,yn,Gi,Ys,Ka,Ur=this.eras();for(ee=ee.toUpperCase(),$t=0,yn=Ur.length;$t<yn;++$t)if(Gi=Ur[$t].name.toUpperCase(),Ys=Ur[$t].abbr.toUpperCase(),Ka=Ur[$t].narrow.toUpperCase(),vt)switch(Ce){case"N":case"NN":case"NNN":if(Ys===ee)return Ur[$t];break;case"NNNN":if(Gi===ee)return Ur[$t];break;case"NNNNN":if(Ka===ee)return Ur[$t]}else if([Gi,Ys,Ka].indexOf(ee)>=0)return Ur[$t]},Ye.erasConvertYear=function La(ee,Ce){var vt=ee.since<=ee.until?1:-1;return void 0===Ce?a(ee.since).year():a(ee.since).year()+(Ce-ee.offset)*vt},Ye.erasAbbrRegex=function Pu(ee){return f(this,"_erasAbbrRegex")||Hc.call(this),ee?this._erasAbbrRegex:this._erasRegex},Ye.erasNameRegex=function En(ee){return f(this,"_erasNameRegex")||Hc.call(this),ee?this._erasNameRegex:this._erasRegex},Ye.erasNarrowRegex=function za(ee){return f(this,"_erasNarrowRegex")||Hc.call(this),ee?this._erasNarrowRegex:this._erasRegex},Ye.months=function Bn(ee,Ce){return ee?u(this._months)?this._months[ee.month()]:this._months[(this._months.isFormat||ro).test(Ce)?"format":"standalone"][ee.month()]:u(this._months)?this._months:this._months.standalone},Ye.monthsShort=function ci(ee,Ce){return ee?u(this._monthsShort)?this._monthsShort[ee.month()]:this._monthsShort[ro.test(Ce)?"format":"standalone"][ee.month()]:u(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ye.monthsParse=function go(ee,Ce,vt){var $t,yn,Ur;if(this._monthsParseExact)return _o.call(this,ee,Ce,vt);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),$t=0;$t<12;$t++){if(yn=W([2e3,$t]),vt&&!this._longMonthsParse[$t]&&(this._longMonthsParse[$t]=new RegExp("^"+this.months(yn,"").replace(".","")+"$","i"),this._shortMonthsParse[$t]=new RegExp("^"+this.monthsShort(yn,"").replace(".","")+"$","i")),!vt&&!this._monthsParse[$t]&&(Ur="^"+this.months(yn,"")+"|^"+this.monthsShort(yn,""),this._monthsParse[$t]=new RegExp(Ur.replace(".",""),"i")),vt&&"MMMM"===Ce&&this._longMonthsParse[$t].test(ee))return $t;if(vt&&"MMM"===Ce&&this._shortMonthsParse[$t].test(ee))return $t;if(!vt&&this._monthsParse[$t].test(ee))return $t}},Ye.monthsRegex=function gs(ee){return this._monthsParseExact?(f(this,"_monthsRegex")||Is.call(this),ee?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=bn),this._monthsStrictRegex&&ee?this._monthsStrictRegex:this._monthsRegex)},Ye.monthsShortRegex=function ss(ee){return this._monthsParseExact?(f(this,"_monthsRegex")||Is.call(this),ee?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Vt),this._monthsShortStrictRegex&&ee?this._monthsShortStrictRegex:this._monthsShortRegex)},Ye.week=function Ha(ee){return Rl(ee,this._week.dow,this._week.doy).week},Ye.firstDayOfYear=function $s(){return this._week.doy},Ye.firstDayOfWeek=function hs(){return this._week.dow},Ye.weekdays=function Tn(ee,Ce){var vt=u(this._weekdays)?this._weekdays:this._weekdays[ee&&!0!==ee&&this._weekdays.isFormat.test(Ce)?"format":"standalone"];return!0===ee?No(vt,this._week.dow):ee?vt[ee.day()]:vt},Ye.weekdaysMin=function Ze(ee){return!0===ee?No(this._weekdaysMin,this._week.dow):ee?this._weekdaysMin[ee.day()]:this._weekdaysMin},Ye.weekdaysShort=function ie(ee){return!0===ee?No(this._weekdaysShort,this._week.dow):ee?this._weekdaysShort[ee.day()]:this._weekdaysShort},Ye.weekdaysParse=function gn(ee,Ce,vt){var $t,yn,Ur;if(this._weekdaysParseExact)return Jt.call(this,ee,Ce,vt);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),$t=0;$t<7;$t++){if(yn=W([2e3,1]).day($t),vt&&!this._fullWeekdaysParse[$t]&&(this._fullWeekdaysParse[$t]=new RegExp("^"+this.weekdays(yn,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[$t]=new RegExp("^"+this.weekdaysShort(yn,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[$t]=new RegExp("^"+this.weekdaysMin(yn,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[$t]||(Ur="^"+this.weekdays(yn,"")+"|^"+this.weekdaysShort(yn,"")+"|^"+this.weekdaysMin(yn,""),this._weekdaysParse[$t]=new RegExp(Ur.replace(".",""),"i")),vt&&"dddd"===Ce&&this._fullWeekdaysParse[$t].test(ee))return $t;if(vt&&"ddd"===Ce&&this._shortWeekdaysParse[$t].test(ee))return $t;if(vt&&"dd"===Ce&&this._minWeekdaysParse[$t].test(ee))return $t;if(!vt&&this._weekdaysParse[$t].test(ee))return $t}},Ye.weekdaysRegex=function ws(ee){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Js.call(this),ee?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=zr),this._weekdaysStrictRegex&&ee?this._weekdaysStrictRegex:this._weekdaysRegex)},Ye.weekdaysShortRegex=function ds(ee){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Js.call(this),ee?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=io),this._weekdaysShortStrictRegex&&ee?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ye.weekdaysMinRegex=function qs(ee){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Js.call(this),ee?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=gt),this._weekdaysMinStrictRegex&&ee?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ye.isPM=function qu(ee){return"p"===(ee+"").toLowerCase().charAt(0)},Ye.meridiem=function yl(ee,Ce,vt){return ee>11?vt?"pm":"PM":vt?"am":"AM"},ku("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(ee){var Ce=ee%10;return ee+(1===pr(ee%100/10)?"th":1===Ce?"st":2===Ce?"nd":3===Ce?"rd":"th")}}),a.lang=ge("moment.lang is deprecated. Use moment.locale instead.",ku),a.langData=ge("moment.langData is deprecated. Use moment.localeData instead.",El);var Bl=Math.abs;function pc(ee,Ce,vt,$t){var yn=ca(Ce,vt);return ee._milliseconds+=$t*yn._milliseconds,ee._days+=$t*yn._days,ee._months+=$t*yn._months,ee._bubble()}function tc(ee){return ee<0?Math.floor(ee):Math.ceil(ee)}function Ed(ee){return 4800*ee/146097}function h(ee){return 146097*ee/4800}function k(ee){return function(){return this.as(ee)}}var ne=k("ms"),he=k("s"),Me=k("m"),Qe=k("h"),Re=k("d"),ft=k("w"),wt=k("M"),It=k("Q"),Cn=k("y");function Dr(ee){return function(){return this.isValid()?this._data[ee]:NaN}}var oi=Dr("milliseconds"),uo=Dr("seconds"),As=Dr("minutes"),as=Dr("hours"),ma=Dr("days"),Na=Dr("months"),Pl=Dr("years");var dl=Math.round,Nl={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Qu(ee,Ce,vt,$t,yn){return yn.relativeTime(Ce||1,!!vt,ee,$t)}var Gc=Math.abs;function xc(ee){return(ee>0)-(ee<0)||+ee}function wf(){if(!this.isValid())return this.localeData().invalidDate();var $t,yn,Ur,Gi,Ka,ka,nu,rc,ee=Gc(this._milliseconds)/1e3,Ce=Gc(this._days),vt=Gc(this._months),Ys=this.asSeconds();return Ys?($t=mr(ee/60),yn=mr($t/60),ee%=60,$t%=60,Ur=mr(vt/12),vt%=12,Gi=ee?ee.toFixed(3).replace(/\.?0+$/,""):"",Ka=Ys<0?"-":"",ka=xc(this._months)!==xc(Ys)?"-":"",nu=xc(this._days)!==xc(Ys)?"-":"",rc=xc(this._milliseconds)!==xc(Ys)?"-":"",Ka+"P"+(Ur?ka+Ur+"Y":"")+(vt?ka+vt+"M":"")+(Ce?nu+Ce+"D":"")+(yn||$t||ee?"T":"")+(yn?rc+yn+"H":"")+($t?rc+$t+"M":"")+(ee?rc+Gi+"S":"")):"P0D"}var Ql=kl.prototype;return Ql.isValid=function du(){return this._isValid},Ql.abs=function Wu(){var ee=this._data;return this._milliseconds=Bl(this._milliseconds),this._days=Bl(this._days),this._months=Bl(this._months),ee.milliseconds=Bl(ee.milliseconds),ee.seconds=Bl(ee.seconds),ee.minutes=Bl(ee.minutes),ee.hours=Bl(ee.hours),ee.months=Bl(ee.months),ee.years=Bl(ee.years),this},Ql.add=function cd(ee,Ce){return pc(this,ee,Ce,1)},Ql.subtract=function Ju(ee,Ce){return pc(this,ee,Ce,-1)},Ql.as=function b(ee){if(!this.isValid())return NaN;var Ce,vt,$t=this._milliseconds;if("month"===(ee=Oi(ee))||"quarter"===ee||"year"===ee)switch(Ce=this._days+$t/864e5,vt=this._months+Ed(Ce),ee){case"month":return vt;case"quarter":return vt/3;case"year":return vt/12}else switch(Ce=this._days+Math.round(h(this._months)),ee){case"week":return Ce/7+$t/6048e5;case"day":return Ce+$t/864e5;case"hour":return 24*Ce+$t/36e5;case"minute":return 1440*Ce+$t/6e4;case"second":return 86400*Ce+$t/1e3;case"millisecond":return Math.floor(864e5*Ce)+$t;default:throw new Error("Unknown unit "+ee)}},Ql.asMilliseconds=ne,Ql.asSeconds=he,Ql.asMinutes=Me,Ql.asHours=Qe,Ql.asDays=Re,Ql.asWeeks=ft,Ql.asMonths=wt,Ql.asQuarters=It,Ql.asYears=Cn,Ql.valueOf=function N(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*pr(this._months/12):NaN},Ql._bubble=function od(){var yn,Ur,Gi,Ys,Ka,ee=this._milliseconds,Ce=this._days,vt=this._months,$t=this._data;return ee>=0&&Ce>=0&&vt>=0||ee<=0&&Ce<=0&&vt<=0||(ee+=864e5*tc(h(vt)+Ce),Ce=0,vt=0),$t.milliseconds=ee%1e3,yn=mr(ee/1e3),$t.seconds=yn%60,Ur=mr(yn/60),$t.minutes=Ur%60,Gi=mr(Ur/60),$t.hours=Gi%24,Ce+=mr(Gi/24),vt+=Ka=mr(Ed(Ce)),Ce-=tc(h(Ka)),Ys=mr(vt/12),vt%=12,$t.days=Ce,$t.months=vt,$t.years=Ys,this},Ql.clone=function er(){return ca(this)},Ql.get=function sr(ee){return ee=Oi(ee),this.isValid()?this[ee+"s"]():NaN},Ql.milliseconds=oi,Ql.seconds=uo,Ql.minutes=As,Ql.hours=as,Ql.days=ma,Ql.weeks=function il(){return mr(this.days()/7)},Ql.months=Na,Ql.years=Pl,Ql.humanize=function yc(ee,Ce){if(!this.isValid())return this.localeData().invalidDate();var yn,Ur,vt=!1,$t=Nl;return"object"==typeof ee&&(Ce=ee,ee=!1),"boolean"==typeof ee&&(vt=ee),"object"==typeof Ce&&($t=Object.assign({},Nl,Ce),null!=Ce.s&&null==Ce.ss&&($t.ss=Ce.s-1)),Ur=function ac(ee,Ce,vt,$t){var yn=ca(ee).abs(),Ur=dl(yn.as("s")),Gi=dl(yn.as("m")),Ys=dl(yn.as("h")),Ka=dl(yn.as("d")),ka=dl(yn.as("M")),nu=dl(yn.as("w")),rc=dl(yn.as("y")),_c=Ur<=vt.ss&&["s",Ur]||Ur<vt.s&&["ss",Ur]||Gi<=1&&["m"]||Gi<vt.m&&["mm",Gi]||Ys<=1&&["h"]||Ys<vt.h&&["hh",Ys]||Ka<=1&&["d"]||Ka<vt.d&&["dd",Ka];return null!=vt.w&&(_c=_c||nu<=1&&["w"]||nu<vt.w&&["ww",nu]),(_c=_c||ka<=1&&["M"]||ka<vt.M&&["MM",ka]||rc<=1&&["y"]||["yy",rc])[2]=Ce,_c[3]=+ee>0,_c[4]=$t,Qu.apply(null,_c)}(this,!vt,$t,yn=this.localeData()),vt&&(Ur=yn.pastFuture(+this,Ur)),yn.postformat(Ur)},Ql.toISOString=wf,Ql.toString=wf,Ql.toJSON=wf,Ql.locale=De,Ql.localeData=st,Ql.toIsoString=ge("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",wf),Ql.lang=Ve,qt("X",0,0,"unix"),qt("x",0,0,"valueOf"),nr("x",gr),nr("X",/[+-]?\d+(\.\d{1,3})?/),mn("X",function(ee,Ce,vt){vt._d=new Date(1e3*parseFloat(ee))}),mn("x",function(ee,Ce,vt){vt._d=new Date(pr(ee))}),a.version="2.29.4",function c(ee){r=ee}(Qs),a.fn=Lo,a.min=function hu(){return sc("isBefore",[].slice.call(arguments,0))},a.max=function lu(){return sc("isAfter",[].slice.call(arguments,0))},a.now=function(){return Date.now?Date.now():+new Date},a.utc=W,a.unix=function Se(ee){return Qs(1e3*ee)},a.months=function ni(ee,Ce){return un(ee,Ce,"months")},a.isDate=w,a.locale=ku,a.invalid=de,a.duration=ca,a.isMoment=Te,a.weekdays=function Wo(ee,Ce,vt){return Mn(ee,Ce,vt,"weekdays")},a.parseZone=function Ne(){return Qs.apply(null,arguments).parseZone()},a.localeData=El,a.isDuration=sl,a.monthsShort=function zi(ee,Ce){return un(ee,Ce,"monthsShort")},a.weekdaysMin=function ya(ee,Ce,vt){return Mn(ee,Ce,vt,"weekdaysMin")},a.defineLocale=zu,a.updateLocale=function ua(ee,Ce){if(null!=Ce){var vt,$t,yn=au;null!=Da[ee]&&null!=Da[ee].parentLocale?Da[ee].set(He(Da[ee]._config,Ce)):(null!=($t=Gs(ee))&&(yn=$t._config),Ce=He(yn,Ce),null==$t&&(Ce.abbr=ee),(vt=new We(Ce)).parentLocale=Da[ee],Da[ee]=vt),ku(ee)}else null!=Da[ee]&&(null!=Da[ee].parentLocale?(Da[ee]=Da[ee].parentLocale,ee===ku()&&ku(ee)):null!=Da[ee]&&delete Da[ee]);return Da[ee]},a.locales=function uu(){return Le(Da)},a.weekdaysShort=function Qo(ee,Ce,vt){return Mn(ee,Ce,vt,"weekdaysShort")},a.normalizeUnits=Oi,a.relativeTimeRounding=function wa(ee){return void 0===ee?dl:"function"==typeof ee&&(dl=ee,!0)},a.relativeTimeThreshold=function nc(ee,Ce){return void 0!==Nl[ee]&&(void 0===Ce?Nl[ee]:(Nl[ee]=Ce,"s"===ee&&(Nl.ss=Ce-1),!0))},a.calendarFormat=function je(ee,Ce){var vt=ee.diff(Ce,"days",!0);return vt<-6?"sameElse":vt<-1?"lastWeek":vt<0?"lastDay":vt<1?"sameDay":vt<2?"nextDay":vt<7?"nextWeek":"sameElse"},a.prototype=Lo,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()},61717:(E,C,s)=>{"use strict";function e(ht,Wt,Tt,wn){var Oi,jn=arguments.length,hr=jn<3?Wt:null===wn?wn=Object.getOwnPropertyDescriptor(Wt,Tt):wn;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)hr=Reflect.decorate(ht,Wt,Tt,wn);else for(var Wi=ht.length-1;Wi>=0;Wi--)(Oi=ht[Wi])&&(hr=(jn<3?Oi(hr):jn>3?Oi(Wt,Tt,hr):Oi(Wt,Tt))||hr);return jn>3&&hr&&Object.defineProperty(Wt,Tt,hr),hr}s.d(C,{bH:()=>br,G8:()=>Rn,uh:()=>Qr});var ge=s(64537),Et=s(88692),ot=s(7357);const ct=["*"],qe=["templateOutlet"];function He(ht,Wt){if(1&ht&&(ge.TgZ(0,"div",6),ge._uU(1),ge.qZA()),2&ht){const Tt=ge.oxw(2);ge.xp6(1),ge.hij(" ",Tt.message||Tt.defaultMessage," ")}}function We(ht,Wt){if(1&ht&&(ge.TgZ(0,"div",3),ge._UZ(1,"div",4),ge.YNc(2,He,2,1,"div",5),ge.qZA()),2&ht){const Tt=ge.oxw();ge.xp6(2),ge.Q6J("ngIf",Tt.message||Tt.defaultMessage)}}function Le(ht,Wt){}function Pt(ht,Wt){1&ht&&ge.YNc(0,Le,0,0,"ng-template",null,7,ge.W1O)}const it=function(ht){return{active:ht}};let Xt=(()=>{class ht{}return ht.START="start",ht.STOP="stop",ht.UPDATE="update",ht.RESET="reset",ht.RESET_GLOBAL="reset_global",ht.UNSUBSCRIBE="unsubscribe",ht})();const cn="block-ui-main";let pn=(()=>{let ht=class{constructor(){this.blockUISettings={},this.blockUIInstances={},this.blockUISubject=new ot.t(1),this.blockUIObservable=this.blockUISubject.asObservable(),this.blockUIObservable.subscribe(this.blockUIMiddleware.bind(this))}getSettings(){return this.blockUISettings}updateSettings(Tt={}){this.blockUISettings=Object.assign(Object.assign({},this.blockUISettings),Tt)}decorate(Tt=cn){const wn={name:Tt,isActive:!1,blockCount:0,start:this.dispatch(this.blockUISubject,Xt.START,Tt),update:this.dispatch(this.blockUISubject,Xt.UPDATE,Tt),stop:this.dispatch(this.blockUISubject,Xt.STOP,Tt),reset:this.dispatch(this.blockUISubject,Xt.RESET,Tt),resetGlobal:this.dispatch(this.blockUISubject,Xt.RESET_GLOBAL,Tt),unsubscribe:this.dispatch(this.blockUISubject,Xt.UNSUBSCRIBE,Tt)};return this.blockUIInstances[Tt]=this.blockUIInstances[Tt]||wn,wn}observe(){return this.blockUIObservable}clearInstance(Tt){this.dispatch(this.blockUISubject,Xt.RESET,Tt)}blockUIMiddleware({action:Tt,name:wn}){let jn=null;switch(Tt){case Xt.START:jn=!0;break;case Xt.STOP:case Xt.RESET:jn=!1}null!==jn&&(this.blockUIInstances[wn].isActive=jn)}dispatch(Tt,wn,jn=cn){return hr=>{Tt.next({name:jn,action:wn,message:hr})}}};return ht.\u0275fac=function(Tt){return new(Tt||ht)},ht.\u0275prov=ge.Yz7({token:ht,factory:function(Wt){return ht.\u0275fac(Wt)}}),ht})(),Rn=(()=>{let ht=class{constructor(Tt){this.blockUI=Tt}ngOnInit(){this.name=this.name||cn,this.template=this.template||this.blockUI.blockUISettings.template}};return ht.\u0275fac=function(Tt){return new(Tt||ht)(ge.Y36(pn))},ht.\u0275cmp=ge.Xpm({type:ht,selectors:[["block-ui"]],inputs:{name:"name",template:"template",message:"message",delayStart:"delayStart",delayStop:"delayStop"},ngContentSelectors:ct,decls:2,vars:5,consts:[[3,"name","message","template","delayStart","delayStop"]],template:function(Tt,wn){1&Tt&&(ge.F$t(),ge.Hsn(0),ge._UZ(1,"block-ui-content",0)),2&Tt&&(ge.xp6(1),ge.Q6J("name",wn.name)("message",wn.message)("template",wn.template)("delayStart",wn.delayStart)("delayStop",wn.delayStop))},dependencies:function(){return[sn]},encapsulation:2}),e([(0,ge.IIB)()],ht.prototype,"name",void 0),e([(0,ge.IIB)()],ht.prototype,"message",void 0),e([(0,ge.IIB)()],ht.prototype,"delayStart",void 0),e([(0,ge.IIB)()],ht.prototype,"delayStop",void 0),e([(0,ge.IIB)()],ht.prototype,"template",void 0),ht})(),sn=(()=>{let ht=class{constructor(Tt,wn,jn){this.blockUI=Tt,this.resolver=wn,this.changeDetectionRef=jn,this.name=cn,this.defaultBlockState={startTimeouts:[],stopTimeouts:[],updateTimeouts:[],blockCount:0,startCallCount:0,stopCallCount:0},this.state=Object.assign({},this.defaultBlockState)}ngOnInit(){this.settings=this.blockUI.getSettings(),this.blockUISubscription=this.subscribeToBlockUI(this.blockUI.observe())}ngAfterViewInit(){try{if(!this.templateCmp)return!1;if(this.templateCmp instanceof ge.Rgc)this.templateOutlet.createEmbeddedView(this.templateCmp);else{const Tt=this.resolver.resolveComponentFactory(this.templateCmp);this.templateCompRef=this.templateOutlet.createComponent(Tt),this.updateBlockTemplate(this.message)}}catch(Tt){console.error("ng-block-ui:",Tt)}}ngAfterViewChecked(){this.detectChanges()}subscribeToBlockUI(Tt){return Tt.subscribe(wn=>this.onDispatchedEvent(wn))}onDispatchedEvent(Tt){switch(Tt.action){case Xt.START:this.onStart(Tt);break;case Xt.STOP:this.onStop(Tt);break;case Xt.UPDATE:this.onUpdate(Tt);break;case Xt.RESET:this.onReset(Tt);break;case Xt.RESET_GLOBAL:this.resetState();break;case Xt.UNSUBSCRIBE:this.onStop(Tt),this.onUnsubscribe(Tt.name)}}onStart({name:Tt,message:wn}){if(Tt===this.name){const jn=this.delayStart||this.settings.delayStart||0;this.state.startCallCount+=1;const hr=setTimeout(()=>{this.state.blockCount+=1,this.showBlock(wn),this.updateInstanceBlockCount()},jn);this.state.startTimeouts.push(hr)}}onStop({name:Tt}){if(Tt===this.name){const wn=this.state.stopCallCount+1;if(this.state.startCallCount-wn>=0){const jn=this.delayStop||this.settings.delayStop||0;this.state.stopCallCount=wn;const hr=setTimeout(()=>{this.state.blockCount-=1,this.updateInstanceBlockCount(),this.detectChanges()},jn);this.state.stopTimeouts.push(hr)}}}onUpdate({name:Tt,message:wn}){if(Tt===this.name){const jn=this.delayStart||this.settings.delayStart||0;clearTimeout(this.state.updateTimeouts[0]);const hr=setTimeout(()=>{this.updateMessage(wn)},jn);this.state.updateTimeouts.push(hr)}}onReset({name:Tt}){Tt===this.name&&this.resetState()}updateMessage(Tt){this.showBlock(Tt)}showBlock(Tt){this.message=Tt||this.defaultMessage||this.settings.message,this.updateBlockTemplate(this.message),this.detectChanges()}updateBlockTemplate(Tt){this.templateCompRef&&this.templateCompRef instanceof ge.UuU&&(this.templateCompRef.instance.message=Tt)}resetState(){[...this.state.startTimeouts,...this.state.stopTimeouts,...this.state.updateTimeouts].forEach(clearTimeout),this.state=Object.assign({},this.defaultBlockState),this.updateInstanceBlockCount(),this.detectChanges()}onUnsubscribe(Tt){this.blockUISubscription&&Tt===this.name&&this.blockUISubscription.unsubscribe()}updateInstanceBlockCount(){if(this.blockUI.blockUIInstances[this.name]){const{blockCount:Tt}=this.state;this.blockUI.blockUIInstances[this.name].blockCount=Tt}}detectChanges(){this.changeDetectionRef.destroyed||this.changeDetectionRef.detectChanges()}ngOnDestroy(){this.resetState(),this.onUnsubscribe(this.name),this.blockUI.clearInstance(this.name)}};return ht.\u0275fac=function(Tt){return new(Tt||ht)(ge.Y36(pn),ge.Y36(ge._Vd),ge.Y36(ge.sBO))},ht.\u0275cmp=ge.Xpm({type:ht,selectors:[["block-ui-content"]],viewQuery:function(Tt,wn){if(1&Tt&&ge.Gf(qe,5,ge.s_b),2&Tt){let jn;ge.iGM(jn=ge.CRH())&&(wn.templateOutlet=jn.first)}},inputs:{name:"name",delayStart:"delayStart",delayStop:"delayStop",defaultMessage:["message","defaultMessage"],templateCmp:["template","templateCmp"]},decls:3,vars:9,consts:[[3,"ngClass"],["class","block-ui-spinner",4,"ngIf"],[4,"ngIf"],[1,"block-ui-spinner"],[1,"loader"],["class","message",4,"ngIf"],[1,"message"],["templateOutlet",""]],template:function(Tt,wn){1&Tt&&(ge.TgZ(0,"div",0),ge.YNc(1,We,3,1,"div",1),ge.YNc(2,Pt,2,0,null,2),ge.qZA()),2&Tt&&(ge.MT6("block-ui-wrapper ",wn.name," ",wn.className,""),ge.Q6J("ngClass",ge.VKq(7,it,wn.state.blockCount>0)),ge.xp6(1),ge.Q6J("ngIf",!wn.templateCmp),ge.xp6(1),ge.Q6J("ngIf",wn.templateCmp))},dependencies:[Et.mk,Et.O5],styles:["\n.block-ui-wrapper {\n display: none;\n position: fixed;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n background: rgba(0, 0, 0, 0.70);\n z-index: 30000;\n cursor: wait;\n}\n\n.block-ui-wrapper.block-ui-wrapper--element {\n position: absolute;\n}\n\n.block-ui-wrapper.active {\n display: block;\n}\n\n.block-ui-wrapper.block-ui-main {\n position: fixed;\n}\n\n.block-ui-spinner,\n.block-ui-template {\n position: absolute;\n top: 40%;\n margin: 0 auto;\n left: 0;\n right: 0;\n transform: translateY(-50%);\n}\n\n.block-ui-spinner > .message {\n font-size: 1.3em;\n text-align: center;\n color: #fff;\n}\n\n.block-ui__element {\n position: relative;\n}\n\n.loader,\n.loader:after {\n border-radius: 50%;\n width: 10em;\n height: 10em;\n}\n.loader {\n margin: 7px auto;\n font-size: 5px;\n position: relative;\n text-indent: -9999em;\n border-top: 1.1em solid rgba(255, 255, 255, 0.2);\n border-right: 1.1em solid rgba(255, 255, 255, 0.2);\n border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);\n border-left: 1.1em solid #ffffff;\n -webkit-transform: translateZ(0);\n -ms-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-animation: load8 1.1s infinite linear;\n animation: load8 1.1s infinite linear;\n}\n\n@-webkit-keyframes load8 {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes load8 {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n"],encapsulation:2}),e([(0,ge.IIB)()],ht.prototype,"name",void 0),e([(0,ge.IIB)()],ht.prototype,"delayStart",void 0),e([(0,ge.IIB)()],ht.prototype,"delayStop",void 0),e([(0,ge.IIB)("message")],ht.prototype,"defaultMessage",void 0),e([(0,ge.IIB)("template")],ht.prototype,"templateCmp",void 0),e([(0,ge.i9L)("templateOutlet",{read:ge.s_b})],ht.prototype,"templateOutlet",void 0),ht})(),fn=(()=>{let ht=class{constructor(Tt){this.blockUIInstance=Tt,this.globalDispatch=this.blockUIInstance.decorate()}start(Tt,wn){this.dispatch(Tt,Xt.START,wn)}stop(Tt){this.dispatch(Tt,Xt.STOP)}reset(Tt){this.dispatch(Tt,Xt.RESET)}resetGlobal(){this.globalDispatch.resetGlobal()}update(Tt,wn){this.dispatch(Tt,Xt.UPDATE,wn)}unsubscribe(Tt){this.dispatch(Tt,Xt.UNSUBSCRIBE)}isActive(Tt=null){const wn=Tt?this.toArray(Tt):null,jn=this.blockUIInstance.blockUIInstances;return Object.keys(jn).some(hr=>wn?wn.indexOf(jn[hr].name)>=0&&jn[hr].isActive:jn[hr].isActive)}dispatch(Tt=[],wn,jn){this.toArray(Tt).forEach(Oi=>this.blockUIInstance.decorate(Oi)[wn](jn))}toArray(Tt=[]){return"string"==typeof Tt?[Tt]:Tt}};return ht.\u0275fac=function(Tt){return new(Tt||ht)(ge.LFG(pn))},ht.\u0275prov=ge.Yz7({token:ht,factory:function(Wt){return ht.\u0275fac(Wt)}}),ht})();var Kr;const Or=new pn,Lr=new ge.OlP("BlockUIModuleSettings");function ir(ht){return Or.updateSettings(ht),Or}let Qr=Kr=class{static forRoot(Wt={}){return{ngModule:Kr,providers:[{provide:Lr,useValue:Wt},{provide:pn,useFactory:ir,deps:[Lr]},fn]}}};Qr.\u0275fac=function(Wt){return new(Wt||Qr)},Qr.\u0275mod=ge.oAB({type:Qr}),Qr.\u0275inj=ge.cJS({imports:[Et.ez]});let jr=1;function br(ht,Wt={}){return Wt.scopeToInstance?function(Tt,wn){const jn=`_${wn}-block-ui`;Object.defineProperty(Tt,wn,{get:function(){if(this[jn])return this[jn];const hr=`${ht}-${jr++}`;return this[jn]=Or.decorate(hr),this[jn]},set:function(hr){this[jn]=hr}})}:function(Tt,wn){Tt[wn]=Or.decorate(ht)}}},90504:(E,C,s)=>{"use strict";s.d(C,{_:()=>f,w:()=>T});var r=s(64537),a=s(88692),c=function(M,w,D,U){var J,W=arguments.length,$=W<3?w:null===U?U=Object.getOwnPropertyDescriptor(w,D):U;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)$=Reflect.decorate(M,w,D,U);else for(var F=M.length-1;F>=0;F--)(J=M[F])&&($=(W<3?J($):W>3?J(w,D,$):J(w,D))||$);return W>3&&$&&Object.defineProperty(w,D,$),$},u=function(M,w){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(M,w)},e=function(M,w){return function(D,U){w(D,U,M)}},f=function(){function M(w,D,U){this._el=w,this._ngZone=D,this.platformId=U,this.clickOutsideEnabled=!0,this.attachOutsideOnClick=!1,this.delayClickOutsideInit=!1,this.emitOnBlur=!1,this.exclude="",this.excludeBeforeClick=!1,this.clickOutsideEvents="",this.clickOutside=new r.vpe,this._nodesExcluded=[],this._events=["click"],this._initOnClickBody=this._initOnClickBody.bind(this),this._onClickBody=this._onClickBody.bind(this),this._onWindowBlur=this._onWindowBlur.bind(this)}return M.prototype.ngOnInit=function(){(0,a.NF)(this.platformId)&&this._init()},M.prototype.ngOnDestroy=function(){(0,a.NF)(this.platformId)&&(this._removeClickOutsideListener(),this._removeAttachOutsideOnClickListener(),this._removeWindowBlurListener())},M.prototype.ngOnChanges=function(w){(0,a.NF)(this.platformId)&&(w.attachOutsideOnClick||w.exclude||w.emitOnBlur)&&this._init()},M.prototype._init=function(){""!==this.clickOutsideEvents&&(this._events=this.clickOutsideEvents.split(",").map(function(w){return w.trim()})),this._excludeCheck(),this.attachOutsideOnClick?this._initAttachOutsideOnClickListener():this._initOnClickBody(),this.emitOnBlur&&this._initWindowBlurListener()},M.prototype._initOnClickBody=function(){this.delayClickOutsideInit?setTimeout(this._initClickOutsideListener.bind(this)):this._initClickOutsideListener()},M.prototype._excludeCheck=function(){if(this.exclude)try{var w=Array.from(document.querySelectorAll(this.exclude));w&&(this._nodesExcluded=w)}catch(D){console.error("[ng-click-outside] Check your exclude selector syntax.",D)}},M.prototype._onClickBody=function(w){this.clickOutsideEnabled&&(this.excludeBeforeClick&&this._excludeCheck(),!this._el.nativeElement.contains(w.target)&&!this._shouldExclude(w.target)&&(this._emit(w),this.attachOutsideOnClick&&this._removeClickOutsideListener()))},M.prototype._onWindowBlur=function(w){var D=this;setTimeout(function(){document.hidden||D._emit(w)})},M.prototype._emit=function(w){var D=this;this.clickOutsideEnabled&&this._ngZone.run(function(){return D.clickOutside.emit(w)})},M.prototype._shouldExclude=function(w){for(var D=0,U=this._nodesExcluded;D<U.length;D++)if(U[D].contains(w))return!0;return!1},M.prototype._initClickOutsideListener=function(){var w=this;this._ngZone.runOutsideAngular(function(){w._events.forEach(function(D){return document.addEventListener(D,w._onClickBody)})})},M.prototype._removeClickOutsideListener=function(){var w=this;this._ngZone.runOutsideAngular(function(){w._events.forEach(function(D){return document.removeEventListener(D,w._onClickBody)})})},M.prototype._initAttachOutsideOnClickListener=function(){var w=this;this._ngZone.runOutsideAngular(function(){w._events.forEach(function(D){return w._el.nativeElement.addEventListener(D,w._initOnClickBody)})})},M.prototype._removeAttachOutsideOnClickListener=function(){var w=this;this._ngZone.runOutsideAngular(function(){w._events.forEach(function(D){return w._el.nativeElement.removeEventListener(D,w._initOnClickBody)})})},M.prototype._initWindowBlurListener=function(){var w=this;this._ngZone.runOutsideAngular(function(){window.addEventListener("blur",w._onWindowBlur)})},M.prototype._removeWindowBlurListener=function(){var w=this;this._ngZone.runOutsideAngular(function(){window.removeEventListener("blur",w._onWindowBlur)})},c([(0,r.IIB)(),u("design:type",Boolean)],M.prototype,"clickOutsideEnabled",void 0),c([(0,r.IIB)(),u("design:type",Boolean)],M.prototype,"attachOutsideOnClick",void 0),c([(0,r.IIB)(),u("design:type",Boolean)],M.prototype,"delayClickOutsideInit",void 0),c([(0,r.IIB)(),u("design:type",Boolean)],M.prototype,"emitOnBlur",void 0),c([(0,r.IIB)(),u("design:type",String)],M.prototype,"exclude",void 0),c([(0,r.IIB)(),u("design:type",Boolean)],M.prototype,"excludeBeforeClick",void 0),c([(0,r.IIB)(),u("design:type",String)],M.prototype,"clickOutsideEvents",void 0),c([(0,r.r_U)(),u("design:type",r.vpe)],M.prototype,"clickOutside",void 0),(M=c([e(2,(0,r.tBr)(r.Lbi)),u("design:paramtypes",[r.SBq,r.R0b,Object])],M)).\u0275fac=function(D){return new(D||M)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(r.Lbi))},M.\u0275dir=r.lG2({type:M,selectors:[["","clickOutside",""]],inputs:{clickOutsideEnabled:"clickOutsideEnabled",attachOutsideOnClick:"attachOutsideOnClick",delayClickOutsideInit:"delayClickOutsideInit",emitOnBlur:"emitOnBlur",exclude:"exclude",excludeBeforeClick:"excludeBeforeClick",clickOutsideEvents:"clickOutsideEvents"},outputs:{clickOutside:"clickOutside"},features:[r.TTD]}),M.\u0275prov=r.Yz7({token:M,factory:function(w){return M.\u0275fac(w)}}),M}(),T=function(){function M(){}return M.\u0275fac=function(D){return new(D||M)},M.\u0275mod=r.oAB({type:M}),M.\u0275inj=r.cJS({}),M}()},72621:(E,C,s)=>{"use strict";s.d(C,{jh:()=>Te,m9:()=>$e});var r=s(64537),a=s(26215),c=s(65252);var T=s(6823);const M=[[255,99,132],[54,162,235],[255,206,86],[231,233,237],[75,192,192],[151,187,205],[220,220,220],[247,70,74],[70,191,189],[253,180,92],[148,159,177],[77,83,96]];function D(qe,He){return"rgba("+qe.concat(He).join(",")+")"}function U(qe,He){return Math.floor(Math.random()*(He-qe+1))+qe}function J(qe){return{backgroundColor:qe.map(He=>D(He,.6)),borderColor:qe.map(()=>"#fff"),pointBackgroundColor:qe.map(He=>D(He,1)),pointBorderColor:qe.map(()=>"#fff"),pointHoverBackgroundColor:qe.map(He=>D(He,1)),pointHoverBorderColor:qe.map(He=>D(He,1))}}function X(){return[U(0,255),U(0,255),U(0,255)]}function de(qe){return M[qe]||X()}function V(qe){const He=new Array(qe);for(let We=0;We<qe;We++)He[We]=M[We]||X();return He}let ce=(()=>{class qe{constructor(){this.pColorschemesOptions={},this.colorschemesOptions=new a.X({})}setColorschemesOptions(We){this.pColorschemesOptions=We,this.colorschemesOptions.next(We)}getColorschemesOptions(){return this.pColorschemesOptions}}return qe.\u0275fac=function(We){return new(We||qe)},qe.\u0275prov=(0,r.Yz7)({factory:function(){return new qe},token:qe,providedIn:"root"}),qe})();const fe={Default:0,Update:1,Refresh:2};fe[fe.Default]="Default",fe[fe.Update]="Update",fe[fe.Refresh]="Refresh";let Te=(()=>{class qe{constructor(We,Le){this.element=We,this.themeService=Le,this.options={},this.chartClick=new r.vpe,this.chartHover=new r.vpe,this.old={dataExists:!1,dataLength:0,datasetsExists:!1,datasetsLength:0,datasetsDataObjects:[],datasetsDataLengths:[],colorsExists:!1,colors:[],labelsExist:!1,labels:[],legendExists:!1,legend:{}},this.subs=[]}static registerPlugin(We){T.pluginService.register(We)}static unregisterPlugin(We){T.pluginService.unregister(We)}ngOnInit(){this.ctx=this.element.nativeElement.getContext("2d"),this.refresh(),this.subs.push(this.themeService.colorschemesOptions.subscribe(We=>this.themeChanged(We)))}themeChanged(We){this.refresh()}ngDoCheck(){if(!this.chart)return;let We=fe.Default;const Le=Pt=>{We=Pt>We?Pt:We};switch(!!this.data!==this.old.dataExists&&(this.propagateDataToDatasets(this.data),this.old.dataExists=!!this.data,Le(fe.Update)),this.data&&this.data.length!==this.old.dataLength&&(this.old.dataLength=this.data&&this.data.length||0,Le(fe.Update)),!!this.datasets!==this.old.datasetsExists&&(this.old.datasetsExists=!!this.datasets,Le(fe.Update)),this.datasets&&this.datasets.length!==this.old.datasetsLength&&(this.old.datasetsLength=this.datasets&&this.datasets.length||0,Le(fe.Update)),this.datasets&&this.datasets.filter((Pt,it)=>Pt.data!==this.old.datasetsDataObjects[it]).length&&(this.old.datasetsDataObjects=this.datasets.map(Pt=>Pt.data),Le(fe.Update)),this.datasets&&this.datasets.filter((Pt,it)=>Pt.data.length!==this.old.datasetsDataLengths[it]).length&&(this.old.datasetsDataLengths=this.datasets.map(Pt=>Pt.data.length),Le(fe.Update)),!!this.colors!==this.old.colorsExists&&(this.old.colorsExists=!!this.colors,this.updateColors(),Le(fe.Update)),this.colors&&this.colors.filter((Pt,it)=>!this.colorsEqual(Pt,this.old.colors[it])).length&&(this.old.colors=this.colors.map(Pt=>this.copyColor(Pt)),this.updateColors(),Le(fe.Update)),!!this.labels!==this.old.labelsExist&&(this.old.labelsExist=!!this.labels,Le(fe.Update)),this.labels&&this.labels.filter((Pt,it)=>!this.labelsEqual(Pt,this.old.labels[it])).length&&(this.old.labels=this.labels.map(Pt=>this.copyLabel(Pt)),Le(fe.Update)),!!this.options.legend!==this.old.legendExists&&(this.old.legendExists=!!this.options.legend,Le(fe.Refresh)),this.options.legend&&this.options.legend.position!==this.old.legend.position&&(this.old.legend.position=this.options.legend.position,Le(fe.Refresh)),We){case fe.Default:break;case fe.Update:this.update();break;case fe.Refresh:this.refresh()}}copyLabel(We){return Array.isArray(We)?[...We]:We}labelsEqual(We,Le){return Array.isArray(We)===Array.isArray(Le)&&(Array.isArray(We)||We===Le)&&(!Array.isArray(We)||We.length===Le.length)&&(!Array.isArray(We)||0===We.filter((Pt,it)=>Pt!==Le[it]).length)}copyColor(We){return{backgroundColor:We.backgroundColor,borderWidth:We.borderWidth,borderColor:We.borderColor,borderCapStyle:We.borderCapStyle,borderDash:We.borderDash,borderDashOffset:We.borderDashOffset,borderJoinStyle:We.borderJoinStyle,pointBorderColor:We.pointBorderColor,pointBackgroundColor:We.pointBackgroundColor,pointBorderWidth:We.pointBorderWidth,pointRadius:We.pointRadius,pointHoverRadius:We.pointHoverRadius,pointHitRadius:We.pointHitRadius,pointHoverBackgroundColor:We.pointHoverBackgroundColor,pointHoverBorderColor:We.pointHoverBorderColor,pointHoverBorderWidth:We.pointHoverBorderWidth,pointStyle:We.pointStyle,hoverBackgroundColor:We.hoverBackgroundColor,hoverBorderColor:We.hoverBorderColor,hoverBorderWidth:We.hoverBorderWidth}}colorsEqual(We,Le){return!We==!Le&&(!We||We.backgroundColor===Le.backgroundColor&&We.borderWidth===Le.borderWidth&&We.borderColor===Le.borderColor&&We.borderCapStyle===Le.borderCapStyle&&We.borderDash===Le.borderDash&&We.borderDashOffset===Le.borderDashOffset&&We.borderJoinStyle===Le.borderJoinStyle&&We.pointBorderColor===Le.pointBorderColor&&We.pointBackgroundColor===Le.pointBackgroundColor&&We.pointBorderWidth===Le.pointBorderWidth&&We.pointRadius===Le.pointRadius&&We.pointHoverRadius===Le.pointHoverRadius&&We.pointHitRadius===Le.pointHitRadius&&We.pointHoverBackgroundColor===Le.pointHoverBackgroundColor&&We.pointHoverBorderColor===Le.pointHoverBorderColor&&We.pointHoverBorderWidth===Le.pointHoverBorderWidth&&We.pointStyle===Le.pointStyle&&We.hoverBackgroundColor===Le.hoverBackgroundColor&&We.hoverBorderColor===Le.hoverBorderColor&&We.hoverBorderWidth===Le.hoverBorderWidth)}updateColors(){this.datasets.forEach((We,Le)=>{this.colors&&this.colors[Le]?Object.assign(We,this.colors[Le]):Object.assign(We,function w(qe,He,We){if("pie"===qe||"doughnut"===qe)return J(V(We));if("polarArea"===qe)return function F(qe){return{backgroundColor:qe.map(He=>D(He,.6)),borderColor:qe.map(He=>D(He,1)),hoverBackgroundColor:qe.map(He=>D(He,.8)),hoverBorderColor:qe.map(He=>D(He,1))}}(V(We));if("line"===qe||"radar"===qe)return function W(qe){return{backgroundColor:D(qe,.4),borderColor:D(qe,1),pointBackgroundColor:D(qe,1),pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:D(qe,.8)}}(de(He));if("bar"===qe||"horizontalBar"===qe)return function $(qe){return{backgroundColor:D(qe,.6),borderColor:D(qe,1),hoverBackgroundColor:D(qe,.8),hoverBorderColor:D(qe,1)}}(de(He));if("bubble"===qe||"scatter"===qe)return J(V(We));throw new Error(`getColors - Unsupported chart type ${qe}`)}(this.chartType,Le,We.data.length),Object.assign({},We))})}ngOnChanges(We){let Le=fe.Default;const Pt=it=>{Le=it>Le?it:Le};switch(We.hasOwnProperty("data")&&We.data.currentValue&&(this.propagateDataToDatasets(We.data.currentValue),Pt(fe.Update)),We.hasOwnProperty("datasets")&&We.datasets.currentValue&&(this.propagateDatasetsToData(We.datasets.currentValue),Pt(fe.Update)),We.hasOwnProperty("labels")&&(this.chart&&(this.chart.data.labels=We.labels.currentValue),Pt(fe.Update)),We.hasOwnProperty("legend")&&(this.chart&&(this.chart.config.options.legend.display=We.legend.currentValue,this.chart.generateLegend()),Pt(fe.Update)),We.hasOwnProperty("options")&&Pt(fe.Refresh),Le){case fe.Update:this.update();break;case fe.Refresh:case fe.Default:this.refresh()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(We=>We.unsubscribe())}update(We){if(this.chart)return this.chart.update(We)}hideDataset(We,Le){this.chart.getDatasetMeta(We).hidden=Le,this.chart.update()}isDatasetHidden(We){return this.chart.getDatasetMeta(We).hidden}toBase64Image(){return this.chart.toBase64Image()}getChartConfiguration(){const We=this.getDatasets(),Le=Object.assign({},this.options);!1===this.legend&&(Le.legend={display:!1}),Le.hover=Le.hover||{},Le.hover.onHover||(Le.hover.onHover=(it,Xt)=>{Xt&&!Xt.length||this.chartHover.emit({event:it,active:Xt})}),Le.onClick||(Le.onClick=(it,Xt)=>{this.chartClick.emit({event:it,active:Xt})});const Pt=this.smartMerge(Le,this.themeService.getColorschemesOptions());return{type:this.chartType,data:{labels:this.labels||[],datasets:We},plugins:this.plugins,options:Pt}}getChartBuilder(We){const Le=this.getChartConfiguration();return new T.Chart(We,Le)}smartMerge(We,Le,Pt=0){if(0===Pt&&(We=function f(qe){return(0,c.Z)(qe,5)}(We)),Object.keys(Le).forEach(Xt=>{if(Array.isArray(Le[Xt])){const cn=We[Xt];cn&&cn.forEach(pn=>{this.smartMerge(pn,Le[Xt][0],Pt+1)})}else"object"==typeof Le[Xt]?(Xt in We||(We[Xt]={}),this.smartMerge(We[Xt],Le[Xt],Pt+1)):We[Xt]=Le[Xt]}),0===Pt)return We}isMultiLineLabel(We){return Array.isArray(We)}joinLabel(We){return We?this.isMultiLineLabel(We)?We.join(" "):We:null}propagateDatasetsToData(We){this.data=this.datasets.map(Le=>Le.data),this.chart&&(this.chart.data.datasets=We),this.updateColors()}propagateDataToDatasets(We){this.isMultiDataSet(We)?this.datasets&&We.length===this.datasets.length?this.datasets.forEach((Le,Pt)=>{Le.data=We[Pt]}):(this.datasets=We.map((Le,Pt)=>({data:Le,label:this.joinLabel(this.labels[Pt])||`Label ${Pt}`})),this.chart&&(this.chart.data.datasets=this.datasets)):this.datasets?(this.datasets[0]||(this.datasets[0]={}),this.datasets[0].data=We,this.datasets.splice(1)):(this.datasets=[{data:We}],this.chart&&(this.chart.data.datasets=this.datasets)),this.updateColors()}isMultiDataSet(We){return Array.isArray(We[0])}getDatasets(){if(!this.datasets&&!this.data)throw new Error(`ng-charts configuration error, data or datasets field are required to render chart ${this.chartType}`);return this.datasets?(this.propagateDatasetsToData(this.datasets),this.datasets):this.data?(this.propagateDataToDatasets(this.data),this.datasets):void 0}refresh(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.ctx&&(this.chart=this.getChartBuilder(this.ctx))}}return qe.\u0275fac=function(We){return new(We||qe)(r.Y36(r.SBq),r.Y36(ce))},qe.\u0275dir=r.lG2({type:qe,selectors:[["canvas","baseChart",""]],inputs:{options:"options",data:"data",datasets:"datasets",labels:"labels",chartType:"chartType",colors:"colors",legend:"legend",plugins:"plugins"},outputs:{chartClick:"chartClick",chartHover:"chartHover"},exportAs:["base-chart"],features:[r.TTD]}),qe})(),$e=(()=>{class qe{}return qe.\u0275fac=function(We){return new(We||qe)},qe.\u0275mod=r.oAB({type:qe}),qe.\u0275inj=r.cJS({}),qe})()},37496:(E,C,s)=>{"use strict";s.d(C,{b:()=>c,i:()=>a});var r=s(64537);let a=(()=>{class u{transform(f,m,T){return T?m.call(T,f):m(f)}}return u.\u0275fac=function(f){return new(f||u)},u.\u0275pipe=r.Yjl({name:"pipeFunction",type:u,pure:!0}),u})(),c=(()=>{class u{}return u.\u0275fac=function(f){return new(f||u)},u.\u0275mod=r.oAB({type:u}),u.\u0275inj=r.cJS({}),u})()},18228:E=>{"use strict";var C=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;E.exports=function c(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de","5"===Object.getOwnPropertyNames(u)[0])return!1;for(var e={},f=0;f<10;f++)e["_"+String.fromCharCode(f)]=f;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(M){return e[M]}).join(""))return!1;var T={};return"abcdefghijklmnopqrst".split("").forEach(function(M){T[M]=M}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},T)).join("")}catch{return!1}}()?Object.assign:function(u,e){for(var f,T,m=function a(u){if(null==u)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}(u),M=1;M<arguments.length;M++){for(var w in f=Object(arguments[M]))s.call(f,w)&&(m[w]=f[w]);if(C){T=C(f);for(var D=0;D<T.length;D++)r.call(f,T[D])&&(m[T[D]]=f[T[D]])}}return m}},81380:(E,C,s)=>{var r="function"==typeof Map&&Map.prototype,a=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,c=r&&a&&"function"==typeof a.get?a.get:null,u=r&&Map.prototype.forEach,e="function"==typeof Set&&Set.prototype,f=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,m=e&&f&&"function"==typeof f.get?f.get:null,T=e&&Set.prototype.forEach,w="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,U="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,$="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,J=Boolean.prototype.valueOf,F=Object.prototype.toString,X=Function.prototype.toString,de=String.prototype.match,V=String.prototype.slice,ce=String.prototype.replace,se=String.prototype.toUpperCase,fe=String.prototype.toLowerCase,Te=RegExp.prototype.test,$e=Array.prototype.concat,ge=Array.prototype.join,Et=Array.prototype.slice,ot=Math.floor,ct="function"==typeof BigInt?BigInt.prototype.valueOf:null,qe=Object.getOwnPropertySymbols,He="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,We="function"==typeof Symbol&&"object"==typeof Symbol.iterator,Le="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol,1)?Symbol.toStringTag:null,Pt=Object.prototype.propertyIsEnumerable,it=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Dn){return Dn.__proto__}:null);function Xt(Dn,Hn){if(Dn===1/0||Dn===-1/0||Dn!=Dn||Dn&&Dn>-1e3&&Dn<1e3||Te.call(/e/,Hn))return Hn;var jt=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof Dn){var Fe=Dn<0?-ot(-Dn):ot(Dn);if(Fe!==Dn){var Ie=String(Fe),et=V.call(Hn,Ie.length+1);return ce.call(Ie,jt,"$&_")+"."+ce.call(ce.call(et,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ce.call(Hn,jt,"$&_")}var cn=s(24654),pn=cn.custom,Rn=Qr(pn)?pn:null;function At(Dn,Hn,jt){var Fe="double"===(jt.quoteStyle||Hn)?'"':"'";return Fe+Dn+Fe}function qt(Dn){return ce.call(String(Dn),/"/g,"&quot;")}function sn(Dn){return!("[object Array]"!==Wt(Dn)||Le&&"object"==typeof Dn&&Le in Dn)}function xn(Dn){return!("[object RegExp]"!==Wt(Dn)||Le&&"object"==typeof Dn&&Le in Dn)}function Qr(Dn){if(We)return Dn&&"object"==typeof Dn&&Dn instanceof Symbol;if("symbol"==typeof Dn)return!0;if(!Dn||"object"!=typeof Dn||!He)return!1;try{return He.call(Dn),!0}catch{}return!1}E.exports=function Dn(Hn,jt,Fe,Ie){var et=jt||{};if(ht(et,"quoteStyle")&&"single"!==et.quoteStyle&&"double"!==et.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ht(et,"maxStringLength")&&("number"==typeof et.maxStringLength?et.maxStringLength<0&&et.maxStringLength!==1/0:null!==et.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var ze=!ht(et,"customInspect")||et.customInspect;if("boolean"!=typeof ze&&"symbol"!==ze)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ht(et,"indent")&&null!==et.indent&&"\t"!==et.indent&&!(parseInt(et.indent,10)===et.indent&&et.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ht(et,"numericSeparator")&&"boolean"!=typeof et.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var an=et.numericSeparator;if(typeof Hn>"u")return"undefined";if(null===Hn)return"null";if("boolean"==typeof Hn)return Hn?"true":"false";if("string"==typeof Hn)return Ei(Hn,et);if("number"==typeof Hn){if(0===Hn)return 1/0/Hn>0?"0":"-0";var lt=String(Hn);return an?Xt(Hn,lt):lt}if("bigint"==typeof Hn){var Rt=String(Hn)+"n";return an?Xt(Hn,Rt):Rt}var Pe=typeof et.depth>"u"?5:et.depth;if(typeof Fe>"u"&&(Fe=0),Fe>=Pe&&Pe>0&&"object"==typeof Hn)return sn(Hn)?"[Array]":"[Object]";var qn=function $i(Dn,Hn){var jt;if("\t"===Dn.indent)jt="\t";else{if(!("number"==typeof Dn.indent&&Dn.indent>0))return null;jt=ge.call(Array(Dn.indent+1)," ")}return{base:jt,prev:ge.call(Array(Hn+1),jt)}}(et,Fe);if(typeof Ie>"u")Ie=[];else if(wn(Ie,Hn)>=0)return"[Circular]";function gr(_s,dr,Ni){if(dr&&(Ie=Et.call(Ie)).push(dr),Ni){var ti={depth:et.depth};return ht(et,"quoteStyle")&&(ti.quoteStyle=et.quoteStyle),Dn(_s,ti,Fe+1,Ie)}return Dn(_s,et,Fe+1,Ie)}if("function"==typeof Hn&&!xn(Hn)){var Pn=function Tt(Dn){if(Dn.name)return Dn.name;var Hn=de.call(X.call(Dn),/^function\s*([\w$]+)/);return Hn?Hn[1]:null}(Hn),_r=Hi(Hn,gr);return"[Function"+(Pn?": "+Pn:" (anonymous)")+"]"+(_r.length>0?" { "+ge.call(_r,", ")+" }":"")}if(Qr(Hn)){var Pr=We?ce.call(String(Hn),/^(Symbol\(.*\))_[^)]*$/,"$1"):He.call(Hn);return"object"!=typeof Hn||We?Pr:mr(Pr)}if(function kr(Dn){return!(!Dn||"object"!=typeof Dn)&&(typeof HTMLElement<"u"&&Dn instanceof HTMLElement||"string"==typeof Dn.nodeName&&"function"==typeof Dn.getAttribute)}(Hn)){for(var tr="<"+fe.call(String(Hn.nodeName)),Zn=Hn.attributes||[],nr=0;nr<Zn.length;nr++)tr+=" "+Zn[nr].name+"="+At(qt(Zn[nr].value),"double",et);return tr+=">",Hn.childNodes&&Hn.childNodes.length&&(tr+="..."),tr+"</"+fe.call(String(Hn.nodeName))+">"}if(sn(Hn)){if(0===Hn.length)return"[]";var Zt=Hi(Hn,gr);return qn&&!function po(Dn){for(var Hn=0;Hn<Dn.length;Hn++)if(wn(Dn[Hn],"\n")>=0)return!1;return!0}(Zt)?"["+qr(Zt,qn)+"]":"[ "+ge.call(Zt,", ")+" ]"}if(function Kr(Dn){return!("[object Error]"!==Wt(Dn)||Le&&"object"==typeof Dn&&Le in Dn)}(Hn)){var dn=Hi(Hn,gr);return"cause"in Error.prototype||!("cause"in Hn)||Pt.call(Hn,"cause")?0===dn.length?"["+String(Hn)+"]":"{ ["+String(Hn)+"] "+ge.call(dn,", ")+" }":"{ ["+String(Hn)+"] "+ge.call($e.call("[cause]: "+gr(Hn.cause),dn),", ")+" }"}if("object"==typeof Hn&&ze){if(Rn&&"function"==typeof Hn[Rn]&&cn)return cn(Hn,{depth:Pe-Fe});if("symbol"!==ze&&"function"==typeof Hn.inspect)return Hn.inspect()}if(function jn(Dn){if(!c||!Dn||"object"!=typeof Dn)return!1;try{c.call(Dn);try{m.call(Dn)}catch{return!0}return Dn instanceof Map}catch{}return!1}(Hn)){var Ge=[];return u&&u.call(Hn,function(_s,dr){Ge.push(gr(dr,Hn,!0)+" => "+gr(_s,Hn))}),Eo("Map",c.call(Hn),Ge,qn)}if(function Wi(Dn){if(!m||!Dn||"object"!=typeof Dn)return!1;try{m.call(Dn);try{c.call(Dn)}catch{return!0}return Dn instanceof Set}catch{}return!1}(Hn)){var Ot=[];return T&&T.call(Hn,function(_s){Ot.push(gr(_s,Hn))}),Eo("Set",m.call(Hn),Ot,qn)}if(function hr(Dn){if(!w||!Dn||"object"!=typeof Dn)return!1;try{w.call(Dn,w);try{U.call(Dn,U)}catch{return!0}return Dn instanceof WeakMap}catch{}return!1}(Hn))return pr("WeakMap");if(function so(Dn){if(!U||!Dn||"object"!=typeof Dn)return!1;try{U.call(Dn,U);try{w.call(Dn,w)}catch{return!0}return Dn instanceof WeakSet}catch{}return!1}(Hn))return pr("WeakSet");if(function Oi(Dn){if(!$||!Dn||"object"!=typeof Dn)return!1;try{return $.call(Dn),!0}catch{}return!1}(Hn))return pr("WeakRef");if(function Lr(Dn){return!("[object Number]"!==Wt(Dn)||Le&&"object"==typeof Dn&&Le in Dn)}(Hn))return mr(gr(Number(Hn)));if(function jr(Dn){if(!Dn||"object"!=typeof Dn||!ct)return!1;try{return ct.call(Dn),!0}catch{}return!1}(Hn))return mr(gr(ct.call(Hn)));if(function ir(Dn){return!("[object Boolean]"!==Wt(Dn)||Le&&"object"==typeof Dn&&Le in Dn)}(Hn))return mr(J.call(Hn));if(function Or(Dn){return!("[object String]"!==Wt(Dn)||Le&&"object"==typeof Dn&&Le in Dn)}(Hn))return mr(gr(String(Hn)));if(!function fn(Dn){return!("[object Date]"!==Wt(Dn)||Le&&"object"==typeof Dn&&Le in Dn)}(Hn)&&!xn(Hn)){var mn=Hi(Hn,gr),wr=it?it(Hn)===Object.prototype:Hn instanceof Object||Hn.constructor===Object,Ti=Hn instanceof Object?"":"null prototype",Ci=!wr&&Le&&Object(Hn)===Hn&&Le in Hn?V.call(Wt(Hn),8,-1):Ti?"Object":"",Ko=(wr||"function"!=typeof Hn.constructor?"":Hn.constructor.name?Hn.constructor.name+" ":"")+(Ci||Ti?"["+ge.call($e.call([],Ci||[],Ti||[]),": ")+"] ":"");return 0===mn.length?Ko+"{}":qn?Ko+"{"+qr(mn,qn)+"}":Ko+"{ "+ge.call(mn,", ")+" }"}return String(Hn)};var br=Object.prototype.hasOwnProperty||function(Dn){return Dn in this};function ht(Dn,Hn){return br.call(Dn,Hn)}function Wt(Dn){return F.call(Dn)}function wn(Dn,Hn){if(Dn.indexOf)return Dn.indexOf(Hn);for(var jt=0,Fe=Dn.length;jt<Fe;jt++)if(Dn[jt]===Hn)return jt;return-1}function Ei(Dn,Hn){if(Dn.length>Hn.maxStringLength){var jt=Dn.length-Hn.maxStringLength,Fe="... "+jt+" more character"+(jt>1?"s":"");return Ei(V.call(Dn,0,Hn.maxStringLength),Hn)+Fe}return At(ce.call(ce.call(Dn,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ii),"single",Hn)}function ii(Dn){var Hn=Dn.charCodeAt(0),jt={8:"b",9:"t",10:"n",12:"f",13:"r"}[Hn];return jt?"\\"+jt:"\\x"+(Hn<16?"0":"")+se.call(Hn.toString(16))}function mr(Dn){return"Object("+Dn+")"}function pr(Dn){return Dn+" { ? }"}function Eo(Dn,Hn,jt,Fe){return Dn+" ("+Hn+") {"+(Fe?qr(jt,Fe):ge.call(jt,", "))+"}"}function qr(Dn,Hn){if(0===Dn.length)return"";var jt="\n"+Hn.prev+Hn.base;return jt+ge.call(Dn,","+jt)+"\n"+Hn.prev}function Hi(Dn,Hn){var jt=sn(Dn),Fe=[];if(jt){Fe.length=Dn.length;for(var Ie=0;Ie<Dn.length;Ie++)Fe[Ie]=ht(Dn,Ie)?Hn(Dn[Ie],Dn):""}var ze,et="function"==typeof qe?qe(Dn):[];if(We){ze={};for(var an=0;an<et.length;an++)ze["$"+et[an]]=et[an]}for(var lt in Dn)ht(Dn,lt)&&(jt&&String(Number(lt))===lt&&lt<Dn.length||We&&ze["$"+lt]instanceof Symbol||(Te.call(/[^\w$]/,lt)?Fe.push(Hn(lt,Dn)+": "+Hn(Dn[lt],Dn)):Fe.push(lt+": "+Hn(Dn[lt],Dn))));if("function"==typeof qe)for(var Rt=0;Rt<et.length;Rt++)Pt.call(Dn,et[Rt])&&Fe.push("["+Hn(et[Rt])+"]: "+Hn(Dn[et[Rt]],Dn));return Fe}},29849:E=>{var s,r,C=E.exports={};function a(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function u($){if(s===setTimeout)return setTimeout($,0);if((s===a||!s)&&setTimeout)return s=setTimeout,setTimeout($,0);try{return s($,0)}catch{try{return s.call(null,$,0)}catch{return s.call(this,$,0)}}}!function(){try{s="function"==typeof setTimeout?setTimeout:a}catch{s=a}try{r="function"==typeof clearTimeout?clearTimeout:c}catch{r=c}}();var T,f=[],m=!1,M=-1;function w(){!m||!T||(m=!1,T.length?f=T.concat(f):M=-1,f.length&&D())}function D(){if(!m){var $=u(w);m=!0;for(var J=f.length;J;){for(T=f,f=[];++M<J;)T&&T[M].run();M=-1,J=f.length}T=null,m=!1,function e($){if(r===clearTimeout)return clearTimeout($);if((r===c||!r)&&clearTimeout)return r=clearTimeout,clearTimeout($);try{r($)}catch{try{return r.call(null,$)}catch{return r.call(this,$)}}}($)}}function U($,J){this.fun=$,this.array=J}function W(){}C.nextTick=function($){var J=new Array(arguments.length-1);if(arguments.length>1)for(var F=1;F<arguments.length;F++)J[F-1]=arguments[F];f.push(new U($,J)),1===f.length&&!m&&u(D)},U.prototype.run=function(){this.fun.apply(null,this.array)},C.title="browser",C.browser=!0,C.env={},C.argv=[],C.version="",C.versions={},C.on=W,C.addListener=W,C.once=W,C.off=W,C.removeListener=W,C.removeAllListeners=W,C.emit=W,C.prependListener=W,C.prependOnceListener=W,C.listeners=function($){return[]},C.binding=function($){throw new Error("process.binding is not supported")},C.cwd=function(){return"/"},C.chdir=function($){throw new Error("process.chdir is not supported")},C.umask=function(){return 0}},25119:(E,C,s)=>{"use strict";var r=s(88411);function a(){}function c(){}c.resetWarningCache=a,E.exports=function(){function u(m,T,M,w,D,U){if(U!==r){var W=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw W.name="Invariant Violation",W}}function e(){return u}u.isRequired=u;var f={array:u,bigint:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:e,element:u,elementType:u,instanceOf:e,node:u,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:c,resetWarningCache:a};return f.PropTypes=f,f}},76874:(E,C,s)=>{E.exports=s(25119)()},88411:E=>{"use strict";E.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},76959:(E,C)=>{"use strict";var s=Object.prototype.hasOwnProperty;function a(f){try{return decodeURIComponent(f.replace(/\+/g," "))}catch{return null}}function c(f){try{return encodeURIComponent(f)}catch{return null}}C.stringify=function e(f,m){m=m||"";var M,w,T=[];for(w in"string"!=typeof m&&(m="?"),f)if(s.call(f,w)){if(!(M=f[w])&&(null==M||isNaN(M))&&(M=""),w=c(w),M=c(M),null===w||null===M)continue;T.push(w+"="+M)}return T.length?m+T.join("&"):""},C.parse=function u(f){for(var M,m=/([^=?#&]+)=?([^&]*)/g,T={};M=m.exec(f);){var w=a(M[1]),D=a(M[2]);null===w||null===D||w in T||(T[w]=D)}return T}},17346:(E,C,s)=>{const r=s(66952),a=s(32582),c=r.types;E.exports=class _S{constructor(e,f){if(this._setDefaults(e),e instanceof RegExp)this.ignoreCase=e.ignoreCase,this.multiline=e.multiline,e=e.source;else{if("string"!=typeof e)throw new Error("Expected a regexp or string");this.ignoreCase=f&&-1!==f.indexOf("i"),this.multiline=f&&-1!==f.indexOf("m")}this.tokens=r(e)}_setDefaults(e){this.max=null!=e.max?e.max:null!=_S.prototype.max?_S.prototype.max:100,this.defaultRange=e.defaultRange?e.defaultRange:this.defaultRange.clone(),e.randInt&&(this.randInt=e.randInt)}gen(){return this._gen(this.tokens,[])}_gen(e,f){var m,T,M,w,D;switch(e.type){case c.ROOT:case c.GROUP:if(e.followedBy||e.notFollowedBy)return"";for(e.remember&&void 0===e.groupNumber&&(e.groupNumber=f.push(null)-1),T="",w=0,D=(m=e.options?this._randSelect(e.options):e.stack).length;w<D;w++)T+=this._gen(m[w],f);return e.remember&&(f[e.groupNumber]=T),T;case c.POSITION:return"";case c.SET:var U=this._expand(e);return U.length?String.fromCharCode(this._randSelect(U)):"";case c.REPETITION:for(M=this.randInt(e.min,e.max===1/0?e.min+this.max:e.max),T="",w=0;w<M;w++)T+=this._gen(e.value,f);return T;case c.REFERENCE:return f[e.value-1]||"";case c.CHAR:var W=this.ignoreCase&&this._randBool()?this._toOtherCase(e.value):e.value;return String.fromCharCode(W)}}_toOtherCase(e){return e+(97<=e&&e<=122?-32:65<=e&&e<=90?32:0)}_randBool(){return!this.randInt(0,1)}_randSelect(e){return e instanceof a?e.index(this.randInt(0,e.length-1)):e[this.randInt(0,e.length-1)]}_expand(e){if(e.type===r.types.CHAR)return new a(e.value);if(e.type===r.types.RANGE)return new a(e.from,e.to);{let f=new a;for(let m=0;m<e.set.length;m++){let T=this._expand(e.set[m]);if(f.add(T),this.ignoreCase)for(let M=0;M<T.length;M++){let w=T.index(M),D=this._toOtherCase(w);w!==D&&f.add(D)}}return e.not?this.defaultRange.clone().subtract(f):this.defaultRange.clone().intersect(f)}}randInt(e,f){return e+Math.floor(Math.random()*(1+f-e))}get defaultRange(){return this._range=this._range||new a(32,126)}set defaultRange(e){this._range=e}static randexp(e,f){var m;return"string"==typeof e&&(e=new RegExp(e,f)),void 0===e._randexp?(m=new _S(e,f),e._randexp=m):(m=e._randexp)._setDefaults(e),m.gen()}static sugar(){RegExp.prototype.gen=function(){return _S.randexp(this)}}}},57021:(E,C,s)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.CopyToClipboard=void 0;var r=c(s(78139)),a=c(s(96967));function c(V){return V&&V.__esModule?V:{default:V}}function u(V){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(se){return typeof se}:function(se){return se&&"function"==typeof Symbol&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se})(V)}function e(V,ce){var se=Object.keys(V);if(Object.getOwnPropertySymbols){var fe=Object.getOwnPropertySymbols(V);ce&&(fe=fe.filter(function(Te){return Object.getOwnPropertyDescriptor(V,Te).enumerable})),se.push.apply(se,fe)}return se}function w(V,ce){for(var se=0;se<ce.length;se++){var fe=ce[se];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(V,fe.key,fe)}}function W(V){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(se){return se.__proto__||Object.getPrototypeOf(se)})(V)}function $(V){if(void 0===V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}function F(V,ce){return(F=Object.setPrototypeOf||function(fe,Te){return fe.__proto__=Te,fe})(V,ce)}function X(V,ce,se){return ce in V?Object.defineProperty(V,ce,{value:se,enumerable:!0,configurable:!0,writable:!0}):V[ce]=se,V}var de=function(V){function ce(){var se,fe;!function M(V,ce){if(!(V instanceof ce))throw new TypeError("Cannot call a class as a function")}(this,ce);for(var Te=arguments.length,$e=new Array(Te),ge=0;ge<Te;ge++)$e[ge]=arguments[ge];return fe=function U(V,ce){return!ce||"object"!==u(ce)&&"function"!=typeof ce?$(V):ce}(this,(se=W(ce)).call.apply(se,[this].concat($e))),X($(fe),"onClick",function(Et){var ot=fe.props,ct=ot.text,qe=ot.onCopy,We=ot.options,Le=r.default.Children.only(ot.children),Pt=(0,a.default)(ct,We);qe&&qe(ct,Pt),Le&&Le.props&&"function"==typeof Le.props.onClick&&Le.props.onClick(Et)}),fe}return function J(V,ce){if("function"!=typeof ce&&null!==ce)throw new TypeError("Super expression must either be null or a function");V.prototype=Object.create(ce&&ce.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),ce&&F(V,ce)}(ce,V),function D(V,ce,se){ce&&w(V.prototype,ce),se&&w(V,se)}(ce,[{key:"render",value:function(){var fe=this.props,Et=fe.children,ot=function m(V,ce){if(null==V)return{};var fe,Te,se=function T(V,ce){if(null==V)return{};var Te,$e,se={},fe=Object.keys(V);for($e=0;$e<fe.length;$e++)!(ce.indexOf(Te=fe[$e])>=0)&&(se[Te]=V[Te]);return se}(V,ce);if(Object.getOwnPropertySymbols){var $e=Object.getOwnPropertySymbols(V);for(Te=0;Te<$e.length;Te++)!(ce.indexOf(fe=$e[Te])>=0)&&Object.prototype.propertyIsEnumerable.call(V,fe)&&(se[fe]=V[fe])}return se}(fe,["text","onCopy","options","children"]),ct=r.default.Children.only(Et);return r.default.cloneElement(ct,function f(V){for(var ce=1;ce<arguments.length;ce++){var se=null!=arguments[ce]?arguments[ce]:{};ce%2?e(se,!0).forEach(function(fe){X(V,fe,se[fe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(V,Object.getOwnPropertyDescriptors(se)):e(se).forEach(function(fe){Object.defineProperty(V,fe,Object.getOwnPropertyDescriptor(se,fe))})}return V}({},ot,{onClick:this.onClick}))}}]),ce}(r.default.PureComponent);C.CopyToClipboard=de,X(de,"defaultProps",{onCopy:void 0,options:void 0})},43409:(E,C,s)=>{"use strict";var a=s(57021).CopyToClipboard;a.CopyToClipboard=a,E.exports=a},16709:(E,C,s)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.DebounceInput=void 0;var r=c(s(78139)),a=c(s(86906));function c(se){return se&&se.__esModule?se:{default:se}}function u(se){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Te){return typeof Te}:function(Te){return Te&&"function"==typeof Symbol&&Te.constructor===Symbol&&Te!==Symbol.prototype?"symbol":typeof Te})(se)}function m(se,fe){var Te=Object.keys(se);if(Object.getOwnPropertySymbols){var $e=Object.getOwnPropertySymbols(se);fe&&($e=$e.filter(function(ge){return Object.getOwnPropertyDescriptor(se,ge).enumerable})),Te.push.apply(Te,$e)}return Te}function T(se){for(var fe=1;fe<arguments.length;fe++){var Te=null!=arguments[fe]?arguments[fe]:{};fe%2?m(Object(Te),!0).forEach(function($e){V(se,$e,Te[$e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(se,Object.getOwnPropertyDescriptors(Te)):m(Object(Te)).forEach(function($e){Object.defineProperty(se,$e,Object.getOwnPropertyDescriptor(Te,$e))})}return se}function w(se,fe){for(var Te=0;Te<fe.length;Te++){var $e=fe[Te];$e.enumerable=$e.enumerable||!1,$e.configurable=!0,"value"in $e&&($e.writable=!0),Object.defineProperty(se,$e.key,$e)}}function W(se,fe){return(W=Object.setPrototypeOf||function($e,ge){return $e.__proto__=ge,$e})(se,fe)}function F(se){if(void 0===se)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return se}function de(se){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(Te){return Te.__proto__||Object.getPrototypeOf(Te)})(se)}function V(se,fe,Te){return fe in se?Object.defineProperty(se,fe,{value:Te,enumerable:!0,configurable:!0,writable:!0}):se[fe]=Te,se}var ce=function(se){!function U(se,fe){if("function"!=typeof fe&&null!==fe)throw new TypeError("Super expression must either be null or a function");se.prototype=Object.create(fe&&fe.prototype,{constructor:{value:se,writable:!0,configurable:!0}}),fe&&W(se,fe)}(Te,se);var fe=function $(se){var fe=function X(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var ge,$e=de(se);if(fe){var Et=de(this).constructor;ge=Reflect.construct($e,arguments,Et)}else ge=$e.apply(this,arguments);return function J(se,fe){return!fe||"object"!==u(fe)&&"function"!=typeof fe?F(se):fe}(this,ge)}}(Te);function Te($e){var ge;return function M(se,fe){if(!(se instanceof fe))throw new TypeError("Cannot call a class as a function")}(this,Te),V(F(ge=fe.call(this,$e)),"onChange",function(ot){ot.persist();var ct=ge.state.value,qe=ge.props.minLength;ge.setState({value:ot.target.value},function(){var He=ge.state.value;He.length>=qe?ge.notify(ot):ct.length>He.length&&ge.notify(T(T({},ot),{},{target:T(T({},ot.target),{},{value:""})}))})}),V(F(ge),"onKeyDown",function(ot){"Enter"===ot.key&&ge.forceNotify(ot);var ct=ge.props.onKeyDown;ct&&(ot.persist(),ct(ot))}),V(F(ge),"onBlur",function(ot){ge.forceNotify(ot);var ct=ge.props.onBlur;ct&&(ot.persist(),ct(ot))}),V(F(ge),"createNotifier",function(ot){if(ot<0)ge.notify=function(){return null};else if(0===ot)ge.notify=ge.doNotify;else{var ct=(0,a.default)(function(qe){ge.isDebouncing=!1,ge.doNotify(qe)},ot);ge.notify=function(qe){ge.isDebouncing=!0,ct(qe)},ge.flush=function(){return ct.flush()},ge.cancel=function(){ge.isDebouncing=!1,ct.cancel()}}}),V(F(ge),"doNotify",function(){ge.props.onChange.apply(void 0,arguments)}),V(F(ge),"forceNotify",function(ot){if(ge.isDebouncing||!(ge.props.debounceTimeout>0)){ge.cancel&&ge.cancel();var qe=ge.state.value;ge.doNotify(qe.length>=ge.props.minLength?ot:T(T({},ot),{},{target:T(T({},ot.target),{},{value:qe})}))}}),ge.isDebouncing=!1,ge.state={value:typeof $e.value>"u"||null===$e.value?"":$e.value},ge.createNotifier(ge.props.debounceTimeout),ge}return function D(se,fe,Te){fe&&w(se.prototype,fe),Te&&w(se,Te)}(Te,[{key:"componentDidUpdate",value:function(ge){if(!this.isDebouncing){var Et=this.props,ot=Et.value,ct=Et.debounceTimeout,qe=ge.debounceTimeout;typeof ot<"u"&&ge.value!==ot&&this.state.value!==ot&&this.setState({value:ot}),ct!==qe&&this.createNotifier(ct)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var Rn,At,ge=this.props,Et=ge.element,We=ge.forceNotifyByEnter,Le=ge.forceNotifyOnBlur,Pt=ge.onKeyDown,it=ge.onBlur,Xt=ge.inputRef,cn=function e(se,fe){if(null==se)return{};var $e,ge,Te=function f(se,fe){if(null==se)return{};var ge,Et,Te={},$e=Object.keys(se);for(Et=0;Et<$e.length;Et++)!(fe.indexOf(ge=$e[Et])>=0)&&(Te[ge]=se[ge]);return Te}(se,fe);if(Object.getOwnPropertySymbols){var Et=Object.getOwnPropertySymbols(se);for(ge=0;ge<Et.length;ge++)!(fe.indexOf($e=Et[ge])>=0)&&Object.prototype.propertyIsEnumerable.call(se,$e)&&(Te[$e]=se[$e])}return Te}(ge,["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"]),pn=this.state.value;Rn=We?{onKeyDown:this.onKeyDown}:Pt?{onKeyDown:Pt}:{},At=Le?{onBlur:this.onBlur}:it?{onBlur:it}:{};var qt=Xt?{ref:Xt}:{};return r.default.createElement(Et,T(T(T(T({},cn),{},{onChange:this.onChange,value:pn},Rn),At),qt))}}]),Te}(r.default.PureComponent);C.DebounceInput=ce,V(ce,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0})},41205:(E,C,s)=>{"use strict";var a=s(16709).DebounceInput;a.DebounceInput=a,E.exports=a},85503:(E,C,s)=>{"use strict";var r=s(78139),a=s(18228),c=s(88712);function u(y){for(var x="https://reactjs.org/docs/error-decoder.html?invariant="+y,Y=1;Y<arguments.length;Y++)x+="&args[]="+encodeURIComponent(arguments[Y]);return"Minified React error #"+y+"; visit "+x+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(u(227));var e=new Set,f={};function m(y,x){T(y,x),T(y+"Capture",x)}function T(y,x){for(f[y]=x,y=0;y<x.length;y++)e.add(x[y])}var M=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),w=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,D=Object.prototype.hasOwnProperty,U={},W={};function X(y,x,Y,be,Ke,xt,_n){this.acceptsBooleans=2===x||3===x||4===x,this.attributeName=be,this.attributeNamespace=Ke,this.mustUseProperty=Y,this.propertyName=y,this.type=x,this.sanitizeURL=xt,this.removeEmptyString=_n}var de={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(y){de[y]=new X(y,0,!1,y,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(y){var x=y[0];de[x]=new X(x,1,!1,y[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(y){de[y]=new X(y,2,!1,y.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(y){de[y]=new X(y,2,!1,y,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(y){de[y]=new X(y,3,!1,y.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(y){de[y]=new X(y,3,!0,y,null,!1,!1)}),["capture","download"].forEach(function(y){de[y]=new X(y,4,!1,y,null,!1,!1)}),["cols","rows","size","span"].forEach(function(y){de[y]=new X(y,6,!1,y,null,!1,!1)}),["rowSpan","start"].forEach(function(y){de[y]=new X(y,5,!1,y.toLowerCase(),null,!1,!1)});var V=/[\-:]([a-z])/g;function ce(y){return y[1].toUpperCase()}function se(y,x,Y,be){var Ke=de.hasOwnProperty(x)?de[x]:null;(null!==Ke?0===Ke.type:!be&&2<x.length&&("o"===x[0]||"O"===x[0])&&("n"===x[1]||"N"===x[1]))||(function F(y,x,Y,be){if(null===x||typeof x>"u"||function J(y,x,Y,be){if(null!==Y&&0===Y.type)return!1;switch(typeof x){case"function":case"symbol":return!0;case"boolean":return!be&&(null!==Y?!Y.acceptsBooleans:"data-"!==(y=y.toLowerCase().slice(0,5))&&"aria-"!==y);default:return!1}}(y,x,Y,be))return!0;if(be)return!1;if(null!==Y)switch(Y.type){case 3:return!x;case 4:return!1===x;case 5:return isNaN(x);case 6:return isNaN(x)||1>x}return!1}(x,Y,Ke,be)&&(Y=null),be||null===Ke?function $(y){return!!D.call(W,y)||!D.call(U,y)&&(w.test(y)?W[y]=!0:(U[y]=!0,!1))}(x)&&(null===Y?y.removeAttribute(x):y.setAttribute(x,""+Y)):Ke.mustUseProperty?y[Ke.propertyName]=null===Y?3!==Ke.type&&"":Y:(x=Ke.attributeName,be=Ke.attributeNamespace,null===Y?y.removeAttribute(x):(Y=3===(Ke=Ke.type)||4===Ke&&!0===Y?"":""+Y,be?y.setAttributeNS(be,x,Y):y.setAttribute(x,Y))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(y){var x=y.replace(V,ce);de[x]=new X(x,1,!1,y,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(y){var x=y.replace(V,ce);de[x]=new X(x,1,!1,y,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(y){var x=y.replace(V,ce);de[x]=new X(x,1,!1,y,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(y){de[y]=new X(y,1,!1,y.toLowerCase(),null,!1,!1)}),de.xlinkHref=new X("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(y){de[y]=new X(y,1,!1,y.toLowerCase(),null,!0,!0)});var fe=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Te=60103,$e=60106,ge=60107,Et=60108,ot=60114,ct=60109,qe=60110,He=60112,We=60113,Le=60120,Pt=60115,it=60116,Xt=60121,cn=60128,pn=60129,Rn=60130,At=60131;if("function"==typeof Symbol&&Symbol.for){var qt=Symbol.for;Te=qt("react.element"),$e=qt("react.portal"),ge=qt("react.fragment"),Et=qt("react.strict_mode"),ot=qt("react.profiler"),ct=qt("react.provider"),qe=qt("react.context"),He=qt("react.forward_ref"),We=qt("react.suspense"),Le=qt("react.suspense_list"),Pt=qt("react.memo"),it=qt("react.lazy"),Xt=qt("react.block"),qt("react.scope"),cn=qt("react.opaque.id"),pn=qt("react.debug_trace_mode"),Rn=qt("react.offscreen"),At=qt("react.legacy_hidden")}var xn,sn="function"==typeof Symbol&&Symbol.iterator;function fn(y){return null===y||"object"!=typeof y?null:"function"==typeof(y=sn&&y[sn]||y["@@iterator"])?y:null}function Kr(y){if(void 0===xn)try{throw Error()}catch(Y){var x=Y.stack.trim().match(/\n( *(at )?)/);xn=x&&x[1]||""}return"\n"+xn+y}var Or=!1;function Lr(y,x){if(!y||Or)return"";Or=!0;var Y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(x)if(x=function(){throw Error()},Object.defineProperty(x.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(x,[])}catch(vr){var be=vr}Reflect.construct(y,[],x)}else{try{x.call()}catch(vr){be=vr}y.call(x.prototype)}else{try{throw Error()}catch(vr){be=vr}y()}}catch(vr){if(vr&&be&&"string"==typeof vr.stack){for(var Ke=vr.stack.split("\n"),xt=be.stack.split("\n"),_n=Ke.length-1,In=xt.length-1;1<=_n&&0<=In&&Ke[_n]!==xt[In];)In--;for(;1<=_n&&0<=In;_n--,In--)if(Ke[_n]!==xt[In]){if(1!==_n||1!==In)do{if(_n--,0>--In||Ke[_n]!==xt[In])return"\n"+Ke[_n].replace(" at new "," at ")}while(1<=_n&&0<=In);break}}}finally{Or=!1,Error.prepareStackTrace=Y}return(y=y?y.displayName||y.name:"")?Kr(y):""}function ir(y){switch(y.tag){case 5:return Kr(y.type);case 16:return Kr("Lazy");case 13:return Kr("Suspense");case 19:return Kr("SuspenseList");case 0:case 2:case 15:return Lr(y.type,!1);case 11:return Lr(y.type.render,!1);case 22:return Lr(y.type._render,!1);case 1:return Lr(y.type,!0);default:return""}}function Qr(y){if(null==y)return null;if("function"==typeof y)return y.displayName||y.name||null;if("string"==typeof y)return y;switch(y){case ge:return"Fragment";case $e:return"Portal";case ot:return"Profiler";case Et:return"StrictMode";case We:return"Suspense";case Le:return"SuspenseList"}if("object"==typeof y)switch(y.$$typeof){case qe:return(y.displayName||"Context")+".Consumer";case ct:return(y._context.displayName||"Context")+".Provider";case He:var x=y.render;return x=x.displayName||x.name||"",y.displayName||(""!==x?"ForwardRef("+x+")":"ForwardRef");case Pt:return Qr(y.type);case Xt:return Qr(y._render);case it:x=y._payload,y=y._init;try{return Qr(y(x))}catch{}}return null}function jr(y){switch(typeof y){case"boolean":case"number":case"object":case"string":case"undefined":return y;default:return""}}function br(y){var x=y.type;return(y=y.nodeName)&&"input"===y.toLowerCase()&&("checkbox"===x||"radio"===x)}function Wt(y){y._valueTracker||(y._valueTracker=function ht(y){var x=br(y)?"checked":"value",Y=Object.getOwnPropertyDescriptor(y.constructor.prototype,x),be=""+y[x];if(!y.hasOwnProperty(x)&&typeof Y<"u"&&"function"==typeof Y.get&&"function"==typeof Y.set){var Ke=Y.get,xt=Y.set;return Object.defineProperty(y,x,{configurable:!0,get:function(){return Ke.call(this)},set:function(_n){be=""+_n,xt.call(this,_n)}}),Object.defineProperty(y,x,{enumerable:Y.enumerable}),{getValue:function(){return be},setValue:function(_n){be=""+_n},stopTracking:function(){y._valueTracker=null,delete y[x]}}}}(y))}function Tt(y){if(!y)return!1;var x=y._valueTracker;if(!x)return!0;var Y=x.getValue(),be="";return y&&(be=br(y)?y.checked?"true":"false":y.value),(y=be)!==Y&&(x.setValue(y),!0)}function wn(y){if(typeof(y=y||(typeof document<"u"?document:void 0))>"u")return null;try{return y.activeElement||y.body}catch{return y.body}}function jn(y,x){return a({},x,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:x.checked??y._wrapperState.initialChecked})}function hr(y,x){var Y=null==x.defaultValue?"":x.defaultValue,be=null!=x.checked?x.checked:x.defaultChecked;Y=jr(null!=x.value?x.value:Y),y._wrapperState={initialChecked:be,initialValue:Y,controlled:"checkbox"===x.type||"radio"===x.type?null!=x.checked:null!=x.value}}function Oi(y,x){null!=(x=x.checked)&&se(y,"checked",x,!1)}function Wi(y,x){Oi(y,x);var Y=jr(x.value),be=x.type;if(null!=Y)"number"===be?(0===Y&&""===y.value||y.value!=Y)&&(y.value=""+Y):y.value!==""+Y&&(y.value=""+Y);else if("submit"===be||"reset"===be)return void y.removeAttribute("value");x.hasOwnProperty("value")?kr(y,x.type,Y):x.hasOwnProperty("defaultValue")&&kr(y,x.type,jr(x.defaultValue)),null==x.checked&&null!=x.defaultChecked&&(y.defaultChecked=!!x.defaultChecked)}function so(y,x,Y){if(x.hasOwnProperty("value")||x.hasOwnProperty("defaultValue")){var be=x.type;if(("submit"===be||"reset"===be)&&null==x.value)return;x=""+y._wrapperState.initialValue,Y||x===y.value||(y.value=x),y.defaultValue=x}""!==(Y=y.name)&&(y.name=""),y.defaultChecked=!!y._wrapperState.initialChecked,""!==Y&&(y.name=Y)}function kr(y,x,Y){("number"!==x||wn(y.ownerDocument)!==y)&&(null==Y?y.defaultValue=""+y._wrapperState.initialValue:y.defaultValue!==""+Y&&(y.defaultValue=""+Y))}function ii(y,x){return y=a({children:void 0},x),(x=function Ei(y){var x="";return r.Children.forEach(y,function(Y){null!=Y&&(x+=Y)}),x}(x.children))&&(y.children=x),y}function mr(y,x,Y,be){if(y=y.options,x){x={};for(var Ke=0;Ke<Y.length;Ke++)x["$"+Y[Ke]]=!0;for(Y=0;Y<y.length;Y++)Ke=x.hasOwnProperty("$"+y[Y].value),y[Y].selected!==Ke&&(y[Y].selected=Ke),Ke&&be&&(y[Y].defaultSelected=!0)}else{for(Y=""+jr(Y),x=null,Ke=0;Ke<y.length;Ke++){if(y[Ke].value===Y)return y[Ke].selected=!0,void(be&&(y[Ke].defaultSelected=!0));null!==x||y[Ke].disabled||(x=y[Ke])}null!==x&&(x.selected=!0)}}function pr(y,x){if(null!=x.dangerouslySetInnerHTML)throw Error(u(91));return a({},x,{value:void 0,defaultValue:void 0,children:""+y._wrapperState.initialValue})}function Eo(y,x){var Y=x.value;if(null==Y){if(Y=x.children,x=x.defaultValue,null!=Y){if(null!=x)throw Error(u(92));if(Array.isArray(Y)){if(!(1>=Y.length))throw Error(u(93));Y=Y[0]}x=Y}null==x&&(x=""),Y=x}y._wrapperState={initialValue:jr(Y)}}function po(y,x){var Y=jr(x.value),be=jr(x.defaultValue);null!=Y&&((Y=""+Y)!==y.value&&(y.value=Y),null==x.defaultValue&&y.defaultValue!==Y&&(y.defaultValue=Y)),null!=be&&(y.defaultValue=""+be)}function $i(y){var x=y.textContent;x===y._wrapperState.initialValue&&""!==x&&null!==x&&(y.value=x)}var qr={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Hi(y){switch(y){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Dn(y,x){return null==y||"http://www.w3.org/1999/xhtml"===y?Hi(x):"http://www.w3.org/2000/svg"===y&&"foreignObject"===x?"http://www.w3.org/1999/xhtml":y}var Hn,y,jt=(y=function(y,x){if(y.namespaceURI!==qr.svg||"innerHTML"in y)y.innerHTML=x;else{for((Hn=Hn||document.createElement("div")).innerHTML="<svg>"+x.valueOf().toString()+"</svg>",x=Hn.firstChild;y.firstChild;)y.removeChild(y.firstChild);for(;x.firstChild;)y.appendChild(x.firstChild)}},typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(x,Y,be,Ke){MSApp.execUnsafeLocalFunction(function(){return y(x,Y)})}:y);function Fe(y,x){if(x){var Y=y.firstChild;if(Y&&Y===y.lastChild&&3===Y.nodeType)return void(Y.nodeValue=x)}y.textContent=x}var Ie={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},et=["Webkit","ms","Moz","O"];function ze(y,x,Y){return null==x||"boolean"==typeof x||""===x?"":Y||"number"!=typeof x||0===x||Ie.hasOwnProperty(y)&&Ie[y]?(""+x).trim():x+"px"}function an(y,x){for(var Y in y=y.style,x)if(x.hasOwnProperty(Y)){var be=0===Y.indexOf("--"),Ke=ze(Y,x[Y],be);"float"===Y&&(Y="cssFloat"),be?y.setProperty(Y,Ke):y[Y]=Ke}}Object.keys(Ie).forEach(function(y){et.forEach(function(x){x=x+y.charAt(0).toUpperCase()+y.substring(1),Ie[x]=Ie[y]})});var lt=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Rt(y,x){if(x){if(lt[y]&&(null!=x.children||null!=x.dangerouslySetInnerHTML))throw Error(u(137,y));if(null!=x.dangerouslySetInnerHTML){if(null!=x.children)throw Error(u(60));if("object"!=typeof x.dangerouslySetInnerHTML||!("__html"in x.dangerouslySetInnerHTML))throw Error(u(61))}if(null!=x.style&&"object"!=typeof x.style)throw Error(u(62))}}function Pe(y,x){if(-1===y.indexOf("-"))return"string"==typeof x.is;switch(y){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function qn(y){return(y=y.target||y.srcElement||window).correspondingUseElement&&(y=y.correspondingUseElement),3===y.nodeType?y.parentNode:y}var gr=null,Pn=null,_r=null;function Pr(y){if(y=wu(y)){if("function"!=typeof gr)throw Error(u(280));var x=y.stateNode;x&&(x=fu(x),gr(y.stateNode,y.type,x))}}function tr(y){Pn?_r?_r.push(y):_r=[y]:Pn=y}function Zn(){if(Pn){var y=Pn,x=_r;if(_r=Pn=null,Pr(y),x)for(y=0;y<x.length;y++)Pr(x[y])}}function nr(y,x){return y(x)}function Zt(y,x,Y,be,Ke){return y(x,Y,be,Ke)}function dn(){}var Ge=nr,Ot=!1,mn=!1;function wr(){(null!==Pn||null!==_r)&&(dn(),Zn())}function Ci(y,x){var Y=y.stateNode;if(null===Y)return null;var be=fu(Y);if(null===be)return null;Y=be[x];e:switch(x){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(be=!be.disabled)||(be=!("button"===(y=y.type)||"input"===y||"select"===y||"textarea"===y)),y=!be;break e;default:y=!1}if(y)return null;if(Y&&"function"!=typeof Y)throw Error(u(231,x,typeof Y));return Y}var Ai=!1;if(M)try{var Ko={};Object.defineProperty(Ko,"passive",{get:function(){Ai=!0}}),window.addEventListener("test",Ko,Ko),window.removeEventListener("test",Ko,Ko)}catch{Ai=!1}function _s(y,x,Y,be,Ke,xt,_n,In,vr){var Si=Array.prototype.slice.call(arguments,3);try{x.apply(Y,Si)}catch(Uo){this.onError(Uo)}}var dr=!1,Ni=null,ti=!1,Vr=null,wi={onError:function(y){dr=!0,Ni=y}};function ji(y,x,Y,be,Ke,xt,_n,In,vr){dr=!1,Ni=null,_s.apply(wi,arguments)}function Po(y){var x=y,Y=y;if(y.alternate)for(;x.return;)x=x.return;else{y=x;do{1026&(x=y).flags&&(Y=x.return),y=x.return}while(y)}return 3===x.tag?Y:null}function ko(y){if(13===y.tag){var x=y.memoizedState;if(null===x&&null!==(y=y.alternate)&&(x=y.memoizedState),null!==x)return x.dehydrated}return null}function Ir(y){if(Po(y)!==y)throw Error(u(188))}function Vt(y){if(y=function ro(y){var x=y.alternate;if(!x){if(null===(x=Po(y)))throw Error(u(188));return x!==y?null:y}for(var Y=y,be=x;;){var Ke=Y.return;if(null===Ke)break;var xt=Ke.alternate;if(null===xt){if(null!==(be=Ke.return)){Y=be;continue}break}if(Ke.child===xt.child){for(xt=Ke.child;xt;){if(xt===Y)return Ir(Ke),y;if(xt===be)return Ir(Ke),x;xt=xt.sibling}throw Error(u(188))}if(Y.return!==be.return)Y=Ke,be=xt;else{for(var _n=!1,In=Ke.child;In;){if(In===Y){_n=!0,Y=Ke,be=xt;break}if(In===be){_n=!0,be=Ke,Y=xt;break}In=In.sibling}if(!_n){for(In=xt.child;In;){if(In===Y){_n=!0,Y=xt,be=Ke;break}if(In===be){_n=!0,be=xt,Y=Ke;break}In=In.sibling}if(!_n)throw Error(u(189))}}if(Y.alternate!==be)throw Error(u(190))}if(3!==Y.tag)throw Error(u(188));return Y.stateNode.current===Y?y:x}(y),!y)return null;for(var x=y;;){if(5===x.tag||6===x.tag)return x;if(x.child)x.child.return=x,x=x.child;else{if(x===y)break;for(;!x.sibling;){if(!x.return||x.return===y)return null;x=x.return}x.sibling.return=x.return,x=x.sibling}}return null}function bn(y,x){for(var Y=y.alternate;null!==x;){if(x===y||x===Y)return!0;x=x.return}return!1}var Bn,ci,_o,go,es=!1,ts=[],jo=null,ss=null,gs=null,Is=new Map,la=new Map,Ro=[],jl="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function gl(y,x,Y,be,Ke){return{blockedOn:y,domEventName:x,eventSystemFlags:16|Y,nativeEvent:Ke,targetContainers:[be]}}function qa(y,x){switch(y){case"focusin":case"focusout":jo=null;break;case"dragenter":case"dragleave":ss=null;break;case"mouseover":case"mouseout":gs=null;break;case"pointerover":case"pointerout":Is.delete(x.pointerId);break;case"gotpointercapture":case"lostpointercapture":la.delete(x.pointerId)}}function da(y,x,Y,be,Ke,xt){return null===y||y.nativeEvent!==xt?(y=gl(x,Y,be,Ke,xt),null!==x&&null!==(x=wu(x))&&ci(x),y):(y.eventSystemFlags|=be,x=y.targetContainers,null!==Ke&&-1===x.indexOf(Ke)&&x.push(Ke),y)}function Rl(y){var x=mu(y.target);if(null!==x){var Y=Po(x);if(null!==Y)if(13===(x=Y.tag)){if(null!==(x=ko(Y)))return y.blockedOn=x,void go(y.lanePriority,function(){c.unstable_runWithPriority(y.priority,function(){_o(Y)})})}else if(3===x&&Y.stateNode.hydrate)return void(y.blockedOn=3===Y.tag?Y.stateNode.containerInfo:null)}y.blockedOn=null}function Ji(y){if(null!==y.blockedOn)return!1;for(var x=y.targetContainers;0<x.length;){var Y=ju(y.domEventName,y.eventSystemFlags,x[0],y.nativeEvent);if(null!==Y)return null!==(x=wu(Y))&&ci(x),y.blockedOn=Y,!1;x.shift()}return!0}function Ha(y,x,Y){Ji(y)&&Y.delete(x)}function Ts(){for(es=!1;0<ts.length;){var y=ts[0];if(null!==y.blockedOn){null!==(y=wu(y.blockedOn))&&Bn(y);break}for(var x=y.targetContainers;0<x.length;){var Y=ju(y.domEventName,y.eventSystemFlags,x[0],y.nativeEvent);if(null!==Y){y.blockedOn=Y;break}x.shift()}null===y.blockedOn&&ts.shift()}null!==jo&&Ji(jo)&&(jo=null),null!==ss&&Ji(ss)&&(ss=null),null!==gs&&Ji(gs)&&(gs=null),Is.forEach(Ha),la.forEach(Ha)}function hs(y,x){y.blockedOn===x&&(y.blockedOn=null,es||(es=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,Ts)))}function $s(y){function x(Ke){return hs(Ke,y)}if(0<ts.length){hs(ts[0],y);for(var Y=1;Y<ts.length;Y++){var be=ts[Y];be.blockedOn===y&&(be.blockedOn=null)}}for(null!==jo&&hs(jo,y),null!==ss&&hs(ss,y),null!==gs&&hs(gs,y),Is.forEach(x),la.forEach(x),Y=0;Y<Ro.length;Y++)(be=Ro[Y]).blockedOn===y&&(be.blockedOn=null);for(;0<Ro.length&&null===(Y=Ro[0]).blockedOn;)Rl(Y),null===Y.blockedOn&&Ro.shift()}function Aa(y,x){var Y={};return Y[y.toLowerCase()]=x.toLowerCase(),Y["Webkit"+y]="webkit"+x,Y["Moz"+y]="moz"+x,Y}var Ja={animationend:Aa("Animation","AnimationEnd"),animationiteration:Aa("Animation","AnimationIteration"),animationstart:Aa("Animation","AnimationStart"),transitionend:Aa("Transition","TransitionEnd")},fa={},Xo={};function No(y){if(fa[y])return fa[y];if(!Ja[y])return y;var Y,x=Ja[y];for(Y in x)if(x.hasOwnProperty(Y)&&Y in Xo)return fa[y]=x[Y];return y}M&&(Xo=document.createElement("div").style,"AnimationEvent"in window||(delete Ja.animationend.animation,delete Ja.animationiteration.animation,delete Ja.animationstart.animation),"TransitionEvent"in window||delete Ja.transitionend.transition);var Cs=No("animationend"),ns=No("animationiteration"),Fo=No("animationstart"),zr=No("transitionend"),io=new Map,gt=new Map,Tn=["abort","abort",Cs,"animationEnd",ns,"animationIteration",Fo,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",zr,"transitionEnd","waiting","waiting"];function ie(y,x){for(var Y=0;Y<y.length;Y+=2){var be=y[Y],Ke=y[Y+1];Ke="on"+(Ke[0].toUpperCase()+Ke.slice(1)),gt.set(be,x),io.set(be,Ke),m(Ke,[be])}}(0,c.unstable_now)();var Jt=8;function gn(y){if(1&y)return Jt=15,1;if(2&y)return Jt=14,2;if(4&y)return Jt=13,4;var x=24&y;return 0!==x?(Jt=12,x):32&y?(Jt=11,32):0!=(x=192&y)?(Jt=10,x):256&y?(Jt=9,256):0!=(x=3584&y)?(Jt=8,x):4096&y?(Jt=7,4096):0!=(x=4186112&y)?(Jt=6,x):0!=(x=62914560&y)?(Jt=5,x):67108864&y?(Jt=4,67108864):134217728&y?(Jt=3,134217728):0!=(x=805306368&y)?(Jt=2,x):1073741824&y?(Jt=1,1073741824):(Jt=8,y)}function Xi(y,x){var Y=y.pendingLanes;if(0===Y)return Jt=0;var be=0,Ke=0,xt=y.expiredLanes,_n=y.suspendedLanes,In=y.pingedLanes;if(0!==xt)be=xt,Ke=Jt=15;else if(0!=(xt=134217727&Y)){var vr=xt&~_n;0!==vr?(be=gn(vr),Ke=Jt):0!=(In&=xt)&&(be=gn(In),Ke=Jt)}else 0!=(xt=Y&~_n)?(be=gn(xt),Ke=Jt):0!==In&&(be=gn(In),Ke=Jt);if(0===be)return 0;if(be=Y&((0>(be=31-vl(be))?0:1<<be)<<1)-1,0!==x&&x!==be&&!(x&_n)){if(gn(x),Ke<=Jt)return x;Jt=Ke}if(0!==(x=y.entangledLanes))for(y=y.entanglements,x&=be;0<x;)be|=y[Y=31-vl(x)],x&=~(Ke=1<<Y);return be}function ws(y){return 0!=(y=-1073741825&y.pendingLanes)?y:1073741824&y?1073741824:0}function ds(y,x){switch(y){case 15:return 1;case 14:return 2;case 12:return 0===(y=qs(24&~x))?ds(10,x):y;case 10:return 0===(y=qs(192&~x))?ds(8,x):y;case 8:return 0===(y=qs(3584&~x))&&0===(y=qs(4186112&~x))&&(y=512),y;case 2:return 0===(x=qs(805306368&~x))&&(x=268435456),x}throw Error(u(358,y))}function qs(y){return y&-y}function Js(y){for(var x=[],Y=0;31>Y;Y++)x.push(y);return x}function Ll(y,x,Y){y.pendingLanes|=x;var be=x-1;y.suspendedLanes&=be,y.pingedLanes&=be,(y=y.eventTimes)[x=31-vl(x)]=Y}var vl=Math.clz32?Math.clz32:function qu(y){return 0===y?32:31-(Yu(y)/Nc|0)|0},Yu=Math.log,Nc=Math.LN2,Ol=c.unstable_UserBlockingPriority,Kc=c.unstable_runWithPriority,yl=!0;function au(y,x,Y,be){Ot||dn();var Ke=yu,xt=Ot;Ot=!0;try{Zt(Ke,y,x,Y,be)}finally{(Ot=xt)||wr()}}function Da(y,x,Y,be){Kc(Ol,yu.bind(null,y,x,Y,be))}function yu(y,x,Y,be){var Ke;if(yl)if((Ke=0==(4&x))&&0<ts.length&&-1<jl.indexOf(y))y=gl(null,y,x,Y,be),ts.push(y);else{var xt=ju(y,x,Y,be);if(null===xt)Ke&&qa(y,be);else{if(Ke){if(-1<jl.indexOf(y))return y=gl(xt,y,x,Y,be),void ts.push(y);if(function $a(y,x,Y,be,Ke){switch(x){case"focusin":return jo=da(jo,y,x,Y,be,Ke),!0;case"dragenter":return ss=da(ss,y,x,Y,be,Ke),!0;case"mouseover":return gs=da(gs,y,x,Y,be,Ke),!0;case"pointerover":var xt=Ke.pointerId;return Is.set(xt,da(Is.get(xt)||null,y,x,Y,be,Ke)),!0;case"gotpointercapture":return la.set(xt=Ke.pointerId,da(la.get(xt)||null,y,x,Y,be,Ke)),!0}return!1}(xt,y,x,Y,be))return;qa(y,be)}Ho(y,x,be,null,Y)}}}function ju(y,x,Y,be){var Ke=qn(be);if(null!==(Ke=mu(Ke))){var xt=Po(Ke);if(null===xt)Ke=null;else{var _n=xt.tag;if(13===_n){if(null!==(Ke=ko(xt)))return Ke;Ke=null}else if(3===_n){if(xt.stateNode.hydrate)return 3===xt.tag?xt.stateNode.containerInfo:null;Ke=null}else xt!==Ke&&(Ke=null)}}return Ho(y,x,be,Ke,Y),null}var el=null,oc=null,Xl=null;function Ic(){if(Xl)return Xl;var y,be,x=oc,Y=x.length,Ke="value"in el?el.value:el.textContent,xt=Ke.length;for(y=0;y<Y&&x[y]===Ke[y];y++);var _n=Y-y;for(be=1;be<=_n&&x[Y-be]===Ke[xt-be];be++);return Xl=Ke.slice(y,1<be?1-be:void 0)}function Gs(y){var x=y.keyCode;return"charCode"in y?0===(y=y.charCode)&&13===x&&(y=13):y=x,10===y&&(y=13),32<=y||13===y?y:0}function ku(){return!0}function zu(){return!1}function ua(y){function x(Y,be,Ke,xt,_n){for(var In in this._reactName=Y,this._targetInst=Ke,this.type=be,this.nativeEvent=xt,this.target=_n,this.currentTarget=null,y)y.hasOwnProperty(In)&&(this[In]=(Y=y[In])?Y(xt):xt[In]);return this.isDefaultPrevented=(null!=xt.defaultPrevented?xt.defaultPrevented:!1===xt.returnValue)?ku:zu,this.isPropagationStopped=zu,this}return a(x.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Y=this.nativeEvent;Y&&(Y.preventDefault?Y.preventDefault():"unknown"!=typeof Y.returnValue&&(Y.returnValue=!1),this.isDefaultPrevented=ku)},stopPropagation:function(){var Y=this.nativeEvent;Y&&(Y.stopPropagation?Y.stopPropagation():"unknown"!=typeof Y.cancelBubble&&(Y.cancelBubble=!0),this.isPropagationStopped=ku)},persist:function(){},isPersistent:ku}),x}var Ba,Tl,tl,El={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(y){return y.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},uu=ua(El),Eu=a({},El,{view:0,detail:0}),$u=ua(Eu),Ga=a({},Eu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:pt,button:0,buttons:0,relatedTarget:function(y){return void 0===y.relatedTarget?y.fromElement===y.srcElement?y.toElement:y.fromElement:y.relatedTarget},movementX:function(y){return"movementX"in y?y.movementX:(y!==tl&&(tl&&"mousemove"===y.type?(Ba=y.screenX-tl.screenX,Tl=y.screenY-tl.screenY):Tl=Ba=0,tl=y),Ba)},movementY:function(y){return"movementY"in y?y.movementY:Tl}}),dc=ua(Ga),Sa=ua(a({},Ga,{dataTransfer:0})),xu=ua(a({},Eu,{relatedTarget:0})),nl=ua(a({},El,{animationName:0,elapsedTime:0,pseudoElement:0})),Su=a({},El,{clipboardData:function(y){return"clipboardData"in y?y.clipboardData:window.clipboardData}}),gc=ua(Su),Al=ua(a({},El,{data:0})),Dc={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zs={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Vc={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function bt(y){var x=this.nativeEvent;return x.getModifierState?x.getModifierState(y):!!(y=Vc[y])&&!!x[y]}function pt(){return bt}var Je=a({},Eu,{key:function(y){if(y.key){var x=Dc[y.key]||y.key;if("Unidentified"!==x)return x}return"keypress"===y.type?13===(y=Gs(y))?"Enter":String.fromCharCode(y):"keydown"===y.type||"keyup"===y.type?zs[y.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:pt,charCode:function(y){return"keypress"===y.type?Gs(y):0},keyCode:function(y){return"keydown"===y.type||"keyup"===y.type?y.keyCode:0},which:function(y){return"keypress"===y.type?Gs(y):"keydown"===y.type||"keyup"===y.type?y.keyCode:0}}),en=ua(Je),To=ua(a({},Ga,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),mi=ua(a({},Eu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:pt})),Qs=ua(a({},El,{propertyName:0,elapsedTime:0,pseudoElement:0})),Hu=a({},Ga,{deltaX:function(y){return"deltaX"in y?y.deltaX:"wheelDeltaX"in y?-y.wheelDeltaX:0},deltaY:function(y){return"deltaY"in y?y.deltaY:"wheelDeltaY"in y?-y.wheelDeltaY:"wheelDelta"in y?-y.wheelDelta:0},deltaZ:0,deltaMode:0}),zl=ua(Hu),sc=[9,13,27,32],hu=M&&"CompositionEvent"in window,lu=null;M&&"documentMode"in document&&(lu=document.documentMode);var id=M&&"TextEvent"in window&&!lu,ec=M&&(!hu||lu&&8<lu&&11>=lu),Fc=String.fromCharCode(32),du=!1;function Lc(y,x){switch(y){case"keyup":return-1!==sc.indexOf(x.keyCode);case"keydown":return 229!==x.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kl(y){return"object"==typeof(y=y.detail)&&"data"in y?y.data:null}var sl=!1,Ee={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function yt(y){var x=y&&y.nodeName&&y.nodeName.toLowerCase();return"input"===x?!!Ee[y.type]:"textarea"===x}function Xe(y,x,Y,be){tr(be),0<(x=rn(x,"onChange")).length&&(Y=new uu("onChange","change",null,Y,be),y.push({event:Y,listeners:x}))}var Gt=null,An=null;function kn(y){fs(y,0)}function Hr(y){if(Tt(Rc(y)))return y}function Xr(y,x){if("change"===y)return x}var yr=!1;if(M){var Rr;if(M){var Go="oninput"in document;if(!Go){var Io=document.createElement("div");Io.setAttribute("oninput","return;"),Go="function"==typeof Io.oninput}Rr=Go}else Rr=!1;yr=Rr&&(!document.documentMode||9<document.documentMode)}function Qn(){Gt&&(Gt.detachEvent("onpropertychange",Gr),An=Gt=null)}function Gr(y){if("value"===y.propertyName&&Hr(An)){var x=[];if(Xe(x,An,y,qn(y)),y=kn,Ot)y(x);else{Ot=!0;try{nr(y,x)}finally{Ot=!1,wr()}}}}function Fr(y,x,Y){"focusin"===y?(Qn(),An=Y,(Gt=x).attachEvent("onpropertychange",Gr)):"focusout"===y&&Qn()}function Ui(y){if("selectionchange"===y||"keyup"===y||"keydown"===y)return Hr(An)}function Do(y,x){if("click"===y)return Hr(x)}function Fa(y,x){if("input"===y||"change"===y)return Hr(x)}var zo="function"==typeof Object.is?Object.is:function ca(y,x){return y===x&&(0!==y||1/y==1/x)||y!=y&&x!=x},$l=Object.prototype.hasOwnProperty;function xl(y,x){if(zo(y,x))return!0;if("object"!=typeof y||null===y||"object"!=typeof x||null===x)return!1;var Y=Object.keys(y),be=Object.keys(x);if(Y.length!==be.length)return!1;for(be=0;be<Y.length;be++)if(!$l.call(x,Y[be])||!zo(y[Y[be]],x[Y[be]]))return!1;return!0}function Uu(y){for(;y&&y.firstChild;)y=y.firstChild;return y}function Xc(y,x){var be,Y=Uu(y);for(y=0;Y;){if(3===Y.nodeType){if(be=y+Y.textContent.length,y<=x&&be>=x)return{node:Y,offset:x-y};y=be}e:{for(;Y;){if(Y.nextSibling){Y=Y.nextSibling;break e}Y=Y.parentNode}Y=void 0}Y=Uu(Y)}}function ad(y,x){return!(!y||!x)&&(y===x||(!y||3!==y.nodeType)&&(x&&3===x.nodeType?ad(y,x.parentNode):"contains"in y?y.contains(x):!!y.compareDocumentPosition&&!!(16&y.compareDocumentPosition(x))))}function kc(){for(var y=window,x=wn();x instanceof y.HTMLIFrameElement;){try{var Y="string"==typeof x.contentWindow.location.href}catch{Y=!1}if(!Y)break;x=wn((y=x.contentWindow).document)}return x}function yi(y){var x=y&&y.nodeName&&y.nodeName.toLowerCase();return x&&("input"===x&&("text"===y.type||"search"===y.type||"tel"===y.type||"url"===y.type||"password"===y.type)||"textarea"===x||"true"===y.contentEditable)}var Wl=M&&"documentMode"in document&&11>=document.documentMode,Pa=null,fc=null,bu=null,je=!1;function Nt(y,x,Y){var be=Y.window===Y?Y.document:9===Y.nodeType?Y:Y.ownerDocument;je||null==Pa||Pa!==wn(be)||(be="selectionStart"in(be=Pa)&&yi(be)?{start:be.selectionStart,end:be.selectionEnd}:{anchorNode:(be=(be.ownerDocument&&be.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:be.anchorOffset,focusNode:be.focusNode,focusOffset:be.focusOffset},bu&&xl(bu,be)||(bu=be,0<(be=rn(fc,"onSelect")).length&&(x=new uu("onSelect","select",null,x,Y),y.push({event:x,listeners:be}),x.target=Pa)))}ie("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),ie("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),ie(Tn,2);for(var tt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),tn=0;tn<tt.length;tn++)gt.set(tt[tn],0);T("onMouseEnter",["mouseout","mouseover"]),T("onMouseLeave",["mouseout","mouseover"]),T("onPointerEnter",["pointerout","pointerover"]),T("onPointerLeave",["pointerout","pointerover"]),m("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),m("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),m("onBeforeInput",["compositionend","keypress","textInput","paste"]),m("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),m("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),m("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),bi=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xn));function Ri(y,x,Y){var be=y.type||"unknown-event";y.currentTarget=Y,function Vi(y,x,Y,be,Ke,xt,_n,In,vr){if(ji.apply(this,arguments),dr){if(!dr)throw Error(u(198));var Si=Ni;dr=!1,Ni=null,ti||(ti=!0,Vr=Si)}}(be,x,void 0,y),y.currentTarget=null}function fs(y,x){x=0!=(4&x);for(var Y=0;Y<y.length;Y++){var be=y[Y],Ke=be.event;be=be.listeners;e:{var xt=void 0;if(x)for(var _n=be.length-1;0<=_n;_n--){var In=be[_n],vr=In.instance,Si=In.currentTarget;if(In=In.listener,vr!==xt&&Ke.isPropagationStopped())break e;Ri(Ke,In,Si),xt=vr}else for(_n=0;_n<be.length;_n++){if(vr=(In=be[_n]).instance,Si=In.currentTarget,In=In.listener,vr!==xt&&Ke.isPropagationStopped())break e;Ri(Ke,In,Si),xt=vr}}}if(ti)throw y=Vr,ti=!1,Vr=null,y}function Fs(y,x){var Y=qc(x),be=y+"__bubble";Y.has(be)||(wl(x,y,2,!1),Y.add(be))}var Ra="_reactListening"+Math.random().toString(36).slice(2);function Vs(y){y[Ra]||(y[Ra]=!0,e.forEach(function(x){bi.has(x)||Ms(x,!1,y,null),Ms(x,!0,y,null)}))}function Ms(y,x,Y,be){var Ke=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,xt=Y;if("selectionchange"===y&&9!==Y.nodeType&&(xt=Y.ownerDocument),null!==be&&!x&&bi.has(y)){if("scroll"!==y)return;Ke|=2,xt=be}var _n=qc(xt),In=y+"__"+(x?"capture":"bubble");_n.has(In)||(x&&(Ke|=4),wl(xt,y,Ke,x),_n.add(In))}function wl(y,x,Y,be){var Ke=gt.get(x);switch(void 0===Ke?2:Ke){case 0:Ke=au;break;case 1:Ke=Da;break;default:Ke=yu}Y=Ke.bind(null,x,Y,y),Ke=void 0,!Ai||"touchstart"!==x&&"touchmove"!==x&&"wheel"!==x||(Ke=!0),y.addEventListener(x,Y,be?void 0===Ke||{capture:!0,passive:Ke}:void 0!==Ke&&{passive:Ke})}function Ho(y,x,Y,be,Ke){var xt=be;if(!(1&x||2&x||null===be))e:for(;;){if(null===be)return;var _n=be.tag;if(3===_n||4===_n){var In=be.stateNode.containerInfo;if(In===Ke||8===In.nodeType&&In.parentNode===Ke)break;if(4===_n)for(_n=be.return;null!==_n;){var vr=_n.tag;if((3===vr||4===vr)&&((vr=_n.stateNode.containerInfo)===Ke||8===vr.nodeType&&vr.parentNode===Ke))return;_n=_n.return}for(;null!==In;){if(null===(_n=mu(In)))return;if(5===(vr=_n.tag)||6===vr){be=xt=_n;continue e}In=In.parentNode}}be=be.return}!function Ti(y,x,Y){if(mn)return y(x,Y);mn=!0;try{Ge(y,x,Y)}finally{mn=!1,wr()}}(function(){var Si=xt,Uo=qn(Y),Ds=[];e:{var Qi=io.get(y);if(void 0!==Qi){var Ls=uu,ia=y;switch(y){case"keypress":if(0===Gs(Y))break e;case"keydown":case"keyup":Ls=en;break;case"focusin":ia="focus",Ls=xu;break;case"focusout":ia="blur",Ls=xu;break;case"beforeblur":case"afterblur":Ls=xu;break;case"click":if(2===Y.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Ls=dc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ls=Sa;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ls=mi;break;case Cs:case ns:case Fo:Ls=nl;break;case zr:Ls=Qs;break;case"scroll":Ls=$u;break;case"wheel":Ls=zl;break;case"copy":case"cut":case"paste":Ls=gc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ls=To}var oa=0!=(4&x),di=!oa&&"scroll"===y,Wr=oa?null!==Qi?Qi+"Capture":null:Qi;oa=[];for(var no,si=Si;null!==si;){var vo=(no=si).stateNode;if(5===no.tag&&null!==vo&&(no=vo,null!==Wr&&null!=(vo=Ci(si,Wr))&&oa.push(Qa(si,vo,no))),di)break;si=si.return}0<oa.length&&(Qi=new Ls(Qi,ia,null,Y,Uo),Ds.push({event:Qi,listeners:oa}))}}if(!(7&x)){if(Ls="mouseout"===y||"pointerout"===y,(!(Qi="mouseover"===y||"pointerover"===y)||16&x||!(ia=Y.relatedTarget||Y.fromElement)||!mu(ia)&&!ia[Ul])&&(Ls||Qi)&&(Qi=Uo.window===Uo?Uo:(Qi=Uo.ownerDocument)?Qi.defaultView||Qi.parentWindow:window,Ls?(Ls=Si,null!==(ia=(ia=Y.relatedTarget||Y.toElement)?mu(ia):null)&&(ia!==(di=Po(ia))||5!==ia.tag&&6!==ia.tag)&&(ia=null)):(Ls=null,ia=Si),Ls!==ia)){if(oa=dc,vo="onMouseLeave",Wr="onMouseEnter",si="mouse",("pointerout"===y||"pointerover"===y)&&(oa=To,vo="onPointerLeave",Wr="onPointerEnter",si="pointer"),di=null==Ls?Qi:Rc(Ls),no=null==ia?Qi:Rc(ia),(Qi=new oa(vo,si+"leave",Ls,Y,Uo)).target=di,Qi.relatedTarget=no,vo=null,mu(Uo)===Si&&((oa=new oa(Wr,si+"enter",ia,Y,Uo)).target=no,oa.relatedTarget=di,vo=oa),di=vo,Ls&&ia)t:{for(Wr=ia,si=0,no=oa=Ls;no;no=Jl(no))si++;for(no=0,vo=Wr;vo;vo=Jl(vo))no++;for(;0<si-no;)oa=Jl(oa),si--;for(;0<no-si;)Wr=Jl(Wr),no--;for(;si--;){if(oa===Wr||null!==Wr&&oa===Wr.alternate)break t;oa=Jl(oa),Wr=Jl(Wr)}oa=null}else oa=null;null!==Ls&&le(Ds,Qi,Ls,oa,!1),null!==ia&&null!==di&&le(Ds,di,ia,oa,!0)}if("select"===(Ls=(Qi=Si?Rc(Si):window).nodeName&&Qi.nodeName.toLowerCase())||"input"===Ls&&"file"===Qi.type)var fl=Xr;else if(yt(Qi))if(yr)fl=Fa;else{fl=Ui;var Us=Fr}else(Ls=Qi.nodeName)&&"input"===Ls.toLowerCase()&&("checkbox"===Qi.type||"radio"===Qi.type)&&(fl=Do);switch(fl&&(fl=fl(y,Si))?Xe(Ds,fl,Y,Uo):(Us&&Us(y,Qi,Si),"focusout"===y&&(Us=Qi._wrapperState)&&Us.controlled&&"number"===Qi.type&&kr(Qi,"number",Qi.value)),Us=Si?Rc(Si):window,y){case"focusin":(yt(Us)||"true"===Us.contentEditable)&&(Pa=Us,fc=Si,bu=null);break;case"focusout":bu=fc=Pa=null;break;case"mousedown":je=!0;break;case"contextmenu":case"mouseup":case"dragend":je=!1,Nt(Ds,Y,Uo);break;case"selectionchange":if(Wl)break;case"keydown":case"keyup":Nt(Ds,Y,Uo)}var ll;if(hu)e:{switch(y){case"compositionstart":var Cl="onCompositionStart";break e;case"compositionend":Cl="onCompositionEnd";break e;case"compositionupdate":Cl="onCompositionUpdate";break e}Cl=void 0}else sl?Lc(y,Y)&&(Cl="onCompositionEnd"):"keydown"===y&&229===Y.keyCode&&(Cl="onCompositionStart");Cl&&(ec&&"ko"!==Y.locale&&(sl||"onCompositionStart"!==Cl?"onCompositionEnd"===Cl&&sl&&(ll=Ic()):(oc="value"in(el=Uo)?el.value:el.textContent,sl=!0)),0<(Us=rn(Si,Cl)).length&&(Cl=new Al(Cl,y,null,Y,Uo),Ds.push({event:Cl,listeners:Us}),(ll||null!==(ll=kl(Y)))&&(Cl.data=ll))),(ll=id?function ja(y,x){switch(y){case"compositionend":return kl(x);case"keypress":return 32!==x.which?null:(du=!0,Fc);case"textInput":return(y=x.data)===Fc&&du?null:y;default:return null}}(y,Y):function Q(y,x){if(sl)return"compositionend"===y||!hu&&Lc(y,x)?(y=Ic(),Xl=oc=el=null,sl=!1,y):null;switch(y){case"paste":default:return null;case"keypress":if(!(x.ctrlKey||x.altKey||x.metaKey)||x.ctrlKey&&x.altKey){if(x.char&&1<x.char.length)return x.char;if(x.which)return String.fromCharCode(x.which)}return null;case"compositionend":return ec&&"ko"!==x.locale?null:x.data}}(y,Y))&&0<(Si=rn(Si,"onBeforeInput")).length&&(Uo=new Al("onBeforeInput","beforeinput",null,Y,Uo),Ds.push({event:Uo,listeners:Si}),Uo.data=ll)}fs(Ds,x)})}function Qa(y,x,Y){return{instance:y,listener:x,currentTarget:Y}}function rn(y,x){for(var Y=x+"Capture",be=[];null!==y;){var Ke=y,xt=Ke.stateNode;5===Ke.tag&&null!==xt&&(Ke=xt,null!=(xt=Ci(y,Y))&&be.unshift(Qa(y,xt,Ke)),null!=(xt=Ci(y,x))&&be.push(Qa(y,xt,Ke))),y=y.return}return be}function Jl(y){if(null===y)return null;do{y=y.return}while(y&&5!==y.tag);return y||null}function le(y,x,Y,be,Ke){for(var xt=x._reactName,_n=[];null!==Y&&Y!==be;){var In=Y,vr=In.alternate,Si=In.stateNode;if(null!==vr&&vr===be)break;5===In.tag&&null!==Si&&(In=Si,Ke?null!=(vr=Ci(Y,xt))&&_n.unshift(Qa(Y,vr,In)):Ke||null!=(vr=Ci(Y,xt))&&_n.push(Qa(Y,vr,In))),Y=Y.return}0!==_n.length&&y.push({event:x,listeners:_n})}function ae(){}var De=null,Ve=null;function st(y,x){switch(y){case"button":case"input":case"select":case"textarea":return!!x.autoFocus}return!1}function zt(y,x){return"textarea"===y||"option"===y||"noscript"===y||"string"==typeof x.children||"number"==typeof x.children||"object"==typeof x.dangerouslySetInnerHTML&&null!==x.dangerouslySetInnerHTML&&null!=x.dangerouslySetInnerHTML.__html}var Qt="function"==typeof setTimeout?setTimeout:void 0,Gn="function"==typeof clearTimeout?clearTimeout:void 0;function Er(y){(1===y.nodeType||9===y.nodeType&&null!=(y=y.body))&&(y.textContent="")}function Nr(y){for(;null!=y;y=y.nextSibling){var x=y.nodeType;if(1===x||3===x)break}return y}function Mi(y){y=y.previousSibling;for(var x=0;y;){if(8===y.nodeType){var Y=y.data;if("$"===Y||"$!"===Y||"$?"===Y){if(0===x)return y;x--}else"/$"===Y&&x++}y=y.previousSibling}return null}var ao=0,rs=Math.random().toString(36).slice(2),ys="__reactFiber$"+rs,Ps="__reactProps$"+rs,Ul="__reactContainer$"+rs,eu="__reactEvents$"+rs;function mu(y){var x=y[ys];if(x)return x;for(var Y=y.parentNode;Y;){if(x=Y[Ul]||Y[ys]){if(Y=x.alternate,null!==x.child||null!==Y&&null!==Y.child)for(y=Mi(y);null!==y;){if(Y=y[ys])return Y;y=Mi(y)}return x}Y=(y=Y).parentNode}return null}function wu(y){return!(y=y[ys]||y[Ul])||5!==y.tag&&6!==y.tag&&13!==y.tag&&3!==y.tag?null:y}function Rc(y){if(5===y.tag||6===y.tag)return y.stateNode;throw Error(u(33))}function fu(y){return y[Ps]||null}function qc(y){var x=y[eu];return void 0===x&&(x=y[eu]=new Set),x}var $c=[],pu=-1;function vc(y){return{current:y}}function La(y){0>pu||(y.current=$c[pu],$c[pu]=null,pu--)}function al(y,x){pu++,$c[pu]=y.current,y.current=x}var rl={},xa=vc(rl),Tu=vc(!1),En=rl;function Pu(y,x){var Y=y.type.contextTypes;if(!Y)return rl;var be=y.stateNode;if(be&&be.__reactInternalMemoizedUnmaskedChildContext===x)return be.__reactInternalMemoizedMaskedChildContext;var xt,Ke={};for(xt in Y)Ke[xt]=x[xt];return be&&((y=y.stateNode).__reactInternalMemoizedUnmaskedChildContext=x,y.__reactInternalMemoizedMaskedChildContext=Ke),Ke}function za(y){return null!=y.childContextTypes}function Va(){La(Tu),La(xa)}function Os(y,x,Y){if(xa.current!==rl)throw Error(u(168));al(xa,x),al(Tu,Y)}function Cu(y,x,Y){var be=y.stateNode;if(y=x.childContextTypes,"function"!=typeof be.getChildContext)return Y;for(var Ke in be=be.getChildContext())if(!(Ke in y))throw Error(u(108,Qr(x)||"Unknown",Ke));return a({},Y,be)}function ld(y){return y=(y=y.stateNode)&&y.__reactInternalMemoizedMergedChildContext||rl,En=xa.current,al(xa,y),al(Tu,Tu.current),!0}function Hc(y,x,Y){var be=y.stateNode;if(!be)throw Error(u(169));Y?(y=Cu(y,x,En),be.__reactInternalMemoizedMergedChildContext=y,La(Tu),La(xa),al(xa,y)):La(Tu),al(Tu,Y)}var Vu=null,ud=null,md=c.unstable_runWithPriority,tf=c.unstable_scheduleCallback,Uf=c.unstable_cancelCallback,Mu=c.unstable_shouldYield,Uc=c.unstable_requestPaint,Zu=c.unstable_now,Tp=c.unstable_getCurrentPriorityLevel,ip=c.unstable_ImmediatePriority,Hd=c.unstable_UserBlockingPriority,Bf=c.unstable_NormalPriority,gd=c.unstable_LowPriority,Nu=c.unstable_IdlePriority,ed={},xf=void 0!==Uc?Uc:function(){},_u=null,Ud=null,Bc=!1,Lo=Zu(),Se=1e4>Lo?Zu:function(){return Zu()-Lo};function Ne(){switch(Tp()){case ip:return 99;case Hd:return 98;case Bf:return 97;case gd:return 96;case Nu:return 95;default:throw Error(u(332))}}function _e(y){switch(y){case 99:return ip;case 98:return Hd;case 97:return Bf;case 96:return gd;case 95:return Nu;default:throw Error(u(332))}}function Ye(y,x){return y=_e(y),md(y,x)}function Mt(y,x,Y){return y=_e(y),tf(y,x,Y)}function un(){if(null!==Ud){var y=Ud;Ud=null,Uf(y)}Mn()}function Mn(){if(!Bc&&null!==_u){Bc=!0;var y=0;try{var x=_u;Ye(99,function(){for(;y<x.length;y++){var Y=x[y];do{Y=Y(!0)}while(null!==Y)}}),_u=null}catch(Y){throw null!==_u&&(_u=_u.slice(y+1)),tf(ip,un),Y}finally{Bc=!1}}}var ni=fe.ReactCurrentBatchConfig;function zi(y,x){if(y&&y.defaultProps){for(var Y in x=a({},x),y=y.defaultProps)void 0===x[Y]&&(x[Y]=y[Y]);return x}return x}var Wo=vc(null),Qo=null,ya=null,Bl=null;function Wu(){Bl=ya=Qo=null}function pc(y){var x=Wo.current;La(Wo),y.type._context._currentValue=x}function cd(y,x){for(;null!==y;){var Y=y.alternate;if((y.childLanes&x)===x){if(null===Y||(Y.childLanes&x)===x)break;Y.childLanes|=x}else y.childLanes|=x,null!==Y&&(Y.childLanes|=x);y=y.return}}function Ju(y,x){Qo=y,Bl=ya=null,null!==(y=y.dependencies)&&null!==y.firstContext&&(y.lanes&x&&(xd=!0),y.firstContext=null)}function tc(y,x){if(Bl!==y&&!1!==x&&0!==x)if(("number"!=typeof x||1073741823===x)&&(Bl=y,x=1073741823),x={context:y,observedBits:x,next:null},null===ya){if(null===Qo)throw Error(u(308));ya=x,Qo.dependencies={lanes:0,firstContext:x,responders:null}}else ya=ya.next=x;return y._currentValue}var od=!1;function Ed(y){y.updateQueue={baseState:y.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function h(y,x){x.updateQueue===(y=y.updateQueue)&&(x.updateQueue={baseState:y.baseState,firstBaseUpdate:y.firstBaseUpdate,lastBaseUpdate:y.lastBaseUpdate,shared:y.shared,effects:y.effects})}function b(y,x){return{eventTime:y,lane:x,tag:0,payload:null,callback:null,next:null}}function N(y,x){if(null!==(y=y.updateQueue)){var Y=(y=y.shared).pending;null===Y?x.next=x:(x.next=Y.next,Y.next=x),y.pending=x}}function k(y,x){var Y=y.updateQueue,be=y.alternate;if(null===be||Y!==(be=be.updateQueue))null===(y=Y.lastBaseUpdate)?Y.firstBaseUpdate=x:y.next=x,Y.lastBaseUpdate=x;else{var Ke=null,xt=null;if(null!==(Y=Y.firstBaseUpdate)){do{var _n={eventTime:Y.eventTime,lane:Y.lane,tag:Y.tag,payload:Y.payload,callback:Y.callback,next:null};null===xt?Ke=xt=_n:xt=xt.next=_n,Y=Y.next}while(null!==Y);null===xt?Ke=xt=x:xt=xt.next=x}else Ke=xt=x;y.updateQueue=Y={baseState:be.baseState,firstBaseUpdate:Ke,lastBaseUpdate:xt,shared:be.shared,effects:be.effects}}}function ne(y,x,Y,be){var Ke=y.updateQueue;od=!1;var xt=Ke.firstBaseUpdate,_n=Ke.lastBaseUpdate,In=Ke.shared.pending;if(null!==In){Ke.shared.pending=null;var vr=In,Si=vr.next;vr.next=null,null===_n?xt=Si:_n.next=Si,_n=vr;var Uo=y.alternate;if(null!==Uo){var Ds=(Uo=Uo.updateQueue).lastBaseUpdate;Ds!==_n&&(null===Ds?Uo.firstBaseUpdate=Si:Ds.next=Si,Uo.lastBaseUpdate=vr)}}if(null!==xt){for(Ds=Ke.baseState,_n=0,Uo=Si=vr=null;;){var Qi=xt.eventTime;if((be&(In=xt.lane))===In){null!==Uo&&(Uo=Uo.next={eventTime:Qi,lane:0,tag:xt.tag,payload:xt.payload,callback:xt.callback,next:null});e:{var Ls=y,ia=xt;switch(In=x,Qi=Y,ia.tag){case 1:if("function"==typeof(Ls=ia.payload)){Ds=Ls.call(Qi,Ds,In);break e}Ds=Ls;break e;case 3:Ls.flags=-4097&Ls.flags|64;case 0:if(null==(In="function"==typeof(Ls=ia.payload)?Ls.call(Qi,Ds,In):Ls))break e;Ds=a({},Ds,In);break e;case 2:od=!0}}null!==xt.callback&&(y.flags|=32,null===(In=Ke.effects)?Ke.effects=[xt]:In.push(xt))}else Qi={eventTime:Qi,lane:In,tag:xt.tag,payload:xt.payload,callback:xt.callback,next:null},null===Uo?(Si=Uo=Qi,vr=Ds):Uo=Uo.next=Qi,_n|=In;if(null===(xt=xt.next)){if(null===(In=Ke.shared.pending))break;xt=In.next,In.next=null,Ke.lastBaseUpdate=In,Ke.shared.pending=null}}null===Uo&&(vr=Ds),Ke.baseState=vr,Ke.firstBaseUpdate=Si,Ke.lastBaseUpdate=Uo,cp|=_n,y.lanes=_n,y.memoizedState=Ds}}function he(y,x,Y){if(y=x.effects,x.effects=null,null!==y)for(x=0;x<y.length;x++){var be=y[x],Ke=be.callback;if(null!==Ke){if(be.callback=null,be=Y,"function"!=typeof Ke)throw Error(u(191,Ke));Ke.call(be)}}}var Me=(new r.Component).refs;function Qe(y,x,Y,be){Y=null==(Y=Y(be,x=y.memoizedState))?x:a({},x,Y),y.memoizedState=Y,0===y.lanes&&(y.updateQueue.baseState=Y)}var Re={isMounted:function(y){return!!(y=y._reactInternals)&&Po(y)===y},enqueueSetState:function(y,x,Y){y=y._reactInternals;var be=Yc(),Ke=sf(y),xt=b(be,Ke);xt.payload=x,null!=Y&&(xt.callback=Y),N(y,xt),fp(y,Ke,be)},enqueueReplaceState:function(y,x,Y){y=y._reactInternals;var be=Yc(),Ke=sf(y),xt=b(be,Ke);xt.tag=1,xt.payload=x,null!=Y&&(xt.callback=Y),N(y,xt),fp(y,Ke,be)},enqueueForceUpdate:function(y,x){y=y._reactInternals;var Y=Yc(),be=sf(y),Ke=b(Y,be);Ke.tag=2,null!=x&&(Ke.callback=x),N(y,Ke),fp(y,be,Y)}};function ft(y,x,Y,be,Ke,xt,_n){return"function"==typeof(y=y.stateNode).shouldComponentUpdate?y.shouldComponentUpdate(be,xt,_n):!(x.prototype&&x.prototype.isPureReactComponent&&xl(Y,be)&&xl(Ke,xt))}function wt(y,x,Y){var be=!1,Ke=rl,xt=x.contextType;return"object"==typeof xt&&null!==xt?xt=tc(xt):(Ke=za(x)?En:xa.current,xt=(be=null!=(be=x.contextTypes))?Pu(y,Ke):rl),x=new x(Y,xt),y.memoizedState=null!=x.state?x.state:null,x.updater=Re,y.stateNode=x,x._reactInternals=y,be&&((y=y.stateNode).__reactInternalMemoizedUnmaskedChildContext=Ke,y.__reactInternalMemoizedMaskedChildContext=xt),x}function It(y,x,Y,be){y=x.state,"function"==typeof x.componentWillReceiveProps&&x.componentWillReceiveProps(Y,be),"function"==typeof x.UNSAFE_componentWillReceiveProps&&x.UNSAFE_componentWillReceiveProps(Y,be),x.state!==y&&Re.enqueueReplaceState(x,x.state,null)}function Cn(y,x,Y,be){var Ke=y.stateNode;Ke.props=Y,Ke.state=y.memoizedState,Ke.refs=Me,Ed(y);var xt=x.contextType;"object"==typeof xt&&null!==xt?Ke.context=tc(xt):(xt=za(x)?En:xa.current,Ke.context=Pu(y,xt)),ne(y,Y,Ke,be),Ke.state=y.memoizedState,"function"==typeof(xt=x.getDerivedStateFromProps)&&(Qe(y,x,xt,Y),Ke.state=y.memoizedState),"function"==typeof x.getDerivedStateFromProps||"function"==typeof Ke.getSnapshotBeforeUpdate||"function"!=typeof Ke.UNSAFE_componentWillMount&&"function"!=typeof Ke.componentWillMount||(x=Ke.state,"function"==typeof Ke.componentWillMount&&Ke.componentWillMount(),"function"==typeof Ke.UNSAFE_componentWillMount&&Ke.UNSAFE_componentWillMount(),x!==Ke.state&&Re.enqueueReplaceState(Ke,Ke.state,null),ne(y,Y,Ke,be),Ke.state=y.memoizedState),"function"==typeof Ke.componentDidMount&&(y.flags|=4)}var er=Array.isArray;function sr(y,x,Y){if(null!==(y=Y.ref)&&"function"!=typeof y&&"object"!=typeof y){if(Y._owner){if(Y=Y._owner){if(1!==Y.tag)throw Error(u(309));var be=Y.stateNode}if(!be)throw Error(u(147,y));var Ke=""+y;return null!==x&&null!==x.ref&&"function"==typeof x.ref&&x.ref._stringRef===Ke?x.ref:((x=function(xt){var _n=be.refs;_n===Me&&(_n=be.refs={}),null===xt?delete _n[Ke]:_n[Ke]=xt})._stringRef=Ke,x)}if("string"!=typeof y)throw Error(u(284));if(!Y._owner)throw Error(u(290,y))}return y}function Dr(y,x){if("textarea"!==y.type)throw Error(u(31,"[object Object]"===Object.prototype.toString.call(x)?"object with keys {"+Object.keys(x).join(", ")+"}":x))}function oi(y){function x(di,Wr){if(y){var si=di.lastEffect;null!==si?(si.nextEffect=Wr,di.lastEffect=Wr):di.firstEffect=di.lastEffect=Wr,Wr.nextEffect=null,Wr.flags=8}}function Y(di,Wr){if(!y)return null;for(;null!==Wr;)x(di,Wr),Wr=Wr.sibling;return null}function be(di,Wr){for(di=new Map;null!==Wr;)di.set(null!==Wr.key?Wr.key:Wr.index,Wr),Wr=Wr.sibling;return di}function Ke(di,Wr){return(di=Np(di,Wr)).index=0,di.sibling=null,di}function xt(di,Wr,si){return di.index=si,y?null!==(si=di.alternate)?(si=si.index)<Wr?(di.flags=2,Wr):si:(di.flags=2,Wr):Wr}function _n(di){return y&&null===di.alternate&&(di.flags=2),di}function In(di,Wr,si,no){return null===Wr||6!==Wr.tag?((Wr=Nh(si,di.mode,no)).return=di,Wr):((Wr=Ke(Wr,si)).return=di,Wr)}function vr(di,Wr,si,no){return null!==Wr&&Wr.elementType===si.type?((no=Ke(Wr,si.props)).ref=sr(di,Wr,si),no.return=di,no):((no=ch(si.type,si.key,si.props,null,di.mode,no)).ref=sr(di,Wr,si),no.return=di,no)}function Si(di,Wr,si,no){return null===Wr||4!==Wr.tag||Wr.stateNode.containerInfo!==si.containerInfo||Wr.stateNode.implementation!==si.implementation?((Wr=Ih(si,di.mode,no)).return=di,Wr):((Wr=Ke(Wr,si.children||[])).return=di,Wr)}function Uo(di,Wr,si,no,vo){return null===Wr||7!==Wr.tag?((Wr=Cd(si,di.mode,no,vo)).return=di,Wr):((Wr=Ke(Wr,si)).return=di,Wr)}function Ds(di,Wr,si){if("string"==typeof Wr||"number"==typeof Wr)return(Wr=Nh(""+Wr,di.mode,si)).return=di,Wr;if("object"==typeof Wr&&null!==Wr){switch(Wr.$$typeof){case Te:return(si=ch(Wr.type,Wr.key,Wr.props,null,di.mode,si)).ref=sr(di,null,Wr),si.return=di,si;case $e:return(Wr=Ih(Wr,di.mode,si)).return=di,Wr}if(er(Wr)||fn(Wr))return(Wr=Cd(Wr,di.mode,si,null)).return=di,Wr;Dr(di,Wr)}return null}function Qi(di,Wr,si,no){var vo=null!==Wr?Wr.key:null;if("string"==typeof si||"number"==typeof si)return null!==vo?null:In(di,Wr,""+si,no);if("object"==typeof si&&null!==si){switch(si.$$typeof){case Te:return si.key===vo?si.type===ge?Uo(di,Wr,si.props.children,no,vo):vr(di,Wr,si,no):null;case $e:return si.key===vo?Si(di,Wr,si,no):null}if(er(si)||fn(si))return null!==vo?null:Uo(di,Wr,si,no,null);Dr(di,si)}return null}function Ls(di,Wr,si,no,vo){if("string"==typeof no||"number"==typeof no)return In(Wr,di=di.get(si)||null,""+no,vo);if("object"==typeof no&&null!==no){switch(no.$$typeof){case Te:return di=di.get(null===no.key?si:no.key)||null,no.type===ge?Uo(Wr,di,no.props.children,vo,no.key):vr(Wr,di,no,vo);case $e:return Si(Wr,di=di.get(null===no.key?si:no.key)||null,no,vo)}if(er(no)||fn(no))return Uo(Wr,di=di.get(si)||null,no,vo,null);Dr(Wr,no)}return null}return function(di,Wr,si,no){var vo="object"==typeof si&&null!==si&&si.type===ge&&null===si.key;vo&&(si=si.props.children);var fl="object"==typeof si&&null!==si;if(fl)switch(si.$$typeof){case Te:e:{for(fl=si.key,vo=Wr;null!==vo;){if(vo.key===fl){if(7===vo.tag){if(si.type===ge){Y(di,vo.sibling),(Wr=Ke(vo,si.props.children)).return=di,di=Wr;break e}}else if(vo.elementType===si.type){Y(di,vo.sibling),(Wr=Ke(vo,si.props)).ref=sr(di,vo,si),Wr.return=di,di=Wr;break e}Y(di,vo);break}x(di,vo),vo=vo.sibling}si.type===ge?((Wr=Cd(si.props.children,di.mode,no,si.key)).return=di,di=Wr):((no=ch(si.type,si.key,si.props,null,di.mode,no)).ref=sr(di,Wr,si),no.return=di,di=no)}return _n(di);case $e:e:{for(vo=si.key;null!==Wr;){if(Wr.key===vo){if(4===Wr.tag&&Wr.stateNode.containerInfo===si.containerInfo&&Wr.stateNode.implementation===si.implementation){Y(di,Wr.sibling),(Wr=Ke(Wr,si.children||[])).return=di,di=Wr;break e}Y(di,Wr);break}x(di,Wr),Wr=Wr.sibling}(Wr=Ih(si,di.mode,no)).return=di,di=Wr}return _n(di)}if("string"==typeof si||"number"==typeof si)return si=""+si,null!==Wr&&6===Wr.tag?(Y(di,Wr.sibling),(Wr=Ke(Wr,si)).return=di,di=Wr):(Y(di,Wr),(Wr=Nh(si,di.mode,no)).return=di,di=Wr),_n(di);if(er(si))return function ia(di,Wr,si,no){for(var vo=null,fl=null,Us=Wr,ll=Wr=0,Cl=null;null!==Us&&ll<si.length;ll++){Us.index>ll?(Cl=Us,Us=null):Cl=Us.sibling;var Ia=Qi(di,Us,si[ll],no);if(null===Ia){null===Us&&(Us=Cl);break}y&&Us&&null===Ia.alternate&&x(di,Us),Wr=xt(Ia,Wr,ll),null===fl?vo=Ia:fl.sibling=Ia,fl=Ia,Us=Cl}if(ll===si.length)return Y(di,Us),vo;if(null===Us){for(;ll<si.length;ll++)null!==(Us=Ds(di,si[ll],no))&&(Wr=xt(Us,Wr,ll),null===fl?vo=Us:fl.sibling=Us,fl=Us);return vo}for(Us=be(di,Us);ll<si.length;ll++)null!==(Cl=Ls(Us,di,ll,si[ll],no))&&(y&&null!==Cl.alternate&&Us.delete(null===Cl.key?ll:Cl.key),Wr=xt(Cl,Wr,ll),null===fl?vo=Cl:fl.sibling=Cl,fl=Cl);return y&&Us.forEach(function(bf){return x(di,bf)}),vo}(di,Wr,si,no);if(fn(si))return function oa(di,Wr,si,no){var vo=fn(si);if("function"!=typeof vo)throw Error(u(150));if(null==(si=vo.call(si)))throw Error(u(151));for(var fl=vo=null,Us=Wr,ll=Wr=0,Cl=null,Ia=si.next();null!==Us&&!Ia.done;ll++,Ia=si.next()){Us.index>ll?(Cl=Us,Us=null):Cl=Us.sibling;var bf=Qi(di,Us,Ia.value,no);if(null===bf){null===Us&&(Us=Cl);break}y&&Us&&null===bf.alternate&&x(di,Us),Wr=xt(bf,Wr,ll),null===fl?vo=bf:fl.sibling=bf,fl=bf,Us=Cl}if(Ia.done)return Y(di,Us),vo;if(null===Us){for(;!Ia.done;ll++,Ia=si.next())null!==(Ia=Ds(di,Ia.value,no))&&(Wr=xt(Ia,Wr,ll),null===fl?vo=Ia:fl.sibling=Ia,fl=Ia);return vo}for(Us=be(di,Us);!Ia.done;ll++,Ia=si.next())null!==(Ia=Ls(Us,di,ll,Ia.value,no))&&(y&&null!==Ia.alternate&&Us.delete(null===Ia.key?ll:Ia.key),Wr=xt(Ia,Wr,ll),null===fl?vo=Ia:fl.sibling=Ia,fl=Ia);return y&&Us.forEach(function(Ip){return x(di,Ip)}),vo}(di,Wr,si,no);if(fl&&Dr(di,si),typeof si>"u"&&!vo)switch(di.tag){case 1:case 22:case 0:case 11:case 15:throw Error(u(152,Qr(di.type)||"Component"))}return Y(di,Wr)}}var uo=oi(!0),As=oi(!1),as={},ma=vc(as),Na=vc(as),Pl=vc(as);function il(y){if(y===as)throw Error(u(174));return y}function dl(y,x){switch(al(Pl,x),al(Na,y),al(ma,as),y=x.nodeType){case 9:case 11:x=(x=x.documentElement)?x.namespaceURI:Dn(null,"");break;default:x=Dn(x=(y=8===y?x.parentNode:x).namespaceURI||null,y=y.tagName)}La(ma),al(ma,x)}function Nl(){La(ma),La(Na),La(Pl)}function Qu(y){il(Pl.current);var x=il(ma.current),Y=Dn(x,y.type);x!==Y&&(al(Na,y),al(ma,Y))}function ac(y){Na.current===y&&(La(ma),La(Na))}var wa=vc(0);function nc(y){for(var x=y;null!==x;){if(13===x.tag){var Y=x.memoizedState;if(null!==Y&&(null===(Y=Y.dehydrated)||"$?"===Y.data||"$!"===Y.data))return x}else if(19===x.tag&&void 0!==x.memoizedProps.revealOrder){if(64&x.flags)return x}else if(null!==x.child){x.child.return=x,x=x.child;continue}if(x===y)break;for(;null===x.sibling;){if(null===x.return||x.return===y)return null;x=x.return}x.sibling.return=x.return,x=x.sibling}return null}var yc=null,Gc=null,xc=!1;function wf(y,x){var Y=vd(5,null,null,0);Y.elementType="DELETED",Y.type="DELETED",Y.stateNode=x,Y.return=y,Y.flags=8,null!==y.lastEffect?(y.lastEffect.nextEffect=Y,y.lastEffect=Y):y.firstEffect=y.lastEffect=Y}function Ql(y,x){switch(y.tag){case 5:return null!==(x=1!==x.nodeType||y.type.toLowerCase()!==x.nodeName.toLowerCase()?null:x)&&(y.stateNode=x,!0);case 6:return null!==(x=""===y.pendingProps||3!==x.nodeType?null:x)&&(y.stateNode=x,!0);default:return!1}}function ee(y){if(xc){var x=Gc;if(x){var Y=x;if(!Ql(y,x)){if(!(x=Nr(Y.nextSibling))||!Ql(y,x))return y.flags=-1025&y.flags|2,xc=!1,void(yc=y);wf(yc,Y)}yc=y,Gc=Nr(x.firstChild)}else y.flags=-1025&y.flags|2,xc=!1,yc=y}}function Ce(y){for(y=y.return;null!==y&&5!==y.tag&&3!==y.tag&&13!==y.tag;)y=y.return;yc=y}function vt(y){if(y!==yc)return!1;if(!xc)return Ce(y),xc=!0,!1;var x=y.type;if(5!==y.tag||"head"!==x&&"body"!==x&&!zt(x,y.memoizedProps))for(x=Gc;x;)wf(y,x),x=Nr(x.nextSibling);if(Ce(y),13===y.tag){if(!(y=null!==(y=y.memoizedState)?y.dehydrated:null))throw Error(u(317));e:{for(y=y.nextSibling,x=0;y;){if(8===y.nodeType){var Y=y.data;if("/$"===Y){if(0===x){Gc=Nr(y.nextSibling);break e}x--}else"$"!==Y&&"$!"!==Y&&"$?"!==Y||x++}y=y.nextSibling}Gc=null}}else Gc=yc?Nr(y.stateNode.nextSibling):null;return!0}function $t(){Gc=yc=null,xc=!1}var yn=[];function Ur(){for(var y=0;y<yn.length;y++)yn[y]._workInProgressVersionPrimary=null;yn.length=0}var Gi=fe.ReactCurrentDispatcher,Ys=fe.ReactCurrentBatchConfig,Ka=0,ka=null,nu=null,rc=null,_c=!1,T_=!1;function Bd(){throw Error(u(321))}function Sh(y,x){if(null===x)return!1;for(var Y=0;Y<x.length&&Y<y.length;Y++)if(!zo(y[Y],x[Y]))return!1;return!0}function bh(y,x,Y,be,Ke,xt){if(Ka=xt,ka=x,x.memoizedState=null,x.updateQueue=null,x.lanes=0,Gi.current=null===y||null===y.memoizedState?Jc:sp,y=Y(be,Ke),T_){xt=0;do{if(T_=!1,!(25>xt))throw Error(u(301));xt+=1,rc=nu=null,x.updateQueue=null,Gi.current=s_,y=Y(be,Ke)}while(T_)}if(Gi.current=Rd,x=null!==nu&&null!==nu.next,Ka=0,rc=nu=ka=null,_c=!1,x)throw Error(u(300));return y}function Gf(){var y={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===rc?ka.memoizedState=rc=y:rc=rc.next=y,rc}function Hp(){if(null===nu){var y=ka.alternate;y=null!==y?y.memoizedState:null}else y=nu.next;var x=null===rc?ka.memoizedState:rc.next;if(null!==x)rc=x,nu=y;else{if(null===y)throw Error(u(310));y={memoizedState:(nu=y).memoizedState,baseState:nu.baseState,baseQueue:nu.baseQueue,queue:nu.queue,next:null},null===rc?ka.memoizedState=rc=y:rc=rc.next=y}return rc}function pf(y,x){return"function"==typeof x?x(y):x}function C_(y){var x=Hp(),Y=x.queue;if(null===Y)throw Error(u(311));Y.lastRenderedReducer=y;var be=nu,Ke=be.baseQueue,xt=Y.pending;if(null!==xt){if(null!==Ke){var _n=Ke.next;Ke.next=xt.next,xt.next=_n}be.baseQueue=Ke=xt,Y.pending=null}if(null!==Ke){be=be.baseState;var In=_n=xt=null,vr=Ke=Ke.next;do{var Si=vr.lane;if((Ka&Si)===Si)null!==In&&(In=In.next={lane:0,action:vr.action,eagerReducer:vr.eagerReducer,eagerState:vr.eagerState,next:null}),be=vr.eagerReducer===y?vr.eagerState:y(be,vr.action);else{var Uo={lane:Si,action:vr.action,eagerReducer:vr.eagerReducer,eagerState:vr.eagerState,next:null};null===In?(_n=In=Uo,xt=be):In=In.next=Uo,ka.lanes|=Si,cp|=Si}vr=vr.next}while(null!==vr&&vr!==Ke);null===In?xt=be:In.next=_n,zo(be,x.memoizedState)||(xd=!0),x.memoizedState=be,x.baseState=xt,x.baseQueue=In,Y.lastRenderedState=be}return[x.memoizedState,Y.dispatch]}function op(y){var x=Hp(),Y=x.queue;if(null===Y)throw Error(u(311));Y.lastRenderedReducer=y;var be=Y.dispatch,Ke=Y.pending,xt=x.memoizedState;if(null!==Ke){Y.pending=null;var _n=Ke=Ke.next;do{xt=y(xt,_n.action),_n=_n.next}while(_n!==Ke);zo(xt,x.memoizedState)||(xd=!0),x.memoizedState=xt,null===x.baseQueue&&(x.baseState=xt),Y.lastRenderedState=xt}return[xt,be]}function Za(y,x,Y){var be=x._getVersion;be=be(x._source);var Ke=x._workInProgressVersionPrimary;if(null!==Ke?y=Ke===be:(y=(Ka&(y=y.mutableReadLanes))===y)&&(x._workInProgressVersionPrimary=be,yn.push(x)),y)return Y(x._source);throw yn.push(x),Error(u(350))}function _f(y,x,Y,be){var Ke=fd;if(null===Ke)throw Error(u(349));var xt=x._getVersion,_n=xt(x._source),In=Gi.current,vr=In.useState(function(){return Za(Ke,x,Y)}),Si=vr[1],Uo=vr[0];vr=rc;var Ds=y.memoizedState,Qi=Ds.refs,Ls=Qi.getSnapshot,ia=Ds.source;Ds=Ds.subscribe;var oa=ka;return y.memoizedState={refs:Qi,source:x,subscribe:be},In.useEffect(function(){Qi.getSnapshot=Y,Qi.setSnapshot=Si;var di=xt(x._source);if(!zo(_n,di)){di=Y(x._source),zo(Uo,di)||(Si(di),di=sf(oa),Ke.mutableReadLanes|=di&Ke.pendingLanes),Ke.entangledLanes|=di=Ke.mutableReadLanes;for(var Wr=Ke.entanglements,si=di;0<si;){var no=31-vl(si),vo=1<<no;Wr[no]|=di,si&=~vo}}},[Y,x,be]),In.useEffect(function(){return be(x._source,function(){var di=Qi.getSnapshot,Wr=Qi.setSnapshot;try{Wr(di(x._source));var si=sf(oa);Ke.mutableReadLanes|=si&Ke.pendingLanes}catch(no){Wr(function(){throw no})}})},[x,be]),zo(Ls,Y)&&zo(ia,x)&&zo(Ds,be)||((y={pending:null,dispatch:null,lastRenderedReducer:pf,lastRenderedState:Uo}).dispatch=Si=td.bind(null,ka,y),vr.queue=y,vr.baseQueue=null,Uo=Za(Ke,x,Y),vr.memoizedState=vr.baseState=Uo),Uo}function Wa(y,x,Y){return _f(Hp(),y,x,Y)}function Ec(y){var x=Gf();return"function"==typeof y&&(y=y()),x.memoizedState=x.baseState=y,y=(y=x.queue={pending:null,dispatch:null,lastRenderedReducer:pf,lastRenderedState:y}).dispatch=td.bind(null,ka,y),[x.memoizedState,y]}function Up(y,x,Y,be){return y={tag:y,create:x,destroy:Y,deps:be,next:null},null===(x=ka.updateQueue)?(ka.updateQueue=x={lastEffect:null},x.lastEffect=y.next=y):null===(Y=x.lastEffect)?x.lastEffect=y.next=y:(be=Y.next,Y.next=y,y.next=be,x.lastEffect=y),y}function Zc(y){return Gf().memoizedState={current:y}}function Sc(){return Hp().memoizedState}function Wc(y,x,Y,be){var Ke=Gf();ka.flags|=y,Ke.memoizedState=Up(1|x,Y,void 0,void 0===be?null:be)}function o_(y,x,Y,be){var Ke=Hp();be=void 0===be?null:be;var xt=void 0;if(null!==nu){var _n=nu.memoizedState;if(xt=_n.destroy,null!==be&&Sh(be,_n.deps))return void Up(x,Y,xt,be)}ka.flags|=y,Ke.memoizedState=Up(1|x,Y,xt,be)}function Cp(y,x){return Wc(516,4,y,x)}function Pf(y,x){return o_(516,4,y,x)}function Bp(y,x){return o_(4,2,y,x)}function W_(y,x){return"function"==typeof x?(y=y(),x(y),function(){x(null)}):null!=x?(y=y(),x.current=y,function(){x.current=null}):void 0}function Sd(y,x,Y){return Y=null!=Y?Y.concat([y]):null,o_(4,2,W_.bind(null,x,y),Y)}function Yf(){}function M_(y,x){var Y=Hp();x=void 0===x?null:x;var be=Y.memoizedState;return null!==be&&null!==x&&Sh(x,be[1])?be[0]:(Y.memoizedState=[y,x],y)}function bd(y,x){var Y=Hp();x=void 0===x?null:x;var be=Y.memoizedState;return null!==be&&null!==x&&Sh(x,be[1])?be[0]:(y=y(),Y.memoizedState=[y,x],y)}function dd(y,x){var Y=Ne();Ye(98>Y?98:Y,function(){y(!0)}),Ye(97<Y?97:Y,function(){var be=Ys.transition;Ys.transition=1;try{y(!1),x()}finally{Ys.transition=be}})}function td(y,x,Y){var be=Yc(),Ke=sf(y),xt={lane:Ke,action:Y,eagerReducer:null,eagerState:null,next:null},_n=x.pending;if(null===_n?xt.next=xt:(xt.next=_n.next,_n.next=xt),x.pending=xt,_n=y.alternate,y===ka||null!==_n&&_n===ka)T_=_c=!0;else{if(0===y.lanes&&(null===_n||0===_n.lanes)&&null!==(_n=x.lastRenderedReducer))try{var In=x.lastRenderedState,vr=_n(In,Y);if(xt.eagerReducer=_n,xt.eagerState=vr,zo(vr,In))return}catch{}fp(y,Ke,be)}}var Rd={readContext:tc,useCallback:Bd,useContext:Bd,useEffect:Bd,useImperativeHandle:Bd,useLayoutEffect:Bd,useMemo:Bd,useReducer:Bd,useRef:Bd,useState:Bd,useDebugValue:Bd,useDeferredValue:Bd,useTransition:Bd,useMutableSource:Bd,useOpaqueIdentifier:Bd,unstable_isNewReconciler:!1},Jc={readContext:tc,useCallback:function(y,x){return Gf().memoizedState=[y,void 0===x?null:x],y},useContext:tc,useEffect:Cp,useImperativeHandle:function(y,x,Y){return Y=null!=Y?Y.concat([y]):null,Wc(4,2,W_.bind(null,x,y),Y)},useLayoutEffect:function(y,x){return Wc(4,2,y,x)},useMemo:function(y,x){var Y=Gf();return x=void 0===x?null:x,y=y(),Y.memoizedState=[y,x],y},useReducer:function(y,x,Y){var be=Gf();return x=void 0!==Y?Y(x):x,be.memoizedState=be.baseState=x,y=(y=be.queue={pending:null,dispatch:null,lastRenderedReducer:y,lastRenderedState:x}).dispatch=td.bind(null,ka,y),[be.memoizedState,y]},useRef:Zc,useState:Ec,useDebugValue:Yf,useDeferredValue:function(y){var x=Ec(y),Y=x[0],be=x[1];return Cp(function(){var Ke=Ys.transition;Ys.transition=1;try{be(y)}finally{Ys.transition=Ke}},[y]),Y},useTransition:function(){var y=Ec(!1),x=y[0];return Zc(y=dd.bind(null,y[1])),[y,x]},useMutableSource:function(y,x,Y){var be=Gf();return be.memoizedState={refs:{getSnapshot:x,setSnapshot:null},source:y,subscribe:Y},_f(be,y,x,Y)},useOpaqueIdentifier:function(){if(xc){var y=!1,x=function Jo(y){return{$$typeof:cn,toString:y,valueOf:y}}(function(){throw y||(y=!0,Y("r:"+(ao++).toString(36))),Error(u(355))}),Y=Ec(x)[1];return!(2&ka.mode)&&(ka.flags|=516,Up(5,function(){Y("r:"+(ao++).toString(36))},void 0,null)),x}return Ec(x="r:"+(ao++).toString(36)),x},unstable_isNewReconciler:!1},sp={readContext:tc,useCallback:M_,useContext:tc,useEffect:Pf,useImperativeHandle:Sd,useLayoutEffect:Bp,useMemo:bd,useReducer:C_,useRef:Sc,useState:function(){return C_(pf)},useDebugValue:Yf,useDeferredValue:function(y){var x=C_(pf),Y=x[0],be=x[1];return Pf(function(){var Ke=Ys.transition;Ys.transition=1;try{be(y)}finally{Ys.transition=Ke}},[y]),Y},useTransition:function(){var y=C_(pf)[0];return[Sc().current,y]},useMutableSource:Wa,useOpaqueIdentifier:function(){return C_(pf)[0]},unstable_isNewReconciler:!1},s_={readContext:tc,useCallback:M_,useContext:tc,useEffect:Pf,useImperativeHandle:Sd,useLayoutEffect:Bp,useMemo:bd,useReducer:op,useRef:Sc,useState:function(){return op(pf)},useDebugValue:Yf,useDeferredValue:function(y){var x=op(pf),Y=x[0],be=x[1];return Pf(function(){var Ke=Ys.transition;Ys.transition=1;try{be(y)}finally{Ys.transition=Ke}},[y]),Y},useTransition:function(){var y=op(pf)[0];return[Sc().current,y]},useMutableSource:Wa,useOpaqueIdentifier:function(){return op(pf)[0]},unstable_isNewReconciler:!1},Gd=fe.ReactCurrentOwner,xd=!1;function bc(y,x,Y,be){x.child=null===y?As(x,null,Y,be):uo(x,y.child,Y,be)}function J_(y,x,Y,be,Ke){Y=Y.render;var xt=x.ref;return Ju(x,Ke),be=bh(y,x,Y,be,xt,Ke),null===y||xd?(x.flags|=1,bc(y,x,be,Ke),x.child):(x.updateQueue=y.updateQueue,x.flags&=-517,y.lanes&=~Ke,hf(y,x,Ke))}function Gp(y,x,Y,be,Ke,xt){if(null===y){var _n=Y.type;return"function"!=typeof _n||uh(_n)||void 0!==_n.defaultProps||null!==Y.compare||void 0!==Y.defaultProps?((y=ch(Y.type,null,be,x,x.mode,xt)).ref=x.ref,y.return=x,x.child=y):(x.tag=15,x.type=_n,a_(y,x,_n,be,Ke,xt))}return _n=y.child,Ke&xt||!(Y=null!==(Y=Y.compare)?Y:xl)(Ke=_n.memoizedProps,be)||y.ref!==x.ref?(x.flags|=1,(y=Np(_n,be)).ref=x.ref,y.return=x,x.child=y):hf(y,x,xt)}function a_(y,x,Y,be,Ke,xt){if(null!==y&&xl(y.memoizedProps,be)&&y.ref===x.ref){if(xd=!1,0==(xt&Ke))return x.lanes=y.lanes,hf(y,x,xt);16384&y.flags&&(xd=!0)}return X_(y,x,Y,be,xt)}function Q_(y,x,Y){var be=x.pendingProps,Ke=be.children,xt=null!==y?y.memoizedState:null;if("hidden"===be.mode||"unstable-defer-without-hiding"===be.mode)if(4&x.mode){if(!(1073741824&Y))return y=null!==xt?xt.baseLanes|Y:Y,x.lanes=x.childLanes=1073741824,x.memoizedState={baseLanes:y},Ef(0,y),null;x.memoizedState={baseLanes:0},Ef(0,null!==xt?xt.baseLanes:Y)}else x.memoizedState={baseLanes:0},Ef(0,Y);else null!==xt?(be=xt.baseLanes|Y,x.memoizedState=null):be=Y,Ef(0,be);return bc(y,x,Ke,Y),x.child}function K_(y,x){var Y=x.ref;(null===y&&null!==Y||null!==y&&y.ref!==Y)&&(x.flags|=128)}function X_(y,x,Y,be,Ke){var xt=za(Y)?En:xa.current;return xt=Pu(x,xt),Ju(x,Ke),Y=bh(y,x,Y,be,xt,Ke),null===y||xd?(x.flags|=1,bc(y,x,Y,Ke),x.child):(x.updateQueue=y.updateQueue,x.flags&=-517,y.lanes&=~Ke,hf(y,x,Ke))}function q_(y,x,Y,be,Ke){if(za(Y)){var xt=!0;ld(x)}else xt=!1;if(Ju(x,Ke),null===x.stateNode)null!==y&&(y.alternate=null,x.alternate=null,x.flags|=2),wt(x,Y,be),Cn(x,Y,be,Ke),be=!0;else if(null===y){var _n=x.stateNode,In=x.memoizedProps;_n.props=In;var vr=_n.context,Si=Y.contextType;Si="object"==typeof Si&&null!==Si?tc(Si):Pu(x,Si=za(Y)?En:xa.current);var Uo=Y.getDerivedStateFromProps,Ds="function"==typeof Uo||"function"==typeof _n.getSnapshotBeforeUpdate;Ds||"function"!=typeof _n.UNSAFE_componentWillReceiveProps&&"function"!=typeof _n.componentWillReceiveProps||(In!==be||vr!==Si)&&It(x,_n,be,Si),od=!1;var Qi=x.memoizedState;_n.state=Qi,ne(x,be,_n,Ke),vr=x.memoizedState,In!==be||Qi!==vr||Tu.current||od?("function"==typeof Uo&&(Qe(x,Y,Uo,be),vr=x.memoizedState),(In=od||ft(x,Y,In,be,Qi,vr,Si))?(Ds||"function"!=typeof _n.UNSAFE_componentWillMount&&"function"!=typeof _n.componentWillMount||("function"==typeof _n.componentWillMount&&_n.componentWillMount(),"function"==typeof _n.UNSAFE_componentWillMount&&_n.UNSAFE_componentWillMount()),"function"==typeof _n.componentDidMount&&(x.flags|=4)):("function"==typeof _n.componentDidMount&&(x.flags|=4),x.memoizedProps=be,x.memoizedState=vr),_n.props=be,_n.state=vr,_n.context=Si,be=In):("function"==typeof _n.componentDidMount&&(x.flags|=4),be=!1)}else{_n=x.stateNode,h(y,x),In=x.memoizedProps,Si=x.type===x.elementType?In:zi(x.type,In),_n.props=Si,Ds=x.pendingProps,Qi=_n.context,vr="object"==typeof(vr=Y.contextType)&&null!==vr?tc(vr):Pu(x,vr=za(Y)?En:xa.current);var Ls=Y.getDerivedStateFromProps;(Uo="function"==typeof Ls||"function"==typeof _n.getSnapshotBeforeUpdate)||"function"!=typeof _n.UNSAFE_componentWillReceiveProps&&"function"!=typeof _n.componentWillReceiveProps||(In!==Ds||Qi!==vr)&&It(x,_n,be,vr),od=!1,_n.state=Qi=x.memoizedState,ne(x,be,_n,Ke);var ia=x.memoizedState;In!==Ds||Qi!==ia||Tu.current||od?("function"==typeof Ls&&(Qe(x,Y,Ls,be),ia=x.memoizedState),(Si=od||ft(x,Y,Si,be,Qi,ia,vr))?(Uo||"function"!=typeof _n.UNSAFE_componentWillUpdate&&"function"!=typeof _n.componentWillUpdate||("function"==typeof _n.componentWillUpdate&&_n.componentWillUpdate(be,ia,vr),"function"==typeof _n.UNSAFE_componentWillUpdate&&_n.UNSAFE_componentWillUpdate(be,ia,vr)),"function"==typeof _n.componentDidUpdate&&(x.flags|=4),"function"==typeof _n.getSnapshotBeforeUpdate&&(x.flags|=256)):("function"!=typeof _n.componentDidUpdate||In===y.memoizedProps&&Qi===y.memoizedState||(x.flags|=4),"function"!=typeof _n.getSnapshotBeforeUpdate||In===y.memoizedProps&&Qi===y.memoizedState||(x.flags|=256),x.memoizedProps=be,x.memoizedState=ia),_n.props=be,_n.state=ia,_n.context=vr,be=Si):("function"!=typeof _n.componentDidUpdate||In===y.memoizedProps&&Qi===y.memoizedState||(x.flags|=4),"function"!=typeof _n.getSnapshotBeforeUpdate||In===y.memoizedProps&&Qi===y.memoizedState||(x.flags|=256),be=!1)}return Th(y,x,Y,be,xt,Ke)}function Th(y,x,Y,be,Ke,xt){K_(y,x);var _n=0!=(64&x.flags);if(!be&&!_n)return Ke&&Hc(x,Y,!1),hf(y,x,xt);be=x.stateNode,Gd.current=x;var In=_n&&"function"!=typeof Y.getDerivedStateFromError?null:be.render();return x.flags|=1,null!==y&&_n?(x.child=uo(x,y.child,null,xt),x.child=uo(x,null,In,xt)):bc(y,x,In,xt),x.memoizedState=be.state,Ke&&Hc(x,Y,!0),x.child}function vm(y){var x=y.stateNode;x.pendingContext?Os(0,x.pendingContext,x.pendingContext!==x.context):x.context&&Os(0,x.context,!1),dl(y,x.containerInfo)}var l_,u_,mf,jf,O_={dehydrated:null,retryLane:0};function Ch(y,x,Y){var _n,be=x.pendingProps,Ke=wa.current,xt=!1;return(_n=0!=(64&x.flags))||(_n=(null===y||null!==y.memoizedState)&&0!=(2&Ke)),_n?(xt=!0,x.flags&=-65):null!==y&&null===y.memoizedState||void 0===be.fallback||!0===be.unstable_avoidThisFallback||(Ke|=1),al(wa,1&Ke),null===y?(void 0!==be.fallback&&ee(x),y=be.children,Ke=be.fallback,xt?(y=Yd(x,y,Ke,Y),x.child.memoizedState={baseLanes:Y},x.memoizedState=O_,y):"number"==typeof be.unstable_expectedLoadTime?(y=Yd(x,y,Ke,Y),x.child.memoizedState={baseLanes:Y},x.memoizedState=O_,x.lanes=33554432,y):((Y=om({mode:"visible",children:y},x.mode,Y,null)).return=x,x.child=Y)):xt?(be=function Mh(y,x,Y,be,Ke){var xt=x.mode,_n=y.child;y=_n.sibling;var In={mode:"hidden",children:Y};return 2&xt||x.child===_n?Y=Np(_n,In):((Y=x.child).childLanes=0,Y.pendingProps=In,null!==(_n=Y.lastEffect)?(x.firstEffect=Y.firstEffect,x.lastEffect=_n,_n.nextEffect=null):x.firstEffect=x.lastEffect=null),null!==y?be=Np(y,be):(be=Cd(be,xt,Ke,null)).flags|=2,be.return=x,Y.return=x,Y.sibling=be,x.child=Y,be}(y,x,be.children,be.fallback,Y),(xt=x.child).memoizedState=null===(Ke=y.child.memoizedState)?{baseLanes:Y}:{baseLanes:Ke.baseLanes|Y},xt.childLanes=y.childLanes&~Y,x.memoizedState=O_,be):(Y=function Nf(y,x,Y,be){var Ke=y.child;return y=Ke.sibling,Y=Np(Ke,{mode:"visible",children:Y}),!(2&x.mode)&&(Y.lanes=be),Y.return=x,Y.sibling=null,null!==y&&(y.nextEffect=null,y.flags=8,x.firstEffect=x.lastEffect=y),x.child=Y}(y,x,be.children,Y),x.memoizedState=null,Y)}function Yd(y,x,Y,be){var Ke=y.mode,xt=y.child;return x={mode:"hidden",children:x},2&Ke||null===xt?xt=om(x,Ke,0,null):(xt.childLanes=0,xt.pendingProps=x),Y=Cd(Y,Ke,be,null),xt.return=y,Y.return=y,xt.sibling=Y,y.child=xt,Y}function Jh(y,x){y.lanes|=x;var Y=y.alternate;null!==Y&&(Y.lanes|=x),cd(y.return,x)}function lp(y,x,Y,be,Ke,xt){var _n=y.memoizedState;null===_n?y.memoizedState={isBackwards:x,rendering:null,renderingStartTime:0,last:be,tail:Y,tailMode:Ke,lastEffect:xt}:(_n.isBackwards=x,_n.rendering=null,_n.renderingStartTime=0,_n.last=be,_n.tail=Y,_n.tailMode=Ke,_n.lastEffect=xt)}function Mp(y,x,Y){var be=x.pendingProps,Ke=be.revealOrder,xt=be.tail;if(bc(y,x,be.children,Y),2&(be=wa.current))be=1&be|2,x.flags|=64;else{if(null!==y&&64&y.flags)e:for(y=x.child;null!==y;){if(13===y.tag)null!==y.memoizedState&&Jh(y,Y);else if(19===y.tag)Jh(y,Y);else if(null!==y.child){y.child.return=y,y=y.child;continue}if(y===x)break e;for(;null===y.sibling;){if(null===y.return||y.return===x)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}be&=1}if(al(wa,be),2&x.mode)switch(Ke){case"forwards":for(Y=x.child,Ke=null;null!==Y;)null!==(y=Y.alternate)&&null===nc(y)&&(Ke=Y),Y=Y.sibling;null===(Y=Ke)?(Ke=x.child,x.child=null):(Ke=Y.sibling,Y.sibling=null),lp(x,!1,Ke,Y,xt,x.lastEffect);break;case"backwards":for(Y=null,Ke=x.child,x.child=null;null!==Ke;){if(null!==(y=Ke.alternate)&&null===nc(y)){x.child=Ke;break}y=Ke.sibling,Ke.sibling=Y,Y=Ke,Ke=y}lp(x,!0,Y,null,xt,x.lastEffect);break;case"together":lp(x,!1,null,null,void 0,x.lastEffect);break;default:x.memoizedState=null}else x.memoizedState=null;return x.child}function hf(y,x,Y){if(null!==y&&(x.dependencies=y.dependencies),cp|=x.lanes,Y&x.childLanes){if(null!==y&&x.child!==y.child)throw Error(u(153));if(null!==x.child){for(Y=Np(y=x.child,y.pendingProps),x.child=Y,Y.return=x;null!==y.sibling;)(Y=Y.sibling=Np(y=y.sibling,y.pendingProps)).return=x;Y.sibling=null}return x.child}return null}function jd(y,x){if(!xc)switch(y.tailMode){case"hidden":x=y.tail;for(var Y=null;null!==x;)null!==x.alternate&&(Y=x),x=x.sibling;null===Y?y.tail=null:Y.sibling=null;break;case"collapsed":Y=y.tail;for(var be=null;null!==Y;)null!==Y.alternate&&(be=Y),Y=Y.sibling;null===be?x||null===y.tail?y.tail=null:y.tail.sibling=null:be.sibling=null}}function Nm(y,x,Y){var be=x.pendingProps;switch(x.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return za(x.type)&&Va(),null;case 3:return Nl(),La(Tu),La(xa),Ur(),(be=x.stateNode).pendingContext&&(be.context=be.pendingContext,be.pendingContext=null),(null===y||null===y.child)&&(vt(x)?x.flags|=4:be.hydrate||(x.flags|=256)),u_(x),null;case 5:ac(x);var Ke=il(Pl.current);if(Y=x.type,null!==y&&null!=x.stateNode)mf(y,x,Y,be,Ke),y.ref!==x.ref&&(x.flags|=128);else{if(!be){if(null===x.stateNode)throw Error(u(166));return null}if(y=il(ma.current),vt(x)){Y=x.type;var xt=x.memoizedProps;switch((be=x.stateNode)[ys]=x,be[Ps]=xt,Y){case"dialog":Fs("cancel",be),Fs("close",be);break;case"iframe":case"object":case"embed":Fs("load",be);break;case"video":case"audio":for(y=0;y<Xn.length;y++)Fs(Xn[y],be);break;case"source":Fs("error",be);break;case"img":case"image":case"link":Fs("error",be),Fs("load",be);break;case"details":Fs("toggle",be);break;case"input":hr(be,xt),Fs("invalid",be);break;case"select":be._wrapperState={wasMultiple:!!xt.multiple},Fs("invalid",be);break;case"textarea":Eo(be,xt),Fs("invalid",be)}for(var _n in Rt(Y,xt),y=null,xt)xt.hasOwnProperty(_n)&&(Ke=xt[_n],"children"===_n?"string"==typeof Ke?be.textContent!==Ke&&(y=["children",Ke]):"number"==typeof Ke&&be.textContent!==""+Ke&&(y=["children",""+Ke]):f.hasOwnProperty(_n)&&null!=Ke&&"onScroll"===_n&&Fs("scroll",be));switch(Y){case"input":Wt(be),so(be,xt,!0);break;case"textarea":Wt(be),$i(be);break;case"select":case"option":break;default:"function"==typeof xt.onClick&&(be.onclick=ae)}x.updateQueue=be=y,null!==be&&(x.flags|=4)}else{switch(_n=9===Ke.nodeType?Ke:Ke.ownerDocument,y===qr.html&&(y=Hi(Y)),y===qr.html?"script"===Y?((y=_n.createElement("div")).innerHTML="<script><\/script>",y=y.removeChild(y.firstChild)):"string"==typeof be.is?y=_n.createElement(Y,{is:be.is}):(y=_n.createElement(Y),"select"===Y&&(_n=y,be.multiple?_n.multiple=!0:be.size&&(_n.size=be.size))):y=_n.createElementNS(y,Y),y[ys]=x,y[Ps]=be,l_(y,x,!1,!1),x.stateNode=y,_n=Pe(Y,be),Y){case"dialog":Fs("cancel",y),Fs("close",y),Ke=be;break;case"iframe":case"object":case"embed":Fs("load",y),Ke=be;break;case"video":case"audio":for(Ke=0;Ke<Xn.length;Ke++)Fs(Xn[Ke],y);Ke=be;break;case"source":Fs("error",y),Ke=be;break;case"img":case"image":case"link":Fs("error",y),Fs("load",y),Ke=be;break;case"details":Fs("toggle",y),Ke=be;break;case"input":hr(y,be),Ke=jn(y,be),Fs("invalid",y);break;case"option":Ke=ii(y,be);break;case"select":y._wrapperState={wasMultiple:!!be.multiple},Ke=a({},be,{value:void 0}),Fs("invalid",y);break;case"textarea":Eo(y,be),Ke=pr(y,be),Fs("invalid",y);break;default:Ke=be}Rt(Y,Ke);var In=Ke;for(xt in In)if(In.hasOwnProperty(xt)){var vr=In[xt];"style"===xt?an(y,vr):"dangerouslySetInnerHTML"===xt?null!=(vr=vr?vr.__html:void 0)&&jt(y,vr):"children"===xt?"string"==typeof vr?("textarea"!==Y||""!==vr)&&Fe(y,vr):"number"==typeof vr&&Fe(y,""+vr):"suppressContentEditableWarning"!==xt&&"suppressHydrationWarning"!==xt&&"autoFocus"!==xt&&(f.hasOwnProperty(xt)?null!=vr&&"onScroll"===xt&&Fs("scroll",y):null!=vr&&se(y,xt,vr,_n))}switch(Y){case"input":Wt(y),so(y,be,!1);break;case"textarea":Wt(y),$i(y);break;case"option":null!=be.value&&y.setAttribute("value",""+jr(be.value));break;case"select":y.multiple=!!be.multiple,null!=(xt=be.value)?mr(y,!!be.multiple,xt,!1):null!=be.defaultValue&&mr(y,!!be.multiple,be.defaultValue,!0);break;default:"function"==typeof Ke.onClick&&(y.onclick=ae)}st(Y,be)&&(x.flags|=4)}null!==x.ref&&(x.flags|=128)}return null;case 6:if(y&&null!=x.stateNode)jf(y,x,y.memoizedProps,be);else{if("string"!=typeof be&&null===x.stateNode)throw Error(u(166));Y=il(Pl.current),il(ma.current),vt(x)?(Y=x.memoizedProps,(be=x.stateNode)[ys]=x,be.nodeValue!==Y&&(x.flags|=4)):((be=(9===Y.nodeType?Y:Y.ownerDocument).createTextNode(be))[ys]=x,x.stateNode=be)}return null;case 13:return La(wa),be=x.memoizedState,64&x.flags?(x.lanes=Y,x):(be=null!==be,Y=!1,null===y?void 0!==x.memoizedProps.fallback&&vt(x):Y=null!==y.memoizedState,be&&!Y&&2&x.mode&&(null===y&&!0!==x.memoizedProps.unstable_avoidThisFallback||1&wa.current?0===Cc&&(Cc=3):((0===Cc||3===Cc)&&(Cc=4),null===fd||!(134217727&cp)&&!(134217727&Mc)||wp(fd,Zs))),(be||Y)&&(x.flags|=4),null);case 4:return Nl(),u_(x),null===y&&Vs(x.stateNode.containerInfo),null;case 10:return pc(x),null;case 19:if(La(wa),null===(be=x.memoizedState))return null;if(xt=0!=(64&x.flags),null===(_n=be.rendering))if(xt)jd(be,!1);else{if(0!==Cc||null!==y&&64&y.flags)for(y=x.child;null!==y;){if(null!==(_n=nc(y))){for(x.flags|=64,jd(be,!1),null!==(xt=_n.updateQueue)&&(x.updateQueue=xt,x.flags|=4),null===be.lastEffect&&(x.firstEffect=null),x.lastEffect=be.lastEffect,be=Y,Y=x.child;null!==Y;)y=be,(xt=Y).flags&=2,xt.nextEffect=null,xt.firstEffect=null,xt.lastEffect=null,null===(_n=xt.alternate)?(xt.childLanes=0,xt.lanes=y,xt.child=null,xt.memoizedProps=null,xt.memoizedState=null,xt.updateQueue=null,xt.dependencies=null,xt.stateNode=null):(xt.childLanes=_n.childLanes,xt.lanes=_n.lanes,xt.child=_n.child,xt.memoizedProps=_n.memoizedProps,xt.memoizedState=_n.memoizedState,xt.updateQueue=_n.updateQueue,xt.type=_n.type,xt.dependencies=null===(y=_n.dependencies)?null:{lanes:y.lanes,firstContext:y.firstContext}),Y=Y.sibling;return al(wa,1&wa.current|2),x.child}y=y.sibling}null!==be.tail&&Se()>zf&&(x.flags|=64,xt=!0,jd(be,!1),x.lanes=33554432)}else{if(!xt)if(null!==(y=nc(_n))){if(x.flags|=64,xt=!0,null!==(Y=y.updateQueue)&&(x.updateQueue=Y,x.flags|=4),jd(be,!0),null===be.tail&&"hidden"===be.tailMode&&!_n.alternate&&!xc)return null!==(x=x.lastEffect=be.lastEffect)&&(x.nextEffect=null),null}else 2*Se()-be.renderingStartTime>zf&&1073741824!==Y&&(x.flags|=64,xt=!0,jd(be,!1),x.lanes=33554432);be.isBackwards?(_n.sibling=x.child,x.child=_n):(null!==(Y=be.last)?Y.sibling=_n:x.child=_n,be.last=_n)}return null!==be.tail?(be.rendering=Y=be.tail,be.tail=Y.sibling,be.lastEffect=x.lastEffect,be.renderingStartTime=Se(),Y.sibling=null,x=wa.current,al(wa,xt?1&x|2:1&x),Y):null;case 23:case 24:return Sf(),null!==y&&null!==y.memoizedState!=(null!==x.memoizedState)&&"unstable-defer-without-hiding"!==be.mode&&(x.flags|=4),null}throw Error(u(156,x.tag))}function Qh(y){switch(y.tag){case 1:za(y.type)&&Va();var x=y.flags;return 4096&x?(y.flags=-4097&x|64,y):null;case 3:if(Nl(),La(Tu),La(xa),Ur(),64&(x=y.flags))throw Error(u(285));return y.flags=-4097&x|64,y;case 5:return ac(y),null;case 13:return La(wa),4096&(x=y.flags)?(y.flags=-4097&x|64,y):null;case 19:return La(wa),null;case 4:return Nl(),null;case 10:return pc(y),null;case 23:case 24:return Sf(),null;default:return null}}function nf(y,x){try{var Y="",be=x;do{Y+=ir(be),be=be.return}while(be);var Ke=Y}catch(xt){Ke="\nError generating stack: "+xt.message+"\n"+xt.stack}return{value:y,source:x,stack:Ke}}function Op(y,x){try{console.error(x.value)}catch(Y){setTimeout(function(){throw Y})}}l_=function(y,x){for(var Y=x.child;null!==Y;){if(5===Y.tag||6===Y.tag)y.appendChild(Y.stateNode);else if(4!==Y.tag&&null!==Y.child){Y.child.return=Y,Y=Y.child;continue}if(Y===x)break;for(;null===Y.sibling;){if(null===Y.return||Y.return===x)return;Y=Y.return}Y.sibling.return=Y.return,Y=Y.sibling}},u_=function(){},mf=function(y,x,Y,be){var Ke=y.memoizedProps;if(Ke!==be){y=x.stateNode,il(ma.current);var _n,xt=null;switch(Y){case"input":Ke=jn(y,Ke),be=jn(y,be),xt=[];break;case"option":Ke=ii(y,Ke),be=ii(y,be),xt=[];break;case"select":Ke=a({},Ke,{value:void 0}),be=a({},be,{value:void 0}),xt=[];break;case"textarea":Ke=pr(y,Ke),be=pr(y,be),xt=[];break;default:"function"!=typeof Ke.onClick&&"function"==typeof be.onClick&&(y.onclick=ae)}for(Si in Rt(Y,be),Y=null,Ke)if(!be.hasOwnProperty(Si)&&Ke.hasOwnProperty(Si)&&null!=Ke[Si])if("style"===Si){var In=Ke[Si];for(_n in In)In.hasOwnProperty(_n)&&(Y||(Y={}),Y[_n]="")}else"dangerouslySetInnerHTML"!==Si&&"children"!==Si&&"suppressContentEditableWarning"!==Si&&"suppressHydrationWarning"!==Si&&"autoFocus"!==Si&&(f.hasOwnProperty(Si)?xt||(xt=[]):(xt=xt||[]).push(Si,null));for(Si in be){var vr=be[Si];if(In=Ke?.[Si],be.hasOwnProperty(Si)&&vr!==In&&(null!=vr||null!=In))if("style"===Si)if(In){for(_n in In)!In.hasOwnProperty(_n)||vr&&vr.hasOwnProperty(_n)||(Y||(Y={}),Y[_n]="");for(_n in vr)vr.hasOwnProperty(_n)&&In[_n]!==vr[_n]&&(Y||(Y={}),Y[_n]=vr[_n])}else Y||(xt||(xt=[]),xt.push(Si,Y)),Y=vr;else"dangerouslySetInnerHTML"===Si?(In=In?In.__html:void 0,null!=(vr=vr?vr.__html:void 0)&&In!==vr&&(xt=xt||[]).push(Si,vr)):"children"===Si?"string"!=typeof vr&&"number"!=typeof vr||(xt=xt||[]).push(Si,""+vr):"suppressContentEditableWarning"!==Si&&"suppressHydrationWarning"!==Si&&(f.hasOwnProperty(Si)?(null!=vr&&"onScroll"===Si&&Fs("scroll",y),xt||In===vr||(xt=[])):"object"==typeof vr&&null!==vr&&vr.$$typeof===cn?vr.toString():(xt=xt||[]).push(Si,vr))}Y&&(xt=xt||[]).push("style",Y);var Si=xt;(x.updateQueue=Si)&&(x.flags|=4)}},jf=function(y,x,Y,be){Y!==be&&(x.flags|=4)};var Oh="function"==typeof WeakMap?WeakMap:Map;function Ap(y,x,Y){(Y=b(-1,Y)).tag=3,Y.payload={element:null};var be=x.value;return Y.callback=function(){rh||(rh=!0,ih=be),Op(0,x)},Y}function A_(y,x,Y){(Y=b(-1,Y)).tag=3;var be=y.type.getDerivedStateFromError;if("function"==typeof be){var Ke=x.value;Y.payload=function(){return Op(0,x),be(Ke)}}var xt=y.stateNode;return null!==xt&&"function"==typeof xt.componentDidCatch&&(Y.callback=function(){"function"!=typeof be&&(null===lc?lc=new Set([this]):lc.add(this),Op(0,x));var _n=x.stack;this.componentDidCatch(x.value,{componentStack:null!==_n?_n:""})}),Y}var Dp="function"==typeof WeakSet?WeakSet:Set;function Ah(y){var x=y.ref;if(null!==x)if("function"==typeof x)try{x(null)}catch(Y){Pp(y,Y)}else x.current=null}function If(y,x){switch(x.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&x.flags&&null!==y){var Y=y.memoizedProps,be=y.memoizedState;x=(y=x.stateNode).getSnapshotBeforeUpdate(x.elementType===x.type?Y:zi(x.type,Y),be),y.__reactInternalSnapshotBeforeUpdate=x}return;case 3:return void(256&x.flags&&Er(x.stateNode.containerInfo))}throw Error(u(163))}function Yp(y,x,Y){switch(Y.tag){case 0:case 11:case 15:case 22:if(null!==(x=null!==(x=Y.updateQueue)?x.lastEffect:null)){y=x=x.next;do{if(3==(3&y.tag)){var be=y.create;y.destroy=be()}y=y.next}while(y!==x)}if(null!==(x=null!==(x=Y.updateQueue)?x.lastEffect:null)){y=x=x.next;do{var Ke=y;be=Ke.next,4&(Ke=Ke.tag)&&1&Ke&&(F_(Y,y),lh(Y,y)),y=be}while(y!==x)}return;case 1:return y=Y.stateNode,4&Y.flags&&(null===x?y.componentDidMount():(be=Y.elementType===Y.type?x.memoizedProps:zi(Y.type,x.memoizedProps),y.componentDidUpdate(be,x.memoizedState,y.__reactInternalSnapshotBeforeUpdate))),void(null!==(x=Y.updateQueue)&&he(Y,x,y));case 3:if(null!==(x=Y.updateQueue)){if(y=null,null!==Y.child)switch(Y.child.tag){case 5:case 1:y=Y.child.stateNode}he(Y,x,y)}return;case 5:return y=Y.stateNode,void(null===x&&4&Y.flags&&st(Y.type,Y.memoizedProps)&&y.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===Y.memoizedState&&(Y=Y.alternate,null!==Y&&(Y=Y.memoizedState,null!==Y&&(Y=Y.dehydrated,null!==Y&&$s(Y)))))}throw Error(u(163))}function eh(y,x){for(var Y=y;;){if(5===Y.tag){var be=Y.stateNode;if(x)"function"==typeof(be=be.style).setProperty?be.setProperty("display","none","important"):be.display="none";else{be=Y.stateNode;var Ke=Y.memoizedProps.style;Ke=null!=Ke&&Ke.hasOwnProperty("display")?Ke.display:null,be.style.display=ze("display",Ke)}}else if(6===Y.tag)Y.stateNode.nodeValue=x?"":Y.memoizedProps;else if((23!==Y.tag&&24!==Y.tag||null===Y.memoizedState||Y===y)&&null!==Y.child){Y.child.return=Y,Y=Y.child;continue}if(Y===y)break;for(;null===Y.sibling;){if(null===Y.return||Y.return===y)return;Y=Y.return}Y.sibling.return=Y.return,Y=Y.sibling}}function c_(y,x){if(ud&&"function"==typeof ud.onCommitFiberUnmount)try{ud.onCommitFiberUnmount(Vu,x)}catch{}switch(x.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(y=x.updateQueue)&&null!==(y=y.lastEffect)){var Y=y=y.next;do{var be=Y,Ke=be.destroy;if(be=be.tag,void 0!==Ke)if(4&be)F_(x,Y);else{be=x;try{Ke()}catch(xt){Pp(be,xt)}}Y=Y.next}while(Y!==y)}break;case 1:if(Ah(x),"function"==typeof(y=x.stateNode).componentWillUnmount)try{y.props=x.memoizedProps,y.state=x.memoizedState,y.componentWillUnmount()}catch(xt){Pp(x,xt)}break;case 5:Ah(x);break;case 4:Kh(y,x)}}function th(y){y.alternate=null,y.child=null,y.dependencies=null,y.firstEffect=null,y.lastEffect=null,y.memoizedProps=null,y.memoizedState=null,y.pendingProps=null,y.return=null,y.updateQueue=null}function d_(y){return 5===y.tag||3===y.tag||4===y.tag}function zd(y){e:{for(var x=y.return;null!==x;){if(d_(x))break e;x=x.return}throw Error(u(160))}var Y=x;switch(x=Y.stateNode,Y.tag){case 5:var be=!1;break;case 3:case 4:x=x.containerInfo,be=!0;break;default:throw Error(u(161))}16&Y.flags&&(Fe(x,""),Y.flags&=-17);e:t:for(Y=y;;){for(;null===Y.sibling;){if(null===Y.return||d_(Y.return)){Y=null;break e}Y=Y.return}for(Y.sibling.return=Y.return,Y=Y.sibling;5!==Y.tag&&6!==Y.tag&&18!==Y.tag;){if(2&Y.flags||null===Y.child||4===Y.tag)continue t;Y.child.return=Y,Y=Y.child}if(!(2&Y.flags)){Y=Y.stateNode;break e}}be?nh(y,Y,x):f_(y,Y,x)}function nh(y,x,Y){var be=y.tag,Ke=5===be||6===be;if(Ke)y=Ke?y.stateNode:y.stateNode.instance,x?8===Y.nodeType?Y.parentNode.insertBefore(y,x):Y.insertBefore(y,x):(8===Y.nodeType?(x=Y.parentNode).insertBefore(y,Y):(x=Y).appendChild(y),null!=(Y=Y._reactRootContainer)||null!==x.onclick||(x.onclick=ae));else if(4!==be&&null!==(y=y.child))for(nh(y,x,Y),y=y.sibling;null!==y;)nh(y,x,Y),y=y.sibling}function f_(y,x,Y){var be=y.tag,Ke=5===be||6===be;if(Ke)y=Ke?y.stateNode:y.stateNode.instance,x?Y.insertBefore(y,x):Y.appendChild(y);else if(4!==be&&null!==(y=y.child))for(f_(y,x,Y),y=y.sibling;null!==y;)f_(y,x,Y),y=y.sibling}function Kh(y,x){for(var Ke,xt,Y=x,be=!1;;){if(!be){be=Y.return;e:for(;;){if(null===be)throw Error(u(160));switch(Ke=be.stateNode,be.tag){case 5:xt=!1;break e;case 3:case 4:Ke=Ke.containerInfo,xt=!0;break e}be=be.return}be=!0}if(5===Y.tag||6===Y.tag){e:for(var _n=y,In=Y,vr=In;;)if(c_(_n,vr),null!==vr.child&&4!==vr.tag)vr.child.return=vr,vr=vr.child;else{if(vr===In)break e;for(;null===vr.sibling;){if(null===vr.return||vr.return===In)break e;vr=vr.return}vr.sibling.return=vr.return,vr=vr.sibling}xt?(In=Y.stateNode,8===(_n=Ke).nodeType?_n.parentNode.removeChild(In):_n.removeChild(In)):Ke.removeChild(Y.stateNode)}else if(4===Y.tag){if(null!==Y.child){Ke=Y.stateNode.containerInfo,xt=!0,Y.child.return=Y,Y=Y.child;continue}}else if(c_(y,Y),null!==Y.child){Y.child.return=Y,Y=Y.child;continue}if(Y===x)break;for(;null===Y.sibling;){if(null===Y.return||Y.return===x)return;4===(Y=Y.return).tag&&(be=!1)}Y.sibling.return=Y.return,Y=Y.sibling}}function up(y,x){switch(x.tag){case 0:case 11:case 14:case 15:case 22:var Y=x.updateQueue;if(null!==(Y=null!==Y?Y.lastEffect:null)){var be=Y=Y.next;do{3==(3&be.tag)&&(y=be.destroy,be.destroy=void 0,void 0!==y&&y()),be=be.next}while(be!==Y)}return;case 1:case 12:case 17:return;case 5:if(null!=(Y=x.stateNode)){be=x.memoizedProps;var Ke=null!==y?y.memoizedProps:be;y=x.type;var xt=x.updateQueue;if(x.updateQueue=null,null!==xt){for(Y[Ps]=be,"input"===y&&"radio"===be.type&&null!=be.name&&Oi(Y,be),Pe(y,Ke),x=Pe(y,be),Ke=0;Ke<xt.length;Ke+=2){var _n=xt[Ke],In=xt[Ke+1];"style"===_n?an(Y,In):"dangerouslySetInnerHTML"===_n?jt(Y,In):"children"===_n?Fe(Y,In):se(Y,_n,In,x)}switch(y){case"input":Wi(Y,be);break;case"textarea":po(Y,be);break;case"select":y=Y._wrapperState.wasMultiple,Y._wrapperState.wasMultiple=!!be.multiple,null!=(xt=be.value)?mr(Y,!!be.multiple,xt,!1):y!==!!be.multiple&&(null!=be.defaultValue?mr(Y,!!be.multiple,be.defaultValue,!0):mr(Y,!!be.multiple,be.multiple?[]:"",!1))}}}return;case 6:if(null===x.stateNode)throw Error(u(162));return void(x.stateNode.nodeValue=x.memoizedProps);case 3:return void((Y=x.stateNode).hydrate&&(Y.hydrate=!1,$s(Y.containerInfo)));case 13:return null!==x.memoizedState&&(Lf=Se(),eh(x.child,!0)),void Dh(x);case 19:return void Dh(x);case 23:case 24:return void eh(x,null!==x.memoizedState)}throw Error(u(163))}function Dh(y){var x=y.updateQueue;if(null!==x){y.updateQueue=null;var Y=y.stateNode;null===Y&&(Y=y.stateNode=new Dp),x.forEach(function(be){var Ke=rm.bind(null,y,be);Y.has(be)||(Y.add(be),be.then(Ke,Ke))})}}function jp(y,x){return null!==y&&(null===(y=y.memoizedState)||null!==y.dehydrated)&&null!==(x=x.memoizedState)&&null===x.dehydrated}var Td=Math.ceil,gf=fe.ReactCurrentDispatcher,zp=fe.ReactCurrentOwner,Ta=0,fd=null,Tc=null,Zs=0,vf=0,p_=vc(0),Cc=0,D_=null,yf=0,cp=0,Mc=0,Ff=0,__=null,Lf=0,zf=1/0;function Vf(){zf=Se()+500}var im,ra=null,rh=!1,ih=null,lc=null,Ku=!1,Zf=null,Vd=90,Wf=[],h_=[],kf=null,rf=0,R_=null,x_=-1,Jf=0,oh=0,Rp=null,dp=!1;function Yc(){return 48&Ta?Se():-1!==x_?x_:x_=Se()}function sf(y){if(!(2&(y=y.mode)))return 1;if(!(4&y))return 99===Ne()?1:2;if(0===Jf&&(Jf=yf),0!==ni.transition){0!==oh&&(oh=null!==__?__.pendingLanes:0),y=Jf;var x=4186112&~oh;return 0==(x&=-x)&&0==(x=(y=4186112&~y)&-y)&&(x=8192),x}return y=Ne(),y=ds(4&Ta&&98===y?12:y=function vi(y){switch(y){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(y),Jf)}function fp(y,x,Y){if(50<rf)throw rf=0,R_=null,Error(u(185));if(null===(y=xp(y,x)))return null;Ll(y,x,Y),y===fd&&(Mc|=x,4===Cc&&wp(y,Zs));var be=Ne();1===x?8&Ta&&!(48&Ta)?Rh(y):(wd(y,Y),0===Ta&&(Vf(),un())):(!(4&Ta)||98!==be&&99!==be||(null===kf?kf=new Set([y]):kf.add(y)),wd(y,Y)),__=y}function xp(y,x){y.lanes|=x;var Y=y.alternate;for(null!==Y&&(Y.lanes|=x),Y=y,y=y.return;null!==y;)y.childLanes|=x,null!==(Y=y.alternate)&&(Y.childLanes|=x),Y=y,y=y.return;return 3===Y.tag?Y.stateNode:null}function wd(y,x){for(var Y=y.callbackNode,be=y.suspendedLanes,Ke=y.pingedLanes,xt=y.expirationTimes,_n=y.pendingLanes;0<_n;){var In=31-vl(_n),vr=1<<In,Si=xt[In];-1===Si?vr&be&&!(vr&Ke)||(Si=x,gn(vr),xt[In]=10<=Jt?Si+250:6<=Jt?Si+5e3:-1):Si<=x&&(y.expiredLanes|=vr),_n&=~vr}if(be=Xi(y,y===fd?Zs:0),x=Jt,0===be)null!==Y&&(Y!==ed&&Uf(Y),y.callbackNode=null,y.callbackPriority=0);else{if(null!==Y){if(y.callbackPriority===x)return;Y!==ed&&Uf(Y)}15===x?(Y=Rh.bind(null,y),null===_u?(_u=[Y],Ud=tf(ip,Mn)):_u.push(Y),Y=ed):14===x?Y=Mt(99,Rh.bind(null,y)):(Y=function Bi(y){switch(y){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(u(358,y))}}(x),Y=Mt(Y,w_.bind(null,y))),y.callbackPriority=x,y.callbackNode=Y}}function w_(y){if(x_=-1,oh=Jf=0,48&Ta)throw Error(u(327));var x=y.callbackNode;if(_p()&&y.callbackNode!==x)return null;var Y=Xi(y,y===fd?Zs:0);if(0===Y)return null;var be=Y,Ke=Ta;Ta|=16;var xt=ah();for((fd!==y||Zs!==be)&&(Vf(),Vp(y,be));;)try{N_();break}catch(In){xh(y,In)}if(Wu(),gf.current=xt,Ta=Ke,null!==Tc?be=0:(fd=null,Zs=0,be=Cc),yf&Mc)Vp(y,0);else if(0!==be){if(2===be&&(Ta|=64,y.hydrate&&(y.hydrate=!1,Er(y.containerInfo)),0!==(Y=ws(y))&&(be=P_(y,Y))),1===be)throw x=D_,Vp(y,0),wp(y,Y),wd(y,Se()),x;switch(y.finishedWork=y.current.alternate,y.finishedLanes=Y,be){case 0:case 1:throw Error(u(345));case 2:case 5:Zp(y);break;case 3:if(wp(y,Y),(62914560&Y)===Y&&10<(be=Lf+500-Se())){if(0!==Xi(y,0))break;if(((Ke=y.suspendedLanes)&Y)!==Y){Yc(),y.pingedLanes|=y.suspendedLanes&Ke;break}y.timeoutHandle=Qt(Zp.bind(null,y),be);break}Zp(y);break;case 4:if(wp(y,Y),(4186112&Y)===Y)break;for(be=y.eventTimes,Ke=-1;0<Y;){var _n=31-vl(Y);xt=1<<_n,(_n=be[_n])>Ke&&(Ke=_n),Y&=~xt}if(Y=Ke,10<(Y=(120>(Y=Se()-Y)?120:480>Y?480:1080>Y?1080:1920>Y?1920:3e3>Y?3e3:4320>Y?4320:1960*Td(Y/1960))-Y)){y.timeoutHandle=Qt(Zp.bind(null,y),Y);break}Zp(y);break;default:throw Error(u(329))}}return wd(y,Se()),y.callbackNode===x?w_.bind(null,y):null}function wp(y,x){for(x&=~Ff,y.suspendedLanes|=x&=~Mc,y.pingedLanes&=~x,y=y.expirationTimes;0<x;){var Y=31-vl(x),be=1<<Y;y[Y]=-1,x&=~be}}function Rh(y){if(48&Ta)throw Error(u(327));if(_p(),y===fd&&y.expiredLanes&Zs){var x=Zs,Y=P_(y,x);yf&Mc&&(Y=P_(y,x=Xi(y,x)))}else Y=P_(y,x=Xi(y,0));if(0!==y.tag&&2===Y&&(Ta|=64,y.hydrate&&(y.hydrate=!1,Er(y.containerInfo)),0!==(x=ws(y))&&(Y=P_(y,x))),1===Y)throw Y=D_,Vp(y,0),wp(y,x),wd(y,Se()),Y;return y.finishedWork=y.current.alternate,y.finishedLanes=x,Zp(y),wd(y,Se()),null}function pp(y,x){var Y=Ta;Ta|=1;try{return y(x)}finally{0===(Ta=Y)&&(Vf(),un())}}function Xh(y,x){var Y=Ta;Ta&=-2,Ta|=8;try{return y(x)}finally{0===(Ta=Y)&&(Vf(),un())}}function Ef(y,x){al(p_,vf),vf|=x,yf|=x}function Sf(){vf=p_.current,La(p_)}function Vp(y,x){y.finishedWork=null,y.finishedLanes=0;var Y=y.timeoutHandle;if(-1!==Y&&(y.timeoutHandle=-1,Gn(Y)),null!==Tc)for(Y=Tc.return;null!==Y;){var be=Y;switch(be.tag){case 1:null!=(be=be.type.childContextTypes)&&Va();break;case 3:Nl(),La(Tu),La(xa),Ur();break;case 5:ac(be);break;case 4:Nl();break;case 13:case 19:La(wa);break;case 10:pc(be);break;case 23:case 24:Sf()}Y=Y.return}fd=y,Tc=Np(y.current,null),Zs=vf=yf=x,Cc=0,D_=null,Ff=Mc=cp=0}function xh(y,x){for(;;){var Y=Tc;try{if(Wu(),Gi.current=Rd,_c){for(var be=ka.memoizedState;null!==be;){var Ke=be.queue;null!==Ke&&(Ke.pending=null),be=be.next}_c=!1}if(Ka=0,rc=nu=ka=null,T_=!1,zp.current=null,null===Y||null===Y.return){Cc=1,D_=x,Tc=null;break}e:{var xt=y,_n=Y.return,In=Y,vr=x;if(x=Zs,In.flags|=2048,In.firstEffect=In.lastEffect=null,null!==vr&&"object"==typeof vr&&"function"==typeof vr.then){var Si=vr;if(!(2&In.mode)){var Uo=In.alternate;Uo?(In.updateQueue=Uo.updateQueue,In.memoizedState=Uo.memoizedState,In.lanes=Uo.lanes):(In.updateQueue=null,In.memoizedState=null)}var Ds=0!=(1&wa.current),Qi=_n;do{var Ls;if(Ls=13===Qi.tag){var ia=Qi.memoizedState;if(null!==ia)Ls=null!==ia.dehydrated;else{var oa=Qi.memoizedProps;Ls=void 0!==oa.fallback&&(!0!==oa.unstable_avoidThisFallback||!Ds)}}if(Ls){var di=Qi.updateQueue;if(null===di){var Wr=new Set;Wr.add(Si),Qi.updateQueue=Wr}else di.add(Si);if(!(2&Qi.mode)){if(Qi.flags|=64,In.flags|=16384,In.flags&=-2981,1===In.tag)if(null===In.alternate)In.tag=17;else{var si=b(-1,1);si.tag=2,N(In,si)}In.lanes|=1;break e}vr=void 0,In=x;var no=xt.pingCache;if(null===no?(no=xt.pingCache=new Oh).set(Si,vr=new Set):void 0===(vr=no.get(Si))&&no.set(Si,vr=new Set),!vr.has(In)){vr.add(In);var vo=nm.bind(null,xt,Si,In);Si.then(vo,vo)}Qi.flags|=4096,Qi.lanes=x;break e}Qi=Qi.return}while(null!==Qi);vr=Error((Qr(In.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Cc&&(Cc=2),vr=nf(vr,In),Qi=_n;do{switch(Qi.tag){case 3:xt=vr,Qi.flags|=4096,Qi.lanes|=x&=-x,k(Qi,Ap(0,xt,x));break e;case 1:xt=vr;var ll=Qi.stateNode;if(!(64&Qi.flags||"function"!=typeof Qi.type.getDerivedStateFromError&&(null===ll||"function"!=typeof ll.componentDidCatch||null!==lc&&lc.has(ll)))){Qi.flags|=4096,Qi.lanes|=x&=-x,k(Qi,A_(Qi,xt,x));break e}}Qi=Qi.return}while(null!==Qi)}I_(Y)}catch(Ia){x=Ia,Tc===Y&&null!==Y&&(Tc=Y=Y.return);continue}break}}function ah(){var y=gf.current;return gf.current=Rd,null===y?Rd:y}function P_(y,x){var Y=Ta;Ta|=16;var be=ah();for(fd===y&&Zs===x||Vp(y,x);;)try{qh();break}catch(Ke){xh(y,Ke)}if(Wu(),Ta=Y,gf.current=be,null!==Tc)throw Error(u(261));return fd=null,Zs=0,Cc}function qh(){for(;null!==Tc;)wh(Tc)}function N_(){for(;null!==Tc&&!Mu();)wh(Tc)}function wh(y){var x=im(y.alternate,y,vf);y.memoizedProps=y.pendingProps,null===x?I_(y):Tc=x,zp.current=null}function I_(y){var x=y;do{var Y=x.alternate;if(y=x.return,2048&x.flags){if(null!==(Y=Qh(x)))return Y.flags&=2047,void(Tc=Y);null!==y&&(y.firstEffect=y.lastEffect=null,y.flags|=2048)}else{if(null!==(Y=Nm(Y,x,vf)))return void(Tc=Y);if(24!==(Y=x).tag&&23!==Y.tag||null===Y.memoizedState||1073741824&vf||!(4&Y.mode)){for(var be=0,Ke=Y.child;null!==Ke;)be|=Ke.lanes|Ke.childLanes,Ke=Ke.sibling;Y.childLanes=be}null!==y&&!(2048&y.flags)&&(null===y.firstEffect&&(y.firstEffect=x.firstEffect),null!==x.lastEffect&&(null!==y.lastEffect&&(y.lastEffect.nextEffect=x.firstEffect),y.lastEffect=x.lastEffect),1<x.flags&&(null!==y.lastEffect?y.lastEffect.nextEffect=x:y.firstEffect=x,y.lastEffect=x))}if(null!==(x=x.sibling))return void(Tc=x);Tc=x=y}while(null!==x);0===Cc&&(Cc=5)}function Zp(y){var x=Ne();return Ye(99,Qc.bind(null,y,x)),null}function Qc(y,x){do{_p()}while(null!==Zf);if(48&Ta)throw Error(u(327));var Y=y.finishedWork;if(null===Y)return null;if(y.finishedWork=null,y.finishedLanes=0,Y===y.current)throw Error(u(177));y.callbackNode=null;var be=Y.lanes|Y.childLanes,Ke=be,xt=y.pendingLanes&~Ke;y.pendingLanes=Ke,y.suspendedLanes=0,y.pingedLanes=0,y.expiredLanes&=Ke,y.mutableReadLanes&=Ke,y.entangledLanes&=Ke,Ke=y.entanglements;for(var _n=y.eventTimes,In=y.expirationTimes;0<xt;){var vr=31-vl(xt),Si=1<<vr;Ke[vr]=0,_n[vr]=-1,In[vr]=-1,xt&=~Si}if(null!==kf&&!(24&be)&&kf.has(y)&&kf.delete(y),y===fd&&(Tc=fd=null,Zs=0),1<Y.flags?null!==Y.lastEffect?(Y.lastEffect.nextEffect=Y,be=Y.firstEffect):be=Y:be=Y.firstEffect,null!==be){if(Ke=Ta,Ta|=32,zp.current=null,De=yl,yi(_n=kc())){if("selectionStart"in _n)In={start:_n.selectionStart,end:_n.selectionEnd};else if((Si=(In=(In=_n.ownerDocument)&&In.defaultView||window).getSelection&&In.getSelection())&&0!==Si.rangeCount){In=Si.anchorNode,xt=Si.anchorOffset,vr=Si.focusNode,Si=Si.focusOffset;var Uo=0,Ds=-1,Qi=-1,Ls=0,ia=0,oa=_n,di=null;t:for(;;){for(var Wr;oa!==In||0!==xt&&3!==oa.nodeType||(Ds=Uo+xt),oa!==vr||0!==Si&&3!==oa.nodeType||(Qi=Uo+Si),3===oa.nodeType&&(Uo+=oa.nodeValue.length),null!==(Wr=oa.firstChild);)di=oa,oa=Wr;for(;;){if(oa===_n)break t;if(di===In&&++Ls===xt&&(Ds=Uo),di===vr&&++ia===Si&&(Qi=Uo),null!==(Wr=oa.nextSibling))break;di=(oa=di).parentNode}oa=Wr}In=-1===Ds||-1===Qi?null:{start:Ds,end:Qi}}else In=null;In=In||{start:0,end:0}}else In=null;Ve={focusedElem:_n,selectionRange:In},yl=!1,Rp=null,dp=!1,ra=be;do{try{em()}catch(Ia){if(null===ra)throw Error(u(330));Pp(ra,Ia),ra=ra.nextEffect}}while(null!==ra);Rp=null,ra=be;do{try{for(_n=y;null!==ra;){var si=ra.flags;if(16&si&&Fe(ra.stateNode,""),128&si){var no=ra.alternate;if(null!==no){var vo=no.ref;null!==vo&&("function"==typeof vo?vo(null):vo.current=null)}}switch(1038&si){case 2:zd(ra),ra.flags&=-3;break;case 6:zd(ra),ra.flags&=-3,up(ra.alternate,ra);break;case 1024:ra.flags&=-1025;break;case 1028:ra.flags&=-1025,up(ra.alternate,ra);break;case 4:up(ra.alternate,ra);break;case 8:Kh(_n,In=ra);var fl=In.alternate;th(In),null!==fl&&th(fl)}ra=ra.nextEffect}}catch(Ia){if(null===ra)throw Error(u(330));Pp(ra,Ia),ra=ra.nextEffect}}while(null!==ra);if(vo=Ve,no=kc(),_n=vo.selectionRange,no!==(si=vo.focusedElem)&&si&&si.ownerDocument&&ad(si.ownerDocument.documentElement,si)){for((null!==_n&&yi(si)&&(no=_n.start,void 0===(vo=_n.end)&&(vo=no),"selectionStart"in si?(si.selectionStart=no,si.selectionEnd=Math.min(vo,si.value.length)):(vo=(no=si.ownerDocument||document)&&no.defaultView||window).getSelection&&(vo=vo.getSelection(),In=si.textContent.length,fl=Math.min(_n.start,In),_n=void 0===_n.end?fl:Math.min(_n.end,In),!vo.extend&&fl>_n&&(In=_n,_n=fl,fl=In),In=Xc(si,fl),xt=Xc(si,_n),In&&xt&&(1!==vo.rangeCount||vo.anchorNode!==In.node||vo.anchorOffset!==In.offset||vo.focusNode!==xt.node||vo.focusOffset!==xt.offset)&&((no=no.createRange()).setStart(In.node,In.offset),vo.removeAllRanges(),fl>_n?(vo.addRange(no),vo.extend(xt.node,xt.offset)):(no.setEnd(xt.node,xt.offset),vo.addRange(no))))),no=[],vo=si);vo=vo.parentNode;)1===vo.nodeType&&no.push({element:vo,left:vo.scrollLeft,top:vo.scrollTop});for("function"==typeof si.focus&&si.focus(),si=0;si<no.length;si++)(vo=no[si]).element.scrollLeft=vo.left,vo.element.scrollTop=vo.top}yl=!!De,Ve=De=null,y.current=Y,ra=be;do{try{for(si=y;null!==ra;){var Us=ra.flags;if(36&Us&&Yp(si,ra.alternate,ra),128&Us){no=void 0;var ll=ra.ref;if(null!==ll)no=ra.stateNode,"function"==typeof ll?ll(no):ll.current=no}ra=ra.nextEffect}}catch(Ia){if(null===ra)throw Error(u(330));Pp(ra,Ia),ra=ra.nextEffect}}while(null!==ra);ra=null,xf(),Ta=Ke}else y.current=Y;if(Ku)Ku=!1,Zf=y,Vd=x;else for(ra=be;null!==ra;)x=ra.nextEffect,ra.nextEffect=null,8&ra.flags&&((Us=ra).sibling=null,Us.stateNode=null),ra=x;if(0===(be=y.pendingLanes)&&(lc=null),1===be?y===R_?rf++:(rf=0,R_=y):rf=0,Y=Y.stateNode,ud&&"function"==typeof ud.onCommitFiberRoot)try{ud.onCommitFiberRoot(Vu,Y,void 0,64==(64&Y.current.flags))}catch{}if(wd(y,Se()),rh)throw rh=!1,y=ih,ih=null,y;return 8&Ta||un(),null}function em(){for(;null!==ra;){var y=ra.alternate;dp||null===Rp||(8&ra.flags?bn(ra,Rp)&&(dp=!0):13===ra.tag&&jp(y,ra)&&bn(ra,Rp)&&(dp=!0));var x=ra.flags;256&x&&If(y,ra),!(512&x)||Ku||(Ku=!0,Mt(97,function(){return _p(),null})),ra=ra.nextEffect}}function _p(){if(90!==Vd){var y=97<Vd?97:Vd;return Vd=90,Ye(y,tm)}return!1}function lh(y,x){Wf.push(x,y),Ku||(Ku=!0,Mt(97,function(){return _p(),null}))}function F_(y,x){h_.push(x,y),Ku||(Ku=!0,Mt(97,function(){return _p(),null}))}function tm(){if(null===Zf)return!1;var y=Zf;if(Zf=null,48&Ta)throw Error(u(331));var x=Ta;Ta|=32;var Y=h_;h_=[];for(var be=0;be<Y.length;be+=2){var Ke=Y[be],xt=Y[be+1],_n=Ke.destroy;if(Ke.destroy=void 0,"function"==typeof _n)try{_n()}catch(vr){if(null===xt)throw Error(u(330));Pp(xt,vr)}}for(Y=Wf,Wf=[],be=0;be<Y.length;be+=2){Ke=Y[be],xt=Y[be+1];try{var In=Ke.create;Ke.destroy=In()}catch(vr){if(null===xt)throw Error(u(330));Pp(xt,vr)}}for(In=y.current.firstEffect;null!==In;)y=In.nextEffect,In.nextEffect=null,8&In.flags&&(In.sibling=null,In.stateNode=null),In=y;return Ta=x,un(),!0}function Ph(y,x,Y){N(y,x=Ap(0,x=nf(Y,x),1)),x=Yc(),null!==(y=xp(y,1))&&(Ll(y,1,x),wd(y,x))}function Pp(y,x){if(3===y.tag)Ph(y,y,x);else for(var Y=y.return;null!==Y;){if(3===Y.tag){Ph(Y,y,x);break}if(1===Y.tag){var be=Y.stateNode;if("function"==typeof Y.type.getDerivedStateFromError||"function"==typeof be.componentDidCatch&&(null===lc||!lc.has(be))){var Ke=A_(Y,y=nf(x,y),1);if(N(Y,Ke),Ke=Yc(),null!==(Y=xp(Y,1)))Ll(Y,1,Ke),wd(Y,Ke);else if("function"==typeof be.componentDidCatch&&(null===lc||!lc.has(be)))try{be.componentDidCatch(x,y)}catch{}break}}Y=Y.return}}function nm(y,x,Y){var be=y.pingCache;null!==be&&be.delete(x),x=Yc(),y.pingedLanes|=y.suspendedLanes&Y,fd===y&&(Zs&Y)===Y&&(4===Cc||3===Cc&&(62914560&Zs)===Zs&&500>Se()-Lf?Vp(y,0):Ff|=Y),wd(y,x)}function rm(y,x){var Y=y.stateNode;null!==Y&&Y.delete(x),0==(x=0)&&(2&(x=y.mode)?4&x?(0===Jf&&(Jf=yf),0===(x=qs(62914560&~Jf))&&(x=4194304)):x=99===Ne()?1:2:x=1),Y=Yc(),null!==(y=xp(y,x))&&(Ll(y,x,Y),wd(y,Y))}function Im(y,x,Y,be){this.tag=y,this.key=Y,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=x,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=be,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function vd(y,x,Y,be){return new Im(y,x,Y,be)}function uh(y){return!(!(y=y.prototype)||!y.isReactComponent)}function Np(y,x){var Y=y.alternate;return null===Y?((Y=vd(y.tag,x,y.key,y.mode)).elementType=y.elementType,Y.type=y.type,Y.stateNode=y.stateNode,Y.alternate=y,y.alternate=Y):(Y.pendingProps=x,Y.type=y.type,Y.flags=0,Y.nextEffect=null,Y.firstEffect=null,Y.lastEffect=null),Y.childLanes=y.childLanes,Y.lanes=y.lanes,Y.child=y.child,Y.memoizedProps=y.memoizedProps,Y.memoizedState=y.memoizedState,Y.updateQueue=y.updateQueue,Y.dependencies=null===(x=y.dependencies)?null:{lanes:x.lanes,firstContext:x.firstContext},Y.sibling=y.sibling,Y.index=y.index,Y.ref=y.ref,Y}function ch(y,x,Y,be,Ke,xt){var _n=2;if(be=y,"function"==typeof y)uh(y)&&(_n=1);else if("string"==typeof y)_n=5;else e:switch(y){case ge:return Cd(Y.children,Ke,xt,x);case pn:_n=8,Ke|=16;break;case Et:_n=8,Ke|=1;break;case ot:return(y=vd(12,Y,x,8|Ke)).elementType=ot,y.type=ot,y.lanes=xt,y;case We:return(y=vd(13,Y,x,Ke)).type=We,y.elementType=We,y.lanes=xt,y;case Le:return(y=vd(19,Y,x,Ke)).elementType=Le,y.lanes=xt,y;case Rn:return om(Y,Ke,xt,x);case At:return(y=vd(24,Y,x,Ke)).elementType=At,y.lanes=xt,y;default:if("object"==typeof y&&null!==y)switch(y.$$typeof){case ct:_n=10;break e;case qe:_n=9;break e;case He:_n=11;break e;case Pt:_n=14;break e;case it:_n=16,be=null;break e;case Xt:_n=22;break e}throw Error(u(130,null==y?y:typeof y,""))}return(x=vd(_n,Y,x,Ke)).elementType=y,x.type=be,x.lanes=xt,x}function Cd(y,x,Y,be){return(y=vd(7,y,be,x)).lanes=Y,y}function om(y,x,Y,be){return(y=vd(23,y,be,x)).elementType=Rn,y.lanes=Y,y}function Nh(y,x,Y){return(y=vd(6,y,null,x)).lanes=Y,y}function Ih(y,x,Y){return(x=vd(4,null!==y.children?y.children:[],y.key,x)).lanes=Y,x.stateNode={containerInfo:y.containerInfo,pendingChildren:null,implementation:y.implementation},x}function Fh(y,x,Y){this.tag=x,this.containerInfo=y,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=Y,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Js(0),this.expirationTimes=Js(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Js(0),this.mutableSourceEagerHydrationData=null}function L_(y,x,Y,be){var Ke=x.current,xt=Yc(),_n=sf(Ke);e:if(Y){t:{if(Po(Y=Y._reactInternals)!==Y||1!==Y.tag)throw Error(u(170));var In=Y;do{switch(In.tag){case 3:In=In.stateNode.context;break t;case 1:if(za(In.type)){In=In.stateNode.__reactInternalMemoizedMergedChildContext;break t}}In=In.return}while(null!==In);throw Error(u(171))}if(1===Y.tag){var vr=Y.type;if(za(vr)){Y=Cu(Y,vr,In);break e}}Y=In}else Y=rl;return null===x.context?x.context=Y:x.pendingContext=Y,(x=b(xt,_n)).payload={element:y},null!==(be=void 0===be?null:be)&&(x.callback=be),N(Ke,x),fp(Ke,_n,xt),_n}function I(y){return(y=y.current).child?y.child.stateNode:null}function re(y,x){if(null!==(y=y.memoizedState)&&null!==y.dehydrated){var Y=y.retryLane;y.retryLane=0!==Y&&Y<x?Y:x}}function S(y,x){re(y,x),(y=y.alternate)&&re(y,x)}function Oe(y,x,Y){var be=null!=Y&&null!=Y.hydrationOptions&&Y.hydrationOptions.mutableSources||null;if(Y=new Fh(y,x,null!=Y&&!0===Y.hydrate),x=vd(3,null,null,2===x?7:1===x?3:0),Y.current=x,x.stateNode=Y,Ed(x),y[Ul]=Y.current,Vs(8===y.nodeType?y.parentNode:y),be)for(y=0;y<be.length;y++){var Ke=(x=be[y])._getVersion;Ke=Ke(x._source),null==Y.mutableSourceEagerHydrationData?Y.mutableSourceEagerHydrationData=[x,Ke]:Y.mutableSourceEagerHydrationData.push(x,Ke)}this._internalRoot=Y}function ut(y){return!(!y||1!==y.nodeType&&9!==y.nodeType&&11!==y.nodeType&&(8!==y.nodeType||" react-mount-point-unstable "!==y.nodeValue))}function Ar(y,x,Y,be,Ke){var xt=Y._reactRootContainer;if(xt){var _n=xt._internalRoot;if("function"==typeof Ke){var In=Ke;Ke=function(){var Si=I(_n);In.call(Si)}}L_(x,_n,y,Ke)}else{if(xt=Y._reactRootContainer=function On(y,x){if(x||(x=!(!(x=y?9===y.nodeType?y.documentElement:y.firstChild:null)||1!==x.nodeType||!x.hasAttribute("data-reactroot"))),!x)for(var Y;Y=y.lastChild;)y.removeChild(Y);return new Oe(y,0,x?{hydrate:!0}:void 0)}(Y,be),_n=xt._internalRoot,"function"==typeof Ke){var vr=Ke;Ke=function(){var Si=I(_n);vr.call(Si)}}Xh(function(){L_(x,_n,y,Ke)})}return I(_n)}function ri(y,x){var Y=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ut(x))throw Error(u(200));return function cg(y,x,Y){var be=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:$e,key:null==be?null:""+be,children:y,containerInfo:x,implementation:Y}}(y,x,null,Y)}im=function(y,x,Y){var be=x.lanes;if(null!==y)if(y.memoizedProps!==x.pendingProps||Tu.current)xd=!0;else{if(!(Y&be)){switch(xd=!1,x.tag){case 3:vm(x),$t();break;case 5:Qu(x);break;case 1:za(x.type)&&ld(x);break;case 4:dl(x,x.stateNode.containerInfo);break;case 10:be=x.memoizedProps.value;var Ke=x.type._context;al(Wo,Ke._currentValue),Ke._currentValue=be;break;case 13:if(null!==x.memoizedState)return Y&x.child.childLanes?Ch(y,x,Y):(al(wa,1&wa.current),null!==(x=hf(y,x,Y))?x.sibling:null);al(wa,1&wa.current);break;case 19:if(be=0!=(Y&x.childLanes),64&y.flags){if(be)return Mp(y,x,Y);x.flags|=64}if(null!==(Ke=x.memoizedState)&&(Ke.rendering=null,Ke.tail=null,Ke.lastEffect=null),al(wa,wa.current),be)break;return null;case 23:case 24:return x.lanes=0,Q_(y,x,Y)}return hf(y,x,Y)}xd=!!(16384&y.flags)}else xd=!1;switch(x.lanes=0,x.tag){case 2:if(be=x.type,null!==y&&(y.alternate=null,x.alternate=null,x.flags|=2),y=x.pendingProps,Ke=Pu(x,xa.current),Ju(x,Y),Ke=bh(null,x,be,y,Ke,Y),x.flags|=1,"object"==typeof Ke&&null!==Ke&&"function"==typeof Ke.render&&void 0===Ke.$$typeof){if(x.tag=1,x.memoizedState=null,x.updateQueue=null,za(be)){var xt=!0;ld(x)}else xt=!1;x.memoizedState=null!=Ke.state?Ke.state:null,Ed(x);var _n=be.getDerivedStateFromProps;"function"==typeof _n&&Qe(x,be,_n,y),Ke.updater=Re,x.stateNode=Ke,Ke._reactInternals=x,Cn(x,be,y,Y),x=Th(null,x,be,!0,xt,Y)}else x.tag=0,bc(null,x,Ke,Y),x=x.child;return x;case 16:Ke=x.elementType;e:{switch(null!==y&&(y.alternate=null,x.alternate=null,x.flags|=2),y=x.pendingProps,Ke=(xt=Ke._init)(Ke._payload),x.type=Ke,xt=x.tag=function ym(y){if("function"==typeof y)return uh(y)?1:0;if(null!=y){if((y=y.$$typeof)===He)return 11;if(y===Pt)return 14}return 2}(Ke),y=zi(Ke,y),xt){case 0:x=X_(null,x,Ke,y,Y);break e;case 1:x=q_(null,x,Ke,y,Y);break e;case 11:x=J_(null,x,Ke,y,Y);break e;case 14:x=Gp(null,x,Ke,zi(Ke.type,y),be,Y);break e}throw Error(u(306,Ke,""))}return x;case 0:return Ke=x.pendingProps,X_(y,x,be=x.type,Ke=x.elementType===be?Ke:zi(be,Ke),Y);case 1:return Ke=x.pendingProps,q_(y,x,be=x.type,Ke=x.elementType===be?Ke:zi(be,Ke),Y);case 3:if(vm(x),be=x.updateQueue,null===y||null===be)throw Error(u(282));if(be=x.pendingProps,Ke=null!==(Ke=x.memoizedState)?Ke.element:null,h(y,x),ne(x,be,null,Y),(be=x.memoizedState.element)===Ke)$t(),x=hf(y,x,Y);else{if((xt=(Ke=x.stateNode).hydrate)&&(Gc=Nr(x.stateNode.containerInfo.firstChild),yc=x,xt=xc=!0),xt){if(null!=(y=Ke.mutableSourceEagerHydrationData))for(Ke=0;Ke<y.length;Ke+=2)(xt=y[Ke])._workInProgressVersionPrimary=y[Ke+1],yn.push(xt);for(Y=As(x,null,be,Y),x.child=Y;Y;)Y.flags=-3&Y.flags|1024,Y=Y.sibling}else bc(y,x,be,Y),$t();x=x.child}return x;case 5:return Qu(x),null===y&&ee(x),xt=null!==y?y.memoizedProps:null,_n=(Ke=x.pendingProps).children,zt(be=x.type,Ke)?_n=null:null!==xt&&zt(be,xt)&&(x.flags|=16),K_(y,x),bc(y,x,_n,Y),x.child;case 6:return null===y&&ee(x),null;case 13:return Ch(y,x,Y);case 4:return dl(x,x.stateNode.containerInfo),be=x.pendingProps,null===y?x.child=uo(x,null,be,Y):bc(y,x,be,Y),x.child;case 11:return Ke=x.pendingProps,J_(y,x,be=x.type,Ke=x.elementType===be?Ke:zi(be,Ke),Y);case 7:return bc(y,x,x.pendingProps,Y),x.child;case 8:case 12:return bc(y,x,x.pendingProps.children,Y),x.child;case 10:e:{be=x.type._context,_n=x.memoizedProps,xt=(Ke=x.pendingProps).value;var In=x.type._context;if(al(Wo,In._currentValue),In._currentValue=xt,null!==_n)if(0==(xt=zo(In=_n.value,xt)?0:0|("function"==typeof be._calculateChangedBits?be._calculateChangedBits(In,xt):1073741823))){if(_n.children===Ke.children&&!Tu.current){x=hf(y,x,Y);break e}}else for(null!==(In=x.child)&&(In.return=x);null!==In;){var vr=In.dependencies;if(null!==vr){_n=In.child;for(var Si=vr.firstContext;null!==Si;){if(Si.context===be&&Si.observedBits&xt){1===In.tag&&((Si=b(-1,Y&-Y)).tag=2,N(In,Si)),In.lanes|=Y,null!==(Si=In.alternate)&&(Si.lanes|=Y),cd(In.return,Y),vr.lanes|=Y;break}Si=Si.next}}else _n=10===In.tag&&In.type===x.type?null:In.child;if(null!==_n)_n.return=In;else for(_n=In;null!==_n;){if(_n===x){_n=null;break}if(null!==(In=_n.sibling)){In.return=_n.return,_n=In;break}_n=_n.return}In=_n}bc(y,x,Ke.children,Y),x=x.child}return x;case 9:return Ke=x.type,be=(xt=x.pendingProps).children,Ju(x,Y),be=be(Ke=tc(Ke,xt.unstable_observedBits)),x.flags|=1,bc(y,x,be,Y),x.child;case 14:return xt=zi(Ke=x.type,x.pendingProps),Gp(y,x,Ke,xt=zi(Ke.type,xt),be,Y);case 15:return a_(y,x,x.type,x.pendingProps,be,Y);case 17:return Ke=x.pendingProps,Ke=x.elementType===(be=x.type)?Ke:zi(be,Ke),null!==y&&(y.alternate=null,x.alternate=null,x.flags|=2),x.tag=1,za(be)?(y=!0,ld(x)):y=!1,Ju(x,Y),wt(x,be,Ke),Cn(x,be,Ke,Y),Th(null,x,be,!0,y,Y);case 19:return Mp(y,x,Y);case 23:case 24:return Q_(y,x,Y)}throw Error(u(156,x.tag))},Oe.prototype.render=function(y){L_(y,this._internalRoot,null,null)},Oe.prototype.unmount=function(){var y=this._internalRoot,x=y.containerInfo;L_(null,y,null,function(){x[Ul]=null})},Bn=function(y){13===y.tag&&(fp(y,4,Yc()),S(y,4))},ci=function(y){13===y.tag&&(fp(y,67108864,Yc()),S(y,67108864))},_o=function(y){if(13===y.tag){var x=Yc(),Y=sf(y);fp(y,Y,x),S(y,Y)}},go=function(y,x){return x()},gr=function(y,x,Y){switch(x){case"input":if(Wi(y,Y),x=Y.name,"radio"===Y.type&&null!=x){for(Y=y;Y.parentNode;)Y=Y.parentNode;for(Y=Y.querySelectorAll("input[name="+JSON.stringify(""+x)+'][type="radio"]'),x=0;x<Y.length;x++){var be=Y[x];if(be!==y&&be.form===y.form){var Ke=fu(be);if(!Ke)throw Error(u(90));Tt(be),Wi(be,Ke)}}}break;case"textarea":po(y,Y);break;case"select":null!=(x=Y.value)&&mr(y,!!Y.multiple,x,!1)}},nr=pp,Zt=function(y,x,Y,be,Ke){var xt=Ta;Ta|=4;try{return Ye(98,y.bind(null,x,Y,be,Ke))}finally{0===(Ta=xt)&&(Vf(),un())}},dn=function(){!(49&Ta)&&(function sh(){if(null!==kf){var y=kf;kf=null,y.forEach(function(x){x.expiredLanes|=24&x.pendingLanes,wd(x,Se())})}un()}(),_p())},Ge=function(y,x){var Y=Ta;Ta|=2;try{return y(x)}finally{0===(Ta=Y)&&(Vf(),un())}};var Di={Events:[wu,Rc,fu,tr,Zn,_p,{current:!1}]},Pi={findFiberByHostInstance:mu,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},cs={bundleType:Pi.bundleType,version:Pi.version,rendererPackageName:Pi.rendererPackageName,rendererConfig:Pi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:fe.ReactCurrentDispatcher,findHostInstanceByFiber:function(y){return null===(y=Vt(y))?null:y.stateNode},findFiberByHostInstance:Pi.findFiberByHostInstance||function z(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Yo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yo.isDisabled&&Yo.supportsFiber)try{Vu=Yo.inject(cs),ud=Yo}catch{}}C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Di,C.createPortal=ri,C.findDOMNode=function(y){if(null==y)return null;if(1===y.nodeType)return y;var x=y._reactInternals;if(void 0===x)throw"function"==typeof y.render?Error(u(188)):Error(u(268,Object.keys(y)));return null===(y=Vt(x))?null:y.stateNode},C.flushSync=function(y,x){var Y=Ta;if(48&Y)return y(x);Ta|=1;try{if(y)return Ye(99,y.bind(null,x))}finally{Ta=Y,un()}},C.hydrate=function(y,x,Y){if(!ut(x))throw Error(u(200));return Ar(null,y,x,!0,Y)},C.render=function(y,x,Y){if(!ut(x))throw Error(u(200));return Ar(null,y,x,!1,Y)},C.unmountComponentAtNode=function(y){if(!ut(y))throw Error(u(40));return!!y._reactRootContainer&&(Xh(function(){Ar(null,null,y,!1,function(){y._reactRootContainer=null,y[Ul]=null})}),!0)},C.unstable_batchedUpdates=pp,C.unstable_createPortal=function(y,x){return ri(y,x,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},C.unstable_renderSubtreeIntoContainer=function(y,x,Y,be){if(!ut(Y))throw Error(u(200));if(null==y||void 0===y._reactInternals)throw Error(u(38));return Ar(y,x,Y,!1,be)},C.version="17.0.2"},88768:(E,C,s)=>{"use strict";(function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(a){console.error(a)}})(),E.exports=s(85503)},14395:(E,C,s)=>{"use strict";var c,r=s(55004),a="<<anonymous>>",u=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};u.isRequired=u;var e=function(){return u};function M(ge,Et){return function T(ge,Et){return function m(ge){function Et(ct,qe,He,We,Le,Pt){for(var it=arguments.length,Xt=Array(it>6?it-6:0),cn=6;cn<it;cn++)Xt[cn-6]=arguments[cn];return Pt=Pt||He,We=We||a,null!=qe[He]?ge.apply(void 0,[qe,He,We,Le,Pt].concat(Xt)):ct?new Error("Required "+Le+" `"+Pt+"` was not specified in `"+We+"`."):void 0}var ot=Et.bind(null,!1);return ot.isRequired=Et.bind(null,!0),ot}(function ot(ct,qe,He,We,Le){var Pt=ct[qe];if(!Et(Pt)){var it=function f(ge){var Et=typeof ge;return Array.isArray(ge)?"array":ge instanceof RegExp?"object":ge instanceof r.Iterable?"Immutable."+ge.toSource().split(" ")[0]:Et}(Pt);return new Error("Invalid "+We+" `"+Le+"` of type `"+it+"` supplied to `"+He+"`, expected `"+ge+"`.")}return null})}("Iterable."+ge,function(ot){return r.Iterable.isIterable(ot)&&Et(ot)})}(c={listOf:e,mapOf:e,orderedMapOf:e,setOf:e,orderedSetOf:e,stackOf:e,iterableOf:e,recordOf:e,shape:e,contains:e,mapContains:e,orderedMapContains:e,list:u,map:u,orderedMap:u,set:u,orderedSet:u,stack:u,seq:u,record:u,iterable:u}).iterable.indexed=M("Indexed",r.Iterable.isIndexed),c.iterable.keyed=M("Keyed",r.Iterable.isKeyed),E.exports=c},1422:(E,C)=>{"use strict";var r=60103,a=60106,c=60107,u=60108,e=60114,f=60109,m=60110,T=60112,M=60113,w=60120,D=60115,U=60116;if("function"==typeof Symbol&&Symbol.for){var de=Symbol.for;r=de("react.element"),a=de("react.portal"),c=de("react.fragment"),u=de("react.strict_mode"),e=de("react.profiler"),f=de("react.provider"),m=de("react.context"),T=de("react.forward_ref"),M=de("react.suspense"),w=de("react.suspense_list"),D=de("react.memo"),U=de("react.lazy"),de("react.block"),de("react.server.block"),de("react.fundamental"),de("react.debug_trace_mode"),de("react.legacy_hidden")}C.isContextConsumer=function(He){return function V(He){if("object"==typeof He&&null!==He){var We=He.$$typeof;switch(We){case r:switch(He=He.type){case c:case e:case u:case M:case w:return He;default:switch(He=He&&He.$$typeof){case m:case T:case U:case D:case f:return He;default:return We}}case a:return We}}}(He)===m}},56261:(E,C,s)=>{"use strict";E.exports=s(1422)},55429:(E,C,s)=>{"use strict";var r=s(18228),a=60103,c=60106;C.Fragment=60107,C.StrictMode=60108,C.Profiler=60114;var u=60109,e=60110,f=60112;C.Suspense=60113;var m=60115,T=60116;if("function"==typeof Symbol&&Symbol.for){var M=Symbol.for;a=M("react.element"),c=M("react.portal"),C.Fragment=M("react.fragment"),C.StrictMode=M("react.strict_mode"),C.Profiler=M("react.profiler"),u=M("react.provider"),e=M("react.context"),f=M("react.forward_ref"),C.Suspense=M("react.suspense"),m=M("react.memo"),T=M("react.lazy")}var w="function"==typeof Symbol&&Symbol.iterator;function U(it){for(var Xt="https://reactjs.org/docs/error-decoder.html?invariant="+it,cn=1;cn<arguments.length;cn++)Xt+="&args[]="+encodeURIComponent(arguments[cn]);return"Minified React error #"+it+"; visit "+Xt+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var W={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$={};function J(it,Xt,cn){this.props=it,this.context=Xt,this.refs=$,this.updater=cn||W}function F(){}function X(it,Xt,cn){this.props=it,this.context=Xt,this.refs=$,this.updater=cn||W}J.prototype.isReactComponent={},J.prototype.setState=function(it,Xt){if("object"!=typeof it&&"function"!=typeof it&&null!=it)throw Error(U(85));this.updater.enqueueSetState(this,it,Xt,"setState")},J.prototype.forceUpdate=function(it){this.updater.enqueueForceUpdate(this,it,"forceUpdate")},F.prototype=J.prototype;var de=X.prototype=new F;de.constructor=X,r(de,J.prototype),de.isPureReactComponent=!0;var V={current:null},ce=Object.prototype.hasOwnProperty,se={key:!0,ref:!0,__self:!0,__source:!0};function fe(it,Xt,cn){var pn,Rn={},At=null,qt=null;if(null!=Xt)for(pn in void 0!==Xt.ref&&(qt=Xt.ref),void 0!==Xt.key&&(At=""+Xt.key),Xt)ce.call(Xt,pn)&&!se.hasOwnProperty(pn)&&(Rn[pn]=Xt[pn]);var sn=arguments.length-2;if(1===sn)Rn.children=cn;else if(1<sn){for(var fn=Array(sn),xn=0;xn<sn;xn++)fn[xn]=arguments[xn+2];Rn.children=fn}if(it&&it.defaultProps)for(pn in sn=it.defaultProps)void 0===Rn[pn]&&(Rn[pn]=sn[pn]);return{$$typeof:a,type:it,key:At,ref:qt,props:Rn,_owner:V.current}}function $e(it){return"object"==typeof it&&null!==it&&it.$$typeof===a}var Et=/\/+/g;function ot(it,Xt){return"object"==typeof it&&null!==it&&null!=it.key?function ge(it){var Xt={"=":"=0",":":"=2"};return"$"+it.replace(/[=:]/g,function(cn){return Xt[cn]})}(""+it.key):Xt.toString(36)}function ct(it,Xt,cn,pn,Rn){var At=typeof it;("undefined"===At||"boolean"===At)&&(it=null);var qt=!1;if(null===it)qt=!0;else switch(At){case"string":case"number":qt=!0;break;case"object":switch(it.$$typeof){case a:case c:qt=!0}}if(qt)return Rn=Rn(qt=it),it=""===pn?"."+ot(qt,0):pn,Array.isArray(Rn)?(cn="",null!=it&&(cn=it.replace(Et,"$&/")+"/"),ct(Rn,Xt,cn,"",function(xn){return xn})):null!=Rn&&($e(Rn)&&(Rn=function Te(it,Xt){return{$$typeof:a,type:it.type,key:Xt,ref:it.ref,props:it.props,_owner:it._owner}}(Rn,cn+(!Rn.key||qt&&qt.key===Rn.key?"":(""+Rn.key).replace(Et,"$&/")+"/")+it)),Xt.push(Rn)),1;if(qt=0,pn=""===pn?".":pn+":",Array.isArray(it))for(var sn=0;sn<it.length;sn++){var fn=pn+ot(At=it[sn],sn);qt+=ct(At,Xt,cn,fn,Rn)}else if(fn=function D(it){return null===it||"object"!=typeof it?null:"function"==typeof(it=w&&it[w]||it["@@iterator"])?it:null}(it),"function"==typeof fn)for(it=fn.call(it),sn=0;!(At=it.next()).done;)qt+=ct(At=At.value,Xt,cn,fn=pn+ot(At,sn++),Rn);else if("object"===At)throw Xt=""+it,Error(U(31,"[object Object]"===Xt?"object with keys {"+Object.keys(it).join(", ")+"}":Xt));return qt}function qe(it,Xt,cn){if(null==it)return it;var pn=[],Rn=0;return ct(it,pn,"","",function(At){return Xt.call(cn,At,Rn++)}),pn}function He(it){if(-1===it._status){var Xt=it._result;Xt=Xt(),it._status=0,it._result=Xt,Xt.then(function(cn){0===it._status&&(cn=cn.default,it._status=1,it._result=cn)},function(cn){0===it._status&&(it._status=2,it._result=cn)})}if(1===it._status)return it._result;throw it._result}var We={current:null};function Le(){var it=We.current;if(null===it)throw Error(U(321));return it}var Pt={ReactCurrentDispatcher:We,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:V,IsSomeRendererActing:{current:!1},assign:r};C.Children={map:qe,forEach:function(it,Xt,cn){qe(it,function(){Xt.apply(this,arguments)},cn)},count:function(it){var Xt=0;return qe(it,function(){Xt++}),Xt},toArray:function(it){return qe(it,function(Xt){return Xt})||[]},only:function(it){if(!$e(it))throw Error(U(143));return it}},C.Component=J,C.PureComponent=X,C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Pt,C.cloneElement=function(it,Xt,cn){if(null==it)throw Error(U(267,it));var pn=r({},it.props),Rn=it.key,At=it.ref,qt=it._owner;if(null!=Xt){if(void 0!==Xt.ref&&(At=Xt.ref,qt=V.current),void 0!==Xt.key&&(Rn=""+Xt.key),it.type&&it.type.defaultProps)var sn=it.type.defaultProps;for(fn in Xt)ce.call(Xt,fn)&&!se.hasOwnProperty(fn)&&(pn[fn]=void 0===Xt[fn]&&void 0!==sn?sn[fn]:Xt[fn])}var fn=arguments.length-2;if(1===fn)pn.children=cn;else if(1<fn){sn=Array(fn);for(var xn=0;xn<fn;xn++)sn[xn]=arguments[xn+2];pn.children=sn}return{$$typeof:a,type:it.type,key:Rn,ref:At,props:pn,_owner:qt}},C.createContext=function(it,Xt){return void 0===Xt&&(Xt=null),(it={$$typeof:e,_calculateChangedBits:Xt,_currentValue:it,_currentValue2:it,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:u,_context:it},it.Consumer=it},C.createElement=fe,C.createFactory=function(it){var Xt=fe.bind(null,it);return Xt.type=it,Xt},C.createRef=function(){return{current:null}},C.forwardRef=function(it){return{$$typeof:f,render:it}},C.isValidElement=$e,C.lazy=function(it){return{$$typeof:T,_payload:{_status:-1,_result:it},_init:He}},C.memo=function(it,Xt){return{$$typeof:m,type:it,compare:void 0===Xt?null:Xt}},C.useCallback=function(it,Xt){return Le().useCallback(it,Xt)},C.useContext=function(it,Xt){return Le().useContext(it,Xt)},C.useDebugValue=function(){},C.useEffect=function(it,Xt){return Le().useEffect(it,Xt)},C.useImperativeHandle=function(it,Xt,cn){return Le().useImperativeHandle(it,Xt,cn)},C.useLayoutEffect=function(it,Xt){return Le().useLayoutEffect(it,Xt)},C.useMemo=function(it,Xt){return Le().useMemo(it,Xt)},C.useReducer=function(it,Xt,cn){return Le().useReducer(it,Xt,cn)},C.useRef=function(it){return Le().useRef(it)},C.useState=function(it){return Le().useState(it)},C.version="17.0.2"},78139:(E,C,s)=>{"use strict";E.exports=s(55429)},59882:(E,C,s)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0});var a=function u(e){return e&&e.__esModule?e:{default:e}}(s(55004)),c=s(11715);C.default=function(e){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.default.Map,m=Object.keys(e);return function(){var T=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f(),M=arguments[1];return T.withMutations(function(D){m.forEach(function(U){var J=(0,e[U])(D.get(U),M);(0,c.validateNextState)(J,U,M),D.set(U,J)})})}},E.exports=C.default},31208:(E,C,s)=>{"use strict";C.U=void 0;var c=function u(e){return e&&e.__esModule?e:{default:e}}(s(59882));C.U=c.default},46944:(E,C)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(s){return s&&"@@redux/INIT"===s.type?"initialState argument passed to createStore":"previous state received by the reducer"},E.exports=C.default},99319:(E,C,s)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0});var a=e(s(55004)),u=e(s(46944));function e(f){return f&&f.__esModule?f:{default:f}}C.default=function(f,m,T){var M=Object.keys(m);if(!M.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";var w=(0,u.default)(T);if(a.default.isImmutable?!a.default.isImmutable(f):!a.default.Iterable.isIterable(f))return"The "+w+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+M.join('", "')+'".';var D=f.toSeq().keySeq().toArray().filter(function(U){return!m.hasOwnProperty(U)});return D.length>0?"Unexpected "+(1===D.length?"property":"properties")+' "'+D.join('", "')+'" found in '+w+'. Expected to find one of the known reducer property names instead: "'+M.join('", "')+'". Unexpected properties will be ignored.':null},E.exports=C.default},11715:(E,C,s)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.validateNextState=C.getUnexpectedInvocationParameterMessage=C.getStateName=void 0;var a=m(s(46944)),u=m(s(99319)),f=m(s(95159));function m(T){return T&&T.__esModule?T:{default:T}}C.getStateName=a.default,C.getUnexpectedInvocationParameterMessage=u.default,C.validateNextState=f.default},95159:(E,C)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(s,r,a){if(void 0===s)throw new Error('Reducer "'+r+'" returned undefined when handling "'+a.type+'" action. To ignore an action, you must explicitly return the previous state.')},E.exports=C.default},88280:E=>{"use strict";var s,C="";E.exports=function r(a,c){if("string"!=typeof a)throw new TypeError("expected a string");if(1===c)return a;if(2===c)return a+a;var u=a.length*c;if(s!==a||typeof s>"u")s=a,C="";else if(C.length>=u)return C.substr(0,u);for(;u>C.length&&c>1;)1&c&&(C+=a),c>>=1,a+=a;return C=(C+=a).substr(0,u)}},90465:E=>{"use strict";E.exports=function(s,r){if(r=r.split(":")[0],!(s=+s))return!1;switch(r){case"http":case"ws":return 80!==s;case"https":case"wss":return 443!==s;case"ftp":return 21!==s;case"gopher":return 70!==s;case"file":return!1}return 0!==s}},66952:(E,C,s)=>{const r=s(18514),a=s(29394),c=s(87931),u=s(45899);E.exports=e=>{var m,T,f=0,M={type:a.ROOT,stack:[]},w=M,D=M.stack,U=[],W=fe=>{r.error(e,"Nothing to repeat at column "+(fe-1))},$=r.strToChars(e);for(m=$.length;f<m;)switch(T=$[f++],T){case"\\":switch(T=$[f++]){case"b":D.push(u.wordBoundary());break;case"B":D.push(u.nonWordBoundary());break;case"w":D.push(c.words());break;case"W":D.push(c.notWords());break;case"d":D.push(c.ints());break;case"D":D.push(c.notInts());break;case"s":D.push(c.whitespace());break;case"S":D.push(c.notWhitespace());break;default:/\d/.test(T)?D.push({type:a.REFERENCE,value:parseInt(T,10)}):D.push({type:a.CHAR,value:T.charCodeAt(0)})}break;case"^":D.push(u.begin());break;case"$":D.push(u.end());break;case"[":var J;"^"===$[f]?(J=!0,f++):J=!1;var F=r.tokenizeClass($.slice(f),e);f+=F[1],D.push({type:a.SET,set:F[0],not:J});break;case".":D.push(c.anyChar());break;case"(":var X={type:a.GROUP,stack:[],remember:!0};"?"===(T=$[f])&&(T=$[f+1],f+=2,"="===T?X.followedBy=!0:"!"===T?X.notFollowedBy=!0:":"!==T&&r.error(e,`Invalid group, character '${T}' after '?' at column ${f-1}`),X.remember=!1),D.push(X),U.push(w),w=X,D=X.stack;break;case")":0===U.length&&r.error(e,"Unmatched ) at column "+(f-1)),D=(w=U.pop()).options?w.options[w.options.length-1]:w.stack;break;case"|":w.options||(w.options=[w.stack],delete w.stack);var de=[];w.options.push(de),D=de;break;case"{":var ce,se,V=/^(\d+)(,(\d+)?)?\}/.exec($.slice(f));null!==V?(0===D.length&&W(f),ce=parseInt(V[1],10),se=V[2]?V[3]?parseInt(V[3],10):1/0:ce,f+=V[0].length,D.push({type:a.REPETITION,min:ce,max:se,value:D.pop()})):D.push({type:a.CHAR,value:123});break;case"?":0===D.length&&W(f),D.push({type:a.REPETITION,min:0,max:1,value:D.pop()});break;case"+":0===D.length&&W(f),D.push({type:a.REPETITION,min:1,max:1/0,value:D.pop()});break;case"*":0===D.length&&W(f),D.push({type:a.REPETITION,min:0,max:1/0,value:D.pop()});break;default:D.push({type:a.CHAR,value:T.charCodeAt(0)})}return 0!==U.length&&r.error(e,"Unterminated group"),M},E.exports.types=a},45899:(E,C,s)=>{const r=s(29394);C.wordBoundary=()=>({type:r.POSITION,value:"b"}),C.nonWordBoundary=()=>({type:r.POSITION,value:"B"}),C.begin=()=>({type:r.POSITION,value:"^"}),C.end=()=>({type:r.POSITION,value:"$"})},87931:(E,C,s)=>{const r=s(29394),a=()=>[{type:r.RANGE,from:48,to:57}],c=()=>[{type:r.CHAR,value:95},{type:r.RANGE,from:97,to:122},{type:r.RANGE,from:65,to:90}].concat(a()),u=()=>[{type:r.CHAR,value:9},{type:r.CHAR,value:10},{type:r.CHAR,value:11},{type:r.CHAR,value:12},{type:r.CHAR,value:13},{type:r.CHAR,value:32},{type:r.CHAR,value:160},{type:r.CHAR,value:5760},{type:r.RANGE,from:8192,to:8202},{type:r.CHAR,value:8232},{type:r.CHAR,value:8233},{type:r.CHAR,value:8239},{type:r.CHAR,value:8287},{type:r.CHAR,value:12288},{type:r.CHAR,value:65279}];C.words=()=>({type:r.SET,set:c(),not:!1}),C.notWords=()=>({type:r.SET,set:c(),not:!0}),C.ints=()=>({type:r.SET,set:a(),not:!1}),C.notInts=()=>({type:r.SET,set:a(),not:!0}),C.whitespace=()=>({type:r.SET,set:u(),not:!1}),C.notWhitespace=()=>({type:r.SET,set:u(),not:!0}),C.anyChar=()=>({type:r.SET,set:[{type:r.CHAR,value:10},{type:r.CHAR,value:13},{type:r.CHAR,value:8232},{type:r.CHAR,value:8233}],not:!0})},29394:E=>{E.exports={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}},18514:(E,C,s)=>{const r=s(29394),a=s(87931),u={0:0,t:9,n:10,v:11,f:12,r:13};C.strToChars=function(e){return e.replace(/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g,function(m,T,M,w,D,U,W,$){if(M)return m;var J=T?8:w?parseInt(w,16):D?parseInt(D,16):U?parseInt(U,8):W?"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?".indexOf(W):u[$],F=String.fromCharCode(J);return/[[\]{}^$.|?*+()]/.test(F)&&(F="\\"+F),F})},C.tokenizeClass=(e,f)=>{for(var M,w,m=[],T=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g;null!=(M=T.exec(e));)if(M[1])m.push(a.words());else if(M[2])m.push(a.ints());else if(M[3])m.push(a.whitespace());else if(M[4])m.push(a.notWords());else if(M[5])m.push(a.notInts());else if(M[6])m.push(a.notWhitespace());else if(M[7])m.push({type:r.RANGE,from:(M[8]||M[9]).charCodeAt(0),to:M[10].charCodeAt(0)});else{if(!(w=M[12]))return[m,T.lastIndex];m.push({type:r.CHAR,value:w.charCodeAt(0)})}C.error(f,"Unterminated character class")},C.error=(e,f)=>{throw new SyntaxError("Invalid regular expression: /"+e+"/: "+f)}},26215:(E,C,s)=>{"use strict";s.d(C,{X:()=>c});var r=s(79765),a=s(77971);class c extends r.xQ{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const f=super._subscribe(e);return f&&!f.closed&&e.next(this._value),f}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new a.N;return this._value}next(e){super.next(this._value=e)}}},23098:(E,C,s)=>{"use strict";s.d(C,{P:()=>e});var r=s(59193),a=s(25917),c=s(40205);class e{constructor(m,T,M){this.kind=m,this.value=T,this.error=M,this.hasValue="N"===m}observe(m){switch(this.kind){case"N":return m.next&&m.next(this.value);case"E":return m.error&&m.error(this.error);case"C":return m.complete&&m.complete()}}do(m,T,M){switch(this.kind){case"N":return m&&m(this.value);case"E":return T&&T(this.error);case"C":return M&&M()}}accept(m,T,M){return m&&"function"==typeof m.next?this.observe(m):this.do(m,T,M)}toObservable(){switch(this.kind){case"N":return(0,a.of)(this.value);case"E":return(0,c._)(this.error);case"C":return(0,r.c)()}throw new Error("unexpected notification kind value")}static createNext(m){return typeof m<"u"?new e("N",m):e.undefinedValueNotification}static createError(m){return new e("E",void 0,m)}static createComplete(){return e.completeNotification}}e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0)},70882:(E,C,s)=>{"use strict";s.d(C,{y:()=>M});var r=s(77393),c=s(29181),u=s(46490),f=s(16554),m=s(34022),T=s(82494);let M=(()=>{class D{constructor(W){this._isScalar=!1,W&&(this._subscribe=W)}lift(W){const $=new D;return $.source=this,$.operator=W,$}subscribe(W,$,J){const{operator:F}=this,X=function e(D,U,W){if(D){if(D instanceof r.L)return D;if(D[c.b])return D[c.b]()}return D||U||W?new r.L(D,U,W):new r.L(u.c)}(W,$,J);if(X.add(F?F.call(X,this.source):this.source||T.v.useDeprecatedSynchronousErrorHandling&&!X.syncErrorThrowable?this._subscribe(X):this._trySubscribe(X)),T.v.useDeprecatedSynchronousErrorHandling&&X.syncErrorThrowable&&(X.syncErrorThrowable=!1,X.syncErrorThrown))throw X.syncErrorValue;return X}_trySubscribe(W){try{return this._subscribe(W)}catch($){T.v.useDeprecatedSynchronousErrorHandling&&(W.syncErrorThrown=!0,W.syncErrorValue=$),function a(D){for(;D;){const{closed:U,destination:W,isStopped:$}=D;if(U||$)return!1;D=W&&W instanceof r.L?W:null}return!0}(W)?W.error($):console.warn($)}}forEach(W,$){return new($=w($))((J,F)=>{let X;X=this.subscribe(de=>{try{W(de)}catch(V){F(V),X&&X.unsubscribe()}},F,J)})}_subscribe(W){const{source:$}=this;return $&&$.subscribe(W)}[f.L](){return this}pipe(...W){return 0===W.length?this:(0,m.U)(W)(this)}toPromise(W){return new(W=w(W))(($,J)=>{let F;this.subscribe(X=>F=X,X=>J(X),()=>$(F))})}}return D.create=U=>new D(U),D})();function w(D){if(D||(D=T.v.Promise||Promise),!D)throw new Error("no Promise impl found");return D}},46490:(E,C,s)=>{"use strict";s.d(C,{c:()=>c});var r=s(82494),a=s(54449);const c={closed:!0,next(u){},error(u){if(r.v.useDeprecatedSynchronousErrorHandling)throw u;(0,a.z)(u)},complete(){}}},55197:(E,C,s)=>{"use strict";s.d(C,{L:()=>a});var r=s(77393);class a extends r.L{notifyNext(u,e,f,m,T){this.destination.next(e)}notifyError(u,e){this.destination.error(u)}notifyComplete(u){this.destination.complete()}}},7357:(E,C,s)=>{"use strict";s.d(C,{t:()=>U});var r=s(79765),a=s(23989),u=s(46493);const m=new class e extends u.v{}(class c extends a.o{constructor(J,F){super(J,F),this.scheduler=J,this.work=F}schedule(J,F=0){return F>0?super.schedule(J,F):(this.delay=F,this.state=J,this.scheduler.flush(this),this)}execute(J,F){return F>0||this.closed?super.execute(J,F):this._execute(J,F)}requestAsyncId(J,F,X=0){return null!==X&&X>0||null===X&&this.delay>0?super.requestAsyncId(J,F,X):J.flush(this)}});var T=s(13464),M=s(59746),w=s(77971),D=s(78858);class U extends r.xQ{constructor(J=Number.POSITIVE_INFINITY,F=Number.POSITIVE_INFINITY,X){super(),this.scheduler=X,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=J<1?1:J,this._windowTime=F<1?1:F,F===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(J){if(!this.isStopped){const F=this._events;F.push(J),F.length>this._bufferSize&&F.shift()}super.next(J)}nextTimeWindow(J){this.isStopped||(this._events.push(new W(this._getNow(),J)),this._trimBufferThenGetEvents()),super.next(J)}_subscribe(J){const F=this._infiniteTimeWindow,X=F?this._events:this._trimBufferThenGetEvents(),de=this.scheduler,V=X.length;let ce;if(this.closed)throw new w.N;if(this.isStopped||this.hasError?ce=T.w.EMPTY:(this.observers.push(J),ce=new D.W(this,J)),de&&J.add(J=new M.ht(J,de)),F)for(let se=0;se<V&&!J.closed;se++)J.next(X[se]);else for(let se=0;se<V&&!J.closed;se++)J.next(X[se].value);return this.hasError?J.error(this.thrownError):this.isStopped&&J.complete(),ce}_getNow(){return(this.scheduler||m).now()}_trimBufferThenGetEvents(){const J=this._getNow(),F=this._bufferSize,X=this._windowTime,de=this._events,V=de.length;let ce=0;for(;ce<V&&!(J-de[ce].time<X);)ce++;return V>F&&(ce=Math.max(ce,V-F)),ce>0&&de.splice(0,ce),de}}class W{constructor(J,F){this.time=J,this.value=F}}},79765:(E,C,s)=>{"use strict";s.d(C,{Yc:()=>m,xQ:()=>T});var r=s(70882),a=s(77393),c=s(13464),u=s(77971),e=s(78858),f=s(29181);class m extends a.L{constructor(D){super(D),this.destination=D}}let T=(()=>{class w extends r.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f.b](){return new m(this)}lift(U){const W=new M(this,this);return W.operator=U,W}next(U){if(this.closed)throw new u.N;if(!this.isStopped){const{observers:W}=this,$=W.length,J=W.slice();for(let F=0;F<$;F++)J[F].next(U)}}error(U){if(this.closed)throw new u.N;this.hasError=!0,this.thrownError=U,this.isStopped=!0;const{observers:W}=this,$=W.length,J=W.slice();for(let F=0;F<$;F++)J[F].error(U);this.observers.length=0}complete(){if(this.closed)throw new u.N;this.isStopped=!0;const{observers:U}=this,W=U.length,$=U.slice();for(let J=0;J<W;J++)$[J].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(U){if(this.closed)throw new u.N;return super._trySubscribe(U)}_subscribe(U){if(this.closed)throw new u.N;return this.hasError?(U.error(this.thrownError),c.w.EMPTY):this.isStopped?(U.complete(),c.w.EMPTY):(this.observers.push(U),new e.W(this,U))}asObservable(){const U=new r.y;return U.source=this,U}}return w.create=(D,U)=>new M(D,U),w})();class M extends T{constructor(D,U){super(),this.destination=D,this.source=U}next(D){const{destination:U}=this;U&&U.next&&U.next(D)}error(D){const{destination:U}=this;U&&U.error&&this.destination.error(D)}complete(){const{destination:D}=this;D&&D.complete&&this.destination.complete()}_subscribe(D){const{source:U}=this;return U?this.source.subscribe(D):c.w.EMPTY}}},78858:(E,C,s)=>{"use strict";s.d(C,{W:()=>a});var r=s(13464);class a extends r.w{constructor(u,e){super(),this.subject=u,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const u=this.subject,e=u.observers;if(this.subject=null,!e||0===e.length||u.isStopped||u.closed)return;const f=e.indexOf(this.subscriber);-1!==f&&e.splice(f,1)}}},77393:(E,C,s)=>{"use strict";s.d(C,{L:()=>m});var r=s(69105),a=s(46490),c=s(13464),u=s(29181),e=s(82494),f=s(54449);class m extends c.w{constructor(w,D,U){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.c;break;case 1:if(!w){this.destination=a.c;break}if("object"==typeof w){w instanceof m?(this.syncErrorThrowable=w.syncErrorThrowable,this.destination=w,w.add(this)):(this.syncErrorThrowable=!0,this.destination=new T(this,w));break}default:this.syncErrorThrowable=!0,this.destination=new T(this,w,D,U)}}[u.b](){return this}static create(w,D,U){const W=new m(w,D,U);return W.syncErrorThrowable=!1,W}next(w){this.isStopped||this._next(w)}error(w){this.isStopped||(this.isStopped=!0,this._error(w))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(w){this.destination.next(w)}_error(w){this.destination.error(w),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:w}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=w,this}}class T extends m{constructor(w,D,U,W){super(),this._parentSubscriber=w;let $,J=this;(0,r.m)(D)?$=D:D&&($=D.next,U=D.error,W=D.complete,D!==a.c&&(J=Object.create(D),(0,r.m)(J.unsubscribe)&&this.add(J.unsubscribe.bind(J)),J.unsubscribe=this.unsubscribe.bind(this))),this._context=J,this._next=$,this._error=U,this._complete=W}next(w){if(!this.isStopped&&this._next){const{_parentSubscriber:D}=this;e.v.useDeprecatedSynchronousErrorHandling&&D.syncErrorThrowable?this.__tryOrSetError(D,this._next,w)&&this.unsubscribe():this.__tryOrUnsub(this._next,w)}}error(w){if(!this.isStopped){const{_parentSubscriber:D}=this,{useDeprecatedSynchronousErrorHandling:U}=e.v;if(this._error)U&&D.syncErrorThrowable?(this.__tryOrSetError(D,this._error,w),this.unsubscribe()):(this.__tryOrUnsub(this._error,w),this.unsubscribe());else if(D.syncErrorThrowable)U?(D.syncErrorValue=w,D.syncErrorThrown=!0):(0,f.z)(w),this.unsubscribe();else{if(this.unsubscribe(),U)throw w;(0,f.z)(w)}}}complete(){if(!this.isStopped){const{_parentSubscriber:w}=this;if(this._complete){const D=()=>this._complete.call(this._context);e.v.useDeprecatedSynchronousErrorHandling&&w.syncErrorThrowable?(this.__tryOrSetError(w,D),this.unsubscribe()):(this.__tryOrUnsub(D),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(w,D){try{w.call(this._context,D)}catch(U){if(this.unsubscribe(),e.v.useDeprecatedSynchronousErrorHandling)throw U;(0,f.z)(U)}}__tryOrSetError(w,D,U){if(!e.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{D.call(this._context,U)}catch(W){return e.v.useDeprecatedSynchronousErrorHandling?(w.syncErrorValue=W,w.syncErrorThrown=!0,!0):((0,f.z)(W),!0)}return!1}_unsubscribe(){const{_parentSubscriber:w}=this;this._context=null,this._parentSubscriber=null,w.unsubscribe()}}},13464:(E,C,s)=>{"use strict";s.d(C,{w:()=>f});var r=s(59796),a=s(81555),c=s(69105);const e=(()=>{function T(M){return Error.call(this),this.message=M?`${M.length} errors occurred during unsubscription:\n${M.map((w,D)=>`${D+1}) ${w.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=M,this}return T.prototype=Object.create(Error.prototype),T})();class f{constructor(M){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,M&&(this._ctorUnsubscribe=!0,this._unsubscribe=M)}unsubscribe(){let M;if(this.closed)return;let{_parentOrParents:w,_ctorUnsubscribe:D,_unsubscribe:U,_subscriptions:W}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,w instanceof f)w.remove(this);else if(null!==w)for(let $=0;$<w.length;++$)w[$].remove(this);if((0,c.m)(U)){D&&(this._unsubscribe=void 0);try{U.call(this)}catch($){M=$ instanceof e?m($.errors):[$]}}if((0,r.k)(W)){let $=-1,J=W.length;for(;++$<J;){const F=W[$];if((0,a.K)(F))try{F.unsubscribe()}catch(X){M=M||[],X instanceof e?M=M.concat(m(X.errors)):M.push(X)}}}if(M)throw new e(M)}add(M){let w=M;if(!M)return f.EMPTY;switch(typeof M){case"function":w=new f(M);case"object":if(w===this||w.closed||"function"!=typeof w.unsubscribe)return w;if(this.closed)return w.unsubscribe(),w;if(!(w instanceof f)){const W=w;w=new f,w._subscriptions=[W]}break;default:throw new Error("unrecognized teardown "+M+" added to Subscription.")}let{_parentOrParents:D}=w;if(null===D)w._parentOrParents=this;else if(D instanceof f){if(D===this)return w;w._parentOrParents=[D,this]}else{if(-1!==D.indexOf(this))return w;D.push(this)}const U=this._subscriptions;return null===U?this._subscriptions=[w]:U.push(w),w}remove(M){const w=this._subscriptions;if(w){const D=w.indexOf(M);-1!==D&&w.splice(D,1)}}}var T;function m(T){return T.reduce((M,w)=>M.concat(w instanceof e?w.errors:w),[])}f.EMPTY=((T=new f).closed=!0,T)},82494:(E,C,s)=>{"use strict";s.d(C,{v:()=>a});let r=!1;const a={Promise:void 0,set useDeprecatedSynchronousErrorHandling(c){if(c){const u=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+u.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=c},get useDeprecatedSynchronousErrorHandling(){return r}}},85345:(E,C,s)=>{"use strict";s.d(C,{Ds:()=>f,IY:()=>u,ft:()=>T});var r=s(77393),a=s(70882),c=s(19846);class u extends r.L{constructor(w){super(),this.parent=w}_next(w){this.parent.notifyNext(w)}_error(w){this.parent.notifyError(w),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class f extends r.L{notifyNext(w){this.destination.next(w)}notifyError(w){this.destination.error(w)}notifyComplete(){this.destination.complete()}}function T(M,w){if(!w.closed)return M instanceof a.y?M.subscribe(w):(0,c.s)(M)(w)}},52441:(E,C,s)=>{"use strict";s.d(C,{N:()=>f,c:()=>e});var r=s(79765),a=s(70882),c=s(13464),u=s(51307);class e extends a.y{constructor(D,U){super(),this.source=D,this.subjectFactory=U,this._refCount=0,this._isComplete=!1}_subscribe(D){return this.getSubject().subscribe(D)}getSubject(){const D=this._subject;return(!D||D.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let D=this._connection;return D||(this._isComplete=!1,D=this._connection=new c.w,D.add(this.source.subscribe(new m(this.getSubject(),this))),D.closed&&(this._connection=null,D=c.w.EMPTY)),D}refCount(){return(0,u.x)()(this)}}const f=(()=>{const w=e.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:w._subscribe},_isComplete:{value:w._isComplete,writable:!0},getSubject:{value:w.getSubject},connect:{value:w.connect},refCount:{value:w.refCount}}})();class m extends r.Yc{constructor(D,U){super(D),this.connectable=U}_error(D){this._unsubscribe(),super._error(D)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const D=this.connectable;if(D){this.connectable=null;const U=D._connection;D._refCount=0,D._subject=null,D._connection=null,U&&U.unsubscribe()}}}},9112:(E,C,s)=>{"use strict";s.d(C,{aj:()=>m});var r=s(54869),a=s(59796),c=s(55197),u=s(53960),e=s(56693);const f={};function m(...w){let D,U;return(0,r.K)(w[w.length-1])&&(U=w.pop()),"function"==typeof w[w.length-1]&&(D=w.pop()),1===w.length&&(0,a.k)(w[0])&&(w=w[0]),(0,e.n)(w,U).lift(new T(D))}class T{constructor(D){this.resultSelector=D}call(D,U){return U.subscribe(new M(D,this.resultSelector))}}class M extends c.L{constructor(D,U){super(D),this.resultSelector=U,this.active=0,this.values=[],this.observables=[]}_next(D){this.values.push(f),this.observables.push(D)}_complete(){const D=this.observables,U=D.length;if(0===U)this.destination.complete();else{this.active=U,this.toRespond=U;for(let W=0;W<U;W++)this.add((0,u.D)(this,D[W],void 0,W))}}notifyComplete(D){0==(this.active-=1)&&this.destination.complete()}notifyNext(D,U,W){const $=this.values,F=this.toRespond?$[W]===f?--this.toRespond:this.toRespond:0;$[W]=U,0===F&&(this.resultSelector?this._tryResultSelector($):this.destination.next($.slice()))}_tryResultSelector(D){let U;try{U=this.resultSelector.apply(this,D)}catch(W){return void this.destination.error(W)}this.destination.next(U)}}},6481:(E,C,s)=>{"use strict";s.d(C,{z:()=>u});var r=s(25917),a=s(63282);function u(...e){return function c(){return(0,a.J)(1)}()((0,r.of)(...e))}},59193:(E,C,s)=>{"use strict";s.d(C,{E:()=>a,c:()=>c});var r=s(70882);const a=new r.y(e=>e.complete());function c(e){return e?function u(e){return new r.y(f=>e.schedule(()=>f.complete()))}(e):a}},35758:(E,C,s)=>{"use strict";s.d(C,{D:()=>f});var r=s(70882),a=s(59796),c=s(88002),u=s(81555),e=s(76666);function f(...T){if(1===T.length){const M=T[0];if((0,a.k)(M))return m(M,null);if((0,u.K)(M)&&Object.getPrototypeOf(M)===Object.prototype){const w=Object.keys(M);return m(w.map(D=>M[D]),w)}}if("function"==typeof T[T.length-1]){const M=T.pop();return m(T=1===T.length&&(0,a.k)(T[0])?T[0]:T,null).pipe((0,c.U)(w=>M(...w)))}return m(T,null)}function m(T,M){return new r.y(w=>{const D=T.length;if(0===D)return void w.complete();const U=new Array(D);let W=0,$=0;for(let J=0;J<D;J++){const F=(0,e.D)(T[J]);let X=!1;w.add(F.subscribe({next:de=>{X||(X=!0,$++),U[J]=de},error:de=>w.error(de),complete:()=>{W++,(W===D||!X)&&($===D&&w.next(M?M.reduce((de,V,ce)=>(de[V]=U[ce],de),{}):U),w.complete())}}))}})}},76666:(E,C,s)=>{"use strict";s.d(C,{D:()=>J});var r=s(70882),a=s(19846),c=s(13464),u=s(16554),m=s(94087),T=s(20377),D=s(44072),U=s(69489);function J(F,X){return X?function $(F,X){if(null!=F){if(function w(F){return F&&"function"==typeof F[u.L]}(F))return function e(F,X){return new r.y(de=>{const V=new c.w;return V.add(X.schedule(()=>{const ce=F[u.L]();V.add(ce.subscribe({next(se){V.add(X.schedule(()=>de.next(se)))},error(se){V.add(X.schedule(()=>de.error(se)))},complete(){V.add(X.schedule(()=>de.complete()))}}))})),V})}(F,X);if((0,D.t)(F))return function f(F,X){return new r.y(de=>{const V=new c.w;return V.add(X.schedule(()=>F.then(ce=>{V.add(X.schedule(()=>{de.next(ce),V.add(X.schedule(()=>de.complete()))}))},ce=>{V.add(X.schedule(()=>de.error(ce)))}))),V})}(F,X);if((0,U.z)(F))return(0,m.r)(F,X);if(function W(F){return F&&"function"==typeof F[T.hZ]}(F)||"string"==typeof F)return function M(F,X){if(!F)throw new Error("Iterable cannot be null");return new r.y(de=>{const V=new c.w;let ce;return V.add(()=>{ce&&"function"==typeof ce.return&&ce.return()}),V.add(X.schedule(()=>{ce=F[T.hZ](),V.add(X.schedule(function(){if(de.closed)return;let se,fe;try{const Te=ce.next();se=Te.value,fe=Te.done}catch(Te){return void de.error(Te)}fe?de.complete():(de.next(se),this.schedule())}))})),V})}(F,X)}throw new TypeError((null!==F&&typeof F||F)+" is not observable")}(F,X):F instanceof r.y?F:new r.y((0,a.s)(F))}},56693:(E,C,s)=>{"use strict";s.d(C,{n:()=>u});var r=s(70882),a=s(55015),c=s(94087);function u(e,f){return f?(0,c.r)(e,f):new r.y((0,a.V)(e))}},22759:(E,C,s)=>{"use strict";s.d(C,{R:()=>f});var r=s(70882),a=s(59796),c=s(69105),u=s(88002);function f(D,U,W,$){return(0,c.m)(W)&&($=W,W=void 0),$?f(D,U,W).pipe((0,u.U)(J=>(0,a.k)(J)?$(...J):$(J))):new r.y(J=>{m(D,U,function F(X){J.next(arguments.length>1?Array.prototype.slice.call(arguments):X)},J,W)})}function m(D,U,W,$,J){let F;if(function w(D){return D&&"function"==typeof D.addEventListener&&"function"==typeof D.removeEventListener}(D)){const X=D;D.addEventListener(U,W,J),F=()=>X.removeEventListener(U,W,J)}else if(function M(D){return D&&"function"==typeof D.on&&"function"==typeof D.off}(D)){const X=D;D.on(U,W),F=()=>X.off(U,W)}else if(function T(D){return D&&"function"==typeof D.addListener&&"function"==typeof D.removeListener}(D)){const X=D;D.addListener(U,W),F=()=>X.removeListener(U,W)}else{if(!D||!D.length)throw new TypeError("Invalid event target");for(let X=0,de=D.length;X<de;X++)m(D[X],U,W,$,J)}$.add(F)}},66682:(E,C,s)=>{"use strict";s.d(C,{T:()=>e});var r=s(70882),a=s(54869),c=s(63282),u=s(56693);function e(...f){let m=Number.POSITIVE_INFINITY,T=null,M=f[f.length-1];return(0,a.K)(M)?(T=f.pop(),f.length>1&&"number"==typeof f[f.length-1]&&(m=f.pop())):"number"==typeof M&&(m=f.pop()),null===T&&1===f.length&&f[0]instanceof r.y?f[0]:(0,c.J)(m)((0,u.n)(f,T))}},17757:(E,C,s)=>{"use strict";s.d(C,{C:()=>c});var r=s(70882),a=s(98640);const c=new r.y(a.Z)},25917:(E,C,s)=>{"use strict";s.d(C,{of:()=>u});var r=s(54869),a=s(56693),c=s(94087);function u(...e){let f=e[e.length-1];return(0,r.K)(f)?(e.pop(),(0,c.r)(e,f)):(0,a.n)(e)}},40205:(E,C,s)=>{"use strict";s.d(C,{_:()=>a});var r=s(70882);function a(u,e){return new r.y(e?f=>e.schedule(c,0,{error:u,subscriber:f}):f=>f.error(u))}function c({error:u,subscriber:e}){e.error(u)}},46797:(E,C,s)=>{"use strict";s.d(C,{H:()=>e});var r=s(70882),a=s(33637),c=s(26561),u=s(54869);function e(m=0,T,M){let w=-1;return(0,c.k)(T)?w=Number(T)<1?1:Number(T):(0,u.K)(T)&&(M=T),(0,u.K)(M)||(M=a.P),new r.y(D=>{const U=(0,c.k)(m)?m:+m-M.now();return M.schedule(f,U,{index:0,period:w,subscriber:D})})}function f(m){const{index:T,period:M,subscriber:w}=m;if(w.next(T),!w.closed){if(-1===M)return w.complete();m.index=T+1,this.schedule(m,M)}}},5304:(E,C,s)=>{"use strict";s.d(C,{K:()=>a});var r=s(85345);function a(e){return function(m){const T=new c(e),M=m.lift(T);return T.caught=M}}class c{constructor(f){this.selector=f}call(f,m){return m.subscribe(new u(f,this.selector,this.caught))}}class u extends r.Ds{constructor(f,m,T){super(f),this.selector=m,this.caught=T}error(f){if(!this.isStopped){let m;try{m=this.selector(f,this.caught)}catch(w){return void super.error(w)}this._unsubscribeAndRecycle();const T=new r.IY(this);this.add(T);const M=(0,r.ft)(m,T);M!==T&&this.add(M)}}}},94612:(E,C,s)=>{"use strict";s.d(C,{b:()=>a});var r=s(19773);function a(c,u){return(0,r.zg)(c,u,1)}},54395:(E,C,s)=>{"use strict";s.d(C,{b:()=>c});var r=s(77393),a=s(33637);function c(m,T=a.P){return M=>M.lift(new u(m,T))}class u{constructor(T,M){this.dueTime=T,this.scheduler=M}call(T,M){return M.subscribe(new e(T,this.dueTime,this.scheduler))}}class e extends r.L{constructor(T,M,w){super(T),this.dueTime=M,this.scheduler=w,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(T){this.clearDebounce(),this.lastValue=T,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(f,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:T}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(T)}}clearDebounce(){const T=this.debouncedSubscription;null!==T&&(this.remove(T),T.unsubscribe(),this.debouncedSubscription=null)}}function f(m){m.debouncedNext()}},95242:(E,C,s)=>{"use strict";s.d(C,{d:()=>a});var r=s(77393);function a(e=null){return f=>f.lift(new c(e))}class c{constructor(f){this.defaultValue=f}call(f,m){return m.subscribe(new u(f,this.defaultValue))}}class u extends r.L{constructor(f,m){super(f),this.defaultValue=m,this.isEmpty=!0}_next(f){this.isEmpty=!1,this.destination.next(f)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},67460:(E,C,s)=>{"use strict";s.d(C,{g:()=>e});var r=s(33637),c=s(77393),u=s(23098);function e(M,w=r.P){const U=function a(M){return M instanceof Date&&!isNaN(+M)}(M)?+M-w.now():Math.abs(M);return W=>W.lift(new f(U,w))}class f{constructor(w,D){this.delay=w,this.scheduler=D}call(w,D){return D.subscribe(new m(w,this.delay,this.scheduler))}}class m extends c.L{constructor(w,D,U){super(w),this.delay=D,this.scheduler=U,this.queue=[],this.active=!1,this.errored=!1}static dispatch(w){const D=w.source,U=D.queue,W=w.scheduler,$=w.destination;for(;U.length>0&&U[0].time-W.now()<=0;)U.shift().notification.observe($);if(U.length>0){const J=Math.max(0,U[0].time-W.now());this.schedule(w,J)}else this.unsubscribe(),D.active=!1}_schedule(w){this.active=!0,this.destination.add(w.schedule(m.dispatch,this.delay,{source:this,destination:this.destination,scheduler:w}))}scheduleNotification(w){if(!0===this.errored)return;const D=this.scheduler,U=new T(D.now()+this.delay,w);this.queue.push(U),!1===this.active&&this._schedule(D)}_next(w){this.scheduleNotification(u.P.createNext(w))}_error(w){this.errored=!0,this.queue=[],this.destination.error(w),this.unsubscribe()}_complete(){this.scheduleNotification(u.P.createComplete()),this.unsubscribe()}}class T{constructor(w,D){this.time=w,this.notification=D}}},87519:(E,C,s)=>{"use strict";s.d(C,{x:()=>a});var r=s(77393);function a(e,f){return m=>m.lift(new c(e,f))}class c{constructor(f,m){this.compare=f,this.keySelector=m}call(f,m){return m.subscribe(new u(f,this.compare,this.keySelector))}}class u extends r.L{constructor(f,m,T){super(f),this.keySelector=T,this.hasKey=!1,"function"==typeof m&&(this.compare=m)}compare(f,m){return f===m}_next(f){let m;try{const{keySelector:M}=this;m=M?M(f):f}catch(M){return this.destination.error(M)}let T=!1;if(this.hasKey)try{const{compare:M}=this;T=M(this.key,m)}catch(M){return this.destination.error(M)}else this.hasKey=!0;T||(this.key=m,this.destination.next(f))}}},45435:(E,C,s)=>{"use strict";s.d(C,{h:()=>a});var r=s(77393);function a(e,f){return function(T){return T.lift(new c(e,f))}}class c{constructor(f,m){this.predicate=f,this.thisArg=m}call(f,m){return m.subscribe(new u(f,this.predicate,this.thisArg))}}class u extends r.L{constructor(f,m,T){super(f),this.predicate=m,this.thisArg=T,this.count=0}_next(f){let m;try{m=this.predicate.call(this.thisArg,f,this.count++)}catch(T){return void this.destination.error(T)}m&&this.destination.next(f)}}},68939:(E,C,s)=>{"use strict";s.d(C,{x:()=>c});var r=s(77393),a=s(13464);function c(f){return m=>m.lift(new u(f))}class u{constructor(m){this.callback=m}call(m,T){return T.subscribe(new e(m,this.callback))}}class e extends r.L{constructor(m,T){super(m),this.add(new a.w(T))}}},28049:(E,C,s)=>{"use strict";s.d(C,{P:()=>m});var r=s(13410),a=s(45435),c=s(15257),u=s(95242),e=s(44635),f=s(54487);function m(T,M){const w=arguments.length>=2;return D=>D.pipe(T?(0,a.h)((U,W)=>T(U,W,D)):f.y,(0,c.q)(1),w?(0,u.d)(M):(0,e.T)(()=>new r.K))}},12627:(E,C,s)=>{"use strict";s.d(C,{Z:()=>m});var r=s(13410),a=s(45435),c=s(548),u=s(44635),e=s(95242),f=s(54487);function m(T,M){const w=arguments.length>=2;return D=>D.pipe(T?(0,a.h)((U,W)=>T(U,W,D)):f.y,(0,c.h)(1),w?(0,e.d)(M):(0,u.T)(()=>new r.K))}},88002:(E,C,s)=>{"use strict";s.d(C,{U:()=>a});var r=s(77393);function a(e,f){return function(T){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return T.lift(new c(e,f))}}class c{constructor(f,m){this.project=f,this.thisArg=m}call(f,m){return m.subscribe(new u(f,this.project,this.thisArg))}}class u extends r.L{constructor(f,m,T){super(f),this.project=m,this.count=0,this.thisArg=T||this}_next(f){let m;try{m=this.project.call(this.thisArg,f,this.count++)}catch(T){return void this.destination.error(T)}this.destination.next(m)}}},96736:(E,C,s)=>{"use strict";s.d(C,{h:()=>a});var r=s(77393);function a(e){return f=>f.lift(new c(e))}class c{constructor(f){this.value=f}call(f,m){return m.subscribe(new u(f,this.value))}}class u extends r.L{constructor(f,m){super(f),this.value=m}_next(f){this.destination.next(this.value)}}},63282:(E,C,s)=>{"use strict";s.d(C,{J:()=>c});var r=s(19773),a=s(54487);function c(u=Number.POSITIVE_INFINITY){return(0,r.zg)(a.y,u)}},19773:(E,C,s)=>{"use strict";s.d(C,{zg:()=>u});var r=s(88002),a=s(76666),c=s(85345);function u(T,M,w=Number.POSITIVE_INFINITY){return"function"==typeof M?D=>D.pipe(u((U,W)=>(0,a.D)(T(U,W)).pipe((0,r.U)(($,J)=>M(U,$,W,J))),w)):("number"==typeof M&&(w=M),D=>D.lift(new e(T,w)))}class e{constructor(M,w=Number.POSITIVE_INFINITY){this.project=M,this.concurrent=w}call(M,w){return w.subscribe(new f(M,this.project,this.concurrent))}}class f extends c.Ds{constructor(M,w,D=Number.POSITIVE_INFINITY){super(M),this.project=w,this.concurrent=D,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(M){this.active<this.concurrent?this._tryNext(M):this.buffer.push(M)}_tryNext(M){let w;const D=this.index++;try{w=this.project(M,D)}catch(U){return void this.destination.error(U)}this.active++,this._innerSub(w)}_innerSub(M){const w=new c.IY(this),D=this.destination;D.add(w);const U=(0,c.ft)(M,w);U!==w&&D.add(U)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(M){this.destination.next(M)}notifyComplete(){const M=this.buffer;this.active--,M.length>0?this._next(M.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},94458:(E,C,s)=>{"use strict";s.d(C,{O:()=>a});var r=s(52441);function a(u,e){return function(m){let T;if(T="function"==typeof u?u:function(){return u},"function"==typeof e)return m.lift(new c(T,e));const M=Object.create(m,r.N);return M.source=m,M.subjectFactory=T,M}}class c{constructor(e,f){this.subjectFactory=e,this.selector=f}call(e,f){const{selector:m}=this,T=this.subjectFactory(),M=m(T).subscribe(e);return M.add(f.subscribe(T)),M}}},59746:(E,C,s)=>{"use strict";s.d(C,{QV:()=>c,ht:()=>e});var r=s(77393),a=s(23098);function c(m,T=0){return function(w){return w.lift(new u(m,T))}}class u{constructor(T,M=0){this.scheduler=T,this.delay=M}call(T,M){return M.subscribe(new e(T,this.scheduler,this.delay))}}class e extends r.L{constructor(T,M,w=0){super(T),this.scheduler=M,this.delay=w}static dispatch(T){const{notification:M,destination:w}=T;M.observe(w),this.unsubscribe()}scheduleMessage(T){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new f(T,this.destination)))}_next(T){this.scheduleMessage(a.P.createNext(T))}_error(T){this.scheduleMessage(a.P.createError(T)),this.unsubscribe()}_complete(){this.scheduleMessage(a.P.createComplete()),this.unsubscribe()}}class f{constructor(T,M){this.notification=T,this.destination=M}}},51307:(E,C,s)=>{"use strict";s.d(C,{x:()=>a});var r=s(77393);function a(){return function(f){return f.lift(new c(f))}}class c{constructor(f){this.connectable=f}call(f,m){const{connectable:T}=this;T._refCount++;const M=new u(f,T),w=m.subscribe(M);return M.closed||(M.connection=T.connect()),w}}class u extends r.L{constructor(f,m){super(f),this.connectable=m}_unsubscribe(){const{connectable:f}=this;if(!f)return void(this.connection=null);this.connectable=null;const m=f._refCount;if(m<=0)return void(this.connection=null);if(f._refCount=m-1,m>1)return void(this.connection=null);const{connection:T}=this,M=f._connection;this.connection=null,M&&(!T||M===T)&&M.unsubscribe()}}},42145:(E,C,s)=>{"use strict";s.d(C,{R:()=>a});var r=s(77393);function a(e,f){let m=!1;return arguments.length>=2&&(m=!0),function(M){return M.lift(new c(e,f,m))}}class c{constructor(f,m,T=!1){this.accumulator=f,this.seed=m,this.hasSeed=T}call(f,m){return m.subscribe(new u(f,this.accumulator,this.seed,this.hasSeed))}}class u extends r.L{constructor(f,m,T,M){super(f),this.accumulator=m,this._seed=T,this.hasSeed=M,this.index=0}get seed(){return this._seed}set seed(f){this.hasSeed=!0,this._seed=f}_next(f){if(this.hasSeed)return this._tryNext(f);this.seed=f,this.destination.next(f)}_tryNext(f){const m=this.index++;let T;try{T=this.accumulator(this.seed,f,m)}catch(M){this.destination.error(M)}this.seed=T,this.destination.next(T)}}},78345:(E,C,s)=>{"use strict";s.d(C,{B:()=>e});var r=s(94458),a=s(51307),c=s(79765);function u(){return new c.xQ}function e(){return f=>(0,a.x)()((0,r.O)(u)(f))}},47349:(E,C,s)=>{"use strict";s.d(C,{d:()=>a});var r=s(7357);function a(u,e,f){let m;return m=u&&"object"==typeof u?u:{bufferSize:u,windowTime:e,refCount:!1,scheduler:f},T=>T.lift(function c({bufferSize:u=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:f,scheduler:m}){let T,w,M=0,D=!1,U=!1;return function($){let J;M++,!T||D?(D=!1,T=new r.t(u,e,m),J=T.subscribe(this),w=$.subscribe({next(F){T.next(F)},error(F){D=!0,T.error(F)},complete(){U=!0,w=void 0,T.complete()}})):J=T.subscribe(this),this.add(()=>{M--,J.unsubscribe(),w&&!U&&f&&0===M&&(w.unsubscribe(),w=void 0,T=void 0)})}}(m))}},39761:(E,C,s)=>{"use strict";s.d(C,{O:()=>c});var r=s(6481),a=s(54869);function c(...u){const e=u[u.length-1];return(0,a.K)(e)?(u.pop(),f=>(0,r.z)(u,f,e)):f=>(0,r.z)(u,f)}},43190:(E,C,s)=>{"use strict";s.d(C,{w:()=>u});var r=s(88002),a=s(76666),c=s(85345);function u(m,T){return"function"==typeof T?M=>M.pipe(u((w,D)=>(0,a.D)(m(w,D)).pipe((0,r.U)((U,W)=>T(w,U,D,W))))):M=>M.lift(new e(m))}class e{constructor(T){this.project=T}call(T,M){return M.subscribe(new f(T,this.project))}}class f extends c.Ds{constructor(T,M){super(T),this.project=M,this.index=0}_next(T){let M;const w=this.index++;try{M=this.project(T,w)}catch(D){return void this.destination.error(D)}this._innerSub(M)}_innerSub(T){const M=this.innerSubscription;M&&M.unsubscribe();const w=new c.IY(this),D=this.destination;D.add(w),this.innerSubscription=(0,c.ft)(T,w),this.innerSubscription!==w&&D.add(this.innerSubscription)}_complete(){const{innerSubscription:T}=this;(!T||T.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(T){this.destination.next(T)}}},15257:(E,C,s)=>{"use strict";s.d(C,{q:()=>u});var r=s(77393),a=s(7108),c=s(59193);function u(m){return T=>0===m?(0,c.c)():T.lift(new e(m))}class e{constructor(T){if(this.total=T,this.total<0)throw new a.W}call(T,M){return M.subscribe(new f(T,this.total))}}class f extends r.L{constructor(T,M){super(T),this.total=M,this.count=0}_next(T){const M=this.total,w=++this.count;w<=M&&(this.destination.next(T),w===M&&(this.destination.complete(),this.unsubscribe()))}}},548:(E,C,s)=>{"use strict";s.d(C,{h:()=>u});var r=s(77393),a=s(7108),c=s(59193);function u(m){return function(M){return 0===m?(0,c.c)():M.lift(new e(m))}}class e{constructor(T){if(this.total=T,this.total<0)throw new a.W}call(T,M){return M.subscribe(new f(T,this.total))}}class f extends r.L{constructor(T,M){super(T),this.total=M,this.ring=new Array,this.count=0}_next(T){const M=this.ring,w=this.total,D=this.count++;M.length<w?M.push(T):M[D%w]=T}_complete(){const T=this.destination;let M=this.count;if(M>0){const w=this.count>=this.total?this.total:this.count,D=this.ring;for(let U=0;U<w;U++){const W=M++%w;T.next(D[W])}}T.complete()}}},46782:(E,C,s)=>{"use strict";s.d(C,{R:()=>a});var r=s(85345);function a(e){return f=>f.lift(new c(e))}class c{constructor(f){this.notifier=f}call(f,m){const T=new u(f),M=(0,r.ft)(this.notifier,new r.IY(T));return M&&!T.seenValue?(T.add(M),m.subscribe(T)):T}}class u extends r.Ds{constructor(f){super(f),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},68307:(E,C,s)=>{"use strict";s.d(C,{b:()=>u});var r=s(77393),a=s(98640),c=s(69105);function u(m,T,M){return function(D){return D.lift(new e(m,T,M))}}class e{constructor(T,M,w){this.nextOrObserver=T,this.error=M,this.complete=w}call(T,M){return M.subscribe(new f(T,this.nextOrObserver,this.error,this.complete))}}class f extends r.L{constructor(T,M,w,D){super(T),this._tapNext=a.Z,this._tapError=a.Z,this._tapComplete=a.Z,this._tapError=w||a.Z,this._tapComplete=D||a.Z,(0,c.m)(M)?(this._context=this,this._tapNext=M):M&&(this._context=M,this._tapNext=M.next||a.Z,this._tapError=M.error||a.Z,this._tapComplete=M.complete||a.Z)}_next(T){try{this._tapNext.call(this._context,T)}catch(M){return void this.destination.error(M)}this.destination.next(T)}_error(T){try{this._tapError.call(this._context,T)}catch(M){return void this.destination.error(M)}this.destination.error(T)}_complete(){try{this._tapComplete.call(this._context)}catch(T){return void this.destination.error(T)}return this.destination.complete()}}},44635:(E,C,s)=>{"use strict";s.d(C,{T:()=>c});var r=s(13410),a=s(77393);function c(m=f){return T=>T.lift(new u(m))}class u{constructor(T){this.errorFactory=T}call(T,M){return M.subscribe(new e(T,this.errorFactory))}}class e extends a.L{constructor(T,M){super(T),this.errorFactory=M,this.hasValue=!1}_next(T){this.hasValue=!0,this.destination.next(T)}_complete(){if(this.hasValue)return this.destination.complete();{let T;try{T=this.errorFactory()}catch(M){T=M}this.destination.error(T)}}}function f(){return new r.K}},46240:(E,C,s)=>{"use strict";s.d(C,{q:()=>m});var r=s(42145),a=s(548),c=s(95242),u=s(34022);function f(T,M,w){return 0===w?[M]:(T.push(M),T)}function m(){return function e(T,M){return arguments.length>=2?function(D){return(0,u.z)((0,r.R)(T,M),(0,a.h)(1),(0,c.d)(M))(D)}:function(D){return(0,u.z)((0,r.R)((U,W,$)=>T(U,W,$+1)),(0,a.h)(1))(D)}}(f,[])}},94087:(E,C,s)=>{"use strict";s.d(C,{r:()=>c});var r=s(70882),a=s(13464);function c(u,e){return new r.y(f=>{const m=new a.w;let T=0;return m.add(e.schedule(function(){T!==u.length?(f.next(u[T++]),f.closed||m.add(this.schedule())):f.complete()})),m})}},23989:(E,C,s)=>{"use strict";s.d(C,{o:()=>c});var r=s(13464);class a extends r.w{constructor(e,f){super()}schedule(e,f=0){return this}}class c extends a{constructor(e,f){super(e,f),this.scheduler=e,this.work=f,this.pending=!1}schedule(e,f=0){if(this.closed)return this;this.state=e;const m=this.id,T=this.scheduler;return null!=m&&(this.id=this.recycleAsyncId(T,m,f)),this.pending=!0,this.delay=f,this.id=this.id||this.requestAsyncId(T,this.id,f),this}requestAsyncId(e,f,m=0){return setInterval(e.flush.bind(e,this),m)}recycleAsyncId(e,f,m=0){if(null!==m&&this.delay===m&&!1===this.pending)return f;clearInterval(f)}execute(e,f){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const m=this._execute(e,f);if(m)return m;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,f){let T,m=!1;try{this.work(e)}catch(M){m=!0,T=!!M&&M||new Error(M)}if(m)return this.unsubscribe(),T}_unsubscribe(){const e=this.id,f=this.scheduler,m=f.actions,T=m.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==T&&m.splice(T,1),null!=e&&(this.id=this.recycleAsyncId(f,e,null)),this.delay=null}}},46493:(E,C,s)=>{"use strict";s.d(C,{v:()=>a});let r=(()=>{class c{constructor(e,f=c.now){this.SchedulerAction=e,this.now=f}schedule(e,f=0,m){return new this.SchedulerAction(this,e).schedule(m,f)}}return c.now=()=>Date.now(),c})();class a extends r{constructor(u,e=r.now){super(u,()=>a.delegate&&a.delegate!==this?a.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(u,e=0,f){return a.delegate&&a.delegate!==this?a.delegate.schedule(u,e,f):super.schedule(u,e,f)}flush(u){const{actions:e}=this;if(this.active)return void e.push(u);let f;this.active=!0;do{if(f=u.execute(u.state,u.delay))break}while(u=e.shift());if(this.active=!1,f){for(;u=e.shift();)u.unsubscribe();throw f}}}},33637:(E,C,s)=>{"use strict";s.d(C,{P:()=>u,z:()=>c});var r=s(23989);const c=new(s(46493).v)(r.o),u=c},20377:(E,C,s)=>{"use strict";s.d(C,{hZ:()=>a});const a=function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},16554:(E,C,s)=>{"use strict";s.d(C,{L:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},29181:(E,C,s)=>{"use strict";s.d(C,{b:()=>r});const r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:(E,C,s)=>{"use strict";s.d(C,{W:()=>a});const a=(()=>{function c(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return c.prototype=Object.create(Error.prototype),c})()},13410:(E,C,s)=>{"use strict";s.d(C,{K:()=>a});const a=(()=>{function c(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return c.prototype=Object.create(Error.prototype),c})()},77971:(E,C,s)=>{"use strict";s.d(C,{N:()=>a});const a=(()=>{function c(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return c.prototype=Object.create(Error.prototype),c})()},54449:(E,C,s)=>{"use strict";function r(a){setTimeout(()=>{throw a},0)}s.d(C,{z:()=>r})},54487:(E,C,s)=>{"use strict";function r(a){return a}s.d(C,{y:()=>r})},59796:(E,C,s)=>{"use strict";s.d(C,{k:()=>r});const r=Array.isArray||(a=>a&&"number"==typeof a.length)},69489:(E,C,s)=>{"use strict";s.d(C,{z:()=>r});const r=a=>a&&"number"==typeof a.length&&"function"!=typeof a},69105:(E,C,s)=>{"use strict";function r(a){return"function"==typeof a}s.d(C,{m:()=>r})},26561:(E,C,s)=>{"use strict";s.d(C,{k:()=>a});var r=s(59796);function a(c){return!(0,r.k)(c)&&c-parseFloat(c)+1>=0}},81555:(E,C,s)=>{"use strict";function r(a){return null!==a&&"object"==typeof a}s.d(C,{K:()=>r})},44072:(E,C,s)=>{"use strict";function r(a){return!!a&&"function"!=typeof a.subscribe&&"function"==typeof a.then}s.d(C,{t:()=>r})},54869:(E,C,s)=>{"use strict";function r(a){return a&&"function"==typeof a.schedule}s.d(C,{K:()=>r})},98640:(E,C,s)=>{"use strict";function r(){}s.d(C,{Z:()=>r})},34022:(E,C,s)=>{"use strict";s.d(C,{U:()=>c,z:()=>a});var r=s(54487);function a(...u){return c(u)}function c(u){return 0===u.length?r.y:1===u.length?u[0]:function(f){return u.reduce((m,T)=>T(m),f)}}},19846:(E,C,s)=>{"use strict";s.d(C,{s:()=>D});var r=s(55015),a=s(54449),u=s(20377),f=s(16554),T=s(69489),M=s(44072),w=s(81555);const D=U=>{if(U&&"function"==typeof U[f.L])return(U=>W=>{const $=U[f.L]();if("function"!=typeof $.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return $.subscribe(W)})(U);if((0,T.z)(U))return(0,r.V)(U);if((0,M.t)(U))return(U=>W=>(U.then($=>{W.closed||(W.next($),W.complete())},$=>W.error($)).then(null,a.z),W))(U);if(U&&"function"==typeof U[u.hZ])return(U=>W=>{const $=U[u.hZ]();for(;;){let J;try{J=$.next()}catch(F){return W.error(F),W}if(J.done){W.complete();break}if(W.next(J.value),W.closed)break}return"function"==typeof $.return&&W.add(()=>{$.return&&$.return()}),W})(U);{const $=`You provided ${(0,w.K)(U)?"an invalid object":`'${U}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError($)}}},55015:(E,C,s)=>{"use strict";s.d(C,{V:()=>r});const r=a=>c=>{for(let u=0,e=a.length;u<e&&!c.closed;u++)c.next(a[u]);c.complete()}},53960:(E,C,s)=>{"use strict";s.d(C,{D:()=>e});var r=s(77393);class a extends r.L{constructor(m,T,M){super(),this.parent=m,this.outerValue=T,this.outerIndex=M,this.index=0}_next(m){this.parent.notifyNext(this.outerValue,m,this.outerIndex,this.index++,this)}_error(m){this.parent.notifyError(m,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var c=s(19846),u=s(70882);function e(f,m,T,M,w=new a(f,T,M)){if(!w.closed)return m instanceof u.y?m.subscribe(w):(0,c.s)(m)(w)}},59771:(E,C)=>{"use strict";var s,r,a,c;if("object"==typeof performance&&"function"==typeof performance.now){var u=performance;C.unstable_now=function(){return u.now()}}else{var e=Date,f=e.now();C.unstable_now=function(){return e.now()-f}}if(typeof window>"u"||"function"!=typeof MessageChannel){var m=null,T=null,M=function(){if(null!==m)try{var cn=C.unstable_now();m(!0,cn),m=null}catch(pn){throw setTimeout(M,0),pn}};s=function(cn){null!==m?setTimeout(s,0,cn):(m=cn,setTimeout(M,0))},r=function(cn,pn){T=setTimeout(cn,pn)},a=function(){clearTimeout(T)},C.unstable_shouldYield=function(){return!1},c=C.unstable_forceFrameRate=function(){}}else{var w=window.setTimeout,D=window.clearTimeout;if(typeof console<"u"){var U=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof U&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var W=!1,$=null,J=-1,F=5,X=0;C.unstable_shouldYield=function(){return C.unstable_now()>=X},c=function(){},C.unstable_forceFrameRate=function(cn){0>cn||125<cn?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<cn?Math.floor(1e3/cn):5};var de=new MessageChannel,V=de.port2;de.port1.onmessage=function(){if(null!==$){var cn=C.unstable_now();X=cn+F;try{$(!0,cn)?V.postMessage(null):(W=!1,$=null)}catch(pn){throw V.postMessage(null),pn}}else W=!1},s=function(cn){$=cn,W||(W=!0,V.postMessage(null))},r=function(cn,pn){J=w(function(){cn(C.unstable_now())},pn)},a=function(){D(J),J=-1}}function ce(cn,pn){var Rn=cn.length;cn.push(pn);e:for(;;){var At=Rn-1>>>1,qt=cn[At];if(!(void 0!==qt&&0<Te(qt,pn)))break e;cn[At]=pn,cn[Rn]=qt,Rn=At}}function se(cn){return void 0===(cn=cn[0])?null:cn}function fe(cn){var pn=cn[0];if(void 0!==pn){var Rn=cn.pop();if(Rn!==pn){cn[0]=Rn;e:for(var At=0,qt=cn.length;At<qt;){var sn=2*(At+1)-1,fn=cn[sn],xn=sn+1,Kr=cn[xn];if(void 0!==fn&&0>Te(fn,Rn))void 0!==Kr&&0>Te(Kr,fn)?(cn[At]=Kr,cn[xn]=Rn,At=xn):(cn[At]=fn,cn[sn]=Rn,At=sn);else{if(!(void 0!==Kr&&0>Te(Kr,Rn)))break e;cn[At]=Kr,cn[xn]=Rn,At=xn}}}return pn}return null}function Te(cn,pn){var Rn=cn.sortIndex-pn.sortIndex;return 0!==Rn?Rn:cn.id-pn.id}var $e=[],ge=[],Et=1,ot=null,ct=3,qe=!1,He=!1,We=!1;function Le(cn){for(var pn=se(ge);null!==pn;){if(null===pn.callback)fe(ge);else{if(!(pn.startTime<=cn))break;fe(ge),pn.sortIndex=pn.expirationTime,ce($e,pn)}pn=se(ge)}}function Pt(cn){if(We=!1,Le(cn),!He)if(null!==se($e))He=!0,s(it);else{var pn=se(ge);null!==pn&&r(Pt,pn.startTime-cn)}}function it(cn,pn){He=!1,We&&(We=!1,a()),qe=!0;var Rn=ct;try{for(Le(pn),ot=se($e);null!==ot&&(!(ot.expirationTime>pn)||cn&&!C.unstable_shouldYield());){var At=ot.callback;if("function"==typeof At){ot.callback=null,ct=ot.priorityLevel;var qt=At(ot.expirationTime<=pn);pn=C.unstable_now(),"function"==typeof qt?ot.callback=qt:ot===se($e)&&fe($e),Le(pn)}else fe($e);ot=se($e)}if(null!==ot)var sn=!0;else{var fn=se(ge);null!==fn&&r(Pt,fn.startTime-pn),sn=!1}return sn}finally{ot=null,ct=Rn,qe=!1}}var Xt=c;C.unstable_IdlePriority=5,C.unstable_ImmediatePriority=1,C.unstable_LowPriority=4,C.unstable_NormalPriority=3,C.unstable_Profiling=null,C.unstable_UserBlockingPriority=2,C.unstable_cancelCallback=function(cn){cn.callback=null},C.unstable_continueExecution=function(){He||qe||(He=!0,s(it))},C.unstable_getCurrentPriorityLevel=function(){return ct},C.unstable_getFirstCallbackNode=function(){return se($e)},C.unstable_next=function(cn){switch(ct){case 1:case 2:case 3:var pn=3;break;default:pn=ct}var Rn=ct;ct=pn;try{return cn()}finally{ct=Rn}},C.unstable_pauseExecution=function(){},C.unstable_requestPaint=Xt,C.unstable_runWithPriority=function(cn,pn){switch(cn){case 1:case 2:case 3:case 4:case 5:break;default:cn=3}var Rn=ct;ct=cn;try{return pn()}finally{ct=Rn}},C.unstable_scheduleCallback=function(cn,pn,Rn){var At=C.unstable_now();switch(Rn="object"==typeof Rn&&null!==Rn&&"number"==typeof(Rn=Rn.delay)&&0<Rn?At+Rn:At,cn){case 1:var qt=-1;break;case 2:qt=250;break;case 5:qt=1073741823;break;case 4:qt=1e4;break;default:qt=5e3}return cn={id:Et++,callback:pn,priorityLevel:cn,startTime:Rn,expirationTime:qt=Rn+qt,sortIndex:-1},Rn>At?(cn.sortIndex=Rn,ce(ge,cn),null===se($e)&&cn===se(ge)&&(We?a():We=!0,r(Pt,Rn-At))):(cn.sortIndex=qt,ce($e,cn),He||qe||(He=!0,s(it))),cn},C.unstable_wrapCallback=function(cn){var pn=ct;return function(){var Rn=ct;ct=pn;try{return cn.apply(this,arguments)}finally{ct=Rn}}}},88712:(E,C,s)=>{"use strict";E.exports=s(59771)},11144:(E,C,s)=>{"use strict";var r=s(18540),a=s(19568),c=s(81380),u=r("%TypeError%"),e=r("%WeakMap%",!0),f=r("%Map%",!0),m=a("WeakMap.prototype.get",!0),T=a("WeakMap.prototype.set",!0),M=a("WeakMap.prototype.has",!0),w=a("Map.prototype.get",!0),D=a("Map.prototype.set",!0),U=a("Map.prototype.has",!0),W=function(X,de){for(var ce,V=X;null!==(ce=V.next);V=ce)if(ce.key===de)return V.next=ce.next,ce.next=X.next,X.next=ce,ce};E.exports=function(){var de,V,ce,se={assert:function(fe){if(!se.has(fe))throw new u("Side channel does not contain "+c(fe))},get:function(fe){if(e&&fe&&("object"==typeof fe||"function"==typeof fe)){if(de)return m(de,fe)}else if(f){if(V)return w(V,fe)}else if(ce)return function(X,de){var V=W(X,de);return V&&V.value}(ce,fe)},has:function(fe){if(e&&fe&&("object"==typeof fe||"function"==typeof fe)){if(de)return M(de,fe)}else if(f){if(V)return U(V,fe)}else if(ce)return function(X,de){return!!W(X,de)}(ce,fe);return!1},set:function(fe,Te){e&&fe&&("object"==typeof fe||"function"==typeof fe)?(de||(de=new e),T(de,fe,Te)):f?(V||(V=new f),D(V,fe,Te)):(ce||(ce={key:{},next:null}),function(X,de,V){var ce=W(X,de);ce?ce.value=V:X.next={key:de,next:X.next,value:V}}(ce,fe,Te))}};return se}},85770:(E,C,s)=>{"use strict";s.d(C,{M:()=>qn,t:()=>gr}),s(16331),s(79913),s(89001),s(54891),s(4071),s(11125),s(30419),s(39575);var xn,M=s(6123),w=s.n(M),D=s(86906),U=s.n(D),W=s(89159),$=s.n(W),J=[],de="ResizeObserver loop completed with undelivered notifications.",ce=(()=>{return(Pn=ce||(ce={})).BORDER_BOX="border-box",Pn.CONTENT_BOX="content-box",Pn.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box",ce;var Pn})(),se=function(Pn){return Object.freeze(Pn)},fe=function Pn(_r,Pr){this.inlineSize=_r,this.blockSize=Pr,se(this)},Te=function(){function Pn(_r,Pr,tr,Zn){return this.x=_r,this.y=Pr,this.width=tr,this.height=Zn,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,se(this)}return Pn.prototype.toJSON=function(){var _r=this;return{x:_r.x,y:_r.y,top:_r.top,right:_r.right,bottom:_r.bottom,left:_r.left,width:_r.width,height:_r.height}},Pn.fromRect=function(_r){return new Pn(_r.x,_r.y,_r.width,_r.height)},Pn}(),$e=function(Pn){return Pn instanceof SVGElement&&"getBBox"in Pn},ge=function(Pn){if($e(Pn)){var _r=Pn.getBBox();return!_r.width&&!_r.height}return!(Pn.offsetWidth||Pn.offsetHeight||Pn.getClientRects().length)},Et=function(Pn){var _r;if(Pn instanceof Element)return!0;var Pr=null===(_r=Pn?.ownerDocument)||void 0===_r?void 0:_r.defaultView;return!!(Pr&&Pn instanceof Pr.Element)},ct=typeof window<"u"?window:{},qe=new WeakMap,He=/auto|scroll/,We=/^tb|vertical/,Le=/msie|trident/i.test(ct.navigator&&ct.navigator.userAgent),Pt=function(Pn){return parseFloat(Pn||"0")},it=function(Pn,_r,Pr){return void 0===Pn&&(Pn=0),void 0===_r&&(_r=0),void 0===Pr&&(Pr=!1),new fe((Pr?_r:Pn)||0,(Pr?Pn:_r)||0)},Xt=se({devicePixelContentBoxSize:it(),borderBoxSize:it(),contentBoxSize:it(),contentRect:new Te(0,0,0,0)}),cn=function(Pn,_r){if(void 0===_r&&(_r=!1),qe.has(Pn)&&!_r)return qe.get(Pn);if(ge(Pn))return qe.set(Pn,Xt),Xt;var Pr=getComputedStyle(Pn),tr=$e(Pn)&&Pn.ownerSVGElement&&Pn.getBBox(),Zn=!Le&&"border-box"===Pr.boxSizing,nr=We.test(Pr.writingMode||""),Zt=!tr&&He.test(Pr.overflowY||""),dn=!tr&&He.test(Pr.overflowX||""),Ge=tr?0:Pt(Pr.paddingTop),Ot=tr?0:Pt(Pr.paddingRight),mn=tr?0:Pt(Pr.paddingBottom),wr=tr?0:Pt(Pr.paddingLeft),Ti=tr?0:Pt(Pr.borderTopWidth),Ci=tr?0:Pt(Pr.borderRightWidth),Ai=tr?0:Pt(Pr.borderBottomWidth),_s=wr+Ot,dr=Ge+mn,Ni=(tr?0:Pt(Pr.borderLeftWidth))+Ci,ti=Ti+Ai,Vr=dn?Pn.offsetHeight-ti-Pn.clientHeight:0,wi=Zt?Pn.offsetWidth-Ni-Pn.clientWidth:0,ji=Zn?_s+Ni:0,Vi=Zn?dr+ti:0,Po=tr?tr.width:Pt(Pr.width)-ji-wi,ko=tr?tr.height:Pt(Pr.height)-Vi-Vr,Ir=Po+_s+wi+Ni,ro=ko+dr+Vr+ti,Vt=se({devicePixelContentBoxSize:it(Math.round(Po*devicePixelRatio),Math.round(ko*devicePixelRatio),nr),borderBoxSize:it(Ir,ro,nr),contentBoxSize:it(Po,ko,nr),contentRect:new Te(wr,Ge,Po,ko)});return qe.set(Pn,Vt),Vt},pn=function(Pn,_r,Pr){var tr=cn(Pn,Pr),Zn=tr.borderBoxSize,nr=tr.contentBoxSize,Zt=tr.devicePixelContentBoxSize;switch(_r){case ce.DEVICE_PIXEL_CONTENT_BOX:return Zt;case ce.BORDER_BOX:return Zn;default:return nr}},Rn=function Pn(_r){var Pr=cn(_r);this.target=_r,this.contentRect=Pr.contentRect,this.borderBoxSize=se([Pr.borderBoxSize]),this.contentBoxSize=se([Pr.contentBoxSize]),this.devicePixelContentBoxSize=se([Pr.devicePixelContentBoxSize])},At=function(Pn){if(ge(Pn))return 1/0;for(var _r=0,Pr=Pn.parentNode;Pr;)_r+=1,Pr=Pr.parentNode;return _r},qt=function(){var Pn=1/0,_r=[];J.forEach(function(Zt){if(0!==Zt.activeTargets.length){var dn=[];Zt.activeTargets.forEach(function(Ot){var mn=new Rn(Ot.target),wr=At(Ot.target);dn.push(mn),Ot.lastReportedSize=pn(Ot.target,Ot.observedBox),wr<Pn&&(Pn=wr)}),_r.push(function(){Zt.callback.call(Zt.observer,dn,Zt.observer)}),Zt.activeTargets.splice(0,Zt.activeTargets.length)}});for(var Pr=0,tr=_r;Pr<tr.length;Pr++)(0,tr[Pr])();return Pn},sn=function(Pn){J.forEach(function(Pr){Pr.activeTargets.splice(0,Pr.activeTargets.length),Pr.skippedTargets.splice(0,Pr.skippedTargets.length),Pr.observationTargets.forEach(function(Zn){Zn.isActive()&&(At(Zn.target)>Pn?Pr.activeTargets.push(Zn):Pr.skippedTargets.push(Zn))})})},Kr=[],Qr=0,ht={attributes:!0,characterData:!0,childList:!0,subtree:!0},Wt=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Tt=function(Pn){return void 0===Pn&&(Pn=0),Date.now()+Pn},wn=!1,hr=new(function(){function Pn(){var _r=this;this.stopped=!0,this.listener=function(){return _r.schedule()}}return Pn.prototype.run=function(_r){var Pr=this;if(void 0===_r&&(_r=250),!wn){wn=!0;var tr=Tt(_r);!function(Pn){!function(Pn){if(!xn){var _r=0,Pr=document.createTextNode("");new MutationObserver(function(){return Kr.splice(0).forEach(function(Pn){return Pn()})}).observe(Pr,{characterData:!0}),xn=function(){Pr.textContent="".concat(_r?_r--:_r++)}}Kr.push(Pn),xn()}(function(){requestAnimationFrame(Pn)})}(function(){var Zn=!1;try{Zn=function(){var Pn=0;for(sn(Pn);J.some(function(Pn){return Pn.activeTargets.length>0});)Pn=qt(),sn(Pn);return J.some(function(Pn){return Pn.skippedTargets.length>0})&&function(){var Pn;"function"==typeof ErrorEvent?Pn=new ErrorEvent("error",{message:de}):((Pn=document.createEvent("Event")).initEvent("error",!1,!1),Pn.message=de),window.dispatchEvent(Pn)}(),Pn>0}()}finally{if(wn=!1,_r=tr-Tt(),!Qr)return;Zn?Pr.run(1e3):_r>0?Pr.run(_r):Pr.start()}})}},Pn.prototype.schedule=function(){this.stop(),this.run()},Pn.prototype.observe=function(){var _r=this,Pr=function(){return _r.observer&&_r.observer.observe(document.body,ht)};document.body?Pr():ct.addEventListener("DOMContentLoaded",Pr)},Pn.prototype.start=function(){var _r=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Wt.forEach(function(Pr){return ct.addEventListener(Pr,_r.listener,!0)}))},Pn.prototype.stop=function(){var _r=this;this.stopped||(this.observer&&this.observer.disconnect(),Wt.forEach(function(Pr){return ct.removeEventListener(Pr,_r.listener,!0)}),this.stopped=!0)},Pn}()),Oi=function(Pn){!Qr&&Pn>0&&hr.start(),!(Qr+=Pn)&&hr.stop()},so=function(){function Pn(_r,Pr){this.target=_r,this.observedBox=Pr||ce.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return Pn.prototype.isActive=function(){var _r=pn(this.target,this.observedBox,!0);return function(Pn){return!$e(Pn)&&!function(Pn){switch(Pn.tagName){case"INPUT":if("image"!==Pn.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(Pn)&&"inline"===getComputedStyle(Pn).display}(this.target)&&(this.lastReportedSize=_r),this.lastReportedSize.inlineSize!==_r.inlineSize||this.lastReportedSize.blockSize!==_r.blockSize},Pn}(),kr=function Pn(_r,Pr){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=_r,this.callback=Pr},Ei=new WeakMap,ii=function(Pn,_r){for(var Pr=0;Pr<Pn.length;Pr+=1)if(Pn[Pr].target===_r)return Pr;return-1},mr=function(){function Pn(){}return Pn.connect=function(_r,Pr){var tr=new kr(_r,Pr);Ei.set(_r,tr)},Pn.observe=function(_r,Pr,tr){var Zn=Ei.get(_r),nr=0===Zn.observationTargets.length;ii(Zn.observationTargets,Pr)<0&&(nr&&J.push(Zn),Zn.observationTargets.push(new so(Pr,tr&&tr.box)),Oi(1),hr.schedule())},Pn.unobserve=function(_r,Pr){var tr=Ei.get(_r),Zn=ii(tr.observationTargets,Pr);Zn>=0&&(1===tr.observationTargets.length&&J.splice(J.indexOf(tr),1),tr.observationTargets.splice(Zn,1),Oi(-1))},Pn.disconnect=function(_r){var Pr=this,tr=Ei.get(_r);tr.observationTargets.slice().forEach(function(Zn){return Pr.unobserve(_r,Zn.target)}),tr.activeTargets.splice(0,tr.activeTargets.length)},Pn}(),pr=function(){function Pn(_r){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof _r)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");mr.connect(this,_r)}return Pn.prototype.observe=function(_r,Pr){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Et(_r))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");mr.observe(this,_r,Pr)},Pn.prototype.unobserve=function(_r){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Et(_r))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");mr.unobserve(this,_r)},Pn.prototype.disconnect=function(){mr.disconnect(this)},Pn.toString=function(){return"function ResizeObserver () { [polyfill code] }"},Pn}(),Eo=s(72318),po=s.n(Eo);function jt(Pn){return Pn&&Pn.ownerDocument&&Pn.ownerDocument.defaultView?Pn.ownerDocument.defaultView:window}function Fe(Pn){return Pn&&Pn.ownerDocument?Pn.ownerDocument:document}s(90808),s(27119),s(28036),s(9579),s(2082);var Ie=null,et=null;function ze(Pn){if(null===Ie){var _r=Fe(Pn);if(typeof _r>"u")return Ie=0;var Pr=_r.body,tr=_r.createElement("div");tr.classList.add("simplebar-hide-scrollbar"),Pr.appendChild(tr);var Zn=tr.getBoundingClientRect().right;Pr.removeChild(tr),Ie=Zn}return Ie}po()&&window.addEventListener("resize",function(){et!==window.devicePixelRatio&&(et=window.devicePixelRatio,Ie=null)});var an=function(){function Pn(Pr,tr){var Zn=this;this.onScroll=function(){var nr=jt(Zn.el);Zn.scrollXTicking||(nr.requestAnimationFrame(Zn.scrollX),Zn.scrollXTicking=!0),Zn.scrollYTicking||(nr.requestAnimationFrame(Zn.scrollY),Zn.scrollYTicking=!0)},this.scrollX=function(){Zn.axis.x.isOverflowing&&(Zn.showScrollbar("x"),Zn.positionScrollbar("x")),Zn.scrollXTicking=!1},this.scrollY=function(){Zn.axis.y.isOverflowing&&(Zn.showScrollbar("y"),Zn.positionScrollbar("y")),Zn.scrollYTicking=!1},this.onMouseEnter=function(){Zn.showScrollbar("x"),Zn.showScrollbar("y")},this.onMouseMove=function(nr){Zn.mouseX=nr.clientX,Zn.mouseY=nr.clientY,(Zn.axis.x.isOverflowing||Zn.axis.x.forceVisible)&&Zn.onMouseMoveForAxis("x"),(Zn.axis.y.isOverflowing||Zn.axis.y.forceVisible)&&Zn.onMouseMoveForAxis("y")},this.onMouseLeave=function(){Zn.onMouseMove.cancel(),(Zn.axis.x.isOverflowing||Zn.axis.x.forceVisible)&&Zn.onMouseLeaveForAxis("x"),(Zn.axis.y.isOverflowing||Zn.axis.y.forceVisible)&&Zn.onMouseLeaveForAxis("y"),Zn.mouseX=-1,Zn.mouseY=-1},this.onWindowResize=function(){Zn.scrollbarWidth=Zn.getScrollbarWidth(),Zn.hideNativeScrollbar()},this.hideScrollbars=function(){Zn.axis.x.track.rect=Zn.axis.x.track.el.getBoundingClientRect(),Zn.axis.y.track.rect=Zn.axis.y.track.el.getBoundingClientRect(),Zn.isWithinBounds(Zn.axis.y.track.rect)||(Zn.axis.y.scrollbar.el.classList.remove(Zn.classNames.visible),Zn.axis.y.isVisible=!1),Zn.isWithinBounds(Zn.axis.x.track.rect)||(Zn.axis.x.scrollbar.el.classList.remove(Zn.classNames.visible),Zn.axis.x.isVisible=!1)},this.onPointerEvent=function(nr){var Zt,dn;Zn.axis.x.track.rect=Zn.axis.x.track.el.getBoundingClientRect(),Zn.axis.y.track.rect=Zn.axis.y.track.el.getBoundingClientRect(),(Zn.axis.x.isOverflowing||Zn.axis.x.forceVisible)&&(Zt=Zn.isWithinBounds(Zn.axis.x.track.rect)),(Zn.axis.y.isOverflowing||Zn.axis.y.forceVisible)&&(dn=Zn.isWithinBounds(Zn.axis.y.track.rect)),(Zt||dn)&&(nr.preventDefault(),nr.stopPropagation(),"mousedown"===nr.type&&(Zt&&(Zn.axis.x.scrollbar.rect=Zn.axis.x.scrollbar.el.getBoundingClientRect(),Zn.isWithinBounds(Zn.axis.x.scrollbar.rect)?Zn.onDragStart(nr,"x"):Zn.onTrackClick(nr,"x")),dn&&(Zn.axis.y.scrollbar.rect=Zn.axis.y.scrollbar.el.getBoundingClientRect(),Zn.isWithinBounds(Zn.axis.y.scrollbar.rect)?Zn.onDragStart(nr,"y"):Zn.onTrackClick(nr,"y"))))},this.drag=function(nr){var dn=Zn.axis[Zn.draggedAxis].track,Ge=dn.rect[Zn.axis[Zn.draggedAxis].sizeAttr],Ot=Zn.axis[Zn.draggedAxis].scrollbar,mn=Zn.contentWrapperEl[Zn.axis[Zn.draggedAxis].scrollSizeAttr],wr=parseInt(Zn.elStyles[Zn.axis[Zn.draggedAxis].sizeAttr],10);nr.preventDefault(),nr.stopPropagation();var Ai=(("y"===Zn.draggedAxis?nr.pageY:nr.pageX)-dn.rect[Zn.axis[Zn.draggedAxis].offsetAttr]-Zn.axis[Zn.draggedAxis].dragOffset)/(Ge-Ot.size)*(mn-wr);"x"===Zn.draggedAxis&&(Ai=Zn.isRtl&&Pn.getRtlHelpers().isRtlScrollbarInverted?Ai-(Ge+Ot.size):Ai,Ai=Zn.isRtl&&Pn.getRtlHelpers().isRtlScrollingInverted?-Ai:Ai),Zn.contentWrapperEl[Zn.axis[Zn.draggedAxis].scrollOffsetAttr]=Ai},this.onEndDrag=function(nr){var Zt=Fe(Zn.el),dn=jt(Zn.el);nr.preventDefault(),nr.stopPropagation(),Zn.el.classList.remove(Zn.classNames.dragging),Zt.removeEventListener("mousemove",Zn.drag,!0),Zt.removeEventListener("mouseup",Zn.onEndDrag,!0),Zn.removePreventClickId=dn.setTimeout(function(){Zt.removeEventListener("click",Zn.preventClick,!0),Zt.removeEventListener("dblclick",Zn.preventClick,!0),Zn.removePreventClickId=null})},this.preventClick=function(nr){nr.preventDefault(),nr.stopPropagation()},this.el=Pr,this.minScrollbarWidth=20,this.options=Object.assign({},Pn.defaultOptions,tr),this.classNames=Object.assign({},Pn.defaultOptions.classNames,this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,!Pn.instances.has(this.el)&&(this.recalculate=w()(this.recalculate.bind(this),64),this.onMouseMove=w()(this.onMouseMove.bind(this),64),this.hideScrollbars=U()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=U()(this.onWindowResize.bind(this),64,{leading:!0}),Pn.getRtlHelpers=$()(Pn.getRtlHelpers),this.init())}Pn.getRtlHelpers=function(){var tr=document.createElement("div");tr.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var Zn=tr.firstElementChild;document.body.appendChild(Zn);var nr=Zn.firstElementChild;Zn.scrollLeft=0;var Zt=Pn.getOffset(Zn),dn=Pn.getOffset(nr);Zn.scrollLeft=999;var Ge=Pn.getOffset(nr);return{isRtlScrollingInverted:Zt.left!==dn.left&&dn.left-Ge.left!=0,isRtlScrollbarInverted:Zt.left!==dn.left}},Pn.getOffset=function(tr){var Zn=tr.getBoundingClientRect(),nr=Fe(tr),Zt=jt(tr);return{top:Zn.top+(Zt.pageYOffset||nr.documentElement.scrollTop),left:Zn.left+(Zt.pageXOffset||nr.documentElement.scrollLeft)}};var _r=Pn.prototype;return _r.init=function(){Pn.instances.set(this.el,this),po()&&(this.initDOM(),this.setAccessibilityAttributes(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},_r.initDOM=function(){var tr=this;if(Array.prototype.filter.call(this.el.children,function(Zt){return Zt.classList.contains(tr.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var Zn=document.createElement("div"),nr=document.createElement("div");Zn.classList.add(this.classNames.track),nr.classList.add(this.classNames.scrollbar),Zn.appendChild(nr),this.axis.x.track.el=Zn.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=Zn.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},_r.setAccessibilityAttributes=function(){var tr=this.options.ariaLabel||"scrollable content";this.contentWrapperEl.setAttribute("tabindex","0"),this.contentWrapperEl.setAttribute("role","region"),this.contentWrapperEl.setAttribute("aria-label",tr)},_r.initListeners=function(){var tr=this,Zn=jt(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(Ge){tr.el.addEventListener(Ge,tr.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(Ge){tr.el.addEventListener(Ge,tr.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),Zn.addEventListener("resize",this.onWindowResize);var nr=!1,Zt=null;this.resizeObserver=new(Zn.ResizeObserver||pr)(function(){!nr||null!==Zt||(Zt=Zn.requestAnimationFrame(function(){tr.recalculate(),Zt=null}))}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),Zn.requestAnimationFrame(function(){nr=!0}),this.mutationObserver=new Zn.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},_r.recalculate=function(){var tr=jt(this.el);this.elStyles=tr.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var Zn=this.heightAutoObserverEl.offsetHeight<=1,nr=this.heightAutoObserverEl.offsetWidth<=1,Zt=this.contentEl.offsetWidth,dn=this.contentWrapperEl.offsetWidth,Ge=this.elStyles.overflowX,Ot=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var mn=this.contentEl.scrollHeight,wr=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=Zn?"auto":"100%",this.placeholderEl.style.width=nr?Zt+"px":"auto",this.placeholderEl.style.height=mn+"px";var Ti=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=wr>Zt,this.axis.y.isOverflowing=mn>Ti,this.axis.x.isOverflowing="hidden"!==Ge&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==Ot&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var Ci=this.axis.x.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&wr>dn-(this.axis.y.isOverflowing?this.scrollbarWidth:0),this.axis.y.isOverflowing=this.axis.y.isOverflowing&&mn>Ti-Ci,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},_r.getScrollbarSize=function(tr){if(void 0===tr&&(tr="y"),!this.axis[tr].isOverflowing)return 0;var Zt,nr=this.axis[tr].track.el[this.axis[tr].offsetSizeAttr];return Zt=Math.max(~~(nr/this.contentEl[this.axis[tr].scrollSizeAttr]*nr),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(Zt=Math.min(Zt,this.options.scrollbarMaxSize)),Zt},_r.positionScrollbar=function(tr){if(void 0===tr&&(tr="y"),this.axis[tr].isOverflowing){var Zn=this.contentWrapperEl[this.axis[tr].scrollSizeAttr],nr=this.axis[tr].track.el[this.axis[tr].offsetSizeAttr],Zt=parseInt(this.elStyles[this.axis[tr].sizeAttr],10),dn=this.axis[tr].scrollbar,Ge=this.contentWrapperEl[this.axis[tr].scrollOffsetAttr],mn=~~((Ge="x"===tr&&this.isRtl&&Pn.getRtlHelpers().isRtlScrollingInverted?-Ge:Ge)/(Zn-Zt)*(nr-dn.size));mn="x"===tr&&this.isRtl&&Pn.getRtlHelpers().isRtlScrollbarInverted?mn+(nr-dn.size):mn,dn.el.style.transform="x"===tr?"translate3d("+mn+"px, 0, 0)":"translate3d(0, "+mn+"px, 0)"}},_r.toggleTrackVisibility=function(tr){void 0===tr&&(tr="y");var Zn=this.axis[tr].track.el,nr=this.axis[tr].scrollbar.el;this.axis[tr].isOverflowing||this.axis[tr].forceVisible?(Zn.style.visibility="visible",this.contentWrapperEl.style[this.axis[tr].overflowAttr]="scroll"):(Zn.style.visibility="hidden",this.contentWrapperEl.style[this.axis[tr].overflowAttr]="hidden"),nr.style.display=this.axis[tr].isOverflowing?"block":"none"},_r.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},_r.onMouseMoveForAxis=function(tr){void 0===tr&&(tr="y"),this.axis[tr].track.rect=this.axis[tr].track.el.getBoundingClientRect(),this.axis[tr].scrollbar.rect=this.axis[tr].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[tr].scrollbar.rect)?this.axis[tr].scrollbar.el.classList.add(this.classNames.hover):this.axis[tr].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[tr].track.rect)?(this.showScrollbar(tr),this.axis[tr].track.el.classList.add(this.classNames.hover)):this.axis[tr].track.el.classList.remove(this.classNames.hover)},_r.onMouseLeaveForAxis=function(tr){void 0===tr&&(tr="y"),this.axis[tr].track.el.classList.remove(this.classNames.hover),this.axis[tr].scrollbar.el.classList.remove(this.classNames.hover)},_r.showScrollbar=function(tr){void 0===tr&&(tr="y"),this.axis[tr].isVisible||(this.axis[tr].scrollbar.el.classList.add(this.classNames.visible),this.axis[tr].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},_r.onDragStart=function(tr,Zn){void 0===Zn&&(Zn="y");var nr=Fe(this.el),Zt=jt(this.el);this.axis[Zn].dragOffset=("y"===Zn?tr.pageY:tr.pageX)-this.axis[Zn].scrollbar.rect[this.axis[Zn].offsetAttr],this.draggedAxis=Zn,this.el.classList.add(this.classNames.dragging),nr.addEventListener("mousemove",this.drag,!0),nr.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(nr.addEventListener("click",this.preventClick,!0),nr.addEventListener("dblclick",this.preventClick,!0)):(Zt.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},_r.onTrackClick=function(tr,Zn){var nr=this;if(void 0===Zn&&(Zn="y"),this.options.clickOnTrack){var Zt=jt(this.el);this.axis[Zn].scrollbar.rect=this.axis[Zn].scrollbar.el.getBoundingClientRect();var Ge=this.axis[Zn].scrollbar.rect[this.axis[Zn].offsetAttr],Ot=parseInt(this.elStyles[this.axis[Zn].sizeAttr],10),mn=this.contentWrapperEl[this.axis[Zn].scrollOffsetAttr],Ti=("y"===Zn?this.mouseY-Ge:this.mouseX-Ge)<0?-1:1,Ci=-1===Ti?mn-Ot:mn+Ot;!function Ko(){var _s;if(-1===Ti)mn>Ci&&(nr.contentWrapperEl.scrollTo(((_s={})[nr.axis[Zn].offsetAttr]=mn-=nr.options.clickOnTrackSpeed,_s)),Zt.requestAnimationFrame(Ko));else if(mn<Ci){var dr;nr.contentWrapperEl.scrollTo(((dr={})[nr.axis[Zn].offsetAttr]=mn+=nr.options.clickOnTrackSpeed,dr)),Zt.requestAnimationFrame(Ko)}}()}},_r.getContentElement=function(){return this.contentEl},_r.getScrollElement=function(){return this.contentWrapperEl},_r.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:ze(this.el)}catch{return ze(this.el)}},_r.removeListeners=function(){var tr=this,Zn=jt(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(nr){tr.el.removeEventListener(nr,tr.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(nr){tr.el.removeEventListener(nr,tr.onPointerEvent,{capture:!0,passive:!0})}),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),Zn.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},_r.unMount=function(){this.removeListeners(),Pn.instances.delete(this.el)},_r.isWithinBounds=function(tr){return this.mouseX>=tr.left&&this.mouseX<=tr.left+tr.width&&this.mouseY>=tr.top&&this.mouseY<=tr.top+tr.height},_r.findChild=function(tr,Zn){var nr=tr.matches||tr.webkitMatchesSelector||tr.mozMatchesSelector||tr.msMatchesSelector;return Array.prototype.filter.call(tr.children,function(Zt){return nr.call(Zt,Zn)})[0]},Pn}();an.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},an.instances=new WeakMap;const lt=an;var Rt=s(64537);const Pe=["*"];let qn=(()=>{class Pn{constructor(Pr){this.elRef=Pr}ngOnInit(){}ngAfterViewInit(){this.SimpleBar=new lt(this.elRef.nativeElement,this.options||{})}ngOnDestroy(){this.SimpleBar.unMount(),this.SimpleBar=null}}return Pn.\u0275fac=function(Pr){return new(Pr||Pn)(Rt.Y36(Rt.SBq))},Pn.\u0275cmp=Rt.Xpm({type:Pn,selectors:[["ngx-simplebar"]],hostAttrs:["data-simplebar","init"],inputs:{options:"options"},ngContentSelectors:Pe,decls:13,vars:0,consts:[[1,"simplebar-wrapper"],[1,"simplebar-height-auto-observer-wrapper"],[1,"simplebar-height-auto-observer"],[1,"simplebar-mask"],[1,"simplebar-offset"],[1,"simplebar-content-wrapper"],[1,"simplebar-content"],[1,"simplebar-placeholder"],[1,"simplebar-track","simplebar-horizontal"],[1,"simplebar-scrollbar"],[1,"simplebar-track","simplebar-vertical"]],template:function(Pr,tr){1&Pr&&(Rt.F$t(),Rt.TgZ(0,"div",0)(1,"div",1),Rt._UZ(2,"div",2),Rt.qZA(),Rt.TgZ(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6),Rt.Hsn(7),Rt.qZA()()()(),Rt._UZ(8,"div",7),Rt.qZA(),Rt.TgZ(9,"div",8),Rt._UZ(10,"div",9),Rt.qZA(),Rt.TgZ(11,"div",10),Rt._UZ(12,"div",9),Rt.qZA())},styles:["[data-simplebar]{position:relative;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;flex-wrap:wrap;-webkit-box-pack:start;justify-content:flex-start;align-content:flex-start;-webkit-box-align:start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:' ';display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;-webkit-box-flex:inherit;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:'';background:#000;border-radius:7px;left:2px;right:2px;opacity:0;-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;-webkit-transition:opacity linear;transition:opacity linear}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{top:2px;bottom:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.hs-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}","ngx-simplebar{display:block}"],encapsulation:2}),Pn})(),gr=(()=>{class Pn{}return Pn.\u0275fac=function(Pr){return new(Pr||Pn)},Pn.\u0275mod=Rt.oAB({type:Pn}),Pn.\u0275inj=Rt.cJS({}),Pn})()},89159:E=>{var ht,C="Expected a function",s="__lodash_hash_undefined__",r="[object Function]",a="[object GeneratorFunction]",u=/^\[object .+?Constructor\]$/,e="object"==typeof global&&global&&global.Object===Object&&global,f="object"==typeof self&&self&&self.Object===Object&&self,m=e||f||Function("return this")(),w=Array.prototype,D=Function.prototype,U=Object.prototype,W=m["__core-js_shared__"],$=(ht=/[^.]+$/.exec(W&&W.keys&&W.keys.IE_PROTO||""))?"Symbol(src)_1."+ht:"",J=D.toString,F=U.hasOwnProperty,X=U.toString,de=RegExp("^"+J.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),V=w.splice,ce=xn(m,"Map"),se=xn(Object,"create");function fe(ht){var Wt=-1,Tt=ht?ht.length:0;for(this.clear();++Wt<Tt;){var wn=ht[Wt];this.set(wn[0],wn[1])}}function ct(ht){var Wt=-1,Tt=ht?ht.length:0;for(this.clear();++Wt<Tt;){var wn=ht[Wt];this.set(wn[0],wn[1])}}function it(ht){var Wt=-1,Tt=ht?ht.length:0;for(this.clear();++Wt<Tt;){var wn=ht[Wt];this.set(wn[0],wn[1])}}function qt(ht,Wt){for(var Tt=ht.length;Tt--;)if(Qr(ht[Tt][0],Wt))return Tt;return-1}function fn(ht,Wt){var Tt=ht.__data__;return function Kr(ht){var Wt=typeof ht;return"string"==Wt||"number"==Wt||"symbol"==Wt||"boolean"==Wt?"__proto__"!==ht:null===ht}(Wt)?Tt["string"==typeof Wt?"string":"hash"]:Tt.map}function xn(ht,Wt){var Tt=function T(ht,Wt){return ht?.[Wt]}(ht,Wt);return function sn(ht){if(!br(ht)||function Or(ht){return!!$&&$ in ht}(ht))return!1;var Wt=function jr(ht){var Wt=br(ht)?X.call(ht):"";return Wt==r||Wt==a}(ht)||function M(ht){var Wt=!1;if(null!=ht&&"function"!=typeof ht.toString)try{Wt=!!(ht+"")}catch{}return Wt}(ht)?de:u;return Wt.test(function Lr(ht){if(null!=ht){try{return J.call(ht)}catch{}try{return ht+""}catch{}}return""}(ht))}(Tt)?Tt:void 0}function ir(ht,Wt){if("function"!=typeof ht||Wt&&"function"!=typeof Wt)throw new TypeError(C);var Tt=function(){var wn=arguments,jn=Wt?Wt.apply(this,wn):wn[0],hr=Tt.cache;if(hr.has(jn))return hr.get(jn);var Oi=ht.apply(this,wn);return Tt.cache=hr.set(jn,Oi),Oi};return Tt.cache=new(ir.Cache||it),Tt}function Qr(ht,Wt){return ht===Wt||ht!=ht&&Wt!=Wt}function br(ht){var Wt=typeof ht;return!!ht&&("object"==Wt||"function"==Wt)}fe.prototype.clear=function Te(){this.__data__=se?se(null):{}},fe.prototype.delete=function $e(ht){return this.has(ht)&&delete this.__data__[ht]},fe.prototype.get=function ge(ht){var Wt=this.__data__;if(se){var Tt=Wt[ht];return Tt===s?void 0:Tt}return F.call(Wt,ht)?Wt[ht]:void 0},fe.prototype.has=function Et(ht){var Wt=this.__data__;return se?void 0!==Wt[ht]:F.call(Wt,ht)},fe.prototype.set=function ot(ht,Wt){return this.__data__[ht]=se&&void 0===Wt?s:Wt,this},ct.prototype.clear=function qe(){this.__data__=[]},ct.prototype.delete=function He(ht){var Wt=this.__data__,Tt=qt(Wt,ht);return!(Tt<0||(Tt==Wt.length-1?Wt.pop():V.call(Wt,Tt,1),0))},ct.prototype.get=function We(ht){var Wt=this.__data__,Tt=qt(Wt,ht);return Tt<0?void 0:Wt[Tt][1]},ct.prototype.has=function Le(ht){return qt(this.__data__,ht)>-1},ct.prototype.set=function Pt(ht,Wt){var Tt=this.__data__,wn=qt(Tt,ht);return wn<0?Tt.push([ht,Wt]):Tt[wn][1]=Wt,this},it.prototype.clear=function Xt(){this.__data__={hash:new fe,map:new(ce||ct),string:new fe}},it.prototype.delete=function cn(ht){return fn(this,ht).delete(ht)},it.prototype.get=function pn(ht){return fn(this,ht).get(ht)},it.prototype.has=function Rn(ht){return fn(this,ht).has(ht)},it.prototype.set=function At(ht,Wt){return fn(this,ht).set(ht,Wt),this},ir.Cache=it,E.exports=ir},46295:(E,C)=>{"use strict";C.parse=function a(T,M){if("string"!=typeof T)throw new TypeError("argument str must be a string");for(var w={},U=(M||{}).decode||u,W=0;W<T.length;){var $=T.indexOf("=",W);if(-1===$)break;var J=T.indexOf(";",W);if(-1===J)J=T.length;else if(J<$){W=T.lastIndexOf(";",$-1)+1;continue}var F=T.slice(W,$).trim();if(void 0===w[F]){var X=T.slice($+1,J).trim();34===X.charCodeAt(0)&&(X=X.slice(1,-1)),w[F]=m(X,U)}W=J+1}return w},C.serialize=function c(T,M,w){var D=w||{},U=D.encode||e;if("function"!=typeof U)throw new TypeError("option encode is invalid");if(!r.test(T))throw new TypeError("argument name is invalid");var W=U(M);if(W&&!r.test(W))throw new TypeError("argument val is invalid");var $=T+"="+W;if(null!=D.maxAge){var J=D.maxAge-0;if(isNaN(J)||!isFinite(J))throw new TypeError("option maxAge is invalid");$+="; Max-Age="+Math.floor(J)}if(D.domain){if(!r.test(D.domain))throw new TypeError("option domain is invalid");$+="; Domain="+D.domain}if(D.path){if(!r.test(D.path))throw new TypeError("option path is invalid");$+="; Path="+D.path}if(D.expires){var F=D.expires;if(!function f(T){return"[object Date]"===s.call(T)||T instanceof Date}(F)||isNaN(F.valueOf()))throw new TypeError("option expires is invalid");$+="; Expires="+F.toUTCString()}if(D.httpOnly&&($+="; HttpOnly"),D.secure&&($+="; Secure"),D.priority)switch("string"==typeof D.priority?D.priority.toLowerCase():D.priority){case"low":$+="; Priority=Low";break;case"medium":$+="; Priority=Medium";break;case"high":$+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(D.sameSite)switch("string"==typeof D.sameSite?D.sameSite.toLowerCase():D.sameSite){case!0:$+="; SameSite=Strict";break;case"lax":$+="; SameSite=Lax";break;case"strict":$+="; SameSite=Strict";break;case"none":$+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return $};var s=Object.prototype.toString,r=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function u(T){return-1!==T.indexOf("%")?decodeURIComponent(T):T}function e(T){return encodeURIComponent(T)}function m(T,M){try{return M(T)}catch{return T}}},82312:E=>{"use strict";var C=function(X){return function s(F){return!!F&&"object"==typeof F}(X)&&!function r(F){var X=Object.prototype.toString.call(F);return"[object RegExp]"===X||"[object Date]"===X||function u(F){return F.$$typeof===c}(F)}(X)},c="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function f(F,X){return!1!==X.clone&&X.isMergeableObject(F)?$(function e(F){return Array.isArray(F)?[]:{}}(F),F,X):F}function m(F,X,de){return F.concat(X).map(function(V){return f(V,de)})}function w(F){return Object.keys(F).concat(function M(F){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(F).filter(function(X){return Object.propertyIsEnumerable.call(F,X)}):[]}(F))}function D(F,X){try{return X in F}catch{return!1}}function $(F,X,de){(de=de||{}).arrayMerge=de.arrayMerge||m,de.isMergeableObject=de.isMergeableObject||C,de.cloneUnlessOtherwiseSpecified=f;var V=Array.isArray(X);return V===Array.isArray(F)?V?de.arrayMerge(F,X,de):function W(F,X,de){var V={};return de.isMergeableObject(F)&&w(F).forEach(function(ce){V[ce]=f(F[ce],de)}),w(X).forEach(function(ce){(function U(F,X){return D(F,X)&&!(Object.hasOwnProperty.call(F,X)&&Object.propertyIsEnumerable.call(F,X))})(F,ce)||(V[ce]=D(F,ce)&&de.isMergeableObject(X[ce])?function T(F,X){if(!X.customMerge)return $;var de=X.customMerge(F);return"function"==typeof de?de:$}(ce,de)(F[ce],X[ce],de):f(X[ce],de))}),V}(F,X,de):f(X,de)}$.all=function(X,de){if(!Array.isArray(X))throw new Error("first argument should be an array");return X.reduce(function(V,ce){return $(V,ce,de)},{})},E.exports=$},90819:E=>{"use strict";var C=String.prototype.replace,s=/%20/g;E.exports={default:"RFC3986",formatters:{RFC1738:function(a){return C.call(a,s,"+")},RFC3986:function(a){return String(a)}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},79257:(E,C,s)=>{"use strict";var r=s(35934),a=s(62402),c=s(90819);E.exports={formats:c,parse:a,stringify:r}},62402:(E,C,s)=>{"use strict";var r=s(11622),a=Object.prototype.hasOwnProperty,c=Array.isArray,u={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},f=function(W,$){return W&&"string"==typeof W&&$.comma&&W.indexOf(",")>-1?W.split(","):W},D=function($,J,F,X){if($){var de=F.allowDots?$.replace(/\.([^.[]+)/g,"[$1]"):$,ce=/(\[[^[\]]*])/g,se=F.depth>0&&/(\[[^[\]]*])/.exec(de),fe=se?de.slice(0,se.index):de,Te=[];if(fe){if(!F.plainObjects&&a.call(Object.prototype,fe)&&!F.allowPrototypes)return;Te.push(fe)}for(var $e=0;F.depth>0&&null!==(se=ce.exec(de))&&$e<F.depth;){if($e+=1,!F.plainObjects&&a.call(Object.prototype,se[1].slice(1,-1))&&!F.allowPrototypes)return;Te.push(se[1])}return se&&Te.push("["+de.slice(se.index)+"]"),function(W,$,J,F){for(var X=F?$:f($,J),de=W.length-1;de>=0;--de){var V,ce=W[de];if("[]"===ce&&J.parseArrays)V=[].concat(X);else{V=J.plainObjects?Object.create(null):{};var se="["===ce.charAt(0)&&"]"===ce.charAt(ce.length-1)?ce.slice(1,-1):ce,fe=parseInt(se,10);J.parseArrays||""!==se?!isNaN(fe)&&ce!==se&&String(fe)===se&&fe>=0&&J.parseArrays&&fe<=J.arrayLimit?(V=[])[fe]=X:"__proto__"!==se&&(V[se]=X):V={0:X}}X=V}return X}(Te,J,F,X)}};E.exports=function(W,$){var J=function($){if(!$)return u;if(null!=$.decoder&&"function"!=typeof $.decoder)throw new TypeError("Decoder has to be a function.");if(typeof $.charset<"u"&&"utf-8"!==$.charset&&"iso-8859-1"!==$.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");return{allowDots:typeof $.allowDots>"u"?u.allowDots:!!$.allowDots,allowPrototypes:"boolean"==typeof $.allowPrototypes?$.allowPrototypes:u.allowPrototypes,allowSparse:"boolean"==typeof $.allowSparse?$.allowSparse:u.allowSparse,arrayLimit:"number"==typeof $.arrayLimit?$.arrayLimit:u.arrayLimit,charset:typeof $.charset>"u"?u.charset:$.charset,charsetSentinel:"boolean"==typeof $.charsetSentinel?$.charsetSentinel:u.charsetSentinel,comma:"boolean"==typeof $.comma?$.comma:u.comma,decoder:"function"==typeof $.decoder?$.decoder:u.decoder,delimiter:"string"==typeof $.delimiter||r.isRegExp($.delimiter)?$.delimiter:u.delimiter,depth:"number"==typeof $.depth||!1===$.depth?+$.depth:u.depth,ignoreQueryPrefix:!0===$.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof $.interpretNumericEntities?$.interpretNumericEntities:u.interpretNumericEntities,parameterLimit:"number"==typeof $.parameterLimit?$.parameterLimit:u.parameterLimit,parseArrays:!1!==$.parseArrays,plainObjects:"boolean"==typeof $.plainObjects?$.plainObjects:u.plainObjects,strictNullHandling:"boolean"==typeof $.strictNullHandling?$.strictNullHandling:u.strictNullHandling}}($);if(""===W||null===W||typeof W>"u")return J.plainObjects?Object.create(null):{};for(var F="string"==typeof W?function($,J){var se,F={__proto__:null},V=(J.ignoreQueryPrefix?$.replace(/^\?/,""):$).split(J.delimiter,J.parameterLimit===1/0?void 0:J.parameterLimit),ce=-1,fe=J.charset;if(J.charsetSentinel)for(se=0;se<V.length;++se)0===V[se].indexOf("utf8=")&&("utf8=%E2%9C%93"===V[se]?fe="utf-8":"utf8=%26%2310003%3B"===V[se]&&(fe="iso-8859-1"),ce=se,se=V.length);for(se=0;se<V.length;++se)if(se!==ce){var Et,ot,Te=V[se],$e=Te.indexOf("]="),ge=-1===$e?Te.indexOf("="):$e+1;-1===ge?(Et=J.decoder(Te,u.decoder,fe,"key"),ot=J.strictNullHandling?null:""):(Et=J.decoder(Te.slice(0,ge),u.decoder,fe,"key"),ot=r.maybeMap(f(Te.slice(ge+1),J),function(ct){return J.decoder(ct,u.decoder,fe,"value")})),ot&&J.interpretNumericEntities&&"iso-8859-1"===fe&&(ot=ot.replace(/&#(\d+);/g,function($,J){return String.fromCharCode(parseInt(J,10))})),Te.indexOf("[]=")>-1&&(ot=c(ot)?[ot]:ot),F[Et]=a.call(F,Et)?r.combine(F[Et],ot):ot}return F}(W,J):W,X=J.plainObjects?Object.create(null):{},de=Object.keys(F),V=0;V<de.length;++V){var ce=de[V],se=D(ce,F[ce],J,"string"==typeof W);X=r.merge(X,se,J)}return!0===J.allowSparse?X:r.compact(X)}},35934:(E,C,s)=>{"use strict";var r=s(11144),a=s(11622),c=s(90819),u=Object.prototype.hasOwnProperty,e={brackets:function(X){return X+"[]"},comma:"comma",indices:function(X,de){return X+"["+de+"]"},repeat:function(X){return X}},f=Array.isArray,m=Array.prototype.push,T=function(F,X){m.apply(F,f(X)?X:[X])},M=Date.prototype.toISOString,w=c.default,D={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:w,formatter:c.formatters[w],indices:!1,serializeDate:function(X){return M.call(X)},skipNulls:!1,strictNullHandling:!1},W={},$=function F(X,de,V,ce,se,fe,Te,$e,ge,Et,ot,ct,qe,He,We,Le){for(var Pt=X,it=Le,Xt=0,cn=!1;void 0!==(it=it.get(W))&&!cn;){var pn=it.get(X);if(Xt+=1,typeof pn<"u"){if(pn===Xt)throw new RangeError("Cyclic object value");cn=!0}typeof it.get(W)>"u"&&(Xt=0)}if("function"==typeof $e?Pt=$e(de,Pt):Pt instanceof Date?Pt=ot(Pt):"comma"===V&&f(Pt)&&(Pt=a.maybeMap(Pt,function(Qr){return Qr instanceof Date?ot(Qr):Qr})),null===Pt){if(se)return Te&&!He?Te(de,D.encoder,We,"key",ct):de;Pt=""}if(function(X){return"string"==typeof X||"number"==typeof X||"boolean"==typeof X||"symbol"==typeof X||"bigint"==typeof X}(Pt)||a.isBuffer(Pt))return Te?[qe(He?de:Te(de,D.encoder,We,"key",ct))+"="+qe(Te(Pt,D.encoder,We,"value",ct))]:[qe(de)+"="+qe(String(Pt))];var qt,At=[];if(typeof Pt>"u")return At;if("comma"===V&&f(Pt))He&&Te&&(Pt=a.maybeMap(Pt,Te)),qt=[{value:Pt.length>0?Pt.join(",")||null:void 0}];else if(f($e))qt=$e;else{var sn=Object.keys(Pt);qt=ge?sn.sort(ge):sn}for(var fn=ce&&f(Pt)&&1===Pt.length?de+"[]":de,xn=0;xn<qt.length;++xn){var Kr=qt[xn],Or="object"==typeof Kr&&typeof Kr.value<"u"?Kr.value:Pt[Kr];if(!fe||null!==Or){var Lr=f(Pt)?"function"==typeof V?V(fn,Kr):fn:fn+(Et?"."+Kr:"["+Kr+"]");Le.set(X,Xt);var ir=r();ir.set(W,Le),T(At,F(Or,Lr,V,ce,se,fe,"comma"===V&&He&&f(Pt)?null:Te,$e,ge,Et,ot,ct,qe,He,We,ir))}}return At};E.exports=function(F,X){var ce,de=F,V=function(X){if(!X)return D;if(null!==X.encoder&&typeof X.encoder<"u"&&"function"!=typeof X.encoder)throw new TypeError("Encoder has to be a function.");var de=X.charset||D.charset;if(typeof X.charset<"u"&&"utf-8"!==X.charset&&"iso-8859-1"!==X.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var V=c.default;if(typeof X.format<"u"){if(!u.call(c.formatters,X.format))throw new TypeError("Unknown format option provided.");V=X.format}var ce=c.formatters[V],se=D.filter;return("function"==typeof X.filter||f(X.filter))&&(se=X.filter),{addQueryPrefix:"boolean"==typeof X.addQueryPrefix?X.addQueryPrefix:D.addQueryPrefix,allowDots:typeof X.allowDots>"u"?D.allowDots:!!X.allowDots,charset:de,charsetSentinel:"boolean"==typeof X.charsetSentinel?X.charsetSentinel:D.charsetSentinel,delimiter:typeof X.delimiter>"u"?D.delimiter:X.delimiter,encode:"boolean"==typeof X.encode?X.encode:D.encode,encoder:"function"==typeof X.encoder?X.encoder:D.encoder,encodeValuesOnly:"boolean"==typeof X.encodeValuesOnly?X.encodeValuesOnly:D.encodeValuesOnly,filter:se,format:V,formatter:ce,serializeDate:"function"==typeof X.serializeDate?X.serializeDate:D.serializeDate,skipNulls:"boolean"==typeof X.skipNulls?X.skipNulls:D.skipNulls,sort:"function"==typeof X.sort?X.sort:null,strictNullHandling:"boolean"==typeof X.strictNullHandling?X.strictNullHandling:D.strictNullHandling}}(X);"function"==typeof V.filter?de=(0,V.filter)("",de):f(V.filter)&&(ce=V.filter);var fe=[];if("object"!=typeof de||null===de)return"";var $e=e[X&&X.arrayFormat in e?X.arrayFormat:X&&"indices"in X?X.indices?"indices":"repeat":"indices"];if(X&&"commaRoundTrip"in X&&"boolean"!=typeof X.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var ge="comma"===$e&&X&&X.commaRoundTrip;ce||(ce=Object.keys(de)),V.sort&&ce.sort(V.sort);for(var Et=r(),ot=0;ot<ce.length;++ot){var ct=ce[ot];V.skipNulls&&null===de[ct]||T(fe,$(de[ct],ct,$e,ge,V.strictNullHandling,V.skipNulls,V.encode?V.encoder:null,V.filter,V.sort,V.allowDots,V.serializeDate,V.format,V.formatter,V.encodeValuesOnly,V.charset,Et))}var qe=fe.join(V.delimiter),He=!0===V.addQueryPrefix?"?":"";return V.charsetSentinel&&(He+="iso-8859-1"===V.charset?"utf8=%26%2310003%3B&":"utf8=%E2%9C%93&"),qe.length>0?He+qe:""}},11622:(E,C,s)=>{"use strict";var r=s(90819),a=Object.prototype.hasOwnProperty,c=Array.isArray,u=function(){for(var F=[],X=0;X<256;++X)F.push("%"+((X<16?"0":"")+X.toString(16)).toUpperCase());return F}(),f=function(X,de){for(var V=de&&de.plainObjects?Object.create(null):{},ce=0;ce<X.length;++ce)typeof X[ce]<"u"&&(V[ce]=X[ce]);return V};E.exports={arrayToObject:f,assign:function(X,de){return Object.keys(de).reduce(function(V,ce){return V[ce]=de[ce],V},X)},combine:function(X,de){return[].concat(X,de)},compact:function(X){for(var de=[{obj:{o:X},prop:"o"}],V=[],ce=0;ce<de.length;++ce)for(var se=de[ce],fe=se.obj[se.prop],Te=Object.keys(fe),$e=0;$e<Te.length;++$e){var ge=Te[$e],Et=fe[ge];"object"==typeof Et&&null!==Et&&-1===V.indexOf(Et)&&(de.push({obj:fe,prop:ge}),V.push(Et))}return function(X){for(;X.length>1;){var de=X.pop(),V=de.obj[de.prop];if(c(V)){for(var ce=[],se=0;se<V.length;++se)typeof V[se]<"u"&&ce.push(V[se]);de.obj[de.prop]=ce}}}(de),X},decode:function(F,X,de){var V=F.replace(/\+/g," ");if("iso-8859-1"===de)return V.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(V)}catch{return V}},encode:function(X,de,V,ce,se){if(0===X.length)return X;var fe=X;if("symbol"==typeof X?fe=Symbol.prototype.toString.call(X):"string"!=typeof X&&(fe=String(X)),"iso-8859-1"===V)return escape(fe).replace(/%u[0-9a-f]{4}/gi,function(Et){return"%26%23"+parseInt(Et.slice(2),16)+"%3B"});for(var Te="",$e=0;$e<fe.length;++$e){var ge=fe.charCodeAt($e);45===ge||46===ge||95===ge||126===ge||ge>=48&&ge<=57||ge>=65&&ge<=90||ge>=97&&ge<=122||se===r.RFC1738&&(40===ge||41===ge)?Te+=fe.charAt($e):ge<128?Te+=u[ge]:ge<2048?Te+=u[192|ge>>6]+u[128|63&ge]:ge<55296||ge>=57344?Te+=u[224|ge>>12]+u[128|ge>>6&63]+u[128|63&ge]:(ge=65536+((1023&ge)<<10|1023&fe.charCodeAt($e+=1)),Te+=u[240|ge>>18]+u[128|ge>>12&63]+u[128|ge>>6&63]+u[128|63&ge])}return Te},isBuffer:function(X){return!(!X||"object"!=typeof X||!(X.constructor&&X.constructor.isBuffer&&X.constructor.isBuffer(X)))},isRegExp:function(X){return"[object RegExp]"===Object.prototype.toString.call(X)},maybeMap:function(X,de){if(c(X)){for(var V=[],ce=0;ce<X.length;ce+=1)V.push(de(X[ce]));return V}return de(X)},merge:function F(X,de,V){if(!de)return X;if("object"!=typeof de){if(c(X))X.push(de);else{if(!X||"object"!=typeof X)return[X,de];(V&&(V.plainObjects||V.allowPrototypes)||!a.call(Object.prototype,de))&&(X[de]=!0)}return X}if(!X||"object"!=typeof X)return[X].concat(de);var ce=X;return c(X)&&!c(de)&&(ce=f(X,V)),c(X)&&c(de)?(de.forEach(function(se,fe){if(a.call(X,fe)){var Te=X[fe];Te&&"object"==typeof Te&&se&&"object"==typeof se?X[fe]=F(Te,se,V):X.push(se)}else X[fe]=se}),X):Object.keys(de).reduce(function(se,fe){var Te=de[fe];return se[fe]=a.call(se,fe)?F(se[fe],Te,V):Te,se},ce)}}},52129:function(E){E.exports=function(){"use strict";var C=Array.prototype.slice;function s(Q,Ee){Ee&&(Q.prototype=Object.create(Ee.prototype)),Q.prototype.constructor=Q}function r(Q){return e(Q)?Q:Lr(Q)}function a(Q){return f(Q)?Q:ir(Q)}function c(Q){return m(Q)?Q:Qr(Q)}function u(Q){return e(Q)&&!T(Q)?Q:jr(Q)}function e(Q){return!(!Q||!Q[w])}function f(Q){return!(!Q||!Q[D])}function m(Q){return!(!Q||!Q[U])}function T(Q){return f(Q)||m(Q)}function M(Q){return!(!Q||!Q[W])}s(a,r),s(c,r),s(u,r),r.isIterable=e,r.isKeyed=f,r.isIndexed=m,r.isAssociative=T,r.isOrdered=M,r.Keyed=a,r.Indexed=c,r.Set=u;var w="@@__IMMUTABLE_ITERABLE__@@",D="@@__IMMUTABLE_KEYED__@@",U="@@__IMMUTABLE_INDEXED__@@",W="@@__IMMUTABLE_ORDERED__@@",$="delete",J=5,F=1<<J,X=F-1,de={},V={value:!1},ce={value:!1};function se(Q){return Q.value=!1,Q}function fe(Q){Q&&(Q.value=!0)}function Te(){}function $e(Q,Ee){Ee=Ee||0;for(var yt=Math.max(0,Q.length-Ee),Xe=new Array(yt),Gt=0;Gt<yt;Gt++)Xe[Gt]=Q[Gt+Ee];return Xe}function ge(Q){return void 0===Q.size&&(Q.size=Q.__iterate(ot)),Q.size}function Et(Q,Ee){if("number"!=typeof Ee){var yt=Ee>>>0;if(""+yt!==Ee||4294967295===yt)return NaN;Ee=yt}return Ee<0?ge(Q)+Ee:Ee}function ot(){return!0}function ct(Q,Ee,yt){return(0===Q||void 0!==yt&&Q<=-yt)&&(void 0===Ee||void 0!==yt&&Ee>=yt)}function qe(Q,Ee){return We(Q,Ee,0)}function He(Q,Ee){return We(Q,Ee,Ee)}function We(Q,Ee,yt){return void 0===Q?yt:Q<0?Math.max(0,Ee+Q):void 0===Ee?Q:Math.min(Ee,Q)}var Le=0,Pt=1,it=2,Xt="function"==typeof Symbol&&Symbol.iterator,cn="@@iterator",pn=Xt||cn;function Rn(Q){this.next=Q}function At(Q,Ee,yt,Xe){var Gt=0===Q?Ee:1===Q?yt:[Ee,yt];return Xe?Xe.value=Gt:Xe={value:Gt,done:!1},Xe}function qt(){return{value:void 0,done:!0}}function sn(Q){return!!Kr(Q)}function fn(Q){return Q&&"function"==typeof Q.next}function xn(Q){var Ee=Kr(Q);return Ee&&Ee.call(Q)}function Kr(Q){var Ee=Q&&(Xt&&Q[Xt]||Q[cn]);if("function"==typeof Ee)return Ee}function Or(Q){return Q&&"number"==typeof Q.length}function Lr(Q){return null==Q?Oi():e(Q)?Q.toSeq():function kr(Q){var Ee=Ei(Q)||"object"==typeof Q&&new Wt(Q);if(!Ee)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+Q);return Ee}(Q)}function ir(Q){return null==Q?Oi().toKeyedSeq():e(Q)?f(Q)?Q.toSeq():Q.fromEntrySeq():Wi(Q)}function Qr(Q){return null==Q?Oi():e(Q)?f(Q)?Q.entrySeq():Q.toIndexedSeq():so(Q)}function jr(Q){return(null==Q?Oi():e(Q)?f(Q)?Q.entrySeq():Q:so(Q)).toSetSeq()}Rn.prototype.toString=function(){return"[Iterator]"},Rn.KEYS=Le,Rn.VALUES=Pt,Rn.ENTRIES=it,Rn.prototype.inspect=Rn.prototype.toSource=function(){return this.toString()},Rn.prototype[pn]=function(){return this},s(Lr,r),Lr.of=function(){return Lr(arguments)},Lr.prototype.toSeq=function(){return this},Lr.prototype.toString=function(){return this.__toString("Seq {","}")},Lr.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Lr.prototype.__iterate=function(Q,Ee){return ii(this,Q,Ee,!0)},Lr.prototype.__iterator=function(Q,Ee){return mr(this,Q,Ee,!0)},s(ir,Lr),ir.prototype.toKeyedSeq=function(){return this},s(Qr,Lr),Qr.of=function(){return Qr(arguments)},Qr.prototype.toIndexedSeq=function(){return this},Qr.prototype.toString=function(){return this.__toString("Seq [","]")},Qr.prototype.__iterate=function(Q,Ee){return ii(this,Q,Ee,!1)},Qr.prototype.__iterator=function(Q,Ee){return mr(this,Q,Ee,!1)},s(jr,Lr),jr.of=function(){return jr(arguments)},jr.prototype.toSetSeq=function(){return this},Lr.isSeq=jn,Lr.Keyed=ir,Lr.Set=jr,Lr.Indexed=Qr;var hr,Hn,Ie,br="@@__IMMUTABLE_SEQ__@@";function ht(Q){this._array=Q,this.size=Q.length}function Wt(Q){var Ee=Object.keys(Q);this._object=Q,this._keys=Ee,this.size=Ee.length}function Tt(Q){this._iterable=Q,this.size=Q.length||Q.size}function wn(Q){this._iterator=Q,this._iteratorCache=[]}function jn(Q){return!(!Q||!Q[br])}function Oi(){return hr||(hr=new ht([]))}function Wi(Q){var Ee=Array.isArray(Q)?new ht(Q).fromEntrySeq():fn(Q)?new wn(Q).fromEntrySeq():sn(Q)?new Tt(Q).fromEntrySeq():"object"==typeof Q?new Wt(Q):void 0;if(!Ee)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+Q);return Ee}function so(Q){var Ee=Ei(Q);if(!Ee)throw new TypeError("Expected Array or iterable object of values: "+Q);return Ee}function Ei(Q){return Or(Q)?new ht(Q):fn(Q)?new wn(Q):sn(Q)?new Tt(Q):void 0}function ii(Q,Ee,yt,Xe){var Gt=Q._cache;if(Gt){for(var An=Gt.length-1,kn=0;kn<=An;kn++){var Hr=Gt[yt?An-kn:kn];if(!1===Ee(Hr[1],Xe?Hr[0]:kn,Q))return kn+1}return kn}return Q.__iterateUncached(Ee,yt)}function mr(Q,Ee,yt,Xe){var Gt=Q._cache;if(Gt){var An=Gt.length-1,kn=0;return new Rn(function(){var Hr=Gt[yt?An-kn:kn];return kn++>An?{value:void 0,done:!0}:At(Ee,Xe?Hr[0]:kn-1,Hr[1])})}return Q.__iteratorUncached(Ee,yt)}function pr(Q,Ee){return Ee?Eo(Ee,Q,"",{"":Q}):po(Q)}function Eo(Q,Ee,yt,Xe){return Array.isArray(Ee)?Q.call(Xe,yt,Qr(Ee).map(function(Gt,An){return Eo(Q,Gt,An,Ee)})):$i(Ee)?Q.call(Xe,yt,ir(Ee).map(function(Gt,An){return Eo(Q,Gt,An,Ee)})):Ee}function po(Q){return Array.isArray(Q)?Qr(Q).map(po).toList():$i(Q)?ir(Q).map(po).toMap():Q}function $i(Q){return Q&&(Q.constructor===Object||void 0===Q.constructor)}function qr(Q,Ee){if(Q===Ee||Q!=Q&&Ee!=Ee)return!0;if(!Q||!Ee)return!1;if("function"==typeof Q.valueOf&&"function"==typeof Ee.valueOf){if((Q=Q.valueOf())===(Ee=Ee.valueOf())||Q!=Q&&Ee!=Ee)return!0;if(!Q||!Ee)return!1}return!("function"!=typeof Q.equals||"function"!=typeof Ee.equals||!Q.equals(Ee))}function Hi(Q,Ee){if(Q===Ee)return!0;if(!e(Ee)||void 0!==Q.size&&void 0!==Ee.size&&Q.size!==Ee.size||void 0!==Q.__hash&&void 0!==Ee.__hash&&Q.__hash!==Ee.__hash||f(Q)!==f(Ee)||m(Q)!==m(Ee)||M(Q)!==M(Ee))return!1;if(0===Q.size&&0===Ee.size)return!0;var yt=!T(Q);if(M(Q)){var Xe=Q.entries();return Ee.every(function(Xr,yr){var Rr=Xe.next().value;return Rr&&qr(Rr[1],Xr)&&(yt||qr(Rr[0],yr))})&&Xe.next().done}var Gt=!1;if(void 0===Q.size)if(void 0===Ee.size)"function"==typeof Q.cacheResult&&Q.cacheResult();else{Gt=!0;var An=Q;Q=Ee,Ee=An}var kn=!0,Hr=Ee.__iterate(function(Xr,yr){if(yt?!Q.has(Xr):Gt?!qr(Xr,Q.get(yr,de)):!qr(Q.get(yr,de),Xr))return kn=!1,!1});return kn&&Q.size===Hr}function Dn(Q,Ee){if(!(this instanceof Dn))return new Dn(Q,Ee);if(this._value=Q,this.size=void 0===Ee?1/0:Math.max(0,Ee),0===this.size){if(Hn)return Hn;Hn=this}}function jt(Q,Ee){if(!Q)throw new Error(Ee)}function Fe(Q,Ee,yt){if(!(this instanceof Fe))return new Fe(Q,Ee,yt);if(jt(0!==yt,"Cannot step a Range by 0"),Q=Q||0,void 0===Ee&&(Ee=1/0),yt=void 0===yt?1:Math.abs(yt),Ee<Q&&(yt=-yt),this._start=Q,this._end=Ee,this._step=yt,this.size=Math.max(0,Math.ceil((Ee-Q)/yt-1)+1),0===this.size){if(Ie)return Ie;Ie=this}}function et(){throw TypeError("Abstract")}function ze(){}function an(){}function lt(){}Lr.prototype[br]=!0,s(ht,Qr),ht.prototype.get=function(Q,Ee){return this.has(Q)?this._array[Et(this,Q)]:Ee},ht.prototype.__iterate=function(Q,Ee){for(var yt=this._array,Xe=yt.length-1,Gt=0;Gt<=Xe;Gt++)if(!1===Q(yt[Ee?Xe-Gt:Gt],Gt,this))return Gt+1;return Gt},ht.prototype.__iterator=function(Q,Ee){var yt=this._array,Xe=yt.length-1,Gt=0;return new Rn(function(){return Gt>Xe?{value:void 0,done:!0}:At(Q,Gt,yt[Ee?Xe-Gt++:Gt++])})},s(Wt,ir),Wt.prototype.get=function(Q,Ee){return void 0===Ee||this.has(Q)?this._object[Q]:Ee},Wt.prototype.has=function(Q){return this._object.hasOwnProperty(Q)},Wt.prototype.__iterate=function(Q,Ee){for(var yt=this._object,Xe=this._keys,Gt=Xe.length-1,An=0;An<=Gt;An++){var kn=Xe[Ee?Gt-An:An];if(!1===Q(yt[kn],kn,this))return An+1}return An},Wt.prototype.__iterator=function(Q,Ee){var yt=this._object,Xe=this._keys,Gt=Xe.length-1,An=0;return new Rn(function(){var kn=Xe[Ee?Gt-An:An];return An++>Gt?{value:void 0,done:!0}:At(Q,kn,yt[kn])})},Wt.prototype[W]=!0,s(Tt,Qr),Tt.prototype.__iterateUncached=function(Q,Ee){if(Ee)return this.cacheResult().__iterate(Q,Ee);var Xe=xn(this._iterable),Gt=0;if(fn(Xe))for(var An;!(An=Xe.next()).done&&!1!==Q(An.value,Gt++,this););return Gt},Tt.prototype.__iteratorUncached=function(Q,Ee){if(Ee)return this.cacheResult().__iterator(Q,Ee);var Xe=xn(this._iterable);if(!fn(Xe))return new Rn(qt);var Gt=0;return new Rn(function(){var An=Xe.next();return An.done?An:At(Q,Gt++,An.value)})},s(wn,Qr),wn.prototype.__iterateUncached=function(Q,Ee){if(Ee)return this.cacheResult().__iterate(Q,Ee);for(var yt=this._iterator,Xe=this._iteratorCache,Gt=0;Gt<Xe.length;)if(!1===Q(Xe[Gt],Gt++,this))return Gt;for(var An;!(An=yt.next()).done;){var kn=An.value;if(Xe[Gt]=kn,!1===Q(kn,Gt++,this))break}return Gt},wn.prototype.__iteratorUncached=function(Q,Ee){if(Ee)return this.cacheResult().__iterator(Q,Ee);var yt=this._iterator,Xe=this._iteratorCache,Gt=0;return new Rn(function(){if(Gt>=Xe.length){var An=yt.next();if(An.done)return An;Xe[Gt]=An.value}return At(Q,Gt,Xe[Gt++])})},s(Dn,Qr),Dn.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Dn.prototype.get=function(Q,Ee){return this.has(Q)?this._value:Ee},Dn.prototype.includes=function(Q){return qr(this._value,Q)},Dn.prototype.slice=function(Q,Ee){var yt=this.size;return ct(Q,Ee,yt)?this:new Dn(this._value,He(Ee,yt)-qe(Q,yt))},Dn.prototype.reverse=function(){return this},Dn.prototype.indexOf=function(Q){return qr(this._value,Q)?0:-1},Dn.prototype.lastIndexOf=function(Q){return qr(this._value,Q)?this.size:-1},Dn.prototype.__iterate=function(Q,Ee){for(var yt=0;yt<this.size;yt++)if(!1===Q(this._value,yt,this))return yt+1;return yt},Dn.prototype.__iterator=function(Q,Ee){var yt=this,Xe=0;return new Rn(function(){return Xe<yt.size?At(Q,Xe++,yt._value):{value:void 0,done:!0}})},Dn.prototype.equals=function(Q){return Q instanceof Dn?qr(this._value,Q._value):Hi(Q)},s(Fe,Qr),Fe.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},Fe.prototype.get=function(Q,Ee){return this.has(Q)?this._start+Et(this,Q)*this._step:Ee},Fe.prototype.includes=function(Q){var Ee=(Q-this._start)/this._step;return Ee>=0&&Ee<this.size&&Ee===Math.floor(Ee)},Fe.prototype.slice=function(Q,Ee){return ct(Q,Ee,this.size)?this:(Q=qe(Q,this.size),(Ee=He(Ee,this.size))<=Q?new Fe(0,0):new Fe(this.get(Q,this._end),this.get(Ee,this._end),this._step))},Fe.prototype.indexOf=function(Q){var Ee=Q-this._start;if(Ee%this._step==0){var yt=Ee/this._step;if(yt>=0&&yt<this.size)return yt}return-1},Fe.prototype.lastIndexOf=function(Q){return this.indexOf(Q)},Fe.prototype.__iterate=function(Q,Ee){for(var yt=this.size-1,Xe=this._step,Gt=Ee?this._start+yt*Xe:this._start,An=0;An<=yt;An++){if(!1===Q(Gt,An,this))return An+1;Gt+=Ee?-Xe:Xe}return An},Fe.prototype.__iterator=function(Q,Ee){var yt=this.size-1,Xe=this._step,Gt=Ee?this._start+yt*Xe:this._start,An=0;return new Rn(function(){var kn=Gt;return Gt+=Ee?-Xe:Xe,An>yt?{value:void 0,done:!0}:At(Q,An++,kn)})},Fe.prototype.equals=function(Q){return Q instanceof Fe?this._start===Q._start&&this._end===Q._end&&this._step===Q._step:Hi(this,Q)},s(et,r),s(ze,et),s(an,et),s(lt,et),et.Keyed=ze,et.Indexed=an,et.Set=lt;var Rt="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(Ee,yt){var Xe=65535&(Ee|=0),Gt=65535&(yt|=0);return Xe*Gt+((Ee>>>16)*Gt+Xe*(yt>>>16)<<16>>>0)|0};function Pe(Q){return Q>>>1&1073741824|3221225471&Q}function qn(Q){if(!1===Q||null==Q||"function"==typeof Q.valueOf&&(!1===(Q=Q.valueOf())||null==Q))return 0;if(!0===Q)return 1;var Ee=typeof Q;if("number"===Ee){if(Q!=Q||Q===1/0)return 0;var yt=0|Q;for(yt!==Q&&(yt^=4294967295*Q);Q>4294967295;)yt^=Q/=4294967295;return Pe(yt)}if("string"===Ee)return Q.length>Ot?function gr(Q){var Ee=Ti[Q];return void 0===Ee&&(Ee=Pn(Q),wr===mn&&(wr=0,Ti={}),wr++,Ti[Q]=Ee),Ee}(Q):Pn(Q);if("function"==typeof Q.hashCode)return Q.hashCode();if("object"===Ee)return function _r(Q){var Ee;if(nr&&void 0!==(Ee=Zt.get(Q))||void 0!==(Ee=Q[Ge])||!tr&&(void 0!==(Ee=Q.propertyIsEnumerable&&Q.propertyIsEnumerable[Ge])||void 0!==(Ee=function Zn(Q){if(Q&&Q.nodeType>0)switch(Q.nodeType){case 1:return Q.uniqueID;case 9:return Q.documentElement&&Q.documentElement.uniqueID}}(Q))))return Ee;if(Ee=++dn,1073741824&dn&&(dn=0),nr)Zt.set(Q,Ee);else{if(void 0!==Pr&&!1===Pr(Q))throw new Error("Non-extensible objects are not allowed as keys.");if(tr)Object.defineProperty(Q,Ge,{enumerable:!1,configurable:!1,writable:!1,value:Ee});else if(void 0!==Q.propertyIsEnumerable&&Q.propertyIsEnumerable===Q.constructor.prototype.propertyIsEnumerable)Q.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},Q.propertyIsEnumerable[Ge]=Ee;else{if(void 0===Q.nodeType)throw new Error("Unable to set a non-enumerable property on object.");Q[Ge]=Ee}}return Ee}(Q);if("function"==typeof Q.toString)return Pn(Q.toString());throw new Error("Value type "+Ee+" cannot be hashed.")}function Pn(Q){for(var Ee=0,yt=0;yt<Q.length;yt++)Ee=31*Ee+Q.charCodeAt(yt)|0;return Pe(Ee)}var Pr=Object.isExtensible,tr=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();var Zt,nr="function"==typeof WeakMap;nr&&(Zt=new WeakMap);var dn=0,Ge="__immutablehash__";"function"==typeof Symbol&&(Ge=Symbol(Ge));var Ot=16,mn=255,wr=0,Ti={};function Ci(Q){jt(Q!==1/0,"Cannot perform this action with an infinite size.")}function Ai(Q){return null==Q?Vt():Ko(Q)&&!M(Q)?Q:Vt().withMutations(function(Ee){var yt=a(Q);Ci(yt.size),yt.forEach(function(Xe,Gt){return Ee.set(Gt,Xe)})})}function Ko(Q){return!(!Q||!Q[_s])}s(Ai,ze),Ai.of=function(){var Q=C.call(arguments,0);return Vt().withMutations(function(Ee){for(var yt=0;yt<Q.length;yt+=2){if(yt+1>=Q.length)throw new Error("Missing value for key: "+Q[yt]);Ee.set(Q[yt],Q[yt+1])}})},Ai.prototype.toString=function(){return this.__toString("Map {","}")},Ai.prototype.get=function(Q,Ee){return this._root?this._root.get(0,void 0,Q,Ee):Ee},Ai.prototype.set=function(Q,Ee){return bn(this,Q,Ee)},Ai.prototype.setIn=function(Q,Ee){return this.updateIn(Q,de,function(){return Ee})},Ai.prototype.remove=function(Q){return bn(this,Q,de)},Ai.prototype.deleteIn=function(Q){return this.updateIn(Q,function(){return de})},Ai.prototype.update=function(Q,Ee,yt){return 1===arguments.length?Q(this):this.updateIn([Q],Ee,yt)},Ai.prototype.updateIn=function(Q,Ee,yt){yt||(yt=Ee,Ee=void 0);var Xe=la(this,$u(Q),Ee,yt);return Xe===de?void 0:Xe},Ai.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Vt()},Ai.prototype.merge=function(){return jo(this,void 0,arguments)},Ai.prototype.mergeWith=function(Q){return jo(this,Q,C.call(arguments,1))},Ai.prototype.mergeIn=function(Q){var Ee=C.call(arguments,1);return this.updateIn(Q,Vt(),function(yt){return"function"==typeof yt.merge?yt.merge.apply(yt,Ee):Ee[Ee.length-1]})},Ai.prototype.mergeDeep=function(){return jo(this,ss,arguments)},Ai.prototype.mergeDeepWith=function(Q){var Ee=C.call(arguments,1);return jo(this,gs(Q),Ee)},Ai.prototype.mergeDeepIn=function(Q){var Ee=C.call(arguments,1);return this.updateIn(Q,Vt(),function(yt){return"function"==typeof yt.mergeDeep?yt.mergeDeep.apply(yt,Ee):Ee[Ee.length-1]})},Ai.prototype.sort=function(Q){return ie(el(this,Q))},Ai.prototype.sortBy=function(Q,Ee){return ie(el(this,Ee,Q))},Ai.prototype.withMutations=function(Q){var Ee=this.asMutable();return Q(Ee),Ee.wasAltered()?Ee.__ensureOwner(this.__ownerID):this},Ai.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new Te)},Ai.prototype.asImmutable=function(){return this.__ensureOwner()},Ai.prototype.wasAltered=function(){return this.__altered},Ai.prototype.__iterator=function(Q,Ee){return new Vi(this,Q,Ee)},Ai.prototype.__iterate=function(Q,Ee){var yt=this,Xe=0;return this._root&&this._root.iterate(function(Gt){return Xe++,Q(Gt[1],Gt[0],yt)},Ee),Xe},Ai.prototype.__ensureOwner=function(Q){return Q===this.__ownerID?this:Q?Ir(this.size,this._root,Q,this.__hash):(this.__ownerID=Q,this.__altered=!1,this)},Ai.isMap=Ko;var ro,_s="@@__IMMUTABLE_MAP__@@",dr=Ai.prototype;function Ni(Q,Ee){this.ownerID=Q,this.entries=Ee}function ti(Q,Ee,yt){this.ownerID=Q,this.bitmap=Ee,this.nodes=yt}function Vr(Q,Ee,yt){this.ownerID=Q,this.count=Ee,this.nodes=yt}function wi(Q,Ee,yt){this.ownerID=Q,this.keyHash=Ee,this.entries=yt}function ji(Q,Ee,yt){this.ownerID=Q,this.keyHash=Ee,this.entry=yt}function Vi(Q,Ee,yt){this._type=Ee,this._reverse=yt,this._stack=Q._root&&ko(Q._root)}function Po(Q,Ee){return At(Q,Ee[0],Ee[1])}function ko(Q,Ee){return{node:Q,index:0,__prev:Ee}}function Ir(Q,Ee,yt,Xe){var Gt=Object.create(dr);return Gt.size=Q,Gt._root=Ee,Gt.__ownerID=yt,Gt.__hash=Xe,Gt.__altered=!1,Gt}function Vt(){return ro||(ro=Ir(0))}function bn(Q,Ee,yt){var Xe,Gt;if(Q._root){var An=se(V),kn=se(ce);if(Xe=Bn(Q._root,Q.__ownerID,0,void 0,Ee,yt,An,kn),!kn.value)return Q;Gt=Q.size+(An.value?yt===de?-1:1:0)}else{if(yt===de)return Q;Gt=1,Xe=new Ni(Q.__ownerID,[[Ee,yt]])}return Q.__ownerID?(Q.size=Gt,Q._root=Xe,Q.__hash=void 0,Q.__altered=!0,Q):Xe?Ir(Gt,Xe):Vt()}function Bn(Q,Ee,yt,Xe,Gt,An,kn,Hr){return Q?Q.update(Ee,yt,Xe,Gt,An,kn,Hr):An===de?Q:(fe(Hr),fe(kn),new ji(Ee,Xe,[Gt,An]))}function ci(Q){return Q.constructor===ji||Q.constructor===wi}function _o(Q,Ee,yt,Xe,Gt){if(Q.keyHash===Xe)return new wi(Ee,Xe,[Q.entry,Gt]);var Hr,An=(0===yt?Q.keyHash:Q.keyHash>>>yt)&X,kn=(0===yt?Xe:Xe>>>yt)&X;return new ti(Ee,1<<An|1<<kn,An===kn?[_o(Q,Ee,yt+J,Xe,Gt)]:(Hr=new ji(Ee,Xe,Gt),An<kn?[Q,Hr]:[Hr,Q]))}function jo(Q,Ee,yt){for(var Xe=[],Gt=0;Gt<yt.length;Gt++){var An=yt[Gt],kn=a(An);e(An)||(kn=kn.map(function(Hr){return pr(Hr)})),Xe.push(kn)}return Is(Q,Ee,Xe)}function ss(Q,Ee,yt){return Q&&Q.mergeDeep&&e(Ee)?Q.mergeDeep(Ee):qr(Q,Ee)?Q:Ee}function gs(Q){return function(Ee,yt,Xe){if(Ee&&Ee.mergeDeepWith&&e(yt))return Ee.mergeDeepWith(Q,yt);var Gt=Q(Ee,yt,Xe);return qr(Ee,Gt)?Ee:Gt}}function Is(Q,Ee,yt){return 0===(yt=yt.filter(function(Xe){return 0!==Xe.size})).length?Q:0!==Q.size||Q.__ownerID||1!==yt.length?Q.withMutations(function(Xe){for(var Gt=Ee?function(kn,Hr){Xe.update(Hr,de,function(Xr){return Xr===de?kn:Ee(Xr,kn,Hr)})}:function(kn,Hr){Xe.set(Hr,kn)},An=0;An<yt.length;An++)yt[An].forEach(Gt)}):Q.constructor(yt[0])}function la(Q,Ee,yt,Xe){var Gt=Q===de,An=Ee.next();if(An.done){var kn=Gt?yt:Q,Hr=Xe(kn);return Hr===kn?Q:Hr}jt(Gt||Q&&Q.set,"invalid keyPath");var Xr=An.value,yr=Gt?de:Q.get(Xr,de),Rr=la(yr,Ee,yt,Xe);return Rr===yr?Q:Rr===de?Q.remove(Xr):(Gt?Vt():Q).set(Xr,Rr)}function Ro(Q){return Q=(Q=(858993459&(Q-=Q>>1&1431655765))+(Q>>2&858993459))+(Q>>4)&252645135,127&(Q+=Q>>8)+(Q>>16)}function jl(Q,Ee,yt,Xe){var Gt=Xe?Q:$e(Q);return Gt[Ee]=yt,Gt}dr[_s]=!0,dr[$]=dr.remove,dr.removeIn=dr.deleteIn,Ni.prototype.get=function(Q,Ee,yt,Xe){for(var Gt=this.entries,An=0,kn=Gt.length;An<kn;An++)if(qr(yt,Gt[An][0]))return Gt[An][1];return Xe},Ni.prototype.update=function(Q,Ee,yt,Xe,Gt,An,kn){for(var Hr=Gt===de,Xr=this.entries,yr=0,Rr=Xr.length;yr<Rr&&!qr(Xe,Xr[yr][0]);yr++);var Go=yr<Rr;if(Go?Xr[yr][1]===Gt:Hr)return this;if(fe(kn),(Hr||!Go)&&fe(An),!Hr||1!==Xr.length){if(!Go&&!Hr&&Xr.length>=da)return function go(Q,Ee,yt,Xe){Q||(Q=new Te);for(var Gt=new ji(Q,qn(yt),[yt,Xe]),An=0;An<Ee.length;An++){var kn=Ee[An];Gt=Gt.update(Q,0,void 0,kn[0],kn[1])}return Gt}(Q,Xr,Xe,Gt);var Io=Q&&Q===this.ownerID,Qn=Io?Xr:$e(Xr);return Go?Hr?yr===Rr-1?Qn.pop():Qn[yr]=Qn.pop():Qn[yr]=[Xe,Gt]:Qn.push([Xe,Gt]),Io?(this.entries=Qn,this):new Ni(Q,Qn)}},ti.prototype.get=function(Q,Ee,yt,Xe){void 0===Ee&&(Ee=qn(yt));var Gt=1<<((0===Q?Ee:Ee>>>Q)&X),An=this.bitmap;return An&Gt?this.nodes[Ro(An&Gt-1)].get(Q+J,Ee,yt,Xe):Xe},ti.prototype.update=function(Q,Ee,yt,Xe,Gt,An,kn){void 0===yt&&(yt=qn(Xe));var Hr=(0===Ee?yt:yt>>>Ee)&X,Xr=1<<Hr,yr=this.bitmap,Rr=0!=(yr&Xr);if(!Rr&&Gt===de)return this;var Go=Ro(yr&Xr-1),Io=this.nodes,Qn=Rr?Io[Go]:void 0,Gr=Bn(Qn,Q,Ee+J,yt,Xe,Gt,An,kn);if(Gr===Qn)return this;if(!Rr&&Gr&&Io.length>=$a)return function ts(Q,Ee,yt,Xe,Gt){for(var An=0,kn=new Array(F),Hr=0;0!==yt;Hr++,yt>>>=1)kn[Hr]=1&yt?Ee[An++]:void 0;return kn[Xe]=Gt,new Vr(Q,An+1,kn)}(Q,Io,yr,Hr,Gr);if(Rr&&!Gr&&2===Io.length&&ci(Io[1^Go]))return Io[1^Go];if(Rr&&Gr&&1===Io.length&&ci(Gr))return Gr;var Fr=Q&&Q===this.ownerID,Ui=Rr?Gr?yr:yr^Xr:yr|Xr,Do=Rr?Gr?jl(Io,Go,Gr,Fr):function qa(Q,Ee,yt){var Xe=Q.length-1;if(yt&&Ee===Xe)return Q.pop(),Q;for(var Gt=new Array(Xe),An=0,kn=0;kn<Xe;kn++)kn===Ee&&(An=1),Gt[kn]=Q[kn+An];return Gt}(Io,Go,Fr):function gl(Q,Ee,yt,Xe){var Gt=Q.length+1;if(Xe&&Ee+1===Gt)return Q[Ee]=yt,Q;for(var An=new Array(Gt),kn=0,Hr=0;Hr<Gt;Hr++)Hr===Ee?(An[Hr]=yt,kn=-1):An[Hr]=Q[Hr+kn];return An}(Io,Go,Gr,Fr);return Fr?(this.bitmap=Ui,this.nodes=Do,this):new ti(Q,Ui,Do)},Vr.prototype.get=function(Q,Ee,yt,Xe){void 0===Ee&&(Ee=qn(yt));var An=this.nodes[(0===Q?Ee:Ee>>>Q)&X];return An?An.get(Q+J,Ee,yt,Xe):Xe},Vr.prototype.update=function(Q,Ee,yt,Xe,Gt,An,kn){void 0===yt&&(yt=qn(Xe));var Hr=(0===Ee?yt:yt>>>Ee)&X,yr=this.nodes,Rr=yr[Hr];if(Gt===de&&!Rr)return this;var Go=Bn(Rr,Q,Ee+J,yt,Xe,Gt,An,kn);if(Go===Rr)return this;var Io=this.count;if(Rr){if(!Go&&--Io<Rl)return function es(Q,Ee,yt,Xe){for(var Gt=0,An=0,kn=new Array(yt),Hr=0,Xr=1,yr=Ee.length;Hr<yr;Hr++,Xr<<=1){var Rr=Ee[Hr];void 0!==Rr&&Hr!==Xe&&(Gt|=Xr,kn[An++]=Rr)}return new ti(Q,Gt,kn)}(Q,yr,Io,Hr)}else Io++;var Qn=Q&&Q===this.ownerID,Gr=jl(yr,Hr,Go,Qn);return Qn?(this.count=Io,this.nodes=Gr,this):new Vr(Q,Io,Gr)},wi.prototype.get=function(Q,Ee,yt,Xe){for(var Gt=this.entries,An=0,kn=Gt.length;An<kn;An++)if(qr(yt,Gt[An][0]))return Gt[An][1];return Xe},wi.prototype.update=function(Q,Ee,yt,Xe,Gt,An,kn){void 0===yt&&(yt=qn(Xe));var Hr=Gt===de;if(yt!==this.keyHash)return Hr?this:(fe(kn),fe(An),_o(this,Q,Ee,yt,[Xe,Gt]));for(var Xr=this.entries,yr=0,Rr=Xr.length;yr<Rr&&!qr(Xe,Xr[yr][0]);yr++);var Go=yr<Rr;if(Go?Xr[yr][1]===Gt:Hr)return this;if(fe(kn),(Hr||!Go)&&fe(An),Hr&&2===Rr)return new ji(Q,this.keyHash,Xr[1^yr]);var Io=Q&&Q===this.ownerID,Qn=Io?Xr:$e(Xr);return Go?Hr?yr===Rr-1?Qn.pop():Qn[yr]=Qn.pop():Qn[yr]=[Xe,Gt]:Qn.push([Xe,Gt]),Io?(this.entries=Qn,this):new wi(Q,this.keyHash,Qn)},ji.prototype.get=function(Q,Ee,yt,Xe){return qr(yt,this.entry[0])?this.entry[1]:Xe},ji.prototype.update=function(Q,Ee,yt,Xe,Gt,An,kn){var Hr=Gt===de,Xr=qr(Xe,this.entry[0]);return(Xr?Gt===this.entry[1]:Hr)?this:(fe(kn),Hr?void fe(An):Xr?Q&&Q===this.ownerID?(this.entry[1]=Gt,this):new ji(Q,this.keyHash,[Xe,Gt]):(fe(An),_o(this,Q,Ee,qn(Xe),[Xe,Gt])))},Ni.prototype.iterate=wi.prototype.iterate=function(Q,Ee){for(var yt=this.entries,Xe=0,Gt=yt.length-1;Xe<=Gt;Xe++)if(!1===Q(yt[Ee?Gt-Xe:Xe]))return!1},ti.prototype.iterate=Vr.prototype.iterate=function(Q,Ee){for(var yt=this.nodes,Xe=0,Gt=yt.length-1;Xe<=Gt;Xe++){var An=yt[Ee?Gt-Xe:Xe];if(An&&!1===An.iterate(Q,Ee))return!1}},ji.prototype.iterate=function(Q,Ee){return Q(this.entry)},s(Vi,Rn),Vi.prototype.next=function(){for(var Q=this._type,Ee=this._stack;Ee;){var Gt,yt=Ee.node,Xe=Ee.index++;if(yt.entry){if(0===Xe)return Po(Q,yt.entry)}else if(yt.entries){if(Xe<=(Gt=yt.entries.length-1))return Po(Q,yt.entries[this._reverse?Gt-Xe:Xe])}else if(Xe<=(Gt=yt.nodes.length-1)){var An=yt.nodes[this._reverse?Gt-Xe:Xe];if(An){if(An.entry)return Po(Q,An.entry);Ee=this._stack=ko(An,Ee)}continue}Ee=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var da=F/4,$a=F/2,Rl=F/4;function Ji(Q){var Ee=No();if(null==Q)return Ee;if(Ha(Q))return Q;var yt=c(Q),Xe=yt.size;return 0===Xe?Ee:(Ci(Xe),Xe>0&&Xe<F?fa(0,Xe,J,null,new $s(yt.toArray())):Ee.withMutations(function(Gt){Gt.setSize(Xe),yt.forEach(function(An,kn){return Gt.set(kn,An)})}))}function Ha(Q){return!(!Q||!Q[Ts])}s(Ji,an),Ji.of=function(){return this(arguments)},Ji.prototype.toString=function(){return this.__toString("List [","]")},Ji.prototype.get=function(Q,Ee){if((Q=Et(this,Q))>=0&&Q<this.size){var yt=zr(this,Q+=this._origin);return yt&&yt.array[Q&X]}return Ee},Ji.prototype.set=function(Q,Ee){return function Cs(Q,Ee,yt){if((Ee=Et(Q,Ee))!=Ee)return Q;if(Ee>=Q.size||Ee<0)return Q.withMutations(function(kn){Ee<0?io(kn,Ee).set(0,yt):io(kn,0,Ee+1).set(Ee,yt)});Ee+=Q._origin;var Xe=Q._tail,Gt=Q._root,An=se(ce);return Ee>=Tn(Q._capacity)?Xe=ns(Xe,Q.__ownerID,0,Ee,yt,An):Gt=ns(Gt,Q.__ownerID,Q._level,Ee,yt,An),An.value?Q.__ownerID?(Q._root=Gt,Q._tail=Xe,Q.__hash=void 0,Q.__altered=!0,Q):fa(Q._origin,Q._capacity,Q._level,Gt,Xe):Q}(this,Q,Ee)},Ji.prototype.remove=function(Q){return this.has(Q)?0===Q?this.shift():Q===this.size-1?this.pop():this.splice(Q,1):this},Ji.prototype.insert=function(Q,Ee){return this.splice(Q,0,Ee)},Ji.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=J,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):No()},Ji.prototype.push=function(){var Q=arguments,Ee=this.size;return this.withMutations(function(yt){io(yt,0,Ee+Q.length);for(var Xe=0;Xe<Q.length;Xe++)yt.set(Ee+Xe,Q[Xe])})},Ji.prototype.pop=function(){return io(this,0,-1)},Ji.prototype.unshift=function(){var Q=arguments;return this.withMutations(function(Ee){io(Ee,-Q.length);for(var yt=0;yt<Q.length;yt++)Ee.set(yt,Q[yt])})},Ji.prototype.shift=function(){return io(this,1)},Ji.prototype.merge=function(){return gt(this,void 0,arguments)},Ji.prototype.mergeWith=function(Q){return gt(this,Q,C.call(arguments,1))},Ji.prototype.mergeDeep=function(){return gt(this,ss,arguments)},Ji.prototype.mergeDeepWith=function(Q){var Ee=C.call(arguments,1);return gt(this,gs(Q),Ee)},Ji.prototype.setSize=function(Q){return io(this,0,Q)},Ji.prototype.slice=function(Q,Ee){var yt=this.size;return ct(Q,Ee,yt)?this:io(this,qe(Q,yt),He(Ee,yt))},Ji.prototype.__iterator=function(Q,Ee){var yt=0,Xe=Ja(this,Ee);return new Rn(function(){var Gt=Xe();return Gt===Aa?{value:void 0,done:!0}:At(Q,yt++,Gt)})},Ji.prototype.__iterate=function(Q,Ee){for(var Gt,yt=0,Xe=Ja(this,Ee);(Gt=Xe())!==Aa&&!1!==Q(Gt,yt++,this););return yt},Ji.prototype.__ensureOwner=function(Q){return Q===this.__ownerID?this:Q?fa(this._origin,this._capacity,this._level,this._root,this._tail,Q,this.__hash):(this.__ownerID=Q,this)},Ji.isList=Ha;var Ts="@@__IMMUTABLE_LIST__@@",hs=Ji.prototype;function $s(Q,Ee){this.array=Q,this.ownerID=Ee}hs[Ts]=!0,hs[$]=hs.remove,hs.setIn=dr.setIn,hs.deleteIn=hs.removeIn=dr.removeIn,hs.update=dr.update,hs.updateIn=dr.updateIn,hs.mergeIn=dr.mergeIn,hs.mergeDeepIn=dr.mergeDeepIn,hs.withMutations=dr.withMutations,hs.asMutable=dr.asMutable,hs.asImmutable=dr.asImmutable,hs.wasAltered=dr.wasAltered,$s.prototype.removeBefore=function(Q,Ee,yt){if(yt===Ee?1<<Ee:0===this.array.length)return this;var Xe=yt>>>Ee&X;if(Xe>=this.array.length)return new $s([],Q);var An,Gt=0===Xe;if(Ee>0){var kn=this.array[Xe];if((An=kn&&kn.removeBefore(Q,Ee-J,yt))===kn&&Gt)return this}if(Gt&&!An)return this;var Hr=Fo(this,Q);if(!Gt)for(var Xr=0;Xr<Xe;Xr++)Hr.array[Xr]=void 0;return An&&(Hr.array[Xe]=An),Hr},$s.prototype.removeAfter=function(Q,Ee,yt){if(yt===(Ee?1<<Ee:0)||0===this.array.length)return this;var Gt,Xe=yt-1>>>Ee&X;if(Xe>=this.array.length)return this;if(Ee>0){var An=this.array[Xe];if((Gt=An&&An.removeAfter(Q,Ee-J,yt))===An&&Xe===this.array.length-1)return this}var kn=Fo(this,Q);return kn.array.splice(Xe+1),Gt&&(kn.array[Xe]=Gt),kn};var Xo,gn,Aa={};function Ja(Q,Ee){var yt=Q._origin,Xe=Q._capacity,Gt=Tn(Xe),An=Q._tail;return kn(Q._root,Q._level,0);function kn(yr,Rr,Go){return 0===Rr?function Hr(yr,Rr){var Go=Rr===Gt?An&&An.array:yr&&yr.array,Io=Rr>yt?0:yt-Rr,Qn=Xe-Rr;return Qn>F&&(Qn=F),function(){if(Io===Qn)return Aa;var Gr=Ee?--Qn:Io++;return Go&&Go[Gr]}}(yr,Go):function Xr(yr,Rr,Go){var Io,Qn=yr&&yr.array,Gr=Go>yt?0:yt-Go>>Rr,Fr=1+(Xe-Go>>Rr);return Fr>F&&(Fr=F),function(){for(;;){if(Io){var Ui=Io();if(Ui!==Aa)return Ui;Io=null}if(Gr===Fr)return Aa;var Do=Ee?--Fr:Gr++;Io=kn(Qn&&Qn[Do],Rr-J,Go+(Do<<Rr))}}}(yr,Rr,Go)}}function fa(Q,Ee,yt,Xe,Gt,An,kn){var Hr=Object.create(hs);return Hr.size=Ee-Q,Hr._origin=Q,Hr._capacity=Ee,Hr._level=yt,Hr._root=Xe,Hr._tail=Gt,Hr.__ownerID=An,Hr.__hash=kn,Hr.__altered=!1,Hr}function No(){return Xo||(Xo=fa(0,0,J))}function ns(Q,Ee,yt,Xe,Gt,An){var Xr,kn=Xe>>>yt&X,Hr=Q&&kn<Q.array.length;if(!Hr&&void 0===Gt)return Q;if(yt>0){var yr=Q&&Q.array[kn],Rr=ns(yr,Ee,yt-J,Xe,Gt,An);return Rr===yr?Q:((Xr=Fo(Q,Ee)).array[kn]=Rr,Xr)}return Hr&&Q.array[kn]===Gt?Q:(fe(An),Xr=Fo(Q,Ee),void 0===Gt&&kn===Xr.array.length-1?Xr.array.pop():Xr.array[kn]=Gt,Xr)}function Fo(Q,Ee){return Ee&&Q&&Ee===Q.ownerID?Q:new $s(Q?Q.array.slice():[],Ee)}function zr(Q,Ee){if(Ee>=Tn(Q._capacity))return Q._tail;if(Ee<1<<Q._level+J){for(var yt=Q._root,Xe=Q._level;yt&&Xe>0;)yt=yt.array[Ee>>>Xe&X],Xe-=J;return yt}}function io(Q,Ee,yt){void 0!==Ee&&(Ee|=0),void 0!==yt&&(yt|=0);var Xe=Q.__ownerID||new Te,Gt=Q._origin,An=Q._capacity,kn=Gt+Ee,Hr=void 0===yt?An:yt<0?An+yt:Gt+yt;if(kn===Gt&&Hr===An)return Q;if(kn>=Hr)return Q.clear();for(var Xr=Q._level,yr=Q._root,Rr=0;kn+Rr<0;)yr=new $s(yr&&yr.array.length?[void 0,yr]:[],Xe),Rr+=1<<(Xr+=J);Rr&&(kn+=Rr,Gt+=Rr,Hr+=Rr,An+=Rr);for(var Go=Tn(An),Io=Tn(Hr);Io>=1<<Xr+J;)yr=new $s(yr&&yr.array.length?[yr]:[],Xe),Xr+=J;var Qn=Q._tail,Gr=Io<Go?zr(Q,Hr-1):Io>Go?new $s([],Xe):Qn;if(Qn&&Io>Go&&kn<An&&Qn.array.length){for(var Fr=yr=Fo(yr,Xe),Ui=Xr;Ui>J;Ui-=J){var Do=Go>>>Ui&X;Fr=Fr.array[Do]=Fo(Fr.array[Do],Xe)}Fr.array[Go>>>J&X]=Qn}if(Hr<An&&(Gr=Gr&&Gr.removeAfter(Xe,0,Hr)),kn>=Io)kn-=Io,Hr-=Io,Xr=J,yr=null,Gr=Gr&&Gr.removeBefore(Xe,0,kn);else if(kn>Gt||Io<Go){for(Rr=0;yr;){var Fa=kn>>>Xr&X;if(Fa!==Io>>>Xr&X)break;Fa&&(Rr+=(1<<Xr)*Fa),Xr-=J,yr=yr.array[Fa]}yr&&kn>Gt&&(yr=yr.removeBefore(Xe,Xr,kn-Rr)),yr&&Io<Go&&(yr=yr.removeAfter(Xe,Xr,Io-Rr)),Rr&&(kn-=Rr,Hr-=Rr)}return Q.__ownerID?(Q.size=Hr-kn,Q._origin=kn,Q._capacity=Hr,Q._level=Xr,Q._root=yr,Q._tail=Gr,Q.__hash=void 0,Q.__altered=!0,Q):fa(kn,Hr,Xr,yr,Gr)}function gt(Q,Ee,yt){for(var Xe=[],Gt=0,An=0;An<yt.length;An++){var kn=yt[An],Hr=c(kn);Hr.size>Gt&&(Gt=Hr.size),e(kn)||(Hr=Hr.map(function(Xr){return pr(Xr)})),Xe.push(Hr)}return Gt>Q.size&&(Q=Q.setSize(Gt)),Is(Q,Ee,Xe)}function Tn(Q){return Q<F?0:Q-1>>>J<<J}function ie(Q){return null==Q?vi():Ze(Q)?Q:vi().withMutations(function(Ee){var yt=a(Q);Ci(yt.size),yt.forEach(function(Xe,Gt){return Ee.set(Gt,Xe)})})}function Ze(Q){return Ko(Q)&&M(Q)}function Jt(Q,Ee,yt,Xe){var Gt=Object.create(ie.prototype);return Gt.size=Q?Q.size:0,Gt._map=Q,Gt._list=Ee,Gt.__ownerID=yt,Gt.__hash=Xe,Gt}function vi(){return gn||(gn=Jt(Vt(),No()))}function Bi(Q,Ee,yt){var Hr,Xr,Xe=Q._map,Gt=Q._list,An=Xe.get(Ee),kn=void 0!==An;if(yt===de){if(!kn)return Q;Gt.size>=F&&Gt.size>=2*Xe.size?(Hr=(Xr=Gt.filter(function(yr,Rr){return void 0!==yr&&An!==Rr})).toKeyedSeq().map(function(yr){return yr[0]}).flip().toMap(),Q.__ownerID&&(Hr.__ownerID=Xr.__ownerID=Q.__ownerID)):(Hr=Xe.remove(Ee),Xr=An===Gt.size-1?Gt.pop():Gt.set(An,void 0))}else if(kn){if(yt===Gt.get(An)[1])return Q;Hr=Xe,Xr=Gt.set(An,[Ee,yt])}else Hr=Xe.set(Ee,Gt.size),Xr=Gt.set(Gt.size,[Ee,yt]);return Q.__ownerID?(Q.size=Hr.size,Q._map=Hr,Q._list=Xr,Q.__hash=void 0,Q):Jt(Hr,Xr)}function Xi(Q,Ee){this._iter=Q,this._useKeys=Ee,this.size=Q.size}function ws(Q){this._iter=Q,this.size=Q.size}function ds(Q){this._iter=Q,this.size=Q.size}function qs(Q){this._iter=Q,this.size=Q.size}function Js(Q){var Ee=El(Q);return Ee._iter=Q,Ee.size=Q.size,Ee.flip=function(){return Q},Ee.reverse=function(){var yt=Q.reverse.apply(this);return yt.flip=function(){return Q.reverse()},yt},Ee.has=function(yt){return Q.includes(yt)},Ee.includes=function(yt){return Q.has(yt)},Ee.cacheResult=uu,Ee.__iterateUncached=function(yt,Xe){var Gt=this;return Q.__iterate(function(An,kn){return!1!==yt(kn,An,Gt)},Xe)},Ee.__iteratorUncached=function(yt,Xe){if(yt===it){var Gt=Q.__iterator(yt,Xe);return new Rn(function(){var An=Gt.next();if(!An.done){var kn=An.value[0];An.value[0]=An.value[1],An.value[1]=kn}return An})}return Q.__iterator(yt===Pt?Le:Pt,Xe)},Ee}function Ll(Q,Ee,yt){var Xe=El(Q);return Xe.size=Q.size,Xe.has=function(Gt){return Q.has(Gt)},Xe.get=function(Gt,An){var kn=Q.get(Gt,de);return kn===de?An:Ee.call(yt,kn,Gt,Q)},Xe.__iterateUncached=function(Gt,An){var kn=this;return Q.__iterate(function(Hr,Xr,yr){return!1!==Gt(Ee.call(yt,Hr,Xr,yr),Xr,kn)},An)},Xe.__iteratorUncached=function(Gt,An){var kn=Q.__iterator(it,An);return new Rn(function(){var Hr=kn.next();if(Hr.done)return Hr;var Xr=Hr.value,yr=Xr[0];return At(Gt,yr,Ee.call(yt,Xr[1],yr,Q),Hr)})},Xe}function vl(Q,Ee){var yt=El(Q);return yt._iter=Q,yt.size=Q.size,yt.reverse=function(){return Q},Q.flip&&(yt.flip=function(){var Xe=Js(Q);return Xe.reverse=function(){return Q.flip()},Xe}),yt.get=function(Xe,Gt){return Q.get(Ee?Xe:-1-Xe,Gt)},yt.has=function(Xe){return Q.has(Ee?Xe:-1-Xe)},yt.includes=function(Xe){return Q.includes(Xe)},yt.cacheResult=uu,yt.__iterate=function(Xe,Gt){var An=this;return Q.__iterate(function(kn,Hr){return Xe(kn,Hr,An)},!Gt)},yt.__iterator=function(Xe,Gt){return Q.__iterator(Xe,!Gt)},yt}function Yu(Q,Ee,yt,Xe){var Gt=El(Q);return Xe&&(Gt.has=function(An){var kn=Q.get(An,de);return kn!==de&&!!Ee.call(yt,kn,An,Q)},Gt.get=function(An,kn){var Hr=Q.get(An,de);return Hr!==de&&Ee.call(yt,Hr,An,Q)?Hr:kn}),Gt.__iterateUncached=function(An,kn){var Hr=this,Xr=0;return Q.__iterate(function(yr,Rr,Go){if(Ee.call(yt,yr,Rr,Go))return Xr++,An(yr,Xe?Rr:Xr-1,Hr)},kn),Xr},Gt.__iteratorUncached=function(An,kn){var Hr=Q.__iterator(it,kn),Xr=0;return new Rn(function(){for(;;){var yr=Hr.next();if(yr.done)return yr;var Rr=yr.value,Go=Rr[0],Io=Rr[1];if(Ee.call(yt,Io,Go,Q))return At(An,Xe?Go:Xr++,Io,yr)}})},Gt}function Ol(Q,Ee,yt,Xe){var Gt=Q.size;if(void 0!==Ee&&(Ee|=0),void 0!==yt&&(yt===1/0?yt=Gt:yt|=0),ct(Ee,yt,Gt))return Q;var An=qe(Ee,Gt),kn=He(yt,Gt);if(An!=An||kn!=kn)return Ol(Q.toSeq().cacheResult(),Ee,yt,Xe);var Xr,Hr=kn-An;Hr==Hr&&(Xr=Hr<0?0:Hr);var yr=El(Q);return yr.size=0===Xr?Xr:Q.size&&Xr||void 0,!Xe&&jn(Q)&&Xr>=0&&(yr.get=function(Rr,Go){return(Rr=Et(this,Rr))>=0&&Rr<Xr?Q.get(Rr+An,Go):Go}),yr.__iterateUncached=function(Rr,Go){var Io=this;if(0===Xr)return 0;if(Go)return this.cacheResult().__iterate(Rr,Go);var Qn=0,Gr=!0,Fr=0;return Q.__iterate(function(Ui,Do){if(!Gr||!(Gr=Qn++<An))return Fr++,!1!==Rr(Ui,Xe?Do:Fr-1,Io)&&Fr!==Xr}),Fr},yr.__iteratorUncached=function(Rr,Go){if(0!==Xr&&Go)return this.cacheResult().__iterator(Rr,Go);var Io=0!==Xr&&Q.__iterator(Rr,Go),Qn=0,Gr=0;return new Rn(function(){for(;Qn++<An;)Io.next();if(++Gr>Xr)return{value:void 0,done:!0};var Fr=Io.next();return Xe||Rr===Pt?Fr:At(Rr,Gr-1,Rr===Le?void 0:Fr.value[1],Fr)})},yr}function yl(Q,Ee,yt,Xe){var Gt=El(Q);return Gt.__iterateUncached=function(An,kn){var Hr=this;if(kn)return this.cacheResult().__iterate(An,kn);var Xr=!0,yr=0;return Q.__iterate(function(Rr,Go,Io){if(!Xr||!(Xr=Ee.call(yt,Rr,Go,Io)))return yr++,An(Rr,Xe?Go:yr-1,Hr)}),yr},Gt.__iteratorUncached=function(An,kn){var Hr=this;if(kn)return this.cacheResult().__iterator(An,kn);var Xr=Q.__iterator(it,kn),yr=!0,Rr=0;return new Rn(function(){var Go,Io,Qn;do{if((Go=Xr.next()).done)return Xe||An===Pt?Go:At(An,Rr++,An===Le?void 0:Go.value[1],Go);var Gr=Go.value;Io=Gr[0],Qn=Gr[1],yr&&(yr=Ee.call(yt,Qn,Io,Hr))}while(yr);return An===it?Go:At(An,Io,Qn,Go)})},Gt}function Da(Q,Ee,yt){var Xe=El(Q);return Xe.__iterateUncached=function(Gt,An){var kn=0,Hr=!1;return function Xr(yr,Rr){var Go=this;yr.__iterate(function(Io,Qn){return(!Ee||Rr<Ee)&&e(Io)?Xr(Io,Rr+1):!1===Gt(Io,yt?Qn:kn++,Go)&&(Hr=!0),!Hr},An)}(Q,0),kn},Xe.__iteratorUncached=function(Gt,An){var kn=Q.__iterator(Gt,An),Hr=[],Xr=0;return new Rn(function(){for(;kn;){var yr=kn.next();if(!1===yr.done){var Rr=yr.value;if(Gt===it&&(Rr=Rr[1]),Ee&&!(Hr.length<Ee)||!e(Rr))return yt?yr:At(Gt,Xr++,Rr,yr);Hr.push(kn),kn=Rr.__iterator(Gt,An)}else kn=Hr.pop()}return{value:void 0,done:!0}})},Xe}function el(Q,Ee,yt){Ee||(Ee=Eu);var Xe=f(Q),Gt=0,An=Q.toSeq().map(function(kn,Hr){return[Hr,kn,Gt++,yt?yt(kn,Hr,Q):kn]}).toArray();return An.sort(function(kn,Hr){return Ee(kn[3],Hr[3])||kn[2]-Hr[2]}).forEach(Xe?function(kn,Hr){An[Hr].length=2}:function(kn,Hr){An[Hr]=kn[1]}),Xe?ir(An):m(Q)?Qr(An):jr(An)}function oc(Q,Ee,yt){if(Ee||(Ee=Eu),yt){var Xe=Q.toSeq().map(function(Gt,An){return[Gt,yt(Gt,An,Q)]}).reduce(function(Gt,An){return Xl(Ee,Gt[1],An[1])?An:Gt});return Xe&&Xe[0]}return Q.reduce(function(Gt,An){return Xl(Ee,Gt,An)?An:Gt})}function Xl(Q,Ee,yt){var Xe=Q(yt,Ee);return 0===Xe&&yt!==Ee&&(null==yt||yt!=yt)||Xe>0}function Ic(Q,Ee,yt){var Xe=El(Q);return Xe.size=new ht(yt).map(function(Gt){return Gt.size}).min(),Xe.__iterate=function(Gt,An){for(var Hr,kn=this.__iterator(Pt,An),Xr=0;!(Hr=kn.next()).done&&!1!==Gt(Hr.value,Xr++,this););return Xr},Xe.__iteratorUncached=function(Gt,An){var kn=yt.map(function(yr){return yr=r(yr),xn(An?yr.reverse():yr)}),Hr=0,Xr=!1;return new Rn(function(){var yr;return Xr||(yr=kn.map(function(Rr){return Rr.next()}),Xr=yr.some(function(Rr){return Rr.done})),Xr?{value:void 0,done:!0}:At(Gt,Hr++,Ee.apply(null,yr.map(function(Rr){return Rr.value})))})},Xe}function Gs(Q,Ee){return jn(Q)?Ee:Q.constructor(Ee)}function ku(Q){if(Q!==Object(Q))throw new TypeError("Expected [K, V] tuple: "+Q)}function zu(Q){return Ci(Q.size),ge(Q)}function ua(Q){return f(Q)?a:m(Q)?c:u}function El(Q){return Object.create((f(Q)?ir:m(Q)?Qr:jr).prototype)}function uu(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Lr.prototype.cacheResult.call(this)}function Eu(Q,Ee){return Q>Ee?1:Q<Ee?-1:0}function $u(Q){var Ee=xn(Q);if(!Ee){if(!Or(Q))throw new TypeError("Expected iterable or array-like: "+Q);Ee=xn(r(Q))}return Ee}function Ba(Q,Ee){var yt,Xe=function(kn){if(kn instanceof Xe)return kn;if(!(this instanceof Xe))return new Xe(kn);if(!yt){yt=!0;var Hr=Object.keys(Q);(function dc(Q,Ee){try{Ee.forEach(cu.bind(void 0,Q))}catch{}})(Gt,Hr),Gt.size=Hr.length,Gt._name=Ee,Gt._keys=Hr,Gt._defaultValues=Q}this._map=Ai(kn)},Gt=Xe.prototype=Object.create(Tl);return Gt.constructor=Xe,Xe}s(ie,Ai),ie.of=function(){return this(arguments)},ie.prototype.toString=function(){return this.__toString("OrderedMap {","}")},ie.prototype.get=function(Q,Ee){var yt=this._map.get(Q);return void 0!==yt?this._list.get(yt)[1]:Ee},ie.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):vi()},ie.prototype.set=function(Q,Ee){return Bi(this,Q,Ee)},ie.prototype.remove=function(Q){return Bi(this,Q,de)},ie.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},ie.prototype.__iterate=function(Q,Ee){var yt=this;return this._list.__iterate(function(Xe){return Xe&&Q(Xe[1],Xe[0],yt)},Ee)},ie.prototype.__iterator=function(Q,Ee){return this._list.fromEntrySeq().__iterator(Q,Ee)},ie.prototype.__ensureOwner=function(Q){if(Q===this.__ownerID)return this;var Ee=this._map.__ensureOwner(Q),yt=this._list.__ensureOwner(Q);return Q?Jt(Ee,yt,Q,this.__hash):(this.__ownerID=Q,this._map=Ee,this._list=yt,this)},ie.isOrderedMap=Ze,ie.prototype[W]=!0,ie.prototype[$]=ie.prototype.remove,s(Xi,ir),Xi.prototype.get=function(Q,Ee){return this._iter.get(Q,Ee)},Xi.prototype.has=function(Q){return this._iter.has(Q)},Xi.prototype.valueSeq=function(){return this._iter.valueSeq()},Xi.prototype.reverse=function(){var Q=this,Ee=vl(this,!0);return this._useKeys||(Ee.valueSeq=function(){return Q._iter.toSeq().reverse()}),Ee},Xi.prototype.map=function(Q,Ee){var yt=this,Xe=Ll(this,Q,Ee);return this._useKeys||(Xe.valueSeq=function(){return yt._iter.toSeq().map(Q,Ee)}),Xe},Xi.prototype.__iterate=function(Q,Ee){var Xe,yt=this;return this._iter.__iterate(this._useKeys?function(Gt,An){return Q(Gt,An,yt)}:(Xe=Ee?zu(this):0,function(Gt){return Q(Gt,Ee?--Xe:Xe++,yt)}),Ee)},Xi.prototype.__iterator=function(Q,Ee){if(this._useKeys)return this._iter.__iterator(Q,Ee);var yt=this._iter.__iterator(Pt,Ee),Xe=Ee?zu(this):0;return new Rn(function(){var Gt=yt.next();return Gt.done?Gt:At(Q,Ee?--Xe:Xe++,Gt.value,Gt)})},Xi.prototype[W]=!0,s(ws,Qr),ws.prototype.includes=function(Q){return this._iter.includes(Q)},ws.prototype.__iterate=function(Q,Ee){var yt=this,Xe=0;return this._iter.__iterate(function(Gt){return Q(Gt,Xe++,yt)},Ee)},ws.prototype.__iterator=function(Q,Ee){var yt=this._iter.__iterator(Pt,Ee),Xe=0;return new Rn(function(){var Gt=yt.next();return Gt.done?Gt:At(Q,Xe++,Gt.value,Gt)})},s(ds,jr),ds.prototype.has=function(Q){return this._iter.includes(Q)},ds.prototype.__iterate=function(Q,Ee){var yt=this;return this._iter.__iterate(function(Xe){return Q(Xe,Xe,yt)},Ee)},ds.prototype.__iterator=function(Q,Ee){var yt=this._iter.__iterator(Pt,Ee);return new Rn(function(){var Xe=yt.next();return Xe.done?Xe:At(Q,Xe.value,Xe.value,Xe)})},s(qs,ir),qs.prototype.entrySeq=function(){return this._iter.toSeq()},qs.prototype.__iterate=function(Q,Ee){var yt=this;return this._iter.__iterate(function(Xe){if(Xe){ku(Xe);var Gt=e(Xe);return Q(Gt?Xe.get(1):Xe[1],Gt?Xe.get(0):Xe[0],yt)}},Ee)},qs.prototype.__iterator=function(Q,Ee){var yt=this._iter.__iterator(Pt,Ee);return new Rn(function(){for(;;){var Xe=yt.next();if(Xe.done)return Xe;var Gt=Xe.value;if(Gt){ku(Gt);var An=e(Gt);return At(Q,An?Gt.get(0):Gt[0],An?Gt.get(1):Gt[1],Xe)}}})},ws.prototype.cacheResult=Xi.prototype.cacheResult=ds.prototype.cacheResult=qs.prototype.cacheResult=uu,s(Ba,ze),Ba.prototype.toString=function(){return this.__toString(Ga(this)+" {","}")},Ba.prototype.has=function(Q){return this._defaultValues.hasOwnProperty(Q)},Ba.prototype.get=function(Q,Ee){if(!this.has(Q))return Ee;var yt=this._defaultValues[Q];return this._map?this._map.get(Q,yt):yt},Ba.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var Q=this.constructor;return Q._empty||(Q._empty=tl(this,Vt()))},Ba.prototype.set=function(Q,Ee){if(!this.has(Q))throw new Error('Cannot set unknown key "'+Q+'" on '+Ga(this));if(this._map&&!this._map.has(Q)&&Ee===this._defaultValues[Q])return this;var Xe=this._map&&this._map.set(Q,Ee);return this.__ownerID||Xe===this._map?this:tl(this,Xe)},Ba.prototype.remove=function(Q){if(!this.has(Q))return this;var Ee=this._map&&this._map.remove(Q);return this.__ownerID||Ee===this._map?this:tl(this,Ee)},Ba.prototype.wasAltered=function(){return this._map.wasAltered()},Ba.prototype.__iterator=function(Q,Ee){var yt=this;return a(this._defaultValues).map(function(Xe,Gt){return yt.get(Gt)}).__iterator(Q,Ee)},Ba.prototype.__iterate=function(Q,Ee){var yt=this;return a(this._defaultValues).map(function(Xe,Gt){return yt.get(Gt)}).__iterate(Q,Ee)},Ba.prototype.__ensureOwner=function(Q){if(Q===this.__ownerID)return this;var Ee=this._map&&this._map.__ensureOwner(Q);return Q?tl(this,Ee,Q):(this.__ownerID=Q,this._map=Ee,this)};var Tl=Ba.prototype;function tl(Q,Ee,yt){var Xe=Object.create(Object.getPrototypeOf(Q));return Xe._map=Ee,Xe.__ownerID=yt,Xe}function Ga(Q){return Q._name||Q.constructor.name||"Record"}function cu(Q,Ee){Object.defineProperty(Q,Ee,{get:function(){return this.get(Ee)},set:function(yt){jt(this.__ownerID,"Cannot set on an immutable record."),this.set(Ee,yt)}})}function Sa(Q){return null==Q?ql():Ru(Q)&&!M(Q)?Q:ql().withMutations(function(Ee){var yt=u(Q);Ci(yt.size),yt.forEach(function(Xe){return Ee.add(Xe)})})}function Ru(Q){return!(!Q||!Q[xu])}Tl[$]=Tl.remove,Tl.deleteIn=Tl.removeIn=dr.removeIn,Tl.merge=dr.merge,Tl.mergeWith=dr.mergeWith,Tl.mergeIn=dr.mergeIn,Tl.mergeDeep=dr.mergeDeep,Tl.mergeDeepWith=dr.mergeDeepWith,Tl.mergeDeepIn=dr.mergeDeepIn,Tl.setIn=dr.setIn,Tl.update=dr.update,Tl.updateIn=dr.updateIn,Tl.withMutations=dr.withMutations,Tl.asMutable=dr.asMutable,Tl.asImmutable=dr.asImmutable,s(Sa,lt),Sa.of=function(){return this(arguments)},Sa.fromKeys=function(Q){return this(a(Q).keySeq())},Sa.prototype.toString=function(){return this.__toString("Set {","}")},Sa.prototype.has=function(Q){return this._map.has(Q)},Sa.prototype.add=function(Q){return nl(this,this._map.set(Q,!0))},Sa.prototype.remove=function(Q){return nl(this,this._map.remove(Q))},Sa.prototype.clear=function(){return nl(this,this._map.clear())},Sa.prototype.union=function(){var Q=C.call(arguments,0);return 0===(Q=Q.filter(function(Ee){return 0!==Ee.size})).length?this:0!==this.size||this.__ownerID||1!==Q.length?this.withMutations(function(Ee){for(var yt=0;yt<Q.length;yt++)u(Q[yt]).forEach(function(Xe){return Ee.add(Xe)})}):this.constructor(Q[0])},Sa.prototype.intersect=function(){var Q=C.call(arguments,0);if(0===Q.length)return this;Q=Q.map(function(yt){return u(yt)});var Ee=this;return this.withMutations(function(yt){Ee.forEach(function(Xe){Q.every(function(Gt){return Gt.includes(Xe)})||yt.remove(Xe)})})},Sa.prototype.subtract=function(){var Q=C.call(arguments,0);if(0===Q.length)return this;Q=Q.map(function(yt){return u(yt)});var Ee=this;return this.withMutations(function(yt){Ee.forEach(function(Xe){Q.some(function(Gt){return Gt.includes(Xe)})&&yt.remove(Xe)})})},Sa.prototype.merge=function(){return this.union.apply(this,arguments)},Sa.prototype.mergeWith=function(Q){var Ee=C.call(arguments,1);return this.union.apply(this,Ee)},Sa.prototype.sort=function(Q){return Al(el(this,Q))},Sa.prototype.sortBy=function(Q,Ee){return Al(el(this,Ee,Q))},Sa.prototype.wasAltered=function(){return this._map.wasAltered()},Sa.prototype.__iterate=function(Q,Ee){var yt=this;return this._map.__iterate(function(Xe,Gt){return Q(Gt,Gt,yt)},Ee)},Sa.prototype.__iterator=function(Q,Ee){return this._map.map(function(yt,Xe){return Xe}).__iterator(Q,Ee)},Sa.prototype.__ensureOwner=function(Q){if(Q===this.__ownerID)return this;var Ee=this._map.__ensureOwner(Q);return Q?this.__make(Ee,Q):(this.__ownerID=Q,this._map=Ee,this)},Sa.isSet=Ru;var gc,xu="@@__IMMUTABLE_SET__@@",ba=Sa.prototype;function nl(Q,Ee){return Q.__ownerID?(Q.size=Ee.size,Q._map=Ee,Q):Ee===Q._map?Q:0===Ee.size?Q.__empty():Q.__make(Ee)}function Su(Q,Ee){var yt=Object.create(ba);return yt.size=Q?Q.size:0,yt._map=Q,yt.__ownerID=Ee,yt}function ql(){return gc||(gc=Su(Vt()))}function Al(Q){return null==Q?pt():Dc(Q)?Q:pt().withMutations(function(Ee){var yt=u(Q);Ci(yt.size),yt.forEach(function(Xe){return Ee.add(Xe)})})}function Dc(Q){return Ru(Q)&&M(Q)}ba[xu]=!0,ba[$]=ba.remove,ba.mergeDeep=ba.merge,ba.mergeDeepWith=ba.mergeWith,ba.withMutations=dr.withMutations,ba.asMutable=dr.asMutable,ba.asImmutable=dr.asImmutable,ba.__empty=ql,ba.__make=Su,s(Al,Sa),Al.of=function(){return this(arguments)},Al.fromKeys=function(Q){return this(a(Q).keySeq())},Al.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Al.isOrderedSet=Dc;var bt,zs=Al.prototype;function Vc(Q,Ee){var yt=Object.create(zs);return yt.size=Q?Q.size:0,yt._map=Q,yt.__ownerID=Ee,yt}function pt(){return bt||(bt=Vc(vi()))}function Je(Q){return null==Q?Hs():en(Q)?Q:Hs().unshiftAll(Q)}function en(Q){return!(!Q||!Q[fi])}zs[W]=!0,zs.__empty=pt,zs.__make=Vc,s(Je,an),Je.of=function(){return this(arguments)},Je.prototype.toString=function(){return this.__toString("Stack [","]")},Je.prototype.get=function(Q,Ee){var yt=this._head;for(Q=Et(this,Q);yt&&Q--;)yt=yt.next;return yt?yt.value:Ee},Je.prototype.peek=function(){return this._head&&this._head.value},Je.prototype.push=function(){if(0===arguments.length)return this;for(var Q=this.size+arguments.length,Ee=this._head,yt=arguments.length-1;yt>=0;yt--)Ee={value:arguments[yt],next:Ee};return this.__ownerID?(this.size=Q,this._head=Ee,this.__hash=void 0,this.__altered=!0,this):Ya(Q,Ee)},Je.prototype.pushAll=function(Q){if(0===(Q=c(Q)).size)return this;Ci(Q.size);var Ee=this.size,yt=this._head;return Q.reverse().forEach(function(Xe){Ee++,yt={value:Xe,next:yt}}),this.__ownerID?(this.size=Ee,this._head=yt,this.__hash=void 0,this.__altered=!0,this):Ya(Ee,yt)},Je.prototype.pop=function(){return this.slice(1)},Je.prototype.unshift=function(){return this.push.apply(this,arguments)},Je.prototype.unshiftAll=function(Q){return this.pushAll(Q)},Je.prototype.shift=function(){return this.pop.apply(this,arguments)},Je.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Hs()},Je.prototype.slice=function(Q,Ee){if(ct(Q,Ee,this.size))return this;var yt=qe(Q,this.size);if(He(Ee,this.size)!==this.size)return an.prototype.slice.call(this,Q,Ee);for(var Gt=this.size-yt,An=this._head;yt--;)An=An.next;return this.__ownerID?(this.size=Gt,this._head=An,this.__hash=void 0,this.__altered=!0,this):Ya(Gt,An)},Je.prototype.__ensureOwner=function(Q){return Q===this.__ownerID?this:Q?Ya(this.size,this._head,Q,this.__hash):(this.__ownerID=Q,this.__altered=!1,this)},Je.prototype.__iterate=function(Q,Ee){if(Ee)return this.reverse().__iterate(Q);for(var yt=0,Xe=this._head;Xe&&!1!==Q(Xe.value,yt++,this);)Xe=Xe.next;return yt},Je.prototype.__iterator=function(Q,Ee){if(Ee)return this.reverse().__iterator(Q);var yt=0,Xe=this._head;return new Rn(function(){if(Xe){var Gt=Xe.value;return Xe=Xe.next,At(Q,yt++,Gt)}return{value:void 0,done:!0}})},Je.isStack=en;var mi,fi="@@__IMMUTABLE_STACK__@@",To=Je.prototype;function Ya(Q,Ee,yt,Xe){var Gt=Object.create(To);return Gt.size=Q,Gt._head=Ee,Gt.__ownerID=yt,Gt.__hash=Xe,Gt.__altered=!1,Gt}function Hs(){return mi||(mi=Ya(0))}function Qs(Q,Ee){var yt=function(Xe){Q.prototype[Xe]=Ee[Xe]};return Object.keys(Ee).forEach(yt),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(Ee).forEach(yt),Q}To[fi]=!0,To.withMutations=dr.withMutations,To.asMutable=dr.asMutable,To.asImmutable=dr.asImmutable,To.wasAltered=dr.wasAltered,r.Iterator=Rn,Qs(r,{toArray:function(){Ci(this.size);var Q=new Array(this.size||0);return this.valueSeq().__iterate(function(Ee,yt){Q[yt]=Ee}),Q},toIndexedSeq:function(){return new ws(this)},toJS:function(){return this.toSeq().map(function(Q){return Q&&"function"==typeof Q.toJS?Q.toJS():Q}).__toJS()},toJSON:function(){return this.toSeq().map(function(Q){return Q&&"function"==typeof Q.toJSON?Q.toJSON():Q}).__toJS()},toKeyedSeq:function(){return new Xi(this,!0)},toMap:function(){return Ai(this.toKeyedSeq())},toObject:function(){Ci(this.size);var Q={};return this.__iterate(function(Ee,yt){Q[yt]=Ee}),Q},toOrderedMap:function(){return ie(this.toKeyedSeq())},toOrderedSet:function(){return Al(f(this)?this.valueSeq():this)},toSet:function(){return Sa(f(this)?this.valueSeq():this)},toSetSeq:function(){return new ds(this)},toSeq:function(){return m(this)?this.toIndexedSeq():f(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Je(f(this)?this.valueSeq():this)},toList:function(){return Ji(f(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(Q,Ee){return 0===this.size?Q+Ee:Q+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+Ee},concat:function(){return Gs(this,function au(Q,Ee){var yt=f(Q),Xe=[Q].concat(Ee).map(function(kn){return e(kn)?yt&&(kn=a(kn)):kn=yt?Wi(kn):so(Array.isArray(kn)?kn:[kn]),kn}).filter(function(kn){return 0!==kn.size});if(0===Xe.length)return Q;if(1===Xe.length){var Gt=Xe[0];if(Gt===Q||yt&&f(Gt)||m(Q)&&m(Gt))return Gt}var An=new ht(Xe);return yt?An=An.toKeyedSeq():m(Q)||(An=An.toSetSeq()),(An=An.flatten(!0)).size=Xe.reduce(function(kn,Hr){if(void 0!==kn){var Xr=Hr.size;if(void 0!==Xr)return kn+Xr}},0),An}(this,C.call(arguments,0)))},includes:function(Q){return this.some(function(Ee){return qr(Ee,Q)})},entries:function(){return this.__iterator(it)},every:function(Q,Ee){Ci(this.size);var yt=!0;return this.__iterate(function(Xe,Gt,An){if(!Q.call(Ee,Xe,Gt,An))return yt=!1,!1}),yt},filter:function(Q,Ee){return Gs(this,Yu(this,Q,Ee,!0))},find:function(Q,Ee,yt){var Xe=this.findEntry(Q,Ee);return Xe?Xe[1]:yt},forEach:function(Q,Ee){return Ci(this.size),this.__iterate(Ee?Q.bind(Ee):Q)},join:function(Q){Ci(this.size),Q=void 0!==Q?""+Q:",";var Ee="",yt=!0;return this.__iterate(function(Xe){yt?yt=!1:Ee+=Q,Ee+=null!=Xe?Xe.toString():""}),Ee},keys:function(){return this.__iterator(Le)},map:function(Q,Ee){return Gs(this,Ll(this,Q,Ee))},reduce:function(Q,Ee,yt){var Xe,Gt;return Ci(this.size),arguments.length<2?Gt=!0:Xe=Ee,this.__iterate(function(An,kn,Hr){Gt?(Gt=!1,Xe=An):Xe=Q.call(yt,Xe,An,kn,Hr)}),Xe},reduceRight:function(Q,Ee,yt){var Xe=this.toKeyedSeq().reverse();return Xe.reduce.apply(Xe,arguments)},reverse:function(){return Gs(this,vl(this,!0))},slice:function(Q,Ee){return Gs(this,Ol(this,Q,Ee,!0))},some:function(Q,Ee){return!this.every(lu(Q),Ee)},sort:function(Q){return Gs(this,el(this,Q))},values:function(){return this.__iterator(Pt)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(Q,Ee){return ge(Q?this.toSeq().filter(Q,Ee):this)},countBy:function(Q,Ee){return function Nc(Q,Ee,yt){var Xe=Ai().asMutable();return Q.__iterate(function(Gt,An){Xe.update(Ee.call(yt,Gt,An,Q),0,function(kn){return kn+1})}),Xe.asImmutable()}(this,Q,Ee)},equals:function(Q){return Hi(this,Q)},entrySeq:function(){var Q=this;if(Q._cache)return new ht(Q._cache);var Ee=Q.toSeq().map(hu).toIndexedSeq();return Ee.fromEntrySeq=function(){return Q.toSeq()},Ee},filterNot:function(Q,Ee){return this.filter(lu(Q),Ee)},findEntry:function(Q,Ee,yt){var Xe=yt;return this.__iterate(function(Gt,An,kn){if(Q.call(Ee,Gt,An,kn))return Xe=[An,Gt],!1}),Xe},findKey:function(Q,Ee){var yt=this.findEntry(Q,Ee);return yt&&yt[0]},findLast:function(Q,Ee,yt){return this.toKeyedSeq().reverse().find(Q,Ee,yt)},findLastEntry:function(Q,Ee,yt){return this.toKeyedSeq().reverse().findEntry(Q,Ee,yt)},findLastKey:function(Q,Ee){return this.toKeyedSeq().reverse().findKey(Q,Ee)},first:function(){return this.find(ot)},flatMap:function(Q,Ee){return Gs(this,function yu(Q,Ee,yt){var Xe=ua(Q);return Q.toSeq().map(function(Gt,An){return Xe(Ee.call(yt,Gt,An,Q))}).flatten(!0)}(this,Q,Ee))},flatten:function(Q){return Gs(this,Da(this,Q,!0))},fromEntrySeq:function(){return new qs(this)},get:function(Q,Ee){return this.find(function(yt,Xe){return qr(Xe,Q)},void 0,Ee)},getIn:function(Q,Ee){for(var Gt,yt=this,Xe=$u(Q);!(Gt=Xe.next()).done;)if((yt=yt&&yt.get?yt.get(Gt.value,de):de)===de)return Ee;return yt},groupBy:function(Q,Ee){return function qu(Q,Ee,yt){var Xe=f(Q),Gt=(M(Q)?ie():Ai()).asMutable();Q.__iterate(function(kn,Hr){Gt.update(Ee.call(yt,kn,Hr,Q),function(Xr){return(Xr=Xr||[]).push(Xe?[Hr,kn]:kn),Xr})});var An=ua(Q);return Gt.map(function(kn){return Gs(Q,An(kn))})}(this,Q,Ee)},has:function(Q){return this.get(Q,de)!==de},hasIn:function(Q){return this.getIn(Q,de)!==de},isSubset:function(Q){return Q="function"==typeof Q.includes?Q:r(Q),this.every(function(Ee){return Q.includes(Ee)})},isSuperset:function(Q){return(Q="function"==typeof Q.isSubset?Q:r(Q)).isSubset(this)},keyOf:function(Q){return this.findKey(function(Ee){return qr(Ee,Q)})},keySeq:function(){return this.toSeq().map(sc).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(Q){return this.toKeyedSeq().reverse().keyOf(Q)},max:function(Q){return oc(this,Q)},maxBy:function(Q,Ee){return oc(this,Ee,Q)},min:function(Q){return oc(this,Q?id(Q):du)},minBy:function(Q,Ee){return oc(this,Ee?id(Ee):du,Q)},rest:function(){return this.slice(1)},skip:function(Q){return this.slice(Math.max(0,Q))},skipLast:function(Q){return Gs(this,this.toSeq().reverse().skip(Q).reverse())},skipWhile:function(Q,Ee){return Gs(this,yl(this,Q,Ee,!0))},skipUntil:function(Q,Ee){return this.skipWhile(lu(Q),Ee)},sortBy:function(Q,Ee){return Gs(this,el(this,Ee,Q))},take:function(Q){return this.slice(0,Math.max(0,Q))},takeLast:function(Q){return Gs(this,this.toSeq().reverse().take(Q).reverse())},takeWhile:function(Q,Ee){return Gs(this,function Kc(Q,Ee,yt){var Xe=El(Q);return Xe.__iterateUncached=function(Gt,An){var kn=this;if(An)return this.cacheResult().__iterate(Gt,An);var Hr=0;return Q.__iterate(function(Xr,yr,Rr){return Ee.call(yt,Xr,yr,Rr)&&++Hr&&Gt(Xr,yr,kn)}),Hr},Xe.__iteratorUncached=function(Gt,An){var kn=this;if(An)return this.cacheResult().__iterator(Gt,An);var Hr=Q.__iterator(it,An),Xr=!0;return new Rn(function(){if(!Xr)return{value:void 0,done:!0};var yr=Hr.next();if(yr.done)return yr;var Rr=yr.value,Go=Rr[0],Io=Rr[1];return Ee.call(yt,Io,Go,kn)?Gt===it?yr:At(Gt,Go,Io,yr):(Xr=!1,{value:void 0,done:!0})})},Xe}(this,Q,Ee))},takeUntil:function(Q,Ee){return this.takeWhile(lu(Q),Ee)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function Lc(Q){if(Q.size===1/0)return 0;var Ee=M(Q),yt=f(Q),Xe=Ee?1:0;return function kl(Q,Ee){return Ee=Rt(Ee,3432918353),Ee=Rt(Ee<<15|Ee>>>-15,461845907),Ee=Rt(Ee<<13|Ee>>>-13,5),Ee=Rt((Ee=(Ee+3864292196|0)^Q)^Ee>>>16,2246822507),Pe((Ee=Rt(Ee^Ee>>>13,3266489909))^Ee>>>16)}(Q.__iterate(yt?Ee?function(An,kn){Xe=31*Xe+sl(qn(An),qn(kn))|0}:function(An,kn){Xe=Xe+sl(qn(An),qn(kn))|0}:Ee?function(An){Xe=31*Xe+qn(An)|0}:function(An){Xe=Xe+qn(An)|0}),Xe)}(this))}});var Hu=r.prototype;Hu[w]=!0,Hu[pn]=Hu.values,Hu.__toJS=Hu.toArray,Hu.__toStringMapper=ec,Hu.inspect=Hu.toSource=function(){return this.toString()},Hu.chain=Hu.flatMap,Hu.contains=Hu.includes,Qs(a,{flip:function(){return Gs(this,Js(this))},mapEntries:function(Q,Ee){var yt=this,Xe=0;return Gs(this,this.toSeq().map(function(Gt,An){return Q.call(Ee,[An,Gt],Xe++,yt)}).fromEntrySeq())},mapKeys:function(Q,Ee){var yt=this;return Gs(this,this.toSeq().flip().map(function(Xe,Gt){return Q.call(Ee,Xe,Gt,yt)}).flip())}});var zl=a.prototype;function sc(Q,Ee){return Ee}function hu(Q,Ee){return[Ee,Q]}function lu(Q){return function(){return!Q.apply(this,arguments)}}function id(Q){return function(){return-Q.apply(this,arguments)}}function ec(Q){return"string"==typeof Q?JSON.stringify(Q):String(Q)}function Fc(){return $e(arguments)}function du(Q,Ee){return Q<Ee?1:Q>Ee?-1:0}function sl(Q,Ee){return Q^Ee+2654435769+(Q<<6)+(Q>>2)|0}return zl[D]=!0,zl[pn]=Hu.entries,zl.__toJS=Hu.toObject,zl.__toStringMapper=function(Q,Ee){return JSON.stringify(Ee)+": "+ec(Q)},Qs(c,{toKeyedSeq:function(){return new Xi(this,!1)},filter:function(Q,Ee){return Gs(this,Yu(this,Q,Ee,!1))},findIndex:function(Q,Ee){var yt=this.findEntry(Q,Ee);return yt?yt[0]:-1},indexOf:function(Q){var Ee=this.keyOf(Q);return void 0===Ee?-1:Ee},lastIndexOf:function(Q){var Ee=this.lastKeyOf(Q);return void 0===Ee?-1:Ee},reverse:function(){return Gs(this,vl(this,!1))},slice:function(Q,Ee){return Gs(this,Ol(this,Q,Ee,!1))},splice:function(Q,Ee){var yt=arguments.length;if(Ee=Math.max(0|Ee,0),0===yt||2===yt&&!Ee)return this;Q=qe(Q,Q<0?this.count():this.size);var Xe=this.slice(0,Q);return Gs(this,1===yt?Xe:Xe.concat($e(arguments,2),this.slice(Q+Ee)))},findLastIndex:function(Q,Ee){var yt=this.findLastEntry(Q,Ee);return yt?yt[0]:-1},first:function(){return this.get(0)},flatten:function(Q){return Gs(this,Da(this,Q,!1))},get:function(Q,Ee){return(Q=Et(this,Q))<0||this.size===1/0||void 0!==this.size&&Q>this.size?Ee:this.find(function(yt,Xe){return Xe===Q},void 0,Ee)},has:function(Q){return(Q=Et(this,Q))>=0&&(void 0!==this.size?this.size===1/0||Q<this.size:-1!==this.indexOf(Q))},interpose:function(Q){return Gs(this,function ju(Q,Ee){var yt=El(Q);return yt.size=Q.size&&2*Q.size-1,yt.__iterateUncached=function(Xe,Gt){var An=this,kn=0;return Q.__iterate(function(Hr,Xr){return(!kn||!1!==Xe(Ee,kn++,An))&&!1!==Xe(Hr,kn++,An)},Gt),kn},yt.__iteratorUncached=function(Xe,Gt){var Hr,An=Q.__iterator(Pt,Gt),kn=0;return new Rn(function(){return(!Hr||kn%2)&&(Hr=An.next()).done?Hr:kn%2?At(Xe,kn++,Ee):At(Xe,kn++,Hr.value,Hr)})},yt}(this,Q))},interleave:function(){var Q=[this].concat($e(arguments)),Ee=Ic(this.toSeq(),Qr.of,Q),yt=Ee.flatten(!0);return Ee.size&&(yt.size=Ee.size*Q.length),Gs(this,yt)},keySeq:function(){return Fe(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(Q,Ee){return Gs(this,yl(this,Q,Ee,!1))},zip:function(){return Gs(this,Ic(this,Fc,[this].concat($e(arguments))))},zipWith:function(Q){var Ee=$e(arguments);return Ee[0]=this,Gs(this,Ic(this,Q,Ee))}}),c.prototype[U]=!0,c.prototype[W]=!0,Qs(u,{get:function(Q,Ee){return this.has(Q)?Q:Ee},includes:function(Q){return this.has(Q)},keySeq:function(){return this.valueSeq()}}),u.prototype.has=Hu.includes,u.prototype.contains=u.prototype.includes,Qs(ir,a.prototype),Qs(Qr,c.prototype),Qs(jr,u.prototype),Qs(ze,a.prototype),Qs(an,c.prototype),Qs(lt,u.prototype),{Iterable:r,Seq:Lr,Collection:et,Map:Ai,OrderedMap:ie,List:Ji,Stack:Je,Set:Sa,OrderedSet:Al,Record:Ba,Range:Fe,Repeat:Dn,is:qr,fromJS:pr}}()},31536:E=>{"use strict";class C extends Error{constructor(m){super(C._prepareSuperMessage(m)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,C)}static _prepareSuperMessage(m){try{return JSON.stringify(m)}catch{return String(m)}}}const s=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],r=Symbol(".toJSON called"),c=({from:f,seen:m,to_:T,forceEnumerable:M,maxDepth:w,depth:D})=>{const U=T||(Array.isArray(f)?[]:{});if(m.push(f),D>=w)return U;if("function"==typeof f.toJSON&&!0!==f[r])return(f=>{f[r]=!0;const m=f.toJSON();return delete f[r],m})(f);for(const[W,$]of Object.entries(f))if("function"==typeof Buffer&&Buffer.isBuffer($))U[W]="[object Buffer]";else if("function"!=typeof $){if(!$||"object"!=typeof $){U[W]=$;continue}if(!m.includes(f[W])){D++,U[W]=c({from:f[W],seen:m.slice(),forceEnumerable:M,maxDepth:w,depth:D});continue}U[W]="[Circular]"}for(const{property:W,enumerable:$}of s)"string"==typeof f[W]&&Object.defineProperty(U,W,{value:f[W],enumerable:!!M||$,configurable:!0,writable:!0});return U};E.exports={serializeError:(f,m={})=>{const{maxDepth:T=Number.POSITIVE_INFINITY}=m;return"object"==typeof f&&null!==f?c({from:f,seen:[],forceEnumerable:!0,maxDepth:T,depth:0}):"function"==typeof f?`[Function: ${f.name||"anonymous"}]`:f},deserializeError:(f,m={})=>{const{maxDepth:T=Number.POSITIVE_INFINITY}=m;if(f instanceof Error)return f;if("object"==typeof f&&null!==f&&!Array.isArray(f)){const M=new Error;return c({from:f,seen:[],to_:M,maxDepth:T,depth:0}),M}return new C(f)}}},35311:E=>{E.exports=function(){var C=document.getSelection();if(!C.rangeCount)return function(){};for(var s=document.activeElement,r=[],a=0;a<C.rangeCount;a++)r.push(C.getRangeAt(a));switch(s.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":s.blur();break;default:s=null}return C.removeAllRanges(),function(){"Caret"===C.type&&C.removeAllRanges(),C.rangeCount||r.forEach(function(c){C.addRange(c)}),s&&s.focus()}}},18807:E=>{"use strict";function C($){return Object.prototype.toString.call($)}var f=Array.isArray||function(J){return"[object Array]"===Object.prototype.toString.call(J)};function m($,J){if($.forEach)return $.forEach(J);for(var F=0;F<$.length;F++)J($[F],F,$)}var T=Object.keys||function(J){var F=[];for(var X in J)F.push(X);return F},M=Object.prototype.hasOwnProperty||function($,J){return J in $};function w($){if("object"==typeof $&&null!==$){var J;if(f($))J=[];else if(function s($){return"[object Date]"===C($)}($))J=new Date($.getTime?$.getTime():$);else if(function r($){return"[object RegExp]"===C($)}($))J=new RegExp($);else if(function a($){return"[object Error]"===C($)}($))J={message:$.message};else if(function c($){return"[object Boolean]"===C($)}($)||function u($){return"[object Number]"===C($)}($)||function e($){return"[object String]"===C($)}($))J=Object($);else if(Object.create&&Object.getPrototypeOf)J=Object.create(Object.getPrototypeOf($));else if($.constructor===Object)J={};else{var X=function(){};X.prototype=$.constructor&&$.constructor.prototype||$.__proto__||{},J=new X}return m(T($),function(de){J[de]=$[de]}),J}return $}function D($,J,F){var X=[],de=[],V=!0;return function ce(se){var fe=F?w(se):se,Te={},$e=!0,ge={node:fe,node_:se,path:[].concat(X),parent:de[de.length-1],parents:de,key:X[X.length-1],isRoot:0===X.length,level:X.length,circular:null,update:function(ct,qe){ge.isRoot||(ge.parent.node[ge.key]=ct),ge.node=ct,qe&&($e=!1)},delete:function(ct){delete ge.parent.node[ge.key],ct&&($e=!1)},remove:function(ct){f(ge.parent.node)?ge.parent.node.splice(ge.key,1):delete ge.parent.node[ge.key],ct&&($e=!1)},keys:null,before:function(ct){Te.before=ct},after:function(ct){Te.after=ct},pre:function(ct){Te.pre=ct},post:function(ct){Te.post=ct},stop:function(){V=!1},block:function(){$e=!1}};if(!V)return ge;function Et(){if("object"==typeof ge.node&&null!==ge.node){(!ge.keys||ge.node_!==ge.node)&&(ge.keys=T(ge.node)),ge.isLeaf=0===ge.keys.length;for(var ct=0;ct<de.length;ct++)if(de[ct].node_===se){ge.circular=de[ct];break}}else ge.isLeaf=!0,ge.keys=null;ge.notLeaf=!ge.isLeaf,ge.notRoot=!ge.isRoot}Et();var ot=J.call(ge,ge.node);return void 0!==ot&&ge.update&&ge.update(ot),Te.before&&Te.before.call(ge,ge.node),$e&&("object"==typeof ge.node&&null!==ge.node&&!ge.circular&&(de.push(ge),Et(),m(ge.keys,function(ct,qe){X.push(ct),Te.pre&&Te.pre.call(ge,ge.node[ct],ct);var He=ce(ge.node[ct]);F&&M.call(ge.node,ct)&&(ge.node[ct]=He.node),He.isLast=qe===ge.keys.length-1,He.isFirst=0===qe,Te.post&&Te.post.call(ge,He),X.pop()}),de.pop()),Te.after&&Te.after.call(ge,ge.node)),ge}($).node}function U($){this.value=$}function W($){return new U($)}U.prototype.get=function($){for(var J=this.value,F=0;F<$.length;F++){var X=$[F];if(!J||!M.call(J,X))return;J=J[X]}return J},U.prototype.has=function($){for(var J=this.value,F=0;F<$.length;F++){var X=$[F];if(!J||!M.call(J,X))return!1;J=J[X]}return!0},U.prototype.set=function($,J){for(var F=this.value,X=0;X<$.length-1;X++){var de=$[X];M.call(F,de)||(F[de]={}),F=F[de]}return F[$[X]]=J,J},U.prototype.map=function($){return D(this.value,$,!0)},U.prototype.forEach=function($){return this.value=D(this.value,$,!1),this.value},U.prototype.reduce=function($,J){var F=1===arguments.length,X=F?this.value:J;return this.forEach(function(de){(!this.isRoot||!F)&&(X=$.call(this,X,de))}),X},U.prototype.paths=function(){var $=[];return this.forEach(function(){$.push(this.path)}),$},U.prototype.nodes=function(){var $=[];return this.forEach(function(){$.push(this.node)}),$},U.prototype.clone=function(){var $=[],J=[];return function F(X){for(var de=0;de<$.length;de++)if($[de]===X)return J[de];if("object"==typeof X&&null!==X){var V=w(X);return $.push(X),J.push(V),m(T(X),function(ce){V[ce]=F(X[ce])}),$.pop(),J.pop(),V}return X}(this.value)},m(T(U.prototype),function($){W[$]=function(J){var F=[].slice.call(arguments,1),X=new U(J);return X[$].apply(X,F)}}),E.exports=W},2135:(E,C,s)=>{"use strict";var r=s(90465),a=s(76959),c=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,u=/[\n\r\t]/g,e=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,f=/:\d+$/,m=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,T=/^[a-zA-Z]:/;function M(V){return(V||"").toString().replace(c,"")}var w=[["#","hash"],["?","query"],function(ce,se){return W(se.protocol)?ce.replace(/\\/g,"/"):ce},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],D={hash:1,query:1};function U(V){var ce;ce=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};var $e,fe={},Te=typeof(V=V||ce.location||{});if("blob:"===V.protocol)fe=new F(unescape(V.pathname),{});else if("string"===Te)for($e in fe=new F(V,{}),D)delete fe[$e];else if("object"===Te){for($e in V)$e in D||(fe[$e]=V[$e]);void 0===fe.slashes&&(fe.slashes=e.test(V.href))}return fe}function W(V){return"file:"===V||"ftp:"===V||"http:"===V||"https:"===V||"ws:"===V||"wss:"===V}function $(V,ce){V=(V=M(V)).replace(u,""),ce=ce||{};var Et,se=m.exec(V),fe=se[1]?se[1].toLowerCase():"",Te=!!se[2],$e=!!se[3],ge=0;return Te?$e?(Et=se[2]+se[3]+se[4],ge=se[2].length+se[3].length):(Et=se[2]+se[4],ge=se[2].length):$e?(Et=se[3]+se[4],ge=se[3].length):Et=se[4],"file:"===fe?ge>=2&&(Et=Et.slice(2)):W(fe)?Et=se[4]:fe?Te&&(Et=Et.slice(2)):ge>=2&&W(ce.protocol)&&(Et=se[4]),{protocol:fe,slashes:Te||W(fe),slashesCount:ge,rest:Et}}function F(V,ce,se){if(V=(V=M(V)).replace(u,""),!(this instanceof F))return new F(V,ce,se);var fe,Te,$e,ge,Et,ot,ct=w.slice(),qe=typeof ce,He=this,We=0;for("object"!==qe&&"string"!==qe&&(se=ce,ce=null),se&&"function"!=typeof se&&(se=a.parse),fe=!(Te=$(V||"",ce=U(ce))).protocol&&!Te.slashes,He.slashes=Te.slashes||fe&&ce.slashes,He.protocol=Te.protocol||ce.protocol||"",V=Te.rest,("file:"===Te.protocol&&(2!==Te.slashesCount||T.test(V))||!Te.slashes&&(Te.protocol||Te.slashesCount<2||!W(He.protocol)))&&(ct[3]=[/(.*)/,"pathname"]);We<ct.length;We++)"function"!=typeof(ge=ct[We])?(ot=ge[1],($e=ge[0])!=$e?He[ot]=V:"string"==typeof $e?~(Et="@"===$e?V.lastIndexOf($e):V.indexOf($e))&&("number"==typeof ge[2]?(He[ot]=V.slice(0,Et),V=V.slice(Et+ge[2])):(He[ot]=V.slice(Et),V=V.slice(0,Et))):(Et=$e.exec(V))&&(He[ot]=Et[1],V=V.slice(0,Et.index)),He[ot]=He[ot]||fe&&ge[3]&&ce[ot]||"",ge[4]&&(He[ot]=He[ot].toLowerCase())):V=ge(V,He);se&&(He.query=se(He.query)),fe&&ce.slashes&&"/"!==He.pathname.charAt(0)&&(""!==He.pathname||""!==ce.pathname)&&(He.pathname=function J(V,ce){if(""===V)return ce;for(var se=(ce||"/").split("/").slice(0,-1).concat(V.split("/")),fe=se.length,Te=se[fe-1],$e=!1,ge=0;fe--;)"."===se[fe]?se.splice(fe,1):".."===se[fe]?(se.splice(fe,1),ge++):ge&&(0===fe&&($e=!0),se.splice(fe,1),ge--);return $e&&se.unshift(""),("."===Te||".."===Te)&&se.push(""),se.join("/")}(He.pathname,ce.pathname)),"/"!==He.pathname.charAt(0)&&W(He.protocol)&&(He.pathname="/"+He.pathname),r(He.port,He.protocol)||(He.host=He.hostname,He.port=""),He.username=He.password="",He.auth&&(~(Et=He.auth.indexOf(":"))?(He.username=He.auth.slice(0,Et),He.username=encodeURIComponent(decodeURIComponent(He.username)),He.password=He.auth.slice(Et+1),He.password=encodeURIComponent(decodeURIComponent(He.password))):He.username=encodeURIComponent(decodeURIComponent(He.auth)),He.auth=He.password?He.username+":"+He.password:He.username),He.origin="file:"!==He.protocol&&W(He.protocol)&&He.host?He.protocol+"//"+He.host:"null",He.href=He.toString()}F.prototype={set:function X(V,ce,se){var fe=this;switch(V){case"query":"string"==typeof ce&&ce.length&&(ce=(se||a.parse)(ce)),fe[V]=ce;break;case"port":fe[V]=ce,r(ce,fe.protocol)?ce&&(fe.host=fe.hostname+":"+ce):(fe.host=fe.hostname,fe[V]="");break;case"hostname":fe[V]=ce,fe.port&&(ce+=":"+fe.port),fe.host=ce;break;case"host":fe[V]=ce,f.test(ce)?(ce=ce.split(":"),fe.port=ce.pop(),fe.hostname=ce.join(":")):(fe.hostname=ce,fe.port="");break;case"protocol":fe.protocol=ce.toLowerCase(),fe.slashes=!se;break;case"pathname":case"hash":if(ce){var Te="pathname"===V?"/":"#";fe[V]=ce.charAt(0)!==Te?Te+ce:ce}else fe[V]=ce;break;case"username":case"password":fe[V]=encodeURIComponent(ce);break;case"auth":var $e=ce.indexOf(":");~$e?(fe.username=ce.slice(0,$e),fe.username=encodeURIComponent(decodeURIComponent(fe.username)),fe.password=ce.slice($e+1),fe.password=encodeURIComponent(decodeURIComponent(fe.password))):fe.username=encodeURIComponent(decodeURIComponent(ce))}for(var ge=0;ge<w.length;ge++){var Et=w[ge];Et[4]&&(fe[Et[1]]=fe[Et[1]].toLowerCase())}return fe.auth=fe.password?fe.username+":"+fe.password:fe.username,fe.origin="file:"!==fe.protocol&&W(fe.protocol)&&fe.host?fe.protocol+"//"+fe.host:"null",fe.href=fe.toString(),fe},toString:function de(V){(!V||"function"!=typeof V)&&(V=a.stringify);var ce,se=this,fe=se.host,Te=se.protocol;Te&&":"!==Te.charAt(Te.length-1)&&(Te+=":");var $e=Te+(se.protocol&&se.slashes||W(se.protocol)?"//":"");return se.username?($e+=se.username,se.password&&($e+=":"+se.password),$e+="@"):se.password?($e+=":"+se.password,$e+="@"):"file:"!==se.protocol&&W(se.protocol)&&!fe&&"/"!==se.pathname&&($e+="@"),(":"===fe[fe.length-1]||f.test(se.hostname)&&!se.port)&&(fe+=":"),$e+=fe+se.pathname,(ce="object"==typeof se.query?V(se.query):se.query)&&($e+="?"!==ce.charAt(0)?"?"+ce:ce),se.hash&&($e+=se.hash),$e}},F.extractProtocol=$,F.location=U,F.trimLeft=M,F.qs=a,E.exports=F},58734:(E,C,s)=>{"use strict";var r=s(88280),a=function(w){return w.split(/(<\/?[^>]+>)/g).filter(function(D){return""!==D.trim()})},u=function(w){return/<\/+[^>]+>/.test(w)},e=function(w){return/<[^>]+\/>/.test(w)},f=function(w){return function(w){return/<[^>!]+>/.test(w)}(w)&&!u(w)&&!e(w)};function T(M){return u(M)?"ClosingTag":f(M)?"OpeningTag":e(M)?"SelfClosingTag":"Text"}E.exports=function(M){var w=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},D=w.indentor,U=w.textNodesOnSameLine,W=0,$=[];D=D||" ";var J=function m(M){return a(M).map(function(D){return{value:D,type:T(D)}})}(M).map(function(F,X,de){var V=F.value,ce=F.type;"ClosingTag"===ce&&W--;var se=r(D,W),fe=se+V;if("OpeningTag"===ce&&W++,U){var Te=de[X-1],$e=de[X-2];"ClosingTag"===ce&&"Text"===Te.type&&"OpeningTag"===$e.type&&(fe=""+se+$e.value+Te.value+V,$.push(X-2,X-1))}return fe});return $.forEach(function(F){return J[F]=null}),J.filter(function(F){return!!F}).join("\n")}},1653:function(E,C){var s,r,a;r=[],void 0!==(a="function"==typeof(s=function(){"use strict";var c=function(D){return D&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(D)["scroll-behavior"]};if(typeof window>"u"||!("document"in window))return{};var u=function(D,U,W){U=U||999,!W&&0!==W&&(W=9);var $,J=function(Te){$=Te},F=function(){clearTimeout($),J(0)},X=function(Te){return Math.max(0,D.getTopOf(Te)-W)},de=function(Te,$e,ge){if(F(),0===$e||$e&&$e<0||c(D.body))D.toY(Te),ge&&ge();else{var Et=D.getY(),ot=Math.max(0,Te)-Et,ct=(new Date).getTime();$e=$e||Math.min(Math.abs(ot),U),function qe(){J(setTimeout(function(){var He=Math.min(1,((new Date).getTime()-ct)/$e),We=Math.max(0,Math.floor(Et+ot*(He<.5?2*He*He:He*(4-2*He)-1)));D.toY(We),He<1&&D.getHeight()+We<D.body.scrollHeight?qe():(setTimeout(F,99),ge&&ge())},9))}()}},V=function(Te,$e,ge){de(X(Te),$e,ge)};return{setup:function(Te,$e){return(0===Te||Te)&&(U=Te),(0===$e||$e)&&(W=$e),{defaultDuration:U,edgeOffset:W}},to:V,toY:de,intoView:function(Te,$e,ge){var Et=Te.getBoundingClientRect().height,ot=D.getTopOf(Te)+Et,ct=D.getHeight(),qe=D.getY(),He=qe+ct;X(Te)<qe||Et+W>ct?V(Te,$e,ge):ot+W>He?de(ot-ct+W,$e,ge):ge&&ge()},center:function(Te,$e,ge,Et){de(Math.max(0,D.getTopOf(Te)-D.getHeight()/2+(ge||Te.getBoundingClientRect().height/2)),$e,Et)},stop:F,moving:function(){return!!$},getY:D.getY,getTopOf:D.getTopOf}},e=document.documentElement,f=function(){return window.scrollY||e.scrollTop},m=u({body:document.scrollingElement||document.body,toY:function(D){window.scrollTo(0,D)},getY:f,getHeight:function(){return window.innerHeight||e.clientHeight},getTopOf:function(D){return D.getBoundingClientRect().top+f()-e.offsetTop}});if(m.createScroller=function(D,U,W){return u({body:D,toY:function($){D.scrollTop=$},getY:function(){return D.scrollTop},getHeight:function(){return Math.min(D.clientHeight,window.innerHeight||e.clientHeight)},getTopOf:function($){return $.offsetTop}},U,W)},"addEventListener"in window&&!window.noZensmooth&&!c(document.body)){var T="history"in window&&"pushState"in history,M=T&&"scrollRestoration"in history;M&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){M&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(D){D.state&&"zenscrollY"in D.state&&m.toY(D.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var D=m.setup().edgeOffset;if(D){var U=document.getElementById(window.location.href.split("#")[1]);if(U){var W=Math.max(0,m.getTopOf(U)-D),$=m.getY()-W;0<=$&&$<9&&window.scrollTo(0,W)}}},9)},!1);var w=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",function(D){for(var U=D.target;U&&"A"!==U.tagName;)U=U.parentNode;if(!(!U||1!==D.which||D.shiftKey||D.metaKey||D.ctrlKey||D.altKey)){if(M){var W=history.state&&"object"==typeof history.state?history.state:{};W.zenscrollY=m.getY();try{history.replaceState(W,"")}catch{}}var $=U.getAttribute("href")||"";if(0===$.indexOf("#")&&!w.test(U.className)){var J=0,F=document.getElementById($.substring(1));if("#"!==$){if(!F)return;J=m.getTopOf(F)}D.preventDefault();var X=function(){window.location=$},de=m.setup().edgeOffset;de&&(J=Math.max(0,J-de),T&&(X=function(){history.pushState({},"",$)})),m.toY(J,null,X)}}},!1)}return m}())?s.apply(C,r):s)&&(E.exports=a)},9024:(E,C,s)=>{"use strict";s.d(C,{S:()=>J});var r=s(47557),a=s(20044),c=s(28211),u=s(72621),e=s(66369),f=s(64537);let m=(()=>{class F{constructor(de){this.formatter=de,this.bytesLabels=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],this.bytesPerSecondLabels=["B/s","KiB/s","MiB/s","GiB/s","TiB/s","PiB/s","EiB/s","ZiB/s","YiB/s"],this.secondsLabels=["ns","\u03bcs","ms","s","ks","Ms"],this.unitlessLabels=["","k","M","G","T","P","E","Z","Y"]}formatFromTo(de,V,ce="",se,fe,Te=1){return this.formatter.formatNumberFromTo(de,V,ce,se,fe,Te)}formatBytesFromTo(de,V,ce,se=1){return this.formatFromTo(de,V,ce,1024,this.bytesLabels,se)}formatBytesPerSecondFromTo(de,V,ce,se=1){return this.formatFromTo(de,V,ce,1024,this.bytesPerSecondLabels,se)}formatSecondsFromTo(de,V,ce,se=1){return this.formatFromTo(de,V,ce,1e3,this.secondsLabels,se)}formatUnitlessFromTo(de,V,ce="",se=1){return this.formatFromTo(de,V,ce,1e3,this.unitlessLabels,se)}}return F.\u0275fac=function(de){return new(de||F)(f.LFG(c.H))},F.\u0275prov=f.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})();var T=s(99475),M=s(88692);function w(F,X){1&F&&(f.tHW(0,4,1),f._UZ(1,"div",11),f.N_p())}function D(F,X){if(1&F&&(f.tHW(0,4,2),f._UZ(1,"div"),f.N_p()),2&F){const de=f.oxw();f.xp6(1),f.pQV(de.label),f.QtT(0)}}function U(F,X){if(1&F&&(f.tHW(0,4,3),f._UZ(1,"div"),f.N_p()),2&F){const de=f.oxw();f.xp6(1),f.pQV(de.maxConvertedValue)(de.maxConvertedValueUnits),f.QtT(0)}}function W(F,X){if(1&F&&(f.tHW(0,12,1),f._UZ(1,"div"),f.N_p()),2&F){const de=f.oxw(2);f.xp6(1),f.pQV(de.label2),f.QtT(0)}}function $(F,X){if(1&F&&(f.TgZ(0,"div"),f.tHW(1,12),f.TgZ(2,"div",5),f._UZ(3,"div",13),f.YNc(4,W,2,1,"div",7),f._UZ(5,"div"),f.qZA(),f.N_p(),f.qZA()),2&F){const de=f.oxw();f.xp6(4),f.Q6J("ngIf",de.label2!==de.chartTitle),f.xp6(1),f.pQV(de.currentData2||"N/A")(de.currentDataUnits2),f.QtT(1)}}let J=(()=>{class F{constructor(de,V,ce,se,fe,Te){this.cssHelper=de,this.dimlessBinary=V,this.dimlessBinaryPerSecond=ce,this.dimlessPipe=se,this.formatter=fe,this.numberFormatter=Te,this.decimals=1,this.chartData={},this.options={},this.chartAreaBorderPlugin=[{beforeDraw($e){if(!$e.options.plugins.borderArea)return;const{ctx:ge,chartArea:{left:Et,top:ot,right:ct,bottom:qe}}=$e;ge.save(),ge.strokeStyle=$e.options.plugins.chartAreaBorder.borderColor,ge.lineWidth=$e.options.plugins.chartAreaBorder.borderWidth,ge.setLineDash($e.options.plugins.chartAreaBorder.borderDash||[]),ge.lineDashOffset=$e.options.plugins.chartAreaBorder.borderDashOffset,ge.strokeRect(Et,ot,ct-Et-1,qe),ge.restore()}}],this.chartData={dataset:[{label:"",data:[{x:0,y:0}],tension:.2,pointBackgroundColor:this.cssHelper.propertyValue("chart-color-strong-blue"),backgroundColor:this.cssHelper.propertyValue("chart-color-translucent-blue"),borderColor:this.cssHelper.propertyValue("chart-color-strong-blue"),borderWidth:1},{label:"",data:[],tension:.2,pointBackgroundColor:this.cssHelper.propertyValue("chart-color-orange"),backgroundColor:this.cssHelper.propertyValue("chart-color-translucent-yellow"),borderColor:this.cssHelper.propertyValue("chart-color-orange"),borderWidth:1}]},this.options={responsive:!0,maintainAspectRatio:!1,animation:!1,elements:{point:{radius:0}},legend:{display:!1},tooltips:{mode:"index",custom:function($e){$e.x=10,$e.y=0}.bind(this),intersect:!1,displayColors:!0,backgroundColor:this.cssHelper.propertyValue("chart-color-tooltip-background"),callbacks:{title:function($e){return $e[0].xLabel},label:($e,ge)=>" "+ge.datasets[$e.datasetIndex].label+" - "+$e.value+" "+this.chartDataUnits}},hover:{intersect:!1},scales:{xAxes:[{display:!1,type:"time",gridLines:{display:!1},time:{tooltipFormat:"DD/MM/YYYY - HH:mm:ss"}}],yAxes:[{afterFit:$e=>$e.width=100,gridLines:{display:!1},ticks:{beginAtZero:!0,maxTicksLimit:4,callback:$e=>0===$e?null:this.convertUnits($e)}}]},plugins:{borderArea:!0,chartAreaBorder:{borderColor:this.cssHelper.propertyValue("chart-color-slight-dark-gray"),borderWidth:1}}}}ngOnChanges(){this.updateChartData()}ngAfterViewInit(){this.updateChartData()}updateChartData(){this.chartData.dataset[0].label=this.label,this.chartData.dataset[1].label=this.label2,this.setChartTicks(),this.data&&(this.chartData.dataset[0].data=this.formatData(this.data),[this.currentData,this.currentDataUnits]=this.convertUnits(this.data[this.data.length-1][1]).split(" "),[this.maxConvertedValue,this.maxConvertedValueUnits]=this.convertUnits(this.maxValue).split(" ")),this.data2&&(this.chartData.dataset[1].data=this.formatData(this.data2),[this.currentData2,this.currentDataUnits2]=this.convertUnits(this.data2[this.data2.length-1][1]).split(" ")),this.chart&&this.chart.chart.update()}formatData(de){let V={};return V=de.map(ce=>({x:1e3*ce[0],y:Number(this.convertToChartDataUnits(ce[1]).replace(/[^\d,.]+/g,""))})),V}convertToChartDataUnits(de){let V="";return null!==this.chartDataUnits&&(V="B"===this.dataUnits?this.numberFormatter.formatBytesFromTo(de,this.dataUnits,this.chartDataUnits,this.decimals):"B/s"===this.dataUnits?this.numberFormatter.formatBytesPerSecondFromTo(de,this.dataUnits,this.chartDataUnits,this.decimals):"ms"===this.dataUnits?this.numberFormatter.formatSecondsFromTo(de,this.dataUnits,this.chartDataUnits,this.decimals):this.numberFormatter.formatUnitlessFromTo(de,this.dataUnits,this.chartDataUnits,this.decimals)),V}convertUnits(de){let V="";return V="B"===this.dataUnits?this.dimlessBinary.transform(de,this.decimals):"B/s"===this.dataUnits?this.dimlessBinaryPerSecond.transform(de,this.decimals):"ms"===this.dataUnits?this.formatter.format_number(de,1e3,["ms","s"],this.decimals):this.dimlessPipe.transform(de,this.decimals),V}setChartTicks(){if(!this.chart)return;let de=0,V="";if(this.data){let fe=Math.max(...this.data.map(Te=>Te[1]));if(this.data2){let Te=Math.max(...this.data2.map($e=>$e[1]));de=Math.max(fe,Te)}else de=fe;[de,V]=this.convertUnits(de).split(" ")}const se=this.chart.chart.options.scales.yAxes[0].ticks;se.suggestedMax=1.2*de,se.suggestedMin=0,se.callback=fe=>0===fe?null:V?`${fe} ${V}`:`${fe}`,this.chartDataUnits=V||"",this.chart.chart.update()}}return F.\u0275fac=function(de){return new(de||F)(f.Y36(T.P),f.Y36(r.$),f.Y36(a.O),f.Y36(e.n),f.Y36(c.H),f.Y36(m))},F.\u0275cmp=f.Xpm({type:F,selectors:[["cd-dashboard-area-chart"]],viewQuery:function(de,V){if(1&de&&f.Gf(u.jh,5),2&de){let ce;f.iGM(ce=f.CRH())&&(V.chart=ce.first)}},inputs:{chartTitle:"chartTitle",maxValue:"maxValue",dataUnits:"dataUnits",data:"data",data2:"data2",label:"label",label2:"label2",decimals:"decimals"},features:[f.TTD],decls:15,vars:11,consts:function(){let X,de,V;return X="" + "\ufffd0\ufffd" + "",de="" + "\ufffd#7\ufffd" + "" + "\ufffd*8:1\ufffd\ufffd#1:1\ufffd" + "" + "[\ufffd/#1:1\ufffd\ufffd/*8:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*9:2\ufffd|\ufffd/#1:3\ufffd\ufffd/*10:3\ufffd|\ufffd/#7\ufffd]" + "" + "\ufffd*9:2\ufffd\ufffd#1:2\ufffd" + "" + "\ufffd0:2\ufffd" + ": " + "[\ufffd/#1:1\ufffd\ufffd/*8:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*9:2\ufffd|\ufffd/#1:3\ufffd\ufffd/*10:3\ufffd|\ufffd/#7\ufffd]" + " " + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + " " + "\ufffd*10:3\ufffd\ufffd#1:3\ufffd" + " used of " + "\ufffd0:3\ufffd" + " " + "\ufffd1:3\ufffd" + " " + "[\ufffd/#1:1\ufffd\ufffd/*8:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*9:2\ufffd|\ufffd/#1:3\ufffd\ufffd/*10:3\ufffd|\ufffd/#7\ufffd]" + "" + "[\ufffd/#1:1\ufffd\ufffd/*8:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*9:2\ufffd|\ufffd/#1:3\ufffd\ufffd/*10:3\ufffd|\ufffd/#7\ufffd]" + "",de=f.Zx4(de),V="" + "\ufffd#2\ufffd" + "" + "\ufffd#3\ufffd" + "" + "[\ufffd/#3\ufffd|\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#5\ufffd|\ufffd/#2\ufffd]" + "" + "\ufffd*4:1\ufffd\ufffd#1:1\ufffd" + "" + "\ufffd0:1\ufffd" + ": " + "[\ufffd/#3\ufffd|\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#5\ufffd|\ufffd/#2\ufffd]" + "" + "\ufffd#5\ufffd" + "" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "" + "[\ufffd/#3\ufffd|\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#5\ufffd|\ufffd/#2\ufffd]" + "" + "[\ufffd/#3\ufffd|\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#5\ufffd|\ufffd/#2\ufffd]" + "",V=f.Zx4(V),[[1,"row","mt-2"],[1,"col-3","d-flex","flex-column","align-self-center"],[1,"chartTitle","pb-2"],X,de,[1,"d-inline-flex","align-items-center","gap-1"],["class","blue-box",4,"ngIf"],[4,"ngIf"],[1,"col-9","d-flex","flex-column"],[1,"chart","mt-3"],["baseChart","",3,"datasets","options","chartType","plugins"],[1,"blue-box"],V,[1,"yellow-box"]]},template:function(de,V){1&de&&(f.TgZ(0,"div",0)(1,"div",1),f._UZ(2,"br"),f.TgZ(3,"b",2),f.SDv(4,3),f.qZA(),f.TgZ(5,"div"),f.tHW(6,4),f.TgZ(7,"div",5),f.YNc(8,w,2,0,"div",6),f.YNc(9,D,2,1,"div",7),f.YNc(10,U,2,2,"div",7),f.qZA(),f.N_p(),f.qZA(),f.YNc(11,$,6,3,"div",7),f.qZA(),f.TgZ(12,"div",8)(13,"div",9),f._UZ(14,"canvas",10),f.qZA()()()),2&de&&(f.xp6(4),f.pQV(V.chartTitle),f.QtT(4),f.xp6(4),f.Q6J("ngIf",!V.maxValue),f.xp6(1),f.Q6J("ngIf",V.label2),f.xp6(1),f.Q6J("ngIf",V.maxValue&&V.currentData),f.pQV(V.currentData||"N/A")(V.currentDataUnits),f.QtT(6),f.xp6(1),f.Q6J("ngIf",V.label2),f.xp6(3),f.Q6J("datasets",V.chartData.dataset)("options",V.options)("chartType","line")("plugins",V.chartAreaBorderPlugin))},dependencies:[M.O5,u.jh],styles:[".chart[_ngcontent-%COMP%]{height:9vh}.blue-box[_ngcontent-%COMP%]{background-color:#0078c8;border:2px double #f0f0f0;height:13px;width:13px}.yellow-box[_ngcontent-%COMP%]{background-color:#ef9234;border:2px double #f0f0f0;height:13px;width:13px}"]}),F})()},54740:(E,C,s)=>{"use strict";s.d(C,{M:()=>T});var r=s(64537),a=s(16738),c=s.n(a),u=s(88692),e=s(87925),f=s(20092);function m(M,w){if(1&M&&(r.TgZ(0,"option",3),r._uU(1),r.qZA()),2&M){const D=w.$implicit;r.Q6J("ngValue",D.value),r.xp6(1),r.hij("",D.name," ")}}let T=(()=>{class M{constructor(){this.selectedTime=new r.vpe,this.times=[{name:"Last 5 minutes",value:this.timeToDate(300,1)},{name:"Last 15 minutes",value:this.timeToDate(900,3)},{name:"Last 30 minutes",value:this.timeToDate(1800,7)},{name:"Last 1 hour",value:this.timeToDate(3600,14)},{name:"Last 3 hours",value:this.timeToDate(10800,42)},{name:"Last 6 hours",value:this.timeToDate(21600,84)},{name:"Last 12 hours",value:this.timeToDate(43200,168)},{name:"Last 24 hours",value:this.timeToDate(86400,336)}],this.time=this.times[3].value}emitTime(){this.selectedTime.emit(this.timeToDate(this.time.end-this.time.start,this.time.step))}timeToDate(D,U){return{start:c()().unix()-D,end:c()().unix(),step:U}}}return M.\u0275fac=function(D){return new(D||M)},M.\u0275cmp=r.Xpm({type:M,selectors:[["cd-dashboard-time-selector"]],outputs:{selectedTime:"selectedTime"},decls:3,vars:2,consts:[[1,"timeSelector"],["id","timepicker","name","timepicker",1,"form-select",3,"ngModel","ngModelChange"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"]],template:function(D,U){1&D&&(r.TgZ(0,"div",0)(1,"select",1),r.NdJ("ngModelChange",function($){return U.time=$})("ngModelChange",function(){return U.emitTime()}),r.YNc(2,m,2,2,"option",2),r.qZA()()),2&D&&(r.xp6(1),r.Q6J("ngModel",U.time),r.xp6(1),r.Q6J("ngForOf",U.times))},dependencies:[u.sg,e.o,f.YN,f.Kr,f.EJ,f.JJ,f.On],styles:[".timeSelector[_ngcontent-%COMP%]{position:absolute;right:18px;top:20px;width:12rem}"]}),M})()},46767:(E,C,s)=>{"use strict";s.d(C,{d:()=>w});var r=s(88692),a=s(20092),c=s(54247),u=s(51389),e=s(72621),f=s(85770),m=s(44466),T=s(370),M=s(64537);let w=(()=>{class D{}return D.\u0275fac=function(W){return new(W||D)},D.\u0275mod=M.oAB({type:D}),D.\u0275inj=M.cJS({imports:[T.t,r.ez,u.Oz,m.m,e.m9,c.Bz,u.dT,u.HK,a.u5,a.UX,f.t]}),D})()},66265:(E,C,s)=>{"use strict";s.d(C,{B:()=>e});var r=s(88692),a=s(54247),c=s(44466),u=s(64537);let e=(()=>{class f{}return f.\u0275fac=function(T){return new(T||f)},f.\u0275mod=u.oAB({type:f}),f.\u0275inj=u.cJS({imports:[r.ez,c.m,a.Bz]}),f})()},60351:(E,C,s)=>{"use strict";s.d(C,{p:()=>F});var r=s(64762),a=s(35732),c=s(25917),u=s(19773),e=s(93523),f=s(64537);let m=class{constructor(de){this.http=de,this.url="api/perf_counters"}list(){return this.http.get(this.url)}get(de,V){return this.http.get(`${this.url}/${de}/${V}`).pipe((0,u.zg)(ce=>(0,c.of)(ce.counters)))}};m.\u0275fac=function(de){return new(de||m)(f.LFG(a.eN))},m.\u0275prov=f.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m=(0,r.gn)([e.o,(0,r.w6)("design:paramtypes",[a.eN])],m);var T=s(88692),M=s(34501),w=s(59019),D=s(66369);const U=["valueTpl"];function W(X,de){if(1&X&&(f._uU(0),f.ALo(1,"dimless")),2&X){const V=de.row;f.AsE(" ",f.lcZ(1,2,V.value)," ",V.unit," ")}}function $(X,de){if(1&X){const V=f.EpF();f.TgZ(0,"cd-table",2),f.NdJ("fetchData",function(se){f.CHM(V);const fe=f.oxw();return f.KtG(fe.getCounters(se))}),f.YNc(1,W,2,4,"ng-template",null,3,f.W1O),f.qZA()}if(2&X){const V=f.oxw();f.Q6J("data",V.counters)("columns",V.columns)("autoSave",!1)}}function J(X,de){1&X&&(f.TgZ(0,"cd-alert-panel",4),f.SDv(1,5),f.qZA())}let F=(()=>{class X{constructor(V){this.performanceCounterService=V,this.columns=[],this.counters=[]}ngOnInit(){this.columns=[{name:"Name",prop:"name",flexGrow:1},{name:"Description",prop:"description",flexGrow:1},{name:"Value",prop:"value",cellTemplate:this.valueTpl,flexGrow:1}]}getCounters(V){this.performanceCounterService.get(this.serviceType,this.serviceId).subscribe(ce=>{this.counters=ce},ce=>{404===ce.status?(ce.preventDefault(),this.counters=null):V.error()})}}return X.\u0275fac=function(V){return new(V||X)(f.Y36(m))},X.\u0275cmp=f.Xpm({type:X,selectors:[["cd-table-performance-counter"]],viewQuery:function(V,ce){if(1&V&&f.Gf(U,5),2&V){let se;f.iGM(se=f.CRH())&&(ce.valueTpl=se.first)}},inputs:{serviceType:"serviceType",serviceId:"serviceId"},decls:3,vars:2,consts:function(){let de;return de="Performance counters not available",[["columnMode","flex",3,"data","columns","autoSave","fetchData",4,"ngIf","ngIfElse"],["warning",""],["columnMode","flex",3,"data","columns","autoSave","fetchData"],["valueTpl",""],["type","warning"],de]},template:function(V,ce){if(1&V&&(f.YNc(0,$,3,3,"cd-table",0),f.YNc(1,J,2,0,"ng-template",null,1,f.W1O)),2&V){const se=f.MAs(2);f.Q6J("ngIf",ce.counters)("ngIfElse",se)}},dependencies:[T.O5,M.G,w.a,D.n]}),X})()},43186:(E,C,s)=>{"use strict";s.d(C,{L6:()=>r,VY:()=>u,iG:()=>a,jb:()=>c});class r{}class a{}class c{}class u{}},370:(E,C,s)=>{"use strict";s.d(C,{t:()=>m});var r=s(88692),a=s(51389),c=s(37496),u=s(40267),e=s(44466),f=s(64537);let m=(()=>{class T{}return T.\u0275fac=function(w){return new(w||T)},T.\u0275mod=f.oAB({type:T}),T.\u0275inj=f.cJS({imports:[r.ez,u.t,e.m,a.Oz,c.b]}),T})()},20687:(E,C,s)=>{"use strict";s.d(C,{j:()=>f});var r=s(23815),a=s.n(r),c=s(370);class u{constructor(T){if(this.type=T,!this.isValidType())throw new Error("Wrong placement group category type");this.setTypeStates()}isValidType(){return u.VALID_CATEGORIES.includes(this.type)}setTypeStates(){switch(this.type){case u.CATEGORY_CLEAN:this.states=["active","clean"];break;case u.CATEGORY_WORKING:this.states=["activating","backfill_wait","backfilling","creating","deep","degraded","forced_backfill","forced_recovery","peering","peered","recovering","recovery_wait","repair","scrubbing","snaptrim","snaptrim_wait"];break;case u.CATEGORY_WARNING:this.states=["backfill_toofull","backfill_unfound","down","incomplete","inconsistent","recovery_toofull","recovery_unfound","remapped","snaptrim_error","stale","undersized"];break;default:this.states=[]}}}u.CATEGORY_CLEAN="clean",u.CATEGORY_WORKING="working",u.CATEGORY_WARNING="warning",u.CATEGORY_UNKNOWN="unknown",u.VALID_CATEGORIES=[u.CATEGORY_CLEAN,u.CATEGORY_WORKING,u.CATEGORY_WARNING,u.CATEGORY_UNKNOWN];var e=s(64537);let f=(()=>{class m{constructor(){this.categories=this.createCategories()}getAllTypes(){return u.VALID_CATEGORIES}getTypeByStates(M){const w=this.getPgStatesFromText(M);if(0===w.length)return u.CATEGORY_UNKNOWN;const D=a().zipObject(u.VALID_CATEGORIES,u.VALID_CATEGORIES.map(W=>a().intersection(this.categories[W].states,w).length));if(D[u.CATEGORY_WARNING]>0)return u.CATEGORY_WARNING;const U=D[u.CATEGORY_WORKING];return w.length>D[u.CATEGORY_CLEAN]+U?u.CATEGORY_UNKNOWN:U?u.CATEGORY_WORKING:u.CATEGORY_CLEAN}createCategories(){return a().zipObject(u.VALID_CATEGORIES,u.VALID_CATEGORIES.map(M=>new u(M)))}getPgStatesFromText(M){const w=M.replace(/[^a-z_]+/g," ").trim().split(" ");return a().uniq(w)}}return m.\u0275fac=function(M){return new(M||m)},m.\u0275prov=e.Yz7({token:m,factory:m.\u0275fac,providedIn:c.t}),m})()},13140:(E,C,s)=>{"use strict";s.r(C),s.d(C,{AuthModule:()=>Vi,RoutedAuthModule:()=>ko});var r=s(88692),a=s(20092),c=s(54247),u=s(51389),e=s(37496),f=s(79512),m=s(44466),T=s(35758),M=s(18001),w=s(93614),D=s(95463),U=s(90070),W=s(97161),$=(()=>(($||($={})).editing="editing",$))();class J{}var F=s(64537),X=s(25917),de=s(19773),V=s(35732);let ce=(()=>{class Ir{constructor(Vt){this.http=Vt}list(){return this.http.get("api/role")}delete(Vt){return this.http.delete(`api/role/${Vt}`)}get(Vt){return this.http.get(`api/role/${Vt}`)}create(Vt){return this.http.post("api/role",Vt)}clone(Vt,bn){return this.http.post(`api/role/${Vt}/clone`,{new_name:bn})}update(Vt){return this.http.put(`api/role/${Vt.name}`,Vt)}exists(Vt){return this.list().pipe((0,de.zg)(bn=>{const Bn=bn.some(ci=>ci.name===Vt);return(0,X.of)(Bn)}))}}return Ir.\u0275fac=function(Vt){return new(Vt||Ir)(F.LFG(V.eN))},Ir.\u0275prov=F.Yz7({token:Ir,factory:Ir.\u0275fac,providedIn:"root"}),Ir})(),se=(()=>{class Ir{constructor(Vt){this.http=Vt}list(){return this.http.get("ui-api/scope")}}return Ir.\u0275fac=function(Vt){return new(Vt||Ir)(F.LFG(V.eN))},Ir.\u0275prov=F.Yz7({token:Ir,factory:Ir.\u0275fac,providedIn:"root"}),Ir})();var fe=s(30839),Te=s(54982),$e=s(82945),ge=s(63622),Et=s(87925),ot=s(94276),ct=s(56310),qe=s(41582),He=s(10545);function We(Ir,ro){1&Ir&&(F.TgZ(0,"span",22),F.SDv(1,23),F.qZA())}function Le(Ir,ro){1&Ir&&(F.TgZ(0,"span",22),F.SDv(1,24),F.qZA())}const Pt=function(Ir){return{required:Ir}};function it(Ir,ro){if(1&Ir){const Vt=F.EpF();F.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),F.SDv(5,6),F.ALo(6,"titlecase"),F.ALo(7,"upperFirst"),F.qZA(),F.TgZ(8,"div",7)(9,"div",8)(10,"label",9),F.SDv(11,10),F.qZA(),F.TgZ(12,"div",11),F._UZ(13,"input",12),F.YNc(14,We,2,0,"span",13),F.YNc(15,Le,2,0,"span",13),F.qZA()(),F.TgZ(16,"div",8)(17,"label",14),F.SDv(18,15),F.qZA(),F.TgZ(19,"div",11),F._UZ(20,"input",16),F.qZA()(),F.TgZ(21,"div",8)(22,"label",17),F.SDv(23,18),F.qZA(),F.TgZ(24,"div",11),F._UZ(25,"cd-checked-table-form",19),F.qZA()()(),F.TgZ(26,"div",20)(27,"cd-form-button-panel",21),F.NdJ("submitActionEvent",function(){F.CHM(Vt);const Bn=F.oxw();return F.KtG(Bn.submit())}),F.ALo(28,"titlecase"),F.ALo(29,"upperFirst"),F.qZA()()()()()}if(2&Ir){const Vt=F.MAs(2),bn=F.oxw();F.xp6(1),F.Q6J("formGroup",bn.roleForm),F.xp6(6),F.pQV(F.lcZ(6,13,bn.action))(F.lcZ(7,15,bn.resource)),F.QtT(5),F.xp6(3),F.Q6J("ngClass",F.VKq(21,Pt,bn.mode!==bn.roleFormMode.editing)),F.xp6(4),F.Q6J("ngIf",bn.roleForm.showError("name",Vt,"required")),F.xp6(1),F.Q6J("ngIf",bn.roleForm.showError("name",Vt,"notUnique")),F.xp6(10),F.Q6J("data",bn.scopes_permissions)("columns",bn.columns)("form",bn.roleForm)("scopes",bn.scopes)("initialValue",bn.initialValue),F.xp6(2),F.Q6J("form",bn.roleForm)("submitText",F.lcZ(28,17,bn.action)+" "+F.lcZ(29,19,bn.resource))}}let Xt=(()=>{class Ir extends w.E{constructor(Vt,bn,Bn,ci,_o,go){super(),this.route=Vt,this.router=bn,this.roleService=Bn,this.scopeService=ci,this.notificationService=_o,this.actionLabels=go,this.scopes=[],this.scopes_permissions=[],this.initialValue={},this.roleFormMode=$,this.resource="role",this.createForm()}createForm(){this.roleForm=new D.d({name:new a.p4("",{validators:[a.kI.required],asyncValidators:[U.h.unique(this.roleService.exists,this.roleService)]}),description:new a.p4(""),scopes_permissions:new a.p4({})})}ngOnInit(){this.columns=[{prop:"scope",name:"All",flexGrow:2},{prop:"read",name:"Read",flexGrow:1,cellClass:"text-center"},{prop:"create",name:"Create",flexGrow:1,cellClass:"text-center"},{prop:"update",name:"Update",flexGrow:1,cellClass:"text-center"},{prop:"delete",name:"Delete",flexGrow:1,cellClass:"text-center"}],this.router.url.startsWith("/user-management/roles/edit")?(this.mode=this.roleFormMode.editing,this.action=this.actionLabels.EDIT):this.action=this.actionLabels.CREATE,this.mode===this.roleFormMode.editing?this.initEdit():this.initCreate()}initCreate(){this.scopeService.list().subscribe(Vt=>{this.scopes=Vt,this.loadingReady()})}initEdit(){this.roleForm.get("name").disable(),this.route.params.subscribe(Vt=>{const bn=[];bn.push(this.scopeService.list()),bn.push(this.roleService.get(Vt.name)),(0,T.D)(bn).subscribe(Bn=>{this.scopes=Bn[0],["name","description","scopes_permissions"].forEach(ci=>this.roleForm.get(ci).setValue(Bn[1][ci])),this.initialValue=Bn[1].scopes_permissions,this.loadingReady()})})}getRequest(){const Vt=new J;return["name","description","scopes_permissions"].forEach(bn=>Vt[bn]=this.roleForm.get(bn).value),Vt}createAction(){const Vt=this.getRequest();this.roleService.create(Vt).subscribe(()=>{this.notificationService.show(M.k.success,"Created role '" + Vt.name + "'"),this.router.navigate(["/user-management/roles"])},()=>{this.roleForm.setErrors({cdSubmitButton:!0})})}editAction(){const Vt=this.getRequest();this.roleService.update(Vt).subscribe(()=>{this.notificationService.show(M.k.success,"Updated role '" + Vt.name + "'"),this.router.navigate(["/user-management/roles"])},()=>{this.roleForm.setErrors({cdSubmitButton:!0})})}submit(){this.mode===this.roleFormMode.editing?this.editAction():this.createAction()}}return Ir.\u0275fac=function(Vt){return new(Vt||Ir)(F.Y36(c.gz),F.Y36(c.F0),F.Y36(ce),F.Y36(se),F.Y36(W.g),F.Y36(f.p4))},Ir.\u0275cmp=F.Xpm({type:Ir,selectors:[["cd-role-form"]],features:[F.qOj],decls:1,vars:1,consts:function(){let ro,Vt,bn,Bn,ci,_o,go,es;return ro="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",Vt="Name",bn="Name...",Bn="Description",ci="Description...",_o="Permissions",go="This field is required.",es="The chosen name is already in use.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","roleForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],ro,[1,"card-body"],[1,"form-group","row"],["for","name",1,"cd-col-form-label",3,"ngClass"],Vt,[1,"cd-col-form-input"],["type","text","placeholder",bn,"id","name","name","name","formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","description",1,"cd-col-form-label"],Bn,["type","text","placeholder",ci,"id","description","name","description","formControlName","description",1,"form-control"],[1,"cd-col-form-label"],_o,["inputField","scopes_permissions",3,"data","columns","form","scopes","initialValue"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],go,es]},template:function(Vt,bn){1&Vt&&F.YNc(0,it,30,23,"div",0),2&Vt&&F.Q6J("cdFormLoading",bn.loading)},dependencies:[r.mk,r.O5,a._Y,a.Fj,a.JJ,a.JL,a.sg,a.u,fe.p,Te.l,$e.U,ge.y,Et.o,ot.b,ct.P,qe.V,r.rS,He.m],styles:[".datatable-permissions-header-cell-label[_ngcontent-%COMP%], .datatable-permissions-scope-cell-label[_ngcontent-%COMP%]{font-weight:700}"]}),Ir})();var cn=s(68136),pn=s(30982),Rn=s(65683),At=s(99466),qt=s(65862),sn=s(68774),fn=s(41039),xn=s(51847),Kr=s(47640),Or=s(63285),Lr=s(59019),ir=s(94928),Qr=s(23815),jr=s.n(Qr);function br(Ir,ro){if(1&Ir&&(F.ynx(0),F._UZ(1,"cd-table",1),F.BQk()),2&Ir){const Vt=F.oxw();F.xp6(1),F.Q6J("data",Vt.scopes_permissions)("columns",Vt.columns)("toolHeader",!1)("autoReload",!1)("autoSave",!1)("footer",!1)("limit",0)}}let ht=(()=>{class Ir{constructor(){this.scopes_permissions=[]}ngOnInit(){this.columns=[{prop:"scope",name:"Scope",flexGrow:2},{prop:"read",name:"Read",flexGrow:1,cellClass:"text-center",cellTransformation:At.e.checkIcon},{prop:"create",name:"Create",flexGrow:1,cellClass:"text-center",cellTransformation:At.e.checkIcon},{prop:"update",name:"Update",flexGrow:1,cellClass:"text-center",cellTransformation:At.e.checkIcon},{prop:"delete",name:"Delete",flexGrow:1,cellClass:"text-center",cellTransformation:At.e.checkIcon}]}ngOnChanges(){if(this.selection){this.selectedItem=this.selection;const Vt=[];jr().each(this.scopes,bn=>{const Bn={read:!1,create:!1,update:!1,delete:!1};Bn.scope=bn,bn in this.selectedItem.scopes_permissions&&jr().each(this.selectedItem.scopes_permissions[bn],ci=>{Bn[ci]=!0}),Vt.push(Bn)}),this.scopes_permissions=Vt}}}return Ir.\u0275fac=function(Vt){return new(Vt||Ir)},Ir.\u0275cmp=F.Xpm({type:Ir,selectors:[["cd-role-details"]],inputs:{selection:"selection",scopes:"scopes"},features:[F.TTD],decls:1,vars:1,consts:[[4,"ngIf"],["columnMode","flex",3,"data","columns","toolHeader","autoReload","autoSave","footer","limit"]],template:function(Vt,bn){1&Vt&&F.YNc(0,br,2,7,"ng-container",0),2&Vt&&F.Q6J("ngIf",bn.selection)},dependencies:[r.O5,Lr.a],styles:[".fa[_ngcontent-%COMP%]{font-size:large}.fa.fa-square-o[_ngcontent-%COMP%]{color:#ced4da}"]}),Ir})();const Wt=function(){return{exact:!0}};let Tt=(()=>{class Ir{constructor(Vt){this.router=Vt}}return Ir.\u0275fac=function(Vt){return new(Vt||Ir)(F.Y36(c.F0))},Ir.\u0275cmp=F.Xpm({type:Ir,selectors:[["cd-user-tabs"]],decls:7,vars:4,consts:function(){let ro,Vt;return ro="Users",Vt="Roles",[[1,"nav","nav-tabs"],[1,"nav-item"],["routerLink","/user-management/users","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],ro,["routerLink","/user-management/roles","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],Vt]},template:function(Vt,bn){1&Vt&&(F.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),F.SDv(3,3),F.qZA()(),F.TgZ(4,"li",1)(5,"a",4),F.SDv(6,5),F.qZA()()()),2&Vt&&(F.xp6(2),F.Q6J("routerLinkActiveOptions",F.DdM(2,Wt)),F.xp6(3),F.Q6J("routerLinkActiveOptions",F.DdM(3,Wt)))},dependencies:[c.rH,c.Od]}),Ir})(),jn=(()=>{class Ir extends cn.o{constructor(Vt,bn,Bn,ci,_o,go,es,ts){super(),this.roleService=Vt,this.scopeService=bn,this.emptyPipe=Bn,this.authStorageService=ci,this.modalService=_o,this.notificationService=go,this.urlBuilder=es,this.actionLabels=ts,this.selection=new sn.r,this.permission=this.authStorageService.getPermissions().user,this.tableActions=[{permission:"create",icon:qt.P.add,routerLink:()=>this.urlBuilder.getCreate(),name:this.actionLabels.CREATE},{permission:"create",icon:qt.P.clone,name:this.actionLabels.CLONE,disable:()=>!this.selection.hasSingleSelection,click:()=>this.cloneRole()},{permission:"update",icon:qt.P.edit,disable:()=>!this.selection.hasSingleSelection||this.selection.first().system,routerLink:()=>this.selection.first()&&this.urlBuilder.getEdit(this.selection.first().name),name:this.actionLabels.EDIT},{permission:"delete",icon:qt.P.destroy,disable:()=>!this.selection.hasSingleSelection||this.selection.first().system,click:()=>this.deleteRoleModal(),name:this.actionLabels.DELETE}]}ngOnInit(){this.columns=[{name:"Name",prop:"name",flexGrow:3},{name:"Description",prop:"description",flexGrow:5,pipe:this.emptyPipe},{name:"System Role",prop:"system",cellClass:"text-center",flexGrow:1,cellTransformation:At.e.checkIcon}]}getRoles(){(0,T.D)([this.roleService.list(),this.scopeService.list()]).subscribe(Vt=>{this.roles=Vt[0],this.scopes=Vt[1]})}updateSelection(Vt){this.selection=Vt}deleteRole(Vt){this.roleService.delete(Vt).subscribe(()=>{this.getRoles(),this.modalRef.close(),this.notificationService.show(M.k.success,"Deleted role '" + Vt + "'")},()=>{this.modalRef.componentInstance.stopLoadingSpinner()})}deleteRoleModal(){const Vt=this.selection.first().name;this.modalRef=this.modalService.show(pn.M,{itemDescription:"Role",itemNames:[Vt],submitAction:()=>this.deleteRole(Vt)})}cloneRole(){const Vt=this.selection.first().name;this.modalRef=this.modalService.show(Rn.X,{fields:[{type:"text",name:"newName",value:`${Vt}_clone`,label:"New name",required:!0}],titleText:"Clone Role",submitButtonText:"Clone Role",onSubmit:bn=>{this.roleService.clone(Vt,bn.newName).subscribe(()=>{this.getRoles(),this.notificationService.show(M.k.success,"Cloned role '" + bn.newName + "' from '" + Vt + "'")})}})}}return Ir.\u0275fac=function(Vt){return new(Vt||Ir)(F.Y36(ce),F.Y36(se),F.Y36(fn.W),F.Y36(Kr.j),F.Y36(Or.Z),F.Y36(W.g),F.Y36(xn.F),F.Y36(f.p4))},Ir.\u0275cmp=F.Xpm({type:Ir,selectors:[["cd-role-list"]],features:[F._Bn([{provide:xn.F,useValue:new xn.F("user-management/roles")}]),F.qOj],decls:4,vars:8,consts:[["columnMode","flex","identifier","name","selectionType","single",3,"data","columns","hasDetails","setExpandedRow","fetchData","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection","scopes"]],template:function(Vt,bn){1&Vt&&(F._UZ(0,"cd-user-tabs"),F.TgZ(1,"cd-table",0),F.NdJ("setExpandedRow",function(ci){return bn.setExpandedRow(ci)})("fetchData",function(){return bn.getRoles()})("updateSelection",function(ci){return bn.updateSelection(ci)}),F._UZ(2,"cd-table-actions",1)(3,"cd-role-details",2),F.qZA()),2&Vt&&(F.xp6(1),F.Q6J("data",bn.roles)("columns",bn.columns)("hasDetails",!0),F.xp6(1),F.Q6J("permission",bn.permission)("selection",bn.selection)("tableActions",bn.tableActions),F.xp6(1),F.Q6J("selection",bn.expandedRow)("scopes",bn.scopes))},dependencies:[Lr.a,ir.K,ht,Tt]}),Ir})();var hr=s(16738),Oi=s.n(hr),Wi=s(39219),so=s(9837),kr=s(36169),Ei=s(7022),ii=s(51907),mr=s(81354),pr=(()=>((pr||(pr={})).editing="editing",pr))();class Eo{}var po=s(32057),$i=s(62862),qr=s(18372),Hi=s(60192),Dn=s(52266),Hn=s(4416);const jt=["removeSelfUserReadUpdatePermissionTpl"];function Fe(Ir,ro){1&Ir&&(F.TgZ(0,"span",28),F.SDv(1,29),F.qZA())}function Ie(Ir,ro){1&Ir&&(F.TgZ(0,"span",28),F.SDv(1,30),F.qZA())}function et(Ir,ro){if(1&Ir&&F._UZ(0,"cd-helper",39),2&Ir){const Vt=F.oxw(3);F.s9C("html",Vt.passwordPolicyHelpText)}}function ze(Ir,ro){1&Ir&&(F.TgZ(0,"span",28),F.SDv(1,40),F.qZA())}function an(Ir,ro){if(1&Ir&&(F.TgZ(0,"span",28),F._uU(1),F.qZA()),2&Ir){const Vt=F.oxw(3);F.xp6(1),F.hij(" ",Vt.passwordValuation," ")}}function lt(Ir,ro){if(1&Ir&&(F.TgZ(0,"div",10)(1,"label",31),F.ynx(2),F.SDv(3,32),F.BQk(),F.YNc(4,et,1,1,"cd-helper",33),F.qZA(),F.TgZ(5,"div",13)(6,"div",34),F._UZ(7,"input",35)(8,"button",36),F.qZA(),F.TgZ(9,"div",37),F._UZ(10,"div",38),F.qZA(),F.YNc(11,ze,2,0,"span",15),F.YNc(12,an,2,1,"span",15),F.qZA()()),2&Ir){F.oxw();const Vt=F.MAs(2),bn=F.oxw();F.xp6(4),F.Q6J("ngIf",bn.passwordPolicyHelpText.length>0),F.xp6(6),F.Tol(bn.passwordStrengthLevelClass),F.s9C("title",bn.passwordValuation),F.xp6(1),F.Q6J("ngIf",bn.userForm.showError("password",Vt,"required")),F.xp6(1),F.Q6J("ngIf",bn.userForm.showError("password",Vt,"passwordPolicy"))}}function Rt(Ir,ro){1&Ir&&(F.TgZ(0,"span",28),F.SDv(1,45),F.qZA())}function Pe(Ir,ro){1&Ir&&(F.TgZ(0,"span",28),F.SDv(1,46),F.qZA())}function qn(Ir,ro){if(1&Ir&&(F.TgZ(0,"div",10)(1,"label",41),F.SDv(2,42),F.qZA(),F.TgZ(3,"div",13)(4,"div",34),F._UZ(5,"input",43)(6,"button",44),F.YNc(7,Rt,2,0,"span",15),F.qZA(),F.YNc(8,Pe,2,0,"span",15),F.qZA()()),2&Ir){F.oxw();const Vt=F.MAs(2),bn=F.oxw();F.xp6(7),F.Q6J("ngIf",bn.userForm.showError("confirmpassword",Vt,"match")),F.xp6(1),F.Q6J("ngIf",bn.userForm.showError("confirmpassword",Vt,"required"))}}function gr(Ir,ro){1&Ir&&(F.TgZ(0,"cd-helper",53)(1,"p"),F._uU(2," The Dashboard setting defining the expiration interval of passwords is currently set to "),F.TgZ(3,"strong"),F._uU(4,"0"),F.qZA(),F._uU(5,". This means if a date is set, the user password will only expire once. "),F.qZA(),F.TgZ(6,"p"),F._uU(7," Consider configuring the Dashboard setting "),F.TgZ(8,"a",54),F._uU(9,"USER_PWD_EXPIRATION_SPAN"),F.qZA(),F._uU(10," in order to let passwords expire periodically. "),F.qZA()())}function Pn(Ir,ro){1&Ir&&(F.TgZ(0,"span",28),F.SDv(1,55),F.qZA())}const _r=function(Ir){return{required:Ir}};function Pr(Ir,ro){if(1&Ir){const Vt=F.EpF();F.TgZ(0,"div",10)(1,"label",47),F.ynx(2),F.SDv(3,48),F.BQk(),F.YNc(4,gr,11,0,"cd-helper",49),F.qZA(),F.TgZ(5,"div",13)(6,"div",34)(7,"input",50,51),F.NdJ("click",function(){F.CHM(Vt);const Bn=F.MAs(8);return F.KtG(Bn.open())})("keypress",function(){F.CHM(Vt);const Bn=F.MAs(8);return F.KtG(Bn.close())}),F.qZA(),F.TgZ(9,"button",52),F.NdJ("click",function(){F.CHM(Vt);const Bn=F.oxw(2);return F.KtG(Bn.clearExpirationDate())}),F._UZ(10,"i"),F.qZA(),F.YNc(11,Pn,2,0,"span",15),F.qZA()()()}if(2&Ir){F.oxw();const Vt=F.MAs(2),bn=F.oxw(),Bn=F.MAs(4);F.xp6(1),F.Q6J("ngClass",F.VKq(7,_r,bn.pwdExpirationSettings.pwdExpirationSpan>0)),F.xp6(3),F.Q6J("ngIf",0==bn.pwdExpirationSettings.pwdExpirationSpan),F.xp6(3),F.Q6J("ngbPopover",Bn),F.xp6(3),F.Gre("icon-prepend ",bn.icons.destroy,""),F.xp6(1),F.Q6J("ngIf",bn.userForm.showError("pwdExpirationDate",Vt,"required"))}}function tr(Ir,ro){1&Ir&&(F.TgZ(0,"span",28),F.SDv(1,56),F.qZA())}function Zn(Ir,ro){if(1&Ir&&(F.TgZ(0,"span",57),F._UZ(1,"cd-select-badges",58),F.qZA()),2&Ir){const Vt=F.oxw(2);F.xp6(1),F.Q6J("data",Vt.userForm.controls.roles.value)("options",Vt.allRoles)("messages",Vt.messages)}}function nr(Ir,ro){1&Ir&&(F.TgZ(0,"div",10)(1,"div",59)(2,"div",60),F._UZ(3,"input",61),F.TgZ(4,"label",62),F.SDv(5,63),F.qZA()()()())}function Zt(Ir,ro){1&Ir&&(F.TgZ(0,"div",10)(1,"div",59)(2,"div",60),F._UZ(3,"input",64),F.TgZ(4,"label",65),F.SDv(5,66),F.qZA()()()())}function dn(Ir,ro){if(1&Ir){const Vt=F.EpF();F.TgZ(0,"div",3)(1,"form",4,5)(3,"div",6)(4,"div",7),F.SDv(5,8),F.ALo(6,"titlecase"),F.ALo(7,"upperFirst"),F.qZA(),F.TgZ(8,"div",9)(9,"div",10)(10,"label",11),F.SDv(11,12),F.qZA(),F.TgZ(12,"div",13),F._UZ(13,"input",14),F.YNc(14,Fe,2,0,"span",15),F.YNc(15,Ie,2,0,"span",15),F.qZA()(),F.YNc(16,lt,13,7,"div",16),F.YNc(17,qn,9,2,"div",16),F.YNc(18,Pr,12,9,"div",16),F.TgZ(19,"div",10)(20,"label",17),F.SDv(21,18),F.qZA(),F.TgZ(22,"div",13),F._UZ(23,"input",19),F.qZA()(),F.TgZ(24,"div",10)(25,"label",20),F.SDv(26,21),F.qZA(),F.TgZ(27,"div",13),F._UZ(28,"input",22),F.YNc(29,tr,2,0,"span",15),F.qZA()(),F.TgZ(30,"div",10)(31,"label",23),F.SDv(32,24),F.qZA(),F.TgZ(33,"div",13),F.YNc(34,Zn,2,3,"span",25),F.qZA()(),F.YNc(35,nr,6,0,"div",16),F.YNc(36,Zt,6,0,"div",16),F.qZA(),F.TgZ(37,"div",26)(38,"cd-form-button-panel",27),F.NdJ("submitActionEvent",function(){F.CHM(Vt);const Bn=F.oxw();return F.KtG(Bn.submit())}),F.ALo(39,"titlecase"),F.ALo(40,"upperFirst"),F.qZA()()()()()}if(2&Ir){const Vt=F.MAs(2),bn=F.oxw();F.xp6(1),F.Q6J("formGroup",bn.userForm),F.xp6(6),F.pQV(F.lcZ(6,15,bn.action))(F.lcZ(7,17,bn.resource)),F.QtT(5),F.xp6(3),F.Q6J("ngClass",F.VKq(23,_r,bn.mode!==bn.userFormMode.editing)),F.xp6(4),F.Q6J("ngIf",bn.userForm.showError("username",Vt,"required")),F.xp6(1),F.Q6J("ngIf",bn.userForm.showError("username",Vt,"notUnique")),F.xp6(1),F.Q6J("ngIf",!bn.authStorageService.isSSO()),F.xp6(1),F.Q6J("ngIf",!bn.authStorageService.isSSO()),F.xp6(1),F.Q6J("ngIf",!bn.authStorageService.isSSO()),F.xp6(11),F.Q6J("ngIf",bn.userForm.showError("email",Vt,"email")),F.xp6(5),F.Q6J("ngIf",bn.allRoles),F.xp6(1),F.Q6J("ngIf",!bn.isCurrentUser()),F.xp6(1),F.Q6J("ngIf",!bn.isCurrentUser()&&!bn.authStorageService.isSSO()),F.xp6(2),F.Q6J("form",bn.userForm)("submitText",F.lcZ(39,19,bn.action)+" "+F.lcZ(40,21,bn.resource))}}function Ge(Ir,ro){1&Ir&&(F.TgZ(0,"p")(1,"strong"),F.SDv(2,67),F.qZA()(),F._UZ(3,"br"),F.TgZ(4,"p"),F.SDv(5,68),F.qZA(),F.ynx(6),F.SDv(7,69),F.BQk())}function Ot(Ir,ro){if(1&Ir&&F._UZ(0,"cd-date-time-picker",70),2&Ir){const Vt=F.oxw();F.Q6J("control",Vt.userForm.get("pwdExpirationDate"))("hasTime",!1)}}let mn=(()=>{class Ir extends w.E{constructor(Vt,bn,Bn,ci,_o,go,es,ts,jo,ss,gs,Is){super(),this.authService=Vt,this.authStorageService=bn,this.route=Bn,this.router=ci,this.modalService=_o,this.roleService=go,this.userService=es,this.notificationService=ts,this.actionLabels=jo,this.passwordPolicyService=ss,this.formBuilder=gs,this.settingsService=Is,this.userFormMode=pr,this.messages=new Ei.a({empty:"There are no roles."}),this.passwordPolicyHelpText="",this.icons=qt.P,this.pwdExpirationFormat="YYYY-MM-DD",this.resource="user",this.createForm(),this.messages=new Ei.a({empty:"There are no roles."})}createForm(){this.passwordPolicyService.getHelpText().subscribe(Vt=>{this.passwordPolicyHelpText=Vt}),this.userForm=this.formBuilder.group({username:["",[a.kI.required],[U.h.unique(this.userService.validateUserName,this.userService)]],name:[""],password:["",[],[U.h.passwordPolicy(this.userService,()=>this.userForm.getValue("username"),(Vt,bn,Bn)=>{this.passwordStrengthLevelClass=this.passwordPolicyService.mapCreditsToCssClass(bn),this.passwordValuation=jr().defaultTo(Bn,"")})]],confirmpassword:[""],pwdExpirationDate:[void 0],email:["",[U.h.email]],roles:[[]],enabled:[!0,[a.kI.required]],pwdUpdateRequired:[!0]},{validators:[U.h.match("password","confirmpassword")]})}ngOnInit(){this.router.url.startsWith("/user-management/users/edit")?(this.mode=this.userFormMode.editing,this.action=this.actionLabels.EDIT):this.action=this.actionLabels.CREATE;const Vt=[this.roleService.list(),this.settingsService.getStandardSettings()];(0,T.D)(Vt).subscribe(bn=>{if(this.allRoles=jr().map(bn[0],Bn=>(Bn.enabled=!0,Bn)),this.pwdExpirationSettings=new ii.G(bn[1]),this.mode===this.userFormMode.editing)this.initEdit();else{if(this.pwdExpirationSettings.pwdExpirationSpan>0){const Bn=this.userForm.get("pwdExpirationDate"),ci=Oi()();ci.add(this.pwdExpirationSettings.pwdExpirationSpan,"day"),Bn.setValue(ci.format(this.pwdExpirationFormat)),Bn.setValidators([a.kI.required])}this.loadingReady()}})}initEdit(){this.disableForEdit(),this.route.params.subscribe(Vt=>{this.userService.get(Vt.username).subscribe(Bn=>{this.response=jr().cloneDeep(Bn),this.setResponse(Bn),this.loadingReady()})})}disableForEdit(){this.userForm.get("username").disable()}setResponse(Vt){["username","name","email","roles","enabled","pwdUpdateRequired"].forEach(Bn=>this.userForm.get(Bn).setValue(Vt[Bn]));const bn=Vt.pwdExpirationDate;bn&&this.userForm.get("pwdExpirationDate").setValue(Oi()(1e3*bn).format(this.pwdExpirationFormat))}getRequest(){const Vt=new Eo;["username","password","name","email","roles","enabled","pwdUpdateRequired"].forEach(Bn=>Vt[Bn]=this.userForm.get(Bn).value);const bn=this.userForm.get("pwdExpirationDate").value;if(bn){const Bn=Oi()(bn,this.pwdExpirationFormat);(this.mode!==this.userFormMode.editing||this.response.pwdExpirationDate!==Bn.unix())&&Bn.set({hour:23,minute:59,second:59}),Vt.pwdExpirationDate=Bn.unix()}return Vt}createAction(){const Vt=this.getRequest();this.userService.create(Vt).subscribe(()=>{this.notificationService.show(M.k.success,"Created user '" + Vt.username + "'"),this.router.navigate(["/user-management/users"])},()=>{this.userForm.setErrors({cdSubmitButton:!0})})}editAction(){if(this.isUserRemovingNeededRolePermissions()){const Vt={titleText:"Update user",buttonText:"Continue",bodyTpl:this.removeSelfUserReadUpdatePermissionTpl,onSubmit:()=>{this.modalRef.close(),this.doEditAction()},onCancel:()=>{this.userForm.setErrors({cdSubmitButton:!0}),this.userForm.get("roles").reset(this.userForm.get("roles").value)}};this.modalRef=this.modalService.show(kr.Y,Vt)}else this.doEditAction()}isCurrentUser(){return this.authStorageService.getUsername()===this.userForm.getValue("username")}isUserChangingRoles(){return this.isCurrentUser()&&this.response&&!jr().isEqual(this.response.roles,this.userForm.getValue("roles"))}isUserRemovingNeededRolePermissions(){return this.isCurrentUser()&&!this.hasUserReadUpdatePermissions(this.userForm.getValue("roles"))}hasUserReadUpdatePermissions(Vt=[]){for(const bn of this.allRoles)if(-1!==Vt.indexOf(bn.name)&&bn.scopes_permissions.user){const Bn=bn.scopes_permissions.user;return["read","update"].every(ci=>-1!==Bn.indexOf(ci))}return!1}doEditAction(){const Vt=this.getRequest();this.userService.update(Vt).subscribe(()=>{this.isUserChangingRoles()?this.authService.logout(()=>{this.notificationService.show(M.k.info,"You were automatically logged out because your roles have been changed.")}):(this.notificationService.show(M.k.success,"Updated user '" + Vt.username + "'"),this.router.navigate(["/user-management/users"]))},()=>{this.userForm.setErrors({cdSubmitButton:!0})})}clearExpirationDate(){this.userForm.get("pwdExpirationDate").setValue(void 0)}submit(){this.mode===this.userFormMode.editing?this.editAction():this.createAction()}}return Ir.\u0275fac=function(Vt){return new(Vt||Ir)(F.Y36(Wi.e),F.Y36(Kr.j),F.Y36(c.gz),F.Y36(c.F0),F.Y36(Or.Z),F.Y36(ce),F.Y36(po.K),F.Y36(W.g),F.Y36(f.p4),F.Y36(mr.q),F.Y36($i.O),F.Y36(so.g))},Ir.\u0275cmp=F.Xpm({type:Ir,selectors:[["cd-user-form"]],viewQuery:function(Vt,bn){if(1&Vt&&F.Gf(jt,7),2&Vt){let Bn;F.iGM(Bn=F.CRH())&&(bn.removeSelfUserReadUpdatePermissionTpl=Bn.first)}},features:[F.qOj],decls:5,vars:1,consts:function(){let ro,Vt,bn,Bn,ci,_o,go,es,ts,jo,ss,gs,Is,la,Ro,jl,gl,qa,da,$a,Rl;return ro="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",Vt="Username",bn="Full name",Bn="Email",ci="Roles",_o="This field is required.",go="The username already exists.",es="Password",ts="This field is required.",jo="Confirm password",ss="Password confirmation doesn't match the password.",gs="This field is required.",Is="Password expiration date",la="Password expiration date...",Ro="This field is required.",jl="Invalid email.",gl="Enabled",qa="User must change password at next logon",da="You are about to remove \"user read / update\" permissions from your own user.",$a="If you continue, you will no longer be able to add or remove roles from any user.",Rl="Are you sure you want to continue?",[["class","cd-col-form",4,"cdFormLoading"],["removeSelfUserReadUpdatePermissionTpl",""],["popContent",""],[1,"cd-col-form"],["name","userForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],ro,[1,"card-body"],[1,"form-group","row"],["for","username",1,"cd-col-form-label",3,"ngClass"],Vt,[1,"cd-col-form-input"],["type","text","placeholder","Username...","id","username","name","username","formControlName","username","autocomplete","off","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["class","form-group row",4,"ngIf"],["for","name",1,"cd-col-form-label"],bn,["type","text","placeholder","Full name...","id","name","name","name","formControlName","name",1,"form-control"],["for","email",1,"cd-col-form-label"],Bn,["type","email","placeholder","Email...","id","email","name","email","formControlName","email",1,"form-control"],[1,"cd-col-form-label"],ci,["class","no-border full-height",4,"ngIf"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],_o,go,["for","password",1,"cd-col-form-label"],es,["class","text-pre-wrap",3,"html",4,"ngIf"],[1,"input-group"],["type","password","placeholder","Password...","id","password","name","password","autocomplete","new-password","formControlName","password",1,"form-control"],["type","button","cdPasswordButton","password",1,"btn","btn-light"],[1,"password-strength-level"],["data-toggle","tooltip",3,"title"],[1,"text-pre-wrap",3,"html"],ts,["for","confirmpassword",1,"cd-col-form-label"],jo,["type","password","placeholder","Confirm password...","id","confirmpassword","name","confirmpassword","autocomplete","new-password","formControlName","confirmpassword",1,"form-control"],["type","button","cdPasswordButton","confirmpassword",1,"btn","btn-light"],ss,gs,["for","pwdExpirationDate",1,"cd-col-form-label",3,"ngClass"],Is,["class","text-pre-wrap",4,"ngIf"],["placeholder",la,"id","pwdExpirationDate","name","pwdExpirationDate","formControlName","pwdExpirationDate","triggers","manual",1,"form-control",3,"ngbPopover","click","keypress"],["p","ngbPopover"],["type","button",1,"btn","btn-light",3,"click"],[1,"text-pre-wrap"],["routerLink","/mgr-modules/edit/dashboard",1,"alert-link"],Ro,jl,[1,"no-border","full-height"],[3,"data","options","messages"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","enabled","name","enabled","formControlName","enabled",1,"custom-control-input"],["for","enabled",1,"custom-control-label"],gl,["type","checkbox","id","pwdUpdateRequired","name","pwdUpdateRequired","formControlName","pwdUpdateRequired",1,"custom-control-input"],["for","pwdUpdateRequired",1,"custom-control-label"],qa,da,$a,Rl,[3,"control","hasTime"]]},template:function(Vt,bn){1&Vt&&(F.YNc(0,dn,41,25,"div",0),F.YNc(1,Ge,8,0,"ng-template",null,1,F.W1O),F.YNc(3,Ot,1,2,"ng-template",null,2,F.W1O)),2&Vt&&F.Q6J("cdFormLoading",bn.loading)},dependencies:[r.mk,r.O5,a._Y,a.Fj,a.Wl,a.JJ,a.JL,a.sg,a.u,qr.S,Hi.m,Dn.J,fe.p,$e.U,Hn.C,ge.y,Et.o,ot.b,ct.P,qe.V,u.o8,c.rH,r.rS,He.m]}),Ir})();var wr=s(96102),Ti=s(94088);const Ci=["userRolesTpl"],Ai=["warningTpl"],Ko=["durationTpl"];function _s(Ir,ro){if(1&Ir&&(F.TgZ(0,"span"),F._uU(1),F.qZA()),2&Ir){const Vt=ro.$implicit,bn=ro.last;F.xp6(1),F.AsE(" ",Vt,"",bn?"":", "," ")}}function dr(Ir,ro){1&Ir&&F.YNc(0,_s,2,2,"span",5),2&Ir&&F.Q6J("ngForOf",ro.value)}function Ni(Ir,ro){if(1&Ir&&(F.TgZ(0,"div",6)(1,"div",7),F._uU(2),F.qZA()()),2&Ir){const Vt=ro.value,bn=ro.row,Bn=F.oxw();F.ekj("border-danger",bn.remainingDays<Bn.expirationDangerAlert)("border-warning",bn.remainingDays<Bn.expirationWarningAlert&&bn.remainingDays>=Bn.expirationDangerAlert),F.xp6(2),F.hij(" ",Vt," ")}}function ti(Ir,ro){if(1&Ir&&F._UZ(0,"i",10),2&Ir){const Vt=F.oxw().row,bn=F.oxw();F.Tol(bn.icons.warning),F.ekj("icon-danger-color",Vt.remainingDays<bn.expirationDangerAlert)("icon-warning-color",Vt.remainingDays<bn.expirationWarningAlert&&Vt.remainingDays>=bn.expirationDangerAlert)}}function Vr(Ir,ro){if(1&Ir&&(F.YNc(0,ti,1,7,"i",8),F.TgZ(1,"span",9),F.ALo(2,"cdDate"),F._uU(3),F.ALo(4,"duration"),F.qZA()),2&Ir){const Vt=ro.value,bn=ro.row,Bn=F.oxw();F.Q6J("ngIf",bn.remainingDays<Bn.expirationWarningAlert),F.xp6(1),F.s9C("title",F.lcZ(2,3,Vt)),F.xp6(2),F.Oqu(F.lcZ(4,5,bn.remainingTimeWithoutSeconds/1e3))}}let ji=(()=>{class Ir{constructor(Vt,bn,Bn,ci,_o,go,es,ts){this.userService=Vt,this.emptyPipe=bn,this.modalService=Bn,this.notificationService=ci,this.authStorageService=_o,this.urlBuilder=go,this.settingsService=es,this.actionLabels=ts,this.selection=new sn.r,this.icons=qt.P,this.permission=this.authStorageService.getPermissions().user,this.tableActions=[{permission:"create",icon:qt.P.add,routerLink:()=>this.urlBuilder.getCreate(),name:this.actionLabels.CREATE},{permission:"update",icon:qt.P.edit,routerLink:()=>this.selection.first()&&this.urlBuilder.getEdit(this.selection.first().username),name:this.actionLabels.EDIT},{permission:"delete",icon:qt.P.destroy,click:()=>this.deleteUserModal(),name:this.actionLabels.DELETE}]}ngOnInit(){this.columns=[{name:"Username",prop:"username",flexGrow:1,cellTemplate:this.warningTpl},{name:"Name",prop:"name",flexGrow:1,pipe:this.emptyPipe},{name:"Email",prop:"email",flexGrow:1,pipe:this.emptyPipe},{name:"Roles",prop:"roles",flexGrow:1,cellTemplate:this.userRolesTpl},{name:"Enabled",prop:"enabled",flexGrow:1,cellTransformation:At.e.checkIcon},{name:"Password expires",prop:"pwdExpirationDate",flexGrow:1,cellTemplate:this.durationTpl}],this.settingsService.getValues(["USER_PWD_EXPIRATION_WARNING_1","USER_PWD_EXPIRATION_WARNING_2"]).subscribe(bn=>{this.expirationWarningAlert=bn.USER_PWD_EXPIRATION_WARNING_1,this.expirationDangerAlert=bn.USER_PWD_EXPIRATION_WARNING_2})}getUsers(){this.userService.list().subscribe(Vt=>{Vt.forEach(bn=>{bn.remainingTimeWithoutSeconds=0,bn.pwdExpirationDate&&bn.pwdExpirationDate>0&&(bn.pwdExpirationDate=1e3*bn.pwdExpirationDate,bn.remainingTimeWithoutSeconds=this.getRemainingTimeWithoutSeconds(bn.pwdExpirationDate),bn.remainingDays=this.getRemainingDays(bn.pwdExpirationDate))}),this.users=Vt})}updateSelection(Vt){this.selection=Vt}deleteUser(Vt){this.userService.delete(Vt).subscribe(()=>{this.getUsers(),this.modalRef.close(),this.notificationService.show(M.k.success,"Deleted user '" + Vt + "'")},()=>{this.modalRef.componentInstance.stopLoadingSpinner()})}deleteUserModal(){const Vt=this.authStorageService.getUsername(),bn=this.selection.first().username;Vt!==bn?this.modalRef=this.modalService.show(pn.M,{itemDescription:"User",itemNames:[bn],submitAction:()=>this.deleteUser(bn)}):this.notificationService.show(M.k.error,"Failed to delete user '" + bn + "'","You are currently logged in as '" + bn + "'.")}getWarningIconClass(Vt){return null===Vt||this.expirationWarningAlert>10?"":this.getRemainingDays(Vt)<=this.expirationDangerAlert?"icon-danger-color":"icon-warning-color"}getWarningClass(Vt){return null===Vt||this.expirationWarningAlert>10?"":this.getRemainingDays(Vt)<=this.expirationDangerAlert?"border-danger":"border-warning"}getRemainingDays(Vt){if(void 0!==Vt&&null!=Vt)return Vt<0?0:Math.max(0,Math.floor(this.getRemainingTime(Vt)/864e5))}getRemainingTimeWithoutSeconds(Vt){const bn=this.getRemainingTime(Vt);return 60*Math.floor(bn/6e4)*1e3}getRemainingTime(Vt){return Vt-Date.now()}}return Ir.\u0275fac=function(Vt){return new(Vt||Ir)(F.Y36(po.K),F.Y36(fn.W),F.Y36(Or.Z),F.Y36(W.g),F.Y36(Kr.j),F.Y36(xn.F),F.Y36(so.g),F.Y36(f.p4))},Ir.\u0275cmp=F.Xpm({type:Ir,selectors:[["cd-user-list"]],viewQuery:function(Vt,bn){if(1&Vt&&(F.Gf(Ci,7),F.Gf(Ai,7),F.Gf(Ko,7)),2&Vt){let Bn;F.iGM(Bn=F.CRH())&&(bn.userRolesTpl=Bn.first),F.iGM(Bn=F.CRH())&&(bn.warningTpl=Bn.first),F.iGM(Bn=F.CRH())&&(bn.durationTpl=Bn.first)}},features:[F._Bn([{provide:xn.F,useValue:new xn.F("user-management/users")}])],decls:9,vars:5,consts:function(){let ro;return ro="User's password is about to expire",[["columnMode","flex","identifier","username","selectionType","single",3,"data","columns","fetchData","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["userRolesTpl",""],["warningTpl",""],["durationTpl",""],[4,"ngFor","ngForOf"],[1,"border-margin"],[1,"warning-content"],["title",ro,3,"icon-danger-color","icon-warning-color","class",4,"ngIf"],[3,"title"],["title",ro]]},template:function(Vt,bn){1&Vt&&(F._UZ(0,"cd-user-tabs"),F.TgZ(1,"cd-table",0),F.NdJ("fetchData",function(){return bn.getUsers()})("updateSelection",function(ci){return bn.updateSelection(ci)}),F._UZ(2,"cd-table-actions",1),F.qZA(),F.YNc(3,dr,1,1,"ng-template",null,2,F.W1O),F.YNc(5,Ni,3,5,"ng-template",null,3,F.W1O),F.YNc(7,Vr,5,7,"ng-template",null,4,F.W1O)),2&Vt&&(F.xp6(1),F.Q6J("data",bn.users)("columns",bn.columns),F.xp6(1),F.Q6J("permission",bn.permission)("selection",bn.selection)("tableActions",bn.tableActions))},dependencies:[r.sg,r.O5,Lr.a,ir.K,Tt,wr.N,Ti.u],styles:[".border-margin[_ngcontent-%COMP%]{border-left:3px solid transparent;height:calc(100% + 10px);margin-bottom:-5px;margin-left:-5px;margin-top:-5px}.warning-content[_ngcontent-%COMP%]{height:100%;padding-bottom:5px;padding-left:5px;padding-top:5px}"]}),Ir})(),Vi=(()=>{class Ir{}return Ir.\u0275fac=function(Vt){return new(Vt||Ir)},Ir.\u0275mod=F.oAB({type:Ir}),Ir.\u0275inj=F.cJS({imports:[r.ez,a.u5,a.UX,m.m,u.Oz,u.dT,e.b,c.Bz]}),Ir})();const Po=[{path:"",redirectTo:"users",pathMatch:"full"},{path:"users",data:{breadcrumbs:"Users"},children:[{path:"",component:ji},{path:f.MQ.CREATE,component:mn,data:{breadcrumbs:f.Qn.CREATE}},{path:`${f.MQ.EDIT}/:username`,component:mn,data:{breadcrumbs:f.Qn.EDIT}}]},{path:"roles",data:{breadcrumbs:"Roles"},children:[{path:"",component:jn},{path:f.MQ.CREATE,component:Xt,data:{breadcrumbs:f.Qn.CREATE}},{path:`${f.MQ.EDIT}/:name`,component:Xt,data:{breadcrumbs:f.Qn.EDIT}}]}];let ko=(()=>{class Ir{}return Ir.\u0275fac=function(Vt){return new(Vt||Ir)},Ir.\u0275mod=F.oAB({type:Ir}),Ir.\u0275inj=F.cJS({imports:[Vi,c.Bz.forChild(Po)]}),Ir})()},26504:(E,C,s)=>{"use strict";s.d(C,{_2:()=>c,mM:()=>e,s9:()=>a});var r=s(65862);class a extends Error{}class c extends a{constructor(){super(...arguments),this.header="Page Not Found",this.message="Sorry, we couldn\u2019t find what you were looking for.\n The page you requested may have been changed or moved.",this.icon=r.P.warning}}class e extends a{constructor(){super(...arguments),this.header="User Denied",this.message="Sorry, the user does not exist in Ceph.\n You'll be logged out from the Identity Provider when you retry logging in.",this.icon=r.P.warning}}},76189:(E,C,s)=>{"use strict";s.d(C,{S:()=>r});class r{getVersionHeaderValue(c,u){return`application/vnd.ceph.api.v${c}.${u}+json`}}},39219:(E,C,s)=>{"use strict";s.d(C,{e:()=>T});var r=s(23815),c=s(68307),u=s(64537),e=s(47640),f=s(35732),m=s(54247);let T=(()=>{class M{constructor(D,U,W,$){this.authStorageService=D,this.http=U,this.router=W,this.route=$}check(D){return this.http.post("api/auth/check",{token:D})}login(D){return this.http.post("api/auth",D).pipe((0,c.b)(U=>{this.authStorageService.set(U.username,U.permissions,U.sso,U.pwdExpirationDate,U.pwdUpdateRequired)}))}logout(D=null){return this.http.post("api/auth/logout",null).subscribe(U=>{this.authStorageService.remove();const W=r.get(this.route.snapshot.queryParams,"returnUrl","/login");this.router.navigate([W],{skipLocationChange:!0}),D&&D(),window.location.replace(U.redirect_url)})}}return M.\u0275fac=function(D){return new(D||M)(u.LFG(e.j),u.LFG(f.eN),u.LFG(m.F0),u.LFG(m.gz))},M.\u0275prov=u.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})()},64724:(E,C,s)=>{"use strict";s.d(C,{e:()=>c});var r=s(64537),a=s(35732);let c=(()=>{class u{constructor(f){this.http=f}findValue(f,m){if(f.value)return f.value.find(T=>T.section===m)}getValue(f,m){let T=this.findValue(f,m);if(!T){const M=m.indexOf(".");-1!==M&&(T=this.findValue(f,m.substring(0,M)))}return T||(T=this.findValue(f,"global")),T?T.value:f.default}getConfigData(){return this.http.get("api/cluster_conf/")}get(f){return this.http.get(`api/cluster_conf/${f}`)}filter(f){return this.http.get(`api/cluster_conf/filter?names=${f.join(",")}`)}create(f){return this.http.post("api/cluster_conf/",f)}delete(f,m){return this.http.delete(`api/cluster_conf/${f}?section=${m}`)}bulkCreate(f){return this.http.put("api/cluster_conf/",f)}}return u.\u0275fac=function(f){return new(f||u)(r.LFG(a.eN))},u.\u0275prov=r.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},83608:(E,C,s)=>{"use strict";s.d(C,{H:()=>c});var r=s(64537),a=s(35732);let c=(()=>{class u{constructor(f){this.http=f,this.apiPath="api/crush_rule",this.formTooltips={root:"The name of the node under which data should be placed.",failure_domain:"The type of CRUSH nodes across which we should separate replicas.",device_class:"The device class data should be placed on."}}create(f){return this.http.post(this.apiPath,f,{observe:"response"})}delete(f){return this.http.delete(`${this.apiPath}/${f}`,{observe:"response"})}getInfo(){return this.http.get(`ui-${this.apiPath}/info`)}}return u.\u0275fac=function(f){return new(f||u)(r.LFG(a.eN))},u.\u0275prov=r.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},79241:(E,C,s)=>{"use strict";s.d(C,{z:()=>c});var r=s(64537),a=s(35732);let c=(()=>{class u{constructor(f){this.http=f}getFullHealth(){return this.http.get("api/health/full")}getMinimalHealth(){return this.http.get("api/health/minimal")}getClusterCapacity(){return this.http.get("api/health/get_cluster_capacity")}getClusterFsid(){return this.http.get("api/health/get_cluster_fsid")}getOrchestratorName(){return this.http.get("api/health/get_orchestrator_name")}}return u.\u0275fac=function(f){return new(f||u)(r.LFG(a.eN))},u.\u0275prov=r.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},22120:(E,C,s)=>{"use strict";s.d(C,{x:()=>U});var r=s(35732),a=s(23815),c=s.n(a),u=s(25917),e=s(88002),f=s(46240),m=s(19773),T=s(76189),M=s(51295),w=s(41702),D=s(64537);let U=(()=>{class W extends T.S{constructor(J,F){super(),this.http=J,this.deviceService=F,this.baseURL="api/host",this.baseUIURL="ui-api/host",this.predefinedLabels=["mon","mgr","osd","mds","rgw","nfs","iscsi","rbd","grafana"]}list(J,F){return J=J.set("facts",F),this.http.get(this.baseURL,{headers:{Accept:this.getVersionHeaderValue(1,2)},params:J,observe:"response"}).pipe((0,e.U)(X=>X.body.map(de=>(de.headers=X.headers,de))))}create(J,F,X,de){return this.http.post(this.baseURL,{hostname:J,addr:F,labels:X,status:de},{observe:"response",headers:{Accept:M.T.cdVersionHeader("0","1")}})}delete(J){return this.http.delete(`${this.baseURL}/${J}`,{observe:"response"})}getDevices(J){return this.http.get(`${this.baseURL}/${J}/devices`).pipe((0,e.U)(F=>F.map(X=>this.deviceService.prepareDevice(X))))}getSmartData(J){return this.http.get(`${this.baseURL}/${J}/smart`)}getDaemons(J){return this.http.get(`${this.baseURL}/${J}/daemons`)}getLabels(){return this.http.get(`${this.baseUIURL}/labels`)}update(J,F=!1,X=[],de=!1,V=!1,ce=!1){return this.http.put(`${this.baseURL}/${J}`,{update_labels:F,labels:X,maintenance:de,force:V,drain:ce},{headers:{Accept:this.getVersionHeaderValue(0,1)}})}identifyDevice(J,F,X){return this.http.post(`${this.baseURL}/${J}/identify_device`,{device:F,duration:X})}getInventoryParams(J){let F=new r.LE;return J&&(F=F.append("refresh",c().toString(J))),F}getInventory(J,F){const X=this.getInventoryParams(F);return this.http.get(`${this.baseURL}/${J}/inventory`,{params:X})}inventoryList(J){const F=this.getInventoryParams(J);return this.http.get(`${this.baseUIURL}/inventory`,{params:F})}inventoryDeviceList(J,F){let X;return X=J?this.getInventory(J,F).pipe((0,f.q)()):this.inventoryList(F),X.pipe((0,m.zg)(de=>{const V=c().flatMap(de,ce=>ce.devices.map(se=>(se.hostname=ce.name,se.uid=se.device_id?`${se.device_id}-${se.hostname}-${se.path}`:`${se.hostname}-${se.path}`,se)));return(0,u.of)(V)}))}}return W.\u0275fac=function(J){return new(J||W)(D.LFG(r.eN),D.LFG(w.U))},W.\u0275prov=D.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})()},7273:(E,C,s)=>{"use strict";s.d(C,{N:()=>c});var r=s(64537),a=s(35732);let c=(()=>{class u{constructor(f){this.http=f,this.url="api/mgr/module"}list(){return this.http.get(`${this.url}`)}getConfig(f){return this.http.get(`${this.url}/${f}`)}updateConfig(f,m){return this.http.put(`${this.url}/${f}`,{config:m})}enable(f){return this.http.post(`${this.url}/${f}/enable`,null)}disable(f){return this.http.post(`${this.url}/${f}/disable`,null)}getOptions(f){return this.http.get(`${this.url}/${f}/options`)}}return u.\u0275fac=function(f){return new(f||u)(r.LFG(a.eN))},u.\u0275prov=r.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},80842:(E,C,s)=>{"use strict";s.d(C,{q:()=>m});var r=s(64762),a=s(35732),c=s(88002),u=s(93523),e=s(34089),f=s(64537);let m=class{constructor(M,w){this.http=M,this.rbdConfigurationService=w,this.apiPath="api/pool"}create(M){return this.http.post(this.apiPath,M,{observe:"response"})}update(M){let w;return M.hasOwnProperty("srcpool")?(w=M.srcpool,delete M.srcpool):(w=M.pool,delete M.pool),this.http.put(`${this.apiPath}/${encodeURIComponent(w)}`,M,{observe:"response"})}delete(M){return this.http.delete(`${this.apiPath}/${M}`,{observe:"response"})}get(M){return this.http.get(`${this.apiPath}/${M}`)}getList(){return this.http.get(`${this.apiPath}?stats=true`)}getConfiguration(M){return this.http.get(`${this.apiPath}/${M}/configuration`).pipe((0,c.U)(w=>w.map(D=>Object.assign(D,this.rbdConfigurationService.getOptionByName(D.name)))))}getInfo(){return this.http.get(`ui-${this.apiPath}/info`)}list(M=[]){const w=M.join(",");return this.http.get(`${this.apiPath}?attrs=${w}`).toPromise().then(D=>D)}};m.\u0275fac=function(M){return new(M||m)(f.LFG(a.eN),f.LFG(e.n))},m.\u0275prov=f.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m=(0,r.gn)([u.o,(0,r.w6)("design:paramtypes",[a.eN,e.n])],m)},11656:(E,C,s)=>{"use strict";s.d(C,{Q:()=>m});var r=s(46797),a=s(88002),c=s(16738),u=s.n(c),e=s(64537),f=s(35732);let m=(()=>{class T{constructor(w){this.http=w,this.timerTime=3e4,this.lastHourDateObject={start:u()().unix()-3600,end:u()().unix(),step:14},this.baseURL="api/prometheus",this.settingsKey={alertmanager:"ui-api/prometheus/alertmanager-api-host",prometheus:"ui-api/prometheus/prometheus-api-host"},this.settings={}}unsubscribe(){this.timerGetPrometheusDataSub&&this.timerGetPrometheusDataSub.unsubscribe()}getPrometheusData(w){return this.http.get(`${this.baseURL}/data`,{params:w})}ifAlertmanagerConfigured(w,D){this.ifSettingConfigured(this.settingsKey.alertmanager,w,D)}disableAlertmanagerConfig(){this.disableSetting(this.settingsKey.alertmanager)}ifPrometheusConfigured(w,D){this.ifSettingConfigured(this.settingsKey.prometheus,w,D)}disablePrometheusConfig(){this.disableSetting(this.settingsKey.prometheus)}getAlerts(w={}){return this.http.get(this.baseURL,{params:w})}getSilences(w={}){return this.http.get(`${this.baseURL}/silences`,{params:w})}getRules(w="all"){return this.http.get(`${this.baseURL}/rules`).pipe((0,a.U)(D=>(["alerting","rewrites"].includes(w)&&D.groups.map(U=>{U.rules=U.rules.filter(W=>W.type===w)}),D)))}setSilence(w){return this.http.post(`${this.baseURL}/silence`,w,{observe:"response"})}expireSilence(w){return this.http.delete(`${this.baseURL}/silence/${w}`,{observe:"response"})}getNotifications(w){return this.http.get(`${this.baseURL}/notifications?from=${w&&w.id?w.id:"last"}`)}ifSettingConfigured(w,D,U){const W=this.settings[w];void 0===W?this.http.get(w).subscribe($=>{this.settings[w]=this.getSettingsValue($),this.ifSettingConfigured(w,D,U)},$=>{401!==$.status&&(this.settings[w]="")}):""!==W?D(W):U&&U()}disableSetting(w){this.settings[w]=""}getSettingsValue(w){return w.value||w.instance||""}getPrometheusQueriesData(w,D,U,W){return this.ifPrometheusConfigured(()=>{this.timerGetPrometheusDataSub&&this.timerGetPrometheusDataSub.unsubscribe(),this.timerGetPrometheusDataSub=(0,r.H)(0,this.timerTime).subscribe(()=>{w=this.updateTimeStamp(w);for(const $ in D)D.hasOwnProperty($)&&this.getPrometheusData({params:encodeURIComponent(D[$]),start:w.start,end:w.end,step:w.step}).subscribe(F=>{F.result.length&&(U[$]=F.result[0].values),void 0!==U[$]&&""!==U[$]&&W&&U[$].forEach(X=>{if(X.includes("NaN")){const de=X.indexOf("NaN");-1!==de&&(X[de]="0")}})})})}),U}updateTimeStamp(w){let D={},U=w.end-w.start;return D={start:u()().unix()-U,end:u()().unix(),step:w.step},D}}return T.\u0275fac=function(w){return new(w||T)(e.LFG(f.eN))},T.\u0275prov=e.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},95152:(E,C,s)=>{"use strict";s.d(C,{o:()=>U});var r=s(64762),a=s(35732),c=s(23815),u=s.n(c),e=s(25917),f=s(96736),m=s(5304),T=s(76189),M=s(20523),w=s(93523),D=s(64537);let U=class extends T.S{constructor($,J){super(),this.http=$,this.rgwDaemonService=J,this.url="api/rgw/bucket"}list($=!1,J=""){return this.rgwDaemonService.request(F=>(F=F.append("stats",$.toString()),J&&(F=F.append("uid",J)),this.http.get(this.url,{headers:{Accept:this.getVersionHeaderValue(1,1)},params:F})))}get($){return this.rgwDaemonService.request(J=>this.http.get(`${this.url}/${$}`,{params:J}))}getTotalBucketsAndUsersLength(){return this.rgwDaemonService.request($=>this.http.get(`ui-${this.url}/buckets_and_users_count`,{params:$}))}create($,J,F,X,de,V,ce,se,fe,Te){return this.rgwDaemonService.request($e=>this.http.post(this.url,null,{params:new a.LE({fromObject:{bucket:$,uid:J,zonegroup:F,placement_target:X,lock_enabled:String(de),lock_mode:V,lock_retention_period_days:ce,encryption_state:String(se),encryption_type:fe,key_id:Te,daemon_name:$e.get("daemon_name")}})}))}update($,J,F,X,de,V,ce,se,fe,Te,$e,ge){return this.rgwDaemonService.request(Et=>(Et=Et.appendAll({bucket_id:J,uid:F,versioning_state:X,encryption_state:String(de),encryption_type:V,key_id:ce,mfa_delete:se,mfa_token_serial:fe,mfa_token_pin:Te,lock_mode:$e,lock_retention_period_days:ge}),this.http.put(`${this.url}/${$}`,null,{params:Et})))}delete($,J=!0){return this.rgwDaemonService.request(F=>(F=F.append("purge_objects",J?"true":"false"),this.http.delete(`${this.url}/${$}`,{params:F})))}exists($){return this.get($).pipe((0,f.h)(!0),(0,m.K)(J=>(u().isFunction(J.preventDefault)&&J.preventDefault(),(0,e.of)(!1))))}getLockDays($){return $.lock_retention_period_years>0?Math.floor(365.242*$.lock_retention_period_years):$.lock_retention_period_days||0}setEncryptionConfig($,J,F,X,de,V,ce,se,fe,Te,$e,ge){return this.rgwDaemonService.request(Et=>(Et=Et.appendAll({encryption_type:$,kms_provider:J,auth_method:F,secret_engine:X,secret_path:de,namespace:V,address:ce,token:se,owner:fe,ssl_cert:Te,client_cert:$e,client_key:ge}),this.http.put(`${this.url}/setEncryptionConfig`,null,{params:Et})))}getEncryption($){return this.rgwDaemonService.request(J=>this.http.get(`${this.url}/${$}/getEncryption`,{params:J}))}deleteEncryption($){return this.rgwDaemonService.request(J=>this.http.get(`${this.url}/${$}/deleteEncryption`,{params:J}))}getEncryptionConfig(){return this.rgwDaemonService.request($=>this.http.get(`${this.url}/getEncryptionConfig`,{params:$}))}};U.\u0275fac=function($){return new($||U)(D.LFG(a.eN),D.LFG(M.b))},U.\u0275prov=D.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),U=(0,r.gn)([w.o,(0,r.w6)("design:paramtypes",[a.eN,M.b])],U)},20523:(E,C,s)=>{"use strict";s.d(C,{b:()=>W});var r=s(64762),a=s(35732),c=s(23815),u=s.n(c),e=s(26215),f=s(40205),m=s(25917),T=s(68307),M=s(19773),w=s(15257),D=s(93523),U=s(64537);let W=class{constructor(J){this.http=J,this.url="api/rgw/daemon",this.daemons=new e.X([]),this.daemons$=this.daemons.asObservable(),this.selectedDaemon=new e.X(null),this.selectedDaemon$=this.selectedDaemon.asObservable()}list(){return this.http.get(this.url).pipe((0,T.b)(J=>{this.daemons.next(J);const F=this.selectedDaemon.getValue();(u().isEmpty(F)||void 0===u().find(J,{id:F.id}))&&this.selectDefaultDaemon(J)}))}get(J){return this.http.get(`${this.url}/${J}`)}selectDaemon(J){this.selectedDaemon.next(J)}selectDefaultDaemon(J){if(0===J.length)return null;for(const F of J)if(F.default)return this.selectDaemon(F),F;return this.selectDaemon(J[0]),J[0]}request(J){return this.selectedDaemon.pipe((0,M.zg)(F=>u().isEmpty(F)?this.list().pipe((0,M.zg)(X=>u().isEmpty(X)?(0,f._)("No RGW daemons found!"):this.selectedDaemon$)):(0,m.of)(F)),(0,w.q)(1),(0,M.zg)(F=>{let X=new a.LE;return X=X.append("daemon_name",F.id),J(X)}))}setMultisiteConfig(J,F,X){return this.request(de=>(de=de.appendAll({realm_name:J,zonegroup_name:F,zone_name:X}),this.http.put(`${this.url}/set_multisite_config`,null,{params:de})))}};W.\u0275fac=function(J){return new(J||W)(U.LFG(a.eN))},W.\u0275prov=U.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W=(0,r.gn)([D.o,(0,r.w6)("design:paramtypes",[a.eN])],W)},80381:(E,C,s)=>{"use strict";s.d(C,{o:()=>u});var r=s(20523),a=s(64537),c=s(35732);let u=(()=>{class e{constructor(m,T){this.http=m,this.rgwDaemonService=T,this.url="ui-api/rgw/multisite"}migrate(m,T,M){return this.rgwDaemonService.request(w=>(w=w.appendAll({realm_name:m.name,zonegroup_name:T.name,zone_name:M.name,zonegroup_endpoints:T.endpoints,zone_endpoints:M.endpoints,access_key:M.system_key.access_key,secret_key:M.system_key.secret_key}),this.http.put(`${this.url}/migrate`,null,{params:w})))}getSyncStatus(){return this.http.get(`${this.url}/sync_status`)}}return e.\u0275fac=function(m){return new(m||e)(a.LFG(c.eN),a.LFG(r.b))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},95596:(E,C,s)=>{"use strict";s.d(C,{y:()=>e});var r=s(35732),a=s(65862),c=s(20523),u=s(64537);let e=(()=>{class f{constructor(T,M){this.http=T,this.rgwDaemonService=M,this.url="api/rgw/realm"}create(T,M){return this.http.post(`${this.url}`,{realm_name:T.name,default:M})}update(T,M,w){return this.http.put(`${this.url}/${T.name}`,{realm_name:T.name,default:M,new_realm_name:w})}list(){return this.http.get(`${this.url}`)}get(T){return this.http.get(`${this.url}/${T.name}`)}getAllRealmsInfo(){return this.http.get(`${this.url}/get_all_realms_info`)}delete(T){let M=new r.LE;return M=M.appendAll({realm_name:T}),this.http.delete(`${this.url}/${T}`,{params:M})}getRealmTree(T,M){let w={},D=[];return w.id=T.id,D.push(T.id),w.name=T.name,w.info=T,w.is_default=T.id===M,w.icon=a.P.reweight,w.type="realm",{nodes:w,realmIds:D}}importRealmToken(T,M,w,D){return this.http.post(`${this.url}/import_realm_token`,{realm_token:T,zone_name:M,port:w,placement_spec:D})}getRealmTokens(){return this.rgwDaemonService.request(()=>this.http.get(`${this.url}/get_realm_tokens`))}}return f.\u0275fac=function(T){return new(T||f)(u.LFG(r.eN),u.LFG(c.b))},f.\u0275prov=u.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},33394:(E,C,s)=>{"use strict";s.d(C,{I:()=>T});var r=s(64762),a=s(35732),c=s(19773),u=s(88002),e=s(20523),f=s(93523),m=s(64537);let T=class{constructor(w,D){this.http=w,this.rgwDaemonService=D,this.url="api/rgw/site"}get(w){return this.rgwDaemonService.request(D=>(w&&(D=D.append("query",w)),this.http.get(this.url,{params:D})))}isDefaultRealm(){return this.get("default-realm").pipe((0,c.zg)(w=>this.rgwDaemonService.selectedDaemon$.pipe((0,u.U)(D=>D.realm_name===w))))}};T.\u0275fac=function(w){return new(w||T)(m.LFG(a.eN),m.LFG(e.b))},T.\u0275prov=m.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T=(0,r.gn)([f.o,(0,r.w6)("design:paramtypes",[a.eN,e.b])],T)},97937:(E,C,s)=>{"use strict";s.d(C,{g:()=>u});var r=s(35732),a=s(65862),c=s(64537);let u=(()=>{class e{constructor(m){this.http=m,this.url="api/rgw/zone"}create(m,T,M,w,D){let U=new r.LE;return U=U.appendAll({zone_name:m.name,zonegroup_name:T.name,default:M,master:w,zone_endpoints:D,access_key:m.system_key.access_key,secret_key:m.system_key.secret_key}),this.http.post(`${this.url}`,null,{params:U})}list(){return this.http.get(`${this.url}`)}get(m){return this.http.get(`${this.url}/${m.name}`)}getAllZonesInfo(){return this.http.get(`${this.url}/get_all_zones_info`)}delete(m,T,M,w){let D=new r.LE;return D=D.appendAll({zone_name:m,delete_pools:T,pools:Array.from(M.values()),zonegroup_name:w}),this.http.delete(`${this.url}/${m}`,{params:D})}update(m,T,M,w,D,U,W,$,J,F,X,de,V){return this.http.put(`${this.url}/${m.name}`,{zone_name:m.name,zonegroup_name:T.name,new_zone_name:M,default:w,master:D,zone_endpoints:U,access_key:m.system_key.access_key,secret_key:m.system_key.secret_key,placement_target:W,data_pool:$,index_pool:J,data_extra_pool:F,storage_class:X,data_pool_class:de,compression:V})}getZoneTree(m,T,M,w,D){let U={},W=[];U.id=m.id,W.push(m.id),U.name=m.name,U.type="zone",U.name=m.name,U.info=m,U.icon=a.P.deploy,U.zone_zonegroup=w,U.parent=w?w.name:"",U.second_parent=D?D.name:"",U.is_default=m.id===T,U.endpoints=m.endpoints,U.is_master=!(!w||w.master_zone!==m.id),U.type="zone";const $=M.map(F=>F.name);U.secondary_zone=!$.includes(m.name);const J=M.filter(F=>F.name===m.name);if(J&&J.length>0){const F=J[0].system_key.access_key,X=J[0].system_key.secret_key;U.access_key=F||"",U.secret_key=X||"",U.user=!(!F||""===F)}return""===U.access_key||"null"===U.access_key?(U.show_warning=!0,U.warning_message="Access/Secret keys not found"):U.show_warning=!1,U.endpoints&&0===U.endpoints.length&&(U.show_warning=!0,U.warning_message=U.warning_message+"\nEndpoints not configured"),{nodes:U,zoneIds:W}}getPoolNames(){return this.http.get(`${this.url}/get_pool_names`)}createSystemUser(m,T){return this.http.put(`${this.url}/create_system_user`,{userName:m,zoneName:T})}getUserList(m){let T=new r.LE;return T=T.appendAll({zoneName:m}),this.http.get(`${this.url}/get_user_list`,{params:T})}}return e.\u0275fac=function(m){return new(m||e)(c.LFG(r.eN))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},98961:(E,C,s)=>{"use strict";s.d(C,{K:()=>u});var r=s(35732),a=s(65862),c=s(64537);let u=(()=>{class e{constructor(m){this.http=m,this.url="api/rgw/zonegroup"}create(m,T,M,w){let D=new r.LE;return D=D.appendAll({realm_name:m.name,zonegroup_name:T.name,default:M,master:w,zonegroup_endpoints:T.endpoints}),this.http.post(`${this.url}`,null,{params:D})}update(m,T,M,w,D,U,W){return this.http.put(`${this.url}/${T.name}`,{zonegroup_name:T.name,realm_name:m.name,new_zonegroup_name:M,default:w,master:D,zonegroup_endpoints:T.endpoints,placement_targets:T.placement_targets,remove_zones:U,add_zones:W})}list(){return this.http.get(`${this.url}`)}get(m){return this.http.get(`${this.url}/${m.name}`)}getAllZonegroupsInfo(){return this.http.get(`${this.url}/get_all_zonegroups_info`)}delete(m,T,M){let w=new r.LE;return w=w.appendAll({zonegroup_name:m,delete_pools:T,pools:Array.from(M.values())}),this.http.delete(`${this.url}/${m}`,{params:w})}getZonegroupTree(m,T,M){let w={};return w.id=m.id,w.name=m.name,w.info=m,w.icon=a.P.cubes,w.is_master=m.is_master,w.parent=M?M.name:"",w.is_default=m.id===T,w.type="zonegroup",w.endpoints=m.endpoints,w.master_zone=m.master_zone,w.zones=m.zones,w.placement_targets=m.placement_targets,w.default_placement=m.default_placement,0===w.endpoints.length&&(w.show_warning=!0,w.warning_message="Endpoints not configured"),w}}return e.\u0275fac=function(m){return new(m||e)(c.LFG(r.eN))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},9837:(E,C,s)=>{"use strict";s.d(C,{g:()=>m});var r=s(23815),a=s.n(r),c=s(88002),u=s(64537),e=s(35732);let m=(()=>{class T{constructor(w){this.http=w,this.settings={}}getValues(w){return a().isArray(w)&&(w=w.join(",")),this.http.get(`api/settings?names=${w}`).pipe((0,c.U)(D=>{const U={};return a().forEach(D,W=>{a().set(U,W.name,W.value)}),U}))}ifSettingConfigured(w,D,U){const W=this.settings[w];void 0===W?this.http.get(w).subscribe($=>{this.settings[w]=this.getSettingsValue($),this.ifSettingConfigured(w,D,U)},$=>{401!==$.status&&(this.settings[w]="")}):""!==W?D(W):U&&U()}disableSetting(w){this.settings[w]=""}getSettingsValue(w){return w.value||w.instance||""}validateGrafanaDashboardUrl(w){return this.http.get(`api/grafana/validation/${w}`)}getStandardSettings(){return this.http.get("ui-api/standard_settings")}}return T.\u0275fac=function(w){return new(w||T)(u.LFG(e.eN))},T.\u0275prov=u.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},32057:(E,C,s)=>{"use strict";s.d(C,{K:()=>f});var r=s(25917),a=s(96736),c=s(5304),u=s(64537),e=s(35732);let f=(()=>{class m{constructor(M){this.http=M}list(){return this.http.get("api/user")}delete(M){return this.http.delete(`api/user/${M}`)}get(M){return this.http.get(`api/user/${M}`)}create(M){return this.http.post("api/user",M)}update(M){return this.http.put(`api/user/${M.username}`,M)}changePassword(M,w,D){return this.http.post(`api/user/${M}/change_password`,{old_password:w,new_password:D})}validateUserName(M){return this.get(M).pipe((0,a.h)(!0),(0,c.K)(w=>(w.preventDefault(),(0,r.of)(!1))))}validatePassword(M,w=null,D=null){return this.http.post("api/user/validate_password",{password:M,username:w,old_password:D})}}return m.\u0275fac=function(M){return new(M||m)(u.LFG(e.eN))},m.\u0275prov=u.Yz7({token:m,factory:m.\u0275fac,providedIn:"root"}),m})()},51295:(E,C,s)=>{"use strict";s.d(C,{T:()=>c});var r=s(23815),a=s.n(r);class c{static updateChanged(e,f){let m=!1;return Object.keys(f).forEach(T=>{const M=f[T];a().isEqual(M,e[T])||(e[T]=M,m=!0)}),m}static cdVersionHeader(e,f){return`application/vnd.ceph.api.v${e}.${f}+json`}}},99475:(E,C,s)=>{"use strict";s.d(C,{P:()=>r});class r{propertyValue(c){return getComputedStyle(document.body).getPropertyValue(`--${c}`)}}},68136:(E,C,s)=>{"use strict";s.d(C,{o:()=>a});var r=s(71225);class a{constructor(u){this.ngZone=u}setExpandedRow(u){this.expandedRow=u}setTableRefreshTimeout(){clearTimeout(this.staleTimeout),this.ngZone.runOutsideAngular(()=>{this.staleTimeout=window.setTimeout(()=>{this.ngZone.run(()=>{this.tableStatus=new r.c("warning","The user list data might be stale. If needed, you can manually reload it.")})},1e4)})}}},69158:(E,C,s)=>{"use strict";s.d(C,{E:()=>c});var r=s(91801),a=s(71225);class c extends a.c{constructor(e=r.T.ValueOk,f=""){switch(super(),e){case r.T.ValueOk:this.type="light",this.msg="";break;case r.T.ValueNone:this.type="info",this.msg=(f?"Retrieving data for " + f + ".":"Retrieving data.")+" "+"Please wait...";break;case r.T.ValueStale:this.type="warning",this.msg=f?"Displaying previously cached data for " + f + ".":"Displaying previously cached data.";break;case r.T.ValueException:this.type="danger",this.msg=(f?"Could not load data for " + f + ".":"Could not load data.")+" "+"Please check the cluster health."}}}},71225:(E,C,s)=>{"use strict";s.d(C,{c:()=>r});class r{constructor(c="light",u=""){this.type=c,this.msg=u}}},34501:(E,C,s)=>{"use strict";s.d(C,{G:()=>F});var r=s(64537),a=s(65862),c=s(88692),u=s(51389);const e=function(X){return[X]};function f(X,de){if(1&X&&(r.TgZ(0,"td",8),r._UZ(1,"i",9),r.qZA()),2&X){const V=r.oxw(2);r.xp6(1),r.MT6("alert-",V.bootstrapClass," ",V.typeIcon,""),r.Q6J("ngClass",r.VKq(5,e,V.icons.large3x))}}function m(X,de){if(1&X&&(r.TgZ(0,"td",10),r._uU(1),r.qZA()),2&X){const V=r.oxw(2);r.xp6(1),r.Oqu(V.title)}}function T(X,de){1&X&&r.GkF(0)}function M(X,de){if(1&X&&(r.ynx(0),r.TgZ(1,"tr"),r.YNc(2,f,2,7,"td",4),r.YNc(3,m,2,1,"td",5),r.qZA(),r.TgZ(4,"tr")(5,"td",6),r.YNc(6,T,1,0,"ng-container",7),r.qZA()(),r.BQk()),2&X){const V=r.oxw(),ce=r.MAs(6);r.xp6(2),r.Q6J("ngIf",V.showIcon),r.xp6(1),r.Q6J("ngIf",V.showTitle),r.xp6(3),r.Q6J("ngTemplateOutlet",ce)}}function w(X,de){if(1&X&&(r.TgZ(0,"td",12),r._UZ(1,"i",13),r.qZA()),2&X){const V=r.oxw(2);r.xp6(1),r.MT6("alert-",V.bootstrapClass," ",V.typeIcon,"")}}function D(X,de){if(1&X&&(r.TgZ(0,"td",10),r._uU(1),r.qZA()),2&X){const V=r.oxw(2);r.xp6(1),r.Oqu(V.title)}}function U(X,de){1&X&&r.GkF(0)}function W(X,de){if(1&X&&(r.TgZ(0,"tr"),r.YNc(1,w,2,4,"td",11),r.YNc(2,D,2,1,"td",5),r.TgZ(3,"td",6),r.YNc(4,U,1,0,"ng-container",7),r.qZA()()),2&X){const V=r.oxw(),ce=r.MAs(6);r.xp6(1),r.Q6J("ngIf",V.showIcon),r.xp6(1),r.Q6J("ngIf",V.showTitle),r.xp6(2),r.Q6J("ngTemplateOutlet",ce)}}function $(X,de){1&X&&r.Hsn(0)}const J=["*"];let F=(()=>{class X{constructor(){this.title="",this.bootstrapClass="",this.size="normal",this.showIcon=!0,this.showTitle=!0,this.dismissible=!1,this.spacingClass="",this.dismissed=new r.vpe,this.icons=a.P}ngOnInit(){switch(this.type){case"warning":this.title=this.title||"Warning",this.typeIcon=this.typeIcon||a.P.warning,this.bootstrapClass=this.bootstrapClass||"warning";break;case"error":this.title=this.title||"Error",this.typeIcon=this.typeIcon||a.P.destroyCircle,this.bootstrapClass=this.bootstrapClass||"danger";break;case"info":this.title=this.title||"Information",this.typeIcon=this.typeIcon||a.P.infoCircle,this.bootstrapClass=this.bootstrapClass||"info";break;case"success":this.title=this.title||"Success",this.typeIcon=this.typeIcon||a.P.check,this.bootstrapClass=this.bootstrapClass||"success";break;case"danger":this.title=this.title||"Danger",this.typeIcon=this.typeIcon||a.P.warning,this.bootstrapClass=this.bootstrapClass||"danger"}}onClose(){this.dismissed.emit()}}return X.\u0275fac=function(V){return new(V||X)},X.\u0275cmp=r.Xpm({type:X,selectors:[["cd-alert-panel"]],inputs:{title:"title",bootstrapClass:"bootstrapClass",type:"type",typeIcon:"typeIcon",size:"size",showIcon:"showIcon",showTitle:"showTitle",dismissible:"dismissible",spacingClass:"spacingClass"},outputs:{dismissed:"dismissed"},ngContentSelectors:J,decls:7,vars:5,consts:[[3,"type","dismissible","ngClass","closed"],[4,"ngIf","ngIfElse"],["slim",""],["content",""],["rowspan","2","class","alert-panel-icon",4,"ngIf"],["class","alert-panel-title",4,"ngIf"],[1,"alert-panel-text"],[4,"ngTemplateOutlet"],["rowspan","2",1,"alert-panel-icon"],["aria-hidden","true",3,"ngClass"],[1,"alert-panel-title"],["class","alert-panel-icon",4,"ngIf"],[1,"alert-panel-icon"],["aria-hidden","true"]],template:function(V,ce){if(1&V&&(r.F$t(),r.TgZ(0,"ngb-alert",0),r.NdJ("closed",function(){return ce.onClose()}),r.TgZ(1,"table"),r.YNc(2,M,7,3,"ng-container",1),r.YNc(3,W,5,3,"ng-template",null,2,r.W1O),r.qZA()(),r.YNc(5,$,1,0,"ng-template",null,3,r.W1O)),2&V){const se=r.MAs(4);r.s9C("type",ce.bootstrapClass),r.Q6J("dismissible",ce.dismissible)("ngClass",ce.spacingClass),r.xp6(2),r.Q6J("ngIf","normal"===ce.size)("ngIfElse",se)}},dependencies:[c.mk,c.O5,c.tP,u.xm],styles:[".alert-panel-icon[_ngcontent-%COMP%]{padding-right:.5em;vertical-align:top}.alert-panel-title[_ngcontent-%COMP%]{font-weight:700}.alert[_ngcontent-%COMP%]{margin-bottom:0}"]}),X})()},13472:(E,C,s)=>{"use strict";s.d(C,{W:()=>e});var r=s(64537),a=s(79512),c=s(88692),u=s(87925);let e=(()=>{class f{constructor(T,M){this.location=T,this.actionLabels=M,this.backAction=new r.vpe}ngOnInit(){this.name=this.name||this.actionLabels.CANCEL}back(){0===this.backAction.observers.length?this.location.back():this.backAction.emit()}}return f.\u0275fac=function(T){return new(T||f)(r.Y36(c.Ye),r.Y36(a.p4))},f.\u0275cmp=r.Xpm({type:f,selectors:[["cd-back-button"]],inputs:{name:"name"},outputs:{backAction:"backAction"},decls:2,vars:1,consts:[["aria-label","Back","type","button",1,"btn","btn-light","tc_backButton",3,"click"]],template:function(T,M){1&T&&(r.TgZ(0,"button",0),r.NdJ("click",function(){return M.back()}),r._uU(1),r.qZA()),2&T&&(r.xp6(1),r.hij(" ",M.name,"\n"))},dependencies:[u.o]}),f})()},17401:(E,C,s)=>{"use strict";s.d(C,{e:()=>br});var r=s(65862),a=s(64537),c=s(88692),u=s(54247);function e(ht,Wt){if(1&ht&&a.SDv(0,14,1),2&ht){const Tt=a.oxw(2);a.pQV(Tt.title),a.QtT(0)}}function f(ht,Wt){if(1&ht&&a.SDv(0,14,2),2&ht){const Tt=a.oxw(2);a.pQV(Tt.title),a.QtT(0)}}function m(ht,Wt){if(1&ht&&a.SDv(0,14,3),2&ht){const Tt=a.oxw(2);a.pQV(Tt.title),a.QtT(0)}}function T(ht,Wt){if(1&ht&&(a.TgZ(0,"a",13),a.tHW(1,14),a.YNc(2,e,1,1,"ng-template",15),a.YNc(3,f,1,1,"ng-template",16),a.YNc(4,m,1,1,"ng-template",17),a.N_p(),a.qZA()),2&ht){const Tt=a.oxw();a.Q6J("routerLink",Tt.link)("ngPlural",Tt.total),a.xp6(4),a.pQV(Tt.total),a.QtT(1)}}function M(ht,Wt){1&ht&&a.GkF(0)}function w(ht,Wt){if(1&ht&&(a.ynx(0),a.YNc(1,M,1,0,"ng-container",18),a.BQk()),2&ht){a.oxw();const Tt=a.MAs(16);a.xp6(1),a.Q6J("ngTemplateOutlet",Tt)}}function D(ht,Wt){1&ht&&a.GkF(0)}function U(ht,Wt){if(1&ht&&(a.ynx(0),a.YNc(1,D,1,0,"ng-container",18),a.BQk()),2&ht){a.oxw();const Tt=a.MAs(14);a.xp6(1),a.Q6J("ngTemplateOutlet",Tt)}}function W(ht,Wt){1&ht&&a.GkF(0)}function $(ht,Wt){if(1&ht&&(a.ynx(0),a.YNc(1,W,1,0,"ng-container",18),a.BQk()),2&ht){a.oxw();const Tt=a.MAs(18);a.xp6(1),a.Q6J("ngTemplateOutlet",Tt)}}function J(ht,Wt){1&ht&&a.GkF(0)}function F(ht,Wt){if(1&ht&&(a.ynx(0),a.YNc(1,J,1,0,"ng-container",18),a.BQk()),2&ht){a.oxw();const Tt=a.MAs(12);a.xp6(1),a.Q6J("ngTemplateOutlet",Tt)}}function X(ht,Wt){if(1&ht&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ht){const Tt=a.oxw(3);a.xp6(1),a.hij(" ",Tt.data.success," ")}}function de(ht,Wt){if(1&ht&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ht){const Tt=a.oxw(3);a.xp6(1),a.hij(" ",null==Tt.data.categoryPgAmount?null:Tt.data.categoryPgAmount.clean," ")}}const V=function(ht){return[ht]};function ce(ht,Wt){if(1&ht&&(a.TgZ(0,"span"),a.YNc(1,X,2,1,"span",19),a.YNc(2,de,2,1,"span",19),a._UZ(3,"i",21),a.qZA()),2&ht){const Tt=a.oxw(2);a.xp6(1),a.Q6J("ngIf",Tt.data.success||0===Tt.data.success&&0===Tt.data.total),a.xp6(1),a.Q6J("ngIf",null==Tt.data.categoryPgAmount?null:Tt.data.categoryPgAmount.clean),a.xp6(1),a.Q6J("ngClass",a.VKq(3,V,Tt.icons.success))}}function se(ht,Wt){if(1&ht&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ht){const Tt=a.oxw(3);a.xp6(1),a.hij(" ",Tt.data.info," ")}}function fe(ht,Wt){if(1&ht&&(a.TgZ(0,"span",22),a.YNc(1,se,2,1,"span",19),a._UZ(2,"i",23),a.qZA()),2&ht){const Tt=a.oxw(2);a.xp6(1),a.Q6J("ngIf",Tt.data.info),a.xp6(1),a.Q6J("ngClass",a.VKq(2,V,Tt.icons.danger))}}function Te(ht,Wt){if(1&ht&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ht){const Tt=a.oxw(3);a.xp6(1),a.hij(" ",Tt.data.warn," ")}}function $e(ht,Wt){if(1&ht&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ht){const Tt=a.oxw(3);a.xp6(1),a.hij(" ",null==Tt.data.categoryPgAmount?null:Tt.data.categoryPgAmount.warning," ")}}function ge(ht,Wt){if(1&ht&&(a.TgZ(0,"span",22),a.YNc(1,Te,2,1,"span",19),a.YNc(2,$e,2,1,"span",19),a._UZ(3,"i",24),a.qZA()),2&ht){const Tt=a.oxw(2);a.xp6(1),a.Q6J("ngIf",Tt.data.warn),a.xp6(1),a.Q6J("ngIf",null==Tt.data.categoryPgAmount?null:Tt.data.categoryPgAmount.warning),a.xp6(1),a.Q6J("ngClass",a.VKq(3,V,Tt.icons.warning))}}function Et(ht,Wt){if(1&ht&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ht){const Tt=a.oxw(3);a.xp6(1),a.hij(" ",Tt.data.error," ")}}function ot(ht,Wt){if(1&ht&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ht){const Tt=a.oxw(3);a.xp6(1),a.hij(" ",null==Tt.data.categoryPgAmount?null:Tt.data.categoryPgAmount.unknown," ")}}function ct(ht,Wt){if(1&ht&&(a.TgZ(0,"span",22),a.YNc(1,Et,2,1,"span",19),a.YNc(2,ot,2,1,"span",19),a._UZ(3,"i",25),a.qZA()),2&ht){const Tt=a.oxw(2);a.xp6(1),a.Q6J("ngIf",Tt.data.error),a.xp6(1),a.Q6J("ngIf",null==Tt.data.categoryPgAmount?null:Tt.data.categoryPgAmount.unknown),a.xp6(1),a.Q6J("ngClass",a.VKq(3,V,Tt.icons.danger))}}function qe(ht,Wt){if(1&ht&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&ht){const Tt=a.oxw(3);a.xp6(1),a.hij(" ",null==Tt.data.categoryPgAmount?null:Tt.data.categoryPgAmount.working," ")}}const He=function(ht,Wt){return[ht,Wt]};function We(ht,Wt){if(1&ht&&(a.TgZ(0,"span",22),a.YNc(1,qe,2,1,"span",19),a._UZ(2,"i",24),a.qZA()),2&ht){const Tt=a.oxw(2);a.xp6(1),a.Q6J("ngIf",null==Tt.data.categoryPgAmount?null:Tt.data.categoryPgAmount.working),a.xp6(1),a.Q6J("ngClass",a.WLB(2,He,Tt.icons.spinner,Tt.icons.spin))}}function Le(ht,Wt){if(1&ht&&(a.YNc(0,ce,4,5,"span",19),a.YNc(1,fe,3,4,"span",20),a.YNc(2,ge,4,5,"span",20),a.YNc(3,ct,4,5,"span",20),a.YNc(4,We,3,5,"span",20)),2&ht){const Tt=a.oxw();a.Q6J("ngIf",Tt.data.success||(null==Tt.data.categoryPgAmount?null:Tt.data.categoryPgAmount.clean)||0===Tt.data.success&&0===Tt.data.total),a.xp6(1),a.Q6J("ngIf",Tt.data.info),a.xp6(1),a.Q6J("ngIf",Tt.data.warn||(null==Tt.data.categoryPgAmount?null:Tt.data.categoryPgAmount.warning)),a.xp6(1),a.Q6J("ngIf",Tt.data.error||(null==Tt.data.categoryPgAmount?null:Tt.data.categoryPgAmount.unknown)),a.xp6(1),a.Q6J("ngIf",null==Tt.data.categoryPgAmount?null:Tt.data.categoryPgAmount.working)}}function Pt(ht,Wt){if(1&ht&&(a.TgZ(0,"span"),a._uU(1),a._UZ(2,"i",21),a.qZA()),2&ht){const Tt=a.oxw(2);a.xp6(1),a.hij(" ",Tt.data.up," "),a.xp6(1),a.Q6J("ngClass",a.VKq(2,V,Tt.icons.success))}}function it(ht,Wt){if(1&ht&&(a.TgZ(0,"span"),a._uU(1),a.TgZ(2,"span",26),a._uU(3," up "),a.qZA()()),2&ht){const Tt=a.oxw(2);a.xp6(1),a.hij(" ",Tt.data.up," ")}}function Xt(ht,Wt){if(1&ht&&(a.TgZ(0,"span",22),a._uU(1),a.TgZ(2,"span",26),a._uU(3," in "),a.qZA()()),2&ht){const Tt=a.oxw(2);a.xp6(1),a.hij(" ",Tt.data.in," ")}}function cn(ht,Wt){if(1&ht&&(a.TgZ(0,"span",22),a._uU(1),a.TgZ(2,"span",27),a._uU(3," down "),a.qZA()()),2&ht){const Tt=a.oxw(2);a.xp6(1),a.hij(" ",Tt.data.down," ")}}function pn(ht,Wt){if(1&ht&&(a.TgZ(0,"span",22),a._uU(1),a.TgZ(2,"span",27),a._uU(3," out "),a.qZA()()),2&ht){const Tt=a.oxw(2);a.xp6(1),a.hij(" ",Tt.data.out," ")}}function Rn(ht,Wt){if(1&ht&&(a.TgZ(0,"span",22),a._uU(1),a.TgZ(2,"span",28),a._uU(3," nearfull"),a.qZA()()),2&ht){const Tt=a.oxw(2);a.xp6(1),a.hij(" ",Tt.data.nearfull," ")}}function At(ht,Wt){if(1&ht&&(a.TgZ(0,"span",22),a._uU(1),a.TgZ(2,"span",29),a._uU(3," full "),a.qZA()()),2&ht){const Tt=a.oxw(2);a.xp6(1),a.hij(" ",Tt.data.full," ")}}function qt(ht,Wt){if(1&ht&&(a.YNc(0,Pt,3,4,"span",19),a.YNc(1,it,4,1,"span",19),a.YNc(2,Xt,4,1,"span",20),a.YNc(3,cn,4,1,"span",20),a.YNc(4,pn,4,1,"span",20),a.YNc(5,Rn,4,1,"span",20),a.YNc(6,At,4,1,"span",20)),2&ht){const Tt=a.oxw();a.Q6J("ngIf",Tt.data.up===Tt.data.in),a.xp6(1),a.Q6J("ngIf",Tt.data.up!==Tt.data.in),a.xp6(1),a.Q6J("ngIf",Tt.data.in!==Tt.data.up),a.xp6(1),a.Q6J("ngIf",Tt.data.down),a.xp6(1),a.Q6J("ngIf",Tt.data.out),a.xp6(1),a.Q6J("ngIf",Tt.data.nearfull),a.xp6(1),a.Q6J("ngIf",Tt.data.full)}}function sn(ht,Wt){if(1&ht&&a._UZ(0,"i",21),2&ht){const Tt=a.oxw(2);a.Q6J("ngClass",a.VKq(1,V,Tt.icons.success))}}function fn(ht,Wt){if(1&ht&&(a.TgZ(0,"span",22),a._uU(1),a._UZ(2,"i",25),a.qZA()),2&ht){const Tt=a.oxw(2);a.xp6(1),a.hij(" ",Tt.data.down," "),a.xp6(1),a.Q6J("ngClass",a.VKq(2,V,Tt.icons.danger))}}function xn(ht,Wt){if(1&ht&&(a.TgZ(0,"span"),a._uU(1),a.YNc(2,sn,1,3,"i",30),a.qZA(),a.YNc(3,fn,3,4,"span",20)),2&ht){const Tt=a.oxw();a.xp6(1),a.hij(" ",Tt.data.up," "),a.xp6(1),a.Q6J("ngIf",Tt.data.up||0===Tt.data.up),a.xp6(1),a.Q6J("ngIf",Tt.data.down)}}function Kr(ht,Wt){if(1&ht&&(a.TgZ(0,"span"),a._uU(1),a._UZ(2,"i",21),a.qZA()),2&ht){const Tt=a.oxw();a.xp6(1),a.hij(" ",Tt.data," "),a.xp6(1),a.Q6J("ngClass",a.VKq(2,V,Tt.icons.success))}}function Or(ht,Wt){if(1&ht&&a._uU(0),2&ht){const Tt=a.oxw(3);a.Oqu(Tt.title)}}function Lr(ht,Wt){if(1&ht&&a._uU(0),2&ht){const Tt=a.oxw(3);a.Oqu(Tt.title)}}function ir(ht,Wt){if(1&ht&&a._uU(0),2&ht){const Tt=a.oxw(3);a.hij("",Tt.title,"s")}}function Qr(ht,Wt){if(1&ht&&(a.TgZ(0,"span",32),a._uU(1),a.YNc(2,Or,1,1,"ng-template",15),a.YNc(3,Lr,1,1,"ng-template",16),a.YNc(4,ir,1,1,"ng-template",17),a.qZA()),2&ht){const Tt=a.oxw(2);a.Q6J("ngPlural",Tt.total),a.xp6(1),a.hij(" ",Tt.total," ")}}function jr(ht,Wt){if(1&ht&&a.YNc(0,Qr,5,2,"span",31),2&ht){const Tt=a.oxw();a.Q6J("ngIf",Tt.total||0===Tt.total)}}let br=(()=>{class ht{constructor(){this.summaryType="default",this.icons=r.P}ngOnChanges(){this.total=this.data.total||0===this.data.total?this.data.total:"iscsi"===this.summaryType?this.data.up+this.data.down||0:this.data}}return ht.\u0275fac=function(Tt){return new(Tt||ht)},ht.\u0275cmp=a.Xpm({type:ht,selectors:[["cd-card-row"]],inputs:{title:"title",link:"link",data:"data",summaryType:"summaryType"},features:[a.TTD],decls:21,vars:6,consts:function(){let Wt;return Wt=" " + "\ufffd0\ufffd" + " " + "\ufffd*2:1\ufffd" + "" + "[\ufffd0:1\ufffd|\ufffd0:2\ufffd|\ufffd0:3\ufffd]" + "" + "[\ufffd/*2:1\ufffd|\ufffd/*3:2\ufffd|\ufffd/*4:3\ufffd]" + "" + "\ufffd*3:2\ufffd" + "" + "[\ufffd0:1\ufffd|\ufffd0:2\ufffd|\ufffd0:3\ufffd]" + "" + "[\ufffd/*2:1\ufffd|\ufffd/*3:2\ufffd|\ufffd/*4:3\ufffd]" + "" + "\ufffd*4:3\ufffd" + "" + "[\ufffd0:1\ufffd|\ufffd0:2\ufffd|\ufffd0:3\ufffd]" + "s" + "[\ufffd/*2:1\ufffd|\ufffd/*3:2\ufffd|\ufffd/*4:3\ufffd]" + "",Wt=a.Zx4(Wt),[[1,"list-group-item"],[1,"d-flex","pl-1","pb-2","pt-2"],[1,"ms-4","me-auto"],[3,"routerLink","ngPlural",4,"ngIf","ngIfElse"],[1,"me-3"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["defaultSummary",""],["osdSummary",""],["iscsiSummary",""],["simplifiedSummary",""],["noLinkTitle",""],[3,"routerLink","ngPlural"],Wt,["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","ms-2",4,"ngIf"],[1,"text-success",3,"ngClass"],[1,"ms-2"],[1,"text-info",3,"ngClass"],[1,"text-warning",3,"ngClass"],[1,"text-danger",3,"ngClass"],[1,"fw-bold","text-success"],[1,"fw-bold","text-danger","me-2"],[1,"fw-bold","text-warning","me-2"],[1,"fw-bold","text-danger"],["class","text-success",3,"ngClass",4,"ngIf"],[3,"ngPlural",4,"ngIf"],[3,"ngPlural"]]},template:function(Tt,wn){if(1&Tt&&(a._UZ(0,"hr"),a.TgZ(1,"li",0)(2,"div",1)(3,"div",2),a.YNc(4,T,5,3,"a",3),a.qZA(),a.TgZ(5,"span",4),a.ynx(6,5),a.YNc(7,w,2,1,"ng-container",6),a.YNc(8,U,2,1,"ng-container",6),a.YNc(9,$,2,1,"ng-container",6),a.YNc(10,F,2,1,"ng-container",7),a.BQk(),a.qZA()()(),a.YNc(11,Le,5,5,"ng-template",null,8,a.W1O),a.YNc(13,qt,7,7,"ng-template",null,9,a.W1O),a.YNc(15,xn,4,3,"ng-template",null,10,a.W1O),a.YNc(17,Kr,3,4,"ng-template",null,11,a.W1O),a.YNc(19,jr,1,1,"ng-template",null,12,a.W1O)),2&Tt){const jn=a.MAs(20);a.xp6(4),a.Q6J("ngIf",wn.link&&wn.total>0)("ngIfElse",jn),a.xp6(2),a.Q6J("ngSwitch",wn.summaryType),a.xp6(1),a.Q6J("ngSwitchCase","iscsi"),a.xp6(1),a.Q6J("ngSwitchCase","osd"),a.xp6(1),a.Q6J("ngSwitchCase","simplified")}},dependencies:[c.mk,c.O5,c.tP,c.RF,c.n9,c.ED,c.iq,c.zE,u.rH],styles:[".list-group-item[_ngcontent-%COMP%]{border:0;font-size:14px}"]}),ht})()},9219:(E,C,s)=>{"use strict";s.d(C,{A:()=>W});var r=s(65862),a=s(64537),c=s(88692);function u($,J){if(1&$&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&$){const F=a.oxw(2);a.xp6(1),a.Oqu(F.cardTitle)}}function e($,J){if(1&$&&(a.TgZ(0,"h4",6),a.YNc(1,u,2,1,"span",7),a.qZA()),2&$){const F=a.oxw();a.xp6(1),a.Q6J("ngIf",""===F.cardType)}}function f($,J){if(1&$&&(a.TgZ(0,"h4",8),a._UZ(1,"i",9),a.TgZ(2,"span",10),a._uU(3),a.qZA()()),2&$){const F=a.oxw();a.xp6(1),a.Q6J("ngClass",F.icons.deploy),a.xp6(2),a.Oqu(F.cardTitle)}}function m($,J){if(1&$&&(a.TgZ(0,"h5",11),a._uU(1),a.qZA()),2&$){const F=a.oxw();a.xp6(1),a.hij(" ",F.cardTitle," ")}}function T($,J){1&$&&(a.TgZ(0,"div",12),a.Hsn(1,1),a.qZA())}const M=["*",[["",8,"footer"]]],w=function($,J,F,X,de){return{"border-0":$,"bg-color":J,shadow:F,"shadow-sm":X,"h-100":de}},D=function($,J){return{"d-flex align-items-center":$,"justify-content-center":J}},U=["*",".footer"];let W=(()=>{class ${constructor(){this.icons=r.P,this.cardType="",this.removeBorder=!1,this.shadow=!1,this.cardFooter=!1,this.fullHeight=!1,this.alignItemsCenter=!1,this.justifyContentCenter=!1}}return $.\u0275fac=function(F){return new(F||$)},$.\u0275cmp=a.Xpm({type:$,selectors:[["cd-card"]],inputs:{cardTitle:"cardTitle",cardType:"cardType",removeBorder:"removeBorder",shadow:"shadow",cardFooter:"cardFooter",fullHeight:"fullHeight",alignItemsCenter:"alignItemsCenter",justifyContentCenter:"justifyContentCenter"},ngContentSelectors:U,decls:7,vars:15,consts:[[1,"card","flex-fill",3,"ngClass"],["class","card-title mt-4 ms-4 mb-0",4,"ngIf"],["class","text-center mt-4 mb-0",4,"ngIf"],["class","text-center card-title",4,"ngIf"],[1,"card-body","ps-0","pe-0",3,"ngClass"],["class","card-footer p-0 bg-white",4,"ngIf"],[1,"card-title","mt-4","ms-4","mb-0"],[4,"ngIf"],[1,"text-center","mt-4","mb-0"],[3,"ngClass"],[1,"badge","badge-info"],[1,"text-center","card-title"],[1,"card-footer","p-0","bg-white"]],template:function(F,X){1&F&&(a.F$t(M),a.TgZ(0,"div",0),a.YNc(1,e,2,1,"h4",1),a.YNc(2,f,4,2,"h4",2),a.YNc(3,m,2,1,"h5",3),a.TgZ(4,"div",4),a.Hsn(5),a.qZA(),a.YNc(6,T,2,0,"div",5),a.qZA()),2&F&&(a.Q6J("ngClass",a.qbA(6,w,X.removeBorder,"Sync Status Card"===X.cardType,X.shadow,!X.shadow&&"syncCards"!==X.cardType,X.fullHeight)),a.xp6(1),a.Q6J("ngIf","zone"!==X.cardType),a.xp6(1),a.Q6J("ngIf","zone"===X.cardType),a.xp6(1),a.Q6J("ngIf","syncCards"===X.cardType),a.xp6(1),a.Q6J("ngClass",a.WLB(12,D,X.alignItemsCenter,X.justifyContentCenter)),a.xp6(2),a.Q6J("ngIf",X.cardFooter))},dependencies:[c.mk,c.O5]}),$})()},15626:(E,C,s)=>{"use strict";s.d(C,{K:()=>D});var r=s(88692),a=s(20092),c=s(54247),u=s(51389),e=s(90504),f=s(72621),m=s(85770),T=s(35540),M=s(12455),w=s(64537);let D=(()=>{class U{}return U.\u0275fac=function($){return new($||U)},U.\u0275mod=w.oAB({type:U}),U.\u0275inj=w.cJS({imports:[r.ez,a.u5,a.UX,u._A,u.dT,u.ZQ,u.HK,f.m9,a.UX,M.D,T.o,u.XC,e.w,m.t,c.Bz,u.M,u.UL]}),U})()},36169:(E,C,s)=>{"use strict";s.d(C,{Y:()=>D});var r=s(20092),a=s(64537),c=s(51389),u=s(88692),e=s(41582),f=s(60312),m=s(30839);function T(U,W){1&U&&(a.TgZ(0,"span",11),a._UZ(1,"i",12),a.qZA())}function M(U,W){1&U&&a.GkF(0)}function w(U,W){if(1&U&&(a.TgZ(0,"p"),a._uU(1),a.qZA()),2&U){const $=a.oxw();a.xp6(1),a.hij(" ",$.description," ")}}let D=(()=>{class U{constructor($){this.activeModal=$,this.warning=!1,this.showSubmit=!0,this.showCancel=!0,this.boundCancel=this.cancel.bind(this),this.canceled=!1,this.confirmationForm=new r.nJ({})}ngOnInit(){if(this.bodyContext=this.bodyContext||{},this.bodyContext.$implicit=this.bodyData,!this.onSubmit)throw new Error("No submit action defined");if(!this.buttonText)throw new Error("No action name defined");if(!this.titleText)throw new Error("No title defined");if(!this.bodyTpl&&!this.description)throw new Error("No description defined")}ngOnDestroy(){this.onCancel&&this.canceled&&this.onCancel()}cancel(){this.canceled=!0,this.activeModal.close()}stopLoadingSpinner(){this.confirmationForm.setErrors({cdSubmitButton:!0})}}return U.\u0275fac=function($){return new($||U)(a.Y36(c.Kz))},U.\u0275cmp=a.Xpm({type:U,selectors:[["cd-confirmation-modal"]],decls:12,vars:10,consts:[[3,"hide"],[1,"modal-title"],["class","text-warning",4,"ngIf"],[1,"modal-content"],["name","confirmationForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","showCancel","showSubmit","submitActionEvent","backActionEvent"],[1,"text-warning"],[1,"fa","fa-exclamation-triangle","fa-1x"]],template:function($,J){1&$&&(a.TgZ(0,"cd-modal",0),a.NdJ("hide",function(){return J.cancel()}),a.ynx(1,1),a.YNc(2,T,2,0,"span",2),a._uU(3),a.BQk(),a.ynx(4,3),a.TgZ(5,"form",4,5)(7,"div",6),a.YNc(8,M,1,0,"ng-container",7),a.YNc(9,w,2,1,"p",8),a.qZA(),a.TgZ(10,"div",9)(11,"cd-form-button-panel",10),a.NdJ("submitActionEvent",function(){return J.onSubmit(J.confirmationForm.value)})("backActionEvent",function(){return J.boundCancel()}),a.qZA()()(),a.BQk(),a.qZA()),2&$&&(a.xp6(2),a.Q6J("ngIf",J.warning),a.xp6(1),a.Oqu(J.titleText),a.xp6(2),a.Q6J("formGroup",J.confirmationForm),a.xp6(3),a.Q6J("ngTemplateOutlet",J.bodyTpl)("ngTemplateOutletContext",J.bodyContext),a.xp6(1),a.Q6J("ngIf",J.description),a.xp6(2),a.Q6J("form",J.confirmationForm)("submitText",J.buttonText)("showCancel",J.showCancel)("showSubmit",J.showSubmit))},dependencies:[u.O5,u.tP,r._Y,r.JL,r.sg,e.V,f.z,m.p]}),U})()},58039:(E,C,s)=>{"use strict";s.d(C,{s:()=>D});var r=s(97057),a=s(65862),c=s(64537),u=s(23122),e=s(88692),f=s(87925);const m=function(U,W){return[U,W]};function T(U,W){if(1&U){const $=c.EpF();c.TgZ(0,"i",2),c.NdJ("click",function(){c.CHM($);const F=c.oxw();return c.KtG(F.onClick())}),c.qZA()}if(2&U){const $=c.oxw();c.Q6J("ngClass",c.WLB(1,m,$.icons.clipboard,$.icons.large))}}const M=function(U){return[U]};function w(U,W){if(1&U){const $=c.EpF();c.TgZ(0,"button",3),c.NdJ("click",function(){c.CHM($);const F=c.oxw();return c.KtG(F.onClick())}),c._UZ(1,"i",4),c.qZA()}if(2&U){const $=c.oxw();c.xp6(1),c.Q6J("ngClass",c.VKq(1,M,$.icons.clipboard))}}let D=(()=>{class U{constructor($){this.toastr=$,this.byId=!0,this.showIconOnly=!1,this.icons=a.P}getText(){return document.getElementById(this.source).value}onClick(){try{const $=(0,r.qY)(),J=this.byId?this.getText():this.source,F=()=>{this.toastr.success("Copied text to the clipboard successfully.")};["firefox","ie","ios","safari"].includes($.name)?navigator.clipboard.writeText(J).then(()=>F()):navigator.permissions.query({name:"clipboard-write"}).then(X=>{("granted"===X.state||"prompt"===X.state)&&navigator.clipboard.writeText(J).then(()=>F())})}catch{this.toastr.error("Failed to copy text to the clipboard.")}}}return U.\u0275fac=function($){return new($||U)(c.Y36(u._W))},U.\u0275cmp=c.Xpm({type:U,selectors:[["cd-copy-2-clipboard-button"]],hostBindings:function($,J){1&$&&c.NdJ("click",function(){return J.onClick()})},inputs:{source:"source",byId:"byId",showIconOnly:"showIconOnly"},decls:3,vars:2,consts:function(){let W;return W="Copy to Clipboard",[["class","text-primary ms-2","title","Copy to Clipboard",3,"ngClass","click",4,"ngIf","ngIfElse"],["withButtonTpl",""],["title","Copy to Clipboard",1,"text-primary","ms-2",3,"ngClass","click"],["type","button","title",W,1,"btn","btn-light",3,"click"],[3,"ngClass"]]},template:function($,J){if(1&$&&(c.YNc(0,T,1,4,"i",0),c.YNc(1,w,2,3,"ng-template",null,1,c.W1O)),2&$){const F=c.MAs(2);c.Q6J("ngIf",J.showIconOnly)("ngIfElse",F)}},dependencies:[e.mk,e.O5,f.o]}),U})()},30982:(E,C,s)=>{"use strict";s.d(C,{M:()=>$e});var r=s(20092),a=s(95463),c=s(39749),u=s(64537),e=s(51389),f=s(88692),m=s(82945),T=s(87925),M=s(94276),w=s(56310),D=s(41582),U=s(60312),W=s(30839);function $(ge,Et){1&ge&&u.GkF(0)}function J(ge,Et){1&ge&&u.GkF(0)}function F(ge,Et){if(1&ge&&(u.TgZ(0,"p"),u.tHW(1,21),u.ALo(2,"lowercase"),u._UZ(3,"strong"),u.N_p(),u.qZA()),2&ge){const ot=u.oxw(2);u.xp6(3),u.pQV(u.lcZ(2,2,ot.actionDescription))(ot.itemNames[0]),u.QtT(1)}}function X(ge,Et){if(1&ge&&(u.TgZ(0,"li")(1,"strong"),u._uU(2),u.qZA()()),2&ge){const ot=Et.$implicit;u.xp6(2),u.Oqu(ot)}}function de(ge,Et){if(1&ge&&(u.TgZ(0,"p"),u.SDv(1,22),u.ALo(2,"lowercase"),u.qZA(),u.TgZ(3,"ul"),u.YNc(4,X,3,1,"li",23),u.qZA()),2&ge){const ot=u.oxw(2);u.xp6(2),u.pQV(u.lcZ(2,2,ot.actionDescription)),u.QtT(1),u.xp6(2),u.Q6J("ngForOf",ot.itemNames)}}function V(ge,Et){if(1&ge&&(u.TgZ(0,"span"),u.YNc(1,F,4,4,"p",10),u.YNc(2,de,5,4,"ng-template",null,20,u.W1O),u.qZA()),2&ge){const ot=u.MAs(3),ct=u.oxw();u.xp6(1),u.Q6J("ngIf",1===ct.itemNames.length)("ngIfElse",ot)}}function ce(ge,Et){if(1&ge&&(u.TgZ(0,"p"),u.SDv(1,24),u.ALo(2,"lowercase"),u.qZA()),2&ge){const ot=u.oxw();u.xp6(2),u.pQV(u.lcZ(2,2,ot.actionDescription))(ot.itemDescription),u.QtT(1)}}function se(ge,Et){1&ge&&u.GkF(0)}function fe(ge,Et){if(1&ge&&(u._uU(0),u.ALo(1,"titlecase")),2&ge){const ot=u.oxw();u.AsE(" ",u.lcZ(1,2,ot.actionDescription)," ",ot.itemDescription,"\n")}}const Te=function(ge){return{form:ge}};let $e=(()=>{class ge{constructor(ot){this.activeModal=ot,this.actionDescription="delete"}ngOnInit(){const ot={confirmation:new r.p4(!1,[r.kI.requiredTrue])};if(this.childFormGroup&&(ot.child=this.childFormGroup),this.deletionForm=new a.d(ot),!this.submitAction&&!this.submitActionObservable)throw new Error("No submit action defined")}callSubmitAction(){this.submitActionObservable?this.submitActionObservable().subscribe({error:this.stopLoadingSpinner.bind(this),complete:this.hideModal.bind(this)}):this.submitAction()}callBackAction(){this.callBackAtionObservable?this.callBackAtionObservable().subscribe({error:this.stopLoadingSpinner.bind(this),complete:this.hideModal.bind(this)}):this.backAction()}hideModal(){this.activeModal.close()}stopLoadingSpinner(){this.deletionForm.setErrors({cdSubmitButton:!0})}}return ge.\u0275fac=function(ot){return new(ot||ge)(u.Y36(e.Kz))},ge.\u0275cmp=u.Xpm({type:ge,selectors:[["cd-deletion-modal"]],viewQuery:function(ot,ct){if(1&ot&&u.Gf(c.w,7),2&ot){let qe;u.iGM(qe=u.CRH())&&(ct.submitButton=qe.first)}},decls:24,vars:15,consts:function(){let Et,ot,ct,qe;return Et="Yes, I am sure.",ot="Are you sure that you want to " + "\ufffd0\ufffd" + " " + "\ufffd#3\ufffd" + "" + "\ufffd1\ufffd" + "" + "\ufffd/#3\ufffd" + "?",ct="Are you sure that you want to " + "\ufffd0\ufffd" + " the selected items?",qe="Are you sure that you want to " + "\ufffd0\ufffd" + " the selected " + "\ufffd1\ufffd" + "?",[[3,"modalRef"],["modal",""],[1,"modal-title"],[4,"ngTemplateOutlet"],[1,"modal-content"],["name","deletionForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"question"],[4,"ngIf","ngIfElse"],["noNames",""],[1,"form-group"],[1,"custom-control","custom-checkbox"],["type","checkbox","name","confirmation","id","confirmation","formControlName","confirmation","autofocus","",1,"custom-control-input"],["for","confirmation",1,"custom-control-label"],Et,[1,"modal-footer"],[3,"form","submitText","submitActionEvent","backActionEvent"],["deletionHeading",""],["manyNames",""],ot,ct,[4,"ngFor","ngForOf"],qe]},template:function(ot,ct){if(1&ot&&(u.TgZ(0,"cd-modal",0,1),u.ynx(2,2),u.YNc(3,$,1,0,"ng-container",3),u.BQk(),u.ynx(4,4),u.TgZ(5,"form",5,6)(7,"div",7),u.YNc(8,J,1,0,"ng-container",8),u.TgZ(9,"div",9),u.YNc(10,V,4,2,"span",10),u.YNc(11,ce,3,4,"ng-template",null,11,u.W1O),u.YNc(13,se,1,0,"ng-container",8),u.TgZ(14,"div",12)(15,"div",13),u._UZ(16,"input",14),u.TgZ(17,"label",15),u.SDv(18,16),u.qZA()()()()(),u.TgZ(19,"div",17)(20,"cd-form-button-panel",18),u.NdJ("submitActionEvent",function(){return ct.callSubmitAction()})("backActionEvent",function(){return ct.backAction?ct.callBackAction():ct.hideModal()}),u.ALo(21,"titlecase"),u.qZA()()(),u.BQk(),u.qZA(),u.YNc(22,fe,2,4,"ng-template",null,19,u.W1O)),2&ot){const qe=u.MAs(12),He=u.MAs(23);u.Q6J("modalRef",ct.activeModal),u.xp6(3),u.Q6J("ngTemplateOutlet",He),u.xp6(2),u.Q6J("formGroup",ct.deletionForm),u.xp6(3),u.Q6J("ngTemplateOutlet",ct.bodyTemplate)("ngTemplateOutletContext",ct.bodyContext),u.xp6(2),u.Q6J("ngIf",ct.itemNames)("ngIfElse",qe),u.xp6(3),u.Q6J("ngTemplateOutlet",ct.childFormGroupTemplate)("ngTemplateOutletContext",u.VKq(13,Te,ct.deletionForm)),u.xp6(7),u.Q6J("form",ct.deletionForm)("submitText",u.lcZ(21,11,ct.actionDescription)+" "+ct.itemDescription)}},dependencies:[f.sg,f.O5,f.tP,r._Y,r.Wl,r.JJ,r.JL,r.sg,r.u,m.U,T.o,M.b,w.P,D.V,U.z,W.p,f.i8,f.rS],styles:[".modal-body[_ngcontent-%COMP%] .question[_ngcontent-%COMP%]{margin-top:1em}.modal-body[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:700}.modal-body[_ngcontent-%COMP%] .question[_ngcontent-%COMP%] .form-check[_ngcontent-%COMP%]{padding-top:7px}"]}),ge})()},52266:(E,C,s)=>{"use strict";s.d(C,{J:()=>T});var r=s(16738),a=s.n(r),c=s(64537),u=s(51389),e=s(88692),f=s(20092);function m(M,w){if(1&M){const D=c.EpF();c.TgZ(0,"div",0)(1,"ngb-timepicker",4),c.NdJ("ngModelChange",function(W){c.CHM(D);const $=c.oxw();return c.KtG($.time=W)})("ngModelChange",function(){c.CHM(D);const W=c.oxw();return c.KtG(W.onModelChange())}),c.qZA()()}if(2&M){const D=c.oxw();c.xp6(1),c.Q6J("seconds",D.hasSeconds)("ngModel",D.time)}}let T=(()=>{class M{constructor(D){this.calendar=D,this.hasSeconds=!0,this.hasTime=!0}ngOnInit(){this.minDate=this.calendar.getToday(),this.format=this.hasTime?this.hasSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm":"YYYY-MM-DD";let D=a()(this.control?.value,this.format);(!D.isValid()||D.isBefore(a()()))&&(D=a()()),this.date={year:D.year(),month:D.month()+1,day:D.date()},this.time={hour:D.hour(),minute:D.minute(),second:D.second()},this.onModelChange()}onModelChange(){if(this.date){const D=Object.assign({},this.date,this.time);D.month--,setTimeout(()=>{this.control.setValue(a()(D).format(this.format))})}else setTimeout(()=>{this.control.setValue("")})}}return M.\u0275fac=function(D){return new(D||M)(c.Y36(u.vL))},M.\u0275cmp=c.Xpm({type:M,selectors:[["cd-date-time-picker"]],inputs:{control:"control",hasSeconds:"hasSeconds",hasTime:"hasTime"},decls:4,vars:3,consts:[[1,"d-flex","justify-content-center"],[3,"ngModel","minDate","ngModelChange"],["dp",""],["class","d-flex justify-content-center",4,"ngIf"],[3,"seconds","ngModel","ngModelChange"]],template:function(D,U){1&D&&(c.TgZ(0,"div",0)(1,"ngb-datepicker",1,2),c.NdJ("ngModelChange",function($){return U.date=$})("ngModelChange",function(){return U.onModelChange()}),c.qZA()(),c.YNc(3,m,2,2,"div",3)),2&D&&(c.xp6(1),c.Q6J("ngModel",U.date)("minDate",U.minDate),c.xp6(2),c.Q6J("ngIf",U.hasTime))},dependencies:[e.O5,f.JJ,f.On,u.VL,u.Pm]}),M})()},30490:(E,C,s)=>{"use strict";s.d(C,{K:()=>c});var r=s(72625),a=s(64537);let c=(()=>{class u{constructor(f){this.docService=f,this.docText="documentation"}ngOnInit(){this.noSubscribe?this.docUrl=this.docService.urlGenerator(this.section):this.docService.subscribeOnce(this.section,f=>{this.docUrl=f})}}return u.\u0275fac=function(f){return new(f||u)(a.Y36(r.R))},u.\u0275cmp=a.Xpm({type:u,selectors:[["cd-doc"]],inputs:{section:"section",docText:"docText",noSubscribe:"noSubscribe"},decls:2,vars:2,consts:[["target","_blank",3,"href"]],template:function(f,m){1&f&&(a.TgZ(0,"a",0),a._uU(1),a.qZA()),2&f&&(a.s9C("href",m.docUrl,a.LSH),a.xp6(1),a.Oqu(m.docText))}}),u})()},30839:(E,C,s)=>{"use strict";s.d(C,{p:()=>M});var r=s(64537),a=s(79512),c=s(39749),u=s(88692),e=s(63285),f=s(13472);function m(w,D){if(1&w){const U=r.EpF();r.TgZ(0,"cd-back-button",2),r.NdJ("backAction",function(){r.CHM(U);const $=r.oxw();return r.KtG($.backAction())}),r.qZA()}if(2&w){const U=r.oxw();r.Q6J("name",U.cancelText)}}function T(w,D){if(1&w){const U=r.EpF();r.TgZ(0,"cd-submit-button",3),r.NdJ("submitAction",function(){r.CHM(U);const $=r.oxw();return r.KtG($.submitAction())}),r._uU(1),r.qZA()}if(2&w){const U=r.oxw();r.Q6J("disabled",U.disabled)("form",U.form)("ariaLabel",U.submitText),r.xp6(1),r.Oqu(U.submitText)}}let M=(()=>{class w{constructor(U,W,$){this.location=U,this.actionLabels=W,this.modalService=$,this.submitActionEvent=new r.vpe,this.backActionEvent=new r.vpe,this.showSubmit=!0,this.showCancel=!0,this.wrappingClass="",this.btnClass="",this.disabled=!1}ngOnInit(){this.submitText=this.submitText||this.actionLabels.CREATE,this.cancelText=this.cancelText||this.actionLabels.CANCEL}submitAction(){this.submitActionEvent.emit()}backAction(){0===this.backActionEvent.observers.length?this.modalService.hasOpenModals()?this.modalService.dismissAll():this.location.back():this.backActionEvent.emit()}}return w.\u0275fac=function(U){return new(U||w)(r.Y36(u.Ye),r.Y36(a.p4),r.Y36(e.Z))},w.\u0275cmp=r.Xpm({type:w,selectors:[["cd-form-button-panel"]],viewQuery:function(U,W){if(1&U&&r.Gf(c.w,5),2&U){let $;r.iGM($=r.CRH())&&(W.submitButton=$.first)}},inputs:{form:"form",showSubmit:"showSubmit",showCancel:"showCancel",wrappingClass:"wrappingClass",btnClass:"btnClass",submitText:"submitText",cancelText:"cancelText",disabled:"disabled"},outputs:{submitActionEvent:"submitActionEvent",backActionEvent:"backActionEvent"},decls:3,vars:4,consts:[["class","m-2",3,"name","backAction",4,"ngIf"],["data-cy","submitBtn",3,"disabled","form","ariaLabel","submitAction",4,"ngIf"],[1,"m-2",3,"name","backAction"],["data-cy","submitBtn",3,"disabled","form","ariaLabel","submitAction"]],template:function(U,W){1&U&&(r.TgZ(0,"div"),r.YNc(1,m,1,1,"cd-back-button",0),r.YNc(2,T,2,4,"cd-submit-button",1),r.qZA()),2&U&&(r.Tol(W.wrappingClass),r.xp6(1),r.Q6J("ngIf",W.showCancel),r.xp6(1),r.Q6J("ngIf",W.showSubmit))},dependencies:[u.O5,c.w,f.W]}),w})()},65683:(E,C,s)=>{"use strict";s.d(C,{X:()=>We});var r=s(20092),a=s(23815),c=s.n(a),u=s(47557),e=s(28211),f=s(64537),m=s(51389),T=s(62862),M=s(88692),w=s(17932),D=s(87925),U=s(94276),W=s(41582),$=s(60192),J=s(60312),F=s(30839);function X(Le,Pt){if(1&Le&&(f.ynx(0,10),f._uU(1),f.BQk()),2&Le){const it=f.oxw();f.xp6(1),f.hij(" ",it.titleText," ")}}function de(Le,Pt){if(1&Le&&(f.TgZ(0,"p"),f._uU(1),f.qZA()),2&Le){const it=f.oxw();f.xp6(1),f.Oqu(it.message)}}const V=function(Le){return{required:Le}};function ce(Le,Pt){if(1&Le&&(f.TgZ(0,"label",18),f._uU(1),f.qZA()),2&Le){const it=f.oxw().$implicit;f.Q6J("ngClass",f.VKq(3,V,!0===(null==it?null:it.required)))("for",it.name),f.xp6(1),f.hij(" ",it.label," ")}}function se(Le,Pt){if(1&Le&&f._UZ(0,"input",19),2&Le){const it=f.oxw().$implicit;f.Q6J("type",it.type)("id",it.name)("name",it.name)("formControlName",it.name)}}function fe(Le,Pt){if(1&Le&&f._UZ(0,"input",20),2&Le){const it=f.oxw().$implicit;f.Q6J("id",it.name)("name",it.name)("formControlName",it.name)}}function Te(Le,Pt){if(1&Le&&(f.TgZ(0,"option",24),f._uU(1),f.qZA()),2&Le){const it=f.oxw(2).$implicit;f.Q6J("ngValue",null),f.xp6(1),f.hij(" ",null==it||null==it.typeConfig?null:it.typeConfig.placeholder," ")}}function $e(Le,Pt){if(1&Le&&(f.TgZ(0,"option",25),f._uU(1),f.qZA()),2&Le){const it=Pt.$implicit;f.Q6J("value",it.value),f.xp6(1),f.hij(" ",it.text," ")}}function ge(Le,Pt){if(1&Le&&(f.TgZ(0,"select",21),f.YNc(1,Te,2,2,"option",22),f.YNc(2,$e,2,2,"option",23),f.qZA()),2&Le){const it=f.oxw().$implicit;f.Q6J("id",it.name)("formControlName",it.name),f.xp6(1),f.Q6J("ngIf",null==it||null==it.typeConfig?null:it.typeConfig.placeholder),f.xp6(1),f.Q6J("ngForOf",null==it||null==it.typeConfig?null:it.typeConfig.options)}}function Et(Le,Pt){if(1&Le&&f._UZ(0,"cd-select-badges",26),2&Le){const it=f.oxw().$implicit;f.Q6J("id",it.name)("data",it.value)("customBadges",null==it||null==it.typeConfig?null:it.typeConfig.customBadges)("options",null==it||null==it.typeConfig?null:it.typeConfig.options)("messages",null==it||null==it.typeConfig?null:it.typeConfig.messages)}}function ot(Le,Pt){if(1&Le&&(f.TgZ(0,"span",27),f._uU(1),f.qZA()),2&Le){const it=f.oxw().$implicit,Xt=f.oxw();f.xp6(1),f.hij(" ",Xt.getError(it)," ")}}const ct=function(Le,Pt){return{"cd-col-form-input":Le,"col-sm-12":Pt}},qe=function(){return["text","number"]};function He(Le,Pt){if(1&Le&&(f.ynx(0),f.TgZ(1,"div"),f.YNc(2,ce,2,5,"label",11),f.TgZ(3,"div",12),f.YNc(4,se,1,4,"input",13),f.YNc(5,fe,1,3,"input",14),f.YNc(6,ge,3,4,"select",15),f.YNc(7,Et,1,5,"cd-select-badges",16),f.YNc(8,ot,2,1,"span",17),f.qZA()(),f.BQk()),2&Le){const it=Pt.$implicit,Xt=f.oxw(),cn=f.MAs(4);f.xp6(1),f.Gre("form-group row cd-",it.name,"-form-group"),f.xp6(1),f.Q6J("ngIf",it.label),f.xp6(1),f.Q6J("ngClass",f.WLB(10,ct,it.label,!it.label)),f.xp6(1),f.Q6J("ngIf",f.DdM(13,qe).includes(it.type)),f.xp6(1),f.Q6J("ngIf","binary"===it.type),f.xp6(1),f.Q6J("ngIf","select"===it.type),f.xp6(1),f.Q6J("ngIf","select-badges"===it.type),f.xp6(1),f.Q6J("ngIf",Xt.formGroup.showError(it.name,cn))}}let We=(()=>{class Le{constructor(it,Xt,cn,pn){this.activeModal=it,this.formBuilder=Xt,this.formatter=cn,this.dimlessBinaryPipe=pn}ngOnInit(){this.createForm()}createForm(){const it={};this.fields.forEach(Xt=>{it[Xt.name]=this.createFormControl(Xt)}),this.formGroup=this.formBuilder.group(it)}createFormControl(it){let Xt=[];return c().isBoolean(it.required)&&it.required&&Xt.push(r.kI.required),it.validators&&(Xt=Xt.concat(it.validators)),new r.p4(c().defaultTo("binary"===it.type?this.dimlessBinaryPipe.transform(it.value):it.value,null),{validators:Xt})}getError(it){const Xt=this.formGroup.get(it.name).errors;return Object.keys(Xt).map(pn=>this.getErrorMessage(pn,Xt[pn],it.errors)).join("<br>")}getErrorMessage(it,Xt,cn){if(cn){const pn=cn[it];if(pn)return pn}return["binaryMin","binaryMax"].includes(it)?Xt():"required"===it?"This field is required.":"pattern"===it?"Size must be a number or in a valid format. eg: 5 GiB":"An error occurred."}onSubmitForm(it){this.fields.filter(cn=>"binary"===cn.type).map(cn=>cn.name).forEach(cn=>{const pn=it[cn];pn&&(it[cn]=this.formatter.toBytes(pn))}),this.activeModal.close(),c().isFunction(this.onSubmit)&&this.onSubmit(it)}}return Le.\u0275fac=function(it){return new(it||Le)(f.Y36(m.Kz),f.Y36(T.O),f.Y36(e.H),f.Y36(u.$))},Le.\u0275cmp=f.Xpm({type:Le,selectors:[["cd-form-modal"]],decls:10,vars:7,consts:[[3,"modalRef"],["class","modal-title",4,"ngIf"],[1,"modal-content"],["novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"modal-title"],["class","cd-col-form-label",3,"ngClass","for",4,"ngIf"],[3,"ngClass"],["class","form-control",3,"type","id","name","formControlName",4,"ngIf"],["type","text","class","form-control","cdDimlessBinary","",3,"id","name","formControlName",4,"ngIf"],["class","form-select",3,"id","formControlName",4,"ngIf"],[3,"id","data","customBadges","options","messages",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],[1,"cd-col-form-label",3,"ngClass","for"],[1,"form-control",3,"type","id","name","formControlName"],["type","text","cdDimlessBinary","",1,"form-control",3,"id","name","formControlName"],[1,"form-select",3,"id","formControlName"],[3,"ngValue",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],[3,"ngValue"],[3,"value"],[3,"id","data","customBadges","options","messages"],[1,"invalid-feedback"]],template:function(it,Xt){1&it&&(f.TgZ(0,"cd-modal",0),f.YNc(1,X,2,1,"ng-container",1),f.ynx(2,2),f.TgZ(3,"form",3,4)(5,"div",5),f.YNc(6,de,2,1,"p",6),f.YNc(7,He,9,14,"ng-container",7),f.qZA(),f.TgZ(8,"div",8)(9,"cd-form-button-panel",9),f.NdJ("submitActionEvent",function(){return Xt.onSubmitForm(Xt.formGroup.value)}),f.qZA()()(),f.BQk(),f.qZA()),2&it&&(f.Q6J("modalRef",Xt.activeModal),f.xp6(1),f.Q6J("ngIf",Xt.titleText),f.xp6(2),f.Q6J("formGroup",Xt.formGroup),f.xp6(3),f.Q6J("ngIf",Xt.message),f.xp6(1),f.Q6J("ngForOf",Xt.fields),f.xp6(2),f.Q6J("form",Xt.formGroup)("submitText",Xt.submitButtonText))},dependencies:[M.mk,M.sg,M.O5,r._Y,r.YN,r.Kr,r.Fj,r.EJ,r.JJ,r.JL,r.sg,r.u,w.Q,D.o,U.b,W.V,$.m,J.z,F.p]}),Le})()},76317:(E,C,s)=>{"use strict";s.d(C,{F:()=>ce});var r=s(9837),a=s(65862),c=s(64537),u=s(5998),e=s(88692),f=s(20092),m=s(87925),T=s(8958),M=s(34501),w=s(30490);function D(se,fe){1&se&&(c.TgZ(0,"cd-loading-panel"),c.SDv(1,2),c.qZA())}function U(se,fe){1&se&&(c.TgZ(0,"cd-alert-panel",3),c.tHW(1,4),c._UZ(2,"cd-doc",5),c.N_p(),c.qZA())}function W(se,fe){1&se&&(c.TgZ(0,"cd-alert-panel",3),c.tHW(1,6),c._UZ(2,"cd-doc",5),c.N_p(),c.qZA())}function $(se,fe){if(1&se&&(c.TgZ(0,"option",25),c._uU(1),c.qZA()),2&se){const Te=fe.$implicit;c.Q6J("ngValue",Te.value),c.xp6(1),c.hij("",Te.name," ")}}function J(se,fe){if(1&se){const Te=c.EpF();c.TgZ(0,"cd-alert-panel",28),c.NdJ("dismissed",function(){c.CHM(Te);const ge=c.oxw(3);return c.KtG(ge.showMessage=!1)}),c.tHW(1,29),c._UZ(2,"a",30),c.N_p(),c.qZA()}if(2&se){const Te=c.oxw(3);c.xp6(2),c.Q6J("href",Te.grafanaSrc,c.LSH)}}function F(se,fe){if(1&se&&(c.TgZ(0,"div",26),c.YNc(1,J,3,1,"cd-alert-panel",27),c.qZA()),2&se){const Te=c.oxw(2);c.xp6(1),c.Q6J("ngIf",Te.showMessage)}}const X=function(se){return[se]},de=function(se,fe){return[se,fe]};function V(se,fe){if(1&se){const Te=c.EpF();c.ynx(0),c.TgZ(1,"div",7)(2,"div",8)(3,"div",9)(4,"label",10),c.SDv(5,11),c.qZA()(),c.TgZ(6,"div",12)(7,"select",13),c.NdJ("ngModelChange",function(ge){c.CHM(Te);const Et=c.oxw();return c.KtG(Et.time=ge)})("ngModelChange",function(ge){c.CHM(Te);const Et=c.oxw();return c.KtG(Et.onTimepickerChange(ge))}),c.YNc(8,$,2,2,"option",14),c.qZA()(),c.TgZ(9,"div",15)(10,"button",16),c.NdJ("click",function(){c.CHM(Te);const ge=c.oxw();return c.KtG(ge.reset())}),c._UZ(11,"i",17),c.qZA()(),c.TgZ(12,"div",15)(13,"button",18),c.NdJ("click",function(){c.CHM(Te);const ge=c.oxw();return c.KtG(ge.showMessage=!ge.showMessage)}),c._UZ(14,"i",17),c.qZA()()()(),c.TgZ(15,"div",19),c.YNc(16,F,2,1,"div",20),c.qZA(),c.TgZ(17,"div",19)(18,"div",21)(19,"div",22),c._UZ(20,"iframe",23,24),c.qZA()()(),c.BQk()}if(2&se){const Te=c.oxw();c.xp6(7),c.Q6J("ngModel",Te.time),c.xp6(1),c.Q6J("ngForOf",Te.grafanaTimes),c.xp6(3),c.Q6J("ngClass",c.VKq(8,X,Te.icons.undo)),c.xp6(3),c.Q6J("ngClass",c.WLB(10,de,Te.icons.infoCircle,Te.icons.large)),c.xp6(2),c.Q6J("ngIf",Te.showMessage),c.xp6(4),c.Q6J("src",Te.grafanaSrc,c.uOi)("ngClass",Te.panelStyle)("title",Te.title)}}let ce=(()=>{class se{constructor(Te,$e){this.sanitizer=Te,this.settingsService=$e,this.grafanaExist=!1,this.mode="&kiosk",this.loading=!0,this.styles={},this.dashboardExist=!0,this.showMessage=!1,this.icons=a.P,this.DEFAULT_TIME="from=now-1h&to=now",this.grafanaTimes=[{name:"Last 5 minutes",value:"from=now-5m&to=now"},{name:"Last 15 minutes",value:"from=now-15m&to=now"},{name:"Last 30 minutes",value:"from=now-30m&to=now"},{name:"Last 1 hour (Default)",value:"from=now-1h&to=now"},{name:"Last 3 hours",value:"from=now-3h&to=now"},{name:"Last 6 hours",value:"from=now-6h&to=now"},{name:"Last 12 hours",value:"from=now-12h&to=now"},{name:"Last 24 hours",value:"from=now-24h&to=now"},{name:"Yesterday",value:"from=now-1d%2Fd&to=now-1d%2Fd"},{name:"Today so far",value:"from=now%2Fd&to=now"},{name:"Day before yesterday",value:"from=now-2d%2Fd&to=now-2d%2Fd"},{name:"Last 2 days",value:"from=now-2d&to=now"},{name:"This day last week",value:"from=now-7d%2Fd&to=now-7d%2Fd"},{name:"Previous week",value:"from=now-1w%2Fw&to=now-1w%2Fw"},{name:"This week so far",value:"from=now%2Fw&to=now"},{name:"Last 7 days",value:"from=now-7d&to=now"},{name:"Previous month",value:"from=now-1M%2FM&to=now-1M%2FM"},{name:"This month so far",value:"from=now%2FM&to=now"},{name:"Last 30 days",value:"from=now-30d&to=now"},{name:"Last 90 days",value:"from=now-90d&to=now"},{name:"Last 6 months",value:"from=now-6M&to=now"},{name:"Last 1 year",value:"from=now-1y&to=now"},{name:"Previous year",value:"from=now-1y%2Fy&to=now-1y%2Fy"},{name:"This year so far",value:"from=now%2Fy&to=now"},{name:"Last 2 years",value:"from=now-2y&to=now"},{name:"Last 5 years",value:"from=now-5y&to=now"}]}ngOnInit(){this.time=this.DEFAULT_TIME,this.styles={one:"grafana_one",two:"grafana_two",three:"grafana_three",four:"grafana_four"},this.datasource="metrics"===this.type?"Dashboard1":"Loki",this.settingsService.ifSettingConfigured("api/grafana/url",Te=>{this.grafanaExist=!0,this.loading=!1,this.baseUrl=Te+"/d/",this.getFrame()}),this.panelStyle=this.styles[this.grafanaStyle]}getFrame(){this.settingsService.validateGrafanaDashboardUrl(this.uid).subscribe(Te=>this.dashboardExist=200===Te),this.url="metrics"===this.type?`${this.baseUrl}${this.uid}/${this.grafanaPath}&refresh=2s&var-datasource=${this.datasource}${this.mode}&${this.time}`:`${this.baseUrl.slice(0,-2)}${this.grafanaPath}orgId=1&left=["now-1h","now","${this.datasource}",{"refId":"A"}]${this.mode}`,this.grafanaSrc=this.sanitizer.bypassSecurityTrustResourceUrl(this.url)}onTimepickerChange(){this.grafanaExist&&this.getFrame()}reset(){this.time=this.DEFAULT_TIME,this.grafanaExist&&this.getFrame()}ngOnChanges(){this.grafanaExist&&this.getFrame()}}return se.\u0275fac=function(Te){return new(Te||se)(c.Y36(u.H7),c.Y36(r.g))},se.\u0275cmp=c.Xpm({type:se,selectors:[["cd-grafana"]],inputs:{type:"type",grafanaPath:"grafanaPath",grafanaStyle:"grafanaStyle",uid:"uid",title:"title"},features:[c.TTD],decls:4,vars:4,consts:function(){let fe,Te,$e,ge,Et,ot,ct;return fe="Loading panel data...",Te="Please consult the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " on how to configure and enable the monitoring functionality.",$e="Grafana Dashboard doesn't exist. Please refer to " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " on how to add dashboards to Grafana.",ge="Grafana Time Picker",Et="Reset Settings",ot="Show hidden information",ct="If no embedded Grafana Dashboard appeared below, please follow " + "\ufffd#2\ufffd" + "this link " + "\ufffd/#2\ufffd" + " to check if Grafana is reachable and there are no HTTPS certificate issues. You may need to reload this page after accepting any Browser certificate exceptions",[[4,"ngIf"],["type","info",4,"ngIf"],fe,["type","info"],Te,["section","grafana"],$e,[1,"row","mb-3"],[1,"col-lg-5","d-flex"],[1,"col-md-3","timepicker"],["for","timepicker",1,"mt-2"],ge,[1,"col-sm-4"],["id","timepicker","name","timepicker",1,"form-select",3,"ngModel","ngModelChange"],[3,"ngValue",4,"ngFor","ngForOf"],[1,"col-sm-1"],["title",Et,1,"btn","btn-light","ms-3",3,"click"],[3,"ngClass"],["title",ot,1,"btn","btn-light","ms-3",3,"click"],[1,"row"],["class","col my-2",4,"ngIf"],[1,"col"],[1,"grafana-container"],["id","iframe","frameborder","0","scrolling","no",1,"grafana",3,"src","ngClass","title"],["iframe",""],[3,"ngValue"],[1,"col","my-2"],["type","info","class","mb-3","dismissible","true",3,"dismissed",4,"ngIf"],["type","info","dismissible","true",1,"mb-3",3,"dismissed"],ct,["target","_blank","noopener","","noreferrer","",3,"href"]]},template:function(Te,$e){1&Te&&(c.YNc(0,D,2,0,"cd-loading-panel",0),c.YNc(1,U,3,0,"cd-alert-panel",1),c.YNc(2,W,3,0,"cd-alert-panel",1),c.YNc(3,V,22,13,"ng-container",0)),2&Te&&(c.Q6J("ngIf",$e.loading&&$e.grafanaExist),c.xp6(1),c.Q6J("ngIf",!$e.grafanaExist),c.xp6(1),c.Q6J("ngIf",!$e.dashboardExist),c.xp6(1),c.Q6J("ngIf",$e.grafanaExist&&$e.dashboardExist))},dependencies:[e.mk,e.sg,e.O5,f.YN,f.Kr,f.EJ,f.JJ,f.On,m.o,T.b,M.G,w.K],styles:[".grafana[_ngcontent-%COMP%]{height:600px;width:100%;z-index:0}.grafana_one[_ngcontent-%COMP%]{height:400px}.grafana_two[_ngcontent-%COMP%]{height:750px}.grafana_three[_ngcontent-%COMP%]{height:900px}.grafana_four[_ngcontent-%COMP%]{height:1160px}.timepicker[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:700}.dropdown-menu[_ngcontent-%COMP%]{left:auto;right:20px;top:20px}"]}),se})()},18372:(E,C,s)=>{"use strict";s.d(C,{S:()=>T});var r=s(65862),a=s(64537),c=s(88692),u=s(51389);function e(M,w){if(1&M&&(a._UZ(0,"div",2),a.Hsn(1)),2&M){const D=a.oxw();a.Tol(D.class),a.Q6J("innerHtml",D.html,a.oJD)}}const f=function(M){return[M]},m=["*"];let T=(()=>{class M{constructor(){this.iconClass="",this.icons=r.P}}return M.\u0275fac=function(D){return new(D||M)},M.\u0275cmp=a.Xpm({type:M,selectors:[["cd-helper"]],inputs:{class:"class",iconClass:"iconClass",html:"html"},ngContentSelectors:m,decls:3,vars:4,consts:[["popoverTpl",""],["aria-hidden","true",3,"ngClass","ngbPopover","click"],[3,"innerHtml"]],template:function(D,U){if(1&D&&(a.F$t(),a.YNc(0,e,2,3,"ng-template",null,0,a.W1O),a.TgZ(2,"i",1),a.NdJ("click",function($){return $.preventDefault()}),a.qZA()),2&D){const W=a.MAs(1);a.xp6(2),a.Q6J("ngClass",U.iconClass?U.iconClass:a.VKq(2,f,U.icons.questionCircle))("ngbPopover",W)}},dependencies:[c.mk,u.o8],styles:["i[_ngcontent-%COMP%]{color:#25828e;cursor:pointer;padding-left:4px}"]}),M})()},8958:(E,C,s)=>{"use strict";s.d(C,{b:()=>m});var r=s(65862),a=s(64537),c=s(88692),u=s(51389);const e=function(T,M){return[T,M]},f=["*"];let m=(()=>{class T{constructor(){this.icons=r.P}}return T.\u0275fac=function(w){return new(w||T)},T.\u0275cmp=a.Xpm({type:T,selectors:[["cd-loading-panel"]],ngContentSelectors:f,decls:4,vars:5,consts:[["type","info",3,"dismissible"],["aria-hidden","true",1,"me-2",3,"ngClass"]],template:function(w,D){1&w&&(a.F$t(),a.TgZ(0,"ngb-alert",0)(1,"strong"),a._UZ(2,"i",1),a.qZA(),a.Hsn(3),a.qZA()),2&w&&(a.Q6J("dismissible",!1),a.xp6(2),a.Q6J("ngClass",a.WLB(2,e,D.icons.spinner,D.icons.spin)))},dependencies:[c.mk,u.xm]}),T})()},60312:(E,C,s)=>{"use strict";s.d(C,{z:()=>m});var r=s(64537),a=s(54247),c=s(88692),u=s(87925);const e=[[["",8,"modal-title"]],[["",8,"modal-content"]]],f=[".modal-title",".modal-content"];let m=(()=>{class T{constructor(w){this.router=w,this.hide=new r.vpe}close(){this.pageURL?this.router.navigate([this.pageURL,{outlets:{modal:null}}]):this.modalRef?.close(),this.hide.emit()}}return T.\u0275fac=function(w){return new(w||T)(r.Y36(a.F0))},T.\u0275cmp=r.Xpm({type:T,selectors:[["cd-modal"]],inputs:{modalRef:"modalRef",pageURL:"pageURL"},outputs:{hide:"hide"},ngContentSelectors:f,decls:8,vars:2,consts:[[3,"ngClass"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title","float-start"],["type","button","aria-label","Close",1,"btn-close","float-end",3,"click"]],template:function(w,D){1&w&&(r.F$t(e),r.TgZ(0,"div",0)(1,"div",0)(2,"div",1)(3,"div",2)(4,"h4",3),r.Hsn(5),r.qZA(),r.TgZ(6,"button",4),r.NdJ("click",function(){return D.close()}),r.qZA()(),r.Hsn(7,1),r.qZA()()()),2&w&&(r.Q6J("ngClass",D.pageURL?"modal":""),r.xp6(1),r.Q6J("ngClass",D.pageURL?"modal-dialog":""))},dependencies:[c.mk,u.o],styles:[".modal-header[_ngcontent-%COMP%]{background-color:#e9ecef;border-bottom:1px solid #ced4da;border-radius:5px 5px 0 0} cd-modal .modal-footer{background-color:#e9ecef;border-bottom:1px solid #ced4da;border-radius:0 0 5px 5px} cd-modal .modal-body{max-height:70vh;overflow-x:hidden;overflow-y:auto}button.close[_ngcontent-%COMP%]{outline:none}"]}),T})()},60192:(E,C,s)=>{"use strict";s.d(C,{m:()=>M});var r=s(64537),a=s(65862),c=s(7022),u=s(39092),e=s(88692);const f=["cdSelect"],m=function(w){return[w]};function T(w,D){if(1&w){const U=r.EpF();r.TgZ(0,"span")(1,"span",4)(2,"span",5),r._uU(3),r.qZA(),r.TgZ(4,"a",6),r.NdJ("click",function(){const J=r.CHM(U).$implicit;r.oxw();const F=r.MAs(1);return r.KtG(F.removeItem(J))}),r._UZ(5,"i",7),r.qZA()()()}if(2&w){const U=D.$implicit,W=r.oxw();r.xp6(3),r.Oqu(U),r.xp6(2),r.Q6J("ngClass",r.VKq(2,m,W.icons.destroy))}}let M=(()=>{class w{constructor(){this.data=[],this.options=[],this.messages=new c.a({}),this.customBadges=!1,this.customBadgeValidators=[],this.selection=new r.vpe,this.icons=a.P}}return w.\u0275fac=function(U){return new(U||w)},w.\u0275cmp=r.Xpm({type:w,selectors:[["cd-select-badges"]],viewQuery:function(U,W){if(1&U&&r.Gf(f,7),2&U){let $;r.iGM($=r.CRH())&&(W.cdSelect=$.first)}},inputs:{data:"data",options:"options",messages:"messages",selectionLimit:"selectionLimit",customBadges:"customBadges",customBadgeValidators:"customBadgeValidators"},outputs:{selection:"selection"},decls:4,vars:10,consts:[["elemClass","me-2 select-menu-edit",3,"data","options","messages","selectionLimit","customBadges","customBadgeValidators","selection"],["cdSelect",""],[3,"ngClass"],[4,"ngFor","ngForOf"],[1,"badge","badge-dark","me-2"],[1,"me-2"],[1,"badge-remove",3,"click"],["aria-hidden","true",3,"ngClass"]],template:function(U,W){1&U&&(r.TgZ(0,"cd-select",0,1),r.NdJ("selection",function(J){return W.selection.emit(J)}),r._UZ(2,"i",2),r.qZA(),r.YNc(3,T,6,4,"span",3)),2&U&&(r.Q6J("data",W.data)("options",W.options)("messages",W.messages)("selectionLimit",W.selectionLimit)("customBadges",W.customBadges)("customBadgeValidators",W.customBadgeValidators),r.xp6(2),r.Q6J("ngClass",r.VKq(8,m,W.icons.edit)),r.xp6(1),r.Q6J("ngForOf",W.data))},dependencies:[e.mk,e.sg,u.H],styles:[".badge-remove[_ngcontent-%COMP%]{color:#fff}i.fa-pencil[_ngcontent-%COMP%]{font-size:1.1rem}"]}),w})()},7022:(E,C,s)=>{"use strict";s.d(C,{a:()=>c});var r=s(23815),a=s.n(r);class c{constructor(e){this.customValidations={},this.empty="No items selected.",this.selectionLimit={tooltip:"Deselect item to select again",text:"Selection limit reached"},this.filter="Filter tags",this.add="Add badge",this.noOptions="There are no items available.",a().merge(this,e)}}},14745:(E,C,s)=>{"use strict";s.d(C,{$:()=>r});class r{constructor(c,u,e,f=!0){this.selected=c,this.name=u,this.description=e,this.enabled=f}}},39092:(E,C,s)=>{"use strict";s.d(C,{H:()=>qe});var r=s(64537),a=s(20092),c=s(23815),u=s.n(c),e=s(65862),f=s(95463),m=s(7022),T=s(14745),M=s(88692),w=s(51389),D=s(87925),U=s(94276),W=s(41582);function $(He,We){if(1&He&&(r.TgZ(0,"span",12),r._uU(1),r.qZA()),2&He){const Le=r.oxw().$implicit,Pt=r.oxw(2);r.xp6(1),r.hij(" ",Pt.messages.customValidations[Le]," ")}}function J(He,We){if(1&He&&(r.ynx(0),r.YNc(1,$,2,1,"span",11),r.BQk()),2&He){const Le=We.$implicit;r.oxw();const Pt=r.MAs(1),it=r.oxw();r.xp6(1),r.Q6J("ngIf",it.form.showError("filter",Pt)&&it.filter.hasError(Le))}}const F=function(He){return[He]};function X(He,We){if(1&He&&r._UZ(0,"i",18),2&He){const Le=r.oxw(3);r.Q6J("ngClass",r.VKq(1,F,Le.icons.check))}}function de(He,We){if(1&He&&(r.ynx(0),r._UZ(1,"br"),r.TgZ(2,"small",19),r._uU(3),r.qZA(),r.BQk()),2&He){const Le=r.oxw().$implicit;r.xp6(3),r.hij(" ",Le.description,"\xa0 ")}}const V=function(He){return{"help-block disabled":He}};function ce(He,We){if(1&He){const Le=r.EpF();r.TgZ(0,"div",13),r.NdJ("click",function(){const Xt=r.CHM(Le).$implicit,cn=r.oxw(2);return r.KtG(cn.triggerSelection(Xt))}),r.TgZ(1,"div",14),r.YNc(2,X,1,3,"i",15),r._uU(3," \xa0 "),r.qZA(),r.TgZ(4,"div",16),r._uU(5),r.YNc(6,de,4,1,"ng-container",17),r.qZA()()}if(2&He){const Le=We.$implicit,Pt=r.oxw(2);r.Q6J("ngClass",r.VKq(4,V,!(Pt.data.length!==Pt.selectionLimit&&Le.enabled||Le.selected))),r.xp6(2),r.Q6J("ngIf",Le.selected),r.xp6(3),r.hij(" ",Le.name," "),r.xp6(1),r.Q6J("ngIf",Le.description)}}function se(He,We){if(1&He){const Le=r.EpF();r.TgZ(0,"div",20),r.NdJ("click",function(){r.CHM(Le);const it=r.oxw(2);return r.KtG(it.addCustomOption())}),r.TgZ(1,"div",14),r._UZ(2,"i",18),r._uU(3," \xa0 "),r.qZA(),r.TgZ(4,"div",16),r._uU(5),r.qZA()()}if(2&He){const Le=r.oxw(2);r.xp6(2),r.Q6J("ngClass",r.VKq(3,F,Le.icons.tag)),r.xp6(3),r.AsE(" ",Le.messages.add," '",Le.filter.value,"' ")}}function fe(He,We){if(1&He&&(r.TgZ(0,"span",23),r._uU(1),r.qZA()),2&He){const Le=r.oxw(3);r.Q6J("ngbTooltip",Le.messages.selectionLimit.tooltip),r.xp6(1),r.hij(" ",Le.messages.selectionLimit.text," ")}}function Te(He,We){if(1&He&&(r.TgZ(0,"div",21),r.YNc(1,fe,2,2,"span",22),r.qZA()),2&He){const Le=r.oxw(2);r.xp6(1),r.Q6J("ngIf",Le.data.length===Le.selectionLimit)}}function $e(He,We){if(1&He){const Le=r.EpF();r.TgZ(0,"form",4,5)(2,"div")(3,"input",6),r.NdJ("keyup",function(it){r.CHM(Le);const Xt=r.oxw();return r.KtG(13===it.keyCode?Xt.selectOption():Xt.updateFilter())}),r.qZA(),r.YNc(4,J,2,1,"ng-container",7),r.qZA()(),r.YNc(5,ce,7,6,"div",8),r.YNc(6,se,6,5,"div",9),r.YNc(7,Te,2,1,"div",10)}if(2&He){const Le=r.oxw();r.Q6J("formGroup",Le.form),r.xp6(3),r.Q6J("placeholder",Le.messages.filter),r.xp6(1),r.Q6J("ngForOf",Le.Object.keys(Le.messages.customValidations)),r.xp6(1),r.Q6J("ngForOf",Le.filteredOptions),r.xp6(1),r.Q6J("ngIf",Le.isCreatable()),r.xp6(1),r.Q6J("ngIf",Le.data.length===Le.selectionLimit)}}function ge(He,We){if(1&He&&(r.TgZ(0,"a",24),r.Hsn(1),r.qZA()),2&He){const Le=r.oxw(),Pt=r.MAs(1);r.Q6J("ngClass",Le.elemClass)("ngbPopover",Pt)}}function Et(He,We){if(1&He&&(r.TgZ(0,"span",25),r._uU(1),r.qZA()),2&He){const Le=r.oxw();r.xp6(1),r.hij(" ",Le.messages.empty,"\n")}}function ot(He,We){if(1&He&&(r.TgZ(0,"span",25),r._uU(1),r.qZA()),2&He){const Le=r.oxw();r.xp6(1),r.hij(" ",Le.messages.noOptions,"\n")}}const ct=["*"];let qe=(()=>{class He{constructor(){this.data=[],this.options=[],this.messages=new m.a({}),this.customBadges=!1,this.customBadgeValidators=[],this.selection=new r.vpe,this.Object=Object,this.filteredOptions=[],this.icons=e.P}ngOnInit(){this.initFilter(),this.data.length>0&&this.initMissingOptions(),this.options=u().sortBy(this.options,["name"]),this.updateOptions()}initFilter(){this.filter=new a.p4("",{validators:this.customBadgeValidators}),this.form=new f.d({filter:this.filter}),this.filteredOptions=[...this.options||[]]}initMissingOptions(){const Le=this.options.map(it=>it.name);this.data.filter(it=>-1===Le.indexOf(it)).forEach(it=>this.addOption(it)),this.forceOptionsToReflectData()}addOption(Le){this.options.push(new T.$(!1,Le,"")),this.options=u().sortBy(this.options,["name"]),this.triggerSelection(this.options.find(Pt=>Pt.name===Le))}triggerSelection(Le){!Le||this.selectionLimit&&!Le.selected&&this.data.length>=this.selectionLimit||(Le.selected=!Le.selected,this.updateOptions(),this.selection.emit({option:Le}))}updateOptions(){this.data.splice(0,this.data.length),this.options.forEach(Le=>{Le.selected&&this.data.push(Le.name)}),this.updateFilter()}updateFilter(){this.filteredOptions=this.options.filter(Le=>Le.name.includes(this.filter.value))}forceOptionsToReflectData(){this.options.forEach(Le=>{-1!==this.data.indexOf(Le.name)&&(Le.selected=!0)})}ngOnChanges(){this.filter&&this.updateFilter(),this.options&&this.data&&0!==this.data.length&&this.forceOptionsToReflectData()}selectOption(){0===this.filteredOptions.length?this.addCustomOption():(this.triggerSelection(this.filteredOptions[0]),this.resetFilter())}addCustomOption(){this.isCreatable()&&(this.addOption(this.filter.value),this.resetFilter())}isCreatable(){return this.customBadges&&this.filter.valid&&this.filter.value.length>0&&this.filteredOptions.every(Le=>Le.name!==this.filter.value)}resetFilter(){this.filter.setValue(""),this.updateFilter()}removeItem(Le){this.triggerSelection(this.options.find(Pt=>Pt.name===Le&&Pt.selected))}}return He.\u0275fac=function(Le){return new(Le||He)},He.\u0275cmp=r.Xpm({type:He,selectors:[["cd-select"]],inputs:{elemClass:"elemClass",data:"data",options:"options",messages:"messages",selectionLimit:"selectionLimit",customBadges:"customBadges",customBadgeValidators:"customBadgeValidators"},outputs:{selection:"selection"},features:[r.TTD],ngContentSelectors:ct,decls:5,vars:3,consts:[["popTemplate",""],["class","select-menu-edit float-start","data-testid","select-menu-edit",3,"ngClass","ngbPopover",4,"ngIf"],["class","form-text text-muted float-start",4,"ngIf"],["class","form-text text-muted float-start",4,"ngIf"],["name","form","novalidate","",3,"formGroup"],["formDir","ngForm"],["type","text","formControlName","filter",1,"form-control","text-center",3,"placeholder","keyup"],[4,"ngFor","ngForOf"],["class","select-menu-item",3,"ngClass","click",4,"ngFor","ngForOf"],["class","select-menu-item",3,"click",4,"ngIf"],["class","is-invalid",4,"ngIf"],["class","invalid-feedback text-center d-block",4,"ngIf"],[1,"invalid-feedback","text-center","d-block"],[1,"select-menu-item",3,"ngClass","click"],[1,"select-menu-item-icon"],["aria-hidden","true",3,"ngClass",4,"ngIf"],[1,"select-menu-item-content"],[4,"ngIf"],["aria-hidden","true",3,"ngClass"],[1,"form-text","text-muted"],[1,"select-menu-item",3,"click"],[1,"is-invalid"],["class","form-text text-muted text-center text-warning",3,"ngbTooltip",4,"ngIf"],[1,"form-text","text-muted","text-center","text-warning",3,"ngbTooltip"],["data-testid","select-menu-edit",1,"select-menu-edit","float-start",3,"ngClass","ngbPopover"],[1,"form-text","text-muted","float-start"]],template:function(Le,Pt){1&Le&&(r.F$t(),r.YNc(0,$e,8,6,"ng-template",null,0,r.W1O),r.YNc(2,ge,2,2,"a",1),r.YNc(3,Et,2,1,"span",2),r.YNc(4,ot,2,1,"span",3)),2&Le&&(r.xp6(2),r.Q6J("ngIf",Pt.customBadges||Pt.options.length>0),r.xp6(1),r.Q6J("ngIf",0===Pt.data.length&&!(!Pt.customBadges&&0===Pt.options.length)),r.xp6(1),r.Q6J("ngIf",!Pt.customBadges&&0===Pt.options.length))},dependencies:[M.mk,M.sg,M.O5,a._Y,a.Fj,a.JJ,a.JL,a.sg,a.u,w.o8,w._L,D.o,U.b,W.V],styles:[".select-menu-item[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.09);cursor:pointer;display:block;font-size:1rem}.select-menu-item[_ngcontent-%COMP%]:hover{background-color:#e9ecef}.select-menu-item-icon[_ngcontent-%COMP%]{float:left;padding:.5em;width:3em}.select-menu-item-content[_ngcontent-%COMP%]{padding:.5em}.select-menu-item-content[_ngcontent-%COMP%] .form-text[_ngcontent-%COMP%]{display:flex}"]}),He})()},76446:(E,C,s)=>{"use strict";s.d(C,{l:()=>T});var r=s(87311),a=s(47557),c=s(64537),u=s(88692),e=s(72621);const f=["sparkCanvas"],m=["sparkTooltip"];let T=(()=>{class M{constructor(D){this.dimlessBinaryPipe=D,this.style={height:"30px",width:"100px"},this.colors=[{backgroundColor:"rgba(40,140,234,0.2)",borderColor:"rgba(40,140,234,1)",pointBackgroundColor:"rgba(40,140,234,1)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(40,140,234,0.8)"}],this.options={animation:{duration:0},responsive:!0,maintainAspectRatio:!1,legend:{display:!1},elements:{line:{borderWidth:1}},tooltips:{enabled:!1,mode:"index",intersect:!1,custom:void 0,callbacks:{label:U=>this.isBinary?this.dimlessBinaryPipe.transform(U.yLabel):U.yLabel,title:()=>""}},scales:{yAxes:[{display:!1}],xAxes:[{display:!1}]}},this.datasets=[{data:[]}],this.labels=[]}ngOnInit(){const W=new r.h(this.chartCanvasRef,this.chartTooltipRef,($,J)=>J+$.caretX+"px",$=>$.caretY-$.height-$.yPadding-5+"px");W.customColors={backgroundColor:this.colors[0].pointBackgroundColor,borderColor:this.colors[0].pointBorderColor},this.options.tooltips.custom=$=>{W.customTooltips($)}}ngOnChanges(D){this.datasets[0].data=D.data.currentValue,this.labels=[...Array(D.data.currentValue.length)]}}return M.\u0275fac=function(D){return new(D||M)(c.Y36(a.$))},M.\u0275cmp=c.Xpm({type:M,selectors:[["cd-sparkline"]],viewQuery:function(D,U){if(1&D&&(c.Gf(f,7),c.Gf(m,7)),2&D){let W;c.iGM(W=c.CRH())&&(U.chartCanvasRef=W.first),c.iGM(W=c.CRH())&&(U.chartTooltipRef=W.first)}},inputs:{data:"data",style:"style",isBinary:"isBinary"},features:[c.TTD],decls:6,vars:6,consts:[[1,"chart-container",3,"ngStyle"],["baseChart","",3,"labels","datasets","options","colors","chartType"],["sparkCanvas",""],[1,"chartjs-tooltip"],["sparkTooltip",""]],template:function(D,U){1&D&&(c.TgZ(0,"div",0),c._UZ(1,"canvas",1,2),c.TgZ(3,"div",3,4),c._UZ(5,"table"),c.qZA()()),2&D&&(c.Q6J("ngStyle",U.style),c.xp6(1),c.Q6J("labels",U.labels)("datasets",U.datasets)("options",U.options)("colors",U.colors)("chartType","line"))},dependencies:[u.PC,e.jh],styles:['.chart-container[_ngcontent-%COMP%]{cursor:pointer;margin:auto;overflow:visible;position:absolute}canvas[_ngcontent-%COMP%]{user-select:none}.chartjs-tooltip[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%);transition:all .1s ease}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]{transform:translate(-10%)}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]:after{left:10%}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]{transform:translate(-90%)}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]:after{left:90%}.chartjs-tooltip[_ngcontent-%COMP%]:after{border-color:#000 transparent transparent transparent;border-style:solid;border-width:5px;content:" ";left:50%;margin-left:-5px;position:absolute;top:100%} .chartjs-tooltip-key{display:inline-block;height:10px;margin-right:10px;width:10px}.chart-container[_ngcontent-%COMP%]{position:static!important}']}),M})()},39749:(E,C,s)=>{"use strict";s.d(C,{w:()=>D});var r=s(64537),a=s(20092),c=s(23815),u=s.n(c),e=s(65862),f=s(88692),m=s(87925);const T=function(U,W){return[U,W]};function M(U,W){if(1&U&&(r.TgZ(0,"span"),r._UZ(1,"i",2),r.qZA()),2&U){const $=r.oxw();r.xp6(1),r.Q6J("ngClass",r.WLB(1,T,$.icons.spinner,$.icons.spin))}}const w=["*"];let D=(()=>{class U{constructor($){this.elRef=$,this.type="submit",this.disabled=!1,this.submitAction=new r.vpe,this.loading=!1,this.icons=e.P}ngOnInit(){this.form?.statusChanges.subscribe(()=>{u().has(this.form.errors,"cdSubmitButton")&&(this.loading=!1,u().unset(this.form.errors,"cdSubmitButton"),this.form instanceof a.TO&&this.form.updateValueAndValidity())})}submit($){this.focusButton(),this.form instanceof a.sg&&this.form.onSubmit($),this.form?.invalid?this.focusInvalid():(this.loading=!0,this.submitAction.emit())}focusButton(){this.elRef.nativeElement.offsetParent.querySelector(`button[type="${this.type}"]`).focus()}focusInvalid(){const $=this.elRef.nativeElement.offsetParent.querySelector("input.ng-invalid, select.ng-invalid");$&&$.focus()}}return U.\u0275fac=function($){return new($||U)(r.Y36(r.SBq))},U.\u0275cmp=r.Xpm({type:U,selectors:[["cd-submit-button"]],inputs:{form:"form",type:"type",disabled:"disabled",btnClass:"btnClass",ariaLabel:"ariaLabel"},outputs:{submitAction:"submitAction"},ngContentSelectors:w,decls:3,vars:5,consts:[[1,"btn","btn-accent","tc_submitButton",3,"type","ngClass","disabled","click"],[4,"ngIf"],[3,"ngClass"]],template:function($,J){1&$&&(r.F$t(),r.TgZ(0,"button",0),r.NdJ("click",function(X){return J.submit(X)}),r.Hsn(1),r.YNc(2,M,2,4,"span",1),r.qZA()),2&$&&(r.Q6J("type",J.type)("ngClass",J.btnClass)("disabled",J.loading||J.disabled),r.uIk("aria-label",J.ariaLabel),r.xp6(2),r.Q6J("ngIf",J.loading))},dependencies:[f.mk,f.O5,m.o]}),U})()},60251:(E,C,s)=>{"use strict";s.d(C,{O:()=>$});var r=s(64537),a=s(88692),c=s(51389),u=s(47557),e=s(66369);function f(J,F){if(1&J&&(r.TgZ(0,"tr")(1,"td",5),r._uU(2,"Free:"),r.qZA(),r.TgZ(3,"td",7)(4,"strong"),r._uU(5),r.ALo(6,"dimlessBinary"),r.ALo(7,"dimless"),r.qZA()()()),2&J){const X=r.oxw(3);r.xp6(5),r.Oqu(X.isBinary?r.lcZ(6,1,X.total-X.used):r.lcZ(7,3,X.total-X.used))}}function m(J,F){if(1&J&&(r.TgZ(0,"tr")(1,"td",5),r._uU(2),r.qZA(),r.TgZ(3,"td",6)(4,"strong"),r._uU(5),r.ALo(6,"dimlessBinary"),r.ALo(7,"dimless"),r.qZA()()()),2&J){const X=r.oxw(3);r.xp6(2),r.hij("",X.customLegend,":"),r.xp6(3),r.Oqu(X.isBinary?r.lcZ(6,2,X.customLegendValue):r.lcZ(7,4,X.customLegend[1]))}}function T(J,F){if(1&J&&(r.TgZ(0,"table")(1,"tr")(2,"td",5),r._uU(3,"Used:"),r.qZA(),r.TgZ(4,"td",6)(5,"strong"),r._uU(6),r.ALo(7,"dimlessBinary"),r.ALo(8,"dimless"),r.qZA()()(),r.YNc(9,f,8,5,"tr",4),r.YNc(10,m,8,6,"tr",4),r.qZA()),2&J){const X=r.oxw(2);r.xp6(6),r.hij(" ",X.isBinary?r.lcZ(7,3,X.used):r.lcZ(8,5,X.used),""),r.xp6(3),r.Q6J("ngIf",X.calculatePerc&&X.showFreeToolTip),r.xp6(1),r.Q6J("ngIf",X.customLegend)}}function M(J,F){if(1&J&&(r.TgZ(0,"tr")(1,"td",8),r._uU(2,"Transferred Shards:\xa0"),r.qZA(),r.TgZ(3,"td",7)(4,"strong"),r._uU(5),r.qZA()()()),2&J){const X=r.oxw(3);r.xp6(5),r.Oqu(X.used)}}function w(J,F){if(1&J&&(r.TgZ(0,"table")(1,"tr")(2,"td",8),r._uU(3,"Total Shards:\xa0"),r.qZA(),r.TgZ(4,"td",6)(5,"strong"),r._uU(6),r.qZA()()(),r.YNc(7,M,6,1,"tr",4),r.qZA()),2&J){const X=r.oxw(2);r.xp6(6),r.hij(" ",X.total,""),r.xp6(1),r.Q6J("ngIf",X.calculatePerc)}}function D(J,F){if(1&J&&(r.YNc(0,T,11,7,"table",4),r.YNc(1,w,8,2,"table",4)),2&J){const X=r.oxw();r.Q6J("ngIf",!X.showMultisiteTooltip),r.xp6(1),r.Q6J("ngIf",X.showMultisiteTooltip)}}const U=function(J,F){return{"bg-warning":J,"bg-danger":F}},W=function(J){return{title:J}};let $=(()=>{class J{constructor(){this.isBinary=!0,this.decimals=0,this.calculatePerc=!0,this.title="usage",this.showFreeToolTip=!0,this.showMultisiteTooltip=!1}ngOnChanges(){this.calculatePerc?(this.usedPercentage=this.total>0?this.used/this.total*100:0,this.freePercentage=100-this.usedPercentage):this.used?(this.used=this.used.slice(0,-1),this.usedPercentage=Number(this.used),this.freePercentage=100-this.usedPercentage):this.usedPercentage=0}}return J.\u0275fac=function(X){return new(X||J)},J.\u0275cmp=r.Xpm({type:J,selectors:[["cd-usage-bar"]],inputs:{total:"total",used:"used",warningThreshold:"warningThreshold",errorThreshold:"errorThreshold",isBinary:"isBinary",decimals:"decimals",calculatePerc:"calculatePerc",title:"title",customLegend:"customLegend",customLegendValue:"customLegendValue",showFreeToolTip:"showFreeToolTip",showMultisiteTooltip:"showMultisiteTooltip"},features:[r.TTD],decls:8,vars:21,consts:[["usageTooltipTpl",""],["data-placement","left",1,"progress",3,"ngbTooltip"],["role","progressbar",1,"progress-bar","bg-info",3,"ngClass"],["role","progressbar",1,"progress-bar","bg-freespace"],[4,"ngIf"],[1,"text-left","me-1"],[1,"text-right"],[1,"'text-right"],[1,"text-left"]],template:function(X,de){if(1&X&&(r.YNc(0,D,2,2,"ng-template",null,0,r.W1O),r.TgZ(2,"div",1)(3,"div",2)(4,"span"),r._uU(5),r.ALo(6,"number"),r.qZA()(),r._UZ(7,"div",3),r.qZA()),2&X){const V=r.MAs(1);r.xp6(2),r.Q6J("ngbTooltip",V),r.xp6(1),r.Udp("width",de.usedPercentage+"%"),r.Q6J("ngClass",r.WLB(14,U,de.usedPercentage/100>=de.warningThreshold,de.usedPercentage/100>=de.errorThreshold)),r.uIk("aria-label",r.VKq(17,W,de.title)),r.xp6(1),r.Udp("color",de.usedPercentage<60?"black":"white"),r.xp6(1),r.hij("",r.xi3(6,11,de.usedPercentage,"1.0-"+de.decimals),"%"),r.xp6(2),r.Udp("width",de.freePercentage+"%"),r.uIk("aria-label",r.VKq(19,W,de.title))}},dependencies:[a.mk,a.O5,c._L,a.JJ,u.$,e.n],styles:[".bg-info[_ngcontent-%COMP%]{background-color:#25828e!important}.bg-warning[_ngcontent-%COMP%]{background-color:#d48200!important}.bg-danger[_ngcontent-%COMP%]{background-color:#dc3545!important}.bg-freespace[_ngcontent-%COMP%]{background-color:#ced4da!important}.progress[_ngcontent-%COMP%]{height:20px;margin-bottom:0;position:relative}.progress[_ngcontent-%COMP%] div.progress-bar[_ngcontent-%COMP%]{position:static}.progress[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;display:block;font-weight:400;position:absolute;width:100%}"]}),J})()},79512:(E,C,s)=>{"use strict";s.d(C,{$x:()=>c,MQ:()=>u,Qn:()=>e,aX:()=>m,eu:()=>T,p4:()=>f});var r=s(92340),a=s(64537);class c{}c.organization="ceph",c.projectName="Ceph Dashboard",c.license="Free software (LGPL 2.1).",c.copyright="Copyright(c) "+r.N.year+" Ceph contributors.",c.cephLogo="assets/Ceph_Logo.svg";var u=(()=>{return(M=u||(u={})).CREATE="create",M.EDIT="edit",M.UPDATE="update",M.REMOVE="remove",M.DELETE="delete",M.ADD="add",M.COPY="copy",M.CLONE="clone",M.RECREATE="recreate",M.EXPIRE="expire",M.RESTART="Restart",u;var M})(),e=(()=>{return(M=e||(e={})).CREATE="Create",M.DELETE="Delete",M.ADD="Add",M.REMOVE="Remove",M.EDIT="Edit",M.CANCEL="Cancel",M.COPY="Copy",M.CLONE="Clone",M.UPDATE="Update",M.EVICT="Evict",M.SHOW="Show",M.RECREATE="Recreate",M.EXPIRE="Expire",M.START="Start",M.STOP="Stop",M.REDEPLOY="Redeploy",M.RESTART="Restart",e;var M})();let f=(()=>{class M{constructor(){this.CREATE="Create",this.EXPORT="Export",this.IMPORT="Import",this.MIGRATE="Migrate to Multi-Site",this.DELETE="Delete",this.ADD="Add",this.SET="Set",this.SUBMIT="Submit",this.REMOVE="Remove",this.UNSET="Unset",this.EDIT="Edit",this.UPDATE="Update",this.CANCEL="Cancel",this.PREVIEW="Preview",this.MOVE="Move",this.NEXT="Next",this.BACK="Back",this.CLONE="Clone",this.COPY="Copy",this.DEEP_SCRUB="Deep Scrub",this.DESTROY="Destroy",this.EVICT="Evict",this.FLATTEN="Flatten",this.MARK_DOWN="Mark Down",this.MARK_IN="Mark In",this.MARK_LOST="Mark Lost",this.MARK_OUT="Mark Out",this.PROTECT="Protect",this.PURGE="Purge",this.RENAME="Rename",this.RESTORE="Restore",this.REWEIGHT="Reweight",this.ROLLBACK="Rollback",this.SCRUB="Scrub",this.SHOW="Show",this.TRASH="Move to Trash",this.UNPROTECT="Unprotect",this.CHANGE="Change",this.FLAGS="Flags",this.ENTER_MAINTENANCE="Enter Maintenance",this.EXIT_MAINTENANCE="Exit Maintenance",this.START_DRAIN="Start Drain",this.STOP_DRAIN="Stop Drain",this.RESYNC="Resync",this.RECREATE="Recreate",this.EXPIRE="Expire",this.START="Start",this.STOP="Stop",this.REDEPLOY="Redeploy",this.RESTART="Restart",this.REMOVE_SCHEDULING="Remove Scheduling",this.PROMOTE="Promote",this.DEMOTE="Demote",this.START_UPGRADE="Start Upgrade"}}return M.\u0275fac=function(D){return new(D||M)},M.\u0275prov=a.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),m=(()=>{class M{constructor(){this.CREATED="Created",this.DELETED="Deleted",this.ADDED="Added",this.REMOVED="Removed",this.EDITED="Edited",this.CANCELED="Canceled",this.PREVIEWED="Previewed",this.MOVED="Moved",this.CLONED="Cloned",this.COPIED="Copied",this.DEEP_SCRUBBED="Deep Scrubbed",this.DESTROYED="Destroyed",this.FLATTENED="Flattened",this.MARKED_DOWN="Marked Down",this.MARKED_IN="Marked In",this.MARKED_LOST="Marked Lost",this.MARKED_OUT="Marked Out",this.PROTECTED="Protected",this.PURGED="Purged",this.RENAMED="Renamed",this.RESTORED="Restored",this.REWEIGHTED="Reweighted",this.ROLLED_BACK="Rolled back",this.SCRUBBED="Scrubbed",this.SHOWED="Showed",this.TRASHED="Moved to Trash",this.UNPROTECTED="Unprotected",this.CHANGE="Change",this.RECREATED="Recreated",this.EXPIRED="Expired",this.START="Start",this.STOP="Stop",this.REDEPLOY="Redeploy",this.RESTART="Restart"}}return M.\u0275fac=function(D){return new(D||M)},M.\u0275prov=a.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),T=(()=>{class M{constructor(){this.TIMER_SERVICE_PERIOD=5e3}}return M.\u0275fac=function(D){return new(D||M)},M.\u0275prov=a.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})()},54982:(E,C,s)=>{"use strict";s.d(C,{l:()=>D});var r=s(23815),a=s.n(r),c=s(64537),u=s(59019);const e=["headerPermissionCheckboxTpl"],f=["cellScopeCheckboxTpl"],m=["cellPermissionCheckboxTpl"];function T(U,W){if(1&U){const $=c.EpF();c.TgZ(0,"div",4)(1,"input",5),c.NdJ("change",function(F){const X=c.CHM($),de=X.row,V=X.column,ce=c.oxw();return c.KtG(ce.onClickCellCheckbox(de.scope,V.prop,F))}),c.qZA(),c.TgZ(2,"label",6),c._uU(3),c.qZA()()}if(2&U){const $=W.row,J=W.value,F=c.oxw();c.xp6(1),c.MGl("id","scope_",$.scope,""),c.Q6J("checked",F.isRowChecked($.scope))("disabled",F.isDisabled),c.xp6(1),c.MGl("for","scope_",$.scope,""),c.xp6(1),c.Oqu(J)}}function M(U,W){if(1&U){const $=c.EpF();c.TgZ(0,"div",4)(1,"input",7),c.NdJ("change",function(F){const X=c.CHM($),de=X.row,V=X.column,ce=c.oxw();return c.KtG(ce.onClickCellCheckbox(de.scope,V.prop,F))}),c.qZA(),c._UZ(2,"label",8),c.qZA()}if(2&U){const $=W.column,J=W.row,F=W.value,X=c.oxw();c.xp6(1),c.Q6J("checked",F)("disabled",X.isDisabled)("id",J.scope+"-"+$.prop),c.xp6(1),c.Q6J("for",J.scope+"-"+$.prop)}}function w(U,W){if(1&U){const $=c.EpF();c.TgZ(0,"div",4)(1,"input",9),c.NdJ("change",function(F){const de=c.CHM($).column,V=c.oxw();return c.KtG(V.onClickHeaderCheckbox(de.prop,F))}),c.qZA(),c.TgZ(2,"label",10),c._uU(3),c.qZA()()}if(2&U){const $=W.column,J=c.oxw();c.xp6(1),c.MGl("id","header_",$.prop,""),c.Q6J("disabled",J.isDisabled)("checked",J.isHeaderChecked($.prop)),c.xp6(1),c.MGl("for","header_",$.prop,""),c.xp6(1),c.Oqu($.name)}}let D=(()=>{class U{constructor(){this.scopes=[],this.isTableForOctalMode=!1,this.initialValue={},this.isDisabled=!1}ngOnInit(){this.columns.forEach($=>{"All"===$.name?($.cellTemplate=this.cellScopeCheckboxTpl,$.headerTemplate=this.headerPermissionCheckboxTpl):($.cellTemplate=this.cellPermissionCheckboxTpl,$.headerTemplate=this.headerPermissionCheckboxTpl)}),this.listenToChanges(),this.form.get(this.inputField).setValue(this.initialValue)}listenToChanges(){this.form.get(this.inputField).valueChanges.subscribe($=>{const J=[];a().each(this.scopes,F=>{const X={read:!1,write:!1,execute:!1};X.scope=F,F in $&&a().each($[F],de=>{X[de]=!0}),J.push(X)}),this.data=J})}isRowChecked($){const J=a().find(this.data,F=>F.scope===$);return!a().isUndefined(J)&&(this.isTableForOctalMode?J.read&&J.write&&J.execute:J.read&&J.create&&J.update&&J.delete)}isHeaderChecked($){let J=[$];return"scope"===$&&this.isTableForOctalMode?J=["read","write","execute"]:"scope"===$&&(J=["read","create","update","delete"]),J.every(F=>this.data.every(X=>X[F]))}onClickCellCheckbox($,J,F=null){const X=a().cloneDeep(this.form.getValue(this.inputField));let de=[J];"scope"===J&&this.isTableForOctalMode?de=["read","write","execute"]:"scope"===J&&(de=["read","create","update","delete"]),$ in X||(X[$]=[]),F&&F.target.checked||!a().isEqual(de.sort(),a().intersection(X[$],de).sort())?X[$]=a().union(X[$],de):(X[$]=a().difference(X[$],de),a().isEmpty(X[$])&&a().unset(X,$)),this.form.get(this.inputField).setValue(X)}onClickHeaderCheckbox($,J){const F=a().cloneDeep(this.form.getValue(this.inputField));let X=[$];"scope"===$&&this.isTableForOctalMode?X=["read","write","execute"]:"scope"===$&&(X=["read","create","update","delete"]),a().each(X,de=>{a().each(this.scopes,V=>{J.target.checked?F[V]=a().union(F[V],[de]):(F[V]=a().difference(F[V],[de]),a().isEmpty(F[V])&&a().unset(F,V))})}),this.form.get(this.inputField).setValue(F)}}return U.\u0275fac=function($){return new($||U)},U.\u0275cmp=c.Xpm({type:U,selectors:[["cd-checked-table-form"]],viewQuery:function($,J){if(1&$&&(c.Gf(e,7),c.Gf(f,7),c.Gf(m,7)),2&$){let F;c.iGM(F=c.CRH())&&(J.headerPermissionCheckboxTpl=F.first),c.iGM(F=c.CRH())&&(J.cellScopeCheckboxTpl=F.first),c.iGM(F=c.CRH())&&(J.cellPermissionCheckboxTpl=F.first)}},inputs:{data:"data",columns:"columns",form:"form",inputField:"inputField",scopes:"scopes",isTableForOctalMode:"isTableForOctalMode",initialValue:"initialValue",isDisabled:"isDisabled"},decls:7,vars:7,consts:[["columnMode","flex",3,"data","columns","toolHeader","autoReload","autoSave","footer","limit"],["cellScopeCheckboxTpl",""],["cellPermissionCheckboxTpl",""],["headerPermissionCheckboxTpl",""],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","checked","disabled","change"],[1,"datatable-permissions-scope-cell-label","custom-control-label",3,"for"],["type","checkbox",1,"custom-control-input",3,"checked","disabled","id","change"],[1,"custom-control-label",3,"for"],["type","checkbox",1,"custom-control-input",3,"id","disabled","checked","change"],[1,"datatable-permissions-header-cell-label","custom-control-label",3,"for"]],template:function($,J){1&$&&(c._UZ(0,"cd-table",0),c.YNc(1,T,4,5,"ng-template",null,1,c.W1O),c.YNc(3,M,3,4,"ng-template",null,2,c.W1O),c.YNc(5,w,4,5,"ng-template",null,3,c.W1O)),2&$&&c.Q6J("data",J.data)("columns",J.columns)("toolHeader",!1)("autoReload",!1)("autoSave",!1)("footer",!1)("limit",0)},dependencies:[u.a]}),U})()},4268:(E,C,s)=>{"use strict";s.d(C,{c:()=>cn});var r=s(61424),a=s(36169),c=s(68774),u=s(76111),e=s(32337),f=s(30982),m=s(64537),T=s(47640),M=s(36848),w=s(35732);let D=(()=>{class pn{constructor(At){this.http=At}export(At){return this.http.post("api/cluster/user/export",{entities:At})}}return pn.\u0275fac=function(At){return new(At||pn)(m.LFG(w.eN))},pn.\u0275prov=m.Yz7({token:pn,factory:pn.\u0275fac,providedIn:"root"}),pn})();var U=s(54247),W=s(63285),$=s(88692),J=s(58039),F=s(59019),X=s(94928),de=s(96102),V=s(94088);const ce=["badgeDictTpl"],se=["dateTpl"],fe=["durationTpl"],Te=["exportDataModalTpl"],$e=function(){return{exact:!0}};function ge(pn,Rn){if(1&pn&&(m.TgZ(0,"li",8)(1,"a",9),m.SDv(2,10),m.qZA()()),2&pn){const At=Rn.$implicit;m.xp6(1),m.Q6J("routerLink",At.url)("routerLinkActiveOptions",m.DdM(3,$e)),m.xp6(1),m.pQV(At.name),m.QtT(2)}}function Et(pn,Rn){if(1&pn&&(m.TgZ(0,"ul",6),m.YNc(1,ge,3,4,"li",7),m.qZA()),2&pn){const At=m.oxw();m.xp6(1),m.Q6J("ngForOf",At.tabs)}}function ot(pn,Rn){if(1&pn&&(m.TgZ(0,"tr")(1,"td",18),m.SDv(2,19),m.qZA(),m.TgZ(3,"td"),m._uU(4),m.qZA()()),2&pn){const At=Rn.$implicit,qt=m.oxw(3);m.xp6(2),m.pQV(At),m.QtT(2),m.xp6(2),m.hij(" ",qt.expandedRow[At]," ")}}function ct(pn,Rn){if(1&pn&&(m.ynx(0,15),m.TgZ(1,"table",16)(2,"tbody"),m.YNc(3,ot,5,2,"tr",17),m.qZA()(),m.BQk()),2&pn){const At=m.oxw(2);m.xp6(3),m.Q6J("ngForOf",At.meta.detail_columns)}}function qe(pn,Rn){if(1&pn){const At=m.EpF();m.ynx(0),m.TgZ(1,"cd-table",11),m.NdJ("setExpandedRow",function(sn){m.CHM(At);const fn=m.oxw();return m.KtG(fn.setExpandedRow(sn))})("updateSelection",function(sn){m.CHM(At);const fn=m.oxw();return m.KtG(fn.updateSelection(sn))}),m.ALo(2,"async"),m.TgZ(3,"div",12),m._UZ(4,"cd-table-actions",13),m.qZA(),m.YNc(5,ct,4,1,"ng-container",14),m.qZA(),m.BQk()}if(2&pn){const At=m.oxw();m.xp6(1),m.Q6J("data",m.lcZ(2,10,At.data$))("columns",At.meta.table.columns)("columnMode",At.meta.table.columnMode)("hasDetails",At.meta.detail_columns.length>0)("selectionType",At.meta.table.selectionType)("toolHeader",At.meta.table.toolHeader),m.xp6(3),m.Q6J("permission",At.permission)("selection",At.selection)("tableActions",At.meta.actions),m.xp6(1),m.Q6J("ngIf",At.expandedRow&&At.meta.detail_columns.length>0)}}function He(pn,Rn){1&pn&&(m.ynx(0),m._uU(1,"\xa0"),m.BQk())}function We(pn,Rn){if(1&pn&&(m.TgZ(0,"span")(1,"span",20),m._uU(2),m.qZA(),m.YNc(3,He,2,0,"ng-container",1),m.qZA()),2&pn){const At=Rn.$implicit,qt=Rn.last;m.xp6(2),m.AsE("",At.key,": ",At.value,""),m.xp6(1),m.Q6J("ngIf",!qt)}}function Le(pn,Rn){1&pn&&(m.YNc(0,We,4,3,"span",17),m.ALo(1,"keyvalue")),2&pn&&m.Q6J("ngForOf",m.lcZ(1,1,Rn.value))}function Pt(pn,Rn){if(1&pn&&(m.TgZ(0,"span"),m._uU(1),m.ALo(2,"cdDate"),m.qZA()),2&pn){const At=Rn.value;m.xp6(1),m.Oqu(m.lcZ(2,1,At))}}function it(pn,Rn){if(1&pn&&(m.TgZ(0,"span"),m._uU(1),m.ALo(2,"duration"),m.qZA()),2&pn){const At=Rn.value;m.xp6(1),m.Oqu(m.lcZ(2,1,At))}}function Xt(pn,Rn){if(1&pn&&(m.TgZ(0,"div",21)(1,"textarea",22),m._uU(2),m.qZA(),m._UZ(3,"cd-copy-2-clipboard-button",23),m.qZA()),2&pn){const At=m.oxw();m.xp6(2),m.Oqu(At.modalState.authExportData)}}let cn=(()=>{class pn{constructor(At,qt,sn,fn,xn,Kr,Or,Lr){this.authStorageService=At,this.timerService=qt,this.dataGatewayService=sn,this.taskWrapper=fn,this.cephUserService=xn,this.activatedRoute=Kr,this.modalService=Or,this.router=Lr,this.selection=new c.r,this.expandedRow=null,this.tabs={},this.modalState={},this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.activatedRoute.data.subscribe(At=>{const qt=At.resource;this.tabs=At.tabs,this.dataGatewayService.list(`ui-${qt}`).subscribe(sn=>this.processMeta(sn)),this.data$=this.timerService.get(()=>this.dataGatewayService.list(qt))}),this.activatedRoute.data.subscribe(At=>{this.resource=At.resource})}processMeta(At){var fn;this.permission=this.permissions[(fn=At.permissions[0],fn.split("-").reduce((xn,Kr,Or)=>0===Or?Kr.toLowerCase():`${xn}${Kr.charAt(0).toUpperCase()}${Kr.substr(1).toLowerCase()}`,""))];const sn={badgeDict:this.badgeDictTpl,date:this.dateTpl,duration:this.durationTpl};At.table.columns.forEach((fn,xn)=>{void 0!==fn.cellTemplate&&(At.table.columns[xn].cellTemplate=sn[fn.cellTemplate])}),At.table.columns=At.table.columns.filter(fn=>!fn.isHidden),this.meta=At;for(let fn=0;fn<this.meta.actions.length;fn++){let xn=this.meta.actions[fn];xn.disable&&(xn.disable=Kr=>!Kr.hasSelection),""!==xn.click.toString()&&(xn.click=this[this.meta.actions[fn].click.toString()].bind(this))}}delete(){const At=this.selection.first()[this.meta.columnKey];this.modalRef=this.modalService.show(f.M,{itemDescription:"" + this.meta.columnKey + "",itemNames:[At],submitAction:()=>{this.taskWrapper.wrapTaskAroundCall({task:new u.R("crud-component/id",At),call:this.dataGatewayService.delete(this.resource,At)}).subscribe({error:()=>{this.modalRef.close()},complete:()=>{this.modalRef.close()}})}})}updateSelection(At){this.selection=At}setExpandedRow(At){this.expandedRow=At}edit(){let At="";this.selection.hasSelection&&(At=this.selection.first()[this.meta.columnKey]),this.router.navigate(["/cluster/user/edit"],{queryParams:{key:At}})}authExport(){let At=[];this.selection.selected.forEach(qt=>At.push(qt.entity)),this.cephUserService.export(At).subscribe(qt=>{const sn={titleText:"Ceph user export data",buttonText:"Close",bodyTpl:this.authxEportTpl,showSubmit:!0,showCancel:!1,onSubmit:()=>{this.modalRef.close()}};this.modalState.authExportData=qt.trim(),this.modalRef=this.modalService.show(a.Y,sn)})}}return pn.\u0275fac=function(At){return new(At||pn)(m.Y36(T.j),m.Y36(M.f),m.Y36(r.n),m.Y36(e.P),m.Y36(D),m.Y36(U.gz),m.Y36(W.Z),m.Y36(U.F0))},pn.\u0275cmp=m.Xpm({type:pn,selectors:[["cd-crud-table"]],viewQuery:function(At,qt){if(1&At&&(m.Gf(ce,5),m.Gf(se,5),m.Gf(fe,5),m.Gf(Te,5)),2&At){let sn;m.iGM(sn=m.CRH())&&(qt.badgeDictTpl=sn.first),m.iGM(sn=m.CRH())&&(qt.dateTpl=sn.first),m.iGM(sn=m.CRH())&&(qt.durationTpl=sn.first),m.iGM(sn=m.CRH())&&(qt.authxEportTpl=sn.first)}},decls:10,vars:2,consts:function(){let Rn,At;return Rn="" + "\ufffd0\ufffd" + "",At="" + "\ufffd0\ufffd" + "",[["class","nav nav-tabs",4,"ngIf"],[4,"ngIf"],["badgeDictTpl",""],["dateTpl",""],["durationTpl",""],["exportDataModalTpl",""],[1,"nav","nav-tabs"],["class","nav-item",4,"ngFor","ngForKeyvalue","ngForOf"],[1,"nav-item"],["routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLink","routerLinkActiveOptions"],Rn,[3,"data","columns","columnMode","hasDetails","selectionType","toolHeader","setExpandedRow","updateSelection"],[1,"table-actions","btn-toolbar"],["id","crud-table-actions",1,"btn-group",3,"permission","selection","tableActions"],["cdTableDetail","",4,"ngIf"],["cdTableDetail",""],[1,"table","table-striped","table-bordered"],[4,"ngFor","ngForOf"],[1,"bold"],At,[1,"badge","badge-background-primary"],[1,"d-flex","flex-column","align-items-center","w-100","gap-3"],["readonly","","id","authExportArea",1,"form-control","w-100","bg-light","height-400"],["source","authExportArea",1,"align-self-end"]]},template:function(At,qt){1&At&&(m.YNc(0,Et,2,1,"ul",0),m.YNc(1,qe,6,12,"ng-container",1),m.YNc(2,Le,2,3,"ng-template",null,2,m.W1O),m.YNc(4,Pt,3,3,"ng-template",null,3,m.W1O),m.YNc(6,it,3,3,"ng-template",null,4,m.W1O),m.YNc(8,Xt,4,1,"ng-template",null,5,m.W1O)),2&At&&(m.Q6J("ngIf",qt.tabs),m.xp6(1),m.Q6J("ngIf",qt.meta))},dependencies:[$.sg,$.O5,J.s,U.rH,U.Od,F.a,X.K,$.Ov,$.Nd,de.N,V.u],styles:[".height-400[_ngcontent-%COMP%]{height:400px}"]}),pn})()},40267:(E,C,s)=>{"use strict";s.d(C,{t:()=>We});var r=s(88692),a=s(54247),c=s(51389),u=s(84051),e=s(37496),f=s(20092),m=s(13066),T=s(43765),M=s(15626),w=s(12455),D=s(67464),U=s(39054),W=s(39017),$=s(64537),J=s(94276);const F=["textArea"];let X=(()=>{class Le extends m.fS{onChange(){const it=this.textArea.nativeElement.value;try{const Xt=JSON.stringify(JSON.parse(it),null,2);this.textArea.nativeElement.value=Xt,this.textArea.nativeElement.style.height="auto";const Rn=25*Xt.split("\n").length;this.textArea.nativeElement.style.height=Rn+"px"}catch{}}}return Le.\u0275fac=function(){let Pt;return function(Xt){return(Pt||(Pt=$.n5z(Le)))(Xt||Le)}}(),Le.\u0275cmp=$.Xpm({type:Le,selectors:[["cd-formly-textarea-type"]],viewQuery:function(it,Xt){if(1&it&&$.Gf(F,5),2&it){let cn;$.iGM(cn=$.CRH())&&(Xt.textArea=cn.first)}},features:[$.qOj],decls:2,vars:6,consts:[[1,"form-control",3,"formControl","cols","rows","formlyAttributes","change"],["textArea",""]],template:function(it,Xt){1&it&&($.TgZ(0,"textarea",0,1),$.NdJ("change",function(){return Xt.onChange()}),$.qZA()),2&it&&($.ekj("is-invalid",Xt.showError),$.Q6J("formControl",Xt.formControl)("cols",Xt.props.cols)("rows",Xt.props.rows)("formlyAttributes",Xt.field))},dependencies:[J.b,f.Fj,f.JJ,f.oH,m.JD]}),Le})();var de=s(62351),V=s(18372);function ce(Le,Pt){1&Le&&($.TgZ(0,"span",10),$._uU(1,"*"),$.qZA())}function se(Le,Pt){if(1&Le&&($.TgZ(0,"cd-helper"),$._UZ(1,"span",11),$.qZA()),2&Le){const it=$.oxw(3);$.xp6(1),$.Q6J("innerHTML",it.helper,$.oJD)}}function fe(Le,Pt){if(1&Le&&($.TgZ(0,"label",8),$._uU(1),$.YNc(2,ce,2,0,"span",9),$.YNc(3,se,2,1,"cd-helper",2),$.qZA()),2&Le){const it=$.oxw(2);$.uIk("for",it.id),$.xp6(1),$.hij(" ",it.props.label," "),$.xp6(1),$.Q6J("ngIf",it.props.required&&!0!==it.props.hideRequiredMarker),$.xp6(1),$.Q6J("ngIf",it.helper)}}function Te(Le,Pt){if(1&Le&&($.TgZ(0,"div",6),$.YNc(1,fe,4,4,"label",7),$.qZA()),2&Le){const it=$.oxw();$.xp6(1),$.Q6J("ngIf",it.props.label&&!0!==it.props.hideLabel)}}function $e(Le,Pt){if(1&Le&&($.ynx(0),$.GkF(1,12),$.BQk()),2&Le){$.oxw();const it=$.MAs(1);$.xp6(1),$.Q6J("ngTemplateOutlet",it)}}function ge(Le,Pt){if(1&Le&&($.ynx(0),$.GkF(1,12),$.BQk()),2&Le){$.oxw();const it=$.MAs(1);$.xp6(1),$.Q6J("ngTemplateOutlet",it)}}function Et(Le,Pt){if(1&Le&&($.TgZ(0,"div",13),$._UZ(1,"formly-validation-message",14),$.qZA()),2&Le){const it=$.oxw();$.Udp("display","block"),$.xp6(1),$.Q6J("field",it.field)}}function ot(Le,Pt){if(1&Le&&($.TgZ(0,"small",15),$._uU(1),$.qZA()),2&Le){const it=$.oxw();$.xp6(1),$.Oqu(it.props.description)}}let ct=(()=>{class Le extends m.n2{get helper(){return(0,de.M)(this.field)?.help||""}}return Le.\u0275fac=function(){let Pt;return function(Xt){return(Pt||(Pt=$.n5z(Le)))(Xt||Le)}}(),Le.\u0275cmp=$.Xpm({type:Le,selectors:[["cd-formly-input-wrapper"]],features:[$.qOj],decls:9,vars:8,consts:[["labelTemplate",""],[1,"mb-3"],[4,"ngIf"],["fieldComponent",""],["class","invalid-feedback",3,"display",4,"ngIf"],["class","form-text text-muted",4,"ngIf"],[1,"d-flex","align-items-center"],["class","form-label",4,"ngIf"],[1,"form-label"],["aria-hidden","true",4,"ngIf"],["aria-hidden","true"],[3,"innerHTML"],[3,"ngTemplateOutlet"],[1,"invalid-feedback"],[3,"field"],[1,"form-text","text-muted"]],template:function(it,Xt){1&it&&($.YNc(0,Te,2,1,"ng-template",null,0,$.W1O),$.TgZ(2,"div",1),$.YNc(3,$e,2,1,"ng-container",2),$.GkF(4,null,3),$.YNc(6,ge,2,1,"ng-container",2),$.YNc(7,Et,2,3,"div",4),$.YNc(8,ot,2,1,"small",5),$.qZA()),2&it&&($.xp6(2),$.ekj("form-floating","floating"===Xt.props.labelPosition)("has-error",Xt.showError),$.xp6(1),$.Q6J("ngIf","floating"!==Xt.props.labelPosition),$.xp6(3),$.Q6J("ngIf","floating"===Xt.props.labelPosition),$.xp6(1),$.Q6J("ngIf",Xt.showError),$.xp6(1),$.Q6J("ngIf",Xt.props.description))},dependencies:[r.O5,r.tP,V.S,m.M2]}),Le})(),qe=(()=>{class Le{constructor(){this.onChange=it=>{},this.onTouched=()=>{}}writeValue(it){}registerOnChange(it){this.onChange=it}registerOnTouched(it){this.onTouched=it}}return Le.\u0275fac=function(it){return new(it||Le)},Le.\u0275dir=$.lG2({type:Le,selectors:[["input","type","file"]],hostBindings:function(it,Xt){1&it&&$.NdJ("change",function(pn){return Xt.onChange(pn.target.files)})("input",function(pn){return Xt.onChange(pn.target.files)})("blur",function(){return Xt.onTouched()})},features:[$._Bn([{provide:f.JU,useExisting:Le,multi:!0}])]}),Le})(),He=(()=>{class Le extends m.fS{}return Le.\u0275fac=function(){let Pt;return function(Xt){return(Pt||(Pt=$.n5z(Le)))(Xt||Le)}}(),Le.\u0275cmp=$.Xpm({type:Le,selectors:[["cd-formly-file-type"]],features:[$.qOj],decls:1,vars:2,consts:[["type","file",3,"formControl","formlyAttributes"]],template:function(it,Xt){1&it&&$._UZ(0,"input",0),2&it&&$.Q6J("formControl",Xt.formControl)("formlyAttributes",Xt.field)},dependencies:[f.Fj,f.JJ,f.oH,m.JD,qe]}),Le})(),We=(()=>{class Le{}return Le.\u0275fac=function(it){return new(it||Le)},Le.\u0275mod=$.oAB({type:Le}),Le.\u0275inj=$.cJS({imports:[r.ez,u.xD,e.b,f.u5,c.XC,c.HK,w.D,M.K,a.Bz,f.UX,m.X0.forRoot({types:[{name:"array",component:D.l},{name:"object",component:W.o},{name:"input",component:U.v,wrappers:["input-wrapper"]},{name:"textarea",component:X,wrappers:["input-wrapper"]},{name:"file",component:He,wrappers:["input-wrapper"]}],validationMessages:[{name:"required",message:"This field is required"},{name:"json",message:"This field is not a valid json document"},{name:"rgwRoleName",message:'Role name must contain letters, numbers or the following valid special characters "_+=,.@-]+" (pattern: [0-9a-zA-Z_+=,.@-]+)'},{name:"rgwRolePath",message:'Role path must start and finish with a slash "/". (pattern: (/)|(/[!-~]+/))'},{name:"file_size",message:"File size must not exceed 4KiB"}],wrappers:[{name:"input-wrapper",component:ct}]}),T.z,u.xD]}),Le})()},94928:(E,C,s)=>{"use strict";s.d(C,{K:()=>F});var r=s(23815),a=s.n(r),c=s(65862),u=s(64537),e=s(88692),f=s(51389),m=s(54247);const T=function(X){return{disabled:X}},M=function(X){return[X]};function w(X,de){if(1&X){const V=u.EpF();u.ynx(0),u.TgZ(1,"button",3),u.NdJ("click",function(){u.CHM(V);const se=u.oxw();return u.KtG(se.useClickAction(se.currentAction))}),u._UZ(2,"i",4),u.TgZ(3,"span",5),u._uU(4),u.qZA()(),u.BQk()}if(2&X){const V=u.oxw();u.xp6(1),u.Gre("btn btn-",V.btnColor,""),u.s9C("title",V.useDisableDesc(V.currentAction)),u.Q6J("ngClass",u.VKq(11,T,V.disableSelectionAction(V.currentAction)))("disabled",V.disableSelectionAction(V.currentAction))("routerLink",V.useRouterLink(V.currentAction))("preserveFragment",V.currentAction.preserveFragment?"":null),u.uIk("aria-label",V.currentAction.name),u.xp6(1),u.Q6J("ngClass",u.VKq(13,M,V.currentAction.icon)),u.xp6(2),u.Oqu(V.currentAction.name)}}function D(X,de){if(1&X&&(u.ynx(0),u._uU(1),u.BQk()),2&X){const V=u.oxw(2);u.xp6(1),u.hij("",V.dropDownOnly," ")}}function U(X,de){1&X&&u._UZ(0,"span",11)}const W=function(X){return[X,"action-icon"]};function $(X,de){if(1&X){const V=u.EpF();u.ynx(0),u.TgZ(1,"button",12),u.NdJ("click",function(){const fe=u.CHM(V).$implicit,Te=u.oxw(2);return u.KtG(Te.useClickAction(fe))}),u._UZ(2,"i",4),u.TgZ(3,"span"),u._uU(4),u.qZA()(),u.BQk()}if(2&X){const V=de.$implicit,ce=u.oxw(2);u.xp6(1),u.Tol(ce.toClassName(V)),u.s9C("title",ce.useDisableDesc(V)),u.Q6J("routerLink",ce.useRouterLink(V))("preserveFragment",V.preserveFragment?"":null)("disabled",ce.disableSelectionAction(V)),u.uIk("aria-label",V.name),u.xp6(1),u.Q6J("ngClass",u.VKq(10,W,V.icon)),u.xp6(2),u.Oqu(V.name)}}function J(X,de){if(1&X&&(u.TgZ(0,"div",6)(1,"button",7),u.YNc(2,D,2,1,"ng-container",1),u.YNc(3,U,1,0,"span",8),u.qZA(),u.TgZ(4,"div",9),u.YNc(5,$,5,12,"ng-container",10),u.qZA()()),2&X){const V=u.oxw();u.xp6(1),u.Gre("btn btn-",V.btnColor," dropdown-toggle"),u.xp6(1),u.Q6J("ngIf",V.dropDownOnly),u.xp6(1),u.Q6J("ngIf",!V.dropDownOnly),u.xp6(2),u.Q6J("ngForOf",V.dropDownActions)}}let F=(()=>{class X{constructor(){this.btnColor="accent",this.dropDownActions=[],this.icons=c.P}ngOnInit(){this.removeActionsWithNoPermissions(),this.onSelectionChange()}ngOnChanges(V){V.selection&&this.onSelectionChange()}onSelectionChange(){this.updateDropDownActions(),this.updateCurrentAction()}toClassName(V){return V.name.replace(/ /g,"-").replace(/[^a-z-]/gi,"").toLowerCase()}removeActionsWithNoPermissions(){if(!this.permission)return void(this.tableActions=[]);const V=Object.keys(this.permission).filter(ce=>this.permission[ce]);this.tableActions=this.tableActions.filter(ce=>V.includes(ce.permission))}updateDropDownActions(){this.dropDownActions=this.tableActions.filter(V=>V.visible?V.visible(this.selection):V)}updateCurrentAction(){if(this.dropDownOnly)return void(this.currentAction=void 0);let V=this.dropDownActions.find(ce=>this.showableAction(ce));!V&&this.dropDownActions.length>0&&(V=this.dropDownActions[0]),this.currentAction=V}showableAction(V){const ce=V.canBePrimary,se=this.selection.hasSingleSelection,fe="create"===V.permission?!se:se;return ce&&ce(this.selection)||!ce&&fe}useRouterLink(V){if(V.routerLink&&!this.disableSelectionAction(V))return a().isString(V.routerLink)?V.routerLink:V.routerLink()}disableSelectionAction(V){const ce=V.disable;if(ce)return Boolean(ce(this.selection));const se=V.permission,fe=this.selection.hasSingleSelection&&this.selection.first();return Boolean(["update","delete"].includes(se)&&(!fe||fe.cdExecuting))}useClickAction(V){return!this.disableSelectionAction(V)&&V.click&&V.click()}useDisableDesc(V){if(V.disable){const ce=V.disable(this.selection);return a().isString(ce)?ce:void 0}}}return X.\u0275fac=function(V){return new(V||X)},X.\u0275cmp=u.Xpm({type:X,selectors:[["cd-table-actions"]],inputs:{permission:"permission",selection:"selection",tableActions:"tableActions",btnColor:"btnColor",dropDownOnly:"dropDownOnly"},features:[u.TTD],decls:3,vars:2,consts:[[1,"btn-group"],[4,"ngIf"],["class","btn-group","ngbDropdown","","role","group","aria-label","Button group with nested dropdown",4,"ngIf"],["type","button",3,"title","ngClass","disabled","routerLink","preserveFragment","click"],[3,"ngClass"],[1,"action-label"],["ngbDropdown","","role","group","aria-label","Button group with nested dropdown",1,"btn-group"],["aria-label","dropdown-menu-toggle","ngbDropdownToggle",""],["class","sr-only",4,"ngIf"],["ngbDropdownMenu","",1,"dropdown-menu"],[4,"ngFor","ngForOf"],[1,"sr-only"],["ngbDropdownItem","",3,"title","routerLink","preserveFragment","disabled","click"]],template:function(V,ce){1&V&&(u.TgZ(0,"div",0),u.YNc(1,w,5,15,"ng-container",1),u.YNc(2,J,6,6,"div",2),u.qZA()),2&V&&(u.xp6(1),u.Q6J("ngIf",ce.currentAction),u.xp6(1),u.Q6J("ngIf",ce.dropDownActions.length>1))},dependencies:[e.mk,e.sg,e.O5,f.jt,f.iD,f.Vi,f.TH,m.rH],styles:["button.disabled[_ngcontent-%COMP%]{color:#adb5bd;cursor:default!important;pointer-events:auto}button.dropdown-item[_ngcontent-%COMP%]:hover{background-color:#dee2e6}.action-icon[_ngcontent-%COMP%]{padding-right:1.5rem}.action-label[_ngcontent-%COMP%]{font-weight:700}"]}),X})()},61350:(E,C,s)=>{"use strict";s.d(C,{b:()=>m});var r=s(64537),a=s(23815),c=s.n(a),u=s(99466),e=s(59019),f=s(96102);let m=(()=>{class T{constructor(w){this.datePipe=w,this.autoReload=5e3,this.renderObjects=!1,this.appendParentKey=!0,this.hideEmpty=!1,this.hideKeys=[],this.columns=[],this.fetchData=new r.vpe}ngOnInit(){this.columns=[{prop:"key",flexGrow:1,cellTransformation:u.e.bold},{prop:"value",flexGrow:3}],this.customCss&&(this.columns[1].cellTransformation=u.e.classAdding),this.fetchData.observers.length>0&&this.table.fetchData.subscribe(()=>{this.fetchData.emit()}),this.useData()}ngOnChanges(){this.useData()}useData(){if(!this.data)return;let w=this.makePairs(this.data);this.hideKeys&&(w=w.filter(D=>!this.hideKeys.includes(D.key))),this.tableData=w}makePairs(w){let D=[];if(w){if(c().isArray(w))D=this.makePairsFromArray(w);else{if(!c().isObject(w))throw new Error("Wrong data format");D=this.makePairsFromObject(w)}return D=D.map(U=>(U.value=this.convertValue(U.value),U)).filter(U=>null!==U.value),c().sortBy(this.renderObjects?this.insertFlattenObjects(D):D,"key")}}makePairsFromArray(w){let D=[];const U=w[0];if(c().isArray(U)){if(2!==U.length)throw new Error(`Array contains too many elements (${U.length}). Needs to be of type [string, any][]`);D=w.map(W=>({key:W[0],value:W[1]}))}else c().isObject(U)&&(D=c().has(U,"key")&&c().has(U,"value")?[...w]:w.reduce((W,$)=>W.concat(this.makePairsFromObject($)),D));return D}makePairsFromObject(w){return Object.keys(w).map(D=>({key:D,value:w[D]}))}insertFlattenObjects(w){return c().flattenDeep(w.map(D=>{const U=D.value,W=c().isObject(U);return!W||c().isEmpty(U)?(W&&(D.value=""),D):this.splitItemIntoItems(D)}))}splitItemIntoItems(w){return this.makePairs(w.value).map(D=>(this.appendParentKey&&(D.key=w.key+" "+D.key),D))}convertValue(w){if(c().isArray(w)){if(c().isEmpty(w)&&this.hideEmpty)return null;w=w.map(D=>c().isObject(D)?JSON.stringify(D):D).join(", ")}else if(c().isObject(w)){if(this.hideEmpty&&c().isEmpty(w)||!this.renderObjects)return null}else if(c().isString(w)){if(""===w&&this.hideEmpty)return null;this.isDate(w)&&(w=this.datePipe.transform(w)||w)}return w}isDate(w){const D="[ -:.TZ]",U="\\d{2}"+D;return w.match(new RegExp("^\\d{4}"+D+U+U+U+U+U+"\\d*Z?$"))}}return T.\u0275fac=function(w){return new(w||T)(r.Y36(f.N))},T.\u0275cmp=r.Xpm({type:T,selectors:[["cd-table-key-value"]],viewQuery:function(w,D){if(1&w&&r.Gf(e.a,7),2&w){let U;r.iGM(U=r.CRH())&&(D.table=U.first)}},inputs:{data:"data",autoReload:"autoReload",renderObjects:"renderObjects",appendParentKey:"appendParentKey",hideEmpty:"hideEmpty",hideKeys:"hideKeys",customCss:"customCss"},outputs:{fetchData:"fetchData"},features:[r.TTD],decls:3,vars:9,consts:[[1,"table-scroller"],["columnMode","flex",3,"data","columns","toolHeader","autoReload","customCss","autoSave","header","footer","limit"],["table",""]],template:function(w,D){1&w&&(r.TgZ(0,"div",0),r._UZ(1,"cd-table",1,2),r.qZA()),2&w&&(r.xp6(1),r.Q6J("data",D.tableData)("columns",D.columns)("toolHeader",!1)("autoReload",D.autoReload)("customCss",D.customCss)("autoSave",!1)("header",!1)("footer",!1)("limit",0))},dependencies:[e.a],styles:[".table-scroller[_ngcontent-%COMP%]{height:100%;max-height:40vh;overflow:auto}"]}),T})()},59019:(E,C,s)=>{"use strict";s.d(C,{a:()=>nr});var r=s(64537),a=s(84051),c=s(23815),u=s.n(c),e=s(25917),f=s(70882),m=s(71225),T=s(99466),M=s(65862),w=s(48168),D=s(68774),U=s(36848),W=s(88692),$=s(20092),J=s(51389),F=s(76446),X=s(58039),de=s(54247);let V=(()=>{class Zt{constructor(){this._size=0,this._count=0,this._page=1,this.pageChange=new r.vpe}set size(Ge){this._size=Ge,this.pages=this.calcPages()}get size(){return this._size}set page(Ge){this._page=Ge}get page(){return this._page}set count(Ge){this._count=Ge}get count(){return this._count}get totalPages(){const Ge=this.size<1?1:Math.ceil(this._count/this._size);return Math.max(Ge||0,1)}canPrevious(){return this._page>1}canNext(){return this._page<this.totalPages}prevPage(){this.selectPage(this._page-1)}nextPage(){this.selectPage(this._page+1)}selectPage(Ge){Ge>0&&Ge<=this.totalPages&&Ge!==this.page?(this._page=Ge,this.pageChange.emit({page:Ge})):Ge>0&&Ge>=this.totalPages&&(this._page=this.totalPages,this.pageChange.emit({page:this.totalPages}))}calcPages(Ge){const Ot=[];let mn=1,wr=this.totalPages;Ge=Ge||this.page,5<this.totalPages&&(mn=Ge-Math.floor(2.5),wr=Ge+Math.floor(2.5),mn<1?(mn=1,wr=Math.min(mn+5-1,this.totalPages)):wr>this.totalPages&&(mn=Math.max(this.totalPages-5+1,1),wr=this.totalPages));for(let Ai=mn;Ai<=wr;Ai++)Ot.push({number:Ai,text:Ai});return Ot}}return Zt.\u0275fac=function(Ge){return new(Ge||Zt)},Zt.\u0275cmp=r.Xpm({type:Zt,selectors:[["cd-table-pagination"]],inputs:{size:"size",page:"page",count:"count"},outputs:{pageChange:"pageChange"},decls:14,vars:7,consts:function(){let dn,Ge,Ot,mn,wr,Ti;return dn="Pagination",Ge="Go to first page",Ot="Go to previous page",mn="Current page",wr="Go to next page",Ti="Go to last page",[["aria-label",dn,1,"pagination"],["aria-label",Ge,1,"pagination__btn","pagination__btn_first",3,"disabled","click"],["aria-hidden","true",1,"fa","fa-angle-double-left"],["aria-label",Ot,1,"pagination__btn","pagination__btn_prev",3,"disabled","click"],["aria-hidden","true",1,"fa","fa-angle-left"],[1,"pagination__pages"],["aria-label",mn,"type","number","min","1",1,"pagination__page_input",3,"max","value","input"],["pageNumber",""],["aria-hidden","true"],["aria-label",wr,1,"pagination__btn","pagination__btn_next",3,"disabled","click"],["aria-hidden","true",1,"fa","fa-angle-right"],["aria-label",Ti,1,"pagination__btn","pagination__btn_last",3,"disabled","click"],["aria-hidden","true",1,"fa","fa-angle-double-right"]]},template:function(Ge,Ot){if(1&Ge){const mn=r.EpF();r.TgZ(0,"nav",0)(1,"button",1),r.NdJ("click",function(){return Ot.selectPage(1)}),r._UZ(2,"i",2),r.qZA(),r.TgZ(3,"button",3),r.NdJ("click",function(){return Ot.prevPage()}),r._UZ(4,"i",4),r.qZA(),r.TgZ(5,"div",5)(6,"input",6,7),r.NdJ("input",function(){r.CHM(mn);const Ti=r.MAs(7);return r.KtG(Ot.selectPage(Ti.valueAsNumber))}),r.qZA(),r.TgZ(8,"span",8),r._uU(9),r.qZA()(),r.TgZ(10,"button",9),r.NdJ("click",function(){return Ot.nextPage()}),r._UZ(11,"i",10),r.qZA(),r.TgZ(12,"button",11),r.NdJ("click",function(){return Ot.selectPage(Ot.totalPages)}),r._UZ(13,"i",12),r.qZA()()}2&Ge&&(r.xp6(1),r.Q6J("disabled",!Ot.canPrevious()),r.xp6(2),r.Q6J("disabled",!Ot.canPrevious()),r.xp6(3),r.Q6J("max",Ot.totalPages)("value",Ot.page),r.xp6(3),r.hij(" of ",Ot.totalPages," "),r.xp6(1),r.Q6J("disabled",!Ot.canNext()),r.xp6(2),r.Q6J("disabled",!Ot.canNext()))},styles:[".pagination[_ngcontent-%COMP%]{align-items:center;display:flex}.pagination__btn[_ngcontent-%COMP%]{background:none;border:0}.pagination__btn[_ngcontent-%COMP%]:disabled{color:#adb5bd}.pagination__page_input[_ngcontent-%COMP%]{border:1px solid #adb5bd;border-radius:.25rem;padding-left:.25rem}"]}),Zt})();var ce=s(37496),se=s(47187),fe=s(70442),Te=s(66369),$e=s(90068),ge=s(96102),Et=s(78877),ot=s(52821);let ct=(()=>{class Zt{transform(Ge){if(!Ge)return"";const Ot=Ge.toString().split("/");return""===Ot[0]?(Ot.shift(),`/${Ot[0]}/.../${Ot[Ot.length-1]}`):`${Ot[0]}/.../${Ot[Ot.length-1]}`}}return Zt.\u0275fac=function(Ge){return new(Ge||Zt)},Zt.\u0275pipe=r.Yjl({name:"path",type:Zt,pure:!0}),Zt})();const qe=["tableCellBoldTpl"],He=["sparklineTpl"],We=["routerLinkTpl"],Le=["checkIconTpl"],Pt=["perSecondTpl"],it=["executingTpl"],Xt=["classAddingTpl"],cn=["badgeTpl"],pn=["mapTpl"],Rn=["truncateTpl"],At=["timeAgoTpl"],qt=["rowDetailsTpl"],sn=["rowSelectionTpl"],fn=["pathTpl"];function xn(Zt,dn){1&Zt&&(r.TgZ(0,"div",23)(1,"div",24),r.Hsn(2),r.qZA()())}function Kr(Zt,dn){if(1&Zt){const Ge=r.EpF();r.ynx(0),r.TgZ(1,"button",40),r.NdJ("click",function(){const wr=r.CHM(Ge).$implicit;return r.oxw(3).onSelectFilter(wr),r.KtG(!1)}),r._uU(2),r.qZA(),r.BQk()}if(2&Zt){const Ge=dn.$implicit;r.xp6(2),r.Oqu(Ge.column.name)}}const Or=function(Zt){return[Zt]};function Lr(Zt,dn){if(1&Zt&&r._UZ(0,"i",31),2&Zt){const Ge=r.oxw(4);r.Q6J("ngClass",r.VKq(1,Or,Ge.icons.check))}}function ir(Zt,dn){if(1&Zt){const Ge=r.EpF();r.ynx(0),r.TgZ(1,"button",40),r.NdJ("click",function(){const wr=r.CHM(Ge).$implicit,Ti=r.oxw(3);return Ti.onChangeFilter(Ti.selectedFilter,wr),r.KtG(!1)}),r._uU(2),r.YNc(3,Lr,1,3,"i",41),r.qZA(),r.BQk()}if(2&Zt){const Ge=dn.$implicit,Ot=r.oxw(3);r.xp6(2),r.hij(" ",Ge.formatted," "),r.xp6(1),r.Q6J("ngIf",void 0!==Ot.selectedFilter.value&&Ot.selectedFilter.value.raw===Ge.raw)}}const Qr=function(Zt,dn){return[Zt,dn]};function jr(Zt,dn){if(1&Zt&&(r.TgZ(0,"div",35)(1,"div",36)(2,"button",37),r._UZ(3,"i",31),r._uU(4),r.qZA(),r.TgZ(5,"div",32),r.YNc(6,Kr,3,1,"ng-container",33),r.qZA()(),r.TgZ(7,"div",38)(8,"button",39),r._uU(9),r.qZA(),r.TgZ(10,"div",32),r.YNc(11,ir,4,2,"ng-container",33),r.qZA()()()),2&Zt){const Ge=r.oxw(2);r.xp6(3),r.Q6J("ngClass",r.WLB(7,Qr,Ge.icons.large,Ge.icons.filter)),r.xp6(1),r.hij(" ",Ge.selectedFilter.column.name," "),r.xp6(2),r.Q6J("ngForOf",Ge.columnFilters),r.xp6(2),r.ekj("disabled",0===Ge.selectedFilter.options.length),r.xp6(1),r.hij(" ",Ge.selectedFilter.value?Ge.selectedFilter.value.formatted:"Any"," "),r.xp6(2),r.Q6J("ngForOf",Ge.selectedFilter.options)}}function br(Zt,dn){if(1&Zt){const Ge=r.EpF();r.TgZ(0,"div",42)(1,"span",43),r._UZ(2,"i",31),r.qZA(),r.TgZ(3,"input",44),r.NdJ("ngModelChange",function(mn){r.CHM(Ge);const wr=r.oxw(2);return r.KtG(wr.search=mn)})("keyup",function(){r.CHM(Ge);const mn=r.oxw(2);return r.KtG(mn.updateFilter())}),r.qZA(),r.TgZ(4,"button",45),r.NdJ("click",function(){r.CHM(Ge);const mn=r.oxw(2);return r.KtG(mn.onClearSearch())}),r._UZ(5,"i"),r.qZA()()}if(2&Zt){const Ge=r.oxw(2);r.xp6(2),r.Q6J("ngClass",r.VKq(5,Or,Ge.icons.search)),r.xp6(1),r.Q6J("ngModel",Ge.search),r.xp6(2),r.Gre("icon-prepend ",Ge.icons.destroy,"")}}function ht(Zt,dn){if(1&Zt){const Ge=r.EpF();r.TgZ(0,"div",46)(1,"input",47),r.NdJ("click",function(mn){r.CHM(Ge);const wr=r.oxw(2);return r.KtG(wr.setLimit(mn))})("keyup",function(mn){r.CHM(Ge);const wr=r.oxw(2);return r.KtG(wr.setLimit(mn))})("blur",function(mn){r.CHM(Ge);const wr=r.oxw(2);return r.KtG(wr.setLimit(mn))}),r.qZA()()}if(2&Zt){const Ge=r.oxw(2);r.xp6(1),r.Q6J("value",Ge.userConfig.limit)}}function Wt(Zt,dn){if(1&Zt){const Ge=r.EpF();r.TgZ(0,"button",40),r.NdJ("click",function(){r.CHM(Ge);const mn=r.oxw().$implicit;return r.oxw(2).toggleColumn(mn),r.KtG(!1)}),r.TgZ(1,"div",49),r._UZ(2,"input",50),r.TgZ(3,"label",51),r._uU(4),r.qZA()()()}if(2&Zt){const Ge=r.oxw().$implicit,Ot=r.oxw(2);r.xp6(2),r.hYB("id","",Ge.prop,"",Ot.tableName,""),r.Q6J("name",Ge.prop)("checked",!Ge.isHidden),r.xp6(1),r.hYB("for","",Ge.prop,"",Ot.tableName,""),r.xp6(1),r.Oqu(Ge.name)}}function Tt(Zt,dn){if(1&Zt&&(r.ynx(0),r.YNc(1,Wt,5,7,"button",48),r.BQk()),2&Zt){const Ge=dn.$implicit;r.xp6(1),r.Q6J("ngIf",""!==Ge.name)}}function wn(Zt,dn){if(1&Zt){const Ge=r.EpF();r.TgZ(0,"div",52)(1,"button",53),r.NdJ("click",function(){r.CHM(Ge);const mn=r.oxw(2);return r.KtG(mn.refreshBtn())}),r._UZ(2,"i",31),r.qZA()()}if(2&Zt){const Ge=r.oxw(2);r.xp6(1),r.Tol("btn btn-"+Ge.status.type),r.Q6J("ngbTooltip",Ge.status.msg),r.xp6(1),r.ekj("fa-spin",Ge.updating||Ge.loadingIndicator),r.Q6J("ngClass",r.WLB(6,Qr,Ge.icons.large,Ge.icons.refresh))}}function jn(Zt,dn){if(1&Zt&&(r.TgZ(0,"div",23)(1,"div",24),r.Hsn(2,1),r.qZA(),r.YNc(3,jr,12,10,"div",25),r.YNc(4,br,6,7,"div",26),r.YNc(5,ht,2,1,"div",27),r.TgZ(6,"div",28)(7,"div",29)(8,"button",30),r._UZ(9,"i",31),r.qZA(),r.TgZ(10,"div",32),r.YNc(11,Tt,2,1,"ng-container",33),r.qZA()()(),r.YNc(12,wn,3,9,"div",34),r.qZA()),2&Zt){const Ge=r.oxw();r.xp6(3),r.Q6J("ngIf",0!==Ge.columnFilters.length),r.xp6(1),r.Q6J("ngIf",Ge.searchField),r.xp6(1),r.Q6J("ngIf",Ge.limit),r.xp6(4),r.Q6J("ngClass",r.WLB(6,Qr,Ge.icons.large,Ge.icons.table)),r.xp6(2),r.Q6J("ngForOf",Ge.columns),r.xp6(1),r.Q6J("ngIf",Ge.fetchData.observers.length>0)}}function hr(Zt,dn){if(1&Zt){const Ge=r.EpF();r.TgZ(0,"span",58)(1,"span",59),r._uU(2),r.qZA(),r.TgZ(3,"a",60),r.NdJ("click",function(){r.CHM(Ge);const mn=r.oxw().$implicit;return r.oxw(2).onChangeFilter(mn),r.KtG(!1)}),r._UZ(4,"i",61),r.qZA()()}if(2&Zt){const Ge=r.oxw().$implicit,Ot=r.oxw(2);r.xp6(2),r.AsE("",Ge.column.name,": ",Ge.value.formatted,""),r.xp6(2),r.Q6J("ngClass",r.VKq(3,Or,Ot.icons.destroy))}}function Oi(Zt,dn){if(1&Zt&&(r.TgZ(0,"span"),r.YNc(1,hr,5,5,"span",57),r.qZA()),2&Zt){const Ge=dn.$implicit;r.xp6(1),r.Q6J("ngIf",Ge.value)}}function Wi(Zt,dn){if(1&Zt){const Ge=r.EpF();r.TgZ(0,"div",23)(1,"div",54),r.YNc(2,Oi,2,1,"span",33),r.TgZ(3,"a",55),r.NdJ("click",function(){return r.CHM(Ge),r.oxw().onClearFilters(),r.KtG(!1)}),r.ynx(4),r.SDv(5,56),r.BQk(),r.qZA()()()}if(2&Zt){const Ge=r.oxw();r.xp6(2),r.Q6J("ngForOf",Ge.columnFilters)}}function so(Zt,dn){if(1&Zt&&r._UZ(0,"input",62),2&Zt){const Ge=dn.isSelected;r.Q6J("checked",Ge),r.uIk("aria-label",Ge?"selected":"select")}}function kr(Zt,dn){1&Zt&&r.Hsn(0,2)}function Ei(Zt,dn){if(1&Zt&&(r.TgZ(0,"span"),r._uU(1),r.ynx(2),r.SDv(3,68),r.BQk(),r._uU(4," / "),r.qZA()),2&Zt){const Ge=r.oxw().selectedCount;r.xp6(1),r.hij(" ",Ge," ")}}function ii(Zt,dn){if(1&Zt&&(r.TgZ(0,"span"),r._uU(1),r.ynx(2),r.SDv(3,70),r.BQk(),r._uU(4," / "),r.qZA()),2&Zt){const Ge=r.oxw(2).rowCount;r.xp6(1),r.hij(" ",Ge," ")}}function mr(Zt,dn){if(1&Zt&&(r.TgZ(0,"span"),r.YNc(1,ii,5,1,"span",64),r._uU(2),r.ynx(3),r.SDv(4,69),r.BQk(),r.qZA()),2&Zt){const Ge=r.oxw().rowCount,Ot=r.oxw();r.xp6(1),r.Q6J("ngIf",Ge!=(null==Ot.data?null:Ot.data.length)),r.xp6(1),r.hij(" ",(null==Ot.data?null:Ot.data.length)||0," ")}}function pr(Zt,dn){if(1&Zt&&(r.TgZ(0,"span"),r._uU(1),r.ynx(2),r.SDv(3,71),r.BQk(),r._uU(4),r.ynx(5),r.SDv(6,72),r.BQk(),r.qZA()),2&Zt){const Ge=r.oxw().rowCount,Ot=r.oxw();r.xp6(1),r.hij(" ",(null==Ot.data?null:Ot.data.length)||0," "),r.xp6(3),r.hij(" / ",Ge," ")}}function Eo(Zt,dn){if(1&Zt){const Ge=r.EpF();r.TgZ(0,"div",63),r.YNc(1,Ei,5,1,"span",64),r.YNc(2,mr,5,2,"span",65),r.YNc(3,pr,7,2,"ng-template",null,66,r.W1O),r.qZA(),r.TgZ(5,"cd-table-pagination",67),r.NdJ("pageChange",function(mn){r.CHM(Ge),r.oxw();const wr=r.MAs(5);return r.KtG(wr.onFooterPage(mn))}),r.qZA()}if(2&Zt){const Ge=dn.rowCount,Ot=dn.pageSize,mn=dn.curPage,wr=r.MAs(4),Ti=r.oxw();r.xp6(1),r.Q6J("ngIf",Ti.selectionType),r.xp6(1),r.Q6J("ngIf",!Ti.serverSide)("ngIfElse",wr),r.xp6(3),r.Q6J("page",mn)("size",Ot)("count",Ge)("hidden",!(Ge/Ot>1))}}function po(Zt,dn){if(1&Zt&&(r.TgZ(0,"strong"),r._uU(1),r.qZA()),2&Zt){const Ge=dn.value;r.xp6(1),r.Oqu(Ge)}}function $i(Zt,dn){if(1&Zt&&r._UZ(0,"cd-sparkline",73),2&Zt){const Ge=dn.row;r.Q6J("data",dn.value)("isBinary",Ge.cdIsBinary)}}function qr(Zt,dn){if(1&Zt&&(r.TgZ(0,"a",74),r._uU(1),r.qZA()),2&Zt){const Ge=dn.row,Ot=dn.value;r.Q6J("routerLink",r.VKq(3,Or,Ge.cdLink))("queryParams",Ge.cdParams),r.xp6(1),r.Oqu(Ot)}}function Hi(Zt,dn){if(1&Zt&&(r._UZ(0,"i",75),r.ALo(1,"boolean")),2&Zt){const Ge=dn.value,Ot=r.oxw();r.Q6J("ngClass",r.VKq(4,Or,Ot.icons.check))("hidden",!r.lcZ(1,2,Ge))}}function Dn(Zt,dn){1&Zt&&(r._uU(0),r.ALo(1,"dimless")),2&Zt&&r.hij(" ",r.lcZ(1,1,dn.value)," /s\n")}function Hn(Zt,dn){if(1&Zt&&r._UZ(0,"i",31),2&Zt){const Ge=r.oxw(2);r.Q6J("ngClass",r.WLB(1,Qr,Ge.icons.spinner,Ge.icons.spin))}}function jt(Zt,dn){if(1&Zt&&(r.TgZ(0,"span",31),r._uU(1),r.qZA()),2&Zt){const Ge=r.oxw(),Ot=Ge.column,mn=Ge.row;r.Q6J("ngClass",null!=Ot&&null!=Ot.customTemplateConfig&&Ot.customTemplateConfig.executingClass?Ot.customTemplateConfig.executingClass:"text-muted italic"),r.xp6(1),r.hij("(",mn.cdExecuting,")")}}function Fe(Zt,dn){if(1&Zt&&(r.YNc(0,Hn,1,4,"i",41),r.TgZ(1,"span",31),r._uU(2),r.qZA(),r.YNc(3,jt,2,2,"span",41)),2&Zt){const Ge=dn.column,Ot=dn.row,mn=dn.value;r.Q6J("ngIf",Ot.cdExecuting),r.xp6(1),r.Q6J("ngClass",null==Ge||null==Ge.customTemplateConfig?null:Ge.customTemplateConfig.valueClass),r.xp6(1),r.hij(" ",mn," "),r.xp6(1),r.Q6J("ngIf",Ot.cdExecuting)}}function Ie(Zt,dn){if(1&Zt&&(r.TgZ(0,"span"),r.ALo(1,"pipeFunction"),r._uU(2),r.qZA()),2&Zt){const Ge=dn.value,Ot=r.oxw();r.Tol(r.Dn7(1,4,Ge,Ot.useCustomClass,Ot)),r.xp6(2),r.Oqu(Ge)}}function et(Zt,dn){if(1&Zt&&(r.TgZ(0,"span",77),r._uU(1),r.qZA()),2&Zt){const Ge=r.oxw().$implicit,Ot=r.oxw().column;r.Q6J("ngClass",null!=Ot&&null!=Ot.customTemplateConfig&&Ot.customTemplateConfig.map&&null!=Ot&&null!=Ot.customTemplateConfig&&null!=Ot.customTemplateConfig.map[Ge]&&Ot.customTemplateConfig.map[Ge].class?Ot.customTemplateConfig.map[Ge].class:null!=Ot&&null!=Ot.customTemplateConfig&&Ot.customTemplateConfig.class?Ot.customTemplateConfig.class:"badge-primary"),r.xp6(1),r.hij(" ",null!=Ot&&null!=Ot.customTemplateConfig&&Ot.customTemplateConfig.map&&null!=Ot&&null!=Ot.customTemplateConfig&&null!=Ot.customTemplateConfig.map[Ge]&&Ot.customTemplateConfig.map[Ge].value?Ot.customTemplateConfig.map[Ge].value:null!=Ot&&null!=Ot.customTemplateConfig&&Ot.customTemplateConfig.prefix?Ot.customTemplateConfig.prefix+Ge:Ge," ")}}function ze(Zt,dn){1&Zt&&(r.TgZ(0,"span"),r._uU(1,"\xa0"),r.qZA())}function an(Zt,dn){if(1&Zt&&(r.TgZ(0,"span"),r.YNc(1,et,2,2,"span",76),r.YNc(2,ze,2,0,"span",64),r.qZA()),2&Zt){const Ge=dn.$implicit,Ot=dn.last,mn=r.oxw().column;r.xp6(1),r.Q6J("ngIf",null!=mn&&null!=mn.customTemplateConfig&&mn.customTemplateConfig.map&&null!=mn&&null!=mn.customTemplateConfig&&null!=mn.customTemplateConfig.map[Ge]&&mn.customTemplateConfig.map[Ge].value?mn.customTemplateConfig.map[Ge].value:null!=mn&&null!=mn.customTemplateConfig&&mn.customTemplateConfig.prefix?mn.customTemplateConfig.prefix+Ge:Ge),r.xp6(1),r.Q6J("ngIf",!Ot)}}function lt(Zt,dn){1&Zt&&(r.YNc(0,an,3,2,"span",33),r.ALo(1,"array")),2&Zt&&r.Q6J("ngForOf",r.lcZ(1,1,dn.value))}function Rt(Zt,dn){if(1&Zt&&(r.TgZ(0,"span"),r._uU(1),r.ALo(2,"map"),r.qZA()),2&Zt){const Ge=dn.column,Ot=dn.value;r.xp6(1),r.Oqu(r.xi3(2,1,Ot,null==Ge?null:Ge.customTemplateConfig))}}function Pe(Zt,dn){if(1&Zt&&(r.TgZ(0,"span",78),r._uU(1),r.ALo(2,"truncate"),r.qZA()),2&Zt){const Ge=dn.column,Ot=dn.value;r.Q6J("title",Ot),r.xp6(1),r.Oqu(r.Dn7(2,2,Ot,null==Ge||null==Ge.customTemplateConfig?null:Ge.customTemplateConfig.length,null==Ge||null==Ge.customTemplateConfig?null:Ge.customTemplateConfig.omission))}}function qn(Zt,dn){if(1&Zt){const Ge=r.EpF();r.TgZ(0,"a",79),r.NdJ("click",function(mn){const wr=r.CHM(Ge),Ti=wr.row,Ci=wr.expanded,Ai=r.oxw();return r.KtG(Ai.toggleExpandRow(Ti,Ci,mn))}),r.qZA()}if(2&Zt){const Ge=dn.expanded;r.ekj("expand-collapse-icon-right",!Ge)("expand-collapse-icon-down",Ge)}}function gr(Zt,dn){if(1&Zt&&(r.TgZ(0,"span",78),r.ALo(1,"cdDate"),r._uU(2),r.ALo(3,"relativeDate"),r.qZA()),2&Zt){const Ge=dn.value;r.Q6J("title",r.lcZ(1,2,Ge)),r.xp6(2),r.Oqu(r.lcZ(3,4,Ge))}}function Pn(Zt,dn){if(1&Zt&&r._UZ(0,"cd-copy-2-clipboard-button",82),2&Zt){const Ge=r.oxw().value;r.Q6J("source",Ge)("byId",!1)("showIconOnly",!0)}}function _r(Zt,dn){if(1&Zt&&(r.TgZ(0,"span",80),r._uU(1),r.ALo(2,"path"),r.YNc(3,Pn,1,3,"cd-copy-2-clipboard-button",81),r.qZA()),2&Zt){const Ge=dn.value;r.Q6J("title",Ge),r.xp6(1),r.hij("",r.lcZ(2,3,Ge)," "),r.xp6(2),r.Q6J("ngIf",Ge)}}const Pr=[[["",8,"only-table-actions"]],[["",8,"table-actions"]],[["","cdTableDetail",""]]],tr=[".only-table-actions",".table-actions","[cdTableDetail]"];let nr=(()=>{class Zt{get columnFiltered(){return u().some(this.columnFilters,Ge=>void 0!==Ge.value)}constructor(Ge,Ot){this.cdRef=Ge,this.timerService=Ot,this.columnMode="flex",this.onlyActionHeader=!1,this.toolHeader=!0,this.searchField=!0,this.header=!0,this.footer=!0,this.limit=10,this.maxLimit=9999,this.hasDetails=!1,this.autoReload=5e3,this.identifier="id",this.forceIdentifier=!1,this.selectionType=void 0,this.updateSelectionOnRefresh="onChange",this.updateExpandedOnRefresh="onChange",this.autoSave=!0,this.searchableObjects=!1,this.extraFilterableColumns=[],this.status=new m.c,this.serverSide=!1,this.count=0,this.fetchData=new r.vpe,this.updateSelection=new r.vpe,this.setExpandedRow=new r.vpe,this.columnFiltersChanged=new r.vpe,this.selection=new D.r,this.expanded=void 0,this.icons=M.P,this.cellTemplates={},this.search="",this.rows=[],this.loadingIndicator=!0,this.paginationClasses={pagerLeftArrow:M.P.leftArrowDouble,pagerRightArrow:M.P.rightArrowDouble,pagerPrevious:M.P.leftArrow,pagerNext:M.P.rightArrow},this.userConfig={},this.localStorage=window.localStorage,this.updating=!1,this.columnFilters=[]}static prepareSearch(Ge){return(Ge=Ge.toLowerCase().replace(/,/g,"")).match(/['"][^'"]+['"]/)&&(Ge=Ge.replace(/['"][^'"]+['"]/g,Ot=>Ot.replace(/(['"])([^'"]+)(['"])/g,"$2").replace(/ /g,"+"))),Ge.split(" ").filter(Ot=>Ot)}ngOnInit(){if(this.localColumns=u().clone(this.columns),this.serverSide&&(this.reloadData=u().debounce(this.reloadData,1e3)),this.table.element.addEventListener("mouseenter",Ge=>Ge.stopPropagation()),this._addTemplates(),!this.sorts){const Ge=-1!==u().findIndex(this.localColumns,["prop",this.identifier]);this.sorts=this.createSortingDefinition(Ge?this.identifier:this.localColumns[0].prop+""),!Ge&&!this.forceIdentifier&&(this.identifier=this.localColumns[0].prop+"")}this.initUserConfig(),this.localColumns.forEach(Ge=>{Ge.cellTransformation&&(Ge.cellTemplate=this.cellTemplates[Ge.cellTransformation]),Ge.flexGrow||(Ge.flexGrow=Ge.prop+""===this.identifier?1:2),Ge.resizeable||(Ge.resizeable=!1)}),this.initExpandCollapseColumn(),this.initCheckboxColumn(),this.filterHiddenColumns(),this.initColumnFilters(),this.updateColumnFilterOptions(),this.updateSelection.emit(new D.r),this.fetchData.observers.length>0&&(this.loadingIndicator=!0),u().isInteger(this.autoReload)&&this.autoReload>0?this.reloadSubscriber=this.timerService.get(()=>(0,e.of)(0),this.autoReload).subscribe(()=>{this.reloadData()}):this.autoReload?this.useData():this.reloadData()}initUserConfig(){this.autoSave&&(this.tableName=this._calculateUniqueTableName(this.localColumns),this._loadUserConfig(),this._initUserConfigAutoSave()),(10!==this.limit||!this.userConfig.limit)&&(this.userConfig.limit=this.limit),this.userConfig.offset>=0||(this.userConfig.offset=this.table.offset),this.userConfig.search||(this.userConfig.search=this.search),this.userConfig.sorts||(this.userConfig.sorts=this.sorts),this.userConfig.columns?this.userConfig.columns.forEach(Ge=>{for(let Ot=0;Ot<this.localColumns.length;Ot++)this.localColumns[Ot].prop===Ge.prop&&(this.localColumns[Ot].isHidden=Ge.isHidden)}):this.updateUserColumns()}_calculateUniqueTableName(Ge){const Ot=mn=>{if(!u().isString(mn))return 0;let wr=0;for(let Ti=0;Ti<mn.length;Ti++)wr+=mn.charCodeAt(Ti)*Ti;return wr};return Ge.reduce((mn,wr,Ti)=>(Ot(wr.prop)+Ot(wr.name))*(Ti+1)+mn,0).toString()}_loadUserConfig(){const Ge=this.localStorage.getItem(this.tableName);Ge&&(this.userConfig=JSON.parse(Ge))}_initUserConfigAutoSave(){const Ge=new f.y(this._initUserConfigProxy.bind(this));this.saveSubscriber=Ge.subscribe(this._saveUserConfig.bind(this))}_initUserConfigProxy(Ge){this.userConfig=new Proxy(this.userConfig,{set:(Ot,mn,wr)=>(Ot[mn]=wr,Ge.next(Ot),!0)})}_saveUserConfig(Ge){this.localStorage.setItem(this.tableName,JSON.stringify(Ge))}updateUserColumns(){this.userConfig.columns=this.localColumns.map(Ge=>({prop:Ge.prop,name:Ge.name,isHidden:!!Ge.isHidden}))}initCheckboxColumn(){"multiClick"===this.selectionType&&this.localColumns.unshift({prop:void 0,resizeable:!1,sortable:!1,draggable:!1,checkboxable:!1,canAutoResize:!1,cellClass:"cd-datatable-checkbox",cellTemplate:this.rowSelectionTpl,width:30})}initExpandCollapseColumn(){this.hasDetails&&this.localColumns.unshift({prop:void 0,resizeable:!1,sortable:!1,draggable:!1,isHidden:!1,canAutoResize:!1,cellClass:"cd-datatable-expand-collapse",width:40,cellTemplate:this.rowDetailsTpl})}filterHiddenColumns(){this.tableColumns=this.localColumns.filter(Ge=>!Ge.isHidden)}initColumnFilters(){let Ge=u().filter(this.localColumns,{filterable:!0});Ge=[...Ge,...this.extraFilterableColumns],this.columnFilters=Ge.map(Ot=>({column:Ot,options:[],value:Ot.filterInitValue?this.createColumnFilterOption(Ot.filterInitValue,Ot.pipe):void 0})),this.selectedFilter=u().first(this.columnFilters)}createColumnFilterOption(Ge,Ot){return{raw:u().toString(Ge),formatted:Ot?Ot.transform(Ge):u().toString(Ge)}}updateColumnFilterOptions(){this.columnFilters.forEach(Ge=>{let Ot=[];if(u().isUndefined(Ge.column.filterOptions)){const wr=u().filter(u().map(this.data,Ge.column.prop),Ti=>u().isString(Ti)&&""!==Ti||u().isBoolean(Ti)||u().isFinite(Ti)||u().isDate(Ti));Ot=u().sortedUniq(wr.sort())}else Ot=Ge.column.filterOptions;const mn=Ot.map(wr=>this.createColumnFilterOption(wr,Ge.column.pipe));Ge.value&&u().isUndefined(u().find(mn,{raw:Ge.value.raw}))&&(Ge.value=void 0),Ge.options=mn})}onSelectFilter(Ge){this.selectedFilter=Ge}onChangeFilter(Ge,Ot){Ge.value=u().isEqual(Ge.value,Ot)?void 0:Ot,this.updateFilter()}doColumnFiltering(){const Ge=[];let Ot=[...this.data],mn=[];return this.columnFilters.forEach(wr=>{if(void 0===wr.value)return;Ge.push({name:wr.column.name,prop:wr.column.prop,value:wr.value});const Ti=u().partition(Ot,Ci=>{const Ko=(0,a.Hg)(wr.column.prop)(Ci,wr.column.prop);return u().isUndefined(wr.column.filterPredicate)?`${Ko}`===wr.value.raw:wr.column.filterPredicate(Ci,wr.value.raw)});Ot=Ti[0],mn=[...mn,...Ti[1]]}),this.columnFiltersChanged.emit({filters:Ge,data:Ot,dataOut:mn}),u().forEach(this.selection.selected,wr=>{void 0===u().find(Ot,{[this.identifier]:wr[this.identifier]})&&(this.selection=new D.r,this.onSelect(this.selection))}),Ot}ngOnDestroy(){this.reloadSubscriber&&this.reloadSubscriber.unsubscribe(),this.saveSubscriber&&this.saveSubscriber.unsubscribe()}ngAfterContentChecked(){this.table&&this.table.element.clientWidth!==this.currentWidth&&(this.currentWidth=this.table.element.clientWidth,this.table.recalculate(),u().get(this.table,"cd").markForCheck())}_addTemplates(){this.cellTemplates.bold=this.tableCellBoldTpl,this.cellTemplates.checkIcon=this.checkIconTpl,this.cellTemplates.sparkline=this.sparklineTpl,this.cellTemplates.routerLink=this.routerLinkTpl,this.cellTemplates.perSecond=this.perSecondTpl,this.cellTemplates.executing=this.executingTpl,this.cellTemplates.classAdding=this.classAddingTpl,this.cellTemplates.badge=this.badgeTpl,this.cellTemplates.map=this.mapTpl,this.cellTemplates.truncate=this.truncateTpl,this.cellTemplates.timeAgo=this.timeAgoTpl,this.cellTemplates.path=this.pathTpl}useCustomClass(Ge){if(!this.customCss)throw new Error("Custom classes are not set!");const Ot=Object.keys(this.customCss),mn=Object.values(this.customCss).map((wr,Ti)=>(u().isFunction(wr)&&wr(Ge)||wr===Ge)&&Ot[Ti]).filter(wr=>wr).join(" ");return u().isEmpty(mn)?void 0:mn}ngOnChanges(Ge){Ge.data&&Ge.data.currentValue&&this.useData()}setLimit(Ge){const Ot=Number(Ge.target.value);Ot>0&&(this.maxLimit&&Ot>this.maxLimit?(this.userConfig.limit=this.maxLimit,Ge.srcElement.value=this.maxLimit):this.userConfig.limit=Ot),this.serverSide&&this.reloadData()}reloadData(){if(!this.updating){this.status=new m.c;const Ge=new w.E(()=>{Ge.errorConfig.displayError&&(this.status=new m.c("danger","Failed to load data.")),Ge.errorConfig.resetData&&(this.data=[]),this.useData()});if(Ge.pageInfo.offset=this.userConfig.offset,Ge.pageInfo.limit=this.userConfig.limit,Ge.search=this.userConfig.search,this.userConfig.sorts?.length){const Ot=this.userConfig.sorts[0];Ge.sort=`${"desc"===Ot.dir?"-":"+"}${Ot.prop}`}this.fetchData.emit(Ge),this.updating=!0}}refreshBtn(){this.loadingIndicator=!0,this.reloadData()}changePage(Ge){this.userConfig.offset=Ge.offset,this.userConfig.limit=Ge.limit,this.serverSide&&this.reloadData()}rowIdentity(){return Ge=>{const Ot=Ge[this.identifier];if(u().isUndefined(Ot))throw new Error(`Wrong identifier "${this.identifier}" -> "${Ot}"`);return Ot}}useData(){this.data&&(this.updateColumnFilterOptions(),this.updateFilter(),this.reset(),this.updateSelected(),this.updateExpanded())}reset(){this.loadingIndicator=!1,this.updating=!1}updateSelected(){if("never"===this.updateSelectionOnRefresh)return;const Ge=new Set;this.selection.selected.forEach(mn=>{for(const wr of this.data)mn[this.identifier]===wr[this.identifier]&&Ge.add(wr)});const Ot=Array.from(Ge.values());"onChange"===this.updateSelectionOnRefresh&&u().isEqual(this.selection.selected,Ot)||(this.selection.selected=Ot,this.onSelect(this.selection))}updateExpanded(){if(u().isUndefined(this.expanded)||"never"===this.updateExpandedOnRefresh)return;const Ge=this.expanded[this.identifier],Ot=u().find(this.data,mn=>Ge===mn[this.identifier]);"onChange"===this.updateExpandedOnRefresh&&u().isEqual(this.expanded,Ot)||(this.expanded=Ot,this.setExpandedRow.emit(Ot))}onSelect(Ge){u().has(Ge,"selected")&&(this.selection.selected=Ge.selected),this.updateSelection.emit(u().clone(this.selection))}toggleColumn(Ge){const Ot=Ge.prop,mn=!Ge.isHidden;mn&&1===this.tableColumns.length?Ge.isHidden=!0:(u().find(this.localColumns,wr=>wr.prop===Ot).isHidden=mn,this.updateColumns())}updateColumns(){this.updateUserColumns(),this.filterHiddenColumns();const Ge=this.userConfig.sorts[0].prop;u().find(this.tableColumns,Ot=>Ot.prop===Ge)||(this.userConfig.sorts=this.createSortingDefinition(this.tableColumns[0].prop)),this.table.recalculate(),this.cdRef.detectChanges()}createSortingDefinition(Ge){return[{prop:Ge,dir:a.Sr.asc}]}changeSorting({sorts:Ge}){this.userConfig.sorts=Ge,this.serverSide&&(this.userConfig.offset=0,this.reloadData())}onClearSearch(){this.search="",this.updateFilter()}onClearFilters(){this.columnFilters.forEach(Ge=>{Ge.value=void 0}),this.selectedFilter=u().first(this.columnFilters),this.updateFilter()}updateFilter(){if(this.serverSide)this.userConfig.search!==this.search&&(this.userConfig.offset=0,this.userConfig.limit=this.limit,this.userConfig.search=this.search,this.updating=!1,this.reloadData()),this.rows=this.data;else{let Ge=0!==this.columnFilters.length?this.doColumnFiltering():this.data;if(this.search.length>0&&Ge){const Ot=this.localColumns.filter(mn=>mn.cellTransformation!==T.e.sparkline);Ge=this.subSearch(Ge,Zt.prepareSearch(this.search),Ot),this.table.offset=0}this.rows=Ge}}subSearch(Ge,Ot,mn){if(0===Ot.length||0===Ge.length)return Ge;const wr=Ot.pop().replace(/\+/g," ").split(":"),Ti=[...mn];return 2===wr.length&&(mn=Ti.filter(Ci=>-1!==Ci.name.toLowerCase().indexOf(wr[0]))),Ge=this.basicDataSearch(u().last(wr),Ge,mn),this.subSearch(Ge,Ot,Ti)}basicDataSearch(Ge,Ot,mn){return 0===Ge.length?Ot:Ot.filter(wr=>mn.filter(Ti=>{let Ci=u().get(wr,Ti.prop);if(u().isUndefined(Ti.pipe)||(Ci=Ti.pipe.transform(Ci)),u().isUndefined(Ci)||u().isNull(Ci))return!1;if(u().isObjectLike(Ci)){if(!this.searchableObjects)return!1;Ci=JSON.stringify(Ci)}return u().isArray(Ci)?Ci=Ci.join(" "):(u().isNumber(Ci)||u().isBoolean(Ci))&&(Ci=Ci.toString()),-1!==Ci.toLowerCase().indexOf(Ge)}).length>0)}getRowClass(){return()=>({clickable:!u().isUndefined(this.selectionType)})}toggleExpandRow(Ge,Ot,mn){mn.stopPropagation(),Ot?(this.expanded=void 0,this.setExpandedRow.emit(void 0)):(this.expanded=Ge,this.table.rowDetail.collapseAllRows(),this.setExpandedRow.emit(Ge)),this.table.rowDetail.toggleExpandRow(Ge)}}return Zt.\u0275fac=function(Ge){return new(Ge||Zt)(r.Y36(r.sBO),r.Y36(U.f))},Zt.\u0275cmp=r.Xpm({type:Zt,selectors:[["cd-table"]],viewQuery:function(Ge,Ot){if(1&Ge&&(r.Gf(a.nE,7),r.Gf(qe,7),r.Gf(He,7),r.Gf(We,7),r.Gf(Le,7),r.Gf(Pt,7),r.Gf(it,7),r.Gf(Xt,7),r.Gf(cn,7),r.Gf(pn,7),r.Gf(Rn,7),r.Gf(At,7),r.Gf(qt,7),r.Gf(sn,7),r.Gf(fn,7)),2&Ge){let mn;r.iGM(mn=r.CRH())&&(Ot.table=mn.first),r.iGM(mn=r.CRH())&&(Ot.tableCellBoldTpl=mn.first),r.iGM(mn=r.CRH())&&(Ot.sparklineTpl=mn.first),r.iGM(mn=r.CRH())&&(Ot.routerLinkTpl=mn.first),r.iGM(mn=r.CRH())&&(Ot.checkIconTpl=mn.first),r.iGM(mn=r.CRH())&&(Ot.perSecondTpl=mn.first),r.iGM(mn=r.CRH())&&(Ot.executingTpl=mn.first),r.iGM(mn=r.CRH())&&(Ot.classAddingTpl=mn.first),r.iGM(mn=r.CRH())&&(Ot.badgeTpl=mn.first),r.iGM(mn=r.CRH())&&(Ot.mapTpl=mn.first),r.iGM(mn=r.CRH())&&(Ot.truncateTpl=mn.first),r.iGM(mn=r.CRH())&&(Ot.timeAgoTpl=mn.first),r.iGM(mn=r.CRH())&&(Ot.rowDetailsTpl=mn.first),r.iGM(mn=r.CRH())&&(Ot.rowSelectionTpl=mn.first),r.iGM(mn=r.CRH())&&(Ot.pathTpl=mn.first)}},inputs:{data:"data",columns:"columns",sorts:"sorts",columnMode:"columnMode",onlyActionHeader:"onlyActionHeader",toolHeader:"toolHeader",searchField:"searchField",header:"header",footer:"footer",limit:"limit",maxLimit:"maxLimit",hasDetails:"hasDetails",autoReload:"autoReload",identifier:"identifier",forceIdentifier:"forceIdentifier",selectionType:"selectionType",updateSelectionOnRefresh:"updateSelectionOnRefresh",updateExpandedOnRefresh:"updateExpandedOnRefresh",autoSave:"autoSave",searchableObjects:"searchableObjects",customCss:"customCss",extraFilterableColumns:"extraFilterableColumns",status:"status",serverSide:"serverSide",count:"count"},outputs:{fetchData:"fetchData",updateSelection:"updateSelection",setExpandedRow:"setExpandedRow",columnFiltersChanged:"columnFiltersChanged"},features:[r.TTD],ngContentSelectors:tr,decls:39,vars:21,consts:function(){let dn,Ge,Ot,mn,wr,Ti,Ci;return dn="Clear filters",Ge="selected",Ot="total",mn="found",wr="found",Ti="total",Ci="Expand/Collapse Row",[[1,"dataTables_wrapper"],["class","dataTables_header clearfix",4,"ngIf"],[1,"bootstrap","cd-datatable",3,"cssClasses","selectionType","selected","sorts","columns","columnMode","rows","rowClass","headerHeight","footerHeight","count","externalPaging","externalSorting","limit","offset","loadingIndicator","rowIdentity","rowHeight","select","sort","page"],["table",""],["ngx-datatable-cell-template",""],["rowSelectionTpl",""],["rowHeight","auto"],["detailRow",""],["ngx-datatable-row-detail-template",""],["ngx-datatable-footer-template",""],["tableCellBoldTpl",""],["sparklineTpl",""],["routerLinkTpl",""],["checkIconTpl",""],["perSecondTpl",""],["executingTpl",""],["classAddingTpl",""],["badgeTpl",""],["mapTpl",""],["truncateTpl",""],["rowDetailsTpl",""],["timeAgoTpl",""],["pathTpl",""],[1,"dataTables_header","clearfix"],[1,"cd-datatable-actions"],["class","btn-group widget-toolbar",4,"ngIf"],["class","input-group search",4,"ngIf"],["class","input-group dataTables_paginate",4,"ngIf"],[1,"widget-toolbar"],["ngbDropdown","","autoClose","outside",1,"tc_menuitem"],["ngbDropdownToggle","","title","toggle columns",1,"btn","btn-light","tc_columnBtn"],[3,"ngClass"],["ngbDropdownMenu",""],[4,"ngFor","ngForOf"],["class","widget-toolbar tc_refreshBtn",4,"ngIf"],[1,"btn-group","widget-toolbar"],["ngbDropdown","","placement","bottom-right",1,"tc_filter_name"],["ngbDropdownToggle","","title","Filter",1,"btn","btn-light"],["ngbDropdown","","placement","bottom-right",1,"tc_filter_option"],["ngbDropdownToggle","",1,"btn","btn-light"],["ngbDropdownItem","",3,"click"],[3,"ngClass",4,"ngIf"],[1,"input-group","search"],[1,"input-group-text"],["aria-label","search","type","text",1,"form-control",3,"ngModel","ngModelChange","keyup"],["type","button","title","Clear",1,"btn","btn-light",3,"click"],[1,"input-group","dataTables_paginate"],["aria-label","table pagination","type","number","min","1","max","9999",1,"form-control",3,"value","click","keyup","blur"],["ngbDropdownItem","",3,"click",4,"ngIf"],[1,"custom-control","custom-checkbox","py-0"],["type","checkbox",1,"custom-control-input",3,"name","id","checked"],[1,"custom-control-label",3,"for"],[1,"widget-toolbar","tc_refreshBtn"],["type","button","title","Refresh",3,"ngbTooltip","click"],[1,"filter-chips"],["href","",1,"tc_clearSelections",3,"click"],dn,["class","badge badge-info me-2",4,"ngIf"],[1,"badge","badge-info","me-2"],[1,"me-2"],[1,"badge-remove",3,"click"],["aria-hidden","true",3,"ngClass"],["type","checkbox",1,"cd-datatable-checkbox",3,"checked"],[1,"page-count"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["serverSideTpl",""],[3,"page","size","count","hidden","pageChange"],Ge,Ot,mn,wr,Ti,[3,"data","isBinary"],[3,"routerLink","queryParams"],[3,"ngClass","hidden"],["class","badge",3,"ngClass",4,"ngIf"],[1,"badge",3,"ngClass"],["data-toggle","tooltip",3,"title"],["href","javascript:void(0)","title",Ci,1,"expand-collapse-icon","tc_expand-collapse",3,"click"],["data-toggle","tooltip",1,"font-monospace",3,"title"],[3,"source","byId","showIconOnly",4,"ngIf"],[3,"source","byId","showIconOnly"]]},template:function(Ge,Ot){1&Ge&&(r.F$t(Pr),r.TgZ(0,"div",0),r.YNc(1,xn,3,0,"div",1),r.YNc(2,jn,13,9,"div",1),r.YNc(3,Wi,6,1,"div",1),r.TgZ(4,"ngx-datatable",2,3),r.NdJ("select",function(wr){return Ot.onSelect(wr)})("sort",function(wr){return Ot.changeSorting(wr)})("page",function(wr){return Ot.changePage(wr)}),r.YNc(6,so,1,2,"ng-template",4,5,r.W1O),r.TgZ(8,"ngx-datatable-row-detail",6,7),r.YNc(10,kr,1,0,"ng-template",8),r.qZA(),r.TgZ(11,"ngx-datatable-footer"),r.YNc(12,Eo,6,7,"ng-template",9),r.qZA()()(),r.YNc(13,po,2,1,"ng-template",null,10,r.W1O),r.YNc(15,$i,1,2,"ng-template",null,11,r.W1O),r.YNc(17,qr,2,5,"ng-template",null,12,r.W1O),r.YNc(19,Hi,2,6,"ng-template",null,13,r.W1O),r.YNc(21,Dn,2,3,"ng-template",null,14,r.W1O),r.YNc(23,Fe,4,4,"ng-template",null,15,r.W1O),r.YNc(25,Ie,3,8,"ng-template",null,16,r.W1O),r.YNc(27,lt,2,3,"ng-template",null,17,r.W1O),r.YNc(29,Rt,3,4,"ng-template",null,18,r.W1O),r.YNc(31,Pe,3,6,"ng-template",null,19,r.W1O),r.YNc(33,qn,1,4,"ng-template",4,20,r.W1O),r.YNc(35,gr,4,6,"ng-template",null,21,r.W1O),r.YNc(37,_r,4,5,"ng-template",null,22,r.W1O)),2&Ge&&(r.xp6(1),r.Q6J("ngIf",Ot.onlyActionHeader),r.xp6(1),r.Q6J("ngIf",Ot.toolHeader),r.xp6(1),r.Q6J("ngIf",Ot.toolHeader&&Ot.columnFiltered),r.xp6(1),r.Q6J("cssClasses",Ot.paginationClasses)("selectionType",Ot.selectionType)("selected",Ot.selection.selected)("sorts",Ot.userConfig.sorts)("columns",Ot.tableColumns)("columnMode",Ot.columnMode)("rows",Ot.rows)("rowClass",Ot.getRowClass())("headerHeight",Ot.header?"auto":0)("footerHeight",Ot.footer?"auto":0)("count",Ot.count)("externalPaging",Ot.serverSide)("externalSorting",Ot.serverSide)("limit",Ot.userConfig.limit>0?Ot.userConfig.limit:void 0)("offset",Ot.userConfig.offset>=0?Ot.userConfig.offset:0)("loadingIndicator",Ot.loadingIndicator)("rowIdentity",Ot.rowIdentity())("rowHeight","auto"))},dependencies:[W.mk,W.sg,W.O5,a.nE,a.$7,a.AR,a.vq,a.ii,a.dX,$.Fj,$.JJ,$.On,J.jt,J.iD,J.Vi,J.TH,J._L,F.l,X.s,de.rH,V,ce.i,se.I,fe.i,Te.n,$e.h,ge.N,Et.b,ot.W,ct],styles:['.dataTables_wrapper[_ngcontent-%COMP%]{margin-bottom:25px;max-width:99.9%}.dataTables_wrapper[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{border-left:1px solid rgba(0,0,0,.09);display:inline-block;height:30px;margin-left:5px;padding-left:5px;vertical-align:middle}.dataTables_wrapper[_ngcontent-%COMP%] .widget-toolbar[_ngcontent-%COMP%]{border-left:1px solid rgba(0,0,0,.09);float:right;padding:0 8px}.dataTables_wrapper[_ngcontent-%COMP%] .widget-toolbar[_ngcontent-%COMP%] .form-check[_ngcontent-%COMP%]{padding-left:0}.dataTables_wrapper[_ngcontent-%COMP%] .dataTables_length[_ngcontent-%COMP%] > input[_ngcontent-%COMP%]{line-height:25px;text-align:right}.dataTables_header[_ngcontent-%COMP%]{background-color:#f8f9fa;border:1px solid #ced4da;border-bottom:0;padding:5px;position:relative}.dataTables_header[_ngcontent-%COMP%] .cd-datatable-actions[_ngcontent-%COMP%]{float:left}.dataTables_header[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{padding-left:8px}.dataTables_header[_ngcontent-%COMP%] .input-group[_ngcontent-%COMP%]{border-left:1px solid rgba(0,0,0,.09);float:right;max-width:250px;padding-left:8px;padding-right:8px;width:40%}.dataTables_header[_ngcontent-%COMP%] .input-group[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{height:30px}.dataTables_header[_ngcontent-%COMP%] .input-group.dataTables_paginate[_ngcontent-%COMP%]{min-width:85px;padding-right:8px;width:8%}.dataTables_header[_ngcontent-%COMP%] .filter-chips[_ngcontent-%COMP%]{float:right;padding:0 8px}.dataTables_header[_ngcontent-%COMP%] .filter-chips[_ngcontent-%COMP%] .badge-remove[_ngcontent-%COMP%]{color:#fff} cd-table .cd-datatable{border:1px solid #ced4da;margin-bottom:0;max-width:none!important} cd-table .cd-datatable .progress-linear{display:block;height:5px;margin:0;padding:0;position:relative;width:100%} cd-table .cd-datatable .progress-linear .container{background-color:#25828e} cd-table .cd-datatable .progress-linear .container .bar{background-color:#25828e;height:100%;left:0;overflow:hidden;position:absolute;width:100%} cd-table .cd-datatable .progress-linear .container .bar:before{animation:_ngcontent-%COMP%_progress-loading 3s linear infinite;background-color:#25828e;content:"";display:block;height:100%;left:-200px;position:absolute;width:200px} cd-table .cd-datatable .datatable-header{background-clip:padding-box;background-color:#f8f9fa;background-image:linear-gradient(to bottom,#f8f9fa 0,#e9ecef 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#fffafafa",endColorstr="#ffededed",GradientType=0)} cd-table .cd-datatable .datatable-header .sort-asc, cd-table .cd-datatable .datatable-header .sort-desc{color:#25828e} cd-table .cd-datatable .datatable-header .datatable-header-cell{border:0;border-bottom:1px solid #ced4da;border-left:1px solid #ced4da;padding:5px;font-weight:700;text-align:left} cd-table .cd-datatable .datatable-header .datatable-header-cell .datatable-header-cell-label:after{font-family:ForkAwesome;font-weight:400;height:9px;left:10px;line-height:12px;position:relative;vertical-align:baseline;width:12px} cd-table .cd-datatable .datatable-header .datatable-header-cell.sortable .datatable-header-cell-label:after{content:" \\f0dc"} cd-table .cd-datatable .datatable-header .datatable-header-cell.sortable.sort-active.sort-asc .datatable-header-cell-label:after{content:" \\f160"} cd-table .cd-datatable .datatable-header .datatable-header-cell.sortable.sort-active.sort-desc .datatable-header-cell-label:after{content:" \\f161"} cd-table .cd-datatable .datatable-header .datatable-header-cell:first-child{border-left:0} cd-table .cd-datatable .datatable-body{margin-bottom:-6px} cd-table .cd-datatable .datatable-body .empty-row{background-color:#aee3ea;font-style:italic;font-weight:700;padding-bottom:5px;padding-top:5px;text-align:center} cd-table .cd-datatable .datatable-body .datatable-body-row.clickable:hover .datatable-row-group{background-color:#aee3ea;transition-duration:.3s;transition-property:background;transition-timing-function:linear} cd-table .cd-datatable .datatable-body .datatable-body-row.datatable-row-even{background-color:#fff} cd-table .cd-datatable .datatable-body .datatable-body-row.datatable-row-odd{background-color:#fff} cd-table .cd-datatable .datatable-body .datatable-body-row.active, cd-table .cd-datatable .datatable-body .datatable-body-row.active:hover{background-color:#86d5df} cd-table .cd-datatable .datatable-body .datatable-body-row .datatable-body-cell{border:0;border-bottom:1px solid #ced4da;border-left:1px solid #ced4da;padding:5px} cd-table .cd-datatable .datatable-body .datatable-body-row .datatable-body-cell:first-child{border-left:0} cd-table .cd-datatable .datatable-body .datatable-body-row .datatable-body-cell .datatable-body-cell-label{display:block;height:100%} cd-table .cd-datatable .datatable-body .datatable-row-detail{border-bottom:2px solid #ced4da;overflow-y:visible!important;padding:20px} cd-table .cd-datatable .datatable-body .expand-collapse-icon{display:block;height:100%;text-align:center} cd-table .cd-datatable .datatable-body .expand-collapse-icon:hover{text-decoration:none} cd-table .cd-datatable .datatable-body .expand-collapse-icon-right:before{color:#212529;font-family:ForkAwesome,sans-serif;font-size:1rem;line-height:1;content:"\\f105"} cd-table .cd-datatable .datatable-body .expand-collapse-icon-down:before{color:#212529;font-family:ForkAwesome,sans-serif;font-size:1rem;line-height:1;content:"\\f107"} cd-table .cd-datatable .datatable-footer .selected-count, cd-table .cd-datatable .datatable-footer .page-count{font-style:italic;min-height:2rem;padding-left:.3rem;padding-top:.3rem} cd-table .cd-datatable .cd-datatable-checkbox{text-align:center} cd-table .cd-datatable .cd-datatable-checkbox:checked{accent-color:#25828e}@keyframes _ngcontent-%COMP%_progress-loading{0%{left:-200px;width:15%}50%{width:30%}70%{width:70%}80%{left:50%}95%{left:120%}to{left:100%}}'],changeDetection:0}),Zt})()},93523:(E,C,s)=>{"use strict";s.d(C,{G:()=>u,o:()=>c});var r=s(23815),a=s.n(r);function c(...m){switch(m.length){case 1:return e.apply(void 0,m);case 3:return f.apply(void 0,m);default:throw new Error}}function u(m,T,M){const w=`__ignore_${T}`;Array.isArray(m[w])?m[w].push(M):m[w]=[M]}function e(m){for(const T of Object.getOwnPropertyNames(m.prototype)){const M=Object.getOwnPropertyDescriptor(m.prototype,T);!(M.value instanceof Function)||"constructor"===T||(f(m.prototype,T,M),Object.defineProperty(m.prototype,T,M))}}function f(m,T,M){void 0===M&&(M=Object.getOwnPropertyDescriptor(m,T));const w=M.value;M.value=function(){const U=m[`__ignore_${T}`]||[],W=[];for(let J=0;J<arguments.length;J++)W[J]=a().isString(arguments[J])&&-1===U.indexOf(J)?encodeURIComponent(arguments[J]):arguments[J];return w.apply(this,W)}}},23240:(E,C,s)=>{"use strict";s.d(C,{w:()=>e});var r=s(23815),a=s.n(r),c=s(64537),u=s(47640);let e=(()=>{class f{constructor(T,M,w){this.templateRef=T,this.viewContainer=M,this.authStorageService=w,this.cdScopeMatchAll=!0}set cdScope(T){this.permissions=this.authStorageService.getPermissions(),this.isAuthorized(T)?this.viewContainer.createEmbeddedView(this.templateRef):this.viewContainer.clear()}isAuthorized(T){const M=this.cdScopeMatchAll?a().every:a().some;return a().isString(T)?a().get(this.permissions,[T,"read"],!1):a().isArray(T)?M(T,w=>this.permissions[w].read):!!a().isObject(T)&&M(T,(w,D)=>M(w,U=>this.permissions[D][U]))}}return f.\u0275fac=function(T){return new(T||f)(c.Y36(c.Rgc),c.Y36(c.s_b),c.Y36(u.j))},f.\u0275dir=c.lG2({type:f,selectors:[["","cdScope",""]],inputs:{cdScope:"cdScope",cdScopeMatchAll:"cdScopeMatchAll"}}),f})()},82945:(E,C,s)=>{"use strict";s.d(C,{U:()=>u});var r=s(23815),a=s.n(r),c=s(64537);let u=(()=>{class e{constructor(m){this.elementRef=m,this.focus=!0}ngAfterViewInit(){const m=this.elementRef.nativeElement;this.focus&&a().isFunction(m.focus)&&m.focus()}set autofocus(m){a().isBoolean(m)?this.focus=m:a().isFunction(m)&&(this.focus=m())}}return e.\u0275fac=function(m){return new(m||e)(c.Y36(c.SBq))},e.\u0275dir=c.lG2({type:e,selectors:[["","autofocus",""]],inputs:{autofocus:"autofocus"}}),e})()},17932:(E,C,s)=>{"use strict";s.d(C,{Q:()=>m});var r=s(64537),a=s(20092),c=s(23815),u=s.n(c),e=s(47557),f=s(28211);let m=(()=>{class T{constructor(w,D,U,W){this.elementRef=w,this.control=D,this.dimlessBinaryPipe=U,this.formatter=W,this.ngModelChange=new r.vpe,this.el=this.elementRef.nativeElement}ngOnInit(){this.setValue(this.el.value)}setValue(w){/^[\d.]+$/.test(w)?w+=this.defaultUnit||"m":w&&(this.control.control.setValue(w),this.control.control.addValidators(a.kI.pattern(/^[a-zA-Z\d. ]+$/)),this.control.control.updateValueAndValidity());const D=this.formatter.toBytes(w),U=this.round(D);this.el.value=this.dimlessBinaryPipe.transform(U),null!==D?(this.ngModelChange.emit(this.el.value),this.control.control.setValue(this.el.value)):(this.ngModelChange.emit(null),this.control.control.setValue(null))}round(w){if(null!==w&&0!==w){if(!u().isUndefined(this.minBytes)&&w<this.minBytes)return this.minBytes;if(!u().isUndefined(this.maxBytes)&&w>this.maxBytes)return this.maxBytes;if(!u().isUndefined(this.roundPower)){const D=Math.round(Math.log(w)/Math.log(this.roundPower));return Math.pow(this.roundPower,D)}}return w}onBlur(w){this.setValue(w)}}return T.\u0275fac=function(w){return new(w||T)(r.Y36(r.SBq),r.Y36(a.a5),r.Y36(e.$),r.Y36(f.H))},T.\u0275dir=r.lG2({type:T,selectors:[["","cdDimlessBinary",""]],hostBindings:function(w,D){1&w&&r.NdJ("blur",function(W){return D.onBlur(W.target.value)})},inputs:{minBytes:"minBytes",maxBytes:"maxBytes",roundPower:"roundPower",defaultUnit:"defaultUnit"},outputs:{ngModelChange:"ngModelChange"}}),T})()},35540:(E,C,s)=>{"use strict";s.d(C,{o:()=>a});var r=s(64537);let a=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275mod=r.oAB({type:c}),c.\u0275inj=r.cJS({}),c})()},87925:(E,C,s)=>{"use strict";s.d(C,{o:()=>u});var r=s(64537),a=s(84333),c=s(47640);let u=(()=>{class e{constructor(m,T,M){this.formScope=m,this.authStorageService=T,this.elementRef=M}ngAfterViewInit(){this.permissions=this.authStorageService.getPermissions();const m=this.formScope?.cdFormScope;m&&!this.permissions?.[m]?.update&&(this.elementRef.nativeElement.disabled=!0)}}return e.\u0275fac=function(m){return new(m||e)(r.Y36(a.T,8),r.Y36(c.j),r.Y36(r.SBq))},e.\u0275dir=r.lG2({type:e,selectors:[["input",3,"cdNoFormInputDisable",""],["select",3,"cdNoFormInputDisable",""],["button",3,"cdNoFormInputDisable",""],["","cdFormInputDisable",""]]}),e})()},63622:(E,C,s)=>{"use strict";s.d(C,{y:()=>e});var r=s(34501),a=s(8958),c=s(93614),u=s(64537);let e=(()=>{class f{constructor(T,M){this.templateRef=T,this.viewContainer=M}set cdFormLoading(T){let M;switch(this.viewContainer.clear(),T){case c.Q.Loading:M=this.resolveNgContent("Loading form data..."),this.viewContainer.createComponent(a.b,{projectableNodes:M});break;case c.Q.Ready:this.viewContainer.createEmbeddedView(this.templateRef);break;case c.Q.Error:M=this.resolveNgContent("Form data could not be loaded."),this.viewContainer.createComponent(r.G,{projectableNodes:M}).instance.type="error"}}resolveNgContent(T){return[[document.createTextNode(T)]]}}return f.\u0275fac=function(T){return new(T||f)(u.Y36(u.Rgc),u.Y36(u.s_b))},f.\u0275dir=u.lG2({type:f,selectors:[["","cdFormLoading",""]],inputs:{cdFormLoading:"cdFormLoading"}}),f})()},84333:(E,C,s)=>{"use strict";s.d(C,{T:()=>a});var r=s(64537);let a=(()=>{class c{}return c.\u0275fac=function(e){return new(e||c)},c.\u0275dir=r.lG2({type:c,selectors:[["","cdFormScope",""]],inputs:{cdFormScope:"cdFormScope"}}),c})()},94276:(E,C,s)=>{"use strict";s.d(C,{b:()=>u});var r=s(64537),a=s(20092);let u=(()=>{class e{get validClass(){return!!this.control&&this.control.valid&&(this.control.touched||this.control.dirty)}get invalidClass(){return!!this.control&&this.control.invalid&&this.control.touched&&this.control.dirty}get path(){return function c(e,f){return[...f.path,e]}(this.formControlName,this.parent)}get control(){return this.formDirective&&this.formDirective.getControl(this)}get formDirective(){return this.parent?this.parent.formDirective:null}constructor(m){this.parent=m}}return e.\u0275fac=function(m){return new(m||e)(r.Y36(a.gN,13))},e.\u0275dir=r.lG2({type:e,selectors:[["",8,"form-control"],["",8,"form-check-input"],["",8,"custom-control-input"]],hostVars:4,hostBindings:function(m,T){2&m&&r.ekj("is-valid",T.validClass)("is-invalid",T.invalidClass)},inputs:{formControlName:"formControlName",formControl:"formControl"}}),e})()},56310:(E,C,s)=>{"use strict";s.d(C,{P:()=>c});var r=s(20092),a=s(64537);let c=(()=>{class u{get hasErrors(){return this.formControlNames.some(f=>!f.valid&&f.dirty&&f.touched)&&!this.validationDisabled}get hasSuccess(){return!this.formControlNames.some(f=>!f.valid)&&this.formControlNames.some(f=>f.dirty&&f.touched)&&!this.validationDisabled}constructor(f){this.elRef=f,this.validationDisabled=!1}get label(){const f=this.elRef.nativeElement.querySelector("label");return f&&f.textContent?f.textContent.trim():"This field"}get isDirtyAndTouched(){return this.formControlNames.some(f=>f.dirty&&f.touched)}}return u.\u0275fac=function(f){return new(f||u)(a.Y36(a.SBq))},u.\u0275dir=a.lG2({type:u,selectors:[["",8,"form-group"]],contentQueries:function(f,m,T){if(1&f&&a.Suo(T,r.u,4),2&f){let M;a.iGM(M=a.CRH())&&(m.formControlNames=M)}},hostVars:4,hostBindings:function(f,m){2&f&&a.ekj("has-error",m.hasErrors)("has-success",m.hasSuccess)},inputs:{validationDisabled:"validationDisabled"}}),u})()},41582:(E,C,s)=>{"use strict";s.d(C,{V:()=>c});var r=s(64537),a=s(20092);let c=(()=>{class u{constructor(){this.validSubmit=new r.vpe}onSubmit(){this.markAsTouchedAndDirty(this.formGroup),this.formGroup.valid&&this.validSubmit.emit(this.formGroup.value)}markAsTouchedAndDirty(f){f instanceof a.nJ?Object.keys(f.controls).forEach(m=>this.markAsTouchedAndDirty(f.controls[m])):f instanceof a.vC?f.controls.forEach(m=>this.markAsTouchedAndDirty(m)):f instanceof a.p4&&f.enabled&&(f.markAsDirty(),f.markAsTouched(),f.updateValueAndValidity())}}return u.\u0275fac=function(f){return new(f||u)},u.\u0275dir=r.lG2({type:u,selectors:[["","formGroup",""]],hostBindings:function(f,m){1&f&&r.NdJ("submit",function(){return m.onSubmit()})},inputs:{formGroup:"formGroup"},outputs:{validSubmit:"validSubmit"}}),u})()},4416:(E,C,s)=>{"use strict";s.d(C,{C:()=>a});var r=s(64537);let a=(()=>{class c{constructor(e,f){this.elementRef=e,this.renderer=f}ngOnInit(){this.renderer.setAttribute(this.elementRef.nativeElement,"tabindex","-1"),this.iElement=this.renderer.createElement("i"),this.renderer.addClass(this.iElement,"fa"),this.renderer.appendChild(this.elementRef.nativeElement,this.iElement),this.update()}getInputElement(){return document.getElementById(this.cdPasswordButton)}update(){const e=this.getInputElement();e&&"text"===e.type?(this.renderer.removeClass(this.iElement,"fa-eye"),this.renderer.addClass(this.iElement,"fa-eye-slash")):(this.renderer.removeClass(this.iElement,"fa-eye-slash"),this.renderer.addClass(this.iElement,"fa-eye"))}onClick(){const e=this.getInputElement();e.type="password"===e.type?"text":"password",this.update()}}return c.\u0275fac=function(e){return new(e||c)(r.Y36(r.SBq),r.Y36(r.Qsj))},c.\u0275dir=r.lG2({type:c,selectors:[["","cdPasswordButton",""]],hostBindings:function(e,f){1&e&&r.NdJ("click",function(){return f.onClick()})},inputs:{cdPasswordButton:"cdPasswordButton"}}),c})()},59376:(E,C,s)=>{"use strict";s.d(C,{m:()=>c});var r=s(64537),a=s(51389);let c=(()=>{class u{constructor(f){this.nav=f,this.cdStatefulTabDefault="",this.localStorage=window.localStorage}ngOnInit(){const f=this.cdStatefulTabDefault||this.localStorage.getItem(`tabset_${this.cdStatefulTab}`);f&&this.nav.select(f)}onNavChange(f){this.cdStatefulTab&&f.nextId&&this.localStorage.setItem(`tabset_${this.cdStatefulTab}`,f.nextId)}}return u.\u0275fac=function(f){return new(f||u)(r.Y36(a.Pz,9))},u.\u0275dir=r.lG2({type:u,selectors:[["","cdStatefulTab",""]],hostBindings:function(f,m){1&f&&r.NdJ("navChange",function(M){return m.onNavChange(M)})},inputs:{cdStatefulTab:"cdStatefulTab",cdStatefulTabDefault:"cdStatefulTabDefault"}}),u})()},99466:(E,C,s)=>{"use strict";s.d(C,{e:()=>r});var r=(()=>{return(a=r||(r={})).bold="bold",a.sparkline="sparkline",a.perSecond="perSecond",a.checkIcon="checkIcon",a.routerLink="routerLink",a.executing="executing",a.classAdding="classAdding",a.badge="badge",a.map="map",a.truncate="truncate",a.timeAgo="timeAgo",a.path="path",r;var a})()},4167:(E,C,s)=>{"use strict";s.d(C,{p:()=>a,w:()=>r});var r=(()=>{return(c=r||(r={})).USEDCAPACITY="ceph_cluster_total_used_bytes",c.WRITEIOPS="sum(rate(ceph_pool_wr[1m]))",c.READIOPS="sum(rate(ceph_pool_rd[1m]))",c.READLATENCY="avg_over_time(ceph_osd_apply_latency_ms[1m])",c.WRITELATENCY="avg_over_time(ceph_osd_commit_latency_ms[1m])",c.READCLIENTTHROUGHPUT="sum(rate(ceph_pool_rd_bytes[1m]))",c.WRITECLIENTTHROUGHPUT="sum(rate(ceph_pool_wr_bytes[1m]))",c.RECOVERYBYTES="sum(rate(ceph_osd_recovery_bytes[1m]))",r;var c})(),a=(()=>{return(c=a||(a={})).RGW_REQUEST_PER_SECOND="sum(rate(ceph_rgw_req[1m]))",c.AVG_GET_LATENCY="sum(rate(ceph_rgw_get_initial_lat_sum[1m])) / sum(rate(ceph_rgw_get_initial_lat_count[1m]))",c.AVG_PUT_LATENCY="sum(rate(ceph_rgw_put_initial_lat_sum[1m])) / sum(rate(ceph_rgw_put_initial_lat_count[1m]))",c.GET_BANDWIDTH="sum(rate(ceph_rgw_get_b[1m]))",c.PUT_BANDWIDTH="sum(rate(ceph_rgw_put_b[1m]))",a;var c})()},43892:(E,C,s)=>{"use strict";s.d(C,{p:()=>r,y:()=>a});var r=(()=>{return(c=r||(r={})).HEALTH_ERR="fa fa-exclamation-circle",c.HEALTH_WARN="fa fa-exclamation-triangle",c.HEALTH_OK="fa fa-check-circle",r;var c})(),a=(()=>{return(c=a||(a={})).critical="danger",c.warning="warning",c.info="info",a;var c})()},65862:(E,C,s)=>{"use strict";s.d(C,{P:()=>r});var r=(()=>{return(a=r||(r={})).add="fa fa-plus",a.addCircle="fa fa-plus-circle",a.minusCircle="fa fa-minus-circle",a.edit="fa fa-pencil",a.destroy="fa fa-times",a.destroyCircle="fa fa-times-circle",a.exchange="fa fa-exchange",a.copy="fa fa-copy",a.clipboard="fa fa-clipboard",a.flatten="fa fa-chain-broken",a.trash="fa fa-trash-o",a.lock="fa fa-lock",a.unlock="fa fa-unlock",a.clone="fa fa-clone",a.undo="fa fa-undo",a.search="fa fa-search",a.start="fa fa-play",a.stop="fa fa-stop",a.analyse="fa fa-stethoscope",a.deepCheck="fa fa-cog",a.reweight="fa fa-balance-scale",a.up="fa fa-arrow-up",a.left="fa fa-arrow-left",a.right="fa fa-arrow-right",a.down="fa fa-arrow-down",a.erase="fa fa-eraser",a.user="fa fa-user",a.users="fa fa-users",a.share="fa fa-share-alt",a.key="fa fa-key-modern",a.warning="fa fa-exclamation-triangle",a.info="fa fa-info",a.infoCircle="fa fa-info-circle",a.questionCircle="fa fa-question-circle-o",a.danger="fa fa-exclamation-circle",a.success="fa fa-check-circle",a.check="fa fa-check",a.show="fa fa-eye",a.paragraph="fa fa-paragraph",a.terminal="fa fa-terminal",a.magic="fa fa-magic",a.hourglass="fa fa-hourglass-o",a.filledHourglass="fa fa-hourglass",a.table="fa fa-table",a.spinner="fa fa-spinner",a.refresh="fa fa-refresh",a.bullseye="fa fa-bullseye",a.disk="fa fa-hdd-o",a.server="fa fa-server",a.filter="fa fa-filter",a.lineChart="fa fa-line-chart",a.signOut="fa fa-sign-out",a.health="fa fa-heartbeat",a.circle="fa fa-circle",a.bell="fa fa-bell",a.mute="fa fa-bell-slash",a.tag="fa fa-tag",a.leftArrow="fa fa-angle-left",a.rightArrow="fa fa-angle-right",a.leftArrowDouble="fa fa-angle-double-left",a.rightArrowDouble="fa fa-angle-double-right",a.flag="fa fa-flag",a.clearFilters="fa fa-window-close",a.download="fa fa-download",a.upload="fa fa-upload",a.close="fa fa-times",a.json="fa fa-file-code-o",a.text="fa fa-file-text",a.wrench="fa fa-wrench",a.enter="fa fa-sign-in",a.exit="fa fa-sign-out",a.restart="fa fa-history",a.deploy="fa fa-cube",a.cubes="fa fa-cubes",a.large="fa fa-lg",a.large2x="fa fa-2x",a.large3x="fa fa-3x",a.stack="fa fa-stack",a.stack1x="fa fa-stack-1x",a.stack2x="fa fa-stack-2x",a.pulse="fa fa-pulse",a.spin="fa fa-spin",a.inverse="fa fa-inverse",r;var a})()},18001:(E,C,s)=>{"use strict";s.d(C,{k:()=>r});var r=(()=>{return(a=r||(r={}))[a.error=0]="error",a[a.info=1]="info",a[a.success=2]="success",r;var a})()},91801:(E,C,s)=>{"use strict";s.d(C,{T:()=>r});var r=(()=>{return(a=r||(r={}))[a.ValueOk=0]="ValueOk",a[a.ValueStale=1]="ValueStale",a[a.ValueNone=2]="ValueNone",a[a.ValueException=3]="ValueException",r;var a})()},62862:(E,C,s)=>{"use strict";s.d(C,{O:()=>u});var r=s(20092),a=s(95463),c=s(64537);let u=(()=>{class e extends r.QS{group(m,T=null){const M=super.group(m,T);return new a.d(M.controls,M.validator,M.asyncValidator)}}return e.\u0275fac=function(){let f;return function(T){return(f||(f=c.n5z(e)))(T||e)}}(),e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},95463:(E,C,s)=>{"use strict";s.d(C,{d:()=>a});var r=s(20092);class a extends r.nJ{constructor(u,e,f){super(u,e,f),this.controls=u}get(u){const e=this._get(u);if(!e)throw new Error(`Control '${u}' could not be found!`);return e}_get(u){return super.get(u)||Object.values(this.controls).filter(e=>e.get).map(e=>e instanceof a?e._get(u):e.get(u)).find(e=>Boolean(e))}getValue(u){return this.get(u).value}silentSet(u,e){this.get(u).setValue(e,{emitEvent:!1})}showError(u,e,f){const m=this.get(u);return(e?.submitted||m.dirty)&&(f?m.hasError(f):m.invalid)}}},93614:(E,C,s)=>{"use strict";s.d(C,{E:()=>a,Q:()=>r});var r=(()=>{return(c=r||(r={}))[c.Loading=0]="Loading",c[c.Ready=1]="Ready",c[c.Error=2]="Error",c[c.None=3]="None",r;var c})();class a{constructor(){this.loading=r.Loading}loadingStart(){this.loading=r.Loading}loadingReady(){this.loading=r.Ready}loadingError(){this.loading=r.Error}loadingNone(){this.loading=r.None}}},90070:(E,C,s)=>{"use strict";s.d(C,{h:()=>W,P:()=>U});var r=s(20092),a=s(23815),c=s.n(a),u=s(25917),e=s(46797),f=s(43190);function m($,J){return J?(0,f.w)(()=>$,J):(0,f.w)(()=>$)}var T=s(88002),M=s(15257),w=s(47557),D=s(28211);function U($){return null==$||0===$.length}class W{static email(J){return U(J.value)?null:r.kI.email(J)}static ip(J=0){const F=/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i,X=/^(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}$/i;return r.kI.pattern(4===J?F:6===J?X:new RegExp(F.source+"|"+X.source))}static number(J=!0){return r.kI.pattern(J?/^-?[0-9]+$/i:/^[0-9]+$/i)}static decimalNumber(J=!0){return r.kI.pattern(J?/^-?[0-9]+(.[0-9]+)?$/i:/^[0-9]+(.[0-9]+)?$/i)}static sslCert(){return r.kI.pattern(/^-----BEGIN CERTIFICATE-----(\n|\r|\f)((.+)?((\n|\r|\f).+)*)(\n|\r|\f)-----END CERTIFICATE-----[\n\r\f]*$/)}static sslPrivKey(){return r.kI.pattern(/^-----BEGIN RSA PRIVATE KEY-----(\n|\r|\f)((.+)?((\n|\r|\f).+)*)(\n|\r|\f)-----END RSA PRIVATE KEY-----[\n\r\f]*$/)}static pemCert(){return r.kI.pattern(/^-----BEGIN .+-----$.+^-----END .+-----$/ms)}static requiredIf(J,F){let X=!1;return de=>(!X&&de.parent&&(Object.keys(J).forEach(ce=>{de.parent.get(ce).valueChanges.subscribe(()=>{de.updateValueAndValidity({emitEvent:!1})})}),X=!0),Object.keys(J).every(ce=>{if(!de.parent)return!1;const se=de.parent.get(ce).value,fe=J[ce];if(c().isObjectLike(fe)){let Te=!1;switch(fe.op){case"empty":Te=c().isEmpty(se);break;case"!empty":Te=!c().isEmpty(se);break;case"equal":Te=se===fe.arg1;break;case"!equal":Te=se!==fe.arg1;break;case"minLength":c().isString(se)&&(Te=se.length>=fe.arg1)}return Te}return se===fe})&&(c().isFunction(F)?F.call(F,de.value):U(de.value))?{required:!0}:null)}static composeIf(J,F){let X=!1;return de=>(!X&&de.parent&&(Object.keys(J).forEach(V=>{de.parent.get(V).valueChanges.subscribe(()=>{de.updateValueAndValidity({emitEvent:!1})})}),X=!0),Object.keys(J).every(V=>de.parent&&de.parent.get(V).value===J[V])?r.kI.compose(F)(de):null)}static custom(J,F){return X=>{const de=F.call(this,X.value);return de?{[J]:de}:null}}static validateIf(J,F,X,de=[],V=[]){X=X.concat(de),J.setValidators(ce=>F.call(this)?r.kI.compose(X)(ce):de.length>0?r.kI.compose(de)(ce):null),V.forEach(ce=>{ce.valueChanges.subscribe(()=>{J.updateValueAndValidity({emitEvent:!1})})})}static match(J,F){return X=>{const de=X.get(J),V=X.get(F);if(!de||!V)return null;if(de.value!==V.value)V.setErrors({match:!0});else if(V.hasError("match")){const se=V.errors;c().unset(se,"match"),V.setErrors(c().isEmpty(c().keys(se))?null:se)}return null}}static unique(J,F=null,X,de=!1,V=""){let ce;return se=>se.pristine||U(se.value)?(0,u.of)(null):(ce=se.value,c().isFunction(X)&&null!==X()&&""!==X()&&(ce=de?`${se.value}$${X()}`:`${X()}$${se.value}`),(0,e.H)().pipe(m(J.call(F,ce,V)),(0,T.U)(fe=>fe?{notUnique:!0}:null),(0,M.q)(1)))}static uuid(J=!1){const F=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;return X=>X.pristine&&X.untouched||!J&&!X.value||F.test(X.value)?null:{invalidUuid:"This is not a valid UUID"}}static binaryMin(J){return F=>{const X=new D.H,de=(new D.H).toBytes(F.value);if(J<=de)return null;const V=new w.$(X).transform(J);return{binaryMin:()=>"Size has to be at least " + V + " or more"}}}static binaryMax(J){return F=>{const X=new D.H,de=X.toBytes(F.value);if(J>=de)return null;const V=new w.$(X).transform(J);return{binaryMax:()=>"Size has to be at most " + V + " or less"}}}static passwordPolicy(J,F,X){return de=>{if(de.pristine||""===de.value)return c().isFunction(X)&&X(!0,0),(0,u.of)(null);let V;return c().isFunction(F)&&(V=F()),(0,e.H)(500).pipe(m(c().invoke(J,"validatePassword",de.value,V)),(0,T.U)(ce=>(c().isFunction(X)&&X(ce.valid,ce.credits,ce.valuation),ce.valid?null:{passwordPolicy:!0})),(0,M.q)(1))}}static bucketName(){return J=>{if(J.pristine||!J.value)return(0,u.of)({required:!0});const F=[];let X;return F.push(()=>{const ce=J.value;let se=!0;return(/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/i.test(ce)||/^(?:[a-f0-9]{1,4}:){7}[a-f0-9]{1,4}$/i.test(ce))&&(X="ipAddress",se=!1),se}),F.push(de=>c().inRange(de.length,3,64)?!!/^[0-9a-z.-]+$/.test(J.value)||(X="bucketNameInvalid",!1):(X="shouldBeInRange",!1)),F.push(de=>{const V=c().split(de,".");return c().every(V,ce=>ce!==c().toLower(ce)||ce.includes("_")?(X="containsUpperCase",!1):/^[0-9a-z-]+$/.test(ce)?c().every([0,ce.length-1],se=>(X="lowerCaseOrNumber",/[a-z]/.test(ce[se])||c().isInteger(c().parseInt(ce[se])))):(X="onlyLowerCaseAndNumbers",!1))}),c().every(F,de=>de(J.value))?(0,u.of)(null):(0,u.of)((()=>{switch(X){case"onlyLowerCaseAndNumbers":return{onlyLowerCaseAndNumbers:!0};case"shouldBeInRange":return{shouldBeInRange:!0};case"ipAddress":return{ipAddress:!0};case"containsUpperCase":return{containsUpperCase:!0};case"lowerCaseOrNumber":return{lowerCaseOrNumber:!0};default:return{bucketNameInvalid:!0}}})())}}static bucketExistence(J,F){return X=>X.pristine||!X.value?(0,u.of)({required:!0}):F.exists(X.value).pipe((0,T.U)(de=>de===J?null:{bucketNameNotAllowed:!0}))}}},83357:(E,C,s)=>{"use strict";s.d(C,{U:()=>X});var r=s(8239),a=s(61424),c=s(32337),u=s(76111),e=s(20092),f=s(19773),m=s(23815),T=s.n(m),M=s(64537),w=s(54247),D=s(88692),U=s(30839),W=s(13066);const $=function(de){return{formState:de}};function J(de,V){if(1&de){const ce=M.EpF();M.TgZ(0,"form",6),M.NdJ("ngSubmit",function(){M.CHM(ce);const fe=M.oxw().ngIf,Te=M.oxw();return M.KtG(Te.submit(Te.model,fe.taskInfo))}),M.TgZ(1,"div",7),M._UZ(2,"formly-form",8),M.qZA(),M.TgZ(3,"div",9)(4,"cd-form-button-panel",10),M.NdJ("submitActionEvent",function(){M.CHM(ce);const fe=M.oxw().ngIf,Te=M.oxw();return M.KtG(Te.submit(Te.model,fe.taskInfo))}),M.qZA()()()}if(2&de){const ce=M.oxw().ngIf,se=M.oxw();M.Q6J("formGroup",se.form),M.xp6(2),M.Q6J("form",se.form)("fields",ce.controlSchema)("model",se.model)("options",M.VKq(8,$,ce.uiSchema)),M.xp6(2),M.Q6J("form",se.formDir)("submitText",ce.title)("disabled",!se.form.valid)}}function F(de,V){if(1&de&&(M.TgZ(0,"div",2)(1,"div",3),M.SDv(2,4),M.qZA(),M.YNc(3,J,5,10,"form",5),M.qZA()),2&de){const ce=V.ngIf;M.xp6(2),M.pQV(ce.title),M.QtT(2),M.xp6(1),M.Q6J("ngIf",ce.uiSchema)}}let X=(()=>{class de{constructor(ce,se,fe,Te,$e){this.dataGatewayService=ce,this.activatedRoute=se,this.taskWrapper=fe,this.location=Te,this.router=$e,this.model={},this.task={message:"",id:""},this.form=new e.nJ({}),this.key=""}ngOnInit(){this.activatedRoute.queryParamMap.subscribe(ce=>{this.formUISchema$=this.activatedRoute.data.pipe((0,f.zg)(fe=>{this.resource=fe.resource||this.resource;const Te="/"+this.activatedRoute.snapshot.url.join("/"),$e=ce.get("key")||"";return this.dataGatewayService.form(`ui-${this.resource}`,Te,$e)})),this.formUISchema$.subscribe(fe=>{this.methodType=fe.methodType,this.model=fe.model}),this.urlFormName=this.router.url.split("/").pop();const se=this.urlFormName.indexOf("?");se>0&&(this.urlFormName=this.urlFormName.substring(0,se))})}readFileAsText(ce){return(0,r.Z)(function*(){let se=new FileReader,fe="";return yield new Promise(Te=>{se.onload=$e=>{fe=se.result.toString(),Te(!0)},se.readAsText(ce)}),fe})()}preSubmit(ce){var se=this;return(0,r.Z)(function*(){for(const[fe,Te]of Object.entries(ce))if(Te instanceof FileList){let $e=Te[0],ge=yield se.readFileAsText($e);ce[fe]=ge}})()}submit(ce,se){var fe=this;return(0,r.Z)(function*(){if(ce){let Te={};T().forEach(se.metadataFields,$e=>{Te[$e]=ce[$e]}),Te.__message=se.message,yield fe.preSubmit(ce),fe.taskWrapper.wrapTaskAroundCall({task:new u.R(`crud-component/${fe.urlFormName}`,Te),call:fe.dataGatewayService.submit(fe.resource,ce,fe.methodType)}).subscribe({complete:()=>{fe.location.back()}})}})()}}return de.\u0275fac=function(ce){return new(ce||de)(M.Y36(a.n),M.Y36(w.gz),M.Y36(c.P),M.Y36(D.Ye),M.Y36(w.F0))},de.\u0275cmp=M.Xpm({type:de,selectors:[["cd-crud-form"]],decls:3,vars:3,consts:function(){let V;return V="" + "\ufffd0\ufffd" + "",[[1,"cd-col-form"],["class","card pb-0",4,"ngIf"],[1,"card","pb-0"],[1,"card-header"],V,[3,"formGroup","ngSubmit",4,"ngIf"],[3,"formGroup","ngSubmit"],[1,"card-body","position-relative"],[3,"form","fields","model","options"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","disabled","submitActionEvent"]]},template:function(ce,se){1&ce&&(M.TgZ(0,"div",0),M.YNc(1,F,4,2,"div",1),M.ALo(2,"async"),M.qZA()),2&ce&&(M.xp6(1),M.Q6J("ngIf",M.lcZ(2,1,se.formUISchema$)))},dependencies:[D.O5,e._Y,e.JL,U.p,e.sg,W.T7,D.Ov],styles:["json-schema-form label.control-label.hidden{display:none} json-schema-form .form-group.schema-form-submit p{display:none} json-schema-form legend{font-weight:100!important} json-schema-form .card-footer{border:1px solid rgba(0,0,0,.125);left:-1px;width:-webkit-fill-available;width:-moz-available}"]}),de})()},67464:(E,C,s)=>{"use strict";s.d(C,{l:()=>W});var r=s(13066),a=s(23815),u=s(65862),e=s(64537),f=s(88692);function m($,J){if(1&$&&(e.TgZ(0,"legend",6),e.SDv(1,7),e.qZA()),2&$){const F=e.oxw();e.xp6(1),e.pQV(F.props.label),e.QtT(1)}}function T($,J){if(1&$&&(e.TgZ(0,"p"),e.SDv(1,8),e.qZA()),2&$){const F=e.oxw();e.xp6(1),e.pQV(F.props.description),e.QtT(1)}}function M($,J){if(1&$){const F=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(){e.CHM(F);const de=e.oxw().index,V=e.oxw();return e.KtG(V.remove(de))}),e._UZ(1,"i",13),e.qZA()}if(2&$){const F=e.oxw(2);e.xp6(1),e.Q6J("ngClass",F.icons.trash)}}function w($,J){if(1&$){const F=e.EpF();e.TgZ(0,"div",9),e._UZ(1,"formly-field",10),e.TgZ(2,"div",11)(3,"button",12),e.NdJ("click",function(){e.CHM(F);const de=e.oxw();return e.KtG(de.addWrapper())}),e._UZ(4,"i",13),e.qZA(),e.YNc(5,M,2,1,"button",14),e.qZA()()}if(2&$){const F=J.$implicit,X=e.oxw();e.xp6(1),e.Q6J("field",F),e.xp6(3),e.Q6J("ngClass",X.icons.add),e.xp6(1),e.Q6J("ngIf",!1!==F.props.removable)}}function D($,J){if(1&$){const F=e.EpF();e.TgZ(0,"div",15)(1,"button",16),e.NdJ("click",function(){e.CHM(F);const de=e.oxw();return e.KtG(de.addWrapper())}),e.tHW(2,17),e._UZ(3,"i",13),e.N_p(),e.qZA()()}if(2&$){const F=e.oxw();e.xp6(3),e.Q6J("ngClass",F.icons.add),e.pQV(F.props.label),e.QtT(2)}}function U($,J){if(1&$&&(e.TgZ(0,"span",18),e._UZ(1,"formly-validation-message",19),e.qZA()),2&$){const F=e.oxw();e.xp6(1),e.Q6J("field",F.field)}}let W=(()=>{class $ extends r.hv{constructor(){super(...arguments),this.icons=u.P}ngOnInit(){this.propagateTemplateOptions()}addWrapper(){this.add(),this.propagateTemplateOptions()}propagateTemplateOptions(){(0,a.forEach)(this.field.fieldGroup,F=>{"object"==F.type&&(F.props.templateOptions=this.props.templateOptions.objectTemplateOptions)})}}return $.\u0275fac=function(){let J;return function(X){return(J||(J=e.n5z($)))(X||$)}}(),$.\u0275cmp=e.Xpm({type:$,selectors:[["cd-formly-array-type"]],features:[e.qOj],decls:6,vars:5,consts:function(){let J,F,X;return J="" + "\ufffd0\ufffd" + "",F="" + "\ufffd0\ufffd" + "",X="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " Add " + "\ufffd0\ufffd" + " ",[[1,"mb-3"],["class","cd-header mt-1",4,"ngIf"],[4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],["class","text-right",4,"ngIf"],["class","invalid-feedback","role","alert",4,"ngIf"],[1,"cd-header","mt-1"],J,F,[1,"d-flex"],[1,"col",3,"field"],[1,"action-btn"],["type","button",1,"btn","btn-light","ms-1",3,"click"],[3,"ngClass"],["class","btn btn-light ms-1","type","button",3,"click",4,"ngIf"],[1,"text-right"],["type","button",1,"btn","btn-light",3,"click"],X,["role","alert",1,"invalid-feedback"],[3,"field"]]},template:function(F,X){1&F&&(e.TgZ(0,"div",0),e.YNc(1,m,2,1,"legend",1),e.YNc(2,T,2,1,"p",2),e.YNc(3,w,6,3,"div",3),e.YNc(4,D,4,2,"div",4),e.YNc(5,U,2,1,"span",5),e.qZA()),2&F&&(e.xp6(1),e.Q6J("ngIf",X.props.label),e.xp6(1),e.Q6J("ngIf",X.props.description),e.xp6(1),e.Q6J("ngForOf",X.field.fieldGroup),e.xp6(1),e.Q6J("ngIf",0===X.field.fieldGroup.length),e.xp6(1),e.Q6J("ngIf",X.showError&&X.formControl.errors))},dependencies:[f.mk,f.sg,f.O5,r.cw,r.M2],styles:[".action-btn[_ngcontent-%COMP%]{margin-top:2.4rem}"]}),$})()},39054:(E,C,s)=>{"use strict";s.d(C,{v:()=>u});var r=s(13066),a=s(64537),c=s(20092);let u=(()=>{class e extends r.fS{}return e.\u0275fac=function(){let f;return function(T){return(f||(f=a.n5z(e)))(T||e)}}(),e.\u0275cmp=a.Xpm({type:e,selectors:[["cd-formly-input-type"]],features:[a.qOj],decls:1,vars:2,consts:[[1,"form-control","col-form-input",3,"formControl","formlyAttributes"]],template:function(m,T){1&m&&a._UZ(0,"input",0),2&m&&a.Q6J("formControl",T.formControl)("formlyAttributes",T.field)},dependencies:[c.Fj,c.JJ,c.oH,r.JD]}),e})()},39017:(E,C,s)=>{"use strict";s.d(C,{o:()=>T});var r=s(13066),a=s(64537),c=s(88692);function u(M,w){if(1&M&&(a.TgZ(0,"legend",6),a.SDv(1,7),a.qZA()),2&M){const D=a.oxw();a.xp6(1),a.pQV(D.props.label),a.QtT(1)}}function e(M,w){if(1&M&&(a.TgZ(0,"p"),a.SDv(1,8),a.qZA()),2&M){const D=a.oxw();a.xp6(1),a.pQV(D.props.description),a.QtT(1)}}function f(M,w){if(1&M&&(a.TgZ(0,"div",9),a._UZ(1,"formly-validation-message",10),a.qZA()),2&M){const D=a.oxw();a.xp6(1),a.Q6J("field",D.field)}}function m(M,w){1&M&&a._UZ(0,"formly-field",11),2&M&&a.Q6J("field",w.$implicit)}let T=(()=>{class M extends r.fS{get inputClass(){const D=this.props.templateOptions?.layoutType,U="d-flex justify-content-center align-content-stretch gap-3";return"row"==D?U+" flex-row":U+" flex-column"}}return M.\u0275fac=function(){let w;return function(U){return(w||(w=a.n5z(M)))(U||M)}}(),M.\u0275cmp=a.Xpm({type:M,selectors:[["cd-formly-object-type"]],features:[a.qOj],decls:6,vars:5,consts:function(){let w,D;return w="" + "\ufffd0\ufffd" + "",D="" + "\ufffd0\ufffd" + "",[[1,"mb-3"],["class","cd-col-form-label",4,"ngIf"],[4,"ngIf"],["class","alert alert-danger","role","alert",4,"ngIf"],[3,"ngClass"],["class","flex-grow-1",3,"field",4,"ngFor","ngForOf"],[1,"cd-col-form-label"],w,D,["role","alert",1,"alert","alert-danger"],[3,"field"],[1,"flex-grow-1",3,"field"]]},template:function(D,U){1&D&&(a.TgZ(0,"div",0),a.YNc(1,u,2,1,"legend",1),a.YNc(2,e,2,1,"p",2),a.YNc(3,f,2,1,"div",3),a.TgZ(4,"div",4),a.YNc(5,m,1,1,"formly-field",5),a.qZA()()),2&D&&(a.xp6(1),a.Q6J("ngIf",U.props.label),a.xp6(1),a.Q6J("ngIf",U.props.description),a.xp6(1),a.Q6J("ngIf",U.showError&&U.formControl.errors),a.xp6(1),a.Q6J("ngClass",U.inputClass),a.xp6(1),a.Q6J("ngForOf",U.field.fieldGroup))},dependencies:[c.mk,c.sg,c.O5,r.cw,r.M2]}),M})()},62351:(E,C,s)=>{"use strict";s.d(C,{M:()=>f,w:()=>m});var r=s(23815);function a(T){return new Promise((M,w)=>{T.value instanceof FileList&&(T.value[0].size>4096&&M({file_size:!0}),M(null)),M({not_a_file:!0})})}function c(T){return new Promise((M,w)=>{try{JSON.parse(T.value),M(null)}catch{M({json:!0})}})}function u(T){return new Promise((M,w)=>{T.value.match("^((/)|(/[!-~]+/))$")&&M(null),M({rgwRolePath:!0})})}function e(T){return new Promise((M,w)=>{T.value.match("^[0-9a-zA-Z_+=,.@-]+$")&&M(null),M({rgwRoleName:!0})})}function f(T,M){const w=M||T.options?.formState;return w?w.find(D=>D.key==T.key):{}}function m(T,M){const w=f(T,M);let D=[];(0,r.forEach)(w.validators,U=>{switch(U){case"json":D.push(c);break;case"rgwRoleName":D.push(e);break;case"rgwRolePath":D.push(u);break;case"file":D.push(a)}}),T.asyncValidators={validation:D}}},61355:(E,C,s)=>{"use strict";s.d(C,{T:()=>c,e:()=>u});var r=s(65862),a=s(18001);class c{constructor(f=a.k.info,m,T,M,w="Ceph"){this.type=f,this.title=m,this.message=T,this.options=M,this.application=w,this.isFinishedTask=!1,this.classes={Ceph:"ceph-icon",Prometheus:"prometheus-icon"},this.applicationClass=this.classes[this.application]}}class u extends c{constructor(f=new c){super(f.type,f.title,f.message,f.options,f.application),this.config=f,this.alertSilenced=!1,this.textClasses=["text-danger","text-info","text-success"],this.iconClasses=[r.P.warning,r.P.info,r.P.check],this.borderClasses=["border-danger","border-info","border-success"],delete this.config,this.timestamp=(new Date).toJSON(),this.iconClass=this.iconClasses[this.type],this.textClass=this.textClasses[this.type],this.borderClass=this.borderClasses[this.type],this.isFinishedTask=f.isFinishedTask}}},51907:(E,C,s)=>{"use strict";s.d(C,{G:()=>r});class r{constructor(c){this.pwdExpirationSpan=0,this.pwdExpirationSpan=c.user_pwd_expiration_span,this.pwdExpirationWarning1=c.user_pwd_expiration_warning_1,this.pwdExpirationWarning2=c.user_pwd_expiration_warning_2}}},48168:(E,C,s)=>{"use strict";s.d(C,{E:()=>u});var r=s(35732);class c{constructor(){this.offset=0,this.limit=10,this.pageSize=10}}class u{constructor(f){this.errorConfig={resetData:!0,displayError:!0},this.pageInfo=new c,this.search="",this.sort="+name",this.error=f}toParams(){return Number.isNaN(this.pageInfo.offset)&&(this.pageInfo.offset=0),null===this.pageInfo.limit&&(this.pageInfo.limit=0),this.search||(this.search=""),(!this.sort||this.sort.length<2)&&(this.sort="+name"),new r.LE({fromObject:{offset:String(this.pageInfo.offset*this.pageInfo.limit),limit:String(this.pageInfo.limit),search:this.search,sort:this.sort}})}}},68774:(E,C,s)=>{"use strict";s.d(C,{r:()=>r});class r{constructor(c){this._selected=[],c&&(this._selected=c),this.update()}update(){this.hasSelection=this._selected.length>0,this.hasSingleSelection=1===this._selected.length,this.hasMultiSelection=this._selected.length>1}set selected(c){this._selected=c,this.update()}get selected(){return this._selected}add(c){this._selected.push(c),this.update()}first(){return this.hasSelection?this._selected[0]:null}}},87311:(E,C,s)=>{"use strict";s.d(C,{h:()=>r});class r{constructor(c,u,e,f){this.customColors={backgroundColor:void 0,borderColor:void 0},this.checkOffset=!1,this.chartEl=c.nativeElement,this.getStyleLeft=e,this.getStyleTop=f,this.tooltipEl=u.nativeElement}customTooltips(c){if(0===c.opacity)return void(this.tooltipEl.style.opacity=0);if(this.tooltipEl.classList.remove("above","below","no-transform"),this.tooltipEl.classList.add(c.yAlign?c.yAlign:"no-transform"),c.body){const f=c.title||[],m=c.body.map(w=>w.lines);let T="<thead>";f.forEach(w=>{T+="<tr><th>"+this.getTitle(w)+"</th></tr>"}),T+="</thead><tbody>",m.forEach((w,D)=>{const U=c.labelColors[D];let W="background:"+(this.customColors.backgroundColor||U.backgroundColor);W+="; border-color:"+(this.customColors.borderColor||U.borderColor),W+="; border-width: 2px",T+='<tr><td nowrap><span class="chartjs-tooltip-key" style="'+W+'"></span>'+this.getBody(w)+"</td></tr>"}),T+="</tbody>",this.tooltipEl.querySelector("table").innerHTML=T}const u=this.chartEl.offsetTop,e=this.chartEl.offsetLeft;if(this.checkOffset){const f=c.width/2;this.tooltipEl.classList.remove("transform-left"),this.tooltipEl.classList.remove("transform-right"),c.caretX-f<0?this.tooltipEl.classList.add("transform-left"):c.caretX+f>this.chartEl.width&&this.tooltipEl.classList.add("transform-right")}this.tooltipEl.style.left=this.getStyleLeft(c,e),this.tooltipEl.style.top=this.getStyleTop(c,u),this.tooltipEl.style.opacity=1,this.tooltipEl.style.fontFamily=c._fontFamily,this.tooltipEl.style.fontSize=c.fontSize,this.tooltipEl.style.fontStyle=c._fontStyle,this.tooltipEl.style.padding=c.yPadding+"px "+c.xPadding+"px"}getBody(c){return c}getTitle(c){return c}}},30633:(E,C,s)=>{"use strict";s.d(C,{h:()=>r,r:()=>a});var r=(()=>{return(c=r||(r={}))[c.global=0]="global",c[c.pool=1]="pool",c[c.image=2]="image",r;var c})(),a=(()=>{return(c=a||(a={}))[c.bps=0]="bps",c[c.iops=1]="iops",c[c.milliseconds=2]="milliseconds",a;var c})()},60737:(E,C,s)=>{"use strict";s.d(C,{o:()=>a});var r=s(29075);class a extends r.i{}},76111:(E,C,s)=>{"use strict";s.d(C,{R:()=>a});var r=s(29075);class a extends r.i{}},19358:(E,C,s)=>{"use strict";s.d(C,{N:()=>r});class r{static fromString(c){const u=c.split("/");return new this(u[0],u.length>=3?u[1]:null,u.length>=3?u[2]:u[1])}constructor(c,u,e){this.poolName=c,this.namespace=u,this.imageName=e}getNameSpace(){return this.namespace?`${this.namespace}/`:""}toString(){return`${this.poolName}/${this.getNameSpace()}${this.imageName}`}toStringEncoded(){return encodeURIComponent(`${this.poolName}/${this.getNameSpace()}${this.imageName}`)}}},29075:(E,C,s)=>{"use strict";s.d(C,{i:()=>r});class r{constructor(c,u){this.name=c,this.metadata=u}}},47187:(E,C,s)=>{"use strict";s.d(C,{I:()=>u});var r=s(23815),a=s.n(r),c=s(64537);let u=(()=>{class e{transform(m,T=!1){let M=m;return(!a().isArray(m)||a().isArray(m)&&T)&&(M=[m]),M}}return e.\u0275fac=function(m){return new(m||e)},e.\u0275pipe=c.Yjl({name:"array",type:e,pure:!0}),e})()},68962:(E,C,s)=>{"use strict";s.d(C,{T:()=>a});var r=s(64537);let a=(()=>{class c{transform(e,f="Yes",m="No"){return Boolean(e)?f:m}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=r.Yjl({name:"booleanText",type:c,pure:!0}),c})()},70442:(E,C,s)=>{"use strict";s.d(C,{i:()=>a});var r=s(64537);let a=(()=>{class c{transform(e){let f=!1;switch(e){case!0:case 1:case"y":case"yes":case"t":case"true":case"on":case"1":f=!0}return f}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=r.Yjl({name:"boolean",type:c,pure:!0}),c})()},96102:(E,C,s)=>{"use strict";s.d(C,{N:()=>c});var r=s(64537),a=s(88692);let c=(()=>{class u{constructor(f){this.datePipe=f}transform(f){return null===f||""===f?"":this.datePipe.transform(f,"shortDate")+" "+this.datePipe.transform(f,"mediumTime")}}return u.\u0275fac=function(f){return new(f||u)(r.Y36(a.uU,16))},u.\u0275pipe=r.Yjl({name:"cdDate",type:u,pure:!0}),u})()},24310:(E,C,s)=>{"use strict";s.d(C,{t:()=>a});var r=s(64537);let a=(()=>{class c{transform(e){const f=/ceph version\s+[^ ]+\s+\(.+\)\s+(.+)\s+\((.+)\)/.exec(e);return f?"dev"===f[2]?"main":f[1]:e}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=r.Yjl({name:"cephReleaseName",type:c,pure:!0}),c})()},58111:(E,C,s)=>{"use strict";s.d(C,{F:()=>a});var r=s(64537);let a=(()=>{class c{transform(e){const f=/ceph version\s+([^ ]+)\s+\(.+\)/.exec(e);return f?f[1]:e}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=r.Yjl({name:"cephShortVersion",type:c,pure:!0}),c})()},20044:(E,C,s)=>{"use strict";s.d(C,{O:()=>c});var r=s(28211),a=s(64537);let c=(()=>{class u{constructor(f){this.formatter=f}transform(f,m=1){return this.formatter.format_number(f,1024,["B/s","KiB/s","MiB/s","GiB/s","TiB/s","PiB/s","EiB/s","ZiB/s","YiB/s"],m)}}return u.\u0275fac=function(f){return new(f||u)(a.Y36(r.H,16))},u.\u0275pipe=a.Yjl({name:"dimlessBinaryPerSecond",type:u,pure:!0}),u})()},47557:(E,C,s)=>{"use strict";s.d(C,{$:()=>c});var r=s(28211),a=s(64537);let c=(()=>{class u{constructor(f){this.formatter=f}transform(f,m=1){return this.formatter.format_number(f,1024,["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],m)}}return u.\u0275fac=function(f){return new(f||u)(a.Y36(r.H,16))},u.\u0275pipe=a.Yjl({name:"dimlessBinary",type:u,pure:!0}),u})()},66369:(E,C,s)=>{"use strict";s.d(C,{n:()=>c});var r=s(28211),a=s(64537);let c=(()=>{class u{constructor(f){this.formatter=f}transform(f,m=1){return this.formatter.format_number(f,1e3,["","k","M","G","T","P","E","Z","Y"],m)}}return u.\u0275fac=function(f){return new(f||u)(a.Y36(r.H,16))},u.\u0275pipe=a.Yjl({name:"dimless",type:u,pure:!0}),u})()},94088:(E,C,s)=>{"use strict";s.d(C,{u:()=>a});var r=s(64537);let a=(()=>{class c{transform(e){if(null===e||e<=0)return"";const f=[[`${Math.floor(e/31536e3)}`,"years"],[`${Math.floor(e%31536e3/86400)}`,"days"],[`${Math.floor(e%86400/3600)}`,"hours"],[`${Math.floor(e%3600/60)}`,"minutes"],[`${Math.floor(e%60)}`,"seconds"]];let m="";for(let T=0,M=f.length;T<M;T++)"0"!==f[T][0]&&(m+=" "+f[T][0]+" "+("1"===f[T][0]?f[T][1].substr(0,f[T][1].length-1):f[T][1]));return m.trim()||"1 second"}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=r.Yjl({name:"duration",type:c,pure:!1}),c})()},41039:(E,C,s)=>{"use strict";s.d(C,{W:()=>u});var r=s(23815),a=s.n(r),c=s(64537);let u=(()=>{class e{transform(m){return a().isUndefined(m)||a().isNull(m)?"-":a().isNaN(m)?"N/A":m}}return e.\u0275fac=function(m){return new(m||e)},e.\u0275pipe=c.Yjl({name:"empty",type:e,pure:!0}),e})()},9228:(E,C,s)=>{"use strict";s.d(C,{v:()=>c});var r=s(43892),a=s(64537);let c=(()=>{class u{transform(f){return Object.keys(r.p).includes(f)?r.p[f]:""}}return u.\u0275fac=function(f){return new(f||u)},u.\u0275pipe=a.Yjl({name:"healthIcon",type:u,pure:!0}),u})()},21766:(E,C,s)=>{"use strict";s.d(C,{A:()=>a});var r=s(64537);let a=(()=>{class c{transform(e){return`${e} IOPS`}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=r.Yjl({name:"iops",type:c,pure:!0}),c})()},88820:(E,C,s)=>{"use strict";s.d(C,{V:()=>a});var r=s(64537);let a=(()=>{class c{transform(e){return"user:rbd"===e?"user:rbd (tcmu-runner)":e}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=r.Yjl({name:"iscsiBackstore",type:c,pure:!0}),c})()},86969:(E,C,s)=>{"use strict";s.d(C,{A:()=>a});var r=s(64537);let a=(()=>{class c{transform(e){return e.join(", ")}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=r.Yjl({name:"join",type:c,pure:!0}),c})()},42746:(E,C,s)=>{"use strict";s.d(C,{e:()=>a});var r=s(64537);let a=(()=>{class c{transform(e){return"[DBG]"===e?"debug":"[INF]"===e?"info":"[WRN]"===e?"warn":"[ERR]"===e?"err":""}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=r.Yjl({name:"logPriority",type:c,pure:!0}),c})()},78877:(E,C,s)=>{"use strict";s.d(C,{b:()=>u});var r=s(23815),a=s.n(r),c=s(64537);let u=(()=>{class e{transform(m,T){return a().isPlainObject(T)?a().get(T,m,m):m}}return e.\u0275fac=function(m){return new(m||e)},e.\u0275pipe=c.Yjl({name:"map",type:e,pure:!0}),e})()},8074:(E,C,s)=>{"use strict";s.d(C,{F:()=>u});var r=s(23815),a=s.n(r),c=s(64537);let u=(()=>{class e{transform(m){if(!m)return{success:0,info:0,total:0};let T=0,M=0,w=0,D=0,U=0;return a().each(m.standbys,()=>{w+=1}),m.standbys&&!m.filesystems?(M=w,T=0):0===m.filesystems.length?T=0:(a().each(m.filesystems,J=>{a().each(J.mdsmap.info,F=>{"up:standby-replay"===F.state?U+=1:D+=1})}),T=D,M=w+U),{success:T,info:M,total:T+M}}}return e.\u0275fac=function(m){return new(m||e)},e.\u0275pipe=c.Yjl({name:"mdsSummary",type:e,pure:!0}),e})()},40473:(E,C,s)=>{"use strict";s.d(C,{c:()=>u});var r=s(23815),a=s.n(r),c=s(64537);let u=(()=>{class e{transform(m){if(!m)return{success:0,info:0,total:0};let T;(a().isUndefined(m.active_name)?"":`${"active daemon"}: ${m.active_name}`).length>0&&(T=1);const w=m.standbys.length;return{success:T,info:w,total:T+w}}}return e.\u0275fac=function(m){return new(m||e)},e.\u0275pipe=c.Yjl({name:"mgrSummary",type:e,pure:!0}),e})()},48537:(E,C,s)=>{"use strict";s.d(C,{J:()=>a});var r=s(64537);let a=(()=>{class c{transform(e){return`${e} ms`}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=r.Yjl({name:"milliseconds",type:c,pure:!0}),c})()},55657:(E,C,s)=>{"use strict";s.d(C,{g:()=>u});var r=s(23815),a=s.n(r),c=s(64537);let u=(()=>{class e{transform(m,T){return""===m?a().defaultTo(T,"n/a"):m}}return e.\u0275fac=function(m){return new(m||e)},e.\u0275pipe=c.Yjl({name:"notAvailable",type:e,pure:!0}),e})()},82799:(E,C,s)=>{"use strict";s.d(C,{f:()=>a});var r=s(64537);let a=(()=>{class c{transform(e,f=!1){if(!e)return[];const m=[],T=["---","--x","-w-","-wx","r--","r-x","rw-","rwx"],w=e.toString(8).padStart(7,"0").split(""),D=this.getFileTypeSymbol(parseInt(w[1]+w[2])),U=T[parseInt(w[4])],W=T[parseInt(w[5])],$=T[parseInt(w[6])];return f?{owner:this.getItem(U),group:this.getItem(W),others:this.getItem($)}:("directory"!==D&&m.push({content:D,class:"badge-primary me-1"}),"---"!==U&&m.push({content:`owner: ${U}`,class:"badge-primary me-1"}),"---"!==W&&m.push({content:`group: ${W}`,class:"badge-primary me-1"}),"---"!==$&&m.push({content:`others: ${$}`,class:"badge-primary me-1"}),0===m.length?[{content:"no permissions",class:"badge-warning me-1",toolTip:`owner: ${U}, group: ${W}, others: ${$}`}]:m)}getFileTypeSymbol(e){switch(e){case 1:return"fifo";case 2:return"character";case 4:return"directory";case 6:return"block";case 10:return"regular";case 12:return"symbolic-link";default:return"-"}}getItem(e){const f=[];return e.includes("r")&&f.push("read"),e.includes("w")&&f.push("write"),e.includes("x")&&f.push("execute"),f}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=r.Yjl({name:"octalToHumanReadable",type:c,pure:!0}),c})()},36569:(E,C,s)=>{"use strict";s.d(C,{f:()=>a});var r=s(64537);let a=(()=>{class c{transform(e){const f=parseInt(e,10);return isNaN(f)?e:e+(1===Math.floor(f/10)?"th":f%10==1?"st":f%10==2?"nd":f%10==3?"rd":"th")}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275pipe=r.Yjl({name:"ordinal",type:c,pure:!0}),c})()},67891:(E,C,s)=>{"use strict";s.d(C,{H:()=>u});var r=s(23815),a=s.n(r),c=s(64537);let u=(()=>{class e{transform(m){if(!m)return"";let T=0,M=0,w=0,D=0;return a().each(m.osds,J=>{J.in&&T++,J.up&&M++,J.state.includes("nearfull")&&w++,J.state.includes("full")&&D++}),{total:m.osds.length,down:m.osds.length-M,out:m.osds.length-T,up:M,in:T,nearfull:w,full:D}}}return e.\u0275fac=function(m){return new(m||e)},e.\u0275pipe=c.Yjl({name:"osdSummary",type:e,pure:!0}),e})()},12455:(E,C,s)=>{"use strict";s.d(C,{D:()=>Le});var r=s(88692),a=s(47187),c=s(68962),u=s(70442),e=s(96102),f=s(24310),m=s(58111),T=s(20044),M=s(47557),w=s(66369),D=s(94088),U=s(41039),W=s(64537);let $=(()=>{class Pt{transform(Xt){return encodeURIComponent(Xt)}}return Pt.\u0275fac=function(Xt){return new(Xt||Pt)},Pt.\u0275pipe=W.Yjl({name:"encodeUri",type:Pt,pure:!0}),Pt})();var J=s(9228),F=s(21766),X=s(88820),de=s(86969),V=s(42746),ce=s(78877),se=s(8074),fe=s(40473),Te=s(48537),$e=s(55657),ge=s(36569),Et=s(67891),ot=s(90068),ct=s(60793),qe=s(52821),He=s(10545),We=s(82799);let Le=(()=>{class Pt{}return Pt.\u0275fac=function(Xt){return new(Xt||Pt)},Pt.\u0275mod=W.oAB({type:Pt}),Pt.\u0275inj=W.cJS({providers:[a.I,u.i,c.T,r.uU,m.F,f.t,M.$,T.O,w.n,ot.h,X.V,de.A,V.e,e.N,U.W,$,ge.f,F.A,Te.J,$e.g,He.m,D.u,ce.b,qe.W,ct.A,J.v,fe.c,se.F,Et.H,We.f],imports:[r.ez]}),Pt})()},90068:(E,C,s)=>{"use strict";s.d(C,{h:()=>f});var r=s(23815),a=s.n(r),c=s(16738),u=s.n(c),e=s(64537);u().updateLocale("en",{relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}});let f=(()=>{class m{transform(M,w=!0){let D;const U=u()().utcOffset();if(D=a().isNumber(M)?u().parseZone(u().unix(M)).utc().utcOffset(U).local():u().parseZone(M).utc().utcOffset(U).local(),!D.isValid())return"";let W=D.fromNow();return w&&(W=a().upperFirst(W)),W}}return m.\u0275fac=function(M){return new(M||m)},m.\u0275pipe=e.Yjl({name:"relativeDate",type:m,pure:!1}),m})()},60793:(E,C,s)=>{"use strict";s.d(C,{A:()=>c});var r=s(64537),a=s(5998);let c=(()=>{class u{constructor(f){this.domSanitizer=f}transform(f){return this.domSanitizer.sanitize(r.q3G.HTML,f)}}return u.\u0275fac=function(f){return new(f||u)(r.Y36(a.H7,16))},u.\u0275pipe=r.Yjl({name:"sanitizeHtml",type:u,pure:!0}),u})()},52821:(E,C,s)=>{"use strict";s.d(C,{W:()=>u});var r=s(23815),a=s.n(r),c=s(64537);let u=(()=>{class e{transform(m,T,M){return a().isString(m)?(M=a().defaultTo(M,""),a().truncate(m,{length:T,omission:M})):m}}return e.\u0275fac=function(m){return new(m||e)},e.\u0275pipe=c.Yjl({name:"truncate",type:e,pure:!0}),e})()},10545:(E,C,s)=>{"use strict";s.d(C,{m:()=>u});var r=s(23815),a=s.n(r),c=s(64537);let u=(()=>{class e{transform(m){return a().upperFirst(m)}}return e.\u0275fac=function(m){return new(m||e)},e.\u0275pipe=c.Yjl({name:"upperFirst",type:e,pure:!0}),e})()},2817:(E,C,s)=>{"use strict";s.d(C,{r:()=>$});var r=s(22759);function a(J,F){function X(){return!X.pred.apply(X.thisArg,arguments)}return X.pred=J,X.thisArg=F,X}var c=s(19846),u=s(45435),e=s(70882),m=s(47349),T=s(46782),M=s(79765),w=s(85345);class U{constructor(F){this.notifier=F}call(F,X){return X.subscribe(new W(F,this.notifier,X))}}class W extends w.Ds{constructor(F,X,de){super(F),this.notifier=X,this.source=de,this.sourceIsBeingSubscribedTo=!0}notifyNext(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}notifyComplete(){if(!1===this.sourceIsBeingSubscribedTo)return super.complete()}complete(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return super.complete();this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}_unsubscribe(){const{notifications:F,retriesSubscription:X}=this;F&&(F.unsubscribe(),this.notifications=void 0),X&&(X.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}_unsubscribeAndRecycle(){const{_unsubscribe:F}=this;return this._unsubscribe=null,super._unsubscribeAndRecycle(),this._unsubscribe=F,this}subscribeToRetries(){let F;this.notifications=new M.xQ;try{const{notifier:X}=this;F=X(this.notifications)}catch{return super.complete()}this.retries=F,this.retriesSubscription=(0,w.ft)(F,new w.IY(this))}}function $(){const J=(0,r.R)(document,"visibilitychange").pipe((0,m.d)({refCount:!0,bufferSize:1})),[F,X]=function f(J,F,X){return[(0,u.h)(F,X)(new e.y((0,c.s)(J))),(0,u.h)(a(F,X))(new e.y((0,c.s)(J)))]}(J,()=>"visible"===document.visibilityState);return function(de){return de.pipe((0,T.R)(X),function D(J){return F=>F.lift(new U(J))}(()=>F))}}},45510:(E,C,s)=>{"use strict";s.d(C,{P:()=>u});var r=s(64537),a=s(54247),c=s(47640);let u=(()=>{class e{constructor(m,T){this.router=m,this.authStorageService=T}canActivate(m,T){return!!this.authStorageService.isLoggedIn()||(this.router.navigate(["/login"],{queryParams:{returnUrl:T.url}}),!1)}canActivateChild(m,T){return this.canActivate(m,T)}}return e.\u0275fac=function(m){return new(m||e)(r.LFG(a.F0),r.LFG(c.j))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},47640:(E,C,s)=>{"use strict";s.d(C,{j:()=>e});var r=s(26215);class a{constructor(m=[]){["read","create","update","delete"].forEach(T=>this[T]=m.includes(T))}}class c{constructor(m){this.hosts=new a(m.hosts),this.configOpt=new a(m["config-opt"]),this.pool=new a(m.pool),this.osd=new a(m.osd),this.monitor=new a(m.monitor),this.rbdImage=new a(m["rbd-image"]),this.iscsi=new a(m.iscsi),this.rbdMirroring=new a(m["rbd-mirroring"]),this.rgw=new a(m.rgw),this.cephfs=new a(m.cephfs),this.manager=new a(m.manager),this.log=new a(m.log),this.user=new a(m.user),this.grafana=new a(m.grafana),this.prometheus=new a(m.prometheus),this.nfs=new a(m["nfs-ganesha"])}}var u=s(64537);let e=(()=>{class f{constructor(){this.isPwdDisplayedSource=new r.X(!1),this.isPwdDisplayed$=this.isPwdDisplayedSource.asObservable()}set(T,M={},w=!1,D=null,U=!1){localStorage.setItem("dashboard_username",T),localStorage.setItem("dashboard_permissions",JSON.stringify(new c(M))),localStorage.setItem("user_pwd_expiration_date",String(D)),localStorage.setItem("user_pwd_update_required",String(U)),localStorage.setItem("sso",String(w))}remove(){localStorage.removeItem("dashboard_username"),localStorage.removeItem("user_pwd_expiration_data"),localStorage.removeItem("user_pwd_update_required")}isLoggedIn(){return null!==localStorage.getItem("dashboard_username")}getUsername(){return localStorage.getItem("dashboard_username")}getPermissions(){return JSON.parse(localStorage.getItem("dashboard_permissions")||JSON.stringify(new c({})))}getPwdExpirationDate(){return Number(localStorage.getItem("user_pwd_expiration_date"))}getPwdUpdateRequired(){return"true"===localStorage.getItem("user_pwd_update_required")}isSSO(){return"true"===localStorage.getItem("sso")}}return f.\u0275fac=function(T){return new(T||f)},f.\u0275prov=u.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},72427:(E,C,s)=>{"use strict";s.d(C,{v:()=>a});var r=s(64537);let a=(()=>{class c{constructor(){}static getCount(e){return Number(e.headers?.get("X-Total-Count"))}}return c.\u0275fac=function(e){return new(e||c)},c.\u0275prov=r.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})()},61424:(E,C,s)=>{"use strict";s.d(C,{n:()=>F});var r=s(88002),a=s(62351),c=s(64537),u=s(20092),e=s(13066),f=s(68307);function T(X){return""===X||null==X}function M(X){return null!=X&&"object"==typeof X&&!Array.isArray(X)}function w(X){return Number.isInteger?Number.isInteger(X):"number"==typeof X&&Math.floor(X)===X}function D(X){return"object"==typeof X&&(X.hasOwnProperty("const")||X.enum&&1===X.enum.length)}function U(X){if(!X.fieldGroup)return(0,e._S)(X)&&void 0!==(0,e.Hl)(X)?1:0;const de=X.fieldGroup.reduce((V,ce)=>U(ce)+V,0);if(0===de&&(0,e._S)(X)){const V=(0,e.Hl)(X);if(null===V||void 0!==V&&(X.fieldArray&&Array.isArray(V)||!X.fieldArray&&M(V)))return 1}return de}let W=(()=>{class X{toFieldConfig(V,ce){return this._toFieldConfig(V,{schema:V,...ce||{}})}_toFieldConfig(V,{key:ce,...se}){V=this.resolveSchema(V,se);const fe=this.guessSchemaType(V);let Te={type:fe[0],defaultValue:V.default,props:{label:V.title,readonly:V.readOnly,description:V.description}};switch(null!=ce&&(Te.key=ce),!se.ignoreDefault&&(V.readOnly||se.readOnly)&&(Te.props.disabled=!0,se={...se,readOnly:!0}),se.resetOnHide&&(Te.resetOnHide=!0),ce&&se.strict&&this.addValidator(Te,"type",($e,ge)=>{const Et=(0,e.Hl)(ge);if(null!=Et)switch(Te.type){case"string":return"string"==typeof Et;case"integer":return w(Et);case"number":return"number"==typeof Et;case"object":return M(Et);case"array":return Array.isArray(Et)}return!0}),!1===se.shareFormControl&&(Te.shareFormControl=!1),se.ignoreDefault&&delete Te.defaultValue,this.addValidator(Te,"type",{schemaType:fe,expression:({value:$e})=>{if(void 0===$e||null===$e&&-1!==fe.indexOf("null"))return!0;switch(fe[0]){case"null":return null===typeof $e;case"string":return"string"==typeof $e;case"integer":return w($e);case"number":return"number"==typeof $e;case"object":return M($e);case"array":return Array.isArray($e)}return!0}}),Te.type){case"number":case"integer":Te.parsers=[$e=>T($e)?void 0:Number($e)],V.hasOwnProperty("minimum")&&(Te.props.min=V.minimum),V.hasOwnProperty("maximum")&&(Te.props.max=V.maximum),V.hasOwnProperty("exclusiveMinimum")&&(Te.props.exclusiveMinimum=V.exclusiveMinimum,this.addValidator(Te,"exclusiveMinimum",({value:$e})=>T($e)||$e>V.exclusiveMinimum)),V.hasOwnProperty("exclusiveMaximum")&&(Te.props.exclusiveMaximum=V.exclusiveMaximum,this.addValidator(Te,"exclusiveMaximum",({value:$e})=>T($e)||$e<V.exclusiveMaximum)),V.hasOwnProperty("multipleOf")&&(Te.props.step=V.multipleOf,this.addValidator(Te,"multipleOf",({value:$e})=>{if(T($e)||"number"!=typeof $e||0===$e||V.multipleOf<=0)return!0;const ge=Math.pow(10,function m(X){if(!isFinite(X))return 0;let de=1,V=0;for(;Math.round(X*de)/de!==X;)de*=10,V++;return V}(V.multipleOf));return Math.round($e*ge)%Math.round(V.multipleOf*ge)==0}));break;case"string":Te.parsers=[$e=>(-1!==fe.indexOf("null")?$e=T($e)?null:$e:Te.props.required||($e=""===$e?void 0:$e),$e)],["minLength","maxLength","pattern"].forEach($e=>{V.hasOwnProperty($e)&&(Te.props[$e]=V[$e])});break;case"object":{Te.fieldGroup||(Te.fieldGroup=[]);const{propDeps:$e,schemaDeps:ge}=this.resolveDependencies(V);Object.keys(V.properties||{}).forEach(Et=>{const ot=Array.isArray(V.required)&&-1!==V.required.indexOf(Et),ct=this._toFieldConfig(V.properties[Et],{...se,key:Et,isOptional:se.isOptional||!ot});if(Te.fieldGroup.push(ct),(ot||$e[Et])&&(ct.expressions={...ct.expressions||{},"props.required":qe=>{let He=qe.parent;const We=qe.fieldGroup&&null!=qe.key?He.model:qe.model;for(;null==He.key&&He.parent;)He=He.parent;return!!(We||He&&He.props&&He.props.required)&&(!(!Array.isArray(V.required)||-1===V.required.indexOf(Et))||$e[Et]&&qe.model&&$e[Et].some(Pt=>!T(qe.model[Pt])))}}),ge[Et]){const qe=We=>We.hasOwnProperty("const")?We.const:We.enum[0],He=ge[Et].oneOf;He&&He.every(We=>We.properties&&We.properties[Et]&&D(We.properties[Et]))?He.forEach(We=>{const{[Et]:Le,...Pt}=We.properties;Te.fieldGroup.push({...this._toFieldConfig({...We,properties:Pt},{...se,resetOnHide:!0}),expressions:{hide:it=>!it.model||qe(Le)!==it.model[Et]}})}):Te.fieldGroup.push({...this._toFieldConfig(ge[Et],se),expressions:{hide:We=>!We.model||T(We.model[Et])}})}}),V.oneOf&&Te.fieldGroup.push(this.resolveMultiSchema("oneOf",V.oneOf,{...se,shareFormControl:!1})),V.anyOf&&Te.fieldGroup.push(this.resolveMultiSchema("anyOf",V.anyOf,se));break}case"array":V.hasOwnProperty("minItems")&&(Te.props.minItems=V.minItems,this.addValidator(Te,"minItems",($e,ge)=>{const Et=(0,e.Hl)(ge);return T(Et)||Et.length>=V.minItems}),!se.isOptional&&V.minItems>0&&void 0===Te.defaultValue&&(Te.defaultValue=Array.from(new Array(V.minItems)))),V.hasOwnProperty("maxItems")&&(Te.props.maxItems=V.maxItems,this.addValidator(Te,"maxItems",($e,ge)=>{const Et=(0,e.Hl)(ge);return T(Et)||Et.length<=V.maxItems})),V.hasOwnProperty("uniqueItems")&&(Te.props.uniqueItems=V.uniqueItems,this.addValidator(Te,"uniqueItems",($e,ge)=>{const Et=(0,e.Hl)(ge);return!(!T(Et)&&V.uniqueItems)||Array.from(new Set(Et.map(ct=>JSON.stringify(ct)))).length===Et.length})),V.items&&!Array.isArray(V.items)&&(V.items=this.resolveSchema(V.items,se)),this.isEnum(V)||(Te.fieldArray=$e=>{if(!Array.isArray(V.items)){const ct=V.items?this._toFieldConfig(V.items,se):{};return ct.props&&(ct.props.required=!0),ct}const ge=$e.fieldGroup?$e.fieldGroup.length:0,Et=V.items[ge]?V.items[ge]:V.additionalItems,ot=Et?this._toFieldConfig(Et,se):{};return ot.props&&(ot.props.required=!0),V.items[ge]&&(ot.props.removable=!1),ot})}return V.hasOwnProperty("const")&&(Te.props.const=V.const,this.addValidator(Te,"const",({value:$e})=>$e===V.const),Te.type||(Te.defaultValue=V.const)),this.isEnum(V)&&(Te.props.multiple="array"===Te.type,Te.type="enum",Te.props.options=this.toEnumOptions(V)),V.oneOf&&!Te.type&&(delete Te.key,Te.fieldGroup=[this.resolveMultiSchema("oneOf",V.oneOf,{...se,key:ce,shareFormControl:!1})]),V.oneOf&&!Te.type&&(delete Te.key,Te.fieldGroup=[this.resolveMultiSchema("oneOf",V.oneOf,{...se,key:ce,shareFormControl:!1})]),V.widget?.formlyConfig&&(Te=this.mergeFields(Te,V.widget.formlyConfig)),Te.templateOptions=Te.props,se.map?se.map(Te,V):Te}resolveSchema(V,ce){return V&&V.$ref&&(V=this.resolveDefinition(V,ce)),V&&V.allOf&&(V=this.resolveAllOf(V,ce)),V}resolveAllOf({allOf:V,...ce},se){if(!V.length)throw Error(`allOf array can not be empty ${V}.`);return V.reduce((fe,Te)=>(Te=this.resolveSchema(Te,se),fe.required&&Te.required&&(fe.required=[...fe.required,...Te.required]),Te.uniqueItems&&(fe.uniqueItems=Te.uniqueItems),["maxLength","maximum","exclusiveMaximum","maxItems","maxProperties"].forEach($e=>{!T(fe[$e])&&!T(Te[$e])&&(fe[$e]=fe[$e]<Te[$e]?fe[$e]:Te[$e])}),["minLength","minimum","exclusiveMinimum","minItems","minProperties"].forEach($e=>{!T(fe[$e])&&!T(Te[$e])&&(fe[$e]=fe[$e]>Te[$e]?fe[$e]:Te[$e])}),(0,e.Du)(fe,Te)),ce)}resolveMultiSchema(V,ce,se){return{type:"multischema",fieldGroup:[{type:"enum",defaultValue:-1,props:{multiple:"anyOf"===V,options:ce.map((fe,Te)=>({label:fe.title,value:Te,disabled:fe.readOnly}))},hooks:{onInit:fe=>fe.formControl.valueChanges.pipe((0,f.b)(()=>fe.options.detectChanges(fe.parent)))}},{fieldGroup:ce.map((fe,Te)=>({...this._toFieldConfig(fe,{...se,resetOnHide:!0}),expressions:{hide:($e,ge)=>{const Et=$e.parent.parent.fieldGroup[0].formControl;if(-1===Et.value||ge){let ot=$e.parent.fieldGroup.map((ct,qe)=>[ct,qe,this.isFieldValid(ct,qe,ce,se)]).sort(([ct,,qe],[He,,We])=>{if(qe!==We)return We?1:-1;const Le=U(ct),Pt=U(He);return Le===Pt&&ct.props.disabled===He.props.disabled?0:Pt>Le?1:-1}).map(([,ct])=>ct);if("anyOf"===V){const ct=ot.filter(qe=>U($e.parent.fieldGroup[qe]));ot=ct.length>0?ct:[ot[0]||0]}ot=ot.length>0?ot:[0],Et.setValue("anyOf"===V?ot:ot[0])}return Array.isArray(Et.value)?-1===Et.value.indexOf(Te):Et.value!==Te}}}))}]}}resolveDefinition(V,ce){const[se,fe]=V.$ref.split("#/");if(se)throw Error(`Remote schemas for ${V.$ref} not supported yet.`);const Te=fe?fe.split("/").reduce(($e,ge)=>$e?.hasOwnProperty(ge)?$e[ge]:null,ce.schema):null;if(!Te)throw Error(`Cannot find a definition for ${V.$ref}.`);return Te.$ref?this.resolveDefinition(Te,ce):{...Te,...["title","description","default","widget"].reduce(($e,ge)=>(V.hasOwnProperty(ge)&&($e[ge]=V[ge]),$e),{})}}resolveDependencies(V){const ce={},se={};return Object.keys(V.dependencies||{}).forEach(fe=>{const Te=V.dependencies[fe];Array.isArray(Te)?Te.forEach($e=>{ce[$e]?ce[$e].push(fe):ce[$e]=[fe]}):se[fe]=Te}),{propDeps:ce,schemaDeps:se}}guessSchemaType(V){const ce=V?.type;return!ce&&V?.properties?["object"]:Array.isArray(ce)?1===ce.length?ce:2===ce.length&&-1!==ce.indexOf("null")?ce.sort(se=>"null"==se?1:-1):ce:ce?[ce]:[]}addValidator(V,ce,se){V.validators=V.validators||{},V.validators[ce]=se}isEnum(V){return!!V.enum||V.anyOf&&V.anyOf.every(D)||V.oneOf&&V.oneOf.every(D)||V.uniqueItems&&V.items&&!Array.isArray(V.items)&&this.isEnum(V.items)}toEnumOptions(V){if(V.enum)return V.enum.map(se=>({value:se,label:se}));const ce=se=>{const fe=se.hasOwnProperty("const")?se.const:se.enum[0],Te={value:fe,label:se.title||fe};return se.readOnly&&(Te.disabled=!0),Te};return V.anyOf?V.anyOf.map(ce):V.oneOf?V.oneOf.map(ce):this.toEnumOptions(V.items)}isFieldValid(V,ce,se,fe){V._schemasFields||(Object.defineProperty(V,"_schemasFields",{enumerable:!1,writable:!0,configurable:!0}),V._schemasFields={});let Te=V._schemasFields[ce];const $e=V.model?(0,e.kg)(V.model):V.fieldArray?[]:{};return Te?(Te.model=$e,V.options.build(Te)):Te=V._schemasFields[ce]=V.options.build({form:Array.isArray($e)?new u.Oe([]):new u.cw({}),fieldGroup:[this._toFieldConfig(se[ce],{...fe,resetOnHide:!0,ignoreDefault:!0,map:null,strict:!0})],model:$e,options:{}}),Te.form.valid}mergeFields(V,ce){for(let se in ce){const fe="templateOptions"===se?"props":se;M(V[fe])&&M(ce[se])?V[fe]=this.mergeFields(V[fe],ce[se]):null!=ce[se]&&(V[fe]=ce[se])}return V}}return X.\u0275fac=function(V){return new(V||X)},X.\u0275prov=c.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})(),$=(()=>{class X{constructor(V){this.formlyJsonschema=V}processJsonSchemaForm(V,ce){let se=0;for(;se<V.forms.length&&V.forms[se].path!=ce;)se++;se%=V.forms.length;const fe=V.forms[se].control_schema.title,Te=V.forms[se].ui_schema;let ge=this.formlyJsonschema.toFieldConfig(V.forms[se].control_schema).fieldGroup;for(let qe=0;qe<ge.length;qe++)for(let He=0;He<Te.length;He++)ge[qe].key==Te[He].key&&(ge[qe].props.templateOptions=Te[He].templateOptions,ge[qe].props.readonly=Te[He].readonly,(0,a.w)(ge[qe],Te));return{title:fe,uiSchema:Te,controlSchema:ge,taskInfo:{metadataFields:V.forms[se].task_info.metadataFields,message:V.forms[se].task_info.message},methodType:V.forms[se].method_type,model:V.forms[se].model||{}}}}return X.\u0275fac=function(V){return new(V||X)(c.LFG(W))},X.\u0275prov=c.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();var J=s(35732);let F=(()=>{class X{constructor(V,ce){this.http=V,this.crudFormAdapater=ce,this.cache={}}list(V){const ce=this.getCacheable(V,"get");if(void 0===this.cache[ce]){const{url:se,version:fe}=this.getUrlAndVersion(V);this.cache[ce]=this.http.get(se,{headers:{Accept:`application/vnd.ceph.api.v${fe}+json`}})}return this.cache[ce]}submit(V,ce,se){const{url:fe,version:Te}=this.getUrlAndVersion(V);return this.http[se](fe,ce,{headers:{Accept:`application/vnd.ceph.api.v${Te}+json`}})}delete(V,ce){const{url:se,version:fe}=this.getUrlAndVersion(V);return this.http.delete(`${se}/${ce}`,{headers:{Accept:`application/vnd.ceph.api.v${fe}+json`},observe:"response"})}form(V,ce,se=""){const fe=this.getCacheable(V,"get",se),Te={model_key:se};if(void 0===this.cache[fe]){const{url:$e,version:ge}=this.getUrlAndVersion(V);this.cache[fe]=this.http.get($e,{headers:{Accept:`application/vnd.ceph.api.v${ge}+json`},params:Te})}return this.cache[fe].pipe((0,r.U)($e=>this.crudFormAdapater.processJsonSchemaForm($e,ce)))}model(V,ce){const se=this.getCacheable(V,"get");if(void 0===this.cache[se]){const{url:fe,version:Te}=this.getUrlAndVersion(V);this.cache[se]=this.http.get(`${fe}/model`,{headers:{Accept:`application/vnd.ceph.api.v${Te}+json`},params:ce})}return this.cache[se]}getCacheable(V,ce,se=""){return V+ce+se}getUrlAndVersion(V){const ce=V.match(/(?<url>[^@]+)(?:@(?<version>.+))?/);return{url:ce.groups.url.split(".").join("/"),version:ce.groups.version||"1.0"}}}return X.\u0275fac=function(V){return new(V||X)(c.LFG(J.eN),c.LFG($))},X.\u0275prov=c.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),X})()},41702:(E,C,s)=>{"use strict";s.d(C,{U:()=>u});var r=s(16738),a=s.n(r),c=s(64537);let u=(()=>{class e{calculateAdditionalData(m){if(!m.life_expectancy_min||!m.life_expectancy_max)return m.state="unknown",m;const T=W=>!!Number.parseFloat(W),M=(W,$)=>W&&$&&T(W)&&T($)?a().duration(a()(W).diff(a()($))).asWeeks():null,w=a().duration(a()(a().now()).diff(a()(m.life_expectancy_stamp))).asWeeks(),D=M(m.life_expectancy_max,m.life_expectancy_stamp),U=M(m.life_expectancy_min,m.life_expectancy_stamp);return m.state=w>1?"stale":null!==D&&D<=2?"bad":null!==U&&U<=4?"warning":"good",m.life_expectancy_weeks={max:null!==D?Math.round(D):null,min:null!==U?Math.round(U):null},m}readable(m){return m.readableDaemons=m.daemons.join(" "),m}prepareDevice(m){return this.readable(this.calculateAdditionalData(m))}}return e.\u0275fac=function(m){return new(m||e)},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},72625:(E,C,s)=>{"use strict";s.d(C,{R:()=>T});var r=s(26215),a=s(45435),c=s(88002),u=s(28049),e=s(74255),f=s(64537),m=s(24310);let T=(()=>{class M{constructor(D,U){this.summaryservice=D,this.cephReleaseNamePipe=U,this.releaseDataSource=new r.X(null),this.releaseData$=this.releaseDataSource.asObservable(),this.summaryservice.subscribeOnce(W=>{const $=this.cephReleaseNamePipe.transform(W.version);this.releaseDataSource.next($)})}urlGenerator(D,U="main"){const $=`https://docs.ceph.com/en/${"main"===U?"latest":U}/`,J="https://ceph.io";return{iscsi:`${$}mgr/dashboard/#enabling-iscsi-management`,prometheus:`${$}mgr/dashboard/#enabling-prometheus-alerting`,"nfs-ganesha":`${$}mgr/dashboard/#configuring-nfs-ganesha-in-the-dashboard`,"rgw-nfs":`${$}radosgw/nfs`,rgw:`${$}mgr/dashboard/#enabling-the-object-gateway-management-frontend`,"rgw-multisite":`${$}/radosgw/multisite/#failover-and-disaster-recovery`,multisite:`${$}/radosgw/multisite`,dashboard:`${$}mgr/dashboard`,grafana:`${$}mgr/dashboard/#enabling-the-embedding-of-grafana-dashboards`,orch:`${$}mgr/orchestrator`,pgs:"https://old.ceph.com/pgcalc",help:`${J}/en/users/`,security:`${J}/en/security/`,trademarks:`${J}/en/trademarks/`,"dashboard-landing-page-status":`${$}mgr/dashboard/#dashboard-landing-page-status`,"dashboard-landing-page-performance":`${$}mgr/dashboard/#dashboard-landing-page-performance`,"dashboard-landing-page-capacity":`${$}mgr/dashboard/#dashboard-landing-page-capacity`}[D]}subscribeOnce(D,U,W){return this.releaseData$.pipe((0,a.h)($=>!!$),(0,c.U)($=>this.urlGenerator(D,$)),(0,u.P)()).subscribe(U,W)}}return M.\u0275fac=function(D){return new(D||M)(f.LFG(e.J),f.LFG(m.t))},M.\u0275prov=f.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})()},4222:(E,C,s)=>{"use strict";s.d(C,{T:()=>e});var r=s(88002),a=s(26504),c=s(64537),u=s(89154);let e=(()=>{class f{constructor(T){this.featureToggles=T}canActivate(T){return this.featureToggles.get().pipe((0,r.U)(M=>{if(!1===M[T.routeConfig.path])throw new a._2;return!0}))}canActivateChild(T){return this.canActivate(T.parent)}}return f.\u0275fac=function(T){return new(T||f)(c.LFG(u.l))},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},89154:(E,C,s)=>{"use strict";s.d(C,{l:()=>e});var r=s(64537),a=s(35732),c=s(36848);let e=(()=>{class f{constructor(T,M){this.http=T,this.timerService=M,this.API_URL="api/feature_toggles",this.REFRESH_INTERVAL=3e4,this.featureToggleMap$=this.timerService.get(()=>this.http.get(this.API_URL),this.REFRESH_INTERVAL)}get(){return this.featureToggleMap$}}return f.\u0275fac=function(T){return new(T||f)(r.LFG(a.eN),r.LFG(c.f))},f.\u0275prov=r.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},28211:(E,C,s)=>{"use strict";s.d(C,{H:()=>u});var r=s(23815),a=s.n(r),c=s(64537);let u=(()=>{class e{format_number(m,T,M,w=1){if(a().isString(m)&&(m=Number(m)),!a().isNumber(m))return"-";if(a().isNaN(m))return"N/A";let D=m<1?0:Math.floor(Math.log(m)/Math.log(T));D=D>=M.length?M.length-1:D;let U=a().round(m/Math.pow(T,D),w).toString();return""===U?"-":(""!==M[D]&&(U=`${U} ${M[D]}`),U)}formatNumberFromTo(m,T,M="",w,D,U=1){if(a().isString(m)&&(m=Number(m)),!a().isNumber(m))return"-";const W=D.map(X=>X.toLowerCase());if(!W.includes(T.toLowerCase())||!W.includes(M.toLowerCase()))return`${m} ${T}`;const $=W.indexOf(T.toLowerCase())-W.indexOf(M.toLocaleLowerCase()),J=$>0?m*Math.pow(w,$):m/Math.pow(w,Math.abs($));let F=a().round(J,U).toString();return F=`${F} ${M}`,F}toBytes(m,T=null){const w=["b","k","m","g","t","p","e","z","y"],D=RegExp("^(\\d+(.\\d+)?) ?(["+w.join("")+"]?(b|ib|B/s)?)?$","i").exec(m);if(null===D)return T;let U=parseFloat(D[1]);return a().isString(D[3])&&(U*=Math.pow(1024,w.indexOf(D[3].toLowerCase()[0]))),Math.round(U)}toMilliseconds(m){const M=/^\s*(\d+)\s*(ms)?\s*$/i.exec(m);return null!==M?+M[1]:0}toIops(m){const M=/^\s*(\d+)\s*(IOPS)?\s*$/i.exec(m);return null!==M?+M[1]:0}toOctalPermission(m){const T=["owner","group","others"];let M="";for(const w of T){let D=0;const U=m[w];U&&(U.includes("read")&&(D+=4),U.includes("write")&&(D+=2),U.includes("execute")&&(D+=1)),M+=D.toString()}return M}}return e.\u0275fac=function(m){return new(m||e)},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},63285:(E,C,s)=>{"use strict";s.d(C,{Z:()=>c});var r=s(64537),a=s(51389);let c=(()=>{class u{constructor(f){this.modal=f}show(f,m,T){const M=this.modal.open(f,T);return m&&Object.assign(M.componentInstance,m),M}dismissAll(){this.modal.dismissAll()}hasOpenModals(){return this.modal.hasOpenModals()}}return u.\u0275fac=function(f){return new(f||u)(r.LFG(a.FF))},u.\u0275prov=r.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},54462:(E,C,s)=>{"use strict";s.d(C,{P:()=>M});var r=s(25917),a=s(88002),c=s(5304),u=s(65862),e=s(64537),f=s(35732),m=s(54247),T=s(7273);let M=(()=>{class w{constructor(U,W,$){this.http=U,this.router=W,this.mgrModuleService=$}canActivate(U){return this.doCheck(U)}canActivateChild(U){return this.doCheck(U)}doCheck(U){if(U.url.length>0&&w.ALLOWLIST.includes(U.url[0].path))return(0,r.of)(!0);const W=U.data.moduleStatusGuardConfig;let $=!1;return W.backend&&this.mgrModuleService.getConfig("orchestrator").subscribe(J=>{$=W.backend===J.orchestrator},()=>(this.router.navigate([W.redirectTo]),(0,r.of)(!1))),this.http.get(`ui-api/${W.uiApiPath}/status`).pipe((0,a.U)(J=>(!J.available&&!$&&this.router.navigate([W.redirectTo||""],{state:{header:W.header,message:J.message,section:W.section,section_info:W.section_info,button_name:W.button_name,button_route:W.button_route,button_title:W.button_title,secondary_button_name:W.secondary_button_name,secondary_button_route:W.secondary_button_route,secondary_button_title:W.secondary_button_title,uiConfig:W.uiConfig,uiApiPath:W.uiApiPath,icon:u.P.wrench,component:W.component}}),J.available)),(0,c.K)(()=>(this.router.navigate([W.redirectTo]),(0,r.of)(!1))))}}return w.ALLOWLIST=["501"],w.\u0275fac=function(U){return new(U||w)(e.LFG(f.eN),e.LFG(m.F0),e.LFG(T.N))},w.\u0275prov=e.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},97161:(E,C,s)=>{"use strict";s.d(C,{g:()=>D});var r=s(23815),a=s.n(r),c=s(26215),u=s(79765),e=s(18001),f=s(61355),m=s(57924),T=s(64537),M=s(23122),w=s(96102);let D=(()=>{class U{constructor($,J,F){this.toastr=$,this.taskMessageService=J,this.cdDatePipe=F,this.hideToasties=!1,this.dataSource=new c.X([]),this.data$=this.dataSource.asObservable(),this.sidebarSubject=new u.xQ,this.queued=[],this.KEY="cdNotifications";const X=localStorage.getItem(this.KEY);let de=[];a().isString(X)&&(de=JSON.parse(X,(V,ce)=>a().isPlainObject(ce)?a().assign(new f.e,ce):ce)),this.dataSource.next(de)}removeAll(){localStorage.removeItem(this.KEY),this.dataSource.next([])}remove($){const J=this.dataSource.getValue();J.splice($,1),this.dataSource.next(J),localStorage.setItem(this.KEY,JSON.stringify(J))}save($){const J=this.dataSource.getValue();for(J.push($),J.sort((F,X)=>F.timestamp>X.timestamp?-1:1);J.length>10;)J.pop();this.dataSource.next(J),localStorage.setItem(this.KEY,JSON.stringify(J))}show($,J,F,X,de){return window.setTimeout(()=>{let V;V=a().isFunction($)?$():a().isObject($)?$:new f.T($,J,F,X,de),this.queueToShow(V)},10)}queueToShow($){this.cancel(this.queuedTimeoutId),this.queued.find(J=>a().isEqual(J,$))||this.queued.push($),this.queuedTimeoutId=window.setTimeout(()=>{this.showQueued()},500)}showQueued(){this.getUnifiedTitleQueue().forEach($=>{const J=new f.e($);J.isFinishedTask||this.save(J),this.showToasty(J)})}getUnifiedTitleQueue(){return Object.values(this.queueShiftByTitle()).map($=>{const J=$[0];return $.length>1&&(J.message="<ul>"+$.map(F=>`<li>${F.message}</li>`).join("")+"</ul>"),J})}queueShiftByTitle(){const $={};let J;for(;J=this.queued.shift();)$[J.title]||($[J.title]=[]),$[J.title].push(J);return $}showToasty($){this.hideToasties||this.toastr[["error","info","success"][$.type]](($.message?$.message+"<br>":"")+this.renderTimeAndApplicationHtml($),$.title,$.options)}renderTimeAndApplicationHtml($){return`<small class="date">${this.cdDatePipe.transform($.timestamp)}</small><i class="float-end custom-icon ${$.applicationClass}" title="${$.application}"></i>`}notifyTask($,J=!0){const F=this.finishedTaskToNotification($,J);return F.isFinishedTask=!0,this.show(F)}finishedTaskToNotification($,J=!0){let F;return F=$.success&&J?new f.T(e.k.success,this.taskMessageService.getSuccessTitle($)):new f.T(e.k.error,this.taskMessageService.getErrorTitle($),this.taskMessageService.getErrorMessage($)),F.isFinishedTask=!0,F}cancel($){window.clearTimeout($)}suspendToasties($){this.hideToasties=$}toggleSidebar($=!1){this.sidebarSubject.next($)}}return U.\u0275fac=function($){return new($||U)(T.LFG(M._W),T.LFG(m.p),T.LFG(w.N))},U.\u0275prov=T.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"}),U})()},81354:(E,C,s)=>{"use strict";s.d(C,{q:()=>m});var r=s(23815),a=s.n(r),c=s(88002),u=s(9837);class e{constructor(M){this.pwdPolicyEnabled=M.pwd_policy_enabled,this.pwdPolicyMinLength=M.pwd_policy_min_length,this.pwdPolicyCheckLengthEnabled=M.pwd_policy_check_length_enabled,this.pwdPolicyCheckOldpwdEnabled=M.pwd_policy_check_oldpwd_enabled,this.pwdPolicyCheckUsernameEnabled=M.pwd_policy_check_username_enabled,this.pwdPolicyCheckExclusionListEnabled=M.pwd_policy_check_exclusion_list_enabled,this.pwdPolicyCheckRepetitiveCharsEnabled=M.pwd_policy_check_repetitive_chars_enabled,this.pwdPolicyCheckSequentialCharsEnabled=M.pwd_policy_check_sequential_chars_enabled,this.pwdPolicyCheckComplexityEnabled=M.pwd_policy_check_complexity_enabled}}var f=s(64537);let m=(()=>{class T{constructor(w){this.settingsService=w}getHelpText(){return this.settingsService.getStandardSettings().pipe((0,c.U)(w=>{const D=new e(w);let U=[];if(D.pwdPolicyEnabled){U.push("Required rules for passwords:");const W={pwdPolicyCheckLengthEnabled:"Must contain at least " + D.pwdPolicyMinLength + " characters",pwdPolicyCheckOldpwdEnabled:"Must not be the same as the previous one",pwdPolicyCheckUsernameEnabled:"Cannot contain the username",pwdPolicyCheckExclusionListEnabled:"Cannot contain any configured keyword",pwdPolicyCheckRepetitiveCharsEnabled:"Cannot contain any repetitive characters e.g. \"aaa\"",pwdPolicyCheckSequentialCharsEnabled:"Cannot contain any sequential characters e.g. \"abc\"",pwdPolicyCheckComplexityEnabled:"Must consist of characters from the following groups:\n * Alphabetic a-z, A-Z\n * Numbers 0-9\n * Special chars: !\"#$%& '()*+,-./:;<=>?@[\\]^_`{{|}}~\n * Any other characters (signs)"};U=U.concat(a().keys(W).filter($=>a().get(D,$)).map($=>"- "+a().get(W,$)))}return U.join("\n")}))}mapCreditsToCssClass(w){let D="very-strong";return w<10?D="too-weak":w<15?D="weak":w<20?D="ok":w<25&&(D="strong"),D}}return T.\u0275fac=function(w){return new(w||T)(f.LFG(u.g))},T.\u0275prov=f.Yz7({token:T,factory:T.\u0275fac,providedIn:"root"}),T})()},34089:(E,C,s)=>{"use strict";s.d(C,{n:()=>c});var r=s(30633),a=s(64537);let c=(()=>{class u{constructor(){this.sections=[{heading:"Quality of Service",class:"quality-of-service",options:[{name:"rbd_qos_bps_limit",displayName:"BPS Limit",description:"The desired limit of IO bytes per second.",type:r.r.bps},{name:"rbd_qos_iops_limit",displayName:"IOPS Limit",description:"The desired limit of IO operations per second.",type:r.r.iops},{name:"rbd_qos_read_bps_limit",displayName:"Read BPS Limit",description:"The desired limit of read bytes per second.",type:r.r.bps},{name:"rbd_qos_read_iops_limit",displayName:"Read IOPS Limit",description:"The desired limit of read operations per second.",type:r.r.iops},{name:"rbd_qos_write_bps_limit",displayName:"Write BPS Limit",description:"The desired limit of write bytes per second.",type:r.r.bps},{name:"rbd_qos_write_iops_limit",displayName:"Write IOPS Limit",description:"The desired limit of write operations per second.",type:r.r.iops},{name:"rbd_qos_bps_burst",displayName:"BPS Burst",description:"The desired burst limit of IO bytes.",type:r.r.bps},{name:"rbd_qos_iops_burst",displayName:"IOPS Burst",description:"The desired burst limit of IO operations.",type:r.r.iops},{name:"rbd_qos_read_bps_burst",displayName:"Read BPS Burst",description:"The desired burst limit of read bytes.",type:r.r.bps},{name:"rbd_qos_read_iops_burst",displayName:"Read IOPS Burst",description:"The desired burst limit of read operations.",type:r.r.iops},{name:"rbd_qos_write_bps_burst",displayName:"Write BPS Burst",description:"The desired burst limit of write bytes.",type:r.r.bps},{name:"rbd_qos_write_iops_burst",displayName:"Write IOPS Burst",description:"The desired burst limit of write operations.",type:r.r.iops}]}]}static getOptionsFromSections(f){return f.map(m=>m.options).reduce((m,T)=>m.concat(T))}filterConfigOptionsByName(f){return u.getOptionsFromSections(this.sections).filter(m=>m.name===f)}getOptionValueByName(f,m,T=""){const M=this.filterConfigOptionsByName(f);return 1===M.length?M.pop()[m]:T}getWritableSections(){return this.sections.map(f=>(f.options=f.options.filter(m=>!m.readOnly),f))}getOptionFields(){return u.getOptionsFromSections(this.sections)}getWritableOptionFields(){return u.getOptionsFromSections(this.getWritableSections())}getOptionByName(f){return this.filterConfigOptionsByName(f).pop()}getDisplayName(f){return this.getOptionValueByName(f,"displayName")}getDescription(f){return this.getOptionValueByName(f,"description")}}return u.\u0275fac=function(f){return new(f||u)},u.\u0275prov=a.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})()},98677:(E,C,s)=>{"use strict";s.d(C,{s:()=>T});var r=s(26215),a=s(70882),c=s(33637),u=s(26561);function f(M){const{subscriber:w,counter:D,period:U}=M;w.next(D),this.schedule({subscriber:w,counter:D+1,period:U},U)}var m=s(64537);let T=(()=>{class M{constructor(D){this.ngZone=D,this.intervalDataSource=new r.X(null),this.intervalData$=this.intervalDataSource.asObservable();const U=parseInt(sessionStorage.getItem("dashboard_interval"),10)||5e3;this.setRefreshInterval(U)}setRefreshInterval(D){this.intervalTime=D,sessionStorage.setItem("dashboard_interval",D.toString()),this.intervalSubscription&&this.intervalSubscription.unsubscribe(),this.ngZone.runOutsideAngular(()=>{this.intervalSubscription=function e(M=0,w=c.P){return(!(0,u.k)(M)||M<0)&&(M=0),(!w||"function"!=typeof w.schedule)&&(w=c.P),new a.y(D=>(D.add(w.schedule(f,M,{subscriber:D,counter:0,period:M})),D))}(this.intervalTime).subscribe(()=>this.ngZone.run(()=>{this.intervalDataSource.next(this.intervalTime)}))})}getRefreshInterval(){return this.intervalTime}ngOnDestroy(){this.intervalSubscription&&this.intervalSubscription.unsubscribe()}}return M.\u0275fac=function(D){return new(D||M)(m.LFG(m.R0b))},M.\u0275prov=m.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})()},74255:(E,C,s)=>{"use strict";s.d(C,{J:()=>M});var r=s(23815),a=s.n(r),c=s(26215),u=s(45435),e=s(28049),f=s(64537),m=s(35732),T=s(36848);let M=(()=>{class w{constructor(U,W){this.http=U,this.timerService=W,this.REFRESH_INTERVAL=5e3,this.summaryDataSource=new c.X(null),this.summaryData$=this.summaryDataSource.asObservable()}startPolling(){return this.timerService.get(()=>this.retrieveSummaryObservable(),this.REFRESH_INTERVAL).subscribe(this.retrieveSummaryObserver())}refresh(){return this.retrieveSummaryObservable().subscribe(this.retrieveSummaryObserver())}retrieveSummaryObservable(){return this.http.get("api/summary")}retrieveSummaryObserver(){return U=>{this.summaryDataSource.next(U)}}subscribeOnce(U,W){return this.summaryData$.pipe((0,u.h)($=>!!$),(0,e.P)()).subscribe(U,W)}subscribe(U,W){return this.summaryData$.pipe((0,u.h)($=>!!$)).subscribe(U,W)}addRunningTask(U){const W=this.summaryDataSource.getValue();W&&(a().isArray(W.executing_tasks)?W.executing_tasks.find(J=>J.name===U.name&&a().isEqual(J.metadata,U.metadata))||W.executing_tasks.push(U):W.executing_tasks=[U],this.summaryDataSource.next(W))}}return w.\u0275fac=function(U){return new(U||w)(f.LFG(m.eN),f.LFG(T.f))},w.\u0275prov=f.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"}),w})()},38047:(E,C,s)=>{"use strict";s.d(C,{j:()=>u});var r=s(74255),a=s(57924),c=s(64537);let u=(()=>{class e{constructor(m,T){this.taskMessageService=m,this.summaryService=T}init(m,T,M,w,D,U,W){this.getUpdate=m,this.preProcessing=T,this.setList=M,this.onFetchError=w,this.taskFilter=D,this.itemFilter=U,this.builders=W||{},this.summaryDataSubscription=this.summaryService.subscribe($=>{this.summary=$,this.fetch()},this.onFetchError)}fetch(m=null){this.getUpdate(m).subscribe(T=>{this.updateData(T,this.summary?.executing_tasks.filter(this.taskFilter))},this.onFetchError)}updateData(m,T){const M=this.preProcessing?this.preProcessing(m):m;this.addMissing(M,T),M.forEach(w=>{const D=T.filter(U=>this.itemFilter(w,U));w.cdExecuting=this.getTaskAction(D)}),this.setList(M)}addMissing(m,T){const M=this.builders.default;T?.forEach(w=>{const D=m.find(W=>this.itemFilter(W,w)),U=this.builders[w.name];!D&&(U||M)&&m.push(U?U(w.metadata):M(w.metadata))})}getTaskAction(m){if(0!==m.length)return m.map(T=>{const M=T.progress?` ${T.progress}%`:"";return this.taskMessageService.getRunningText(T)+"..."+M}).join(", ")}ngOnDestroy(){this.summaryDataSubscription&&this.summaryDataSubscription.unsubscribe()}}return e.\u0275fac=function(m){return new(m||e)(c.LFG(a.p),c.LFG(r.J))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e})()},71099:(E,C,s)=>{"use strict";s.d(C,{k:()=>e});var r=s(23815),a=s.n(r),c=s(64537);class u{constructor(m,T,M){this.name=m,this.metadata=T,this.onTaskFinished=M}}let e=(()=>{class f{constructor(){this.subscriptions=[]}init(T){return T.subscribe(M=>{const w=M.executing_tasks,D=M.finished_tasks,U=[];for(const W of this.subscriptions){const $=this._getTask(W,D),J=this._getTask(W,w);null!==$&&null===J&&W.onTaskFinished($),null!==J&&U.push(W),this.subscriptions=U}})}subscribe(T,M,w){this.subscriptions.push(new u(T,M,w))}_getTask(T,M){for(const w of M)if(w.name===T.name&&a().isEqual(w.metadata,T.metadata))return w;return null}}return f.\u0275fac=function(T){return new(T||f)},f.\u0275prov=c.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),f})()},57924:(E,C,s)=>{"use strict";s.d(C,{p:()=>T});var r=s(23815),a=s.n(r),c=(()=>{return(M=c||(c={})).auth="Login",M.cephfs="CephFS",M.rbd="RBD",M.pool="Pool",M.osd="OSD",M.role="Role",M.user="User",c;var M})(),u=s(19358),e=s(64537);class f{constructor(w,D,U){this.running=w,this.failure=D,this.success=U}}class m{failure(w){return "Failed to " + this.operation.failure + " " + this.involves(w) + ""}running(w){return`${this.operation.running} ${this.involves(w)}`}success(w){return`${this.operation.success} ${this.involves(w)}`}constructor(w,D,U){this.operation=w,this.involves=D,this.errors=U||(()=>({}))}}let T=(()=>{class M{constructor(){this.defaultMessage=this.newTaskMessage(new f("Executing","execute","Executed"),D=>D&&(c[D.component]||D.component)||"unknown task",()=>({})),this.commonOperations={create:new f("Creating","create","Created"),update:new f("Updating","update","Updated"),delete:new f("Deleting","delete","Deleted"),add:new f("Adding","add","Added"),remove:new f("Removing","remove","Removed"),import:new f("Importing","import","Imported")},this.rbd={default:D=>"RBD '" + D.image_spec + "'",create:D=>{const U=new u.N(D.pool_name,D.namespace,D.image_name).toString();return "RBD '" + U + "'"},child:D=>{const U=new u.N(D.child_pool_name,D.child_namespace,D.child_image_name).toString();return "RBD '" + U + "'"},destination:D=>{const U=new u.N(D.dest_pool_name,D.dest_namespace,D.dest_image_name).toString();return "RBD '" + U + "'"},snapshot:D=>"RBD snapshot '" + D.image_spec + "@" + D.snapshot_name + "'"},this.rbd_mirroring={site_name:()=>"mirroring site name",bootstrap:()=>"bootstrap token",pool:D=>"mirror mode for pool '" + D.pool_name + "'",pool_peer:D=>"mirror peer for pool '" + D.pool_name + "'"},this.grafana={update_dashboards:()=>"all dashboards"},this.messages={"host/add":this.newTaskMessage(this.commonOperations.add,D=>this.host(D)),"host/remove":this.newTaskMessage(this.commonOperations.remove,D=>this.host(D)),"host/identify_device":this.newTaskMessage(new f("Identifying","identify","Identified"),D=>"device '" + D.device + "' on host '" + D.hostname + "'"),"osd/create":this.newTaskMessage(this.commonOperations.create,D=>"OSDs (DriveGroups: " + D.tracking_id + ")"),"osd/delete":this.newTaskMessage(this.commonOperations.delete,D=>this.osd(D)),"pool/create":this.newTaskMessage(this.commonOperations.create,D=>this.pool(D),D=>({17:"Name is already used by " + this.pool(D) + "."})),"pool/edit":this.newTaskMessage(this.commonOperations.update,D=>this.pool(D),D=>({17:"Name is already used by " + this.pool(D) + "."})),"pool/delete":this.newTaskMessage(this.commonOperations.delete,D=>this.pool(D)),"ecp/create":this.newTaskMessage(this.commonOperations.create,D=>this.ecp(D),D=>({17:"Name is already used by " + this.ecp(D) + "."})),"ecp/delete":this.newTaskMessage(this.commonOperations.delete,D=>this.ecp(D)),"crushRule/create":this.newTaskMessage(this.commonOperations.create,D=>this.crushRule(D),D=>({17:"Name is already used by " + this.crushRule(D) + "."})),"crushRule/delete":this.newTaskMessage(this.commonOperations.delete,D=>this.crushRule(D)),"rbd/create":this.newTaskMessage(this.commonOperations.create,this.rbd.create,D=>({17:"Name is already used by " + this.rbd.create(D) + "."})),"rbd/edit":this.newTaskMessage(this.commonOperations.update,this.rbd.default,D=>({17:"Name is already used by " + this.rbd.default(D) + "."})),"rbd/delete":this.newTaskMessage(this.commonOperations.delete,this.rbd.default,D=>({16:"" + this.rbd.default(D) + " is busy.",39:"" + this.rbd.default(D) + " contains snapshots."})),"rbd/clone":this.newTaskMessage(new f("Cloning","clone","Cloned"),this.rbd.child,D=>({17:"Name is already used by " + this.rbd.child(D) + ".",22:"Snapshot of " + this.rbd.child(D) + " must be protected."})),"rbd/copy":this.newTaskMessage(new f("Copying","copy","Copied"),this.rbd.destination,D=>({17:"Name is already used by " + this.rbd.destination(D) + "."})),"rbd/flatten":this.newTaskMessage(new f("Flattening","flatten","Flattened"),this.rbd.default),"rbd/snap/create":this.newTaskMessage(this.commonOperations.create,this.rbd.snapshot,D=>({17:"Name is already used by " + this.rbd.snapshot(D) + "."})),"rbd/snap/edit":this.newTaskMessage(this.commonOperations.update,this.rbd.snapshot,D=>({16:"Cannot unprotect " + this.rbd.snapshot(D) + " because it contains child images."})),"rbd/snap/delete":this.newTaskMessage(this.commonOperations.delete,this.rbd.snapshot,D=>({16:"Cannot delete " + this.rbd.snapshot(D) + " because it's protected."})),"rbd/snap/rollback":this.newTaskMessage(new f("Rolling back","rollback","Rolled back"),this.rbd.snapshot),"rbd/trash/move":this.newTaskMessage(new f("Moving","move","Moved"),D=>"image '" + D.image_spec + "' to trash",()=>({2:"Could not find image."})),"rbd/trash/restore":this.newTaskMessage(new f("Restoring","restore","Restored"),D=>"image '" + D.image_id_spec + "' into '" + D.new_image_name + "'",D=>({17:"Image name '" + D.new_image_name + "' is already in use."})),"rbd/trash/remove":this.newTaskMessage(new f("Deleting","delete","Deleted"),D=>"image '" + D.image_id_spec + "'"),"rbd/trash/purge":this.newTaskMessage(new f("Purging","purge","Purged"),D=>{let U="all pools";return D.pool_name&&(U=`'${D.pool_name}'`),"images from " + U + ""}),"rbd/mirroring/site_name/edit":this.newTaskMessage(this.commonOperations.update,this.rbd_mirroring.site_name,()=>({})),"rbd/mirroring/bootstrap/create":this.newTaskMessage(this.commonOperations.create,this.rbd_mirroring.bootstrap,()=>({})),"rbd/mirroring/bootstrap/import":this.newTaskMessage(this.commonOperations.import,this.rbd_mirroring.bootstrap,()=>({})),"rbd/mirroring/pool/edit":this.newTaskMessage(this.commonOperations.update,this.rbd_mirroring.pool,()=>({16:"Cannot disable mirroring because it contains a peer."})),"rbd/mirroring/peer/add":this.newTaskMessage(this.commonOperations.create,this.rbd_mirroring.pool_peer,()=>({})),"rbd/mirroring/peer/edit":this.newTaskMessage(this.commonOperations.update,this.rbd_mirroring.pool_peer,()=>({})),"rbd/mirroring/peer/delete":this.newTaskMessage(this.commonOperations.delete,this.rbd_mirroring.pool_peer,()=>({})),"iscsi/target/create":this.newTaskMessage(this.commonOperations.create,D=>this.iscsiTarget(D)),"iscsi/target/edit":this.newTaskMessage(this.commonOperations.update,D=>this.iscsiTarget(D)),"iscsi/target/delete":this.newTaskMessage(this.commonOperations.delete,D=>this.iscsiTarget(D)),"nfs/create":this.newTaskMessage(this.commonOperations.create,D=>this.nfs(D)),"nfs/edit":this.newTaskMessage(this.commonOperations.update,D=>this.nfs(D)),"nfs/delete":this.newTaskMessage(this.commonOperations.delete,D=>this.nfs(D)),"grafana/dashboards/update":this.newTaskMessage(this.commonOperations.update,this.grafana.update_dashboards,()=>({})),"service/create":this.newTaskMessage(this.commonOperations.create,D=>this.service(D)),"service/edit":this.newTaskMessage(this.commonOperations.update,D=>this.service(D)),"service/delete":this.newTaskMessage(this.commonOperations.delete,D=>this.service(D)),"crud-component/create":this.newTaskMessage(this.commonOperations.create,D=>this.crudMessage(D)),"crud-component/edit":this.newTaskMessage(this.commonOperations.update,D=>this.crudMessage(D)),"crud-component/import":this.newTaskMessage(this.commonOperations.import,D=>this.crudMessage(D)),"crud-component/id":this.newTaskMessage(this.commonOperations.delete,D=>this.crudMessageId(D)),"cephfs/create":this.newTaskMessage(this.commonOperations.create,D=>this.volume(D)),"cephfs/edit":this.newTaskMessage(this.commonOperations.update,D=>this.volume(D)),"cephfs/remove":this.newTaskMessage(this.commonOperations.remove,D=>this.volume(D)),"cephfs/subvolume/create":this.newTaskMessage(this.commonOperations.create,D=>this.subvolume(D)),"cephfs/subvolume/edit":this.newTaskMessage(this.commonOperations.update,D=>this.subvolume(D)),"cephfs/subvolume/remove":this.newTaskMessage(this.commonOperations.remove,D=>this.subvolume(D)),"cephfs/subvolume/group/create":this.newTaskMessage(this.commonOperations.create,D=>this.subvolumegroup(D)),"cephfs/subvolume/group/edit":this.newTaskMessage(this.commonOperations.update,D=>this.subvolumegroup(D)),"cephfs/subvolume/group/remove":this.newTaskMessage(this.commonOperations.remove,D=>this.subvolumegroup(D))}}newTaskMessage(D,U,W){return new m(D,U,W)}host(D){return "host '" + D.hostname + "'"}osd(D){return "OSD '" + D.svc_id + "'"}pool(D){return "pool '" + D.pool_name + "'"}ecp(D){return "erasure code profile '" + D.name + "'"}crushRule(D){return "crush rule '" + D.name + "'"}iscsiTarget(D){return "target '" + D.target_iqn + "'"}nfs(D){return "NFS '" + D.cluster_id + ":" + (D.export_id ? D.export_id : D.path) + "'"}service(D){return "Service '" + D.service_name + "'"}crudMessage(D){let U=D.__message;return a().forEach(D,(W,$)=>{"__message"!=$&&(U=U.replace("{"+$+"}",W))}),"" + U + ""}volume(D){return "'" + D.volumeName + "'"}subvolume(D){return "subvolume '" + D.subVolumeName + "'"}subvolumegroup(D){return "subvolume group '" + D.subvolumegroupName + "'"}crudMessageId(D){return "" + D + ""}_getTaskTitle(D){return D.name&&D.name.startsWith("progress/")?this.newTaskMessage(new f(D.name.replace("progress/",""),"",D.name.replace("progress/","")),U=>""):this.messages[D.name]||this.defaultMessage}getSuccessTitle(D){return this._getTaskTitle(D).success(D.metadata)}getErrorMessage(D){return this._getTaskTitle(D).errors(D.metadata)[D.exception.code]||D.exception.detail}getErrorTitle(D){return this._getTaskTitle(D).failure(D.metadata)}getRunningTitle(D){return this._getTaskTitle(D).running(D.metadata)}getRunningText(D){return this._getTaskTitle(D).operation.running}}return M.\u0275fac=function(D){return new(D||M)},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})()},32337:(E,C,s)=>{"use strict";s.d(C,{P:()=>w});var r=s(70882),a=s(18001),c=s(61355),u=s(60737),e=s(97161),f=s(74255),m=s(71099),T=s(57924),M=s(64537);let w=(()=>{class D{constructor(W,$,J,F){this.notificationService=W,this.summaryService=$,this.taskMessageService=J,this.taskManagerService=F}wrapTaskAroundCall({task:W,call:$}){return new r.y(J=>{$.subscribe(F=>{202===F.status?this._handleExecutingTasks(W):(this.summaryService.refresh(),W.success=!0,this.notificationService.notifyTask(W))},F=>{W.success=!1,W.exception=F.error,J.error(F)},()=>{J.complete()})})}_handleExecutingTasks(W){const $=new c.T(a.k.info,this.taskMessageService.getRunningTitle(W));$.isFinishedTask=!0,this.notificationService.show($);const J=new u.o(W.name,W.metadata);this.summaryService.addRunningTask(J),this.taskManagerService.subscribe(J.name,J.metadata,F=>{this.notificationService.notifyTask(F)})}}return D.\u0275fac=function(W){return new(W||D)(M.LFG(e.g),M.LFG(f.J),M.LFG(T.p),M.LFG(m.k))},D.\u0275prov=M.Yz7({token:D,factory:D.\u0275fac,providedIn:"root"}),D})()},36848:(E,C,s)=>{"use strict";s.d(C,{f:()=>U});var r=s(46797),a=s(59746),c=s(43190),u=s(47349),e=s(2817),f=s(64537),m=s(33637);class T{constructor($){this.zone=$,this.scheduler=m.z}now(){return this.scheduler.now()}}let M=(()=>{class W extends T{constructor(J){super(J)}schedule(...J){return this.zone.runOutsideAngular(()=>this.scheduler.schedule.apply(this.scheduler,J))}}return W.\u0275fac=function(J){return new(J||W)(f.LFG(f.R0b))},W.\u0275prov=f.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),w=(()=>{class W extends T{constructor(J){super(J)}schedule(...J){return this.zone.run(()=>this.scheduler.schedule.apply(this.scheduler,J))}}return W.\u0275fac=function(J){return new(J||W)(f.LFG(f.R0b))},W.\u0275prov=f.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),D=(()=>{class W{constructor(J,F){this.leave=J,this.enter=F}}return W.\u0275fac=function(J){return new(J||W)(f.LFG(M),f.LFG(w))},W.\u0275prov=f.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})(),U=(()=>{class W{constructor(J){this.ngZone=J,this.DEFAULT_REFRESH_INTERVAL=5e3,this.DEFAULT_DUE_TIME=0}get(J,F=this.DEFAULT_REFRESH_INTERVAL,X=this.DEFAULT_DUE_TIME){return(0,r.H)(X,F,this.ngZone.leave).pipe((0,a.QV)(this.ngZone.enter),(0,c.w)(J),(0,u.d)({refCount:!0,bufferSize:1}),(0,e.r)())}}return W.\u0275fac=function(J){return new(J||W)(f.LFG(D))},W.\u0275prov=f.Yz7({token:W,factory:W.\u0275fac,providedIn:"root"}),W})()},51847:(E,C,s)=>{"use strict";s.d(C,{F:()=>c});var r=s(88692),a=s(79512);class c{constructor(e){this.base=e}static concatURLSegments(e){return e.reduce(r.Ye.joinWithSlash)}static buildURL(e,...f){return c.concatURLSegments([...e?["/"]:[],...f])}getURL(e,f=!0,...m){return c.buildURL(f,this.base,e,...m)}getCreate(e=!0){return this.getURL(a.MQ.CREATE,e)}getCreateFrom(e,f=!0){return this.getURL(a.MQ.CREATE,f,e)}getDelete(e=!0){return this.getURL(a.MQ.DELETE,e)}getEdit(e,f=!0){return this.getURL(a.MQ.EDIT,f,e)}getUpdate(e,f=!0){return this.getURL(a.MQ.UPDATE,f,e)}getAdd(e=!0){return this.getURL(a.MQ.ADD,e)}getRemove(e=!0){return this.getURL(a.MQ.REMOVE,e)}getRecreate(e,f=!0){return this.getURL(a.MQ.RECREATE,f,e)}}},44466:(E,C,s)=>{"use strict";s.d(C,{m:()=>X});var r=s(88692),a=s(20092),c=s(13066),u=s(43765),e=s(99475),f=s(15626),m=s(40267),T=s(35540),M=s(12455),w=s(45510),D=s(47640),U=s(28211),W=s(67464),$=s(39017),J=s(39054),F=s(64537);let X=(()=>{class de{}return de.\u0275fac=function(ce){return new(ce||de)},de.\u0275mod=F.oAB({type:de}),de.\u0275inj=F.cJS({providers:[D.j,w.P,U.H,e.P],imports:[r.ez,M.D,f.K,m.t,T.o,a.UX,c.X0.forRoot({types:[{name:"array",component:W.l},{name:"object",component:$.o},{name:"input",component:J.v}],validationMessages:[{name:"required",message:"This field is required"}]}),u.z,f.K,M.D,m.t,T.o]}),de})()},92340:(E,C,s)=>{"use strict";s.d(C,{N:()=>r});const r={default_lang:"en-US",production:!0,year:"2024"}},43486:(E,C,s)=>{"use strict";var r={};s.r(r),s.d(r,{JsonPatchError:()=>Cf,_areEquals:()=>ZE,applyOperation:()=>fv,applyPatch:()=>p1,applyReducer:()=>o5,deepClone:()=>r5,getValueByPointer:()=>VE,validate:()=>iw,validator:()=>gC});var a={};s.r(a),s.d(a,{compare:()=>p5,generate:()=>VA,observe:()=>f5,unobserve:()=>d5});var c={};s.r(c),s.d(c,{cookie:()=>Ak,header:()=>Ok,path:()=>Tk,query:()=>Ck});var u=s(5998),e=s(64537),f=s(88692),m=s(35732),T=s(14091);function w(t){return new e.vHH(3e3,!1)}function ir(){return typeof window<"u"&&typeof window.document<"u"}function Qr(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function jr(t){switch(t.length){case 0:return new T.ZN;case 1:return t[0];default:return new T.ZE(t)}}function br(t,i,n,o,l=new Map,_=new Map){const v=[],O=[];let P=-1,G=null;if(o.forEach(K=>{const oe=K.get("offset"),ue=oe==P,pe=ue&&G||new Map;K.forEach((ye,Ue)=>{let xe=Ue,ke=ye;if("offset"!==Ue)switch(xe=i.normalizePropertyName(xe,v),ke){case T.k1:ke=l.get(Ue);break;case T.l3:ke=_.get(Ue);break;default:ke=i.normalizeStyleValue(Ue,xe,ke,v)}pe.set(xe,ke)}),ue||O.push(pe),G=pe,P=oe}),v.length)throw function it(t){return new e.vHH(3502,!1)}();return O}function ht(t,i,n,o){switch(i){case"start":t.onStart(()=>o(n&&Wt(n,"start",t)));break;case"done":t.onDone(()=>o(n&&Wt(n,"done",t)));break;case"destroy":t.onDestroy(()=>o(n&&Wt(n,"destroy",t)))}}function Wt(t,i,n){const _=Tt(t.element,t.triggerName,t.fromState,t.toState,i||t.phaseName,n.totalTime??t.totalTime,!!n.disabled),v=t._data;return null!=v&&(_._data=v),_}function Tt(t,i,n,o,l="",_=0,v){return{element:t,triggerName:i,fromState:n,toState:o,phaseName:l,totalTime:_,disabled:!!v}}function wn(t,i,n){let o=t.get(i);return o||t.set(i,o=n),o}function jn(t){const i=t.indexOf(":");return[t.substring(1,i),t.slice(i+1)]}let hr=(t,i)=>!1,Oi=(t,i,n)=>[],Wi=null;function so(t){const i=t.parentNode||t.host;return i===Wi?null:i}(Qr()||typeof Element<"u")&&(ir()?(Wi=(()=>document.documentElement)(),hr=(t,i)=>{for(;i;){if(i===t)return!0;i=so(i)}return!1}):hr=(t,i)=>t.contains(i),Oi=(t,i,n)=>{if(n)return Array.from(t.querySelectorAll(i));const o=t.querySelector(i);return o?[o]:[]});let ii=null,mr=!1;const $i=hr,qr=Oi;let Dn=(()=>{class t{validateStyleProperty(n){return function pr(t){ii||(ii=function po(){return typeof document<"u"?document.body:null}()||{},mr=!!ii.style&&"WebkitAppearance"in ii.style);let i=!0;return ii.style&&!function Ei(t){return"ebkit"==t.substring(1,6)}(t)&&(i=t in ii.style,!i&&mr&&(i="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in ii.style)),i}(n)}matchesElement(n,o){return!1}containsElement(n,o){return $i(n,o)}getParentElement(n){return so(n)}query(n,o,l){return qr(n,o,l)}computeStyle(n,o,l){return l||""}animate(n,o,l,_,v,O=[],P){return new T.ZN(l,_)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})(),Hn=(()=>{class t{}return t.NOOP=new Dn,t})();const jt=1e3,et="ng-enter",ze="ng-leave",an="ng-trigger",lt=".ng-trigger",Rt="ng-animating",Pe=".ng-animating";function qn(t){if("number"==typeof t)return t;const i=t.match(/^(-?[\.\d]+)(m?s)/);return!i||i.length<2?0:gr(parseFloat(i[1]),i[2])}function gr(t,i){return"s"===i?t*jt:t}function Pn(t,i,n){return t.hasOwnProperty("duration")?t:function _r(t,i,n){let l,_=0,v="";if("string"==typeof t){const O=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===O)return i.push(w()),{duration:0,delay:0,easing:""};l=gr(parseFloat(O[1]),O[2]);const P=O[3];null!=P&&(_=gr(parseFloat(P),O[4]));const G=O[5];G&&(v=G)}else l=t;if(!n){let O=!1,P=i.length;l<0&&(i.push(function D(){return new e.vHH(3100,!1)}()),O=!0),_<0&&(i.push(function U(){return new e.vHH(3101,!1)}()),O=!0),O&&i.splice(P,0,w())}return{duration:l,delay:_,easing:v}}(t,i,n)}function Pr(t,i={}){return Object.keys(t).forEach(n=>{i[n]=t[n]}),i}function tr(t){const i=new Map;return Object.keys(t).forEach(n=>{i.set(n,t[n])}),i}function Zt(t,i=new Map,n){if(n)for(let[o,l]of n)i.set(o,l);for(let[o,l]of t)i.set(o,l);return i}function dn(t,i,n){return n?i+":"+n+";":""}function Ge(t){let i="";for(let n=0;n<t.style.length;n++){const o=t.style.item(n);i+=dn(0,o,t.style.getPropertyValue(o))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(i+=dn(0,ti(n),t.style[n]));t.setAttribute("style",i)}function Ot(t,i,n){t.style&&(i.forEach((o,l)=>{const _=Ni(l);n&&!n.has(l)&&n.set(l,t.style[_]),t.style[_]=o}),Qr()&&Ge(t))}function mn(t,i){t.style&&(i.forEach((n,o)=>{const l=Ni(o);t.style[l]=""}),Qr()&&Ge(t))}function wr(t){return Array.isArray(t)?1==t.length?t[0]:(0,T.vP)(t):t}const Ci=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ai(t){let i=[];if("string"==typeof t){let n;for(;n=Ci.exec(t);)i.push(n[1]);Ci.lastIndex=0}return i}function Ko(t,i,n){const o=t.toString(),l=o.replace(Ci,(_,v)=>{let O=i[v];return null==O&&(n.push(function $(t){return new e.vHH(3003,!1)}()),O=""),O.toString()});return l==o?t:l}function _s(t){const i=[];let n=t.next();for(;!n.done;)i.push(n.value),n=t.next();return i}const dr=/-+([a-z0-9])/g;function Ni(t){return t.replace(dr,(...i)=>i[1].toUpperCase())}function ti(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ji(t,i,n){switch(i.type){case 7:return t.visitTrigger(i,n);case 0:return t.visitState(i,n);case 1:return t.visitTransition(i,n);case 2:return t.visitSequence(i,n);case 3:return t.visitGroup(i,n);case 4:return t.visitAnimate(i,n);case 5:return t.visitKeyframes(i,n);case 6:return t.visitStyle(i,n);case 8:return t.visitReference(i,n);case 9:return t.visitAnimateChild(i,n);case 10:return t.visitAnimateRef(i,n);case 11:return t.visitQuery(i,n);case 12:return t.visitStagger(i,n);default:throw function J(t){return new e.vHH(3004,!1)}()}}function Vi(t,i){return window.getComputedStyle(t)[i]}const ci="*";function _o(t,i){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(o=>function go(t,i,n){if(":"==t[0]){const P=function es(t,i){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,o)=>parseFloat(o)>parseFloat(n);case":decrement":return(n,o)=>parseFloat(o)<parseFloat(n);default:return i.push(function He(t){return new e.vHH(3016,!1)}()),"* => *"}}(t,n);if("function"==typeof P)return void i.push(P);t=P}const o=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return n.push(function qe(t){return new e.vHH(3015,!1)}()),i;const l=o[1],_=o[2],v=o[3];i.push(ss(l,v));"<"==_[0]&&!(l==ci&&v==ci)&&i.push(ss(v,l))}(o,n,i)):n.push(t),n}const ts=new Set(["true","1"]),jo=new Set(["false","0"]);function ss(t,i){const n=ts.has(t)||jo.has(t),o=ts.has(i)||jo.has(i);return(l,_)=>{let v=t==ci||t==l,O=i==ci||i==_;return!v&&n&&"boolean"==typeof l&&(v=l?ts.has(t):jo.has(t)),!O&&o&&"boolean"==typeof _&&(O=_?ts.has(i):jo.has(i)),v&&O}}const Is=new RegExp("s*:selfs*,?","g");function la(t,i,n,o){return new jl(t).build(i,n,o)}class jl{constructor(i){this._driver=i}build(i,n,o){const l=new da(n);return this._resetContextStyleTimingState(l),ji(this,wr(i),l)}_resetContextStyleTimingState(i){i.currentQuerySelector="",i.collectedStyles=new Map,i.collectedStyles.set("",new Map),i.currentTime=0}visitTrigger(i,n){let o=n.queryCount=0,l=n.depCount=0;const _=[],v=[];return"@"==i.name.charAt(0)&&n.errors.push(function X(){return new e.vHH(3006,!1)}()),i.definitions.forEach(O=>{if(this._resetContextStyleTimingState(n),0==O.type){const P=O,G=P.name;G.toString().split(/\s*,\s*/).forEach(K=>{P.name=K,_.push(this.visitState(P,n))}),P.name=G}else if(1==O.type){const P=this.visitTransition(O,n);o+=P.queryCount,l+=P.depCount,v.push(P)}else n.errors.push(function de(){return new e.vHH(3007,!1)}())}),{type:7,name:i.name,states:_,transitions:v,queryCount:o,depCount:l,options:null}}visitState(i,n){const o=this.visitStyle(i.styles,n),l=i.options&&i.options.params||null;if(o.containsDynamicStyles){const _=new Set,v=l||{};o.styles.forEach(O=>{O instanceof Map&&O.forEach(P=>{Ai(P).forEach(G=>{v.hasOwnProperty(G)||_.add(G)})})}),_.size&&(_s(_.values()),n.errors.push(function V(t,i){return new e.vHH(3008,!1)}()))}return{type:0,name:i.name,style:o,options:l?{params:l}:null}}visitTransition(i,n){n.queryCount=0,n.depCount=0;const o=ji(this,wr(i.animation),n);return{type:1,matchers:_o(i.expr,n.errors),animation:o,queryCount:n.queryCount,depCount:n.depCount,options:Ji(i.options)}}visitSequence(i,n){return{type:2,steps:i.steps.map(o=>ji(this,o,n)),options:Ji(i.options)}}visitGroup(i,n){const o=n.currentTime;let l=0;const _=i.steps.map(v=>{n.currentTime=o;const O=ji(this,v,n);return l=Math.max(l,n.currentTime),O});return n.currentTime=l,{type:3,steps:_,options:Ji(i.options)}}visitAnimate(i,n){const o=function Rl(t,i){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return Ha(Pn(t,i).duration,0,"");const n=t;if(n.split(/\s+/).some(_=>"{"==_.charAt(0)&&"{"==_.charAt(1))){const _=Ha(0,0,"");return _.dynamic=!0,_.strValue=n,_}const l=Pn(n,i);return Ha(l.duration,l.delay,l.easing)}(i.timings,n.errors);n.currentAnimateTimings=o;let l,_=i.styles?i.styles:(0,T.oB)({});if(5==_.type)l=this.visitKeyframes(_,n);else{let v=i.styles,O=!1;if(!v){O=!0;const G={};o.easing&&(G.easing=o.easing),v=(0,T.oB)(G)}n.currentTime+=o.duration+o.delay;const P=this.visitStyle(v,n);P.isEmptyStep=O,l=P}return n.currentAnimateTimings=null,{type:4,timings:o,style:l,options:null}}visitStyle(i,n){const o=this._makeStyleAst(i,n);return this._validateStyleAst(o,n),o}_makeStyleAst(i,n){const o=[],l=Array.isArray(i.styles)?i.styles:[i.styles];for(let O of l)"string"==typeof O?O===T.l3?o.push(O):n.errors.push(new e.vHH(3002,!1)):o.push(tr(O));let _=!1,v=null;return o.forEach(O=>{if(O instanceof Map&&(O.has("easing")&&(v=O.get("easing"),O.delete("easing")),!_))for(let P of O.values())if(P.toString().indexOf("{{")>=0){_=!0;break}}),{type:6,styles:o,easing:v,offset:i.offset,containsDynamicStyles:_,options:null}}_validateStyleAst(i,n){const o=n.currentAnimateTimings;let l=n.currentTime,_=n.currentTime;o&&_>0&&(_-=o.duration+o.delay),i.styles.forEach(v=>{"string"!=typeof v&&v.forEach((O,P)=>{const G=n.collectedStyles.get(n.currentQuerySelector),K=G.get(P);let oe=!0;K&&(_!=l&&_>=K.startTime&&l<=K.endTime&&(n.errors.push(function fe(t,i,n,o,l){return new e.vHH(3010,!1)}()),oe=!1),_=K.startTime),oe&&G.set(P,{startTime:_,endTime:l}),n.options&&function Ti(t,i,n){const o=i.params||{},l=Ai(t);l.length&&l.forEach(_=>{o.hasOwnProperty(_)||n.push(function W(t){return new e.vHH(3001,!1)}())})}(O,n.options,n.errors)})})}visitKeyframes(i,n){const o={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(function Te(){return new e.vHH(3011,!1)}()),o;let _=0;const v=[];let O=!1,P=!1,G=0;const K=i.steps.map(ke=>{const we=this._makeStyleAst(ke,n);let Z=null!=we.offset?we.offset:function $a(t){if("string"==typeof t)return null;let i=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){const o=n;i=parseFloat(o.get("offset")),o.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const n=t;i=parseFloat(n.get("offset")),n.delete("offset")}return i}(we.styles),Ft=0;return null!=Z&&(_++,Ft=we.offset=Z),P=P||Ft<0||Ft>1,O=O||Ft<G,G=Ft,v.push(Ft),we});P&&n.errors.push(function $e(){return new e.vHH(3012,!1)}()),O&&n.errors.push(function ge(){return new e.vHH(3200,!1)}());const oe=i.steps.length;let ue=0;_>0&&_<oe?n.errors.push(function Et(){return new e.vHH(3202,!1)}()):0==_&&(ue=1/(oe-1));const pe=oe-1,ye=n.currentTime,Ue=n.currentAnimateTimings,xe=Ue.duration;return K.forEach((ke,we)=>{const Z=ue>0?we==pe?1:ue*we:v[we],Ft=Z*xe;n.currentTime=ye+Ue.delay+Ft,Ue.duration=Ft,this._validateStyleAst(ke,n),ke.offset=Z,o.styles.push(ke)}),o}visitReference(i,n){return{type:8,animation:ji(this,wr(i.animation),n),options:Ji(i.options)}}visitAnimateChild(i,n){return n.depCount++,{type:9,options:Ji(i.options)}}visitAnimateRef(i,n){return{type:10,animation:this.visitReference(i.animation,n),options:Ji(i.options)}}visitQuery(i,n){const o=n.currentQuerySelector,l=i.options||{};n.queryCount++,n.currentQuery=i;const[_,v]=function gl(t){const i=!!t.split(/\s*,\s*/).find(n=>":self"==n);return i&&(t=t.replace(Is,"")),t=t.replace(/@\*/g,lt).replace(/@\w+/g,n=>lt+"-"+n.slice(1)).replace(/:animating/g,Pe),[t,i]}(i.selector);n.currentQuerySelector=o.length?o+" "+_:_,wn(n.collectedStyles,n.currentQuerySelector,new Map);const O=ji(this,wr(i.animation),n);return n.currentQuery=null,n.currentQuerySelector=o,{type:11,selector:_,limit:l.limit||0,optional:!!l.optional,includeSelf:v,animation:O,originalSelector:i.selector,options:Ji(i.options)}}visitStagger(i,n){n.currentQuery||n.errors.push(function ot(){return new e.vHH(3013,!1)}());const o="full"===i.timings?{duration:0,delay:0,easing:"full"}:Pn(i.timings,n.errors,!0);return{type:12,animation:ji(this,wr(i.animation),n),timings:o,options:null}}}class da{constructor(i){this.errors=i,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Ji(t){return t?(t=Pr(t)).params&&(t.params=function qa(t){return t?Pr(t):null}(t.params)):t={},t}function Ha(t,i,n){return{duration:t,delay:i,easing:n}}function Ts(t,i,n,o,l,_,v=null,O=!1){return{type:1,element:t,keyframes:i,preStyleProps:n,postStyleProps:o,duration:l,delay:_,totalTime:l+_,easing:v,subTimeline:O}}class hs{constructor(){this._map=new Map}get(i){return this._map.get(i)||[]}append(i,n){let o=this._map.get(i);o||this._map.set(i,o=[]),o.push(...n)}has(i){return this._map.has(i)}clear(){this._map.clear()}}const Ja=new RegExp(":enter","g"),Xo=new RegExp(":leave","g");function No(t,i,n,o,l,_=new Map,v=new Map,O,P,G=[]){return(new Cs).buildKeyframes(t,i,n,o,l,_,v,O,P,G)}class Cs{buildKeyframes(i,n,o,l,_,v,O,P,G,K=[]){G=G||new hs;const oe=new Fo(i,n,G,l,_,K,[]);oe.options=P;const ue=P.delay?qn(P.delay):0;oe.currentTimeline.delayNextStep(ue),oe.currentTimeline.setStyles([v],null,oe.errors,P),ji(this,o,oe);const pe=oe.timelines.filter(ye=>ye.containsAnimation());if(pe.length&&O.size){let ye;for(let Ue=pe.length-1;Ue>=0;Ue--){const xe=pe[Ue];if(xe.element===n){ye=xe;break}}ye&&!ye.allowOnlyTimelineStyles()&&ye.setStyles([O],null,oe.errors,P)}return pe.length?pe.map(ye=>ye.buildKeyframes()):[Ts(n,[],[],[],0,ue,"",!1)]}visitTrigger(i,n){}visitState(i,n){}visitTransition(i,n){}visitAnimateChild(i,n){const o=n.subInstructions.get(n.element);if(o){const l=n.createSubContext(i.options),_=n.currentTimeline.currentTime,v=this._visitSubInstructions(o,l,l.options);_!=v&&n.transformIntoNewTimeline(v)}n.previousNode=i}visitAnimateRef(i,n){const o=n.createSubContext(i.options);o.transformIntoNewTimeline(),this._applyAnimationRefDelays([i.options,i.animation.options],n,o),this.visitReference(i.animation,o),n.transformIntoNewTimeline(o.currentTimeline.currentTime),n.previousNode=i}_applyAnimationRefDelays(i,n,o){for(const l of i){const _=l?.delay;if(_){const v="number"==typeof _?_:qn(Ko(_,l?.params??{},n.errors));o.delayNextStep(v)}}}_visitSubInstructions(i,n,o){let _=n.currentTimeline.currentTime;const v=null!=o.duration?qn(o.duration):null,O=null!=o.delay?qn(o.delay):null;return 0!==v&&i.forEach(P=>{const G=n.appendInstructionToTimeline(P,v,O);_=Math.max(_,G.duration+G.delay)}),_}visitReference(i,n){n.updateOptions(i.options,!0),ji(this,i.animation,n),n.previousNode=i}visitSequence(i,n){const o=n.subContextCount;let l=n;const _=i.options;if(_&&(_.params||_.delay)&&(l=n.createSubContext(_),l.transformIntoNewTimeline(),null!=_.delay)){6==l.previousNode.type&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=ns);const v=qn(_.delay);l.delayNextStep(v)}i.steps.length&&(i.steps.forEach(v=>ji(this,v,l)),l.currentTimeline.applyStylesToKeyframe(),l.subContextCount>o&&l.transformIntoNewTimeline()),n.previousNode=i}visitGroup(i,n){const o=[];let l=n.currentTimeline.currentTime;const _=i.options&&i.options.delay?qn(i.options.delay):0;i.steps.forEach(v=>{const O=n.createSubContext(i.options);_&&O.delayNextStep(_),ji(this,v,O),l=Math.max(l,O.currentTimeline.currentTime),o.push(O.currentTimeline)}),o.forEach(v=>n.currentTimeline.mergeTimelineCollectedStyles(v)),n.transformIntoNewTimeline(l),n.previousNode=i}_visitTiming(i,n){if(i.dynamic){const o=i.strValue;return Pn(n.params?Ko(o,n.params,n.errors):o,n.errors)}return{duration:i.duration,delay:i.delay,easing:i.easing}}visitAnimate(i,n){const o=n.currentAnimateTimings=this._visitTiming(i.timings,n),l=n.currentTimeline;o.delay&&(n.incrementTime(o.delay),l.snapshotCurrentStyles());const _=i.style;5==_.type?this.visitKeyframes(_,n):(n.incrementTime(o.duration),this.visitStyle(_,n),l.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=i}visitStyle(i,n){const o=n.currentTimeline,l=n.currentAnimateTimings;!l&&o.hasCurrentStyleProperties()&&o.forwardFrame();const _=l&&l.easing||i.easing;i.isEmptyStep?o.applyEmptyStep(_):o.setStyles(i.styles,_,n.errors,n.options),n.previousNode=i}visitKeyframes(i,n){const o=n.currentAnimateTimings,l=n.currentTimeline.duration,_=o.duration,O=n.createSubContext().currentTimeline;O.easing=o.easing,i.styles.forEach(P=>{O.forwardTime((P.offset||0)*_),O.setStyles(P.styles,P.easing,n.errors,n.options),O.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(O),n.transformIntoNewTimeline(l+_),n.previousNode=i}visitQuery(i,n){const o=n.currentTimeline.currentTime,l=i.options||{},_=l.delay?qn(l.delay):0;_&&(6===n.previousNode.type||0==o&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=ns);let v=o;const O=n.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!l.optional,n.errors);n.currentQueryTotal=O.length;let P=null;O.forEach((G,K)=>{n.currentQueryIndex=K;const oe=n.createSubContext(i.options,G);_&&oe.delayNextStep(_),G===n.element&&(P=oe.currentTimeline),ji(this,i.animation,oe),oe.currentTimeline.applyStylesToKeyframe(),v=Math.max(v,oe.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(v),P&&(n.currentTimeline.mergeTimelineCollectedStyles(P),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=i}visitStagger(i,n){const o=n.parentContext,l=n.currentTimeline,_=i.timings,v=Math.abs(_.duration),O=v*(n.currentQueryTotal-1);let P=v*n.currentQueryIndex;switch(_.duration<0?"reverse":_.easing){case"reverse":P=O-P;break;case"full":P=o.currentStaggerTime}const K=n.currentTimeline;P&&K.delayNextStep(P);const oe=K.currentTime;ji(this,i.animation,n),n.previousNode=i,o.currentStaggerTime=l.currentTime-oe+(l.startTime-o.currentTimeline.startTime)}}const ns={};class Fo{constructor(i,n,o,l,_,v,O,P){this._driver=i,this.element=n,this.subInstructions=o,this._enterClassName=l,this._leaveClassName=_,this.errors=v,this.timelines=O,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ns,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=P||new zr(this._driver,n,0),O.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(i,n){if(!i)return;const o=i;let l=this.options;null!=o.duration&&(l.duration=qn(o.duration)),null!=o.delay&&(l.delay=qn(o.delay));const _=o.params;if(_){let v=l.params;v||(v=this.options.params={}),Object.keys(_).forEach(O=>{(!n||!v.hasOwnProperty(O))&&(v[O]=Ko(_[O],v,this.errors))})}}_copyOptions(){const i={};if(this.options){const n=this.options.params;if(n){const o=i.params={};Object.keys(n).forEach(l=>{o[l]=n[l]})}}return i}createSubContext(i=null,n,o){const l=n||this.element,_=new Fo(this._driver,l,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(l,o||0));return _.previousNode=this.previousNode,_.currentAnimateTimings=this.currentAnimateTimings,_.options=this._copyOptions(),_.updateOptions(i),_.currentQueryIndex=this.currentQueryIndex,_.currentQueryTotal=this.currentQueryTotal,_.parentContext=this,this.subContextCount++,_}transformIntoNewTimeline(i){return this.previousNode=ns,this.currentTimeline=this.currentTimeline.fork(this.element,i),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(i,n,o){const l={duration:n??i.duration,delay:this.currentTimeline.currentTime+(o??0)+i.delay,easing:""},_=new io(this._driver,i.element,i.keyframes,i.preStyleProps,i.postStyleProps,l,i.stretchStartingKeyframe);return this.timelines.push(_),l}incrementTime(i){this.currentTimeline.forwardTime(this.currentTimeline.duration+i)}delayNextStep(i){i>0&&this.currentTimeline.delayNextStep(i)}invokeQuery(i,n,o,l,_,v){let O=[];if(l&&O.push(this.element),i.length>0){i=(i=i.replace(Ja,"."+this._enterClassName)).replace(Xo,"."+this._leaveClassName);let G=this._driver.query(this.element,i,1!=o);0!==o&&(G=o<0?G.slice(G.length+o,G.length):G.slice(0,o)),O.push(...G)}return!_&&0==O.length&&v.push(function ct(t){return new e.vHH(3014,!1)}()),O}}class zr{constructor(i,n,o,l){this._driver=i,this.element=n,this.startTime=o,this._elementTimelineStylesLookup=l,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(i){const n=1===this._keyframes.size&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+i),n&&this.snapshotCurrentStyles()):this.startTime+=i}fork(i,n){return this.applyStylesToKeyframe(),new zr(this._driver,i,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(i){this.applyStylesToKeyframe(),this.duration=i,this._loadKeyframe()}_updateStyle(i,n){this._localTimelineStyles.set(i,n),this._globalTimelineStyles.set(i,n),this._styleSummary.set(i,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(i){i&&this._previousKeyframe.set("easing",i);for(let[n,o]of this._globalTimelineStyles)this._backFill.set(n,o||T.l3),this._currentKeyframe.set(n,T.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(i,n,o,l){n&&this._previousKeyframe.set("easing",n);const _=l&&l.params||{},v=function Tn(t,i){const n=new Map;let o;return t.forEach(l=>{if("*"===l){o=o||i.keys();for(let _ of o)n.set(_,T.l3)}else Zt(l,n)}),n}(i,this._globalTimelineStyles);for(let[O,P]of v){const G=Ko(P,_,o);this._pendingStyles.set(O,G),this._localTimelineStyles.has(O)||this._backFill.set(O,this._globalTimelineStyles.get(O)??T.l3),this._updateStyle(O,G)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((i,n)=>{this._currentKeyframe.set(n,i)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((i,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,i)}))}snapshotCurrentStyles(){for(let[i,n]of this._localTimelineStyles)this._pendingStyles.set(i,n),this._updateStyle(i,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const i=[];for(let n in this._currentKeyframe)i.push(n);return i}mergeTimelineCollectedStyles(i){i._styleSummary.forEach((n,o)=>{const l=this._styleSummary.get(o);(!l||n.time>l.time)&&this._updateStyle(o,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const i=new Set,n=new Set,o=1===this._keyframes.size&&0===this.duration;let l=[];this._keyframes.forEach((O,P)=>{const G=Zt(O,new Map,this._backFill);G.forEach((K,oe)=>{K===T.k1?i.add(oe):K===T.l3&&n.add(oe)}),o||G.set("offset",P/this.duration),l.push(G)});const _=i.size?_s(i.values()):[],v=n.size?_s(n.values()):[];if(o){const O=l[0],P=new Map(O);O.set("offset",0),P.set("offset",1),l=[O,P]}return Ts(this.element,l,_,v,this.duration,this.startTime,this.easing,!1)}}class io extends zr{constructor(i,n,o,l,_,v,O=!1){super(i,n,v.delay),this.keyframes=o,this.preStyleProps=l,this.postStyleProps=_,this._stretchStartingKeyframe=O,this.timings={duration:v.duration,delay:v.delay,easing:v.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let i=this.keyframes,{delay:n,duration:o,easing:l}=this.timings;if(this._stretchStartingKeyframe&&n){const _=[],v=o+n,O=n/v,P=Zt(i[0]);P.set("offset",0),_.push(P);const G=Zt(i[0]);G.set("offset",gt(O)),_.push(G);const K=i.length-1;for(let oe=1;oe<=K;oe++){let ue=Zt(i[oe]);const pe=ue.get("offset");ue.set("offset",gt((n+pe*o)/v)),_.push(ue)}o=v,n=0,l="",i=_}return Ts(this.element,i,this.preStyleProps,this.postStyleProps,o,n,l,!0)}}function gt(t,i=3){const n=Math.pow(10,i-1);return Math.round(t*n)/n}class Ze{}const gn=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class vi extends Ze{normalizePropertyName(i,n){return Ni(i)}normalizeStyleValue(i,n,o,l){let _="";const v=o.toString().trim();if(gn.has(n)&&0!==o&&"0"!==o)if("number"==typeof o)_="px";else{const O=o.match(/^[+-]?[\d\.]+([a-z]*)$/);O&&0==O[1].length&&l.push(function F(t,i){return new e.vHH(3005,!1)}())}return v+_}}function Bi(t,i,n,o,l,_,v,O,P,G,K,oe,ue){return{type:0,element:t,triggerName:i,isRemovalTransition:l,fromState:n,fromStyles:_,toState:o,toStyles:v,timelines:O,queriedElements:P,preStyleProps:G,postStyleProps:K,totalTime:oe,errors:ue}}const Xi={};class ws{constructor(i,n,o){this._triggerName=i,this.ast=n,this._stateStyles=o}match(i,n,o,l){return function qs(t,i,n,o,l){return t.some(_=>_(i,n,o,l))}(this.ast.matchers,i,n,o,l)}buildStyles(i,n,o){let l=this._stateStyles.get("*");return void 0!==i&&(l=this._stateStyles.get(i?.toString())||l),l?l.buildStyles(n,o):new Map}build(i,n,o,l,_,v,O,P,G,K){const oe=[],ue=this.ast.options&&this.ast.options.params||Xi,ye=this.buildStyles(o,O&&O.params||Xi,oe),Ue=P&&P.params||Xi,xe=this.buildStyles(l,Ue,oe),ke=new Set,we=new Map,Z=new Map,Ft="void"===l,Dt={params:Js(Ue,ue),delay:this.ast.options?.delay},Yt=K?[]:No(i,n,this.ast.animation,_,v,ye,xe,Dt,G,oe);let ln=0;if(Yt.forEach(nn=>{ln=Math.max(nn.duration+nn.delay,ln)}),oe.length)return Bi(n,this._triggerName,o,l,Ft,ye,xe,[],[],we,Z,ln,oe);Yt.forEach(nn=>{const Jn=nn.element,zn=wn(we,Jn,new Set);nn.preStyleProps.forEach($r=>zn.add($r));const Zr=wn(Z,Jn,new Set);nn.postStyleProps.forEach($r=>Zr.add($r)),Jn!==n&&ke.add(Jn)});const $n=_s(ke.values());return Bi(n,this._triggerName,o,l,Ft,ye,xe,Yt,$n,we,Z,ln)}}function Js(t,i){const n=Pr(i);for(const o in t)t.hasOwnProperty(o)&&null!=t[o]&&(n[o]=t[o]);return n}class Ll{constructor(i,n,o){this.styles=i,this.defaultParams=n,this.normalizer=o}buildStyles(i,n){const o=new Map,l=Pr(this.defaultParams);return Object.keys(i).forEach(_=>{const v=i[_];null!==v&&(l[_]=v)}),this.styles.styles.forEach(_=>{"string"!=typeof _&&_.forEach((v,O)=>{v&&(v=Ko(v,l,n));const P=this.normalizer.normalizePropertyName(O,n);v=this.normalizer.normalizeStyleValue(O,P,v,n),o.set(O,v)})}),o}}class Yu{constructor(i,n,o){this.name=i,this.ast=n,this._normalizer=o,this.transitionFactories=[],this.states=new Map,n.states.forEach(l=>{this.states.set(l.name,new Ll(l.style,l.options&&l.options.params||{},o))}),qu(this.states,"true","1"),qu(this.states,"false","0"),n.transitions.forEach(l=>{this.transitionFactories.push(new ws(i,l,this.states))}),this.fallbackTransition=function Nc(t,i,n){return new ws(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(v,O)=>!0],options:null,queryCount:0,depCount:0},i)}(i,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(i,n,o,l){return this.transitionFactories.find(v=>v.match(i,n,o,l))||null}matchStyles(i,n,o){return this.fallbackTransition.buildStyles(i,n,o)}}function qu(t,i,n){t.has(i)?t.has(n)||t.set(n,t.get(i)):t.has(n)&&t.set(i,t.get(n))}const Ol=new hs;class Kc{constructor(i,n,o){this.bodyNode=i,this._driver=n,this._normalizer=o,this._animations=new Map,this._playersById=new Map,this.players=[]}register(i,n){const o=[],l=[],_=la(this._driver,n,o,l);if(o.length)throw function Xt(t){return new e.vHH(3503,!1)}();this._animations.set(i,_)}_buildPlayer(i,n,o){const l=i.element,_=br(0,this._normalizer,0,i.keyframes,n,o);return this._driver.animate(l,_,i.duration,i.delay,i.easing,[],!0)}create(i,n,o={}){const l=[],_=this._animations.get(i);let v;const O=new Map;if(_?(v=No(this._driver,n,_,et,ze,new Map,new Map,o,Ol,l),v.forEach(K=>{const oe=wn(O,K.element,new Map);K.postStyleProps.forEach(ue=>oe.set(ue,null))})):(l.push(function cn(){return new e.vHH(3300,!1)}()),v=[]),l.length)throw function pn(t){return new e.vHH(3504,!1)}();O.forEach((K,oe)=>{K.forEach((ue,pe)=>{K.set(pe,this._driver.computeStyle(oe,pe,T.l3))})});const G=jr(v.map(K=>{const oe=O.get(K.element);return this._buildPlayer(K,new Map,oe)}));return this._playersById.set(i,G),G.onDestroy(()=>this.destroy(i)),this.players.push(G),G}destroy(i){const n=this._getPlayer(i);n.destroy(),this._playersById.delete(i);const o=this.players.indexOf(n);o>=0&&this.players.splice(o,1)}_getPlayer(i){const n=this._playersById.get(i);if(!n)throw function Rn(t){return new e.vHH(3301,!1)}();return n}listen(i,n,o,l){const _=Tt(n,"","","");return ht(this._getPlayer(i),o,_,l),()=>{}}command(i,n,o,l){if("register"==o)return void this.register(i,l[0]);if("create"==o)return void this.create(i,n,l[0]||{});const _=this._getPlayer(i);switch(o){case"play":_.play();break;case"pause":_.pause();break;case"reset":_.reset();break;case"restart":_.restart();break;case"finish":_.finish();break;case"init":_.init();break;case"setPosition":_.setPosition(parseFloat(l[0]));break;case"destroy":this.destroy(i)}}}const yl="ng-animate-queued",Da="ng-animate-disabled",oc=[],Xl={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ic={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gs="__ng_removed";class ku{get params(){return this.options.params}constructor(i,n=""){this.namespaceId=n;const o=i&&i.hasOwnProperty("value");if(this.value=function Ba(t){return t??null}(o?i.value:i),o){const _=Pr(i);delete _.value,this.options=_}else this.options={};this.options.params||(this.options.params={})}absorbOptions(i){const n=i.params;if(n){const o=this.options.params;Object.keys(n).forEach(l=>{null==o[l]&&(o[l]=n[l])})}}}const zu="void",ua=new ku(zu);class El{constructor(i,n,o){this.id=i,this.hostElement=n,this._engine=o,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,Sa(n,this._hostClassName)}listen(i,n,o,l){if(!this._triggers.has(n))throw function At(t,i){return new e.vHH(3302,!1)}();if(null==o||0==o.length)throw function qt(t){return new e.vHH(3303,!1)}();if(!function tl(t){return"start"==t||"done"==t}(o))throw function sn(t,i){return new e.vHH(3400,!1)}();const _=wn(this._elementListeners,i,[]),v={name:n,phase:o,callback:l};_.push(v);const O=wn(this._engine.statesByElement,i,new Map);return O.has(n)||(Sa(i,an),Sa(i,an+"-"+n),O.set(n,ua)),()=>{this._engine.afterFlush(()=>{const P=_.indexOf(v);P>=0&&_.splice(P,1),this._triggers.has(n)||O.delete(n)})}}register(i,n){return!this._triggers.has(i)&&(this._triggers.set(i,n),!0)}_getTrigger(i){const n=this._triggers.get(i);if(!n)throw function fn(t){return new e.vHH(3401,!1)}();return n}trigger(i,n,o,l=!0){const _=this._getTrigger(n),v=new Eu(this.id,n,i);let O=this._engine.statesByElement.get(i);O||(Sa(i,an),Sa(i,an+"-"+n),this._engine.statesByElement.set(i,O=new Map));let P=O.get(n);const G=new ku(o,this.id);if(!(o&&o.hasOwnProperty("value"))&&P&&G.absorbOptions(P.options),O.set(n,G),P||(P=ua),G.value!==zu&&P.value===G.value){if(!function Su(t,i){const n=Object.keys(t),o=Object.keys(i);if(n.length!=o.length)return!1;for(let l=0;l<n.length;l++){const _=n[l];if(!i.hasOwnProperty(_)||t[_]!==i[_])return!1}return!0}(P.params,G.params)){const Ue=[],xe=_.matchStyles(P.value,P.params,Ue),ke=_.matchStyles(G.value,G.params,Ue);Ue.length?this._engine.reportError(Ue):this._engine.afterFlush(()=>{mn(i,xe),Ot(i,ke)})}return}const ue=wn(this._engine.playersByElement,i,[]);ue.forEach(Ue=>{Ue.namespaceId==this.id&&Ue.triggerName==n&&Ue.queued&&Ue.destroy()});let pe=_.matchTransition(P.value,G.value,i,G.params),ye=!1;if(!pe){if(!l)return;pe=_.fallbackTransition,ye=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:n,transition:pe,fromState:P,toState:G,player:v,isFallbackTransition:ye}),ye||(Sa(i,yl),v.onStart(()=>{Ru(i,yl)})),v.onDone(()=>{let Ue=this.players.indexOf(v);Ue>=0&&this.players.splice(Ue,1);const xe=this._engine.playersByElement.get(i);if(xe){let ke=xe.indexOf(v);ke>=0&&xe.splice(ke,1)}}),this.players.push(v),ue.push(v),v}deregister(i){this._triggers.delete(i),this._engine.statesByElement.forEach(n=>n.delete(i)),this._elementListeners.forEach((n,o)=>{this._elementListeners.set(o,n.filter(l=>l.name!=i))})}clearElementCache(i){this._engine.statesByElement.delete(i),this._elementListeners.delete(i);const n=this._engine.playersByElement.get(i);n&&(n.forEach(o=>o.destroy()),this._engine.playersByElement.delete(i))}_signalRemovalForInnerTriggers(i,n){const o=this._engine.driver.query(i,lt,!0);o.forEach(l=>{if(l[Gs])return;const _=this._engine.fetchNamespacesByElement(l);_.size?_.forEach(v=>v.triggerLeaveAnimation(l,n,!1,!0)):this.clearElementCache(l)}),this._engine.afterFlushAnimationsDone(()=>o.forEach(l=>this.clearElementCache(l)))}triggerLeaveAnimation(i,n,o,l){const _=this._engine.statesByElement.get(i),v=new Map;if(_){const O=[];if(_.forEach((P,G)=>{if(v.set(G,P.value),this._triggers.has(G)){const K=this.trigger(i,G,zu,l);K&&O.push(K)}}),O.length)return this._engine.markElementAsRemoved(this.id,i,!0,n,v),o&&jr(O).onDone(()=>this._engine.processLeaveNode(i)),!0}return!1}prepareLeaveAnimationListeners(i){const n=this._elementListeners.get(i),o=this._engine.statesByElement.get(i);if(n&&o){const l=new Set;n.forEach(_=>{const v=_.name;if(l.has(v))return;l.add(v);const P=this._triggers.get(v).fallbackTransition,G=o.get(v)||ua,K=new ku(zu),oe=new Eu(this.id,v,i);this._engine.totalQueuedPlayers++,this._queue.push({element:i,triggerName:v,transition:P,fromState:G,toState:K,player:oe,isFallbackTransition:!0})})}}removeNode(i,n){const o=this._engine;if(i.childElementCount&&this._signalRemovalForInnerTriggers(i,n),this.triggerLeaveAnimation(i,n,!0))return;let l=!1;if(o.totalAnimations){const _=o.players.length?o.playersByQueriedElement.get(i):[];if(_&&_.length)l=!0;else{let v=i;for(;v=v.parentNode;)if(o.statesByElement.get(v)){l=!0;break}}}if(this.prepareLeaveAnimationListeners(i),l)o.markElementAsRemoved(this.id,i,!1,n);else{const _=i[Gs];(!_||_===Xl)&&(o.afterFlush(()=>this.clearElementCache(i)),o.destroyInnerAnimations(i),o._onRemovalComplete(i,n))}}insertNode(i,n){Sa(i,this._hostClassName)}drainQueuedTransitions(i){const n=[];return this._queue.forEach(o=>{const l=o.player;if(l.destroyed)return;const _=o.element,v=this._elementListeners.get(_);v&&v.forEach(O=>{if(O.name==o.triggerName){const P=Tt(_,o.triggerName,o.fromState.value,o.toState.value);P._data=i,ht(o.player,O.phase,P,O.callback)}}),l.markedForDestroy?this._engine.afterFlush(()=>{l.destroy()}):n.push(o)}),this._queue=[],n.sort((o,l)=>{const _=o.transition.ast.depCount,v=l.transition.ast.depCount;return 0==_||0==v?_-v:this._engine.driver.containsElement(o.element,l.element)?1:-1})}destroy(i){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,i)}elementContainsData(i){let n=!1;return this._elementListeners.has(i)&&(n=!0),n=!!this._queue.find(o=>o.element===i)||n,n}}class uu{_onRemovalComplete(i,n){this.onRemovalComplete(i,n)}constructor(i,n,o){this.bodyNode=i,this.driver=n,this._normalizer=o,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(l,_)=>{}}get queuedPlayers(){const i=[];return this._namespaceList.forEach(n=>{n.players.forEach(o=>{o.queued&&i.push(o)})}),i}createNamespace(i,n){const o=new El(i,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(o,n):(this.newHostElements.set(n,o),this.collectEnterElement(n)),this._namespaceLookup[i]=o}_balanceNamespaceList(i,n){const o=this._namespaceList,l=this.namespacesByHostElement;if(o.length-1>=0){let v=!1,O=this.driver.getParentElement(n);for(;O;){const P=l.get(O);if(P){const G=o.indexOf(P);o.splice(G+1,0,i),v=!0;break}O=this.driver.getParentElement(O)}v||o.unshift(i)}else o.push(i);return l.set(n,i),i}register(i,n){let o=this._namespaceLookup[i];return o||(o=this.createNamespace(i,n)),o}registerTrigger(i,n,o){let l=this._namespaceLookup[i];l&&l.register(n,o)&&this.totalAnimations++}destroy(i,n){if(!i)return;const o=this._fetchNamespace(i);this.afterFlush(()=>{this.namespacesByHostElement.delete(o.hostElement),delete this._namespaceLookup[i];const l=this._namespaceList.indexOf(o);l>=0&&this._namespaceList.splice(l,1)}),this.afterFlushAnimationsDone(()=>o.destroy(n))}_fetchNamespace(i){return this._namespaceLookup[i]}fetchNamespacesByElement(i){const n=new Set,o=this.statesByElement.get(i);if(o)for(let l of o.values())if(l.namespaceId){const _=this._fetchNamespace(l.namespaceId);_&&n.add(_)}return n}trigger(i,n,o,l){if(Tl(n)){const _=this._fetchNamespace(i);if(_)return _.trigger(n,o,l),!0}return!1}insertNode(i,n,o,l){if(!Tl(n))return;const _=n[Gs];if(_&&_.setForRemoval){_.setForRemoval=!1,_.setForMove=!0;const v=this.collectedLeaveElements.indexOf(n);v>=0&&this.collectedLeaveElements.splice(v,1)}if(i){const v=this._fetchNamespace(i);v&&v.insertNode(n,o)}l&&this.collectEnterElement(n)}collectEnterElement(i){this.collectedEnterElements.push(i)}markElementAsDisabled(i,n){n?this.disabledNodes.has(i)||(this.disabledNodes.add(i),Sa(i,Da)):this.disabledNodes.has(i)&&(this.disabledNodes.delete(i),Ru(i,Da))}removeNode(i,n,o,l){if(Tl(n)){const _=i?this._fetchNamespace(i):null;if(_?_.removeNode(n,l):this.markElementAsRemoved(i,n,!1,l),o){const v=this.namespacesByHostElement.get(n);v&&v.id!==i&&v.removeNode(n,l)}}else this._onRemovalComplete(n,l)}markElementAsRemoved(i,n,o,l,_){this.collectedLeaveElements.push(n),n[Gs]={namespaceId:i,setForRemoval:l,hasAnimation:o,removedBeforeQueried:!1,previousTriggersValues:_}}listen(i,n,o,l,_){return Tl(n)?this._fetchNamespace(i).listen(n,o,l,_):()=>{}}_buildInstruction(i,n,o,l,_){return i.transition.build(this.driver,i.element,i.fromState.value,i.toState.value,o,l,i.fromState.options,i.toState.options,n,_)}destroyInnerAnimations(i){let n=this.driver.query(i,lt,!0);n.forEach(o=>this.destroyActiveAnimationsForElement(o)),0!=this.playersByQueriedElement.size&&(n=this.driver.query(i,Pe,!0),n.forEach(o=>this.finishActiveQueriedAnimationOnElement(o)))}destroyActiveAnimationsForElement(i){const n=this.playersByElement.get(i);n&&n.forEach(o=>{o.queued?o.markedForDestroy=!0:o.destroy()})}finishActiveQueriedAnimationOnElement(i){const n=this.playersByQueriedElement.get(i);n&&n.forEach(o=>o.finish())}whenRenderingDone(){return new Promise(i=>{if(this.players.length)return jr(this.players).onDone(()=>i());i()})}processLeaveNode(i){const n=i[Gs];if(n&&n.setForRemoval){if(i[Gs]=Xl,n.namespaceId){this.destroyInnerAnimations(i);const o=this._fetchNamespace(n.namespaceId);o&&o.clearElementCache(i)}this._onRemovalComplete(i,n.setForRemoval)}i.classList?.contains(Da)&&this.markElementAsDisabled(i,!1),this.driver.query(i,".ng-animate-disabled",!0).forEach(o=>{this.markElementAsDisabled(o,!1)})}flush(i=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((o,l)=>this._balanceNamespaceList(o,l)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let o=0;o<this.collectedEnterElements.length;o++)Sa(this.collectedEnterElements[o],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const o=[];try{n=this._flushAnimations(o,i)}finally{for(let l=0;l<o.length;l++)o[l]()}}else for(let o=0;o<this.collectedLeaveElements.length;o++)this.processLeaveNode(this.collectedLeaveElements[o]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(o=>o()),this._flushFns=[],this._whenQuietFns.length){const o=this._whenQuietFns;this._whenQuietFns=[],n.length?jr(n).onDone(()=>{o.forEach(l=>l())}):o.forEach(l=>l())}}reportError(i){throw function xn(t){return new e.vHH(3402,!1)}()}_flushAnimations(i,n){const o=new hs,l=[],_=new Map,v=[],O=new Map,P=new Map,G=new Map,K=new Set;this.disabledNodes.forEach(Un=>{K.add(Un);const lr=this.driver.query(Un,".ng-animate-queued",!0);for(let ar=0;ar<lr.length;ar++)K.add(lr[ar])});const oe=this.bodyNode,ue=Array.from(this.statesByElement.keys()),pe=cu(ue,this.collectedEnterElements),ye=new Map;let Ue=0;pe.forEach((Un,lr)=>{const ar=et+Ue++;ye.set(lr,ar),Un.forEach(Cr=>Sa(Cr,ar))});const xe=[],ke=new Set,we=new Set;for(let Un=0;Un<this.collectedLeaveElements.length;Un++){const lr=this.collectedLeaveElements[Un],ar=lr[Gs];ar&&ar.setForRemoval&&(xe.push(lr),ke.add(lr),ar.hasAnimation?this.driver.query(lr,".ng-star-inserted",!0).forEach(Cr=>ke.add(Cr)):we.add(lr))}const Z=new Map,Ft=cu(ue,Array.from(ke));Ft.forEach((Un,lr)=>{const ar=ze+Ue++;Z.set(lr,ar),Un.forEach(Cr=>Sa(Cr,ar))}),i.push(()=>{pe.forEach((Un,lr)=>{const ar=ye.get(lr);Un.forEach(Cr=>Ru(Cr,ar))}),Ft.forEach((Un,lr)=>{const ar=Z.get(lr);Un.forEach(Cr=>Ru(Cr,ar))}),xe.forEach(Un=>{this.processLeaveNode(Un)})});const Dt=[],Yt=[];for(let Un=this._namespaceList.length-1;Un>=0;Un--)this._namespaceList[Un].drainQueuedTransitions(n).forEach(ar=>{const Cr=ar.player,Wn=ar.element;if(Dt.push(Cr),this.collectedEnterElements.length){const Nn=Wn[Gs];if(Nn&&Nn.setForMove){if(Nn.previousTriggersValues&&Nn.previousTriggersValues.has(ar.triggerName)){const _i=Nn.previousTriggersValues.get(ar.triggerName),Zi=this.statesByElement.get(ar.element);if(Zi&&Zi.has(ar.triggerName)){const So=Zi.get(ar.triggerName);So.value=_i,Zi.set(ar.triggerName,So)}}return void Cr.destroy()}}const ai=!oe||!this.driver.containsElement(oe,Wn),ho=Z.get(Wn),Yi=ye.get(Wn),lo=this._buildInstruction(ar,o,Yi,ho,ai);if(lo.errors&&lo.errors.length)return void Yt.push(lo);if(ai)return Cr.onStart(()=>mn(Wn,lo.fromStyles)),Cr.onDestroy(()=>Ot(Wn,lo.toStyles)),void l.push(Cr);if(ar.isFallbackTransition)return Cr.onStart(()=>mn(Wn,lo.fromStyles)),Cr.onDestroy(()=>Ot(Wn,lo.toStyles)),void l.push(Cr);const pi=[];lo.timelines.forEach(Nn=>{Nn.stretchStartingKeyframe=!0,this.disabledNodes.has(Nn.element)||pi.push(Nn)}),lo.timelines=pi,o.append(Wn,lo.timelines),v.push({instruction:lo,player:Cr,element:Wn}),lo.queriedElements.forEach(Nn=>wn(O,Nn,[]).push(Cr)),lo.preStyleProps.forEach((Nn,_i)=>{if(Nn.size){let Zi=P.get(_i);Zi||P.set(_i,Zi=new Set),Nn.forEach((So,us)=>Zi.add(us))}}),lo.postStyleProps.forEach((Nn,_i)=>{let Zi=G.get(_i);Zi||G.set(_i,Zi=new Set),Nn.forEach((So,us)=>Zi.add(us))})});if(Yt.length){const Un=[];Yt.forEach(lr=>{Un.push(function Or(t,i){return new e.vHH(3505,!1)}())}),Dt.forEach(lr=>lr.destroy()),this.reportError(Un)}const ln=new Map,$n=new Map;v.forEach(Un=>{const lr=Un.element;o.has(lr)&&($n.set(lr,lr),this._beforeAnimationBuild(Un.player.namespaceId,Un.instruction,ln))}),l.forEach(Un=>{const lr=Un.element;this._getPreviousPlayers(lr,!1,Un.namespaceId,Un.triggerName,null).forEach(Cr=>{wn(ln,lr,[]).push(Cr),Cr.destroy()})});const nn=xe.filter(Un=>gc(Un,P,G)),Jn=new Map;dc(Jn,this.driver,we,G,T.l3).forEach(Un=>{gc(Un,P,G)&&nn.push(Un)});const Zr=new Map;pe.forEach((Un,lr)=>{dc(Zr,this.driver,new Set(Un),P,T.k1)}),nn.forEach(Un=>{const lr=Jn.get(Un),ar=Zr.get(Un);Jn.set(Un,new Map([...Array.from(lr?.entries()??[]),...Array.from(ar?.entries()??[])]))});const $r=[],ui=[],gi={};v.forEach(Un=>{const{element:lr,player:ar,instruction:Cr}=Un;if(o.has(lr)){if(K.has(lr))return ar.onDestroy(()=>Ot(lr,Cr.toStyles)),ar.disabled=!0,ar.overrideTotalTime(Cr.totalTime),void l.push(ar);let Wn=gi;if($n.size>1){let ho=lr;const Yi=[];for(;ho=ho.parentNode;){const lo=$n.get(ho);if(lo){Wn=lo;break}Yi.push(ho)}Yi.forEach(lo=>$n.set(lo,Wn))}const ai=this._buildAnimation(ar.namespaceId,Cr,ln,_,Zr,Jn);if(ar.setRealPlayer(ai),Wn===gi)$r.push(ar);else{const ho=this.playersByElement.get(Wn);ho&&ho.length&&(ar.parentPlayer=jr(ho)),l.push(ar)}}else mn(lr,Cr.fromStyles),ar.onDestroy(()=>Ot(lr,Cr.toStyles)),ui.push(ar),K.has(lr)&&l.push(ar)}),ui.forEach(Un=>{const lr=_.get(Un.element);if(lr&&lr.length){const ar=jr(lr);Un.setRealPlayer(ar)}}),l.forEach(Un=>{Un.parentPlayer?Un.syncPlayerEvents(Un.parentPlayer):Un.destroy()});for(let Un=0;Un<xe.length;Un++){const lr=xe[Un],ar=lr[Gs];if(Ru(lr,ze),ar&&ar.hasAnimation)continue;let Cr=[];if(O.size){let ai=O.get(lr);ai&&ai.length&&Cr.push(...ai);let ho=this.driver.query(lr,Pe,!0);for(let Yi=0;Yi<ho.length;Yi++){let lo=O.get(ho[Yi]);lo&&lo.length&&Cr.push(...lo)}}const Wn=Cr.filter(ai=>!ai.destroyed);Wn.length?xu(this,lr,Wn):this.processLeaveNode(lr)}return xe.length=0,$r.forEach(Un=>{this.players.push(Un),Un.onDone(()=>{Un.destroy();const lr=this.players.indexOf(Un);this.players.splice(lr,1)}),Un.play()}),$r}elementContainsData(i,n){let o=!1;const l=n[Gs];return l&&l.setForRemoval&&(o=!0),this.playersByElement.has(n)&&(o=!0),this.playersByQueriedElement.has(n)&&(o=!0),this.statesByElement.has(n)&&(o=!0),this._fetchNamespace(i).elementContainsData(n)||o}afterFlush(i){this._flushFns.push(i)}afterFlushAnimationsDone(i){this._whenQuietFns.push(i)}_getPreviousPlayers(i,n,o,l,_){let v=[];if(n){const O=this.playersByQueriedElement.get(i);O&&(v=O)}else{const O=this.playersByElement.get(i);if(O){const P=!_||_==zu;O.forEach(G=>{G.queued||!P&&G.triggerName!=l||v.push(G)})}}return(o||l)&&(v=v.filter(O=>!(o&&o!=O.namespaceId||l&&l!=O.triggerName))),v}_beforeAnimationBuild(i,n,o){const _=n.element,v=n.isRemovalTransition?void 0:i,O=n.isRemovalTransition?void 0:n.triggerName;for(const P of n.timelines){const G=P.element,K=G!==_,oe=wn(o,G,[]);this._getPreviousPlayers(G,K,v,O,n.toState).forEach(pe=>{const ye=pe.getRealPlayer();ye.beforeDestroy&&ye.beforeDestroy(),pe.destroy(),oe.push(pe)})}mn(_,n.fromStyles)}_buildAnimation(i,n,o,l,_,v){const O=n.triggerName,P=n.element,G=[],K=new Set,oe=new Set,ue=n.timelines.map(ye=>{const Ue=ye.element;K.add(Ue);const xe=Ue[Gs];if(xe&&xe.removedBeforeQueried)return new T.ZN(ye.duration,ye.delay);const ke=Ue!==P,we=function ba(t){const i=[];return nl(t,i),i}((o.get(Ue)||oc).map(ln=>ln.getRealPlayer())).filter(ln=>!!ln.element&&ln.element===Ue),Z=_.get(Ue),Ft=v.get(Ue),Dt=br(0,this._normalizer,0,ye.keyframes,Z,Ft),Yt=this._buildPlayer(ye,Dt,we);if(ye.subTimeline&&l&&oe.add(Ue),ke){const ln=new Eu(i,O,Ue);ln.setRealPlayer(Yt),G.push(ln)}return Yt});G.forEach(ye=>{wn(this.playersByQueriedElement,ye.element,[]).push(ye),ye.onDone(()=>function $u(t,i,n){let o=t.get(i);if(o){if(o.length){const l=o.indexOf(n);o.splice(l,1)}0==o.length&&t.delete(i)}return o}(this.playersByQueriedElement,ye.element,ye))}),K.forEach(ye=>Sa(ye,Rt));const pe=jr(ue);return pe.onDestroy(()=>{K.forEach(ye=>Ru(ye,Rt)),Ot(P,n.toStyles)}),oe.forEach(ye=>{wn(l,ye,[]).push(pe)}),pe}_buildPlayer(i,n,o){return n.length>0?this.driver.animate(i.element,n,i.duration,i.delay,i.easing,o):new T.ZN(i.duration,i.delay)}}class Eu{constructor(i,n,o){this.namespaceId=i,this.triggerName=n,this.element=o,this._player=new T.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(i){this._containsRealPlayer||(this._player=i,this._queuedCallbacks.forEach((n,o)=>{n.forEach(l=>ht(i,o,void 0,l))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(i.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(i){this.totalTime=i}syncPlayerEvents(i){const n=this._player;n.triggerCallback&&i.onStart(()=>n.triggerCallback("start")),i.onDone(()=>this.finish()),i.onDestroy(()=>this.destroy())}_queueEvent(i,n){wn(this._queuedCallbacks,i,[]).push(n)}onDone(i){this.queued&&this._queueEvent("done",i),this._player.onDone(i)}onStart(i){this.queued&&this._queueEvent("start",i),this._player.onStart(i)}onDestroy(i){this.queued&&this._queueEvent("destroy",i),this._player.onDestroy(i)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(i){this.queued||this._player.setPosition(i)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(i){const n=this._player;n.triggerCallback&&n.triggerCallback(i)}}function Tl(t){return t&&1===t.nodeType}function Ga(t,i){const n=t.style.display;return t.style.display=i??"none",n}function dc(t,i,n,o,l){const _=[];n.forEach(P=>_.push(Ga(P)));const v=[];o.forEach((P,G)=>{const K=new Map;P.forEach(oe=>{const ue=i.computeStyle(G,oe,l);K.set(oe,ue),(!ue||0==ue.length)&&(G[Gs]=Ic,v.push(G))}),t.set(G,K)});let O=0;return n.forEach(P=>Ga(P,_[O++])),v}function cu(t,i){const n=new Map;if(t.forEach(O=>n.set(O,[])),0==i.length)return n;const o=1,l=new Set(i),_=new Map;function v(O){if(!O)return o;let P=_.get(O);if(P)return P;const G=O.parentNode;return P=n.has(G)?G:l.has(G)?o:v(G),_.set(O,P),P}return i.forEach(O=>{const P=v(O);P!==o&&n.get(P).push(O)}),n}function Sa(t,i){t.classList?.add(i)}function Ru(t,i){t.classList?.remove(i)}function xu(t,i,n){jr(n).onDone(()=>t.processLeaveNode(i))}function nl(t,i){for(let n=0;n<t.length;n++){const o=t[n];o instanceof T.ZE?nl(o.players,i):i.push(o)}}function gc(t,i,n){const o=n.get(t);if(!o)return!1;let l=i.get(t);return l?o.forEach(_=>l.add(_)):i.set(t,o),n.delete(t),!0}class ql{constructor(i,n,o){this.bodyNode=i,this._driver=n,this._normalizer=o,this._triggerCache={},this.onRemovalComplete=(l,_)=>{},this._transitionEngine=new uu(i,n,o),this._timelineEngine=new Kc(i,n,o),this._transitionEngine.onRemovalComplete=(l,_)=>this.onRemovalComplete(l,_)}registerTrigger(i,n,o,l,_){const v=i+"-"+l;let O=this._triggerCache[v];if(!O){const P=[],G=[],K=la(this._driver,_,P,G);if(P.length)throw function Pt(t,i){return new e.vHH(3404,!1)}();O=function vl(t,i,n){return new Yu(t,i,n)}(l,K,this._normalizer),this._triggerCache[v]=O}this._transitionEngine.registerTrigger(n,l,O)}register(i,n){this._transitionEngine.register(i,n)}destroy(i,n){this._transitionEngine.destroy(i,n)}onInsert(i,n,o,l){this._transitionEngine.insertNode(i,n,o,l)}onRemove(i,n,o,l){this._transitionEngine.removeNode(i,n,l||!1,o)}disableAnimations(i,n){this._transitionEngine.markElementAsDisabled(i,n)}process(i,n,o,l){if("@"==o.charAt(0)){const[_,v]=jn(o);this._timelineEngine.command(_,n,v,l)}else this._transitionEngine.trigger(i,n,o,l)}listen(i,n,o,l,_){if("@"==o.charAt(0)){const[v,O]=jn(o);return this._timelineEngine.listen(v,n,O,_)}return this._transitionEngine.listen(i,n,o,l,_)}flush(i=-1){this._transitionEngine.flush(i)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Dc=(()=>{class t{constructor(n,o,l){this._element=n,this._startStyles=o,this._endStyles=l,this._state=0;let _=t.initialStylesByElement.get(n);_||t.initialStylesByElement.set(n,_=new Map),this._initialStyles=_}start(){this._state<1&&(this._startStyles&&Ot(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ot(this._element,this._initialStyles),this._endStyles&&(Ot(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(mn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(mn(this._element,this._endStyles),this._endStyles=null),Ot(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function zs(t){let i=null;return t.forEach((n,o)=>{(function Vc(t){return"display"===t||"position"===t})(o)&&(i=i||new Map,i.set(o,n))}),i}class bt{constructor(i,n,o,l){this.element=i,this.keyframes=n,this.options=o,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=o.duration,this._delay=o.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(i=>i()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const i=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,i,this.options),this._finalKeyframe=i.length?i[i.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(i){const n=[];return i.forEach(o=>{n.push(Object.fromEntries(o))}),n}_triggerWebAnimation(i,n,o){return i.animate(this._convertKeyframesToObject(n),o)}onStart(i){this._originalOnStartFns.push(i),this._onStartFns.push(i)}onDone(i){this._originalOnDoneFns.push(i),this._onDoneFns.push(i)}onDestroy(i){this._onDestroyFns.push(i)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(i=>i()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(i=>i()),this._onDestroyFns=[])}setPosition(i){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=i*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const i=new Map;this.hasStarted()&&this._finalKeyframe.forEach((o,l)=>{"offset"!==l&&i.set(l,this._finished?o:Vi(this.element,l))}),this.currentSnapshot=i}triggerCallback(i){const n="start"===i?this._onStartFns:this._onDoneFns;n.forEach(o=>o()),n.length=0}}class pt{validateStyleProperty(i){return!0}validateAnimatableStyleProperty(i){return!0}matchesElement(i,n){return!1}containsElement(i,n){return $i(i,n)}getParentElement(i){return so(i)}query(i,n,o){return qr(i,n,o)}computeStyle(i,n,o){return window.getComputedStyle(i)[n]}animate(i,n,o,l,_,v=[]){const P={duration:o,delay:l,fill:0==l?"both":"forwards"};_&&(P.easing=_);const G=new Map,K=v.filter(pe=>pe instanceof bt);(function Vr(t,i){return 0===t||0===i})(o,l)&&K.forEach(pe=>{pe.currentSnapshot.forEach((ye,Ue)=>G.set(Ue,ye))});let oe=function Zn(t){return t.length?t[0]instanceof Map?t:t.map(i=>tr(i)):[]}(n).map(pe=>Zt(pe));oe=function wi(t,i,n){if(n.size&&i.length){let o=i[0],l=[];if(n.forEach((_,v)=>{o.has(v)||l.push(v),o.set(v,_)}),l.length)for(let _=1;_<i.length;_++){let v=i[_];l.forEach(O=>v.set(O,Vi(t,O)))}}return i}(i,oe,G);const ue=function Al(t,i){let n=null,o=null;return Array.isArray(i)&&i.length?(n=zs(i[0]),i.length>1&&(o=zs(i[i.length-1]))):i instanceof Map&&(n=zs(i)),n||o?new Dc(t,n,o):null}(i,oe);return new bt(i,oe,P,ue)}}let Je=(()=>{class t extends T._j{constructor(n,o){super(),this._nextAnimationId=0,this._renderer=n.createRenderer(o.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(n){const o=this._nextAnimationId.toString();this._nextAnimationId++;const l=Array.isArray(n)?(0,T.vP)(n):n;return To(this._renderer,null,o,"register",[l]),new en(o,this._renderer)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(e.FYo),e.LFG(f.K0))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})();class en extends T.LC{constructor(i,n){super(),this._id=i,this._renderer=n}create(i,n){return new fi(this._id,i,n||{},this._renderer)}}class fi{constructor(i,n,o,l){this.id=i,this.element=n,this._renderer=l,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",o)}_listen(i,n){return this._renderer.listen(this.element,`@@${this.id}:${i}`,n)}_command(i,...n){return To(this._renderer,this.element,this.id,i,n)}onDone(i){this._listen("done",i)}onStart(i){this._listen("start",i)}onDestroy(i){this._listen("destroy",i)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(i){this._command("setPosition",i)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function To(t,i,n,o,l){return t.setProperty(i,`@@${n}:${o}`,l)}const mi="@.disabled";let Hs=(()=>{class t{constructor(n,o,l){this.delegate=n,this.engine=o,this._zone=l,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),o.onRemovalComplete=(_,v)=>{const O=v?.parentNode(_);O&&v.removeChild(O,_)}}createRenderer(n,o){const _=this.delegate.createRenderer(n,o);if(!(n&&o&&o.data&&o.data.animation)){let K=this._rendererCache.get(_);return K||(K=new Qs("",_,this.engine,()=>this._rendererCache.delete(_)),this._rendererCache.set(_,K)),K}const v=o.id,O=o.id+"-"+this._currentId;this._currentId++,this.engine.register(O,n);const P=K=>{Array.isArray(K)?K.forEach(P):this.engine.registerTrigger(v,O,n,K.name,K)};return o.data.animation.forEach(P),new Hu(this,O,_,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(n,o,l){n>=0&&n<this._microtaskId?this._zone.run(()=>o(l)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(_=>{const[v,O]=_;v(O)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([o,l]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(e.FYo),e.LFG(ql),e.LFG(e.R0b))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})();class Qs{constructor(i,n,o,l){this.namespaceId=i,this.delegate=n,this.engine=o,this._onDestroy=l,this.destroyNode=this.delegate.destroyNode?_=>n.destroyNode(_):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(i,n){return this.delegate.createElement(i,n)}createComment(i){return this.delegate.createComment(i)}createText(i){return this.delegate.createText(i)}appendChild(i,n){this.delegate.appendChild(i,n),this.engine.onInsert(this.namespaceId,n,i,!1)}insertBefore(i,n,o,l=!0){this.delegate.insertBefore(i,n,o),this.engine.onInsert(this.namespaceId,n,i,l)}removeChild(i,n,o){this.engine.onRemove(this.namespaceId,n,this.delegate,o)}selectRootElement(i,n){return this.delegate.selectRootElement(i,n)}parentNode(i){return this.delegate.parentNode(i)}nextSibling(i){return this.delegate.nextSibling(i)}setAttribute(i,n,o,l){this.delegate.setAttribute(i,n,o,l)}removeAttribute(i,n,o){this.delegate.removeAttribute(i,n,o)}addClass(i,n){this.delegate.addClass(i,n)}removeClass(i,n){this.delegate.removeClass(i,n)}setStyle(i,n,o,l){this.delegate.setStyle(i,n,o,l)}removeStyle(i,n,o){this.delegate.removeStyle(i,n,o)}setProperty(i,n,o){"@"==n.charAt(0)&&n==mi?this.disableAnimations(i,!!o):this.delegate.setProperty(i,n,o)}setValue(i,n){this.delegate.setValue(i,n)}listen(i,n,o){return this.delegate.listen(i,n,o)}disableAnimations(i,n){this.engine.disableAnimations(i,n)}}class Hu extends Qs{constructor(i,n,o,l,_){super(n,o,l,_),this.factory=i,this.namespaceId=n}setProperty(i,n,o){"@"==n.charAt(0)?"."==n.charAt(1)&&n==mi?this.disableAnimations(i,o=void 0===o||!!o):this.engine.process(this.namespaceId,i,n.slice(1),o):this.delegate.setProperty(i,n,o)}listen(i,n,o){if("@"==n.charAt(0)){const l=function zl(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(i);let _=n.slice(1),v="";return"@"!=_.charAt(0)&&([_,v]=function sc(t){const i=t.indexOf(".");return[t.substring(0,i),t.slice(i+1)]}(_)),this.engine.listen(this.namespaceId,l,_,v,O=>{this.factory.scheduleListenerCallback(O._data||-1,o,O)})}return this.delegate.listen(i,n,o)}}let hu=(()=>{class t extends ql{constructor(n,o,l,_){super(n.body,o,l)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(f.K0),e.LFG(Hn),e.LFG(Ze),e.LFG(e.z2F))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})();const ec=[{provide:T._j,useClass:Je},{provide:Ze,useFactory:function lu(){return new vi}},{provide:ql,useClass:hu},{provide:e.FYo,useFactory:function id(t,i,n){return new Hs(t,i,n)},deps:[u.se,ql,e.R0b]}],Fc=[{provide:Hn,useFactory:()=>new pt},{provide:e.QbO,useValue:"BrowserAnimations"},...ec],du=[{provide:Hn,useClass:Dn},{provide:e.QbO,useValue:"NoopAnimations"},...ec];let Lc=(()=>{class t{static withConfig(n){return{ngModule:t,providers:n.disableAnimations?du:Fc}}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({providers:Fc,imports:[u.b2]}),t})();var Q=s(23122),Ee=s(54247),yt=s(23815),Xe=s.n(yt),Gt=s(64762),An=s(93523);let kn=class{constructor(i){this.http=i,this.baseURL="api/cephfs",this.baseUiURL="ui-api/cephfs"}list(){return this.http.get(`${this.baseURL}`)}lsDir(i,n){let o=`${this.baseUiURL}/${i}/ls_dir?depth=2`;return n&&(o+=`&path=${encodeURIComponent(n)}`),this.http.get(o)}getCephfs(i){return this.http.get(`${this.baseURL}/${i}`)}getTabs(i){return this.http.get(`ui-api/cephfs/${i}/tabs`)}getClients(i){return this.http.get(`${this.baseURL}/${i}/clients`)}evictClient(i,n){return this.http.delete(`${this.baseURL}/${i}/client/${n}`)}getMdsCounters(i){return this.http.get(`${this.baseURL}/${i}/mds_counters`)}mkSnapshot(i,n,o){let l=new m.LE;return l=l.append("path",n),Xe().isUndefined(o)||(l=l.append("name",o)),this.http.post(`${this.baseURL}/${i}/snapshot`,null,{params:l})}rmSnapshot(i,n,o){let l=new m.LE;return l=l.append("path",n),l=l.append("name",o),this.http.delete(`${this.baseURL}/${i}/snapshot`,{params:l})}quota(i,n,o){let l=new m.LE;return l=l.append("path",n),this.http.put(`${this.baseURL}/${i}/quota`,o,{observe:"response",params:l})}create(i,n){return this.http.post(this.baseURL,{name:i,service_spec:n},{observe:"response"})}isCephFsPool(i){return-1!==Xe().indexOf(i.application_metadata,"cephfs")&&!i.pool_name.includes("/")}remove(i){return this.http.delete(`${this.baseURL}/remove/${i}`,{observe:"response"})}rename(i,n){return this.http.put(`${this.baseURL}/rename`,{name:i,new_name:n},{observe:"response"})}};kn.\u0275fac=function(i){return new(i||kn)(e.LFG(m.eN))},kn.\u0275prov=e.Yz7({token:kn,factory:kn.\u0275fac,providedIn:"root"}),kn=(0,Gt.gn)([An.o,(0,Gt.w6)("design:paramtypes",[m.eN])],kn);var Hr=s(68136),Xr=s(99466),yr=s(79512),Rr=s(65862),Go=s(30982),Io=s(68774),Qn=s(51847),Gr=s(32337),Fr=s(76111),Ui=s(97161),Do=s(47640),Fa=s(64724),ca=s(63285),zo=s(59019),$l=s(94928),xl=s(46797),Uu=s(69158),Xc=s(91801),ad=s(76317),kc=s(59376),yi=s(51389),Wl=s(47557),Pa=s(66369),fc=s(60251),bu=s(61350),je=s(16738),Nt=s.n(je),tt=s(87311),tn=s(72621);const Xn=["chartCanvas"],bi=["chartTooltip"];let Ri=(()=>{class t{constructor(){this.lhsCounter="mds_mem.ino",this.rhsCounter="mds_server.handle_client_request",this.chart={datasets:[{label:this.lhsCounter,yAxisID:"LHS",data:[],lineTension:.1},{label:this.rhsCounter,yAxisID:"RHS",data:[],lineTension:.1}],options:{title:{text:"",display:!0},responsive:!0,maintainAspectRatio:!1,legend:{position:"top"},scales:{xAxes:[{position:"top",type:"time",time:{displayFormats:{quarter:"MMM YYYY"}},ticks:{maxRotation:0}}],yAxes:[{id:"LHS",type:"linear",position:"left"},{id:"RHS",type:"linear",position:"right"}]},tooltips:{enabled:!1,mode:"index",intersect:!1,position:"nearest",callbacks:{title:(n,o)=>{let l=0;if(n.length>0){const _=n[0];l=o.datasets[_.datasetIndex].data[_.index].x}return l.toString()}}}},chartType:"line"}}ngOnInit(){Xe().isUndefined(this.mdsCounter)||(this.setChartTooltip(),this.updateChart())}ngOnChanges(){Xe().isUndefined(this.mdsCounter)||this.updateChart()}setChartTooltip(){const n=new tt.h(this.chartCanvas,this.chartTooltip,l=>l.caretX+"px",l=>l.caretY-l.height-23+"px");n.getTitle=l=>Nt()(l,"x").format("LTS"),n.checkOffset=!0;const o={title:{text:this.mdsCounter.name},tooltips:{custom:l=>n.customTooltips(l)}};Xe().merge(this.chart,{options:o})}updateChart(){const n=[{data:this.convertTimeSeries(this.mdsCounter[this.lhsCounter])},{data:this.deltaTimeSeries(this.mdsCounter[this.rhsCounter])}];Xe().merge(this.chart,{datasets:n}),this.chart.datasets=[...this.chart.datasets]}convertTimeSeries(n){const o=[];return Xe().each(n,l=>{o.push({x:1e3*l[0],y:l[1]})}),o.shift(),o}deltaTimeSeries(n){let o,l=n[0];const _=[];for(o=1;o<n.length;o++){const v=n[o];_.push({x:1e3*v[0],y:v[1]-l[1]}),l=v}return _}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-chart"]],viewQuery:function(n,o){if(1&n&&(e.Gf(Xn,7),e.Gf(bi,7)),2&n){let l;e.iGM(l=e.CRH())&&(o.chartCanvas=l.first),e.iGM(l=e.CRH())&&(o.chartTooltip=l.first)}},inputs:{mdsCounter:"mdsCounter"},features:[e.TTD],decls:6,vars:3,consts:[[1,"chart-container"],["baseChart","",3,"datasets","options","chartType"],["chartCanvas",""],[1,"chartjs-tooltip"],["chartTooltip",""]],template:function(n,o){1&n&&(e.TgZ(0,"div",0),e._UZ(1,"canvas",1,2),e.TgZ(3,"div",3,4),e._UZ(5,"table"),e.qZA()()),2&n&&(e.xp6(1),e.Q6J("datasets",o.chart.datasets)("options",o.chart.options)("chartType",o.chart.chartType))},dependencies:[tn.jh],styles:['.chart-container[_ngcontent-%COMP%]{cursor:pointer;margin:auto;overflow:visible;position:absolute}canvas[_ngcontent-%COMP%]{user-select:none}.chartjs-tooltip[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%);transition:all .1s ease}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]{transform:translate(-10%)}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]:after{left:10%}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]{transform:translate(-90%)}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]:after{left:90%}.chartjs-tooltip[_ngcontent-%COMP%]:after{border-color:#000 transparent transparent transparent;border-style:solid;border-width:5px;content:" ";left:50%;margin-left:-5px;position:absolute;top:100%} .chartjs-tooltip-key{display:inline-block;height:10px;margin-right:10px;width:10px}.chart-container[_ngcontent-%COMP%]{height:500px;margin-bottom:20px;position:relative;width:100%}']}),t})();const fs=["poolUsageTpl"],Fs=["activityTmpl"];function Ra(t,i){if(1&t&&(e.TgZ(0,"div",0)(1,"div",11),e._UZ(2,"cd-cephfs-chart",12),e.qZA()()),2&t){const n=i.$implicit;e.xp6(2),e.Q6J("mdsCounter",n)}}function Vs(t,i){if(1&t&&e._UZ(0,"cd-usage-bar",13),2&t){const n=i.row;e.Q6J("total",n.size)("used",n.used)("title",n.pool_name)}}function Ms(t,i){1&t&&(e._uU(0),e.ALo(1,"dimless")),2&t&&e.AsE(" ","standby-replay"===i.row.state?"Evts":"Reqs",": ",e.lcZ(1,2,i.value)," /s\n")}let wl=(()=>{class t{constructor(n,o){this.dimlessBinary=n,this.dimless=o,this.standbys=[],this.objectValues=Object.values}ngOnChanges(){this.setStandbys()}setStandbys(){this.standbys=[{key:"Standby daemons",value:this.data.standbys}]}ngOnInit(){this.columns={ranks:[{prop:"rank",name:"Rank"},{prop:"state",name:"State"},{prop:"mds",name:"Daemon"},{prop:"activity",name:"Activity",cellTemplate:this.activityTmpl},{prop:"dns",name:"Dentries",pipe:this.dimless},{prop:"inos",name:"Inodes",pipe:this.dimless},{prop:"dirs",name:"Dirs",pipe:this.dimless},{prop:"caps",name:"Caps",pipe:this.dimless}],pools:[{prop:"pool",name:"Pool"},{prop:"type",name:"Type"},{prop:"size",name:"Size",pipe:this.dimlessBinary},{name:"Usage",cellTemplate:this.poolUsageTpl,comparator:(n,o,l,_)=>{const v=l.used/l.avail,O=_.used/_.avail;return v===O?0:v>O?1:-1}}]}}trackByFn(n,o){return o.name}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Wl.$),e.Y36(Pa.n))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-detail"]],viewQuery:function(n,o){if(1&n&&(e.Gf(fs,7),e.Gf(Fs,7)),2&n){let l;e.iGM(l=e.CRH())&&(o.poolUsageTpl=l.first),e.iGM(l=e.CRH())&&(o.activityTmpl=l.first)}},inputs:{data:"data"},features:[e.TTD],decls:19,vars:9,consts:function(){let i,n,o,l;return i="Ranks",n="Standbys",o="Pools",l="MDS performance counters",[[1,"row"],[1,"col-sm-6"],i,[3,"data","columns","toolHeader"],n,[3,"data"],o,l,["class","row",4,"ngFor","ngForOf","ngForTrackBy"],["poolUsageTpl",""],["activityTmpl",""],[1,"col-md-12"],[3,"mdsCounter"],[3,"total","used","title"]]},template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"legend"),e.SDv(3,2),e.qZA(),e._UZ(4,"cd-table",3),e.TgZ(5,"legend"),e.SDv(6,4),e.qZA(),e._UZ(7,"cd-table-key-value",5),e.qZA(),e.TgZ(8,"div",1)(9,"legend"),e.SDv(10,6),e.qZA(),e._UZ(11,"cd-table",3),e.qZA()(),e.TgZ(12,"legend"),e.SDv(13,7),e.qZA(),e.YNc(14,Ra,3,1,"div",8),e.YNc(15,Vs,1,3,"ng-template",null,9,e.W1O),e.YNc(17,Ms,2,4,"ng-template",null,10,e.W1O)),2&n&&(e.xp6(4),e.Q6J("data",o.data.ranks)("columns",o.columns.ranks)("toolHeader",!1),e.xp6(3),e.Q6J("data",o.standbys),e.xp6(4),e.Q6J("data",o.data.pools)("columns",o.columns.pools)("toolHeader",!1),e.xp6(3),e.Q6J("ngForOf",o.objectValues(o.data.mdsCounters))("ngForTrackBy",o.trackByFn))},dependencies:[f.sg,fc.O,zo.a,bu.b,Ri,Pa.n],styles:[".progress[_ngcontent-%COMP%]{margin-bottom:0}"]}),t})();var Ho=s(18001);let Qa=(()=>{class t{constructor(n,o,l,_,v){this.cephfsService=n,this.modalService=o,this.notificationService=l,this.authStorageService=_,this.actionLabels=v,this.triggerApiUpdate=new e.vpe,this.selection=new Io.r,this.permission=this.authStorageService.getPermissions().cephfs,this.tableActions=[{permission:"update",icon:Rr.P.signOut,click:()=>this.evictClientModal(),name:this.actionLabels.EVICT}]}ngOnInit(){this.columns=[{prop:"id",name:"id"},{prop:"type",name:"type"},{prop:"state",name:"state"},{prop:"version",name:"version"},{prop:"hostname",name:"Host"},{prop:"root",name:"root"}]}updateSelection(n){this.selection=n}evictClient(n){this.cephfsService.evictClient(this.id,n).subscribe(()=>{this.triggerApiUpdate.emit(),this.modalRef.close(),this.notificationService.show(Ho.k.success,"Evicted client '" + n + "'")},()=>{this.modalRef.componentInstance.stopLoadingSpinner()})}evictClientModal(){const n=this.selection.first().id;this.modalRef=this.modalService.show(Go.M,{itemDescription:"client",itemNames:[n],actionDescription:"evict",submitAction:()=>this.evictClient(n)})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(kn),e.Y36(ca.Z),e.Y36(Ui.g),e.Y36(Do.j),e.Y36(yr.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-clients"]],inputs:{id:"id",clients:"clients"},outputs:{triggerApiUpdate:"triggerApiUpdate"},decls:2,vars:7,consts:[["selectionType","single",3,"data","columns","status","autoReload","fetchData","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"]],template:function(n,o){1&n&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(){return o.triggerApiUpdate.emit()})("updateSelection",function(_){return o.updateSelection(_)}),e._UZ(1,"cd-table-actions",1),e.qZA()),2&n&&(e.Q6J("data",o.clients.data)("columns",o.columns)("status",o.clients.status)("autoReload",-1),e.xp6(1),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions))},dependencies:[zo.a,$l.K]}),t})();var rn=s(20092),Jl=s(62946),le=s(36169),ae=s(65683),De=s(90070),Ve=s(96102),st=s(87925);const zt=["origin"],Qt=function(t,i){return[t,i]};function Gn(t,i){if(1&t&&e._UZ(0,"i",5),2&t){const n=e.oxw(2);e.Q6J("ngClass",e.WLB(1,Qt,n.icons.spinner,n.icons.spin))}}function Er(t,i){if(1&t&&(e.TgZ(0,"tree-root",10),e.YNc(1,Gn,1,4,"ng-template",null,11,e.W1O),e.qZA()),2&t){const n=e.oxw();e.Q6J("nodes",n.nodes)("options",n.treeOptions)}}function Nr(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"legend"),e.SDv(2,17),e.qZA(),e.TgZ(3,"cd-table",18),e.NdJ("updateSelection",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.quota.updateSelection(l))}),e._UZ(4,"cd-table-actions",19),e.qZA(),e.BQk()}if(2&t){const n=e.oxw(2);e.xp6(3),e.Q6J("data",n.settings)("columns",n.quota.columns)("limit",0)("footer",!1)("onlyActionHeader",!0)("forceIdentifier",!0)("toolHeader",!1),e.xp6(1),e.Q6J("permission",n.permission)("selection",n.quota.selection)("tableActions",n.quota.tableActions)}}function Mi(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",12)(1,"div",2)(2,"div",3),e._uU(3),e.qZA(),e.TgZ(4,"div",6),e.YNc(5,Nr,5,10,"ng-container",13),e.TgZ(6,"legend"),e.SDv(7,14),e.qZA(),e.TgZ(8,"cd-table",15),e.NdJ("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.snapshot.updateSelection(l))}),e._UZ(9,"cd-table-actions",16),e.qZA()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.hij(" ",n.selectedDir.path," "),e.xp6(2),e.Q6J("ngIf","/"!==n.selectedDir.path),e.xp6(3),e.Q6J("data",n.selectedDir.snapshots)("columns",n.snapshot.columns),e.xp6(1),e.Q6J("permission",n.permission)("selection",n.snapshot.selection)("tableActions",n.snapshot.tableActions)}}function ao(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"span",20),e.NdJ("click",function(){const _=e.CHM(n).value,v=e.oxw();return e.KtG(v.selectOrigin(_))}),e._uU(1),e.qZA()}if(2&t){const n=i.value;e.xp6(1),e.Oqu(n)}}let rs=(()=>{class t{constructor(n,o,l,_,v,O,P){this.authStorageService=n,this.modalService=o,this.cephfsService=l,this.cdDatePipe=_,this.actionLabels=v,this.notificationService=O,this.dimlessBinaryPipe=P,this.icons=Rr.P,this.loadingIndicator=!1,this.loading={},this.treeOptions={useVirtualScroll:!0,getChildren:G=>this.updateDirectory(G.id),actionMapping:{mouse:{click:this.selectAndShowNode.bind(this),expanderClick:this.selectAndShowNode.bind(this)}}}}selectAndShowNode(n,o,l){Jl.iM.TOGGLE_EXPANDED(n,o,l),this.selectNode(o)}selectNode(n){Jl.iM.TOGGLE_ACTIVE(void 0,n,void 0),this.selectedDir=this.getDirectory(n),"/"!==n.id&&this.setSettings(n)}ngOnInit(){this.permission=this.authStorageService.getPermissions().cephfs,this.setUpQuotaTable(),this.setUpSnapshotTable()}setUpQuotaTable(){this.quota={columns:[{prop:"row.name",name:"Name",flexGrow:1},{prop:"row.value",name:"Value",sortable:!1,flexGrow:1},{prop:"row.originPath",name:"Origin",sortable:!1,cellTemplate:this.originTmpl,flexGrow:1}],selection:new Io.r,updateSelection:n=>{this.quota.selection=n},tableActions:[{name:this.actionLabels.SET,icon:Rr.P.edit,permission:"update",visible:n=>!n.hasSelection||n.first()&&0===n.first().dirValue,click:()=>this.updateQuotaModal()},{name:this.actionLabels.UPDATE,icon:Rr.P.edit,permission:"update",visible:n=>n.first()&&n.first().dirValue>0,click:()=>this.updateQuotaModal()},{name:this.actionLabels.UNSET,icon:Rr.P.destroy,permission:"update",disable:n=>!n.hasSelection||n.first()&&0===n.first().dirValue,click:()=>this.unsetQuotaModal()}]}}setUpSnapshotTable(){this.snapshot={columns:[{prop:"name",name:"Name",flexGrow:1},{prop:"path",name:"Path",isHidden:!0,flexGrow:2},{prop:"created",name:"Created",flexGrow:1,pipe:this.cdDatePipe},{prop:"created",name:"Capacity",flexGrow:1}],selection:new Io.r,updateSelection:n=>{this.snapshot.selection=n},tableActions:[{name:this.actionLabels.CREATE,icon:Rr.P.add,permission:"create",canBePrimary:n=>!n.hasSelection,click:()=>this.createSnapshot(),disable:()=>this.disableCreateSnapshot()},{name:this.actionLabels.DELETE,icon:Rr.P.destroy,permission:"delete",click:()=>this.deleteSnapshotModal(),canBePrimary:n=>n.hasSelection,disable:n=>!n.hasSelection}]}}disableCreateSnapshot(){const n=this.selectedDir.path.split("/").slice(1);return n.length>=4&&"volumes"===n[0]&&"Cannot create snapshots for files/folders in the subvolume " + n[2] + ""}ngOnChanges(){this.selectedDir=void 0,this.dirs=[],this.requestedPaths=[],this.nodeIds={},this.id&&(this.setRootNode(),this.firstCall())}setRootNode(){this.nodes=[{name:"/",id:"/",isExpanded:!0}]}firstCall(){setTimeout(()=>{this.getNode("/").loadNodeChildren()},10)}updateDirectory(n){if(this.unsetLoadingIndicator(),this.requestedPaths.includes(n)){if(!0===this.loading[n])return}else this.requestedPaths.push(n);return new Promise(o=>{this.setLoadingIndicator(n,!0),this.cephfsService.lsDir(this.id,n).subscribe(l=>{this.updateTreeStructure(l),this.updateQuotaTable(),this.updateTree(),o(this.getChildren(n)),this.setLoadingIndicator(n,!1)})})}setLoadingIndicator(n,o){this.loading[n]=o,this.unsetLoadingIndicator()}getSubDirectories(n,o=this.dirs){return o.filter(l=>l.parent===n)}getChildren(n){const o=this.getSubTree(n);return Xe().sortBy(this.getSubDirectories(n),"path").map(l=>this.createNode(l,o))}createNode(n,o){return this.nodeIds[n.path]=n,o||this.getSubTree(n.parent),{name:n.name,id:n.path,hasChildren:this.getSubDirectories(n.path,o).length>0}}getSubTree(n){return this.dirs.filter(o=>o.parent&&o.parent.startsWith(n))}setSettings(n){const o=(l,_)=>l?_?_(l):l:"";this.settings=[this.getQuota(n,"max_files",o),this.getQuota(n,"max_bytes",l=>o(l,_=>this.dimlessBinaryPipe.transform(_)))]}getQuota(n,o,l){const _=n.id;n=this.getOrigin(n,o);const v=this.getDirectory(n),O=v.quotas[o];let P=O,G=v.path;if(n.id===_)if("/"===n.parent.id)P=0;else{const K=this.getDirectory(this.getOrigin(n.parent,o));P=K.quotas[o],G=K.path}return{row:{name:"max_bytes"===o?"Max size":"Max files",value:l(O),originPath:O?v.path:""},quotaKey:o,dirValue:this.nodeIds[_].quotas[o],nextTreeMaximum:{value:P,path:P?G:""}}}getOrigin(n,o){if(n.parent&&"/"!==n.parent.id){const l=this.getQuotaFromTree(n,o),_=this.getOrigin(n.parent,o),v=this.getQuotaFromTree(_,o);return 0===l||0!==v&&v<l?_:n}return n}getQuotaFromTree(n,o){return this.getDirectory(n).quotas[o]}getDirectory(n){return this.nodeIds[n.id]}selectOrigin(n){this.selectNode(this.getNode(n))}getNode(n){return this.treeComponent.treeModel.getNodeById(n)}updateQuotaModal(){const n=this.selectedDir.path,o=this.quota.selection.first(),l=o.nextTreeMaximum,_=o.quotaKey,v=o.dirValue;this.modalService.show(ae.X,{titleText:this.getModalQuotaTitle(0===v?this.actionLabels.SET:this.actionLabels.UPDATE,n),message:l.value?"The inherited " + this.getQuotaValueFromPathMsg(l.value, l.path) + " is the maximum value to be used.":void 0,fields:[this.getQuotaFormField(o.row.name,_,v,l.value)],submitButtonText:"Save",onSubmit:O=>this.updateQuota(O)})}getModalQuotaTitle(n,o){return "" + n + " CephFS " + this.getQuotaName() + " quota for '" + o + "'"}getQuotaName(){return this.isBytesQuotaSelected()?"size":"files"}isBytesQuotaSelected(){return"max_bytes"===this.quota.selection.first().quotaKey}getQuotaValueFromPathMsg(n,o){return n=this.isBytesQuotaSelected()?this.dimlessBinaryPipe.transform(n):n,"" + this.getQuotaName() + " quota " + n + " from '" + o + "'"}getQuotaFormField(n,o,l,_){const v="max_bytes"===o,O=[v?De.h.binaryMin(0):rn.kI.min(0)];_&&O.push(v?De.h.binaryMax(_):rn.kI.max(_));const P={type:v?"binary":"number",label:n,name:o,value:l,validators:O,required:!0};return v||(P.errors={min:"Value has to be at least 0 or more",max:"Value has to be at most " + _ + " or less"}),P}updateQuota(n,o){const l=this.selectedDir.path,_=this.quota.selection.first().quotaKey,v=0===this.selectedDir.quotas[_]?this.actionLabels.SET:0===n[_]?this.actionLabels.UNSET:"Updated";this.cephfsService.quota(this.id,l,n).subscribe(()=>{o&&o(),this.notificationService.show(Ho.k.success,this.getModalQuotaTitle(v,l)),this.forceDirRefresh()})}unsetQuotaModal(){const n=this.selectedDir.path,o=this.quota.selection.first(),l=o.quotaKey,_=o.nextTreeMaximum,v=o.dirValue,O=this.getQuotaValueFromPathMsg(_.value,_.path),P=_.value>0?_.value>v?"in order to inherit " + O + "":"which isn't used because of the inheritance of " + O + "":"in order to have no quota on the directory";this.modalRef=this.modalService.show(le.Y,{titleText:this.getModalQuotaTitle(this.actionLabels.UNSET,n),buttonText:this.actionLabels.UNSET,description:"" + this.actionLabels.UNSET + " " + this.getQuotaValueFromPathMsg(v, n) + " " + P + ".",onSubmit:()=>this.updateQuota({[l]:0},()=>this.modalRef.close())})}createSnapshot(){const n=this.selectedDir.path;this.modalService.show(ae.X,{titleText:"Create Snapshot",message:"Please enter the name of the snapshot.",fields:[{type:"text",name:"name",value:`${Nt()().toISOString(!0)}`,required:!0,validators:[this.validateValue.bind(this)]}],submitButtonText:"Create Snapshot",onSubmit:o=>{this.alreadyExists?this.notificationService.show(Ho.k.error,"Snapshot name '" + o.name + "' is already in use. Please use another name."):this.cephfsService.mkSnapshot(this.id,n,o.name).subscribe(l=>{this.notificationService.show(Ho.k.success,"Created snapshot '" + l + "' for '" + n + "'"),this.forceDirRefresh()})}})}validateValue(n){this.alreadyExists=this.selectedDir.snapshots.some(o=>o.name===n.value)}forceDirRefresh(n){if(!n){const l=this.selectedDir;if(!l)throw new Error("This function can only be called without path if an selection was made");n=l.parent?l.parent:l.path}this.getNode(n).loadNodeChildren()}updateTreeStructure(n){const o=(_,v)=>{const O=_.filter(G=>G.parent===v),P=O.map(G=>G.path);return{children:O,paths:P}};Xe().uniq(n.map(_=>_.parent).sort()).forEach(_=>{const v=o(n,_),O=o(this.dirs,_);O.children.forEach(P=>{v.paths.includes(P.path)||this.removeOldDirectory(P)}),v.children.forEach(P=>{O.paths.includes(P.path)?this.updateExistingDirectory(O.children,P):this.addNewDirectory(P)})})}removeOldDirectory(n){const o=n.path;Xe().remove(this.dirs,l=>l.path===o),delete this.nodeIds[o],this.updateDirectoriesParentNode(n)}updateDirectoriesParentNode(n){const o=n.parent;if(!o)return;const l=this.getNode(o);if(!l)return;const _=this.getChildren(o);l.data.children=_,l.data.hasChildren=_.length>0,this.treeComponent.treeModel.update()}addNewDirectory(n){this.dirs.push(n),this.nodeIds[n.path]=n,this.updateDirectoriesParentNode(n)}updateExistingDirectory(n,o){const l=n.find(_=>_.path===o.path);Object.assign(l,o)}updateQuotaTable(){const n=this.selectedDir?this.getNode(this.selectedDir.path):void 0;n&&"/"!==n.id&&this.setSettings(n)}updateTree(n=!1){this.loadingIndicator&&!n||(this.treeComponent.treeModel.update(),this.nodes=[...this.nodes],this.treeComponent.sizeChanged())}deleteSnapshotModal(){this.modalRef=this.modalService.show(Go.M,{itemDescription:"CephFs Snapshot",itemNames:this.snapshot.selection.selected.map(n=>n.name),submitAction:()=>this.deleteSnapshot()})}deleteSnapshot(){const n=this.selectedDir.path;this.snapshot.selection.selected.forEach(o=>{const l=o.name;this.cephfsService.rmSnapshot(this.id,n,l).subscribe(()=>{this.notificationService.show(Ho.k.success,"Deleted snapshot '" + l + "' for '" + n + "'")})}),this.modalRef.close(),this.forceDirRefresh()}refreshAllDirectories(){this.loadingIndicator=!0,this.requestedPaths.map(o=>this.forceDirRefresh(o));const n=setInterval(()=>{this.updateTree(!0),this.loadingIndicator||clearInterval(n)},3e3)}unsetLoadingIndicator(){this.loadingIndicator&&(clearTimeout(this.loadingTimeout),this.loadingTimeout=setTimeout(()=>{if(Object.values(this.loading).some(o=>o))return this.unsetLoadingIndicator();this.loadingIndicator=!1,this.updateTree()},3e3))}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(ca.Z),e.Y36(kn),e.Y36(Ve.N),e.Y36(yr.p4),e.Y36(Ui.g),e.Y36(Wl.$))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-directories"]],viewQuery:function(n,o){if(1&n&&(e.Gf(Jl.qr,5),e.Gf(zt,7)),2&n){let l;e.iGM(l=e.CRH())&&(o.treeComponent=l.first),e.iGM(l=e.CRH())&&(o.originTmpl=l.first)}},inputs:{id:"id"},features:[e.TTD],decls:11,vars:10,consts:function(){let i,n;return i="Snapshots",n="Quotas",[[1,"row"],[1,"col-sm-4","pe-0"],[1,"card"],[1,"card-header"],["type","button",1,"btn","btn-light","pull-right",3,"click"],[3,"ngClass"],[1,"card-body"],[3,"nodes","options",4,"ngIf"],["class","col-sm-8 metadata",4,"ngIf"],["origin",""],[3,"nodes","options"],["loadingTemplate",""],[1,"col-sm-8","metadata"],[4,"ngIf"],i,["identifier","name","forceIdentifier","true","selectionType","multiClick",3,"data","columns","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],n,["selectionType","single","identifier","quotaKey",3,"data","columns","limit","footer","onlyActionHeader","forceIdentifier","toolHeader","updateSelection"],[1,"only-table-actions",3,"permission","selection","tableActions"],[1,"quota-origin",3,"click"]]},template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"button",4),e.NdJ("click",function(){return o.refreshAllDirectories()}),e._UZ(5,"i",5),e.qZA()(),e.TgZ(6,"div",6),e.YNc(7,Er,3,2,"tree-root",7),e.qZA()()(),e.YNc(8,Mi,10,7,"div",8),e.qZA(),e.YNc(9,ao,2,1,"ng-template",null,9,e.W1O)),2&n&&(e.xp6(4),e.ekj("disabled",o.loadingIndicator),e.xp6(1),e.ekj("fa-spin",o.loadingIndicator),e.Q6J("ngClass",e.WLB(7,Qt,o.icons.large,o.icons.refresh)),e.xp6(2),e.Q6J("ngIf",o.nodes),e.xp6(1),e.Q6J("ngIf",o.selectedDir))},dependencies:[f.mk,f.O5,zo.a,$l.K,st.o,Jl.qr],styles:["cd-cephfs-directories tree-root .tree-children{overflow:inherit}.quota-origin[_ngcontent-%COMP%]{color:#25828e;cursor:pointer}.quota-origin[_ngcontent-%COMP%]:hover{color:#212529}"]}),t})();var ys=s(7357),Ps=s(25917),Ul=s(43190),eu=s(5304),mu=s(47349),wu=s(96736);let Rc=(()=>{class t{constructor(n){this.http=n,this.baseURL="api/cephfs/subvolume"}get(n,o=""){return this.http.get(`${this.baseURL}/${n}`,{params:{group_name:o}})}create(n,o,l,_,v,O,P,G,K){return this.http.post(this.baseURL,{vol_name:n,subvol_name:o,group_name:l,pool_layout:_,size:v,uid:O,gid:P,mode:G,namespace_isolated:K},{observe:"response"})}info(n,o,l=""){return this.http.get(`${this.baseURL}/${n}/info`,{params:{subvol_name:o,group_name:l}})}remove(n,o,l="",_=!1){return this.http.delete(`${this.baseURL}/${n}`,{params:{subvol_name:o,group_name:l,retain_snapshots:_},observe:"response"})}exists(n,o){return this.info(o,n).pipe((0,wu.h)(!0),(0,eu.K)(l=>(Xe().isFunction(l.preventDefault)&&l.preventDefault(),(0,Ps.of)(!1))))}update(n,o,l,_=""){return this.http.put(`${this.baseURL}/${n}`,{subvol_name:o,size:l,group_name:_})}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var fu=s(95463),qc=s(28211),$c=s(93614);let pu=(()=>{class t{constructor(n){this.http=n,this.baseURL="api/cephfs/subvolume/group"}get(n){return this.http.get(`${this.baseURL}/${n}`)}create(n,o,l,_,v,O,P){return this.http.post(this.baseURL,{vol_name:n,group_name:o,pool_layout:l,size:_,uid:v,gid:O,mode:P},{observe:"response"})}info(n,o){return this.http.get(`${this.baseURL}/${n}/info`,{params:{group_name:o}})}exists(n,o){return this.info(o,n).pipe((0,wu.h)(!0),(0,eu.K)(l=>(Xe().isFunction(l.preventDefault)&&l.preventDefault(),(0,Ps.of)(!1))))}update(n,o,l){return this.http.put(`${this.baseURL}/${n}`,{group_name:o,size:l})}remove(n,o){return this.http.delete(`${this.baseURL}/${n}`,{params:{group_name:o},observe:"response"})}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var vc=s(82799),La=s(18372),al=s(60312),rl=s(30839),xa=s(54982),Tu=s(82945),En=s(17932),Pu=s(63622),za=s(94276),Va=s(56310),Os=s(41582),Cu=s(10545);function ld(t,i){1&t&&(e.TgZ(0,"span",43),e.SDv(1,44),e.qZA())}function Hc(t,i){1&t&&(e.TgZ(0,"span",43),e.SDv(1,45),e.qZA())}function Vu(t,i){1&t&&(e.TgZ(0,"span",43),e.SDv(1,46),e.qZA())}function ud(t,i){if(1&t&&(e.TgZ(0,"option",50),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.name),e.xp6(1),e.Oqu(n.name)}}function md(t,i){if(1&t&&(e.TgZ(0,"select",47)(1,"option",48),e.SDv(2,49),e.qZA(),e.YNc(3,ud,2,2,"option",26),e.qZA()),2&t){const n=i.ngIf;e.xp6(3),e.Q6J("ngForOf",n)}}function tf(t,i){1&t&&(e.TgZ(0,"span",43),e.SDv(1,51),e.qZA())}function Uf(t,i){if(1&t&&(e.TgZ(0,"option",50),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.pool),e.xp6(1),e.Oqu(n.pool)}}function Mu(t,i){if(1&t){const n=e.EpF();e.ynx(0,4),e.TgZ(1,"form",5,6)(3,"div",7)(4,"div",8)(5,"label",9),e.SDv(6,10),e.qZA(),e.TgZ(7,"div",11),e._UZ(8,"input",12),e.YNc(9,ld,2,0,"span",13),e.YNc(10,Hc,2,0,"span",13),e.YNc(11,Vu,2,0,"span",13),e.qZA()(),e.TgZ(12,"div",8)(13,"label",14),e.SDv(14,15),e.qZA(),e.TgZ(15,"div",11),e._UZ(16,"input",16),e.qZA()(),e.TgZ(17,"div",8)(18,"label",17),e.SDv(19,18),e.qZA(),e.TgZ(20,"div",11),e.YNc(21,md,4,1,"select",19),e.ALo(22,"async"),e.qZA()(),e.TgZ(23,"div",8)(24,"label",20),e.tHW(25,21),e._UZ(26,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(27,"div",11),e._UZ(28,"input",22),e.YNc(29,tf,2,0,"span",13),e.qZA()(),e.TgZ(30,"div",8)(31,"label",23),e.tHW(32,24),e._UZ(33,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(34,"div",11)(35,"select",25),e.YNc(36,Uf,2,2,"option",26),e.qZA()()(),e.TgZ(37,"div",8)(38,"label",27),e.SDv(39,28),e.qZA(),e.TgZ(40,"div",11),e._UZ(41,"input",29),e.qZA()(),e.TgZ(42,"div",8)(43,"label",30),e.SDv(44,31),e.qZA(),e.TgZ(45,"div",11),e._UZ(46,"input",32),e.qZA()(),e.TgZ(47,"div",8)(48,"label",33),e.tHW(49,34),e._UZ(50,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(51,"div",11),e._UZ(52,"cd-checked-table-form",35),e.qZA()(),e.TgZ(53,"div",8)(54,"div",36)(55,"div",37),e._UZ(56,"input",38),e.TgZ(57,"label",39),e.tHW(58,40),e._UZ(59,"cd-helper"),e.N_p(),e.qZA()()()()(),e.TgZ(60,"div",41)(61,"cd-form-button-panel",42),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.submit())}),e.ALo(62,"titlecase"),e.ALo(63,"upperFirst"),e.qZA()()(),e.BQk()}if(2&t){const n=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("formGroup",o.subvolumeForm),e.xp6(8),e.Q6J("ngIf",o.subvolumeForm.showError("subvolumeName",n,"required")),e.xp6(1),e.Q6J("ngIf",o.subvolumeForm.showError("subvolumeName",n,"notUnique")),e.xp6(1),e.Q6J("ngIf",o.subvolumeForm.showError("subvolumeName",n,"pattern")),e.xp6(10),e.Q6J("ngIf",e.lcZ(22,16,o.subVolumeGroups$)),e.xp6(8),e.Q6J("ngIf",o.subvolumeForm.showError("size",n,"pattern")),e.xp6(7),e.Q6J("ngForOf",o.dataPools),e.xp6(16),e.Q6J("data",o.scopePermissions)("columns",o.columns)("form",o.subvolumeForm)("isTableForOctalMode",!0)("initialValue",o.initialMode)("scopes",o.scopes)("isDisabled",o.isEdit),e.xp6(9),e.Q6J("form",o.subvolumeForm)("submitText",e.lcZ(62,18,o.action)+" "+e.lcZ(63,20,o.resource))}}let Uc=(()=>{class t extends $c.E{constructor(n,o,l,_,v,O,P,G){super(),this.activeModal=n,this.actionLabels=o,this.taskWrapper=l,this.cephFsSubvolumeService=_,this.cephFsSubvolumeGroupService=v,this.formatter=O,this.dimlessBinary=P,this.octalToHumanReadable=G,this.isEdit=!1,this.scopePermissions=[],this.initialMode={owner:["read","write","execute"],group:["read","execute"],others:["read","execute"]},this.scopes=["owner","group","others"],this.resource="Subvolume"}ngOnInit(){this.action=this.actionLabels.CREATE,this.columns=[{prop:"scope",name:"All",flexGrow:.5},{prop:"read",name:"Read",flexGrow:.5,cellClass:"text-center"},{prop:"write",name:"Write",flexGrow:.5,cellClass:"text-center"},{prop:"execute",name:"Execute",flexGrow:.5,cellClass:"text-center"}],this.subVolumeGroups$=this.cephFsSubvolumeGroupService.get(this.fsName),this.dataPools=this.pools.filter(n=>"data"===n.type),this.createForm(),this.isEdit?this.populateForm():this.loadingReady()}createForm(){this.subvolumeForm=new fu.d({volumeName:new rn.NI({value:this.fsName,disabled:!0}),subvolumeName:new rn.NI("",{validators:[rn.kI.required,rn.kI.pattern(/^[.A-Za-z0-9_-]+$/)],asyncValidators:[De.h.unique(this.cephFsSubvolumeService.exists,this.cephFsSubvolumeService,null,null,this.fsName)]}),subvolumeGroupName:new rn.NI(this.subVolumeGroupName),pool:new rn.NI(this.dataPools[0]?.pool,{validators:[rn.kI.required]}),size:new rn.NI(null,{updateOn:"blur"}),uid:new rn.NI(null),gid:new rn.NI(null),mode:new rn.NI({}),isolatedNamespace:new rn.NI(!1)})}populateForm(){this.action=this.actionLabels.EDIT,this.cephFsSubvolumeService.info(this.fsName,this.subVolumeName,this.subVolumeGroupName).subscribe(n=>{this.subvolumeForm.get("subvolumeName").disable(),this.subvolumeForm.get("subvolumeGroupName").disable(),this.subvolumeForm.get("pool").disable(),this.subvolumeForm.get("uid").disable(),this.subvolumeForm.get("gid").disable(),this.subvolumeForm.get("isolatedNamespace").disable(),this.subvolumeForm.get("subvolumeName").setValue(this.subVolumeName),this.subvolumeForm.get("subvolumeGroupName").setValue(this.subVolumeGroupName),"infinite"!==n.bytes_quota&&this.subvolumeForm.get("size").setValue(this.dimlessBinary.transform(n.bytes_quota)),this.subvolumeForm.get("uid").setValue(n.uid),this.subvolumeForm.get("gid").setValue(n.gid),this.subvolumeForm.get("isolatedNamespace").setValue(n.pool_namespace),this.initialMode=this.octalToHumanReadable.transform(n.mode,!0),this.loadingReady()})}submit(){const n=this.subvolumeForm.getValue("subvolumeName"),o=this.subvolumeForm.getValue("subvolumeGroupName"),l=this.subvolumeForm.getValue("pool"),_=this.formatter.toBytes(this.subvolumeForm.getValue("size"))||0,v=this.subvolumeForm.getValue("uid"),O=this.subvolumeForm.getValue("gid"),P=this.formatter.toOctalPermission(this.subvolumeForm.getValue("mode")),G=this.subvolumeForm.getValue("isolatedNamespace");if(this.isEdit){const K=0===_?"infinite":_;this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("cephfs/subvolume/"+yr.MQ.EDIT,{subVolumeName:n}),call:this.cephFsSubvolumeService.update(this.fsName,n,String(K),o)}).subscribe({error:()=>{this.subvolumeForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}else this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("cephfs/subvolume/"+yr.MQ.CREATE,{subVolumeName:n}),call:this.cephFsSubvolumeService.create(this.fsName,n,o,l,String(_),v,O,P,G)}).subscribe({error:()=>{this.subvolumeForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yi.Kz),e.Y36(yr.p4),e.Y36(Gr.P),e.Y36(Rc),e.Y36(pu),e.Y36(qc.H),e.Y36(Wl.$),e.Y36(vc.f))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-subvolume-form"]],features:[e.qOj],decls:6,vars:8,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue,pe,ye,Ue,xe;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Name",o="Volume name",l="Subvolume group ",_="Size " + "\ufffd#26\ufffd" + "The size of the subvolume is specified by setting a quota on it. If left blank or put 0, then quota will be infinite" + "\ufffd/#26\ufffd" + "",v="e.g., 10GiB",O="Pool " + "\ufffd#33\ufffd" + "By default, the data_pool_layout of the parent directory is selected." + "\ufffd/#33\ufffd" + "",P="UID",G="GID",K="Mode " + "\ufffd#50\ufffd" + "Permissions for the directory. Default mode is 755 which is rwxr-xr-x" + "\ufffd/#50\ufffd" + "",oe="Isolated Namespace " + "\ufffd#59\ufffd" + "To create subvolume in a separate RADOS namespace." + "\ufffd/#59\ufffd" + "",ue="This field is required.",pe="The subvolume already exists.",ye="Subvolume name can only contain letters, numbers, '.', '-' or '_'",Ue="Default",xe="Size must be a number or in a valid format. eg: 5 GiB",[[3,"modalRef"],[1,"modal-title"],i,["class","modal-content",4,"cdFormLoading"],[1,"modal-content"],["name","subvolumeForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","subvolumeName",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["type","text","placeholder","Subvolume name...","id","subvolumeName","name","subvolumeName","formControlName","subvolumeName","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","volumeName",1,"cd-col-form-label"],o,["id","volumeName","name","volumeName","formControlName","volumeName",1,"form-control"],["for","subvolumeGroupName",1,"cd-col-form-label"],l,["class","form-select","id","subvolumeGroupName","name","subvolumeGroupName","formControlName","subvolumeGroupName",4,"ngIf"],["for","size",1,"cd-col-form-label"],_,["type","text","id","size","name","size","formControlName","size","placeholder",v,"defaultUnit","GiB","cdDimlessBinary","",1,"form-control"],["for","pool",1,"cd-col-form-label"],O,["id","pool","name","pool","formControlName","pool",1,"form-select"],[3,"value",4,"ngFor","ngForOf"],["for","uid",1,"cd-col-form-label"],P,["type","number","placeholder","Subvolume UID...","id","uid","name","uid","formControlName","uid",1,"form-control"],["for","gid",1,"cd-col-form-label"],G,["type","number","placeholder","Subvolume GID...","id","gid","name","gid","formControlName","gid",1,"form-control"],["for","mode",1,"cd-col-form-label"],K,["inputField","mode",3,"data","columns","form","isTableForOctalMode","initialValue","scopes","isDisabled"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","isolatedNamespace","name","isolatedNamespace","formControlName","isolatedNamespace",1,"custom-control-input"],["for","isolatedNamespace",1,"custom-control-label"],oe,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],ue,pe,ye,["id","subvolumeGroupName","name","subvolumeGroupName","formControlName","subvolumeGroupName",1,"form-select"],["value",""],Ue,[3,"value"],xe]},template:function(n,o){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.YNc(5,Mu,64,22,"ng-container",3),e.qZA()),2&n&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,4,o.action))(e.lcZ(4,6,o.resource)),e.QtT(2),e.xp6(1),e.Q6J("cdFormLoading",o.loading))},dependencies:[f.sg,f.O5,La.S,al.z,rl.p,xa.l,Tu.U,En.Q,Pu.y,st.o,za.b,Va.P,Os.V,rn._Y,rn.YN,rn.Kr,rn.Fj,rn.wV,rn.Wl,rn.EJ,rn.JJ,rn.JL,rn.sg,rn.u,f.Ov,f.rS,Cu.m]}),t})();var Zu=s(34501);let Tp=(()=>{class t{constructor(){this.cssClasses=["badge-cd-label-green","badge-cd-label-cyan","badge-cd-label-purple","badge-cd-label-light-blue","badge-cd-label-gold","badge-cd-label-light-green"]}transform(n){let o=0,l=0;if(n)for(let _=0;_<n.length;_++)l=n.charCodeAt(_),o=Math.abs((o<<5)-o+l);return this.cssClasses[o%this.cssClasses.length]}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"colorClassFromText",type:t,pure:!0}),t})();function ip(t,i){if(1&t&&(e.TgZ(0,"span",2),e.ALo(1,"colorClassFromText"),e._uU(2),e.qZA()),2&t){const n=e.oxw();e.Gre("badge badge-",n.value,""),e.s9C("ngClass",e.lcZ(1,6,n.value)),e.Q6J("ngbTooltip",n.tooltipText),e.xp6(2),e.hij(" ",n.value,"\n")}}function Hd(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&t){const n=e.oxw();e.MT6("badge badge-background-primary badge-",n.key,"-",n.value,""),e.xp6(1),e.AsE(" ",n.key,": ",n.value," ")}}let Bf=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-label"]],inputs:{key:"key",value:"value",tooltipText:"tooltipText"},decls:3,vars:2,consts:[[3,"class","ngClass","ngbTooltip",4,"ngIf","ngIfElse"],["key_value",""],[3,"ngClass","ngbTooltip"]],template:function(n,o){if(1&n&&(e.YNc(0,ip,3,8,"span",0),e.YNc(1,Hd,2,6,"ng-template",null,1,e.W1O)),2&n){const l=e.MAs(2);e.Q6J("ngIf",!o.key)("ngIfElse",l)}},dependencies:[f.mk,f.O5,yi._L,Tp]}),t})();const gd=["quotaUsageTpl"],Nu=["typeTpl"],ed=["modeToHumanReadableTpl"],xf=["nameTpl"],_u=["quotaSizeTpl"],Ud=["removeTmpl"];function Bc(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"li",14)(1,"a",17),e.NdJ("click",function(){const _=e.CHM(n).$implicit,v=e.oxw(2);return e.KtG(v.selectSubVolumeGroup(_.name))}),e._uU(2),e.qZA()()}if(2&t){const n=i.$implicit,o=e.oxw(2);e.xp6(1),e.ekj("active",n.name===o.activeGroupName),e.xp6(1),e.Oqu(n.name)}}function Lo(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"ul",13)(2,"li",14)(3,"a",15),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.selectSubVolumeGroup())}),e._uU(4,"Default"),e.qZA()(),e.YNc(5,Bc,3,3,"li",16),e.qZA(),e.BQk()}if(2&t){const n=i.ngIf,o=e.oxw();e.xp6(3),e.ekj("active",!o.activeGroupName),e.xp6(2),e.Q6J("ngForOf",n)}}function Se(t,i){if(1&t&&e._UZ(0,"cd-usage-bar",20),2&t){const n=e.oxw().row;e.Q6J("total",n.info.bytes_quota)("used",n.info.bytes_used)("title",n.name)("showFreeToolTip",!1)("customLegendValue",n.info.bytes_quota)}}function Ne(t,i){if(1&t&&(e.TgZ(0,"span",22),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&t){const n=e.oxw(2).row;e.xp6(1),e.hij(" ",e.lcZ(2,1,n.info.bytes_used),"")}}function _e(t,i){if(1&t&&e.YNc(0,Ne,3,3,"span",21),2&t){const n=e.oxw().row;e.Q6J("ngIf","undefined"===n.info.bytes_pcent)}}function Ye(t,i){if(1&t&&(e.YNc(0,Se,1,5,"cd-usage-bar",18),e.YNc(1,_e,1,1,"ng-template",null,19,e.W1O)),2&t){const n=i.row,o=e.MAs(2);e.Q6J("ngIf",n.info.bytes_pcent&&"undefined"!==n.info.bytes_pcent)("ngIfElse",o)}}function Mt(t,i){1&t&&e._UZ(0,"cd-label",23),2&t&&e.Q6J("value",i.value)}function un(t,i){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("ngClass",n.class)("ngbTooltip",n.toolTip),e.xp6(1),e.hij(" ",n.content," ")}}function Mn(t,i){1&t&&(e.YNc(0,un,2,3,"span",24),e.ALo(1,"octalToHumanReadable")),2&t&&e.Q6J("ngForOf",e.lcZ(1,1,i.value))}const ni=function(t,i){return[t,i]};function zi(t,i){if(1&t&&(e.TgZ(0,"span"),e._UZ(1,"i",31),e.qZA()),2&t){const n=e.oxw().row,o=e.oxw();e.xp6(1),e.MGl("ngbTooltip","",n.name," is ready to use"),e.Q6J("ngClass",e.WLB(2,ni,o.icons.success,o.icons.large))}}function Wo(t,i){if(1&t&&e._UZ(0,"i",32),2&t){const n=e.oxw().row,o=e.oxw();e.MGl("ngbTooltip","",n.name," is removed after retaining the snapshots"),e.Q6J("ngClass",e.WLB(2,ni,o.icons.warning,o.icons.large))}}function Qo(t,i){if(1&t&&e._UZ(0,"cd-label",23),2&t){const n=e.oxw().row;e.Q6J("value",n.info.type)}}function ya(t,i){if(1&t&&e._UZ(0,"cd-label",33),2&t){const n=e.oxw().row;e.Q6J("tooltipText",n.info.pool_namespace)}}function Bl(t,i){if(1&t&&(e.TgZ(0,"span",26),e._uU(1),e.qZA(),e.YNc(2,zi,2,5,"span",27),e.YNc(3,Wo,1,5,"ng-template",null,28,e.W1O),e.YNc(5,Qo,1,1,"cd-label",29),e.YNc(6,ya,1,1,"cd-label",30)),2&t){const n=i.row,o=e.MAs(4);e.xp6(1),e.Oqu(n.name),e.xp6(1),e.Q6J("ngIf","complete"===n.info.state)("ngIfElse",o),e.xp6(3),e.Q6J("ngIf","subvolume"!==n.info.type),e.xp6(1),e.Q6J("ngIf",n.info.pool_namespace)}}function Wu(t,i){if(1&t&&(e.TgZ(0,"cd-alert-panel",42),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.hij(" ",n.errorMessage," ")}}function pc(t,i){if(1&t&&(e.ynx(0,34)(1,35),e.YNc(2,Wu,2,1,"cd-alert-panel",36),e.TgZ(3,"div",37)(4,"div",38),e._UZ(5,"input",39),e.TgZ(6,"label",40),e.tHW(7,41),e._UZ(8,"cd-helper"),e.N_p(),e.qZA()()(),e.BQk()()),2&t){const n=i.form,o=e.oxw();e.Q6J("formGroup",n),e.xp6(2),e.Q6J("ngIf",o.errorMessage.length>1)}}let cd=(()=>{class t extends $c.E{constructor(n,o,l,_,v,O){super(),this.cephfsSubVolume=n,this.actionLabels=o,this.modalService=l,this.authStorageService=_,this.taskWrapper=v,this.cephfsSubvolumeGroupService=O,this.columns=[],this.selection=new Io.r,this.icons=Rr.P,this.errorMessage="",this.selectedName="",this.subject=new ys.t,this.groupsSubject=new ys.t,this.activeGroupName="",this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.columns=[{name:"Name",prop:"name",flexGrow:1,cellTemplate:this.nameTpl},{name:"Data Pool",prop:"info.data_pool",flexGrow:.7,cellTransformation:Xr.e.badge,customTemplateConfig:{class:"badge-background-primary"}},{name:"Usage",prop:"info.bytes_pcent",flexGrow:.7,cellTemplate:this.quotaUsageTpl,cellClass:"text-right"},{name:"Path",prop:"info.path",flexGrow:1,cellTransformation:Xr.e.path},{name:"Mode",prop:"info.mode",flexGrow:.5,cellTemplate:this.modeToHumanReadableTpl},{name:"Created",prop:"info.created_at",flexGrow:.5,cellTransformation:Xr.e.timeAgo}],this.tableActions=[{name:this.actionLabels.CREATE,permission:"create",icon:Rr.P.add,click:()=>this.openModal()},{name:this.actionLabels.EDIT,permission:"update",icon:Rr.P.edit,click:()=>this.openModal(!0)},{name:this.actionLabels.REMOVE,permission:"delete",icon:Rr.P.destroy,click:()=>this.removeSubVolumeModal()}],this.getSubVolumes(),this.subVolumeGroups$=this.groupsSubject.pipe((0,Ul.w)(()=>this.cephfsSubvolumeGroupService.get(this.fsName).pipe((0,eu.K)(()=>(this.context.error(),(0,Ps.of)(null))))))}fetchData(){this.subject.next()}ngOnChanges(){this.subject.next(),this.groupsSubject.next()}updateSelection(n){this.selection=n}openModal(n=!1){this.modalService.show(Uc,{fsName:this.fsName,subVolumeName:this.selection?.first()?.name,subVolumeGroupName:this.activeGroupName,pools:this.pools,isEdit:n},{size:"lg"})}removeSubVolumeModal(){this.removeForm=new fu.d({retainSnapshots:new rn.NI(!1)}),this.errorMessage="",this.selectedName=this.selection.first().name,this.modalRef=this.modalService.show(Go.M,{actionDescription:"Remove",itemNames:[this.selectedName],itemDescription:"Subvolume",childFormGroup:this.removeForm,childFormGroupTemplate:this.removeTmpl,submitAction:()=>this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("cephfs/subvolume/remove",{subVolumeName:this.selectedName}),call:this.cephfsSubVolume.remove(this.fsName,this.selectedName,this.activeGroupName,this.removeForm.getValue("retainSnapshots"))}).subscribe({complete:()=>this.modalRef.close(),error:n=>{this.modalRef.componentInstance.stopLoadingSpinner(),this.errorMessage=n.error.detail}})})}selectSubVolumeGroup(n){this.activeGroupName=n,this.getSubVolumes(n)}getSubVolumes(n=""){this.subVolumes$=this.subject.pipe((0,Ul.w)(()=>this.cephfsSubVolume.get(this.fsName,n).pipe((0,eu.K)(()=>(this.context.error(),(0,Ps.of)(null))))),(0,mu.d)(1))}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Rc),e.Y36(yr.p4),e.Y36(ca.Z),e.Y36(Do.j),e.Y36(Gr.P),e.Y36(pu))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-subvolume-list"]],viewQuery:function(n,o){if(1&n&&(e.Gf(gd,7),e.Gf(Nu,7),e.Gf(ed,7),e.Gf(xf,7),e.Gf(_u,7),e.Gf(Ud,7)),2&n){let l;e.iGM(l=e.CRH())&&(o.quotaUsageTpl=l.first),e.iGM(l=e.CRH())&&(o.typeTpl=l.first),e.iGM(l=e.CRH())&&(o.modeToHumanReadableTpl=l.first),e.iGM(l=e.CRH())&&(o.nameTpl=l.first),e.iGM(l=e.CRH())&&(o.quotaSizeTpl=l.first),e.iGM(l=e.CRH())&&(o.removeTmpl=l.first)}},inputs:{fsName:"fsName",pools:"pools"},features:[e.qOj,e.TTD],decls:21,vars:11,consts:function(){let i,n,o;return i="Groups",n="Quota limit is not set",o="Retain snapshots " + "\ufffd#8\ufffd" + "The subvolume can be removed retaining existing snapshots using this option. If snapshots are retained, the subvolume is considered empty for all operations not involving the retained snapshots." + "\ufffd/#8\ufffd" + "",[[1,"row"],[1,"col-sm-1"],i,[4,"ngIf"],[1,"col-11","vertical-line"],["columnMode","flex","selectionType","single",3,"data","columns","hasDetails","fetchData","updateSelection"],[1,"table-actions","btn-toolbar"],["id","cephfs-subvolume-actions",1,"btn-group",3,"permission","selection","tableActions"],["quotaUsageTpl",""],["typeTpl",""],["modeToHumanReadableTpl",""],["nameTpl",""],["removeTmpl",""],[1,"nav","flex-column","nav-pills"],[1,"nav-item"],[1,"nav-link",3,"click"],["class","nav-item",4,"ngFor","ngForOf"],[1,"nav-link","text-decoration-none","text-break",3,"click"],["customLegend","Quota","decimals","2",3,"total","used","title","showFreeToolTip","customLegendValue",4,"ngIf","ngIfElse"],["noLimitTpl",""],["customLegend","Quota","decimals","2",3,"total","used","title","showFreeToolTip","customLegendValue"],["ngbTooltip",n,4,"ngIf"],["ngbTooltip",n],[3,"value"],[3,"ngClass","ngbTooltip",4,"ngFor","ngForOf"],[3,"ngClass","ngbTooltip"],[1,"fw-bold"],[4,"ngIf","ngIfElse"],["snapshotRetainedTpl",""],[3,"value",4,"ngIf"],["value","namespaced",3,"tooltipText",4,"ngIf"],[1,"text-success",3,"ngClass","ngbTooltip"],[1,"text-warning",3,"ngClass","ngbTooltip"],["value","namespaced",3,"tooltipText"],[3,"formGroup"],["formGroupName","child"],["type","error",4,"ngIf"],[1,"form-group"],[1,"custom-control","custom-checkbox"],["type","checkbox","name","retainSnapshots","id","retainSnapshots","formControlName","retainSnapshots",1,"custom-control-input"],["for","retainSnapshots",1,"custom-control-label"],o,["type","error"]]},template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"h3"),e.SDv(3,2),e.qZA(),e.YNc(4,Lo,6,3,"ng-container",3),e.ALo(5,"async"),e.qZA(),e.TgZ(6,"div",4)(7,"cd-table",5),e.NdJ("fetchData",function(){return o.fetchData()})("updateSelection",function(_){return o.updateSelection(_)}),e.ALo(8,"async"),e.TgZ(9,"div",6),e._UZ(10,"cd-table-actions",7),e.qZA()()()(),e.YNc(11,Ye,3,2,"ng-template",null,8,e.W1O),e.YNc(13,Mt,1,1,"ng-template",null,9,e.W1O),e.YNc(15,Mn,2,3,"ng-template",null,10,e.W1O),e.YNc(17,Bl,7,5,"ng-template",null,11,e.W1O),e.YNc(19,pc,9,2,"ng-template",null,12,e.W1O)),2&n&&(e.xp6(4),e.Q6J("ngIf",e.lcZ(5,7,o.subVolumeGroups$)),e.xp6(3),e.Q6J("data",e.lcZ(8,9,o.subVolumes$))("columns",o.columns)("hasDetails",!1),e.xp6(3),e.Q6J("permission",o.permissions.cephfs)("selection",o.selection)("tableActions",o.tableActions))},dependencies:[f.mk,f.sg,f.O5,La.S,fc.O,Zu.G,Bf,zo.a,$l.K,st.o,za.b,Va.P,Os.V,rn.Wl,rn.JJ,rn.JL,rn.sg,rn.u,rn.x0,yi._L,f.Ov,Wl.$,vc.f]}),t})();function Ju(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,36),e.qZA())}function tc(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,37),e.qZA())}function od(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,38),e.qZA())}function Ed(t,i){1&t&&(e.TgZ(0,"span",35),e.SDv(1,39),e.qZA())}function h(t,i){if(1&t&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.pool),e.xp6(1),e.Oqu(n.pool)}}function b(t,i){if(1&t){const n=e.EpF();e.ynx(0,4),e.TgZ(1,"form",5,6)(3,"div",7)(4,"div",8)(5,"label",9),e.SDv(6,10),e.qZA(),e.TgZ(7,"div",11),e._UZ(8,"input",12),e.YNc(9,Ju,2,0,"span",13),e.YNc(10,tc,2,0,"span",13),e.YNc(11,od,2,0,"span",13),e.qZA()(),e.TgZ(12,"div",8)(13,"label",14),e.SDv(14,15),e.qZA(),e.TgZ(15,"div",11),e._UZ(16,"input",16),e.qZA()(),e.TgZ(17,"div",8)(18,"label",17),e.tHW(19,18),e._UZ(20,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(21,"div",11),e._UZ(22,"input",19),e.YNc(23,Ed,2,0,"span",13),e.qZA()(),e.TgZ(24,"div",8)(25,"label",20),e.tHW(26,21),e._UZ(27,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(28,"div",11)(29,"select",22),e.YNc(30,h,2,2,"option",23),e.qZA()()(),e.TgZ(31,"div",8)(32,"label",24),e.SDv(33,25),e.qZA(),e.TgZ(34,"div",11),e._UZ(35,"input",26),e.qZA()(),e.TgZ(36,"div",8)(37,"label",27),e.SDv(38,28),e.qZA(),e.TgZ(39,"div",11),e._UZ(40,"input",29),e.qZA()(),e.TgZ(41,"div",8)(42,"label",30),e.tHW(43,31),e._UZ(44,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(45,"div",11),e._UZ(46,"cd-checked-table-form",32),e.qZA()()(),e.TgZ(47,"div",33)(48,"cd-form-button-panel",34),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.submit())}),e.ALo(49,"titlecase"),e.ALo(50,"upperFirst"),e.qZA()()(),e.BQk()}if(2&t){const n=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("formGroup",o.subvolumegroupForm),e.xp6(8),e.Q6J("ngIf",o.subvolumegroupForm.showError("subvolumegroupName",n,"required")),e.xp6(1),e.Q6J("ngIf",o.subvolumegroupForm.showError("subvolumegroupName",n,"notUnique")),e.xp6(1),e.Q6J("ngIf",o.subvolumegroupForm.showError("subvolumegroupName",n,"pattern")),e.xp6(12),e.Q6J("ngIf",o.subvolumegroupForm.showError("size",n,"pattern")),e.xp6(7),e.Q6J("ngForOf",o.dataPools),e.xp6(16),e.Q6J("data",o.scopePermissions)("columns",o.columns)("form",o.subvolumegroupForm)("isTableForOctalMode",!0)("initialValue",o.initialMode)("scopes",o.scopes)("isDisabled",o.isEdit),e.xp6(2),e.Q6J("form",o.subvolumegroupForm)("submitText",e.lcZ(49,15,o.action)+" "+e.lcZ(50,17,o.resource))}}let N=(()=>{class t extends $c.E{constructor(n,o,l,_,v,O,P){super(),this.activeModal=n,this.actionLabels=o,this.taskWrapper=l,this.cephfsSubvolumeGroupService=_,this.formatter=v,this.dimlessBinary=O,this.octalToHumanReadable=P,this.isEdit=!1,this.scopePermissions=[],this.initialMode={owner:["read","write","execute"],group:["read","execute"],others:["read","execute"]},this.scopes=["owner","group","others"],this.resource="subvolume group"}ngOnInit(){this.action=this.actionLabels.CREATE,this.columns=[{prop:"scope",name:"All",flexGrow:.5},{prop:"read",name:"Read",flexGrow:.5,cellClass:"text-center"},{prop:"write",name:"Write",flexGrow:.5,cellClass:"text-center"},{prop:"execute",name:"Execute",flexGrow:.5,cellClass:"text-center"}],this.dataPools=this.pools.filter(n=>"data"===n.type),this.createForm(),this.isEdit?this.populateForm():this.loadingReady()}createForm(){this.subvolumegroupForm=new fu.d({volumeName:new rn.NI({value:this.fsName,disabled:!0}),subvolumegroupName:new rn.NI("",{validators:[rn.kI.required,rn.kI.pattern(/^[.A-Za-z0-9_-]+$/)],asyncValidators:[De.h.unique(this.cephfsSubvolumeGroupService.exists,this.cephfsSubvolumeGroupService,null,null,this.fsName)]}),pool:new rn.NI(this.dataPools[0]?.pool,{validators:[rn.kI.required]}),size:new rn.NI(null,{updateOn:"blur"}),uid:new rn.NI(null),gid:new rn.NI(null),mode:new rn.NI({})})}populateForm(){this.action=this.actionLabels.EDIT,this.cephfsSubvolumeGroupService.info(this.fsName,this.subvolumegroupName).subscribe(n=>{this.subvolumegroupForm.get("subvolumegroupName").disable(),this.subvolumegroupForm.get("pool").disable(),this.subvolumegroupForm.get("uid").disable(),this.subvolumegroupForm.get("gid").disable(),this.subvolumegroupForm.get("subvolumegroupName").setValue(this.subvolumegroupName),"infinite"!==n.bytes_quota&&this.subvolumegroupForm.get("size").setValue(this.dimlessBinary.transform(n.bytes_quota)),this.subvolumegroupForm.get("uid").setValue(n.uid),this.subvolumegroupForm.get("gid").setValue(n.gid),this.initialMode=this.octalToHumanReadable.transform(n.mode,!0),this.loadingReady()})}submit(){const n=this.subvolumegroupForm.getValue("subvolumegroupName"),o=this.subvolumegroupForm.getValue("pool"),l=this.formatter.toBytes(this.subvolumegroupForm.getValue("size"))||0,_=this.subvolumegroupForm.getValue("uid"),v=this.subvolumegroupForm.getValue("gid"),O=this.formatter.toOctalPermission(this.subvolumegroupForm.getValue("mode"));if(this.isEdit){const P=0===l?"infinite":l;this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("cephfs/subvolume/group/"+yr.MQ.EDIT,{subvolumegroupName:n}),call:this.cephfsSubvolumeGroupService.update(this.fsName,n,String(P))}).subscribe({error:()=>{this.subvolumegroupForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}else this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("cephfs/subvolume/group/"+yr.MQ.CREATE,{subvolumegroupName:n}),call:this.cephfsSubvolumeGroupService.create(this.fsName,n,o,String(l),_,v,O)}).subscribe({error:()=>{this.subvolumegroupForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yi.Kz),e.Y36(yr.p4),e.Y36(Gr.P),e.Y36(pu),e.Y36(qc.H),e.Y36(Wl.$),e.Y36(vc.f))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-subvolumegroup-form"]],features:[e.qOj],decls:6,vars:8,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue,pe;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Name",o="Volume name",l="Size " + "\ufffd#20\ufffd" + "The size of the subvolume group is specified by setting a quota on it. If left blank or put 0, then quota will be infinite" + "\ufffd/#20\ufffd" + "",_="e.g., 10GiB",v="Pool " + "\ufffd#27\ufffd" + "By default, the data_pool_layout of the parent directory is selected." + "\ufffd/#27\ufffd" + "",O="UID",P="GID",G="Mode " + "\ufffd#44\ufffd" + "Permissions for the directory. Default mode is 755 which is rwxr-xr-x" + "\ufffd/#44\ufffd" + "",K="This field is required.",oe="The subvolume group already exists.",ue="Subvolume name can only contain letters, numbers, '.', '-' or '_'",pe="Size must be a number or in a valid format. eg: 5 GiB",[[3,"modalRef"],[1,"modal-title"],i,["class","modal-content",4,"cdFormLoading"],[1,"modal-content"],["name","subvolumegroupForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","subvolumegroupName",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["type","text","placeholder","subvolumegroup name...","id","subvolumegroupName","name","subvolumegroupName","formControlName","subvolumegroupName","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","volumeName",1,"cd-col-form-label"],o,["id","volumeName","name","volumeName","formControlName","volumeName",1,"form-control"],["for","size",1,"cd-col-form-label"],l,["type","text","id","size","name","size","formControlName","size","placeholder",_,"defaultUnit","GiB","cdDimlessBinary","",1,"form-control"],["for","pool",1,"cd-col-form-label"],v,["id","pool","name","pool","formControlName","pool",1,"form-select"],[3,"value",4,"ngFor","ngForOf"],["for","uid",1,"cd-col-form-label"],O,["type","number","placeholder","subvolumegroup UID...","id","uid","name","uid","formControlName","uid",1,"form-control"],["for","gid",1,"cd-col-form-label"],P,["type","number","placeholder","subvolumegroup GID...","id","gid","name","gid","formControlName","gid",1,"form-control"],["for","mode",1,"cd-col-form-label"],G,["inputField","mode",3,"data","columns","form","isTableForOctalMode","initialValue","scopes","isDisabled"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],K,oe,ue,pe,[3,"value"]]},template:function(n,o){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.YNc(5,b,51,19,"ng-container",3),e.qZA()),2&n&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,4,o.action))(e.lcZ(4,6,o.resource)),e.QtT(2),e.xp6(1),e.Q6J("cdFormLoading",o.loading))},dependencies:[f.sg,f.O5,La.S,al.z,rl.p,xa.l,Tu.U,En.Q,Pu.y,st.o,za.b,Va.P,Os.V,rn._Y,rn.YN,rn.Kr,rn.Fj,rn.wV,rn.EJ,rn.JJ,rn.JL,rn.sg,rn.u,f.rS,Cu.m]}),t})();const k=["quotaUsageTpl"],ne=["typeTpl"],he=["modeToHumanReadableTpl"],Me=["nameTpl"],Qe=["quotaSizeTpl"];function Re(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",5),e.NdJ("fetchData",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.fetchData())})("updateSelection",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.updateSelection(l))}),e.TgZ(1,"div",6),e._UZ(2,"cd-table-actions",7),e.qZA()()}if(2&t){const n=e.oxw().ngIf,o=e.oxw();e.Q6J("data",n)("columns",o.columns)("hasDetails",!1),e.xp6(2),e.Q6J("permission",o.permissions.cephfs)("selection",o.selection)("tableActions",o.tableActions)}}function ft(t,i){if(1&t&&(e.ynx(0),e.YNc(1,Re,3,6,"cd-table",4),e.BQk()),2&t){const n=i.ngIf;e.xp6(1),e.Q6J("ngIf",n)}}function wt(t,i){if(1&t&&e._UZ(0,"cd-usage-bar",10),2&t){const n=e.oxw().row;e.Q6J("total",n.info.bytes_quota)("used",n.info.bytes_used)("title",n.name)("showFreeToolTip",!1)("customLegendValue",n.info.bytes_quota)}}function It(t,i){if(1&t&&(e.TgZ(0,"span",12),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&t){const n=e.oxw(2).row;e.xp6(1),e.hij(" ",e.lcZ(2,1,n.info.bytes_used),"")}}function Cn(t,i){if(1&t&&e.YNc(0,It,3,3,"span",11),2&t){const n=e.oxw().row;e.Q6J("ngIf","undefined"===n.info.bytes_pcent)}}function er(t,i){if(1&t&&(e.YNc(0,wt,1,5,"cd-usage-bar",8),e.YNc(1,Cn,1,1,"ng-template",null,9,e.W1O)),2&t){const n=i.row,o=e.MAs(2);e.Q6J("ngIf",n.info.bytes_pcent&&"undefined"!==n.info.bytes_pcent)("ngIfElse",o)}}function sr(t,i){1&t&&e._UZ(0,"cd-label",13),2&t&&e.Q6J("value",i.value)}function Dr(t,i){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("ngClass",n.class)("ngbTooltip",n.toolTip),e.xp6(1),e.hij(" ",n.content," ")}}function oi(t,i){1&t&&(e.YNc(0,Dr,2,3,"span",14),e.ALo(1,"octalToHumanReadable")),2&t&&e.Q6J("ngForOf",e.lcZ(1,1,i.value))}let uo=(()=>{class t{constructor(n,o,l,_,v){this.cephfsSubvolumeGroup=n,this.actionLabels=o,this.modalService=l,this.authStorageService=_,this.taskWrapper=v,this.selection=new Io.r,this.icons=Rr.P,this.subject=new ys.t,this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.columns=[{name:"Name",prop:"name",flexGrow:.6,cellTransformation:Xr.e.bold},{name:"Data Pool",prop:"info.data_pool",flexGrow:.7,cellTransformation:Xr.e.badge,customTemplateConfig:{class:"badge-background-primary"}},{name:"Usage",prop:"info.bytes_pcent",flexGrow:.7,cellTemplate:this.quotaUsageTpl,cellClass:"text-right"},{name:"Mode",prop:"info.mode",flexGrow:.5,cellTemplate:this.modeToHumanReadableTpl},{name:"Created",prop:"info.created_at",flexGrow:.5,cellTransformation:Xr.e.timeAgo}],this.tableActions=[{name:this.actionLabels.CREATE,permission:"create",icon:Rr.P.add,click:()=>this.openModal(),canBePrimary:n=>!n.hasSelection},{name:this.actionLabels.EDIT,permission:"update",icon:Rr.P.edit,click:()=>this.openModal(!0)},{name:this.actionLabels.REMOVE,permission:"delete",icon:Rr.P.destroy,click:()=>this.removeSubVolumeModal()}],this.subvolumeGroup$=this.subject.pipe((0,Ul.w)(()=>this.cephfsSubvolumeGroup.get(this.fsName).pipe((0,eu.K)(()=>(this.context.error(),(0,Ps.of)(null))))),(0,mu.d)(1))}fetchData(){this.subject.next()}ngOnChanges(){this.subject.next()}updateSelection(n){this.selection=n}openModal(n=!1){this.modalService.show(N,{fsName:this.fsName,subvolumegroupName:this.selection?.first()?.name,pools:this.pools,isEdit:n},{size:"lg"})}removeSubVolumeModal(){const n=this.selection.first().name;this.modalService.show(Go.M,{itemDescription:"subvolume group",itemNames:[n],actionDescription:"remove",submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("cephfs/subvolume/group/remove",{subvolumegroupName:n}),call:this.cephfsSubvolumeGroup.remove(this.fsName,n)})})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(pu),e.Y36(yr.p4),e.Y36(ca.Z),e.Y36(Do.j),e.Y36(Gr.P))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-subvolume-group"]],viewQuery:function(n,o){if(1&n&&(e.Gf(k,7),e.Gf(ne,7),e.Gf(he,7),e.Gf(Me,7),e.Gf(Qe,7)),2&n){let l;e.iGM(l=e.CRH())&&(o.quotaUsageTpl=l.first),e.iGM(l=e.CRH())&&(o.typeTpl=l.first),e.iGM(l=e.CRH())&&(o.modeToHumanReadableTpl=l.first),e.iGM(l=e.CRH())&&(o.nameTpl=l.first),e.iGM(l=e.CRH())&&(o.quotaSizeTpl=l.first)}},inputs:{fsName:"fsName",pools:"pools"},features:[e.TTD],decls:8,vars:3,consts:function(){let i;return i="Quota limit is not set",[[4,"ngIf"],["quotaUsageTpl",""],["typeTpl",""],["modeToHumanReadableTpl",""],["columnMode","flex","selectionType","single",3,"data","columns","hasDetails","fetchData","updateSelection",4,"ngIf"],["columnMode","flex","selectionType","single",3,"data","columns","hasDetails","fetchData","updateSelection"],[1,"table-actions","btn-toolbar"],["id","cephfs-subvolumegropup-actions",1,"btn-group",3,"permission","selection","tableActions"],["customLegend","Quota","decimals","2",3,"total","used","title","showFreeToolTip","customLegendValue",4,"ngIf","ngIfElse"],["noLimitTpl",""],["customLegend","Quota","decimals","2",3,"total","used","title","showFreeToolTip","customLegendValue"],["ngbTooltip",i,4,"ngIf"],["ngbTooltip",i],[3,"value"],[3,"ngClass","ngbTooltip",4,"ngFor","ngForOf"],[3,"ngClass","ngbTooltip"]]},template:function(n,o){1&n&&(e.YNc(0,ft,2,1,"ng-container",0),e.ALo(1,"async"),e.YNc(2,er,3,2,"ng-template",null,1,e.W1O),e.YNc(4,sr,1,1,"ng-template",null,2,e.W1O),e.YNc(6,oi,2,3,"ng-template",null,3,e.W1O)),2&n&&e.Q6J("ngIf",e.lcZ(1,1,o.subvolumeGroup$))},dependencies:[f.mk,f.sg,f.O5,fc.O,Bf,zo.a,$l.K,yi._L,f.Ov,Wl.$,vc.f]}),t})();function As(t,i){if(1&t&&e._UZ(0,"cd-cephfs-detail",19),2&t){const n=e.oxw(2);e.Q6J("data",n.details)}}function as(t,i){if(1&t&&e._UZ(0,"cd-cephfs-subvolume-list",20),2&t){const n=e.oxw(2);e.Q6J("fsName",n.selection.mdsmap.fs_name)("pools",n.details.pools)}}function ma(t,i){if(1&t&&e._UZ(0,"cd-cephfs-subvolume-group",20),2&t){const n=e.oxw(2);e.Q6J("fsName",n.selection.mdsmap.fs_name)("pools",n.details.pools)}}function Na(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-cephfs-clients",21),e.NdJ("triggerApiUpdate",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.refresh())}),e.qZA()}if(2&t){const n=e.oxw(2);e.Q6J("id",n.id)("clients",n.clients)}}function Pl(t,i){if(1&t&&e._UZ(0,"cd-cephfs-directories",22),2&t){const n=e.oxw(2);e.Q6J("id",n.id)}}function il(t,i){if(1&t&&e._UZ(0,"cd-grafana",23),2&t){const n=e.oxw(2);e.Q6J("grafanaPath","mds-performance?var-mds_servers=mds."+n.grafanaId)("type","metrics")}}function dl(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"nav",1,2),e.NdJ("navChange",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.softRefresh())}),e.ynx(3,3),e.TgZ(4,"a",4),e.SDv(5,5),e.qZA(),e.YNc(6,As,1,1,"ng-template",6),e.BQk(),e.ynx(7,7),e.TgZ(8,"a",4),e.SDv(9,8),e.qZA(),e.YNc(10,as,1,2,"ng-template",6),e.BQk(),e.ynx(11,9),e.TgZ(12,"a",4),e.SDv(13,10),e.qZA(),e.YNc(14,ma,1,2,"ng-template",6),e.BQk(),e.ynx(15,11),e.TgZ(16,"a",4),e.ynx(17),e.SDv(18,12),e.BQk(),e.TgZ(19,"span",13),e._uU(20),e.qZA()(),e.YNc(21,Na,1,2,"ng-template",6),e.BQk(),e.ynx(22,14),e.TgZ(23,"a",4),e.SDv(24,15),e.qZA(),e.YNc(25,Pl,1,1,"ng-template",6),e.BQk(),e.ynx(26,16),e.TgZ(27,"a",4),e.SDv(28,17),e.qZA(),e.YNc(29,il,1,2,"ng-template",6),e.BQk(),e.qZA(),e._UZ(30,"div",18),e.BQk()}if(2&t){const n=e.MAs(2),o=e.oxw();e.xp6(20),e.Oqu(o.clients.data.length),e.xp6(10),e.Q6J("ngbNavOutlet",n)}}let Nl=(()=>{class t{constructor(n,o,l){this.ngZone=n,this.authStorageService=o,this.cephfsService=l,this.clients={data:[],status:new Uu.E(Xc.T.ValueNone)},this.details={standbys:"",pools:[],ranks:[],mdsCounters:{},name:""},this.grafanaPermission=this.authStorageService.getPermissions().grafana}ngOnChanges(){this.selection?this.selection.id!==this.id&&this.setupSelected(this.selection.id,this.selection.mdsmap.info):this.unsubscribeInterval()}setupSelected(n,o){this.id=n;const l=Xe().first(Object.values(o));this.grafanaId=l&&l.name,this.details={standbys:"",pools:[],ranks:[],mdsCounters:{},name:""},this.clients={data:[],status:new Uu.E(Xc.T.ValueNone)},this.updateInterval()}updateInterval(){this.unsubscribeInterval(),this.subscribeInterval()}unsubscribeInterval(){this.reloadSubscriber&&this.reloadSubscriber.unsubscribe()}subscribeInterval(){this.ngZone.runOutsideAngular(()=>this.reloadSubscriber=(0,xl.H)(0,5e3).subscribe(()=>this.ngZone.run(()=>this.refresh())))}refresh(){this.cephfsService.getTabs(this.id).subscribe(n=>{this.data=n,this.softRefresh()},()=>{this.clients.status=new Uu.E(Xc.T.ValueException)})}softRefresh(){const n=Xe().cloneDeep(this.data);this.clients=n.clients,this.clients.status=new Uu.E(this.clients.status),this.details={standbys:n.standbys,pools:n.pools,ranks:n.ranks,mdsCounters:n.mds_counters,name:n.name}}ngOnDestroy(){this.unsubscribeInterval()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(e.R0b),e.Y36(Do.j),e.Y36(kn))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-tabs"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let i,n,o,l,_,v,O;return i="Details",n="Subvolumes",o="Subvolume groups",l="Clients",_="Directories",v="Performance Details",O="CephFS MDS performance",[[4,"ngIf"],["ngbNav","","cdStatefulTab","cephfs-tabs",1,"nav-tabs",3,"navChange"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","subvolumes"],n,["ngbNavItem","subvolume-groups"],o,["ngbNavItem","clients"],l,[1,"badge","badge-pill","badge-tab","ms-1"],["ngbNavItem","directories"],_,["ngbNavItem","performance-details"],v,[3,"ngbNavOutlet"],[3,"data"],[3,"fsName","pools"],[3,"id","clients","triggerApiUpdate"],[3,"id"],["title",O,"uid","tbO9LAiZz","grafanaStyle","one",3,"grafanaPath","type"]]},template:function(n,o){1&n&&e.YNc(0,dl,31,2,"ng-container",0),2&n&&e.Q6J("ngIf",o.selection)},dependencies:[f.O5,ad.F,kc.m,yi.uN,yi.Pz,yi.nv,yi.Vx,yi.tO,yi.Dy,wl,Qa,rs,cd,uo]}),t})(),ac=(()=>{class t extends Hr.o{constructor(n,o,l,_,v,O,P,G,K){super(),this.authStorageService=n,this.cephfsService=o,this.actionLabels=l,this.router=_,this.urlBuilder=v,this.configurationService=O,this.modalService=P,this.taskWrapper=G,this.notificationService=K,this.filesystems=[],this.selection=new Io.r,this.icons=Rr.P,this.monAllowPoolDelete=!1,this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.columns=[{name:"Name",prop:"mdsmap.fs_name",flexGrow:2},{name:"Enabled",prop:"mdsmap.enabled",flexGrow:2,cellTransformation:Xr.e.checkIcon},{name:"Created",prop:"mdsmap.created",flexGrow:1,cellTransformation:Xr.e.timeAgo}],this.tableActions=[{name:this.actionLabels.CREATE,permission:"create",icon:Rr.P.add,click:()=>this.router.navigate([this.urlBuilder.getCreate()]),canBePrimary:n=>!n.hasSelection},{name:this.actionLabels.EDIT,permission:"update",icon:Rr.P.edit,click:()=>this.router.navigate([this.urlBuilder.getEdit(this.selection.first().mdsmap.fs_name)])},{permission:"delete",icon:Rr.P.destroy,click:()=>this.removeVolumeModal(),name:this.actionLabels.REMOVE,disable:this.getDisableDesc.bind(this)}],this.permissions.configOpt.read&&this.configurationService.get("mon_allow_pool_delete").subscribe(n=>{if(Xe().has(n,"value")){const o=Xe().find(n.value,l=>"mon"===l.section)||{value:!1};this.monAllowPoolDelete="true"===o.value}})}loadFilesystems(n){this.cephfsService.list().subscribe(o=>{this.filesystems=o},()=>{n.error()})}updateSelection(n){this.selection=n}removeVolumeModal(){const n=this.selection.first().mdsmap.fs_name;this.modalService.show(Go.M,{itemDescription:"File System",itemNames:[n],actionDescription:"remove",submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("cephfs/remove",{volumeName:n}),call:this.cephfsService.remove(n)})})}getDisableDesc(){return!this.selection?.hasSelection||!this.monAllowPoolDelete&&"File System deletion is disabled by the mon_allow_pool_delete configuration setting."}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(kn),e.Y36(yr.p4),e.Y36(Ee.F0),e.Y36(Qn.F),e.Y36(Fa.e),e.Y36(ca.Z),e.Y36(Gr.P),e.Y36(Ui.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-list"]],features:[e._Bn([{provide:Qn.F,useValue:new Qn.F("cephfs")}]),e.qOj],decls:4,vars:7,consts:[["columnMode","flex","identifier","id","forceIdentifier","true","selectionType","single",3,"data","columns","hasDetails","fetchData","setExpandedRow","updateSelection"],["cdTableDetail","",3,"selection"],[1,"table-actions","btn-toolbar"],["id","cephfs-actions",1,"btn-group",3,"permission","selection","tableActions"]],template:function(n,o){1&n&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(_){return o.loadFilesystems(_)})("setExpandedRow",function(_){return o.setExpandedRow(_)})("updateSelection",function(_){return o.updateSelection(_)}),e._UZ(1,"cd-cephfs-tabs",1),e.TgZ(2,"div",2),e._UZ(3,"cd-table-actions",3),e.qZA()()),2&n&&(e.Q6J("data",o.filesystems)("columns",o.columns)("hasDetails",!0),e.xp6(1),e.Q6J("selection",o.expandedRow),e.xp6(2),e.Q6J("permission",o.permissions.cephfs)("selection",o.selection)("tableActions",o.tableActions))},dependencies:[zo.a,$l.K,Nl]}),t})(),wa=(()=>{class t{static getType(n){const o=Xe().find(this.knownTypes,l=>l.name===n);if(void 0!==o)return o;throw new Error('Found unknown type "'+n+'" for config option.')}static getTypeValidators(n){const o=t.getType(n.type);if("bool"===o.name||"str"===o.name)return;const l={validators:[],patternHelpText:o.patternHelpText};return o.isNumberType?(n.max&&""!==n.max&&(l.max=n.max,l.validators.push(rn.kI.max(n.max))),n.min&&""!==n.min?(l.min=n.min,l.validators.push(rn.kI.min(n.min))):"defaultMin"in o&&(l.min=o.defaultMin,l.validators.push(rn.kI.min(o.defaultMin))),l.validators.push("float"===n.type?De.h.decimalNumber():De.h.number(o.allowsNegative))):"addr"===n.type?l.validators=[De.h.ip()]:"uuid"===n.type&&(l.validators=[De.h.uuid()]),l}static getTypeStep(n,o){if(["uint","int","size","secs"].includes(n))return 1;if("float"===n){if(null!==o&&-1!==o.toString().indexOf(".")){const v=o.toString().split(".");return Math.pow(10,-v[1].length)}return.1}}}return t.knownTypes=[{name:"uint",inputType:"number",humanReadable:"Unsigned integer value",defaultMin:0,patternHelpText:"The entered value needs to be an unsigned number.",isNumberType:!0,allowsNegative:!1},{name:"int",inputType:"number",humanReadable:"Integer value",patternHelpText:"The entered value needs to be a number.",isNumberType:!0,allowsNegative:!0},{name:"size",inputType:"number",humanReadable:"Unsigned integer value (>=16bit)",defaultMin:0,patternHelpText:"The entered value needs to be a unsigned number.",isNumberType:!0,allowsNegative:!1},{name:"secs",inputType:"number",humanReadable:"Number of seconds",defaultMin:1,patternHelpText:"The entered value needs to be a number >= 1.",isNumberType:!0,allowsNegative:!1},{name:"float",inputType:"number",humanReadable:"Double value",patternHelpText:"The entered value needs to be a number or decimal.",isNumberType:!0,allowsNegative:!0},{name:"str",inputType:"text",humanReadable:"Text",isNumberType:!1},{name:"addr",inputType:"text",humanReadable:"IPv4 or IPv6 address",patternHelpText:"The entered value needs to be a valid IP address.",isNumberType:!1},{name:"uuid",inputType:"text",humanReadable:"UUID",patternHelpText:"The entered value is not a valid UUID, e.g.: 67dcac9f-2c03-4d6c-b7bd-1210b3a259a8",isNumberType:!1},{name:"bool",inputType:"checkbox",humanReadable:"Boolean value",isNumberType:!1}],t})();class nc{constructor(){this.value=[]}}function yc(t,i){1&t&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,20),e.qZA(),e.TgZ(3,"div",11)(4,"textarea",21),e._uU(5," "),e.qZA()()())}function Gc(t,i){1&t&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,22),e.qZA(),e.TgZ(3,"div",11)(4,"textarea",23),e._uU(5," "),e.qZA()()())}function xc(t,i){1&t&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,24),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",25),e.qZA()())}function wf(t,i){1&t&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,26),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",27),e.qZA()())}function Ql(t,i){if(1&t&&(e.TgZ(0,"span",30)(1,"span",31),e._uU(2),e.qZA()()),2&t){const n=i.$implicit;e.xp6(2),e.Oqu(n)}}function ee(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",9),e.SDv(2,28),e.qZA(),e.TgZ(3,"div",11),e.YNc(4,Ql,3,1,"span",29),e.qZA()()),2&t){const n=e.oxw(2);e.xp6(4),e.Q6J("ngForOf",n.configForm.getValue("services"))}}function Ce(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",32),e._uU(2),e.qZA(),e.TgZ(3,"div",11)(4,"select",33)(5,"option",34),e.SDv(6,35),e.qZA(),e.TgZ(7,"option",34),e.SDv(8,36),e.qZA(),e.TgZ(9,"option",34),e.SDv(10,37),e.qZA()()()()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("for",n),e.xp6(1),e.hij("",n," "),e.xp6(2),e.Q6J("formControlName",n),e.xp6(1),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngValue",!0),e.xp6(2),e.Q6J("ngValue",!1)}}function vt(t,i){if(1&t&&(e.TgZ(0,"span",40),e._uU(1),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.hij(" ",n.patternHelpText," ")}}function $t(t,i){if(1&t&&(e.TgZ(0,"span",40),e._uU(1),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.hij(" ",n.patternHelpText," ")}}function yn(t,i){if(1&t&&(e.TgZ(0,"span",40),e.SDv(1,41),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.pQV(n.maxValue),e.QtT(1)}}function Ur(t,i){if(1&t&&(e.TgZ(0,"span",40),e.SDv(1,42),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.pQV(n.minValue),e.QtT(1)}}function Gi(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",32),e._uU(2),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"input",38),e.YNc(5,vt,2,1,"span",39),e.YNc(6,$t,2,1,"span",39),e.YNc(7,yn,2,1,"span",39),e.YNc(8,Ur,2,1,"span",39),e.qZA()()),2&t){const n=e.oxw().$implicit;e.oxw();const o=e.MAs(2),l=e.oxw();e.xp6(1),e.Q6J("for",n),e.xp6(1),e.hij("",n," "),e.xp6(2),e.Q6J("type",l.inputType)("id",n)("placeholder",l.humanReadableType)("formControlName",n)("step",l.getStep(l.type,l.configForm.getValue(n))),e.xp6(1),e.Q6J("ngIf",l.configForm.showError(n,o,"pattern")),e.xp6(1),e.Q6J("ngIf",l.configForm.showError(n,o,"invalidUuid")),e.xp6(1),e.Q6J("ngIf",l.configForm.showError(n,o,"max")),e.xp6(1),e.Q6J("ngIf",l.configForm.showError(n,o,"min"))}}function Ys(t,i){if(1&t&&(e.ynx(0),e.YNc(1,Ce,11,6,"div",13),e.YNc(2,Gi,9,11,"div",13),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf","bool"===n.type),e.xp6(1),e.Q6J("ngIf","bool"!==n.type)}}function Ka(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.ynx(5,6),e._uU(6,"Edit"),e.BQk(),e._uU(7),e.qZA(),e.TgZ(8,"div",7)(9,"div",8)(10,"label",9),e.SDv(11,10),e.qZA(),e.TgZ(12,"div",11),e._UZ(13,"input",12),e.qZA()(),e.YNc(14,yc,6,0,"div",13),e.YNc(15,Gc,6,0,"div",13),e.YNc(16,xc,5,0,"div",13),e.YNc(17,wf,5,0,"div",13),e.YNc(18,ee,5,1,"div",13),e.TgZ(19,"div",14)(20,"h3",15),e.SDv(21,16),e.qZA(),e.YNc(22,Ys,3,2,"ng-container",17),e.qZA()(),e.TgZ(23,"div",18)(24,"cd-form-button-panel",19),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.submit())}),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("formGroup",n.configForm),e.xp6(6),e.hij(" ",n.configForm.getValue("name")," "),e.xp6(7),e.Q6J("ngIf",n.configForm.getValue("desc")),e.xp6(1),e.Q6J("ngIf",n.configForm.getValue("long_desc")),e.xp6(1),e.Q6J("ngIf",""!==n.configForm.getValue("default")),e.xp6(1),e.Q6J("ngIf",""!==n.configForm.getValue("daemon_default")),e.xp6(1),e.Q6J("ngIf",n.configForm.getValue("services").length>0),e.xp6(4),e.Q6J("ngForOf",n.availSections),e.xp6(2),e.Q6J("form",n.configForm)("submitText",n.actionLabels.UPDATE)}}let ka=(()=>{class t extends $c.E{constructor(n,o,l,_,v){super(),this.actionLabels=n,this.route=o,this.router=l,this.configService=_,this.notificationService=v,this.availSections=["global","mon","mgr","osd","mds","client"],this.createForm()}createForm(){const n={name:new rn.p4({value:null}),desc:new rn.p4({value:null}),long_desc:new rn.p4({value:null}),values:new rn.nJ({}),default:new rn.p4({value:null}),daemon_default:new rn.p4({value:null}),services:new rn.p4([])};this.availSections.forEach(o=>{n.values.addControl(o,new rn.p4(null))}),this.configForm=new fu.d(n)}ngOnInit(){this.route.params.subscribe(n=>{this.configService.get(n.name).subscribe(l=>{this.setResponse(l),this.loadingReady()})})}getValidators(n){const o=wa.getTypeValidators(n);if(o)return this.patternHelpText=o.patternHelpText,"max"in o&&""!==o.max&&(this.maxValue=o.max),"min"in o&&""!==o.min&&(this.minValue=o.min),o.validators}getStep(n,o){return wa.getTypeStep(n,o)}setResponse(n){this.response=n;const o=this.getValidators(n);this.configForm.get("name").setValue(n.name),this.configForm.get("desc").setValue(n.desc),this.configForm.get("long_desc").setValue(n.long_desc),this.configForm.get("default").setValue(n.default),this.configForm.get("daemon_default").setValue(n.daemon_default),this.configForm.get("services").setValue(n.services),this.response.value&&this.response.value.forEach(_=>{let v=null;v="true"===_.value||"false"!==_.value&&_.value,this.configForm.get("values").get(_.section).setValue(v)}),this.availSections.forEach(_=>{this.configForm.get("values").get(_).setValidators(o)});const l=wa.getType(n.type);this.type=l.name,this.inputType=l.inputType,this.humanReadableType=l.humanReadable}createRequest(){const n=[];if(this.availSections.forEach(o=>{const l=this.configForm.getValue(o);null!==l&&""!==l&&n.push({section:o,value:l})}),!Xe().isEqual(this.response.value,n)){const o=new nc;return o.name=this.configForm.getValue("name"),o.value=n,o}return null}submit(){const n=this.createRequest();n&&this.configService.create(n).subscribe(()=>{this.notificationService.show(Ho.k.success,"Updated config option " + n.name + ""),this.router.navigate(["/configuration"])},()=>{this.configForm.setErrors({cdSubmitButton:!0})}),this.router.navigate(["/configuration"])}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yr.p4),e.Y36(Ee.gz),e.Y36(Ee.F0),e.Y36(Fa.e),e.Y36(Ui.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-configuration-form"]],features:[e.qOj],decls:1,vars:1,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue;return i="Name",n="Values",o="Description",l="Long description",_="Default",v="Daemon default",O="Services",P="-- Default --",G="true",K="false",oe="The entered value is too high! It must not be greater than " + "\ufffd0\ufffd" + ".",ue="The entered value is too low! It must not be lower than " + "\ufffd0\ufffd" + ".",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","configForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],["i18",""],[1,"card-body"],[1,"form-group","row"],[1,"cd-col-form-label"],i,[1,"cd-col-form-input"],["type","text","id","name","formControlName","name","readonly","",1,"form-control"],["class","form-group row",4,"ngIf"],["formGroupName","values"],[1,"cd-header"],n,[4,"ngFor","ngForOf"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],o,["id","desc","formControlName","desc","readonly","",1,"form-control","resize-vertical"],l,["id","long_desc","formControlName","long_desc","readonly","",1,"form-control","resize-vertical"],_,["type","text","id","default","formControlName","default","readonly","",1,"form-control"],v,["type","text","id","daemon_default","formControlName","daemon_default","readonly","",1,"form-control"],O,["class","form-component-badge",4,"ngFor","ngForOf"],[1,"form-component-badge"],[1,"badge","badge-dark"],[1,"cd-col-form-label",3,"for"],["id","pool","name","pool",1,"form-select",3,"formControlName"],[3,"ngValue"],P,G,K,[1,"form-control",3,"type","id","placeholder","formControlName","step"],["class","invalid-feedback",4,"ngIf"],[1,"invalid-feedback"],oe,ue]},template:function(n,o){1&n&&e.YNc(0,Ka,25,10,"div",0),2&n&&e.Q6J("cdFormLoading",o.loading)},dependencies:[f.sg,f.O5,rl.p,Pu.y,st.o,za.b,Va.P,Os.V,rn._Y,rn.YN,rn.Kr,rn.Fj,rn.EJ,rn.JJ,rn.JL,rn.sg,rn.u,rn.x0],styles:[".form-component-badge[_ngcontent-%COMP%]{display:block;height:34px}.form-component-badge[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-top:7px}.resize-vertical[_ngcontent-%COMP%]{resize:vertical}"]}),t})();var nu=s(68962);function rc(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e._UZ(2,"br"),e.qZA()),2&t){const n=i.$implicit,o=i.last;e.xp6(1),e.lnq(" ",n.section,": ",n.value,"",o?"":",","")}}function _c(t,i){if(1&t&&(e.TgZ(0,"span")(1,"span",23)(2,"span",24),e._uU(3),e.ALo(4,"uppercase"),e.qZA()()()),2&t){const n=i.$implicit,o=e.oxw(2);e.xp6(1),e.s9C("title",o.flags[n]),e.xp6(2),e.Oqu(e.lcZ(4,2,n))}}function T_(t,i){if(1&t&&(e.TgZ(0,"span")(1,"span",24),e._uU(2),e.qZA()()),2&t){const n=i.$implicit;e.xp6(2),e.Oqu(n)}}function Bd(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"table",1)(2,"tbody")(3,"tr")(4,"td",2),e.SDv(5,3),e.qZA(),e.TgZ(6,"td",4),e._uU(7),e.qZA()(),e.TgZ(8,"tr")(9,"td",5),e.SDv(10,6),e.qZA(),e.TgZ(11,"td"),e._uU(12),e.qZA()(),e.TgZ(13,"tr")(14,"td",5),e.SDv(15,7),e.qZA(),e.TgZ(16,"td"),e._uU(17),e.qZA()(),e.TgZ(18,"tr")(19,"td",5),e.SDv(20,8),e.qZA(),e.TgZ(21,"td"),e.YNc(22,rc,3,3,"span",9),e.qZA()(),e.TgZ(23,"tr")(24,"td",5),e.SDv(25,10),e.qZA(),e.TgZ(26,"td"),e._uU(27),e.qZA()(),e.TgZ(28,"tr")(29,"td",5),e.SDv(30,11),e.qZA(),e.TgZ(31,"td"),e._uU(32),e.qZA()(),e.TgZ(33,"tr")(34,"td",5),e.SDv(35,12),e.qZA(),e.TgZ(36,"td"),e._uU(37),e.qZA()(),e.TgZ(38,"tr")(39,"td",5),e.SDv(40,13),e.qZA(),e.TgZ(41,"td"),e._uU(42),e.qZA()(),e.TgZ(43,"tr")(44,"td",5),e.SDv(45,14),e.qZA(),e.TgZ(46,"td"),e._uU(47),e.qZA()(),e.TgZ(48,"tr")(49,"td",5),e.SDv(50,15),e.qZA(),e.TgZ(51,"td"),e.YNc(52,_c,5,4,"span",9),e.qZA()(),e.TgZ(53,"tr")(54,"td",5),e.SDv(55,16),e.qZA(),e.TgZ(56,"td"),e.YNc(57,T_,3,1,"span",9),e.qZA()(),e.TgZ(58,"tr")(59,"td",5),e.SDv(60,17),e.qZA(),e.TgZ(61,"td"),e._uU(62),e.qZA()(),e.TgZ(63,"tr")(64,"td",5),e.SDv(65,18),e.qZA(),e.TgZ(66,"td"),e._uU(67),e.qZA()(),e.TgZ(68,"tr")(69,"td",5),e.SDv(70,19),e.qZA(),e.TgZ(71,"td"),e._uU(72),e.ALo(73,"booleanText"),e.qZA()(),e.TgZ(74,"tr")(75,"td",5),e.SDv(76,20),e.qZA(),e.TgZ(77,"td"),e._uU(78),e.qZA()(),e.TgZ(79,"tr")(80,"td",5),e.SDv(81,21),e.qZA(),e.TgZ(82,"td"),e._uU(83),e.qZA()(),e.TgZ(84,"tr")(85,"td",5),e.SDv(86,22),e.qZA(),e.TgZ(87,"td"),e._uU(88),e.qZA()()()(),e.BQk()),2&t){const n=e.oxw();e.xp6(7),e.Oqu(n.selection.name),e.xp6(5),e.Oqu(n.selection.desc),e.xp6(5),e.Oqu(n.selection.long_desc),e.xp6(5),e.Q6J("ngForOf",n.selection.value),e.xp6(5),e.Oqu(n.selection.default),e.xp6(5),e.Oqu(n.selection.daemon_default),e.xp6(5),e.Oqu(n.selection.type),e.xp6(5),e.Oqu(n.selection.min),e.xp6(5),e.Oqu(n.selection.max),e.xp6(5),e.Q6J("ngForOf",n.selection.flags),e.xp6(5),e.Q6J("ngForOf",n.selection.services),e.xp6(5),e.Oqu(n.selection.source),e.xp6(5),e.Oqu(n.selection.level),e.xp6(5),e.Oqu(e.lcZ(73,17,n.selection.can_update_at_runtime)),e.xp6(6),e.Oqu(n.selection.tags),e.xp6(5),e.Oqu(n.selection.enum_values),e.xp6(5),e.Oqu(n.selection.see_also)}}let Sh=(()=>{class t{constructor(){this.flags={runtime:"The value can be updated at runtime.",no_mon_update:"Daemons/clients do not pull this value from the\n monitor config database. We disallow setting this option via 'ceph config\n set ...'. This option should be configured via ceph.conf or via the\n command line.",startup:"Option takes effect only during daemon startup.",cluster_create:"Option only affects cluster creation.",create:"Option only affects daemon creation."}}ngOnChanges(){this.selection&&(this.selection.services=Xe().split(this.selection.services,","))}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-configuration-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue,pe,ye,Ue,xe,ke;return i="Name",n="Description",o="Long description",l="Current values",_="Default",v="Daemon default",O="Type",P="Min",G="Max",K="Flags",oe="Services",ue="Source",pe="Level",ye="Can be updated at runtime (editable)",Ue="Tags",xe="Enum values",ke="See also",[[4,"ngIf"],[1,"table","table-striped","table-bordered"],[1,"bold","w-25"],i,[1,"w-75"],[1,"bold"],n,o,l,[4,"ngFor","ngForOf"],_,v,O,P,G,K,oe,ue,pe,ye,Ue,xe,ke,[3,"title"],[1,"badge","badge-dark","me-2"]]},template:function(n,o){1&n&&e.YNc(0,Bd,89,19,"ng-container",0),2&n&&e.Q6J("ngIf",o.selection)},dependencies:[f.sg,f.O5,f.gd,nu.T]}),t})();const bh=["confValTpl"],Gf=["confFlagTpl"];function Hp(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e._UZ(2,"br"),e.qZA()),2&t){const n=i.$implicit,o=i.last;e.xp6(1),e.lnq(" ",n.section,": ",n.value,"",o?"":",","")}}function pf(t,i){if(1&t&&(e.TgZ(0,"span"),e.YNc(1,Hp,3,3,"span",5),e.qZA()),2&t){const n=e.oxw().value;e.xp6(1),e.Q6J("ngForOf",n)}}function C_(t,i){1&t&&e.YNc(0,pf,2,1,"span",4),2&t&&e.Q6J("ngIf",i.value)}let op=(()=>{class t extends Hr.o{constructor(n,o,l){super(),this.authStorageService=n,this.configurationService=o,this.actionLabels=l,this.data=[],this.icons=Rr.P,this.selection=new Io.r,this.filters=[{name:"Level",prop:"level",filterOptions:["basic","advanced","dev"],filterInitValue:"basic",filterPredicate:(O,P)=>{let G;var oe;return(oe=G||(G={}))[oe.basic=0]="basic",oe[oe.advanced=1]="advanced",oe[oe.dev=2]="dev",G[O.level]<=G[P]}},{name:"Service",prop:"services",filterOptions:["mon","mgr","osd","mds","common","mds_client","rgw"],filterPredicate:(O,P)=>O.services.includes(P)},{name:"Source",prop:"source",filterOptions:["mon"],filterPredicate:(O,P)=>!!O.hasOwnProperty("source")&&O.source.includes(P)},{name:"Modified",prop:"modified",filterOptions:["yes","no"],filterPredicate:(O,P)=>!!("yes"===P&&O.hasOwnProperty("value")||"no"===P&&!O.hasOwnProperty("value"))}],this.permission=this.authStorageService.getPermissions().configOpt;const _=()=>this.selection.first()&&`${encodeURIComponent(this.selection.first().name)}`;this.tableActions=[{permission:"update",icon:Rr.P.edit,routerLink:()=>`/configuration/edit/${_()}`,name:this.actionLabels.EDIT,disable:()=>!this.isEditable(this.selection)}]}ngOnInit(){this.columns=[{canAutoResize:!0,prop:"name",name:"Name"},{prop:"desc",name:"Description",cellClass:"wrap"},{prop:"value",name:"Current value",cellClass:"wrap",cellTemplate:this.confValTpl},{prop:"default",name:"Default",cellClass:"wrap"},{prop:"can_update_at_runtime",name:"Editable",cellTransformation:Xr.e.checkIcon,flexGrow:.4,cellClass:"text-center"}]}updateSelection(n){this.selection=n}getConfigurationList(n){this.configurationService.getConfigData().subscribe(o=>{this.data=o},()=>{n.error()})}isEditable(n){return 1===n.selected.length&&n.selected[0].can_update_at_runtime}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(Fa.e),e.Y36(yr.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-configuration"]],viewQuery:function(n,o){if(1&n&&(e.Gf(bh,7),e.Gf(Gf,5)),2&n){let l;e.iGM(l=e.CRH())&&(o.confValTpl=l.first),e.iGM(l=e.CRH())&&(o.confFlagTpl=l.first)}},features:[e.qOj],decls:5,vars:8,consts:[["selectionType","single",3,"data","columns","extraFilterableColumns","hasDetails","fetchData","setExpandedRow","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],["confValTpl",""],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(n,o){1&n&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(_){return o.getConfigurationList(_)})("setExpandedRow",function(_){return o.setExpandedRow(_)})("updateSelection",function(_){return o.updateSelection(_)}),e._UZ(1,"cd-table-actions",1)(2,"cd-configuration-details",2),e.qZA(),e.YNc(3,C_,1,1,"ng-template",null,3,e.W1O)),2&n&&(e.Q6J("data",o.data)("columns",o.columns)("extraFilterableColumns",o.filters)("hasDetails",!0),e.xp6(1),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions),e.xp6(1),e.Q6J("selection",o.expandedRow))},dependencies:[f.sg,f.O5,zo.a,$l.K,Sh],styles:[".filter[_ngcontent-%COMP%]{padding-right:8px}.fa-stack[_ngcontent-%COMP%]{font-size:.79rem}.fa-stack[_ngcontent-%COMP%] .fa-stack-1x[_ngcontent-%COMP%]{margin-left:8px;margin-top:5px} cd-configuration datatable-body-cell.wrap{word-break:break-all}"]}),t})();var Za=s(35758),_f=s(68939),Wa=s(22120),Ec=s(88002),Up=s(41702);let Zc=(()=>{class t{constructor(n,o){this.http=n,this.deviceService=o,this.path="api/osd",this.uiPath="ui-api/osd",this.osdDevices=[],this.osdRecvSpeedModalPriorities={KNOWN_PRIORITIES:[{name:null,text:"-- Select the priority --",values:{osd_max_backfills:null,osd_recovery_max_active:null,osd_recovery_max_single_start:null,osd_recovery_sleep:null}},{name:"low",text:"Low",values:{osd_max_backfills:1,osd_recovery_max_active:1,osd_recovery_max_single_start:1,osd_recovery_sleep:.5}},{name:"default",text:"Default",values:{osd_max_backfills:1,osd_recovery_max_active:3,osd_recovery_max_single_start:1,osd_recovery_sleep:0}},{name:"high",text:"High",values:{osd_max_backfills:4,osd_recovery_max_active:4,osd_recovery_max_single_start:4,osd_recovery_sleep:0}}]}}create(n,o,l="drive_groups"){return this.http.post(this.path,{method:l,data:n,tracking_id:o},{observe:"response"})}getList(){return this.http.get(`${this.path}`)}getOsdSettings(){return this.http.get(`${this.path}/settings`,{headers:{Accept:"application/vnd.ceph.api.v0.1+json"}})}getDetails(n){return this.http.get(`${this.path}/${n}`)}getSmartData(n){return this.http.get(`${this.path}/${n}/smart`)}scrub(n,o){return this.http.post(`${this.path}/${n}/scrub?deep=${o}`,null)}getDeploymentOptions(){return this.http.get(`${this.uiPath}/deployment_options`)}getFlags(){return this.http.get(`${this.path}/flags`)}updateFlags(n){return this.http.put(`${this.path}/flags`,{flags:n})}updateIndividualFlags(n,o){return this.http.put(`${this.path}/flags/individual`,{flags:n,ids:o})}markOut(n){return this.http.put(`${this.path}/${n}/mark`,{action:"out"})}markIn(n){return this.http.put(`${this.path}/${n}/mark`,{action:"in"})}markDown(n){return this.http.put(`${this.path}/${n}/mark`,{action:"down"})}reweight(n,o){return this.http.post(`${this.path}/${n}/reweight`,{weight:o})}update(n,o){return this.http.put(`${this.path}/${n}`,{device_class:o})}markLost(n){return this.http.put(`${this.path}/${n}/mark`,{action:"lost"})}purge(n){return this.http.post(`${this.path}/${n}/purge`,null)}destroy(n){return this.http.post(`${this.path}/${n}/destroy`,null)}delete(n,o,l){return this.http.delete(`${this.path}/${n}`,{observe:"response",params:{preserve_id:o?"true":"false",force:l?"true":"false"}})}safeToDestroy(n){return this.http.get(`${this.path}/safe_to_destroy?ids=${n}`)}safeToDelete(n){return this.http.get(`${this.path}/safe_to_delete?svc_ids=${n}`)}getDevices(n){return this.http.get(`${this.path}/${n}/devices`).pipe((0,Ec.U)(o=>o.map(l=>this.deviceService.prepareDevice(l))))}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN),e.LFG(Up.U))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Sc=s(48168),Wc=s(26215);const o_=[{stepIndex:1,isComplete:!1}];let Cp=(()=>{class t{constructor(){this.currentStep$=new Wc.X(null),this.steps$=new Wc.X(o_),this.currentStep$.next(this.steps$.value[0])}setTotalSteps(n){const o=[];for(let l=1;l<=n;l++)o.push({stepIndex:l,isComplete:!1});this.steps$=new Wc.X(o)}setCurrentStep(n){this.currentStep$.next(n)}getCurrentStep(){return this.currentStep$.asObservable()}getSteps(){return this.steps$.asObservable()}moveToNextStep(){this.currentStep$.next(this.steps$.value[this.currentStep$.value.stepIndex])}moveToPreviousStep(){this.currentStep$.next(this.steps$.value[this.currentStep$.value.stepIndex-1-1])}isLastStep(){return this.currentStep$.value.stepIndex===this.steps$.value.length}isFirstStep(){return this.currentStep$.value?.stepIndex-1==0}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Pf{constructor(){this.reset(),this.formatterService=new qc.H,this.deviceSelectionAttrs={"sys_api.vendor":{name:"vendor"},"sys_api.model":{name:"model"},device_id:{name:"device_id"},human_readable_type:{name:"rotational",formatter:i=>"hdd"===i.toLowerCase()},"sys_api.size":{name:"size",formatter:i=>this.formatterService.format_number(i,1024,["B","KB","MB","GB","TB","PB"]).replace(" ","")}}}reset(){this.spec={service_type:"osd",service_id:`dashboard-${Xe().now()}`}}setName(i){this.spec.service_id=i}setHostPattern(i){this.spec.host_pattern=i}setDeviceSelection(i,n){const o=`${i}_devices`;this.spec[o]={},n.forEach(l=>{const _=this.deviceSelectionAttrs[l.prop];_&&(this.spec[o][_.name]=_.formatter?_.formatter(l.value.raw):l.value.raw)})}clearDeviceSelection(i){delete this.spec[`${i}_devices`]}setSlots(i,n){const o=`${i}_slots`;0===n?delete this.spec[o]:this.spec[o]=n}setFeature(i,n){n?this.spec[i]=!0:delete this.spec[i]}}let Bp=(()=>{class t{constructor(n){this.http=n,this.baseURL="api/cluster"}getStatus(){return this.http.get(`${this.baseURL}`,{headers:{Accept:"application/vnd.ceph.api.v0.1+json"}})}updateStatus(n){return this.http.put(`${this.baseURL}`,{status:n},{headers:{Accept:"application/vnd.ceph.api.v0.1+json"}})}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var W_=s(13472);const Sd=function(t){return{active:t}};function Yf(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"ul",4)(1,"li",5)(2,"a",6),e.NdJ("click",function(){const _=e.CHM(n).$implicit,v=e.oxw();return e.KtG(v.onStepClick(_))}),e.TgZ(3,"span",7),e.SDv(4,8),e.qZA(),e.TgZ(5,"span"),e.SDv(6,9),e.qZA()()()()}if(2&t){const n=i.$implicit,o=i.index,l=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(4,Sd,l.currentStep.stepIndex===n.stepIndex)),e.xp6(1),e.Q6J("ngClass",e.VKq(6,Sd,l.currentStep.stepIndex===n.stepIndex)),e.xp6(1),e.pQV(n.stepIndex),e.QtT(4),e.xp6(2),e.pQV(l.stepsTitle[o]),e.QtT(6)}}let M_=(()=>{class t{constructor(n){this.stepsService=n}ngOnInit(){this.stepsService.setTotalSteps(this.stepsTitle.length),this.steps=this.stepsService.getSteps(),this.currentStepSub=this.stepsService.getCurrentStep().subscribe(n=>{this.currentStep=n})}onStepClick(n){this.stepsService.setCurrentStep(n)}ngOnDestroy(){this.currentStepSub.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Cp))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-wizard"]],inputs:{stepsTitle:"stepsTitle"},decls:5,vars:3,consts:function(){let i,n;return i="" + "\ufffd0\ufffd" + "",n="" + "\ufffd0\ufffd" + "",[[1,"card-body"],[1,"row","m-7"],[1,"col"],["class","nav nav-pills flex-column",4,"ngFor","ngForOf"],[1,"nav","nav-pills","flex-column"],[1,"nav-item"],[1,"nav-link",3,"ngClass","click"],[1,"circle-step",3,"ngClass"],i,n]},template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"nav",2),e.YNc(3,Yf,7,8,"ul",3),e.ALo(4,"async"),e.qZA()()()),2&n&&(e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,1,o.steps)))},dependencies:[f.mk,f.sg,f.Ov],styles:["cd-wizard{width:15%}.card-body[_ngcontent-%COMP%]{padding-left:0}span.circle-step[_ngcontent-%COMP%]{background:#adb5bd;border-radius:.8em;color:#fff;display:inline-block;font-weight:700;line-height:1.6em;margin-right:5px;text-align:center;width:1.6em}span.circle-step.active[_ngcontent-%COMP%]{background-color:#25828e}.nav-pills[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{background-color:#fff;color:#343a40}.nav-pills[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%]{color:#25828e}"]}),t})();var bd=s(13464),dd=s(19773);let td=(()=>{class t{constructor(n){this.http=n,this.url="ui-api/orchestrator",this.disableMessages={noOrchestrator:"The feature is disabled because Orchestrator is not available.",missingFeature:"The Orchestrator backend doesn't support this feature."}}status(){return this.http.get(`${this.url}/status`)}hasFeature(n,o){return Xe().every(o,l=>Xe().get(n.features,`${l}.available`))}getTableActionDisableDesc(n,o){return!!n&&(n.available?!this.hasFeature(n,o)&&this.disableMessages.missingFeature:this.disableMessages.noOrchestrator)}getName(){return this.http.get(`${this.url}/get_name`)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Rd=s(7022),Jc=(()=>{return(t=Jc||(Jc={})).HOST_LIST="get_hosts",t.HOST_ADD="add_host",t.HOST_REMOVE="remove_host",t.HOST_LABEL_ADD="add_host_label",t.HOST_LABEL_REMOVE="remove_host_label",t.HOST_MAINTENANCE_ENTER="enter_host_maintenance",t.HOST_MAINTENANCE_EXIT="exit_host_maintenance",t.HOST_FACTS="get_facts",t.HOST_DRAIN="drain_host",t.SERVICE_LIST="describe_service",t.SERVICE_CREATE="apply",t.SERVICE_EDIT="apply",t.SERVICE_DELETE="remove_service",t.SERVICE_RELOAD="service_action",t.DAEMON_LIST="list_daemons",t.OSD_GET_REMOVE_STATUS="remove_osds_status",t.OSD_CREATE="apply_drivegroups",t.OSD_DELETE="remove_osds",t.DEVICE_LIST="get_inventory",t.DEVICE_BLINK_LIGHT="blink_device_light",Jc;var t})(),sp=s(41039),s_=s(72427),Gd=s(33512),xd=s.n(Gd),bc=s(60192);function J_(t,i){1&t&&(e.TgZ(0,"span",24),e.SDv(1,25),e.qZA())}function Gp(t,i){1&t&&(e.TgZ(0,"span",24),e.SDv(1,26),e.qZA())}function a_(t,i){1&t&&(e.TgZ(0,"span",24),e.SDv(1,30),e.qZA())}function Q_(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",27),e.SDv(2,28),e.qZA(),e.TgZ(3,"div",15),e._UZ(4,"input",29),e.YNc(5,a_,2,0,"span",17),e.qZA()()),2&t){e.oxw();const n=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",o.hostForm.showError("addr",n,"pattern"))}}function K_(t,i){1&t&&(e.TgZ(0,"div",8)(1,"div",31)(2,"div",32),e._UZ(3,"input",33),e.TgZ(4,"label",34),e.SDv(5,35),e.qZA()()()())}function X_(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div")(1,"form",5,6)(3,"div",7)(4,"div",8)(5,"label",9),e.ynx(6),e.SDv(7,10),e.BQk(),e.TgZ(8,"cd-helper")(9,"p"),e.SDv(10,11),e.qZA(),e.TgZ(11,"ul")(12,"li"),e.tHW(13,12),e._UZ(14,"samp"),e.N_p(),e.qZA(),e.TgZ(15,"li"),e.tHW(16,13),e._UZ(17,"samp"),e.N_p(),e.qZA(),e.TgZ(18,"li"),e.tHW(19,14),e._UZ(20,"samp"),e.N_p(),e.qZA()()()(),e.TgZ(21,"div",15)(22,"input",16),e.NdJ("keyup",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.checkHostNameValue())}),e.qZA(),e.YNc(23,J_,2,0,"span",17),e.YNc(24,Gp,2,0,"span",17),e.qZA()(),e.YNc(25,Q_,6,1,"div",18),e.TgZ(26,"div",8)(27,"label",19),e.SDv(28,20),e.qZA(),e.TgZ(29,"div",15),e._UZ(30,"cd-select-badges",21),e.qZA()(),e.YNc(31,K_,6,0,"div",18),e.qZA(),e.TgZ(32,"div",22)(33,"cd-form-button-panel",23),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.submit())}),e.ALo(34,"titlecase"),e.ALo(35,"upperFirst"),e.qZA()()()()}if(2&t){const n=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("formGroup",o.hostForm),e.xp6(22),e.Q6J("ngIf",o.hostForm.showError("hostname",n,"required")),e.xp6(1),e.Q6J("ngIf",o.hostForm.showError("hostname",n,"uniqueName")),e.xp6(1),e.Q6J("ngIf",!o.hostPattern),e.xp6(5),e.Q6J("data",o.hostForm.controls.labels.value)("options",o.labelsOption)("customBadges",!0)("messages",o.messages),e.xp6(1),e.Q6J("ngIf",!o.hideMaintenance),e.xp6(2),e.Q6J("form",o.hostForm)("submitText",e.lcZ(34,11,o.action)+" "+e.lcZ(35,13,o.resource))}}let q_=(()=>{class t extends $c.E{constructor(n,o,l,_,v){super(),this.router=n,this.actionLabels=o,this.hostService=l,this.taskWrapper=_,this.activeModal=v,this.hostnameArray=[],this.hostPattern=!1,this.labelsOption=[],this.messages=new Rd.a({empty:"There are no labels.",filter:"Filter or add labels",add:"Add label"}),this.resource="host",this.action=this.actionLabels.ADD}ngOnInit(){this.router.url.includes("hosts")&&(this.pageURL="hosts"),this.createForm();const n=new Sc.E(()=>{});this.hostService.list(n.toParams(),"false").subscribe(o=>{this.hostnames=o.map(l=>l.hostname),this.loadingReady()}),this.hostService.getLabels().subscribe(o=>{const l=new Set(o.concat(this.hostService.predefinedLabels));this.labelsOption=Array.from(l).map(_=>({enabled:!0,name:_,selected:!1,description:null}))})}checkHostNameValue(){this.hostPattern=!!this.hostForm.get("hostname").value.match(/[()\[\]{},]/g)}createForm(){this.hostForm=new fu.d({hostname:new rn.p4("",{validators:[rn.kI.required,De.h.custom("uniqueName",n=>this.hostnames&&-1!==this.hostnames.indexOf(n))]}),addr:new rn.p4("",{validators:[De.h.ip()]}),labels:new rn.p4([]),maintenance:new rn.p4(!1)})}isCommaSeparatedPattern(n){return n.includes(",")}isRangeTypePattern(n){return n.includes("[")&&n.includes("]")&&!n.match(/(?![^(]*\)),/g)}replaceBraces(n){return n.replace(/(\d)\s*-\s*(\d)/g,"$1..$2").replace(/\(/g,"{").replace(/\)/g,"}").replace(/\[/g,"{").replace(/]/g,"}")}checkHostNamePattern(n){if(this.isRangeTypePattern(n)){const o=this.replaceBraces(n);this.hostnameArray=xd()(o)}else if(this.isCommaSeparatedPattern(n)){let o=[];o=n.split(","),o.forEach(l=>{if(this.isRangeTypePattern(l)){const _=this.replaceBraces(l);this.hostnameArray=this.hostnameArray.concat(xd()(_))}else this.hostnameArray.push(l)})}else this.hostnameArray.push(n)}submit(){const n=this.hostForm.get("hostname").value;this.checkHostNamePattern(n),this.addr=this.hostForm.get("addr").value,this.status=this.hostForm.get("maintenance").value?"maintenance":"",this.allLabels=this.hostForm.get("labels").value,"hosts"!==this.pageURL&&!this.allLabels.includes("_no_schedule")&&this.allLabels.push("_no_schedule"),this.hostnameArray.forEach(o=>{this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("host/"+yr.MQ.ADD,{hostname:o}),call:this.hostService.create(o,this.addr,this.allLabels,this.status)}).subscribe({error:()=>{this.hostForm.setErrors({cdSubmitButton:!0})},complete:()=>{"hosts"===this.pageURL?this.router.navigate([this.pageURL,{outlets:{modal:null}}]):this.activeModal.close()}})})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ee.F0),e.Y36(yr.p4),e.Y36(Wa.x),e.Y36(Gr.P),e.Y36(yi.Kz))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-host-form"]],features:[e.qOj],decls:7,vars:9,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Hostname",o="To add multiple hosts at once, you can enter:",l="a comma-separated list of hostnames " + "\ufffd#14\ufffd" + "(e.g.: example-01,example-02,example-03)" + "\ufffd/#14\ufffd" + ",",_="a range expression " + "\ufffd#17\ufffd" + "(e.g.: example-[01-03].ceph)" + "\ufffd/#17\ufffd" + ",",v="a comma separated range expression " + "\ufffd#20\ufffd" + "(e.g.: example-[01-05].lab.com,example2-[1-4].lab.com,example3-[001-006].lab.com)" + "\ufffd/#20\ufffd" + "",O="Labels",P="This field is required.",G="The chosen hostname is already in use.",K="Network address",oe="The value is not a valid IP address.",ue="Maintenance Mode",[[3,"pageURL","modalRef"],[1,"modal-title"],i,[1,"modal-content"],[4,"cdFormLoading"],["name","hostForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","hostname",1,"cd-col-form-label","required"],n,o,l,_,v,[1,"cd-col-form-input"],["type","text","placeholder","mon-123","id","hostname","name","hostname","formControlName","hostname","autofocus","",1,"form-control",3,"keyup"],["class","invalid-feedback",4,"ngIf"],["class","form-group row",4,"ngIf"],["for","labels",1,"cd-col-form-label"],O,["id","labels",3,"data","options","customBadges","messages"],[1,"modal-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],P,G,["for","addr",1,"cd-col-form-label"],K,["type","text","placeholder","192.168.0.1","id","addr","name","addr","formControlName","addr",1,"form-control"],oe,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","maintenance","type","checkbox","formControlName","maintenance",1,"custom-control-input"],["for","maintenance",1,"custom-control-label"],ue]},template:function(n,o){1&n&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.qZA(),e.ynx(5,3),e.YNc(6,X_,36,15,"div",4),e.BQk(),e.qZA()),2&n&&(e.Q6J("pageURL",o.pageURL)("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,5,o.action))(e.lcZ(4,7,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("cdFormLoading",o.loading))},dependencies:[f.O5,La.S,bc.m,al.z,rl.p,Tu.U,Pu.y,st.o,za.b,Va.P,Os.V,rn._Y,rn.Fj,rn.Wl,rn.JJ,rn.JL,rn.sg,rn.u,f.rS,Cu.m]}),t})();var Th=s(55657);const vm=["deviceLocation"],O_=["daemonName"],Ch=["lifeExpectancy"],Yd=["lifeExpectancyTimestamp"];function Nf(t,i){if(1&t&&e._UZ(0,"cd-table",8),2&t){const n=e.oxw();e.Q6J("data",n.devices)("columns",n.columns)}}function Mh(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",9),e.SDv(1,10),e.qZA())}function Jh(t,i){if(1&t&&e._UZ(0,"cd-label",13),2&t){const n=e.oxw().$implicit;e.Q6J("value",n.dev)}}function lp(t,i){if(1&t&&(e.ynx(0),e.YNc(1,Jh,1,1,"cd-label",12),e.BQk()),2&t){const n=i.$implicit,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.host===o.hostname)}}function Mp(t,i){1&t&&e.YNc(0,lp,2,1,"ng-container",11),2&t&&e.Q6J("ngForOf",i.value)}const hf=function(t){return{daemons:t}};function l_(t,i){if(1&t&&e.GkF(0,14),2&t){const n=i.value,o=e.oxw(),l=e.MAs(7),_=e.MAs(9);e.Q6J("ngTemplateOutlet",null!==o.osdId?l:_)("ngTemplateOutletContext",e.VKq(2,hf,n))}}function u_(t,i){if(1&t&&e._UZ(0,"cd-label",13),2&t){const n=e.oxw().$implicit;e.Q6J("value",n)}}function mf(t,i){if(1&t&&(e.ynx(0),e.YNc(1,u_,1,1,"cd-label",12),e.BQk()),2&t){const n=i.$implicit,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.includes(o.osdId))}}function jf(t,i){1&t&&e.YNc(0,mf,2,1,"ng-container",11),2&t&&e.Q6J("ngForOf",i.daemons)}function jd(t,i){if(1&t&&(e.ynx(0),e._UZ(1,"cd-label",15),e.BQk()),2&t){const n=i.$implicit;e.xp6(1),e.Q6J("value",n)}}function Nm(t,i){1&t&&e.YNc(0,jd,2,1,"ng-container",11),2&t&&e.Q6J("ngForOf",i.daemons)}function Qh(t,i){1&t&&(e.TgZ(0,"span"),e.SDv(1,17),e.ALo(2,"notAvailable"),e.qZA()),2&t&&(e.xp6(2),e.pQV(e.lcZ(2,1,"")),e.QtT(1))}function nf(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"i18nPlural"),e.qZA()),2&t){const n=e.oxw().value,o=e.oxw();e.xp6(1),e.hij("> ",e.xi3(2,1,n.min,o.translationMapping),"")}}function Op(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"i18nPlural"),e.qZA()),2&t){const n=e.oxw().value,o=e.oxw();e.xp6(1),e.hij("< ",e.xi3(2,1,n.max,o.translationMapping),"")}}function Oh(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"i18nPlural"),e.qZA()),2&t){const n=e.oxw().value,o=e.oxw();e.xp6(1),e.AsE("",n.min," to ",e.xi3(2,2,n.max,o.translationMapping),"")}}function Ap(t,i){if(1&t&&(e.YNc(0,Qh,3,3,"span",16),e.YNc(1,nf,3,4,"span",16),e.YNc(2,Op,3,4,"span",16),e.YNc(3,Oh,3,5,"span",16)),2&t){const n=i.value;e.Q6J("ngIf",!n.life_expectancy_enabled),e.xp6(1),e.Q6J("ngIf",n.min&&!n.max),e.xp6(1),e.Q6J("ngIf",n.max&&!n.min),e.xp6(1),e.Q6J("ngIf",n.max&&n.min)}}function A_(t,i){1&t&&e._uU(0),2&t&&e.hij(" ",i.value,"\n")}let Dp=(()=>{class t{constructor(n,o,l){this.hostService=n,this.datePipe=o,this.osdService=l,this.hostname="",this.osdId=null,this.osdList=!1,this.devices=null,this.columns=[],this.translationMapping={"=1":"# week",other:"# weeks"}}ngOnInit(){this.columns=[{prop:"devid",name:"Device ID",minWidth:200},{prop:"state",name:"State of Health",flexGrow:1,cellTransformation:Xr.e.badge,customTemplateConfig:{map:{good:{value:"Good",class:"badge-success"},warning:{value:"Warning",class:"badge-warning"},bad:{value:"Bad",class:"badge-danger"},stale:{value:"Stale",class:"badge-info"},unknown:{value:"Unknown",class:"badge-dark"}}}},{prop:"life_expectancy_weeks",name:"Life Expectancy",cellTemplate:this.lifeExpectancyTemplate},{prop:"life_expectancy_stamp",name:"Prediction Creation Date",cellTemplate:this.lifeExpectancyTimestampTemplate,pipe:this.datePipe,isHidden:!0},{prop:"location",name:"Device Name",cellTemplate:this.locationTemplate},{prop:"daemons",name:"Daemons",cellTemplate:this.daemonNameTemplate}]}ngOnChanges(){const n=o=>this.devices=o;this.osdList&&null!==this.osdId?this.osdService.getDevices(this.osdId).subscribe(n):this.hostname&&this.hostService.getDevices(this.hostname).subscribe(n)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Wa.x),e.Y36(f.uU),e.Y36(Zc))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-device-list"]],viewQuery:function(n,o){if(1&n&&(e.Gf(vm,7),e.Gf(O_,7),e.Gf(Ch,7),e.Gf(Yd,7)),2&n){let l;e.iGM(l=e.CRH())&&(o.locationTemplate=l.first),e.iGM(l=e.CRH())&&(o.daemonNameTemplate=l.first),e.iGM(l=e.CRH())&&(o.lifeExpectancyTemplate=l.first),e.iGM(l=e.CRH())&&(o.lifeExpectancyTimestampTemplate=l.first)}},inputs:{hostname:"hostname",osdId:"osdId",osdList:"osdList"},features:[e.TTD],decls:14,vars:2,consts:function(){let i,n;return i="Neither hostname nor OSD ID given",n="" + "\ufffd0\ufffd" + "",[[3,"data","columns",4,"ngIf"],["type","warning",4,"ngIf"],["deviceLocation",""],["daemonName",""],["osdIdDaemon",""],["readableDaemons",""],["lifeExpectancy",""],["lifeExpectancyTimestamp",""],[3,"data","columns"],["type","warning"],i,[4,"ngFor","ngForOf"],[3,"value",4,"ngIf"],[3,"value"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"me-1",3,"value"],[4,"ngIf"],n]},template:function(n,o){1&n&&(e.YNc(0,Nf,1,2,"cd-table",0),e.YNc(1,Mh,2,0,"cd-alert-panel",1),e.YNc(2,Mp,1,1,"ng-template",null,2,e.W1O),e.YNc(4,l_,1,4,"ng-template",null,3,e.W1O),e.YNc(6,jf,1,1,"ng-template",null,4,e.W1O),e.YNc(8,Nm,1,1,"ng-template",null,5,e.W1O),e.YNc(10,Ap,4,4,"ng-template",null,6,e.W1O),e.YNc(12,A_,1,1,"ng-template",null,7,e.W1O)),2&n&&(e.Q6J("ngIf",o.hostname||null!==o.osdId),e.xp6(1),e.Q6J("ngIf",""===o.hostname&&null===o.osdId))},dependencies:[f.sg,f.O5,f.tP,zo.a,Zu.G,Bf,f.Gx,Th.g]}),t})();var Ah=s(8958),If=s(37496);const Yp=["innerNav"];function eh(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",5),e.SDv(1,6),e.qZA())}function c_(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",7),e.SDv(1,8),e.qZA())}function th(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",10),e.SDv(1,11),e.qZA())}function d_(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"cd-alert-panel",20),e._uU(2),e.qZA(),e.BQk()),2&t){const n=e.oxw(2).$implicit;e.xp6(2),e.Oqu(n.value.userMessage)}}function zd(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",23),e.SDv(1,24),e.qZA())}function nh(t,i){1&t&&(e.ynx(0),e.TgZ(1,"cd-alert-panel",26),e.SDv(2,27),e.qZA(),e.BQk())}function f_(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",28),e.SDv(1,29),e.qZA())}function Kh(t,i){if(1&t&&(e.YNc(0,nh,3,0,"ng-container",0),e.YNc(1,f_,2,0,"ng-template",null,25,e.W1O)),2&t){const n=e.MAs(2),o=e.oxw(3).$implicit;e.Q6J("ngIf",o.value.info.smart_status.passed)("ngIfElse",n)}}function up(t,i){if(1&t&&(e.YNc(0,zd,2,0,"cd-alert-panel",21),e.ALo(1,"pipeFunction"),e.YNc(2,Kh,3,2,"ng-template",null,22,e.W1O)),2&t){const n=e.MAs(3),o=e.oxw(2).$implicit,l=e.oxw(4);e.Q6J("ngIf",e.xi3(1,2,null==o.value.info?null:o.value.info.smart_status,l.isEmpty))("ngIfElse",n)}}function Dh(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",36),2&t){const n=e.oxw(4).$implicit;e.Q6J("renderObjects",!0)("data",n.value.info)}}function jp(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",37),e.SDv(1,38),e.qZA())}function Td(t,i){if(1&t&&(e.YNc(0,Dh,1,2,"cd-table-key-value",34),e.ALo(1,"pipeFunction"),e.YNc(2,jp,2,0,"cd-alert-panel",35),e.ALo(3,"pipeFunction")),2&t){const n=e.oxw(3).$implicit,o=e.oxw(4);e.Q6J("ngIf",!e.xi3(1,2,n.value.info,o.isEmpty)),e.xp6(2),e.Q6J("ngIf",e.xi3(3,5,n.value.info,o.isEmpty))}}function gf(t,i){if(1&t&&e._UZ(0,"cd-table",42),2&t){const n=e.oxw(4).$implicit,o=e.oxw(4);e.Q6J("data",n.value.smart.attributes.table)("columns",o.smartDataColumns)}}function zp(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",43),2&t){const n=e.oxw(4).$implicit;e.Q6J("renderObjects",!0)("data",n.value.smart)}}function Ta(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",43),2&t){const n=e.oxw(4).$implicit;e.Q6J("renderObjects",!0)("data",n.value.smart.nvmeData)}}function fd(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",44),e.SDv(1,45),e.qZA())}function Tc(t,i){if(1&t&&(e.YNc(0,gf,1,2,"cd-table",39),e.YNc(1,zp,1,2,"cd-table-key-value",40),e.YNc(2,Ta,1,2,"cd-table-key-value",40),e.YNc(3,fd,2,0,"cd-alert-panel",41)),2&t){const n=e.oxw(3).$implicit;e.Q6J("ngIf",null==n.value.smart?null:n.value.smart.attributes),e.xp6(1),e.Q6J("ngIf",null==n.value.smart?null:n.value.smart.scsi_error_counter_log),e.xp6(1),e.Q6J("ngIf",null==n.value.smart?null:n.value.smart.nvmeData),e.xp6(1),e.Q6J("ngIf",!(null!=n.value.smart&&n.value.smart.attributes||null!=n.value.smart&&n.value.smart.nvmeData||null!=n.value.smart&&n.value.smart.scsi_error_counter_log))}}function Zs(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"nav",12,30)(3,"li",31)(4,"a",17),e.SDv(5,32),e.qZA(),e.YNc(6,Td,4,8,"ng-template",18),e.qZA(),e.TgZ(7,"li",31)(8,"a",17),e.SDv(9,33),e.qZA(),e.YNc(10,Tc,4,4,"ng-template",18),e.qZA()(),e._UZ(11,"div",15),e.BQk()),2&t){const n=e.MAs(2);e.xp6(3),e.Q6J("ngbNavItem",1),e.xp6(4),e.Q6J("ngbNavItem",2),e.xp6(4),e.Q6J("ngbNavOutlet",n)}}function vf(t,i){if(1&t&&(e.YNc(0,d_,3,1,"ng-container",0),e.YNc(1,up,4,5,"ng-template",null,19,e.W1O),e.YNc(3,Zs,12,3,"ng-container",4),e.ALo(4,"pipeFunction"),e.ALo(5,"pipeFunction")),2&t){const n=e.MAs(2),o=e.oxw().$implicit,l=e.oxw(4);e.Q6J("ngIf",o.value.error)("ngIfElse",n),e.xp6(3),e.Q6J("ngIf",!e.xi3(4,3,o.value.info,l.isEmpty)||!e.xi3(5,6,o.value.smart,l.isEmpty))}}function p_(t,i){if(1&t&&(e.ynx(0,16),e.TgZ(1,"a",17),e._uU(2),e.qZA(),e.YNc(3,vf,6,9,"ng-template",18),e.BQk()),2&t){const n=i.$implicit;e.xp6(2),e.AsE("",n.value.device," (",n.value.identifier,")")}}function Cc(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"nav",12,13),e.YNc(3,p_,4,2,"ng-container",14),e.ALo(4,"keyvalue"),e.qZA(),e._UZ(5,"div",15),e.BQk()),2&t){const n=e.MAs(2),o=e.oxw(3);e.xp6(3),e.Q6J("ngForOf",e.lcZ(4,2,o.data)),e.xp6(2),e.Q6J("ngbNavOutlet",n)}}function D_(t,i){if(1&t&&(e.ynx(0),e.YNc(1,th,2,0,"cd-alert-panel",9),e.ALo(2,"pipeFunction"),e.YNc(3,Cc,6,4,"ng-container",4),e.ALo(4,"pipeFunction"),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",e.xi3(2,2,n.data,n.isEmpty)),e.xp6(2),e.Q6J("ngIf",!e.xi3(4,5,n.data,n.isEmpty))}}function yf(t,i){if(1&t&&(e.ynx(0),e.YNc(1,eh,2,0,"cd-alert-panel",2),e.YNc(2,c_,2,0,"cd-alert-panel",3),e.YNc(3,D_,5,8,"ng-container",4),e.BQk()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.error),e.xp6(1),e.Q6J("ngIf",n.incompatible),e.xp6(1),e.Q6J("ngIf",!n.error&&!n.incompatible)}}function cp(t,i){1&t&&(e.TgZ(0,"cd-loading-panel"),e.SDv(1,46),e.qZA())}let Mc=(()=>{class t{constructor(n,o){this.osdService=n,this.hostService=o,this.osdId=null,this.hostname=null,this.loading=!1,this.incompatible=!1,this.error=!1,this.data={},this.isEmpty=Xe().isEmpty}isSmartError(n){return void 0!==Xe().get(n,"error")}isNvmeSmartData(n){return"nvme"===Xe().get(n,"device.protocol","").toLowerCase()}isAtaSmartData(n){return"ata"===Xe().get(n,"device.protocol","").toLowerCase()}isIscsiSmartData(n){return"scsi"===Xe().get(n,"device.protocol","").toLowerCase()}fetchData(n){const o={};Xe().each(n,(l,_)=>{if(this.isSmartError(l)){let v="";v=-22===l.smartctl_error_code?"Smartctl has received an unknown argument (error code " + l.smartctl_error_code + "). You may be using an incompatible version of smartmontools. Version >= 7.0 of smartmontools is required to successfully retrieve data.":"An error with error code " + l.smartctl_error_code + " occurred.",o[_]={error:l.error,smartctl_error_code:l.smartctl_error_code,smartctl_output:l.smartctl_output,userMessage:v,device:l.dev,identifier:l.nvme_vendor}}else 1!==l.json_format_version[0]?this.incompatible=!0:this.isAtaSmartData(l)?o[_]=this.extractAtaData(l):this.isIscsiSmartData(l)?o[_]=this.extractIscsiData(l):this.isNvmeSmartData(l)&&(o[_]=this.extractNvmeData(l))}),this.data=o,this.loading=!1}extractNvmeData(n){return{info:Xe().omitBy(n,(l,_)=>["nvme_smart_health_information_log"].includes(_)),smart:{nvmeData:n.nvme_smart_health_information_log},device:n.device.name,identifier:n.serial_number}}extractIscsiData(n){const o=Xe().omitBy(n,(l,_)=>["scsi_error_counter_log","scsi_grown_defect_list"].includes(_));return{info:o,smart:{scsi_error_counter_log:n.scsi_error_counter_log,scsi_grown_defect_list:n.scsi_grown_defect_list},device:o.device.name,identifier:o.serial_number}}extractAtaData(n){const o=Xe().omitBy(n,(l,_)=>["ata_smart_attributes","ata_smart_selective_self_test_log","ata_smart_data"].includes(_));return{info:o,smart:{attributes:n.ata_smart_attributes,data:n.ata_smart_data},device:o.device.name,identifier:o.serial_number}}updateData(){this.loading=!0,null!==this.osdId?this.osdService.getSmartData(this.osdId).subscribe({next:this.fetchData.bind(this),error:n=>{n.preventDefault(),this.error=n,this.loading=!1}}):null!==this.hostname&&this.hostService.getSmartData(this.hostname).subscribe({next:this.fetchData.bind(this),error:n=>{n.preventDefault(),this.error=n,this.loading=!1}})}ngOnInit(){this.smartDataColumns=[{prop:"id",name:"ID"},{prop:"name",name:"Name"},{prop:"raw.value",name:"Raw"},{prop:"thresh",name:"Threshold"},{prop:"value",name:"Value"},{prop:"when_failed",name:"When Failed"},{prop:"worst",name:"Worst"}],this.scsiSmartDataColumns=[{prop:"correction_algorithm_invocations",name:"Correction Algorithm Invocations"},{prop:"errors_corrected_by_eccdelayed",name:"Errors Corrected by ECC (Delayed)"},{prop:"errors_corrected_by_eccfast",name:"Errors Corrected by ECC (Fast)"},{prop:"errors_corrected_by_rereads_rewrites",name:"Errors Corrected by Rereads/Rewrites"},{prop:"gigabytes_processed",name:"Gigabyes Processed"},{prop:"total_errors_corrected",name:"Total Errors Corrected"},{prop:"total_uncorrected_errors",name:"Total Errors Uncorrected"}]}ngOnChanges(n){this.data={},n.osdId?this.osdId=n.osdId.currentValue:n.hostname&&(this.hostname=n.hostname.currentValue),this.updateData()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Zc),e.Y36(Wa.x))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-smart-list"]],viewQuery:function(n,o){if(1&n&&e.Gf(Yp,5),2&n){let l;e.iGM(l=e.CRH())&&(o.nav=l.first)}},inputs:{osdId:"osdId",hostname:"hostname"},features:[e.TTD],decls:3,vars:2,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue,pe,ye;return i="Failed to retrieve SMART data.",n="The data received has the JSON format version 2.x and is currently incompatible with the dashboard.",o="No SMART data available.",l="SMART overall-health self-assessment test result",_="unknown",v="SMART overall-health self-assessment test result",O="passed",P="SMART overall-health self-assessment test result",G="failed",K="Device Information",oe="SMART",ue="No device information available for this device.",pe="No SMART data available for this device.",ye="SMART data is loading.",[[4,"ngIf","ngIfElse"],["isLoading",""],["type","error",4,"ngIf"],["type","warning",4,"ngIf"],[4,"ngIf"],["type","error"],i,["type","warning"],n,["type","info",4,"ngIf"],["type","info"],o,["ngbNav","",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","",4,"ngFor","ngForOf"],[3,"ngbNavOutlet"],["ngbNavItem",""],["ngbNavLink",""],["ngbNavContent",""],["noError",""],["id","alert-error","type","warning"],["id","alert-self-test-unknown","size","slim","type","warning","title",l,4,"ngIf","ngIfElse"],["hasSmartStatus",""],["id","alert-self-test-unknown","size","slim","type","warning","title",l],_,["selfTestFailed",""],["id","alert-self-test-passed","size","slim","type","info","title",v],O,["id","alert-self-test-failed","size","slim","type","warning","title",P],G,["innerNav","ngbNav"],[3,"ngbNavItem"],K,oe,[3,"renderObjects","data",4,"ngIf"],["id","alert-device-info-unavailable","type","info",4,"ngIf"],[3,"renderObjects","data"],["id","alert-device-info-unavailable","type","info"],ue,["updateSelectionOnRefresh","never",3,"data","columns",4,"ngIf"],["updateSelectionOnRefresh","never",3,"renderObjects","data",4,"ngIf"],["id","alert-device-smart-data-unavailable","type","info",4,"ngIf"],["updateSelectionOnRefresh","never",3,"data","columns"],["updateSelectionOnRefresh","never",3,"renderObjects","data"],["id","alert-device-smart-data-unavailable","type","info"],pe,ye]},template:function(n,o){if(1&n&&(e.YNc(0,yf,4,3,"ng-container",0),e.YNc(1,cp,2,0,"ng-template",null,1,e.W1O)),2&n){const l=e.MAs(2);e.Q6J("ngIf",!o.loading)("ngIfElse",l)}},dependencies:[f.sg,f.O5,zo.a,bu.b,Ah.b,Zu.G,yi.uN,yi.Pz,yi.nv,yi.Is,yi.Vx,yi.tO,yi.Dy,f.Nd,If.i]}),t})();var Ff=s(30490);function __(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",2),e.SDv(1,3),e.qZA())}function Lf(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",2),e.tHW(1,4),e._UZ(2,"cd-doc",5),e.N_p(),e.qZA())}let zf=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-orchestrator-doc-panel"]],inputs:{missingFeatures:"missingFeatures"},decls:3,vars:2,consts:function(){let i,n;return i="The feature is not supported in the current Orchestrator.",n="Orchestrator is not available. Please consult the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " on how to configure and enable the functionality.",[["type","info",4,"ngIf","ngIfElse"],["elseBlock",""],["type","info"],i,n,["section","orch"]]},template:function(n,o){if(1&n&&(e.YNc(0,__,2,0,"cd-alert-panel",0),e.YNc(1,Lf,3,0,"ng-template",null,1,e.W1O)),2&n){const l=e.MAs(2);e.Q6J("ngIf",o.missingFeatures)("ngIfElse",l)}},dependencies:[f.O5,Zu.G,Ff.K]}),t})(),Vf=(()=>{class t{constructor(n,o,l,_,v,O){this.authStorageService=n,this.dimlessBinary=o,this.modalService=l,this.notificationService=_,this.orchService=v,this.hostService=O,this.devices=[],this.showAvailDeviceOnly=!1,this.hiddenColumns=[],this.hostname="",this.diskType="",this.filterColumns=["hostname","human_readable_type","available","sys_api.vendor","sys_api.model","sys_api.size"],this.selectionType=void 0,this.filterChange=new e.vpe,this.fetchInventory=new e.vpe,this.icons=Rr.P,this.columns=[],this.selection=new Io.r,this.orchStatus=void 0,this.actionOrchFeatures={identify:[Jc.DEVICE_BLINK_LIGHT]}}ngOnInit(){this.permission=this.authStorageService.getPermissions().osd,this.tableActions=[{permission:"update",icon:Rr.P.show,click:()=>this.identifyDevice(),name:"Identify",disable:o=>this.getDisable("identify",o),canBePrimary:o=>!o.hasSingleSelection,visible:()=>Xe().isString(this.selectionType)}];const n=[{name:"Hostname",prop:"hostname",flexGrow:1},{name:"Device path",prop:"path",flexGrow:1},{name:"Type",prop:"human_readable_type",flexGrow:1,cellTransformation:Xr.e.badge,customTemplateConfig:{map:{hdd:{value:"HDD",class:"badge-hdd"},ssd:{value:"SSD",class:"badge-ssd"}}}},{name:"Available",prop:"available",flexGrow:1,cellClass:"text-center",cellTransformation:Xr.e.checkIcon},{name:"Vendor",prop:"sys_api.vendor",flexGrow:1},{name:"Model",prop:"sys_api.model",flexGrow:1},{name:"Size",prop:"sys_api.size",flexGrow:1,pipe:this.dimlessBinary},{name:"OSDs",prop:"osd_ids",flexGrow:1,cellTransformation:Xr.e.badge,customTemplateConfig:{class:"badge-dark",prefix:"osd."}}];this.columns=n.filter(o=>!this.hiddenColumns.includes(o.prop)),Xe().forEach(this.filterColumns,o=>{const l=Xe().find(this.columns,{prop:o});l&&(l.filterable=!0),"human_readable_type"===l?.prop&&"ssd"===this.diskType&&(l.filterInitValue=this.diskType),"hostname"===l?.prop&&this.hostname&&(l.filterInitValue=this.hostname)}),this.fetchInventory.observers.length>0&&(this.fetchInventorySub=this.table.fetchData.subscribe(()=>{this.fetchInventory.emit()}))}getDevices(){this.showAvailDeviceOnly?this.hostService.inventoryDeviceList().subscribe(n=>{this.devices=Xe().filter(n,"available"),this.devices=[...this.devices]},()=>{this.devices=[]}):this.devices=[...this.devices]}ngOnDestroy(){this.fetchInventorySub&&this.fetchInventorySub.unsubscribe()}onColumnFiltersChanged(n){this.filterChange.emit(n)}getDisable(n,o){return!o.hasSingleSelection||this.orchService.getTableActionDisableDesc(this.orchStatus,this.actionOrchFeatures[n])}updateSelection(n){this.selection=n}identifyDevice(){const n=this.selection.first(),o=n.hostname,l=n.path||n.device_id;this.modalService.show(ae.X,{titleText:"Identify device " + l + "",message:"Please enter the duration how long to blink the LED.",fields:[{type:"select",name:"duration",value:300,required:!0,typeConfig:{options:[{text:"1 minute",value:60},{text:"2 minutes",value:120},{text:"5 minutes",value:300},{text:"10 minutes",value:600},{text:"15 minutes",value:900}]}}],submitButtonText:"Execute",onSubmit:_=>{this.hostService.identifyDevice(o,l,_.duration).subscribe(()=>{this.notificationService.show(Ho.k.success,"Identifying '" + l + "' started on host '" + o + "'")})}})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(Wl.$),e.Y36(ca.Z),e.Y36(Ui.g),e.Y36(td),e.Y36(Wa.x))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-inventory-devices"]],viewQuery:function(n,o){if(1&n&&e.Gf(zo.a,7),2&n){let l;e.iGM(l=e.CRH())&&(o.table=l.first)}},inputs:{devices:"devices",showAvailDeviceOnly:"showAvailDeviceOnly",hiddenColumns:"hiddenColumns",hostname:"hostname",diskType:"diskType",filterColumns:"filterColumns",selectionType:"selectionType",orchStatus:"orchStatus"},outputs:{filterChange:"filterChange",fetchInventory:"fetchInventory"},decls:2,vars:8,consts:[["identifier","uid","columnMode","flex",3,"data","columns","forceIdentifier","selectionType","searchField","fetchData","updateSelection","columnFiltersChanged"],[1,"table-actions",3,"permission","selection","tableActions"]],template:function(n,o){1&n&&(e.TgZ(0,"cd-table",0),e.NdJ("fetchData",function(){return o.getDevices()})("updateSelection",function(_){return o.updateSelection(_)})("columnFiltersChanged",function(_){return o.onColumnFiltersChanged(_)}),e._UZ(1,"cd-table-actions",1),e.qZA()),2&n&&(e.Q6J("data",o.devices)("columns",o.columns)("forceIdentifier",!0)("selectionType",o.selectionType)("searchField",!1),e.xp6(1),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions))},dependencies:[zo.a,$l.K],styles:[".filter[_ngcontent-%COMP%]{padding-right:8px}.fa-stack[_ngcontent-%COMP%]{font-size:.79rem}.fa-stack[_ngcontent-%COMP%] .fa-stack-1x[_ngcontent-%COMP%]{margin-left:8px;margin-top:5px}"]}),t})();function ra(t,i){1&t&&e._UZ(0,"cd-orchestrator-doc-panel")}const rh=function(){return[]},ih=function(){return["hostname"]};function lc(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"legend"),e.SDv(2,1),e.qZA(),e.TgZ(3,"div",2)(4,"div",3)(5,"cd-inventory-devices",4),e.NdJ("fetchInventory",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.refresh())}),e.qZA()()(),e.BQk()}if(2&t){const n=e.oxw();e.xp6(5),e.Q6J("devices",n.devices)("hiddenColumns",void 0===n.hostname?e.DdM(3,rh):e.DdM(4,ih))("orchStatus",n.orchStatus)}}let Ku=(()=>{class t{constructor(n,o,l){this.orchService=n,this.hostService=o,this.ngZone=l,this.reloadInterval=5e3,this.firstRefresh=!0,this.icons=Rr.P,this.showDocPanel=!1,this.devices=[]}ngOnInit(){this.orchService.status().subscribe(n=>{this.orchStatus=n,this.showDocPanel=!n.available,n.available&&this.ngZone.runOutsideAngular(()=>{this.reloadSubscriber=(0,xl.H)(this.reloadInterval,this.reloadInterval).subscribe(()=>{this.ngZone.run(()=>{this.getInventory(!1)})})})})}ngOnDestroy(){this.reloadSubscriber?.unsubscribe()}ngOnChanges(){this.orchStatus?.available&&(this.devices=[],this.getInventory(!1))}getInventory(n){""!==this.hostname&&this.hostService.inventoryDeviceList(this.hostname,n).subscribe(o=>{this.devices=o},()=>{this.devices=[]})}refresh(){this.getInventory(!this.firstRefresh),this.firstRefresh=!1}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(td),e.Y36(Wa.x),e.Y36(e.R0b))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-inventory"]],inputs:{hostname:"hostname"},features:[e.TTD],decls:2,vars:2,consts:function(){let i;return i="Physical Disks",[[4,"ngIf"],i,[1,"row"],[1,"col-md-12"],["selectionType","single",3,"devices","hiddenColumns","orchStatus","fetchInventory"]]},template:function(n,o){1&n&&(e.YNc(0,ra,1,0,"cd-orchestrator-doc-panel",0),e.YNc(1,lc,6,5,"ng-container",0)),2&n&&(e.Q6J("ngIf",o.showDocPanel),e.xp6(1),e.Q6J("ngIf",null==o.orchStatus?null:o.orchStatus.available))},dependencies:[f.O5,zf,Vf]}),t})();var Zf=s(15257);let Vd=class{constructor(i){this.http=i,this.url="api/daemon"}action(i,n){return this.http.put(`${this.url}/${i}`,{action:n,container_image:null},{headers:{Accept:"application/vnd.ceph.api.v0.1+json"},observe:"response"})}list(i){return this.http.get(this.url,{params:{daemon_types:i}})}};Vd.\u0275fac=function(i){return new(i||Vd)(e.LFG(m.eN))},Vd.\u0275prov=e.Yz7({token:Vd,factory:Vd.\u0275fac,providedIn:"root"}),Vd=(0,Gt.gn)([An.o,(0,Gt.w6)("design:paramtypes",[m.eN])],Vd);var Wf=s(90068),h_=s(76189);class kf{constructor(i){this.observable=i.pipe((0,Ec.U)(n=>(this.count=Number(n.headers?.get("X-Total-Count")),n.body)))}}let rf=(()=>{class t extends h_.S{constructor(n){super(),this.http=n,this.url="api/service"}list(n,o){const l={headers:{Accept:this.getVersionHeaderValue(2,0)},params:n,observe:"response"};return o&&(l.params=l.params.append("service_name",o)),new kf(this.http.get(this.url,l))}getDaemons(n){return this.http.get(`${this.url}/${n}/daemons`)}create(n){return this.http.post(this.url,{service_name:n.service_id?`${n.service_type}.${n.service_id}`:n.service_type,service_spec:n},{observe:"response"})}update(n){const o=n.service_id?`${n.service_type}.${n.service_id}`:n.service_type;return this.http.put(`${this.url}/${o}`,{service_name:o,service_spec:n},{observe:"response"})}delete(n){return this.http.delete(`${this.url}/${n}`,{observe:"response"})}getKnownTypes(){return this.http.get(`${this.url}/known_types`)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const R_=["statusTpl"],x_=["listTpl"],Jf=["cpuTpl"],oh=["daemonsTable"];function Rp(t,i){1&t&&e._UZ(0,"cd-orchestrator-doc-panel")}function dp(t,i){1&t&&e.GkF(0)}function Yc(t,i){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,dp,1,0,"ng-container",7),e.qZA()),2&t){e.oxw();const n=e.MAs(9);e.xp6(1),e.Q6J("ngTemplateOutlet",n)}}function sf(t,i){1&t&&e.GkF(0)}function fp(t,i){if(1&t&&e.YNc(0,sf,1,0,"ng-container",7),2&t){e.oxw(2);const n=e.MAs(9);e.Q6J("ngTemplateOutlet",n)}}function xp(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",18,19),e.NdJ("fetchData",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.getServices(l))}),e.qZA()}if(2&t){const n=e.oxw(3);e.Q6J("data",n.services)("columns",n.serviceColumns)}}function wd(t,i){if(1&t&&e.YNc(0,xp,2,2,"cd-table",17),2&t){const n=e.oxw(2);e.Q6J("ngIf",n.hasOrchestrator)}}function w_(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"nav",8,9),e.ynx(3,10),e.TgZ(4,"a",11),e.SDv(5,12),e.qZA(),e.YNc(6,fp,1,1,"ng-template",13),e.BQk(),e.ynx(7,14),e.TgZ(8,"a",11),e.SDv(9,15),e.qZA(),e.YNc(10,wd,1,1,"ng-template",13),e.BQk(),e.qZA(),e._UZ(11,"div",16),e.BQk()),2&t){const n=e.MAs(2);e.xp6(11),e.Q6J("ngbNavOutlet",n)}}function wp(t,i){if(1&t&&(e.TgZ(0,"span",20),e.ALo(1,"pipeFunction"),e._uU(2),e.qZA()),2&t){const n=i.row,o=e.oxw();e.Q6J("ngClass",e.xi3(1,2,n,o.getStatusClass)),e.xp6(2),e.hij(" ",n.status_desc," ")}}const Rh=function(t){return[t]};function sh(t,i){if(1&t&&(e.TgZ(0,"span"),e._UZ(1,"i",27),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(1,Rh,n.icons.infoCircle))}}function pp(t,i){if(1&t&&(e.TgZ(0,"span"),e._UZ(1,"i",27),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(1,Rh,n.icons.warning))}}function Xh(t,i){if(1&t&&(e.TgZ(0,"li",25)(1,"b"),e._uU(2),e.ALo(3,"relativeDate"),e.qZA(),e.TgZ(4,"span",26),e._uU(5),e.qZA(),e._UZ(6,"br"),e.YNc(7,sh,2,3,"span",0),e.YNc(8,pp,2,3,"span",0),e._uU(9),e.qZA()),2&t){const n=i.$implicit;e.xp6(2),e.hij("",e.lcZ(3,5,n.created)," - "),e.xp6(3),e.Oqu(n.subject),e.xp6(2),e.Q6J("ngIf","INFO"===n.level),e.xp6(1),e.Q6J("ngIf","ERROR"===n.level),e.xp6(1),e.hij(" ",n.message," ")}}function Ef(t,i){if(1&t&&(e.TgZ(0,"ul",23),e.YNc(1,Xh,10,7,"li",24),e.qZA()),2&t){const n=e.oxw().value,o=e.oxw();e.xp6(1),e.Q6J("ngForOf",n)("ngForTrackBy",o.trackByFn)}}function Sf(t,i){1&t&&(e.TgZ(0,"div",25)(1,"span"),e._uU(2,"No data available"),e.qZA()())}function Vp(t,i){if(1&t&&e.YNc(0,Sf,3,0,"div",28),2&t){const n=e.oxw().value;e.Q6J("ngIf",0===(null==n?null:n.length))}}function xh(t,i){if(1&t&&(e.YNc(0,Ef,2,2,"ul",21),e.YNc(1,Vp,1,1,"ng-template",null,22,e.W1O)),2&t){const n=i.value,o=e.MAs(2);e.Q6J("ngIf",null==n?null:n.length)("ngIfElse",o)}}function ah(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",30,31),e.NdJ("fetchData",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.getDaemons(l))})("updateSelection",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.updateSelection(l))}),e._UZ(2,"cd-table-actions",32),e.qZA()}if(2&t){const n=e.oxw(2);e.Q6J("data",n.daemons)("columns",n.columns),e.xp6(2),e.Q6J("selection",n.selection)("permission",n.permissions.hosts)("tableActions",n.tableActions)}}function P_(t,i){if(1&t&&e.YNc(0,ah,3,5,"cd-table",29),2&t){const n=e.oxw();e.Q6J("ngIf",n.hasOrchestrator)}}function qh(t,i){if(1&t&&e._UZ(0,"cd-usage-bar",33),2&t){const n=i.row,o=e.oxw();e.Q6J("total",o.total)("calculatePerc",!1)("used",n.cpu_percentage)("isBinary",!1)("warningThreshold",o.warningThreshold)("errorThreshold",o.errorThreshold)}}let N_=(()=>{class t{constructor(n,o,l,_,v,O,P,G,K,oe){this.hostService=n,this.cephServiceService=o,this.orchService=l,this.relativeDatePipe=_,this.dimlessBinary=v,this.actionLabels=O,this.authStorageService=P,this.daemonService=G,this.notificationService=K,this.cdRef=oe,this.hiddenColumns=[],this.total=100,this.warningThreshold=.8,this.errorThreshold=.9,this.icons=Rr.P,this.daemons=[],this.services=[],this.columns=[],this.serviceColumns=[],this.selection=new Io.r,this.hasOrchestrator=!1,this.showDocPanel=!1}ngOnInit(){this.permissions=this.authStorageService.getPermissions(),this.tableActions=[{permission:"update",icon:Rr.P.start,click:()=>this.daemonAction("start"),name:this.actionLabels.START,disable:()=>this.actionDisabled("start")},{permission:"update",icon:Rr.P.stop,click:()=>this.daemonAction("stop"),name:this.actionLabels.STOP,disable:()=>this.actionDisabled("stop")},{permission:"update",icon:Rr.P.restart,click:()=>this.daemonAction("restart"),name:this.actionLabels.RESTART,disable:()=>this.actionDisabled("restart")},{permission:"update",icon:Rr.P.deploy,click:()=>this.daemonAction("redeploy"),name:this.actionLabels.REDEPLOY,disable:()=>this.actionDisabled("redeploy")}],this.columns=[{name:"Hostname",prop:"hostname",flexGrow:2,filterable:!0},{name:"Daemon name",prop:"daemon_name",flexGrow:1,filterable:!0},{name:"Version",prop:"version",flexGrow:1,filterable:!0},{name:"Status",prop:"status_desc",flexGrow:1,filterable:!0,cellTemplate:this.statusTpl},{name:"Last Refreshed",prop:"last_refresh",pipe:this.relativeDatePipe,flexGrow:1},{name:"CPU Usage",prop:"cpu_percentage",flexGrow:1,cellTemplate:this.cpuTpl},{name:"Memory Usage",prop:"memory_usage",flexGrow:1,pipe:this.dimlessBinary,cellClass:"text-right"},{name:"Daemon Events",prop:"events",flexGrow:2,cellTemplate:this.listTpl}],this.serviceColumns=[{name:"Service Name",prop:"service_name",flexGrow:2,filterable:!0},{name:"Service Type",prop:"service_type",flexGrow:1,filterable:!0},{name:"Service Events",prop:"events",flexGrow:5,cellTemplate:this.listTpl}],this.orchService.status().subscribe(n=>{this.hasOrchestrator=n.available,this.showDocPanel=!n.available}),this.columns=this.columns.filter(n=>!this.hiddenColumns.includes(n.prop)),setTimeout(()=>{this.cdRef.detectChanges()},1e3)}ngOnChanges(){Xe().isUndefined(this.daemonsTable)||this.daemonsTable.reloadData()}ngAfterViewInit(){this.daemonsTableTplsSub=this.daemonsTableTpls.changes.subscribe(n=>{this.daemonsTable=n.first})}ngOnDestroy(){this.daemonsTableTplsSub&&this.daemonsTableTplsSub.unsubscribe(),this.serviceSub&&this.serviceSub.unsubscribe()}getStatusClass(n){return Xe().get({"-1":"badge-danger",0:"badge-warning",1:"badge-success"},n.status,"badge-dark")}getDaemons(n){let o;if(this.hostname)o=this.hostService.getDaemons(this.hostname);else{if(!this.serviceName)return void(this.daemons=[]);o=this.cephServiceService.getDaemons(this.serviceName)}o.subscribe(l=>{this.daemons=l,this.sortDaemonEvents()},()=>{this.daemons=[],n.error()})}sortDaemonEvents(){this.daemons.forEach(n=>{n.events?.sort((o,l)=>new Date(l.created).getTime()-new Date(o.created).getTime())})}getServices(n){this.serviceSub=this.cephServiceService.list(new m.LE({fromObject:{limit:-1,offset:0}}),this.serviceName).observable.subscribe(o=>{this.services=o},()=>{this.services=[],n.error()})}trackByFn(n,o){return o.created}updateSelection(n){this.selection=n}daemonAction(n){this.daemonService.action(this.selection.first()?.daemon_name,n).pipe((0,Zf.q)(1)).subscribe({next:o=>{this.notificationService.show(Ho.k.success,`Daemon ${n} scheduled`,o.body.toString())},error:o=>{this.notificationService.show(Ho.k.error,"Daemon action failed",o.body.toString())}})}actionDisabled(n){if(this.selection?.hasSelection){const o=this.selection.selected[0];if("mon"===o.daemon_type||"mgr"===o.daemon_type)return!0;switch(n){case"start":if("running"===o.status_desc)return!0;break;case"stop":if("stopped"===o.status_desc)return!0}return!1}return!0}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Wa.x),e.Y36(rf),e.Y36(td),e.Y36(Wf.h),e.Y36(Wl.$),e.Y36(yr.p4),e.Y36(Do.j),e.Y36(Vd),e.Y36(Ui.g),e.Y36(e.sBO))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-service-daemon-list"]],viewQuery:function(n,o){if(1&n&&(e.Gf(R_,7),e.Gf(x_,7),e.Gf(Jf,7),e.Gf(oh,5)),2&n){let l;e.iGM(l=e.CRH())&&(o.statusTpl=l.first),e.iGM(l=e.CRH())&&(o.listTpl=l.first),e.iGM(l=e.CRH())&&(o.cpuTpl=l.first),e.iGM(l=e.CRH())&&(o.daemonsTableTpls=l)}},inputs:{serviceName:"serviceName",hostname:"hostname",hiddenColumns:"hiddenColumns",flag:"flag"},features:[e.TTD],decls:12,vars:3,consts:function(){let i,n;return i="Daemons",n="Service Events",[[4,"ngIf"],[4,"ngIf","ngIfElse"],["serviceDetailsTpl",""],["statusTpl",""],["listTpl",""],["serviceDaemonDetailsTpl",""],["cpuTpl",""],[4,"ngTemplateOutlet"],["ngbNav","","cdStatefulTab","service-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","service_events"],n,[3,"ngbNavOutlet"],["columnMode","flex",3,"data","columns","fetchData",4,"ngIf"],["columnMode","flex",3,"data","columns","fetchData"],["serviceTable",""],[1,"badge",3,"ngClass"],["class","list-group list-group-flush",4,"ngIf","ngIfElse"],["noEventsAvailable",""],[1,"list-group","list-group-flush"],["class","list-group-item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"list-group-item"],[1,"badge","badge-info"],["aria-hidden","true",3,"ngClass"],["class","list-group-item",4,"ngIf"],["selectionType","single","columnMode","flex","identifier","daemon_name",3,"data","columns","fetchData","updateSelection",4,"ngIf"],["selectionType","single","columnMode","flex","identifier","daemon_name",3,"data","columns","fetchData","updateSelection"],["daemonsTable",""],["id","service-daemon-list-actions",1,"table-actions",3,"selection","permission","tableActions"],[3,"total","calculatePerc","used","isBinary","warningThreshold","errorThreshold"]]},template:function(n,o){if(1&n&&(e.YNc(0,Rp,1,0,"cd-orchestrator-doc-panel",0),e.YNc(1,Yc,2,1,"div",1),e.YNc(2,w_,12,1,"ng-template",null,2,e.W1O),e.YNc(4,wp,3,5,"ng-template",null,3,e.W1O),e.YNc(6,xh,3,2,"ng-template",null,4,e.W1O),e.YNc(8,P_,1,1,"ng-template",null,5,e.W1O),e.YNc(10,qh,1,6,"ng-template",null,6,e.W1O)),2&n){const l=e.MAs(3);e.Q6J("ngIf",o.showDocPanel),e.xp6(1),e.Q6J("ngIf","hostDetails"===o.flag)("ngIfElse",l)}},dependencies:[f.mk,f.sg,f.O5,f.tP,yi.uN,yi.Pz,yi.nv,yi.Vx,yi.tO,yi.Dy,fc.O,zf,zo.a,$l.K,kc.m,Wf.h,If.i],styles:[".fa-info-circle[_ngcontent-%COMP%]{color:#25828e}.fa-exclamation-triangle[_ngcontent-%COMP%]{color:#dc3545}.list-group-item[_ngcontent-%COMP%]{background-color:transparent;border-width:0}"]}),t})();function wh(t,i){if(1&t&&e._UZ(0,"cd-device-list",14),2&t){const n=e.oxw(2);e.Q6J("hostname",n.selection.hostname)}}function I_(t,i){if(1&t&&e._UZ(0,"cd-inventory",14),2&t){const n=e.oxw(3);e.Q6J("hostname",n.selectedHostname)}}function Zp(t,i){1&t&&(e.ynx(0,15),e.TgZ(1,"a",5),e.SDv(2,16),e.qZA(),e.YNc(3,I_,1,1,"ng-template",7),e.BQk())}const Qc=function(){return["hostname"]};function em(t,i){if(1&t&&e._UZ(0,"cd-service-daemon-list",19),2&t){const n=e.oxw(3);e.Q6J("hostname",n.selectedHostname)("hiddenColumns",e.DdM(2,Qc))}}function _p(t,i){1&t&&(e.ynx(0,17),e.TgZ(1,"a",5),e.SDv(2,18),e.qZA(),e.YNc(3,em,1,3,"ng-template",7),e.BQk())}function lh(t,i){if(1&t&&e._UZ(0,"cd-grafana",22),2&t){const n=e.oxw(3);e.Q6J("grafanaPath","host-details?var-ceph_hosts="+n.selectedHostname)("type","metrics")}}function F_(t,i){1&t&&(e.ynx(0,20),e.TgZ(1,"a",5),e.SDv(2,21),e.qZA(),e.YNc(3,lh,1,2,"ng-template",7),e.BQk())}function tm(t,i){if(1&t&&e._UZ(0,"cd-smart-list",14),2&t){const n=e.oxw(3);e.Q6J("hostname",n.selectedHostname)}}function Ph(t,i){if(1&t&&e.YNc(0,tm,1,1,"cd-smart-list",23),2&t){const n=e.oxw(2),o=e.MAs(2);e.Q6J("ngIf",n.selectedHostname)("ngIfElse",o)}}function Pp(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"nav",2,3),e.ynx(3,4),e.TgZ(4,"a",5),e.SDv(5,6),e.qZA(),e.YNc(6,wh,1,1,"ng-template",7),e.BQk(),e.YNc(7,Zp,4,0,"ng-container",8),e.YNc(8,_p,4,0,"ng-container",9),e.YNc(9,F_,4,0,"ng-container",10),e.ynx(10,11),e.TgZ(11,"a",5),e.SDv(12,12),e.qZA(),e.YNc(13,Ph,1,2,"ng-template",7),e.BQk(),e.qZA(),e._UZ(14,"div",13),e.BQk()),2&t){const n=e.MAs(2),o=e.oxw();e.xp6(7),e.Q6J("ngIf",o.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",o.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",o.permissions.grafana.read),e.xp6(5),e.Q6J("ngbNavOutlet",n)}}function nm(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",24),e.SDv(1,25),e.qZA())}let rm=(()=>{class t{get selectedHostname(){return void 0!==this.selection?this.selection.hostname:null}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-host-details"]],inputs:{permissions:"permissions",selection:"selection"},decls:3,vars:1,consts:function(){let i,n,o,l,_,v,O;return i="Devices",n="Device health",o="Physical Disks",l="Daemons",_="Performance Details",v="Host details",O="No hostname found.",[[4,"ngIf"],["noHostname",""],["ngbNav","","cdStatefulTab","host-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","devices"],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","inventory",4,"ngIf"],["ngbNavItem","daemons",4,"ngIf"],["ngbNavItem","performance-details",4,"ngIf"],["ngbNavItem","device-health"],n,[3,"ngbNavOutlet"],[3,"hostname"],["ngbNavItem","inventory"],o,["ngbNavItem","daemons"],l,["flag","hostDetails",3,"hostname","hiddenColumns"],["ngbNavItem","performance-details"],_,["title",v,"uid","rtOg0AiWz","grafanaStyle","four",3,"grafanaPath","type"],[3,"hostname",4,"ngIf","ngIfElse"],["type","error"],O]},template:function(n,o){1&n&&(e.YNc(0,Pp,15,4,"ng-container",0),e.YNc(1,nm,2,0,"ng-template",null,1,e.W1O)),2&n&&e.Q6J("ngIf",o.selection)},dependencies:[f.O5,yi.uN,yi.Pz,yi.nv,yi.Vx,yi.tO,yi.Dy,ad.F,Zu.G,kc.m,Dp,Mc,Ku,N_]}),t})();const im=["servicesTpl"],Im=["maintenanceConfirmTpl"],vd=["orchTmpl"],uh=["flashTmpl"],ym=["hostNameTpl"];function Np(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",14,15),e.NdJ("fetchData",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.getHosts(l))})("setExpandedRow",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.setExpandedRow(l))})("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.updateSelection(l))}),e.TgZ(2,"div",16),e._UZ(3,"cd-table-actions",17),e.qZA(),e._UZ(4,"cd-host-details",18),e.qZA()}if(2&t){const n=e.oxw();e.Q6J("data",n.hosts)("columns",n.columns)("searchableObjects",!0)("hasDetails",n.hasTableDetails)("serverSide",!0)("count",n.count)("maxLimit",25)("toolHeader",!n.hideToolHeader),e.xp6(3),e.Q6J("permission",n.permissions.hosts)("selection",n.selection)("tableActions",n.tableActions),e.xp6(1),e.Q6J("permissions",n.permissions)("selection",n.expandedRow)}}function ch(t,i){1&t&&e.GkF(0,2)}function Cd(t,i){1&t&&e._UZ(0,"cd-grafana",20),2&t&&e.Q6J("grafanaPath","host-overview?")("type","metrics")}function om(t,i){1&t&&(e.ynx(0,2),e.TgZ(1,"a",3),e.SDv(2,19),e.qZA(),e.YNc(3,Cd,1,2,"ng-template",5),e.BQk())}function Nh(t,i){if(1&t&&(e.TgZ(0,"span"),e._UZ(1,"cd-label",22),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.Q6J("key",n.type)("value",n.count)}}function Ih(t,i){1&t&&e.YNc(0,Nh,2,2,"span",21),2&t&&e.Q6J("ngForOf",i.value)}function Fh(t,i){if(1&t&&(e.TgZ(0,"span",25),e._uU(1),e.qZA()),2&t){const n=e.oxw().row;e.xp6(1),e.hij(" (",n.addr,") ")}}function cg(t,i){if(1&t&&(e.TgZ(0,"span",23),e._uU(1),e.qZA(),e._UZ(2,"br"),e.YNc(3,Fh,2,1,"span",24)),2&t){const n=i.row;e.Q6J("ngClass",n),e.xp6(1),e.hij(" ",n.hostname," "),e.xp6(2),e.Q6J("ngIf",n.addr)}}function L_(t,i){if(1&t&&(e.TgZ(0,"ul")(1,"li"),e.SDv(2,27),e.qZA()()),2&t){const n=e.oxw().$implicit;e.xp6(2),e.pQV(n),e.QtT(2)}}function I(t,i){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,L_,3,1,"ul",26),e.qZA()),2&t){const n=i.last,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!n||"1"===o.errorMessage.length)}}function re(t,i){1&t&&(e.ynx(0),e.SDv(1,28),e.BQk())}function S(t,i){if(1&t&&(e.YNc(0,I,2,1,"div",21),e.YNc(1,re,2,0,"ng-container",26)),2&t){const n=e.oxw();e.Q6J("ngForOf",n.errorMessage),e.xp6(1),e.Q6J("ngIf",n.showSubmit)}}function z(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function Oe(t,i){1&t&&(e.TgZ(0,"span",31),e.SDv(1,32),e.qZA())}let On=(()=>{class t extends Hr.o{constructor(n,o,l,_,v,O,P,G,K,oe){super(),this.authStorageService=n,this.dimlessBinary=o,this.emptyPipe=l,this.hostService=_,this.actionLabels=v,this.modalService=O,this.taskWrapper=P,this.router=G,this.notificationService=K,this.orchService=oe,this.sub=new bd.w,this.hiddenColumns=[],this.hideMaintenance=!1,this.hasTableDetails=!0,this.hideToolHeader=!1,this.showGeneralActionsOnly=!1,this.columns=[],this.hosts=[],this.isLoadingHosts=!1,this.cdParams={fromLink:"/hosts"},this.selection=new Io.r,this.isExecuting=!1,this.icons=Rr.P,this.tableContext=null,this.count=5,this.messages={nonOrchHost:"The feature is disabled because the selected host is not managed by Orchestrator."},this.actionOrchFeatures={add:[Jc.HOST_ADD],edit:[Jc.HOST_LABEL_ADD,Jc.HOST_LABEL_REMOVE],remove:[Jc.HOST_REMOVE],maintenance:[Jc.HOST_MAINTENANCE_ENTER,Jc.HOST_MAINTENANCE_EXIT],drain:[Jc.HOST_DRAIN]},this.permissions=this.authStorageService.getPermissions(),this.tableActions=[{name:this.actionLabels.ADD,permission:"create",icon:Rr.P.add,click:()=>this.router.url.includes("/hosts")?this.router.navigate(["hosts",{outlets:{modal:[yr.MQ.ADD]}}]):this.bsModalRef=this.modalService.show(q_,{hideMaintenance:this.hideMaintenance}),disable:ue=>this.getDisable("add",ue)},{name:this.actionLabels.EDIT,permission:"update",icon:Rr.P.edit,click:()=>this.editAction(),disable:ue=>this.getDisable("edit",ue)},{name:this.actionLabels.START_DRAIN,permission:"update",icon:Rr.P.exit,click:()=>this.hostDrain(),disable:ue=>this.getDisable("drain",ue)||!this.enableDrainBtn,visible:()=>!this.showGeneralActionsOnly&&this.enableDrainBtn},{name:this.actionLabels.STOP_DRAIN,permission:"update",icon:Rr.P.exit,click:()=>this.hostDrain(!0),disable:ue=>this.getDisable("drain",ue)||this.enableDrainBtn,visible:()=>!this.showGeneralActionsOnly&&!this.enableDrainBtn},{name:this.actionLabels.REMOVE,permission:"delete",icon:Rr.P.destroy,click:()=>this.deleteAction(),disable:ue=>this.getDisable("remove",ue)},{name:this.actionLabels.ENTER_MAINTENANCE,permission:"update",icon:Rr.P.enter,click:()=>this.hostMaintenance(),disable:ue=>this.getDisable("maintenance",ue)||this.isExecuting||this.enableMaintenanceBtn,visible:()=>!this.showGeneralActionsOnly&&!this.enableMaintenanceBtn},{name:this.actionLabels.EXIT_MAINTENANCE,permission:"update",icon:Rr.P.exit,click:()=>this.hostMaintenance(),disable:ue=>this.getDisable("maintenance",ue)||this.isExecuting||!this.enableMaintenanceBtn,visible:()=>!this.showGeneralActionsOnly&&this.enableMaintenanceBtn}]}ngOnInit(){this.columns=[{name:"Hostname",prop:"hostname",flexGrow:1,cellTemplate:this.hostNameTpl},{name:"Service Instances",prop:"service_instances",flexGrow:1.5,cellTemplate:this.servicesTpl},{name:"Labels",prop:"labels",flexGrow:1,cellTransformation:Xr.e.badge,customTemplateConfig:{class:"badge-dark"}},{name:"Status",prop:"status",flexGrow:.8,cellTransformation:Xr.e.badge,customTemplateConfig:{map:{maintenance:{class:"badge-warning"},available:{class:"badge-success"}}}},{name:"Model",prop:"model",flexGrow:1},{name:"CPUs",prop:"cpu_count",flexGrow:.3},{name:"Cores",prop:"cpu_cores",flexGrow:.3},{name:"Total Memory",prop:"memory_total_bytes",pipe:this.dimlessBinary,flexGrow:.4},{name:"Raw Capacity",prop:"raw_capacity",pipe:this.dimlessBinary,flexGrow:.5},{name:"HDDs",prop:"hdd_count",flexGrow:.3},{name:"Flash",prop:"flash_count",headerTemplate:this.flashTmpl,flexGrow:.3},{name:"NICs",prop:"nic_count",flexGrow:.3}],this.columns=this.columns.filter(n=>!this.hiddenColumns.includes(n.prop))}ngOnDestroy(){this.sub.unsubscribe()}updateSelection(n){this.selection=n,this.enableMaintenanceBtn=!1,this.enableDrainBtn=!1,this.selection.hasSelection&&("maintenance"===this.selection.first().status&&(this.enableMaintenanceBtn=!0),this.selection.first().labels.includes("_no_schedule")||(this.enableDrainBtn=!0))}editAction(){this.hostService.getLabels().subscribe(n=>{const o=this.selection.first(),l=new Set(n.concat(this.hostService.predefinedLabels)),_=Array.from(l).map(v=>({enabled:!0,name:v}));this.modalService.show(ae.X,{titleText:"Edit Host: " + o.hostname + "",fields:[{type:"select-badges",name:"labels",value:o.labels,label:"Labels",typeConfig:{customBadges:!0,options:_,messages:new Rd.a({empty:"There are no labels.",filter:"Filter or add labels",add:"Add label"})}}],submitButtonText:"Edit Host",onSubmit:v=>{this.hostService.update(o.hostname,!0,v.labels).subscribe(()=>{this.notificationService.show(Ho.k.success,"Updated Host \"" + o.hostname + "\""),this.table.refreshBtn()})}})})}hostMaintenance(){this.isExecuting=!0;const n=this.selection.first();"maintenance"!==n.status?this.hostService.update(n.hostname,!1,[],!0).subscribe(()=>{this.isExecuting=!1,this.notificationService.show(Ho.k.success,"\"" + n.hostname + "\" moved to maintenance"),this.table.refreshBtn()},o=>{if(this.isExecuting=!1,this.errorMessage=o.error.detail.split(/\n/),o.preventDefault(),!o.error.detail.includes("WARNING")||o.error.detail.includes("It is NOT safe to stop")||o.error.detail.includes("ALERT")||o.error.detail.includes("unsafe to stop"))this.notificationService.show(Ho.k.error,"\"" + n.hostname + "\" cannot be put into maintenance","" + o.error.detail + "");else{const l={titleText:"Warning",buttonText:"Continue",warning:!0,bodyTpl:this.maintenanceConfirmTpl,showSubmit:!0,onSubmit:()=>{this.hostService.update(n.hostname,!1,[],!0,!0).subscribe(()=>{this.modalRef.close()},()=>this.modalRef.close())}};this.modalRef=this.modalService.show(le.Y,l)}}):this.hostService.update(n.hostname,!1,[],!0).subscribe(()=>{this.isExecuting=!1,this.notificationService.show(Ho.k.success,"\"" + n.hostname + "\" has exited maintenance"),this.table.refreshBtn()})}hostDrain(n=!1){const o=this.selection.first();if(n){const l=o.labels.indexOf("_no_schedule",0);o.labels.splice(l,1),this.hostService.update(o.hostname,!0,o.labels).subscribe(()=>{this.notificationService.show(Ho.k.info,"\"" + o.hostname + "\" stopped draining"),this.table.refreshBtn()})}else this.hostService.update(o.hostname,!1,[],!1,!1,!0).subscribe(()=>{this.notificationService.show(Ho.k.info,"\"" + o.hostname + "\" started draining"),this.table.refreshBtn()})}getDisable(n,o){if("remove"===n||"edit"===n||"maintenance"===n||"drain"===n){if(!o?.hasSingleSelection)return!0;if(!Xe().every(o.selected,"sources.orchestrator"))return this.messages.nonOrchHost}return this.orchService.getTableActionDisableDesc(this.orchStatus,this.actionOrchFeatures[n])}deleteAction(){const n=this.selection.first().hostname;this.modalRef=this.modalService.show(Go.M,{itemDescription:"Host",itemNames:[n],actionDescription:"remove",submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("host/remove",{hostname:n}),call:this.hostService.delete(n)})})}checkHostsFactsAvailable(){const n=this.orchStatus.features;return!Xe().isEmpty(n)&&!!n.get_facts.available}transformHostsData(){if(this.checkHostsFactsAvailable())Xe().forEach(this.hosts,n=>{n.memory_total_bytes=this.emptyPipe.transform(1024*n.memory_total_kb),n.raw_capacity=this.emptyPipe.transform(n.hdd_capacity_bytes+n.flash_capacity_bytes)});else for(let n=4;n<this.columns.length;n++)this.columns[n].cellTemplate=this.orchTmpl}getHosts(n){null!==n&&(this.tableContext=n),null==this.tableContext&&(this.tableContext=new Sc.E(()=>{})),!this.isLoadingHosts&&(this.isLoadingHosts=!0,this.sub=this.orchService.status().pipe((0,dd.zg)(o=>{this.orchStatus=o;const l=this.checkHostsFactsAvailable();return this.hostService.list(this.tableContext?.toParams(),l.toString())})).subscribe(o=>{this.hosts=o,this.hosts.forEach(l=>{""===l.status&&(l.status="available")}),this.transformHostsData(),this.isLoadingHosts=!1,this.count=this.hosts.length>0?s_.v.getCount(o[0]):0},()=>{this.isLoadingHosts=!1,n.error()}))}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(Wl.$),e.Y36(sp.W),e.Y36(Wa.x),e.Y36(yr.p4),e.Y36(ca.Z),e.Y36(Gr.P),e.Y36(Ee.F0),e.Y36(Ui.g),e.Y36(td))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-hosts"]],viewQuery:function(n,o){if(1&n&&(e.Gf(zo.a,5),e.Gf(im,7),e.Gf(Im,7),e.Gf(vd,7),e.Gf(uh,7),e.Gf(ym,7)),2&n){let l;e.iGM(l=e.CRH())&&(o.table=l.first),e.iGM(l=e.CRH())&&(o.servicesTpl=l.first),e.iGM(l=e.CRH())&&(o.maintenanceConfirmTpl=l.first),e.iGM(l=e.CRH())&&(o.orchTmpl=l.first),e.iGM(l=e.CRH())&&(o.flashTmpl=l.first),e.iGM(l=e.CRH())&&(o.hostNameTpl=l.first)}},inputs:{hiddenColumns:"hiddenColumns",hideMaintenance:"hideMaintenance",hasTableDetails:"hasTableDetails",hideToolHeader:"hideToolHeader",showGeneralActionsOnly:"showGeneralActionsOnly"},features:[e._Bn([{provide:Qn.F,useValue:new Qn.F("hosts")}]),e.qOj],decls:20,vars:3,consts:function(){let i,n,o,l,_,v,O,P,G;return i="Hosts List",n="Overall Performance",o="Host overview",l="" + "\ufffd0\ufffd" + "",_="Are you sure you want to continue?",v="Data will be available only if Orchestrator is available.",O="N/A",P="SSD, NVMEs",G="Flash",[["ngbNav","",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem",""],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","",4,"ngIf"],[3,"ngbNavOutlet"],["servicesTpl",""],["hostNameTpl",""],["maintenanceConfirmTpl",""],["orchTmpl",""],["flashTmpl",""],["name","modal"],["columnMode","flex","selectionType","single",3,"data","columns","searchableObjects","hasDetails","serverSide","count","maxLimit","toolHeader","fetchData","setExpandedRow","updateSelection"],["table",""],[1,"table-actions","btn-toolbar"],["id","host-actions",1,"btn-group",3,"permission","selection","tableActions"],["cdTableDetail","",3,"permissions","selection"],n,["title",o,"uid","y0KGL0iZz","grafanaStyle","two",3,"grafanaPath","type"],[4,"ngFor","ngForOf"],[1,"me-1",3,"key","value"],[3,"ngClass"],["class","text-muted fst-italic",4,"ngIf"],[1,"text-muted","fst-italic"],[4,"ngIf"],l,_,["ngbTooltip",v],O,["ngbTooltip",P],G]},template:function(n,o){if(1&n&&(e.TgZ(0,"nav",0,1),e.ynx(2,2),e.TgZ(3,"a",3),e.SDv(4,4),e.qZA(),e.YNc(5,Np,5,13,"ng-template",5),e.BQk(),e.YNc(6,ch,1,0,"ng-container",6),e.YNc(7,om,4,0,"ng-container",6),e.qZA(),e._UZ(8,"div",7),e.YNc(9,Ih,1,1,"ng-template",null,8,e.W1O),e.YNc(11,cg,4,3,"ng-template",null,9,e.W1O),e.YNc(13,S,2,2,"ng-template",null,10,e.W1O),e.YNc(15,z,2,0,"ng-template",null,11,e.W1O),e.YNc(17,Oe,2,0,"ng-template",null,12,e.W1O),e._UZ(19,"router-outlet",13)),2&n){const l=e.MAs(1);e.xp6(6),e.Q6J("ngIf",o.permissions.grafana.read),e.xp6(1),e.Q6J("ngIf",o.permissions.grafana.read),e.xp6(1),e.Q6J("ngbNavOutlet",l)}},dependencies:[f.mk,f.sg,f.O5,yi.uN,yi.Pz,yi.nv,yi.Vx,yi.tO,yi.Dy,ad.F,Bf,zo.a,$l.K,Ee.lC,yi._L,rm]}),t})();var Ar=s(67460);let ri=(()=>{class t{transform(n){if(Xe().isUndefined(n))return "no spec";if(Xe().get(n,"unmanaged",!1))return "unmanaged";const o=[],l=Xe().get(n,"placement.hosts"),_=Xe().get(n,"placement.count"),v=Xe().get(n,"placement.label"),O=Xe().get(n,"placement.host_pattern");return Xe().isArray(l)&&o.push(...l),Xe().isNumber(_)&&o.push("count:" + _ + ""),Xe().isString(v)&&o.push("label:" + v + ""),Xe().isString(O)&&o.push(O),o.join(";")}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"placement",type:t,pure:!0}),t})();var Di=s(79765),Pi=s(66682),cs=s(54395),Yo=s(87519),y=s(45435),x=s(80381),Y=s(95596),be=s(43186),Ke=s(97937),xt=s(98961);function _n(t,i){1&t&&(e.TgZ(0,"span",22),e.SDv(1,23),e.qZA())}function In(t,i){1&t&&(e.TgZ(0,"span",22),e.SDv(1,24),e.qZA())}function vr(t,i){1&t&&(e.TgZ(0,"span",22),e.SDv(1,25),e.qZA())}let Si=(()=>{class t{constructor(n,o,l,_,v,O,P,G){this.activeModal=n,this.actionLabels=o,this.rgwMultisiteService=l,this.rgwZoneService=_,this.notificationService=v,this.rgwZonegroupService=O,this.rgwRealmService=P,this.modalService=G,this.sub=new bd.w,this.submitAction=new e.vpe,this.createForm()}createForm(){this.createMultisiteEntitiesForm=new fu.d({realmName:new rn.NI(null,{validators:[rn.kI.required]}),zonegroupName:new rn.NI(null,{validators:[rn.kI.required]}),zoneName:new rn.NI(null,{validators:[rn.kI.required]})})}submit(){const n=this.createMultisiteEntitiesForm.value;this.realm=new be.L6,this.realm.name=n.realmName,this.zonegroup=new be.iG,this.zonegroup.name=n.zonegroupName,this.zonegroup.endpoints="",this.zone=new be.jb,this.zone.name=n.zoneName,this.zone.endpoints="",this.zone.system_key=new be.VY,this.zone.system_key.access_key="",this.zone.system_key.secret_key="",this.rgwRealmService.create(this.realm,!0).toPromise().then(()=>{this.rgwZonegroupService.create(this.realm,this.zonegroup,!0,!0).toPromise().then(()=>{this.rgwZoneService.create(this.zone,this.zonegroup,!0,!0,this.zone.endpoints).toPromise().then(()=>{this.notificationService.show(Ho.k.success,"Realm/Zonegroup/Zone created successfully"),this.submitAction.emit(),this.activeModal.close()}).catch(()=>{this.notificationService.show(Ho.k.error,"Realm/Zonegroup/Zone creation failed")})})})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yi.Kz),e.Y36(yr.p4),e.Y36(x.o),e.Y36(Ke.g),e.Y36(Ui.g),e.Y36(xt.K),e.Y36(Y.y),e.Y36(ca.Z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-create-rgw-service-entities"]],outputs:{submitAction:"submitAction"},decls:29,vars:6,consts:function(){let i,n,o,l,_,v,O;return i="Create Realm/Zone Group/Zone ",n="Realm Name",o="Zone Group Name",l="Zone Name",_="This field is required.",v="This field is required.",O="This field is required.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","createMultisiteEntitiesForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],["type","info","spacingClass","mb-3"],[1,"form-group","row"],["for","realmName",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["type","text","placeholder","Realm name...","id","realmName","name","realmName","formControlName","realmName",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","zonegroupName",1,"cd-col-form-label","required"],o,["type","text","placeholder","Zone group name...","id","zonegroupName","name","zonegroupName","formControlName","zonegroupName",1,"form-control"],["for","zoneName",1,"cd-col-form-label","required"],l,["type","text","placeholder","Zone name...","id","zoneName","name","zoneName","formControlName","zoneName",1,"form-control"],[1,"modal-footer"],[3,"form","submitActionEvent"],[1,"invalid-feedback"],_,v,O]},template:function(n,o){if(1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"cd-alert-panel",7),e._uU(8,"The realm/zone group/zone created will be set as default and master. "),e.qZA(),e.TgZ(9,"div",8)(10,"label",9),e.SDv(11,10),e.qZA(),e.TgZ(12,"div",11),e._UZ(13,"input",12),e.YNc(14,_n,2,0,"span",13),e.qZA()(),e.TgZ(15,"div",8)(16,"label",14),e.SDv(17,15),e.qZA(),e.TgZ(18,"div",11),e._UZ(19,"input",16),e.YNc(20,In,2,0,"span",13),e.qZA()(),e.TgZ(21,"div",8)(22,"label",17),e.SDv(23,18),e.qZA(),e.TgZ(24,"div",11),e._UZ(25,"input",19),e.YNc(26,vr,2,0,"span",13),e.qZA()()(),e.TgZ(27,"div",20)(28,"cd-form-button-panel",21),e.NdJ("submitActionEvent",function(){return o.submit()}),e.qZA()()(),e.BQk(),e.qZA()),2&n){const l=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.createMultisiteEntitiesForm),e.xp6(10),e.Q6J("ngIf",o.createMultisiteEntitiesForm.showError("realmName",l,"required")),e.xp6(6),e.Q6J("ngIf",o.createMultisiteEntitiesForm.showError("zonegroupName",l,"required")),e.xp6(6),e.Q6J("ngIf",o.createMultisiteEntitiesForm.showError("zoneName",l,"required")),e.xp6(2),e.Q6J("form",o.createMultisiteEntitiesForm)}},dependencies:[f.O5,al.z,Zu.G,rl.p,st.o,za.b,Va.P,Os.V,rn._Y,rn.Fj,rn.JJ,rn.JL,rn.sg,rn.u]}),t})();var Uo=s(80842),Ds=s(14745),Qi=s(62862),Ls=s(36848),ia=s(58039),oa=s(4416);function di(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-alert-panel",28),e.tHW(1,29),e.TgZ(2,"a",30),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.createMultisiteSetup())}),e.qZA(),e.N_p(),e.qZA()}}function Wr(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.hij(" ",n," ")}}function si(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,33),e.qZA())}function no(t,i){1&t&&(e.TgZ(0,"option",13),e.SDv(1,38),e.qZA()),2&t&&e.Q6J("ngValue",null)}function vo(t,i){1&t&&(e.TgZ(0,"option",13),e.SDv(1,39),e.qZA()),2&t&&e.Q6J("ngValue",null)}function fl(t,i){1&t&&(e.TgZ(0,"option",13),e.SDv(1,40),e.qZA()),2&t&&e.Q6J("ngValue",null)}function Us(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.service_name),e.xp6(1),e.Oqu(n.service_name)}}function ll(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,41),e.qZA())}const Cl=function(){return["ingress"]},Ia=function(t){return{required:t}};function bf(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",8)(1,"label",34),e.SDv(2,35),e.qZA(),e.TgZ(3,"div",11)(4,"select",36),e.NdJ("change",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.prePopulateId())}),e.YNc(5,no,2,1,"option",37),e.YNc(6,vo,2,1,"option",37),e.YNc(7,fl,2,1,"option",37),e.YNc(8,Us,2,2,"option",15),e.qZA(),e.YNc(9,ll,2,0,"span",16),e.qZA()()}if(2&t){const n=e.oxw(),o=e.MAs(7);e.xp6(1),e.Q6J("ngClass",e.VKq(7,Ia,e.DdM(6,Cl).includes(n.serviceForm.controls.service_type.value))),e.xp6(4),e.Q6J("ngIf",null===n.services),e.xp6(1),e.Q6J("ngIf",null!==n.services&&0===n.services.length),e.xp6(1),e.Q6J("ngIf",null!==n.services&&n.services.length>0),e.xp6(1),e.Q6J("ngForOf",n.services),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("backend_service",o,"required"))}}function Ip(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,46),e.qZA())}function Wp(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,47),e.qZA())}function Lh(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,48),e.qZA())}const dh=function(){return["mds","rgw","nfs","iscsi","ingress"]};function kh(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",42)(2,"span"),e.SDv(3,43),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,44),e.qZA()(),e.TgZ(6,"div",11),e._UZ(7,"input",45),e.YNc(8,Ip,2,0,"span",16),e.YNc(9,Wp,2,0,"span",16),e.YNc(10,Lh,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(),o=e.MAs(7);e.xp6(1),e.Q6J("ngClass",e.VKq(5,Ia,e.DdM(4,dh).includes(n.serviceForm.controls.service_type.value))),e.xp6(7),e.Q6J("ngIf",n.serviceForm.showError("service_id",o,"required")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("service_id",o,"uniqueName")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("service_id",o,"mdsPattern"))}}function Fm(t,i){1&t&&(e.TgZ(0,"option",53),e.SDv(1,54),e.qZA())}function dg(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.name),e.xp6(1),e.hij(" ",n.name," ")}}function fg(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",49),e.SDv(2,50),e.qZA(),e.TgZ(3,"div",11)(4,"select",51),e.YNc(5,Fm,2,0,"option",52),e.YNc(6,dg,2,2,"option",15),e.qZA()()()),2&t){const n=e.oxw();e.xp6(4),e.uIk("disabled",!(0!==n.realmList.length&&!n.editing)||null),e.xp6(1),e.Q6J("ngIf",0===n.realmList.length),e.xp6(1),e.Q6J("ngForOf",n.realmList)}}function Lm(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.name),e.xp6(1),e.hij(" ",n.name," ")}}function pg(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",55),e.SDv(2,56),e.qZA(),e.TgZ(3,"div",11)(4,"select",57),e.YNc(5,Lm,2,2,"option",15),e.qZA()()()),2&t){const n=e.oxw();e.xp6(4),e.uIk("disabled",!(0!==n.zonegroupList.length&&!n.editing)||null),e.xp6(1),e.Q6J("ngForOf",n.zonegroupList)}}function Tf(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.name),e.xp6(1),e.hij(" ",n.name," ")}}function fh(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",58),e.SDv(2,59),e.qZA(),e.TgZ(3,"div",11)(4,"select",60),e.YNc(5,Tf,2,2,"option",15),e.qZA()()()),2&t){const n=e.oxw();e.xp6(4),e.uIk("disabled",!(0!==n.zoneList.length&&!n.editing)||null),e.xp6(1),e.Q6J("ngForOf",n.zoneList)}}function Qf(t,i){1&t&&(e.TgZ(0,"div",8)(1,"label",61),e.SDv(2,62),e.qZA(),e.TgZ(3,"div",11)(4,"select",63)(5,"option",64),e.SDv(6,65),e.qZA(),e.TgZ(7,"option",66),e.SDv(8,67),e.qZA()()()())}function sm(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,71),e.qZA())}function nd(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",8)(1,"label",68),e.SDv(2,69),e.qZA(),e.TgZ(3,"div",11)(4,"input",70),e.NdJ("focus",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.labelFocus.next(l.target.value))})("click",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.labelClick.next(l.target.value))}),e.qZA(),e.YNc(5,sm,2,0,"span",16),e.qZA()()}if(2&t){const n=e.oxw(),o=e.MAs(7);e.xp6(4),e.Q6J("ngbTypeahead",n.searchLabels),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("label",o,"required"))}}function Zd(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",72),e.SDv(2,73),e.qZA(),e.TgZ(3,"div",11),e._UZ(4,"cd-select-badges",74),e.qZA()()),2&t){const n=e.oxw();e.xp6(4),e.Q6J("data",n.serviceForm.controls.hosts.value)("options",n.hosts.options)("messages",n.hosts.messages)}}function hc(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,79),e.qZA())}function _g(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,80),e.qZA())}function hg(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",75)(2,"span"),e.SDv(3,76),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,77),e.qZA()(),e.TgZ(6,"div",11),e._UZ(7,"input",78),e.YNc(8,hc,2,0,"span",16),e.YNc(9,_g,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(),o=e.MAs(7);e.xp6(8),e.Q6J("ngIf",n.serviceForm.showError("count",o,"min")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("count",o,"pattern"))}}function Iu(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,84),e.qZA())}function Es(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,85),e.qZA())}function gu(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,86),e.qZA())}function km(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",8)(2,"label",81),e.SDv(3,82),e.qZA(),e.TgZ(4,"div",11),e._UZ(5,"input",83),e.YNc(6,Iu,2,0,"span",16),e.YNc(7,Es,2,0,"span",16),e.YNc(8,gu,2,0,"span",16),e.qZA()(),e.BQk()),2&t){const n=e.oxw(),o=e.MAs(7);e.xp6(6),e.Q6J("ngIf",n.serviceForm.showError("rgw_frontend_port",o,"pattern")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("rgw_frontend_port",o,"min")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("rgw_frontend_port",o,"max"))}}function k_(t,i){1&t&&(e.TgZ(0,"option",13),e.SDv(1,90),e.qZA()),2&t&&e.Q6J("ngValue",null)}function Pd(t,i){1&t&&(e.TgZ(0,"option",13),e.SDv(1,91),e.qZA()),2&t&&e.Q6J("ngValue",null)}function hp(t,i){1&t&&(e.TgZ(0,"option",13),e.SDv(1,92),e.qZA()),2&t&&e.Q6J("ngValue",null)}function $m(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.pool_name),e.xp6(1),e.Oqu(n.pool_name)}}function Fp(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,93),e.qZA())}function Lg(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",87),e.SDv(2,88),e.qZA(),e.TgZ(3,"div",11)(4,"select",89),e.YNc(5,k_,2,1,"option",37),e.YNc(6,Pd,2,1,"option",37),e.YNc(7,hp,2,1,"option",37),e.YNc(8,$m,2,2,"option",15),e.qZA(),e.YNc(9,Fp,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(),o=e.MAs(7);e.xp6(5),e.Q6J("ngIf",null===n.pools),e.xp6(1),e.Q6J("ngIf",n.pools&&0===n.pools.length),e.xp6(1),e.Q6J("ngIf",n.pools&&n.pools.length>0),e.xp6(1),e.Q6J("ngForOf",n.pools),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("pool",o,"required"))}}function S1(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,111),e.qZA())}function Hm(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,112),e.qZA())}function b1(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,113),e.qZA())}function mg(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,114),e.qZA())}function kg(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,115),e.qZA())}const Em=function(){return["iscsi"]};function $g(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",8)(2,"label",94)(3,"span"),e.SDv(4,95),e.qZA(),e.TgZ(5,"cd-helper")(6,"span"),e.SDv(7,96),e.qZA(),e._UZ(8,"br"),e.TgZ(9,"span"),e.tHW(10,97),e._UZ(11,"b"),e.N_p(),e.qZA()()(),e.TgZ(12,"div",11),e._UZ(13,"input",98),e.qZA()(),e.TgZ(14,"div",8)(15,"label",99),e.SDv(16,100),e.qZA(),e.TgZ(17,"div",11),e._UZ(18,"input",101),e.YNc(19,S1,2,0,"span",16),e.YNc(20,Hm,2,0,"span",16),e.YNc(21,b1,2,0,"span",16),e.qZA()(),e.TgZ(22,"div",8)(23,"label",102),e.SDv(24,103),e.qZA(),e.TgZ(25,"div",11),e._UZ(26,"input",104),e.YNc(27,mg,2,0,"span",16),e.qZA()(),e.TgZ(28,"div",8)(29,"label",105),e.SDv(30,106),e.qZA(),e.TgZ(31,"div",11)(32,"div",107),e._UZ(33,"input",108)(34,"button",109)(35,"cd-copy-2-clipboard-button",110),e.YNc(36,kg,2,0,"span",16),e.qZA()()(),e.BQk()),2&t){const n=e.oxw(),o=e.MAs(7);e.xp6(19),e.Q6J("ngIf",n.serviceForm.showError("api_port",o,"pattern")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("api_port",o,"min")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("api_port",o,"max")),e.xp6(2),e.Q6J("ngClass",e.VKq(8,Ia,e.DdM(7,Em).includes(n.serviceForm.controls.service_type.value))),e.xp6(4),e.Q6J("ngIf",n.serviceForm.showError("api_user",o,"required")),e.xp6(2),e.Q6J("ngClass",e.VKq(11,Ia,e.DdM(10,Em).includes(n.serviceForm.controls.service_type.value))),e.xp6(7),e.Q6J("ngIf",n.serviceForm.showError("api_password",o,"required"))}}function Il(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,128),e.qZA())}function gg(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,129),e.qZA())}function vg(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,130),e.qZA())}function Hg(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,131),e.qZA())}function T1(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,132),e.qZA())}function C1(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,133),e.qZA())}function am(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,134),e.qZA())}function $h(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,135),e.qZA())}function ph(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,136),e.qZA())}function lm(t,i){1&t&&(e.TgZ(0,"div",8)(1,"label",137)(2,"span"),e.SDv(3,138),e.qZA(),e.TgZ(4,"cd-helper")(5,"span"),e.SDv(6,139),e.qZA()()(),e.TgZ(7,"div",11),e._UZ(8,"input",140),e.qZA()())}function yg(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",8)(2,"label",116)(3,"span"),e.SDv(4,117),e.qZA(),e.TgZ(5,"cd-helper")(6,"span"),e.SDv(7,118),e.qZA()()(),e.TgZ(8,"div",11),e._UZ(9,"input",119),e.YNc(10,Il,2,0,"span",16),e.qZA()(),e.TgZ(11,"div",8)(12,"label",120)(13,"span"),e.SDv(14,121),e.qZA(),e.TgZ(15,"cd-helper")(16,"span"),e.SDv(17,122),e.qZA()()(),e.TgZ(18,"div",11),e._UZ(19,"input",123),e.YNc(20,gg,2,0,"span",16),e.YNc(21,vg,2,0,"span",16),e.YNc(22,Hg,2,0,"span",16),e.YNc(23,T1,2,0,"span",16),e.qZA()(),e.TgZ(24,"div",8)(25,"label",124)(26,"span"),e.SDv(27,125),e.qZA(),e.TgZ(28,"cd-helper")(29,"span"),e.SDv(30,126),e.qZA()()(),e.TgZ(31,"div",11),e._UZ(32,"input",127),e.YNc(33,C1,2,0,"span",16),e.YNc(34,am,2,0,"span",16),e.YNc(35,$h,2,0,"span",16),e.YNc(36,ph,2,0,"span",16),e.qZA()(),e.YNc(37,lm,9,0,"div",17),e.BQk()),2&t){const n=e.oxw(),o=e.MAs(7);e.xp6(2),e.Q6J("ngClass",e.VKq(14,Ia,e.DdM(13,Cl).includes(n.serviceForm.controls.service_type.value))),e.xp6(8),e.Q6J("ngIf",n.serviceForm.showError("virtual_ip",o,"required")),e.xp6(2),e.Q6J("ngClass",e.VKq(17,Ia,e.DdM(16,Cl).includes(n.serviceForm.controls.service_type.value))),e.xp6(8),e.Q6J("ngIf",n.serviceForm.showError("frontend_port",o,"pattern")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("frontend_port",o,"min")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("frontend_port",o,"max")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("frontend_port",o,"required")),e.xp6(2),e.Q6J("ngClass",e.VKq(20,Ia,e.DdM(19,Cl).includes(n.serviceForm.controls.service_type.value))),e.xp6(8),e.Q6J("ngIf",n.serviceForm.showError("monitor_port",o,"pattern")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("monitor_port",o,"min")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("monitor_port",o,"max")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("monitor_port",o,"required")),e.xp6(1),e.Q6J("ngIf",!n.serviceForm.controls.unmanaged.value)}}function M1(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(n)}}function Eg(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,150),e.qZA())}function Sg(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,151),e.qZA())}function _h(t,i){1&t&&(e.TgZ(0,"span",32),e.tHW(1,152),e._UZ(2,"strong"),e.N_p(),e.qZA())}function Ov(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,157),e.qZA())}function bg(t,i){1&t&&(e.TgZ(0,"span",32),e.tHW(1,158),e._UZ(2,"strong"),e.N_p(),e.qZA())}function Um(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",153)(2,"span"),e.SDv(3,154),e.qZA(),e.TgZ(4,"cd-helper")(5,"span"),e.SDv(6,155),e.qZA()()(),e.TgZ(7,"div",11),e._UZ(8,"input",156),e.YNc(9,Ov,2,0,"span",16),e.YNc(10,bg,3,0,"span",16),e.qZA()()),2&t){const n=e.oxw(2),o=e.MAs(7);e.xp6(9),e.Q6J("ngIf",n.serviceForm.showError("engine_id",o,"required")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("engine_id",o,"snmpEngineIdPattern"))}}function O1(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.hij(" ",n," ")}}function Av(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,163),e.qZA())}const L=function(){return["SHA","MD5"]};function q(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",159),e.SDv(2,160),e.qZA(),e.TgZ(3,"div",11)(4,"select",161)(5,"option",13),e.SDv(6,162),e.qZA(),e.YNc(7,O1,2,2,"option",15),e.qZA(),e.YNc(8,Av,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(2),o=e.MAs(7);e.xp6(5),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",e.DdM(3,L)),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("auth_protocol",o,"required"))}}function j(t,i){if(1&t&&(e.TgZ(0,"option",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.hij(" ",n," ")}}const Ae=function(){return["DES","AES"]};function St(t,i){1&t&&(e.TgZ(0,"div",8)(1,"label",164),e.SDv(2,165),e.qZA(),e.TgZ(3,"div",11)(4,"select",166)(5,"option",13),e.SDv(6,167),e.qZA(),e.YNc(7,j,2,2,"option",15),e.qZA()()()),2&t&&(e.xp6(5),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",e.DdM(2,Ae)))}function Kt(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,171),e.qZA())}function ur(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",168)(2,"span"),e.SDv(3,169),e.qZA()(),e.TgZ(4,"div",11),e._UZ(5,"input",170),e.YNc(6,Kt,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(2),o=e.MAs(7);e.xp6(6),e.Q6J("ngIf",n.serviceForm.showError("snmp_community",o,"required"))}}function Br(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,175),e.qZA())}function Ii(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",172)(2,"span"),e.SDv(3,173),e.qZA()(),e.TgZ(4,"div",11),e._UZ(5,"input",174),e.YNc(6,Br,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(2),o=e.MAs(7);e.xp6(6),e.Q6J("ngIf",n.serviceForm.showError("snmp_v3_auth_username",o,"required"))}}function ms(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,179),e.qZA())}function vs(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",176)(2,"span"),e.SDv(3,177),e.qZA()(),e.TgZ(4,"div",11),e._UZ(5,"input",178),e.YNc(6,ms,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(2),o=e.MAs(7);e.xp6(6),e.Q6J("ngIf",n.serviceForm.showError("snmp_v3_auth_password",o,"required"))}}function Ks(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,183),e.qZA())}function Vl(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",180)(2,"span"),e.SDv(3,181),e.qZA()(),e.TgZ(4,"div",11),e._UZ(5,"input",182),e.YNc(6,Ks,2,0,"span",16),e.qZA()()),2&t){const n=e.oxw(2),o=e.MAs(7);e.xp6(6),e.Q6J("ngIf",n.serviceForm.showError("snmp_v3_priv_password",o,"required"))}}const Xu=function(){return["V2c","V3"]};function Fu(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"div",8)(2,"label",141),e.SDv(3,142),e.qZA(),e.TgZ(4,"div",11)(5,"select",143),e.NdJ("change",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.clearValidations())}),e.TgZ(6,"option",13),e.SDv(7,144),e.qZA(),e.YNc(8,M1,2,2,"option",15),e.qZA(),e.YNc(9,Eg,2,0,"span",16),e.qZA()(),e.TgZ(10,"div",8)(11,"label",145)(12,"span"),e.SDv(13,146),e.qZA(),e.TgZ(14,"cd-helper")(15,"span"),e.SDv(16,147),e.qZA()()(),e.TgZ(17,"div",11),e._UZ(18,"input",148),e.YNc(19,Sg,2,0,"span",16),e.YNc(20,_h,3,0,"span",16),e.qZA()(),e.YNc(21,Um,11,2,"div",17),e.YNc(22,q,9,4,"div",17),e.YNc(23,St,8,3,"div",17),e.TgZ(24,"fieldset")(25,"legend"),e.SDv(26,149),e.qZA(),e.YNc(27,ur,7,1,"div",17),e.YNc(28,Ii,7,1,"div",17),e.YNc(29,vs,7,1,"div",17),e.YNc(30,Vl,7,1,"div",17),e.qZA(),e.BQk()}if(2&t){const n=e.oxw(),o=e.MAs(7);e.xp6(6),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",e.DdM(12,Xu)),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("snmp_version",o,"required")),e.xp6(10),e.Q6J("ngIf",n.serviceForm.showError("snmp_destination",o,"required")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("snmp_destination",o,"snmpDestinationPattern")),e.xp6(1),e.Q6J("ngIf","V3"===n.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===n.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===n.serviceForm.controls.snmp_version.value),e.xp6(4),e.Q6J("ngIf","V2c"===n.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===n.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===n.serviceForm.controls.snmp_version.value),e.xp6(1),e.Q6J("ngIf","V3"===n.serviceForm.controls.snmp_version.value&&null!=n.serviceForm.controls.privacy_protocol.value)}}function Oc(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,192),e.qZA())}function af(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,193),e.qZA())}function lf(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",8)(1,"label",187)(2,"span"),e.SDv(3,188),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,189),e.qZA()(),e.TgZ(6,"div",11)(7,"textarea",190),e._uU(8," "),e.qZA(),e.TgZ(9,"input",191),e.NdJ("change",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.fileUpload(l.target.files,"ssl_cert"))}),e.qZA(),e.YNc(10,Oc,2,0,"span",16),e.YNc(11,af,2,0,"span",16),e.qZA()()}if(2&t){const n=e.oxw(2),o=e.MAs(7);e.xp6(10),e.Q6J("ngIf",n.serviceForm.showError("ssl_cert",o,"required")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("ssl_cert",o,"pattern"))}}function m_(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,198),e.qZA())}function Hh(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,199),e.qZA())}function Uh(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",8)(1,"label",194)(2,"span"),e.SDv(3,195),e.qZA(),e.TgZ(4,"cd-helper"),e.SDv(5,196),e.qZA()(),e.TgZ(6,"div",11)(7,"textarea",197),e._uU(8," "),e.qZA(),e.TgZ(9,"input",191),e.NdJ("change",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.fileUpload(l.target.files,"ssl_key"))}),e.qZA(),e.YNc(10,m_,2,0,"span",16),e.YNc(11,Hh,2,0,"span",16),e.qZA()()}if(2&t){const n=e.oxw(2),o=e.MAs(7);e.xp6(10),e.Q6J("ngIf",n.serviceForm.showError("ssl_key",o,"required")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("ssl_key",o,"pattern"))}}const Wd=function(){return["rgw","ingress"]};function Nd(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",8)(2,"div",18)(3,"div",19),e._UZ(4,"input",184),e.TgZ(5,"label",185),e.SDv(6,186),e.qZA()()()(),e.YNc(7,lf,12,2,"div",17),e.YNc(8,Uh,12,2,"div",17),e.BQk()),2&t){const n=e.oxw();e.xp6(7),e.Q6J("ngIf",n.serviceForm.controls.ssl.value),e.xp6(1),e.Q6J("ngIf",n.serviceForm.controls.ssl.value&&!e.DdM(2,Wd).includes(n.serviceForm.controls.service_type.value))}}function mp(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,210),e.qZA())}function wc(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,211),e.qZA())}function pd(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,212),e.qZA())}function Sm(t,i){1&t&&(e.TgZ(0,"span",32),e.SDv(1,213),e.qZA())}function Dv(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",8)(2,"label",200)(3,"span"),e.SDv(4,201),e.qZA(),e.TgZ(5,"cd-helper")(6,"span"),e.SDv(7,202),e.qZA()()(),e.TgZ(8,"div",11),e._UZ(9,"input",203),e.YNc(10,mp,2,0,"span",16),e.YNc(11,wc,2,0,"span",16),e.YNc(12,pd,2,0,"span",16),e.YNc(13,Sm,2,0,"span",16),e.qZA()(),e.TgZ(14,"div",8)(15,"label",204),e.tHW(16,205),e._UZ(17,"span")(18,"cd-helper"),e.N_p(),e.qZA(),e.TgZ(19,"div",11)(20,"div",107),e._UZ(21,"input",206),e.TgZ(22,"span",207),e._UZ(23,"button",208)(24,"cd-copy-2-clipboard-button",209),e.qZA()()()(),e.BQk()),2&t){const n=e.oxw(),o=e.MAs(7);e.xp6(10),e.Q6J("ngIf",n.serviceForm.showError("grafana_port",o,"pattern")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("grafana_port",o,"min")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("grafana_port",o,"max")),e.xp6(1),e.Q6J("ngIf",n.serviceForm.showError("grafana_port",o,"required")),e.xp6(8),e.uIk("disabled",!!n.editing||null)}}const K0=function(){return["rgw","iscsi","ingress"]};let Ug=(()=>{class t extends $c.E{constructor(n,o,l,_,v,O,P,G,K,oe,ue,pe,ye,Ue,xe,ke){super(),this.actionLabels=n,this.cephServiceService=o,this.formBuilder=l,this.hostService=_,this.poolService=v,this.router=O,this.taskWrapperService=P,this.timerService=G,this.timerServiceVariable=K,this.rgwRealmService=oe,this.rgwZonegroupService=ue,this.rgwZoneService=pe,this.rgwMultisiteService=ye,this.route=Ue,this.activeModal=xe,this.modalService=ke,this.sub=new bd.w,this.MDS_SVC_ID_PATTERN=/^[a-zA-Z_.-][a-zA-Z0-9_.-]*$/,this.SNMP_DESTINATION_PATTERN=/^[^\:]+:[0-9]/,this.SNMP_ENGINE_ID_PATTERN=/^[0-9A-Fa-f]{10,64}/g,this.INGRESS_SUPPORTED_SERVICE_TYPES=["rgw","nfs"],this.hiddenServices=[],this.editing=!1,this.serviceTypes=[],this.serviceIds=[],this.labelClick=new Di.xQ,this.labelFocus=new Di.xQ,this.services=[],this.multisiteInfo=[],this.defaultRealmId="",this.defaultZonegroupId="",this.defaultZoneId="",this.realmList=[],this.zonegroupList=[],this.zoneList=[],this.showRealmCreationForm=!1,this.searchLabels=we=>(0,Pi.T)(we.pipe((0,cs.b)(200),(0,Yo.x)()),this.labelFocus,this.labelClick.pipe((0,y.h)(()=>!this.typeahead.isPopupOpen()))).pipe((0,Ec.U)(Z=>this.labels.filter(Ft=>Ft.toLowerCase().indexOf(Z.toLowerCase())>-1).slice(0,10))),this.resource="service",this.hosts={options:[],messages:new Rd.a({empty:"There are no hosts.",filter:"Filter hosts"})},this.createForm()}createForm(){this.serviceForm=this.formBuilder.group({service_type:[null,[rn.kI.required]],service_id:[null,[De.h.composeIf({service_type:"mds"},[rn.kI.required,De.h.custom("mdsPattern",n=>!Xe().isEmpty(n)&&!this.MDS_SVC_ID_PATTERN.test(n))]),De.h.requiredIf({service_type:"nfs"}),De.h.requiredIf({service_type:"iscsi"}),De.h.requiredIf({service_type:"ingress"}),De.h.composeIf({service_type:"rgw"},[rn.kI.required]),De.h.custom("uniqueName",n=>this.serviceIds&&this.serviceIds.includes(n))]],placement:["hosts"],label:[null,[De.h.requiredIf({placement:"label",unmanaged:!1})]],hosts:[[]],count:[null,[De.h.number(!1)]],unmanaged:[!1],pool:[null,[De.h.requiredIf({service_type:"iscsi"})]],rgw_frontend_port:[null,[De.h.number(!1)]],realm_name:[null],zonegroup_name:[null],zone_name:[null],trusted_ip_list:[null],api_port:[null,[De.h.number(!1)]],api_user:[null,[De.h.requiredIf({service_type:"iscsi",unmanaged:!1})]],api_password:[null,[De.h.requiredIf({service_type:"iscsi",unmanaged:!1})]],backend_service:[null,[De.h.requiredIf({service_type:"ingress"})]],virtual_ip:[null,[De.h.requiredIf({service_type:"ingress"})]],frontend_port:[null,[De.h.number(!1),De.h.requiredIf({service_type:"ingress"})]],monitor_port:[null,[De.h.number(!1),De.h.requiredIf({service_type:"ingress"})]],virtual_interface_networks:[null],ssl:[!1],ssl_cert:["",[De.h.composeIf({service_type:"rgw",unmanaged:!1,ssl:!0},[rn.kI.required,De.h.pemCert()]),De.h.composeIf({service_type:"iscsi",unmanaged:!1,ssl:!0},[rn.kI.required,De.h.sslCert()]),De.h.composeIf({service_type:"ingress",unmanaged:!1,ssl:!0},[rn.kI.required,De.h.pemCert()])]],ssl_key:["",[De.h.composeIf({service_type:"iscsi",unmanaged:!1,ssl:!0},[rn.kI.required,De.h.sslPrivKey()])]],snmp_version:[null,[De.h.requiredIf({service_type:"snmp-gateway"})]],snmp_destination:[null,{validators:[De.h.requiredIf({service_type:"snmp-gateway"}),De.h.custom("snmpDestinationPattern",n=>!Xe().isEmpty(n)&&!this.SNMP_DESTINATION_PATTERN.test(n))]}],engine_id:[null,[De.h.requiredIf({service_type:"snmp-gateway"}),De.h.custom("snmpEngineIdPattern",n=>!Xe().isEmpty(n)&&!this.SNMP_ENGINE_ID_PATTERN.test(n))]],auth_protocol:["SHA",[De.h.requiredIf({service_type:"snmp-gateway"})]],privacy_protocol:[null],snmp_community:[null,[De.h.requiredIf({snmp_version:"V2c"})]],snmp_v3_auth_username:[null,[De.h.requiredIf({service_type:"snmp-gateway"})]],snmp_v3_auth_password:[null,[De.h.requiredIf({service_type:"snmp-gateway"})]],snmp_v3_priv_password:[null,[De.h.requiredIf({privacy_protocol:{op:"!empty"}})]],grafana_port:[null,[De.h.number(!1)]],grafana_admin_password:[null]})}ngOnInit(){this.action=this.actionLabels.CREATE,this.router.url.includes("services/(modal:create")?this.pageURL="services":this.router.url.includes("services/(modal:edit")&&(this.editing=!0,this.pageURL="services",this.route.params.subscribe(o=>{this.serviceName=o.name,this.serviceType=o.type})),this.cephServiceService.list(new m.LE({fromObject:{limit:-1,offset:0}})).observable.subscribe(o=>{this.serviceList=o,this.services=o.filter(l=>this.INGRESS_SUPPORTED_SERVICE_TYPES.includes(l.service_type))}),this.cephServiceService.getKnownTypes().subscribe(o=>{this.hiddenServices.push("osd","container"),this.serviceTypes=Xe().difference(o,this.hiddenServices).sort()});const n=new Sc.E(()=>{});this.hostService.list(n.toParams(),"false").subscribe(o=>{const l=[];Xe().forEach(o,_=>{if(Xe().get(_,"sources.orchestrator",!1)){const v=new Ds.$(!1,Xe().get(_,"hostname"),"");l.push(v)}}),this.hosts.options=[...l]}),this.hostService.getLabels().subscribe(o=>{this.labels=o}),this.poolService.getList().subscribe(o=>{this.pools=o}),this.editing&&(this.action=this.actionLabels.EDIT,this.disableForEditing(this.serviceType),this.cephServiceService.list(new m.LE({fromObject:{limit:-1,offset:0}}),this.serviceName).observable.subscribe(o=>{if(["service_type","service_id","unmanaged"].forEach(_=>{this.serviceForm.get(_).setValue(o[0][_])}),!o[0].unmanaged){const _=Object.keys(o[0].placement)[0];let v;v=["hosts","label"].indexOf(_)>=0?_:"hosts",this.serviceForm.get("placement").setValue(v),this.serviceForm.get("count").setValue(o[0].placement.count),o[0]?.placement[v]&&this.serviceForm.get(v).setValue(o[0]?.placement[v])}switch(this.serviceType){case"iscsi":["pool","api_password","api_user","trusted_ip_list","api_port"].forEach(P=>{this.serviceForm.get(P).setValue(o[0].spec[P])}),this.serviceForm.get("ssl").setValue(o[0].spec?.api_secure),o[0].spec?.api_secure&&(this.serviceForm.get("ssl_cert").setValue(o[0].spec?.ssl_cert),this.serviceForm.get("ssl_key").setValue(o[0].spec?.ssl_key));break;case"rgw":this.serviceForm.get("rgw_frontend_port").setValue(o[0].spec?.rgw_frontend_port),this.getServiceIds("rgw",o[0].spec?.rgw_realm,o[0].spec?.rgw_zonegroup,o[0].spec?.rgw_zone),this.serviceForm.get("ssl").setValue(o[0].spec?.ssl),o[0].spec?.ssl&&this.serviceForm.get("ssl_cert").setValue(o[0].spec?.rgw_frontend_ssl_certificate);break;case"ingress":["backend_service","virtual_ip","frontend_port","monitor_port","virtual_interface_networks","ssl"].forEach(P=>{this.serviceForm.get(P).setValue(o[0].spec[P])}),o[0].spec?.ssl&&(this.serviceForm.get("ssl_cert").setValue(o[0].spec?.ssl_cert),this.serviceForm.get("ssl_key").setValue(o[0].spec?.ssl_key));break;case"snmp-gateway":["snmp_version","snmp_destination"].forEach(P=>{this.serviceForm.get(P).setValue(o[0].spec[P])}),"V3"===this.serviceForm.getValue("snmp_version")?["engine_id","auth_protocol","privacy_protocol","snmp_v3_auth_username","snmp_v3_auth_password","snmp_v3_priv_password"].forEach(G=>{null!==G&&("snmp_v3_auth_username"===G||"snmp_v3_auth_password"===G||"snmp_v3_priv_password"===G?this.serviceForm.get(G).setValue(o[0].spec.credentials[G]):this.serviceForm.get(G).setValue(o[0].spec[G]))}):this.serviceForm.get("snmp_community").setValue(o[0].spec.credentials.snmp_community);break;case"grafana":this.serviceForm.get("grafana_port").setValue(o[0].spec.port),this.serviceForm.get("grafana_admin_password").setValue(o[0].spec.initial_admin_password)}}))}getDefaultsEntities(n,o,l){const _=this.realmList.find(oe=>oe.id===n),v=this.zonegroupList.find(oe=>oe.id===o),O=this.zoneList.find(oe=>oe.id===l),P=void 0!==_?_.name:null,G=void 0!==v?v.name:"default",K=void 0!==O?O.name:"default";if("default"===G&&!this.zonegroupNames.includes(G)){const oe=new be.iG;oe.name="default",this.zonegroupList.push(oe)}if("default"===K&&!this.zoneNames.includes(K)){const oe=new be.jb;oe.name="default",this.zoneList.push(oe)}return{defaultRealmName:P,defaultZonegroupName:G,defaultZoneName:K}}getServiceIds(n,o,l,_){if(this.serviceIds=this.serviceList?.filter(v=>v.service_type===n).map(v=>v.service_id),"rgw"===n){const v=[this.rgwRealmService.getAllRealmsInfo(),this.rgwZonegroupService.getAllZonegroupsInfo(),this.rgwZoneService.getAllZonesInfo()];this.sub=(0,Za.D)(v).subscribe(O=>{if(this.multisiteInfo=O,this.realmList=void 0!==this.multisiteInfo[0]&&this.multisiteInfo[0].hasOwnProperty("realms")?this.multisiteInfo[0].realms:[],this.zonegroupList=void 0!==this.multisiteInfo[1]&&this.multisiteInfo[1].hasOwnProperty("zonegroups")?this.multisiteInfo[1].zonegroups:[],this.zoneList=void 0!==this.multisiteInfo[2]&&this.multisiteInfo[2].hasOwnProperty("zones")?this.multisiteInfo[2].zones:[],this.realmNames=this.realmList.map(P=>P.name),this.zonegroupNames=this.zonegroupList.map(P=>P.name),this.zoneNames=this.zoneList.map(P=>P.name),this.defaultRealmId=O[0].default_realm,this.defaultZonegroupId=O[1].default_zonegroup,this.defaultZoneId=O[2].default_zone,this.defaultsInfo=this.getDefaultsEntities(this.defaultRealmId,this.defaultZonegroupId,this.defaultZoneId),this.editing){if(o&&!this.realmNames.includes(o)){const P=new be.L6;P.name=o,this.realmList.push(P)}if(l&&!this.zonegroupNames.includes(l)){const P=new be.iG;P.name=l,this.zonegroupList.push(P)}if(_&&!this.zoneNames.includes(_)){const P=new be.jb;P.name=_,this.zoneList.push(P)}void 0===l&&void 0===_&&(l="default",_="default"),this.serviceForm.get("realm_name").setValue(o),this.serviceForm.get("zonegroup_name").setValue(l),this.serviceForm.get("zone_name").setValue(_)}else this.serviceForm.get("realm_name").setValue(this.defaultsInfo.defaultRealmName),this.serviceForm.get("zonegroup_name").setValue(this.defaultsInfo.defaultZonegroupName),this.serviceForm.get("zone_name").setValue(this.defaultsInfo.defaultZoneName);this.showRealmCreationForm=0===this.realmList.length},O=>{const P=new be.jb;P.name="default";const G=new be.iG;G.name="default",this.zoneList.push(P),this.zonegroupList.push(G)})}}disableForEditing(n){"ingress"===(["service_type","service_id"].forEach(l=>{this.serviceForm.get(l).disable()}),n)&&this.serviceForm.get("backend_service").disable()}fileUpload(n,o){const l=n[0],_=new FileReader;_.addEventListener("load",v=>{const O=this.serviceForm.get(o);O.setValue(v.target.result),O.markAsDirty(),O.markAsTouched(),O.updateValueAndValidity()}),_.readAsText(l,"utf8")}prePopulateId(){const n=this.serviceForm.get("service_id"),o=this.serviceForm.getValue("backend_service");n.reset({value:o,disabled:!0})}onSubmit(){const n=this,o=this.serviceForm.getRawValue(),l=o.service_type;let _=`service/${yr.MQ.CREATE}`;this.editing&&(_=`service/${yr.MQ.EDIT}`);const v={service_type:l,placement:{},unmanaged:o.unmanaged};let O;"rgw"===l&&(v.rgw_realm=o.realm_name?o.realm_name:null,v.rgw_zonegroup="default"!==o.zonegroup_name?o.zonegroup_name:null,v.rgw_zone="default"!==o.zone_name?o.zone_name:null),O=o.service_id;const P=O;let G=l;switch(Xe().isString(P)&&!Xe().isEmpty(P)&&(G=`${l}.${P}`,v.service_id=P),l){case"ingress":v.backend_service=o.backend_service,v.service_id=o.backend_service,Xe().isNumber(o.frontend_port)&&o.frontend_port>0&&(v.frontend_port=o.frontend_port),Xe().isString(o.virtual_ip)&&!Xe().isEmpty(o.virtual_ip)&&(v.virtual_ip=o.virtual_ip.trim()),Xe().isNumber(o.monitor_port)&&o.monitor_port>0&&(v.monitor_port=o.monitor_port);break;case"iscsi":v.pool=o.pool;break;case"snmp-gateway":v.credentials={},v.snmp_version=o.snmp_version,v.snmp_destination=o.snmp_destination,"V3"===o.snmp_version?(v.engine_id=o.engine_id,v.auth_protocol=o.auth_protocol,v.credentials.snmp_v3_auth_username=o.snmp_v3_auth_username,v.credentials.snmp_v3_auth_password=o.snmp_v3_auth_password,null!==o.privacy_protocol&&(v.privacy_protocol=o.privacy_protocol,v.credentials.snmp_v3_priv_password=o.snmp_v3_priv_password)):v.credentials.snmp_community=o.snmp_community}if(!o.unmanaged){switch(o.placement){case"hosts":o.hosts.length>0&&(v.placement.hosts=o.hosts);break;case"label":v.placement.label=o.label}switch(Xe().isNumber(o.count)&&o.count>0&&(v.placement.count=o.count),l){case"rgw":Xe().isNumber(o.rgw_frontend_port)&&o.rgw_frontend_port>0&&(v.rgw_frontend_port=o.rgw_frontend_port),v.ssl=o.ssl,o.ssl&&(v.rgw_frontend_ssl_certificate=o.ssl_cert?.trim());break;case"iscsi":Xe().isString(o.trusted_ip_list)&&!Xe().isEmpty(o.trusted_ip_list)&&(v.trusted_ip_list=o.trusted_ip_list.trim()),Xe().isNumber(o.api_port)&&o.api_port>0&&(v.api_port=o.api_port),v.api_user=o.api_user,v.api_password=o.api_password,v.api_secure=o.ssl,o.ssl&&(v.ssl_cert=o.ssl_cert?.trim(),v.ssl_key=o.ssl_key?.trim());break;case"ingress":v.ssl=o.ssl,o.ssl&&(v.ssl_cert=o.ssl_cert?.trim(),v.ssl_key=o.ssl_key?.trim()),v.virtual_interface_networks=o.virtual_interface_networks;break;case"grafana":v.port=o.grafana_port,v.initial_admin_password=o.grafana_admin_password}}this.taskWrapperService.wrapTaskAroundCall({task:new Fr.R(_,{service_name:G}),call:this.editing?this.cephServiceService.update(v):this.cephServiceService.create(v)}).subscribe({error(){n.serviceForm.setErrors({cdSubmitButton:!0})},complete:()=>{"services"===this.pageURL?this.router.navigate([this.pageURL,{outlets:{modal:null}}]):this.activeModal.close()}})}clearValidations(){const n=this.serviceForm.getValue("snmp_version"),o=this.serviceForm.getValue("privacy_protocol");"V3"===n?this.serviceForm.get("snmp_community").clearValidators():(this.serviceForm.get("engine_id").clearValidators(),this.serviceForm.get("auth_protocol").clearValidators(),this.serviceForm.get("privacy_protocol").clearValidators(),this.serviceForm.get("snmp_v3_auth_username").clearValidators(),this.serviceForm.get("snmp_v3_auth_password").clearValidators()),null===o&&this.serviceForm.get("snmp_v3_priv_password").clearValidators()}createMultisiteSetup(){this.bsModalRef=this.modalService.show(Si,{size:"lg"}),this.bsModalRef.componentInstance.submitAction.subscribe(()=>{this.getServiceIds("rgw")})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yr.p4),e.Y36(rf),e.Y36(Qi.O),e.Y36(Wa.x),e.Y36(Uo.q),e.Y36(Ee.F0),e.Y36(Gr.P),e.Y36(Ls.f),e.Y36(yr.eu),e.Y36(Y.y),e.Y36(xt.K),e.Y36(Ke.g),e.Y36(x.o),e.Y36(Ee.gz),e.Y36(yi.Kz),e.Y36(ca.Z))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-service-form"]],viewQuery:function(n,o){if(1&n&&e.Gf(yi.dR,5),2&n){let l;e.iGM(l=e.CRH())&&(o.typeahead=l.first)}},inputs:{hiddenServices:"hiddenServices",editing:"editing",serviceName:"serviceName",serviceType:"serviceType"},features:[e.qOj],decls:48,vars:36,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue,pe,ye,Ue,xe,ke,we,Z,Ft,Dt,Yt,ln,$n,nn,Jn,zn,Zr,$r,ui,gi,Un,lr,ar,Cr,Wn,ai,ho,Yi,lo,pi,Kn,Nn,_i,Zi,So,us,Zo,pa,va,qi,xo,$o,rt,kt,Lt,cr,Yr,li,eo,_a,ps,Fl,Gl,Ou,Pc,np,ou,yd,kp,Y_,S_,j_,Au,hd,n_,co,xr,ki,Co,os,Ss,Rs,ks,Ua,Dl,uc,Sr,oo,Ns,fo,ea,xs,Bu,Zl,Hl,hl,ol,cc,Gu,cf,Ep,su,Mf,z_,Sp,Eh,b_,wm;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Type",o="-- Select a service type --",l="Unmanaged",_="If set to true, the orchestrator will not start nor stop any daemon associated with this service. Placement and all other properties will be ignored.",v="" + "\ufffd#2\ufffd" + " Click here" + "\ufffd/#2\ufffd" + " to create a new Realm/Zone Group/Zone ",O="This field is required.",P="Backend Service",G="Loading...",K="-- No service available --",oe="-- Select an existing service --",ue="This field is required.",pe="Id",ye="Used in the service name which is <service_type.service_id>",Ue="This field is required.",xe="This service id is already in use.",ke="MDS service id must start with a letter and contain alphanumeric characters or '.', '-', and '_'",we="Realm",Z="-- No realm available --",Ft="Zone Group",Dt="Zone",Yt="Placement",ln="Hosts",$n="Label",nn="Label",Jn="This field is required.",zn="Hosts",Zr="Count",$r="Only that number of daemons will be created.",ui="The value must be at least 1.",gi="The entered value needs to be a number.",Un="Port",lr="The entered value needs to be a number.",ar="The value must be at least 1.",Cr="The value cannot exceed 65535.",Wn="Pool",ai="Loading...",ho="-- No pools available --",Yi="-- Select a pool --",lo="This field is required.",pi="Trusted IPs",Kn="Comma separated list of IP addresses.",Nn="Please add the " + "\ufffd#11\ufffd" + "Ceph Manager" + "\ufffd/#11\ufffd" + " IP addresses here, otherwise the iSCSI gateways can't be reached.",_i="Port",Zi="User",So="Password",us="The entered value needs to be a number.",Zo="The value must be at least 1.",pa="The value cannot exceed 65535.",va="This field is required.",qi="This field is required.",xo="Virtual IP",$o="The virtual IP address and subnet (in CIDR notation) where the ingress service will be available.",rt="Frontend Port",kt="The port used to access the ingress service.",Lt="Monitor Port",cr="The port used by haproxy for load balancer status.",Yr="This field is required.",li="The entered value needs to be a number.",eo="The value must be at least 1.",_a="The value cannot exceed 65535.",ps="This field is required.",Fl="The entered value needs to be a number.",Gl="The value must be at least 1.",Ou="The value cannot exceed 65535.",Pc="This field is required.",np="CIDR Networks",ou="A list of networks to identify which network interface to use for the virtual IP address.",yd="Version",kp="-- Select SNMP version --",Y_="Destination",S_="Must be of the format hostname:port.",j_="Credentials",Au="This field is required.",hd="This field is required.",n_="The value does not match the pattern: " + "\ufffd#2\ufffd" + "hostname:port" + "\ufffd/#2\ufffd" + "",co="Engine Id",xr="Unique identifier for the device (in hex).",ki="This field is required.",Co="The value does not match the pattern: " + "\ufffd#2\ufffd" + "Must be in hexadecimal and length must be multiple of 2 with min value = 10 amd max value = 64." + "\ufffd/#2\ufffd" + "",os="Auth Protocol",Ss="-- Select auth protocol --",Rs="This field is required.",ks="Privacy Protocol",Ua="-- Select privacy protocol --",Dl="SNMP Community",uc="This field is required.",Sr="Username",oo="This field is required.",Ns="Password",fo="This field is required.",ea="Encryption",xs="This field is required.",Bu="SSL",Zl="Certificate",Hl="The SSL certificate in PEM format.",hl="This field is required.",ol="Invalid SSL certificate.",cc="Private key",Gu="The SSL private key in PEM format.",cf="This field is required.",Ep="Invalid SSL private key.",su="Grafana Port",Mf="The default port used by grafana.",z_="" + "\ufffd#17\ufffd" + "Grafana Password" + "\ufffd/#17\ufffd" + "" + "\ufffd#18\ufffd" + "The password of the default Grafana Admin. Set once on first-run." + "\ufffd/#18\ufffd" + "",Sp="The entered value needs to be a number.",Eh="The value must be at least 1.",b_="The value cannot exceed 65535.",wm="This field is required.",[[3,"pageURL","modalRef"],[1,"modal-title"],i,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],["type","info","spacingClass","mb-3",4,"ngIf"],[1,"form-group","row"],["for","service_type",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["id","service_type","name","service_type","formControlName","service_type",1,"form-select",3,"change"],[3,"ngValue"],o,[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],["class","form-group row",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["id","unmanaged","type","checkbox","formControlName","unmanaged",1,"custom-control-input"],["for","unmanaged",1,"custom-control-label"],l,_,[4,"ngIf"],[1,"modal-footer"],[1,"text-right"],[3,"form","submitText","submitActionEvent"],["type","info","spacingClass","mb-3"],v,[1,"text-decoration-underline",3,"click"],[3,"value"],[1,"invalid-feedback"],O,["for","backend_service",1,"cd-col-form-label",3,"ngClass"],P,["id","backend_service","name","backend_service","formControlName","backend_service",1,"form-select",3,"change"],[3,"ngValue",4,"ngIf"],G,K,oe,ue,["for","service_id",1,"cd-col-form-label",3,"ngClass"],pe,ye,["id","service_id","type","text","formControlName","service_id",1,"form-control"],Ue,xe,ke,["for","realm_name",1,"cd-col-form-label"],we,["id","realm_name","formControlName","realm_name","name","realm_name",1,"form-select"],["selected","",4,"ngIf"],["selected",""],Z,["for","zonegroup_name",1,"cd-col-form-label"],Ft,["id","zonegroup_name","formControlName","zonegroup_name","name","zonegroup_name",1,"form-select"],["for","zone_name",1,"cd-col-form-label"],Dt,["id","zone_name","formControlName","zone_name","name","zone_name",1,"form-select"],["for","placement",1,"cd-col-form-label"],Yt,["id","placement","formControlName","placement",1,"form-select"],["value","hosts"],ln,["value","label"],$n,["for","label",1,"cd-col-form-label"],nn,["id","label","type","text","formControlName","label",1,"form-control",3,"ngbTypeahead","focus","click"],Jn,["for","hosts",1,"cd-col-form-label"],zn,["id","hosts",3,"data","options","messages"],["for","count",1,"cd-col-form-label"],Zr,$r,["id","count","type","number","formControlName","count","min","1",1,"form-control"],ui,gi,["for","rgw_frontend_port",1,"cd-col-form-label"],Un,["id","rgw_frontend_port","type","number","formControlName","rgw_frontend_port","min","1","max","65535",1,"form-control"],lr,ar,Cr,["for","pool",1,"cd-col-form-label","required"],Wn,["id","pool","name","pool","formControlName","pool",1,"form-select"],ai,ho,Yi,lo,["for","trusted_ip_list",1,"cd-col-form-label"],pi,Kn,Nn,["id","trusted_ip_list","type","text","formControlName","trusted_ip_list",1,"form-control"],["for","api_port",1,"cd-col-form-label"],_i,["id","api_port","type","number","formControlName","api_port","min","1","max","65535",1,"form-control"],["for","api_user",1,"cd-col-form-label",3,"ngClass"],Zi,["id","api_user","type","text","formControlName","api_user",1,"form-control"],["for","api_password",1,"cd-col-form-label",3,"ngClass"],So,[1,"input-group"],["id","api_password","type","password","autocomplete","new-password","formControlName","api_password",1,"form-control"],["type","button","cdPasswordButton","api_password",1,"btn","btn-light"],["source","api_password"],us,Zo,pa,va,qi,["for","virtual_ip",1,"cd-col-form-label",3,"ngClass"],xo,$o,["id","virtual_ip","type","text","formControlName","virtual_ip",1,"form-control"],["for","frontend_port",1,"cd-col-form-label",3,"ngClass"],rt,kt,["id","frontend_port","type","number","formControlName","frontend_port","min","1","max","65535",1,"form-control"],["for","monitor_port",1,"cd-col-form-label",3,"ngClass"],Lt,cr,["id","monitor_port","type","number","formControlName","monitor_port","min","1","max","65535",1,"form-control"],Yr,li,eo,_a,ps,Fl,Gl,Ou,Pc,["for","virtual_interface_networks",1,"cd-col-form-label"],np,ou,["id","virtual_interface_networks","type","text","formControlName","virtual_interface_networks",1,"form-control"],["for","snmp_version",1,"cd-col-form-label","required"],yd,["id","snmp_version","name","snmp_version","formControlName","snmp_version",1,"form-select",3,"change"],kp,["for","snmp_destination",1,"cd-col-form-label","required"],Y_,S_,["id","snmp_destination","type","text","formControlName","snmp_destination",1,"form-control"],j_,Au,hd,n_,["for","engine_id",1,"cd-col-form-label","required"],co,xr,["id","engine_id","type","text","formControlName","engine_id",1,"form-control"],ki,Co,["for","auth_protocol",1,"cd-col-form-label","required"],os,["id","auth_protocol","name","auth_protocol","formControlName","auth_protocol",1,"form-select"],Ss,Rs,["for","privacy_protocol",1,"cd-col-form-label"],ks,["id","privacy_protocol","name","privacy_protocol","formControlName","privacy_protocol",1,"form-select"],Ua,["for","snmp_community",1,"cd-col-form-label","required"],Dl,["id","snmp_community","type","text","formControlName","snmp_community",1,"form-control"],uc,["for","snmp_v3_auth_username",1,"cd-col-form-label","required"],Sr,["id","snmp_v3_auth_username","type","text","formControlName","snmp_v3_auth_username",1,"form-control"],oo,["for","snmp_v3_auth_password",1,"cd-col-form-label","required"],Ns,["id","snmp_v3_auth_password","type","password","formControlName","snmp_v3_auth_password",1,"form-control"],fo,["for","snmp_v3_priv_password",1,"cd-col-form-label","required"],ea,["id","snmp_v3_priv_password","type","password","formControlName","snmp_v3_priv_password",1,"form-control"],xs,["id","ssl","type","checkbox","formControlName","ssl",1,"custom-control-input"],["for","ssl",1,"custom-control-label"],Bu,["for","ssl_cert",1,"cd-col-form-label"],Zl,Hl,["id","ssl_cert","formControlName","ssl_cert","rows","5",1,"form-control","resize-vertical","text-monospace","text-pre"],["type","file",3,"change"],hl,ol,["for","ssl_key",1,"cd-col-form-label"],cc,Gu,["id","ssl_key","formControlName","ssl_key","rows","5",1,"form-control","resize-vertical","text-monospace","text-pre"],cf,Ep,["for","grafana_port",1,"cd-col-form-label"],su,Mf,["id","grafana_port","type","number","formControlName","grafana_port","min","1","max","65535",1,"form-control"],["for","grafana_admin_password",1,"cd-col-form-label"],z_,["id","grafana_admin_password","type","password","autocomplete","new-password","formControlName","grafana_admin_password",1,"form-control"],[1,"input-group-append"],["type","button","cdPasswordButton","grafana_admin_password",1,"btn","btn-light"],["source","grafana_admin_password"],Sp,Eh,b_,wm]},template:function(n,o){if(1&n&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.qZA(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6),e.YNc(9,di,3,0,"cd-alert-panel",7),e.TgZ(10,"div",8)(11,"label",9),e.SDv(12,10),e.qZA(),e.TgZ(13,"div",11)(14,"select",12),e.NdJ("change",function(_){return o.getServiceIds(_.target.value)}),e.TgZ(15,"option",13),e.SDv(16,14),e.qZA(),e.YNc(17,Wr,2,2,"option",15),e.qZA(),e.YNc(18,si,2,0,"span",16),e.qZA()(),e.YNc(19,bf,10,9,"div",17),e.YNc(20,kh,11,7,"div",17),e.YNc(21,fg,7,3,"div",17),e.YNc(22,pg,6,2,"div",17),e.YNc(23,fh,6,2,"div",17),e.TgZ(24,"div",8)(25,"div",18)(26,"div",19),e._UZ(27,"input",20),e.TgZ(28,"label",21),e.SDv(29,22),e.qZA(),e.TgZ(30,"cd-helper"),e.SDv(31,23),e.qZA()()()(),e.YNc(32,Qf,9,0,"div",17),e.YNc(33,nd,6,2,"div",17),e.YNc(34,Zd,5,3,"div",17),e.YNc(35,hg,10,2,"div",17),e.YNc(36,km,9,3,"ng-container",24),e.YNc(37,Lg,10,5,"div",17),e.YNc(38,$g,37,13,"ng-container",24),e.YNc(39,yg,38,22,"ng-container",24),e.YNc(40,Fu,31,13,"ng-container",24),e.YNc(41,Nd,9,3,"ng-container",24),e.YNc(42,Dv,25,5,"ng-container",24),e.qZA(),e.TgZ(43,"div",25)(44,"div",26)(45,"cd-form-button-panel",27),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(46,"titlecase"),e.ALo(47,"upperFirst"),e.qZA()()()(),e.BQk(),e.qZA()),2&n){const l=e.MAs(7);e.Q6J("pageURL",o.pageURL)("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,27,o.action))(e.lcZ(4,29,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.serviceForm),e.xp6(3),e.Q6J("ngIf","rgw"===o.serviceForm.controls.service_type.value&&o.showRealmCreationForm),e.xp6(6),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",o.serviceTypes),e.xp6(1),e.Q6J("ngIf",o.serviceForm.showError("service_type",l,"required")),e.xp6(1),e.Q6J("ngIf","ingress"===o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","snmp-gateway"!==o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","rgw"===o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","rgw"===o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","rgw"===o.serviceForm.controls.service_type.value),e.xp6(9),e.Q6J("ngIf",!o.serviceForm.controls.unmanaged.value),e.xp6(1),e.Q6J("ngIf",!o.serviceForm.controls.unmanaged.value&&"label"===o.serviceForm.controls.placement.value),e.xp6(1),e.Q6J("ngIf",!o.serviceForm.controls.unmanaged.value&&"hosts"===o.serviceForm.controls.placement.value),e.xp6(1),e.Q6J("ngIf",!o.serviceForm.controls.unmanaged.value),e.xp6(1),e.Q6J("ngIf",!o.serviceForm.controls.unmanaged.value&&"rgw"===o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","iscsi"===o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf",!o.serviceForm.controls.unmanaged.value&&"iscsi"===o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","ingress"===o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf","snmp-gateway"===o.serviceForm.controls.service_type.value),e.xp6(1),e.Q6J("ngIf",!o.serviceForm.controls.unmanaged.value&&e.DdM(35,K0).includes(o.serviceForm.controls.service_type.value)),e.xp6(1),e.Q6J("ngIf","grafana"===o.serviceForm.controls.service_type.value),e.xp6(3),e.Q6J("form",o.serviceForm)("submitText",e.lcZ(46,31,o.action)+" "+e.lcZ(47,33,o.resource))}},dependencies:[f.mk,f.sg,f.O5,La.S,bc.m,al.z,Zu.G,ia.s,rl.p,oa.C,st.o,za.b,Va.P,Os.V,rn._Y,rn.YN,rn.Kr,rn.Fj,rn.wV,rn.Wl,rn.EJ,rn.JJ,rn.JL,rn.qQ,rn.Fd,rn.sg,rn.u,yi.dR,f.rS,Cu.m]}),t})();function X0(t,i){if(1&t&&(e.ynx(0),e._UZ(1,"cd-service-daemon-list",1),e.BQk()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("serviceName",n.selection.service_name)}}let q0=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-service-details"]],inputs:{permissions:"permissions",selection:"selection"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"serviceName"]],template:function(n,o){1&n&&e.YNc(0,X0,2,1,"ng-container",0),2&n&&e.Q6J("ngIf",o.selection)},dependencies:[f.O5,N_]}),t})();const Bg=["runningTpl"];function bm(t,i){1&t&&e._UZ(0,"cd-orchestrator-doc-panel")}function Tm(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"cd-table",3),e.NdJ("fetchData",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.getServices(l))})("setExpandedRow",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.setExpandedRow(l))})("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.updateSelection(l))}),e._UZ(2,"cd-table-actions",4)(3,"cd-service-details",5),e.qZA(),e.BQk()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("data",n.services)("columns",n.columns)("autoReload",5e3)("hasDetails",n.hasDetails)("serverSide",!0)("count",n.count),e.xp6(1),e.Q6J("permission",n.permissions.hosts)("selection",n.selection)("tableActions",n.tableActions),e.xp6(1),e.Q6J("permissions",n.permissions)("selection",n.expandedRow)}}const Cm=function(t){return[t]};function A1(t,i){if(1&t&&e._UZ(0,"i",8),2&t){const n=e.oxw(2);e.Q6J("ngClass",e.VKq(1,Cm,n.icons.warning))}}function Tg(t,i){if(1&t&&(e.TgZ(0,"span",6),e._uU(1),e.qZA(),e.YNc(2,A1,1,3,"i",7)),2&t){const n=i.value;e.xp6(1),e.AsE(" ",n.running," / ",n.size," "),e.xp6(1),e.Q6J("ngIf",0==n.running||0==n.size)}}const Mm="services";let Kf=(()=>{class t extends Hr.o{constructor(n,o,l,_,v,O,P,G){super(),this.actionLabels=n,this.authStorageService=o,this.modalService=l,this.orchService=_,this.cephServiceService=v,this.relativeDatePipe=O,this.taskWrapperService=P,this.router=G,this.hiddenColumns=[],this.hiddenServices=[],this.hasDetails=!0,this.routedModal=!0,this.showDocPanel=!1,this.count=0,this.actionOrchFeatures={create:[Jc.SERVICE_CREATE],update:[Jc.SERVICE_EDIT],delete:[Jc.SERVICE_DELETE]},this.columns=[],this.services=[],this.isLoadingServices=!1,this.selection=new Io.r,this.icons=Rr.P,this.permissions=this.authStorageService.getPermissions(),this.tableActions=[{permission:"create",icon:Rr.P.add,click:()=>this.openModal(),name:this.actionLabels.CREATE,canBePrimary:K=>!K.hasSelection},{permission:"update",icon:Rr.P.edit,click:()=>this.openModal(!0),name:this.actionLabels.EDIT,disable:K=>this.getDisable("update",K)},{permission:"delete",icon:Rr.P.destroy,click:()=>this.deleteAction(),name:this.actionLabels.DELETE,disable:K=>this.getDisable("delete",K)}]}openModal(n=!1){if(this.routedModal)this.router.navigate(n?[Mm,{outlets:{modal:[yr.MQ.EDIT,this.selection.first().service_type,this.selection.first().service_name]}}]:[Mm,{outlets:{modal:[yr.MQ.CREATE]}}]);else{let o={};o=n?{serviceName:this.selection.first()?.service_name,serviceType:this.selection?.first()?.service_type,hiddenServices:this.hiddenServices,editing:n}:{hiddenServices:this.hiddenServices,editing:n},this.bsModalRef=this.modalService.show(Ug,o,{size:"lg"})}}ngOnInit(){const n=[{name:"Service",prop:"service_name",flexGrow:1},{name:"Placement",prop:"",pipe:new ri,flexGrow:2},{name:"Running",prop:"status",flexGrow:1,cellTemplate:this.runningTpl},{name:"Last Refreshed",prop:"status.last_refresh",pipe:this.relativeDatePipe,flexGrow:1}];this.columns=n.filter(o=>!this.hiddenColumns.includes(o.prop)),this.orchService.status().subscribe(o=>{this.orchStatus=o,this.showDocPanel=!o.available})}ngOnChanges(){this.orchStatus?.available&&(this.services=[],this.table.reloadData())}getDisable(n,o){return"delete"===n&&!o?.hasSingleSelection||"update"===n&&["osd","container"].indexOf(this.selection.first()?.service_type)>=0||this.orchService.getTableActionDisableDesc(this.orchStatus,this.actionOrchFeatures[n])}getServices(n){if(this.isLoadingServices)return;this.isLoadingServices=!0;const o=this.cephServiceService.list(n.toParams());o.observable.subscribe(l=>{this.services=l,this.count=o.count,this.services=this.services.filter(_=>!this.hiddenServices.includes(_.service_name)),this.isLoadingServices=!1},()=>{this.isLoadingServices=!1,this.services=[],n.error()})}updateSelection(n){this.selection=n}deleteAction(){const n=this.selection.first();this.modalService.show(Go.M,{itemDescription:"Service",itemNames:[n.service_name],actionDescription:"delete",submitActionObservable:()=>this.taskWrapperService.wrapTaskAroundCall({task:new Fr.R(`service/${yr.MQ.DELETE}`,{service_name:n.service_name}),call:this.cephServiceService.delete(n.service_name)}).pipe((0,Ar.g)(5e3))})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yr.p4),e.Y36(Do.j),e.Y36(ca.Z),e.Y36(td),e.Y36(rf),e.Y36(Wf.h),e.Y36(Gr.P),e.Y36(Ee.F0))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-services"]],viewQuery:function(n,o){if(1&n&&(e.Gf(zo.a,7),e.Gf(Bg,7)),2&n){let l;e.iGM(l=e.CRH())&&(o.table=l.first),e.iGM(l=e.CRH())&&(o.runningTpl=l.first)}},inputs:{hostname:"hostname",hiddenColumns:"hiddenColumns",hiddenServices:"hiddenServices",hasDetails:"hasDetails",routedModal:"routedModal"},features:[e._Bn([{provide:Qn.F,useValue:new Qn.F(Mm)}]),e.qOj,e.TTD],decls:5,vars:2,consts:[[4,"ngIf"],["name","modal"],["runningTpl",""],["identifier","service_name","forceIdentifier","true","columnMode","flex","selectionType","single",3,"data","columns","autoReload","hasDetails","serverSide","count","fetchData","setExpandedRow","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"permissions","selection"],["ngbTooltip","Service instances running out of the total number of services requested."],["class","icon-warning-color",3,"ngClass",4,"ngIf"],[1,"icon-warning-color",3,"ngClass"]],template:function(n,o){1&n&&(e.YNc(0,bm,1,0,"cd-orchestrator-doc-panel",0),e.YNc(1,Tm,4,11,"ng-container",0),e._UZ(2,"router-outlet",1),e.YNc(3,Tg,3,3,"ng-template",null,2,e.W1O)),2&n&&(e.Q6J("ngIf",o.showDocPanel),e.xp6(1),e.Q6J("ngIf",null==o.orchStatus?null:o.orchStatus.available))},dependencies:[f.mk,f.O5,zf,zo.a,$l.K,Ee.lC,yi._L,q0]}),t})();var $_=(()=>{return(t=$_||($_={})).COST_CAPACITY="cost_capacity",t.THROUGHPUT="throughput_optimized",t.IOPS="iops_optimized",$_;var t})();let D1=(()=>{class t{constructor(n,o,l,_,v){this.activeModal=n,this.actionLabels=o,this.formBuilder=l,this.osdService=_,this.taskWrapper=v,this.driveGroups=[],this.submitAction=new e.vpe,this.action=o.CREATE,this.createForm()}createForm(){this.formGroup=this.formBuilder.group({})}onSubmit(){const n=Xe().join(Xe().map(this.driveGroups,"service_id"),", ");this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("osd/"+yr.MQ.CREATE,{tracking_id:n}),call:this.osdService.create(this.driveGroups,n)}).subscribe({error:()=>{this.formGroup.setErrors({cdSubmitButton:!0})},complete:()=>{this.submitAction.emit(),this.activeModal.close()}})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yi.Kz),e.Y36(yr.p4),e.Y36(Qi.O),e.Y36(Zc),e.Y36(Gr.P))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-creation-preview-modal"]],inputs:{driveGroups:"driveGroups"},outputs:{submitAction:"submitAction"},decls:15,vars:9,consts:function(){let i,n;return i="OSD creation preview",n="DriveGroups",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],n,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"]]},template:function(n,o){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"h4"),e.SDv(8,7),e.qZA(),e.TgZ(9,"pre"),e._uU(10),e.ALo(11,"json"),e.qZA()(),e.TgZ(12,"div",8)(13,"cd-form-button-panel",9),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(14,"titlecase"),e.qZA()()(),e.BQk(),e.qZA()),2&n&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.formGroup),e.xp6(6),e.Oqu(e.lcZ(11,5,o.driveGroups)),e.xp6(3),e.Q6J("form",o.formGroup)("submitText",e.lcZ(14,7,o.action)))},dependencies:[al.z,rl.p,Os.V,rn._Y,rn.JL,rn.sg,f.Ts,f.rS]}),t})();const Rv=["inventoryDevices"];function R1(t,i){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.hij(" ",n," ")}}function ey(t,i){if(1&t&&(e.TgZ(0,"cd-alert-panel",13),e.ynx(1),e.SDv(2,14),e.BQk(),e.YNc(3,R1,2,1,"span",15),e.qZA()),2&t){const n=e.oxw();e.Q6J("showTitle",!1),e.xp6(3),e.Q6J("ngForOf",n.requiredFilters)}}function ty(t,i){if(1&t&&(e.TgZ(0,"div")(1,"p",17)(2,"span"),e.SDv(3,18),e.ALo(4,"dimlessBinary"),e.qZA()()()),2&t){const n=e.oxw();e.xp6(4),e.pQV(n.filteredDevices.length)(e.lcZ(4,2,n.capacity)),e.QtT(3)}}const x1=function(){return["available","osd_ids"]};let Bh=(()=>{class t{constructor(n,o,l,_,v){this.formBuilder=n,this.cdRef=o,this.activeModal=l,this.actionLabels=_,this.wizardStepService=v,this.submitAction=new e.vpe,this.icons=Rr.P,this.filterColumns=[],this.devices=[],this.filteredDevices=[],this.capacity=0,this.canSubmit=!1,this.requiredFilters=[],this.action=_.ADD,this.createForm()}ngAfterViewInit(){const n=Xe().filter(this.inventoryDevices.columns,o=>this.filterColumns.includes(o.prop)&&"hostname"!==o.prop);setTimeout(()=>{this.requiredFilters=Xe().map(n,"name")},0)}createForm(){this.formGroup=this.formBuilder.group({})}onFilterChange(n){if(this.capacity=0,this.canSubmit=!1,Xe().isEmpty(n.filters))this.filteredDevices=[],this.event=void 0;else{const o=n.filters.filter(l=>"hostname"!==l.prop);this.canSubmit=!Xe().isEmpty(o),this.filteredDevices=n.data,this.capacity=Xe().sumBy(this.filteredDevices,"sys_api.size"),this.event=n}this.cdRef.detectChanges()}onSubmit(){this.submitAction.emit(this.event),this.activeModal.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Qi.O),e.Y36(e.sBO),e.Y36(yi.Kz),e.Y36(yr.p4),e.Y36(Cp))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-devices-selection-modal"]],viewQuery:function(n,o){if(1&n&&e.Gf(Rv,5),2&n){let l;e.iGM(l=e.CRH())&&(o.inventoryDevices=l.first)}},outputs:{submitAction:"submitAction"},decls:14,vars:16,consts:function(){let i,n,o;return i="" + "\ufffd0\ufffd" + " devices",n="At least one of these filters must be applied in order to proceed:",o="Number of devices: " + "\ufffd0\ufffd" + ". Raw capacity: " + "\ufffd1\ufffd" + ".",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"modal-body"],["type","warning","size","slim",3,"showTitle",4,"ngIf"],[3,"devices","filterColumns","hostname","diskType","hiddenColumns","filterChange"],["inventoryDevices",""],[4,"ngIf"],[1,"modal-footer"],[3,"form","disabled","submitText","submitActionEvent"],["type","warning","size","slim",3,"showTitle"],n,["class","badge badge-dark ms-2",4,"ngFor","ngForOf"],[1,"badge","badge-dark","ms-2"],[1,"text-center"],o]},template:function(n,o){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6),e.YNc(7,ey,4,2,"cd-alert-panel",7),e.TgZ(8,"cd-inventory-devices",8,9),e.NdJ("filterChange",function(_){return o.onFilterChange(_)}),e.qZA(),e.YNc(10,ty,5,4,"div",10),e.qZA(),e.TgZ(11,"div",11)(12,"cd-form-button-panel",12),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(13,"titlecase"),e.qZA()()(),e.BQk(),e.qZA()),2&n&&(e.Q6J("modalRef",o.activeModal),e.xp6(2),e.pQV(o.deviceType),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.formGroup),e.xp6(3),e.Q6J("ngIf",!o.canSubmit),e.xp6(1),e.Q6J("devices",o.devices)("filterColumns",o.filterColumns)("hostname",o.hostname)("diskType",o.diskType)("hiddenColumns",e.DdM(15,x1)),e.xp6(2),e.Q6J("ngIf",o.canSubmit),e.xp6(2),e.Q6J("form",o.formGroup)("disabled",!o.canSubmit||0===o.filteredDevices.length)("submitText",e.lcZ(13,13,o.action)))},dependencies:[f.sg,f.O5,al.z,Zu.G,rl.p,Os.V,rn._Y,rn.JL,rn.sg,Vf,f.rS,Wl.$]}),t})();function tu(t,i){1&t&&(e.TgZ(0,"span"),e.SDv(1,7),e.qZA())}function w1(t,i){1&t&&(e.TgZ(0,"span"),e.SDv(1,8),e.qZA())}function g_(t,i){1&t&&(e.TgZ(0,"span"),e.SDv(1,9),e.qZA())}const P1=function(t){return[t]};function Jp(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"button",10),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.showSelectionModal())}),e._UZ(2,"i",11),e.ynx(3),e.SDv(4,12),e.BQk(),e.qZA(),e.BQk()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("title",n.addButtonTooltip)("disabled",0===n.availDevices.length||!n.canSelect||n.expansionCanSelect),e.xp6(1),e.Q6J("ngClass",e.VKq(3,P1,n.icons.add))}}function Ac(t,i){if(1&t&&(e.TgZ(0,"span")(1,"span",19),e._uU(2),e.qZA()()),2&t){const n=i.$implicit;e.xp6(2),e.AsE("",n.name,": ",n.value.formatted,"")}}function ny(t,i){if(1&t&&(e.TgZ(0,"div",20)(1,"span"),e.SDv(2,21),e.ALo(3,"dimlessBinary"),e.qZA()()),2&t){const n=e.oxw(2);e.xp6(3),e.pQV(e.lcZ(3,1,n.capacity)),e.QtT(2)}}const ry=function(){return["available","osd_ids"]},Bm=function(){return[]};function xv(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",13),e.YNc(1,Ac,3,2,"span",14),e.TgZ(2,"a",15),e.NdJ("click",function(){return e.CHM(n),e.oxw().clearDevices(),e.KtG(!1)}),e._UZ(3,"i",11),e.ynx(4),e.SDv(5,16),e.BQk(),e.qZA()(),e.TgZ(6,"div"),e._UZ(7,"cd-inventory-devices",17),e.qZA(),e.YNc(8,ny,4,3,"div",18)}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.appliedFilters),e.xp6(2),e.Q6J("ngClass",e.VKq(6,P1,n.icons.clearFilters)),e.xp6(4),e.Q6J("devices",n.devices)("hiddenColumns",e.DdM(8,ry))("filterColumns",e.DdM(9,Bm)),e.xp6(1),e.Q6J("ngIf","data"===n.type)}}let iy=(()=>{class t{constructor(n,o,l){this.modalService=n,this.osdService=o,this.router=l,this.selected=new e.vpe,this.cleared=new e.vpe,this.icons=Rr.P,this.devices=[],this.capacity=0,this.appliedFilters=new Array,this.expansionCanSelect=!1,this.tooltips={noAvailDevices:"No available devices",addPrimaryFirst:"Please add primary devices first",addByFilters:"Add devices by using filters"},this.isOsdPage=this.router.url.includes("/osd")}ngOnInit(){this.isOsdPage||(this.devices=this.osdService?.osdDevices[this.type]?this.osdService.osdDevices[this.type]:[],this.capacity=Xe().sumBy(this.devices,"sys_api.size"),this.expansionCanSelect=!!this.osdService?.osdDevices&&this.osdService?.osdDevices.disableSelect),this.updateAddButtonTooltip()}ngOnChanges(){this.updateAddButtonTooltip()}showSelectionModal(){this.modalService.show(Bh,{hostname:this.hostname,deviceType:this.name,diskType:"Primary"===this.name?"hdd":"ssd",devices:this.availDevices,filterColumns:["hostname","human_readable_type","sys_api.vendor","sys_api.model","sys_api.size"]},{size:"xl"}).componentInstance.submitAction.subscribe(v=>{this.devices=v.data,this.capacity=Xe().sumBy(this.devices,"sys_api.size"),this.appliedFilters=v.filters;const O=Xe().assign({type:this.type},v);this.isOsdPage||(this.osdService.osdDevices[this.type]=this.devices,this.osdService.osdDevices.disableSelect=this.canSelect||this.devices.length===this.availDevices.length,this.osdService.osdDevices[this.type].capacity=this.capacity),this.selected.emit(O)})}updateAddButtonTooltip(){this.addButtonTooltip="data"===this.type&&0===this.availDevices.length?this.tooltips.noAvailDevices:this.canSelect?0===this.availDevices.length?this.tooltips.noAvailDevices:this.tooltips.addByFilters:this.tooltips.addPrimaryFirst}clearDevices(){this.isOsdPage||(this.expansionCanSelect=!1,this.osdService.osdDevices.disableSelect=!1,this.osdService.osdDevices=[]);const n={type:this.type,clearedDevices:[...this.devices]};this.devices=[],this.cleared.emit(n)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(ca.Z),e.Y36(Zc),e.Y36(Ee.F0))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-devices-selection-groups"]],inputs:{type:"type",name:"name",hostname:"hostname",availDevices:"availDevices",canSelect:"canSelect"},outputs:{selected:"selected",cleared:"cleared"},features:[e.TTD],decls:12,vars:6,consts:function(){let i,n,o,l,_,v,O;return i="" + "\ufffd0\ufffd" + " devices",n="The primary storage devices. These devices contain all OSD data.",o="Write-Ahead-Log devices. These devices are used for BlueStore\u2019s internal journal. It is only useful to use a WAL device if the device is faster than the primary device (e.g. NVME devices or SSDs). If there is only a small amount of fast storage available (e.g., less than a gigabyte), we recommend using it as a WAL device.",l="DB devices can be used for storing BlueStore\u2019s internal metadata. It is only helpful to provision a DB device if it is faster than the primary device (e.g. NVME devices or SSD).",_="Add",v="Clear",O="Raw capacity: " + "\ufffd0\ufffd" + "",[[1,"form-group","row"],["for","createDeleteButton",1,"cd-col-form-label"],i,[4,"ngIf"],[1,"cd-col-form-input"],[4,"ngIf","ngIfElse"],["blockClearDevices",""],n,o,l,["type","button","data-toggle","tooltip",1,"btn","btn-light",3,"title","disabled","click"],[3,"ngClass"],_,[1,"pb-2","my-2","border-bottom"],[4,"ngFor","ngForOf"],["href","",1,"tc_clearSelections",3,"click"],v,[3,"devices","hiddenColumns","filterColumns"],["class","float-end",4,"ngIf"],[1,"badge","badge-dark","me-2"],[1,"float-end"],O]},template:function(n,o){if(1&n&&(e.TgZ(0,"div",0)(1,"label",1),e.ynx(2),e.SDv(3,2),e.BQk(),e.TgZ(4,"cd-helper"),e.YNc(5,tu,2,0,"span",3),e.YNc(6,w1,2,0,"span",3),e.YNc(7,g_,2,0,"span",3),e.qZA()(),e.TgZ(8,"div",4),e.YNc(9,Jp,5,5,"ng-container",5),e.YNc(10,xv,9,10,"ng-template",null,6,e.W1O),e.qZA()()),2&n){const l=e.MAs(11);e.xp6(3),e.pQV(o.name),e.QtT(3),e.xp6(2),e.Q6J("ngIf","data"===o.type),e.xp6(1),e.Q6J("ngIf","wal"===o.type),e.xp6(1),e.Q6J("ngIf","db"===o.type),e.xp6(2),e.Q6J("ngIf",0===o.devices.length)("ngIfElse",l)}},dependencies:[f.mk,f.sg,f.O5,La.S,st.o,Va.P,Vf,Wl.$],styles:[".tc_clearSelections[_ngcontent-%COMP%]{text-decoration:none}"]}),t})();const oy=["dataDeviceSelectionGroups"],sy=["walDeviceSelectionGroups"],wv=["dbDeviceSelectionGroups"],ay=["previewButtonPanel"];function ly(t,i){1&t&&e._UZ(0,"cd-orchestrator-doc-panel")}function N1(t,i){if(1&t&&(e.TgZ(0,"div",33),e.SDv(1,34),e.ALo(2,"titlecase"),e.ALo(3,"upperFirst"),e.qZA()),2&t){const n=e.oxw(2);e.xp6(3),e.pQV(e.lcZ(2,2,n.action))(e.lcZ(3,4,n.resource)),e.QtT(1)}}function uy(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",35),e.SDv(1,36),e.qZA())}function cy(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",37)(1,"div",38)(2,"input",39),e.NdJ("change",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.emitDeploymentSelection())}),e.qZA(),e.TgZ(3,"label",40),e.tHW(4,41),e.TgZ(5,"cd-helper"),e._UZ(6,"span"),e.qZA(),e.N_p(),e.qZA()()()}if(2&t){const n=i.$implicit,o=e.oxw(2);e.xp6(2),e.Q6J("id",n)("value",n),e.uIk("disabled",null==o.deploymentOptions||!o.deploymentOptions.options[n].available||null),e.xp6(1),e.Q6J("id","label_"+n)("for",n),e.xp6(3),e.pQV(null==o.deploymentOptions?null:o.deploymentOptions.options[n].title)((null==o.deploymentOptions?null:o.deploymentOptions.recommended_option)===n?"(Recommended)":"")(null==o.deploymentOptions?null:o.deploymentOptions.options[n].desc),e.QtT(4)}}function dy(t,i){1&t&&(e.TgZ(0,"span",50),e.SDv(1,51),e.qZA())}function fy(t,i){if(1&t&&(e.TgZ(0,"div",42)(1,"label",43),e.ynx(2),e.SDv(3,44),e.BQk(),e.TgZ(4,"cd-helper")(5,"span"),e.SDv(6,45),e.qZA(),e._UZ(7,"br"),e.TgZ(8,"span"),e.SDv(9,46),e.qZA()()(),e.TgZ(10,"div",47),e._UZ(11,"input",48),e.YNc(12,dy,2,0,"span",49),e.qZA()()),2&t){e.oxw();const n=e.MAs(4),o=e.oxw();e.xp6(12),e.Q6J("ngIf",o.form.showError("walSlots",n,"min"))}}function py(t,i){1&t&&(e.TgZ(0,"span",50),e.SDv(1,57),e.qZA())}function v_(t,i){if(1&t&&(e.TgZ(0,"div",42)(1,"label",52),e.ynx(2),e.SDv(3,53),e.BQk(),e.TgZ(4,"cd-helper")(5,"span"),e.SDv(6,54),e.qZA(),e._UZ(7,"br"),e.TgZ(8,"span"),e.SDv(9,55),e.qZA()()(),e.TgZ(10,"div",47),e._UZ(11,"input",56),e.YNc(12,py,2,0,"span",49),e.qZA()()),2&t){e.oxw();const n=e.MAs(4),o=e.oxw();e.xp6(12),e.Q6J("ngIf",o.form.showError("dbSlots",n,"min"))}}function I1(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",58)(1,"input",59),e.NdJ("change",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.emitDeploymentSelection())}),e.qZA(),e.TgZ(2,"label",60),e._uU(3),e.qZA()()}if(2&t){const n=i.$implicit;e.xp6(1),e.s9C("id",n.key),e.s9C("name",n.key),e.s9C("formControlName",n.key),e.xp6(1),e.s9C("for",n.key),e.xp6(1),e.Oqu(n.desc)}}function F1(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",61)(1,"cd-form-button-panel",62,63),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.submit())}),e.qZA()()}if(2&t){e.oxw();const n=e.MAs(23),o=e.oxw();e.xp6(1),e.Q6J("form",o.form)("disabled",0===n.devices.length&&!o.simpleDeployment)("submitText",o.simpleDeployment?"Create OSDs":o.actionLabels.PREVIEW)}}const Pv=function(t){return{collapsed:t}},L1=function(t){return{show:t}};function _y(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",2),e.YNc(1,N1,4,6,"div",3),e.TgZ(2,"div",4)(3,"form",5,6),e.YNc(5,uy,2,0,"cd-alert-panel",7),e.TgZ(6,"div",8)(7,"div",9)(8,"h2",10)(9,"button",11),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.emitDeploymentMode())}),e.SDv(10,12),e.qZA()()(),e.TgZ(11,"div",13)(12,"div",14),e.YNc(13,cy,7,8,"div",15),e.qZA()(),e.TgZ(14,"div",9)(15,"h2",10)(16,"button",16),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.emitDeploymentMode())}),e.SDv(17,17),e.qZA()()(),e.TgZ(18,"div",13)(19,"div",14)(20,"div",18)(21,"fieldset")(22,"cd-osd-devices-selection-groups",19,20),e.NdJ("selected",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.onDevicesSelected(l))})("cleared",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.onDevicesCleared(l))}),e.qZA()(),e.TgZ(24,"fieldset")(25,"legend"),e.SDv(26,21),e.qZA(),e.TgZ(27,"cd-osd-devices-selection-groups",22,23),e.NdJ("selected",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.onDevicesSelected(l))})("cleared",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.onDevicesCleared(l))}),e.qZA(),e.YNc(29,fy,13,1,"div",24),e.TgZ(30,"cd-osd-devices-selection-groups",25,26),e.NdJ("selected",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.onDevicesSelected(l))})("cleared",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.onDevicesCleared(l))}),e.qZA(),e.YNc(32,v_,13,1,"div",24),e.qZA()()()(),e.TgZ(33,"div",9)(34,"h2",10)(35,"button",27),e.SDv(36,28),e.qZA()()(),e.TgZ(37,"div",29)(38,"div",14)(39,"div",30),e.YNc(40,I1,4,5,"div",31),e.qZA()()()()()(),e.YNc(41,F1,3,3,"div",32),e.qZA()}if(2&t){const n=e.MAs(23),o=e.MAs(28),l=e.MAs(31),_=e.oxw();e.xp6(1),e.Q6J("ngIf",!_.hideTitle),e.xp6(2),e.Q6J("formGroup",_.form),e.xp6(2),e.Q6J("ngIf",!(null!=_.deploymentOptions&&_.deploymentOptions.recommended_option)),e.xp6(4),e.Q6J("ngClass",e.VKq(20,Pv,!_.simpleDeployment)),e.xp6(2),e.Q6J("ngClass",e.VKq(22,L1,_.simpleDeployment)),e.xp6(2),e.Q6J("ngForOf",_.optionNames),e.xp6(3),e.Q6J("ngClass",e.VKq(24,Pv,_.simpleDeployment)),e.xp6(2),e.Q6J("ngClass",e.VKq(26,L1,!_.simpleDeployment)),e.xp6(4),e.Q6J("availDevices",_.availDevices)("canSelect",0!==_.availDevices.length),e.xp6(5),e.Q6J("availDevices",_.availDevices)("canSelect",0!==n.devices.length)("hostname",_.hostname),e.xp6(2),e.Q6J("ngIf",0!==o.devices.length),e.xp6(1),e.Q6J("availDevices",_.availDevices)("canSelect",0!==n.devices.length)("hostname",_.hostname),e.xp6(2),e.Q6J("ngIf",0!==l.devices.length),e.xp6(8),e.Q6J("ngForOf",_.featureList),e.xp6(1),e.Q6J("ngIf",!_.hideSubmitBtn)}}let uf=(()=>{class t extends $c.E{constructor(n,o,l,_,v,O,P,G){super(),this.actionLabels=n,this.authStorageService=o,this.orchService=l,this.hostService=_,this.router=v,this.modalService=O,this.osdService=P,this.taskWrapper=G,this.hideTitle=!1,this.hideSubmitBtn=!1,this.emitDriveGroup=new e.vpe,this.emitDeploymentOption=new e.vpe,this.emitMode=new e.vpe,this.icons=Rr.P,this.columns=[],this.allDevices=[],this.availDevices=[],this.dataDeviceFilters=[],this.dbDeviceFilters=[],this.walDeviceFilters=[],this.hostname="",this.driveGroup=new Pf,this.featureList=[],this.hasOrchestrator=!0,this.simpleDeployment=!0,this.optionNames=Object.values($_),this.resource="OSDs",this.action=this.actionLabels.CREATE,this.features={encrypted:{key:"encrypted",desc:"Encryption"}},this.featureList=Xe().map(this.features,(K,oe)=>Object.assign(K,{key:oe})),this.createForm()}ngOnInit(){this.orchService.status().subscribe(n=>{this.hasOrchestrator=n.available,n.available?this.getDataDevices():this.loadingNone()}),this.osdService.getDeploymentOptions().subscribe(n=>{this.deploymentOptions=n,this.form.get("deploymentOption").setValue(this.deploymentOptions?.recommended_option),this.deploymentOptions?.recommended_option&&this.enableFeatures()}),this.form.get("walSlots").valueChanges.subscribe(n=>this.setSlots("wal",n)),this.form.get("dbSlots").valueChanges.subscribe(n=>this.setSlots("db",n)),Xe().each(this.features,n=>{this.form.get("features").get(n.key).valueChanges.subscribe(o=>this.featureFormUpdate(n.key,o))})}createForm(){this.form=new fu.d({walSlots:new rn.p4(0),dbSlots:new rn.p4(0),features:new fu.d(this.featureList.reduce((n,o)=>(n[o.key]=new rn.p4({value:!1,disabled:!0}),n),{})),deploymentOption:new rn.p4(0)})}getDataDevices(){this.hostService.inventoryDeviceList().subscribe(n=>{this.allDevices=Xe().filter(n,"available"),this.availDevices=[...this.allDevices],this.loadingReady()},()=>{this.allDevices=[],this.availDevices=[],this.loadingError()})}setSlots(n,o){"number"==typeof o&&o>=0&&this.driveGroup.setSlots(n,o)}featureFormUpdate(n,o){this.driveGroup.setFeature(n,o)}enableFeatures(){this.featureList.forEach(n=>{this.form.get(n.key).enable({emitEvent:!1})})}disableFeatures(){this.featureList.forEach(n=>{const o=this.form.get(n.key);o.disable({emitEvent:!1}),o.setValue(!1,{emitEvent:!1})})}onDevicesSelected(n){if(this.availDevices=n.dataOut,"data"===n.type){const o=Xe().find(n.filters,{prop:"hostname"});o?(this.hostname=o.value.raw,this.availDevices=n.dataOut.filter(l=>l.hostname===this.hostname),this.driveGroup.setHostPattern(this.hostname)):this.driveGroup.setHostPattern("*"),this.enableFeatures()}this.driveGroup.setDeviceSelection(n.type,n.filters),this.emitDriveGroup.emit(this.driveGroup)}onDevicesCleared(n){"data"===n.type?(this.hostname="",this.availDevices=[...this.allDevices],this.walDeviceSelectionGroups.devices=[],this.dbDeviceSelectionGroups.devices=[],this.disableFeatures(),this.driveGroup.reset(),this.form.get("walSlots").setValue(0,{emitEvent:!1}),this.form.get("dbSlots").setValue(0,{emitEvent:!1})):(this.availDevices=[...this.availDevices,...n.clearedDevices],this.driveGroup.clearDeviceSelection(n.type),this.form.get(`${n.type}Slots`).setValue(0,{emitEvent:!1}))}emitDeploymentSelection(){const n=this.form.get("deploymentOption").value,o=this.form.get("encrypted").value;this.emitDeploymentOption.emit({option:n,encrypted:o})}emitDeploymentMode(){this.simpleDeployment=!this.simpleDeployment,this.simpleDeployment||0!==this.dataDeviceSelectionGroups.devices.length?this.enableFeatures():this.disableFeatures(),this.emitMode.emit(this.simpleDeployment)}submit(){if(this.simpleDeployment){const l={option:this.form.get("deploymentOption").value,encrypted:this.form.get("encrypted").value},v=`${this.deploymentOptions.options[l.option].title} deployment`;this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("osd/"+yr.MQ.CREATE,{tracking_id:v}),call:this.osdService.create([l],v,"predefined")}).subscribe({complete:()=>{this.router.navigate(["/osd"])}})}else{const n=this.authStorageService.getUsername();this.driveGroup.setName(`dashboard-${n}-${Xe().now()}`),this.modalService.show(D1,{driveGroups:[this.driveGroup.spec]}).componentInstance.submitAction.subscribe(()=>{this.router.navigate(["/osd"])}),this.previewButtonPanel.submitButton.loading=!1}}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yr.p4),e.Y36(Do.j),e.Y36(td),e.Y36(Wa.x),e.Y36(Ee.F0),e.Y36(ca.Z),e.Y36(Zc),e.Y36(Gr.P))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-form"]],viewQuery:function(n,o){if(1&n&&(e.Gf(oy,5),e.Gf(sy,5),e.Gf(wv,5),e.Gf(ay,5)),2&n){let l;e.iGM(l=e.CRH())&&(o.dataDeviceSelectionGroups=l.first),e.iGM(l=e.CRH())&&(o.walDeviceSelectionGroups=l.first),e.iGM(l=e.CRH())&&(o.dbDeviceSelectionGroups=l.first),e.iGM(l=e.CRH())&&(o.previewButtonPanel=l.first)}},inputs:{hideTitle:"hideTitle",hideSubmitBtn:"hideSubmitBtn"},outputs:{emitDriveGroup:"emitDriveGroup",emitDeploymentOption:"emitDeploymentOption",emitMode:"emitMode"},features:[e.qOj],decls:2,vars:2,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue,pe,ye,Ue;return i="Deployment Options",n="Advanced Mode",o="Shared devices",l="Features",_="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",v=" No devices(HDD, SSD or NVME) were found. Creation of OSDs will remain disabled until devices are added. ",O="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + " " + "\ufffd#5\ufffd" + "" + "\ufffd#6\ufffd" + "" + "\ufffd2\ufffd" + "" + "\ufffd/#6\ufffd" + "" + "\ufffd/#5\ufffd" + "",P="WAL slots",G="How many OSDs per WAL device.",K="Specify 0 to let Orchestrator backend decide it.",oe="Value should be greater than or equal to 0",ue="DB slots",pe="How many OSDs per DB device.",ye="Specify 0 to let Orchestrator backend decide it.",Ue="Value should be greater than or equal to 0",[[4,"ngIf"],["class","card",4,"cdFormLoading"],[1,"card"],["class","card-header",4,"ngIf"],[1,"card-body","ms-2"],["name","form","novalidate","",3,"formGroup"],["formDir","ngForm"],["type","warning","class","mx-3",4,"ngIf"],[1,"accordion"],[1,"accordion-item"],[1,"accordion-header"],["type","button","data-toggle","collapse","aria-label","toggle deployment options",1,"accordion-button",3,"ngClass","click"],i,[1,"accordion-collapse","collapse",3,"ngClass"],[1,"accordion-body"],["class","pt-3 pb-3",4,"ngFor","ngForOf"],["type","button","aria-label","toggle advanced mode",1,"accordion-button",3,"ngClass","click"],n,[1,"card-body"],["name","Primary","type","data",3,"availDevices","canSelect","selected","cleared"],["dataDeviceSelectionGroups",""],o,["name","WAL","type","wal",3,"availDevices","canSelect","hostname","selected","cleared"],["walDeviceSelectionGroups",""],["class","form-group row",4,"ngIf"],["name","DB","type","db",3,"availDevices","canSelect","hostname","selected","cleared"],["dbDeviceSelectionGroups",""],["type","button","data-toggle","collapse","aria-label","features","aria-expanded","true",1,"accordion-button"],l,[1,"accordion-collapse","collapse","show"],["formGroupName","features",1,"pt-3","pb-3"],["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],["class","card-footer",4,"ngIf"],[1,"card-header"],_,["type","warning",1,"mx-3"],v,[1,"pt-3","pb-3"],[1,"custom-control","form-check","custom-control-inline"],["type","radio","name","deploymentOption","formControlName","deploymentOption",1,"form-check-input",3,"id","value","change"],[1,"form-check-label",3,"id","for"],O,[1,"form-group","row"],["for","walSlots",1,"cd-col-form-label"],P,G,K,[1,"cd-col-form-input"],["id","walSlots","name","walSlots","type","number","min","0","formControlName","walSlots",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"invalid-feedback"],oe,["for","dbSlots",1,"cd-col-form-label"],ue,pe,ye,["id","dbSlots","name","dbSlots","type","number","min","0","formControlName","dbSlots",1,"form-control"],Ue,[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","name","formControlName","change"],[1,"custom-control-label",3,"for"],[1,"card-footer"],["wrappingClass","text-right",3,"form","disabled","submitText","submitActionEvent"],["previewButtonPanel",""]]},template:function(n,o){1&n&&(e.YNc(0,ly,1,0,"cd-orchestrator-doc-panel",0),e.YNc(1,_y,42,28,"div",1)),2&n&&(e.Q6J("ngIf",!o.hasOrchestrator),e.xp6(1),e.Q6J("cdFormLoading",o.loading))},dependencies:[f.mk,f.sg,f.O5,La.S,Zu.G,zf,rl.p,Pu.y,st.o,za.b,Va.P,Os.V,rn._Y,rn.Fj,rn.wV,rn.Wl,rn._,rn.JJ,rn.JL,rn.qQ,rn.sg,rn.u,rn.x0,iy,f.rS,Cu.m]}),t})();const Lp=function(){return["services","status"]};let k1=(()=>{class t{constructor(n,o,l,_,v){this.wizardStepsService=n,this.cephServiceService=o,this.dimlessBinary=l,this.hostService=_,this.osdService=v,this.hosts=[],this.totalCapacity=0,this.services=[],this.totalCPUs=0,this.totalMemory=0}ngOnInit(){let n=0,o=0,l=0,_=0,v=0,O=0;const P=new Sc.E(()=>{});this.hostService.list(P.toParams(),"true").subscribe(G=>{this.hosts=G,this.hostsCount=this.hosts.length,Xe().forEach(this.hosts,K=>{this.totalCPUs=this.totalCPUs+K.cpu_count,this.totalMemory=this.totalMemory+1024*K.memory_total_kb}),this.totalMemory=this.dimlessBinary.transform(this.totalMemory)}),this.osdService.osdDevices.data&&(n=this.osdService.osdDevices.data?.length,o=this.osdService.osdDevices.data.capacity),this.osdService.osdDevices.wal&&(l=this.osdService.osdDevices.wal?.length,_=this.osdService.osdDevices.wal.capacity),this.osdService.osdDevices.db&&(v=this.osdService.osdDevices.db?.length,O=this.osdService.osdDevices.db.capacity),this.totalDevices=n+l+v,this.osdService.osdDevices.totalDevices=this.totalDevices,this.totalCapacity=o+_+O}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Cp),e.Y36(rf),e.Y36(Wl.$),e.Y36(Wa.x),e.Y36(Zc))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-create-cluster-review"]],decls:45,vars:16,consts:function(){let i,n,o,l,_,v,O,P;return i="Cluster Resources",n="Hosts",o="Storage Capacity",l="Number of devices",_="Raw capacity",v="CPUs",O="Memory",P="Host Details",[[1,"row"],[1,"col-lg-3"],[1,"cd-header"],i,[1,"table","table-striped"],[1,"bold"],n,o,l,_,[1,"pt-5"],v,O,[1,"col-lg-9"],P,[3,"hiddenColumns","hideToolHeader","hasTableDetails","showGeneralActionsOnly"]]},template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"fieldset")(3,"legend",2),e.SDv(4,3),e.qZA(),e.TgZ(5,"table",4)(6,"tr")(7,"td",5),e.SDv(8,6),e.qZA(),e.TgZ(9,"td"),e._uU(10),e.qZA()(),e.TgZ(11,"tr")(12,"td")(13,"dl")(14,"dt")(15,"p"),e.SDv(16,7),e.qZA()(),e.TgZ(17,"dd")(18,"p"),e.SDv(19,8),e.qZA()(),e.TgZ(20,"dd")(21,"p"),e.SDv(22,9),e.qZA()()()(),e.TgZ(23,"td",10)(24,"p"),e._uU(25),e.qZA(),e.TgZ(26,"p"),e._uU(27),e.ALo(28,"dimlessBinary"),e.qZA()()(),e.TgZ(29,"tr")(30,"td",5),e.SDv(31,11),e.qZA(),e.TgZ(32,"td"),e._uU(33),e.ALo(34,"empty"),e.qZA()(),e.TgZ(35,"tr")(36,"td",5),e.SDv(37,12),e.qZA(),e.TgZ(38,"td"),e._uU(39),e.ALo(40,"empty"),e.qZA()()()()(),e.TgZ(41,"div",13)(42,"legend",2),e.SDv(43,14),e.qZA(),e._UZ(44,"cd-hosts",15),e.qZA()()),2&n&&(e.xp6(10),e.Oqu(o.hostsCount),e.xp6(15),e.Oqu(o.totalDevices),e.xp6(2),e.hij(" ",e.lcZ(28,9,o.totalCapacity),""),e.xp6(6),e.Oqu(e.lcZ(34,11,o.totalCPUs)),e.xp6(6),e.Oqu(e.lcZ(40,13,o.totalMemory)),e.xp6(5),e.Q6J("hiddenColumns",e.DdM(15,Lp))("hideToolHeader",!0)("hasTableDetails",!1)("showGeneralActionsOnly",!0))},dependencies:[On,Wl.$,sp.W],styles:["cd-hosts[_ngcontent-%COMP%] .nav{display:none}"]}),t})();const hy=["skipConfirmTpl"];function my(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",3)(1,"div",4)(2,"div",5),e._UZ(3,"img",6),e.TgZ(4,"h3",7),e.SDv(5,8),e.qZA(),e.TgZ(6,"div",9)(7,"h4",10),e.SDv(8,11),e.qZA(),e.TgZ(9,"div",10)(10,"button",12),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.createCluster())}),e.SDv(11,13),e.qZA(),e.TgZ(12,"button",14),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.skipClusterCreation())}),e.SDv(13,15),e.qZA()()()()()()}if(2&t){const n=e.oxw();e.xp6(3),e.Q6J("src",n.projectConstants.cephLogo,e.LSH),e.xp6(2),e.pQV(n.projectConstants.projectName),e.QtT(5)}}const Cg=function(){return["services"]};function Gg(t,i){1&t&&(e.TgZ(0,"div",29)(1,"h4",30),e.SDv(2,31),e.qZA(),e._UZ(3,"br")(4,"cd-hosts",32),e.qZA()),2&t&&(e.xp6(4),e.Q6J("hiddenColumns",e.DdM(4,Cg))("hideMaintenance",!0)("hasTableDetails",!1)("showGeneralActionsOnly",!0))}function Yg(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",29)(1,"h4",30),e.SDv(2,33),e.qZA(),e.TgZ(3,"div",34)(4,"cd-osd-form",35),e.NdJ("emitDriveGroup",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.setDriveGroup(l))})("emitDeploymentOption",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.setDeploymentOptions(l))})("emitMode",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.setDeploymentMode(l))}),e.qZA()()()}2&t&&(e.xp6(4),e.Q6J("hideTitle",!0)("hideSubmitBtn",!0))}const hS=function(){return["mon","mgr","crash","agent"]},jg=function(){return["status.running","status.size","status.last_refresh"]};function mS(t,i){1&t&&(e.TgZ(0,"div",29)(1,"h4",30),e.SDv(2,36),e.qZA(),e._UZ(3,"br")(4,"cd-services",37),e.qZA()),2&t&&(e.xp6(4),e.Q6J("hasDetails",!1)("hiddenServices",e.DdM(4,hS))("hiddenColumns",e.DdM(5,jg))("routedModal",!1))}function Nv(t,i){1&t&&(e.TgZ(0,"div",29),e._UZ(1,"cd-create-cluster-review"),e.qZA())}function Iv(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",38),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.onSkip())}),e.SDv(1,39),e.qZA()}}function $1(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",16)(1,"div",17),e.SDv(2,18),e.qZA(),e.TgZ(3,"div",19),e._UZ(4,"cd-wizard",20),e.TgZ(5,"div",21),e.ynx(6,22),e.YNc(7,Gg,5,5,"div",23),e.YNc(8,Yg,5,2,"div",23),e.YNc(9,mS,5,6,"div",23),e.YNc(10,Nv,2,0,"div",23),e.BQk(),e.qZA()(),e.TgZ(11,"div",24)(12,"button",25),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onNextStep())}),e.SDv(13,26),e.qZA(),e.TgZ(14,"cd-back-button",27),e.NdJ("backAction",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onPreviousStep())}),e.qZA(),e.YNc(15,Iv,2,0,"button",28),e.qZA()()}if(2&t){const n=e.oxw();e.xp6(4),e.Q6J("stepsTitle",n.stepTitles),e.xp6(2),e.Q6J("ngSwitch",null==n.currentStep?null:n.currentStep.stepIndex),e.xp6(1),e.Q6J("ngSwitchCase","1"),e.xp6(1),e.Q6J("ngSwitchCase","2"),e.xp6(1),e.Q6J("ngSwitchCase","3"),e.xp6(1),e.Q6J("ngSwitchCase","4"),e.xp6(3),e.pQV(n.showSubmitButtonLabel()),e.QtT(13),e.xp6(1),e.Q6J("name",n.showCancelButtonLabel()),e.xp6(1),e.Q6J("ngIf","Create OSDs"===n.stepTitles[n.currentStep.stepIndex-1])}}function H1(t,i){1&t&&(e.TgZ(0,"span"),e.tHW(1,40),e._UZ(2,"strong"),e.N_p(),e.qZA(),e.TgZ(3,"div",41),e.SDv(4,42),e.qZA())}let U1=(()=>{class t{constructor(n,o,l,_,v,O,P,G,K,oe){this.authStorageService=n,this.wizardStepsService=o,this.router=l,this.hostService=_,this.notificationService=v,this.actionLabels=O,this.clusterService=P,this.modalService=G,this.taskWrapper=K,this.osdService=oe,this.projectConstants=yr.$x,this.stepTitles=["Add Hosts","Create OSDs","Create Services","Review"],this.startClusterCreation=!1,this.observables=[],this.driveGroup=new Pf,this.driveGroups=[],this.selectedOption={},this.simpleDeployment=!0,this.stepsToSkip={},this.submitAction=new e.vpe,this.permissions=this.authStorageService.getPermissions(),this.currentStepSub=this.wizardStepsService.getCurrentStep().subscribe(ue=>{this.currentStep=ue}),this.currentStep.stepIndex=1}ngOnInit(){this.osdService.getDeploymentOptions().subscribe(n=>{this.deploymentOption=n,this.selectedOption={option:n.recommended_option,encrypted:!1}}),this.stepTitles.forEach(n=>{this.stepsToSkip[n]=!1})}createCluster(){this.startClusterCreation=!0}skipClusterCreation(){const n={titleText:"Warning",buttonText:"Continue",warning:!0,bodyTpl:this.skipConfirmTpl,showSubmit:!0,onSubmit:()=>{this.clusterService.updateStatus("POST_INSTALLED").subscribe({error:()=>this.modalRef.close(),complete:()=>{this.notificationService.show(Ho.k.info,"Cluster expansion skipped by user"),this.router.navigate(["/dashboard"]),this.modalRef.close()}})}};this.modalRef=this.modalService.show(le.Y,n)}onSubmit(){if(!this.stepsToSkip["Add Hosts"]){const n=new Sc.E(()=>{});this.hostService.list(n.toParams(),"false").subscribe(o=>{o.forEach(l=>{const _=l.labels.indexOf("_no_schedule",0);_>-1&&(l.labels.splice(_,1),this.observables.push(this.hostService.update(l.hostname,!0,l.labels)))}),(0,Za.D)(this.observables).pipe((0,_f.x)(()=>this.clusterService.updateStatus("POST_INSTALLED").subscribe(()=>{this.notificationService.show(Ho.k.success,"Cluster expansion was successful"),this.router.navigate(["/dashboard"])}))).subscribe({error:l=>l.preventDefault()})})}if(!this.stepsToSkip["Create OSDs"]){if(this.driveGroup){const n=this.authStorageService.getUsername();this.driveGroup.setName(`dashboard-${n}-${Xe().now()}`),this.driveGroups.push(this.driveGroup.spec)}if(this.simpleDeployment){const n=this.deploymentOption?.options[this.selectedOption.option].title,o="" + n + " deployment";this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("osd/"+yr.MQ.CREATE,{tracking_id:o}),call:this.osdService.create([this.selectedOption],o,"predefined")}).subscribe({error:l=>l.preventDefault(),complete:()=>{this.submitAction.emit()}})}else if(this.osdService.osdDevices.totalDevices>0){this.driveGroup.setFeature("encrypted",this.selectedOption.encrypted);const n=Xe().join(Xe().map(this.driveGroups,"service_id"),", ");this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("osd/"+yr.MQ.CREATE,{tracking_id:n}),call:this.osdService.create(this.driveGroups,n)}).subscribe({error:o=>o.preventDefault(),complete:()=>{this.submitAction.emit(),this.osdService.osdDevices=[]}})}}}setDriveGroup(n){this.driveGroup=n}setDeploymentOptions(n){this.selectedOption=n}setDeploymentMode(n){this.simpleDeployment=n}onNextStep(){this.wizardStepsService.isLastStep()?this.onSubmit():(this.wizardStepsService.getCurrentStep().subscribe(n=>{this.currentStep=n}),this.wizardStepsService.moveToNextStep())}onPreviousStep(){this.wizardStepsService.isFirstStep()?this.router.navigate(["/dashboard"]):this.wizardStepsService.moveToPreviousStep()}onSkip(){this.stepsToSkip[this.stepTitles[this.currentStep.stepIndex-1]]=!0,this.onNextStep()}showSubmitButtonLabel(){return this.wizardStepsService.isLastStep()?"Expand Cluster":this.actionLabels.NEXT}showCancelButtonLabel(){return this.wizardStepsService.isFirstStep()?this.actionLabels.CANCEL:this.actionLabels.BACK}ngOnDestroy(){this.currentStepSub.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(Cp),e.Y36(Ee.F0),e.Y36(Wa.x),e.Y36(Ui.g),e.Y36(yr.p4),e.Y36(Bp),e.Y36(ca.Z),e.Y36(Gr.P),e.Y36(Zc))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-create-cluster"]],viewQuery:function(n,o){if(1&n&&e.Gf(hy,7),2&n){let l;e.iGM(l=e.CRH())&&(o.skipConfirmTpl=l.first)}},outputs:{submitAction:"submitAction"},decls:4,vars:2,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue;return i="Welcome to " + "\ufffd0\ufffd" + "",n="Please expand your cluster first",o="Expand Cluster",l="Skip",_="Expand Cluster",v="" + "\ufffd0\ufffd" + "",O="Add Hosts",P="Create OSDs",G="Create Services",K="Skip",oe="You are about to skip the cluster expansion process. You\u2019ll need to " + "\ufffd#2\ufffd" + "navigate through the menu to add hosts and services." + "\ufffd/#2\ufffd" + "",ue="Are you sure you want to continue?",[["class","container h-75",4,"ngIf"],["class","card",4,"ngIf"],["skipConfirmTpl",""],[1,"container","h-75"],[1,"row","h-100","justify-content-center","align-items-center"],[1,"blank-page"],["alt","Ceph",1,"img-fluid","mx-auto","d-block",3,"src"],[1,"text-center","m-2"],i,[1,"m-4"],[1,"text-center"],n,["name","expand-cluster","aria-label","Expand Cluster",1,"btn","btn-accent","m-2",3,"click"],o,["name","skip-cluster-creation","aria-label","Skip",1,"btn","btn-light",3,"click"],l,[1,"card"],[1,"card-header"],_,[1,"container-fluid"],[3,"stepsTitle"],[1,"card-body","vertical-line"],[3,"ngSwitch"],["class","ms-5",4,"ngSwitchCase"],[1,"card-footer"],["aria-label","Next",1,"btn","btn-accent","m-2","float-end",3,"click"],v,["aria-label","Close",1,"m-2","float-end",3,"name","backAction"],["class","btn btn-light m-2 me-4 float-end","id","skipStepBtn","aria-label","Skip this step",3,"click",4,"ngIf"],[1,"ms-5"],[1,"title"],O,[3,"hiddenColumns","hideMaintenance","hasTableDetails","showGeneralActionsOnly"],P,[1,"alignForm"],[3,"hideTitle","hideSubmitBtn","emitDriveGroup","emitDeploymentOption","emitMode"],G,[3,"hasDetails","hiddenServices","hiddenColumns","routedModal"],["id","skipStepBtn","aria-label","Skip this step",1,"btn","btn-light","m-2","me-4","float-end",3,"click"],K,oe,[1,"mt-4"],ue]},template:function(n,o){1&n&&(e.YNc(0,my,14,2,"div",0),e.YNc(1,$1,16,9,"div",1),e.YNc(2,H1,5,0,"ng-template",null,2,e.W1O)),2&n&&(e.Q6J("ngIf",!o.startClusterCreation),e.xp6(1),e.Q6J("ngIf",o.startClusterCreation))},dependencies:[f.O5,f.RF,f.n9,W_.W,M_,st.o,On,Kf,uf,k1],styles:[".container-fluid[_ngcontent-%COMP%]{align-items:flex-start;display:flex;padding-left:0;width:100%}cd-hosts[_ngcontent-%COMP%] .nav{display:none}cd-osd-form[_ngcontent-%COMP%] .card{border:0}cd-osd-form[_ngcontent-%COMP%] .accordion{margin-left:-1.5rem}"]}),t})();var Gh=s(83608);const zg=["tree"],Vg=function(t,i,n){return[t,i,n]};function hh(t,i){if(1&t&&e._UZ(0,"i",12),2&t){const n=e.oxw();e.Q6J("ngClass",e.kEZ(1,Vg,n.icons.large,n.icons.spinner,n.icons.spin))}}const gy=function(){return["in","up"]},Fv=function(){return["down","out","destroyed"]},Lv=function(t,i){return{"badge-success":t,"badge-danger":i}};function vy(t,i){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=e.oxw().$implicit;e.Q6J("ngClass",e.WLB(4,Lv,e.DdM(2,gy).includes(n.data.status),e.DdM(3,Fv).includes(n.data.status))),e.xp6(1),e.hij(" ",n.data.status," ")}}const yy=function(t){return{"type-osd":t}};function Gm(t,i){if(1&t&&(e.YNc(0,vy,2,7,"span",13),e.TgZ(1,"span"),e._uU(2,"\xa0"),e.qZA(),e._UZ(3,"span",14)),2&t){const n=i.$implicit;e.Q6J("ngIf",n.data.status),e.xp6(3),e.Q6J("ngClass",e.VKq(3,yy,"osd"===n.data.type))("innerHTML",n.data.name,e.oJD)}}function kv(t,i){if(1&t&&(e.TgZ(0,"div",16)(1,"legend"),e._uU(2),e.qZA(),e.TgZ(3,"div"),e._UZ(4,"cd-table-key-value",17),e.qZA()()),2&t){const n=e.oxw();e.xp6(2),e.Oqu(n.metadataTitle),e.xp6(2),e.Q6J("data",n.metadata)}}let gS=(()=>{class t{constructor(n,o){this.crushRuleService=n,this.timerService=o,this.sub=new bd.w,this.icons=Rr.P,this.loadingIndicator=!0,this.nodes=[],this.treeOptions={useVirtualScroll:!0,nodeHeight:22,actionMapping:{mouse:{click:this.onNodeSelected.bind(this)}}},this.metadataKeyMap={}}ngOnInit(){this.sub=this.timerService.get(()=>this.crushRuleService.getInfo(),5e3).subscribe(n=>{this.loadingIndicator=!1,this.nodes=this.abstractTreeData(n)})}ngOnDestroy(){this.sub.unsubscribe()}abstractTreeData(n){const o=n.nodes||[],l=n.roots||[],_={};if(0===o.length)return[{name:"No nodes!"}];const v=[];return o.reverse().forEach(P=>{l.includes(P.id)&&v.push(P.id),_[P.id]=this.generateTreeLeaf(P,_)}),v.map(P=>_[P])}generateTreeLeaf(n,o){const l=n.id;this.metadataKeyMap[l]=n;const O=[],P={name:n.name+" ("+n.type+")",status:n.status,cdId:l,type:n.type};return n.children&&(n.children.sort().forEach(G=>{O.push(o[G])}),P.children=O),P}onNodeSelected(n,o){if(Jl.iM.ACTIVATE(n,o,!0),void 0!==o.data.cdId){const{name:l,type:_,status:v,...O}=this.metadataKeyMap[o.data.cdId];this.metadata=O,this.metadataTitle=l+" ("+_+")"}else delete this.metadata,delete this.metadataTitle}onUpdateData(){this.tree.treeModel.expandAll()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Gh.H),e.Y36(Ls.f))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-crushmap"]],viewQuery:function(n,o){if(1&n&&e.Gf(zg,5),2&n){let l;e.iGM(l=e.CRH())&&(o.tree=l.first)}},decls:14,vars:4,consts:function(){let i;return i="CRUSH map viewer",[[1,"row"],[1,"col-sm-12","col-lg-12"],[1,"card"],[1,"card-header"],i,[1,"card-body"],[1,"col-sm-6","col-lg-6","tree-container"],[3,"ngClass",4,"ngIf"],[3,"nodes","options","updateData"],["tree",""],["treeNodeTemplate",""],["class","col-sm-6 col-lg-6 metadata",4,"ngIf"],[3,"ngClass"],["class","badge",3,"ngClass",4,"ngIf"],[1,"node-name",3,"ngClass","innerHTML"],[1,"badge",3,"ngClass"],[1,"col-sm-6","col-lg-6","metadata"],[3,"data"]]},template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),e.SDv(4,4),e.qZA(),e.TgZ(5,"div",5)(6,"div",0)(7,"div",6),e.YNc(8,hh,1,5,"i",7),e.TgZ(9,"tree-root",8,9),e.NdJ("updateData",function(){return o.onUpdateData()}),e.YNc(11,Gm,4,5,"ng-template",null,10,e.W1O),e.qZA()(),e.YNc(13,kv,5,2,"div",11),e.qZA()()()()()),2&n&&(e.xp6(8),e.Q6J("ngIf",o.loadingIndicator),e.xp6(1),e.Q6J("nodes",o.nodes)("options",o.treeOptions),e.xp6(4),e.Q6J("ngIf",o.metadata))},dependencies:[f.mk,f.O5,bu.b,Jl.qr],styles:[".tree-container[_ngcontent-%COMP%]{height:calc(100vh - 200px)}"]}),t})(),Ey=(()=>{class t{constructor(n){this.http=n}getLogs(){return this.http.get("api/logs/all")}validateDashboardUrl(n){return this.http.get(`api/grafana/validation/${n}`)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Sy=s(49457);let by=(()=>{class t{download(n,o){(0,Sy.saveAs)(new Blob([n]),o)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const B1=function(t){return[t]};function Ty(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",5),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.download("json"))}),e._UZ(1,"i",2),e.TgZ(2,"span"),e._uU(3,"JSON"),e.qZA()()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(1,B1,n.icons.json))}}function Cy(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",5),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.download())}),e._UZ(1,"i",2),e.TgZ(2,"span"),e._uU(3,"Text"),e.qZA()()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(1,B1,n.icons.text))}}let $v=(()=>{class t{constructor(n){this.textToDownloadService=n,this.title="Download",this.icons=Rr.P}download(n){this.fileName=`${this.fileName}_${(new Date).toLocaleDateString()}`,"json"===n?this.textToDownloadService.download(JSON.stringify(this.objectItem,null,2),`${this.fileName}.json`):this.textToDownloadService.download(this.textItem,`${this.fileName}.txt`)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(by))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-download-button"]],inputs:{objectItem:"objectItem",textItem:"textItem",fileName:"fileName",title:"title"},decls:6,vars:6,consts:[["ngbDropdown","","placement","bottom-right"],["type","button","ngbDropdownToggle","",1,"btn","btn-light","dropdown-toggle-split",3,"title"],[3,"ngClass"],["ngbDropdownMenu",""],["ngbDropdownItem","",3,"click",4,"ngIf"],["ngbDropdownItem","",3,"click"]],template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"button",1),e._UZ(2,"i",2),e.qZA(),e.TgZ(3,"div",3),e.YNc(4,Ty,4,3,"button",4),e.YNc(5,Cy,4,3,"button",4),e.qZA()()),2&n&&(e.xp6(1),e.Q6J("title",o.title),e.xp6(1),e.Q6J("ngClass",e.VKq(4,B1,o.icons.download)),e.xp6(2),e.Q6J("ngIf",o.objectItem),e.xp6(1),e.Q6J("ngIf",o.textItem))},dependencies:[f.mk,f.O5,st.o,yi.jt,yi.iD,yi.Vi,yi.TH]}),t})();var Hv=s(42746);let G1=(()=>{class t{transform(n,o){if(!o)return n;o=this.escapeRegExp(o);const l=new RegExp(o,"gi");return n.match(l)?n.replace(l,"<mark>$&</mark>"):n}escapeRegExp(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"searchHighlight",type:t,pure:!0}),t})();function My(t,i){1&t&&e.GkF(0)}function Y1(t,i){if(1&t&&e._UZ(0,"cd-download-button",25),2&t){const n=e.oxw(5);e.Q6J("objectItem",n.clog)("textItem",n.clogText)}}function Oy(t,i){if(1&t&&e._UZ(0,"cd-copy-2-clipboard-button",26),2&t){const n=e.oxw(5);e.Q6J("source",n.clogText)("byId",!1)}}function Ay(t,i){if(1&t&&(e.TgZ(0,"div",22),e.YNc(1,Y1,1,2,"cd-download-button",23),e.YNc(2,Oy,1,2,"cd-copy-2-clipboard-button",24),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngIf",n.showDownloadCopyButton),e.xp6(1),e.Q6J("ngIf",n.showDownloadCopyButton)}}function Dy(t,i){if(1&t&&(e.TgZ(0,"p")(1,"span",27),e._uU(2),e.ALo(3,"cdDate"),e.qZA(),e.TgZ(4,"span"),e.ALo(5,"logPriority"),e._uU(6),e.qZA(),e._UZ(7,"span",28),e.ALo(8,"searchHighlight"),e.qZA()),2&t){const n=i.$implicit,o=e.oxw(4);e.xp6(2),e.Oqu(e.lcZ(3,6,n.stamp)),e.xp6(2),e.Gre("priority ",e.lcZ(5,8,n.priority),""),e.xp6(2),e.Oqu(n.priority),e.xp6(1),e.Q6J("innerHTML",e.xi3(8,10,n.message,o.search),e.oJD)}}function Ry(t,i){1&t&&e.GkF(0)}const xy=function(t){return{"overflow-auto":t}};function wy(t,i){if(1&t&&(e.TgZ(0,"div",17),e.YNc(1,Ay,3,2,"div",18),e.TgZ(2,"div",19),e.YNc(3,Dy,9,13,"p",20),e.YNc(4,Ry,1,0,"ng-container",21),e.qZA()()),2&t){const n=e.oxw(3),o=e.MAs(4);e.xp6(1),e.Q6J("ngIf",n.clog.length&&n.showClusterLogs),e.xp6(1),e.Q6J("ngClass",e.VKq(5,xy,n.scrollable)),e.xp6(1),e.Q6J("ngForOf",n.clog),e.xp6(1),e.Q6J("ngIf",0!==n.clog.length)("ngIfElse",o)}}function Uv(t,i){if(1&t&&e.YNc(0,wy,5,7,"div",16),2&t){const n=e.oxw(2);e.Q6J("ngIf",n.clog)}}function Bv(t,i){if(1&t&&e._UZ(0,"cd-download-button",31),2&t){const n=e.oxw(5);e.Q6J("objectItem",n.audit_log)("textItem",n.auditLogText)}}function Gv(t,i){if(1&t&&e._UZ(0,"cd-copy-2-clipboard-button",26),2&t){const n=e.oxw(5);e.Q6J("source",n.auditLogText)("byId",!1)}}function Py(t,i){if(1&t&&(e.TgZ(0,"div",22),e.YNc(1,Bv,1,2,"cd-download-button",30),e.YNc(2,Gv,1,2,"cd-copy-2-clipboard-button",24),e.qZA()),2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngIf",n.showDownloadCopyButton),e.xp6(1),e.Q6J("ngIf",n.showDownloadCopyButton)}}function vS(t,i){if(1&t&&(e.TgZ(0,"p")(1,"span",27),e._uU(2),e.ALo(3,"cdDate"),e.qZA(),e.TgZ(4,"span"),e.ALo(5,"logPriority"),e._uU(6),e.qZA(),e._UZ(7,"span",28),e.ALo(8,"searchHighlight"),e.qZA()),2&t){const n=i.$implicit,o=e.oxw(4);e.xp6(2),e.Oqu(e.lcZ(3,6,n.stamp)),e.xp6(2),e.Gre("priority ",e.lcZ(5,8,n.priority),""),e.xp6(2),e.Oqu(n.priority),e.xp6(1),e.Q6J("innerHTML",e.xi3(8,10,n.message,o.search),e.oJD)}}function Yv(t,i){1&t&&e.GkF(0)}function yS(t,i){if(1&t&&(e.TgZ(0,"div",17),e.YNc(1,Py,3,2,"div",18),e.TgZ(2,"div",29),e.YNc(3,vS,9,13,"p",20),e.YNc(4,Yv,1,0,"ng-container",21),e.qZA()()),2&t){const n=e.oxw(3),o=e.MAs(4);e.xp6(1),e.Q6J("ngIf",n.audit_log.length),e.xp6(2),e.Q6J("ngForOf",n.audit_log),e.xp6(1),e.Q6J("ngIf",0!==n.audit_log.length)("ngIfElse",o)}}function Ym(t,i){if(1&t&&e.YNc(0,yS,5,4,"div",16),2&t){const n=e.oxw(2);e.Q6J("ngIf",n.audit_log&&n.showAuditLogs)}}function jv(t,i){1&t&&(e.TgZ(0,"div"),e._UZ(1,"cd-grafana",32),e.qZA()),2&t&&(e.xp6(1),e.Q6J("grafanaPath","explore?")("type","logs"))}function zv(t,i){if(1&t&&(e.ynx(0),e.YNc(1,jv,2,2,"div",21),e.ALo(2,"async"),e.BQk()),2&t){const n=e.oxw(3),o=e.MAs(6);e.xp6(1),e.Q6J("ngIf",e.lcZ(2,2,n.promtailServiceStatus$))("ngIfElse",o)}}function j1(t,i){if(1&t&&(e.YNc(0,zv,3,4,"ng-container",21),e.ALo(1,"async")),2&t){const n=e.oxw(2),o=e.MAs(6);e.Q6J("ngIf",e.lcZ(1,2,n.showDaemonLogs&&n.lokiServiceStatus$))("ngIfElse",o)}}function Ny(t,i){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,My,1,0,"ng-container",4),e.TgZ(2,"nav",5,6),e.ynx(4,7),e.TgZ(5,"a",8),e.SDv(6,9),e.qZA(),e.YNc(7,Uv,1,1,"ng-template",10),e.BQk(),e.ynx(8,11),e.TgZ(9,"a",8),e.SDv(10,12),e.qZA(),e.YNc(11,Ym,1,1,"ng-template",10),e.BQk(),e.ynx(12,13),e.TgZ(13,"a",8),e.SDv(14,14),e.qZA(),e.YNc(15,j1,2,4,"ng-template",10),e.BQk(),e.qZA(),e._UZ(16,"div",15),e.qZA()),2&t){const n=e.MAs(3),o=e.oxw(),l=e.MAs(2);e.xp6(1),e.Q6J("ngTemplateOutlet",l),e.xp6(1),e.Q6J("cdStatefulTabDefault",o.defaultTab)("hidden",!o.showNavLinks),e.xp6(14),e.Q6J("ngbNavOutlet",n)}}function mh(t,i){if(1&t&&(e.TgZ(0,"option",59),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.value),e.xp6(1),e.Oqu(n.name)}}const Om=function(t){return[t]};function Xf(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",34)(1,"div",35)(2,"div",36)(3,"label",37),e.SDv(4,38),e.qZA(),e.TgZ(5,"select",39),e.NdJ("ngModelChange",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.priority=l)})("ngModelChange",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.filterLogs())}),e.YNc(6,mh,2,2,"option",40),e.qZA()(),e.TgZ(7,"div",41)(8,"label",42),e.SDv(9,43),e.qZA(),e.TgZ(10,"div",44)(11,"span",45),e._UZ(12,"i",46),e.qZA(),e.TgZ(13,"input",47),e.NdJ("ngModelChange",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.search=l)})("keyup",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.filterLogs())}),e.qZA(),e.TgZ(14,"button",48),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.clearSearchKey())}),e._UZ(15,"i"),e.qZA()()(),e.TgZ(16,"div",41)(17,"label",49),e.SDv(18,50),e.qZA(),e.TgZ(19,"div",44)(20,"input",51,52),e.NdJ("click",function(){e.CHM(n);const l=e.MAs(21);return e.KtG(l.open())})("ngModelChange",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.selectedDate=l)})("ngModelChange",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.filterLogs())}),e.qZA(),e.TgZ(22,"button",48),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.clearDate())}),e._UZ(23,"i"),e.qZA()()(),e.TgZ(24,"div",53)(25,"label",54),e.SDv(26,55),e.qZA(),e.TgZ(27,"div",56)(28,"ngb-timepicker",57),e.NdJ("ngModelChange",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.startTime=l)})("ngModelChange",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.filterLogs())}),e.qZA(),e.TgZ(29,"span",58),e._uU(30,"\xa0\u2014\xa0"),e.qZA(),e.TgZ(31,"ngb-timepicker",57),e.NdJ("ngModelChange",function(l){e.CHM(n);const _=e.oxw(2);return e.KtG(_.endTime=l)})("ngModelChange",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.filterLogs())}),e.qZA()()()()()}if(2&t){const n=e.oxw(2);e.xp6(5),e.Q6J("ngModel",n.priority),e.xp6(1),e.Q6J("ngForOf",n.priorities),e.xp6(6),e.Q6J("ngClass",e.VKq(16,Om,n.icons.search)),e.xp6(1),e.Q6J("ngModel",n.search),e.xp6(2),e.Gre("icon-prepend ",n.icons.destroy,""),e.xp6(5),e.Q6J("maxDate",n.maxDate)("ngModel",n.selectedDate),e.xp6(3),e.Gre("icon-prepend ",n.icons.destroy,""),e.xp6(5),e.Q6J("spinners",!1)("ngModel",n.startTime),e.xp6(3),e.Q6J("spinners",!1)("ngModel",n.endTime)}}function Am(t,i){if(1&t&&e.YNc(0,Xf,32,18,"div",33),2&t){const n=e.oxw();e.Q6J("ngIf",n.showFilterTools)}}function Zg(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"span"),e.SDv(1,60),e.qZA(),e.TgZ(2,"span"),e._uU(3,"\xa0"),e.qZA(),e.TgZ(4,"a",61),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.resetFilter())}),e.SDv(5,62),e.qZA()}}function sd(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",63),e.ynx(1),e.SDv(2,64),e.BQk(),e.qZA())}let Dm=(()=>{class t{constructor(n,o,l,_){this.logsService=n,this.cephService=o,this.datePipe=l,this.ngZone=_,this.showClusterLogs=!0,this.showAuditLogs=!0,this.showDaemonLogs=!0,this.showNavLinks=!0,this.showFilterTools=!0,this.showDownloadCopyButton=!0,this.defaultTab="",this.scrollable=!1,this.icons=Rr.P,this.priorities=[{name:"Debug",value:"[DBG]"},{name:"Info",value:"[INF]"},{name:"Warning",value:"[WRN]"},{name:"Error",value:"[ERR]"},{name:"All",value:"All"}],this.priority="All",this.search="",this.startTime={hour:0,minute:0},this.endTime={hour:23,minute:59},this.maxDate={year:(new Date).getFullYear(),month:(new Date).getMonth()+1,day:(new Date).getDate()}}ngOnInit(){this.getInfo(),this.ngZone.runOutsideAngular(()=>{this.getDaemonDetails(),this.interval=window.setInterval(()=>{this.ngZone.run(()=>{this.getInfo()})},5e3)})}ngOnDestroy(){clearInterval(this.interval)}getDaemonDetails(){this.lokiServiceStatus$=this.cephService.getDaemons("loki").pipe((0,Ec.U)(n=>n.length>0&&1===n[0].status)),this.promtailServiceStatus$=this.cephService.getDaemons("promtail").pipe((0,Ec.U)(n=>n.length>0&&1===n[0].status))}getInfo(){this.logsService.getLogs().subscribe(n=>{this.contentData=n,this.clogText=this.logToText(this.contentData.clog),this.auditLogText=this.logToText(this.contentData.audit_log),this.filterLogs()})}abstractFilters(){const n=this.priority,o=this.search.toLowerCase();let l;if(this.selectedDate){const oe=this.selectedDate.month,ue=this.selectedDate.day;l=`${this.selectedDate.year}-${oe<=9?`0${oe}`:`${oe}`}-${ue<=9?`0${ue}`:`${ue}`}`}else l="";return{priority:n,key:o,yearMonthDay:l,sTime:60*(this.startTime?.hour??0)+(this.startTime?.minute??0),eTime:60*(this.endTime?.hour??23)+(this.endTime?.minute??59)}}filterExecutor(n,o){return n.filter(l=>{const _=this.datePipe.transform(l.stamp,"mediumTime"),v=parseInt(_.split(":")[0],10),O=parseInt(_.split(":")[1],10);let P,G,K;return P="All"===o.priority?l.priority:o.priority,G=o.yearMonthDay?o.yearMonthDay:l.stamp,K=60*v+O,l.priority===P&&-1!==l.message.toLowerCase().indexOf(o.key)&&-1!==l.stamp.indexOf(G)&&K>=o.sTime&&K<=o.eTime})}filterLogs(){const n=this.abstractFilters();this.clog=this.filterExecutor(this.contentData.clog,n),this.audit_log=this.filterExecutor(this.contentData.audit_log,n)}clearSearchKey(){this.search="",this.filterLogs()}clearDate(){this.selectedDate=null,this.filterLogs()}resetFilter(){return this.priority="All",this.search="",this.selectedDate=null,this.startTime={hour:0,minute:0},this.endTime={hour:23,minute:59},this.filterLogs(),!1}logToText(n){let o="";for(const l of Object.keys(n))o=o+this.datePipe.transform(n[l].stamp,"medium")+"\t"+n[l].priority+"\t"+n[l].message+"\n";return o}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ey),e.Y36(rf),e.Y36(f.uU),e.Y36(e.R0b))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-logs"]],inputs:{showClusterLogs:"showClusterLogs",showAuditLogs:"showAuditLogs",showDaemonLogs:"showDaemonLogs",showNavLinks:"showNavLinks",showFilterTools:"showFilterTools",showDownloadCopyButton:"showDownloadCopyButton",defaultTab:"defaultTab",scrollable:"scrollable"},decls:7,vars:1,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue;return i="Cluster Logs",n="Audit Logs",o="Daemon Logs",l="Daemon logs",_="Priority:",v="Keyword:",O="Date:",P="Time range:",G="No log entries found. Please try to select different filter options.",K="Reset filter.",oe="Loki/Promtail service not running",ue="Please start the loki and promtail service to see these logs.",[[4,"ngIf"],["logFiltersTpl",""],["noEntriesTpl",""],["daemonLogsTpl",""],[4,"ngTemplateOutlet"],["ngbNav","","cdStatefulTab","logs",1,"nav-tabs",3,"cdStatefulTabDefault","hidden"],["nav","ngbNav"],["ngbNavItem","cluster-logs"],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","audit-logs"],n,["ngbNavItem","daemon-logs"],o,[3,"ngbNavOutlet"],["class","card bg-light mb-3",4,"ngIf"],[1,"card","bg-light","mb-3"],["class","btn-group","role","group",4,"ngIf"],[1,"card-body",3,"ngClass"],[4,"ngFor","ngForOf"],[4,"ngIf","ngIfElse"],["role","group",1,"btn-group"],["fileName","cluster_log",3,"objectItem","textItem",4,"ngIf"],[3,"source","byId",4,"ngIf"],["fileName","cluster_log",3,"objectItem","textItem"],[3,"source","byId"],[1,"timestamp"],[1,"message",3,"innerHTML"],[1,"card-body"],["fileName","audit_log",3,"objectItem","textItem",4,"ngIf"],["fileName","audit_log",3,"objectItem","textItem"],["title",l,"uid","CrAHE0iZz","grafanaStyle","two",3,"grafanaPath","type"],["class","row mb-3",4,"ngIf"],[1,"row","mb-3"],[1,"col-lg-10","d-flex"],[1,"col-sm-1","me-3"],["for","logs-priority",1,"fw-bold"],_,["id","logs-priority",1,"form-select",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"col-md-3","me-3"],["for","logs-keyword",1,"fw-bold"],v,[1,"input-group"],[1,"input-group-text"],[3,"ngClass"],["id","logs-keyword","type","text",1,"form-control",3,"ngModel","ngModelChange","keyup"],["type","button","title","Clear",1,"btn","btn-light",3,"click"],["for","logs-date",1,"fw-bold"],O,["id","logs-date","placeholder","YYYY-MM-DD","ngbDatepicker","",1,"form-control",3,"maxDate","ngModel","click","ngModelChange"],["d","ngbDatepicker"],[1,"col-md-5"],[1,"fw-bold"],P,[1,"d-flex"],[3,"spinners","ngModel","ngModelChange"],[1,"mt-2"],[3,"value"],G,["href","#",3,"click"],K,["type","info","title",oe],ue]},template:function(n,o){1&n&&(e.YNc(0,Ny,17,4,"div",0),e.YNc(1,Am,1,1,"ng-template",null,1,e.W1O),e.YNc(3,Zg,6,0,"ng-template",null,2,e.W1O),e.YNc(5,sd,3,0,"ng-template",null,3,e.W1O)),2&n&&e.Q6J("ngIf",o.contentData)},dependencies:[f.mk,f.sg,f.O5,f.tP,yi.uN,yi.Pz,yi.nv,yi.Vx,yi.tO,yi.Dy,ad.F,Zu.G,ia.s,$v,kc.m,st.o,za.b,rn.YN,rn.Kr,rn.Fj,rn.EJ,rn.JJ,rn.On,yi.Pm,yi.J4,f.Ov,Hv.e,Ve.N,G1],styles:["p[_ngcontent-%COMP%]{font-family:monospace}.card[_ngcontent-%COMP%] .btn-group[_ngcontent-%COMP%]{margin-top:-45px;position:absolute;right:0}.card[_ngcontent-%COMP%] div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:flex}.card[_ngcontent-%COMP%] div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:last-child{margin-bottom:0}.card[_ngcontent-%COMP%] .timestamp[_ngcontent-%COMP%]{flex-shrink:0;font-weight:700}.card[_ngcontent-%COMP%] .priority[_ngcontent-%COMP%]{margin-left:.5rem}.card[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{margin-left:1rem}.card[_ngcontent-%COMP%] .err[_ngcontent-%COMP%]{color:#dc3545}.card[_ngcontent-%COMP%] .warn[_ngcontent-%COMP%]{color:#d48200}.card[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{color:#25828e}.card[_ngcontent-%COMP%] .debug[_ngcontent-%COMP%]{color:#495057} cd-logs ngb-timepicker input.ngb-tp-input{width:3.5rem!important}.card-body.overflow-auto[_ngcontent-%COMP%]{height:50vh}"]}),t})();var H_=s(7273);function jm(t,i){if(1&t&&(e.TgZ(0,"cd-helper"),e._uU(1),e.ALo(2,"upperFirst"),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.hij(" ",e.lcZ(2,1,n.value.long_desc||n.value.desc)," ")}}function zm(t,i){if(1&t&&(e.TgZ(0,"div",15)(1,"div",16),e._UZ(2,"input",17)(3,"label",18),e.qZA()()),2&t){const n=e.oxw().$implicit;e.xp6(2),e.s9C("id",n.value.name),e.s9C("formControlName",n.value.name),e.xp6(1),e.s9C("for",n.value.name)}}function Vm(t,i){if(1&t&&e._UZ(0,"input",22),2&t){const n=e.oxw(2).$implicit;e.s9C("id",n.value.name),e.s9C("formControlName",n.value.name)}}function um(t,i){if(1&t&&(e.TgZ(0,"option",25),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("ngValue",n),e.xp6(1),e.hij(" ",n," ")}}function Zm(t,i){if(1&t&&(e.TgZ(0,"select",23),e.YNc(1,um,2,2,"option",24),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.s9C("id",n.value.name),e.s9C("formControlName",n.value.name),e.xp6(1),e.Q6J("ngForOf",n.value.enum_allowed)}}function cm(t,i){1&t&&(e.TgZ(0,"span",26),e.SDv(1,27),e.qZA())}function Wm(t,i){1&t&&(e.TgZ(0,"span",26),e.SDv(1,28),e.qZA())}function Jm(t,i){if(1&t&&(e.TgZ(0,"div",15),e.YNc(1,Vm,1,2,"input",19),e.YNc(2,Zm,2,3,"select",20),e.YNc(3,cm,2,0,"span",21),e.YNc(4,Wm,2,0,"span",21),e.qZA()),2&t){const n=e.oxw().$implicit;e.oxw();const o=e.MAs(2),l=e.oxw();e.xp6(1),e.Q6J("ngIf",0===n.value.enum_allowed.length),e.xp6(1),e.Q6J("ngIf",n.value.enum_allowed.length>0),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,o,"invalidUuid")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,o,"pattern"))}}function Vv(t,i){1&t&&(e.TgZ(0,"span",26),e.SDv(1,30),e.qZA())}function Zv(t,i){if(1&t&&(e.TgZ(0,"span",26),e.SDv(1,31),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.pQV(n.value.max),e.QtT(1)}}function z1(t,i){if(1&t&&(e.TgZ(0,"span",26),e.SDv(1,32),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.pQV(n.value.min),e.QtT(1)}}function Wv(t,i){1&t&&(e.TgZ(0,"span",26),e.SDv(1,33),e.qZA())}function Jv(t,i){if(1&t&&(e.TgZ(0,"div",15),e._UZ(1,"input",29),e.YNc(2,Vv,2,0,"span",21),e.YNc(3,Zv,2,1,"span",21),e.YNc(4,z1,2,1,"span",21),e.YNc(5,Wv,2,0,"span",21),e.qZA()),2&t){const n=e.oxw().$implicit;e.oxw();const o=e.MAs(2),l=e.oxw();e.xp6(1),e.s9C("id",n.value.name),e.s9C("formControlName",n.value.name),e.s9C("min",n.value.min),e.s9C("max",n.value.max),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,o,"required")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,o,"max")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,o,"min")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,o,"pattern"))}}function Qv(t,i){1&t&&(e.TgZ(0,"span",26),e.SDv(1,35),e.qZA())}function Wg(t,i){1&t&&(e.TgZ(0,"span",26),e.SDv(1,36),e.qZA())}function Jg(t,i){if(1&t&&(e.TgZ(0,"div",15),e._UZ(1,"input",34),e.YNc(2,Qv,2,0,"span",21),e.YNc(3,Wg,2,0,"span",21),e.qZA()),2&t){const n=e.oxw().$implicit;e.oxw();const o=e.MAs(2),l=e.oxw();e.xp6(1),e.s9C("id",n.value.name),e.s9C("formControlName",n.value.name),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,o,"required")),e.xp6(1),e.Q6J("ngIf",l.mgrModuleForm.showError(n.value.name,o,"pattern"))}}const Kv=function(){return["addr","str","uuid"]},Iy=function(){return["uint","int","size","secs"]};function Fy(t,i){if(1&t&&(e.TgZ(0,"div",11)(1,"label",12),e._uU(2),e.YNc(3,jm,3,3,"cd-helper",13),e.qZA(),e.YNc(4,zm,4,3,"div",14),e.YNc(5,Jm,5,4,"div",14),e.YNc(6,Jv,6,8,"div",14),e.YNc(7,Jg,4,4,"div",14),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.s9C("for",n.value.name),e.xp6(1),e.hij(" ",n.value.name," "),e.xp6(1),e.Q6J("ngIf",n.value.long_desc||n.value.desc),e.xp6(1),e.Q6J("ngIf","bool"===n.value.type),e.xp6(1),e.Q6J("ngIf",e.DdM(7,Kv).includes(n.value.type)),e.xp6(1),e.Q6J("ngIf",e.DdM(8,Iy).includes(n.value.type)),e.xp6(1),e.Q6J("ngIf","float"===n.value.type)}}function Xv(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.qZA(),e.TgZ(6,"div",7),e.YNc(7,Fy,8,9,"div",8),e.ALo(8,"keyvalue"),e.qZA(),e.TgZ(9,"div",9)(10,"cd-form-button-panel",10),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onSubmit())}),e.qZA()()()()()}if(2&t){const n=e.oxw();e.xp6(1),e.Q6J("formGroup",n.mgrModuleForm),e.xp6(6),e.Q6J("ngForOf",e.lcZ(8,4,n.moduleOptions)),e.xp6(3),e.Q6J("form",n.mgrModuleForm)("submitText",n.actionLabels.UPDATE)}}let Ly=(()=>{class t extends $c.E{constructor(n,o,l,_,v,O){super(),this.actionLabels=n,this.route=o,this.router=l,this.formBuilder=_,this.mgrModuleService=v,this.notificationService=O,this.moduleName="",this.moduleOptions=[]}ngOnInit(){this.route.params.subscribe(n=>{this.moduleName=decodeURIComponent(n.name);const o=[this.mgrModuleService.getOptions(this.moduleName),this.mgrModuleService.getConfig(this.moduleName)];(0,Za.D)(o).subscribe(l=>{this.moduleOptions=l[0],this.createForm(),this.mgrModuleForm.setValue(l[1]),this.loadingReady()},l=>{this.loadingError()})})}getValidators(n){const o=[];switch(n.type){case"addr":o.push(De.h.ip());break;case"uint":case"int":case"size":case"secs":o.push(rn.kI.required);break;case"str":Xe().isNumber(n.min)&&o.push(rn.kI.minLength(n.min)),Xe().isNumber(n.max)&&o.push(rn.kI.maxLength(n.max));break;case"float":o.push(rn.kI.required),o.push(De.h.decimalNumber());break;case"uuid":o.push(De.h.uuid())}return o}createForm(){const n={};Xe().forEach(this.moduleOptions,o=>{n[o.name]=[o.default_value,this.getValidators(o)]}),this.mgrModuleForm=this.formBuilder.group(n)}goToListView(){this.router.navigate(["/mgr-modules"])}onSubmit(){if(this.mgrModuleForm.pristine)return void this.goToListView();const n={};Xe().forEach(this.moduleOptions,o=>{const l=this.mgrModuleForm.get(o.name);l.dirty&&l.valid&&(n[o.name]=l.value)}),this.mgrModuleService.updateConfig(this.moduleName,n).subscribe(()=>{this.notificationService.show(Ho.k.success,"Updated options for module '" + this.moduleName + "'."),this.goToListView()},()=>{this.mgrModuleForm.setErrors({cdSubmitButton:!0})})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yr.p4),e.Y36(Ee.gz),e.Y36(Ee.F0),e.Y36(Qi.O),e.Y36(H_.N),e.Y36(Ui.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-mgr-module-form"]],features:[e.qOj],decls:1,vars:1,consts:function(){let i,n,o,l,_,v,O,P,G;return i="Edit Manager module",n="The entered value is not a valid UUID, e.g.: 67dcac9f-2c03-4d6c-b7bd-1210b3a259a8",o="The entered value needs to be a valid IP address.",l="This field is required.",_="The entered value is too high! It must be lower or equal to " + "\ufffd0\ufffd" + ".",v="The entered value is too low! It must be greater or equal to " + "\ufffd0\ufffd" + ".",O="The entered value needs to be a number.",P="This field is required.",G="The entered value needs to be a number or decimal.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","mgrModuleForm","novalidate","",3,"formGroup"],["frm","ngForm"],[1,"card"],[1,"card-header"],i,[1,"card-body"],["class","form-group row",4,"ngFor","ngForOf"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"form-group","row"],[1,"cd-col-form-label",3,"for"],[4,"ngIf"],["class","cd-col-form-input",4,"ngIf"],[1,"cd-col-form-input"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","formControlName"],[1,"custom-control-label",3,"for"],["class","form-control","type","text",3,"id","formControlName",4,"ngIf"],["class","form-select",3,"id","formControlName",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],["type","text",1,"form-control",3,"id","formControlName"],[1,"form-select",3,"id","formControlName"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[1,"invalid-feedback"],n,o,["type","number",1,"form-control",3,"id","formControlName","min","max"],l,_,v,O,["type","number",1,"form-control",3,"id","formControlName"],P,G]},template:function(n,o){1&n&&e.YNc(0,Xv,11,6,"div",0),2&n&&e.Q6J("cdFormLoading",o.loading)},dependencies:[f.sg,f.O5,rn._Y,rn.YN,rn.Kr,rn.Fj,rn.wV,rn.Wl,rn.EJ,rn.JJ,rn.JL,rn.qQ,rn.Fd,rn.sg,rn.u,La.S,rl.p,Pu.y,st.o,za.b,Va.P,Os.V,f.Nd,Cu.m]}),t})();var Qg=s(61717);function V1(t,i){if(1&t&&(e.ynx(0),e._UZ(1,"cd-table-key-value",1),e.BQk()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("data",n.module_config)}}let Z1=(()=>{class t{constructor(n){this.mgrModuleService=n}ngOnChanges(){this.selection&&this.mgrModuleService.getConfig(this.selection.name).subscribe(n=>{this.module_config=n})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(H_.N))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-mgr-module-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:[[4,"ngIf"],[3,"data"]],template:function(n,o){1&n&&e.YNc(0,V1,2,1,"ng-container",0),2&n&&e.Q6J("ngIf",o.selection)},dependencies:[f.O5,bu.b]}),t})();class Qm extends Hr.o{constructor(i,n,o){super(),this.authStorageService=i,this.mgrModuleService=n,this.notificationService=o,this.columns=[],this.modules=[],this.selection=new Io.r,this.permission=this.authStorageService.getPermissions().configOpt,this.columns=[{name:"Name",prop:"name",flexGrow:1},{name:"Enabled",prop:"enabled",flexGrow:1,cellClass:"text-center",cellTransformation:Xr.e.checkIcon},{name:"Always-On",prop:"always_on",flexGrow:1,cellClass:"text-center",cellTransformation:Xr.e.checkIcon}];const l=()=>this.selection.first()&&encodeURIComponent(this.selection.first().name);this.tableActions=[{name:"Edit",permission:"update",disable:()=>!this.selection.hasSelection||0===Object.values(this.selection.first().options).length,routerLink:()=>`/mgr-modules/edit/${l()}`,icon:Rr.P.edit},{name:"Enable",permission:"update",click:()=>this.updateModuleState(),disable:()=>this.isTableActionDisabled("enabled"),icon:Rr.P.start},{name:"Disable",permission:"update",click:()=>this.updateModuleState(),disable:()=>this.getTableActionDisabledDesc(),icon:Rr.P.stop}]}getModuleList(i){this.mgrModuleService.list().subscribe(n=>{this.modules=n},()=>{i.error()})}updateSelection(i){this.selection=i}isTableActionDisabled(i){if(!this.selection.hasSelection)return!0;const n=this.selection.first();if("dashboard"===n.name||n.always_on)return!0;switch(i){case"enabled":return n.enabled;case"disabled":return!n.enabled}}getTableActionDisabledDesc(){return this.selection.first()?.always_on?"This Manager module is always on.":this.isTableActionDisabled("disabled")}updateModuleState(){if(!this.selection.hasSelection)return;let i;const n=()=>{(0,xl.H)(2e3).subscribe(()=>{this.mgrModuleService.list().subscribe(()=>{this.notificationService.suspendToasties(!1),this.blockUI.stop(),this.table.refreshBtn()},()=>{n()})})},o=this.selection.first();i=o.enabled?this.mgrModuleService.disable(o.name):this.mgrModuleService.enable(o.name),i.subscribe(()=>{},()=>{this.notificationService.suspendToasties(!0),this.blockUI.start("Reconnecting, please wait ..."),n()})}}Qm.\u0275fac=function(i){return new(i||Qm)(e.Y36(Do.j),e.Y36(H_.N),e.Y36(Ui.g))},Qm.\u0275cmp=e.Xpm({type:Qm,selectors:[["cd-mgr-module-list"]],viewQuery:function(i,n){if(1&i&&e.Gf(zo.a,7),2&i){let o;e.iGM(o=e.CRH())&&(n.table=o.first)}},features:[e.qOj],decls:4,vars:8,consts:[["columnMode","flex","selectionType","single","identifier","module",3,"autoReload","data","columns","hasDetails","setExpandedRow","updateSelection","fetchData"],["table",""],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"]],template:function(i,n){1&i&&(e.TgZ(0,"cd-table",0,1),e.NdJ("setExpandedRow",function(l){return n.setExpandedRow(l)})("updateSelection",function(l){return n.updateSelection(l)})("fetchData",function(l){return n.getModuleList(l)}),e._UZ(2,"cd-table-actions",2)(3,"cd-mgr-module-details",3),e.qZA()),2&i&&(e.Q6J("autoReload",!1)("data",n.modules)("columns",n.columns)("hasDetails",!0),e.xp6(2),e.Q6J("permission",n.permission)("selection",n.selection)("tableActions",n.tableActions),e.xp6(1),e.Q6J("selection",n.expandedRow))},dependencies:[zo.a,$l.K,Z1]}),(0,Gt.gn)([(0,Qg.bH)(),(0,Gt.w6)("design:type",Object)],Qm.prototype,"blockUI",void 0);let Kg=(()=>{class t{constructor(n){this.http=n}getMonitor(){return this.http.get("api/monitor")}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Xg(t,i){if(1&t&&(e.TgZ(0,"table",11)(1,"tbody")(2,"tr")(3,"td",12),e.SDv(4,13),e.qZA(),e.TgZ(5,"td"),e._uU(6),e.qZA()(),e.TgZ(7,"tr")(8,"td",12),e.SDv(9,14),e.qZA(),e.TgZ(10,"td"),e._uU(11),e.ALo(12,"relativeDate"),e.qZA()(),e.TgZ(13,"tr")(14,"td",12),e.SDv(15,15),e.qZA(),e.TgZ(16,"td"),e._uU(17),e.qZA()(),e.TgZ(18,"tr")(19,"td",12),e.SDv(20,16),e.qZA(),e.TgZ(21,"td"),e._uU(22),e.qZA()(),e.TgZ(23,"tr")(24,"td",12),e.SDv(25,17),e.qZA(),e.TgZ(26,"td"),e._uU(27),e.qZA()(),e.TgZ(28,"tr")(29,"td",12),e.SDv(30,18),e.qZA(),e.TgZ(31,"td"),e._uU(32),e.qZA()(),e.TgZ(33,"tr")(34,"td",12),e.SDv(35,19),e.qZA(),e.TgZ(36,"td"),e._uU(37),e.qZA()()()()),2&t){const n=e.oxw();e.xp6(6),e.Oqu(n.mon_status.monmap.fsid),e.xp6(5),e.Oqu(e.lcZ(12,7,n.mon_status.monmap.modified)),e.xp6(6),e.Oqu(n.mon_status.monmap.epoch),e.xp6(5),e.Oqu(n.mon_status.features.quorum_con),e.xp6(5),e.Oqu(n.mon_status.features.quorum_mon),e.xp6(5),e.Oqu(n.mon_status.features.required_con),e.xp6(5),e.Oqu(n.mon_status.features.required_mon)}}let W1=(()=>{class t{constructor(n){this.monitorService=n,this.inQuorum={columns:[{prop:"name",name:"Name",cellTransformation:Xr.e.routerLink},{prop:"rank",name:"Rank"},{prop:"public_addr",name:"Public Address"},{prop:"cdOpenSessions",name:"Open Sessions",cellTransformation:Xr.e.sparkline,comparator:(o,l)=>{const _=Xe().last(o),v=Xe().last(l);return _&&v&&_!==v?_>v?1:-1:0}}]},this.notInQuorum={columns:[{prop:"name",name:"Name",cellTransformation:Xr.e.routerLink},{prop:"rank",name:"Rank"},{prop:"public_addr",name:"Public Address"}]}}refresh(){this.monitorService.getMonitor().subscribe(n=>{n.in_quorum.map(o=>(o.cdOpenSessions=o.stats.num_sessions.map(l=>l[1]),o.cdLink="/perf_counters/mon/"+o.name,o.cdParams={fromLink:"/monitor"},o)),n.out_quorum.map(o=>(o.cdLink="/perf_counters/mon/"+o.name,o.cdParams={fromLink:"/monitor"},o)),this.inQuorum.data=[...n.in_quorum],this.notInQuorum.data=[...n.out_quorum],this.mon_status=n.mon_status})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Kg))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-monitor"]],decls:15,vars:5,consts:function(){let i,n,o,l,_,v,O,P,G,K;return i="Status",n="In Quorum",o="Not In Quorum",l="Cluster ID",_="monmap modified",v="monmap epoch",O="quorum con",P="quorum mon",G="required con",K="required mon",[[1,"row"],[1,"col-lg-4"],[1,"cd-header"],i,["class","table table-striped",4,"ngIf"],[1,"col-lg-8"],[1,"in-quorum","cd-header"],n,[3,"data","columns"],o,[3,"data","columns","fetchData"],[1,"table","table-striped"],[1,"bold"],l,_,v,O,P,G,K]},template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"fieldset")(3,"legend",2),e.SDv(4,3),e.qZA(),e.YNc(5,Xg,38,9,"table",4),e.qZA()(),e.TgZ(6,"div",5)(7,"legend",6),e.SDv(8,7),e.qZA(),e.TgZ(9,"div"),e._UZ(10,"cd-table",8),e.qZA(),e.TgZ(11,"legend",6),e.SDv(12,9),e.qZA(),e.TgZ(13,"div")(14,"cd-table",10),e.NdJ("fetchData",function(){return o.refresh()}),e.qZA()()()()),2&n&&(e.xp6(5),e.Q6J("ngIf",o.mon_status),e.xp6(5),e.Q6J("data",o.inQuorum.data)("columns",o.inQuorum.columns),e.xp6(4),e.Q6J("data",o.notInQuorum.data)("columns",o.notInQuorum.columns))},dependencies:[f.O5,zo.a,Wf.h]}),t})();class qv{}function qg(t,i){if(1&t&&(e.TgZ(0,"span",18),e.SDv(1,19),e.qZA()),2&t){const n=e.oxw(2);e.Q6J("ngbTooltip",n.clusterWideTooltip)}}function e1(t,i){1&t&&e._UZ(0,"hr",20)}function J1(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",12)(1,"input",13),e.NdJ("change",function(){const _=e.CHM(n).$implicit,v=e.oxw();return e.KtG(v.changeValue(_))}),e.qZA(),e.TgZ(2,"label",14)(3,"strong"),e._uU(4),e.qZA(),e.YNc(5,qg,2,1,"span",15),e._UZ(6,"br"),e.TgZ(7,"span",16),e._uU(8),e.qZA()(),e.YNc(9,e1,1,0,"hr",17),e.qZA()}if(2&t){const n=i.$implicit,o=i.last;e.xp6(1),e.Q6J("checked",n.value)("indeterminate",n.indeterminate)("name",n.code)("id",n.code),e.xp6(1),e.Q6J("for",n.code),e.xp6(2),e.Oqu(n.name),e.xp6(1),e.Q6J("ngIf",n.clusterWide),e.xp6(3),e.Oqu(n.description),e.xp6(1),e.Q6J("ngIf",!o)}}let e0=(()=>{class t{constructor(n,o,l,_,v){this.activeModal=n,this.actionLabels=o,this.authStorageService=l,this.osdService=_,this.notificationService=v,this.initialSelection=[],this.osdFlagsForm=new rn.nJ({}),this.flags=[{code:"noup",name:"No Up",description:"OSDs are not allowed to start",value:!1,clusterWide:!1,indeterminate:!1},{code:"nodown",name:"No Down",description:"OSD failure reports are being ignored, such that the monitors will not mark OSDs down",value:!1,clusterWide:!1,indeterminate:!1},{code:"noin",name:"No In",description:"OSDs that were previously marked out will not be marked back in when they start",value:!1,clusterWide:!1,indeterminate:!1},{code:"noout",name:"No Out",description:"OSDs will not automatically be marked out after the configured interval",value:!1,clusterWide:!1,indeterminate:!1}],this.clusterWideTooltip="The flag has been enabled for the entire cluster.",this.permissions=this.authStorageService.getPermissions()}ngOnInit(){const n=this.selected.length;this.osdService.getFlags().subscribe(o=>{const l=this.getActivatedIndivFlags();this.flags.forEach(_=>{const v=l[_.code];o.includes(_.code)&&(_.clusterWide=!0),v===n?_.value=!0:v>0&&(_.indeterminate=!0)}),this.initialSelection=Xe().cloneDeep(this.flags)})}getActivatedIndivFlags(){const n={};return this.flags.forEach(o=>{n[o.code]=0}),[].concat(...this.selected.map(o=>o.state)).map(o=>{Object.keys(n).includes(o)&&(n[o]=n[o]+1)}),n}changeValue(n){n.value=!n.value,n.indeterminate=!1}resetSelection(){this.flags=Xe().cloneDeep(this.initialSelection)}submitAction(){const n={};this.flags.forEach(l=>{n[l.code]=l.indeterminate?null:l.value});const o=this.selected.map(l=>l.osd);this.osdService.updateIndividualFlags(n,o).subscribe(()=>{this.notificationService.show(Ho.k.success,"Updated OSD Flags"),this.activeModal.close()},()=>{this.activeModal.close()})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yi.Kz),e.Y36(yr.p4),e.Y36(Do.j),e.Y36(Zc),e.Y36(Ui.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-flags-indiv-modal"]],decls:12,vars:6,consts:function(){let i,n,o;return i="Individual OSD Flags",n="Restore previous selection",o="Cluster-wide",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","osdFlagsForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body","osd-modal"],["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],[1,"modal-footer"],["type","button",1,"btn","btn-light",3,"click"],n,[3,"form","showSubmit","submitText","submitActionEvent"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"checked","indeterminate","name","id","change"],["ng-class","['tc_' + key]",1,"custom-control-label",3,"for"],["class","badge badge-hdd ms-2",3,"ngbTooltip",4,"ngIf"],[1,"form-text","text-muted"],["class","m-1",4,"ngIf"],[1,"badge","badge-hdd","ms-2",3,"ngbTooltip"],o,[1,"m-1"]]},template:function(n,o){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6),e.YNc(7,J1,10,9,"div",7),e.qZA(),e.TgZ(8,"div",8)(9,"button",9),e.NdJ("click",function(){return o.resetSelection()}),e.SDv(10,10),e.qZA(),e.TgZ(11,"cd-form-button-panel",11),e.NdJ("submitActionEvent",function(){return o.submitAction()}),e.qZA()()(),e.BQk(),e.qZA()),2&n&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.osdFlagsForm),e.xp6(3),e.Q6J("ngForOf",o.flags),e.xp6(4),e.Q6J("form",o.osdFlagsForm)("showSubmit",o.permissions.osd.update)("submitText",o.actionLabels.UPDATE))},dependencies:[f.sg,f.O5,al.z,rl.p,st.o,za.b,Os.V,rn._Y,rn.JL,rn.sg,yi._L]}),t})();var Mg=s(84333);function t0(t,i){1&t&&e._UZ(0,"hr",15)}function n0(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",10)(1,"input",11),e.NdJ("change",function(){const _=e.CHM(n).$implicit;return e.KtG(_.value=!_.value)}),e.qZA(),e.TgZ(2,"label",12)(3,"strong"),e._uU(4),e.qZA(),e._UZ(5,"br"),e.TgZ(6,"span",13),e._uU(7),e.qZA()(),e.YNc(8,t0,1,0,"hr",14),e.qZA()}if(2&t){const n=i.$implicit,o=i.last;e.xp6(1),e.Q6J("checked",n.value)("name",n.code)("id",n.code)("disabled",n.disabled),e.xp6(1),e.Q6J("for",n.code),e.xp6(2),e.Oqu(n.name),e.xp6(3),e.Oqu(n.description),e.xp6(1),e.Q6J("ngIf",!o)}}let Q1=(()=>{class t{constructor(n,o,l,_,v){this.activeModal=n,this.actionLabels=o,this.authStorageService=l,this.osdService=_,this.notificationService=v,this.osdFlagsForm=new rn.nJ({}),this.allFlags={noin:{code:"noin",name:"No In",value:!1,description:"OSDs that were previously marked out will not be marked back in when they start"},noout:{code:"noout",name:"No Out",value:!1,description:"OSDs will not automatically be marked out after the configured interval"},noup:{code:"noup",name:"No Up",value:!1,description:"OSDs are not allowed to start"},nodown:{code:"nodown",name:"No Down",value:!1,description:"OSD failure reports are being ignored, such that the monitors will not mark OSDs down"},pause:{code:"pause",name:"Pause",value:!1,description:"Pauses reads and writes"},noscrub:{code:"noscrub",name:"No Scrub",value:!1,description:"Scrubbing is disabled"},"nodeep-scrub":{code:"nodeep-scrub",name:"No Deep Scrub",value:!1,description:"Deep Scrubbing is disabled"},nobackfill:{code:"nobackfill",name:"No Backfill",value:!1,description:"Backfilling of PGs is suspended"},norebalance:{code:"norebalance",name:"No Rebalance",value:!1,description:"OSD will choose not to backfill unless PG is also degraded"},norecover:{code:"norecover",name:"No Recover",value:!1,description:"Recovery of PGs is suspended"},sortbitwise:{code:"sortbitwise",name:"Bitwise Sort",value:!1,description:"Use bitwise sort",disabled:!0},purged_snapdirs:{code:"purged_snapdirs",name:"Purged Snapdirs",value:!1,description:"OSDs have converted snapsets",disabled:!0},recovery_deletes:{code:"recovery_deletes",name:"Recovery Deletes",value:!1,description:"Deletes performed during recovery instead of peering",disabled:!0},pglog_hardlimit:{code:"pglog_hardlimit",name:"PG Log Hard Limit",value:!1,description:"Puts a hard limit on pg log length",disabled:!0}},this.unknownFlags=[],this.permissions=this.authStorageService.getPermissions()}ngOnInit(){this.osdService.getFlags().subscribe(n=>{n.forEach(o=>{this.allFlags[o]?this.allFlags[o].value=!0:this.unknownFlags.push(o)}),this.flags=Xe().toArray(this.allFlags)})}submitAction(){const n=this.flags.filter(o=>o.value).map(o=>o.code).concat(this.unknownFlags);this.osdService.updateFlags(n).subscribe(()=>{this.notificationService.show(Ho.k.success,"Updated OSD Flags"),this.activeModal.close()},()=>{this.activeModal.close()})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yi.Kz),e.Y36(yr.p4),e.Y36(Do.j),e.Y36(Zc),e.Y36(Ui.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-flags-modal"]],decls:10,vars:6,consts:function(){let i;return i="Cluster-wide OSD Flags",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","osdFlagsForm","novalidate","","cdFormScope","osd",3,"formGroup"],["formDir","ngForm"],[1,"modal-body","osd-modal"],["class","custom-control custom-checkbox",4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","showSubmit","submitText","submitActionEvent"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"checked","name","id","disabled","change"],["ng-class","['tc_' + key]",1,"custom-control-label",3,"for"],[1,"form-text","text-muted"],["class","m-1",4,"ngIf"],[1,"m-1"]]},template:function(n,o){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6),e.YNc(7,n0,9,8,"div",7),e.qZA(),e.TgZ(8,"div",8)(9,"cd-form-button-panel",9),e.NdJ("submitActionEvent",function(){return o.submitAction()}),e.qZA()()(),e.BQk(),e.qZA()),2&n&&(e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.osdFlagsForm),e.xp6(3),e.Q6J("ngForOf",o.flags),e.xp6(2),e.Q6J("form",o.osdFlagsForm)("showSubmit",o.permissions.osd.update)("submitText",o.actionLabels.UPDATE))},dependencies:[f.sg,f.O5,al.z,rl.p,st.o,Mg.T,za.b,Os.V,rn._Y,rn.JL,rn.sg]}),t})();function A(t,i){if(1&t&&(e.TgZ(0,"cd-helper"),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",n.long_desc,"")}}function B(t,i){if(1&t&&(e.TgZ(0,"div",4)(1,"label",5)(2,"b"),e._uU(3),e.qZA(),e._UZ(4,"br"),e.TgZ(5,"span",6),e._uU(6),e.YNc(7,A,2,1,"cd-helper",7),e.qZA()(),e.TgZ(8,"div",8)(9,"div",9),e._UZ(10,"input",10)(11,"label",11),e.qZA()()()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("for",n.name),e.xp6(2),e.Oqu(n.text),e.xp6(3),e.hij(" ",n.desc," "),e.xp6(1),e.Q6J("ngIf",n.long_desc),e.xp6(3),e.Q6J("id",n.name)("formControlName",n.name),e.xp6(1),e.Q6J("for",n.name)}}function me(t,i){if(1&t&&(e.TgZ(0,"cd-helper"),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",n.long_desc,"")}}const _t=function(t){return[t]};function on(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",16),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2).$implicit,_=e.oxw();return e.KtG(_.resetValue(l.name))}),e._UZ(1,"i",17),e.qZA()}if(2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngClass",e.VKq(1,_t,n.icons.erase))}}function Fn(t,i){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",n.additionalTypeInfo.patternHelpText,"")}}function Tr(t,i){if(1&t&&(e.TgZ(0,"span",18),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.hij(" ",n.additionalTypeInfo.patternHelpText,"")}}function Jr(t,i){if(1&t&&(e.TgZ(0,"span",18),e.SDv(1,19),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.pQV(n.maxValue),e.QtT(1)}}function hi(t,i){if(1&t&&(e.TgZ(0,"span",18),e.SDv(1,20),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.xp6(1),e.pQV(n.minValue),e.QtT(1)}}function Oo(t,i){if(1&t&&(e.TgZ(0,"div",4)(1,"label",5),e._uU(2),e._UZ(3,"br"),e.TgZ(4,"span",6),e._uU(5),e.YNc(6,me,2,1,"cd-helper",7),e.qZA()(),e.TgZ(7,"div",8)(8,"div",12),e._UZ(9,"input",13),e.YNc(10,on,2,3,"button",14),e.qZA(),e.YNc(11,Fn,2,1,"span",15),e.YNc(12,Tr,2,1,"span",15),e.YNc(13,Jr,2,1,"span",15),e.YNc(14,hi,2,1,"span",15),e.qZA()()),2&t){const n=e.oxw().$implicit,o=e.oxw();e.xp6(1),e.Q6J("for",n.name),e.xp6(1),e.hij("",n.text," "),e.xp6(3),e.hij(" ",n.desc," "),e.xp6(1),e.Q6J("ngIf",n.long_desc),e.xp6(3),e.Q6J("type",n.additionalTypeInfo.inputType)("id",n.name)("placeholder",n.additionalTypeInfo.humanReadable)("formControlName",n.name)("step",o.getStep(n.type,o.optionsForm.getValue(n.name))),e.xp6(1),e.Q6J("ngIf",o.optionsFormShowReset),e.xp6(1),e.Q6J("ngIf",o.optionsForm.showError(n.name,o.optionsFormDir,"pattern")),e.xp6(1),e.Q6J("ngIf",o.optionsForm.showError(n.name,o.optionsFormDir,"invalidUuid")),e.xp6(1),e.Q6J("ngIf",o.optionsForm.showError(n.name,o.optionsFormDir,"max")),e.xp6(1),e.Q6J("ngIf",o.optionsForm.showError(n.name,o.optionsFormDir,"min"))}}function Ao(t,i){1&t&&e._UZ(0,"hr",21)}function Bo(t,i){if(1&t&&(e.TgZ(0,"div"),e.YNc(1,B,12,7,"div",2),e.YNc(2,Oo,15,14,"div",2),e.YNc(3,Ao,1,0,"hr",3),e.qZA()),2&t){const n=i.$implicit,o=i.last;e.xp6(1),e.Q6J("ngIf","bool"===n.type),e.xp6(1),e.Q6J("ngIf","bool"!==n.type),e.xp6(1),e.Q6J("ngIf",!o)}}let Bs=(()=>{class t{constructor(n){this.configService=n,this.optionNames=[],this.optionsForm=new fu.d({}),this.optionsFormDir=new rn.F([],[]),this.optionsFormGroupName="",this.optionsFormShowReset=!0,this.icons=Rr.P,this.options=[],this.optionsFormGroup=new fu.d({})}static optionNameToText(n){const o=["mon","mgr","osd","mds","client"];return n.split("_").filter((l,_)=>0!==_||!o.includes(l)).map(l=>l.charAt(0).toUpperCase()+l.substring(1)).join(" ")}ngOnInit(){this.createForm(),this.loadStoredData()}createForm(){this.optionsForm.addControl(this.optionsFormGroupName,this.optionsFormGroup),this.optionNames.forEach(n=>{this.optionsFormGroup.addControl(n,new rn.p4(null))})}getStep(n,o){return wa.getTypeStep(n,o)}loadStoredData(){this.configService.filter(this.optionNames).subscribe(n=>{this.options=n.map(o=>{const l=this.optionsForm.get(o.name),_=wa.getTypeValidators(o);return o.additionalTypeInfo=wa.getType(o.type),o.text=t.optionNameToText(o.name),o.value=Xe().find(o.value,v=>"osd"===v.section),o.value&&l.setValue("bool"===o.additionalTypeInfo.name?"true"===o.value.value:o.value.value),_&&(o.patternHelpText=_.patternHelpText,"max"in _&&""!==_.max&&(o.maxValue=_.max),"min"in _&&""!==_.min&&(o.minValue=_.min),l.setValidators(_.validators)),o})})}saveValues(){const n={};return this.optionNames.forEach(o=>{const l=this.optionsForm.getValue(o);null!==l&&""!==l&&(n[o]={section:"osd",value:l})}),this.configService.bulkCreate({options:n})}resetValue(n){this.configService.delete(n,"osd").subscribe(()=>{this.optionsForm.get(n).reset()})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Fa.e))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-config-option"]],inputs:{optionNames:"optionNames",optionsForm:"optionsForm",optionsFormDir:"optionsFormDir",optionsFormGroupName:"optionsFormGroupName",optionsFormShowReset:"optionsFormShowReset"},decls:2,vars:2,consts:function(){let i,n,o;return i="Remove the custom configuration value. The default configuration will be inherited and used instead.",n="The entered value is too high! It must not be greater than " + "\ufffd0\ufffd" + ".",o="The entered value is too low! It must not be lower than " + "\ufffd0\ufffd" + ".",[[3,"formGroup"],[4,"ngFor","ngForOf"],["class","form-group row pt-2",4,"ngIf"],["class","my-2",4,"ngIf"],[1,"form-group","row","pt-2"],[1,"cd-col-form-label",3,"for"],[1,"text-muted"],[4,"ngIf"],[1,"cd-col-form-input"],[1,"custom-control","custom-checkbox"],["type","checkbox",1,"custom-control-input",3,"id","formControlName"],[1,"custom-control-label",3,"for"],[1,"input-group"],[1,"form-control",3,"type","id","placeholder","formControlName","step"],["class","btn btn-light","type","button","data-toggle","button","title",i,3,"click",4,"ngIf"],["class","invalid-feedback",4,"ngIf"],["type","button","data-toggle","button","title",i,1,"btn","btn-light",3,"click"],["aria-hidden","true",3,"ngClass"],[1,"invalid-feedback"],n,o,[1,"my-2"]]},template:function(n,o){1&n&&(e.TgZ(0,"div",0),e.YNc(1,Bo,4,3,"div",1),e.qZA()),2&n&&(e.Q6J("formGroup",o.optionsFormGroup),e.xp6(1),e.Q6J("ngForOf",o.options))},dependencies:[f.mk,f.sg,f.O5,rn.Fj,rn.Wl,rn.JJ,rn.JL,rn.sg,rn.u,st.o,za.b,Va.P,Os.V,La.S],styles:[".custom-checkbox[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .custom-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{cursor:pointer}.col-form-label[_ngcontent-%COMP%]{text-align:left}"]}),t})(),Ea=(()=>{class t{}return t.basicOptions=["osd_scrub_during_recovery","osd_scrub_begin_hour","osd_scrub_end_hour","osd_scrub_begin_week_day","osd_scrub_end_week_day","osd_scrub_min_interval","osd_scrub_max_interval","osd_deep_scrub_interval","osd_scrub_auto_repair","osd_max_scrubs","osd_scrub_priority","osd_scrub_sleep"],t.advancedOptions=["osd_scrub_auto_repair_num_errors","osd_debug_deep_scrub_sleep","osd_deep_scrub_keys","osd_deep_scrub_large_omap_object_key_threshold","osd_deep_scrub_large_omap_object_value_sum_threshold","osd_deep_scrub_randomize_ratio","osd_deep_scrub_stride","osd_deep_scrub_update_digest_min_age","osd_requested_scrub_priority","osd_scrub_backoff_ratio","osd_scrub_chunk_max","osd_scrub_chunk_min","osd_scrub_cost","osd_scrub_interval_randomize_ratio","osd_scrub_invalid_stats","osd_scrub_load_threshold","osd_scrub_max_preemptions","osd_shallow_scrub_chunk_max","osd_shallow_scrub_chunk_min"],t})();const pl=["basicOptionsValues"],ru=["advancedOptionsValues"];function _l(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"a",15),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.advancedEnabled=!0)}),e.SDv(1,16),e.qZA()}}function vu(t,i){if(1&t&&(e.TgZ(0,"div")(1,"h3",17),e.SDv(2,18),e.qZA(),e._UZ(3,"cd-config-option",7,19),e.qZA()),2&t){const n=e.oxw(),o=e.MAs(7);e.xp6(3),e.Q6J("optionNames",n.advancedOptions)("optionsForm",n.osdPgScrubForm)("optionsFormDir",o)("optionsFormGroupName","advancedFormGroup")}}let Lu=(()=>{class t{constructor(n,o,l,_){this.activeModal=n,this.authStorageService=o,this.notificationService=l,this.actionLabels=_,this.basicOptions=Ea.basicOptions,this.advancedOptions=Ea.advancedOptions,this.advancedEnabled=!1,this.osdPgScrubForm=new fu.d({}),this.resource="PG scrub options",this.action=this.actionLabels.EDIT,this.permissions=this.authStorageService.getPermissions()}submitAction(){const n=[this.basicOptionsValues.saveValues()];this.advancedOptionsValues&&n.push(this.advancedOptionsValues.saveValues()),(0,Za.D)(n).subscribe(()=>{this.notificationService.show(Ho.k.success,"Updated PG scrub options"),this.activeModal.close()},()=>{this.activeModal.close()})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yi.Kz),e.Y36(Do.j),e.Y36(Ui.g),e.Y36(yr.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-pg-scrub-modal"]],viewQuery:function(n,o){if(1&n&&(e.Gf(pl,7),e.Gf(ru,5)),2&n){let l;e.iGM(l=e.CRH())&&(o.basicOptionsValues=l.first),e.iGM(l=e.CRH())&&(o.advancedOptionsValues=l.first)}},decls:19,vars:21,consts:function(){let i,n,o;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Advanced...",o="Advanced configuration options",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["novalidate","","cdFormScope","osd",3,"formGroup"],["formDir","ngForm"],[1,"modal-body","osd-modal"],[3,"optionNames","optionsForm","optionsFormDir","optionsFormGroupName"],["basicOptionsValues",""],[1,"row"],[1,"col-sm-12"],["class","pull-right margin-right-md",3,"click",4,"ngIf"],[4,"ngIf"],[1,"modal-footer"],[3,"form","showSubmit","submitText","submitActionEvent"],[1,"pull-right","margin-right-md",3,"click"],n,[1,"page-header"],o,["advancedOptionsValues",""]]},template:function(n,o){if(1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.ALo(3,"titlecase"),e.ALo(4,"upperFirst"),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6),e._UZ(9,"cd-config-option",7,8),e.TgZ(11,"div",9)(12,"div",10),e.YNc(13,_l,2,0,"a",11),e.qZA()(),e.YNc(14,vu,5,4,"div",12),e.qZA(),e.TgZ(15,"div",13)(16,"cd-form-button-panel",14),e.NdJ("submitActionEvent",function(){return o.submitAction()}),e.ALo(17,"titlecase"),e.ALo(18,"upperFirst"),e.qZA()()(),e.BQk(),e.qZA()),2&n){const l=e.MAs(7);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.pQV(e.lcZ(3,13,o.action))(e.lcZ(4,15,o.resource)),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.osdPgScrubForm),e.xp6(3),e.Q6J("optionNames",o.basicOptions)("optionsForm",o.osdPgScrubForm)("optionsFormDir",l)("optionsFormGroupName","basicFormGroup"),e.xp6(4),e.Q6J("ngIf",!o.advancedEnabled),e.xp6(1),e.Q6J("ngIf",o.advancedEnabled),e.xp6(2),e.Q6J("form",o.osdPgScrubForm)("showSubmit",o.permissions.configOpt.update)("submitText",e.lcZ(17,17,o.action)+" "+e.lcZ(18,19,o.resource))}},dependencies:[f.O5,al.z,Bs,rl.p,Mg.T,Os.V,rn._Y,rn.JL,rn.sg,f.rS,Cu.m]}),t})();function qf(t,i){if(1&t&&(e.TgZ(0,"option",22),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.name),e.xp6(1),e.hij(" ",n.text," ")}}function Md(t,i){1&t&&(e.TgZ(0,"span",23),e.SDv(1,24),e.qZA())}function Qp(t,i){if(1&t&&(e.TgZ(0,"cd-helper"),e._uU(1),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Oqu(n.value.desc)}}function Id(t,i){1&t&&(e.TgZ(0,"span",23),e.SDv(1,29),e.qZA())}function Kp(t,i){if(1&t&&(e.TgZ(0,"span",23),e.SDv(1,30),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.pQV(n.value.patternHelpText),e.QtT(1)}}function gp(t,i){if(1&t&&(e.TgZ(0,"span",23),e.SDv(1,31),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.pQV(n.value.maxValue),e.QtT(1)}}function t1(t,i){if(1&t&&(e.TgZ(0,"span",23),e.SDv(1,32),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.pQV(n.value.minValue),e.QtT(1)}}const l2=function(t){return{required:t}};function ky(t,i){if(1&t&&(e.TgZ(0,"div",7)(1,"label",25)(2,"span",26),e._uU(3),e.qZA(),e.YNc(4,Qp,2,1,"cd-helper",27),e.qZA(),e.TgZ(5,"div",10),e._UZ(6,"input",28),e.YNc(7,Id,2,0,"span",13),e.YNc(8,Kp,2,1,"span",13),e.YNc(9,gp,2,1,"span",13),e.YNc(10,t1,2,1,"span",13),e.qZA()()),2&t){const n=i.$implicit,o=e.oxw(),l=e.MAs(5);e.xp6(1),e.Q6J("for",n.key),e.xp6(1),e.Q6J("ngClass",e.VKq(11,l2,o.osdRecvSpeedForm.getValue("customizePriority"))),e.xp6(1),e.hij(" ",n.value.text," "),e.xp6(1),e.Q6J("ngIf",n.value.desc),e.xp6(2),e.Q6J("id",n.key)("formControlName",n.key)("readonly",!o.osdRecvSpeedForm.getValue("customizePriority")),e.xp6(1),e.Q6J("ngIf",o.osdRecvSpeedForm.getValue("customizePriority")&&o.osdRecvSpeedForm.showError(n.key,l,"required")),e.xp6(1),e.Q6J("ngIf",o.osdRecvSpeedForm.getValue("customizePriority")&&o.osdRecvSpeedForm.showError(n.key,l,"pattern")),e.xp6(1),e.Q6J("ngIf",o.osdRecvSpeedForm.getValue("customizePriority")&&o.osdRecvSpeedForm.showError(n.key,l,"max")),e.xp6(1),e.Q6J("ngIf",o.osdRecvSpeedForm.getValue("customizePriority")&&o.osdRecvSpeedForm.showError(n.key,l,"min"))}}let mR=(()=>{class t{constructor(n,o,l,_,v,O){this.activeModal=n,this.actionLabels=o,this.authStorageService=l,this.configService=_,this.notificationService=v,this.osdService=O,this.priorities=[],this.priorityAttrs={},this.permissions=this.authStorageService.getPermissions(),this.priorities=this.osdService.osdRecvSpeedModalPriorities.KNOWN_PRIORITIES,this.osdRecvSpeedForm=new fu.d({priority:new rn.p4(null,{validators:[rn.kI.required]}),customizePriority:new rn.p4(!1)}),this.priorityAttrs={osd_max_backfills:{text:"Max Backfills",desc:"",patternHelpText:"",maxValue:void 0,minValue:void 0},osd_recovery_max_active:{text:"Recovery Max Active",desc:"",patternHelpText:"",maxValue:void 0,minValue:void 0},osd_recovery_max_single_start:{text:"Recovery Max Single Start",desc:"",patternHelpText:"",maxValue:void 0,minValue:void 0},osd_recovery_sleep:{text:"Recovery Sleep",desc:"",patternHelpText:"",maxValue:void 0,minValue:void 0}},Object.keys(this.priorityAttrs).forEach(P=>{this.osdRecvSpeedForm.addControl(P,new rn.p4(null,{validators:[rn.kI.required]}))})}ngOnInit(){this.configService.filter(Object.keys(this.priorityAttrs)).subscribe(n=>{const o=this.getCurrentValues(n);this.detectPriority(o.values,l=>{this.setPriority(l)}),this.setDescription(o.configOptions),this.setValidators(o.configOptions)})}detectPriority(n,o){const l=Xe().find(this.priorities,_=>Xe().isEqual(_.values,n));return this.osdRecvSpeedForm.controls.customizePriority.setValue(!1),l?o(l):4===Object.entries(n).length?(this.osdRecvSpeedForm.controls.customizePriority.setValue(!0),o(Object({name:"custom",text:"Custom",values:n}))):o(this.priorities[0])}getCurrentValues(n){const o={values:{},configOptions:[]};return n.forEach(l=>{o.configOptions.push(l),"value"in l?l.value.forEach(_=>{"osd"===_.section&&(o.values[l.name]=Number(_.value))}):"default"in l&&null!==l.default&&(o.values[l.name]=Number(l.default))}),o}setDescription(n){n.forEach(o=>{""!==o.desc&&(this.priorityAttrs[o.name].desc=o.desc)})}setPriority(n){const o=Xe().find(this.priorities,l=>"custom"===l.name);"custom"===n.name?o||this.priorities.push(n):o&&this.priorities.splice(this.priorities.indexOf(o),1),this.osdRecvSpeedForm.controls.priority.setValue(n.name),Object.entries(n.values).forEach(([l,_])=>{this.osdRecvSpeedForm.controls[l].setValue(_)})}setValidators(n){n.forEach(o=>{const l=wa.getTypeValidators(o);l?(l.validators.push(rn.kI.required),"max"in l&&""!==l.max&&(this.priorityAttrs[o.name].maxValue=l.max),"min"in l&&""!==l.min&&(this.priorityAttrs[o.name].minValue=l.min),this.priorityAttrs[o.name].patternHelpText=l.patternHelpText,this.osdRecvSpeedForm.controls[o.name].setValidators(l.validators)):this.osdRecvSpeedForm.controls[o.name].setValidators(rn.kI.required)})}onCustomizePriorityChange(){const n={};if(Object.keys(this.priorityAttrs).forEach(o=>{n[o]=this.osdRecvSpeedForm.getValue(o)}),this.osdRecvSpeedForm.getValue("customizePriority")){const o={name:"custom",text:"Custom",values:n};this.setPriority(o)}else this.detectPriority(n,o=>{this.setPriority(o)})}onPriorityChange(n){const o=Xe().find(this.priorities,l=>l.name===n)||this.priorities[0];this.osdRecvSpeedForm.get("customizePriority").setValue(!1),this.setPriority(o)}submitAction(){const n={};Object.keys(this.priorityAttrs).forEach(o=>{n[o]={section:"osd",value:this.osdRecvSpeedForm.getValue(o)}}),this.configService.bulkCreate({options:n}).subscribe(()=>{this.notificationService.show(Ho.k.success,"Updated OSD recovery speed priority '" + this.osdRecvSpeedForm.getValue("priority") + "'"),this.activeModal.close()},()=>{this.activeModal.close()})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yi.Kz),e.Y36(yr.p4),e.Y36(Do.j),e.Y36(Fa.e),e.Y36(Ui.g),e.Y36(Zc))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-recv-speed-modal"]],decls:24,vars:10,consts:function(){let i,n,o,l,_,v,O,P;return i="OSD Recovery Priority",n="Priority",o="Customize priority values",l="This field is required.",_="This field is required!",v="" + "\ufffd0\ufffd" + "",O="The entered value is too high! It must not be greater than " + "\ufffd0\ufffd" + ".",P="The entered value is too low! It must not be lower than " + "\ufffd0\ufffd" + ".",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["novalidate","","cdFormScope","osd",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","priority",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["formControlName","priority","id","priority",1,"form-select",3,"change"],[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["formControlName","customizePriority","id","customizePriority","name","customizePriority","type","checkbox",1,"custom-control-input",3,"change"],["for","customizePriority",1,"custom-control-label"],o,["class","form-group row",4,"ngFor","ngForOf"],[1,"modal-footer"],[3,"form","submitText","showSubmit","submitActionEvent"],[3,"value"],[1,"invalid-feedback"],l,[1,"cd-col-form-label",3,"for"],[3,"ngClass"],[4,"ngIf"],["type","number",1,"form-control",3,"id","formControlName","readonly"],_,v,O,P]},template:function(n,o){if(1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"div",7)(8,"label",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"div",10)(11,"select",11),e.NdJ("change",function(_){return o.onPriorityChange(_.target.value)}),e.YNc(12,qf,2,2,"option",12),e.qZA(),e.YNc(13,Md,2,0,"span",13),e.qZA()(),e.TgZ(14,"div",7)(15,"div",14)(16,"div",15)(17,"input",16),e.NdJ("change",function(){return o.onCustomizePriorityChange()}),e.qZA(),e.TgZ(18,"label",17),e.SDv(19,18),e.qZA()()()(),e.YNc(20,ky,11,13,"div",19),e.ALo(21,"keyvalue"),e.qZA(),e.TgZ(22,"div",20)(23,"cd-form-button-panel",21),e.NdJ("submitActionEvent",function(){return o.submitAction()}),e.qZA()()(),e.BQk(),e.qZA()),2&n){const l=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.osdRecvSpeedForm),e.xp6(8),e.Q6J("ngForOf",o.priorities),e.xp6(1),e.Q6J("ngIf",o.osdRecvSpeedForm.showError("priority",l,"required")),e.xp6(7),e.Q6J("ngForOf",e.lcZ(21,8,o.priorityAttrs)),e.xp6(3),e.Q6J("form",o.osdRecvSpeedForm)("submitText",o.actionLabels.UPDATE)("showSubmit",o.permissions.configOpt.update)}},dependencies:[f.mk,f.sg,f.O5,La.S,al.z,rl.p,st.o,Mg.T,za.b,Va.P,Os.V,rn._Y,rn.YN,rn.Kr,rn.Fj,rn.wV,rn.Wl,rn.EJ,rn.JJ,rn.JL,rn.sg,rn.u,f.Nd]}),t})();function gR(t,i){1&t&&(e.TgZ(0,"span"),e.SDv(1,15),e.qZA())}function u2(t,i){1&t&&(e.TgZ(0,"span"),e.SDv(1,16),e.qZA())}function c2(t,i){if(1&t&&(e.TgZ(0,"span",13),e.YNc(1,gR,2,0,"span",14),e.YNc(2,u2,2,0,"span",14),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",null==n.weight.errors?null:n.weight.errors.required),e.xp6(1),e.Q6J("ngIf",(null==n.weight.errors?null:n.weight.errors.max)||(null==n.weight.errors?null:n.weight.errors.min))}}let ES=(()=>{class t{constructor(n,o,l,_){this.actionLabels=n,this.activeModal=o,this.osdService=l,this.fb=_,this.currentWeight=1}get weight(){return this.reweightForm.get("weight")}ngOnInit(){this.reweightForm=this.fb.group({weight:this.fb.control(this.currentWeight,[rn.kI.required])})}reweight(){this.osdService.reweight(this.osdId,this.reweightForm.value.weight).subscribe(()=>this.activeModal.close())}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yr.p4),e.Y36(yi.Kz),e.Y36(Zc),e.Y36(Qi.O))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-reweight-modal"]],decls:14,vars:7,consts:function(){let i,n,o;return i="Reweight OSD: " + "\ufffd0\ufffd" + "",n="This field is required.",o="The value needs to be between 0 and 1.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],[3,"formGroup"],[1,"modal-body"],[1,"row"],["for","weight",1,"cd-col-form-label"],[1,"cd-col-form-input"],["id","weight","type","number","step","0.1","formControlName","weight","min","0","max","1",1,"form-control",3,"value"],["class","invalid-feedback",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],[4,"ngIf"],n,o]},template:function(n,o){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1),e.SDv(2,2),e.BQk(),e.ynx(3,3),e.TgZ(4,"form",4)(5,"div",5)(6,"div",6)(7,"label",7),e._uU(8,"Weight"),e.qZA(),e.TgZ(9,"div",8),e._UZ(10,"input",9),e.YNc(11,c2,3,2,"span",10),e.qZA()()(),e.TgZ(12,"div",11)(13,"cd-form-button-panel",12),e.NdJ("submitActionEvent",function(){return o.reweight()}),e.qZA()()(),e.BQk(),e.qZA()),2&n&&(e.Q6J("modalRef",o.activeModal),e.xp6(2),e.pQV(o.osdId),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.reweightForm),e.xp6(6),e.Q6J("value",o.currentWeight),e.xp6(1),e.Q6J("ngIf",o.weight.errors),e.xp6(2),e.Q6J("form",o.reweightForm)("submitText",o.actionLabels.REWEIGHT))},dependencies:[f.O5,al.z,rl.p,st.o,za.b,Os.V,rn._Y,rn.Fj,rn.wV,rn.JJ,rn.JL,rn.qQ,rn.Fd,rn.sg,rn.u]}),t})();var $y=s(86969);let $f=(()=>{class t{constructor(n,o,l,_,v){this.activeModal=n,this.actionLabels=o,this.osdService=l,this.notificationService=_,this.joinPipe=v,this.selected=[]}ngOnInit(){this.scrubForm=new rn.nJ({})}scrub(){(0,Za.D)(this.selected.map(n=>this.osdService.scrub(n,this.deep))).subscribe(()=>{this.notificationService.show(Ho.k.success,"" + (this.deep ? "Deep scrub" : "Scrub") + " was initialized in the following OSD(s): " + this.joinPipe.transform(this.selected) + ""),this.activeModal.close()},()=>this.activeModal.close())}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yi.Kz),e.Y36(yr.p4),e.Y36(Zc),e.Y36(Ui.g),e.Y36($y.A))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-scrub-modal"]],decls:13,vars:9,consts:function(){let i,n,o,l;return i="{VAR_SELECT, select, true {Deep } other {}}",i=e.Zx4(i,{VAR_SELECT:"\ufffd0\ufffd"}),n="OSDs " + i + "Scrub",o="{VAR_SELECT, select, true {deep } other {}}",o=e.Zx4(o,{VAR_SELECT:"\ufffd0\ufffd"}),l="You are about to apply a " + o + "scrub to the OSD(s): " + "\ufffd#9\ufffd" + "" + "\ufffd1\ufffd" + "" + "\ufffd/#9\ufffd" + ".",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["name","scrubForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],l,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"]]},template:function(n,o){1&n&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.qZA(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"p"),e.tHW(8,7),e._UZ(9,"strong"),e.ALo(10,"join"),e.N_p(),e.qZA()(),e.TgZ(11,"div",8)(12,"cd-form-button-panel",9),e.NdJ("submitActionEvent",function(){return o.scrub()}),e.qZA()()(),e.BQk(),e.qZA()),2&n&&(e.Q6J("modalRef",o.activeModal),e.xp6(2),e.pQV(o.deep),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.scrubForm),e.xp6(6),e.pQV(o.deep)(e.lcZ(10,7,o.selected)),e.QtT(8),e.xp6(2),e.Q6J("form",o.scrubForm)("submitText",o.actionLabels.UPDATE))},dependencies:[al.z,rl.p,Os.V,rn._Y,rn.JL,rn.sg,$y.A]}),t})();var Hy=s(60351);function d2(t,i){if(1&t&&e._UZ(0,"cd-device-list",17),2&t){const n=e.oxw(2);e.Q6J("osdId",null==n.osd?null:n.osd.id)("hostname",null==n.selection?null:n.selection.host.name)("osdList",!0)}}function f2(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",18),2&t){const n=e.oxw(2);e.Q6J("data",null==n.osd||null==n.osd.details?null:n.osd.details.osd_map)}}function SS(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table-key-value",21),e.NdJ("fetchData",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.refresh())}),e.qZA()}if(2&t){const n=e.oxw(3);e.Q6J("data",null==n.osd||null==n.osd.details?null:n.osd.details.osd_metadata)}}function p2(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",22),e.SDv(1,23),e.qZA())}function bS(t,i){if(1&t&&(e.YNc(0,SS,1,1,"cd-table-key-value",19),e.YNc(1,p2,2,0,"ng-template",null,20,e.W1O)),2&t){const n=e.MAs(2),o=e.oxw(2);e.Q6J("ngIf",null==o.osd||null==o.osd.details?null:o.osd.details.osd_metadata)("ngIfElse",n)}}function TS(t,i){if(1&t&&e._UZ(0,"cd-smart-list",24),2&t){const n=e.oxw(2);e.Q6J("osdId",null==n.osd?null:n.osd.id)}}function n1(t,i){if(1&t&&e._UZ(0,"cd-table-performance-counter",26),2&t){const n=e.oxw(3);e.Q6J("serviceId",null==n.osd?null:n.osd.id)}}function _2(t,i){if(1&t&&e.YNc(0,n1,1,1,"cd-table-performance-counter",25),2&t){const n=e.oxw(2);e.Q6J("ngIf",null==n.osd?null:n.osd.details)}}function h2(t,i){if(1&t&&e._UZ(0,"cd-grafana",29),2&t){const n=e.oxw(3);e.Q6J("grafanaPath","osd-device-details?var-osd=osd."+n.osd.id)("type","metrics")}}function CS(t,i){1&t&&(e.ynx(0,27),e.TgZ(1,"a",4),e.SDv(2,28),e.qZA(),e.YNc(3,h2,1,2,"ng-template",6),e.BQk())}function m2(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"nav",1,2),e.ynx(3,3),e.TgZ(4,"a",4),e.SDv(5,5),e.qZA(),e.YNc(6,d2,1,3,"ng-template",6),e.BQk(),e.ynx(7,7),e.TgZ(8,"a",4),e.SDv(9,8),e.qZA(),e.YNc(10,f2,1,1,"ng-template",6),e.BQk(),e.ynx(11,9),e.TgZ(12,"a",4),e.SDv(13,10),e.qZA(),e.YNc(14,bS,3,2,"ng-template",6),e.BQk(),e.ynx(15,11),e.TgZ(16,"a",4),e.SDv(17,12),e.qZA(),e.YNc(18,TS,1,1,"ng-template",6),e.BQk(),e.ynx(19,13),e.TgZ(20,"a",4),e.SDv(21,14),e.qZA(),e.YNc(22,_2,1,1,"ng-template",6),e.BQk(),e.YNc(23,CS,4,0,"ng-container",15),e.qZA(),e._UZ(24,"div",16),e.BQk()),2&t){const n=e.MAs(2),o=e.oxw();e.xp6(23),e.Q6J("ngIf",o.grafanaPermission.read),e.xp6(1),e.Q6J("ngbNavOutlet",n)}}let MS=(()=>{class t{constructor(n,o){this.osdService=n,this.authStorageService=o,this.grafanaPermission=this.authStorageService.getPermissions().grafana}ngOnChanges(){this.osd?.id!==this.selection?.id&&(this.osd=this.selection),Xe().isNumber(this.osd?.id)&&this.refresh()}refresh(){this.osdService.getDetails(this.osd.id).subscribe(n=>{this.osd.details=n})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Zc),e.Y36(Do.j))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let i,n,o,l,_,v,O,P;return i="Devices",n="Attributes (OSD map)",o="Metadata",l="Device health",_="Performance counter",v="Metadata not available",O="Performance Details",P="OSD details",[[4,"ngIf"],["ngbNav","","id","tabset-osd-details","cdStatefulTab","osd-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","devices"],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","attributes"],n,["ngbNavItem","metadata"],o,["ngbNavItem","device-health"],l,["ngbNavItem","performance-counter"],_,["ngbNavItem","performance-details",4,"ngIf"],[3,"ngbNavOutlet"],[3,"osdId","hostname","osdList"],[3,"data"],[3,"data","fetchData",4,"ngIf","ngIfElse"],["noMetaData",""],[3,"data","fetchData"],["type","warning"],v,[3,"osdId"],["serviceType","osd",3,"serviceId",4,"ngIf"],["serviceType","osd",3,"serviceId"],["ngbNavItem","performance-details"],O,["title",P,"uid","CrAHE0iZz","grafanaStyle","three",3,"grafanaPath","type"]]},template:function(n,o){1&n&&e.YNc(0,m2,25,2,"ng-container",0),2&n&&e.Q6J("ngIf",o.selection)},dependencies:[f.O5,Hy.p,yi.uN,yi.Pz,yi.nv,yi.Vx,yi.tO,yi.Dy,ad.F,Zu.G,bu.b,kc.m,Dp,Mc]}),t})();const vR=["osdUsageTpl"],Uy=["markOsdConfirmationTpl"],By=["criticalConfirmationTpl"],dm=["reweightBodyTpl"],g2=["safeToDestroyBodyTpl"],OS=["deleteOsdExtraTpl"],fm=["flagsTpl"],Yh=function(){return{read:!0}};function jh(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",13),e.NdJ("fetchData",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.getOsdList())})("setExpandedRow",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.setExpandedRow(l))})("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.updateSelection(l))}),e.TgZ(1,"div",14),e._UZ(2,"cd-table-actions",15)(3,"cd-table-actions",16),e.qZA(),e._UZ(4,"cd-osd-details",17),e.qZA()}if(2&t){const n=e.oxw();e.Q6J("data",n.osds)("columns",n.columns)("hasDetails",!0)("updateSelectionOnRefresh","never"),e.xp6(2),e.Q6J("permission",n.permissions.osd)("selection",n.selection)("tableActions",n.tableActions),e.xp6(1),e.Q6J("permission",e.DdM(11,Yh))("selection",n.selection)("tableActions",n.clusterWideActions),e.xp6(1),e.Q6J("selection",n.expandedRow)}}function AS(t,i){1&t&&e._UZ(0,"cd-grafana",19),2&t&&e.Q6J("grafanaPath","osd-overview?")("type","metrics")}function DS(t,i){1&t&&(e.ynx(0,2),e.TgZ(1,"a",3),e.SDv(2,18),e.qZA(),e.YNc(3,AS,1,2,"ng-template",5),e.BQk())}function v2(t,i){if(1&t&&(e.ynx(0),e.tHW(1,20),e._UZ(2,"strong"),e.ALo(3,"join"),e._UZ(4,"strong"),e.N_p(),e.BQk()),2&t){const n=i.markActionDescription,o=i.osdIds;e.xp6(4),e.pQV(e.lcZ(3,2,o))(n),e.QtT(1)}}function y2(t,i){if(1&t&&(e.TgZ(0,"li"),e.SDv(1,28),e.ALo(2,"join"),e.qZA()),2&t){const n=e.oxw(2).active,o=e.oxw();e.xp6(2),e.pQV(o.selection.hasSingleSelection)(e.lcZ(2,3,n))(1===n.length),e.QtT(1)}}function E2(t,i){if(1&t&&(e.TgZ(0,"li"),e.SDv(1,29),e.ALo(2,"join"),e.qZA()),2&t){const n=e.oxw(2).missingStats,o=e.oxw();e.xp6(2),e.pQV(o.selection.hasSingleSelection)(e.lcZ(2,2,n)),e.QtT(1)}}function S2(t,i){if(1&t&&(e.TgZ(0,"li"),e.SDv(1,30),e.ALo(2,"join"),e.qZA()),2&t){const n=e.oxw(2).storedPgs,o=e.oxw();e.xp6(2),e.pQV(o.selection.hasSingleSelection)(e.lcZ(2,2,n)),e.QtT(1)}}function Gy(t,i){if(1&t&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&t){const n=e.oxw(2).message;e.xp6(1),e.hij(" ",n," ")}}function K1(t,i){if(1&t&&(e.TgZ(0,"div",23)(1,"cd-alert-panel",24)(2,"span"),e.SDv(3,25),e.qZA(),e._UZ(4,"br"),e.TgZ(5,"ul",26),e.YNc(6,y2,3,5,"li",27),e.YNc(7,E2,3,4,"li",27),e.YNc(8,S2,3,4,"li",27),e.YNc(9,Gy,2,1,"li",27),e.qZA()()()),2&t){const n=e.oxw(),o=n.actionDescription,l=n.active,_=n.missingStats,v=n.storedPgs,O=n.message,P=e.oxw();e.xp6(3),e.pQV(P.selection.hasSingleSelection)(o),e.QtT(3),e.xp6(3),e.Q6J("ngIf",l.length>0),e.xp6(1),e.Q6J("ngIf",_.length>0),e.xp6(1),e.Q6J("ngIf",v.length>0),e.xp6(1),e.Q6J("ngIf",O)}}function b2(t,i){if(1&t&&(e.TgZ(0,"div",23)(1,"cd-alert-panel",31)(2,"span"),e.SDv(3,32),e.qZA()()()),2&t){const n=e.oxw(2);e.xp6(3),e.pQV(n.selection.hasSingleSelection),e.QtT(3)}}function RS(t,i){if(1&t&&(e.YNc(0,K1,10,6,"div",21),e.YNc(1,b2,4,1,"div",21),e.ynx(2),e.tHW(3,22),e._UZ(4,"strong"),e.ALo(5,"join"),e._UZ(6,"strong"),e.N_p(),e.BQk()),2&t){const n=i.safeToPerform,o=i.actionDescription,l=i.osdIds;e.Q6J("ngIf",!n),e.xp6(1),e.Q6J("ngIf",n),e.xp6(5),e.pQV(e.lcZ(5,4,l))(o),e.QtT(3)}}function T2(t,i){if(1&t&&(e.TgZ(0,"span",35),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.Oqu(n)}}function C2(t,i){if(1&t&&(e.TgZ(0,"span",36),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.Oqu(n)}}function xS(t,i){if(1&t&&(e.YNc(0,T2,2,1,"span",33),e.YNc(1,C2,2,1,"span",34)),2&t){const n=i.row;e.Q6J("ngForOf",n.cdClusterFlags),e.xp6(1),e.Q6J("ngForOf",n.cdIndivFlags)}}function wS(t,i){if(1&t&&e._UZ(0,"cd-usage-bar",37),2&t){const n=i.row,o=e.oxw();e.Q6J("title","osd "+n.osd)("total",n.stats.stat_bytes)("used",n.stats.stat_bytes_used)("warningThreshold",o.osdSettings.nearfull_ratio)("errorThreshold",o.osdSettings.full_ratio)}}function r0(t,i){1&t&&(e.ynx(0,38)(1,39),e.TgZ(2,"div",40)(3,"div",41),e._UZ(4,"input",42),e.TgZ(5,"label",43),e.SDv(6,44),e.qZA()()(),e.BQk()()),2&t&&e.Q6J("formGroup",i.form)}let PS=(()=>{class t extends Hr.o{static collectStates(n){const o=[n.in?"in":"out"];return n.up?o.push("up"):n.state.includes("destroyed")?o.push("destroyed"):o.push("down"),o}constructor(n,o,l,_,v,O,P,G,K,oe){super(),this.authStorageService=n,this.osdService=o,this.dimlessBinaryPipe=l,this.modalService=_,this.urlBuilder=v,this.router=O,this.taskWrapper=P,this.actionLabels=G,this.notificationService=K,this.orchService=oe,this.icons=Rr.P,this.osdSettings=new qv,this.selection=new Io.r,this.osds=[],this.disabledFlags=["sortbitwise","purged_snapdirs","recovery_deletes","pglog_hardlimit"],this.indivFlagNames=["noup","nodown","noin","noout"],this.actionOrchFeatures={create:[Jc.OSD_CREATE],delete:[Jc.OSD_DELETE]},this.permissions=this.authStorageService.getPermissions(),this.tableActions=[{name:this.actionLabels.CREATE,permission:"create",icon:Rr.P.add,click:()=>this.router.navigate([this.urlBuilder.getCreate()]),disable:ue=>this.getDisable("create",ue),canBePrimary:ue=>!ue.hasSelection},{name:this.actionLabels.EDIT,permission:"update",icon:Rr.P.edit,click:()=>this.editAction()},{name:this.actionLabels.FLAGS,permission:"update",icon:Rr.P.flag,click:()=>this.configureFlagsIndivAction(),disable:()=>!this.hasOsdSelected},{name:this.actionLabels.SCRUB,permission:"update",icon:Rr.P.analyse,click:()=>this.scrubAction(!1),disable:()=>!this.hasOsdSelected,canBePrimary:ue=>ue.hasSelection},{name:this.actionLabels.DEEP_SCRUB,permission:"update",icon:Rr.P.deepCheck,click:()=>this.scrubAction(!0),disable:()=>!this.hasOsdSelected},{name:this.actionLabels.REWEIGHT,permission:"update",click:()=>this.reweight(),disable:()=>!this.hasOsdSelected||!this.selection.hasSingleSelection,icon:Rr.P.reweight},{name:this.actionLabels.MARK_OUT,permission:"update",click:()=>this.showConfirmationModal("out",this.osdService.markOut),disable:()=>this.isNotSelectedOrInState("out"),icon:Rr.P.left},{name:this.actionLabels.MARK_IN,permission:"update",click:()=>this.showConfirmationModal("in",this.osdService.markIn),disable:()=>this.isNotSelectedOrInState("in"),icon:Rr.P.right},{name:this.actionLabels.MARK_DOWN,permission:"update",click:()=>this.showConfirmationModal("down",this.osdService.markDown),disable:()=>this.isNotSelectedOrInState("down"),icon:Rr.P.down},{name:this.actionLabels.MARK_LOST,permission:"delete",click:()=>this.showCriticalConfirmationModal("Mark","OSD lost","marked lost",ue=>this.osdService.safeToDestroy(JSON.stringify(ue)),"is_safe_to_destroy",this.osdService.markLost),disable:()=>this.isNotSelectedOrInState("up"),icon:Rr.P.flatten},{name:this.actionLabels.PURGE,permission:"delete",click:()=>this.showCriticalConfirmationModal("Purge","OSD","purged",ue=>this.osdService.safeToDestroy(JSON.stringify(ue)),"is_safe_to_destroy",ue=>(this.selection=new Io.r,this.osdService.purge(ue))),disable:()=>this.isNotSelectedOrInState("up"),icon:Rr.P.erase},{name:this.actionLabels.DESTROY,permission:"delete",click:()=>this.showCriticalConfirmationModal("destroy","OSD","destroyed",ue=>this.osdService.safeToDestroy(JSON.stringify(ue)),"is_safe_to_destroy",ue=>(this.selection=new Io.r,this.osdService.destroy(ue))),disable:()=>this.isNotSelectedOrInState("up"),icon:Rr.P.destroyCircle},{name:this.actionLabels.DELETE,permission:"delete",click:()=>this.delete(),disable:ue=>this.getDisable("delete",ue),icon:Rr.P.destroy}]}ngOnInit(){this.clusterWideActions=[{name:"Flags",icon:Rr.P.flag,click:()=>this.configureFlagsAction(),permission:"read",visible:()=>this.permissions.osd.read},{name:"Recovery Priority",icon:Rr.P.deepCheck,click:()=>this.configureQosParamsAction(),permission:"read",visible:()=>this.permissions.configOpt.read},{name:"PG scrub",icon:Rr.P.analyse,click:()=>this.configurePgScrubAction(),permission:"read",visible:()=>this.permissions.configOpt.read}],this.columns=[{prop:"id",name:"ID",flexGrow:1,cellTransformation:Xr.e.executing,customTemplateConfig:{valueClass:"bold"}},{prop:"host.name",name:"Host"},{prop:"collectedStates",name:"Status",flexGrow:1,cellTransformation:Xr.e.badge,customTemplateConfig:{map:{in:{class:"badge-success"},up:{class:"badge-success"},down:{class:"badge-danger"},out:{class:"badge-danger"},destroyed:{class:"badge-danger"}}}},{prop:"tree.device_class",name:"Device class",flexGrow:1.2,cellTransformation:Xr.e.badge,customTemplateConfig:{map:{hdd:{class:"badge-hdd"},ssd:{class:"badge-ssd"}}}},{prop:"stats.numpg",name:"PGs",flexGrow:1},{prop:"stats.stat_bytes",name:"Size",flexGrow:1,pipe:this.dimlessBinaryPipe},{prop:"state",name:"Flags",cellTemplate:this.flagsTpl},{prop:"stats.usage",name:"Usage",cellTemplate:this.osdUsageTpl},{prop:"stats_history.out_bytes",name:"Read bytes",cellTransformation:Xr.e.sparkline},{prop:"stats_history.in_bytes",name:"Write bytes",cellTransformation:Xr.e.sparkline},{prop:"stats.op_r",name:"Read ops",cellTransformation:Xr.e.perSecond},{prop:"stats.op_w",name:"Write ops",cellTransformation:Xr.e.perSecond}],this.orchService.status().subscribe(n=>this.orchStatus=n),this.osdService.getOsdSettings().pipe((0,Zf.q)(1)).subscribe(n=>{this.osdSettings=n})}getDisable(n,o){if("delete"===n){if(!o.hasSelection)return!0;if(Xe().some(this.getSelectedOsds(),_=>{const v=Xe().get(_,"operational_status");return"deleting"===v||"unmanaged"===v}))return!0}return this.orchService.getTableActionDisableDesc(this.orchStatus,this.actionOrchFeatures[n])}getSelectedOsdIds(){const n=this.osds.map(o=>o.id);return this.selection.selected.map(o=>o.id).filter(o=>n.includes(o)).sort()}getSelectedOsds(){return this.osds.filter(n=>!Xe().isUndefined(n)&&this.getSelectedOsdIds().includes(n.id))}get hasOsdSelected(){return this.getSelectedOsdIds().length>0}updateSelection(n){this.selection=n}isNotSelectedOrInState(n){const o=this.getSelectedOsds();if(0===o.length)return!0;switch(n){case"in":return o.some(l=>1===l.in);case"out":return o.some(l=>1!==l.in);case"down":return o.some(l=>1!==l.up);case"up":return o.some(l=>1===l.up)}}getOsdList(){const n=[this.osdService.getList(),this.osdService.getFlags()];(0,Za.D)(n).subscribe(o=>{this.osds=o[0].map(l=>{l.collectedStates=t.collectStates(l),l.stats_history.out_bytes=l.stats_history.op_out_bytes.map(v=>v[1]),l.stats_history.in_bytes=l.stats_history.op_in_bytes.map(v=>v[1]),l.stats.usage=l.stats.stat_bytes_used/l.stats.stat_bytes,l.cdIsBinary=!0,l.cdIndivFlags=l.state.filter(v=>this.indivFlagNames.includes(v)),l.cdClusterFlags=o[1].filter(v=>!this.disabledFlags.includes(v));const _=Xe().get(l,"operational_status","unmanaged");return"unmanaged"!==_&&"working"!==_&&(l.cdExecuting=_),l})})}editAction(){const n=Xe().filter(this.osds,["id",this.selection.first().id]).pop();this.modalService.show(ae.X,{titleText:"Edit OSD: " + n.id + "",fields:[{type:"text",name:"deviceClass",value:n.tree.device_class,label:"Device class",required:!0}],submitButtonText:"Edit OSD",onSubmit:o=>{this.osdService.update(n.id,o.deviceClass).subscribe(()=>{this.notificationService.show(Ho.k.success,"Updated OSD '" + n.id + "'"),this.getOsdList()})}})}scrubAction(n){if(!this.hasOsdSelected)return;const o={selected:this.getSelectedOsdIds(),deep:n};this.bsModalRef=this.modalService.show($f,o)}configureFlagsAction(){this.bsModalRef=this.modalService.show(Q1)}configureFlagsIndivAction(){const n={selected:this.getSelectedOsds()};this.bsModalRef=this.modalService.show(e0,n)}showConfirmationModal(n,o){const l=this.getSelectedOsdIds();this.bsModalRef=this.modalService.show(le.Y,{titleText:"Mark OSD " + n + "",buttonText:"Mark " + n + "",bodyTpl:this.markOsdConfirmationTpl,bodyContext:{markActionDescription:n,osdIds:l},onSubmit:()=>{(0,Za.D)(this.getSelectedOsdIds().map(_=>o.call(this.osdService,_))).subscribe(()=>this.bsModalRef.close())}})}reweight(){const n=this.osds.filter(o=>o.id===this.selection.first().id).pop();this.bsModalRef=this.modalService.show(ES,{currentWeight:n.weight,osdId:n.id})}delete(){const n=new fu.d({preserve:new rn.p4(!1)});this.showCriticalConfirmationModal("delete","OSD","deleted",o=>this.osdService.safeToDelete(JSON.stringify(o)),"is_safe_to_delete",o=>(this.selection=new Io.r,this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("osd/"+yr.MQ.DELETE,{svc_id:o}),call:this.osdService.delete(o,n.value.preserve,!0)})),!0,n,this.deleteOsdExtraTpl)}showCriticalConfirmationModal(n,o,l,_,v,O,P=!1,G,K){_(this.getSelectedOsdIds()).subscribe(oe=>{const ue=this.modalService.show(Go.M,{actionDescription:n,itemDescription:o,bodyTemplate:this.criticalConfirmationTpl,bodyContext:{safeToPerform:oe[v],message:oe.message,active:oe.active,missingStats:oe.missing_stats,storedPgs:oe.stored_pgs,actionDescription:l,osdIds:this.getSelectedOsdIds()},childFormGroup:G,childFormGroupTemplate:K,submitAction:()=>{const pe=(0,Za.D)(this.getSelectedOsdIds().map(ye=>O.call(this.osdService,ye)));P?pe.subscribe({error:()=>{this.getOsdList(),ue.close()},complete:()=>ue.close()}):pe.subscribe(()=>{this.getOsdList(),ue.close()},()=>ue.close())}})})}configureQosParamsAction(){this.bsModalRef=this.modalService.show(mR)}configurePgScrubAction(){this.bsModalRef=this.modalService.show(Lu,void 0,{size:"lg"})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(Zc),e.Y36(Wl.$),e.Y36(ca.Z),e.Y36(Qn.F),e.Y36(Ee.F0),e.Y36(Gr.P),e.Y36(yr.p4),e.Y36(Ui.g),e.Y36(td))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-osd-list"]],viewQuery:function(n,o){if(1&n&&(e.Gf(vR,7),e.Gf(Uy,7),e.Gf(By,7),e.Gf(dm,5),e.Gf(g2,5),e.Gf(OS,5),e.Gf(fm,7)),2&n){let l;e.iGM(l=e.CRH())&&(o.osdUsageTpl=l.first),e.iGM(l=e.CRH())&&(o.markOsdConfirmationTpl=l.first),e.iGM(l=e.CRH())&&(o.criticalConfirmationTpl=l.first),e.iGM(l=e.CRH())&&(o.reweightBodyTpl=l.first),e.iGM(l=e.CRH())&&(o.safeToDestroyBodyTpl=l.first),e.iGM(l=e.CRH())&&(o.deleteOsdExtraTpl=l.first),e.iGM(l=e.CRH())&&(o.flagsTpl=l.first)}},features:[e._Bn([{provide:Qn.F,useValue:new Qn.F("osd")}]),e.qOj],decls:18,vars:2,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue,pe,ye,Ue,xe,ke;return i="OSDs List",n="Overall Performance",o="OSD list",l="" + "[\ufffd#2\ufffd|\ufffd#4\ufffd]" + "OSD(s) " + "\ufffd0\ufffd" + "" + "[\ufffd/#2\ufffd|\ufffd/#4\ufffd]" + " will be marked " + "[\ufffd#2\ufffd|\ufffd#4\ufffd]" + "" + "\ufffd1\ufffd" + "" + "[\ufffd/#2\ufffd|\ufffd/#4\ufffd]" + " if you proceed.",l=e.Zx4(l),_="" + "[\ufffd#4\ufffd|\ufffd#6\ufffd]" + "OSD " + "\ufffd0\ufffd" + "" + "[\ufffd/#4\ufffd|\ufffd/#6\ufffd]" + " will be " + "[\ufffd#4\ufffd|\ufffd#6\ufffd]" + "" + "\ufffd1\ufffd" + "" + "[\ufffd/#4\ufffd|\ufffd/#6\ufffd]" + " if you proceed.",_=e.Zx4(_),v="{VAR_SELECT, select, true {OSD is} other {OSDs are}}",v=e.Zx4(v,{VAR_SELECT:"\ufffd0\ufffd"}),O=" The " + v + " not safe to be " + "\ufffd1\ufffd" + "! ",P="{VAR_SELECT, select, true {} other {{INTERPOLATION} : }}",P=e.Zx4(P,{VAR_SELECT:"\ufffd0\ufffd",INTERPOLATION:"\ufffd1\ufffd"}),G="{VAR_SELECT, select, true {it} other {them}}",G=e.Zx4(G,{VAR_SELECT:"\ufffd2\ufffd"}),K=" " + P + " Some PGs are currently mapped to " + G + ". ",oe="{VAR_SELECT, select, true {} other {{INTERPOLATION} : }}",oe=e.Zx4(oe,{VAR_SELECT:"\ufffd0\ufffd",INTERPOLATION:"\ufffd1\ufffd"}),ue=" " + oe + " There are no reported stats and not all PGs are active and clean. ",pe="{VAR_SELECT, select, true {OSD} other {{INTERPOLATION} : OSDs }}",pe=e.Zx4(pe,{VAR_SELECT:"\ufffd0\ufffd",INTERPOLATION:"\ufffd1\ufffd"}),ye=" " + pe + " still store some PG data and not all PGs are active and clean. ",Ue="{VAR_SELECT, select, true {OSD is} other {OSDs are}}",Ue=e.Zx4(Ue,{VAR_SELECT:"\ufffd0\ufffd"}),xe=" The " + Ue + " safe to destroy without reducing data durability. ",ke="Preserve OSD ID(s) for replacement.",[["ngbNav","",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem",""],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","",4,"ngIf"],[3,"ngbNavOutlet"],["markOsdConfirmationTpl",""],["criticalConfirmationTpl",""],["flagsTpl",""],["osdUsageTpl",""],["deleteOsdExtraTpl",""],["selectionType","multiClick",3,"data","columns","hasDetails","updateSelectionOnRefresh","fetchData","setExpandedRow","updateSelection"],[1,"table-actions","btn-toolbar"],["id","osd-actions",1,"btn-group",3,"permission","selection","tableActions"],["dropDownOnly","Cluster-wide configuration","btnColor","light","id","cluster-wide-actions",1,"btn-group",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],n,["title",o,"uid","lo02I1Aiz","grafanaStyle","four",3,"grafanaPath","type"],l,["class","danger mb-3",4,"ngIf"],_,[1,"danger","mb-3"],["type","warning"],O,[1,"mb-0","ps-4"],[4,"ngIf"],K,ue,ye,["type","info"],xe,["class","badge badge-hdd me-1",4,"ngFor","ngForOf"],["class","badge badge-info me-1",4,"ngFor","ngForOf"],[1,"badge","badge-hdd","me-1"],[1,"badge","badge-info","me-1"],[3,"title","total","used","warningThreshold","errorThreshold"],[3,"formGroup"],["formGroupName","child"],[1,"form-group"],[1,"custom-control","custom-checkbox"],["type","checkbox","name","preserve","id","preserve","formControlName","preserve",1,"custom-control-input"],["for","preserve",1,"custom-control-label"],ke]},template:function(n,o){if(1&n&&(e.TgZ(0,"nav",0,1),e.ynx(2,2),e.TgZ(3,"a",3),e.SDv(4,4),e.qZA(),e.YNc(5,jh,5,12,"ng-template",5),e.BQk(),e.YNc(6,DS,4,0,"ng-container",6),e.qZA(),e._UZ(7,"div",7),e.YNc(8,v2,5,4,"ng-template",null,8,e.W1O),e.YNc(10,RS,7,6,"ng-template",null,9,e.W1O),e.YNc(12,xS,2,2,"ng-template",null,10,e.W1O),e.YNc(14,wS,1,5,"ng-template",null,11,e.W1O),e.YNc(16,r0,7,1,"ng-template",null,12,e.W1O)),2&n){const l=e.MAs(1);e.xp6(6),e.Q6J("ngIf",o.permissions.grafana.read),e.xp6(1),e.Q6J("ngbNavOutlet",l)}},dependencies:[f.sg,f.O5,yi.uN,yi.Pz,yi.nv,yi.Vx,yi.tO,yi.Dy,fc.O,ad.F,Zu.G,zo.a,$l.K,st.o,za.b,Va.P,Os.V,rn.Wl,rn.JJ,rn.JL,rn.sg,rn.u,rn.x0,MS,$y.A]}),t})();var pm=s(11656);let r1=(()=>{class t extends Hr.o{constructor(n){super(),this.prometheusService=n,this.isPrometheusConfigured=!1,this.isAlertmanagerConfigured=!1}ngOnInit(){this.prometheusService.ifAlertmanagerConfigured(()=>{this.isAlertmanagerConfigured=!0}),this.prometheusService.ifPrometheusConfigured(()=>{this.isPrometheusConfigured=!0})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(pm.Q))},t.\u0275dir=e.lG2({type:t,features:[e.qOj]}),t})();var i1=s(61355);let o0=(()=>{class t{constructor(n){this.notificationService=n}sendNotifications(n){n.forEach(o=>this.notificationService.show(o))}convertToCustomAlerts(n){return Xe().uniqWith(n.map(o=>({status:Xe().isObject(o.status)?o.status.state:this.getPrometheusNotificationStatus(o),name:o.labels.alertname,url:o.generatorURL,description:o.annotations.description,fingerprint:Xe().isObject(o.status)&&o.fingerprint})),Xe().isEqual)}getPrometheusNotificationStatus(n){const o=n.status;return"firing"===o?"active":o}convertAlertToNotification(n){return new i1.T(this.formatType(n.status),`${n.name} (${n.status})`,this.appendSourceLink(n,n.description),void 0,"Prometheus")}formatType(n){return Ho.k[Xe().findKey({error:["firing","active"],info:["suppressed","unprocessed"],success:["resolved"]},l=>l.includes(n))]}appendSourceLink(n,o){return`${o} <a href="${n.url}" target="_blank"><i class="${Rr.P.lineChart}"></i></a>`}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(Ui.g))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Km=(()=>{class t{constructor(n,o){this.alertFormatter=n,this.prometheusService=o,this.canAlertsBeNotified=!1,this.alerts=[],this.rules=[]}getAlerts(){this.prometheusService.ifAlertmanagerConfigured(()=>{this.prometheusService.getAlerts().subscribe(n=>this.handleAlerts(n),n=>{[404,504].includes(n.status)&&this.prometheusService.disableAlertmanagerConfig()})})}getRules(){this.prometheusService.ifPrometheusConfigured(()=>{this.prometheusService.getRules("alerting").subscribe(n=>{this.rules=n.groups.reduce((o,l)=>o.concat(l.rules.map(_=>(_.group=l.name,_))),[])})})}refresh(){this.getAlerts(),this.getRules()}handleAlerts(n){this.canAlertsBeNotified&&this.notifyOnAlertChanges(n,this.alerts),this.activeAlerts=Xe().reduce(n,(o,l)=>"active"===l.status.state?++o:o,0),this.activeCriticalAlerts=Xe().reduce(n,(o,l)=>"active"===l.status.state&&"critical"===l.labels.severity?++o:o,0),this.activeWarningAlerts=Xe().reduce(n,(o,l)=>"active"===l.status.state&&"warning"===l.labels.severity?++o:o,0),this.alerts=n.reverse().sort((o,l)=>o.labels.severity.localeCompare(l.labels.severity)),this.canAlertsBeNotified=!0}notifyOnAlertChanges(n,o){const l=this.getChangedAlerts(this.alertFormatter.convertToCustomAlerts(n),this.alertFormatter.convertToCustomAlerts(o)),v=Xe().filter(l,O=>"suppressed"!==O.status).map(O=>this.alertFormatter.convertAlertToNotification(O));this.alertFormatter.sendNotifications(v)}getChangedAlerts(n,o){return Xe().differenceWith(n,o,Xe().isEqual).concat(this.getVanishedAlerts(n,o))}getVanishedAlerts(n,o){return Xe().differenceWith(o,n,(l,_)=>l.fingerprint===_.fingerprint).map(l=>(l.status="resolved",l))}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(o0),e.LFG(pm.Q))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function NS(t,i){if(1&t&&(e.tHW(0,3,1),e._UZ(1,"small",10),e.N_p()),2&t){const n=e.oxw();e.xp6(1),e.pQV(n.prometheusAlertService.activeCriticalAlerts),e.QtT(0)}}function IS(t,i){if(1&t&&(e.tHW(0,3,2),e._UZ(1,"small",11),e.N_p()),2&t){const n=e.oxw();e.xp6(1),e.pQV(n.prometheusAlertService.activeWarningAlerts),e.QtT(0)}}const s0=function(){return{exact:!0}};let a0=(()=>{class t{constructor(n){this.prometheusAlertService=n}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Km))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-prometheus-tabs"]],decls:12,vars:8,consts:function(){let i,n,o;return i="Alerts",n="Silences",o="Active Alerts " + "\ufffd*4:1\ufffd\ufffd#1:1\ufffd" + "" + "\ufffd0:1\ufffd" + "" + "[\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*5:2\ufffd]" + "" + "\ufffd*5:2\ufffd\ufffd#1:2\ufffd" + "" + "\ufffd0:2\ufffd" + "" + "[\ufffd/#1:1\ufffd\ufffd/*4:1\ufffd|\ufffd/#1:2\ufffd\ufffd/*5:2\ufffd]" + "",o=e.Zx4(o),[[1,"nav","nav-tabs"],[1,"nav-item"],["routerLink","/monitoring/active-alerts","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],o,["class","badge badge-danger ms-1",4,"ngIf"],["class","badge badge-warning ms-1",4,"ngIf"],["routerLink","/monitoring/alerts","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],i,["routerLink","/monitoring/silences","routerLinkActive","active","ariaCurrentWhenActive","page",1,"nav-link",3,"routerLinkActiveOptions"],n,[1,"badge","badge-danger","ms-1"],[1,"badge","badge-warning","ms-1"]]},template:function(n,o){1&n&&(e.TgZ(0,"ul",0)(1,"li",1)(2,"a",2),e.tHW(3,3),e.YNc(4,NS,2,1,"small",4),e.YNc(5,IS,2,1,"small",5),e.N_p(),e.qZA()(),e.TgZ(6,"li",1)(7,"a",6),e.SDv(8,7),e.qZA()(),e.TgZ(9,"li",1)(10,"a",8),e.SDv(11,9),e.qZA()()()),2&n&&(e.xp6(2),e.Q6J("routerLinkActiveOptions",e.DdM(5,s0)),e.xp6(2),e.Q6J("ngIf",o.prometheusAlertService.activeCriticalAlerts>0),e.xp6(1),e.Q6J("ngIf",o.prometheusAlertService.activeWarningAlerts>0),e.xp6(2),e.Q6J("routerLinkActiveOptions",e.DdM(6,s0)),e.xp6(3),e.Q6J("routerLinkActiveOptions",e.DdM(7,s0)))},dependencies:[f.O5,Ee.rH,Ee.Od]}),t})();const FS=["externalLinkTpl"];function LS(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",3),e.tHW(1,4),e._UZ(2,"cd-doc",5),e.N_p(),e.qZA())}function kS(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",9),2&t){const n=e.oxw(2);e.Q6J("renderObjects",!0)("hideEmpty",!0)("appendParentKey",!1)("data",n.expandedRow)("customCss",n.customCss)("autoReload",!1)}}function $S(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",6),e.NdJ("setExpandedRow",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.setExpandedRow(l))})("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.updateSelection(l))}),e._UZ(1,"cd-table-actions",7),e.YNc(2,kS,1,6,"cd-table-key-value",8),e.qZA()}if(2&t){const n=e.oxw();e.Q6J("data",n.prometheusAlertService.alerts)("columns",n.columns)("forceIdentifier",!0)("customCss",n.customCss)("hasDetails",!0),e.xp6(1),e.Q6J("permission",n.permission)("selection",n.selection)("tableActions",n.tableActions),e.xp6(1),e.Q6J("ngIf",n.expandedRow)}}const O2=function(t){return[t]};function A2(t,i){if(1&t&&(e.TgZ(0,"a",10),e._UZ(1,"i",11),e._uU(2," Source"),e.qZA()),2&t){const n=i.value,o=e.oxw();e.Q6J("href",n,e.LSH),e.xp6(1),e.Q6J("ngClass",e.VKq(2,O2,o.icons.lineChart))}}let R2=(()=>{class t extends r1{constructor(n,o,l,_){super(_),this.authStorageService=n,this.prometheusAlertService=o,this.urlBuilder=l,this.selection=new Io.r,this.icons=Rr.P,this.permission=this.authStorageService.getPermissions().prometheus,this.tableActions=[{permission:"create",canBePrimary:v=>v.hasSingleSelection,disable:v=>!v.hasSingleSelection||v.first().cdExecuting,icon:Rr.P.add,routerLink:()=>"/monitoring"+this.urlBuilder.getCreateFrom(this.selection.first().fingerprint),name:"Create Silence"}]}ngOnInit(){super.ngOnInit(),this.columns=[{name:"Name",prop:"labels.alertname",cellClass:"fw-bold",flexGrow:2},{name:"Summary",prop:"annotations.summary",flexGrow:3},{name:"Severity",prop:"labels.severity",flexGrow:1,cellTransformation:Xr.e.badge,customTemplateConfig:{map:{critical:{class:"badge-danger"},warning:{class:"badge-warning"}}}},{name:"State",prop:"status.state",flexGrow:1,cellTransformation:Xr.e.badge,customTemplateConfig:{map:{active:{class:"badge-info"},unprocessed:{class:"badge-warning"},suppressed:{class:"badge-dark"}}}},{name:"Started",prop:"startsAt",cellTransformation:Xr.e.timeAgo,flexGrow:1},{name:"URL",prop:"generatorURL",flexGrow:1,sortable:!1,cellTemplate:this.externalLinkTpl}]}updateSelection(n){this.selection=n}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(Km),e.Y36(Qn.F),e.Y36(pm.Q))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-active-alert-list"]],viewQuery:function(n,o){if(1&n&&e.Gf(FS,7),2&n){let l;e.iGM(l=e.CRH())&&(o.externalLinkTpl=l.first)}},features:[e._Bn([{provide:Qn.F,useValue:new Qn.F("silences")}]),e.qOj],decls:5,vars:2,consts:function(){let i;return i="To see all active Prometheus alerts, please provide the URL to the API of Prometheus' Alertmanager as described in the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + ".",[["type","info",4,"ngIf"],["identifier","fingerprint","selectionType","single",3,"data","columns","forceIdentifier","customCss","hasDetails","setExpandedRow","updateSelection",4,"ngIf"],["externalLinkTpl",""],["type","info"],i,["section","prometheus"],["identifier","fingerprint","selectionType","single",3,"data","columns","forceIdentifier","customCss","hasDetails","setExpandedRow","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"renderObjects","hideEmpty","appendParentKey","data","customCss","autoReload",4,"ngIf"],["cdTableDetail","",3,"renderObjects","hideEmpty","appendParentKey","data","customCss","autoReload"],["target","_blank",3,"href"],[3,"ngClass"]]},template:function(n,o){1&n&&(e._UZ(0,"cd-prometheus-tabs"),e.YNc(1,LS,3,0,"cd-alert-panel",0),e.YNc(2,$S,3,9,"cd-table",1),e.YNc(3,A2,3,4,"ng-template",null,2,e.W1O)),2&n&&(e.xp6(1),e.Q6J("ngIf",!o.isAlertmanagerConfigured),e.xp6(1),e.Q6J("ngIf",o.isAlertmanagerConfigured))},dependencies:[f.mk,f.O5,Zu.G,Ff.K,zo.a,bu.b,$l.K,a0]}),t})();var HS=s(94088);function x2(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",2),e.tHW(1,3),e._UZ(2,"cd-doc",4),e.N_p(),e.qZA())}function w2(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",7),2&t){const n=e.oxw(2);e.Q6J("data",n.expandedRow)("renderObjects",!0)("hideKeys",n.hideKeys)}}function P2(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",5),e.NdJ("setExpandedRow",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.setExpandedRow(l))})("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.updateSelection(l))}),e.YNc(1,w2,1,3,"cd-table-key-value",6),e.qZA()}if(2&t){const n=e.oxw();e.Q6J("data",n.prometheusAlertService.rules)("columns",n.columns)("selectionType","single")("hasDetails",!0),e.xp6(1),e.Q6J("ngIf",n.expandedRow)}}let N2=(()=>{class t extends r1{constructor(n,o){super(o),this.prometheusAlertService=n,this.selection=new Io.r,this.hideKeys=["alerts","type"]}ngOnInit(){super.ngOnInit(),this.columns=[{prop:"name",name:"Name",cellClass:"fw-bold",flexGrow:2},{prop:"labels.severity",name:"Severity",flexGrow:1,cellTransformation:Xr.e.badge,customTemplateConfig:{map:{critical:{class:"badge-danger"},warning:{class:"badge-warning"}}}},{prop:"group",name:"Group",flexGrow:1,cellTransformation:Xr.e.badge},{prop:"duration",name:"Duration",pipe:new HS.u,flexGrow:1},{prop:"query",name:"Query",isHidden:!0,flexGrow:1},{prop:"annotations.summary",name:"Summary",flexGrow:3}]}updateSelection(n){this.selection=n}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Km),e.Y36(pm.Q))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-rules-list"]],features:[e.qOj],decls:3,vars:2,consts:function(){let i;return i="To see all configured Prometheus alerts, please provide the URL to the API of Prometheus as described in the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + ".",[["type","info",4,"ngIf"],[3,"data","columns","selectionType","hasDetails","setExpandedRow","updateSelection",4,"ngIf"],["type","info"],i,["section","prometheus"],[3,"data","columns","selectionType","hasDetails","setExpandedRow","updateSelection"],["cdTableDetail","",3,"data","renderObjects","hideKeys",4,"ngIf"],["cdTableDetail","",3,"data","renderObjects","hideKeys"]]},template:function(n,o){1&n&&(e._UZ(0,"cd-prometheus-tabs"),e.YNc(1,x2,3,0,"cd-alert-panel",0),e.YNc(2,P2,2,5,"cd-table",1)),2&n&&(e.xp6(1),e.Q6J("ngIf",!o.isPrometheusConfigured),e.xp6(1),e.Q6J("ngIf",o.isPrometheusConfigured))},dependencies:[f.O5,Zu.G,Ff.K,zo.a,bu.b,a0]}),t})();var Yy=s(26504);let jy=(()=>{class t{constructor(){this.valueAttributePath={alertname:"name",instance:"alerts.0.labels.instance",job:"alerts.0.labels.job",severity:"labels.severity"}}singleMatch(n,o){return this.multiMatch([n],o)}multiMatch(n,o){if(!n.some(l=>l.isRegex))return n.forEach(l=>{o=this.getMatchedRules(l,o)}),this.describeMatch(o)}getMatchedRules(n,o){const l=this.getAttributePath(n.name);return o.filter(_=>Xe().get(_,l)===n.value)}describeMatch(n){let o=0;return n.forEach(l=>o+=l.alerts.length),{status:this.getMatchText(n.length,o),cssClass:o?"has-success":"has-warning"}}getAttributePath(n){return this.valueAttributePath[n]}getMatchText(n,o){const l={noRule:"Your matcher seems to match no currently defined rule or active alert.",noAlerts:"no active alerts",alert:"1 active alert",alerts:"" + o + " active alerts",rule:"Matches 1 rule",rules:"Matches " + n + " rules"};return n?"" + (n > 1 ? l.rules : l.rule) + " with " + (o ? o > 1 ? l.alerts : l.alert : l.noAlerts) + ".":l.noRule}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),I2=(()=>{class t{calculateDuration(n,o){const l=+n,_=+o,v=this.getDuration(Math.abs(l-_));return l>_?"-"+v:v}getDuration(n){const o=new Date(n),l=o.getUTCHours(),_=o.getUTCMinutes(),O=(P,G)=>P&&P+G;return[O(Math.floor(n/864e5),"d"),O(l,"h"),O(_,"m")].filter(P=>P).join(" ")}calculateDate(n,o,l){const _=+n;if(Xe().isNaN(_))return;const v=this.getDurationMs(o)*(l?-1:1);return new Date(_+v)}getDurationMs(n){return 6e4*(60*(24*this.getNumbersFromString(n,"d")+this.getNumbersFromString(n,"h"))+this.getNumbersFromString(n,"m"))}getNumbersFromString(n,o){const l=n.match(new RegExp(`[0-9 ]+${o}`,"i"));return l?parseInt(l[0],10):0}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function F2(t,i){if(1&t&&(e.TgZ(0,"option",28),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.hij(" ",n," ")}}function L2(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function k2(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,31),e.qZA())}function $2(t,i){if(1&t&&(e.TgZ(0,"div",32)(1,"span"),e._uU(2),e.qZA()()),2&t){const n=e.oxw();e.Gre("cd-col-form-offset ",n.matcherMatch.cssClass,""),e.xp6(1),e.Gre("text-muted ",n.matcherMatch.cssClass,""),e.xp6(1),e.hij(" ",n.matcherMatch.status," ")}}let US=(()=>{class t{constructor(n,o,l,_){this.formBuilder=n,this.silenceMatcher=o,this.activeModal=l,this.actionLabels=_,this.submitAction=new e.vpe,this.editMode=!1,this.nameAttributes=["alertname","instance","job","severity"],this.possibleValues=[],this.matcherMatch=void 0,this.valueClick=new Di.xQ,this.valueFocus=new Di.xQ,this.search=v=>(0,Pi.T)(v.pipe((0,cs.b)(200),(0,Yo.x)()),this.valueFocus,this.valueClick.pipe((0,y.h)(()=>!this.typeahead.isPopupOpen()))).pipe((0,Ec.U)(O=>(""===O?this.possibleValues:this.possibleValues.filter(P=>P.toLowerCase().indexOf(O.toLowerCase())>-1)).slice(0,10))),this.createForm(),this.subscribeToChanges()}createForm(){this.form=this.formBuilder.group({name:[null,[rn.kI.required]],value:[{value:"",disabled:!0},[rn.kI.required]],isRegex:new rn.p4(!1)})}subscribeToChanges(){this.form.get("name").valueChanges.subscribe(n=>{null!==n?(this.setPossibleValues(n),this.form.get("value").enable()):this.form.get("value").disable()}),this.form.get("value").valueChanges.subscribe(n=>{const o=this.form.value;o.value=n,this.matcherMatch=this.silenceMatcher.singleMatch(o,this.rules)})}setPossibleValues(n){this.possibleValues=Xe().sortedUniq(this.rules.map(o=>Xe().get(o,this.silenceMatcher.getAttributePath(n))).filter(o=>o))}getMode(){return this.editMode?this.actionLabels.EDIT:this.actionLabels.ADD}preFillControls(n){this.form.setValue(n)}onSubmit(){this.submitAction.emit(this.form.value),this.activeModal.close()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Qi.O),e.Y36(jy),e.Y36(yi.Kz),e.Y36(yr.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-silence-matcher-modal"]],viewQuery:function(n,o){if(1&n&&e.Gf(yi.dR,7),2&n){let l;e.iGM(l=e.CRH())&&(o.typeahead=l.first)}},outputs:{submitAction:"submitAction"},decls:32,vars:11,consts:function(){let i,n,o,l,_,v,O,P;return i="{VAR_SELECT, select, true {Edit} other {Add}}",i=e.Zx4(i,{VAR_SELECT:"\ufffd0\ufffd"}),n="" + i + " Matcher",o="Name",l="-- Select an attribute to match against --",_="Value",v="Use regular expression",O="This field is required!",P="This field is required!",[[3,"modalRef"],[1,"modal-title"],n,[1,"modal-content"],["novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],[1,"form-group","row"],["for","name",1,"cd-col-form-label","required"],o,[1,"cd-col-form-input"],["id","name","formControlName","name","name","name",1,"form-select"],[3,"ngValue"],l,[3,"value",4,"ngFor","ngForOf"],["class","help-block",4,"ngIf"],["for","value",1,"cd-col-form-label","required"],_,["id","value","type","text","formControlName","value",1,"form-control",3,"ngbTypeahead","focus","click"],["instance","ngbTypeahead"],["id","match-state",3,"class",4,"ngIf"],[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","formControlName","isRegex","name","is-regex","id","is-regex",1,"custom-control-input"],["for","is-regex",1,"custom-control-label"],v,[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],[3,"value"],[1,"help-block"],O,P,["id","match-state"]]},template:function(n,o){if(1&n&&(e.TgZ(0,"cd-modal",0)(1,"span",1),e.SDv(2,2),e.qZA(),e.ynx(3,3),e.TgZ(4,"form",4,5)(6,"div",6)(7,"div",7)(8,"label",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"div",10)(11,"select",11)(12,"option",12),e.SDv(13,13),e.qZA(),e.YNc(14,F2,2,2,"option",14),e.qZA(),e.YNc(15,L2,2,0,"span",15),e.qZA()(),e.TgZ(16,"div",7)(17,"label",16),e.SDv(18,17),e.qZA(),e.TgZ(19,"div",10)(20,"input",18,19),e.NdJ("focus",function(_){return o.valueFocus.next(_.target.value)})("click",function(_){return o.valueClick.next(_.target.value)}),e.qZA(),e.YNc(22,k2,2,0,"span",15),e.qZA(),e.YNc(23,$2,3,7,"div",20),e.qZA(),e.TgZ(24,"div",7)(25,"div",21)(26,"div",22),e._UZ(27,"input",23),e.TgZ(28,"label",24),e.SDv(29,25),e.qZA()()()()(),e.TgZ(30,"div",26)(31,"cd-form-button-panel",27),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.qZA()()(),e.BQk(),e.qZA()),2&n){const l=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(2),e.pQV(o.editMode),e.QtT(2),e.xp6(2),e.Q6J("formGroup",o.form),e.xp6(8),e.Q6J("ngValue",null),e.xp6(2),e.Q6J("ngForOf",o.nameAttributes),e.xp6(1),e.Q6J("ngIf",o.form.showError("name",l,"required")),e.xp6(5),e.Q6J("ngbTypeahead",o.search),e.xp6(2),e.Q6J("ngIf",o.form.showError("value",l,"required")),e.xp6(1),e.Q6J("ngIf",o.form.getValue("value")&&!o.form.getValue("isRegex")&&o.matcherMatch),e.xp6(8),e.Q6J("form",o.form)("submitText",o.getMode())}},dependencies:[f.sg,f.O5,al.z,rl.p,st.o,za.b,Va.P,Os.V,rn._Y,rn.YN,rn.Kr,rn.Fj,rn.Wl,rn.EJ,rn.JJ,rn.JL,rn.sg,rn.u,yi.dR]}),t})();var BS=s(52266);function GS(t,i){if(1&t&&(e.TgZ(0,"i",54),e._uU(1,"~"),e.qZA()),2&t){const n=e.oxw(2).$implicit;e.Q6J("ngbTooltip",n.tooltip)}}function YS(t,i){1&t&&(e.TgZ(0,"i",55),e._uU(1,"="),e.qZA())}function jS(t,i){if(1&t&&(e.TgZ(0,"span",51),e.YNc(1,GS,2,1,"i",52),e.YNc(2,YS,2,0,"i",53),e.qZA()),2&t){const n=e.oxw().$implicit,o=e.oxw().matcher;e.xp6(1),e.Q6J("ngIf",o[n.attribute]),e.xp6(1),e.Q6J("ngIf",!o[n.attribute])}}function zS(t,i){if(1&t&&(e.ynx(0),e._UZ(1,"input",56),e.BQk()),2&t){const n=e.oxw().$implicit,o=e.oxw(),l=o.index,_=o.matcher;e.xp6(1),e.hYB("id","matcher-",n.attribute,"-",l,""),e.Q6J("value",_[n.attribute])}}function VS(t,i){if(1&t&&(e.ynx(0),e.YNc(1,jS,3,2,"span",50),e.YNc(2,zS,2,3,"ng-container",7),e.BQk()),2&t){const n=i.$implicit;e.xp6(1),e.Q6J("ngIf","isRegex"===n.attribute),e.xp6(1),e.Q6J("ngIf","isRegex"!==n.attribute)}}const l0=function(t){return[t]};function ZS(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",46),e.YNc(1,VS,3,2,"ng-container",34),e.TgZ(2,"button",47),e.NdJ("click",function(){const _=e.CHM(n).index,v=e.oxw();return e.KtG(v.showMatcherModal(_))}),e._UZ(3,"i",38),e.qZA(),e.TgZ(4,"button",48),e.NdJ("click",function(){const _=e.CHM(n).index,v=e.oxw();return e.KtG(v.deleteMatcher(_))}),e._UZ(5,"i",38),e.qZA()(),e._UZ(6,"span",49)}if(2&t){const n=i.index,o=e.oxw();e.xp6(1),e.Q6J("ngForOf",o.matcherConfig),e.xp6(1),e.MGl("id","matcher-edit-",n,""),e.xp6(1),e.Q6J("ngClass",e.VKq(5,l0,o.icons.edit)),e.xp6(1),e.MGl("id","matcher-delete-",n,""),e.xp6(1),e.Q6J("ngClass",e.VKq(7,l0,o.icons.trash))}}function zy(t,i){1&t&&(e.TgZ(0,"cd-helper"),e.SDv(1,57),e.qZA())}function Vy(t,i){1&t&&(e.TgZ(0,"span",58),e.SDv(1,59),e.qZA())}function Og(t,i){1&t&&(e.TgZ(0,"span",58),e.SDv(1,60),e.qZA())}function H2(t,i){1&t&&(e.TgZ(0,"span",58),e.SDv(1,61),e.qZA())}function U2(t,i){1&t&&(e.TgZ(0,"span",58),e.SDv(1,62),e.qZA())}function o1(t,i){1&t&&(e.TgZ(0,"span",58),e.SDv(1,63),e.qZA())}const yR=function(t,i){return{"text-warning":t,"text-danger":i}};function Zy(t,i){if(1&t&&(e.TgZ(0,"h5",38)(1,"strong"),e.SDv(2,64),e.qZA()()),2&t){e.oxw();const n=e.MAs(4);e.Q6J("ngClass",e.WLB(1,yR,!n.submitted,n.submitted))}}function ER(t,i){1&t&&e.GkF(0)}const WS=function(t,i){return{index:t,matcher:i}};function JS(t,i){if(1&t&&(e.TgZ(0,"span"),e.YNc(1,ER,1,0,"ng-container",65),e.qZA()),2&t){const n=i.$implicit,o=i.index;e.oxw();const l=e.MAs(1);e.xp6(1),e.Q6J("ngTemplateOutlet",l)("ngTemplateOutletContext",e.WLB(2,WS,o,n))}}function SR(t,i){if(1&t&&(e.TgZ(0,"div",66)(1,"span"),e._uU(2),e.qZA()()),2&t){const n=e.oxw();e.Gre("cd-col-form-offset ",n.matcherMatch.cssClass,""),e.xp6(1),e.Gre("text-muted ",n.matcherMatch.cssClass,""),e.xp6(1),e.hij(" ",n.matcherMatch.status," ")}}function Sl(t,i){if(1&t&&e._UZ(0,"cd-date-time-picker",67),2&t){const n=e.oxw();e.Q6J("control",n.form.get("startsAt"))("hasSeconds",!1)}}function B2(t,i){if(1&t&&e._UZ(0,"cd-date-time-picker",67),2&t){const n=e.oxw();e.Q6J("control",n.form.get("endsAt"))("hasSeconds",!1)}}const G2=function(t){return{"btn-warning":t}};let s1=(()=>{class t{constructor(n,o,l,_,v,O,P,G,K,oe,ue){this.router=n,this.authStorageService=o,this.formBuilder=l,this.prometheusService=_,this.notificationService=v,this.route=O,this.timeDiff=P,this.modalService=G,this.silenceMatcher=K,this.actionLabels=oe,this.succeededLabels=ue,this.icons=Rr.P,this.matchName="",this.matchValue="",this.recreate=!1,this.edit=!1,this.resource="silence",this.matchers=[],this.matcherMatch=void 0,this.matcherConfig=[{tooltip:"Attribute name",attribute:"name"},{tooltip:"Regular expression",attribute:"isRegex"},{tooltip:"Value",attribute:"value"}],this.datetimeFormat="YYYY-MM-DD HH:mm",this.isNavigate=!0,this.init()}init(){this.chooseMode(),this.authenticate(),this.createForm(),this.setupDates(),this.getData()}chooseMode(){this.edit=this.router.url.startsWith("/monitoring/silences/edit"),this.recreate=this.router.url.startsWith("/monitoring/silences/recreate"),this.action=this.edit?this.actionLabels.EDIT:this.recreate?this.actionLabels.RECREATE:this.actionLabels.CREATE}authenticate(){if(this.permission=this.authStorageService.getPermissions().prometheus,!this.permission.read||!(this.edit?this.permission.update:this.permission.create))throw new Yy._2}createForm(){const n=De.h.custom("format",o=>!(""===o||Nt()(o,this.datetimeFormat).isValid()));this.form=this.formBuilder.group({startsAt:["",[rn.kI.required,n]],duration:["2h",[rn.kI.min(1)]],endsAt:["",[rn.kI.required,n]],createdBy:[this.authStorageService.getUsername(),[rn.kI.required]],comment:[null,[rn.kI.required]]},{validators:De.h.custom("matcherRequired",()=>0===this.matchers.length)})}setupDates(){const n=Nt()().format(this.datetimeFormat);this.form.silentSet("startsAt",n),this.updateDate(),this.subscribeDateChanges()}updateDate(n){const o=Nt()(this.form.getValue(n?"endsAt":"startsAt"),this.datetimeFormat).toDate(),l=this.timeDiff.calculateDate(o,this.form.getValue("duration"),n);if(l){const _=Nt()(l).format(this.datetimeFormat);this.form.silentSet(n?"startsAt":"endsAt",_)}}subscribeDateChanges(){this.form.get("startsAt").valueChanges.subscribe(()=>{this.onDateChange()}),this.form.get("duration").valueChanges.subscribe(()=>{this.updateDate()}),this.form.get("endsAt").valueChanges.subscribe(()=>{this.onDateChange(!0)})}onDateChange(n){const o=Nt()(this.form.getValue("startsAt"),this.datetimeFormat),l=Nt()(this.form.getValue("endsAt"),this.datetimeFormat);o.isBefore(l)?this.updateDuration():this.updateDate(n)}updateDuration(){const n=Nt()(this.form.getValue("startsAt"),this.datetimeFormat).toDate(),o=Nt()(this.form.getValue("endsAt"),this.datetimeFormat).toDate();this.form.silentSet("duration",this.timeDiff.calculateDuration(n,o))}getData(){this.getRules(),this.getModeSpecificData()}getRules(){return this.prometheusService.ifPrometheusConfigured(()=>this.prometheusService.getRules().subscribe(n=>{this.rules=n.groups.reduce((o,l)=>Xe().concat(o,l.rules),[])},()=>{this.prometheusService.disablePrometheusConfig(),this.rules=[]}),()=>{this.rules=[],this.notificationService.show(Ho.k.info,"Please add your Prometheus host to the dashboard configuration and refresh the page",void 0,void 0,"Prometheus")}),this.rules}getModeSpecificData(){this.route.params.subscribe(n=>{n.id&&(this.edit||this.recreate?this.prometheusService.getSilences().subscribe(o=>{const l=Xe().find(o,["id",n.id]);Xe().isUndefined(l)||this.fillFormWithSilence(l)}):this.prometheusService.getAlerts().subscribe(o=>{const l=Xe().find(o,["fingerprint",n.id]);Xe().isUndefined(l)||this.fillFormByAlert(l)}))})}fillFormWithSilence(n){this.id=n.id,this.edit&&(["startsAt","endsAt"].forEach(o=>this.form.silentSet(o,Nt()(n[o]).format(this.datetimeFormat))),this.updateDuration()),["createdBy","comment"].forEach(o=>this.form.silentSet(o,n[o])),this.matchers=n.matchers,this.validateMatchers()}validateMatchers(){this.rules?(this.matcherMatch=this.silenceMatcher.multiMatch(this.matchers,this.rules),this.form.markAsDirty(),this.form.updateValueAndValidity()):window.setTimeout(()=>this.validateMatchers(),100)}fillFormByAlert(n){this.setMatcher({name:"alertname",value:n.labels.alertname,isRegex:!1})}setMatcher(n,o){Xe().isNumber(o)?this.matchers[o]=n:this.matchers.push(n),this.validateMatchers()}showMatcherModal(n){const l=this.modalService.show(US).componentInstance;l.rules=this.rules,Xe().isNumber(n)&&(l.editMode=!0,l.preFillControls(this.matchers[n])),l.submitAction.subscribe(_=>{this.setMatcher(_,n)})}deleteMatcher(n){this.matchers.splice(n,1),this.validateMatchers()}submit(n){this.form.invalid||this.prometheusService.setSilence(this.getSubmitData()).subscribe(o=>{n&&(n.silenceId=o.body.silenceId),this.isNavigate&&this.router.navigate(["/monitoring/silences"]),this.notificationService.show(Ho.k.success,this.getNotificationTile(this.matchers),void 0,void 0,"Prometheus"),this.matchers=[]},()=>this.form.setErrors({cdSubmitButton:!0}))}getSubmitData(){const n=this.form.value;return delete n.duration,n.startsAt=Nt()(n.startsAt,this.datetimeFormat).toISOString(),n.endsAt=Nt()(n.endsAt,this.datetimeFormat).toISOString(),n.matchers=this.matchers,this.edit&&(n.id=this.id),n}getNotificationTile(n){let o;o=this.edit?this.succeededLabels.EDITED:this.recreate?this.succeededLabels.RECREATED:this.succeededLabels.CREATED;let l="";for(const _ of n)l=l.concat(` ${_.name} - ${_.value},`);return`${o} ${this.resource} for ${l.slice(0,-1)}`}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ee.F0),e.Y36(Do.j),e.Y36(Qi.O),e.Y36(pm.Q),e.Y36(Ui.g),e.Y36(Ee.gz),e.Y36(I2),e.Y36(ca.Z),e.Y36(jy),e.Y36(yr.p4),e.Y36(yr.aX))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-prometheus-form"]],decls:71,vars:30,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue,pe,ye,Ue,xe,ke,we;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Creator",o="Comment",l="Start time",_="If the start time lies in the past the creation time will be used",v="Duration",O="End time",P="Matchers",G="Add matcher",K="Edit",oe="Delete",ue="Editing a silence will expire the old silence and recreate it as a new silence",pe="This field is required!",ye="This field is required!",Ue="This field is required!",xe="This field is required!",ke="This field is required!",we="A silence requires at least one matcher",[["matcherTpl",""],[1,"cd-col-form"],["name","form","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],i,[4,"ngIf"],[1,"card-body"],[1,"form-group","row"],["for","created-by",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["formControlName","createdBy","id","created-by","name","created-by","type","text",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","comment",1,"cd-col-form-label","required"],o,["formControlName","comment","id","comment","name","comment","type","text",1,"form-control"],["for","starts-at",1,"cd-col-form-label"],[1,"required"],l,_,["formControlName","startsAt","triggers","manual",1,"form-control",3,"ngbPopover","click","keypress"],["ps","ngbPopover"],["for","duration",1,"cd-col-form-label","required"],v,["formControlName","duration","id","duration","name","duration","type","text",1,"form-control"],["for","ends-at",1,"cd-col-form-label","required"],O,["formControlName","endsAt","triggers","manual",1,"form-control",3,"ngbPopover","click","keypress"],["pe","ngbPopover"],P,[1,"cd-col-form-offset"],[3,"ngClass",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"row"],[1,"col-12"],["type","button","id","add-matcher",1,"btn","btn-light","float-end","my-3",3,"ngClass","click"],[3,"ngClass"],G,["id","match-state",3,"class",4,"ngIf"],[1,"card-footer"],[1,"text-right"],[3,"form","submitText","submitActionEvent"],["popStart",""],["popEnd",""],[1,"input-group","my-2"],["type","button","ngbTooltip",K,1,"btn","btn-light",3,"id","click"],["type","button","ngbTooltip",oe,1,"btn","btn-light",3,"id","click"],[1,"help-block"],["class","input-group-text",4,"ngIf"],[1,"input-group-text"],[3,"ngbTooltip",4,"ngIf"],["ngbTooltip","Equals",4,"ngIf"],[3,"ngbTooltip"],["ngbTooltip","Equals"],["type","text","disabled","","readonly","",1,"form-control",3,"id","value"],ue,[1,"invalid-feedback"],pe,ye,Ue,xe,ke,we,[4,"ngTemplateOutlet","ngTemplateOutletContext"],["id","match-state"],[3,"control","hasSeconds"]]},template:function(n,o){if(1&n){const l=e.EpF();e.YNc(0,ZS,7,9,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1)(3,"form",2,3)(5,"div",4)(6,"div",5)(7,"span"),e.SDv(8,6),e.ALo(9,"titlecase"),e.ALo(10,"upperFirst"),e.qZA(),e.YNc(11,zy,2,0,"cd-helper",7),e.qZA(),e.TgZ(12,"div",8)(13,"div",9)(14,"label",10),e.SDv(15,11),e.qZA(),e.TgZ(16,"div",12),e._UZ(17,"input",13),e.YNc(18,Vy,2,0,"span",14),e.qZA()(),e.TgZ(19,"div",9)(20,"label",15),e.SDv(21,16),e.qZA(),e.TgZ(22,"div",12)(23,"textarea",17),e._uU(24," "),e.qZA(),e.YNc(25,Og,2,0,"span",14),e.qZA()(),e.TgZ(26,"div",9)(27,"label",18)(28,"span",19),e.SDv(29,20),e.qZA(),e.TgZ(30,"cd-helper"),e.SDv(31,21),e.qZA()(),e.TgZ(32,"div",12)(33,"input",22,23),e.NdJ("click",function(){e.CHM(l);const v=e.MAs(34);return e.KtG(v.open())})("keypress",function(){e.CHM(l);const v=e.MAs(34);return e.KtG(v.close())}),e.qZA(),e.YNc(35,H2,2,0,"span",14),e.qZA()(),e.TgZ(36,"div",9)(37,"label",24),e.SDv(38,25),e.qZA(),e.TgZ(39,"div",12),e._UZ(40,"input",26),e.YNc(41,U2,2,0,"span",14),e.qZA()(),e.TgZ(42,"div",9)(43,"label",27),e.SDv(44,28),e.qZA(),e.TgZ(45,"div",12)(46,"input",29,30),e.NdJ("click",function(){e.CHM(l);const v=e.MAs(47);return e.KtG(v.open())})("keypress",function(){e.CHM(l);const v=e.MAs(47);return e.KtG(v.close())}),e.qZA(),e.YNc(48,o1,2,0,"span",14),e.qZA()(),e.TgZ(49,"fieldset")(50,"legend",19),e.SDv(51,31),e.qZA(),e.TgZ(52,"div",32),e.YNc(53,Zy,3,4,"h5",33),e.YNc(54,JS,2,5,"span",34),e.TgZ(55,"div",35)(56,"div",36)(57,"button",37),e.NdJ("click",function(){return o.showMatcherModal()}),e._UZ(58,"i",38),e.ynx(59),e.SDv(60,39),e.BQk(),e.qZA()()()(),e.YNc(61,SR,3,7,"div",40),e.qZA()(),e.TgZ(62,"div",41)(63,"div",42)(64,"cd-form-button-panel",43),e.NdJ("submitActionEvent",function(){return o.submit()}),e.ALo(65,"titlecase"),e.ALo(66,"upperFirst"),e.qZA()()()()()(),e.YNc(67,Sl,1,2,"ng-template",null,44,e.W1O),e.YNc(69,B2,1,2,"ng-template",null,45,e.W1O)}if(2&n){const l=e.MAs(4),_=e.MAs(68),v=e.MAs(70);e.xp6(3),e.Q6J("formGroup",o.form),e.xp6(7),e.pQV(e.lcZ(9,18,o.action))(e.lcZ(10,20,o.resource)),e.QtT(8),e.xp6(1),e.Q6J("ngIf",o.edit),e.xp6(7),e.Q6J("ngIf",o.form.showError("createdBy",l,"required")),e.xp6(7),e.Q6J("ngIf",o.form.showError("comment",l,"required")),e.xp6(8),e.Q6J("ngbPopover",_),e.xp6(2),e.Q6J("ngIf",o.form.showError("startsAt",l,"required")),e.xp6(6),e.Q6J("ngIf",o.form.showError("duration",l,"required")),e.xp6(5),e.Q6J("ngbPopover",v),e.xp6(2),e.Q6J("ngIf",o.form.showError("endsAt",l,"required")),e.xp6(5),e.Q6J("ngIf",0===o.matchers.length),e.xp6(1),e.Q6J("ngForOf",o.matchers),e.xp6(3),e.Q6J("ngClass",e.VKq(26,G2,l.submitted&&0===o.matchers.length)),e.xp6(1),e.Q6J("ngClass",e.VKq(28,l0,o.icons.add)),e.xp6(3),e.Q6J("ngIf",o.matchers.length&&o.matcherMatch),e.xp6(3),e.Q6J("form",o.form)("submitText",e.lcZ(65,22,o.action)+" "+e.lcZ(66,24,o.resource))}},dependencies:[f.mk,f.sg,f.O5,f.tP,La.S,BS.J,rl.p,st.o,za.b,Va.P,Os.V,rn._Y,rn.Fj,rn.JJ,rn.JL,rn.sg,rn.u,yi._L,yi.o8,f.rS,Cu.m],styles:["textarea[_ngcontent-%COMP%]{resize:vertical}"]}),t})();var a1=s(84051),QS=s(70882);function u0(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",2),e.tHW(1,3),e._UZ(2,"cd-doc",4),e.N_p(),e.qZA())}function c0(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",8),2&t){const n=e.oxw(2);e.Q6J("renderObjects",!0)("hideEmpty",!0)("appendParentKey",!1)("data",n.expandedRow)("customCss",n.customCss)("autoReload",!1)}}function Jd(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-table",5),e.NdJ("setExpandedRow",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.setExpandedRow(l))})("fetchData",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.refresh())})("updateSelection",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.updateSelection(l))}),e._UZ(1,"cd-table-actions",6),e.YNc(2,c0,1,6,"cd-table-key-value",7),e.qZA()}if(2&t){const n=e.oxw();e.Q6J("data",n.silences)("columns",n.columns)("forceIdentifier",!0)("customCss",n.customCss)("sorts",n.sorts)("hasDetails",!0),e.xp6(1),e.Q6J("permission",n.permission)("selection",n.selection)("tableActions",n.tableActions),e.xp6(1),e.Q6J("ngIf",n.expandedRow)}}let KS=(()=>{class t extends r1{constructor(n,o,l,_,v,O,P,G,K,oe){super(oe),this.authStorageService=n,this.cdDatePipe=o,this.modalService=l,this.notificationService=_,this.urlBuilder=v,this.actionLabels=O,this.succeededLabels=P,this.silenceFormComponent=G,this.silenceMatcher=K,this.silences=[],this.selection=new Io.r,this.customCss={"badge badge-danger":"active","badge badge-warning":"pending","badge badge-default":"expired"},this.sorts=[{prop:"endsAt",dir:a1.Sr.desc}],this.permission=this.authStorageService.getPermissions().prometheus;const ue=pe=>pe.first()&&pe.first().status&&"expired"===pe.first().status.state;this.tableActions=[{permission:"create",icon:Rr.P.add,routerLink:()=>this.urlBuilder.getCreate(),canBePrimary:pe=>!pe.hasSingleSelection,name:this.actionLabels.CREATE},{permission:"create",canBePrimary:pe=>pe.hasSingleSelection&&ue(pe),disable:pe=>!pe.hasSingleSelection||pe.first().cdExecuting||pe.first().cdExecuting&&ue(pe)||!ue(pe),icon:Rr.P.copy,routerLink:()=>this.urlBuilder.getRecreate(this.selection.first().id),name:this.actionLabels.RECREATE},{permission:"update",icon:Rr.P.edit,canBePrimary:pe=>pe.hasSingleSelection&&!ue(pe),disable:pe=>!pe.hasSingleSelection||pe.first().cdExecuting||pe.first().cdExecuting&&!ue(pe)||ue(pe),routerLink:()=>this.urlBuilder.getEdit(this.selection.first().id),name:this.actionLabels.EDIT},{permission:"delete",icon:Rr.P.trash,canBePrimary:pe=>pe.hasSingleSelection&&!ue(pe),disable:pe=>!pe.hasSingleSelection||pe.first().cdExecuting||ue(pe),click:()=>this.expireSilence(),name:this.actionLabels.EXPIRE}],this.columns=[{name:"ID",prop:"id",flexGrow:3},{name:"Alerts Silenced",prop:"silencedAlerts",flexGrow:3,cellTransformation:Xr.e.badge},{name:"Created by",prop:"createdBy",flexGrow:2},{name:"Started",prop:"startsAt",pipe:this.cdDatePipe},{name:"Updated",prop:"updatedAt",pipe:this.cdDatePipe},{name:"Ends",prop:"endsAt",pipe:this.cdDatePipe},{name:"Status",prop:"status.state",cellTransformation:Xr.e.classAdding}]}refresh(){this.prometheusService.ifAlertmanagerConfigured(()=>{this.prometheusService.getSilences().subscribe(n=>{this.silences=n;const o=n.filter(l=>"expired"!==l.status.state);this.getAlerts(o)},()=>{this.prometheusService.disableAlertmanagerConfig()})})}updateSelection(n){this.selection=n}getAlerts(n){const o=this.silenceFormComponent.getRules();n.forEach(l=>{l.matchers.forEach(_=>{this.rules=this.silenceMatcher.getMatchedRules(_,o);const v=[];for(const O of this.rules)v.push(O.name);l.silencedAlerts=v})})}expireSilence(){const n=this.selection.first().id,o="Silence",l="Prometheus";this.modalRef=this.modalService.show(Go.M,{itemDescription:o,itemNames:[n],actionDescription:this.actionLabels.EXPIRE,submitActionObservable:()=>new QS.y(_=>{this.prometheusService.expireSilence(n).subscribe(()=>{this.notificationService.show(Ho.k.success,`${this.succeededLabels.EXPIRED} ${o} ${n}`,void 0,void 0,l)},v=>{v.application=l,_.error(v)},()=>{_.complete(),this.refresh()})})})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(Ve.N),e.Y36(ca.Z),e.Y36(Ui.g),e.Y36(Qn.F),e.Y36(yr.p4),e.Y36(yr.aX),e.Y36(s1),e.Y36(jy),e.Y36(pm.Q))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-silences-list"]],features:[e._Bn([{provide:Qn.F,useValue:new Qn.F("monitoring/silences")},s1]),e.qOj],decls:3,vars:2,consts:function(){let i;return i="To enable Silences, please provide the URL to the API of the Prometheus' Alertmanager as described in the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + ".",[["type","info",4,"ngIf"],["selectionType","single",3,"data","columns","forceIdentifier","customCss","sorts","hasDetails","setExpandedRow","fetchData","updateSelection",4,"ngIf"],["type","info"],i,["section","prometheus"],["selectionType","single",3,"data","columns","forceIdentifier","customCss","sorts","hasDetails","setExpandedRow","fetchData","updateSelection"],[1,"table-actions",3,"permission","selection","tableActions"],["cdTableDetail","",3,"renderObjects","hideEmpty","appendParentKey","data","customCss","autoReload",4,"ngIf"],["cdTableDetail","",3,"renderObjects","hideEmpty","appendParentKey","data","customCss","autoReload"]]},template:function(n,o){1&n&&(e._UZ(0,"cd-prometheus-tabs"),e.YNc(1,u0,3,0,"cd-alert-panel",0),e.YNc(2,Jd,3,10,"cd-table",1)),2&n&&(e.xp6(1),e.Q6J("ngIf",!o.isAlertmanagerConfigured),e.xp6(1),e.Q6J("ngIf",o.isAlertmanagerConfigured))},dependencies:[f.O5,Zu.G,Ff.K,zo.a,bu.b,$l.K,a0]}),t})(),XS=(()=>{class t{constructor(n){this.http=n,this.url="api/telemetry"}getReport(){return this.http.get(`${this.url}/report`)}enable(n=!0){const o={enable:n};return n&&(o.license_name="sharing-1-0"),this.http.put(`${this.url}`,o)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Wy=(()=>{class t{constructor(){this.visible=!1,this.update=new e.vpe}setVisibility(n){this.visible=n,this.update.emit(n)}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function qS(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div"),e._uU(1," The plugin is already "),e.TgZ(2,"b"),e._uU(3,"enabled"),e.qZA(),e._uU(4,". Click "),e.TgZ(5,"b"),e._uU(6,"Deactivate"),e.qZA(),e._uU(7," to disable it.\xa0 "),e.TgZ(8,"button",66),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.disableModule("The Telemetry module has been disabled successfully."))}),e.SDv(9,67),e.qZA()()}}function eb(t,i){1&t&&(e.ynx(0),e.TgZ(1,"legend"),e.ynx(2),e.SDv(3,68),e.BQk(),e.TgZ(4,"cd-helper"),e.SDv(5,69),e.qZA()(),e.TgZ(6,"div",15)(7,"label",70),e.SDv(8,71),e.qZA(),e.TgZ(9,"div",24),e._UZ(10,"input",72),e.qZA()(),e.TgZ(11,"div",15)(12,"label",73),e.SDv(13,74),e.qZA(),e.TgZ(14,"div",24),e._UZ(15,"input",75),e.qZA()(),e.TgZ(16,"div",15)(17,"label",76),e.SDv(18,77),e.qZA(),e.TgZ(19,"div",24),e._UZ(20,"input",78),e.qZA()(),e.BQk())}function tb(t,i){1&t&&(e.TgZ(0,"span",79),e.SDv(1,80),e.qZA())}function nb(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div")(1,"form",4,5)(3,"div",6)(4,"div",7),e.SDv(5,8),e.qZA(),e.TgZ(6,"div",9)(7,"p"),e.tHW(8,10),e._UZ(9,"br")(10,"a",11)(11,"br")(12,"br")(13,"b"),e.N_p(),e.qZA(),e.YNc(14,qS,10,0,"div",12),e.TgZ(15,"legend"),e.SDv(16,13),e.qZA(),e.TgZ(17,"p"),e.SDv(18,14),e.qZA(),e.TgZ(19,"div",15)(20,"label",16),e.ynx(21),e.SDv(22,17),e.BQk(),e.TgZ(23,"cd-helper"),e.ynx(24),e.SDv(25,18),e.BQk(),e.TgZ(26,"ul")(27,"li"),e.SDv(28,19),e.qZA(),e.TgZ(29,"li"),e.SDv(30,20),e.qZA(),e.TgZ(31,"li"),e.SDv(32,21),e.qZA(),e.TgZ(33,"li"),e.SDv(34,22),e.qZA(),e.TgZ(35,"li"),e.SDv(36,23),e.qZA()()()(),e.TgZ(37,"div",24)(38,"div",25),e._UZ(39,"input",26)(40,"label",27),e.qZA()()(),e.TgZ(41,"div",15)(42,"label",28),e.ynx(43),e.SDv(44,29),e.BQk(),e.TgZ(45,"cd-helper"),e.ynx(46),e.SDv(47,30),e.BQk(),e.TgZ(48,"ul")(49,"li"),e.SDv(50,31),e.qZA(),e.TgZ(51,"li"),e.SDv(52,32),e.qZA(),e.TgZ(53,"li"),e.SDv(54,33),e.qZA(),e.TgZ(55,"li"),e.SDv(56,34),e.qZA()()()(),e.TgZ(57,"div",24)(58,"div",25),e._UZ(59,"input",35)(60,"label",36),e.qZA()()(),e.TgZ(61,"div",15)(62,"label",37),e.ynx(63),e.SDv(64,38),e.BQk(),e._UZ(65,"cd-helper",39),e.qZA(),e.TgZ(66,"div",24)(67,"div",25),e._UZ(68,"input",40)(69,"label",41),e.qZA()()(),e.TgZ(70,"div",15)(71,"label",42),e.ynx(72),e.SDv(73,43),e.BQk(),e.TgZ(74,"cd-helper"),e.ynx(75),e.SDv(76,44),e.BQk(),e.TgZ(77,"ul")(78,"li"),e._uU(79,"Cluster description"),e.qZA(),e.TgZ(80,"li"),e._uU(81,"Contact email address"),e.qZA()()()(),e.TgZ(82,"div",24)(83,"div",25)(84,"input",45),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.toggleIdent())}),e.qZA(),e._UZ(85,"label",46),e.qZA()()(),e.TgZ(86,"div",15)(87,"label",47),e.ynx(88),e.SDv(89,48),e.BQk(),e.TgZ(90,"cd-helper"),e.ynx(91),e.SDv(92,49),e.BQk(),e.qZA()(),e.TgZ(93,"div",24)(94,"div",25),e._UZ(95,"input",50)(96,"label",51),e.qZA()()(),e.YNc(97,eb,21,0,"ng-container",12),e.TgZ(98,"legend"),e.SDv(99,52),e.qZA(),e.TgZ(100,"div",15)(101,"label",53),e.ynx(102),e.SDv(103,54),e.BQk(),e.TgZ(104,"cd-helper"),e.SDv(105,55),e.qZA()(),e.TgZ(106,"div",24),e._UZ(107,"input",56),e.YNc(108,tb,2,0,"span",57),e.qZA()(),e.TgZ(109,"div",15)(110,"label",58),e.ynx(111),e.SDv(112,59),e.BQk(),e.TgZ(113,"cd-helper")(114,"p"),e.SDv(115,60),e.qZA(),e.TgZ(116,"p"),e.SDv(117,61),e.qZA()()(),e.TgZ(118,"div",24),e._UZ(119,"input",62),e.qZA()(),e._UZ(120,"br"),e.TgZ(121,"p"),e.tHW(122,63),e._UZ(123,"b"),e.N_p(),e.qZA()(),e.TgZ(124,"div",64)(125,"div",65)(126,"button",66),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.next())}),e.ynx(127),e._uU(128),e.BQk(),e.qZA()()()()()()}if(2&t){const n=e.MAs(2),o=e.oxw(2);e.xp6(1),e.Q6J("formGroup",o.configForm),e.xp6(4),e.pQV(o.step),e.QtT(5),e.xp6(8),e.pQV(o.sendToUrl)(o.sendToDeviceUrl),e.QtT(8),e.xp6(1),e.Q6J("ngIf",o.moduleEnabled),e.xp6(83),e.Q6J("ngIf",o.showContactInfo),e.xp6(11),e.Q6J("ngIf",o.configForm.showError("interval",n,"min")),e.xp6(20),e.Oqu(o.actionLabels.NEXT)}}function Y2(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div")(1,"form",81,82)(3,"div",6)(4,"div",7),e.SDv(5,83),e.qZA(),e.TgZ(6,"div",9)(7,"div",15)(8,"label",84),e.tHW(9,85),e._UZ(10,"cd-helper",86),e.N_p(),e.qZA(),e.TgZ(11,"div",24),e._UZ(12,"input",87),e.qZA()(),e.TgZ(13,"div",15)(14,"label",88),e.tHW(15,89),e.TgZ(16,"cd-helper",90),e._UZ(17,"em"),e.qZA(),e.N_p(),e.qZA(),e.TgZ(18,"div",24),e._UZ(19,"textarea",91),e.qZA()(),e.TgZ(20,"div",15)(21,"div",92)(22,"div",93),e._UZ(23,"cd-download-button",94)(24,"cd-copy-2-clipboard-button",95),e.qZA()()(),e.TgZ(25,"div",15)(26,"div",92)(27,"div",25),e._UZ(28,"input",96),e.TgZ(29,"label",97),e.tHW(30,98),e._UZ(31,"a",99),e.N_p(),e.qZA()()()()(),e.TgZ(32,"div",64)(33,"div",65)(34,"cd-form-button-panel",100),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.onSubmit())})("backActionEvent",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.back())}),e.qZA()()()()()()}if(2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("formGroup",n.previewForm),e.xp6(4),e.pQV(n.step),e.QtT(5),e.xp6(18),e.Q6J("objectItem",n.report),e.xp6(11),e.Q6J("form",n.previewForm)("submitText",n.actionLabels.UPDATE)("cancelText",n.actionLabels.BACK)}}function j2(t,i){if(1&t&&(e.TgZ(0,"div",1),e.ynx(1,2),e.YNc(2,nb,129,8,"div",3),e.YNc(3,Y2,35,6,"div",3),e.BQk(),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngSwitch",n.step),e.xp6(1),e.Q6J("ngSwitchCase",1),e.xp6(1),e.Q6J("ngSwitchCase",2)}}let z2=(()=>{class t extends $c.E{constructor(n,o,l,_,v,O,P){super(),this.actionLabels=n,this.formBuilder=o,this.mgrModuleService=l,this.notificationService=_,this.router=v,this.telemetryService=O,this.telemetryNotificationService=P,this.licenseAgrmt=!1,this.options={},this.newConfig={},this.configResp={},this.requiredFields=["channel_basic","channel_crash","channel_device","channel_ident","channel_perf","interval","proxy","contact","description","organization"],this.contactInfofields=["contact","description","organization"],this.report=void 0,this.reportId=void 0,this.sendToUrl="",this.sendToDeviceUrl="",this.step=1}ngOnInit(){const n=[this.mgrModuleService.getOptions("telemetry"),this.mgrModuleService.getConfig("telemetry")];(0,Za.D)(n).subscribe(o=>{const l=o[1];this.moduleEnabled=l.enabled,this.sendToUrl=l.url,this.sendToDeviceUrl=l.device_url,this.showContactInfo=l.channel_ident,this.options=Xe().pick(o[0],this.requiredFields),this.configResp=Xe().pick(l,this.requiredFields),this.createConfigForm(),this.configForm.setValue(this.configResp),this.loadingReady()},o=>{this.loadingError()})}createConfigForm(){const n={};Xe().forEach(Object.values(this.options),o=>{n[o.name]=[o.default_value,this.getValidators(o)]}),this.configForm=this.formBuilder.group(n)}replacer(n,o){if(("ranges"===n||"values"===n)&&Array.isArray(o)){const l=[];for(let _=0;_<o.length;_++)l.push(JSON.stringify(o[_]));return l}return o}replacerTest(n){return JSON.stringify(n,this.replacer,2)}formatReport(){let n={};n=JSON.parse(JSON.stringify(this.report));const o=["perf_counters","stats_per_pool","stats_per_pg","io_rate","osd_perf_histograms","mempool","heap_stats","rocksdb_stats"];for(let l=0;l<o.length;l++){const _=o[l];_ in n.report&&delete n.report[_]}return JSON.stringify(n,null,2)}formatReportTest(n){let o={};o=JSON.parse(JSON.stringify(n));const l=["perf_counters","stats_per_pool","stats_per_pg","io_rate","osd_perf_histograms","mempool","heap_stats","rocksdb_stats"];for(let _=0;_<l.length;_++){const v=l[_];v in o&&delete o[v]}return JSON.stringify(o,null,2)}createPreviewForm(){const n={report:this.formatReport(),reportId:this.reportId,licenseAgrmt:[this.licenseAgrmt,rn.kI.requiredTrue]};this.previewForm=this.formBuilder.group(n)}getValidators(n){const o=[];switch(n.type){case"int":o.push(rn.kI.required);break;case"str":Xe().isNumber(n.min)&&o.push(rn.kI.minLength(n.min)),Xe().isNumber(n.max)&&o.push(rn.kI.maxLength(n.max))}return o}updateReportFromConfig(n={}){const o=this.report.report.channels_available,l=[];for(const _ of o)n[`channel_${_}`]&&l.push(_);this.report.report.channels=l;for(const _ of this.contactInfofields)this.report.report[_]=n[_]}getReport(){this.loadingStart(),this.telemetryService.getReport().subscribe(n=>{this.report=n,this.reportId=n.report.report_id,this.updateReportFromConfig(this.newConfig),this.createPreviewForm(),this.loadingReady(),this.step++},n=>{this.loadingError()})}toggleIdent(){this.showContactInfo=!this.showContactInfo}buildReport(){this.newConfig={};for(const n of Object.values(this.options)){const o=this.configForm.get(n.name);if(!o.valid)return void this.configForm.setErrors({cdSubmitButton:!0});this.newConfig[n.name]=o.value}if(!this.newConfig.channel_ident)for(const n of this.contactInfofields)this.newConfig[n]="";this.getReport()}disableModule(n=null,o=null){this.telemetryService.enable(!1).subscribe(()=>{this.telemetryNotificationService.setVisibility(!0),n&&this.notificationService.show(Ho.k.success,n),o?o():this.router.navigate([""])})}next(){this.buildReport()}back(){this.step--}getChangedConfig(){const n={};return Xe().forEach(this.requiredFields,o=>{Xe().isEqual(this.configResp[o],this.newConfig[o])||(n[o]=this.newConfig[o])}),n}onSubmit(){const n=this.getChangedConfig(),o=[this.telemetryService.enable(),this.mgrModuleService.updateConfig("telemetry",n)];(0,Za.D)(o).subscribe(()=>{this.telemetryNotificationService.setVisibility(!1),this.notificationService.show(Ho.k.success,"The Telemetry module has been configured and activated successfully.")},()=>{this.telemetryNotificationService.setVisibility(!1),this.notificationService.show(Ho.k.error,"An Error occurred while updating the Telemetry module configuration. Please Try again"),this.previewForm.setErrors({cdSubmitButton:!0})},()=>{this.newConfig={},this.router.navigate([""])})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yr.p4),e.Y36(Qi.O),e.Y36(H_.N),e.Y36(Ui.g),e.Y36(Ee.F0),e.Y36(XS),e.Y36(Wy))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-telemetry"]],features:[e.qOj],decls:1,vars:1,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue,pe,ye,Ue,xe,ke,we,Z,Ft,Dt,Yt,ln,$n,nn,Jn,zn,Zr,$r,ui,gi,Un,lr,ar,Cr,Wn,ai,ho,Yi,lo,pi,Kn,Nn,_i,Zi;return i="Step " + "\ufffd0\ufffd" + " of 2: Telemetry report configuration",n="The telemetry module sends anonymous data about this Ceph cluster back to the Ceph developers to help understand how Ceph is used and what problems users may be experiencing." + "[\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#11\ufffd\ufffd/#11\ufffd|\ufffd#12\ufffd\ufffd/#12\ufffd]" + " This data is visualized on " + "\ufffd#10\ufffd" + "public dashboards" + "\ufffd/#10\ufffd" + " that allow the community to quickly see summary statistics on how many clusters are reporting, their total capacity and OSD count, and version distribution trends." + "[\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#11\ufffd\ufffd/#11\ufffd|\ufffd#12\ufffd\ufffd/#12\ufffd]" + "" + "[\ufffd#9\ufffd\ufffd/#9\ufffd|\ufffd#11\ufffd\ufffd/#11\ufffd|\ufffd#12\ufffd\ufffd/#12\ufffd]" + " The data being reported does " + "\ufffd#13\ufffd" + "not" + "\ufffd/#13\ufffd" + " contain any sensitive data like pool names, object names, object contents, hostnames, or device serial numbers. It contains counters and statistics on how the cluster has been deployed, the version of Ceph, the distribution of the hosts and other parameters which help the project to gain a better understanding of the way Ceph is used. The data is sent secured to " + "\ufffd0\ufffd" + " and " + "\ufffd1\ufffd" + " (device report).",n=e.Zx4(n),o="Channels",l="The telemetry report is broken down into several \"channels\", each with a different type of information that can be configured below.",_="Basic",v="Includes basic information about the cluster:",O="Capacity of the cluster",P="Number of monitors, managers, OSDs, MDSs, object gateways, or other daemons",G="Software version currently being used",K="Number and types of RADOS pools and CephFS file systems",oe="Names of configuration options that have been changed from their default (but not their values)",ue="Crash",pe="Includes information about daemon crashes:",ye="Type of daemon",Ue="Version of the daemon",xe="Operating system (OS distribution, kernel version)",ke="Stack trace identifying where in the Ceph code the crash occurred",we="Device",Z="Includes information about device metrics like anonymized SMART metrics.",Ft="Ident",Dt="Includes user-provided identifying information about the cluster:",Yt="Perf",ln="Includes various performance metrics of a cluster.",$n="Advanced Settings",nn="Interval",Jn="The module compiles and sends a new report every 24 hours by default. You can adjust this interval by setting a different number of hours.",zn="Proxy",Zr="If the cluster cannot directly connect to the configured telemetry endpoint (default telemetry.ceph.com), you can configure a HTTP/HTTPS proxy server by e.g. adding https://10.0.0.1:8080",$r="You can also include a user:pass if needed e.g. https://ceph:telemetry@10.0.0.1:8080",ui="" + "\ufffd#123\ufffd" + "Note:" + "\ufffd/#123\ufffd" + " By clicking 'Next' you will first see a preview of the report content before you can activate the automatic submission of your data.",gi="Deactivate",Un="Contact Information",lr="Submitting any contact information is completely optional and disabled by default.",ar="Contact",Cr="Description",Wn="My first Ceph cluster",ai="Organization",ho="Organization name",Yi="The entered value is too low! It must be greater or equal to 8.",lo="Step " + "\ufffd0\ufffd" + " of 2: Telemetry report preview",pi="A randomized UUID to identify a particular cluster over the course of several telemetry reports.",Kn="Report ID " + "\ufffd#10\ufffd" + "" + "\ufffd/#10\ufffd" + "",Nn="The actual telemetry data that will be submitted.",_i="Report preview " + "\ufffd#16\ufffd" + "" + "\ufffd#17\ufffd" + "Note: Please select 'Download' to view the full report, including metrics from the perf channel." + "\ufffd/#17\ufffd" + "" + "\ufffd/#16\ufffd" + "",Zi="I agree to my telemetry data being submitted under the " + "\ufffd#31\ufffd" + "Community Data License Agreement - Sharing - Version 1.0" + "\ufffd/#31\ufffd" + "",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],[3,"ngSwitch"],[4,"ngSwitchCase"],["name","form","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],i,[1,"card-body"],n,["href","https://telemetry-public.ceph.com/"],[4,"ngIf"],o,l,[1,"form-group","row"],["for","channel_basic",1,"cd-col-form-label"],_,v,O,P,G,K,oe,[1,"cd-col-form-input"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","channel_basic","formControlName","channel_basic",1,"custom-control-input"],["for","channel_basic",1,"custom-control-label"],["for","channel_crash",1,"cd-col-form-label"],ue,pe,ye,Ue,xe,ke,["type","checkbox","id","channel_crash","formControlName","channel_crash",1,"custom-control-input"],["for","channel_crash",1,"custom-control-label"],["for","channel_device",1,"cd-col-form-label"],we,["html",Z],["type","checkbox","id","channel_device","formControlName","channel_device",1,"custom-control-input"],["for","channel_device",1,"custom-control-label"],["for","channel_ident",1,"cd-col-form-label"],Ft,Dt,["type","checkbox","id","channel_ident","formControlName","channel_ident",1,"custom-control-input",3,"click"],["for","channel_ident",1,"custom-control-label"],["for","channel_perf",1,"cd-col-form-label"],Yt,ln,["type","checkbox","id","channel_perf","formControlName","channel_perf",1,"custom-control-input"],["for","channel_perf",1,"custom-control-label"],$n,["for","interval",1,"cd-col-form-label"],nn,Jn,["id","interval","type","number","formControlName","interval","min","8",1,"form-control"],["class","invalid-feedback",4,"ngIf"],["for","proxy",1,"cd-col-form-label"],zn,Zr,$r,["id","proxy","type","text","formControlName","proxy","placeholder","https://10.0.0.1:8080",1,"form-control"],ui,[1,"card-footer"],[1,"button-group","text-right"],["type","button",1,"btn","btn-light",3,"click"],gi,Un,lr,["for","contact",1,"cd-col-form-label"],ar,["id","contact","type","text","formControlName","contact","placeholder","Example User <user@example.com>",1,"form-control"],["for","description",1,"cd-col-form-label"],Cr,["id","description","type","text","formControlName","description","placeholder",Wn,1,"form-control"],["for","organization",1,"cd-col-form-label"],ai,["id","organization","type","text","formControlName","organization","placeholder",ho,1,"form-control"],[1,"invalid-feedback"],Yi,["name","previewForm","novalidate","",3,"formGroup"],["frm","ngForm"],lo,["for","reportId",1,"cd-col-form-label"],Kn,["html",pi],["type","text","id","reportId","formControlName","reportId","readonly","",1,"form-control"],["for","report",1,"cd-col-form-label"],_i,["html",Nn],["id","report","formControlName","report","rows","15","readonly","",1,"form-control"],[1,"cd-col-form-offset"],["role","group",1,"btn-group"],["fileName","telemetry_report",3,"objectItem"],["source","report"],["type","checkbox","id","licenseAgrmt","name","licenseAgrmt","formControlName","licenseAgrmt",1,"custom-control-input"],["for","licenseAgrmt",1,"custom-control-label"],Zi,["href","https://cdla.io/sharing-1-0/"],[3,"form","submitText","cancelText","submitActionEvent","backActionEvent"]]},template:function(n,o){1&n&&e.YNc(0,j2,4,3,"div",0),2&n&&e.Q6J("cdFormLoading",o.loading)},dependencies:[f.O5,f.RF,f.n9,La.S,ia.s,$v,rl.p,Pu.y,st.o,za.b,Va.P,Os.V,rn._Y,rn.Fj,rn.wV,rn.Wl,rn.JJ,rn.JL,rn.qQ,rn.sg,rn.u]}),t})();var Rm=s(89154),X1=s(98677);function V2(t,i){if(1&t&&(e.TgZ(0,"option",7),e._uU(1),e.qZA()),2&t){const n=i.$implicit,o=e.oxw();e.Q6J("value",o.intervalList[n]),e.xp6(1),e.Oqu(n)}}let Z2=(()=>{class t{constructor(n){this.refreshIntervalService=n,this.intervalList={"5 s":5e3,"10 s":1e4,"15 s":15e3,"30 s":3e4,"1 min":6e4,"3 min":18e4,"5 min":3e5},this.intervalKeys=Object.keys(this.intervalList)}ngOnInit(){this.selectedInterval=this.refreshIntervalService.getRefreshInterval()||5e3}changeRefreshInterval(n){this.refreshIntervalService.setRefreshInterval(n)}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(X1.s))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-refresh-selector"]],decls:8,vars:2,consts:function(){let i;return i="Refresh",[[1,"container-fluid"],[1,"row"],[1,"col-sm-1","d-flex","float-end"],["for","refreshInterval",1,"col-form-label","my-0","mx-2","float-end"],i,["id","refreshInterval","name","refreshInterval",1,"form-select","float-end",3,"ngModel","change","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]]},template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"form")(3,"div",2)(4,"label",3),e.SDv(5,4),e.qZA(),e.TgZ(6,"select",5),e.NdJ("change",function(_){return o.changeRefreshInterval(_.target.value)})("ngModelChange",function(_){return o.selectedInterval=_}),e.YNc(7,V2,2,2,"option",6),e.qZA()()()()()),2&n&&(e.xp6(6),e.Q6J("ngModel",o.selectedInterval),e.xp6(1),e.Q6J("ngForOf",o.intervalKeys))},dependencies:[f.sg,rn._Y,rn.YN,rn.Kr,rn.EJ,rn.JJ,rn.JL,rn.On,rn.F,st.o]}),t})();var d0=s(4167),zh=s(74255),rb=s(43892),f0=s(79241),ib=s(9219),q1=s(17401),Xm=s(85770),ob=s(6823),Ag=s(99475);let W2=(()=>{class t{constructor(n,o){this.cssHelper=n,this.dimlessBinary=o,this.chartConfig={},this.doughnutChartPlugins=[{id:"center_text",beforeDraw(l){const _=new Ag.P,v="Helvetica Neue, Helvetica, Arial, sans-serif";ob.defaults.global.defaultFontFamily=v;const O=l.ctx;if(!l.options.plugins.center_text||!l.data.datasets[0].label)return;O.save();const P=l.data.datasets[0].label[0].split("\n"),G=(l.chartArea.left+l.chartArea.right)/2,K=(l.chartArea.top+l.chartArea.bottom)/2;O.textAlign="center",O.textBaseline="middle",O.font=`24px ${v}`,O.fillText(P[0],G,K-10),P.length>1&&(O.font=`14px ${v}`,O.fillStyle=_.propertyValue("chart-color-center-text-description"),O.fillText(P[1],G,K+10)),O.restore()}}],this.chartConfig={chartType:"doughnut",labels:["","",""],dataset:[{label:null,backgroundColor:[this.cssHelper.propertyValue("chart-color-light-gray"),this.cssHelper.propertyValue("chart-color-slight-dark-gray"),this.cssHelper.propertyValue("chart-color-dark-gray")]},{label:null,borderWidth:0,backgroundColor:[this.cssHelper.propertyValue("chart-color-blue"),this.cssHelper.propertyValue("chart-color-white")]}],options:{cutoutPercentage:70,events:["click","mouseout","touchstart"],legend:{display:!0,position:"right",labels:{boxWidth:10,usePointStyle:!1,generateLabels:l=>{const _={0:{},1:{},2:{}};return _[0]={text:"Used: " + l.data.datasets[1].data[2] + "",fillStyle:l.data.datasets[1].backgroundColor[0],strokeStyle:l.data.datasets[1].backgroundColor[0]},_[1]={text:"Warning: " + l.data.datasets[0].data[0] + "%",fillStyle:l.data.datasets[0].backgroundColor[1],strokeStyle:l.data.datasets[0].backgroundColor[1]},_[2]={text:"Danger: " + (l.data.datasets[0].data[0] + l.data.datasets[0].data[1]) + "%",fillStyle:l.data.datasets[0].backgroundColor[2],strokeStyle:l.data.datasets[0].backgroundColor[2]},_}}},plugins:{center_text:!0},tooltips:{enabled:!0,displayColors:!1,backgroundColor:this.cssHelper.propertyValue("chart-color-tooltip-background"),cornerRadius:0,bodyFontSize:14,bodyFontStyle:"600",position:"nearest",xPadding:12,yPadding:12,filter:l=>1===l.datasetIndex,callbacks:{label:(l,_)=>{let v=_.labels[l.index];return v.includes("%")||(v=`${v} (${_.datasets[l.datasetIndex].data[l.index]}%)`),v}}},title:{display:!1}}}}ngOnInit(){this.prepareRawUsage(this.chartConfig,this.data)}ngOnChanges(){this.prepareRawUsage(this.chartConfig,this.data)}prepareRawUsage(n,o){const l=100*this.lowThreshold,_=100*this.highThreshold,v=this.calcPercentage(o.max-o.current,o.max),O=this.calcPercentage(o.current,o.max);this.color=O>=_?"chart-color-red":O>=l?"chart-color-yellow":"chart-color-blue",n.dataset[0].data=[Math.round(l),Math.round(Math.abs(l-_)),Math.round(100-_)],n.dataset[1].data=[O,v,this.dimlessBinary.transform(o.current)],n.dataset[1].backgroundColor[0]=this.cssHelper.propertyValue(this.color),n.dataset[0].label=[`${O}%\nof ${this.dimlessBinary.transform(o.max)}`]}calcPercentage(n,o){return Xe().isNumber(n)&&Xe().isNumber(o)&&0!==o?Math.ceil(n/o*100*100)/100:0}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ag.P),e.Y36(Wl.$))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-dashboard-pie"]],inputs:{data:"data",highThreshold:"highThreshold",lowThreshold:"lowThreshold"},features:[e.TTD],decls:6,vars:6,consts:[[1,"chart-container","d-flex","align-items-center","justify-content-center"],["baseChart","",1,"chart-canvas",3,"datasets","chartType","options","labels","colors","plugins"],["chartCanvas",""],[1,"chartjs-tooltip"],["chartTooltip",""]],template:function(n,o){1&n&&(e.TgZ(0,"div",0),e._UZ(1,"canvas",1,2),e.TgZ(3,"div",3,4),e._UZ(5,"table"),e.qZA()()),2&n&&(e.xp6(1),e.Q6J("datasets",o.chartConfig.dataset)("chartType",o.chartConfig.chartType)("options",o.chartConfig.options)("labels",o.chartConfig.labels)("colors",o.chartConfig.colors)("plugins",o.doughnutChartPlugins))},dependencies:[tn.jh],styles:['.chart-container[_ngcontent-%COMP%]{cursor:pointer;margin:auto;overflow:visible;position:absolute}canvas[_ngcontent-%COMP%]{user-select:none}.chartjs-tooltip[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%);transition:all .1s ease}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]{transform:translate(-10%)}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]:after{left:10%}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]{transform:translate(-90%)}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]:after{left:90%}.chartjs-tooltip[_ngcontent-%COMP%]:after{border-color:#000 transparent transparent transparent;border-style:solid;border-width:5px;content:" ";left:50%;margin-left:-5px;position:absolute;top:100%} .chartjs-tooltip-key{display:inline-block;height:10px;margin-right:10px;width:10px}.chart-container[_ngcontent-%COMP%]{height:100%;margin-left:auto;margin-right:auto;position:unset;width:100%}.chart-canvas[_ngcontent-%COMP%]{height:100%;margin-left:auto;margin-right:auto;max-height:100%;max-width:100%;position:unset;width:100%}']}),t})();var sb=s(9024),ab=s(54740),qm=(()=>{return(t=qm||(qm={})).HEALTH_ERR="health-color-error",t.HEALTH_WARN="health-color-warning",t.HEALTH_OK="health-color-healthy",qm;var t})();let p0=(()=>{class t{constructor(n){this.cssHelper=n}transform(n){return Object.keys(qm).includes(n)?{color:this.cssHelper.propertyValue(qm[n])}:null}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ag.P,16))},t.\u0275pipe=e.Yjl({name:"healthColor",type:t,pure:!0}),t})();var lb=s(9228),ub=s(40473),J2=s(8074),TR=s(67891),Q2=s(20687);let CR=(()=>{class t{constructor(n){this.pgCategoryService=n}transform(n){const o={};let l=0;return Xe().forEach(n.statuses,(_,v)=>{const O=this.pgCategoryService.getTypeByStates(v);Xe().isUndefined(o[O])&&(o[O]=0),o[O]+=_,l+=_}),{categoryPgAmount:o,total:l}}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Q2.j,16))},t.\u0275pipe=e.Yjl({name:"pgSummary",type:t,pure:!0}),t})();function MR(t,i){if(1&t&&e._UZ(0,"cd-card-row",47),2&t){const n=e.oxw(2);e.Q6J("data",n.healthData.hosts)}}function cb(t,i){if(1&t&&e._UZ(0,"cd-card-row",48),2&t){const n=e.oxw(2);e.Q6J("data",n.healthData.mon_status.monmap.mons.length)}}function _0(t,i){if(1&t&&(e._UZ(0,"cd-card-row",49),e.ALo(1,"mgrSummary")),2&t){const n=e.oxw(2);e.Q6J("data",e.lcZ(1,1,n.healthData.mgr_map))}}function K2(t,i){if(1&t&&(e._UZ(0,"cd-card-row",50),e.ALo(1,"osdSummary")),2&t){const n=e.oxw(2);e.Q6J("data",e.lcZ(1,1,n.healthData.osd_map))}}function X2(t,i){if(1&t&&e._UZ(0,"cd-card-row",51),2&t){const n=e.oxw(2);e.Q6J("data",n.healthData.pools.length)}}function db(t,i){if(1&t&&(e._UZ(0,"cd-card-row",52),e.ALo(1,"pgSummary")),2&t){const n=e.oxw(2);e.Q6J("data",e.lcZ(1,1,n.healthData.pg_info))}}function ev(t,i){if(1&t&&e._UZ(0,"cd-card-row",53),2&t){const n=e.oxw(2);e.Q6J("data",n.healthData.rgw)}}function q2(t,i){if(1&t&&(e._UZ(0,"cd-card-row",54),e.ALo(1,"mdsSummary")),2&t){const n=e.oxw(2);e.Q6J("data",e.lcZ(1,1,n.healthData.fs_map))}}function eM(t,i){if(1&t&&e._UZ(0,"cd-card-row",55),2&t){const n=e.oxw(2);e.Q6J("data",n.healthData.iscsi_daemons)}}function tM(t,i){1&t&&(e.TgZ(0,"div",56)(1,"a",57),e.SDv(2,58),e.qZA()())}function nM(t,i){1&t&&e.GkF(0)}function OR(t,i){if(1&t&&(e.TgZ(0,"li")(1,"span",61),e.ALo(2,"healthColor"),e._uU(3),e.qZA(),e._uU(4),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.ekj("health-warn-description","HEALTH_WARN"===n.severity),e.Q6J("ngStyle",e.lcZ(2,5,n.severity)),e.xp6(2),e.hij(" ",n.type,""),e.xp6(1),e.hij(": ",n.summary.message," ")}}function rM(t,i){if(1&t&&(e.YNc(0,nM,1,0,"ng-container",59),e.TgZ(1,"ul"),e.YNc(2,OR,5,7,"li",60),e.qZA()),2&t){const n=e.oxw(2),o=e.MAs(5);e.Q6J("ngTemplateOutlet",o),e.xp6(2),e.Q6J("ngForOf",n.healthData.health.checks)}}const Jy=function(t,i){return[t,i]};function iM(t,i){if(1&t&&(e._UZ(0,"i",62),e.ALo(1,"healthIcon"),e.ALo(2,"healthColor")),2&t){const n=e.oxw(2);e.Q6J("ngClass",e.WLB(7,Jy,e.lcZ(1,3,n.healthData.health.status),n.icons.large2x))("ngStyle",e.lcZ(2,5,n.healthData.health.status))("title",n.healthData.health.status)}}function oM(t,i){if(1&t&&(e.TgZ(0,"a",63),e.SDv(1,64),e.qZA()),2&t){e.oxw();const n=e.MAs(49);e.Q6J("ngbPopover",n)("openDelay",300)("closeDelay",500)}}function tv(t,i){1&t&&(e.TgZ(0,"span",65),e.SDv(1,66),e.qZA())}const fb=function(t){return{active:t}},nv=function(t){return[t]};function sM(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",77),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.toggleAlertsWindow("critical"))}),e._UZ(1,"i",78),e.TgZ(2,"span"),e._uU(3),e.qZA()()}if(2&t){const n=e.oxw(3);e.Q6J("ngClass",e.VKq(3,fb,"critical"===n.alertType)),e.xp6(1),e.Q6J("ngClass",e.VKq(5,nv,n.icons.danger)),e.xp6(2),e.Oqu(n.prometheusAlertService.activeCriticalAlerts)}}function pb(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",79),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.toggleAlertsWindow("warning"))}),e._UZ(1,"i",78),e.TgZ(2,"span"),e._uU(3),e.qZA()()}if(2&t){const n=e.oxw(3);e.Q6J("ngClass",e.VKq(3,fb,"warning"===n.alertType)),e.xp6(1),e.Q6J("ngClass",e.VKq(5,nv,n.icons.infoCircle)),e.xp6(2),e.Oqu(n.prometheusAlertService.activeWarningAlerts)}}function aM(t,i){1&t&&e.GkF(0)}function _b(t,i){if(1&t&&(e.TgZ(0,"section",67)(1,"div",68)(2,"span",69),e.SDv(3,70),e.qZA(),e.YNc(4,sM,4,7,"button",71),e.YNc(5,pb,4,7,"button",72),e.qZA(),e.TgZ(6,"div",73),e._UZ(7,"hr",74),e.TgZ(8,"ngx-simplebar",75)(9,"div",76),e.YNc(10,aM,1,0,"ng-container",59),e.qZA()()()()),2&t){const n=e.oxw(2),o=e.MAs(3);e.xp6(4),e.Q6J("ngIf",null==n.prometheusAlertService?null:n.prometheusAlertService.activeCriticalAlerts),e.xp6(1),e.Q6J("ngIf",null==n.prometheusAlertService?null:n.prometheusAlertService.activeWarningAlerts),e.xp6(3),e.Q6J("options",n.simplebar),e.xp6(2),e.Q6J("ngTemplateOutlet",o)}}const lM=function(t,i){return{max:t,current:i}};function Qy(t,i){if(1&t&&(e.ynx(0,7),e._UZ(1,"cd-dashboard-pie",80),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("data",e.WLB(3,lM,n.capacity.total_bytes,n.capacity.total_used_raw_bytes))("lowThreshold",n.osdSettings.nearfull_ratio)("highThreshold",n.osdSettings.full_ratio)}}function uM(t,i){if(1&t&&(e.ynx(0),e._UZ(1,"cd-dashboard-area-chart",81),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("maxValue",n.capacity.total_bytes)("data",n.queriesResults.USEDCAPACITY)}}function hb(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",3)(1,"div",4)(2,"div",5)(3,"cd-card",6)(4,"dl",7)(5,"dt"),e._uU(6,"Cluster ID"),e.qZA(),e.TgZ(7,"dd"),e._uU(8),e.qZA(),e.TgZ(9,"dt"),e._uU(10,"Orchestrator"),e.qZA(),e.TgZ(11,"dd"),e.SDv(12,8),e.qZA(),e.TgZ(13,"dt"),e._uU(14,"Ceph version"),e.qZA(),e.TgZ(15,"dd"),e._uU(16),e.qZA(),e.TgZ(17,"dt"),e._uU(18,"Cluster API"),e.qZA(),e.TgZ(19,"dd")(20,"a",9),e._uU(21),e._UZ(22,"i",10),e.qZA()(),e.ynx(23),e.TgZ(24,"dt"),e._uU(25,"Telemetry Dashboard "),e.TgZ(26,"span",11),e._uU(27),e.qZA()(),e.TgZ(28,"dd")(29,"a",12),e._uU(30),e._UZ(31,"i",10),e.qZA()(),e.BQk(),e.qZA()(),e.TgZ(32,"cd-card",13),e.YNc(33,MR,1,1,"cd-card-row",14),e.YNc(34,cb,1,1,"cd-card-row",15),e.YNc(35,_0,2,3,"cd-card-row",16),e.YNc(36,K2,2,3,"cd-card-row",17),e.YNc(37,X2,1,1,"cd-card-row",18),e.YNc(38,db,2,3,"cd-card-row",19),e.YNc(39,ev,1,1,"cd-card-row",20),e.YNc(40,q2,2,3,"cd-card-row",21),e.YNc(41,eM,1,1,"cd-card-row",22),e.qZA()(),e.TgZ(42,"div",23)(43,"div",24)(44,"div",25)(45,"cd-card",26),e.YNc(46,tM,3,0,"div",27),e.TgZ(47,"div",28),e.YNc(48,rM,3,2,"ng-template",null,29,e.W1O),e.TgZ(50,"div",30),e.YNc(51,iM,3,10,"i",31),e.YNc(52,oM,2,3,"a",32),e.YNc(53,tv,2,0,"span",33),e.qZA()(),e.YNc(54,_b,11,4,"section",34),e.qZA()(),e.TgZ(55,"div",35)(56,"cd-card",36),e.YNc(57,Qy,2,6,"ng-container",37),e.qZA()(),e.TgZ(58,"div",38)(59,"cd-card",39)(60,"div",40)(61,"cd-dashboard-time-selector",41),e.NdJ("selectedTime",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.getPrometheusData(l))}),e.qZA(),e.YNc(62,uM,2,2,"ng-container",42),e._UZ(63,"cd-dashboard-area-chart",43)(64,"cd-dashboard-area-chart",44)(65,"cd-dashboard-area-chart",45)(66,"cd-dashboard-area-chart",46),e.qZA()()()()()()()}if(2&t){const n=i.ngIf,o=e.oxw();e.xp6(8),e.Oqu(o.detailsCardData.fsid),e.xp6(4),e.pQV(o.detailsCardData.orchestrator||"Orchestrator is not available"),e.QtT(12),e.xp6(4),e.Oqu(o.detailsCardData.cephVersion),e.xp6(5),e.hij(" ",o.origin,"/api-docs "),e.xp6(5),e.Q6J("ngClass",o.telemetryEnabled?"badge-success":"badge-secondary")("ngbTooltip",o.getTelemetryText()),e.xp6(1),e.hij(" ",o.telemetryEnabled?"Active":"Inactive"," "),e.xp6(2),e.Q6J("href",o.telemetryURL,e.LSH),e.xp6(1),e.hij(" ",o.telemetryURL," "),e.xp6(3),e.Q6J("ngIf",null!=o.healthData.hosts),e.xp6(1),e.Q6J("ngIf",o.healthData.mon_status),e.xp6(1),e.Q6J("ngIf",o.healthData.mgr_map),e.xp6(1),e.Q6J("ngIf",o.healthData.osd_map),e.xp6(1),e.Q6J("ngIf",o.healthData.pools),e.xp6(1),e.Q6J("ngIf",o.healthData.pg_info),e.xp6(1),e.Q6J("ngIf",n.rgw&&o.healthData.rgw||0===o.healthData.rgw),e.xp6(1),e.Q6J("ngIf",n.cephfs&&o.healthData.fs_map),e.xp6(1),e.Q6J("ngIf",n.iscsi&&o.healthData.iscsi_daemons),e.xp6(4),e.Q6J("alignItemsCenter",!0)("cardFooter",o.isAlertmanagerConfigured&&o.prometheusAlertService.alerts.length)("fullHeight",!0),e.xp6(1),e.Q6J("ngIf",o.prometheusAlertService.alerts.length),e.xp6(5),e.Q6J("ngIf",null==o.healthData.health?null:o.healthData.health.status),e.xp6(1),e.Q6J("ngIf",null==o.healthData.health||null==o.healthData.health.checks?null:o.healthData.health.checks.length),e.xp6(1),e.Q6J("ngIf",!(null!=o.healthData.health&&null!=o.healthData.health.checks&&o.healthData.health.checks.length)),e.xp6(1),e.Q6J("ngIf",o.isAlertmanagerConfigured&&o.prometheusAlertService.alerts.length),e.xp6(2),e.Q6J("fullHeight",!0),e.xp6(1),e.Q6J("ngIf",o.capacity&&o.osdSettings),e.xp6(5),e.Q6J("ngIf",o.capacity),e.xp6(1),e.Q6J("data",o.queriesResults.READIOPS)("data2",o.queriesResults.WRITEIOPS),e.xp6(1),e.Q6J("data",o.queriesResults.READLATENCY)("data2",o.queriesResults.WRITELATENCY),e.xp6(1),e.Q6J("data",o.queriesResults.READCLIENTTHROUGHPUT)("data2",o.queriesResults.WRITECLIENTTHROUGHPUT),e.xp6(1),e.Q6J("data",o.queriesResults.RECOVERYBYTES)}}const Ky=function(t,i,n){return[t,i,n]};function cM(t,i){if(1&t&&(e.TgZ(0,"div",78)(1,"div",84)(2,"div",85)(3,"div",86)(4,"span",78),e._UZ(5,"i",78)(6,"i",78),e.qZA()(),e.TgZ(7,"div",87)(8,"div",88)(9,"h6",89),e._uU(10),e.qZA(),e._UZ(11,"p",90),e.TgZ(12,"p",91)(13,"small",92),e.SDv(14,93),e.ALo(15,"cdDate"),e.ALo(16,"relativeDate"),e.qZA()()()()()(),e._UZ(17,"hr",94),e.qZA()),2&t){const n=e.oxw().$implicit,o=e.oxw(2);e.Q6J("ngClass",e.VKq(13,nv,"border-"+o.alertClass[n.labels.severity])),e.xp6(4),e.Q6J("ngClass",e.kEZ(15,Ky,o.icons.stack,o.icons.large,"text-"+o.alertClass[n.labels.severity])),e.xp6(1),e.Q6J("ngClass",e.WLB(19,Jy,o.icons.circle,o.icons.stack2x)),e.xp6(1),e.Q6J("ngClass",e.kEZ(22,Ky,o.icons.stack1x,o.icons.inverse,o.icons.warning)),e.xp6(4),e.Oqu(n.labels.alertname),e.xp6(1),e.Q6J("innerHtml",n.annotations.description,e.oJD)("ngbTooltip",n.annotations.description),e.xp6(2),e.Q6J("title",e.lcZ(15,9,n.startsAt)),e.xp6(3),e.pQV(e.lcZ(16,11,n.startsAt)),e.QtT(14)}}function dM(t,i){if(1&t&&(e.ynx(0),e.YNc(1,cM,18,26,"div",83),e.BQk()),2&t){const n=i.$implicit,o=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.labels.severity===o.alertType||!o.alertType)}}function fM(t,i){if(1&t&&e.YNc(0,dM,2,1,"ng-container",82),2&t){const n=e.oxw();e.Q6J("ngForOf",n.prometheusAlertService.alerts)("ngForTrackBy",n.trackByFn)}}function Xy(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"p",95),e.tHW(2,96),e._UZ(3,"i",78)(4,"a",97),e.N_p(),e.qZA(),e.BQk()),2&t){const n=e.oxw(2);e.xp6(3),e.Q6J("ngClass",e.VKq(1,nv,n.icons.infoCircle))}}function pM(t,i){if(1&t&&e.YNc(0,Xy,5,3,"ng-container",42),2&t){const n=e.oxw();e.Q6J("ngIf",n.permissions.log.read)}}let mb=(()=>{class t extends r1{constructor(n,o,l,_,v,O,P,G,K,oe){super(P),this.summaryService=n,this.orchestratorService=o,this.osdService=l,this.authStorageService=_,this.featureToggles=v,this.healthService=O,this.prometheusService=P,this.mgrModuleService=G,this.refreshIntervalService=K,this.prometheusAlertService=oe,this.detailsCardData={},this.interval=new bd.w,this.icons=Rr.P,this.flexHeight=!0,this.simplebar={autoHide:!0},this.alertClass=rb.y,this.categoryPgAmount={},this.totalPgs=0,this.queriesResults={USEDCAPACITY:"",IPS:"",OPS:"",READLATENCY:"",WRITELATENCY:"",READCLIENTTHROUGHPUT:"",WRITECLIENTTHROUGHPUT:"",RECOVERYBYTES:""},this.telemetryURL="https://telemetry-public.ceph.com/",this.origin=window.location.origin,this.permissions=this.authStorageService.getPermissions(),this.enabledFeature$=this.featureToggles.get()}ngOnInit(){super.ngOnInit(),this.interval=this.refreshIntervalService.intervalData$.subscribe(()=>{this.getHealth(),this.getCapacityCardData()}),this.getPrometheusData(this.prometheusService.lastHourDateObject),this.getDetailsCardData(),this.getTelemetryReport()}getTelemetryText(){return this.telemetryEnabled?"Cluster telemetry is active":"Cluster telemetry is inactive. To Activate the Telemetry, click settings icon on top navigation bar and select Telemetry configration."}ngOnDestroy(){this.interval.unsubscribe(),this.prometheusService.unsubscribe()}getHealth(){this.healthService.getMinimalHealth().subscribe(n=>{this.healthData=n})}toggleAlertsWindow(n){this.alertType=this.alertType===n?null:n}getDetailsCardData(){this.healthService.getClusterFsid().subscribe(n=>{this.detailsCardData.fsid=n}),this.orchestratorService.getName().subscribe(n=>{this.detailsCardData.orchestrator=n}),this.summaryService.subscribe(n=>{const o=n.version.replace("ceph version ","").split(" ");this.detailsCardData.cephVersion=o[0]+" "+o.slice(2,o.length).join(" ")})}getCapacityCardData(){this.osdSettingsService=this.osdService.getOsdSettings().pipe((0,Zf.q)(1)).subscribe(n=>{this.osdSettings=n}),this.capacityService=this.healthService.getClusterCapacity().subscribe(n=>{this.capacity=n})}getPrometheusData(n){this.queriesResults=this.prometheusService.getPrometheusQueriesData(n,d0.w,this.queriesResults)}getTelemetryReport(){this.mgrModuleService.getConfig("telemetry").subscribe(n=>{this.telemetryEnabled=n?.enabled})}trackByFn(n){return n}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(zh.J),e.Y36(td),e.Y36(Zc),e.Y36(Do.j),e.Y36(Rm.l),e.Y36(f0.z),e.Y36(pm.Q),e.Y36(H_.N),e.Y36(X1.s),e.Y36(Km))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-dashboard-v3"]],features:[e.qOj],decls:6,vars:3,consts:function(){let i,n,o,l,_,v,O,P,G;return i="" + "\ufffd0\ufffd" + "",n=" View alerts ",o="Cluster",l="Cluster",_="Alerts",v="Danger",O="Warning",P="Active since: " + "\ufffd0\ufffd" + "",G="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " See " + "\ufffd#4\ufffd" + "Logs" + "\ufffd/#4\ufffd" + " for more details.",[["class","container-fluid p-4",4,"ngIf"],["alertsCard",""],["logsLink",""],[1,"container-fluid","p-4"],[1,"row","d-flex","flex-row","ps-3"],[1,"col-sm-3","d-flex","flex-column","ps-2","pe-4"],["cardTitle","Details","aria-label","Details card",1,"details"],[1,"ms-4","me-4"],i,["routerLink","/api-docs","target","_blank"],[1,"fa","fa-external-link"],[1,"badge",3,"ngClass","ngbTooltip"],["target","_blank",3,"href"],["cardTitle","Inventory","aria-label","Inventory card",1,"pt-4"],["link","/hosts","title","Host","summaryType","simplified",3,"data",4,"ngIf"],["link","/monitor","title","Monitor","summaryType","simplified",3,"data",4,"ngIf"],["title","Manager",3,"data",4,"ngIf"],["link","/osd","title","OSD","summaryType","osd",3,"data",4,"ngIf"],["link","/pool","title","Pool","summaryType","simplified",3,"data",4,"ngIf"],["title","PG",3,"data",4,"ngIf"],["link","/rgw/daemon","title","Object Gateway","summaryType","simplified","id","rgw-item",3,"data",4,"ngIf"],["title","Metadata Server","id","mds-item",3,"data",4,"ngIf"],["link","/iscsi/daemon","title","iSCSI Gateway","summaryType","iscsi","id","iscsi-item",3,"data",4,"ngIf"],[1,"col-sm-9","ps-0"],[1,"row"],[1,"col-sm-8"],["cardTitle","Status","aria-label","Status card",1,"status",3,"alignItemsCenter","cardFooter","fullHeight"],["class","viewAlert",4,"ngIf"],[1,"d-flex","flex-column","ms-4","me-4","mt-4","mb-4"],["healthChecks",""],[1,"d-flex","flex-row"],[3,"ngClass","ngStyle","title",4,"ngIf"],["class","ms-2 mt-n1 lead text-primary","popoverClass","info-card-popover-cluster-status","triggers","mouseenter:mouseleave",3,"ngbPopover","openDelay","closeDelay",4,"ngIf"],["class","ms-2 mt-n1 lead",4,"ngIf"],["class","footer alerts",4,"ngIf"],[1,"col-sm-4","ps-0"],["cardTitle","Capacity","aria-label","Capacity card",3,"fullHeight"],["class","ms-4 me-4",4,"ngIf"],[1,"col-sm-12","d-flex","flex-column","pt-4"],["cardTitle","Cluster Utilization","aria-label","Cluster utilization card"],[1,"ms-4","me-4","mt-0"],[3,"selectedTime"],[4,"ngIf"],["chartTitle","IOPS","dataUnits","","decimals","0","label","Reads","label2","Writes",3,"data","data2"],["chartTitle","OSD Latencies","dataUnits","ms","decimals","2","label","Apply","label2","Commit",3,"data","data2"],["chartTitle","Client Throughput","dataUnits","B/s","decimals","2","label","Reads","label2","Writes",3,"data","data2"],["chartTitle","Recovery Throughput","dataUnits","B/s","decimals","2","label","Recovery Throughput",3,"data"],["link","/hosts","title","Host","summaryType","simplified",3,"data"],["link","/monitor","title","Monitor","summaryType","simplified",3,"data"],["title","Manager",3,"data"],["link","/osd","title","OSD","summaryType","osd",3,"data"],["link","/pool","title","Pool","summaryType","simplified",3,"data"],["title","PG",3,"data"],["link","/rgw/daemon","title","Object Gateway","summaryType","simplified","id","rgw-item",3,"data"],["title","Metadata Server","id","mds-item",3,"data"],["link","/iscsi/daemon","title","iSCSI Gateway","summaryType","iscsi","id","iscsi-item",3,"data"],[1,"viewAlert"],["href","#/monitoring/active-alerts"],n,[4,"ngTemplateOutlet"],[4,"ngFor","ngForOf"],[3,"ngStyle"],[3,"ngClass","ngStyle","title"],["popoverClass","info-card-popover-cluster-status","triggers","mouseenter:mouseleave",1,"ms-2","mt-n1","lead","text-primary",3,"ngbPopover","openDelay","closeDelay"],o,[1,"ms-2","mt-n1","lead"],l,[1,"footer","alerts"],[1,"d-flex","flex-wrap","ms-4","me-4","mb-3","mt-3"],[1,"pt-2"],_,["class","btn btn-outline-danger rounded-pill ms-2","title",v,"id","dangerAlerts",3,"ngClass","click",4,"ngIf"],["class","btn btn-outline-warning rounded-pill ms-2","title",O,"id","warningAlerts",3,"ngClass","click",4,"ngIf"],[1,"alerts-section","pt-0"],[1,"mt-1","mb-0"],[3,"options"],[1,"card-body","p-0"],["title",v,"id","dangerAlerts",1,"btn","btn-outline-danger","rounded-pill","ms-2",3,"ngClass","click"],[3,"ngClass"],["title",O,"id","warningAlerts",1,"btn","btn-outline-warning","rounded-pill","ms-2",3,"ngClass","click"],[3,"data","lowThreshold","highThreshold"],["chartTitle","Used Capacity (RAW)","dataUnits","B","label","Used Capacity",3,"maxValue","data"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngClass",4,"ngIf"],[1,"card","tc_alerts","border-0","pt-3"],[1,"row","no-gutters","ps-2"],[1,"col-sm-1","text-center"],[1,"col-md-11","ps-0"],[1,"card-body","ps-0","pe-1","pb-1","pt-0"],[1,"card-title","bold"],[1,"card-text","me-3","mb-0","text-truncate",3,"innerHtml","ngbTooltip"],[1,"card-text","text-muted","me-3"],[1,"date",3,"title"],P,[1,"mt-0","mb-0"],[1,"logs-link"],G,["routerLink","/logs"]]},template:function(n,o){1&n&&(e.YNc(0,hb,67,36,"div",0),e.ALo(1,"async"),e.YNc(2,fM,1,2,"ng-template",null,1,e.W1O),e.YNc(4,pM,1,1,"ng-template",null,2,e.W1O)),2&n&&e.Q6J("ngIf",e.lcZ(1,1,o.healthData&&o.enabledFeature$))},dependencies:[f.mk,f.sg,f.O5,f.tP,f.PC,ib.A,q1.e,st.o,Ee.rH,yi.o8,yi._L,Xm.M,W2,sb.S,ab.M,f.Ov,p0,Wf.h,Ve.N,lb.v,ub.c,J2.F,TR.H,CR],styles:[".details[_ngcontent-%COMP%]{font-size:larger}.details[_ngcontent-%COMP%] dt[_ngcontent-%COMP%]{margin-bottom:.3rem}.details[_ngcontent-%COMP%] dd[_ngcontent-%COMP%]{margin-bottom:.8rem}.status[_ngcontent-%COMP%] .viewAlert[_ngcontent-%COMP%]{position:absolute;right:2rem;top:2rem}.alerts[_ngcontent-%COMP%] ngx-simplebar[_ngcontent-%COMP%]{height:13.5rem;overflow-x:hidden}.alerts[_ngcontent-%COMP%] .text-truncate[_ngcontent-%COMP%]{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;white-space:normal}"]}),t})();const _M=["chartCanvas"],hM=["chartTooltip"];let mM=(()=>{class t{constructor(n,o,l){this.dimlessBinary=n,this.dimless=o,this.cssHelper=l,this.config={},this.isBytesData=!1,this.showLabelAsTooltip=!1,this.prepareFn=new e.vpe,this.chartConfig={},this.doughnutChartPlugins=[{id:"center_text",beforeDraw(_){const v=new Ag.P,O="Helvetica Neue, Helvetica, Arial, sans-serif";ob.defaults.global.defaultFontFamily=O;const P=_.ctx;if(!_.options.plugins.center_text||!_.data.datasets[0].label)return;P.save();const G=_.data.datasets[0].label.split("\n"),K=(_.chartArea.left+_.chartArea.right)/2,oe=(_.chartArea.top+_.chartArea.bottom)/2;P.textAlign="center",P.textBaseline="middle",P.font=`24px ${O}`,P.fillStyle=v.propertyValue("chart-color-center-text"),P.fillText(G[0],K,oe-10),G.length>1&&(P.font=`14px ${O}`,P.fillStyle=v.propertyValue("chart-color-center-text-description"),P.fillText(G[1],K,oe+10)),P.restore()}}],this.chartConfig={chartType:"doughnut",dataset:[{label:null,borderWidth:0}],colors:[{backgroundColor:[this.cssHelper.propertyValue("chart-color-green"),this.cssHelper.propertyValue("chart-color-yellow"),this.cssHelper.propertyValue("chart-color-orange"),this.cssHelper.propertyValue("chart-color-red"),this.cssHelper.propertyValue("chart-color-blue")]}],options:{cutoutPercentage:90,events:["click","mouseout","touchstart"],legend:{display:!0,position:"right",labels:{boxWidth:10,usePointStyle:!1}},plugins:{center_text:!0},tooltips:{enabled:!0,displayColors:!1,backgroundColor:this.cssHelper.propertyValue("chart-color-tooltip-background"),cornerRadius:0,bodyFontSize:14,bodyFontStyle:"600",position:"nearest",xPadding:12,yPadding:12,callbacks:{label:(_,v)=>{let O=v.labels[_.index];return O.includes("%")||(O=`${O} (${v.datasets[_.datasetIndex].data[_.index]}%)`),O}}},title:{display:!1}}}}ngOnInit(){new tt.h(this.chartCanvasRef,this.chartTooltipRef,(_,v)=>v+_.caretX+"px",(_,v)=>v+_.caretY-_.height-10+"px").getBody=_=>this.getChartTooltipBody(_),Xe().merge(this.chartConfig,this.config),this.prepareFn.emit([this.chartConfig,this.data])}ngOnChanges(){this.prepareFn.emit([this.chartConfig,this.data]),this.setChartSliceBorderWidth()}getChartTooltipBody(n){const o=n[0].split(": ");return this.showLabelAsTooltip?o[0]:(o[1]=this.isBytesData?this.dimlessBinary.transform(o[1]):this.dimless.transform(o[1]),o.join(": "))}setChartSliceBorderWidth(){let n=0;Xe().forEach(this.chartConfig.dataset[0].data,function(o){o>0&&(n+=1)}),this.chartConfig.dataset[0].borderWidth=n>1?1:0}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Wl.$),e.Y36(Pa.n),e.Y36(Ag.P))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-health-pie"]],viewQuery:function(n,o){if(1&n&&(e.Gf(_M,7),e.Gf(hM,7)),2&n){let l;e.iGM(l=e.CRH())&&(o.chartCanvasRef=l.first),e.iGM(l=e.CRH())&&(o.chartTooltipRef=l.first)}},inputs:{data:"data",config:"config",isBytesData:"isBytesData",tooltipFn:"tooltipFn",showLabelAsTooltip:"showLabelAsTooltip"},outputs:{prepareFn:"prepareFn"},features:[e.TTD],decls:5,vars:6,consts:[[1,"chart-container"],["baseChart","",1,"chart-canvas",3,"datasets","chartType","options","labels","colors","plugins"],["chartCanvas",""],[1,"chartjs-tooltip"],["chartTooltip",""]],template:function(n,o){1&n&&(e.TgZ(0,"div",0),e._UZ(1,"canvas",1,2)(3,"div",3,4),e.qZA()),2&n&&(e.xp6(1),e.Q6J("datasets",o.chartConfig.dataset)("chartType",o.chartConfig.chartType)("options",o.chartConfig.options)("labels",o.chartConfig.labels)("colors",o.chartConfig.colors)("plugins",o.doughnutChartPlugins))},dependencies:[tn.jh],styles:['.chart-container[_ngcontent-%COMP%]{cursor:pointer;margin:auto;overflow:visible;position:absolute}canvas[_ngcontent-%COMP%]{user-select:none}.chartjs-tooltip[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%);transition:all .1s ease}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]{transform:translate(-10%)}.chartjs-tooltip.transform-left[_ngcontent-%COMP%]:after{left:10%}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]{transform:translate(-90%)}.chartjs-tooltip.transform-right[_ngcontent-%COMP%]:after{left:90%}.chartjs-tooltip[_ngcontent-%COMP%]:after{border-color:#000 transparent transparent transparent;border-style:solid;border-width:5px;content:" ";left:50%;margin-left:-5px;position:absolute;top:100%} .chartjs-tooltip-key{display:inline-block;height:10px;margin-right:10px;width:10px}.chart-container[_ngcontent-%COMP%]{height:100%;margin-left:auto;margin-right:auto;position:unset;width:100%}.chart-canvas[_ngcontent-%COMP%]{height:100%;margin-left:auto;margin-right:auto;max-height:100%;max-width:100%;position:unset;width:100%}']}),t})();function gM(t,i){if(1&t&&(e.TgZ(0,"a",6),e._uU(1),e.qZA()),2&t){const n=e.oxw();e.Q6J("routerLink",n.link),e.xp6(1),e.Oqu(n.cardTitle)}}function vM(t,i){if(1&t&&e._uU(0),2&t){const n=e.oxw();e.hij(" ",n.cardTitle," ")}}const yM=["*"];let EM=(()=>{class t{constructor(){this.cardClass=""}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-info-card"]],inputs:{cardTitle:"cardTitle",link:"link",cardClass:"cardClass",contentClass:"contentClass"},ngContentSelectors:yM,decls:8,vars:4,consts:[[1,"card","shadow-sm",3,"ngClass"],[1,"card-body","d-flex","align-items-center","justify-content-center"],[1,"card-title","m-4"],[3,"routerLink",4,"ngIf","ngIfElse"],["noLinkTitle",""],[1,"card-text","text-center",3,"ngClass"],[3,"routerLink"]],template:function(n,o){if(1&n&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1)(2,"h4",2),e.YNc(3,gM,2,2,"a",3),e.YNc(4,vM,1,1,"ng-template",null,4,e.W1O),e.qZA(),e.TgZ(6,"div",5),e.Hsn(7),e.qZA()()()),2&n){const l=e.MAs(5);e.Q6J("ngClass",o.cardClass),e.xp6(3),e.Q6J("ngIf",o.link)("ngIfElse",l),e.xp6(3),e.Q6J("ngClass",o.contentClass)}},dependencies:[f.mk,f.O5,Ee.rH],styles:[".card[_ngcontent-%COMP%]{font-size:12px;border:.5px solid #dee2e6;border-radius:3px;height:100%}@media screen and (min-width: 320px){.card[_ngcontent-%COMP%]{font-size:calc(12px + 9 * ((100vw - 320px) / 1728))}}@media screen and (min-width: 2048px){.card[_ngcontent-%COMP%]{font-size:21px}}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%]{padding-top:40px!important}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{left:-.6rem;position:absolute;top:-.3rem}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#25828e}.no-center[_ngcontent-%COMP%]{left:unset;position:unset;top:unset;transform:unset}.content-highlight[_ngcontent-%COMP%]{font-weight:700}"]}),t})();const SM=["*"];let qy=(()=>{class t{constructor(){this.icons=Rr.P}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-info-group"]],inputs:{groupTitle:"groupTitle"},ngContentSelectors:SM,decls:12,vars:7,consts:function(){let i,n;return i="here",n="For an overview of " + "\ufffd0\ufffd" + " widgets click " + "\ufffd#8\ufffd" + "" + "\ufffd/#8\ufffd" + "",[[1,"row"],[1,"info-group-title"],["iconClass","fa fa-info-circle fa-2xs"],[1,"text-center"],n,["docText",i,3,"section"]]},template:function(n,o){1&n&&(e.F$t(),e.TgZ(0,"div",0)(1,"div",1)(2,"span"),e._uU(3),e.qZA(),e.TgZ(4,"cd-helper",2)(5,"div",3),e.tHW(6,4),e.ALo(7,"lowercase"),e._UZ(8,"cd-doc",5),e.ALo(9,"lowercase"),e.N_p(),e.qZA()()()(),e.TgZ(10,"div",0),e.Hsn(11),e.qZA()),2&n&&(e.xp6(3),e.Oqu(o.groupTitle),e.xp6(5),e.MGl("section","dashboard-landing-page-",e.lcZ(9,5,o.groupTitle),""),e.xp6(1),e.pQV(e.lcZ(7,3,o.groupTitle)),e.QtT(6))},dependencies:[La.S,Ff.K,f.i8],styles:[".info-group-title[_ngcontent-%COMP%]{font-size:1.75rem;margin:0 0 .5vw}.popover-icon[_ngcontent-%COMP%]{color:#25828e}.popover-icon[_ngcontent-%COMP%]:focus{box-shadow:none}"]}),t})();var Dg=(()=>{return(t=Dg||(Dg={})).HEALTH_ERR="error",t.HEALTH_WARN="warning",t.HEALTH_OK="ok",Dg;var t})();let eE=(()=>{class t{transform(n){return Object.keys(Dg).includes(n)?Dg[n]:null}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"healthLabel",type:t,pure:!0}),t})(),gb=(()=>{class t{transform(n){return n?"" + n.monmap.mons.length.toString() + " (quorum " + n.quorum.join(", ") + ")":""}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"monSummary",type:t,pure:!0}),t})(),tE=(()=>{class t{transform(n){if(!n)return"";let o=0,l=0,_=0,v=0;Xe().each(n.osds,K=>{K.in&&o++,K.up&&l++,K.state.includes("nearfull")&&_++,K.state.includes("full")&&v++});const O=[{content:`${n.osds.length} ${"total"}`,class:""}];O.push({content:"",class:"card-text-line-break"}),O.push({content:`${l} ${"up"}, ${o} ${"in"}`,class:""});const P=n.osds.length-l,G=n.osds.length-o;if(P>0||G>0){O.push({content:"",class:"card-text-line-break"});const K=P>0?`${P} ${"down"}`:"",ue=G>0?`${G} ${"out"}`:"";O.push({content:`${K}${P>0&&G>0?", ":""}${ue}`,class:"card-text-error"})}return _>0&&O.push({content:"",class:"card-text-line-break"},{content:`${_} ${"near full"}`,class:"card-text-error"},{content:"",class:"card-text-line-break"}),v>0&&O.push({content:`${v} ${"full"}`,class:"card-text-error"}),O}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"osdSummary",type:t,pure:!0}),t})(),vb=(()=>{class t{transform(n){if(!n)return"";let o="n/a";const l=Xe().isUndefined(n.active_name)?"":`${"active daemon"}: ${n.active_name}`;l.length>0&&(o="1");const _=n.standbys.map(G=>G.name).join(", "),v=_?`${"standby daemons"}: ${_}`:"",O=n.standbys.length,P=[{content:`${o} ${"active"}`,class:"popover-info",titleText:l}];return P.push({content:"",class:"card-text-line-break",titleText:""}),P.push({content:`${O} ${"standby"}`,class:"popover-info",titleText:v}),P}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"mgrSummary",type:t,pure:!0}),t})(),yb=(()=>{class t{transform(n){if(!n)return"";let o="",l="",_=0,v=0,O=0;Xe().each(n.standbys,()=>{_+=1}),n.standbys&&!n.filesystems?(o=`${_} ${"up"}`,l="no filesystems"):0===n.filesystems.length?o="no filesystems":(Xe().each(n.filesystems,Ue=>{Xe().each(Ue.mdsmap.info,xe=>{"up:standby-replay"===xe.state?O+=1:v+=1})}),o=`${v} ${"active"}`,l=`${_+O} ${"standby"}`);const P=n.standbys.map(Ue=>Ue.name).join(", "),G=P?`${"standby daemons"}: ${P}`:"",K=n.filesystems?n.filesystems.length:0,ue=Object.values(K>0?n.filesystems[0].mdsmap.info:{}).map(Ue=>Ue.name).join(", ");let pe=ue?`${"active daemon"}: ${ue}`:"";!v&&K>0&&(pe=`${O} ${"standbyReplay"}`);const ye=[{content:o,class:"popover-info",titleText:pe}];return l&&(ye.push({content:"",class:"card-text-line-break",titleText:""}),ye.push({content:l,class:"popover-info",titleText:G})),ye}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275pipe=e.Yjl({name:"mdsSummary",type:t,pure:!0}),t})();function bM(t,i){1&t&&e.GkF(0)}function nE(t,i){if(1&t&&(e.TgZ(0,"li")(1,"span",22),e.ALo(2,"healthColor"),e._uU(3),e.qZA(),e._uU(4),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.ekj("health-warn-description","HEALTH_WARN"===n.severity),e.Q6J("ngStyle",e.lcZ(2,5,n.severity)),e.xp6(2),e.hij(" ",n.type,""),e.xp6(1),e.hij(": ",n.summary.message," ")}}function rE(t,i){if(1&t&&(e.YNc(0,bM,1,0,"ng-container",20),e.TgZ(1,"ul"),e.YNc(2,nE,5,7,"li",21),e.qZA()),2&t){e.oxw(4);const n=e.MAs(5),o=e.oxw();e.Q6J("ngTemplateOutlet",n),e.xp6(2),e.Q6J("ngForOf",o.healthData.health.checks)}}function Eb(t,i){1&t&&e._UZ(0,"i",23)}function iE(t,i){if(1&t&&(e.ynx(0),e.YNc(1,rE,3,2,"ng-template",null,17,e.W1O),e.TgZ(3,"div",18),e.ALo(4,"healthColor"),e._uU(5),e.ALo(6,"uppercase"),e.ALo(7,"healthLabel"),e.YNc(8,Eb,1,0,"i",19),e.qZA(),e.BQk()),2&t){const n=e.MAs(2),o=e.oxw(4);e.xp6(3),e.Q6J("ngStyle",e.lcZ(4,4,o.healthData.health.status))("ngbPopover",n),e.xp6(2),e.hij(" ",e.lcZ(6,6,e.lcZ(7,8,o.healthData.health.status))," "),e.xp6(3),e.Q6J("ngIf","HEALTH_OK"!==(null==o.healthData.health?null:o.healthData.health.status))}}function TM(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",22),e.ALo(2,"healthColor"),e._uU(3),e.ALo(4,"uppercase"),e.ALo(5,"healthLabel"),e.qZA(),e.BQk()),2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngStyle",e.lcZ(2,2,n.healthData.health.status)),e.xp6(2),e.hij(" ",e.lcZ(4,4,e.lcZ(5,6,n.healthData.health.status))," ")}}function CM(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",15),e.YNc(1,iE,9,10,"ng-container",16),e.YNc(2,TM,6,8,"ng-container",16),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngIf",(null==n.healthData.health||null==n.healthData.health.checks?null:n.healthData.health.checks.length)>0),e.xp6(1),e.Q6J("ngIf",!(null!=n.healthData.health&&null!=n.healthData.health.checks&&n.healthData.health.checks.length))}}function oE(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",24),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",n.healthData.hosts," total ")}}function MM(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",25),e._uU(1),e.ALo(2,"monSummary"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,n.healthData.mon_status)," ")}}function Sb(t,i){if(1&t&&(e.TgZ(0,"span",28),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("ngClass",n.class),e.xp6(1),e.hij(" ",n.content," ")}}function l1(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",26),e.YNc(1,Sb,2,2,"span",27),e.qZA()),2&t){const n=i.ngIf;e.xp6(1),e.Q6J("ngForOf",n)}}function bb(t,i){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("ngClass",n.class)("title",null!=n.titleText?n.titleText:""),e.xp6(1),e.hij(" ",n.content," ")}}function OM(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",29),e.YNc(1,bb,2,3,"span",30),e.ALo(2,"mgrSummary"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("ngForOf",e.lcZ(2,1,n.healthData.mgr_map))}}function AR(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",32),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",n.healthData.rgw," total ")}}function Tb(t,i){if(1&t&&(e.TgZ(0,"span",31),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("ngClass",n.class)("title",null!==n.titleText?n.titleText:""),e.xp6(1),e.hij(" ",n.content," ")}}function sE(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",33),e.YNc(1,Tb,2,3,"span",30),e.qZA()),2&t){const n=i.ngIf;e.Q6J("contentClass",(n.length>1?"text-area-size-2":"")+" content-highlight"),e.xp6(1),e.Q6J("ngForOf",n)}}const AM=function(t){return{"card-text-error":t}};function aE(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",34),e._uU(1),e._UZ(2,"span",35),e._uU(3),e.TgZ(4,"span",28),e._uU(5),e.qZA()()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",n.healthData.iscsi_daemons.up+n.healthData.iscsi_daemons.down," total "),e.xp6(2),e.hij(" ",n.healthData.iscsi_daemons.up," up, "),e.xp6(1),e.Q6J("ngClass",e.VKq(4,AM,n.healthData.iscsi_daemons.down>0)),e.xp6(1),e.hij("",n.healthData.iscsi_daemons.down," down")}}function DM(t,i){if(1&t&&(e.TgZ(0,"cd-info-group",6),e.YNc(1,CM,3,2,"cd-info-card",7),e.YNc(2,oE,2,1,"cd-info-card",8),e.YNc(3,MM,3,3,"cd-info-card",9),e.YNc(4,l1,2,1,"cd-info-card",10),e.ALo(5,"osdSummary"),e.YNc(6,OM,3,3,"cd-info-card",11),e.YNc(7,AR,2,1,"cd-info-card",12),e.YNc(8,sE,2,2,"cd-info-card",13),e.ALo(9,"mdsSummary"),e.YNc(10,aE,6,6,"cd-info-card",14),e.qZA()),2&t){const n=e.oxw().ngIf,o=e.oxw();e.xp6(1),e.Q6J("ngIf",null==o.healthData.health?null:o.healthData.health.status),e.xp6(1),e.Q6J("ngIf",null!=o.healthData.hosts),e.xp6(1),e.Q6J("ngIf",o.healthData.mon_status),e.xp6(1),e.Q6J("ngIf",e.lcZ(5,8,o.healthData.osd_map)),e.xp6(2),e.Q6J("ngIf",o.healthData.mgr_map),e.xp6(1),e.Q6J("ngIf",n.rgw&&null!=(null==o.healthData?null:o.healthData.rgw)),e.xp6(1),e.Q6J("ngIf",e.lcZ(9,10,n.cephfs&&o.healthData.fs_map)),e.xp6(2),e.Q6J("ngIf",n.iscsi&&null!=(null==o.healthData?null:o.healthData.iscsi_daemons))}}function Cb(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-info-card",42)(1,"cd-health-pie",43),e.NdJ("prepareFn",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.prepareRawUsage(l[0],l[1]))}),e.qZA()()}if(2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("data",n.healthData)("config",n.rawCapacityChartConfig)("isBytesData",!0)}}function lE(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-info-card",44)(1,"cd-health-pie",45),e.NdJ("prepareFn",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.prepareObjects(l[0],l[1]))}),e.qZA()()}if(2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("data",n.healthData)}}function Mb(t,i){1&t&&e.GkF(0)}function Ob(t,i){if(1&t&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.AsE(" ",n.key,": ",n.value," ")}}function Ab(t,i){if(1&t&&(e.YNc(0,Mb,1,0,"ng-container",20),e.TgZ(1,"ul"),e.YNc(2,Ob,2,2,"li",21),e.ALo(3,"keyvalue"),e.qZA()),2&t){e.oxw(3);const n=e.MAs(5),o=e.oxw();e.Q6J("ngTemplateOutlet",n),e.xp6(2),e.Q6J("ngForOf",e.lcZ(3,2,o.healthData.pg_info.statuses))}}function Db(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-info-card",46),e.YNc(1,Ab,4,4,"ng-template",null,47,e.W1O),e.TgZ(3,"div",48)(4,"div",49)(5,"cd-health-pie",50),e.NdJ("prepareFn",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.preparePgStatus(l[0],l[1]))}),e.qZA()()()()}if(2&t){const n=e.MAs(2),o=e.oxw(3);e.xp6(4),e.Q6J("ngbPopover",n),e.xp6(1),e.Q6J("data",o.healthData)("config",o.pgStatusChartConfig)}}function RM(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",51),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",n.healthData.pools.length," ")}}function xM(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",52),e._uU(1),e.ALo(2,"dimless"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,n.healthData.pg_info.pgs_per_osd)," ")}}function wM(t,i){if(1&t&&(e.TgZ(0,"cd-info-group",36),e.YNc(1,Cb,2,3,"cd-info-card",37),e.YNc(2,lE,2,1,"cd-info-card",38),e.YNc(3,Db,6,3,"cd-info-card",39),e.YNc(4,RM,2,1,"cd-info-card",40),e.YNc(5,xM,3,3,"cd-info-card",41),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.healthData.df),e.xp6(1),e.Q6J("ngIf",null!=(null==n.healthData.pg_info||null==n.healthData.pg_info.object_stats?null:n.healthData.pg_info.object_stats.num_objects)),e.xp6(1),e.Q6J("ngIf",n.healthData.pg_info),e.xp6(1),e.Q6J("ngIf",n.healthData.pools),e.xp6(1),e.Q6J("ngIf",n.healthData.pg_info)}}function PM(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-info-card",58)(1,"cd-health-pie",50),e.NdJ("prepareFn",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.prepareReadWriteRatio(l[0],l[1]))}),e.qZA()()}if(2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("data",n.healthData)("config",n.clientStatsConfig)}}function Rb(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-info-card",59)(1,"cd-health-pie",50),e.NdJ("prepareFn",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.prepareClientThroughput(l[0],l[1]))}),e.qZA()()}if(2&t){const n=e.oxw(3);e.xp6(1),e.Q6J("data",n.healthData)("config",n.clientStatsConfig)}}function DR(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",60),e._uU(1),e.ALo(2,"dimlessBinary"),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",e.lcZ(2,1,n.healthData.client_perf.recovering_bytes_per_sec)+"/s"," ")}}function xb(t,i){if(1&t&&(e.TgZ(0,"cd-info-card",61),e._uU(1),e.qZA()),2&t){const n=e.oxw(3);e.xp6(1),e.hij(" ",n.healthData.scrub_status," ")}}function NM(t,i){if(1&t&&(e.TgZ(0,"cd-info-group",53),e.YNc(1,PM,2,2,"cd-info-card",54),e.YNc(2,Rb,2,2,"cd-info-card",55),e.YNc(3,DR,3,3,"cd-info-card",56),e.YNc(4,xb,2,1,"cd-info-card",57),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",n.healthData.client_perf),e.xp6(1),e.Q6J("ngIf",n.healthData.client_perf),e.xp6(1),e.Q6J("ngIf",n.healthData.client_perf),e.xp6(1),e.Q6J("ngIf",n.healthData.scrub_status)}}const IM=function(t){return[t]};function RR(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"p",62),e.tHW(2,63),e._UZ(3,"i",28)(4,"a",64),e.N_p(),e.qZA(),e.BQk()),2&t){const n=e.oxw(3);e.xp6(3),e.Q6J("ngClass",e.VKq(1,IM,n.icons.infoCircle))}}function FM(t,i){if(1&t&&e.YNc(0,RR,5,3,"ng-container",16),2&t){const n=e.oxw(2);e.Q6J("ngIf",n.permissions.log.read)}}function LM(t,i){if(1&t&&(e.TgZ(0,"div",1),e.YNc(1,DM,11,12,"cd-info-group",2),e.YNc(2,wM,6,5,"cd-info-group",3),e.YNc(3,NM,5,4,"cd-info-group",4),e.YNc(4,FM,1,1,"ng-template",null,5,e.W1O),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",(null==n.healthData.health?null:n.healthData.health.status)||n.healthData.mon_status||n.healthData.osd_map||n.healthData.mgr_map||null!=n.healthData.hosts||null!=n.healthData.rgw||n.healthData.fs_map||null!=n.healthData.iscsi_daemons),e.xp6(1),e.Q6J("ngIf",n.healthData.pools||n.healthData.df||n.healthData.pg_info),e.xp6(1),e.Q6J("ngIf",n.healthData.client_perf||n.healthData.scrub_status)}}let wb=(()=>{class t{constructor(n,o,l,_,v,O,P,G,K){this.healthService=n,this.osdService=o,this.authStorageService=l,this.pgCategoryService=_,this.featureToggles=v,this.refreshIntervalService=O,this.dimlessBinary=P,this.dimless=G,this.cssHelper=K,this.osdSettings=new qv,this.interval=new bd.w,this.icons=Rr.P,this.clientStatsConfig={},this.rawCapacityChartConfig={},this.pgStatusChartConfig={options:{events:[""]}},this.permissions=this.authStorageService.getPermissions(),this.enabledFeature$=this.featureToggles.get()}ngOnInit(){this.clientStatsConfig={colors:[{backgroundColor:[this.cssHelper.propertyValue("chart-color-cyan"),this.cssHelper.propertyValue("chart-color-purple")]}]},this.rawCapacityChartConfig={colors:[{backgroundColor:[this.cssHelper.propertyValue("chart-color-blue"),this.cssHelper.propertyValue("chart-color-gray")]}]},this.interval=this.refreshIntervalService.intervalData$.subscribe(()=>{this.getHealth()}),this.osdService.getOsdSettings().pipe((0,Zf.q)(1)).subscribe(n=>{this.osdSettings=n})}ngOnDestroy(){this.interval.unsubscribe()}getHealth(){this.healthService.getMinimalHealth().subscribe(n=>{this.healthData=n})}prepareReadWriteRatio(n){const o=[],l=[],_=this.healthData.client_perf.write_op_per_sec+this.healthData.client_perf.read_op_per_sec;o.push(`${"Reads"}: ${this.dimless.transform(this.healthData.client_perf.read_op_per_sec)} ${"/s"}`),l.push(this.calcPercentage(this.healthData.client_perf.read_op_per_sec,_)),o.push(`${"Writes"}: ${this.dimless.transform(this.healthData.client_perf.write_op_per_sec)} ${"/s"}`),l.push(this.calcPercentage(this.healthData.client_perf.write_op_per_sec,_)),n.labels=o,n.dataset[0].data=l,n.dataset[0].label=`${this.dimless.transform(_)}\n${"IOPS"}`}prepareClientThroughput(n){const o=[],l=[],_=this.healthData.client_perf.read_bytes_sec+this.healthData.client_perf.write_bytes_sec;o.push(`${"Reads"}: ${this.dimlessBinary.transform(this.healthData.client_perf.read_bytes_sec)}${"/s"}`),l.push(this.calcPercentage(this.healthData.client_perf.read_bytes_sec,_)),o.push(`${"Writes"}: ${this.dimlessBinary.transform(this.healthData.client_perf.write_bytes_sec)}${"/s"}`),l.push(this.calcPercentage(this.healthData.client_perf.write_bytes_sec,_)),n.labels=o,n.dataset[0].data=l,n.dataset[0].label=`${this.dimlessBinary.transform(_).replace(" ","\n")}${"/s"}`}prepareRawUsage(n,o){const l=this.calcPercentage(o.df.stats.total_bytes-o.df.stats.total_used_raw_bytes,o.df.stats.total_bytes),_=this.calcPercentage(o.df.stats.total_used_raw_bytes,o.df.stats.total_bytes);this.color=_/100>=this.osdSettings.nearfull_ratio?"chart-color-red":_/100>=this.osdSettings.full_ratio?"chart-color-yellow":"chart-color-blue",this.rawCapacityChartConfig.colors[0].backgroundColor[0]=this.cssHelper.propertyValue(this.color),n.dataset[0].data=[_,l],n.labels=[`${"Used"}: ${this.dimlessBinary.transform(o.df.stats.total_used_raw_bytes)}`,`${"Avail."}: ${this.dimlessBinary.transform(o.df.stats.total_bytes-o.df.stats.total_used_raw_bytes)}`],n.dataset[0].label=`${_}%\nof ${this.dimlessBinary.transform(o.df.stats.total_bytes)}`}preparePgStatus(n,o){const l={};let _=0;Xe().forEach(o.pg_info.statuses,(v,O)=>{const P=this.pgCategoryService.getTypeByStates(O);Xe().isUndefined(l[P])&&(l[P]=0),l[P]+=v,_+=v});for(const v of this.pgCategoryService.getAllTypes())Xe().isUndefined(l[v])&&(l[v]=0);n.dataset[0].data=this.pgCategoryService.getAllTypes().map(v=>this.calcPercentage(l[v],_)),n.labels=[`${"Clean"}: ${this.dimless.transform(l.clean)}`,`${"Working"}: ${this.dimless.transform(l.working)}`,`${"Warning"}: ${this.dimless.transform(l.warning)}`,`${"Unknown"}: ${this.dimless.transform(l.unknown)}`],n.dataset[0].label=`${_}\n${"PGs"}`}prepareObjects(n,o){const l=o.pg_info.object_stats.num_object_copies,v=this.calcPercentage(l-o.pg_info.object_stats.num_objects_misplaced-o.pg_info.object_stats.num_objects_degraded-o.pg_info.object_stats.num_objects_unfound,l),O=this.calcPercentage(o.pg_info.object_stats.num_objects_misplaced,l),P=this.calcPercentage(o.pg_info.object_stats.num_objects_degraded,l),G=this.calcPercentage(o.pg_info.object_stats.num_objects_unfound,l);n.labels=[`${"Healthy"}: ${v}%`,`${"Misplaced"}: ${O}%`,`${"Degraded"}: ${P}%`,`${"Unfound"}: ${G}%`],n.dataset[0].data=[v,O,P,G],n.dataset[0].label=`${this.dimless.transform(o.pg_info.object_stats.num_objects)}\n${"objects"}`}isClientReadWriteChartShowable(){return(this.healthData.client_perf.read_op_per_sec||0)+(this.healthData.client_perf.write_op_per_sec||0)>0}calcPercentage(n,o){return Xe().isNumber(n)&&Xe().isNumber(o)&&0!==o?Math.ceil(n/o*100*100)/100:0}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(f0.z),e.Y36(Zc),e.Y36(Do.j),e.Y36(Q2.j),e.Y36(Rm.l),e.Y36(X1.s),e.Y36(Wl.$),e.Y36(Pa.n),e.Y36(Ag.P))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-health"]],decls:2,vars:3,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue,pe,ye,Ue,xe,ke,we,Z,Ft,Dt;return i="Status",n="Capacity",o="Performance",l="Cluster Status",_="Hosts",v="Monitors",O="OSDs",P="Managers",G="Object Gateways",K="Metadata Servers",oe="iSCSI Gateways",ue="Raw Capacity",pe="Objects",ye="PG Status",Ue="Pools",xe="PGs per OSD",ke="Client Read/Write",we="Client Throughput",Z="Recovery Throughput",Ft="Scrubbing",Dt="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " See " + "\ufffd#4\ufffd" + "Logs" + "\ufffd/#4\ufffd" + " for more details.",[["class","container-fluid",4,"ngIf"],[1,"container-fluid"],["groupTitle",i,4,"ngIf"],["groupTitle",n,4,"ngIf"],["groupTitle",o,4,"ngIf"],["logsLink",""],["groupTitle",i],["cardTitle",l,"class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",_,"link","/hosts","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",v,"link","/monitor","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",O,"link","/osd","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",P,"class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",G,"link","/rgw/daemon","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",K,"class","cd-status-card",3,"contentClass",4,"ngIf"],["cardTitle",oe,"link","/block/iscsi","class","cd-status-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",l,"contentClass","content-highlight",1,"cd-status-card"],[4,"ngIf"],["healthChecks",""],["popoverClass","info-card-popover-cluster-status",1,"info-card-content-clickable",3,"ngStyle","ngbPopover"],["class","fa fa-exclamation-triangle",4,"ngIf"],[4,"ngTemplateOutlet"],[4,"ngFor","ngForOf"],[3,"ngStyle"],[1,"fa","fa-exclamation-triangle"],["cardTitle",_,"link","/hosts","contentClass","content-highlight",1,"cd-status-card"],["cardTitle",v,"link","/monitor","contentClass","content-highlight",1,"cd-status-card"],["cardTitle",O,"link","/osd","contentClass","content-highlight",1,"cd-status-card"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["cardTitle",P,"contentClass","content-highlight",1,"cd-status-card"],[3,"ngClass","title",4,"ngFor","ngForOf"],[3,"ngClass","title"],["cardTitle",G,"link","/rgw/daemon","contentClass","content-highlight",1,"cd-status-card"],["cardTitle",K,1,"cd-status-card",3,"contentClass"],["cardTitle",oe,"link","/block/iscsi","contentClass","content-highlight",1,"cd-status-card"],[1,"card-text-line-break"],["groupTitle",n],["cardTitle",ue,"class","cd-capacity-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",pe,"class","cd-capacity-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",ye,"class","cd-capacity-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",Ue,"link","/pool","class","cd-capacity-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",xe,"class","cd-capacity-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",ue,"contentClass","content-chart",1,"cd-capacity-card","cd-chart-card"],[3,"data","config","isBytesData","prepareFn"],["cardTitle",pe,"contentClass","content-chart",1,"cd-capacity-card","cd-chart-card"],[3,"data","prepareFn"],["cardTitle",ye,"contentClass","content-chart",1,"cd-capacity-card","cd-chart-card"],["pgStatus",""],[1,"pg-status-popover-wrapper"],[3,"ngbPopover"],[3,"data","config","prepareFn"],["cardTitle",Ue,"link","/pool","contentClass","content-highlight",1,"cd-capacity-card"],["cardTitle",xe,"contentClass","content-highlight",1,"cd-capacity-card"],["groupTitle",o],["cardTitle",ke,"class","cd-performance-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",we,"class","cd-performance-card cd-chart-card","contentClass","content-chart",4,"ngIf"],["cardTitle",Z,"class","cd-performance-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",Ft,"class","cd-performance-card","contentClass","content-highlight",4,"ngIf"],["cardTitle",ke,"contentClass","content-chart",1,"cd-performance-card","cd-chart-card"],["cardTitle",we,"contentClass","content-chart",1,"cd-performance-card","cd-chart-card"],["cardTitle",Z,"contentClass","content-highlight",1,"cd-performance-card"],["cardTitle",Ft,"contentClass","content-highlight",1,"cd-performance-card"],[1,"logs-link"],Dt,["routerLink","/logs"]]},template:function(n,o){1&n&&(e.YNc(0,LM,6,3,"div",0),e.ALo(1,"async")),2&n&&e.Q6J("ngIf",e.lcZ(1,1,o.healthData&&o.enabledFeature$))},dependencies:[f.mk,f.sg,f.O5,f.tP,f.PC,Ee.rH,yi.o8,mM,EM,qy,f.Ov,f.gd,f.Nd,Wl.$,p0,eE,Pa.n,gb,tE,vb,yb],styles:['cd-info-card[_ngcontent-%COMP%]{padding:0 .5vw} cd-health .pg-status-popover-wrapper{position:relative} cd-health .pg-status-popover-wrapper .popover{max-height:20vh;max-width:unset!important;min-width:unset!important;position:absolute;width:116%} cd-health .pg-status-popover-wrapper .popover .popover-body{font-size:1rem;max-height:19vh;max-width:100%}.logs-link[_ngcontent-%COMP%]{text-align:center}.logs-link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#25828e}.card-text-error[_ngcontent-%COMP%]{color:#c9190b;display:inline}.card-text-line-break[_ngcontent-%COMP%]:after{content:"\\a";white-space:pre}.popover-info[_ngcontent-%COMP%]:hover{cursor:pointer}']}),t})();function Pb(t,i){1&t&&(e.ynx(0,4),e._UZ(1,"cd-refresh-selector")(2,"cd-health",5),e.BQk())}function Nb(t,i){1&t&&e._UZ(0,"cd-dashboard-v3")}let Ib=(()=>{class t{constructor(n){this.featureToggles=n,this.enabledFeature$=this.featureToggles.get()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Rm.l))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-dashboard"]],decls:7,vars:4,consts:[["aria-label","Dashboard"],["href","#main",1,"sr-only"],["class","main-padding",4,"ngIf","ngIfElse"],["dashboardV3",""],[1,"main-padding"],["id","main"]],template:function(n,o){if(1&n&&(e.TgZ(0,"main",0)(1,"a",1),e._uU(2,"skip to content"),e.qZA(),e.YNc(3,Pb,3,0,"ng-container",2),e.ALo(4,"async"),e.YNc(5,Nb,1,0,"ng-template",null,3,e.W1O),e.qZA()),2&n){const l=e.MAs(6);let _;e.xp6(3),e.Q6J("ngIf",!1===(null==(_=e.lcZ(4,2,o.enabledFeature$))?null:_.dashboard))("ngIfElse",l)}},dependencies:[f.O5,Z2,mb,wb,f.Ov],styles:["main[_ngcontent-%COMP%]:has(cd-health){padding-top:20px}"]}),t})();var Fb=s(95152),Lb=s(33394),kb=s(40205);let uE=(()=>{class t extends h_.S{constructor(n){super(),this.http=n,this.apiPath="api/nfs-ganesha",this.uiApiPath="ui-api/nfs-ganesha",this.nfsAccessType=[{value:"RW",help:"Allows all operations"},{value:"RO",help:"Allows only operations that do not modify the server"},{value:"NONE",help:"Allows no access at all"}],this.nfsFsal=[{value:"CEPH",descr:"CephFS",disabled:!1},{value:"RGW",descr:"Object Gateway",disabled:!1}],this.nfsSquash={no_root_squash:["no_root_squash","noidsquash","none"],root_id_squash:["root_id_squash","rootidsquash","rootid"],root_squash:["root_squash","rootsquash","root"],all_squash:["all_squash","allsquash","all","allanonymous","all_anonymous"]}}list(){return this.http.get(`${this.apiPath}/export`)}get(n,o){return this.http.get(`${this.apiPath}/export/${n}/${o}`)}create(n){return this.http.post(`${this.apiPath}/export`,n,{headers:{Accept:this.getVersionHeaderValue(2,0)},observe:"response"})}update(n,o,l){return this.http.put(`${this.apiPath}/export/${n}/${o}`,l,{headers:{Accept:this.getVersionHeaderValue(2,0)},observe:"response"})}delete(n,o){return this.http.delete(`${this.apiPath}/export/${n}/${o}`,{headers:{Accept:this.getVersionHeaderValue(2,0)},observe:"response"})}listClusters(){return this.http.get(`${this.apiPath}/cluster`,{headers:{Accept:this.getVersionHeaderValue(0,1)}})}lsDir(n,o){return n?this.http.get(`${this.uiApiPath}/lsdir/${n}?root_dir=${o}`):(0,kb._)("Please specify a filesystem volume.")}fsals(){return this.http.get(`${this.uiApiPath}/fsals`)}filesystems(){return this.http.get(`${this.uiApiPath}/cephfs/filesystems`)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var kM=s(36569);const $M=["squashHelper"];function rv(t,i){1&t&&(e.TgZ(0,"span",14)(1,"span",15),e.SDv(2,16),e.qZA()())}function $b(t,i){1&t&&(e.TgZ(0,"span"),e.SDv(1,37),e.qZA())}function Hb(t,i){1&t&&(e.TgZ(0,"span"),e.ynx(1),e.SDv(2,38),e.BQk(),e._UZ(3,"br"),e.ynx(4),e.SDv(5,39),e.BQk(),e._uU(6," 192.168.0.10, 192.168.1.0/8 "),e.qZA())}function Ub(t,i){if(1&t&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.value),e.xp6(1),e.Oqu(n.value)}}function Bb(t,i){if(1&t&&(e.TgZ(0,"span",15),e._uU(1),e.qZA()),2&t){const n=e.oxw().index,o=e.oxw();e.xp6(1),e.hij(" ",o.getAccessTypeHelp(n)," ")}}function Gb(t,i){1&t&&e.GkF(0)}function Yb(t,i){if(1&t&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(n)}}function HM(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div")(1,"div",17)(2,"div",18),e._uU(3),e.ALo(4,"ordinal"),e.TgZ(5,"span",19),e.NdJ("click",function(){const _=e.CHM(n).index,v=e.oxw();return e.KtG(v.removeClient(_))}),e._uU(6,"\xd7"),e.qZA()(),e.TgZ(7,"div",20)(8,"div",0)(9,"label",21),e.SDv(10,22),e.qZA(),e.TgZ(11,"div",23),e._UZ(12,"input",24),e.TgZ(13,"span",25),e.YNc(14,$b,2,0,"span",26),e.YNc(15,Hb,7,0,"span",26),e.qZA()()(),e.TgZ(16,"div",0)(17,"label",27),e.SDv(18,28),e.qZA(),e.TgZ(19,"div",23)(20,"select",29)(21,"option",30),e._uU(22),e.qZA(),e.YNc(23,Ub,2,2,"option",31),e.qZA(),e.YNc(24,Bb,2,1,"span",32),e.qZA()(),e.TgZ(25,"div",0)(26,"label",33)(27,"span"),e.SDv(28,34),e.qZA(),e.YNc(29,Gb,1,0,"ng-container",35),e.qZA(),e.TgZ(30,"div",23)(31,"select",36)(32,"option",30),e._uU(33),e.qZA(),e.YNc(34,Yb,2,2,"option",31),e.qZA()()()()()()}if(2&t){const n=i.$implicit,o=i.index,l=e.oxw(),_=e.MAs(4);e.xp6(1),e.Q6J("formGroup",n),e.xp6(2),e.hij(" ",e.lcZ(4,10,o+1)," "),e.xp6(11),e.Q6J("ngIf",l.showError(o,"addresses",_,"required")),e.xp6(1),e.Q6J("ngIf",l.showError(o,"addresses",_,"pattern")),e.xp6(7),e.Oqu(l.getNoAccessTypeDescr()),e.xp6(1),e.Q6J("ngForOf",l.nfsAccessType),e.xp6(1),e.Q6J("ngIf",l.getValue(o,"access_type")),e.xp6(5),e.Q6J("ngTemplateOutlet",l.squashHelperTpl),e.xp6(4),e.Oqu(l.getNoSquashDescr()),e.xp6(1),e.Q6J("ngForOf",l.nfsSquash)}}const xR=function(t){return[t]};let jb=(()=>{class t{constructor(n){this.nfsService=n,this.nfsSquash=[],this.nfsAccessType=[],this.icons=Rr.P}ngOnInit(){this.nfsSquash=Object.keys(this.nfsService.nfsSquash),this.nfsAccessType=this.nfsService.nfsAccessType,Xe().forEach(this.clients,n=>{this.addClient().patchValue(n)}),this.clientsFormArray=this.form.get("clients")}getNoAccessTypeDescr(){return this.form.getValue("access_type")?`${this.form.getValue("access_type")} ${"(inherited from global config)"}`:"-- Select the access type --"}getAccessTypeHelp(n){const o=this.nfsAccessType.find(l=>this.getValue(n,"access_type")===l.value);return Xe().isObjectLike(o)?o.help:""}getNoSquashDescr(){return this.form.getValue("squash")?`${this.form.getValue("squash")} (${"inherited from global config"})`:"-- Select what kind of user id squashing is performed --"}addClient(){this.clientsFormArray=this.form.get("clients");const n="(([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3}).([0-9]{1,3})([/](\\d|[1-2]\\d|3[0-2]))?)",l=new fu.d({addresses:new rn.p4("",{validators:[rn.kI.required,rn.kI.pattern(`${n}([ ,]{1,2}${n})*`)]}),access_type:new rn.p4(""),squash:new rn.p4("")});return this.clientsFormArray.push(l),l}removeClient(n){this.clientsFormArray=this.form.get("clients"),this.clientsFormArray.removeAt(n)}showError(n,o,l,_){return this.form.controls.clients.controls[n].showError(o,l,_)}getValue(n,o){return this.clientsFormArray=this.form.get("clients"),this.clientsFormArray.at(n).getValue(o)}trackByFn(n){return n}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(uE))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-nfs-form-client"]],contentQueries:function(n,o,l){if(1&n&&e.Suo(l,$M,7),2&n){let _;e.iGM(_=e.CRH())&&(o.squashHelperTpl=_.first)}},inputs:{form:"form",clients:"clients"},decls:15,vars:7,consts:function(){let i,n,o,l,_,v,O,P,G;return i="Clients",n="Add clients",o="Any client can access",l="Addresses",_="Access Type",v="Squash",O="This field is required.",P="Must contain one or more comma-separated values",G="For example:",[[1,"form-group","row"],[1,"cd-col-form-label"],i,[1,"cd-col-form-input",3,"formGroup"],["formDir","ngForm"],["class","no-border text-muted",4,"ngIf"],["formArrayName","clients"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"row","my-2"],[1,"col-12"],[1,"float-end"],["name","add_client",1,"btn","btn-light",3,"click"],[3,"ngClass"],n,[1,"no-border","text-muted"],[1,"form-text","text-muted"],o,[1,"card",3,"formGroup"],[1,"card-header"],["name","remove_client","ngbTooltip","Remove",1,"float-end","clickable",3,"click"],[1,"card-body"],["for","addresses",1,"cd-col-form-label","required"],l,[1,"cd-col-form-input"],["type","text","name","addresses","id","addresses","formControlName","addresses","placeholder","192.168.0.10, 192.168.1.0/8",1,"form-control"],[1,"invalid-feedback"],[4,"ngIf"],["for","access_type",1,"cd-col-form-label"],_,["name","access_type","id","access_type","formControlName","access_type",1,"form-select"],["value",""],[3,"value",4,"ngFor","ngForOf"],["class","form-text text-muted",4,"ngIf"],["for","squash",1,"cd-col-form-label"],v,[4,"ngTemplateOutlet"],["name","squash","id","squash","formControlName","squash",1,"form-select"],O,P,G,[3,"value"]]},template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"label",1),e.SDv(2,2),e.qZA(),e.TgZ(3,"div",3,4),e.YNc(5,rv,3,0,"span",5),e.ynx(6,6),e.YNc(7,HM,35,12,"div",7),e.BQk(),e.TgZ(8,"div",8)(9,"div",9)(10,"div",10)(11,"button",11),e.NdJ("click",function(){return o.addClient()}),e._UZ(12,"i",12),e.ynx(13),e.SDv(14,13),e.BQk(),e.qZA()()()()()()),2&n&&(e.xp6(3),e.Q6J("formGroup",o.form),e.xp6(2),e.Q6J("ngIf",0===o.form.get("clients").value.length),e.xp6(2),e.Q6J("ngForOf",o.clientsFormArray.controls)("ngForTrackBy",o.trackByFn),e.xp6(5),e.Q6J("ngClass",e.VKq(5,xR,o.icons.add)))},dependencies:[rn.YN,rn.Kr,rn.Fj,rn.EJ,rn.JJ,rn.JL,rn.sg,rn.u,rn.CE,st.o,za.b,Va.P,Os.V,f.mk,f.sg,f.O5,f.tP,yi._L,kM.f]}),t})();const zb=["nfsClients"];function Vb(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,53),e.qZA())}function UM(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,54),e.qZA())}function BM(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,55),e.qZA())}function iv(t,i){if(1&t&&(e.TgZ(0,"option",56),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.cluster_id),e.xp6(1),e.Oqu(n.cluster_id)}}const GM=function(){return["create"]},cE=function(t){return{modal:t}},_m=function(t){return{outlets:t}},YM=function(t){return["/services",t]};function dE(t,i){1&t&&(e.TgZ(0,"span",57),e.tHW(1,58),e._UZ(2,"a",59),e.N_p(),e.qZA()),2&t&&(e.xp6(2),e.Q6J("routerLink",e.VKq(6,YM,e.VKq(4,_m,e.VKq(2,cE,e.DdM(1,GM))))))}function ov(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,60),e.qZA())}function jM(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,61),e.qZA())}function zM(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,62),e.qZA())}function VM(t,i){if(1&t&&(e.TgZ(0,"option",63),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.value)("disabled",n.disabled),e.xp6(1),e.Oqu(n.descr)}}function h0(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,64),e.qZA())}function m0(t,i){if(1&t&&(e.TgZ(0,"span",57),e.SDv(1,65),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.pQV(n.fsalAvailabilityError),e.QtT(1)}}function ZM(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,69),e.qZA())}function WM(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,70),e.qZA())}function Zb(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,71),e.qZA())}function Wb(t,i){if(1&t&&(e.TgZ(0,"option",56),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.name),e.xp6(1),e.Oqu(n.name)}}function fE(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,72),e.qZA())}function Jb(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",8)(1,"label",66),e.SDv(2,67),e.qZA(),e.TgZ(3,"div",13)(4,"select",68),e.NdJ("change",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.pathChangeHandler())}),e.YNc(5,ZM,2,0,"option",15),e.YNc(6,WM,2,0,"option",15),e.YNc(7,Zb,2,0,"option",15),e.YNc(8,Wb,2,2,"option",16),e.qZA(),e.YNc(9,fE,2,0,"span",17),e.qZA()()}if(2&t){e.oxw();const n=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngIf",null===o.allFsNames),e.xp6(1),e.Q6J("ngIf",null!==o.allFsNames&&0===o.allFsNames.length),e.xp6(1),e.Q6J("ngIf",null!==o.allFsNames&&o.allFsNames.length>0),e.xp6(1),e.Q6J("ngForOf",o.allFsNames),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("fs_name",n,"required"))}}function pE(t,i){1&t&&e._UZ(0,"input",79)}function _E(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,80),e.qZA())}const Qb=function(t){return{required:t}};function hE(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",73),e.SDv(2,74),e.qZA(),e.TgZ(3,"div",13)(4,"div",26),e._UZ(5,"input",75),e.TgZ(6,"label",76),e.SDv(7,77),e.qZA()(),e._UZ(8,"br"),e.YNc(9,pE,1,0,"input",78),e.YNc(10,_E,2,0,"span",17),e.qZA()()),2&t){e.oxw();const n=e.MAs(2),o=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(3,Qb,o.nfsForm.getValue("security_label"))),e.xp6(8),e.Q6J("ngIf",o.nfsForm.getValue("security_label")),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("sec_label_xattr",n,"required"))}}function mE(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,85),e.qZA())}function JM(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,86),e.qZA())}function QM(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,87),e.qZA())}function KM(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",8)(1,"label",81)(2,"span",10),e.SDv(3,82),e.qZA(),e.TgZ(4,"cd-helper")(5,"p"),e.SDv(6,83),e.qZA()()(),e.TgZ(7,"div",13)(8,"input",84),e.NdJ("selectItem",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.pathChangeHandler())})("blur",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.pathChangeHandler())}),e.qZA(),e.YNc(9,mE,2,0,"span",17),e.YNc(10,JM,2,0,"span",17),e.YNc(11,QM,2,0,"span",17),e.qZA()()}if(2&t){e.oxw();const n=e.MAs(2),o=e.oxw();e.xp6(8),e.Q6J("ngbTypeahead",o.pathDataSource),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("path",n,"required")),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("path",n,"pattern")),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("path",n,"pathNameNotAllowed"))}}function XM(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,90),e.qZA())}function Kb(t,i){1&t&&(e.TgZ(0,"span",57),e.tHW(1,91),e._UZ(2,"a",92),e.N_p(),e.qZA())}function gE(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",81)(2,"span",10),e.SDv(3,88),e.qZA()(),e.TgZ(4,"div",13),e._UZ(5,"input",89),e.YNc(6,XM,2,0,"span",17),e.YNc(7,Kb,3,0,"span",17),e.qZA()()),2&t){e.oxw();const n=e.MAs(2),o=e.oxw();e.xp6(5),e.Q6J("ngbTypeahead",o.bucketDataSource),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("path",n,"required")),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("path",n,"bucketNameNotAllowed"))}}function Xb(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,93),e.qZA())}function qb(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,99),e.qZA())}function eT(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,100),e.qZA())}function tT(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,101),e.qZA())}function qM(t,i){if(1&t&&(e.TgZ(0,"div",8)(1,"label",94)(2,"span",10),e.SDv(3,95),e.qZA(),e.TgZ(4,"cd-helper")(5,"p"),e.tHW(6,96),e._UZ(7,"strong")(8,"strong"),e.N_p(),e.qZA(),e.TgZ(9,"p"),e.SDv(10,97),e.qZA()()(),e.TgZ(11,"div",13),e._UZ(12,"input",98),e.YNc(13,qb,2,0,"span",17),e.YNc(14,eT,2,0,"span",17),e.YNc(15,tT,2,0,"span",17),e.qZA()()),2&t){e.oxw();const n=e.MAs(2),o=e.oxw();e.xp6(13),e.Q6J("ngIf",o.nfsForm.showError("pseudo",n,"required")),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("pseudo",n,"pseudoAlreadyExists")),e.xp6(1),e.Q6J("ngIf",o.nfsForm.showError("pseudo",n,"pattern"))}}function nT(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,102),e.qZA())}function rT(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,103),e.qZA())}function eO(t,i){if(1&t&&(e.TgZ(0,"option",56),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n.value),e.xp6(1),e.Oqu(n.value)}}function iT(t,i){if(1&t&&(e.TgZ(0,"span",104),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.hij(" ",n.getAccessTypeHelp(n.nfsForm.getValue("access_type"))," ")}}function oT(t,i){1&t&&(e.TgZ(0,"span",105),e.tHW(1,106),e._UZ(2,"cd-doc",107),e.N_p(),e.qZA())}function Xp(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,108),e.qZA())}function u1(t,i){1&t&&e.GkF(0)}function tO(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,109),e.qZA())}function nO(t,i){1&t&&(e.TgZ(0,"option",52),e.SDv(1,110),e.qZA())}function wR(t,i){if(1&t&&(e.TgZ(0,"option",56),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(n)}}function PR(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,111),e.qZA())}function sT(t,i){1&t&&(e.TgZ(0,"span",57),e.SDv(1,112),e.qZA())}function vE(t,i){1&t&&(e.TgZ(0,"cd-helper")(1,"ul",113)(2,"li")(3,"span",114),e._uU(4,"no_root_squash: "),e.qZA(),e.TgZ(5,"span"),e.SDv(6,115),e.qZA()(),e.TgZ(7,"li")(8,"span",114),e._uU(9,"root_id_squash: "),e.qZA(),e.TgZ(10,"span"),e.SDv(11,116),e.qZA()(),e.TgZ(12,"li")(13,"span",114),e._uU(14,"root_squash: "),e.qZA(),e.TgZ(15,"span"),e.SDv(16,117),e.qZA()(),e.TgZ(17,"li")(18,"span",114),e._uU(19,"all_squash: "),e.qZA(),e.TgZ(20,"span"),e.SDv(21,118),e.qZA()()()())}function sv(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(3,"div",4)(4,"div",5),e.SDv(5,6),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",7)(9,"div",8)(10,"label",9)(11,"span",10),e.SDv(12,11),e.qZA(),e.TgZ(13,"cd-helper")(14,"p"),e.SDv(15,12),e.qZA()()(),e.TgZ(16,"div",13)(17,"select",14),e.YNc(18,Vb,2,0,"option",15),e.YNc(19,UM,2,0,"option",15),e.YNc(20,BM,2,0,"option",15),e.YNc(21,iv,2,2,"option",16),e.qZA(),e.YNc(22,dE,3,8,"span",17),e.qZA()(),e.TgZ(23,"div",18)(24,"div",8)(25,"label",19),e.SDv(26,20),e.qZA(),e.TgZ(27,"div",13)(28,"select",21),e.NdJ("change",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.fsalChangeHandler())}),e.YNc(29,ov,2,0,"option",15),e.YNc(30,jM,2,0,"option",15),e.YNc(31,zM,2,0,"option",15),e.YNc(32,VM,2,3,"option",22),e.qZA(),e.YNc(33,h0,2,0,"span",17),e.YNc(34,m0,2,1,"span",17),e.qZA()(),e.YNc(35,Jb,10,5,"div",23),e.qZA(),e.YNc(36,hE,11,5,"div",23),e.YNc(37,KM,12,4,"div",23),e.YNc(38,gE,8,3,"div",23),e.TgZ(39,"div",8)(40,"label",24),e.SDv(41,25),e.qZA(),e.TgZ(42,"div",13)(43,"div",26),e._UZ(44,"input",27),e.TgZ(45,"label",28),e.SDv(46,29),e.qZA()(),e.YNc(47,Xb,2,0,"span",17),e.qZA()(),e.YNc(48,qM,16,3,"div",23),e.TgZ(49,"div",8)(50,"label",30),e.SDv(51,31),e.qZA(),e.TgZ(52,"div",13)(53,"select",32),e.NdJ("change",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.accessTypeChangeHandler())}),e.YNc(54,nT,2,0,"option",15),e.YNc(55,rT,2,0,"option",15),e.YNc(56,eO,2,2,"option",16),e.qZA(),e.YNc(57,iT,2,1,"span",33),e.YNc(58,oT,3,0,"span",34),e.YNc(59,Xp,2,0,"span",17),e.qZA()(),e.TgZ(60,"div",8)(61,"label",35)(62,"span"),e.SDv(63,36),e.qZA(),e.YNc(64,u1,1,0,"ng-container",37),e.qZA(),e.TgZ(65,"div",13)(66,"select",38),e.YNc(67,tO,2,0,"option",15),e.YNc(68,nO,2,0,"option",15),e.YNc(69,wR,2,2,"option",16),e.qZA(),e.YNc(70,PR,2,0,"span",17),e.qZA()(),e.TgZ(71,"div",8)(72,"label",39),e.SDv(73,40),e.qZA(),e.TgZ(74,"div",13)(75,"div",26),e._UZ(76,"input",41),e.TgZ(77,"label",42),e.SDv(78,43),e.qZA()(),e.TgZ(79,"div",26),e._UZ(80,"input",44),e.TgZ(81,"label",45),e.SDv(82,46),e.qZA()(),e.YNc(83,sT,2,0,"span",17),e._UZ(84,"hr"),e.qZA()(),e.TgZ(85,"cd-nfs-form-client",47,48),e.YNc(87,vE,22,0,"ng-template",null,49,e.W1O),e.qZA()(),e.TgZ(89,"div",50)(90,"cd-form-button-panel",51),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.submitAction())}),e.ALo(91,"titlecase"),e.ALo(92,"upperFirst"),e.qZA()()()()()}if(2&t){const n=e.MAs(2),o=e.MAs(88),l=e.oxw();e.xp6(1),e.Q6J("formGroup",l.nfsForm),e.xp6(6),e.pQV(e.lcZ(6,36,l.action))(e.lcZ(7,38,l.resource)),e.QtT(5),e.xp6(11),e.Q6J("ngIf",null===l.allClusters),e.xp6(1),e.Q6J("ngIf",null!==l.allClusters&&0===l.allClusters.length),e.xp6(1),e.Q6J("ngIf",null!==l.allClusters&&l.allClusters.length>0),e.xp6(1),e.Q6J("ngForOf",l.allClusters),e.xp6(1),e.Q6J("ngIf",l.nfsForm.showError("cluster_id",n,"required")||0===(null==l.allClusters?null:l.allClusters.length)),e.xp6(7),e.Q6J("ngIf",null===l.allFsals),e.xp6(1),e.Q6J("ngIf",null!==l.allFsals&&0===l.allFsals.length),e.xp6(1),e.Q6J("ngIf",null!==l.allFsals&&l.allFsals.length>0),e.xp6(1),e.Q6J("ngForOf",l.allFsals),e.xp6(1),e.Q6J("ngIf",l.nfsForm.showError("name",n,"required")),e.xp6(1),e.Q6J("ngIf",l.fsalAvailabilityError),e.xp6(1),e.Q6J("ngIf","CEPH"===l.nfsForm.getValue("name")),e.xp6(1),e.Q6J("ngIf","CEPH"===l.nfsForm.getValue("name")),e.xp6(1),e.Q6J("ngIf","CEPH"===l.nfsForm.getValue("name")),e.xp6(1),e.Q6J("ngIf","RGW"===l.nfsForm.getValue("name")),e.xp6(9),e.Q6J("ngIf",l.nfsForm.showError("protocolNfsv4",n,"required")),e.xp6(1),e.Q6J("ngIf",l.nfsForm.getValue("protocolNfsv4")),e.xp6(6),e.Q6J("ngIf",null===l.nfsAccessType),e.xp6(1),e.Q6J("ngIf",null!==l.nfsAccessType&&0===l.nfsAccessType.length),e.xp6(1),e.Q6J("ngForOf",l.nfsAccessType),e.xp6(1),e.Q6J("ngIf",l.nfsForm.getValue("access_type")),e.xp6(1),e.Q6J("ngIf","RW"===l.nfsForm.getValue("access_type")&&"RGW"===l.nfsForm.getValue("name")),e.xp6(1),e.Q6J("ngIf",l.nfsForm.showError("access_type",n,"required")),e.xp6(5),e.Q6J("ngTemplateOutlet",o),e.xp6(3),e.Q6J("ngIf",null===l.nfsSquash),e.xp6(1),e.Q6J("ngIf",null!==l.nfsSquash&&0===l.nfsSquash.length),e.xp6(1),e.Q6J("ngForOf",l.nfsSquash),e.xp6(1),e.Q6J("ngIf",l.nfsForm.showError("squash",n,"required")),e.xp6(13),e.Q6J("ngIf",l.nfsForm.showError("transportUDP",n,"required")||l.nfsForm.showError("transportTCP",n,"required")),e.xp6(2),e.Q6J("form",l.nfsForm)("clients",l.clients),e.xp6(5),e.Q6J("form",l.nfsForm)("submitText",e.lcZ(91,40,l.action)+" "+e.lcZ(92,42,l.resource))}}let aT=(()=>{class t extends $c.E{constructor(n,o,l,_,v,O,P,G,K,oe){super(),this.authStorageService=n,this.nfsService=o,this.route=l,this.router=_,this.rgwBucketService=v,this.rgwSiteService=O,this.formBuilder=P,this.taskWrapper=G,this.cdRef=K,this.actionLabels=oe,this.clients=[],this.isEdit=!1,this.cluster_id=null,this.export_id=null,this.allClusters=null,this.icons=Rr.P,this.allFsals=[],this.allFsNames=null,this.fsalAvailabilityError=null,this.defaultAccessType={RGW:"RO"},this.nfsAccessType=[],this.nfsSquash=[],this.pathDataSource=ue=>ue.pipe((0,cs.b)(200),(0,Yo.x)(),(0,dd.zg)(pe=>this.getPathTypeahead(pe)),(0,Ec.U)(pe=>pe)),this.bucketDataSource=ue=>ue.pipe((0,cs.b)(200),(0,Yo.x)(),(0,dd.zg)(pe=>this.getBucketTypeahead(pe))),this.permission=this.authStorageService.getPermissions().pool,this.resource="NFS export"}ngOnInit(){this.nfsAccessType=this.nfsService.nfsAccessType,this.nfsSquash=Object.keys(this.nfsService.nfsSquash),this.createForm();const n=[this.nfsService.listClusters(),this.nfsService.fsals(),this.nfsService.filesystems()];this.router.url.startsWith("/nfs/edit")&&(this.isEdit=!0),this.isEdit?(this.action=this.actionLabels.EDIT,this.route.params.subscribe(o=>{this.cluster_id=decodeURIComponent(o.cluster_id),this.export_id=decodeURIComponent(o.export_id),n.push(this.nfsService.get(this.cluster_id,this.export_id)),this.getData(n)}),this.nfsForm.get("cluster_id").disable()):(this.action=this.actionLabels.CREATE,this.getData(n))}getData(n){(0,Za.D)(n).subscribe(o=>{this.resolveClusters(o[0]),this.resolveFsals(o[1]),this.resolveFilesystems(o[2]),o[3]&&this.resolveModel(o[3]),this.loadingReady()})}createForm(){this.nfsForm=new fu.d({cluster_id:new rn.p4("",{validators:[rn.kI.required]}),fsal:new fu.d({name:new rn.p4("",{validators:[rn.kI.required]}),fs_name:new rn.p4("",{validators:[De.h.requiredIf({name:"CEPH"})]})}),path:new rn.p4("/"),protocolNfsv4:new rn.p4(!0),pseudo:new rn.p4("",{validators:[De.h.requiredIf({protocolNfsv4:!0}),rn.kI.pattern("^/[^><|&()]*$")]}),access_type:new rn.p4("RW"),squash:new rn.p4(this.nfsSquash[0]),transportUDP:new rn.p4(!0,{validators:[De.h.requiredIf({transportTCP:!1},n=>!n)]}),transportTCP:new rn.p4(!0,{validators:[De.h.requiredIf({transportUDP:!1},n=>!n)]}),clients:this.formBuilder.array([]),security_label:new rn.p4(!1),sec_label_xattr:new rn.p4("security.selinux",De.h.requiredIf({security_label:!0,"fsal.name":"CEPH"}))})}resolveModel(n){"CEPH"===n.fsal.name&&(n.sec_label_xattr=n.fsal.sec_label_xattr),n.protocolNfsv4=-1!==n.protocols.indexOf(4),delete n.protocols,n.transportTCP=-1!==n.transports.indexOf("TCP"),n.transportUDP=-1!==n.transports.indexOf("UDP"),delete n.transports,Object.entries(this.nfsService.nfsSquash).forEach(([o,l])=>{l.includes(n.squash)&&(n.squash=o)}),n.clients.forEach(o=>{let l="";o.addresses.forEach(_=>{l+=_+", "}),l.length>=2&&(l=l.substring(0,l.length-2)),o.addresses=l}),this.nfsForm.patchValue(n),this.setPathValidation(),this.clients=n.clients}resolveClusters(n){this.allClusters=[];for(const o of n)this.allClusters.push({cluster_id:o});!this.isEdit&&this.allClusters.length>0&&this.nfsForm.get("cluster_id").setValue(this.allClusters[0].cluster_id)}resolveFsals(n){n.forEach(o=>{const l=this.nfsService.nfsFsal.find(_=>o===_.value);Xe().isObjectLike(l)&&this.allFsals.push(l)}),!this.isEdit&&this.allFsals.length>0&&this.nfsForm.patchValue({fsal:{name:this.allFsals[0].value}})}resolveFilesystems(n){this.allFsNames=n,!this.isEdit&&n.length>0&&this.nfsForm.patchValue({fsal:{fs_name:n[0].name}})}fsalChangeHandler(){this.setPathValidation();const n=this.nfsForm.getValue("name");("RGW"===n?this.rgwSiteService.get("realms").pipe((0,dd.zg)(l=>0===l.length?(0,Ps.of)(!0):this.rgwSiteService.isDefaultRealm().pipe((0,dd.zg)(_=>{if(!_)throw new Error("Selected realm is not the default.");return(0,Ps.of)(!0)})))):this.nfsService.filesystems()).subscribe({next:()=>{this.setFsalAvailability(n,!0),this.isEdit||this.nfsForm.patchValue({path:"RGW"===n?"":"/",pseudo:this.generatePseudo(),access_type:this.updateAccessType()}),this.cdRef.detectChanges()},error:l=>{this.setFsalAvailability(n,!1,l),this.nfsForm.get("name").setValue("")}})}setFsalAvailability(n,o,l=""){this.allFsals=this.allFsals.map(_=>(_.value===n&&(_.disabled=!o,this.fsalAvailabilityError=_.disabled?"" + _.descr + " backend is not available. " + l + "":null),_))}accessTypeChangeHandler(){const n=this.nfsForm.getValue("name"),o=this.nfsForm.getValue("access_type");this.defaultAccessType[n]=o}setPathValidation(){const n=this.nfsForm.get("path");n.setValidators([rn.kI.required]),"RGW"===this.nfsForm.getValue("name")?n.setAsyncValidators([De.h.bucketExistence(!0,this.rgwBucketService)]):n.setAsyncValidators([this.pathExistence(!0)]),this.isEdit&&n.markAsDirty()}getAccessTypeHelp(n){const o=this.nfsAccessType.find(l=>{if(n===l.value)return l});return Xe().isObjectLike(o)?o.help:""}getId(){return Xe().isString(this.nfsForm.getValue("cluster_id"))&&Xe().isString(this.nfsForm.getValue("path"))?this.nfsForm.getValue("cluster_id")+":"+this.nfsForm.getValue("path"):""}getPathTypeahead(n){if(!Xe().isString(n)||"/"===n)return(0,Ps.of)([]);const o=this.nfsForm.getValue("fsal").fs_name;return this.nfsService.lsDir(o,n).pipe((0,Ec.U)(l=>l.paths.filter(_=>_.toLowerCase().includes(n)).slice(0,15)),(0,eu.K)(()=>(0,Ps.of)(["Error while retrieving paths."])))}pathChangeHandler(){this.isEdit||this.nfsForm.patchValue({pseudo:this.generatePseudo()})}getBucketTypeahead(n){return Xe().isString(n)&&"/"!==n&&""!==n?this.rgwBucketService.list().pipe((0,Ec.U)(o=>o.filter(l=>l.toLowerCase().includes(n)).slice(0,15)),(0,eu.K)(()=>(0,Ps.of)(["Error while retrieving bucket names."]))):(0,Ps.of)([])}generatePseudo(){let n=this.nfsForm.getValue("pseudo");return this.nfsForm.get("pseudo")&&!this.nfsForm.get("pseudo").dirty&&(n=void 0,"CEPH"===this.nfsForm.getValue("fsal")&&(n="/cephfs",Xe().isString(this.nfsForm.getValue("path"))&&(n+=this.nfsForm.getValue("path")))),n}updateAccessType(){const n=this.nfsForm.getValue("name");let o=this.defaultAccessType[n];return o||(o="RW"),o}submitAction(){let n;const o=this.buildRequest();n=this.taskWrapper.wrapTaskAroundCall(this.isEdit?{task:new Fr.R("nfs/edit",{cluster_id:this.cluster_id,export_id:Xe().parseInt(this.export_id)}),call:this.nfsService.update(this.cluster_id,Xe().parseInt(this.export_id),o)}:{task:new Fr.R("nfs/create",{path:o.path,fsal:o.fsal,cluster_id:o.cluster_id}),call:this.nfsService.create(o)}),n.subscribe({error:l=>this.setFormErrors(l),complete:()=>this.router.navigate(["/nfs"])})}setFormErrors(n){n.error.detail&&n.error.detail.toString().includes(`Pseudo ${this.nfsForm.getValue("pseudo")} is already in use`)&&this.nfsForm.get("pseudo").setErrors({pseudoAlreadyExists:!0}),this.nfsForm.setErrors({cdSubmitButton:!0})}buildRequest(){const n=Xe().cloneDeep(this.nfsForm.value);return this.isEdit&&(n.export_id=Xe().parseInt(this.export_id)),"RGW"===n.fsal.name&&delete n.fsal.fs_name,n.protocols=[],n.protocolNfsv4?n.protocols.push(4):n.pseudo=null,delete n.protocolNfsv4,n.transports=[],n.transportTCP&&n.transports.push("TCP"),delete n.transportTCP,n.transportUDP&&n.transports.push("UDP"),delete n.transportUDP,n.clients.forEach(o=>{o.addresses=Xe().isString(o.addresses)?Xe()(o.addresses).split(/[ ,]+/).uniq().filter(l=>""!==l).value():[],o.squash||(o.squash=n.squash),o.access_type||(o.access_type=n.access_type)}),n.fsal.sec_label_xattr=!1===n.security_label||"RGW"===n.fsal.name?null:n.sec_label_xattr,delete n.sec_label_xattr,n}pathExistence(n){return o=>{if(o.pristine||!o.value)return(0,Ps.of)({required:!0});const l=this.nfsForm.getValue("fsal").fs_name;return this.nfsService.lsDir(l,o.value).pipe((0,Ec.U)(_=>_.paths.includes(o.value)===n?null:{pathNameNotAllowed:!0}),(0,eu.K)(()=>(0,Ps.of)({pathNameNotAllowed:!0})))}}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(uE),e.Y36(Ee.gz),e.Y36(Ee.F0),e.Y36(Fb.o),e.Y36(Lb.I),e.Y36(Qi.O),e.Y36(Gr.P),e.Y36(e.sBO),e.Y36(yr.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-nfs-form"]],viewQuery:function(n,o){if(1&n&&e.Gf(zb,7),2&n){let l;e.iGM(l=e.CRH())&&(o.nfsClients=l.first)}},features:[e.qOj],decls:1,vars:1,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue,pe,ye,Ue,xe,ke,we,Z,Ft,Dt,Yt,ln,$n,nn,Jn,zn,Zr,$r,ui,gi,Un,lr,ar,Cr,Wn,ai,ho,Yi,lo,pi,Kn,Nn,_i,Zi,So,us,Zo,pa,va,qi,xo,$o,rt,kt;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Cluster",o="This is the ID of an NFS Service.",l="Storage Backend",_="NFS Protocol",v="NFSv4",O="Access Type",P="Squash",G="Transport Protocol",K="UDP",oe="TCP",ue="Loading...",pe="-- No cluster available --",ye="-- Select the cluster --",Ue="This field is required. To create a new NFS cluster, " + "\ufffd#2\ufffd" + "add a new NFS Service" + "\ufffd/#2\ufffd" + ".",xe="Loading...",ke="-- No data pools available --",we="-- Select the storage backend --",Z="This field is required.",Ft="" + "\ufffd0\ufffd" + "",Dt="Volume",Yt="Loading...",ln="-- No CephFS filesystem available --",$n="-- Select the CephFS filesystem --",nn="This field is required.",Jn="Security Label",zn="Enable security label",Zr="This field is required.",$r="CephFS Path",ui="A path in a CephFS file system.",gi="This field is required.",Un="Path need to start with a '/' and can be followed by a word",lr="The path does not exist in the selected volume.",ar="Bucket",Cr="This field is required.",Wn="The bucket does not exist or is not in the default realm (if multiple realms are configured). To continue, " + "\ufffd#2\ufffd" + "create a new bucket" + "\ufffd/#2\ufffd" + ".",ai="This field is required.",ho="Pseudo",Yi="The position that this " + "[\ufffd#7\ufffd|\ufffd#8\ufffd]" + "NFS v4" + "[\ufffd/#7\ufffd|\ufffd/#8\ufffd]" + " export occupies in the " + "[\ufffd#7\ufffd|\ufffd#8\ufffd]" + "Pseudo FS" + "[\ufffd/#7\ufffd|\ufffd/#8\ufffd]" + " (it must be unique).",Yi=e.Zx4(Yi),lo="By using different Pseudo options, the same Path may be exported multiple times.",pi="This field is required.",Kn="The pseudo is already in use by another export.",Nn="Pseudo needs to start with a '/' and can't contain any of the following: >, <, |, &, ( or ).",_i="Loading...",Zi="-- No access type available --",So="The Object Gateway NFS backend has a number of limitations which will seriously affect applications writing to the share. Please consult the " + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " for details before enabling write access.",us="This field is required.",Zo="Loading...",pa="-- No squash available --",va="This field is required.",qi="This field is required.",xo="No user id squashing is performed.",$o="uid 0 and gid 0 are squashed to the Anonymous_Uid and Anonymous_Gid gid 0 in alt_groups lists is also squashed.",rt="uid 0 and gid of any value are squashed to the Anonymous_Uid and Anonymous_Gid alt_groups lists is discarded.",kt="All users are squashed.",[["class","cd-col-form",4,"cdFormLoading"],[1,"cd-col-form"],["name","nfsForm","novalidate","",3,"formGroup"],["formDir","ngForm"],[1,"card"],[1,"card-header"],i,[1,"card-body"],[1,"form-group","row"],["for","cluster_id",1,"cd-col-form-label"],[1,"required"],n,o,[1,"cd-col-form-input"],["formControlName","cluster_id","name","cluster_id","id","cluster_id",1,"form-select"],["value","",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],["formGroupName","fsal"],["for","name",1,"cd-col-form-label","required"],l,["formControlName","name","name","name","id","name",1,"form-select",3,"change"],[3,"value","disabled",4,"ngFor","ngForOf"],["class","form-group row",4,"ngIf"],["for","protocols",1,"cd-col-form-label","required"],_,[1,"custom-control","custom-checkbox"],["type","checkbox","formControlName","protocolNfsv4","name","protocolNfsv4","id","protocolNfsv4","disabled","",1,"custom-control-input"],["for","protocolNfsv4",1,"custom-control-label"],v,["for","access_type",1,"cd-col-form-label","required"],O,["formControlName","access_type","name","access_type","id","access_type",1,"form-select",3,"change"],["class","form-text text-muted",4,"ngIf"],["class","form-text text-warning",4,"ngIf"],["for","squash",1,"cd-col-form-label"],P,[4,"ngTemplateOutlet"],["name","squash","formControlName","squash","id","squash",1,"form-select"],["for","transports",1,"cd-col-form-label","required"],G,["type","checkbox","formControlName","transportUDP","name","transportUDP","id","transportUDP",1,"custom-control-input"],["for","transportUDP",1,"custom-control-label"],K,["type","checkbox","formControlName","transportTCP","name","transportTCP","id","transportTCP",1,"custom-control-input"],["for","transportTCP",1,"custom-control-label"],oe,[3,"form","clients"],["nfsClients",""],["squashHelper",""],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],["value",""],ue,pe,ye,[3,"value"],[1,"invalid-feedback"],Ue,[1,"btn-link",3,"routerLink"],xe,ke,we,[3,"value","disabled"],Z,Ft,["for","fs_name",1,"cd-col-form-label","required"],Dt,["formControlName","fs_name","name","fs_name","id","fs_name",1,"form-select",3,"change"],Yt,ln,$n,nn,["for","security_label",1,"cd-col-form-label",3,"ngClass"],Jn,["type","checkbox","formControlName","security_label","name","security_label","id","security_label",1,"custom-control-input"],["for","security_label",1,"custom-control-label"],zn,["type","text","class","form-control","name","sec_label_xattr","id","sec_label_xattr","formControlName","sec_label_xattr",4,"ngIf"],["type","text","name","sec_label_xattr","id","sec_label_xattr","formControlName","sec_label_xattr",1,"form-control"],Zr,["for","path",1,"cd-col-form-label"],$r,ui,["type","text","name","path","id","path","data-testid","fs_path","formControlName","path",1,"form-control",3,"ngbTypeahead","selectItem","blur"],gi,Un,lr,ar,["type","text","name","path","id","path","data-testid","rgw_path","formControlName","path",1,"form-control",3,"ngbTypeahead"],Cr,Wn,["routerLink","/rgw/bucket/create",1,"btn-link"],ai,["for","pseudo",1,"cd-col-form-label"],ho,Yi,lo,["type","text","name","pseudo","id","pseudo","formControlName","pseudo",1,"form-control"],pi,Kn,Nn,_i,Zi,[1,"form-text","text-muted"],[1,"form-text","text-warning"],So,["section","rgw-nfs"],us,Zo,pa,va,qi,[1,"squash-helper"],[1,"squash-helper-item-value"],xo,$o,rt,kt]},template:function(n,o){1&n&&e.YNc(0,sv,93,44,"div",0),2&n&&e.Q6J("cdFormLoading",o.loading)},dependencies:[rn._Y,rn.YN,rn.Kr,rn.Fj,rn.Wl,rn.EJ,rn.JJ,rn.JL,rn.sg,rn.u,rn.x0,Ee.rH,La.S,Ff.K,rl.p,Pu.y,st.o,za.b,Va.P,Os.V,f.mk,f.sg,f.O5,f.tP,yi.dR,jb,Cu.m,f.rS],styles:[".cd-mb[_ngcontent-%COMP%]{margin-bottom:10px}.squash-helper[_ngcontent-%COMP%]{padding-left:1rem}.squash-helper-item-value[_ngcontent-%COMP%]{font-weight:700}"]}),t})();var g0=s(38047);function rO(t,i){if(1&t&&e._UZ(0,"cd-table-key-value",10),2&t){const n=e.oxw(2);e.Q6J("data",n.data)}}function lT(t,i){if(1&t&&e._UZ(0,"cd-table",11,12),2&t){const n=e.oxw(2);e.Q6J("data",n.clients)("columns",n.clientsColumns)}}function iO(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"nav",1,2),e.ynx(3,3),e.TgZ(4,"a",4),e.SDv(5,5),e.qZA(),e.YNc(6,rO,1,1,"ng-template",6),e.BQk(),e.ynx(7,7),e.TgZ(8,"a",4),e.SDv(9,8),e.qZA(),e.YNc(10,lT,2,2,"ng-template",6),e.BQk(),e.qZA(),e._UZ(11,"div",9),e.BQk()),2&t){const n=e.MAs(2),o=e.oxw();e.xp6(9),e.pQV(o.clients.length),e.QtT(9),e.xp6(2),e.Q6J("ngbNavOutlet",n)}}let oO=(()=>{class t{constructor(){this.clients=[],this.clientsColumns=[{name:"Addresses",prop:"addresses",flexGrow:2},{name:"Access Type",prop:"access_type",flexGrow:1},{name:"Squash",prop:"squash",flexGrow:1}]}ngOnChanges(){this.selection&&(this.selectedItem=this.selection,this.clients=this.selectedItem.clients,this.data={},this.data["Cluster"]=this.selectedItem.cluster_id,this.data["NFS Protocol"]=this.selectedItem.protocols.map(n=>"NFSv"+n),this.data["Pseudo"]=this.selectedItem.pseudo,this.data["Access Type"]=this.selectedItem.access_type,this.data["Squash"]=this.selectedItem.squash,this.data["Transport"]=this.selectedItem.transports,this.data["Path"]=this.selectedItem.path,"CEPH"===this.selectedItem.fsal.name?(this.data["Storage Backend"]="CephFS",this.data["CephFS User"]=this.selectedItem.fsal.user_id,this.data["CephFS Filesystem"]=this.selectedItem.fsal.fs_name,this.data["Security Label"]=this.selectedItem.fsal.sec_label_xattr):(this.data["Storage Backend"]="Object Gateway",this.data["Object Gateway User"]=this.selectedItem.fsal.user_id))}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-nfs-details"]],inputs:{selection:"selection"},features:[e.TTD],decls:1,vars:1,consts:function(){let i,n;return i="Details",n="Clients (" + "\ufffd0\ufffd" + ")",[[4,"ngIf"],["ngbNav","","cdStatefulTab","nfs-details",1,"nav-tabs"],["nav","ngbNav"],["ngbNavItem","details"],["ngbNavLink",""],i,["ngbNavContent",""],["ngbNavItem","clients"],n,[3,"ngbNavOutlet"],[3,"data"],["columnMode","flex","identifier","addresses","forceIdentifier","true","selectionType","",3,"data","columns"],["table",""]]},template:function(n,o){1&n&&e.YNc(0,iO,12,2,"ng-container",0),2&n&&e.Q6J("ngIf",o.selection)},dependencies:[zo.a,bu.b,kc.m,yi.uN,yi.Pz,yi.nv,yi.Vx,yi.tO,yi.Dy,f.O5]}),t})();const sO=["nfsState"],yE=["nfsFsal"],uT=["table"];function cT(t,i){1&t&&(e.ynx(0),e.SDv(1,7),e.BQk())}function v0(t,i){1&t&&(e.ynx(0),e.SDv(1,8),e.BQk())}function EE(t,i){if(1&t&&(e.YNc(0,cT,2,0,"ng-container",6),e.YNc(1,v0,2,0,"ng-container",6)),2&t){const n=i.value;e.Q6J("ngIf","CEPH"===n.name),e.xp6(1),e.Q6J("ngIf","RGW"===n.name)}}let NR=(()=>{class t extends Hr.o{constructor(n,o,l,_,v,O){super(),this.authStorageService=n,this.modalService=o,this.nfsService=l,this.taskListService=_,this.taskWrapper=v,this.actionLabels=O,this.selection=new Io.r,this.isDefaultCluster=!1,this.builders={"nfs/create":ue=>({path:ue.path,cluster_id:ue.cluster_id,fsal:ue.fsal})},this.permission=this.authStorageService.getPermissions().nfs;const P=()=>this.selection.first()&&`${encodeURI(this.selection.first().cluster_id)}/${encodeURI(this.selection.first().export_id)}`;this.tableActions=[{permission:"create",icon:Rr.P.add,routerLink:()=>"/nfs/create",canBePrimary:ue=>!ue.hasSingleSelection,name:this.actionLabels.CREATE},{permission:"update",icon:Rr.P.edit,routerLink:()=>`/nfs/edit/${P()}`,name:this.actionLabels.EDIT},{permission:"delete",icon:Rr.P.destroy,click:()=>this.deleteNfsModal(),name:this.actionLabels.DELETE}]}ngOnInit(){this.columns=[{name:"Path",prop:"path",flexGrow:2,cellTransformation:Xr.e.executing},{name:"Pseudo",prop:"pseudo",flexGrow:2},{name:"Cluster",prop:"cluster_id",flexGrow:2},{name:"Storage Backend",prop:"fsal",flexGrow:2,cellTemplate:this.nfsFsal},{name:"Access Type",prop:"access_type",flexGrow:2}],this.taskListService.init(()=>this.nfsService.list(),n=>this.prepareResponse(n),n=>this.exports=n,()=>this.onFetchError(),this.taskFilter,this.itemFilter,this.builders)}ngOnDestroy(){this.summaryDataSubscription&&this.summaryDataSubscription.unsubscribe()}prepareResponse(n){let o=[];return n.forEach(l=>{l.id=`${l.cluster_id}:${l.export_id}`,l.state="LOADING",o=o.concat(l)}),o}onFetchError(){this.table.reset(),this.viewCacheStatus={status:Xc.T.ValueException}}itemFilter(n,o){return n.cluster_id===o.metadata.cluster_id&&n.export_id===o.metadata.export_id}taskFilter(n){return["nfs/create","nfs/delete","nfs/edit"].includes(n.name)}updateSelection(n){this.selection=n}deleteNfsModal(){const n=this.selection.first().cluster_id,o=this.selection.first().export_id;this.modalRef=this.modalService.show(Go.M,{itemDescription:"NFS export",itemNames:[`${n}:${o}`],submitActionObservable:()=>this.taskWrapper.wrapTaskAroundCall({task:new Fr.R("nfs/delete",{cluster_id:n,export_id:o}),call:this.nfsService.delete(n,o)})})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(ca.Z),e.Y36(uE),e.Y36(g0.j),e.Y36(Gr.P),e.Y36(yr.p4))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-nfs-list"]],viewQuery:function(n,o){if(1&n&&(e.Gf(sO,5),e.Gf(yE,7),e.Gf(uT,7)),2&n){let l;e.iGM(l=e.CRH())&&(o.nfsState=l.first),e.iGM(l=e.CRH())&&(o.nfsFsal=l.first),e.iGM(l=e.CRH())&&(o.table=l.first)}},features:[e._Bn([g0.j]),e.qOj],decls:7,vars:7,consts:function(){let i,n;return i="CephFS",n="Object Gateway",[["columnMode","flex","identifier","id","forceIdentifier","true","selectionType","single",3,"data","columns","hasDetails","setExpandedRow","updateSelection"],["table",""],[1,"table-actions","btn-toolbar"],[1,"btn-group",3,"permission","selection","tableActions"],["cdTableDetail","",3,"selection"],["nfsFsal",""],[4,"ngIf"],i,n]},template:function(n,o){1&n&&(e.TgZ(0,"cd-table",0,1),e.NdJ("setExpandedRow",function(_){return o.setExpandedRow(_)})("updateSelection",function(_){return o.updateSelection(_)}),e.TgZ(2,"div",2),e._UZ(3,"cd-table-actions",3),e.qZA(),e._UZ(4,"cd-nfs-details",4),e.qZA(),e.YNc(5,EE,2,2,"ng-template",null,5,e.W1O)),2&n&&(e.Q6J("data",o.exports)("columns",o.columns)("hasDetails",!0),e.xp6(3),e.Q6J("permission",o.permission)("selection",o.selection)("tableActions",o.tableActions),e.xp6(1),e.Q6J("selection",o.expandedRow))},dependencies:[zo.a,$l.K,f.O5,oO]}),t})(),dT=(()=>{class t{constructor(n){this.route=n,this.route.queryParams.subscribe(o=>{this.fromLink=o.fromLink||t.defaultFromLink}),this.route.params.subscribe(o=>{this.serviceId=decodeURIComponent(o.id),this.serviceType=o.type})}}return t.defaultFromLink="/hosts",t.\u0275fac=function(n){return new(n||t)(e.Y36(Ee.gz))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-performance-counter"]],decls:3,vars:4,consts:[[3,"serviceType","serviceId"]],template:function(n,o){1&n&&(e.TgZ(0,"legend"),e._uU(1),e.qZA(),e._UZ(2,"cd-table-performance-counter",0)),2&n&&(e.xp6(1),e.AsE("",o.serviceType,".",o.serviceId,""),e.xp6(1),e.Q6J("serviceType",o.serviceType)("serviceId",o.serviceId))},dependencies:[Hy.p]}),t})();var SE=s(39219),bE=s(81354),eg=s(32057);function aO(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,30),e.qZA())}function fT(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,31),e.qZA())}function TE(t,i){if(1&t&&e._UZ(0,"cd-helper",32),2&t){const n=e.oxw();e.s9C("html",n.passwordPolicyHelpText)}}function IR(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,33),e.qZA())}function lO(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,34),e.qZA())}function FR(t,i){if(1&t&&(e.TgZ(0,"span",29),e._uU(1),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.hij(" ",n.passwordValuation," ")}}function uO(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,35),e.qZA())}function cO(t,i){1&t&&(e.TgZ(0,"span",29),e.SDv(1,36),e.qZA())}let pT=(()=>{class t{constructor(n,o,l,_,v,O,P){this.actionLabels=n,this.notificationService=o,this.userService=l,this.authStorageService=_,this.formBuilder=v,this.router=O,this.passwordPolicyService=P,this.passwordPolicyHelpText="",this.icons=Rr.P,this.action=this.actionLabels.CHANGE,this.resource="password",this.createForm()}createForm(){this.passwordPolicyService.getHelpText().subscribe(n=>{this.passwordPolicyHelpText=n}),this.userForm=this.formBuilder.group({oldpassword:[null,[rn.kI.required,De.h.custom("notmatch",()=>this.userForm&&this.userForm.getValue("newpassword")===this.userForm.getValue("oldpassword"))]],newpassword:[null,[rn.kI.required,De.h.custom("notmatch",()=>this.userForm&&this.userForm.getValue("oldpassword")===this.userForm.getValue("newpassword"))],[De.h.passwordPolicy(this.userService,()=>this.authStorageService.getUsername(),(n,o,l)=>{this.passwordStrengthLevelClass=this.passwordPolicyService.mapCreditsToCssClass(o),this.passwordValuation=Xe().defaultTo(l,"")})]],confirmnewpassword:[null,[rn.kI.required]]},{validators:[De.h.match("newpassword","confirmnewpassword")]})}onSubmit(){if(this.userForm.pristine)return;const n=this.authStorageService.getUsername(),o=this.userForm.getValue("oldpassword"),l=this.userForm.getValue("newpassword");this.userService.changePassword(n,o,l).subscribe(()=>this.onPasswordChange(),()=>{this.userForm.setErrors({cdSubmitButton:!0})})}onPasswordChange(){this.notificationService.show(Ho.k.success,"Updated user password\""),this.router.navigate(["/login"])}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yr.p4),e.Y36(Ui.g),e.Y36(eg.K),e.Y36(Do.j),e.Y36(Qi.O),e.Y36(Ee.F0),e.Y36(bE.q))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-user-password-form"]],decls:45,vars:25,consts:function(){let i,n,o,l,_,v,O,P,G,K;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Old password",o="New password",l="Confirm new password",_="This field is required.",v="The old and new passwords must be different.",O="This field is required.",P="The old and new passwords must be different.",G="This field is required.",K="Password confirmation doesn't match the new password.",[[1,"cd-col-form"],["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"card"],[1,"card-header"],i,[1,"card-body"],[1,"form-group","row"],["for","oldpassword",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],[1,"input-group"],["type","password","placeholder","Old password...","id","oldpassword","formControlName","oldpassword","autocomplete","new-password","autofocus","",1,"form-control"],["cdPasswordButton","oldpassword",1,"btn","btn-light"],["class","invalid-feedback",4,"ngIf"],["for","newpassword",1,"cd-col-form-label"],[1,"required"],o,["class","text-pre-wrap",3,"html",4,"ngIf"],["type","password","placeholder","Password...","id","newpassword","autocomplete","new-password","formControlName","newpassword",1,"form-control"],["type","button","cdPasswordButton","newpassword",1,"btn","btn-light"],[1,"password-strength-level"],["data-toggle","tooltip",3,"title"],["for","confirmnewpassword",1,"cd-col-form-label","required"],l,["type","password","autocomplete","new-password","placeholder","Confirm new password...","id","confirmnewpassword","formControlName","confirmnewpassword",1,"form-control"],["cdPasswordButton","confirmnewpassword",1,"btn","btn-light"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],[1,"invalid-feedback"],_,v,[1,"text-pre-wrap",3,"html"],O,P,G,K]},template:function(n,o){if(1&n&&(e.TgZ(0,"div",0)(1,"form",1,2)(3,"div",3)(4,"div",4),e.SDv(5,5),e.ALo(6,"titlecase"),e.ALo(7,"upperFirst"),e.qZA(),e.TgZ(8,"div",6)(9,"div",7)(10,"label",8),e.SDv(11,9),e.qZA(),e.TgZ(12,"div",10)(13,"div",11),e._UZ(14,"input",12)(15,"button",13),e.qZA(),e.YNc(16,aO,2,0,"span",14),e.YNc(17,fT,2,0,"span",14),e.qZA()(),e.TgZ(18,"div",7)(19,"label",15)(20,"span",16),e.SDv(21,17),e.qZA(),e.YNc(22,TE,1,1,"cd-helper",18),e.qZA(),e.TgZ(23,"div",10)(24,"div",11),e._UZ(25,"input",19)(26,"button",20),e.qZA(),e.TgZ(27,"div",21),e._UZ(28,"div",22),e.qZA(),e.YNc(29,IR,2,0,"span",14),e.YNc(30,lO,2,0,"span",14),e.YNc(31,FR,2,1,"span",14),e.qZA()(),e.TgZ(32,"div",7)(33,"label",23),e.SDv(34,24),e.qZA(),e.TgZ(35,"div",10)(36,"div",11),e._UZ(37,"input",25)(38,"button",26),e.qZA(),e.YNc(39,uO,2,0,"span",14),e.YNc(40,cO,2,0,"span",14),e.qZA()()(),e.TgZ(41,"div",27)(42,"cd-form-button-panel",28),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.ALo(43,"titlecase"),e.ALo(44,"upperFirst"),e.qZA()()()()()),2&n){const l=e.MAs(2);e.xp6(1),e.Q6J("formGroup",o.userForm),e.xp6(6),e.pQV(e.lcZ(6,17,o.action))(e.lcZ(7,19,o.resource)),e.QtT(5),e.xp6(9),e.Q6J("ngIf",o.userForm.showError("oldpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("oldpassword",l,"notmatch")),e.xp6(5),e.Q6J("ngIf",o.passwordPolicyHelpText.length>0),e.xp6(6),e.Tol(o.passwordStrengthLevelClass),e.s9C("title",o.passwordValuation),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("newpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("newpassword",l,"notmatch")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("newpassword",l,"passwordPolicy")),e.xp6(8),e.Q6J("ngIf",o.userForm.showError("confirmnewpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("confirmnewpassword",l,"match")),e.xp6(2),e.Q6J("form",o.userForm)("submitText",e.lcZ(43,21,o.action)+" "+e.lcZ(44,23,o.resource))}},dependencies:[f.O5,rn._Y,rn.Fj,rn.JJ,rn.JL,rn.sg,rn.u,La.S,rl.p,Tu.U,oa.C,st.o,za.b,Va.P,Os.V,f.rS,Cu.m],styles:["#oldpassword.is-valid[_ngcontent-%COMP%]{background-image:unset;border-color:#ced4da}"]}),t})();function _T(t,i){1&t&&(e.TgZ(0,"span",16),e.SDv(1,17),e.qZA())}function hT(t,i){1&t&&(e.TgZ(0,"span",16),e.SDv(1,18),e.qZA())}function dO(t,i){1&t&&(e.TgZ(0,"span",16),e.SDv(1,19),e.qZA())}function mT(t,i){1&t&&(e.TgZ(0,"span",16),e.SDv(1,20),e.qZA())}function gT(t,i){if(1&t&&(e.TgZ(0,"span",16),e._uU(1),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.hij(" ",n.passwordValuation," ")}}function fO(t,i){1&t&&(e.TgZ(0,"span",16),e.SDv(1,21),e.qZA())}function pO(t,i){1&t&&(e.TgZ(0,"span",16),e.SDv(1,22),e.qZA())}let vT=(()=>{class t extends pT{constructor(n,o,l,_,v,O,P,G){super(n,o,l,_,v,O,P),this.actionLabels=n,this.notificationService=o,this.userService=l,this.authStorageService=_,this.formBuilder=v,this.router=O,this.passwordPolicyService=P,this.authService=G}onPasswordChange(){this.authService.logout()}onCancel(){this.authService.logout()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yr.p4),e.Y36(Ui.g),e.Y36(eg.K),e.Y36(Do.j),e.Y36(Qi.O),e.Y36(Ee.F0),e.Y36(bE.q),e.Y36(SE.e))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-login-password-form"]],features:[e.qOj],decls:31,vars:19,consts:function(){let i,n,o,l,_,v,O,P;return i="Please set a new password.",n="You will be redirected to the login page afterwards.",o="This field is required.",l="The old and new passwords must be different.",_="This field is required.",v="The old and new passwords must be different.",O="This field is required.",P="Password confirmation doesn't match the new password.",[i,n,["novalidate","",3,"formGroup"],["frm","ngForm"],[1,"form-group","has-feedback"],[1,"input-group"],["type","password","placeholder","Old password...","id","oldpassword","formControlName","oldpassword","autocomplete","new-password","autofocus","",1,"form-control"],["cdPasswordButton","oldpassword",1,"btn","btn-outline-light","btn-password"],["class","invalid-feedback",4,"ngIf"],["type","password","placeholder","New password...","id","newpassword","autocomplete","new-password","formControlName","newpassword",1,"form-control"],["type","button","cdPasswordButton","newpassword",1,"btn","btn-outline-light","btn-password"],[1,"password-strength-level"],["data-toggle","tooltip",3,"title"],["type","password","autocomplete","new-password","placeholder","Confirm new password...","id","confirmnewpassword","formControlName","confirmnewpassword",1,"form-control"],["cdPasswordButton","confirmnewpassword",1,"btn","btn-outline-light","btn-password"],["wrappingClass","text-right",3,"form","disabled","submitText","submitActionEvent","backActionEvent"],[1,"invalid-feedback"],o,l,_,v,O,P]},template:function(n,o){if(1&n&&(e.TgZ(0,"div")(1,"h2"),e.SDv(2,0),e.qZA(),e.TgZ(3,"h4"),e.SDv(4,1),e.qZA(),e.TgZ(5,"form",2,3)(7,"div",4)(8,"div",5),e._UZ(9,"input",6)(10,"button",7),e.qZA(),e.YNc(11,_T,2,0,"span",8),e.YNc(12,hT,2,0,"span",8),e.qZA(),e.TgZ(13,"div",4)(14,"div",5),e._UZ(15,"input",9)(16,"button",10),e.qZA(),e.TgZ(17,"div",11),e._UZ(18,"div",12),e.qZA(),e.YNc(19,dO,2,0,"span",8),e.YNc(20,mT,2,0,"span",8),e.YNc(21,gT,2,1,"span",8),e.qZA(),e.TgZ(22,"div",4)(23,"div",5),e._UZ(24,"input",13)(25,"button",14),e.qZA(),e.YNc(26,fO,2,0,"span",8),e.YNc(27,pO,2,0,"span",8),e.qZA(),e.TgZ(28,"cd-form-button-panel",15),e.NdJ("submitActionEvent",function(){return o.onSubmit()})("backActionEvent",function(){return o.onCancel()}),e.ALo(29,"titlecase"),e.ALo(30,"upperFirst"),e.qZA()()()),2&n){const l=e.MAs(6);e.xp6(5),e.Q6J("formGroup",o.userForm),e.xp6(6),e.Q6J("ngIf",o.userForm.showError("oldpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("oldpassword",l,"notmatch")),e.xp6(6),e.Tol(o.passwordStrengthLevelClass),e.s9C("title",o.passwordValuation),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("newpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("newpassword",l,"notmatch")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("newpassword",l,"passwordPolicy")),e.xp6(5),e.Q6J("ngIf",o.userForm.showError("confirmnewpassword",l,"required")),e.xp6(1),e.Q6J("ngIf",o.userForm.showError("confirmnewpassword",l,"match")),e.xp6(1),e.Q6J("form",o.userForm)("disabled",o.userForm.invalid)("submitText",e.lcZ(29,15,o.action)+" "+e.lcZ(30,17,o.resource))}},dependencies:[f.O5,rn._Y,rn.Fj,rn.JJ,rn.JL,rn.sg,rn.u,rl.p,Tu.U,oa.C,st.o,za.b,Va.P,Os.V,f.rS,Cu.m],styles:["cd-login-password-form h4{margin:0 0 30px} cd-login-password-form .form-group{background-color:#2e373d;border-left:4px solid #fff} cd-login-password-form .form-group:focus-within{border-left:4px solid #25828e} cd-login-password-form .btn-password, cd-login-password-form .btn-password:focus, cd-login-password-form .form-control, cd-login-password-form .form-control:focus{background-color:#2e373d;border:0;box-shadow:none;color:#f8f9fa;filter:none;outline:none} cd-login-password-form .form-control::placeholder{color:#6c757d} cd-login-password-form .btn-password:focus{outline-color:#25828e} cd-login-password-form button.btn:not(:first-child){margin-left:5px}@keyframes _ngcontent-%COMP%_autofill{to{background-color:#2e373d;color:#f8f9fa}}input[_ngcontent-%COMP%]:-webkit-autofill{animation-fill-mode:both;animation-name:_ngcontent-%COMP%_autofill;border-radius:0;box-shadow:0 0 0 1000px #2e373d inset;-webkit-text-fill-color:#f8f9fa;-webkit-transition-property:none;transition-property:none}.invalid-feedback[_ngcontent-%COMP%]{padding-left:9px}.is-invalid.cd-form-control[_ngcontent-%COMP%]{border-color:transparent}#oldpassword.is-valid[_ngcontent-%COMP%]{background-image:unset;border-color:transparent}"]}),t})();class _O{}function yT(t,i){1&t&&(e.TgZ(0,"div",21),e.SDv(1,22),e.qZA())}function ET(t,i){1&t&&(e.TgZ(0,"div",21),e.SDv(1,23),e.qZA())}function ST(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",1)(1,"h1",2),e._uU(2,"Ceph login"),e.qZA(),e.TgZ(3,"form",3,4),e.NdJ("ngSubmit",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.login())}),e.TgZ(5,"div",5)(6,"label",6),e.SDv(7,7),e.qZA(),e.TgZ(8,"input",8,9),e.NdJ("ngModelChange",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.model.username=l)}),e.qZA(),e.YNc(10,yT,2,0,"div",10),e.qZA(),e.TgZ(11,"div",11)(12,"div",12)(13,"div",13)(14,"label",14),e.SDv(15,15),e.qZA(),e.TgZ(16,"input",16,17),e.NdJ("ngModelChange",function(l){e.CHM(n);const _=e.oxw();return e.KtG(_.model.password=l)}),e.qZA(),e.YNc(18,ET,2,0,"div",10),e.qZA(),e.TgZ(19,"span",18),e._UZ(20,"button",19),e.qZA()()(),e._UZ(21,"input",20),e.qZA()()}if(2&t){const n=e.MAs(4),o=e.MAs(9),l=e.MAs(17),_=e.oxw();e.xp6(8),e.Q6J("ngModel",_.model.username),e.uIk("aria-invalid",o.invalid),e.xp6(2),e.Q6J("ngIf",(n.submitted||o.dirty)&&o.invalid),e.xp6(6),e.Q6J("ngModel",_.model.password),e.uIk("aria-invalid",l.invalid),e.xp6(2),e.Q6J("ngIf",(n.submitted||l.dirty)&&l.invalid),e.xp6(3),e.Q6J("disabled",n.invalid)}}let bT=(()=>{class t{constructor(n,o,l,_,v){this.authService=n,this.authStorageService=o,this.modalService=l,this.route=_,this.router=v,this.model=new _O,this.isLoginActive=!1,this.postInstalled=!1}ngOnInit(){if(this.authStorageService.isLoggedIn())this.router.navigate([""]);else{this.modalService.dismissAll();let n=null;if(-1!==window.location.hash.indexOf("access_token=")){n=window.location.hash.split("access_token=")[1];const o=window.location.toString();window.history.replaceState({},document.title,o.split("?")[0])}this.authService.check(n).subscribe(o=>{o.login_url?(this.postInstalled="POST_INSTALLED"===o.cluster_status,"#/login"===o.login_url?this.isLoginActive=!0:window.location.replace(o.login_url)):(this.authStorageService.set(o.username,o.permissions,o.sso,o.pwdExpirationDate),this.router.navigate([""]))})}}login(){this.authService.login(this.model).subscribe(()=>{const n=this.postInstalled?"/":"/expand-cluster";let o=Xe().get(this.route.snapshot.queryParams,"returnUrl",n);!this.postInstalled&&"/dashboard"===this.route.snapshot.queryParams.returnUrl&&(o="/expand-cluster"),this.router.navigate([o])})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(SE.e),e.Y36(Do.j),e.Y36(ca.Z),e.Y36(Ee.gz),e.Y36(Ee.F0))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-login"]],decls:1,vars:1,consts:function(){let i,n,o,l,_;return i="Username",n="Password",o="Log in",l="Username is required",_="Password is required",[["class","container",4,"ngIf"],[1,"container"],[1,"sr-only"],["name","loginForm","novalidate","",3,"ngSubmit"],["loginForm","ngForm"],[1,"form-group","has-feedback","d-flex","flex-column","py-3"],["for","username",1,"ps-3"],i,["id","username","name","username","type","text","aria-labelledby","username","required","","autofocus","",1,"form-control","ps-3",3,"ngModel","ngModelChange"],["username","ngModel"],["class","invalid-feedback ps-3",4,"ngIf"],["id","password-div",1,"form-group","has-feedback"],[1,"input-group","d-flex","flex-nowrap"],[1,"d-flex","flex-column","flex-grow-1","py-3"],["for","password",1,"ps-3"],n,["id","password","name","password","type","password","aria-labelledby","password","required","",1,"form-control","ps-3",3,"ngModel","ngModelChange"],["password","ngModel"],[1,"form-group-append"],["type","button","cdPasswordButton","password","aria-label","toggle-password",1,"btn","btn-outline-light","btn-password","h-100","px-4"],["type","submit","value",o,1,"btn","btn-accent","px-5","py-2",3,"disabled"],[1,"invalid-feedback","ps-3"],l,_]},template:function(n,o){1&n&&e.YNc(0,ST,22,7,"div",0),2&n&&e.Q6J("ngIf",o.isLoginActive)},dependencies:[f.O5,rn._Y,rn.Fj,rn.JJ,rn.JL,rn.Q7,rn.On,rn.F,Tu.U,oa.C,st.o,za.b,Va.P],styles:["cd-login .form-group{background-color:#2e373d;border-left:4px solid #fff;height:auto;margin-bottom:2rem} cd-login .form-group:focus-within{border-left:4px solid #25828e} cd-login .btn-password, cd-login .btn-password:focus, cd-login .form-control, cd-login .form-control:focus{background-color:#2e373d;border:0;box-shadow:none;color:#f8f9fa;filter:none;outline:none} cd-login label{color:#adb5bd} cd-login .btn-password:focus{outline-color:#25828e}@keyframes _ngcontent-%COMP%_autofill{to{background-color:#2e373d;color:#f8f9fa}}input[_ngcontent-%COMP%]:-webkit-autofill{animation-fill-mode:both;animation-name:_ngcontent-%COMP%_autofill;border-radius:0;box-shadow:0 0 0 1000px #2e373d inset;-webkit-text-fill-color:#f8f9fa;-webkit-transition-property:none;transition-property:none}"]}),t})();var TT=s(72625);function hO(t,i){if(1&t&&(e.TgZ(0,"h4",14),e._uU(1),e.qZA()),2&t){const n=e.oxw(2);e.xp6(1),e.Oqu(n.message)}}function LR(t,i){if(1&t&&(e.TgZ(0,"h4"),e.tHW(1,15),e._UZ(2,"a",16),e.N_p(),e.qZA()),2&t){const n=e.oxw(2);e.xp6(2),e.s9C("href",n.docUrl,e.LSH),e.pQV(n.sectionInfo),e.QtT(1)}}function CT(t,i){if(1&t&&(e.TgZ(0,"div"),e._UZ(1,"i",10),e.TgZ(2,"div",11)(3,"h3")(4,"b"),e._uU(5),e.qZA()(),e.YNc(6,hO,2,1,"h4",12),e.YNc(7,LR,3,2,"h4",13),e.qZA()()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",n.icon),e.xp6(4),e.Oqu(n.header),e.xp6(1),e.Q6J("ngIf",n.header!==n.message),e.xp6(1),e.Q6J("ngIf",n.section)}}function kR(t,i){if(1&t&&(e.TgZ(0,"button",20),e.SDv(1,21),e.qZA()),2&t){const n=e.oxw(2);e.Q6J("routerLink",n.buttonRoute),e.xp6(1),e.pQV(n.buttonName),e.QtT(1)}}function $R(t,i){if(1&t&&(e.TgZ(0,"button",22),e.SDv(1,23),e.qZA()),2&t){const n=e.oxw(2);e.Q6J("routerLink",n.secondaryButtonRoute),e.xp6(1),e.pQV(n.secondaryButtonName),e.QtT(1)}}function HR(t,i){if(1&t&&(e.TgZ(0,"div",17),e.YNc(1,kR,2,2,"button",18),e.YNc(2,$R,2,2,"button",19),e.qZA()),2&t){const n=e.oxw(),o=e.MAs(11);e.xp6(1),e.Q6J("ngIf",!n.uiConfig)("ngIfElse",o),e.xp6(1),e.Q6J("ngIf",n.secondaryButtonName&&n.secondaryButtonRoute)}}function mO(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",25),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.doConfigure())}),e.SDv(1,26),e.qZA()}if(2&t){const n=e.oxw(2);e.uIk("title",n.buttonTitle),e.xp6(1),e.pQV(n.buttonName),e.QtT(1)}}function gO(t,i){if(1&t&&e.YNc(0,mO,2,2,"button",24),2&t){const n=e.oxw();e.Q6J("ngIf",n.uiConfig)}}function UR(t,i){1&t&&(e._UZ(0,"i",27),e.TgZ(1,"div",11)(2,"h3"),e.tHW(3,28),e._UZ(4,"b"),e.N_p(),e.qZA(),e.TgZ(5,"h4",5),e.SDv(6,29),e.qZA()())}function BR(t,i){1&t&&(e.TgZ(0,"div",11)(1,"button",30),e.SDv(2,31),e.qZA()()),2&t&&(e.xp6(1),e.Q6J("routerLink","/dashboard"))}let GR=(()=>{class t{constructor(n,o,l,_){this.router=n,this.docService=o,this.http=l,this.notificationService=_}ngOnInit(){this.fetchData(),this.routerSubscription=this.router.events.pipe((0,y.h)(n=>n instanceof Ee.m2)).subscribe(()=>{this.fetchData()})}doConfigure(){this.http.post(`ui-api/${this.uiApiPath}/configure`,{}).subscribe({next:()=>{this.notificationService.show(Ho.k.info,`Configuring ${this.component}`)},error:n=>{this.notificationService.show(Ho.k.error,n)},complete:()=>{setTimeout(()=>{this.router.navigate([this.uiApiPath]),this.notificationService.show(Ho.k.success,`Configured ${this.component}`)},3e3)}})}unloadHandler(n){n.returnValue=!1}fetchData(){try{this.router.onSameUrlNavigation="reload",this.message=history.state.message,this.header=history.state.header,this.section=history.state.section,this.sectionInfo=history.state.section_info,this.icon=history.state.icon,this.source=history.state.source,this.uiConfig=history.state.uiConfig,this.uiApiPath=history.state.uiApiPath,this.buttonRoute=history.state.button_route,this.buttonName=history.state.button_name,this.buttonTitle=history.state.button_title,this.secondaryButtonRoute=history.state.secondary_button_route,this.secondaryButtonName=history.state.secondary_button_name,this.secondaryButtonTitle=history.state.secondary_button_title,this.component=history.state.component,this.docUrl=this.docService.urlGenerator(this.section)}catch{this.router.navigate(["/error"])}}ngOnDestroy(){this.routerSubscription&&this.routerSubscription.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ee.F0),e.Y36(TT.R),e.Y36(m.eN),e.Y36(Ui.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-error"]],hostBindings:function(n,o){1&n&&e.NdJ("beforeunload",function(_){return o.unloadHandler(_)},!1,e.Jf7)},decls:16,vars:4,consts:function(){let i,n,o,l,_,v,O;return i="Please consult the " + "\ufffd#2\ufffd" + "documentation" + "\ufffd/#2\ufffd" + " on how to configure and enable the " + "\ufffd0\ufffd" + " management functionality. ",n="" + "\ufffd0\ufffd" + "",o="" + "\ufffd0\ufffd" + "",l="" + "\ufffd0\ufffd" + "",_="" + "\ufffd#4\ufffd" + "Page not Found" + "\ufffd/#4\ufffd" + "",v="Sorry, we couldn\u2019t find what you were looking for. The page you requested may have been changed or moved.",O="Go To Dashboard",[["target","_blank"],[1,"container","h-75"],[1,"row","h-100","justify-content-center","align-items-center"],[1,"blank-page"],[4,"ngIf","ngIfElse"],[1,"mt-4"],["class","text-center",4,"ngIf","ngIfElse"],["configureButtonTpl",""],["elseBlock",""],["dashboardButton",""],[1,"mx-auto","d-block",3,"ngClass"],[1,"mt-4","text-center"],["class","mt-3",4,"ngIf"],[4,"ngIf"],[1,"mt-3"],i,[3,"href"],[1,"text-center"],["class","btn btn-primary ms-1",3,"routerLink",4,"ngIf","ngIfElse"],["class","btn btn-light ms-1",3,"routerLink",4,"ngIf"],[1,"btn","btn-primary","ms-1",3,"routerLink"],n,[1,"btn","btn-light","ms-1",3,"routerLink"],o,["class","btn btn-primary",3,"click",4,"ngIf"],[1,"btn","btn-primary",3,"click"],l,[1,"fa","fa-exclamation-triangle","mx-auto","d-block","text-danger"],_,v,[1,"btn","btn-primary",3,"routerLink"],O]},template:function(n,o){if(1&n&&(e.TgZ(0,"head")(1,"title"),e._uU(2,"Error Page"),e.qZA(),e._UZ(3,"base",0),e.qZA(),e.TgZ(4,"div",1)(5,"div",2)(6,"div",3),e.YNc(7,CT,8,4,"div",4),e.TgZ(8,"div",5),e.YNc(9,HR,3,3,"div",6),e.qZA()()()(),e.YNc(10,gO,1,1,"ng-template",null,7,e.W1O),e.YNc(12,UR,7,0,"ng-template",null,8,e.W1O),e.YNc(14,BR,3,1,"ng-template",null,9,e.W1O)),2&n){const l=e.MAs(13),_=e.MAs(15);e.xp6(7),e.Q6J("ngIf",o.header&&o.message)("ngIfElse",l),e.xp6(2),e.Q6J("ngIf",o.buttonName&&o.buttonRoute||o.uiConfig)("ngIfElse",_)}},dependencies:[f.mk,f.O5,Ee.rH,st.o],styles:["h4[_ngcontent-%COMP%]{color:#495057}i[_ngcontent-%COMP%]{font-size:6em;margin-top:120px}.fa-lock[_ngcontent-%COMP%]{color:#dc3545}.fa-wrench[_ngcontent-%COMP%]{color:#25828e}"]}),t})(),y0=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-blank-layout"]],decls:1,vars:0,template:function(n,o){1&n&&e._UZ(0,"router-outlet")},dependencies:[Ee.lC]}),t})();var vO=s(92340);let MT=(()=>{class t{constructor(n,o){this.http=n,this.localeId=o}getLocale(){return this.localeId||vO.N.default_lang}setLocale(n){document.cookie=`cd-lang=${n}`}getLanguages(){return this.http.get("ui-api/langs")}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN),e.LFG(e.soG))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var tg=(()=>{return(t=tg||(tg={})).cs="\u010ce\u0161tina",t.de="Deutsch",t["en-US"]="English",t.es="Espa\xf1ol",t.fr="Fran\xe7ais",t.id="Bahasa Indonesia",t.it="Italiano",t.ja="\u65e5\u672c\u8a9e",t.ko="\ud55c\uad6d\uc5b4",t.pl="Polski",t.pt="Portugu\xeas (brasileiro)",t["zh-Hans"]="\u4e2d\u6587 (\u7b80\u4f53)",t["zh-Hant"]="\u4e2d\u6587 (\u7e41\u9ad4\uff09",tg;var t})();function OT(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"button",4),e.NdJ("click",function(){const _=e.CHM(n).$implicit,v=e.oxw();return e.KtG(v.changeLanguage(_.key))}),e._uU(2),e.qZA(),e.BQk()}if(2&t){const n=i.$implicit;e.xp6(2),e.hij(" ",n.value," ")}}let CE=(()=>{class t{constructor(n){this.languageService=n,this.allLanguages=tg,this.supportedLanguages={}}ngOnInit(){this.selectedLanguage=this.languageService.getLocale(),this.languageService.getLanguages().subscribe(n=>{this.supportedLanguages=Xe().pick(tg,n)})}reloadWindow(){window.location.reload()}changeLanguage(n){this.languageService.setLocale(n),this.reloadWindow()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(MT))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-language-selector"]],decls:6,vars:4,consts:function(){let i;return i="Select a Language",[["ngbDropdown","","display","dynamic","placement","bottom-right"],["ngbDropdownToggle","","id","toggle-language-button","title",i,"role","button"],["ngbDropdownMenu","","role","listbox","aria-labelledby","toggle-language-button"],[4,"ngFor","ngForOf"],["ngbDropdownItem","","role","option",3,"click"]]},template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"a",1),e._uU(2),e.qZA(),e.TgZ(3,"div",2),e.YNc(4,OT,3,1,"ng-container",3),e.ALo(5,"keyvalue"),e.qZA()()),2&n&&(e.xp6(2),e.hij(" ",o.allLanguages[o.selectedLanguage]," "),e.xp6(2),e.Q6J("ngForOf",e.lcZ(5,2,o.supportedLanguages)))},dependencies:[f.sg,st.o,yi.jt,yi.iD,yi.Vi,yi.TH,f.Nd]}),t})(),YR=(()=>{class t{constructor(n){this.http=n,this.baseUiURL="ui-api/login/custom_banner"}getBannerText(){return this.http.get(this.baseUiURL)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function ME(t,i){if(1&t&&(e.TgZ(0,"p",1),e._uU(1),e.qZA()),2&t){const n=i.ngIf;e.xp6(1),e.Oqu(n)}}let AT=(()=>{class t{constructor(n){this.customLoginBannerService=n}ngOnInit(){this.bannerText$=this.customLoginBannerService.getBannerText()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(YR))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-custom-login-banner"]],decls:2,vars:3,consts:[["class","login-text",4,"ngIf"],[1,"login-text"]],template:function(n,o){1&n&&(e.YNc(0,ME,2,1,"p",0),e.ALo(1,"async")),2&n&&e.Q6J("ngIf",e.lcZ(1,1,o.bannerText$))},dependencies:[f.O5,f.Ov],styles:[".login-text[_ngcontent-%COMP%]{font-weight:700;margin:0;padding:12px 20% 12px 12px}"]}),t})();function yO(t,i){if(1&t&&(e.TgZ(0,"li",11)(1,"cd-doc",12),e.DtL(2,13),e.qZA()()),2&t){const n=i.$implicit;e.xp6(1),e.pQV(n.text),e.QtT(2),e.s9C("section",n.section)}}let jR=(()=>{class t{constructor(){this.docItems=[{section:"help",text:"Help"},{section:"security",text:"Security"},{section:"trademarks",text:"Trademarks"}]}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-login-layout"]],decls:16,vars:1,consts:function(){let i;return i="" + "\ufffd0\ufffd" + "",[[1,"login","full-height"],[1,"navbar","p-4"],[1,"navbar-brand"],[1,"form-inline"],[1,"container"],[1,"row","full-height"],[1,"col-sm-12","col-md-6","d-sm-block","login-form"],[1,"col-sm-12","col-md-6","d-sm-block","branding-info"],["src","assets/Ceph_Ceph_Logo_with_text_white.svg","alt","Ceph",1,"img-fluid","pb-3"],[1,"list-inline"],["class","list-inline-item p-3",4,"ngFor","ngForOf"],[1,"list-inline-item","p-3"],["noSubscribe","true",3,"section",6,"docText"],["docText",i]]},template:function(n,o){1&n&&(e.TgZ(0,"main",0)(1,"header")(2,"nav",1),e._UZ(3,"a",2),e.TgZ(4,"div",3),e._UZ(5,"cd-language-selector"),e.qZA()()(),e.TgZ(6,"section")(7,"div",4)(8,"div",5)(9,"div",6),e._UZ(10,"router-outlet"),e.qZA(),e.TgZ(11,"div",7),e._UZ(12,"img",8),e.TgZ(13,"ul",9),e.YNc(14,yO,3,2,"li",10),e.qZA(),e._UZ(15,"cd-custom-login-banner"),e.qZA()()()()()),2&n&&(e.xp6(14),e.Q6J("ngForOf",o.docItems))},dependencies:[f.sg,Ee.lC,CE,Ff.K,AT],styles:["cd-login-layout .login{background-color:#374249;background-image:url(ceph_background.3fbdf95cd52530d7.gif);background-position:right bottom;background-repeat:no-repeat;color:#f8f9fa} cd-login-layout .login header{position:absolute;width:100vw} cd-login-layout .login header .navbar .dropdown-menu{margin-top:.2rem} cd-login-layout .login header .navbar .dropdown-menu li a:hover{background-color:#25828e} cd-login-layout .login section{display:inline-flex;min-height:100vh;width:100vw} cd-login-layout .login .list-inline{margin-bottom:0;margin-left:17%} cd-login-layout .login a{color:#fff} cd-login-layout .login a:hover{color:#adb5bd}@media screen and (min-width: 576px){ cd-login-layout .login .login-form, cd-login-layout .login .branding-info{padding-top:30vh}}@media screen and (max-width: 767px){ cd-login-layout .login .login-form{padding-top:10vh} cd-login-layout .login .branding-info{padding-top:0}}"]}),t})(),DT=(()=>{class t{constructor(n,o,l){this.document=n,this.summaryService=o,this.cssHelper=l}init(){this.url=this.document.getElementById("cdFavicon")?.getAttribute("href"),this.sub=this.summaryService.subscribe(n=>{this.changeIcon(n.health_status)})}changeIcon(n){if(n===this.oldStatus)return;this.oldStatus=n;const o=this.document.getElementById("cdFavicon"),v=this.document.createElement("canvas");v.width=16,v.height=16;const O=v.getContext("2d"),P=this.document.createElement("img");P.src=this.url,P.onload=()=>{O.drawImage(P,0,0,16,16),Object.keys(qm).includes(n)&&(O.save(),O.globalCompositeOperation="destination-out",O.beginPath(),O.arc(v.width-4,4,6,0,2*Math.PI),O.fill(),O.restore(),O.beginPath(),O.arc(v.width-4,4,4,0,2*Math.PI),O.fillStyle=this.cssHelper.propertyValue(qm[n]),O.fill()),o.setAttribute("href",v.toDataURL("image/png"))}}ngOnDestroy(){this.changeIcon(),this.sub?.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(f.K0),e.LFG(zh.J),e.LFG(Ag.P))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})();var EO=s(71099),RT=s(59193),c1=s(68307),SO=s(77393);class bO{constructor(i,n){this.count=i,this.source=n}call(i,n){return n.subscribe(new VR(i,this.count,this.source))}}class VR extends SO.L{constructor(i,n,o){super(i),this.count=n,this.source=o}complete(){if(!this.isStopped){const{source:i,count:n}=this;if(0===n)return super.complete();n>-1&&(this.count=n-1),i.subscribe(this._unsubscribeAndRecycle())}}}var TO=s(2817);let CO=(()=>{class t{constructor(n){this.http=n,this.url="ui-api/motd"}get(){return this.http.get(this.url)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),xT=(()=>{class t{constructor(n){this.motdService=n,this.motdSource=new Wc.X(null),this.localStorageKey="dashboard_motd_hidden",this.motd$=this.motdSource.asObservable(),this.subscription=(0,Ps.of)(!0).pipe((0,dd.zg)(()=>this.motdService.get()),(0,eu.K)(o=>(yt.isFunction(o.preventDefault)&&o.preventDefault(),RT.E)),(0,c1.b)(o=>this.processResponse(o)),(0,Ar.g)(6e4),function zR(t=-1){return i=>0===t?(0,RT.c)():i.lift(new bO(t<0?-1:t-1,i))}(),(0,TO.r)()).subscribe()}ngOnDestroy(){this.subscription.unsubscribe()}hide(){const n=this.motdSource.getValue();if(n){const o=`${n.severity}:${n.md5}`;switch(n.severity){case"info":localStorage.setItem(this.localStorageKey,o),sessionStorage.removeItem(this.localStorageKey);break;case"warning":sessionStorage.setItem(this.localStorageKey,o),localStorage.removeItem(this.localStorageKey)}}this.motdSource.next(null)}processResponse(n){const o=sessionStorage.getItem(this.localStorageKey)||localStorage.getItem(this.localStorageKey);let l=yt.isNull(o);if(!l&&n){const[_,v]=o.split(":");(_!==n.severity||v!==n.md5)&&(l=!0,sessionStorage.removeItem(this.localStorageKey),localStorage.removeItem(this.localStorageKey))}l&&this.motdSource.next(n)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(CO))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class MO{constructor(i){if(this._maxConcurrency=i,this._queue=[],i<=0)throw new Error("semaphore must be initialized to a positive value");this._value=i}acquire(){const i=this.isLocked(),n=new Promise(o=>this._queue.push(o));return i||this._dispatch(),n}runExclusive(i){return function(t,i,n,o){return new(n||(n=Promise))(function(_,v){function O(K){try{G(o.next(K))}catch(oe){v(oe)}}function P(K){try{G(o.throw(K))}catch(oe){v(oe)}}function G(K){K.done?_(K.value):function l(_){return _ instanceof n?_:new n(function(v){v(_)})}(K.value).then(O,P)}G((o=o.apply(t,i||[])).next())})}(this,void 0,void 0,function*(){const[n,o]=yield this.acquire();try{return yield i(n)}finally{o()}})}isLocked(){return this._value<=0}release(){if(this._maxConcurrency>1)throw new Error("this method is unavailabel on semaphores with concurrency > 1; use the scoped release returned by acquire instead");this._currentReleaser&&(this._currentReleaser(),this._currentReleaser=void 0)}_dispatch(){const i=this._queue.shift();if(!i)return;let n=!1;this._currentReleaser=()=>{n||(n=!0,this._value++,this._dispatch())},i([this._value--,this._currentReleaser])}}class PT{constructor(){this._semaphore=new MO(1)}acquire(){return function(t,i,n,o){return new(n||(n=Promise))(function(_,v){function O(K){try{G(o.next(K))}catch(oe){v(oe)}}function P(K){try{G(o.throw(K))}catch(oe){v(oe)}}function G(K){K.done?_(K.value):function l(_){return _ instanceof n?_:new n(function(v){v(_)})}(K.value).then(O,P)}G((o=o.apply(t,i||[])).next())})}(this,void 0,void 0,function*(){const[,i]=yield this._semaphore.acquire();return i})}runExclusive(i){return this._semaphore.runExclusive(()=>i())}isLocked(){return this._semaphore.isLocked()}release(){this._semaphore.release()}}let AO=(()=>{class t{constructor(n,o){this.alertFormatter=n,this.prometheusService=o,this.backendFailure=!1,this.notifications=[]}refresh(){this.backendFailure||this.prometheusService.getNotifications(Xe().last(this.notifications)).subscribe(n=>this.handleNotifications(n),()=>this.backendFailure=!0)}handleNotifications(n){0!==n.length&&(this.notifications.length>0&&this.alertFormatter.sendNotifications(Xe().flatten(n.map(o=>this.formatNotification(o)))),this.notifications=this.notifications.concat(n))}formatNotification(n){return this.alertFormatter.convertToCustomAlerts(n.alerts).map(o=>this.alertFormatter.convertAlertToNotification(o))}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(o0),e.LFG(pm.Q))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var OE=s(57924),DO=s(90504);const NT=function(t,i){return[t,i]},gh=function(t,i,n,o){return[t,i,n,o]};function RO(t,i){if(1&t&&(e.TgZ(0,"div")(1,"div",11)(2,"div",12)(3,"div",13)(4,"span",14),e._UZ(5,"i",15)(6,"i",15),e.qZA()(),e.TgZ(7,"div",16)(8,"div",17)(9,"h6",18),e._uU(10),e.qZA(),e.TgZ(11,"div",19),e._UZ(12,"ngb-progressbar",20),e.qZA(),e.TgZ(13,"p",21)(14,"small",22),e._uU(15),e.ALo(16,"cdDate"),e.qZA(),e.TgZ(17,"span",23),e._uU(18),e.qZA()()()()()(),e._UZ(19,"hr"),e.qZA()),2&t){const n=i.$implicit,o=e.oxw(2);e.xp6(4),e.Q6J("ngClass",e.WLB(11,NT,o.icons.stack,o.icons.large2x)),e.xp6(1),e.Q6J("ngClass",e.WLB(14,NT,o.icons.stack2x,o.icons.circle)),e.xp6(1),e.Q6J("ngClass",e.l5B(17,gh,o.icons.stack1x,o.icons.spinner,o.icons.spin,o.icons.inverse)),e.xp6(4),e.Oqu(n.description),e.xp6(2),e.Q6J("value",null==n?null:n.progress)("striped",!0)("animated",!0),e.xp6(3),e.hij(" ",e.lcZ(16,9,n.begin_time)," "),e.xp6(3),e.hij(" ",n.progress||0," % ")}}function AE(t,i){if(1&t&&e.YNc(0,RO,20,22,"div",10),2&t){const n=e.oxw();e.Q6J("ngForOf",n.executingTasks)("ngForTrackBy",n.trackByFn)}}const av=function(t){return[t]};function xO(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",37),e.NdJ("click",function(){e.CHM(n);const l=e.oxw().$implicit,_=e.oxw(3);return e.KtG(_.silence(l))}),e._UZ(1,"i",15),e.qZA()}if(2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(1,av,n.icons.mute))}}function DE(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",38),e.NdJ("click",function(){e.CHM(n);const l=e.oxw().$implicit,_=e.oxw(3);return e.KtG(_.expire(l))}),e._UZ(1,"i",15),e.qZA()}if(2&t){const n=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.VKq(1,av,n.icons.bell))}}function IT(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"small"),e.ynx(2),e.SDv(3,39),e.BQk(),e._uU(4),e.ALo(5,"duration"),e.qZA(),e._UZ(6,"br"),e.BQk()),2&t){const n=e.oxw().$implicit;e.xp6(4),e.hij(" ",e.lcZ(5,1,n.duration)," ")}}const RE=function(t,i,n){return[t,i,n]};function wO(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",15)(1,"div",29)(2,"div",12)(3,"div",13)(4,"span",15),e._UZ(5,"i",15)(6,"i",15),e.qZA()(),e.TgZ(7,"div",30)(8,"div",17)(9,"button",31),e.NdJ("click",function(l){const v=e.CHM(n).index;return e.oxw(3).remove(v),e.KtG(l.stopPropagation())}),e._UZ(10,"i",15),e.qZA(),e.YNc(11,xO,2,3,"button",32),e.YNc(12,DE,2,3,"button",33),e.TgZ(13,"h6",18),e._uU(14),e.qZA(),e._UZ(15,"p",34),e.TgZ(16,"p",21),e.YNc(17,IT,7,3,"ng-container",24),e.TgZ(18,"small",35),e.ALo(19,"cdDate"),e._uU(20),e.ALo(21,"relativeDate"),e.qZA(),e._UZ(22,"i",36),e.qZA()()()()(),e._UZ(23,"hr"),e.qZA()}if(2&t){const n=i.$implicit,o=e.oxw(3);e.Q6J("ngClass",n.borderClass),e.xp6(4),e.Q6J("ngClass",e.kEZ(18,RE,o.icons.stack,o.icons.large2x,n.textClass)),e.xp6(1),e.Q6J("ngClass",e.WLB(22,NT,o.icons.circle,o.icons.stack2x)),e.xp6(1),e.Q6J("ngClass",e.kEZ(25,RE,o.icons.stack1x,o.icons.inverse,n.iconClass)),e.xp6(4),e.Q6J("ngClass",e.VKq(29,av,o.icons.trash)),e.xp6(1),e.Q6J("ngIf","Prometheus"===n.application&&2!==n.type&&!n.alertSilenced),e.xp6(1),e.Q6J("ngIf","Prometheus"===n.application&&2!==n.type&&n.alertSilenced),e.xp6(2),e.Oqu(n.title),e.xp6(1),e.Q6J("innerHtml",n.message,e.oJD),e.xp6(2),e.Q6J("ngIf",n.duration),e.xp6(1),e.Q6J("title",e.lcZ(19,14,n.timestamp)),e.xp6(2),e.Oqu(e.lcZ(21,16,n.timestamp)),e.xp6(2),e.Q6J("ngClass",e.VKq(31,av,n.applicationClass))("title",n.application)}}function FT(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"button",25),e.NdJ("click",function(l){return e.CHM(n),e.oxw(2).removeAll(),e.KtG(l.stopPropagation())}),e._UZ(2,"i",26),e._uU(3," \xa0 "),e.ynx(4),e.SDv(5,27),e.BQk(),e.qZA(),e._UZ(6,"hr"),e.YNc(7,wO,24,33,"div",28),e.BQk()}if(2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.VKq(2,av,n.icons.trash)),e.xp6(5),e.Q6J("ngForOf",n.notifications)}}function LT(t,i){if(1&t&&e.YNc(0,FT,8,4,"ng-container",24),2&t){const n=e.oxw();e.Q6J("ngIf",n.notifications.length>0)}}function PO(t,i){1&t&&(e.TgZ(0,"div")(1,"div",40),e.SDv(2,41),e.qZA()())}function kT(t,i){if(1&t&&e.YNc(0,PO,3,0,"div",24),2&t){const n=e.oxw();e.Q6J("ngIf",0===n.notifications.length&&0===n.executingTasks.length)}}function NO(t,i){1&t&&e.GkF(0)}function xE(t,i){1&t&&e.GkF(0)}function xm(t,i){1&t&&e.GkF(0)}let ng=(()=>{class t{constructor(n,o,l,_,v,O,P,G,K,oe){this.notificationService=n,this.summaryService=o,this.taskMessageService=l,this.prometheusNotificationService=_,this.succeededLabels=v,this.authStorageService=O,this.prometheusAlertService=P,this.prometheusService=G,this.ngZone=K,this.cdRef=oe,this.isSidebarOpened=!1,this.executingTasks=[],this.subs=new bd.w,this.icons=Rr.P,this.last_task="",this.mutex=new PT,this.simplebar={autoHide:!1},this.notifications=[]}ngOnDestroy(){window.clearInterval(this.interval),window.clearTimeout(this.timeout),this.subs.unsubscribe()}ngOnInit(){this.last_task=window.localStorage.getItem("last_task");const n=this.authStorageService.getPermissions();n.prometheus.read&&n.configOpt.read&&(this.triggerPrometheusAlerts(),this.ngZone.runOutsideAngular(()=>{this.interval=window.setInterval(()=>{this.ngZone.run(()=>{this.triggerPrometheusAlerts()})},5e3)})),this.subs.add(this.notificationService.data$.subscribe(o=>{this.notifications=Xe().orderBy(o,["timestamp"],["desc"]),this.cdRef.detectChanges()})),this.subs.add(this.notificationService.sidebarSubject.subscribe(o=>{this.isSidebarOpened=!o&&!this.isSidebarOpened,window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{this.cdRef.detectChanges()},0)})),this.subs.add(this.summaryService.subscribe(o=>{this._handleTasks(o.executing_tasks),this.mutex.acquire().then(l=>{Xe().filter(o.finished_tasks,_=>!this.last_task||Nt()(_.end_time).isAfter(this.last_task)).forEach(_=>{const v=this.notificationService.finishedTaskToNotification(_,_.success),O=new i1.e(v);O.timestamp=_.end_time,O.duration=_.duration,(!this.last_task||Nt()(_.end_time).isAfter(this.last_task))&&(this.last_task=_.end_time,window.localStorage.setItem("last_task",this.last_task)),this.notificationService.save(O)}),this.cdRef.detectChanges(),l()})}))}_handleTasks(n){for(const o of n)o.description=this.taskMessageService.getRunningTitle(o);this.executingTasks=n}triggerPrometheusAlerts(){this.prometheusAlertService.refresh(),this.prometheusNotificationService.refresh()}removeAll(){this.notificationService.removeAll()}remove(n){this.notificationService.remove(n)}closeSidebar(){this.isSidebarOpened=!1}trackByFn(n){return n}silence(n){const o="YYYY-MM-DD HH:mm",l="silence",_={name:"alertname",value:n.title.split(" ")[0],isRegex:!1},v={matchers:[_],startsAt:Nt()(Nt()().format(o)).toISOString(),endsAt:Nt()(Nt()().add(2,"hours").format(o)).toISOString(),createdBy:this.authStorageService.getUsername(),comment:"Silence created from the alert notification"};let O="";n.alertSilenced=!0,O=O.concat(` ${_.name} - ${_.value},`);const P=`${this.succeededLabels.CREATED} ${l} for ${O.slice(0,-1)}`;this.prometheusService.setSilence(v).subscribe(G=>{n&&(n.silenceId=G.body.silenceId),this.notificationService.show(Ho.k.success,P,void 0,void 0,"Prometheus")})}expire(n){n.alertSilenced=!1,this.prometheusService.expireSilence(n.silenceId).subscribe(()=>{this.notificationService.show(Ho.k.success,`${this.succeededLabels.EXPIRED} ${n.silenceId}`,void 0,void 0,"Prometheus")},o=>{o.application="Prometheus"})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ui.g),e.Y36(zh.J),e.Y36(OE.p),e.Y36(AO),e.Y36(yr.aX),e.Y36(Do.j),e.Y36(Km),e.Y36(pm.Q),e.Y36(e.R0b),e.Y36(e.sBO))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-notifications-sidebar"]],hostVars:2,hostBindings:function(n,o){2&n&&e.ekj("active",o.isSidebarOpened)},decls:16,vars:5,consts:function(){let i,n,o,l,_,v,O;return i="Tasks and Notifications",n="Clear notifications",o="Remove notification",l="Silence Alert",_="Expire Silence",v="Duration:",O="There are no notifications.",[["tasksTpl",""],["notificationsTpl",""],["emptyTpl",""],[1,"card",3,"clickOutsideEnabled","clickOutside"],[1,"card-header"],i,["tabindex","-1","type","button","title","close",1,"btn-close","float-end",3,"click"],[3,"options"],[1,"card-body"],[4,"ngTemplateOutlet"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"card","tc_task","border-0"],[1,"row","no-gutters"],[1,"col-md-2","text-center"],[1,"text-info",3,"ngClass"],[3,"ngClass"],[1,"col-md-9"],[1,"card-body","p-1"],[1,"card-title","bold"],[1,"mb-1"],["type","info",3,"value","striped","animated"],[1,"card-text","text-muted"],[1,"date","float-start"],[1,"float-end"],[4,"ngIf"],["type","button",1,"btn","btn-light","btn-block",3,"click"],["aria-hidden","true",3,"ngClass"],n,[3,"ngClass",4,"ngFor","ngForOf"],[1,"card","tc_notification","border-0"],[1,"col-md-10"],["title",o,1,"btn","btn-link","float-end","mt-0","pt-0",3,"click"],["class","btn btn-link float-end text-muted mute m-0 p-0","title",l,3,"click",4,"ngIf"],["class","btn btn-link float-end text-muted mute m-0 p-0","title",_,3,"click",4,"ngIf"],[1,"card-text",3,"innerHtml"],[1,"date",3,"title"],[1,"float-end","custom-icon",3,"ngClass","title"],["title",l,1,"btn","btn-link","float-end","text-muted","mute","m-0","p-0",3,"click"],["title",_,1,"btn","btn-link","float-end","text-muted","mute","m-0","p-0",3,"click"],v,[1,"message","text-center"],O]},template:function(n,o){if(1&n&&(e.YNc(0,AE,1,2,"ng-template",null,0,e.W1O),e.YNc(2,LT,1,1,"ng-template",null,1,e.W1O),e.YNc(4,kT,1,1,"ng-template",null,2,e.W1O),e.TgZ(6,"div",3),e.NdJ("clickOutside",function(){return o.closeSidebar()}),e.TgZ(7,"div",4),e.ynx(8),e.SDv(9,5),e.BQk(),e.TgZ(10,"button",6),e.NdJ("click",function(){return o.closeSidebar()}),e.qZA()(),e.TgZ(11,"ngx-simplebar",7)(12,"div",8),e.YNc(13,NO,1,0,"ng-container",9),e.YNc(14,xE,1,0,"ng-container",9),e.YNc(15,xm,1,0,"ng-container",9),e.qZA()()()),2&n){const l=e.MAs(1),_=e.MAs(3),v=e.MAs(5);e.xp6(6),e.Q6J("clickOutsideEnabled",o.isSidebarOpened),e.xp6(5),e.Q6J("options",o.simplebar),e.xp6(2),e.Q6J("ngTemplateOutlet",l),e.xp6(1),e.Q6J("ngTemplateOutlet",_),e.xp6(1),e.Q6J("ngTemplateOutlet",v)}},dependencies:[f.mk,f.sg,f.O5,f.tP,yi.Ly,st.o,DO._,Xm.M,Wf.h,Ve.N,HS.u],styles:["[_nghost-%COMP%]{bottom:10px;max-width:90vw;position:fixed;right:-350px;top:53px;transition:all .6s;width:350px;z-index:9}.active[_nghost-%COMP%]{right:20px}.card[_ngcontent-%COMP%]{height:100%}.card-body[_ngcontent-%COMP%]{padding-left:0;padding-right:5px;padding-top:3px}ngx-simplebar[_ngcontent-%COMP%]{height:calc(100% - 42.2px)}.separator[_ngcontent-%COMP%]{background-color:#e9ecef;color:#6c757d;font-size:1rem;padding:5px 12px}.btn-block[_ngcontent-%COMP%]{width:98%}.btn-link[_ngcontent-%COMP%] .fa-trash-o[_ngcontent-%COMP%]{color:#000}table[_ngcontent-%COMP%]{width:100%}.row[_ngcontent-%COMP%]{margin-left:0;margin-right:0;padding-bottom:1rem;padding-top:1rem}hr[_ngcontent-%COMP%]{margin-bottom:2px;margin-top:2px}"],changeDetection:0}),t})();var $T=s(9837),wE=s(51907);function HT(t,i){1&t&&(e.TgZ(0,"div"),e.tHW(1,3),e._UZ(2,"strong")(3,"a",4),e.N_p(),e.qZA())}function IO(t,i){if(1&t&&(e.TgZ(0,"div"),e.tHW(1,5),e._UZ(2,"strong")(3,"a",4),e.N_p(),e.qZA()),2&t){const n=e.oxw(2);e.xp6(3),e.pQV(n.expirationDays),e.QtT(1)}}function WR(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-alert-panel",1),e.NdJ("dismissed",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onDismissed())}),e.YNc(1,HT,4,0,"div",2),e.YNc(2,IO,4,1,"div",2),e.qZA()}if(2&t){const n=e.oxw();e.Q6J("type",n.alertType)("showTitle",!1)("dismissible","danger"!==n.alertType),e.xp6(1),e.Q6J("ngIf",0===n.expirationDays),e.xp6(1),e.Q6J("ngIf",n.expirationDays>0)}}let FO=(()=>{class t{constructor(n,o){this.settingsService=n,this.authStorageService=o,this.displayNotification=!1}ngOnInit(){this.settingsService.getStandardSettings().subscribe(n=>{this.pwdExpirationSettings=new wE.G(n);const o=this.authStorageService.getPwdExpirationDate();o&&(this.expirationDays=this.getExpirationDays(o),this.alertType=this.expirationDays<=this.pwdExpirationSettings.pwdExpirationWarning2?"danger":"warning",this.displayNotification=this.expirationDays<=this.pwdExpirationSettings.pwdExpirationWarning1,this.authStorageService.isPwdDisplayedSource.next(this.displayNotification))})}ngOnDestroy(){this.authStorageService.isPwdDisplayedSource.next(!1)}getExpirationDays(n){const o=new Date,l=new Date(1e3*n);return Math.floor((l.valueOf()-o.valueOf())/864e5)}onDismissed(){this.authStorageService.isPwdDisplayedSource.next(!1),this.displayNotification=!1}}return t.\u0275fac=function(n){return new(n||t)(e.Y36($T.g),e.Y36(Do.j))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-pwd-expiration-notification"]],decls:1,vars:1,consts:function(){let i,n;return i="Your password will expire in " + "\ufffd#2\ufffd" + "less than 1" + "\ufffd/#2\ufffd" + " day. Click " + "\ufffd#3\ufffd" + "here" + "\ufffd/#3\ufffd" + " to change it now.",n="Your password will expire in " + "\ufffd#2\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#2\ufffd" + " day(s). Click " + "\ufffd#3\ufffd" + "here" + "\ufffd/#3\ufffd" + " to change it now.",[["class","no-margin-bottom","size","slim",3,"type","showTitle","dismissible","dismissed",4,"ngIf"],["size","slim",1,"no-margin-bottom",3,"type","showTitle","dismissible","dismissed"],[4,"ngIf"],i,["routerLink","/user-profile/edit",1,"alert-link"],n]},template:function(n,o){1&n&&e.YNc(0,WR,3,5,"cd-alert-panel",0),2&n&&e.Q6J("ngIf",o.displayNotification)},dependencies:[f.O5,Ee.rH,Zu.G],styles:[".no-margin-bottom[_ngcontent-%COMP%]{margin-bottom:0}"]}),t})();function LO(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-alert-panel",1),e.NdJ("dismissed",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onDismissed())}),e.TgZ(1,"div"),e.tHW(2,2),e._UZ(3,"a",3)(4,"a",4),e.N_p(),e.qZA()()}if(2&t){const n=e.oxw();e.Q6J("showTitle",!1)("type",n.notificationSeverity)("dismissible","danger"!==n.notificationSeverity)}}let kO=(()=>{class t{constructor(n,o,l,_){this.mgrModuleService=n,this.authStorageService=o,this.notificationService=l,this.telemetryNotificationService=_,this.displayNotification=!1,this.notificationSeverity="warning"}ngOnInit(){if(this.telemetryNotificationService.update.subscribe(n=>{this.displayNotification=n}),!this.isNotificationHidden()){const n=this.authStorageService.getPermissions().configOpt;Xe().every(Object.values(n))&&this.mgrModuleService.getConfig("telemetry").subscribe(o=>{o.enabled||this.telemetryNotificationService.setVisibility(!0)})}}ngOnDestroy(){this.telemetryNotificationService.setVisibility(!1)}isNotificationHidden(){return"true"===localStorage.getItem("telemetry_notification_hidden")}onDismissed(){this.telemetryNotificationService.setVisibility(!1),localStorage.setItem("telemetry_notification_hidden","true"),this.notificationService.show(Ho.k.success,"Telemetry activation reminder muted","You can activate the module on the Telemetry configuration page (<b>Dashboard Settings</b> -> <b>Telemetry configuration</b>) at any time.")}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(H_.N),e.Y36(Do.j),e.Y36(Ui.g),e.Y36(Wy))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-telemetry-notification"]],decls:1,vars:1,consts:function(){let i;return i="The Ceph community needs your help to continue improving: please " + "\ufffd#3\ufffd" + "Activate" + "[\ufffd/#3\ufffd|\ufffd/#4\ufffd]" + " the " + "\ufffd#4\ufffd" + "Telemetry" + "[\ufffd/#3\ufffd|\ufffd/#4\ufffd]" + " module.",i=e.Zx4(i),[["class","no-margin-bottom","size","slim",3,"showTitle","type","dismissible","dismissed",4,"ngIf"],["size","slim",1,"no-margin-bottom",3,"showTitle","type","dismissible","dismissed"],i,["routerLink","/telemetry",1,"btn","activate-button","alert-link","activate-text"],["href","https://docs.ceph.com/en/latest/mgr/telemetry/"]]},template:function(n,o){1&n&&e.YNc(0,LO,5,3,"cd-alert-panel",0),2&n&&e.Q6J("ngIf",o.displayNotification)},dependencies:[f.O5,Ee.rH,Zu.G],styles:[".no-margin-bottom[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:0}.activate-button[_ngcontent-%COMP%]{background-color:#fcecba;border:#495057 solid .5px;border-radius:10%;padding:.1rem .4rem}.activate-text[_ngcontent-%COMP%]{color:#495057;font-weight:700}a[_ngcontent-%COMP%]{color:#1a5d66;font-weight:700}"]}),t})();var $O=s(60793);function UT(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-alert-panel",1),e.NdJ("dismissed",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.onDismissed())}),e._UZ(1,"span",2),e.ALo(2,"sanitizeHtml"),e.qZA()}if(2&t){const n=e.oxw();e.Q6J("showTitle",!1)("type",n.motd.severity)("dismissible","danger"!==n.motd.severity),e.xp6(1),e.Q6J("innerHTML",e.lcZ(2,4,n.motd.message),e.oJD)}}let JR=(()=>{class t{constructor(n){this.motdNotificationService=n,this.motd=void 0}ngOnInit(){this.subscription=this.motdNotificationService.motd$.subscribe(n=>{this.motd=n})}ngOnDestroy(){this.subscription.unsubscribe()}onDismissed(){this.motdNotificationService.hide()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(xT))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-motd"]],decls:1,vars:1,consts:[["size","slim",3,"showTitle","type","dismissible","dismissed",4,"ngIf"],["size","slim",3,"showTitle","type","dismissible","dismissed"],[3,"innerHTML"]],template:function(n,o){1&n&&e.YNc(0,UT,3,6,"cd-alert-panel",0),2&n&&e.Q6J("ngIf",o.motd)},dependencies:[f.O5,Zu.G,$O.A]}),t})();function BT(t,i){1&t&&e._UZ(0,"span",5)}const HO=function(t){return{running:t}},GT=function(t){return[t]};let QR=(()=>{class t{constructor(n,o){this.notificationService=n,this.summaryService=o,this.icons=Rr.P,this.hasRunningTasks=!1,this.hasNotifications=!1,this.subs=new bd.w}ngOnInit(){this.subs.add(this.summaryService.subscribe(n=>{this.hasRunningTasks=n.executing_tasks.length>0})),this.subs.add(this.notificationService.data$.subscribe(n=>{this.hasNotifications=n.length>0}))}ngOnDestroy(){this.subs.unsubscribe()}toggleSidebar(){this.notificationService.toggleSidebar()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ui.g),e.Y36(zh.J))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-notifications"]],decls:5,vars:7,consts:function(){let i,n;return i="Tasks and Notifications",n="Tasks and Notifications",[["title",i,3,"ngClass","click"],[3,"ngClass"],["class","dot",4,"ngIf"],[1,"d-md-none"],n,[1,"dot"]]},template:function(n,o){1&n&&(e.TgZ(0,"a",0),e.NdJ("click",function(){return o.toggleSidebar()}),e._UZ(1,"i",1),e.YNc(2,BT,1,0,"span",2),e.TgZ(3,"span",3),e.SDv(4,4),e.qZA()()),2&n&&(e.Q6J("ngClass",e.VKq(3,HO,o.hasRunningTasks)),e.xp6(1),e.Q6J("ngClass",e.VKq(5,GT,o.icons.bell)),e.xp6(1),e.Q6J("ngIf",o.hasNotifications))},dependencies:[f.mk,f.O5],styles:[".running[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#25828e}.running[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%]{color:#fff}a[_ngcontent-%COMP%] .dot[_ngcontent-%COMP%]{background-color:#2b99a8;border:2px solid #374249;border-radius:50%;height:11px;position:absolute;right:17px;top:10px;width:10px}a[_ngcontent-%COMP%]:hover .dot[_ngcontent-%COMP%]{background-color:#fff;border-color:#2b99a8}"]}),t})(),PE=(()=>{class t{constructor(n){this.http=n,this.baseUIURL="api/feedback"}isKeyExist(){return this.http.get("ui-api/feedback/api_key/exist")}createIssue(n,o,l,_,v){return this.http.post("api/feedback",{project:n,tracker:o,subject:l,description:_,api_key:v},{headers:{Accept:"application/vnd.ceph.api.v0.1+json"}})}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function YT(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"cd-alert-panel",30),e.tHW(1,31),e.TgZ(2,"a",32),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.redirect())}),e.qZA(),e.N_p(),e.qZA()}}function jT(t,i){1&t&&(e.TgZ(0,"span",37),e.SDv(1,38),e.qZA())}function zT(t,i){1&t&&(e.TgZ(0,"span",37),e.SDv(1,39),e.qZA())}function VT(t,i){if(1&t&&(e.TgZ(0,"div",33)(1,"label",34),e.SDv(2,35),e.qZA(),e.TgZ(3,"div",12),e._UZ(4,"input",36),e.YNc(5,jT,2,0,"span",17),e.YNc(6,zT,2,0,"span",17),e.qZA()()),2&t){const n=e.oxw(),o=e.MAs(5);e.xp6(5),e.Q6J("ngIf",n.feedbackForm.showError("api_key",o,"required")),e.xp6(1),e.Q6J("ngIf",n.feedbackForm.showError("api_key",o,"invalidApiKey"))}}function ZT(t,i){if(1&t&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(n)}}function E0(t,i){1&t&&(e.TgZ(0,"span",37),e.SDv(1,41),e.qZA())}function S0(t,i){if(1&t&&(e.TgZ(0,"option",40),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(n)}}function WT(t,i){1&t&&(e.TgZ(0,"span",37),e.SDv(1,42),e.qZA())}function UO(t,i){1&t&&(e.TgZ(0,"span",37),e.SDv(1,43),e.qZA())}function BO(t,i){1&t&&(e.TgZ(0,"span",37),e.SDv(1,44),e.qZA())}let GO=(()=>{class t{constructor(n,o,l,_,v,O){this.feedbackService=n,this.activeModal=o,this.actionLabels=l,this.secondaryModal=_,this.notificationService=v,this.router=O,this.title="Feedback",this.project=["dashboard","block","objects","file_system","ceph_manager","orchestrator","ceph_volume","core_ceph"],this.tracker=["bug","feature"],this.isAPIKeySet=!1,this.isFeedbackEnabled=!0}ngOnInit(){this.createForm(),this.keySub=this.feedbackService.isKeyExist().subscribe({next:n=>{this.isAPIKeySet=n,this.isAPIKeySet&&this.feedbackForm.get("api_key").clearValidators()},error:()=>{this.isFeedbackEnabled=!1,this.feedbackForm.disable()}})}createForm(){this.feedbackForm=new fu.d({project:new rn.p4("",rn.kI.required),tracker:new rn.p4("",rn.kI.required),subject:new rn.p4("",rn.kI.required),description:new rn.p4("",rn.kI.required),api_key:new rn.p4("",rn.kI.required)})}ngOnDestroy(){this.keySub.unsubscribe()}onSubmit(){this.feedbackService.createIssue(this.feedbackForm.controls.project.value,this.feedbackForm.controls.tracker.value,this.feedbackForm.controls.subject.value,this.feedbackForm.controls.description.value,this.feedbackForm.controls.api_key.value).subscribe({next:n=>{this.notificationService.show(Ho.k.success,"Issue successfully created on Ceph Issue tracker",`Go to the tracker: <a href="https://tracker.ceph.com/issues/${n.message.issue.id}" target="_blank"> ${n.message.issue.id} </a>`)},error:()=>{this.feedbackForm.get("api_key").setErrors({invalidApiKey:!0}),this.feedbackForm.setErrors({cdSubmitButton:!0})},complete:()=>{this.activeModal.close()}})}redirect(){this.activeModal.close(),this.router.navigate(["/mgr-modules"])}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(PE),e.Y36(yi.Kz),e.Y36(yr.p4),e.Y36(yi.FF),e.Y36(Ui.g),e.Y36(Ee.F0))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-feedback"]],decls:42,vars:12,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue,pe,ye,Ue;return i="Report an issue",n="Project name",o="-- Select a project --",l="Tracker",_="-- Select a tracker --",v="Subject",O="Description",P="Feedback module is not enabled. Please enable it from " + "\ufffd#2\ufffd" + "Cluster-> Manager Modules." + "\ufffd/#2\ufffd" + "",G="Ceph Tracker API Key",K="Ceph Tracker API key is required.",oe="Ceph Tracker API key is invalid.",ue="Project name is required.",pe="Tracker name is required.",ye="Subject is required.",Ue="Description is required.",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","feedbackForm",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],["type","error",4,"ngIf"],["class","form-group row mt-3",4,"ngIf"],[1,"form-group","row"],["for","project",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["id","project","formControlName","project",1,"form-control"],["ngValue",""],o,[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],["for","tracker",1,"cd-col-form-label","required"],l,["id","tracker","formControlName","tracker",1,"form-control"],_,["for","subject",1,"cd-col-form-label","required"],v,["id","subject","type","text","formControlName","subject","placeholder","Add issue title",1,"form-control"],["for","description",1,"cd-col-form-label","required"],O,["id","description","type","text","formControlName","description","placeholder","Add issue description",1,"form-control"],[1,"modal-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],["type","error"],P,[3,"click"],[1,"form-group","row","mt-3"],["for","api_key",1,"cd-col-form-label","required"],G,["id","api_key","type","password","formControlName","api_key","placeholder","Add Ceph tracker API key",1,"form-control"],[1,"invalid-feedback"],K,oe,[3,"value"],ue,pe,ye,Ue]},template:function(n,o){if(1&n&&(e.TgZ(0,"cd-modal",0)(1,"div",1),e.SDv(2,2),e.qZA(),e.TgZ(3,"div",3)(4,"form",4,5)(6,"div",6),e.YNc(7,YT,3,0,"cd-alert-panel",7),e.YNc(8,VT,7,2,"div",8),e.TgZ(9,"div",9)(10,"label",10),e.SDv(11,11),e.qZA(),e.TgZ(12,"div",12)(13,"select",13)(14,"option",14),e.SDv(15,15),e.qZA(),e.YNc(16,ZT,2,2,"option",16),e.qZA(),e.YNc(17,E0,2,0,"span",17),e.qZA()(),e.TgZ(18,"div",9)(19,"label",18),e.SDv(20,19),e.qZA(),e.TgZ(21,"div",12)(22,"select",20)(23,"option",14),e.SDv(24,21),e.qZA(),e.YNc(25,S0,2,2,"option",16),e.qZA(),e.YNc(26,WT,2,0,"span",17),e.qZA()(),e.TgZ(27,"div",9)(28,"label",22),e.SDv(29,23),e.qZA(),e.TgZ(30,"div",12),e._UZ(31,"input",24),e.YNc(32,UO,2,0,"span",17),e.qZA()(),e.TgZ(33,"div",9)(34,"label",25),e.SDv(35,26),e.qZA(),e.TgZ(36,"div",12)(37,"textarea",27),e._uU(38," "),e.qZA(),e.YNc(39,BO,2,0,"span",17),e.qZA()()(),e.TgZ(40,"div",28)(41,"cd-form-button-panel",29),e.NdJ("submitActionEvent",function(){return o.onSubmit()}),e.qZA()()()()()),2&n){const l=e.MAs(5);e.Q6J("modalRef",o.activeModal),e.xp6(4),e.Q6J("formGroup",o.feedbackForm),e.xp6(3),e.Q6J("ngIf",!o.isFeedbackEnabled),e.xp6(1),e.Q6J("ngIf",!o.isAPIKeySet),e.xp6(8),e.Q6J("ngForOf",o.project),e.xp6(1),e.Q6J("ngIf",o.feedbackForm.showError("project",l,"required")),e.xp6(8),e.Q6J("ngForOf",o.tracker),e.xp6(1),e.Q6J("ngIf",o.feedbackForm.showError("tracker",l,"required")),e.xp6(6),e.Q6J("ngIf",o.feedbackForm.showError("subject",l,"required")),e.xp6(7),e.Q6J("ngIf",o.feedbackForm.showError("description",l,"required")),e.xp6(2),e.Q6J("form",o.feedbackForm)("submitText",o.actionLabels.SUBMIT)}},dependencies:[f.sg,f.O5,al.z,Zu.G,rl.p,st.o,za.b,Va.P,Os.V,rn._Y,rn.YN,rn.Kr,rn.Fj,rn.EJ,rn.JJ,rn.JL,rn.sg,rn.u]}),t})();var KR=s(97057);let XR=(()=>{class t{constructor(n,o,l,_){this.activeModal=n,this.summaryService=o,this.userService=l,this.authStorageService=_,this.userPermission=this.authStorageService.getPermissions().user}ngOnInit(){this.projectConstants=yr.$x,this.hostAddr=window.location.hostname,this.modalVariables=this.setVariables(),this.subs=this.summaryService.subscribe(n=>{const o=n.version.replace("ceph version ","").split(" ");this.hostAddr=n.mgr_host.replace(/(^\w+:|^)\/\//,"").replace(/\/$/,""),this.versionNumber=o[0],this.versionHash=o[1],this.versionName=o.slice(2,o.length).join(" ")})}ngOnDestroy(){this.subs.unsubscribe()}setVariables(){const n={};n.user=localStorage.getItem("dashboard_username"),n.role="user",this.userPermission.read&&this.userService.get(n.user).subscribe(l=>{n.role=l.roles});const o=(0,KR.qY)();return n.browserName=o&&o.name?o.name:"Not detected",n.browserVersion=o&&o.version?o.version:"Not detected",n.browserOS=o&&o.os?o.os:"Not detected",n}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yi.Kz),e.Y36(zh.J),e.Y36(eg.K),e.Y36(Do.j))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-about"]],decls:44,vars:13,consts:[[1,"about-container"],[1,"modal-header"],["type","button","aria-label","Close",1,"btn-close","float-end",3,"click"],[1,"modal-body"],["src","assets/Ceph_Ceph_Logo_with_text_red_white.svg",1,"ceph-logo",3,"alt"],[1,"product-versions"],[1,"modal-footer"],[1,"text-left"]],template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"div",1)(2,"button",2),e.NdJ("click",function(){return o.activeModal.close()}),e.qZA()(),e.TgZ(3,"div",3),e._UZ(4,"img",4),e.TgZ(5,"h3")(6,"strong"),e._uU(7),e.qZA()(),e.TgZ(8,"div",5)(9,"strong"),e._uU(10,"Version"),e.qZA(),e._UZ(11,"br"),e._uU(12),e._UZ(13,"br"),e._uU(14),e.qZA(),e._UZ(15,"br"),e.TgZ(16,"dl")(17,"dt"),e._uU(18,"Ceph Manager"),e.qZA(),e.TgZ(19,"dd"),e._uU(20),e.qZA(),e.TgZ(21,"dt"),e._uU(22,"User"),e.qZA(),e.TgZ(23,"dd"),e._uU(24),e.qZA(),e.TgZ(25,"dt"),e._uU(26,"User Role"),e.qZA(),e.TgZ(27,"dd"),e._uU(28),e.qZA(),e.TgZ(29,"dt"),e._uU(30,"Browser"),e.qZA(),e.TgZ(31,"dd"),e._uU(32),e.qZA(),e.TgZ(33,"dt"),e._uU(34,"Browser Version"),e.qZA(),e.TgZ(35,"dd"),e._uU(36),e.qZA(),e.TgZ(37,"dt"),e._uU(38,"Browser OS"),e.qZA(),e.TgZ(39,"dd"),e._uU(40),e.qZA()()(),e.TgZ(41,"div",6)(42,"div",7),e._uU(43),e.qZA()()()),2&n&&(e.xp6(4),e.s9C("alt",o.projectConstants.organization),e.xp6(3),e.Oqu(o.projectConstants.projectName),e.xp6(5),e.AsE(" ",o.versionNumber," ",o.versionHash," "),e.xp6(2),e.hij(" ",o.versionName," "),e.xp6(6),e.Oqu(o.hostAddr),e.xp6(4),e.Oqu(o.modalVariables.user),e.xp6(4),e.Oqu(o.modalVariables.role),e.xp6(4),e.Oqu(o.modalVariables.browserName),e.xp6(4),e.Oqu(o.modalVariables.browserVersion),e.xp6(4),e.Oqu(o.modalVariables.browserOS),e.xp6(3),e.AsE(" ",o.projectConstants.copyright," ",o.projectConstants.license," "))},dependencies:[st.o],styles:[".about-container[_ngcontent-%COMP%]{background-color:#374249;background-image:url(ceph_background.3fbdf95cd52530d7.gif);background-position:right bottom;background-repeat:no-repeat;color:#fff;text-shadow:1px 1px #374249}.product-versions[_ngcontent-%COMP%]{margin-top:30px}.product-versions[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px}.modal-header[_ngcontent-%COMP%]{border-bottom:0}.modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{color:#fff;font-size:2em}.modal-body[_ngcontent-%COMP%]{padding-left:80px;padding-right:80px}.ceph-logo[_ngcontent-%COMP%]{margin-bottom:30px;width:25%}.modal-footer[_ngcontent-%COMP%]{border-top:0;display:block;padding:15px 80px 35px}"]}),t})();const JT=function(t){return[t]},YO=function(t){return{disabled:t}};let jO=(()=>{class t{constructor(n,o){this.modalService=n,this.docService=o,this.icons=Rr.P}ngOnInit(){this.docService.subscribeOnce("dashboard",n=>{this.docsUrl=n})}openAboutModal(){this.modalRef=this.modalService.show(XR,null,{size:"lg"})}openFeedbackModal(){this.bsModalRef=this.modalService.show(GO,null,{size:"lg"})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(ca.Z),e.Y36(TT.R))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-dashboard-help"]],decls:14,vars:7,consts:function(){let i,n,o,l,_,v;return i="Help",n="Help",o="documentation",l="API",_="About",v="Report an issue...",[["ngbDropdown","","placement","bottom-right"],["ngbDropdownToggle","","title",i,"role","button"],[3,"ngClass"],[1,"d-md-none"],n,["ngbDropdownMenu",""],["ngbDropdownItem","","target","_blank",1,"text-capitalize",3,"ngClass","href"],o,["ngbDropdownItem","","routerLink","/api-docs","target","_blank"],l,["ngbDropdownItem","",3,"click"],_,v]},template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"a",1),e._UZ(2,"i",2),e.TgZ(3,"span",3),e.SDv(4,4),e.qZA()(),e.TgZ(5,"div",5)(6,"a",6),e.SDv(7,7),e.qZA(),e.TgZ(8,"button",8),e.SDv(9,9),e.qZA(),e.TgZ(10,"button",10),e.NdJ("click",function(){return o.openAboutModal()}),e.SDv(11,11),e.qZA(),e.TgZ(12,"button",10),e.NdJ("click",function(){return o.openFeedbackModal()}),e.SDv(13,12),e.qZA()()()),2&n&&(e.xp6(2),e.Q6J("ngClass",e.VKq(3,JT,o.icons.questionCircle)),e.xp6(4),e.s9C("href",o.docsUrl,e.LSH),e.Q6J("ngClass",e.VKq(5,YO,!o.docsUrl)))},dependencies:[f.mk,yi.jt,yi.iD,yi.Vi,yi.TH,Ee.rH,st.o]}),t})();function zO(t,i){1&t&&(e.TgZ(0,"button",9),e.SDv(1,10),e.qZA())}function qR(t,i){1&t&&(e.TgZ(0,"button",11),e.SDv(1,12),e.qZA())}const e3=function(t){return[t]};function t3(t,i){if(1&t&&(e.TgZ(0,"div",1)(1,"a",2),e._UZ(2,"i",3),e.TgZ(3,"span",4),e.SDv(4,5),e.qZA()(),e.TgZ(5,"div",6),e.YNc(6,zO,2,0,"button",7),e.YNc(7,qR,2,0,"button",8),e.qZA()()),2&t){const n=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(3,e3,n.icons.deepCheck)),e.xp6(4),e.Q6J("ngIf",n.userPermission.read),e.xp6(1),e.Q6J("ngIf",n.configOptPermission.read)}}let n3=(()=>{class t{constructor(n){this.authStorageService=n,this.icons=Rr.P;const o=this.authStorageService.getPermissions();this.userPermission=o.user,this.configOptPermission=o.configOpt}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-administration"]],decls:1,vars:1,consts:function(){let i,n,o,l;return i="Dashboard Settings",n="Dashboard Settings",o="User management",l="Telemetry configuration",[["ngbDropdown","","placement","bottom-right",4,"ngIf"],["ngbDropdown","","placement","bottom-right"],["ngbDropdownToggle","","title",i,"role","button",1,"dropdown-toggle"],[3,"ngClass"],[1,"d-md-none"],n,["ngbDropdownMenu",""],["ngbDropdownItem","","routerLink","/user-management",4,"ngIf"],["ngbDropdownItem","","routerLink","/telemetry",4,"ngIf"],["ngbDropdownItem","","routerLink","/user-management"],o,["ngbDropdownItem","","routerLink","/telemetry"],l]},template:function(n,o){1&n&&e.YNc(0,t3,8,5,"div",0),2&n&&e.Q6J("ngIf",o.userPermission.read)},dependencies:[f.mk,f.O5,yi.jt,yi.iD,yi.Vi,yi.TH,Ee.rH,st.o]}),t})();const QT=function(t){return[t]};function VO(t,i){if(1&t&&(e.TgZ(0,"button",12),e._UZ(1,"i",2),e.TgZ(2,"span"),e.SDv(3,13),e.qZA()()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",e.VKq(1,QT,n.icons.lock))}}let b0=(()=>{class t{constructor(n,o){this.authStorageService=n,this.authService=o,this.icons=Rr.P}ngOnInit(){this.username=this.authStorageService.getUsername(),this.sso=this.authStorageService.isSSO()}logout(){this.authService.logout()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(SE.e))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-identity"]],decls:15,vars:8,consts:function(){let i,n,o,l,_;return i="Logged in user",n="Logged in user",o="Signed in as " + "\ufffd#8\ufffd" + "" + "\ufffd0\ufffd" + "" + "\ufffd/#8\ufffd" + "",l="Sign out",_="Change password",[["ngbDropdown","","placement","bottom-right"],["ngbDropdownToggle","","title",i,"role","button"],[3,"ngClass"],[1,"d-md-none"],n,["ngbDropdownMenu",""],["ngbDropdownItem","","disabled",""],o,[1,"dropdown-divider"],["ngbDropdownItem","","routerLink","/user-profile/edit",4,"ngIf"],["ngbDropdownItem","",3,"click"],l,["ngbDropdownItem","","routerLink","/user-profile/edit"],_]},template:function(n,o){1&n&&(e.TgZ(0,"div",0)(1,"a",1),e._UZ(2,"i",2),e.TgZ(3,"span",3),e.SDv(4,4),e.qZA()(),e.TgZ(5,"div",5)(6,"button",6),e.tHW(7,7),e._UZ(8,"strong"),e.N_p(),e.qZA(),e._UZ(9,"hr",8),e.YNc(10,VO,4,3,"button",9),e.TgZ(11,"button",10),e.NdJ("click",function(){return o.logout()}),e._UZ(12,"i",2),e.TgZ(13,"span"),e.SDv(14,11),e.qZA()()()()),2&n&&(e.xp6(2),e.Q6J("ngClass",e.VKq(4,QT,o.icons.user)),e.xp6(6),e.pQV(o.username),e.QtT(7),e.xp6(2),e.Q6J("ngIf",!o.sso),e.xp6(2),e.Q6J("ngClass",e.VKq(6,QT,o.icons.signOut)))},dependencies:[f.mk,f.O5,yi.jt,yi.iD,yi.Vi,yi.TH,Ee.rH,st.o]}),t})();function ZO(t,i){1&t&&e.GkF(0)}function WO(t,i){1&t&&e.GkF(0)}function KT(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"li",22),e._UZ(1,"cd-language-selector",23),e.qZA(),e.TgZ(2,"li",22)(3,"cd-notifications",24),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.toggleRightSidebar())}),e.qZA()(),e.TgZ(4,"li",22),e._UZ(5,"cd-dashboard-help",23),e.qZA(),e.TgZ(6,"li",22),e._UZ(7,"cd-administration",23),e.qZA(),e.TgZ(8,"li",22),e._UZ(9,"cd-identity",23),e.qZA()}}function Rg(t,i){1&t&&(e.TgZ(0,"li",52)(1,"a",53),e.SDv(2,54),e.qZA()())}function XT(t,i){1&t&&(e.TgZ(0,"li",55)(1,"a",56),e.SDv(2,57),e.qZA()())}function NE(t,i){1&t&&(e.TgZ(0,"li",58)(1,"a",59),e.SDv(2,60),e.qZA()())}function IE(t,i){1&t&&(e.TgZ(0,"li",61)(1,"a",62),e.SDv(2,63),e.qZA()())}function JO(t,i){1&t&&(e.TgZ(0,"li",64)(1,"a",65),e.SDv(2,66),e.qZA()())}function FE(t,i){1&t&&(e.TgZ(0,"li",67)(1,"a",68),e.SDv(2,69),e.qZA()())}function LE(t,i){1&t&&(e.TgZ(0,"li",70)(1,"a",71),e.SDv(2,72),e.qZA()())}function T0(t,i){1&t&&(e.TgZ(0,"li",73)(1,"a",74),e.SDv(2,75),e.qZA()())}function r3(t,i){1&t&&(e.TgZ(0,"li",76)(1,"a",77),e.SDv(2,78),e.qZA()())}function i3(t,i){1&t&&(e.TgZ(0,"li",79)(1,"a",80),e.SDv(2,81),e.qZA()())}function o3(t,i){if(1&t&&(e.TgZ(0,"small",87),e._uU(1),e.qZA()),2&t){const n=e.oxw(5);e.xp6(1),e.Oqu(n.prometheusAlertService.activeCriticalAlerts)}}function s3(t,i){if(1&t&&(e.TgZ(0,"small",88),e._uU(1),e.qZA()),2&t){const n=e.oxw(5);e.xp6(1),e.Oqu(n.prometheusAlertService.activeWarningAlerts)}}function qT(t,i){if(1&t&&(e.TgZ(0,"li",82)(1,"a",83),e.ynx(2),e.SDv(3,84),e.BQk(),e.YNc(4,o3,2,1,"small",85),e.YNc(5,s3,2,1,"small",86),e.qZA()()),2&t){const n=e.oxw(4);e.xp6(4),e.Q6J("ngIf",n.prometheusAlertService.activeCriticalAlerts>0),e.xp6(1),e.Q6J("ngIf",n.prometheusAlertService.activeWarningAlerts>0)}}function QO(t,i){1&t&&(e.TgZ(0,"li",89)(1,"a",90),e.SDv(2,91),e.qZA()())}function KO(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"li",36)(1,"a",37),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.toggleSubMenu("cluster"))}),e.ynx(2),e.SDv(3,38),e.BQk(),e.qZA(),e.TgZ(4,"ul",39),e.YNc(5,Rg,3,0,"li",40),e.YNc(6,XT,3,0,"li",41),e.YNc(7,NE,3,0,"li",42),e.YNc(8,IE,3,0,"li",43),e.YNc(9,JO,3,0,"li",44),e.YNc(10,FE,3,0,"li",45),e.YNc(11,LE,3,0,"li",46),e.YNc(12,T0,3,0,"li",47),e.YNc(13,r3,3,0,"li",48),e.YNc(14,i3,3,0,"li",49),e.YNc(15,qT,6,2,"li",50),e.YNc(16,QO,3,0,"li",51),e.qZA()()}if(2&t){const n=e.oxw(3);e.xp6(1),e.uIk("aria-expanded","cluster"===n.displayedSubMenu),e.xp6(3),e.Q6J("ngbCollapse","cluster"!==n.displayedSubMenu),e.xp6(1),e.Q6J("ngIf",n.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",n.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",n.permissions.monitor.read),e.xp6(1),e.Q6J("ngIf",n.permissions.hosts.read),e.xp6(1),e.Q6J("ngIf",n.permissions.osd.read),e.xp6(1),e.Q6J("ngIf",n.permissions.configOpt.read),e.xp6(1),e.Q6J("ngIf",n.permissions.osd.read),e.xp6(1),e.Q6J("ngIf",n.permissions.configOpt.read),e.xp6(1),e.Q6J("ngIf",n.permissions.configOpt.read),e.xp6(1),e.Q6J("ngIf",n.permissions.log.read),e.xp6(1),e.Q6J("ngIf",n.permissions.prometheus.read),e.xp6(1),e.Q6J("ngIf",n.permissions.configOpt.read)}}function XO(t,i){1&t&&(e.TgZ(0,"li",92)(1,"a",93),e.SDv(2,94),e.qZA()())}function qO(t,i){1&t&&(e.TgZ(0,"li",102)(1,"a",103),e.SDv(2,104),e.qZA()())}function eC(t,i){if(1&t&&(e.TgZ(0,"small",110),e._uU(1),e.qZA()),2&t){const n=e.oxw(5);e.xp6(1),e.Oqu(null==n.summaryData||null==n.summaryData.rbd_mirroring?null:n.summaryData.rbd_mirroring.warnings)}}function tC(t,i){if(1&t&&(e.TgZ(0,"small",111),e._uU(1),e.qZA()),2&t){const n=e.oxw(5);e.xp6(1),e.Oqu(null==n.summaryData||null==n.summaryData.rbd_mirroring?null:n.summaryData.rbd_mirroring.errors)}}function nC(t,i){if(1&t&&(e.TgZ(0,"li",105)(1,"a",106),e.ynx(2),e.SDv(3,107),e.BQk(),e.YNc(4,eC,2,1,"small",108),e.YNc(5,tC,2,1,"small",109),e.qZA()()),2&t){const n=e.oxw(4);e.xp6(4),e.Q6J("ngIf",0!==(null==n.summaryData||null==n.summaryData.rbd_mirroring?null:n.summaryData.rbd_mirroring.warnings)),e.xp6(1),e.Q6J("ngIf",0!==(null==n.summaryData||null==n.summaryData.rbd_mirroring?null:n.summaryData.rbd_mirroring.errors))}}function eA(t,i){1&t&&(e.TgZ(0,"li",112)(1,"a",113),e.SDv(2,114),e.qZA()())}function tA(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"li",95)(1,"a",96),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.toggleSubMenu("block"))}),e.ynx(2),e.SDv(3,97),e.BQk(),e.qZA(),e.TgZ(4,"ul",98),e.YNc(5,qO,3,0,"li",99),e.YNc(6,nC,6,2,"li",100),e.YNc(7,eA,3,0,"li",101),e.qZA()()}if(2&t){const n=e.oxw().ngIf,o=e.oxw(2);e.xp6(1),e.Q6J("ngStyle",o.blockHealthColor()),e.uIk("aria-expanded","block"===o.displayedSubMenu),e.xp6(3),e.Q6J("ngbCollapse","block"!==o.displayedSubMenu),e.xp6(1),e.Q6J("ngIf",o.permissions.rbdImage.read&&n.rbd),e.xp6(1),e.Q6J("ngIf",o.permissions.rbdMirroring.read&&n.mirroring),e.xp6(1),e.Q6J("ngIf",o.permissions.iscsi.read&&n.iscsi)}}function rC(t,i){1&t&&(e.TgZ(0,"li",115)(1,"a",116),e.SDv(2,117),e.qZA()())}function kE(t,i){1&t&&(e.TgZ(0,"li",118)(1,"a",119),e.SDv(2,120),e.qZA()())}function a3(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"li",121)(1,"a",122),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(3);return e.KtG(l.toggleSubMenu("rgw"))}),e.ynx(2),e.SDv(3,123),e.BQk(),e.qZA(),e.TgZ(4,"ul",124)(5,"li",125)(6,"a",126),e.SDv(7,127),e.qZA()(),e.TgZ(8,"li",128)(9,"a",129),e.SDv(10,130),e.qZA()(),e.TgZ(11,"li",131)(12,"a",132),e.SDv(13,133),e.qZA()(),e.TgZ(14,"li",134)(15,"a",135),e.SDv(16,136),e.qZA()(),e.TgZ(17,"li",134)(18,"a",137),e.SDv(19,138),e.qZA()()()()}if(2&t){const n=e.oxw(3);e.xp6(1),e.uIk("aria-expanded","rgw"===n.displayedSubMenu),e.xp6(3),e.Q6J("ngbCollapse","rgw"!==n.displayedSubMenu)}}const iC=function(t){return[t]};function $E(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"li",26)(2,"a",27)(3,"span"),e.SDv(4,28),e.qZA(),e._uU(5,"\xa0 "),e._UZ(6,"i",29),e.ALo(7,"healthColor"),e.qZA()(),e.YNc(8,KO,17,14,"li",30),e.YNc(9,XO,3,0,"li",31),e.YNc(10,tA,8,6,"li",32),e.YNc(11,rC,3,0,"li",33),e.YNc(12,kE,3,0,"li",34),e.YNc(13,a3,20,2,"li",35),e.BQk()),2&t){const n=i.ngIf,o=e.oxw(2);e.xp6(6),e.Q6J("ngClass",e.VKq(10,iC,o.icons.health))("ngStyle",e.lcZ(7,8,null==o.summaryData?null:o.summaryData.health_status)),e.xp6(2),e.Q6J("ngIf",o.permissions.hosts.read||o.permissions.monitor.read||o.permissions.osd.read||o.permissions.configOpt.read||o.permissions.log.read||o.permissions.prometheus.read),e.xp6(1),e.Q6J("ngIf",o.permissions.pool.read),e.xp6(1),e.Q6J("ngIf",(o.permissions.rbdImage.read||o.permissions.rbdMirroring.read||o.permissions.iscsi.read)&&(n.rbd||n.mirroring||n.iscsi)),e.xp6(1),e.Q6J("ngIf",o.permissions.nfs.read&&n.nfs),e.xp6(1),e.Q6J("ngIf",o.permissions.cephfs.read&&n.cephfs),e.xp6(1),e.Q6J("ngIf",o.permissions.rgw.read&&n.rgw)}}function nA(t,i){if(1&t&&(e.YNc(0,$E,14,12,"ng-container",25),e.ALo(1,"async")),2&t){const n=e.oxw();e.Q6J("ngIf",e.lcZ(1,1,n.enabledFeature$))}}const rA=function(t){return{show:t}},iA=function(t){return{active:t}},l3=["*"];let oA=(()=>{class t{get class(){return"top-notification-"+this.notifications.length}constructor(n,o,l,_,v,O){this.authStorageService=n,this.summaryService=o,this.featureToggles=l,this.telemetryNotificationService=_,this.prometheusAlertService=v,this.motdNotificationService=O,this.notifications=[],this.icons=Rr.P,this.rightSidebarOpen=!1,this.showMenuSidebar=!0,this.displayedSubMenu="",this.simplebar={autoHide:!1},this.subs=new bd.w,this.permissions=this.authStorageService.getPermissions(),this.enabledFeature$=this.featureToggles.get()}ngOnInit(){this.subs.add(this.summaryService.subscribe(n=>{this.summaryData=n})),this.subs.add(this.authStorageService.isPwdDisplayed$.subscribe(n=>{this.showTopNotification("isPwdDisplayed",n)})),this.subs.add(this.telemetryNotificationService.update.subscribe(n=>{this.showTopNotification("telemetryNotificationEnabled",n)})),this.subs.add(this.motdNotificationService.motd$.subscribe(n=>{this.showTopNotification("motdNotificationEnabled",yt.isPlainObject(n))}))}ngOnDestroy(){this.subs.unsubscribe()}blockHealthColor(){if(this.summaryData&&this.summaryData.rbd_mirroring){if(this.summaryData.rbd_mirroring.errors>0)return{color:"#f4926c"};if(this.summaryData.rbd_mirroring.warnings>0)return{color:"#f0ad4e"}}}toggleSubMenu(n){this.displayedSubMenu=this.displayedSubMenu===n?"":n}toggleRightSidebar(){this.rightSidebarOpen=!this.rightSidebarOpen}showTopNotification(n,o){if(o)this.notifications.includes(n)||this.notifications.push(n);else{const l=this.notifications.indexOf(n);l>=0&&this.notifications.splice(l,1)}}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(zh.J),e.Y36(Rm.l),e.Y36(Wy),e.Y36(Km),e.Y36(xT))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-navigation"]],hostVars:2,hostBindings:function(n,o){2&n&&e.Tol(o.class)},ngContentSelectors:l3,decls:30,vars:12,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue,pe,ye,Ue,xe,ke,we,Z,Ft,Dt,Yt,ln,$n,nn,Jn,zn,Zr;return i="Toggle navigation",n="Dashboard",o="Cluster",l="Hosts",_="Physical Disks",v="Monitors",O="Services",P="OSDs",G="Configuration",K="CRUSH map",oe="Manager Modules",ue="Ceph Users",pe="Logs",ye="Alerts",Ue="Upgrade",xe="Pools",ke="Block",we="Images",Z="Mirroring",Ft="iSCSI",Dt="NFS",Yt="File Systems",ln="Object Gateway",$n="Overview",nn="Gateways",Jn="Users",zn="Buckets",Zr="Multi-Site",[[1,"cd-navbar-main"],[1,"cd-navbar-top"],[1,"navbar","navbar-expand-md","navbar-dark","cd-navbar-brand"],["aria-label","toggle sidebar visibility",1,"btn","btn-link","py-0","ms-3",3,"click"],["aria-hidden","true",1,"fa","fa-bars","fa-2x"],["href","#",1,"navbar-brand","ms-2"],["src","assets/Ceph_Ceph_Logo_with_text_white.svg","alt","Ceph"],["type","button",1,"navbar-toggler",3,"click"],[1,"sr-only"],i,[1,""],[1,"fa","fa-navicon","fa-lg"],[1,"collapse","navbar-collapse",3,"ngClass"],[1,"nav","navbar-nav","cd-navbar-utility","my-2","my-md-0"],[4,"ngTemplateOutlet"],[1,"wrapper"],["id","sidebar",3,"ngClass"],[3,"options"],[1,"list-unstyled","components","cd-navbar-primary"],["id","content",3,"ngClass"],["cd_utilities",""],["cd_menu",""],[1,"nav-item"],[1,"cd-navbar"],[1,"cd-navbar",3,"click"],[4,"ngIf"],["routerLinkActive","active",1,"nav-item","tc_menuitem_dashboard"],["routerLink","/dashboard",1,"nav-link"],n,[3,"ngClass","ngStyle"],["routerLinkActive","active","class","nav-item tc_menuitem_cluster",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_pool",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_block",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_nfs",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_cephfs",4,"ngIf"],["routerLinkActive","active","class","nav-item tc_menuitem_rgw",4,"ngIf"],["routerLinkActive","active",1,"nav-item","tc_menuitem_cluster"],["aria-controls","cluster-nav","role","button",1,"nav-link","dropdown-toggle",3,"click"],o,["id","cluster-nav",1,"list-unstyled",3,"ngbCollapse"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_hosts",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_cluster_inventory",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_cluster_monitor",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_cluster_services",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_osds",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_configuration",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_crush",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_modules",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_users",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_log",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_monitoring",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_upgrade",4,"ngIf"],["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_hosts"],["routerLink","/hosts"],l,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_cluster_inventory"],["routerLink","/inventory"],_,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_cluster_monitor"],["routerLink","/monitor/"],v,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_cluster_services"],["routerLink","/services/"],O,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_osds"],["routerLink","/osd"],P,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_configuration"],["routerLink","/configuration"],G,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_crush"],["routerLink","/crush-map"],K,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_modules"],["routerLink","/mgr-modules"],oe,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_users"],["routerLink","/ceph-users"],ue,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_log"],["routerLink","/logs"],pe,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_monitoring"],["routerLink","/monitoring"],ye,["class","badge badge-danger ms-1",4,"ngIf"],["class","badge badge-warning ms-1",4,"ngIf"],[1,"badge","badge-danger","ms-1"],[1,"badge","badge-warning","ms-1"],["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_upgrade"],["routerLink","/upgrade"],Ue,["routerLinkActive","active",1,"nav-item","tc_menuitem_pool"],["routerLink","/pool",1,"nav-link"],xe,["routerLinkActive","active",1,"nav-item","tc_menuitem_block"],["aria-controls","block-nav","role","button",1,"nav-link","dropdown-toggle",3,"ngStyle","click"],ke,["id","block-nav",1,"list-unstyled",3,"ngbCollapse"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_block_images",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_block_mirroring",4,"ngIf"],["routerLinkActive","active","class","tc_submenuitem tc_submenuitem_block_iscsi",4,"ngIf"],["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_block_images"],["routerLink","/block/rbd"],we,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_block_mirroring"],["routerLink","/block/mirroring"],Z,["class","badge badge-warning",4,"ngIf"],["class","badge badge-danger",4,"ngIf"],[1,"badge","badge-warning"],[1,"badge","badge-danger"],["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_block_iscsi"],["routerLink","/block/iscsi"],Ft,["routerLinkActive","active",1,"nav-item","tc_menuitem_nfs"],["routerLink","/nfs",1,"nav-link"],Dt,["routerLinkActive","active",1,"nav-item","tc_menuitem_cephfs"],["routerLink","/cephfs",1,"nav-link"],Yt,["routerLinkActive","active",1,"nav-item","tc_menuitem_rgw"],["aria-controls","gateway-nav","role","button",1,"nav-link","dropdown-toggle",3,"click"],ln,["id","gateway-nav",1,"list-unstyled",3,"ngbCollapse"],["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_rgw_overview"],["routerLink","/rgw/overview"],$n,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_rgw_daemons"],["routerLink","/rgw/daemon"],nn,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_rgw_users"],["routerLink","/rgw/user"],Jn,["routerLinkActive","active",1,"tc_submenuitem","tc_submenuitem_rgw_buckets"],["routerLink","/rgw/bucket"],zn,["routerLink","/rgw/multisite"],Zr]},template:function(n,o){if(1&n&&(e.F$t(),e.TgZ(0,"div",0),e._UZ(1,"cd-pwd-expiration-notification")(2,"cd-telemetry-notification")(3,"cd-motd")(4,"cd-notifications-sidebar"),e.TgZ(5,"div",1)(6,"nav",2)(7,"button",3),e.NdJ("click",function(){return o.showMenuSidebar=!o.showMenuSidebar}),e._UZ(8,"i",4),e.qZA(),e.TgZ(9,"a",5),e._UZ(10,"img",6),e.qZA(),e.TgZ(11,"button",7),e.NdJ("click",function(){return o.toggleRightSidebar()}),e.TgZ(12,"span",8),e.SDv(13,9),e.qZA(),e.TgZ(14,"span",10),e._UZ(15,"i",11),e.qZA()(),e.TgZ(16,"div",12)(17,"ul",13),e.YNc(18,ZO,1,0,"ng-container",14),e.qZA()()()(),e.TgZ(19,"div",15)(20,"nav",16)(21,"ngx-simplebar",17)(22,"ul",18),e.YNc(23,WO,1,0,"ng-container",14),e.qZA()()(),e.TgZ(24,"div",19),e.Hsn(25),e.qZA()(),e.YNc(26,KT,10,0,"ng-template",null,20,e.W1O),e.YNc(28,nA,2,3,"ng-template",null,21,e.W1O),e.qZA()),2&n){const l=e.MAs(27),_=e.MAs(29);e.xp6(16),e.Q6J("ngClass",e.VKq(6,rA,o.rightSidebarOpen)),e.xp6(2),e.Q6J("ngTemplateOutlet",l),e.xp6(2),e.Q6J("ngClass",e.VKq(8,iA,!o.showMenuSidebar)),e.xp6(1),e.Q6J("options",o.simplebar),e.xp6(2),e.Q6J("ngTemplateOutlet",_),e.xp6(1),e.Q6J("ngClass",e.VKq(10,iA,!o.showMenuSidebar))}},dependencies:[f.mk,f.O5,f.tP,f.PC,yi._D,Ee.rH,Ee.Od,ng,CE,FO,kO,JR,st.o,Xm.M,QR,jO,n3,b0,f.Ov,p0],styles:['.cd-navbar-main[_ngcontent-%COMP%]{display:flex;flex:1;flex-direction:column;height:100%} cd-navigation .cd-navbar-top .cd-navbar-brand{background:#374249;border-top:4px solid #25828e} cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-brand, cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-brand:hover{color:#e9ecef;height:auto;padding:0} cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-brand>img{height:25px} cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-toggler{border:0} cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-toggler:focus, cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-toggler:hover{outline:0} cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-toggler .fa-navicon{color:#e9ecef} cd-navigation .cd-navbar-top .cd-navbar-brand .navbar-collapse{padding:0} cd-navigation .cd-navbar-top .cd-navbar-brand .cd-navbar-utility>.active>a{background-color:#25828e;color:#e9ecef} cd-navigation .cd-navbar-top .cd-navbar-brand .cd-navbar-utility>li>.open>a, cd-navigation .cd-navbar-top .cd-navbar-brand .cd-navbar-utility>li>.open>a:focus, cd-navigation .cd-navbar-top .cd-navbar-brand .cd-navbar-utility>li>.open>a:hover{background-color:transparent;border-color:transparent;color:#e9ecef} cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>[ngbDropdown]>a, cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>a, cd-navigation .cd-navbar-top .navbar-nav>li>a{color:#e9ecef;display:block;line-height:1;padding:13.5px 18px!important;position:relative;text-decoration:none} cd-navigation .cd-navbar-top .navbar-nav .nav-link, cd-navigation .cd-navbar-top .navbar-nav .nav-link:hover{color:#e9ecef} cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>[ngbDropdown]>a:hover, cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>[ngbDropdown].open>a, cd-navigation .cd-navbar-top .navbar-nav>li>.cd-navbar>a:hover, cd-navigation .cd-navbar-top .navbar-nav>li>a:hover, cd-navigation .cd-navbar-top .navbar-nav>li:hover{background-color:#25828e} cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>[ngbDropdown]>a, cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>[ngbDropdown]>a:hover, cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>a, cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>a:focus, cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>a:hover, cd-navigation .cd-navbar-top .navbar-nav>.open>.cd-navbar>li>a:focus, cd-navigation .cd-navbar-top .navbar-nav>.open>a, cd-navigation .cd-navbar-top .navbar-nav>.open>a:focus, cd-navigation .cd-navbar-top .navbar-nav>.open>a:hover{background-color:transparent;border-color:transparent;color:#e9ecef} cd-navigation .cd-navbar-top .no-hover:hover{background-color:#374249!important}@media (min-width: 768px){ cd-navigation .cd-navbar-top .cd-navbar-utility{border-bottom:0;font-size:1.1rem;position:absolute;right:0;top:0}}@media (max-width: 767px){ cd-navigation .cd-navbar-top .navbar-nav{margin:0} cd-navigation .cd-navbar-top .navbar-nav .fa{margin-right:.5em} cd-navigation .cd-navbar-top .navbar-nav .open .dropdown-menu{background-color:#25828e;border:0;padding-bottom:0;padding-top:0} cd-navigation .cd-navbar-top .navbar-nav .open .dropdown-menu>li>a{color:#e9ecef;padding:5px 15px 5px 35px} cd-navigation .cd-navbar-top .navbar-nav .open .dropdown-menu>.active>a{background-color:#25828e} cd-navigation .cd-navbar-top .navbar-nav>li>a:hover{background-color:#25828e}}.cd-navbar-primary[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .cd-navbar-primary[_ngcontent-%COMP%] > .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:focus, .cd-navbar-primary[_ngcontent-%COMP%] > .active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{background-color:#25828e!important;border:0!important;color:#fff!important}.wrapper[_ngcontent-%COMP%]{display:flex;height:100%;width:100%}.wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%]{background:#374249;bottom:0;color:#fff;height:auto;left:0;overflow-y:auto;position:relative;transition:all .3s;width:200px;z-index:999}.wrapper[_ngcontent-%COMP%] #sidebar.active[_ngcontent-%COMP%]{margin-left:-200px}.wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%] ul.component[_ngcontent-%COMP%]{margin:0;padding:20px 0}.wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff;padding:10px}.wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;display:block;font-size:1.3em;padding:10px 10px 10px 27px;text-decoration:none}.wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:#25828e;color:#fff}.wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] > .badge[_ngcontent-%COMP%]{margin-left:5px}.wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%] #sidebar[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] a[aria-expanded=true][_ngcontent-%COMP%]{color:#fff}.wrapper[_ngcontent-%COMP%] a.dropdown-toggle[_ngcontent-%COMP%]{position:relative}.wrapper[_ngcontent-%COMP%] a.dropdown-toggle[_ngcontent-%COMP%]:after{border:0;content:"\\f054";font-family:ForkAwesome;font-size:1rem;margin-top:2px;position:absolute;right:20px;transition:transform .3s ease-in-out}.wrapper[_ngcontent-%COMP%] a.dropdown-toggle[aria-expanded=true][_ngcontent-%COMP%]:after{transform:rotate(90deg)}.wrapper[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{background:#4d5c66;font-size:1.1em!important;padding-left:40px!important}.wrapper[_ngcontent-%COMP%] .cd-navbar-primary[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus{outline:none}.wrapper[_ngcontent-%COMP%] ngx-simplebar[_ngcontent-%COMP%]{height:100%}#content[_ngcontent-%COMP%]{bottom:0;position:relative;right:0;transition:all .3s;width:calc(100% - 200px)}#content.active[_ngcontent-%COMP%]{width:100vw}']}),t})();var sA=s(6481),aA=s(76666),oC=s(85345);class c3{constructor(i,n){this.keySelector=i,this.flushes=n}call(i,n){return n.subscribe(new d3(i,this.keySelector,this.flushes))}}class d3 extends oC.Ds{constructor(i,n,o){super(i),this.keySelector=n,this.values=new Set,o&&this.add((0,oC.ft)(o,new oC.IY(this)))}notifyNext(){this.values.clear()}notifyError(i){this._error(i)}_next(i){this.keySelector?this._useKeySelector(i):this._finalizeNext(i,i)}_useKeySelector(i){let n;const{destination:o}=this;try{n=this.keySelector(i)}catch(l){return void o.error(l)}this._finalizeNext(n,i)}_finalizeNext(i,n){const{values:o}=this;o.has(i)||(o.add(i),this.destination.next(n))}}var lA=s(46240),uA=s(28049);class HE{resolve(i){const n=i.routeConfig.data,o=null===n.path?null:this.getFullPath(i);return(0,Ps.of)([{text:"string"==typeof n.breadcrumbs?n.breadcrumbs:n.breadcrumbs.text||n.text||o,path:o}])}getFullPath(i){return i.pathFromRoot.reduce((_,v)=>_+v.url.reduce((_,v)=>_+"/"+v.path,""),"")}}function f3(t,i){if(1&t&&(e.TgZ(0,"a",6),e._uU(1),e.qZA()),2&t){const n=e.oxw().$implicit;e.Q6J("routerLink",n.path),e.xp6(1),e.Oqu(n.text)}}function p3(t,i){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Oqu(n.text)}}const cA=function(t){return{active:t}};function _3(t,i){if(1&t&&(e.TgZ(0,"li",3),e.YNc(1,f3,2,2,"a",4),e.YNc(2,p3,2,1,"span",5),e.qZA()),2&t){const n=i.$implicit,o=i.last,l=e.oxw(2);e.Q6J("ngClass",e.VKq(3,cA,o&&l.finished)),e.xp6(1),e.Q6J("ngIf",!o&&null!==n.path),e.xp6(1),e.Q6J("ngIf",o||null===n.path)}}function d(t,i){if(1&t&&(e.TgZ(0,"ol",1),e.YNc(1,_3,3,5,"li",2),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngForOf",n.crumbs)}}let p=(()=>{class t{constructor(n,o,l){this.router=n,this.injector=o,this.titleService=l,this.crumbs=[],this.finished=!1,this.defaultResolver=new HE,this.subscription=this.router.events.pipe((0,y.h)(_=>_ instanceof Ee.OD)).subscribe(()=>{this.finished=!1}),this.subscription=this.router.events.pipe((0,y.h)(_=>_ instanceof Ee.m2)).subscribe(()=>{this._resolveCrumbs(n.routerState.snapshot.root).pipe((0,dd.zg)(v=>v),function u3(t,i){return n=>n.lift(new c3(t,i))}(v=>v.text),(0,lA.q)(),(0,dd.zg)(v=>{const O=this.postProcess(v);return this.wrapIntoObservable(O).pipe((0,uA.P)())})).subscribe(v=>{this.finished=!0,this.crumbs=v;const O=this.getTitleFromCrumbs(this.crumbs);this.titleService.setTitle(O)})})}ngOnDestroy(){this.subscription.unsubscribe()}_resolveCrumbs(n){let o;const l=n.routeConfig&&n.routeConfig.data;if(l&&l.breadcrumbs){let _;_=l.breadcrumbs.prototype instanceof HE?this.injector.get(l.breadcrumbs):this.defaultResolver;const v=_.resolve(n);o=this.wrapIntoObservable(v).pipe((0,uA.P)())}else o=(0,Ps.of)([]);return n.firstChild&&(o=(0,sA.z)(o,this._resolveCrumbs(n.firstChild))),o}postProcess(n){const o=[];return n.forEach(l=>{const _=l.text.split("/");if(_.length>1){l.text=_[_.length-1];for(let v=0;v<_.length-1;v++)o.push({text:_[v],path:null})}o.push(l)}),o}isPromise(n){return n&&"function"==typeof n.then}wrapIntoObservable(n){return n instanceof QS.y?n:this.isPromise(n)?(0,aA.D)(Promise.resolve(n)):(0,Ps.of)(n)}getTitleFromCrumbs(n){const o=n.map(l=>l.text||"").join(" > ");return o.length>0?`Ceph: ${o}`:"Ceph"}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ee.F0),e.Y36(e.zs3),e.Y36(u.Dx))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-breadcrumbs"]],decls:1,vars:1,consts:[["class","breadcrumb",4,"ngIf"],[1,"breadcrumb"],["class","breadcrumb-item",3,"ngClass",4,"ngFor","ngForOf"],[1,"breadcrumb-item",3,"ngClass"],["preserveFragment","",3,"routerLink",4,"ngIf"],[4,"ngIf"],["preserveFragment","",3,"routerLink"]],template:function(n,o){1&n&&e.YNc(0,d,2,1,"ol",0),2&n&&e.Q6J("ngIf",o.crumbs.length)},dependencies:[f.mk,f.sg,f.O5,Ee.rH],styles:['.breadcrumb[_ngcontent-%COMP%]{background-color:transparent;border-radius:0;margin-top:8px;padding:8px 0}.breadcrumb[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]:before{content:"\\f101";font-family:ForkAwesome;padding:0 5px 0 7px}']}),t})();var g=s(17757),R=s(20523);function H(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"button",8),e.NdJ("click",function(){const _=e.CHM(n).$implicit,v=e.oxw(3);return e.KtG(v.onDaemonSelection(_))}),e._uU(2),e.qZA(),e.BQk()}if(2&t){const n=i.$implicit;e.xp6(2),e.AsE(" ",n.id," ( ",n.zonegroup_name," ) ")}}function te(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",1)(2,"span",2),e.SDv(3,3),e.qZA(),e.TgZ(4,"div",4)(5,"button",5),e._uU(6),e.qZA(),e.TgZ(7,"div",6),e.YNc(8,H,3,2,"ng-container",7),e.qZA()()(),e.BQk()),2&t){const n=e.oxw().ngIf;e.xp6(6),e.AsE(" ",n.selectedDaemon.id," ( ",n.selectedDaemon.zonegroup_name," ) "),e.xp6(2),e.Q6J("ngForOf",n.daemons)}}function ve(t,i){if(1&t&&(e.ynx(0),e.YNc(1,te,9,3,"ng-container",0),e.BQk()),2&t){const n=i.ngIf,o=e.oxw();e.xp6(1),e.Q6J("ngIf",n.ftMap&&n.ftMap.rgw&&o.permissions.rgw.read&&o.isRgwRoute&&n.daemons.length>1)}}const Be=function(t,i,n){return{ftMap:t,daemons:i,selectedDaemon:n}};let nt=(()=>{class t{constructor(n,o,l,_,v){this.authStorageService=n,this.featureToggles=o,this.router=l,this.timerService=_,this.rgwDaemonService=v,this.REFRESH_INTERVAL=5e3,this.subs=new bd.w,this.rgwUrlPrefix="/rgw",this.rgwUserUrlPrefix="/rgw/user",this.rgwBuckerUrlPrefix="/rgw/bucket",this.isRgwRoute=document.location.href.includes(this.rgwUserUrlPrefix)||document.location.href.includes(this.rgwBuckerUrlPrefix)}ngOnInit(){this.permissions=this.authStorageService.getPermissions(),this.featureToggleMap$=this.featureToggles.get(),this.subs.add(this.router.events.pipe((0,y.h)(n=>n instanceof Ee.m2)).subscribe(()=>this.isRgwRoute=[this.rgwBuckerUrlPrefix,this.rgwUserUrlPrefix].some(n=>this.router.url.startsWith(n)))),this.subs.add(this.timerService.get(()=>this.isRgwRoute?this.rgwDaemonService.list():g.C,this.REFRESH_INTERVAL).subscribe())}ngOnDestroy(){this.subs.unsubscribe()}onDaemonSelection(n){this.rgwDaemonService.selectDaemon(n),this.reloadData()}reloadData(){const n=this.router.url;this.router.navigateByUrl(this.rgwUrlPrefix,{skipLocationChange:!0}).finally(()=>{this.router.navigate([n])})}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(Rm.l),e.Y36(Ee.F0),e.Y36(Ls.f),e.Y36(R.b))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-context"]],decls:4,vars:11,consts:function(){let i,n;return i="Selected Object Gateway:",n="Select Object Gateway",[[4,"ngIf"],[1,"cd-context-bar","pt-3","pb-3"],[1,"me-1"],i,["ngbDropdown","","placement","bottom-left",1,"d-inline-block","ms-2"],["ngbDropdownToggle","","title",n,1,"btn","btn-outline-info","ctx-bar-selected-rgw-daemon"],["ngbDropdownMenu",""],[4,"ngFor","ngForOf"],["ngbDropdownItem","",1,"ctx-bar-available-rgw-daemon",3,"click"]]},template:function(n,o){1&n&&(e.YNc(0,ve,2,1,"ng-container",0),e.ALo(1,"async"),e.ALo(2,"async"),e.ALo(3,"async")),2&n&&e.Q6J("ngIf",e.kEZ(7,Be,e.lcZ(1,1,o.featureToggleMap$),e.lcZ(2,3,o.rgwDaemonService.daemons$),e.lcZ(3,5,o.rgwDaemonService.selectedDaemon$)))},dependencies:[f.sg,f.O5,yi.jt,yi.iD,yi.Vi,yi.TH,st.o,f.Ov],styles:[".cd-context-bar[_ngcontent-%COMP%]{border-bottom:1px solid #dee2e6}"]}),t})();const Ht=function(t,i){return{dashboard:t,"rgw-dashboard":i}};let Sn=(()=>{class t{constructor(n,o,l,_){this.router=n,this.summaryService=o,this.taskManagerService=l,this.faviconService=_,this.subs=new bd.w}ngOnInit(){this.subs.add(this.summaryService.startPolling()),this.subs.add(this.taskManagerService.init(this.summaryService)),this.faviconService.init()}ngOnDestroy(){this.subs.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ee.F0),e.Y36(zh.J),e.Y36(EO.k),e.Y36(DT))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-workbench-layout"]],features:[e._Bn([DT])],decls:6,vars:4,consts:[[1,"container-fluid","h-100",3,"ngClass"]],template:function(n,o){1&n&&(e.TgZ(0,"block-ui")(1,"cd-navigation")(2,"div",0),e._UZ(3,"cd-context")(4,"cd-breadcrumbs")(5,"router-outlet"),e.qZA()()()),2&n&&(e.xp6(2),e.Q6J("ngClass",e.WLB(1,Ht,"/dashboard"==o.router.url||"/dashboard_3"==o.router.url,"/rgw/overview"==o.router.url)))},dependencies:[Qg.G8,f.mk,oA,p,Ee.lC,nt],styles:[".dashboard[_ngcontent-%COMP%]{background-color:#e9ecef;margin:0;padding:0}.container-fluid[_ngcontent-%COMP%]{overflow:auto;position:absolute}.rgw-dashboard[_ngcontent-%COMP%]{background-color:#e9ecef}"]}),t})();var Ln=s(78139),ei=s(55004);function xi(t){return(xi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(t)}function ls(t,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ga(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function bl(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);i&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,o)}return n}function _d(t){return(_d=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(t)}function Fd(t,i){return(Fd=Object.setPrototypeOf||function(o,l){return o.__proto__=l,o})(t,i)}var m3={};function JN(t,i,n){return function WN(t){return null==t}(t)?n:function ZN(t){return null!==t&&"object"===xi(t)&&"function"==typeof t.get&&"function"==typeof t.has}(t)?t.has(i)?t.get(i):n:hasOwnProperty.call(t,i)?t[i]:n}function g3(t,i,n){for(var o=0;o!==i.length;)if((t=JN(t,i[o++],m3))===m3)return n;return t}function dA(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=function QN(t,i){return function(n){if("string"==typeof n)return(0,ei.is)(i[n],t[n]);if(Array.isArray(n))return(0,ei.is)(g3(i,n),g3(t,n));throw new TypeError("Invalid key: expected Array or string: "+n)}}(i,n),l=t||Object.keys(function Vo(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?bl(n,!0).forEach(function(o){ga(t,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bl(n).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(n,o))})}return t}({},n,{},i));return l.every(o)}var KN=function(t){function i(){return function mo(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}(this,i),function VN(t,i){return!i||"object"!=typeof i&&"function"!=typeof i?function h3(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):i}(this,_d(i).apply(this,arguments))}return function Kl(t,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(i&&i.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),i&&Fd(t,i)}(i,t),function js(t,i,n){i&&ls(t.prototype,i),n&&ls(t,n)}(i,[{key:"shouldComponentUpdate",value:function(o){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!dA(this.updateOnProps,this.props,o,"updateOnProps")||!dA(this.updateOnStates,this.state,l,"updateOnStates")}}]),i}(Ln.Component);const XN=KN;function v3(t,i){if(Array.prototype.indexOf)return t.indexOf(i);for(var n=0,o=t.length;n<o;n++)if(t[n]===i)return n;return-1}function lv(t,i){for(var n=t.length-1;n>=0;n--)!0===i(t[n])&&t.splice(n,1)}function fA(t){throw new Error("Unhandled case for value: '".concat(t,"'"))}var n,pA=function(){function t(i){void 0===i&&(i={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=i.tagName||"",this.attrs=i.attrs||{},this.innerHTML=i.innerHtml||i.innerHTML||""}return t.prototype.setTagName=function(i){return this.tagName=i,this},t.prototype.getTagName=function(){return this.tagName||""},t.prototype.setAttr=function(i,n){return this.getAttrs()[i]=n,this},t.prototype.getAttr=function(i){return this.getAttrs()[i]},t.prototype.setAttrs=function(i){return Object.assign(this.getAttrs(),i),this},t.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},t.prototype.setClass=function(i){return this.setAttr("class",i)},t.prototype.addClass=function(i){for(var v,n=this.getClass(),o=this.whitespaceRegex,l=n?n.split(o):[],_=i.split(o);v=_.shift();)-1===v3(l,v)&&l.push(v);return this.getAttrs().class=l.join(" "),this},t.prototype.removeClass=function(i){for(var v,n=this.getClass(),o=this.whitespaceRegex,l=n?n.split(o):[],_=i.split(o);l.length&&(v=_.shift());){var O=v3(l,v);-1!==O&&l.splice(O,1)}return this.getAttrs().class=l.join(" "),this},t.prototype.getClass=function(){return this.getAttrs().class||""},t.prototype.hasClass=function(i){return-1!==(" "+this.getClass()+" ").indexOf(" "+i+" ")},t.prototype.setInnerHTML=function(i){return this.innerHTML=i,this},t.prototype.setInnerHtml=function(i){return this.setInnerHTML(i)},t.prototype.getInnerHTML=function(){return this.innerHTML||""},t.prototype.getInnerHtml=function(){return this.getInnerHTML()},t.prototype.toAnchorString=function(){var i=this.getTagName(),n=this.buildAttrsStr();return["<",i,n=n?" "+n:"",">",this.getInnerHtml(),"</",i,">"].join("")},t.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var i=this.getAttrs(),n=[];for(var o in i)i.hasOwnProperty(o)&&n.push(o+'="'+i[o]+'"');return n.join(" ")},t}(),y3=function(){function t(i){void 0===i&&(i={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=i.newWindow||!1,this.truncate=i.truncate||{},this.className=i.className||""}return t.prototype.build=function(i){return new pA({tagName:"a",attrs:this.createAttrs(i),innerHtml:this.processAnchorText(i.getAnchorText())})},t.prototype.createAttrs=function(i){var n={href:i.getAnchorHref()},o=this.createCssClass(i);return o&&(n.class=o),this.newWindow&&(n.target="_blank",n.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<i.getAnchorText().length&&(n.title=i.getAnchorHref()),n},t.prototype.createCssClass=function(i){var n=this.className;if(n){for(var o=[n],l=i.getCssClassSuffixes(),_=0,v=l.length;_<v;_++)o.push(n+"-"+l[_]);return o.join(" ")}return""},t.prototype.processAnchorText=function(i){return this.doTruncate(i)},t.prototype.doTruncate=function(i){var n=this.truncate;if(!n||!n.length)return i;var o=n.length,l=n.location;return"smart"===l?function r8(t,i,n){var o,l;null==n?(n="&hellip;",l=3,o=8):(l=n.length,o=n.length);var v=function(we){var Z="";return we.scheme&&we.host&&(Z+=we.scheme+"://"),we.host&&(Z+=we.host),we.path&&(Z+="/"+we.path),we.query&&(Z+="?"+we.query),we.fragment&&(Z+="#"+we.fragment),Z},O=function(we,Z){var Ft=Z/2,Dt=Math.ceil(Ft),Yt=-1*Math.floor(Ft),ln="";return Yt<0&&(ln=we.substr(Yt)),we.substr(0,Dt)+n+ln};if(t.length<=i)return t;var Z,Ft,Dt,P=i-l,G=(Z={},(Dt=(Ft=t).match(/^([a-z]+):\/\//i))&&(Z.scheme=Dt[1],Ft=Ft.substr(Dt[0].length)),(Dt=Ft.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(Z.host=Dt[1],Ft=Ft.substr(Dt[0].length)),(Dt=Ft.match(/^\/(.*?)(?=(\?|#|$))/i))&&(Z.path=Dt[1],Ft=Ft.substr(Dt[0].length)),(Dt=Ft.match(/^\?(.*?)(?=(#|$))/i))&&(Z.query=Dt[1],Ft=Ft.substr(Dt[0].length)),(Dt=Ft.match(/^#(.*?)$/i))&&(Z.fragment=Dt[1]),Z);if(G.query){var K=G.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);K&&(G.query=G.query.substr(0,K[1].length),t=v(G))}if(t.length<=i||(G.host&&(G.host=G.host.replace(/^www\./,""),t=v(G)),t.length<=i))return t;var oe="";if(G.host&&(oe+=G.host),oe.length>=P)return G.host.length==i?(G.host.substr(0,i-l)+n).substr(0,P+o):O(oe,P).substr(0,P+o);var ue="";if(G.path&&(ue+="/"+G.path),G.query&&(ue+="?"+G.query),ue){if((oe+ue).length>=P)return(oe+ue).length==i?(oe+ue).substr(0,i):(oe+O(ue,P-oe.length)).substr(0,P+o);oe+=ue}if(G.fragment){var ye="#"+G.fragment;if((oe+ye).length>=P)return(oe+ye).length==i?(oe+ye).substr(0,i):(oe+O(ye,P-oe.length)).substr(0,P+o);oe+=ye}if(G.scheme&&G.host){var xe=G.scheme+"://";if((oe+xe).length<P)return(xe+oe).substr(0,i)}if(oe.length<=i)return oe;var ke="";return P>0&&(ke=oe.substr(-1*Math.floor(P/2))),(oe.substr(0,Math.ceil(P/2))+n+ke).substr(0,P+o)}(i,o):"middle"===l?function i8(t,i,n){if(t.length<=i)return t;var o,l;null==n?(n="&hellip;",o=8,l=3):(o=n.length,l=n.length);var _=i-l,v="";return _>0&&(v=t.substr(-1*Math.floor(_/2))),(t.substr(0,Math.ceil(_/2))+n+v).substr(0,_+o)}(i,o):function o8(t,i,n){return function t8(t,i,n){var o;return t.length>i&&(null==n?(n="&hellip;",o=3):o=n.length,t=t.substring(0,i-o)+n),t}(t,i,n)}(i,o)},t}(),C0=function(){function t(i){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=i.tagBuilder,this.matchedText=i.matchedText,this.offset=i.offset}return t.prototype.getMatchedText=function(){return this.matchedText},t.prototype.setOffset=function(i){this.offset=i},t.prototype.getOffset=function(){return this.offset},t.prototype.getCssClassSuffixes=function(){return[this.getType()]},t.prototype.buildTag=function(){return this.tagBuilder.build(this)},t}(),E3=function(t){function i(n){var o=t.call(this,n)||this;return o.email="",o.email=n.email,o}return(0,Gt.ZT)(i,t),i.prototype.getType=function(){return"email"},i.prototype.getEmail=function(){return this.email},i.prototype.getAnchorHref=function(){return"mailto:"+this.email},i.prototype.getAnchorText=function(){return this.email},i}(C0),S3=function(t){function i(n){var o=t.call(this,n)||this;return o.serviceName="",o.hashtag="",o.serviceName=n.serviceName,o.hashtag=n.hashtag,o}return(0,Gt.ZT)(i,t),i.prototype.getType=function(){return"hashtag"},i.prototype.getServiceName=function(){return this.serviceName},i.prototype.getHashtag=function(){return this.hashtag},i.prototype.getAnchorHref=function(){var n=this.serviceName,o=this.hashtag;switch(n){case"twitter":return"https://twitter.com/hashtag/"+o;case"facebook":return"https://www.facebook.com/hashtag/"+o;case"instagram":return"https://instagram.com/explore/tags/"+o;case"tiktok":return"https://www.tiktok.com/tag/"+o;default:throw new Error("Unknown service name to point hashtag to: "+n)}},i.prototype.getAnchorText=function(){return"#"+this.hashtag},i}(C0),b3=function(t){function i(n){var o=t.call(this,n)||this;return o.serviceName="twitter",o.mention="",o.mention=n.mention,o.serviceName=n.serviceName,o}return(0,Gt.ZT)(i,t),i.prototype.getType=function(){return"mention"},i.prototype.getMention=function(){return this.mention},i.prototype.getServiceName=function(){return this.serviceName},i.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;case"tiktok":return"https://www.tiktok.com/@"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},i.prototype.getAnchorText=function(){return"@"+this.mention},i.prototype.getCssClassSuffixes=function(){var n=t.prototype.getCssClassSuffixes.call(this),o=this.getServiceName();return o&&n.push(o),n},i}(C0),T3=function(t){function i(n){var o=t.call(this,n)||this;return o.number="",o.plusSign=!1,o.number=n.number,o.plusSign=n.plusSign,o}return(0,Gt.ZT)(i,t),i.prototype.getType=function(){return"phone"},i.prototype.getPhoneNumber=function(){return this.number},i.prototype.getNumber=function(){return this.getPhoneNumber()},i.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},i.prototype.getAnchorText=function(){return this.matchedText},i}(C0),C3=function(t){function i(n){var o=t.call(this,n)||this;return o.url="",o.urlMatchType="scheme",o.protocolUrlMatch=!1,o.protocolRelativeMatch=!1,o.stripPrefix={scheme:!0,www:!0},o.stripTrailingSlash=!0,o.decodePercentEncoding=!0,o.schemePrefixRegex=/^(https?:\/\/)?/i,o.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,o.protocolRelativeRegex=/^\/\//,o.protocolPrepended=!1,o.urlMatchType=n.urlMatchType,o.url=n.url,o.protocolUrlMatch=n.protocolUrlMatch,o.protocolRelativeMatch=n.protocolRelativeMatch,o.stripPrefix=n.stripPrefix,o.stripTrailingSlash=n.stripTrailingSlash,o.decodePercentEncoding=n.decodePercentEncoding,o}return(0,Gt.ZT)(i,t),i.prototype.getType=function(){return"url"},i.prototype.getUrlMatchType=function(){return this.urlMatchType},i.prototype.getUrl=function(){var n=this.url;return!this.protocolRelativeMatch&&!this.protocolUrlMatch&&!this.protocolPrepended&&(n=this.url="http://"+n,this.protocolPrepended=!0),n},i.prototype.getAnchorHref=function(){return this.getUrl().replace(/&amp;/g,"&")},i.prototype.getAnchorText=function(){var n=this.getMatchedText();return this.protocolRelativeMatch&&(n=this.stripProtocolRelativePrefix(n)),this.stripPrefix.scheme&&(n=this.stripSchemePrefix(n)),this.stripPrefix.www&&(n=this.stripWwwPrefix(n)),this.stripTrailingSlash&&(n=this.removeTrailingSlash(n)),this.decodePercentEncoding&&(n=this.removePercentEncoding(n)),n},i.prototype.stripSchemePrefix=function(n){return n.replace(this.schemePrefixRegex,"")},i.prototype.stripWwwPrefix=function(n){return n.replace(this.wwwPrefixRegex,"$1")},i.prototype.stripProtocolRelativePrefix=function(n){return n.replace(this.protocolRelativeRegex,"")},i.prototype.removeTrailingSlash=function(n){return"/"===n.charAt(n.length-1)&&(n=n.slice(0,-1)),n},i.prototype.removePercentEncoding=function(n){var o=n.replace(/%22/gi,"&quot;").replace(/%26/gi,"&amp;").replace(/%27/gi,"&#39;").replace(/%3C/gi,"&lt;").replace(/%3E/gi,"&gt;");try{return decodeURIComponent(o)}catch{return o}},i}(C0),M0=function t(i){this.__jsduckDummyDocProp=null,this.tagBuilder=i.tagBuilder},_A=/[A-Za-z]/,s8=/[\d]/,a8=/[\D]/,uv=/\s/,hA=/['"]/,l8=/[\x00-\x1F\x7F]/,M3=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,O3=M3+/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source+/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,sC=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,d8=O3+sC,Qd=O3+sC,UE=new RegExp("[".concat(Qd,"]")),f8="(?:["+sC+"]{1,3}\\.){3}["+sC+"]{1,3}",p8="["+Qd+"](?:["+Qd+"\\-_]{0,61}["+Qd+"])?",A3=function(t){return"(?=("+p8+"))\\"+t},mA=function(t){return"(?:"+A3(t)+"(?:\\."+A3(t+1)+"){0,126}|"+f8+")"},aC=(new RegExp("["+Qd+".\\-]*["+Qd+"\\-]"),UE),D3=/(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|verm\xf6gensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|verm\xf6gensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|travelchannel|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cityeats|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|etisalat|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|\u043a\u0430\u0442\u043e\u043b\u0438\u043a|\u0627\u062a\u0635\u0627\u0644\u0627\u062a|\u0627\u0644\u0628\u062d\u0631\u064a\u0646|\u0627\u0644\u062c\u0632\u0627\u0626\u0631|\u0627\u0644\u0639\u0644\u064a\u0627\u0646|\u067e\u0627\u06a9\u0633\u062a\u0627\u0646|\u0643\u0627\u062b\u0648\u0644\u064a\u0643|\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe|abarth|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|webcam|xihuan|yachts|yandex|zappos|\u043c\u043e\u0441\u043a\u0432\u0430|\u043e\u043d\u043b\u0430\u0439\u043d|\u0627\u0628\u0648\u0638\u0628\u064a|\u0627\u0631\u0627\u0645\u0643\u0648|\u0627\u0644\u0627\u0631\u062f\u0646|\u0627\u0644\u0645\u063a\u0631\u0628|\u0627\u0645\u0627\u0631\u0627\u062a|\u0641\u0644\u0633\u0637\u064a\u0646|\u0645\u0644\u064a\u0633\u064a\u0627|\u092d\u093e\u0930\u0924\u092e\u094d|\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8|\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|loans|locus|lotte|lotto|macys|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|\u05d9\u05e9\u05e8\u05d0\u05dc|\u0627\u06cc\u0631\u0627\u0646|\u0628\u0627\u0632\u0627\u0631|\u0628\u06be\u0627\u0631\u062a|\u0633\u0648\u062f\u0627\u0646|\u0633\u0648\u0631\u064a\u0629|\u0647\u0645\u0631\u0627\u0647|\u092d\u093e\u0930\u094b\u0924|\u0938\u0902\u0917\u0920\u0928|\u09ac\u09be\u0982\u09b2\u09be|\u0c2d\u0c3e\u0c30\u0c24\u0c4d|\u0d2d\u0d3e\u0d30\u0d24\u0d02|\u5609\u91cc\u5927\u9152\u5e97|aarp|able|adac|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|\u0434\u0435\u0442\u0438|\u0441\u0430\u0439\u0442|\u0628\u0627\u0631\u062a|\u0628\u064a\u062a\u0643|\u0680\u0627\u0631\u062a|\u062a\u0648\u0646\u0633|\u0634\u0628\u0643\u0629|\u0639\u0631\u0627\u0642|\u0639\u0645\u0627\u0646|\u0645\u0648\u0642\u0639|\u092d\u093e\u0930\u0924|\u09ad\u09be\u09b0\u09a4|\u09ad\u09be\u09f0\u09a4|\u0a2d\u0a3e\u0a30\u0a24|\u0aad\u0abe\u0ab0\u0aa4|\u0b2d\u0b3e\u0b30\u0b24|\u0cad\u0cbe\u0cb0\u0ca4|\u0dbd\u0d82\u0d9a\u0dcf|\u30a2\u30de\u30be\u30f3|\u30b0\u30fc\u30b0\u30eb|\u30af\u30e9\u30a6\u30c9|\u30dd\u30a4\u30f3\u30c8|\u7ec4\u7ec7\u673a\u6784|\u96fb\u8a0a\u76c8\u79d1|\u9999\u683c\u91cc\u62c9|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|\u0431\u0435\u043b|\u043a\u043e\u043c|\u049b\u0430\u0437|\u043c\u043a\u0434|\u043c\u043e\u043d|\u043e\u0440\u0433|\u0440\u0443\u0441|\u0441\u0440\u0431|\u0443\u043a\u0440|\u0570\u0561\u0575|\u05e7\u05d5\u05dd|\u0639\u0631\u0628|\u0642\u0637\u0631|\u0643\u0648\u0645|\u0645\u0635\u0631|\u0915\u0949\u092e|\u0928\u0947\u091f|\u0e04\u0e2d\u0e21|\u0e44\u0e17\u0e22|\u0ea5\u0eb2\u0ea7|\u30b9\u30c8\u30a2|\u30bb\u30fc\u30eb|\u307f\u3093\u306a|\u4e2d\u6587\u7f51|\u4e9a\u9a6c\u900a|\u5929\u4e3b\u6559|\u6211\u7231\u4f60|\u65b0\u52a0\u5761|\u6de1\u9a6c\u9521|\u8bfa\u57fa\u4e9a|\u98de\u5229\u6d66|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|\u03b5\u03bb|\u03b5\u03c5|\u0431\u0433|\u0435\u044e|\u0440\u0444|\u10d2\u10d4|\ub2f7\ub137|\ub2f7\ucef4|\uc0bc\uc131|\ud55c\uad6d|\u30b3\u30e0|\u4e16\u754c|\u4e2d\u4fe1|\u4e2d\u56fd|\u4e2d\u570b|\u4f01\u4e1a|\u4f5b\u5c71|\u4fe1\u606f|\u5065\u5eb7|\u516b\u5366|\u516c\u53f8|\u516c\u76ca|\u53f0\u6e7e|\u53f0\u7063|\u5546\u57ce|\u5546\u5e97|\u5546\u6807|\u5609\u91cc|\u5728\u7ebf|\u5927\u62ff|\u5a31\u4e50|\u5bb6\u96fb|\u5e7f\u4e1c|\u5fae\u535a|\u6148\u5584|\u624b\u673a|\u62db\u8058|\u653f\u52a1|\u653f\u5e9c|\u65b0\u95fb|\u65f6\u5c1a|\u66f8\u7c4d|\u673a\u6784|\u6e38\u620f|\u6fb3\u9580|\u70b9\u770b|\u79fb\u52a8|\u7f51\u5740|\u7f51\u5e97|\u7f51\u7ad9|\u7f51\u7edc|\u8054\u901a|\u8c37\u6b4c|\u8d2d\u7269|\u901a\u8ca9|\u96c6\u56e2|\u98df\u54c1|\u9910\u5385|\u9999\u6e2f)/,_8=new RegExp("[".concat(Qd,"!#$%&'*+/=?^_`{|}~-]")),h8=new RegExp("^".concat(D3.source,"$")),R3=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.localPartCharRegex=_8,n.strictTldRegex=h8,n}return(0,Gt.ZT)(i,t),i.prototype.parseMatches=function(n){for(var o=this.tagBuilder,l=this.localPartCharRegex,_=this.strictTldRegex,v=[],O=n.length,P=new lC,G={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},K=0,oe=0,ue=P;K<O;){var pe=n.charAt(K);switch(oe){case 0:"m"===(nn=pe)?Yt(1):l.test(nn)&&Yt();break;case 1:Ue(n.charAt(K-1),pe);break;case 2:xe(pe);break;case 3:ke(pe);break;case 4:we(pe);break;case 5:Z(pe);break;case 6:Ft(pe);break;case 7:Dt(pe);break;default:fA(oe)}K++}var nn;return $n(),v;function Ue(nn,Jn){":"===nn?l.test(Jn)?(oe=2,ue=new lC((0,Gt.pi)((0,Gt.pi)({},ue),{hasMailtoPrefix:!0}))):ln():G[nn]===Jn||(l.test(Jn)?oe=2:"."===Jn?oe=3:"@"===Jn?oe=4:ln())}function xe(nn){"."===nn?oe=3:"@"===nn?oe=4:l.test(nn)||ln()}function ke(nn){"."===nn||"@"===nn?ln():l.test(nn)?oe=2:ln()}function we(nn){aC.test(nn)?oe=5:ln()}function Z(nn){"."===nn?oe=7:"-"===nn?oe=6:aC.test(nn)||$n()}function Ft(nn){"-"===nn||"."===nn?$n():aC.test(nn)?oe=5:$n()}function Dt(nn){"."===nn||"-"===nn?$n():aC.test(nn)?(oe=5,ue=new lC((0,Gt.pi)((0,Gt.pi)({},ue),{hasDomainDot:!0}))):$n()}function Yt(nn){void 0===nn&&(nn=2),oe=nn,ue=new lC({idx:K})}function ln(){oe=0,ue=P}function $n(){if(ue.hasDomainDot){var nn=n.slice(ue.idx,K);/[-.]$/.test(nn)&&(nn=nn.slice(0,-1));var Jn=ue.hasMailtoPrefix?nn.slice(7):nn;(function zn(Zr){var ui=(Zr.split(".").pop()||"").toLowerCase();return _.test(ui)})(Jn)&&v.push(new E3({tagBuilder:o,matchedText:nn,offset:ue.idx,email:Jn}))}ln()}},i}(M0),lC=function t(i){void 0===i&&(i={}),this.idx=void 0!==i.idx?i.idx:-1,this.hasMailtoPrefix=!!i.hasMailtoPrefix,this.hasDomainDot=!!i.hasDomainDot},m8=function(){function t(){}return t.isValid=function(i,n){return!(n&&!this.isValidUriScheme(n)||this.urlMatchDoesNotHaveProtocolOrDot(i,n)||this.urlMatchDoesNotHaveAtLeastOneWordChar(i,n)&&!this.isValidIpAddress(i)||this.containsMultipleDots(i))},t.isValidIpAddress=function(i){var n=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source);return null!==i.match(n)},t.containsMultipleDots=function(i){var n=i;return this.hasFullProtocolRegex.test(i)&&(n=i.split("://")[1]),n.split("/")[0].indexOf("..")>-1},t.isValidUriScheme=function(i){var n=i.match(this.uriSchemeRegex),o=n&&n[0].toLowerCase();return"javascript:"!==o&&"vbscript:"!==o},t.urlMatchDoesNotHaveProtocolOrDot=function(i,n){return!(!i||n&&this.hasFullProtocolRegex.test(n)||-1!==i.indexOf("."))},t.urlMatchDoesNotHaveAtLeastOneWordChar=function(i,n){return!(!i||!n||this.hasFullProtocolRegex.test(n)||this.hasWordCharAfterProtocolRegex.test(i))},t.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,t.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,t.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+M3+"]"),t.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,t}(),g8=(n=new RegExp("[/?#](?:["+Qd+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^\u2713]*["+Qd+"\\-+&@#/%=~_()|'$*\\[\\]{}\u2713])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,mA(2),")","|","(","(//)?",/(?:www\.)/.source,mA(6),")","|","(","(//)?",mA(10)+"\\.",D3.source,"(?![-"+d8+"])",")",")","(?::[0-9]+)?","(?:"+n.source+")?"].join(""),"gi")),v8=new RegExp("["+Qd+"]"),x3=function(t){function i(n){var o=t.call(this,n)||this;return o.stripPrefix={scheme:!0,www:!0},o.stripTrailingSlash=!0,o.decodePercentEncoding=!0,o.matcherRegex=g8,o.wordCharRegExp=v8,o.stripPrefix=n.stripPrefix,o.stripTrailingSlash=n.stripTrailingSlash,o.decodePercentEncoding=n.decodePercentEncoding,o}return(0,Gt.ZT)(i,t),i.prototype.parseMatches=function(n){for(var G,o=this.matcherRegex,l=this.stripPrefix,_=this.stripTrailingSlash,v=this.decodePercentEncoding,O=this.tagBuilder,P=[],K=function(){var ue=G[0],pe=G[1],ye=G[4],ke=G.index,we=G[5]||G[9],Z=n.charAt(ke-1);if(!m8.isValid(ue,pe)||ke>0&&"@"===Z||ke>0&&we&&oe.wordCharRegExp.test(Z))return"continue";if(/\?$/.test(ue)&&(ue=ue.substr(0,ue.length-1)),oe.matchHasUnbalancedClosingParen(ue))ue=ue.substr(0,ue.length-1);else{var Ft=oe.matchHasInvalidCharAfterTld(ue,pe);Ft>-1&&(ue=ue.substr(0,Ft))}var Dt=["http://","https://"].find(function(nn){return!!pe&&-1!==pe.indexOf(nn)});if(Dt){var Yt=ue.indexOf(Dt);ue=ue.substr(Yt),pe=pe.substr(Yt),ke+=Yt}P.push(new C3({tagBuilder:O,matchedText:ue,offset:ke,urlMatchType:pe?"scheme":ye?"www":"tld",url:ue,protocolUrlMatch:!!pe,protocolRelativeMatch:!!we,stripPrefix:l,stripTrailingSlash:_,decodePercentEncoding:v}))},oe=this;null!==(G=o.exec(n));)K();return P},i.prototype.matchHasUnbalancedClosingParen=function(n){var l,o=n.charAt(n.length-1);if(")"===o)l="(";else if("]"===o)l="[";else{if("}"!==o)return!1;l="{"}for(var _=0,v=0,O=n.length-1;v<O;v++){var P=n.charAt(v);P===l?_++:P===o&&(_=Math.max(_-1,0))}return 0===_},i.prototype.matchHasInvalidCharAfterTld=function(n,o){if(!n)return-1;var l=0;o&&(l=n.indexOf(":"),n=n.slice(l));var v=new RegExp("^((.?//)?[-."+Qd+"]*[-"+Qd+"]\\.[-"+Qd+"]+)").exec(n);return null===v?-1:(l+=v[1].length,n=n.slice(v[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(n)?l:-1)},i}(M0),w3=new RegExp("[_".concat(Qd,"]")),P3=function(t){function i(n){var o=t.call(this,n)||this;return o.serviceName="twitter",o.serviceName=n.serviceName,o}return(0,Gt.ZT)(i,t),i.prototype.parseMatches=function(n){for(var o=this.tagBuilder,l=this.serviceName,_=[],v=n.length,O=0,P=-1,G=0;O<v;){var K=n.charAt(O);switch(G){case 0:"#"===(xe=K)?(G=2,P=O):UE.test(xe)&&(G=1);break;case 1:ue(K);break;case 2:pe(K);break;case 3:ye(K);break;default:fA(G)}O++}var xe;return Ue(),_;function ue(xe){UE.test(xe)||(G=0)}function pe(xe){G=w3.test(xe)?3:UE.test(xe)?1:0}function ye(xe){w3.test(xe)||(Ue(),P=-1,G=UE.test(xe)?1:0)}function Ue(){if(P>-1&&O-P<=140){var xe=n.slice(P,O),ke=new S3({tagBuilder:o,matchedText:xe,offset:P,serviceName:l,hashtag:xe.slice(1)});_.push(ke)}}},i}(M0),y8=["twitter","facebook","instagram","tiktok"],b8=new RegExp("".concat(/(?:(?:(?:(\+)?\d{1,3}[-\040.]?)?\(?\d{3}\)?[-\040.]?\d{3}[-\040.]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-\040.]?(?:\d[-\040.]?){6,12}\d+))([,;]+[0-9]+#?)*/.source,"|").concat(/(0([1-9]{1}-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/.source),"g"),N3=function(t){function i(){var n=null!==t&&t.apply(this,arguments)||this;return n.matcherRegex=b8,n}return(0,Gt.ZT)(i,t),i.prototype.parseMatches=function(n){for(var v,o=this.matcherRegex,l=this.tagBuilder,_=[];null!==(v=o.exec(n));){var O=v[0],P=O.replace(/[^0-9,;#]/g,""),G=!(!v[1]&&!v[2]),K=0==v.index?"":n.substr(v.index-1,1),oe=n.substr(v.index+O.length,1),ue=!K.match(/\d/)&&!oe.match(/\d/);this.testMatch(v[3])&&this.testMatch(O)&&ue&&_.push(new T3({tagBuilder:l,matchedText:O,offset:v.index,number:P,plusSign:G}))}return _},i.prototype.testMatch=function(n){return a8.test(n)},i}(M0),T8=new RegExp("@[_".concat(Qd,"]{1,50}(?![_").concat(Qd,"])"),"g"),C8=new RegExp("@[_.".concat(Qd,"]{1,30}(?![_").concat(Qd,"])"),"g"),M8=new RegExp("@[-_.".concat(Qd,"]{1,50}(?![-_").concat(Qd,"])"),"g"),O8=new RegExp("@[_.".concat(Qd,"]{1,23}[_").concat(Qd,"](?![_").concat(Qd,"])"),"g"),A8=new RegExp("[^"+Qd+"]"),I3=function(t){function i(n){var o=t.call(this,n)||this;return o.serviceName="twitter",o.matcherRegexes={twitter:T8,instagram:C8,soundcloud:M8,tiktok:O8},o.nonWordCharRegex=A8,o.serviceName=n.serviceName,o}return(0,Gt.ZT)(i,t),i.prototype.parseMatches=function(n){var P,o=this.serviceName,l=this.matcherRegexes[this.serviceName],_=this.nonWordCharRegex,v=this.tagBuilder,O=[];if(!l)return O;for(;null!==(P=l.exec(n));){var G=P.index,K=n.charAt(G-1);if(0===G||_.test(K)){var oe=P[0].replace(/\.+$/g,""),ue=oe.slice(1);O.push(new b3({tagBuilder:v,matchedText:oe,offset:G,serviceName:o,mention:ue}))}}return O},i}(M0);var rg=function t(i){void 0===i&&(i={}),this.idx=void 0!==i.idx?i.idx:-1,this.type=i.type||"tag",this.name=i.name||"",this.isOpening=!!i.isOpening,this.isClosing=!!i.isClosing},R8=function(){function t(i){void 0===i&&(i={}),this.version=t.version,this.urls={},this.email=!0,this.phone=!0,this.hashtag=!1,this.mention=!1,this.newWindow=!0,this.stripPrefix={scheme:!0,www:!0},this.stripTrailingSlash=!0,this.decodePercentEncoding=!0,this.truncate={length:0,location:"end"},this.className="",this.replaceFn=null,this.context=void 0,this.sanitizeHtml=!1,this.matchers=null,this.tagBuilder=null,this.urls=this.normalizeUrlsCfg(i.urls),this.email="boolean"==typeof i.email?i.email:this.email,this.phone="boolean"==typeof i.phone?i.phone:this.phone,this.hashtag=i.hashtag||this.hashtag,this.mention=i.mention||this.mention,this.newWindow="boolean"==typeof i.newWindow?i.newWindow:this.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(i.stripPrefix),this.stripTrailingSlash="boolean"==typeof i.stripTrailingSlash?i.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding="boolean"==typeof i.decodePercentEncoding?i.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=i.sanitizeHtml||!1;var n=this.mention;if(!1!==n&&-1===["twitter","instagram","soundcloud","tiktok"].indexOf(n))throw new Error("invalid `mention` cfg '".concat(n,"' - see docs"));var o=this.hashtag;if(!1!==o&&-1===y8.indexOf(o))throw new Error("invalid `hashtag` cfg '".concat(o,"' - see docs"));this.truncate=this.normalizeTruncateCfg(i.truncate),this.className=i.className||this.className,this.replaceFn=i.replaceFn||this.replaceFn,this.context=i.context||this}return t.link=function(i,n){return new t(n).link(i)},t.parse=function(i,n){return new t(n).parse(i)},t.prototype.normalizeUrlsCfg=function(i){return null==i&&(i=!0),"boolean"==typeof i?{schemeMatches:i,wwwMatches:i,tldMatches:i}:{schemeMatches:"boolean"!=typeof i.schemeMatches||i.schemeMatches,wwwMatches:"boolean"!=typeof i.wwwMatches||i.wwwMatches,tldMatches:"boolean"!=typeof i.tldMatches||i.tldMatches}},t.prototype.normalizeStripPrefixCfg=function(i){return null==i&&(i=!0),"boolean"==typeof i?{scheme:i,www:i}:{scheme:"boolean"!=typeof i.scheme||i.scheme,www:"boolean"!=typeof i.www||i.www}},t.prototype.normalizeTruncateCfg=function(i){return"number"==typeof i?{length:i,location:"end"}:function e8(t,i){for(var n in i)i.hasOwnProperty(n)&&void 0===t[n]&&(t[n]=i[n]);return t}(i||{},{length:Number.POSITIVE_INFINITY,location:"end"})},t.prototype.parse=function(i){var n=this,o=["a","style","script"],l=0,_=[];return function D8(t,i){for(var n=i.onOpenTag,o=i.onCloseTag,l=i.onText,_=i.onComment,v=i.onDoctype,O=new rg,P=0,G=t.length,K=0,oe=0,ue=O;P<G;){var pe=t.charAt(P);switch(K){case 0:"<"===pe&&Wn();break;case 1:"!"===(pi=pe)?K=13:"/"===pi?(K=2,ue=new rg((0,Gt.pi)((0,Gt.pi)({},ue),{isClosing:!0}))):"<"===pi?Wn():_A.test(pi)?(K=3,ue=new rg((0,Gt.pi)((0,Gt.pi)({},ue),{isOpening:!0}))):(K=0,ue=O);break;case 2:ke(pe);break;case 3:xe(pe);break;case 4:we(pe);break;case 5:Z(pe);break;case 6:Ft(pe);break;case 7:Dt(pe);break;case 8:Yt(pe);break;case 9:ln(pe);break;case 10:$n(pe);break;case 11:nn(pe);break;case 12:Jn(pe);break;case 13:"--"===t.substr(P,2)?(P+=2,ue=new rg((0,Gt.pi)((0,Gt.pi)({},ue),{type:"comment"})),K=14):"DOCTYPE"===t.substr(P,7).toUpperCase()?(P+=7,ue=new rg((0,Gt.pi)((0,Gt.pi)({},ue),{type:"doctype"})),K=20):Cr();break;case 14:Zr(pe);break;case 15:$r(pe);break;case 16:ui(pe);break;case 17:gi(pe);break;case 18:Un(pe);break;case 19:lr(pe);break;case 20:ar(pe);break;default:fA(K)}P++}var pi;function xe(pi){uv.test(pi)?(ue=new rg((0,Gt.pi)((0,Gt.pi)({},ue),{name:Yi()})),K=4):"<"===pi?Wn():"/"===pi?(ue=new rg((0,Gt.pi)((0,Gt.pi)({},ue),{name:Yi()})),K=12):">"===pi?(ue=new rg((0,Gt.pi)((0,Gt.pi)({},ue),{name:Yi()})),ai()):!_A.test(pi)&&!s8.test(pi)&&":"!==pi&&Cr()}function ke(pi){">"===pi?Cr():_A.test(pi)?K=3:Cr()}function we(pi){uv.test(pi)||("/"===pi?K=12:">"===pi?ai():"<"===pi?Wn():"="===pi||hA.test(pi)||l8.test(pi)?Cr():K=5)}function Z(pi){uv.test(pi)?K=6:"/"===pi?K=12:"="===pi?K=7:">"===pi?ai():"<"===pi?Wn():hA.test(pi)&&Cr()}function Ft(pi){uv.test(pi)||("/"===pi?K=12:"="===pi?K=7:">"===pi?ai():"<"===pi?Wn():hA.test(pi)?Cr():K=5)}function Dt(pi){uv.test(pi)||('"'===pi?K=8:"'"===pi?K=9:/[>=`]/.test(pi)?Cr():"<"===pi?Wn():K=10)}function Yt(pi){'"'===pi&&(K=11)}function ln(pi){"'"===pi&&(K=11)}function $n(pi){uv.test(pi)?K=4:">"===pi?ai():"<"===pi&&Wn()}function nn(pi){uv.test(pi)?K=4:"/"===pi?K=12:">"===pi?ai():"<"===pi?Wn():(K=4,function lo(){P--}())}function Jn(pi){">"===pi?(ue=new rg((0,Gt.pi)((0,Gt.pi)({},ue),{isClosing:!0})),ai()):K=4}function Zr(pi){"-"===pi?K=15:">"===pi?Cr():K=16}function $r(pi){"-"===pi?K=18:">"===pi?Cr():K=16}function ui(pi){"-"===pi&&(K=17)}function gi(pi){K="-"===pi?18:16}function Un(pi){">"===pi?ai():"!"===pi?K=19:"-"===pi||(K=16)}function lr(pi){"-"===pi?K=17:">"===pi?ai():K=16}function ar(pi){">"===pi?ai():"<"===pi&&Wn()}function Cr(){K=0,ue=O}function Wn(){K=1,ue=new rg({idx:P})}function ai(){var pi=t.slice(oe,ue.idx);pi&&l(pi,oe),"comment"===ue.type?_(ue.idx):"doctype"===ue.type?v(ue.idx):(ue.isOpening&&n(ue.name,ue.idx),ue.isClosing&&o(ue.name,ue.idx)),Cr(),oe=P+1}function Yi(){return t.slice(ue.idx+(ue.isClosing?2:1),P).toLowerCase()}oe<P&&function ho(){var pi=t.slice(oe,P);l(pi,oe),oe=P+1}()}(i,{onOpenTag:function(v){o.indexOf(v)>=0&&l++},onText:function(v,O){if(0===l){var G=function n8(t,i){if(!i.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var l,n=[],o=0;l=i.exec(t);)n.push(t.substring(o,l.index)),n.push(l[0]),o=l.index+l[0].length;return n.push(t.substring(o)),n}(v,/(&nbsp;|&#160;|&lt;|&#60;|&gt;|&#62;|&quot;|&#34;|&#39;)/gi),K=O;G.forEach(function(oe,ue){if(ue%2==0){var pe=n.parseText(oe,K);_.push.apply(_,pe)}K+=oe.length})}},onCloseTag:function(v){o.indexOf(v)>=0&&(l=Math.max(l-1,0))},onComment:function(v){},onDoctype:function(v){}}),_=this.compactMatches(_),_=this.removeUnwantedMatches(_)},t.prototype.compactMatches=function(i){i.sort(function(P,G){return P.getOffset()-G.getOffset()});for(var n=0;n<i.length-1;){var o=i[n],l=o.getOffset(),_=o.getMatchedText().length,v=l+_;if(n+1<i.length){if(i[n+1].getOffset()===l){var O=i[n+1].getMatchedText().length>_?n:n+1;i.splice(O,1);continue}if(i[n+1].getOffset()<v){i.splice(n+1,1);continue}}n++}return i},t.prototype.removeUnwantedMatches=function(i){return this.hashtag||lv(i,function(n){return"hashtag"===n.getType()}),this.email||lv(i,function(n){return"email"===n.getType()}),this.phone||lv(i,function(n){return"phone"===n.getType()}),this.mention||lv(i,function(n){return"mention"===n.getType()}),this.urls.schemeMatches||lv(i,function(n){return"url"===n.getType()&&"scheme"===n.getUrlMatchType()}),this.urls.wwwMatches||lv(i,function(n){return"url"===n.getType()&&"www"===n.getUrlMatchType()}),this.urls.tldMatches||lv(i,function(n){return"url"===n.getType()&&"tld"===n.getUrlMatchType()}),i},t.prototype.parseText=function(i,n){void 0===n&&(n=0),n=n||0;for(var o=this.getMatchers(),l=[],_=0,v=o.length;_<v;_++){for(var O=o[_].parseMatches(i),P=0,G=O.length;P<G;P++)O[P].setOffset(n+O[P].getOffset());l.push.apply(l,O)}return l},t.prototype.link=function(i){if(!i)return"";this.sanitizeHtml&&(i=i.replace(/</g,"&lt;").replace(/>/g,"&gt;"));for(var n=this.parse(i),o=[],l=0,_=0,v=n.length;_<v;_++){var O=n[_];o.push(i.substring(l,O.getOffset())),o.push(this.createMatchReturnVal(O)),l=O.getOffset()+O.getMatchedText().length}return o.push(i.substring(l)),o.join("")},t.prototype.createMatchReturnVal=function(i){var n;return this.replaceFn&&(n=this.replaceFn.call(this.context,i)),"string"==typeof n?n:!1===n?i.getMatchedText():n instanceof pA?n.toAnchorString():i.buildTag().toAnchorString()},t.prototype.getMatchers=function(){if(this.matchers)return this.matchers;var i=this.getTagBuilder(),n=[new P3({tagBuilder:i,serviceName:this.hashtag}),new R3({tagBuilder:i}),new N3({tagBuilder:i}),new I3({tagBuilder:i,serviceName:this.mention}),new x3({tagBuilder:i,stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding})];return this.matchers=n},t.prototype.getTagBuilder=function(){var i=this.tagBuilder;return i||(i=this.tagBuilder=new y3({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),i},t.version="3.16.2",t.AnchorTagBuilder=y3,t.HtmlTag=pA,t.matcher={Email:R3,Hashtag:P3,Matcher:M0,Mention:I3,Phone:N3,Url:x3},t.match={Email:E3,Hashtag:S3,Match:C0,Mention:b3,Phone:T3,Url:C3},t}();const x8=R8;var w8=/www|@|\:\/\//;function P8(t){return/^<a[>\s]/i.test(t)}function N8(t){return/^<\/a\s*>/i.test(t)}function I8(){var t=[],i=new x8({stripPrefix:!1,url:!0,email:!0,replaceFn:function(n){switch(n.getType()){case"url":t.push({text:n.matchedText,url:n.getUrl()});break;case"email":t.push({text:n.matchedText,url:"mailto:"+n.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:t,autolinker:i}}function F8(t){var i,n,o,l,_,v,O,P,G,K,oe,ye,Ue,ue=t.tokens,pe=null;for(n=0,o=ue.length;n<o;n++)if("inline"===ue[n].type)for(oe=0,i=(l=ue[n].children).length-1;i>=0;i--)if("link_close"!==(_=l[i]).type){if("htmltag"===_.type&&(P8(_.content)&&oe>0&&oe--,N8(_.content)&&oe++),!(oe>0)&&"text"===_.type&&w8.test(_.content)){if(pe||(ye=(pe=I8()).links,Ue=pe.autolinker),v=_.content,ye.length=0,Ue.link(v),!ye.length)continue;for(O=[],K=_.level,P=0;P<ye.length;P++)t.inline.validateLink(ye[P].url)&&((G=v.indexOf(ye[P].text))&&O.push({type:"text",content:v.slice(0,G),level:K}),O.push({type:"link_open",href:ye[P].url,title:"",level:K++}),O.push({type:"text",content:ye[P].text,level:K}),O.push({type:"link_close",level:--K}),v=v.slice(G+ye[P].text.length));v.length&&O.push({type:"text",content:v,level:K}),ue[n].children=l=[].concat(l.slice(0,i),O,l.slice(i+1))}}else for(i--;l[i].level!==_.level&&"link_open"!==l[i].type;)i--}function L8(t){t.core.ruler.push("linkify",F8)}var k8=s(23358),$8=s.n(k8),H8=s(1653),U8=s.n(H8),B8=s(86101),G8=s.n(B8),gA=s(91700);function F3(t){if(gA(t))return t}var cv=s(65861),vA=s(70589),L3=s(73875);function k3(t){if(typeof cv<"u"&&null!=vA(t)||null!=t["@@iterator"])return L3(t)}var Y8=s(46815);function yA(t,i){(null==i||i>t.length)&&(i=t.length);for(var n=0,o=new Array(i);n<i;n++)o[n]=t[n];return o}function uC(t,i){var n;if(t){if("string"==typeof t)return yA(t,i);var o=Y8(n=Object.prototype.toString.call(t)).call(n,8,-1);if("Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o)return L3(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return yA(t,i)}}function $3(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function j8(t){return F3(t)||k3(t)||uC(t)||$3()}var z8=s(53757),V8=s.n(z8),Z8=s(48129),W8=s.n(Z8),J8=s(31507),Q8=s.n(J8),K8=s(17346),X8=s.n(K8),q8=s(12232),eI=s.n(q8),H3=s(49745);function U3(t,i,n,o,l,_,v){try{var O=t[_](v),P=O.value}catch(G){return void n(G)}O.done?i(P):H3.resolve(P).then(o,l)}function tI(t){return function(){var i=this,n=arguments;return new H3(function(o,l){var _=t.apply(i,n);function v(P){U3(_,o,l,v,O,"next",P)}function O(P){U3(_,o,l,v,O,"throw",P)}v(void 0)})}}var nI=s(33950),rI=s.n(nI),iI=s(86413),oI=s.n(iI),sI=s(14226),aI=s.n(sI),lI=s(64871),uI=s.n(lI),cI=s(41776),dI=s.n(cI),fI=s(12666),pI=s.n(fI),mm=s(8239);const B3="application/json, application/yaml",EA="https://swagger.io";function G3(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{requestInterceptor:n,responseInterceptor:o}=i,l=t.withCredentials?"include":"same-origin";return _=>t({url:_,loadSpec:!0,requestInterceptor:n,responseInterceptor:o,headers:{Accept:B3},credentials:l}).then(v=>v.body)}var _I=s(79257),SA=s.n(_I);function Y3(t){return typeof t>"u"||null===t}var vp={isNothing:Y3,isObject:function hI(t){return"object"==typeof t&&null!==t},toArray:function mI(t){return Array.isArray(t)?t:Y3(t)?[]:[t]},repeat:function vI(t,i){var o,n="";for(o=0;o<i;o+=1)n+=t;return n},isNegativeZero:function yI(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t},extend:function gI(t,i){var n,o,l,_;if(i)for(n=0,o=(_=Object.keys(i)).length;n<o;n+=1)t[l=_[n]]=i[l];return t}};function j3(t,i){var n="",o=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!i&&t.mark.snippet&&(n+="\n\n"+t.mark.snippet),o+" "+n):o}function BE(t,i){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=i,this.message=j3(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}(BE.prototype=Object.create(Error.prototype)).constructor=BE,BE.prototype.toString=function(i){return this.name+": "+j3(this,i)};var U_=BE;function bA(t,i,n,o,l){var _="",v="",O=Math.floor(l/2)-1;return o-i>O&&(i=o-O+(_=" ... ").length),n-o>O&&(n=o+O-(v=" ...").length),{str:_+t.slice(i,n).replace(/\t/g,"\u2192")+v,pos:o-i+_.length}}function TA(t,i){return vp.repeat(" ",i-t.length)+t}var AI=function OI(t,i){if(i=Object.create(i||null),!t.buffer)return null;i.maxLength||(i.maxLength=79),"number"!=typeof i.indent&&(i.indent=1),"number"!=typeof i.linesBefore&&(i.linesBefore=3),"number"!=typeof i.linesAfter&&(i.linesAfter=2);for(var _,n=/\r?\n|\r|\0/g,o=[0],l=[],v=-1;_=n.exec(t.buffer);)l.push(_.index),o.push(_.index+_[0].length),t.position<=_.index&&v<0&&(v=o.length-2);v<0&&(v=o.length-1);var P,G,O="",K=Math.min(t.line+i.linesAfter,l.length).toString().length,oe=i.maxLength-(i.indent+K+3);for(P=1;P<=i.linesBefore&&!(v-P<0);P++)G=bA(t.buffer,o[v-P],l[v-P],t.position-(o[v]-o[v-P]),oe),O=vp.repeat(" ",i.indent)+TA((t.line-P+1).toString(),K)+" | "+G.str+"\n"+O;for(G=bA(t.buffer,o[v],l[v],t.position,oe),O+=vp.repeat(" ",i.indent)+TA((t.line+1).toString(),K)+" | "+G.str+"\n",O+=vp.repeat("-",i.indent+K+3+G.pos)+"^\n",P=1;P<=i.linesAfter&&!(v+P>=l.length);P++)G=bA(t.buffer,o[v+P],l[v+P],t.position-(o[v]-o[v+P]),oe),O+=vp.repeat(" ",i.indent)+TA((t.line+P+1).toString(),K)+" | "+G.str+"\n";return O.replace(/\n$/,"")},DI=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],RI=["scalar","sequence","mapping"],qp=function wI(t,i){if(i=i||{},Object.keys(i).forEach(function(n){if(-1===DI.indexOf(n))throw new U_('Unknown option "'+n+'" is met in definition of "'+t+'" YAML type.')}),this.options=i,this.tag=t,this.kind=i.kind||null,this.resolve=i.resolve||function(){return!0},this.construct=i.construct||function(n){return n},this.instanceOf=i.instanceOf||null,this.predicate=i.predicate||null,this.represent=i.represent||null,this.representName=i.representName||null,this.defaultStyle=i.defaultStyle||null,this.multi=i.multi||!1,this.styleAliases=function xI(t){var i={};return null!==t&&Object.keys(t).forEach(function(n){t[n].forEach(function(o){i[String(o)]=n})}),i}(i.styleAliases||null),-1===RI.indexOf(this.kind))throw new U_('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function z3(t,i){var n=[];return t[i].forEach(function(o){var l=n.length;n.forEach(function(_,v){_.tag===o.tag&&_.kind===o.kind&&_.multi===o.multi&&(l=v)}),n[l]=o}),n}function CA(t){return this.extend(t)}CA.prototype.extend=function(i){var n=[],o=[];if(i instanceof qp)o.push(i);else if(Array.isArray(i))o=o.concat(i);else{if(!i||!Array.isArray(i.implicit)&&!Array.isArray(i.explicit))throw new U_("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");i.implicit&&(n=n.concat(i.implicit)),i.explicit&&(o=o.concat(i.explicit))}n.forEach(function(_){if(!(_ instanceof qp))throw new U_("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(_.loadKind&&"scalar"!==_.loadKind)throw new U_("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(_.multi)throw new U_("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),o.forEach(function(_){if(!(_ instanceof qp))throw new U_("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var l=Object.create(CA.prototype);return l.implicit=(this.implicit||[]).concat(n),l.explicit=(this.explicit||[]).concat(o),l.compiledImplicit=z3(l,"implicit"),l.compiledExplicit=z3(l,"explicit"),l.compiledTypeMap=function PI(){var i,n,t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function o(l){l.multi?(t.multi[l.kind].push(l),t.multi.fallback.push(l)):t[l.kind][l.tag]=t.fallback[l.tag]=l}for(i=0,n=arguments.length;i<n;i+=1)arguments[i].forEach(o);return t}(l.compiledImplicit,l.compiledExplicit),l};var V3=CA,Z3=new qp("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}}),W3=new qp("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}}),J3=new qp("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}}),Q3=new V3({explicit:[Z3,W3,J3]}),K3=new qp("tag:yaml.org,2002:null",{kind:"scalar",resolve:function NI(t){if(null===t)return!0;var i=t.length;return 1===i&&"~"===t||4===i&&("null"===t||"Null"===t||"NULL"===t)},construct:function II(){return null},predicate:function FI(t){return null===t},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),X3=new qp("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function LI(t){if(null===t)return!1;var i=t.length;return 4===i&&("true"===t||"True"===t||"TRUE"===t)||5===i&&("false"===t||"False"===t||"FALSE"===t)},construct:function kI(t){return"true"===t||"True"===t||"TRUE"===t},predicate:function $I(t){return"[object Boolean]"===Object.prototype.toString.call(t)},represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function HI(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function UI(t){return 48<=t&&t<=55}function BI(t){return 48<=t&&t<=57}var q3=new qp("tag:yaml.org,2002:int",{kind:"scalar",resolve:function GI(t){if(null===t)return!1;var l,i=t.length,n=0,o=!1;if(!i)return!1;if(("-"===(l=t[n])||"+"===l)&&(l=t[++n]),"0"===l){if(n+1===i)return!0;if("b"===(l=t[++n])){for(n++;n<i;n++)if("_"!==(l=t[n])){if("0"!==l&&"1"!==l)return!1;o=!0}return o&&"_"!==l}if("x"===l){for(n++;n<i;n++)if("_"!==(l=t[n])){if(!HI(t.charCodeAt(n)))return!1;o=!0}return o&&"_"!==l}if("o"===l){for(n++;n<i;n++)if("_"!==(l=t[n])){if(!UI(t.charCodeAt(n)))return!1;o=!0}return o&&"_"!==l}}if("_"===l)return!1;for(;n<i;n++)if("_"!==(l=t[n])){if(!BI(t.charCodeAt(n)))return!1;o=!0}return!(!o||"_"===l)},construct:function YI(t){var o,i=t,n=1;if(-1!==i.indexOf("_")&&(i=i.replace(/_/g,"")),("-"===(o=i[0])||"+"===o)&&("-"===o&&(n=-1),o=(i=i.slice(1))[0]),"0"===i)return 0;if("0"===o){if("b"===i[1])return n*parseInt(i.slice(2),2);if("x"===i[1])return n*parseInt(i.slice(2),16);if("o"===i[1])return n*parseInt(i.slice(2),8)}return n*parseInt(i,10)},predicate:function jI(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!vp.isNegativeZero(t)},represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),zI=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),WI=/^[-+]?[0-9]+e/,ex=new qp("tag:yaml.org,2002:float",{kind:"scalar",resolve:function VI(t){return!(null===t||!zI.test(t)||"_"===t[t.length-1])},construct:function ZI(t){var i,n;return n="-"===(i=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(i[0])>=0&&(i=i.slice(1)),".inf"===i?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===i?NaN:n*parseFloat(i,10)},predicate:function QI(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||vp.isNegativeZero(t))},represent:function JI(t,i){var n;if(isNaN(t))switch(i){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(i){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(i){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(vp.isNegativeZero(t))return"-0.0";return n=t.toString(10),WI.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),tx=Q3.extend({implicit:[K3,X3,q3,ex]}),nx=tx,rx=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),ix=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),ox=new qp("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function KI(t){return null!==t&&(null!==rx.exec(t)||null!==ix.exec(t))},construct:function XI(t){var i,n,o,l,_,v,O,ue,P=0,G=null;if(null===(i=rx.exec(t))&&(i=ix.exec(t)),null===i)throw new Error("Date resolve error");if(n=+i[1],o=+i[2]-1,l=+i[3],!i[4])return new Date(Date.UTC(n,o,l));if(_=+i[4],v=+i[5],O=+i[6],i[7]){for(P=i[7].slice(0,3);P.length<3;)P+="0";P=+P}return i[9]&&(G=6e4*(60*+i[10]+ +(i[11]||0)),"-"===i[9]&&(G=-G)),ue=new Date(Date.UTC(n,o,l,_,v,O,P)),G&&ue.setTime(ue.getTime()-G),ue},instanceOf:Date,represent:function qI(t){return t.toISOString()}}),sx=new qp("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function eF(t){return"<<"===t||null===t}}),MA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",ax=new qp("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function tF(t){if(null===t)return!1;var i,n,o=0,l=t.length,_=MA;for(n=0;n<l;n++)if(!((i=_.indexOf(t.charAt(n)))>64)){if(i<0)return!1;o+=6}return o%8==0},construct:function nF(t){var i,n,o=t.replace(/[\r\n=]/g,""),l=o.length,_=MA,v=0,O=[];for(i=0;i<l;i++)i%4==0&&i&&(O.push(v>>16&255),O.push(v>>8&255),O.push(255&v)),v=v<<6|_.indexOf(o.charAt(i));return 0==(n=l%4*6)?(O.push(v>>16&255),O.push(v>>8&255),O.push(255&v)):18===n?(O.push(v>>10&255),O.push(v>>2&255)):12===n&&O.push(v>>4&255),new Uint8Array(O)},predicate:function iF(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function rF(t){var o,l,i="",n=0,_=t.length,v=MA;for(o=0;o<_;o++)o%3==0&&o&&(i+=v[n>>18&63],i+=v[n>>12&63],i+=v[n>>6&63],i+=v[63&n]),n=(n<<8)+t[o];return 0==(l=_%3)?(i+=v[n>>18&63],i+=v[n>>12&63],i+=v[n>>6&63],i+=v[63&n]):2===l?(i+=v[n>>10&63],i+=v[n>>4&63],i+=v[n<<2&63],i+=v[64]):1===l&&(i+=v[n>>2&63],i+=v[n<<4&63],i+=v[64],i+=v[64]),i}}),oF=Object.prototype.hasOwnProperty,sF=Object.prototype.toString,lx=new qp("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function aF(t){if(null===t)return!0;var n,o,l,_,v,i=[],O=t;for(n=0,o=O.length;n<o;n+=1){if(v=!1,"[object Object]"!==sF.call(l=O[n]))return!1;for(_ in l)if(oF.call(l,_)){if(v)return!1;v=!0}if(!v)return!1;if(-1!==i.indexOf(_))return!1;i.push(_)}return!0},construct:function lF(t){return null!==t?t:[]}}),uF=Object.prototype.toString,ux=new qp("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function cF(t){if(null===t)return!0;var i,n,o,l,_,v=t;for(_=new Array(v.length),i=0,n=v.length;i<n;i+=1){if("[object Object]"!==uF.call(o=v[i])||1!==(l=Object.keys(o)).length)return!1;_[i]=[l[0],o[l[0]]]}return!0},construct:function dF(t){if(null===t)return[];var i,n,o,l,_,v=t;for(_=new Array(v.length),i=0,n=v.length;i<n;i+=1)o=v[i],l=Object.keys(o),_[i]=[l[0],o[l[0]]];return _}}),fF=Object.prototype.hasOwnProperty,cx=new qp("tag:yaml.org,2002:set",{kind:"mapping",resolve:function pF(t){if(null===t)return!0;var i,n=t;for(i in n)if(fF.call(n,i)&&null!==n[i])return!1;return!0},construct:function _F(t){return null!==t?t:{}}}),OA=nx.extend({implicit:[ox,sx],explicit:[ax,lx,ux,cx]}),d1=Object.prototype.hasOwnProperty,cC=1,dx=2,fx=3,dC=4,AA=1,hF=2,px=3,mF=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,gF=/[\x85\u2028\u2029]/,vF=/[,\[\]\{\}]/,_x=/^(?:!|!!|![a-z\-]+!)$/i,hx=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function mx(t){return Object.prototype.toString.call(t)}function ig(t){return 10===t||13===t}function dv(t){return 9===t||32===t}function vh(t){return 9===t||32===t||10===t||13===t}function O0(t){return 44===t||91===t||93===t||123===t||125===t}function yF(t){var i;return 48<=t&&t<=57?t-48:97<=(i=32|t)&&i<=102?i-97+10:-1}function EF(t){return 120===t?2:117===t?4:85===t?8:0}function SF(t){return 48<=t&&t<=57?t-48:-1}function gx(t){return 48===t?"\0":97===t?"\x07":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"\x1b":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"\x85":95===t?"\xa0":76===t?"\u2028":80===t?"\u2029":""}function bF(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var vx=new Array(256),yx=new Array(256),A0=0;A0<256;A0++)vx[A0]=gx(A0)?1:0,yx[A0]=gx(A0);function TF(t,i){this.input=t,this.filename=i.filename||null,this.schema=i.schema||OA,this.onWarning=i.onWarning||null,this.legacy=i.legacy||!1,this.json=i.json||!1,this.listener=i.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Ex(t,i){var n={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return n.snippet=AI(n),new U_(i,n)}function ul(t,i){throw Ex(t,i)}function fC(t,i){t.onWarning&&t.onWarning.call(null,Ex(t,i))}var Sx={YAML:function(i,n,o){var l,_,v;null!==i.version&&ul(i,"duplication of %YAML directive"),1!==o.length&&ul(i,"YAML directive accepts exactly one argument"),null===(l=/^([0-9]+)\.([0-9]+)$/.exec(o[0]))&&ul(i,"ill-formed argument of the YAML directive"),_=parseInt(l[1],10),v=parseInt(l[2],10),1!==_&&ul(i,"unacceptable YAML version of the document"),i.version=o[0],i.checkLineBreaks=v<2,1!==v&&2!==v&&fC(i,"unsupported YAML version of the document")},TAG:function(i,n,o){var l,_;2!==o.length&&ul(i,"TAG directive accepts exactly two arguments"),_=o[1],_x.test(l=o[0])||ul(i,"ill-formed tag handle (first argument) of the TAG directive"),d1.call(i.tagMap,l)&&ul(i,'there is a previously declared suffix for "'+l+'" tag handle'),hx.test(_)||ul(i,"ill-formed tag prefix (second argument) of the TAG directive");try{_=decodeURIComponent(_)}catch{ul(i,"tag prefix is malformed: "+_)}i.tagMap[l]=_}};function f1(t,i,n,o){var l,_,v,O;if(i<n){if(O=t.input.slice(i,n),o)for(l=0,_=O.length;l<_;l+=1)9===(v=O.charCodeAt(l))||32<=v&&v<=1114111||ul(t,"expected valid JSON character");else mF.test(O)&&ul(t,"the stream contains non-printable characters");t.result+=O}}function bx(t,i,n,o){var l,_,v,O;for(vp.isObject(n)||ul(t,"cannot merge mappings; the provided source object is unacceptable"),v=0,O=(l=Object.keys(n)).length;v<O;v+=1)d1.call(i,_=l[v])||(i[_]=n[_],o[_]=!0)}function D0(t,i,n,o,l,_,v,O,P){var G,K;if(Array.isArray(l))for(G=0,K=(l=Array.prototype.slice.call(l)).length;G<K;G+=1)Array.isArray(l[G])&&ul(t,"nested arrays are not supported inside keys"),"object"==typeof l&&"[object Object]"===mx(l[G])&&(l[G]="[object Object]");if("object"==typeof l&&"[object Object]"===mx(l)&&(l="[object Object]"),l=String(l),null===i&&(i={}),"tag:yaml.org,2002:merge"===o)if(Array.isArray(_))for(G=0,K=_.length;G<K;G+=1)bx(t,i,_[G],n);else bx(t,i,_,n);else!t.json&&!d1.call(n,l)&&d1.call(i,l)&&(t.line=v||t.line,t.lineStart=O||t.lineStart,t.position=P||t.position,ul(t,"duplicated mapping key")),"__proto__"===l?Object.defineProperty(i,l,{configurable:!0,enumerable:!0,writable:!0,value:_}):i[l]=_,delete n[l];return i}function DA(t){var i;10===(i=t.input.charCodeAt(t.position))?t.position++:13===i?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):ul(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function ep(t,i,n){for(var o=0,l=t.input.charCodeAt(t.position);0!==l;){for(;dv(l);)9===l&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),l=t.input.charCodeAt(++t.position);if(i&&35===l)do{l=t.input.charCodeAt(++t.position)}while(10!==l&&13!==l&&0!==l);if(!ig(l))break;for(DA(t),l=t.input.charCodeAt(t.position),o++,t.lineIndent=0;32===l;)t.lineIndent++,l=t.input.charCodeAt(++t.position)}return-1!==n&&0!==o&&t.lineIndent<n&&fC(t,"deficient indentation"),o}function pC(t){var n,i=t.position;return!(45!==(n=t.input.charCodeAt(i))&&46!==n||n!==t.input.charCodeAt(i+1)||n!==t.input.charCodeAt(i+2)||(i+=3,n=t.input.charCodeAt(i),0!==n&&!vh(n)))}function RA(t,i){1===i?t.result+=" ":i>1&&(t.result+=vp.repeat("\n",i-1))}function Tx(t,i){var n,P,o=t.tag,l=t.anchor,_=[],O=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=_),P=t.input.charCodeAt(t.position);0!==P&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,ul(t,"tab characters must not be used in indentation")),45===P&&vh(t.input.charCodeAt(t.position+1)));)if(O=!0,t.position++,ep(t,!0,-1)&&t.lineIndent<=i)_.push(null),P=t.input.charCodeAt(t.position);else if(n=t.line,R0(t,i,fx,!1,!0),_.push(t.result),ep(t,!0,-1),P=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>i)&&0!==P)ul(t,"bad indentation of a sequence entry");else if(t.lineIndent<i)break;return!!O&&(t.tag=o,t.anchor=l,t.kind="sequence",t.result=_,!0)}function xF(t){var i,l,_,v,n=!1,o=!1;if(33!==(v=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&ul(t,"duplication of a tag property"),60===(v=t.input.charCodeAt(++t.position))?(n=!0,v=t.input.charCodeAt(++t.position)):33===v?(o=!0,l="!!",v=t.input.charCodeAt(++t.position)):l="!",i=t.position,n){do{v=t.input.charCodeAt(++t.position)}while(0!==v&&62!==v);t.position<t.length?(_=t.input.slice(i,t.position),v=t.input.charCodeAt(++t.position)):ul(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==v&&!vh(v);)33===v&&(o?ul(t,"tag suffix cannot contain exclamation marks"):(l=t.input.slice(i-1,t.position+1),_x.test(l)||ul(t,"named tag handle cannot contain such characters"),o=!0,i=t.position+1)),v=t.input.charCodeAt(++t.position);_=t.input.slice(i,t.position),vF.test(_)&&ul(t,"tag suffix cannot contain flow indicator characters")}_&&!hx.test(_)&&ul(t,"tag name cannot contain such characters: "+_);try{_=decodeURIComponent(_)}catch{ul(t,"tag name is malformed: "+_)}return n?t.tag=_:d1.call(t.tagMap,l)?t.tag=t.tagMap[l]+_:"!"===l?t.tag="!"+_:"!!"===l?t.tag="tag:yaml.org,2002:"+_:ul(t,'undeclared tag handle "'+l+'"'),!0}function wF(t){var i,n;if(38!==(n=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&ul(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),i=t.position;0!==n&&!vh(n)&&!O0(n);)n=t.input.charCodeAt(++t.position);return t.position===i&&ul(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(i,t.position),!0}function R0(t,i,n,o,l){var _,v,O,oe,ue,pe,ye,Ue,xe,P=1,G=!1,K=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,_=v=O=dC===n||fx===n,o&&ep(t,!0,-1)&&(G=!0,t.lineIndent>i?P=1:t.lineIndent===i?P=0:t.lineIndent<i&&(P=-1)),1===P)for(;xF(t)||wF(t);)ep(t,!0,-1)?(G=!0,O=_,t.lineIndent>i?P=1:t.lineIndent===i?P=0:t.lineIndent<i&&(P=-1)):O=!1;if(O&&(O=G||l),(1===P||dC===n)&&(Ue=cC===n||dx===n?i:i+1,xe=t.position-t.lineStart,1===P?O&&(Tx(t,xe)||function RF(t,i,n){var o,l,_,v,O,P,we,G=t.tag,K=t.anchor,oe={},ue=Object.create(null),pe=null,ye=null,Ue=null,xe=!1,ke=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=oe),we=t.input.charCodeAt(t.position);0!==we;){if(!xe&&-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,ul(t,"tab characters must not be used in indentation")),o=t.input.charCodeAt(t.position+1),_=t.line,63!==we&&58!==we||!vh(o)){if(v=t.line,O=t.lineStart,P=t.position,!R0(t,n,dx,!1,!0))break;if(t.line===_){for(we=t.input.charCodeAt(t.position);dv(we);)we=t.input.charCodeAt(++t.position);if(58===we)vh(we=t.input.charCodeAt(++t.position))||ul(t,"a whitespace character is expected after the key-value separator within a block mapping"),xe&&(D0(t,oe,ue,pe,ye,null,v,O,P),pe=ye=Ue=null),ke=!0,xe=!1,l=!1,pe=t.tag,ye=t.result;else{if(!ke)return t.tag=G,t.anchor=K,!0;ul(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!ke)return t.tag=G,t.anchor=K,!0;ul(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===we?(xe&&(D0(t,oe,ue,pe,ye,null,v,O,P),pe=ye=Ue=null),ke=!0,xe=!0,l=!0):xe?(xe=!1,l=!0):ul(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,we=o;if((t.line===_||t.lineIndent>i)&&(xe&&(v=t.line,O=t.lineStart,P=t.position),R0(t,i,dC,!0,l)&&(xe?ye=t.result:Ue=t.result),xe||(D0(t,oe,ue,pe,ye,Ue,v,O,P),pe=ye=Ue=null),ep(t,!0,-1),we=t.input.charCodeAt(t.position)),(t.line===_||t.lineIndent>i)&&0!==we)ul(t,"bad indentation of a mapping entry");else if(t.lineIndent<i)break}return xe&&D0(t,oe,ue,pe,ye,null,v,O,P),ke&&(t.tag=G,t.anchor=K,t.kind="mapping",t.result=oe),ke}(t,xe,Ue))||function AF(t,i){var o,l,_,O,K,oe,ue,pe,Ue,xe,ke,we,n=!0,v=t.tag,P=t.anchor,ye=Object.create(null);if(91===(we=t.input.charCodeAt(t.position)))K=93,pe=!1,O=[];else{if(123!==we)return!1;K=125,pe=!0,O={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=O),we=t.input.charCodeAt(++t.position);0!==we;){if(ep(t,!0,i),(we=t.input.charCodeAt(t.position))===K)return t.position++,t.tag=v,t.anchor=P,t.kind=pe?"mapping":"sequence",t.result=O,!0;n?44===we&&ul(t,"expected the node content, but found ','"):ul(t,"missed comma between flow collection entries"),ke=null,oe=ue=!1,63===we&&vh(t.input.charCodeAt(t.position+1))&&(oe=ue=!0,t.position++,ep(t,!0,i)),o=t.line,l=t.lineStart,_=t.position,R0(t,i,cC,!1,!0),xe=t.tag,Ue=t.result,ep(t,!0,i),we=t.input.charCodeAt(t.position),(ue||t.line===o)&&58===we&&(oe=!0,we=t.input.charCodeAt(++t.position),ep(t,!0,i),R0(t,i,cC,!1,!0),ke=t.result),pe?D0(t,O,ye,xe,Ue,ke,o,l,_):O.push(oe?D0(t,null,ye,xe,Ue,ke,o,l,_):Ue),ep(t,!0,i),44===(we=t.input.charCodeAt(t.position))?(n=!0,we=t.input.charCodeAt(++t.position)):n=!1}ul(t,"unexpected end of the stream within a flow collection")}(t,Ue)?K=!0:(v&&function DF(t,i){var n,o,K,oe,l=AA,_=!1,v=!1,O=i,P=0,G=!1;if(124===(oe=t.input.charCodeAt(t.position)))o=!1;else{if(62!==oe)return!1;o=!0}for(t.kind="scalar",t.result="";0!==oe;)if(43===(oe=t.input.charCodeAt(++t.position))||45===oe)AA===l?l=43===oe?px:hF:ul(t,"repeat of a chomping mode identifier");else{if(!((K=SF(oe))>=0))break;0===K?ul(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):v?ul(t,"repeat of an indentation width identifier"):(O=i+K-1,v=!0)}if(dv(oe)){do{oe=t.input.charCodeAt(++t.position)}while(dv(oe));if(35===oe)do{oe=t.input.charCodeAt(++t.position)}while(!ig(oe)&&0!==oe)}for(;0!==oe;){for(DA(t),t.lineIndent=0,oe=t.input.charCodeAt(t.position);(!v||t.lineIndent<O)&&32===oe;)t.lineIndent++,oe=t.input.charCodeAt(++t.position);if(!v&&t.lineIndent>O&&(O=t.lineIndent),ig(oe))P++;else{if(t.lineIndent<O){l===px?t.result+=vp.repeat("\n",_?1+P:P):l===AA&&_&&(t.result+="\n");break}for(o?dv(oe)?(G=!0,t.result+=vp.repeat("\n",_?1+P:P)):G?(G=!1,t.result+=vp.repeat("\n",P+1)):0===P?_&&(t.result+=" "):t.result+=vp.repeat("\n",P):t.result+=vp.repeat("\n",_?1+P:P),_=!0,v=!0,P=0,n=t.position;!ig(oe)&&0!==oe;)oe=t.input.charCodeAt(++t.position);f1(t,n,t.position,!1)}}return!0}(t,Ue)||function MF(t,i){var n,o,l;if(39!==(n=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,o=l=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(f1(t,o,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return!0;o=t.position,t.position++,l=t.position}else ig(n)?(f1(t,o,l,!0),RA(t,ep(t,!1,i)),o=l=t.position):t.position===t.lineStart&&pC(t)?ul(t,"unexpected end of the document within a single quoted scalar"):(t.position++,l=t.position);ul(t,"unexpected end of the stream within a single quoted scalar")}(t,Ue)||function OF(t,i){var n,o,l,_,v,O;if(34!==(O=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=o=t.position;0!==(O=t.input.charCodeAt(t.position));){if(34===O)return f1(t,n,t.position,!0),t.position++,!0;if(92===O){if(f1(t,n,t.position,!0),ig(O=t.input.charCodeAt(++t.position)))ep(t,!1,i);else if(O<256&&vx[O])t.result+=yx[O],t.position++;else if((v=EF(O))>0){for(l=v,_=0;l>0;l--)(v=yF(O=t.input.charCodeAt(++t.position)))>=0?_=(_<<4)+v:ul(t,"expected hexadecimal character");t.result+=bF(_),t.position++}else ul(t,"unknown escape sequence");n=o=t.position}else ig(O)?(f1(t,n,o,!0),RA(t,ep(t,!1,i)),n=o=t.position):t.position===t.lineStart&&pC(t)?ul(t,"unexpected end of the document within a double quoted scalar"):(t.position++,o=t.position)}ul(t,"unexpected end of the stream within a double quoted scalar")}(t,Ue)?K=!0:function PF(t){var i,n,o;if(42!==(o=t.input.charCodeAt(t.position)))return!1;for(o=t.input.charCodeAt(++t.position),i=t.position;0!==o&&!vh(o)&&!O0(o);)o=t.input.charCodeAt(++t.position);return t.position===i&&ul(t,"name of an alias node must contain at least one character"),n=t.input.slice(i,t.position),d1.call(t.anchorMap,n)||ul(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],ep(t,!0,-1),!0}(t)?(K=!0,(null!==t.tag||null!==t.anchor)&&ul(t,"alias node should not have any properties")):function CF(t,i,n){var l,_,v,O,P,G,K,pe,oe=t.kind,ue=t.result;if(vh(pe=t.input.charCodeAt(t.position))||O0(pe)||35===pe||38===pe||42===pe||33===pe||124===pe||62===pe||39===pe||34===pe||37===pe||64===pe||96===pe||(63===pe||45===pe)&&(vh(l=t.input.charCodeAt(t.position+1))||n&&O0(l)))return!1;for(t.kind="scalar",t.result="",_=v=t.position,O=!1;0!==pe;){if(58===pe){if(vh(l=t.input.charCodeAt(t.position+1))||n&&O0(l))break}else if(35===pe){if(vh(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&pC(t)||n&&O0(pe))break;if(ig(pe)){if(P=t.line,G=t.lineStart,K=t.lineIndent,ep(t,!1,-1),t.lineIndent>=i){O=!0,pe=t.input.charCodeAt(t.position);continue}t.position=v,t.line=P,t.lineStart=G,t.lineIndent=K;break}}O&&(f1(t,_,v,!1),RA(t,t.line-P),_=v=t.position,O=!1),dv(pe)||(v=t.position+1),pe=t.input.charCodeAt(++t.position)}return f1(t,_,v,!1),!!t.result||(t.kind=oe,t.result=ue,!1)}(t,Ue,cC===n)&&(K=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===P&&(K=O&&Tx(t,xe))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&ul(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),oe=0,ue=t.implicitTypes.length;oe<ue;oe+=1)if((ye=t.implicitTypes[oe]).resolve(t.result)){t.result=ye.construct(t.result),t.tag=ye.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(d1.call(t.typeMap[t.kind||"fallback"],t.tag))ye=t.typeMap[t.kind||"fallback"][t.tag];else for(ye=null,oe=0,ue=(pe=t.typeMap.multi[t.kind||"fallback"]).length;oe<ue;oe+=1)if(t.tag.slice(0,pe[oe].tag.length)===pe[oe].tag){ye=pe[oe];break}ye||ul(t,"unknown tag !<"+t.tag+">"),null!==t.result&&ye.kind!==t.kind&&ul(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+ye.kind+'", not "'+t.kind+'"'),ye.resolve(t.result,t.tag)?(t.result=ye.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):ul(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||K}function NF(t){var n,o,l,v,i=t.position,_=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(v=t.input.charCodeAt(t.position))&&(ep(t,!0,-1),v=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==v));){for(_=!0,v=t.input.charCodeAt(++t.position),n=t.position;0!==v&&!vh(v);)v=t.input.charCodeAt(++t.position);for(l=[],(o=t.input.slice(n,t.position)).length<1&&ul(t,"directive name must not be less than one character in length");0!==v;){for(;dv(v);)v=t.input.charCodeAt(++t.position);if(35===v){do{v=t.input.charCodeAt(++t.position)}while(0!==v&&!ig(v));break}if(ig(v))break;for(n=t.position;0!==v&&!vh(v);)v=t.input.charCodeAt(++t.position);l.push(t.input.slice(n,t.position))}0!==v&&DA(t),d1.call(Sx,o)?Sx[o](t,o,l):fC(t,'unknown document directive "'+o+'"')}ep(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,ep(t,!0,-1)):_&&ul(t,"directives end mark is expected"),R0(t,t.lineIndent-1,dC,!1,!0),ep(t,!0,-1),t.checkLineBreaks&&gF.test(t.input.slice(i,t.position))&&fC(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&pC(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,ep(t,!0,-1)):t.position<t.length-1&&ul(t,"end of the stream or a document separator is expected")}function Cx(t,i){i=i||{},0!==(t=String(t)).length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new TF(t,i),o=t.indexOf("\0");for(-1!==o&&(n.position=o,ul(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)NF(n);return n.documents}var Mx={loadAll:function IF(t,i,n){null!==i&&"object"==typeof i&&typeof n>"u"&&(n=i,i=null);var o=Cx(t,n);if("function"!=typeof i)return o;for(var l=0,_=o.length;l<_;l+=1)i(o[l])},load:function FF(t,i){var n=Cx(t,i);if(0!==n.length){if(1===n.length)return n[0];throw new U_("expected a single document in the stream, but found more")}}},Ox=Object.prototype.toString,Ax=Object.prototype.hasOwnProperty,xA=65279,$F=9,GE=10,HF=13,UF=32,BF=33,GF=34,wA=35,YF=37,jF=38,zF=39,VF=42,Dx=44,ZF=45,_C=58,WF=61,JF=62,QF=63,KF=64,Rx=91,xx=93,XF=96,wx=123,qF=124,Px=125,y_={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},e4=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],t4=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function r4(t){var i,n,o;if(i=t.toString(16).toUpperCase(),t<=255)n="x",o=2;else if(t<=65535)n="u",o=4;else{if(!(t<=4294967295))throw new U_("code point within a string may not be greater than 0xFFFFFFFF");n="U",o=8}return"\\"+n+vp.repeat("0",o-i.length)+i}var i4=1,YE=2;function o4(t){this.schema=t.schema||OA,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=vp.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=function n4(t,i){var n,o,l,_,v,O,P;if(null===i)return{};for(n={},l=0,_=(o=Object.keys(i)).length;l<_;l+=1)v=o[l],O=String(i[v]),"!!"===v.slice(0,2)&&(v="tag:yaml.org,2002:"+v.slice(2)),(P=t.compiledTypeMap.fallback[v])&&Ax.call(P.styleAliases,O)&&(O=P.styleAliases[O]),n[v]=O;return n}(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?YE:i4,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Nx(t,i){for(var v,n=vp.repeat(" ",i),o=0,l=-1,_="",O=t.length;o<O;)-1===(l=t.indexOf("\n",o))?(v=t.slice(o),o=O):(v=t.slice(o,l+1),o=l+1),v.length&&"\n"!==v&&(_+=n),_+=v;return _}function PA(t,i){return"\n"+vp.repeat(" ",t.indent*i)}function hC(t){return t===UF||t===$F}function jE(t){return 32<=t&&t<=126||161<=t&&t<=55295&&8232!==t&&8233!==t||57344<=t&&t<=65533&&t!==xA||65536<=t&&t<=1114111}function Ix(t){return jE(t)&&t!==xA&&t!==HF&&t!==GE}function Fx(t,i,n){var o=Ix(t),l=o&&!hC(t);return(n?o:o&&t!==Dx&&t!==Rx&&t!==xx&&t!==wx&&t!==Px)&&t!==wA&&!(i===_C&&!l)||Ix(i)&&!hC(i)&&t===wA||i===_C&&l}function zE(t,i){var o,n=t.charCodeAt(i);return n>=55296&&n<=56319&&i+1<t.length&&(o=t.charCodeAt(i+1))>=56320&&o<=57343?1024*(n-55296)+o-56320+65536:n}function Lx(t){return/^\n* /.test(t)}var kx=1,NA=2,$x=3,Hx=4,x0=5;function c4(t,i,n,o,l){t.dump=function(){if(0===i.length)return t.quotingType===YE?'""':"''";if(!t.noCompatMode&&(-1!==e4.indexOf(i)||t4.test(i)))return t.quotingType===YE?'"'+i+'"':"'"+i+"'";var _=t.indent*Math.max(1,n),v=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-_);switch(function u4(t,i,n,o,l,_,v,O){var P,G=0,K=null,oe=!1,ue=!1,pe=-1!==o,ye=-1,Ue=function a4(t){return jE(t)&&t!==xA&&!hC(t)&&t!==ZF&&t!==QF&&t!==_C&&t!==Dx&&t!==Rx&&t!==xx&&t!==wx&&t!==Px&&t!==wA&&t!==jF&&t!==VF&&t!==BF&&t!==qF&&t!==WF&&t!==JF&&t!==zF&&t!==GF&&t!==YF&&t!==KF&&t!==XF}(zE(t,0))&&function l4(t){return!hC(t)&&t!==_C}(zE(t,t.length-1));if(i||v)for(P=0;P<t.length;G>=65536?P+=2:P++){if(!jE(G=zE(t,P)))return x0;Ue=Ue&&Fx(G,K,O),K=G}else{for(P=0;P<t.length;G>=65536?P+=2:P++){if((G=zE(t,P))===GE)oe=!0,pe&&(ue=ue||P-ye-1>o&&" "!==t[ye+1],ye=P);else if(!jE(G))return x0;Ue=Ue&&Fx(G,K,O),K=G}ue=ue||pe&&P-ye-1>o&&" "!==t[ye+1]}return oe||ue?n>9&&Lx(t)?x0:v?_===YE?x0:NA:ue?Hx:$x:!Ue||v||l(t)?_===YE?x0:NA:kx}(i,o||t.flowLevel>-1&&n>=t.flowLevel,t.indent,v,function P(G){return function s4(t,i){var n,o;for(n=0,o=t.implicitTypes.length;n<o;n+=1)if(t.implicitTypes[n].resolve(i))return!0;return!1}(t,G)},t.quotingType,t.forceQuotes&&!o,l)){case kx:return i;case NA:return"'"+i.replace(/'/g,"''")+"'";case $x:return"|"+Ux(i,t.indent)+Bx(Nx(i,_));case Hx:return">"+Ux(i,t.indent)+Bx(Nx(function d4(t,i){for(var _,v,n=/(\n+)([^\n]*)/g,o=(G=void 0,G=t.indexOf("\n"),n.lastIndex=G=-1!==G?G:t.length,Gx(t.slice(0,G),i)),l="\n"===t[0]||" "===t[0];v=n.exec(t);){var P=v[2];_=" "===P[0],o+=v[1]+(l||_||""===P?"":"\n")+Gx(P,i),l=_}var G;return o}(i,v),_));case x0:return'"'+function f4(t){for(var o,i="",n=0,l=0;l<t.length;n>=65536?l+=2:l++)n=zE(t,l),!(o=y_[n])&&jE(n)?(i+=t[l],n>=65536&&(i+=t[l+1])):i+=o||r4(n);return i}(i)+'"';default:throw new U_("impossible error: invalid scalar style")}}()}function Ux(t,i){var n=Lx(t)?String(i):"",o="\n"===t[t.length-1];return n+(!o||"\n"!==t[t.length-2]&&"\n"!==t?o?"":"-":"+")+"\n"}function Bx(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function Gx(t,i){if(""===t||" "===t[0])return t;for(var o,_,n=/ [^ ]/g,l=0,v=0,O=0,P="";o=n.exec(t);)(O=o.index)-l>i&&(P+="\n"+t.slice(l,_=v>l?v:O),l=_+1),v=O;return P+="\n",(P+=t.length-l>i&&v>l?t.slice(l,v)+"\n"+t.slice(v+1):t.slice(l)).slice(1)}function jx(t,i,n){var o,l,_,v,O,P;for(_=0,v=(l=n?t.explicitTypes:t.implicitTypes).length;_<v;_+=1)if(((O=l[_]).instanceOf||O.predicate)&&(!O.instanceOf||"object"==typeof i&&i instanceof O.instanceOf)&&(!O.predicate||O.predicate(i))){if(t.tag=n?O.multi&&O.representName?O.representName(i):O.tag:"?",O.represent){if(P=t.styleMap[O.tag]||O.defaultStyle,"[object Function]"===Ox.call(O.represent))o=O.represent(i,P);else{if(!Ax.call(O.represent,P))throw new U_("!<"+O.tag+'> tag resolver accepts not "'+P+'" style');o=O.represent[P](i,P)}t.dump=o}return!0}return!1}function xg(t,i,n,o,l,_,v){t.tag=null,t.dump=n,jx(t,n,!1)||jx(t,n,!0);var G,O=Ox.call(t.dump),P=o;o&&(o=t.flowLevel<0||t.flowLevel>i);var oe,ue,K="[object Object]"===O||"[object Array]"===O;if(K&&(ue=-1!==(oe=t.duplicates.indexOf(n))),(null!==t.tag&&"?"!==t.tag||ue||2!==t.indent&&i>0)&&(l=!1),ue&&t.usedDuplicates[oe])t.dump="*ref_"+oe;else{if(K&&ue&&!t.usedDuplicates[oe]&&(t.usedDuplicates[oe]=!0),"[object Object]"===O)o&&0!==Object.keys(t.dump).length?(function h4(t,i,n,o){var O,P,G,K,oe,ue,l="",_=t.tag,v=Object.keys(n);if(!0===t.sortKeys)v.sort();else if("function"==typeof t.sortKeys)v.sort(t.sortKeys);else if(t.sortKeys)throw new U_("sortKeys must be a boolean or a function");for(O=0,P=v.length;O<P;O+=1)ue="",(!o||""!==l)&&(ue+=PA(t,i)),K=n[G=v[O]],t.replacer&&(K=t.replacer.call(n,G,K)),xg(t,i+1,G,!0,!0,!0)&&((oe=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&GE===t.dump.charCodeAt(0)?ue+="?":ue+="? "),ue+=t.dump,oe&&(ue+=PA(t,i)),xg(t,i+1,K,!0,oe)&&(t.dump&&GE===t.dump.charCodeAt(0)?ue+=":":ue+=": ",l+=ue+=t.dump));t.tag=_,t.dump=l||"{}"}(t,i,t.dump,l),ue&&(t.dump="&ref_"+oe+t.dump)):(function _4(t,i,n){var v,O,P,G,K,o="",l=t.tag,_=Object.keys(n);for(v=0,O=_.length;v<O;v+=1)K="",""!==o&&(K+=", "),t.condenseFlow&&(K+='"'),G=n[P=_[v]],t.replacer&&(G=t.replacer.call(n,P,G)),xg(t,i,P,!1,!1)&&(t.dump.length>1024&&(K+="? "),K+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),xg(t,i,G,!1,!1)&&(o+=K+=t.dump));t.tag=l,t.dump="{"+o+"}"}(t,i,t.dump),ue&&(t.dump="&ref_"+oe+" "+t.dump));else if("[object Array]"===O)o&&0!==t.dump.length?(function Yx(t,i,n,o){var v,O,P,l="",_=t.tag;for(v=0,O=n.length;v<O;v+=1)P=n[v],t.replacer&&(P=t.replacer.call(n,String(v),P)),(xg(t,i+1,P,!0,!0,!1,!0)||typeof P>"u"&&xg(t,i+1,null,!0,!0,!1,!0))&&((!o||""!==l)&&(l+=PA(t,i)),t.dump&&GE===t.dump.charCodeAt(0)?l+="-":l+="- ",l+=t.dump);t.tag=_,t.dump=l||"[]"}(t,t.noArrayIndent&&!v&&i>0?i-1:i,t.dump,l),ue&&(t.dump="&ref_"+oe+t.dump)):(function p4(t,i,n){var _,v,O,o="",l=t.tag;for(_=0,v=n.length;_<v;_+=1)O=n[_],t.replacer&&(O=t.replacer.call(n,String(_),O)),(xg(t,i,O,!1,!1)||typeof O>"u"&&xg(t,i,null,!1,!1))&&(""!==o&&(o+=","+(t.condenseFlow?"":" ")),o+=t.dump);t.tag=l,t.dump="["+o+"]"}(t,i,t.dump),ue&&(t.dump="&ref_"+oe+" "+t.dump));else{if("[object String]"!==O){if("[object Undefined]"===O)return!1;if(t.skipInvalid)return!1;throw new U_("unacceptable kind of an object to dump "+O)}"?"!==t.tag&&c4(t,t.dump,i,_,P)}null!==t.tag&&"?"!==t.tag&&(G=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),G="!"===t.tag[0]?"!"+G:"tag:yaml.org,2002:"===G.slice(0,18)?"!!"+G.slice(18):"!<"+G+">",t.dump=G+" "+t.dump)}return!0}function m4(t,i){var l,_,n=[],o=[];for(IA(t,n,o),l=0,_=o.length;l<_;l+=1)i.duplicates.push(n[o[l]]);i.usedDuplicates=new Array(_)}function IA(t,i,n){var o,l,_;if(null!==t&&"object"==typeof t)if(-1!==(l=i.indexOf(t)))-1===n.indexOf(l)&&n.push(l);else if(i.push(t),Array.isArray(t))for(l=0,_=t.length;l<_;l+=1)IA(t[l],i,n);else for(l=0,_=(o=Object.keys(t)).length;l<_;l+=1)IA(t[o[l]],i,n)}function FA(t,i){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+i+" instead, which is now safe by default.")}}const zx={Type:qp,Schema:V3,FAILSAFE_SCHEMA:Q3,JSON_SCHEMA:tx,CORE_SCHEMA:nx,DEFAULT_SCHEMA:OA,load:Mx.load,loadAll:Mx.loadAll,dump:function g4(t,i){var n=new o4(i=i||{});n.noRefs||m4(t,n);var o=t;return n.replacer&&(o=n.replacer.call({"":o},"",o)),xg(n,0,o,!0,!0)?n.dump+"\n":""},YAMLException:U_,types:{binary:ax,float:ex,map:J3,null:K3,pairs:ux,set:cx,timestamp:ox,bool:X3,int:q3,merge:sx,omap:lx,seq:W3,str:Z3},safeLoad:FA("safeLoad","load"),safeLoadAll:FA("safeLoadAll","loadAll"),safeDump:FA("safeDump","dump")},{fetch:F4,Response:L4,Headers:k4,Request:$4,FormData:H4,File:U4,Blob:B4}=globalThis;typeof globalThis.fetch>"u"&&(globalThis.fetch=F4),typeof globalThis.Headers>"u"&&(globalThis.Headers=k4),typeof globalThis.Request>"u"&&(globalThis.Request=$4),typeof globalThis.Response>"u"&&(globalThis.Response=L4),typeof globalThis.FormData>"u"&&(globalThis.FormData=H4),typeof globalThis.File>"u"&&(globalThis.File=U4),typeof globalThis.Blob>"u"&&(globalThis.Blob=B4);const G4=t=>":/?#[]@!$&'()*+,;=".indexOf(t)>-1,Y4=t=>/^[a-z0-9\-._~]+$/i.test(t);function w0(t){let{escape:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return"number"==typeof t&&(t=t.toString()),"string"==typeof t&&t.length&&i?n?JSON.parse(t):[...t].map(o=>{if(Y4(o)||G4(o)&&"unsafe"===i)return o;const l=new TextEncoder;return Array.from(l.encode(o)).map(v=>`0${v.toString(16).toUpperCase()}`.slice(-2)).map(v=>`%${v}`).join("")}).join(""):t}function LA(t){const{value:i}=t;return Array.isArray(i)?function j4(t){let{key:i,value:n,style:o,explode:l,escape:_}=t;const v=O=>w0(O,{escape:_});if("simple"===o)return n.map(O=>v(O)).join(",");if("label"===o)return`.${n.map(O=>v(O)).join(".")}`;if("matrix"===o)return n.map(O=>v(O)).reduce((O,P)=>!O||l?`${O||""};${i}=${P}`:`${O},${P}`,"");if("form"===o){const O=l?`&${i}=`:",";return n.map(P=>v(P)).join(O)}if("spaceDelimited"===o){const O=l?`${i}=`:"";return n.map(P=>v(P)).join(` ${O}`)}if("pipeDelimited"===o){const O=l?`${i}=`:"";return n.map(P=>v(P)).join(`|${O}`)}}(t):"object"==typeof i?function z4(t){let{key:i,value:n,style:o,explode:l,escape:_}=t;const v=P=>w0(P,{escape:_}),O=Object.keys(n);return"simple"===o?O.reduce((P,G)=>{const K=v(n[G]);return`${P?`${P},`:""}${G}${l?"=":","}${K}`},""):"label"===o?O.reduce((P,G)=>{const K=v(n[G]);return`${P?`${P}.`:"."}${G}${l?"=":"."}${K}`},""):"matrix"===o&&l?O.reduce((P,G)=>`${P?`${P};`:";"}${G}=${v(n[G])}`,""):"matrix"===o?O.reduce((P,G)=>{const K=v(n[G]);return`${P?`${P},`:`;${i}=`}${G},${K}`},""):"form"===o?O.reduce((P,G)=>{const K=v(n[G]);return`${P?`${P}${l?"&":","}`:""}${G}${l?"=":","}${K}`},""):void 0}(t):function V4(t){let{key:i,value:n,style:o,escape:l}=t;const _=v=>w0(v,{escape:l});return"simple"===o?_(n):"label"===o?`.${_(n)}`:"matrix"===o?`;${i}=${_(n)}`:"form"===o||"deepObject"===o?_(n):void 0}(t)}const kA={serializeRes:Vx,mergeInQueryOrForm:Kx};function $A(t){return HA.apply(this,arguments)}function HA(){return HA=(0,mm.Z)(function*(t){let o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"object"==typeof t&&(i=t,t=i.url),i.headers=i.headers||{},kA.mergeInQueryOrForm(i),i.headers&&Object.keys(i.headers).forEach(l=>{const _=i.headers[l];"string"==typeof _&&(i.headers[l]=_.replace(/\n+/g," "))}),i.requestInterceptor&&(i=(yield i.requestInterceptor(i))||i),/multipart\/form-data/i.test(i.headers["content-type"]||i.headers["Content-Type"])&&(delete i.headers["content-type"],delete i.headers["Content-Type"]);try{o=yield(i.userFetch||fetch)(i.url,i),o=yield kA.serializeRes(o,t,i),i.responseInterceptor&&(o=(yield i.responseInterceptor(o))||o)}catch(l){if(!o)throw l;const _=new Error(o.statusText||`response status is ${o.status}`);throw _.status=o.status,_.statusCode=o.status,_.responseError=l,_}if(!o.ok){const l=new Error(o.statusText||`response status is ${o.status}`);throw l.status=o.status,l.statusCode=o.status,l.response=o,l}return o}),HA.apply(this,arguments)}const Z4=function(){return/(json|xml|yaml|text)\b/.test(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")};function Vx(t,i){let{loadSpec:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={ok:t.ok,url:t.url||i,status:t.status,statusText:t.statusText,headers:Q4(t.headers)},l=o.headers["content-type"],_=n||Z4(l);return(_?t.text:t.blob||t.buffer).call(t).then(O=>{if(o.text=O,o.data=O,_)try{const P=function W4(t,i){return i&&(0===i.indexOf("application/json")||i.indexOf("+json")>0)?JSON.parse(t):zx.load(t)}(O,l);o.body=P,o.obj=P}catch(P){o.parseError=P}return o})}function Q4(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"function"!=typeof t.entries?{}:Array.from(t.entries()).reduce((i,n)=>{let[o,l]=n;return i[o]=function J4(t){return t.includes(", ")?t.split(", "):t}(l),i},{})}function UA(t,i){return!i&&typeof navigator<"u"&&(i=navigator),i&&"ReactNative"===i.product?!(!t||"object"!=typeof t||"string"!=typeof t.uri):!!(typeof File<"u"&&t instanceof File||typeof Blob<"u"&&t instanceof Blob||ArrayBuffer.isView(t))||null!==t&&"object"==typeof t&&"function"==typeof t.pipe}function Zx(t,i){return Array.isArray(t)&&t.some(n=>UA(n,i))}const K4={form:",",spaceDelimited:"%20",pipeDelimited:"|"},X4={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};class BA extends File{constructor(i){super([i],arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),this.data=i}valueOf(){return this.data}toString(){return this.valueOf()}}function Wx(t,i){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const{collectionFormat:o,allowEmptyValue:l,serializationOption:_,encoding:v}=i,O="object"!=typeof i||Array.isArray(i)?i:i.value,P=n?K=>K.toString():K=>encodeURIComponent(K),G=P(t);if(typeof O>"u"&&l)return[[G,""]];if(UA(O)||Zx(O))return[[G,O]];if(_)return Jx(t,O,n,_);if(v){if([typeof v.style,typeof v.explode,typeof v.allowReserved].some(K=>"undefined"!==K)){const{style:K,explode:oe,allowReserved:ue}=v;return Jx(t,O,n,{style:K,explode:oe,allowReserved:ue})}if("string"==typeof v.contentType){if(v.contentType.startsWith("application/json")){const pe=P("string"==typeof O?O:JSON.stringify(O));return[[G,new BA(pe,"blob",{type:v.contentType})]]}const K=P(String(O));return[[G,new BA(K,"blob",{type:v.contentType})]]}return"object"!=typeof O?[[G,P(O)]]:Array.isArray(O)&&O.every(K=>"object"!=typeof K)?[[G,O.map(P).join(",")]]:[[G,P(JSON.stringify(O))]]}return"object"!=typeof O?[[G,P(O)]]:Array.isArray(O)?"multi"===o?[[G,O.map(P)]]:[[G,O.map(P).join(X4[o||"csv"])]]:[[G,""]]}function Jx(t,i,n,o){const l=o.style||"form",_=typeof o.explode>"u"?"form"===l:o.explode,v=!n&&(o&&o.allowReserved?"unsafe":"reserved"),O=G=>w0(G,{escape:v}),P=n?G=>G:G=>w0(G,{escape:v});return"object"!=typeof i?[[P(t),O(i)]]:Array.isArray(i)?_?[[P(t),i.map(O)]]:[[P(t),i.map(O).join(K4[l])]]:"deepObject"===l?Object.keys(i).map(G=>[P(`${t}[${G}]`),O(i[G])]):_?Object.keys(i).map(G=>[P(G),O(i[G])]):[[P(t),Object.keys(i).map(G=>[`${P(G)},${O(i[G])}`]).join(",")]]}function Qx(t){const i=Object.keys(t).reduce((n,o)=>{for(const[l,_]of Wx(o,t[o]))n[l]=_ instanceof BA?_.valueOf():_;return n},{});return SA().stringify(i,{encode:!1,indices:!1})||""}function Kx(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{url:i="",query:n,form:o}=t;if(o){if(Object.keys(o).some(O=>{const{value:P}=o[O];return UA(P)||Zx(P)})||/multipart\/form-data/i.test(t.headers["content-type"]||t.headers["Content-Type"])){const O=function q4(t){return Object.entries(t).reduce((i,n)=>{let[o,l]=n;for(const[_,v]of Wx(o,l,!0))if(Array.isArray(v))for(const O of v)if(ArrayBuffer.isView(O)){const P=new Blob([O]);i.append(_,P)}else i.append(_,O);else if(ArrayBuffer.isView(v)){const O=new Blob([v]);i.append(_,O)}else i.append(_,v);return i},new FormData)}(t.form);t.formdata=O,t.body=O}else t.body=Qx(o);delete t.form}if(n){const[_,v]=i.split("?");let O="";if(v){const G=SA().parse(v);Object.keys(n).forEach(oe=>delete G[oe]),O=SA().stringify(G,{encode:!0})}const P=function(){for(var _=arguments.length,v=new Array(_),O=0;O<_;O++)v[O]=arguments[O];const P=v.filter(G=>G).join("&");return P?`?${P}`:""}(O,Qx(n));t.url=_+P,delete t.query}return t}function e5(t,i,n){return n=n||(o=>o),i=i||(o=>o),o=>("string"==typeof o&&(o={url:o}),kA.mergeInQueryOrForm(o),o=i(o),n(t(o)))}const Xx=t=>{const{baseDoc:i,url:n}=t;return i||n||""},qx=t=>{const{fetch:i,http:n}=t;return i||n||$A};var t,t5=(t=function(i,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var _ in l)l.hasOwnProperty(_)&&(o[_]=l[_])})(i,n)},function(i,n){function o(){this.constructor=i}t(i,n),i.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}),n5=Object.prototype.hasOwnProperty;function mC(t,i){return n5.call(t,i)}function GA(t){if(Array.isArray(t)){for(var i=new Array(t.length),n=0;n<i.length;n++)i[n]=""+n;return i}if(Object.keys)return Object.keys(t);var o=[];for(var l in t)mC(t,l)&&o.push(l);return o}function Vh(t){switch(typeof t){case"object":return JSON.parse(JSON.stringify(t));case"undefined":return null;default:return t}}function YA(t){for(var o,i=0,n=t.length;i<n;){if(!((o=t.charCodeAt(i))>=48&&o<=57))return!1;i++}return!0}function wg(t){return-1===t.indexOf("/")&&-1===t.indexOf("~")?t:t.replace(/~/g,"~0").replace(/\//g,"~1")}function ew(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}function jA(t){if(void 0===t)return!0;if(t)if(Array.isArray(t)){for(var i=0,n=t.length;i<n;i++)if(jA(t[i]))return!0}else if("object"==typeof t)for(var o=GA(t),l=o.length,_=0;_<l;_++)if(jA(t[o[_]]))return!0;return!1}function nw(t,i){var n=[t];for(var o in i){var l="object"==typeof i[o]?JSON.stringify(i[o],null,2):i[o];typeof l<"u"&&n.push(o+": "+l)}return n.join("\n")}var rw=function(t){function i(n,o,l,_,v){var O=this.constructor,P=t.call(this,nw(n,{name:o,index:l,operation:_,tree:v}))||this;return P.name=o,P.index=l,P.operation=_,P.tree=v,Object.setPrototypeOf(P,O.prototype),P.message=nw(n,{name:o,index:l,operation:_,tree:v}),P}return t5(i,t),i}(Error),Cf=rw,r5=Vh,P0={add:function(t,i,n){return t[i]=this.value,{newDocument:n}},remove:function(t,i,n){var o=t[i];return delete t[i],{newDocument:n,removed:o}},replace:function(t,i,n){var o=t[i];return t[i]=this.value,{newDocument:n,removed:o}},move:function(t,i,n){var o=VE(n,this.path);o&&(o=Vh(o));var l=fv(n,{op:"remove",path:this.from}).removed;return fv(n,{op:"add",path:this.path,value:l}),{newDocument:n,removed:o}},copy:function(t,i,n){var o=VE(n,this.from);return fv(n,{op:"add",path:this.path,value:Vh(o)}),{newDocument:n}},test:function(t,i,n){return{newDocument:n,test:ZE(t[i],this.value)}},_get:function(t,i,n){return this.value=t[i],{newDocument:n}}},i5={add:function(t,i,n){return YA(i)?t.splice(i,0,this.value):t[i]=this.value,{newDocument:n,index:i}},remove:function(t,i,n){return{newDocument:n,removed:t.splice(i,1)[0]}},replace:function(t,i,n){var o=t[i];return t[i]=this.value,{newDocument:n,removed:o}},move:P0.move,copy:P0.copy,test:P0.test,_get:P0._get};function VE(t,i){if(""==i)return t;var n={op:"_get",path:i};return fv(t,n),n.value}function fv(t,i,n,o,l,_){if(void 0===n&&(n=!1),void 0===o&&(o=!0),void 0===l&&(l=!0),void 0===_&&(_=0),n&&("function"==typeof n?n(i,0,t,i.path):gC(i,0)),""===i.path){var v={newDocument:t};if("add"===i.op)return v.newDocument=i.value,v;if("replace"===i.op)return v.newDocument=i.value,v.removed=t,v;if("move"===i.op||"copy"===i.op)return v.newDocument=VE(t,i.from),"move"===i.op&&(v.removed=t),v;if("test"===i.op){if(v.test=ZE(t,i.value),!1===v.test)throw new Cf("Test operation failed","TEST_OPERATION_FAILED",_,i,t);return v.newDocument=t,v}if("remove"===i.op)return v.removed=t,v.newDocument=null,v;if("_get"===i.op)return i.value=t,v;if(n)throw new Cf("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",_,i,t);return v}o||(t=Vh(t));var P=(i.path||"").split("/"),G=t,K=1,oe=P.length,ue=void 0,pe=void 0,ye=void 0;for(ye="function"==typeof n?n:gC;;){if((pe=P[K])&&-1!=pe.indexOf("~")&&(pe=ew(pe)),l&&("__proto__"==pe||"prototype"==pe&&K>0&&"constructor"==P[K-1]))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(n&&void 0===ue&&(void 0===G[pe]?ue=P.slice(0,K).join("/"):K==oe-1&&(ue=i.path),void 0!==ue&&ye(i,0,t,ue)),K++,Array.isArray(G)){if("-"===pe)pe=G.length;else{if(n&&!YA(pe))throw new Cf("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",_,i,t);YA(pe)&&(pe=~~pe)}if(K>=oe){if(n&&"add"===i.op&&pe>G.length)throw new Cf("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",_,i,t);if(!1===(v=i5[i.op].call(i,G,pe,t)).test)throw new Cf("Test operation failed","TEST_OPERATION_FAILED",_,i,t);return v}}else if(K>=oe){if(!1===(v=P0[i.op].call(i,G,pe,t)).test)throw new Cf("Test operation failed","TEST_OPERATION_FAILED",_,i,t);return v}if(G=G[pe],n&&K<oe&&(!G||"object"!=typeof G))throw new Cf("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",_,i,t)}}function p1(t,i,n,o,l){if(void 0===o&&(o=!0),void 0===l&&(l=!0),n&&!Array.isArray(i))throw new Cf("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");o||(t=Vh(t));for(var _=new Array(i.length),v=0,O=i.length;v<O;v++)_[v]=fv(t,i[v],n,!0,l,v),t=_[v].newDocument;return _.newDocument=t,_}function o5(t,i,n){var o=fv(t,i);if(!1===o.test)throw new Cf("Test operation failed","TEST_OPERATION_FAILED",n,i,t);return o.newDocument}function gC(t,i,n,o){if("object"!=typeof t||null===t||Array.isArray(t))throw new Cf("Operation is not an object","OPERATION_NOT_AN_OBJECT",i,t,n);if(!P0[t.op])throw new Cf("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",i,t,n);if("string"!=typeof t.path)throw new Cf("Operation `path` property is not a string","OPERATION_PATH_INVALID",i,t,n);if(0!==t.path.indexOf("/")&&t.path.length>0)throw new Cf('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",i,t,n);if(("move"===t.op||"copy"===t.op)&&"string"!=typeof t.from)throw new Cf("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",i,t,n);if(("add"===t.op||"replace"===t.op||"test"===t.op)&&void 0===t.value)throw new Cf("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",i,t,n);if(("add"===t.op||"replace"===t.op||"test"===t.op)&&jA(t.value))throw new Cf("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",i,t,n);if(n)if("add"==t.op){var l=t.path.split("/").length,_=o.split("/").length;if(l!==_+1&&l!==_)throw new Cf("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",i,t,n)}else if("replace"===t.op||"remove"===t.op||"_get"===t.op){if(t.path!==o)throw new Cf("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",i,t,n)}else if("move"===t.op||"copy"===t.op){var O=iw([{op:"_get",path:t.from,value:void 0}],n);if(O&&"OPERATION_PATH_UNRESOLVABLE"===O.name)throw new Cf("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",i,t,n)}}function iw(t,i,n){try{if(!Array.isArray(t))throw new Cf("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(i)p1(Vh(i),Vh(t),n||!0);else{n=n||gC;for(var o=0;o<t.length;o++)n(t[o],o,i,void 0)}}catch(l){if(l instanceof Cf)return l;throw l}}function ZE(t,i){if(t===i)return!0;if(t&&i&&"object"==typeof t&&"object"==typeof i){var l,_,v,n=Array.isArray(t),o=Array.isArray(i);if(n&&o){if((_=t.length)!=i.length)return!1;for(l=_;0!=l--;)if(!ZE(t[l],i[l]))return!1;return!0}if(n!=o)return!1;var O=Object.keys(t);if((_=O.length)!==Object.keys(i).length)return!1;for(l=_;0!=l--;)if(!i.hasOwnProperty(O[l]))return!1;for(l=_;0!=l--;)if(!ZE(t[v=O[l]],i[v]))return!1;return!0}return t!=t&&i!=i}var zA=new WeakMap,s5=function t(i){this.observers=new Map,this.obj=i},a5=function t(i,n){this.callback=i,this.observer=n};function d5(t,i){i.unobserve()}function f5(t,i){var o,l=function l5(t){return zA.get(t)}(t);if(l){var _=function u5(t,i){return t.observers.get(i)}(l,i);o=_&&_.observer}else l=new s5(t),zA.set(t,l);if(o)return o;if(o={},l.value=Vh(t),i){o.callback=i,o.next=null;var v=function(){VA(o)},O=function(){clearTimeout(o.next),o.next=setTimeout(v)};typeof window<"u"&&(window.addEventListener("mouseup",O),window.addEventListener("keyup",O),window.addEventListener("mousedown",O),window.addEventListener("keydown",O),window.addEventListener("change",O))}return o.patches=[],o.object=t,o.unobserve=function(){VA(o),clearTimeout(o.next),function c5(t,i){t.observers.delete(i.callback)}(l,o),typeof window<"u"&&(window.removeEventListener("mouseup",O),window.removeEventListener("keyup",O),window.removeEventListener("mousedown",O),window.removeEventListener("keydown",O),window.removeEventListener("change",O))},l.observers.set(i,new a5(i,o)),o}function VA(t,i){void 0===i&&(i=!1);var n=zA.get(t.object);ZA(n.value,t.object,t.patches,"",i),t.patches.length&&p1(n.value,t.patches);var o=t.patches;return o.length>0&&(t.patches=[],t.callback&&t.callback(o)),o}function ZA(t,i,n,o,l){if(i!==t){"function"==typeof i.toJSON&&(i=i.toJSON());for(var _=GA(i),v=GA(t),P=!1,G=v.length-1;G>=0;G--){var oe=t[K=v[G]];if(!mC(i,K)||void 0===i[K]&&void 0!==oe&&!1===Array.isArray(i))Array.isArray(t)===Array.isArray(i)?(l&&n.push({op:"test",path:o+"/"+wg(K),value:Vh(oe)}),n.push({op:"remove",path:o+"/"+wg(K)}),P=!0):(l&&n.push({op:"test",path:o,value:t}),n.push({op:"replace",path:o,value:i}));else{var ue=i[K];"object"==typeof oe&&null!=oe&&"object"==typeof ue&&null!=ue&&Array.isArray(oe)===Array.isArray(ue)?ZA(oe,ue,n,o+"/"+wg(K),l):oe!==ue&&(l&&n.push({op:"test",path:o+"/"+wg(K),value:Vh(oe)}),n.push({op:"replace",path:o+"/"+wg(K),value:Vh(ue)}))}}if(P||_.length!=v.length)for(G=0;G<_.length;G++){var K;!mC(t,K=_[G])&&void 0!==i[K]&&n.push({op:"add",path:o+"/"+wg(K),value:Vh(i[K])})}}}function p5(t,i,n){void 0===n&&(n=!1);var o=[];return ZA(t,i,o,"",n),o}Object.assign({},r,a,{JsonPatchError:rw,deepClone:Vh,escapePathComponent:wg,unescapePathComponent:ew});var _5=s(82312),h5=s.n(_5);const rd={add:function g5(t,i){return{op:"add",path:t,value:i}},replace:vC,remove:function v5(t){return{op:"remove",path:t}},merge:function y5(t,i){return{type:"mutation",op:"merge",path:t,value:i}},mergeDeep:function E5(t,i){return{type:"mutation",op:"mergeDeep",path:t,value:i}},context:function S5(t,i){return{type:"context",path:t,value:i}},getIn:function M5(t,i){return i.reduce((n,o)=>typeof o<"u"&&n?n[o]:n,t)},applyPatch:function m5(t,i,n){if(n=n||{},"merge"===(i={...i,path:i.path&&ow(i.path)}).op){const o=QA(t,i.path);Object.assign(o,i.value),p1(t,[vC(i.path,o)])}else if("mergeDeep"===i.op){const o=QA(t,i.path),l=h5()(o,i.value);t=p1(t,[vC(i.path,l)]).newDocument}else if("add"===i.op&&""===i.path&&pv(i.value))p1(t,Object.keys(i.value).reduce((l,_)=>(l.push({op:"add",path:`/${ow(_)}`,value:i.value[_]}),l),[]));else if("replace"===i.op&&""===i.path){let{value:o}=i;n.allowMetaPatches&&i.meta&&yC(i)&&(Array.isArray(i.value)||pv(i.value))&&(o={...o,...i.meta}),t=o}else if(p1(t,[i]),n.allowMetaPatches&&i.meta&&yC(i)&&(Array.isArray(i.value)||pv(i.value))){const l={...QA(t,i.path),...i.meta};p1(t,[vC(i.path,l)])}return t},parentPathMatch:function C5(t,i){if(!Array.isArray(i))return!1;for(let n=0,o=i.length;n<o;n+=1)if(i[n]!==t[n])return!1;return!0},flatten:WE,fullyNormalizeArray:function O5(t){return lw(WE(aw(t)))},normalizeArray:aw,isPromise:function A5(t){return pv(t)&&uw(t.then)},forEachNew:function b5(t,i){try{return sw(t,JA,i)}catch(n){return n}},forEachNewPrimitive:function T5(t,i){try{return sw(t,WA,i)}catch(n){return n}},isJsonPatch:cw,isContextPatch:function x5(t){return EC(t)&&"context"===t.type},isPatch:EC,isMutation:dw,isAdditiveMutation:yC,isGenerator:function R5(t){return"[object GeneratorFunction]"===Object.prototype.toString.call(t)},isFunction:uw,isObject:pv,isError:function D5(t){return t instanceof Error}};function ow(t){return Array.isArray(t)?t.length<1?"":`/${t.map(i=>(i+"").replace(/~/g,"~0").replace(/\//g,"~1")).join("/")}`:t}function vC(t,i,n){return{op:"replace",path:t,value:i,meta:n}}function sw(t,i,n){return lw(WE(t.filter(yC).map(v=>i(v.value,n,v.path))||[]))}function WA(t,i,n){return n=n||[],Array.isArray(t)?t.map((o,l)=>WA(o,i,n.concat(l))):pv(t)?Object.keys(t).map(o=>WA(t[o],i,n.concat(o))):i(t,n[n.length-1],n)}function JA(t,i,n){let o=[];if((n=n||[]).length>0){const l=i(t,n[n.length-1],n);l&&(o=o.concat(l))}if(Array.isArray(t)){const l=t.map((_,v)=>JA(_,i,n.concat(v)));l&&(o=o.concat(l))}else if(pv(t)){const l=Object.keys(t).map(_=>JA(t[_],i,n.concat(_)));l&&(o=o.concat(l))}return o=WE(o),o}function aw(t){return Array.isArray(t)?t:[t]}function WE(t){return[].concat(...t.map(i=>Array.isArray(i)?WE(i):i))}function lw(t){return t.filter(i=>typeof i<"u")}function pv(t){return t&&"object"==typeof t}function uw(t){return t&&"function"==typeof t}function cw(t){if(EC(t)){const{op:i}=t;return"add"===i||"remove"===i||"replace"===i}return!1}function dw(t){return cw(t)||EC(t)&&"mutation"===t.type}function yC(t){return dw(t)&&("add"===t.op||"replace"===t.op||"merge"===t.op||"mergeDeep"===t.op)}function EC(t){return t&&"object"==typeof t}function QA(t,i){try{return VE(t,i)}catch(n){return console.error(n),{}}}function Ld(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function kd(t){return function i(n){return 0===arguments.length||Ld(n)?i:t.apply(this,arguments)}}function iu(t){return function i(n,o){switch(arguments.length){case 0:return i;case 1:return Ld(n)?i:kd(function(l){return t(n,l)});default:return Ld(n)&&Ld(o)?i:Ld(n)?kd(function(l){return t(l,o)}):Ld(o)?kd(function(l){return t(n,l)}):t(n,o)}}}s(29849);const KA=Array.isArray||function(i){return null!=i&&i.length>=0&&"[object Array]"===Object.prototype.toString.call(i)};function Kd(t,i,n){return function(){if(0===arguments.length)return n();var o=arguments[arguments.length-1];if(!KA(o)){for(var l=0;l<t.length;){if("function"==typeof o[t[l]])return o[t[l]].apply(o,Array.prototype.slice.call(arguments,0,-1));l+=1}if(function w5(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(o))return i.apply(null,Array.prototype.slice.call(arguments,0,-1))(o)}return n.apply(this,arguments)}}const ic_init=function(){return this.xf["@@transducer/init"]()},ic_result=function(t){return this.xf["@@transducer/result"](t)};function fw(t){for(var n,i=[];!(n=t.next()).done;)i.push(n.value);return i}function SC(t,i,n){for(var o=0,l=n.length;o<l;){if(t(i,n[o]))return!0;o+=1}return!1}function hv(t,i){return Object.prototype.hasOwnProperty.call(i,t)}const XA="function"==typeof Object.is?Object.is:function F5(t,i){return t===i?0!==t||1/t==1/i:t!=t&&i!=i};var pw=Object.prototype.toString;const k5=function(){return"[object Arguments]"===pw.call(arguments)?function(i){return"[object Arguments]"===pw.call(i)}:function(i){return hv("callee",i)}}();var $5=!{toString:null}.propertyIsEnumerable("toString"),_w=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],hw=function(){return arguments.propertyIsEnumerable("length")}(),H5=function(i,n){for(var o=0;o<i.length;){if(i[o]===n)return!0;o+=1}return!1},U5=kd("function"!=typeof Object.keys||hw?function(i){if(Object(i)!==i)return[];var n,o,l=[],_=hw&&k5(i);for(n in i)hv(n,i)&&(!_||"length"!==n)&&(l[l.length]=n);if($5)for(o=_w.length-1;o>=0;)hv(n=_w[o],i)&&!H5(l,n)&&(l[l.length]=n),o-=1;return l}:function(i){return Object(i)!==i?[]:Object.keys(i)});const N0=U5;const qA=kd(function(i){return null===i?"Null":void 0===i?"Undefined":Object.prototype.toString.call(i).slice(8,-1)});function mw(t,i,n,o){var l=fw(t);function v(O,P){return eD(O,P,n.slice(),o.slice())}return!SC(function(O,P){return!SC(v,P,O)},fw(i),l)}function eD(t,i,n,o){if(XA(t,i))return!0;var l=qA(t);if(l!==qA(i))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof i["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](i)&&"function"==typeof i["fantasy-land/equals"]&&i["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof i.equals)return"function"==typeof t.equals&&t.equals(i)&&"function"==typeof i.equals&&i.equals(t);switch(l){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===function I5(t){var i=String(t).match(/^function (\w*)/);return null==i?"":i[1]}(t.constructor))return t===i;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof i||!XA(t.valueOf(),i.valueOf()))return!1;break;case"Date":if(!XA(t.valueOf(),i.valueOf()))return!1;break;case"Error":return t.name===i.name&&t.message===i.message;case"RegExp":if(t.source!==i.source||t.global!==i.global||t.ignoreCase!==i.ignoreCase||t.multiline!==i.multiline||t.sticky!==i.sticky||t.unicode!==i.unicode)return!1}for(var _=n.length-1;_>=0;){if(n[_]===t)return o[_]===i;_-=1}switch(l){case"Map":return t.size===i.size&&mw(t.entries(),i.entries(),n.concat([t]),o.concat([i]));case"Set":return t.size===i.size&&mw(t.values(),i.values(),n.concat([t]),o.concat([i]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var v=N0(t);if(v.length!==N0(i).length)return!1;var O=n.concat([t]),P=o.concat([i]);for(_=v.length-1;_>=0;){var G=v[_];if(!hv(G,i)||!eD(i[G],t[G],O,P))return!1;_-=1}return!0}var G5=iu(function(i,n){return eD(i,n,[],[])});const bC=G5;function TC(t,i){return function Y5(t,i,n){var o,l;if("function"==typeof t.indexOf)switch(typeof i){case"number":if(0===i){for(o=1/i;n<t.length;){if(0===(l=t[n])&&1/l===o)return n;n+=1}return-1}if(i!=i){for(;n<t.length;){if("number"==typeof(l=t[n])&&l!=l)return n;n+=1}return-1}return t.indexOf(i,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(i,n);case"object":if(null===i)return t.indexOf(i,n)}for(;n<t.length;){if(bC(t[n],i))return n;n+=1}return-1}(i,t,0)>=0}function I0(t,i){for(var n=0,o=i.length,l=Array(o);n<o;)l[n]=t(i[n]),n+=1;return l}function tD(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var JE=function(i){return(i<10?"0":"")+i};const z5="function"==typeof Date.prototype.toISOString?function(i){return i.toISOString()}:function(i){return i.getUTCFullYear()+"-"+JE(i.getUTCMonth()+1)+"-"+JE(i.getUTCDate())+"T"+JE(i.getUTCHours())+":"+JE(i.getUTCMinutes())+":"+JE(i.getUTCSeconds())+"."+(i.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function CC(t,i,n){for(var o=0,l=n.length;o<l;)i=t(i,n[o]),o+=1;return i}var J5=function(){function t(i,n){this.xf=n,this.f=i}return t.prototype["@@transducer/init"]=ic_init,t.prototype["@@transducer/result"]=ic_result,t.prototype["@@transducer/step"]=function(i,n){return this.f(n)?this.xf["@@transducer/step"](i,n):i},t}();function Q5(t){return function(i){return new J5(t,i)}}var K5=iu(Kd(["fantasy-land/filter","filter"],Q5,function(t,i){return function W5(t){return"[object Object]"===Object.prototype.toString.call(t)}(i)?CC(function(n,o){return t(i[o])&&(n[o]=i[o]),n},{},N0(i)):function Z5(t,i){for(var n=0,o=i.length,l=[];n<o;)t(i[n])&&(l[l.length]=i[n]),n+=1;return l}(t,i)}));const gw=K5;var X5=iu(function(i,n){return gw(function V5(t){return function(){return!t.apply(this,arguments)}}(i),n)});const vw=X5;function yw(t,i){var n=function(v){var O=i.concat([t]);return TC(v,O)?"<Circular>":yw(v,O)},o=function(_,v){return I0(function(O){return tD(O)+": "+n(_[O])},v.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+I0(n,t).join(", ")+"))";case"[object Array]":return"["+I0(n,t).concat(o(t,vw(function(_){return/^\d+$/.test(_)},N0(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+n(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?n(NaN):tD(z5(t)))+")";case"[object Map]":return"new Map("+n(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+n(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+n(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+n(t.valueOf())+")":tD(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var l=t.toString();if("[object Object]"!==l)return l}return"{"+o(t,N0(t)).join(", ")+"}"}}const nD=kd(function(i){return yw(i,[])});var nL=function(){function t(i,n){this.xf=n,this.f=i}return t.prototype["@@transducer/init"]=ic_init,t.prototype["@@transducer/result"]=ic_result,t.prototype["@@transducer/step"]=function(i,n){return this.xf["@@transducer/step"](i,this.f(n))},t}();const Ew=function(i){return function(n){return new nL(i,n)}};function MC(t,i){switch(t){case 0:return function(){return i.apply(this,arguments)};case 1:return function(n){return i.apply(this,arguments)};case 2:return function(n,o){return i.apply(this,arguments)};case 3:return function(n,o,l){return i.apply(this,arguments)};case 4:return function(n,o,l,_){return i.apply(this,arguments)};case 5:return function(n,o,l,_,v){return i.apply(this,arguments)};case 6:return function(n,o,l,_,v,O){return i.apply(this,arguments)};case 7:return function(n,o,l,_,v,O,P){return i.apply(this,arguments)};case 8:return function(n,o,l,_,v,O,P,G){return i.apply(this,arguments)};case 9:return function(n,o,l,_,v,O,P,G,K){return i.apply(this,arguments)};case 10:return function(n,o,l,_,v,O,P,G,K,oe){return i.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function rD(t,i,n){return function(){for(var o=[],l=0,_=t,v=0;v<i.length||l<arguments.length;){var O;v<i.length&&(!Ld(i[v])||l>=arguments.length)?O=i[v]:(O=arguments[l],l+=1),o[v]=O,Ld(O)||(_-=1),v+=1}return _<=0?n.apply(this,o):MC(_,rD(t,o,n))}}var iL=iu(function(i,n){return 1===i?kd(n):MC(i,rD(i,[],n))});const _1=iL;var oL=iu(Kd(["fantasy-land/map","map"],Ew,function(i,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return _1(n.length,function(){return i.call(this,n.apply(this,arguments))});case"[object Object]":return CC(function(o,l){return o[l]=i(n[l]),o},{},N0(n));default:return I0(i,n)}}));const OC=oL;function QE(t){return function i(n,o,l){switch(arguments.length){case 0:return i;case 1:return Ld(n)?i:iu(function(_,v){return t(n,_,v)});case 2:return Ld(n)&&Ld(o)?i:Ld(n)?iu(function(_,v){return t(_,o,v)}):Ld(o)?iu(function(_,v){return t(n,_,v)}):kd(function(_){return t(n,o,_)});default:return Ld(n)&&Ld(o)&&Ld(l)?i:Ld(n)&&Ld(o)?iu(function(_,v){return t(_,v,l)}):Ld(n)&&Ld(l)?iu(function(_,v){return t(_,o,v)}):Ld(o)&&Ld(l)?iu(function(_,v){return t(n,_,v)}):Ld(n)?kd(function(_){return t(_,o,l)}):Ld(o)?kd(function(_){return t(n,_,l)}):Ld(l)?kd(function(_){return t(n,o,_)}):t(n,o,l)}}}var fL=kd(function(i){return!!KA(i)||!(!i||"object"!=typeof i||function iD(t){return"[object String]"===Object.prototype.toString.call(t)}(i))&&(0===i.length||i.length>0&&i.hasOwnProperty(0)&&i.hasOwnProperty(i.length-1))});const AC=fL;var bw=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Tw(t,i,n){return function(l,_,v){if(AC(v))return t(l,_,v);if(null==v)return _;if("function"==typeof v["fantasy-land/reduce"])return i(l,_,v,"fantasy-land/reduce");if(null!=v[bw])return n(l,_,v[bw]());if("function"==typeof v.next)return n(l,_,v);if("function"==typeof v.reduce)return i(l,_,v,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Cw(t,i,n){for(var o=0,l=n.length;o<l;){if((i=t["@@transducer/step"](i,n[o]))&&i["@@transducer/reduced"]){i=i["@@transducer/value"];break}o+=1}return t["@@transducer/result"](i)}var pL=iu(function(i,n){return MC(i.length,function(){return i.apply(n,arguments)})});const _L=pL;function hL(t,i,n){for(var o=n.next();!o.done;){if((i=t["@@transducer/step"](i,o.value))&&i["@@transducer/reduced"]){i=i["@@transducer/value"];break}o=n.next()}return t["@@transducer/result"](i)}function mL(t,i,n,o){return t["@@transducer/result"](n[o](_L(t["@@transducer/step"],t),i))}const DC=Tw(Cw,mL,hL);var vL=function(){function t(i){this.f=i}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(i){return i},t.prototype["@@transducer/step"]=function(i,n){return this.f(i,n)},t}();var yL=QE(function(t,i,n){return DC("function"==typeof t?function Mw(t){return new vL(t)}(t):t,i,n)});const RC=yL;const SL=kd(function(i){return function(){return i}});function CL(t,i,n){for(var o=n.next();!o.done;)i=t(i,o.value),o=n.next();return i}function ML(t,i,n,o){return n[o](t,i)}const AL=Tw(CC,ML,CL);var DL=iu(function(i,n){return"function"==typeof n["fantasy-land/ap"]?n["fantasy-land/ap"](i):"function"==typeof i.ap?i.ap(n):"function"==typeof i?function(o){return i(o)(n(o))}:AL(function(o,l){return function oD(t,i){var n,o=(t=t||[]).length,l=(i=i||[]).length,_=[];for(n=0;n<o;)_[_.length]=t[n],n+=1;for(n=0;n<l;)_[_.length]=i[n],n+=1;return _}(o,OC(l,n))},[],i)});const RL=DL;var NL=iu(function(i,n){var o=_1(i,n);return _1(i,function(){return CC(RL,OC(o,arguments[0]),Array.prototype.slice.call(arguments,1))})});const IL=NL;const WL=kd(function(i){return IL(i.length,i)})(kd(function(i){return!i}));function JL(t,i){return function(){return i.call(this,t.apply(this,arguments))}}function Dw(t,i){return function(){var n=arguments.length;if(0===n)return i();var o=arguments[n-1];return KA(o)||"function"!=typeof o[t]?i.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}var QL=QE(Dw("slice",function(i,n,o){return Array.prototype.slice.call(o,i,n)}));const F0=QL,XL=kd(Dw("tail",F0(1,1/0)));function aD(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return MC(arguments[0].length,RC(JL,arguments[0],XL(arguments)))}const c7=kd(function(i){return _1(i.length,i)});function S7(t,i){for(var n=i.length-1;n>=0&&t(i[n]);)n-=1;return F0(0,n+1,i)}var b7=function(){function t(i,n){this.f=i,this.retained=[],this.xf=n}return t.prototype["@@transducer/init"]=ic_init,t.prototype["@@transducer/result"]=function(i){return this.retained=null,this.xf["@@transducer/result"](i)},t.prototype["@@transducer/step"]=function(i,n){return this.f(n)?this.retain(i,n):this.flush(i,n)},t.prototype.flush=function(i,n){return i=DC(this.xf,i,this.retained),this.retained=[],this.xf["@@transducer/step"](i,n)},t.prototype.retain=function(i,n){return this.retained.push(n),i},t}();function T7(t){return function(i){return new b7(t,i)}}const M7=iu(Kd([],T7,S7));var U7=kd(function(i){return _1(i.length,function(n,o){var l=Array.prototype.slice.call(arguments,0);return l[0]=o,l[1]=n,i.apply(this,l)})});const B7=U7,j7=iu(TC);var o9=iu(function(i,n){return _1(i+1,function(){var o=arguments[i];if(null!=o&&function i9(t){var i=Object.prototype.toString.call(t);return"[object Function]"===i||"[object AsyncFunction]"===i||"[object GeneratorFunction]"===i||"[object AsyncGeneratorFunction]"===i}(o[n]))return o[n].apply(o,Array.prototype.slice.call(arguments,0,i));throw new TypeError(nD(o)+' does not have a method named "'+n+'"')})});const Nw=o9,a9=Nw(1,"join"),E9=Nw(1,"split"),w9=B7(j7);var P9=c7(function(t,i){return aD(E9(""),M7(w9(t)),a9(""))(i)});const N9=P9;var I9=SL(void 0),L9=WL(bC(I9()));const dD=t=>{try{const i=new URL(t);return N9(":",i.protocol)}catch{return}},$9=(aD(dD,L9),t=>{const i=dD(t);return"http"===i||"https"===i}),qE=(t,i)=>{const n=new URL(i,new URL(t,"resolve://"));if("resolve:"===n.protocol){const{pathname:o,search:l,hash:_}=n;return o+l+_}return n.toString()};function $w(t,i){function n(){Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack;for(var o=arguments.length,l=new Array(o),_=0;_<o;_++)l[_]=arguments[_];[this.message]=l,i&&i.apply(this,l)}return(n.prototype=new Error).name=t,n.prototype.constructor=n,n}var B9=s(18807),G9=s.n(B9);const Y9=["properties"],j9=["properties"],z9=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],V9=["schema/example","items/example"];function Hw(t){const i=t[t.length-1],n=t[t.length-2],o=t.join("/");return Y9.indexOf(i)>-1&&-1===j9.indexOf(n)||z9.indexOf(o)>-1||V9.some(l=>o.indexOf(l)>-1)}function fD(t,i){const[n,o]=t.split("#"),l=i??"",_=n??"";let v;if($9(l))v=qE(l,_);else{const O=qE(EA,l),G=qE(O,_).replace(EA,"");v=_.startsWith("/")?G:G.substring(1)}return o?`${v}#${o}`:v}const W9=/^([a-z]+:\/\/|\/\/)/i,L0=$w("JSONRefError",function(i,n,o){this.originalError=o,Object.assign(this,n||{})}),Pg={},Uw=new WeakMap,J9=[t=>"paths"===t[0]&&"responses"===t[3]&&"examples"===t[5],t=>"paths"===t[0]&&"responses"===t[3]&&"content"===t[5]&&"example"===t[7],t=>"paths"===t[0]&&"responses"===t[3]&&"content"===t[5]&&"examples"===t[7]&&"value"===t[9],t=>"paths"===t[0]&&"requestBody"===t[3]&&"content"===t[4]&&"example"===t[6],t=>"paths"===t[0]&&"requestBody"===t[3]&&"content"===t[4]&&"examples"===t[6]&&"value"===t[8],t=>"paths"===t[0]&&"parameters"===t[2]&&"example"===t[4],t=>"paths"===t[0]&&"parameters"===t[3]&&"example"===t[5],t=>"paths"===t[0]&&"parameters"===t[2]&&"examples"===t[4]&&"value"===t[6],t=>"paths"===t[0]&&"parameters"===t[3]&&"examples"===t[5]&&"value"===t[7],t=>"paths"===t[0]&&"parameters"===t[2]&&"content"===t[4]&&"example"===t[6],t=>"paths"===t[0]&&"parameters"===t[2]&&"content"===t[4]&&"examples"===t[6]&&"value"===t[8],t=>"paths"===t[0]&&"parameters"===t[3]&&"content"===t[4]&&"example"===t[7],t=>"paths"===t[0]&&"parameters"===t[3]&&"content"===t[5]&&"examples"===t[7]&&"value"===t[9]],Bw=Object.assign({key:"$ref",plugin:(t,i,n,o)=>{const l=o.getInstance(),_=n.slice(0,-1);if(Hw(_)||(t=>J9.some(i=>i(t)))(_))return;const{baseDoc:v}=o.getContext(n);if("string"!=typeof t)return new L0("$ref: must be a string (JSON-Ref)",{$ref:t,baseDoc:v,fullPath:n});const O=Yw(t),P=O[0],G=O[1]||"";let K,oe,ue;try{K=v||P?Gw(P,v):null}catch(Ue){return pD(Ue,{pointer:G,$ref:t,basePath:K,fullPath:n})}if(function nk(t,i,n,o){let l=Uw.get(o);l||(l={},Uw.set(o,l));const _=function ek(t){return 0===t.length?"":`/${t.map(Zw).join("/")}`}(n),v=`${i||"<specmap-base>"}#${t}`,O=_.replace(/allOf\/\d+\/?/g,"");if(i===o.contextTree.get([]).baseDoc&&mD(O,t))return!0;let G="";if(n.some(oe=>(G=`${G}/${Zw(oe)}`,l[G]&&l[G].some(ue=>mD(ue,v)||mD(v,ue)))))return!0;l[O]=(l[O]||[]).concat(v)}(G,K,_,o)&&!l.useCircularStructures){const Ue=fD(t,K);return t===Ue?null:rd.replace(n,Ue)}if(null==K?(ue=hD(G),oe=o.get(ue),typeof oe>"u"&&(oe=new L0(`Could not resolve reference: ${t}`,{pointer:G,$ref:t,baseDoc:v,fullPath:n}))):(oe=jw(K,G),oe=null!=oe.__value?oe.__value:oe.catch(Ue=>{throw pD(Ue,{pointer:G,$ref:t,baseDoc:v,fullPath:n})})),oe instanceof Error)return[rd.remove(n),oe];const pe=fD(t,K),ye=rd.replace(_,oe,{$$ref:pe});if(K&&K!==v)return[ye,rd.context(_,{baseDoc:K})];try{if(!function rk(t,i){const n=[t];return i.path.reduce((l,_)=>(n.push(l[_]),l[_]),t),function o(l){return rd.isObject(l)&&(n.indexOf(l)>=0||Object.keys(l).some(_=>o(l[_])))}(i.value)}(o.state,ye)||l.useCircularStructures)return ye}catch{return null}}},{docCache:Pg,absoluteify:Gw,clearCache:function X9(t){typeof t<"u"?delete Pg[t]:Object.keys(Pg).forEach(i=>{delete Pg[i]})},JSONRefError:L0,wrapError:pD,getDoc:zw,split:Yw,extractFromDoc:jw,fetchJSON:function q9(t){return fetch(t,{headers:{Accept:B3},loadSpec:!0}).then(i=>i.text()).then(i=>zx.load(i))},extract:_D,jsonPointerToArray:hD,unescapeJsonPointerToken:Vw}),K9=Bw;function Gw(t,i){if(!W9.test(t)){if(!i)throw new L0(`Tried to resolve a relative URL, without having a basePath. path: '${t}' basePath: '${i}'`);return qE(i,t)}return t}function pD(t,i){let n;return n=t&&t.response&&t.response.body?`${t.response.body.code} ${t.response.body.message}`:t.message,new L0(`Could not resolve reference: ${n}`,i,t)}function Yw(t){return(t+"").split("#")}function jw(t,i){const n=Pg[t];if(n&&!rd.isPromise(n))try{const o=_D(i,n);return Object.assign(Promise.resolve(o),{__value:o})}catch(o){return Promise.reject(o)}return zw(t).then(o=>_D(i,o))}function zw(t){const i=Pg[t];return i?rd.isPromise(i)?i:Promise.resolve(i):(Pg[t]=Bw.fetchJSON(t).then(n=>(Pg[t]=n,n)),Pg[t])}function _D(t,i){const n=hD(t);if(n.length<1)return i;const o=rd.getIn(i,n);if(typeof o>"u")throw new L0(`Could not resolve pointer: ${t} does not exist in document`,{pointer:t});return o}function hD(t){if("string"!=typeof t)throw new TypeError("Expected a string, got a "+typeof t);return"/"===t[0]&&(t=t.substr(1)),""===t?[]:t.split("/").map(Vw)}function Vw(t){return"string"!=typeof t?t:new URLSearchParams(`=${t.replace(/~1/g,"/").replace(/~0/g,"~")}`).get("")}function Zw(t){return new URLSearchParams([["",t.replace(/~/g,"~0").replace(/\//g,"~1")]]).toString().slice(1)}const tk=t=>!t||"/"===t||"#"===t;function mD(t,i){if(tk(i))return!0;const n=t.charAt(i.length),o=i.slice(-1);return 0===t.indexOf(i)&&(!n||"/"===n||"#"===n)&&"#"!==o}const ik={key:"allOf",plugin:(t,i,n,o,l)=>{if(l.meta&&l.meta.$$ref)return;const _=n.slice(0,-1);if(Hw(_))return;if(!Array.isArray(t)){const G=new TypeError("allOf must be an array");return G.fullPath=n,G}let v=!1,O=l.value;if(_.forEach(G=>{O&&(O=O[G])}),O={...O},0===Object.keys(O).length)return;delete O.allOf;const P=[];return P.push(o.replace(_,{})),t.forEach((G,K)=>{if(!o.isObject(G)){if(v)return null;v=!0;const pe=new TypeError("Elements in allOf must be objects");return pe.fullPath=n,P.push(pe)}P.push(o.mergeDeep(_,G));const ue=function Z9(t,i){let{specmap:n,getBaseUrlForNodePath:o=(v=>n.getContext([...i,...v]).baseDoc),targetKeys:l=["$ref","$$ref"]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const _=[];return G9()(t).forEach(function(){if(l.includes(this.key)&&"string"==typeof this.node){const O=this.path,P=i.concat(this.path),G=fD(this.node,o(O));_.push(n.replace(P,G))}}),_}(G,n.slice(0,-1),{getBaseUrlForNodePath:pe=>o.getContext([...n,K,...pe]).baseDoc,specmap:o});P.push(...ue)}),O.example&&P.push(o.remove([].concat(_,"example"))),P.push(o.mergeDeep(_,O)),O.$$ref||P.push(o.remove([].concat(_,"$$ref"))),P}},ok={key:"parameters",plugin:(t,i,n,o)=>{if(Array.isArray(t)&&t.length){const l=Object.assign([],t),_=n.slice(0,-1),v={...rd.getIn(o.spec,_)};for(let O=0;O<t.length;O+=1){const P=t[O];try{l[O].default=o.parameterMacro(v,P)}catch(G){const K=new Error(G);return K.fullPath=n,K}}return rd.replace(n,l)}return rd.replace(n,t)}},sk={key:"properties",plugin:(t,i,n,o)=>{const l={...t};for(const v in t)try{l[v].default=o.modelPropertyMacro(l[v])}catch(O){const P=new Error(O);return P.fullPath=n,P}return rd.replace(n,l)}};class ak{constructor(i){this.root=gD(i||{})}set(i,n){const o=this.getParent(i,!0);if(!o)return void xC(this.root,n,null);const l=i[i.length-1],{children:_}=o;_[l]?xC(_[l],n,o):_[l]=gD(n,o)}get(i){if((i=i||[]).length<1)return this.root.value;let o,l,n=this.root;for(let _=0;_<i.length&&(l=i[_],o=n.children,o[l]);_+=1)n=o[l];return n&&n.protoValue}getParent(i,n){return!i||i.length<1?null:i.length<2?this.root:i.slice(0,-1).reduce((o,l)=>{if(!o)return o;const{children:_}=o;return!_[l]&&n&&(_[l]=gD(null,o)),_[l]},this.root)}}function gD(t,i){return xC({children:{}},t,i)}function xC(t,i,n){return t.value=i||{},t.protoValue=n?{...n.protoValue,...t.value}:t.value,Object.keys(t.children).forEach(o=>{const l=t.children[o];t.children[o]=xC(l,l.value,t)}),t}const Jw=()=>{};class lk{static getPluginName(i){return i.pluginName}static getPatchesOfType(i,n){return i.filter(n)}constructor(i){Object.assign(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new ak,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:Object.assign(Object.create(this),rd,{getInstance:()=>this}),allowMetaPatches:!1},i),this.get=this._get.bind(this),this.getContext=this._getContext.bind(this),this.hasRun=this._hasRun.bind(this),this.wrappedPlugins=this.plugins.map(this.wrapPlugin.bind(this)).filter(rd.isFunction),this.patches.push(rd.add([],this.spec)),this.patches.push(rd.context([],this.context)),this.updatePatches(this.patches)}debug(i){if(this.debugLevel===i){for(var n=arguments.length,o=new Array(n>1?n-1:0),l=1;l<n;l++)o[l-1]=arguments[l];console.log(...o)}}verbose(i){if("verbose"===this.debugLevel){for(var n=arguments.length,o=new Array(n>1?n-1:0),l=1;l<n;l++)o[l-1]=arguments[l];console.log(`[${i}] `,...o)}}wrapPlugin(i,n){const{pathDiscriminator:o}=this;let _,l=null;return i[this.pluginProp]?(l=i,_=i[this.pluginProp]):rd.isFunction(i)?_=i:rd.isObject(i)&&(_=function v(O){const P=(G,K)=>!Array.isArray(G)||G.every((oe,ue)=>oe===K[ue]);return function*(K,oe){const ue={};for(const ye of K.filter(rd.isAdditiveMutation))yield*pe(ye.value,ye.path,ye);function*pe(ye,Ue,xe){if(rd.isObject(ye)){const ke=Ue.length-1,we=Ue[ke],Z=Ue.indexOf("properties"),Ft="properties"===we&&ke===Z,Dt=oe.allowMetaPatches&&ue[ye.$$ref];for(const Yt of Object.keys(ye)){const ln=ye[Yt],$n=Ue.concat(Yt),nn=rd.isObject(ln),Jn=ye.$$ref;if(Dt||nn&&(oe.allowMetaPatches&&Jn&&(ue[Jn]=!0),yield*pe(ln,$n,xe)),!Ft&&Yt===O.key){const zn=P(o,Ue);(!o||zn)&&(yield O.plugin(ln,Yt,$n,oe,xe))}}}else O.key===Ue[Ue.length-1]&&(yield O.plugin(ye,O.key,Ue,oe))}}}(i)),Object.assign(_.bind(l),{pluginName:i.name||n,isGenerator:rd.isGenerator(_)})}nextPlugin(){return this.wrappedPlugins.find(i=>this.getMutationsForPlugin(i).length>0)}nextPromisedPatch(){if(this.promisedPatches.length>0)return Promise.race(this.promisedPatches.map(i=>i.value))}getPluginHistory(i){const n=this.constructor.getPluginName(i);return this.pluginHistory[n]||[]}getPluginRunCount(i){return this.getPluginHistory(i).length}getPluginHistoryTip(i){const n=this.getPluginHistory(i);return n&&n[n.length-1]||{}}getPluginMutationIndex(i){const n=this.getPluginHistoryTip(i).mutationIndex;return"number"!=typeof n?-1:n}updatePluginHistory(i,n){const o=this.constructor.getPluginName(i);this.pluginHistory[o]=this.pluginHistory[o]||[],this.pluginHistory[o].push(n)}updatePatches(i){rd.normalizeArray(i).forEach(n=>{if(n instanceof Error)this.errors.push(n);else try{if(!rd.isObject(n))return void this.debug("updatePatches","Got a non-object patch",n);if(this.showDebug&&this.allPatches.push(n),rd.isPromise(n.value))return this.promisedPatches.push(n),void this.promisedPatchThen(n);if(rd.isContextPatch(n))return void this.setContext(n.path,n.value);rd.isMutation(n)&&this.updateMutations(n)}catch(o){console.error(o),this.errors.push(o)}})}updateMutations(i){"object"==typeof i.value&&!Array.isArray(i.value)&&this.allowMetaPatches&&(i.value={...i.value});const n=rd.applyPatch(this.state,i,{allowMetaPatches:this.allowMetaPatches});n&&(this.mutations.push(i),this.state=n)}removePromisedPatch(i){const n=this.promisedPatches.indexOf(i);n<0?this.debug("Tried to remove a promisedPatch that isn't there!"):this.promisedPatches.splice(n,1)}promisedPatchThen(i){return i.value=i.value.then(n=>{const o={...i,value:n};this.removePromisedPatch(i),this.updatePatches(o)}).catch(n=>{this.removePromisedPatch(i),this.updatePatches(n)}),i.value}getMutations(i,n){return"number"!=typeof n&&(n=this.mutations.length),this.mutations.slice(i=i||0,n)}getCurrentMutations(){return this.getMutationsForPlugin(this.getCurrentPlugin())}getMutationsForPlugin(i){const n=this.getPluginMutationIndex(i);return this.getMutations(n+1)}getCurrentPlugin(){return this.currentPlugin}getLib(){return this.libMethods}_get(i){return rd.getIn(this.state,i)}_getContext(i){return this.contextTree.get(i)}setContext(i,n){return this.contextTree.set(i,n)}_hasRun(i){return this.getPluginRunCount(this.getCurrentPlugin())>(i||0)}dispatch(){const i=this,n=this.nextPlugin();if(!n){const _=this.nextPromisedPatch();if(_)return _.then(()=>this.dispatch()).catch(()=>this.dispatch());const v={spec:this.state,errors:this.errors};return this.showDebug&&(v.patches=this.allPatches),Promise.resolve(v)}if(i.pluginCount=i.pluginCount||{},i.pluginCount[n]=(i.pluginCount[n]||0)+1,i.pluginCount[n]>100)return Promise.resolve({spec:i.state,errors:i.errors.concat(new Error("We've reached a hard limit of 100 plugin runs"))});if(n!==this.currentPlugin&&this.promisedPatches.length){const _=this.promisedPatches.map(v=>v.value);return Promise.all(_.map(v=>v.then(Jw,Jw))).then(()=>this.dispatch())}return function o(){i.currentPlugin=n;const _=i.getCurrentMutations(),v=i.mutations.length-1;try{if(n.isGenerator)for(const O of n(_,i.getLib()))l(O);else l(n(_,i.getLib()))}catch(O){console.error(O),l([Object.assign(Object.create(O),{plugin:n})])}finally{i.updatePluginHistory(n,{mutationIndex:v})}return i.dispatch()}();function l(_){_&&(_=rd.fullyNormalizeArray(_),i.updatePatches(_,n))}}}const k0={refs:K9,allOf:ik,parameters:ok,properties:sk},Qw=t=>t.replace(/\W/gi,"_");function vD(t,i){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",{v2OperationIdCompatibilityMode:o}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t&&"object"==typeof t?(t.operationId||"").replace(/\s/g,"").length?Qw(t.operationId):function ck(t,i){let{v2OperationIdCompatibilityMode:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(n){let o=`${i.toLowerCase()}_${t}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return o=o||`${t.substring(1)}_${i}`,o.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${i.toLowerCase()}${Qw(t)}`}(i,n,{v2OperationIdCompatibilityMode:o}):null}function wC(t){const{spec:i}=t,{paths:n}=i,o={};if(!n||i.$$normalized)return t;for(const l in n){const _=n[l];if(null==_||!["object","function"].includes(typeof _))continue;const v=_.parameters;for(const O in _){const P=_[O];if(null==P||!["object","function"].includes(typeof P))continue;const G=vD(P,l,O);if(G){o[G]?o[G].push(P):o[G]=[P];const K=o[G];if(K.length>1)K.forEach((oe,ue)=>{oe.__originalOperationId=oe.__originalOperationId||oe.operationId,oe.operationId=`${G}${ue+1}`});else if(typeof P.operationId<"u"){const oe=K[0];oe.__originalOperationId=oe.__originalOperationId||P.operationId,oe.operationId=G}}if("parameters"!==O){const K=[],oe={};for(const ue in i)("produces"===ue||"consumes"===ue||"security"===ue)&&(oe[ue]=i[ue],K.push(oe));if(v&&(oe.parameters=v,K.push(oe)),K.length)for(const ue of K)for(const pe in ue)if(P[pe]){if("parameters"===pe)for(const ye of ue[pe])P[pe].some(xe=>xe.name&&xe.name===ye.name||xe.$ref&&xe.$ref===ye.$ref||xe.$$ref&&xe.$$ref===ye.$$ref||xe===ye)||P[pe].push(ye)}else P[pe]=ue[pe]}}}return i.$$normalized=!0,t}function yD(t){return ED.apply(this,arguments)}function ED(){return ED=(0,mm.Z)(function*(t){const{spec:i,mode:n,allowMetaPatches:o=!0,pathDiscriminator:l,modelPropertyMacro:_,parameterMacro:v,requestInterceptor:O,responseInterceptor:P,skipNormalization:G,useCircularStructures:K}=t,oe=Xx(t),ue=qx(t);return function pe(ye){oe&&(k0.refs.docCache[oe]=ye),k0.refs.fetchJSON=G3(ue,{requestInterceptor:O,responseInterceptor:P});const Ue=[k0.refs];return"function"==typeof v&&Ue.push(k0.parameters),"function"==typeof _&&Ue.push(k0.properties),"strict"!==n&&Ue.push(k0.allOf),function uk(t){return new lk(t).dispatch()}({spec:ye,context:{baseDoc:oe},plugins:Ue,allowMetaPatches:o,pathDiscriminator:l,parameterMacro:v,modelPropertyMacro:_,useCircularStructures:K}).then(G?function(){var xe=(0,mm.Z)(function*(ke){return ke});return function(ke){return xe.apply(this,arguments)}}():wC)}(i)}),ED.apply(this,arguments)}const Kw={name:"generic",match:()=>!0,normalize(t){let{spec:i}=t;const{spec:n}=wC({spec:i});return n},resolve:t=>(0,mm.Z)(function*(){return yD(t)})()};function SD(){return SD=(0,mm.Z)(function*(t){return yD(t)}),SD.apply(this,arguments)}const Xw=t=>{try{const{openapi:i}=t;return"string"==typeof i&&/^3\.0\.([0123])(?:-rc[012])?$/.test(i)}catch{return!1}},qw=t=>Xw(t)||(t=>{try{const{openapi:i}=t;return"string"==typeof i&&/^3\.1\.(?:[1-9]\d*|0)$/.test(i)}catch{return!1}})(t),eP={name:"openapi-2",match(t){let{spec:i}=t;return(t=>{try{const{swagger:i}=t;return"2.0"===i}catch{return!1}})(i)},normalize(t){let{spec:i}=t;const{spec:n}=wC({spec:i});return n},resolve:t=>(0,mm.Z)(function*(){return function dk(t){return SD.apply(this,arguments)}(t)})()};function bD(){return bD=(0,mm.Z)(function*(t){return yD(t)}),bD.apply(this,arguments)}const tP={name:"openapi-3-0",match(t){let{spec:i}=t;return Xw(i)},normalize(t){let{spec:i}=t;const{spec:n}=wC({spec:i});return n},resolve:t=>(0,mm.Z)(function*(){return function _k(t){return bD.apply(this,arguments)}(t)})()},hk=function(){var t=(0,mm.Z)(function*(i){const{spec:n,requestInterceptor:o,responseInterceptor:l}=i,_=Xx(i),v=qx(i),O=n||(yield G3(v,{requestInterceptor:o,responseInterceptor:l})(_)),P={...i,spec:O};return i.strategies.find(K=>K.match(P)).resolve(P)});return function(n){return t.apply(this,arguments)}}(),nP=(t=>function(){var i=(0,mm.Z)(function*(n){const o={...t,...n};return hk(o)});return function(n){return i.apply(this,arguments)}}())({strategies:[tP,eP,Kw]});var mk=s(46295);function rP(t){return"[object Object]"===Object.prototype.toString.call(t)}function iP(t){var i,n;return!1!==rP(t)&&(void 0===(i=t.constructor)||!(!1===rP(n=i.prototype)||!1===n.hasOwnProperty("isPrototypeOf")))}const gk={body:function vk(t){let{req:i,value:n}=t;i.body=n},header:function Ek(t){let{req:i,parameter:n,value:o}=t;i.headers=i.headers||{},typeof o<"u"&&(i.headers[n.name]=o)},query:function bk(t){let{req:i,value:n,parameter:o}=t;if(i.query=i.query||{},!1===n&&"boolean"===o.type&&(n="false"),0===n&&["number","integer"].indexOf(o.type)>-1&&(n="0"),n)i.query[o.name]={collectionFormat:o.collectionFormat,value:n};else if(o.allowEmptyValue&&void 0!==n){const l=o.name;i.query[l]=i.query[l]||{},i.query[l].allowEmptyValue=!0}},path:function Sk(t){let{req:i,value:n,parameter:o}=t;i.url=i.url.split(`{${o.name}}`).join(encodeURIComponent(n))},formData:function yk(t){let{req:i,value:n,parameter:o}=t;(n||o.allowEmptyValue)&&(i.form=i.form||{},i.form[o.name]={value:n,allowEmptyValue:o.allowEmptyValue,collectionFormat:o.collectionFormat})}};function PC(t,i){return i.includes("application/json")?"string"==typeof t?t:JSON.stringify(t):t.toString()}function Tk(t){let{req:i,value:n,parameter:o}=t;const{name:l,style:_,explode:v,content:O}=o;if(O){const G=Object.keys(O)[0];return void(i.url=i.url.split(`{${l}}`).join(w0(PC(n,G),{escape:!0})))}const P=LA({key:o.name,value:n,style:_||"simple",explode:v||!1,escape:!0});i.url=i.url.split(`{${l}}`).join(P)}function Ck(t){let{req:i,value:n,parameter:o}=t;if(i.query=i.query||{},o.content){const _=PC(n,Object.keys(o.content)[0]);if(_)i.query[o.name]=_;else if(o.allowEmptyValue&&void 0!==n){const v=o.name;i.query[v]=i.query[v]||{},i.query[v].allowEmptyValue=!0}}else if(!1===n&&(n="false"),0===n&&(n="0"),n){const{style:l,explode:_,allowReserved:v}=o;i.query[o.name]={value:n,serializationOption:{style:l,explode:_,allowReserved:v}}}else if(o.allowEmptyValue&&void 0!==n){const l=o.name;i.query[l]=i.query[l]||{},i.query[l].allowEmptyValue=!0}}const Mk=["accept","authorization","content-type"];function Ok(t){let{req:i,parameter:n,value:o}=t;if(i.headers=i.headers||{},!(Mk.indexOf(n.name.toLowerCase())>-1)){if(n.content){const l=Object.keys(n.content)[0];return void(i.headers[n.name]=PC(o,l))}typeof o<"u"&&(i.headers[n.name]=LA({key:n.name,value:o,style:n.style||"simple",explode:!(typeof n.explode>"u")&&n.explode,escape:!1}))}}function Ak(t){let{req:i,parameter:n,value:o}=t;i.headers=i.headers||{};const l=typeof o;if(n.content){const _=Object.keys(n.content)[0];i.headers.Cookie=`${n.name}=${PC(o,_)}`}else if("undefined"!==l){const _="object"===l&&!Array.isArray(o)&&n.explode?"":`${n.name}=`;i.headers.Cookie=_+LA({key:n.name,value:o,escape:!1,style:n.style||"form",explode:!(typeof n.explode>"u")&&n.explode})}}const Dk=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,{btoa:Rk}=Dk,oP=Rk;function sP(t,i){return`${i.toLowerCase()}-${t}`}const aP=t=>Array.isArray(t)?t:[],NC=t=>{try{return new URL(t)}catch{const i=new URL(t,EA),n=String(t).startsWith("/")?i.pathname:i.pathname.substring(1);return{hash:i.hash,host:"",hostname:"",href:"",origin:"",password:"",pathname:n,port:"",protocol:"",search:i.search,searchParams:i.searchParams}}},kk=$w("OperationNotFoundError",function(i,n,o){this.originalError=o,Object.assign(this,n||{})}),$k=(t,i)=>i.filter(n=>n.name===t),Hk=t=>{const i={};t.forEach(o=>{i[o.in]||(i[o.in]={}),i[o.in][o.name]=o});const n=[];return Object.keys(i).forEach(o=>{Object.keys(i[o]).forEach(l=>{n.push(i[o][l])})}),n},Uk={buildRequest:lP};function Bk(t){let{http:i,fetch:n,spec:o,operationId:l,pathName:_,method:v,parameters:O,securities:P,...G}=t;const K=i||n||$A;_&&v&&!l&&(l=sP(_,v));const oe=Uk.buildRequest({spec:o,operationId:l,parameters:O,securities:P,http:K,...G});return oe.body&&(iP(oe.body)||Array.isArray(oe.body))&&(oe.body=JSON.stringify(oe.body)),K(oe)}function lP(t){const{spec:i,operationId:n,responseContentType:o,scheme:l,requestInterceptor:_,responseInterceptor:v,contextUrl:O,userFetch:P,server:G,serverVariables:K,http:oe,signal:ue}=t;let{parameters:pe,parameterBuilders:ye}=t;const Ue=qw(i);ye||(ye=Ue?c:gk);let ke={url:"",credentials:oe&&oe.withCredentials?"include":"same-origin",headers:{},cookies:{}};ue&&(ke.signal=ue),_&&(ke.requestInterceptor=_),v&&(ke.responseInterceptor=v),P&&(ke.userFetch=P);const we=function Lk(t,i){return t&&t.paths?function Fk(t,i){return function Ik(t,i,n){if(!t||"object"!=typeof t||!t.paths||"object"!=typeof t.paths)return null;const{paths:o}=t;for(const l in o)for(const _ in o[l]){if("PARAMETERS"===_.toUpperCase())continue;const v=o[l][_];if(!v||"object"!=typeof v)continue;const O={spec:t,pathName:l,method:_.toUpperCase(),operation:v},P=i(O);if(n&&P)return O}}(t,i,!0)||null}(t,n=>{let{pathName:o,method:l,operation:_}=n;if(!_||"object"!=typeof _)return!1;const v=_.operationId;return[vD(_,o,l),sP(o,l),v].some(G=>G&&G===i)}):null}(i,n);if(!we)throw new kk(`Operation ${n} not found`);const{operation:Z={},method:Ft,pathName:Dt}=we;if(ke.url+=function Gk(t){return qw(t.spec)?function Yk(t){var i,n;let{spec:o,pathName:l,method:_,server:v,contextUrl:O,serverVariables:P={}}=t;const G=(null==o||null===(i=o.paths)||void 0===i||null===(i=i[l])||void 0===i||null===(i=i[(_||"").toLowerCase()])||void 0===i?void 0:i.servers)||(null==o||null===(n=o.paths)||void 0===n||null===(n=n[l])||void 0===n?void 0:n.servers)||o?.servers;let K="",oe=null;if(v&&G&&G.length){const ue=G.map(pe=>pe.url);ue.indexOf(v)>-1&&(K=v,oe=G[ue.indexOf(v)])}return!K&&G&&G.length&&(K=G[0].url,[oe]=G),K.indexOf("{")>-1&&function zk(t){const i=[],n=/{([^}]+)}/g;let o;for(;o=n.exec(t);)i.push(o[1]);return i}(K).forEach(pe=>{if(oe.variables&&oe.variables[pe]){const Ue=P[pe]||oe.variables[pe].default,xe=new RegExp(`{${pe}}`,"g");K=K.replace(xe,Ue)}}),function jk(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=NC(t&&i?qE(i,t):t),o=NC(i),l=TD(n.protocol)||TD(o.protocol),_=n.host||o.host,v=n.pathname;let O;return O=l&&_?`${l}://${_+v}`:v,"/"===O[O.length-1]?O.slice(0,-1):O}(K,O)}(t):function Vk(t){let{spec:i,scheme:n,contextUrl:o=""}=t;const l=NC(o),_=Array.isArray(i.schemes)?i.schemes[0]:null,v=n||_||TD(l.protocol)||"http",O=i.host||l.host||"",P=i.basePath||"";let G;return G=v&&O?`${v}://${O+P}`:P,"/"===G[G.length-1]?G.slice(0,-1):G}(t)}({spec:i,scheme:l,contextUrl:O,server:G,serverVariables:K,pathName:Dt,method:Ft}),!n)return delete ke.cookies,ke;ke.url+=Dt,ke.method=`${Ft}`.toUpperCase(),pe=pe||{};const Yt=i.paths[Dt]||{};o&&(ke.headers.accept=o);const ln=Hk([].concat(aP(Z.parameters)).concat(aP(Yt.parameters)));ln.forEach(nn=>{const Jn=ye[nn.in];let zn;if("body"===nn.in&&nn.schema&&nn.schema.properties&&(zn=pe),zn=nn&&nn.name&&pe[nn.name],typeof zn>"u"?zn=nn&&nn.name&&pe[`${nn.in}.${nn.name}`]:$k(nn.name,ln).length>1&&console.warn(`Parameter '${nn.name}' is ambiguous because the defined spec has more than one parameter with the name: '${nn.name}' and the passed-in parameter values did not define an 'in' value.`),null!==zn){if(typeof nn.default<"u"&&typeof zn>"u"&&(zn=nn.default),typeof zn>"u"&&nn.required&&!nn.allowEmptyValue)throw new Error(`Required parameter ${nn.name} is not provided`);if(Ue&&nn.schema&&"object"===nn.schema.type&&"string"==typeof zn)try{zn=JSON.parse(zn)}catch{throw new Error("Could not parse object parameter value string as JSON")}Jn&&Jn({req:ke,parameter:nn,value:zn,operation:Z,spec:i})}});const $n={...t,operation:Z};if(ke=Ue?function xk(t,i){const{operation:n,requestBody:o,securities:l,spec:_,attachContentTypeForEmptyPayload:v}=t;let{requestContentType:O}=t;i=function wk(t){var i;let{request:n,securities:o={},operation:l={},spec:_}=t;const v={...n},{authorized:O={}}=o,P=l.security||_.security||[],G=O&&!!Object.keys(O).length,K=(null==_||null===(i=_.components)||void 0===i?void 0:i.securitySchemes)||{};return v.headers=v.headers||{},v.query=v.query||{},Object.keys(o).length&&G&&P&&(!Array.isArray(l.security)||l.security.length)?(P.forEach(oe=>{Object.keys(oe).forEach(ue=>{const pe=O[ue],ye=K[ue];if(!pe)return;const Ue=pe.value||pe,{type:xe}=ye;if(pe)if("apiKey"===xe)"query"===ye.in&&(v.query[ye.name]=Ue),"header"===ye.in&&(v.headers[ye.name]=Ue),"cookie"===ye.in&&(v.cookies[ye.name]=Ue);else if("http"===xe){if(/^basic$/i.test(ye.scheme)){const Z=oP(`${Ue.username||""}:${Ue.password||""}`);v.headers.Authorization=`Basic ${Z}`}/^bearer$/i.test(ye.scheme)&&(v.headers.Authorization=`Bearer ${Ue}`)}else if("oauth2"===xe||"openIdConnect"===xe){const ke=pe.token||{},Z=ke[ye["x-tokenName"]||"access_token"];let Ft=ke.token_type;(!Ft||"bearer"===Ft.toLowerCase())&&(Ft="Bearer"),v.headers.Authorization=`${Ft} ${Z}`}})}),v):n}({request:i,securities:l,operation:n,spec:_});const P=n.requestBody||{},G=Object.keys(P.content||{}),K=O&&G.indexOf(O)>-1;if(o||v){if(O&&K)i.headers["Content-Type"]=O;else if(!O){const pe=G[0];pe&&(i.headers["Content-Type"]=pe,O=pe)}}else O&&K&&(i.headers["Content-Type"]=O);if(!t.responseContentType&&n.responses){const pe=Object.entries(n.responses).filter(ye=>{let[Ue,xe]=ye;const ke=parseInt(Ue,10);return ke>=200&&ke<300&&iP(xe.content)}).reduce((ye,Ue)=>{let[,xe]=Ue;return ye.concat(Object.keys(xe.content))},[]);pe.length>0&&(i.headers.accept=pe.join(", "))}if(o)if(O){if(G.indexOf(O)>-1)if("application/x-www-form-urlencoded"===O||"multipart/form-data"===O)if("object"==typeof o){var oe,ue;const pe=null!==(oe=null===(ue=P.content[O])||void 0===ue?void 0:ue.encoding)&&void 0!==oe?oe:{};i.form={},Object.keys(o).forEach(ye=>{i.form[ye]={value:o[ye],encoding:pe[ye]||{}}})}else i.form=o;else i.body=o}else i.body=o;return i}($n,ke):function Pk(t,i){const{spec:n,operation:o,securities:l,requestContentType:_,responseContentType:v,attachContentTypeForEmptyPayload:O}=t;if(i=function Nk(t){let{request:i,securities:n={},operation:o={},spec:l}=t;const _={...i},{authorized:v={},specSecurity:O=[]}=n,P=o.security||O,G=v&&!!Object.keys(v).length,K=l.securityDefinitions;return _.headers=_.headers||{},_.query=_.query||{},Object.keys(n).length&&G&&P&&(!Array.isArray(o.security)||o.security.length)?(P.forEach(oe=>{Object.keys(oe).forEach(ue=>{const pe=v[ue];if(!pe)return;const{token:ye}=pe,Ue=pe.value||pe,xe=K[ue],{type:ke}=xe,Z=ye&&ye[xe["x-tokenName"]||"access_token"];let Ft=ye&&ye.token_type;if(pe)if("apiKey"===ke){const Dt="query"===xe.in?"query":"headers";_[Dt]=_[Dt]||{},_[Dt][xe.name]=Ue}else"basic"===ke?Ue.header?_.headers.authorization=Ue.header:(Ue.base64=oP(`${Ue.username||""}:${Ue.password||""}`),_.headers.authorization=`Basic ${Ue.base64}`):"oauth2"===ke&&Z&&(Ft=Ft&&"bearer"!==Ft.toLowerCase()?Ft:"Bearer",_.headers.authorization=`${Ft} ${Z}`)})}),_):i}({request:i,securities:l,operation:o,spec:n}),i.body||i.form||O)_?i.headers["Content-Type"]=_:Array.isArray(o.consumes)?[i.headers["Content-Type"]]=o.consumes:Array.isArray(n.consumes)?[i.headers["Content-Type"]]=n.consumes:o.parameters&&o.parameters.filter(P=>"file"===P.type).length?i.headers["Content-Type"]="multipart/form-data":o.parameters&&o.parameters.filter(P=>"formData"===P.in).length&&(i.headers["Content-Type"]="application/x-www-form-urlencoded");else if(_){const P=o.parameters&&o.parameters.filter(K=>"body"===K.in).length>0,G=o.parameters&&o.parameters.filter(K=>"formData"===K.in).length>0;(P||G)&&(i.headers["Content-Type"]=_)}return!v&&Array.isArray(o.produces)&&o.produces.length>0&&(i.headers.accept=o.produces.join(", ")),i}($n,ke),ke.cookies&&Object.keys(ke.cookies).length){const nn=Object.keys(ke.cookies).reduce((Jn,zn)=>Jn+(Jn?"&":"")+mk.serialize(zn,ke.cookies[zn]),"");ke.headers.Cookie=nn}return ke.cookies&&delete ke.cookies,Kx(ke),ke}const TD=t=>t?t.replace(/\W/g,""):null,Zk=function(){var t=(0,mm.Z)(function*(i,n){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{returnEntireTree:l,baseDoc:_,requestInterceptor:v,responseInterceptor:O,parameterMacro:P,modelPropertyMacro:G,useCircularStructures:K,strategies:oe}=o,ue={spec:i,pathDiscriminator:n,baseDoc:_,requestInterceptor:v,responseInterceptor:O,parameterMacro:P,modelPropertyMacro:G,useCircularStructures:K,strategies:oe},ye=oe.find(xe=>xe.match(ue)).normalize(ue),Ue=yield nP({...ue,spec:ye,allowMetaPatches:!0,skipNormalization:!0});return!l&&Array.isArray(n)&&n.length&&(Ue.spec=n.reduce((xe,ke)=>xe?.[ke],Ue.spec)||null),Ue});return function(n,o){return t.apply(this,arguments)}}(),Wk=(t=>function(){var i=(0,mm.Z)(function*(n,o){const _={...t,...arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}};return Zk(n,o,_)});return function(n,o){return i.apply(this,arguments)}}())({strategies:[tP,eP,Kw]});var uP=s(88768),cP=Ln.createContext(null),dP=function Jk(t){t()},Kk=function(){return dP},fP={notify:function(){},get:function(){return[]}};function pP(t,i){var n,o=fP;function v(){K.onStateChange&&K.onStateChange()}function P(){n||(n=i?i.addNestedSub(v):t.subscribe(v),o=function Xk(){var t=Kk(),i=null,n=null;return{clear:function(){i=null,n=null},notify:function(){t(function(){for(var l=i;l;)l.callback(),l=l.next})},get:function(){for(var l=[],_=i;_;)l.push(_),_=_.next;return l},subscribe:function(l){var _=!0,v=n={callback:l,next:null,prev:n};return v.prev?v.prev.next=v:i=v,function(){!_||null===i||(_=!1,v.next?v.next.prev=v.prev:n=v.prev,v.prev?v.prev.next=v.next:i=v.next)}}}}())}var K={addNestedSub:function l(oe){return P(),o.subscribe(oe)},notifyNestedSubs:function _(){o.notify()},handleChangeWrapper:v,isSubscribed:function O(){return Boolean(n)},trySubscribe:P,tryUnsubscribe:function G(){n&&(n(),n=void 0,o.clear(),o=fP)},getListeners:function(){return o}};return K}var _P=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?Ln.useLayoutEffect:Ln.useEffect;const e$=function qk(t){var i=t.store,n=t.context,o=t.children,l=(0,Ln.useMemo)(function(){var O=pP(i);return{store:i,subscription:O}},[i]),_=(0,Ln.useMemo)(function(){return i.getState()},[i]);return _P(function(){var O=l.subscription;return O.onStateChange=O.notifyNestedSubs,O.trySubscribe(),_!==i.getState()&&O.notifyNestedSubs(),function(){O.tryUnsubscribe(),O.onStateChange=null}},[l,_]),Ln.createElement((n||cP).Provider,{value:l},o)};function Ng(){return Ng=Object.assign?Object.assign.bind():function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Ng.apply(this,arguments)}function eS(t,i){if(null==t)return{};var l,_,n={},o=Object.keys(t);for(_=0;_<o.length;_++)!(i.indexOf(l=o[_])>=0)&&(n[l]=t[l]);return n}var t$=s(62568),hP=s.n(t$),n$=s(56261),r$=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],i$=["reactReduxForwardedRef"],o$=[],s$=[null,null];function a$(t,i){return[i.payload,t[1]+1]}function mP(t,i,n){_P(function(){return t.apply(void 0,i)},n)}function l$(t,i,n,o,l,_,v){t.current=o,i.current=l,n.current=!1,_.current&&(_.current=null,v())}function u$(t,i,n,o,l,_,v,O,P,G){if(t){var K=!1,oe=null,ue=function(){if(!K){var xe,ke,Ue=i.getState();try{xe=o(Ue,l.current)}catch(we){ke=we,oe=we}ke||(oe=null),xe===_.current?v.current||P():(_.current=xe,O.current=xe,v.current=!0,G({type:"STORE_UPDATED",payload:{error:ke}}))}};return n.onStateChange=ue,n.trySubscribe(),ue(),function(){if(K=!0,n.tryUnsubscribe(),n.onStateChange=null,oe)throw oe}}}var c$=function(){return[null,0]};function d$(t,i){void 0===i&&(i={});var o=i.getDisplayName,l=void 0===o?function(Yt){return"ConnectAdvanced("+Yt+")"}:o,_=i.methodName,v=void 0===_?"connectAdvanced":_,O=i.renderCountProp,P=void 0===O?void 0:O,G=i.shouldHandleStateChanges,K=void 0===G||G,oe=i.storeKey,ue=void 0===oe?"store":oe,Ue=i.forwardRef,xe=void 0!==Ue&&Ue,ke=i.context,we=void 0===ke?cP:ke,Z=eS(i,r$),Dt=we;return function(ln){var $n=ln.displayName||ln.name||"Component",nn=l($n),Jn=Ng({},Z,{getDisplayName:l,methodName:v,renderCountProp:P,shouldHandleStateChanges:K,storeKey:ue,displayName:nn,wrappedComponentName:$n,WrappedComponent:ln}),zn=Z.pure,$r=zn?Ln.useMemo:function(lr){return lr()};function ui(lr){var ar=(0,Ln.useMemo)(function(){var li=lr.reactReduxForwardedRef,eo=eS(lr,i$);return[lr.context,li,eo]},[lr]),Cr=ar[0],Wn=ar[1],ai=ar[2],ho=(0,Ln.useMemo)(function(){return Cr&&Cr.Consumer&&(0,n$.isContextConsumer)(Ln.createElement(Cr.Consumer,null))?Cr:Dt},[Cr,Dt]),Yi=(0,Ln.useContext)(ho),lo=Boolean(lr.store)&&Boolean(lr.store.getState)&&Boolean(lr.store.dispatch),Kn=(Boolean(Yi)&&Boolean(Yi.store),lo?lr.store:Yi.store),Nn=(0,Ln.useMemo)(function(){return function Zr(lr){return t(lr.dispatch,Jn)}(Kn)},[Kn]),_i=(0,Ln.useMemo)(function(){if(!K)return s$;var li=pP(Kn,lo?null:Yi.subscription),eo=li.notifyNestedSubs.bind(li);return[li,eo]},[Kn,lo,Yi]),Zi=_i[0],So=_i[1],us=(0,Ln.useMemo)(function(){return lo?Yi:Ng({},Yi,{subscription:Zi})},[lo,Yi,Zi]),Zo=(0,Ln.useReducer)(a$,o$,c$),va=Zo[0][0],qi=Zo[1];if(va&&va.error)throw va.error;var xo=(0,Ln.useRef)(),$o=(0,Ln.useRef)(ai),rt=(0,Ln.useRef)(),kt=(0,Ln.useRef)(!1),Lt=$r(function(){return rt.current&&ai===$o.current?rt.current:Nn(Kn.getState(),ai)},[Kn,va,ai]);mP(l$,[$o,xo,kt,ai,Lt,rt,So]),mP(u$,[K,Kn,Zi,Nn,$o,xo,kt,rt,So,qi],[Kn,Zi,Nn]);var cr=(0,Ln.useMemo)(function(){return Ln.createElement(ln,Ng({},Lt,{ref:Wn}))},[Wn,ln,Lt]);return(0,Ln.useMemo)(function(){return K?Ln.createElement(ho.Provider,{value:us},cr):cr},[ho,cr,us])}var gi=zn?Ln.memo(ui):ui;if(gi.WrappedComponent=ln,gi.displayName=ui.displayName=nn,xe){var Un=Ln.forwardRef(function(ar,Cr){return Ln.createElement(gi,Ng({},ar,{reactReduxForwardedRef:Cr}))});return Un.displayName=nn,Un.WrappedComponent=ln,hP()(Un,ln)}return hP()(gi,ln)}}function gP(t,i){return t===i?0!==t||0!==i||1/t==1/i:t!=t&&i!=i}function CD(t,i){if(gP(t,i))return!0;if("object"!=typeof t||null===t||"object"!=typeof i||null===i)return!1;var n=Object.keys(t),o=Object.keys(i);if(n.length!==o.length)return!1;for(var l=0;l<n.length;l++)if(!Object.prototype.hasOwnProperty.call(i,n[l])||!gP(t[n[l]],i[n[l]]))return!1;return!0}function MD(t){return function(n,o){var l=t(n,o);function _(){return l}return _.dependsOnOwnProps=!1,_}}function vP(t){return null!=t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function yP(t,i){return function(o,l){var v=function(P,G){return v.dependsOnOwnProps?v.mapToProps(P,G):v.mapToProps(P)};return v.dependsOnOwnProps=!0,v.mapToProps=function(P,G){v.mapToProps=t,v.dependsOnOwnProps=vP(t);var K=v(P,G);return"function"==typeof K&&(v.mapToProps=K,v.dependsOnOwnProps=vP(K),K=v(P,G)),K},v}}const m$=[function p$(t){return"function"==typeof t?yP(t):void 0},function _$(t){return t?void 0:MD(function(i){return{dispatch:i}})},function h$(t){return t&&"object"==typeof t?MD(function(i){return function f$(t,i){var n={},o=function(v){var O=t[v];"function"==typeof O&&(n[v]=function(){return i(O.apply(void 0,arguments))})};for(var l in t)o(l);return n}(t,i)}):void 0}],y$=[function g$(t){return"function"==typeof t?yP(t):void 0},function v$(t){return t?void 0:MD(function(){return{}})}];function E$(t,i,n){return Ng({},n,t,i)}const C$=[function b$(t){return"function"==typeof t?function S$(t){return function(n,o){var P,_=o.pure,v=o.areMergedPropsEqual,O=!1;return function(K,oe,ue){var pe=t(K,oe,ue);return O?(!_||!v(pe,P))&&(P=pe):(O=!0,P=pe),P}}}(t):void 0},function T$(t){return t?void 0:function(){return E$}}];var M$=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function O$(t,i,n,o){return function(_,v){return n(t(_,v),i(o,v),v)}}function A$(t,i,n,o,l){var G,K,oe,ue,pe,_=l.areStatesEqual,v=l.areOwnPropsEqual,O=l.areStatePropsEqual,P=!1;return function(Ft,Dt){return P?function we(Z,Ft){var Dt=!v(Ft,K),Yt=!_(Z,G,Ft,K);return G=Z,K=Ft,Dt&&Yt?function Ue(){return oe=t(G,K),i.dependsOnOwnProps&&(ue=i(o,K)),pe=n(oe,ue,K)}():Dt?function xe(){return t.dependsOnOwnProps&&(oe=t(G,K)),i.dependsOnOwnProps&&(ue=i(o,K)),pe=n(oe,ue,K)}():Yt?function ke(){var Z=t(G,K),Ft=!O(Z,oe);return oe=Z,Ft&&(pe=n(oe,ue,K)),pe}():pe}(Ft,Dt):function ye(Z,Ft){return oe=t(G=Z,K=Ft),ue=i(o,K),pe=n(oe,ue,K),P=!0,pe}(Ft,Dt)}}function D$(t,i){var n=i.initMapStateToProps,o=i.initMapDispatchToProps,l=i.initMergeProps,_=eS(i,M$),v=n(t,_),O=o(t,_),P=l(t,_);return(_.pure?A$:O$)(v,O,P,t,_)}var R$=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function OD(t,i,n){for(var o=i.length-1;o>=0;o--){var l=i[o](t);if(l)return l}return function(_,v){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+v.wrappedComponentName+".")}}function x$(t,i){return t===i}function w$(t){var i=void 0===t?{}:t,n=i.connectHOC,o=void 0===n?d$:n,l=i.mapStateToPropsFactories,_=void 0===l?y$:l,v=i.mapDispatchToPropsFactories,O=void 0===v?m$:v,P=i.mergePropsFactories,G=void 0===P?C$:P,K=i.selectorFactory,oe=void 0===K?D$:K;return function(pe,ye,Ue,xe){void 0===xe&&(xe={});var we=xe.pure,Z=void 0===we||we,Ft=xe.areStatesEqual,Dt=void 0===Ft?x$:Ft,Yt=xe.areOwnPropsEqual,ln=void 0===Yt?CD:Yt,$n=xe.areStatePropsEqual,nn=void 0===$n?CD:$n,Jn=xe.areMergedPropsEqual,zn=void 0===Jn?CD:Jn,Zr=eS(xe,R$),$r=OD(pe,_,"mapStateToProps"),ui=OD(ye,O,"mapDispatchToProps"),gi=OD(Ue,G,"mergeProps");return o(oe,Ng({methodName:"connect",getDisplayName:function(lr){return"Connect("+lr+")"},shouldHandleStateChanges:Boolean(pe),initMapStateToProps:$r,initMapDispatchToProps:ui,initMergeProps:gi,pure:Z,areStatesEqual:Dt,areOwnPropsEqual:ln,areStatePropsEqual:nn,areMergedPropsEqual:zn},Zr))}}const P$=w$();dP=uP.unstable_batchedUpdates;var F$=s(12482),L$=s.n(F$),k$=s(80290),$$=s.n(k$);function AD(t,i){(null==i||i>t.length)&&(i=t.length);for(var n=0,o=new Array(i);n<i;n++)o[n]=t[n];return o}function j$(t){return function U$(t){if(Array.isArray(t))return AD(t)}(t)||function B$(t){if(typeof Symbol<"u"&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function G$(t,i){if(t){if("string"==typeof t)return AD(t,i);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return AD(t,i)}}(t)||function Y$(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tS(t){return(tS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(t)}function DD(t,i,n){return(i=function V$(t){var i=function z$(t,i){if("object"!==tS(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,i||"default");if("object"!==tS(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)}(t,"string");return"symbol"===tS(i)?i:String(i)}(i))in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function EP(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);i&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,o)}return n}function $0(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?EP(Object(n),!0).forEach(function(o){DD(t,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):EP(Object(n)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(n,o))})}return t}var RD={};function J$(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,l=function W$(t){if(0===t.length||1===t.length)return t;var i=t.join(".");return RD[i]||(RD[i]=function Z$(t){var i=t.length;return 0===i||1===i?t:2===i?[t[0],t[1],"".concat(t[0],".").concat(t[1]),"".concat(t[1],".").concat(t[0])]:3===i?[t[0],t[1],t[2],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0])]:i>=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0}(t)),RD[i]}(t.filter(function(_){return"token"!==_}));return l.reduce(function(_,v){return $0($0({},_),n[v])},i)}function SP(t){return t.join(" ")}function bP(t){var i=t.node,n=t.stylesheet,o=t.style,l=void 0===o?{}:o,_=t.useInlineStyles,v=t.key,O=i.properties,G=i.tagName;if("text"===i.type)return i.value;if(G){var ue,oe=function Q$(t,i){var n=0;return function(o){return n+=1,o.map(function(l,_){return bP({node:l,stylesheet:t,useInlineStyles:i,key:"code-segment-".concat(n,"-").concat(_)})})}}(n,_);if(_){var pe=Object.keys(n).reduce(function(ke,we){return we.split(".").forEach(function(Z){ke.includes(Z)||ke.push(Z)}),ke},[]),ye=O.className&&O.className.includes("token")?["token"]:[],Ue=O.className&&ye.concat(O.className.filter(function(ke){return!pe.includes(ke)}));ue=$0($0({},O),{},{className:SP(Ue)||void 0,style:J$(O.className,Object.assign({},O.style,l),n)})}else ue=$0($0({},O),{},{className:SP(O.className)});var xe=oe(i.children);return Ln.createElement(G,Ng({key:v},ue),xe)}}var X$=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function TP(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);i&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,o)}return n}function og(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?TP(Object(n),!0).forEach(function(o){DD(t,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):TP(Object(n)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(n,o))})}return t}var q$=/\n/g;function nH(t){var i=t.codeString,o=t.containerStyle,_=t.numberStyle,v=void 0===_?{}:_,O=t.startingLineNumber;return Ln.createElement("code",{style:Object.assign({},t.codeStyle,void 0===o?{float:"left",paddingRight:"10px"}:o)},function tH(t){var n=t.startingLineNumber,o=t.style;return t.lines.map(function(l,_){var v=_+n;return Ln.createElement("span",{key:"line-".concat(_),className:"react-syntax-highlighter-line-number",style:"function"==typeof o?o(v):o},"".concat(v,"\n"))})}({lines:i.replace(/\n$/,"").split("\n"),style:v,startingLineNumber:O}))}function rH(t){return"".concat(t.toString().length,".25em")}function CP(t,i){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(t),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:i},children:[{type:"text",value:t}]}}function MP(t,i,n){var o={display:"inline-block",minWidth:rH(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},l="function"==typeof t?t(i):t;return og(og({},o),l)}function IC(t){var i=t.children,n=t.lineNumber,o=t.lineNumberStyle,l=t.largestLineNumber,_=t.showInlineLineNumbers,v=t.lineProps,O=void 0===v?{}:v,P=t.className,G=void 0===P?[]:P,K=t.showLineNumbers,oe=t.wrapLongLines,ue="function"==typeof O?O(n):O;if(ue.className=G,n&&_){var pe=MP(o,n,l);i.unshift(CP(n,pe))}return oe&K&&(ue.style=og(og({},ue.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:ue,children:i}}function OP(t){for(var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=0;o<t.length;o++){var l=t[o];if("text"===l.type)n.push(IC({children:[l],className:j$(new Set(i))}));else if(l.children){var _=i.concat(l.properties.className);OP(l.children,_).forEach(function(v){return n.push(v)})}}return n}function iH(t,i,n,o,l,_,v,O,P){var G,K=OP(t.value),oe=[],ue=-1,pe=0;function xe(Dt,Yt){var ln=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return i||ln.length>0?function ye(Dt,Yt){return IC({children:Dt,lineNumber:Yt,lineNumberStyle:O,largestLineNumber:v,showInlineLineNumbers:l,lineProps:n,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:o,wrapLongLines:P})}(Dt,Yt,ln):function Ue(Dt,Yt){if(o&&Yt&&l){var ln=MP(O,Yt,v);Dt.unshift(CP(Yt,ln))}return Dt}(Dt,Yt)}for(var ke=function(){var Yt=K[pe],ln=Yt.children[0].value,$n=function eH(t){return t.match(q$)}(ln);if($n){var nn=ln.split("\n");nn.forEach(function(Jn,zn){var Zr=o&&oe.length+_,$r={type:"text",value:"".concat(Jn,"\n")};if(0===zn){var gi=xe(K.slice(ue+1,pe).concat(IC({children:[$r],className:Yt.properties.className})),Zr);oe.push(gi)}else if(zn===nn.length-1){var Un=K[pe+1]&&K[pe+1].children&&K[pe+1].children[0],lr={type:"text",value:"".concat(Jn)};if(Un){var ar=IC({children:[lr],className:Yt.properties.className});K.splice(pe+1,0,ar)}else{var Wn=xe([lr],Zr,Yt.properties.className);oe.push(Wn)}}else{var ho=xe([$r],Zr,Yt.properties.className);oe.push(ho)}}),ue=pe}pe++};pe<K.length;)ke();if(ue!==K.length-1){var we=K.slice(ue+1,K.length);if(we&&we.length){var Ft=xe(we,o&&oe.length+_);oe.push(Ft)}}return i?oe:(G=[]).concat.apply(G,oe)}function oH(t){var n=t.stylesheet,o=t.useInlineStyles;return t.rows.map(function(l,_){return bP({node:l,stylesheet:n,useInlineStyles:o,key:"code-segement".concat(_)})})}function AP(t){return t&&typeof t.highlightAuto<"u"}var DP=s(74538),RP=function aH(t,i){return function(o){var l=o.language,_=o.children,v=o.style,O=void 0===v?i:v,P=o.customStyle,G=void 0===P?{}:P,K=o.codeTagProps,oe=void 0===K?{className:l?"language-".concat(l):void 0,style:og(og({},O['code[class*="language-"]']),O['code[class*="language-'.concat(l,'"]')])}:K,ue=o.useInlineStyles,pe=void 0===ue||ue,ye=o.showLineNumbers,Ue=void 0!==ye&&ye,xe=o.showInlineLineNumbers,ke=void 0===xe||xe,we=o.startingLineNumber,Z=void 0===we?1:we,Ft=o.lineNumberContainerStyle,Dt=o.lineNumberStyle,Yt=void 0===Dt?{}:Dt,ln=o.wrapLines,$n=o.wrapLongLines,nn=void 0!==$n&&$n,Jn=o.lineProps,zn=void 0===Jn?{}:Jn,Zr=o.renderer,$r=o.PreTag,ui=void 0===$r?"pre":$r,gi=o.CodeTag,Un=void 0===gi?"code":gi,lr=o.code,ar=void 0===lr?(Array.isArray(_)?_[0]:_)||"":lr,Cr=o.astGenerator,Wn=function H$(t,i){if(null==t)return{};var o,l,n=eS(t,i);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(t);for(l=0;l<_.length;l++)!(i.indexOf(o=_[l])>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(n[o]=t[o])}return n}(o,X$);Cr=Cr||t;var ai=Ue?Ln.createElement(nH,{containerStyle:Ft,codeStyle:oe.style||{},numberStyle:Yt,startingLineNumber:Z,codeString:ar}):null,ho=O.hljs||O['pre[class*="language-"]']||{backgroundColor:"#fff"},Yi=AP(Cr)?"hljs":"prismjs",lo=Object.assign({},Wn,pe?{style:Object.assign({},ho,G)}:{className:Wn.className?"".concat(Yi," ").concat(Wn.className):Yi,style:Object.assign({},G)});if(oe.style=og(og({},oe.style),{},nn?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!Cr)return Ln.createElement(ui,lo,ai,Ln.createElement(Un,oe,ar));(void 0===ln&&Zr||nn)&&(ln=!0),Zr=Zr||oH;var pi=[{type:"text",value:ar}],Kn=function sH(t){var i=t.astGenerator,n=t.language,o=t.code,l=t.defaultCodeValue;if(AP(i)){var _=function(t,i){return-1!==t.listLanguages().indexOf(i)}(i,n);return"text"===n?{value:l,language:"text"}:_?i.highlight(n,o):i.highlightAuto(o)}try{return n&&"text"!==n?{value:i.highlight(o,n)}:{value:l}}catch{return{value:l}}}({astGenerator:Cr,language:l,code:ar,defaultCodeValue:pi});null===Kn.language&&(Kn.value=pi);var _i=iH(Kn,ln,zn,Ue,ke,Z,Kn.value.length+Z,Yt,nn);return Ln.createElement(ui,lo,Ln.createElement(Un,oe,!ke&&ai,Zr({rows:_i,stylesheet:O,useInlineStyles:pe})))}}(DP,{});RP.registerLanguage=DP.registerLanguage;const lH=RP;var uH=s(36147);const dH=s.n(uH)();var fH=s(92229);const _H=s.n(fH)();var hH=s(13546);const gH=s.n(hH)();var vH=s(4357);const EH=s.n(vH)();var SH=s(44776);const TH=s.n(SH)();var CH=s(28390);const OH=s.n(CH)();var AH=s(78932);const RH=s.n(AH)(),xH={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#333",color:"white"},"hljs-name":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-code":{fontStyle:"italic",color:"#888"},"hljs-emphasis":{fontStyle:"italic"},"hljs-tag":{color:"#62c8f3"},"hljs-variable":{color:"#ade5fc"},"hljs-template-variable":{color:"#ade5fc"},"hljs-selector-id":{color:"#ade5fc"},"hljs-selector-class":{color:"#ade5fc"},"hljs-string":{color:"#a2fca2"},"hljs-bullet":{color:"#d36363"},"hljs-type":{color:"#ffa"},"hljs-title":{color:"#ffa"},"hljs-section":{color:"#ffa"},"hljs-attribute":{color:"#ffa"},"hljs-quote":{color:"#ffa"},"hljs-built_in":{color:"#ffa"},"hljs-builtin-name":{color:"#ffa"},"hljs-number":{color:"#d36363"},"hljs-symbol":{color:"#d36363"},"hljs-keyword":{color:"#fcc28c"},"hljs-selector-tag":{color:"#fcc28c"},"hljs-literal":{color:"#fcc28c"},"hljs-comment":{color:"#888"},"hljs-deletion":{color:"#333",backgroundColor:"#fc9b9b"},"hljs-regexp":{color:"#c6b4f0"},"hljs-link":{color:"#c6b4f0"},"hljs-meta":{color:"#fc9b9b"},"hljs-addition":{backgroundColor:"#a2fca2",color:"#333"}},wH={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222",color:"#aaa"},"hljs-subst":{color:"#aaa"},"hljs-section":{color:"#fff",fontWeight:"bold"},"hljs-comment":{color:"#444"},"hljs-quote":{color:"#444"},"hljs-meta":{color:"#444"},"hljs-string":{color:"#ffcc33"},"hljs-symbol":{color:"#ffcc33"},"hljs-bullet":{color:"#ffcc33"},"hljs-regexp":{color:"#ffcc33"},"hljs-number":{color:"#00cc66"},"hljs-addition":{color:"#00cc66"},"hljs-built_in":{color:"#32aaee"},"hljs-builtin-name":{color:"#32aaee"},"hljs-literal":{color:"#32aaee"},"hljs-type":{color:"#32aaee"},"hljs-template-variable":{color:"#32aaee"},"hljs-attribute":{color:"#32aaee"},"hljs-link":{color:"#32aaee"},"hljs-keyword":{color:"#6644aa"},"hljs-selector-tag":{color:"#6644aa"},"hljs-name":{color:"#6644aa"},"hljs-selector-id":{color:"#6644aa"},"hljs-selector-class":{color:"#6644aa"},"hljs-title":{color:"#bb1166"},"hljs-variable":{color:"#bb1166"},"hljs-deletion":{color:"#bb1166"},"hljs-template-tag":{color:"#bb1166"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},PH={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#272822",color:"#ddd"},"hljs-tag":{color:"#f92672"},"hljs-keyword":{color:"#f92672",fontWeight:"bold"},"hljs-selector-tag":{color:"#f92672",fontWeight:"bold"},"hljs-literal":{color:"#f92672",fontWeight:"bold"},"hljs-strong":{color:"#f92672"},"hljs-name":{color:"#f92672"},"hljs-code":{color:"#66d9ef"},"hljs-class .hljs-title":{color:"white"},"hljs-attribute":{color:"#bf79db"},"hljs-symbol":{color:"#bf79db"},"hljs-regexp":{color:"#bf79db"},"hljs-link":{color:"#bf79db"},"hljs-string":{color:"#a6e22e"},"hljs-bullet":{color:"#a6e22e"},"hljs-subst":{color:"#a6e22e"},"hljs-title":{color:"#a6e22e",fontWeight:"bold"},"hljs-section":{color:"#a6e22e",fontWeight:"bold"},"hljs-emphasis":{color:"#a6e22e"},"hljs-type":{color:"#a6e22e",fontWeight:"bold"},"hljs-built_in":{color:"#a6e22e"},"hljs-builtin-name":{color:"#a6e22e"},"hljs-selector-attr":{color:"#a6e22e"},"hljs-selector-pseudo":{color:"#a6e22e"},"hljs-addition":{color:"#a6e22e"},"hljs-variable":{color:"#a6e22e"},"hljs-template-tag":{color:"#a6e22e"},"hljs-template-variable":{color:"#a6e22e"},"hljs-comment":{color:"#75715e"},"hljs-quote":{color:"#75715e"},"hljs-deletion":{color:"#75715e"},"hljs-meta":{color:"#75715e"},"hljs-doctag":{fontWeight:"bold"},"hljs-selector-id":{fontWeight:"bold"}},NH={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2E3440",color:"#D8DEE9"},"hljs-subst":{color:"#D8DEE9"},"hljs-selector-tag":{color:"#81A1C1"},"hljs-selector-id":{color:"#8FBCBB",fontWeight:"bold"},"hljs-selector-class":{color:"#8FBCBB"},"hljs-selector-attr":{color:"#8FBCBB"},"hljs-selector-pseudo":{color:"#88C0D0"},"hljs-addition":{backgroundColor:"rgba(163, 190, 140, 0.5)"},"hljs-deletion":{backgroundColor:"rgba(191, 97, 106, 0.5)"},"hljs-built_in":{color:"#8FBCBB"},"hljs-type":{color:"#8FBCBB"},"hljs-class":{color:"#8FBCBB"},"hljs-function":{color:"#88C0D0"},"hljs-function > .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}},IH={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}},FH={"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var LH=s(43155),kH=s(35037),$H=s.n(kH),HH=s(93890),UH=s.n(HH),BH=s(98990),GH=s.n(BH),YH=s(52190),jH=s.n(YH),zH=s(71166),VH=s.n(zH),ZH=s(52243),WH=s.n(ZH),xP=s(20611),H0=s(71432),xD=s(70729),wD=s(15123),wP=s(26421);function mv(t){var i;return(mv=wD?H0(i=wP).call(i):function(o){return o.__proto__||wP(o)})(t)}function FC(){var t;return FC=typeof Reflect<"u"&&xP?H0(t=xP).call(t):function(n,o,l){var _=function JH(t,i){for(;!Object.prototype.hasOwnProperty.call(t,i)&&null!==(t=mv(t)););return t}(n,o);if(_){var v=xD(_,o);return v.get?v.get.call(arguments.length<3?n:l):v.value}},FC.apply(this,arguments)}var PP=s(28296),NP=s(47194);function nS(t,i){var n;return(nS=wD?H0(n=wD).call(n):function(l,_){return l.__proto__=_,l})(t,i)}var PD=s(55451),rS=s(29044),ND=s(99692);function IP(){if(typeof Reflect>"u"||!rS||rS.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(rS(Boolean,[],function(){})),!0}catch{return!1}}function LC(t,i,n){var o;return(LC=IP()?H0(o=rS).call(o):function(_,v,O){var P=[null];ND(P).apply(P,v);var K=new(H0(Function).apply(_,P));return O&&nS(K,O.prototype),K}).apply(null,arguments)}function ID(t){var i="function"==typeof PP?new PP:void 0;return ID=function(o){if(null===o||!function QH(t){var i;return-1!==PD(i=Function.toString.call(t)).call(i,"[native code]")}(o))return o;if("function"!=typeof o)throw new TypeError("Super expression must either be null or a function");if(typeof i<"u"){if(i.has(o))return i.get(o);i.set(o,l)}function l(){return LC(o,arguments,mv(this).constructor)}return l.prototype=NP(o.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),nS(l,o)},ID(t)}var KH=s(45163),XH=s.n(KH),qH=s(30071),eU=s.n(qH),tU=s(58711),nU=s.n(tU),rU=s(15886),iU=s.n(rU),oU=s(34377),sU=s.n(oU),aU=s(28086),lU=s.n(aU),uU=s(56166),cU=s.n(uU),dU=s(10068),fU=s.n(dU),pU=s(45819),_U=s.n(pU),hU=s(84901),mU=s.n(hU),gU=s(35524),vU=s.n(gU),yU=s(71851),EU=s.n(yU),SU=s(91465),bU=s.n(SU),TU=s(37940),CU=s.n(TU),MU=s(35431),OU=s.n(MU),AU=s(46558),DU=s.n(AU),RU=s(53625),xU=s.n(RU),wU=s(31978),PU=s.n(wU),NU=s(84220),IU=s.n(NU),FU=s(40984),LU=s.n(FU),kU=s(44859),$U=s.n(kU),HU=s(54082),UU=s.n(HU),BU=s(30508),GU=s.n(BU),YU=s(46245),jU=s.n(YU),zU=s(35517),VU=s.n(zU),ZU=s(87513),WU=s.n(ZU),JU=s(69253),QU=s.n(JU);function FP(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KU(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}var iS=s(32944),XU=s(63816);function gv(t){return(gv="function"==typeof cv&&"symbol"==typeof XU?function(i){return typeof i}:function(i){return i&&"function"==typeof cv&&i.constructor===cv&&i!==cv.prototype?"symbol":typeof i})(t)}var qU=s(72378);function LP(t){var i=function eB(t,i){if("object"!==gv(t)||null===t)return t;var n=t[qU];if(void 0!==n){var o=n.call(t,i||"default");if("object"!==gv(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(t)}(t,"string");return"symbol"===gv(i)?i:String(i)}function kP(t,i){for(var n=0;n<i.length;n++){var o=i[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),iS(t,LP(o.key),o)}}function tB(t,i,n){return i&&kP(t.prototype,i),n&&kP(t,n),iS(t,"prototype",{writable:!1}),t}function nB(t,i){var n=typeof cv<"u"&&vA(t)||t["@@iterator"];if(!n){if(gA(t)||(n=uC(t))||i&&t&&"number"==typeof t.length){n&&(t=n);var o=0,l=function(){};return{s:l,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(G){throw G},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var O,_=!0,v=!1;return{s:function(){n=n.call(t)},n:function(){var G=n.next();return _=G.done,G},e:function(G){v=!0,O=G},f:function(){try{!_&&null!=n.return&&n.return()}finally{if(v)throw O}}}}function iB(t){var i=IP();return function(){var l,o=mv(t);if(i){var _=mv(this).constructor;l=rS(o,arguments,_)}else l=o.apply(this,arguments);return function rB(t,i){if(i&&("object"===gv(i)||"function"==typeof i))return i;if(void 0!==i)throw new TypeError("Derived constructors may only return object or undefined");return FP(t)}(this,l)}}function $P(t,i,n){return(i=LP(i))in t?iS(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}var HP=s(96973);function FD(){var t;return FD=HP?H0(t=HP).call(t):function(i){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(i[l]=o[l])}return i},FD.apply(this,arguments)}function oB(t,i){if("function"!=typeof i&&null!==i)throw new TypeError("Super expression must either be null or a function");t.prototype=NP(i&&i.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),iS(t,"prototype",{writable:!1}),i&&nS(t,i)}var UP=s(37785),kC=s(33969),sB=s(73712),BP=s(58044),GP=s(48299),aB=s(56805);function YP(t,i){var n=UP(t);if(kC){var o=kC(t);i&&(o=sB(o).call(o,function(l){return xD(t,l).enumerable})),ND(n).apply(n,o)}return n}function lB(t){for(var i=1;i<arguments.length;i++){var n,o,l=null!=arguments[i]?arguments[i]:{};i%2?BP(n=YP(Object(l),!0)).call(n,function(_){$P(t,_,l[_])}):GP?aB(t,GP(l)):BP(o=YP(Object(l))).call(o,function(_){iS(t,_,xD(l,_))})}return t}function cB(t,i){if(null==t)return{};var o,l,n=function uB(t,i){if(null==t)return{};var l,_,n={},o=UP(t);for(_=0;_<o.length;_++)l=o[_],!(PD(i).call(i,l)>=0)&&(n[l]=t[l]);return n}(t,i);if(kC){var _=kC(t);for(l=0;l<_.length;l++)o=_[l],!(PD(i).call(i,o)>=0)&&Object.prototype.propertyIsEnumerable.call(t,o)&&(n[o]=t[o])}return n}function fB(t,i){return F3(t)||function dB(t,i){var n=null==t?null:typeof cv<"u"&&vA(t)||t["@@iterator"];if(null!=n){var o,l,_,v,O=[],P=!0,G=!1;try{if(_=(n=n.call(t)).next,0===i){if(Object(n)!==n)return;P=!1}else for(;!(P=(o=_.call(n)).done)&&(ND(O).call(O,o.value),O.length!==i);P=!0);}catch(K){G=!0,l=K}finally{try{if(!P&&null!=n.return&&(v=n.return(),Object(v)!==v))return}finally{if(G)throw l}}return O}}(t,i)||uC(t,i)||$3()}function hB(t){return function pB(t){if(gA(t))return yA(t)}(t)||k3(t)||uC(t)||function _B(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var mB=s(96434),gB=s.t(mB,2),vB=s(82885),yB=s.n(vB),EB=s(12658),SB=s.t(EB,2),vv=s(52129),bB=s.n(vv);function jP(t){return typeof t>"u"||null===t}var yp={isNothing:jP,isObject:function TB(t){return"object"==typeof t&&null!==t},toArray:function CB(t){return Array.isArray(t)?t:jP(t)?[]:[t]},repeat:function OB(t,i){var o,n="";for(o=0;o<i;o+=1)n+=t;return n},isNegativeZero:function AB(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t},extend:function MB(t,i){var n,o,l,_;if(i)for(n=0,o=(_=Object.keys(i)).length;n<o;n+=1)t[l=_[n]]=i[l];return t}};function zP(t,i){var n="",o=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!i&&t.mark.snippet&&(n+="\n\n"+t.mark.snippet),o+" "+n):o}function oS(t,i){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=i,this.message=zP(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}(oS.prototype=Object.create(Error.prototype)).constructor=oS,oS.prototype.toString=function(i){return this.name+": "+zP(this,i)};var B_=oS;function LD(t,i,n,o,l){var _="",v="",O=Math.floor(l/2)-1;return o-i>O&&(i=o-O+(_=" ... ").length),n-o>O&&(n=o+O-(v=" ...").length),{str:_+t.slice(i,n).replace(/\t/g,"\u2192")+v,pos:o-i+_.length}}function kD(t,i){return yp.repeat(" ",i-t.length)+t}var FB=function IB(t,i){if(i=Object.create(i||null),!t.buffer)return null;i.maxLength||(i.maxLength=79),"number"!=typeof i.indent&&(i.indent=1),"number"!=typeof i.linesBefore&&(i.linesBefore=3),"number"!=typeof i.linesAfter&&(i.linesAfter=2);for(var _,n=/\r?\n|\r|\0/g,o=[0],l=[],v=-1;_=n.exec(t.buffer);)l.push(_.index),o.push(_.index+_[0].length),t.position<=_.index&&v<0&&(v=o.length-2);v<0&&(v=o.length-1);var P,G,O="",K=Math.min(t.line+i.linesAfter,l.length).toString().length,oe=i.maxLength-(i.indent+K+3);for(P=1;P<=i.linesBefore&&!(v-P<0);P++)G=LD(t.buffer,o[v-P],l[v-P],t.position-(o[v]-o[v-P]),oe),O=yp.repeat(" ",i.indent)+kD((t.line-P+1).toString(),K)+" | "+G.str+"\n"+O;for(G=LD(t.buffer,o[v],l[v],t.position,oe),O+=yp.repeat(" ",i.indent)+kD((t.line+1).toString(),K)+" | "+G.str+"\n",O+=yp.repeat("-",i.indent+K+3+G.pos)+"^\n",P=1;P<=i.linesAfter&&!(v+P>=l.length);P++)G=LD(t.buffer,o[v+P],l[v+P],t.position-(o[v]-o[v+P]),oe),O+=yp.repeat(" ",i.indent)+kD((t.line+P+1).toString(),K)+" | "+G.str+"\n";return O.replace(/\n$/,"")},LB=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],kB=["scalar","sequence","mapping"],e_=function HB(t,i){if(i=i||{},Object.keys(i).forEach(function(n){if(-1===LB.indexOf(n))throw new B_('Unknown option "'+n+'" is met in definition of "'+t+'" YAML type.')}),this.options=i,this.tag=t,this.kind=i.kind||null,this.resolve=i.resolve||function(){return!0},this.construct=i.construct||function(n){return n},this.instanceOf=i.instanceOf||null,this.predicate=i.predicate||null,this.represent=i.represent||null,this.representName=i.representName||null,this.defaultStyle=i.defaultStyle||null,this.multi=i.multi||!1,this.styleAliases=function $B(t){var i={};return null!==t&&Object.keys(t).forEach(function(n){t[n].forEach(function(o){i[String(o)]=n})}),i}(i.styleAliases||null),-1===kB.indexOf(this.kind))throw new B_('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function VP(t,i){var n=[];return t[i].forEach(function(o){var l=n.length;n.forEach(function(_,v){_.tag===o.tag&&_.kind===o.kind&&_.multi===o.multi&&(l=v)}),n[l]=o}),n}function $D(t){return this.extend(t)}$D.prototype.extend=function(i){var n=[],o=[];if(i instanceof e_)o.push(i);else if(Array.isArray(i))o=o.concat(i);else{if(!i||!Array.isArray(i.implicit)&&!Array.isArray(i.explicit))throw new B_("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");i.implicit&&(n=n.concat(i.implicit)),i.explicit&&(o=o.concat(i.explicit))}n.forEach(function(_){if(!(_ instanceof e_))throw new B_("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(_.loadKind&&"scalar"!==_.loadKind)throw new B_("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(_.multi)throw new B_("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),o.forEach(function(_){if(!(_ instanceof e_))throw new B_("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var l=Object.create($D.prototype);return l.implicit=(this.implicit||[]).concat(n),l.explicit=(this.explicit||[]).concat(o),l.compiledImplicit=VP(l,"implicit"),l.compiledExplicit=VP(l,"explicit"),l.compiledTypeMap=function UB(){var i,n,t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function o(l){l.multi?(t.multi[l.kind].push(l),t.multi.fallback.push(l)):t[l.kind][l.tag]=t.fallback[l.tag]=l}for(i=0,n=arguments.length;i<n;i+=1)arguments[i].forEach(o);return t}(l.compiledImplicit,l.compiledExplicit),l};var ZP=$D,WP=new e_("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}}),JP=new e_("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}}),QP=new e_("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}}),KP=new ZP({explicit:[WP,JP,QP]}),XP=new e_("tag:yaml.org,2002:null",{kind:"scalar",resolve:function BB(t){if(null===t)return!0;var i=t.length;return 1===i&&"~"===t||4===i&&("null"===t||"Null"===t||"NULL"===t)},construct:function GB(){return null},predicate:function YB(t){return null===t},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),qP=new e_("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function jB(t){if(null===t)return!1;var i=t.length;return 4===i&&("true"===t||"True"===t||"TRUE"===t)||5===i&&("false"===t||"False"===t||"FALSE"===t)},construct:function zB(t){return"true"===t||"True"===t||"TRUE"===t},predicate:function VB(t){return"[object Boolean]"===Object.prototype.toString.call(t)},represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function ZB(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function WB(t){return 48<=t&&t<=55}function JB(t){return 48<=t&&t<=57}var e6=new e_("tag:yaml.org,2002:int",{kind:"scalar",resolve:function QB(t){if(null===t)return!1;var l,i=t.length,n=0,o=!1;if(!i)return!1;if(("-"===(l=t[n])||"+"===l)&&(l=t[++n]),"0"===l){if(n+1===i)return!0;if("b"===(l=t[++n])){for(n++;n<i;n++)if("_"!==(l=t[n])){if("0"!==l&&"1"!==l)return!1;o=!0}return o&&"_"!==l}if("x"===l){for(n++;n<i;n++)if("_"!==(l=t[n])){if(!ZB(t.charCodeAt(n)))return!1;o=!0}return o&&"_"!==l}if("o"===l){for(n++;n<i;n++)if("_"!==(l=t[n])){if(!WB(t.charCodeAt(n)))return!1;o=!0}return o&&"_"!==l}}if("_"===l)return!1;for(;n<i;n++)if("_"!==(l=t[n])){if(!JB(t.charCodeAt(n)))return!1;o=!0}return!(!o||"_"===l)},construct:function KB(t){var o,i=t,n=1;if(-1!==i.indexOf("_")&&(i=i.replace(/_/g,"")),("-"===(o=i[0])||"+"===o)&&("-"===o&&(n=-1),o=(i=i.slice(1))[0]),"0"===i)return 0;if("0"===o){if("b"===i[1])return n*parseInt(i.slice(2),2);if("x"===i[1])return n*parseInt(i.slice(2),16);if("o"===i[1])return n*parseInt(i.slice(2),8)}return n*parseInt(i,10)},predicate:function XB(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!yp.isNegativeZero(t)},represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),qB=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),nG=/^[-+]?[0-9]+e/,t6=new e_("tag:yaml.org,2002:float",{kind:"scalar",resolve:function eG(t){return!(null===t||!qB.test(t)||"_"===t[t.length-1])},construct:function tG(t){var i,n;return n="-"===(i=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(i[0])>=0&&(i=i.slice(1)),".inf"===i?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===i?NaN:n*parseFloat(i,10)},predicate:function iG(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||yp.isNegativeZero(t))},represent:function rG(t,i){var n;if(isNaN(t))switch(i){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(i){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(i){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(yp.isNegativeZero(t))return"-0.0";return n=t.toString(10),nG.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),n6=KP.extend({implicit:[XP,qP,e6,t6]}),r6=n6,i6=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),o6=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),s6=new e_("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function oG(t){return null!==t&&(null!==i6.exec(t)||null!==o6.exec(t))},construct:function sG(t){var i,n,o,l,_,v,O,ue,P=0,G=null;if(null===(i=i6.exec(t))&&(i=o6.exec(t)),null===i)throw new Error("Date resolve error");if(n=+i[1],o=+i[2]-1,l=+i[3],!i[4])return new Date(Date.UTC(n,o,l));if(_=+i[4],v=+i[5],O=+i[6],i[7]){for(P=i[7].slice(0,3);P.length<3;)P+="0";P=+P}return i[9]&&(G=6e4*(60*+i[10]+ +(i[11]||0)),"-"===i[9]&&(G=-G)),ue=new Date(Date.UTC(n,o,l,_,v,O,P)),G&&ue.setTime(ue.getTime()-G),ue},instanceOf:Date,represent:function aG(t){return t.toISOString()}}),a6=new e_("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function lG(t){return"<<"===t||null===t}}),HD="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",l6=new e_("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function uG(t){if(null===t)return!1;var i,n,o=0,l=t.length,_=HD;for(n=0;n<l;n++)if(!((i=_.indexOf(t.charAt(n)))>64)){if(i<0)return!1;o+=6}return o%8==0},construct:function cG(t){var i,n,o=t.replace(/[\r\n=]/g,""),l=o.length,_=HD,v=0,O=[];for(i=0;i<l;i++)i%4==0&&i&&(O.push(v>>16&255),O.push(v>>8&255),O.push(255&v)),v=v<<6|_.indexOf(o.charAt(i));return 0==(n=l%4*6)?(O.push(v>>16&255),O.push(v>>8&255),O.push(255&v)):18===n?(O.push(v>>10&255),O.push(v>>2&255)):12===n&&O.push(v>>4&255),new Uint8Array(O)},predicate:function fG(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function dG(t){var o,l,i="",n=0,_=t.length,v=HD;for(o=0;o<_;o++)o%3==0&&o&&(i+=v[n>>18&63],i+=v[n>>12&63],i+=v[n>>6&63],i+=v[63&n]),n=(n<<8)+t[o];return 0==(l=_%3)?(i+=v[n>>18&63],i+=v[n>>12&63],i+=v[n>>6&63],i+=v[63&n]):2===l?(i+=v[n>>10&63],i+=v[n>>4&63],i+=v[n<<2&63],i+=v[64]):1===l&&(i+=v[n>>2&63],i+=v[n<<4&63],i+=v[64],i+=v[64]),i}}),pG=Object.prototype.hasOwnProperty,_G=Object.prototype.toString,u6=new e_("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function hG(t){if(null===t)return!0;var n,o,l,_,v,i=[],O=t;for(n=0,o=O.length;n<o;n+=1){if(v=!1,"[object Object]"!==_G.call(l=O[n]))return!1;for(_ in l)if(pG.call(l,_)){if(v)return!1;v=!0}if(!v)return!1;if(-1!==i.indexOf(_))return!1;i.push(_)}return!0},construct:function mG(t){return null!==t?t:[]}}),gG=Object.prototype.toString,c6=new e_("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function vG(t){if(null===t)return!0;var i,n,o,l,_,v=t;for(_=new Array(v.length),i=0,n=v.length;i<n;i+=1){if("[object Object]"!==gG.call(o=v[i])||1!==(l=Object.keys(o)).length)return!1;_[i]=[l[0],o[l[0]]]}return!0},construct:function yG(t){if(null===t)return[];var i,n,o,l,_,v=t;for(_=new Array(v.length),i=0,n=v.length;i<n;i+=1)o=v[i],l=Object.keys(o),_[i]=[l[0],o[l[0]]];return _}}),EG=Object.prototype.hasOwnProperty,d6=new e_("tag:yaml.org,2002:set",{kind:"mapping",resolve:function SG(t){if(null===t)return!0;var i,n=t;for(i in n)if(EG.call(n,i)&&null!==n[i])return!1;return!0},construct:function bG(t){return null!==t?t:{}}}),UD=r6.extend({implicit:[s6,a6],explicit:[l6,u6,c6,d6]}),h1=Object.prototype.hasOwnProperty,$C=1,f6=2,p6=3,HC=4,BD=1,TG=2,_6=3,CG=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,MG=/[\x85\u2028\u2029]/,OG=/[,\[\]\{\}]/,h6=/^(?:!|!!|![a-z\-]+!)$/i,m6=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function g6(t){return Object.prototype.toString.call(t)}function sg(t){return 10===t||13===t}function yv(t){return 9===t||32===t}function yh(t){return 9===t||32===t||10===t||13===t}function U0(t){return 44===t||91===t||93===t||123===t||125===t}function AG(t){var i;return 48<=t&&t<=57?t-48:97<=(i=32|t)&&i<=102?i-97+10:-1}function DG(t){return 120===t?2:117===t?4:85===t?8:0}function RG(t){return 48<=t&&t<=57?t-48:-1}function v6(t){return 48===t?"\0":97===t?"\x07":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"\x1b":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"\x85":95===t?"\xa0":76===t?"\u2028":80===t?"\u2029":""}function xG(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var y6=new Array(256),E6=new Array(256),B0=0;B0<256;B0++)y6[B0]=v6(B0)?1:0,E6[B0]=v6(B0);function wG(t,i){this.input=t,this.filename=i.filename||null,this.schema=i.schema||UD,this.onWarning=i.onWarning||null,this.legacy=i.legacy||!1,this.json=i.json||!1,this.listener=i.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function S6(t,i){var n={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return n.snippet=FB(n),new B_(i,n)}function cl(t,i){throw S6(t,i)}function UC(t,i){t.onWarning&&t.onWarning.call(null,S6(t,i))}var b6={YAML:function(i,n,o){var l,_,v;null!==i.version&&cl(i,"duplication of %YAML directive"),1!==o.length&&cl(i,"YAML directive accepts exactly one argument"),null===(l=/^([0-9]+)\.([0-9]+)$/.exec(o[0]))&&cl(i,"ill-formed argument of the YAML directive"),_=parseInt(l[1],10),v=parseInt(l[2],10),1!==_&&cl(i,"unacceptable YAML version of the document"),i.version=o[0],i.checkLineBreaks=v<2,1!==v&&2!==v&&UC(i,"unsupported YAML version of the document")},TAG:function(i,n,o){var l,_;2!==o.length&&cl(i,"TAG directive accepts exactly two arguments"),_=o[1],h6.test(l=o[0])||cl(i,"ill-formed tag handle (first argument) of the TAG directive"),h1.call(i.tagMap,l)&&cl(i,'there is a previously declared suffix for "'+l+'" tag handle'),m6.test(_)||cl(i,"ill-formed tag prefix (second argument) of the TAG directive");try{_=decodeURIComponent(_)}catch{cl(i,"tag prefix is malformed: "+_)}i.tagMap[l]=_}};function m1(t,i,n,o){var l,_,v,O;if(i<n){if(O=t.input.slice(i,n),o)for(l=0,_=O.length;l<_;l+=1)9===(v=O.charCodeAt(l))||32<=v&&v<=1114111||cl(t,"expected valid JSON character");else CG.test(O)&&cl(t,"the stream contains non-printable characters");t.result+=O}}function T6(t,i,n,o){var l,_,v,O;for(yp.isObject(n)||cl(t,"cannot merge mappings; the provided source object is unacceptable"),v=0,O=(l=Object.keys(n)).length;v<O;v+=1)h1.call(i,_=l[v])||(i[_]=n[_],o[_]=!0)}function G0(t,i,n,o,l,_,v,O,P){var G,K;if(Array.isArray(l))for(G=0,K=(l=Array.prototype.slice.call(l)).length;G<K;G+=1)Array.isArray(l[G])&&cl(t,"nested arrays are not supported inside keys"),"object"==typeof l&&"[object Object]"===g6(l[G])&&(l[G]="[object Object]");if("object"==typeof l&&"[object Object]"===g6(l)&&(l="[object Object]"),l=String(l),null===i&&(i={}),"tag:yaml.org,2002:merge"===o)if(Array.isArray(_))for(G=0,K=_.length;G<K;G+=1)T6(t,i,_[G],n);else T6(t,i,_,n);else!t.json&&!h1.call(n,l)&&h1.call(i,l)&&(t.line=v||t.line,t.lineStart=O||t.lineStart,t.position=P||t.position,cl(t,"duplicated mapping key")),"__proto__"===l?Object.defineProperty(i,l,{configurable:!0,enumerable:!0,writable:!0,value:_}):i[l]=_,delete n[l];return i}function GD(t){var i;10===(i=t.input.charCodeAt(t.position))?t.position++:13===i?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):cl(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function tp(t,i,n){for(var o=0,l=t.input.charCodeAt(t.position);0!==l;){for(;yv(l);)9===l&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),l=t.input.charCodeAt(++t.position);if(i&&35===l)do{l=t.input.charCodeAt(++t.position)}while(10!==l&&13!==l&&0!==l);if(!sg(l))break;for(GD(t),l=t.input.charCodeAt(t.position),o++,t.lineIndent=0;32===l;)t.lineIndent++,l=t.input.charCodeAt(++t.position)}return-1!==n&&0!==o&&t.lineIndent<n&&UC(t,"deficient indentation"),o}function BC(t){var n,i=t.position;return!(45!==(n=t.input.charCodeAt(i))&&46!==n||n!==t.input.charCodeAt(i+1)||n!==t.input.charCodeAt(i+2)||(i+=3,n=t.input.charCodeAt(i),0!==n&&!yh(n)))}function YD(t,i){1===i?t.result+=" ":i>1&&(t.result+=yp.repeat("\n",i-1))}function C6(t,i){var n,P,o=t.tag,l=t.anchor,_=[],O=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=_),P=t.input.charCodeAt(t.position);0!==P&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,cl(t,"tab characters must not be used in indentation")),45===P&&yh(t.input.charCodeAt(t.position+1)));)if(O=!0,t.position++,tp(t,!0,-1)&&t.lineIndent<=i)_.push(null),P=t.input.charCodeAt(t.position);else if(n=t.line,Y0(t,i,p6,!1,!0),_.push(t.result),tp(t,!0,-1),P=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>i)&&0!==P)cl(t,"bad indentation of a sequence entry");else if(t.lineIndent<i)break;return!!O&&(t.tag=o,t.anchor=l,t.kind="sequence",t.result=_,!0)}function $G(t){var i,l,_,v,n=!1,o=!1;if(33!==(v=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&cl(t,"duplication of a tag property"),60===(v=t.input.charCodeAt(++t.position))?(n=!0,v=t.input.charCodeAt(++t.position)):33===v?(o=!0,l="!!",v=t.input.charCodeAt(++t.position)):l="!",i=t.position,n){do{v=t.input.charCodeAt(++t.position)}while(0!==v&&62!==v);t.position<t.length?(_=t.input.slice(i,t.position),v=t.input.charCodeAt(++t.position)):cl(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==v&&!yh(v);)33===v&&(o?cl(t,"tag suffix cannot contain exclamation marks"):(l=t.input.slice(i-1,t.position+1),h6.test(l)||cl(t,"named tag handle cannot contain such characters"),o=!0,i=t.position+1)),v=t.input.charCodeAt(++t.position);_=t.input.slice(i,t.position),OG.test(_)&&cl(t,"tag suffix cannot contain flow indicator characters")}_&&!m6.test(_)&&cl(t,"tag name cannot contain such characters: "+_);try{_=decodeURIComponent(_)}catch{cl(t,"tag name is malformed: "+_)}return n?t.tag=_:h1.call(t.tagMap,l)?t.tag=t.tagMap[l]+_:"!"===l?t.tag="!"+_:"!!"===l?t.tag="tag:yaml.org,2002:"+_:cl(t,'undeclared tag handle "'+l+'"'),!0}function HG(t){var i,n;if(38!==(n=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&cl(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),i=t.position;0!==n&&!yh(n)&&!U0(n);)n=t.input.charCodeAt(++t.position);return t.position===i&&cl(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(i,t.position),!0}function Y0(t,i,n,o,l){var _,v,O,oe,ue,pe,ye,Ue,xe,P=1,G=!1,K=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,_=v=O=HC===n||p6===n,o&&tp(t,!0,-1)&&(G=!0,t.lineIndent>i?P=1:t.lineIndent===i?P=0:t.lineIndent<i&&(P=-1)),1===P)for(;$G(t)||HG(t);)tp(t,!0,-1)?(G=!0,O=_,t.lineIndent>i?P=1:t.lineIndent===i?P=0:t.lineIndent<i&&(P=-1)):O=!1;if(O&&(O=G||l),(1===P||HC===n)&&(Ue=$C===n||f6===n?i:i+1,xe=t.position-t.lineStart,1===P?O&&(C6(t,xe)||function kG(t,i,n){var o,l,_,v,O,P,we,G=t.tag,K=t.anchor,oe={},ue=Object.create(null),pe=null,ye=null,Ue=null,xe=!1,ke=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=oe),we=t.input.charCodeAt(t.position);0!==we;){if(!xe&&-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,cl(t,"tab characters must not be used in indentation")),o=t.input.charCodeAt(t.position+1),_=t.line,63!==we&&58!==we||!yh(o)){if(v=t.line,O=t.lineStart,P=t.position,!Y0(t,n,f6,!1,!0))break;if(t.line===_){for(we=t.input.charCodeAt(t.position);yv(we);)we=t.input.charCodeAt(++t.position);if(58===we)yh(we=t.input.charCodeAt(++t.position))||cl(t,"a whitespace character is expected after the key-value separator within a block mapping"),xe&&(G0(t,oe,ue,pe,ye,null,v,O,P),pe=ye=Ue=null),ke=!0,xe=!1,l=!1,pe=t.tag,ye=t.result;else{if(!ke)return t.tag=G,t.anchor=K,!0;cl(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!ke)return t.tag=G,t.anchor=K,!0;cl(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===we?(xe&&(G0(t,oe,ue,pe,ye,null,v,O,P),pe=ye=Ue=null),ke=!0,xe=!0,l=!0):xe?(xe=!1,l=!0):cl(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,we=o;if((t.line===_||t.lineIndent>i)&&(xe&&(v=t.line,O=t.lineStart,P=t.position),Y0(t,i,HC,!0,l)&&(xe?ye=t.result:Ue=t.result),xe||(G0(t,oe,ue,pe,ye,Ue,v,O,P),pe=ye=Ue=null),tp(t,!0,-1),we=t.input.charCodeAt(t.position)),(t.line===_||t.lineIndent>i)&&0!==we)cl(t,"bad indentation of a mapping entry");else if(t.lineIndent<i)break}return xe&&G0(t,oe,ue,pe,ye,null,v,O,P),ke&&(t.tag=G,t.anchor=K,t.kind="mapping",t.result=oe),ke}(t,xe,Ue))||function FG(t,i){var o,l,_,O,K,oe,ue,pe,Ue,xe,ke,we,n=!0,v=t.tag,P=t.anchor,ye=Object.create(null);if(91===(we=t.input.charCodeAt(t.position)))K=93,pe=!1,O=[];else{if(123!==we)return!1;K=125,pe=!0,O={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=O),we=t.input.charCodeAt(++t.position);0!==we;){if(tp(t,!0,i),(we=t.input.charCodeAt(t.position))===K)return t.position++,t.tag=v,t.anchor=P,t.kind=pe?"mapping":"sequence",t.result=O,!0;n?44===we&&cl(t,"expected the node content, but found ','"):cl(t,"missed comma between flow collection entries"),ke=null,oe=ue=!1,63===we&&yh(t.input.charCodeAt(t.position+1))&&(oe=ue=!0,t.position++,tp(t,!0,i)),o=t.line,l=t.lineStart,_=t.position,Y0(t,i,$C,!1,!0),xe=t.tag,Ue=t.result,tp(t,!0,i),we=t.input.charCodeAt(t.position),(ue||t.line===o)&&58===we&&(oe=!0,we=t.input.charCodeAt(++t.position),tp(t,!0,i),Y0(t,i,$C,!1,!0),ke=t.result),pe?G0(t,O,ye,xe,Ue,ke,o,l,_):O.push(oe?G0(t,null,ye,xe,Ue,ke,o,l,_):Ue),tp(t,!0,i),44===(we=t.input.charCodeAt(t.position))?(n=!0,we=t.input.charCodeAt(++t.position)):n=!1}cl(t,"unexpected end of the stream within a flow collection")}(t,Ue)?K=!0:(v&&function LG(t,i){var n,o,K,oe,l=BD,_=!1,v=!1,O=i,P=0,G=!1;if(124===(oe=t.input.charCodeAt(t.position)))o=!1;else{if(62!==oe)return!1;o=!0}for(t.kind="scalar",t.result="";0!==oe;)if(43===(oe=t.input.charCodeAt(++t.position))||45===oe)BD===l?l=43===oe?_6:TG:cl(t,"repeat of a chomping mode identifier");else{if(!((K=RG(oe))>=0))break;0===K?cl(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):v?cl(t,"repeat of an indentation width identifier"):(O=i+K-1,v=!0)}if(yv(oe)){do{oe=t.input.charCodeAt(++t.position)}while(yv(oe));if(35===oe)do{oe=t.input.charCodeAt(++t.position)}while(!sg(oe)&&0!==oe)}for(;0!==oe;){for(GD(t),t.lineIndent=0,oe=t.input.charCodeAt(t.position);(!v||t.lineIndent<O)&&32===oe;)t.lineIndent++,oe=t.input.charCodeAt(++t.position);if(!v&&t.lineIndent>O&&(O=t.lineIndent),sg(oe))P++;else{if(t.lineIndent<O){l===_6?t.result+=yp.repeat("\n",_?1+P:P):l===BD&&_&&(t.result+="\n");break}for(o?yv(oe)?(G=!0,t.result+=yp.repeat("\n",_?1+P:P)):G?(G=!1,t.result+=yp.repeat("\n",P+1)):0===P?_&&(t.result+=" "):t.result+=yp.repeat("\n",P):t.result+=yp.repeat("\n",_?1+P:P),_=!0,v=!0,P=0,n=t.position;!sg(oe)&&0!==oe;)oe=t.input.charCodeAt(++t.position);m1(t,n,t.position,!1)}}return!0}(t,Ue)||function NG(t,i){var n,o,l;if(39!==(n=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,o=l=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(m1(t,o,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return!0;o=t.position,t.position++,l=t.position}else sg(n)?(m1(t,o,l,!0),YD(t,tp(t,!1,i)),o=l=t.position):t.position===t.lineStart&&BC(t)?cl(t,"unexpected end of the document within a single quoted scalar"):(t.position++,l=t.position);cl(t,"unexpected end of the stream within a single quoted scalar")}(t,Ue)||function IG(t,i){var n,o,l,_,v,O;if(34!==(O=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=o=t.position;0!==(O=t.input.charCodeAt(t.position));){if(34===O)return m1(t,n,t.position,!0),t.position++,!0;if(92===O){if(m1(t,n,t.position,!0),sg(O=t.input.charCodeAt(++t.position)))tp(t,!1,i);else if(O<256&&y6[O])t.result+=E6[O],t.position++;else if((v=DG(O))>0){for(l=v,_=0;l>0;l--)(v=AG(O=t.input.charCodeAt(++t.position)))>=0?_=(_<<4)+v:cl(t,"expected hexadecimal character");t.result+=xG(_),t.position++}else cl(t,"unknown escape sequence");n=o=t.position}else sg(O)?(m1(t,n,o,!0),YD(t,tp(t,!1,i)),n=o=t.position):t.position===t.lineStart&&BC(t)?cl(t,"unexpected end of the document within a double quoted scalar"):(t.position++,o=t.position)}cl(t,"unexpected end of the stream within a double quoted scalar")}(t,Ue)?K=!0:function UG(t){var i,n,o;if(42!==(o=t.input.charCodeAt(t.position)))return!1;for(o=t.input.charCodeAt(++t.position),i=t.position;0!==o&&!yh(o)&&!U0(o);)o=t.input.charCodeAt(++t.position);return t.position===i&&cl(t,"name of an alias node must contain at least one character"),n=t.input.slice(i,t.position),h1.call(t.anchorMap,n)||cl(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],tp(t,!0,-1),!0}(t)?(K=!0,(null!==t.tag||null!==t.anchor)&&cl(t,"alias node should not have any properties")):function PG(t,i,n){var l,_,v,O,P,G,K,pe,oe=t.kind,ue=t.result;if(yh(pe=t.input.charCodeAt(t.position))||U0(pe)||35===pe||38===pe||42===pe||33===pe||124===pe||62===pe||39===pe||34===pe||37===pe||64===pe||96===pe||(63===pe||45===pe)&&(yh(l=t.input.charCodeAt(t.position+1))||n&&U0(l)))return!1;for(t.kind="scalar",t.result="",_=v=t.position,O=!1;0!==pe;){if(58===pe){if(yh(l=t.input.charCodeAt(t.position+1))||n&&U0(l))break}else if(35===pe){if(yh(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&BC(t)||n&&U0(pe))break;if(sg(pe)){if(P=t.line,G=t.lineStart,K=t.lineIndent,tp(t,!1,-1),t.lineIndent>=i){O=!0,pe=t.input.charCodeAt(t.position);continue}t.position=v,t.line=P,t.lineStart=G,t.lineIndent=K;break}}O&&(m1(t,_,v,!1),YD(t,t.line-P),_=v=t.position,O=!1),yv(pe)||(v=t.position+1),pe=t.input.charCodeAt(++t.position)}return m1(t,_,v,!1),!!t.result||(t.kind=oe,t.result=ue,!1)}(t,Ue,$C===n)&&(K=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===P&&(K=O&&C6(t,xe))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&cl(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),oe=0,ue=t.implicitTypes.length;oe<ue;oe+=1)if((ye=t.implicitTypes[oe]).resolve(t.result)){t.result=ye.construct(t.result),t.tag=ye.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(h1.call(t.typeMap[t.kind||"fallback"],t.tag))ye=t.typeMap[t.kind||"fallback"][t.tag];else for(ye=null,oe=0,ue=(pe=t.typeMap.multi[t.kind||"fallback"]).length;oe<ue;oe+=1)if(t.tag.slice(0,pe[oe].tag.length)===pe[oe].tag){ye=pe[oe];break}ye||cl(t,"unknown tag !<"+t.tag+">"),null!==t.result&&ye.kind!==t.kind&&cl(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+ye.kind+'", not "'+t.kind+'"'),ye.resolve(t.result,t.tag)?(t.result=ye.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):cl(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||K}function BG(t){var n,o,l,v,i=t.position,_=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(v=t.input.charCodeAt(t.position))&&(tp(t,!0,-1),v=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==v));){for(_=!0,v=t.input.charCodeAt(++t.position),n=t.position;0!==v&&!yh(v);)v=t.input.charCodeAt(++t.position);for(l=[],(o=t.input.slice(n,t.position)).length<1&&cl(t,"directive name must not be less than one character in length");0!==v;){for(;yv(v);)v=t.input.charCodeAt(++t.position);if(35===v){do{v=t.input.charCodeAt(++t.position)}while(0!==v&&!sg(v));break}if(sg(v))break;for(n=t.position;0!==v&&!yh(v);)v=t.input.charCodeAt(++t.position);l.push(t.input.slice(n,t.position))}0!==v&&GD(t),h1.call(b6,o)?b6[o](t,o,l):UC(t,'unknown document directive "'+o+'"')}tp(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,tp(t,!0,-1)):_&&cl(t,"directives end mark is expected"),Y0(t,t.lineIndent-1,HC,!1,!0),tp(t,!0,-1),t.checkLineBreaks&&MG.test(t.input.slice(i,t.position))&&UC(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&BC(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,tp(t,!0,-1)):t.position<t.length-1&&cl(t,"end of the stream or a document separator is expected")}function M6(t,i){i=i||{},0!==(t=String(t)).length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new wG(t,i),o=t.indexOf("\0");for(-1!==o&&(n.position=o,cl(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)BG(n);return n.documents}var O6_loadAll=function GG(t,i,n){null!==i&&"object"==typeof i&&typeof n>"u"&&(n=i,i=null);var o=M6(t,n);if("function"!=typeof i)return o;for(var l=0,_=o.length;l<_;l+=1)i(o[l])},O6_load=function YG(t,i){var n=M6(t,i);if(0!==n.length){if(1===n.length)return n[0];throw new B_("expected a single document in the stream, but found more")}},A6=Object.prototype.toString,D6=Object.prototype.hasOwnProperty,jD=65279,VG=9,sS=10,ZG=13,WG=32,JG=33,QG=34,zD=35,KG=37,XG=38,qG=39,eY=42,R6=44,tY=45,GC=58,nY=61,rY=62,iY=63,oY=64,x6=91,w6=93,sY=96,P6=123,aY=124,N6=125,E_={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},lY=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],uY=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function dY(t){var i,n,o;if(i=t.toString(16).toUpperCase(),t<=255)n="x",o=2;else if(t<=65535)n="u",o=4;else{if(!(t<=4294967295))throw new B_("code point within a string may not be greater than 0xFFFFFFFF");n="U",o=8}return"\\"+n+yp.repeat("0",o-i.length)+i}var fY=1,aS=2;function pY(t){this.schema=t.schema||UD,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=yp.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=function cY(t,i){var n,o,l,_,v,O,P;if(null===i)return{};for(n={},l=0,_=(o=Object.keys(i)).length;l<_;l+=1)v=o[l],O=String(i[v]),"!!"===v.slice(0,2)&&(v="tag:yaml.org,2002:"+v.slice(2)),(P=t.compiledTypeMap.fallback[v])&&D6.call(P.styleAliases,O)&&(O=P.styleAliases[O]),n[v]=O;return n}(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?aS:fY,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function I6(t,i){for(var v,n=yp.repeat(" ",i),o=0,l=-1,_="",O=t.length;o<O;)-1===(l=t.indexOf("\n",o))?(v=t.slice(o),o=O):(v=t.slice(o,l+1),o=l+1),v.length&&"\n"!==v&&(_+=n),_+=v;return _}function VD(t,i){return"\n"+yp.repeat(" ",t.indent*i)}function YC(t){return t===WG||t===VG}function lS(t){return 32<=t&&t<=126||161<=t&&t<=55295&&8232!==t&&8233!==t||57344<=t&&t<=65533&&t!==jD||65536<=t&&t<=1114111}function F6(t){return lS(t)&&t!==jD&&t!==ZG&&t!==sS}function L6(t,i,n){var o=F6(t),l=o&&!YC(t);return(n?o:o&&t!==R6&&t!==x6&&t!==w6&&t!==P6&&t!==N6)&&t!==zD&&!(i===GC&&!l)||F6(i)&&!YC(i)&&t===zD||i===GC&&l}function uS(t,i){var o,n=t.charCodeAt(i);return n>=55296&&n<=56319&&i+1<t.length&&(o=t.charCodeAt(i+1))>=56320&&o<=57343?1024*(n-55296)+o-56320+65536:n}function k6(t){return/^\n* /.test(t)}var $6=1,ZD=2,H6=3,U6=4,j0=5;function vY(t,i,n,o,l){t.dump=function(){if(0===i.length)return t.quotingType===aS?'""':"''";if(!t.noCompatMode&&(-1!==lY.indexOf(i)||uY.test(i)))return t.quotingType===aS?'"'+i+'"':"'"+i+"'";var _=t.indent*Math.max(1,n),v=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-_);switch(function gY(t,i,n,o,l,_,v,O){var P,G=0,K=null,oe=!1,ue=!1,pe=-1!==o,ye=-1,Ue=function hY(t){return lS(t)&&t!==jD&&!YC(t)&&t!==tY&&t!==iY&&t!==GC&&t!==R6&&t!==x6&&t!==w6&&t!==P6&&t!==N6&&t!==zD&&t!==XG&&t!==eY&&t!==JG&&t!==aY&&t!==nY&&t!==rY&&t!==qG&&t!==QG&&t!==KG&&t!==oY&&t!==sY}(uS(t,0))&&function mY(t){return!YC(t)&&t!==GC}(uS(t,t.length-1));if(i||v)for(P=0;P<t.length;G>=65536?P+=2:P++){if(!lS(G=uS(t,P)))return j0;Ue=Ue&&L6(G,K,O),K=G}else{for(P=0;P<t.length;G>=65536?P+=2:P++){if((G=uS(t,P))===sS)oe=!0,pe&&(ue=ue||P-ye-1>o&&" "!==t[ye+1],ye=P);else if(!lS(G))return j0;Ue=Ue&&L6(G,K,O),K=G}ue=ue||pe&&P-ye-1>o&&" "!==t[ye+1]}return oe||ue?n>9&&k6(t)?j0:v?_===aS?j0:ZD:ue?U6:H6:!Ue||v||l(t)?_===aS?j0:ZD:$6}(i,o||t.flowLevel>-1&&n>=t.flowLevel,t.indent,v,function P(G){return function _Y(t,i){var n,o;for(n=0,o=t.implicitTypes.length;n<o;n+=1)if(t.implicitTypes[n].resolve(i))return!0;return!1}(t,G)},t.quotingType,t.forceQuotes&&!o,l)){case $6:return i;case ZD:return"'"+i.replace(/'/g,"''")+"'";case H6:return"|"+B6(i,t.indent)+G6(I6(i,_));case U6:return">"+B6(i,t.indent)+G6(I6(function yY(t,i){for(var _,v,n=/(\n+)([^\n]*)/g,o=(G=void 0,G=t.indexOf("\n"),n.lastIndex=G=-1!==G?G:t.length,Y6(t.slice(0,G),i)),l="\n"===t[0]||" "===t[0];v=n.exec(t);){var P=v[2];_=" "===P[0],o+=v[1]+(l||_||""===P?"":"\n")+Y6(P,i),l=_}var G;return o}(i,v),_));case j0:return'"'+function EY(t){for(var o,i="",n=0,l=0;l<t.length;n>=65536?l+=2:l++)n=uS(t,l),!(o=E_[n])&&lS(n)?(i+=t[l],n>=65536&&(i+=t[l+1])):i+=o||dY(n);return i}(i)+'"';default:throw new B_("impossible error: invalid scalar style")}}()}function B6(t,i){var n=k6(t)?String(i):"",o="\n"===t[t.length-1];return n+(!o||"\n"!==t[t.length-2]&&"\n"!==t?o?"":"-":"+")+"\n"}function G6(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function Y6(t,i){if(""===t||" "===t[0])return t;for(var o,_,n=/ [^ ]/g,l=0,v=0,O=0,P="";o=n.exec(t);)(O=o.index)-l>i&&(P+="\n"+t.slice(l,_=v>l?v:O),l=_+1),v=O;return P+="\n",(P+=t.length-l>i&&v>l?t.slice(l,v)+"\n"+t.slice(v+1):t.slice(l)).slice(1)}function z6(t,i,n){var o,l,_,v,O,P;for(_=0,v=(l=n?t.explicitTypes:t.implicitTypes).length;_<v;_+=1)if(((O=l[_]).instanceOf||O.predicate)&&(!O.instanceOf||"object"==typeof i&&i instanceof O.instanceOf)&&(!O.predicate||O.predicate(i))){if(t.tag=n?O.multi&&O.representName?O.representName(i):O.tag:"?",O.represent){if(P=t.styleMap[O.tag]||O.defaultStyle,"[object Function]"===A6.call(O.represent))o=O.represent(i,P);else{if(!D6.call(O.represent,P))throw new B_("!<"+O.tag+'> tag resolver accepts not "'+P+'" style');o=O.represent[P](i,P)}t.dump=o}return!0}return!1}function Ig(t,i,n,o,l,_,v){t.tag=null,t.dump=n,z6(t,n,!1)||z6(t,n,!0);var G,O=A6.call(t.dump),P=o;o&&(o=t.flowLevel<0||t.flowLevel>i);var oe,ue,K="[object Object]"===O||"[object Array]"===O;if(K&&(ue=-1!==(oe=t.duplicates.indexOf(n))),(null!==t.tag&&"?"!==t.tag||ue||2!==t.indent&&i>0)&&(l=!1),ue&&t.usedDuplicates[oe])t.dump="*ref_"+oe;else{if(K&&ue&&!t.usedDuplicates[oe]&&(t.usedDuplicates[oe]=!0),"[object Object]"===O)o&&0!==Object.keys(t.dump).length?(function TY(t,i,n,o){var O,P,G,K,oe,ue,l="",_=t.tag,v=Object.keys(n);if(!0===t.sortKeys)v.sort();else if("function"==typeof t.sortKeys)v.sort(t.sortKeys);else if(t.sortKeys)throw new B_("sortKeys must be a boolean or a function");for(O=0,P=v.length;O<P;O+=1)ue="",(!o||""!==l)&&(ue+=VD(t,i)),K=n[G=v[O]],t.replacer&&(K=t.replacer.call(n,G,K)),Ig(t,i+1,G,!0,!0,!0)&&((oe=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&sS===t.dump.charCodeAt(0)?ue+="?":ue+="? "),ue+=t.dump,oe&&(ue+=VD(t,i)),Ig(t,i+1,K,!0,oe)&&(t.dump&&sS===t.dump.charCodeAt(0)?ue+=":":ue+=": ",l+=ue+=t.dump));t.tag=_,t.dump=l||"{}"}(t,i,t.dump,l),ue&&(t.dump="&ref_"+oe+t.dump)):(function bY(t,i,n){var v,O,P,G,K,o="",l=t.tag,_=Object.keys(n);for(v=0,O=_.length;v<O;v+=1)K="",""!==o&&(K+=", "),t.condenseFlow&&(K+='"'),G=n[P=_[v]],t.replacer&&(G=t.replacer.call(n,P,G)),Ig(t,i,P,!1,!1)&&(t.dump.length>1024&&(K+="? "),K+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),Ig(t,i,G,!1,!1)&&(o+=K+=t.dump));t.tag=l,t.dump="{"+o+"}"}(t,i,t.dump),ue&&(t.dump="&ref_"+oe+" "+t.dump));else if("[object Array]"===O)o&&0!==t.dump.length?(function j6(t,i,n,o){var v,O,P,l="",_=t.tag;for(v=0,O=n.length;v<O;v+=1)P=n[v],t.replacer&&(P=t.replacer.call(n,String(v),P)),(Ig(t,i+1,P,!0,!0,!1,!0)||typeof P>"u"&&Ig(t,i+1,null,!0,!0,!1,!0))&&((!o||""!==l)&&(l+=VD(t,i)),t.dump&&sS===t.dump.charCodeAt(0)?l+="-":l+="- ",l+=t.dump);t.tag=_,t.dump=l||"[]"}(t,t.noArrayIndent&&!v&&i>0?i-1:i,t.dump,l),ue&&(t.dump="&ref_"+oe+t.dump)):(function SY(t,i,n){var _,v,O,o="",l=t.tag;for(_=0,v=n.length;_<v;_+=1)O=n[_],t.replacer&&(O=t.replacer.call(n,String(_),O)),(Ig(t,i,O,!1,!1)||typeof O>"u"&&Ig(t,i,null,!1,!1))&&(""!==o&&(o+=","+(t.condenseFlow?"":" ")),o+=t.dump);t.tag=l,t.dump="["+o+"]"}(t,i,t.dump),ue&&(t.dump="&ref_"+oe+" "+t.dump));else{if("[object String]"!==O){if("[object Undefined]"===O)return!1;if(t.skipInvalid)return!1;throw new B_("unacceptable kind of an object to dump "+O)}"?"!==t.tag&&vY(t,t.dump,i,_,P)}null!==t.tag&&"?"!==t.tag&&(G=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),G="!"===t.tag[0]?"!"+G:"tag:yaml.org,2002:"===G.slice(0,18)?"!!"+G.slice(18):"!<"+G+">",t.dump=G+" "+t.dump)}return!0}function CY(t,i){var l,_,n=[],o=[];for(WD(t,n,o),l=0,_=o.length;l<_;l+=1)i.duplicates.push(n[o[l]]);i.usedDuplicates=new Array(_)}function WD(t,i,n){var o,l,_;if(null!==t&&"object"==typeof t)if(-1!==(l=i.indexOf(t)))-1===n.indexOf(l)&&n.push(l);else if(i.push(t),Array.isArray(t))for(l=0,_=t.length;l<_;l+=1)WD(t[l],i,n);else for(l=0,_=(o=Object.keys(t)).length;l<_;l+=1)WD(t[o[l]],i,n)}function JD(t,i){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+i+" instead, which is now safe by default.")}}var DY=e_,RY=ZP,xY=KP,V6=n6,wY=r6,PY=UD,NY=O6_load,IY=O6_loadAll,FY=function MY(t,i){var n=new pY(i=i||{});n.noRefs||CY(t,n);var o=t;return n.replacer&&(o=n.replacer.call({"":o},"",o)),Ig(n,0,o,!0,!0)?n.dump+"\n":""},LY=B_,kY={binary:l6,float:t6,map:QP,null:XP,pairs:c6,set:d6,timestamp:s6,bool:qP,int:e6,merge:a6,omap:u6,seq:JP,str:WP},$Y=JD("safeLoad","load"),HY=JD("safeLoadAll","loadAll"),UY=JD("safeDump","dump");const GY={Type:DY,Schema:RY,FAILSAFE_SCHEMA:xY,JSON_SCHEMA:V6,CORE_SCHEMA:wY,DEFAULT_SCHEMA:PY,load:NY,loadAll:IY,dump:FY,YAMLException:LY,types:kY,safeLoad:$Y,safeLoadAll:HY,safeDump:UY};var YY=s(58102),jY=s.n(YY),zY=s(55836),VY=s.n(zY),ZY=s(97425),WY=s.n(ZY),JY=s(76874),QY=s.n(JY),KY=s(43409),XY=s(14395),qY=s.n(XY);function Z6(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);i&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,o)}return n}function W6(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?Z6(Object(n),!0).forEach(function(o){DD(t,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Z6(Object(n)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(n,o))})}return t}function t_(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var jC,J6="function"==typeof Symbol&&Symbol.observable||"@@observable",QD=function(){return Math.random().toString(36).substring(7).split("").join(".")},z0={INIT:"@@redux/INIT"+QD(),REPLACE:"@@redux/REPLACE"+QD(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+QD()}};function K6(t,i,n){var o;if("function"==typeof i&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(t_(0));if("function"==typeof i&&typeof n>"u"&&(n=i,i=void 0),typeof n<"u"){if("function"!=typeof n)throw new Error(t_(1));return n(K6)(t,i)}if("function"!=typeof t)throw new Error(t_(2));var l=t,_=i,v=[],O=v,P=!1;function G(){O===v&&(O=v.slice())}function K(){if(P)throw new Error(t_(3));return _}function oe(Ue){if("function"!=typeof Ue)throw new Error(t_(4));if(P)throw new Error(t_(5));var xe=!0;return G(),O.push(Ue),function(){if(xe){if(P)throw new Error(t_(6));xe=!1,G();var we=O.indexOf(Ue);O.splice(we,1),v=null}}}function ue(Ue){if(!function Q6(t){if("object"!=typeof t||null===t)return!1;for(var i=t;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return Object.getPrototypeOf(t)===i}(Ue))throw new Error(t_(7));if(typeof Ue.type>"u")throw new Error(t_(8));if(P)throw new Error(t_(9));try{P=!0,_=l(_,Ue)}finally{P=!1}for(var xe=v=O,ke=0;ke<xe.length;ke++)(0,xe[ke])();return Ue}return ue({type:z0.INIT}),(o={dispatch:ue,subscribe:oe,getState:K,replaceReducer:function pe(Ue){if("function"!=typeof Ue)throw new Error(t_(10));l=Ue,ue({type:z0.REPLACE})}})[J6]=function ye(){var Ue,xe=oe;return(Ue={subscribe:function(we){if("object"!=typeof we||null===we)throw new Error(t_(11));function Z(){we.next&&we.next(K())}return Z(),{unsubscribe:xe(Z)}}})[J6]=function(){return this},Ue},o}function X6(t,i){return function(){return i(t.apply(this,arguments))}}function oj(t,i){if("function"==typeof t)return X6(t,i);if("object"!=typeof t||null===t)throw new Error(t_(16));var n={};for(var o in t){var l=t[o];"function"==typeof l&&(n[o]=X6(l,i))}return n}function q6(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return 0===i.length?function(o){return o}:1===i.length?i[0]:i.reduce(function(o,l){return function(){return o(l.apply(void 0,arguments))}})}function sj(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return function(o){return function(){var l=o.apply(void 0,arguments),_=function(){throw new Error(t_(15))},v={getState:l.getState,dispatch:function(){return _.apply(void 0,arguments)}},O=i.map(function(P){return P(v)});return _=q6.apply(void 0,O)(l.dispatch),W6(W6({},l),{},{dispatch:_})}}}function eN(t){return(jC=jC||document.createElement("textarea")).innerHTML="&"+t+";",jC.value}var uj=Object.prototype.hasOwnProperty;function KD(t){return[].slice.call(arguments,1).forEach(function(n){if(n){if("object"!=typeof n)throw new TypeError(n+"must be object");Object.keys(n).forEach(function(o){t[o]=n[o]})}}),t}var cj=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function V0(t){return t.indexOf("\\")<0?t:t.replace(cj,"$1")}function XD(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||65535==(65535&t)||65534==(65535&t)||t>=0&&t<=8||11===t||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function zC(t){return t>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):String.fromCharCode(t)}var dj=/&([a-z#][a-z0-9]{1,31});/gi,fj=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function pj(t,i){var n=0,o=eN(i);return i!==o?o:35===i.charCodeAt(0)&&fj.test(i)&&XD(n="x"===i[1].toLowerCase()?parseInt(i.slice(2),16):parseInt(i.slice(1),10))?zC(n):t}function g1(t){return t.indexOf("&")<0?t:t.replace(dj,pj)}var _j=/[&<>"]/,hj=/[&<>"]/g,mj={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function gj(t){return mj[t]}function G_(t){return _j.test(t)?t.replace(hj,gj):t}var Ca={};function nN(t,i){return++i>=t.length-2?i:"paragraph_open"===t[i].type&&t[i].tight&&"inline"===t[i+1].type&&0===t[i+1].content.length&&"paragraph_close"===t[i+2].type&&t[i+2].tight?nN(t,i+2):i}Ca.blockquote_open=function(){return"<blockquote>\n"},Ca.blockquote_close=function(t,i){return"</blockquote>"+Ev(t,i)},Ca.code=function(t,i){return t[i].block?"<pre><code>"+G_(t[i].content)+"</code></pre>"+Ev(t,i):"<code>"+G_(t[i].content)+"</code>"},Ca.fence=function(t,i,n,o,l){var G,K,_=t[i],v="",O=n.langPrefix;if(_.params){if(K=(G=_.params.split(/\s+/g)).join(" "),function tN(t,i){return!!t&&uj.call(t,i)}(l.rules.fence_custom,G[0]))return l.rules.fence_custom[G[0]](t,i,n,o,l);v=' class="'+O+G_(g1(V0(K)))+'"'}return"<pre><code"+v+">"+(n.highlight&&n.highlight.apply(n.highlight,[_.content].concat(G))||G_(_.content))+"</code></pre>"+Ev(t,i)},Ca.fence_custom={},Ca.heading_open=function(t,i){return"<h"+t[i].hLevel+">"},Ca.heading_close=function(t,i){return"</h"+t[i].hLevel+">\n"},Ca.hr=function(t,i,n){return(n.xhtmlOut?"<hr />":"<hr>")+Ev(t,i)},Ca.bullet_list_open=function(){return"<ul>\n"},Ca.bullet_list_close=function(t,i){return"</ul>"+Ev(t,i)},Ca.list_item_open=function(){return"<li>"},Ca.list_item_close=function(){return"</li>\n"},Ca.ordered_list_open=function(t,i){var n=t[i];return"<ol"+(n.order>1?' start="'+n.order+'"':"")+">\n"},Ca.ordered_list_close=function(t,i){return"</ol>"+Ev(t,i)},Ca.paragraph_open=function(t,i){return t[i].tight?"":"<p>"},Ca.paragraph_close=function(t,i){return(t[i].tight?"":"</p>")+(t[i].tight&&i&&"inline"===t[i-1].type&&!t[i-1].content?"":Ev(t,i))},Ca.link_open=function(t,i,n){var o=t[i].title?' title="'+G_(g1(t[i].title))+'"':"",l=n.linkTarget?' target="'+n.linkTarget+'"':"";return'<a href="'+G_(t[i].href)+'"'+o+l+">"},Ca.link_close=function(){return"</a>"},Ca.image=function(t,i,n){var o=' src="'+G_(t[i].src)+'"',l=t[i].title?' title="'+G_(g1(t[i].title))+'"':"";return"<img"+o+' alt="'+(t[i].alt?G_(g1(V0(t[i].alt))):"")+'"'+l+(n.xhtmlOut?" /":"")+">"},Ca.table_open=function(){return"<table>\n"},Ca.table_close=function(){return"</table>\n"},Ca.thead_open=function(){return"<thead>\n"},Ca.thead_close=function(){return"</thead>\n"},Ca.tbody_open=function(){return"<tbody>\n"},Ca.tbody_close=function(){return"</tbody>\n"},Ca.tr_open=function(){return"<tr>"},Ca.tr_close=function(){return"</tr>\n"},Ca.th_open=function(t,i){var n=t[i];return"<th"+(n.align?' style="text-align:'+n.align+'"':"")+">"},Ca.th_close=function(){return"</th>"},Ca.td_open=function(t,i){var n=t[i];return"<td"+(n.align?' style="text-align:'+n.align+'"':"")+">"},Ca.td_close=function(){return"</td>"},Ca.strong_open=function(){return"<strong>"},Ca.strong_close=function(){return"</strong>"},Ca.em_open=function(){return"<em>"},Ca.em_close=function(){return"</em>"},Ca.del_open=function(){return"<del>"},Ca.del_close=function(){return"</del>"},Ca.ins_open=function(){return"<ins>"},Ca.ins_close=function(){return"</ins>"},Ca.mark_open=function(){return"<mark>"},Ca.mark_close=function(){return"</mark>"},Ca.sub=function(t,i){return"<sub>"+G_(t[i].content)+"</sub>"},Ca.sup=function(t,i){return"<sup>"+G_(t[i].content)+"</sup>"},Ca.hardbreak=function(t,i,n){return n.xhtmlOut?"<br />\n":"<br>\n"},Ca.softbreak=function(t,i,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},Ca.text=function(t,i){return G_(t[i].content)},Ca.htmlblock=function(t,i){return t[i].content},Ca.htmltag=function(t,i){return t[i].content},Ca.abbr_open=function(t,i){return'<abbr title="'+G_(g1(t[i].title))+'">'},Ca.abbr_close=function(){return"</abbr>"},Ca.footnote_ref=function(t,i){var n=Number(t[i].id+1).toString(),o="fnref"+n;return t[i].subId>0&&(o+=":"+t[i].subId),'<sup class="footnote-ref"><a href="#fn'+n+'" id="'+o+'">['+n+"]</a></sup>"},Ca.footnote_block_open=function(t,i,n){return(n.xhtmlOut?'<hr class="footnotes-sep" />\n':'<hr class="footnotes-sep">\n')+'<section class="footnotes">\n<ol class="footnotes-list">\n'},Ca.footnote_block_close=function(){return"</ol>\n</section>\n"},Ca.footnote_open=function(t,i){return'<li id="fn'+Number(t[i].id+1).toString()+'" class="footnote-item">'},Ca.footnote_close=function(){return"</li>\n"},Ca.footnote_anchor=function(t,i){var o="fnref"+Number(t[i].id+1).toString();return t[i].subId>0&&(o+=":"+t[i].subId),' <a href="#'+o+'" class="footnote-backref">\u21a9</a>'},Ca.dl_open=function(){return"<dl>\n"},Ca.dt_open=function(){return"<dt>"},Ca.dd_open=function(){return"<dd>"},Ca.dl_close=function(){return"</dl>\n"},Ca.dt_close=function(){return"</dt>\n"},Ca.dd_close=function(){return"</dd>\n"};var Ev=Ca.getBreak=function(i,n){return(n=nN(i,n))<i.length&&"list_item_close"===i[n].type?"":"\n"};function qD(){this.rules=KD({},Ca),this.getBreak=Ca.getBreak}function Zh(){this.__rules__=[],this.__cache__=null}function Sv(t,i,n,o,l){this.src=t,this.env=o,this.options=n,this.parser=i,this.tokens=l,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}function cS(t,i){var n,o,l,_=-1,v=t.posMax,O=t.pos,P=t.isInLabel;if(t.isInLabel)return-1;if(t.labelUnmatchedScopes)return t.labelUnmatchedScopes--,-1;for(t.pos=i+1,t.isInLabel=!0,n=1;t.pos<v;){if(91===(l=t.src.charCodeAt(t.pos)))n++;else if(93===l&&0==--n){o=!0;break}t.parser.skipToken(t)}return o?(_=t.pos,t.labelUnmatchedScopes=0):t.labelUnmatchedScopes=n-1,t.pos=O,t.isInLabel=P,_}function yj(t,i,n,o){var l,_,v,O,P,G;if(42!==t.charCodeAt(0)||91!==t.charCodeAt(1)||-1===t.indexOf("]:")||(_=cS(l=new Sv(t,i,n,o,[]),1))<0||58!==t.charCodeAt(_+1))return-1;for(O=l.posMax,v=_+2;v<O&&10!==l.src.charCodeAt(v);v++);return P=t.slice(2,_),0===(G=t.slice(_+2,v).trim()).length?-1:(o.abbreviations||(o.abbreviations={}),typeof o.abbreviations[":"+P]>"u"&&(o.abbreviations[":"+P]=G),v)}function eR(t){var i=g1(t);try{i=decodeURI(i)}catch{}return encodeURI(i)}function rN(t,i){var n,o,l,_=i,v=t.posMax;if(60===t.src.charCodeAt(i)){for(i++;i<v;){if(10===(n=t.src.charCodeAt(i)))return!1;if(62===n)return l=eR(V0(t.src.slice(_+1,i))),!!t.parser.validateLink(l)&&(t.pos=i+1,t.linkContent=l,!0);92===n&&i+1<v?i+=2:i++}return!1}for(o=0;i<v&&!(32===(n=t.src.charCodeAt(i))||n<32||127===n);)if(92===n&&i+1<v)i+=2;else{if(40===n&&++o>1||41===n&&--o<0)break;i++}return!(_===i||(l=V0(t.src.slice(_,i)),!t.parser.validateLink(l))||(t.linkContent=l,t.pos=i,0))}function iN(t,i){var n,o=i,l=t.posMax,_=t.src.charCodeAt(i);if(34!==_&&39!==_&&40!==_)return!1;for(i++,40===_&&(_=41);i<l;){if((n=t.src.charCodeAt(i))===_)return t.pos=i+1,t.linkContent=V0(t.src.slice(o+1,i)),!0;92===n&&i+1<l?i+=2:i++}return!1}function oN(t){return t.trim().replace(/\s+/g," ").toUpperCase()}function Sj(t,i,n,o){var l,_,v,O,P,G,K,oe,ue;if(91!==t.charCodeAt(0)||-1===t.indexOf("]:")||(_=cS(l=new Sv(t,i,n,o,[]),0))<0||58!==t.charCodeAt(_+1))return-1;for(O=l.posMax,v=_+2;v<O&&(32===(P=l.src.charCodeAt(v))||10===P);v++);if(!rN(l,v))return-1;for(K=l.linkContent,G=v=l.pos,v+=1;v<O&&(32===(P=l.src.charCodeAt(v))||10===P);v++);for(v<O&&G!==v&&iN(l,v)?(oe=l.linkContent,v=l.pos):(oe="",v=G);v<O&&32===l.src.charCodeAt(v);)v++;return v<O&&10!==l.src.charCodeAt(v)?-1:(ue=oN(t.slice(1,_)),typeof o.references[ue]>"u"&&(o.references[ue]={title:oe,href:K}),v)}qD.prototype.renderInline=function(t,i,n){for(var o=this.rules,l=t.length,_=0,v="";l--;)v+=o[t[_].type](t,_++,i,n,this);return v},qD.prototype.render=function(t,i,n){for(var o=this.rules,l=t.length,_=-1,v="";++_<l;)v+="inline"===t[_].type?this.renderInline(t[_].children,i,n):o[t[_].type](t,_,i,n,this);return v},Zh.prototype.__find__=function(t){for(var i=this.__rules__.length,n=-1;i--;)if(this.__rules__[++n].name===t)return n;return-1},Zh.prototype.__compile__=function(){var t=this,i=[""];t.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(o){i.indexOf(o)<0&&i.push(o)})}),t.__cache__={},i.forEach(function(n){t.__cache__[n]=[],t.__rules__.forEach(function(o){o.enabled&&(n&&o.alt.indexOf(n)<0||t.__cache__[n].push(o.fn))})})},Zh.prototype.at=function(t,i,n){var o=this.__find__(t),l=n||{};if(-1===o)throw new Error("Parser rule not found: "+t);this.__rules__[o].fn=i,this.__rules__[o].alt=l.alt||[],this.__cache__=null},Zh.prototype.before=function(t,i,n,o){var l=this.__find__(t),_=o||{};if(-1===l)throw new Error("Parser rule not found: "+t);this.__rules__.splice(l,0,{name:i,enabled:!0,fn:n,alt:_.alt||[]}),this.__cache__=null},Zh.prototype.after=function(t,i,n,o){var l=this.__find__(t),_=o||{};if(-1===l)throw new Error("Parser rule not found: "+t);this.__rules__.splice(l+1,0,{name:i,enabled:!0,fn:n,alt:_.alt||[]}),this.__cache__=null},Zh.prototype.push=function(t,i,n){this.__rules__.push({name:t,enabled:!0,fn:i,alt:(n||{}).alt||[]}),this.__cache__=null},Zh.prototype.enable=function(t,i){t=Array.isArray(t)?t:[t],i&&this.__rules__.forEach(function(n){n.enabled=!1}),t.forEach(function(n){var o=this.__find__(n);if(o<0)throw new Error("Rules manager: invalid rule name "+n);this.__rules__[o].enabled=!0},this),this.__cache__=null},Zh.prototype.disable=function(t){(t=Array.isArray(t)?t:[t]).forEach(function(i){var n=this.__find__(i);if(n<0)throw new Error("Rules manager: invalid rule name "+i);this.__rules__[n].enabled=!1},this),this.__cache__=null},Zh.prototype.getRules=function(t){return null===this.__cache__&&this.__compile__(),this.__cache__[t]||[]},Sv.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},Sv.prototype.push=function(t){this.pending&&this.pushPending(),this.tokens.push(t),this.pendingLevel=this.level},Sv.prototype.cacheSet=function(t,i){for(var n=this.cache.length;n<=t;n++)this.cache.push(0);this.cache[t]=i},Sv.prototype.cacheGet=function(t){return t<this.cache.length?this.cache[t]:0};var sN=" \n()[]'\".,!?-";function tR(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}var Oj=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Aj=/\((c|tm|r|p)\)/gi,Dj={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};function Rj(t){return t.indexOf("(")<0?t:t.replace(Aj,function(i,n){return Dj[n.toLowerCase()]})}var wj=/['"]/,aN=/['"]/g,Pj=/[-\s()\[\]]/;function uN(t,i){return!(i<0||i>=t.length||Pj.test(t[i]))}function Z0(t,i,n){return t.substr(0,i)+n+t.substr(i+1)}var nR=[["block",function vj(t){t.inlineMode?t.tokens.push({type:"inline",content:t.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):t.block.parse(t.src,t.options,t.env,t.tokens)}],["abbr",function Ej(t){var n,o,l,_,i=t.tokens;if(!t.inlineMode)for(n=1,o=i.length-1;n<o;n++)if("paragraph_open"===i[n-1].type&&"inline"===i[n].type&&"paragraph_close"===i[n+1].type){for(l=i[n].content;l.length&&!((_=yj(l,t.inline,t.options,t.env))<0);)l=l.slice(_).trim();i[n].content=l,l.length||(i[n-1].tight=!0,i[n+1].tight=!0)}}],["references",function bj(t){var n,o,l,_,i=t.tokens;if(t.env.references=t.env.references||{},!t.inlineMode)for(n=1,o=i.length-1;n<o;n++)if("inline"===i[n].type&&"paragraph_open"===i[n-1].type&&"paragraph_close"===i[n+1].type){for(l=i[n].content;l.length&&!((_=Sj(l,t.inline,t.options,t.env))<0);)l=l.slice(_).trim();i[n].content=l,l.length||(i[n-1].tight=!0,i[n+1].tight=!0)}}],["inline",function Tj(t){var n,o,l,i=t.tokens;for(o=0,l=i.length;o<l;o++)"inline"===(n=i[o]).type&&t.inline.parse(n.content,t.options,t.env,n.children)}],["footnote_tail",function Cj(t){var i,n,o,l,_,v,O,P,G,K=0,oe=!1,ue={};if(t.env.footnotes&&(t.tokens=t.tokens.filter(function(pe){return"footnote_reference_open"===pe.type?(oe=!0,P=[],G=pe.label,!1):"footnote_reference_close"===pe.type?(oe=!1,ue[":"+G]=P,!1):(oe&&P.push(pe),!oe)}),t.env.footnotes.list)){for(v=t.env.footnotes.list,t.tokens.push({type:"footnote_block_open",level:K++}),i=0,n=v.length;i<n;i++){for(t.tokens.push({type:"footnote_open",id:i,level:K++}),v[i].tokens?((O=[]).push({type:"paragraph_open",tight:!1,level:K++}),O.push({type:"inline",content:"",level:K,children:v[i].tokens}),O.push({type:"paragraph_close",tight:!1,level:--K})):v[i].label&&(O=ue[":"+v[i].label]),t.tokens=t.tokens.concat(O),_="paragraph_close"===t.tokens[t.tokens.length-1].type?t.tokens.pop():null,l=v[i].count>0?v[i].count:1,o=0;o<l;o++)t.tokens.push({type:"footnote_anchor",id:i,subId:o,level:K});_&&t.tokens.push(_),t.tokens.push({type:"footnote_close",level:--K})}t.tokens.push({type:"footnote_block_close",level:--K})}}],["abbr2",function Mj(t){var i,n,o,l,_,v,O,P,G,K,oe,ue,pe=t.tokens;if(t.env.abbreviations)for(t.env.abbrRegExp||(ue="(^|["+sN.split("").map(tR).join("")+"])("+Object.keys(t.env.abbreviations).map(function(ye){return ye.substr(1)}).sort(function(ye,Ue){return Ue.length-ye.length}).map(tR).join("|")+")($|["+sN.split("").map(tR).join("")+"])",t.env.abbrRegExp=new RegExp(ue,"g")),K=t.env.abbrRegExp,n=0,o=pe.length;n<o;n++)if("inline"===pe[n].type)for(i=(l=pe[n].children).length-1;i>=0;i--)if("text"===(_=l[i]).type){for(P=0,v=_.content,K.lastIndex=0,G=_.level,O=[];oe=K.exec(v);)K.lastIndex>P&&O.push({type:"text",content:v.slice(P,oe.index+oe[1].length),level:G}),O.push({type:"abbr_open",title:t.env.abbreviations[":"+oe[2]],level:G++}),O.push({type:"text",content:oe[2],level:G}),O.push({type:"abbr_close",level:--G}),P=K.lastIndex-oe[3].length;O.length&&(P<v.length&&O.push({type:"text",content:v.slice(P),level:G}),pe[n].children=l=[].concat(l.slice(0,i),O,l.slice(i+1)))}}],["replacements",function xj(t){var i,n,o,l,_;if(t.options.typographer)for(_=t.tokens.length-1;_>=0;_--)if("inline"===t.tokens[_].type)for(i=(l=t.tokens[_].children).length-1;i>=0;i--)"text"===(n=l[i]).type&&(o=Rj(o=n.content),Oj.test(o)&&(o=o.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1\u2014$2").replace(/(^|\s)--(\s|$)/gm,"$1\u2013$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1\u2013$2")),n.content=o)}],["smartquotes",function Nj(t){var i,n,o,l,_,v,O,P,G,K,oe,ue,pe,ye,Ue,xe,ke;if(t.options.typographer)for(ke=[],Ue=t.tokens.length-1;Ue>=0;Ue--)if("inline"===t.tokens[Ue].type)for(xe=t.tokens[Ue].children,ke.length=0,i=0;i<xe.length;i++)if("text"===(n=xe[i]).type&&!wj.test(n.text)){for(O=xe[i].level,pe=ke.length-1;pe>=0&&!(ke[pe].level<=O);pe--);ke.length=pe+1,_=0,v=(o=n.content).length;e:for(;_<v&&(aN.lastIndex=_,l=aN.exec(o),l);)if(P=!uN(o,l.index-1),ye="'"===l[0],(G=!uN(o,_=l.index+1))||P){if(oe=!G,ue=!P)for(pe=ke.length-1;pe>=0&&(K=ke[pe],!(ke[pe].level<O));pe--)if(K.single===ye&&ke[pe].level===O){K=ke[pe],ye?(xe[K.token].content=Z0(xe[K.token].content,K.pos,t.options.quotes[2]),n.content=Z0(n.content,l.index,t.options.quotes[3])):(xe[K.token].content=Z0(xe[K.token].content,K.pos,t.options.quotes[0]),n.content=Z0(n.content,l.index,t.options.quotes[1])),ke.length=pe;continue e}oe?ke.push({token:i,pos:l.index,single:ye,level:O}):ue&&ye&&(n.content=Z0(n.content,l.index,"\u2019"))}else ye&&(n.content=Z0(n.content,l.index,"\u2019"))}}]];function cN(){this.options={},this.ruler=new Zh;for(var t=0;t<nR.length;t++)this.ruler.push(nR[t][0],nR[t][1])}function bv(t,i,n,o,l){var _,v,O,P,G,K,oe;for(this.src=t,this.parser=i,this.options=n,this.env=o,this.tokens=l,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",K=0,oe=!1,O=P=K=0,G=(v=this.src).length;P<G;P++){if(_=v.charCodeAt(P),!oe){if(32===_){K++;continue}oe=!0}(10===_||P===G-1)&&(10!==_&&P++,this.bMarks.push(O),this.eMarks.push(P),this.tShift.push(K),oe=!1,K=0,O=P+1)}this.bMarks.push(v.length),this.eMarks.push(v.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}function dN(t,i){var n,o,l;return(o=t.bMarks[i]+t.tShift[i])>=(l=t.eMarks[i])||42!==(n=t.src.charCodeAt(o++))&&45!==n&&43!==n||o<l&&32!==t.src.charCodeAt(o)?-1:o}function fN(t,i){var n,o=t.bMarks[i]+t.tShift[i],l=t.eMarks[i];if(o+1>=l||(n=t.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=l)return-1;if(!((n=t.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}}return o<l&&32!==t.src.charCodeAt(o)?-1:o}cN.prototype.process=function(t){var i,n,o;for(i=0,n=(o=this.ruler.getRules("")).length;i<n;i++)o[i](t)},bv.prototype.isEmpty=function(i){return this.bMarks[i]+this.tShift[i]>=this.eMarks[i]},bv.prototype.skipEmptyLines=function(i){for(var n=this.lineMax;i<n&&!(this.bMarks[i]+this.tShift[i]<this.eMarks[i]);i++);return i},bv.prototype.skipSpaces=function(i){for(var n=this.src.length;i<n&&32===this.src.charCodeAt(i);i++);return i},bv.prototype.skipChars=function(i,n){for(var o=this.src.length;i<o&&this.src.charCodeAt(i)===n;i++);return i},bv.prototype.skipCharsBack=function(i,n,o){if(i<=o)return i;for(;i>o;)if(n!==this.src.charCodeAt(--i))return i+1;return i},bv.prototype.getLines=function(i,n,o,l){var _,v,P,G,K=i;if(i>=n)return"";if(K+1===n)return v=this.bMarks[K]+Math.min(this.tShift[K],o),this.src.slice(v,l?this.eMarks[K]+1:this.eMarks[K]);for(P=new Array(n-i),_=0;K<n;K++,_++)(G=this.tShift[K])>o&&(G=o),G<0&&(G=0),P[_]=this.src.slice(v=this.bMarks[K]+G,K+1<n||l?this.eMarks[K]+1:this.eMarks[K]);return P.join("")};var pN={};["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach(function(t){pN[t]=!0});var Yj=/^<([a-zA-Z]{1,15})[\s\/>]/,jj=/^<\/([a-zA-Z]{1,15})[\s>]/;function rR(t,i){var n=t.bMarks[i]+t.blkIndent;return t.src.substr(n,t.eMarks[i]-n)}function VC(t,i){var n,o,l=t.bMarks[i]+t.tShift[i],_=t.eMarks[i];return l>=_||126!==(o=t.src.charCodeAt(l++))&&58!==o||l===(n=t.skipSpaces(l))||n>=_?-1:n}var ZC=[["code",function Ij(t,i,n){var o,l;if(t.tShift[i]-t.blkIndent<4)return!1;for(l=o=i+1;o<n;)if(t.isEmpty(o))o++;else{if(!(t.tShift[o]-t.blkIndent>=4))break;l=++o}return t.line=o,t.tokens.push({type:"code",content:t.getLines(i,l,4+t.blkIndent,!0),block:!0,lines:[i,t.line],level:t.level}),!0}],["fences",function Fj(t,i,n,o){var l,_,v,O,P,G=!1,K=t.bMarks[i]+t.tShift[i],oe=t.eMarks[i];if(K+3>oe||126!==(l=t.src.charCodeAt(K))&&96!==l||(P=K,(_=(K=t.skipChars(K,l))-P)<3)||(v=t.src.slice(K,oe).trim()).indexOf("`")>=0)return!1;if(o)return!0;for(O=i;!(++O>=n||(K=P=t.bMarks[O]+t.tShift[O],oe=t.eMarks[O],K<oe&&t.tShift[O]<t.blkIndent));)if(!(t.src.charCodeAt(K)!==l||t.tShift[O]-t.blkIndent>=4||(K=t.skipChars(K,l),K-P<_||(K=t.skipSpaces(K),K<oe)))){G=!0;break}return _=t.tShift[i],t.line=O+(G?1:0),t.tokens.push({type:"fence",params:v,content:t.getLines(i+1,O,_,!0),lines:[i,t.line],level:t.level}),!0},["paragraph","blockquote","list"]],["blockquote",function Lj(t,i,n,o){var l,_,v,O,P,G,K,oe,ue,pe,ye,Ue=t.bMarks[i]+t.tShift[i],xe=t.eMarks[i];if(Ue>xe||62!==t.src.charCodeAt(Ue++)||t.level>=t.options.maxNesting)return!1;if(o)return!0;for(32===t.src.charCodeAt(Ue)&&Ue++,P=t.blkIndent,t.blkIndent=0,O=[t.bMarks[i]],t.bMarks[i]=Ue,_=(Ue=Ue<xe?t.skipSpaces(Ue):Ue)>=xe,v=[t.tShift[i]],t.tShift[i]=Ue-t.bMarks[i],oe=t.parser.ruler.getRules("blockquote"),l=i+1;l<n&&!((Ue=t.bMarks[l]+t.tShift[l])>=(xe=t.eMarks[l]));l++)if(62!==t.src.charCodeAt(Ue++)){if(_)break;for(ye=!1,ue=0,pe=oe.length;ue<pe;ue++)if(oe[ue](t,l,n,!0)){ye=!0;break}if(ye)break;O.push(t.bMarks[l]),v.push(t.tShift[l]),t.tShift[l]=-1337}else 32===t.src.charCodeAt(Ue)&&Ue++,O.push(t.bMarks[l]),t.bMarks[l]=Ue,_=(Ue=Ue<xe?t.skipSpaces(Ue):Ue)>=xe,v.push(t.tShift[l]),t.tShift[l]=Ue-t.bMarks[l];for(G=t.parentType,t.parentType="blockquote",t.tokens.push({type:"blockquote_open",lines:K=[i,0],level:t.level++}),t.parser.tokenize(t,i,l),t.tokens.push({type:"blockquote_close",level:--t.level}),t.parentType=G,K[1]=t.line,ue=0;ue<v.length;ue++)t.bMarks[ue+i]=O[ue],t.tShift[ue+i]=v[ue];return t.blkIndent=P,!0},["paragraph","blockquote","list"]],["hr",function kj(t,i,n,o){var l,_,v,O=t.bMarks[i],P=t.eMarks[i];if((O+=t.tShift[i])>P||42!==(l=t.src.charCodeAt(O++))&&45!==l&&95!==l)return!1;for(_=1;O<P;){if((v=t.src.charCodeAt(O++))!==l&&32!==v)return!1;v===l&&_++}return!(_<3||(o||(t.line=i+1,t.tokens.push({type:"hr",lines:[i,t.line],level:t.level})),0))},["paragraph","blockquote","list"]],["list",function Hj(t,i,n,o){var l,_,v,O,P,G,K,oe,pe,ye,Ue,xe,ke,we,Z,Ft,Dt,ln,$n,nn,Jn,Yt=!0;if((oe=fN(t,i))>=0)xe=!0;else{if(!((oe=dN(t,i))>=0))return!1;xe=!1}if(t.level>=t.options.maxNesting)return!1;if(Ue=t.src.charCodeAt(oe-1),o)return!0;for(we=t.tokens.length,xe?(K=t.bMarks[i]+t.tShift[i],ye=Number(t.src.substr(K,oe-K-1)),t.tokens.push({type:"ordered_list_open",order:ye,lines:Ft=[i,0],level:t.level++})):t.tokens.push({type:"bullet_list_open",lines:Ft=[i,0],level:t.level++}),l=i,Z=!1,ln=t.parser.ruler.getRules("list");l<n&&((pe=(ke=t.skipSpaces(oe))>=t.eMarks[l]?1:ke-oe)>4&&(pe=1),pe<1&&(pe=1),_=oe-t.bMarks[l]+pe,t.tokens.push({type:"list_item_open",lines:Dt=[i,0],level:t.level++}),O=t.blkIndent,P=t.tight,v=t.tShift[i],G=t.parentType,t.tShift[i]=ke-t.bMarks[i],t.blkIndent=_,t.tight=!0,t.parentType="list",t.parser.tokenize(t,i,n,!0),(!t.tight||Z)&&(Yt=!1),Z=t.line-i>1&&t.isEmpty(t.line-1),t.blkIndent=O,t.tShift[i]=v,t.tight=P,t.parentType=G,t.tokens.push({type:"list_item_close",level:--t.level}),l=i=t.line,Dt[1]=l,ke=t.bMarks[i],!(l>=n||t.isEmpty(l)||t.tShift[l]<t.blkIndent));){for(Jn=!1,$n=0,nn=ln.length;$n<nn;$n++)if(ln[$n](t,l,n,!0)){Jn=!0;break}if(Jn)break;if(xe){if((oe=fN(t,l))<0)break}else if((oe=dN(t,l))<0)break;if(Ue!==t.src.charCodeAt(oe-1))break}return t.tokens.push({type:xe?"ordered_list_close":"bullet_list_close",level:--t.level}),Ft[1]=l,t.line=l,Yt&&function $j(t,i){var n,o,l=t.level+2;for(n=i+2,o=t.tokens.length-2;n<o;n++)t.tokens[n].level===l&&"paragraph_open"===t.tokens[n].type&&(t.tokens[n+2].tight=!0,t.tokens[n].tight=!0,n+=2)}(t,we),!0},["paragraph","blockquote"]],["footnote",function Uj(t,i,n,o){var l,_,v,O,P,G=t.bMarks[i]+t.tShift[i],K=t.eMarks[i];if(G+4>K||91!==t.src.charCodeAt(G)||94!==t.src.charCodeAt(G+1)||t.level>=t.options.maxNesting)return!1;for(O=G+2;O<K;O++){if(32===t.src.charCodeAt(O))return!1;if(93===t.src.charCodeAt(O))break}return!(O===G+2||O+1>=K||58!==t.src.charCodeAt(++O)||(o||(O++,t.env.footnotes||(t.env.footnotes={}),t.env.footnotes.refs||(t.env.footnotes.refs={}),P=t.src.slice(G+2,O-2),t.env.footnotes.refs[":"+P]=-1,t.tokens.push({type:"footnote_reference_open",label:P,level:t.level++}),l=t.bMarks[i],_=t.tShift[i],v=t.parentType,t.tShift[i]=t.skipSpaces(O)-O,t.bMarks[i]=O,t.blkIndent+=4,t.parentType="footnote",t.tShift[i]<t.blkIndent&&(t.tShift[i]+=t.blkIndent,t.bMarks[i]-=t.blkIndent),t.parser.tokenize(t,i,n,!0),t.parentType=v,t.blkIndent-=4,t.tShift[i]=_,t.bMarks[i]=l,t.tokens.push({type:"footnote_reference_close",level:--t.level})),0))},["paragraph"]],["heading",function Bj(t,i,n,o){var l,_,v,O=t.bMarks[i]+t.tShift[i],P=t.eMarks[i];if(O>=P||35!==(l=t.src.charCodeAt(O))||O>=P)return!1;for(_=1,l=t.src.charCodeAt(++O);35===l&&O<P&&_<=6;)_++,l=t.src.charCodeAt(++O);return!(_>6||O<P&&32!==l||(o||(P=t.skipCharsBack(P,32,O),(v=t.skipCharsBack(P,35,O))>O&&32===t.src.charCodeAt(v-1)&&(P=v),t.line=i+1,t.tokens.push({type:"heading_open",hLevel:_,lines:[i,t.line],level:t.level}),O<P&&t.tokens.push({type:"inline",content:t.src.slice(O,P).trim(),level:t.level+1,lines:[i,t.line],children:[]}),t.tokens.push({type:"heading_close",hLevel:_,level:t.level})),0))},["paragraph","blockquote"]],["lheading",function Gj(t,i,n){var o,l,_,v=i+1;return!(v>=n||t.tShift[v]<t.blkIndent||t.tShift[v]-t.blkIndent>3||(l=t.bMarks[v]+t.tShift[v],_=t.eMarks[v],l>=_)||(o=t.src.charCodeAt(l),45!==o&&61!==o)||(l=t.skipChars(l,o),l=t.skipSpaces(l),l<_)||(l=t.bMarks[i]+t.tShift[i],t.line=v+1,t.tokens.push({type:"heading_open",hLevel:61===o?1:2,lines:[i,t.line],level:t.level}),t.tokens.push({type:"inline",content:t.src.slice(l,t.eMarks[i]).trim(),level:t.level+1,lines:[i,t.line-1],children:[]}),t.tokens.push({type:"heading_close",hLevel:61===o?1:2,level:t.level}),0))}],["htmlblock",function Vj(t,i,n,o){var l,_,v,O=t.bMarks[i],P=t.eMarks[i],G=t.tShift[i];if(O+=G,!t.options.html||G>3||O+2>=P||60!==t.src.charCodeAt(O))return!1;if(33===(l=t.src.charCodeAt(O+1))||63===l){if(o)return!0}else{if(47!==l&&!function zj(t){var i=32|t;return i>=97&&i<=122}(l))return!1;if(47===l){if(!(_=t.src.slice(O,P).match(jj)))return!1}else if(!(_=t.src.slice(O,P).match(Yj)))return!1;if(!0!==pN[_[1].toLowerCase()])return!1;if(o)return!0}for(v=i+1;v<t.lineMax&&!t.isEmpty(v);)v++;return t.line=v,t.tokens.push({type:"htmlblock",level:t.level,lines:[i,t.line],content:t.getLines(i,v,0,!0)}),!0},["paragraph","blockquote"]],["table",function Zj(t,i,n,o){var l,_,v,O,P,G,K,oe,ue,pe,ye;if(i+2>n||t.tShift[P=i+1]<t.blkIndent||(v=t.bMarks[P]+t.tShift[P])>=t.eMarks[P]||124!==(l=t.src.charCodeAt(v))&&45!==l&&58!==l||(_=rR(t,i+1),!/^[-:| ]+$/.test(_))||(G=_.split("|"))<=2)return!1;for(oe=[],O=0;O<G.length;O++){if(!(ue=G[O].trim())){if(0===O||O===G.length-1)continue;return!1}if(!/^:?-+:?$/.test(ue))return!1;58===ue.charCodeAt(ue.length-1)?oe.push(58===ue.charCodeAt(0)?"center":"right"):58===ue.charCodeAt(0)?oe.push("left"):oe.push("")}if(-1===(_=rR(t,i).trim()).indexOf("|")||(G=_.replace(/^\||\|$/g,"").split("|"),oe.length!==G.length))return!1;if(o)return!0;for(t.tokens.push({type:"table_open",lines:pe=[i,0],level:t.level++}),t.tokens.push({type:"thead_open",lines:[i,i+1],level:t.level++}),t.tokens.push({type:"tr_open",lines:[i,i+1],level:t.level++}),O=0;O<G.length;O++)t.tokens.push({type:"th_open",align:oe[O],lines:[i,i+1],level:t.level++}),t.tokens.push({type:"inline",content:G[O].trim(),lines:[i,i+1],level:t.level,children:[]}),t.tokens.push({type:"th_close",level:--t.level});for(t.tokens.push({type:"tr_close",level:--t.level}),t.tokens.push({type:"thead_close",level:--t.level}),t.tokens.push({type:"tbody_open",lines:ye=[i+2,0],level:t.level++}),P=i+2;P<n&&!(t.tShift[P]<t.blkIndent||(_=rR(t,P).trim(),-1===_.indexOf("|")));P++){for(G=_.replace(/^\||\|$/g,"").split("|"),t.tokens.push({type:"tr_open",level:t.level++}),O=0;O<G.length;O++)t.tokens.push({type:"td_open",align:oe[O],level:t.level++}),K=G[O].substring(124===G[O].charCodeAt(0)?1:0,124===G[O].charCodeAt(G[O].length-1)?G[O].length-1:G[O].length).trim(),t.tokens.push({type:"inline",content:K,level:t.level,children:[]}),t.tokens.push({type:"td_close",level:--t.level});t.tokens.push({type:"tr_close",level:--t.level})}return t.tokens.push({type:"tbody_close",level:--t.level}),t.tokens.push({type:"table_close",level:--t.level}),pe[1]=ye[1]=P,t.line=P,!0},["paragraph"]],["deflist",function Jj(t,i,n,o){var l,_,v,O,P,G,K,oe,ue,pe,ye,Ue,xe,ke;if(o)return!(t.ddIndent<0)&&VC(t,i)>=0;if(t.isEmpty(K=i+1)&&++K>n||t.tShift[K]<t.blkIndent||(l=VC(t,K))<0||t.level>=t.options.maxNesting)return!1;G=t.tokens.length,t.tokens.push({type:"dl_open",lines:P=[i,0],level:t.level++}),v=i,_=K;e:for(;;){for(ke=!0,xe=!1,t.tokens.push({type:"dt_open",lines:[v,v],level:t.level++}),t.tokens.push({type:"inline",content:t.getLines(v,v+1,t.blkIndent,!1).trim(),level:t.level+1,lines:[v,v],children:[]}),t.tokens.push({type:"dt_close",level:--t.level});;){if(t.tokens.push({type:"dd_open",lines:O=[K,0],level:t.level++}),Ue=t.tight,ue=t.ddIndent,oe=t.blkIndent,ye=t.tShift[_],pe=t.parentType,t.blkIndent=t.ddIndent=t.tShift[_]+2,t.tShift[_]=l-t.bMarks[_],t.tight=!0,t.parentType="deflist",t.parser.tokenize(t,_,n,!0),(!t.tight||xe)&&(ke=!1),xe=t.line-_>1&&t.isEmpty(t.line-1),t.tShift[_]=ye,t.tight=Ue,t.parentType=pe,t.blkIndent=oe,t.ddIndent=ue,t.tokens.push({type:"dd_close",level:--t.level}),O[1]=K=t.line,K>=n||t.tShift[K]<t.blkIndent)break e;if((l=VC(t,K))<0)break;_=K}if(K>=n||t.isEmpty(v=K)||t.tShift[v]<t.blkIndent||(_=v+1)>=n||(t.isEmpty(_)&&_++,_>=n)||t.tShift[_]<t.blkIndent||(l=VC(t,_))<0)break}return t.tokens.push({type:"dl_close",level:--t.level}),P[1]=K,t.line=K,ke&&function Wj(t,i){var n,o,l=t.level+2;for(n=i+2,o=t.tokens.length-2;n<o;n++)t.tokens[n].level===l&&"paragraph_open"===t.tokens[n].type&&(t.tokens[n+2].tight=!0,t.tokens[n].tight=!0,n+=2)}(t,G),!0},["paragraph"]],["paragraph",function Qj(t,i){var n,o,l,_,v,P,O=i+1;if(O<(n=t.lineMax)&&!t.isEmpty(O))for(P=t.parser.ruler.getRules("paragraph");O<n&&!t.isEmpty(O);O++)if(!(t.tShift[O]-t.blkIndent>3)){for(l=!1,_=0,v=P.length;_<v;_++)if(P[_](t,O,n,!0)){l=!0;break}if(l)break}return o=t.getLines(i,O,t.blkIndent,!1).trim(),t.line=O,o.length&&(t.tokens.push({type:"paragraph_open",tight:!1,lines:[i,t.line],level:t.level}),t.tokens.push({type:"inline",content:o,level:t.level+1,lines:[i,t.line],children:[]}),t.tokens.push({type:"paragraph_close",tight:!1,level:t.level})),!0}]];function iR(){this.ruler=new Zh;for(var t=0;t<ZC.length;t++)this.ruler.push(ZC[t][0],ZC[t][1],{alt:(ZC[t][2]||[]).slice()})}iR.prototype.tokenize=function(t,i,n){for(var P,o=this.ruler.getRules(""),l=o.length,_=i,v=!1;_<n&&(t.line=_=t.skipEmptyLines(_),!(_>=n||t.tShift[_]<t.blkIndent));){for(P=0;P<l&&!o[P](t,_,n,!1);P++);if(t.tight=!v,t.isEmpty(t.line-1)&&(v=!0),(_=t.line)<n&&t.isEmpty(_)){if(v=!0,++_<n&&"list"===t.parentType&&t.isEmpty(_))break;t.line=_}}};var Kj=/[\n\t]/g,Xj=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,qj=/\u00a0/g;function ez(t){switch(t){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}iR.prototype.parse=function(t,i,n,o){var l,_=0,v=0;if(!t)return[];(t=(t=t.replace(qj," ")).replace(Xj,"\n")).indexOf("\t")>=0&&(t=t.replace(Kj,function(O,P){var G;return 10===t.charCodeAt(P)?(_=P+1,v=0,O):(G=" ".slice((P-_-v)%4),v=P-_+1,G)})),l=new bv(t,this,i,n,o),this.tokenize(l,l.line,l.lineMax)};for(var oR=[],_N=0;_N<256;_N++)oR.push(0);function hN(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}function mN(t,i){var o,l,_,n=i,v=!0,O=!0,P=t.posMax,G=t.src.charCodeAt(i);for(o=i>0?t.src.charCodeAt(i-1):-1;n<P&&t.src.charCodeAt(n)===G;)n++;return n>=P&&(v=!1),(_=n-i)>=4?v=O=!1:((32===(l=n<P?t.src.charCodeAt(n):-1)||10===l)&&(v=!1),(32===o||10===o)&&(O=!1),95===G&&(hN(o)&&(v=!1),hN(l)&&(O=!1))),{can_open:v,can_close:O,delims:_}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){oR[t.charCodeAt(0)]=1});var uz=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,dz=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,mz=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],gz=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,vz=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function WC(t,i){return t=t.source,i=i||"",function n(o,l){return o?(t=t.replace(o,l=l.source||l),n):new RegExp(t,i)}}var Cz=WC(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",/[^"'=<>`\x00-\x20]+/)("single_quoted",/'[^']*'/)("double_quoted",/"[^"]*"/)(),Mz=WC(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",/[a-zA-Z_:][a-zA-Z0-9:._-]*/)("attr_value",Cz)(),Oz=WC(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",Mz)(),Pz=WC(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",Oz)("close_tag",/<\/[A-Za-z][A-Za-z0-9]*\s*>/)("comment",/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/)("processing",/<[?].*?[?]>/)("declaration",/<![A-Z]+\s+[^>]*>/)("cdata",/<!\[CDATA\[[\s\S]*?\]\]>/)(),Fz=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,Lz=/^&([a-z][a-z0-9]{1,31});/i,sR=[["text",function tz(t,i){for(var n=t.pos;n<t.posMax&&!ez(t.src.charCodeAt(n));)n++;return n!==t.pos&&(i||(t.pending+=t.src.slice(t.pos,n)),t.pos=n,!0)}],["newline",function nz(t,i){var n,o,l=t.pos;if(10!==t.src.charCodeAt(l))return!1;if(n=t.pending.length-1,o=t.posMax,!i)if(n>=0&&32===t.pending.charCodeAt(n))if(n>=1&&32===t.pending.charCodeAt(n-1)){for(var _=n-2;_>=0;_--)if(32!==t.pending.charCodeAt(_)){t.pending=t.pending.substring(0,_+1);break}t.push({type:"hardbreak",level:t.level})}else t.pending=t.pending.slice(0,-1),t.push({type:"softbreak",level:t.level});else t.push({type:"softbreak",level:t.level});for(l++;l<o&&32===t.src.charCodeAt(l);)l++;return t.pos=l,!0}],["escape",function rz(t,i){var n,o=t.pos,l=t.posMax;if(92!==t.src.charCodeAt(o))return!1;if(++o<l){if((n=t.src.charCodeAt(o))<256&&0!==oR[n])return i||(t.pending+=t.src[o]),t.pos+=2,!0;if(10===n){for(i||t.push({type:"hardbreak",level:t.level}),o++;o<l&&32===t.src.charCodeAt(o);)o++;return t.pos=o,!0}}return i||(t.pending+="\\"),t.pos++,!0}],["backticks",function iz(t,i){var n,o,l,_,v,O=t.pos;if(96!==t.src.charCodeAt(O))return!1;for(n=O,O++,o=t.posMax;O<o&&96===t.src.charCodeAt(O);)O++;for(l=t.src.slice(n,O),_=v=O;-1!==(_=t.src.indexOf("`",v));){for(v=_+1;v<o&&96===t.src.charCodeAt(v);)v++;if(v-_===l.length)return i||t.push({type:"code",content:t.src.slice(O,_).replace(/[ \n]+/g," ").trim(),block:!1,level:t.level}),t.pos=v,!0}return i||(t.pending+=l),t.pos+=l.length,!0}],["del",function oz(t,i){var n,o,l,O,P,_=t.posMax,v=t.pos;if(126!==t.src.charCodeAt(v)||i||v+4>=_||126!==t.src.charCodeAt(v+1)||t.level>=t.options.maxNesting||(O=v>0?t.src.charCodeAt(v-1):-1,P=t.src.charCodeAt(v+2),126===O)||126===P||32===P||10===P)return!1;for(o=v+2;o<_&&126===t.src.charCodeAt(o);)o++;if(o>v+3)return t.pos+=o-v,i||(t.pending+=t.src.slice(v,o)),!0;for(t.pos=v+2,l=1;t.pos+1<_;){if(126===t.src.charCodeAt(t.pos)&&126===t.src.charCodeAt(t.pos+1)&&(O=t.src.charCodeAt(t.pos-1),126!==(P=t.pos+2<_?t.src.charCodeAt(t.pos+2):-1)&&126!==O&&(32!==O&&10!==O?l--:32!==P&&10!==P&&l++,l<=0))){n=!0;break}t.parser.skipToken(t)}return n?(t.posMax=t.pos,t.pos=v+2,i||(t.push({type:"del_open",level:t.level++}),t.parser.tokenize(t),t.push({type:"del_close",level:--t.level})),t.pos=t.posMax+2,t.posMax=_,!0):(t.pos=v,!1)}],["ins",function sz(t,i){var n,o,l,O,P,_=t.posMax,v=t.pos;if(43!==t.src.charCodeAt(v)||i||v+4>=_||43!==t.src.charCodeAt(v+1)||t.level>=t.options.maxNesting||(O=v>0?t.src.charCodeAt(v-1):-1,P=t.src.charCodeAt(v+2),43===O)||43===P||32===P||10===P)return!1;for(o=v+2;o<_&&43===t.src.charCodeAt(o);)o++;if(o!==v+2)return t.pos+=o-v,i||(t.pending+=t.src.slice(v,o)),!0;for(t.pos=v+2,l=1;t.pos+1<_;){if(43===t.src.charCodeAt(t.pos)&&43===t.src.charCodeAt(t.pos+1)&&(O=t.src.charCodeAt(t.pos-1),43!==(P=t.pos+2<_?t.src.charCodeAt(t.pos+2):-1)&&43!==O&&(32!==O&&10!==O?l--:32!==P&&10!==P&&l++,l<=0))){n=!0;break}t.parser.skipToken(t)}return n?(t.posMax=t.pos,t.pos=v+2,i||(t.push({type:"ins_open",level:t.level++}),t.parser.tokenize(t),t.push({type:"ins_close",level:--t.level})),t.pos=t.posMax+2,t.posMax=_,!0):(t.pos=v,!1)}],["mark",function az(t,i){var n,o,l,O,P,_=t.posMax,v=t.pos;if(61!==t.src.charCodeAt(v)||i||v+4>=_||61!==t.src.charCodeAt(v+1)||t.level>=t.options.maxNesting||(O=v>0?t.src.charCodeAt(v-1):-1,P=t.src.charCodeAt(v+2),61===O)||61===P||32===P||10===P)return!1;for(o=v+2;o<_&&61===t.src.charCodeAt(o);)o++;if(o!==v+2)return t.pos+=o-v,i||(t.pending+=t.src.slice(v,o)),!0;for(t.pos=v+2,l=1;t.pos+1<_;){if(61===t.src.charCodeAt(t.pos)&&61===t.src.charCodeAt(t.pos+1)&&(O=t.src.charCodeAt(t.pos-1),61!==(P=t.pos+2<_?t.src.charCodeAt(t.pos+2):-1)&&61!==O&&(32!==O&&10!==O?l--:32!==P&&10!==P&&l++,l<=0))){n=!0;break}t.parser.skipToken(t)}return n?(t.posMax=t.pos,t.pos=v+2,i||(t.push({type:"mark_open",level:t.level++}),t.parser.tokenize(t),t.push({type:"mark_close",level:--t.level})),t.pos=t.posMax+2,t.posMax=_,!0):(t.pos=v,!1)}],["emphasis",function lz(t,i){var n,o,l,_,v,O,P,G=t.posMax,K=t.pos,oe=t.src.charCodeAt(K);if(95!==oe&&42!==oe||i)return!1;if(n=(P=mN(t,K)).delims,!P.can_open)return t.pos+=n,i||(t.pending+=t.src.slice(K,t.pos)),!0;if(t.level>=t.options.maxNesting)return!1;for(t.pos=K+n,O=[n];t.pos<G;)if(t.src.charCodeAt(t.pos)!==oe)t.parser.skipToken(t);else{if(o=(P=mN(t,t.pos)).delims,P.can_close){for(_=O.pop(),v=o;_!==v;){if(v<_){O.push(_-v);break}if(v-=_,0===O.length)break;t.pos+=_,_=O.pop()}if(0===O.length){n=_,l=!0;break}t.pos+=o;continue}P.can_open&&O.push(o),t.pos+=o}return l?(t.posMax=t.pos,t.pos=K+n,i||((2===n||3===n)&&t.push({type:"strong_open",level:t.level++}),(1===n||3===n)&&t.push({type:"em_open",level:t.level++}),t.parser.tokenize(t),(1===n||3===n)&&t.push({type:"em_close",level:--t.level}),(2===n||3===n)&&t.push({type:"strong_close",level:--t.level})),t.pos=t.posMax+n,t.posMax=G,!0):(t.pos=K,!1)}],["sub",function cz(t,i){var n,o,l=t.posMax,_=t.pos;if(126!==t.src.charCodeAt(_)||i||_+2>=l||t.level>=t.options.maxNesting)return!1;for(t.pos=_+1;t.pos<l;){if(126===t.src.charCodeAt(t.pos)){n=!0;break}t.parser.skipToken(t)}return!n||_+1===t.pos||(o=t.src.slice(_+1,t.pos)).match(/(^|[^\\])(\\\\)*\s/)?(t.pos=_,!1):(t.posMax=t.pos,t.pos=_+1,i||t.push({type:"sub",level:t.level,content:o.replace(uz,"$1")}),t.pos=t.posMax+1,t.posMax=l,!0)}],["sup",function fz(t,i){var n,o,l=t.posMax,_=t.pos;if(94!==t.src.charCodeAt(_)||i||_+2>=l||t.level>=t.options.maxNesting)return!1;for(t.pos=_+1;t.pos<l;){if(94===t.src.charCodeAt(t.pos)){n=!0;break}t.parser.skipToken(t)}return!n||_+1===t.pos||(o=t.src.slice(_+1,t.pos)).match(/(^|[^\\])(\\\\)*\s/)?(t.pos=_,!1):(t.posMax=t.pos,t.pos=_+1,i||t.push({type:"sup",level:t.level,content:o.replace(dz,"$1")}),t.pos=t.posMax+1,t.posMax=l,!0)}],["links",function pz(t,i){var n,o,l,_,v,O,P,G,K=!1,oe=t.pos,ue=t.posMax,pe=t.pos,ye=t.src.charCodeAt(pe);if(33===ye&&(K=!0,ye=t.src.charCodeAt(++pe)),91!==ye||t.level>=t.options.maxNesting||(n=pe+1,(o=cS(t,pe))<0))return!1;if((O=o+1)<ue&&40===t.src.charCodeAt(O)){for(O++;O<ue&&(32===(G=t.src.charCodeAt(O))||10===G);O++);if(O>=ue)return!1;for(pe=O,rN(t,O)?(_=t.linkContent,O=t.pos):_="",pe=O;O<ue&&(32===(G=t.src.charCodeAt(O))||10===G);O++);if(O<ue&&pe!==O&&iN(t,O))for(v=t.linkContent,O=t.pos;O<ue&&(32===(G=t.src.charCodeAt(O))||10===G);O++);else v="";if(O>=ue||41!==t.src.charCodeAt(O))return t.pos=oe,!1;O++}else{if(t.linkLevel>0)return!1;for(;O<ue&&(32===(G=t.src.charCodeAt(O))||10===G);O++);if(O<ue&&91===t.src.charCodeAt(O)&&(pe=O+1,(O=cS(t,O))>=0?l=t.src.slice(pe,O++):O=pe-1),l||(typeof l>"u"&&(O=o+1),l=t.src.slice(n,o)),!(P=t.env.references[oN(l)]))return t.pos=oe,!1;_=P.href,v=P.title}return i||(t.pos=n,t.posMax=o,K?t.push({type:"image",src:_,title:v,alt:t.src.substr(n,o-n),level:t.level}):(t.push({type:"link_open",href:_,title:v,level:t.level++}),t.linkLevel++,t.parser.tokenize(t),t.linkLevel--,t.push({type:"link_close",level:--t.level}))),t.pos=O,t.posMax=ue,!0}],["footnote_inline",function _z(t,i){var n,o,l,_,v=t.posMax,O=t.pos;return!(O+2>=v||94!==t.src.charCodeAt(O)||91!==t.src.charCodeAt(O+1)||t.level>=t.options.maxNesting||(n=O+2,o=cS(t,O+1),o<0)||(i||(t.env.footnotes||(t.env.footnotes={}),t.env.footnotes.list||(t.env.footnotes.list=[]),l=t.env.footnotes.list.length,t.pos=n,t.posMax=o,t.push({type:"footnote_ref",id:l,level:t.level}),t.linkLevel++,_=t.tokens.length,t.parser.tokenize(t),t.env.footnotes.list[l]={tokens:t.tokens.splice(_)},t.linkLevel--),t.pos=o+1,t.posMax=v,0))}],["footnote_ref",function hz(t,i){var n,o,l,_,v=t.posMax,O=t.pos;if(O+3>v||!t.env.footnotes||!t.env.footnotes.refs||91!==t.src.charCodeAt(O)||94!==t.src.charCodeAt(O+1)||t.level>=t.options.maxNesting)return!1;for(o=O+2;o<v;o++){if(32===t.src.charCodeAt(o)||10===t.src.charCodeAt(o))return!1;if(93===t.src.charCodeAt(o))break}return!(o===O+2||o>=v||(o++,n=t.src.slice(O+2,o-1),typeof t.env.footnotes.refs[":"+n]>"u")||(i||(t.env.footnotes.list||(t.env.footnotes.list=[]),t.env.footnotes.refs[":"+n]<0?(t.env.footnotes.list[l=t.env.footnotes.list.length]={label:n,count:0},t.env.footnotes.refs[":"+n]=l):l=t.env.footnotes.refs[":"+n],_=t.env.footnotes.list[l].count,t.env.footnotes.list[l].count++,t.push({type:"footnote_ref",id:l,subId:_,level:t.level})),t.pos=o,t.posMax=v,0))}],["autolink",function yz(t,i){var n,o,l,_,v,O=t.pos;return!(60!==t.src.charCodeAt(O)||(n=t.src.slice(O),n.indexOf(">")<0)||((o=n.match(vz))?mz.indexOf(o[1].toLowerCase())<0||(_=o[0].slice(1,-1),v=eR(_),!t.parser.validateLink(_))||(i||(t.push({type:"link_open",href:v,level:t.level}),t.push({type:"text",content:_,level:t.level+1}),t.push({type:"link_close",level:t.level})),t.pos+=o[0].length,0):!(l=n.match(gz))||(v=eR("mailto:"+(_=l[0].slice(1,-1))),!t.parser.validateLink(v)||(i||(t.push({type:"link_open",href:v,level:t.level}),t.push({type:"text",content:_,level:t.level+1}),t.push({type:"link_close",level:t.level})),t.pos+=l[0].length,0))))}],["htmltag",function Iz(t,i){var n,o,l,_=t.pos;return!(!t.options.html||(l=t.posMax,60!==t.src.charCodeAt(_)||_+2>=l)||(n=t.src.charCodeAt(_+1),33!==n&&63!==n&&47!==n&&!function Nz(t){var i=32|t;return i>=97&&i<=122}(n))||(o=t.src.slice(_).match(Pz),!o)||(i||t.push({type:"htmltag",content:t.src.slice(_,_+o[0].length),level:t.level}),t.pos+=o[0].length,0))}],["entity",function kz(t,i){var o,l,_=t.pos,v=t.posMax;if(38!==t.src.charCodeAt(_))return!1;if(_+1<v)if(35===t.src.charCodeAt(_+1)){if(l=t.src.slice(_).match(Fz))return i||(o="x"===l[1][0].toLowerCase()?parseInt(l[1].slice(1),16):parseInt(l[1],10),t.pending+=XD(o)?zC(o):zC(65533)),t.pos+=l[0].length,!0}else if(l=t.src.slice(_).match(Lz)){var O=eN(l[1]);if(l[1]!==O)return i||(t.pending+=O),t.pos+=l[0].length,!0}return i||(t.pending+="&"),t.pos++,!0}]];function JC(){this.ruler=new Zh;for(var t=0;t<sR.length;t++)this.ruler.push(sR[t][0],sR[t][1]);this.validateLink=$z}function $z(t){var n=t.trim().toLowerCase();return!(-1!==(n=g1(n)).indexOf(":")&&-1!==["vbscript","javascript","file","data"].indexOf(n.split(":")[0]))}JC.prototype.skipToken=function(t){var l,_,i=this.ruler.getRules(""),n=i.length,o=t.pos;if((_=t.cacheGet(o))>0)t.pos=_;else{for(l=0;l<n;l++)if(i[l](t,!0))return void t.cacheSet(o,t.pos);t.pos++,t.cacheSet(o,t.pos)}},JC.prototype.tokenize=function(t){for(var l,_,i=this.ruler.getRules(""),n=i.length,o=t.posMax;t.pos<o;){for(_=0;_<n&&!(l=i[_](t,!1));_++);if(l){if(t.pos>=o)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},JC.prototype.parse=function(t,i,n,o){var l=new Sv(t,this,i,n,o);this.tokenize(l)};var Gz={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},full:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}}};function gN(t,i,n){this.src=i,this.env=n,this.options=t.options,this.tokens=[],this.inlineMode=!1,this.inline=t.inline,this.block=t.block,this.renderer=t.renderer,this.typographer=t.typographer}function v1(t,i){"string"!=typeof t&&(i=t,t="default"),i&&null!=i.linkify&&console.warn("linkify option is removed. Use linkify plugin instead:\n\nimport Remarkable from 'remarkable';\nimport linkify from 'remarkable/linkify';\nnew Remarkable().use(linkify)\n"),this.inline=new JC,this.block=new iR,this.core=new cN,this.renderer=new qD,this.ruler=new Zh,this.options={},this.configure(Gz[t]),this.set(i||{})}v1.prototype.set=function(t){KD(this.options,t)},v1.prototype.configure=function(t){var i=this;if(!t)throw new Error("Wrong `remarkable` preset, check name/content");t.options&&i.set(t.options),t.components&&Object.keys(t.components).forEach(function(n){t.components[n].rules&&i[n].ruler.enable(t.components[n].rules,!0)})},v1.prototype.use=function(t,i){return t(this,i),this},v1.prototype.parse=function(t,i){var n=new gN(this,t,i);return this.core.process(n),n.tokens},v1.prototype.render=function(t,i){return this.renderer.render(this.parse(t,i=i||{}),this.options,i)},v1.prototype.parseInline=function(t,i){var n=new gN(this,t,i);return n.inlineMode=!0,this.core.process(n),n.tokens},v1.prototype.renderInline=function(t,i){return this.renderer.render(this.parseInline(t,i=i||{}),this.options,i)};var QC="NOT_FOUND",zz=function(i,n){return i===n};function Zz(t,i){var n="object"==typeof i?i:{equalityCheck:i},o=n.equalityCheck,_=n.maxSize,v=void 0===_?1:_,O=n.resultEqualityCheck,P=function Vz(t){return function(n,o){if(null===n||null===o||n.length!==o.length)return!1;for(var l=n.length,_=0;_<l;_++)if(!t(n[_],o[_]))return!1;return!0}}(void 0===o?zz:o),G=1===v?function Yz(t){var i;return{get:function(o){return i&&t(i.key,o)?i.value:QC},put:function(o,l){i={key:o,value:l}},getEntries:function(){return i?[i]:[]},clear:function(){i=void 0}}}(P):function jz(t,i){var n=[];function o(O){var P=n.findIndex(function(K){return i(O,K.key)});if(P>-1){var G=n[P];return P>0&&(n.splice(P,1),n.unshift(G)),G.value}return QC}return{get:o,put:function l(O,P){o(O)===QC&&(n.unshift({key:O,value:P}),n.length>t&&n.pop())},getEntries:function _(){return n},clear:function v(){n=[]}}}(v,P);function K(){var oe=G.get(arguments);if(oe===QC){if(oe=t.apply(null,arguments),O){var pe=G.getEntries().find(function(ye){return O(ye.value,oe)});pe&&(oe=pe.value)}G.put(arguments,oe)}return oe}return K.clearCache=function(){return G.clear()},K}function Jz(t){for(var i=arguments.length,n=new Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];return function(){for(var v=arguments.length,O=new Array(v),P=0;P<v;P++)O[P]=arguments[P];var K,G=0,oe={memoizeOptions:void 0},ue=O.pop();if("object"==typeof ue&&(oe=ue,ue=O.pop()),"function"!=typeof ue)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof ue+"]");var ye=oe.memoizeOptions,Ue=void 0===ye?n:ye,xe=Array.isArray(Ue)?Ue:[Ue],ke=function Wz(t){var i=Array.isArray(t[0])?t[0]:t;if(!i.every(function(o){return"function"==typeof o})){var n=i.map(function(o){return"function"==typeof o?"function "+(o.name||"unnamed")+"()":typeof o}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return i}(O),we=t.apply(void 0,[function(){return G++,ue.apply(null,arguments)}].concat(xe)),Z=t(function(){for(var Dt=[],Yt=ke.length,ln=0;ln<Yt;ln++)Dt.push(ke[ln].apply(null,arguments));return K=we.apply(null,Dt)});return Object.assign(Z,{resultFunc:ue,memoizedResultFunc:we,dependencies:ke,lastResult:function(){return K},recomputations:function(){return G},resetRecomputations:function(){return G=0}}),Z}}var vN=Jz(Zz),Qz=s(31536),Kz=s(2135),Xz=s.n(Kz),qz=s(95327),eV=s.n(qz),tV=s(31208),nV=s(3912),rV=s.n(nV),iV=s(41233),oV=s.n(iV),sV=s(33814),aV=s.n(sV),lV=s(74299),uV=s.n(lV),cV=s(32322),dV=s.n(cV),fV=s(58734),pV=s.n(fV),_V=s(69883),hV=s.n(_V),mV=s(41205),gV=s.n(mV),vV={3978:(t,i,n)=>{t.exports=n(1910)},1543:(t,i,n)=>{n.d(i,{Z:()=>ke});var o=n(863),l=n(7344),_=n(8656),v=n(6340),O=n(9972),P=n(5416),G=n(775),K=n(5171),oe=n(8818),ue=n(2565),pe=n(810);const ye=(n.d(Z={},{default:()=>XN}),Z);var Z,Ue=n(9569),xe=n(5053),ke=function(we){(0,O.default)(Ft,we);var Z=(0,P.default)(Ft);function Ft(){var Dt,Yt;(0,l.default)(this,Ft);for(var ln=arguments.length,$n=new Array(ln),nn=0;nn<ln;nn++)$n[nn]=arguments[nn];return Yt=Z.call.apply(Z,(0,K.default)(Dt=[this]).call(Dt,$n)),(0,G.default)((0,v.default)(Yt),"getModelName",function(Jn){return-1!==(0,oe.default)(Jn).call(Jn,"#/definitions/")?Jn.replace(/^.*#\/definitions\//,""):-1!==(0,oe.default)(Jn).call(Jn,"#/components/schemas/")?Jn.replace(/^.*#\/components\/schemas\//,""):void 0}),(0,G.default)((0,v.default)(Yt),"getRefSchema",function(Jn){return Yt.props.specSelectors.findDefinition(Jn)}),Yt}return(0,_.default)(Ft,[{key:"render",value:function(){var Dt=this.props,Yt=Dt.getComponent,ln=Dt.getConfigs,$n=Dt.specSelectors,nn=Dt.schema,Jn=Dt.required,zn=Dt.name,Zr=Dt.isRef,$r=Dt.specPath,ui=Dt.displayName,gi=Dt.includeReadOnly,Un=Dt.includeWriteOnly,lr=Yt("ObjectModel"),ar=Yt("ArrayModel"),Cr=Yt("PrimitiveModel"),Wn="object",ai=nn&&nn.get("$$ref");if(!zn&&ai&&(zn=this.getModelName(ai)),!nn&&ai&&(nn=this.getRefSchema(zn)),!nn)return pe.default.createElement("span",{className:"model model-title"},pe.default.createElement("span",{className:"model-title__text"},ui||zn),pe.default.createElement("img",{src:n(2517),height:"20px",width:"20px"}));var ho=$n.isOAS3()&&nn.get("deprecated");switch(Zr=void 0!==Zr?Zr:!!ai,Wn=nn&&nn.get("type")||Wn){case"object":return pe.default.createElement(lr,(0,o.default)({className:"object"},this.props,{specPath:$r,getConfigs:ln,schema:nn,name:zn,deprecated:ho,isRef:Zr,includeReadOnly:gi,includeWriteOnly:Un}));case"array":return pe.default.createElement(ar,(0,o.default)({className:"array"},this.props,{getConfigs:ln,schema:nn,name:zn,deprecated:ho,required:Jn,includeReadOnly:gi,includeWriteOnly:Un}));default:return pe.default.createElement(Cr,(0,o.default)({},this.props,{getComponent:Yt,getConfigs:ln,schema:nn,name:zn,deprecated:ho,required:Jn}))}}}]),Ft}(ye.default);(0,G.default)(ke,"propTypes",{schema:(0,ue.default)(Ue.default).isRequired,getComponent:xe.default.func.isRequired,getConfigs:xe.default.func.isRequired,specSelectors:xe.default.object.isRequired,name:xe.default.string,displayName:xe.default.string,isRef:xe.default.bool,required:xe.default.bool,expandDepth:xe.default.number,depth:xe.default.number,specPath:Ue.default.list.isRequired,includeReadOnly:xe.default.bool,includeWriteOnly:xe.default.bool})},5623:(t,i,n)=>{n.d(i,{Z:()=>xe});var o=n(1581),l=n(7344),_=n(8656),v=n(6340),O=n(9972),P=n(5416),G=n(775),K=n(2740),oe=n(5171),ue=n(810),pe=n(8900),ye=(n(5053),n(6298)),Ue=n(7504),xe=function(we){(0,O.default)(Ft,we);var Z=(0,P.default)(Ft);function Ft(Dt,Yt){var ln;(0,l.default)(this,Ft),ln=Z.call(this,Dt,Yt),(0,G.default)((0,v.default)(ln),"getDefinitionUrl",function(){return new pe.default(ln.props.specSelectors.url(),Ue.Z.location).toString()});var $n=(0,Dt.getConfigs)().validatorUrl;return ln.state={url:ln.getDefinitionUrl(),validatorUrl:void 0===$n?"https://validator.swagger.io/validator":$n},ln}return(0,_.default)(Ft,[{key:"UNSAFE_componentWillReceiveProps",value:function(Dt){var Yt=(0,Dt.getConfigs)().validatorUrl;this.setState({url:this.getDefinitionUrl(),validatorUrl:void 0===Yt?"https://validator.swagger.io/validator":Yt})}},{key:"render",value:function(){var Dt,Yt,ln=(0,this.props.getConfigs)().spec,$n=(0,ye.Nm)(this.state.validatorUrl);return"object"===(0,o.default)(ln)&&(0,K.default)(ln).length?null:this.state.url&&(0,ye.hW)(this.state.validatorUrl)&&(0,ye.hW)(this.state.url)?ue.default.createElement("span",{className:"float-right"},ue.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:(0,oe.default)(Dt="".concat($n,"/debug?url=")).call(Dt,encodeURIComponent(this.state.url))},ue.default.createElement(ke,{src:(0,oe.default)(Yt="".concat($n,"?url=")).call(Yt,encodeURIComponent(this.state.url)),alt:"Online validator badge"}))):null}}]),Ft}(ue.default.Component),ke=function(we){(0,O.default)(Ft,we);var Z=(0,P.default)(Ft);function Ft(Dt){var Yt;return(0,l.default)(this,Ft),(Yt=Z.call(this,Dt)).state={loaded:!1,error:!1},Yt}return(0,_.default)(Ft,[{key:"componentDidMount",value:function(){var Dt=this,Yt=new Image;Yt.onload=function(){Dt.setState({loaded:!0})},Yt.onerror=function(){Dt.setState({error:!0})},Yt.src=this.props.src}},{key:"UNSAFE_componentWillReceiveProps",value:function(Dt){var Yt=this;if(Dt.src!==this.props.src){var ln=new Image;ln.onload=function(){Yt.setState({loaded:!0})},ln.onerror=function(){Yt.setState({error:!0})},ln.src=Dt.src}}},{key:"render",value:function(){return this.state.error?ue.default.createElement("img",{alt:"Error"}):this.state.loaded?ue.default.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}]),Ft}(ue.default.Component)},5466:(t,i,n)=>{n.d(i,{Z:()=>G,s:()=>K});var o=n(810),l=(n(5053),n(3952));const _=(n.d(ue={},{linkify:()=>L8}),ue),v=(oe=>{var ue={};return n.d(ue,oe),ue})({default:()=>$8()});var ue,O=n(8096);function P(oe){var ue=oe.source,pe=oe.className,ye=void 0===pe?"":pe,Ue=oe.getConfigs;if("string"!=typeof ue)return null;var xe=new l.Remarkable({html:!0,typographer:!0,breaks:!0,linkTarget:"_blank"}).use(_.linkify);xe.core.ruler.disable(["replacements","smartquotes"]);var ke=Ue().useUnsafeMarkdown,we=xe.render(ue),Z=K(we,{useUnsafeMarkdown:ke});return ue&&we&&Z?o.default.createElement("div",{className:(0,O.default)(ye,"markdown"),dangerouslySetInnerHTML:{__html:Z}}):null}v.default.addHook&&v.default.addHook("beforeSanitizeElements",function(oe){return oe.href&&oe.setAttribute("rel","noopener noreferrer"),oe}),P.defaultProps={getConfigs:function(){return{useUnsafeMarkdown:!1}}};const G=P;function K(oe){var pe=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).useUnsafeMarkdown,ye=void 0!==pe&&pe,Ue=ye,xe=ye?[]:["style","class"];return ye&&!K.hasWarnedAboutDeprecation&&(console.warn("useUnsafeMarkdown display configuration parameter is deprecated since >3.26.0 and will be removed in v4.0.0."),K.hasWarnedAboutDeprecation=!0),v.default.sanitize(oe,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:Ue,FORBID_ATTR:xe})}K.hasWarnedAboutDeprecation=!1},5308:(t,i,n)=>{n.r(i),n.d(i,{default:()=>K});var o,l=n(29),_=n(5487),v=n(6298),O=n(8102),P=n(5102),G={};const K=G;(0,l.default)(o=(0,_.default)(P).call(P)).call(o,function(oe){if("./index.js"!==oe){var ue=P(oe);G[(0,v.Zl)(oe)]=ue.default?ue.default:ue}}),G.SafeRender=O.default},5812:(t,i,n)=>{n.r(i),n.d(i,{SHOW_AUTH_POPUP:()=>G,AUTHORIZE:()=>K,LOGOUT:()=>oe,PRE_AUTHORIZE_OAUTH2:()=>ue,AUTHORIZE_OAUTH2:()=>pe,VALIDATE:()=>ye,CONFIGURE_AUTH:()=>Ue,RESTORE_AUTHORIZATION:()=>xe,showDefinitions:()=>ke,authorize:()=>we,authorizeWithPersistOption:()=>Z,logout:()=>Ft,logoutWithPersistOption:()=>Dt,preAuthorizeImplicit:()=>Yt,authorizeOauth2:()=>ln,authorizeOauth2WithPersistOption:()=>$n,authorizePassword:()=>nn,authorizeApplication:()=>Jn,authorizeAccessCodeWithFormParams:()=>zn,authorizeAccessCodeWithBasicAuthentication:()=>Zr,authorizeRequest:()=>$r,configureAuth:()=>ui,restoreAuthorization:()=>gi,persistAuthorizationIfNeeded:()=>Un,authPopup:()=>lr});var o=n(1581),l=n(313),_=n(7512),v=n(8900),O=n(7504),P=n(6298),G="show_popup",K="authorize",oe="logout",ue="pre_authorize_oauth2",pe="authorize_oauth2",ye="validate",Ue="configure_auth",xe="restore_authorization";function ke(ar){return{type:G,payload:ar}}function we(ar){return{type:K,payload:ar}}var Z=function(ar){return function(Cr){var Wn=Cr.authActions;Wn.authorize(ar),Wn.persistAuthorizationIfNeeded()}};function Ft(ar){return{type:oe,payload:ar}}var Dt=function(ar){return function(Cr){var Wn=Cr.authActions;Wn.logout(ar),Wn.persistAuthorizationIfNeeded()}},Yt=function(ar){return function(Cr){var Wn=Cr.authActions,ai=Cr.errActions,ho=ar.auth,Yi=ar.token,lo=ar.isValid,Kn=ho.name,Nn=ho.schema.get("flow");delete O.Z.swaggerUIRedirectOauth2,"accessCode"===Nn||lo||ai.newAuthErr({authId:Kn,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),Yi.error?ai.newAuthErr({authId:Kn,source:"auth",level:"error",message:(0,l.default)(Yi)}):Wn.authorizeOauth2WithPersistOption({auth:ho,token:Yi})}};function ln(ar){return{type:pe,payload:ar}}var $n=function(ar){return function(Cr){var Wn=Cr.authActions;Wn.authorizeOauth2(ar),Wn.persistAuthorizationIfNeeded()}},nn=function(ar){return function(Cr){var So,us,Zo,Wn=Cr.authActions,ai=ar.schema,ho=ar.name,Yi=ar.username,lo=ar.password,pi=ar.passwordType,Kn=ar.clientId,Nn=ar.clientSecret,_i={grant_type:"password",scope:ar.scopes.join(" "),username:Yi,password:lo},Zi={};switch(pi){case"request-body":So=_i,Zo=Nn,(us=Kn)&&(0,_.default)(So,{client_id:us}),Zo&&(0,_.default)(So,{client_secret:Zo});break;case"basic":Zi.Authorization="Basic "+(0,P.r3)(Kn+":"+Nn);break;default:console.warn("Warning: invalid passwordType ".concat(pi," was passed, not including client id and secret"))}return Wn.authorizeRequest({body:(0,P.GZ)(_i),url:ai.get("tokenUrl"),name:ho,headers:Zi,query:{},auth:ar})}},Jn=function(ar){return function(Cr){var Wn=Cr.authActions,ai=ar.schema,ho=ar.scopes,Yi=ar.name,Kn={Authorization:"Basic "+(0,P.r3)(ar.clientId+":"+ar.clientSecret)},Nn={grant_type:"client_credentials",scope:ho.join(" ")};return Wn.authorizeRequest({body:(0,P.GZ)(Nn),name:Yi,url:ai.get("tokenUrl"),auth:ar,headers:Kn})}},zn=function(ar){var Cr=ar.auth,Wn=ar.redirectUrl;return function(ai){var Yi=Cr.schema,lo=Cr.name;return ai.authActions.authorizeRequest({body:(0,P.GZ)({grant_type:"authorization_code",code:Cr.code,client_id:Cr.clientId,client_secret:Cr.clientSecret,redirect_uri:Wn,code_verifier:Cr.codeVerifier}),name:lo,url:Yi.get("tokenUrl"),auth:Cr})}},Zr=function(ar){var Cr=ar.auth,Wn=ar.redirectUrl;return function(ai){var ho=ai.authActions,Yi=Cr.schema,lo=Cr.name,pi=Cr.clientId,Nn=Cr.codeVerifier,_i={Authorization:"Basic "+(0,P.r3)(pi+":"+Cr.clientSecret)};return ho.authorizeRequest({body:(0,P.GZ)({grant_type:"authorization_code",code:Cr.code,client_id:pi,redirect_uri:Wn,code_verifier:Nn}),name:lo,url:Yi.get("tokenUrl"),auth:Cr,headers:_i})}},$r=function(ar){return function(Cr){var Wn,ai=Cr.fn,ho=Cr.getConfigs,Yi=Cr.authActions,lo=Cr.errActions,pi=Cr.oas3Selectors,Kn=Cr.specSelectors,_i=ar.body,Zi=ar.query,So=void 0===Zi?{}:Zi,us=ar.headers,Zo=void 0===us?{}:us,pa=ar.name,va=ar.url,qi=ar.auth,xo=(Cr.authSelectors.getConfigs()||{}).additionalQueryStringParams;if(Kn.isOAS3()){var $o=pi.serverEffectiveValue(pi.selectedServer());Wn=(0,v.default)(va,$o,!0)}else Wn=(0,v.default)(va,Kn.url(),!0);"object"===(0,o.default)(xo)&&(Wn.query=(0,_.default)({},Wn.query,xo));var rt=Wn.toString(),kt=(0,_.default)({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},Zo);ai.fetch({url:rt,method:"post",headers:kt,query:So,body:_i,requestInterceptor:ho().requestInterceptor,responseInterceptor:ho().responseInterceptor}).then(function(Lt){var cr=JSON.parse(Lt.data);Lt.ok?cr&&cr.error||cr&&cr.parseError?lo.newAuthErr({authId:pa,level:"error",source:"auth",message:(0,l.default)(cr)}):Yi.authorizeOauth2WithPersistOption({auth:qi,token:cr}):lo.newAuthErr({authId:pa,level:"error",source:"auth",message:Lt.statusText})}).catch(function(Lt){var cr=new Error(Lt).message;if(Lt.response&&Lt.response.data){var Yr=Lt.response.data;try{var li="string"==typeof Yr?JSON.parse(Yr):Yr;li.error&&(cr+=", error: ".concat(li.error)),li.error_description&&(cr+=", description: ".concat(li.error_description))}catch{}}lo.newAuthErr({authId:pa,level:"error",source:"auth",message:cr})})}};function ui(ar){return{type:Ue,payload:ar}}function gi(ar){return{type:xe,payload:ar}}var Un=function(){return function(ar){var Cr=ar.authSelectors;if((0,ar.getConfigs)().persistAuthorization){var Wn=Cr.authorized();localStorage.setItem("authorized",(0,l.default)(Wn.toJS()))}}},lr=function(ar,Cr){return function(){O.Z.swaggerUIRedirectOauth2=Cr,O.Z.open(ar)}}},3705:(t,i,n)=>{n.r(i),n.d(i,{default:()=>K,preauthorizeBasic:()=>oe,preauthorizeApiKey:()=>ue});var o=n(775),l=n(5527),_=n(5171),v=n(3962),O=n(5812),P=n(35),G=n(8302);function K(){return{afterLoad:function(pe){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=pe.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=(0,l.default)(ue).call(ue,null,pe),this.rootInjects.preauthorizeBasic=(0,l.default)(oe).call(oe,null,pe)},statePlugins:{auth:{reducers:v.default,actions:O,selectors:P},spec:{wrapActions:G}}}}function oe(pe,ye,Ue,xe){var ke,we=pe.authActions.authorize,Z=pe.specSelectors,Ft=Z.specJson,Dt=(0,Z.isOAS3)()?["components","securitySchemes"]:["securityDefinitions"],Yt=Ft().getIn((0,_.default)(ke=[]).call(ke,Dt,[ye]));return Yt?we((0,o.default)({},ye,{value:{username:Ue,password:xe},schema:Yt.toJS()})):null}function ue(pe,ye,Ue){var xe,ke=pe.authActions.authorize,we=pe.specSelectors,Z=we.specJson,Ft=(0,we.isOAS3)()?["components","securitySchemes"]:["securityDefinitions"],Dt=Z().getIn((0,_.default)(xe=[]).call(xe,Ft,[ye]));return Dt?ke((0,o.default)({},ye,{value:Ue,schema:Dt.toJS()})):null}},3962:(t,i,n)=>{n.r(i),n.d(i,{default:()=>oe});var o,l=n(775),_=n(9334),v=n(29),O=n(7512),P=n(9725),G=n(6298),K=n(5812);const oe=((0,l.default)(o={},K.SHOW_AUTH_POPUP,function(ue,pe){return ue.set("showDefinitions",pe.payload)}),(0,l.default)(o,K.AUTHORIZE,function(ue,pe){var ye,xe=(0,P.fromJS)(pe.payload),ke=ue.get("authorized")||(0,P.Map)();return(0,v.default)(ye=xe.entrySeq()).call(ye,function(we){var Z=(0,_.default)(we,2),Ft=Z[0],Dt=Z[1];if(!(0,G.Wl)(Dt.getIn))return ue.set("authorized",ke);var Yt=Dt.getIn(["schema","type"]);if("apiKey"===Yt||"http"===Yt)ke=ke.set(Ft,Dt);else if("basic"===Yt){var ln=Dt.getIn(["value","username"]),$n=Dt.getIn(["value","password"]);ke=(ke=ke.setIn([Ft,"value"],{username:ln,header:"Basic "+(0,G.r3)(ln+":"+$n)})).setIn([Ft,"schema"],Dt.get("schema"))}}),ue.set("authorized",ke)}),(0,l.default)(o,K.AUTHORIZE_OAUTH2,function(ue,pe){var ye,Ue=pe.payload,xe=Ue.auth;xe.token=(0,O.default)({},Ue.token),ye=(0,P.fromJS)(xe);var we=ue.get("authorized")||(0,P.Map)();return we=we.set(ye.get("name"),ye),ue.set("authorized",we)}),(0,l.default)(o,K.LOGOUT,function(ue,pe){var ye=pe.payload,Ue=ue.get("authorized").withMutations(function(xe){(0,v.default)(ye).call(ye,function(ke){xe.delete(ke)})});return ue.set("authorized",Ue)}),(0,l.default)(o,K.CONFIGURE_AUTH,function(ue,pe){return ue.set("configs",pe.payload)}),(0,l.default)(o,K.RESTORE_AUTHORIZATION,function(ue,pe){return ue.set("authorized",(0,P.fromJS)(pe.payload.authorized))}),o)},35:(t,i,n)=>{n.r(i),n.d(i,{shownDefinitions:()=>pe,definitionsToAuthorize:()=>ye,getDefinitionsByNames:()=>Ue,definitionsForRequirements:()=>xe,authorized:()=>ke,isAuthorized:()=>we,getConfigs:()=>Z});var o=n(9334),l=n(29),_=n(6145),v=n(9963),O=n(8818),P=n(2565),G=n(2740),K=n(8639),oe=n(9725),ue=function(Ft){return Ft},pe=(0,K.createSelector)(ue,function(Ft){return Ft.get("showDefinitions")}),ye=(0,K.createSelector)(ue,function(){return function(Ft){var Dt,Yt=Ft.specSelectors.securityDefinitions()||(0,oe.Map)({}),ln=(0,oe.List)();return(0,l.default)(Dt=Yt.entrySeq()).call(Dt,function($n){var nn=(0,o.default)($n,2),Jn=nn[0],zn=nn[1],Zr=(0,oe.Map)();Zr=Zr.set(Jn,zn),ln=ln.push(Zr)}),ln}}),Ue=function(Ft,Dt){return function(Yt){var ln,$n=Yt.specSelectors;console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.");var nn=$n.securityDefinitions(),Jn=(0,oe.List)();return(0,l.default)(ln=Dt.valueSeq()).call(ln,function(zn){var Zr,$r=(0,oe.Map)();(0,l.default)(Zr=zn.entrySeq()).call(Zr,function(ui){var gi,Un,lr=(0,o.default)(ui,2),ar=lr[0],Cr=lr[1],Wn=nn.get(ar);"oauth2"===Wn.get("type")&&Cr.size&&(gi=Wn.get("scopes"),(0,l.default)(Un=gi.keySeq()).call(Un,function(ai){Cr.contains(ai)||(gi=gi.delete(ai))}),Wn=Wn.set("allowedScopes",gi)),$r=$r.set(ar,Wn)}),Jn=Jn.push($r)}),Jn}},xe=function(Ft){var Dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,oe.List)();return function(Yt){var ln=Yt.authSelectors.definitionsToAuthorize()||(0,oe.List)();return(0,_.default)(ln).call(ln,function($n){return(0,v.default)(Dt).call(Dt,function(nn){return nn.get($n.keySeq().first())})})}},ke=(0,K.createSelector)(ue,function(Ft){return Ft.get("authorized")||(0,oe.Map)()}),we=function(Ft,Dt){return function(Yt){var ln,$n=Yt.authSelectors.authorized();return oe.List.isList(Dt)?!!(0,_.default)(ln=Dt.toJS()).call(ln,function(nn){var Jn,zn;return-1===(0,O.default)(Jn=(0,P.default)(zn=(0,G.default)(nn)).call(zn,function(Zr){return!!$n.get(Zr)})).call(Jn,!1)}).length:null}},Z=(0,K.createSelector)(ue,function(Ft){return Ft.get("configs")})},8302:(t,i,n)=>{n.r(i),n.d(i,{execute:()=>l});var o=n(1013),l=function(_,v){var O=v.authSelectors,P=v.specSelectors;return function(G){var K=G.path,oe=G.method,ue=G.operation,pe=G.extras,ye={authorized:O.authorized()&&O.authorized().toJS(),definitions:P.securityDefinitions()&&P.securityDefinitions().toJS(),specSecurity:P.security()&&P.security().toJS()};return _((0,o.default)({path:K,method:oe,operation:ue,securities:ye},pe))}}},714:(t,i,n)=>{n.r(i),n.d(i,{UPDATE_CONFIGS:()=>l,TOGGLE_CONFIGS:()=>_,update:()=>v,toggle:()=>O,loaded:()=>P});var o=n(775),l="configs_update",_="configs_toggle";function v(G,K){return{type:l,payload:(0,o.default)({},G,K)}}function O(G){return{type:_,payload:G}}var P=function(){return function(G){var oe=G.authActions;if((0,G.getConfigs)().persistAuthorization){var ue=localStorage.getItem("authorized");ue&&oe.restoreAuthorization({authorized:JSON.parse(ue)})}}}},2256:(t,i,n)=>{n.r(i),n.d(i,{parseYamlConfig:()=>l});var o=n(626),l=function(_,v){try{return o.default.load(_)}catch(O){return v&&v.errActions.newThrownErr(new Error(O)),{}}}},1661:(t,i,n)=>{n.r(i),n.d(i,{default:()=>K});var o=n(5163),l=n(2256),_=n(714),v=n(2698),O=n(9018),P=n(7743),G={getLocalConfig:function(){return(0,l.parseYamlConfig)(o)}};function K(){return{statePlugins:{spec:{actions:v,selectors:G},configs:{reducers:P.default,actions:_,selectors:O}}}}},7743:(t,i,n)=>{n.r(i),n.d(i,{default:()=>O});var o,l=n(775),_=n(9725),v=n(714);const O=((0,l.default)(o={},v.UPDATE_CONFIGS,function(P,G){return P.merge((0,_.fromJS)(G.payload))}),(0,l.default)(o,v.TOGGLE_CONFIGS,function(P,G){var K=G.payload,oe=P.get(K);return P.set(K,!oe)}),o)},9018:(t,i,n)=>{n.r(i),n.d(i,{get:()=>l});var o=n(4163),l=function(_,v){return _.getIn((0,o.default)(v)?v:[v])}},2698:(t,i,n)=>{n.r(i),n.d(i,{downloadConfig:()=>l,getConfigByUrl:()=>_});var o=n(2256),l=function(v){return function(O){return(0,O.fn.fetch)(v)}},_=function(v,O){return function(P){var G=P.specActions;if(v)return G.downloadConfig(v).then(K,K);function K(oe){oe instanceof Error||oe.status>=400?(G.updateLoadingStatus("failedConfig"),G.updateLoadingStatus("failedConfig"),G.updateUrl(""),console.error(oe.statusText+" "+v.url),O(null)):O((0,o.parseYamlConfig)(oe.text))}}}},1970:(t,i,n)=>{n.r(i),n.d(i,{setHash:()=>o});var o=function(l){return l?history.pushState(null,null,"#".concat(l)):window.location.hash=""}},4980:(t,i,n)=>{n.r(i),n.d(i,{default:()=>v});var o=n(5858),l=n(877),_=n(4584);function v(){return[o.default,{statePlugins:{configs:{wrapActions:{loaded:function(O,P){return function(){O.apply(void 0,arguments);var G=decodeURIComponent(window.location.hash);P.layoutActions.parseDeepLinkHash(G)}}}}},wrapComponents:{operation:l.default,OperationTag:_.default}}]}},5858:(t,i,n)=>{n.r(i),n.d(i,{clearScrollTo:()=>Yt,default:()=>ln,parseDeepLinkHash:()=>Z,readyToScroll:()=>Ft,scrollTo:()=>we,scrollToElement:()=>Dt,show:()=>ke});var o=n(775),l=n(9334),_=n(4163),v=n(5171),O=n(8136),P=n(2565),G=n(8818),K=n(1970);const oe=(n.d(nn={},{default:()=>U8()}),nn);var nn,ue,pe=n(6298),ye=n(9725),Ue="layout_scroll_to",xe="layout_clear_scroll",ke=function($n,nn){var Jn=nn.getConfigs,zn=nn.layoutSelectors;return function(){for(var Zr=arguments.length,$r=new Array(Zr),ui=0;ui<Zr;ui++)$r[ui]=arguments[ui];if($n.apply(void 0,$r),Jn().deepLinking)try{var gi=$r[0],Un=$r[1];gi=(0,_.default)(gi)?gi:[gi];var lr=zn.urlHashArrayFromIsShownKey(gi);if(!lr.length)return;var ar,Cr=(0,l.default)(lr,2),Wn=Cr[0],ai=Cr[1];if(!Un)return(0,K.setHash)("/");2===lr.length?(0,K.setHash)((0,pe.oJ)((0,v.default)(ar="/".concat(encodeURIComponent(Wn),"/")).call(ar,encodeURIComponent(ai)))):1===lr.length&&(0,K.setHash)((0,pe.oJ)("/".concat(encodeURIComponent(Wn))))}catch(ho){console.error(ho)}}},we=function($n){return{type:Ue,payload:(0,_.default)($n)?$n:[$n]}},Z=function($n){return function(nn){var Jn=nn.layoutActions,zn=nn.layoutSelectors;if((0,nn.getConfigs)().deepLinking&&$n){var Zr,$r=(0,O.default)($n).call($n,1);"!"===$r[0]&&($r=(0,O.default)($r).call($r,1)),"/"===$r[0]&&($r=(0,O.default)($r).call($r,1));var ui=(0,P.default)(Zr=$r.split("/")).call(Zr,function(Yi){return Yi||""}),gi=zn.isShownKeyFromUrlHashArray(ui),Un=(0,l.default)(gi,3),ar=Un[1],Cr=void 0===ar?"":ar,Wn=Un[2],ai=void 0===Wn?"":Wn;if("operations"===Un[0]){var ho=zn.isShownKeyFromUrlHashArray([Cr]);(0,G.default)(Cr).call(Cr,"_")>-1&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),Jn.show((0,P.default)(ho).call(ho,function(Yi){return Yi.replace(/_/g," ")}),!0)),Jn.show(ho,!0)}((0,G.default)(Cr).call(Cr,"_")>-1||(0,G.default)(ai).call(ai,"_")>-1)&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),Jn.show((0,P.default)(gi).call(gi,function(Yi){return Yi.replace(/_/g," ")}),!0)),Jn.show(gi,!0),Jn.scrollTo(gi)}}},Ft=function($n,nn){return function(Jn){var zn=Jn.layoutSelectors.getScrollToKey();ye.default.is(zn,(0,ye.fromJS)($n))&&(Jn.layoutActions.scrollToElement(nn),Jn.layoutActions.clearScrollTo())}},Dt=function($n,nn){return function(Jn){try{nn=nn||Jn.fn.getScrollParent($n),oe.default.createScroller(nn).to($n)}catch(zn){console.error(zn)}}},Yt=function(){return{type:xe}};const ln={fn:{getScrollParent:function($n,nn){var Jn=document.documentElement,zn=getComputedStyle($n),Zr="absolute"===zn.position,$r=nn?/(auto|scroll|hidden)/:/(auto|scroll)/;if("fixed"===zn.position)return Jn;for(var ui=$n;ui=ui.parentElement;)if(zn=getComputedStyle(ui),(!Zr||"static"!==zn.position)&&$r.test(zn.overflow+zn.overflowY+zn.overflowX))return ui;return Jn}},statePlugins:{layout:{actions:{scrollToElement:Dt,scrollTo:we,clearScrollTo:Yt,readyToScroll:Ft,parseDeepLinkHash:Z},selectors:{getScrollToKey:function($n){return $n.get("scrollToKey")},isShownKeyFromUrlHashArray:function($n,nn){var Jn=(0,l.default)(nn,2),zn=Jn[0],Zr=Jn[1];return Zr?["operations",zn,Zr]:zn?["operations-tag",zn]:[]},urlHashArrayFromIsShownKey:function($n,nn){var Jn=(0,l.default)(nn,3),zn=Jn[0],Zr=Jn[1];return"operations"==zn?[Zr,Jn[2]]:"operations-tag"==zn?[Zr]:[]}},reducers:(ue={},(0,o.default)(ue,Ue,function($n,nn){return $n.set("scrollToKey",ye.default.fromJS(nn.payload))}),(0,o.default)(ue,xe,function($n){return $n.delete("scrollToKey")}),ue),wrapActions:{show:ke}}}}},4584:(t,i,n)=>{n.r(i),n.d(i,{default:()=>oe});var o=n(7344),l=n(8656),_=n(6340),v=n(9972),O=n(5416),P=n(775),G=n(5171),K=n(810);n(5053);const oe=function(ue,pe){return function(ye){(0,v.default)(xe,ye);var Ue=(0,O.default)(xe);function xe(){var ke,we;(0,o.default)(this,xe);for(var Z=arguments.length,Ft=new Array(Z),Dt=0;Dt<Z;Dt++)Ft[Dt]=arguments[Dt];return we=Ue.call.apply(Ue,(0,G.default)(ke=[this]).call(ke,Ft)),(0,P.default)((0,_.default)(we),"onLoad",function(Yt){pe.layoutActions.readyToScroll(["operations-tag",we.props.tag],Yt)}),we}return(0,l.default)(xe,[{key:"render",value:function(){return K.default.createElement("span",{ref:this.onLoad},K.default.createElement(ue,this.props))}}]),xe}(K.default.Component)}},877:(t,i,n)=>{n.r(i),n.d(i,{default:()=>oe});var o=n(7344),l=n(8656),_=n(6340),v=n(9972),O=n(5416),P=n(775),G=n(5171),K=n(810);n(9569);const oe=function(ue,pe){return function(ye){(0,v.default)(xe,ye);var Ue=(0,O.default)(xe);function xe(){var ke,we;(0,o.default)(this,xe);for(var Z=arguments.length,Ft=new Array(Z),Dt=0;Dt<Z;Dt++)Ft[Dt]=arguments[Dt];return we=Ue.call.apply(Ue,(0,G.default)(ke=[this]).call(ke,Ft)),(0,P.default)((0,_.default)(we),"onLoad",function(Yt){var ln=we.props.operation,$n=ln.toObject(),nn=$n.tag,Jn=$n.operationId,zn=ln.toObject().isShownKey;pe.layoutActions.readyToScroll(zn=zn||["operations",nn,Jn],Yt)}),we}return(0,l.default)(xe,[{key:"render",value:function(){return K.default.createElement("span",{ref:this.onLoad},K.default.createElement(ue,this.props))}}]),xe}(K.default.Component)}},8011:(t,i,n)=>{n.r(i),n.d(i,{default:()=>oe});var o=n(7512),l=n(3769),_=n(5171),v=n(8818),O=n(313),P=n(8639),G=n(9725),K=n(7504);function oe(ue){var pe=ue.fn;return{statePlugins:{spec:{actions:{download:function(ye){return function(Ue){var xe=Ue.errActions,ke=Ue.specSelectors,we=Ue.specActions,Ft=pe.fetch,Dt=(0,Ue.getConfigs)();function Yt(ln){if(ln instanceof Error||ln.status>=400)return we.updateLoadingStatus("failed"),xe.newThrownErr((0,o.default)(new Error((ln.message||ln.statusText)+" "+ye),{source:"fetch"})),void(!ln.status&&ln instanceof Error&&function(){try{var $n;if("URL"in K.Z?$n=new l.default(ye):($n=document.createElement("a")).href=ye,"https:"!==$n.protocol&&"https:"===K.Z.location.protocol){var nn=(0,o.default)(new Error("Possible mixed-content issue? The page was loaded over https:// but a ".concat($n.protocol,"// URL was specified. Check that you are not attempting to load mixed content.")),{source:"fetch"});return void xe.newThrownErr(nn)}if($n.origin!==K.Z.location.origin){var Jn,zn=(0,o.default)(new Error((0,_.default)(Jn="Possible cross-origin (CORS) issue? The URL origin (".concat($n.origin,") does not match the page (")).call(Jn,K.Z.location.origin,"). Check the server returns the correct 'Access-Control-Allow-*' headers.")),{source:"fetch"});xe.newThrownErr(zn)}}catch{return}}());we.updateLoadingStatus("success"),we.updateSpec(ln.text),ke.url()!==ye&&we.updateUrl(ye)}ye=ye||ke.url(),we.updateLoadingStatus("loading"),xe.clear({source:"fetch"}),Ft({url:ye,loadSpec:!0,requestInterceptor:Dt.requestInterceptor||function(ln){return ln},responseInterceptor:Dt.responseInterceptor||function(ln){return ln},credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(Yt,Yt)}},updateLoadingStatus:function(ye){var Ue,xe=[null,"loading","failed","success","failedConfig"];return-1===(0,v.default)(xe).call(xe,ye)&&console.error((0,_.default)(Ue="Error: ".concat(ye," is not one of ")).call(Ue,(0,O.default)(xe))),{type:"spec_update_loading_status",payload:ye}}},reducers:{spec_update_loading_status:function(ye,Ue){return"string"==typeof Ue.payload?ye.set("loadingStatus",Ue.payload):ye}},selectors:{loadingStatus:(0,P.createSelector)(function(ye){return ye||(0,G.Map)()},function(ye){return ye.get("loadingStatus")||null})}}}}}},4966:(t,i,n)=>{n.r(i),n.d(i,{NEW_THROWN_ERR:()=>l,NEW_THROWN_ERR_BATCH:()=>_,NEW_SPEC_ERR:()=>v,NEW_SPEC_ERR_BATCH:()=>O,NEW_AUTH_ERR:()=>P,CLEAR:()=>G,CLEAR_BY:()=>K,newThrownErr:()=>oe,newThrownErrBatch:()=>ue,newSpecErr:()=>pe,newSpecErrBatch:()=>ye,newAuthErr:()=>Ue,clear:()=>xe,clearBy:()=>ke});var o=n(8518),l="err_new_thrown_err",_="err_new_thrown_err_batch",v="err_new_spec_err",O="err_new_spec_err_batch",P="err_new_auth_err",G="err_clear",K="err_clear_by";function oe(we){return{type:l,payload:(0,o.serializeError)(we)}}function ue(we){return{type:_,payload:we}}function pe(we){return{type:v,payload:we}}function ye(we){return{type:O,payload:we}}function Ue(we){return{type:P,payload:we}}function xe(){return{type:G,payload:arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}function ke(){return{type:K,payload:arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0}}}},6808:(t,i,n)=>{n.r(i),n.d(i,{default:()=>O});var o=n(6145),l=n(2565);const _=(n.d(G={},{default:()=>G8()}),G);var G,v=[n(2392),n(1835)];function O(P){var G,K={jsSpec:{}},oe=(0,_.default)(v,function(ue,pe){try{var ye=pe.transform(ue,K);return(0,o.default)(ye).call(ye,function(Ue){return!!Ue})}catch(Ue){return console.error("Transformer error:",Ue),ue}},P);return(0,l.default)(G=(0,o.default)(oe).call(oe,function(ue){return!!ue})).call(G,function(ue){return!ue.get("line")&&ue.get("path"),ue})}},2392:(t,i,n)=>{n.r(i),n.d(i,{transform:()=>O});var o=n(2565),l=n(8818),_=n(8136),v=n(6785);function O(P){return(0,o.default)(P).call(P,function(G){var K,xe,oe="is not of a type(s)",ue=(0,l.default)(K=G.get("message")).call(K,oe);if(ue>-1){var pe,ye,Ue=(0,_.default)(pe=G.get("message")).call(pe,ue+oe.length).split(",");return G.set("message",(0,_.default)(ye=G.get("message")).call(ye,0,ue)+(0,v.default)(xe=Ue).call(xe,function(ke,we,Z,Ft){return Z===Ft.length-1&&Ft.length>1?ke+"or "+we:Ft[Z+1]&&Ft.length>2?ke+we+", ":Ft[Z+1]?ke+we+" ":ke+we},"should be a"))}return G})}},1835:(t,i,n)=>{function o(l,_){return l}n.r(i),n.d(i,{transform:()=>o}),n(2565),n(8818),n(9908),n(9725)},7793:(t,i,n)=>{n.r(i),n.d(i,{default:()=>v});var o=n(3527),l=n(4966),_=n(7667);function v(O){return{statePlugins:{err:{reducers:(0,o.default)(O),actions:l,selectors:_}}}}},3527:(t,i,n)=>{n.r(i),n.d(i,{default:()=>pe});var o=n(775),l=n(7512),_=n(2565),v=n(5171),O=n(6145),P=n(7930),G=n(4966),K=n(9725),oe=n(6808),ue={line:0,level:"error",message:"Unknown error"};function pe(){var ye;return(0,o.default)(ye={},G.NEW_THROWN_ERR,function(Ue,xe){var we=(0,l.default)(ue,xe.payload,{type:"thrown"});return Ue.update("errors",function(Z){return(Z||(0,K.List)()).push((0,K.fromJS)(we))}).update("errors",function(Z){return(0,oe.default)(Z)})}),(0,o.default)(ye,G.NEW_THROWN_ERR_BATCH,function(Ue,xe){var ke=xe.payload;return ke=(0,_.default)(ke).call(ke,function(we){return(0,K.fromJS)((0,l.default)(ue,we,{type:"thrown"}))}),Ue.update("errors",function(we){var Z;return(0,v.default)(Z=we||(0,K.List)()).call(Z,(0,K.fromJS)(ke))}).update("errors",function(we){return(0,oe.default)(we)})}),(0,o.default)(ye,G.NEW_SPEC_ERR,function(Ue,xe){var we=(0,K.fromJS)(xe.payload);return we=we.set("type","spec"),Ue.update("errors",function(Z){return(Z||(0,K.List)()).push((0,K.fromJS)(we)).sortBy(function(Ft){return Ft.get("line")})}).update("errors",function(Z){return(0,oe.default)(Z)})}),(0,o.default)(ye,G.NEW_SPEC_ERR_BATCH,function(Ue,xe){var ke=xe.payload;return ke=(0,_.default)(ke).call(ke,function(we){return(0,K.fromJS)((0,l.default)(ue,we,{type:"spec"}))}),Ue.update("errors",function(we){var Z;return(0,v.default)(Z=we||(0,K.List)()).call(Z,(0,K.fromJS)(ke))}).update("errors",function(we){return(0,oe.default)(we)})}),(0,o.default)(ye,G.NEW_AUTH_ERR,function(Ue,xe){var we=(0,K.fromJS)((0,l.default)({},xe.payload));return we=we.set("type","auth"),Ue.update("errors",function(Z){return(Z||(0,K.List)()).push((0,K.fromJS)(we))}).update("errors",function(Z){return(0,oe.default)(Z)})}),(0,o.default)(ye,G.CLEAR,function(Ue,xe){var ke,we=xe.payload;if(!we||!Ue.get("errors"))return Ue;var Z=(0,O.default)(ke=Ue.get("errors")).call(ke,function(Ft){var Dt;return(0,P.default)(Dt=Ft.keySeq()).call(Dt,function(Yt){var ln=Ft.get(Yt),$n=we[Yt];return!$n||ln!==$n})});return Ue.merge({errors:Z})}),(0,o.default)(ye,G.CLEAR_BY,function(Ue,xe){var ke,we=xe.payload;if(!we||"function"!=typeof we)return Ue;var Z=(0,O.default)(ke=Ue.get("errors")).call(ke,function(Ft){return we(Ft)});return Ue.merge({errors:Z})}),ye}},7667:(t,i,n)=>{n.r(i),n.d(i,{allErrors:()=>_,lastError:()=>v});var o=n(9725),l=n(8639),_=(0,l.createSelector)(function(O){return O},function(O){return O.get("errors",(0,o.List)())}),v=(0,l.createSelector)(_,function(O){return O.last()})},9978:(t,i,n)=>{n.r(i),n.d(i,{default:()=>l});var o=n(4309);function l(){return{fn:{opsFilter:o.default}}}},4309:(t,i,n)=>{n.r(i),n.d(i,{default:()=>_});var o=n(6145),l=n(8818);function _(v,O){return(0,o.default)(v).call(v,function(P,G){return-1!==(0,l.default)(G).call(G,O)})}},5474:(t,i,n)=>{n.r(i),n.d(i,{UPDATE_LAYOUT:()=>l,UPDATE_FILTER:()=>_,UPDATE_MODE:()=>v,SHOW:()=>O,updateLayout:()=>P,updateFilter:()=>G,show:()=>K,changeMode:()=>oe});var o=n(6298),l="layout_update_layout",_="layout_update_filter",v="layout_update_mode",O="layout_show";function P(ue){return{type:l,payload:ue}}function G(ue){return{type:_,payload:ue}}function K(ue){var pe=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return ue=(0,o.AF)(ue),{type:O,payload:{thing:ue,shown:pe}}}function oe(ue){var pe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return ue=(0,o.AF)(ue),{type:v,payload:{thing:ue,mode:pe}}}},6821:(t,i,n)=>{n.r(i),n.d(i,{default:()=>O});var o=n(5672),l=n(5474),_=n(4400),v=n(8989);function O(){return{statePlugins:{layout:{reducers:o.default,actions:l,selectors:_},spec:{wrapSelectors:v}}}}},5672:(t,i,n)=>{n.r(i),n.d(i,{default:()=>P});var o,l=n(775),_=n(5171),v=n(9725),O=n(5474);const P=((0,l.default)(o={},O.UPDATE_LAYOUT,function(G,K){return G.set("layout",K.payload)}),(0,l.default)(o,O.UPDATE_FILTER,function(G,K){return G.set("filter",K.payload)}),(0,l.default)(o,O.SHOW,function(G,K){var oe=K.payload.shown,ue=(0,v.fromJS)(K.payload.thing);return G.update("shown",(0,v.fromJS)({}),function(pe){return pe.set(ue,oe)})}),(0,l.default)(o,O.UPDATE_MODE,function(G,K){var oe,ue=K.payload.thing,pe=K.payload.mode;return G.setIn((0,_.default)(oe=["modes"]).call(oe,ue),(pe||"")+"")}),o)},4400:(t,i,n)=>{n.r(i),n.d(i,{current:()=>P,currentFilter:()=>G,isShown:()=>K,whatMode:()=>oe,showSummary:()=>ue});var o=n(2691),l=n(5171),_=n(8639),v=n(6298),O=n(9725),P=function(pe){return pe.get("layout")},G=function(pe){return pe.get("filter")},K=function(pe,ye,Ue){return ye=(0,v.AF)(ye),pe.get("shown",(0,O.fromJS)({})).get((0,O.fromJS)(ye),Ue)},oe=function(pe,ye){var Ue,xe=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return ye=(0,v.AF)(ye),pe.getIn((0,l.default)(Ue=["modes"]).call(Ue,(0,o.default)(ye)),xe)},ue=(0,_.createSelector)(function(pe){return pe},function(pe){return!K(pe,"editor")})},8989:(t,i,n)=>{n.r(i),n.d(i,{taggedOperations:()=>_});var o=n(5171),l=n(8136),_=function(v,O){return function(P){for(var G,K=arguments.length,oe=new Array(K>1?K-1:0),ue=1;ue<K;ue++)oe[ue-1]=arguments[ue];var pe=v.apply(void 0,(0,o.default)(G=[P]).call(G,oe)),ye=O.getSystem(),Ue=ye.fn,xe=ye.layoutSelectors,Z=(0,ye.getConfigs)().maxDisplayedTags,Ft=xe.currentFilter();return Ft&&!0!==Ft&&"true"!==Ft&&"false"!==Ft&&(pe=Ue.opsFilter(pe,Ft)),Z&&!isNaN(Z)&&Z>=0&&(pe=(0,l.default)(pe).call(pe,0,Z)),pe}}},9150:(t,i,n)=>{n.r(i),n.d(i,{default:()=>l});var o=n(5527);function l(_){var O={debug:0,info:1,log:2,warn:3,error:4},P=function(ue){return O[ue]||-1},K=P(_.configs.logLevel);function oe(ue){for(var pe,ye=arguments.length,Ue=new Array(ye>1?ye-1:0),xe=1;xe<ye;xe++)Ue[xe-1]=arguments[xe];P(ue)>=K&&(pe=console)[ue].apply(pe,Ue)}return oe.warn=(0,o.default)(oe).call(oe,null,"warn"),oe.error=(0,o.default)(oe).call(oe,null,"error"),oe.info=(0,o.default)(oe).call(oe,null,"info"),oe.debug=(0,o.default)(oe).call(oe,null,"debug"),{rootInjects:{log:oe}}}},7002:(t,i,n)=>{n.r(i),n.d(i,{UPDATE_SELECTED_SERVER:()=>o,UPDATE_REQUEST_BODY_VALUE:()=>l,UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:()=>_,UPDATE_REQUEST_BODY_INCLUSION:()=>v,UPDATE_ACTIVE_EXAMPLES_MEMBER:()=>O,UPDATE_REQUEST_CONTENT_TYPE:()=>P,UPDATE_RESPONSE_CONTENT_TYPE:()=>G,UPDATE_SERVER_VARIABLE_VALUE:()=>K,SET_REQUEST_BODY_VALIDATE_ERROR:()=>oe,CLEAR_REQUEST_BODY_VALIDATE_ERROR:()=>ue,CLEAR_REQUEST_BODY_VALUE:()=>pe,setSelectedServer:()=>ye,setRequestBodyValue:()=>Ue,setRetainRequestBodyValueFlag:()=>xe,setRequestBodyInclusion:()=>ke,setActiveExamplesMember:()=>we,setRequestContentType:()=>Z,setResponseContentType:()=>Ft,setServerVariableValue:()=>Dt,setRequestBodyValidateError:()=>Yt,clearRequestBodyValidateError:()=>ln,initRequestBodyValidateError:()=>$n,clearRequestBodyValue:()=>nn});var o="oas3_set_servers",l="oas3_set_request_body_value",_="oas3_set_request_body_retain_flag",v="oas3_set_request_body_inclusion",O="oas3_set_active_examples_member",P="oas3_set_request_content_type",G="oas3_set_response_content_type",K="oas3_set_server_variable_value",oe="oas3_set_request_body_validate_error",ue="oas3_clear_request_body_validate_error",pe="oas3_clear_request_body_value";function ye(Jn,zn){return{type:o,payload:{selectedServerUrl:Jn,namespace:zn}}}function Ue(Jn){return{type:l,payload:{value:Jn.value,pathMethod:Jn.pathMethod}}}var xe=function(Jn){return{type:_,payload:{value:Jn.value,pathMethod:Jn.pathMethod}}};function ke(Jn){return{type:v,payload:{value:Jn.value,pathMethod:Jn.pathMethod,name:Jn.name}}}function we(Jn){return{type:O,payload:{name:Jn.name,pathMethod:Jn.pathMethod,contextType:Jn.contextType,contextName:Jn.contextName}}}function Z(Jn){return{type:P,payload:{value:Jn.value,pathMethod:Jn.pathMethod}}}function Ft(Jn){return{type:G,payload:{value:Jn.value,path:Jn.path,method:Jn.method}}}function Dt(Jn){return{type:K,payload:{server:Jn.server,namespace:Jn.namespace,key:Jn.key,val:Jn.val}}}var Yt=function(Jn){return{type:oe,payload:{path:Jn.path,method:Jn.method,validationErrors:Jn.validationErrors}}},ln=function(Jn){return{type:ue,payload:{path:Jn.path,method:Jn.method}}},$n=function(Jn){var zn=Jn.pathMethod;return{type:ue,payload:{path:zn[0],method:zn[1]}}},nn=function(Jn){return{type:pe,payload:{pathMethod:Jn.pathMethod}}}},3723:(t,i,n)=>{n.r(i),n.d(i,{definitionsToAuthorize:()=>pe});var ue,o=n(775),l=n(9334),_=n(5171),v=n(29),O=n(6145),P=n(6785),G=n(8639),K=n(9725),oe=n(7779),pe=(ue=(0,G.createSelector)(function(ye){return ye},function(ye){return ye.specSelectors.securityDefinitions()},function(ye,Ue){var xe,ke=(0,K.List)();return Ue&&(0,v.default)(xe=Ue.entrySeq()).call(xe,function(we){var Z,Ft=(0,l.default)(we,2),Dt=Ft[0],Yt=Ft[1],ln=Yt.get("type");if("oauth2"===ln&&(0,v.default)(Z=Yt.get("flows").entrySeq()).call(Z,function(Jn){var zn=(0,l.default)(Jn,2),$r=zn[1],ui=(0,K.fromJS)({flow:zn[0],authorizationUrl:$r.get("authorizationUrl"),tokenUrl:$r.get("tokenUrl"),scopes:$r.get("scopes"),type:Yt.get("type"),description:Yt.get("description")});ke=ke.push(new K.Map((0,o.default)({},Dt,(0,O.default)(ui).call(ui,function(gi){return void 0!==gi}))))}),"http"!==ln&&"apiKey"!==ln||(ke=ke.push(new K.Map((0,o.default)({},Dt,Yt)))),"openIdConnect"===ln&&Yt.get("openIdConnectData")){var $n=Yt.get("openIdConnectData"),nn=$n.get("grant_types_supported")||["authorization_code","implicit"];(0,v.default)(nn).call(nn,function(Jn){var zn,Zr=$n.get("scopes_supported")&&(0,P.default)(zn=$n.get("scopes_supported")).call(zn,function(ui,gi){return ui.set(gi,"")},new K.Map),$r=(0,K.fromJS)({flow:Jn,authorizationUrl:$n.get("authorization_endpoint"),tokenUrl:$n.get("token_endpoint"),scopes:Zr,type:"oauth2",openIdConnectUrl:Yt.get("openIdConnectUrl")});ke=ke.push(new K.Map((0,o.default)({},Dt,(0,O.default)($r).call($r,function(ui){return void 0!==ui}))))})}}),ke}),function(ye,Ue){return function(){for(var xe=Ue.getSystem().specSelectors.specJson(),ke=arguments.length,we=new Array(ke),Z=0;Z<ke;Z++)we[Z]=arguments[Z];if((0,oe.isOAS3)(xe)){var Ft,Dt=Ue.getState().getIn(["spec","resolvedSubtrees","components","securitySchemes"]);return ue.apply(void 0,(0,_.default)(Ft=[Ue,Dt]).call(Ft,we))}return ye.apply(void 0,we)}})},3427:(t,i,n)=>{n.r(i),n.d(i,{default:()=>P});var o=n(863),l=n(9334),_=n(2565),v=n(810),O=(n(5053),n(9569),n(9725));const P=function(G){var K,oe=G.callbacks,pe=G.specPath,ye=(0,G.getComponent)("OperationContainer",!0);if(!oe)return v.default.createElement("span",null,"No callbacks");var Ue=(0,_.default)(K=oe.entrySeq()).call(K,function(xe){var ke,we=(0,l.default)(xe,2),Z=we[0],Ft=we[1];return v.default.createElement("div",{key:Z},v.default.createElement("h2",null,Z),(0,_.default)(ke=Ft.entrySeq()).call(ke,function(Dt){var Yt,ln=(0,l.default)(Dt,2),$n=ln[0];return"$$ref"===$n?null:v.default.createElement("div",{key:$n},(0,_.default)(Yt=ln[1].entrySeq()).call(Yt,function(Jn){var zn=(0,l.default)(Jn,2),Zr=zn[0];if("$$ref"===Zr)return null;var ui=(0,O.fromJS)({operation:zn[1]});return v.default.createElement(ye,(0,o.default)({},G,{op:ui,key:Zr,tag:"",method:Zr,path:$n,specPath:pe.push(Z,$n,Zr),allowTryItOut:!1}))}))}))});return v.default.createElement("div",null,Ue)}},6775:(t,i,n)=>{n.r(i),n.d(i,{default:()=>pe});var o=n(7344),l=n(8656),_=n(6340),v=n(9972),O=n(5416),P=n(775),G=n(7512),K=n(6145),oe=n(2565),ue=n(810),pe=(n(5053),function(ye){(0,v.default)(xe,ye);var Ue=(0,O.default)(xe);function xe(ke,we){var Z;(0,o.default)(this,xe),Z=Ue.call(this,ke,we),(0,P.default)((0,_.default)(Z),"onChange",function($n){var nn=Z.props.onChange,Jn=$n.target,zn=Jn.value,Zr=Jn.name,$r=(0,G.default)({},Z.state.value);Zr?$r[Zr]=zn:$r=zn,Z.setState({value:$r},function(){return nn(Z.state)})});var Ft=Z.props,Dt=Ft.name,Yt=Ft.schema,ln=Z.getValue();return Z.state={name:Dt,schema:Yt,value:ln},Z}return(0,l.default)(xe,[{key:"getValue",value:function(){var ke=this.props,Z=ke.authorized;return Z&&Z.getIn([ke.name,"value"])}},{key:"render",value:function(){var ke,we,Z=this.props,Ft=Z.schema,Dt=Z.getComponent,Yt=Z.errSelectors,ln=Z.name,$n=Dt("Input"),nn=Dt("Row"),Jn=Dt("Col"),zn=Dt("authError"),Zr=Dt("Markdown",!0),$r=Dt("JumpToPath",!0),ui=(Ft.get("scheme")||"").toLowerCase(),gi=this.getValue(),Un=(0,K.default)(ke=Yt.allErrors()).call(ke,function(Cr){return Cr.get("authId")===ln});if("basic"===ui){var lr,ar=gi?gi.get("username"):null;return ue.default.createElement("div",null,ue.default.createElement("h4",null,ue.default.createElement("code",null,ln||Ft.get("name")),"\xa0 (http, Basic)",ue.default.createElement($r,{path:["securityDefinitions",ln]})),ar&&ue.default.createElement("h6",null,"Authorized"),ue.default.createElement(nn,null,ue.default.createElement(Zr,{source:Ft.get("description")})),ue.default.createElement(nn,null,ue.default.createElement("label",null,"Username:"),ar?ue.default.createElement("code",null," ",ar," "):ue.default.createElement(Jn,null,ue.default.createElement($n,{type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),ue.default.createElement(nn,null,ue.default.createElement("label",null,"Password:"),ar?ue.default.createElement("code",null," ****** "):ue.default.createElement(Jn,null,ue.default.createElement($n,{autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}))),(0,oe.default)(lr=Un.valueSeq()).call(lr,function(Cr,Wn){return ue.default.createElement(zn,{error:Cr,key:Wn})}))}return"bearer"===ui?ue.default.createElement("div",null,ue.default.createElement("h4",null,ue.default.createElement("code",null,ln||Ft.get("name")),"\xa0 (http, Bearer)",ue.default.createElement($r,{path:["securityDefinitions",ln]})),gi&&ue.default.createElement("h6",null,"Authorized"),ue.default.createElement(nn,null,ue.default.createElement(Zr,{source:Ft.get("description")})),ue.default.createElement(nn,null,ue.default.createElement("label",null,"Value:"),gi?ue.default.createElement("code",null," ****** "):ue.default.createElement(Jn,null,ue.default.createElement($n,{type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),(0,oe.default)(we=Un.valueSeq()).call(we,function(Cr,Wn){return ue.default.createElement(zn,{error:Cr,key:Wn})})):ue.default.createElement("div",null,ue.default.createElement("em",null,ue.default.createElement("b",null,ln)," HTTP authentication: unsupported scheme ","'".concat(ui,"'")))}}]),xe}(ue.default.Component))},6467:(t,i,n)=>{n.r(i),n.d(i,{default:()=>oe});var o=n(3427),l=n(2458),_=n(5757),v=n(6617),O=n(9928),P=n(5327),G=n(6775),K=n(6796);const oe={Callbacks:o.default,HttpAuth:G.default,RequestBody:l.default,Servers:v.default,ServersContainer:O.default,RequestBodyEditor:P.default,OperationServers:K.default,operationLink:_.default}},5757:(t,i,n)=>{n.r(i),n.d(i,{default:()=>K});var o=n(7344),l=n(8656),_=n(9972),v=n(5416),O=n(313),P=n(2565),G=n(810);n(5053),n(9569);const K=function(oe){(0,_.default)(pe,oe);var ue=(0,v.default)(pe);function pe(){return(0,o.default)(this,pe),ue.apply(this,arguments)}return(0,l.default)(pe,[{key:"render",value:function(){var Yt,ln,ye=this.props,Ue=ye.link,xe=ye.name,ke=(0,ye.getComponent)("Markdown",!0),we=Ue.get("operationId")||Ue.get("operationRef"),Z=Ue.get("parameters")&&Ue.get("parameters").toJS(),Ft=Ue.get("description");return G.default.createElement("div",{className:"operation-link"},G.default.createElement("div",{className:"description"},G.default.createElement("b",null,G.default.createElement("code",null,xe)),Ft?G.default.createElement(ke,{source:Ft}):null),G.default.createElement("pre",null,"Operation `",we,"`",G.default.createElement("br",null),G.default.createElement("br",null),"Parameters ",("string"!=typeof(Yt=(0,O.default)(Z,null,2))?"":(0,P.default)(ln=Yt.split("\n")).call(ln,function($n,nn){return nn>0?Array(1).join(" ")+$n:$n}).join("\n"))||"{}",G.default.createElement("br",null)))}}]),pe}(G.Component)},6796:(t,i,n)=>{n.r(i),n.d(i,{default:()=>ue});var o=n(1013),l=n(7344),_=n(8656),v=n(6340),O=n(9972),P=n(5416),G=n(775),K=n(5171),oe=n(810),ue=(n(5053),n(9569),function(pe){(0,O.default)(Ue,pe);var ye=(0,P.default)(Ue);function Ue(){var xe,ke;(0,l.default)(this,Ue);for(var we=arguments.length,Z=new Array(we),Ft=0;Ft<we;Ft++)Z[Ft]=arguments[Ft];return ke=ye.call.apply(ye,(0,K.default)(xe=[this]).call(xe,Z)),(0,G.default)((0,v.default)(ke),"setSelectedServer",function(Dt){var Yt,ln=ke.props,$n=ln.path,nn=ln.method;return ke.forceUpdate(),ke.props.setSelectedServer(Dt,(0,K.default)(Yt="".concat($n,":")).call(Yt,nn))}),(0,G.default)((0,v.default)(ke),"setServerVariableValue",function(Dt){var Yt,ln=ke.props,$n=ln.path,nn=ln.method;return ke.forceUpdate(),ke.props.setServerVariableValue((0,o.default)((0,o.default)({},Dt),{},{namespace:(0,K.default)(Yt="".concat($n,":")).call(Yt,nn)}))}),(0,G.default)((0,v.default)(ke),"getSelectedServer",function(){var Dt,Yt=ke.props,$n=Yt.method;return ke.props.getSelectedServer((0,K.default)(Dt="".concat(Yt.path,":")).call(Dt,$n))}),(0,G.default)((0,v.default)(ke),"getServerVariable",function(Dt,Yt){var ln,$n=ke.props,Jn=$n.method;return ke.props.getServerVariable({namespace:(0,K.default)(ln="".concat($n.path,":")).call(ln,Jn),server:Dt},Yt)}),(0,G.default)((0,v.default)(ke),"getEffectiveServerValue",function(Dt){var Yt,ln=ke.props,nn=ln.method;return ke.props.getEffectiveServerValue({server:Dt,namespace:(0,K.default)(Yt="".concat(ln.path,":")).call(Yt,nn)})}),ke}return(0,_.default)(Ue,[{key:"render",value:function(){var xe=this.props,ke=xe.operationServers,we=xe.pathServers;if(!ke&&!we)return null;var Ft=(0,xe.getComponent)("Servers"),Dt=ke||we,Yt=ke?"operation":"path";return oe.default.createElement("div",{className:"opblock-section operation-servers"},oe.default.createElement("div",{className:"opblock-section-header"},oe.default.createElement("div",{className:"tab-header"},oe.default.createElement("h4",{className:"opblock-title"},"Servers"))),oe.default.createElement("div",{className:"opblock-description-wrapper"},oe.default.createElement("h4",{className:"message"},"These ",Yt,"-level options override the global server options."),oe.default.createElement(Ft,{servers:Dt,currentServer:this.getSelectedServer(),setSelectedServer:this.setSelectedServer,setServerVariableValue:this.setServerVariableValue,getServerVariable:this.getServerVariable,getEffectiveServerValue:this.getEffectiveServerValue})))}}]),Ue}(oe.default.Component))},5327:(t,i,n)=>{n.r(i),n.d(i,{default:()=>pe});var o=n(7344),l=n(8656),_=n(6340),v=n(9972),O=n(5416),P=n(775),G=n(810),K=(n(5053),n(8096)),oe=n(6298),ue=Function.prototype,pe=function(ye){(0,v.default)(xe,ye);var Ue=(0,O.default)(xe);function xe(ke,we){var Z;return(0,o.default)(this,xe),Z=Ue.call(this,ke,we),(0,P.default)((0,_.default)(Z),"applyDefaultValue",function(Ft){var Dt=Ft||Z.props,Yt=Dt.onChange,ln=Dt.defaultValue;return Z.setState({value:ln}),Yt(ln)}),(0,P.default)((0,_.default)(Z),"onChange",function(Ft){Z.props.onChange((0,oe.Pz)(Ft))}),(0,P.default)((0,_.default)(Z),"onDomChange",function(Ft){var Dt=Ft.target.value;Z.setState({value:Dt},function(){return Z.onChange(Dt)})}),Z.state={value:(0,oe.Pz)(ke.value)||ke.defaultValue},ke.onChange(ke.value),Z}return(0,l.default)(xe,[{key:"UNSAFE_componentWillReceiveProps",value:function(ke){this.props.value!==ke.value&&ke.value!==this.state.value&&this.setState({value:(0,oe.Pz)(ke.value)}),!ke.value&&ke.defaultValue&&this.state.value&&this.applyDefaultValue(ke)}},{key:"render",value:function(){var ke=this.props,Z=ke.errors,Ft=this.state.value,Dt=Z.size>0,Yt=(0,ke.getComponent)("TextArea");return G.default.createElement("div",{className:"body-param"},G.default.createElement(Yt,{className:(0,K.default)("body-param__text",{invalid:Dt}),title:Z.size?Z.join(", "):"",value:Ft,onChange:this.onDomChange}))}}]),xe}(G.PureComponent);(0,P.default)(pe,"defaultProps",{onChange:ue,userHasEditedBody:!1})},2458:(t,i,n)=>{n.r(i),n.d(i,{getDefaultRequestBodyValue:()=>pe,default:()=>ye});var o=n(9334),l=n(2565),_=n(8818),v=n(2372),O=n(5171),P=n(4163),G=n(810),K=(n(5053),n(9569),n(9725)),oe=n(6298),ue=n(2518),pe=function(Ue,xe,ke){var we=Ue.getIn(["content",xe]),Z=we.get("schema").toJS(),Ft=void 0!==we.get("examples"),Dt=we.get("example"),Yt=Ft?we.getIn(["examples",ke,"value"]):Dt,ln=(0,oe.xi)(Z,xe,{includeWriteOnly:!0},Yt);return(0,oe.Pz)(ln)};const ye=function(Ue){var xe=Ue.userHasEditedBody,ke=Ue.requestBody,we=Ue.requestBodyValue,Z=Ue.requestBodyInclusionSetting,Ft=Ue.requestBodyErrors,Dt=Ue.getComponent,Yt=Ue.getConfigs,ln=Ue.specSelectors,$n=Ue.fn,nn=Ue.contentType,Jn=Ue.isExecute,zn=Ue.specPath,Zr=Ue.onChange,$r=Ue.onChangeIncludeEmpty,ui=Ue.activeExamplesKey,gi=Ue.updateActiveExamplesKey,Un=Ue.setRetainRequestBodyValueFlag,lr=function(Yr){var li={key:Yr,shouldDispatchInit:!1,defaultValue:!0};return"no value"===Z.get(Yr,"no value")&&(li.shouldDispatchInit=!0),li},ar=Dt("Markdown",!0),Cr=Dt("modelExample"),Wn=Dt("RequestBodyEditor"),ai=Dt("highlightCode"),ho=Dt("ExamplesSelectValueRetainer"),Yi=Dt("Example"),lo=Dt("ParameterIncludeEmpty"),pi=Yt().showCommonExtensions,Kn=ke&&ke.get("description")||null,Nn=ke&&ke.get("content")||new K.OrderedMap;nn=nn||Nn.keySeq().first()||"";var _i=Nn.get(nn,(0,K.OrderedMap)()),Zi=_i.get("schema",(0,K.OrderedMap)()),So=_i.get("examples",null),us=null==So?void 0:(0,l.default)(So).call(So,function(Yr,li){var eo,_a=null===(eo=Yr)||void 0===eo?void 0:eo.get("value",null);return _a&&(Yr=Yr.set("value",pe(ke,nn,li),_a)),Yr});if(Ft=K.List.isList(Ft)?Ft:(0,K.List)(),!_i.size)return null;var Zo="object"===_i.getIn(["schema","type"]),pa="binary"===_i.getIn(["schema","format"]),va="base64"===_i.getIn(["schema","format"]);if("application/octet-stream"===nn||0===(0,_.default)(nn).call(nn,"image/")||0===(0,_.default)(nn).call(nn,"audio/")||0===(0,_.default)(nn).call(nn,"video/")||pa||va){var qi=Dt("Input");return Jn?G.default.createElement(qi,{type:"file",onChange:function(Yr){Zr(Yr.target.files[0])}}):G.default.createElement("i",null,"Example values are not available for ",G.default.createElement("code",null,nn)," media types.")}if(Zo&&("application/x-www-form-urlencoded"===nn||0===(0,_.default)(nn).call(nn,"multipart/"))&&Zi.get("properties",(0,K.OrderedMap)()).size>0){var xo,$o=Dt("JsonSchemaForm"),rt=Dt("ParameterExt"),kt=Zi.get("properties",(0,K.OrderedMap)());return we=K.Map.isMap(we)?we:(0,K.OrderedMap)(),G.default.createElement("div",{className:"table-container"},Kn&&G.default.createElement(ar,{source:Kn}),G.default.createElement("table",null,G.default.createElement("tbody",null,K.Map.isMap(kt)&&(0,l.default)(xo=kt.entrySeq()).call(xo,function(Yr){var li,eo,_a=(0,o.default)(Yr,2),ps=_a[0],Fl=_a[1];if(!Fl.get("readOnly")){var Gl=pi?(0,oe.po)(Fl):null,Ou=(0,v.default)(li=Zi.get("required",(0,K.List)())).call(li,ps),Pc=Fl.get("type"),np=Fl.get("format"),ou=Fl.get("description"),yd=we.getIn([ps,"value"]),kp=we.getIn([ps,"errors"])||Ft,Y_=Z.get(ps)||!1,S_=Fl.has("default")||Fl.has("example")||Fl.hasIn(["items","example"])||Fl.hasIn(["items","default"]),j_=Fl.has("enum")&&(1===Fl.get("enum").size||Ou),Au=S_||j_,hd="";"array"!==Pc||Au||(hd=[]),("object"===Pc||Au)&&(hd=(0,oe.xi)(Fl,!1,{includeWriteOnly:!0})),"string"!=typeof hd&&"object"===Pc&&(hd=(0,oe.Pz)(hd)),"string"==typeof hd&&"array"===Pc&&(hd=JSON.parse(hd));var n_="string"===Pc&&("binary"===np||"base64"===np);return G.default.createElement("tr",{key:ps,className:"parameters","data-property-name":ps},G.default.createElement("td",{className:"parameters-col_name"},G.default.createElement("div",{className:Ou?"parameter__name required":"parameter__name"},ps,Ou?G.default.createElement("span",null,"\xa0*"):null),G.default.createElement("div",{className:"parameter__type"},Pc,np&&G.default.createElement("span",{className:"prop-format"},"($",np,")"),pi&&Gl.size?(0,l.default)(eo=Gl.entrySeq()).call(eo,function(co){var xr,ki=(0,o.default)(co,2),Co=ki[0],os=ki[1];return G.default.createElement(rt,{key:(0,O.default)(xr="".concat(Co,"-")).call(xr,os),xKey:Co,xVal:os})}):null),G.default.createElement("div",{className:"parameter__deprecated"},Fl.get("deprecated")?"deprecated":null)),G.default.createElement("td",{className:"parameters-col_description"},G.default.createElement(ar,{source:ou}),Jn?G.default.createElement("div",null,G.default.createElement($o,{fn:$n,dispatchInitialValue:!n_,schema:Fl,description:ps,getComponent:Dt,value:void 0===yd?hd:yd,required:Ou,errors:kp,onChange:function(co){Zr(co,[ps])}}),Ou?null:G.default.createElement(lo,{onChange:function(co){return $r(ps,co)},isIncluded:Y_,isIncludedOptions:lr(ps),isDisabled:(0,P.default)(yd)?0!==yd.length:!(0,oe.O2)(yd)})):null))}}))))}var Lt=pe(ke,nn,ui),cr=null;return(0,ue.O)(Lt)&&(cr="json"),G.default.createElement("div",null,Kn&&G.default.createElement(ar,{source:Kn}),us?G.default.createElement(ho,{userHasEditedBody:xe,examples:us,currentKey:ui,currentUserInputValue:we,onSelect:function(Yr){gi(Yr)},updateValue:Zr,defaultToFirstExample:!0,getComponent:Dt,setRetainRequestBodyValueFlag:Un}):null,Jn?G.default.createElement("div",null,G.default.createElement(Wn,{value:we,errors:Ft,defaultValue:Lt,onChange:Zr,getComponent:Dt})):G.default.createElement(Cr,{getComponent:Dt,getConfigs:Yt,specSelectors:ln,expandDepth:1,isExecute:Jn,schema:_i.get("schema"),specPath:zn.push("content",nn),example:G.default.createElement(ai,{className:"body-param__example",getConfigs:Yt,language:cr,value:(0,oe.Pz)(we)||Lt}),includeWriteOnly:!0}),us?G.default.createElement(Yi,{example:us.get(ui),getComponent:Dt,getConfigs:Yt}):null)}},9928:(t,i,n)=>{n.r(i),n.d(i,{default:()=>P});var o=n(7344),l=n(8656),_=n(9972),v=n(5416),O=n(810),P=(n(5053),function(G){(0,_.default)(oe,G);var K=(0,v.default)(oe);function oe(){return(0,o.default)(this,oe),K.apply(this,arguments)}return(0,l.default)(oe,[{key:"render",value:function(){var ue=this.props,ye=ue.oas3Selectors,Ue=ue.oas3Actions,xe=ue.getComponent,ke=ue.specSelectors.servers(),we=xe("Servers");return ke&&ke.size?O.default.createElement("div",null,O.default.createElement("span",{className:"servers-title"},"Servers"),O.default.createElement(we,{servers:ke,currentServer:ye.selectedServer(),setSelectedServer:Ue.setSelectedServer,setServerVariableValue:Ue.setServerVariableValue,getServerVariable:ye.serverVariableValue,getEffectiveServerValue:ye.serverEffectiveValue})):null}}]),oe}(O.default.Component))},6617:(t,i,n)=>{n.r(i),n.d(i,{default:()=>Ue});var o=n(9334),l=n(7344),_=n(8656),v=n(6340),O=n(9972),P=n(5416),G=n(775),K=n(5171),oe=n(1778),ue=n(2565),pe=n(810),ye=n(9725),Ue=(n(5053),n(9569),function(xe){(0,O.default)(we,xe);var ke=(0,P.default)(we);function we(){var Z,Ft;(0,l.default)(this,we);for(var Dt=arguments.length,Yt=new Array(Dt),ln=0;ln<Dt;ln++)Yt[ln]=arguments[ln];return Ft=ke.call.apply(ke,(0,K.default)(Z=[this]).call(Z,Yt)),(0,G.default)((0,v.default)(Ft),"onServerChange",function($n){Ft.setServer($n.target.value)}),(0,G.default)((0,v.default)(Ft),"onServerVariableValueChange",function($n){var nn=Ft.props,Jn=nn.setServerVariableValue,zn=nn.currentServer,Zr=$n.target.getAttribute("data-variable");"function"==typeof Jn&&Jn({server:zn,key:Zr,val:$n.target.value})}),(0,G.default)((0,v.default)(Ft),"setServer",function($n){(0,Ft.props.setSelectedServer)($n)}),Ft}return(0,_.default)(we,[{key:"componentDidMount",value:function(){var Z,Ft=this.props;Ft.currentServer||this.setServer(null===(Z=Ft.servers.first())||void 0===Z?void 0:Z.get("url"))}},{key:"UNSAFE_componentWillReceiveProps",value:function(Z){var Ft=this,Dt=Z.servers,Yt=Z.setServerVariableValue,ln=Z.getServerVariable;if(this.props.currentServer!==Z.currentServer||this.props.servers!==Z.servers){var $n,nn=(0,oe.default)(Dt).call(Dt,function(gi){return gi.get("url")===Z.currentServer}),Jn=(0,oe.default)($n=this.props.servers).call($n,function(gi){return gi.get("url")===Ft.props.currentServer})||(0,ye.OrderedMap)();if(!nn)return this.setServer(Dt.first().get("url"));var zn=Jn.get("variables")||(0,ye.OrderedMap)(),Zr=((0,oe.default)(zn).call(zn,function(gi){return gi.get("default")})||(0,ye.OrderedMap)()).get("default"),$r=nn.get("variables")||(0,ye.OrderedMap)(),ui=((0,oe.default)($r).call($r,function(gi){return gi.get("default")})||(0,ye.OrderedMap)()).get("default");(0,ue.default)($r).call($r,function(gi,Un){ln(Z.currentServer,Un)&&Zr===ui||Yt({server:Z.currentServer,key:Un,val:gi.get("default")||""})})}}},{key:"render",value:function(){var Z,Ft,Dt=this,Yt=this.props,ln=Yt.servers,$n=Yt.currentServer,nn=Yt.getServerVariable,Jn=Yt.getEffectiveServerValue,zn=((0,oe.default)(ln).call(ln,function($r){return $r.get("url")===$n})||(0,ye.OrderedMap)()).get("variables")||(0,ye.OrderedMap)(),Zr=0!==zn.size;return pe.default.createElement("div",{className:"servers"},pe.default.createElement("label",{htmlFor:"servers"},pe.default.createElement("select",{onChange:this.onServerChange,value:$n},(0,ue.default)(Z=ln.valueSeq()).call(Z,function($r){return pe.default.createElement("option",{value:$r.get("url"),key:$r.get("url")},$r.get("url"),$r.get("description")&&" - ".concat($r.get("description")))}).toArray())),Zr?pe.default.createElement("div",null,pe.default.createElement("div",{className:"computed-url"},"Computed URL:",pe.default.createElement("code",null,Jn($n))),pe.default.createElement("h4",null,"Server variables"),pe.default.createElement("table",null,pe.default.createElement("tbody",null,(0,ue.default)(Ft=zn.entrySeq()).call(Ft,function($r){var ui,gi=(0,o.default)($r,2),Un=gi[0],lr=gi[1];return pe.default.createElement("tr",{key:Un},pe.default.createElement("td",null,Un),pe.default.createElement("td",null,lr.get("enum")?pe.default.createElement("select",{"data-variable":Un,onChange:Dt.onServerVariableValueChange},(0,ue.default)(ui=lr.get("enum")).call(ui,function(ar){return pe.default.createElement("option",{selected:ar===nn($n,Un),key:ar,value:ar},ar)})):pe.default.createElement("input",{type:"text",value:nn($n,Un)||"",onChange:Dt.onServerVariableValueChange,"data-variable":Un})))})))):null)}}]),we}(pe.default.Component))},7779:(t,i,n)=>{n.r(i),n.d(i,{isOAS3:()=>v,isSwagger2:()=>O,OAS3ComponentWrapFactory:()=>P});var o=n(863),l=n(3590),_=n(810);function v(G){var K=G.get("openapi");return"string"==typeof K&&(0,l.default)(K).call(K,"3.0.")&&K.length>4}function O(G){var K=G.get("swagger");return"string"==typeof K&&(0,l.default)(K).call(K,"2.0")}function P(G){return function(K,oe){return function(ue){return oe&&oe.specSelectors&&oe.specSelectors.specJson?v(oe.specSelectors.specJson())?_.default.createElement(G,(0,o.default)({},ue,oe,{Ori:K})):_.default.createElement(K,ue):(console.warn("OAS3 wrapper: couldn't get spec"),null)}}}},7451:(t,i,n)=>{n.r(i),n.d(i,{default:()=>oe});var o=n(2044),l=n(3723),_=n(1741),v=n(6467),O=n(7761),P=n(7002),G=n(5065),K=n(9666);function oe(){return{components:v.default,wrapComponents:O.default,statePlugins:{spec:{wrapSelectors:o,selectors:_},auth:{wrapSelectors:l},oas3:{actions:P,reducers:K.default,selectors:G}}}}},9666:(t,i,n)=>{n.r(i),n.d(i,{default:()=>pe});var o=n(775);const l=(n.d(Ue={},{default:()=>j8}),Ue);var Ue,_,v=n(9334),O=n(5487),P=n(8136),G=n(29),K=n(6785),oe=n(9725),ue=n(7002);const pe=((0,o.default)(_={},ue.UPDATE_SELECTED_SERVER,function(ye,Ue){var xe=Ue.payload,we=xe.namespace;return ye.setIn(we?[we,"selectedServer"]:["selectedServer"],xe.selectedServerUrl)}),(0,o.default)(_,ue.UPDATE_REQUEST_BODY_VALUE,function(ye,Ue){var xe=Ue.payload,ke=xe.value,Z=(0,v.default)(xe.pathMethod,2),Ft=Z[0],Dt=Z[1];if(!oe.Map.isMap(ke))return ye.setIn(["requestData",Ft,Dt,"bodyValue"],ke);var Yt,ln=ye.getIn(["requestData",Ft,Dt,"bodyValue"])||(0,oe.Map)();oe.Map.isMap(ln)||(ln=(0,oe.Map)());var $n=(0,O.default)(ke).call(ke),nn=(0,l.default)($n),Jn=(0,P.default)(nn).call(nn,0);return(0,G.default)(Jn).call(Jn,function(zn){var Zr=ke.getIn([zn]);ln.has(zn)&&oe.Map.isMap(Zr)||(Yt=ln.setIn([zn,"value"],Zr))}),ye.setIn(["requestData",Ft,Dt,"bodyValue"],Yt)}),(0,o.default)(_,ue.UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG,function(ye,Ue){var xe=Ue.payload,ke=xe.value,Z=(0,v.default)(xe.pathMethod,2);return ye.setIn(["requestData",Z[0],Z[1],"retainBodyValue"],ke)}),(0,o.default)(_,ue.UPDATE_REQUEST_BODY_INCLUSION,function(ye,Ue){var xe=Ue.payload,ke=xe.value,Z=xe.name,Ft=(0,v.default)(xe.pathMethod,2);return ye.setIn(["requestData",Ft[0],Ft[1],"bodyInclusion",Z],ke)}),(0,o.default)(_,ue.UPDATE_ACTIVE_EXAMPLES_MEMBER,function(ye,Ue){var xe=Ue.payload,ke=xe.name,Z=xe.contextType,Ft=xe.contextName,Dt=(0,v.default)(xe.pathMethod,2);return ye.setIn(["examples",Dt[0],Dt[1],Z,Ft,"activeExample"],ke)}),(0,o.default)(_,ue.UPDATE_REQUEST_CONTENT_TYPE,function(ye,Ue){var xe=Ue.payload,ke=xe.value,Z=(0,v.default)(xe.pathMethod,2);return ye.setIn(["requestData",Z[0],Z[1],"requestContentType"],ke)}),(0,o.default)(_,ue.UPDATE_RESPONSE_CONTENT_TYPE,function(ye,Ue){var xe=Ue.payload;return ye.setIn(["requestData",xe.path,xe.method,"responseContentType"],xe.value)}),(0,o.default)(_,ue.UPDATE_SERVER_VARIABLE_VALUE,function(ye,Ue){var xe=Ue.payload,ke=xe.server,we=xe.namespace,Z=xe.key;return ye.setIn(we?[we,"serverVariableValues",ke,Z]:["serverVariableValues",ke,Z],xe.val)}),(0,o.default)(_,ue.SET_REQUEST_BODY_VALIDATE_ERROR,function(ye,Ue){var xe=Ue.payload,ke=xe.path,we=xe.method,Z=xe.validationErrors,Ft=[];if(Ft.push("Required field is not provided"),Z.missingBodyValue)return ye.setIn(["requestData",ke,we,"errors"],(0,oe.fromJS)(Ft));if(Z.missingRequiredKeys&&Z.missingRequiredKeys.length>0){var Dt=Z.missingRequiredKeys;return ye.updateIn(["requestData",ke,we,"bodyValue"],(0,oe.fromJS)({}),function(Yt){return(0,K.default)(Dt).call(Dt,function(ln,$n){return ln.setIn([$n,"errors"],(0,oe.fromJS)(Ft))},Yt)})}return console.warn("unexpected result: SET_REQUEST_BODY_VALIDATE_ERROR"),ye}),(0,o.default)(_,ue.CLEAR_REQUEST_BODY_VALIDATE_ERROR,function(ye,Ue){var xe=Ue.payload,ke=xe.path,we=xe.method,Z=ye.getIn(["requestData",ke,we,"bodyValue"]);if(!oe.Map.isMap(Z))return ye.setIn(["requestData",ke,we,"errors"],(0,oe.fromJS)([]));var Ft=(0,O.default)(Z).call(Z),Dt=(0,l.default)(Ft),Yt=(0,P.default)(Dt).call(Dt,0);return Yt?ye.updateIn(["requestData",ke,we,"bodyValue"],(0,oe.fromJS)({}),function(ln){return(0,K.default)(Yt).call(Yt,function($n,nn){return $n.setIn([nn,"errors"],(0,oe.fromJS)([]))},ln)}):ye}),(0,o.default)(_,ue.CLEAR_REQUEST_BODY_VALUE,function(ye,Ue){var ke=(0,v.default)(Ue.payload.pathMethod,2),we=ke[0],Z=ke[1],Ft=ye.getIn(["requestData",we,Z,"bodyValue"]);return Ft?oe.Map.isMap(Ft)?ye.setIn(["requestData",we,Z,"bodyValue"],(0,oe.Map)()):ye.setIn(["requestData",we,Z,"bodyValue"],""):ye}),_)},5065:(t,i,n)=>{n.r(i),n.d(i,{selectedServer:()=>Ue,requestBodyValue:()=>xe,shouldRetainRequestBodyValue:()=>ke,hasUserEditedBody:()=>we,requestBodyInclusionSetting:()=>Z,requestBodyErrors:()=>Ft,activeExamplesMember:()=>Dt,requestContentType:()=>Yt,responseContentType:()=>ln,serverVariableValue:()=>$n,serverVariables:()=>nn,serverEffectiveValue:()=>Jn,validateBeforeExecute:()=>zn,validateShallowRequired:()=>Zr});var o=n(2691),l=n(5171),_=n(2565),v=n(29),O=n(2740),P=n(8818),G=n(9725),K=n(7779),oe=n(2458),ue=n(6298);function pe($r){return function(){for(var ui=arguments.length,gi=new Array(ui),Un=0;Un<ui;Un++)gi[Un]=arguments[Un];return function(lr){var ar=lr.getSystem().specSelectors.specJson();return(0,K.isOAS3)(ar)?$r.apply(void 0,gi):null}}}var ye,Ue=pe(function($r,ui){return $r.getIn(ui?[ui,"selectedServer"]:["selectedServer"])||""}),xe=pe(function($r,ui,gi){return $r.getIn(["requestData",ui,gi,"bodyValue"])||null}),ke=pe(function($r,ui,gi){return $r.getIn(["requestData",ui,gi,"retainBodyValue"])||!1}),we=function($r,ui,gi){return function(Un){var lr=Un.getSystem(),ar=lr.oas3Selectors,Cr=lr.specSelectors,Wn=Cr.specJson();if((0,K.isOAS3)(Wn)){var ai=!1,ho=ar.requestContentType(ui,gi),Yi=ar.requestBodyValue(ui,gi);if(G.Map.isMap(Yi)&&(Yi=(0,ue.Pz)(Yi.mapEntries(function(pi){return G.Map.isMap(pi[1])?[pi[0],pi[1].get("value")]:pi}).toJS())),G.List.isList(Yi)&&(Yi=(0,ue.Pz)(Yi)),ho){var lo=(0,oe.getDefaultRequestBodyValue)(Cr.specResolvedSubtree(["paths",ui,gi,"requestBody"]),ho,ar.activeExamplesMember(ui,gi,"requestBody","requestBody"));ai=!!Yi&&Yi!==lo}return ai}return null}},Z=pe(function($r,ui,gi){return $r.getIn(["requestData",ui,gi,"bodyInclusion"])||(0,G.Map)()}),Ft=pe(function($r,ui,gi){return $r.getIn(["requestData",ui,gi,"errors"])||null}),Dt=pe(function($r,ui,gi,Un,lr){return $r.getIn(["examples",ui,gi,Un,lr,"activeExample"])||null}),Yt=pe(function($r,ui,gi){return $r.getIn(["requestData",ui,gi,"requestContentType"])||null}),ln=pe(function($r,ui,gi){return $r.getIn(["requestData",ui,gi,"responseContentType"])||null}),$n=pe(function($r,ui,gi){var Un;if("string"!=typeof ui){var lr=ui.server,ar=ui.namespace;Un=ar?[ar,"serverVariableValues",lr,gi]:["serverVariableValues",lr,gi]}else Un=["serverVariableValues",ui,gi];return $r.getIn(Un)||null}),nn=pe(function($r,ui){var gi;if("string"!=typeof ui){var Un=ui.server,lr=ui.namespace;gi=lr?[lr,"serverVariableValues",Un]:["serverVariableValues",Un]}else gi=["serverVariableValues",ui];return $r.getIn(gi)||(0,G.OrderedMap)()}),Jn=pe(function($r,ui){var gi,Un;if("string"!=typeof ui){var ar=ui.namespace;Un=ui.server,gi=$r.getIn(ar?[ar,"serverVariableValues",Un]:["serverVariableValues",Un])}else gi=$r.getIn(["serverVariableValues",Un=ui]);gi=gi||(0,G.OrderedMap)();var Cr=Un;return(0,_.default)(gi).call(gi,function(Wn,ai){Cr=Cr.replace(new RegExp("{".concat(ai,"}"),"g"),Wn)}),Cr}),zn=(ye=function($r,ui){return Un=(Un=ui)||[],!!$r.getIn((0,l.default)(lr=["requestData"]).call(lr,(0,o.default)(Un),["bodyValue"]));var Un,lr},function(){for(var $r=arguments.length,ui=new Array($r),gi=0;gi<$r;gi++)ui[gi]=arguments[gi];return function(Un){var lr,ar,Cr=Un.getSystem().specSelectors.specJson(),Wn=(0,l.default)(lr=[]).call(lr,ui)[1]||[];return!Cr.getIn((0,l.default)(ar=["paths"]).call(ar,(0,o.default)(Wn),["requestBody","required"]))||ye.apply(void 0,ui)}}),Zr=function($r,ui){var gi,Un=ui.oas3RequiredRequestBodyContentType,lr=ui.oas3RequestContentType,ar=ui.oas3RequestBodyValue,Cr=[];if(!G.Map.isMap(ar))return Cr;var Wn=[];return(0,v.default)(gi=(0,O.default)(Un.requestContentType)).call(gi,function(ai){if(ai===lr){var ho=Un.requestContentType[ai];(0,v.default)(ho).call(ho,function(Yi){(0,P.default)(Wn).call(Wn,Yi)<0&&Wn.push(Yi)})}}),(0,v.default)(Wn).call(Wn,function(ai){ar.getIn([ai,"value"])||Cr.push(ai)}),Cr}},1741:(t,i,n)=>{n.r(i),n.d(i,{servers:()=>K,isSwagger2:()=>oe});var v,o=n(8639),l=n(9725),_=n(7779),O=function(ue){return ue||(0,l.Map)()},P=(0,o.createSelector)(O,function(ue){return ue.get("json",(0,l.Map)())}),G=(0,o.createSelector)(O,function(ue){return ue.get("resolved",(0,l.Map)())}),K=(v=(0,o.createSelector)(function(ue){var pe=G(ue);return pe.count()<1&&(pe=P(ue)),pe},function(ue){return ue.getIn(["servers"])||(0,l.Map)()}),function(){return function(ue){var pe=ue.getSystem().specSelectors.specJson();if((0,_.isOAS3)(pe)){for(var ye=arguments.length,Ue=new Array(ye>1?ye-1:0),xe=1;xe<ye;xe++)Ue[xe-1]=arguments[xe];return v.apply(void 0,Ue)}return null}}),oe=function(ue,pe){return function(){var ye=pe.getSystem().specSelectors.specJson();return(0,_.isSwagger2)(ye)}}},2044:(t,i,n)=>{n.r(i),n.d(i,{definitions:()=>pe,hasHost:()=>ye,securityDefinitions:()=>Ue,host:()=>xe,basePath:()=>ke,consumes:()=>we,produces:()=>Z,schemes:()=>Ft,servers:()=>Dt,isOAS3:()=>Yt,isSwagger2:()=>ln});var o=n(8639),l=n(3881),_=n(9725),v=n(7779);function O($n){return function(nn,Jn){return function(){var zn=Jn.getSystem().specSelectors.specJson();return(0,v.isOAS3)(zn)?$n.apply(void 0,arguments):nn.apply(void 0,arguments)}}}var P=function($n){return $n||(0,_.Map)()},G=O((0,o.createSelector)(function(){return null})),K=(0,o.createSelector)(P,function($n){return $n.get("json",(0,_.Map)())}),oe=(0,o.createSelector)(P,function($n){return $n.get("resolved",(0,_.Map)())}),ue=function($n){var nn=oe($n);return nn.count()<1&&(nn=K($n)),nn},pe=O((0,o.createSelector)(ue,function($n){var nn=$n.getIn(["components","schemas"]);return _.Map.isMap(nn)?nn:(0,_.Map)()})),ye=O(function($n){return ue($n).hasIn(["servers",0])}),Ue=O((0,o.createSelector)(l.specJsonWithResolvedSubtrees,function($n){return $n.getIn(["components","securitySchemes"])||null})),xe=G,ke=G,we=G,Z=G,Ft=G,Dt=O((0,o.createSelector)(ue,function($n){return $n.getIn(["servers"])||(0,_.Map)()})),Yt=function($n,nn){return function(){var Jn=nn.getSystem().specSelectors.specJson();return(0,v.isOAS3)(_.Map.isMap(Jn)?Jn:(0,_.Map)())}},ln=function($n,nn){return function(){var Jn=nn.getSystem().specSelectors.specJson();return(0,v.isSwagger2)(_.Map.isMap(Jn)?Jn:(0,_.Map)())}}},356:(t,i,n)=>{n.r(i),n.d(i,{default:()=>O});var o=n(302),l=n(810),_=n(7779),v=["Ori"];const O=(0,_.OAS3ComponentWrapFactory)(function(P){var G=P.Ori,K=(0,o.default)(P,v),oe=K.schema,ue=K.getComponent,pe=K.errSelectors,ye=K.authorized,Ue=K.onAuthChange,xe=K.name,ke=ue("HttpAuth");return"http"===oe.get("type")?l.default.createElement(ke,{key:xe,schema:oe,name:xe,errSelectors:pe,authorized:ye,getComponent:ue,onChange:Ue}):l.default.createElement(G,K)})},7761:(t,i,n)=>{n.r(i),n.d(i,{default:()=>G});var o=n(2460),l=n(356),_=n(9487),v=n(58),O=n(3499),P=n(287);const G={Markdown:o.default,AuthItem:l.default,JsonSchema_string:P.default,VersionStamp:_.default,model:O.default,onlineValidatorBadge:v.default}},287:(t,i,n)=>{n.r(i),n.d(i,{default:()=>O});var o=n(302),l=n(810),_=n(7779),v=["Ori"];const O=(0,_.OAS3ComponentWrapFactory)(function(P){var G=P.Ori,K=(0,o.default)(P,v),oe=K.schema,ue=K.getComponent,pe=K.errors,ye=K.onChange,Ue=oe&&oe.get?oe.get("format"):null,xe=oe&&oe.get?oe.get("type"):null,ke=ue("Input");return xe&&"string"===xe&&Ue&&("binary"===Ue||"base64"===Ue)?l.default.createElement(ke,{type:"file",className:pe.length?"invalid":"",title:pe.length?pe:"",onChange:function(we){ye(we.target.files[0])},disabled:G.isDisabled}):l.default.createElement(G,K)})},2460:(t,i,n)=>{n.r(i),n.d(i,{Markdown:()=>K,default:()=>oe});var o=n(5942),l=n(810),_=(n(5053),n(8096)),v=n(3952),O=n(7779),P=n(5466),G=new v.Remarkable("commonmark");G.block.ruler.enable(["table"]),G.set({linkTarget:"_blank"});var K=function(ue){var pe=ue.source,ye=ue.className,Ue=void 0===ye?"":ye;if("string"!=typeof pe)return null;if(pe){var ke,we=(0,ue.getConfigs)().useUnsafeMarkdown,Z=G.render(pe),Ft=(0,P.s)(Z,{useUnsafeMarkdown:we});return"string"==typeof Ft&&(ke=(0,o.default)(Ft).call(Ft)),l.default.createElement("div",{dangerouslySetInnerHTML:{__html:ke},className:(0,_.default)(Ue,"renderedMarkdown")})}return null};K.defaultProps={getConfigs:function(){return{useUnsafeMarkdown:!1}}};const oe=(0,O.OAS3ComponentWrapFactory)(K)},3499:(t,i,n)=>{n.r(i),n.d(i,{default:()=>ue});var o=n(863),l=n(7344),_=n(8656),v=n(9972),O=n(5416),P=n(810),G=(n(5053),n(7779)),K=n(1543),oe=function(pe){(0,v.default)(Ue,pe);var ye=(0,O.default)(Ue);function Ue(){return(0,l.default)(this,Ue),ye.apply(this,arguments)}return(0,_.default)(Ue,[{key:"render",value:function(){var xe=this.props,ke=xe.getConfigs,we=["model-box"],Z=null;return!0===xe.schema.get("deprecated")&&(we.push("deprecated"),Z=P.default.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),P.default.createElement("div",{className:we.join(" ")},Z,P.default.createElement(K.Z,(0,o.default)({},this.props,{getConfigs:ke,depth:1,expandDepth:this.props.expandDepth||0})))}}]),Ue}(P.Component);const ue=(0,G.OAS3ComponentWrapFactory)(oe)},58:(t,i,n)=>{n.r(i),n.d(i,{default:()=>_});var o=n(7779),l=n(5623);const _=(0,o.OAS3ComponentWrapFactory)(l.Z)},9487:(t,i,n)=>{n.r(i),n.d(i,{default:()=>l});var o=n(810);const l=(0,n(7779).OAS3ComponentWrapFactory)(function(_){return o.default.createElement("span",null,o.default.createElement(_.Ori,_),o.default.createElement("small",{className:"version-stamp"},o.default.createElement("pre",{className:"version"},"OAS3")))})},8560:(t,i,n)=>{n.r(i),n.d(i,{default:()=>_});var o=n(6235),l=!1;function _(){return{statePlugins:{spec:{wrapActions:{updateSpec:function(v){return function(){return l=!0,v.apply(void 0,arguments)}},updateJsonSpec:function(v,O){return function(){var P=O.getConfigs().onComplete;return l&&"function"==typeof P&&((0,o.default)(P,0),l=!1),v.apply(void 0,arguments)}}}}}}}},4624:(t,i,n)=>{n.r(i),n.d(i,{requestSnippetGenerator_curl_bash:()=>ln,requestSnippetGenerator_curl_cmd:()=>$n,requestSnippetGenerator_curl_powershell:()=>Yt});var o=n(2691),l=n(9334),_=n(3248),v=n(8818),O=n(5942),P=n(5171),G=n(313),K=n(2565);const oe=(n.d(Jn={},{default:()=>V8()}),Jn);var Jn,ue=n(2954),pe=n(2372),ye=n(7504),Ue=n(9725),xe=function(nn){var Jn;return(0,v.default)(nn).call(nn,"_**[]")<0?nn:(0,O.default)(Jn=nn.split("_**[]")[0]).call(Jn)},ke=function(nn){return"-d "===nn||/^[_\/-]/g.test(nn)?nn:"'"+nn.replace(/'/g,"'\\''")+"'"},we=function(nn){return"-d "===(nn=nn.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,"^\n"))?nn.replace(/-d /g,"-d ^\n"):/^[_\/-]/g.test(nn)?nn:'"'+nn+'"'},Z=function(nn){return"-d "===nn?nn:/\n/.test(nn)?'@"\n'+nn.replace(/"/g,'\\"').replace(/`/g,"``").replace(/\$/,"`$")+'\n"@':/^[_\/-]/g.test(nn)?nn:"'"+nn.replace(/"/g,'""').replace(/'/g,"''")+"'"},Dt=function(nn,Jn,zn){var Zr=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",$r=!1,ui="",gi=function(){for(var Lt=arguments.length,cr=new Array(Lt),Yr=0;Yr<Lt;Yr++)cr[Yr]=arguments[Yr];return ui+=" "+(0,K.default)(cr).call(cr,Jn).join(" ")},Un=function(){for(var Lt=arguments.length,cr=new Array(Lt),Yr=0;Yr<Lt;Yr++)cr[Yr]=arguments[Yr];return ui+=(0,K.default)(cr).call(cr,Jn).join(" ")},lr=function(){return ui+=" ".concat(zn)},ar=function(){var cr=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return ui+=(0,oe.default)(" ").call(" ",cr)},Cr=nn.get("headers");if(ui+="curl"+Zr,nn.has("curlOptions")&&gi.apply(void 0,(0,o.default)(nn.get("curlOptions"))),gi("-X",nn.get("method")),lr(),ar(),Un("".concat(nn.get("url"))),Cr&&Cr.size){var Wn,ai,ho=(0,_.default)((0,ue.default)(Wn=nn.get("headers")).call(Wn));try{for(ho.s();!(ai=ho.n()).done;){var Yi,lo=ai.value;lr(),ar();var pi=(0,l.default)(lo,2),Kn=pi[0],Nn=pi[1];Un("-H",(0,P.default)(Yi="".concat(Kn,": ")).call(Yi,Nn)),$r=$r||/^content-type$/i.test(Kn)&&/^multipart\/form-data$/i.test(Nn)}}catch(Lt){ho.e(Lt)}finally{ho.f()}}var _i,Zi=nn.get("body");if(Zi)if($r&&(0,pe.default)(_i=["POST","PUT","PATCH"]).call(_i,nn.get("method"))){var So,us=(0,_.default)(Zi.entrySeq());try{for(us.s();!(So=us.n()).done;){var Zo,pa,va,qi=(0,l.default)(So.value,2),$o=qi[1],rt=xe(qi[0]);lr(),ar(),Un("-F"),gi($o instanceof ye.Z.File?(0,P.default)(Zo=(0,P.default)(pa="".concat(rt,"=@")).call(pa,$o.name)).call(Zo,$o.type?";type=".concat($o.type):""):(0,P.default)(va="".concat(rt,"=")).call(va,$o))}}catch(Lt){us.e(Lt)}finally{us.f()}}else if(Zi instanceof ye.Z.File)lr(),ar(),Un("--data-binary '@".concat(Zi.name,"'"));else{lr(),ar(),Un("-d ");var kt=Zi;Ue.Map.isMap(kt)?Un(function Ft(nn){var Jn,zn=[],Zr=(0,_.default)(nn.get("body").entrySeq());try{for(Zr.s();!(Jn=Zr.n()).done;){var $r,ui,gi,Un=(0,l.default)(Jn.value,2),ar=Un[1],Cr=xe(Un[0]);zn.push(ar instanceof ye.Z.File?(0,P.default)($r=(0,P.default)(ui=' "'.concat(Cr,'": {\n "name": "')).call(ui,ar.name,'"')).call($r,ar.type?',\n "type": "'.concat(ar.type,'"'):"","\n }"):(0,P.default)(gi=' "'.concat(Cr,'": ')).call(gi,(0,G.default)(ar,null,2).replace(/(\r\n|\r|\n)/g,"\n ")))}}catch(Wn){Zr.e(Wn)}finally{Zr.f()}return"{\n".concat(zn.join(",\n"),"\n}")}(nn)):("string"!=typeof kt&&(kt=(0,G.default)(kt)),Un(kt))}else Zi||"POST"!==nn.get("method")||(lr(),ar(),Un("-d ''"));return ui},Yt=function(nn){return Dt(nn,Z,"`\n",".exe")},ln=function(nn){return Dt(nn,ke,"\\\n")},$n=function(nn){return Dt(nn,we,"^\n")}},6575:(t,i,n)=>{n.r(i),n.d(i,{default:()=>v});var o=n(4624),l=n(4669),_=n(4206);const v=function(){return{components:{RequestSnippets:_.default},fn:o,statePlugins:{requestSnippets:{selectors:l}}}}},4206:(t,i,n)=>{n.r(i),n.d(i,{default:()=>Ue});var o=n(9334),l=n(6145),_=n(8898),v=n(29),O=n(2565),P=n(810),G=(n(5053),n(9908)),K=n(7068),oe=n(9874),ue=n(471),pe={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(250, 250, 250)",paddingBottom:"0",paddingTop:"0",border:"1px solid rgb(51, 51, 51)",borderRadius:"4px 4px 0 0",boxShadow:"none",borderBottom:"none"},ye={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(51, 51, 51)",boxShadow:"none",border:"1px solid rgb(51, 51, 51)",paddingBottom:"0",paddingTop:"0",borderRadius:"4px 4px 0 0",marginTop:"-5px",marginRight:"-5px",marginLeft:"-5px",zIndex:"9999",borderBottom:"none"};const Ue=function(xe){var ke,we,Z=xe.request,Ft=xe.requestSnippetsSelectors,Dt=xe.getConfigs,Yt=(0,K.default)(Dt)?Dt():null,ln=!1!==(0,G.default)(Yt,"syntaxHighlight")&&(0,G.default)(Yt,"syntaxHighlight.activated",!0),$n=(0,P.useRef)(null),nn=(0,P.useState)(null===(ke=Ft.getSnippetGenerators())||void 0===ke?void 0:ke.keySeq().first()),Jn=(0,o.default)(nn,2),zn=Jn[0],Zr=Jn[1],$r=(0,P.useState)(Ft?.getDefaultExpanded()),ui=(0,o.default)($r,2),gi=ui[0],Un=ui[1];(0,P.useEffect)(function(){},[]),(0,P.useEffect)(function(){var lo,pi=(0,l.default)(lo=(0,_.default)($n.current.childNodes)).call(lo,function(Kn){var Nn;return!!Kn.nodeType&&(null===(Nn=Kn.classList)||void 0===Nn?void 0:Nn.contains("curl-command"))});return(0,v.default)(pi).call(pi,function(Kn){return Kn.addEventListener("mousewheel",ho,{passive:!1})}),function(){(0,v.default)(pi).call(pi,function(Kn){return Kn.removeEventListener("mousewheel",ho)})}},[Z]);var lr=Ft.getSnippetGenerators(),ar=lr.get(zn),Cr=ar.get("fn")(Z),Wn=function(){Un(!gi)},ai=function(lo){return lo===zn?ye:pe},ho=function(lo){var pi=lo.target,Kn=lo.deltaY,Nn=pi.scrollHeight,_i=pi.offsetHeight,Zi=pi.scrollTop;Nn>_i&&(0===Zi&&Kn<0||_i+Zi>=Nn&&Kn>0)&&lo.preventDefault()},Yi=ln?P.default.createElement(ue.d3,{language:ar.get("syntax"),className:"curl microlight",style:(0,ue.C2)((0,G.default)(Yt,"syntaxHighlight.theme"))},Cr):P.default.createElement("textarea",{readOnly:!0,className:"curl",value:Cr});return P.default.createElement("div",{className:"request-snippets",ref:$n},P.default.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},P.default.createElement("h4",{onClick:function(){return Wn()},style:{cursor:"pointer"}},"Snippets"),P.default.createElement("button",{onClick:function(){return Wn()},style:{border:"none",background:"none"},title:gi?"Collapse operation":"Expand operation"},P.default.createElement("svg",{className:"arrow",width:"10",height:"10"},P.default.createElement("use",{href:gi?"#large-arrow-down":"#large-arrow",xlinkHref:gi?"#large-arrow-down":"#large-arrow"})))),gi&&P.default.createElement("div",{className:"curl-command"},P.default.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},(0,O.default)(we=lr.entrySeq()).call(we,function(lo){var pi=(0,o.default)(lo,2),Kn=pi[0],Nn=pi[1];return P.default.createElement("div",{style:ai(Kn),className:"btn",key:Kn,onClick:function(){var _i;zn!==(_i=Kn)&&Zr(_i)}},P.default.createElement("h4",{style:Kn===zn?{color:"white"}:{}},Nn.get("title")))})),P.default.createElement("div",{className:"copy-to-clipboard"},P.default.createElement(oe.CopyToClipboard,{text:Cr},P.default.createElement("button",null))),P.default.createElement("div",null,Yi)))}},4669:(t,i,n)=>{n.r(i),n.d(i,{getGenerators:()=>G,getSnippetGenerators:()=>K,getActiveLanguage:()=>oe,getDefaultExpanded:()=>ue});var o=n(6145),l=n(2372),_=n(2565),v=n(8639),O=n(9725),P=function(pe){return pe||(0,O.Map)()},G=(0,v.createSelector)(P,function(pe){var ye=pe.get("languages"),Ue=pe.get("generators",(0,O.Map)());return!ye||ye.isEmpty()?Ue:(0,o.default)(Ue).call(Ue,function(xe,ke){return(0,l.default)(ye).call(ye,ke)})}),K=function(pe){return function(ye){var Ue,xe,ke=ye.fn;return(0,o.default)(Ue=(0,_.default)(xe=G(pe)).call(xe,function(we,Z){var Ft=ke["requestSnippetGenerator_".concat(Z)];return"function"!=typeof Ft?null:we.set("fn",Ft)})).call(Ue,function(we){return we})}},oe=(0,v.createSelector)(P,function(pe){return pe.get("activeLanguage")}),ue=(0,v.createSelector)(P,function(pe){return pe.get("defaultExpanded")})},6195:(t,i,n)=>{n.r(i),n.d(i,{ErrorBoundary:()=>oe,default:()=>ue});var o=n(7344),l=n(8656),_=n(9972),v=n(5416),O=n(5171),P=(n(5053),n(810)),G=n(6189),K=n(9403),oe=function(pe){(0,_.default)(Ue,pe);var ye=(0,v.default)(Ue);function Ue(){var xe,ke;(0,o.default)(this,Ue);for(var we=arguments.length,Z=new Array(we),Ft=0;Ft<we;Ft++)Z[Ft]=arguments[Ft];return(ke=ye.call.apply(ye,(0,O.default)(xe=[this]).call(xe,Z))).state={hasError:!1,error:null},ke}return(0,l.default)(Ue,[{key:"componentDidCatch",value:function(xe,ke){this.props.fn.componentDidCatch(xe,ke)}},{key:"render",value:function(){var xe=this.props,we=xe.targetName,Z=xe.children;if(this.state.hasError){var Ft=(0,xe.getComponent)("Fallback");return P.default.createElement(Ft,{name:we})}return Z}}],[{key:"getDerivedStateFromError",value:function(xe){return{hasError:!0,error:xe}}}]),Ue}(P.Component);oe.defaultProps={targetName:"this component",getComponent:function(){return K.default},fn:{componentDidCatch:G.componentDidCatch},children:null};const ue=oe},9403:(t,i,n)=>{n.r(i),n.d(i,{default:()=>l});var o=n(810);n(5053);const l=function(_){var v=_.name;return o.default.createElement("div",{className:"fallback"},"\u{1f631} ",o.default.createElement("i",null,"Could not render ","t"===v?"this component":v,", see the console."))}},6189:(t,i,n)=>{n.r(i),n.d(i,{componentDidCatch:()=>G,withErrorBoundary:()=>K});var o=n(863),l=n(7344),_=n(8656),v=n(9972),O=n(5416),P=n(810),G=console.error,K=function(oe){return function(ue){var pe,ye=oe(),Ue=ye.getComponent,xe=ye.fn,ke=Ue("ErrorBoundary"),we=xe.getDisplayName(ue),Z=function(Ft){(0,v.default)(Yt,Ft);var Dt=(0,O.default)(Yt);function Yt(){return(0,l.default)(this,Yt),Dt.apply(this,arguments)}return(0,_.default)(Yt,[{key:"render",value:function(){return P.default.createElement(ke,{targetName:we,getComponent:Ue,fn:xe},P.default.createElement(ue,(0,o.default)({},this.props,this.context)))}}]),Yt}(P.Component);return Z.displayName="WithErrorBoundary(".concat(we,")"),(pe=ue).prototype&&pe.prototype.isReactComponent&&(Z.prototype.mapStateToProps=ue.prototype.mapStateToProps),Z}}},8102:(t,i,n)=>{n.r(i),n.d(i,{default:()=>K});var o=n(2691),l=n(5171);const _=(n.d(ue={},{default:()=>W8()}),ue),v=(oe=>{var ue={};return n.d(ue,oe),ue})({default:()=>Q8()});var ue,O=n(6195),P=n(9403),G=n(6189);const K=function(){var oe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},ue=oe.componentList,pe=void 0===ue?[]:ue,ye=oe.fullOverride,Ue=void 0!==ye&&ye;return function(xe){var ke,we,Z=xe.getSystem,Ft=Ue?pe:(0,l.default)(ke=[]).call(ke,["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper"],(0,o.default)(pe)),Dt=(0,v.default)(Ft,(0,_.default)(we=Array(Ft.length)).call(we,function(Yt,ln){return ln.fn.withErrorBoundary(Yt)}));return{fn:{componentDidCatch:G.componentDidCatch,withErrorBoundary:(0,G.withErrorBoundary)(Z)},components:{ErrorBoundary:O.default,Fallback:P.default},wrapComponents:Dt}}}},2473:(t,i,n)=>{n.r(i),n.d(i,{createXMLExample:()=>ui,inferSchema:()=>$r,memoizedCreateXMLExample:()=>lr,memoizedSampleFromSchema:()=>ar,sampleFromSchema:()=>gi,sampleFromSchemaGeneric:()=>Zr});var o=n(1581),l=n(5171),_=n(8818),v=n(29),O=n(4163),P=n(2372),G=n(9963),K=n(8136),oe=n(1778),ue=n(2565),pe=n(313),ye=n(3479),Ue=n.n(ye);const xe=(n.d(Wn={},{default:()=>X8()}),Wn),ke=(Cr=>{var Wn={};return n.d(Wn,Cr),Wn})({default:()=>eI()});var Wn,we=n(6298),Z=n(8287),Ft={string:function(Cr){return Cr.pattern?function(Wn){try{return new xe.default(Wn).gen()}catch{return"string"}}(Cr.pattern):"string"},string_email:function(){return"user@example.com"},"string_date-time":function(){return(new Date).toISOString()},string_date:function(){return(new Date).toISOString().substring(0,10)},string_uuid:function(){return"3fa85f64-5717-4562-b3fc-2c963f66afa6"},string_hostname:function(){return"example.com"},string_ipv4:function(){return"198.51.100.42"},string_ipv6:function(){return"2001:0db8:5b96:0000:0000:426f:8e17:642a"},number:function(){return 0},number_float:function(){return 0},integer:function(){return 0},boolean:function(Cr){return"boolean"!=typeof Cr.default||Cr.default}},Dt=function(Cr){var Wn,ai=Cr=(0,we.mz)(Cr),ho=ai.type,Yi=ai.format,lo=Ft[(0,l.default)(Wn="".concat(ho,"_")).call(Wn,Yi)]||Ft[ho];return(0,we.Wl)(lo)?lo(Cr):"Unknown Type: "+Cr.type},Yt=function(Cr){return(0,we.XV)(Cr,"$$ref",function(Wn){return"string"==typeof Wn&&(0,_.default)(Wn).call(Wn,"#")>-1})},ln=["maxProperties","minProperties"],$n=["minItems","maxItems"],nn=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],Jn=["minLength","maxLength"],zn=function Cr(Wn,ai){var ho,Yi,lo,pi=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if((0,v.default)(ho=(0,l.default)(Yi=["example","default","enum","xml","type"]).call(Yi,ln,$n,nn,Jn)).call(ho,function(So){return function(So){void 0===ai[So]&&void 0!==Wn[So]&&(ai[So]=Wn[So])}(So)}),void 0!==Wn.required&&(0,O.default)(Wn.required)&&(void 0!==ai.required&&ai.required.length||(ai.required=[]),(0,v.default)(lo=Wn.required).call(lo,function(So){var us;(0,P.default)(us=ai.required).call(us,So)||ai.required.push(So)})),Wn.properties){ai.properties||(ai.properties={});var Nn=(0,we.mz)(Wn.properties);for(var _i in Nn){var Zi;Object.prototype.hasOwnProperty.call(Nn,_i)&&(!Nn[_i]||!Nn[_i].deprecated)&&(!Nn[_i]||!Nn[_i].readOnly||pi.includeReadOnly)&&(!Nn[_i]||!Nn[_i].writeOnly||pi.includeWriteOnly)&&(ai.properties[_i]||(ai.properties[_i]=Nn[_i],!Wn.required&&(0,O.default)(Wn.required)&&-1!==(0,_.default)(Zi=Wn.required).call(Zi,_i)&&(ai.required?ai.required.push(_i):ai.required=[_i])))}}return Wn.items&&(ai.items||(ai.items={}),ai.items=Cr(Wn.items,ai.items,pi)),ai},Zr=function Cr(Wn){var ai=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ho=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,Yi=arguments.length>3&&void 0!==arguments[3]&&arguments[3];Wn&&(0,we.Wl)(Wn.toJS)&&(Wn=Wn.toJS());var lo=void 0!==ho||Wn&&void 0!==Wn.example||Wn&&void 0!==Wn.default,pi=!lo&&Wn&&Wn.oneOf&&Wn.oneOf.length>0;if(!lo&&(pi||!lo&&Wn&&Wn.anyOf&&Wn.anyOf.length>0)){var Nn=(0,we.mz)(pi?Wn.oneOf[0]:Wn.anyOf[0]);if(zn(Nn,Wn,ai),!Wn.xml&&Nn.xml&&(Wn.xml=Nn.xml),void 0!==Wn.example&&void 0!==Nn.example)lo=!0;else if(Nn.properties){Wn.properties||(Wn.properties={});var _i=(0,we.mz)(Nn.properties);for(var Zi in _i){var So;Object.prototype.hasOwnProperty.call(_i,Zi)&&(!_i[Zi]||!_i[Zi].deprecated)&&(!_i[Zi]||!_i[Zi].readOnly||ai.includeReadOnly)&&(!_i[Zi]||!_i[Zi].writeOnly||ai.includeWriteOnly)&&(Wn.properties[Zi]||(Wn.properties[Zi]=_i[Zi],!Nn.required&&(0,O.default)(Nn.required)&&-1!==(0,_.default)(So=Nn.required).call(So,Zi)&&(Wn.required?Wn.required.push(Zi):Wn.required=[Zi])))}}}var us,Zo={},pa=Wn||{},va=pa.xml,qi=pa.type,xo=pa.example,$o=pa.properties,rt=pa.additionalProperties,kt=pa.items,Lt=ai.includeReadOnly,cr=ai.includeWriteOnly,Yr=va=va||{},li=Yr.name,eo=Yr.prefix,_a=Yr.namespace,ps={};Yi&&(us=(eo?eo+":":"")+(li=li||"notagname"),_a)&&(Zo[eo?"xmlns:"+eo:"xmlns"]=_a),Yi&&(ps[us]=[]);var Gl=function(fo){return(0,G.default)(fo).call(fo,function(ea){return Object.prototype.hasOwnProperty.call(Wn,ea)})};Wn&&!qi&&($o||rt||Gl(ln)?qi="object":kt||Gl($n)?qi="array":Gl(nn)?(qi="number",Wn.type="number"):lo||Wn.enum||(qi="string",Wn.type="string"));var Ou,Pc,np=function(fo){var ea,xs,Bu,Zl,Hl;if(null!==(null===(ea=Wn)||void 0===ea?void 0:ea.maxItems)&&void 0!==(null===(xs=Wn)||void 0===xs?void 0:xs.maxItems)&&(fo=(0,K.default)(fo).call(fo,0,null===(Hl=Wn)||void 0===Hl?void 0:Hl.maxItems)),null!==(null===(Bu=Wn)||void 0===Bu?void 0:Bu.minItems)&&void 0!==(null===(Zl=Wn)||void 0===Zl?void 0:Zl.minItems))for(var hl=0;fo.length<(null===(ol=Wn)||void 0===ol?void 0:ol.minItems);){var ol;fo.push(fo[hl++%fo.length])}return fo},ou=(0,we.mz)($o),yd=0,kp=function(){return Wn&&null!=Wn.maxProperties&&yd>=Wn.maxProperties},j_=function(fo){return!Wn||null==Wn.maxProperties||!kp()&&(!function(fo){var ea;return!(Wn&&Wn.required&&Wn.required.length&&(0,P.default)(ea=Wn.required).call(ea,fo))}(fo)||Wn.maxProperties-yd-function(){if(!Wn||!Wn.required)return 0;var fo,ea,xs=0;return Yi?(0,v.default)(fo=Wn.required).call(fo,function(Bu){return xs+=void 0===ps[Bu]?0:1}):(0,v.default)(ea=Wn.required).call(ea,function(Bu){var Zl;return xs+=void 0===(null===(Zl=ps[us])||void 0===Zl?void 0:(0,oe.default)(Zl).call(Zl,function(Hl){return void 0!==Hl[Bu]}))?0:1}),Wn.required.length-xs}()>0)};if(Ou=Yi?function(fo){var ea=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(Wn&&ou[fo]){if(ou[fo].xml=ou[fo].xml||{},ou[fo].xml.attribute){var xs=(0,O.default)(ou[fo].enum)?ou[fo].enum[0]:void 0,Bu=ou[fo].example,Zl=ou[fo].default;return void(Zo[ou[fo].xml.name||fo]=void 0!==Bu?Bu:void 0!==Zl?Zl:void 0!==xs?xs:Dt(ou[fo]))}ou[fo].xml.name=ou[fo].xml.name||fo}else ou[fo]||!1===rt||(ou[fo]={xml:{name:fo}});var Hl,hl=Cr(Wn&&ou[fo]||void 0,ai,ea,Yi);j_(fo)&&(yd++,(0,O.default)(hl)?ps[us]=(0,l.default)(Hl=ps[us]).call(Hl,hl):ps[us].push(hl))}:function(fo,ea){j_(fo)&&(ps[fo]=Cr(ou[fo],ai,ea,Yi),yd++)},lo){var Au;if(Au=Yt(void 0!==ho?ho:void 0!==xo?xo:Wn.default),!Yi){if("number"==typeof Au&&"string"===qi)return"".concat(Au);if("string"!=typeof Au||"string"===qi)return Au;try{return JSON.parse(Au)}catch{return Au}}if(Wn||(qi=(0,O.default)(Au)?"array":(0,o.default)(Au)),"array"===qi){if(!(0,O.default)(Au)){if("string"==typeof Au)return Au;Au=[Au]}var hd=Wn?Wn.items:void 0;hd&&(hd.xml=hd.xml||va||{},hd.xml.name=hd.xml.name||va.name);var n_=(0,ue.default)(Au).call(Au,function(fo){return Cr(hd,ai,fo,Yi)});return n_=np(n_),va.wrapped?(ps[us]=n_,(0,ke.default)(Zo)||ps[us].push({_attr:Zo})):ps=n_,ps}if("object"===qi){if("string"==typeof Au)return Au;for(var co in Au)Object.prototype.hasOwnProperty.call(Au,co)&&(Wn&&ou[co]&&ou[co].readOnly&&!Lt||Wn&&ou[co]&&ou[co].writeOnly&&!cr||(Wn&&ou[co]&&ou[co].xml&&ou[co].xml.attribute?Zo[ou[co].xml.name||co]=Au[co]:Ou(co,Au[co])));return(0,ke.default)(Zo)||ps[us].push({_attr:Zo}),ps}return ps[us]=(0,ke.default)(Zo)?Au:[{_attr:Zo},Au],ps}if("object"===qi){for(var xr in ou)Object.prototype.hasOwnProperty.call(ou,xr)&&(ou[xr]&&ou[xr].deprecated||ou[xr]&&ou[xr].readOnly&&!Lt||ou[xr]&&ou[xr].writeOnly&&!cr||Ou(xr));if(Yi&&Zo&&ps[us].push({_attr:Zo}),kp())return ps;if(!0===rt)Yi?ps[us].push({additionalProp:"Anything can be here"}):ps.additionalProp1={},yd++;else if(rt){var ki=(0,we.mz)(rt),Co=Cr(ki,ai,void 0,Yi);if(Yi&&ki.xml&&ki.xml.name&&"notagname"!==ki.xml.name)ps[us].push(Co);else for(var os=null!=Wn.minProperties&&yd<Wn.minProperties?Wn.minProperties-yd:3,Ss=1;Ss<=os;Ss++){if(kp())return ps;if(Yi){var Rs={};Rs["additionalProp"+Ss]=Co.notagname,ps[us].push(Rs)}else ps["additionalProp"+Ss]=Co;yd++}}return ps}if("array"===qi){if(!kt)return;var ks,Ua,Dl;if(Yi&&(kt.xml=kt.xml||(null===(Ua=Wn)||void 0===Ua?void 0:Ua.xml)||{},kt.xml.name=kt.xml.name||va.name),(0,O.default)(kt.anyOf))ks=(0,ue.default)(Dl=kt.anyOf).call(Dl,function(fo){return Cr(zn(kt,fo,ai),ai,void 0,Yi)});else if((0,O.default)(kt.oneOf)){var uc;ks=(0,ue.default)(uc=kt.oneOf).call(uc,function(fo){return Cr(zn(kt,fo,ai),ai,void 0,Yi)})}else{if(!(!Yi||Yi&&va.wrapped))return Cr(kt,ai,void 0,Yi);ks=[Cr(kt,ai,void 0,Yi)]}return ks=np(ks),Yi&&va.wrapped?(ps[us]=ks,(0,ke.default)(Zo)||ps[us].push({_attr:Zo}),ps):ks}if(Wn&&(0,O.default)(Wn.enum))Pc=(0,we.AF)(Wn.enum)[0];else{if(!Wn)return;if("number"==typeof(Pc=Dt(Wn))){var Sr=Wn.minimum;null!=Sr&&(Wn.exclusiveMinimum&&Sr++,Pc=Sr);var oo=Wn.maximum;null!=oo&&(Wn.exclusiveMaximum&&oo--,Pc=oo)}if("string"==typeof Pc&&(null!=Wn.maxLength&&(Pc=(0,K.default)(Pc).call(Pc,0,Wn.maxLength)),null!=Wn.minLength))for(var Ns=0;Pc.length<Wn.minLength;)Pc+=Pc[Ns++%Pc.length]}if("file"!==qi)return Yi?(ps[us]=(0,ke.default)(Zo)?Pc:[{_attr:Zo},Pc],ps):Pc},$r=function(Cr){return Cr.schema&&(Cr=Cr.schema),Cr.properties&&(Cr.type="object"),Cr},ui=function(Cr,Wn,ai){var ho=Zr(Cr,Wn,ai,!0);if(ho)return"string"==typeof ho?ho:Ue()(ho,{declaration:!0,indent:"\t"})},gi=function(Cr,Wn,ai){return Zr(Cr,Wn,ai,!1)},Un=function(Cr,Wn,ai){return[Cr,(0,pe.default)(Wn),(0,pe.default)(ai)]},lr=(0,Z.Z)(ui,Un),ar=(0,Z.Z)(gi,Un)},8883:(t,i,n)=>{n.r(i),n.d(i,{default:()=>l});var o=n(2473);function l(){return{fn:o}}},1737:(t,i,n)=>{n.r(i),n.d(i,{CLEAR_REQUEST:()=>Nn,CLEAR_RESPONSE:()=>Kn,CLEAR_VALIDATE_PARAMS:()=>_i,LOG_REQUEST:()=>pi,SET_MUTATED_REQUEST:()=>lo,SET_REQUEST:()=>Yi,SET_RESPONSE:()=>ho,SET_SCHEME:()=>Zo,UPDATE_EMPTY_PARAM_INCLUSION:()=>Wn,UPDATE_JSON:()=>ar,UPDATE_OPERATION_META_VALUE:()=>Zi,UPDATE_PARAM:()=>Cr,UPDATE_RESOLVED:()=>So,UPDATE_RESOLVED_SUBTREE:()=>us,UPDATE_SPEC:()=>Un,UPDATE_URL:()=>lr,VALIDATE_PARAMS:()=>ai,changeConsumesValue:()=>Pc,changeParam:()=>li,changeParamByIdentity:()=>eo,changeProducesValue:()=>np,clearRequest:()=>hd,clearResponse:()=>Au,clearValidateParams:()=>Ou,execute:()=>j_,executeRequest:()=>S_,invalidateResolvedSubtreeCache:()=>ps,logRequest:()=>Y_,parseToJson:()=>$o,requestResolvedSubtree:()=>Yr,resolveSpec:()=>kt,setMutatedRequest:()=>kp,setRequest:()=>yd,setResponse:()=>ou,setScheme:()=>n_,updateEmptyParamInclusion:()=>Gl,updateJsonSpec:()=>xo,updateResolved:()=>va,updateResolvedSubtree:()=>_a,updateSpec:()=>pa,updateUrl:()=>qi,validateParams:()=>Fl});var o=n(1013),l=n(302);const _=(n.d(xr={},{default:()=>tI}),xr);var xr,v=n(1581);const O=(co=>{var xr={};return n.d(xr,co),xr})({default:()=>rI()});var P=n(4163),G=n(2565),K=n(3978),oe=n.n(K),ue=n(6785),pe=n(7930);const ye=(co=>{var xr={};return n.d(xr,co),xr})({default:()=>oI()});var Ue=n(6145),xe=n(374),ke=n(8818),we=n(29),Z=n(5171),Ft=n(2740),Dt=n(7512);const Yt=(co=>{var xr={};return n.d(xr,co),xr})({default:()=>aI()});var ln=n(626),$n=n(9725),nn=n(8900),Jn=n(8518);const zn=(co=>{var xr={};return n.d(xr,co),xr})({default:()=>uI()}),Zr=(co=>{var xr={};return n.d(xr,co),xr})({default:()=>dI()}),$r=(co=>{var xr={};return n.d(xr,co),xr})({default:()=>pI()});var ui=n(6298),gi=["path","method"],Un="spec_update_spec",lr="spec_update_url",ar="spec_update_json",Cr="spec_update_param",Wn="spec_update_empty_param_inclusion",ai="spec_validate_param",ho="spec_set_response",Yi="spec_set_request",lo="spec_set_mutated_request",pi="spec_log_request",Kn="spec_clear_response",Nn="spec_clear_request",_i="spec_clear_validate_param",Zi="spec_update_operation_meta_value",So="spec_update_resolved",us="spec_update_resolved_subtree",Zo="set_scheme";function pa(co){var xr,ki=(xr=co,(0,zn.default)(xr)?xr:"").replace(/\t/g," ");if("string"==typeof co)return{type:Un,payload:ki}}function va(co){return{type:So,payload:co}}function qi(co){return{type:lr,payload:co}}function xo(co){return{type:ar,payload:co}}var $o=function(co){return function(xr){var ki=xr.specActions,os=xr.errActions,Ss=xr.specSelectors.specStr,Rs=null;try{co=co||Ss(),os.clear({source:"parser"}),Rs=ln.default.load(co,{schema:ln.JSON_SCHEMA})}catch(ks){return console.error(ks),os.newSpecErr({source:"parser",level:"error",message:ks.reason,line:ks.mark&&ks.mark.line?ks.mark.line+1:void 0})}return Rs&&"object"===(0,v.default)(Rs)?ki.updateJsonSpec(Rs):{}}},rt=!1,kt=function(co,xr){return function(ki){var Co=ki.specActions,os=ki.specSelectors,Ss=ki.errActions,Rs=ki.fn,ks=Rs.fetch,Ua=Rs.resolve,Dl=Rs.AST,uc=void 0===Dl?{}:Dl,Sr=ki.getConfigs;rt||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),rt=!0);var oo=Sr(),Ns=oo.modelPropertyMacro,fo=oo.parameterMacro,ea=oo.requestInterceptor,xs=oo.responseInterceptor;void 0===co&&(co=os.specJson()),void 0===xr&&(xr=os.url());var Bu=uc.getLineNumberForPath?uc.getLineNumberForPath:function(){},Zl=os.specStr();return Ua({fetch:ks,spec:co,baseDoc:xr,modelPropertyMacro:Ns,parameterMacro:fo,requestInterceptor:ea,responseInterceptor:xs}).then(function(Hl){var hl=Hl.spec,ol=Hl.errors;if(Ss.clear({type:"thrown"}),(0,P.default)(ol)&&ol.length>0){var cc=(0,G.default)(ol).call(ol,function(Gu){return console.error(Gu),Gu.line=Gu.fullPath?Bu(Zl,Gu.fullPath):null,Gu.path=Gu.fullPath?Gu.fullPath.join("."):null,Gu.level="error",Gu.type="thrown",Gu.source="resolver",oe()(Gu,"message",{enumerable:!0,value:Gu.message}),Gu});Ss.newThrownErrBatch(cc)}return Co.updateResolved(hl)})}},Lt=[],cr=(0,Zr.default)((0,_.default)(O.default.mark(function co(){var xr,ki,Co,os,Ss,Rs,ks,Ua,Dl,uc,Sr,oo,Ns,fo,ea,xs,Bu,Zl;return O.default.wrap(function(Hl){for(;;)switch(Hl.prev=Hl.next){case 0:if(xr=Lt.system){Hl.next=4;break}return console.error("debResolveSubtrees: don't have a system to operate on, aborting."),Hl.abrupt("return");case 4:if(ki=xr.errActions,Co=xr.errSelectors,Rs=(os=xr.fn).fetch,Ua=void 0===(ks=os.AST)?{}:ks,Dl=xr.specSelectors,uc=xr.specActions,Ss=os.resolveSubtree){Hl.next=8;break}return console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing."),Hl.abrupt("return");case 8:return Sr=Ua.getLineNumberForPath?Ua.getLineNumberForPath:function(){},oo=Dl.specStr(),Ns=xr.getConfigs(),fo=Ns.modelPropertyMacro,ea=Ns.parameterMacro,xs=Ns.requestInterceptor,Bu=Ns.responseInterceptor,Hl.prev=11,Hl.next=14,(0,ue.default)(Lt).call(Lt,function(){var hl=(0,_.default)(O.default.mark(function ol(cc,Gu){var cf,Ep,su,Mf,z_,Sp,Eh,b_,wm;return O.default.wrap(function(yo){for(;;)switch(yo.prev=yo.next){case 0:return yo.next=2,cc;case 2:return Ep=(cf=yo.sent).resultMap,su=cf.specWithCurrentSubtrees,yo.next=7,Ss(su,Gu,{baseDoc:Dl.url(),modelPropertyMacro:fo,parameterMacro:ea,requestInterceptor:xs,responseInterceptor:Bu});case 7:if(z_=(Mf=yo.sent).errors,Sp=Mf.spec,Co.allErrors().size&&ki.clearBy(function($d){var Pm;return"thrown"!==$d.get("type")||"resolver"!==$d.get("source")||!(0,pe.default)(Pm=$d.get("fullPath")).call(Pm,function(lg,gm){return lg===Gu[gm]||void 0===Gu[gm]})}),(0,P.default)(z_)&&z_.length>0&&(Eh=(0,G.default)(z_).call(z_,function($d){return $d.line=$d.fullPath?Sr(oo,$d.fullPath):null,$d.path=$d.fullPath?$d.fullPath.join("."):null,$d.level="error",$d.type="thrown",$d.source="resolver",oe()($d,"message",{enumerable:!0,value:$d.message}),$d}),ki.newThrownErrBatch(Eh)),!Sp||!Dl.isOAS3()||"components"!==Gu[0]||"securitySchemes"!==Gu[1]){yo.next=15;break}return yo.next=15,ye.default.all((0,G.default)(b_=(0,Ue.default)(wm=(0,xe.default)(Sp)).call(wm,function($d){return"openIdConnect"===$d.type})).call(b_,function(){var $d=(0,_.default)(O.default.mark(function Pm(lg){var gm,Fg;return O.default.wrap(function(r_){for(;;)switch(r_.prev=r_.next){case 0:return gm={url:lg.openIdConnectUrl,requestInterceptor:xs,responseInterceptor:Bu},r_.prev=1,r_.next=4,Rs(gm);case 4:(Fg=r_.sent)instanceof Error||Fg.status>=400?console.error(Fg.statusText+" "+gm.url):lg.openIdConnectData=JSON.parse(Fg.text),r_.next=11;break;case 8:r_.prev=8,r_.t0=r_.catch(1),console.error(r_.t0);case 11:case"end":return r_.stop()}},Pm,null,[[1,8]])}));return function(Pm){return $d.apply(this,arguments)}}()));case 15:return(0,$r.default)(Ep,Gu,Sp),(0,$r.default)(su,Gu,Sp),yo.abrupt("return",{resultMap:Ep,specWithCurrentSubtrees:su});case 18:case"end":return yo.stop()}},ol)}));return function(ol,cc){return hl.apply(this,arguments)}}(),ye.default.resolve({resultMap:(Dl.specResolvedSubtree([])||(0,$n.Map)()).toJS(),specWithCurrentSubtrees:Dl.specJson().toJS()}));case 14:Zl=Hl.sent,delete Lt.system,Lt=[],Hl.next=22;break;case 19:Hl.prev=19,Hl.t0=Hl.catch(11),console.error(Hl.t0);case 22:uc.updateResolvedSubtree([],Zl.resultMap);case 23:case"end":return Hl.stop()}},co,null,[[11,19]])})),35),Yr=function(co){return function(xr){var ki;(0,ke.default)(ki=(0,G.default)(Lt).call(Lt,function(Co){return Co.join("@@")})).call(ki,co.join("@@"))>-1||(Lt.push(co),Lt.system=xr,cr())}};function li(co,xr,ki,Co,os){return{type:Cr,payload:{path:co,value:Co,paramName:xr,paramIn:ki,isXml:os}}}function eo(co,xr,ki,Co){return{type:Cr,payload:{path:co,param:xr,value:ki,isXml:Co}}}var _a=function(co,xr){return{type:us,payload:{path:co,value:xr}}},ps=function(){return{type:us,payload:{path:[],value:(0,$n.Map)()}}},Fl=function(co,xr){return{type:ai,payload:{pathMethod:co,isOAS3:xr}}},Gl=function(co,xr,ki,Co){return{type:Wn,payload:{pathMethod:co,paramName:xr,paramIn:ki,includeEmptyValue:Co}}};function Ou(co){return{type:_i,payload:{pathMethod:co}}}function Pc(co,xr){return{type:Zi,payload:{path:co,value:xr,key:"consumes_value"}}}function np(co,xr){return{type:Zi,payload:{path:co,value:xr,key:"produces_value"}}}var ou=function(co,xr,ki){return{payload:{path:co,method:xr,res:ki},type:ho}},yd=function(co,xr,ki){return{payload:{path:co,method:xr,req:ki},type:Yi}},kp=function(co,xr,ki){return{payload:{path:co,method:xr,req:ki},type:lo}},Y_=function(co){return{payload:co,type:pi}},S_=function(co){return function(xr){var ki,Co,os=xr.fn,Ss=xr.specActions,Rs=xr.specSelectors,Ua=xr.oas3Selectors,Dl=co.pathName,uc=co.method,Sr=co.operation,oo=(0,xr.getConfigs)(),Ns=oo.requestInterceptor,fo=oo.responseInterceptor,ea=Sr.toJS();if(Sr&&Sr.get("parameters")&&(0,we.default)(ki=(0,Ue.default)(Co=Sr.get("parameters")).call(Co,function(su){return su&&!0===su.get("allowEmptyValue")})).call(ki,function(su){if(Rs.parameterInclusionSettingFor([Dl,uc],su.get("name"),su.get("in"))){co.parameters=co.parameters||{};var Mf=(0,ui.cz)(su,co.parameters);(!Mf||Mf&&0===Mf.size)&&(co.parameters[su.get("name")]="")}}),co.contextUrl=(0,nn.default)(Rs.url()).toString(),ea&&ea.operationId?co.operationId=ea.operationId:ea&&Dl&&uc&&(co.operationId=os.opId(ea,Dl,uc)),Rs.isOAS3()){var xs,Bu=(0,Z.default)(xs="".concat(Dl,":")).call(xs,uc);co.server=Ua.selectedServer(Bu)||Ua.selectedServer();var Zl=Ua.serverVariables({server:co.server,namespace:Bu}).toJS(),Hl=Ua.serverVariables({server:co.server}).toJS();co.serverVariables=(0,Ft.default)(Zl).length?Zl:Hl,co.requestContentType=Ua.requestContentType(Dl,uc),co.responseContentType=Ua.responseContentType(Dl,uc)||"*/*";var hl,ol=Ua.requestBodyValue(Dl,uc),cc=Ua.requestBodyInclusionSetting(Dl,uc);co.requestBody=ol&&ol.toJS?(0,Ue.default)(hl=(0,G.default)(ol).call(ol,function(su){return $n.Map.isMap(su)?su.get("value"):su})).call(hl,function(su,Mf){return((0,P.default)(su)?0!==su.length:!(0,ui.O2)(su))||cc.get(Mf)}).toJS():ol}var Gu=(0,Dt.default)({},co);Gu=os.buildRequest(Gu),Ss.setRequest(co.pathName,co.method,Gu);var su,cf=(su=(0,_.default)(O.default.mark(function Mf(z_){var Sp,Eh;return O.default.wrap(function(b_){for(;;)switch(b_.prev=b_.next){case 0:return b_.next=2,Ns.apply(void 0,[z_]);case 2:return Eh=(0,Dt.default)({},Sp=b_.sent),Ss.setMutatedRequest(co.pathName,co.method,Eh),b_.abrupt("return",Sp);case 6:case"end":return b_.stop()}},Mf)})),function(Mf){return su.apply(this,arguments)});co.requestInterceptor=cf,co.responseInterceptor=fo;var Ep=(0,Yt.default)();return os.execute(co).then(function(su){su.duration=(0,Yt.default)()-Ep,Ss.setResponse(co.pathName,co.method,su)}).catch(function(su){"Failed to fetch"===su.message&&(su.name="",su.message='**Failed to fetch.** \n**Possible Reasons:** \n - CORS \n - Network Failure \n - URL scheme must be "http" or "https" for CORS request.'),Ss.setResponse(co.pathName,co.method,{error:!0,err:(0,Jn.serializeError)(su)})})}},j_=function(){var co=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},xr=co.path,ki=co.method,Co=(0,l.default)(co,gi);return function(os){var Ss=os.fn.fetch,Rs=os.specSelectors,ks=os.specActions,Ua=Rs.specJsonWithResolvedSubtrees().toJS(),Dl=Rs.operationScheme(xr,ki),uc=Rs.contentTypeValues([xr,ki]).toJS(),Sr=uc.requestContentType,oo=uc.responseContentType,Ns=/xml/i.test(Sr),fo=Rs.parameterValues([xr,ki],Ns).toJS();return ks.executeRequest((0,o.default)((0,o.default)({},Co),{},{fetch:Ss,spec:Ua,pathName:xr,method:ki,parameters:fo,requestContentType:Sr,scheme:Dl,responseContentType:oo}))}};function Au(co,xr){return{type:Kn,payload:{path:co,method:xr}}}function hd(co,xr){return{type:Nn,payload:{path:co,method:xr}}}function n_(co,xr,ki){return{type:Zo,payload:{scheme:co,path:xr,method:ki}}}},7038:(t,i,n)=>{n.r(i),n.d(i,{default:()=>O});var o=n(32),l=n(1737),_=n(3881),v=n(7508);function O(){return{statePlugins:{spec:{wrapActions:v,reducers:o.default,actions:l,selectors:_}}}}},32:(t,i,n)=>{n.r(i),n.d(i,{default:()=>Ue});var o,l=n(775),_=n(2691),v=n(5171),O=n(6785),P=n(2565),G=n(7512),K=n(9725),oe=n(6298),ue=n(7504),pe=n(3881),ye=n(1737);const Ue=((0,l.default)(o={},ye.UPDATE_SPEC,function(xe,ke){return"string"==typeof ke.payload?xe.set("spec",ke.payload):xe}),(0,l.default)(o,ye.UPDATE_URL,function(xe,ke){return xe.set("url",ke.payload+"")}),(0,l.default)(o,ye.UPDATE_JSON,function(xe,ke){return xe.set("json",(0,oe.oG)(ke.payload))}),(0,l.default)(o,ye.UPDATE_RESOLVED,function(xe,ke){return xe.setIn(["resolved"],(0,oe.oG)(ke.payload))}),(0,l.default)(o,ye.UPDATE_RESOLVED_SUBTREE,function(xe,ke){var we,Z=ke.payload,Ft=Z.value,Dt=Z.path;return xe.setIn((0,v.default)(we=["resolvedSubtrees"]).call(we,(0,_.default)(Dt)),(0,oe.oG)(Ft))}),(0,l.default)(o,ye.UPDATE_PARAM,function(xe,ke){var we,Z,Ft=ke.payload,Dt=Ft.path,Yt=Ft.paramName,ln=Ft.paramIn,$n=Ft.param,nn=Ft.value,Jn=Ft.isXml,zn=$n?(0,oe.V9)($n):(0,v.default)(we="".concat(ln,".")).call(we,Yt),Zr=Jn?"value_xml":"value";return xe.setIn((0,v.default)(Z=["meta","paths"]).call(Z,(0,_.default)(Dt),["parameters",zn,Zr]),nn)}),(0,l.default)(o,ye.UPDATE_EMPTY_PARAM_INCLUSION,function(xe,ke){var we,Z,Ft=ke.payload,Dt=Ft.pathMethod,Yt=Ft.paramName,ln=Ft.paramIn,$n=Ft.includeEmptyValue;if(!Yt||!ln)return console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),xe;var nn=(0,v.default)(we="".concat(ln,".")).call(we,Yt);return xe.setIn((0,v.default)(Z=["meta","paths"]).call(Z,(0,_.default)(Dt),["parameter_inclusions",nn]),$n)}),(0,l.default)(o,ye.VALIDATE_PARAMS,function(xe,ke){var we,Z,Ft=ke.payload,Dt=Ft.pathMethod,Yt=Ft.isOAS3,ln=(0,pe.specJsonWithResolvedSubtrees)(xe).getIn((0,v.default)(we=["paths"]).call(we,(0,_.default)(Dt))),$n=(0,pe.parameterValues)(xe,Dt).toJS();return xe.updateIn((0,v.default)(Z=["meta","paths"]).call(Z,(0,_.default)(Dt),["parameters"]),(0,K.fromJS)({}),function(nn){var Jn;return(0,O.default)(Jn=ln.get("parameters",(0,K.List)())).call(Jn,function(zn,Zr){var $r=(0,oe.cz)(Zr,$n),ui=(0,pe.parameterInclusionSettingFor)(xe,Dt,Zr.get("name"),Zr.get("in")),gi=(0,oe.Ik)(Zr,$r,{bypassRequiredCheck:ui,isOAS3:Yt});return zn.setIn([(0,oe.V9)(Zr),"errors"],(0,K.fromJS)(gi))},nn)})}),(0,l.default)(o,ye.CLEAR_VALIDATE_PARAMS,function(xe,ke){var we,Z=ke.payload.pathMethod;return xe.updateIn((0,v.default)(we=["meta","paths"]).call(we,(0,_.default)(Z),["parameters"]),(0,K.fromJS)([]),function(Ft){return(0,P.default)(Ft).call(Ft,function(Dt){return Dt.set("errors",(0,K.fromJS)([]))})})}),(0,l.default)(o,ye.SET_RESPONSE,function(xe,ke){var we,Z=ke.payload,Ft=Z.res,Dt=Z.path,Yt=Z.method;(we=Ft.error?(0,G.default)({error:!0,name:Ft.err.name,message:Ft.err.message,statusCode:Ft.err.statusCode},Ft.err.response):Ft).headers=we.headers||{};var ln=xe.setIn(["responses",Dt,Yt],(0,oe.oG)(we));return ue.Z.Blob&&Ft.data instanceof ue.Z.Blob&&(ln=ln.setIn(["responses",Dt,Yt,"text"],Ft.data)),ln}),(0,l.default)(o,ye.SET_REQUEST,function(xe,ke){var we=ke.payload;return xe.setIn(["requests",we.path,we.method],(0,oe.oG)(we.req))}),(0,l.default)(o,ye.SET_MUTATED_REQUEST,function(xe,ke){var we=ke.payload;return xe.setIn(["mutatedRequests",we.path,we.method],(0,oe.oG)(we.req))}),(0,l.default)(o,ye.UPDATE_OPERATION_META_VALUE,function(xe,ke){var we,Z,Ft,Dt,Yt,ln,$n=ke.payload,nn=$n.path,Jn=$n.value,zn=$n.key,Zr=(0,v.default)(we=["paths"]).call(we,(0,_.default)(nn)),$r=(0,v.default)(Z=["meta","paths"]).call(Z,(0,_.default)(nn));return xe.getIn((0,v.default)(Ft=["json"]).call(Ft,(0,_.default)(Zr)))||xe.getIn((0,v.default)(Dt=["resolved"]).call(Dt,(0,_.default)(Zr)))||xe.getIn((0,v.default)(Yt=["resolvedSubtrees"]).call(Yt,(0,_.default)(Zr)))?xe.setIn((0,v.default)(ln=[]).call(ln,(0,_.default)($r),[zn]),(0,K.fromJS)(Jn)):xe}),(0,l.default)(o,ye.CLEAR_RESPONSE,function(xe,ke){var we=ke.payload;return xe.deleteIn(["responses",we.path,we.method])}),(0,l.default)(o,ye.CLEAR_REQUEST,function(xe,ke){var we=ke.payload;return xe.deleteIn(["requests",we.path,we.method])}),(0,l.default)(o,ye.SET_SCHEME,function(xe,ke){var we=ke.payload,Z=we.scheme,Ft=we.path,Dt=we.method;return Ft&&Dt?xe.setIn(["scheme",Ft,Dt],Z):Ft||Dt?void 0:xe.setIn(["scheme","_defaultScheme"],Z)}),o)},3881:(t,i,n)=>{n.r(i),n.d(i,{lastError:()=>Dt,url:()=>Yt,specStr:()=>ln,specSource:()=>$n,specJson:()=>nn,specResolved:()=>Jn,specResolvedSubtree:()=>zn,specJsonWithResolvedSubtrees:()=>$r,spec:()=>ui,isOAS3:()=>gi,info:()=>Un,externalDocs:()=>lr,version:()=>ar,semver:()=>Cr,paths:()=>Wn,operations:()=>ai,consumes:()=>ho,produces:()=>Yi,security:()=>lo,securityDefinitions:()=>pi,findDefinition:()=>Kn,definitions:()=>Nn,basePath:()=>_i,host:()=>Zi,schemes:()=>So,operationsWithRootInherited:()=>us,tags:()=>Zo,tagDetails:()=>pa,operationsWithTags:()=>va,taggedOperations:()=>qi,responses:()=>xo,requests:()=>$o,mutatedRequests:()=>rt,responseFor:()=>kt,requestFor:()=>Lt,mutatedRequestFor:()=>cr,allowTryItOutFor:()=>Yr,parameterWithMetaByIdentity:()=>li,parameterInclusionSettingFor:()=>eo,parameterWithMeta:()=>_a,operationWithMeta:()=>ps,getParameter:()=>Fl,hasHost:()=>Gl,parameterValues:()=>Ou,parametersIncludeIn:()=>Pc,parametersIncludeType:()=>np,contentTypeValues:()=>ou,currentProducesFor:()=>yd,producesOptionsFor:()=>kp,consumesOptionsFor:()=>Y_,operationScheme:()=>S_,canExecuteScheme:()=>j_,validateBeforeExecute:()=>Au,getOAS3RequiredRequestBodyContentType:()=>hd,isMediaTypeSchemaPropertiesEqual:()=>n_});var o=n(9334),l=n(2691),_=n(5171),v=n(8136),O=n(29),P=n(8818),G=n(2565),K=n(6145),oe=n(1778),ue=n(6785),pe=n(4350),ye=n(9963),Ue=n(4163),xe=n(8639),ke=n(6298),we=n(9725),Z=["get","put","post","delete","options","head","patch","trace"],Ft=function(xr){return xr||(0,we.Map)()},Dt=(0,xe.createSelector)(Ft,function(xr){return xr.get("lastError")}),Yt=(0,xe.createSelector)(Ft,function(xr){return xr.get("url")}),ln=(0,xe.createSelector)(Ft,function(xr){return xr.get("spec")||""}),$n=(0,xe.createSelector)(Ft,function(xr){return xr.get("specSource")||"not-editor"}),nn=(0,xe.createSelector)(Ft,function(xr){return xr.get("json",(0,we.Map)())}),Jn=(0,xe.createSelector)(Ft,function(xr){return xr.get("resolved",(0,we.Map)())}),zn=function(xr,ki){var Co;return xr.getIn((0,_.default)(Co=["resolvedSubtrees"]).call(Co,(0,l.default)(ki)),void 0)},Zr=function xr(ki,Co){return we.Map.isMap(ki)&&we.Map.isMap(Co)?Co.get("$$ref")?Co:(0,we.OrderedMap)().mergeWith(xr,ki,Co):Co},$r=(0,xe.createSelector)(Ft,function(xr){return(0,we.OrderedMap)().mergeWith(Zr,xr.get("json"),xr.get("resolvedSubtrees"))}),ui=function(xr){return nn(xr)},gi=(0,xe.createSelector)(ui,function(){return!1}),Un=(0,xe.createSelector)(ui,function(xr){return co(xr&&xr.get("info"))}),lr=(0,xe.createSelector)(ui,function(xr){return co(xr&&xr.get("externalDocs"))}),ar=(0,xe.createSelector)(Un,function(xr){return xr&&xr.get("version")}),Cr=(0,xe.createSelector)(ar,function(xr){var ki;return(0,v.default)(ki=/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(xr)).call(ki,1)}),Wn=(0,xe.createSelector)($r,function(xr){return xr.get("paths")}),ai=(0,xe.createSelector)(Wn,function(xr){if(!xr||xr.size<1)return(0,we.List)();var ki=(0,we.List)();return xr&&(0,O.default)(xr)?((0,O.default)(xr).call(xr,function(Co,os){if(!Co||!(0,O.default)(Co))return{};(0,O.default)(Co).call(Co,function(Ss,Rs){var ks;(0,P.default)(Z).call(Z,Rs)<0||(ki=ki.push((0,we.fromJS)({path:os,method:Rs,operation:Ss,id:(0,_.default)(ks="".concat(Rs,"-")).call(ks,os)})))})}),ki):(0,we.List)()}),ho=(0,xe.createSelector)(ui,function(xr){return(0,we.Set)(xr.get("consumes"))}),Yi=(0,xe.createSelector)(ui,function(xr){return(0,we.Set)(xr.get("produces"))}),lo=(0,xe.createSelector)(ui,function(xr){return xr.get("security",(0,we.List)())}),pi=(0,xe.createSelector)(ui,function(xr){return xr.get("securityDefinitions")}),Kn=function(xr,ki){var Co=xr.getIn(["resolvedSubtrees","definitions",ki],null),os=xr.getIn(["json","definitions",ki],null);return Co||os||null},Nn=(0,xe.createSelector)(ui,function(xr){var ki=xr.get("definitions");return we.Map.isMap(ki)?ki:(0,we.Map)()}),_i=(0,xe.createSelector)(ui,function(xr){return xr.get("basePath")}),Zi=(0,xe.createSelector)(ui,function(xr){return xr.get("host")}),So=(0,xe.createSelector)(ui,function(xr){return xr.get("schemes",(0,we.Map)())}),us=(0,xe.createSelector)(ai,ho,Yi,function(xr,ki,Co){return(0,G.default)(xr).call(xr,function(os){return os.update("operation",function(Ss){return Ss?we.Map.isMap(Ss)?Ss.withMutations(function(Rs){return Rs.get("consumes")||Rs.update("consumes",function(ks){return(0,we.Set)(ks).merge(ki)}),Rs.get("produces")||Rs.update("produces",function(ks){return(0,we.Set)(ks).merge(Co)}),Rs}):void 0:(0,we.Map)()})})}),Zo=(0,xe.createSelector)(ui,function(xr){var ki=xr.get("tags",(0,we.List)());return we.List.isList(ki)?(0,K.default)(ki).call(ki,function(Co){return we.Map.isMap(Co)}):(0,we.List)()}),pa=function(xr,ki){var Co,os=Zo(xr)||(0,we.List)();return(0,oe.default)(Co=(0,K.default)(os).call(os,we.Map.isMap)).call(Co,function(Ss){return Ss.get("name")===ki},(0,we.Map)())},va=(0,xe.createSelector)(us,Zo,function(xr,ki){return(0,ue.default)(xr).call(xr,function(Co,os){var Ss=(0,we.Set)(os.getIn(["operation","tags"]));return Ss.count()<1?Co.update("default",(0,we.List)(),function(Rs){return Rs.push(os)}):(0,ue.default)(Ss).call(Ss,function(Rs,ks){return Rs.update(ks,(0,we.List)(),function(Ua){return Ua.push(os)})},Co)},(0,ue.default)(ki).call(ki,function(Co,os){return Co.set(os.get("name"),(0,we.List)())},(0,we.OrderedMap)()))}),qi=function(xr){return function(ki){var Co,os=(0,ki.getConfigs)(),Ss=os.tagsSorter,Rs=os.operationsSorter;return(0,G.default)(Co=va(xr).sortBy(function(ks,Ua){return Ua},function(ks,Ua){var Dl="function"==typeof Ss?Ss:ke.wh.tagsSorter[Ss];return Dl?Dl(ks,Ua):null})).call(Co,function(ks,Ua){var Dl="function"==typeof Rs?Rs:ke.wh.operationsSorter[Rs],uc=Dl?(0,pe.default)(ks).call(ks,Dl):ks;return(0,we.Map)({tagDetails:pa(xr,Ua),operations:uc})})}},xo=(0,xe.createSelector)(Ft,function(xr){return xr.get("responses",(0,we.Map)())}),$o=(0,xe.createSelector)(Ft,function(xr){return xr.get("requests",(0,we.Map)())}),rt=(0,xe.createSelector)(Ft,function(xr){return xr.get("mutatedRequests",(0,we.Map)())}),kt=function(xr,ki,Co){return xo(xr).getIn([ki,Co],null)},Lt=function(xr,ki,Co){return $o(xr).getIn([ki,Co],null)},cr=function(xr,ki,Co){return rt(xr).getIn([ki,Co],null)},Yr=function(){return!0},li=function(xr,ki,Co){var os,Ss,Rs=$r(xr).getIn((0,_.default)(os=["paths"]).call(os,(0,l.default)(ki),["parameters"]),(0,we.OrderedMap)()),ks=xr.getIn((0,_.default)(Ss=["meta","paths"]).call(Ss,(0,l.default)(ki),["parameters"]),(0,we.OrderedMap)()),Ua=(0,G.default)(Rs).call(Rs,function(Dl){var uc,Sr,oo,Ns=ks.get((0,_.default)(uc="".concat(Co.get("in"),".")).call(uc,Co.get("name"))),fo=ks.get((0,_.default)(Sr=(0,_.default)(oo="".concat(Co.get("in"),".")).call(oo,Co.get("name"),".hash-")).call(Sr,Co.hashCode()));return(0,we.OrderedMap)().merge(Dl,Ns,fo)});return(0,oe.default)(Ua).call(Ua,function(Dl){return Dl.get("in")===Co.get("in")&&Dl.get("name")===Co.get("name")},(0,we.OrderedMap)())},eo=function(xr,ki,Co,os){var Ss,Rs,ks=(0,_.default)(Ss="".concat(os,".")).call(Ss,Co);return xr.getIn((0,_.default)(Rs=["meta","paths"]).call(Rs,(0,l.default)(ki),["parameter_inclusions",ks]),!1)},_a=function(xr,ki,Co,os){var Ss,Rs=$r(xr).getIn((0,_.default)(Ss=["paths"]).call(Ss,(0,l.default)(ki),["parameters"]),(0,we.OrderedMap)()),ks=(0,oe.default)(Rs).call(Rs,function(Ua){return Ua.get("in")===os&&Ua.get("name")===Co},(0,we.OrderedMap)());return li(xr,ki,ks)},ps=function(xr,ki,Co){var os,Ss=$r(xr).getIn(["paths",ki,Co],(0,we.OrderedMap)()),Rs=xr.getIn(["meta","paths",ki,Co],(0,we.OrderedMap)()),ks=(0,G.default)(os=Ss.get("parameters",(0,we.List)())).call(os,function(Ua){return li(xr,[ki,Co],Ua)});return(0,we.OrderedMap)().merge(Ss,Rs).set("parameters",ks)};function Fl(xr,ki,Co,os){var Ss;ki=ki||[];var Rs=xr.getIn((0,_.default)(Ss=["meta","paths"]).call(Ss,(0,l.default)(ki),["parameters"]),(0,we.fromJS)([]));return(0,oe.default)(Rs).call(Rs,function(ks){return we.Map.isMap(ks)&&ks.get("name")===Co&&ks.get("in")===os})||(0,we.Map)()}var Gl=(0,xe.createSelector)(ui,function(xr){var ki=xr.get("host");return"string"==typeof ki&&ki.length>0&&"/"!==ki[0]});function Ou(xr,ki,Co){var os;ki=ki||[];var Ss=ps.apply(void 0,(0,_.default)(os=[xr]).call(os,(0,l.default)(ki))).get("parameters",(0,we.List)());return(0,ue.default)(Ss).call(Ss,function(Rs,ks){var Ua=Co&&"body"===ks.get("in")?ks.get("value_xml"):ks.get("value");return Rs.set((0,ke.V9)(ks,{allowHashes:!1}),Ua)},(0,we.fromJS)({}))}function Pc(xr){var ki=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(we.List.isList(xr))return(0,ye.default)(xr).call(xr,function(Co){return we.Map.isMap(Co)&&Co.get("in")===ki})}function np(xr){var ki=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(we.List.isList(xr))return(0,ye.default)(xr).call(xr,function(Co){return we.Map.isMap(Co)&&Co.get("type")===ki})}function ou(xr,ki){var Co,os;ki=ki||[];var Ss=$r(xr).getIn((0,_.default)(Co=["paths"]).call(Co,(0,l.default)(ki)),(0,we.fromJS)({})),Rs=xr.getIn((0,_.default)(os=["meta","paths"]).call(os,(0,l.default)(ki)),(0,we.fromJS)({})),ks=yd(xr,ki),Ua=Ss.get("parameters")||new we.List,Dl=Rs.get("consumes_value")?Rs.get("consumes_value"):np(Ua,"file")?"multipart/form-data":np(Ua,"formData")?"application/x-www-form-urlencoded":void 0;return(0,we.fromJS)({requestContentType:Dl,responseContentType:ks})}function yd(xr,ki){var Co,os;ki=ki||[];var Ss=$r(xr).getIn((0,_.default)(Co=["paths"]).call(Co,(0,l.default)(ki)),null);if(null!==Ss){var Rs=xr.getIn((0,_.default)(os=["meta","paths"]).call(os,(0,l.default)(ki),["produces_value"]),null),ks=Ss.getIn(["produces",0],null);return Rs||ks||"application/json"}}function kp(xr,ki){var Co;ki=ki||[];var os=$r(xr),Ss=os.getIn((0,_.default)(Co=["paths"]).call(Co,(0,l.default)(ki)),null);if(null!==Ss){var ks=(0,o.default)(ki,1)[0],Ua=Ss.get("produces",null),Dl=os.getIn(["paths",ks,"produces"],null),uc=os.getIn(["produces"],null);return Ua||Dl||uc}}function Y_(xr,ki){var Co;ki=ki||[];var os=$r(xr),Ss=os.getIn((0,_.default)(Co=["paths"]).call(Co,(0,l.default)(ki)),null);if(null!==Ss){var ks=(0,o.default)(ki,1)[0],Ua=Ss.get("consumes",null),Dl=os.getIn(["paths",ks,"consumes"],null),uc=os.getIn(["consumes"],null);return Ua||Dl||uc}}var S_=function(xr,ki,Co){var os=xr.get("url").match(/^([a-z][a-z0-9+\-.]*):/),Ss=(0,Ue.default)(os)?os[1]:null;return xr.getIn(["scheme",ki,Co])||xr.getIn(["scheme","_defaultScheme"])||Ss||""},j_=function(xr,ki,Co){var os;return(0,P.default)(os=["http","https"]).call(os,S_(xr,ki,Co))>-1},Au=function(xr,ki){var Co;ki=ki||[];var os=xr.getIn((0,_.default)(Co=["meta","paths"]).call(Co,(0,l.default)(ki),["parameters"]),(0,we.fromJS)([])),Ss=!0;return(0,O.default)(os).call(os,function(Rs){var ks=Rs.get("errors");ks&&ks.count()&&(Ss=!1)}),Ss},hd=function(xr,ki){var Co,os,Ss={requestBody:!1,requestContentType:{}},Rs=xr.getIn((0,_.default)(Co=["resolvedSubtrees","paths"]).call(Co,(0,l.default)(ki),["requestBody"]),(0,we.fromJS)([]));return Rs.size<1||(Rs.getIn(["required"])&&(Ss.requestBody=Rs.getIn(["required"])),(0,O.default)(os=Rs.getIn(["content"]).entrySeq()).call(os,function(ks){var Ua=ks[0];if(ks[1].getIn(["schema","required"])){var Dl=ks[1].getIn(["schema","required"]).toJS();Ss.requestContentType[Ua]=Dl}})),Ss},n_=function(xr,ki,Co,os){var Ss;if((Co||os)&&Co===os)return!0;var Rs=xr.getIn((0,_.default)(Ss=["resolvedSubtrees","paths"]).call(Ss,(0,l.default)(ki),["requestBody","content"]),(0,we.fromJS)([]));if(Rs.size<2||!Co||!os)return!1;var ks=Rs.getIn([Co,"schema","properties"],(0,we.fromJS)([])),Ua=Rs.getIn([os,"schema","properties"],(0,we.fromJS)([]));return!!ks.equals(Ua)};function co(xr){return we.Map.isMap(xr)?xr:new we.Map}},7508:(t,i,n)=>{n.r(i),n.d(i,{updateSpec:()=>v,updateJsonSpec:()=>O,executeRequest:()=>P,validateParams:()=>G});var o=n(2740),l=n(29),_=n(9908),v=function(K,oe){var ue=oe.specActions;return function(){K.apply(void 0,arguments),ue.parseToJson.apply(ue,arguments)}},O=function(K,oe){var ue=oe.specActions;return function(){for(var pe=arguments.length,ye=new Array(pe),Ue=0;Ue<pe;Ue++)ye[Ue]=arguments[Ue];K.apply(void 0,ye),ue.invalidateResolvedSubtreeCache();var ke=(0,_.default)(ye[0],["paths"])||{},we=(0,o.default)(ke);(0,l.default)(we).call(we,function(Z){(0,_.default)(ke,[Z]).$ref&&ue.requestResolvedSubtree(["paths",Z])}),ue.requestResolvedSubtree(["components","securitySchemes"])}},P=function(K,oe){var ue=oe.specActions;return function(pe){return ue.logRequest(pe),K(pe)}},G=function(K,oe){var ue=oe.specSelectors;return function(pe){return K(pe,ue.isOAS3())}}},4852:(t,i,n)=>{n.r(i),n.d(i,{loaded:()=>o});var o=function(l,_){return function(){l.apply(void 0,arguments);var v=_.getConfigs().withCredentials;void 0!==v&&(_.fn.fetch.withCredentials="string"==typeof v?"true"===v:!!v)}}},2990:(t,i,n)=>{n.r(i),n.d(i,{default:()=>K});var o=n(5171);const l=(n.d(ue={},{default:()=>nP}),ue),_=(oe=>{var ue={};return n.d(ue,oe),ue})({buildRequest:()=>lP,execute:()=>Bk}),v=(oe=>{var ue={};return n.d(ue,oe),ue})({default:()=>$A,makeHttp:()=>e5,serializeRes:()=>Vx}),O=(oe=>{var ue={};return n.d(ue,oe),ue})({default:()=>Wk});var ue,P=n(5013),G=n(4852);function K(oe){var ue=oe.configs,pe=oe.getConfigs;return{fn:{fetch:(0,v.makeHttp)(v.default,ue.preFetch,ue.postFetch),buildRequest:_.buildRequest,execute:_.execute,resolve:l.default,resolveSubtree:function(ye,Ue,xe){var ke;if(void 0===xe){var we=pe();xe={modelPropertyMacro:we.modelPropertyMacro,parameterMacro:we.parameterMacro,requestInterceptor:we.requestInterceptor,responseInterceptor:we.responseInterceptor}}for(var Z=arguments.length,Ft=new Array(Z>3?Z-3:0),Dt=3;Dt<Z;Dt++)Ft[Dt-3]=arguments[Dt];return O.default.apply(void 0,(0,o.default)(ke=[ye,Ue,xe]).call(ke,Ft))},serializeRes:v.serializeRes,opId:P.opId},statePlugins:{configs:{wrapActions:{loaded:G.loaded}}}}}},8525:(t,i,n)=>{n.r(i),n.d(i,{default:()=>l});var o=n(6298);function l(){return{fn:{shallowEqualKeys:o.be}}}},8347:(t,i,n)=>{n.r(i),n.d(i,{getDisplayName:()=>o});var o=function(l){return l.displayName||l.name||"Component"}},3420:(t,i,n)=>{n.r(i),n.d(i,{default:()=>P});var o=n(313),l=n(6298),_=n(5005),v=n(8347),O=n(8287);const P=function(G){var K,xe,oe=G.getComponents,ue=G.getStore,pe=G.getSystem,ye=(K=(0,_.getComponent)(pe,ue,oe),(0,l.HP)(K,function(){for(var xe=arguments.length,ke=new Array(xe),we=0;we<xe;we++)ke[we]=arguments[we];return(0,o.default)(ke)})),Ue=(xe=(0,_.withMappedContainer)(pe,ue,ye),(0,O.Z)(xe,function(){for(var ke=arguments.length,we=new Array(ke),Z=0;Z<ke;Z++)we[Z]=arguments[Z];return we}));return{rootInjects:{getComponent:ye,makeMappedContainer:Ue,render:(0,_.render)(pe,ue,_.getComponent,oe)},fn:{getDisplayName:v.getDisplayName}}}},5005:(t,i,n)=>{n.r(i),n.d(i,{getComponent:()=>Dt,render:()=>Ft,withMappedContainer:()=>Z});var o=n(1581),l=n(1013),_=n(863),v=n(7344),O=n(8656),P=n(9972),G=n(5416),K=n(2740),oe=n(810);const ue=(n.d(ln={},{default:()=>uP}),ln);var ln,pe=n(9871);const ye=(Yt=>{var ln={};return n.d(ln,Yt),ln})({Provider:()=>e$,connect:()=>P$}),Ue=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>L$()}),xe=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>$$()});var ke=function(Yt,ln,$n){return(0,pe.compose)($n?(nn=Yt,Jn=$n,function(zn){var Zr=nn().fn,$r=function(ui){(0,P.default)(Un,ui);var gi=(0,G.default)(Un);function Un(){return(0,v.default)(this,Un),gi.apply(this,arguments)}return(0,O.default)(Un,[{key:"render",value:function(){return oe.default.createElement(ye.Provider,{store:Jn},oe.default.createElement(zn,(0,_.default)({},this.props,this.context)))}}]),Un}(oe.Component);return $r.displayName="WithRoot(".concat(Zr.getDisplayName(zn),")"),$r}):xe.default,(0,ye.connect)(function(nn,Jn){var zn,Zr=(0,l.default)((0,l.default)({},Jn),Yt());return((null===(zn=ln.prototype)||void 0===zn?void 0:zn.mapStateToProps)||function(ui){return{state:ui}})(nn,Zr)}),function(nn){return function(Jn){var zn=nn().fn,Zr=function($r){(0,P.default)(gi,$r);var ui=(0,G.default)(gi);function gi(){return(0,v.default)(this,gi),ui.apply(this,arguments)}return(0,O.default)(gi,[{key:"render",value:function(){return oe.default.createElement(Jn,(0,_.default)({},nn(),this.props,this.context))}}]),gi}(oe.Component);return Zr.displayName="WithSystem(".concat(zn.getDisplayName(Jn),")"),Zr}}(Yt))(ln);var nn,Jn},we=function(Yt,ln,$n,nn){for(var Jn in ln){var zn=ln[Jn];"function"==typeof zn&&zn($n[Jn],nn[Jn],Yt())}},Z=function(Yt,ln,$n){return function(nn,Jn){var zn=Yt().fn,Zr=$n(nn,"root"),$r=function(ui){(0,P.default)(Un,ui);var gi=(0,G.default)(Un);function Un(lr,ar){var Cr;return(0,v.default)(this,Un),Cr=gi.call(this,lr,ar),we(Yt,Jn,lr,{}),Cr}return(0,O.default)(Un,[{key:"UNSAFE_componentWillReceiveProps",value:function(lr){we(Yt,Jn,lr,this.props)}},{key:"render",value:function(){var lr=(0,Ue.default)(this.props,Jn?(0,K.default)(Jn):[]);return oe.default.createElement(Zr,lr)}}]),Un}(oe.Component);return $r.displayName="WithMappedContainer(".concat(zn.getDisplayName(Zr),")"),$r}},Ft=function(Yt,ln,$n,nn){return function(Jn){var zn=$n(Yt,ln,nn)("App","root");ue.default.render(oe.default.createElement(zn,null),Jn)}},Dt=function(Yt,ln,$n){return function(nn,Jn){var zn=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"!=typeof nn)throw new TypeError("Need a string, to fetch a component. Was given a "+(0,o.default)(nn));var Zr=$n(nn);return Zr?Jn?"root"===Jn?ke(Yt,Zr,ln()):ke(Yt,Zr):Zr:(zn.failSilently||Yt().log.warn("Could not find component:",nn),null)}}},471:(t,i,n)=>{n.d(i,{d3:()=>_.default,C2:()=>Dt});var o=n(2740),l=n(2372);const _=(n.d(ln={},{default:()=>lH}),ln),v=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>dH}),O=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>_H}),P=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>gH}),G=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>EH}),K=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>TH}),oe=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>OH}),ue=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>RH}),pe=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>xH}),ye=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>wH}),Ue=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>PH}),xe=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>NH}),ke=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>IH}),we=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>FH});var ln;_.default.registerLanguage("json",O.default),_.default.registerLanguage("js",v.default),_.default.registerLanguage("xml",P.default),_.default.registerLanguage("yaml",K.default),_.default.registerLanguage("http",oe.default),_.default.registerLanguage("bash",G.default),_.default.registerLanguage("powershell",ue.default),_.default.registerLanguage("javascript",v.default);var Z={agate:pe.default,arta:ye.default,monokai:Ue.default,nord:xe.default,obsidian:ke.default,"tomorrow-night":we.default},Ft=(0,o.default)(Z),Dt=function(Yt){return(0,l.default)(Ft).call(Ft,Yt)?Z[Yt]:(console.warn("Request style '".concat(Yt,"' is not available, returning default instead")),pe.default)}},6298:(t,i,n)=>{n.d(i,{r3:()=>ou,GZ:()=>kp,Xb:()=>Ua,oJ:()=>hd,XV:()=>ki,iQ:()=>kt,J6:()=>n_,DR:()=>cr,oG:()=>Zi,Uj:()=>ks,QG:()=>Au,po:()=>xr,nX:()=>co,gp:()=>Lt,xi:()=>Pc,kJ:()=>va,O2:()=>uc,LQ:()=>us,Wl:()=>pa,Kn:()=>Zo,HP:()=>qi,AF:()=>So,D$:()=>os,Ay:()=>xo,Q2:()=>$o,mz:()=>_i,V9:()=>Ss,cz:()=>Rs,UG:()=>np,Zl:()=>Yr,hW:()=>j_,Nm:()=>S_,be:()=>Y_,wh:()=>yd,Pz:()=>Co,_5:()=>rt,Ik:()=>eo});var o=n(2691),l=(n(9334),n(1581)),_=n(3248),v=n(4163),O=n(2565),P=n(2954),G=n(5171),K=n(29),oe=n(6145),ue=n(2740),pe=(n(5527),n(6785)),ye=n(7512),Ue=n(4350),xe=n(8136),ke=n(9963),we=(n(2372),n(313)),Z=n(8818),Ft=n(1778),Dt=n(3590),Yt=n(5942),ln=n(9725);const $n=(n.d(oo={},{sanitizeUrl:()=>LH.N}),oo),nn=(Sr=>{var oo={};return n.d(oo,Sr),oo})({default:()=>$H()}),Jn=(Sr=>{var oo={};return n.d(oo,Sr),oo})({default:()=>UH()});var oo,zn=n(5476);const Zr=(Sr=>{var oo={};return n.d(oo,Sr),oo})({default:()=>GH()}),$r=(Sr=>{var oo={};return n.d(oo,Sr),oo})({default:()=>jH()}),ui=(Sr=>{var oo={};return n.d(oo,Sr),oo})({default:()=>VH()});var gi=n(7068),Un=n(2473),lr=n(7504);const ar=(Sr=>{var oo={};return n.d(oo,Sr),oo})({default:()=>WH()});var Cr=n(9069),Wn=n(1798),ai=n.n(Wn),ho=n(9072),Yi=n.n(ho),lo=n(626),pi=n(8764).Buffer,Kn="default",Nn=function(Sr){return ln.default.Iterable.isIterable(Sr)};function _i(Sr){return Zo(Sr)?Nn(Sr)?Sr.toJS():Sr:{}}function Zi(Sr){var oo,Ns;if(Nn(Sr)||Sr instanceof lr.Z.File||!Zo(Sr))return Sr;if((0,v.default)(Sr))return(0,O.default)(Ns=ln.default.Seq(Sr)).call(Ns,Zi).toList();if((0,gi.default)((0,P.default)(Sr))){var fo,ea=function(xs){if(!(0,gi.default)((0,P.default)(xs)))return xs;var Bu,Zl={},hl={},ol=(0,_.default)((0,P.default)(xs).call(xs));try{for(ol.s();!(Bu=ol.n()).done;){var Gu,cf,Ep,su,cc=Bu.value;Zl[cc[0]]||hl[cc[0]]&&hl[cc[0]].containsMultiple?(hl[cc[0]]||(hl[cc[0]]={containsMultiple:!0,length:1},Zl[(0,G.default)(Ep=(0,G.default)(su="".concat(cc[0])).call(su,"_**[]")).call(Ep,hl[cc[0]].length)]=Zl[cc[0]],delete Zl[cc[0]]),hl[cc[0]].length+=1,Zl[(0,G.default)(Gu=(0,G.default)(cf="".concat(cc[0])).call(cf,"_**[]")).call(Gu,hl[cc[0]].length)]=cc[1]):Zl[cc[0]]=cc[1]}}catch(Mf){ol.e(Mf)}finally{ol.f()}return Zl}(Sr);return(0,O.default)(fo=ln.default.OrderedMap(ea)).call(fo,Zi)}return(0,O.default)(oo=ln.default.OrderedMap(Sr)).call(oo,Zi)}function So(Sr){return(0,v.default)(Sr)?Sr:[Sr]}function us(Sr){return"function"==typeof Sr}function Zo(Sr){return!!Sr&&"object"===(0,l.default)(Sr)}function pa(Sr){return"function"==typeof Sr}function va(Sr){return(0,v.default)(Sr)}var qi=zn.default;function xo(Sr,oo){var Ns;return(0,pe.default)(Ns=(0,ue.default)(Sr)).call(Ns,function(fo,ea){return fo[ea]=oo(Sr[ea],ea),fo},{})}function $o(Sr,oo){var Ns;return(0,pe.default)(Ns=(0,ue.default)(Sr)).call(Ns,function(fo,ea){var xs=oo(Sr[ea],ea);return xs&&"object"===(0,l.default)(xs)&&(0,ye.default)(fo,xs),fo},{})}function rt(Sr){return function(oo){return function(Ns){return function(fo){return"function"==typeof fo?fo(Sr()):Ns(fo)}}}}function kt(Sr){var oo,Ns=Sr.keySeq();return Ns.contains(Kn)?Kn:(0,Ue.default)(oo=(0,oe.default)(Ns).call(Ns,function(fo){return"2"===(fo+"")[0]})).call(oo).first()}function Lt(Sr,oo){if(!ln.default.Iterable.isIterable(Sr))return ln.default.List();var Ns=Sr.getIn((0,v.default)(oo)?oo:[oo]);return ln.default.List.isList(Ns)?Ns:ln.default.List()}function cr(Sr){var oo,Ns=[/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i];if((0,ke.default)(Ns).call(Ns,function(fo){return null!==(oo=fo.exec(Sr))}),null!==oo&&oo.length>1)try{return decodeURIComponent(oo[1])}catch(fo){console.error(fo)}return null}function Yr(Sr){return oo=Sr.replace(/\.[^./]*$/,""),(0,Jn.default)((0,nn.default)(oo));var oo}function li(Sr,oo,Ns,fo,ea){if(!oo)return[];var xs=[],Bu=oo.get("nullable"),Zl=oo.get("required"),Hl=oo.get("maximum"),hl=oo.get("minimum"),ol=oo.get("type"),cc=oo.get("format"),Gu=oo.get("maxLength"),cf=oo.get("minLength"),Ep=oo.get("uniqueItems"),su=oo.get("maxItems"),Mf=oo.get("minItems"),z_=oo.get("pattern"),Sp=Ns||!0===Zl,Eh=null!=Sr;if(Bu&&null===Sr||!ol||!(Sp||Eh&&"array"===ol||Sp||Eh))return[];var b_="string"===ol&&Sr,wm="array"===ol&&(0,v.default)(Sr)&&Sr.length,yo="array"===ol&&ln.default.List.isList(Sr)&&Sr.count(),$d=[b_,wm,yo,"array"===ol&&"string"==typeof Sr&&Sr,"file"===ol&&Sr instanceof lr.Z.File,"boolean"===ol&&(Sr||!1===Sr),"number"===ol&&(Sr||0===Sr),"integer"===ol&&(Sr||0===Sr),"object"===ol&&"object"===(0,l.default)(Sr)&&null!==Sr,"object"===ol&&"string"==typeof Sr&&Sr],Pm=(0,ke.default)($d).call($d,function(Ml){return!!Ml});if(Sp&&!Pm&&!fo)return xs.push("Required field is not provided"),xs;if("object"===ol&&(null===ea||"application/json"===ea)){var lg,gm=Sr;if("string"==typeof Sr)try{gm=JSON.parse(Sr)}catch{return xs.push("Parameter string value must be valid JSON"),xs}oo&&oo.has("required")&&pa(Zl.isList)&&Zl.isList()&&(0,K.default)(Zl).call(Zl,function(Ml){void 0===gm[Ml]&&xs.push({propKey:Ml,error:"Required property not found"})}),oo&&oo.has("properties")&&(0,K.default)(lg=oo.get("properties")).call(lg,function(Ml,mc){var Od=li(gm[mc],Ml,!1,fo,ea);xs.push.apply(xs,(0,o.default)((0,O.default)(Od).call(Od,function(Tv){return{propKey:mc,error:Tv}})))})}if(z_){var Fg=function(Ml,mc){if(!new RegExp(mc).test(Ml))return"Value must follow pattern "+mc}(Sr,z_);Fg&&xs.push(Fg)}if(Mf&&"array"===ol){var r_=function(Ml,mc){var Od;if(!Ml&&mc>=1||Ml&&Ml.length<mc)return(0,G.default)(Od="Array must contain at least ".concat(mc," item")).call(Od,1===mc?"":"s")}(Sr,Mf);r_&&xs.push(r_)}if(su&&"array"===ol){var qC=function(Ml,mc){var Od;if(Ml&&Ml.length>mc)return(0,G.default)(Od="Array must not contain more then ".concat(mc," item")).call(Od,1===mc?"":"s")}(Sr,su);qC&&xs.push({needRemove:!0,error:qC})}if(Ep&&"array"===ol){var Xd=function(Ml,mc){if(Ml&&("true"===mc||!0===mc)){var Od=(0,ln.fromJS)(Ml),Tv=Od.toSet();if(Ml.length>Tv.size){var y1=(0,ln.Set)();if((0,K.default)(Od).call(Od,function(Cv,i_){(0,oe.default)(Od).call(Od,function(E1){return pa(E1.equals)?E1.equals(Cv):E1===Cv}).size>1&&(y1=y1.add(i_))}),0!==y1.size)return(0,O.default)(y1).call(y1,function(Cv){return{index:Cv,error:"No duplicates allowed."}}).toArray()}}}(Sr,Ep);Xd&&xs.push.apply(xs,(0,o.default)(Xd))}if(Gu||0===Gu){var e2=function(Ml,mc){var Od;if(Ml.length>mc)return(0,G.default)(Od="Value must be no longer than ".concat(mc," character")).call(Od,1!==mc?"s":"")}(Sr,Gu);e2&&xs.push(e2)}if(cf){var dS=function(Ml,mc){var Od;if(Ml.length<mc)return(0,G.default)(Od="Value must be at least ".concat(mc," character")).call(Od,1!==mc?"s":"")}(Sr,cf);dS&&xs.push(dS)}if(Hl||0===Hl){var t2=function(Ml,mc){if(Ml>mc)return"Value must be less than ".concat(mc)}(Sr,Hl);t2&&xs.push(t2)}if(hl||0===hl){var n2=function(Ml,mc){if(Ml<mc)return"Value must be greater than ".concat(mc)}(Sr,hl);n2&&xs.push(n2)}if("string"===ol){var fS;if(!(fS="date-time"===cc?function(Ml){if(isNaN(Date.parse(Ml)))return"Value must be a DateTime"}(Sr):"uuid"===cc?function(Ml){if(Ml=Ml.toString().toLowerCase(),!/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(Ml))return"Value must be a Guid"}(Sr):function(Ml){if(Ml&&"string"!=typeof Ml)return"Value must be a string"}(Sr)))return xs;xs.push(fS)}else if("boolean"===ol){var Q0=function(Ml){if("true"!==Ml&&"false"!==Ml&&!0!==Ml&&!1!==Ml)return"Value must be a boolean"}(Sr);if(!Q0)return xs;xs.push(Q0)}else if("number"===ol){var r2=function(Ml){if(!/^-?\d+(\.?\d+)?$/.test(Ml))return"Value must be a number"}(Sr);if(!r2)return xs;xs.push(r2)}else if("integer"===ol){var i2=function(Ml){if(!/^-?\d+$/.test(Ml))return"Value must be an integer"}(Sr);if(!i2)return xs;xs.push(i2)}else if("array"===ol){if(!wm&&!yo)return xs;Sr&&(0,K.default)(Sr).call(Sr,function(Ml,mc){var Od=li(Ml,oo.get("items"),!1,fo,ea);xs.push.apply(xs,(0,o.default)((0,O.default)(Od).call(Od,function(Tv){return{index:mc,error:Tv}})))})}else if("file"===ol){var o2=function(Ml){if(Ml&&!(Ml instanceof lr.Z.File))return"Value must be a file"}(Sr);if(!o2)return xs;xs.push(o2)}return xs}var eo=function(Sr,oo){var Ns=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},fo=Ns.isOAS3,ea=void 0!==fo&&fo,xs=Ns.bypassRequiredCheck,Bu=void 0!==xs&&xs,Zl=Sr.get("required"),Hl=(0,Cr.Z)(Sr,{isOAS3:ea});return li(oo,Hl.schema,Zl,Bu,Hl.parameterContentMediaType)},_a=function(Sr,oo,Ns){if(Sr&&(!Sr.xml||!Sr.xml.name)){if(Sr.xml=Sr.xml||{},!Sr.$$ref)return Sr.type||Sr.items||Sr.properties||Sr.additionalProperties?'<?xml version="1.0" encoding="UTF-8"?>\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e':null;var fo=Sr.$$ref.match(/\S*\/(\S+)$/);Sr.xml.name=fo[1]}return(0,Un.memoizedCreateXMLExample)(Sr,oo,Ns)},ps=[{when:/json/,shouldStringifyTypes:["string"]}],Fl=["object"],Gl=function(Sr,oo,Ns,fo){var ea=(0,Un.memoizedSampleFromSchema)(Sr,oo,fo),xs=(0,l.default)(ea),Bu=(0,pe.default)(ps).call(ps,function(Zl,Hl){var hl;return Hl.when.test(Ns)?(0,G.default)(hl=[]).call(hl,(0,o.default)(Zl),(0,o.default)(Hl.shouldStringifyTypes)):Zl},Fl);return(0,$r.default)(Bu,function(Zl){return Zl===xs})?(0,we.default)(ea,null,2):ea},Ou=function(Sr,oo,Ns,fo){var ea,xs=Gl(Sr,oo,Ns,fo);try{"\n"===(ea=lo.default.dump(lo.default.load(xs),{lineWidth:-1},{schema:lo.JSON_SCHEMA}))[ea.length-1]&&(ea=(0,xe.default)(ea).call(ea,0,ea.length-1))}catch(Bu){return console.error(Bu),"error: could not generate yaml example"}return ea.replace(/\t/g," ")},Pc=function(Sr){var oo=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",Ns=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},fo=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return Sr&&pa(Sr.toJS)&&(Sr=Sr.toJS()),fo&&pa(fo.toJS)&&(fo=fo.toJS()),/xml/.test(oo)?_a(Sr,Ns,fo):/(yaml|yml)/.test(oo)?Ou(Sr,Ns,oo,fo):Gl(Sr,Ns,oo,fo)},np=function(){var Sr={},oo=lr.Z.location.search;if(!oo)return{};if(""!=oo){var Ns=oo.substr(1).split("&");for(var fo in Ns)Object.prototype.hasOwnProperty.call(Ns,fo)&&(fo=Ns[fo].split("="),Sr[decodeURIComponent(fo[0])]=fo[1]&&decodeURIComponent(fo[1])||"")}return Sr},ou=function(Sr){return(Sr instanceof pi?Sr:pi.from(Sr.toString(),"utf-8")).toString("base64")},yd={operationsSorter:{alpha:function(Sr,oo){return Sr.get("path").localeCompare(oo.get("path"))},method:function(Sr,oo){return Sr.get("method").localeCompare(oo.get("method"))}},tagsSorter:{alpha:function(Sr,oo){return Sr.localeCompare(oo)}}},kp=function(Sr){var oo=[];for(var Ns in Sr){var fo=Sr[Ns];void 0!==fo&&""!==fo&&oo.push([Ns,"=",encodeURIComponent(fo).replace(/%20/g,"+")].join(""))}return oo.join("&")},Y_=function(Sr,oo,Ns){return!!(0,Zr.default)(Ns,function(fo){return(0,ui.default)(Sr[fo],oo[fo])})};function S_(Sr){return"string"!=typeof Sr||""===Sr?"":(0,$n.sanitizeUrl)(Sr)}function j_(Sr){return!(!Sr||(0,Z.default)(Sr).call(Sr,"localhost")>=0||(0,Z.default)(Sr).call(Sr,"127.0.0.1")>=0||"none"===Sr)}function Au(Sr){if(!ln.default.OrderedMap.isOrderedMap(Sr)||!Sr.size)return null;var oo=(0,Ft.default)(Sr).call(Sr,function(ea,xs){return(0,Dt.default)(xs).call(xs,"2")&&(0,ue.default)(ea.get("content")||{}).length>0}),Ns=Sr.get("default")||ln.default.OrderedMap(),fo=(Ns.get("content")||ln.default.OrderedMap()).keySeq().toJS().length?Ns:null;return oo||fo}var hd=function(Sr){return"string"==typeof Sr||Sr instanceof String?(0,Yt.default)(Sr).call(Sr).replace(/\s/g,"%20"):""},n_=function(Sr){return(0,ar.default)(hd(Sr).replace(/%20/g,"_"))},co=function(Sr){return(0,oe.default)(Sr).call(Sr,function(oo,Ns){return/^x-/.test(Ns)})},xr=function(Sr){return(0,oe.default)(Sr).call(Sr,function(oo,Ns){return/^pattern|maxLength|minLength|maximum|minimum/.test(Ns)})};function ki(Sr,oo){var Ns,fo=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};if("object"!==(0,l.default)(Sr)||(0,v.default)(Sr)||null===Sr||!oo)return Sr;var ea=(0,ye.default)({},Sr);return(0,K.default)(Ns=(0,ue.default)(ea)).call(Ns,function(xs){xs===oo&&fo(ea[xs],xs)?delete ea[xs]:ea[xs]=ki(ea[xs],oo,fo)}),ea}function Co(Sr){if("string"==typeof Sr)return Sr;if(Sr&&Sr.toJS&&(Sr=Sr.toJS()),"object"===(0,l.default)(Sr)&&null!==Sr)try{return(0,we.default)(Sr,null,2)}catch{return String(Sr)}return null==Sr?"":Sr.toString()}function os(Sr){return"number"==typeof Sr?Sr.toString():Sr}function Ss(Sr){var oo=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ns=oo.returnAll,fo=void 0!==Ns&&Ns,ea=oo.allowHashes,xs=void 0===ea||ea;if(!ln.default.Map.isMap(Sr))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");var Bu,Zl,Hl,hl=Sr.get("name"),ol=Sr.get("in"),cc=[];return Sr&&Sr.hashCode&&ol&&hl&&xs&&cc.push((0,G.default)(Bu=(0,G.default)(Zl="".concat(ol,".")).call(Zl,hl,".hash-")).call(Bu,Sr.hashCode())),ol&&hl&&cc.push((0,G.default)(Hl="".concat(ol,".")).call(Hl,hl)),cc.push(hl),fo?cc:cc[0]||""}function Rs(Sr,oo){var Ns,fo=Ss(Sr,{returnAll:!0});return(0,oe.default)(Ns=(0,O.default)(fo).call(fo,function(ea){return oo[ea]})).call(Ns,function(ea){return void 0!==ea})[0]}function ks(){return Dl(ai()(32).toString("base64"))}function Ua(Sr){return Dl(Yi()("sha256").update(Sr).digest("base64"))}function Dl(Sr){return Sr.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var uc=function(Sr){return!Sr||!(!Nn(Sr)||!Sr.isEmpty())}},2518:(t,i,n)=>{function o(l){return function(_){try{return!!JSON.parse(_)}catch{return null}}(l)?"json":null}n.d(i,{O:()=>o})},7504:(t,i,n)=>{n.d(i,{Z:()=>o});const o=function(){var l={location:{},history:{},open:function(){},close:function(){},File:function(){}};if(typeof window>"u")return l;try{l=window;for(var _=0,v=["File","Blob","FormData"];_<v.length;_++){var O=v[_];O in window&&(l[O]=window[O])}}catch(P){console.error(P)}return l}()},9069:(t,i,n)=>{n.d(i,{Z:()=>O});var o=n(6145),l=n(2372),_=n(9725),v=_.default.Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf");function O(P){var K=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isOAS3;if(!_.default.Map.isMap(P))return{schema:_.default.Map(),parameterContentMediaType:null};if(!K)return"body"===P.get("in")?{schema:P.get("schema",_.default.Map()),parameterContentMediaType:null}:{schema:(0,o.default)(P).call(P,function(pe,ye){return(0,l.default)(v).call(v,ye)}),parameterContentMediaType:null};if(P.get("content")){var ue=P.get("content",_.default.Map({})).keySeq().first();return{schema:P.getIn(["content",ue,"schema"],_.default.Map()),parameterContentMediaType:ue}}return{schema:P.get("schema",_.default.Map()),parameterContentMediaType:null}}},8287:(t,i,n)=>{n.d(i,{Z:()=>Dt});var o=n(7344),l=n(8656);const _=(n.d(ln={},{default:()=>FC}),ln),v=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>mv});var ln,O=n(9972),P=n(5416);const G=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>ID});var K=n(4163),oe=n(7930),ue=n(8898),pe=n(5487),ye=n(1778);const Ue=(Yt=>{var ln={};return n.d(ln,Yt),ln})({default:()=>XH()});var xe=n(6914),ke=n(5476),we=function(Yt){return function(ln){return(0,K.default)(Yt)&&(0,K.default)(ln)&&Yt.length===ln.length&&(0,oe.default)(Yt).call(Yt,function($n,nn){return $n===ln[nn]})}},Z=function(){for(var Yt=arguments.length,ln=new Array(Yt),$n=0;$n<Yt;$n++)ln[$n]=arguments[$n];return ln},Ft=function(Yt){(0,O.default)($n,Yt);var ln=(0,P.default)($n);function $n(){return(0,o.default)(this,$n),ln.apply(this,arguments)}return(0,l.default)($n,[{key:"delete",value:function(nn){var Jn=(0,ue.default)((0,pe.default)(this).call(this)),zn=(0,ye.default)(Jn).call(Jn,we(nn));return(0,_.default)((0,v.default)($n.prototype),"delete",this).call(this,zn)}},{key:"get",value:function(nn){var Jn=(0,ue.default)((0,pe.default)(this).call(this)),zn=(0,ye.default)(Jn).call(Jn,we(nn));return(0,_.default)((0,v.default)($n.prototype),"get",this).call(this,zn)}},{key:"has",value:function(nn){var Jn=(0,ue.default)((0,pe.default)(this).call(this));return-1!==(0,Ue.default)(Jn).call(Jn,we(nn))}}]),$n}((0,G.default)(xe.default));const Dt=function(Yt){var ln=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z,$n=ke.default.Cache;ke.default.Cache=Ft;var nn=(0,ke.default)(Yt,ln);return ke.default.Cache=$n,nn}},8764:(t,i,n)=>{const o=n(4780),l=n(3294),_="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;i.Buffer=P,i.SlowBuffer=function(rt){return+rt!=rt&&(rt=0),P.alloc(+rt)},i.INSPECT_MAX_BYTES=50;const v=2147483647;function O(rt){if(rt>v)throw new RangeError('The value "'+rt+'" is invalid for option "size"');const kt=new Uint8Array(rt);return Object.setPrototypeOf(kt,P.prototype),kt}function P(rt,kt,Lt){if("number"==typeof rt){if("string"==typeof kt)throw new TypeError('The "string" argument must be of type string. Received type number');return oe(rt)}return G(rt,kt,Lt)}function G(rt,kt,Lt){if("string"==typeof rt)return function(li,eo){if("string"==typeof eo&&""!==eo||(eo="utf8"),!P.isEncoding(eo))throw new TypeError("Unknown encoding: "+eo);const _a=0|Ue(li,eo);let ps=O(_a);const Fl=ps.write(li,eo);return Fl!==_a&&(ps=ps.slice(0,Fl)),ps}(rt,kt);if(ArrayBuffer.isView(rt))return function(li){if(pa(li,Uint8Array)){const eo=new Uint8Array(li);return pe(eo.buffer,eo.byteOffset,eo.byteLength)}return ue(li)}(rt);if(null==rt)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof rt);if(pa(rt,ArrayBuffer)||rt&&pa(rt.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(pa(rt,SharedArrayBuffer)||rt&&pa(rt.buffer,SharedArrayBuffer)))return pe(rt,kt,Lt);if("number"==typeof rt)throw new TypeError('The "value" argument must not be of type number. Received type number');const cr=rt.valueOf&&rt.valueOf();if(null!=cr&&cr!==rt)return P.from(cr,kt,Lt);const Yr=function(li){if(P.isBuffer(li)){const eo=0|ye(li.length),_a=O(eo);return 0===_a.length||li.copy(_a,0,0,eo),_a}return void 0!==li.length?"number"!=typeof li.length||va(li.length)?O(0):ue(li):"Buffer"===li.type&&Array.isArray(li.data)?ue(li.data):void 0}(rt);if(Yr)return Yr;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof rt[Symbol.toPrimitive])return P.from(rt[Symbol.toPrimitive]("string"),kt,Lt);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof rt)}function K(rt){if("number"!=typeof rt)throw new TypeError('"size" argument must be of type number');if(rt<0)throw new RangeError('The value "'+rt+'" is invalid for option "size"')}function oe(rt){return K(rt),O(rt<0?0:0|ye(rt))}function ue(rt){const kt=rt.length<0?0:0|ye(rt.length),Lt=O(kt);for(let cr=0;cr<kt;cr+=1)Lt[cr]=255&rt[cr];return Lt}function pe(rt,kt,Lt){if(kt<0||rt.byteLength<kt)throw new RangeError('"offset" is outside of buffer bounds');if(rt.byteLength<kt+(Lt||0))throw new RangeError('"length" is outside of buffer bounds');let cr;return cr=void 0===kt&&void 0===Lt?new Uint8Array(rt):void 0===Lt?new Uint8Array(rt,kt):new Uint8Array(rt,kt,Lt),Object.setPrototypeOf(cr,P.prototype),cr}function ye(rt){if(rt>=v)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+v.toString(16)+" bytes");return 0|rt}function Ue(rt,kt){if(P.isBuffer(rt))return rt.length;if(ArrayBuffer.isView(rt)||pa(rt,ArrayBuffer))return rt.byteLength;if("string"!=typeof rt)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof rt);const Lt=rt.length,cr=arguments.length>2&&!0===arguments[2];if(!cr&&0===Lt)return 0;let Yr=!1;for(;;)switch(kt){case"ascii":case"latin1":case"binary":return Lt;case"utf8":case"utf-8":return So(rt).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*Lt;case"hex":return Lt>>>1;case"base64":return us(rt).length;default:if(Yr)return cr?-1:So(rt).length;kt=(""+kt).toLowerCase(),Yr=!0}}function xe(rt,kt,Lt){let cr=!1;if((void 0===kt||kt<0)&&(kt=0),kt>this.length||((void 0===Lt||Lt>this.length)&&(Lt=this.length),Lt<=0)||(Lt>>>=0)<=(kt>>>=0))return"";for(rt||(rt="utf8");;)switch(rt){case"hex":return ui(this,kt,Lt);case"utf8":case"utf-8":return Jn(this,kt,Lt);case"ascii":return Zr(this,kt,Lt);case"latin1":case"binary":return $r(this,kt,Lt);case"base64":return nn(this,kt,Lt);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gi(this,kt,Lt);default:if(cr)throw new TypeError("Unknown encoding: "+rt);rt=(rt+"").toLowerCase(),cr=!0}}function ke(rt,kt,Lt){const cr=rt[kt];rt[kt]=rt[Lt],rt[Lt]=cr}function we(rt,kt,Lt,cr,Yr){if(0===rt.length)return-1;if("string"==typeof Lt?(cr=Lt,Lt=0):Lt>2147483647?Lt=2147483647:Lt<-2147483648&&(Lt=-2147483648),va(Lt=+Lt)&&(Lt=Yr?0:rt.length-1),Lt<0&&(Lt=rt.length+Lt),Lt>=rt.length){if(Yr)return-1;Lt=rt.length-1}else if(Lt<0){if(!Yr)return-1;Lt=0}if("string"==typeof kt&&(kt=P.from(kt,cr)),P.isBuffer(kt))return 0===kt.length?-1:Z(rt,kt,Lt,cr,Yr);if("number"==typeof kt)return kt&=255,"function"==typeof Uint8Array.prototype.indexOf?Yr?Uint8Array.prototype.indexOf.call(rt,kt,Lt):Uint8Array.prototype.lastIndexOf.call(rt,kt,Lt):Z(rt,[kt],Lt,cr,Yr);throw new TypeError("val must be string, number or Buffer")}function Z(rt,kt,Lt,cr,Yr){let li,eo=1,_a=rt.length,ps=kt.length;if(void 0!==cr&&("ucs2"===(cr=String(cr).toLowerCase())||"ucs-2"===cr||"utf16le"===cr||"utf-16le"===cr)){if(rt.length<2||kt.length<2)return-1;eo=2,_a/=2,ps/=2,Lt/=2}function Fl(Gl,Ou){return 1===eo?Gl[Ou]:Gl.readUInt16BE(Ou*eo)}if(Yr){let Gl=-1;for(li=Lt;li<_a;li++)if(Fl(rt,li)===Fl(kt,-1===Gl?0:li-Gl)){if(-1===Gl&&(Gl=li),li-Gl+1===ps)return Gl*eo}else-1!==Gl&&(li-=li-Gl),Gl=-1}else for(Lt+ps>_a&&(Lt=_a-ps),li=Lt;li>=0;li--){let Gl=!0;for(let Ou=0;Ou<ps;Ou++)if(Fl(rt,li+Ou)!==Fl(kt,Ou)){Gl=!1;break}if(Gl)return li}return-1}function Ft(rt,kt,Lt,cr){Lt=Number(Lt)||0;const Yr=rt.length-Lt;cr?(cr=Number(cr))>Yr&&(cr=Yr):cr=Yr;const li=kt.length;let eo;for(cr>li/2&&(cr=li/2),eo=0;eo<cr;++eo){const _a=parseInt(kt.substr(2*eo,2),16);if(va(_a))return eo;rt[Lt+eo]=_a}return eo}function Dt(rt,kt,Lt,cr){return Zo(So(kt,rt.length-Lt),rt,Lt,cr)}function Yt(rt,kt,Lt,cr){return Zo(function(Yr){const li=[];for(let eo=0;eo<Yr.length;++eo)li.push(255&Yr.charCodeAt(eo));return li}(kt),rt,Lt,cr)}function ln(rt,kt,Lt,cr){return Zo(us(kt),rt,Lt,cr)}function $n(rt,kt,Lt,cr){return Zo(function(Yr,li){let eo,_a,ps;const Fl=[];for(let Gl=0;Gl<Yr.length&&!((li-=2)<0);++Gl)eo=Yr.charCodeAt(Gl),_a=eo>>8,ps=eo%256,Fl.push(ps),Fl.push(_a);return Fl}(kt,rt.length-Lt),rt,Lt,cr)}function nn(rt,kt,Lt){return o.fromByteArray(0===kt&&Lt===rt.length?rt:rt.slice(kt,Lt))}function Jn(rt,kt,Lt){Lt=Math.min(rt.length,Lt);const cr=[];let Yr=kt;for(;Yr<Lt;){const li=rt[Yr];let eo=null,_a=li>239?4:li>223?3:li>191?2:1;if(Yr+_a<=Lt){let ps,Fl,Gl,Ou;switch(_a){case 1:li<128&&(eo=li);break;case 2:ps=rt[Yr+1],128==(192&ps)&&(Ou=(31&li)<<6|63&ps,Ou>127&&(eo=Ou));break;case 3:ps=rt[Yr+1],Fl=rt[Yr+2],128==(192&ps)&&128==(192&Fl)&&(Ou=(15&li)<<12|(63&ps)<<6|63&Fl,Ou>2047&&(Ou<55296||Ou>57343)&&(eo=Ou));break;case 4:ps=rt[Yr+1],Fl=rt[Yr+2],Gl=rt[Yr+3],128==(192&ps)&&128==(192&Fl)&&128==(192&Gl)&&(Ou=(15&li)<<18|(63&ps)<<12|(63&Fl)<<6|63&Gl,Ou>65535&&Ou<1114112&&(eo=Ou))}}null===eo?(eo=65533,_a=1):eo>65535&&(eo-=65536,cr.push(eo>>>10&1023|55296),eo=56320|1023&eo),cr.push(eo),Yr+=_a}return function(li){const eo=li.length;if(eo<=zn)return String.fromCharCode.apply(String,li);let _a="",ps=0;for(;ps<eo;)_a+=String.fromCharCode.apply(String,li.slice(ps,ps+=zn));return _a}(cr)}i.kMaxLength=v,(P.TYPED_ARRAY_SUPPORT=function(){try{const rt=new Uint8Array(1),kt={foo:function(){return 42}};return Object.setPrototypeOf(kt,Uint8Array.prototype),Object.setPrototypeOf(rt,kt),42===rt.foo()}catch{return!1}}())||typeof console>"u"||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(P.prototype,"parent",{enumerable:!0,get:function(){if(P.isBuffer(this))return this.buffer}}),Object.defineProperty(P.prototype,"offset",{enumerable:!0,get:function(){if(P.isBuffer(this))return this.byteOffset}}),P.poolSize=8192,P.from=function(rt,kt,Lt){return G(rt,kt,Lt)},Object.setPrototypeOf(P.prototype,Uint8Array.prototype),Object.setPrototypeOf(P,Uint8Array),P.alloc=function(rt,kt,Lt){return Yr=kt,li=Lt,K(cr=rt),cr<=0?O(cr):void 0!==Yr?"string"==typeof li?O(cr).fill(Yr,li):O(cr).fill(Yr):O(cr);var cr,Yr,li},P.allocUnsafe=function(rt){return oe(rt)},P.allocUnsafeSlow=function(rt){return oe(rt)},P.isBuffer=function(rt){return null!=rt&&!0===rt._isBuffer&&rt!==P.prototype},P.compare=function(rt,kt){if(pa(rt,Uint8Array)&&(rt=P.from(rt,rt.offset,rt.byteLength)),pa(kt,Uint8Array)&&(kt=P.from(kt,kt.offset,kt.byteLength)),!P.isBuffer(rt)||!P.isBuffer(kt))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(rt===kt)return 0;let Lt=rt.length,cr=kt.length;for(let Yr=0,li=Math.min(Lt,cr);Yr<li;++Yr)if(rt[Yr]!==kt[Yr]){Lt=rt[Yr],cr=kt[Yr];break}return Lt<cr?-1:cr<Lt?1:0},P.isEncoding=function(rt){switch(String(rt).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},P.concat=function(rt,kt){if(!Array.isArray(rt))throw new TypeError('"list" argument must be an Array of Buffers');if(0===rt.length)return P.alloc(0);let Lt;if(void 0===kt)for(kt=0,Lt=0;Lt<rt.length;++Lt)kt+=rt[Lt].length;const cr=P.allocUnsafe(kt);let Yr=0;for(Lt=0;Lt<rt.length;++Lt){let li=rt[Lt];if(pa(li,Uint8Array))Yr+li.length>cr.length?(P.isBuffer(li)||(li=P.from(li)),li.copy(cr,Yr)):Uint8Array.prototype.set.call(cr,li,Yr);else{if(!P.isBuffer(li))throw new TypeError('"list" argument must be an Array of Buffers');li.copy(cr,Yr)}Yr+=li.length}return cr},P.byteLength=Ue,P.prototype._isBuffer=!0,P.prototype.swap16=function(){const rt=this.length;if(rt%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let kt=0;kt<rt;kt+=2)ke(this,kt,kt+1);return this},P.prototype.swap32=function(){const rt=this.length;if(rt%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let kt=0;kt<rt;kt+=4)ke(this,kt,kt+3),ke(this,kt+1,kt+2);return this},P.prototype.swap64=function(){const rt=this.length;if(rt%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let kt=0;kt<rt;kt+=8)ke(this,kt,kt+7),ke(this,kt+1,kt+6),ke(this,kt+2,kt+5),ke(this,kt+3,kt+4);return this},P.prototype.toLocaleString=P.prototype.toString=function(){const rt=this.length;return 0===rt?"":0===arguments.length?Jn(this,0,rt):xe.apply(this,arguments)},P.prototype.equals=function(rt){if(!P.isBuffer(rt))throw new TypeError("Argument must be a Buffer");return this===rt||0===P.compare(this,rt)},P.prototype.inspect=function(){let rt="";const kt=i.INSPECT_MAX_BYTES;return rt=this.toString("hex",0,kt).replace(/(.{2})/g,"$1 ").trim(),this.length>kt&&(rt+=" ... "),"<Buffer "+rt+">"},_&&(P.prototype[_]=P.prototype.inspect),P.prototype.compare=function(rt,kt,Lt,cr,Yr){if(pa(rt,Uint8Array)&&(rt=P.from(rt,rt.offset,rt.byteLength)),!P.isBuffer(rt))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof rt);if(void 0===kt&&(kt=0),void 0===Lt&&(Lt=rt?rt.length:0),void 0===cr&&(cr=0),void 0===Yr&&(Yr=this.length),kt<0||Lt>rt.length||cr<0||Yr>this.length)throw new RangeError("out of range index");if(cr>=Yr&&kt>=Lt)return 0;if(cr>=Yr)return-1;if(kt>=Lt)return 1;if(this===rt)return 0;let li=(Yr>>>=0)-(cr>>>=0),eo=(Lt>>>=0)-(kt>>>=0);const _a=Math.min(li,eo),ps=this.slice(cr,Yr),Fl=rt.slice(kt,Lt);for(let Gl=0;Gl<_a;++Gl)if(ps[Gl]!==Fl[Gl]){li=ps[Gl],eo=Fl[Gl];break}return li<eo?-1:eo<li?1:0},P.prototype.includes=function(rt,kt,Lt){return-1!==this.indexOf(rt,kt,Lt)},P.prototype.indexOf=function(rt,kt,Lt){return we(this,rt,kt,Lt,!0)},P.prototype.lastIndexOf=function(rt,kt,Lt){return we(this,rt,kt,Lt,!1)},P.prototype.write=function(rt,kt,Lt,cr){if(void 0===kt)cr="utf8",Lt=this.length,kt=0;else if(void 0===Lt&&"string"==typeof kt)cr=kt,Lt=this.length,kt=0;else{if(!isFinite(kt))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");kt>>>=0,isFinite(Lt)?(Lt>>>=0,void 0===cr&&(cr="utf8")):(cr=Lt,Lt=void 0)}const Yr=this.length-kt;if((void 0===Lt||Lt>Yr)&&(Lt=Yr),rt.length>0&&(Lt<0||kt<0)||kt>this.length)throw new RangeError("Attempt to write outside buffer bounds");cr||(cr="utf8");let li=!1;for(;;)switch(cr){case"hex":return Ft(this,rt,kt,Lt);case"utf8":case"utf-8":return Dt(this,rt,kt,Lt);case"ascii":case"latin1":case"binary":return Yt(this,rt,kt,Lt);case"base64":return ln(this,rt,kt,Lt);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $n(this,rt,kt,Lt);default:if(li)throw new TypeError("Unknown encoding: "+cr);cr=(""+cr).toLowerCase(),li=!0}},P.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const zn=4096;function Zr(rt,kt,Lt){let cr="";Lt=Math.min(rt.length,Lt);for(let Yr=kt;Yr<Lt;++Yr)cr+=String.fromCharCode(127&rt[Yr]);return cr}function $r(rt,kt,Lt){let cr="";Lt=Math.min(rt.length,Lt);for(let Yr=kt;Yr<Lt;++Yr)cr+=String.fromCharCode(rt[Yr]);return cr}function ui(rt,kt,Lt){const cr=rt.length;(!kt||kt<0)&&(kt=0),(!Lt||Lt<0||Lt>cr)&&(Lt=cr);let Yr="";for(let li=kt;li<Lt;++li)Yr+=qi[rt[li]];return Yr}function gi(rt,kt,Lt){const cr=rt.slice(kt,Lt);let Yr="";for(let li=0;li<cr.length-1;li+=2)Yr+=String.fromCharCode(cr[li]+256*cr[li+1]);return Yr}function Un(rt,kt,Lt){if(rt%1!=0||rt<0)throw new RangeError("offset is not uint");if(rt+kt>Lt)throw new RangeError("Trying to access beyond buffer length")}function lr(rt,kt,Lt,cr,Yr,li){if(!P.isBuffer(rt))throw new TypeError('"buffer" argument must be a Buffer instance');if(kt>Yr||kt<li)throw new RangeError('"value" argument is out of bounds');if(Lt+cr>rt.length)throw new RangeError("Index out of range")}function ar(rt,kt,Lt,cr,Yr){Kn(kt,cr,Yr,rt,Lt,7);let li=Number(kt&BigInt(4294967295));rt[Lt++]=li,li>>=8,rt[Lt++]=li,li>>=8,rt[Lt++]=li,li>>=8,rt[Lt++]=li;let eo=Number(kt>>BigInt(32)&BigInt(4294967295));return rt[Lt++]=eo,eo>>=8,rt[Lt++]=eo,eo>>=8,rt[Lt++]=eo,eo>>=8,rt[Lt++]=eo,Lt}function Cr(rt,kt,Lt,cr,Yr){Kn(kt,cr,Yr,rt,Lt,7);let li=Number(kt&BigInt(4294967295));rt[Lt+7]=li,li>>=8,rt[Lt+6]=li,li>>=8,rt[Lt+5]=li,li>>=8,rt[Lt+4]=li;let eo=Number(kt>>BigInt(32)&BigInt(4294967295));return rt[Lt+3]=eo,eo>>=8,rt[Lt+2]=eo,eo>>=8,rt[Lt+1]=eo,eo>>=8,rt[Lt]=eo,Lt+8}function Wn(rt,kt,Lt,cr,Yr,li){if(Lt+cr>rt.length)throw new RangeError("Index out of range");if(Lt<0)throw new RangeError("Index out of range")}function ai(rt,kt,Lt,cr,Yr){return kt=+kt,Lt>>>=0,Yr||Wn(rt,0,Lt,4),l.write(rt,kt,Lt,cr,23,4),Lt+4}function ho(rt,kt,Lt,cr,Yr){return kt=+kt,Lt>>>=0,Yr||Wn(rt,0,Lt,8),l.write(rt,kt,Lt,cr,52,8),Lt+8}P.prototype.slice=function(rt,kt){const Lt=this.length;(rt=~~rt)<0?(rt+=Lt)<0&&(rt=0):rt>Lt&&(rt=Lt),(kt=void 0===kt?Lt:~~kt)<0?(kt+=Lt)<0&&(kt=0):kt>Lt&&(kt=Lt),kt<rt&&(kt=rt);const cr=this.subarray(rt,kt);return Object.setPrototypeOf(cr,P.prototype),cr},P.prototype.readUintLE=P.prototype.readUIntLE=function(rt,kt,Lt){rt>>>=0,kt>>>=0,Lt||Un(rt,kt,this.length);let cr=this[rt],Yr=1,li=0;for(;++li<kt&&(Yr*=256);)cr+=this[rt+li]*Yr;return cr},P.prototype.readUintBE=P.prototype.readUIntBE=function(rt,kt,Lt){rt>>>=0,kt>>>=0,Lt||Un(rt,kt,this.length);let cr=this[rt+--kt],Yr=1;for(;kt>0&&(Yr*=256);)cr+=this[rt+--kt]*Yr;return cr},P.prototype.readUint8=P.prototype.readUInt8=function(rt,kt){return rt>>>=0,kt||Un(rt,1,this.length),this[rt]},P.prototype.readUint16LE=P.prototype.readUInt16LE=function(rt,kt){return rt>>>=0,kt||Un(rt,2,this.length),this[rt]|this[rt+1]<<8},P.prototype.readUint16BE=P.prototype.readUInt16BE=function(rt,kt){return rt>>>=0,kt||Un(rt,2,this.length),this[rt]<<8|this[rt+1]},P.prototype.readUint32LE=P.prototype.readUInt32LE=function(rt,kt){return rt>>>=0,kt||Un(rt,4,this.length),(this[rt]|this[rt+1]<<8|this[rt+2]<<16)+16777216*this[rt+3]},P.prototype.readUint32BE=P.prototype.readUInt32BE=function(rt,kt){return rt>>>=0,kt||Un(rt,4,this.length),16777216*this[rt]+(this[rt+1]<<16|this[rt+2]<<8|this[rt+3])},P.prototype.readBigUInt64LE=xo(function(rt){Nn(rt>>>=0,"offset");const kt=this[rt],Lt=this[rt+7];void 0!==kt&&void 0!==Lt||_i(rt,this.length-8);const cr=kt+256*this[++rt]+65536*this[++rt]+this[++rt]*2**24,Yr=this[++rt]+256*this[++rt]+65536*this[++rt]+Lt*2**24;return BigInt(cr)+(BigInt(Yr)<<BigInt(32))}),P.prototype.readBigUInt64BE=xo(function(rt){Nn(rt>>>=0,"offset");const kt=this[rt],Lt=this[rt+7];void 0!==kt&&void 0!==Lt||_i(rt,this.length-8);const cr=kt*2**24+65536*this[++rt]+256*this[++rt]+this[++rt],Yr=this[++rt]*2**24+65536*this[++rt]+256*this[++rt]+Lt;return(BigInt(cr)<<BigInt(32))+BigInt(Yr)}),P.prototype.readIntLE=function(rt,kt,Lt){rt>>>=0,kt>>>=0,Lt||Un(rt,kt,this.length);let cr=this[rt],Yr=1,li=0;for(;++li<kt&&(Yr*=256);)cr+=this[rt+li]*Yr;return Yr*=128,cr>=Yr&&(cr-=Math.pow(2,8*kt)),cr},P.prototype.readIntBE=function(rt,kt,Lt){rt>>>=0,kt>>>=0,Lt||Un(rt,kt,this.length);let cr=kt,Yr=1,li=this[rt+--cr];for(;cr>0&&(Yr*=256);)li+=this[rt+--cr]*Yr;return Yr*=128,li>=Yr&&(li-=Math.pow(2,8*kt)),li},P.prototype.readInt8=function(rt,kt){return rt>>>=0,kt||Un(rt,1,this.length),128&this[rt]?-1*(255-this[rt]+1):this[rt]},P.prototype.readInt16LE=function(rt,kt){rt>>>=0,kt||Un(rt,2,this.length);const Lt=this[rt]|this[rt+1]<<8;return 32768&Lt?4294901760|Lt:Lt},P.prototype.readInt16BE=function(rt,kt){rt>>>=0,kt||Un(rt,2,this.length);const Lt=this[rt+1]|this[rt]<<8;return 32768&Lt?4294901760|Lt:Lt},P.prototype.readInt32LE=function(rt,kt){return rt>>>=0,kt||Un(rt,4,this.length),this[rt]|this[rt+1]<<8|this[rt+2]<<16|this[rt+3]<<24},P.prototype.readInt32BE=function(rt,kt){return rt>>>=0,kt||Un(rt,4,this.length),this[rt]<<24|this[rt+1]<<16|this[rt+2]<<8|this[rt+3]},P.prototype.readBigInt64LE=xo(function(rt){Nn(rt>>>=0,"offset");const kt=this[rt],Lt=this[rt+7];return void 0!==kt&&void 0!==Lt||_i(rt,this.length-8),(BigInt(this[rt+4]+256*this[rt+5]+65536*this[rt+6]+(Lt<<24))<<BigInt(32))+BigInt(kt+256*this[++rt]+65536*this[++rt]+this[++rt]*2**24)}),P.prototype.readBigInt64BE=xo(function(rt){Nn(rt>>>=0,"offset");const kt=this[rt],Lt=this[rt+7];void 0!==kt&&void 0!==Lt||_i(rt,this.length-8);const cr=(kt<<24)+65536*this[++rt]+256*this[++rt]+this[++rt];return(BigInt(cr)<<BigInt(32))+BigInt(this[++rt]*2**24+65536*this[++rt]+256*this[++rt]+Lt)}),P.prototype.readFloatLE=function(rt,kt){return rt>>>=0,kt||Un(rt,4,this.length),l.read(this,rt,!0,23,4)},P.prototype.readFloatBE=function(rt,kt){return rt>>>=0,kt||Un(rt,4,this.length),l.read(this,rt,!1,23,4)},P.prototype.readDoubleLE=function(rt,kt){return rt>>>=0,kt||Un(rt,8,this.length),l.read(this,rt,!0,52,8)},P.prototype.readDoubleBE=function(rt,kt){return rt>>>=0,kt||Un(rt,8,this.length),l.read(this,rt,!1,52,8)},P.prototype.writeUintLE=P.prototype.writeUIntLE=function(rt,kt,Lt,cr){rt=+rt,kt>>>=0,Lt>>>=0,!cr&&lr(this,rt,kt,Lt,Math.pow(2,8*Lt)-1,0);let Yr=1,li=0;for(this[kt]=255&rt;++li<Lt&&(Yr*=256);)this[kt+li]=rt/Yr&255;return kt+Lt},P.prototype.writeUintBE=P.prototype.writeUIntBE=function(rt,kt,Lt,cr){rt=+rt,kt>>>=0,Lt>>>=0,!cr&&lr(this,rt,kt,Lt,Math.pow(2,8*Lt)-1,0);let Yr=Lt-1,li=1;for(this[kt+Yr]=255&rt;--Yr>=0&&(li*=256);)this[kt+Yr]=rt/li&255;return kt+Lt},P.prototype.writeUint8=P.prototype.writeUInt8=function(rt,kt,Lt){return rt=+rt,kt>>>=0,Lt||lr(this,rt,kt,1,255,0),this[kt]=255&rt,kt+1},P.prototype.writeUint16LE=P.prototype.writeUInt16LE=function(rt,kt,Lt){return rt=+rt,kt>>>=0,Lt||lr(this,rt,kt,2,65535,0),this[kt]=255&rt,this[kt+1]=rt>>>8,kt+2},P.prototype.writeUint16BE=P.prototype.writeUInt16BE=function(rt,kt,Lt){return rt=+rt,kt>>>=0,Lt||lr(this,rt,kt,2,65535,0),this[kt]=rt>>>8,this[kt+1]=255&rt,kt+2},P.prototype.writeUint32LE=P.prototype.writeUInt32LE=function(rt,kt,Lt){return rt=+rt,kt>>>=0,Lt||lr(this,rt,kt,4,4294967295,0),this[kt+3]=rt>>>24,this[kt+2]=rt>>>16,this[kt+1]=rt>>>8,this[kt]=255&rt,kt+4},P.prototype.writeUint32BE=P.prototype.writeUInt32BE=function(rt,kt,Lt){return rt=+rt,kt>>>=0,Lt||lr(this,rt,kt,4,4294967295,0),this[kt]=rt>>>24,this[kt+1]=rt>>>16,this[kt+2]=rt>>>8,this[kt+3]=255&rt,kt+4},P.prototype.writeBigUInt64LE=xo(function(rt,kt=0){return ar(this,rt,kt,BigInt(0),BigInt("0xffffffffffffffff"))}),P.prototype.writeBigUInt64BE=xo(function(rt,kt=0){return Cr(this,rt,kt,BigInt(0),BigInt("0xffffffffffffffff"))}),P.prototype.writeIntLE=function(rt,kt,Lt,cr){if(rt=+rt,kt>>>=0,!cr){const _a=Math.pow(2,8*Lt-1);lr(this,rt,kt,Lt,_a-1,-_a)}let Yr=0,li=1,eo=0;for(this[kt]=255&rt;++Yr<Lt&&(li*=256);)rt<0&&0===eo&&0!==this[kt+Yr-1]&&(eo=1),this[kt+Yr]=(rt/li>>0)-eo&255;return kt+Lt},P.prototype.writeIntBE=function(rt,kt,Lt,cr){if(rt=+rt,kt>>>=0,!cr){const _a=Math.pow(2,8*Lt-1);lr(this,rt,kt,Lt,_a-1,-_a)}let Yr=Lt-1,li=1,eo=0;for(this[kt+Yr]=255&rt;--Yr>=0&&(li*=256);)rt<0&&0===eo&&0!==this[kt+Yr+1]&&(eo=1),this[kt+Yr]=(rt/li>>0)-eo&255;return kt+Lt},P.prototype.writeInt8=function(rt,kt,Lt){return rt=+rt,kt>>>=0,Lt||lr(this,rt,kt,1,127,-128),rt<0&&(rt=255+rt+1),this[kt]=255&rt,kt+1},P.prototype.writeInt16LE=function(rt,kt,Lt){return rt=+rt,kt>>>=0,Lt||lr(this,rt,kt,2,32767,-32768),this[kt]=255&rt,this[kt+1]=rt>>>8,kt+2},P.prototype.writeInt16BE=function(rt,kt,Lt){return rt=+rt,kt>>>=0,Lt||lr(this,rt,kt,2,32767,-32768),this[kt]=rt>>>8,this[kt+1]=255&rt,kt+2},P.prototype.writeInt32LE=function(rt,kt,Lt){return rt=+rt,kt>>>=0,Lt||lr(this,rt,kt,4,2147483647,-2147483648),this[kt]=255&rt,this[kt+1]=rt>>>8,this[kt+2]=rt>>>16,this[kt+3]=rt>>>24,kt+4},P.prototype.writeInt32BE=function(rt,kt,Lt){return rt=+rt,kt>>>=0,Lt||lr(this,rt,kt,4,2147483647,-2147483648),rt<0&&(rt=4294967295+rt+1),this[kt]=rt>>>24,this[kt+1]=rt>>>16,this[kt+2]=rt>>>8,this[kt+3]=255&rt,kt+4},P.prototype.writeBigInt64LE=xo(function(rt,kt=0){return ar(this,rt,kt,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),P.prototype.writeBigInt64BE=xo(function(rt,kt=0){return Cr(this,rt,kt,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),P.prototype.writeFloatLE=function(rt,kt,Lt){return ai(this,rt,kt,!0,Lt)},P.prototype.writeFloatBE=function(rt,kt,Lt){return ai(this,rt,kt,!1,Lt)},P.prototype.writeDoubleLE=function(rt,kt,Lt){return ho(this,rt,kt,!0,Lt)},P.prototype.writeDoubleBE=function(rt,kt,Lt){return ho(this,rt,kt,!1,Lt)},P.prototype.copy=function(rt,kt,Lt,cr){if(!P.isBuffer(rt))throw new TypeError("argument should be a Buffer");if(Lt||(Lt=0),cr||0===cr||(cr=this.length),kt>=rt.length&&(kt=rt.length),kt||(kt=0),cr>0&&cr<Lt&&(cr=Lt),cr===Lt||0===rt.length||0===this.length)return 0;if(kt<0)throw new RangeError("targetStart out of bounds");if(Lt<0||Lt>=this.length)throw new RangeError("Index out of range");if(cr<0)throw new RangeError("sourceEnd out of bounds");cr>this.length&&(cr=this.length),rt.length-kt<cr-Lt&&(cr=rt.length-kt+Lt);const Yr=cr-Lt;return this===rt&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(kt,Lt,cr):Uint8Array.prototype.set.call(rt,this.subarray(Lt,cr),kt),Yr},P.prototype.fill=function(rt,kt,Lt,cr){if("string"==typeof rt){if("string"==typeof kt?(cr=kt,kt=0,Lt=this.length):"string"==typeof Lt&&(cr=Lt,Lt=this.length),void 0!==cr&&"string"!=typeof cr)throw new TypeError("encoding must be a string");if("string"==typeof cr&&!P.isEncoding(cr))throw new TypeError("Unknown encoding: "+cr);if(1===rt.length){const li=rt.charCodeAt(0);("utf8"===cr&&li<128||"latin1"===cr)&&(rt=li)}}else"number"==typeof rt?rt&=255:"boolean"==typeof rt&&(rt=Number(rt));if(kt<0||this.length<kt||this.length<Lt)throw new RangeError("Out of range index");if(Lt<=kt)return this;let Yr;if(kt>>>=0,Lt=void 0===Lt?this.length:Lt>>>0,rt||(rt=0),"number"==typeof rt)for(Yr=kt;Yr<Lt;++Yr)this[Yr]=rt;else{const li=P.isBuffer(rt)?rt:P.from(rt,cr),eo=li.length;if(0===eo)throw new TypeError('The value "'+rt+'" is invalid for argument "value"');for(Yr=0;Yr<Lt-kt;++Yr)this[Yr+kt]=li[Yr%eo]}return this};const Yi={};function lo(rt,kt,Lt){Yi[rt]=class extends Lt{constructor(){super(),Object.defineProperty(this,"message",{value:kt.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${rt}]`,delete this.name}get code(){return rt}set code(cr){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:cr,writable:!0})}toString(){return`${this.name} [${rt}]: ${this.message}`}}}function pi(rt){let kt="",Lt=rt.length;const cr="-"===rt[0]?1:0;for(;Lt>=cr+4;Lt-=3)kt=`_${rt.slice(Lt-3,Lt)}${kt}`;return`${rt.slice(0,Lt)}${kt}`}function Kn(rt,kt,Lt,cr,Yr,li){if(rt>Lt||rt<kt){const eo="bigint"==typeof kt?"n":"";let _a;throw _a=li>3?0===kt||kt===BigInt(0)?`>= 0${eo} and < 2${eo} ** ${8*(li+1)}${eo}`:`>= -(2${eo} ** ${8*(li+1)-1}${eo}) and < 2 ** ${8*(li+1)-1}${eo}`:`>= ${kt}${eo} and <= ${Lt}${eo}`,new Yi.ERR_OUT_OF_RANGE("value",_a,rt)}var eo,_a,ps;eo=cr,ps=li,Nn(_a=Yr,"offset"),void 0!==eo[_a]&&void 0!==eo[_a+ps]||_i(_a,eo.length-(ps+1))}function Nn(rt,kt){if("number"!=typeof rt)throw new Yi.ERR_INVALID_ARG_TYPE(kt,"number",rt)}function _i(rt,kt,Lt){throw Math.floor(rt)!==rt?(Nn(rt,Lt),new Yi.ERR_OUT_OF_RANGE(Lt||"offset","an integer",rt)):kt<0?new Yi.ERR_BUFFER_OUT_OF_BOUNDS:new Yi.ERR_OUT_OF_RANGE(Lt||"offset",`>= ${Lt?1:0} and <= ${kt}`,rt)}lo("ERR_BUFFER_OUT_OF_BOUNDS",function(rt){return rt?`${rt} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),lo("ERR_INVALID_ARG_TYPE",function(rt,kt){return`The "${rt}" argument must be of type number. Received type ${typeof kt}`},TypeError),lo("ERR_OUT_OF_RANGE",function(rt,kt,Lt){let cr=`The value of "${rt}" is out of range.`,Yr=Lt;return Number.isInteger(Lt)&&Math.abs(Lt)>2**32?Yr=pi(String(Lt)):"bigint"==typeof Lt&&(Yr=String(Lt),(Lt>BigInt(2)**BigInt(32)||Lt<-(BigInt(2)**BigInt(32)))&&(Yr=pi(Yr)),Yr+="n"),cr+=` It must be ${kt}. Received ${Yr}`,cr},RangeError);const Zi=/[^+/0-9A-Za-z-_]/g;function So(rt,kt){let Lt;kt=kt||1/0;const cr=rt.length;let Yr=null;const li=[];for(let eo=0;eo<cr;++eo){if(Lt=rt.charCodeAt(eo),Lt>55295&&Lt<57344){if(!Yr){if(Lt>56319){(kt-=3)>-1&&li.push(239,191,189);continue}if(eo+1===cr){(kt-=3)>-1&&li.push(239,191,189);continue}Yr=Lt;continue}if(Lt<56320){(kt-=3)>-1&&li.push(239,191,189),Yr=Lt;continue}Lt=65536+(Yr-55296<<10|Lt-56320)}else Yr&&(kt-=3)>-1&&li.push(239,191,189);if(Yr=null,Lt<128){if((kt-=1)<0)break;li.push(Lt)}else if(Lt<2048){if((kt-=2)<0)break;li.push(Lt>>6|192,63&Lt|128)}else if(Lt<65536){if((kt-=3)<0)break;li.push(Lt>>12|224,Lt>>6&63|128,63&Lt|128)}else{if(!(Lt<1114112))throw new Error("Invalid code point");if((kt-=4)<0)break;li.push(Lt>>18|240,Lt>>12&63|128,Lt>>6&63|128,63&Lt|128)}}return li}function us(rt){return o.toByteArray(function(kt){if((kt=(kt=kt.split("=")[0]).trim().replace(Zi,"")).length<2)return"";for(;kt.length%4!=0;)kt+="=";return kt}(rt))}function Zo(rt,kt,Lt,cr){let Yr;for(Yr=0;Yr<cr&&!(Yr+Lt>=kt.length||Yr>=rt.length);++Yr)kt[Yr+Lt]=rt[Yr];return Yr}function pa(rt,kt){return rt instanceof kt||null!=rt&&null!=rt.constructor&&null!=rt.constructor.name&&rt.constructor.name===kt.name}function va(rt){return rt!=rt}const qi=function(){const rt="0123456789abcdef",kt=new Array(256);for(let Lt=0;Lt<16;++Lt){const cr=16*Lt;for(let Yr=0;Yr<16;++Yr)kt[cr+Yr]=rt[Lt]+rt[Yr]}return kt}();function xo(rt){return typeof BigInt>"u"?$o:rt}function $o(){throw new Error("BigInt not supported")}},8171:(t,i,n)=>{n(6450);var o=n(4058).Object,l=t.exports=function(_,v,O){return o.defineProperty(_,v,O)};o.defineProperty.sham&&(l.sham=!0)},4883:(t,i,n)=>{var o=n(1899),l=n(7475),_=n(9826),v=o.TypeError;t.exports=function(O){if(l(O))return O;throw v(_(O)+" is not a function")}},6059:(t,i,n)=>{var o=n(1899),l=n(941),_=o.String,v=o.TypeError;t.exports=function(O){if(l(O))return O;throw v(_(O)+" is not an object")}},2532:(t,i,n)=>{var o=n(5329),l=o({}.toString),_=o("".slice);t.exports=function(v){return _(l(v),8,-1)}},2029:(t,i,n)=>{var o=n(5746),l=n(5988),_=n(1887);t.exports=o?function(v,O,P){return l.f(v,O,_(1,P))}:function(v,O,P){return v[O]=P,v}},1887:t=>{t.exports=function(i,n){return{enumerable:!(1&i),configurable:!(2&i),writable:!(4&i),value:n}}},5746:(t,i,n)=>{var o=n(5981);t.exports=!o(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},1333:(t,i,n)=>{var o=n(1899),l=n(941),_=o.document,v=l(_)&&l(_.createElement);t.exports=function(O){return v?_.createElement(O):{}}},2861:(t,i,n)=>{var o=n(224);t.exports=o("navigator","userAgent")||""},3385:(t,i,n)=>{var o,l,_=n(1899),v=n(2861),O=_.process,P=_.Deno,G=O&&O.versions||P&&P.version,K=G&&G.v8;K&&(l=(o=K.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!l&&v&&(!(o=v.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=v.match(/Chrome\/(\d+)/))&&(l=+o[1]),t.exports=l},6887:(t,i,n)=>{var o=n(1899),l=n(9730),_=n(5329),v=n(7475),O=n(9677).f,P=n(7252),G=n(4058),K=n(6843),oe=n(2029),ue=n(953),pe=function(ye){var Ue=function(xe,ke,we){if(this instanceof Ue){switch(arguments.length){case 0:return new ye;case 1:return new ye(xe);case 2:return new ye(xe,ke)}return new ye(xe,ke,we)}return l(ye,this,arguments)};return Ue.prototype=ye.prototype,Ue};t.exports=function(ye,Ue){var xe,ke,we,Z,Ft,Dt,Yt,ln,$n=ye.target,nn=ye.global,Jn=ye.stat,zn=ye.proto,Zr=nn?o:Jn?o[$n]:(o[$n]||{}).prototype,$r=nn?G:G[$n]||oe(G,$n,{})[$n],ui=$r.prototype;for(we in Ue)xe=!P(nn?we:$n+(Jn?".":"#")+we,ye.forced)&&Zr&&ue(Zr,we),Ft=$r[we],xe&&(Dt=ye.noTargetGet?(ln=O(Zr,we))&&ln.value:Zr[we]),Z=xe&&Dt?Dt:Ue[we],xe&&typeof Ft==typeof Z||(Yt=ye.bind&&xe?K(Z,o):ye.wrap&&xe?pe(Z):zn&&v(Z)?_(Z):Z,(ye.sham||Z&&Z.sham||Ft&&Ft.sham)&&oe(Yt,"sham",!0),oe($r,we,Yt),zn&&(ue(G,ke=$n+"Prototype")||oe(G,ke,{}),oe(G[ke],we,Z),ye.real&&ui&&!ui[we]&&oe(ui,we,Z)))}},5981:t=>{t.exports=function(i){try{return!!i()}catch{return!0}}},9730:(t,i,n)=>{var o=n(8285),l=Function.prototype,_=l.apply,v=l.call;t.exports="object"==typeof Reflect&&Reflect.apply||(o?v.bind(_):function(){return v.apply(_,arguments)})},6843:(t,i,n)=>{var o=n(5329),l=n(4883),_=n(8285),v=o(o.bind);t.exports=function(O,P){return l(O),void 0===P?O:_?v(O,P):function(){return O.apply(P,arguments)}}},8285:(t,i,n)=>{var o=n(5981);t.exports=!o(function(){var l=function(){}.bind();return"function"!=typeof l||l.hasOwnProperty("prototype")})},8834:(t,i,n)=>{var o=n(8285),l=Function.prototype.call;t.exports=o?l.bind(l):function(){return l.apply(l,arguments)}},5329:(t,i,n)=>{var o=n(8285),l=Function.prototype,v=l.call,O=o&&l.bind.bind(v,v);t.exports=o?function(P){return P&&O(P)}:function(P){return P&&function(){return v.apply(P,arguments)}}},224:(t,i,n)=>{var o=n(4058),l=n(1899),_=n(7475),v=function(O){return _(O)?O:void 0};t.exports=function(O,P){return arguments.length<2?v(o[O])||v(l[O]):o[O]&&o[O][P]||l[O]&&l[O][P]}},9733:(t,i,n)=>{var o=n(4883);t.exports=function(l,_){var v=l[_];return null==v?void 0:o(v)}},1899:(t,i,n)=>{var o=function(l){return l&&l.Math==Math&&l};t.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},953:(t,i,n)=>{var o=n(5329),l=n(9678),_=o({}.hasOwnProperty);t.exports=Object.hasOwn||function(v,O){return _(l(v),O)}},2840:(t,i,n)=>{var o=n(5746),l=n(5981),_=n(1333);t.exports=!o&&!l(function(){return 7!=Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a})},7026:(t,i,n)=>{var o=n(1899),l=n(5329),_=n(5981),v=n(2532),O=o.Object,P=l("".split);t.exports=_(function(){return!O("z").propertyIsEnumerable(0)})?function(G){return"String"==v(G)?P(G,""):O(G)}:O},7475:t=>{t.exports=function(i){return"function"==typeof i}},7252:(t,i,n)=>{var o=n(5981),l=n(7475),_=/#|\.prototype\./,v=function(oe,ue){var pe=P[O(oe)];return pe==K||pe!=G&&(l(ue)?o(ue):!!ue)},O=v.normalize=function(oe){return String(oe).replace(_,".").toLowerCase()},P=v.data={},G=v.NATIVE="N",K=v.POLYFILL="P";t.exports=v},941:(t,i,n)=>{var o=n(7475);t.exports=function(l){return"object"==typeof l?null!==l:o(l)}},2529:t=>{t.exports=!0},6664:(t,i,n)=>{var o=n(1899),l=n(224),_=n(7475),v=n(7046),O=n(2302),P=o.Object;t.exports=O?function(G){return"symbol"==typeof G}:function(G){var K=l("Symbol");return _(K)&&v(K.prototype,P(G))}},2497:(t,i,n)=>{var o=n(3385),l=n(5981);t.exports=!!Object.getOwnPropertySymbols&&!l(function(){var _=Symbol();return!String(_)||!(Object(_)instanceof Symbol)||!Symbol.sham&&o&&o<41})},5988:(t,i,n)=>{var o=n(1899),l=n(5746),_=n(2840),v=n(3937),O=n(6059),P=n(3894),G=o.TypeError,K=Object.defineProperty,oe=Object.getOwnPropertyDescriptor;i.f=l?v?function(Ue,xe,ke){if(O(Ue),xe=P(xe),O(ke),"function"==typeof Ue&&"prototype"===xe&&"value"in ke&&"writable"in ke&&!ke.writable){var we=oe(Ue,xe);we&&we.writable&&(Ue[xe]=ke.value,ke={configurable:"configurable"in ke?ke.configurable:we.configurable,enumerable:"enumerable"in ke?ke.enumerable:we.enumerable,writable:!1})}return K(Ue,xe,ke)}:K:function(Ue,xe,ke){if(O(Ue),xe=P(xe),O(ke),_)try{return K(Ue,xe,ke)}catch{}if("get"in ke||"set"in ke)throw G("Accessors not supported");return"value"in ke&&(Ue[xe]=ke.value),Ue}},9677:(t,i,n)=>{var o=n(5746),l=n(8834),_=n(6760),v=n(1887),O=n(4529),P=n(3894),G=n(953),K=n(2840),oe=Object.getOwnPropertyDescriptor;i.f=o?oe:function(ue,pe){if(ue=O(ue),pe=P(pe),K)try{return oe(ue,pe)}catch{}if(G(ue,pe))return v(!l(_.f,ue,pe),ue[pe])}},7046:(t,i,n)=>{var o=n(5329);t.exports=o({}.isPrototypeOf)},6760:(t,i)=>{var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,l=o&&!n.call({1:2},1);i.f=l?function(_){var v=o(this,_);return!!v&&v.enumerable}:n},9811:(t,i,n)=>{var o=n(1899),l=n(8834),_=n(7475),v=n(941),O=o.TypeError;t.exports=function(P,G){var K,oe;if("string"===G&&_(K=P.toString)&&!v(oe=l(K,P))||_(K=P.valueOf)&&!v(oe=l(K,P))||"string"!==G&&_(K=P.toString)&&!v(oe=l(K,P)))return oe;throw O("Can't convert object to primitive value")}},4058:t=>{t.exports={}},8219:(t,i,n)=>{var o=n(1899).TypeError;t.exports=function(l){if(null==l)throw o("Can't call method on "+l);return l}},4911:(t,i,n)=>{var o=n(1899),l=Object.defineProperty;t.exports=function(_,v){try{l(o,_,{value:v,configurable:!0,writable:!0})}catch{o[_]=v}return v}},3030:(t,i,n)=>{var o=n(1899),l=n(4911),_="__core-js_shared__",v=o[_]||l(_,{});t.exports=v},8726:(t,i,n)=>{var o=n(2529),l=n(3030);(t.exports=function(_,v){return l[_]||(l[_]=void 0!==v?v:{})})("versions",[]).push({version:"3.20.3",mode:o?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.20.3/LICENSE",source:"https://github.com/zloirock/core-js"})},4529:(t,i,n)=>{var o=n(7026),l=n(8219);t.exports=function(_){return o(l(_))}},9678:(t,i,n)=>{var o=n(1899),l=n(8219),_=o.Object;t.exports=function(v){return _(l(v))}},6935:(t,i,n)=>{var o=n(1899),l=n(8834),_=n(941),v=n(6664),O=n(9733),P=n(9811),G=n(9813),K=o.TypeError,oe=G("toPrimitive");t.exports=function(ue,pe){if(!_(ue)||v(ue))return ue;var ye,Ue=O(ue,oe);if(Ue){if(void 0===pe&&(pe="default"),ye=l(Ue,ue,pe),!_(ye)||v(ye))return ye;throw K("Can't convert object to primitive value")}return void 0===pe&&(pe="number"),P(ue,pe)}},3894:(t,i,n)=>{var o=n(6935),l=n(6664);t.exports=function(_){var v=o(_,"string");return l(v)?v:v+""}},9826:(t,i,n)=>{var o=n(1899).String;t.exports=function(l){try{return o(l)}catch{return"Object"}}},9418:(t,i,n)=>{var o=n(5329),l=0,_=Math.random(),v=o(1..toString);t.exports=function(O){return"Symbol("+(void 0===O?"":O)+")_"+v(++l+_,36)}},2302:(t,i,n)=>{var o=n(2497);t.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3937:(t,i,n)=>{var o=n(5746),l=n(5981);t.exports=o&&l(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},9813:(t,i,n)=>{var o=n(1899),l=n(8726),_=n(953),v=n(9418),O=n(2497),P=n(2302),G=l("wks"),K=o.Symbol,oe=K&&K.for,ue=P?K:K&&K.withoutSetter||v;t.exports=function(pe){if(!_(G,pe)||!O&&"string"!=typeof G[pe]){var ye="Symbol."+pe;G[pe]=O&&_(K,pe)?K[pe]:P&&oe?oe(ye):ue(ye)}return G[pe]}},6450:(t,i,n)=>{var o=n(6887),l=n(5746),_=n(5988).f;o({target:"Object",stat:!0,forced:Object.defineProperty!==_,sham:!l},{defineProperty:_})},1910:(t,i,n)=>{var o=n(8171);t.exports=o},7698:(t,i,n)=>{var o=n(8764).Buffer;function l(G){return G instanceof o||G instanceof Date||G instanceof RegExp}function _(G){if(G instanceof o){var K=o.alloc?o.alloc(G.length):new o(G.length);return G.copy(K),K}if(G instanceof Date)return new Date(G.getTime());if(G instanceof RegExp)return new RegExp(G);throw new Error("Unexpected situation")}function v(G){var K=[];return G.forEach(function(oe,ue){K[ue]="object"==typeof oe&&null!==oe?Array.isArray(oe)?v(oe):l(oe)?_(oe):P({},oe):oe}),K}function O(G,K){return"__proto__"===K?void 0:G[K]}var P=t.exports=function(){if(arguments.length<1||"object"!=typeof arguments[0])return!1;if(arguments.length<2)return arguments[0];var G,K,oe=arguments[0];return Array.prototype.slice.call(arguments,1).forEach(function(pe){"object"!=typeof pe||null===pe||Array.isArray(pe)||Object.keys(pe).forEach(function(ye){return K=O(oe,ye),(G=O(pe,ye))===oe?void 0:"object"!=typeof G||null===G?void(oe[ye]=G):Array.isArray(G)?void(oe[ye]=v(G)):l(G)?void(oe[ye]=_(G)):"object"!=typeof K||null===K||Array.isArray(K)?void(oe[ye]=P({},G)):void(oe[ye]=P(K,G))})}),oe}},7187:t=>{var i,n="object"==typeof Reflect?Reflect:null,o=n&&"function"==typeof n.apply?n.apply:function(xe,ke,we){return Function.prototype.apply.call(xe,ke,we)};i=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(xe){return Object.getOwnPropertyNames(xe).concat(Object.getOwnPropertySymbols(xe))}:function(xe){return Object.getOwnPropertyNames(xe)};var l=Number.isNaN||function(xe){return xe!=xe};function _(){_.init.call(this)}t.exports=_,t.exports.once=function(xe,ke){return new Promise(function(we,Z){function Ft(Yt){xe.removeListener(ke,Dt),Z(Yt)}function Dt(){"function"==typeof xe.removeListener&&xe.removeListener("error",Ft),we([].slice.call(arguments))}var Yt;Ue(xe,ke,Dt,{once:!0}),"error"!==ke&&("function"==typeof(Yt=xe).on&&Ue(Yt,"error",Ft,{once:!0}))})},_.EventEmitter=_,_.prototype._events=void 0,_.prototype._eventsCount=0,_.prototype._maxListeners=void 0;var v=10;function O(xe){if("function"!=typeof xe)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof xe)}function P(xe){return void 0===xe._maxListeners?_.defaultMaxListeners:xe._maxListeners}function G(xe,ke,we,Z){var Ft,Dt,Yt;if(O(we),void 0===(Dt=xe._events)?(Dt=xe._events=Object.create(null),xe._eventsCount=0):(void 0!==Dt.newListener&&(xe.emit("newListener",ke,we.listener?we.listener:we),Dt=xe._events),Yt=Dt[ke]),void 0===Yt)Yt=Dt[ke]=we,++xe._eventsCount;else if("function"==typeof Yt?Yt=Dt[ke]=Z?[we,Yt]:[Yt,we]:Z?Yt.unshift(we):Yt.push(we),(Ft=P(xe))>0&&Yt.length>Ft&&!Yt.warned){Yt.warned=!0;var $n=new Error("Possible EventEmitter memory leak detected. "+Yt.length+" "+String(ke)+" listeners added. Use emitter.setMaxListeners() to increase limit");$n.name="MaxListenersExceededWarning",$n.emitter=xe,$n.type=ke,$n.count=Yt.length,console&&console.warn&&console.warn($n)}return xe}function K(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function oe(xe,ke,we){var Z={fired:!1,wrapFn:void 0,target:xe,type:ke,listener:we},Ft=K.bind(Z);return Ft.listener=we,Z.wrapFn=Ft,Ft}function ue(xe,ke,we){var Z=xe._events;if(void 0===Z)return[];var Ft=Z[ke];return void 0===Ft?[]:"function"==typeof Ft?we?[Ft.listener||Ft]:[Ft]:we?function(Dt){for(var Yt=new Array(Dt.length),ln=0;ln<Yt.length;++ln)Yt[ln]=Dt[ln].listener||Dt[ln];return Yt}(Ft):ye(Ft,Ft.length)}function pe(xe){var ke=this._events;if(void 0!==ke){var we=ke[xe];if("function"==typeof we)return 1;if(void 0!==we)return we.length}return 0}function ye(xe,ke){for(var we=new Array(ke),Z=0;Z<ke;++Z)we[Z]=xe[Z];return we}function Ue(xe,ke,we,Z){if("function"==typeof xe.on)Z.once?xe.once(ke,we):xe.on(ke,we);else{if("function"!=typeof xe.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof xe);xe.addEventListener(ke,function Ft(Dt){Z.once&&xe.removeEventListener(ke,Ft),we(Dt)})}}Object.defineProperty(_,"defaultMaxListeners",{enumerable:!0,get:function(){return v},set:function(xe){if("number"!=typeof xe||xe<0||l(xe))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+xe+".");v=xe}}),_.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},_.prototype.setMaxListeners=function(xe){if("number"!=typeof xe||xe<0||l(xe))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+xe+".");return this._maxListeners=xe,this},_.prototype.getMaxListeners=function(){return P(this)},_.prototype.emit=function(xe){for(var ke=[],we=1;we<arguments.length;we++)ke.push(arguments[we]);var Z="error"===xe,Ft=this._events;if(void 0!==Ft)Z=Z&&void 0===Ft.error;else if(!Z)return!1;if(Z){var Dt;if(ke.length>0&&(Dt=ke[0]),Dt instanceof Error)throw Dt;var Yt=new Error("Unhandled error."+(Dt?" ("+Dt.message+")":""));throw Yt.context=Dt,Yt}var ln=Ft[xe];if(void 0===ln)return!1;if("function"==typeof ln)o(ln,this,ke);else{var $n=ln.length,nn=ye(ln,$n);for(we=0;we<$n;++we)o(nn[we],this,ke)}return!0},_.prototype.on=_.prototype.addListener=function(xe,ke){return G(this,xe,ke,!1)},_.prototype.prependListener=function(xe,ke){return G(this,xe,ke,!0)},_.prototype.once=function(xe,ke){return O(ke),this.on(xe,oe(this,xe,ke)),this},_.prototype.prependOnceListener=function(xe,ke){return O(ke),this.prependListener(xe,oe(this,xe,ke)),this},_.prototype.off=_.prototype.removeListener=function(xe,ke){var we,Z,Ft,Dt,Yt;if(O(ke),void 0===(Z=this._events))return this;if(void 0===(we=Z[xe]))return this;if(we===ke||we.listener===ke)0==--this._eventsCount?this._events=Object.create(null):(delete Z[xe],Z.removeListener&&this.emit("removeListener",xe,we.listener||ke));else if("function"!=typeof we){for(Ft=-1,Dt=we.length-1;Dt>=0;Dt--)if(we[Dt]===ke||we[Dt].listener===ke){Yt=we[Dt].listener,Ft=Dt;break}if(Ft<0)return this;0===Ft?we.shift():function(ln,$n){for(;$n+1<ln.length;$n++)ln[$n]=ln[$n+1];ln.pop()}(we,Ft),1===we.length&&(Z[xe]=we[0]),void 0!==Z.removeListener&&this.emit("removeListener",xe,Yt||ke)}return this},_.prototype.removeAllListeners=function(xe){var ke,we,Z;if(void 0===(we=this._events))return this;if(void 0===we.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==we[xe]&&(0==--this._eventsCount?this._events=Object.create(null):delete we[xe]),this;if(0===arguments.length){var Ft,Dt=Object.keys(we);for(Z=0;Z<Dt.length;++Z)"removeListener"!==(Ft=Dt[Z])&&this.removeAllListeners(Ft);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(ke=we[xe]))this.removeListener(xe,ke);else if(void 0!==ke)for(Z=ke.length-1;Z>=0;Z--)this.removeListener(xe,ke[Z]);return this},_.prototype.listeners=function(xe){return ue(this,xe,!0)},_.prototype.rawListeners=function(xe){return ue(this,xe,!1)},_.listenerCount=function(xe,ke){return"function"==typeof xe.listenerCount?xe.listenerCount(ke):pe.call(xe,ke)},_.prototype.listenerCount=pe,_.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]}},5717:t=>{t.exports="function"==typeof Object.create?function(i,n){n&&(i.super_=n,i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}))}:function(i,n){if(n){i.super_=n;var o=function(){};o.prototype=n.prototype,i.prototype=new o,i.prototype.constructor=i}}},4155:t=>{var i,n,o=t.exports={};function l(){throw new Error("setTimeout has not been defined")}function _(){throw new Error("clearTimeout has not been defined")}function v(Ue){if(i===setTimeout)return setTimeout(Ue,0);if((i===l||!i)&&setTimeout)return i=setTimeout,setTimeout(Ue,0);try{return i(Ue,0)}catch{try{return i.call(null,Ue,0)}catch{return i.call(this,Ue,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:l}catch{i=l}try{n="function"==typeof clearTimeout?clearTimeout:_}catch{n=_}}();var O,P=[],G=!1,K=-1;function oe(){G&&O&&(G=!1,O.length?P=O.concat(P):K=-1,P.length&&ue())}function ue(){if(!G){var Ue=v(oe);G=!0;for(var xe=P.length;xe;){for(O=P,P=[];++K<xe;)O&&O[K].run();K=-1,xe=P.length}O=null,G=!1,function(ke){if(n===clearTimeout)return clearTimeout(ke);if((n===_||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(ke);try{n(ke)}catch{try{return n.call(null,ke)}catch{return n.call(this,ke)}}}(Ue)}}function pe(Ue,xe){this.fun=Ue,this.array=xe}function ye(){}o.nextTick=function(Ue){var xe=new Array(arguments.length-1);if(arguments.length>1)for(var ke=1;ke<arguments.length;ke++)xe[ke-1]=arguments[ke];P.push(new pe(Ue,xe)),1!==P.length||G||v(ue)},pe.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=ye,o.addListener=ye,o.once=ye,o.off=ye,o.removeListener=ye,o.removeAllListeners=ye,o.emit=ye,o.prependListener=ye,o.prependOnceListener=ye,o.listeners=function(Ue){return[]},o.binding=function(Ue){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(Ue){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},1798:(t,i,n)=>{var o=n(4155),l=65536,v=n(396).Buffer,O=n.g.crypto||n.g.msCrypto;t.exports=O&&O.getRandomValues?function(P,G){if(P>4294967295)throw new RangeError("requested too many random bytes");var K=v.allocUnsafe(P);if(P>0)if(P>l)for(var oe=0;oe<P;oe+=l)O.getRandomValues(K.slice(oe,oe+l));else O.getRandomValues(K);return"function"==typeof G?o.nextTick(function(){G(null,K)}):K}:function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},4281:t=>{var i={};function n(l,_,v){v||(v=Error);var O=function(P){var G,K;function oe(ue,pe,ye){return P.call(this,"string"==typeof _?_:_(ue,pe,ye))||this}return K=P,(G=oe).prototype=Object.create(K.prototype),G.prototype.constructor=G,G.__proto__=K,oe}(v);O.prototype.name=v.name,O.prototype.code=l,i[l]=O}function o(l,_){if(Array.isArray(l)){var v=l.length;return l=l.map(function(O){return String(O)}),v>2?"one of ".concat(_," ").concat(l.slice(0,v-1).join(", "),", or ")+l[v-1]:2===v?"one of ".concat(_," ").concat(l[0]," or ").concat(l[1]):"of ".concat(_," ").concat(l[0])}return"of ".concat(_," ").concat(String(l))}n("ERR_INVALID_OPT_VALUE",function(l,_){return'The value "'+_+'" is invalid for option "'+l+'"'},TypeError),n("ERR_INVALID_ARG_TYPE",function(l,_,v){var O,K,ue,ye;if("string"==typeof _&&"not "===_.substr(0,"not ".length)?(O="must not be",_=_.replace(/^not /,"")):O="must be",ue=l,(void 0===ye||ye>ue.length)&&(ye=ue.length)," argument"===ue.substring(ye-" argument".length,ye))K="The ".concat(l," ").concat(O," ").concat(o(_,"type"));else{var oe=function(ue,pe,ye){return"number"!=typeof ye&&(ye=0),!(ye+".".length>ue.length)&&-1!==ue.indexOf(".",ye)}(l)?"property":"argument";K='The "'.concat(l,'" ').concat(oe," ").concat(O," ").concat(o(_,"type"))}return K+". Received type ".concat(typeof v)},TypeError),n("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),n("ERR_METHOD_NOT_IMPLEMENTED",function(l){return"The "+l+" method is not implemented"}),n("ERR_STREAM_PREMATURE_CLOSE","Premature close"),n("ERR_STREAM_DESTROYED",function(l){return"Cannot call "+l+" after a stream was destroyed"}),n("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),n("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),n("ERR_STREAM_WRITE_AFTER_END","write after end"),n("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),n("ERR_UNKNOWN_ENCODING",function(l){return"Unknown encoding: "+l},TypeError),n("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.q=i},6753:(t,i,n)=>{var o=n(4155),l=Object.keys||function(pe){var ye=[];for(var Ue in pe)ye.push(Ue);return ye};t.exports=K;var _=n(9481),v=n(4229);n(5717)(K,_);for(var O=l(v.prototype),P=0;P<O.length;P++){var G=O[P];K.prototype[G]||(K.prototype[G]=v.prototype[G])}function K(pe){if(!(this instanceof K))return new K(pe);_.call(this,pe),v.call(this,pe),this.allowHalfOpen=!0,pe&&(!1===pe.readable&&(this.readable=!1),!1===pe.writable&&(this.writable=!1),!1===pe.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",oe)))}function oe(){this._writableState.ended||o.nextTick(ue,this)}function ue(pe){pe.end()}Object.defineProperty(K.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(K.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(K.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(K.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(pe){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=pe,this._writableState.destroyed=pe)}})},2725:(t,i,n)=>{t.exports=l;var o=n(4605);function l(_){if(!(this instanceof l))return new l(_);o.call(this,_)}n(5717)(l,o),l.prototype._transform=function(_,v,O){O(null,_)}},9481:(t,i,n)=>{var o,l=n(4155);t.exports=nn,nn.ReadableState=$n,n(7187);var G,_=function(Kn,Nn){return Kn.listeners(Nn).length},v=n(2503),O=n(8764).Buffer,P=n.g.Uint8Array||function(){},K=n(4616);G=K&&K.debuglog?K.debuglog("stream"):function(){};var oe,ue,pe,ye=n(7327),Ue=n(1195),xe=n(2457).getHighWaterMark,ke=n(4281).q,we=ke.ERR_INVALID_ARG_TYPE,Z=ke.ERR_STREAM_PUSH_AFTER_EOF,Ft=ke.ERR_METHOD_NOT_IMPLEMENTED,Dt=ke.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(5717)(nn,v);var Yt=Ue.errorOrDestroy,ln=["error","close","destroy","pause","resume"];function $n(Kn,Nn,_i){o=o||n(6753),"boolean"!=typeof _i&&(_i=Nn instanceof o),this.objectMode=!!(Kn=Kn||{}).objectMode,_i&&(this.objectMode=this.objectMode||!!Kn.readableObjectMode),this.highWaterMark=xe(this,Kn,"readableHighWaterMark",_i),this.buffer=new ye,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==Kn.emitClose,this.autoDestroy=!!Kn.autoDestroy,this.destroyed=!1,this.defaultEncoding=Kn.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Kn.encoding&&(oe||(oe=n(2553).s),this.decoder=new oe(Kn.encoding),this.encoding=Kn.encoding)}function nn(Kn){if(o=o||n(6753),!(this instanceof nn))return new nn(Kn);this._readableState=new $n(Kn,this,this instanceof o),this.readable=!0,Kn&&("function"==typeof Kn.read&&(this._read=Kn.read),"function"==typeof Kn.destroy&&(this._destroy=Kn.destroy)),v.call(this)}function Jn(Kn,Nn,_i,Zi,So){G("readableAddChunk",Nn);var us,pa,va,qi,xo,Zo=Kn._readableState;if(null===Nn)Zo.reading=!1,function(pa,va){if(G("onEofChunk"),!va.ended){if(va.decoder){var qi=va.decoder.end();qi&&qi.length&&(va.buffer.push(qi),va.length+=va.objectMode?1:qi.length)}va.ended=!0,va.sync?ui(pa):(va.needReadable=!1,va.emittedReadable||(va.emittedReadable=!0,gi(pa)))}}(Kn,Zo);else if(So||(pa=Zo,O.isBuffer(xo=va=Nn)||xo instanceof P||"string"==typeof va||void 0===va||pa.objectMode||(qi=new we("chunk",["string","Buffer","Uint8Array"],va)),us=qi),us)Yt(Kn,us);else if(Zo.objectMode||Nn&&Nn.length>0)if("string"==typeof Nn||Zo.objectMode||Object.getPrototypeOf(Nn)===O.prototype||(Nn=function(pa){return O.from(pa)}(Nn)),Zi)Zo.endEmitted?Yt(Kn,new Dt):zn(Kn,Zo,Nn,!0);else if(Zo.ended)Yt(Kn,new Z);else{if(Zo.destroyed)return!1;Zo.reading=!1,Zo.decoder&&!_i?(Nn=Zo.decoder.write(Nn),Zo.objectMode||0!==Nn.length?zn(Kn,Zo,Nn,!1):Un(Kn,Zo)):zn(Kn,Zo,Nn,!1)}else Zi||(Zo.reading=!1,Un(Kn,Zo));return!Zo.ended&&(Zo.length<Zo.highWaterMark||0===Zo.length)}function zn(Kn,Nn,_i,Zi){Nn.flowing&&0===Nn.length&&!Nn.sync?(Nn.awaitDrain=0,Kn.emit("data",_i)):(Nn.length+=Nn.objectMode?1:_i.length,Zi?Nn.buffer.unshift(_i):Nn.buffer.push(_i),Nn.needReadable&&ui(Kn)),Un(Kn,Nn)}Object.defineProperty(nn.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(Kn){this._readableState&&(this._readableState.destroyed=Kn)}}),nn.prototype.destroy=Ue.destroy,nn.prototype._undestroy=Ue.undestroy,nn.prototype._destroy=function(Kn,Nn){Nn(Kn)},nn.prototype.push=function(Kn,Nn){var _i,Zi=this._readableState;return Zi.objectMode?_i=!0:"string"==typeof Kn&&((Nn=Nn||Zi.defaultEncoding)!==Zi.encoding&&(Kn=O.from(Kn,Nn),Nn=""),_i=!0),Jn(this,Kn,Nn,!1,_i)},nn.prototype.unshift=function(Kn){return Jn(this,Kn,null,!0,!1)},nn.prototype.isPaused=function(){return!1===this._readableState.flowing},nn.prototype.setEncoding=function(Kn){oe||(oe=n(2553).s);var Nn=new oe(Kn);this._readableState.decoder=Nn,this._readableState.encoding=this._readableState.decoder.encoding;for(var _i=this._readableState.buffer.head,Zi="";null!==_i;)Zi+=Nn.write(_i.data),_i=_i.next;return this._readableState.buffer.clear(),""!==Zi&&this._readableState.buffer.push(Zi),this._readableState.length=Zi.length,this};var Zr=1073741824;function $r(Kn,Nn){return Kn<=0||0===Nn.length&&Nn.ended?0:Nn.objectMode?1:Kn!=Kn?Nn.flowing&&Nn.length?Nn.buffer.head.data.length:Nn.length:(Kn>Nn.highWaterMark&&(Nn.highWaterMark=((_i=Kn)>=Zr?_i=Zr:(_i--,_i|=_i>>>1,_i|=_i>>>2,_i|=_i>>>4,_i|=_i>>>8,_i|=_i>>>16,_i++),_i)),Kn<=Nn.length?Kn:Nn.ended?Nn.length:(Nn.needReadable=!0,0));var _i}function ui(Kn){var Nn=Kn._readableState;G("emitReadable",Nn.needReadable,Nn.emittedReadable),Nn.needReadable=!1,Nn.emittedReadable||(G("emitReadable",Nn.flowing),Nn.emittedReadable=!0,l.nextTick(gi,Kn))}function gi(Kn){var Nn=Kn._readableState;G("emitReadable_",Nn.destroyed,Nn.length,Nn.ended),Nn.destroyed||!Nn.length&&!Nn.ended||(Kn.emit("readable"),Nn.emittedReadable=!1),Nn.needReadable=!Nn.flowing&&!Nn.ended&&Nn.length<=Nn.highWaterMark,ai(Kn)}function Un(Kn,Nn){Nn.readingMore||(Nn.readingMore=!0,l.nextTick(lr,Kn,Nn))}function lr(Kn,Nn){for(;!Nn.reading&&!Nn.ended&&(Nn.length<Nn.highWaterMark||Nn.flowing&&0===Nn.length);){var _i=Nn.length;if(G("maybeReadMore read 0"),Kn.read(0),_i===Nn.length)break}Nn.readingMore=!1}function ar(Kn){var Nn=Kn._readableState;Nn.readableListening=Kn.listenerCount("readable")>0,Nn.resumeScheduled&&!Nn.paused?Nn.flowing=!0:Kn.listenerCount("data")>0&&Kn.resume()}function Cr(Kn){G("readable nexttick read 0"),Kn.read(0)}function Wn(Kn,Nn){G("resume",Nn.reading),Nn.reading||Kn.read(0),Nn.resumeScheduled=!1,Kn.emit("resume"),ai(Kn),Nn.flowing&&!Nn.reading&&Kn.read(0)}function ai(Kn){var Nn=Kn._readableState;for(G("flow",Nn.flowing);Nn.flowing&&null!==Kn.read(););}function ho(Kn,Nn){return 0===Nn.length?null:(Nn.objectMode?_i=Nn.buffer.shift():!Kn||Kn>=Nn.length?(_i=Nn.decoder?Nn.buffer.join(""):1===Nn.buffer.length?Nn.buffer.first():Nn.buffer.concat(Nn.length),Nn.buffer.clear()):_i=Nn.buffer.consume(Kn,Nn.decoder),_i);var _i}function Yi(Kn){var Nn=Kn._readableState;G("endReadable",Nn.endEmitted),Nn.endEmitted||(Nn.ended=!0,l.nextTick(lo,Nn,Kn))}function lo(Kn,Nn){if(G("endReadableNT",Kn.endEmitted,Kn.length),!Kn.endEmitted&&0===Kn.length&&(Kn.endEmitted=!0,Nn.readable=!1,Nn.emit("end"),Kn.autoDestroy)){var _i=Nn._writableState;(!_i||_i.autoDestroy&&_i.finished)&&Nn.destroy()}}function pi(Kn,Nn){for(var _i=0,Zi=Kn.length;_i<Zi;_i++)if(Kn[_i]===Nn)return _i;return-1}nn.prototype.read=function(Kn){G("read",Kn),Kn=parseInt(Kn,10);var Nn=this._readableState,_i=Kn;if(0!==Kn&&(Nn.emittedReadable=!1),0===Kn&&Nn.needReadable&&((0!==Nn.highWaterMark?Nn.length>=Nn.highWaterMark:Nn.length>0)||Nn.ended))return G("read: emitReadable",Nn.length,Nn.ended),0===Nn.length&&Nn.ended?Yi(this):ui(this),null;if(0===(Kn=$r(Kn,Nn))&&Nn.ended)return 0===Nn.length&&Yi(this),null;var Zi,So=Nn.needReadable;return G("need readable",So),(0===Nn.length||Nn.length-Kn<Nn.highWaterMark)&&G("length less than watermark",So=!0),Nn.ended||Nn.reading?G("reading or ended",So=!1):So&&(G("do read"),Nn.reading=!0,Nn.sync=!0,0===Nn.length&&(Nn.needReadable=!0),this._read(Nn.highWaterMark),Nn.sync=!1,Nn.reading||(Kn=$r(_i,Nn))),null===(Zi=Kn>0?ho(Kn,Nn):null)?(Nn.needReadable=Nn.length<=Nn.highWaterMark,Kn=0):(Nn.length-=Kn,Nn.awaitDrain=0),0===Nn.length&&(Nn.ended||(Nn.needReadable=!0),_i!==Kn&&Nn.ended&&Yi(this)),null!==Zi&&this.emit("data",Zi),Zi},nn.prototype._read=function(Kn){Yt(this,new Ft("_read()"))},nn.prototype.pipe=function(Kn,Nn){var _i=this,Zi=this._readableState;switch(Zi.pipesCount){case 0:Zi.pipes=Kn;break;case 1:Zi.pipes=[Zi.pipes,Kn];break;default:Zi.pipes.push(Kn)}Zi.pipesCount+=1,G("pipe count=%d opts=%j",Zi.pipesCount,Nn);var So=Nn&&!1===Nn.end||Kn===l.stdout||Kn===l.stderr?kt:Zo;function Zo(){G("onend"),Kn.end()}Zi.endEmitted?l.nextTick(So):_i.once("end",So),Kn.on("unpipe",function us(Lt,cr){G("onunpipe"),Lt===_i&&cr&&!1===cr.hasUnpiped&&(cr.hasUnpiped=!0,G("cleanup"),Kn.removeListener("close",$o),Kn.removeListener("finish",rt),Kn.removeListener("drain",pa),Kn.removeListener("error",xo),Kn.removeListener("unpipe",us),_i.removeListener("end",Zo),_i.removeListener("end",kt),_i.removeListener("data",qi),va=!0,!Zi.awaitDrain||Kn._writableState&&!Kn._writableState.needDrain||pa())});var Lt,pa=(Lt=_i,function(){var cr=Lt._readableState;G("pipeOnDrain",cr.awaitDrain),cr.awaitDrain&&cr.awaitDrain--,0===cr.awaitDrain&&_(Lt,"data")&&(cr.flowing=!0,ai(Lt))});Kn.on("drain",pa);var va=!1;function qi(Lt){G("ondata");var cr=Kn.write(Lt);G("dest.write",cr),!1===cr&&((1===Zi.pipesCount&&Zi.pipes===Kn||Zi.pipesCount>1&&-1!==pi(Zi.pipes,Kn))&&!va&&(G("false write response, pause",Zi.awaitDrain),Zi.awaitDrain++),_i.pause())}function xo(Lt){G("onerror",Lt),kt(),Kn.removeListener("error",xo),0===_(Kn,"error")&&Yt(Kn,Lt)}function $o(){Kn.removeListener("finish",rt),kt()}function rt(){G("onfinish"),Kn.removeListener("close",$o),kt()}function kt(){G("unpipe"),_i.unpipe(Kn)}return _i.on("data",qi),function(Lt,cr,Yr){if("function"==typeof Lt.prependListener)return Lt.prependListener(cr,Yr);Lt._events&&Lt._events[cr]?Array.isArray(Lt._events[cr])?Lt._events[cr].unshift(Yr):Lt._events[cr]=[Yr,Lt._events[cr]]:Lt.on(cr,Yr)}(Kn,"error",xo),Kn.once("close",$o),Kn.once("finish",rt),Kn.emit("pipe",_i),Zi.flowing||(G("pipe resume"),_i.resume()),Kn},nn.prototype.unpipe=function(Kn){var Nn=this._readableState,_i={hasUnpiped:!1};if(0===Nn.pipesCount)return this;if(1===Nn.pipesCount)return Kn&&Kn!==Nn.pipes||(Kn||(Kn=Nn.pipes),Nn.pipes=null,Nn.pipesCount=0,Nn.flowing=!1,Kn&&Kn.emit("unpipe",this,_i)),this;if(!Kn){var Zi=Nn.pipes,So=Nn.pipesCount;Nn.pipes=null,Nn.pipesCount=0,Nn.flowing=!1;for(var us=0;us<So;us++)Zi[us].emit("unpipe",this,{hasUnpiped:!1});return this}var Zo=pi(Nn.pipes,Kn);return-1===Zo||(Nn.pipes.splice(Zo,1),Nn.pipesCount-=1,1===Nn.pipesCount&&(Nn.pipes=Nn.pipes[0]),Kn.emit("unpipe",this,_i)),this},nn.prototype.addListener=nn.prototype.on=function(Kn,Nn){var _i=v.prototype.on.call(this,Kn,Nn),Zi=this._readableState;return"data"===Kn?(Zi.readableListening=this.listenerCount("readable")>0,!1!==Zi.flowing&&this.resume()):"readable"===Kn&&(Zi.endEmitted||Zi.readableListening||(Zi.readableListening=Zi.needReadable=!0,Zi.flowing=!1,Zi.emittedReadable=!1,G("on readable",Zi.length,Zi.reading),Zi.length?ui(this):Zi.reading||l.nextTick(Cr,this))),_i},nn.prototype.removeListener=function(Kn,Nn){var _i=v.prototype.removeListener.call(this,Kn,Nn);return"readable"===Kn&&l.nextTick(ar,this),_i},nn.prototype.removeAllListeners=function(Kn){var Nn=v.prototype.removeAllListeners.apply(this,arguments);return"readable"!==Kn&&void 0!==Kn||l.nextTick(ar,this),Nn},nn.prototype.resume=function(){var _i,Kn=this._readableState;return Kn.flowing||(G("resume"),Kn.flowing=!Kn.readableListening,this,(_i=Kn).resumeScheduled||(_i.resumeScheduled=!0,l.nextTick(Wn,this,_i))),Kn.paused=!1,this},nn.prototype.pause=function(){return G("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(G("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},nn.prototype.wrap=function(Kn){var Nn=this,_i=this._readableState,Zi=!1;for(var So in Kn.on("end",function(){if(G("wrapped end"),_i.decoder&&!_i.ended){var Zo=_i.decoder.end();Zo&&Zo.length&&Nn.push(Zo)}Nn.push(null)}),Kn.on("data",function(Zo){G("wrapped data"),_i.decoder&&(Zo=_i.decoder.write(Zo)),_i.objectMode&&null==Zo||(_i.objectMode||Zo&&Zo.length)&&(Nn.push(Zo)||(Zi=!0,Kn.pause()))}),Kn)void 0===this[So]&&"function"==typeof Kn[So]&&(this[So]=function(Zo){return function(){return Kn[Zo].apply(Kn,arguments)}}(So));for(var us=0;us<ln.length;us++)Kn.on(ln[us],this.emit.bind(this,ln[us]));return this._read=function(Zo){G("wrapped _read",Zo),Zi&&(Zi=!1,Kn.resume())},this},"function"==typeof Symbol&&(nn.prototype[Symbol.asyncIterator]=function(){return void 0===ue&&(ue=n(5850)),ue(this)}),Object.defineProperty(nn.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(nn.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(nn.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Kn){this._readableState&&(this._readableState.flowing=Kn)}}),nn._fromList=ho,Object.defineProperty(nn.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(nn.from=function(Kn,Nn){return void 0===pe&&(pe=n(5167)),pe(nn,Kn,Nn)})},4605:(t,i,n)=>{t.exports=K;var o=n(4281).q,l=o.ERR_METHOD_NOT_IMPLEMENTED,_=o.ERR_MULTIPLE_CALLBACK,v=o.ERR_TRANSFORM_ALREADY_TRANSFORMING,O=o.ERR_TRANSFORM_WITH_LENGTH_0,P=n(6753);function G(pe,ye){var Ue=this._transformState;Ue.transforming=!1;var xe=Ue.writecb;if(null===xe)return this.emit("error",new _);Ue.writechunk=null,Ue.writecb=null,null!=ye&&this.push(ye),xe(pe);var ke=this._readableState;ke.reading=!1,(ke.needReadable||ke.length<ke.highWaterMark)&&this._read(ke.highWaterMark)}function K(pe){if(!(this instanceof K))return new K(pe);P.call(this,pe),this._transformState={afterTransform:G.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,pe&&("function"==typeof pe.transform&&(this._transform=pe.transform),"function"==typeof pe.flush&&(this._flush=pe.flush)),this.on("prefinish",oe)}function oe(){var pe=this;"function"!=typeof this._flush||this._readableState.destroyed?ue(this,null,null):this._flush(function(ye,Ue){ue(pe,ye,Ue)})}function ue(pe,ye,Ue){if(ye)return pe.emit("error",ye);if(null!=Ue&&pe.push(Ue),pe._writableState.length)throw new O;if(pe._transformState.transforming)throw new v;return pe.push(null)}n(5717)(K,P),K.prototype.push=function(pe,ye){return this._transformState.needTransform=!1,P.prototype.push.call(this,pe,ye)},K.prototype._transform=function(pe,ye,Ue){Ue(new l("_transform()"))},K.prototype._write=function(pe,ye,Ue){var xe=this._transformState;if(xe.writecb=Ue,xe.writechunk=pe,xe.writeencoding=ye,!xe.transforming){var ke=this._readableState;(xe.needTransform||ke.needReadable||ke.length<ke.highWaterMark)&&this._read(ke.highWaterMark)}},K.prototype._read=function(pe){var ye=this._transformState;null===ye.writechunk||ye.transforming?ye.needTransform=!0:(ye.transforming=!0,this._transform(ye.writechunk,ye.writeencoding,ye.afterTransform))},K.prototype._destroy=function(pe,ye){P.prototype._destroy.call(this,pe,function(Ue){ye(Ue)})}},4229:(t,i,n)=>{var o,l=n(4155);function _(Un){var lr=this;this.next=null,this.entry=null,this.finish=function(){!function(ar,Cr,Wn){var ai=ar.entry;for(ar.entry=null;ai;){var ho=ai.callback;Cr.pendingcb--,ho(void 0),ai=ai.next}Cr.corkedRequestsFree.next=ar}(lr,Un)}}t.exports=nn,nn.WritableState=$n;var K,v={deprecate:n(4927)},O=n(2503),P=n(8764).Buffer,G=n.g.Uint8Array||function(){},oe=n(1195),ue=n(2457).getHighWaterMark,pe=n(4281).q,ye=pe.ERR_INVALID_ARG_TYPE,Ue=pe.ERR_METHOD_NOT_IMPLEMENTED,xe=pe.ERR_MULTIPLE_CALLBACK,ke=pe.ERR_STREAM_CANNOT_PIPE,we=pe.ERR_STREAM_DESTROYED,Z=pe.ERR_STREAM_NULL_VALUES,Ft=pe.ERR_STREAM_WRITE_AFTER_END,Dt=pe.ERR_UNKNOWN_ENCODING,Yt=oe.errorOrDestroy;function ln(){}function $n(Un,lr,ar){o=o||n(6753),"boolean"!=typeof ar&&(ar=lr instanceof o),this.objectMode=!!(Un=Un||{}).objectMode,ar&&(this.objectMode=this.objectMode||!!Un.writableObjectMode),this.highWaterMark=ue(this,Un,"writableHighWaterMark",ar),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===Un.decodeStrings),this.defaultEncoding=Un.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Wn){!function(ai,ho){var Nn,Yi=ai._writableState,lo=Yi.sync,pi=Yi.writecb;if("function"!=typeof pi)throw new xe;if((Nn=Yi).writing=!1,Nn.writecb=null,Nn.length-=Nn.writelen,Nn.writelen=0,ho)!function(Nn,_i,Zi,So,us){--_i.pendingcb,Zi?(l.nextTick(us,So),l.nextTick(gi,Nn,_i),Nn._writableState.errorEmitted=!0,Yt(Nn,So)):(us(So),Nn._writableState.errorEmitted=!0,Yt(Nn,So),gi(Nn,_i))}(ai,Yi,lo,ho,pi);else{var Kn=$r(Yi)||ai.destroyed;Kn||Yi.corked||Yi.bufferProcessing||!Yi.bufferedRequest||Zr(ai,Yi),lo?l.nextTick(zn,ai,Yi,Kn,pi):zn(ai,Yi,Kn,pi)}}(lr,Wn)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==Un.emitClose,this.autoDestroy=!!Un.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new _(this)}function nn(Un){var lr=this instanceof(o=o||n(6753));if(!lr&&!K.call(nn,this))return new nn(Un);this._writableState=new $n(Un,this,lr),this.writable=!0,Un&&("function"==typeof Un.write&&(this._write=Un.write),"function"==typeof Un.writev&&(this._writev=Un.writev),"function"==typeof Un.destroy&&(this._destroy=Un.destroy),"function"==typeof Un.final&&(this._final=Un.final)),O.call(this)}function Jn(Un,lr,ar,Cr,Wn,ai,ho){lr.writelen=Cr,lr.writecb=ho,lr.writing=!0,lr.sync=!0,lr.destroyed?lr.onwrite(new we("write")):ar?Un._writev(Wn,lr.onwrite):Un._write(Wn,ai,lr.onwrite),lr.sync=!1}function zn(Un,lr,ar,Cr){var Wn,ai;ar||(Wn=Un,0===(ai=lr).length&&ai.needDrain&&(ai.needDrain=!1,Wn.emit("drain"))),lr.pendingcb--,Cr(),gi(Un,lr)}function Zr(Un,lr){lr.bufferProcessing=!0;var ar=lr.bufferedRequest;if(Un._writev&&ar&&ar.next){var Wn=new Array(lr.bufferedRequestCount),ai=lr.corkedRequestsFree;ai.entry=ar;for(var ho=0,Yi=!0;ar;)Wn[ho]=ar,ar.isBuf||(Yi=!1),ar=ar.next,ho+=1;Wn.allBuffers=Yi,Jn(Un,lr,!0,lr.length,Wn,"",ai.finish),lr.pendingcb++,lr.lastBufferedRequest=null,ai.next?(lr.corkedRequestsFree=ai.next,ai.next=null):lr.corkedRequestsFree=new _(lr),lr.bufferedRequestCount=0}else{for(;ar;){var lo=ar.chunk;if(Jn(Un,lr,!1,lr.objectMode?1:lo.length,lo,ar.encoding,ar.callback),ar=ar.next,lr.bufferedRequestCount--,lr.writing)break}null===ar&&(lr.lastBufferedRequest=null)}lr.bufferedRequest=ar,lr.bufferProcessing=!1}function $r(Un){return Un.ending&&0===Un.length&&null===Un.bufferedRequest&&!Un.finished&&!Un.writing}function ui(Un,lr){Un._final(function(ar){lr.pendingcb--,ar&&Yt(Un,ar),lr.prefinished=!0,Un.emit("prefinish"),gi(Un,lr)})}function gi(Un,lr){var Wn,ai,ar=$r(lr);if(ar&&(Wn=Un,(ai=lr).prefinished||ai.finalCalled||("function"!=typeof Wn._final||ai.destroyed?(ai.prefinished=!0,Wn.emit("prefinish")):(ai.pendingcb++,ai.finalCalled=!0,l.nextTick(ui,Wn,ai))),0===lr.pendingcb&&(lr.finished=!0,Un.emit("finish"),lr.autoDestroy))){var Cr=Un._readableState;(!Cr||Cr.autoDestroy&&Cr.endEmitted)&&Un.destroy()}return ar}n(5717)(nn,O),$n.prototype.getBuffer=function(){for(var Un=this.bufferedRequest,lr=[];Un;)lr.push(Un),Un=Un.next;return lr},function(){try{Object.defineProperty($n.prototype,"buffer",{get:v.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(K=Function.prototype[Symbol.hasInstance],Object.defineProperty(nn,Symbol.hasInstance,{value:function(Un){return!!K.call(this,Un)||this===nn&&Un&&Un._writableState instanceof $n}})):K=function(Un){return Un instanceof this},nn.prototype.pipe=function(){Yt(this,new ke)},nn.prototype.write=function(Un,lr,ar){var Cr,Yi,lo,pi,Wn=this._writableState,ai=!1,ho=!Wn.objectMode&&(P.isBuffer(Cr=Un)||Cr instanceof G);return ho&&!P.isBuffer(Un)&&(Un=P.from(Un)),"function"==typeof lr&&(ar=lr,lr=null),ho?lr="buffer":lr||(lr=Wn.defaultEncoding),"function"!=typeof ar&&(ar=ln),Wn.ending?(Yi=this,lo=ar,pi=new Ft,Yt(Yi,pi),l.nextTick(lo,pi)):(ho||function(Yi,lo,pi,Kn){var Nn;return null===pi?Nn=new Z:"string"==typeof pi||lo.objectMode||(Nn=new ye("chunk",["string","Buffer"],pi)),!Nn||(Yt(Yi,Nn),l.nextTick(Kn,Nn),!1)}(this,Wn,Un,ar))&&(Wn.pendingcb++,ai=function(Yi,lo,pi,Kn,Nn,_i){if(!pi){var Zi=(va=Kn,(pa=lo).objectMode||!1===pa.decodeStrings||"string"!=typeof va||(va=P.from(va,Nn)),va);Kn!==Zi&&(pi=!0,Nn="buffer",Kn=Zi)}var pa,va,So=lo.objectMode?1:Kn.length;lo.length+=So;var us=lo.length<lo.highWaterMark;if(us||(lo.needDrain=!0),lo.writing||lo.corked){var Zo=lo.lastBufferedRequest;lo.lastBufferedRequest={chunk:Kn,encoding:Nn,isBuf:pi,callback:_i,next:null},Zo?Zo.next=lo.lastBufferedRequest:lo.bufferedRequest=lo.lastBufferedRequest,lo.bufferedRequestCount+=1}else Jn(Yi,lo,!1,So,Kn,Nn,_i);return us}(this,Wn,ho,Un,lr,ar)),ai},nn.prototype.cork=function(){this._writableState.corked++},nn.prototype.uncork=function(){var Un=this._writableState;Un.corked&&(Un.corked--,Un.writing||Un.corked||Un.bufferProcessing||!Un.bufferedRequest||Zr(this,Un))},nn.prototype.setDefaultEncoding=function(Un){if("string"==typeof Un&&(Un=Un.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Un+"").toLowerCase())>-1))throw new Dt(Un);return this._writableState.defaultEncoding=Un,this},Object.defineProperty(nn.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(nn.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),nn.prototype._write=function(Un,lr,ar){ar(new Ue("_write()"))},nn.prototype._writev=null,nn.prototype.end=function(Un,lr,ar){var ai,ho,Cr=this._writableState;return"function"==typeof Un?(ar=Un,Un=null,lr=null):"function"==typeof lr&&(ar=lr,lr=null),null!=Un&&this.write(Un,lr),Cr.corked&&(Cr.corked=1,this.uncork()),Cr.ending||(this,ho=ar,(ai=Cr).ending=!0,gi(this,ai),ho&&(ai.finished?l.nextTick(ho):this.once("finish",ho)),ai.ended=!0,this.writable=!1),this},Object.defineProperty(nn.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(nn.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(Un){this._writableState&&(this._writableState.destroyed=Un)}}),nn.prototype.destroy=oe.destroy,nn.prototype._undestroy=oe.undestroy,nn.prototype._destroy=function(Un,lr){lr(Un)}},5850:(t,i,n)=>{var o,l=n(4155);function _(Z,Ft,Dt){return Ft in Z?Object.defineProperty(Z,Ft,{value:Dt,enumerable:!0,configurable:!0,writable:!0}):Z[Ft]=Dt,Z}var v=n(8610),O=Symbol("lastResolve"),P=Symbol("lastReject"),G=Symbol("error"),K=Symbol("ended"),oe=Symbol("lastPromise"),ue=Symbol("handlePromise"),pe=Symbol("stream");function ye(Z,Ft){return{value:Z,done:Ft}}function Ue(Z){var Ft=Z[O];if(null!==Ft){var Dt=Z[pe].read();null!==Dt&&(Z[oe]=null,Z[O]=null,Z[P]=null,Ft(ye(Dt,!1)))}}function xe(Z){l.nextTick(Ue,Z)}var ke=Object.getPrototypeOf(function(){}),we=Object.setPrototypeOf((_(o={get stream(){return this[pe]},next:function(){var Z=this,Ft=this[G];if(null!==Ft)return Promise.reject(Ft);if(this[K])return Promise.resolve(ye(void 0,!0));if(this[pe].destroyed)return new Promise(function($n,nn){l.nextTick(function(){Z[G]?nn(Z[G]):$n(ye(void 0,!0))})});var Dt,$n,nn,Yt=this[oe];if(Yt)Dt=new Promise(($n=Yt,nn=this,function(Jn,zn){$n.then(function(){nn[K]?Jn(ye(void 0,!0)):nn[ue](Jn,zn)},zn)}));else{var ln=this[pe].read();if(null!==ln)return Promise.resolve(ye(ln,!1));Dt=new Promise(this[ue])}return this[oe]=Dt,Dt}},Symbol.asyncIterator,function(){return this}),_(o,"return",function(){var Z=this;return new Promise(function(Ft,Dt){Z[pe].destroy(null,function(Yt){Yt?Dt(Yt):Ft(ye(void 0,!0))})})}),o),ke);t.exports=function(Z){var Ft,Dt=Object.create(we,(_(Ft={},pe,{value:Z,writable:!0}),_(Ft,O,{value:null,writable:!0}),_(Ft,P,{value:null,writable:!0}),_(Ft,G,{value:null,writable:!0}),_(Ft,K,{value:Z._readableState.endEmitted,writable:!0}),_(Ft,ue,{value:function(Yt,ln){var $n=Dt[pe].read();$n?(Dt[oe]=null,Dt[O]=null,Dt[P]=null,Yt(ye($n,!1))):(Dt[O]=Yt,Dt[P]=ln)},writable:!0}),Ft));return Dt[oe]=null,v(Z,function(Yt){if(Yt&&"ERR_STREAM_PREMATURE_CLOSE"!==Yt.code){var ln=Dt[P];return null!==ln&&(Dt[oe]=null,Dt[O]=null,Dt[P]=null,ln(Yt)),void(Dt[G]=Yt)}var $n=Dt[O];null!==$n&&(Dt[oe]=null,Dt[O]=null,Dt[P]=null,$n(ye(void 0,!0))),Dt[K]=!0}),Z.on("readable",xe.bind(null,Dt)),Dt}},7327:(t,i,n)=>{function o(G,K){var oe=Object.keys(G);if(Object.getOwnPropertySymbols){var ue=Object.getOwnPropertySymbols(G);K&&(ue=ue.filter(function(pe){return Object.getOwnPropertyDescriptor(G,pe).enumerable})),oe.push.apply(oe,ue)}return oe}function l(G,K,oe){return K in G?Object.defineProperty(G,K,{value:oe,enumerable:!0,configurable:!0,writable:!0}):G[K]=oe,G}var v=n(8764).Buffer,O=n(2361).inspect,P=O&&O.custom||"inspect";t.exports=function(){function G(){(function(pe,ye){if(!(pe instanceof ye))throw new TypeError("Cannot call a class as a function")})(this,G),this.head=null,this.tail=null,this.length=0}var oe;return oe=[{key:"push",value:function(pe){var ye={data:pe,next:null};this.length>0?this.tail.next=ye:this.head=ye,this.tail=ye,++this.length}},{key:"unshift",value:function(pe){var ye={data:pe,next:this.head};0===this.length&&(this.tail=ye),this.head=ye,++this.length}},{key:"shift",value:function(){if(0!==this.length){var pe=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,pe}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(pe){if(0===this.length)return"";for(var ye=this.head,Ue=""+ye.data;ye=ye.next;)Ue+=pe+ye.data;return Ue}},{key:"concat",value:function(pe){if(0===this.length)return v.alloc(0);for(var ke=v.allocUnsafe(pe>>>0),we=this.head,Z=0;we;)v.prototype.copy.call(we.data,ke,Z),Z+=we.data.length,we=we.next;return ke}},{key:"consume",value:function(pe,ye){var Ue;return pe<this.head.data.length?(Ue=this.head.data.slice(0,pe),this.head.data=this.head.data.slice(pe)):Ue=pe===this.head.data.length?this.shift():ye?this._getString(pe):this._getBuffer(pe),Ue}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(pe){var ye=this.head,Ue=1,xe=ye.data;for(pe-=xe.length;ye=ye.next;){var ke=ye.data,we=pe>ke.length?ke.length:pe;if(xe+=we===ke.length?ke:ke.slice(0,pe),0==(pe-=we)){we===ke.length?(++Ue,this.head=ye.next?ye.next:this.tail=null):(this.head=ye,ye.data=ke.slice(we));break}++Ue}return this.length-=Ue,xe}},{key:"_getBuffer",value:function(pe){var ye=v.allocUnsafe(pe),Ue=this.head,xe=1;for(Ue.data.copy(ye),pe-=Ue.data.length;Ue=Ue.next;){var ke=Ue.data,we=pe>ke.length?ke.length:pe;if(ke.copy(ye,ye.length-pe,0,we),0==(pe-=we)){we===ke.length?(++xe,this.head=Ue.next?Ue.next:this.tail=null):(this.head=Ue,Ue.data=ke.slice(we));break}++xe}return this.length-=xe,ye}},{key:P,value:function(pe,ye){return O(this,function(Ue){for(var xe=1;xe<arguments.length;xe++){var ke=null!=arguments[xe]?arguments[xe]:{};xe%2?o(Object(ke),!0).forEach(function(we){l(Ue,we,ke[we])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ue,Object.getOwnPropertyDescriptors(ke)):o(Object(ke)).forEach(function(we){Object.defineProperty(Ue,we,Object.getOwnPropertyDescriptor(ke,we))})}return Ue}({},ye,{depth:0,customInspect:!1}))}}],oe&&function _(G,K){for(var oe=0;oe<K.length;oe++){var ue=K[oe];ue.enumerable=ue.enumerable||!1,ue.configurable=!0,"value"in ue&&(ue.writable=!0),Object.defineProperty(G,ue.key,ue)}}(G.prototype,oe),G}()},1195:(t,i,n)=>{var o=n(4155);function l(O,P){v(O,P),_(O)}function _(O){O._writableState&&!O._writableState.emitClose||O._readableState&&!O._readableState.emitClose||O.emit("close")}function v(O,P){O.emit("error",P)}t.exports={destroy:function(O,P){var G=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(P?P(O):O&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,o.nextTick(v,this,O)):o.nextTick(v,this,O)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(O||null,function(ue){!P&&ue?G._writableState?G._writableState.errorEmitted?o.nextTick(_,G):(G._writableState.errorEmitted=!0,o.nextTick(l,G,ue)):o.nextTick(l,G,ue):P?(o.nextTick(_,G),P(ue)):o.nextTick(_,G)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(O,P){var G=O._readableState,K=O._writableState;G&&G.autoDestroy||K&&K.autoDestroy?O.destroy(P):O.emit("error",P)}}},8610:(t,i,n)=>{var o=n(4281).q.ERR_STREAM_PREMATURE_CLOSE;function l(){}t.exports=function _(v,O,P){if("function"==typeof O)return _(v,null,O);var Z,Ft;O||(O={}),Z=P||l,Ft=!1,P=function(){if(!Ft){Ft=!0;for(var Dt=arguments.length,Yt=new Array(Dt),ln=0;ln<Dt;ln++)Yt[ln]=arguments[ln];Z.apply(this,Yt)}};var G=O.readable||!1!==O.readable&&v.readable,K=O.writable||!1!==O.writable&&v.writable,oe=function(){v.writable||pe()},ue=v._writableState&&v._writableState.finished,pe=function(){K=!1,ue=!0,G||P.call(v)},ye=v._readableState&&v._readableState.endEmitted,Ue=function(){G=!1,ye=!0,K||P.call(v)},xe=function(Z){P.call(v,Z)},ke=function(){var Z;return G&&!ye?(v._readableState&&v._readableState.ended||(Z=new o),P.call(v,Z)):K&&!ue?(v._writableState&&v._writableState.ended||(Z=new o),P.call(v,Z)):void 0},we=function(){v.req.on("finish",pe)};return function(Z){return Z.setHeader&&"function"==typeof Z.abort}(v)?(v.on("complete",pe),v.on("abort",ke),v.req?we():v.on("request",we)):K&&!v._writableState&&(v.on("end",oe),v.on("close",oe)),v.on("end",Ue),v.on("finish",pe),!1!==O.error&&v.on("error",xe),v.on("close",ke),function(){v.removeListener("complete",pe),v.removeListener("abort",ke),v.removeListener("request",we),v.req&&v.req.removeListener("finish",pe),v.removeListener("end",oe),v.removeListener("close",oe),v.removeListener("finish",pe),v.removeListener("end",Ue),v.removeListener("error",xe),v.removeListener("close",ke)}}},5167:t=>{t.exports=function(){throw new Error("Readable.from is not available in the browser")}},9946:(t,i,n)=>{var o,l=n(4281).q,_=l.ERR_MISSING_ARGS,v=l.ERR_STREAM_DESTROYED;function O(ue){if(ue)throw ue}function G(ue){ue()}function K(ue,pe){return ue.pipe(pe)}t.exports=function(){for(var ue=arguments.length,pe=new Array(ue),ye=0;ye<ue;ye++)pe[ye]=arguments[ye];var Ue,xe=function oe(ue){return ue.length?"function"!=typeof ue[ue.length-1]?O:ue.pop():O}(pe);if(Array.isArray(pe[0])&&(pe=pe[0]),pe.length<2)throw new _("streams");var ke=pe.map(function(we,Z){var Ft=Z<pe.length-1;return function P(ue,pe,ye,Ue){var we,Z;we=Ue,Z=!1,Ue=function(){Z||(Z=!0,we.apply(void 0,arguments))};var xe=!1;ue.on("close",function(){xe=!0}),void 0===o&&(o=n(8610)),o(ue,{readable:pe,writable:ye},function(we){if(we)return Ue(we);xe=!0,Ue()});var ke=!1;return function(we){if(!xe&&!ke)return ke=!0,function(Z){return Z.setHeader&&"function"==typeof Z.abort}(ue)?ue.abort():"function"==typeof ue.destroy?ue.destroy():void Ue(we||new v("pipe"))}}(we,Ft,Z>0,function(Dt){Ue||(Ue=Dt),Dt&&ke.forEach(G),Ft||(ke.forEach(G),xe(Ue))})});return pe.reduce(K)}},2457:(t,i,n)=>{var o=n(4281).q.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(l,_,v,O){var G,P=null!=(G=_).highWaterMark?G.highWaterMark:O?G[v]:null;if(null!=P){if(!isFinite(P)||Math.floor(P)!==P||P<0)throw new o(O?v:"highWaterMark",P);return Math.floor(P)}return l.objectMode?16:16384}}},2503:(t,i,n)=>{t.exports=n(7187).EventEmitter},4189:(t,i,n)=>{var o=n(396).Buffer;function l(_,v){this._block=o.alloc(_),this._finalSize=v,this._blockSize=_,this._len=0}l.prototype.update=function(_,v){"string"==typeof _&&(_=o.from(_,v=v||"utf8"));for(var O=this._block,P=this._blockSize,G=_.length,K=this._len,oe=0;oe<G;){for(var ue=K%P,pe=Math.min(G-oe,P-ue),ye=0;ye<pe;ye++)O[ue+ye]=_[oe+ye];oe+=pe,(K+=pe)%P==0&&this._update(O)}return this._len+=G,this},l.prototype.digest=function(_){var v=this._len%this._blockSize;this._block[v]=128,this._block.fill(0,v+1),v>=this._finalSize&&(this._update(this._block),this._block.fill(0));var O=8*this._len;if(O<=4294967295)this._block.writeUInt32BE(O,this._blockSize-4);else{var P=(4294967295&O)>>>0;this._block.writeUInt32BE((O-P)/4294967296,this._blockSize-8),this._block.writeUInt32BE(P,this._blockSize-4)}this._update(this._block);var K=this._hash();return _?K.toString(_):K},l.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=l},9072:(t,i,n)=>{var o=t.exports=function(l){l=l.toLowerCase();var _=o[l];if(!_)throw new Error(l+" is not supported (we accept pull requests)");return new _};o.sha=n(4448),o.sha1=n(8336),o.sha224=n(8432),o.sha256=n(7499),o.sha384=n(1686),o.sha512=n(7816)},4448:(t,i,n)=>{var o=n(5717),l=n(4189),_=n(396).Buffer,v=[1518500249,1859775393,-1894007588,-899497514],O=new Array(80);function P(){this.init(),this._w=O,l.call(this,64,56)}function G(oe){return oe<<30|oe>>>2}function K(oe,ue,pe,ye){return 0===oe?ue&pe|~ue&ye:2===oe?ue&pe|ue&ye|pe&ye:ue^pe^ye}o(P,l),P.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},P.prototype._update=function(oe){for(var ue,pe=this._w,ye=0|this._a,Ue=0|this._b,xe=0|this._c,ke=0|this._d,we=0|this._e,Z=0;Z<16;++Z)pe[Z]=oe.readInt32BE(4*Z);for(;Z<80;++Z)pe[Z]=pe[Z-3]^pe[Z-8]^pe[Z-14]^pe[Z-16];for(var Ft=0;Ft<80;++Ft){var Dt=~~(Ft/20),Yt=0|((ue=ye)<<5|ue>>>27)+K(Dt,Ue,xe,ke)+we+pe[Ft]+v[Dt];we=ke,ke=xe,xe=G(Ue),Ue=ye,ye=Yt}this._a=ye+this._a|0,this._b=Ue+this._b|0,this._c=xe+this._c|0,this._d=ke+this._d|0,this._e=we+this._e|0},P.prototype._hash=function(){var oe=_.allocUnsafe(20);return oe.writeInt32BE(0|this._a,0),oe.writeInt32BE(0|this._b,4),oe.writeInt32BE(0|this._c,8),oe.writeInt32BE(0|this._d,12),oe.writeInt32BE(0|this._e,16),oe},t.exports=P},8336:(t,i,n)=>{var o=n(5717),l=n(4189),_=n(396).Buffer,v=[1518500249,1859775393,-1894007588,-899497514],O=new Array(80);function P(){this.init(),this._w=O,l.call(this,64,56)}function G(ue){return ue<<5|ue>>>27}function K(ue){return ue<<30|ue>>>2}function oe(ue,pe,ye,Ue){return 0===ue?pe&ye|~pe&Ue:2===ue?pe&ye|pe&Ue|ye&Ue:pe^ye^Ue}o(P,l),P.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},P.prototype._update=function(ue){for(var pe,ye=this._w,Ue=0|this._a,xe=0|this._b,ke=0|this._c,we=0|this._d,Z=0|this._e,Ft=0;Ft<16;++Ft)ye[Ft]=ue.readInt32BE(4*Ft);for(;Ft<80;++Ft)ye[Ft]=(pe=ye[Ft-3]^ye[Ft-8]^ye[Ft-14]^ye[Ft-16])<<1|pe>>>31;for(var Dt=0;Dt<80;++Dt){var Yt=~~(Dt/20),ln=G(Ue)+oe(Yt,xe,ke,we)+Z+ye[Dt]+v[Yt]|0;Z=we,we=ke,ke=K(xe),xe=Ue,Ue=ln}this._a=Ue+this._a|0,this._b=xe+this._b|0,this._c=ke+this._c|0,this._d=we+this._d|0,this._e=Z+this._e|0},P.prototype._hash=function(){var ue=_.allocUnsafe(20);return ue.writeInt32BE(0|this._a,0),ue.writeInt32BE(0|this._b,4),ue.writeInt32BE(0|this._c,8),ue.writeInt32BE(0|this._d,12),ue.writeInt32BE(0|this._e,16),ue},t.exports=P},8432:(t,i,n)=>{var o=n(5717),l=n(7499),_=n(4189),v=n(396).Buffer,O=new Array(64);function P(){this.init(),this._w=O,_.call(this,64,56)}o(P,l),P.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},P.prototype._hash=function(){var G=v.allocUnsafe(28);return G.writeInt32BE(this._a,0),G.writeInt32BE(this._b,4),G.writeInt32BE(this._c,8),G.writeInt32BE(this._d,12),G.writeInt32BE(this._e,16),G.writeInt32BE(this._f,20),G.writeInt32BE(this._g,24),G},t.exports=P},7499:(t,i,n)=>{var o=n(5717),l=n(4189),_=n(396).Buffer,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],O=new Array(64);function P(){this.init(),this._w=O,l.call(this,64,56)}function G(ye,Ue,xe){return xe^ye&(Ue^xe)}function K(ye,Ue,xe){return ye&Ue|xe&(ye|Ue)}function oe(ye){return(ye>>>2|ye<<30)^(ye>>>13|ye<<19)^(ye>>>22|ye<<10)}function ue(ye){return(ye>>>6|ye<<26)^(ye>>>11|ye<<21)^(ye>>>25|ye<<7)}function pe(ye){return(ye>>>7|ye<<25)^(ye>>>18|ye<<14)^ye>>>3}o(P,l),P.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},P.prototype._update=function(ye){for(var Ue,xe=this._w,ke=0|this._a,we=0|this._b,Z=0|this._c,Ft=0|this._d,Dt=0|this._e,Yt=0|this._f,ln=0|this._g,$n=0|this._h,nn=0;nn<16;++nn)xe[nn]=ye.readInt32BE(4*nn);for(;nn<64;++nn)xe[nn]=0|(((Ue=xe[nn-2])>>>17|Ue<<15)^(Ue>>>19|Ue<<13)^Ue>>>10)+xe[nn-7]+pe(xe[nn-15])+xe[nn-16];for(var Jn=0;Jn<64;++Jn){var zn=$n+ue(Dt)+G(Dt,Yt,ln)+v[Jn]+xe[Jn]|0,Zr=oe(ke)+K(ke,we,Z)|0;$n=ln,ln=Yt,Yt=Dt,Dt=Ft+zn|0,Ft=Z,Z=we,we=ke,ke=zn+Zr|0}this._a=ke+this._a|0,this._b=we+this._b|0,this._c=Z+this._c|0,this._d=Ft+this._d|0,this._e=Dt+this._e|0,this._f=Yt+this._f|0,this._g=ln+this._g|0,this._h=$n+this._h|0},P.prototype._hash=function(){var ye=_.allocUnsafe(32);return ye.writeInt32BE(this._a,0),ye.writeInt32BE(this._b,4),ye.writeInt32BE(this._c,8),ye.writeInt32BE(this._d,12),ye.writeInt32BE(this._e,16),ye.writeInt32BE(this._f,20),ye.writeInt32BE(this._g,24),ye.writeInt32BE(this._h,28),ye},t.exports=P},1686:(t,i,n)=>{var o=n(5717),l=n(7816),_=n(4189),v=n(396).Buffer,O=new Array(160);function P(){this.init(),this._w=O,_.call(this,128,112)}o(P,l),P.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},P.prototype._hash=function(){var G=v.allocUnsafe(48);function K(oe,ue,pe){G.writeInt32BE(oe,pe),G.writeInt32BE(ue,pe+4)}return K(this._ah,this._al,0),K(this._bh,this._bl,8),K(this._ch,this._cl,16),K(this._dh,this._dl,24),K(this._eh,this._el,32),K(this._fh,this._fl,40),G},t.exports=P},7816:(t,i,n)=>{var o=n(5717),l=n(4189),_=n(396).Buffer,v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],O=new Array(160);function P(){this.init(),this._w=O,l.call(this,128,112)}function G(we,Z,Ft){return Ft^we&(Z^Ft)}function K(we,Z,Ft){return we&Z|Ft&(we|Z)}function oe(we,Z){return(we>>>28|Z<<4)^(Z>>>2|we<<30)^(Z>>>7|we<<25)}function ue(we,Z){return(we>>>14|Z<<18)^(we>>>18|Z<<14)^(Z>>>9|we<<23)}function pe(we,Z){return(we>>>1|Z<<31)^(we>>>8|Z<<24)^we>>>7}function ye(we,Z){return(we>>>1|Z<<31)^(we>>>8|Z<<24)^(we>>>7|Z<<25)}function Ue(we,Z){return(we>>>19|Z<<13)^(Z>>>29|we<<3)^we>>>6}function xe(we,Z){return(we>>>19|Z<<13)^(Z>>>29|we<<3)^(we>>>6|Z<<26)}function ke(we,Z){return we>>>0<Z>>>0?1:0}o(P,l),P.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},P.prototype._update=function(we){for(var Z=this._w,Ft=0|this._ah,Dt=0|this._bh,Yt=0|this._ch,ln=0|this._dh,$n=0|this._eh,nn=0|this._fh,Jn=0|this._gh,zn=0|this._hh,Zr=0|this._al,$r=0|this._bl,ui=0|this._cl,gi=0|this._dl,Un=0|this._el,lr=0|this._fl,ar=0|this._gl,Cr=0|this._hl,Wn=0;Wn<32;Wn+=2)Z[Wn]=we.readInt32BE(4*Wn),Z[Wn+1]=we.readInt32BE(4*Wn+4);for(;Wn<160;Wn+=2){var ai=Z[Wn-30],ho=Z[Wn-30+1],Yi=pe(ai,ho),lo=ye(ho,ai),pi=Ue(ai=Z[Wn-4],ho=Z[Wn-4+1]),Kn=xe(ho,ai),Zi=Z[Wn-32],So=Z[Wn-32+1],us=lo+Z[Wn-14+1]|0,Zo=Yi+Z[Wn-14]+ke(us,lo)|0;Zo=(Zo=Zo+pi+ke(us=us+Kn|0,Kn)|0)+Zi+ke(us=us+So|0,So)|0,Z[Wn]=Zo,Z[Wn+1]=us}for(var pa=0;pa<160;pa+=2){Zo=Z[pa],us=Z[pa+1];var va=K(Ft,Dt,Yt),qi=K(Zr,$r,ui),xo=oe(Ft,Zr),$o=oe(Zr,Ft),rt=ue($n,Un),kt=ue(Un,$n),Lt=v[pa],cr=v[pa+1],Yr=G($n,nn,Jn),li=G(Un,lr,ar),eo=Cr+kt|0,_a=zn+rt+ke(eo,Cr)|0;_a=(_a=(_a=_a+Yr+ke(eo=eo+li|0,li)|0)+Lt+ke(eo=eo+cr|0,cr)|0)+Zo+ke(eo=eo+us|0,us)|0;var ps=$o+qi|0,Fl=xo+va+ke(ps,$o)|0;zn=Jn,Cr=ar,Jn=nn,ar=lr,nn=$n,lr=Un,$n=ln+_a+ke(Un=gi+eo|0,gi)|0,ln=Yt,gi=ui,Yt=Dt,ui=$r,Dt=Ft,$r=Zr,Ft=_a+Fl+ke(Zr=eo+ps|0,eo)|0}this._al=this._al+Zr|0,this._bl=this._bl+$r|0,this._cl=this._cl+ui|0,this._dl=this._dl+gi|0,this._el=this._el+Un|0,this._fl=this._fl+lr|0,this._gl=this._gl+ar|0,this._hl=this._hl+Cr|0,this._ah=this._ah+Ft+ke(this._al,Zr)|0,this._bh=this._bh+Dt+ke(this._bl,$r)|0,this._ch=this._ch+Yt+ke(this._cl,ui)|0,this._dh=this._dh+ln+ke(this._dl,gi)|0,this._eh=this._eh+$n+ke(this._el,Un)|0,this._fh=this._fh+nn+ke(this._fl,lr)|0,this._gh=this._gh+Jn+ke(this._gl,ar)|0,this._hh=this._hh+zn+ke(this._hl,Cr)|0},P.prototype._hash=function(){var we=_.allocUnsafe(64);function Z(Ft,Dt,Yt){we.writeInt32BE(Ft,Yt),we.writeInt32BE(Dt,Yt+4)}return Z(this._ah,this._al,0),Z(this._bh,this._bl,8),Z(this._ch,this._cl,16),Z(this._dh,this._dl,24),Z(this._eh,this._el,32),Z(this._fh,this._fl,40),Z(this._gh,this._gl,48),Z(this._hh,this._hl,56),we},t.exports=P},2830:(t,i,n)=>{t.exports=l;var o=n(7187).EventEmitter;function l(){o.call(this)}n(5717)(l,o),l.Readable=n(9481),l.Writable=n(4229),l.Duplex=n(6753),l.Transform=n(4605),l.PassThrough=n(2725),l.finished=n(8610),l.pipeline=n(9946),l.Stream=l,l.prototype.pipe=function(_,v){var O=this;function P(Ue){_.writable&&!1===_.write(Ue)&&O.pause&&O.pause()}function G(){O.readable&&O.resume&&O.resume()}O.on("data",P),_.on("drain",G),_._isStdio||v&&!1===v.end||(O.on("end",oe),O.on("close",ue));var K=!1;function oe(){K||(K=!0,_.end())}function ue(){K||(K=!0,"function"==typeof _.destroy&&_.destroy())}function pe(Ue){if(ye(),0===o.listenerCount(this,"error"))throw Ue}function ye(){O.removeListener("data",P),_.removeListener("drain",G),O.removeListener("end",oe),O.removeListener("close",ue),O.removeListener("error",pe),_.removeListener("error",pe),O.removeListener("end",ye),O.removeListener("close",ye),_.removeListener("close",ye)}return O.on("error",pe),_.on("error",pe),O.on("end",ye),O.on("close",ye),_.on("close",ye),_.emit("pipe",O),_}},2553:(t,i,n)=>{var o=n(396).Buffer,l=o.isEncoding||function(ye){switch((ye=""+ye)&&ye.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function _(ye){var Ue;switch(this.encoding=function(xe){var ke=function(we){if(!we)return"utf8";for(var Z;;)switch(we){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return we;default:if(Z)return;we=(""+we).toLowerCase(),Z=!0}}(xe);if("string"!=typeof ke&&(o.isEncoding===l||!l(xe)))throw new Error("Unknown encoding: "+xe);return ke||xe}(ye),this.encoding){case"utf16le":this.text=P,this.end=G,Ue=4;break;case"utf8":this.fillLast=O,Ue=4;break;case"base64":this.text=K,this.end=oe,Ue=3;break;default:return this.write=ue,void(this.end=pe)}this.lastNeed=0,this.lastTotal=0,this.lastChar=o.allocUnsafe(Ue)}function v(ye){return ye<=127?0:ye>>5==6?2:ye>>4==14?3:ye>>3==30?4:ye>>6==2?-1:-2}function O(ye){var Ue=this.lastTotal-this.lastNeed,xe=function(ke,we,Z){if(128!=(192&we[0]))return ke.lastNeed=0,"\ufffd";if(ke.lastNeed>1&&we.length>1){if(128!=(192&we[1]))return ke.lastNeed=1,"\ufffd";if(ke.lastNeed>2&&we.length>2&&128!=(192&we[2]))return ke.lastNeed=2,"\ufffd"}}(this,ye);return void 0!==xe?xe:this.lastNeed<=ye.length?(ye.copy(this.lastChar,Ue,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(ye.copy(this.lastChar,Ue,0,ye.length),void(this.lastNeed-=ye.length))}function P(ye,Ue){if((ye.length-Ue)%2==0){var xe=ye.toString("utf16le",Ue);if(xe){var ke=xe.charCodeAt(xe.length-1);if(ke>=55296&&ke<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ye[ye.length-2],this.lastChar[1]=ye[ye.length-1],xe.slice(0,-1)}return xe}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ye[ye.length-1],ye.toString("utf16le",Ue,ye.length-1)}function G(ye){var Ue=ye&&ye.length?this.write(ye):"";return this.lastNeed?Ue+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):Ue}function K(ye,Ue){var xe=(ye.length-Ue)%3;return 0===xe?ye.toString("base64",Ue):(this.lastNeed=3-xe,this.lastTotal=3,1===xe?this.lastChar[0]=ye[ye.length-1]:(this.lastChar[0]=ye[ye.length-2],this.lastChar[1]=ye[ye.length-1]),ye.toString("base64",Ue,ye.length-xe))}function oe(ye){var Ue=ye&&ye.length?this.write(ye):"";return this.lastNeed?Ue+this.lastChar.toString("base64",0,3-this.lastNeed):Ue}function ue(ye){return ye.toString(this.encoding)}function pe(ye){return ye&&ye.length?this.write(ye):""}i.s=_,_.prototype.write=function(ye){if(0===ye.length)return"";var Ue,xe;if(this.lastNeed){if(void 0===(Ue=this.fillLast(ye)))return"";xe=this.lastNeed,this.lastNeed=0}else xe=0;return xe<ye.length?Ue?Ue+this.text(ye,xe):this.text(ye,xe):Ue||""},_.prototype.end=function(ye){var Ue=ye&&ye.length?this.write(ye):"";return this.lastNeed?Ue+"\ufffd":Ue},_.prototype.text=function(ye,Ue){var xe=function(we,Z,Ft){var Dt=Z.length-1;if(Dt<Ft)return 0;var Yt=v(Z[Dt]);return Yt>=0?(Yt>0&&(we.lastNeed=Yt-1),Yt):--Dt<Ft||-2===Yt?0:(Yt=v(Z[Dt]))>=0?(Yt>0&&(we.lastNeed=Yt-2),Yt):--Dt<Ft||-2===Yt?0:(Yt=v(Z[Dt]))>=0?(Yt>0&&(2===Yt?Yt=0:we.lastNeed=Yt-3),Yt):0}(this,ye,Ue);if(!this.lastNeed)return ye.toString("utf8",Ue);this.lastTotal=xe;var ke=ye.length-(xe-this.lastNeed);return ye.copy(this.lastChar,0,ke),ye.toString("utf8",Ue,ke)},_.prototype.fillLast=function(ye){if(this.lastNeed<=ye.length)return ye.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ye.copy(this.lastChar,this.lastTotal-this.lastNeed,0,ye.length),this.lastNeed-=ye.length}},396:(t,i,n)=>{var o=n(8764),l=o.Buffer;function _(O,P){for(var G in O)P[G]=O[G]}function v(O,P,G){return l(O,P,G)}l.from&&l.alloc&&l.allocUnsafe&&l.allocUnsafeSlow?t.exports=o:(_(o,i),i.Buffer=v),v.prototype=Object.create(l.prototype),_(l,v),v.from=function(O,P,G){if("number"==typeof O)throw new TypeError("Argument must not be a number");return l(O,P,G)},v.alloc=function(O,P,G){if("number"!=typeof O)throw new TypeError("Argument must be a number");var K=l(O);return void 0!==P?"string"==typeof G?K.fill(P,G):K.fill(P):K.fill(0),K},v.allocUnsafe=function(O){if("number"!=typeof O)throw new TypeError("Argument must be a number");return l(O)},v.allocUnsafeSlow=function(O){if("number"!=typeof O)throw new TypeError("Argument must be a number");return o.SlowBuffer(O)}},4927:(t,i,n)=>{function o(l){try{if(!n.g.localStorage)return!1}catch{return!1}var _=n.g.localStorage[l];return null!=_&&"true"===String(_).toLowerCase()}t.exports=function(l,_){if(o("noDeprecation"))return l;var v=!1;return function(){if(!v){if(o("throwDeprecation"))throw new Error(_);o("traceDeprecation")?console.trace(_):console.warn(_),v=!0}return l.apply(this,arguments)}}},255:t=>{var i={"&":"&amp;",'"':"&quot;","'":"&apos;","<":"&lt;",">":"&gt;"};t.exports=function(n){return n&&n.replace?n.replace(/([&"<>'])/g,function(o,l){return i[l]}):n}},3479:(t,i,n)=>{var o=n(4155),l=n(255),_=n(2830).Stream;function v(P,G,K){K=K||0;var oe,ue,pe=(oe=G,new Array(K||0).join(oe||"")),ye=P;if("object"==typeof P&&(ye=P[ue=Object.keys(P)[0]])&&ye._elem)return ye._elem.name=ue,ye._elem.icount=K,ye._elem.indent=G,ye._elem.indents=pe,ye._elem.interrupt=ye,ye._elem;var Ue,xe=[],ke=[];function we(Z){Object.keys(Z).forEach(function(Ft){xe.push(Ft+'="'+l(Z[Ft])+'"')})}switch(typeof ye){case"object":if(null===ye)break;ye._attr&&we(ye._attr),ye._cdata&&ke.push(("<![CDATA["+ye._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),ye.forEach&&(Ue=!1,ke.push(""),ye.forEach(function(Z){"object"==typeof Z?"_attr"==Object.keys(Z)[0]?we(Z._attr):ke.push(v(Z,G,K+1)):(ke.pop(),Ue=!0,ke.push(l(Z)))}),Ue||ke.push(""));break;default:ke.push(l(ye))}return{name:ue,interrupt:!1,attributes:xe,content:ke,icount:K,indents:pe,indent:G}}function O(P,G,K){if("object"!=typeof G)return P(!1,G);var oe=G.interrupt?1:G.content.length;function ue(){for(;G.content.length;){var ye=G.content.shift();if(void 0!==ye){if(pe(ye))return;O(P,ye)}}P(!1,(oe>1?G.indents:"")+(G.name?"</"+G.name+">":"")+(G.indent&&!K?"\n":"")),K&&K()}function pe(ye){return!!ye.interrupt&&(ye.interrupt.append=P,ye.interrupt.end=ue,ye.interrupt=!1,P(!0),!0)}if(P(!1,G.indents+(G.name?"<"+G.name:"")+(G.attributes.length?" "+G.attributes.join(" "):"")+(oe?G.name?">":"":G.name?"/>":"")+(G.indent&&oe>1?"\n":"")),!oe)return P(!1,G.indent?"\n":"");pe(G)||ue()}t.exports=function(P,G){"object"!=typeof G&&(G={indent:G});var K,oe,ue=G.stream?new _:null,pe="",ye=!1,Ue=G.indent?!0===G.indent?" ":G.indent:"",xe=!0;function ke(Dt){xe?o.nextTick(Dt):Dt()}function we(Dt,Yt){if(void 0!==Yt&&(pe+=Yt),Dt&&!ye&&(ue=ue||new _,ye=!0),Dt&&ye){var ln=pe;ke(function(){ue.emit("data",ln)}),pe=""}}function Z(Dt,Yt){O(we,v(Dt,Ue,Ue?1:0),Yt)}function Ft(){if(ue){var Dt=pe;ke(function(){ue.emit("data",Dt),ue.emit("end"),ue.readable=!1,ue.emit("close")})}}return ke(function(){xe=!1}),G.declaration&&(oe={version:"1.0",encoding:(K=G.declaration).encoding||"UTF-8"},K.standalone&&(oe.standalone=K.standalone),Z({"?xml":{_attr:oe}}),pe=pe.replace("/>","?>")),P&&P.forEach?P.forEach(function(Dt,Yt){var ln;Yt+1===P.length&&(ln=Ft),Z(Dt,ln)}):Z(P,Ft),ue?(ue.readable=!0,ue):pe},t.exports.element=t.exports.Element=function(){return{_elem:v(Array.prototype.slice.call(arguments)),push:function(K){if(!this.append)throw new Error("not assigned to a parent!");var oe=this,ue=this._elem.indent;O(this.append,v(K,ue,this._elem.icount+(ue?1:0)),function(){oe.append(!0)})},close:function(K){void 0!==K&&this.push(K),this.end&&this.end()}}}},5102:(t,i,n)=>{var o={"./all.js":5308,"./auth/actions.js":5812,"./auth/index.js":3705,"./auth/reducers.js":3962,"./auth/selectors.js":35,"./auth/spec-wrap-actions.js":8302,"./configs/actions.js":714,"./configs/helpers.js":2256,"./configs/index.js":1661,"./configs/reducers.js":7743,"./configs/selectors.js":9018,"./configs/spec-actions.js":2698,"./deep-linking/helpers.js":1970,"./deep-linking/index.js":4980,"./deep-linking/layout.js":5858,"./deep-linking/operation-tag-wrapper.jsx":4584,"./deep-linking/operation-wrapper.jsx":877,"./download-url.js":8011,"./err/actions.js":4966,"./err/error-transformers/hook.js":6808,"./err/error-transformers/transformers/not-of-type.js":2392,"./err/error-transformers/transformers/parameter-oneof.js":1835,"./err/index.js":7793,"./err/reducers.js":3527,"./err/selectors.js":7667,"./filter/index.js":9978,"./filter/opsFilter.js":4309,"./layout/actions.js":5474,"./layout/index.js":6821,"./layout/reducers.js":5672,"./layout/selectors.js":4400,"./layout/spec-extensions/wrap-selector.js":8989,"./logs/index.js":9150,"./oas3/actions.js":7002,"./oas3/auth-extensions/wrap-selectors.js":3723,"./oas3/components/callbacks.jsx":3427,"./oas3/components/http-auth.jsx":6775,"./oas3/components/index.js":6467,"./oas3/components/operation-link.jsx":5757,"./oas3/components/operation-servers.jsx":6796,"./oas3/components/request-body-editor.jsx":5327,"./oas3/components/request-body.jsx":2458,"./oas3/components/servers-container.jsx":9928,"./oas3/components/servers.jsx":6617,"./oas3/helpers.jsx":7779,"./oas3/index.js":7451,"./oas3/reducers.js":9666,"./oas3/selectors.js":5065,"./oas3/spec-extensions/selectors.js":1741,"./oas3/spec-extensions/wrap-selectors.js":2044,"./oas3/wrap-components/auth-item.jsx":356,"./oas3/wrap-components/index.js":7761,"./oas3/wrap-components/json-schema-string.jsx":287,"./oas3/wrap-components/markdown.jsx":2460,"./oas3/wrap-components/model.jsx":3499,"./oas3/wrap-components/online-validator-badge.js":58,"./oas3/wrap-components/version-stamp.jsx":9487,"./on-complete/index.js":8560,"./request-snippets/fn.js":4624,"./request-snippets/index.js":6575,"./request-snippets/request-snippets.jsx":4206,"./request-snippets/selectors.js":4669,"./safe-render/components/error-boundary.jsx":6195,"./safe-render/components/fallback.jsx":9403,"./safe-render/fn.jsx":6189,"./safe-render/index.js":8102,"./samples/fn.js":2473,"./samples/index.js":8883,"./spec/actions.js":1737,"./spec/index.js":7038,"./spec/reducers.js":32,"./spec/selectors.js":3881,"./spec/wrap-actions.js":7508,"./swagger-js/configs-wrap-actions.js":4852,"./swagger-js/index.js":2990,"./util/index.js":8525,"./view/fn.js":8347,"./view/index.js":3420,"./view/root-injects.jsx":5005,"core/plugins/all.js":5308,"core/plugins/auth/actions.js":5812,"core/plugins/auth/index.js":3705,"core/plugins/auth/reducers.js":3962,"core/plugins/auth/selectors.js":35,"core/plugins/auth/spec-wrap-actions.js":8302,"core/plugins/configs/actions.js":714,"core/plugins/configs/helpers.js":2256,"core/plugins/configs/index.js":1661,"core/plugins/configs/reducers.js":7743,"core/plugins/configs/selectors.js":9018,"core/plugins/configs/spec-actions.js":2698,"core/plugins/deep-linking/helpers.js":1970,"core/plugins/deep-linking/index.js":4980,"core/plugins/deep-linking/layout.js":5858,"core/plugins/deep-linking/operation-tag-wrapper.jsx":4584,"core/plugins/deep-linking/operation-wrapper.jsx":877,"core/plugins/download-url.js":8011,"core/plugins/err/actions.js":4966,"core/plugins/err/error-transformers/hook.js":6808,"core/plugins/err/error-transformers/transformers/not-of-type.js":2392,"core/plugins/err/error-transformers/transformers/parameter-oneof.js":1835,"core/plugins/err/index.js":7793,"core/plugins/err/reducers.js":3527,"core/plugins/err/selectors.js":7667,"core/plugins/filter/index.js":9978,"core/plugins/filter/opsFilter.js":4309,"core/plugins/layout/actions.js":5474,"core/plugins/layout/index.js":6821,"core/plugins/layout/reducers.js":5672,"core/plugins/layout/selectors.js":4400,"core/plugins/layout/spec-extensions/wrap-selector.js":8989,"core/plugins/logs/index.js":9150,"core/plugins/oas3/actions.js":7002,"core/plugins/oas3/auth-extensions/wrap-selectors.js":3723,"core/plugins/oas3/components/callbacks.jsx":3427,"core/plugins/oas3/components/http-auth.jsx":6775,"core/plugins/oas3/components/index.js":6467,"core/plugins/oas3/components/operation-link.jsx":5757,"core/plugins/oas3/components/operation-servers.jsx":6796,"core/plugins/oas3/components/request-body-editor.jsx":5327,"core/plugins/oas3/components/request-body.jsx":2458,"core/plugins/oas3/components/servers-container.jsx":9928,"core/plugins/oas3/components/servers.jsx":6617,"core/plugins/oas3/helpers.jsx":7779,"core/plugins/oas3/index.js":7451,"core/plugins/oas3/reducers.js":9666,"core/plugins/oas3/selectors.js":5065,"core/plugins/oas3/spec-extensions/selectors.js":1741,"core/plugins/oas3/spec-extensions/wrap-selectors.js":2044,"core/plugins/oas3/wrap-components/auth-item.jsx":356,"core/plugins/oas3/wrap-components/index.js":7761,"core/plugins/oas3/wrap-components/json-schema-string.jsx":287,"core/plugins/oas3/wrap-components/markdown.jsx":2460,"core/plugins/oas3/wrap-components/model.jsx":3499,"core/plugins/oas3/wrap-components/online-validator-badge.js":58,"core/plugins/oas3/wrap-components/version-stamp.jsx":9487,"core/plugins/on-complete/index.js":8560,"core/plugins/request-snippets/fn.js":4624,"core/plugins/request-snippets/index.js":6575,"core/plugins/request-snippets/request-snippets.jsx":4206,"core/plugins/request-snippets/selectors.js":4669,"core/plugins/safe-render/components/error-boundary.jsx":6195,"core/plugins/safe-render/components/fallback.jsx":9403,"core/plugins/safe-render/fn.jsx":6189,"core/plugins/safe-render/index.js":8102,"core/plugins/samples/fn.js":2473,"core/plugins/samples/index.js":8883,"core/plugins/spec/actions.js":1737,"core/plugins/spec/index.js":7038,"core/plugins/spec/reducers.js":32,"core/plugins/spec/selectors.js":3881,"core/plugins/spec/wrap-actions.js":7508,"core/plugins/swagger-js/configs-wrap-actions.js":4852,"core/plugins/swagger-js/index.js":2990,"core/plugins/util/index.js":8525,"core/plugins/view/fn.js":8347,"core/plugins/view/index.js":3420,"core/plugins/view/root-injects.jsx":5005};function l(v){var O=_(v);return n(O)}function _(v){if(!n.o(o,v)){var O=new Error("Cannot find module '"+v+"'");throw O.code="MODULE_NOT_FOUND",O}return o[v]}l.keys=function(){return Object.keys(o)},l.resolve=_,t.exports=l,l.id=5102},2517:t=>{t.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwcHgiICBoZWlnaHQ9IjIwMHB4IiAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiIGNsYXNzPSJsZHMtcm9sbGluZyIgc3R5bGU9ImJhY2tncm91bmQtaW1hZ2U6IG5vbmU7IGJhY2tncm91bmQtcG9zaXRpb246IGluaXRpYWwgaW5pdGlhbDsgYmFja2dyb3VuZC1yZXBlYXQ6IGluaXRpYWwgaW5pdGlhbDsiPjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIGZpbGw9Im5vbmUiIG5nLWF0dHItc3Ryb2tlPSJ7e2NvbmZpZy5jb2xvcn19IiBuZy1hdHRyLXN0cm9rZS13aWR0aD0ie3tjb25maWcud2lkdGh9fSIgbmctYXR0ci1yPSJ7e2NvbmZpZy5yYWRpdXN9fSIgbmctYXR0ci1zdHJva2UtZGFzaGFycmF5PSJ7e2NvbmZpZy5kYXNoYXJyYXl9fSIgc3Ryb2tlPSIjNTU1NTU1IiBzdHJva2Utd2lkdGg9IjEwIiByPSIzNSIgc3Ryb2tlLWRhc2hhcnJheT0iMTY0LjkzMzYxNDMxMzQ2NDE1IDU2Ljk3Nzg3MTQzNzgyMTM4Ij48YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InJvdGF0ZSIgY2FsY01vZGU9ImxpbmVhciIgdmFsdWVzPSIwIDUwIDUwOzM2MCA1MCA1MCIga2V5VGltZXM9IjA7MSIgZHVyPSIxcyIgYmVnaW49IjBzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSI+PC9hbmltYXRlVHJhbnNmb3JtPjwvY2lyY2xlPjwvc3ZnPgo="},5163:t=>{t.exports='---\nurl: "https://petstore.swagger.io/v2/swagger.json"\ndom_id: "#swagger-ui"\nvalidatorUrl: "https://validator.swagger.io/validator"\n'},8898:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>eU()}),l)},4163:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>nU()}),l)},5527:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>iU()}),l)},5171:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>sU()}),l)},2954:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>lU()}),l)},7930:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>cU()}),l)},6145:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>fU()}),l)},1778:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>_U()}),l)},29:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>mU()}),l)},2372:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>vU()}),l)},8818:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>EU()}),l)},5487:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>bU()}),l)},2565:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>CU()}),l)},6785:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>OU()}),l)},8136:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>DU()}),l)},9963:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>xU()}),l)},4350:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>PU()}),l)},3590:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>IU()}),l)},5942:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>LU()}),l)},313:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>$U()}),l)},6914:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>UU()}),l)},7512:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>GU()}),l)},2740:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>jU()}),l)},374:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>VU()}),l)},6235:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>WU()}),l)},3769:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>QU()}),l)},6340:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>FP}),l)},7344:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>KU}),l)},8656:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>tB}),l)},3248:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>nB}),l)},5416:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>iB}),l)},775:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>$P}),l)},863:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>FD}),l)},9972:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>oB}),l)},1013:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>lB}),l)},302:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>cB}),l)},9334:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>fB}),l)},2691:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>hB}),l)},1581:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>gv}),l)},4780:t=>{t.exports=gB},8096:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>yB()}),l)},3294:t=>{t.exports=SB},9725:(t,i,n)=>{var l;t.exports=(n.d(l={},{List:()=>vv.List,Map:()=>vv.Map,OrderedMap:()=>vv.OrderedMap,Seq:()=>vv.Seq,Set:()=>vv.Set,default:()=>bB(),fromJS:()=>vv.fromJS}),l)},626:(t,i,n)=>{var l;t.exports=(n.d(l={},{JSON_SCHEMA:()=>V6,default:()=>GY}),l)},9908:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>jY()}),l)},7068:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>VY()}),l)},5476:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>WY()}),l)},5053:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>QY()}),l)},810:(t,i,n)=>{var l;t.exports=(n.d(l={},{Component:()=>Ln.Component,PureComponent:()=>Ln.PureComponent,default:()=>Ln,useEffect:()=>Ln.useEffect,useRef:()=>Ln.useRef,useState:()=>Ln.useState}),l)},9874:(t,i,n)=>{var l;t.exports=(n.d(l={},{CopyToClipboard:()=>KY.CopyToClipboard}),l)},9569:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>qY()}),l)},9871:(t,i,n)=>{var l;t.exports=(n.d(l={},{applyMiddleware:()=>sj,bindActionCreators:()=>oj,compose:()=>q6,createStore:()=>K6}),l)},3952:(t,i,n)=>{var l;t.exports=(n.d(l={},{Remarkable:()=>v1}),l)},8639:(t,i,n)=>{var l;t.exports=(n.d(l={},{createSelector:()=>vN}),l)},8518:(t,i,n)=>{var l;t.exports=(n.d(l={},{serializeError:()=>Qz.serializeError}),l)},5013:(t,i,n)=>{var l;t.exports=(n.d(l={},{opId:()=>vD}),l)},8900:(t,i,n)=>{var l;t.exports=(n.d(l={},{default:()=>Xz()}),l)},2361:()=>{},4616:()=>{}},yN={};function qo(t){var i=yN[t];if(void 0!==i)return i.exports;var n=yN[t]={exports:{}};return vV[t](n,n.exports,qo),n.exports}qo.n=t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return qo.d(i,{a:i}),i},qo.d=(t,i)=>{for(var n in i)qo.o(i,n)&&!qo.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:i[n]})},qo.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch{if("object"==typeof window)return window}}(),qo.o=(t,i)=>Object.prototype.hasOwnProperty.call(t,i),qo.r=t=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var EN={};(()=>{qo.d(EN,{Z:()=>JW});var t={};qo.r(t),qo.d(t,{Button:()=>xN,Col:()=>iW,Collapse:()=>IN,Container:()=>rW,Input:()=>aW,Link:()=>PN,Row:()=>oW,Select:()=>wN,TextArea:()=>sW});var i={};qo.r(i),qo.d(i,{JsonSchemaArrayItemFile:()=>pR,JsonSchemaArrayItemText:()=>fR,JsonSchemaForm:()=>UN,JsonSchema_array:()=>GN,JsonSchema_boolean:()=>YN,JsonSchema_object:()=>jN,JsonSchema_string:()=>BN});var n=qo(1581),o=qo(5171);const l=(qo.d(vn={},{default:()=>eV()}),vn);var vn,_=qo(6145),v=qo(2740),O=qo(313),P=qo(7698),G=qo.n(P),K=qo(775),oe=qo(7344),ue=qo(8656),pe=qo(5527),ye=qo(7512),Ue=qo(8136),xe=qo(4163),ke=qo(6785),we=qo(2565),Z=qo(810),Ft=qo(9871),Dt=qo(9725);const Yt=(Yn=>{var vn={};return qo.d(vn,Yn),vn})({combineReducers:()=>tV.U});var ln=qo(8518);const $n=(Yn=>{var vn={};return qo.d(vn,Yn),vn})({default:()=>rV()});var nn=qo(4966),Jn=qo(7504),zn=qo(6298),Zr=function(Yn){return Yn},$r=function(){function Yn(){var vn,Ct=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,oe.default)(this,Yn),G()(this,{state:{},plugins:[],pluginsOptions:{},system:{configs:{},fn:{},components:{},rootInjects:{},statePlugins:{}},boundSystem:{},toolbox:{}},Ct),this.getSystem=(0,pe.default)(vn=this._getSystem).call(vn,this),this.store=function ar(Yn,vn,Ct){var dt,mt,Bt;return dt=Yn,mt=vn,Bt=[(0,zn._5)(Ct)],(0,Ft.createStore)(dt,mt,(Jn.Z.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||Ft.compose)(Ft.applyMiddleware.apply(void 0,Bt)))}(Zr,(0,Dt.fromJS)(this.state),this.getSystem),this.buildSystem(!1),this.register(this.plugins)}return(0,ue.default)(Yn,[{key:"getStore",value:function(){return this.store}},{key:"register",value:function(vn){var Ct=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],at=ui(vn,this.getSystem(),this.pluginsOptions);Un(this.system,at),Ct&&this.buildSystem(),gi.call(this.system,vn,this.getSystem())&&this.buildSystem()}},{key:"buildSystem",value:function(){var vn=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],Ct=this.getStore().dispatch,at=this.getStore().getState;this.boundSystem=(0,ye.default)({},this.getRootInjects(),this.getWrappedAndBoundActions(Ct),this.getWrappedAndBoundSelectors(at,this.getSystem),this.getStateThunks(at),this.getFn(),this.getConfigs()),vn&&this.rebuildReducer()}},{key:"_getSystem",value:function(){return this.boundSystem}},{key:"getRootInjects",value:function(){var vn,Ct,at;return(0,ye.default)({getSystem:this.getSystem,getStore:(0,pe.default)(vn=this.getStore).call(vn,this),getComponents:(0,pe.default)(Ct=this.getComponents).call(Ct,this),getState:this.getStore().getState,getConfigs:(0,pe.default)(at=this._getConfigs).call(at,this),Im:Dt.default,React:Z.default},this.system.rootInjects||{})}},{key:"_getConfigs",value:function(){return this.system.configs}},{key:"getConfigs",value:function(){return{configs:this.system.configs}}},{key:"setConfigs",value:function(vn){this.system.configs=vn}},{key:"rebuildReducer",value:function(){var vn,Ct,at;this.store.replaceReducer((vn=(0,zn.Ay)(this.system.statePlugins,function(mt){return mt.reducers}),at=(0,ke.default)(Ct=(0,v.default)(vn)).call(Ct,function(mt,Ut){return mt[Ut]=(Bt=vn[Ut],function(){var hn=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Dt.Map,Vn=arguments.length>1?arguments[1]:void 0;if(!Bt)return hn;var fr=Bt[Vn.type];if(fr){var rr=lr(fr)(hn,Vn);return null===rr?hn:rr}return hn}),mt;var Bt},{}),(0,v.default)(at).length?(0,Yt.combineReducers)(at):Zr))}},{key:"getType",value:function(vn){var Ct=vn[0].toUpperCase()+(0,Ue.default)(vn).call(vn,1);return(0,zn.Q2)(this.system.statePlugins,function(at,dt){var mt=at[vn];if(mt)return(0,K.default)({},dt+Ct,mt)})}},{key:"getSelectors",value:function(){return this.getType("selectors")}},{key:"getActions",value:function(){var vn=this.getType("actions");return(0,zn.Ay)(vn,function(Ct){return(0,zn.Q2)(Ct,function(at,dt){if((0,zn.LQ)(at))return(0,K.default)({},dt,at)})})}},{key:"getWrappedAndBoundActions",value:function(vn){var Ct=this,at=this.getBoundActions(vn);return(0,zn.Ay)(at,function(dt,mt){var Ut=Ct.system.statePlugins[(0,Ue.default)(mt).call(mt,0,-7)].wrapActions;return Ut?(0,zn.Ay)(dt,function(Bt,hn){var Vn=Ut[hn];return Vn?((0,xe.default)(Vn)||(Vn=[Vn]),(0,ke.default)(Vn).call(Vn,function(fr,rr){var Mr=function(){return rr(fr,Ct.getSystem()).apply(void 0,arguments)};if(!(0,zn.LQ)(Mr))throw new TypeError("wrapActions needs to return a function that returns a new function (ie the wrapped action)");return lr(Mr)},Bt||Function.prototype)):Bt}):dt})}},{key:"getWrappedAndBoundSelectors",value:function(vn,Ct){var at=this,dt=this.getBoundSelectors(vn,Ct);return(0,zn.Ay)(dt,function(mt,Ut){var Bt=[(0,Ue.default)(Ut).call(Ut,0,-9)],hn=at.system.statePlugins[Bt].wrapSelectors;return hn?(0,zn.Ay)(mt,function(Vn,fr){var rr=hn[fr];return rr?((0,xe.default)(rr)||(rr=[rr]),(0,ke.default)(rr).call(rr,function(Mr,Li){var Fi=function(){for(var Ki,to=arguments.length,wo=new Array(to),bo=0;bo<to;bo++)wo[bo]=arguments[bo];return Li(Mr,at.getSystem()).apply(void 0,(0,o.default)(Ki=[vn().getIn(Bt)]).call(Ki,wo))};if(!(0,zn.LQ)(Fi))throw new TypeError("wrapSelector needs to return a function that returns a new function (ie the wrapped action)");return Fi},Vn||Function.prototype)):Vn}):mt})}},{key:"getStates",value:function(vn){var Ct;return(0,ke.default)(Ct=(0,v.default)(this.system.statePlugins)).call(Ct,function(at,dt){return at[dt]=vn.get(dt),at},{})}},{key:"getStateThunks",value:function(vn){var Ct;return(0,ke.default)(Ct=(0,v.default)(this.system.statePlugins)).call(Ct,function(at,dt){return at[dt]=function(){return vn().get(dt)},at},{})}},{key:"getFn",value:function(){return{fn:this.system.fn}}},{key:"getComponents",value:function(vn){var Ct=this,at=this.system.components[vn];return(0,xe.default)(at)?(0,ke.default)(at).call(at,function(dt,mt){return mt(dt,Ct.getSystem())}):void 0!==vn?this.system.components[vn]:this.system.components}},{key:"getBoundSelectors",value:function(vn,Ct){return(0,zn.Ay)(this.getSelectors(),function(at,dt){var mt=[(0,Ue.default)(dt).call(dt,0,-9)],Ut=function(){return vn().getIn(mt)};return(0,zn.Ay)(at,function(Bt){return function(){for(var hn,Vn=arguments.length,fr=new Array(Vn),rr=0;rr<Vn;rr++)fr[rr]=arguments[rr];var Mr=lr(Bt).apply(null,(0,o.default)(hn=[Ut()]).call(hn,fr));return"function"==typeof Mr&&(Mr=lr(Mr)(Ct())),Mr}})})}},{key:"getBoundActions",value:function(vn){vn=vn||this.getStore().dispatch;var Ct=this.getActions(),at=function dt(mt){return"function"!=typeof mt?(0,zn.Ay)(mt,function(Ut){return dt(Ut)}):function(){var Ut=null;try{Ut=mt.apply(void 0,arguments)}catch(Bt){Ut={type:nn.NEW_THROWN_ERR,error:!0,payload:(0,ln.serializeError)(Bt)}}finally{return Ut}}};return(0,zn.Ay)(Ct,function(dt){return(0,Ft.bindActionCreators)(at(dt),vn)})}},{key:"getMapStateToProps",value:function(){var vn=this;return function(){return(0,ye.default)({},vn.getSystem())}}},{key:"getMapDispatchToProps",value:function(vn){var Ct=this;return function(at){return G()({},Ct.getWrappedAndBoundActions(at),Ct.getFn(),vn)}}}]),Yn}();function ui(Yn,vn,Ct){if((0,zn.Kn)(Yn)&&!(0,zn.kJ)(Yn))return(0,$n.default)({},Yn);if((0,zn.Wl)(Yn))return ui(Yn(vn),vn,Ct);if((0,zn.kJ)(Yn)){var at,dt="chain"===Ct.pluginLoadType?vn.getComponents():{};return(0,ke.default)(at=(0,we.default)(Yn).call(Yn,function(mt){return ui(mt,vn,Ct)})).call(at,Un,dt)}return{}}function gi(Yn,vn){var Ct=this,mt=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).hasLoaded;return(0,zn.Kn)(Yn)&&!(0,zn.kJ)(Yn)&&"function"==typeof Yn.afterLoad&&(mt=!0,lr(Yn.afterLoad).call(this,vn)),(0,zn.Wl)(Yn)?gi.call(this,Yn(vn),vn,{hasLoaded:mt}):(0,zn.kJ)(Yn)?(0,we.default)(Yn).call(Yn,function(Ut){return gi.call(Ct,Ut,vn,{hasLoaded:mt})}):mt}function Un(){var Yn=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},vn=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,zn.Kn)(Yn))return{};if(!(0,zn.Kn)(vn))return Yn;vn.wrapComponents&&((0,zn.Ay)(vn.wrapComponents,function(Li,Fi){var Ki=Yn.components&&Yn.components[Fi];Ki&&(0,xe.default)(Ki)?(Yn.components[Fi]=(0,o.default)(Ki).call(Ki,[Li]),delete vn.wrapComponents[Fi]):Ki&&(Yn.components[Fi]=[Ki,Li],delete vn.wrapComponents[Fi])}),(0,v.default)(vn.wrapComponents).length||delete vn.wrapComponents);var Ct=Yn.statePlugins;if((0,zn.Kn)(Ct))for(var at in Ct){var dt=Ct[at];if((0,zn.Kn)(dt)){var mt=dt.wrapActions,Ut=dt.wrapSelectors;if((0,zn.Kn)(mt))for(var Bt in mt){var hn,Vn=mt[Bt];(0,xe.default)(Vn)||(mt[Bt]=Vn=[Vn]),vn&&vn.statePlugins&&vn.statePlugins[at]&&vn.statePlugins[at].wrapActions&&vn.statePlugins[at].wrapActions[Bt]&&(vn.statePlugins[at].wrapActions[Bt]=(0,o.default)(hn=mt[Bt]).call(hn,vn.statePlugins[at].wrapActions[Bt]))}if((0,zn.Kn)(Ut))for(var fr in Ut){var rr,Mr=Ut[fr];(0,xe.default)(Mr)||(Ut[fr]=Mr=[Mr]),vn&&vn.statePlugins&&vn.statePlugins[at]&&vn.statePlugins[at].wrapSelectors&&vn.statePlugins[at].wrapSelectors[fr]&&(vn.statePlugins[at].wrapSelectors[fr]=(0,o.default)(rr=Ut[fr]).call(rr,vn.statePlugins[at].wrapSelectors[fr]))}}}return G()(Yn,vn)}function lr(Yn){var Ct=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).logErrors,at=void 0===Ct||Ct;return"function"!=typeof Yn?Yn:function(){try{for(var dt,mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return Yn.call.apply(Yn,(0,o.default)(dt=[this]).call(dt,Ut))}catch(hn){return at&&console.error(hn),null}}}var Cr=qo(7793),Wn=qo(6821),ai=qo(7038),ho=qo(3420),Yi=qo(8883),lo=qo(6575),pi=qo(9150),Kn=qo(2990),Nn=qo(3705),_i=qo(8525),Zi=qo(8011),So=qo(1661),us=qo(4980),Zo=qo(9978),pa=qo(8560),va=qo(8102),qi=qo(6340),xo=qo(9972),$o=qo(5416),rt=qo(8818),kt=(qo(5053),qo(9569),qo(5013)),Lt=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at,dt){var mt;(0,oe.default)(this,Ct),mt=vn.call(this,at,dt),(0,K.default)((0,qi.default)(mt),"toggleShown",function(){var Bt=mt.props,hn=Bt.layoutActions,Vn=Bt.tag,fr=Bt.operationId,rr=Bt.isShown,Mr=mt.getResolvedSubtree();rr||void 0!==Mr||mt.requestResolvedSubtree(),hn.show(["operations",Vn,fr],!rr)}),(0,K.default)((0,qi.default)(mt),"onCancelClick",function(){mt.setState({tryItOutEnabled:!mt.state.tryItOutEnabled})}),(0,K.default)((0,qi.default)(mt),"onTryoutClick",function(){mt.setState({tryItOutEnabled:!mt.state.tryItOutEnabled})}),(0,K.default)((0,qi.default)(mt),"onExecute",function(){mt.setState({executeInProgress:!0})}),(0,K.default)((0,qi.default)(mt),"getResolvedSubtree",function(){var Bt=mt.props,Vn=Bt.path,fr=Bt.method,rr=Bt.specPath;return Bt.specSelectors.specResolvedSubtree(rr?rr.toJS():["paths",Vn,fr])}),(0,K.default)((0,qi.default)(mt),"requestResolvedSubtree",function(){var Bt=mt.props,Vn=Bt.path,fr=Bt.method,rr=Bt.specPath;return Bt.specActions.requestResolvedSubtree(rr?rr.toJS():["paths",Vn,fr])});var Ut=at.getConfigs().tryItOutEnabled;return mt.state={tryItOutEnabled:!0===Ut||"true"===Ut,executeInProgress:!1},mt}return(0,ue.default)(Ct,[{key:"mapStateToProps",value:function(at,dt){var mt,Ut=dt.op,Bt=dt.layoutSelectors,hn=(0,dt.getConfigs)(),Vn=hn.docExpansion,fr=hn.deepLinking,rr=hn.displayOperationId,Mr=hn.displayRequestDuration,Li=hn.supportedSubmitMethods,Fi=Bt.showSummary(),Ki=Ut.getIn(["operation","__originalOperationId"])||Ut.getIn(["operation","operationId"])||(0,kt.opId)(Ut.get("operation"),dt.path,dt.method)||Ut.get("id"),to=["operations",dt.tag,Ki],wo=fr&&"false"!==fr,bo=(0,rt.default)(Li).call(Li,dt.method)>=0&&(void 0===dt.allowTryItOut?dt.specSelectors.allowTryItOutFor(dt.path,dt.method):dt.allowTryItOut),Mo=Ut.getIn(["operation","security"])||dt.specSelectors.security();return{operationId:Ki,isDeepLinkingEnabled:wo,showSummary:Fi,displayOperationId:rr,displayRequestDuration:Mr,allowTryItOut:bo,security:Mo,isAuthorized:dt.authSelectors.isAuthorized(Mo),isShown:Bt.isShown(to,"full"===Vn),jumpToKey:(0,o.default)(mt="paths.".concat(dt.path,".")).call(mt,dt.method),response:dt.specSelectors.responseFor(dt.path,dt.method),request:dt.specSelectors.requestFor(dt.path,dt.method)}}},{key:"componentDidMount",value:function(){var at=this.props.isShown,dt=this.getResolvedSubtree();at&&void 0===dt&&this.requestResolvedSubtree()}},{key:"UNSAFE_componentWillReceiveProps",value:function(at){var dt=at.response,mt=at.isShown,Ut=this.getResolvedSubtree();dt!==this.props.response&&this.setState({executeInProgress:!1}),mt&&void 0===Ut&&this.requestResolvedSubtree()}},{key:"render",value:function(){var at=this.props,dt=at.op,mt=at.tag,Ut=at.path,Bt=at.method,hn=at.security,Vn=at.isAuthorized,fr=at.operationId,rr=at.showSummary,Mr=at.isShown,Li=at.jumpToKey,Fi=at.allowTryItOut,Ki=at.response,to=at.request,wo=at.displayOperationId,bo=at.displayRequestDuration,Mo=at.isDeepLinkingEnabled,Ws=at.specPath,sa=at.specSelectors,Ma=at.specActions,ta=at.getComponent,na=at.getConfigs,aa=at.layoutSelectors,Xs=at.layoutActions,ml=at.authActions,ha=at.authSelectors,Xa=at.oas3Actions,bs=at.oas3Selectors,Oa=at.fn,Yl=ta("operation"),Ad=this.getResolvedSubtree()||(0,Dt.Map)(),Of=(0,Dt.fromJS)({op:Ad,tag:mt,path:Ut,summary:dt.getIn(["operation","summary"])||"",deprecated:Ad.get("deprecated")||dt.getIn(["operation","deprecated"])||!1,method:Bt,security:hn,isAuthorized:Vn,operationId:fr,originalOperationId:Ad.getIn(["operation","__originalOperationId"]),showSummary:rr,isShown:Mr,jumpToKey:Li,allowTryItOut:Fi,request:to,displayOperationId:wo,displayRequestDuration:bo,isDeepLinkingEnabled:Mo,executeInProgress:this.state.executeInProgress,tryItOutEnabled:this.state.tryItOutEnabled});return Z.default.createElement(Yl,{operation:Of,response:Ki,request:to,isShown:Mr,toggleShown:this.toggleShown,onTryoutClick:this.onTryoutClick,onCancelClick:this.onCancelClick,onExecute:this.onExecute,specPath:Ws,specActions:Ma,specSelectors:sa,oas3Actions:Xa,oas3Selectors:bs,layoutActions:Xs,layoutSelectors:aa,authActions:ml,authSelectors:ha,getComponent:ta,getConfigs:na,fn:Oa})}}]),Ct}(Z.PureComponent);(0,K.default)(Lt,"defaultProps",{showSummary:!0,response:null,allowTryItOut:!0,displayOperationId:!1,displayRequestDuration:!1});var cr=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"getLayout",value:function(){var at=this.props,dt=at.getComponent,mt=at.layoutSelectors.current();return dt(mt,!0)||function(){return Z.default.createElement("h1",null,' No layout defined for "',mt,'" ')}}},{key:"render",value:function(){var at=this.getLayout();return Z.default.createElement(at,null)}}]),Ct}(Z.default.Component);cr.defaultProps={};var Yr=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"close",function(){dt.props.authActions.showDefinitions(!1)}),dt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt=this.props,mt=dt.authSelectors,Ut=dt.authActions,Bt=dt.getComponent,hn=dt.errSelectors,Vn=dt.specSelectors,fr=dt.fn.AST,rr=void 0===fr?{}:fr,Mr=mt.shownDefinitions(),Li=Bt("auths");return Z.default.createElement("div",{className:"dialog-ux"},Z.default.createElement("div",{className:"backdrop-ux"}),Z.default.createElement("div",{className:"modal-ux"},Z.default.createElement("div",{className:"modal-dialog-ux"},Z.default.createElement("div",{className:"modal-ux-inner"},Z.default.createElement("div",{className:"modal-ux-header"},Z.default.createElement("h3",null,"Available authorizations"),Z.default.createElement("button",{type:"button",className:"close-modal",onClick:this.close},Z.default.createElement("svg",{width:"20",height:"20"},Z.default.createElement("use",{href:"#close",xlinkHref:"#close"})))),Z.default.createElement("div",{className:"modal-ux-content"},(0,we.default)(at=Mr.valueSeq()).call(at,function(Fi,Ki){return Z.default.createElement(Li,{key:Ki,AST:rr,definitions:Fi,getComponent:Bt,errSelectors:hn,authSelectors:mt,authActions:Ut,specSelectors:Vn})}))))))}}]),Ct}(Z.default.Component),li=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.isAuthorized,mt=at.showPopup,Ut=at.onClick,Bt=(0,at.getComponent)("authorizationPopup",!0);return Z.default.createElement("div",{className:"auth-wrapper"},Z.default.createElement("button",{className:dt?"btn authorize locked":"btn authorize unlocked",onClick:Ut},Z.default.createElement("span",null,"Authorize"),Z.default.createElement("svg",{width:"20",height:"20"},Z.default.createElement("use",{href:dt?"#locked":"#unlocked",xlinkHref:dt?"#locked":"#unlocked"}))),mt&&Z.default.createElement(Bt,null))}}]),Ct}(Z.default.Component),eo=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.authActions,mt=at.authSelectors,Bt=at.getComponent,hn=at.specSelectors.securityDefinitions(),Vn=mt.definitionsToAuthorize(),fr=Bt("authorizeBtn");return hn?Z.default.createElement(fr,{onClick:function(){return dt.showDefinitions(Vn)},isAuthorized:!!mt.authorized().size,showPopup:!!mt.shownDefinitions(),getComponent:Bt}):null}}]),Ct}(Z.default.Component),_a=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"onClick",function(hn){hn.stopPropagation();var Vn=dt.props.onClick;Vn&&Vn()}),dt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props.isAuthorized;return Z.default.createElement("button",{className:at?"authorization__btn locked":"authorization__btn unlocked","aria-label":at?"authorization button locked":"authorization button unlocked",onClick:this.onClick},Z.default.createElement("svg",{width:"20",height:"20"},Z.default.createElement("use",{href:at?"#locked":"#unlocked",xlinkHref:at?"#locked":"#unlocked"})))}}]),Ct}(Z.default.Component),ps=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at,dt){var mt;return(0,oe.default)(this,Ct),mt=vn.call(this,at,dt),(0,K.default)((0,qi.default)(mt),"onAuthChange",function(Ut){mt.setState((0,K.default)({},Ut.name,Ut))}),(0,K.default)((0,qi.default)(mt),"submitAuth",function(Ut){Ut.preventDefault(),mt.props.authActions.authorizeWithPersistOption(mt.state)}),(0,K.default)((0,qi.default)(mt),"logoutClick",function(Ut){Ut.preventDefault();var Bt=mt.props,hn=Bt.authActions,Vn=Bt.definitions,fr=(0,we.default)(Vn).call(Vn,function(rr,Mr){return Mr}).toArray();mt.setState((0,ke.default)(fr).call(fr,function(rr,Mr){return rr[Mr]="",rr},{})),hn.logoutWithPersistOption(fr)}),(0,K.default)((0,qi.default)(mt),"close",function(Ut){Ut.preventDefault(),mt.props.authActions.showDefinitions(!1)}),mt.state={},mt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt=this,mt=this.props,Ut=mt.definitions,Bt=mt.getComponent,hn=mt.authSelectors,Vn=mt.errSelectors,fr=Bt("AuthItem"),rr=Bt("oauth2",!0),Mr=Bt("Button"),Li=hn.authorized(),Fi=(0,_.default)(Ut).call(Ut,function(wo,bo){return!!Li.get(bo)}),Ki=(0,_.default)(Ut).call(Ut,function(wo){return"oauth2"!==wo.get("type")}),to=(0,_.default)(Ut).call(Ut,function(wo){return"oauth2"===wo.get("type")});return Z.default.createElement("div",{className:"auth-container"},!!Ki.size&&Z.default.createElement("form",{onSubmit:this.submitAuth},(0,we.default)(Ki).call(Ki,function(wo,bo){return Z.default.createElement(fr,{key:bo,schema:wo,name:bo,getComponent:Bt,onAuthChange:dt.onAuthChange,authorized:Li,errSelectors:Vn})}).toArray(),Z.default.createElement("div",{className:"auth-btn-wrapper"},Ki.size===Fi.size?Z.default.createElement(Mr,{className:"btn modal-btn auth",onClick:this.logoutClick},"Logout"):Z.default.createElement(Mr,{type:"submit",className:"btn modal-btn auth authorize"},"Authorize"),Z.default.createElement(Mr,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),to&&to.size?Z.default.createElement("div",null,Z.default.createElement("div",{className:"scope-def"},Z.default.createElement("p",null,"Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes."),Z.default.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),(0,we.default)(at=(0,_.default)(Ut).call(Ut,function(wo){return"oauth2"===wo.get("type")})).call(at,function(wo,bo){return Z.default.createElement("div",{key:bo},Z.default.createElement(rr,{authorized:Li,schema:wo,name:bo}))}).toArray()):null)}}]),Ct}(Z.default.Component),Fl=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt=this.props,mt=dt.schema,Ut=dt.name,Bt=dt.getComponent,hn=dt.onAuthChange,Vn=dt.authorized,fr=dt.errSelectors,rr=Bt("apiKeyAuth"),Mr=Bt("basicAuth"),Li=mt.get("type");switch(Li){case"apiKey":at=Z.default.createElement(rr,{key:Ut,schema:mt,name:Ut,errSelectors:fr,authorized:Vn,getComponent:Bt,onChange:hn});break;case"basic":at=Z.default.createElement(Mr,{key:Ut,schema:mt,name:Ut,errSelectors:fr,authorized:Vn,getComponent:Bt,onChange:hn});break;default:at=Z.default.createElement("div",{key:Ut},"Unknown security definition type ",Li)}return Z.default.createElement("div",{key:"".concat(Ut,"-jump")},at)}}]),Ct}(Z.default.Component),Gl=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props.error,dt=at.get("level"),mt=at.get("message"),Ut=at.get("source");return Z.default.createElement("div",{className:"errors"},Z.default.createElement("b",null,Ut," ",dt),Z.default.createElement("span",null,mt))}}]),Ct}(Z.default.Component),Ou=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at,dt){var mt;(0,oe.default)(this,Ct),mt=vn.call(this,at,dt),(0,K.default)((0,qi.default)(mt),"onChange",function(fr){var rr=mt.props.onChange,Li=(0,ye.default)({},mt.state,{value:fr.target.value});mt.setState(Li),rr(Li)});var Ut=mt.props,Bt=Ut.name,hn=Ut.schema,Vn=mt.getValue();return mt.state={name:Bt,schema:hn,value:Vn},mt}return(0,ue.default)(Ct,[{key:"getValue",value:function(){var at=this.props,mt=at.authorized;return mt&&mt.getIn([at.name,"value"])}},{key:"render",value:function(){var at,dt,mt=this.props,Ut=mt.schema,Bt=mt.getComponent,hn=mt.errSelectors,Vn=mt.name,fr=Bt("Input"),rr=Bt("Row"),Mr=Bt("Col"),Li=Bt("authError"),Fi=Bt("Markdown",!0),Ki=Bt("JumpToPath",!0),to=this.getValue(),wo=(0,_.default)(at=hn.allErrors()).call(at,function(bo){return bo.get("authId")===Vn});return Z.default.createElement("div",null,Z.default.createElement("h4",null,Z.default.createElement("code",null,Vn||Ut.get("name")),"\xa0(apiKey)",Z.default.createElement(Ki,{path:["securityDefinitions",Vn]})),to&&Z.default.createElement("h6",null,"Authorized"),Z.default.createElement(rr,null,Z.default.createElement(Fi,{source:Ut.get("description")})),Z.default.createElement(rr,null,Z.default.createElement("p",null,"Name: ",Z.default.createElement("code",null,Ut.get("name")))),Z.default.createElement(rr,null,Z.default.createElement("p",null,"In: ",Z.default.createElement("code",null,Ut.get("in")))),Z.default.createElement(rr,null,Z.default.createElement("label",null,"Value:"),to?Z.default.createElement("code",null," ****** "):Z.default.createElement(Mr,null,Z.default.createElement(fr,{type:"text",onChange:this.onChange,autoFocus:!0}))),(0,we.default)(dt=wo.valueSeq()).call(dt,function(bo,Mo){return Z.default.createElement(Li,{error:bo,key:Mo})}))}}]),Ct}(Z.default.Component),Pc=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at,dt){var mt;(0,oe.default)(this,Ct),mt=vn.call(this,at,dt),(0,K.default)((0,qi.default)(mt),"onChange",function(fr){var rr=mt.props.onChange,Mr=fr.target,Ki=mt.state.value;Ki[Mr.name]=Mr.value,mt.setState({value:Ki}),rr(mt.state)});var Ut=mt.props,Bt=Ut.schema,hn=Ut.name,Vn=mt.getValue().username;return mt.state={name:hn,schema:Bt,value:Vn?{username:Vn}:{}},mt}return(0,ue.default)(Ct,[{key:"getValue",value:function(){var at=this.props,dt=at.authorized;return dt&&dt.getIn([at.name,"value"])||{}}},{key:"render",value:function(){var at,dt,mt=this.props,Ut=mt.schema,Bt=mt.getComponent,hn=mt.name,Vn=mt.errSelectors,fr=Bt("Input"),rr=Bt("Row"),Mr=Bt("Col"),Li=Bt("authError"),Fi=Bt("JumpToPath",!0),Ki=Bt("Markdown",!0),to=this.getValue().username,wo=(0,_.default)(at=Vn.allErrors()).call(at,function(bo){return bo.get("authId")===hn});return Z.default.createElement("div",null,Z.default.createElement("h4",null,"Basic authorization",Z.default.createElement(Fi,{path:["securityDefinitions",hn]})),to&&Z.default.createElement("h6",null,"Authorized"),Z.default.createElement(rr,null,Z.default.createElement(Ki,{source:Ut.get("description")})),Z.default.createElement(rr,null,Z.default.createElement("label",null,"Username:"),to?Z.default.createElement("code",null," ",to," "):Z.default.createElement(Mr,null,Z.default.createElement(fr,{type:"text",required:"required",name:"username",onChange:this.onChange,autoFocus:!0}))),Z.default.createElement(rr,null,Z.default.createElement("label",null,"Password:"),to?Z.default.createElement("code",null," ****** "):Z.default.createElement(Mr,null,Z.default.createElement(fr,{autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),(0,we.default)(dt=wo.valueSeq()).call(dt,function(bo,Mo){return Z.default.createElement(Li,{error:bo,key:Mo})}))}}]),Ct}(Z.default.Component);function np(Yn){var vn=Yn.example,Ct=Yn.showValue,at=Yn.getComponent,dt=Yn.getConfigs,mt=at("Markdown",!0),Ut=at("highlightCode");return vn?Z.default.createElement("div",{className:"example"},vn.get("description")?Z.default.createElement("section",{className:"example__section"},Z.default.createElement("div",{className:"example__section-header"},"Example Description"),Z.default.createElement("p",null,Z.default.createElement(mt,{source:vn.get("description")}))):null,Ct&&vn.has("value")?Z.default.createElement("section",{className:"example__section"},Z.default.createElement("div",{className:"example__section-header"},"Example Value"),Z.default.createElement(Ut,{getConfigs:dt,value:(0,zn.Pz)(vn.get("value"))})):null):null}var ou=qo(6914),yd=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"_onSelect",function(hn){var fr=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isSyntheticChange;"function"==typeof dt.props.onSelect&&dt.props.onSelect(hn,{isSyntheticChange:void 0!==fr&&fr})}),(0,K.default)((0,qi.default)(dt),"_onDomSelect",function(hn){if("function"==typeof dt.props.onSelect){var Vn=hn.target.selectedOptions[0].getAttribute("value");dt._onSelect(Vn,{isSyntheticChange:!1})}}),(0,K.default)((0,qi.default)(dt),"getCurrentExample",function(){var hn=dt.props,Vn=hn.examples,rr=Vn.get(hn.currentExampleKey),Mr=Vn.keySeq().first(),Li=Vn.get(Mr);return rr||Li||(0,ou.default)({})}),dt}return(0,ue.default)(Ct,[{key:"componentDidMount",value:function(){var at=this.props,mt=at.examples;if("function"==typeof at.onSelect){var Ut=mt.first(),Bt=mt.keyOf(Ut);this._onSelect(Bt,{isSyntheticChange:!0})}}},{key:"UNSAFE_componentWillReceiveProps",value:function(at){var mt=at.examples;if(mt!==this.props.examples&&!mt.has(at.currentExampleKey)){var Ut=mt.first(),Bt=mt.keyOf(Ut);this._onSelect(Bt,{isSyntheticChange:!0})}}},{key:"render",value:function(){var at=this.props,dt=at.examples,mt=at.currentExampleKey,Ut=at.isValueModified,Bt=at.isModifiedValueAvailable;return Z.default.createElement("div",{className:"examples-select"},at.showLabels?Z.default.createElement("span",{className:"examples-select__section-label"},"Examples: "):null,Z.default.createElement("select",{className:"examples-select-element",onChange:this._onDomSelect,value:Bt&&Ut?"__MODIFIED__VALUE__":mt||""},Bt?Z.default.createElement("option",{value:"__MODIFIED__VALUE__"},"[Modified value]"):null,(0,we.default)(dt).call(dt,function(Vn,fr){return Z.default.createElement("option",{key:fr,value:fr},Vn.get("summary")||fr)}).valueSeq()))}}]),Ct}(Z.default.PureComponent);(0,K.default)(yd,"defaultProps",{examples:Dt.default.Map({}),onSelect:function(){for(var Yn,vn,Ct=arguments.length,at=new Array(Ct),dt=0;dt<Ct;dt++)at[dt]=arguments[dt];return(Yn=console).log.apply(Yn,(0,o.default)(vn=["DEBUG: ExamplesSelect was not given an onSelect callback"]).call(vn,at))},currentExampleKey:null,showLabels:!0});var kp=function(Yn){return Dt.List.isList(Yn)?Yn:(0,zn.Pz)(Yn)},Y_=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at){var dt;(0,oe.default)(this,Ct),dt=vn.call(this,at),(0,K.default)((0,qi.default)(dt),"_getStateForCurrentNamespace",function(){return(dt.state[dt.props.currentNamespace]||(0,Dt.Map)()).toObject()}),(0,K.default)((0,qi.default)(dt),"_setStateForCurrentNamespace",function(Ut){return dt._setStateForNamespace(dt.props.currentNamespace,Ut)}),(0,K.default)((0,qi.default)(dt),"_setStateForNamespace",function(Ut,Bt){var hn=(dt.state[Ut]||(0,Dt.Map)()).mergeDeep(Bt);return dt.setState((0,K.default)({},Ut,hn))}),(0,K.default)((0,qi.default)(dt),"_isCurrentUserInputSameAsExampleValue",function(){var Ut=dt.props.currentUserInputValue;return dt._getCurrentExampleValue()===Ut}),(0,K.default)((0,qi.default)(dt),"_getValueForExample",function(Ut,Bt){return kp(((Bt||dt.props).examples||(0,Dt.Map)({})).getIn([Ut,"value"]))}),(0,K.default)((0,qi.default)(dt),"_getCurrentExampleValue",function(Ut){return dt._getValueForExample((Ut||dt.props).currentKey,Ut||dt.props)}),(0,K.default)((0,qi.default)(dt),"_onExamplesSelect",function(Ut){var hn=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isSyntheticChange,Vn=dt.props,fr=Vn.onSelect,rr=Vn.updateValue,Mr=Vn.currentUserInputValue,Li=Vn.userHasEditedBody,Ki=dt._getStateForCurrentNamespace().lastUserEditedValue,to=dt._getValueForExample(Ut);if("__MODIFIED__VALUE__"===Ut)return rr(kp(Ki)),dt._setStateForCurrentNamespace({isModifiedValueSelected:!0});if("function"==typeof fr){for(var wo,bo=arguments.length,Mo=new Array(bo>2?bo-2:0),Ws=2;Ws<bo;Ws++)Mo[Ws-2]=arguments[Ws];fr.apply(void 0,(0,o.default)(wo=[Ut,{isSyntheticChange:hn}]).call(wo,Mo))}dt._setStateForCurrentNamespace({lastDownstreamValue:to,isModifiedValueSelected:hn&&Li||!!Mr&&Mr!==to}),hn||"function"==typeof rr&&rr(kp(to))});var mt=dt._getCurrentExampleValue();return dt.state=(0,K.default)({},at.currentNamespace,(0,Dt.Map)({lastUserEditedValue:dt.props.currentUserInputValue,lastDownstreamValue:mt,isModifiedValueSelected:dt.props.userHasEditedBody||dt.props.currentUserInputValue!==mt})),dt}return(0,ue.default)(Ct,[{key:"componentWillUnmount",value:function(){this.props.setRetainRequestBodyValueFlag(!1)}},{key:"UNSAFE_componentWillReceiveProps",value:function(at){var dt=at.currentUserInputValue,mt=at.examples,Ut=at.onSelect,Bt=at.userHasEditedBody,hn=this._getStateForCurrentNamespace(),Vn=hn.lastUserEditedValue,fr=hn.lastDownstreamValue,rr=this._getValueForExample(at.currentKey,at),Mr=(0,_.default)(mt).call(mt,function(Li){return Li.get("value")===dt||(0,zn.Pz)(Li.get("value"))===dt});Mr.size?Ut(Mr.has(at.currentKey)?at.currentKey:Mr.keySeq().first(),{isSyntheticChange:!0}):dt!==this.props.currentUserInputValue&&dt!==Vn&&dt!==fr&&(this.props.setRetainRequestBodyValueFlag(!0),this._setStateForNamespace(at.currentNamespace,{lastUserEditedValue:at.currentUserInputValue,isModifiedValueSelected:Bt||dt!==rr}))}},{key:"render",value:function(){var at=this.props,dt=at.currentUserInputValue,mt=at.examples,Ut=at.currentKey,Bt=at.getComponent,hn=at.userHasEditedBody,Vn=this._getStateForCurrentNamespace(),fr=Vn.lastDownstreamValue,rr=Vn.lastUserEditedValue,Mr=Vn.isModifiedValueSelected,Li=Bt("ExamplesSelect");return Z.default.createElement(Li,{examples:mt,currentExampleKey:Ut,onSelect:this._onExamplesSelect,isModifiedValueAvailable:!!rr&&rr!==fr,isValueModified:void 0!==dt&&Mr&&dt!==this._getCurrentExampleValue()||hn})}}]),Ct}(Z.default.PureComponent);(0,K.default)(Y_,"defaultProps",{userHasEditedBody:!1,examples:(0,Dt.Map)({}),currentNamespace:"__DEFAULT__NAMESPACE__",setRetainRequestBodyValueFlag:function(){},onSelect:function(){for(var Yn,vn,Ct=arguments.length,at=new Array(Ct),dt=0;dt<Ct;dt++)at[dt]=arguments[dt];return(Yn=console).log.apply(Yn,(0,o.default)(vn=["ExamplesSelectValueRetainer: no `onSelect` function was provided"]).call(vn,at))},updateValue:function(){for(var Yn,vn,Ct=arguments.length,at=new Array(Ct),dt=0;dt<Ct;dt++)at[dt]=arguments[dt];return(Yn=console).log.apply(Yn,(0,o.default)(vn=["ExamplesSelectValueRetainer: no `updateValue` function was provided"]).call(vn,at))}});var S_=qo(8898),j_=qo(5487),Au=qo(2372),hd=qo(8900),n_=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at,dt){var mt;(0,oe.default)(this,Ct),mt=vn.call(this,at,dt),(0,K.default)((0,qi.default)(mt),"close",function(bo){bo.preventDefault(),mt.props.authActions.showDefinitions(!1)}),(0,K.default)((0,qi.default)(mt),"authorize",function(){var bo=mt.props,Mo=bo.authActions,Ws=bo.errActions,Ma=bo.authSelectors,ta=bo.oas3Selectors,na=(0,bo.getConfigs)(),aa=Ma.getConfigs();Ws.clear({authId:name,type:"auth",source:"auth"}),function(Xs){var ml=Xs.auth,ha=Xs.authActions,Xa=Xs.errActions,bs=Xs.configs,Oa=Xs.authConfigs,Yl=void 0===Oa?{}:Oa,Ad=Xs.currentServer,Of=ml.schema,Af=ml.scopes,rp=ml.name,Du=ml.clientId,Dd=Of.get("flow"),jc=[];switch(Dd){case"password":return void ha.authorizePassword(ml);case"application":case"clientCredentials":case"client_credentials":return void ha.authorizeApplication(ml);case"accessCode":case"authorizationCode":case"authorization_code":jc.push("response_type=code");break;case"implicit":jc.push("response_type=token")}"string"==typeof Du&&jc.push("client_id="+encodeURIComponent(Du));var $p=bs.oauth2RedirectUrl;if(void 0!==$p){jc.push("redirect_uri="+encodeURIComponent($p));var bp=[];(0,xe.default)(Af)?bp=Af:Dt.default.List.isList(Af)&&(bp=Af.toArray()),bp.length>0&&jc.push("scope="+encodeURIComponent(bp.join(Yl.scopeSeparator||" ")));var df=(0,zn.r3)(new Date);if(jc.push("state="+encodeURIComponent(df)),void 0!==Yl.realm&&jc.push("realm="+encodeURIComponent(Yl.realm)),("authorizationCode"===Dd||"authorization_code"===Dd||"accessCode"===Dd)&&Yl.usePkceWithAuthorizationCodeGrant){var zc=(0,zn.Uj)(),ff=(0,zn.Xb)(zc);jc.push("code_challenge="+ff),jc.push("code_challenge_method=S256"),ml.codeVerifier=zc}var Df=Yl.additionalQueryStringParams;for(var Rf in Df){var V_;void 0!==Df[Rf]&&jc.push((0,we.default)(V_=[Rf,Df[Rf]]).call(V_,encodeURIComponent).join("="))}var ef=Of.get("authorizationUrl"),Hf=[Ad?(0,hd.default)((0,zn.Nm)(ef),Ad,!0).toString():(0,zn.Nm)(ef),jc.join("&")].join(-1===(0,rt.default)(ef).call(ef,"?")?"?":"&");ha.authPopup(Hf,{auth:ml,state:df,redirectUrl:$p,callback:"implicit"===Dd?ha.preAuthorizeImplicit:Yl.useBasicAuthenticationWithAccessCodeGrant?ha.authorizeAccessCodeWithBasicAuthentication:ha.authorizeAccessCodeWithFormParams,errCb:Xa.newAuthErr})}else Xa.newAuthErr({authId:rp,source:"validation",level:"error",message:"oauth2RedirectUrl configuration is not passed. Oauth2 authorization cannot be performed."})}({auth:mt.state,currentServer:ta.serverEffectiveValue(ta.selectedServer()),authActions:Mo,errActions:Ws,configs:na,authConfigs:aa})}),(0,K.default)((0,qi.default)(mt),"onScopeChange",function(bo){var Mo,Ws,sa=bo.target,Ma=sa.checked,ta=sa.dataset.value;if(Ma&&-1===(0,rt.default)(Mo=mt.state.scopes).call(Mo,ta)){var na,aa=(0,o.default)(na=mt.state.scopes).call(na,[ta]);mt.setState({scopes:aa})}else if(!Ma&&(0,rt.default)(Ws=mt.state.scopes).call(Ws,ta)>-1){var Xs;mt.setState({scopes:(0,_.default)(Xs=mt.state.scopes).call(Xs,function(ml){return ml!==ta})})}}),(0,K.default)((0,qi.default)(mt),"onInputChange",function(bo){var Mo=bo.target,Ma=(0,K.default)({},Mo.dataset.name,Mo.value);mt.setState(Ma)}),(0,K.default)((0,qi.default)(mt),"selectScopes",function(bo){var Mo;mt.setState(bo.target.dataset.all?{scopes:(0,S_.default)((0,j_.default)(Mo=mt.props.schema.get("allowedScopes")||mt.props.schema.get("scopes")).call(Mo))}:{scopes:[]})}),(0,K.default)((0,qi.default)(mt),"logout",function(bo){bo.preventDefault();var Mo=mt.props,Ws=Mo.authActions,Ma=Mo.name;Mo.errActions.clear({authId:Ma,type:"auth",source:"auth"}),Ws.logoutWithPersistOption([Ma])});var Ut=mt.props,Bt=Ut.name,hn=Ut.schema,Vn=Ut.authorized,fr=Ut.authSelectors,rr=Vn&&Vn.get(Bt),Mr=fr.getConfigs()||{},Li=rr&&rr.get("username")||"",Fi=rr&&rr.get("clientId")||Mr.clientId||"",Ki=rr&&rr.get("clientSecret")||Mr.clientSecret||"",to=rr&&rr.get("passwordType")||"basic",wo=rr&&rr.get("scopes")||Mr.scopes||[];return"string"==typeof wo&&(wo=wo.split(Mr.scopeSeparator||" ")),mt.state={appName:Mr.appName,name:Bt,schema:hn,scopes:wo,clientId:Fi,clientSecret:Ki,username:Li,password:"",passwordType:to},mt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt,mt=this,Ut=this.props,Bt=Ut.schema,hn=Ut.getComponent,Vn=Ut.authSelectors,fr=Ut.errSelectors,rr=Ut.name,Mr=Ut.specSelectors,Li=hn("Input"),Fi=hn("Row"),Ki=hn("Col"),to=hn("Button"),wo=hn("authError"),bo=hn("JumpToPath",!0),Mo=hn("Markdown",!0),Ws=hn("InitializedInput"),sa=Mr.isOAS3,Ma=sa()?Bt.get("openIdConnectUrl"):null,ta="implicit",na="password",aa=sa()?Ma?"authorization_code":"authorizationCode":"accessCode",Xs=sa()?Ma?"client_credentials":"clientCredentials":"application",ml=!!(Vn.getConfigs()||{}).usePkceWithAuthorizationCodeGrant,ha=Bt.get("flow"),Xa=ha===aa&&ml?ha+" with PKCE":ha,bs=Bt.get("allowedScopes")||Bt.get("scopes"),Oa=!!Vn.authorized().get(rr),Yl=(0,_.default)(at=fr.allErrors()).call(at,function(Af){return Af.get("authId")===rr}),Ad=!(0,_.default)(Yl).call(Yl,function(Af){return"validation"===Af.get("source")}).size,Of=Bt.get("description");return Z.default.createElement("div",null,Z.default.createElement("h4",null,rr," (OAuth2, ",Xa,") ",Z.default.createElement(bo,{path:["securityDefinitions",rr]})),this.state.appName?Z.default.createElement("h5",null,"Application: ",this.state.appName," "):null,Of&&Z.default.createElement(Mo,{source:Bt.get("description")}),Oa&&Z.default.createElement("h6",null,"Authorized"),Ma&&Z.default.createElement("p",null,"OpenID Connect URL: ",Z.default.createElement("code",null,Ma)),(ha===ta||ha===aa)&&Z.default.createElement("p",null,"Authorization URL: ",Z.default.createElement("code",null,Bt.get("authorizationUrl"))),(ha===na||ha===aa||ha===Xs)&&Z.default.createElement("p",null,"Token URL:",Z.default.createElement("code",null," ",Bt.get("tokenUrl"))),Z.default.createElement("p",{className:"flow"},"Flow: ",Z.default.createElement("code",null,Xa)),ha!==na?null:Z.default.createElement(Fi,null,Z.default.createElement(Fi,null,Z.default.createElement("label",{htmlFor:"oauth_username"},"username:"),Oa?Z.default.createElement("code",null," ",this.state.username," "):Z.default.createElement(Ki,{tablet:10,desktop:10},Z.default.createElement("input",{id:"oauth_username",type:"text","data-name":"username",onChange:this.onInputChange,autoFocus:!0}))),Z.default.createElement(Fi,null,Z.default.createElement("label",{htmlFor:"oauth_password"},"password:"),Oa?Z.default.createElement("code",null," ****** "):Z.default.createElement(Ki,{tablet:10,desktop:10},Z.default.createElement("input",{id:"oauth_password",type:"password","data-name":"password",onChange:this.onInputChange}))),Z.default.createElement(Fi,null,Z.default.createElement("label",{htmlFor:"password_type"},"Client credentials location:"),Oa?Z.default.createElement("code",null," ",this.state.passwordType," "):Z.default.createElement(Ki,{tablet:10,desktop:10},Z.default.createElement("select",{id:"password_type","data-name":"passwordType",onChange:this.onInputChange},Z.default.createElement("option",{value:"basic"},"Authorization header"),Z.default.createElement("option",{value:"request-body"},"Request body"))))),(ha===Xs||ha===ta||ha===aa||ha===na)&&(!Oa||Oa&&this.state.clientId)&&Z.default.createElement(Fi,null,Z.default.createElement("label",{htmlFor:"client_id"},"client_id:"),Oa?Z.default.createElement("code",null," ****** "):Z.default.createElement(Ki,{tablet:10,desktop:10},Z.default.createElement(Ws,{id:"client_id",type:"text",required:ha===na,initialValue:this.state.clientId,"data-name":"clientId",onChange:this.onInputChange}))),(ha===Xs||ha===aa||ha===na)&&!ml&&Z.default.createElement(Fi,null,Z.default.createElement("label",{htmlFor:"client_secret"},"client_secret:"),Oa?Z.default.createElement("code",null," ****** "):Z.default.createElement(Ki,{tablet:10,desktop:10},Z.default.createElement(Ws,{id:"client_secret",initialValue:this.state.clientSecret,type:"password","data-name":"clientSecret",onChange:this.onInputChange}))),!Oa&&bs&&bs.size?Z.default.createElement("div",{className:"scopes"},Z.default.createElement("h2",null,"Scopes:",Z.default.createElement("a",{onClick:this.selectScopes,"data-all":!0},"select all"),Z.default.createElement("a",{onClick:this.selectScopes},"select none")),(0,we.default)(bs).call(bs,function(Af,rp){var Du,Dd,jc,$p,bp;return Z.default.createElement(Fi,{key:rp},Z.default.createElement("div",{className:"checkbox"},Z.default.createElement(Li,{"data-value":rp,id:(0,o.default)(Du=(0,o.default)(Dd="".concat(rp,"-")).call(Dd,ha,"-checkbox-")).call(Du,mt.state.name),disabled:Oa,checked:(0,Au.default)(jc=mt.state.scopes).call(jc,rp),type:"checkbox",onChange:mt.onScopeChange}),Z.default.createElement("label",{htmlFor:(0,o.default)($p=(0,o.default)(bp="".concat(rp,"-")).call(bp,ha,"-checkbox-")).call($p,mt.state.name)},Z.default.createElement("span",{className:"item"}),Z.default.createElement("div",{className:"text"},Z.default.createElement("p",{className:"name"},rp),Z.default.createElement("p",{className:"description"},Af)))))}).toArray()):null,(0,we.default)(dt=Yl.valueSeq()).call(dt,function(Af,rp){return Z.default.createElement(wo,{error:Af,key:rp})}),Z.default.createElement("div",{className:"auth-btn-wrapper"},Ad&&(Oa?Z.default.createElement(to,{className:"btn modal-btn auth authorize",onClick:this.logout},"Logout"):Z.default.createElement(to,{className:"btn modal-btn auth authorize",onClick:this.authorize},"Authorize")),Z.default.createElement(to,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close")))}}]),Ct}(Z.default.Component),co=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"onClick",function(){var hn=dt.props,Vn=hn.specActions,fr=hn.path,rr=hn.method;Vn.clearResponse(fr,rr),Vn.clearRequest(fr,rr)}),dt}return(0,ue.default)(Ct,[{key:"render",value:function(){return Z.default.createElement("button",{className:"btn btn-clear opblock-control__btn",onClick:this.onClick},"Clear")}}]),Ct}(Z.Component),xr=function(Yn){var vn=Yn.headers;return Z.default.createElement("div",null,Z.default.createElement("h5",null,"Response headers"),Z.default.createElement("pre",{className:"microlight"},vn))},ki=function(Yn){var vn=Yn.duration;return Z.default.createElement("div",null,Z.default.createElement("h5",null,"Request duration"),Z.default.createElement("pre",{className:"microlight"},vn," ms"))},Co=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"shouldComponentUpdate",value:function(at){return this.props.response!==at.response||this.props.path!==at.path||this.props.method!==at.method||this.props.displayRequestDuration!==at.displayRequestDuration}},{key:"render",value:function(){var at,dt=this.props,mt=dt.response,Ut=dt.getComponent,Bt=dt.getConfigs,hn=dt.displayRequestDuration,Vn=dt.specSelectors,fr=dt.path,rr=dt.method,Mr=Bt(),Fi=Mr.requestSnippetsEnabled,Ki=Mr.showMutatedRequest?Vn.mutatedRequestFor(fr,rr):Vn.requestFor(fr,rr),to=mt.get("status"),wo=Ki.get("url"),bo=mt.get("headers").toJS(),Mo=mt.get("notDocumented"),Ws=mt.get("error"),sa=mt.get("text"),Ma=mt.get("duration"),ta=(0,v.default)(bo),na=bo["content-type"]||bo["Content-Type"],aa=Ut("responseBody"),Xs=(0,we.default)(ta).call(ta,function(Oa){var Yl=(0,xe.default)(bo[Oa])?bo[Oa].join():bo[Oa];return Z.default.createElement("span",{className:"headerline",key:Oa}," ",Oa,": ",Yl," ")}),ml=0!==Xs.length,ha=Ut("Markdown",!0),Xa=Ut("RequestSnippets",!0),bs=Ut("curl");return Z.default.createElement("div",null,Ki&&(!0===Fi||"true"===Fi?Z.default.createElement(Xa,{request:Ki}):Z.default.createElement(bs,{request:Ki,getConfigs:Bt})),wo&&Z.default.createElement("div",null,Z.default.createElement("div",{className:"request-url"},Z.default.createElement("h4",null,"Request URL"),Z.default.createElement("pre",{className:"microlight"},wo))),Z.default.createElement("h4",null,"Server response"),Z.default.createElement("table",{className:"responses-table live-responses-table"},Z.default.createElement("thead",null,Z.default.createElement("tr",{className:"responses-header"},Z.default.createElement("td",{className:"col_header response-col_status"},"Code"),Z.default.createElement("td",{className:"col_header response-col_description"},"Details"))),Z.default.createElement("tbody",null,Z.default.createElement("tr",{className:"response"},Z.default.createElement("td",{className:"response-col_status"},to,Mo?Z.default.createElement("div",{className:"response-undocumented"},Z.default.createElement("i",null," Undocumented ")):null),Z.default.createElement("td",{className:"response-col_description"},Ws?Z.default.createElement(ha,{source:(0,o.default)(at="".concat(""!==mt.get("name")?"".concat(mt.get("name"),": "):"")).call(at,mt.get("message"))}):null,sa?Z.default.createElement(aa,{content:sa,contentType:na,url:wo,headers:bo,getConfigs:Bt,getComponent:Ut}):null,ml?Z.default.createElement(xr,{headers:Xs}):null,hn&&Ma?Z.default.createElement(ki,{duration:Ma}):null)))))}}]),Ct}(Z.default.Component),os=qo(5623),Ss=["get","put","post","delete","options","head","patch"],Rs=(0,o.default)(Ss).call(Ss,["trace"]),ks=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"renderOperationTag",function(hn,Vn){var fr=dt.props,rr=fr.specSelectors,Mr=fr.getComponent,Li=fr.oas3Selectors,Fi=fr.layoutSelectors,Ki=fr.layoutActions,to=fr.getConfigs,wo=Mr("OperationContainer",!0),bo=Mr("OperationTag"),Mo=hn.get("operations");return Z.default.createElement(bo,{key:"operation-"+Vn,tagObj:hn,tag:Vn,oas3Selectors:Li,layoutSelectors:Fi,layoutActions:Ki,getConfigs:to,getComponent:Mr,specUrl:rr.url()},Z.default.createElement("div",{className:"operation-tag-content"},(0,we.default)(Mo).call(Mo,function(Ws){var sa,Ma=Ws.get("path"),ta=Ws.get("method"),na=Dt.default.List(["paths",Ma,ta]),aa=rr.isOAS3()?Rs:Ss;return-1===(0,rt.default)(aa).call(aa,ta)?null:Z.default.createElement(wo,{key:(0,o.default)(sa="".concat(Ma,"-")).call(sa,ta),specPath:na,op:Ws,path:Ma,method:ta,tag:Vn})}).toArray()))}),dt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props.specSelectors.taggedOperations();return 0===at.size?Z.default.createElement("h3",null," No operations defined in spec!"):Z.default.createElement("div",null,(0,we.default)(at).call(at,this.renderOperationTag).toArray(),at.size<1?Z.default.createElement("h3",null," No operations defined in spec! "):null)}}]),Ct}(Z.default.Component),Ua=qo(3769);function Dl(Yn){return Yn.match(/^(?:[a-z]+:)?\/\//i)}function oo(Yn,vn){var at=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).selectedServer,dt=void 0===at?"":at;try{return function Sr(Yn,vn){var at=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).selectedServer,dt=void 0===at?"":at;if(Yn){if(Dl(Yn))return Yn;var mt=function uc(Yn,vn){return Yn?Dl(Yn)?(Ct=Yn).match(/^\/\//i)?(0,o.default)(at="".concat(window.location.protocol)).call(at,Ct):Ct:new Ua.default(Yn,vn).href:vn;var Ct,at}(dt,vn);return Dl(mt)?new Ua.default(Yn,mt).href:new Ua.default(Yn,window.location.href).href}}(Yn,vn,{selectedServer:dt})}catch{return}}var Ns=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt=this.props,mt=dt.tagObj,Ut=dt.tag,Bt=dt.children,hn=dt.oas3Selectors,Vn=dt.layoutSelectors,fr=dt.layoutActions,Mr=dt.getComponent,Li=dt.specUrl,Fi=(0,dt.getConfigs)(),Ki=Fi.docExpansion,to=Fi.deepLinking,wo=to&&"false"!==to,bo=Mr("Collapse"),Mo=Mr("Markdown",!0),Ws=Mr("DeepLink"),sa=Mr("Link"),Ma=mt.getIn(["tagDetails","description"],null),ta=mt.getIn(["tagDetails","externalDocs","description"]),na=mt.getIn(["tagDetails","externalDocs","url"]);at=(0,zn.Wl)(hn)&&(0,zn.Wl)(hn.selectedServer)?oo(na,Li,{selectedServer:hn.selectedServer()}):na;var aa=["operations-tag",Ut],Xs=Vn.isShown(aa,"full"===Ki||"list"===Ki);return Z.default.createElement("div",{className:Xs?"opblock-tag-section is-open":"opblock-tag-section"},Z.default.createElement("h3",{onClick:function(){return fr.show(aa,!Xs)},className:Ma?"opblock-tag":"opblock-tag no-desc",id:(0,we.default)(aa).call(aa,function(ml){return(0,zn.J6)(ml)}).join("-"),"data-tag":Ut,"data-is-open":Xs},Z.default.createElement(Ws,{enabled:wo,isShown:Xs,path:(0,zn.oJ)(Ut),text:Ut}),Ma?Z.default.createElement("small",null,Z.default.createElement(Mo,{source:Ma})):Z.default.createElement("small",null),ta?Z.default.createElement("div",{className:"info__externaldocs"},Z.default.createElement("small",null,ta,at?": ":null,at?Z.default.createElement(sa,{href:(0,zn.Nm)(at),onClick:function(ml){return ml.stopPropagation()},target:"_blank"},at):null)):null,Z.default.createElement("button",{"aria-expanded":Xs,className:"expand-operation",title:Xs?"Collapse operation":"Expand operation",onClick:function(){return fr.show(aa,!Xs)}},Z.default.createElement("svg",{className:"arrow",width:"20",height:"20","aria-hidden":"true",focusable:"false"},Z.default.createElement("use",{href:Xs?"#large-arrow-up":"#large-arrow-down",xlinkHref:Xs?"#large-arrow-up":"#large-arrow-down"})))),Z.default.createElement(bo,{isOpened:Xs},Bt))}}]),Ct}(Z.default.Component);(0,K.default)(Ns,"defaultProps",{tagObj:Dt.default.fromJS({}),tag:""});var fo=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.specPath,mt=at.response,Ut=at.request,Bt=at.toggleShown,hn=at.onTryoutClick,Vn=at.onCancelClick,fr=at.onExecute,rr=at.fn,Mr=at.getComponent,Li=at.getConfigs,Fi=at.specActions,Ki=at.specSelectors,to=at.authActions,wo=at.authSelectors,bo=at.oas3Actions,Mo=at.oas3Selectors,Ws=this.props.operation,sa=Ws.toJS(),Ma=sa.deprecated,ta=sa.isShown,na=sa.path,aa=sa.method,Xs=sa.op,ml=sa.tag,ha=sa.operationId,Xa=sa.allowTryItOut,bs=sa.displayRequestDuration,Oa=sa.tryItOutEnabled,Yl=sa.executeInProgress,Ad=Xs.description,Of=Xs.externalDocs,Af=Xs.schemes,rp=Of?oo(Of.url,Ki.url(),{selectedServer:Mo.selectedServer()}):"",Du=Ws.getIn(["op"]),Dd=Du.get("responses"),jc=(0,zn.gp)(Du,["parameters"]),$p=Ki.operationScheme(na,aa),bp=["operations",ml,ha],Wh=(0,zn.nX)(Du),df=Mr("responses"),zc=Mr("parameters"),ff=Mr("execute"),Df=Mr("clear"),Rf=Mr("Collapse"),V_=Mr("Markdown",!0),qd=Mr("schemes"),ef=Mr("OperationServers"),Hf=Mr("OperationExt"),Z_=Mr("OperationSummary"),ug=Mr("Link"),QW=Li().showExtensions;if(Dd&&mt&&mt.size>0){var KW=!Dd.get(String(mt.get("status")))&&!Dd.get("default");mt=mt.set("notDocumented",KW)}var XW=[na,aa];return Z.default.createElement("div",{className:Ma?"opblock opblock-deprecated":ta?"opblock opblock-".concat(aa," is-open"):"opblock opblock-".concat(aa),id:(0,zn.J6)(bp.join("-"))},Z.default.createElement(Z_,{operationProps:Ws,isShown:ta,toggleShown:Bt,getComponent:Mr,authActions:to,authSelectors:wo,specPath:dt}),Z.default.createElement(Rf,{isOpened:ta},Z.default.createElement("div",{className:"opblock-body"},Du&&Du.size||null===Du?null:Z.default.createElement("img",{height:"32px",width:"32px",src:qo(2517),className:"opblock-loading-animation"}),Ma&&Z.default.createElement("h4",{className:"opblock-title_normal"}," Warning: Deprecated"),Ad&&Z.default.createElement("div",{className:"opblock-description-wrapper"},Z.default.createElement("div",{className:"opblock-description"},Z.default.createElement(V_,{source:Ad}))),rp?Z.default.createElement("div",{className:"opblock-external-docs-wrapper"},Z.default.createElement("h4",{className:"opblock-title_normal"},"Find more details"),Z.default.createElement("div",{className:"opblock-external-docs"},Z.default.createElement("span",{className:"opblock-external-docs__description"},Z.default.createElement(V_,{source:Of.description})),Z.default.createElement(ug,{target:"_blank",className:"opblock-external-docs__link",href:(0,zn.Nm)(rp)},rp))):null,Du&&Du.size?Z.default.createElement(zc,{parameters:jc,specPath:dt.push("parameters"),operation:Du,onChangeKey:XW,onTryoutClick:hn,onCancelClick:Vn,tryItOutEnabled:Oa,allowTryItOut:Xa,fn:rr,getComponent:Mr,specActions:Fi,specSelectors:Ki,pathMethod:[na,aa],getConfigs:Li,oas3Actions:bo,oas3Selectors:Mo}):null,Oa?Z.default.createElement(ef,{getComponent:Mr,path:na,method:aa,operationServers:Du.get("servers"),pathServers:Ki.paths().getIn([na,"servers"]),getSelectedServer:Mo.selectedServer,setSelectedServer:bo.setSelectedServer,setServerVariableValue:bo.setServerVariableValue,getServerVariable:Mo.serverVariableValue,getEffectiveServerValue:Mo.serverEffectiveValue}):null,Oa&&Xa&&Af&&Af.size?Z.default.createElement("div",{className:"opblock-schemes"},Z.default.createElement(qd,{schemes:Af,path:na,method:aa,specActions:Fi,currentScheme:$p})):null,Z.default.createElement("div",{className:Oa&&mt&&Xa?"btn-group":"execute-wrapper"},Oa&&Xa?Z.default.createElement(ff,{operation:Du,specActions:Fi,specSelectors:Ki,oas3Selectors:Mo,oas3Actions:bo,path:na,method:aa,onExecute:fr,disabled:Yl}):null,Oa&&mt&&Xa?Z.default.createElement(Df,{specActions:Fi,path:na,method:aa}):null),Yl?Z.default.createElement("div",{className:"loading-container"},Z.default.createElement("div",{className:"loading"})):null,Dd?Z.default.createElement(df,{responses:Dd,request:Ut,tryItOutResponse:mt,getComponent:Mr,getConfigs:Li,specSelectors:Ki,oas3Actions:bo,oas3Selectors:Mo,specActions:Fi,produces:Ki.producesOptionsFor([na,aa]),producesValue:Ki.currentProducesFor([na,aa]),specPath:dt.push("responses"),path:na,method:aa,displayRequestDuration:bs,fn:rr}):null,QW&&Wh.size?Z.default.createElement(Hf,{extensions:Wh,getComponent:Mr}):null)))}}]),Ct}(Z.PureComponent);(0,K.default)(fo,"defaultProps",{operation:null,response:null,request:null,specPath:(0,Dt.List)(),summary:""});const ea=(Yn=>{var vn={};return qo.d(vn,Yn),vn})({default:()=>oV()});var xs=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt=this.props,mt=dt.isShown,Ut=dt.toggleShown,Bt=dt.getComponent,hn=dt.authActions,Vn=dt.authSelectors,fr=dt.operationProps,rr=dt.specPath,Mr=fr.toJS(),Li=Mr.summary,Fi=Mr.isAuthorized,Ki=Mr.method,wo=Mr.showSummary,bo=Mr.path,Mo=Mr.operationId,Ws=Mr.originalOperationId,sa=Mr.displayOperationId,Ma=Mr.op.summary,ta=fr.get("security"),na=Bt("authorizeOperationBtn"),aa=Bt("OperationSummaryMethod"),Xs=Bt("OperationSummaryPath"),ml=Bt("JumpToPath",!0),ha=ta&&!!ta.count(),Xa=ha&&1===ta.size&&ta.first().isEmpty(),bs=!ha||Xa;return Z.default.createElement("div",{className:"opblock-summary opblock-summary-".concat(Ki)},Z.default.createElement("button",{"aria-label":(0,o.default)(at="".concat(Ki," ")).call(at,bo.replace(/\//g,"\u200b/")),"aria-expanded":mt,className:"opblock-summary-control",onClick:Ut},Z.default.createElement(aa,{method:Ki}),Z.default.createElement(Xs,{getComponent:Bt,operationProps:fr,specPath:rr}),wo?Z.default.createElement("div",{className:"opblock-summary-description"},(0,ea.default)(Ma||Li)):null,sa&&(Ws||Mo)?Z.default.createElement("span",{className:"opblock-summary-operation-id"},Ws||Mo):null,Z.default.createElement("svg",{className:"arrow",width:"20",height:"20","aria-hidden":"true",focusable:"false"},Z.default.createElement("use",{href:mt?"#large-arrow-up":"#large-arrow-down",xlinkHref:mt?"#large-arrow-up":"#large-arrow-down"}))),bs?null:Z.default.createElement(na,{isAuthorized:Fi,onClick:function(){var Oa=Vn.definitionsForRequirements(ta);hn.showDefinitions(Oa)}}),Z.default.createElement(ml,{path:rr}))}}]),Ct}(Z.PureComponent);(0,K.default)(xs,"defaultProps",{operationProps:null,specPath:(0,Dt.List)(),summary:""});var Bu=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){return Z.default.createElement("span",{className:"opblock-summary-method"},this.props.method.toUpperCase())}}]),Ct}(Z.PureComponent);(0,K.default)(Bu,"defaultProps",{operationProps:null});const Zl=(Yn=>{var vn={};return qo.d(vn,Yn),vn})({default:()=>aV()});var Hl=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){for(var at,dt=this.props,mt=dt.getComponent,Ut=dt.operationProps.toJS(),Bt=Ut.deprecated,hn=Ut.isShown,Vn=Ut.path,fr=Ut.tag,rr=Ut.operationId,Mr=Ut.isDeepLinkingEnabled,Li=Vn.split(/(?=\/)/g),Fi=1;Fi<Li.length;Fi+=2)(0,Zl.default)(Li).call(Li,Fi,0,Z.default.createElement("wbr",{key:Fi}));var Ki=mt("DeepLink");return Z.default.createElement("span",{className:Bt?"opblock-summary-path__deprecated":"opblock-summary-path","data-path":Vn},Z.default.createElement(Ki,{enabled:Mr,isShown:hn,path:(0,zn.oJ)((0,o.default)(at="".concat(fr,"/")).call(at,rr)),text:Li}))}}]),Ct}(Z.PureComponent),hl=qo(9334);const ol=function(Yn){var vn,Ct=Yn.extensions,at=(0,Yn.getComponent)("OperationExtRow");return Z.default.createElement("div",{className:"opblock-section"},Z.default.createElement("div",{className:"opblock-section-header"},Z.default.createElement("h4",null,"Extensions")),Z.default.createElement("div",{className:"table-container"},Z.default.createElement("table",null,Z.default.createElement("thead",null,Z.default.createElement("tr",null,Z.default.createElement("td",{className:"col_header"},"Field"),Z.default.createElement("td",{className:"col_header"},"Value"))),Z.default.createElement("tbody",null,(0,we.default)(vn=Ct.entrySeq()).call(vn,function(dt){var mt,Ut=(0,hl.default)(dt,2),Bt=Ut[0],hn=Ut[1];return Z.default.createElement(at,{key:(0,o.default)(mt="".concat(Bt,"-")).call(mt,hn),xKey:Bt,xVal:hn})})))))},cc=function(Yn){var vn=Yn.xKey,Ct=Yn.xVal,at=Ct?Ct.toJS?Ct.toJS():Ct:null;return Z.default.createElement("tr",null,Z.default.createElement("td",null,vn),Z.default.createElement("td",null,(0,O.default)(at)))};var Gu=qo(29),cf=qo(8096),Ep=qo(471),su=qo(9908),Mf=qo(7068);const z_=(Yn=>{var vn={};return qo.d(vn,Yn),vn})({default:()=>uV()});var Sp=qo(9874),Eh=function(Yn){var vn=Yn.value,Ct=Yn.fileName,at=Yn.className,dt=Yn.downloadable,mt=Yn.getConfigs,Ut=Yn.canCopy,Bt=Yn.language,hn=(0,Mf.default)(mt)?mt():null,Vn=!1!==(0,su.default)(hn,"syntaxHighlight")&&(0,su.default)(hn,"syntaxHighlight.activated",!0),fr=(0,Z.useRef)(null);(0,Z.useEffect)(function(){var Mr,Li=(0,_.default)(Mr=(0,S_.default)(fr.current.childNodes)).call(Mr,function(Fi){return!!Fi.nodeType&&Fi.classList.contains("microlight")});return(0,Gu.default)(Li).call(Li,function(Fi){return Fi.addEventListener("mousewheel",rr,{passive:!1})}),function(){(0,Gu.default)(Li).call(Li,function(Fi){return Fi.removeEventListener("mousewheel",rr)})}},[vn,at,Bt]);var rr=function(Mr){var Li=Mr.target,Fi=Mr.deltaY,Ki=Li.scrollHeight,to=Li.offsetHeight,wo=Li.scrollTop;Ki>to&&(0===wo&&Fi<0||to+wo>=Ki&&Fi>0)&&Mr.preventDefault()};return Z.default.createElement("div",{className:"highlight-code",ref:fr},dt?Z.default.createElement("div",{className:"download-contents",onClick:function(){(0,z_.default)(vn,Ct)}},"Download"):null,Ut&&Z.default.createElement("div",{className:"copy-to-clipboard"},Z.default.createElement(Sp.CopyToClipboard,{text:vn},Z.default.createElement("button",null))),Vn?Z.default.createElement(Ep.d3,{language:Bt,className:(0,cf.default)(at,"microlight"),style:(0,Ep.C2)((0,su.default)(hn,"syntaxHighlight.theme","agate"))},vn):Z.default.createElement("pre",{className:(0,cf.default)(at,"microlight")},vn))};Eh.defaultProps={fileName:"response.txt"};const b_=Eh;var wm=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"onChangeProducesWrapper",function(hn){return dt.props.specActions.changeProducesValue([dt.props.path,dt.props.method],hn)}),(0,K.default)((0,qi.default)(dt),"onResponseContentTypeChange",function(hn){var rr=dt.props;hn.controlsAcceptHeader&&rr.oas3Actions.setResponseContentType({value:hn.value,path:rr.path,method:rr.method})}),dt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt,mt=this,Ut=this.props,Bt=Ut.responses,hn=Ut.tryItOutResponse,Vn=Ut.getComponent,fr=Ut.getConfigs,rr=Ut.specSelectors,Mr=Ut.fn,Li=Ut.producesValue,Fi=Ut.displayRequestDuration,Ki=Ut.specPath,to=Ut.path,wo=Ut.method,bo=Ut.oas3Selectors,Mo=Ut.oas3Actions,Ws=(0,zn.iQ)(Bt),sa=Vn("contentType"),Ma=Vn("liveResponse"),ta=Vn("response"),na=this.props.produces&&this.props.produces.size?this.props.produces:Ct.defaultProps.produces,aa=rr.isOAS3()?(0,zn.QG)(Bt):null,Xs=function(ha){return ha.replace(/[^\w-]/g,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_")}((0,o.default)(at="".concat(wo)).call(at,to,"_responses")),ml="".concat(Xs,"_select");return Z.default.createElement("div",{className:"responses-wrapper"},Z.default.createElement("div",{className:"opblock-section-header"},Z.default.createElement("h4",null,"Responses"),rr.isOAS3()?null:Z.default.createElement("label",{htmlFor:ml},Z.default.createElement("span",null,"Response content type"),Z.default.createElement(sa,{value:Li,ariaControls:Xs,ariaLabel:"Response content type",className:"execute-content-type",contentTypes:na,controlId:ml,onChange:this.onChangeProducesWrapper}))),Z.default.createElement("div",{className:"responses-inner"},hn?Z.default.createElement("div",null,Z.default.createElement(Ma,{response:hn,getComponent:Vn,getConfigs:fr,specSelectors:rr,path:this.props.path,method:this.props.method,displayRequestDuration:Fi}),Z.default.createElement("h4",null,"Responses")):null,Z.default.createElement("table",{"aria-live":"polite",className:"responses-table",id:Xs,role:"region"},Z.default.createElement("thead",null,Z.default.createElement("tr",{className:"responses-header"},Z.default.createElement("td",{className:"col_header response-col_status"},"Code"),Z.default.createElement("td",{className:"col_header response-col_description"},"Description"),rr.isOAS3()?Z.default.createElement("td",{className:"col col_header response-col_links"},"Links"):null)),Z.default.createElement("tbody",null,(0,we.default)(dt=Bt.entrySeq()).call(dt,function(ha){var Xa=(0,hl.default)(ha,2),bs=Xa[0],Oa=Xa[1],Yl=hn&&hn.get("status")==bs?"response_current":"";return Z.default.createElement(ta,{key:bs,path:to,method:wo,specPath:Ki.push(bs),isDefault:Ws===bs,fn:Mr,className:Yl,code:bs,response:Oa,specSelectors:rr,controlsAcceptHeader:Oa===aa,onContentTypeChange:mt.onResponseContentTypeChange,contentType:Li,getConfigs:fr,activeExamplesKey:bo.activeExamplesMember(to,wo,"responses",bs),oas3Actions:Mo,getComponent:Vn})}).toArray()))))}}]),Ct}(Z.default.Component);(0,K.default)(wm,"defaultProps",{tryItOutResponse:null,produces:(0,Dt.fromJS)(["application/json"]),displayRequestDuration:!1});var yo=qo(1013);const $d=(Yn=>{var vn={};return qo.d(vn,Yn),vn})({default:()=>dV()});var Pm=qo(2518),lg=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at,dt){var mt;return(0,oe.default)(this,Ct),mt=vn.call(this,at,dt),(0,K.default)((0,qi.default)(mt),"_onContentTypeChange",function(Ut){var Bt=mt.props,hn=Bt.onContentTypeChange,Vn=Bt.controlsAcceptHeader;mt.setState({responseContentType:Ut}),hn({value:Ut,controlsAcceptHeader:Vn})}),(0,K.default)((0,qi.default)(mt),"getTargetExamplesKey",function(){var Ut=mt.props,Vn=Ut.activeExamplesKey,rr=Ut.response.getIn(["content",mt.state.responseContentType||Ut.contentType],(0,Dt.Map)({})).get("examples",null).keySeq().first();return Vn||rr}),mt.state={responseContentType:""},mt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt,mt,Ut,Bt,hn=this.props,Vn=hn.path,fr=hn.method,rr=hn.code,Mr=hn.response,Li=hn.className,Fi=hn.specPath,to=hn.getComponent,wo=hn.getConfigs,bo=hn.specSelectors,Mo=hn.contentType,Ws=hn.controlsAcceptHeader,sa=hn.oas3Actions,Ma=hn.fn.inferSchema,ta=bo.isOAS3(),na=wo().showExtensions,aa=na?(0,zn.nX)(Mr):null,Xs=Mr.get("headers"),ml=Mr.get("links"),ha=to("ResponseExtension"),Xa=to("headers"),bs=to("highlightCode"),Oa=to("modelExample"),Yl=to("Markdown",!0),Ad=to("operationLink"),Of=to("contentType"),Af=to("ExamplesSelect"),rp=to("Example"),Du=this.state.responseContentType||Mo,Dd=Mr.getIn(["content",Du],(0,Dt.Map)({})),jc=Dd.get("examples",null);if(ta){var $p=Dd.get("schema");mt=$p?Ma($p.toJS()):null,Ut=$p?(0,Dt.List)(["content",this.state.responseContentType,"schema"]):Fi}else mt=Mr.get("schema"),Ut=Mr.has("schema")?Fi.push("schema"):Fi;var bp,Wh=!1,df={includeReadOnly:!0};if(ta){var zc;if(bp=null===(zc=Dd.get("schema"))||void 0===zc?void 0:zc.toJS(),jc){var ff=this.getTargetExamplesKey(),Df=function(qd){return qd.get("value")};void 0===(Bt=Df(jc.get(ff,(0,Dt.Map)({}))))&&(Bt=Df((0,$d.default)(jc).call(jc).next().value)),Wh=!0}else void 0!==Dd.get("example")&&(Bt=Dd.get("example"),Wh=!0)}else{bp=mt,df=(0,yo.default)((0,yo.default)({},df),{},{includeWriteOnly:!0});var Rf=Mr.getIn(["examples",Du]);Rf&&(Bt=Rf,Wh=!0)}var V_=function(qd,ef,Hf){if(null!=qd){var Z_=null;return(0,Pm.O)(qd)&&(Z_="json"),Z.default.createElement("div",null,Z.default.createElement(ef,{className:"example",getConfigs:Hf,language:Z_,value:(0,zn.Pz)(qd)}))}return null}((0,zn.xi)(bp,Du,df,Wh?Bt:void 0),bs,wo);return Z.default.createElement("tr",{className:"response "+(Li||""),"data-code":rr},Z.default.createElement("td",{className:"response-col_status"},rr),Z.default.createElement("td",{className:"response-col_description"},Z.default.createElement("div",{className:"response-col_description__inner"},Z.default.createElement(Yl,{source:Mr.get("description")})),na&&aa.size?(0,we.default)(at=aa.entrySeq()).call(at,function(qd){var ef,Hf=(0,hl.default)(qd,2),Z_=Hf[0],ug=Hf[1];return Z.default.createElement(ha,{key:(0,o.default)(ef="".concat(Z_,"-")).call(ef,ug),xKey:Z_,xVal:ug})}):null,ta&&Mr.get("content")?Z.default.createElement("section",{className:"response-controls"},Z.default.createElement("div",{className:(0,cf.default)("response-control-media-type",{"response-control-media-type--accept-controller":Ws})},Z.default.createElement("small",{className:"response-control-media-type__title"},"Media type"),Z.default.createElement(Of,{value:this.state.responseContentType,contentTypes:Mr.get("content")?Mr.get("content").keySeq():(0,Dt.Seq)(),onChange:this._onContentTypeChange,ariaLabel:"Media Type"}),Ws?Z.default.createElement("small",{className:"response-control-media-type__accept-message"},"Controls ",Z.default.createElement("code",null,"Accept")," header."):null),jc?Z.default.createElement("div",{className:"response-control-examples"},Z.default.createElement("small",{className:"response-control-examples__title"},"Examples"),Z.default.createElement(Af,{examples:jc,currentExampleKey:this.getTargetExamplesKey(),onSelect:function(qd){return sa.setActiveExamplesMember({name:qd,pathMethod:[Vn,fr],contextType:"responses",contextName:rr})},showLabels:!1})):null):null,V_||mt?Z.default.createElement(Oa,{specPath:Ut,getComponent:to,getConfigs:wo,specSelectors:bo,schema:(0,zn.oG)(mt),example:V_,includeReadOnly:!0}):null,ta&&jc?Z.default.createElement(rp,{example:jc.get(this.getTargetExamplesKey(),(0,Dt.Map)({})),getComponent:to,getConfigs:wo,omitValue:!0}):null,Xs?Z.default.createElement(Xa,{headers:Xs,getComponent:to}):null),ta?Z.default.createElement("td",{className:"response-col_links"},ml?(0,we.default)(dt=ml.toSeq().entrySeq()).call(dt,function(qd){var ef=(0,hl.default)(qd,2),Hf=ef[0];return Z.default.createElement(Ad,{key:Hf,name:Hf,link:ef[1],getComponent:to})}):Z.default.createElement("i",null,"No links")):null)}}]),Ct}(Z.default.Component);(0,K.default)(lg,"defaultProps",{response:(0,Dt.fromJS)({}),onContentTypeChange:function(){}});const gm=function(Yn){return Z.default.createElement("div",{className:"response__extension"},Yn.xKey,": ",String(Yn.xVal))},Fg=(Yn=>{var vn={};return qo.d(vn,Yn),vn})({default:()=>pV()}),r_=(Yn=>{var vn={};return qo.d(vn,Yn),vn})({default:()=>hV()});var qC=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"state",{parsedContent:null}),(0,K.default)((0,qi.default)(dt),"updateParsedContent",function(hn){var Vn=dt.props.content;if(hn!==Vn)if(Vn&&Vn instanceof Blob){var fr=new FileReader;fr.onload=function(){dt.setState({parsedContent:fr.result})},fr.readAsText(Vn)}else dt.setState({parsedContent:Vn.toString()})}),dt}return(0,ue.default)(Ct,[{key:"componentDidMount",value:function(){this.updateParsedContent(null)}},{key:"componentDidUpdate",value:function(at){this.updateParsedContent(at.content)}},{key:"render",value:function(){var at,dt,mt=this.props,Ut=mt.content,Bt=mt.contentType,hn=mt.url,Vn=mt.headers,fr=void 0===Vn?{}:Vn,rr=mt.getConfigs,Li=this.state.parsedContent,Fi=(0,mt.getComponent)("highlightCode"),Ki="response_"+(new Date).getTime();if(hn=hn||"",/^application\/octet-stream/i.test(Bt)||fr["Content-Disposition"]&&/attachment/i.test(fr["Content-Disposition"])||fr["content-disposition"]&&/attachment/i.test(fr["content-disposition"])||fr["Content-Description"]&&/File Transfer/i.test(fr["Content-Description"])||fr["content-description"]&&/File Transfer/i.test(fr["content-description"]))if("Blob"in window){var to=Bt||"text/html",wo=Ut instanceof Blob?Ut:new Blob([Ut],{type:to}),bo=Ua.default.createObjectURL(wo),Mo=[to,hn.substr((0,l.default)(hn).call(hn,"/")+1),bo].join(":"),Ws=fr["content-disposition"]||fr["Content-Disposition"];if(void 0!==Ws){var sa=(0,zn.DR)(Ws);null!==sa&&(Mo=sa)}dt=Z.default.createElement("div",null,Z.default.createElement("a",Jn.Z.navigator&&Jn.Z.navigator.msSaveOrOpenBlob?{href:bo,onClick:function(){return Jn.Z.navigator.msSaveOrOpenBlob(wo,Mo)}}:{href:bo,download:Mo},"Download file"))}else dt=Z.default.createElement("pre",{className:"microlight"},"Download headers detected but your browser does not support downloading binary via XHR (Blob).");else if(/json/i.test(Bt)){var Ma=null;(0,Pm.O)(Ut)&&(Ma="json");try{at=(0,O.default)(JSON.parse(Ut),null," ")}catch{at="can't parse JSON. Raw result:\n\n"+Ut}dt=Z.default.createElement(Fi,{language:Ma,downloadable:!0,fileName:"".concat(Ki,".json"),value:at,getConfigs:rr,canCopy:!0})}else/xml/i.test(Bt)?(at=(0,Fg.default)(Ut,{textNodesOnSameLine:!0,indentor:" "}),dt=Z.default.createElement(Fi,{downloadable:!0,fileName:"".concat(Ki,".xml"),value:at,getConfigs:rr,canCopy:!0})):dt="text/html"===(0,r_.default)(Bt)||/text\/plain/.test(Bt)?Z.default.createElement(Fi,{downloadable:!0,fileName:"".concat(Ki,".html"),value:Ut,getConfigs:rr,canCopy:!0}):"text/csv"===(0,r_.default)(Bt)||/text\/csv/.test(Bt)?Z.default.createElement(Fi,{downloadable:!0,fileName:"".concat(Ki,".csv"),value:Ut,getConfigs:rr,canCopy:!0}):/^image\//i.test(Bt)?(0,Au.default)(Bt).call(Bt,"svg")?Z.default.createElement("div",null," ",Ut," "):Z.default.createElement("img",{src:Ua.default.createObjectURL(Ut)}):/^audio\//i.test(Bt)?Z.default.createElement("pre",{className:"microlight"},Z.default.createElement("audio",{controls:!0},Z.default.createElement("source",{src:hn,type:Bt}))):"string"==typeof Ut?Z.default.createElement(Fi,{downloadable:!0,fileName:"".concat(Ki,".txt"),value:Ut,getConfigs:rr,canCopy:!0}):Ut.size>0?Li?Z.default.createElement("div",null,Z.default.createElement("p",{className:"i"},"Unrecognized response type; displaying content as text."),Z.default.createElement(Fi,{downloadable:!0,fileName:"".concat(Ki,".txt"),value:Li,getConfigs:rr,canCopy:!0})):Z.default.createElement("p",{className:"i"},"Unrecognized response type; unable to display."):null;return dt?Z.default.createElement("div",null,Z.default.createElement("h5",null,"Response body"),dt):null}}]),Ct}(Z.default.PureComponent),Xd=qo(2691),e2=qo(374),dS=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at){var dt;return(0,oe.default)(this,Ct),dt=vn.call(this,at),(0,K.default)((0,qi.default)(dt),"onChange",function(mt,Ut,Bt){var hn=dt.props;(0,hn.specActions.changeParamByIdentity)(hn.onChangeKey,mt,Ut,Bt)}),(0,K.default)((0,qi.default)(dt),"onChangeConsumesWrapper",function(mt){var Ut=dt.props;(0,Ut.specActions.changeConsumesValue)(Ut.onChangeKey,mt)}),(0,K.default)((0,qi.default)(dt),"toggleTab",function(mt){return"parameters"===mt?dt.setState({parametersVisible:!0,callbackVisible:!1}):"callbacks"===mt?dt.setState({callbackVisible:!0,parametersVisible:!1}):void 0}),(0,K.default)((0,qi.default)(dt),"onChangeMediaType",function(mt){var Ut=mt.value,Bt=mt.pathMethod,hn=dt.props,Vn=hn.specActions,fr=hn.oas3Selectors,rr=hn.oas3Actions,Mr=fr.hasUserEditedBody.apply(fr,(0,Xd.default)(Bt)),Li=fr.shouldRetainRequestBodyValue.apply(fr,(0,Xd.default)(Bt));rr.setRequestContentType({value:Ut,pathMethod:Bt}),rr.initRequestBodyValidateError({pathMethod:Bt}),Mr||(Li||rr.setRequestBodyValue({value:void 0,pathMethod:Bt}),Vn.clearResponse.apply(Vn,(0,Xd.default)(Bt)),Vn.clearRequest.apply(Vn,(0,Xd.default)(Bt)),Vn.clearValidateParams(Bt))}),dt.state={callbackVisible:!1,parametersVisible:!0},dt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt,mt=this,Ut=this.props,Bt=Ut.onTryoutClick,hn=Ut.parameters,Vn=Ut.allowTryItOut,fr=Ut.tryItOutEnabled,rr=Ut.specPath,Mr=Ut.fn,Li=Ut.getComponent,Fi=Ut.getConfigs,Ki=Ut.specSelectors,to=Ut.specActions,wo=Ut.pathMethod,bo=Ut.oas3Actions,Mo=Ut.oas3Selectors,Ws=Ut.operation,sa=Li("parameterRow"),Ma=Li("TryItOutButton"),ta=Li("contentType"),na=Li("Callbacks",!0),aa=Li("RequestBody",!0),Xs=fr&&Vn,ml=Ki.isOAS3(),ha=Ws.get("requestBody"),Xa=(0,ke.default)(at=(0,e2.default)((0,ke.default)(hn).call(hn,function(bs,Oa){var Yl,Ad=Oa.get("in");return null!==(Yl=bs[Ad])&&void 0!==Yl||(bs[Ad]=[]),bs[Ad].push(Oa),bs},{}))).call(at,function(bs,Oa){return(0,o.default)(bs).call(bs,Oa)},[]);return Z.default.createElement("div",{className:"opblock-section"},Z.default.createElement("div",{className:"opblock-section-header"},ml?Z.default.createElement("div",{className:"tab-header"},Z.default.createElement("div",{onClick:function(){return mt.toggleTab("parameters")},className:"tab-item ".concat(this.state.parametersVisible&&"active")},Z.default.createElement("h4",{className:"opblock-title"},Z.default.createElement("span",null,"Parameters"))),Ws.get("callbacks")?Z.default.createElement("div",{onClick:function(){return mt.toggleTab("callbacks")},className:"tab-item ".concat(this.state.callbackVisible&&"active")},Z.default.createElement("h4",{className:"opblock-title"},Z.default.createElement("span",null,"Callbacks"))):null):Z.default.createElement("div",{className:"tab-header"},Z.default.createElement("h4",{className:"opblock-title"},"Parameters")),Vn?Z.default.createElement(Ma,{isOAS3:Ki.isOAS3(),hasUserEditedBody:Mo.hasUserEditedBody.apply(Mo,(0,Xd.default)(wo)),enabled:fr,onCancelClick:this.props.onCancelClick,onTryoutClick:Bt,onResetClick:function(){return bo.setRequestBodyValue({value:void 0,pathMethod:wo})}}):null),this.state.parametersVisible?Z.default.createElement("div",{className:"parameters-container"},Xa.length?Z.default.createElement("div",{className:"table-container"},Z.default.createElement("table",{className:"parameters"},Z.default.createElement("thead",null,Z.default.createElement("tr",null,Z.default.createElement("th",{className:"col_header parameters-col_name"},"Name"),Z.default.createElement("th",{className:"col_header parameters-col_description"},"Description"))),Z.default.createElement("tbody",null,(0,we.default)(Xa).call(Xa,function(bs,Oa){var Yl;return Z.default.createElement(sa,{fn:Mr,specPath:rr.push(Oa.toString()),getComponent:Li,getConfigs:Fi,rawParam:bs,param:Ki.parameterWithMetaByIdentity(wo,bs),key:(0,o.default)(Yl="".concat(bs.get("in"),".")).call(Yl,bs.get("name")),onChange:mt.onChange,onChangeConsumes:mt.onChangeConsumesWrapper,specSelectors:Ki,specActions:to,oas3Actions:bo,oas3Selectors:Mo,pathMethod:wo,isExecute:Xs})})))):Z.default.createElement("div",{className:"opblock-description-wrapper"},Z.default.createElement("p",null,"No parameters"))):null,this.state.callbackVisible?Z.default.createElement("div",{className:"callbacks-container opblock-description-wrapper"},Z.default.createElement(na,{callbacks:(0,Dt.Map)(Ws.get("callbacks")),specPath:(0,Ue.default)(rr).call(rr,0,-1).push("callbacks")})):null,ml&&ha&&this.state.parametersVisible&&Z.default.createElement("div",{className:"opblock-section opblock-section-request-body"},Z.default.createElement("div",{className:"opblock-section-header"},Z.default.createElement("h4",{className:"opblock-title parameter__name ".concat(ha.get("required")&&"required")},"Request body"),Z.default.createElement("label",null,Z.default.createElement(ta,{value:Mo.requestContentType.apply(Mo,(0,Xd.default)(wo)),contentTypes:ha.get("content",(0,Dt.List)()).keySeq(),onChange:function(bs){mt.onChangeMediaType({value:bs,pathMethod:wo})},className:"body-param-content-type",ariaLabel:"Request content type"}))),Z.default.createElement("div",{className:"opblock-description-wrapper"},Z.default.createElement(aa,{setRetainRequestBodyValueFlag:function(bs){return bo.setRetainRequestBodyValueFlag({value:bs,pathMethod:wo})},userHasEditedBody:Mo.hasUserEditedBody.apply(Mo,(0,Xd.default)(wo)),specPath:(0,Ue.default)(rr).call(rr,0,-1).push("requestBody"),requestBody:ha,requestBodyValue:Mo.requestBodyValue.apply(Mo,(0,Xd.default)(wo)),requestBodyInclusionSetting:Mo.requestBodyInclusionSetting.apply(Mo,(0,Xd.default)(wo)),requestBodyErrors:Mo.requestBodyErrors.apply(Mo,(0,Xd.default)(wo)),isExecute:Xs,getConfigs:Fi,activeExamplesKey:Mo.activeExamplesMember.apply(Mo,(0,o.default)(dt=(0,Xd.default)(wo)).call(dt,["requestBody","requestBody"])),updateActiveExamplesKey:function(bs){mt.props.oas3Actions.setActiveExamplesMember({name:bs,pathMethod:mt.props.pathMethod,contextType:"requestBody",contextName:"requestBody"})},onChange:function(bs,Oa){if(Oa){var Yl=Mo.requestBodyValue.apply(Mo,(0,Xd.default)(wo)),Ad=Dt.Map.isMap(Yl)?Yl:(0,Dt.Map)();return bo.setRequestBodyValue({pathMethod:wo,value:Ad.setIn(Oa,bs)})}bo.setRequestBodyValue({value:bs,pathMethod:wo})},onChangeIncludeEmpty:function(bs,Oa){bo.setRequestBodyInclusion({pathMethod:wo,value:Oa,name:bs})},contentType:Mo.requestContentType.apply(Mo,(0,Xd.default)(wo))}))))}}]),Ct}(Z.Component);(0,K.default)(dS,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,tryItOutEnabled:!1,allowTryItOut:!0,onChangeKey:[],specPath:[]});const t2=function(Yn){return Z.default.createElement("div",{className:"parameter__extension"},Yn.xKey,": ",String(Yn.xVal))};var fS=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"onCheckboxChange",function(hn){(0,dt.props.onChange)(hn.target.checked)}),dt}return(0,ue.default)(Ct,[{key:"componentDidMount",value:function(){var at=this.props,dt=at.isIncludedOptions;dt.shouldDispatchInit&&(0,at.onChange)(dt.defaultValue)}},{key:"render",value:function(){var at=this.props,dt=at.isIncluded,mt=at.isDisabled;return Z.default.createElement("div",null,Z.default.createElement("label",{className:(0,cf.default)("parameter__empty_value_toggle",{disabled:mt})},Z.default.createElement("input",{type:"checkbox",disabled:mt,checked:!mt&&dt,onChange:this.onCheckboxChange}),"Send empty value"))}}]),Ct}(Z.Component);(0,K.default)(fS,"defaultProps",{onChange:function(){},isIncludedOptions:{}});var Q0=qo(9069),r2=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at,dt){var mt;return(0,oe.default)(this,Ct),mt=vn.call(this,at,dt),(0,K.default)((0,qi.default)(mt),"onChangeWrapper",function(Ut){var hn=mt.props;return(0,hn.onChange)(hn.rawParam,""===Ut||Ut&&0===Ut.size?null:Ut,arguments.length>1&&void 0!==arguments[1]&&arguments[1])}),(0,K.default)((0,qi.default)(mt),"_onExampleSelect",function(Ut){mt.props.oas3Actions.setActiveExamplesMember({name:Ut,pathMethod:mt.props.pathMethod,contextType:"parameters",contextName:mt.getParamKey()})}),(0,K.default)((0,qi.default)(mt),"onChangeIncludeEmpty",function(Ut){var Bt=mt.props,hn=Bt.specActions,Vn=Bt.param,fr=Bt.pathMethod,rr=Vn.get("name"),Mr=Vn.get("in");return hn.updateEmptyParamInclusion(fr,rr,Mr,Ut)}),(0,K.default)((0,qi.default)(mt),"setDefaultValue",function(){var Ut=mt.props,Bt=Ut.specSelectors,hn=Ut.pathMethod,fr=Ut.oas3Selectors,rr=Bt.parameterWithMetaByIdentity(hn,Ut.rawParam)||(0,Dt.Map)(),Mr=(0,Q0.Z)(rr,{isOAS3:Bt.isOAS3()}).schema,Li=rr.get("content",(0,Dt.Map)()).keySeq().first(),Fi=Mr?(0,zn.xi)(Mr.toJS(),Li,{includeWriteOnly:!0}):null;if(rr&&void 0===rr.get("value")&&"body"!==rr.get("in")){var Ki;if(Bt.isSwagger2())Ki=void 0!==rr.get("x-example")?rr.get("x-example"):void 0!==rr.getIn(["schema","example"])?rr.getIn(["schema","example"]):Mr&&Mr.getIn(["default"]);else if(Bt.isOAS3()){var to,wo=fr.activeExamplesMember.apply(fr,(0,o.default)(to=(0,Xd.default)(hn)).call(to,["parameters",mt.getParamKey()]));Ki=void 0!==rr.getIn(["examples",wo,"value"])?rr.getIn(["examples",wo,"value"]):void 0!==rr.getIn(["content",Li,"example"])?rr.getIn(["content",Li,"example"]):void 0!==rr.get("example")?rr.get("example"):void 0!==(Mr&&Mr.get("example"))?Mr&&Mr.get("example"):void 0!==(Mr&&Mr.get("default"))?Mr&&Mr.get("default"):rr.get("default")}void 0===Ki||Dt.List.isList(Ki)||(Ki=(0,zn.Pz)(Ki)),void 0!==Ki?mt.onChangeWrapper(Ki):Mr&&"object"===Mr.get("type")&&Fi&&!rr.get("examples")&&mt.onChangeWrapper(Dt.List.isList(Fi)?Fi:(0,zn.Pz)(Fi))}}),mt.setDefaultValue(),mt}return(0,ue.default)(Ct,[{key:"UNSAFE_componentWillReceiveProps",value:function(at){var dt,mt=at.specSelectors,Ut=at.pathMethod,Bt=at.rawParam,hn=mt.isOAS3(),Vn=mt.parameterWithMetaByIdentity(Ut,Bt)||new Dt.Map;if(Vn=Vn.isEmpty()?Bt:Vn,hn){var fr=(0,Q0.Z)(Vn,{isOAS3:hn}).schema;dt=fr?fr.get("enum"):void 0}else dt=Vn?Vn.get("enum"):void 0;var rr,Mr=Vn?Vn.get("value"):void 0;void 0!==Mr?rr=Mr:Bt.get("required")&&dt&&dt.size&&(rr=dt.first()),void 0!==rr&&rr!==Mr&&this.onChangeWrapper((0,zn.D$)(rr)),this.setDefaultValue()}},{key:"getParamKey",value:function(){var at,dt=this.props.param;return dt?(0,o.default)(at="".concat(dt.get("name"),"-")).call(at,dt.get("in")):null}},{key:"render",value:function(){var at,dt,mt,Ut,Bt=this.props,hn=Bt.param,Vn=Bt.rawParam,fr=Bt.getComponent,rr=Bt.getConfigs,Mr=Bt.isExecute,Li=Bt.fn,Fi=Bt.onChangeConsumes,Ki=Bt.specSelectors,to=Bt.pathMethod,wo=Bt.specPath,bo=Bt.oas3Selectors,Mo=Ki.isOAS3(),Ws=rr(),sa=Ws.showExtensions,Ma=Ws.showCommonExtensions;if(hn||(hn=Vn),!Vn)return null;var ta,na,aa,Xs,ml=fr("JsonSchemaForm"),ha=fr("ParamBody"),Xa=hn.get("in"),bs="body"!==Xa?null:Z.default.createElement(ha,{getComponent:fr,getConfigs:rr,fn:Li,param:hn,consumes:Ki.consumesOptionsFor(to),consumesValue:Ki.contentTypeValues(to).get("requestContentType"),onChange:this.onChangeWrapper,onChangeConsumes:Fi,isExecute:Mr,specSelectors:Ki,pathMethod:to}),Oa=fr("modelExample"),Yl=fr("Markdown",!0),Ad=fr("ParameterExt"),Of=fr("ParameterIncludeEmpty"),Af=fr("ExamplesSelectValueRetainer"),rp=fr("Example"),Du=(0,Q0.Z)(hn,{isOAS3:Mo}).schema,Dd=Ki.parameterWithMetaByIdentity(to,Vn)||(0,Dt.Map)(),jc=Du?Du.get("format"):null,$p=Du?Du.get("type"):null,bp=Du?Du.getIn(["items","type"]):null,Wh="formData"===Xa,df="FormData"in Jn.Z,zc=hn.get("required"),ff=Dd?Dd.get("value"):"",Df=Ma?(0,zn.po)(Du):null,Rf=sa?(0,zn.nX)(hn):null,V_=!1;return void 0!==hn&&Du&&(ta=Du.get("items")),void 0!==ta?(na=ta.get("enum"),aa=ta.get("default")):Du&&(na=Du.get("enum")),na&&na.size&&na.size>0&&(V_=!0),void 0!==hn&&(Du&&(aa=Du.get("default")),void 0===aa&&(aa=hn.get("default")),void 0===(Xs=hn.get("example"))&&(Xs=hn.get("x-example"))),Z.default.createElement("tr",{"data-param-name":hn.get("name"),"data-param-in":hn.get("in")},Z.default.createElement("td",{className:"parameters-col_name"},Z.default.createElement("div",{className:zc?"parameter__name required":"parameter__name"},hn.get("name"),zc?Z.default.createElement("span",null,"\xa0*"):null),Z.default.createElement("div",{className:"parameter__type"},$p,bp&&"[".concat(bp,"]"),jc&&Z.default.createElement("span",{className:"prop-format"},"($",jc,")")),Z.default.createElement("div",{className:"parameter__deprecated"},Mo&&hn.get("deprecated")?"deprecated":null),Z.default.createElement("div",{className:"parameter__in"},"(",hn.get("in"),")"),Ma&&Df.size?(0,we.default)(at=Df.entrySeq()).call(at,function(qd){var ef,Hf=(0,hl.default)(qd,2),Z_=Hf[0],ug=Hf[1];return Z.default.createElement(Ad,{key:(0,o.default)(ef="".concat(Z_,"-")).call(ef,ug),xKey:Z_,xVal:ug})}):null,sa&&Rf.size?(0,we.default)(dt=Rf.entrySeq()).call(dt,function(qd){var ef,Hf=(0,hl.default)(qd,2),Z_=Hf[0],ug=Hf[1];return Z.default.createElement(Ad,{key:(0,o.default)(ef="".concat(Z_,"-")).call(ef,ug),xKey:Z_,xVal:ug})}):null),Z.default.createElement("td",{className:"parameters-col_description"},hn.get("description")?Z.default.createElement(Yl,{source:hn.get("description")}):null,!bs&&Mr||!V_?null:Z.default.createElement(Yl,{className:"parameter__enum",source:"<i>Available values</i> : "+(0,we.default)(na).call(na,function(qd){return qd}).toArray().join(", ")}),!bs&&Mr||void 0===aa?null:Z.default.createElement(Yl,{className:"parameter__default",source:"<i>Default value</i> : "+aa}),!bs&&Mr||void 0===Xs?null:Z.default.createElement(Yl,{source:"<i>Example</i> : "+Xs}),Wh&&!df&&Z.default.createElement("div",null,"Error: your browser does not support FormData"),Mo&&hn.get("examples")?Z.default.createElement("section",{className:"parameter-controls"},Z.default.createElement(Af,{examples:hn.get("examples"),onSelect:this._onExampleSelect,updateValue:this.onChangeWrapper,getComponent:fr,defaultToFirstExample:!0,currentKey:bo.activeExamplesMember.apply(bo,(0,o.default)(mt=(0,Xd.default)(to)).call(mt,["parameters",this.getParamKey()])),currentUserInputValue:ff})):null,bs?null:Z.default.createElement(ml,{fn:Li,getComponent:fr,value:ff,required:zc,disabled:!Mr,description:hn.get("name"),onChange:this.onChangeWrapper,errors:Dd.get("errors"),schema:Du}),bs&&Du?Z.default.createElement(Oa,{getComponent:fr,specPath:wo.push("schema"),getConfigs:rr,isExecute:Mr,specSelectors:Ki,schema:Du,example:bs,includeWriteOnly:!0}):null,!bs&&Mr&&hn.get("allowEmptyValue")?Z.default.createElement(Of,{onChange:this.onChangeIncludeEmpty,isIncluded:Ki.parameterInclusionSettingFor(to,hn.get("name"),hn.get("in")),isDisabled:!(0,zn.O2)(ff)}):null,Mo&&hn.get("examples")?Z.default.createElement(rp,{example:hn.getIn(["examples",bo.activeExamplesMember.apply(bo,(0,o.default)(Ut=(0,Xd.default)(to)).call(Ut,["parameters",this.getParamKey()]))]),getComponent:fr,getConfigs:rr}):null))}}]),Ct}(Z.Component),i2=qo(6235),o2=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"handleValidateParameters",function(){var hn=dt.props,Vn=hn.specSelectors,rr=hn.path,Mr=hn.method;return hn.specActions.validateParams([rr,Mr]),Vn.validateBeforeExecute([rr,Mr])}),(0,K.default)((0,qi.default)(dt),"handleValidateRequestBody",function(){var hn=dt.props,Vn=hn.path,fr=hn.method,rr=hn.specSelectors,Mr=hn.oas3Selectors,Li=hn.oas3Actions,Fi={missingBodyValue:!1,missingRequiredKeys:[]};Li.clearRequestBodyValidateError({path:Vn,method:fr});var Ki=rr.getOAS3RequiredRequestBodyContentType([Vn,fr]),to=Mr.requestBodyValue(Vn,fr),wo=Mr.validateBeforeExecute([Vn,fr]),bo=Mr.requestContentType(Vn,fr);if(!wo)return Fi.missingBodyValue=!0,Li.setRequestBodyValidateError({path:Vn,method:fr,validationErrors:Fi}),!1;if(!Ki)return!0;var Mo=Mr.validateShallowRequired({oas3RequiredRequestBodyContentType:Ki,oas3RequestContentType:bo,oas3RequestBodyValue:to});return!Mo||Mo.length<1||((0,Gu.default)(Mo).call(Mo,function(Ws){Fi.missingRequiredKeys.push(Ws)}),Li.setRequestBodyValidateError({path:Vn,method:fr,validationErrors:Fi}),!1)}),(0,K.default)((0,qi.default)(dt),"handleValidationResultPass",function(){var hn=dt.props,Vn=hn.specActions,fr=hn.operation,rr=hn.path,Mr=hn.method;dt.props.onExecute&&dt.props.onExecute(),Vn.execute({operation:fr,path:rr,method:Mr})}),(0,K.default)((0,qi.default)(dt),"handleValidationResultFail",function(){var hn=dt.props,Vn=hn.specActions,fr=hn.path,rr=hn.method;Vn.clearValidateParams([fr,rr]),(0,i2.default)(function(){Vn.validateParams([fr,rr])},40)}),(0,K.default)((0,qi.default)(dt),"handleValidationResult",function(hn){hn?dt.handleValidationResultPass():dt.handleValidationResultFail()}),(0,K.default)((0,qi.default)(dt),"onClick",function(){var hn=dt.handleValidateParameters(),Vn=dt.handleValidateRequestBody();dt.handleValidationResult(hn&&Vn)}),(0,K.default)((0,qi.default)(dt),"onChangeProducesWrapper",function(hn){return dt.props.specActions.changeProducesValue([dt.props.path,dt.props.method],hn)}),dt}return(0,ue.default)(Ct,[{key:"render",value:function(){return Z.default.createElement("button",{className:"btn execute opblock-control__btn",onClick:this.onClick,disabled:this.props.disabled},"Execute")}}]),Ct}(Z.Component),Ml=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt=this.props,mt=dt.headers,Ut=dt.getComponent,Bt=Ut("Property"),hn=Ut("Markdown",!0);return mt&&mt.size?Z.default.createElement("div",{className:"headers-wrapper"},Z.default.createElement("h4",{className:"headers__title"},"Headers:"),Z.default.createElement("table",{className:"headers"},Z.default.createElement("thead",null,Z.default.createElement("tr",{className:"header-row"},Z.default.createElement("th",{className:"header-col"},"Name"),Z.default.createElement("th",{className:"header-col"},"Description"),Z.default.createElement("th",{className:"header-col"},"Type"))),Z.default.createElement("tbody",null,(0,we.default)(at=mt.entrySeq()).call(at,function(Vn){var fr=(0,hl.default)(Vn,2),rr=fr[0],Mr=fr[1];if(!Dt.default.Map.isMap(Mr))return null;var Li=Mr.get("description"),Fi=Mr.getIn(["schema"])?Mr.getIn(["schema","type"]):Mr.getIn(["type"]),Ki=Mr.getIn(["schema","example"]);return Z.default.createElement("tr",{key:rr},Z.default.createElement("td",{className:"header-col"},rr),Z.default.createElement("td",{className:"header-col"},Li?Z.default.createElement(hn,{source:Li}):null),Z.default.createElement("td",{className:"header-col"},Fi," ",Ki?Z.default.createElement(Bt,{propKey:"Example",propVal:Ki,propClass:"header-example"}):null))}).toArray()))):null}}]),Ct}(Z.default.Component),mc=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.editorActions,mt=at.errSelectors,Ut=at.layoutSelectors,Bt=at.layoutActions,hn=(0,at.getComponent)("Collapse");if(dt&&dt.jumpToLine)var Vn=dt.jumpToLine;var fr=mt.allErrors(),rr=(0,_.default)(fr).call(fr,function(Fi){return"thrown"===Fi.get("type")||"error"===Fi.get("level")});if(!rr||rr.count()<1)return null;var Mr=Ut.isShown(["errorPane"],!0),Li=rr.sortBy(function(Fi){return Fi.get("line")});return Z.default.createElement("pre",{className:"errors-wrapper"},Z.default.createElement("hgroup",{className:"error"},Z.default.createElement("h4",{className:"errors__title"},"Errors"),Z.default.createElement("button",{className:"btn errors__clear-btn",onClick:function(){return Bt.show(["errorPane"],!Mr)}},Mr?"Hide":"Show")),Z.default.createElement(hn,{isOpened:Mr,animated:!0},Z.default.createElement("div",{className:"errors"},(0,we.default)(Li).call(Li,function(Fi,Ki){var to=Fi.get("type");return"thrown"===to||"auth"===to?Z.default.createElement(Od,{key:Ki,error:Fi.get("error")||Fi,jumpToLine:Vn}):"spec"===to?Z.default.createElement(Tv,{key:Ki,error:Fi,jumpToLine:Vn}):void 0}))))}}]),Ct}(Z.default.Component),Od=function(Yn){var vn=Yn.error,Ct=Yn.jumpToLine;if(!vn)return null;var at=vn.get("line");return Z.default.createElement("div",{className:"error-wrapper"},vn?Z.default.createElement("div",null,Z.default.createElement("h4",null,vn.get("source")&&vn.get("level")?y1(vn.get("source"))+" "+vn.get("level"):"",vn.get("path")?Z.default.createElement("small",null," at ",vn.get("path")):null),Z.default.createElement("span",{className:"message thrown"},vn.get("message")),Z.default.createElement("div",{className:"error-line"},at&&Ct?Z.default.createElement("a",{onClick:(0,pe.default)(Ct).call(Ct,null,at)},"Jump to line ",at):null)):null)},Tv=function(Yn){var vn=Yn.error,Ct=Yn.jumpToLine,at=null;return vn.get("path")?at=Dt.List.isList(vn.get("path"))?Z.default.createElement("small",null,"at ",vn.get("path").join(".")):Z.default.createElement("small",null,"at ",vn.get("path")):vn.get("line")&&!Ct&&(at=Z.default.createElement("small",null,"on line ",vn.get("line"))),Z.default.createElement("div",{className:"error-wrapper"},vn?Z.default.createElement("div",null,Z.default.createElement("h4",null,y1(vn.get("source"))+" "+vn.get("level"),"\xa0",at),Z.default.createElement("span",{className:"message"},vn.get("message")),Z.default.createElement("div",{className:"error-line"},Ct?Z.default.createElement("a",{onClick:(0,pe.default)(Ct).call(Ct,null,vn.get("line"))},"Jump to line ",vn.get("line")):null)):null)};function y1(Yn){var vn;return(0,we.default)(vn=(Yn||"").split(" ")).call(vn,function(Ct){return Ct[0].toUpperCase()+(0,Ue.default)(Ct).call(Ct,1)}).join(" ")}Od.defaultProps={jumpToLine:null};var Cv=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"onChangeWrapper",function(hn){return dt.props.onChange(hn.target.value)}),dt}return(0,ue.default)(Ct,[{key:"componentDidMount",value:function(){this.props.contentTypes&&this.props.onChange(this.props.contentTypes.first())}},{key:"UNSAFE_componentWillReceiveProps",value:function(at){var dt;at.contentTypes&&at.contentTypes.size&&((0,Au.default)(dt=at.contentTypes).call(dt,at.value)||at.onChange(at.contentTypes.first()))}},{key:"render",value:function(){var at=this.props,Bt=at.contentTypes;return Bt&&Bt.size?Z.default.createElement("div",{className:"content-type-wrapper "+(at.className||"")},Z.default.createElement("select",{"aria-controls":at.ariaControls,"aria-label":at.ariaLabel,className:"content-type",id:at.controlId,onChange:this.onChangeWrapper,value:at.value||""},(0,we.default)(Bt).call(Bt,function(fr){return Z.default.createElement("option",{key:fr,value:fr},fr)}).toArray())):null}}]),Ct}(Z.default.Component);(0,K.default)(Cv,"defaultProps",{onChange:function(){},value:null,contentTypes:(0,Dt.fromJS)(["application/json"])});var i_=qo(863),E1=qo(302),eW=qo(5942),tW=["fullscreen","full"],nW=["hide","keepContents","mobile","tablet","desktop","large"];function pS(){for(var Yn,vn=arguments.length,Ct=new Array(vn),at=0;at<vn;at++)Ct[at]=arguments[at];return(0,eW.default)(Yn=(0,_.default)(Ct).call(Ct,function(dt){return!!dt}).join(" ")).call(Yn)}var rW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.fullscreen,mt=at.full,Ut=(0,E1.default)(at,tW);return Z.default.createElement("section",dt?Ut:(0,i_.default)({},Ut,{className:pS(Ut.className,"swagger-container"+(mt?"-full":""))}))}}]),Ct}(Z.default.Component),cR={mobile:"",tablet:"-tablet",desktop:"-desktop",large:"-hd"},iW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt=this.props,mt=dt.hide,Ut=dt.keepContents,Bt=(0,E1.default)(dt,nW);if(mt&&!Ut)return Z.default.createElement("span",null);var hn=[];for(var Vn in cR)if(Object.prototype.hasOwnProperty.call(cR,Vn)){var fr=cR[Vn];if(Vn in this.props){var rr=this.props[Vn];if(rr<1){hn.push("none"+fr);continue}hn.push("block"+fr),hn.push("col-"+rr+fr)}}mt&&hn.push("hidden");var Mr=pS.apply(void 0,(0,o.default)(at=[Bt.className]).call(at,hn));return Z.default.createElement("section",(0,i_.default)({},Bt,{className:Mr}))}}]),Ct}(Z.default.Component),oW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){return Z.default.createElement("div",(0,i_.default)({},this.props,{className:pS(this.props.className,"wrapper")}))}}]),Ct}(Z.default.Component),xN=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){return Z.default.createElement("button",(0,i_.default)({},this.props,{className:pS(this.props.className,"button")}))}}]),Ct}(Z.default.Component);(0,K.default)(xN,"defaultProps",{className:""});var sW=function(Yn){return Z.default.createElement("textarea",Yn)},aW=function(Yn){return Z.default.createElement("input",Yn)},wN=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at,dt){var mt;return(0,oe.default)(this,Ct),mt=vn.call(this,at,dt),(0,K.default)((0,qi.default)(mt),"onChange",function(Bt){var hn,Vn,fr=mt.props,rr=fr.onChange,Mr=fr.multiple,Li=(0,Ue.default)([]).call(Bt.target.options);hn=Mr?(0,we.default)(Vn=(0,_.default)(Li).call(Li,function(Fi){return Fi.selected})).call(Vn,function(Fi){return Fi.value}):Bt.target.value,mt.setState({value:hn}),rr&&rr(hn)}),mt.state={value:at.value?at.value:at.multiple?[""]:""},mt}return(0,ue.default)(Ct,[{key:"UNSAFE_componentWillReceiveProps",value:function(at){at.value!==this.props.value&&this.setState({value:at.value})}},{key:"render",value:function(){var at,dt,mt=this.props,Ut=mt.allowedValues,Bt=mt.multiple,hn=mt.allowEmptyValue,Vn=mt.disabled,fr=(null===(at=this.state.value)||void 0===at||null===(dt=at.toJS)||void 0===dt?void 0:dt.call(at))||this.state.value;return Z.default.createElement("select",{className:this.props.className,multiple:Bt,value:fr,onChange:this.onChange,disabled:Vn},hn?Z.default.createElement("option",{value:""},"--"):null,(0,we.default)(Ut).call(Ut,function(rr,Mr){return Z.default.createElement("option",{key:Mr,value:String(rr)},String(rr))}))}}]),Ct}(Z.default.Component);(0,K.default)(wN,"defaultProps",{multiple:!1,allowEmptyValue:!0});var PN=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){return Z.default.createElement("a",(0,i_.default)({},this.props,{rel:"noopener noreferrer",className:pS(this.props.className,"link")}))}}]),Ct}(Z.default.Component),NN=function(Yn){return Z.default.createElement("div",{className:"no-margin"}," ",Yn.children," ")},IN=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"renderNotAnimated",value:function(){return this.props.isOpened?Z.default.createElement(NN,null,this.props.children):Z.default.createElement("noscript",null)}},{key:"render",value:function(){var at=this.props,Ut=at.children;return at.animated?Z.default.createElement(NN,null,Ut=at.isOpened?Ut:null):this.renderNotAnimated()}}]),Ct}(Z.default.Component);(0,K.default)(IN,"defaultProps",{isOpened:!1,animated:!1});var lW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt,mt;(0,oe.default)(this,Ct);for(var Ut=arguments.length,Bt=new Array(Ut),hn=0;hn<Ut;hn++)Bt[hn]=arguments[hn];return(mt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Bt))).setTagShown=(0,pe.default)(dt=mt._setTagShown).call(dt,(0,qi.default)(mt)),mt}return(0,ue.default)(Ct,[{key:"_setTagShown",value:function(at,dt){this.props.layoutActions.show(at,dt)}},{key:"showOp",value:function(at,dt){this.props.layoutActions.show(at,dt)}},{key:"render",value:function(){var at=this.props,mt=at.layoutSelectors,Ut=at.layoutActions,Bt=at.getComponent,hn=at.specSelectors.taggedOperations(),Vn=Bt("Collapse");return Z.default.createElement("div",null,Z.default.createElement("h4",{className:"overview-title"},"Overview"),(0,we.default)(hn).call(hn,function(fr,rr){var Mr=fr.get("operations"),Li=["overview-tags",rr],Fi=mt.isShown(Li,!0);return Z.default.createElement("div",{key:"overview-"+rr},Z.default.createElement("h4",{onClick:function(){return Ut.show(Li,!Fi)},className:"link overview-tag"}," ",Fi?"-":"+",rr),Z.default.createElement(Vn,{isOpened:Fi,animated:!0},(0,we.default)(Mr).call(Mr,function(Ki){var to=Ki.toObject(),wo=to.path,bo=to.method,Mo=to.id,Ws="operations",sa=Mo,Ma=mt.isShown([Ws,sa]);return Z.default.createElement(uW,{key:Mo,path:wo,method:bo,id:wo+"-"+bo,shown:Ma,showOpId:sa,showOpIdPrefix:Ws,href:"#operation-".concat(sa),onClick:Ut.show})}).toArray()))}).toArray(),hn.size<1&&Z.default.createElement("h3",null," No operations defined in spec! "))}}]),Ct}(Z.default.Component),uW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at){var dt,mt;return(0,oe.default)(this,Ct),(mt=vn.call(this,at)).onClick=(0,pe.default)(dt=mt._onClick).call(dt,(0,qi.default)(mt)),mt}return(0,ue.default)(Ct,[{key:"_onClick",value:function(){var at=this.props;(0,at.onClick)([at.showOpIdPrefix,at.showOpId],!at.shown)}},{key:"render",value:function(){var at=this.props,dt=at.id,mt=at.method;return Z.default.createElement(PN,{href:at.href,onClick:this.onClick,className:"block opblock-link ".concat(at.shown?"shown":"")},Z.default.createElement("div",null,Z.default.createElement("small",{className:"bold-label-".concat(mt)},mt.toUpperCase()),Z.default.createElement("span",{className:"bold-label"},dt)))}}]),Ct}(Z.default.Component),cW=["value","defaultValue","initialValue"],dW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"componentDidMount",value:function(){this.props.initialValue&&(this.inputRef.value=this.props.initialValue)}},{key:"render",value:function(){var at=this,mt=(0,E1.default)(this.props,cW);return Z.default.createElement("input",(0,i_.default)({},mt,{ref:function(Ut){return at.inputRef=Ut}}))}}]),Ct}(Z.default.Component),fW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props;return Z.default.createElement("pre",{className:"base-url"},"[ Base URL: ",at.host,at.basePath," ]")}}]),Ct}(Z.default.Component),pW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.data,mt=at.getComponent,Ut=at.selectedServer,Bt=at.url,hn=dt.get("name")||"the developer",Vn=oo(dt.get("url"),Bt,{selectedServer:Ut}),fr=dt.get("email"),rr=mt("Link");return Z.default.createElement("div",{className:"info__contact"},Vn&&Z.default.createElement("div",null,Z.default.createElement(rr,{href:(0,zn.Nm)(Vn),target:"_blank"},hn," - Website")),fr&&Z.default.createElement(rr,{href:(0,zn.Nm)("mailto:".concat(fr))},Vn?"Send email to ".concat(hn):"Contact ".concat(hn)))}}]),Ct}(Z.default.Component),_W=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.license,Ut=at.selectedServer,Bt=at.url,hn=(0,at.getComponent)("Link"),Vn=dt.get("name")||"License",fr=oo(dt.get("url"),Bt,{selectedServer:Ut});return Z.default.createElement("div",{className:"info__license"},fr?Z.default.createElement(hn,{target:"_blank",href:(0,zn.Nm)(fr)},Vn):Z.default.createElement("span",null,Vn))}}]),Ct}(Z.default.Component),hW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.url,mt=(0,at.getComponent)("Link");return Z.default.createElement(mt,{target:"_blank",href:(0,zn.Nm)(dt)},Z.default.createElement("span",{className:"url"}," ",dt))}}]),Ct}(Z.default.PureComponent),mW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.info,mt=at.url,Ut=at.host,Bt=at.basePath,hn=at.getComponent,Vn=at.externalDocs,fr=at.selectedServer,rr=at.url,Mr=dt.get("version"),Li=dt.get("description"),Fi=dt.get("title"),Ki=oo(dt.get("termsOfService"),rr,{selectedServer:fr}),to=dt.get("contact"),wo=dt.get("license"),bo=oo(Vn&&Vn.get("url"),rr,{selectedServer:fr}),Mo=Vn&&Vn.get("description"),Ws=hn("Markdown",!0),sa=hn("Link"),Ma=hn("VersionStamp"),ta=hn("InfoUrl"),na=hn("InfoBasePath");return Z.default.createElement("div",{className:"info"},Z.default.createElement("hgroup",{className:"main"},Z.default.createElement("h2",{className:"title"},Fi,Mr&&Z.default.createElement(Ma,{version:Mr})),Ut||Bt?Z.default.createElement(na,{host:Ut,basePath:Bt}):null,mt&&Z.default.createElement(ta,{getComponent:hn,url:mt})),Z.default.createElement("div",{className:"description"},Z.default.createElement(Ws,{source:Li})),Ki&&Z.default.createElement("div",{className:"info__tos"},Z.default.createElement(sa,{target:"_blank",href:(0,zn.Nm)(Ki)},"Terms of service")),to&&to.size?Z.default.createElement(pW,{getComponent:hn,data:to,selectedServer:fr,url:mt}):null,wo&&wo.size?Z.default.createElement(_W,{getComponent:hn,license:wo,selectedServer:fr,url:mt}):null,bo?Z.default.createElement(sa,{className:"info__extdocs",target:"_blank",href:(0,zn.Nm)(bo)},Mo||bo):null)}}]),Ct}(Z.default.Component),gW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.specSelectors,mt=at.getComponent,Ut=at.oas3Selectors,Bt=dt.info(),hn=dt.url(),Vn=dt.basePath(),fr=dt.host(),rr=dt.externalDocs(),Mr=Ut.selectedServer(),Li=mt("info");return Z.default.createElement("div",null,Bt&&Bt.count()?Z.default.createElement(Li,{info:Bt,url:hn,host:fr,basePath:Vn,externalDocs:rr,getComponent:mt,selectedServer:Mr}):null)}}]),Ct}(Z.default.Component),vW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){return null}}]),Ct}(Z.default.Component),yW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){return Z.default.createElement("div",{className:"footer"})}}]),Ct}(Z.default.Component),EW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"onFilterChange",function(hn){dt.props.layoutActions.updateFilter(hn.target.value)}),dt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.specSelectors,mt=at.layoutSelectors,Ut=(0,at.getComponent)("Col"),Bt="loading"===dt.loadingStatus(),hn="failed"===dt.loadingStatus(),Vn=mt.currentFilter(),fr=["operation-filter-input"];return hn&&fr.push("failed"),Bt&&fr.push("loading"),Z.default.createElement("div",null,null===Vn||!1===Vn||"false"===Vn?null:Z.default.createElement("div",{className:"filter-container"},Z.default.createElement(Ut,{className:"filter wrapper",mobile:12},Z.default.createElement("input",{className:fr.join(" "),placeholder:"Filter by tag",type:"text",onChange:this.onFilterChange,value:!0===Vn||"true"===Vn?"":Vn,disabled:Bt}))))}}]),Ct}(Z.default.Component),dR=Function.prototype,FN=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at,dt){var mt;return(0,oe.default)(this,Ct),mt=vn.call(this,at,dt),(0,K.default)((0,qi.default)(mt),"updateValues",function(Ut){var Bt=Ut.param,hn=Ut.isExecute,Vn=Ut.consumesValue,fr=void 0===Vn?"":Vn,rr=/xml/i.test(fr),Mr=/json/i.test(fr),Li=Bt.get(rr?"value_xml":"value");if(void 0!==Li){var Fi=!Li&&Mr?"{}":Li;mt.setState({value:Fi}),mt.onChange(Fi,{isXml:rr,isEditBox:hn})}else rr?mt.onChange(mt.sample("xml"),{isXml:rr,isEditBox:hn}):mt.onChange(mt.sample(),{isEditBox:hn})}),(0,K.default)((0,qi.default)(mt),"sample",function(Ut){var Bt=mt.props,Vn=(0,Bt.fn.inferSchema)(Bt.param.toJS());return(0,zn.xi)(Vn,Ut,{includeWriteOnly:!0})}),(0,K.default)((0,qi.default)(mt),"onChange",function(Ut,Bt){var Vn=Bt.isXml;mt.setState({value:Ut,isEditBox:Bt.isEditBox}),mt._onChange(Ut,Vn)}),(0,K.default)((0,qi.default)(mt),"_onChange",function(Ut,Bt){(mt.props.onChange||dR)(Ut,Bt)}),(0,K.default)((0,qi.default)(mt),"handleOnChange",function(Ut){var hn=/xml/i.test(mt.props.consumesValue);mt.onChange(Ut.target.value,{isXml:hn,isEditBox:mt.state.isEditBox})}),(0,K.default)((0,qi.default)(mt),"toggleIsEditBox",function(){return mt.setState(function(Ut){return{isEditBox:!Ut.isEditBox}})}),mt.state={isEditBox:!1,value:""},mt}return(0,ue.default)(Ct,[{key:"componentDidMount",value:function(){this.updateValues.call(this,this.props)}},{key:"UNSAFE_componentWillReceiveProps",value:function(at){this.updateValues.call(this,at)}},{key:"render",value:function(){var at=this.props,dt=at.onChangeConsumes,mt=at.param,Ut=at.isExecute,Bt=at.specSelectors,hn=at.pathMethod,Vn=at.getConfigs,fr=at.getComponent,rr=fr("Button"),Mr=fr("TextArea"),Li=fr("highlightCode"),Fi=fr("contentType"),Ki=(Bt?Bt.parameterWithMetaByIdentity(hn,mt):mt).get("errors",(0,Dt.List)()),to=Bt.contentTypeValues(hn).get("requestContentType"),wo=this.props.consumes&&this.props.consumes.size?this.props.consumes:Ct.defaultProp.consumes,bo=this.state,Mo=bo.value,Ws=bo.isEditBox,sa=null;return(0,Pm.O)(Mo)&&(sa="json"),Z.default.createElement("div",{className:"body-param","data-param-name":mt.get("name"),"data-param-in":mt.get("in")},Ws&&Ut?Z.default.createElement(Mr,{className:"body-param__text"+(Ki.count()?" invalid":""),value:Mo,onChange:this.handleOnChange}):Mo&&Z.default.createElement(Li,{className:"body-param__example",language:sa,getConfigs:Vn,value:Mo}),Z.default.createElement("div",{className:"body-param-options"},Ut?Z.default.createElement("div",{className:"body-param-edit"},Z.default.createElement(rr,{className:Ws?"btn cancel body-param__example-edit":"btn edit body-param__example-edit",onClick:this.toggleIsEditBox},Ws?"Cancel":"Edit")):null,Z.default.createElement("label",{htmlFor:""},Z.default.createElement("span",null,"Parameter content type"),Z.default.createElement(Fi,{value:to,contentTypes:wo,onChange:dt,className:"body-param-content-type",ariaLabel:"Parameter content type"}))))}}]),Ct}(Z.PureComponent);(0,K.default)(FN,"defaultProp",{consumes:(0,Dt.fromJS)(["application/json"]),param:(0,Dt.fromJS)({}),onChange:dR,onChangeConsumes:dR});var SW=qo(4624),bW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,mt=at.getConfigs,Ut=(0,SW.requestSnippetGenerator_curl_bash)(at.request),Bt=mt(),hn=(0,su.default)(Bt,"syntaxHighlight.activated")?Z.default.createElement(Ep.d3,{language:"bash",className:"curl microlight",style:(0,Ep.C2)((0,su.default)(Bt,"syntaxHighlight.theme"))},Ut):Z.default.createElement("textarea",{readOnly:!0,className:"curl",value:Ut});return Z.default.createElement("div",{className:"curl-command"},Z.default.createElement("h4",null,"Curl"),Z.default.createElement("div",{className:"copy-to-clipboard"},Z.default.createElement(Sp.CopyToClipboard,{text:Ut},Z.default.createElement("button",null))),Z.default.createElement("div",null,hn))}}]),Ct}(Z.default.Component),TW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"onChange",function(hn){dt.setScheme(hn.target.value)}),(0,K.default)((0,qi.default)(dt),"setScheme",function(hn){var Vn=dt.props;Vn.specActions.setScheme(hn,Vn.path,Vn.method)}),dt}return(0,ue.default)(Ct,[{key:"UNSAFE_componentWillMount",value:function(){this.setScheme(this.props.schemes.first())}},{key:"UNSAFE_componentWillReceiveProps",value:function(at){var dt;this.props.currentScheme&&(0,Au.default)(dt=at.schemes).call(dt,this.props.currentScheme)||this.setScheme(at.schemes.first())}},{key:"render",value:function(){var at,dt=this.props,mt=dt.schemes,Ut=dt.currentScheme;return Z.default.createElement("label",{htmlFor:"schemes"},Z.default.createElement("span",{className:"schemes-title"},"Schemes"),Z.default.createElement("select",{onChange:this.onChange,value:Ut},(0,we.default)(at=mt.valueSeq()).call(at,function(Bt){return Z.default.createElement("option",{value:Bt,key:Bt},Bt)}).toArray()))}}]),Ct}(Z.default.Component),CW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.specActions,mt=at.specSelectors,Ut=at.getComponent,Bt=mt.operationScheme(),hn=mt.schemes(),Vn=Ut("schemes");return hn&&hn.size?Z.default.createElement(Vn,{currentScheme:Bt,schemes:hn,specActions:dt}):null}}]),Ct}(Z.default.Component),LN=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at,dt){var mt;(0,oe.default)(this,Ct),mt=vn.call(this,at,dt),(0,K.default)((0,qi.default)(mt),"toggleCollapsed",function(){mt.props.onToggle&&mt.props.onToggle(mt.props.modelName,!mt.state.expanded),mt.setState({expanded:!mt.state.expanded})}),(0,K.default)((0,qi.default)(mt),"onLoad",function(Vn){if(Vn&&mt.props.layoutSelectors){var fr=mt.props.layoutSelectors.getScrollToKey();Dt.default.is(fr,mt.props.specPath)&&mt.toggleCollapsed(),mt.props.layoutActions.readyToScroll(mt.props.specPath,Vn.parentElement)}});var Ut=mt.props;return mt.state={expanded:Ut.expanded,collapsedContent:Ut.collapsedContent||Ct.defaultProps.collapsedContent},mt}return(0,ue.default)(Ct,[{key:"componentDidMount",value:function(){var at=this.props,mt=at.expanded;at.hideSelfOnExpand&&mt&&this.props.onToggle(at.modelName,mt)}},{key:"UNSAFE_componentWillReceiveProps",value:function(at){this.props.expanded!==at.expanded&&this.setState({expanded:at.expanded})}},{key:"render",value:function(){var at=this.props,dt=at.title,mt=at.classes;return this.state.expanded&&this.props.hideSelfOnExpand?Z.default.createElement("span",{className:mt||""},this.props.children):Z.default.createElement("span",{className:mt||"",ref:this.onLoad},Z.default.createElement("button",{"aria-expanded":this.state.expanded,className:"model-box-control",onClick:this.toggleCollapsed},dt&&Z.default.createElement("span",{className:"pointer"},dt),Z.default.createElement("span",{className:"model-toggle"+(this.state.expanded?"":" collapsed")}),!this.state.expanded&&Z.default.createElement("span",null,this.state.collapsedContent)),this.state.expanded&&this.props.children)}}]),Ct}(Z.Component);(0,K.default)(LN,"defaultProps",{collapsedContent:"{...}",expanded:!1,title:null,onToggle:function(){},hideSelfOnExpand:!1,specPath:Dt.default.List([])});var MW=qo(1798),s2=qo.n(MW),OW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at,dt){var mt;(0,oe.default)(this,Ct),mt=vn.call(this,at,dt),(0,K.default)((0,qi.default)(mt),"activeTab",function(rr){mt.setState({activeTab:rr.target.dataset.name})});var Ut=mt.props,hn=Ut.isExecute,Vn=(0,Ut.getConfigs)().defaultModelRendering,fr=Vn;return"example"!==Vn&&"model"!==Vn&&(fr="example"),hn&&(fr="example"),mt.state={activeTab:fr},mt}return(0,ue.default)(Ct,[{key:"UNSAFE_componentWillReceiveProps",value:function(at){at.isExecute&&!this.props.isExecute&&this.props.example&&this.setState({activeTab:"example"})}},{key:"render",value:function(){var at=this.props,dt=at.getComponent,mt=at.specSelectors,Ut=at.schema,Bt=at.example,hn=at.isExecute,Vn=at.getConfigs,fr=at.specPath,rr=at.includeReadOnly,Mr=at.includeWriteOnly,Li=Vn().defaultModelExpandDepth,Fi=dt("ModelWrapper"),Ki=dt("highlightCode"),to=s2()(5).toString("base64"),wo=s2()(5).toString("base64"),bo=s2()(5).toString("base64"),Mo=s2()(5).toString("base64"),Ws=mt.isOAS3();return Z.default.createElement("div",{className:"model-example"},Z.default.createElement("ul",{className:"tab",role:"tablist"},Z.default.createElement("li",{className:(0,cf.default)("tabitem",{active:"example"===this.state.activeTab}),role:"presentation"},Z.default.createElement("button",{"aria-controls":wo,"aria-selected":"example"===this.state.activeTab,className:"tablinks","data-name":"example",id:to,onClick:this.activeTab,role:"tab"},hn?"Edit Value":"Example Value")),Ut&&Z.default.createElement("li",{className:(0,cf.default)("tabitem",{active:"model"===this.state.activeTab}),role:"presentation"},Z.default.createElement("button",{"aria-controls":Mo,"aria-selected":"model"===this.state.activeTab,className:(0,cf.default)("tablinks",{inactive:hn}),"data-name":"model",id:bo,onClick:this.activeTab,role:"tab"},Ws?"Schema":"Model"))),"example"===this.state.activeTab&&Z.default.createElement("div",{"aria-hidden":"example"!==this.state.activeTab,"aria-labelledby":to,"data-name":"examplePanel",id:wo,role:"tabpanel",tabIndex:"0"},Bt||Z.default.createElement(Ki,{value:"(no example available)",getConfigs:Vn})),"model"===this.state.activeTab&&Z.default.createElement("div",{"aria-hidden":"example"===this.state.activeTab,"aria-labelledby":bo,"data-name":"modelPanel",id:Mo,role:"tabpanel",tabIndex:"0"},Z.default.createElement(Fi,{schema:Ut,getComponent:dt,getConfigs:Vn,specSelectors:mt,expandDepth:Li,specPath:fr,includeReadOnly:rr,includeWriteOnly:Mr})))}}]),Ct}(Z.default.Component),AW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"onToggle",function(hn,Vn){dt.props.layoutActions&&dt.props.layoutActions.show(dt.props.fullPath,Vn)}),dt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt=this.props,Ut=dt.getConfigs,Bt=(0,dt.getComponent)("Model");return this.props.layoutSelectors&&(at=this.props.layoutSelectors.isShown(this.props.fullPath)),Z.default.createElement("div",{className:"model-box"},Z.default.createElement(Bt,(0,i_.default)({},this.props,{getConfigs:Ut,expanded:at,depth:1,onToggle:this.onToggle,expandDepth:this.props.expandDepth||0})))}}]),Ct}(Z.Component),DW=qo(1543),RW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"getSchemaBasePath",function(){return dt.props.specSelectors.isOAS3()?["components","schemas"]:["definitions"]}),(0,K.default)((0,qi.default)(dt),"getCollapsedContent",function(){return" "}),(0,K.default)((0,qi.default)(dt),"handleToggle",function(hn,Vn){var fr,rr;dt.props.layoutActions.show((0,o.default)(fr=[]).call(fr,(0,Xd.default)(dt.getSchemaBasePath()),[hn]),Vn),Vn&&dt.props.specActions.requestResolvedSubtree((0,o.default)(rr=[]).call(rr,(0,Xd.default)(dt.getSchemaBasePath()),[hn]))}),(0,K.default)((0,qi.default)(dt),"onLoadModels",function(hn){hn&&dt.props.layoutActions.readyToScroll(dt.getSchemaBasePath(),hn)}),(0,K.default)((0,qi.default)(dt),"onLoadModel",function(hn){if(hn){var Vn,fr=hn.getAttribute("data-name");dt.props.layoutActions.readyToScroll((0,o.default)(Vn=[]).call(Vn,(0,Xd.default)(dt.getSchemaBasePath()),[fr]),hn)}}),dt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt=this,mt=this.props,Ut=mt.specSelectors,Bt=mt.getComponent,hn=mt.layoutSelectors,Vn=mt.layoutActions,fr=mt.getConfigs,rr=Ut.definitions(),Mr=fr(),Li=Mr.docExpansion,Fi=Mr.defaultModelsExpandDepth;if(!rr.size||Fi<0)return null;var Ki=this.getSchemaBasePath(),to=hn.isShown(Ki,Fi>0&&"none"!==Li),wo=Ut.isOAS3(),bo=Bt("ModelWrapper"),Mo=Bt("Collapse"),Ws=Bt("ModelCollapse"),sa=Bt("JumpToPath",!0);return Z.default.createElement("section",{className:to?"models is-open":"models",ref:this.onLoadModels},Z.default.createElement("h4",null,Z.default.createElement("button",{"aria-expanded":to,className:"models-control",onClick:function(){return Vn.show(Ki,!to)}},Z.default.createElement("span",null,wo?"Schemas":"Models"),Z.default.createElement("svg",{width:"20",height:"20","aria-hidden":"true",focusable:"false"},Z.default.createElement("use",{xlinkHref:to?"#large-arrow-up":"#large-arrow-down"})))),Z.default.createElement(Mo,{isOpened:to},(0,we.default)(at=rr.entrySeq()).call(at,function(Ma){var ta,na=(0,hl.default)(Ma,1)[0],aa=(0,o.default)(ta=[]).call(ta,(0,Xd.default)(Ki),[na]),Xs=Dt.default.List(aa),ml=Ut.specResolvedSubtree(aa),ha=Ut.specJson().getIn(aa),Xa=Dt.Map.isMap(ml)?ml:Dt.default.Map(),bs=Dt.Map.isMap(ha)?ha:Dt.default.Map(),Oa=Xa.get("title")||bs.get("title")||na,Yl=hn.isShown(aa,!1);Yl&&0===Xa.size&&bs.size>0&&dt.props.specActions.requestResolvedSubtree(aa);var Ad=Z.default.createElement(bo,{name:na,expandDepth:Fi,schema:Xa||Dt.default.Map(),displayName:Oa,fullPath:aa,specPath:Xs,getComponent:Bt,specSelectors:Ut,getConfigs:fr,layoutSelectors:hn,layoutActions:Vn,includeReadOnly:!0,includeWriteOnly:!0}),Of=Z.default.createElement("span",{className:"model-box"},Z.default.createElement("span",{className:"model model-title"},Oa));return Z.default.createElement("div",{id:"model-".concat(na),className:"model-container",key:"models-section-".concat(na),"data-name":na,ref:dt.onLoadModel},Z.default.createElement("span",{className:"models-jump-to-path"},Z.default.createElement(sa,{specPath:Xs})),Z.default.createElement(Ws,{classes:"model-box",collapsedContent:dt.getCollapsedContent(na),onToggle:dt.handleToggle,title:Of,displayName:Oa,modelName:na,specPath:Xs,layoutSelectors:hn,layoutActions:Vn,hideSelfOnExpand:!0,expanded:Fi>0&&Yl},Ad))}).toArray()))}}]),Ct}(Z.Component);const xW=function(Yn){var vn=Yn.value,Ct=(0,Yn.getComponent)("ModelCollapse"),at=Z.default.createElement("span",null,"Array [ ",vn.count()," ]");return Z.default.createElement("span",{className:"prop-enum"},"Enum:",Z.default.createElement("br",null),Z.default.createElement(Ct,{collapsedContent:at},"[ ",vn.join(", ")," ]"))};var wW=["schema","name","displayName","isRef","getComponent","getConfigs","depth","onToggle","expanded","specPath"],PW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt,mt,Ut,Bt=this.props,hn=Bt.schema,Vn=Bt.name,fr=Bt.displayName,rr=Bt.isRef,Mr=Bt.getComponent,Li=Bt.getConfigs,Fi=Bt.depth,Ki=Bt.onToggle,to=Bt.expanded,wo=Bt.specPath,bo=(0,E1.default)(Bt,wW),Mo=bo.specSelectors,Ws=bo.expandDepth,sa=bo.includeReadOnly,Ma=bo.includeWriteOnly,ta=Mo.isOAS3;if(!hn)return null;var na=Li().showExtensions,aa=hn.get("description"),Xs=hn.get("properties"),ml=hn.get("additionalProperties"),ha=hn.get("title")||fr||Vn,Xa=hn.get("required"),bs=(0,_.default)(hn).call(hn,function(df,zc){var ff;return-1!==(0,rt.default)(ff=["maxProperties","minProperties","nullable","example"]).call(ff,zc)}),Oa=hn.get("deprecated"),Yl=Mr("JumpToPath",!0),Ad=Mr("Markdown",!0),Of=Mr("Model"),Af=Mr("ModelCollapse"),rp=Mr("Property"),Du=function(){return Z.default.createElement("span",{className:"model-jump-to-path"},Z.default.createElement(Yl,{specPath:wo}))},Dd=Z.default.createElement("span",null,Z.default.createElement("span",null,"{"),"...",Z.default.createElement("span",null,"}"),rr?Z.default.createElement(Du,null):""),jc=Mo.isOAS3()?hn.get("anyOf"):null,$p=Mo.isOAS3()?hn.get("oneOf"):null,bp=Mo.isOAS3()?hn.get("not"):null,Wh=ha&&Z.default.createElement("span",{className:"model-title"},rr&&hn.get("$$ref")&&Z.default.createElement("span",{className:"model-hint"},hn.get("$$ref")),Z.default.createElement("span",{className:"model-title__text"},ha));return Z.default.createElement("span",{className:"model"},Z.default.createElement(Af,{modelName:Vn,title:Wh,onToggle:Ki,expanded:!!to||Fi<=Ws,collapsedContent:Dd},Z.default.createElement("span",{className:"brace-open object"},"{"),rr?Z.default.createElement(Du,null):null,Z.default.createElement("span",{className:"inner-object"},Z.default.createElement("table",{className:"model"},Z.default.createElement("tbody",null,aa?Z.default.createElement("tr",{className:"description"},Z.default.createElement("td",null,"description:"),Z.default.createElement("td",null,Z.default.createElement(Ad,{source:aa}))):null,Oa?Z.default.createElement("tr",{className:"property"},Z.default.createElement("td",null,"deprecated:"),Z.default.createElement("td",null,"true")):null,Xs&&Xs.size?(0,we.default)(at=(0,_.default)(dt=Xs.entrySeq()).call(dt,function(df){var zc=(0,hl.default)(df,2)[1];return(!zc.get("readOnly")||sa)&&(!zc.get("writeOnly")||Ma)})).call(at,function(df){var zc,ff,Df=(0,hl.default)(df,2),Rf=Df[0],V_=Df[1],qd=ta()&&V_.get("deprecated"),ef=Dt.List.isList(Xa)&&Xa.contains(Rf),Hf=["property-row"];return qd&&Hf.push("deprecated"),ef&&Hf.push("required"),Z.default.createElement("tr",{key:Rf,className:Hf.join(" ")},Z.default.createElement("td",null,Rf,ef&&Z.default.createElement("span",{className:"star"},"*")),Z.default.createElement("td",null,Z.default.createElement(Of,(0,i_.default)({key:(0,o.default)(zc=(0,o.default)(ff="object-".concat(Vn,"-")).call(ff,Rf,"_")).call(zc,V_)},bo,{required:ef,getComponent:Mr,specPath:wo.push("properties",Rf),getConfigs:Li,schema:V_,depth:Fi+1}))))}).toArray():null,na?Z.default.createElement("tr",null,Z.default.createElement("td",null,"\xa0")):null,na?(0,we.default)(mt=hn.entrySeq()).call(mt,function(df){var zc=(0,hl.default)(df,2),ff=zc[0],Df=zc[1];if("x-"===(0,Ue.default)(ff).call(ff,0,2)){var Rf=Df?Df.toJS?Df.toJS():Df:null;return Z.default.createElement("tr",{key:ff,className:"extension"},Z.default.createElement("td",null,ff),Z.default.createElement("td",null,(0,O.default)(Rf)))}}).toArray():null,ml&&ml.size?Z.default.createElement("tr",null,Z.default.createElement("td",null,"< * >:"),Z.default.createElement("td",null,Z.default.createElement(Of,(0,i_.default)({},bo,{required:!1,getComponent:Mr,specPath:wo.push("additionalProperties"),getConfigs:Li,schema:ml,depth:Fi+1})))):null,jc?Z.default.createElement("tr",null,Z.default.createElement("td",null,"anyOf ->"),Z.default.createElement("td",null,(0,we.default)(jc).call(jc,function(df,zc){return Z.default.createElement("div",{key:zc},Z.default.createElement(Of,(0,i_.default)({},bo,{required:!1,getComponent:Mr,specPath:wo.push("anyOf",zc),getConfigs:Li,schema:df,depth:Fi+1})))}))):null,$p?Z.default.createElement("tr",null,Z.default.createElement("td",null,"oneOf ->"),Z.default.createElement("td",null,(0,we.default)($p).call($p,function(df,zc){return Z.default.createElement("div",{key:zc},Z.default.createElement(Of,(0,i_.default)({},bo,{required:!1,getComponent:Mr,specPath:wo.push("oneOf",zc),getConfigs:Li,schema:df,depth:Fi+1})))}))):null,bp?Z.default.createElement("tr",null,Z.default.createElement("td",null,"not ->"),Z.default.createElement("td",null,Z.default.createElement("div",null,Z.default.createElement(Of,(0,i_.default)({},bo,{required:!1,getComponent:Mr,specPath:wo.push("not"),getConfigs:Li,schema:bp,depth:Fi+1}))))):null))),Z.default.createElement("span",{className:"brace-close"},"}")),bs.size?(0,we.default)(Ut=bs.entrySeq()).call(Ut,function(df){var zc,ff=(0,hl.default)(df,2),Df=ff[0],Rf=ff[1];return Z.default.createElement(rp,{key:(0,o.default)(zc="".concat(Df,"-")).call(zc,Rf),propKey:Df,propVal:Rf,propClass:"property"})}):null)}}]),Ct}(Z.Component),NW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt=this.props,mt=dt.getComponent,Ut=dt.getConfigs,Bt=dt.schema,hn=dt.depth,Vn=dt.expandDepth,fr=dt.name,rr=dt.displayName,Mr=dt.specPath,Li=Bt.get("description"),Fi=Bt.get("items"),Ki=Bt.get("title")||rr||fr,to=(0,_.default)(Bt).call(Bt,function(Ma,ta){var na;return-1===(0,rt.default)(na=["type","items","description","$$ref"]).call(na,ta)}),wo=mt("Markdown",!0),bo=mt("ModelCollapse"),Mo=mt("Model"),Ws=mt("Property"),sa=Ki&&Z.default.createElement("span",{className:"model-title"},Z.default.createElement("span",{className:"model-title__text"},Ki));return Z.default.createElement("span",{className:"model"},Z.default.createElement(bo,{title:sa,expanded:hn<=Vn,collapsedContent:"[...]"},"[",to.size?(0,we.default)(at=to.entrySeq()).call(at,function(Ma){var ta,na=(0,hl.default)(Ma,2),aa=na[0],Xs=na[1];return Z.default.createElement(Ws,{key:(0,o.default)(ta="".concat(aa,"-")).call(ta,Xs),propKey:aa,propVal:Xs,propClass:"property"})}):null,Li?Z.default.createElement(wo,{source:Li}):to.size?Z.default.createElement("div",{className:"markdown"}):null,Z.default.createElement("span",null,Z.default.createElement(Mo,(0,i_.default)({},this.props,{getConfigs:Ut,specPath:Mr.push("items"),name:null,schema:Fi,required:!1,depth:hn+1}))),"]"))}}]),Ct}(Z.Component),a2="property primitive",IW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at,dt,mt,Ut=this.props,Bt=Ut.schema,hn=Ut.getComponent,fr=Ut.name,rr=Ut.displayName,Mr=Ut.depth,Li=Ut.expandDepth,Fi=(0,Ut.getConfigs)().showExtensions;if(!Bt||!Bt.get)return Z.default.createElement("div",null);var Ki=Bt.get("type"),to=Bt.get("format"),wo=Bt.get("xml"),bo=Bt.get("enum"),Mo=Bt.get("title")||rr||fr,Ws=Bt.get("description"),sa=(0,zn.nX)(Bt),Ma=(0,_.default)(Bt).call(Bt,function(ha,Xa){var bs;return-1===(0,rt.default)(bs=["enum","type","format","description","$$ref"]).call(bs,Xa)}).filterNot(function(ha,Xa){return sa.has(Xa)}),ta=hn("Markdown",!0),na=hn("EnumModel"),aa=hn("Property"),Xs=hn("ModelCollapse"),ml=Mo&&Z.default.createElement("span",{className:"model-title"},Z.default.createElement("span",{className:"model-title__text"},Mo));return Z.default.createElement("span",{className:"model"},Z.default.createElement(Xs,{title:ml,expanded:Mr>=Li,collapsedContent:" ",hideSelfOnExpand:Li!==Mr},Z.default.createElement("span",{className:"prop"},fr&&Mr>1&&Z.default.createElement("span",{className:"prop-name"},Mo),Z.default.createElement("span",{className:"prop-type"},Ki),to&&Z.default.createElement("span",{className:"prop-format"},"($",to,")"),Ma.size?(0,we.default)(at=Ma.entrySeq()).call(at,function(ha){var Xa,bs=(0,hl.default)(ha,2),Oa=bs[0],Yl=bs[1];return Z.default.createElement(aa,{key:(0,o.default)(Xa="".concat(Oa,"-")).call(Xa,Yl),propKey:Oa,propVal:Yl,propClass:a2})}):null,Fi&&sa.size?(0,we.default)(dt=sa.entrySeq()).call(dt,function(ha){var Xa,bs=(0,hl.default)(ha,2),Oa=bs[0],Yl=bs[1];return Z.default.createElement(aa,{key:(0,o.default)(Xa="".concat(Oa,"-")).call(Xa,Yl),propKey:Oa,propVal:Yl,propClass:a2})}):null,Ws?Z.default.createElement(ta,{source:Ws}):null,wo&&wo.size?Z.default.createElement("span",null,Z.default.createElement("br",null),Z.default.createElement("span",{className:a2},"xml:"),(0,we.default)(mt=wo.entrySeq()).call(mt,function(ha){var Xa,bs=(0,hl.default)(ha,2),Oa=bs[0],Yl=bs[1];return Z.default.createElement("span",{key:(0,o.default)(Xa="".concat(Oa,"-")).call(Xa,Yl),className:a2},Z.default.createElement("br",null),"\xa0\xa0\xa0",Oa,": ",String(Yl))}).toArray()):null,bo&&Z.default.createElement(na,{value:bo,getComponent:hn}))))}}]),Ct}(Z.Component);const FW=function(Yn){var vn=Yn.propKey,Ct=Yn.propVal;return Z.default.createElement("span",{className:Yn.propClass},Z.default.createElement("br",null),vn,": ",String(Ct))};var kN=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.onTryoutClick,Ut=at.onResetClick,Vn=at.isOAS3&&at.hasUserEditedBody;return Z.default.createElement("div",{className:Vn?"try-out btn-group":"try-out"},at.enabled?Z.default.createElement("button",{className:"btn try-out__btn cancel",onClick:at.onCancelClick},"Cancel"):Z.default.createElement("button",{className:"btn try-out__btn",onClick:dt},"Try it out "),Vn&&Z.default.createElement("button",{className:"btn try-out__btn reset",onClick:Ut},"Reset"))}}]),Ct}(Z.default.Component);(0,K.default)(kN,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,onResetClick:Function.prototype,enabled:!1,hasUserEditedBody:!1,isOAS3:!1});var $N=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,mt=at.isSwagger2,Ut=at.isOAS3,Bt=at.alsoShow;return at.bypass?Z.default.createElement("div",null,this.props.children):mt&&Ut?Z.default.createElement("div",{className:"version-pragma"},Bt,Z.default.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},Z.default.createElement("div",null,Z.default.createElement("h3",null,"Unable to render this definition"),Z.default.createElement("p",null,Z.default.createElement("code",null,"swagger")," and ",Z.default.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),Z.default.createElement("p",null,"Supported version fields are ",Z.default.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",Z.default.createElement("code",null,"openapi: 3.0.n")," (for example, ",Z.default.createElement("code",null,"openapi: 3.0.0"),").")))):mt||Ut?Z.default.createElement("div",null,this.props.children):Z.default.createElement("div",{className:"version-pragma"},Bt,Z.default.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},Z.default.createElement("div",null,Z.default.createElement("h3",null,"Unable to render this definition"),Z.default.createElement("p",null,"The provided definition does not specify a valid version field."),Z.default.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",Z.default.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",Z.default.createElement("code",null,"openapi: 3.0.n")," (for example, ",Z.default.createElement("code",null,"openapi: 3.0.0"),")."))))}}]),Ct}(Z.default.PureComponent);(0,K.default)($N,"defaultProps",{alsoShow:null,children:null,bypass:!1});const LW=function(Yn){return Z.default.createElement("small",null,Z.default.createElement("pre",{className:"version"}," ",Yn.version," "))},kW=function(Yn){var vn=Yn.enabled,at=Yn.text;return Z.default.createElement("a",{className:"nostyle",onClick:vn?function(dt){return dt.preventDefault()}:null,href:vn?"#/".concat(Yn.path):null},Z.default.createElement("span",null,at))},$W=function(){return Z.default.createElement("div",null,Z.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"svg-assets"},Z.default.createElement("defs",null,Z.default.createElement("symbol",{viewBox:"0 0 20 20",id:"unlocked"},Z.default.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"})),Z.default.createElement("symbol",{viewBox:"0 0 20 20",id:"locked"},Z.default.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"})),Z.default.createElement("symbol",{viewBox:"0 0 20 20",id:"close"},Z.default.createElement("path",{d:"M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"})),Z.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow"},Z.default.createElement("path",{d:"M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"})),Z.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-down"},Z.default.createElement("path",{d:"M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"})),Z.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-up"},Z.default.createElement("path",{d:"M 17.418 14.908 C 17.69 15.176 18.127 15.176 18.397 14.908 C 18.667 14.64 18.668 14.207 18.397 13.939 L 10.489 6.109 C 10.219 5.841 9.782 5.841 9.51 6.109 L 1.602 13.939 C 1.332 14.207 1.332 14.64 1.602 14.908 C 1.873 15.176 2.311 15.176 2.581 14.908 L 10 7.767 L 17.418 14.908 Z"})),Z.default.createElement("symbol",{viewBox:"0 0 24 24",id:"jump-to"},Z.default.createElement("path",{d:"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"})),Z.default.createElement("symbol",{viewBox:"0 0 24 24",id:"expand"},Z.default.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"})))))};var HW=qo(5466),UW=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.errSelectors,mt=at.specSelectors,Ut=at.getComponent,Bt=Ut("SvgAssets"),hn=Ut("InfoContainer",!0),Vn=Ut("VersionPragmaFilter"),fr=Ut("operations",!0),rr=Ut("Models",!0),Mr=Ut("Row"),Li=Ut("Col"),Fi=Ut("errors",!0),Ki=Ut("ServersContainer",!0),to=Ut("SchemesContainer",!0),wo=Ut("AuthorizeBtnContainer",!0),bo=Ut("FilterContainer",!0),Mo=mt.isSwagger2(),Ws=mt.isOAS3(),sa=!mt.specStr(),Ma=mt.loadingStatus(),ta=null;if("loading"===Ma&&(ta=Z.default.createElement("div",{className:"info"},Z.default.createElement("div",{className:"loading-container"},Z.default.createElement("div",{className:"loading"})))),"failed"===Ma&&(ta=Z.default.createElement("div",{className:"info"},Z.default.createElement("div",{className:"loading-container"},Z.default.createElement("h4",{className:"title"},"Failed to load API definition."),Z.default.createElement(Fi,null)))),"failedConfig"===Ma){var na=dt.lastError(),aa=na?na.get("message"):"";ta=Z.default.createElement("div",{className:"info failed-config"},Z.default.createElement("div",{className:"loading-container"},Z.default.createElement("h4",{className:"title"},"Failed to load remote configuration."),Z.default.createElement("p",null,aa)))}if(!ta&&sa&&(ta=Z.default.createElement("h4",null,"No API definition provided.")),ta)return Z.default.createElement("div",{className:"swagger-ui"},Z.default.createElement("div",{className:"loading-container"},ta));var Xs=mt.servers(),ml=mt.schemes(),ha=Xs&&Xs.size,Xa=ml&&ml.size,bs=!!mt.securityDefinitions();return Z.default.createElement("div",{className:"swagger-ui"},Z.default.createElement(Bt,null),Z.default.createElement(Vn,{isSwagger2:Mo,isOAS3:Ws,alsoShow:Z.default.createElement(Fi,null)},Z.default.createElement(Fi,null),Z.default.createElement(Mr,{className:"information-container"},Z.default.createElement(Li,{mobile:12},Z.default.createElement(hn,null))),ha||Xa||bs?Z.default.createElement("div",{className:"scheme-container"},Z.default.createElement(Li,{className:"schemes wrapper",mobile:12},ha?Z.default.createElement(Ki,null):null,Xa?Z.default.createElement(to,null):null,bs?Z.default.createElement(wo,null):null)):null,Z.default.createElement(bo,null),Z.default.createElement(Mr,null,Z.default.createElement(Li,{mobile:12,desktop:12},Z.default.createElement(fr,null))),Z.default.createElement(Mr,null,Z.default.createElement(Li,{mobile:12,desktop:12},Z.default.createElement(rr,null)))))}}]),Ct}(Z.default.Component);const HN=(Yn=>{var vn={};return qo.d(vn,Yn),vn})({default:()=>gV()});var Mv={value:"",onChange:function(){},schema:{},keyName:"",required:!1,errors:(0,Dt.List)()},UN=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){return(0,oe.default)(this,Ct),vn.apply(this,arguments)}return(0,ue.default)(Ct,[{key:"componentDidMount",value:function(){var at=this.props,dt=at.dispatchInitialValue,Ut=at.onChange;dt?Ut(at.value):!1===dt&&Ut("")}},{key:"render",value:function(){var at,dt=this.props,mt=dt.schema,Ut=dt.errors,Bt=dt.value,hn=dt.onChange,Vn=dt.getComponent,fr=dt.fn,rr=dt.disabled,Mr=mt&&mt.get?mt.get("format"):null,Li=mt&&mt.get?mt.get("type"):null,Ki=Li?Vn(Mr?(0,o.default)(at="JsonSchema_".concat(Li,"_")).call(at,Mr):"JsonSchema_".concat(Li),!1,{failSilently:!0}):Vn("JsonSchema_string");return Ki||(Ki=Vn("JsonSchema_string")),Z.default.createElement(Ki,(0,i_.default)({},this.props,{errors:Ut,fn:fr,getComponent:Vn,value:Bt,onChange:hn,schema:mt,disabled:rr}))}}]),Ct}(Z.Component);(0,K.default)(UN,"defaultProps",Mv);var BN=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"onChange",function(hn){var Vn=dt.props.schema&&"file"===dt.props.schema.get("type")?hn.target.files[0]:hn.target.value;dt.props.onChange(Vn,dt.props.keyName)}),(0,K.default)((0,qi.default)(dt),"onEnumChange",function(hn){return dt.props.onChange(hn)}),dt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.getComponent,mt=at.value,Ut=at.schema,Bt=at.errors,hn=at.required,Vn=at.description,fr=at.disabled,rr=Ut&&Ut.get?Ut.get("enum"):null,Mr=Ut&&Ut.get?Ut.get("format"):null,Li=Ut&&Ut.get?Ut.get("type"):null,Fi=Ut&&Ut.get?Ut.get("in"):null;if(mt||(mt=""),Bt=Bt.toJS?Bt.toJS():[],rr){var Ki=dt("Select");return Z.default.createElement(Ki,{className:Bt.length?"invalid":"",title:Bt.length?Bt:"",allowedValues:rr,value:mt,allowEmptyValue:!hn,disabled:fr,onChange:this.onEnumChange})}var to=fr||Fi&&"formData"===Fi&&!("FormData"in window),wo=dt("Input");return Li&&"file"===Li?Z.default.createElement(wo,{type:"file",className:Bt.length?"invalid":"",title:Bt.length?Bt:"",onChange:this.onChange,disabled:to}):Z.default.createElement(HN.default,{type:Mr&&"password"===Mr?"password":"text",className:Bt.length?"invalid":"",title:Bt.length?Bt:"",value:mt,minLength:0,debounceTimeout:350,placeholder:Vn,onChange:this.onChange,disabled:to})}}]),Ct}(Z.Component);(0,K.default)(BN,"defaultProps",Mv);var GN=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(at,dt){var mt;return(0,oe.default)(this,Ct),mt=vn.call(this,at,dt),(0,K.default)((0,qi.default)(mt),"onChange",function(){mt.props.onChange(mt.state.value)}),(0,K.default)((0,qi.default)(mt),"onItemChange",function(Ut,Bt){mt.setState(function(hn){return{value:hn.value.set(Bt,Ut)}},mt.onChange)}),(0,K.default)((0,qi.default)(mt),"removeItem",function(Ut){mt.setState(function(Bt){return{value:Bt.value.delete(Ut)}},mt.onChange)}),(0,K.default)((0,qi.default)(mt),"addItem",function(){var Ut=_R(mt.state.value);mt.setState(function(){return{value:Ut.push((0,zn.xi)(mt.state.schema.get("items"),!1,{includeWriteOnly:!0}))}},mt.onChange)}),(0,K.default)((0,qi.default)(mt),"onEnumChange",function(Ut){mt.setState(function(){return{value:Ut}},mt.onChange)}),mt.state={value:_R(at.value),schema:at.schema},mt}return(0,ue.default)(Ct,[{key:"UNSAFE_componentWillReceiveProps",value:function(at){var dt=_R(at.value);dt!==this.state.value&&this.setState({value:dt}),at.schema!==this.state.schema&&this.setState({schema:at.schema})}},{key:"render",value:function(){var at,dt=this,mt=this.props,Ut=mt.getComponent,Bt=mt.required,hn=mt.schema,Vn=mt.errors,fr=mt.fn,rr=mt.disabled;Vn=Vn.toJS?Vn.toJS():(0,xe.default)(Vn)?Vn:[];var Mr,Li,Fi=(0,_.default)(Vn).call(Vn,function(Xs){return"string"==typeof Xs}),Ki=(0,we.default)(at=(0,_.default)(Vn).call(Vn,function(Xs){return void 0!==Xs.needRemove})).call(at,function(Xs){return Xs.error}),to=this.state.value,wo=!!(to&&to.count&&to.count()>0),bo=hn.getIn(["items","enum"]),Mo=hn.getIn(["items","type"]),Ws=hn.getIn(["items","format"]),sa=hn.get("items"),Ma=!1,ta="file"===Mo||"string"===Mo&&"binary"===Ws;if(Mo&&Ws?Mr=Ut((0,o.default)(Li="JsonSchema_".concat(Mo,"_")).call(Li,Ws)):"boolean"!==Mo&&"array"!==Mo&&"object"!==Mo||(Mr=Ut("JsonSchema_".concat(Mo))),Mr||ta||(Ma=!0),bo){var na=Ut("Select");return Z.default.createElement(na,{className:Vn.length?"invalid":"",title:Vn.length?Vn:"",multiple:!0,value:to,disabled:rr,allowedValues:bo,allowEmptyValue:!Bt,onChange:this.onEnumChange})}var aa=Ut("Button");return Z.default.createElement("div",{className:"json-schema-array"},wo?(0,we.default)(to).call(to,function(Xs,ml){var ha,Xa=(0,Dt.fromJS)((0,Xd.default)((0,we.default)(ha=(0,_.default)(Vn).call(Vn,function(bs){return bs.index===ml})).call(ha,function(bs){return bs.error})));return Z.default.createElement("div",{key:ml,className:"json-schema-form-item"},ta?Z.default.createElement(pR,{value:Xs,onChange:function(bs){return dt.onItemChange(bs,ml)},disabled:rr,errors:Xa,getComponent:Ut}):Ma?Z.default.createElement(fR,{value:Xs,onChange:function(bs){return dt.onItemChange(bs,ml)},disabled:rr,errors:Xa}):Z.default.createElement(Mr,(0,i_.default)({},dt.props,{value:Xs,onChange:function(bs){return dt.onItemChange(bs,ml)},disabled:rr,errors:Xa,schema:sa,getComponent:Ut,fn:fr})),rr?null:Z.default.createElement(aa,{className:"btn btn-sm json-schema-form-item-remove ".concat(Ki.length?"invalid":null),title:Ki.length?Ki:"",onClick:function(){return dt.removeItem(ml)}}," - "))}):null,rr?null:Z.default.createElement(aa,{className:"btn btn-sm json-schema-form-item-add ".concat(Fi.length?"invalid":null),title:Fi.length?Fi:"",onClick:this.addItem},"Add ",Mo?"".concat(Mo," "):"","item"))}}]),Ct}(Z.PureComponent);(0,K.default)(GN,"defaultProps",Mv);var fR=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"onChange",function(hn){dt.props.onChange(hn.target.value,dt.props.keyName)}),dt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.value,mt=at.errors,Ut=at.description,Bt=at.disabled;return dt||(dt=""),mt=mt.toJS?mt.toJS():[],Z.default.createElement(HN.default,{type:"text",className:mt.length?"invalid":"",title:mt.length?mt:"",value:dt,minLength:0,debounceTimeout:350,placeholder:Ut,onChange:this.onChange,disabled:Bt})}}]),Ct}(Z.Component);(0,K.default)(fR,"defaultProps",Mv);var pR=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"onFileChange",function(hn){dt.props.onChange(hn.target.files[0],dt.props.keyName)}),dt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,mt=at.errors,Ut=at.disabled,Bt=(0,at.getComponent)("Input"),hn=Ut||!("FormData"in window);return Z.default.createElement(Bt,{type:"file",className:mt.length?"invalid":"",title:mt.length?mt:"",onChange:this.onFileChange,disabled:hn})}}]),Ct}(Z.Component);(0,K.default)(pR,"defaultProps",Mv);var YN=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at,dt;(0,oe.default)(this,Ct);for(var mt=arguments.length,Ut=new Array(mt),Bt=0;Bt<mt;Bt++)Ut[Bt]=arguments[Bt];return dt=vn.call.apply(vn,(0,o.default)(at=[this]).call(at,Ut)),(0,K.default)((0,qi.default)(dt),"onEnumChange",function(hn){return dt.props.onChange(hn)}),dt}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,dt=at.getComponent,mt=at.value,Ut=at.errors,Bt=at.schema,hn=at.required,Vn=at.disabled;Ut=Ut.toJS?Ut.toJS():[];var fr=Bt&&Bt.get?Bt.get("enum"):null,rr=!fr||!hn,Mr=!fr&&(0,Dt.fromJS)(["true","false"]),Li=dt("Select");return Z.default.createElement(Li,{className:Ut.length?"invalid":"",title:Ut.length?Ut:"",value:String(mt),disabled:Vn,allowedValues:fr||Mr,allowEmptyValue:rr,onChange:this.onEnumChange})}}]),Ct}(Z.Component);(0,K.default)(YN,"defaultProps",Mv);var BW=function(Yn){return(0,we.default)(Yn).call(Yn,function(vn){var Ct,dt="string"==typeof vn?vn:"string"==typeof vn.error?vn.error:null;if(!(void 0!==vn.propKey?vn.propKey:vn.index)&&dt)return dt;for(var mt=vn.error,Ut="/".concat(vn.propKey);"object"===(0,n.default)(mt);){var Bt=void 0!==mt.propKey?mt.propKey:mt.index;if(void 0===Bt||(Ut+="/".concat(Bt),!mt.error))break;mt=mt.error}return(0,o.default)(Ct="".concat(Ut,": ")).call(Ct,mt)})},jN=function(Yn){(0,xo.default)(Ct,Yn);var vn=(0,$o.default)(Ct);function Ct(){var at;return(0,oe.default)(this,Ct),at=vn.call(this),(0,K.default)((0,qi.default)(at),"onChange",function(dt){at.props.onChange(dt)}),(0,K.default)((0,qi.default)(at),"handleOnChange",function(dt){at.onChange(dt.target.value)}),at}return(0,ue.default)(Ct,[{key:"render",value:function(){var at=this.props,mt=at.value,Ut=at.errors,Bt=at.disabled,hn=(0,at.getComponent)("TextArea");return Ut=Ut.toJS?Ut.toJS():(0,xe.default)(Ut)?Ut:[],Z.default.createElement("div",null,Z.default.createElement(hn,{className:(0,cf.default)({invalid:Ut.length}),title:Ut.length?BW(Ut).join(", "):"",value:(0,zn.Pz)(mt),disabled:Bt,onChange:this.handleOnChange}))}}]),Ct}(Z.PureComponent);function _R(Yn){return Dt.List.isList(Yn)?Yn:(0,xe.default)(Yn)?(0,Dt.fromJS)(Yn):(0,Dt.List)()}function GW(){return[So.default,_i.default,pi.default,ho.default,ai.default,Cr.default,Wn.default,Yi.default,{components:{App:cr,authorizationPopup:Yr,authorizeBtn:li,AuthorizeBtnContainer:eo,authorizeOperationBtn:_a,auths:ps,AuthItem:Fl,authError:Gl,oauth2:n_,apiKeyAuth:Ou,basicAuth:Pc,clear:co,liveResponse:Co,InitializedInput:dW,info:mW,InfoContainer:gW,JumpToPath:vW,onlineValidatorBadge:os.Z,operations:ks,operation:fo,OperationSummary:xs,OperationSummaryMethod:Bu,OperationSummaryPath:Hl,highlightCode:b_,responses:wm,response:lg,ResponseExtension:gm,responseBody:qC,parameters:dS,parameterRow:r2,execute:o2,headers:Ml,errors:mc,contentType:Cv,overview:lW,footer:yW,FilterContainer:EW,ParamBody:FN,curl:bW,schemes:TW,SchemesContainer:CW,modelExample:OW,ModelWrapper:AW,ModelCollapse:LN,Model:DW.Z,Models:RW,EnumModel:xW,ObjectModel:PW,ArrayModel:NW,PrimitiveModel:IW,Property:FW,TryItOutButton:kN,Markdown:HW.Z,BaseLayout:UW,VersionPragmaFilter:$N,VersionStamp:LW,OperationExt:ol,OperationExtRow:cc,ParameterExt:t2,ParameterIncludeEmpty:fS,OperationTag:Ns,OperationContainer:Lt,DeepLink:kW,InfoUrl:hW,InfoBasePath:fW,SvgAssets:$W,Example:np,ExamplesSelect:yd,ExamplesSelectValueRetainer:Y_}},{components:t},Kn.default,{components:i},Nn.default,Zi.default,us.default,Zo.default,pa.default,lo.default,(0,va.default)()]}(0,K.default)(jN,"defaultProps",Mv);var YW=qo(7451);function zN(){return[GW,YW.default]}var jW=qo(5308),zW=!0,VW="ga7e23b5",ZW="4.12.0",WW="Fri, 03 Jun 2022 17:07:59 GMT";function hR(Yn){var vn,Ct,at;Jn.Z.versions=Jn.Z.versions||{},Jn.Z.versions.swaggerUi={version:ZW,gitRevision:VW,gitDirty:zW,buildTimestamp:WW};var dt={dom_id:null,domNode:null,spec:{},url:"",urls:null,layout:"BaseLayout",docExpansion:"list",maxDisplayedTags:null,filter:null,validatorUrl:"https://validator.swagger.io/validator",oauth2RedirectUrl:(0,o.default)(vn=(0,o.default)(Ct="".concat(window.location.protocol,"//")).call(Ct,window.location.host)).call(vn,window.location.pathname.substring(0,(0,l.default)(at=window.location.pathname).call(at,"/")),"/oauth2-redirect.html"),persistAuthorization:!1,configs:{},custom:{},displayOperationId:!1,displayRequestDuration:!1,deepLinking:!1,tryItOutEnabled:!1,requestInterceptor:function(Fi){return Fi},responseInterceptor:function(Fi){return Fi},showMutatedRequest:!0,defaultModelRendering:"example",defaultModelExpandDepth:1,defaultModelsExpandDepth:1,showExtensions:!1,showCommonExtensions:!1,withCredentials:void 0,requestSnippetsEnabled:!1,requestSnippets:{generators:{curl_bash:{title:"cURL (bash)",syntax:"bash"},curl_powershell:{title:"cURL (PowerShell)",syntax:"powershell"},curl_cmd:{title:"cURL (CMD)",syntax:"bash"}},defaultExpanded:!0,languages:null},supportedSubmitMethods:["get","put","post","delete","options","head","patch","trace"],queryConfigEnabled:!1,presets:[zN],plugins:[],pluginsOptions:{pluginLoadType:"legacy"},initialState:{},fn:{},components:{},syntaxHighlight:{activated:!0,theme:"agate"}},mt=Yn.queryConfigEnabled?(0,zn.UG)():{},Ut=Yn.domNode;delete Yn.domNode;var Bt=G()({},dt,Yn,mt),hn={system:{configs:Bt.configs},plugins:Bt.presets,pluginsOptions:Bt.pluginsOptions,state:G()({layout:{layout:Bt.layout,filter:(0,_.default)(Bt)},spec:{spec:"",url:Bt.url},requestSnippets:Bt.requestSnippets},Bt.initialState)};if(Bt.initialState)for(var Vn in Bt.initialState)Object.prototype.hasOwnProperty.call(Bt.initialState,Vn)&&void 0===Bt.initialState[Vn]&&delete hn.state[Vn];var fr=new $r(hn);fr.register([Bt.plugins,function(){return{fn:Bt.fn,components:Bt.components,state:Bt.state}}]);var rr=fr.getSystem(),Mr=function(Fi){var Ki=rr.specSelectors.getLocalConfig?rr.specSelectors.getLocalConfig():{},to=G()({},Ki,Bt,Fi||{},mt);if(Ut&&(to.domNode=Ut),fr.setConfigs(to),rr.configsActions.loaded(),null!==Fi&&(!mt.url&&"object"===(0,n.default)(to.spec)&&(0,v.default)(to.spec).length?(rr.specActions.updateUrl(""),rr.specActions.updateLoadingStatus("success"),rr.specActions.updateSpec((0,O.default)(to.spec))):rr.specActions.download&&to.url&&!to.urls&&(rr.specActions.updateUrl(to.url),rr.specActions.download(to.url))),to.domNode)rr.render(to.domNode,"App");else if(to.dom_id){var wo=document.querySelector(to.dom_id);rr.render(wo,"App")}else null===to.dom_id||null===to.domNode||console.error("Skipped rendering: no `dom_id` or `domNode` was specified");return rr},Li=mt.config||Bt.configUrl;return Li&&rr.specActions&&rr.specActions.getConfigByUrl?(rr.specActions.getConfigByUrl({url:Li,loadRemoteConfig:!0,requestInterceptor:Bt.requestInterceptor,responseInterceptor:Bt.responseInterceptor},Mr),rr):Mr()}hR.presets={apis:zN},hR.plugins=jW.default;const JW=hR})();var yV=EN.Z;let EV=(()=>{class t{ngOnInit(){yV({url:window.location.origin+"/docs/openapi.json",dom_id:"#swagger-ui",layout:"BaseLayout"})}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-api-docs"]],decls:1,vars:0,consts:[["id","swagger-ui",1,"apiDocs"]],template:function(n,o){1&n&&e._UZ(0,"div",0)},styles:[".apiDocs[_ngcontent-%COMP%]{background:#f8f9fa;font-size:18px!important;margin-top:-48px!important}"]}),t})();var aR=s(83357),SV=s(4268),SN=s(45510);let bN=(()=>{class t{constructor(n,o){this.router=n,this.authStorageService=o}canActivate(n,o){return!(this.authStorageService.isLoggedIn()&&!this.authStorageService.isSSO()&&this.authStorageService.getPwdUpdateRequired()&&(this.router.navigate(["/login-change-password"],{queryParams:{returnUrl:o.url}}),1))}canActivateChild(n,o){return this.canActivate(n,o)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(Ee.F0),e.LFG(Do.j))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var lR=s(4222),W0=s(54462);let TN=(()=>{class t{constructor(n){this.authStorageService=n}canActivate(){if(!this.authStorageService.isSSO())return!0;throw new Yy.mM}canActivateChild(){return this.canActivate()}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(Do.j))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const bV=["crushInfoTabs"],TV=["crushDeletionBtn"],CV=["ecpInfoTabs"],MV=["ecpDeletionBtn"];function OV(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",18),e.SDv(1,19),e.qZA())}function AV(t,i){if(1&t&&(e.ynx(0),e.YNc(1,OV,2,0,"cd-alert-panel",17),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!n.editing)}}function DV(t,i){1&t&&(e.TgZ(0,"span",20),e.SDv(1,21),e.qZA())}function RV(t,i){1&t&&(e.TgZ(0,"span",20),e.SDv(1,22),e.qZA())}function xV(t,i){1&t&&(e.TgZ(0,"div",9)(1,"label",24),e.SDv(2,25),e.qZA(),e.TgZ(3,"div",12)(4,"select",26)(5,"option",27),e.SDv(6,28),e.qZA(),e.TgZ(7,"option",29),e.SDv(8,30),e.qZA()()()())}function wV(t,i){1&t&&(e.TgZ(0,"span",20),e.SDv(1,34),e.qZA())}function PV(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",9)(1,"label",31),e.SDv(2,32),e.qZA(),e.TgZ(3,"div",12)(4,"input",33),e.NdJ("focus",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.labelFocus.next(l.target.value))})("click",function(l){e.CHM(n);const _=e.oxw(3);return e.KtG(_.labelClick.next(l.target.value))}),e.qZA(),e.YNc(5,wV,2,0,"span",14),e.qZA()()}if(2&t){e.oxw(2);const n=e.MAs(2),o=e.oxw();e.xp6(4),e.Q6J("ngbTypeahead",o.searchLabels),e.xp6(1),e.Q6J("ngIf",o.form.showError("label",n,"required"))}}function NV(t,i){if(1&t&&(e.TgZ(0,"div",9)(1,"label",35),e.SDv(2,36),e.qZA(),e.TgZ(3,"div",12),e._UZ(4,"cd-select-badges",37),e.qZA()()),2&t){const n=e.oxw(3);e.xp6(4),e.Q6J("data",n.form.controls.hosts.value)("options",n.hosts.options)("messages",n.hosts.messages)}}function IV(t,i){if(1&t&&(e.ynx(0),e.YNc(1,xV,9,0,"div",23),e.YNc(2,PV,6,2,"div",23),e.YNc(3,NV,5,3,"div",23),e.BQk()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("ngIf",!n.editing),e.xp6(1),e.Q6J("ngIf","label"===n.form.controls.placement.value&&!n.editing),e.xp6(1),e.Q6J("ngIf","hosts"===n.form.controls.placement.value&&!n.editing)}}function FV(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",1)(1,"form",2,3)(4,"div",4)(5,"div",5),e.SDv(6,6),e.ALo(7,"titlecase"),e.ALo(8,"upperFirst"),e.qZA(),e.YNc(9,AV,2,1,"ng-container",7),e.TgZ(10,"div",8)(11,"div",9)(12,"label",10),e.SDv(13,11),e.qZA(),e.TgZ(14,"div",12),e._UZ(15,"input",13),e.YNc(16,DV,2,0,"span",14),e.YNc(17,RV,2,0,"span",14),e.qZA()(),e.YNc(18,IV,4,3,"ng-container",7),e.qZA(),e.TgZ(19,"div",15)(20,"cd-form-button-panel",16),e.NdJ("submitActionEvent",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.submit())}),e.ALo(21,"titlecase"),e.ALo(22,"upperFirst"),e.qZA()()()()()}if(2&t){const n=i.ngIf,o=e.MAs(3),l=e.oxw();e.xp6(1),e.Q6J("formGroup",l.form),e.xp6(7),e.pQV(e.lcZ(7,9,l.action))(e.lcZ(8,11,l.resource)),e.QtT(6),e.xp6(1),e.Q6J("ngIf",!n.available),e.xp6(7),e.Q6J("ngIf",l.form.showError("name",o,"required")),e.xp6(1),e.Q6J("ngIf",l.form.showError("name",o,"pattern")),e.xp6(1),e.Q6J("ngIf",n.available),e.xp6(2),e.Q6J("form",l.form)("submitText",e.lcZ(21,13,l.action)+" "+e.lcZ(22,15,l.resource))}}let CN=(()=>{class t extends $c.E{constructor(n,o,l,_,v,O,P,G){super(),this.router=n,this.taskWrapperService=o,this.orchService=l,this.formBuilder=_,this.actionLabels=v,this.hostService=O,this.cephfsService=P,this.route=G,this.labelFocus=new Di.xQ,this.labelClick=new Di.xQ,this.icons=Rr.P,this.searchLabels=K=>(0,Pi.T)(K.pipe((0,cs.b)(200),(0,Yo.x)()),this.labelFocus,this.labelClick.pipe((0,y.h)(()=>!this.typeahead.isPopupOpen()))).pipe((0,Ec.U)(oe=>this.labels.filter(ue=>ue.toLowerCase().indexOf(oe.toLowerCase())>-1).slice(0,10))),this.editing=this.router.url.startsWith(`/cephfs/${yr.MQ.EDIT}`),this.action=this.editing?this.actionLabels.EDIT:this.actionLabels.CREATE,this.resource="File System",this.hosts={options:[],messages:new Rd.a({empty:"There are no hosts.",filter:"Filter hosts"})},this.createForm()}createForm(){this.orchService.status().subscribe(n=>{this.hasOrchestrator=n.available}),this.form=this.formBuilder.group({name:new rn.NI("",{validators:[rn.kI.pattern(/^[a-zA-Z][.A-Za-z0-9_-]+$/),rn.kI.required]}),placement:["hosts"],hosts:[[]],label:[null,[De.h.requiredIf({placement:"label",unmanaged:!1})]],unmanaged:[!1]})}ngOnInit(){if(this.editing)this.route.params.subscribe(n=>{this.currentVolumeName=n.name,this.form.get("name").setValue(this.currentVolumeName)});else{const n=new Sc.E(()=>{});this.hostService.list(n.toParams(),"false").subscribe(o=>{const l=[];Xe().forEach(o,_=>{if(Xe().get(_,"sources.orchestrator",!1)){const v=new Ds.$(!1,Xe().get(_,"hostname"),"");l.push(v)}}),this.hosts.options=[...l]}),this.hostService.getLabels().subscribe(o=>{this.labels=o})}this.orchStatus$=this.orchService.status()}submit(){const n=this.form.get("name").value,o="cephfs";if(this.editing)this.taskWrapperService.wrapTaskAroundCall({task:new Fr.R(`${o}/${yr.MQ.EDIT}`,{volumeName:n}),call:this.cephfsService.rename(this.currentVolumeName,n)}).subscribe({error:()=>{this.form.setErrors({cdSubmitButton:!0})},complete:()=>{this.router.navigate([o])}});else{let l=this.form.getRawValue();const _={placement:{},unmanaged:l.unmanaged};switch(l.placement){case"hosts":l.hosts.length>0&&(_.placement.hosts=l.hosts);break;case"label":_.placement.label=l.label}const v=this;this.taskWrapperService.wrapTaskAroundCall({task:new Fr.R(`${o}/${yr.MQ.CREATE}`,{volumeName:n}),call:this.cephfsService.create(this.form.get("name").value,_)}).subscribe({error(){v.form.setErrors({cdSubmitButton:!0})},complete:()=>{this.router.navigate([o])}})}}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Ee.F0),e.Y36(Gr.P),e.Y36(td),e.Y36(Qi.O),e.Y36(yr.p4),e.Y36(Wa.x),e.Y36(kn),e.Y36(Ee.gz))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-cephfs-form"]],viewQuery:function(n,o){if(1&n&&(e.Gf(bV,5),e.Gf(TV,5),e.Gf(CV,5),e.Gf(MV,5),e.Gf(yi.dR,5)),2&n){let l;e.iGM(l=e.CRH())&&(o.crushInfoTabs=l.first),e.iGM(l=e.CRH())&&(o.crushDeletionBtn=l.first),e.iGM(l=e.CRH())&&(o.ecpInfoTabs=l.first),e.iGM(l=e.CRH())&&(o.ecpDeletionBtn=l.first),e.iGM(l=e.CRH())&&(o.typeahead=l.first)}},features:[e.qOj],decls:2,vars:3,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue;return i="" + "\ufffd0\ufffd" + " " + "\ufffd1\ufffd" + "",n="Name",o="Name...",l="Orchestrator is not configured. Deploy MDS daemons manually after creating the volume.",_="This field is required!",v="File System name should start with a letter and can only contain letters, numbers, '.', '-' or '_'",O="Placement",P="Hosts",G="Label",K="Label",oe="This field is required.",ue="Hosts",[["class","cd-col-form",4,"ngIf"],[1,"cd-col-form"],["novalidate","",3,"formGroup"],["frm","ngForm","formDir","ngForm"],[1,"card"],[1,"card-header"],i,[4,"ngIf"],[1,"card-body"],[1,"form-group","row"],["for","name",1,"cd-col-form-label","required"],n,[1,"cd-col-form-input"],["id","name","name","name","type","text","placeholder",o,"formControlName","name","autofocus","",1,"form-control"],["class","invalid-feedback",4,"ngIf"],[1,"card-footer"],["wrappingClass","text-right",3,"form","submitText","submitActionEvent"],["type","info","class","m-3","spacingClass","mt-3",4,"ngIf"],["type","info","spacingClass","mt-3",1,"m-3"],l,[1,"invalid-feedback"],_,v,["class","form-group row",4,"ngIf"],["for","placement",1,"cd-col-form-label"],O,["id","placement","formControlName","placement",1,"form-select"],["value","hosts"],P,["value","label"],G,["for","label",1,"cd-col-form-label"],K,["id","label","type","text","formControlName","label",1,"form-control",3,"ngbTypeahead","focus","click"],oe,["for","hosts",1,"cd-col-form-label"],ue,["id","hosts",3,"data","options","messages"]]},template:function(n,o){1&n&&(e.YNc(0,FV,23,17,"div",0),e.ALo(1,"async")),2&n&&e.Q6J("ngIf",e.lcZ(1,1,o.orchStatus$))},dependencies:[f.O5,bc.m,Zu.G,rl.p,Tu.U,st.o,za.b,Va.P,Os.V,rn._Y,rn.YN,rn.Kr,rn.Fj,rn.EJ,rn.JJ,rn.JL,rn.sg,rn.u,yi.dR,f.Ov,f.rS,Cu.m]}),t})();var LV=s(94458),$V=s(51307);let uR=(()=>{class t extends h_.S{constructor(n,o){super(),this.http=n,this.summaryService=o,this.baseURL="api/cluster/upgrade",this.upgradableServiceTypes=["mgr","mon","crash","osd","mds","rgw","rbd-mirror","cephfs-mirror","iscsi","nfs"]}list(){return this.http.get(this.baseURL).pipe((0,Ec.U)(n=>this.versionAvailableForUpgrades(n)))}versionAvailableForUpgrades(n){let o="";this.summaryService.subscribe(_=>{o=_.version.replace("ceph version ","").split("-")[0]});const l=n.versions.filter(_=>{const v=o.split("."),O=_.split(".");return v[0]===O[0]&&(v[1]<O[1]||v[2]<O[2])});return n.versions=l.sort(),n}start(n,o){return this.http.post(`${this.baseURL}/start`,{image:o,version:n})}pause(){return this.http.put(`${this.baseURL}/pause`,null)}resume(){return this.http.put(`${this.baseURL}/resume`,null)}stop(){return this.http.put(`${this.baseURL}/stop`,null)}status(){return this.http.get(`${this.baseURL}/status`)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN),e.LFG(zh.J))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const HV=["class","component"];function UV(t,i){1&t&&(e.TgZ(0,"cd-alert-panel",11),e.SDv(1,12),e.qZA())}function BV(t,i){1&t&&(e.TgZ(0,"option",22),e.SDv(1,23),e.qZA())}function GV(t,i){1&t&&(e.TgZ(0,"option",24),e.SDv(1,25),e.qZA()),2&t&&e.Q6J("ngValue",null)}function YV(t,i){1&t&&(e.TgZ(0,"option",24),e.SDv(1,26),e.qZA()),2&t&&e.Q6J("ngValue",null)}function jV(t,i){if(1&t&&(e.TgZ(0,"option",27),e._uU(1),e.qZA()),2&t){const n=i.$implicit;e.Q6J("value",n),e.xp6(1),e.Oqu(n)}}function zV(t,i){1&t&&(e.TgZ(0,"span",28),e.SDv(1,29),e.qZA())}const VV=function(t){return{required:t}};function ZV(t,i){if(1&t&&(e.TgZ(0,"div",13)(1,"label",14),e.SDv(2,15),e.qZA(),e.TgZ(3,"div",16)(4,"select",17),e.YNc(5,BV,2,0,"option",18),e.YNc(6,GV,2,1,"option",19),e.YNc(7,YV,2,1,"option",19),e.YNc(8,jV,2,2,"option",20),e.qZA(),e.YNc(9,zV,2,0,"span",21),e.qZA()()),2&t){const n=e.oxw(),o=e.MAs(7);e.xp6(1),e.Q6J("ngClass",e.VKq(6,VV,!n.showImageField)),e.xp6(4),e.Q6J("ngIf",null===n.versions),e.xp6(1),e.Q6J("ngIf",null!==n.versions&&0===n.versions.length),e.xp6(1),e.Q6J("ngIf",null!==n.versions&&n.versions.length>0),e.xp6(1),e.Q6J("ngForOf",n.versions),e.xp6(1),e.Q6J("ngIf",n.upgradeForm.showError("availableVersions",o,"required"))}}function WV(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",13)(1,"div",30)(2,"div",31)(3,"input",32),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.useImage())}),e.qZA(),e.TgZ(4,"label",33),e.SDv(5,34),e.qZA()()()()}}function JV(t,i){1&t&&(e.TgZ(0,"span",28),e.SDv(1,38),e.qZA())}function QV(t,i){if(1&t&&(e.TgZ(0,"div",13)(1,"label",35),e.SDv(2,36),e.qZA(),e.TgZ(3,"div",16),e._UZ(4,"input",37),e.YNc(5,JV,2,0,"span",21),e.qZA()()),2&t){const n=e.oxw(),o=e.MAs(7);e.xp6(5),e.Q6J("ngIf",n.upgradeForm.showError("customImageName",o,"required"))}}let KV=(()=>{class t{constructor(n,o,l,_,v){this.actionLabels=n,this.authStorageService=o,this.activeModal=l,this.upgradeService=_,this.notificationService=v,this.icons=Rr.P,this.showImageField=!1,this.permission=this.authStorageService.getPermissions().configOpt}ngOnInit(){if(this.upgradeForm=new fu.d({availableVersions:new rn.NI(null,[rn.kI.required]),useImage:new rn.NI(!1),customImageName:new rn.NI(null)}),void 0===this.versions){this.upgradeForm.get("availableVersions").clearValidators();const o=this.upgradeForm.get("customImageName");o.setValidators(rn.kI.required),o.updateValueAndValidity()}}startUpgrade(){const n=this.upgradeForm.getValue("availableVersions"),o=this.upgradeForm.getValue("customImageName");this.upgradeService.start(n,o).subscribe({next:()=>{this.notificationService.show(Ho.k.success,"Started upgrading the cluster")},error:l=>{this.upgradeForm.setErrors({cdSubmitButton:!0}),this.notificationService.show(Ho.k.error,"Failed to start the upgrade",l)},complete:()=>{this.activeModal.close()}})}useImage(){this.showImageField=!this.showImageField;const n=this.upgradeForm.get("availableVersions"),o=this.upgradeForm.get("customImageName");this.showImageField?(n.disable(),n.clearValidators(),o.setValidators(rn.kI.required),o.updateValueAndValidity()):(n.enable(),n.setValidators(rn.kI.required),n.updateValueAndValidity(),o.clearValidators())}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yr.p4),e.Y36(Do.j),e.Y36(yi.Kz),e.Y36(uR),e.Y36(Ui.g))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-upgrade-start-modal",8,"component"]],attrs:HV,decls:15,vars:8,consts:function(){let i,n,o,l,_,v,O,P,G,K;return i="Upgrade Cluster",n="Make sure to put the correct image. Passing an incorrect image can lead the cluster into an undesired state.",o="New Version",l="Loading...",_="-- No version available --",v="-- Select a version --",O="This field is required!",P="Use image",G="Image",K="This field is required!",[[3,"modalRef"],[1,"modal-title"],i,[1,"modal-content"],["name","upgradeForm","novalidate","",1,"form",3,"formGroup"],["formDir","ngForm"],[1,"modal-body"],["type","warning","spacingClass","mb-3",4,"ngIf"],["class","form-group row",4,"ngIf"],[1,"modal-footer"],[3,"form","submitText","submitActionEvent"],["type","warning","spacingClass","mb-3"],n,[1,"form-group","row"],["for","availableVersions",1,"cd-col-form-label",3,"ngClass"],o,[1,"cd-col-form-input"],["id","availableVersions","name","availableVersions","formControlName","availableVersions",1,"form-select"],["ngValue","null",4,"ngIf"],[3,"ngValue",4,"ngIf"],[3,"value",4,"ngFor","ngForOf"],["class","invalid-feedback",4,"ngIf"],["ngValue","null"],l,[3,"ngValue"],_,v,[3,"value"],[1,"invalid-feedback"],O,[1,"cd-col-form-offset"],[1,"custom-control","custom-checkbox"],["type","checkbox","id","useImage","name","useImage","formControlName","useImage",1,"custom-control-input",3,"click"],["for","useImage",1,"custom-control-label"],P,["for","customImageName",1,"cd-col-form-label","required"],G,["type","text","id","customImageName","name","customImageName","formControlName","customImageName",1,"form-control"],K]},template:function(n,o){1&n&&(e.TgZ(0,"cd-modal",0),e.ynx(1,1)(2),e.SDv(3,2),e.BQk(),e._uU(4,"\xa0 "),e.BQk(),e.ynx(5,3),e.TgZ(6,"form",4,5)(8,"div",6),e.YNc(9,UV,2,0,"cd-alert-panel",7),e.YNc(10,ZV,10,8,"div",8),e.YNc(11,WV,6,0,"div",8),e.YNc(12,QV,6,1,"div",8),e.qZA(),e.TgZ(13,"div",9)(14,"cd-form-button-panel",10),e.NdJ("submitActionEvent",function(){return o.startUpgrade()}),e.qZA()()(),e.BQk(),e.qZA()),2&n&&(e.Q6J("modalRef",o.activeModal),e.xp6(6),e.Q6J("formGroup",o.upgradeForm),e.xp6(3),e.Q6J("ngIf",o.showImageField),e.xp6(1),e.Q6J("ngIf",o.versions),e.xp6(1),e.Q6J("ngIf",o.versions),e.xp6(1),e.Q6J("ngIf",o.showImageField||!o.versions),e.xp6(2),e.Q6J("form",o.upgradeForm)("submitText",o.actionLabels.START_UPGRADE))},dependencies:[f.mk,f.sg,f.O5,al.z,Zu.G,rl.p,st.o,za.b,Va.P,Os.V,rn._Y,rn.YN,rn.Kr,rn.Fj,rn.Wl,rn.EJ,rn.JJ,rn.JL,rn.sg,rn.u]}),t})();var XV=s(23240);const J0=function(t){return[t]};function qV(t,i){if(1&t&&(e.TgZ(0,"h5"),e.tHW(1,31),e._UZ(2,"i",32),e.N_p(),e.qZA()),2&t){const n=e.oxw(5);e.xp6(2),e.Q6J("ngClass",e.VKq(2,J0,n.icons.spinner)),e.pQV(null==n.executingTasks?null:n.executingTasks.progress),e.QtT(1)}}const KC=function(t,i){return[t,i]};function eZ(t,i){if(1&t&&(e.TgZ(0,"h5"),e.tHW(1,33),e._UZ(2,"i",32),e.N_p(),e.qZA()),2&t){const n=e.oxw(5);e.xp6(2),e.Q6J("ngClass",e.WLB(2,KC,n.icons.spin,n.icons.spinner)),e.pQV(null==n.executingTasks?null:n.executingTasks.progress),e.QtT(1)}}function tZ(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",27),e.YNc(2,qV,3,4,"h5",16),e.TgZ(3,"a",28),e.SDv(4,29),e.qZA()(),e.YNc(5,eZ,3,5,"ng-template",null,30,e.W1O),e.BQk()),2&t){const n=e.MAs(6),o=e.oxw().ngIf;e.xp6(2),e.Q6J("ngIf",o.is_paused)("ngIfElse",n)}}function nZ(t,i){if(1&t&&(e.TgZ(0,"cd-card",26),e.YNc(1,tZ,7,2,"ng-container",16),e.qZA()),2&t){const n=i.ngIf;e.oxw();const o=e.MAs(31);e.xp6(1),e.Q6J("ngIf",n.in_progress)("ngIfElse",o)}}function rZ(t,i){if(1&t&&(e.TgZ(0,"li")(1,"span",35),e.ALo(2,"healthColor"),e._uU(3),e.qZA(),e._uU(4),e.qZA()),2&t){const n=i.$implicit;e.xp6(1),e.ekj("health-warn-description","HEALTH_WARN"===n.severity),e.Q6J("ngStyle",e.lcZ(2,5,n.severity)),e.xp6(2),e.hij(" ",n.type,""),e.xp6(1),e.hij(": ",n.summary.message," ")}}function iZ(t,i){if(1&t&&(e.TgZ(0,"ul"),e.YNc(1,rZ,5,7,"li",34),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",n.health.checks)}}function oZ(t,i){1&t&&e._UZ(0,"i",38)}function sZ(t,i){if(1&t&&(e.TgZ(0,"div",36),e.ALo(1,"healthColor"),e._uU(2),e.ALo(3,"uppercase"),e.ALo(4,"healthLabel"),e.YNc(5,oZ,1,0,"i",37),e.qZA()),2&t){const n=e.oxw().ngIf,o=e.MAs(10);e.Q6J("ngStyle",e.lcZ(1,4,n.health.status))("ngbPopover",o),e.xp6(2),e.hij(" ",e.lcZ(3,6,e.lcZ(4,8,n.health.status))," "),e.xp6(3),e.Q6J("ngIf","HEALTH_OK"!==(null==n.health?null:n.health.status))}}function aZ(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"div",35),e.ALo(2,"healthColor"),e._uU(3),e.ALo(4,"uppercase"),e.ALo(5,"healthLabel"),e.qZA(),e.BQk()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.Q6J("ngStyle",e.lcZ(2,2,n.health.status)),e.xp6(2),e.hij(" ",e.lcZ(4,4,e.lcZ(5,6,n.health.status))," ")}}function lZ(t,i){if(1&t&&e._UZ(0,"i",39),2&t){const n=e.oxw(3);e.Q6J("ngClass",e.VKq(1,J0,n.icons.success))}}function uZ(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"dt",40),e.SDv(2,43),e.qZA(),e.TgZ(3,"dd",42),e._uU(4),e.qZA(),e.TgZ(5,"dt",40),e.SDv(6,44),e.qZA(),e.TgZ(7,"dd",42),e._uU(8),e.qZA(),e.BQk()),2&t){const n=i.ngIf;e.xp6(4),e.Oqu(n.image),e.xp6(4),e.Oqu(n.registry)}}function cZ(t,i){if(1&t&&(e.TgZ(0,"dl",21)(1,"dt",40),e.SDv(2,41),e.qZA(),e.TgZ(3,"dd",42),e._uU(4),e.qZA(),e.YNc(5,uZ,9,2,"ng-container",16),e.ALo(6,"async"),e.qZA()),2&t){const n=i.ngIf,o=e.oxw(3),l=e.MAs(8);e.xp6(4),e.Oqu(n),e.xp6(1),e.Q6J("ngIf",e.lcZ(6,3,o.info$))("ngIfElse",l)}}function dZ(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"legend",22),e.SDv(2,45),e.qZA(),e.TgZ(3,"div"),e._UZ(4,"cd-table",46,47),e.qZA(),e.BQk()),2&t){const n=i.ngIf,o=e.oxw(3);e.xp6(4),e.Q6J("data",n)("columns",o.columns)("limit",5)}}function fZ(t,i){if(1&t){const n=e.EpF();e.ynx(0),e.TgZ(1,"div",49),e.ALo(2,"mgrSummary"),e.TgZ(3,"button",50),e.NdJ("click",function(){e.CHM(n);const l=e.oxw().ngIf,_=e.oxw(4);return e.KtG(_.upgradeNow(l.versions[l.versions.length-1]))}),e.SDv(4,51),e.ALo(5,"mgrSummary"),e.qZA()(),e.TgZ(6,"a",52),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(5);return e.KtG(l.startUpgradeModal())}),e.SDv(7,53),e.qZA(),e.BQk()}if(2&t){const n=e.oxw().ngIf,o=e.oxw(2).ngIf;e.xp6(1),e.Q6J("ngbTooltip",e.lcZ(2,3,o.mgr_map).total<=1?"To upgrade, you need minimum 2 mgr daemons.":""),e.xp6(2),e.Q6J("disabled",e.lcZ(5,5,o.mgr_map).total<=1),e.xp6(2),e.pQV(n.versions[n.versions.length-1]),e.QtT(4)}}function pZ(t,i){if(1&t&&(e.TgZ(0,"div",12),e.YNc(1,fZ,8,7,"ng-container",16),e.qZA()),2&t){const n=i.ngIf;e.oxw(4);const o=e.MAs(2);e.xp6(1),e.Q6J("ngIf",n.versions.length>0)("ngIfElse",o)}}function _Z(t,i){if(1&t&&(e.YNc(0,pZ,2,2,"div",48),e.ALo(1,"async")),2&t){const n=e.oxw(3),o=e.MAs(6);e.Q6J("ngIf",e.lcZ(1,2,n.info$))("ngIfElse",o)}}function hZ(t,i){if(1&t&&(e.ynx(0),e.YNc(1,nZ,2,2,"cd-card",10),e.ALo(2,"async"),e.TgZ(3,"cd-card",11)(4,"div",12)(5,"h5"),e._uU(6),e.qZA()()(),e.TgZ(7,"cd-card",13)(8,"div",12),e.YNc(9,iZ,2,1,"ng-template",null,14,e.W1O),e.YNc(11,sZ,6,10,"ng-template",null,15,e.W1O),e.YNc(13,aZ,6,8,"ng-container",16),e.qZA()(),e.TgZ(14,"cd-card",17)(15,"div",12)(16,"h5"),e.YNc(17,lZ,1,3,"i",18),e.ALo(18,"mgrSummary"),e._uU(19),e.ALo(20,"mgrSummary"),e.qZA()()(),e.TgZ(21,"div",19),e.YNc(22,cZ,7,5,"dl",20),e.ALo(23,"async"),e.TgZ(24,"div",21),e.YNc(25,dZ,6,3,"ng-container",9),e.ALo(26,"async"),e.qZA()(),e.TgZ(27,"legend",22),e.SDv(28,23),e.qZA(),e._UZ(29,"cd-logs",24),e.YNc(30,_Z,2,4,"ng-template",null,25,e.W1O),e.BQk()),2&t){const n=i.ngIf,o=e.MAs(12),l=e.oxw(2),_=e.MAs(4);e.xp6(1),e.Q6J("ngIf",e.lcZ(2,15,l.upgradeStatus$)),e.xp6(5),e.Oqu(l.version),e.xp6(7),e.Q6J("ngIf",!(null!=n.health&&null!=n.health.checks&&n.health.checks.length))("ngIfElse",o),e.xp6(4),e.Q6J("ngIf",e.lcZ(18,17,n.mgr_map).total>1)("ngIfElse",_),e.xp6(2),e.hij(" ",e.lcZ(20,19,n.mgr_map).total," "),e.xp6(3),e.Q6J("ngIf",e.lcZ(23,21,l.fsid$)),e.xp6(3),e.Q6J("ngIf",e.lcZ(26,23,l.daemons$)),e.xp6(4),e.Q6J("showAuditLogs",!1)("showDaemonLogs",!1)("showNavLinks",!1)("showFilterTools",!1)("showDownloadCopyButton",!1)("scrollable",!0)}}function mZ(t,i){if(1&t&&(e.TgZ(0,"div",8),e.YNc(1,hZ,32,25,"ng-container",9),e.ALo(2,"async"),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,n.healthData$))}}function gZ(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"span",54),e.tHW(1,55),e._UZ(2,"i",39),e.N_p(),e.qZA(),e.TgZ(3,"a",56),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.startUpgradeModal())}),e.SDv(4,57),e.qZA()}if(2&t){const n=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(1,J0,n.icons.success))}}function vZ(t,i){if(1&t&&e._UZ(0,"i",58),2&t){const n=e.oxw();e.Q6J("ngClass",e.VKq(1,J0,n.icons.warning))}}function yZ(t,i){if(1&t&&(e.TgZ(0,"div",12)(1,"button",59),e.tHW(2,60),e._UZ(3,"i",32),e.N_p(),e.qZA()()),2&t){const n=e.oxw(2);e.xp6(1),e.Q6J("disabled",!0),e.xp6(2),e.Q6J("ngClass",e.WLB(2,KC,n.icons.spin,n.icons.spinner))}}function EZ(t,i){if(1&t&&e.YNc(0,yZ,4,5,"div",48),2&t){const n=e.oxw(),o=e.MAs(10);e.Q6J("ngIf",!n.errorMessage)("ngIfElse",o)}}function SZ(t,i){if(1&t&&(e.TgZ(0,"div",21)(1,"span",62),e.tHW(2,63),e._UZ(3,"i",32),e.N_p(),e.qZA()()),2&t){const n=e.oxw(2);e.xp6(3),e.Q6J("ngClass",e.WLB(1,KC,n.icons.spin,n.icons.spinner))}}function bZ(t,i){if(1&t&&e.YNc(0,SZ,4,4,"div",61),2&t){const n=e.oxw(),o=e.MAs(12);e.Q6J("ngIf",!n.errorMessage)("ngIfElse",o)}}function TZ(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"div",12)(1,"span",64),e.tHW(2,65),e._UZ(3,"i",32),e.N_p(),e.qZA(),e.TgZ(4,"a",56),e.NdJ("click",function(){e.CHM(n);const l=e.oxw();return e.KtG(l.startUpgradeModal())}),e.SDv(5,66),e.qZA()()}if(2&t){const n=e.oxw();e.xp6(3),e.Q6J("ngClass",e.VKq(2,J0,n.icons.danger)),e.pQV(n.errorMessage),e.QtT(2)}}function CZ(t,i){if(1&t&&(e.TgZ(0,"span",67),e.tHW(1,68),e._UZ(2,"i",32),e.N_p(),e.qZA()),2&t){const n=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(1,J0,n.icons.danger))}}function MZ(t,i){if(1&t&&(e.TgZ(0,"div",27)(1,"h5"),e.tHW(2,69),e._UZ(3,"i",32),e.N_p(),e.qZA(),e.TgZ(4,"a",28),e.SDv(5,70),e.qZA()()),2&t){const n=e.oxw();e.xp6(3),e.Q6J("ngClass",e.WLB(2,KC,n.icons.spin,n.icons.spinner)),e.pQV(null==n.executingTasks?null:n.executingTasks.progress),e.QtT(2)}}let OZ=(()=>{class t{constructor(n,o,l,_,v,O,P,G){this.modalService=n,this.summaryService=o,this.upgradeService=l,this.healthService=_,this.daemonService=v,this.notificationService=O,this.router=P,this.refreshIntervalService=G,this.interval=new bd.w,this.columns=[],this.icons=Rr.P,this.subject=new ys.t}ngOnInit(){this.upgradeStatus$=this.subject.pipe((0,Ul.w)(()=>this.upgradeService.status()),(0,mu.d)(1)),this.columns=[{name:"Daemon name",prop:"daemon_name",flexGrow:1,filterable:!0},{name:"Version",prop:"version",flexGrow:1,filterable:!0}],this.summaryService.subscribe(n=>{const o=n.version.replace("ceph version ","").split("-");this.version=o[0],this.executingTasks=n.executing_tasks.filter(l=>l.name.includes("progress/Upgrade"))[0]}),this.interval=this.refreshIntervalService.intervalData$.subscribe(()=>{this.fetchStatus()}),this.info$=this.upgradeService.list().pipe((0,c1.b)(n=>this.upgradableVersions=n.versions),function kV(t,i,n,o){n&&"function"!=typeof n&&(o=n);const l="function"==typeof n?n:void 0,_=new ys.t(t,i,o);return v=>(0,LV.O)(()=>_,l)(v)}(1),(0,$V.x)(),(0,eu.K)(n=>(n.preventDefault(),this.errorMessage="Not retrieving upgrades",this.notificationService.show(Ho.k.error,this.errorMessage,n.error.detail||n.error.message),(0,Ps.of)(null)))),this.healthData$=this.healthService.getMinimalHealth(),this.daemons$=this.daemonService.list(this.upgradeService.upgradableServiceTypes),this.fsid$=this.healthService.getClusterFsid()}startUpgradeModal(){this.modalRef=this.modalService.show(KV,{versions:this.upgradableVersions})}fetchStatus(){this.subject.next()}upgradeNow(n){this.upgradeService.start(n).subscribe({error:o=>{this.notificationService.show(Ho.k.error,"Failed to start the upgrade",o)},complete:()=>{this.notificationService.show(Ho.k.success,"Started upgrading the cluster"),this.fetchStatus(),this.router.navigate(["/upgrade/progress"])}})}ngOnDestroy(){this.interval?.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(ca.Z),e.Y36(zh.J),e.Y36(uR),e.Y36(f0.z),e.Y36(Vd),e.Y36(Ui.g),e.Y36(Ee.F0),e.Y36(X1.s))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-upgrade"]],decls:15,vars:1,consts:function(){let i,n,o,l,_,v,O,P,G,K,oe,ue,pe,ye,Ue,xe,ke,we,Z,Ft,Dt,Yt,ln,$n,nn,Jn,zn;return i="New Version",n="New Version",o="Current Version",l="Current Version",_="Cluster Status",v="Cluster Status",O="MGR Count",P="MGR Count",G="Cluster logs",K="View Details...",oe="" + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " Upgrade is paused " + "\ufffd0\ufffd" + "%",ue="" + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " Upgrade in progress " + "\ufffd0\ufffd" + "% ",pe="Cluster FSID",ye="Release Image",Ue="Registry",xe="Daemon versions",ke="Upgrade to " + "\ufffd0\ufffd" + "",we="Select another version...",Z="" + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " Cluster is up-to-date ",Ft="Upgrade using custom image...",Dt="Checking for upgrades " + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + "",Yt="Fetching registry informations " + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + "",ln="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " " + "\ufffd0\ufffd" + " ",$n="Upgrade using custom image...",nn="" + "\ufffd#2\ufffd" + "" + "\ufffd/#2\ufffd" + " Failed to fetch registry informations ",Jn="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + " Upgrade in progress " + "\ufffd0\ufffd" + "%",zn="View Details...",[["class","row h-25",4,"cdScope"],["noUpgradesAvailable",""],["warningIcon",""],["checkingForUpgradeStatus",""],["loadingDetails",""],["upgradeStatusError",""],["upgradeInfoError",""],["upgradeProgress",""],[1,"row","h-25"],[4,"ngIf"],["class","col-sm-3 px-3 d-flex","cardTitle",i,"aria-label",n,"id","newVersionAvailable",4,"ngIf"],["cardTitle",o,"aria-label",l,"id","currentVersion",1,"col-sm-3","px-3","d-flex"],[1,"d-flex","flex-column","justify-content-center","align-items-center"],["cardTitle",_,"aria-label",v,"id","clusterStatus",1,"col-sm-3","px-3","d-flex"],["healthChecks",""],["healthWarningAndError",""],[4,"ngIf","ngIfElse"],["cardTitle",O,"aria-label",P,"id","mgrCount",1,"col-sm-3","px-3","d-flex"],["class","text-success",3,"ngClass",4,"ngIf","ngIfElse"],[1,"d-flex","mt-3"],["class","w-50",4,"ngIf"],[1,"w-50"],[1,"cd-header"],G,["defaultTab","cluster-logs",3,"showAuditLogs","showDaemonLogs","showNavLinks","showFilterTools","showDownloadCopyButton","scrollable"],["upgradeStatusTpl",""],["cardTitle",i,"aria-label",n,"id","newVersionAvailable",1,"col-sm-3","px-3","d-flex"],[1,"d-flex","flex-column","justify-content-center","align-items-center","mt-2"],["routerLink","/upgrade/progress",1,"mt-2","link-primary","mb-2"],K,["inProgress",""],oe,[3,"ngClass"],ue,[4,"ngFor","ngForOf"],[3,"ngStyle"],["popoverClass","info-card-popover-cluster-status",1,"info-card-content-clickable","mt-1",3,"ngStyle","ngbPopover"],["class","fa fa-exclamation-triangle",4,"ngIf"],[1,"fa","fa-exclamation-triangle"],[1,"text-success",3,"ngClass"],[1,"bold","mt-5"],pe,[1,"mt-2"],ye,Ue,xe,["selectionType","single","columnMode","flex",3,"data","columns","limit"],["daemonsTable",""],["class","d-flex flex-column justify-content-center align-items-center",4,"ngIf","ngIfElse"],[3,"ngbTooltip"],["id","upgrade","aria-label","Upgrade now",1,"btn","btn-accent","mt-2",3,"disabled","click"],ke,[1,"mt-2","link-primary","mb-2",3,"click"],we,["id","no-upgrades-available",1,"mt-1"],Z,[1,"link-primary","mb-2",3,"click"],Ft,["title","To upgrade, you need minimum 2 mgr daemons.",1,"text-warning",3,"ngClass"],["id","upgrade","aria-label","Upgrade now",1,"btn","btn-accent","mt-2","mb-4",3,"disabled"],Dt,["class","w-50",4,"ngIf","ngIfElse"],[1,"text-info","justify-content-center","align-items-center"],Yt,["id","upgrade-status-error",1,"text-danger","mt-2","mb-4"],ln,$n,[1,"text-danger","justify-content-center","align-items-center"],nn,Jn,zn]},template:function(n,o){1&n&&(e.YNc(0,mZ,3,3,"div",0),e.YNc(1,gZ,5,3,"ng-template",null,1,e.W1O),e.YNc(3,vZ,1,3,"ng-template",null,2,e.W1O),e.YNc(5,EZ,1,2,"ng-template",null,3,e.W1O),e.YNc(7,bZ,1,2,"ng-template",null,4,e.W1O),e.YNc(9,TZ,6,4,"ng-template",null,5,e.W1O),e.YNc(11,CZ,3,3,"ng-template",null,6,e.W1O),e.YNc(13,MZ,6,5,"ng-template",null,7,e.W1O)),2&n&&e.Q6J("cdScope","configOpt")},dependencies:[f.mk,f.sg,f.O5,f.PC,ib.A,zo.a,st.o,XV.w,Ee.rH,yi._L,yi.o8,Dm,f.Ov,f.gd,p0,eE,ub.c]}),t})();const AZ=function(t,i,n){return[t,i,n]};function DZ(t,i){if(1&t&&(e.ynx(0),e.TgZ(1,"h3",23),e.tHW(2,24),e._UZ(3,"i",25),e.N_p(),e.qZA(),e.TgZ(4,"h3",26),e._uU(5),e.qZA(),e.TgZ(6,"h5",17),e.SDv(7,27),e.qZA(),e.BQk()),2&t){const n=e.oxw().ngIf,o=e.oxw();e.xp6(3),e.Q6J("ngClass",e.kEZ(3,AZ,o.icons.large,o.icons.spin,o.icons.spinner)),e.xp6(2),e.hij(" ",null==o.executingTask?null:o.executingTask.description," "),e.xp6(2),e.pQV(n.which),e.QtT(7)}}function RZ(t,i){if(1&t&&(e.ynx(0),e._uU(1," Finished upgrading: "),e.TgZ(2,"span",28),e._uU(3),e.qZA(),e.BQk()),2&t){const n=e.oxw().ngIf;e.xp6(3),e.hij(" ",n.services_complete," ")}}function xZ(t,i){if(1&t&&(e.TgZ(0,"h5",26),e.SDv(1,29),e.qZA()),2&t){const n=e.oxw().ngIf;e.xp6(1),e.pQV(n.message),e.QtT(1)}}function wZ(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",30),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.pauseUpgrade())}),e.SDv(1,31),e.qZA()}}function PZ(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",32),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.resumeUpgrade())}),e.SDv(1,33),e.qZA()}}function NZ(t,i){if(1&t){const n=e.EpF();e.TgZ(0,"button",34),e.NdJ("click",function(){e.CHM(n);const l=e.oxw(2);return e.KtG(l.stopUpgradeModal())}),e.SDv(1,35),e.qZA()}}function IZ(t,i){if(1&t&&(e.TgZ(0,"div",5),e.YNc(1,DZ,8,7,"ng-container",6),e.TgZ(2,"div",7)(3,"div",8),e.YNc(4,RZ,4,1,"ng-container",9),e.TgZ(5,"div",10),e._UZ(6,"ngb-progressbar",11),e.qZA(),e.TgZ(7,"p",12)(8,"span",13),e._uU(9),e.qZA()()(),e.TgZ(10,"h4",14),e.SDv(11,15),e.qZA(),e.YNc(12,xZ,2,1,"h5",16),e.TgZ(13,"div",17)(14,"button",18),e.SDv(15,19),e.qZA(),e.YNc(16,wZ,2,0,"button",20),e.YNc(17,PZ,2,0,"button",21),e.YNc(18,NZ,2,0,"button",22),e.qZA()()()),2&t){const n=i.ngIf,o=e.oxw(),l=e.MAs(6);e.xp6(1),e.Q6J("ngIf",n.in_progress&&!n.is_paused)("ngIfElse",l),e.xp6(3),e.Q6J("ngIf",n.services_complete.length>0),e.xp6(2),e.Q6J("value",null==o.executingTask?null:o.executingTask.progress)("striped",!0)("animated",!n.is_paused),e.xp6(3),e.hij(" ",(null==o.executingTask?null:o.executingTask.progress)||0," % "),e.xp6(2),e.pQV(n.progress),e.QtT(11),e.xp6(1),e.Q6J("ngIf",n.in_progress),e.xp6(4),e.Q6J("ngIf",n.in_progress&&!n.is_paused),e.xp6(1),e.Q6J("ngIf",n.in_progress&&n.is_paused),e.xp6(1),e.Q6J("ngIf",n.in_progress)}}const FZ=function(t,i){return[t,i]};function LZ(t,i){if(1&t&&(e.TgZ(0,"h3",17),e._UZ(1,"i",25),e.qZA(),e.TgZ(2,"h3",36),e._uU(3),e.qZA()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",e.WLB(2,FZ,n.icons.large,n.icons.spinner)),e.xp6(2),e.hij(" ",null==n.executingTask?null:n.executingTask.description," ")}}let kZ=(()=>{class t{constructor(n,o,l,_,v,O,P){this.authStorageService=n,this.upgradeService=o,this.notificationService=l,this.modalService=_,this.summaryService=v,this.router=O,this.refreshIntervalService=P,this.icons=Rr.P,this.interval=new bd.w,this.subject=new ys.t,this.permission=this.authStorageService.getPermissions().configOpt}ngOnInit(){this.upgradeStatus$=this.subject.pipe((0,Ul.w)(()=>this.upgradeService.status()),(0,c1.b)(n=>{n.in_progress||this.router.navigate(["/upgrade"])}),(0,mu.d)(1)),this.interval=this.refreshIntervalService.intervalData$.subscribe(()=>{this.fetchStatus()}),this.summaryService.subscribe(n=>{this.executingTask=n.executing_tasks.filter(o=>o.name.includes("progress/Upgrade"))[0]})}pauseUpgrade(){this.upgradeService.pause().subscribe({error:n=>{this.notificationService.show(Ho.k.error,"Failed to pause the upgrade",n)},complete:()=>{this.notificationService.show(Ho.k.success,"The upgrade is paused"),this.fetchStatus()}})}fetchStatus(){this.subject.next()}resumeUpgrade(n=!1){this.upgradeService.resume().subscribe({error:o=>{this.notificationService.show(Ho.k.error,"Failed to resume the upgrade",o)},complete:()=>{this.fetchStatus(),this.notificationService.show(Ho.k.success,"Upgrade is resumed"),n&&this.modalRef.close()}})}stopUpgradeModal(){this.pauseUpgrade(),this.modalRef=this.modalService.show(Go.M,{itemDescription:"Upgrade",actionDescription:"stop",submitAction:()=>this.stopUpgrade(),callBackAtionObservable:()=>this.resumeUpgrade(!0)})}stopUpgrade(){this.modalRef.close(),this.upgradeService.stop().subscribe({error:n=>{this.notificationService.show(Ho.k.error,"Failed to stop the upgrade",n)},complete:()=>{this.notificationService.show(Ho.k.success,"The upgrade is stopped"),this.router.navigate(["/upgrade"])}})}ngOnDestroy(){this.interval?.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(Do.j),e.Y36(uR),e.Y36(Ui.g),e.Y36(ca.Z),e.Y36(zh.J),e.Y36(Ee.F0),e.Y36(X1.s))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-upgrade-progress"]],decls:7,vars:9,consts:function(){let i,n,o,l,_,v,O,P,G;return i="Cluster logs",n="" + "\ufffd0\ufffd" + "",o="Back",l="" + "\ufffd#3\ufffd" + "" + "\ufffd/#3\ufffd" + "",_="" + "\ufffd0\ufffd" + "",v=" " + "\ufffd0\ufffd" + " ",O="Pause",P="Resume",G="Stop",[["class","d-flex flex-column justify-content-center align-items-center bold",4,"ngIf"],[1,"cd-header"],i,["defaultTab","cluster-logs",3,"showAuditLogs","showDaemonLogs","showNavLinks","showFilterTools","showDownloadCopyButton","scrollable"],["upgradePaused",""],[1,"d-flex","flex-column","justify-content-center","align-items-center","bold"],[4,"ngIf","ngIfElse"],[1,"w-50","row","h-100","d-flex","justify-content-center","align-items-center","mt-4"],[1,"text-center","w-75"],[4,"ngIf"],[1,"mt-2"],["type","info",3,"value","striped","animated"],[1,"card-text","text-muted"],[1,"float-end"],[1,"text-center","m-2"],n,["class","text-center mt-2",4,"ngIf"],[1,"text-center","mt-3"],["aria-label","Go back","routerLink","/upgrade",1,"btn","btn-light"],o,["class","btn btn-light m-2","aria-label","Pause Upgrade",3,"click",4,"ngIf"],["class","btn btn-light m-2","aria-label","Resume Upgrade",3,"click",4,"ngIf"],["class","btn btn-danger","aria-label","Stop Upgrade",3,"click",4,"ngIf"],[1,"text-center"],l,[3,"ngClass"],[1,"text-center","mt-2"],_,[1,"text-success"],v,["aria-label","Pause Upgrade",1,"btn","btn-light","m-2",3,"click"],O,["aria-label","Resume Upgrade",1,"btn","btn-light","m-2",3,"click"],P,["aria-label","Stop Upgrade",1,"btn","btn-danger",3,"click"],G,[1,"text-center","mt-3","mb-4"]]},template:function(n,o){1&n&&(e.YNc(0,IZ,19,12,"div",0),e.ALo(1,"async"),e.TgZ(2,"legend",1),e.SDv(3,2),e.qZA(),e._UZ(4,"cd-logs",3),e.YNc(5,LZ,4,5,"ng-template",null,4,e.W1O)),2&n&&(e.Q6J("ngIf",e.lcZ(1,7,o.upgradeStatus$)),e.xp6(4),e.Q6J("showAuditLogs",!1)("showDaemonLogs",!1)("showNavLinks",!1)("showFilterTools",!1)("showDownloadCopyButton",!1)("scrollable",!0))},dependencies:[f.mk,f.O5,st.o,Ee.rH,yi.Ly,Dm,f.Ov]}),t})(),MN=(()=>{class t extends HE{resolve(n){const o=[],l=n.queryParams.fromLink||null;let _="";switch(l){case"/monitor":_="Monitors";break;case"/hosts":_="Hosts"}return o.push({text:"Cluster",path:null}),o.push({text:_,path:l}),o.push({text:"Performance Counters",path:""}),o}}return t.\u0275fac=function(){let i;return function(o){return(i||(i=e.n5z(t)))(o||t)}}(),t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})(),ON=(()=>{class t extends HE{resolve(n){const o=n.params.name;return[{text:`${Xe().startCase(o)}/Edit`,path:o}]}}return t.\u0275fac=function(){let i;return function(o){return(i||(i=e.n5z(t)))(o||t)}}(),t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})();const $Z=[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"api-docs",component:EV},{path:"",component:Sn,canActivate:[SN.P,bN],canActivateChild:[SN.P,bN],children:[{path:"dashboard",component:Ib},{path:"error",component:GR},{path:"expand-cluster",component:U1,canActivate:[W0.P],data:{moduleStatusGuardConfig:{uiApiPath:"orchestrator",redirectTo:"dashboard",backend:"cephadm"},breadcrumbs:"Expand Cluster"}},{path:"hosts",component:On,data:{breadcrumbs:"Cluster/Hosts"},children:[{path:yr.MQ.ADD,component:q_,outlet:"modal"}]},{path:"ceph-users",component:SV.c,data:{breadcrumbs:"Cluster/Ceph Users",resource:"api.cluster.user@1.0"}},{path:"cluster/user/create",component:aR.U,data:{breadcrumbs:"Cluster/Ceph Users/Create",resource:"api.cluster.user@1.0"}},{path:"cluster/user/import",component:aR.U,data:{breadcrumbs:"Cluster/Ceph Users/Import",resource:"api.cluster.user@1.0"}},{path:"cluster/user/edit",component:aR.U,data:{breadcrumbs:"Cluster/Ceph Users/Edit",resource:"api.cluster.user@1.0"}},{path:"monitor",component:W1,data:{breadcrumbs:"Cluster/Monitors"}},{path:"services",component:Kf,canActivate:[W0.P],data:{moduleStatusGuardConfig:{uiApiPath:"orchestrator",redirectTo:"error",section:"orch",section_info:"Orchestrator",header:"Orchestrator is not available"},breadcrumbs:"Cluster/Services"},children:[{path:yr.MQ.CREATE,component:Ug,outlet:"modal"},{path:`${yr.MQ.EDIT}/:type/:name`,component:Ug,outlet:"modal"}]},{path:"inventory",canActivate:[W0.P],component:Ku,data:{moduleStatusGuardConfig:{uiApiPath:"orchestrator",redirectTo:"error",section:"orch",section_info:"Orchestrator",header:"Orchestrator is not available"},breadcrumbs:"Cluster/Physical Disks"}},{path:"osd",data:{breadcrumbs:"Cluster/OSDs"},children:[{path:"",component:PS},{path:yr.MQ.CREATE,component:uf,data:{breadcrumbs:yr.Qn.CREATE}}]},{path:"configuration",data:{breadcrumbs:"Cluster/Configuration"},children:[{path:"",component:op},{path:"edit/:name",component:ka,data:{breadcrumbs:yr.Qn.EDIT}}]},{path:"crush-map",component:gS,data:{breadcrumbs:"Cluster/CRUSH map"}},{path:"logs",component:Dm,data:{breadcrumbs:"Cluster/Logs"}},{path:"telemetry",component:z2,data:{breadcrumbs:"Telemetry configuration"}},{path:"monitoring",data:{breadcrumbs:"Cluster/Alerts"},children:[{path:"",redirectTo:"active-alerts",pathMatch:"full"},{path:"active-alerts",data:{breadcrumbs:"Active Alerts"},component:R2},{path:"alerts",data:{breadcrumbs:"Alerts"},component:N2},{path:"silences",data:{breadcrumbs:"Silences"},children:[{path:"",component:KS},{path:yr.MQ.CREATE,component:s1,data:{breadcrumbs:`${yr.Qn.CREATE} Silence`}},{path:`${yr.MQ.CREATE}/:id`,component:s1,data:{breadcrumbs:yr.Qn.CREATE}},{path:`${yr.MQ.EDIT}/:id`,component:s1,data:{breadcrumbs:yr.Qn.EDIT}},{path:`${yr.MQ.RECREATE}/:id`,component:s1,data:{breadcrumbs:yr.Qn.RECREATE}}]}]},{path:"upgrade",canActivate:[W0.P],data:{moduleStatusGuardConfig:{uiApiPath:"orchestrator",redirectTo:"error",backend:"cephadm",section:"orch",section_info:"Orchestrator",header:"Orchestrator is not available"},breadcrumbs:"Cluster/Upgrade"},children:[{path:"",component:OZ},{path:"progress",component:kZ,data:{breadcrumbs:"Progress"}}]},{path:"perf_counters/:type/:id",component:dT,data:{breadcrumbs:MN}},{path:"mgr-modules",data:{breadcrumbs:"Cluster/Manager Modules"},children:[{path:"",component:Qm},{path:"edit/:name",component:Ly,data:{breadcrumbs:ON}}]},{path:"pool",data:{breadcrumbs:"Pools"},loadChildren:()=>Promise.all([s.e(25),s.e(119)]).then(s.bind(s,22119)).then(t=>t.RoutedPoolModule)},{path:"block",data:{breadcrumbs:!0,text:"Block",path:null},loadChildren:()=>s.e(25).then(s.bind(s,39025)).then(t=>t.RoutedBlockModule)},{path:"cephfs",canActivate:[lR.T],data:{breadcrumbs:"File Systems"},children:[{path:"",component:ac},{path:yr.MQ.CREATE,component:CN,data:{breadcrumbs:yr.Qn.CREATE}},{path:`${yr.MQ.EDIT}/:name`,component:CN,data:{breadcrumbs:yr.Qn.EDIT}}]},{path:"rgw",canActivate:[lR.T,W0.P],data:{moduleStatusGuardConfig:{uiApiPath:"rgw",redirectTo:"error",section:"rgw",section_info:"Object Gateway",header:"The Object Gateway Service is not configured"},breadcrumbs:!0,text:"Object Gateway",path:null},loadChildren:()=>s.e(803).then(s.bind(s,77803)).then(t=>t.RoutedRgwModule)},{path:"user-management",data:{breadcrumbs:"User management",path:null},loadChildren:()=>Promise.resolve().then(s.bind(s,13140)).then(t=>t.RoutedAuthModule)},{path:"user-profile",data:{breadcrumbs:"User profile",path:null},children:[{path:yr.MQ.EDIT,component:pT,canActivate:[TN],data:{breadcrumbs:yr.Qn.EDIT}}]},{path:"nfs",canActivateChild:[lR.T,W0.P],data:{moduleStatusGuardConfig:{uiApiPath:"nfs-ganesha",redirectTo:"error",section:"nfs-ganesha",section_info:"NFS GANESHA",header:"NFS-Ganesha is not configured"},breadcrumbs:"NFS"},children:[{path:"",component:NR},{path:yr.MQ.CREATE,component:aT,data:{breadcrumbs:yr.Qn.CREATE}},{path:`${yr.MQ.EDIT}/:cluster_id/:export_id`,component:aT,data:{breadcrumbs:yr.Qn.EDIT}}]}]},{path:"",component:jR,children:[{path:"login",component:bT},{path:"login-change-password",component:vT,canActivate:[TN]}]},{path:"",component:y0,children:[{path:"**",redirectTo:"/error"}]}];let XC=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({providers:[ON,MN],imports:[Ee.Bz.forRoot($Z,{useHash:!0,preloadingStrategy:Ee.wm}),Ee.Bz]}),t})(),HZ=(()=>{class t{constructor(n,o){n.autoClose="outside",n.container="body",n.placement="bottom",o.container="body"}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(yi.AX),e.Y36(yi.xI))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cd-root"]],decls:1,vars:0,template:function(n,o){1&n&&e._UZ(0,"router-outlet")},dependencies:[Ee.lC]}),t})();var ag=s(44466);let UZ=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[f.ez,ag.m,XC,tn.m9,Jl.xc,yi.Oz,rn.u5,rn.UX,yi.ZS,yi.HK]}),t})();var AN=s(66265),DN=s(370);let BZ=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[XC,f.ez,rn.UX,ag.m,yi.Oz]}),t})(),GZ=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({providers:[yi.Kz],imports:[f.ez,AN.B,yi.Oz,ag.m,Ee.Bz,rn.u5,rn.UX,yi.HK,BZ,yi.ZS,yi.UL,Jl.xc,DN.t,yi.M,yi.dT,yi.XC,If.b,yi.ZQ]}),t})();var YZ=s(46767);let jZ=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[DN.t,f.ez,yi.Oz,ag.m,tn.m9,Ee.Bz,yi.dT,rn.u5,rn.UX,YZ.d]}),t})(),zZ=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[rn.UX,Ee.Bz,ag.m,yi.Oz,f.ez,yi.ZS,yi.HK]}),t})(),VZ=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[f.ez,GZ,jZ,AN.B,UZ,zZ,ag.m]}),t})();var ZZ=s(13140);let RN=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[f.ez,ZZ.AuthModule,yi.lQ,yi.XC,XC,ag.m,Xm.t,Ee.Bz]}),t})(),WZ=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[Qg.uh.forRoot(),f.ez,RN,yi.XC,Ee.Bz,ag.m,RN]}),t})();var JZ=s(51295);let QZ=(()=>{class t{constructor(n,o,l){this.router=n,this.authStorageService=o,this.notificationService=l}intercept(n,o){const l=n.headers.get("Accept");let _;return _=l&&l.startsWith("application/vnd.ceph.api.v")?n.clone():n.clone({setHeaders:{Accept:JZ.T.cdVersionHeader("1","0")}}),o.handle(_).pipe((0,eu.K)(v=>{if(v instanceof m.UA){let O;switch(v.status){case 400:const P=new Fr.R,G=v.error.task;Xe().isPlainObject(G)?(G.metadata.component=G.metadata.component||v.error.component,P.name=G.name,P.metadata=G.metadata):P.metadata=v.error,P.success=!1,P.exception=v.error,O=this.notificationService.notifyTask(P);break;case 401:this.authStorageService.remove(),this.router.navigate(["/login"]);break;case 403:this.router.navigate(["error"],{state:{message:"Sorry, you don\u2019t have permission to view this page or resource.",header:"Access Denied",icon:"fa fa-lock",source:"forbidden"}});break;default:O=this.prepareNotification(v)}v.preventDefault=()=>{this.notificationService.cancel(O)},v.ignoreStatusCode=function(P){this.status===P&&this.preventDefault()}}return(0,kb._)(v)}))}prepareNotification(n){return this.notificationService.show(()=>{let o="";return Xe().isPlainObject(n.error)&&Xe().isString(n.error.detail)?o=n.error.detail:Xe().isString(n.error)?o=n.error:Xe().isString(n.message)&&(o=n.message),new i1.T(Ho.k.error,`${n.status} - ${n.statusText}`,o,void 0,n.application)})}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(Ee.F0),e.LFG(Do.j),e.LFG(Ui.g))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),KZ=(()=>{class t{constructor(n){this.http=n}jsError(n,o,l){return this.http.post("ui-api/logging/js-error",{url:n,message:o,stack:l})}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(m.eN))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),XZ=(()=>{class t{constructor(n,o){this.injector=n,this.router=o}handleError(n){const o=this.injector.get(KZ),l=window.location.href;if(o.jsError(l,n&&n.message,n&&n.stack).subscribe(),!(n.rejection instanceof Yy.s9))throw n;setTimeout(()=>this.router.navigate(["error"],{state:{message:n.rejection.message,header:n.rejection.header,icon:n.rejection.icon}}),50)}}return t.\u0275fac=function(n){return new(n||t)(e.LFG(e.zs3),e.LFG(Ee.F0))},t.\u0275prov=e.Yz7({token:t,factory:t.\u0275fac}),t})(),qZ=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t,bootstrap:[HZ]}),t.\u0275inj=e.cJS({providers:[{provide:e.qLn,useClass:XZ},{provide:m.TP,useClass:QZ,multi:!0},{provide:f.mr,useValue:"/"+(window.location.pathname.split("/",1)[1]||"")}],imports:[m.JF,u.b2,Lc,Q.Rh.forRoot({positionClass:"toast-top-right",preventDuplicates:!0,enableHtml:!0}),XC,WZ,ag.m,VZ,ag.m]}),t})();vO.N.production&&(0,e.G48)(),u.q6().bootstrapModule(qZ).then(t=>{if((0,e.X6Q)()){const n=t.injector.get(e.z2F).components[0];(0,u.HJ)(n)}}).catch(t=>console.log(t))},72432:(E,C,s)=>{"use strict";var r=s(55634),a=s(55781),c=TypeError;E.exports=function(u){if(r(u))return u;throw c(a(u)+" is not a function")}},54857:(E,C,s)=>{"use strict";var r=s(55634),a=String,c=TypeError;E.exports=function(u){if("object"==typeof u||r(u))return u;throw c("Can't set "+a(u)+" as a prototype")}},39488:(E,C,s)=>{"use strict";var r=s(24241),a=s(28362),c=s(47310).f,u=r("unscopables"),e=Array.prototype;void 0===e[u]&&c(e,u,{configurable:!0,value:a(null)}),E.exports=function(f){e[u][f]=!0}},11338:(E,C,s)=>{"use strict";var r=s(50354).charAt;E.exports=function(a,c,u){return c+(u?r(a,c).length:1)}},59728:(E,C,s)=>{"use strict";var r=s(7971),a=TypeError;E.exports=function(c,u){if(r(u,c))return c;throw a("Incorrect invocation")}},43869:(E,C,s)=>{"use strict";var r=s(11143),a=String,c=TypeError;E.exports=function(u){if(r(u))return u;throw c(a(u)+" is not an object")}},3181:(E,C,s)=>{"use strict";var r=s(80413);E.exports=r(function(){if("function"==typeof ArrayBuffer){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},63306:(E,C,s)=>{"use strict";var r=s(8622),a=s(77067),c=s(75796),u=function(e){return function(f,m,T){var U,M=r(f),w=c(M),D=a(T,w);if(e&&m!=m){for(;w>D;)if((U=M[D++])!=U)return!0}else for(;w>D;D++)if((e||D in M)&&M[D]===m)return e||D||0;return!e&&-1}};E.exports={includes:u(!0),indexOf:u(!1)}},76775:(E,C,s)=>{"use strict";var r=s(79083),a=s(49566),c=s(98679),u=s(43602),e=s(75796),f=s(12253),m=a([].push),T=function(M){var w=1===M,D=2===M,U=3===M,W=4===M,$=6===M,J=7===M,F=5===M||$;return function(X,de,V,ce){for(var ct,qe,se=u(X),fe=c(se),Te=r(de,V),$e=e(fe),ge=0,Et=ce||f,ot=w?Et(X,$e):D||J?Et(X,0):void 0;$e>ge;ge++)if((F||ge in fe)&&(qe=Te(ct=fe[ge],ge,se),M))if(w)ot[ge]=qe;else if(qe)switch(M){case 3:return!0;case 5:return ct;case 6:return ge;case 2:m(ot,ct)}else switch(M){case 4:return!1;case 7:m(ot,ct)}return $?-1:U||W?W:ot}};E.exports={forEach:T(0),map:T(1),filter:T(2),some:T(3),every:T(4),find:T(5),findIndex:T(6),filterReject:T(7)}},64020:(E,C,s)=>{"use strict";var r=s(80413),a=s(24241),c=s(22243),u=a("species");E.exports=function(e){return c>=51||!r(function(){var f=[];return(f.constructor={})[u]=function(){return{foo:1}},1!==f[e](Boolean).foo})}},55786:(E,C,s)=>{"use strict";var r=s(80413);E.exports=function(a,c){var u=[][a];return!!u&&r(function(){u.call(null,c||function(){return 1},1)})}},63385:(E,C,s)=>{"use strict";var r=s(72432),a=s(43602),c=s(98679),u=s(75796),e=TypeError,f=function(m){return function(T,M,w,D){r(M);var U=a(T),W=c(U),$=u(U),J=m?$-1:0,F=m?-1:1;if(w<2)for(;;){if(J in W){D=W[J],J+=F;break}if(J+=F,m?J<0:$<=J)throw e("Reduce of empty array with no initial value")}for(;m?J>=0:$>J;J+=F)J in W&&(D=M(D,W[J],J,U));return D}};E.exports={left:f(!1),right:f(!0)}},95202:(E,C,s)=>{"use strict";var r=s(77067),a=s(75796),c=s(54146),u=Array,e=Math.max;E.exports=function(f,m,T){for(var M=a(f),w=r(m,M),D=r(void 0===T?M:T,M),U=u(e(D-w,0)),W=0;w<D;w++,W++)c(U,W,f[w]);return U.length=W,U}},42868:(E,C,s)=>{"use strict";var r=s(13151),a=s(85463),c=s(11143),e=s(24241)("species"),f=Array;E.exports=function(m){var T;return r(m)&&(a(T=m.constructor)&&(T===f||r(T.prototype))||c(T)&&null===(T=T[e]))&&(T=void 0),void 0===T?f:T}},12253:(E,C,s)=>{"use strict";var r=s(42868);E.exports=function(a,c){return new(r(a))(0===c?0:c)}},70768:(E,C,s)=>{"use strict";var a=s(24241)("iterator"),c=!1;try{var u=0,e={next:function(){return{done:!!u++}},return:function(){c=!0}};e[a]=function(){return this},Array.from(e,function(){throw 2})}catch{}E.exports=function(f,m){try{if(!m&&!c)return!1}catch{return!1}var T=!1;try{var M={};M[a]=function(){return{next:function(){return{done:T=!0}}}},f(M)}catch{}return T}},31400:(E,C,s)=>{"use strict";var r=s(49566),a=r({}.toString),c=r("".slice);E.exports=function(u){return c(a(u),8,-1)}},96843:(E,C,s)=>{"use strict";var r=s(81469),a=s(55634),c=s(31400),e=s(24241)("toStringTag"),f=Object,m="Arguments"===c(function(){return arguments}());E.exports=r?c:function(M){var w,D,U;return void 0===M?"Undefined":null===M?"Null":"string"==typeof(D=function(M,w){try{return M[w]}catch{}}(w=f(M),e))?D:m?c(w):"Object"===(U=c(w))&&a(w.callee)?"Arguments":U}},59798:(E,C,s)=>{"use strict";var r=s(49566),a=s(94227),c=s(58991).getWeakData,u=s(59728),e=s(43869),f=s(56537),m=s(11143),T=s(6711),M=s(76775),w=s(24817),D=s(91874),U=D.set,W=D.getterFor,$=M.find,J=M.findIndex,F=r([].splice),X=0,de=function(se){return se.frozen||(se.frozen=new V)},V=function(){this.entries=[]},ce=function(se,fe){return $(se.entries,function(Te){return Te[0]===fe})};V.prototype={get:function(se){var fe=ce(this,se);if(fe)return fe[1]},has:function(se){return!!ce(this,se)},set:function(se,fe){var Te=ce(this,se);Te?Te[1]=fe:this.entries.push([se,fe])},delete:function(se){var fe=J(this.entries,function(Te){return Te[0]===se});return~fe&&F(this.entries,fe,1),!!~fe}},E.exports={getConstructor:function(se,fe,Te,$e){var ge=se(function(qe,He){u(qe,Et),U(qe,{type:fe,id:X++,frozen:void 0}),f(He)||T(He,qe[$e],{that:qe,AS_ENTRIES:Te})}),Et=ge.prototype,ot=W(fe),ct=function(qe,He,We){var Le=ot(qe),Pt=c(e(He),!0);return!0===Pt?de(Le).set(He,We):Pt[Le.id]=We,qe};return a(Et,{delete:function(qe){var He=ot(this);if(!m(qe))return!1;var We=c(qe);return!0===We?de(He).delete(qe):We&&w(We,He.id)&&delete We[He.id]},has:function(He){var We=ot(this);if(!m(He))return!1;var Le=c(He);return!0===Le?de(We).has(He):Le&&w(Le,We.id)}}),a(Et,Te?{get:function(He){var We=ot(this);if(m(He)){var Le=c(He);return!0===Le?de(We).get(He):Le?Le[We.id]:void 0}},set:function(He,We){return ct(this,He,We)}}:{add:function(He){return ct(this,He,!0)}}),ge}}},65210:(E,C,s)=>{"use strict";var r=s(81846),a=s(75099),c=s(49566),u=s(5469),e=s(67874),f=s(58991),m=s(6711),T=s(59728),M=s(55634),w=s(56537),D=s(11143),U=s(80413),W=s(70768),$=s(89342),J=s(72905);E.exports=function(F,X,de){var V=-1!==F.indexOf("Map"),ce=-1!==F.indexOf("Weak"),se=V?"set":"add",fe=a[F],Te=fe&&fe.prototype,$e=fe,ge={},Et=function(Pt){var it=c(Te[Pt]);e(Te,Pt,"add"===Pt?function(cn){return it(this,0===cn?0:cn),this}:"delete"===Pt?function(Xt){return!(ce&&!D(Xt))&&it(this,0===Xt?0:Xt)}:"get"===Pt?function(cn){return ce&&!D(cn)?void 0:it(this,0===cn?0:cn)}:"has"===Pt?function(cn){return!(ce&&!D(cn))&&it(this,0===cn?0:cn)}:function(cn,pn){return it(this,0===cn?0:cn,pn),this})};if(u(F,!M(fe)||!(ce||Te.forEach&&!U(function(){(new fe).entries().next()}))))$e=de.getConstructor(X,F,V,se),f.enable();else if(u(F,!0)){var ct=new $e,qe=ct[se](ce?{}:-0,1)!==ct,He=U(function(){ct.has(1)}),We=W(function(Pt){new fe(Pt)}),Le=!ce&&U(function(){for(var Pt=new fe,it=5;it--;)Pt[se](it,it);return!Pt.has(-0)});We||(($e=X(function(Pt,it){T(Pt,Te);var Xt=J(new fe,Pt,$e);return w(it)||m(it,Xt[se],{that:Xt,AS_ENTRIES:V}),Xt})).prototype=Te,Te.constructor=$e),(He||Le)&&(Et("delete"),Et("has"),V&&Et("get")),(Le||qe)&&Et(se),ce&&Te.clear&&delete Te.clear}return ge[F]=$e,r({global:!0,constructor:!0,forced:$e!==fe},ge),$($e,F),ce||de.setStrong($e,F,V),$e}},71852:(E,C,s)=>{"use strict";var r=s(24817),a=s(85818),c=s(977),u=s(47310);E.exports=function(e,f,m){for(var T=a(f),M=u.f,w=c.f,D=0;D<T.length;D++){var U=T[D];!r(e,U)&&(!m||!r(m,U))&&M(e,U,w(f,U))}}},42876:(E,C,s)=>{"use strict";var r=s(80413);E.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},64026:E=>{"use strict";E.exports=function(C,s){return{value:C,done:s}}},14674:(E,C,s)=>{"use strict";var r=s(52731),a=s(47310),c=s(62220);E.exports=r?function(u,e,f){return a.f(u,e,c(1,f))}:function(u,e,f){return u[e]=f,u}},62220:E=>{"use strict";E.exports=function(C,s){return{enumerable:!(1&C),configurable:!(2&C),writable:!(4&C),value:s}}},54146:(E,C,s)=>{"use strict";var r=s(9419),a=s(47310),c=s(62220);E.exports=function(u,e,f){var m=r(e);m in u?a.f(u,m,c(0,f)):u[m]=f}},35852:(E,C,s)=>{"use strict";var r=s(62803),a=s(47310);E.exports=function(c,u,e){return e.get&&r(e.get,u,{getter:!0}),e.set&&r(e.set,u,{setter:!0}),a.f(c,u,e)}},67874:(E,C,s)=>{"use strict";var r=s(55634),a=s(47310),c=s(62803),u=s(85359);E.exports=function(e,f,m,T){T||(T={});var M=T.enumerable,w=void 0!==T.name?T.name:f;if(r(m)&&c(m,w,T),T.global)M?e[f]=m:u(f,m);else{try{T.unsafe?e[f]&&(M=!0):delete e[f]}catch{}M?e[f]=m:a.f(e,f,{value:m,enumerable:!1,configurable:!T.nonConfigurable,writable:!T.nonWritable})}return e}},94227:(E,C,s)=>{"use strict";var r=s(67874);E.exports=function(a,c,u){for(var e in c)r(a,e,c[e],u);return a}},85359:(E,C,s)=>{"use strict";var r=s(75099),a=Object.defineProperty;E.exports=function(c,u){try{a(r,c,{value:u,configurable:!0,writable:!0})}catch{r[c]=u}return u}},52731:(E,C,s)=>{"use strict";var r=s(80413);E.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},83065:E=>{"use strict";var C="object"==typeof document&&document.all;E.exports={all:C,IS_HTMLDDA:typeof C>"u"&&void 0!==C}},81151:(E,C,s)=>{"use strict";var r=s(75099),a=s(11143),c=r.document,u=a(c)&&a(c.createElement);E.exports=function(e){return u?c.createElement(e):{}}},24756:E=>{"use strict";E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},14306:(E,C,s)=>{"use strict";var a=s(81151)("span").classList,c=a&&a.constructor&&a.constructor.prototype;E.exports=c===Object.prototype?void 0:c},99702:(E,C,s)=>{"use strict";var r=s(75099),a=s(31400);E.exports="process"===a(r.process)},43945:E=>{"use strict";E.exports=typeof navigator<"u"&&String(navigator.userAgent)||""},22243:(E,C,s)=>{"use strict";var m,T,r=s(75099),a=s(43945),c=r.process,u=r.Deno,e=c&&c.versions||u&&u.version,f=e&&e.v8;f&&(T=(m=f.split("."))[0]>0&&m[0]<4?1:+(m[0]+m[1])),!T&&a&&(!(m=a.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=a.match(/Chrome\/(\d+)/))&&(T=+m[1]),E.exports=T},54515:E=>{"use strict";E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},81846:(E,C,s)=>{"use strict";var r=s(75099),a=s(977).f,c=s(14674),u=s(67874),e=s(85359),f=s(71852),m=s(5469);E.exports=function(T,M){var $,J,F,X,de,w=T.target,D=T.global,U=T.stat;if($=D?r:U?r[w]||e(w,{}):(r[w]||{}).prototype)for(J in M){if(X=M[J],F=T.dontCallGetSet?(de=a($,J))&&de.value:$[J],!m(D?J:w+(U?".":"#")+J,T.forced)&&void 0!==F){if(typeof X==typeof F)continue;f(X,F)}(T.sham||F&&F.sham)&&c(X,"sham",!0),u($,J,X,T)}}},80413:E=>{"use strict";E.exports=function(C){try{return!!C()}catch{return!0}}},99661:(E,C,s)=>{"use strict";s(27119);var r=s(96823),a=s(67874),c=s(63872),u=s(80413),e=s(24241),f=s(14674),m=e("species"),T=RegExp.prototype;E.exports=function(M,w,D,U){var W=e(M),$=!u(function(){var de={};return de[W]=function(){return 7},7!==""[M](de)}),J=$&&!u(function(){var de=!1,V=/a/;return"split"===M&&((V={}).constructor={},V.constructor[m]=function(){return V},V.flags="",V[W]=/./[W]),V.exec=function(){return de=!0,null},V[W](""),!de});if(!$||!J||D){var F=r(/./[W]),X=w(W,""[M],function(de,V,ce,se,fe){var Te=r(de),$e=V.exec;return $e===c||$e===T.exec?$&&!fe?{done:!0,value:F(V,ce,se)}:{done:!0,value:Te(ce,V,se)}:{done:!1}});a(String.prototype,M,X[0]),a(T,W,X[1])}U&&f(T[W],"sham",!0)}},46121:(E,C,s)=>{"use strict";var r=s(80413);E.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},65461:(E,C,s)=>{"use strict";var r=s(18846),a=Function.prototype,c=a.apply,u=a.call;E.exports="object"==typeof Reflect&&Reflect.apply||(r?u.bind(c):function(){return u.apply(c,arguments)})},79083:(E,C,s)=>{"use strict";var r=s(96823),a=s(72432),c=s(18846),u=r(r.bind);E.exports=function(e,f){return a(e),void 0===f?e:c?u(e,f):function(){return e.apply(f,arguments)}}},18846:(E,C,s)=>{"use strict";var r=s(80413);E.exports=!r(function(){var a=function(){}.bind();return"function"!=typeof a||a.hasOwnProperty("prototype")})},99150:(E,C,s)=>{"use strict";var r=s(18846),a=Function.prototype.call;E.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},62264:(E,C,s)=>{"use strict";var r=s(52731),a=s(24817),c=Function.prototype,u=r&&Object.getOwnPropertyDescriptor,e=a(c,"name"),f=e&&"something"===function(){}.name,m=e&&(!r||r&&u(c,"name").configurable);E.exports={EXISTS:e,PROPER:f,CONFIGURABLE:m}},36770:(E,C,s)=>{"use strict";var r=s(49566),a=s(72432);E.exports=function(c,u,e){try{return r(a(Object.getOwnPropertyDescriptor(c,u)[e]))}catch{}}},96823:(E,C,s)=>{"use strict";var r=s(31400),a=s(49566);E.exports=function(c){if("Function"===r(c))return a(c)}},49566:(E,C,s)=>{"use strict";var r=s(18846),a=Function.prototype,c=a.call,u=r&&a.bind.bind(c,c);E.exports=r?u:function(e){return function(){return c.apply(e,arguments)}}},23988:(E,C,s)=>{"use strict";var r=s(75099),a=s(55634),c=function(u){return a(u)?u:void 0};E.exports=function(u,e){return arguments.length<2?c(r[u]):r[u]&&r[u][e]}},95762:(E,C,s)=>{"use strict";var r=s(96843),a=s(60989),c=s(56537),u=s(90338),f=s(24241)("iterator");E.exports=function(m){if(!c(m))return a(m,f)||a(m,"@@iterator")||u[r(m)]}},90322:(E,C,s)=>{"use strict";var r=s(99150),a=s(72432),c=s(43869),u=s(55781),e=s(95762),f=TypeError;E.exports=function(m,T){var M=arguments.length<2?e(m):T;if(a(M))return c(r(M,m));throw f(u(m)+" is not iterable")}},60989:(E,C,s)=>{"use strict";var r=s(72432),a=s(56537);E.exports=function(c,u){var e=c[u];return a(e)?void 0:r(e)}},49682:(E,C,s)=>{"use strict";var r=s(49566),a=s(43602),c=Math.floor,u=r("".charAt),e=r("".replace),f=r("".slice),m=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,T=/\$([$&'`]|\d{1,2})/g;E.exports=function(M,w,D,U,W,$){var J=D+M.length,F=U.length,X=T;return void 0!==W&&(W=a(W),X=m),e($,X,function(de,V){var ce;switch(u(V,0)){case"$":return"$";case"&":return M;case"`":return f(w,0,D);case"'":return f(w,J);case"<":ce=W[f(V,1,-1)];break;default:var se=+V;if(0===se)return de;if(se>F){var fe=c(se/10);return 0===fe?de:fe<=F?void 0===U[fe-1]?u(V,1):U[fe-1]+u(V,1):de}ce=U[se-1]}return void 0===ce?"":ce})}},75099:function(E){"use strict";var C=function(s){return s&&s.Math===Math&&s};E.exports=C("object"==typeof globalThis&&globalThis)||C("object"==typeof window&&window)||C("object"==typeof self&&self)||C("object"==typeof global&&global)||function(){return this}()||this||Function("return this")()},24817:(E,C,s)=>{"use strict";var r=s(49566),a=s(43602),c=r({}.hasOwnProperty);E.exports=Object.hasOwn||function(e,f){return c(a(e),f)}},88488:E=>{"use strict";E.exports={}},28277:(E,C,s)=>{"use strict";var r=s(23988);E.exports=r("document","documentElement")},74550:(E,C,s)=>{"use strict";var r=s(52731),a=s(80413),c=s(81151);E.exports=!r&&!a(function(){return 7!==Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a})},98679:(E,C,s)=>{"use strict";var r=s(49566),a=s(80413),c=s(31400),u=Object,e=r("".split);E.exports=a(function(){return!u("z").propertyIsEnumerable(0)})?function(f){return"String"===c(f)?e(f,""):u(f)}:u},72905:(E,C,s)=>{"use strict";var r=s(55634),a=s(11143),c=s(78583);E.exports=function(u,e,f){var m,T;return c&&r(m=e.constructor)&&m!==f&&a(T=m.prototype)&&T!==f.prototype&&c(u,T),u}},42300:(E,C,s)=>{"use strict";var r=s(49566),a=s(55634),c=s(18692),u=r(Function.toString);a(c.inspectSource)||(c.inspectSource=function(e){return u(e)}),E.exports=c.inspectSource},58991:(E,C,s)=>{"use strict";var r=s(81846),a=s(49566),c=s(88488),u=s(11143),e=s(24817),f=s(47310).f,m=s(16751),T=s(32771),M=s(72416),w=s(6318),D=s(46121),U=!1,W=w("meta"),$=0,J=function(se){f(se,W,{value:{objectID:"O"+$++,weakData:{}}})},ce=E.exports={enable:function(){ce.enable=function(){},U=!0;var se=m.f,fe=a([].splice),Te={};Te[W]=1,se(Te).length&&(m.f=function($e){for(var ge=se($e),Et=0,ot=ge.length;Et<ot;Et++)if(ge[Et]===W){fe(ge,Et,1);break}return ge},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:T.f}))},fastKey:function(se,fe){if(!u(se))return"symbol"==typeof se?se:("string"==typeof se?"S":"P")+se;if(!e(se,W)){if(!M(se))return"F";if(!fe)return"E";J(se)}return se[W].objectID},getWeakData:function(se,fe){if(!e(se,W)){if(!M(se))return!0;if(!fe)return!1;J(se)}return se[W].weakData},onFreeze:function(se){return D&&U&&M(se)&&!e(se,W)&&J(se),se}};c[W]=!0},91874:(E,C,s)=>{"use strict";var U,W,$,r=s(14298),a=s(75099),c=s(11143),u=s(14674),e=s(24817),f=s(18692),m=s(54819),T=s(88488),M="Object already initialized",w=a.TypeError;if(r||f.state){var X=f.state||(f.state=new(0,a.WeakMap));X.get=X.get,X.has=X.has,X.set=X.set,U=function(V,ce){if(X.has(V))throw w(M);return ce.facade=V,X.set(V,ce),ce},W=function(V){return X.get(V)||{}},$=function(V){return X.has(V)}}else{var de=m("state");T[de]=!0,U=function(V,ce){if(e(V,de))throw w(M);return ce.facade=V,u(V,de,ce),ce},W=function(V){return e(V,de)?V[de]:{}},$=function(V){return e(V,de)}}E.exports={set:U,get:W,has:$,enforce:function(V){return $(V)?W(V):U(V,{})},getterFor:function(V){return function(ce){var se;if(!c(ce)||(se=W(ce)).type!==V)throw w("Incompatible receiver, "+V+" required");return se}}}},22134:(E,C,s)=>{"use strict";var r=s(24241),a=s(90338),c=r("iterator"),u=Array.prototype;E.exports=function(e){return void 0!==e&&(a.Array===e||u[c]===e)}},13151:(E,C,s)=>{"use strict";var r=s(31400);E.exports=Array.isArray||function(c){return"Array"===r(c)}},55634:(E,C,s)=>{"use strict";var r=s(83065),a=r.all;E.exports=r.IS_HTMLDDA?function(c){return"function"==typeof c||c===a}:function(c){return"function"==typeof c}},85463:(E,C,s)=>{"use strict";var r=s(49566),a=s(80413),c=s(55634),u=s(96843),e=s(23988),f=s(42300),m=function(){},T=[],M=e("Reflect","construct"),w=/^\s*(?:class|function)\b/,D=r(w.exec),U=!w.exec(m),W=function(F){if(!c(F))return!1;try{return M(m,T,F),!0}catch{return!1}},$=function(F){if(!c(F))return!1;switch(u(F)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return U||!!D(w,f(F))}catch{return!0}};$.sham=!0,E.exports=!M||a(function(){var J;return W(W.call)||!W(Object)||!W(function(){J=!0})||J})?$:W},5469:(E,C,s)=>{"use strict";var r=s(80413),a=s(55634),c=/#|\.prototype\./,u=function(M,w){var D=f[e(M)];return D===T||D!==m&&(a(w)?r(w):!!w)},e=u.normalize=function(M){return String(M).replace(c,".").toLowerCase()},f=u.data={},m=u.NATIVE="N",T=u.POLYFILL="P";E.exports=u},56537:E=>{"use strict";E.exports=function(C){return null==C}},11143:(E,C,s)=>{"use strict";var r=s(55634),a=s(83065),c=a.all;E.exports=a.IS_HTMLDDA?function(u){return"object"==typeof u?null!==u:r(u)||u===c}:function(u){return"object"==typeof u?null!==u:r(u)}},20065:E=>{"use strict";E.exports=!1},37507:(E,C,s)=>{"use strict";var r=s(23988),a=s(55634),c=s(7971),u=s(48531),e=Object;E.exports=u?function(f){return"symbol"==typeof f}:function(f){var m=r("Symbol");return a(m)&&c(m.prototype,e(f))}},6711:(E,C,s)=>{"use strict";var r=s(79083),a=s(99150),c=s(43869),u=s(55781),e=s(22134),f=s(75796),m=s(7971),T=s(90322),M=s(95762),w=s(25057),D=TypeError,U=function($,J){this.stopped=$,this.result=J},W=U.prototype;E.exports=function($,J,F){var Te,$e,ge,Et,ot,ct,qe,de=!(!F||!F.AS_ENTRIES),V=!(!F||!F.IS_RECORD),ce=!(!F||!F.IS_ITERATOR),se=!(!F||!F.INTERRUPTED),fe=r(J,F&&F.that),He=function(Le){return Te&&w(Te,"normal",Le),new U(!0,Le)},We=function(Le){return de?(c(Le),se?fe(Le[0],Le[1],He):fe(Le[0],Le[1])):se?fe(Le,He):fe(Le)};if(V)Te=$.iterator;else if(ce)Te=$;else{if(!($e=M($)))throw D(u($)+" is not iterable");if(e($e)){for(ge=0,Et=f($);Et>ge;ge++)if((ot=We($[ge]))&&m(W,ot))return ot;return new U(!1)}Te=T($,$e)}for(ct=V?$.next:Te.next;!(qe=a(ct,Te)).done;){try{ot=We(qe.value)}catch(Le){w(Te,"throw",Le)}if("object"==typeof ot&&ot&&m(W,ot))return ot}return new U(!1)}},25057:(E,C,s)=>{"use strict";var r=s(99150),a=s(43869),c=s(60989);E.exports=function(u,e,f){var m,T;a(u);try{if(!(m=c(u,"return"))){if("throw"===e)throw f;return f}m=r(m,u)}catch(M){T=!0,m=M}if("throw"===e)throw f;if(T)throw m;return a(m),f}},78511:(E,C,s)=>{"use strict";var r=s(70879).IteratorPrototype,a=s(28362),c=s(62220),u=s(89342),e=s(90338),f=function(){return this};E.exports=function(m,T,M,w){var D=T+" Iterator";return m.prototype=a(r,{next:c(+!w,M)}),u(m,D,!1,!0),e[D]=f,m}},12161:(E,C,s)=>{"use strict";var r=s(81846),a=s(99150),c=s(20065),u=s(62264),e=s(55634),f=s(78511),m=s(18981),T=s(78583),M=s(89342),w=s(14674),D=s(67874),U=s(24241),W=s(90338),$=s(70879),J=u.PROPER,F=u.CONFIGURABLE,X=$.IteratorPrototype,de=$.BUGGY_SAFARI_ITERATORS,V=U("iterator"),se="values",fe="entries",Te=function(){return this};E.exports=function($e,ge,Et,ot,ct,qe,He){f(Et,ge,ot);var Rn,At,qt,We=function(sn){if(sn===ct&&cn)return cn;if(!de&&sn&&sn in it)return it[sn];switch(sn){case"keys":case se:case fe:return function(){return new Et(this,sn)}}return function(){return new Et(this)}},Le=ge+" Iterator",Pt=!1,it=$e.prototype,Xt=it[V]||it["@@iterator"]||ct&&it[ct],cn=!de&&Xt||We(ct),pn="Array"===ge&&it.entries||Xt;if(pn&&(Rn=m(pn.call(new $e)))!==Object.prototype&&Rn.next&&(!c&&m(Rn)!==X&&(T?T(Rn,X):e(Rn[V])||D(Rn,V,Te)),M(Rn,Le,!0,!0),c&&(W[Le]=Te)),J&&ct===se&&Xt&&Xt.name!==se&&(!c&&F?w(it,"name",se):(Pt=!0,cn=function(){return a(Xt,this)})),ct)if(At={values:We(se),keys:qe?cn:We("keys"),entries:We(fe)},He)for(qt in At)(de||Pt||!(qt in it))&&D(it,qt,At[qt]);else r({target:ge,proto:!0,forced:de||Pt},At);return(!c||He)&&it[V]!==cn&&D(it,V,cn,{name:ct}),W[ge]=cn,At}},70879:(E,C,s)=>{"use strict";var D,U,W,r=s(80413),a=s(55634),c=s(11143),u=s(28362),e=s(18981),f=s(67874),m=s(24241),T=s(20065),M=m("iterator"),w=!1;[].keys&&("next"in(W=[].keys())?(U=e(e(W)))!==Object.prototype&&(D=U):w=!0),!c(D)||r(function(){var J={};return D[M].call(J)!==J})?D={}:T&&(D=u(D)),a(D[M])||f(D,M,function(){return this}),E.exports={IteratorPrototype:D,BUGGY_SAFARI_ITERATORS:w}},90338:E=>{"use strict";E.exports={}},75796:(E,C,s)=>{"use strict";var r=s(49499);E.exports=function(a){return r(a.length)}},62803:(E,C,s)=>{"use strict";var r=s(49566),a=s(80413),c=s(55634),u=s(24817),e=s(52731),f=s(62264).CONFIGURABLE,m=s(42300),T=s(91874),M=T.enforce,w=T.get,D=String,U=Object.defineProperty,W=r("".slice),$=r("".replace),J=r([].join),F=e&&!a(function(){return 8!==U(function(){},"length",{value:8}).length}),X=String(String).split("String"),de=E.exports=function(V,ce,se){"Symbol("===W(D(ce),0,7)&&(ce="["+$(D(ce),/^Symbol\(([^)]*)\)/,"$1")+"]"),se&&se.getter&&(ce="get "+ce),se&&se.setter&&(ce="set "+ce),(!u(V,"name")||f&&V.name!==ce)&&(e?U(V,"name",{value:ce,configurable:!0}):V.name=ce),F&&se&&u(se,"arity")&&V.length!==se.arity&&U(V,"length",{value:se.arity});try{se&&u(se,"constructor")&&se.constructor?e&&U(V,"prototype",{writable:!1}):V.prototype&&(V.prototype=void 0)}catch{}var fe=M(V);return u(fe,"source")||(fe.source=J(X,"string"==typeof ce?ce:"")),V};Function.prototype.toString=de(function(){return c(this)&&w(this).source||m(this)},"toString")},30744:E=>{"use strict";var C=Math.ceil,s=Math.floor;E.exports=Math.trunc||function(a){var c=+a;return(c>0?s:C)(c)}},1185:(E,C,s)=>{"use strict";var r=s(75099),a=s(80413),c=s(49566),u=s(17510),e=s(60709).trim,f=s(70017),m=r.parseInt,T=r.Symbol,M=T&&T.iterator,w=/^[+-]?0x/i,D=c(w.exec),U=8!==m(f+"08")||22!==m(f+"0x16")||M&&!a(function(){m(Object(M))});E.exports=U?function($,J){var F=e(u($));return m(F,J>>>0||(D(w,F)?16:10))}:m},41959:(E,C,s)=>{"use strict";var r=s(52731),a=s(49566),c=s(99150),u=s(80413),e=s(83715),f=s(42385),m=s(77602),T=s(43602),M=s(98679),w=Object.assign,D=Object.defineProperty,U=a([].concat);E.exports=!w||u(function(){if(r&&1!==w({b:1},w(D({},"a",{enumerable:!0,get:function(){D(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var W={},$={},J=Symbol("assign detection"),F="abcdefghijklmnopqrst";return W[J]=7,F.split("").forEach(function(X){$[X]=X}),7!==w({},W)[J]||e(w({},$)).join("")!==F})?function($,J){for(var F=T($),X=arguments.length,de=1,V=f.f,ce=m.f;X>de;)for(var ge,se=M(arguments[de++]),fe=V?U(e(se),V(se)):e(se),Te=fe.length,$e=0;Te>$e;)ge=fe[$e++],(!r||c(ce,se,ge))&&(F[ge]=se[ge]);return F}:w},28362:(E,C,s)=>{"use strict";var X,r=s(43869),a=s(34940),c=s(54515),u=s(88488),e=s(28277),f=s(81151),m=s(54819),w="prototype",D="script",U=m("IE_PROTO"),W=function(){},$=function(V){return"<"+D+">"+V+"</"+D+">"},J=function(V){V.write($("")),V.close();var ce=V.parentWindow.Object;return V=null,ce},de=function(){try{X=new ActiveXObject("htmlfile")}catch{}de=typeof document<"u"?document.domain&&X?J(X):function(){var se,V=f("iframe"),ce="java"+D+":";return V.style.display="none",e.appendChild(V),V.src=String(ce),(se=V.contentWindow.document).open(),se.write($("document.F=Object")),se.close(),se.F}():J(X);for(var V=c.length;V--;)delete de[w][c[V]];return de()};u[U]=!0,E.exports=Object.create||function(ce,se){var fe;return null!==ce?(W[w]=r(ce),fe=new W,W[w]=null,fe[U]=ce):fe=de(),void 0===se?fe:a.f(fe,se)}},34940:(E,C,s)=>{"use strict";var r=s(52731),a=s(53513),c=s(47310),u=s(43869),e=s(8622),f=s(83715);C.f=r&&!a?Object.defineProperties:function(T,M){u(T);for(var $,w=e(M),D=f(M),U=D.length,W=0;U>W;)c.f(T,$=D[W++],w[$]);return T}},47310:(E,C,s)=>{"use strict";var r=s(52731),a=s(74550),c=s(53513),u=s(43869),e=s(9419),f=TypeError,m=Object.defineProperty,T=Object.getOwnPropertyDescriptor,M="enumerable",w="configurable",D="writable";C.f=r?c?function(W,$,J){if(u(W),$=e($),u(J),"function"==typeof W&&"prototype"===$&&"value"in J&&D in J&&!J[D]){var F=T(W,$);F&&F[D]&&(W[$]=J.value,J={configurable:w in J?J[w]:F[w],enumerable:M in J?J[M]:F[M],writable:!1})}return m(W,$,J)}:m:function(W,$,J){if(u(W),$=e($),u(J),a)try{return m(W,$,J)}catch{}if("get"in J||"set"in J)throw f("Accessors not supported");return"value"in J&&(W[$]=J.value),W}},977:(E,C,s)=>{"use strict";var r=s(52731),a=s(99150),c=s(77602),u=s(62220),e=s(8622),f=s(9419),m=s(24817),T=s(74550),M=Object.getOwnPropertyDescriptor;C.f=r?M:function(D,U){if(D=e(D),U=f(U),T)try{return M(D,U)}catch{}if(m(D,U))return u(!a(c.f,D,U),D[U])}},32771:(E,C,s)=>{"use strict";var r=s(31400),a=s(8622),c=s(16751).f,u=s(95202),e="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];E.exports.f=function(T){return e&&"Window"===r(T)?function(m){try{return c(m)}catch{return u(e)}}(T):c(a(T))}},16751:(E,C,s)=>{"use strict";var r=s(49438),c=s(54515).concat("length","prototype");C.f=Object.getOwnPropertyNames||function(e){return r(e,c)}},42385:(E,C)=>{"use strict";C.f=Object.getOwnPropertySymbols},18981:(E,C,s)=>{"use strict";var r=s(24817),a=s(55634),c=s(43602),u=s(54819),e=s(42876),f=u("IE_PROTO"),m=Object,T=m.prototype;E.exports=e?m.getPrototypeOf:function(M){var w=c(M);if(r(w,f))return w[f];var D=w.constructor;return a(D)&&w instanceof D?D.prototype:w instanceof m?T:null}},72416:(E,C,s)=>{"use strict";var r=s(80413),a=s(11143),c=s(31400),u=s(3181),e=Object.isExtensible,f=r(function(){e(1)});E.exports=f||u?function(T){return!(!a(T)||u&&"ArrayBuffer"===c(T))&&(!e||e(T))}:e},7971:(E,C,s)=>{"use strict";var r=s(49566);E.exports=r({}.isPrototypeOf)},49438:(E,C,s)=>{"use strict";var r=s(49566),a=s(24817),c=s(8622),u=s(63306).indexOf,e=s(88488),f=r([].push);E.exports=function(m,T){var U,M=c(m),w=0,D=[];for(U in M)!a(e,U)&&a(M,U)&&f(D,U);for(;T.length>w;)a(M,U=T[w++])&&(~u(D,U)||f(D,U));return D}},83715:(E,C,s)=>{"use strict";var r=s(49438),a=s(54515);E.exports=Object.keys||function(u){return r(u,a)}},77602:(E,C)=>{"use strict";var s={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!s.call({1:2},1);C.f=a?function(u){var e=r(this,u);return!!e&&e.enumerable}:s},78583:(E,C,s)=>{"use strict";var r=s(36770),a=s(43869),c=s(54857);E.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f,u=!1,e={};try{(f=r(Object.prototype,"__proto__","set"))(e,[]),u=e instanceof Array}catch{}return function(T,M){return a(T),c(M),u?f(T,M):T.__proto__=M,T}}():void 0)},12902:(E,C,s)=>{"use strict";var r=s(81469),a=s(96843);E.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},8061:(E,C,s)=>{"use strict";var r=s(99150),a=s(55634),c=s(11143),u=TypeError;E.exports=function(e,f){var m,T;if("string"===f&&a(m=e.toString)&&!c(T=r(m,e))||a(m=e.valueOf)&&!c(T=r(m,e))||"string"!==f&&a(m=e.toString)&&!c(T=r(m,e)))return T;throw u("Can't convert object to primitive value")}},85818:(E,C,s)=>{"use strict";var r=s(23988),a=s(49566),c=s(16751),u=s(42385),e=s(43869),f=a([].concat);E.exports=r("Reflect","ownKeys")||function(T){var M=c.f(e(T)),w=u.f;return w?f(M,w(T)):M}},64262:(E,C,s)=>{"use strict";var r=s(99150),a=s(43869),c=s(55634),u=s(31400),e=s(63872),f=TypeError;E.exports=function(m,T){var M=m.exec;if(c(M)){var w=r(M,m,T);return null!==w&&a(w),w}if("RegExp"===u(m))return r(e,m,T);throw f("RegExp#exec called on incompatible receiver")}},63872:(E,C,s)=>{"use strict";var fe,Te,r=s(99150),a=s(49566),c=s(17510),u=s(17367),e=s(92759),f=s(30505),m=s(28362),T=s(91874).get,M=s(94059),w=s(2104),D=f("native-string-replace",String.prototype.replace),U=RegExp.prototype.exec,W=U,$=a("".charAt),J=a("".indexOf),F=a("".replace),X=a("".slice),de=(Te=/b*/g,r(U,fe=/a/,"a"),r(U,Te,"a"),0!==fe.lastIndex||0!==Te.lastIndex),V=e.BROKEN_CARET,ce=void 0!==/()??/.exec("")[1];(de||ce||V||M||w)&&(W=function(Te){var ct,qe,He,We,Le,Pt,it,$e=this,ge=T($e),Et=c(Te),ot=ge.raw;if(ot)return ot.lastIndex=$e.lastIndex,ct=r(W,ot,Et),$e.lastIndex=ot.lastIndex,ct;var Xt=ge.groups,cn=V&&$e.sticky,pn=r(u,$e),Rn=$e.source,At=0,qt=Et;if(cn&&(pn=F(pn,"y",""),-1===J(pn,"g")&&(pn+="g"),qt=X(Et,$e.lastIndex),$e.lastIndex>0&&(!$e.multiline||$e.multiline&&"\n"!==$(Et,$e.lastIndex-1))&&(Rn="(?: "+Rn+")",qt=" "+qt,At++),qe=new RegExp("^(?:"+Rn+")",pn)),ce&&(qe=new RegExp("^"+Rn+"$(?!\\s)",pn)),de&&(He=$e.lastIndex),We=r(U,cn?qe:$e,qt),cn?We?(We.input=X(We.input,At),We[0]=X(We[0],At),We.index=$e.lastIndex,$e.lastIndex+=We[0].length):$e.lastIndex=0:de&&We&&($e.lastIndex=$e.global?We.index+We[0].length:He),ce&&We&&We.length>1&&r(D,We[0],qe,function(){for(Le=1;Le<arguments.length-2;Le++)void 0===arguments[Le]&&(We[Le]=void 0)}),We&&Xt)for(We.groups=Pt=m(null),Le=0;Le<Xt.length;Le++)Pt[(it=Xt[Le])[0]]=We[it[1]];return We}),E.exports=W},17367:(E,C,s)=>{"use strict";var r=s(43869);E.exports=function(){var a=r(this),c="";return a.hasIndices&&(c+="d"),a.global&&(c+="g"),a.ignoreCase&&(c+="i"),a.multiline&&(c+="m"),a.dotAll&&(c+="s"),a.unicode&&(c+="u"),a.unicodeSets&&(c+="v"),a.sticky&&(c+="y"),c}},92759:(E,C,s)=>{"use strict";var r=s(80413),c=s(75099).RegExp,u=r(function(){var m=c("a","y");return m.lastIndex=2,null!==m.exec("abcd")}),e=u||r(function(){return!c("a","y").sticky}),f=u||r(function(){var m=c("^r","gy");return m.lastIndex=2,null!==m.exec("str")});E.exports={BROKEN_CARET:f,MISSED_STICKY:e,UNSUPPORTED_Y:u}},94059:(E,C,s)=>{"use strict";var r=s(80413),c=s(75099).RegExp;E.exports=r(function(){var u=c(".","s");return!(u.dotAll&&u.exec("\n")&&"s"===u.flags)})},2104:(E,C,s)=>{"use strict";var r=s(80413),c=s(75099).RegExp;E.exports=r(function(){var u=c("(?<a>b)","g");return"b"!==u.exec("b").groups.a||"bc"!=="b".replace(u,"$<a>c")})},99324:(E,C,s)=>{"use strict";var r=s(56537),a=TypeError;E.exports=function(c){if(r(c))throw a("Can't call method on "+c);return c}},89342:(E,C,s)=>{"use strict";var r=s(47310).f,a=s(24817),u=s(24241)("toStringTag");E.exports=function(e,f,m){e&&!m&&(e=e.prototype),e&&!a(e,u)&&r(e,u,{configurable:!0,value:f})}},54819:(E,C,s)=>{"use strict";var r=s(30505),a=s(6318),c=r("keys");E.exports=function(u){return c[u]||(c[u]=a(u))}},18692:(E,C,s)=>{"use strict";var r=s(75099),a=s(85359),c="__core-js_shared__",u=r[c]||a(c,{});E.exports=u},30505:(E,C,s)=>{"use strict";var r=s(20065),a=s(18692);(E.exports=function(c,u){return a[c]||(a[c]=void 0!==u?u:{})})("versions",[]).push({version:"3.32.2",mode:r?"pure":"global",copyright:"\xa9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE",source:"https://github.com/zloirock/core-js"})},50354:(E,C,s)=>{"use strict";var r=s(49566),a=s(8063),c=s(17510),u=s(99324),e=r("".charAt),f=r("".charCodeAt),m=r("".slice),T=function(M){return function(w,D){var J,F,U=c(u(w)),W=a(D),$=U.length;return W<0||W>=$?M?"":void 0:(J=f(U,W))<55296||J>56319||W+1===$||(F=f(U,W+1))<56320||F>57343?M?e(U,W):J:M?m(U,W,W+2):F-56320+(J-55296<<10)+65536}};E.exports={codeAt:T(!1),charAt:T(!0)}},60709:(E,C,s)=>{"use strict";var r=s(49566),a=s(99324),c=s(17510),u=s(70017),e=r("".replace),f=RegExp("^["+u+"]+"),m=RegExp("(^|[^"+u+"])["+u+"]+$"),T=function(M){return function(w){var D=c(a(w));return 1&M&&(D=e(D,f,"")),2&M&&(D=e(D,m,"$1")),D}};E.exports={start:T(1),end:T(2),trim:T(3)}},22455:(E,C,s)=>{"use strict";var r=s(22243),a=s(80413),u=s(75099).String;E.exports=!!Object.getOwnPropertySymbols&&!a(function(){var e=Symbol("symbol detection");return!u(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},77067:(E,C,s)=>{"use strict";var r=s(8063),a=Math.max,c=Math.min;E.exports=function(u,e){var f=r(u);return f<0?a(f+e,0):c(f,e)}},8622:(E,C,s)=>{"use strict";var r=s(98679),a=s(99324);E.exports=function(c){return r(a(c))}},8063:(E,C,s)=>{"use strict";var r=s(30744);E.exports=function(a){var c=+a;return c!=c||0===c?0:r(c)}},49499:(E,C,s)=>{"use strict";var r=s(8063),a=Math.min;E.exports=function(c){return c>0?a(r(c),9007199254740991):0}},43602:(E,C,s)=>{"use strict";var r=s(99324),a=Object;E.exports=function(c){return a(r(c))}},2736:(E,C,s)=>{"use strict";var r=s(99150),a=s(11143),c=s(37507),u=s(60989),e=s(8061),f=s(24241),m=TypeError,T=f("toPrimitive");E.exports=function(M,w){if(!a(M)||c(M))return M;var U,D=u(M,T);if(D){if(void 0===w&&(w="default"),U=r(D,M,w),!a(U)||c(U))return U;throw m("Can't convert object to primitive value")}return void 0===w&&(w="number"),e(M,w)}},9419:(E,C,s)=>{"use strict";var r=s(2736),a=s(37507);E.exports=function(c){var u=r(c,"string");return a(u)?u:u+""}},81469:(E,C,s)=>{"use strict";var c={};c[s(24241)("toStringTag")]="z",E.exports="[object z]"===String(c)},17510:(E,C,s)=>{"use strict";var r=s(96843),a=String;E.exports=function(c){if("Symbol"===r(c))throw TypeError("Cannot convert a Symbol value to a string");return a(c)}},55781:E=>{"use strict";var C=String;E.exports=function(s){try{return C(s)}catch{return"Object"}}},6318:(E,C,s)=>{"use strict";var r=s(49566),a=0,c=Math.random(),u=r(1..toString);E.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+u(++a+c,36)}},48531:(E,C,s)=>{"use strict";var r=s(22455);E.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},53513:(E,C,s)=>{"use strict";var r=s(52731),a=s(80413);E.exports=r&&a(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},14298:(E,C,s)=>{"use strict";var r=s(75099),a=s(55634),c=r.WeakMap;E.exports=a(c)&&/native code/.test(String(c))},24241:(E,C,s)=>{"use strict";var r=s(75099),a=s(30505),c=s(24817),u=s(6318),e=s(22455),f=s(48531),m=r.Symbol,T=a("wks"),M=f?m.for||m:m&&m.withoutSetter||u;E.exports=function(w){return c(T,w)||(T[w]=e&&c(m,w)?m[w]:M("Symbol."+w)),T[w]}},70017:E=>{"use strict";E.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},89001:(E,C,s)=>{"use strict";var r=s(81846),a=s(76775).filter;r({target:"Array",proto:!0,forced:!s(64020)("filter")},{filter:function(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}})},4071:(E,C,s)=>{"use strict";var r=s(8622),a=s(39488),c=s(90338),u=s(91874),e=s(47310).f,f=s(12161),m=s(64026),T=s(20065),M=s(52731),w="Array Iterator",D=u.set,U=u.getterFor(w);E.exports=f(Array,"Array",function($,J){D(this,{type:w,target:r($),index:0,kind:J})},function(){var $=U(this),J=$.target,F=$.kind,X=$.index++;if(!J||X>=J.length)return $.target=void 0,m(void 0,!0);switch(F){case"keys":return m(X,!1);case"values":return m(J[X],!1)}return m([X,J[X]],!1)},"values");var W=c.Arguments=c.Array;if(a("keys"),a("values"),a("entries"),!T&&M&&"values"!==W.name)try{e(W,"name",{value:"values"})}catch{}},90808:(E,C,s)=>{"use strict";var r=s(81846),a=s(63385).left,c=s(55786),u=s(22243);r({target:"Array",proto:!0,forced:!s(99702)&&u>79&&u<83||!c("reduce")},{reduce:function(M){var w=arguments.length;return a(this,M,w,w>1?arguments[1]:void 0)}})},9579:(E,C,s)=>{"use strict";var r=s(52731),a=s(62264).EXISTS,c=s(49566),u=s(35852),e=Function.prototype,f=c(e.toString),m=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,T=c(m.exec);r&&!a&&u(e,"name",{configurable:!0,get:function(){try{return T(m,f(this))[1]}catch{return""}}})},79913:(E,C,s)=>{"use strict";var r=s(81846),a=s(41959);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},54891:(E,C,s)=>{"use strict";var r=s(81469),a=s(67874),c=s(12902);r||a(Object.prototype,"toString",c,{unsafe:!0})},16331:(E,C,s)=>{"use strict";var r=s(81846),a=s(1185);r({global:!0,forced:parseInt!==a},{parseInt:a})},27119:(E,C,s)=>{"use strict";var r=s(81846),a=s(63872);r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},11125:(E,C,s)=>{"use strict";var r=s(50354).charAt,a=s(17510),c=s(91874),u=s(12161),e=s(64026),f="String Iterator",m=c.set,T=c.getterFor(f);u(String,"String",function(M){m(this,{type:f,string:a(M),index:0})},function(){var W,w=T(this),D=w.string,U=w.index;return U>=D.length?e(void 0,!0):(W=r(D,U),w.index+=W.length,e(W,!1))})},28036:(E,C,s)=>{"use strict";var r=s(99150),a=s(99661),c=s(43869),u=s(56537),e=s(49499),f=s(17510),m=s(99324),T=s(60989),M=s(11338),w=s(64262);a("match",function(D,U,W){return[function(J){var F=m(this),X=u(J)?void 0:T(J,D);return X?r(X,J,F):new RegExp(J)[D](f(F))},function($){var J=c(this),F=f($),X=W(U,J,F);if(X.done)return X.value;if(!J.global)return w(J,F);var de=J.unicode;J.lastIndex=0;for(var se,V=[],ce=0;null!==(se=w(J,F));){var fe=f(se[0]);V[ce]=fe,""===fe&&(J.lastIndex=M(F,e(J.lastIndex),de)),ce++}return 0===ce?null:V}]})},2082:(E,C,s)=>{"use strict";var r=s(65461),a=s(99150),c=s(49566),u=s(99661),e=s(80413),f=s(43869),m=s(55634),T=s(56537),M=s(8063),w=s(49499),D=s(17510),U=s(99324),W=s(11338),$=s(60989),J=s(49682),F=s(64262),de=s(24241)("replace"),V=Math.max,ce=Math.min,se=c([].concat),fe=c([].push),Te=c("".indexOf),$e=c("".slice),ge=function(qe){return void 0===qe?qe:String(qe)},Et="$0"==="a".replace(/./,"$0"),ot=!!/./[de]&&""===/./[de]("a","$0");u("replace",function(qe,He,We){var Le=ot?"$":"$0";return[function(it,Xt){var cn=U(this),pn=T(it)?void 0:$(it,de);return pn?a(pn,it,cn,Xt):a(He,D(cn),it,Xt)},function(Pt,it){var Xt=f(this),cn=D(Pt);if("string"==typeof it&&-1===Te(it,Le)&&-1===Te(it,"$<")){var pn=We(He,Xt,cn,it);if(pn.done)return pn.value}var Rn=m(it);Rn||(it=D(it));var qt,At=Xt.global;At&&(qt=Xt.unicode,Xt.lastIndex=0);for(var fn,sn=[];null!==(fn=F(Xt,cn))&&(fe(sn,fn),At);)""===D(fn[0])&&(Xt.lastIndex=W(cn,w(Xt.lastIndex),qt));for(var Kr="",Or=0,Lr=0;Lr<sn.length;Lr++){for(var br,ir=D((fn=sn[Lr])[0]),Qr=V(ce(M(fn.index),cn.length),0),jr=[],ht=1;ht<fn.length;ht++)fe(jr,ge(fn[ht]));var Wt=fn.groups;if(Rn){var Tt=se([ir],jr,Qr,cn);void 0!==Wt&&fe(Tt,Wt),br=D(r(it,void 0,Tt))}else br=J(ir,cn,Qr,jr,Wt,it);Qr>=Or&&(Kr+=$e(cn,Or,Qr)+br,Or=Qr+ir.length)}return Kr+$e(cn,Or)}]},!!e(function(){var qe=/./;return qe.exec=function(){var He=[];return He.groups={a:"7"},He},"7"!=="".replace(qe,"$<a>")})||!Et||ot)},10224:(E,C,s)=>{"use strict";var fe,r=s(46121),a=s(75099),c=s(49566),u=s(94227),e=s(58991),f=s(65210),m=s(59798),T=s(11143),M=s(91874).enforce,w=s(80413),D=s(14298),U=Object,W=Array.isArray,$=U.isExtensible,J=U.isFrozen,F=U.isSealed,X=U.freeze,de=U.seal,V={},ce={},se=!a.ActiveXObject&&"ActiveXObject"in a,Te=function(We){return function(){return We(this,arguments.length?arguments[0]:void 0)}},$e=f("WeakMap",Te,m),ge=$e.prototype,Et=c(ge.set);if(D)if(se){fe=m.getConstructor(Te,"WeakMap",!0),e.enable();var ct=c(ge.delete),qe=c(ge.has),He=c(ge.get);u(ge,{delete:function(We){if(T(We)&&!$(We)){var Le=M(this);return Le.frozen||(Le.frozen=new fe),ct(this,We)||Le.frozen.delete(We)}return ct(this,We)},has:function(Le){if(T(Le)&&!$(Le)){var Pt=M(this);return Pt.frozen||(Pt.frozen=new fe),qe(this,Le)||Pt.frozen.has(Le)}return qe(this,Le)},get:function(Le){if(T(Le)&&!$(Le)){var Pt=M(this);return Pt.frozen||(Pt.frozen=new fe),qe(this,Le)?He(this,Le):Pt.frozen.get(Le)}return He(this,Le)},set:function(Le,Pt){if(T(Le)&&!$(Le)){var it=M(this);it.frozen||(it.frozen=new fe),qe(this,Le)?Et(this,Le,Pt):it.frozen.set(Le,Pt)}else Et(this,Le,Pt);return this}})}else r&&w(function(){var We=X([]);return Et(new $e,We,1),!J(We)})&&u(ge,{set:function(Le,Pt){var it;return W(Le)&&(J(Le)?it=V:F(Le)&&(it=ce)),Et(this,Le,Pt),it===V&&X(Le),it===ce&&de(Le),this}})},30419:(E,C,s)=>{"use strict";s(10224)},39575:(E,C,s)=>{"use strict";var r=s(75099),a=s(24756),c=s(14306),u=s(4071),e=s(14674),f=s(24241),m=f("iterator"),T=f("toStringTag"),M=u.values,w=function(U,W){if(U){if(U[m]!==M)try{e(U,m,M)}catch{U[m]=M}if(U[T]||e(U,T,W),a[W])for(var $ in u)if(U[$]!==u[$])try{e(U,$,u[$])}catch{U[$]=u[$]}}};for(var D in a)w(r[D]&&r[D].prototype,D);w(c,"DOMTokenList")},64762:(E,C,s)=>{"use strict";s.d(C,{ZT:()=>a,fM:()=>f,gn:()=>e,pi:()=>c,w6:()=>m});var r=function(ot,ct){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(qe,He){qe.__proto__=He}||function(qe,He){for(var We in He)Object.prototype.hasOwnProperty.call(He,We)&&(qe[We]=He[We])})(ot,ct)};function a(ot,ct){if("function"!=typeof ct&&null!==ct)throw new TypeError("Class extends value "+String(ct)+" is not a constructor or null");function qe(){this.constructor=ot}r(ot,ct),ot.prototype=null===ct?Object.create(ct):(qe.prototype=ct.prototype,new qe)}var c=function(){return c=Object.assign||function(ct){for(var qe,He=1,We=arguments.length;He<We;He++)for(var Le in qe=arguments[He])Object.prototype.hasOwnProperty.call(qe,Le)&&(ct[Le]=qe[Le]);return ct},c.apply(this,arguments)};function e(ot,ct,qe,He){var Pt,We=arguments.length,Le=We<3?ct:null===He?He=Object.getOwnPropertyDescriptor(ct,qe):He;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Le=Reflect.decorate(ot,ct,qe,He);else for(var it=ot.length-1;it>=0;it--)(Pt=ot[it])&&(Le=(We<3?Pt(Le):We>3?Pt(ct,qe,Le):Pt(ct,qe))||Le);return We>3&&Le&&Object.defineProperty(ct,qe,Le),Le}function f(ot,ct){return function(qe,He){ct(qe,He,ot)}}function m(ot,ct){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(ot,ct)}},46700:(E,C,s)=>{var r={"./af":26431,"./af.js":26431,"./ar":81286,"./ar-dz":1616,"./ar-dz.js":1616,"./ar-kw":9759,"./ar-kw.js":9759,"./ar-ly":43160,"./ar-ly.js":43160,"./ar-ma":62551,"./ar-ma.js":62551,"./ar-sa":79989,"./ar-sa.js":79989,"./ar-tn":6962,"./ar-tn.js":6962,"./ar.js":81286,"./az":15887,"./az.js":15887,"./be":14572,"./be.js":14572,"./bg":3276,"./bg.js":3276,"./bm":93344,"./bm.js":93344,"./bn":58985,"./bn-bd":83990,"./bn-bd.js":83990,"./bn.js":58985,"./bo":94391,"./bo.js":94391,"./br":46728,"./br.js":46728,"./bs":5536,"./bs.js":5536,"./ca":41043,"./ca.js":41043,"./cs":70420,"./cs.js":70420,"./cv":33513,"./cv.js":33513,"./cy":6771,"./cy.js":6771,"./da":47978,"./da.js":47978,"./de":46061,"./de-at":25204,"./de-at.js":25204,"./de-ch":2653,"./de-ch.js":2653,"./de.js":46061,"./dv":85,"./dv.js":85,"./el":8579,"./el.js":8579,"./en-au":25724,"./en-au.js":25724,"./en-ca":10525,"./en-ca.js":10525,"./en-gb":52847,"./en-gb.js":52847,"./en-ie":67216,"./en-ie.js":67216,"./en-il":39305,"./en-il.js":39305,"./en-in":73364,"./en-in.js":73364,"./en-nz":79130,"./en-nz.js":79130,"./en-sg":11161,"./en-sg.js":11161,"./eo":50802,"./eo.js":50802,"./es":40328,"./es-do":45551,"./es-do.js":45551,"./es-mx":75615,"./es-mx.js":75615,"./es-us":64790,"./es-us.js":64790,"./es.js":40328,"./et":96389,"./et.js":96389,"./eu":52961,"./eu.js":52961,"./fa":26151,"./fa.js":26151,"./fi":7997,"./fi.js":7997,"./fil":58898,"./fil.js":58898,"./fo":37779,"./fo.js":37779,"./fr":28174,"./fr-ca":3287,"./fr-ca.js":3287,"./fr-ch":38867,"./fr-ch.js":38867,"./fr.js":28174,"./fy":50452,"./fy.js":50452,"./ga":45014,"./ga.js":45014,"./gd":74127,"./gd.js":74127,"./gl":72124,"./gl.js":72124,"./gom-deva":6444,"./gom-deva.js":6444,"./gom-latn":37953,"./gom-latn.js":37953,"./gu":76604,"./gu.js":76604,"./he":1222,"./he.js":1222,"./hi":74235,"./hi.js":74235,"./hr":622,"./hr.js":622,"./hu":37735,"./hu.js":37735,"./hy-am":90402,"./hy-am.js":90402,"./id":59187,"./id.js":59187,"./is":30536,"./is.js":30536,"./it":35007,"./it-ch":94667,"./it-ch.js":94667,"./it.js":35007,"./ja":62093,"./ja.js":62093,"./jv":80059,"./jv.js":80059,"./ka":66870,"./ka.js":66870,"./kk":80880,"./kk.js":80880,"./km":1083,"./km.js":1083,"./kn":68785,"./kn.js":68785,"./ko":21721,"./ko.js":21721,"./ku":37851,"./ku.js":37851,"./ky":1727,"./ky.js":1727,"./lb":40346,"./lb.js":40346,"./lo":93002,"./lo.js":93002,"./lt":64035,"./lt.js":64035,"./lv":56927,"./lv.js":56927,"./me":5634,"./me.js":5634,"./mi":94173,"./mi.js":94173,"./mk":86320,"./mk.js":86320,"./ml":11705,"./ml.js":11705,"./mn":31062,"./mn.js":31062,"./mr":92805,"./mr.js":92805,"./ms":11341,"./ms-my":59900,"./ms-my.js":59900,"./ms.js":11341,"./mt":37734,"./mt.js":37734,"./my":19034,"./my.js":19034,"./nb":9324,"./nb.js":9324,"./ne":46495,"./ne.js":46495,"./nl":70673,"./nl-be":76272,"./nl-be.js":76272,"./nl.js":70673,"./nn":72486,"./nn.js":72486,"./oc-lnc":46219,"./oc-lnc.js":46219,"./pa-in":2829,"./pa-in.js":2829,"./pl":78444,"./pl.js":78444,"./pt":53170,"./pt-br":66117,"./pt-br.js":66117,"./pt.js":53170,"./ro":96587,"./ro.js":96587,"./ru":39264,"./ru.js":39264,"./sd":42135,"./sd.js":42135,"./se":95366,"./se.js":95366,"./si":93379,"./si.js":93379,"./sk":46143,"./sk.js":46143,"./sl":196,"./sl.js":196,"./sq":21082,"./sq.js":21082,"./sr":91621,"./sr-cyrl":98963,"./sr-cyrl.js":98963,"./sr.js":91621,"./ss":41404,"./ss.js":41404,"./sv":55685,"./sv.js":55685,"./sw":3872,"./sw.js":3872,"./ta":54106,"./ta.js":54106,"./te":39204,"./te.js":39204,"./tet":83692,"./tet.js":83692,"./tg":86361,"./tg.js":86361,"./th":31735,"./th.js":31735,"./tk":1568,"./tk.js":1568,"./tl-ph":96129,"./tl-ph.js":96129,"./tlh":13759,"./tlh.js":13759,"./tr":81644,"./tr.js":81644,"./tzl":90875,"./tzl.js":90875,"./tzm":16878,"./tzm-latn":11041,"./tzm-latn.js":11041,"./tzm.js":16878,"./ug-cn":74357,"./ug-cn.js":74357,"./uk":74810,"./uk.js":74810,"./ur":86794,"./ur.js":86794,"./uz":28966,"./uz-latn":77959,"./uz-latn.js":77959,"./uz.js":28966,"./vi":35386,"./vi.js":35386,"./x-pseudo":23156,"./x-pseudo.js":23156,"./yo":68028,"./yo.js":68028,"./zh-cn":9330,"./zh-cn.js":9330,"./zh-hk":89380,"./zh-hk.js":89380,"./zh-mo":60874,"./zh-mo.js":60874,"./zh-tw":96508,"./zh-tw.js":96508};function a(u){var e=c(u);return s(e)}function c(u){if(!s.o(r,u)){var e=new Error("Cannot find module '"+u+"'");throw e.code="MODULE_NOT_FOUND",e}return r[u]}a.keys=function(){return Object.keys(r)},a.resolve=c,E.exports=a,a.id=46700},24654:()=>{},30071:(E,C,s)=>{E.exports=s(75242)},58711:(E,C,s)=>{E.exports=s(10323)},14226:(E,C,s)=>{E.exports=s(38762)},15886:(E,C,s)=>{E.exports=s(71873)},34377:(E,C,s)=>{E.exports=s(61599)},28086:(E,C,s)=>{E.exports=s(34097)},56166:(E,C,s)=>{E.exports=s(15149)},48129:(E,C,s)=>{E.exports=s(83361)},10068:(E,C,s)=>{E.exports=s(19095)},45163:(E,C,s)=>{E.exports=s(71420)},45819:(E,C,s)=>{E.exports=s(13178)},84901:(E,C,s)=>{E.exports=s(52049)},35524:(E,C,s)=>{E.exports=s(83655)},71851:(E,C,s)=>{E.exports=s(87054)},91465:(E,C,s)=>{E.exports=s(51946)},95327:(E,C,s)=>{E.exports=s(40764)},37940:(E,C,s)=>{E.exports=s(81214)},35431:(E,C,s)=>{E.exports=s(50881)},53757:(E,C,s)=>{E.exports=s(38813)},46558:(E,C,s)=>{E.exports=s(70157)},53625:(E,C,s)=>{E.exports=s(3502)},31978:(E,C,s)=>{E.exports=s(81610)},33814:(E,C,s)=>{E.exports=s(19543)},84220:(E,C,s)=>{E.exports=s(74046)},40984:(E,C,s)=>{E.exports=s(13731)},32322:(E,C,s)=>{E.exports=s(80129)},44859:(E,C,s)=>{E.exports=s(43720)},54082:(E,C,s)=>{E.exports=s(640)},30508:(E,C,s)=>{E.exports=s(50320)},46245:(E,C,s)=>{E.exports=s(1162)},35517:(E,C,s)=>{E.exports=s(70809)},86413:(E,C,s)=>{E.exports=s(26498)},87513:(E,C,s)=>{E.exports=s(12118)},69253:(E,C,s)=>{E.exports=s(70906)},12885:(E,C,s)=>{var r=s(79599).default,a=s(62005),c=s(88819),u=s(41171),e=s(42346),f=s(31236),m=s(63811),T=s(24329),M=s(2793),w=s(44948),D=s(96471);function U(){"use strict";E.exports=U=function(){return $},E.exports.__esModule=!0,E.exports.default=E.exports;var W,$={},J=Object.prototype,F=J.hasOwnProperty,X=a||function(Or,Lr,ir){Or[Lr]=ir.value},de="function"==typeof c?c:{},V=de.iterator||"@@iterator",ce=de.asyncIterator||"@@asyncIterator",se=de.toStringTag||"@@toStringTag";function fe(Or,Lr,ir){return a(Or,Lr,{value:ir,enumerable:!0,configurable:!0,writable:!0}),Or[Lr]}try{fe({},"")}catch{fe=function(ir,Qr,jr){return ir[Qr]=jr}}function Te(Or,Lr,ir,Qr){var br=u((Lr&&Lr.prototype instanceof He?Lr:He).prototype),ht=new xn(Qr||[]);return X(br,"_invoke",{value:At(Or,ir,ht)}),br}function $e(Or,Lr,ir){try{return{type:"normal",arg:Or.call(Lr,ir)}}catch(Qr){return{type:"throw",arg:Qr}}}$.wrap=Te;var ge="suspendedStart",Et="suspendedYield",ot="executing",ct="completed",qe={};function He(){}function We(){}function Le(){}var Pt={};fe(Pt,V,function(){return this});var Xt=e&&e(e(Kr([])));Xt&&Xt!==J&&F.call(Xt,V)&&(Pt=Xt);var cn=Le.prototype=He.prototype=u(Pt);function pn(Or){var Lr;f(Lr=["next","throw","return"]).call(Lr,function(ir){fe(Or,ir,function(Qr){return this._invoke(ir,Qr)})})}function Rn(Or,Lr){function ir(jr,br,ht,Wt){var Tt=$e(Or[jr],Or,br);if("throw"!==Tt.type){var wn=Tt.arg,jn=wn.value;return jn&&"object"==r(jn)&&F.call(jn,"__await")?Lr.resolve(jn.__await).then(function(hr){ir("next",hr,ht,Wt)},function(hr){ir("throw",hr,ht,Wt)}):Lr.resolve(jn).then(function(hr){wn.value=hr,ht(wn)},function(hr){return ir("throw",hr,ht,Wt)})}Wt(Tt.arg)}var Qr;X(this,"_invoke",{value:function(br,ht){function Wt(){return new Lr(function(Tt,wn){ir(br,ht,Tt,wn)})}return Qr=Qr?Qr.then(Wt,Wt):Wt()}})}function At(Or,Lr,ir){var Qr=ge;return function(jr,br){if(Qr===ot)throw new Error("Generator is already running");if(Qr===ct){if("throw"===jr)throw br;return{value:W,done:!0}}for(ir.method=jr,ir.arg=br;;){var ht=ir.delegate;if(ht){var Wt=qt(ht,ir);if(Wt){if(Wt===qe)continue;return Wt}}if("next"===ir.method)ir.sent=ir._sent=ir.arg;else if("throw"===ir.method){if(Qr===ge)throw Qr=ct,ir.arg;ir.dispatchException(ir.arg)}else"return"===ir.method&&ir.abrupt("return",ir.arg);Qr=ot;var Tt=$e(Or,Lr,ir);if("normal"===Tt.type){if(Qr=ir.done?ct:Et,Tt.arg===qe)continue;return{value:Tt.arg,done:ir.done}}"throw"===Tt.type&&(Qr=ct,ir.method="throw",ir.arg=Tt.arg)}}}function qt(Or,Lr){var ir=Lr.method,Qr=Or.iterator[ir];if(Qr===W)return Lr.delegate=null,"throw"===ir&&Or.iterator.return&&(Lr.method="return",Lr.arg=W,qt(Or,Lr),"throw"===Lr.method)||"return"!==ir&&(Lr.method="throw",Lr.arg=new TypeError("The iterator does not provide a '"+ir+"' method")),qe;var jr=$e(Qr,Or.iterator,Lr.arg);if("throw"===jr.type)return Lr.method="throw",Lr.arg=jr.arg,Lr.delegate=null,qe;var br=jr.arg;return br?br.done?(Lr[Or.resultName]=br.value,Lr.next=Or.nextLoc,"return"!==Lr.method&&(Lr.method="next",Lr.arg=W),Lr.delegate=null,qe):br:(Lr.method="throw",Lr.arg=new TypeError("iterator result is not an object"),Lr.delegate=null,qe)}function sn(Or){var Lr,ir={tryLoc:Or[0]};1 in Or&&(ir.catchLoc=Or[1]),2 in Or&&(ir.finallyLoc=Or[2],ir.afterLoc=Or[3]),m(Lr=this.tryEntries).call(Lr,ir)}function fn(Or){var Lr=Or.completion||{};Lr.type="normal",delete Lr.arg,Or.completion=Lr}function xn(Or){this.tryEntries=[{tryLoc:"root"}],f(Or).call(Or,sn,this),this.reset(!0)}function Kr(Or){if(Or||""===Or){var Lr=Or[V];if(Lr)return Lr.call(Or);if("function"==typeof Or.next)return Or;if(!isNaN(Or.length)){var ir=-1,Qr=function jr(){for(;++ir<Or.length;)if(F.call(Or,ir))return jr.value=Or[ir],jr.done=!1,jr;return jr.value=W,jr.done=!0,jr};return Qr.next=Qr}}throw new TypeError(r(Or)+" is not iterable")}return We.prototype=Le,X(cn,"constructor",{value:Le,configurable:!0}),X(Le,"constructor",{value:We,configurable:!0}),We.displayName=fe(Le,se,"GeneratorFunction"),$.isGeneratorFunction=function(Or){var Lr="function"==typeof Or&&Or.constructor;return!!Lr&&(Lr===We||"GeneratorFunction"===(Lr.displayName||Lr.name))},$.mark=function(Or){return T?T(Or,Le):(Or.__proto__=Le,fe(Or,se,"GeneratorFunction")),Or.prototype=u(cn),Or},$.awrap=function(Or){return{__await:Or}},pn(Rn.prototype),fe(Rn.prototype,ce,function(){return this}),$.AsyncIterator=Rn,$.async=function(Or,Lr,ir,Qr,jr){void 0===jr&&(jr=M);var br=new Rn(Te(Or,Lr,ir,Qr),jr);return $.isGeneratorFunction(Lr)?br:br.next().then(function(ht){return ht.done?ht.value:br.next()})},pn(cn),fe(cn,se,"Generator"),fe(cn,V,function(){return this}),fe(cn,"toString",function(){return"[object Generator]"}),$.keys=function(Or){var Lr=Object(Or),ir=[];for(var Qr in Lr)m(ir).call(ir,Qr);return w(ir).call(ir),function jr(){for(;ir.length;){var br=ir.pop();if(br in Lr)return jr.value=br,jr.done=!1,jr}return jr.done=!0,jr}},$.values=Kr,xn.prototype={constructor:xn,reset:function(Lr){var ir;if(this.prev=0,this.next=0,this.sent=this._sent=W,this.done=!1,this.delegate=null,this.method="next",this.arg=W,f(ir=this.tryEntries).call(ir,fn),!Lr)for(var Qr in this)"t"===Qr.charAt(0)&&F.call(this,Qr)&&!isNaN(+D(Qr).call(Qr,1))&&(this[Qr]=W)},stop:function(){this.done=!0;var Lr=this.tryEntries[0].completion;if("throw"===Lr.type)throw Lr.arg;return this.rval},dispatchException:function(Lr){if(this.done)throw Lr;var ir=this;function Qr(wn,jn){return ht.type="throw",ht.arg=Lr,ir.next=wn,jn&&(ir.method="next",ir.arg=W),!!jn}for(var jr=this.tryEntries.length-1;jr>=0;--jr){var br=this.tryEntries[jr],ht=br.completion;if("root"===br.tryLoc)return Qr("end");if(br.tryLoc<=this.prev){var Wt=F.call(br,"catchLoc"),Tt=F.call(br,"finallyLoc");if(Wt&&Tt){if(this.prev<br.catchLoc)return Qr(br.catchLoc,!0);if(this.prev<br.finallyLoc)return Qr(br.finallyLoc)}else if(Wt){if(this.prev<br.catchLoc)return Qr(br.catchLoc,!0)}else{if(!Tt)throw new Error("try statement without catch or finally");if(this.prev<br.finallyLoc)return Qr(br.finallyLoc)}}}},abrupt:function(Lr,ir){for(var Qr=this.tryEntries.length-1;Qr>=0;--Qr){var jr=this.tryEntries[Qr];if(jr.tryLoc<=this.prev&&F.call(jr,"finallyLoc")&&this.prev<jr.finallyLoc){var br=jr;break}}br&&("break"===Lr||"continue"===Lr)&&br.tryLoc<=ir&&ir<=br.finallyLoc&&(br=null);var ht=br?br.completion:{};return ht.type=Lr,ht.arg=ir,br?(this.method="next",this.next=br.finallyLoc,qe):this.complete(ht)},complete:function(Lr,ir){if("throw"===Lr.type)throw Lr.arg;return"break"===Lr.type||"continue"===Lr.type?this.next=Lr.arg:"return"===Lr.type?(this.rval=this.arg=Lr.arg,this.method="return",this.next="end"):"normal"===Lr.type&&ir&&(this.next=ir),qe},finish:function(Lr){for(var ir=this.tryEntries.length-1;ir>=0;--ir){var Qr=this.tryEntries[ir];if(Qr.finallyLoc===Lr)return this.complete(Qr.completion,Qr.afterLoc),fn(Qr),qe}},catch:function(Lr){for(var ir=this.tryEntries.length-1;ir>=0;--ir){var Qr=this.tryEntries[ir];if(Qr.tryLoc===Lr){var jr=Qr.completion;if("throw"===jr.type){var br=jr.arg;fn(Qr)}return br}}throw new Error("illegal catch attempt")},delegateYield:function(Lr,ir,Qr){return this.delegate={iterator:Kr(Lr),resultName:ir,nextLoc:Qr},"next"===this.method&&(this.arg=W),qe}},$}E.exports=U,E.exports.__esModule=!0,E.exports.default=E.exports},79599:(E,C,s)=>{var r=s(88819),a=s(55912);function c(u){return E.exports=c="function"==typeof r&&"symbol"==typeof a?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},E.exports.__esModule=!0,E.exports.default=E.exports,c(u)}E.exports=c,E.exports.__esModule=!0,E.exports.default=E.exports},33950:(E,C,s)=>{var r=s(12885)();E.exports=r;try{regeneratorRuntime=r}catch{"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},14091:(E,C,s)=>{"use strict";s.d(C,{LC:()=>a,SB:()=>M,X$:()=>u,ZE:()=>V,ZN:()=>de,_j:()=>r,eR:()=>D,jt:()=>e,k1:()=>ce,l3:()=>c,oB:()=>T,vP:()=>m});class r{}class a{}const c="*";function u(se,fe){return{type:7,name:se,definitions:fe,options:{}}}function e(se,fe=null){return{type:4,styles:fe,timings:se}}function m(se,fe=null){return{type:2,steps:se,options:fe}}function T(se){return{type:6,styles:se,offset:null}}function M(se,fe,Te){return{type:0,name:se,styles:fe,options:Te}}function D(se,fe,Te=null){return{type:1,expr:se,animation:fe,options:Te}}function X(se){Promise.resolve().then(se)}class de{constructor(fe=0,Te=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=fe+Te}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(fe=>fe()),this._onDoneFns=[])}onStart(fe){this._originalOnStartFns.push(fe),this._onStartFns.push(fe)}onDone(fe){this._originalOnDoneFns.push(fe),this._onDoneFns.push(fe)}onDestroy(fe){this._onDestroyFns.push(fe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){X(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(fe=>fe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(fe=>fe()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(fe){this._position=this.totalTime?fe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(fe){const Te="start"==fe?this._onStartFns:this._onDoneFns;Te.forEach($e=>$e()),Te.length=0}}class V{constructor(fe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=fe;let Te=0,$e=0,ge=0;const Et=this.players.length;0==Et?X(()=>this._onFinish()):this.players.forEach(ot=>{ot.onDone(()=>{++Te==Et&&this._onFinish()}),ot.onDestroy(()=>{++$e==Et&&this._onDestroy()}),ot.onStart(()=>{++ge==Et&&this._onStart()})}),this.totalTime=this.players.reduce((ot,ct)=>Math.max(ot,ct.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(fe=>fe()),this._onDoneFns=[])}init(){this.players.forEach(fe=>fe.init())}onStart(fe){this._onStartFns.push(fe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(fe=>fe()),this._onStartFns=[])}onDone(fe){this._onDoneFns.push(fe)}onDestroy(fe){this._onDestroyFns.push(fe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(fe=>fe.play())}pause(){this.players.forEach(fe=>fe.pause())}restart(){this.players.forEach(fe=>fe.restart())}finish(){this._onFinish(),this.players.forEach(fe=>fe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(fe=>fe.destroy()),this._onDestroyFns.forEach(fe=>fe()),this._onDestroyFns=[])}reset(){this.players.forEach(fe=>fe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(fe){const Te=fe*this.totalTime;this.players.forEach($e=>{const ge=$e.totalTime?Math.min(1,Te/$e.totalTime):1;$e.setPosition(ge)})}getPosition(){const fe=this.players.reduce((Te,$e)=>null===Te||$e.totalTime>Te.totalTime?$e:Te,null);return null!=fe?fe.getPosition():0}beforeDestroy(){this.players.forEach(fe=>{fe.beforeDestroy&&fe.beforeDestroy()})}triggerCallback(fe){const Te="start"==fe?this._onStartFns:this._onDoneFns;Te.forEach($e=>$e()),Te.length=0}}const ce="!"},88692:(E,C,s)=>{"use strict";s.d(C,{Do:()=>V,ED:()=>$a,EM:()=>Ic,Gx:()=>gn,HT:()=>u,JF:()=>El,JJ:()=>qs,K0:()=>f,Mn:()=>Xt,Mx:()=>bn,NF:()=>yu,Nd:()=>ws,O5:()=>la,Ov:()=>Cs,PC:()=>Ts,RF:()=>qa,S$:()=>F,Tn:()=>qe,Ts:()=>Bi,UT:()=>cn,V_:()=>M,Ye:()=>ce,Zx:()=>Js,ax:()=>ss,b0:()=>de,bD:()=>Kc,ez:()=>Ol,gd:()=>io,i8:()=>ns,iq:()=>Ji,mk:()=>_o,mr:()=>X,n9:()=>da,ol:()=>it,p6:()=>Eo,q:()=>c,rS:()=>zr,sg:()=>ss,tP:()=>hs,uU:()=>Ze,w_:()=>e,x:()=>ct,zE:()=>Ha});var r=s(64537);let a=null;function c(){return a}function u(je){a||(a=je)}class e{}const f=new r.OlP("DocumentToken");let m=(()=>{class je{historyGo(tt){throw new Error("Not implemented")}}return je.\u0275fac=function(tt){return new(tt||je)},je.\u0275prov=r.Yz7({token:je,factory:function(){return function T(){return(0,r.LFG)(w)}()},providedIn:"platform"}),je})();const M=new r.OlP("Location Initialized");let w=(()=>{class je extends m{constructor(tt){super(),this._doc=tt,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return c().getBaseHref(this._doc)}onPopState(tt){const tn=c().getGlobalEventTarget(this._doc,"window");return tn.addEventListener("popstate",tt,!1),()=>tn.removeEventListener("popstate",tt)}onHashChange(tt){const tn=c().getGlobalEventTarget(this._doc,"window");return tn.addEventListener("hashchange",tt,!1),()=>tn.removeEventListener("hashchange",tt)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(tt){this._location.pathname=tt}pushState(tt,tn,Xn){D()?this._history.pushState(tt,tn,Xn):this._location.hash=Xn}replaceState(tt,tn,Xn){D()?this._history.replaceState(tt,tn,Xn):this._location.hash=Xn}forward(){this._history.forward()}back(){this._history.back()}historyGo(tt=0){this._history.go(tt)}getState(){return this._history.state}}return je.\u0275fac=function(tt){return new(tt||je)(r.LFG(f))},je.\u0275prov=r.Yz7({token:je,factory:function(){return function U(){return new w((0,r.LFG)(f))}()},providedIn:"platform"}),je})();function D(){return!!window.history.pushState}function W(je,Nt){if(0==je.length)return Nt;if(0==Nt.length)return je;let tt=0;return je.endsWith("/")&&tt++,Nt.startsWith("/")&&tt++,2==tt?je+Nt.substring(1):1==tt?je+Nt:je+"/"+Nt}function $(je){const Nt=je.match(/#|\?|$/),tt=Nt&&Nt.index||je.length;return je.slice(0,tt-("/"===je[tt-1]?1:0))+je.slice(tt)}function J(je){return je&&"?"!==je[0]?"?"+je:je}let F=(()=>{class je{historyGo(tt){throw new Error("Not implemented")}}return je.\u0275fac=function(tt){return new(tt||je)},je.\u0275prov=r.Yz7({token:je,factory:function(){return(0,r.f3M)(de)},providedIn:"root"}),je})();const X=new r.OlP("appBaseHref");let de=(()=>{class je extends F{constructor(tt,tn){super(),this._platformLocation=tt,this._removeListenerFns=[],this._baseHref=tn??this._platformLocation.getBaseHrefFromDOM()??(0,r.f3M)(f).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(tt){this._removeListenerFns.push(this._platformLocation.onPopState(tt),this._platformLocation.onHashChange(tt))}getBaseHref(){return this._baseHref}prepareExternalUrl(tt){return W(this._baseHref,tt)}path(tt=!1){const tn=this._platformLocation.pathname+J(this._platformLocation.search),Xn=this._platformLocation.hash;return Xn&&tt?`${tn}${Xn}`:tn}pushState(tt,tn,Xn,bi){const Ri=this.prepareExternalUrl(Xn+J(bi));this._platformLocation.pushState(tt,tn,Ri)}replaceState(tt,tn,Xn,bi){const Ri=this.prepareExternalUrl(Xn+J(bi));this._platformLocation.replaceState(tt,tn,Ri)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(tt=0){this._platformLocation.historyGo?.(tt)}}return je.\u0275fac=function(tt){return new(tt||je)(r.LFG(m),r.LFG(X,8))},je.\u0275prov=r.Yz7({token:je,factory:je.\u0275fac,providedIn:"root"}),je})(),V=(()=>{class je extends F{constructor(tt,tn){super(),this._platformLocation=tt,this._baseHref="",this._removeListenerFns=[],null!=tn&&(this._baseHref=tn)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(tt){this._removeListenerFns.push(this._platformLocation.onPopState(tt),this._platformLocation.onHashChange(tt))}getBaseHref(){return this._baseHref}path(tt=!1){let tn=this._platformLocation.hash;return null==tn&&(tn="#"),tn.length>0?tn.substring(1):tn}prepareExternalUrl(tt){const tn=W(this._baseHref,tt);return tn.length>0?"#"+tn:tn}pushState(tt,tn,Xn,bi){let Ri=this.prepareExternalUrl(Xn+J(bi));0==Ri.length&&(Ri=this._platformLocation.pathname),this._platformLocation.pushState(tt,tn,Ri)}replaceState(tt,tn,Xn,bi){let Ri=this.prepareExternalUrl(Xn+J(bi));0==Ri.length&&(Ri=this._platformLocation.pathname),this._platformLocation.replaceState(tt,tn,Ri)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(tt=0){this._platformLocation.historyGo?.(tt)}}return je.\u0275fac=function(tt){return new(tt||je)(r.LFG(m),r.LFG(X,8))},je.\u0275prov=r.Yz7({token:je,factory:je.\u0275fac}),je})(),ce=(()=>{class je{constructor(tt){this._subject=new r.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=tt;const tn=this._locationStrategy.getBaseHref();this._basePath=function $e(je){if(new RegExp("^(https?:)?//").test(je)){const[,tt]=je.split(/\/\/[^\/]+/);return tt}return je}($(Te(tn))),this._locationStrategy.onPopState(Xn=>{this._subject.emit({url:this.path(!0),pop:!0,state:Xn.state,type:Xn.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(tt=!1){return this.normalize(this._locationStrategy.path(tt))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(tt,tn=""){return this.path()==this.normalize(tt+J(tn))}normalize(tt){return je.stripTrailingSlash(function fe(je,Nt){if(!je||!Nt.startsWith(je))return Nt;const tt=Nt.substring(je.length);return""===tt||["/",";","?","#"].includes(tt[0])?tt:Nt}(this._basePath,Te(tt)))}prepareExternalUrl(tt){return tt&&"/"!==tt[0]&&(tt="/"+tt),this._locationStrategy.prepareExternalUrl(tt)}go(tt,tn="",Xn=null){this._locationStrategy.pushState(Xn,"",tt,tn),this._notifyUrlChangeListeners(this.prepareExternalUrl(tt+J(tn)),Xn)}replaceState(tt,tn="",Xn=null){this._locationStrategy.replaceState(Xn,"",tt,tn),this._notifyUrlChangeListeners(this.prepareExternalUrl(tt+J(tn)),Xn)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(tt=0){this._locationStrategy.historyGo?.(tt)}onUrlChange(tt){return this._urlChangeListeners.push(tt),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(tn=>{this._notifyUrlChangeListeners(tn.url,tn.state)})),()=>{const tn=this._urlChangeListeners.indexOf(tt);this._urlChangeListeners.splice(tn,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(tt="",tn){this._urlChangeListeners.forEach(Xn=>Xn(tt,tn))}subscribe(tt,tn,Xn){return this._subject.subscribe({next:tt,error:tn,complete:Xn})}}return je.normalizeQueryParams=J,je.joinWithSlash=W,je.stripTrailingSlash=$,je.\u0275fac=function(tt){return new(tt||je)(r.LFG(F))},je.\u0275prov=r.Yz7({token:je,factory:function(){return function se(){return new ce((0,r.LFG)(F))}()},providedIn:"root"}),je})();function Te(je){return je.replace(/\/index.html$/,"")}var Et=(()=>((Et=Et||{})[Et.Decimal=0]="Decimal",Et[Et.Percent=1]="Percent",Et[Et.Currency=2]="Currency",Et[Et.Scientific=3]="Scientific",Et))(),ot=(()=>((ot=ot||{})[ot.Zero=0]="Zero",ot[ot.One=1]="One",ot[ot.Two=2]="Two",ot[ot.Few=3]="Few",ot[ot.Many=4]="Many",ot[ot.Other=5]="Other",ot))(),ct=(()=>((ct=ct||{})[ct.Format=0]="Format",ct[ct.Standalone=1]="Standalone",ct))(),qe=(()=>((qe=qe||{})[qe.Narrow=0]="Narrow",qe[qe.Abbreviated=1]="Abbreviated",qe[qe.Wide=2]="Wide",qe[qe.Short=3]="Short",qe))(),He=(()=>((He=He||{})[He.Short=0]="Short",He[He.Medium=1]="Medium",He[He.Long=2]="Long",He[He.Full=3]="Full",He))(),We=(()=>((We=We||{})[We.Decimal=0]="Decimal",We[We.Group=1]="Group",We[We.List=2]="List",We[We.PercentSign=3]="PercentSign",We[We.PlusSign=4]="PlusSign",We[We.MinusSign=5]="MinusSign",We[We.Exponential=6]="Exponential",We[We.SuperscriptingExponent=7]="SuperscriptingExponent",We[We.PerMille=8]="PerMille",We[We.Infinity=9]="Infinity",We[We.NaN=10]="NaN",We[We.TimeSeparator=11]="TimeSeparator",We[We.CurrencyDecimal=12]="CurrencyDecimal",We[We.CurrencyGroup=13]="CurrencyGroup",We))();function it(je,Nt,tt){const tn=(0,r.cg1)(je),bi=wn([tn[r.wAp.DayPeriodsFormat],tn[r.wAp.DayPeriodsStandalone]],Nt);return wn(bi,tt)}function Xt(je,Nt,tt){const tn=(0,r.cg1)(je),bi=wn([tn[r.wAp.DaysFormat],tn[r.wAp.DaysStandalone]],Nt);return wn(bi,tt)}function cn(je,Nt,tt){const tn=(0,r.cg1)(je),bi=wn([tn[r.wAp.MonthsFormat],tn[r.wAp.MonthsStandalone]],Nt);return wn(bi,tt)}function qt(je,Nt){return wn((0,r.cg1)(je)[r.wAp.DateFormat],Nt)}function sn(je,Nt){return wn((0,r.cg1)(je)[r.wAp.TimeFormat],Nt)}function fn(je,Nt){return wn((0,r.cg1)(je)[r.wAp.DateTimeFormat],Nt)}function xn(je,Nt){const tt=(0,r.cg1)(je),tn=tt[r.wAp.NumberSymbols][Nt];if(typeof tn>"u"){if(Nt===We.CurrencyDecimal)return tt[r.wAp.NumberSymbols][We.Decimal];if(Nt===We.CurrencyGroup)return tt[r.wAp.NumberSymbols][We.Group]}return tn}function Kr(je,Nt){return(0,r.cg1)(je)[r.wAp.NumberFormats][Nt]}const jr=r.kL8;function br(je){if(!je[r.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${je[r.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function wn(je,Nt){for(let tt=Nt;tt>-1;tt--)if(typeof je[tt]<"u")return je[tt];throw new Error("Locale data API: locale data undefined")}function jn(je){const[Nt,tt]=je.split(":");return{hours:+Nt,minutes:+tt}}const so=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,kr={},Ei=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ii=(()=>((ii=ii||{})[ii.Short=0]="Short",ii[ii.ShortGMT=1]="ShortGMT",ii[ii.Long=2]="Long",ii[ii.Extended=3]="Extended",ii))(),mr=(()=>((mr=mr||{})[mr.FullYear=0]="FullYear",mr[mr.Month=1]="Month",mr[mr.Date=2]="Date",mr[mr.Hours=3]="Hours",mr[mr.Minutes=4]="Minutes",mr[mr.Seconds=5]="Seconds",mr[mr.FractionalSeconds=6]="FractionalSeconds",mr[mr.Day=7]="Day",mr))(),pr=(()=>((pr=pr||{})[pr.DayPeriods=0]="DayPeriods",pr[pr.Days=1]="Days",pr[pr.Months=2]="Months",pr[pr.Eras=3]="Eras",pr))();function Eo(je,Nt,tt,tn){let Xn=function Zn(je){if(Zt(je))return je;if("number"==typeof je&&!isNaN(je))return new Date(je);if("string"==typeof je){if(je=je.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(je)){const[Xn,bi=1,Ri=1]=je.split("-").map(fs=>+fs);return po(Xn,bi-1,Ri)}const tt=parseFloat(je);if(!isNaN(je-tt))return new Date(tt);let tn;if(tn=je.match(so))return function nr(je){const Nt=new Date(0);let tt=0,tn=0;const Xn=je[8]?Nt.setUTCFullYear:Nt.setFullYear,bi=je[8]?Nt.setUTCHours:Nt.setHours;je[9]&&(tt=Number(je[9]+je[10]),tn=Number(je[9]+je[11])),Xn.call(Nt,Number(je[1]),Number(je[2])-1,Number(je[3]));const Ri=Number(je[4]||0)-tt,fs=Number(je[5]||0)-tn,Fs=Number(je[6]||0),Ra=Math.floor(1e3*parseFloat("0."+(je[7]||0)));return bi.call(Nt,Ri,fs,Fs,Ra),Nt}(tn)}const Nt=new Date(je);if(!Zt(Nt))throw new Error(`Unable to convert "${je}" into a date`);return Nt}(je);Nt=$i(tt,Nt)||Nt;let fs,Ri=[];for(;Nt;){if(fs=Ei.exec(Nt),!fs){Ri.push(Nt);break}{Ri=Ri.concat(fs.slice(1));const Vs=Ri.pop();if(!Vs)break;Nt=Vs}}let Fs=Xn.getTimezoneOffset();tn&&(Fs=_r(tn,Fs),Xn=function tr(je,Nt,tt){const tn=tt?-1:1,Xn=je.getTimezoneOffset();return function Pr(je,Nt){return(je=new Date(je.getTime())).setMinutes(je.getMinutes()+Nt),je}(je,tn*(_r(Nt,Xn)-Xn))}(Xn,tn,!0));let Ra="";return Ri.forEach(Vs=>{const Ms=function Pn(je){if(gr[je])return gr[je];let Nt;switch(je){case"G":case"GG":case"GGG":Nt=Fe(pr.Eras,qe.Abbreviated);break;case"GGGG":Nt=Fe(pr.Eras,qe.Wide);break;case"GGGGG":Nt=Fe(pr.Eras,qe.Narrow);break;case"y":Nt=Hn(mr.FullYear,1,0,!1,!0);break;case"yy":Nt=Hn(mr.FullYear,2,0,!0,!0);break;case"yyy":Nt=Hn(mr.FullYear,3,0,!1,!0);break;case"yyyy":Nt=Hn(mr.FullYear,4,0,!1,!0);break;case"Y":Nt=qn(1);break;case"YY":Nt=qn(2,!0);break;case"YYY":Nt=qn(3);break;case"YYYY":Nt=qn(4);break;case"M":case"L":Nt=Hn(mr.Month,1,1);break;case"MM":case"LL":Nt=Hn(mr.Month,2,1);break;case"MMM":Nt=Fe(pr.Months,qe.Abbreviated);break;case"MMMM":Nt=Fe(pr.Months,qe.Wide);break;case"MMMMM":Nt=Fe(pr.Months,qe.Narrow);break;case"LLL":Nt=Fe(pr.Months,qe.Abbreviated,ct.Standalone);break;case"LLLL":Nt=Fe(pr.Months,qe.Wide,ct.Standalone);break;case"LLLLL":Nt=Fe(pr.Months,qe.Narrow,ct.Standalone);break;case"w":Nt=Pe(1);break;case"ww":Nt=Pe(2);break;case"W":Nt=Pe(1,!0);break;case"d":Nt=Hn(mr.Date,1);break;case"dd":Nt=Hn(mr.Date,2);break;case"c":case"cc":Nt=Hn(mr.Day,1);break;case"ccc":Nt=Fe(pr.Days,qe.Abbreviated,ct.Standalone);break;case"cccc":Nt=Fe(pr.Days,qe.Wide,ct.Standalone);break;case"ccccc":Nt=Fe(pr.Days,qe.Narrow,ct.Standalone);break;case"cccccc":Nt=Fe(pr.Days,qe.Short,ct.Standalone);break;case"E":case"EE":case"EEE":Nt=Fe(pr.Days,qe.Abbreviated);break;case"EEEE":Nt=Fe(pr.Days,qe.Wide);break;case"EEEEE":Nt=Fe(pr.Days,qe.Narrow);break;case"EEEEEE":Nt=Fe(pr.Days,qe.Short);break;case"a":case"aa":case"aaa":Nt=Fe(pr.DayPeriods,qe.Abbreviated);break;case"aaaa":Nt=Fe(pr.DayPeriods,qe.Wide);break;case"aaaaa":Nt=Fe(pr.DayPeriods,qe.Narrow);break;case"b":case"bb":case"bbb":Nt=Fe(pr.DayPeriods,qe.Abbreviated,ct.Standalone,!0);break;case"bbbb":Nt=Fe(pr.DayPeriods,qe.Wide,ct.Standalone,!0);break;case"bbbbb":Nt=Fe(pr.DayPeriods,qe.Narrow,ct.Standalone,!0);break;case"B":case"BB":case"BBB":Nt=Fe(pr.DayPeriods,qe.Abbreviated,ct.Format,!0);break;case"BBBB":Nt=Fe(pr.DayPeriods,qe.Wide,ct.Format,!0);break;case"BBBBB":Nt=Fe(pr.DayPeriods,qe.Narrow,ct.Format,!0);break;case"h":Nt=Hn(mr.Hours,1,-12);break;case"hh":Nt=Hn(mr.Hours,2,-12);break;case"H":Nt=Hn(mr.Hours,1);break;case"HH":Nt=Hn(mr.Hours,2);break;case"m":Nt=Hn(mr.Minutes,1);break;case"mm":Nt=Hn(mr.Minutes,2);break;case"s":Nt=Hn(mr.Seconds,1);break;case"ss":Nt=Hn(mr.Seconds,2);break;case"S":Nt=Hn(mr.FractionalSeconds,1);break;case"SS":Nt=Hn(mr.FractionalSeconds,2);break;case"SSS":Nt=Hn(mr.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Nt=et(ii.Short);break;case"ZZZZZ":Nt=et(ii.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Nt=et(ii.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Nt=et(ii.Long);break;default:return null}return gr[je]=Nt,Nt}(Vs);Ra+=Ms?Ms(Xn,tt,Fs):"''"===Vs?"'":Vs.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Ra}function po(je,Nt,tt){const tn=new Date(0);return tn.setFullYear(je,Nt,tt),tn.setHours(0,0,0),tn}function $i(je,Nt){const tt=function Pt(je){return(0,r.cg1)(je)[r.wAp.LocaleId]}(je);if(kr[tt]=kr[tt]||{},kr[tt][Nt])return kr[tt][Nt];let tn="";switch(Nt){case"shortDate":tn=qt(je,He.Short);break;case"mediumDate":tn=qt(je,He.Medium);break;case"longDate":tn=qt(je,He.Long);break;case"fullDate":tn=qt(je,He.Full);break;case"shortTime":tn=sn(je,He.Short);break;case"mediumTime":tn=sn(je,He.Medium);break;case"longTime":tn=sn(je,He.Long);break;case"fullTime":tn=sn(je,He.Full);break;case"short":const Xn=$i(je,"shortTime"),bi=$i(je,"shortDate");tn=qr(fn(je,He.Short),[Xn,bi]);break;case"medium":const Ri=$i(je,"mediumTime"),fs=$i(je,"mediumDate");tn=qr(fn(je,He.Medium),[Ri,fs]);break;case"long":const Fs=$i(je,"longTime"),Ra=$i(je,"longDate");tn=qr(fn(je,He.Long),[Fs,Ra]);break;case"full":const Vs=$i(je,"fullTime"),Ms=$i(je,"fullDate");tn=qr(fn(je,He.Full),[Vs,Ms])}return tn&&(kr[tt][Nt]=tn),tn}function qr(je,Nt){return Nt&&(je=je.replace(/\{([^}]+)}/g,function(tt,tn){return null!=Nt&&tn in Nt?Nt[tn]:tt})),je}function Hi(je,Nt,tt="-",tn,Xn){let bi="";(je<0||Xn&&je<=0)&&(Xn?je=1-je:(je=-je,bi=tt));let Ri=String(je);for(;Ri.length<Nt;)Ri="0"+Ri;return tn&&(Ri=Ri.slice(Ri.length-Nt)),bi+Ri}function Hn(je,Nt,tt=0,tn=!1,Xn=!1){return function(bi,Ri){let fs=function jt(je,Nt){switch(je){case mr.FullYear:return Nt.getFullYear();case mr.Month:return Nt.getMonth();case mr.Date:return Nt.getDate();case mr.Hours:return Nt.getHours();case mr.Minutes:return Nt.getMinutes();case mr.Seconds:return Nt.getSeconds();case mr.FractionalSeconds:return Nt.getMilliseconds();case mr.Day:return Nt.getDay();default:throw new Error(`Unknown DateType value "${je}".`)}}(je,bi);if((tt>0||fs>-tt)&&(fs+=tt),je===mr.Hours)0===fs&&-12===tt&&(fs=12);else if(je===mr.FractionalSeconds)return function Dn(je,Nt){return Hi(je,3).substring(0,Nt)}(fs,Nt);const Fs=xn(Ri,We.MinusSign);return Hi(fs,Nt,Fs,tn,Xn)}}function Fe(je,Nt,tt=ct.Format,tn=!1){return function(Xn,bi){return function Ie(je,Nt,tt,tn,Xn,bi){switch(tt){case pr.Months:return cn(Nt,Xn,tn)[je.getMonth()];case pr.Days:return Xt(Nt,Xn,tn)[je.getDay()];case pr.DayPeriods:const Ri=je.getHours(),fs=je.getMinutes();if(bi){const Ra=function ht(je){const Nt=(0,r.cg1)(je);return br(Nt),(Nt[r.wAp.ExtraData][2]||[]).map(tn=>"string"==typeof tn?jn(tn):[jn(tn[0]),jn(tn[1])])}(Nt),Vs=function Wt(je,Nt,tt){const tn=(0,r.cg1)(je);br(tn);const bi=wn([tn[r.wAp.ExtraData][0],tn[r.wAp.ExtraData][1]],Nt)||[];return wn(bi,tt)||[]}(Nt,Xn,tn),Ms=Ra.findIndex(wl=>{if(Array.isArray(wl)){const[Ho,Qa]=wl,rn=Ri>=Ho.hours&&fs>=Ho.minutes,Jl=Ri<Qa.hours||Ri===Qa.hours&&fs<Qa.minutes;if(Ho.hours<Qa.hours){if(rn&&Jl)return!0}else if(rn||Jl)return!0}else if(wl.hours===Ri&&wl.minutes===fs)return!0;return!1});if(-1!==Ms)return Vs[Ms]}return it(Nt,Xn,tn)[Ri<12?0:1];case pr.Eras:return function pn(je,Nt){return wn((0,r.cg1)(je)[r.wAp.Eras],Nt)}(Nt,tn)[je.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${tt}`)}}(Xn,bi,je,Nt,tt,tn)}}function et(je){return function(Nt,tt,tn){const Xn=-1*tn,bi=xn(tt,We.MinusSign),Ri=Xn>0?Math.floor(Xn/60):Math.ceil(Xn/60);switch(je){case ii.Short:return(Xn>=0?"+":"")+Hi(Ri,2,bi)+Hi(Math.abs(Xn%60),2,bi);case ii.ShortGMT:return"GMT"+(Xn>=0?"+":"")+Hi(Ri,1,bi);case ii.Long:return"GMT"+(Xn>=0?"+":"")+Hi(Ri,2,bi)+":"+Hi(Math.abs(Xn%60),2,bi);case ii.Extended:return 0===tn?"Z":(Xn>=0?"+":"")+Hi(Ri,2,bi)+":"+Hi(Math.abs(Xn%60),2,bi);default:throw new Error(`Unknown zone width "${je}"`)}}}const ze=0,an=4;function Rt(je){return po(je.getFullYear(),je.getMonth(),je.getDate()+(an-je.getDay()))}function Pe(je,Nt=!1){return function(tt,tn){let Xn;if(Nt){const bi=new Date(tt.getFullYear(),tt.getMonth(),1).getDay()-1,Ri=tt.getDate();Xn=1+Math.floor((Ri+bi)/7)}else{const bi=Rt(tt),Ri=function lt(je){const Nt=po(je,ze,1).getDay();return po(je,0,1+(Nt<=an?an:an+7)-Nt)}(bi.getFullYear()),fs=bi.getTime()-Ri.getTime();Xn=1+Math.round(fs/6048e5)}return Hi(Xn,je,xn(tn,We.MinusSign))}}function qn(je,Nt=!1){return function(tt,tn){return Hi(Rt(tt).getFullYear(),je,xn(tn,We.MinusSign),Nt)}}const gr={};function _r(je,Nt){je=je.replace(/:/g,"");const tt=Date.parse("Jan 01, 1970 00:00:00 "+je)/6e4;return isNaN(tt)?Nt:tt}function Zt(je){return je instanceof Date&&!isNaN(je.valueOf())}const dn=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ge=22,Ot=".",mn="0",wr=";",Ti=",",Ci="#";function _s(je,Nt,tt,tn,Xn,bi,Ri=!1){let fs="",Fs=!1;if(isFinite(je)){let Ra=function ji(je){let tn,Xn,bi,Ri,fs,Nt=Math.abs(je)+"",tt=0;for((Xn=Nt.indexOf(Ot))>-1&&(Nt=Nt.replace(Ot,"")),(bi=Nt.search(/e/i))>0?(Xn<0&&(Xn=bi),Xn+=+Nt.slice(bi+1),Nt=Nt.substring(0,bi)):Xn<0&&(Xn=Nt.length),bi=0;Nt.charAt(bi)===mn;bi++);if(bi===(fs=Nt.length))tn=[0],Xn=1;else{for(fs--;Nt.charAt(fs)===mn;)fs--;for(Xn-=bi,tn=[],Ri=0;bi<=fs;bi++,Ri++)tn[Ri]=Number(Nt.charAt(bi))}return Xn>Ge&&(tn=tn.splice(0,Ge-1),tt=Xn-1,Xn=1),{digits:tn,exponent:tt,integerLen:Xn}}(je);Ri&&(Ra=function wi(je){if(0===je.digits[0])return je;const Nt=je.digits.length-je.integerLen;return je.exponent?je.exponent+=2:(0===Nt?je.digits.push(0,0):1===Nt&&je.digits.push(0),je.integerLen+=2),je}(Ra));let Vs=Nt.minInt,Ms=Nt.minFrac,wl=Nt.maxFrac;if(bi){const ae=bi.match(dn);if(null===ae)throw new Error(`${bi} is not a valid digit info`);const De=ae[1],Ve=ae[3],st=ae[5];null!=De&&(Vs=Po(De)),null!=Ve&&(Ms=Po(Ve)),null!=st?wl=Po(st):null!=Ve&&Ms>wl&&(wl=Ms)}!function Vi(je,Nt,tt){if(Nt>tt)throw new Error(`The minimum number of digits after fraction (${Nt}) is higher than the maximum (${tt}).`);let tn=je.digits,Xn=tn.length-je.integerLen;const bi=Math.min(Math.max(Nt,Xn),tt);let Ri=bi+je.integerLen,fs=tn[Ri];if(Ri>0){tn.splice(Math.max(je.integerLen,Ri));for(let Ms=Ri;Ms<tn.length;Ms++)tn[Ms]=0}else{Xn=Math.max(0,Xn),je.integerLen=1,tn.length=Math.max(1,Ri=bi+1),tn[0]=0;for(let Ms=1;Ms<Ri;Ms++)tn[Ms]=0}if(fs>=5)if(Ri-1<0){for(let Ms=0;Ms>Ri;Ms--)tn.unshift(0),je.integerLen++;tn.unshift(1),je.integerLen++}else tn[Ri-1]++;for(;Xn<Math.max(0,bi);Xn++)tn.push(0);let Fs=0!==bi;const Ra=Nt+je.integerLen,Vs=tn.reduceRight(function(Ms,wl,Ho,Qa){return Qa[Ho]=(wl+=Ms)<10?wl:wl-10,Fs&&(0===Qa[Ho]&&Ho>=Ra?Qa.pop():Fs=!1),wl>=10?1:0},0);Vs&&(tn.unshift(Vs),je.integerLen++)}(Ra,Ms,wl);let Ho=Ra.digits,Qa=Ra.integerLen;const rn=Ra.exponent;let Jl=[];for(Fs=Ho.every(ae=>!ae);Qa<Vs;Qa++)Ho.unshift(0);for(;Qa<0;Qa++)Ho.unshift(0);Qa>0?Jl=Ho.splice(Qa,Ho.length):(Jl=Ho,Ho=[0]);const le=[];for(Ho.length>=Nt.lgSize&&le.unshift(Ho.splice(-Nt.lgSize,Ho.length).join(""));Ho.length>Nt.gSize;)le.unshift(Ho.splice(-Nt.gSize,Ho.length).join(""));Ho.length&&le.unshift(Ho.join("")),fs=le.join(xn(tt,tn)),Jl.length&&(fs+=xn(tt,Xn)+Jl.join("")),rn&&(fs+=xn(tt,We.Exponential)+"+"+rn)}else fs=xn(tt,We.Infinity);return fs=je<0&&!Fs?Nt.negPre+fs+Nt.negSuf:Nt.posPre+fs+Nt.posSuf,fs}function Vr(je,Nt="-"){const tt={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},tn=je.split(wr),Xn=tn[0],bi=tn[1],Ri=-1!==Xn.indexOf(Ot)?Xn.split(Ot):[Xn.substring(0,Xn.lastIndexOf(mn)+1),Xn.substring(Xn.lastIndexOf(mn)+1)],fs=Ri[0],Fs=Ri[1]||"";tt.posPre=fs.substring(0,fs.indexOf(Ci));for(let Vs=0;Vs<Fs.length;Vs++){const Ms=Fs.charAt(Vs);Ms===mn?tt.minFrac=tt.maxFrac=Vs+1:Ms===Ci?tt.maxFrac=Vs+1:tt.posSuf+=Ms}const Ra=fs.split(Ti);if(tt.gSize=Ra[1]?Ra[1].length:0,tt.lgSize=Ra[2]||Ra[1]?(Ra[2]||Ra[1]).length:0,bi){const Vs=Xn.length-tt.posPre.length-tt.posSuf.length,Ms=bi.indexOf(Ci);tt.negPre=bi.substring(0,Ms).replace(/'/g,""),tt.negSuf=bi.slice(Ms+Vs).replace(/'/g,"")}else tt.negPre=Nt+tt.posPre,tt.negSuf=tt.posSuf;return tt}function Po(je){const Nt=parseInt(je);if(isNaN(Nt))throw new Error("Invalid integer literal when parsing "+je);return Nt}let ko=(()=>{class je{}return je.\u0275fac=function(tt){return new(tt||je)},je.\u0275prov=r.Yz7({token:je,factory:function(tt){let tn=null;return tt?tn=new tt:(Xn=r.LFG(r.soG),tn=new ro(Xn)),tn;var Xn},providedIn:"root"}),je})();function Ir(je,Nt,tt,tn){let Xn=`=${je}`;if(Nt.indexOf(Xn)>-1||(Xn=tt.getPluralCategory(je,tn),Nt.indexOf(Xn)>-1))return Xn;if(Nt.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${je}"`)}let ro=(()=>{class je extends ko{constructor(tt){super(),this.locale=tt}getPluralCategory(tt,tn){switch(jr(tn||this.locale)(tt)){case ot.Zero:return"zero";case ot.One:return"one";case ot.Two:return"two";case ot.Few:return"few";case ot.Many:return"many";default:return"other"}}}return je.\u0275fac=function(tt){return new(tt||je)(r.LFG(r.soG))},je.\u0275prov=r.Yz7({token:je,factory:je.\u0275fac}),je})();function bn(je,Nt){Nt=encodeURIComponent(Nt);for(const tt of je.split(";")){const tn=tt.indexOf("="),[Xn,bi]=-1==tn?[tt,""]:[tt.slice(0,tn),tt.slice(tn+1)];if(Xn.trim()===Nt)return decodeURIComponent(bi)}return null}const Bn=/\s+/,ci=[];let _o=(()=>{class je{constructor(tt,tn,Xn,bi){this._iterableDiffers=tt,this._keyValueDiffers=tn,this._ngEl=Xn,this._renderer=bi,this.initialClasses=ci,this.stateMap=new Map}set klass(tt){this.initialClasses=null!=tt?tt.trim().split(Bn):ci}set ngClass(tt){this.rawClass="string"==typeof tt?tt.trim().split(Bn):tt}ngDoCheck(){for(const tn of this.initialClasses)this._updateState(tn,!0);const tt=this.rawClass;if(Array.isArray(tt)||tt instanceof Set)for(const tn of tt)this._updateState(tn,!0);else if(null!=tt)for(const tn of Object.keys(tt))this._updateState(tn,Boolean(tt[tn]));this._applyStateDiff()}_updateState(tt,tn){const Xn=this.stateMap.get(tt);void 0!==Xn?(Xn.enabled!==tn&&(Xn.changed=!0,Xn.enabled=tn),Xn.touched=!0):this.stateMap.set(tt,{enabled:tn,changed:!0,touched:!0})}_applyStateDiff(){for(const tt of this.stateMap){const tn=tt[0],Xn=tt[1];Xn.changed?(this._toggleClass(tn,Xn.enabled),Xn.changed=!1):Xn.touched||(Xn.enabled&&this._toggleClass(tn,!1),this.stateMap.delete(tn)),Xn.touched=!1}}_toggleClass(tt,tn){(tt=tt.trim()).length>0&&tt.split(Bn).forEach(Xn=>{tn?this._renderer.addClass(this._ngEl.nativeElement,Xn):this._renderer.removeClass(this._ngEl.nativeElement,Xn)})}}return je.\u0275fac=function(tt){return new(tt||je)(r.Y36(r.ZZ4),r.Y36(r.aQg),r.Y36(r.SBq),r.Y36(r.Qsj))},je.\u0275dir=r.lG2({type:je,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),je})();class jo{constructor(Nt,tt,tn,Xn){this.$implicit=Nt,this.ngForOf=tt,this.index=tn,this.count=Xn}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ss=(()=>{class je{set ngForOf(tt){this._ngForOf=tt,this._ngForOfDirty=!0}set ngForTrackBy(tt){this._trackByFn=tt}get ngForTrackBy(){return this._trackByFn}constructor(tt,tn,Xn){this._viewContainer=tt,this._template=tn,this._differs=Xn,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(tt){tt&&(this._template=tt)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const tt=this._ngForOf;!this._differ&&tt&&(this._differ=this._differs.find(tt).create(this.ngForTrackBy))}if(this._differ){const tt=this._differ.diff(this._ngForOf);tt&&this._applyChanges(tt)}}_applyChanges(tt){const tn=this._viewContainer;tt.forEachOperation((Xn,bi,Ri)=>{if(null==Xn.previousIndex)tn.createEmbeddedView(this._template,new jo(Xn.item,this._ngForOf,-1,-1),null===Ri?void 0:Ri);else if(null==Ri)tn.remove(null===bi?void 0:bi);else if(null!==bi){const fs=tn.get(bi);tn.move(fs,Ri),gs(fs,Xn)}});for(let Xn=0,bi=tn.length;Xn<bi;Xn++){const fs=tn.get(Xn).context;fs.index=Xn,fs.count=bi,fs.ngForOf=this._ngForOf}tt.forEachIdentityChange(Xn=>{gs(tn.get(Xn.currentIndex),Xn)})}static ngTemplateContextGuard(tt,tn){return!0}}return je.\u0275fac=function(tt){return new(tt||je)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4))},je.\u0275dir=r.lG2({type:je,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),je})();function gs(je,Nt){je.context.$implicit=Nt.item}let la=(()=>{class je{constructor(tt,tn){this._viewContainer=tt,this._context=new Ro,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=tn}set ngIf(tt){this._context.$implicit=this._context.ngIf=tt,this._updateView()}set ngIfThen(tt){jl("ngIfThen",tt),this._thenTemplateRef=tt,this._thenViewRef=null,this._updateView()}set ngIfElse(tt){jl("ngIfElse",tt),this._elseTemplateRef=tt,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(tt,tn){return!0}}return je.\u0275fac=function(tt){return new(tt||je)(r.Y36(r.s_b),r.Y36(r.Rgc))},je.\u0275dir=r.lG2({type:je,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),je})();class Ro{constructor(){this.$implicit=null,this.ngIf=null}}function jl(je,Nt){if(Nt&&!Nt.createEmbeddedView)throw new Error(`${je} must be a TemplateRef, but received '${(0,r.AaK)(Nt)}'.`)}class gl{constructor(Nt,tt){this._viewContainerRef=Nt,this._templateRef=tt,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Nt){Nt&&!this._created?this.create():!Nt&&this._created&&this.destroy()}}let qa=(()=>{class je{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(tt){this._ngSwitch=tt,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(tt){this._defaultViews.push(tt)}_matchCase(tt){const tn=tt==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||tn,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),tn}_updateDefaultCases(tt){if(this._defaultViews.length>0&&tt!==this._defaultUsed){this._defaultUsed=tt;for(const tn of this._defaultViews)tn.enforceState(tt)}}}return je.\u0275fac=function(tt){return new(tt||je)},je.\u0275dir=r.lG2({type:je,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),je})(),da=(()=>{class je{constructor(tt,tn,Xn){this.ngSwitch=Xn,Xn._addCase(),this._view=new gl(tt,tn)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return je.\u0275fac=function(tt){return new(tt||je)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(qa,9))},je.\u0275dir=r.lG2({type:je,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),je})(),$a=(()=>{class je{constructor(tt,tn,Xn){Xn._addDefault(new gl(tt,tn))}}return je.\u0275fac=function(tt){return new(tt||je)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(qa,9))},je.\u0275dir=r.lG2({type:je,selectors:[["","ngSwitchDefault",""]],standalone:!0}),je})(),Ji=(()=>{class je{constructor(tt){this._localization=tt,this._caseViews={}}set ngPlural(tt){this._updateView(tt)}addCase(tt,tn){this._caseViews[tt]=tn}_updateView(tt){this._clearViews();const Xn=Ir(tt,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[Xn])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(tt){tt&&(this._activeView=tt,this._activeView.create())}}return je.\u0275fac=function(tt){return new(tt||je)(r.Y36(ko))},je.\u0275dir=r.lG2({type:je,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0}),je})(),Ha=(()=>{class je{constructor(tt,tn,Xn,bi){this.value=tt;const Ri=!isNaN(Number(tt));bi.addCase(Ri?`=${tt}`:tt,new gl(Xn,tn))}}return je.\u0275fac=function(tt){return new(tt||je)(r.$8M("ngPluralCase"),r.Y36(r.Rgc),r.Y36(r.s_b),r.Y36(Ji,1))},je.\u0275dir=r.lG2({type:je,selectors:[["","ngPluralCase",""]],standalone:!0}),je})(),Ts=(()=>{class je{constructor(tt,tn,Xn){this._ngEl=tt,this._differs=tn,this._renderer=Xn,this._ngStyle=null,this._differ=null}set ngStyle(tt){this._ngStyle=tt,!this._differ&&tt&&(this._differ=this._differs.find(tt).create())}ngDoCheck(){if(this._differ){const tt=this._differ.diff(this._ngStyle);tt&&this._applyChanges(tt)}}_setStyle(tt,tn){const[Xn,bi]=tt.split("."),Ri=-1===Xn.indexOf("-")?void 0:r.JOm.DashCase;null!=tn?this._renderer.setStyle(this._ngEl.nativeElement,Xn,bi?`${tn}${bi}`:tn,Ri):this._renderer.removeStyle(this._ngEl.nativeElement,Xn,Ri)}_applyChanges(tt){tt.forEachRemovedItem(tn=>this._setStyle(tn.key,null)),tt.forEachAddedItem(tn=>this._setStyle(tn.key,tn.currentValue)),tt.forEachChangedItem(tn=>this._setStyle(tn.key,tn.currentValue))}}return je.\u0275fac=function(tt){return new(tt||je)(r.Y36(r.SBq),r.Y36(r.aQg),r.Y36(r.Qsj))},je.\u0275dir=r.lG2({type:je,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),je})(),hs=(()=>{class je{constructor(tt){this._viewContainerRef=tt,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(tt){if(tt.ngTemplateOutlet||tt.ngTemplateOutletInjector){const tn=this._viewContainerRef;if(this._viewRef&&tn.remove(tn.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Xn,ngTemplateOutletContext:bi,ngTemplateOutletInjector:Ri}=this;this._viewRef=tn.createEmbeddedView(Xn,bi,Ri?{injector:Ri}:void 0)}else this._viewRef=null}else this._viewRef&&tt.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return je.\u0275fac=function(tt){return new(tt||je)(r.Y36(r.s_b))},je.\u0275dir=r.lG2({type:je,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[r.TTD]}),je})();function Aa(je,Nt){return new r.vHH(2100,!1)}class Ja{createSubscription(Nt,tt){return Nt.subscribe({next:tt,error:tn=>{throw tn}})}dispose(Nt){Nt.unsubscribe()}}class fa{createSubscription(Nt,tt){return Nt.then(tt,tn=>{throw tn})}dispose(Nt){}}const Xo=new fa,No=new Ja;let Cs=(()=>{class je{constructor(tt){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=tt}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(tt){return this._obj?tt!==this._obj?(this._dispose(),this.transform(tt)):this._latestValue:(tt&&this._subscribe(tt),this._latestValue)}_subscribe(tt){this._obj=tt,this._strategy=this._selectStrategy(tt),this._subscription=this._strategy.createSubscription(tt,tn=>this._updateLatestValue(tt,tn))}_selectStrategy(tt){if((0,r.QGY)(tt))return Xo;if((0,r.F4k)(tt))return No;throw Aa()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(tt,tn){tt===this._obj&&(this._latestValue=tn,this._ref.markForCheck())}}return je.\u0275fac=function(tt){return new(tt||je)(r.Y36(r.sBO,16))},je.\u0275pipe=r.Yjl({name:"async",type:je,pure:!1,standalone:!0}),je})(),ns=(()=>{class je{transform(tt){if(null==tt)return null;if("string"!=typeof tt)throw Aa();return tt.toLowerCase()}}return je.\u0275fac=function(tt){return new(tt||je)},je.\u0275pipe=r.Yjl({name:"lowercase",type:je,pure:!0,standalone:!0}),je})();const Fo=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let zr=(()=>{class je{transform(tt){if(null==tt)return null;if("string"!=typeof tt)throw Aa();return tt.replace(Fo,tn=>tn[0].toUpperCase()+tn.slice(1).toLowerCase())}}return je.\u0275fac=function(tt){return new(tt||je)},je.\u0275pipe=r.Yjl({name:"titlecase",type:je,pure:!0,standalone:!0}),je})(),io=(()=>{class je{transform(tt){if(null==tt)return null;if("string"!=typeof tt)throw Aa();return tt.toUpperCase()}}return je.\u0275fac=function(tt){return new(tt||je)},je.\u0275pipe=r.Yjl({name:"uppercase",type:je,pure:!0,standalone:!0}),je})();const Tn=new r.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),ie=new r.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Ze=(()=>{class je{constructor(tt,tn,Xn){this.locale=tt,this.defaultTimezone=tn,this.defaultOptions=Xn}transform(tt,tn,Xn,bi){if(null==tt||""===tt||tt!=tt)return null;try{return Eo(tt,tn??this.defaultOptions?.dateFormat??"mediumDate",bi||this.locale,Xn??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Ri){throw Aa()}}}return je.\u0275fac=function(tt){return new(tt||je)(r.Y36(r.soG,16),r.Y36(Tn,24),r.Y36(ie,24))},je.\u0275pipe=r.Yjl({name:"date",type:je,pure:!0,standalone:!0}),je})();const Jt=/#/g;let gn=(()=>{class je{constructor(tt){this._localization=tt}transform(tt,tn,Xn){if(null==tt)return"";if("object"!=typeof tn||null===tn)throw Aa();return tn[Ir(tt,Object.keys(tn),this._localization,Xn)].replace(Jt,tt.toString())}}return je.\u0275fac=function(tt){return new(tt||je)(r.Y36(ko,16))},je.\u0275pipe=r.Yjl({name:"i18nPlural",type:je,pure:!0,standalone:!0}),je})(),Bi=(()=>{class je{transform(tt){return JSON.stringify(tt,null,2)}}return je.\u0275fac=function(tt){return new(tt||je)},je.\u0275pipe=r.Yjl({name:"json",type:je,pure:!1,standalone:!0}),je})(),ws=(()=>{class je{constructor(tt){this.differs=tt,this.keyValues=[],this.compareFn=ds}transform(tt,tn=ds){if(!tt||!(tt instanceof Map)&&"object"!=typeof tt)return null;this.differ||(this.differ=this.differs.find(tt).create());const Xn=this.differ.diff(tt),bi=tn!==this.compareFn;return Xn&&(this.keyValues=[],Xn.forEachItem(Ri=>{this.keyValues.push(function Xi(je,Nt){return{key:je,value:Nt}}(Ri.key,Ri.currentValue))})),(Xn||bi)&&(this.keyValues.sort(tn),this.compareFn=tn),this.keyValues}}return je.\u0275fac=function(tt){return new(tt||je)(r.Y36(r.aQg,16))},je.\u0275pipe=r.Yjl({name:"keyvalue",type:je,pure:!1,standalone:!0}),je})();function ds(je,Nt){const tt=je.key,tn=Nt.key;if(tt===tn)return 0;if(void 0===tt)return 1;if(void 0===tn)return-1;if(null===tt)return 1;if(null===tn)return-1;if("string"==typeof tt&&"string"==typeof tn)return tt<tn?-1:1;if("number"==typeof tt&&"number"==typeof tn)return tt-tn;if("boolean"==typeof tt&&"boolean"==typeof tn)return tt<tn?-1:1;const Xn=String(tt),bi=String(tn);return Xn==bi?0:Xn<bi?-1:1}let qs=(()=>{class je{constructor(tt){this._locale=tt}transform(tt,tn,Xn){if(!vl(tt))return null;Xn=Xn||this._locale;try{return function ti(je,Nt,tt){return _s(je,Vr(Kr(Nt,Et.Decimal),xn(Nt,We.MinusSign)),Nt,We.Group,We.Decimal,tt)}(Yu(tt),Xn,tn)}catch(bi){throw Aa()}}}return je.\u0275fac=function(tt){return new(tt||je)(r.Y36(r.soG,16))},je.\u0275pipe=r.Yjl({name:"number",type:je,pure:!0,standalone:!0}),je})(),Js=(()=>{class je{constructor(tt){this._locale=tt}transform(tt,tn,Xn){if(!vl(tt))return null;Xn=Xn||this._locale;try{return function Ni(je,Nt,tt){return _s(je,Vr(Kr(Nt,Et.Percent),xn(Nt,We.MinusSign)),Nt,We.Group,We.Decimal,tt,!0).replace(new RegExp("%","g"),xn(Nt,We.PercentSign))}(Yu(tt),Xn,tn)}catch(bi){throw Aa()}}}return je.\u0275fac=function(tt){return new(tt||je)(r.Y36(r.soG,16))},je.\u0275pipe=r.Yjl({name:"percent",type:je,pure:!0,standalone:!0}),je})();function vl(je){return!(null==je||""===je||je!=je)}function Yu(je){if("string"==typeof je&&!isNaN(Number(je)-parseFloat(je)))return Number(je);if("number"!=typeof je)throw new Error(`${je} is not a number`);return je}let Ol=(()=>{class je{}return je.\u0275fac=function(tt){return new(tt||je)},je.\u0275mod=r.oAB({type:je}),je.\u0275inj=r.cJS({}),je})();const Kc="browser";function yu(je){return je===Kc}let Ic=(()=>{class je{}return je.\u0275prov=(0,r.Yz7)({token:je,providedIn:"root",factory:()=>new Gs((0,r.LFG)(f),window)}),je})();class Gs{constructor(Nt,tt){this.document=Nt,this.window=tt,this.offset=()=>[0,0]}setOffset(Nt){this.offset=Array.isArray(Nt)?()=>Nt:Nt}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(Nt){this.supportsScrolling()&&this.window.scrollTo(Nt[0],Nt[1])}scrollToAnchor(Nt){if(!this.supportsScrolling())return;const tt=function zu(je,Nt){const tt=je.getElementById(Nt)||je.getElementsByName(Nt)[0];if(tt)return tt;if("function"==typeof je.createTreeWalker&&je.body&&(je.body.createShadowRoot||je.body.attachShadow)){const tn=je.createTreeWalker(je.body,NodeFilter.SHOW_ELEMENT);let Xn=tn.currentNode;for(;Xn;){const bi=Xn.shadowRoot;if(bi){const Ri=bi.getElementById(Nt)||bi.querySelector(`[name="${Nt}"]`);if(Ri)return Ri}Xn=tn.nextNode()}}return null}(this.document,Nt);tt&&(this.scrollToElement(tt),tt.focus())}setHistoryScrollRestoration(Nt){if(this.supportScrollRestoration()){const tt=this.window.history;tt&&tt.scrollRestoration&&(tt.scrollRestoration=Nt)}}scrollToElement(Nt){const tt=Nt.getBoundingClientRect(),tn=tt.left+this.window.pageXOffset,Xn=tt.top+this.window.pageYOffset,bi=this.offset();this.window.scrollTo(tn-bi[0],Xn-bi[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const Nt=ku(this.window.history)||ku(Object.getPrototypeOf(this.window.history));return!(!Nt||!Nt.writable&&!Nt.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ku(je){return Object.getOwnPropertyDescriptor(je,"scrollRestoration")}class El{}},35732:(E,C,s)=>{"use strict";s.d(C,{JF:()=>et,LE:()=>de,TP:()=>pn,UA:()=>We,eN:()=>Pt});var r=s(88692),a=s(64537),c=s(25917),u=s(70882),e=s(94612),f=s(45435),m=s(88002);class T{}class M{}class w{constructor(Rt){this.normalizedNames=new Map,this.lazyUpdate=null,Rt?this.lazyInit="string"==typeof Rt?()=>{this.headers=new Map,Rt.split("\n").forEach(Pe=>{const qn=Pe.indexOf(":");if(qn>0){const gr=Pe.slice(0,qn),Pn=gr.toLowerCase(),_r=Pe.slice(qn+1).trim();this.maybeSetNormalizedName(gr,Pn),this.headers.has(Pn)?this.headers.get(Pn).push(_r):this.headers.set(Pn,[_r])}})}:()=>{this.headers=new Map,Object.entries(Rt).forEach(([Pe,qn])=>{let gr;if(gr="string"==typeof qn?[qn]:"number"==typeof qn?[qn.toString()]:qn.map(Pn=>Pn.toString()),gr.length>0){const Pn=Pe.toLowerCase();this.headers.set(Pn,gr),this.maybeSetNormalizedName(Pe,Pn)}})}:this.headers=new Map}has(Rt){return this.init(),this.headers.has(Rt.toLowerCase())}get(Rt){this.init();const Pe=this.headers.get(Rt.toLowerCase());return Pe&&Pe.length>0?Pe[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Rt){return this.init(),this.headers.get(Rt.toLowerCase())||null}append(Rt,Pe){return this.clone({name:Rt,value:Pe,op:"a"})}set(Rt,Pe){return this.clone({name:Rt,value:Pe,op:"s"})}delete(Rt,Pe){return this.clone({name:Rt,value:Pe,op:"d"})}maybeSetNormalizedName(Rt,Pe){this.normalizedNames.has(Pe)||this.normalizedNames.set(Pe,Rt)}init(){this.lazyInit&&(this.lazyInit instanceof w?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Rt=>this.applyUpdate(Rt)),this.lazyUpdate=null))}copyFrom(Rt){Rt.init(),Array.from(Rt.headers.keys()).forEach(Pe=>{this.headers.set(Pe,Rt.headers.get(Pe)),this.normalizedNames.set(Pe,Rt.normalizedNames.get(Pe))})}clone(Rt){const Pe=new w;return Pe.lazyInit=this.lazyInit&&this.lazyInit instanceof w?this.lazyInit:this,Pe.lazyUpdate=(this.lazyUpdate||[]).concat([Rt]),Pe}applyUpdate(Rt){const Pe=Rt.name.toLowerCase();switch(Rt.op){case"a":case"s":let qn=Rt.value;if("string"==typeof qn&&(qn=[qn]),0===qn.length)return;this.maybeSetNormalizedName(Rt.name,Pe);const gr=("a"===Rt.op?this.headers.get(Pe):void 0)||[];gr.push(...qn),this.headers.set(Pe,gr);break;case"d":const Pn=Rt.value;if(Pn){let _r=this.headers.get(Pe);if(!_r)return;_r=_r.filter(Pr=>-1===Pn.indexOf(Pr)),0===_r.length?(this.headers.delete(Pe),this.normalizedNames.delete(Pe)):this.headers.set(Pe,_r)}else this.headers.delete(Pe),this.normalizedNames.delete(Pe)}}forEach(Rt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Pe=>Rt(this.normalizedNames.get(Pe),this.headers.get(Pe)))}}class U{encodeKey(Rt){return F(Rt)}encodeValue(Rt){return F(Rt)}decodeKey(Rt){return decodeURIComponent(Rt)}decodeValue(Rt){return decodeURIComponent(Rt)}}const $=/%(\d[a-f0-9])/gi,J={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function F(lt){return encodeURIComponent(lt).replace($,(Rt,Pe)=>J[Pe]??Rt)}function X(lt){return`${lt}`}class de{constructor(Rt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Rt.encoder||new U,Rt.fromString){if(Rt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function W(lt,Rt){const Pe=new Map;return lt.length>0&&lt.replace(/^\?/,"").split("&").forEach(gr=>{const Pn=gr.indexOf("="),[_r,Pr]=-1==Pn?[Rt.decodeKey(gr),""]:[Rt.decodeKey(gr.slice(0,Pn)),Rt.decodeValue(gr.slice(Pn+1))],tr=Pe.get(_r)||[];tr.push(Pr),Pe.set(_r,tr)}),Pe}(Rt.fromString,this.encoder)}else Rt.fromObject?(this.map=new Map,Object.keys(Rt.fromObject).forEach(Pe=>{const qn=Rt.fromObject[Pe],gr=Array.isArray(qn)?qn.map(X):[X(qn)];this.map.set(Pe,gr)})):this.map=null}has(Rt){return this.init(),this.map.has(Rt)}get(Rt){this.init();const Pe=this.map.get(Rt);return Pe?Pe[0]:null}getAll(Rt){return this.init(),this.map.get(Rt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Rt,Pe){return this.clone({param:Rt,value:Pe,op:"a"})}appendAll(Rt){const Pe=[];return Object.keys(Rt).forEach(qn=>{const gr=Rt[qn];Array.isArray(gr)?gr.forEach(Pn=>{Pe.push({param:qn,value:Pn,op:"a"})}):Pe.push({param:qn,value:gr,op:"a"})}),this.clone(Pe)}set(Rt,Pe){return this.clone({param:Rt,value:Pe,op:"s"})}delete(Rt,Pe){return this.clone({param:Rt,value:Pe,op:"d"})}toString(){return this.init(),this.keys().map(Rt=>{const Pe=this.encoder.encodeKey(Rt);return this.map.get(Rt).map(qn=>Pe+"="+this.encoder.encodeValue(qn)).join("&")}).filter(Rt=>""!==Rt).join("&")}clone(Rt){const Pe=new de({encoder:this.encoder});return Pe.cloneFrom=this.cloneFrom||this,Pe.updates=(this.updates||[]).concat(Rt),Pe}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Rt=>this.map.set(Rt,this.cloneFrom.map.get(Rt))),this.updates.forEach(Rt=>{switch(Rt.op){case"a":case"s":const Pe=("a"===Rt.op?this.map.get(Rt.param):void 0)||[];Pe.push(X(Rt.value)),this.map.set(Rt.param,Pe);break;case"d":if(void 0===Rt.value){this.map.delete(Rt.param);break}{let qn=this.map.get(Rt.param)||[];const gr=qn.indexOf(X(Rt.value));-1!==gr&&qn.splice(gr,1),qn.length>0?this.map.set(Rt.param,qn):this.map.delete(Rt.param)}}}),this.cloneFrom=this.updates=null)}}class ce{constructor(){this.map=new Map}set(Rt,Pe){return this.map.set(Rt,Pe),this}get(Rt){return this.map.has(Rt)||this.map.set(Rt,Rt.defaultValue()),this.map.get(Rt)}delete(Rt){return this.map.delete(Rt),this}has(Rt){return this.map.has(Rt)}keys(){return this.map.keys()}}function fe(lt){return typeof ArrayBuffer<"u"&&lt instanceof ArrayBuffer}function Te(lt){return typeof Blob<"u"&&lt instanceof Blob}function $e(lt){return typeof FormData<"u"&&lt instanceof FormData}class Et{constructor(Rt,Pe,qn,gr){let Pn;if(this.url=Pe,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Rt.toUpperCase(),function se(lt){switch(lt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||gr?(this.body=void 0!==qn?qn:null,Pn=gr):Pn=qn,Pn&&(this.reportProgress=!!Pn.reportProgress,this.withCredentials=!!Pn.withCredentials,Pn.responseType&&(this.responseType=Pn.responseType),Pn.headers&&(this.headers=Pn.headers),Pn.context&&(this.context=Pn.context),Pn.params&&(this.params=Pn.params)),this.headers||(this.headers=new w),this.context||(this.context=new ce),this.params){const _r=this.params.toString();if(0===_r.length)this.urlWithParams=Pe;else{const Pr=Pe.indexOf("?");this.urlWithParams=Pe+(-1===Pr?"?":Pr<Pe.length-1?"&":"")+_r}}else this.params=new de,this.urlWithParams=Pe}serializeBody(){return null===this.body?null:fe(this.body)||Te(this.body)||$e(this.body)||function ge(lt){return typeof URLSearchParams<"u"&&lt instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof de?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||$e(this.body)?null:Te(this.body)?this.body.type||null:fe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof de?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Rt={}){const Pe=Rt.method||this.method,qn=Rt.url||this.url,gr=Rt.responseType||this.responseType,Pn=void 0!==Rt.body?Rt.body:this.body,_r=void 0!==Rt.withCredentials?Rt.withCredentials:this.withCredentials,Pr=void 0!==Rt.reportProgress?Rt.reportProgress:this.reportProgress;let tr=Rt.headers||this.headers,Zn=Rt.params||this.params;const nr=Rt.context??this.context;return void 0!==Rt.setHeaders&&(tr=Object.keys(Rt.setHeaders).reduce((Zt,dn)=>Zt.set(dn,Rt.setHeaders[dn]),tr)),Rt.setParams&&(Zn=Object.keys(Rt.setParams).reduce((Zt,dn)=>Zt.set(dn,Rt.setParams[dn]),Zn)),new Et(Pe,qn,Pn,{params:Zn,headers:tr,context:nr,reportProgress:Pr,responseType:gr,withCredentials:_r})}}var ot=(()=>((ot=ot||{})[ot.Sent=0]="Sent",ot[ot.UploadProgress=1]="UploadProgress",ot[ot.ResponseHeader=2]="ResponseHeader",ot[ot.DownloadProgress=3]="DownloadProgress",ot[ot.Response=4]="Response",ot[ot.User=5]="User",ot))();class ct{constructor(Rt,Pe=200,qn="OK"){this.headers=Rt.headers||new w,this.status=void 0!==Rt.status?Rt.status:Pe,this.statusText=Rt.statusText||qn,this.url=Rt.url||null,this.ok=this.status>=200&&this.status<300}}class qe extends ct{constructor(Rt={}){super(Rt),this.type=ot.ResponseHeader}clone(Rt={}){return new qe({headers:Rt.headers||this.headers,status:void 0!==Rt.status?Rt.status:this.status,statusText:Rt.statusText||this.statusText,url:Rt.url||this.url||void 0})}}class He extends ct{constructor(Rt={}){super(Rt),this.type=ot.Response,this.body=void 0!==Rt.body?Rt.body:null}clone(Rt={}){return new He({body:void 0!==Rt.body?Rt.body:this.body,headers:Rt.headers||this.headers,status:void 0!==Rt.status?Rt.status:this.status,statusText:Rt.statusText||this.statusText,url:Rt.url||this.url||void 0})}}class We extends ct{constructor(Rt){super(Rt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Rt.url||"(unknown url)"}`:`Http failure response for ${Rt.url||"(unknown url)"}: ${Rt.status} ${Rt.statusText}`,this.error=Rt.error||null}}function Le(lt,Rt){return{body:Rt,headers:lt.headers,context:lt.context,observe:lt.observe,params:lt.params,reportProgress:lt.reportProgress,responseType:lt.responseType,withCredentials:lt.withCredentials}}let Pt=(()=>{class lt{constructor(Pe){this.handler=Pe}request(Pe,qn,gr={}){let Pn;if(Pe instanceof Et)Pn=Pe;else{let tr,Zn;tr=gr.headers instanceof w?gr.headers:new w(gr.headers),gr.params&&(Zn=gr.params instanceof de?gr.params:new de({fromObject:gr.params})),Pn=new Et(Pe,qn,void 0!==gr.body?gr.body:null,{headers:tr,context:gr.context,params:Zn,reportProgress:gr.reportProgress,responseType:gr.responseType||"json",withCredentials:gr.withCredentials})}const _r=(0,c.of)(Pn).pipe((0,e.b)(tr=>this.handler.handle(tr)));if(Pe instanceof Et||"events"===gr.observe)return _r;const Pr=_r.pipe((0,f.h)(tr=>tr instanceof He));switch(gr.observe||"body"){case"body":switch(Pn.responseType){case"arraybuffer":return Pr.pipe((0,m.U)(tr=>{if(null!==tr.body&&!(tr.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return tr.body}));case"blob":return Pr.pipe((0,m.U)(tr=>{if(null!==tr.body&&!(tr.body instanceof Blob))throw new Error("Response is not a Blob.");return tr.body}));case"text":return Pr.pipe((0,m.U)(tr=>{if(null!==tr.body&&"string"!=typeof tr.body)throw new Error("Response is not a string.");return tr.body}));default:return Pr.pipe((0,m.U)(tr=>tr.body))}case"response":return Pr;default:throw new Error(`Unreachable: unhandled observe type ${gr.observe}}`)}}delete(Pe,qn={}){return this.request("DELETE",Pe,qn)}get(Pe,qn={}){return this.request("GET",Pe,qn)}head(Pe,qn={}){return this.request("HEAD",Pe,qn)}jsonp(Pe,qn){return this.request("JSONP",Pe,{params:(new de).append(qn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Pe,qn={}){return this.request("OPTIONS",Pe,qn)}patch(Pe,qn,gr={}){return this.request("PATCH",Pe,Le(gr,qn))}post(Pe,qn,gr={}){return this.request("POST",Pe,Le(gr,qn))}put(Pe,qn,gr={}){return this.request("PUT",Pe,Le(gr,qn))}}return lt.\u0275fac=function(Pe){return new(Pe||lt)(a.LFG(T))},lt.\u0275prov=a.Yz7({token:lt,factory:lt.\u0275fac}),lt})();function it(lt,Rt){return Rt(lt)}function Xt(lt,Rt){return(Pe,qn)=>Rt.intercept(Pe,{handle:gr=>lt(gr,qn)})}const pn=new a.OlP("HTTP_INTERCEPTORS"),Rn=new a.OlP("HTTP_INTERCEPTOR_FNS");function At(){let lt=null;return(Rt,Pe)=>(null===lt&&(lt=((0,a.f3M)(pn,{optional:!0})??[]).reduceRight(Xt,it)),lt(Rt,Pe))}let qt=(()=>{class lt extends T{constructor(Pe,qn){super(),this.backend=Pe,this.injector=qn,this.chain=null}handle(Pe){if(null===this.chain){const qn=Array.from(new Set(this.injector.get(Rn)));this.chain=qn.reduceRight((gr,Pn)=>function cn(lt,Rt,Pe){return(qn,gr)=>Pe.runInContext(()=>Rt(qn,Pn=>lt(Pn,gr)))}(gr,Pn,this.injector),it)}return this.chain(Pe,qn=>this.backend.handle(qn))}}return lt.\u0275fac=function(Pe){return new(Pe||lt)(a.LFG(M),a.LFG(a.lqb))},lt.\u0275prov=a.Yz7({token:lt,factory:lt.\u0275fac}),lt})();const Wt=/^\)\]\}',?\n/;let wn=(()=>{class lt{constructor(Pe){this.xhrFactory=Pe}handle(Pe){if("JSONP"===Pe.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new u.y(qn=>{const gr=this.xhrFactory.build();if(gr.open(Pe.method,Pe.urlWithParams),Pe.withCredentials&&(gr.withCredentials=!0),Pe.headers.forEach((Ge,Ot)=>gr.setRequestHeader(Ge,Ot.join(","))),Pe.headers.has("Accept")||gr.setRequestHeader("Accept","application/json, text/plain, */*"),!Pe.headers.has("Content-Type")){const Ge=Pe.detectContentTypeHeader();null!==Ge&&gr.setRequestHeader("Content-Type",Ge)}if(Pe.responseType){const Ge=Pe.responseType.toLowerCase();gr.responseType="json"!==Ge?Ge:"text"}const Pn=Pe.serializeBody();let _r=null;const Pr=()=>{if(null!==_r)return _r;const Ge=gr.statusText||"OK",Ot=new w(gr.getAllResponseHeaders()),mn=function Tt(lt){return"responseURL"in lt&&lt.responseURL?lt.responseURL:/^X-Request-URL:/m.test(lt.getAllResponseHeaders())?lt.getResponseHeader("X-Request-URL"):null}(gr)||Pe.url;return _r=new qe({headers:Ot,status:gr.status,statusText:Ge,url:mn}),_r},tr=()=>{let{headers:Ge,status:Ot,statusText:mn,url:wr}=Pr(),Ti=null;204!==Ot&&(Ti=typeof gr.response>"u"?gr.responseText:gr.response),0===Ot&&(Ot=Ti?200:0);let Ci=Ot>=200&&Ot<300;if("json"===Pe.responseType&&"string"==typeof Ti){const Ai=Ti;Ti=Ti.replace(Wt,"");try{Ti=""!==Ti?JSON.parse(Ti):null}catch(Ko){Ti=Ai,Ci&&(Ci=!1,Ti={error:Ko,text:Ti})}}Ci?(qn.next(new He({body:Ti,headers:Ge,status:Ot,statusText:mn,url:wr||void 0})),qn.complete()):qn.error(new We({error:Ti,headers:Ge,status:Ot,statusText:mn,url:wr||void 0}))},Zn=Ge=>{const{url:Ot}=Pr(),mn=new We({error:Ge,status:gr.status||0,statusText:gr.statusText||"Unknown Error",url:Ot||void 0});qn.error(mn)};let nr=!1;const Zt=Ge=>{nr||(qn.next(Pr()),nr=!0);let Ot={type:ot.DownloadProgress,loaded:Ge.loaded};Ge.lengthComputable&&(Ot.total=Ge.total),"text"===Pe.responseType&&gr.responseText&&(Ot.partialText=gr.responseText),qn.next(Ot)},dn=Ge=>{let Ot={type:ot.UploadProgress,loaded:Ge.loaded};Ge.lengthComputable&&(Ot.total=Ge.total),qn.next(Ot)};return gr.addEventListener("load",tr),gr.addEventListener("error",Zn),gr.addEventListener("timeout",Zn),gr.addEventListener("abort",Zn),Pe.reportProgress&&(gr.addEventListener("progress",Zt),null!==Pn&&gr.upload&&gr.upload.addEventListener("progress",dn)),gr.send(Pn),qn.next({type:ot.Sent}),()=>{gr.removeEventListener("error",Zn),gr.removeEventListener("abort",Zn),gr.removeEventListener("load",tr),gr.removeEventListener("timeout",Zn),Pe.reportProgress&&(gr.removeEventListener("progress",Zt),null!==Pn&&gr.upload&&gr.upload.removeEventListener("progress",dn)),gr.readyState!==gr.DONE&&gr.abort()}})}}return lt.\u0275fac=function(Pe){return new(Pe||lt)(a.LFG(r.JF))},lt.\u0275prov=a.Yz7({token:lt,factory:lt.\u0275fac}),lt})();const jn=new a.OlP("XSRF_ENABLED"),Oi=new a.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),so=new a.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class kr{}let Ei=(()=>{class lt{constructor(Pe,qn,gr){this.doc=Pe,this.platform=qn,this.cookieName=gr,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Pe=this.doc.cookie||"";return Pe!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.Mx)(Pe,this.cookieName),this.lastCookieString=Pe),this.lastToken}}return lt.\u0275fac=function(Pe){return new(Pe||lt)(a.LFG(r.K0),a.LFG(a.Lbi),a.LFG(Oi))},lt.\u0275prov=a.Yz7({token:lt,factory:lt.\u0275fac}),lt})();function ii(lt,Rt){const Pe=lt.url.toLowerCase();if(!(0,a.f3M)(jn)||"GET"===lt.method||"HEAD"===lt.method||Pe.startsWith("http://")||Pe.startsWith("https://"))return Rt(lt);const qn=(0,a.f3M)(kr).getToken(),gr=(0,a.f3M)(so);return null!=qn&&!lt.headers.has(gr)&&(lt=lt.clone({headers:lt.headers.set(gr,qn)})),Rt(lt)}var pr=(()=>((pr=pr||{})[pr.Interceptors=0]="Interceptors",pr[pr.LegacyInterceptors=1]="LegacyInterceptors",pr[pr.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",pr[pr.NoXsrfProtection=3]="NoXsrfProtection",pr[pr.JsonpSupport=4]="JsonpSupport",pr[pr.RequestsMadeViaParent=5]="RequestsMadeViaParent",pr))();function Eo(lt,Rt){return{\u0275kind:lt,\u0275providers:Rt}}function po(...lt){const Rt=[Pt,wn,qt,{provide:T,useExisting:qt},{provide:M,useExisting:wn},{provide:Rn,useValue:ii,multi:!0},{provide:jn,useValue:!0},{provide:kr,useClass:Ei}];for(const Pe of lt)Rt.push(...Pe.\u0275providers);return(0,a.MR2)(Rt)}const qr=new a.OlP("LEGACY_INTERCEPTOR_FN");let et=(()=>{class lt{}return lt.\u0275fac=function(Pe){return new(Pe||lt)},lt.\u0275mod=a.oAB({type:lt}),lt.\u0275inj=a.cJS({providers:[po(Eo(pr.LegacyInterceptors,[{provide:qr,useFactory:At},{provide:Rn,useExisting:qr,multi:!0}]))]}),lt})()},64537:(E,C,s)=>{"use strict";s.d(C,{$8M:()=>Os,$WT:()=>ko,$Z:()=>Dv,AFp:()=>OT,ALo:()=>Yb,AaK:()=>T,AsE:()=>o0,BQk:()=>e1,CHM:()=>Qs,CRH:()=>tT,CZH:()=>tg,CqO:()=>n0,D6c:()=>aA,DdM:()=>wb,Dn7:()=>Vb,DtL:()=>gb,DyG:()=>Ud,EJc:()=>SO,EiD:()=>wh,EpF:()=>e0,F$t:()=>Jr,F4k:()=>t0,FYo:()=>vo,FiY:()=>k,G48:()=>GO,Gf:()=>qb,GfV:()=>Cl,GkF:()=>J1,Gpc:()=>D,Gre:()=>kS,Hsn:()=>hi,IIB:()=>mO,Ikx:()=>zy,JOm:()=>_c,JVY:()=>Vd,JZr:()=>F,Jf7:()=>Lm,KtG:()=>Hu,L6k:()=>Wf,LAX:()=>kf,LFG:()=>et,LMc:()=>cA,LSH:()=>lh,Lbi:()=>yO,Lck:()=>OM,MAs:()=>Qg,MGl:()=>Ao,MMx:()=>aE,MR2:()=>Cd,MT6:()=>$S,N_p:()=>Dg,NdJ:()=>Q1,OlP:()=>Mu,Oqu:()=>r1,P3R:()=>rm,PXZ:()=>LO,Q6J:()=>V1,QGY:()=>Mg,QbO:()=>DT,Qsj:()=>fl,QtT:()=>vb,R0b:()=>gh,RDi:()=>Cc,Rgc:()=>ov,SBq:()=>si,SDv:()=>eE,Sil:()=>CO,Suo:()=>eT,TTD:()=>Xl,TgZ:()=>Kg,Tol:()=>OS,Udp:()=>Uy,UuU:()=>Si,VKq:()=>Pb,W1O:()=>oT,WLB:()=>Nb,X6Q:()=>BO,XFs:()=>jn,Xpm:()=>Ci,Xts:()=>uh,Y36:()=>Sm,YKP:()=>bb,YNc:()=>Xv,Yjl:()=>wi,Yz7:()=>xn,Z0I:()=>ir,ZZ4:()=>kE,Zx4:()=>yb,_Bn:()=>Sb,_UZ:()=>W1,_Vd:()=>oa,_c5:()=>oA,_uU:()=>pm,aQg:()=>$E,c2e:()=>EO,cJS:()=>Or,cg1:()=>Zy,d8E:()=>Vy,dDg:()=>PO,dqk:()=>Ei,eBb:()=>h_,eFA:()=>BT,eJc:()=>vE,ekj:()=>By,eoX:()=>kT,f3M:()=>an,g9A:()=>AT,h0i:()=>l1,hGG:()=>sA,hYB:()=>Bo,hij:()=>i1,i9L:()=>gd,iGM:()=>Xb,ifc:()=>tr,ip1:()=>MT,jDz:()=>Cb,kEZ:()=>Ib,kL8:()=>WS,kYT:()=>Ni,l5B:()=>Fb,lG2:()=>Vr,lcZ:()=>jb,lnq:()=>Km,lqb:()=>cs,lri:()=>FT,mCW:()=>dp,n5z:()=>En,oAB:()=>dr,oJD:()=>em,oxw:()=>Fn,pB0:()=>rf,pQV:()=>tE,pYS:()=>Tf,q3G:()=>Qc,qLn:()=>dh,qOj:()=>G1,qZA:()=>Xg,qbA:()=>Lb,qzn:()=>Ku,rWj:()=>LT,r_U:()=>gO,s9C:()=>Oo,sBO:()=>YO,s_b:()=>m0,soG:()=>c1,tBr:()=>N,tHW:()=>qy,tb:()=>HT,tp0:()=>he,uIk:()=>Dm,uOi:()=>F_,vHH:()=>X,vpe:()=>_m,wAp:()=>Sl,xi3:()=>zb,xp6:()=>gg,ynx:()=>qg,z2F:()=>E0,z3N:()=>lc,zSh:()=>On,zW0:()=>Uv,zs3:()=>_h});var r=s(79765),a=s(13464),c=s(70882),u=s(66682),e=s(78345);function f(d){for(let p in d)if(d[p]===f)return p;throw Error("Could not find renamed property on target object.")}function m(d,p){for(const g in p)p.hasOwnProperty(g)&&!d.hasOwnProperty(g)&&(d[g]=p[g])}function T(d){if("string"==typeof d)return d;if(Array.isArray(d))return"["+d.map(T).join(", ")+"]";if(null==d)return""+d;if(d.overriddenName)return`${d.overriddenName}`;if(d.name)return`${d.name}`;const p=d.toString();if(null==p)return""+p;const g=p.indexOf("\n");return-1===g?p:p.substring(0,g)}function M(d,p){return null==d||""===d?null===p?"":p:null==p||""===p?d:d+" "+p}const w=f({__forward_ref__:f});function D(d){return d.__forward_ref__=D,d.toString=function(){return T(this())},d}function U(d){return W(d)?d():d}function W(d){return"function"==typeof d&&d.hasOwnProperty(w)&&d.__forward_ref__===D}function $(d){return d&&!!d.\u0275providers}const F="https://g.co/ng/security#xss";class X extends Error{constructor(p,g){super(de(p,g)),this.code=p}}function de(d,p){return`NG0${Math.abs(d)}${p?": "+p.trim():""}`}function V(d){return"string"==typeof d?d:null==d?"":String(d)}function $e(d,p){throw new X(-201,!1)}function At(d,p,g,R){throw new Error(`ASSERTION ERROR: ${d}`+(null==R?"":` [Expected=> ${g} ${R} ${p} <=Actual]`))}function xn(d){return{token:d.token,providedIn:d.providedIn||null,factory:d.factory,value:void 0}}function Or(d){return{providers:d.providers||[],imports:d.imports||[]}}function Lr(d){return Qr(d,ht)||Qr(d,Tt)}function ir(d){return null!==Lr(d)}function Qr(d,p){return d.hasOwnProperty(p)?d[p]:null}function br(d){return d&&(d.hasOwnProperty(Wt)||d.hasOwnProperty(wn))?d[Wt]:null}const ht=f({\u0275prov:f}),Wt=f({\u0275inj:f}),Tt=f({ngInjectableDef:f}),wn=f({ngInjectorDef:f});var jn=(()=>((jn=jn||{})[jn.Default=0]="Default",jn[jn.Host=1]="Host",jn[jn.Self=2]="Self",jn[jn.SkipSelf=4]="SkipSelf",jn[jn.Optional=8]="Optional",jn))();let hr;function Wi(d){const p=hr;return hr=d,p}function so(d,p,g){const R=Lr(d);return R&&"root"==R.providedIn?void 0===R.value?R.value=R.factory():R.value:g&jn.Optional?null:void 0!==p?p:void $e(T(d))}const Ei=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Eo={},po="__NG_DI_FLAG__",$i="ngTempTokenPath",qr="ngTokenPath",Hi=/\n/gm,Dn="\u0275",Hn="__source";let jt;function Fe(d){const p=jt;return jt=d,p}function Ie(d,p=jn.Default){if(void 0===jt)throw new X(-203,!1);return null===jt?so(d,void 0,p):jt.get(d,p&jn.Optional?null:void 0,p)}function et(d,p=jn.Default){return(function Oi(){return hr}()||Ie)(U(d),p)}function an(d,p=jn.Default){return et(d,lt(p))}function lt(d){return typeof d>"u"||"number"==typeof d?d:0|(d.optional&&8)|(d.host&&1)|(d.self&&2)|(d.skipSelf&&4)}function Rt(d){const p=[];for(let g=0;g<d.length;g++){const R=U(d[g]);if(Array.isArray(R)){if(0===R.length)throw new X(900,!1);let H,te=jn.Default;for(let ve=0;ve<R.length;ve++){const Be=R[ve],nt=qn(Be);"number"==typeof nt?-1===nt?H=Be.token:te|=nt:H=Be}p.push(et(H,te))}else p.push(et(R))}return p}function Pe(d,p){return d[po]=p,d.prototype[po]=p,d}function qn(d){return d[po]}function _r(d){return{toString:d}.toString()}var Pr=(()=>((Pr=Pr||{})[Pr.OnPush=0]="OnPush",Pr[Pr.Default=1]="Default",Pr))(),tr=(()=>{return(d=tr||(tr={}))[d.Emulated=0]="Emulated",d[d.None=2]="None",d[d.ShadowDom=3]="ShadowDom",tr;var d})();const Zn={},nr=[],Zt=f({\u0275cmp:f}),dn=f({\u0275dir:f}),Ge=f({\u0275pipe:f}),Ot=f({\u0275mod:f}),mn=f({\u0275fac:f}),wr=f({__NG_ELEMENT_ID__:f});let Ti=0;function Ci(d){return _r(()=>{const p=ro(d),g={...p,decls:d.decls,vars:d.vars,template:d.template,consts:d.consts||null,ngContentSelectors:d.ngContentSelectors,onPush:d.changeDetection===Pr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:p.standalone&&d.dependencies||null,getStandaloneInjector:null,data:d.data||{},encapsulation:d.encapsulation||tr.Emulated,id:"c"+Ti++,styles:d.styles||nr,_:null,schemas:d.schemas||null,tView:null};Vt(g);const R=d.dependencies;return g.directiveDefs=bn(R,!1),g.pipeDefs=bn(R,!0),g})}function Ko(d){return ji(d)||Vi(d)}function _s(d){return null!==d}function dr(d){return _r(()=>({type:d.type,bootstrap:d.bootstrap||nr,declarations:d.declarations||nr,imports:d.imports||nr,exports:d.exports||nr,transitiveCompileScopes:null,schemas:d.schemas||null,id:d.id||null}))}function Ni(d,p){return _r(()=>{const g=Ir(d,!0);g.declarations=p.declarations||nr,g.imports=p.imports||nr,g.exports=p.exports||nr})}function ti(d,p){if(null==d)return Zn;const g={};for(const R in d)if(d.hasOwnProperty(R)){let H=d[R],te=H;Array.isArray(H)&&(te=H[1],H=H[0]),g[H]=R,p&&(p[H]=te)}return g}function Vr(d){return _r(()=>{const p=ro(d);return Vt(p),p})}function wi(d){return{type:d.type,name:d.name,factory:null,pure:!1!==d.pure,standalone:!0===d.standalone,onDestroy:d.type.prototype.ngOnDestroy||null}}function ji(d){return d[Zt]||null}function Vi(d){return d[dn]||null}function Po(d){return d[Ge]||null}function ko(d){const p=ji(d)||Vi(d)||Po(d);return null!==p&&p.standalone}function Ir(d,p){const g=d[Ot]||null;if(!g&&!0===p)throw new Error(`Type ${T(d)} does not have '\u0275mod' property.`);return g}function ro(d){const p={};return{type:d.type,providersResolver:null,factory:null,hostBindings:d.hostBindings||null,hostVars:d.hostVars||0,hostAttrs:d.hostAttrs||null,contentQueries:d.contentQueries||null,declaredInputs:p,exportAs:d.exportAs||null,standalone:!0===d.standalone,selectors:d.selectors||nr,viewQuery:d.viewQuery||null,features:d.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ti(d.inputs,p),outputs:ti(d.outputs)}}function Vt(d){d.features?.forEach(p=>p(d))}function bn(d,p){if(!d)return null;const g=p?Po:Ko;return()=>("function"==typeof d?d():d).map(R=>g(R)).filter(_s)}const Bn=0,ci=1,_o=2,go=3,es=4,ts=5,jo=6,ss=7,gs=8,Is=9,la=10,Ro=11,jl=12,gl=13,qa=14,da=15,$a=16,Rl=17,Ji=18,Ha=19,Ts=20,hs=21,$s=22,Ja=1,fa=2,Xo=7,No=8,Cs=9,ns=10;function zr(d){return Array.isArray(d)&&"object"==typeof d[Ja]}function io(d){return Array.isArray(d)&&!0===d[Ja]}function gt(d){return 0!=(4&d.flags)}function Tn(d){return d.componentOffset>-1}function ie(d){return 1==(1&d.flags)}function Ze(d){return!!d.template}function Jt(d){return 0!=(256&d[_o])}function el(d,p){return d.hasOwnProperty(mn)?d[mn]:null}class oc{constructor(p,g,R){this.previousValue=p,this.currentValue=g,this.firstChange=R}isFirstChange(){return this.firstChange}}function Xl(){return Ic}function Ic(d){return d.type.prototype.ngOnChanges&&(d.setInput=ku),Gs}function Gs(){const d=ua(this),p=d?.current;if(p){const g=d.previous;if(g===Zn)d.previous=p;else for(let R in p)g[R]=p[R];d.current=null,this.ngOnChanges(p)}}function ku(d,p,g,R){const H=this.declaredInputs[g],te=ua(d)||function El(d,p){return d[zu]=p}(d,{previous:Zn,current:null}),ve=te.current||(te.current={}),Be=te.previous,nt=Be[H];ve[H]=new oc(nt&&nt.currentValue,p,Be===Zn),d[R]=p}Xl.ngInherit=!0;const zu="__ngSimpleChanges__";function ua(d){return d[zu]||null}const $u=function(d,p,g){};function tl(d){for(;Array.isArray(d);)d=d[Bn];return d}function dc(d,p){return tl(p[d])}function cu(d,p){return tl(p[d.index])}function Ru(d,p){return d.data[p]}function xu(d,p){return d[p]}function ba(d,p){const g=p[d];return zr(g)?g:g[Bn]}function Su(d){return 64==(64&d[_o])}function ql(d,p){return null==p?null:d[p]}function Al(d){d[Ji]=0}function Dc(d,p){d[ts]+=p;let g=d,R=d[go];for(;null!==R&&(1===p&&1===g[ts]||-1===p&&0===g[ts]);)R[ts]+=p,g=R,R=R[go]}const zs={lFrame:Gr(null),bindingsEnabled:!0};function fi(){return zs.bindingsEnabled}function mi(){return zs.lFrame.lView}function Hs(){return zs.lFrame.tView}function Qs(d){return zs.lFrame.contextLView=d,d[gs]}function Hu(d){return zs.lFrame.contextLView=null,d}function zl(){let d=sc();for(;null!==d&&64===d.type;)d=d.parent;return d}function sc(){return zs.lFrame.currentTNode}function hu(){const d=zs.lFrame,p=d.currentTNode;return d.isParent?p:p.parent}function lu(d,p){const g=zs.lFrame;g.currentTNode=d,g.isParent=p}function id(){return zs.lFrame.isParent}function ec(){zs.lFrame.isParent=!1}function kl(){const d=zs.lFrame;let p=d.bindingRootIndex;return-1===p&&(p=d.bindingRootIndex=d.tView.bindingStartIndex),p}function sl(){return zs.lFrame.bindingIndex}function Q(){return zs.lFrame.bindingIndex++}function Ee(d){const p=zs.lFrame,g=p.bindingIndex;return p.bindingIndex=p.bindingIndex+d,g}function Xe(d){zs.lFrame.inI18n=d}function Gt(d,p){const g=zs.lFrame;g.bindingIndex=g.bindingRootIndex=d,kn(p)}function kn(d){zs.lFrame.currentDirectiveIndex=d}function Hr(d){const p=zs.lFrame.currentDirectiveIndex;return-1===p?null:d[p]}function Xr(){return zs.lFrame.currentQueryIndex}function yr(d){zs.lFrame.currentQueryIndex=d}function Rr(d){const p=d[ci];return 2===p.type?p.declTNode:1===p.type?d[jo]:null}function Go(d,p,g){if(g&jn.SkipSelf){let H=p,te=d;for(;!(H=H.parent,null!==H||g&jn.Host||(H=Rr(te),null===H||(te=te[da],10&H.type))););if(null===H)return!1;p=H,d=te}const R=zs.lFrame=Qn();return R.currentTNode=p,R.lView=d,!0}function Io(d){const p=Qn(),g=d[ci];zs.lFrame=p,p.currentTNode=g.firstChild,p.lView=d,p.tView=g,p.contextLView=d,p.bindingIndex=g.bindingStartIndex,p.inI18n=!1}function Qn(){const d=zs.lFrame,p=null===d?null:d.child;return null===p?Gr(d):p}function Gr(d){const p={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:d,child:null,inI18n:!1};return null!==d&&(d.child=p),p}function Fr(){const d=zs.lFrame;return zs.lFrame=d.parent,d.currentTNode=null,d.lView=null,d}const Ui=Fr;function Do(){const d=Fr();d.isParent=!0,d.tView=null,d.selectedIndex=-1,d.contextLView=null,d.elementDepthCount=0,d.currentDirectiveIndex=-1,d.currentNamespace=null,d.bindingRootIndex=-1,d.bindingIndex=-1,d.currentQueryIndex=0}function zo(){return zs.lFrame.selectedIndex}function $l(d){zs.lFrame.selectedIndex=d}function xl(){const d=zs.lFrame;return Ru(d.tView,d.selectedIndex)}function Pa(d,p){for(let g=p.directiveStart,R=p.directiveEnd;g<R;g++){const te=d.data[g].type.prototype,{ngAfterContentInit:ve,ngAfterContentChecked:Be,ngAfterViewInit:nt,ngAfterViewChecked:Ht,ngOnDestroy:Sn}=te;ve&&(d.contentHooks??(d.contentHooks=[])).push(-g,ve),Be&&((d.contentHooks??(d.contentHooks=[])).push(g,Be),(d.contentCheckHooks??(d.contentCheckHooks=[])).push(g,Be)),nt&&(d.viewHooks??(d.viewHooks=[])).push(-g,nt),Ht&&((d.viewHooks??(d.viewHooks=[])).push(g,Ht),(d.viewCheckHooks??(d.viewCheckHooks=[])).push(g,Ht)),null!=Sn&&(d.destroyHooks??(d.destroyHooks=[])).push(g,Sn)}}function fc(d,p,g){Nt(d,p,3,g)}function bu(d,p,g,R){(3&d[_o])===g&&Nt(d,p,g,R)}function je(d,p){let g=d[_o];(3&g)===p&&(g&=2047,g+=1,d[_o]=g)}function Nt(d,p,g,R){const te=R??-1,ve=p.length-1;let Be=0;for(let nt=void 0!==R?65535&d[Ji]:0;nt<ve;nt++)if("number"==typeof p[nt+1]){if(Be=p[nt],null!=R&&Be>=R)break}else p[nt]<0&&(d[Ji]+=65536),(Be<te||-1==te)&&(tt(d,g,p,nt),d[Ji]=(4294901760&d[Ji])+nt+2),nt++}function tt(d,p,g,R){const H=g[R]<0,te=g[R+1],Be=d[H?-g[R]:g[R]];if(H){if(d[_o]>>11<d[Ji]>>16&&(3&d[_o])===p){d[_o]+=2048,$u(4,Be,te);try{te.call(Be)}finally{$u(5,Be,te)}}}else{$u(4,Be,te);try{te.call(Be)}finally{$u(5,Be,te)}}}const tn=-1;class Xn{constructor(p,g,R){this.factory=p,this.resolving=!1,this.canSeeViewProviders=g,this.injectImpl=R}}function Ho(d,p,g){let R=0;for(;R<g.length;){const H=g[R];if("number"==typeof H){if(0!==H)break;R++;const te=g[R++],ve=g[R++],Be=g[R++];d.setAttribute(p,ve,Be,te)}else{const te=H,ve=g[++R];rn(te)?d.setProperty(p,te,ve):d.setAttribute(p,te,ve),R++}}return R}function Qa(d){return 3===d||4===d||6===d}function rn(d){return 64===d.charCodeAt(0)}function Jl(d,p){if(null!==p&&0!==p.length)if(null===d||0===d.length)d=p.slice();else{let g=-1;for(let R=0;R<p.length;R++){const H=p[R];"number"==typeof H?g=H:0===g||le(d,g,H,null,-1===g||2===g?p[++R]:null)}}return d}function le(d,p,g,R,H){let te=0,ve=d.length;if(-1===p)ve=-1;else for(;te<d.length;){const Be=d[te++];if("number"==typeof Be){if(Be===p){ve=-1;break}if(Be>p){ve=te-1;break}}}for(;te<d.length;){const Be=d[te];if("number"==typeof Be)break;if(Be===g){if(null===R)return void(null!==H&&(d[te+1]=H));if(R===d[te+1])return void(d[te+2]=H)}te++,null!==R&&te++,null!==H&&te++}-1!==ve&&(d.splice(ve,0,p),te=ve+1),d.splice(te++,0,g),null!==R&&d.splice(te++,0,R),null!==H&&d.splice(te++,0,H)}function ae(d){return d!==tn}function De(d){return 32767&d}function st(d,p){let g=function Ve(d){return d>>16}(d),R=p;for(;g>0;)R=R[da],g--;return R}let zt=!0;function Qt(d){const p=zt;return zt=d,p}const Er=255,Nr=5;let Mi=0;const ao={};function rs(d,p){const g=Ps(d,p);if(-1!==g)return g;const R=p[ci];R.firstCreatePass&&(d.injectorIndex=p.length,ys(R.data,d),ys(p,null),ys(R.blueprint,null));const H=Ul(d,p),te=d.injectorIndex;if(ae(H)){const ve=De(H),Be=st(H,p),nt=Be[ci].data;for(let Ht=0;Ht<8;Ht++)p[te+Ht]=Be[ve+Ht]|nt[ve+Ht]}return p[te+8]=H,te}function ys(d,p){d.push(0,0,0,0,0,0,0,0,p)}function Ps(d,p){return-1===d.injectorIndex||d.parent&&d.parent.injectorIndex===d.injectorIndex||null===p[d.injectorIndex+8]?-1:d.injectorIndex}function Ul(d,p){if(d.parent&&-1!==d.parent.injectorIndex)return d.parent.injectorIndex;let g=0,R=null,H=p;for(;null!==H;){if(R=Va(H),null===R)return tn;if(g++,H=H[da],-1!==R.injectorIndex)return R.injectorIndex|g<<16}return tn}function eu(d,p,g){!function Jo(d,p,g){let R;"string"==typeof g?R=g.charCodeAt(0)||0:g.hasOwnProperty(wr)&&(R=g[wr]),null==R&&(R=g[wr]=Mi++);const H=R&Er;p.data[d+(H>>Nr)]|=1<<H}(d,p,g)}function wu(d,p,g){if(g&jn.Optional||void 0!==d)return d;$e()}function Rc(d,p,g,R){if(g&jn.Optional&&void 0===R&&(R=null),!(g&(jn.Self|jn.Host))){const H=d[Is],te=Wi(void 0);try{return H?H.get(p,R,g&jn.Optional):so(p,R,g&jn.Optional)}finally{Wi(te)}}return wu(R,0,g)}function fu(d,p,g,R=jn.Default,H){if(null!==d){if(1024&p[_o]){const ve=function za(d,p,g,R,H){let te=d,ve=p;for(;null!==te&&null!==ve&&1024&ve[_o]&&!(256&ve[_o]);){const Be=qc(te,ve,g,R|jn.Self,ao);if(Be!==ao)return Be;let nt=te.parent;if(!nt){const Ht=ve[hs];if(Ht){const Sn=Ht.get(g,ao,R);if(Sn!==ao)return Sn}nt=Va(ve),ve=ve[da]}te=nt}return H}(d,p,g,R,ao);if(ve!==ao)return ve}const te=qc(d,p,g,R,ao);if(te!==ao)return te}return Rc(p,g,R,H)}function qc(d,p,g,R,H){const te=function La(d){if("string"==typeof d)return d.charCodeAt(0)||0;const p=d.hasOwnProperty(wr)?d[wr]:void 0;return"number"==typeof p?p>=0?p&Er:Tu:p}(g);if("function"==typeof te){if(!Go(p,d,R))return R&jn.Host?wu(H,0,R):Rc(p,g,R,H);try{const ve=te(R);if(null!=ve||R&jn.Optional)return ve;$e()}finally{Ui()}}else if("number"==typeof te){let ve=null,Be=Ps(d,p),nt=tn,Ht=R&jn.Host?p[$a][jo]:null;for((-1===Be||R&jn.SkipSelf)&&(nt=-1===Be?Ul(d,p):p[Be+8],nt!==tn&&rl(R,!1)?(ve=p[ci],Be=De(nt),p=st(nt,p)):Be=-1);-1!==Be;){const Sn=p[ci];if(al(te,Be,Sn.data)){const Ln=$c(Be,p,g,ve,R,Ht);if(Ln!==ao)return Ln}nt=p[Be+8],nt!==tn&&rl(R,p[ci].data[Be+8]===Ht)&&al(te,Be,p)?(ve=Sn,Be=De(nt),p=st(nt,p)):Be=-1}}return H}function $c(d,p,g,R,H,te){const ve=p[ci],Be=ve.data[d+8],Sn=pu(Be,ve,g,null==R?Tn(Be)&&zt:R!=ve&&0!=(3&Be.type),H&jn.Host&&te===Be);return null!==Sn?vc(p,ve,Sn,Be):ao}function pu(d,p,g,R,H){const te=d.providerIndexes,ve=p.data,Be=1048575&te,nt=d.directiveStart,Sn=te>>20,ei=H?Be+Sn:d.directiveEnd;for(let xi=R?Be:Be+Sn;xi<ei;xi++){const mo=ve[xi];if(xi<nt&&g===mo||xi>=nt&&mo.type===g)return xi}if(H){const xi=ve[nt];if(xi&&Ze(xi)&&xi.type===g)return nt}return null}function vc(d,p,g,R){let H=d[g];const te=p.data;if(function bi(d){return d instanceof Xn}(H)){const ve=H;ve.resolving&&function se(d,p){const g=p?`. Dependency path: ${p.join(" > ")} > ${d}`:"";throw new X(-200,`Circular dependency in DI detected for ${d}${g}`)}(function ce(d){return"function"==typeof d?d.name||d.toString():"object"==typeof d&&null!=d&&"function"==typeof d.type?d.type.name||d.type.toString():V(d)}(te[g]));const Be=Qt(ve.canSeeViewProviders);ve.resolving=!0;const nt=ve.injectImpl?Wi(ve.injectImpl):null;Go(d,R,jn.Default);try{H=d[g]=ve.factory(void 0,te,d,R),p.firstCreatePass&&g>=R.directiveStart&&function Wl(d,p,g){const{ngOnChanges:R,ngOnInit:H,ngDoCheck:te}=p.type.prototype;if(R){const ve=Ic(p);(g.preOrderHooks??(g.preOrderHooks=[])).push(d,ve),(g.preOrderCheckHooks??(g.preOrderCheckHooks=[])).push(d,ve)}H&&(g.preOrderHooks??(g.preOrderHooks=[])).push(0-d,H),te&&((g.preOrderHooks??(g.preOrderHooks=[])).push(d,te),(g.preOrderCheckHooks??(g.preOrderCheckHooks=[])).push(d,te))}(g,te[g],p)}finally{null!==nt&&Wi(nt),Qt(Be),ve.resolving=!1,Ui()}}return H}function al(d,p,g){return!!(g[p+(d>>Nr)]&1<<d)}function rl(d,p){return!(d&jn.Self||d&jn.Host&&p)}class xa{constructor(p,g){this._tNode=p,this._lView=g}get(p,g,R){return fu(this._tNode,this._lView,p,lt(R),g)}}function Tu(){return new xa(zl(),mi())}function En(d){return _r(()=>{const p=d.prototype.constructor,g=p[mn]||Pu(p),R=Object.prototype;let H=Object.getPrototypeOf(d.prototype).constructor;for(;H&&H!==R;){const te=H[mn]||Pu(H);if(te&&te!==g)return te;H=Object.getPrototypeOf(H)}return te=>new te})}function Pu(d){return W(d)?()=>{const p=Pu(U(d));return p&&p()}:el(d)}function Va(d){const p=d[ci],g=p.type;return 2===g?p.declTNode:1===g?d[jo]:null}function Os(d){return function mu(d,p){if("class"===p)return d.classes;if("style"===p)return d.styles;const g=d.attrs;if(g){const R=g.length;let H=0;for(;H<R;){const te=g[H];if(Qa(te))break;if(0===te)H+=2;else if("number"==typeof te)for(H++;H<R&&"string"==typeof g[H];)H++;else{if(te===p)return g[H+1];H+=2}}}return null}(zl(),d)}const ld="__parameters__",Hc="__prop__metadata__";function ud(d){return function(...g){if(d){const R=d(...g);for(const H in R)this[H]=R[H]}}}function md(d,p,g){return _r(()=>{const R=ud(p);function H(...te){if(this instanceof H)return R.apply(this,te),this;const ve=new H(...te);return Be.annotation=ve,Be;function Be(nt,Ht,Sn){const Ln=nt.hasOwnProperty(ld)?nt[ld]:Object.defineProperty(nt,ld,{value:[]})[ld];for(;Ln.length<=Sn;)Ln.push(null);return(Ln[Sn]=Ln[Sn]||[]).push(ve),nt}}return g&&(H.prototype=Object.create(g.prototype)),H.prototype.ngMetadataName=d,H.annotationCls=H,H})}function tf(d,p,g,R){return _r(()=>{const H=ud(p);function te(...ve){if(this instanceof te)return H.apply(this,ve),this;const Be=new te(...ve);return function nt(Ht,Sn){const Ln=Ht.constructor,ei=Ln.hasOwnProperty(Hc)?Ln[Hc]:Object.defineProperty(Ln,Hc,{value:{}})[Hc];ei[Sn]=ei.hasOwnProperty(Sn)&&ei[Sn]||[],ei[Sn].unshift(Be),R&&R(Ht,Sn,...ve)}}return g&&(te.prototype=Object.create(g.prototype)),te.prototype.ngMetadataName=d,te.annotationCls=te,te})}class Mu{constructor(p,g){this._desc=p,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof g?this.__NG_ELEMENT_ID__=g:void 0!==g&&(this.\u0275prov=xn({token:this,providedIn:g.providedIn||"root",factory:g.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}class Tp{}const gd=tf("ViewChild",(d,p)=>({selector:d,first:!0,isViewQuery:!0,descendants:!0,...p}),Tp),Ud=Function;function Ne(d,p){d.forEach(g=>Array.isArray(g)?Ne(g,p):p(g))}function _e(d,p,g){p>=d.length?d.push(g):d.splice(p,0,g)}function Ye(d,p){return p>=d.length-1?d.pop():d.splice(p,1)[0]}function Mt(d,p){const g=[];for(let R=0;R<d;R++)g.push(p);return g}function Wo(d,p,g){let R=ya(d,p);return R>=0?d[1|R]=g:(R=~R,function ni(d,p,g,R){let H=d.length;if(H==p)d.push(g,R);else if(1===H)d.push(R,d[0]),d[0]=g;else{for(H--,d.push(d[H-1],d[H]);H>p;)d[H]=d[H-2],H--;d[p]=g,d[p+1]=R}}(d,R,p,g)),R}function Qo(d,p){const g=ya(d,p);if(g>=0)return d[1|g]}function ya(d,p){return function Wu(d,p,g){let R=0,H=d.length>>g;for(;H!==R;){const te=R+(H-R>>1),ve=d[te<<g];if(p===ve)return te<<g;ve>p?H=te:R=te+1}return~(H<<g)}(d,p,1)}const N=Pe(md("Inject",d=>({token:d})),-1),k=Pe(md("Optional"),8),he=Pe(md("SkipSelf"),4);var _c=(()=>((_c=_c||{})[_c.Important=1]="Important",_c[_c.DashCase=2]="DashCase",_c))();const T_=/^>|^->|<!--|-->|--!>|<!-$/g,Bd=/(<|>)/,Sh="\u200b$1\u200b";const Gf=new Map;let Hp=0;const Zc="__ngContext__";function Sc(d,p){zr(p)?(d[Zc]=p[Ts],function C_(d){Gf.set(d[Ts],d)}(p)):d[Zc]=p}let td;function Rd(d,p){return td(d,p)}function sp(d){const p=d[go];return io(p)?p[go]:p}function xd(d){return J_(d[gl])}function bc(d){return J_(d[es])}function J_(d){for(;null!==d&&!io(d);)d=d[es];return d}function Gp(d,p,g,R,H){if(null!=R){let te,ve=!1;io(R)?te=R:zr(R)&&(ve=!0,R=R[Bn]);const Be=tl(R);0===d&&null!==g?null==H?jf(p,g,Be):mf(p,g,Be,H||null,!0):1===d&&null!==g?mf(p,g,Be,H||null,!0):2===d?th(p,Be,ve):3===d&&p.destroyNode(Be),null!=te&&function Kh(d,p,g,R,H){const te=g[Xo];te!==tl(g)&&Gp(p,d,R,te,H);for(let Be=ns;Be<g.length;Be++){const nt=g[Be];zd(nt[ci],nt,d,p,R,te)}}(p,d,te,g,H)}}function a_(d,p){return d.createText(p)}function Q_(d,p,g){d.setValue(p,g)}function K_(d,p){return d.createComment(function bh(d){return d.replace(T_,p=>p.replace(Bd,Sh))}(p))}function X_(d,p,g){return d.createElement(p,g)}function Nf(d,p){const g=d[Cs],R=g.indexOf(p),H=p[go];512&p[_o]&&(p[_o]&=-513,Dc(H,-1)),g.splice(R,1)}function Mh(d,p){if(d.length<=ns)return;const g=ns+p,R=d[g];if(R){const H=R[Rl];null!==H&&H!==d&&Nf(H,R),p>0&&(d[g-1][es]=R[es]);const te=Ye(d,ns+p);!function q_(d,p){zd(d,p,p[Ro],2,null,null),p[Bn]=null,p[jo]=null}(R[ci],R);const ve=te[Ha];null!==ve&&ve.detachView(te[ci]),R[go]=null,R[es]=null,R[_o]&=-65}return R}function Jh(d,p){if(!(128&p[_o])){const g=p[Ro];g.destroyNode&&zd(d,p,g,3,null,null),function O_(d){let p=d[gl];if(!p)return lp(d[ci],d);for(;p;){let g=null;if(zr(p))g=p[gl];else{const R=p[ns];R&&(g=R)}if(!g){for(;p&&!p[es]&&p!==d;)zr(p)&&lp(p[ci],p),p=p[go];null===p&&(p=d),zr(p)&&lp(p[ci],p),g=p&&p[es]}p=g}}(p)}}function lp(d,p){if(!(128&p[_o])){p[_o]&=-65,p[_o]|=128,function hf(d,p){let g;if(null!=d&&null!=(g=d.destroyHooks))for(let R=0;R<g.length;R+=2){const H=p[g[R]];if(!(H instanceof Xn)){const te=g[R+1];if(Array.isArray(te))for(let ve=0;ve<te.length;ve+=2){const Be=H[te[ve]],nt=te[ve+1];$u(4,Be,nt);try{nt.call(Be)}finally{$u(5,Be,nt)}}else{$u(4,H,te);try{te.call(H)}finally{$u(5,H,te)}}}}}(d,p),function Mp(d,p){const g=d.cleanup,R=p[ss];let H=-1;if(null!==g)for(let te=0;te<g.length-1;te+=2)if("string"==typeof g[te]){const ve=g[te+3];ve>=0?R[H=ve]():R[H=-ve].unsubscribe(),te+=2}else{const ve=R[H=g[te+1]];g[te].call(ve)}if(null!==R){for(let te=H+1;te<R.length;te++)(0,R[te])();p[ss]=null}}(d,p),1===p[ci].type&&p[Ro].destroy();const g=p[Rl];if(null!==g&&io(p[go])){g!==p[go]&&Nf(g,p);const R=p[Ha];null!==R&&R.detachView(d)}!function Za(d){Gf.delete(d[Ts])}(p)}}function l_(d,p,g){return u_(d,p.parent,g)}function u_(d,p,g){let R=p;for(;null!==R&&40&R.type;)R=(p=R).parent;if(null===R)return g[Bn];{const{componentOffset:H}=R;if(H>-1){const{encapsulation:te}=d.data[R.directiveStart+H];if(te===tr.None||te===tr.Emulated)return null}return cu(R,g)}}function mf(d,p,g,R,H){d.insertBefore(p,g,R,H)}function jf(d,p,g){d.appendChild(p,g)}function jd(d,p,g,R,H){null!==R?mf(d,p,g,R,H):jf(d,p,g)}function nf(d,p){return d.parentNode(p)}function Oh(d,p,g){return A_(d,p,g)}function Ap(d,p,g){return 40&d.type?cu(d,g):null}let Dp,gf,p_,yf,A_=Ap;function Ah(d,p){A_=d,Dp=p}function If(d,p,g,R){const H=l_(d,R,p),te=p[Ro],Be=Oh(R.parent||p[jo],R,p);if(null!=H)if(Array.isArray(g))for(let nt=0;nt<g.length;nt++)jd(te,H,g[nt],Be,!1);else jd(te,H,g,Be,!1);void 0!==Dp&&Dp(te,R,p,g,H)}function Yp(d,p){if(null!==p){const g=p.type;if(3&g)return cu(p,d);if(4&g)return c_(-1,d[p.index]);if(8&g){const R=p.child;if(null!==R)return Yp(d,R);{const H=d[p.index];return io(H)?c_(-1,H):tl(H)}}if(32&g)return Rd(p,d)()||tl(d[p.index]);{const R=eh(d,p);return null!==R?Array.isArray(R)?R[0]:Yp(sp(d[$a]),R):Yp(d,p.next)}}return null}function eh(d,p){return null!==p?d[$a][jo].projection[p.projection]:null}function c_(d,p){const g=ns+d+1;if(g<p.length){const R=p[g],H=R[ci].firstChild;if(null!==H)return Yp(R,H)}return p[Xo]}function th(d,p,g){const R=nf(d,p);R&&function Nm(d,p,g,R){d.removeChild(p,g,R)}(d,R,p,g)}function d_(d,p,g,R,H,te,ve){for(;null!=g;){const Be=R[g.index],nt=g.type;if(ve&&0===p&&(Be&&Sc(tl(Be),R),g.flags|=2),32!=(32&g.flags))if(8&nt)d_(d,p,g.child,R,H,te,!1),Gp(p,d,H,Be,te);else if(32&nt){const Ht=Rd(g,R);let Sn;for(;Sn=Ht();)Gp(p,d,H,Sn,te);Gp(p,d,H,Be,te)}else 16&nt?f_(d,p,R,g,H,te):Gp(p,d,H,Be,te);g=ve?g.projectionNext:g.next}}function zd(d,p,g,R,H,te){d_(g,R,d.firstChild,p,H,te,!1)}function f_(d,p,g,R,H,te){const ve=g[$a],nt=ve[jo].projection[R.projection];if(Array.isArray(nt))for(let Ht=0;Ht<nt.length;Ht++)Gp(p,d,H,nt[Ht],te);else d_(d,p,nt,ve[go],H,te,!0)}function jp(d,p,g){""===g?d.removeAttribute(p,"class"):d.setAttribute(p,"class",g)}function Td(d,p,g){const{mergedAttrs:R,classes:H,styles:te}=g;null!==R&&Ho(d,p,R),null!==H&&jp(d,p,H),null!==te&&function Dh(d,p,g){d.setAttribute(p,"style",g)}(d,p,te)}function Ta(d){return function zp(){if(void 0===gf&&(gf=null,Ei.trustedTypes))try{gf=Ei.trustedTypes.createPolicy("angular",{createHTML:d=>d,createScript:d=>d,createScriptURL:d=>d})}catch{}return gf}()?.createHTML(d)||d}function Cc(d){p_=d}function D_(){return void 0!==p_?p_:typeof document<"u"?document:void 0}function cp(){if(void 0===yf&&(yf=null,Ei.trustedTypes))try{yf=Ei.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:d=>d,createScript:d=>d,createScriptURL:d=>d})}catch{}return yf}function Mc(d){return cp()?.createHTML(d)||d}function __(d){return cp()?.createScriptURL(d)||d}class Lf{constructor(p){this.changingThisBreaksApplicationSecurity=p}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${F})`}}class zf extends Lf{getTypeName(){return"HTML"}}class Vf extends Lf{getTypeName(){return"Style"}}class ra extends Lf{getTypeName(){return"Script"}}class rh extends Lf{getTypeName(){return"URL"}}class ih extends Lf{getTypeName(){return"ResourceURL"}}function lc(d){return d instanceof Lf?d.changingThisBreaksApplicationSecurity:d}function Ku(d,p){const g=function Zf(d){return d instanceof Lf&&d.getTypeName()||null}(d);if(null!=g&&g!==p){if("ResourceURL"===g&&"URL"===p)return!0;throw new Error(`Required a safe ${p}, got a ${g} (see ${F})`)}return g===p}function Vd(d){return new zf(d)}function Wf(d){return new Vf(d)}function h_(d){return new ra(d)}function kf(d){return new rh(d)}function rf(d){return new ih(d)}function R_(d){const p=new Jf(d);return function oh(){try{return!!(new window.DOMParser).parseFromString(Ta(""),"text/html")}catch{return!1}}()?new x_(p):p}class x_{constructor(p){this.inertDocumentHelper=p}getInertBodyElement(p){p="<body><remove></remove>"+p;try{const g=(new window.DOMParser).parseFromString(Ta(p),"text/html").body;return null===g?this.inertDocumentHelper.getInertBodyElement(p):(g.removeChild(g.firstChild),g)}catch{return null}}}class Jf{constructor(p){this.defaultDoc=p,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(p){const g=this.inertDocument.createElement("template");return g.innerHTML=Ta(p),g}}const Rp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function dp(d){return(d=String(d)).match(Rp)?d:"unsafe:"+d}function Yc(d){const p={};for(const g of d.split(","))p[g]=!0;return p}function sf(...d){const p={};for(const g of d)for(const R in g)g.hasOwnProperty(R)&&(p[R]=!0);return p}const fp=Yc("area,br,col,hr,img,wbr"),xp=Yc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),wd=Yc("rp,rt"),sh=sf(fp,sf(xp,Yc("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),sf(wd,Yc("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),sf(wd,xp)),pp=Yc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Sf=sf(pp,Yc("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Yc("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Vp=Yc("script,style,template");class xh{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(p){let g=p.firstChild,R=!0;for(;g;)if(g.nodeType===Node.ELEMENT_NODE?R=this.startElement(g):g.nodeType===Node.TEXT_NODE?this.chars(g.nodeValue):this.sanitizedSomething=!0,R&&g.firstChild)g=g.firstChild;else for(;g;){g.nodeType===Node.ELEMENT_NODE&&this.endElement(g);let H=this.checkClobberedElement(g,g.nextSibling);if(H){g=H;break}g=this.checkClobberedElement(g,g.parentNode)}return this.buf.join("")}startElement(p){const g=p.nodeName.toLowerCase();if(!sh.hasOwnProperty(g))return this.sanitizedSomething=!0,!Vp.hasOwnProperty(g);this.buf.push("<"),this.buf.push(g);const R=p.attributes;for(let H=0;H<R.length;H++){const te=R.item(H),ve=te.name,Be=ve.toLowerCase();if(!Sf.hasOwnProperty(Be)){this.sanitizedSomething=!0;continue}let nt=te.value;pp[Be]&&(nt=dp(nt)),this.buf.push(" ",ve,'="',qh(nt),'"')}return this.buf.push(">"),!0}endElement(p){const g=p.nodeName.toLowerCase();sh.hasOwnProperty(g)&&!fp.hasOwnProperty(g)&&(this.buf.push("</"),this.buf.push(g),this.buf.push(">"))}chars(p){this.buf.push(qh(p))}checkClobberedElement(p,g){if(g&&(p.compareDocumentPosition(g)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${p.outerHTML}`);return g}}const ah=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,P_=/([^\#-~ |!])/g;function qh(d){return d.replace(/&/g,"&amp;").replace(ah,function(p){return"&#"+(1024*(p.charCodeAt(0)-55296)+(p.charCodeAt(1)-56320)+65536)+";"}).replace(P_,function(p){return"&#"+p.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let N_;function wh(d,p){let g=null;try{N_=N_||R_(d);let R=p?String(p):"";g=N_.getInertBodyElement(R);let H=5,te=R;do{if(0===H)throw new Error("Failed to sanitize html because the input is unstable");H--,R=te,te=g.innerHTML,g=N_.getInertBodyElement(R)}while(R!==te);return Ta((new xh).sanitizeChildren(I_(g)||g))}finally{if(g){const R=I_(g)||g;for(;R.firstChild;)R.removeChild(R.firstChild)}}}function I_(d){return"content"in d&&function Zp(d){return d.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===d.nodeName}(d)?d.content:null}var Qc=(()=>((Qc=Qc||{})[Qc.NONE=0]="NONE",Qc[Qc.HTML=1]="HTML",Qc[Qc.STYLE=2]="STYLE",Qc[Qc.SCRIPT=3]="SCRIPT",Qc[Qc.URL=4]="URL",Qc[Qc.RESOURCE_URL=5]="RESOURCE_URL",Qc))();function em(d){const p=vd();return p?Mc(p.sanitize(Qc.HTML,d)||""):Ku(d,"HTML")?Mc(lc(d)):wh(D_(),V(d))}function lh(d){const p=vd();return p?p.sanitize(Qc.URL,d)||"":Ku(d,"URL")?lc(d):dp(V(d))}function F_(d){const p=vd();if(p)return __(p.sanitize(Qc.RESOURCE_URL,d)||"");if(Ku(d,"ResourceURL"))return __(lc(d));throw new X(904,!1)}function rm(d,p,g){return function nm(d,p){return"src"===p&&("embed"===d||"frame"===d||"iframe"===d||"media"===d||"script"===d)||"href"===p&&("base"===d||"link"===d)?F_:lh}(p,g)(d)}function vd(){const d=mi();return d&&d[jl]}const uh=new Mu("ENVIRONMENT_INITIALIZER"),ym=new Mu("INJECTOR",-1),Np=new Mu("INJECTOR_DEF_TYPES");class ch{get(p,g=Eo){if(g===Eo){const R=new Error(`NullInjectorError: No provider for ${T(p)}!`);throw R.name="NullInjectorError",R}return g}}function Cd(d){return{\u0275providers:d}}function om(...d){return{\u0275providers:Nh(0,d),\u0275fromNgModule:!0}}function Nh(d,...p){const g=[],R=new Set;let H;return Ne(p,te=>{const ve=te;Fh(ve,g,[],R)&&(H||(H=[]),H.push(ve))}),void 0!==H&&Ih(H,g),g}function Ih(d,p){for(let g=0;g<d.length;g++){const{providers:H}=d[g];L_(H,te=>{p.push(te)})}}function Fh(d,p,g,R){if(!(d=U(d)))return!1;let H=null,te=br(d);const ve=!te&&ji(d);if(te||ve){if(ve&&!ve.standalone)return!1;H=d}else{const nt=d.ngModule;if(te=br(nt),!te)return!1;H=nt}const Be=R.has(H);if(ve){if(Be)return!1;if(R.add(H),ve.dependencies){const nt="function"==typeof ve.dependencies?ve.dependencies():ve.dependencies;for(const Ht of nt)Fh(Ht,p,g,R)}}else{if(!te)return!1;{if(null!=te.imports&&!Be){let Ht;R.add(H);try{Ne(te.imports,Sn=>{Fh(Sn,p,g,R)&&(Ht||(Ht=[]),Ht.push(Sn))})}finally{}void 0!==Ht&&Ih(Ht,p)}if(!Be){const Ht=el(H)||(()=>new H);p.push({provide:H,useFactory:Ht,deps:nr},{provide:Np,useValue:H,multi:!0},{provide:uh,useValue:()=>et(H),multi:!0})}const nt=te.providers;null==nt||Be||L_(nt,Sn=>{p.push(Sn)})}}return H!==d&&void 0!==d.providers}function L_(d,p){for(let g of d)$(g)&&(g=g.\u0275providers),Array.isArray(g)?L_(g,p):p(g)}const I=f({provide:String,useValue:f});function re(d){return null!==d&&"object"==typeof d&&I in d}function Oe(d){return"function"==typeof d}const On=new Mu("Set Injector scope."),Ar={},ri={};let Di;function Pi(){return void 0===Di&&(Di=new ch),Di}class cs{}class Yo extends cs{get destroyed(){return this._destroyed}constructor(p,g,R,H){super(),this.parent=g,this.source=R,this.scopes=H,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,vr(p,ve=>this.processProvider(ve)),this.records.set(ym,Ke(void 0,this)),H.has("environment")&&this.records.set(cs,Ke(void 0,this));const te=this.records.get(On);null!=te&&"string"==typeof te.value&&this.scopes.add(te.value),this.injectorDefTypes=new Set(this.get(Np.multi,nr,jn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const p of this._ngOnDestroyHooks)p.ngOnDestroy();for(const p of this._onDestroyHooks)p()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(p){this._onDestroyHooks.push(p)}runInContext(p){this.assertNotDestroyed();const g=Fe(this),R=Wi(void 0);try{return p()}finally{Fe(g),Wi(R)}}get(p,g=Eo,R=jn.Default){this.assertNotDestroyed(),R=lt(R);const H=Fe(this),te=Wi(void 0);try{if(!(R&jn.SkipSelf)){let Be=this.records.get(p);if(void 0===Be){const nt=function In(d){return"function"==typeof d||"object"==typeof d&&d instanceof Mu}(p)&&Lr(p);Be=nt&&this.injectableDefInScope(nt)?Ke(y(p),Ar):null,this.records.set(p,Be)}if(null!=Be)return this.hydrate(p,Be)}return(R&jn.Self?Pi():this.parent).get(p,g=R&jn.Optional&&g===Eo?null:g)}catch(ve){if("NullInjectorError"===ve.name){if((ve[$i]=ve[$i]||[]).unshift(T(p)),H)throw ve;return function gr(d,p,g,R){const H=d[$i];throw p[Hn]&&H.unshift(p[Hn]),d.message=function Pn(d,p,g,R=null){d=d&&"\n"===d.charAt(0)&&d.charAt(1)==Dn?d.slice(2):d;let H=T(p);if(Array.isArray(p))H=p.map(T).join(" -> ");else if("object"==typeof p){let te=[];for(let ve in p)if(p.hasOwnProperty(ve)){let Be=p[ve];te.push(ve+":"+("string"==typeof Be?JSON.stringify(Be):T(Be)))}H=`{${te.join(", ")}}`}return`${g}${R?"("+R+")":""}[${H}]: ${d.replace(Hi,"\n ")}`}("\n"+d.message,H,g,R),d[qr]=H,d[$i]=null,d}(ve,p,"R3InjectorError",this.source)}throw ve}finally{Wi(te),Fe(H)}}resolveInjectorInitializers(){const p=Fe(this),g=Wi(void 0);try{const R=this.get(uh.multi,nr,jn.Self);for(const H of R)H()}finally{Fe(p),Wi(g)}}toString(){const p=[],g=this.records;for(const R of g.keys())p.push(T(R));return`R3Injector[${p.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new X(205,!1)}processProvider(p){let g=Oe(p=U(p))?p:U(p&&p.provide);const R=function Y(d){return re(d)?Ke(void 0,d.useValue):Ke(be(d),Ar)}(p);if(Oe(p)||!0!==p.multi)this.records.get(g);else{let H=this.records.get(g);H||(H=Ke(void 0,Ar,!0),H.factory=()=>Rt(H.multi),this.records.set(g,H)),g=p,H.multi.push(p)}this.records.set(g,R)}hydrate(p,g){return g.value===Ar&&(g.value=ri,g.value=g.factory()),"object"==typeof g.value&&g.value&&function _n(d){return null!==d&&"object"==typeof d&&"function"==typeof d.ngOnDestroy}(g.value)&&this._ngOnDestroyHooks.add(g.value),g.value}injectableDefInScope(p){if(!p.providedIn)return!1;const g=U(p.providedIn);return"string"==typeof g?"any"===g||this.scopes.has(g):this.injectorDefTypes.has(g)}}function y(d){const p=Lr(d),g=null!==p?p.factory:el(d);if(null!==g)return g;if(d instanceof Mu)throw new X(204,!1);if(d instanceof Function)return function x(d){const p=d.length;if(p>0)throw Mt(p,"?"),new X(204,!1);const g=function jr(d){return d&&(d[ht]||d[Tt])||null}(d);return null!==g?()=>g.factory(d):()=>new d}(d);throw new X(204,!1)}function be(d,p,g){let R;if(Oe(d)){const H=U(d);return el(H)||y(H)}if(re(d))R=()=>U(d.useValue);else if(function z(d){return!(!d||!d.useFactory)}(d))R=()=>d.useFactory(...Rt(d.deps||[]));else if(function S(d){return!(!d||!d.useExisting)}(d))R=()=>et(U(d.useExisting));else{const H=U(d&&(d.useClass||d.provide));if(!function xt(d){return!!d.deps}(d))return el(H)||y(H);R=()=>new H(...Rt(d.deps))}return R}function Ke(d,p,g=!1){return{factory:d,value:p,multi:g?[]:void 0}}function vr(d,p){for(const g of d)Array.isArray(g)?vr(g,p):g&&$(g)?vr(g.\u0275providers,p):p(g)}class Si{}class Uo{}class ia{resolveComponentFactory(p){throw function Ds(d){const p=Error(`No component factory found for ${T(d)}. Did you add it to @NgModule.entryComponents?`);return p.ngComponent=d,p}(p)}}let oa=(()=>{class d{}return d.NULL=new ia,d})();function di(){return Wr(zl(),mi())}function Wr(d,p){return new si(cu(d,p))}let si=(()=>{class d{constructor(g){this.nativeElement=g}}return d.__NG_ELEMENT_ID__=di,d})();function no(d){return d instanceof si?d.nativeElement:d}class vo{}let fl=(()=>{class d{}return d.__NG_ELEMENT_ID__=()=>function Us(){const d=mi(),g=ba(zl().index,d);return(zr(g)?g:d)[Ro]}(),d})(),ll=(()=>{class d{}return d.\u0275prov=xn({token:d,providedIn:"root",factory:()=>null}),d})();class Cl{constructor(p){this.full=p,this.major=p.split(".")[0],this.minor=p.split(".")[1],this.patch=p.split(".").slice(2).join(".")}}const Ia=new Cl("15.2.9"),bf={},Ip="ngOriginalError";function Lh(d){return d[Ip]}class dh{constructor(){this._console=console}handleError(p){const g=this._findOriginalError(p);this._console.error("ERROR",p),g&&this._console.error("ORIGINAL ERROR",g)}_findOriginalError(p){let g=p&&Lh(p);for(;g&&Lh(g);)g=Lh(g);return g||null}}function Lm(d){return d.ownerDocument.defaultView}function Tf(d){return d.ownerDocument.body}function Qf(d){return d instanceof Function?d():d}function Iu(d,p,g){let R=d.length;for(;;){const H=d.indexOf(p,g);if(-1===H)return H;if(0===H||d.charCodeAt(H-1)<=32){const te=p.length;if(H+te===R||d.charCodeAt(H+te)<=32)return H}g=H+1}}const Es="ng-template";function gu(d,p,g){let R=0,H=!0;for(;R<d.length;){let te=d[R++];if("string"==typeof te&&H){const ve=d[R++];if(g&&"class"===te&&-1!==Iu(ve.toLowerCase(),p,0))return!0}else{if(1===te){for(;R<d.length&&"string"==typeof(te=d[R++]);)if(te.toLowerCase()===p)return!0;return!1}"number"==typeof te&&(H=!1)}}return!1}function km(d){return 4===d.type&&d.value!==Es}function k_(d,p,g){return p===(4!==d.type||g?d.value:Es)}function Pd(d,p,g){let R=4;const H=d.attrs||[],te=function S1(d){for(let p=0;p<d.length;p++)if(Qa(d[p]))return p;return d.length}(H);let ve=!1;for(let Be=0;Be<p.length;Be++){const nt=p[Be];if("number"!=typeof nt){if(!ve)if(4&R){if(R=2|1&R,""!==nt&&!k_(d,nt,g)||""===nt&&1===p.length){if(hp(R))return!1;ve=!0}}else{const Ht=8&R?nt:p[++Be];if(8&R&&null!==d.attrs){if(!gu(d.attrs,Ht,g)){if(hp(R))return!1;ve=!0}continue}const Ln=$m(8&R?"class":nt,H,km(d),g);if(-1===Ln){if(hp(R))return!1;ve=!0;continue}if(""!==Ht){let ei;ei=Ln>te?"":H[Ln+1].toLowerCase();const xi=8&R?ei:null;if(xi&&-1!==Iu(xi,Ht,0)||2&R&&Ht!==ei){if(hp(R))return!1;ve=!0}}}}else{if(!ve&&!hp(R)&&!hp(nt))return!1;if(ve&&hp(nt))continue;ve=!1,R=nt|1&R}}return hp(R)||ve}function hp(d){return 0==(1&d)}function $m(d,p,g,R){if(null===p)return-1;let H=0;if(R||!g){let te=!1;for(;H<p.length;){const ve=p[H];if(ve===d)return H;if(3===ve||6===ve)te=!0;else{if(1===ve||2===ve){let Be=p[++H];for(;"string"==typeof Be;)Be=p[++H];continue}if(4===ve)break;if(0===ve){H+=4;continue}}H+=te?1:2}return-1}return function Hm(d,p){let g=d.indexOf(4);if(g>-1)for(g++;g<d.length;){const R=d[g];if("number"==typeof R)return-1;if(R===p)return g;g++}return-1}(p,d)}function Fp(d,p,g=!1){for(let R=0;R<p.length;R++)if(Pd(d,p[R],g))return!0;return!1}function b1(d,p){e:for(let g=0;g<p.length;g++){const R=p[g];if(d.length===R.length){for(let H=0;H<d.length;H++)if(d[H]!==R[H])continue e;return!0}}return!1}function mg(d,p){return d?":not("+p.trim()+")":p}function kg(d){let p=d[0],g=1,R=2,H="",te=!1;for(;g<d.length;){let ve=d[g];if("string"==typeof ve)if(2&R){const Be=d[++g];H+="["+ve+(Be.length>0?'="'+Be+'"':"")+"]"}else 8&R?H+="."+ve:4&R&&(H+=" "+ve);else""!==H&&!hp(ve)&&(p+=mg(te,H),H=""),R=ve,te=te||!hp(R);g++}return""!==H&&(p+=mg(te,H)),p}const Il={};function gg(d){vg(Hs(),mi(),zo()+d,!1)}function vg(d,p,g,R){if(!R)if(3==(3&p[_o])){const te=d.preOrderCheckHooks;null!==te&&fc(p,te,g)}else{const te=d.preOrderHooks;null!==te&&bu(p,te,0,g)}$l(g)}function Eg(d,p=null,g=null,R){const H=Sg(d,p,g,R);return H.resolveInjectorInitializers(),H}function Sg(d,p=null,g=null,R,H=new Set){const te=[g||nr,om(d)];return R=R||("object"==typeof d?void 0:T(d)),new Yo(te,p||Pi(),R||null,H)}let _h=(()=>{class d{static create(g,R){if(Array.isArray(g))return Eg({name:""},R,g,"");{const H=g.name??"";return Eg({name:H},g.parent,g.providers,H)}}}return d.THROW_IF_NOT_FOUND=Eo,d.NULL=new ch,d.\u0275prov=xn({token:d,providedIn:"any",factory:()=>et(ym)}),d.__NG_ELEMENT_ID__=-1,d})();function Sm(d,p=jn.Default){const g=mi();return null===g?et(d,p):fu(zl(),g,U(d),p)}function Dv(){throw new Error("invalid")}function Ug(d,p){const g=d.contentQueries;if(null!==g)for(let R=0;R<g.length;R+=2){const te=g[R+1];if(-1!==te){const ve=d.data[te];yr(g[R]),ve.contentQueries(2,p[te],te)}}}function Bg(d,p,g,R,H,te,ve,Be,nt,Ht,Sn){const Ln=p.blueprint.slice();return Ln[Bn]=H,Ln[_o]=76|R,(null!==Sn||d&&1024&d[_o])&&(Ln[_o]|=1024),Al(Ln),Ln[go]=Ln[da]=d,Ln[gs]=g,Ln[la]=ve||d&&d[la],Ln[Ro]=Be||d&&d[Ro],Ln[jl]=nt||d&&d[jl]||null,Ln[Is]=Ht||d&&d[Is]||null,Ln[jo]=te,Ln[Ts]=function pf(){return Hp++}(),Ln[hs]=Sn,Ln[$a]=2==p.type?d[$a]:Ln,Ln}function bm(d,p,g,R,H){let te=d.data[p];if(null===te)te=Tm(d,p,g,R,H),function yt(){return zs.lFrame.inI18n}()&&(te.flags|=32);else if(64&te.type){te.type=g,te.value=R,te.attrs=H;const ve=hu();te.injectorIndex=null===ve?-1:ve.injectorIndex}return lu(te,!0),te}function Tm(d,p,g,R,H){const te=sc(),ve=id(),nt=d.data[p]=function Bh(d,p,g,R,H,te){return{type:g,index:R,insertBeforeIndex:null,injectorIndex:p?p.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:H,attrs:te,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:p,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,ve?te:te&&te.parent,g,p,R,H);return null===d.firstChild&&(d.firstChild=nt),null!==te&&(ve?null==te.child&&null!==nt.parent&&(te.child=nt):null===te.next&&(te.next=nt,nt.prev=te)),nt}function Cm(d,p,g,R){if(0===g)return-1;const H=p.length;for(let te=0;te<g;te++)p.push(R),d.blueprint.push(R),d.data.push(null);return H}function A1(d,p,g){Io(p);try{const R=d.viewQuery;null!==R&&jg(1,R,g);const H=d.template;null!==H&&Mm(d,p,H,1,g),d.firstCreatePass&&(d.firstCreatePass=!1),d.staticContentQueries&&Ug(d,p),d.staticViewQueries&&jg(2,d.viewQuery,g);const te=d.components;null!==te&&function q0(d,p){for(let g=0;g<p.length;g++)hy(d,p[g])}(p,te)}catch(R){throw d.firstCreatePass&&(d.incompleteFirstPass=!0,d.firstCreatePass=!1),R}finally{p[_o]&=-5,Do()}}function Tg(d,p,g,R){const H=p[_o];if(128!=(128&H)){Io(p);try{Al(p),function ja(d){return zs.lFrame.bindingIndex=d}(d.bindingStartIndex),null!==g&&Mm(d,p,g,2,R);const ve=3==(3&H);if(ve){const Ht=d.preOrderCheckHooks;null!==Ht&&fc(p,Ht,null)}else{const Ht=d.preOrderHooks;null!==Ht&&bu(p,Ht,0,null),je(p,0)}if(function uf(d){for(let p=xd(d);null!==p;p=bc(p)){if(!p[fa])continue;const g=p[Cs];for(let R=0;R<g.length;R++){const H=g[R];512&H[_o]||Dc(H[go],1),H[_o]|=512}}}(p),function _y(d){for(let p=xd(d);null!==p;p=bc(p))for(let g=ns;g<p.length;g++){const R=p[g],H=R[ci];Su(R)&&Tg(H,R,H.template,R[gs])}}(p),null!==d.contentQueries&&Ug(d,p),ve){const Ht=d.contentCheckHooks;null!==Ht&&fc(p,Ht)}else{const Ht=d.contentHooks;null!==Ht&&bu(p,Ht,1),je(p,1)}!function K0(d,p){const g=d.hostBindingOpCodes;if(null!==g)try{for(let R=0;R<g.length;R++){const H=g[R];if(H<0)$l(~H);else{const te=H,ve=g[++R],Be=g[++R];Gt(ve,te),Be(2,p[te])}}}finally{$l(-1)}}(d,p);const Be=d.components;null!==Be&&function X0(d,p){for(let g=0;g<p.length;g++)Lp(d,p[g])}(p,Be);const nt=d.viewQuery;if(null!==nt&&jg(2,nt,R),ve){const Ht=d.viewCheckHooks;null!==Ht&&fc(p,Ht)}else{const Ht=d.viewHooks;null!==Ht&&bu(p,Ht,2),je(p,2)}!0===d.firstUpdatePass&&(d.firstUpdatePass=!1),p[_o]&=-41,512&p[_o]&&(p[_o]&=-513,Dc(p[go],-1))}finally{Do()}}}function Mm(d,p,g,R,H){const te=zo(),ve=2&R;try{$l(-1),ve&&p.length>$s&&vg(d,p,$s,!1),$u(ve?2:0,H),g(R,H)}finally{$l(te),$u(ve?3:1,H)}}function Kf(d,p,g){if(gt(p)){const H=p.directiveEnd;for(let te=p.directiveStart;te<H;te++){const ve=d.data[te];ve.contentQueries&&ve.contentQueries(1,g[te],te)}}}function $_(d,p,g){fi()&&(function sy(d,p,g,R){const H=g.directiveStart,te=g.directiveEnd;Tn(g)&&function py(d,p,g){const R=cu(p,d),H=Rv(g),te=d[la],ve=Cg(d,Bg(d,H,null,g.onPush?32:16,R,p,te,te.createRenderer(R,g),null,null,null));d[p.index]=ve}(p,g,d.data[H+g.componentOffset]),d.firstCreatePass||rs(g,p),Sc(R,p);const ve=g.initialInputs;for(let Be=H;Be<te;Be++){const nt=d.data[Be],Ht=vc(p,d,Be,g);Sc(Ht,p),null!==ve&&F1(0,Be-H,Ht,nt,0,ve),Ze(nt)&&(ba(g.index,p)[gs]=vc(p,d,Be,g))}}(d,p,g,cu(g,p)),64==(64&g.flags)&&wv(d,p,g))}function D1(d,p,g=cu){const R=p.localNames;if(null!==R){let H=p.index+1;for(let te=0;te<R.length;te+=2){const ve=R[te+1],Be=-1===ve?g(p,d):d[ve];d[H++]=Be}}}function Rv(d){const p=d.tView;return null===p||p.incompleteFirstPass?d.tView=R1(1,null,d.template,d.decls,d.vars,d.directiveDefs,d.pipeDefs,d.viewQuery,d.schemas,d.consts):p}function R1(d,p,g,R,H,te,ve,Be,nt,Ht){const Sn=$s+R,Ln=Sn+H,ei=function ey(d,p){const g=[];for(let R=0;R<p;R++)g.push(R<d?null:Il);return g}(Sn,Ln),xi="function"==typeof Ht?Ht():Ht;return ei[ci]={type:d,blueprint:ei,template:g,queries:null,viewQuery:Be,declTNode:p,data:ei.slice().fill(null,Sn),bindingStartIndex:Sn,expandoStartIndex:Ln,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof te?te():te,pipeRegistry:"function"==typeof ve?ve():ve,firstChild:null,schemas:nt,consts:xi,incompleteFirstPass:!1}}function x1(d,p,g,R){const H=Nv(p);null===g?H.push(R):(H.push(g),d.firstCreatePass&&Iv(d).push(R,H.length-1))}function tu(d,p,g,R){for(let H in d)if(d.hasOwnProperty(H)){g=null===g?{}:g;const te=d[H];null===R?w1(g,p,H,te):R.hasOwnProperty(H)&&w1(g,p,R[H],te)}return g}function w1(d,p,g,R){d.hasOwnProperty(g)?d[g].push(p,R):d[g]=[p,R]}function Jp(d,p,g,R,H,te,ve,Be){const nt=cu(p,g);let Sn,Ht=p.inputs;!Be&&null!=Ht&&(Sn=Ht[R])?(U1(d,g,Sn,R,H),Tn(p)&&function Ac(d,p){const g=ba(p,d);16&g[_o]||(g[_o]|=32)}(g,p.index)):3&p.type&&(R=function P1(d){return"class"===d?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d}(R),H=null!=ve?ve(H,p.value||"",R):H,te.setProperty(nt,R,H))}function Bm(d,p,g,R){if(fi()){const H=null===R?null:{"":-1},te=function ly(d,p){const g=d.directiveRegistry;let R=null,H=null;if(g)for(let te=0;te<g.length;te++){const ve=g[te];if(Fp(p,ve.selectors,!1))if(R||(R=[]),Ze(ve))if(null!==ve.findHostDirectiveDefs){const Be=[];H=H||new Map,ve.findHostDirectiveDefs(ve,Be,H),R.unshift(...Be,ve),N1(d,p,Be.length)}else R.unshift(ve),N1(d,p,0);else H=H||new Map,ve.findHostDirectiveDefs?.(ve,R,H),R.push(ve)}return null===R?null:[R,H]}(d,g);let ve,Be;null===te?ve=Be=null:[ve,Be]=te,null!==ve&&xv(d,p,g,ve,H,Be),H&&function uy(d,p,g){if(p){const R=d.localNames=[];for(let H=0;H<p.length;H+=2){const te=g[p[H+1]];if(null==te)throw new X(-301,!1);R.push(p[H],te)}}}(g,R,H)}g.mergedAttrs=Jl(g.mergedAttrs,g.attrs)}function xv(d,p,g,R,H,te){for(let Ht=0;Ht<R.length;Ht++)eu(rs(g,p),d,R[Ht].type);!function dy(d,p,g){d.flags|=1,d.directiveStart=p,d.directiveEnd=p+g,d.providerIndexes=p}(g,d.data.length,R.length);for(let Ht=0;Ht<R.length;Ht++){const Sn=R[Ht];Sn.providersResolver&&Sn.providersResolver(Sn)}let ve=!1,Be=!1,nt=Cm(d,p,R.length,null);for(let Ht=0;Ht<R.length;Ht++){const Sn=R[Ht];g.mergedAttrs=Jl(g.mergedAttrs,Sn.hostAttrs),fy(d,g,p,nt,Sn),cy(nt,Sn,H),null!==Sn.contentQueries&&(g.flags|=4),(null!==Sn.hostBindings||null!==Sn.hostAttrs||0!==Sn.hostVars)&&(g.flags|=64);const Ln=Sn.type.prototype;!ve&&(Ln.ngOnChanges||Ln.ngOnInit||Ln.ngDoCheck)&&((d.preOrderHooks??(d.preOrderHooks=[])).push(g.index),ve=!0),!Be&&(Ln.ngOnChanges||Ln.ngDoCheck)&&((d.preOrderCheckHooks??(d.preOrderCheckHooks=[])).push(g.index),Be=!0),nt++}!function g_(d,p,g){const H=p.directiveEnd,te=d.data,ve=p.attrs,Be=[];let nt=null,Ht=null;for(let Sn=p.directiveStart;Sn<H;Sn++){const Ln=te[Sn],ei=g?g.get(Ln):null,mo=ei?ei.outputs:null;nt=tu(Ln.inputs,Sn,nt,ei?ei.inputs:null),Ht=tu(Ln.outputs,Sn,Ht,mo);const ls=null===nt||null===ve||km(p)?null:Pv(nt,Sn,ve);Be.push(ls)}null!==nt&&(nt.hasOwnProperty("class")&&(p.flags|=8),nt.hasOwnProperty("style")&&(p.flags|=16)),p.initialInputs=Be,p.inputs=nt,p.outputs=Ht}(d,g,te)}function wv(d,p,g){const R=g.directiveStart,H=g.directiveEnd,te=g.index,ve=function An(){return zs.lFrame.currentDirectiveIndex}();try{$l(te);for(let Be=R;Be<H;Be++){const nt=d.data[Be],Ht=p[Be];kn(Be),(null!==nt.hostBindings||0!==nt.hostVars||null!==nt.hostAttrs)&&ay(nt,Ht)}}finally{$l(-1),kn(ve)}}function ay(d,p){null!==d.hostBindings&&d.hostBindings(1,p)}function N1(d,p,g){p.componentOffset=g,(d.components??(d.components=[])).push(p.index)}function cy(d,p,g){if(g){if(p.exportAs)for(let R=0;R<p.exportAs.length;R++)g[p.exportAs[R]]=d;Ze(p)&&(g[""]=d)}}function fy(d,p,g,R,H){d.data[R]=H;const te=H.factory||(H.factory=el(H.type)),ve=new Xn(te,Ze(H),Sm);d.blueprint[R]=ve,g[R]=ve,function iy(d,p,g,R,H){const te=H.hostBindings;if(te){let ve=d.hostBindingOpCodes;null===ve&&(ve=d.hostBindingOpCodes=[]);const Be=~p.index;(function oy(d){let p=d.length;for(;p>0;){const g=d[--p];if("number"==typeof g&&g<0)return g}return 0})(ve)!=Be&&ve.push(Be),ve.push(g,R,te)}}(d,p,R,Cm(d,g,H.hostVars,Il),H)}function I1(d,p,g,R,H,te,ve){if(null==te)d.removeAttribute(p,H,g);else{const Be=null==ve?V(te):ve(te,R||"",H);d.setAttribute(p,H,Be,g)}}function F1(d,p,g,R,H,te){const ve=te[p];if(null!==ve){const Be=R.setInput;for(let nt=0;nt<ve.length;){const Ht=ve[nt++],Sn=ve[nt++],Ln=ve[nt++];null!==Be?R.setInput(g,Ln,Ht,Sn):g[Sn]=Ln}}}function Pv(d,p,g){let R=null,H=0;for(;H<g.length;){const te=g[H];if(0!==te)if(5!==te){if("number"==typeof te)break;if(d.hasOwnProperty(te)){null===R&&(R=[]);const ve=d[te];for(let Be=0;Be<ve.length;Be+=2)if(ve[Be]===p){R.push(te,ve[Be+1],g[H+1]);break}}H+=2}else H+=2;else H+=4}return R}function L1(d,p,g,R){return[d,!0,!1,p,null,0,R,g,null,null]}function Lp(d,p){const g=ba(p,d);if(Su(g)){const R=g[ci];48&g[_o]?Tg(R,g,R.template,g[gs]):g[ts]>0&&k1(g)}}function k1(d){for(let R=xd(d);null!==R;R=bc(R))for(let H=ns;H<R.length;H++){const te=R[H];if(Su(te))if(512&te[_o]){const ve=te[ci];Tg(ve,te,ve.template,te[gs])}else te[ts]>0&&k1(te)}const g=d[ci].components;if(null!==g)for(let R=0;R<g.length;R++){const H=ba(g[R],d);Su(H)&&H[ts]>0&&k1(H)}}function hy(d,p){const g=ba(p,d),R=g[ci];(function my(d,p){for(let g=p.length;g<d.blueprint.length;g++)p.push(d.blueprint[g])})(R,g),A1(R,g,g[gs])}function Cg(d,p){return d[gl]?d[qa][es]=p:d[gl]=p,d[qa]=p,p}function Gg(d){for(;d;){d[_o]|=32;const p=sp(d);if(Jt(d)&&!p)return d;d=p}return null}function Yg(d,p,g,R=!0){const H=p[la];H.begin&&H.begin();try{Tg(d,p,d.template,g)}catch(ve){throw R&&H1(p,ve),ve}finally{H.end&&H.end()}}function jg(d,p,g){yr(0),p(d,g)}function Nv(d){return d[ss]||(d[ss]=[])}function Iv(d){return d.cleanup||(d.cleanup=[])}function H1(d,p){const g=d[Is],R=g?g.get(dh,null):null;R&&R.handleError(p)}function U1(d,p,g,R,H){for(let te=0;te<g.length;){const ve=g[te++],Be=g[te++],nt=p[ve],Ht=d.data[ve];null!==Ht.setInput?Ht.setInput(nt,H,R,Be):nt[Be]=H}}function Gh(d,p,g){const R=dc(p,d);Q_(d[Ro],R,g)}function zg(d,p,g){let R=g?d.styles:null,H=g?d.classes:null,te=0;if(null!==p)for(let ve=0;ve<p.length;ve++){const Be=p[ve];"number"==typeof Be?te=Be:1==te?H=M(H,Be):2==te&&(R=M(R,Be+": "+p[++ve]+";"))}g?d.styles=R:d.stylesWithoutHost=R,g?d.classes=H:d.classesWithoutHost=H}function Vg(d,p,g,R,H=!1){for(;null!==g;){const te=p[g.index];if(null!==te&&R.push(tl(te)),io(te))for(let Be=ns;Be<te.length;Be++){const nt=te[Be],Ht=nt[ci].firstChild;null!==Ht&&Vg(nt[ci],nt,Ht,R)}const ve=g.type;if(8&ve)Vg(d,p,g.child,R);else if(32&ve){const Be=Rd(g,p);let nt;for(;nt=Be();)R.push(nt)}else if(16&ve){const Be=eh(p,g);if(Array.isArray(Be))R.push(...Be);else{const nt=sp(p[$a]);Vg(nt[ci],nt,Be,R,!0)}}g=H?g.projectionNext:g.next}return R}class hh{get rootNodes(){const p=this._lView,g=p[ci];return Vg(g,p,g.firstChild,[])}constructor(p,g){this._lView=p,this._cdRefInjectingView=g,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[gs]}set context(p){this._lView[gs]=p}get destroyed(){return 128==(128&this._lView[_o])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const p=this._lView[go];if(io(p)){const g=p[No],R=g?g.indexOf(this):-1;R>-1&&(Mh(p,R),Ye(g,R))}this._attachedToViewContainer=!1}Jh(this._lView[ci],this._lView)}onDestroy(p){x1(this._lView[ci],this._lView,null,p)}markForCheck(){Gg(this._cdRefInjectingView||this._lView)}detach(){this._lView[_o]&=-65}reattach(){this._lView[_o]|=64}detectChanges(){Yg(this._lView[ci],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new X(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function vm(d,p){zd(d,p,p[Ro],2,null,null)}(this._lView[ci],this._lView)}attachToAppRef(p){if(this._attachedToViewContainer)throw new X(902,!1);this._appRef=p}}class gy extends hh{constructor(p){super(p),this._view=p}detectChanges(){const p=this._view;Yg(p[ci],p,p[gs],!1)}checkNoChanges(){}get context(){return null}}class Fv extends oa{constructor(p){super(),this.ngModule=p}resolveComponentFactory(p){const g=ji(p);return new Gm(g,this.ngModule)}}function Lv(d){const p=[];for(let g in d)d.hasOwnProperty(g)&&p.push({propName:d[g],templateName:g});return p}class yy{constructor(p,g){this.injector=p,this.parentInjector=g}get(p,g,R){R=lt(R);const H=this.injector.get(p,bf,R);return H!==bf||g===bf?H:this.parentInjector.get(p,g,R)}}class Gm extends Uo{get inputs(){return Lv(this.componentDef.inputs)}get outputs(){return Lv(this.componentDef.outputs)}constructor(p,g){super(),this.componentDef=p,this.ngModule=g,this.componentType=p.type,this.selector=function Em(d){return d.map(kg).join(",")}(p.selectors),this.ngContentSelectors=p.ngContentSelectors?p.ngContentSelectors:[],this.isBoundToModule=!!g}create(p,g,R,H){let te=(H=H||this.ngModule)instanceof cs?H:H?.injector;te&&null!==this.componentDef.getStandaloneInjector&&(te=this.componentDef.getStandaloneInjector(te)||te);const ve=te?new yy(p,te):p,Be=ve.get(vo,null);if(null===Be)throw new X(407,!1);const nt=ve.get(ll,null),Ht=Be.createRenderer(null,this.componentDef),Sn=this.componentDef.selectors[0][0]||"div",Ln=R?function ty(d,p,g){return d.selectRootElement(p,g===tr.ShadowDom)}(Ht,R,this.componentDef.encapsulation):X_(Ht,Sn,function vy(d){const p=d.toLowerCase();return"svg"===p?"svg":"math"===p?"math":null}(Sn)),ei=this.componentDef.onPush?288:272,xi=R1(0,null,null,1,0,null,null,null,null,null),mo=Bg(null,xi,null,ei,null,null,Be,Ht,nt,ve,null);let ls,js;Io(mo);try{const ga=this.componentDef;let bl,Vo=null;ga.findHostDirectiveDefs?(bl=[],Vo=new Map,ga.findHostDirectiveDefs(ga,bl,Vo),bl.push(ga)):bl=[ga];const Kl=function Ey(d,p){const g=d[ci],R=$s;return d[R]=p,bm(g,R,2,"#host",null)}(mo,Ln),_d=function Sy(d,p,g,R,H,te,ve,Be){const nt=H[ci];!function by(d,p,g,R){for(const H of d)p.mergedAttrs=Jl(p.mergedAttrs,H.hostAttrs);null!==p.mergedAttrs&&(zg(p,p.mergedAttrs,!0),null!==g&&Td(R,g,p))}(R,d,p,ve);const Ht=te.createRenderer(p,g),Sn=Bg(H,Rv(g),null,g.onPush?32:16,H[d.index],d,te,Ht,Be||null,null,null);return nt.firstCreatePass&&N1(nt,d,R.length-1),Cg(H,Sn),H[d.index]=Sn}(Kl,Ln,ga,bl,mo,Be,Ht);js=Ru(xi,$s),Ln&&function Ty(d,p,g,R){if(R)Ho(d,g,["ng-version",Ia.full]);else{const{attrs:H,classes:te}=function $g(d){const p=[],g=[];let R=1,H=2;for(;R<d.length;){let te=d[R];if("string"==typeof te)2===H?""!==te&&p.push(te,d[++R]):8===H&&g.push(te);else{if(!hp(H))break;H=te}R++}return{attrs:p,classes:g}}(p.selectors[0]);H&&Ho(d,g,H),te&&te.length>0&&jp(d,g,te.join(" "))}}(Ht,ga,Ln,R),void 0!==g&&function Cy(d,p,g){const R=d.projection=[];for(let H=0;H<p.length;H++){const te=g[H];R.push(null!=te?Array.from(te):null)}}(js,this.ngContentSelectors,g),ls=function B1(d,p,g,R,H,te){const ve=zl(),Be=H[ci],nt=cu(ve,H);xv(Be,H,ve,g,null,R);for(let Sn=0;Sn<g.length;Sn++)Sc(vc(H,Be,ve.directiveStart+Sn,ve),H);wv(Be,H,ve),nt&&Sc(nt,H);const Ht=vc(H,Be,ve.directiveStart+ve.componentOffset,ve);if(d[gs]=H[gs]=Ht,null!==te)for(const Sn of te)Sn(Ht,p);return Kf(Be,ve,d),Ht}(_d,ga,bl,Vo,mo,[$v]),A1(xi,mo,null)}finally{Do()}return new kv(this.componentType,ls,Wr(js,mo),mo,js)}}class kv extends Si{constructor(p,g,R,H,te){super(),this.location=R,this._rootLView=H,this._tNode=te,this.instance=g,this.hostView=this.changeDetectorRef=new gy(H),this.componentType=p}setInput(p,g){const R=this._tNode.inputs;let H;if(null!==R&&(H=R[p])){const te=this._rootLView;U1(te[ci],te,H,p,g),Gg(ba(this._tNode.index,te))}}get injector(){return new xa(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(p){this.hostView.onDestroy(p)}}function $v(){const d=zl();Pa(mi()[ci],d)}function G1(d){let p=function Hv(d){return Object.getPrototypeOf(d.prototype).constructor}(d.type),g=!0;const R=[d];for(;p;){let H;if(Ze(d))H=p.\u0275cmp||p.\u0275dir;else{if(p.\u0275cmp)throw new X(903,!1);H=p.\u0275dir}if(H){if(g){R.push(H);const ve=d;ve.inputs=Y1(d.inputs),ve.declaredInputs=Y1(d.declaredInputs),ve.outputs=Y1(d.outputs);const Be=H.hostBindings;Be&&Dy(d,Be);const nt=H.viewQuery,Ht=H.contentQueries;if(nt&&Oy(d,nt),Ht&&Ay(d,Ht),m(d.inputs,H.inputs),m(d.declaredInputs,H.declaredInputs),m(d.outputs,H.outputs),Ze(H)&&H.data.animation){const Sn=d.data;Sn.animation=(Sn.animation||[]).concat(H.data.animation)}}const te=H.features;if(te)for(let ve=0;ve<te.length;ve++){const Be=te[ve];Be&&Be.ngInherit&&Be(d),Be===G1&&(g=!1)}}p=Object.getPrototypeOf(p)}!function My(d){let p=0,g=null;for(let R=d.length-1;R>=0;R--){const H=d[R];H.hostVars=p+=H.hostVars,H.hostAttrs=Jl(H.hostAttrs,g=Jl(g,H.hostAttrs))}}(R)}function Y1(d){return d===Zn?{}:d===nr?[]:d}function Oy(d,p){const g=d.viewQuery;d.viewQuery=g?(R,H)=>{p(R,H),g(R,H)}:p}function Ay(d,p){const g=d.contentQueries;d.contentQueries=g?(R,H,te)=>{p(R,H,te),g(R,H,te)}:p}function Dy(d,p){const g=d.hostBindings;d.hostBindings=g?(R,H)=>{p(R,H),g(R,H)}:p}function Uv(d){return p=>{p.findHostDirectiveDefs=Bv,p.hostDirectives=(Array.isArray(d)?d:d()).map(g=>"function"==typeof g?{directive:U(g),inputs:Zn,outputs:Zn}:{directive:U(g.directive),inputs:Gv(g.inputs),outputs:Gv(g.outputs)})}}function Bv(d,p,g){if(null!==d.hostDirectives)for(const R of d.hostDirectives){const H=Vi(R.directive);Py(H.declaredInputs,R.inputs),Bv(H,p,g),g.set(H,R),p.push(H)}}function Gv(d){if(void 0===d||0===d.length)return Zn;const p={};for(let g=0;g<d.length;g+=2)p[d[g]]=d[g+1];return p}function Py(d,p){for(const g in p)p.hasOwnProperty(g)&&(d[p[g]]=d[g])}function Ym(d){return!!j1(d)&&(Array.isArray(d)||!(d instanceof Map)&&Symbol.iterator in d)}function j1(d){return null!==d&&("function"==typeof d||"object"==typeof d)}function mh(d,p,g){return d[p]=g}function Om(d,p){return d[p]}function Xf(d,p,g){return!Object.is(d[p],g)&&(d[p]=g,!0)}function Am(d,p,g,R){const H=Xf(d,p,g);return Xf(d,p+1,R)||H}function Zg(d,p,g,R,H){const te=Am(d,p,g,R);return Xf(d,p+2,H)||te}function sd(d,p,g,R,H,te){const ve=Am(d,p,g,R);return Am(d,p+2,H,te)||ve}function Dm(d,p,g,R){const H=mi();return Xf(H,Q(),p)&&(Hs(),function v_(d,p,g,R,H,te){const ve=cu(d,p);I1(p[Ro],ve,te,d.value,g,R,H)}(xl(),H,d,p,g,R)),Dm}function jm(d,p,g,R){return Xf(d,Q(),g)?p+V(g)+R:Il}function zm(d,p,g,R,H,te){const Be=Am(d,sl(),g,H);return Ee(2),Be?p+V(g)+R+V(H)+te:Il}function Xv(d,p,g,R,H,te,ve,Be){const nt=mi(),Ht=Hs(),Sn=d+$s,Ln=Ht.firstCreatePass?function Fy(d,p,g,R,H,te,ve,Be,nt){const Ht=p.consts,Sn=bm(p,d,4,ve||null,ql(Ht,Be));Bm(p,g,Sn,ql(Ht,nt)),Pa(p,Sn);const Ln=Sn.tView=R1(2,Sn,R,H,te,p.directiveRegistry,p.pipeRegistry,null,p.schemas,Ht);return null!==p.queries&&(p.queries.template(p,Sn),Ln.queries=p.queries.embeddedTView(Sn)),Sn}(Sn,Ht,nt,p,g,R,H,te,ve):Ht.data[Sn];lu(Ln,!1);const ei=nt[Ro].createComment("");If(Ht,nt,ei,Ln),Sc(ei,nt),Cg(nt,nt[Sn]=L1(ei,nt,ei,Ln)),ie(Ln)&&$_(Ht,nt,Ln),null!=ve&&D1(nt,Ln,Be)}function Qg(d){return xu(function Fc(){return zs.lFrame.contextLView}(),$s+d)}function V1(d,p,g){const R=mi();return Xf(R,Q(),p)&&Jp(Hs(),xl(),R,d,p,R[Ro],g,!1),V1}function Z1(d,p,g,R,H){const ve=H?"class":"style";U1(d,g,p.inputs[ve],ve,R)}function Kg(d,p,g,R){const H=mi(),te=Hs(),ve=$s+d,Be=H[Ro],nt=te.firstCreatePass?function Qm(d,p,g,R,H,te){const ve=p.consts,nt=bm(p,d,2,R,ql(ve,H));return Bm(p,g,nt,ql(ve,te)),null!==nt.attrs&&zg(nt,nt.attrs,!1),null!==nt.mergedAttrs&&zg(nt,nt.mergedAttrs,!0),null!==p.queries&&p.queries.elementStart(p,nt),nt}(ve,te,H,p,g,R):te.data[ve],Ht=H[ve]=X_(Be,p,function yi(){return zs.lFrame.currentNamespace}()),Sn=ie(nt);return lu(nt,!0),Td(Be,Ht,nt),32!=(32&nt.flags)&&If(te,H,Ht,nt),0===function pt(){return zs.lFrame.elementDepthCount}()&&Sc(Ht,H),function Je(){zs.lFrame.elementDepthCount++}(),Sn&&($_(te,H,nt),Kf(te,nt,H)),null!==R&&D1(H,nt),Kg}function Xg(){let d=zl();id()?ec():(d=d.parent,lu(d,!1));const p=d;!function en(){zs.lFrame.elementDepthCount--}();const g=Hs();return g.firstCreatePass&&(Pa(g,d),gt(d)&&g.queries.elementEnd(d)),null!=p.classesWithoutHost&&function Ra(d){return 0!=(8&d.flags)}(p)&&Z1(g,p,mi(),p.classesWithoutHost,!0),null!=p.stylesWithoutHost&&function Vs(d){return 0!=(16&d.flags)}(p)&&Z1(g,p,mi(),p.stylesWithoutHost,!1),Xg}function W1(d,p,g,R){return Kg(d,p,g,R),Xg(),W1}function qg(d,p,g){const R=mi(),H=Hs(),te=d+$s,ve=H.firstCreatePass?function qv(d,p,g,R,H){const te=p.consts,ve=ql(te,R),Be=bm(p,d,8,"ng-container",ve);return null!==ve&&zg(Be,ve,!0),Bm(p,g,Be,ql(te,H)),null!==p.queries&&p.queries.elementStart(p,Be),Be}(te,H,R,p,g):H.data[te];lu(ve,!0);const Be=R[te]=R[Ro].createComment("");return If(H,R,Be,ve),Sc(Be,R),ie(ve)&&($_(H,R,ve),Kf(H,ve,R)),null!=g&&D1(R,ve),qg}function e1(){let d=zl();const p=Hs();return id()?ec():(d=d.parent,lu(d,!1)),p.firstCreatePass&&(Pa(p,d),gt(d)&&p.queries.elementEnd(d)),e1}function J1(d,p,g){return qg(d,p,g),e1(),J1}function e0(){return mi()}function Mg(d){return!!d&&"function"==typeof d.then}function t0(d){return!!d&&"function"==typeof d.subscribe}const n0=t0;function Q1(d,p,g,R){const H=mi(),te=Hs(),ve=zl();return function me(d,p,g,R,H,te,ve){const Be=ie(R),Ht=d.firstCreatePass&&Iv(d),Sn=p[gs],Ln=Nv(p);let ei=!0;if(3&R.type||ve){const ls=cu(R,p),js=ve?ve(ls):ls,ga=Ln.length,bl=ve?Kl=>ve(tl(Kl[R.index])):R.index;let Vo=null;if(!ve&&Be&&(Vo=function B(d,p,g,R){const H=d.cleanup;if(null!=H)for(let te=0;te<H.length-1;te+=2){const ve=H[te];if(ve===g&&H[te+1]===R){const Be=p[ss],nt=H[te+2];return Be.length>nt?Be[nt]:null}"string"==typeof ve&&(te+=2)}return null}(d,p,H,R.index)),null!==Vo)(Vo.__ngLastListenerFn__||Vo).__ngNextListenerFn__=te,Vo.__ngLastListenerFn__=te,ei=!1;else{te=on(R,p,Sn,te,!1);const Kl=g.listen(js,H,te);Ln.push(te,Kl),Ht&&Ht.push(H,bl,ga,ga+1)}}else te=on(R,p,Sn,te,!1);const xi=R.outputs;let mo;if(ei&&null!==xi&&(mo=xi[H])){const ls=mo.length;if(ls)for(let js=0;js<ls;js+=2){const _d=p[mo[js]][mo[js+1]].subscribe(te),Fd=Ln.length;Ln.push(te,_d),Ht&&Ht.push(H,R.index,Fd,-(Fd+1))}}}(te,H,H[Ro],ve,d,p,R),Q1}function _t(d,p,g,R){try{return $u(6,p,g),!1!==g(R)}catch(H){return H1(d,H),!1}finally{$u(7,p,g)}}function on(d,p,g,R,H){return function te(ve){if(ve===Function)return R;Gg(d.componentOffset>-1?ba(d.index,p):p);let nt=_t(p,g,R,ve),Ht=te.__ngNextListenerFn__;for(;Ht;)nt=_t(p,g,Ht,ve)&&nt,Ht=Ht.__ngNextListenerFn__;return H&&!1===nt&&(ve.preventDefault(),ve.returnValue=!1),nt}}function Fn(d=1){return function Fa(d){return(zs.lFrame.contextLView=function ca(d,p){for(;d>0;)p=p[da],d--;return p}(d,zs.lFrame.contextLView))[gs]}(d)}function Tr(d,p){let g=null;const R=function Lg(d){const p=d.attrs;if(null!=p){const g=p.indexOf(5);if(!(1&g))return p[g+1]}return null}(d);for(let H=0;H<p.length;H++){const te=p[H];if("*"!==te){if(null===R?Fp(d,te,!0):b1(R,te))return H}else g=H}return g}function Jr(d){const p=mi()[$a][jo];if(!p.projection){const R=p.projection=Mt(d?d.length:1,null),H=R.slice();let te=p.child;for(;null!==te;){const ve=d?Tr(te,d):0;null!==ve&&(H[ve]?H[ve].projectionNext=te:R[ve]=te,H[ve]=te),te=te.next}}}function hi(d,p=0,g){const R=mi(),H=Hs(),te=bm(H,$s+d,16,null,g||null);null===te.projection&&(te.projection=p),ec(),32!=(32&te.flags)&&function nh(d,p,g){f_(p[Ro],0,p,g,l_(d,g,p),Oh(g.parent||p[jo],g,p))}(H,R,te)}function Oo(d,p,g){return Ao(d,"",p,"",g),Oo}function Ao(d,p,g,R,H){const te=mi(),ve=jm(te,p,g,R);return ve!==Il&&Jp(Hs(),xl(),te,d,ve,te[Ro],H,!1),Ao}function Bo(d,p,g,R,H,te,ve){const Be=mi(),nt=zm(Be,p,g,R,H,te);return nt!==Il&&Jp(Hs(),xl(),Be,d,nt,Be[Ro],ve,!1),Bo}function qf(d,p){return d<<17|p<<2}function Md(d){return d>>17&32767}function Kp(d){return 2|d}function gp(d){return(131068&d)>>2}function t1(d,p){return-131069&d|p<<2}function ky(d){return 1|d}function ES(d,p,g,R,H){const te=d[g+1],ve=null===p;let Be=R?Md(te):gp(te),nt=!1;for(;0!==Be&&(!1===nt||ve);){const Sn=d[Be+1];$y(d[Be],p)&&(nt=!0,d[Be+1]=R?ky(Sn):Kp(Sn)),Be=R?Md(Sn):gp(Sn)}nt&&(d[g+1]=R?Kp(te):ky(te))}function $y(d,p){return null===d||null==p||(Array.isArray(d)?d[1]:d)===p||!(!Array.isArray(d)||"string"!=typeof p)&&ya(d,p)>=0}const $f={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Hy(d){return d.substring($f.key,$f.keyEnd)}function SS(d,p){const g=$f.textEnd;return g===p?-1:(p=$f.keyEnd=function _2(d,p,g){for(;p<g&&d.charCodeAt(p)>32;)p++;return p}(d,$f.key=p,g),n1(d,p,g))}function n1(d,p,g){for(;p<g&&d.charCodeAt(p)<=32;)p++;return p}function Uy(d,p,g){return Yh(d,p,g,!1),Uy}function By(d,p){return Yh(d,p,null,!0),By}function OS(d){jh(T2,fm,d,!0)}function fm(d,p){for(let g=function f2(d){return function TS(d){$f.key=0,$f.keyEnd=0,$f.value=0,$f.valueEnd=0,$f.textEnd=d.length}(d),SS(d,n1(d,0,$f.textEnd))}(p);g>=0;g=SS(p,g))Wo(d,Hy(p),!0)}function Yh(d,p,g,R){const H=mi(),te=Hs(),ve=Ee(2);te.firstUpdatePass&&DS(te,d,ve,R),p!==Il&&Xf(H,ve,p)&&xS(te,te.data[zo()],H,H[Ro],d,H[ve+1]=function M2(d,p){return null==d||""===d||("string"==typeof p?d+=p:"object"==typeof d&&(d=T(lc(d)))),d}(p,g),R,ve)}function jh(d,p,g,R){const H=Hs(),te=Ee(2);H.firstUpdatePass&&DS(H,null,te,R);const ve=mi();if(g!==Il&&Xf(ve,te,g)){const Be=H.data[zo()];if(PS(Be,R)&&!AS(H,te)){let nt=R?Be.classesWithoutHost:Be.stylesWithoutHost;null!==nt&&(g=M(nt,g||"")),Z1(H,Be,ve,g,R)}else!function C2(d,p,g,R,H,te,ve,Be){H===Il&&(H=nr);let nt=0,Ht=0,Sn=0<H.length?H[0]:null,Ln=0<te.length?te[0]:null;for(;null!==Sn||null!==Ln;){const ei=nt<H.length?H[nt+1]:void 0,xi=Ht<te.length?te[Ht+1]:void 0;let ls,mo=null;Sn===Ln?(nt+=2,Ht+=2,ei!==xi&&(mo=Ln,ls=xi)):null===Ln||null!==Sn&&Sn<Ln?(nt+=2,mo=Sn):(Ht+=2,mo=Ln,ls=xi),null!==mo&&xS(d,p,g,R,mo,ls,ve,Be),Sn=nt<H.length?H[nt]:null,Ln=Ht<te.length?te[Ht]:null}}(H,Be,ve,ve[Ro],ve[te+1],ve[te+1]=function b2(d,p,g){if(null==g||""===g)return nr;const R=[],H=lc(g);if(Array.isArray(H))for(let te=0;te<H.length;te++)d(R,H[te],!0);else if("object"==typeof H)for(const te in H)H.hasOwnProperty(te)&&d(R,te,H[te]);else"string"==typeof H&&p(R,H);return R}(d,p,g),R,te)}}function AS(d,p){return p>=d.expandoStartIndex}function DS(d,p,g,R){const H=d.data;if(null===H[g+1]){const te=H[zo()],ve=AS(d,g);PS(te,R)&&null===p&&!ve&&(p=!1),p=function v2(d,p,g,R){const H=Hr(d);let te=R?p.residualClasses:p.residualStyles;if(null===H)0===(R?p.classBindings:p.styleBindings)&&(g=K1(g=Gy(null,d,p,g,R),p.attrs,R),te=null);else{const ve=p.directiveStylingLast;if(-1===ve||d[ve]!==H)if(g=Gy(H,d,p,g,R),null===te){let nt=function y2(d,p,g){const R=g?p.classBindings:p.styleBindings;if(0!==gp(R))return d[Md(R)]}(d,p,R);void 0!==nt&&Array.isArray(nt)&&(nt=Gy(null,d,p,nt[1],R),nt=K1(nt,p.attrs,R),function E2(d,p,g,R){d[Md(g?p.classBindings:p.styleBindings)]=R}(d,p,R,nt))}else te=function S2(d,p,g){let R;const H=p.directiveEnd;for(let te=1+p.directiveStylingLast;te<H;te++)R=K1(R,d[te].hostAttrs,g);return K1(R,p.attrs,g)}(d,p,R)}return void 0!==te&&(R?p.residualClasses=te:p.residualStyles=te),g}(H,te,p,R),function u2(d,p,g,R,H,te){let ve=te?p.classBindings:p.styleBindings,Be=Md(ve),nt=gp(ve);d[R]=g;let Sn,Ht=!1;if(Array.isArray(g)?(Sn=g[1],(null===Sn||ya(g,Sn)>0)&&(Ht=!0)):Sn=g,H)if(0!==nt){const ei=Md(d[Be+1]);d[R+1]=qf(ei,Be),0!==ei&&(d[ei+1]=t1(d[ei+1],R)),d[Be+1]=function Id(d,p){return 131071&d|p<<17}(d[Be+1],R)}else d[R+1]=qf(Be,0),0!==Be&&(d[Be+1]=t1(d[Be+1],R)),Be=R;else d[R+1]=qf(nt,0),0===Be?Be=R:d[nt+1]=t1(d[nt+1],R),nt=R;Ht&&(d[R+1]=Kp(d[R+1])),ES(d,Sn,R,!0),ES(d,Sn,R,!1),function c2(d,p,g,R,H){const te=H?d.residualClasses:d.residualStyles;null!=te&&"string"==typeof p&&ya(te,p)>=0&&(g[R+1]=ky(g[R+1]))}(p,Sn,d,R,te),ve=qf(Be,nt),te?p.classBindings=ve:p.styleBindings=ve}(H,te,p,g,ve,R)}}function Gy(d,p,g,R,H){let te=null;const ve=g.directiveEnd;let Be=g.directiveStylingLast;for(-1===Be?Be=g.directiveStart:Be++;Be<ve&&(te=p[Be],R=K1(R,te.hostAttrs,H),te!==d);)Be++;return null!==d&&(g.directiveStylingLast=Be),R}function K1(d,p,g){const R=g?1:2;let H=-1;if(null!==p)for(let te=0;te<p.length;te++){const ve=p[te];"number"==typeof ve?H=ve:H===R&&(Array.isArray(d)||(d=void 0===d?[]:["",d]),Wo(d,ve,!!g||p[++te]))}return void 0===d?null:d}function T2(d,p,g){const R=String(p);""!==R&&!R.includes(" ")&&Wo(d,R,g)}function xS(d,p,g,R,H,te,ve,Be){if(!(3&p.type))return;const nt=d.data,Ht=nt[Be+1],Sn=function l2(d){return 1==(1&d)}(Ht)?wS(nt,p,g,H,gp(Ht),ve):void 0;r0(Sn)||(r0(te)||function Qp(d){return 2==(2&d)}(Ht)&&(te=wS(nt,null,g,H,Be,ve)),function up(d,p,g,R,H){if(p)H?d.addClass(g,R):d.removeClass(g,R);else{let te=-1===R.indexOf("-")?void 0:_c.DashCase;null==H?d.removeStyle(g,R,te):("string"==typeof H&&H.endsWith("!important")&&(H=H.slice(0,-10),te|=_c.Important),d.setStyle(g,R,H,te))}}(R,ve,dc(zo(),g),H,te))}function wS(d,p,g,R,H,te){const ve=null===p;let Be;for(;H>0;){const nt=d[H],Ht=Array.isArray(nt),Sn=Ht?nt[1]:nt,Ln=null===Sn;let ei=g[H+1];ei===Il&&(ei=Ln?nr:void 0);let xi=Ln?Qo(ei,R):Sn===R?ei:void 0;if(Ht&&!r0(xi)&&(xi=Qo(nt,R)),r0(xi)&&(Be=xi,ve))return Be;const mo=d[H+1];H=ve?Md(mo):gp(mo)}if(null!==p){let nt=te?p.residualClasses:p.residualStyles;null!=nt&&(Be=Qo(nt,R))}return Be}function r0(d){return void 0!==d}function PS(d,p){return 0!=(d.flags&(p?8:16))}function pm(d,p=""){const g=mi(),R=Hs(),H=d+$s,te=R.firstCreatePass?bm(R,H,1,p,null):R.data[H],ve=g[H]=a_(g[Ro],p);If(R,g,ve,te),lu(te,!1)}function r1(d){return i1("",d,""),r1}function i1(d,p,g){const R=mi(),H=jm(R,d,p,g);return H!==Il&&Gh(R,zo(),H),i1}function o0(d,p,g,R,H){const te=mi(),ve=zm(te,d,p,g,R,H);return ve!==Il&&Gh(te,zo(),ve),o0}function Km(d,p,g,R,H,te,ve){const Be=mi(),nt=function Vm(d,p,g,R,H,te,ve,Be){const Ht=Zg(d,sl(),g,H,ve);return Ee(3),Ht?p+V(g)+R+V(H)+te+V(ve)+Be:Il}(Be,d,p,g,R,H,te,ve);return nt!==Il&&Gh(Be,zo(),nt),Km}function kS(d,p,g){jh(Wo,fm,jm(mi(),d,p,g),!0)}function $S(d,p,g,R,H){jh(Wo,fm,zm(mi(),d,p,g,R,H),!0)}function zy(d,p,g){const R=mi();return Xf(R,Q(),p)&&Jp(Hs(),xl(),R,d,p,R[Ro],g,!0),zy}function Vy(d,p,g){const R=mi();if(Xf(R,Q(),p)){const te=Hs(),ve=xl();Jp(te,ve,R,d,p,function $1(d,p,g){return(null===d||Ze(d))&&(g=function Ga(d){for(;Array.isArray(d);){if("object"==typeof d[Ja])return d;d=d[Bn]}return null}(g[p.index])),g[Ro]}(Hr(te.data),ve,R),g,!0)}return Vy}const Og=void 0;var U2=["en",[["a","p"],["AM","PM"],Og],[["AM","PM"],Og,Og],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Og,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Og,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Og,"{1} 'at' {0}",Og],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function H2(d){const g=Math.floor(Math.abs(d)),R=d.toString().replace(/^[^.]*\.?/,"").length;return 1===g&&0===R?1:5}];let o1={};function Zy(d){const p=function B2(d){return d.toLowerCase().replace(/_/g,"-")}(d);let g=JS(p);if(g)return g;const R=p.split("-")[0];if(g=JS(R),g)return g;if("en"===R)return U2;throw new X(701,!1)}function WS(d){return Zy(d)[Sl.PluralCase]}function JS(d){return d in o1||(o1[d]=Ei.ng&&Ei.ng.common&&Ei.ng.common.locales&&Ei.ng.common.locales[d]),o1[d]}var Sl=(()=>((Sl=Sl||{})[Sl.LocaleId=0]="LocaleId",Sl[Sl.DayPeriodsFormat=1]="DayPeriodsFormat",Sl[Sl.DayPeriodsStandalone=2]="DayPeriodsStandalone",Sl[Sl.DaysFormat=3]="DaysFormat",Sl[Sl.DaysStandalone=4]="DaysStandalone",Sl[Sl.MonthsFormat=5]="MonthsFormat",Sl[Sl.MonthsStandalone=6]="MonthsStandalone",Sl[Sl.Eras=7]="Eras",Sl[Sl.FirstDayOfWeek=8]="FirstDayOfWeek",Sl[Sl.WeekendRange=9]="WeekendRange",Sl[Sl.DateFormat=10]="DateFormat",Sl[Sl.TimeFormat=11]="TimeFormat",Sl[Sl.DateTimeFormat=12]="DateTimeFormat",Sl[Sl.NumberSymbols=13]="NumberSymbols",Sl[Sl.NumberFormats=14]="NumberFormats",Sl[Sl.CurrencyCode=15]="CurrencyCode",Sl[Sl.CurrencySymbol=16]="CurrencySymbol",Sl[Sl.CurrencyName=17]="CurrencyName",Sl[Sl.Currencies=18]="Currencies",Sl[Sl.Directionality=19]="Directionality",Sl[Sl.PluralCase=20]="PluralCase",Sl[Sl.ExtraData=21]="ExtraData",Sl))();const G2=["zero","one","two","few","many"],a1="en-US",u0={marker:"element"},c0={marker:"ICU"};var Jd=(()=>((Jd=Jd||{})[Jd.SHIFT=2]="SHIFT",Jd[Jd.APPEND_EAGERLY=1]="APPEND_EAGERLY",Jd[Jd.COMMENT=2]="COMMENT",Jd))();let KS=a1;function XS(d){(function Rn(d,p){null==d&&At(p,d,null,"!=")})(d,"Expected localeId to be defined"),"string"==typeof d&&(KS=d.toLowerCase().replace(/_/g,"-"))}function qS(d,p,g){const R=p.insertBeforeIndex,H=Array.isArray(R)?R[0]:R;return null===H?Ap(d,0,g):tl(g[H])}function eb(d,p,g,R,H){const te=p.insertBeforeIndex;if(Array.isArray(te)){let ve=R,Be=null;if(3&p.type||(Be=ve,ve=H),null!==ve&&-1===p.componentOffset)for(let nt=1;nt<te.length;nt++)mf(d,ve,g[te[nt]],Be,!1)}}function tb(d,p){if(d.push(p),d.length>1)for(let g=d.length-2;g>=0;g--){const R=d[g];nb(R)||Y2(R,p)&&null===j2(R)&&z2(R,p.index)}}function nb(d){return!(64&d.type)}function Y2(d,p){return nb(p)||d.index>p.index}function j2(d){const p=d.insertBeforeIndex;return Array.isArray(p)?p[0]:p}function z2(d,p){const g=d.insertBeforeIndex;Array.isArray(g)?g[0]=p:(Ah(qS,eb),d.insertBeforeIndex=p)}function Rm(d,p){const g=d.data[p];return null===g||"string"==typeof g?null:g.hasOwnProperty("currentCaseLViewIndex")?g:g.value}function Z2(d,p,g){const R=Tm(d,g,64,null,null);return tb(p,R),R}function d0(d,p){const g=p[d.currentCaseLViewIndex];return null===g?g:g<0?~g:g}function zh(d){return d>>>17}function rb(d){return(131070&d)>>>1}let q1=0,Xm=0;function sb(d,p,g,R){const H=g[Ro];let ve,te=null;for(let Be=0;Be<p.length;Be++){const nt=p[Be];if("string"==typeof nt){const Ht=p[++Be];null===g[Ht]&&(g[Ht]=a_(H,nt))}else if("number"==typeof nt)switch(1&nt){case 0:const Ht=zh(nt);let Sn,Ln;if(null===te&&(te=Ht,ve=nf(H,R)),Ht===te?(Sn=R,Ln=ve):(Sn=null,Ln=tl(g[Ht])),null!==Ln){const ls=rb(nt);mf(H,Ln,g[ls],Sn,!1);const ga=Rm(d,ls);if(null!==ga&&"object"==typeof ga){const bl=d0(ga,g);null!==bl&&sb(d,ga.create[bl],g,g[ga.anchorIdx])}}break;case 1:const xi=p[++Be],mo=p[++Be];I1(H,dc(nt>>>1,g),null,null,xi,mo,null)}else switch(nt){case c0:const Ht=p[++Be],Sn=p[++Be];null===g[Sn]&&Sc(g[Sn]=K_(H,Ht),g);break;case u0:const Ln=p[++Be],ei=p[++Be];null===g[ei]&&Sc(g[ei]=X_(H,Ln,null),g)}}}function ab(d,p,g,R,H){for(let te=0;te<g.length;te++){const ve=g[te],Be=g[++te];if(ve&H){let nt="";for(let Ht=te+1;Ht<=te+Be;Ht++){const Sn=g[Ht];if("string"==typeof Sn)nt+=Sn;else if("number"==typeof Sn)if(Sn<0)nt+=V(p[R-Sn]);else{const Ln=Sn>>>2;switch(3&Sn){case 1:const ei=g[++Ht],xi=g[++Ht],mo=d.data[Ln];"string"==typeof mo?I1(p[Ro],p[Ln],null,mo,ei,nt,xi):Jp(d,mo,p,ei,nt,p[Ro],xi,!1);break;case 0:const ls=p[Ln];null!==ls&&Q_(p[Ro],ls,nt);break;case 2:p0(d,Rm(d,Ln),p,nt);break;case 3:qm(d,Rm(d,Ln),R,p)}}}}else{const nt=g[te+1];if(nt>0&&3==(3&nt)){const Sn=Rm(d,nt>>>2);p[Sn.currentCaseLViewIndex]<0&&qm(d,Sn,R,p)}}te+=Be}}function qm(d,p,g,R){let H=R[p.currentCaseLViewIndex];if(null!==H){let te=q1;H<0&&(H=R[p.currentCaseLViewIndex]=~H,te=-1),ab(d,R,p.update[H],g,te)}}function p0(d,p,g,R){const H=function ub(d,p){let g=d.cases.indexOf(p);if(-1===g)switch(d.type){case 1:{const R=function s1(d,p){const g=WS(p)(parseInt(d,10)),R=G2[g];return void 0!==R?R:"other"}(p,function Wy(){return KS}());g=d.cases.indexOf(R),-1===g&&"other"!==R&&(g=d.cases.indexOf("other"));break}case 0:g=d.cases.indexOf("other")}return-1===g?null:g}(p,R);if(d0(p,g)!==H&&(lb(d,p,g),g[p.currentCaseLViewIndex]=null===H?null:~H,null!==H)){const ve=g[p.anchorIdx];ve&&sb(d,p.create[H],g,ve)}}function lb(d,p,g){let R=d0(p,g);if(null!==R){const H=p.remove[R];for(let te=0;te<H.length;te++){const ve=H[te];if(ve>0){const Be=dc(ve,g);null!==Be&&th(g[Ro],Be)}else lb(d,Rm(d,~ve),g)}}}function J2(){const d=[];let g,R,p=-1;function te(Be,nt){p=0;const Ht=d0(Be,nt);R=null!==Ht?Be.remove[Ht]:nr}function ve(){if(p<R.length){const Be=R[p++];return Be>0?g[Be]:(d.push(p,R),te(g[ci].data[~Be],g),ve())}return 0===d.length?null:(R=d.pop(),p=d.pop(),ve())}return function H(Be,nt){for(g=nt;d.length;)d.pop();return te(Be.value,nt),ve}}const _0=/\ufffd(\d+):?\d*\ufffd/gi,K2=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,X2=/\ufffd(\d+)\ufffd/,db=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ev="\ufffd",q2=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,eM=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,tM=/\uE500/g;function Jy(d,p,g,R,H,te,ve){const Be=Cm(d,R,1,null);let nt=Be<<Jd.SHIFT,Ht=hu();p===Ht&&(Ht=null),null===Ht&&(nt|=Jd.APPEND_EAGERLY),ve&&(nt|=Jd.COMMENT,function Jc(d){void 0===td&&(td=d())}(J2)),H.push(nt,null===te?"":te);const Sn=Tm(d,Be,ve?32:1,null===te?"":te,null);tb(g,Sn);const Ln=Sn.index;return lu(Sn,!1),null!==Ht&&p!==Ht&&function V2(d,p){let g=d.insertBeforeIndex;null===g?(Ah(qS,eb),g=d.insertBeforeIndex=[null,p]):(function qe(d,p,g){d!=p&&At(g,d,p,"==")}(Array.isArray(g),!0,"Expecting array here"),g.push(p))}(Ht,Ln),Sn}function iM(d,p,g,R,H,te,ve){const Be=ve.match(_0),nt=Jy(d,p,g,te,R,Be?null:ve,!1);Be&&tv(H,ve,nt.index,null,0,null)}function tv(d,p,g,R,H,te){const ve=d.length,Be=ve+1;d.push(null,null);const nt=ve+2,Ht=p.split(_0);let Sn=0;for(let Ln=0;Ln<Ht.length;Ln++){const ei=Ht[Ln];if(1&Ln){const xi=H+parseInt(ei,10);d.push(-1-xi),Sn|=nv(xi)}else""!==ei&&d.push(ei)}return d.push(g<<2|(R?1:0)),R&&d.push(R,te),d[ve]=Sn,d[Be]=d.length-nt,Sn}function fb(d){let p=0;for(let g=0;g<d.length;g++){const R=d[g];"number"==typeof R&&R<0&&p++}return p}function nv(d){return 1<<Math.min(d,31)}function pb(d){let p,te,g="",R=0,H=!1;for(;null!==(p=q2.exec(d));)H?p[0]===`${ev}/*${te}${ev}`&&(R=p.index,H=!1):(g+=d.substring(R,p.index+p[0].length),te=p[1],H=!0);return g+=d.slice(R),g}function _b(d,p,g,R,H,te){let ve=0;const Be={type:H.type,currentCaseLViewIndex:Cm(d,p,1,null),anchorIdx:te,cases:[],create:[],remove:[],update:[]};(function dM(d,p,g){d.push(nv(p.mainBinding),2,-1-p.mainBinding,g<<2|2)})(g,H,te),function X1(d,p,g){const R=d.data[p];null===R?d.data[p]=g:R.value=g}(d,te,Be);const nt=H.values;for(let Ht=0;Ht<nt.length;Ht++){const Sn=nt[Ht],Ln=[];for(let ei=0;ei<Sn.length;ei++){const xi=Sn[ei];if("string"!=typeof xi){const mo=Ln.push(xi)-1;Sn[ei]=`\x3c!--\ufffd${mo}\ufffd--\x3e`}}ve=uM(d,Be,p,g,R,H.cases[Ht],Sn.join(""),Ln)|ve}ve&&function fM(d,p,g){d.push(p,1,g<<2|3)}(g,ve,te)}function lM(d){const p=[],g=[];let R=1,H=0;const te=Qy(d=d.replace(db,function(ve,Be,nt){return R="select"===nt?0:1,H=parseInt(Be.slice(1),10),""}));for(let ve=0;ve<te.length;){let Be=te[ve++].trim();1===R&&(Be=Be.replace(/\s*(?:=)?(\w+)\s*/,"$1")),Be.length&&p.push(Be);const nt=Qy(te[ve++]);p.length>g.length&&g.push(nt)}return{type:R,mainBinding:H,cases:p,values:g}}function Qy(d){if(!d)return[];let p=0;const g=[],R=[],H=/[{}]/g;let te;for(H.lastIndex=0;te=H.exec(d);){const Be=te.index;if("}"==te[0]){if(g.pop(),0==g.length){const nt=d.substring(p,Be);db.test(nt)?R.push(lM(nt)):R.push(nt),p=Be+1}}else{if(0==g.length){const nt=d.substring(p,Be);R.push(nt),p=Be+1}g.push("{")}}const ve=d.substring(p);return R.push(ve),R}function uM(d,p,g,R,H,te,ve,Be){const nt=[],Ht=[],Sn=[];p.cases.push(te),p.create.push(nt),p.remove.push(Ht),p.update.push(Sn);const ei=R_(D_()).getInertBodyElement(ve),xi=I_(ei)||ei;return xi?hb(d,p,g,R,nt,Ht,Sn,xi,H,Be,0):0}function hb(d,p,g,R,H,te,ve,Be,nt,Ht,Sn){let Ln=0,ei=Be.firstChild;for(;ei;){const xi=Cm(d,g,1,null);switch(ei.nodeType){case Node.ELEMENT_NODE:const mo=ei,ls=mo.tagName.toLowerCase();if(sh.hasOwnProperty(ls)){Xy(H,u0,ls,nt,xi),d.data[xi]=ls;const Vo=mo.attributes;for(let Kl=0;Kl<Vo.length;Kl++){const _d=Vo.item(Kl),Fd=_d.name.toLowerCase();_d.value.match(_0)?Sf.hasOwnProperty(Fd)&&tv(ve,_d.value,xi,_d.name,0,pp[Fd]?dp:null):pM(H,xi,_d)}Ln=hb(d,p,g,R,H,te,ve,ei,xi,Ht,Sn+1)|Ln,Ky(te,xi,Sn)}break;case Node.TEXT_NODE:const js=ei.textContent||"",ga=js.match(_0);Xy(H,null,ga?"":js,nt,xi),Ky(te,xi,Sn),ga&&(Ln=tv(ve,js,xi,null,0,null)|Ln);break;case Node.COMMENT_NODE:const bl=X2.exec(ei.textContent||"");if(bl){const Kl=Ht[parseInt(bl[1],10)];Xy(H,c0,"",nt,xi),_b(d,g,R,nt,Kl,xi),cM(te,xi,Sn)}}ei=ei.nextSibling}return Ln}function Ky(d,p,g){0===g&&d.push(p)}function cM(d,p,g){0===g&&(d.push(~p),d.push(p))}function Xy(d,p,g,R,H){null!==p&&d.push(p),d.push(g,H,function ib(d,p,g){return d|p<<17|g<<1}(0,R,H))}function pM(d,p,g){d.push(p<<1|1,g.name,g.value)}const mb=0,_M=/\[(\ufffd.+?\ufffd?)\]/,hM=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,mM=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,gM=/{([A-Z0-9_]+)}/g,vM=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,yM=/\/\*/,EM=/\d+\:(\d+)/;function qy(d,p,g=-1){const R=Hs(),H=mi(),te=$s+d,ve=ql(R.consts,p),Be=hu();R.firstCreatePass&&function rM(d,p,g,R,H,te){const ve=hu(),Be=[],nt=[],Ht=[[]];H=function aM(d,p){if(function sM(d){return-1===d}(p))return pb(d);{const g=d.indexOf(`:${p}${ev}`)+2+p.toString().length,R=d.search(new RegExp(`${ev}\\/\\*\\d+:${p}${ev}`));return pb(d.substring(g,R))}}(H,te);const Sn=function nM(d){return d.replace(tM," ")}(H).split(eM);for(let Ln=0;Ln<Sn.length;Ln++){let ei=Sn[Ln];if(1&Ln){const xi=47===ei.charCodeAt(0),ls=(ei.charCodeAt(xi?1:0),$s+Number.parseInt(ei.substring(xi?2:1)));if(xi)Ht.shift(),lu(hu(),!1);else{const js=Z2(d,Ht[0],ls);Ht.unshift([]),lu(js,!0)}}else{const xi=Qy(ei);for(let mo=0;mo<xi.length;mo++){let ls=xi[mo];if(1&mo){const js=ls;if("object"!=typeof js)throw new Error(`Unable to parse ICU expression in "${H}" message.`);_b(d,g,nt,p,js,Jy(d,ve,Ht[0],g,Be,"",!0).index)}else""!==ls&&iM(d,ve,Ht[0],Be,nt,g,ls)}}}d.data[R]={create:Be,update:nt}}(R,null===Be?0:Be.index,H,te,ve,g);const nt=R.data[te],Sn=u_(R,Be===H[jo]?null:Be,H);(function W2(d,p,g,R){const H=d[Ro];for(let te=0;te<p.length;te++){const ve=p[te++],Be=p[te],Ht=(ve&Jd.APPEND_EAGERLY)===Jd.APPEND_EAGERLY,Sn=ve>>>Jd.SHIFT;let Ln=d[Sn];null===Ln&&(Ln=d[Sn]=(ve&Jd.COMMENT)===Jd.COMMENT?H.createComment(Be):a_(H,Be)),Ht&&null!==g&&mf(H,g,Ln,R,!1)}})(H,nt.create,Sn,Be&&8&Be.type?H[Be.index]:null),Xe(!0)}function Dg(){Xe(!1)}function eE(d,p,g){qy(d,p,g),Dg()}function gb(d,p){const g=Hs(),R=ql(g.consts,p);!function oM(d,p,g){const H=zl().index,te=[];if(d.firstCreatePass&&null===d.data[p]){for(let ve=0;ve<g.length;ve+=2){const Be=g[ve],nt=g[ve+1];if(""!==nt){if(K2.test(nt))throw new Error(`ICU expressions are not supported in attributes. Message: "${nt}".`);tv(te,nt,H,Be,fb(te),null)}}d.data[p]=te}}(g,d+$s,R)}function tE(d){return function ob(d){d&&(q1|=1<<Math.min(Xm,31)),Xm++}(Xf(mi(),Q(),d)),tE}function vb(d){!function Ag(d,p,g){if(Xm>0){const R=d.data[g];ab(d,p,Array.isArray(R)?R:R.update,sl()-Xm-1,q1)}q1=0,Xm=0}(Hs(),mi(),d+$s)}function yb(d,p={}){return function SM(d,p={}){let g=d;if(_M.test(d)){const R={},H=[mb];g=g.replace(hM,(te,ve,Be)=>{const nt=ve||Be,Ht=R[nt]||[];if(Ht.length||(nt.split("|").forEach(ls=>{const js=ls.match(EM),ga=js?parseInt(js[1],10):mb,bl=yM.test(ls);Ht.push([ga,bl,ls])}),R[nt]=Ht),!Ht.length)throw new Error(`i18n postprocess: unmatched placeholder - ${nt}`);const Sn=H[H.length-1];let Ln=0;for(let ls=0;ls<Ht.length;ls++)if(Ht[ls][0]===Sn){Ln=ls;break}const[ei,xi,mo]=Ht[Ln];return xi?H.pop():Sn!==ei&&H.push(ei),Ht.splice(Ln,1),mo})}return Object.keys(p).length&&(g=g.replace(mM,(R,H,te,ve,Be,nt)=>p.hasOwnProperty(te)?`${H}${p[te]}${nt}`:R),g=g.replace(gM,(R,H)=>p.hasOwnProperty(H)?p[H]:R),g=g.replace(vM,(R,H)=>{if(p.hasOwnProperty(H)){const te=p[H];if(!te.length)throw new Error(`i18n postprocess: unmatched ICU - ${R} with key: ${H}`);return te.shift()}return R})),g}(d,p)}function nE(d,p,g,R,H){if(d=U(d),Array.isArray(d))for(let te=0;te<d.length;te++)nE(d[te],p,g,R,H);else{const te=Hs(),ve=mi();let Be=Oe(d)?d:U(d.provide),nt=be(d);const Ht=zl(),Sn=1048575&Ht.providerIndexes,Ln=Ht.directiveStart,ei=Ht.providerIndexes>>20;if(Oe(d)||!d.multi){const xi=new Xn(nt,H,Sm),mo=iE(Be,p,H?Sn:Sn+ei,Ln);-1===mo?(eu(rs(Ht,ve),te,Be),rE(te,d,p.length),p.push(Be),Ht.directiveStart++,Ht.directiveEnd++,H&&(Ht.providerIndexes+=1048576),g.push(xi),ve.push(xi)):(g[mo]=xi,ve[mo]=xi)}else{const xi=iE(Be,p,Sn+ei,Ln),mo=iE(Be,p,Sn,Sn+ei),js=mo>=0&&g[mo];if(H&&!js||!H&&!(xi>=0&&g[xi])){eu(rs(Ht,ve),te,Be);const ga=function MM(d,p,g,R,H){const te=new Xn(d,g,Sm);return te.multi=[],te.index=p,te.componentProviders=0,Eb(te,H,R&&!g),te}(H?CM:TM,g.length,H,R,nt);!H&&js&&(g[mo].providerFactory=ga),rE(te,d,p.length,0),p.push(Be),Ht.directiveStart++,Ht.directiveEnd++,H&&(Ht.providerIndexes+=1048576),g.push(ga),ve.push(ga)}else rE(te,d,xi>-1?xi:mo,Eb(g[H?mo:xi],nt,!H&&R));!H&&R&&js&&g[mo].componentProviders++}}}function rE(d,p,g,R){const H=Oe(p),te=function ut(d){return!!d.useClass}(p);if(H||te){const nt=(te?U(p.useClass):p).prototype.ngOnDestroy;if(nt){const Ht=d.destroyHooks||(d.destroyHooks=[]);if(!H&&p.multi){const Sn=Ht.indexOf(g);-1===Sn?Ht.push(g,[R,nt]):Ht[Sn+1].push(R,nt)}else Ht.push(g,nt)}}}function Eb(d,p,g){return g&&d.componentProviders++,d.multi.push(p)-1}function iE(d,p,g,R){for(let H=g;H<R;H++)if(p[H]===d)return H;return-1}function TM(d,p,g,R){return oE(this.multi,[])}function CM(d,p,g,R){const H=this.multi;let te;if(this.providerFactory){const ve=this.providerFactory.componentProviders,Be=vc(g,g[ci],this.providerFactory.index,R);te=Be.slice(0,ve),oE(H,te);for(let nt=ve;nt<Be.length;nt++)te.push(Be[nt])}else te=[],oE(H,te);return te}function oE(d,p){for(let g=0;g<d.length;g++)p.push((0,d[g])());return p}function Sb(d,p=[]){return g=>{g.providersResolver=(R,H)=>function bM(d,p,g){const R=Hs();if(R.firstCreatePass){const H=Ze(d);nE(g,R.data,R.blueprint,H,!0),nE(p,R.data,R.blueprint,H,!1)}}(R,H?H(d):d,p)}}class l1{}class bb{}function OM(d,p){return new Tb(d,p??null)}class Tb extends l1{constructor(p,g){super(),this._parent=g,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Fv(this);const R=Ir(p);this._bootstrapComponents=Qf(R.bootstrap),this._r3Injector=Sg(p,g,[{provide:l1,useValue:this},{provide:oa,useValue:this.componentFactoryResolver}],T(p),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(p)}get injector(){return this._r3Injector}destroy(){const p=this._r3Injector;!p.destroyed&&p.destroy(),this.destroyCbs.forEach(g=>g()),this.destroyCbs=null}onDestroy(p){this.destroyCbs.push(p)}}class sE extends bb{constructor(p){super(),this.moduleType=p}create(p){return new Tb(this.moduleType,p)}}class AM extends l1{constructor(p,g,R){super(),this.componentFactoryResolver=new Fv(this),this.instance=null;const H=new Yo([...p,{provide:l1,useValue:this},{provide:oa,useValue:this.componentFactoryResolver}],g||Pi(),R,new Set(["environment"]));this.injector=H,H.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(p){this.injector.onDestroy(p)}}function aE(d,p,g=null){return new AM(d,p,g).injector}let DM=(()=>{class d{constructor(g){this._injector=g,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(g){if(!g.standalone)return null;if(!this.cachedInjectors.has(g.id)){const R=Nh(0,g.type),H=R.length>0?aE([R],this._injector,`Standalone[${g.type.name}]`):null;this.cachedInjectors.set(g.id,H)}return this.cachedInjectors.get(g.id)}ngOnDestroy(){try{for(const g of this.cachedInjectors.values())null!==g&&g.destroy()}finally{this.cachedInjectors.clear()}}}return d.\u0275prov=xn({token:d,providedIn:"environment",factory:()=>new d(et(cs))}),d})();function Cb(d){d.getStandaloneInjector=p=>p.get(DM).getOrCreateStandaloneInjector(d)}function wb(d,p,g){const R=kl()+d,H=mi();return H[R]===Il?mh(H,R,g?p.call(g):p()):Om(H,R)}function Pb(d,p,g,R){return $b(mi(),kl(),d,p,g,R)}function Nb(d,p,g,R,H){return Hb(mi(),kl(),d,p,g,R,H)}function Ib(d,p,g,R,H,te){return Ub(mi(),kl(),d,p,g,R,H,te)}function Fb(d,p,g,R,H,te,ve){return function Bb(d,p,g,R,H,te,ve,Be,nt){const Ht=p+g;return sd(d,Ht,H,te,ve,Be)?mh(d,Ht+4,nt?R.call(nt,H,te,ve,Be):R(H,te,ve,Be)):rv(d,Ht+4)}(mi(),kl(),d,p,g,R,H,te,ve)}function Lb(d,p,g,R,H,te,ve,Be){const nt=kl()+d,Ht=mi(),Sn=sd(Ht,nt,g,R,H,te);return Xf(Ht,nt+4,ve)||Sn?mh(Ht,nt+5,Be?p.call(Be,g,R,H,te,ve):p(g,R,H,te,ve)):Om(Ht,nt+5)}function rv(d,p){const g=d[p];return g===Il?void 0:g}function $b(d,p,g,R,H,te){const ve=p+g;return Xf(d,ve,H)?mh(d,ve+1,te?R.call(te,H):R(H)):rv(d,ve+1)}function Hb(d,p,g,R,H,te,ve){const Be=p+g;return Am(d,Be,H,te)?mh(d,Be+2,ve?R.call(ve,H,te):R(H,te)):rv(d,Be+2)}function Ub(d,p,g,R,H,te,ve,Be){const nt=p+g;return Zg(d,nt,H,te,ve)?mh(d,nt+3,Be?R.call(Be,H,te,ve):R(H,te,ve)):rv(d,nt+3)}function Yb(d,p){const g=Hs();let R;const H=d+$s;g.firstCreatePass?(R=function HM(d,p){if(p)for(let g=p.length-1;g>=0;g--){const R=p[g];if(d===R.name)return R}}(p,g.pipeRegistry),g.data[H]=R,R.onDestroy&&(g.destroyHooks??(g.destroyHooks=[])).push(H,R.onDestroy)):R=g.data[H];const te=R.factory||(R.factory=el(R.type)),ve=Wi(Sm);try{const Be=Qt(!1),nt=te();return Qt(Be),function Ly(d,p,g,R){g>=d.data.length&&(d.data[g]=null,d.blueprint[g]=null),p[g]=R}(g,mi(),H,nt),nt}finally{Wi(ve)}}function jb(d,p,g){const R=d+$s,H=mi(),te=xu(H,R);return iv(H,R)?$b(H,kl(),p,te.transform,g,te):te.transform(g)}function zb(d,p,g,R){const H=d+$s,te=mi(),ve=xu(te,H);return iv(te,H)?Hb(te,kl(),p,ve.transform,g,R,ve):ve.transform(g,R)}function Vb(d,p,g,R,H){const te=d+$s,ve=mi(),Be=xu(ve,te);return iv(ve,te)?Ub(ve,kl(),p,Be.transform,g,R,H,Be):Be.transform(g,R,H)}function iv(d,p){return d[ci].data[p].pure}function cE(d){return p=>{setTimeout(d,void 0,p)}}const _m=class GM extends r.xQ{constructor(p=!1){super(),this.__isAsync=p}emit(p){super.next(p)}subscribe(p,g,R){let H=p,te=g||(()=>null),ve=R;if(p&&"object"==typeof p){const nt=p;H=nt.next?.bind(nt),te=nt.error?.bind(nt),ve=nt.complete?.bind(nt)}this.__isAsync&&(te=cE(te),H&&(H=cE(H)),ve&&(ve=cE(ve)));const Be=super.subscribe({next:H,error:te,complete:ve});return p instanceof a.w&&p.add(Be),Be}};function YM(){return this._results[Symbol.iterator]()}class dE{get changes(){return this._changes||(this._changes=new _m)}constructor(p=!1){this._emitDistinctChangesOnly=p,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const g=dE.prototype;g[Symbol.iterator]||(g[Symbol.iterator]=YM)}get(p){return this._results[p]}map(p){return this._results.map(p)}filter(p){return this._results.filter(p)}find(p){return this._results.find(p)}reduce(p,g){return this._results.reduce(p,g)}forEach(p){this._results.forEach(p)}some(p){return this._results.some(p)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(p,g){const R=this;R.dirty=!1;const H=function Se(d){return d.flat(Number.POSITIVE_INFINITY)}(p);(this._changesDetected=!function Lo(d,p,g){if(d.length!==p.length)return!1;for(let R=0;R<d.length;R++){let H=d[R],te=p[R];if(g&&(H=g(H),te=g(te)),te!==H)return!1}return!0}(R._results,H,g))&&(R._results=H,R.length=H.length,R.last=H[this.length-1],R.first=H[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let ov=(()=>{class d{}return d.__NG_ELEMENT_ID__=VM,d})();const jM=ov,zM=class extends jM{constructor(p,g,R){super(),this._declarationLView=p,this._declarationTContainer=g,this.elementRef=R}createEmbeddedView(p,g){const R=this._declarationTContainer.tView,H=Bg(this._declarationLView,R,p,16,null,R.declTNode,null,null,null,null,g||null);H[Rl]=this._declarationLView[this._declarationTContainer.index];const ve=this._declarationLView[Ha];return null!==ve&&(H[Ha]=ve.createEmbeddedView(R)),A1(R,H,p),new hh(H)}};function VM(){return h0(zl(),mi())}function h0(d,p){return 4&d.type?new zM(p,d,Wr(d,p)):null}let m0=(()=>{class d{}return d.__NG_ELEMENT_ID__=ZM,d})();function ZM(){return Jb(zl(),mi())}const WM=m0,Zb=class extends WM{constructor(p,g,R){super(),this._lContainer=p,this._hostTNode=g,this._hostLView=R}get element(){return Wr(this._hostTNode,this._hostLView)}get injector(){return new xa(this._hostTNode,this._hostLView)}get parentInjector(){const p=Ul(this._hostTNode,this._hostLView);if(ae(p)){const g=st(p,this._hostLView),R=De(p);return new xa(g[ci].data[R+8],g)}return new xa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(p){const g=Wb(this._lContainer);return null!==g&&g[p]||null}get length(){return this._lContainer.length-ns}createEmbeddedView(p,g,R){let H,te;"number"==typeof R?H=R:null!=R&&(H=R.index,te=R.injector);const ve=p.createEmbeddedView(g||{},te);return this.insert(ve,H),ve}createComponent(p,g,R,H,te){const ve=p&&!function Bc(d){return"function"==typeof d}(p);let Be;if(ve)Be=g;else{const Ln=g||{};Be=Ln.index,R=Ln.injector,H=Ln.projectableNodes,te=Ln.environmentInjector||Ln.ngModuleRef}const nt=ve?p:new Gm(ji(p)),Ht=R||this.parentInjector;if(!te&&null==nt.ngModule){const ei=(ve?Ht:this.parentInjector).get(cs,null);ei&&(te=ei)}const Sn=nt.create(Ht,H,void 0,te);return this.insert(Sn.hostView,Be),Sn}insert(p,g){const R=p._lView,H=R[ci];if(function gc(d){return io(d[go])}(R)){const Sn=this.indexOf(p);if(-1!==Sn)this.detach(Sn);else{const Ln=R[go],ei=new Zb(Ln,Ln[jo],Ln[go]);ei.detach(ei.indexOf(p))}}const te=this._adjustIndex(g),ve=this._lContainer;!function Ch(d,p,g,R){const H=ns+R,te=g.length;R>0&&(g[H-1][es]=p),R<te-ns?(p[es]=g[H],_e(g,ns+R,p)):(g.push(p),p[es]=null),p[go]=g;const ve=p[Rl];null!==ve&&g!==ve&&function Yd(d,p){const g=d[Cs];p[$a]!==p[go][go][$a]&&(d[fa]=!0),null===g?d[Cs]=[p]:g.push(p)}(ve,p);const Be=p[Ha];null!==Be&&Be.insertView(d),p[_o]|=64}(H,R,ve,te);const Be=c_(te,ve),nt=R[Ro],Ht=nf(nt,ve[Xo]);return null!==Ht&&function Th(d,p,g,R,H,te){R[Bn]=H,R[jo]=p,zd(d,R,g,1,H,te)}(H,ve[jo],nt,R,Ht,Be),p.attachToViewContainerRef(),_e(fE(ve),te,p),p}move(p,g){return this.insert(p,g)}indexOf(p){const g=Wb(this._lContainer);return null!==g?g.indexOf(p):-1}remove(p){const g=this._adjustIndex(p,-1),R=Mh(this._lContainer,g);R&&(Ye(fE(this._lContainer),g),Jh(R[ci],R))}detach(p){const g=this._adjustIndex(p,-1),R=Mh(this._lContainer,g);return R&&null!=Ye(fE(this._lContainer),g)?new hh(R):null}_adjustIndex(p,g=0){return p??this.length+g}};function Wb(d){return d[No]}function fE(d){return d[No]||(d[No]=[])}function Jb(d,p){let g;const R=p[d.index];if(io(R))g=R;else{let H;if(8&d.type)H=tl(R);else{const te=p[Ro];H=te.createComment("");const ve=cu(d,p);mf(te,nf(te,ve),H,function Op(d,p){return d.nextSibling(p)}(te,ve),!1)}p[d.index]=g=L1(R,p,H,d),Cg(p,g)}return new Zb(g,d,p)}class pE{constructor(p){this.queryList=p,this.matches=null}clone(){return new pE(this.queryList)}setDirty(){this.queryList.setDirty()}}class _E{constructor(p=[]){this.queries=p}createEmbeddedView(p){const g=p.queries;if(null!==g){const R=null!==p.contentQueries?p.contentQueries[0]:g.length,H=[];for(let te=0;te<R;te++){const ve=g.getByIndex(te);H.push(this.queries[ve.indexInDeclarationView].clone())}return new _E(H)}return null}insertView(p){this.dirtyQueriesWithMatches(p)}detachView(p){this.dirtyQueriesWithMatches(p)}dirtyQueriesWithMatches(p){for(let g=0;g<this.queries.length;g++)null!==iT(p,g).matches&&this.queries[g].setDirty()}}class Qb{constructor(p,g,R=null){this.predicate=p,this.flags=g,this.read=R}}class hE{constructor(p=[]){this.queries=p}elementStart(p,g){for(let R=0;R<this.queries.length;R++)this.queries[R].elementStart(p,g)}elementEnd(p){for(let g=0;g<this.queries.length;g++)this.queries[g].elementEnd(p)}embeddedTView(p){let g=null;for(let R=0;R<this.length;R++){const H=null!==g?g.length:0,te=this.getByIndex(R).embeddedTView(p,H);te&&(te.indexInDeclarationView=R,null!==g?g.push(te):g=[te])}return null!==g?new hE(g):null}template(p,g){for(let R=0;R<this.queries.length;R++)this.queries[R].template(p,g)}getByIndex(p){return this.queries[p]}get length(){return this.queries.length}track(p){this.queries.push(p)}}class mE{constructor(p,g=-1){this.metadata=p,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=g}elementStart(p,g){this.isApplyingToNode(g)&&this.matchTNode(p,g)}elementEnd(p){this._declarationNodeIndex===p.index&&(this._appliesToNextNode=!1)}template(p,g){this.elementStart(p,g)}embeddedTView(p,g){return this.isApplyingToNode(p)?(this.crossesNgTemplate=!0,this.addMatch(-p.index,g),new mE(this.metadata)):null}isApplyingToNode(p){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const g=this._declarationNodeIndex;let R=p.parent;for(;null!==R&&8&R.type&&R.index!==g;)R=R.parent;return g===(null!==R?R.index:-1)}return this._appliesToNextNode}matchTNode(p,g){const R=this.metadata.predicate;if(Array.isArray(R))for(let H=0;H<R.length;H++){const te=R[H];this.matchTNodeWithReadOption(p,g,JM(g,te)),this.matchTNodeWithReadOption(p,g,pu(g,p,te,!1,!1))}else R===ov?4&g.type&&this.matchTNodeWithReadOption(p,g,-1):this.matchTNodeWithReadOption(p,g,pu(g,p,R,!1,!1))}matchTNodeWithReadOption(p,g,R){if(null!==R){const H=this.metadata.read;if(null!==H)if(H===si||H===m0||H===ov&&4&g.type)this.addMatch(g.index,-2);else{const te=pu(g,p,H,!1,!1);null!==te&&this.addMatch(g.index,te)}else this.addMatch(g.index,R)}}addMatch(p,g){null===this.matches?this.matches=[p,g]:this.matches.push(p,g)}}function JM(d,p){const g=d.localNames;if(null!==g)for(let R=0;R<g.length;R+=2)if(g[R]===p)return g[R+1];return null}function KM(d,p,g,R){return-1===g?function QM(d,p){return 11&d.type?Wr(d,p):4&d.type?h0(d,p):null}(p,d):-2===g?function XM(d,p,g){return g===si?Wr(p,d):g===ov?h0(p,d):g===m0?Jb(p,d):void 0}(d,p,R):vc(d,d[ci],g,p)}function Kb(d,p,g,R){const H=p[Ha].queries[R];if(null===H.matches){const te=d.data,ve=g.matches,Be=[];for(let nt=0;nt<ve.length;nt+=2){const Ht=ve[nt];Be.push(Ht<0?null:KM(p,te[Ht],ve[nt+1],g.metadata.read))}H.matches=Be}return H.matches}function gE(d,p,g,R){const H=d.queries.getByIndex(g),te=H.matches;if(null!==te){const ve=Kb(d,p,H,g);for(let Be=0;Be<te.length;Be+=2){const nt=te[Be];if(nt>0)R.push(ve[Be/2]);else{const Ht=te[Be+1],Sn=p[-nt];for(let Ln=ns;Ln<Sn.length;Ln++){const ei=Sn[Ln];ei[Rl]===ei[go]&&gE(ei[ci],ei,Ht,R)}if(null!==Sn[Cs]){const Ln=Sn[Cs];for(let ei=0;ei<Ln.length;ei++){const xi=Ln[ei];gE(xi[ci],xi,Ht,R)}}}}}return R}function Xb(d){const p=mi(),g=Hs(),R=Xr();yr(R+1);const H=iT(g,R);if(d.dirty&&function nl(d){return 4==(4&d[_o])}(p)===(2==(2&H.metadata.flags))){if(null===H.matches)d.reset([]);else{const te=H.crossesNgTemplate?gE(g,p,R,[]):Kb(g,p,H,R);d.reset(te,no),d.notifyOnChanges()}return!0}return!1}function qb(d,p,g){const R=Hs();R.firstCreatePass&&(rT(R,new Qb(d,p,g),-1),2==(2&p)&&(R.staticViewQueries=!0)),nT(R,mi(),p)}function eT(d,p,g,R){const H=Hs();if(H.firstCreatePass){const te=zl();rT(H,new Qb(p,g,R),te.index),function eO(d,p){const g=d.contentQueries||(d.contentQueries=[]);p!==(g.length?g[g.length-1]:-1)&&g.push(d.queries.length-1,p)}(H,d),2==(2&g)&&(H.staticContentQueries=!0)}nT(H,mi(),g)}function tT(){return function qM(d,p){return d[Ha].queries[p].queryList}(mi(),Xr())}function nT(d,p,g){const R=new dE(4==(4&g));x1(d,p,R,R.destroy),null===p[Ha]&&(p[Ha]=new _E),p[Ha].queries.push(new pE(R))}function rT(d,p,g){null===d.queries&&(d.queries=new hE),d.queries.track(new mE(p,g))}function iT(d,p){return d.queries.getByIndex(p)}function oT(d,p){return h0(d,p)}function vE(d){return!!Ir(d)}const mO=tf("Input",d=>({bindingPropertyName:d})),gO=tf("Output",d=>({bindingPropertyName:d}));function y0(...d){}const MT=new Mu("Application Initializer");let tg=(()=>{class d{constructor(g){this.appInits=g,this.resolve=y0,this.reject=y0,this.initialized=!1,this.done=!1,this.donePromise=new Promise((R,H)=>{this.resolve=R,this.reject=H})}runInitializers(){if(this.initialized)return;const g=[],R=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let H=0;H<this.appInits.length;H++){const te=this.appInits[H]();if(Mg(te))g.push(te);else if(n0(te)){const ve=new Promise((Be,nt)=>{te.subscribe({complete:Be,error:nt})});g.push(ve)}}Promise.all(g).then(()=>{R()}).catch(H=>{this.reject(H)}),0===g.length&&R(),this.initialized=!0}}return d.\u0275fac=function(g){return new(g||d)(et(MT,8))},d.\u0275prov=xn({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const OT=new Mu("AppId",{providedIn:"root",factory:function CE(){return`${ME()}${ME()}${ME()}`}});function ME(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const AT=new Mu("Platform Initializer"),yO=new Mu("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),DT=new Mu("AnimationModuleType");let EO=(()=>{class d{log(g){console.log(g)}warn(g){console.warn(g)}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275prov=xn({token:d,factory:d.\u0275fac,providedIn:"platform"}),d})();const c1=new Mu("LocaleId",{providedIn:"root",factory:()=>an(c1,jn.Optional|jn.SkipSelf)||function RT(){return typeof $localize<"u"&&$localize.locale||a1}()}),SO=new Mu("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class TO{constructor(p,g){this.ngModuleFactory=p,this.componentFactories=g}}let CO=(()=>{class d{compileModuleSync(g){return new sE(g)}compileModuleAsync(g){return Promise.resolve(this.compileModuleSync(g))}compileModuleAndAllComponentsSync(g){const R=this.compileModuleSync(g),te=Qf(Ir(g).declarations).reduce((ve,Be)=>{const nt=ji(Be);return nt&&ve.push(new Gm(nt)),ve},[]);return new TO(R,te)}compileModuleAndAllComponentsAsync(g){return Promise.resolve(this.compileModuleAndAllComponentsSync(g))}clearCache(){}clearCacheFor(g){}getModuleId(g){}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275prov=xn({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();const AO=(()=>Promise.resolve(0))();function OE(d){typeof Zone>"u"?AO.then(()=>{d&&d.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",d)}class gh{constructor({enableLongStackTrace:p=!1,shouldCoalesceEventChangeDetection:g=!1,shouldCoalesceRunChangeDetection:R=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _m(!1),this.onMicrotaskEmpty=new _m(!1),this.onStable=new _m(!1),this.onError=new _m(!1),typeof Zone>"u")throw new X(908,!1);Zone.assertZonePatched();const H=this;H._nesting=0,H._outer=H._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(H._inner=H._inner.fork(new Zone.TaskTrackingZoneSpec)),p&&Zone.longStackTraceZoneSpec&&(H._inner=H._inner.fork(Zone.longStackTraceZoneSpec)),H.shouldCoalesceEventChangeDetection=!R&&g,H.shouldCoalesceRunChangeDetection=R,H.lastRequestAnimationFrameId=-1,H.nativeRequestAnimationFrame=function DO(){let d=Ei.requestAnimationFrame,p=Ei.cancelAnimationFrame;if(typeof Zone<"u"&&d&&p){const g=d[Zone.__symbol__("OriginalDelegate")];g&&(d=g);const R=p[Zone.__symbol__("OriginalDelegate")];R&&(p=R)}return{nativeRequestAnimationFrame:d,nativeCancelAnimationFrame:p}}().nativeRequestAnimationFrame,function xO(d){const p=()=>{!function av(d){d.isCheckStableRunning||-1!==d.lastRequestAnimationFrameId||(d.lastRequestAnimationFrameId=d.nativeRequestAnimationFrame.call(Ei,()=>{d.fakeTopEventTask||(d.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{d.lastRequestAnimationFrameId=-1,DE(d),d.isCheckStableRunning=!0,AE(d),d.isCheckStableRunning=!1},void 0,()=>{},()=>{})),d.fakeTopEventTask.invoke()}),DE(d))}(d)};d._inner=d._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(g,R,H,te,ve,Be)=>{try{return IT(d),g.invokeTask(H,te,ve,Be)}finally{(d.shouldCoalesceEventChangeDetection&&"eventTask"===te.type||d.shouldCoalesceRunChangeDetection)&&p(),RE(d)}},onInvoke:(g,R,H,te,ve,Be,nt)=>{try{return IT(d),g.invoke(H,te,ve,Be,nt)}finally{d.shouldCoalesceRunChangeDetection&&p(),RE(d)}},onHasTask:(g,R,H,te)=>{g.hasTask(H,te),R===H&&("microTask"==te.change?(d._hasPendingMicrotasks=te.microTask,DE(d),AE(d)):"macroTask"==te.change&&(d.hasPendingMacrotasks=te.macroTask))},onHandleError:(g,R,H,te)=>(g.handleError(H,te),d.runOutsideAngular(()=>d.onError.emit(te)),!1)})}(H)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!gh.isInAngularZone())throw new X(909,!1)}static assertNotInAngularZone(){if(gh.isInAngularZone())throw new X(909,!1)}run(p,g,R){return this._inner.run(p,g,R)}runTask(p,g,R,H){const te=this._inner,ve=te.scheduleEventTask("NgZoneEvent: "+H,p,RO,y0,y0);try{return te.runTask(ve,g,R)}finally{te.cancelTask(ve)}}runGuarded(p,g,R){return this._inner.runGuarded(p,g,R)}runOutsideAngular(p){return this._outer.run(p)}}const RO={};function AE(d){if(0==d._nesting&&!d.hasPendingMicrotasks&&!d.isStable)try{d._nesting++,d.onMicrotaskEmpty.emit(null)}finally{if(d._nesting--,!d.hasPendingMicrotasks)try{d.runOutsideAngular(()=>d.onStable.emit(null))}finally{d.isStable=!0}}}function DE(d){d.hasPendingMicrotasks=!!(d._hasPendingMicrotasks||(d.shouldCoalesceEventChangeDetection||d.shouldCoalesceRunChangeDetection)&&-1!==d.lastRequestAnimationFrameId)}function IT(d){d._nesting++,d.isStable&&(d.isStable=!1,d.onUnstable.emit(null))}function RE(d){d._nesting--,AE(d)}class wO{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new _m,this.onMicrotaskEmpty=new _m,this.onStable=new _m,this.onError=new _m}run(p,g,R){return p.apply(g,R)}runGuarded(p,g,R){return p.apply(g,R)}runOutsideAngular(p){return p()}runTask(p,g,R,H){return p.apply(g,R)}}const FT=new Mu(""),LT=new Mu("");let xE,PO=(()=>{class d{constructor(g,R,H){this._ngZone=g,this.registry=R,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,xE||(function NO(d){xE=d}(H),H.addToWindow(R)),this._watchAngularEvents(),g.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{gh.assertNotInAngularZone(),OE(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())OE(()=>{for(;0!==this._callbacks.length;){let g=this._callbacks.pop();clearTimeout(g.timeoutId),g.doneCb(this._didWork)}this._didWork=!1});else{let g=this.getPendingTasks();this._callbacks=this._callbacks.filter(R=>!R.updateCb||!R.updateCb(g)||(clearTimeout(R.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(g=>({source:g.source,creationLocation:g.creationLocation,data:g.data})):[]}addCallback(g,R,H){let te=-1;R&&R>0&&(te=setTimeout(()=>{this._callbacks=this._callbacks.filter(ve=>ve.timeoutId!==te),g(this._didWork,this.getPendingTasks())},R)),this._callbacks.push({doneCb:g,timeoutId:te,updateCb:H})}whenStable(g,R,H){if(H&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(g,R,H),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(g){this.registry.registerApplication(g,this)}unregisterApplication(g){this.registry.unregisterApplication(g)}findProviders(g,R,H){return[]}}return d.\u0275fac=function(g){return new(g||d)(et(gh),et(kT),et(LT))},d.\u0275prov=xn({token:d,factory:d.\u0275fac}),d})(),kT=(()=>{class d{constructor(){this._applications=new Map}registerApplication(g,R){this._applications.set(g,R)}unregisterApplication(g){this._applications.delete(g)}unregisterAllApplications(){this._applications.clear()}getTestability(g){return this._applications.get(g)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(g,R=!0){return xE?.findTestabilityInTree(this,g,R)??null}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275prov=xn({token:d,factory:d.\u0275fac,providedIn:"platform"}),d})();const xm=!1;let ng=null;const $T=new Mu("AllowMultipleToken"),wE=new Mu("PlatformDestroyListeners"),HT=new Mu("appBootstrapListener");class LO{constructor(p,g){this.name=p,this.token=g}}function BT(d,p,g=[]){const R=`Platform: ${p}`,H=new Mu(R);return(te=[])=>{let ve=PE();if(!ve||ve.injector.get($T,!1)){const Be=[...g,...te,{provide:H,useValue:!0}];d?d(Be):function kO(d){if(ng&&!ng.get($T,!1))throw new X(400,!1);ng=d;const p=d.get(YT);(function UT(d){const p=d.get(AT,null);p&&p.forEach(g=>g())})(d)}(function GT(d=[],p){return _h.create({name:p,providers:[{provide:On,useValue:"platform"},{provide:wE,useValue:new Set([()=>ng=null])},...d]})}(Be,R))}return function HO(d){const p=PE();if(!p)throw new X(401,!1);return p}()}}function PE(){return ng?.get(YT)??null}let YT=(()=>{class d{constructor(g){this._injector=g,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(g,R){const H=function zT(d,p){let g;return g="noop"===d?new wO:("zone.js"===d?void 0:d)||new gh(p),g}(R?.ngZone,function jT(d){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!d||!d.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!d||!d.ngZoneRunCoalescing)||!1}}(R)),te=[{provide:gh,useValue:H}];return H.run(()=>{const ve=_h.create({providers:te,parent:this.injector,name:g.moduleType.name}),Be=g.create(ve),nt=Be.injector.get(dh,null);if(!nt)throw new X(402,!1);return H.runOutsideAngular(()=>{const Ht=H.onError.subscribe({next:Sn=>{nt.handleError(Sn)}});Be.onDestroy(()=>{S0(this._modules,Be),Ht.unsubscribe()})}),function VT(d,p,g){try{const R=g();return Mg(R)?R.catch(H=>{throw p.runOutsideAngular(()=>d.handleError(H)),H}):R}catch(R){throw p.runOutsideAngular(()=>d.handleError(R)),R}}(nt,H,()=>{const Ht=Be.injector.get(tg);return Ht.runInitializers(),Ht.donePromise.then(()=>(XS(Be.injector.get(c1,a1)||a1),this._moduleDoBootstrap(Be),Be))})})}bootstrapModule(g,R=[]){const H=ZT({},R);return function IO(d,p,g){const R=new sE(g);return Promise.resolve(R)}(0,0,g).then(te=>this.bootstrapModuleFactory(te,H))}_moduleDoBootstrap(g){const R=g.injector.get(E0);if(g._bootstrapComponents.length>0)g._bootstrapComponents.forEach(H=>R.bootstrap(H));else{if(!g.instance.ngDoBootstrap)throw new X(-403,!1);g.instance.ngDoBootstrap(R)}this._modules.push(g)}onDestroy(g){this._destroyListeners.push(g)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new X(404,!1);this._modules.slice().forEach(R=>R.destroy()),this._destroyListeners.forEach(R=>R());const g=this._injector.get(wE,null);g&&(g.forEach(R=>R()),g.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return d.\u0275fac=function(g){return new(g||d)(et(_h))},d.\u0275prov=xn({token:d,factory:d.\u0275fac,providedIn:"platform"}),d})();function ZT(d,p){return Array.isArray(p)?p.reduce(ZT,d):{...d,...p}}let E0=(()=>{class d{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(g,R,H){this._zone=g,this._injector=R,this._exceptionHandler=H,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const te=new c.y(Be=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Be.next(this._stable),Be.complete()})}),ve=new c.y(Be=>{let nt;this._zone.runOutsideAngular(()=>{nt=this._zone.onStable.subscribe(()=>{gh.assertNotInAngularZone(),OE(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Be.next(!0))})})});const Ht=this._zone.onUnstable.subscribe(()=>{gh.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Be.next(!1)}))});return()=>{nt.unsubscribe(),Ht.unsubscribe()}});this.isStable=(0,u.T)(te,ve.pipe((0,e.B)()))}bootstrap(g,R){const H=g instanceof Uo;if(!this._injector.get(tg).done){!H&&ko(g);throw new X(405,xm)}let ve;ve=H?g:this._injector.get(oa).resolveComponentFactory(g),this.componentTypes.push(ve.componentType);const Be=function FO(d){return d.isBoundToModule}(ve)?void 0:this._injector.get(l1),Ht=ve.create(_h.NULL,[],R||ve.selector,Be),Sn=Ht.location.nativeElement,Ln=Ht.injector.get(FT,null);return Ln?.registerApplication(Sn),Ht.onDestroy(()=>{this.detachView(Ht.hostView),S0(this.components,Ht),Ln?.unregisterApplication(Sn)}),this._loadComponent(Ht),Ht}tick(){if(this._runningTick)throw new X(101,!1);try{this._runningTick=!0;for(let g of this._views)g.detectChanges()}catch(g){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(g))}finally{this._runningTick=!1}}attachView(g){const R=g;this._views.push(R),R.attachToAppRef(this)}detachView(g){const R=g;S0(this._views,R),R.detachFromAppRef()}_loadComponent(g){this.attachView(g.hostView),this.tick(),this.components.push(g);const R=this._injector.get(HT,[]);R.push(...this._bootstrapListeners),R.forEach(H=>H(g))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(g=>g()),this._views.slice().forEach(g=>g.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(g){return this._destroyListeners.push(g),()=>S0(this._destroyListeners,g)}destroy(){if(this._destroyed)throw new X(406,!1);const g=this._injector;g.destroy&&!g.destroyed&&g.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return d.\u0275fac=function(g){return new(g||d)(et(gh),et(cs),et(dh))},d.\u0275prov=xn({token:d,factory:d.\u0275fac,providedIn:"root"}),d})();function S0(d,p){const g=d.indexOf(p);g>-1&&d.splice(g,1)}function BO(){return!1}function GO(){}let YO=(()=>{class d{}return d.__NG_ELEMENT_ID__=jO,d})();function jO(d){return function zO(d,p,g){if(Tn(d)&&!g){const R=ba(d.index,p);return new hh(R,R)}return 47&d.type?new hh(p[$a],p):null}(zl(),mi(),16==(16&d))}class qT{constructor(){}supports(p){return Ym(p)}create(p){return new KO(p)}}const QO=(d,p)=>p;class KO{constructor(p){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=p||QO}forEachItem(p){let g;for(g=this._itHead;null!==g;g=g._next)p(g)}forEachOperation(p){let g=this._itHead,R=this._removalsHead,H=0,te=null;for(;g||R;){const ve=!R||g&&g.currentIndex<tC(R,H,te)?g:R,Be=tC(ve,H,te),nt=ve.currentIndex;if(ve===R)H--,R=R._nextRemoved;else if(g=g._next,null==ve.previousIndex)H++;else{te||(te=[]);const Ht=Be-H,Sn=nt-H;if(Ht!=Sn){for(let ei=0;ei<Ht;ei++){const xi=ei<te.length?te[ei]:te[ei]=0,mo=xi+ei;Sn<=mo&&mo<Ht&&(te[ei]=xi+1)}te[ve.previousIndex]=Sn-Ht}}Be!==nt&&p(ve,Be,nt)}}forEachPreviousItem(p){let g;for(g=this._previousItHead;null!==g;g=g._nextPrevious)p(g)}forEachAddedItem(p){let g;for(g=this._additionsHead;null!==g;g=g._nextAdded)p(g)}forEachMovedItem(p){let g;for(g=this._movesHead;null!==g;g=g._nextMoved)p(g)}forEachRemovedItem(p){let g;for(g=this._removalsHead;null!==g;g=g._nextRemoved)p(g)}forEachIdentityChange(p){let g;for(g=this._identityChangesHead;null!==g;g=g._nextIdentityChange)p(g)}diff(p){if(null==p&&(p=[]),!Ym(p))throw new X(900,!1);return this.check(p)?this:null}onDestroy(){}check(p){this._reset();let H,te,ve,g=this._itHead,R=!1;if(Array.isArray(p)){this.length=p.length;for(let Be=0;Be<this.length;Be++)te=p[Be],ve=this._trackByFn(Be,te),null!==g&&Object.is(g.trackById,ve)?(R&&(g=this._verifyReinsertion(g,te,ve,Be)),Object.is(g.item,te)||this._addIdentityChange(g,te)):(g=this._mismatch(g,te,ve,Be),R=!0),g=g._next}else H=0,function zv(d,p){if(Array.isArray(d))for(let g=0;g<d.length;g++)p(d[g]);else{const g=d[Symbol.iterator]();let R;for(;!(R=g.next()).done;)p(R.value)}}(p,Be=>{ve=this._trackByFn(H,Be),null!==g&&Object.is(g.trackById,ve)?(R&&(g=this._verifyReinsertion(g,Be,ve,H)),Object.is(g.item,Be)||this._addIdentityChange(g,Be)):(g=this._mismatch(g,Be,ve,H),R=!0),g=g._next,H++}),this.length=H;return this._truncate(g),this.collection=p,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let p;for(p=this._previousItHead=this._itHead;null!==p;p=p._next)p._nextPrevious=p._next;for(p=this._additionsHead;null!==p;p=p._nextAdded)p.previousIndex=p.currentIndex;for(this._additionsHead=this._additionsTail=null,p=this._movesHead;null!==p;p=p._nextMoved)p.previousIndex=p.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(p,g,R,H){let te;return null===p?te=this._itTail:(te=p._prev,this._remove(p)),null!==(p=null===this._unlinkedRecords?null:this._unlinkedRecords.get(R,null))?(Object.is(p.item,g)||this._addIdentityChange(p,g),this._reinsertAfter(p,te,H)):null!==(p=null===this._linkedRecords?null:this._linkedRecords.get(R,H))?(Object.is(p.item,g)||this._addIdentityChange(p,g),this._moveAfter(p,te,H)):p=this._addAfter(new XO(g,R),te,H),p}_verifyReinsertion(p,g,R,H){let te=null===this._unlinkedRecords?null:this._unlinkedRecords.get(R,null);return null!==te?p=this._reinsertAfter(te,p._prev,H):p.currentIndex!=H&&(p.currentIndex=H,this._addToMoves(p,H)),p}_truncate(p){for(;null!==p;){const g=p._next;this._addToRemovals(this._unlink(p)),p=g}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(p,g,R){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(p);const H=p._prevRemoved,te=p._nextRemoved;return null===H?this._removalsHead=te:H._nextRemoved=te,null===te?this._removalsTail=H:te._prevRemoved=H,this._insertAfter(p,g,R),this._addToMoves(p,R),p}_moveAfter(p,g,R){return this._unlink(p),this._insertAfter(p,g,R),this._addToMoves(p,R),p}_addAfter(p,g,R){return this._insertAfter(p,g,R),this._additionsTail=null===this._additionsTail?this._additionsHead=p:this._additionsTail._nextAdded=p,p}_insertAfter(p,g,R){const H=null===g?this._itHead:g._next;return p._next=H,p._prev=g,null===H?this._itTail=p:H._prev=p,null===g?this._itHead=p:g._next=p,null===this._linkedRecords&&(this._linkedRecords=new eC),this._linkedRecords.put(p),p.currentIndex=R,p}_remove(p){return this._addToRemovals(this._unlink(p))}_unlink(p){null!==this._linkedRecords&&this._linkedRecords.remove(p);const g=p._prev,R=p._next;return null===g?this._itHead=R:g._next=R,null===R?this._itTail=g:R._prev=g,p}_addToMoves(p,g){return p.previousIndex===g||(this._movesTail=null===this._movesTail?this._movesHead=p:this._movesTail._nextMoved=p),p}_addToRemovals(p){return null===this._unlinkedRecords&&(this._unlinkedRecords=new eC),this._unlinkedRecords.put(p),p.currentIndex=null,p._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=p,p._prevRemoved=null):(p._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=p),p}_addIdentityChange(p,g){return p.item=g,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=p:this._identityChangesTail._nextIdentityChange=p,p}}class XO{constructor(p,g){this.item=p,this.trackById=g,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class qO{constructor(){this._head=null,this._tail=null}add(p){null===this._head?(this._head=this._tail=p,p._nextDup=null,p._prevDup=null):(this._tail._nextDup=p,p._prevDup=this._tail,p._nextDup=null,this._tail=p)}get(p,g){let R;for(R=this._head;null!==R;R=R._nextDup)if((null===g||g<=R.currentIndex)&&Object.is(R.trackById,p))return R;return null}remove(p){const g=p._prevDup,R=p._nextDup;return null===g?this._head=R:g._nextDup=R,null===R?this._tail=g:R._prevDup=g,null===this._head}}class eC{constructor(){this.map=new Map}put(p){const g=p.trackById;let R=this.map.get(g);R||(R=new qO,this.map.set(g,R)),R.add(p)}get(p,g){const H=this.map.get(p);return H?H.get(p,g):null}remove(p){const g=p.trackById;return this.map.get(g).remove(p)&&this.map.delete(g),p}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function tC(d,p,g){const R=d.previousIndex;if(null===R)return R;let H=0;return g&&R<g.length&&(H=g[R]),R+p+H}class nC{constructor(){}supports(p){return p instanceof Map||j1(p)}create(){return new eA}}class eA{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(p){let g;for(g=this._mapHead;null!==g;g=g._next)p(g)}forEachPreviousItem(p){let g;for(g=this._previousMapHead;null!==g;g=g._nextPrevious)p(g)}forEachChangedItem(p){let g;for(g=this._changesHead;null!==g;g=g._nextChanged)p(g)}forEachAddedItem(p){let g;for(g=this._additionsHead;null!==g;g=g._nextAdded)p(g)}forEachRemovedItem(p){let g;for(g=this._removalsHead;null!==g;g=g._nextRemoved)p(g)}diff(p){if(p){if(!(p instanceof Map||j1(p)))throw new X(900,!1)}else p=new Map;return this.check(p)?this:null}onDestroy(){}check(p){this._reset();let g=this._mapHead;if(this._appendAfter=null,this._forEach(p,(R,H)=>{if(g&&g.key===H)this._maybeAddToChanges(g,R),this._appendAfter=g,g=g._next;else{const te=this._getOrCreateRecordForKey(H,R);g=this._insertBeforeOrAppend(g,te)}}),g){g._prev&&(g._prev._next=null),this._removalsHead=g;for(let R=g;null!==R;R=R._nextRemoved)R===this._mapHead&&(this._mapHead=null),this._records.delete(R.key),R._nextRemoved=R._next,R.previousValue=R.currentValue,R.currentValue=null,R._prev=null,R._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(p,g){if(p){const R=p._prev;return g._next=p,g._prev=R,p._prev=g,R&&(R._next=g),p===this._mapHead&&(this._mapHead=g),this._appendAfter=p,p}return this._appendAfter?(this._appendAfter._next=g,g._prev=this._appendAfter):this._mapHead=g,this._appendAfter=g,null}_getOrCreateRecordForKey(p,g){if(this._records.has(p)){const H=this._records.get(p);this._maybeAddToChanges(H,g);const te=H._prev,ve=H._next;return te&&(te._next=ve),ve&&(ve._prev=te),H._next=null,H._prev=null,H}const R=new tA(p);return this._records.set(p,R),R.currentValue=g,this._addToAdditions(R),R}_reset(){if(this.isDirty){let p;for(this._previousMapHead=this._mapHead,p=this._previousMapHead;null!==p;p=p._next)p._nextPrevious=p._next;for(p=this._changesHead;null!==p;p=p._nextChanged)p.previousValue=p.currentValue;for(p=this._additionsHead;null!=p;p=p._nextAdded)p.previousValue=p.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(p,g){Object.is(g,p.currentValue)||(p.previousValue=p.currentValue,p.currentValue=g,this._addToChanges(p))}_addToAdditions(p){null===this._additionsHead?this._additionsHead=this._additionsTail=p:(this._additionsTail._nextAdded=p,this._additionsTail=p)}_addToChanges(p){null===this._changesHead?this._changesHead=this._changesTail=p:(this._changesTail._nextChanged=p,this._changesTail=p)}_forEach(p,g){p instanceof Map?p.forEach(g):Object.keys(p).forEach(R=>g(p[R],R))}}class tA{constructor(p){this.key=p,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function rC(){return new kE([new qT])}let kE=(()=>{class d{constructor(g){this.factories=g}static create(g,R){if(null!=R){const H=R.factories.slice();g=g.concat(H)}return new d(g)}static extend(g){return{provide:d,useFactory:R=>d.create(g,R||rC()),deps:[[d,new he,new k]]}}find(g){const R=this.factories.find(H=>H.supports(g));if(null!=R)return R;throw new X(901,!1)}}return d.\u0275prov=xn({token:d,providedIn:"root",factory:rC}),d})();function iC(){return new $E([new nC])}let $E=(()=>{class d{constructor(g){this.factories=g}static create(g,R){if(R){const H=R.factories.slice();g=g.concat(H)}return new d(g)}static extend(g){return{provide:d,useFactory:R=>d.create(g,R||iC()),deps:[[d,new he,new k]]}}find(g){const R=this.factories.find(H=>H.supports(g));if(R)return R;throw new X(901,!1)}}return d.\u0275prov=xn({token:d,providedIn:"root",factory:iC}),d})();const oA=BT(null,"core",[]);let sA=(()=>{class d{constructor(g){}}return d.\u0275fac=function(g){return new(g||d)(et(E0))},d.\u0275mod=dr({type:d}),d.\u0275inj=Or({}),d})();function aA(d){return"boolean"==typeof d?d:null!=d&&"false"!==d}function cA(d,p){const g=ji(d),R=p.elementInjector||Pi();return new Gm(g).create(R,p.projectableNodes,p.hostElement,p.environmentInjector)}},20092:(E,C,s)=>{"use strict";s.d(C,{CE:()=>Bi,Cf:()=>de,EJ:()=>vl,F:()=>jo,Fd:()=>oc,Fj:()=>$,JJ:()=>wn,JL:()=>jn,JU:()=>T,K7:()=>yl,Kr:()=>au,NI:()=>Is,Oe:()=>xu,On:()=>hs,Q7:()=>zu,QS:()=>Al,TO:()=>Pr,UX:()=>Vc,Wl:()=>w,YN:()=>Yu,_:()=>ns,_Y:()=>$s,a5:()=>br,cw:()=>tr,gN:()=>jr,kI:()=>se,nJ:()=>Zn,oH:()=>Tn,p4:()=>la,qQ:()=>Ic,sg:()=>Ze,u:()=>ds,u5:()=>zs,vC:()=>ba,wV:()=>Ja,x0:()=>gn});var r=s(64537),a=s(88692),c=s(76666),u=s(35758),e=s(88002);let f=(()=>{class bt{constructor(Je,en){this._renderer=Je,this._elementRef=en,this.onChange=fi=>{},this.onTouched=()=>{}}setProperty(Je,en){this._renderer.setProperty(this._elementRef.nativeElement,Je,en)}registerOnTouched(Je){this.onTouched=Je}registerOnChange(Je){this.onChange=Je}setDisabledState(Je){this.setProperty("disabled",Je)}}return bt.\u0275fac=function(Je){return new(Je||bt)(r.Y36(r.Qsj),r.Y36(r.SBq))},bt.\u0275dir=r.lG2({type:bt}),bt})(),m=(()=>{class bt extends f{}return bt.\u0275fac=function(){let pt;return function(en){return(pt||(pt=r.n5z(bt)))(en||bt)}}(),bt.\u0275dir=r.lG2({type:bt,features:[r.qOj]}),bt})();const T=new r.OlP("NgValueAccessor"),M={provide:T,useExisting:(0,r.Gpc)(()=>w),multi:!0};let w=(()=>{class bt extends m{writeValue(Je){this.setProperty("checked",Je)}}return bt.\u0275fac=function(){let pt;return function(en){return(pt||(pt=r.n5z(bt)))(en||bt)}}(),bt.\u0275dir=r.lG2({type:bt,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Je,en){1&Je&&r.NdJ("change",function(To){return en.onChange(To.target.checked)})("blur",function(){return en.onTouched()})},features:[r._Bn([M]),r.qOj]}),bt})();const D={provide:T,useExisting:(0,r.Gpc)(()=>$),multi:!0},W=new r.OlP("CompositionEventMode");let $=(()=>{class bt extends f{constructor(Je,en,fi){super(Je,en),this._compositionMode=fi,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function U(){const bt=(0,a.q)()?(0,a.q)().getUserAgent():"";return/android (\d+)/.test(bt.toLowerCase())}())}writeValue(Je){this.setProperty("value",Je??"")}_handleInput(Je){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Je)}_compositionStart(){this._composing=!0}_compositionEnd(Je){this._composing=!1,this._compositionMode&&this.onChange(Je)}}return bt.\u0275fac=function(Je){return new(Je||bt)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(W,8))},bt.\u0275dir=r.lG2({type:bt,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Je,en){1&Je&&r.NdJ("input",function(To){return en._handleInput(To.target.value)})("blur",function(){return en.onTouched()})("compositionstart",function(){return en._compositionStart()})("compositionend",function(To){return en._compositionEnd(To.target.value)})},features:[r._Bn([D]),r.qOj]}),bt})();const J=!1;function F(bt){return null==bt||("string"==typeof bt||Array.isArray(bt))&&0===bt.length}function X(bt){return null!=bt&&"number"==typeof bt.length}const de=new r.OlP("NgValidators"),V=new r.OlP("NgAsyncValidators"),ce=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class se{static min(pt){return fe(pt)}static max(pt){return Te(pt)}static required(pt){return $e(pt)}static requiredTrue(pt){return function ge(bt){return!0===bt.value?null:{required:!0}}(pt)}static email(pt){return function Et(bt){return F(bt.value)||ce.test(bt.value)?null:{email:!0}}(pt)}static minLength(pt){return function ot(bt){return pt=>F(pt.value)||!X(pt.value)?null:pt.value.length<bt?{minlength:{requiredLength:bt,actualLength:pt.value.length}}:null}(pt)}static maxLength(pt){return function ct(bt){return pt=>X(pt.value)&&pt.value.length>bt?{maxlength:{requiredLength:bt,actualLength:pt.value.length}}:null}(pt)}static pattern(pt){return function qe(bt){if(!bt)return He;let pt,Je;return"string"==typeof bt?(Je="","^"!==bt.charAt(0)&&(Je+="^"),Je+=bt,"$"!==bt.charAt(bt.length-1)&&(Je+="$"),pt=new RegExp(Je)):(Je=bt.toString(),pt=bt),en=>{if(F(en.value))return null;const fi=en.value;return pt.test(fi)?null:{pattern:{requiredPattern:Je,actualValue:fi}}}}(pt)}static nullValidator(pt){return null}static compose(pt){return pn(pt)}static composeAsync(pt){return At(pt)}}function fe(bt){return pt=>{if(F(pt.value)||F(bt))return null;const Je=parseFloat(pt.value);return!isNaN(Je)&&Je<bt?{min:{min:bt,actual:pt.value}}:null}}function Te(bt){return pt=>{if(F(pt.value)||F(bt))return null;const Je=parseFloat(pt.value);return!isNaN(Je)&&Je>bt?{max:{max:bt,actual:pt.value}}:null}}function $e(bt){return F(bt.value)?{required:!0}:null}function He(bt){return null}function We(bt){return null!=bt}function Le(bt){const pt=(0,r.QGY)(bt)?(0,c.D)(bt):bt;if(J&&!(0,r.CqO)(pt)){let Je="Expected async validator to return Promise or Observable.";throw"object"==typeof bt&&(Je+=" Are you using a synchronous validator where an async validator is expected?"),new r.vHH(-1101,Je)}return pt}function Pt(bt){let pt={};return bt.forEach(Je=>{pt=null!=Je?{...pt,...Je}:pt}),0===Object.keys(pt).length?null:pt}function it(bt,pt){return pt.map(Je=>Je(bt))}function cn(bt){return bt.map(pt=>function Xt(bt){return!bt.validate}(pt)?pt:Je=>pt.validate(Je))}function pn(bt){if(!bt)return null;const pt=bt.filter(We);return 0==pt.length?null:function(Je){return Pt(it(Je,pt))}}function Rn(bt){return null!=bt?pn(cn(bt)):null}function At(bt){if(!bt)return null;const pt=bt.filter(We);return 0==pt.length?null:function(Je){const en=it(Je,pt).map(Le);return(0,u.D)(en).pipe((0,e.U)(Pt))}}function qt(bt){return null!=bt?At(cn(bt)):null}function sn(bt,pt){return null===bt?[pt]:Array.isArray(bt)?[...bt,pt]:[bt,pt]}function fn(bt){return bt._rawValidators}function xn(bt){return bt._rawAsyncValidators}function Kr(bt){return bt?Array.isArray(bt)?bt:[bt]:[]}function Or(bt,pt){return Array.isArray(bt)?bt.includes(pt):bt===pt}function Lr(bt,pt){const Je=Kr(pt);return Kr(bt).forEach(fi=>{Or(Je,fi)||Je.push(fi)}),Je}function ir(bt,pt){return Kr(pt).filter(Je=>!Or(bt,Je))}class Qr{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(pt){this._rawValidators=pt||[],this._composedValidatorFn=Rn(this._rawValidators)}_setAsyncValidators(pt){this._rawAsyncValidators=pt||[],this._composedAsyncValidatorFn=qt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(pt){this._onDestroyCallbacks.push(pt)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(pt=>pt()),this._onDestroyCallbacks=[]}reset(pt){this.control&&this.control.reset(pt)}hasError(pt,Je){return!!this.control&&this.control.hasError(pt,Je)}getError(pt,Je){return this.control?this.control.getError(pt,Je):null}}class jr extends Qr{get formDirective(){return null}get path(){return null}}class br extends Qr{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ht{constructor(pt){this._cd=pt}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let wn=(()=>{class bt extends ht{constructor(Je){super(Je)}}return bt.\u0275fac=function(Je){return new(Je||bt)(r.Y36(br,2))},bt.\u0275dir=r.lG2({type:bt,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Je,en){2&Je&&r.ekj("ng-untouched",en.isUntouched)("ng-touched",en.isTouched)("ng-pristine",en.isPristine)("ng-dirty",en.isDirty)("ng-valid",en.isValid)("ng-invalid",en.isInvalid)("ng-pending",en.isPending)},features:[r.qOj]}),bt})(),jn=(()=>{class bt extends ht{constructor(Je){super(Je)}}return bt.\u0275fac=function(Je){return new(Je||bt)(r.Y36(jr,10))},bt.\u0275dir=r.lG2({type:bt,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Je,en){2&Je&&r.ekj("ng-untouched",en.isUntouched)("ng-touched",en.isTouched)("ng-pristine",en.isPristine)("ng-dirty",en.isDirty)("ng-valid",en.isValid)("ng-invalid",en.isInvalid)("ng-pending",en.isPending)("ng-submitted",en.isSubmitted)},features:[r.qOj]}),bt})();function Hi(bt,pt){return bt?`with name: '${pt}'`:`at index: ${pt}`}const Fe=!1,Ie="VALID",et="INVALID",ze="PENDING",an="DISABLED";function lt(bt){return(gr(bt)?bt.validators:bt)||null}function Pe(bt,pt){return(gr(pt)?pt.asyncValidators:bt)||null}function gr(bt){return null!=bt&&!Array.isArray(bt)&&"object"==typeof bt}function Pn(bt,pt,Je){const en=bt.controls;if(!(pt?Object.keys(en):en).length)throw new r.vHH(1e3,Fe?function Dn(bt){return`\n There are no form controls registered with this ${bt?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(pt):"");if(!en[Je])throw new r.vHH(1001,Fe?function Hn(bt,pt){return`Cannot find form control ${Hi(bt,pt)}`}(pt,Je):"")}function _r(bt,pt,Je){bt._forEachChild((en,fi)=>{if(void 0===Je[fi])throw new r.vHH(1002,Fe?function jt(bt,pt){return`Must supply a value for form control ${Hi(bt,pt)}`}(pt,fi):"")})}class Pr{constructor(pt,Je){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(pt),this._assignAsyncValidators(Je)}get validator(){return this._composedValidatorFn}set validator(pt){this._rawValidators=this._composedValidatorFn=pt}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(pt){this._rawAsyncValidators=this._composedAsyncValidatorFn=pt}get parent(){return this._parent}get valid(){return this.status===Ie}get invalid(){return this.status===et}get pending(){return this.status==ze}get disabled(){return this.status===an}get enabled(){return this.status!==an}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(pt){this._assignValidators(pt)}setAsyncValidators(pt){this._assignAsyncValidators(pt)}addValidators(pt){this.setValidators(Lr(pt,this._rawValidators))}addAsyncValidators(pt){this.setAsyncValidators(Lr(pt,this._rawAsyncValidators))}removeValidators(pt){this.setValidators(ir(pt,this._rawValidators))}removeAsyncValidators(pt){this.setAsyncValidators(ir(pt,this._rawAsyncValidators))}hasValidator(pt){return Or(this._rawValidators,pt)}hasAsyncValidator(pt){return Or(this._rawAsyncValidators,pt)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(pt={}){this.touched=!0,this._parent&&!pt.onlySelf&&this._parent.markAsTouched(pt)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(pt=>pt.markAllAsTouched())}markAsUntouched(pt={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Je=>{Je.markAsUntouched({onlySelf:!0})}),this._parent&&!pt.onlySelf&&this._parent._updateTouched(pt)}markAsDirty(pt={}){this.pristine=!1,this._parent&&!pt.onlySelf&&this._parent.markAsDirty(pt)}markAsPristine(pt={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Je=>{Je.markAsPristine({onlySelf:!0})}),this._parent&&!pt.onlySelf&&this._parent._updatePristine(pt)}markAsPending(pt={}){this.status=ze,!1!==pt.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!pt.onlySelf&&this._parent.markAsPending(pt)}disable(pt={}){const Je=this._parentMarkedDirty(pt.onlySelf);this.status=an,this.errors=null,this._forEachChild(en=>{en.disable({...pt,onlySelf:!0})}),this._updateValue(),!1!==pt.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...pt,skipPristineCheck:Je}),this._onDisabledChange.forEach(en=>en(!0))}enable(pt={}){const Je=this._parentMarkedDirty(pt.onlySelf);this.status=Ie,this._forEachChild(en=>{en.enable({...pt,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:pt.emitEvent}),this._updateAncestors({...pt,skipPristineCheck:Je}),this._onDisabledChange.forEach(en=>en(!1))}_updateAncestors(pt){this._parent&&!pt.onlySelf&&(this._parent.updateValueAndValidity(pt),pt.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(pt){this._parent=pt}getRawValue(){return this.value}updateValueAndValidity(pt={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ie||this.status===ze)&&this._runAsyncValidator(pt.emitEvent)),!1!==pt.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!pt.onlySelf&&this._parent.updateValueAndValidity(pt)}_updateTreeValidity(pt={emitEvent:!0}){this._forEachChild(Je=>Je._updateTreeValidity(pt)),this.updateValueAndValidity({onlySelf:!0,emitEvent:pt.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?an:Ie}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(pt){if(this.asyncValidator){this.status=ze,this._hasOwnPendingAsyncValidator=!0;const Je=Le(this.asyncValidator(this));this._asyncValidationSubscription=Je.subscribe(en=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(en,{emitEvent:pt})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(pt,Je={}){this.errors=pt,this._updateControlsErrors(!1!==Je.emitEvent)}get(pt){let Je=pt;return null==Je||(Array.isArray(Je)||(Je=Je.split(".")),0===Je.length)?null:Je.reduce((en,fi)=>en&&en._find(fi),this)}getError(pt,Je){const en=Je?this.get(Je):this;return en&&en.errors?en.errors[pt]:null}hasError(pt,Je){return!!this.getError(pt,Je)}get root(){let pt=this;for(;pt._parent;)pt=pt._parent;return pt}_updateControlsErrors(pt){this.status=this._calculateStatus(),pt&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(pt)}_initObservables(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}_calculateStatus(){return this._allControlsDisabled()?an:this.errors?et:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ze)?ze:this._anyControlsHaveStatus(et)?et:Ie}_anyControlsHaveStatus(pt){return this._anyControls(Je=>Je.status===pt)}_anyControlsDirty(){return this._anyControls(pt=>pt.dirty)}_anyControlsTouched(){return this._anyControls(pt=>pt.touched)}_updatePristine(pt={}){this.pristine=!this._anyControlsDirty(),this._parent&&!pt.onlySelf&&this._parent._updatePristine(pt)}_updateTouched(pt={}){this.touched=this._anyControlsTouched(),this._parent&&!pt.onlySelf&&this._parent._updateTouched(pt)}_registerOnCollectionChange(pt){this._onCollectionChange=pt}_setUpdateStrategy(pt){gr(pt)&&null!=pt.updateOn&&(this._updateOn=pt.updateOn)}_parentMarkedDirty(pt){return!pt&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(pt){return null}_assignValidators(pt){this._rawValidators=Array.isArray(pt)?pt.slice():pt,this._composedValidatorFn=function Rt(bt){return Array.isArray(bt)?Rn(bt):bt||null}(this._rawValidators)}_assignAsyncValidators(pt){this._rawAsyncValidators=Array.isArray(pt)?pt.slice():pt,this._composedAsyncValidatorFn=function qn(bt){return Array.isArray(bt)?qt(bt):bt||null}(this._rawAsyncValidators)}}class tr extends Pr{constructor(pt,Je,en){super(lt(Je),Pe(en,Je)),this.controls=pt,this._initObservables(),this._setUpdateStrategy(Je),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(pt,Je){return this.controls[pt]?this.controls[pt]:(this.controls[pt]=Je,Je.setParent(this),Je._registerOnCollectionChange(this._onCollectionChange),Je)}addControl(pt,Je,en={}){this.registerControl(pt,Je),this.updateValueAndValidity({emitEvent:en.emitEvent}),this._onCollectionChange()}removeControl(pt,Je={}){this.controls[pt]&&this.controls[pt]._registerOnCollectionChange(()=>{}),delete this.controls[pt],this.updateValueAndValidity({emitEvent:Je.emitEvent}),this._onCollectionChange()}setControl(pt,Je,en={}){this.controls[pt]&&this.controls[pt]._registerOnCollectionChange(()=>{}),delete this.controls[pt],Je&&this.registerControl(pt,Je),this.updateValueAndValidity({emitEvent:en.emitEvent}),this._onCollectionChange()}contains(pt){return this.controls.hasOwnProperty(pt)&&this.controls[pt].enabled}setValue(pt,Je={}){_r(this,!0,pt),Object.keys(pt).forEach(en=>{Pn(this,!0,en),this.controls[en].setValue(pt[en],{onlySelf:!0,emitEvent:Je.emitEvent})}),this.updateValueAndValidity(Je)}patchValue(pt,Je={}){null!=pt&&(Object.keys(pt).forEach(en=>{const fi=this.controls[en];fi&&fi.patchValue(pt[en],{onlySelf:!0,emitEvent:Je.emitEvent})}),this.updateValueAndValidity(Je))}reset(pt={},Je={}){this._forEachChild((en,fi)=>{en.reset(pt[fi],{onlySelf:!0,emitEvent:Je.emitEvent})}),this._updatePristine(Je),this._updateTouched(Je),this.updateValueAndValidity(Je)}getRawValue(){return this._reduceChildren({},(pt,Je,en)=>(pt[en]=Je.getRawValue(),pt))}_syncPendingControls(){let pt=this._reduceChildren(!1,(Je,en)=>!!en._syncPendingControls()||Je);return pt&&this.updateValueAndValidity({onlySelf:!0}),pt}_forEachChild(pt){Object.keys(this.controls).forEach(Je=>{const en=this.controls[Je];en&&pt(en,Je)})}_setUpControls(){this._forEachChild(pt=>{pt.setParent(this),pt._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(pt){for(const[Je,en]of Object.entries(this.controls))if(this.contains(Je)&&pt(en))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Je,en,fi)=>((en.enabled||this.disabled)&&(Je[fi]=en.value),Je))}_reduceChildren(pt,Je){let en=pt;return this._forEachChild((fi,To)=>{en=Je(en,fi,To)}),en}_allControlsDisabled(){for(const pt of Object.keys(this.controls))if(this.controls[pt].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(pt){return this.controls.hasOwnProperty(pt)?this.controls[pt]:null}}const Zn=tr;class Zt extends tr{}const Ge=new r.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ot}),Ot="always";function mn(bt,pt){return[...pt.path,bt]}function wr(bt,pt,Je=Ot){Ko(bt,pt),pt.valueAccessor.writeValue(bt.value),(bt.disabled||"always"===Je)&&pt.valueAccessor.setDisabledState?.(bt.disabled),function dr(bt,pt){pt.valueAccessor.registerOnChange(Je=>{bt._pendingValue=Je,bt._pendingChange=!0,bt._pendingDirty=!0,"change"===bt.updateOn&&ti(bt,pt)})}(bt,pt),function Vr(bt,pt){const Je=(en,fi)=>{pt.valueAccessor.writeValue(en),fi&&pt.viewToModelUpdate(en)};bt.registerOnChange(Je),pt._registerOnDestroy(()=>{bt._unregisterOnChange(Je)})}(bt,pt),function Ni(bt,pt){pt.valueAccessor.registerOnTouched(()=>{bt._pendingTouched=!0,"blur"===bt.updateOn&&bt._pendingChange&&ti(bt,pt),"submit"!==bt.updateOn&&bt.markAsTouched()})}(bt,pt),function Ai(bt,pt){if(pt.valueAccessor.setDisabledState){const Je=en=>{pt.valueAccessor.setDisabledState(en)};bt.registerOnDisabledChange(Je),pt._registerOnDestroy(()=>{bt._unregisterOnDisabledChange(Je)})}}(bt,pt)}function Ti(bt,pt,Je=!0){const en=()=>{};pt.valueAccessor&&(pt.valueAccessor.registerOnChange(en),pt.valueAccessor.registerOnTouched(en)),_s(bt,pt),bt&&(pt._invokeOnDestroyCallbacks(),bt._registerOnCollectionChange(()=>{}))}function Ci(bt,pt){bt.forEach(Je=>{Je.registerOnValidatorChange&&Je.registerOnValidatorChange(pt)})}function Ko(bt,pt){const Je=fn(bt);null!==pt.validator?bt.setValidators(sn(Je,pt.validator)):"function"==typeof Je&&bt.setValidators([Je]);const en=xn(bt);null!==pt.asyncValidator?bt.setAsyncValidators(sn(en,pt.asyncValidator)):"function"==typeof en&&bt.setAsyncValidators([en]);const fi=()=>bt.updateValueAndValidity();Ci(pt._rawValidators,fi),Ci(pt._rawAsyncValidators,fi)}function _s(bt,pt){let Je=!1;if(null!==bt){if(null!==pt.validator){const fi=fn(bt);if(Array.isArray(fi)&&fi.length>0){const To=fi.filter(Ya=>Ya!==pt.validator);To.length!==fi.length&&(Je=!0,bt.setValidators(To))}}if(null!==pt.asyncValidator){const fi=xn(bt);if(Array.isArray(fi)&&fi.length>0){const To=fi.filter(Ya=>Ya!==pt.asyncValidator);To.length!==fi.length&&(Je=!0,bt.setAsyncValidators(To))}}}const en=()=>{};return Ci(pt._rawValidators,en),Ci(pt._rawAsyncValidators,en),Je}function ti(bt,pt){bt._pendingDirty&&bt.markAsDirty(),bt.setValue(bt._pendingValue,{emitModelToViewChange:!1}),pt.viewToModelUpdate(bt._pendingValue),bt._pendingChange=!1}function wi(bt,pt){Ko(bt,pt)}function Vt(bt,pt){if(!bt.hasOwnProperty("model"))return!1;const Je=bt.model;return!!Je.isFirstChange()||!Object.is(pt,Je.currentValue)}function Bn(bt,pt){bt._syncPendingControls(),pt.forEach(Je=>{const en=Je.control;"submit"===en.updateOn&&en._pendingChange&&(Je.viewToModelUpdate(en._pendingValue),en._pendingChange=!1)})}function ci(bt,pt){if(!pt)return null;let Je,en,fi;return Array.isArray(pt),pt.forEach(To=>{To.constructor===$?Je=To:function bn(bt){return Object.getPrototypeOf(bt.constructor)===m}(To)?en=To:fi=To}),fi||en||Je||null}const es={provide:jr,useExisting:(0,r.Gpc)(()=>jo)},ts=(()=>Promise.resolve())();let jo=(()=>{class bt extends jr{constructor(Je,en,fi){super(),this.callSetDisabledState=fi,this.submitted=!1,this._directives=new Set,this.ngSubmit=new r.vpe,this.form=new tr({},Rn(Je),qt(en))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Je){ts.then(()=>{const en=this._findContainer(Je.path);Je.control=en.registerControl(Je.name,Je.control),wr(Je.control,Je,this.callSetDisabledState),Je.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Je)})}getControl(Je){return this.form.get(Je.path)}removeControl(Je){ts.then(()=>{const en=this._findContainer(Je.path);en&&en.removeControl(Je.name),this._directives.delete(Je)})}addFormGroup(Je){ts.then(()=>{const en=this._findContainer(Je.path),fi=new tr({});wi(fi,Je),en.registerControl(Je.name,fi),fi.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Je){ts.then(()=>{const en=this._findContainer(Je.path);en&&en.removeControl(Je.name)})}getFormGroup(Je){return this.form.get(Je.path)}updateModel(Je,en){ts.then(()=>{this.form.get(Je.path).setValue(en)})}setValue(Je){this.control.setValue(Je)}onSubmit(Je){return this.submitted=!0,Bn(this.form,this._directives),this.ngSubmit.emit(Je),"dialog"===Je?.target?.method}onReset(){this.resetForm()}resetForm(Je){this.form.reset(Je),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Je){return Je.pop(),Je.length?this.form.get(Je):this.form}}return bt.\u0275fac=function(Je){return new(Je||bt)(r.Y36(de,10),r.Y36(V,10),r.Y36(Ge,8))},bt.\u0275dir=r.lG2({type:bt,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Je,en){1&Je&&r.NdJ("submit",function(To){return en.onSubmit(To)})("reset",function(){return en.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([es]),r.qOj]}),bt})();function ss(bt,pt){const Je=bt.indexOf(pt);Je>-1&&bt.splice(Je,1)}function gs(bt){return"object"==typeof bt&&null!==bt&&2===Object.keys(bt).length&&"value"in bt&&"disabled"in bt}const Is=class extends Pr{constructor(pt=null,Je,en){super(lt(Je),Pe(en,Je)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(pt),this._setUpdateStrategy(Je),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),gr(Je)&&(Je.nonNullable||Je.initialValueIsDefault)&&(this.defaultValue=gs(pt)?pt.value:pt)}setValue(pt,Je={}){this.value=this._pendingValue=pt,this._onChange.length&&!1!==Je.emitModelToViewChange&&this._onChange.forEach(en=>en(this.value,!1!==Je.emitViewToModelChange)),this.updateValueAndValidity(Je)}patchValue(pt,Je={}){this.setValue(pt,Je)}reset(pt=this.defaultValue,Je={}){this._applyFormState(pt),this.markAsPristine(Je),this.markAsUntouched(Je),this.setValue(this.value,Je),this._pendingChange=!1}_updateValue(){}_anyControls(pt){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(pt){this._onChange.push(pt)}_unregisterOnChange(pt){ss(this._onChange,pt)}registerOnDisabledChange(pt){this._onDisabledChange.push(pt)}_unregisterOnDisabledChange(pt){ss(this._onDisabledChange,pt)}_forEachChild(pt){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(pt){gs(pt)?(this.value=this._pendingValue=pt.value,pt.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=pt}},la=Is;let jl=(()=>{class bt extends jr{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return mn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return bt.\u0275fac=function(){let pt;return function(en){return(pt||(pt=r.n5z(bt)))(en||bt)}}(),bt.\u0275dir=r.lG2({type:bt,features:[r.qOj]}),bt})();const Ha={provide:br,useExisting:(0,r.Gpc)(()=>hs)},Ts=(()=>Promise.resolve())();let hs=(()=>{class bt extends br{constructor(Je,en,fi,To,Ya,mi){super(),this._changeDetectorRef=Ya,this.callSetDisabledState=mi,this.control=new Is,this._registered=!1,this.update=new r.vpe,this._parent=Je,this._setValidators(en),this._setAsyncValidators(fi),this.valueAccessor=ci(0,To)}ngOnChanges(Je){if(this._checkForErrors(),!this._registered||"name"in Je){if(this._registered&&(this._checkName(),this.formDirective)){const en=Je.name.previousValue;this.formDirective.removeControl({name:en,path:this._getPath(en)})}this._setUpControl()}"isDisabled"in Je&&this._updateDisabled(Je),Vt(Je,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(Je){this.viewModel=Je,this.update.emit(Je)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){wr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Je){Ts.then(()=>{this.control.setValue(Je,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Je){const en=Je.isDisabled.currentValue,fi=0!==en&&(0,r.D6c)(en);Ts.then(()=>{fi&&!this.control.disabled?this.control.disable():!fi&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Je){return this._parent?mn(Je,this._parent):[Je]}}return bt.\u0275fac=function(Je){return new(Je||bt)(r.Y36(jr,9),r.Y36(de,10),r.Y36(V,10),r.Y36(T,10),r.Y36(r.sBO,8),r.Y36(Ge,8))},bt.\u0275dir=r.lG2({type:bt,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([Ha]),r.qOj,r.TTD]}),bt})(),$s=(()=>{class bt{}return bt.\u0275fac=function(Je){return new(Je||bt)},bt.\u0275dir=r.lG2({type:bt,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),bt})();const Aa={provide:T,useExisting:(0,r.Gpc)(()=>Ja),multi:!0};let Ja=(()=>{class bt extends m{writeValue(Je){this.setProperty("value",Je??"")}registerOnChange(Je){this.onChange=en=>{Je(""==en?null:parseFloat(en))}}}return bt.\u0275fac=function(){let pt;return function(en){return(pt||(pt=r.n5z(bt)))(en||bt)}}(),bt.\u0275dir=r.lG2({type:bt,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Je,en){1&Je&&r.NdJ("input",function(To){return en.onChange(To.target.value)})("blur",function(){return en.onTouched()})},features:[r._Bn([Aa]),r.qOj]}),bt})();const fa={provide:T,useExisting:(0,r.Gpc)(()=>ns),multi:!0};let No=(()=>{class bt{}return bt.\u0275fac=function(Je){return new(Je||bt)},bt.\u0275mod=r.oAB({type:bt}),bt.\u0275inj=r.cJS({}),bt})(),Cs=(()=>{class bt{constructor(){this._accessors=[]}add(Je,en){this._accessors.push([Je,en])}remove(Je){for(let en=this._accessors.length-1;en>=0;--en)if(this._accessors[en][1]===Je)return void this._accessors.splice(en,1)}select(Je){this._accessors.forEach(en=>{this._isSameGroup(en,Je)&&en[1]!==Je&&en[1].fireUncheck(Je.value)})}_isSameGroup(Je,en){return!!Je[0].control&&Je[0]._parent===en._control._parent&&Je[1].name===en.name}}return bt.\u0275fac=function(Je){return new(Je||bt)},bt.\u0275prov=r.Yz7({token:bt,factory:bt.\u0275fac,providedIn:No}),bt})(),ns=(()=>{class bt extends m{constructor(Je,en,fi,To){super(Je,en),this._registry=fi,this._injector=To,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,r.f3M)(Ge,{optional:!0})??Ot}ngOnInit(){this._control=this._injector.get(br),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(Je){this._state=Je===this.value,this.setProperty("checked",this._state)}registerOnChange(Je){this._fn=Je,this.onChange=()=>{Je(this.value),this._registry.select(this)}}setDisabledState(Je){(this.setDisabledStateFired||Je||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",Je),this.setDisabledStateFired=!0}fireUncheck(Je){this.writeValue(Je)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return bt.\u0275fac=function(Je){return new(Je||bt)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(Cs),r.Y36(r.zs3))},bt.\u0275dir=r.lG2({type:bt,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(Je,en){1&Je&&r.NdJ("change",function(){return en.onChange()})("blur",function(){return en.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r._Bn([fa]),r.qOj]}),bt})();const io=new r.OlP("NgModelWithFormControlWarning"),gt={provide:br,useExisting:(0,r.Gpc)(()=>Tn)};let Tn=(()=>{class bt extends br{set isDisabled(Je){}constructor(Je,en,fi,To,Ya){super(),this._ngModelWarningConfig=To,this.callSetDisabledState=Ya,this.update=new r.vpe,this._ngModelWarningSent=!1,this._setValidators(Je),this._setAsyncValidators(en),this.valueAccessor=ci(0,fi)}ngOnChanges(Je){if(this._isControlChanged(Je)){const en=Je.form.previousValue;en&&Ti(en,this,!1),wr(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Vt(Je,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ti(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Je){this.viewModel=Je,this.update.emit(Je)}_isControlChanged(Je){return Je.hasOwnProperty("form")}}return bt._ngModelWarningSentOnce=!1,bt.\u0275fac=function(Je){return new(Je||bt)(r.Y36(de,10),r.Y36(V,10),r.Y36(T,10),r.Y36(io,8),r.Y36(Ge,8))},bt.\u0275dir=r.lG2({type:bt,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r._Bn([gt]),r.qOj,r.TTD]}),bt})();const ie={provide:jr,useExisting:(0,r.Gpc)(()=>Ze)};let Ze=(()=>{class bt extends jr{constructor(Je,en,fi){super(),this.callSetDisabledState=fi,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.vpe,this._setValidators(Je),this._setAsyncValidators(en)}ngOnChanges(Je){this._checkFormPresent(),Je.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(_s(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Je){const en=this.form.get(Je.path);return wr(en,Je,this.callSetDisabledState),en.updateValueAndValidity({emitEvent:!1}),this.directives.push(Je),en}getControl(Je){return this.form.get(Je.path)}removeControl(Je){Ti(Je.control||null,Je,!1),function _o(bt,pt){const Je=bt.indexOf(pt);Je>-1&&bt.splice(Je,1)}(this.directives,Je)}addFormGroup(Je){this._setUpFormContainer(Je)}removeFormGroup(Je){this._cleanUpFormContainer(Je)}getFormGroup(Je){return this.form.get(Je.path)}addFormArray(Je){this._setUpFormContainer(Je)}removeFormArray(Je){this._cleanUpFormContainer(Je)}getFormArray(Je){return this.form.get(Je.path)}updateModel(Je,en){this.form.get(Je.path).setValue(en)}onSubmit(Je){return this.submitted=!0,Bn(this.form,this.directives),this.ngSubmit.emit(Je),"dialog"===Je?.target?.method}onReset(){this.resetForm()}resetForm(Je){this.form.reset(Je),this.submitted=!1}_updateDomValue(){this.directives.forEach(Je=>{const en=Je.control,fi=this.form.get(Je.path);en!==fi&&(Ti(en||null,Je),(bt=>bt instanceof Is)(fi)&&(wr(fi,Je,this.callSetDisabledState),Je.control=fi))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Je){const en=this.form.get(Je.path);wi(en,Je),en.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Je){if(this.form){const en=this.form.get(Je.path);en&&function ji(bt,pt){return _s(bt,pt)}(en,Je)&&en.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Ko(this.form,this),this._oldForm&&_s(this._oldForm,this)}_checkFormPresent(){}}return bt.\u0275fac=function(Je){return new(Je||bt)(r.Y36(de,10),r.Y36(V,10),r.Y36(Ge,8))},bt.\u0275dir=r.lG2({type:bt,selectors:[["","formGroup",""]],hostBindings:function(Je,en){1&Je&&r.NdJ("submit",function(To){return en.onSubmit(To)})("reset",function(){return en.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([ie]),r.qOj,r.TTD]}),bt})();const Jt={provide:jr,useExisting:(0,r.Gpc)(()=>gn)};let gn=(()=>{class bt extends jl{constructor(Je,en,fi){super(),this._parent=Je,this._setValidators(en),this._setAsyncValidators(fi)}_checkParentType(){Xi(this._parent)}}return bt.\u0275fac=function(Je){return new(Je||bt)(r.Y36(jr,13),r.Y36(de,10),r.Y36(V,10))},bt.\u0275dir=r.lG2({type:bt,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r._Bn([Jt]),r.qOj]}),bt})();const vi={provide:jr,useExisting:(0,r.Gpc)(()=>Bi)};let Bi=(()=>{class bt extends jr{constructor(Je,en,fi){super(),this._parent=Je,this._setValidators(en),this._setAsyncValidators(fi)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return mn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Xi(this._parent)}}return bt.\u0275fac=function(Je){return new(Je||bt)(r.Y36(jr,13),r.Y36(de,10),r.Y36(V,10))},bt.\u0275dir=r.lG2({type:bt,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r._Bn([vi]),r.qOj]}),bt})();function Xi(bt){return!(bt instanceof gn||bt instanceof Ze||bt instanceof Bi)}const ws={provide:br,useExisting:(0,r.Gpc)(()=>ds)};let ds=(()=>{class bt extends br{set isDisabled(Je){}constructor(Je,en,fi,To,Ya){super(),this._ngModelWarningConfig=Ya,this._added=!1,this.update=new r.vpe,this._ngModelWarningSent=!1,this._parent=Je,this._setValidators(en),this._setAsyncValidators(fi),this.valueAccessor=ci(0,To)}ngOnChanges(Je){this._added||this._setUpControl(),Vt(Je,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Je){this.viewModel=Je,this.update.emit(Je)}get path(){return mn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return bt._ngModelWarningSentOnce=!1,bt.\u0275fac=function(Je){return new(Je||bt)(r.Y36(jr,13),r.Y36(de,10),r.Y36(V,10),r.Y36(T,10),r.Y36(io,8))},bt.\u0275dir=r.lG2({type:bt,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r._Bn([ws]),r.qOj,r.TTD]}),bt})();const qs={provide:T,useExisting:(0,r.Gpc)(()=>vl),multi:!0};function Js(bt,pt){return null==bt?`${pt}`:(pt&&"object"==typeof pt&&(pt="Object"),`${bt}: ${pt}`.slice(0,50))}let vl=(()=>{class bt extends m{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Je){this._compareWith=Je}writeValue(Je){this.value=Je;const fi=Js(this._getOptionId(Je),Je);this.setProperty("value",fi)}registerOnChange(Je){this.onChange=en=>{this.value=this._getOptionValue(en),Je(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(Je){for(const en of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(en),Je))return en;return null}_getOptionValue(Je){const en=function Ll(bt){return bt.split(":")[0]}(Je);return this._optionMap.has(en)?this._optionMap.get(en):Je}}return bt.\u0275fac=function(){let pt;return function(en){return(pt||(pt=r.n5z(bt)))(en||bt)}}(),bt.\u0275dir=r.lG2({type:bt,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(Je,en){1&Je&&r.NdJ("change",function(To){return en.onChange(To.target.value)})("blur",function(){return en.onTouched()})},inputs:{compareWith:"compareWith"},features:[r._Bn([qs]),r.qOj]}),bt})(),Yu=(()=>{class bt{constructor(Je,en,fi){this._element=Je,this._renderer=en,this._select=fi,this._select&&(this.id=this._select._registerOption())}set ngValue(Je){null!=this._select&&(this._select._optionMap.set(this.id,Je),this._setElementValue(Js(this.id,Je)),this._select.writeValue(this._select.value))}set value(Je){this._setElementValue(Je),this._select&&this._select.writeValue(this._select.value)}_setElementValue(Je){this._renderer.setProperty(this._element.nativeElement,"value",Je)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return bt.\u0275fac=function(Je){return new(Je||bt)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(vl,9))},bt.\u0275dir=r.lG2({type:bt,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),bt})();const Nc={provide:T,useExisting:(0,r.Gpc)(()=>yl),multi:!0};function qu(bt,pt){return null==bt?`${pt}`:("string"==typeof pt&&(pt=`'${pt}'`),pt&&"object"==typeof pt&&(pt="Object"),`${bt}: ${pt}`.slice(0,50))}let yl=(()=>{class bt extends m{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(Je){this._compareWith=Je}writeValue(Je){let en;if(this.value=Je,Array.isArray(Je)){const fi=Je.map(To=>this._getOptionId(To));en=(To,Ya)=>{To._setSelected(fi.indexOf(Ya.toString())>-1)}}else en=(fi,To)=>{fi._setSelected(!1)};this._optionMap.forEach(en)}registerOnChange(Je){this.onChange=en=>{const fi=[],To=en.selectedOptions;if(void 0!==To){const Ya=To;for(let mi=0;mi<Ya.length;mi++){const Qs=this._getOptionValue(Ya[mi].value);fi.push(Qs)}}else{const Ya=en.options;for(let mi=0;mi<Ya.length;mi++){const Hs=Ya[mi];if(Hs.selected){const Qs=this._getOptionValue(Hs.value);fi.push(Qs)}}}this.value=fi,Je(fi)}}_registerOption(Je){const en=(this._idCounter++).toString();return this._optionMap.set(en,Je),en}_getOptionId(Je){for(const en of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(en)._value,Je))return en;return null}_getOptionValue(Je){const en=function Ol(bt){return bt.split(":")[0]}(Je);return this._optionMap.has(en)?this._optionMap.get(en)._value:Je}}return bt.\u0275fac=function(){let pt;return function(en){return(pt||(pt=r.n5z(bt)))(en||bt)}}(),bt.\u0275dir=r.lG2({type:bt,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(Je,en){1&Je&&r.NdJ("change",function(To){return en.onChange(To.target)})("blur",function(){return en.onTouched()})},inputs:{compareWith:"compareWith"},features:[r._Bn([Nc]),r.qOj]}),bt})(),au=(()=>{class bt{constructor(Je,en,fi){this._element=Je,this._renderer=en,this._select=fi,this._select&&(this.id=this._select._registerOption(this))}set ngValue(Je){null!=this._select&&(this._value=Je,this._setElementValue(qu(this.id,Je)),this._select.writeValue(this._select.value))}set value(Je){this._select?(this._value=Je,this._setElementValue(qu(this.id,Je)),this._select.writeValue(this._select.value)):this._setElementValue(Je)}_setElementValue(Je){this._renderer.setProperty(this._element.nativeElement,"value",Je)}_setSelected(Je){this._renderer.setProperty(this._element.nativeElement,"selected",Je)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return bt.\u0275fac=function(Je){return new(Je||bt)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(yl,9))},bt.\u0275dir=r.lG2({type:bt,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),bt})();function yu(bt){return"number"==typeof bt?bt:parseFloat(bt)}let ju=(()=>{class bt{constructor(){this._validator=He}ngOnChanges(Je){if(this.inputName in Je){const en=this.normalizeInput(Je[this.inputName].currentValue);this._enabled=this.enabled(en),this._validator=this._enabled?this.createValidator(en):He,this._onChange&&this._onChange()}}validate(Je){return this._validator(Je)}registerOnValidatorChange(Je){this._onChange=Je}enabled(Je){return null!=Je}}return bt.\u0275fac=function(Je){return new(Je||bt)},bt.\u0275dir=r.lG2({type:bt,features:[r.TTD]}),bt})();const el={provide:de,useExisting:(0,r.Gpc)(()=>oc),multi:!0};let oc=(()=>{class bt extends ju{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Je=>yu(Je),this.createValidator=Je=>Te(Je)}}return bt.\u0275fac=function(){let pt;return function(en){return(pt||(pt=r.n5z(bt)))(en||bt)}}(),bt.\u0275dir=r.lG2({type:bt,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(Je,en){2&Je&&r.uIk("max",en._enabled?en.max:null)},inputs:{max:"max"},features:[r._Bn([el]),r.qOj]}),bt})();const Xl={provide:de,useExisting:(0,r.Gpc)(()=>Ic),multi:!0};let Ic=(()=>{class bt extends ju{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Je=>yu(Je),this.createValidator=Je=>fe(Je)}}return bt.\u0275fac=function(){let pt;return function(en){return(pt||(pt=r.n5z(bt)))(en||bt)}}(),bt.\u0275dir=r.lG2({type:bt,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(Je,en){2&Je&&r.uIk("min",en._enabled?en.min:null)},inputs:{min:"min"},features:[r._Bn([Xl]),r.qOj]}),bt})();const Gs={provide:de,useExisting:(0,r.Gpc)(()=>zu),multi:!0};let zu=(()=>{class bt extends ju{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=r.D6c,this.createValidator=Je=>$e}enabled(Je){return Je}}return bt.\u0275fac=function(){let pt;return function(en){return(pt||(pt=r.n5z(bt)))(en||bt)}}(),bt.\u0275dir=r.lG2({type:bt,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Je,en){2&Je&&r.uIk("required",en._enabled?"":null)},inputs:{required:"required"},features:[r._Bn([Gs]),r.qOj]}),bt})(),Ru=(()=>{class bt{}return bt.\u0275fac=function(Je){return new(Je||bt)},bt.\u0275mod=r.oAB({type:bt}),bt.\u0275inj=r.cJS({imports:[No]}),bt})();class xu extends Pr{constructor(pt,Je,en){super(lt(Je),Pe(en,Je)),this.controls=pt,this._initObservables(),this._setUpdateStrategy(Je),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(pt){return this.controls[this._adjustIndex(pt)]}push(pt,Je={}){this.controls.push(pt),this._registerControl(pt),this.updateValueAndValidity({emitEvent:Je.emitEvent}),this._onCollectionChange()}insert(pt,Je,en={}){this.controls.splice(pt,0,Je),this._registerControl(Je),this.updateValueAndValidity({emitEvent:en.emitEvent})}removeAt(pt,Je={}){let en=this._adjustIndex(pt);en<0&&(en=0),this.controls[en]&&this.controls[en]._registerOnCollectionChange(()=>{}),this.controls.splice(en,1),this.updateValueAndValidity({emitEvent:Je.emitEvent})}setControl(pt,Je,en={}){let fi=this._adjustIndex(pt);fi<0&&(fi=0),this.controls[fi]&&this.controls[fi]._registerOnCollectionChange(()=>{}),this.controls.splice(fi,1),Je&&(this.controls.splice(fi,0,Je),this._registerControl(Je)),this.updateValueAndValidity({emitEvent:en.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(pt,Je={}){_r(this,!1,pt),pt.forEach((en,fi)=>{Pn(this,!1,fi),this.at(fi).setValue(en,{onlySelf:!0,emitEvent:Je.emitEvent})}),this.updateValueAndValidity(Je)}patchValue(pt,Je={}){null!=pt&&(pt.forEach((en,fi)=>{this.at(fi)&&this.at(fi).patchValue(en,{onlySelf:!0,emitEvent:Je.emitEvent})}),this.updateValueAndValidity(Je))}reset(pt=[],Je={}){this._forEachChild((en,fi)=>{en.reset(pt[fi],{onlySelf:!0,emitEvent:Je.emitEvent})}),this._updatePristine(Je),this._updateTouched(Je),this.updateValueAndValidity(Je)}getRawValue(){return this.controls.map(pt=>pt.getRawValue())}clear(pt={}){this.controls.length<1||(this._forEachChild(Je=>Je._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:pt.emitEvent}))}_adjustIndex(pt){return pt<0?pt+this.length:pt}_syncPendingControls(){let pt=this.controls.reduce((Je,en)=>!!en._syncPendingControls()||Je,!1);return pt&&this.updateValueAndValidity({onlySelf:!0}),pt}_forEachChild(pt){this.controls.forEach((Je,en)=>{pt(Je,en)})}_updateValue(){this.value=this.controls.filter(pt=>pt.enabled||this.disabled).map(pt=>pt.value)}_anyControls(pt){return this.controls.some(Je=>Je.enabled&&pt(Je))}_setUpControls(){this._forEachChild(pt=>this._registerControl(pt))}_allControlsDisabled(){for(const pt of this.controls)if(pt.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(pt){pt.setParent(this),pt._registerOnCollectionChange(this._onCollectionChange)}_find(pt){return this.at(pt)??null}}const ba=xu;function Su(bt){return!!bt&&(void 0!==bt.asyncValidators||void 0!==bt.validators||void 0!==bt.updateOn)}let gc=(()=>{class bt{constructor(){this.useNonNullable=!1}get nonNullable(){const Je=new bt;return Je.useNonNullable=!0,Je}group(Je,en=null){const fi=this._reduceControls(Je);let To={};return Su(en)?To=en:null!==en&&(To.validators=en.validator,To.asyncValidators=en.asyncValidator),new tr(fi,To)}record(Je,en=null){const fi=this._reduceControls(Je);return new Zt(fi,en)}control(Je,en,fi){let To={};return this.useNonNullable?(Su(en)?To=en:(To.validators=en,To.asyncValidators=fi),new Is(Je,{...To,nonNullable:!0})):new Is(Je,en,fi)}array(Je,en,fi){const To=Je.map(Ya=>this._createControl(Ya));return new xu(To,en,fi)}_reduceControls(Je){const en={};return Object.keys(Je).forEach(fi=>{en[fi]=this._createControl(Je[fi])}),en}_createControl(Je){return Je instanceof Is||Je instanceof Pr?Je:Array.isArray(Je)?this.control(Je[0],Je.length>1?Je[1]:null,Je.length>2?Je[2]:null):this.control(Je)}}return bt.\u0275fac=function(Je){return new(Je||bt)},bt.\u0275prov=r.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"}),bt})(),Al=(()=>{class bt extends gc{group(Je,en=null){return super.group(Je,en)}control(Je,en,fi){return super.control(Je,en,fi)}array(Je,en,fi){return super.array(Je,en,fi)}}return bt.\u0275fac=function(){let pt;return function(en){return(pt||(pt=r.n5z(bt)))(en||bt)}}(),bt.\u0275prov=r.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"}),bt})(),zs=(()=>{class bt{static withConfig(Je){return{ngModule:bt,providers:[{provide:Ge,useValue:Je.callSetDisabledState??Ot}]}}}return bt.\u0275fac=function(Je){return new(Je||bt)},bt.\u0275mod=r.oAB({type:bt}),bt.\u0275inj=r.cJS({imports:[Ru]}),bt})(),Vc=(()=>{class bt{static withConfig(Je){return{ngModule:bt,providers:[{provide:io,useValue:Je.warnOnNgModelWithFormControl??"always"},{provide:Ge,useValue:Je.callSetDisabledState??Ot}]}}}return bt.\u0275fac=function(Je){return new(Je||bt)},bt.\u0275mod=r.oAB({type:bt}),bt.\u0275inj=r.cJS({imports:[Ru]}),bt})()},5998:(E,C,s)=>{"use strict";s.d(C,{Dx:()=>ii,H7:()=>Pr,HJ:()=>Hi,b2:()=>Oi,q6:()=>Tt,se:()=>We});var r=s(88692),a=s(64537);class c extends r.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class u extends c{static makeCurrent(){(0,r.HT)(new u)}onAndCancel(dn,Ge,Ot){return dn.addEventListener(Ge,Ot,!1),()=>{dn.removeEventListener(Ge,Ot,!1)}}dispatchEvent(dn,Ge){dn.dispatchEvent(Ge)}remove(dn){dn.parentNode&&dn.parentNode.removeChild(dn)}createElement(dn,Ge){return(Ge=Ge||this.getDefaultDocument()).createElement(dn)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(dn){return dn.nodeType===Node.ELEMENT_NODE}isShadowRoot(dn){return dn instanceof DocumentFragment}getGlobalEventTarget(dn,Ge){return"window"===Ge?window:"document"===Ge?dn:"body"===Ge?dn.body:null}getBaseHref(dn){const Ge=function f(){return e=e||document.querySelector("base"),e?e.getAttribute("href"):null}();return null==Ge?null:function T(Zt){m=m||document.createElement("a"),m.setAttribute("href",Zt);const dn=m.pathname;return"/"===dn.charAt(0)?dn:`/${dn}`}(Ge)}resetBaseElement(){e=null}getUserAgent(){return window.navigator.userAgent}getCookie(dn){return(0,r.Mx)(document.cookie,dn)}}let m,e=null;const M=new a.OlP("TRANSITION_ID"),D=[{provide:a.ip1,useFactory:function w(Zt,dn,Ge){return()=>{Ge.get(a.CZH).donePromise.then(()=>{const Ot=(0,r.q)(),mn=dn.querySelectorAll(`style[ng-transition="${Zt}"]`);for(let wr=0;wr<mn.length;wr++)Ot.remove(mn[wr])})}},deps:[M,r.K0,a.zs3],multi:!0}];let W=(()=>{class Zt{build(){return new XMLHttpRequest}}return Zt.\u0275fac=function(Ge){return new(Ge||Zt)},Zt.\u0275prov=a.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})();const $=new a.OlP("EventManagerPlugins");let J=(()=>{class Zt{constructor(Ge,Ot){this._zone=Ot,this._eventNameToPlugin=new Map,Ge.forEach(mn=>{mn.manager=this}),this._plugins=Ge.slice().reverse()}addEventListener(Ge,Ot,mn){return this._findPluginFor(Ot).addEventListener(Ge,Ot,mn)}addGlobalEventListener(Ge,Ot,mn){return this._findPluginFor(Ot).addGlobalEventListener(Ge,Ot,mn)}getZone(){return this._zone}_findPluginFor(Ge){const Ot=this._eventNameToPlugin.get(Ge);if(Ot)return Ot;const mn=this._plugins;for(let wr=0;wr<mn.length;wr++){const Ti=mn[wr];if(Ti.supports(Ge))return this._eventNameToPlugin.set(Ge,Ti),Ti}throw new Error(`No event manager plugin found for event ${Ge}`)}}return Zt.\u0275fac=function(Ge){return new(Ge||Zt)(a.LFG($),a.LFG(a.R0b))},Zt.\u0275prov=a.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})();class F{constructor(dn){this._doc=dn}addGlobalEventListener(dn,Ge,Ot){const mn=(0,r.q)().getGlobalEventTarget(this._doc,dn);if(!mn)throw new Error(`Unsupported event target ${mn} for event ${Ge}`);return this.addEventListener(mn,Ge,Ot)}}let X=(()=>{class Zt{constructor(){this.usageCount=new Map}addStyles(Ge){for(const Ot of Ge)1===this.changeUsageCount(Ot,1)&&this.onStyleAdded(Ot)}removeStyles(Ge){for(const Ot of Ge)0===this.changeUsageCount(Ot,-1)&&this.onStyleRemoved(Ot)}onStyleRemoved(Ge){}onStyleAdded(Ge){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(Ge,Ot){const mn=this.usageCount;let wr=mn.get(Ge)??0;return wr+=Ot,wr>0?mn.set(Ge,wr):mn.delete(Ge),wr}ngOnDestroy(){for(const Ge of this.getAllStyles())this.onStyleRemoved(Ge);this.usageCount.clear()}}return Zt.\u0275fac=function(Ge){return new(Ge||Zt)},Zt.\u0275prov=a.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})(),de=(()=>{class Zt extends X{constructor(Ge){super(),this.doc=Ge,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(Ge){for(const Ot of this.hostNodes)this.addStyleToHost(Ot,Ge)}onStyleRemoved(Ge){const Ot=this.styleRef;Ot.get(Ge)?.forEach(wr=>wr.remove()),Ot.delete(Ge)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(Ge){this.hostNodes.add(Ge);for(const Ot of this.getAllStyles())this.addStyleToHost(Ge,Ot)}removeHost(Ge){this.hostNodes.delete(Ge)}addStyleToHost(Ge,Ot){const mn=this.doc.createElement("style");mn.textContent=Ot,Ge.appendChild(mn);const wr=this.styleRef.get(Ot);wr?wr.push(mn):this.styleRef.set(Ot,[mn])}resetHostNodes(){const Ge=this.hostNodes;Ge.clear(),Ge.add(this.doc.head)}}return Zt.\u0275fac=function(Ge){return new(Ge||Zt)(a.LFG(r.K0))},Zt.\u0275prov=a.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})();const V={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ce=/%COMP%/g,Et=new a.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function qe(Zt,dn){return dn.flat(100).map(Ge=>Ge.replace(ce,Zt))}function He(Zt){return dn=>{if("__ngUnwrap__"===dn)return Zt;!1===Zt(dn)&&(dn.preventDefault(),dn.returnValue=!1)}}let We=(()=>{class Zt{constructor(Ge,Ot,mn,wr){this.eventManager=Ge,this.sharedStylesHost=Ot,this.appId=mn,this.removeStylesOnCompDestory=wr,this.rendererByCompId=new Map,this.defaultRenderer=new Le(Ge)}createRenderer(Ge,Ot){if(!Ge||!Ot)return this.defaultRenderer;const mn=this.getOrCreateRenderer(Ge,Ot);return mn instanceof Rn?mn.applyToHost(Ge):mn instanceof pn&&mn.applyStyles(),mn}getOrCreateRenderer(Ge,Ot){const mn=this.rendererByCompId;let wr=mn.get(Ot.id);if(!wr){const Ti=this.eventManager,Ci=this.sharedStylesHost,Ai=this.removeStylesOnCompDestory;switch(Ot.encapsulation){case a.ifc.Emulated:wr=new Rn(Ti,Ci,Ot,this.appId,Ai);break;case a.ifc.ShadowDom:return new cn(Ti,Ci,Ge,Ot);default:wr=new pn(Ti,Ci,Ot,Ai)}wr.onDestroy=()=>mn.delete(Ot.id),mn.set(Ot.id,wr)}return wr}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return Zt.\u0275fac=function(Ge){return new(Ge||Zt)(a.LFG(J),a.LFG(de),a.LFG(a.AFp),a.LFG(Et))},Zt.\u0275prov=a.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})();class Le{constructor(dn){this.eventManager=dn,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(dn,Ge){return Ge?document.createElementNS(V[Ge]||Ge,dn):document.createElement(dn)}createComment(dn){return document.createComment(dn)}createText(dn){return document.createTextNode(dn)}appendChild(dn,Ge){(Xt(dn)?dn.content:dn).appendChild(Ge)}insertBefore(dn,Ge,Ot){dn&&(Xt(dn)?dn.content:dn).insertBefore(Ge,Ot)}removeChild(dn,Ge){dn&&dn.removeChild(Ge)}selectRootElement(dn,Ge){let Ot="string"==typeof dn?document.querySelector(dn):dn;if(!Ot)throw new Error(`The selector "${dn}" did not match any elements`);return Ge||(Ot.textContent=""),Ot}parentNode(dn){return dn.parentNode}nextSibling(dn){return dn.nextSibling}setAttribute(dn,Ge,Ot,mn){if(mn){Ge=mn+":"+Ge;const wr=V[mn];wr?dn.setAttributeNS(wr,Ge,Ot):dn.setAttribute(Ge,Ot)}else dn.setAttribute(Ge,Ot)}removeAttribute(dn,Ge,Ot){if(Ot){const mn=V[Ot];mn?dn.removeAttributeNS(mn,Ge):dn.removeAttribute(`${Ot}:${Ge}`)}else dn.removeAttribute(Ge)}addClass(dn,Ge){dn.classList.add(Ge)}removeClass(dn,Ge){dn.classList.remove(Ge)}setStyle(dn,Ge,Ot,mn){mn&(a.JOm.DashCase|a.JOm.Important)?dn.style.setProperty(Ge,Ot,mn&a.JOm.Important?"important":""):dn.style[Ge]=Ot}removeStyle(dn,Ge,Ot){Ot&a.JOm.DashCase?dn.style.removeProperty(Ge):dn.style[Ge]=""}setProperty(dn,Ge,Ot){dn[Ge]=Ot}setValue(dn,Ge){dn.nodeValue=Ge}listen(dn,Ge,Ot){return"string"==typeof dn?this.eventManager.addGlobalEventListener(dn,Ge,He(Ot)):this.eventManager.addEventListener(dn,Ge,He(Ot))}}function Xt(Zt){return"TEMPLATE"===Zt.tagName&&void 0!==Zt.content}class cn extends Le{constructor(dn,Ge,Ot,mn){super(dn),this.sharedStylesHost=Ge,this.hostEl=Ot,this.shadowRoot=Ot.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const wr=qe(mn.id,mn.styles);for(const Ti of wr){const Ci=document.createElement("style");Ci.textContent=Ti,this.shadowRoot.appendChild(Ci)}}nodeOrShadowRoot(dn){return dn===this.hostEl?this.shadowRoot:dn}appendChild(dn,Ge){return super.appendChild(this.nodeOrShadowRoot(dn),Ge)}insertBefore(dn,Ge,Ot){return super.insertBefore(this.nodeOrShadowRoot(dn),Ge,Ot)}removeChild(dn,Ge){return super.removeChild(this.nodeOrShadowRoot(dn),Ge)}parentNode(dn){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(dn)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class pn extends Le{constructor(dn,Ge,Ot,mn,wr=Ot.id){super(dn),this.sharedStylesHost=Ge,this.removeStylesOnCompDestory=mn,this.rendererUsageCount=0,this.styles=qe(wr,Ot.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class Rn extends pn{constructor(dn,Ge,Ot,mn,wr){const Ti=mn+"-"+Ot.id;super(dn,Ge,Ot,wr,Ti),this.contentAttr=function ot(Zt){return"_ngcontent-%COMP%".replace(ce,Zt)}(Ti),this.hostAttr=function ct(Zt){return"_nghost-%COMP%".replace(ce,Zt)}(Ti)}applyToHost(dn){this.applyStyles(),this.setAttribute(dn,this.hostAttr,"")}createElement(dn,Ge){const Ot=super.createElement(dn,Ge);return super.setAttribute(Ot,this.contentAttr,""),Ot}}let At=(()=>{class Zt extends F{constructor(Ge){super(Ge)}supports(Ge){return!0}addEventListener(Ge,Ot,mn){return Ge.addEventListener(Ot,mn,!1),()=>this.removeEventListener(Ge,Ot,mn)}removeEventListener(Ge,Ot,mn){return Ge.removeEventListener(Ot,mn)}}return Zt.\u0275fac=function(Ge){return new(Ge||Zt)(a.LFG(r.K0))},Zt.\u0275prov=a.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})();const qt=["alt","control","meta","shift"],sn={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},fn={alt:Zt=>Zt.altKey,control:Zt=>Zt.ctrlKey,meta:Zt=>Zt.metaKey,shift:Zt=>Zt.shiftKey};let xn=(()=>{class Zt extends F{constructor(Ge){super(Ge)}supports(Ge){return null!=Zt.parseEventName(Ge)}addEventListener(Ge,Ot,mn){const wr=Zt.parseEventName(Ot),Ti=Zt.eventCallback(wr.fullKey,mn,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,r.q)().onAndCancel(Ge,wr.domEventName,Ti))}static parseEventName(Ge){const Ot=Ge.toLowerCase().split("."),mn=Ot.shift();if(0===Ot.length||"keydown"!==mn&&"keyup"!==mn)return null;const wr=Zt._normalizeKey(Ot.pop());let Ti="",Ci=Ot.indexOf("code");if(Ci>-1&&(Ot.splice(Ci,1),Ti="code."),qt.forEach(Ko=>{const _s=Ot.indexOf(Ko);_s>-1&&(Ot.splice(_s,1),Ti+=Ko+".")}),Ti+=wr,0!=Ot.length||0===wr.length)return null;const Ai={};return Ai.domEventName=mn,Ai.fullKey=Ti,Ai}static matchEventFullKeyCode(Ge,Ot){let mn=sn[Ge.key]||Ge.key,wr="";return Ot.indexOf("code.")>-1&&(mn=Ge.code,wr="code."),!(null==mn||!mn)&&(mn=mn.toLowerCase()," "===mn?mn="space":"."===mn&&(mn="dot"),qt.forEach(Ti=>{Ti!==mn&&(0,fn[Ti])(Ge)&&(wr+=Ti+".")}),wr+=mn,wr===Ot)}static eventCallback(Ge,Ot,mn){return wr=>{Zt.matchEventFullKeyCode(wr,Ge)&&mn.runGuarded(()=>Ot(wr))}}static _normalizeKey(Ge){return"esc"===Ge?"escape":Ge}}return Zt.\u0275fac=function(Ge){return new(Ge||Zt)(a.LFG(r.K0))},Zt.\u0275prov=a.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})();const Tt=(0,a.eFA)(a._c5,"browser",[{provide:a.Lbi,useValue:r.bD},{provide:a.g9A,useValue:function jr(){u.makeCurrent()},multi:!0},{provide:r.K0,useFactory:function ht(){return(0,a.RDi)(document),document},deps:[]}]),wn=new a.OlP(""),jn=[{provide:a.rWj,useClass:class U{addToWindow(dn){a.dqk.getAngularTestability=(Ot,mn=!0)=>{const wr=dn.findTestabilityInTree(Ot,mn);if(null==wr)throw new Error("Could not find testability for element.");return wr},a.dqk.getAllAngularTestabilities=()=>dn.getAllTestabilities(),a.dqk.getAllAngularRootElements=()=>dn.getAllRootElements(),a.dqk.frameworkStabilizers||(a.dqk.frameworkStabilizers=[]),a.dqk.frameworkStabilizers.push(Ot=>{const mn=a.dqk.getAllAngularTestabilities();let wr=mn.length,Ti=!1;const Ci=function(Ai){Ti=Ti||Ai,wr--,0==wr&&Ot(Ti)};mn.forEach(function(Ai){Ai.whenStable(Ci)})})}findTestabilityInTree(dn,Ge,Ot){return null==Ge?null:dn.getTestability(Ge)??(Ot?(0,r.q)().isShadowRoot(Ge)?this.findTestabilityInTree(dn,Ge.host,!0):this.findTestabilityInTree(dn,Ge.parentElement,!0):null)}},deps:[]},{provide:a.lri,useClass:a.dDg,deps:[a.R0b,a.eoX,a.rWj]},{provide:a.dDg,useClass:a.dDg,deps:[a.R0b,a.eoX,a.rWj]}],hr=[{provide:a.zSh,useValue:"root"},{provide:a.qLn,useFactory:function br(){return new a.qLn},deps:[]},{provide:$,useClass:At,multi:!0,deps:[r.K0,a.R0b,a.Lbi]},{provide:$,useClass:xn,multi:!0,deps:[r.K0]},{provide:We,useClass:We,deps:[J,de,a.AFp,Et]},{provide:a.FYo,useExisting:We},{provide:X,useExisting:de},{provide:de,useClass:de,deps:[r.K0]},{provide:J,useClass:J,deps:[$,a.R0b]},{provide:r.JF,useClass:W,deps:[]},[]];let Oi=(()=>{class Zt{constructor(Ge){}static withServerTransition(Ge){return{ngModule:Zt,providers:[{provide:a.AFp,useValue:Ge.appId},{provide:M,useExisting:a.AFp},D]}}}return Zt.\u0275fac=function(Ge){return new(Ge||Zt)(a.LFG(wn,12))},Zt.\u0275mod=a.oAB({type:Zt}),Zt.\u0275inj=a.cJS({providers:[...hr,...jn],imports:[r.ez,a.hGG]}),Zt})(),ii=(()=>{class Zt{constructor(Ge){this._doc=Ge}getTitle(){return this._doc.title}setTitle(Ge){this._doc.title=Ge||""}}return Zt.\u0275fac=function(Ge){return new(Ge||Zt)(a.LFG(r.K0))},Zt.\u0275prov=a.Yz7({token:Zt,factory:function(Ge){let Ot=null;return Ot=Ge?new Ge:function Ei(){return new ii((0,a.LFG)(r.K0))}(),Ot},providedIn:"root"}),Zt})();const pr=typeof window<"u"&&window||{};class Eo{constructor(dn,Ge){this.msPerTick=dn,this.numTicks=Ge}}class po{constructor(dn){this.appRef=dn.injector.get(a.z2F)}timeChangeDetection(dn){const Ge=dn&&dn.record,Ot="Change Detection",mn=null!=pr.console.profile;Ge&&mn&&pr.console.profile(Ot);const wr=$i();let Ti=0;for(;Ti<5||$i()-wr<500;)this.appRef.tick(),Ti++;const Ci=$i();Ge&&mn&&pr.console.profileEnd(Ot);const Ai=(Ci-wr)/Ti;return pr.console.log(`ran ${Ti} change detection cycles`),pr.console.log(`${Ai.toFixed(2)} ms per check`),new Eo(Ai,Ti)}}function $i(){return pr.performance&&pr.performance.now?pr.performance.now():(new Date).getTime()}const qr="profiler";function Hi(Zt){return function mr(Zt,dn){(typeof COMPILED>"u"||!COMPILED)&&((a.dqk.ng=a.dqk.ng||{})[Zt]=dn)}(qr,new po(Zt)),Zt}let Pr=(()=>{class Zt{}return Zt.\u0275fac=function(Ge){return new(Ge||Zt)},Zt.\u0275prov=a.Yz7({token:Zt,factory:function(Ge){let Ot=null;return Ot=Ge?new(Ge||Zt):a.LFG(Zn),Ot},providedIn:"root"}),Zt})(),Zn=(()=>{class Zt extends Pr{constructor(Ge){super(),this._doc=Ge}sanitize(Ge,Ot){if(null==Ot)return null;switch(Ge){case a.q3G.NONE:return Ot;case a.q3G.HTML:return(0,a.qzn)(Ot,"HTML")?(0,a.z3N)(Ot):(0,a.EiD)(this._doc,String(Ot)).toString();case a.q3G.STYLE:return(0,a.qzn)(Ot,"Style")?(0,a.z3N)(Ot):Ot;case a.q3G.SCRIPT:if((0,a.qzn)(Ot,"Script"))return(0,a.z3N)(Ot);throw new Error("unsafe value used in a script context");case a.q3G.URL:return(0,a.qzn)(Ot,"URL")?(0,a.z3N)(Ot):(0,a.mCW)(String(Ot));case a.q3G.RESOURCE_URL:if((0,a.qzn)(Ot,"ResourceURL"))return(0,a.z3N)(Ot);throw new Error(`unsafe value used in a resource URL context (see ${a.JZr})`);default:throw new Error(`Unexpected SecurityContext ${Ge} (see ${a.JZr})`)}}bypassSecurityTrustHtml(Ge){return(0,a.JVY)(Ge)}bypassSecurityTrustStyle(Ge){return(0,a.L6k)(Ge)}bypassSecurityTrustScript(Ge){return(0,a.eBb)(Ge)}bypassSecurityTrustUrl(Ge){return(0,a.LAX)(Ge)}bypassSecurityTrustResourceUrl(Ge){return(0,a.pB0)(Ge)}}return Zt.\u0275fac=function(Ge){return new(Ge||Zt)(a.LFG(r.K0))},Zt.\u0275prov=a.Yz7({token:Zt,factory:function(Ge){let Ot=null;return Ot=Ge?new Ge:function tr(Zt){return new Zn(Zt.get(r.K0))}(a.LFG(a.zs3)),Ot},providedIn:"root"}),Zt})()},54247:(E,C,s)=>{"use strict";s.d(C,{gz:()=>ie,m2:()=>jo,OD:()=>ts,wm:()=>wu,F0:()=>rs,rH:()=>Ps,Od:()=>Ul,Bz:()=>Bf,lC:()=>yu});var r=s(64537),a=s(76666),c=s(25917),u=s(26215),e=s(13410),f=s(9112),m=s(6481),T=s(70882),M=s(59193);function w(Se){return new T.y(Ne=>{let _e;try{_e=Se()}catch(Mt){return void Ne.error(Mt)}return(_e?(0,a.D)(_e):(0,M.c)()).subscribe(Ne)})}var D=s(34022),U=s(40205),W=s(52441),$=s(79765),J=s(88692),F=s(88002),X=s(43190),de=s(15257),V=s(39761),ce=s(45435),se=s(19773),fe=s(28049),Te=s(94612),$e=s(68307),ge=s(5304),Et=s(42145),ot=s(12627),ct=s(77393);class He{constructor(Ne,_e){this.predicate=Ne,this.inclusive=_e}call(Ne,_e){return _e.subscribe(new We(Ne,this.predicate,this.inclusive))}}class We extends ct.L{constructor(Ne,_e,Ye){super(Ne),this.predicate=_e,this.inclusive=Ye,this.index=0}_next(Ne){const _e=this.destination;let Ye;try{Ye=this.predicate(Ne,this.index++)}catch(Mt){return void _e.error(Mt)}this.nextOrComplete(Ne,Ye)}nextOrComplete(Ne,_e){const Ye=this.destination;Boolean(_e)?Ye.next(Ne):(this.inclusive&&Ye.next(Ne),Ye.complete())}}var Le=s(95242),Pt=s(548),it=s(96736),Xt=s(68939),cn=s(51307),pn=s(63282),Rn=s(5998);const At="primary",qt=Symbol("RouteTitle");class sn{constructor(Ne){this.params=Ne||{}}has(Ne){return Object.prototype.hasOwnProperty.call(this.params,Ne)}get(Ne){if(this.has(Ne)){const _e=this.params[Ne];return Array.isArray(_e)?_e[0]:_e}return null}getAll(Ne){if(this.has(Ne)){const _e=this.params[Ne];return Array.isArray(_e)?_e:[_e]}return[]}get keys(){return Object.keys(this.params)}}function fn(Se){return new sn(Se)}function xn(Se,Ne,_e){const Ye=_e.path.split("/");if(Ye.length>Se.length||"full"===_e.pathMatch&&(Ne.hasChildren()||Ye.length<Se.length))return null;const Mt={};for(let un=0;un<Ye.length;un++){const Mn=Ye[un],ni=Se[un];if(Mn.startsWith(":"))Mt[Mn.substring(1)]=ni;else if(Mn!==ni.path)return null}return{consumed:Se.slice(0,Ye.length),posParams:Mt}}function Or(Se,Ne){const _e=Se?Object.keys(Se):void 0,Ye=Ne?Object.keys(Ne):void 0;if(!_e||!Ye||_e.length!=Ye.length)return!1;let Mt;for(let un=0;un<_e.length;un++)if(Mt=_e[un],!Lr(Se[Mt],Ne[Mt]))return!1;return!0}function Lr(Se,Ne){if(Array.isArray(Se)&&Array.isArray(Ne)){if(Se.length!==Ne.length)return!1;const _e=[...Se].sort(),Ye=[...Ne].sort();return _e.every((Mt,un)=>Ye[un]===Mt)}return Se===Ne}function ir(Se){return Array.prototype.concat.apply([],Se)}function Qr(Se){return Se.length>0?Se[Se.length-1]:null}function br(Se,Ne){for(const _e in Se)Se.hasOwnProperty(_e)&&Ne(Se[_e],_e)}function ht(Se){return(0,r.CqO)(Se)?Se:(0,r.QGY)(Se)?(0,a.D)(Promise.resolve(Se)):(0,c.of)(Se)}const Wt=!1,Tt={exact:function Oi(Se,Ne,_e){if(!po(Se.segments,Ne.segments)||!Ei(Se.segments,Ne.segments,_e)||Se.numberOfChildren!==Ne.numberOfChildren)return!1;for(const Ye in Ne.children)if(!Se.children[Ye]||!Oi(Se.children[Ye],Ne.children[Ye],_e))return!1;return!0},subset:so},wn={exact:function hr(Se,Ne){return Or(Se,Ne)},subset:function Wi(Se,Ne){return Object.keys(Ne).length<=Object.keys(Se).length&&Object.keys(Ne).every(_e=>Lr(Se[_e],Ne[_e]))},ignored:()=>!0};function jn(Se,Ne,_e){return Tt[_e.paths](Se.root,Ne.root,_e.matrixParams)&&wn[_e.queryParams](Se.queryParams,Ne.queryParams)&&!("exact"===_e.fragment&&Se.fragment!==Ne.fragment)}function so(Se,Ne,_e){return kr(Se,Ne,Ne.segments,_e)}function kr(Se,Ne,_e,Ye){if(Se.segments.length>_e.length){const Mt=Se.segments.slice(0,_e.length);return!(!po(Mt,_e)||Ne.hasChildren()||!Ei(Mt,_e,Ye))}if(Se.segments.length===_e.length){if(!po(Se.segments,_e)||!Ei(Se.segments,_e,Ye))return!1;for(const Mt in Ne.children)if(!Se.children[Mt]||!so(Se.children[Mt],Ne.children[Mt],Ye))return!1;return!0}{const Mt=_e.slice(0,Se.segments.length),un=_e.slice(Se.segments.length);return!!(po(Se.segments,Mt)&&Ei(Se.segments,Mt,Ye)&&Se.children[At])&&kr(Se.children[At],Ne,un,Ye)}}function Ei(Se,Ne,_e){return Ne.every((Ye,Mt)=>wn[_e](Se[Mt].parameters,Ye.parameters))}class ii{constructor(Ne=new mr([],{}),_e={},Ye=null){this.root=Ne,this.queryParams=_e,this.fragment=Ye}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fn(this.queryParams)),this._queryParamMap}toString(){return Dn.serialize(this)}}class mr{constructor(Ne,_e){this.segments=Ne,this.children=_e,this.parent=null,br(_e,(Ye,Mt)=>Ye.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Hn(this)}}class pr{constructor(Ne,_e){this.path=Ne,this.parameters=_e}get parameterMap(){return this._parameterMap||(this._parameterMap=fn(this.parameters)),this._parameterMap}toString(){return Rt(this)}}function po(Se,Ne){return Se.length===Ne.length&&Se.every((_e,Ye)=>_e.path===Ne[Ye].path)}let qr=(()=>{class Se{}return Se.\u0275fac=function(_e){return new(_e||Se)},Se.\u0275prov=r.Yz7({token:Se,factory:function(){return new Hi},providedIn:"root"}),Se})();class Hi{parse(Ne){const _e=new nr(Ne);return new ii(_e.parseRootSegment(),_e.parseQueryParams(),_e.parseFragment())}serialize(Ne){const _e=`/${jt(Ne.root,!0)}`,Ye=function qn(Se){const Ne=Object.keys(Se).map(_e=>{const Ye=Se[_e];return Array.isArray(Ye)?Ye.map(Mt=>`${Ie(_e)}=${Ie(Mt)}`).join("&"):`${Ie(_e)}=${Ie(Ye)}`}).filter(_e=>!!_e);return Ne.length?`?${Ne.join("&")}`:""}(Ne.queryParams);return`${_e}${Ye}${"string"==typeof Ne.fragment?`#${function et(Se){return encodeURI(Se)}(Ne.fragment)}`:""}`}}const Dn=new Hi;function Hn(Se){return Se.segments.map(Ne=>Rt(Ne)).join("/")}function jt(Se,Ne){if(!Se.hasChildren())return Hn(Se);if(Ne){const _e=Se.children[At]?jt(Se.children[At],!1):"",Ye=[];return br(Se.children,(Mt,un)=>{un!==At&&Ye.push(`${un}:${jt(Mt,!1)}`)}),Ye.length>0?`${_e}(${Ye.join("//")})`:_e}{const _e=function $i(Se,Ne){let _e=[];return br(Se.children,(Ye,Mt)=>{Mt===At&&(_e=_e.concat(Ne(Ye,Mt)))}),br(Se.children,(Ye,Mt)=>{Mt!==At&&(_e=_e.concat(Ne(Ye,Mt)))}),_e}(Se,(Ye,Mt)=>Mt===At?[jt(Se.children[At],!1)]:[`${Mt}:${jt(Ye,!1)}`]);return 1===Object.keys(Se.children).length&&null!=Se.children[At]?`${Hn(Se)}/${_e[0]}`:`${Hn(Se)}/(${_e.join("//")})`}}function Fe(Se){return encodeURIComponent(Se).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ie(Se){return Fe(Se).replace(/%3B/gi,";")}function ze(Se){return Fe(Se).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function an(Se){return decodeURIComponent(Se)}function lt(Se){return an(Se.replace(/\+/g,"%20"))}function Rt(Se){return`${ze(Se.path)}${function Pe(Se){return Object.keys(Se).map(Ne=>`;${ze(Ne)}=${ze(Se[Ne])}`).join("")}(Se.parameters)}`}const gr=/^[^\/()?;=#]+/;function Pn(Se){const Ne=Se.match(gr);return Ne?Ne[0]:""}const _r=/^[^=?&#]+/,tr=/^[^&#]+/;class nr{constructor(Ne){this.url=Ne,this.remaining=Ne}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new mr([],{}):new mr([],this.parseChildren())}parseQueryParams(){const Ne={};if(this.consumeOptional("?"))do{this.parseQueryParam(Ne)}while(this.consumeOptional("&"));return Ne}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Ne=[];for(this.peekStartsWith("(")||Ne.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Ne.push(this.parseSegment());let _e={};this.peekStartsWith("/(")&&(this.capture("/"),_e=this.parseParens(!0));let Ye={};return this.peekStartsWith("(")&&(Ye=this.parseParens(!1)),(Ne.length>0||Object.keys(_e).length>0)&&(Ye[At]=new mr(Ne,_e)),Ye}parseSegment(){const Ne=Pn(this.remaining);if(""===Ne&&this.peekStartsWith(";"))throw new r.vHH(4009,Wt);return this.capture(Ne),new pr(an(Ne),this.parseMatrixParams())}parseMatrixParams(){const Ne={};for(;this.consumeOptional(";");)this.parseParam(Ne);return Ne}parseParam(Ne){const _e=Pn(this.remaining);if(!_e)return;this.capture(_e);let Ye="";if(this.consumeOptional("=")){const Mt=Pn(this.remaining);Mt&&(Ye=Mt,this.capture(Ye))}Ne[an(_e)]=an(Ye)}parseQueryParam(Ne){const _e=function Pr(Se){const Ne=Se.match(_r);return Ne?Ne[0]:""}(this.remaining);if(!_e)return;this.capture(_e);let Ye="";if(this.consumeOptional("=")){const Mn=function Zn(Se){const Ne=Se.match(tr);return Ne?Ne[0]:""}(this.remaining);Mn&&(Ye=Mn,this.capture(Ye))}const Mt=lt(_e),un=lt(Ye);if(Ne.hasOwnProperty(Mt)){let Mn=Ne[Mt];Array.isArray(Mn)||(Mn=[Mn],Ne[Mt]=Mn),Mn.push(un)}else Ne[Mt]=un}parseParens(Ne){const _e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Ye=Pn(this.remaining),Mt=this.remaining[Ye.length];if("/"!==Mt&&")"!==Mt&&";"!==Mt)throw new r.vHH(4010,Wt);let un;Ye.indexOf(":")>-1?(un=Ye.slice(0,Ye.indexOf(":")),this.capture(un),this.capture(":")):Ne&&(un=At);const Mn=this.parseChildren();_e[un]=1===Object.keys(Mn).length?Mn[At]:new mr([],Mn),this.consumeOptional("//")}return _e}peekStartsWith(Ne){return this.remaining.startsWith(Ne)}consumeOptional(Ne){return!!this.peekStartsWith(Ne)&&(this.remaining=this.remaining.substring(Ne.length),!0)}capture(Ne){if(!this.consumeOptional(Ne))throw new r.vHH(4011,Wt)}}function Zt(Se){return Se.segments.length>0?new mr([],{[At]:Se}):Se}function dn(Se){const Ne={};for(const Ye of Object.keys(Se.children)){const un=dn(Se.children[Ye]);(un.segments.length>0||un.hasChildren())&&(Ne[Ye]=un)}return function Ge(Se){if(1===Se.numberOfChildren&&Se.children[At]){const Ne=Se.children[At];return new mr(Se.segments.concat(Ne.segments),Ne.children)}return Se}(new mr(Se.segments,Ne))}function Ot(Se){return Se instanceof ii}const mn=!1;function Ai(Se,Ne,_e,Ye,Mt){if(0===_e.length)return dr(Ne.root,Ne.root,Ne.root,Ye,Mt);const un=function Vr(Se){if("string"==typeof Se[0]&&1===Se.length&&"/"===Se[0])return new ti(!0,0,Se);let Ne=0,_e=!1;const Ye=Se.reduce((Mt,un,Mn)=>{if("object"==typeof un&&null!=un){if(un.outlets){const ni={};return br(un.outlets,(zi,Wo)=>{ni[Wo]="string"==typeof zi?zi.split("/"):zi}),[...Mt,{outlets:ni}]}if(un.segmentPath)return[...Mt,un.segmentPath]}return"string"!=typeof un?[...Mt,un]:0===Mn?(un.split("/").forEach((ni,zi)=>{0==zi&&"."===ni||(0==zi&&""===ni?_e=!0:".."===ni?Ne++:""!=ni&&Mt.push(ni))}),Mt):[...Mt,un]},[]);return new ti(_e,Ne,Ye)}(_e);return un.toRoot()?dr(Ne.root,Ne.root,new mr([],{}),Ye,Mt):function Mn(zi){const Wo=function Vi(Se,Ne,_e,Ye){if(Se.isAbsolute)return new wi(Ne.root,!0,0);if(-1===Ye)return new wi(_e,_e===Ne.root,0);return function Po(Se,Ne,_e){let Ye=Se,Mt=Ne,un=_e;for(;un>Mt;){if(un-=Mt,Ye=Ye.parent,!Ye)throw new r.vHH(4005,mn&&"Invalid number of '../'");Mt=Ye.segments.length}return new wi(Ye,!1,Mt-un)}(_e,Ye+(Ko(Se.commands[0])?0:1),Se.numberOfDoubleDots)}(un,Ne,Se.snapshot?._urlSegment,zi),Qo=Wo.processChildren?ro(Wo.segmentGroup,Wo.index,un.commands):Ir(Wo.segmentGroup,Wo.index,un.commands);return dr(Ne.root,Wo.segmentGroup,Qo,Ye,Mt)}(Se.snapshot?._lastPathIndex)}function Ko(Se){return"object"==typeof Se&&null!=Se&&!Se.outlets&&!Se.segmentPath}function _s(Se){return"object"==typeof Se&&null!=Se&&Se.outlets}function dr(Se,Ne,_e,Ye,Mt){let Mn,un={};Ye&&br(Ye,(zi,Wo)=>{un[Wo]=Array.isArray(zi)?zi.map(Qo=>`${Qo}`):`${zi}`}),Mn=Se===Ne?_e:Ni(Se,Ne,_e);const ni=Zt(dn(Mn));return new ii(ni,un,Mt)}function Ni(Se,Ne,_e){const Ye={};return br(Se.children,(Mt,un)=>{Ye[un]=Mt===Ne?_e:Ni(Mt,Ne,_e)}),new mr(Se.segments,Ye)}class ti{constructor(Ne,_e,Ye){if(this.isAbsolute=Ne,this.numberOfDoubleDots=_e,this.commands=Ye,Ne&&Ye.length>0&&Ko(Ye[0]))throw new r.vHH(4003,mn&&"Root segment cannot have matrix parameters");const Mt=Ye.find(_s);if(Mt&&Mt!==Qr(Ye))throw new r.vHH(4004,mn&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class wi{constructor(Ne,_e,Ye){this.segmentGroup=Ne,this.processChildren=_e,this.index=Ye}}function Ir(Se,Ne,_e){if(Se||(Se=new mr([],{})),0===Se.segments.length&&Se.hasChildren())return ro(Se,Ne,_e);const Ye=function Vt(Se,Ne,_e){let Ye=0,Mt=Ne;const un={match:!1,pathIndex:0,commandIndex:0};for(;Mt<Se.segments.length;){if(Ye>=_e.length)return un;const Mn=Se.segments[Mt],ni=_e[Ye];if(_s(ni))break;const zi=`${ni}`,Wo=Ye<_e.length-1?_e[Ye+1]:null;if(Mt>0&&void 0===zi)break;if(zi&&Wo&&"object"==typeof Wo&&void 0===Wo.outlets){if(!_o(zi,Wo,Mn))return un;Ye+=2}else{if(!_o(zi,{},Mn))return un;Ye++}Mt++}return{match:!0,pathIndex:Mt,commandIndex:Ye}}(Se,Ne,_e),Mt=_e.slice(Ye.commandIndex);if(Ye.match&&Ye.pathIndex<Se.segments.length){const un=new mr(Se.segments.slice(0,Ye.pathIndex),{});return un.children[At]=new mr(Se.segments.slice(Ye.pathIndex),Se.children),ro(un,0,Mt)}return Ye.match&&0===Mt.length?new mr(Se.segments,{}):Ye.match&&!Se.hasChildren()?bn(Se,Ne,_e):Ye.match?ro(Se,0,Mt):bn(Se,Ne,_e)}function ro(Se,Ne,_e){if(0===_e.length)return new mr(Se.segments,{});{const Ye=function ko(Se){return _s(Se[0])?Se[0].outlets:{[At]:Se}}(_e),Mt={};if(!Ye[At]&&Se.children[At]&&1===Se.numberOfChildren&&0===Se.children[At].segments.length){const un=ro(Se.children[At],Ne,_e);return new mr(Se.segments,un.children)}return br(Ye,(un,Mn)=>{"string"==typeof un&&(un=[un]),null!==un&&(Mt[Mn]=Ir(Se.children[Mn],Ne,un))}),br(Se.children,(un,Mn)=>{void 0===Ye[Mn]&&(Mt[Mn]=un)}),new mr(Se.segments,Mt)}}function bn(Se,Ne,_e){const Ye=Se.segments.slice(0,Ne);let Mt=0;for(;Mt<_e.length;){const un=_e[Mt];if(_s(un)){const zi=Bn(un.outlets);return new mr(Ye,zi)}if(0===Mt&&Ko(_e[0])){Ye.push(new pr(Se.segments[Ne].path,ci(_e[0]))),Mt++;continue}const Mn=_s(un)?un.outlets[At]:`${un}`,ni=Mt<_e.length-1?_e[Mt+1]:null;Mn&&ni&&Ko(ni)?(Ye.push(new pr(Mn,ci(ni))),Mt+=2):(Ye.push(new pr(Mn,{})),Mt++)}return new mr(Ye,{})}function Bn(Se){const Ne={};return br(Se,(_e,Ye)=>{"string"==typeof _e&&(_e=[_e]),null!==_e&&(Ne[Ye]=bn(new mr([],{}),0,_e))}),Ne}function ci(Se){const Ne={};return br(Se,(_e,Ye)=>Ne[Ye]=`${_e}`),Ne}function _o(Se,Ne,_e){return Se==_e.path&&Or(Ne,_e.parameters)}const go="imperative";class es{constructor(Ne,_e){this.id=Ne,this.url=_e}}class ts extends es{constructor(Ne,_e,Ye="imperative",Mt=null){super(Ne,_e),this.type=0,this.navigationTrigger=Ye,this.restoredState=Mt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class jo extends es{constructor(Ne,_e,Ye){super(Ne,_e),this.urlAfterRedirects=Ye,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ss extends es{constructor(Ne,_e,Ye,Mt){super(Ne,_e),this.reason=Ye,this.code=Mt,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class gs extends es{constructor(Ne,_e,Ye,Mt){super(Ne,_e),this.reason=Ye,this.code=Mt,this.type=16}}class Is extends es{constructor(Ne,_e,Ye,Mt){super(Ne,_e),this.error=Ye,this.target=Mt,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class la extends es{constructor(Ne,_e,Ye,Mt){super(Ne,_e),this.urlAfterRedirects=Ye,this.state=Mt,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ro extends es{constructor(Ne,_e,Ye,Mt){super(Ne,_e),this.urlAfterRedirects=Ye,this.state=Mt,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jl extends es{constructor(Ne,_e,Ye,Mt,un){super(Ne,_e),this.urlAfterRedirects=Ye,this.state=Mt,this.shouldActivate=un,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class gl extends es{constructor(Ne,_e,Ye,Mt){super(Ne,_e),this.urlAfterRedirects=Ye,this.state=Mt,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qa extends es{constructor(Ne,_e,Ye,Mt){super(Ne,_e),this.urlAfterRedirects=Ye,this.state=Mt,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class da{constructor(Ne){this.route=Ne,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class $a{constructor(Ne){this.route=Ne,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Rl{constructor(Ne){this.snapshot=Ne,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ji{constructor(Ne){this.snapshot=Ne,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ha{constructor(Ne){this.snapshot=Ne,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ts{constructor(Ne){this.snapshot=Ne,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hs{constructor(Ne,_e,Ye){this.routerEvent=Ne,this.position=_e,this.anchor=Ye,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Ja=(()=>{class Se{createUrlTree(_e,Ye,Mt,un,Mn,ni){return Ai(_e||Ye.root,Mt,un,Mn,ni)}}return Se.\u0275fac=function(_e){return new(_e||Se)},Se.\u0275prov=r.Yz7({token:Se,factory:Se.\u0275fac}),Se})(),Xo=(()=>{class Se{}return Se.\u0275fac=function(_e){return new(_e||Se)},Se.\u0275prov=r.Yz7({token:Se,factory:function(Ne){return Ja.\u0275fac(Ne)},providedIn:"root"}),Se})();class No{constructor(Ne){this._root=Ne}get root(){return this._root.value}parent(Ne){const _e=this.pathFromRoot(Ne);return _e.length>1?_e[_e.length-2]:null}children(Ne){const _e=Cs(Ne,this._root);return _e?_e.children.map(Ye=>Ye.value):[]}firstChild(Ne){const _e=Cs(Ne,this._root);return _e&&_e.children.length>0?_e.children[0].value:null}siblings(Ne){const _e=ns(Ne,this._root);return _e.length<2?[]:_e[_e.length-2].children.map(Mt=>Mt.value).filter(Mt=>Mt!==Ne)}pathFromRoot(Ne){return ns(Ne,this._root).map(_e=>_e.value)}}function Cs(Se,Ne){if(Se===Ne.value)return Ne;for(const _e of Ne.children){const Ye=Cs(Se,_e);if(Ye)return Ye}return null}function ns(Se,Ne){if(Se===Ne.value)return[Ne];for(const _e of Ne.children){const Ye=ns(Se,_e);if(Ye.length)return Ye.unshift(Ne),Ye}return[]}class Fo{constructor(Ne,_e){this.value=Ne,this.children=_e}toString(){return`TreeNode(${this.value})`}}function zr(Se){const Ne={};return Se&&Se.children.forEach(_e=>Ne[_e.value.outlet]=_e),Ne}class io extends No{constructor(Ne,_e){super(Ne),this.snapshot=_e,Bi(this,Ne)}toString(){return this.snapshot.toString()}}function gt(Se,Ne){const _e=function Tn(Se,Ne){const Mn=new gn([],{},{},"",{},At,Ne,null,Se.root,-1,{});return new vi("",new Fo(Mn,[]))}(Se,Ne),Ye=new u.X([new pr("",{})]),Mt=new u.X({}),un=new u.X({}),Mn=new u.X({}),ni=new u.X(""),zi=new ie(Ye,Mt,Mn,ni,un,At,Ne,_e.root);return zi.snapshot=_e.root,new io(new Fo(zi,[]),_e)}class ie{constructor(Ne,_e,Ye,Mt,un,Mn,ni,zi){this.url=Ne,this.params=_e,this.queryParams=Ye,this.fragment=Mt,this.data=un,this.outlet=Mn,this.component=ni,this.title=this.data?.pipe((0,F.U)(Wo=>Wo[qt]))??(0,c.of)(void 0),this._futureSnapshot=zi}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,F.U)(Ne=>fn(Ne)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,F.U)(Ne=>fn(Ne)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ze(Se,Ne="emptyOnly"){const _e=Se.pathFromRoot;let Ye=0;if("always"!==Ne)for(Ye=_e.length-1;Ye>=1;){const Mt=_e[Ye],un=_e[Ye-1];if(Mt.routeConfig&&""===Mt.routeConfig.path)Ye--;else{if(un.component)break;Ye--}}return function Jt(Se){return Se.reduce((Ne,_e)=>({params:{...Ne.params,..._e.params},data:{...Ne.data,..._e.data},resolve:{..._e.data,...Ne.resolve,..._e.routeConfig?.data,..._e._resolvedData}}),{params:{},data:{},resolve:{}})}(_e.slice(Ye))}class gn{get title(){return this.data?.[qt]}constructor(Ne,_e,Ye,Mt,un,Mn,ni,zi,Wo,Qo,ya){this.url=Ne,this.params=_e,this.queryParams=Ye,this.fragment=Mt,this.data=un,this.outlet=Mn,this.component=ni,this.routeConfig=zi,this._urlSegment=Wo,this._lastPathIndex=Qo,this._resolve=ya}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=fn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Ye=>Ye.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class vi extends No{constructor(Ne,_e){super(_e),this.url=Ne,Bi(this,_e)}toString(){return Xi(this._root)}}function Bi(Se,Ne){Ne.value._routerState=Se,Ne.children.forEach(_e=>Bi(Se,_e))}function Xi(Se){const Ne=Se.children.length>0?` { ${Se.children.map(Xi).join(", ")} } `:"";return`${Se.value}${Ne}`}function ws(Se){if(Se.snapshot){const Ne=Se.snapshot,_e=Se._futureSnapshot;Se.snapshot=_e,Or(Ne.queryParams,_e.queryParams)||Se.queryParams.next(_e.queryParams),Ne.fragment!==_e.fragment&&Se.fragment.next(_e.fragment),Or(Ne.params,_e.params)||Se.params.next(_e.params),function Kr(Se,Ne){if(Se.length!==Ne.length)return!1;for(let _e=0;_e<Se.length;++_e)if(!Or(Se[_e],Ne[_e]))return!1;return!0}(Ne.url,_e.url)||Se.url.next(_e.url),Or(Ne.data,_e.data)||Se.data.next(_e.data)}else Se.snapshot=Se._futureSnapshot,Se.data.next(Se._futureSnapshot.data)}function ds(Se,Ne){const _e=Or(Se.params,Ne.params)&&function Eo(Se,Ne){return po(Se,Ne)&&Se.every((_e,Ye)=>Or(_e.parameters,Ne[Ye].parameters))}(Se.url,Ne.url);return _e&&!(!Se.parent!=!Ne.parent)&&(!Se.parent||ds(Se.parent,Ne.parent))}function Js(Se,Ne,_e){if(_e&&Se.shouldReuseRoute(Ne.value,_e.value.snapshot)){const Ye=_e.value;Ye._futureSnapshot=Ne.value;const Mt=function Ll(Se,Ne,_e){return Ne.children.map(Ye=>{for(const Mt of _e.children)if(Se.shouldReuseRoute(Ye.value,Mt.value.snapshot))return Js(Se,Ye,Mt);return Js(Se,Ye)})}(Se,Ne,_e);return new Fo(Ye,Mt)}{if(Se.shouldAttach(Ne.value)){const un=Se.retrieve(Ne.value);if(null!==un){const Mn=un.route;return Mn.value._futureSnapshot=Ne.value,Mn.children=Ne.children.map(ni=>Js(Se,ni)),Mn}}const Ye=function vl(Se){return new ie(new u.X(Se.url),new u.X(Se.params),new u.X(Se.queryParams),new u.X(Se.fragment),new u.X(Se.data),Se.outlet,Se.component,Se)}(Ne.value),Mt=Ne.children.map(un=>Js(Se,un));return new Fo(Ye,Mt)}}const Yu="ngNavigationCancelingError";function Nc(Se,Ne){const{redirectTo:_e,navigationBehaviorOptions:Ye}=Ot(Ne)?{redirectTo:Ne,navigationBehaviorOptions:void 0}:Ne,Mt=qu(!1,0,Ne);return Mt.url=_e,Mt.navigationBehaviorOptions=Ye,Mt}function qu(Se,Ne,_e){const Ye=new Error("NavigationCancelingError: "+(Se||""));return Ye[Yu]=!0,Ye.cancellationCode=Ne,_e&&(Ye.url=_e),Ye}function Ol(Se){return Kc(Se)&&Ot(Se.url)}function Kc(Se){return Se&&Se[Yu]}class yl{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new au,this.attachRef=null}}let au=(()=>{class Se{constructor(){this.contexts=new Map}onChildOutletCreated(_e,Ye){const Mt=this.getOrCreateContext(_e);Mt.outlet=Ye,this.contexts.set(_e,Mt)}onChildOutletDestroyed(_e){const Ye=this.getContext(_e);Ye&&(Ye.outlet=null,Ye.attachRef=null)}onOutletDeactivated(){const _e=this.contexts;return this.contexts=new Map,_e}onOutletReAttached(_e){this.contexts=_e}getOrCreateContext(_e){let Ye=this.getContext(_e);return Ye||(Ye=new yl,this.contexts.set(_e,Ye)),Ye}getContext(_e){return this.contexts.get(_e)||null}}return Se.\u0275fac=function(_e){return new(_e||Se)},Se.\u0275prov=r.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})();const Da=!1;let yu=(()=>{class Se{constructor(){this.activated=null,this._activatedRoute=null,this.name=At,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.attachEvents=new r.vpe,this.detachEvents=new r.vpe,this.parentContexts=(0,r.f3M)(au),this.location=(0,r.f3M)(r.s_b),this.changeDetector=(0,r.f3M)(r.sBO),this.environmentInjector=(0,r.f3M)(r.lqb)}ngOnChanges(_e){if(_e.name){const{firstChange:Ye,previousValue:Mt}=_e.name;if(Ye)return;this.isTrackedInParentContexts(Mt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Mt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(_e){return this.parentContexts.getContext(_e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const _e=this.parentContexts.getContext(this.name);_e?.route&&(_e.attachRef?this.attach(_e.attachRef,_e.route):this.activateWith(_e.route,_e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new r.vHH(4012,Da);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new r.vHH(4012,Da);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new r.vHH(4012,Da);this.location.detach();const _e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(_e.instance),_e}attach(_e,Ye){this.activated=_e,this._activatedRoute=Ye,this.location.insert(_e.hostView),this.attachEvents.emit(_e.instance)}deactivate(){if(this.activated){const _e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(_e)}}activateWith(_e,Ye){if(this.isActivated)throw new r.vHH(4013,Da);this._activatedRoute=_e;const Mt=this.location,Mn=_e.snapshot.component,ni=this.parentContexts.getOrCreateContext(this.name).children,zi=new ju(_e,ni,Mt.injector);if(Ye&&function el(Se){return!!Se.resolveComponentFactory}(Ye)){const Wo=Ye.resolveComponentFactory(Mn);this.activated=Mt.createComponent(Wo,Mt.length,zi)}else this.activated=Mt.createComponent(Mn,{index:Mt.length,injector:zi,environmentInjector:Ye??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return Se.\u0275fac=function(_e){return new(_e||Se)},Se.\u0275dir=r.lG2({type:Se,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[r.TTD]}),Se})();class ju{constructor(Ne,_e,Ye){this.route=Ne,this.childContexts=_e,this.parent=Ye}get(Ne,_e){return Ne===ie?this.route:Ne===au?this.childContexts:this.parent.get(Ne,_e)}}let oc=(()=>{class Se{}return Se.\u0275fac=function(_e){return new(_e||Se)},Se.\u0275cmp=r.Xpm({type:Se,selectors:[["ng-component"]],standalone:!0,features:[r.jDz],decls:1,vars:0,template:function(_e,Ye){1&_e&&r._UZ(0,"router-outlet")},dependencies:[yu],encapsulation:2}),Se})();function Xl(Se,Ne){return Se.providers&&!Se._injector&&(Se._injector=(0,r.MMx)(Se.providers,Ne,`Route: ${Se.path}`)),Se._injector??Ne}function $u(Se){const Ne=Se.children&&Se.children.map($u),_e=Ne?{...Se,children:Ne}:{...Se};return!_e.component&&!_e.loadComponent&&(Ne||_e.loadChildren)&&_e.outlet&&_e.outlet!==At&&(_e.component=oc),_e}function Ba(Se){return Se.outlet||At}function Tl(Se,Ne){const _e=Se.filter(Ye=>Ba(Ye)===Ne);return _e.push(...Se.filter(Ye=>Ba(Ye)!==Ne)),_e}function tl(Se){if(!Se)return null;if(Se.routeConfig?._injector)return Se.routeConfig._injector;for(let Ne=Se.parent;Ne;Ne=Ne.parent){const _e=Ne.routeConfig;if(_e?._loadedInjector)return _e._loadedInjector;if(_e?._injector)return _e._injector}return null}class dc{constructor(Ne,_e,Ye,Mt){this.routeReuseStrategy=Ne,this.futureState=_e,this.currState=Ye,this.forwardEvent=Mt}activate(Ne){const _e=this.futureState._root,Ye=this.currState?this.currState._root:null;this.deactivateChildRoutes(_e,Ye,Ne),ws(this.futureState.root),this.activateChildRoutes(_e,Ye,Ne)}deactivateChildRoutes(Ne,_e,Ye){const Mt=zr(_e);Ne.children.forEach(un=>{const Mn=un.value.outlet;this.deactivateRoutes(un,Mt[Mn],Ye),delete Mt[Mn]}),br(Mt,(un,Mn)=>{this.deactivateRouteAndItsChildren(un,Ye)})}deactivateRoutes(Ne,_e,Ye){const Mt=Ne.value,un=_e?_e.value:null;if(Mt===un)if(Mt.component){const Mn=Ye.getContext(Mt.outlet);Mn&&this.deactivateChildRoutes(Ne,_e,Mn.children)}else this.deactivateChildRoutes(Ne,_e,Ye);else un&&this.deactivateRouteAndItsChildren(_e,Ye)}deactivateRouteAndItsChildren(Ne,_e){Ne.value.component&&this.routeReuseStrategy.shouldDetach(Ne.value.snapshot)?this.detachAndStoreRouteSubtree(Ne,_e):this.deactivateRouteAndOutlet(Ne,_e)}detachAndStoreRouteSubtree(Ne,_e){const Ye=_e.getContext(Ne.value.outlet),Mt=Ye&&Ne.value.component?Ye.children:_e,un=zr(Ne);for(const Mn of Object.keys(un))this.deactivateRouteAndItsChildren(un[Mn],Mt);if(Ye&&Ye.outlet){const Mn=Ye.outlet.detach(),ni=Ye.children.onOutletDeactivated();this.routeReuseStrategy.store(Ne.value.snapshot,{componentRef:Mn,route:Ne,contexts:ni})}}deactivateRouteAndOutlet(Ne,_e){const Ye=_e.getContext(Ne.value.outlet),Mt=Ye&&Ne.value.component?Ye.children:_e,un=zr(Ne);for(const Mn of Object.keys(un))this.deactivateRouteAndItsChildren(un[Mn],Mt);Ye&&(Ye.outlet&&(Ye.outlet.deactivate(),Ye.children.onOutletDeactivated()),Ye.attachRef=null,Ye.resolver=null,Ye.route=null)}activateChildRoutes(Ne,_e,Ye){const Mt=zr(_e);Ne.children.forEach(un=>{this.activateRoutes(un,Mt[un.value.outlet],Ye),this.forwardEvent(new Ts(un.value.snapshot))}),Ne.children.length&&this.forwardEvent(new Ji(Ne.value.snapshot))}activateRoutes(Ne,_e,Ye){const Mt=Ne.value,un=_e?_e.value:null;if(ws(Mt),Mt===un)if(Mt.component){const Mn=Ye.getOrCreateContext(Mt.outlet);this.activateChildRoutes(Ne,_e,Mn.children)}else this.activateChildRoutes(Ne,_e,Ye);else if(Mt.component){const Mn=Ye.getOrCreateContext(Mt.outlet);if(this.routeReuseStrategy.shouldAttach(Mt.snapshot)){const ni=this.routeReuseStrategy.retrieve(Mt.snapshot);this.routeReuseStrategy.store(Mt.snapshot,null),Mn.children.onOutletReAttached(ni.contexts),Mn.attachRef=ni.componentRef,Mn.route=ni.route.value,Mn.outlet&&Mn.outlet.attach(ni.componentRef,ni.route.value),ws(ni.route.value),this.activateChildRoutes(Ne,null,Mn.children)}else{const ni=tl(Mt.snapshot),zi=ni?.get(r._Vd)??null;Mn.attachRef=null,Mn.route=Mt,Mn.resolver=zi,Mn.injector=ni,Mn.outlet&&Mn.outlet.activateWith(Mt,Mn.injector),this.activateChildRoutes(Ne,null,Mn.children)}}else this.activateChildRoutes(Ne,null,Ye)}}class cu{constructor(Ne){this.path=Ne,this.route=this.path[this.path.length-1]}}class Sa{constructor(Ne,_e){this.component=Ne,this.route=_e}}function Ru(Se,Ne,_e){const Ye=Se._root;return nl(Ye,Ne?Ne._root:null,_e,[Ye.value])}function ba(Se,Ne){const _e=Symbol(),Ye=Ne.get(Se,_e);return Ye===_e?"function"!=typeof Se||(0,r.Z0I)(Se)?Ne.get(Se):Se:Ye}function nl(Se,Ne,_e,Ye,Mt={canDeactivateChecks:[],canActivateChecks:[]}){const un=zr(Ne);return Se.children.forEach(Mn=>{(function Su(Se,Ne,_e,Ye,Mt={canDeactivateChecks:[],canActivateChecks:[]}){const un=Se.value,Mn=Ne?Ne.value:null,ni=_e?_e.getContext(Se.value.outlet):null;if(Mn&&un.routeConfig===Mn.routeConfig){const zi=function gc(Se,Ne,_e){if("function"==typeof _e)return _e(Se,Ne);switch(_e){case"pathParamsChange":return!po(Se.url,Ne.url);case"pathParamsOrQueryParamsChange":return!po(Se.url,Ne.url)||!Or(Se.queryParams,Ne.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ds(Se,Ne)||!Or(Se.queryParams,Ne.queryParams);default:return!ds(Se,Ne)}}(Mn,un,un.routeConfig.runGuardsAndResolvers);zi?Mt.canActivateChecks.push(new cu(Ye)):(un.data=Mn.data,un._resolvedData=Mn._resolvedData),nl(Se,Ne,un.component?ni?ni.children:null:_e,Ye,Mt),zi&&ni&&ni.outlet&&ni.outlet.isActivated&&Mt.canDeactivateChecks.push(new Sa(ni.outlet.component,Mn))}else Mn&&ql(Ne,ni,Mt),Mt.canActivateChecks.push(new cu(Ye)),nl(Se,null,un.component?ni?ni.children:null:_e,Ye,Mt)})(Mn,un[Mn.value.outlet],_e,Ye.concat([Mn.value]),Mt),delete un[Mn.value.outlet]}),br(un,(Mn,ni)=>ql(Mn,_e.getContext(ni),Mt)),Mt}function ql(Se,Ne,_e){const Ye=zr(Se),Mt=Se.value;br(Ye,(un,Mn)=>{ql(un,Mt.component?Ne?Ne.children.getContext(Mn):null:Ne,_e)}),_e.canDeactivateChecks.push(new Sa(Mt.component&&Ne&&Ne.outlet&&Ne.outlet.isActivated?Ne.outlet.component:null,Mt))}function Al(Se){return"function"==typeof Se}function To(Se){return Se instanceof e.K||"EmptyError"===Se?.name}const Ya=Symbol("INITIAL_VALUE");function mi(){return(0,X.w)(Se=>(0,f.aj)(Se.map(Ne=>Ne.pipe((0,de.q)(1),(0,V.O)(Ya)))).pipe((0,F.U)(Ne=>{for(const _e of Ne)if(!0!==_e){if(_e===Ya)return Ya;if(!1===_e||_e instanceof ii)return _e}return!0}),(0,ce.h)(Ne=>Ne!==Ya),(0,de.q)(1)))}function Fc(Se){return(0,D.z)((0,$e.b)(Ne=>{if(Ot(Ne))throw Nc(0,Ne)}),(0,F.U)(Ne=>!0===Ne))}const Lc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function kl(Se,Ne,_e,Ye,Mt){const un=sl(Se,Ne,_e);return un.matched?function du(Se,Ne,_e,Ye){const Mt=Ne.canMatch;if(!Mt||0===Mt.length)return(0,c.of)(!0);const un=Mt.map(Mn=>{const ni=ba(Mn,Se);return ht(function Je(Se){return Se&&Al(Se.canMatch)}(ni)?ni.canMatch(Ne,_e):Se.runInContext(()=>ni(Ne,_e)))});return(0,c.of)(un).pipe(mi(),Fc())}(Ye=Xl(Ne,Ye),Ne,_e).pipe((0,F.U)(Mn=>!0===Mn?un:{...Lc})):(0,c.of)(un)}function sl(Se,Ne,_e){if(""===Ne.path)return"full"===Ne.pathMatch&&(Se.hasChildren()||_e.length>0)?{...Lc}:{matched:!0,consumedSegments:[],remainingSegments:_e,parameters:{},positionalParamSegments:{}};const Mt=(Ne.matcher||xn)(_e,Se,Ne);if(!Mt)return{...Lc};const un={};br(Mt.posParams,(ni,zi)=>{un[zi]=ni.path});const Mn=Mt.consumed.length>0?{...un,...Mt.consumed[Mt.consumed.length-1].parameters}:un;return{matched:!0,consumedSegments:Mt.consumed,remainingSegments:_e.slice(Mt.consumed.length),parameters:Mn,positionalParamSegments:Mt.posParams??{}}}function ja(Se,Ne,_e,Ye){if(_e.length>0&&function yt(Se,Ne,_e){return _e.some(Ye=>Gt(Se,Ne,Ye)&&Ba(Ye)!==At)}(Se,_e,Ye)){const un=new mr(Ne,function Ee(Se,Ne,_e,Ye){const Mt={};Mt[At]=Ye,Ye._sourceSegment=Se,Ye._segmentIndexShift=Ne.length;for(const un of _e)if(""===un.path&&Ba(un)!==At){const Mn=new mr([],{});Mn._sourceSegment=Se,Mn._segmentIndexShift=Ne.length,Mt[Ba(un)]=Mn}return Mt}(Se,Ne,Ye,new mr(_e,Se.children)));return un._sourceSegment=Se,un._segmentIndexShift=Ne.length,{segmentGroup:un,slicedSegments:[]}}if(0===_e.length&&function Xe(Se,Ne,_e){return _e.some(Ye=>Gt(Se,Ne,Ye))}(Se,_e,Ye)){const un=new mr(Se.segments,function Q(Se,Ne,_e,Ye,Mt){const un={};for(const Mn of Ye)if(Gt(Se,_e,Mn)&&!Mt[Ba(Mn)]){const ni=new mr([],{});ni._sourceSegment=Se,ni._segmentIndexShift=Ne.length,un[Ba(Mn)]=ni}return{...Mt,...un}}(Se,Ne,_e,Ye,Se.children));return un._sourceSegment=Se,un._segmentIndexShift=Ne.length,{segmentGroup:un,slicedSegments:_e}}const Mt=new mr(Se.segments,Se.children);return Mt._sourceSegment=Se,Mt._segmentIndexShift=Ne.length,{segmentGroup:Mt,slicedSegments:_e}}function Gt(Se,Ne,_e){return(!(Se.hasChildren()||Ne.length>0)||"full"!==_e.pathMatch)&&""===_e.path}function An(Se,Ne,_e,Ye){return!!(Ba(Se)===Ye||Ye!==At&&Gt(Ne,_e,Se))&&("**"===Se.path||sl(Ne,Se,_e).matched)}function kn(Se,Ne,_e){return 0===Ne.length&&!Se.children[_e]}const Hr=!1;class Xr{constructor(Ne){this.segmentGroup=Ne||null}}class yr{constructor(Ne){this.urlTree=Ne}}function Rr(Se){return(0,U._)(new Xr(Se))}function Go(Se){return(0,U._)(new yr(Se))}class Fr{constructor(Ne,_e,Ye,Mt,un){this.injector=Ne,this.configLoader=_e,this.urlSerializer=Ye,this.urlTree=Mt,this.config=un,this.allowRedirects=!0}apply(){const Ne=ja(this.urlTree.root,[],[],this.config).segmentGroup,_e=new mr(Ne.segments,Ne.children);return this.expandSegmentGroup(this.injector,this.config,_e,At).pipe((0,F.U)(un=>this.createUrlTree(dn(un),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,ge.K)(un=>{if(un instanceof yr)return this.allowRedirects=!1,this.match(un.urlTree);throw un instanceof Xr?this.noMatchError(un):un}))}match(Ne){return this.expandSegmentGroup(this.injector,this.config,Ne.root,At).pipe((0,F.U)(Mt=>this.createUrlTree(dn(Mt),Ne.queryParams,Ne.fragment))).pipe((0,ge.K)(Mt=>{throw Mt instanceof Xr?this.noMatchError(Mt):Mt}))}noMatchError(Ne){return new r.vHH(4002,Hr)}createUrlTree(Ne,_e,Ye){const Mt=Zt(Ne);return new ii(Mt,_e,Ye)}expandSegmentGroup(Ne,_e,Ye,Mt){return 0===Ye.segments.length&&Ye.hasChildren()?this.expandChildren(Ne,_e,Ye).pipe((0,F.U)(un=>new mr([],un))):this.expandSegment(Ne,Ye,_e,Ye.segments,Mt,!0)}expandChildren(Ne,_e,Ye){const Mt=[];for(const un of Object.keys(Ye.children))"primary"===un?Mt.unshift(un):Mt.push(un);return(0,a.D)(Mt).pipe((0,Te.b)(un=>{const Mn=Ye.children[un],ni=Tl(_e,un);return this.expandSegmentGroup(Ne,ni,Mn,un).pipe((0,F.U)(zi=>({segment:zi,outlet:un})))}),(0,Et.R)((un,Mn)=>(un[Mn.outlet]=Mn.segment,un),{}),(0,ot.Z)())}expandSegment(Ne,_e,Ye,Mt,un,Mn){return(0,a.D)(Ye).pipe((0,Te.b)(ni=>this.expandSegmentAgainstRoute(Ne,_e,Ye,ni,Mt,un,Mn).pipe((0,ge.K)(Wo=>{if(Wo instanceof Xr)return(0,c.of)(null);throw Wo}))),(0,fe.P)(ni=>!!ni),(0,ge.K)((ni,zi)=>{if(To(ni))return kn(_e,Mt,un)?(0,c.of)(new mr([],{})):Rr(_e);throw ni}))}expandSegmentAgainstRoute(Ne,_e,Ye,Mt,un,Mn,ni){return An(Mt,_e,un,Mn)?void 0===Mt.redirectTo?this.matchSegmentAgainstRoute(Ne,_e,Mt,un,Mn):ni&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(Ne,_e,Ye,Mt,un,Mn):Rr(_e):Rr(_e)}expandSegmentAgainstRouteUsingRedirect(Ne,_e,Ye,Mt,un,Mn){return"**"===Mt.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(Ne,Ye,Mt,Mn):this.expandRegularSegmentAgainstRouteUsingRedirect(Ne,_e,Ye,Mt,un,Mn)}expandWildCardWithParamsAgainstRouteUsingRedirect(Ne,_e,Ye,Mt){const un=this.applyRedirectCommands([],Ye.redirectTo,{});return Ye.redirectTo.startsWith("/")?Go(un):this.lineralizeSegments(Ye,un).pipe((0,se.zg)(Mn=>{const ni=new mr(Mn,{});return this.expandSegment(Ne,ni,_e,Mn,Mt,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(Ne,_e,Ye,Mt,un,Mn){const{matched:ni,consumedSegments:zi,remainingSegments:Wo,positionalParamSegments:Qo}=sl(_e,Mt,un);if(!ni)return Rr(_e);const ya=this.applyRedirectCommands(zi,Mt.redirectTo,Qo);return Mt.redirectTo.startsWith("/")?Go(ya):this.lineralizeSegments(Mt,ya).pipe((0,se.zg)(Bl=>this.expandSegment(Ne,_e,Ye,Bl.concat(Wo),Mn,!1)))}matchSegmentAgainstRoute(Ne,_e,Ye,Mt,un){return"**"===Ye.path?(Ne=Xl(Ye,Ne),Ye.loadChildren?(Ye._loadedRoutes?(0,c.of)({routes:Ye._loadedRoutes,injector:Ye._loadedInjector}):this.configLoader.loadChildren(Ne,Ye)).pipe((0,F.U)(ni=>(Ye._loadedRoutes=ni.routes,Ye._loadedInjector=ni.injector,new mr(Mt,{})))):(0,c.of)(new mr(Mt,{}))):kl(_e,Ye,Mt,Ne).pipe((0,X.w)(({matched:Mn,consumedSegments:ni,remainingSegments:zi})=>Mn?this.getChildConfig(Ne=Ye._injector??Ne,Ye,Mt).pipe((0,se.zg)(Qo=>{const ya=Qo.injector??Ne,Bl=Qo.routes,{segmentGroup:Wu,slicedSegments:pc}=ja(_e,ni,zi,Bl),cd=new mr(Wu.segments,Wu.children);if(0===pc.length&&cd.hasChildren())return this.expandChildren(ya,Bl,cd).pipe((0,F.U)(Ed=>new mr(ni,Ed)));if(0===Bl.length&&0===pc.length)return(0,c.of)(new mr(ni,{}));const Ju=Ba(Ye)===un;return this.expandSegment(ya,cd,Bl,pc,Ju?At:un,!0).pipe((0,F.U)(od=>new mr(ni.concat(od.segments),od.children)))})):Rr(_e)))}getChildConfig(Ne,_e,Ye){return _e.children?(0,c.of)({routes:_e.children,injector:Ne}):_e.loadChildren?void 0!==_e._loadedRoutes?(0,c.of)({routes:_e._loadedRoutes,injector:_e._loadedInjector}):function ec(Se,Ne,_e,Ye){const Mt=Ne.canLoad;if(void 0===Mt||0===Mt.length)return(0,c.of)(!0);const un=Mt.map(Mn=>{const ni=ba(Mn,Se);return ht(function zs(Se){return Se&&Al(Se.canLoad)}(ni)?ni.canLoad(Ne,_e):Se.runInContext(()=>ni(Ne,_e)))});return(0,c.of)(un).pipe(mi(),Fc())}(Ne,_e,Ye).pipe((0,se.zg)(Mt=>Mt?this.configLoader.loadChildren(Ne,_e).pipe((0,$e.b)(un=>{_e._loadedRoutes=un.routes,_e._loadedInjector=un.injector})):function Qn(Se){return(0,U._)(qu(Hr,3))}())):(0,c.of)({routes:[],injector:Ne})}lineralizeSegments(Ne,_e){let Ye=[],Mt=_e.root;for(;;){if(Ye=Ye.concat(Mt.segments),0===Mt.numberOfChildren)return(0,c.of)(Ye);if(Mt.numberOfChildren>1||!Mt.children[At])return Ne.redirectTo,(0,U._)(new r.vHH(4e3,Hr));Mt=Mt.children[At]}}applyRedirectCommands(Ne,_e,Ye){return this.applyRedirectCreateUrlTree(_e,this.urlSerializer.parse(_e),Ne,Ye)}applyRedirectCreateUrlTree(Ne,_e,Ye,Mt){const un=this.createSegmentGroup(Ne,_e.root,Ye,Mt);return new ii(un,this.createQueryParams(_e.queryParams,this.urlTree.queryParams),_e.fragment)}createQueryParams(Ne,_e){const Ye={};return br(Ne,(Mt,un)=>{if("string"==typeof Mt&&Mt.startsWith(":")){const ni=Mt.substring(1);Ye[un]=_e[ni]}else Ye[un]=Mt}),Ye}createSegmentGroup(Ne,_e,Ye,Mt){const un=this.createSegments(Ne,_e.segments,Ye,Mt);let Mn={};return br(_e.children,(ni,zi)=>{Mn[zi]=this.createSegmentGroup(Ne,ni,Ye,Mt)}),new mr(un,Mn)}createSegments(Ne,_e,Ye,Mt){return _e.map(un=>un.path.startsWith(":")?this.findPosParam(Ne,un,Mt):this.findOrReturn(un,Ye))}findPosParam(Ne,_e,Ye){const Mt=Ye[_e.path.substring(1)];if(!Mt)throw new r.vHH(4001,Hr);return Mt}findOrReturn(Ne,_e){let Ye=0;for(const Mt of _e){if(Mt.path===Ne.path)return _e.splice(Ye),Mt;Ye++}return Ne}}class Fa{}class $l{constructor(Ne,_e,Ye,Mt,un,Mn,ni){this.injector=Ne,this.rootComponentType=_e,this.config=Ye,this.urlTree=Mt,this.url=un,this.paramsInheritanceStrategy=Mn,this.urlSerializer=ni}recognize(){const Ne=ja(this.urlTree.root,[],[],this.config.filter(_e=>void 0===_e.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,Ne,At).pipe((0,F.U)(_e=>{if(null===_e)return null;const Ye=new gn([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},At,this.rootComponentType,null,this.urlTree.root,-1,{}),Mt=new Fo(Ye,_e),un=new vi(this.url,Mt);return this.inheritParamsAndData(un._root),un}))}inheritParamsAndData(Ne){const _e=Ne.value,Ye=Ze(_e,this.paramsInheritanceStrategy);_e.params=Object.freeze(Ye.params),_e.data=Object.freeze(Ye.data),Ne.children.forEach(Mt=>this.inheritParamsAndData(Mt))}processSegmentGroup(Ne,_e,Ye,Mt){return 0===Ye.segments.length&&Ye.hasChildren()?this.processChildren(Ne,_e,Ye):this.processSegment(Ne,_e,Ye,Ye.segments,Mt)}processChildren(Ne,_e,Ye){return(0,a.D)(Object.keys(Ye.children)).pipe((0,Te.b)(Mt=>{const un=Ye.children[Mt],Mn=Tl(_e,Mt);return this.processSegmentGroup(Ne,Mn,un,Mt)}),(0,Et.R)((Mt,un)=>Mt&&un?(Mt.push(...un),Mt):null),function qe(Se,Ne=!1){return _e=>_e.lift(new He(Se,Ne))}(Mt=>null!==Mt),(0,Le.d)(null),(0,ot.Z)(),(0,F.U)(Mt=>{if(null===Mt)return null;const un=ad(Mt);return function xl(Se){Se.sort((Ne,_e)=>Ne.value.outlet===At?-1:_e.value.outlet===At?1:Ne.value.outlet.localeCompare(_e.value.outlet))}(un),un}))}processSegment(Ne,_e,Ye,Mt,un){return(0,a.D)(_e).pipe((0,Te.b)(Mn=>this.processSegmentAgainstRoute(Mn._injector??Ne,Mn,Ye,Mt,un)),(0,fe.P)(Mn=>!!Mn),(0,ge.K)(Mn=>{if(To(Mn))return kn(Ye,Mt,un)?(0,c.of)([]):(0,c.of)(null);throw Mn}))}processSegmentAgainstRoute(Ne,_e,Ye,Mt,un){if(_e.redirectTo||!An(_e,Ye,Mt,un))return(0,c.of)(null);let Mn;if("**"===_e.path){const ni=Mt.length>0?Qr(Mt).parameters:{},zi=Wl(Ye)+Mt.length,Wo=new gn(Mt,ni,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,fc(_e),Ba(_e),_e.component??_e._loadedComponent??null,_e,yi(Ye),zi,bu(_e));Mn=(0,c.of)({snapshot:Wo,consumedSegments:[],remainingSegments:[]})}else Mn=kl(Ye,_e,Mt,Ne).pipe((0,F.U)(({matched:ni,consumedSegments:zi,remainingSegments:Wo,parameters:Qo})=>{if(!ni)return null;const ya=Wl(Ye)+zi.length;return{snapshot:new gn(zi,Qo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,fc(_e),Ba(_e),_e.component??_e._loadedComponent??null,_e,yi(Ye),ya,bu(_e)),consumedSegments:zi,remainingSegments:Wo}}));return Mn.pipe((0,X.w)(ni=>{if(null===ni)return(0,c.of)(null);const{snapshot:zi,consumedSegments:Wo,remainingSegments:Qo}=ni;Ne=_e._injector??Ne;const ya=_e._loadedInjector??Ne,Bl=function Uu(Se){return Se.children?Se.children:Se.loadChildren?Se._loadedRoutes:[]}(_e),{segmentGroup:Wu,slicedSegments:pc}=ja(Ye,Wo,Qo,Bl.filter(Ju=>void 0===Ju.redirectTo));if(0===pc.length&&Wu.hasChildren())return this.processChildren(ya,Bl,Wu).pipe((0,F.U)(Ju=>null===Ju?null:[new Fo(zi,Ju)]));if(0===Bl.length&&0===pc.length)return(0,c.of)([new Fo(zi,[])]);const cd=Ba(_e)===un;return this.processSegment(ya,Bl,Wu,pc,cd?At:un).pipe((0,F.U)(Ju=>null===Ju?null:[new Fo(zi,Ju)]))}))}}function Xc(Se){const Ne=Se.value.routeConfig;return Ne&&""===Ne.path&&void 0===Ne.redirectTo}function ad(Se){const Ne=[],_e=new Set;for(const Ye of Se){if(!Xc(Ye)){Ne.push(Ye);continue}const Mt=Ne.find(un=>Ye.value.routeConfig===un.value.routeConfig);void 0!==Mt?(Mt.children.push(...Ye.children),_e.add(Mt)):Ne.push(Ye)}for(const Ye of _e){const Mt=ad(Ye.children);Ne.push(new Fo(Ye.value,Mt))}return Ne.filter(Ye=>!_e.has(Ye))}function yi(Se){let Ne=Se;for(;Ne._sourceSegment;)Ne=Ne._sourceSegment;return Ne}function Wl(Se){let Ne=Se,_e=Ne._segmentIndexShift??0;for(;Ne._sourceSegment;)Ne=Ne._sourceSegment,_e+=Ne._segmentIndexShift??0;return _e-1}function fc(Se){return Se.data||{}}function bu(Se){return Se.resolve||{}}function Ri(Se){return"string"==typeof Se.title||null===Se.title}function fs(Se){return(0,X.w)(Ne=>{const _e=Se(Ne);return _e?(0,a.D)(_e).pipe((0,F.U)(()=>Ne)):(0,c.of)(Ne)})}const Ra=new r.OlP("ROUTES");let Vs=(()=>{class Se{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,r.f3M)(r.Sil)}loadComponent(_e){if(this.componentLoaders.get(_e))return this.componentLoaders.get(_e);if(_e._loadedComponent)return(0,c.of)(_e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(_e);const Ye=ht(_e.loadComponent()).pipe((0,F.U)(wl),(0,$e.b)(un=>{this.onLoadEndListener&&this.onLoadEndListener(_e),_e._loadedComponent=un}),(0,Xt.x)(()=>{this.componentLoaders.delete(_e)})),Mt=new W.c(Ye,()=>new $.xQ).pipe((0,cn.x)());return this.componentLoaders.set(_e,Mt),Mt}loadChildren(_e,Ye){if(this.childrenLoaders.get(Ye))return this.childrenLoaders.get(Ye);if(Ye._loadedRoutes)return(0,c.of)({routes:Ye._loadedRoutes,injector:Ye._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Ye);const un=this.loadModuleFactoryOrRoutes(Ye.loadChildren).pipe((0,F.U)(ni=>{this.onLoadEndListener&&this.onLoadEndListener(Ye);let zi,Wo,Qo=!1;Array.isArray(ni)?Wo=ni:(zi=ni.create(_e).injector,Wo=ir(zi.get(Ra,[],r.XFs.Self|r.XFs.Optional)));return{routes:Wo.map($u),injector:zi}}),(0,Xt.x)(()=>{this.childrenLoaders.delete(Ye)})),Mn=new W.c(un,()=>new $.xQ).pipe((0,cn.x)());return this.childrenLoaders.set(Ye,Mn),Mn}loadModuleFactoryOrRoutes(_e){return ht(_e()).pipe((0,F.U)(wl),(0,se.zg)(Ye=>Ye instanceof r.YKP||Array.isArray(Ye)?(0,c.of)(Ye):(0,a.D)(this.compiler.compileModuleAsync(Ye))))}}return Se.\u0275fac=function(_e){return new(_e||Se)},Se.\u0275prov=r.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})();function wl(Se){return function Ms(Se){return Se&&"object"==typeof Se&&"default"in Se}(Se)?Se.default:Se}let Qa=(()=>{class Se{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new $.xQ,this.configLoader=(0,r.f3M)(Vs),this.environmentInjector=(0,r.f3M)(r.lqb),this.urlSerializer=(0,r.f3M)(qr),this.rootContexts=(0,r.f3M)(au),this.navigationId=0,this.afterPreactivation=()=>(0,c.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Mt=>this.events.next(new $a(Mt)),this.configLoader.onLoadStartListener=Mt=>this.events.next(new da(Mt))}complete(){this.transitions?.complete()}handleNavigationRequest(_e){const Ye=++this.navigationId;this.transitions?.next({...this.transitions.value,..._e,id:Ye})}setupNavigations(_e){return this.transitions=new u.X({id:0,targetPageId:0,currentUrlTree:_e.currentUrlTree,currentRawUrl:_e.currentUrlTree,extractedUrl:_e.urlHandlingStrategy.extract(_e.currentUrlTree),urlAfterRedirects:_e.urlHandlingStrategy.extract(_e.currentUrlTree),rawUrl:_e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:go,restoredState:null,currentSnapshot:_e.routerState.snapshot,targetSnapshot:null,currentRouterState:_e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ce.h)(Ye=>0!==Ye.id),(0,F.U)(Ye=>({...Ye,extractedUrl:_e.urlHandlingStrategy.extract(Ye.rawUrl)})),(0,X.w)(Ye=>{let Mt=!1,un=!1;return(0,c.of)(Ye).pipe((0,$e.b)(Mn=>{this.currentNavigation={id:Mn.id,initialUrl:Mn.rawUrl,extractedUrl:Mn.extractedUrl,trigger:Mn.source,extras:Mn.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,X.w)(Mn=>{const ni=_e.browserUrlTree.toString(),zi=!_e.navigated||Mn.extractedUrl.toString()!==ni||ni!==_e.currentUrlTree.toString();if(!zi&&"reload"!==(Mn.extras.onSameUrlNavigation??_e.onSameUrlNavigation)){const Qo="";return this.events.next(new gs(Mn.id,_e.serializeUrl(Ye.rawUrl),Qo,0)),_e.rawUrlTree=Mn.rawUrl,Mn.resolve(null),M.E}if(_e.urlHandlingStrategy.shouldProcessUrl(Mn.rawUrl))return rn(Mn.source)&&(_e.browserUrlTree=Mn.extractedUrl),(0,c.of)(Mn).pipe((0,X.w)(Qo=>{const ya=this.transitions?.getValue();return this.events.next(new ts(Qo.id,this.urlSerializer.serialize(Qo.extractedUrl),Qo.source,Qo.restoredState)),ya!==this.transitions?.getValue()?M.E:Promise.resolve(Qo)}),function Ui(Se,Ne,_e,Ye){return(0,X.w)(Mt=>function Gr(Se,Ne,_e,Ye,Mt){return new Fr(Se,Ne,_e,Ye,Mt).apply()}(Se,Ne,_e,Mt.extractedUrl,Ye).pipe((0,F.U)(un=>({...Mt,urlAfterRedirects:un}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,_e.config),(0,$e.b)(Qo=>{this.currentNavigation={...this.currentNavigation,finalUrl:Qo.urlAfterRedirects},Ye.urlAfterRedirects=Qo.urlAfterRedirects}),function je(Se,Ne,_e,Ye,Mt){return(0,se.zg)(un=>function zo(Se,Ne,_e,Ye,Mt,un,Mn="emptyOnly"){return new $l(Se,Ne,_e,Ye,Mt,Mn,un).recognize().pipe((0,X.w)(ni=>null===ni?function ca(Se){return new T.y(Ne=>Ne.error(Se))}(new Fa):(0,c.of)(ni)))}(Se,Ne,_e,un.urlAfterRedirects,Ye.serialize(un.urlAfterRedirects),Ye,Mt).pipe((0,F.U)(Mn=>({...un,targetSnapshot:Mn}))))}(this.environmentInjector,this.rootComponentType,_e.config,this.urlSerializer,_e.paramsInheritanceStrategy),(0,$e.b)(Qo=>{if(Ye.targetSnapshot=Qo.targetSnapshot,"eager"===_e.urlUpdateStrategy){if(!Qo.extras.skipLocationChange){const Bl=_e.urlHandlingStrategy.merge(Qo.urlAfterRedirects,Qo.rawUrl);_e.setBrowserUrl(Bl,Qo)}_e.browserUrlTree=Qo.urlAfterRedirects}const ya=new la(Qo.id,this.urlSerializer.serialize(Qo.extractedUrl),this.urlSerializer.serialize(Qo.urlAfterRedirects),Qo.targetSnapshot);this.events.next(ya)}));if(zi&&_e.urlHandlingStrategy.shouldProcessUrl(_e.rawUrlTree)){const{id:Qo,extractedUrl:ya,source:Bl,restoredState:Wu,extras:pc}=Mn,cd=new ts(Qo,this.urlSerializer.serialize(ya),Bl,Wu);this.events.next(cd);const Ju=gt(ya,this.rootComponentType).snapshot;return Ye={...Mn,targetSnapshot:Ju,urlAfterRedirects:ya,extras:{...pc,skipLocationChange:!1,replaceUrl:!1}},(0,c.of)(Ye)}{const Qo="";return this.events.next(new gs(Mn.id,_e.serializeUrl(Ye.extractedUrl),Qo,1)),_e.rawUrlTree=Mn.rawUrl,Mn.resolve(null),M.E}}),(0,$e.b)(Mn=>{const ni=new Ro(Mn.id,this.urlSerializer.serialize(Mn.extractedUrl),this.urlSerializer.serialize(Mn.urlAfterRedirects),Mn.targetSnapshot);this.events.next(ni)}),(0,F.U)(Mn=>Ye={...Mn,guards:Ru(Mn.targetSnapshot,Mn.currentSnapshot,this.rootContexts)}),function Hs(Se,Ne){return(0,se.zg)(_e=>{const{targetSnapshot:Ye,currentSnapshot:Mt,guards:{canActivateChecks:un,canDeactivateChecks:Mn}}=_e;return 0===Mn.length&&0===un.length?(0,c.of)({..._e,guardsResult:!0}):function Qs(Se,Ne,_e,Ye){return(0,a.D)(Se).pipe((0,se.zg)(Mt=>function id(Se,Ne,_e,Ye,Mt){const un=Ne&&Ne.routeConfig?Ne.routeConfig.canDeactivate:null;if(!un||0===un.length)return(0,c.of)(!0);const Mn=un.map(ni=>{const zi=tl(Ne)??Mt,Wo=ba(ni,zi);return ht(function pt(Se){return Se&&Al(Se.canDeactivate)}(Wo)?Wo.canDeactivate(Se,Ne,_e,Ye):zi.runInContext(()=>Wo(Se,Ne,_e,Ye))).pipe((0,fe.P)())});return(0,c.of)(Mn).pipe(mi())}(Mt.component,Mt.route,_e,Ne,Ye)),(0,fe.P)(Mt=>!0!==Mt,!0))}(Mn,Ye,Mt,Se).pipe((0,se.zg)(ni=>ni&&function Dc(Se){return"boolean"==typeof Se}(ni)?function Hu(Se,Ne,_e,Ye){return(0,a.D)(Ne).pipe((0,Te.b)(Mt=>(0,m.z)(function sc(Se,Ne){return null!==Se&&Ne&&Ne(new Rl(Se)),(0,c.of)(!0)}(Mt.route.parent,Ye),function zl(Se,Ne){return null!==Se&&Ne&&Ne(new Ha(Se)),(0,c.of)(!0)}(Mt.route,Ye),function lu(Se,Ne,_e){const Ye=Ne[Ne.length-1],un=Ne.slice(0,Ne.length-1).reverse().map(Mn=>function xu(Se){const Ne=Se.routeConfig?Se.routeConfig.canActivateChild:null;return Ne&&0!==Ne.length?{node:Se,guards:Ne}:null}(Mn)).filter(Mn=>null!==Mn).map(Mn=>w(()=>{const ni=Mn.guards.map(zi=>{const Wo=tl(Mn.node)??_e,Qo=ba(zi,Wo);return ht(function bt(Se){return Se&&Al(Se.canActivateChild)}(Qo)?Qo.canActivateChild(Ye,Se):Wo.runInContext(()=>Qo(Ye,Se))).pipe((0,fe.P)())});return(0,c.of)(ni).pipe(mi())}));return(0,c.of)(un).pipe(mi())}(Se,Mt.path,_e),function hu(Se,Ne,_e){const Ye=Ne.routeConfig?Ne.routeConfig.canActivate:null;if(!Ye||0===Ye.length)return(0,c.of)(!0);const Mt=Ye.map(un=>w(()=>{const Mn=tl(Ne)??_e,ni=ba(un,Mn);return ht(function Vc(Se){return Se&&Al(Se.canActivate)}(ni)?ni.canActivate(Ne,Se):Mn.runInContext(()=>ni(Ne,Se))).pipe((0,fe.P)())}));return(0,c.of)(Mt).pipe(mi())}(Se,Mt.route,_e))),(0,fe.P)(Mt=>!0!==Mt,!0))}(Ye,un,Se,Ne):(0,c.of)(ni)),(0,F.U)(ni=>({..._e,guardsResult:ni})))})}(this.environmentInjector,Mn=>this.events.next(Mn)),(0,$e.b)(Mn=>{if(Ye.guardsResult=Mn.guardsResult,Ot(Mn.guardsResult))throw Nc(0,Mn.guardsResult);const ni=new jl(Mn.id,this.urlSerializer.serialize(Mn.extractedUrl),this.urlSerializer.serialize(Mn.urlAfterRedirects),Mn.targetSnapshot,!!Mn.guardsResult);this.events.next(ni)}),(0,ce.h)(Mn=>!!Mn.guardsResult||(_e.restoreHistory(Mn),this.cancelNavigationTransition(Mn,"",3),!1)),fs(Mn=>{if(Mn.guards.canActivateChecks.length)return(0,c.of)(Mn).pipe((0,$e.b)(ni=>{const zi=new gl(ni.id,this.urlSerializer.serialize(ni.extractedUrl),this.urlSerializer.serialize(ni.urlAfterRedirects),ni.targetSnapshot);this.events.next(zi)}),(0,X.w)(ni=>{let zi=!1;return(0,c.of)(ni).pipe(function Nt(Se,Ne){return(0,se.zg)(_e=>{const{targetSnapshot:Ye,guards:{canActivateChecks:Mt}}=_e;if(!Mt.length)return(0,c.of)(_e);let un=0;return(0,a.D)(Mt).pipe((0,Te.b)(Mn=>function tt(Se,Ne,_e,Ye){const Mt=Se.routeConfig,un=Se._resolve;return void 0!==Mt?.title&&!Ri(Mt)&&(un[qt]=Mt.title),function tn(Se,Ne,_e,Ye){const Mt=function Xn(Se){return[...Object.keys(Se),...Object.getOwnPropertySymbols(Se)]}(Se);if(0===Mt.length)return(0,c.of)({});const un={};return(0,a.D)(Mt).pipe((0,se.zg)(Mn=>function bi(Se,Ne,_e,Ye){const Mt=tl(Ne)??Ye,un=ba(Se,Mt);return ht(un.resolve?un.resolve(Ne,_e):Mt.runInContext(()=>un(Ne,_e)))}(Se[Mn],Ne,_e,Ye).pipe((0,fe.P)(),(0,$e.b)(ni=>{un[Mn]=ni}))),(0,Pt.h)(1),(0,it.h)(un),(0,ge.K)(Mn=>To(Mn)?M.E:(0,U._)(Mn)))}(un,Se,Ne,Ye).pipe((0,F.U)(Mn=>(Se._resolvedData=Mn,Se.data=Ze(Se,_e).resolve,Mt&&Ri(Mt)&&(Se.data[qt]=Mt.title),null)))}(Mn.route,Ye,Se,Ne)),(0,$e.b)(()=>un++),(0,Pt.h)(1),(0,se.zg)(Mn=>un===Mt.length?(0,c.of)(_e):M.E))})}(_e.paramsInheritanceStrategy,this.environmentInjector),(0,$e.b)({next:()=>zi=!0,complete:()=>{zi||(_e.restoreHistory(ni),this.cancelNavigationTransition(ni,"",2))}}))}),(0,$e.b)(ni=>{const zi=new qa(ni.id,this.urlSerializer.serialize(ni.extractedUrl),this.urlSerializer.serialize(ni.urlAfterRedirects),ni.targetSnapshot);this.events.next(zi)}))}),fs(Mn=>{const ni=zi=>{const Wo=[];zi.routeConfig?.loadComponent&&!zi.routeConfig._loadedComponent&&Wo.push(this.configLoader.loadComponent(zi.routeConfig).pipe((0,$e.b)(Qo=>{zi.component=Qo}),(0,F.U)(()=>{})));for(const Qo of zi.children)Wo.push(...ni(Qo));return Wo};return(0,f.aj)(ni(Mn.targetSnapshot.root)).pipe((0,Le.d)(),(0,de.q)(1))}),fs(()=>this.afterPreactivation()),(0,F.U)(Mn=>{const ni=function qs(Se,Ne,_e){const Ye=Js(Se,Ne._root,_e?_e._root:void 0);return new io(Ye,Ne)}(_e.routeReuseStrategy,Mn.targetSnapshot,Mn.currentRouterState);return Ye={...Mn,targetRouterState:ni}}),(0,$e.b)(Mn=>{_e.currentUrlTree=Mn.urlAfterRedirects,_e.rawUrlTree=_e.urlHandlingStrategy.merge(Mn.urlAfterRedirects,Mn.rawUrl),_e.routerState=Mn.targetRouterState,"deferred"===_e.urlUpdateStrategy&&(Mn.extras.skipLocationChange||_e.setBrowserUrl(_e.rawUrlTree,Mn),_e.browserUrlTree=Mn.urlAfterRedirects)}),((Se,Ne,_e)=>(0,F.U)(Ye=>(new dc(Ne,Ye.targetRouterState,Ye.currentRouterState,_e).activate(Se),Ye)))(this.rootContexts,_e.routeReuseStrategy,Mn=>this.events.next(Mn)),(0,de.q)(1),(0,$e.b)({next:Mn=>{Mt=!0,this.lastSuccessfulNavigation=this.currentNavigation,_e.navigated=!0,this.events.next(new jo(Mn.id,this.urlSerializer.serialize(Mn.extractedUrl),this.urlSerializer.serialize(_e.currentUrlTree))),_e.titleStrategy?.updateTitle(Mn.targetRouterState.snapshot),Mn.resolve(!0)},complete:()=>{Mt=!0}}),(0,Xt.x)(()=>{Mt||un||this.cancelNavigationTransition(Ye,"",1),this.currentNavigation?.id===Ye.id&&(this.currentNavigation=null)}),(0,ge.K)(Mn=>{if(un=!0,Kc(Mn)){Ol(Mn)||(_e.navigated=!0,_e.restoreHistory(Ye,!0));const ni=new ss(Ye.id,this.urlSerializer.serialize(Ye.extractedUrl),Mn.message,Mn.cancellationCode);if(this.events.next(ni),Ol(Mn)){const zi=_e.urlHandlingStrategy.merge(Mn.url,_e.rawUrlTree),Wo={skipLocationChange:Ye.extras.skipLocationChange,replaceUrl:"eager"===_e.urlUpdateStrategy||rn(Ye.source)};_e.scheduleNavigation(zi,go,null,Wo,{resolve:Ye.resolve,reject:Ye.reject,promise:Ye.promise})}else Ye.resolve(!1)}else{_e.restoreHistory(Ye,!0);const ni=new Is(Ye.id,this.urlSerializer.serialize(Ye.extractedUrl),Mn,Ye.targetSnapshot??void 0);this.events.next(ni);try{Ye.resolve(_e.errorHandler(Mn))}catch(zi){Ye.reject(zi)}}return M.E}))}))}cancelNavigationTransition(_e,Ye,Mt){const un=new ss(_e.id,this.urlSerializer.serialize(_e.extractedUrl),Ye,Mt);this.events.next(un),_e.resolve(!1)}}return Se.\u0275fac=function(_e){return new(_e||Se)},Se.\u0275prov=r.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})();function rn(Se){return Se!==go}let Jl=(()=>{class Se{buildTitle(_e){let Ye,Mt=_e.root;for(;void 0!==Mt;)Ye=this.getResolvedTitleForRoute(Mt)??Ye,Mt=Mt.children.find(un=>un.outlet===At);return Ye}getResolvedTitleForRoute(_e){return _e.data[qt]}}return Se.\u0275fac=function(_e){return new(_e||Se)},Se.\u0275prov=r.Yz7({token:Se,factory:function(){return(0,r.f3M)(le)},providedIn:"root"}),Se})(),le=(()=>{class Se extends Jl{constructor(_e){super(),this.title=_e}updateTitle(_e){const Ye=this.buildTitle(_e);void 0!==Ye&&this.title.setTitle(Ye)}}return Se.\u0275fac=function(_e){return new(_e||Se)(r.LFG(Rn.Dx))},Se.\u0275prov=r.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})(),ae=(()=>{class Se{}return Se.\u0275fac=function(_e){return new(_e||Se)},Se.\u0275prov=r.Yz7({token:Se,factory:function(){return(0,r.f3M)(Ve)},providedIn:"root"}),Se})();class De{shouldDetach(Ne){return!1}store(Ne,_e){}shouldAttach(Ne){return!1}retrieve(Ne){return null}shouldReuseRoute(Ne,_e){return Ne.routeConfig===_e.routeConfig}}let Ve=(()=>{class Se extends De{}return Se.\u0275fac=function(){let Ne;return function(Ye){return(Ne||(Ne=r.n5z(Se)))(Ye||Se)}}(),Se.\u0275prov=r.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})();const zt=new r.OlP("",{providedIn:"root",factory:()=>({})});let Qt=(()=>{class Se{}return Se.\u0275fac=function(_e){return new(_e||Se)},Se.\u0275prov=r.Yz7({token:Se,factory:function(){return(0,r.f3M)(Gn)},providedIn:"root"}),Se})(),Gn=(()=>{class Se{shouldProcessUrl(_e){return!0}extract(_e){return _e}merge(_e,Ye){return _e}}return Se.\u0275fac=function(_e){return new(_e||Se)},Se.\u0275prov=r.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})();function Nr(Se){throw Se}function Mi(Se,Ne,_e){return Ne.parse("/")}const ao={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Jo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let rs=(()=>{class Se{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,r.f3M)(r.c2e),this.isNgZoneEnabled=!1,this.options=(0,r.f3M)(zt,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Nr,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Mi,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,r.f3M)(Qt),this.routeReuseStrategy=(0,r.f3M)(ae),this.urlCreationStrategy=(0,r.f3M)(Xo),this.titleStrategy=(0,r.f3M)(Jl),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=ir((0,r.f3M)(Ra,{optional:!0})??[]),this.navigationTransitions=(0,r.f3M)(Qa),this.urlSerializer=(0,r.f3M)(qr),this.location=(0,r.f3M)(J.Ye),this.isNgZoneEnabled=(0,r.f3M)(r.R0b)instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ii,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=gt(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(_e=>{this.lastSuccessfulId=_e.id,this.currentPageId=this.browserPageId??0},_e=>{this.console.warn(`Unhandled Navigation Error: ${_e}`)})}resetRootComponentType(_e){this.routerState.root.component=_e,this.navigationTransitions.rootComponentType=_e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const _e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),go,_e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(_e=>{const Ye="popstate"===_e.type?"popstate":"hashchange";"popstate"===Ye&&setTimeout(()=>{this.navigateToSyncWithBrowser(_e.url,Ye,_e.state)},0)}))}navigateToSyncWithBrowser(_e,Ye,Mt){const un={replaceUrl:!0},Mn=Mt?.navigationId?Mt:null;if(Mt){const zi={...Mt};delete zi.navigationId,delete zi.\u0275routerPageId,0!==Object.keys(zi).length&&(un.state=zi)}const ni=this.parseUrl(_e);this.scheduleNavigation(ni,Ye,Mn,un)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(_e){this.config=_e.map($u),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(_e,Ye={}){const{relativeTo:Mt,queryParams:un,fragment:Mn,queryParamsHandling:ni,preserveFragment:zi}=Ye,Wo=zi?this.currentUrlTree.fragment:Mn;let Qo=null;switch(ni){case"merge":Qo={...this.currentUrlTree.queryParams,...un};break;case"preserve":Qo=this.currentUrlTree.queryParams;break;default:Qo=un||null}return null!==Qo&&(Qo=this.removeEmptyProps(Qo)),this.urlCreationStrategy.createUrlTree(Mt,this.routerState,this.currentUrlTree,_e,Qo,Wo??null)}navigateByUrl(_e,Ye={skipLocationChange:!1}){const Mt=Ot(_e)?_e:this.parseUrl(_e),un=this.urlHandlingStrategy.merge(Mt,this.rawUrlTree);return this.scheduleNavigation(un,go,null,Ye)}navigate(_e,Ye={skipLocationChange:!1}){return function ys(Se){for(let Ne=0;Ne<Se.length;Ne++){const _e=Se[Ne];if(null==_e)throw new r.vHH(4008,false)}}(_e),this.navigateByUrl(this.createUrlTree(_e,Ye),Ye)}serializeUrl(_e){return this.urlSerializer.serialize(_e)}parseUrl(_e){let Ye;try{Ye=this.urlSerializer.parse(_e)}catch(Mt){Ye=this.malformedUriErrorHandler(Mt,this.urlSerializer,_e)}return Ye}isActive(_e,Ye){let Mt;if(Mt=!0===Ye?{...ao}:!1===Ye?{...Jo}:Ye,Ot(_e))return jn(this.currentUrlTree,_e,Mt);const un=this.parseUrl(_e);return jn(this.currentUrlTree,un,Mt)}removeEmptyProps(_e){return Object.keys(_e).reduce((Ye,Mt)=>{const un=_e[Mt];return null!=un&&(Ye[Mt]=un),Ye},{})}scheduleNavigation(_e,Ye,Mt,un,Mn){if(this.disposed)return Promise.resolve(!1);let ni,zi,Wo,Qo;return Mn?(ni=Mn.resolve,zi=Mn.reject,Wo=Mn.promise):Wo=new Promise((ya,Bl)=>{ni=ya,zi=Bl}),Qo="computed"===this.canceledNavigationResolution?Mt&&Mt.\u0275routerPageId?Mt.\u0275routerPageId:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:Qo,source:Ye,restoredState:Mt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:_e,extras:un,resolve:ni,reject:zi,promise:Wo,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Wo.catch(ya=>Promise.reject(ya))}setBrowserUrl(_e,Ye){const Mt=this.urlSerializer.serialize(_e);if(this.location.isCurrentPathEqualTo(Mt)||Ye.extras.replaceUrl){const Mn={...Ye.extras.state,...this.generateNgRouterState(Ye.id,this.browserPageId)};this.location.replaceState(Mt,"",Mn)}else{const un={...Ye.extras.state,...this.generateNgRouterState(Ye.id,Ye.targetPageId)};this.location.go(Mt,"",un)}}restoreHistory(_e,Ye=!1){if("computed"===this.canceledNavigationResolution){const un=this.currentPageId-(this.browserPageId??this.currentPageId);0!==un?this.location.historyGo(un):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===un&&(this.resetState(_e),this.browserUrlTree=_e.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Ye&&this.resetState(_e),this.resetUrlToCurrentUrlTree())}resetState(_e){this.routerState=_e.currentRouterState,this.currentUrlTree=_e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,_e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(_e,Ye){return"computed"===this.canceledNavigationResolution?{navigationId:_e,\u0275routerPageId:Ye}:{navigationId:_e}}}return Se.\u0275fac=function(_e){return new(_e||Se)},Se.\u0275prov=r.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})(),Ps=(()=>{class Se{constructor(_e,Ye,Mt,un,Mn,ni){this.router=_e,this.route=Ye,this.tabIndexAttribute=Mt,this.renderer=un,this.el=Mn,this.locationStrategy=ni,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new $.xQ;const zi=Mn.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===zi||"area"===zi,this.isAnchorElement?this.subscription=_e.events.subscribe(Wo=>{Wo instanceof jo&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(_e){this._preserveFragment=(0,r.D6c)(_e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(_e){this._skipLocationChange=(0,r.D6c)(_e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(_e){this._replaceUrl=(0,r.D6c)(_e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(_e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",_e)}ngOnChanges(_e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(_e){null!=_e?(this.commands=Array.isArray(_e)?_e:[_e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(_e,Ye,Mt,un,Mn){return!!(null===this.urlTree||this.isAnchorElement&&(0!==_e||Ye||Mt||un||Mn||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const _e=null===this.href?null:(0,r.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",_e)}applyAttributeValue(_e,Ye){const Mt=this.renderer,un=this.el.nativeElement;null!==Ye?Mt.setAttribute(un,_e,Ye):Mt.removeAttribute(un,_e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return Se.\u0275fac=function(_e){return new(_e||Se)(r.Y36(rs),r.Y36(ie),r.$8M("tabindex"),r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(J.S$))},Se.\u0275dir=r.lG2({type:Se,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(_e,Ye){1&_e&&r.NdJ("click",function(un){return Ye.onClick(un.button,un.ctrlKey,un.shiftKey,un.altKey,un.metaKey)}),2&_e&&r.uIk("target",Ye.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[r.TTD]}),Se})(),Ul=(()=>{class Se{get isActive(){return this._isActive}constructor(_e,Ye,Mt,un,Mn){this.router=_e,this.element=Ye,this.renderer=Mt,this.cdr=un,this.link=Mn,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new r.vpe,this.routerEventsSubscription=_e.events.subscribe(ni=>{ni instanceof jo&&this.update()})}ngAfterContentInit(){(0,c.of)(this.links.changes,(0,c.of)(null)).pipe((0,pn.J)()).subscribe(_e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const _e=[...this.links.toArray(),this.link].filter(Ye=>!!Ye).map(Ye=>Ye.onChanges);this.linkInputChangesSubscription=(0,a.D)(_e).pipe((0,pn.J)()).subscribe(Ye=>{this._isActive!==this.isLinkActive(this.router)(Ye)&&this.update()})}set routerLinkActive(_e){const Ye=Array.isArray(_e)?_e:_e.split(" ");this.classes=Ye.filter(Mt=>!!Mt)}ngOnChanges(_e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const _e=this.hasActiveLinks();this._isActive!==_e&&(this._isActive=_e,this.cdr.markForCheck(),this.classes.forEach(Ye=>{_e?this.renderer.addClass(this.element.nativeElement,Ye):this.renderer.removeClass(this.element.nativeElement,Ye)}),_e&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(_e))})}isLinkActive(_e){const Ye=function eu(Se){return!!Se.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Mt=>!!Mt.urlTree&&_e.isActive(Mt.urlTree,Ye)}hasActiveLinks(){const _e=this.isLinkActive(this.router);return this.link&&_e(this.link)||this.links.some(_e)}}return Se.\u0275fac=function(_e){return new(_e||Se)(r.Y36(rs),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.sBO),r.Y36(Ps,8))},Se.\u0275dir=r.lG2({type:Se,selectors:[["","routerLinkActive",""]],contentQueries:function(_e,Ye,Mt){if(1&_e&&r.Suo(Mt,Ps,5),2&_e){let un;r.iGM(un=r.CRH())&&(Ye.links=un)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[r.TTD]}),Se})();class mu{}let wu=(()=>{class Se{preload(_e,Ye){return Ye().pipe((0,ge.K)(()=>(0,c.of)(null)))}}return Se.\u0275fac=function(_e){return new(_e||Se)},Se.\u0275prov=r.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})(),fu=(()=>{class Se{constructor(_e,Ye,Mt,un,Mn){this.router=_e,this.injector=Mt,this.preloadingStrategy=un,this.loader=Mn}setUpPreloading(){this.subscription=this.router.events.pipe((0,ce.h)(_e=>_e instanceof jo),(0,Te.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(_e,Ye){const Mt=[];for(const un of Ye){un.providers&&!un._injector&&(un._injector=(0,r.MMx)(un.providers,_e,`Route: ${un.path}`));const Mn=un._injector??_e,ni=un._loadedInjector??Mn;(un.loadChildren&&!un._loadedRoutes&&void 0===un.canLoad||un.loadComponent&&!un._loadedComponent)&&Mt.push(this.preloadConfig(Mn,un)),(un.children||un._loadedRoutes)&&Mt.push(this.processRoutes(ni,un.children??un._loadedRoutes))}return(0,a.D)(Mt).pipe((0,pn.J)())}preloadConfig(_e,Ye){return this.preloadingStrategy.preload(Ye,()=>{let Mt;Mt=Ye.loadChildren&&void 0===Ye.canLoad?this.loader.loadChildren(_e,Ye):(0,c.of)(null);const un=Mt.pipe((0,se.zg)(Mn=>null===Mn?(0,c.of)(void 0):(Ye._loadedRoutes=Mn.routes,Ye._loadedInjector=Mn.injector,this.processRoutes(Mn.injector??_e,Mn.routes))));if(Ye.loadComponent&&!Ye._loadedComponent){const Mn=this.loader.loadComponent(Ye);return(0,a.D)([un,Mn]).pipe((0,pn.J)())}return un})}}return Se.\u0275fac=function(_e){return new(_e||Se)(r.LFG(rs),r.LFG(r.Sil),r.LFG(r.lqb),r.LFG(mu),r.LFG(Vs))},Se.\u0275prov=r.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"}),Se})();const qc=new r.OlP("");let $c=(()=>{class Se{constructor(_e,Ye,Mt,un,Mn={}){this.urlSerializer=_e,this.transitions=Ye,this.viewportScroller=Mt,this.zone=un,this.options=Mn,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Mn.scrollPositionRestoration=Mn.scrollPositionRestoration||"disabled",Mn.anchorScrolling=Mn.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(_e=>{_e instanceof ts?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=_e.navigationTrigger,this.restoredId=_e.restoredState?_e.restoredState.navigationId:0):_e instanceof jo&&(this.lastId=_e.id,this.scheduleScrollEvent(_e,this.urlSerializer.parse(_e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(_e=>{_e instanceof hs&&(_e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(_e.position):_e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(_e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(_e,Ye){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new hs(_e,"popstate"===this.lastSource?this.store[this.restoredId]:null,Ye))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return Se.\u0275fac=function(_e){r.$Z()},Se.\u0275prov=r.Yz7({token:Se,factory:Se.\u0275fac}),Se})();var pu=(()=>((pu=pu||{})[pu.COMPLETE=0]="COMPLETE",pu[pu.FAILED=1]="FAILED",pu[pu.REDIRECTING=2]="REDIRECTING",pu))();const La=!1;function xa(Se,Ne){return{\u0275kind:Se,\u0275providers:Ne}}const Tu=new r.OlP("",{providedIn:"root",factory:()=>!1});function Va(){const Se=(0,r.f3M)(r.zs3);return Ne=>{const _e=Se.get(r.z2F);if(Ne!==_e.components[0])return;const Ye=Se.get(rs),Mt=Se.get(Os);1===Se.get(Cu)&&Ye.initialNavigation(),Se.get(ud,null,r.XFs.Optional)?.setUpPreloading(),Se.get(qc,null,r.XFs.Optional)?.init(),Ye.resetRootComponentType(_e.componentTypes[0]),Mt.closed||(Mt.next(),Mt.complete(),Mt.unsubscribe())}}const Os=new r.OlP(La?"bootstrap done indicator":"",{factory:()=>new $.xQ}),Cu=new r.OlP(La?"initial navigation":"",{providedIn:"root",factory:()=>1});function Vu(){let Se=[];return Se=La?[{provide:r.Xts,multi:!0,useFactory:()=>{const Ne=(0,r.f3M)(rs);return()=>Ne.events.subscribe(_e=>{console.group?.(`Router Event: ${_e.constructor.name}`),console.log(function $s(Se){if(!("type"in Se))return`Unknown Router Event: ${Se.constructor.name}`;switch(Se.type){case 14:return`ActivationEnd(path: '${Se.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${Se.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${Se.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${Se.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${Se.id}, url: '${Se.url}', urlAfterRedirects: '${Se.urlAfterRedirects}', state: ${Se.state}, shouldActivate: ${Se.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${Se.id}, url: '${Se.url}', urlAfterRedirects: '${Se.urlAfterRedirects}', state: ${Se.state})`;case 2:return`NavigationCancel(id: ${Se.id}, url: '${Se.url}')`;case 16:return`NavigationSkipped(id: ${Se.id}, url: '${Se.url}')`;case 1:return`NavigationEnd(id: ${Se.id}, url: '${Se.url}', urlAfterRedirects: '${Se.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${Se.id}, url: '${Se.url}', error: ${Se.error})`;case 0:return`NavigationStart(id: ${Se.id}, url: '${Se.url}')`;case 6:return`ResolveEnd(id: ${Se.id}, url: '${Se.url}', urlAfterRedirects: '${Se.urlAfterRedirects}', state: ${Se.state})`;case 5:return`ResolveStart(id: ${Se.id}, url: '${Se.url}', urlAfterRedirects: '${Se.urlAfterRedirects}', state: ${Se.state})`;case 10:return`RouteConfigLoadEnd(path: ${Se.route.path})`;case 9:return`RouteConfigLoadStart(path: ${Se.route.path})`;case 4:return`RoutesRecognized(id: ${Se.id}, url: '${Se.url}', urlAfterRedirects: '${Se.urlAfterRedirects}', state: ${Se.state})`;case 15:return`Scroll(anchor: '${Se.anchor}', position: '${Se.position?`${Se.position[0]}, ${Se.position[1]}`:null}')`}}(_e)),console.log(_e),console.groupEnd?.()})}}]:[],xa(1,Se)}const ud=new r.OlP(La?"router preloader":"");function md(Se){return xa(0,[{provide:ud,useExisting:fu},{provide:mu,useExisting:Se}])}const Uc=!1,Tp=new r.OlP(Uc?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),ip=[J.Ye,{provide:qr,useClass:Hi},rs,au,{provide:ie,useFactory:function rl(Se){return Se.routerState.root},deps:[rs]},Vs,Uc?{provide:Tu,useValue:!0}:[]];function Hd(){return new r.PXZ("Router",rs)}let Bf=(()=>{class Se{constructor(_e){}static forRoot(_e,Ye){return{ngModule:Se,providers:[ip,Uc&&Ye?.enableTracing?Vu().\u0275providers:[],{provide:Ra,multi:!0,useValue:_e},{provide:Tp,useFactory:xf,deps:[[rs,new r.FiY,new r.tp0]]},{provide:zt,useValue:Ye||{}},Ye?.useHash?{provide:J.S$,useClass:J.Do}:{provide:J.S$,useClass:J.b0},{provide:qc,useFactory:()=>{const Se=(0,r.f3M)(J.EM),Ne=(0,r.f3M)(r.R0b),_e=(0,r.f3M)(zt),Ye=(0,r.f3M)(Qa),Mt=(0,r.f3M)(qr);return _e.scrollOffset&&Se.setOffset(_e.scrollOffset),new $c(Mt,Ye,Se,Ne,_e)}},Ye?.preloadingStrategy?md(Ye.preloadingStrategy).\u0275providers:[],{provide:r.PXZ,multi:!0,useFactory:Hd},Ye?.initialNavigation?_u(Ye):[],[{provide:Ud,useFactory:Va},{provide:r.tb,multi:!0,useExisting:Ud}]]}}static forChild(_e){return{ngModule:Se,providers:[{provide:Ra,multi:!0,useValue:_e}]}}}return Se.\u0275fac=function(_e){return new(_e||Se)(r.LFG(Tp,8))},Se.\u0275mod=r.oAB({type:Se}),Se.\u0275inj=r.cJS({imports:[oc]}),Se})();function xf(Se){if(Uc&&Se)throw new r.vHH(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function _u(Se){return["disabled"===Se.initialNavigation?xa(3,[{provide:r.ip1,multi:!0,useFactory:()=>{const Ne=(0,r.f3M)(rs);return()=>{Ne.setUpLocationChangeListener()}}},{provide:Cu,useValue:2}]).\u0275providers:[],"enabledBlocking"===Se.initialNavigation?xa(2,[{provide:Cu,useValue:0},{provide:r.ip1,multi:!0,deps:[r.zs3],useFactory:Ne=>{const _e=Ne.get(J.V_,Promise.resolve());return()=>_e.then(()=>new Promise(Ye=>{const Mt=Ne.get(rs),un=Ne.get(Os);(function vc(Se,Ne){Se.events.pipe((0,ce.h)(_e=>_e instanceof jo||_e instanceof ss||_e instanceof Is||_e instanceof gs),(0,F.U)(_e=>_e instanceof jo||_e instanceof gs?pu.COMPLETE:_e instanceof ss&&(0===_e.code||1===_e.code)?pu.REDIRECTING:pu.FAILED),(0,ce.h)(_e=>_e!==pu.REDIRECTING),(0,de.q)(1)).subscribe(()=>{Ne()})})(Mt,()=>{Ye(!0)}),Ne.get(Qa).afterPreactivation=()=>(Ye(!0),un.closed?(0,c.of)(void 0):un),Mt.initialNavigation()}))}}]).\u0275providers:[]]}const Ud=new r.OlP(Uc?"Router Initializer":"")},51389:(E,C,s)=>{"use strict";s.d(C,{Kz:()=>Ap,xm:()=>ld,_A:()=>Hc,vL:()=>Qo,_D:()=>pu,lQ:()=>gd,VL:()=>Re,M:()=>lp,jt:()=>jd,TH:()=>l_,Vi:()=>u_,XC:()=>Qh,iD:()=>jf,J4:()=>ee,FF:()=>d_,Pz:()=>Td,uN:()=>up,nv:()=>jp,Is:()=>Dh,Vx:()=>Ta,tO:()=>gf,Oz:()=>Cc,Dy:()=>vf,o8:()=>x_,AX:()=>kf,dT:()=>Jf,Ly:()=>Rp,ZQ:()=>dp,Pm:()=>Sf,UL:()=>Vp,_L:()=>em,xI:()=>I_,HK:()=>_p,dR:()=>Im,ZS:()=>vd});var r=s(64537),a=s(70882),c=s(59193),u=s(25917),e=s(79765),f=s(22759),m=s(46797),T=s(59796),M=s(56693),w=s(55197),D=s(53960);function U(...I){if(1===I.length){if(!(0,T.k)(I[0]))return I[0];I=I[0]}return(0,M.n)(I,void 0).lift(new W)}class W{call(re,S){return S.subscribe(new $(re))}}class $ extends w.L{constructor(re){super(re),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(re){this.observables.push(re)}_complete(){const re=this.observables,S=re.length;if(0===S)this.destination.complete();else{for(let z=0;z<S&&!this.hasFirst;z++){const ut=(0,D.D)(this,re[z],void 0,z);this.subscriptions&&this.subscriptions.push(ut),this.add(ut)}this.observables=null}}notifyNext(re,S,z){if(!this.hasFirst){this.hasFirst=!0;for(let Oe=0;Oe<this.subscriptions.length;Oe++)if(Oe!==z){let ut=this.subscriptions[Oe];ut.unsubscribe(),this.remove(ut)}this.subscriptions=null}this.destination.next(S)}}var J=s(26215),de=(s(9112),s(17757),s(77393)),V=s(20377),ce=s(85345);function se(...I){const re=I[I.length-1];return"function"==typeof re&&I.pop(),(0,M.n)(I,void 0).lift(new fe(re))}class fe{constructor(re){this.resultSelector=re}call(re,S){return S.subscribe(new Te(re,this.resultSelector))}}class Te extends de.L{constructor(re,S,z=Object.create(null)){super(re),this.resultSelector=S,this.iterators=[],this.active=0,this.resultSelector="function"==typeof S?S:void 0}_next(re){const S=this.iterators;(0,T.k)(re)?S.push(new ge(re)):S.push("function"==typeof re[V.hZ]?new $e(re[V.hZ]()):new Et(this.destination,this,re))}_complete(){const re=this.iterators,S=re.length;if(this.unsubscribe(),0!==S){this.active=S;for(let z=0;z<S;z++){let Oe=re[z];Oe.stillUnsubscribed?this.destination.add(Oe.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const re=this.iterators,S=re.length,z=this.destination;for(let On=0;On<S;On++){let Ar=re[On];if("function"==typeof Ar.hasValue&&!Ar.hasValue())return}let Oe=!1;const ut=[];for(let On=0;On<S;On++){let Ar=re[On],ri=Ar.next();if(Ar.hasCompleted()&&(Oe=!0),ri.done)return void z.complete();ut.push(ri.value)}this.resultSelector?this._tryresultSelector(ut):z.next(ut),Oe&&z.complete()}_tryresultSelector(re){let S;try{S=this.resultSelector.apply(this,re)}catch(z){return void this.destination.error(z)}this.destination.next(S)}}class $e{constructor(re){this.iterator=re,this.nextResult=re.next()}hasValue(){return!0}next(){const re=this.nextResult;return this.nextResult=this.iterator.next(),re}hasCompleted(){const re=this.nextResult;return Boolean(re&&re.done)}}class ge{constructor(re){this.array=re,this.index=0,this.length=0,this.length=re.length}[V.hZ](){return this}next(re){const S=this.index++;return S<this.length?{value:this.array[S],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class Et extends ce.Ds{constructor(re,S,z){super(re),this.parent=S,this.observable=z,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[V.hZ](){return this}next(){const re=this.buffer;return 0===re.length&&this.isComplete?{value:null,done:!0}:{value:re.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(re){this.buffer.push(re),this.parent.checkIterators()}subscribe(){return(0,ce.ft)(this.observable,new ce.IY(this))}}var ot=s(66682),ct=s(6481),He=s(46782),We=s(45435),Le=s(15257),Pt=s(88002),it=s(39761),Xt=s(87519),cn=s(43190),pn=s(68307);function Rn(...I){return re=>{let S;return"function"==typeof I[I.length-1]&&(S=I.pop()),re.lift(new At(I,S))}}class At{constructor(re,S){this.observables=re,this.project=S}call(re,S){return S.subscribe(new qt(re,this.observables,this.project))}}class qt extends w.L{constructor(re,S,z){super(re),this.observables=S,this.project=z,this.toRespond=[];const Oe=S.length;this.values=new Array(Oe);for(let ut=0;ut<Oe;ut++)this.toRespond.push(ut);for(let ut=0;ut<Oe;ut++)this.add((0,D.D)(this,S[ut],void 0,ut))}notifyNext(re,S,z){this.values[z]=S;const Oe=this.toRespond;if(Oe.length>0){const ut=Oe.indexOf(z);-1!==ut&&Oe.splice(ut,1)}}notifyComplete(){}_next(re){if(0===this.toRespond.length){const S=[re,...this.values];this.project?this._tryProject(S):this.destination.next(S)}}_tryProject(re){let S;try{S=this.project.apply(this,re)}catch(z){return void this.destination.error(z)}this.destination.next(S)}}var sn=s(67460),fn=s(19773);class Kr{constructor(re){this.total=re}call(re,S){return S.subscribe(new Or(re,this.total))}}class Or extends de.L{constructor(re,S){super(re),this.total=S,this.count=0}_next(re){++this.count>this.total&&this.destination.next(re)}}var Lr=s(78345),ir=s(88692),Qr=s(20092),jr={left:"right",right:"left",bottom:"top",top:"bottom"};function br(I){return I.replace(/left|right|bottom|top/g,function(re){return jr[re]})}function ht(I){return I.split("-")[0]}var Wt={start:"end",end:"start"};function Tt(I){return I.replace(/start|end/g,function(re){return Wt[re]})}var wn="top",jn="bottom",hr="right",Oi="left",Wi="auto",so=[wn,jn,hr,Oi],kr="start",Ei="end",ii="clippingParents",mr="viewport",pr="popper",Eo="reference",po=so.reduce(function(I,re){return I.concat([re+"-"+kr,re+"-"+Ei])},[]),$i=[].concat(so,[Wi]).reduce(function(I,re){return I.concat([re,re+"-"+kr,re+"-"+Ei])},[]),an=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function lt(I){if(null==I)return window;if("[object Window]"!==I.toString()){var re=I.ownerDocument;return re&&re.defaultView||window}return I}function Rt(I){return I instanceof lt(I).Element||I instanceof Element}function Pe(I){return I instanceof lt(I).HTMLElement||I instanceof HTMLElement}function qn(I){return!(typeof ShadowRoot>"u")&&(I instanceof lt(I).ShadowRoot||I instanceof ShadowRoot)}function gr(I){return((Rt(I)?I.ownerDocument:I.document)||window.document).documentElement}function Pn(I,re){void 0===re&&(re=!1);var S=I.getBoundingClientRect();return{width:S.width/1,height:S.height/1,top:S.top/1,right:S.right/1,bottom:S.bottom/1,left:S.left/1,x:S.left/1,y:S.top/1}}function _r(I){var re=lt(I);return{scrollLeft:re.pageXOffset,scrollTop:re.pageYOffset}}function Pr(I){return Pn(gr(I)).left+_r(I).scrollLeft}function Zn(I){return lt(I).getComputedStyle(I)}var nr=Math.max,Zt=Math.min,dn=Math.round;function Ot(I){return I?(I.nodeName||"").toLowerCase():null}function mn(I){return"html"===Ot(I)?I:I.assignedSlot||I.parentNode||(qn(I)?I.host:null)||gr(I)}function wr(I){var re=Zn(I);return/auto|scroll|overlay|hidden/.test(re.overflow+re.overflowY+re.overflowX)}function Ti(I){return["html","body","#document"].indexOf(Ot(I))>=0?I.ownerDocument.body:Pe(I)&&wr(I)?I:Ti(mn(I))}function Ci(I,re){var S;void 0===re&&(re=[]);var z=Ti(I),Oe=z===(null==(S=I.ownerDocument)?void 0:S.body),ut=lt(z),On=Oe?[ut].concat(ut.visualViewport||[],wr(z)?z:[]):z,Ar=re.concat(On);return Oe?Ar:Ar.concat(Ci(mn(On)))}function Ai(I){return["table","td","th"].indexOf(Ot(I))>=0}function Ko(I){return Pe(I)&&"fixed"!==Zn(I).position?I.offsetParent:null}function dr(I){for(var re=lt(I),S=Ko(I);S&&Ai(S)&&"static"===Zn(S).position;)S=Ko(S);return S&&("html"===Ot(S)||"body"===Ot(S)&&"static"===Zn(S).position)?re:S||function _s(I){var re=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Pe(I)&&"fixed"===Zn(I).position)return null;for(var Oe=mn(I);Pe(Oe)&&["html","body"].indexOf(Ot(Oe))<0;){var ut=Zn(Oe);if("none"!==ut.transform||"none"!==ut.perspective||"paint"===ut.contain||-1!==["transform","perspective"].indexOf(ut.willChange)||re&&"filter"===ut.willChange||re&&ut.filter&&"none"!==ut.filter)return Oe;Oe=Oe.parentNode}return null}(I)||re}function Ni(I,re){var S=re.getRootNode&&re.getRootNode();if(I.contains(re))return!0;if(S&&qn(S)){var z=re;do{if(z&&I.isSameNode(z))return!0;z=z.parentNode||z.host}while(z)}return!1}function ti(I){return Object.assign({},I,{left:I.x,top:I.y,right:I.x+I.width,bottom:I.y+I.height})}function wi(I,re){return re===mr?ti(function tr(I){var re=lt(I),S=gr(I),z=re.visualViewport,Oe=S.clientWidth,ut=S.clientHeight,On=0,Ar=0;return z&&(Oe=z.width,ut=z.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(On=z.offsetLeft,Ar=z.offsetTop)),{width:Oe,height:ut,x:On+Pr(I),y:Ar}}(I)):Pe(re)?function Vr(I){var re=Pn(I);return re.top=re.top+I.clientTop,re.left=re.left+I.clientLeft,re.bottom=re.top+I.clientHeight,re.right=re.left+I.clientWidth,re.width=I.clientWidth,re.height=I.clientHeight,re.x=re.left,re.y=re.top,re}(re):ti(function Ge(I){var re,S=gr(I),z=_r(I),Oe=null==(re=I.ownerDocument)?void 0:re.body,ut=nr(S.scrollWidth,S.clientWidth,Oe?Oe.scrollWidth:0,Oe?Oe.clientWidth:0),On=nr(S.scrollHeight,S.clientHeight,Oe?Oe.scrollHeight:0,Oe?Oe.clientHeight:0),Ar=-z.scrollLeft+Pr(I),ri=-z.scrollTop;return"rtl"===Zn(Oe||S).direction&&(Ar+=nr(S.clientWidth,Oe?Oe.clientWidth:0)-ut),{width:ut,height:On,x:Ar,y:ri}}(gr(I)))}function Po(I){return I.split("-")[1]}function ko(I){return["top","bottom"].indexOf(I)>=0?"x":"y"}function Ir(I){var ri,re=I.reference,S=I.element,z=I.placement,Oe=z?ht(z):null,ut=z?Po(z):null,On=re.x+re.width/2-S.width/2,Ar=re.y+re.height/2-S.height/2;switch(Oe){case wn:ri={x:On,y:re.y-S.height};break;case jn:ri={x:On,y:re.y+re.height};break;case hr:ri={x:re.x+re.width,y:Ar};break;case Oi:ri={x:re.x-S.width,y:Ar};break;default:ri={x:re.x,y:re.y}}var Di=Oe?ko(Oe):null;if(null!=Di){var Pi="y"===Di?"height":"width";switch(ut){case kr:ri[Di]=ri[Di]-(re[Pi]/2-S[Pi]/2);break;case Ei:ri[Di]=ri[Di]+(re[Pi]/2-S[Pi]/2)}}return ri}function Vt(I){return Object.assign({},{top:0,right:0,bottom:0,left:0},I)}function bn(I,re){return re.reduce(function(S,z){return S[z]=I,S},{})}function Bn(I,re){void 0===re&&(re={});var z=re.placement,Oe=void 0===z?I.placement:z,ut=re.boundary,On=void 0===ut?ii:ut,Ar=re.rootBoundary,ri=void 0===Ar?mr:Ar,Di=re.elementContext,Pi=void 0===Di?pr:Di,cs=re.altBoundary,Yo=void 0!==cs&&cs,y=re.padding,x=void 0===y?0:y,Y=Vt("number"!=typeof x?x:bn(x,so)),Ke=I.rects.popper,xt=I.elements[Yo?Pi===pr?Eo:pr:Pi],_n=function Vi(I,re,S){var z="clippingParents"===re?function ji(I){var re=Ci(mn(I)),z=["absolute","fixed"].indexOf(Zn(I).position)>=0&&Pe(I)?dr(I):I;return Rt(z)?re.filter(function(Oe){return Rt(Oe)&&Ni(Oe,z)&&"body"!==Ot(Oe)}):[]}(I):[].concat(re),Oe=[].concat(z,[S]),On=Oe.reduce(function(Ar,ri){var Di=wi(I,ri);return Ar.top=nr(Di.top,Ar.top),Ar.right=Zt(Di.right,Ar.right),Ar.bottom=Zt(Di.bottom,Ar.bottom),Ar.left=nr(Di.left,Ar.left),Ar},wi(I,Oe[0]));return On.width=On.right-On.left,On.height=On.bottom-On.top,On.x=On.left,On.y=On.top,On}(Rt(xt)?xt:xt.contextElement||gr(I.elements.popper),On,ri),In=Pn(I.elements.reference),vr=Ir({reference:In,element:Ke,strategy:"absolute",placement:Oe}),Si=ti(Object.assign({},Ke,vr)),Uo=Pi===pr?Si:In,Ds={top:_n.top-Uo.top+Y.top,bottom:Uo.bottom-_n.bottom+Y.bottom,left:_n.left-Uo.left+Y.left,right:Uo.right-_n.right+Y.right},Qi=I.modifiersData.offset;if(Pi===pr&&Qi){var Ls=Qi[Oe];Object.keys(Ds).forEach(function(ia){var oa=[hr,jn].indexOf(ia)>=0?1:-1,di=[wn,jn].indexOf(ia)>=0?"y":"x";Ds[ia]+=Ls[di]*oa})}return Ds}const es={name:"flip",enabled:!0,phase:"main",fn:function go(I){var re=I.state,S=I.options,z=I.name;if(!re.modifiersData[z]._skip){for(var Oe=S.mainAxis,ut=void 0===Oe||Oe,On=S.altAxis,Ar=void 0===On||On,ri=S.fallbackPlacements,Di=S.padding,Pi=S.boundary,cs=S.rootBoundary,Yo=S.altBoundary,y=S.flipVariations,x=void 0===y||y,Y=S.allowedAutoPlacements,be=re.options.placement,Ke=ht(be),_n=ri||(Ke!==be&&x?function _o(I){if(ht(I)===Wi)return[];var re=br(I);return[Tt(I),re,Tt(re)]}(be):[br(be)]),In=[be].concat(_n).reduce(function(Ip,Wp){return Ip.concat(ht(Wp)===Wi?function ci(I,re){void 0===re&&(re={});var Oe=re.boundary,ut=re.rootBoundary,On=re.padding,Ar=re.flipVariations,ri=re.allowedAutoPlacements,Di=void 0===ri?$i:ri,Pi=Po(re.placement),cs=Pi?Ar?po:po.filter(function(x){return Po(x)===Pi}):so,Yo=cs.filter(function(x){return Di.indexOf(x)>=0});0===Yo.length&&(Yo=cs);var y=Yo.reduce(function(x,Y){return x[Y]=Bn(I,{placement:Y,boundary:Oe,rootBoundary:ut,padding:On})[ht(Y)],x},{});return Object.keys(y).sort(function(x,Y){return y[x]-y[Y]})}(re,{placement:Wp,boundary:Pi,rootBoundary:cs,padding:Di,flipVariations:x,allowedAutoPlacements:Y}):Wp)},[]),vr=re.rects.reference,Si=re.rects.popper,Uo=new Map,Ds=!0,Qi=In[0],Ls=0;Ls<In.length;Ls++){var ia=In[Ls],oa=ht(ia),di=Po(ia)===kr,Wr=[wn,jn].indexOf(oa)>=0,si=Wr?"width":"height",no=Bn(re,{placement:ia,boundary:Pi,rootBoundary:cs,altBoundary:Yo,padding:Di}),vo=Wr?di?hr:Oi:di?jn:wn;vr[si]>Si[si]&&(vo=br(vo));var fl=br(vo),Us=[];if(ut&&Us.push(no[oa]<=0),Ar&&Us.push(no[vo]<=0,no[fl]<=0),Us.every(function(Ip){return Ip})){Qi=ia,Ds=!1;break}Uo.set(ia,Us)}if(Ds)for(var Cl=function(Wp){var Lh=In.find(function(dh){var kh=Uo.get(dh);if(kh)return kh.slice(0,Wp).every(function(Fm){return Fm})});if(Lh)return Qi=Lh,"break"},Ia=x?3:1;Ia>0&&"break"!==Cl(Ia);Ia--);re.placement!==Qi&&(re.modifiersData[z]._skip=!0,re.placement=Qi,re.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function jo(I,re,S){return nr(I,Zt(re,S))}function ss(I){var re=Pn(I),S=I.offsetWidth,z=I.offsetHeight;return Math.abs(re.width-S)<=1&&(S=re.width),Math.abs(re.height-z)<=1&&(z=re.height),{x:I.offsetLeft,y:I.offsetTop,width:S,height:z}}const Is={name:"preventOverflow",enabled:!0,phase:"main",fn:function gs(I){var re=I.state,S=I.options,z=I.name,Oe=S.mainAxis,ut=void 0===Oe||Oe,On=S.altAxis,Ar=void 0!==On&&On,Yo=S.tether,y=void 0===Yo||Yo,x=S.tetherOffset,Y=void 0===x?0:x,be=Bn(re,{boundary:S.boundary,rootBoundary:S.rootBoundary,padding:S.padding,altBoundary:S.altBoundary}),Ke=ht(re.placement),xt=Po(re.placement),_n=!xt,In=ko(Ke),vr=function ts(I){return"x"===I?"y":"x"}(In),Si=re.modifiersData.popperOffsets,Uo=re.rects.reference,Ds=re.rects.popper,Qi="function"==typeof Y?Y(Object.assign({},re.rects,{placement:re.placement})):Y,Ls={x:0,y:0};if(Si){if(ut||Ar){var ia="y"===In?wn:Oi,oa="y"===In?jn:hr,di="y"===In?"height":"width",Wr=Si[In],si=Si[In]+be[ia],no=Si[In]-be[oa],vo=y?-Ds[di]/2:0,fl=xt===kr?Uo[di]:Ds[di],Us=xt===kr?-Ds[di]:-Uo[di],ll=re.elements.arrow,Cl=y&&ll?ss(ll):{width:0,height:0},Ia=re.modifiersData["arrow#persistent"]?re.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},bf=Ia[ia],Ip=Ia[oa],Wp=jo(0,Uo[di],Cl[di]),Lh=_n?Uo[di]/2-vo-Wp-bf-Qi:fl-Wp-bf-Qi,dh=_n?-Uo[di]/2+vo+Wp+Ip+Qi:Us+Wp+Ip+Qi,kh=re.elements.arrow&&dr(re.elements.arrow),dg=re.modifiersData.offset?re.modifiersData.offset[re.placement][In]:0,fg=Si[In]+Lh-dg-(kh?"y"===In?kh.clientTop||0:kh.clientLeft||0:0),Lm=Si[In]+dh-dg;if(ut){var pg=jo(y?Zt(si,fg):si,Wr,y?nr(no,Lm):no);Si[In]=pg,Ls[In]=pg-Wr}if(Ar){var Qf=Si[vr],sm=Qf+be["x"===In?wn:Oi],nd=Qf-be["x"===In?jn:hr],Zd=jo(y?Zt(sm,fg):sm,Qf,y?nr(nd,Lm):nd);Si[vr]=Zd,Ls[vr]=Zd-Qf}}re.modifiersData[z]=Ls}},requiresIfExists:["offset"]};const gl={name:"arrow",enabled:!0,phase:"main",fn:function Ro(I){var re,S=I.state,z=I.name,Oe=I.options,ut=S.elements.arrow,On=S.modifiersData.popperOffsets,Ar=ht(S.placement),ri=ko(Ar),Pi=[Oi,hr].indexOf(Ar)>=0?"height":"width";if(ut&&On){var cs=function(re,S){return Vt("number"!=typeof(re="function"==typeof re?re(Object.assign({},S.rects,{placement:S.placement})):re)?re:bn(re,so))}(Oe.padding,S),Yo=ss(ut),y="y"===ri?wn:Oi,x="y"===ri?jn:hr,Y=S.rects.reference[Pi]+S.rects.reference[ri]-On[ri]-S.rects.popper[Pi],be=On[ri]-S.rects.reference[ri],Ke=dr(ut),xt=Ke?"y"===ri?Ke.clientHeight||0:Ke.clientWidth||0:0,Si=xt/2-Yo[Pi]/2+(Y/2-be/2),Uo=jo(cs[y],Si,xt-Yo[Pi]-cs[x]);S.modifiersData[z]=((re={})[ri]=Uo,re.centerOffset=Uo-Si,re)}},effect:function jl(I){var re=I.state,z=I.options.element,Oe=void 0===z?"[data-popper-arrow]":z;null!=Oe&&("string"==typeof Oe&&!(Oe=re.elements.popper.querySelector(Oe))||Ni(re.elements.popper,Oe)&&(re.elements.arrow=Oe))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Rl(I,re,S){void 0===S&&(S=!1);var z=Pe(re),Oe=Pe(re)&&function $a(I){var re=I.getBoundingClientRect();return 1!==(re.width/I.offsetWidth||1)||1!==(re.height/I.offsetHeight||1)}(re),ut=gr(re),On=Pn(I,Oe),Ar={scrollLeft:0,scrollTop:0},ri={x:0,y:0};return(z||!z&&!S)&&(("body"!==Ot(re)||wr(ut))&&(Ar=function da(I){return I!==lt(I)&&Pe(I)?function qa(I){return{scrollLeft:I.scrollLeft,scrollTop:I.scrollTop}}(I):_r(I)}(re)),Pe(re)?((ri=Pn(re,!0)).x+=re.clientLeft,ri.y+=re.clientTop):ut&&(ri.x=Pr(ut))),{x:On.left+Ar.scrollLeft-ri.x,y:On.top+Ar.scrollTop-ri.y,width:On.width,height:On.height}}function Ji(I){var re=new Map,S=new Set,z=[];function Oe(ut){S.add(ut.name),[].concat(ut.requires||[],ut.requiresIfExists||[]).forEach(function(Ar){if(!S.has(Ar)){var ri=re.get(Ar);ri&&Oe(ri)}}),z.push(ut)}return I.forEach(function(ut){re.set(ut.name,ut)}),I.forEach(function(ut){S.has(ut.name)||Oe(ut)}),z}function Ts(I){var re;return function(){return re||(re=new Promise(function(S){Promise.resolve().then(function(){re=void 0,S(I())})})),re}}var Ja={placement:"bottom",modifiers:[],strategy:"absolute"};function fa(){for(var I=arguments.length,re=new Array(I),S=0;S<I;S++)re[S]=arguments[S];return!re.some(function(z){return!(z&&"function"==typeof z.getBoundingClientRect)})}function Xo(I){void 0===I&&(I={});var S=I.defaultModifiers,z=void 0===S?[]:S,Oe=I.defaultOptions,ut=void 0===Oe?Ja:Oe;return function(Ar,ri,Di){void 0===Di&&(Di=ut);var Pi={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ja,ut),modifiersData:{},elements:{reference:Ar,popper:ri},attributes:{},styles:{}},cs=[],Yo=!1,y={state:Pi,setOptions:function(Ke){var xt="function"==typeof Ke?Ke(Pi.options):Ke;Y(),Pi.options=Object.assign({},ut,Pi.options,xt),Pi.scrollParents={reference:Rt(Ar)?Ci(Ar):Ar.contextElement?Ci(Ar.contextElement):[],popper:Ci(ri)};var _n=function Ha(I){var re=Ji(I);return an.reduce(function(S,z){return S.concat(re.filter(function(Oe){return Oe.phase===z}))},[])}(function hs(I){var re=I.reduce(function(S,z){var Oe=S[z.name];return S[z.name]=Oe?Object.assign({},Oe,z,{options:Object.assign({},Oe.options,z.options),data:Object.assign({},Oe.data,z.data)}):z,S},{});return Object.keys(re).map(function(S){return re[S]})}([].concat(z,Pi.options.modifiers)));return Pi.orderedModifiers=_n.filter(function(ia){return ia.enabled}),function x(){Pi.orderedModifiers.forEach(function(be){var xt=be.options,In=be.effect;if("function"==typeof In){var vr=In({state:Pi,name:be.name,instance:y,options:void 0===xt?{}:xt});cs.push(vr||function(){})}})}(),y.update()},forceUpdate:function(){if(!Yo){var Ke=Pi.elements,xt=Ke.reference,_n=Ke.popper;if(fa(xt,_n)){Pi.rects={reference:Rl(xt,dr(_n),"fixed"===Pi.options.strategy),popper:ss(_n)},Pi.reset=!1,Pi.placement=Pi.options.placement,Pi.orderedModifiers.forEach(function(ia){return Pi.modifiersData[ia.name]=Object.assign({},ia.data)});for(var vr=0;vr<Pi.orderedModifiers.length;vr++)if(!0!==Pi.reset){var Si=Pi.orderedModifiers[vr],Uo=Si.fn,Ds=Si.options;"function"==typeof Uo&&(Pi=Uo({state:Pi,options:void 0===Ds?{}:Ds,name:Si.name,instance:y})||Pi)}else Pi.reset=!1,vr=-1}}},update:Ts(function(){return new Promise(function(be){y.forceUpdate(),be(Pi)})}),destroy:function(){Y(),Yo=!0}};if(!fa(Ar,ri))return y;function Y(){cs.forEach(function(be){return be()}),cs=[]}return y.setOptions(Di).then(function(be){!Yo&&Di.onFirstUpdate&&Di.onFirstUpdate(be)}),y}}var Cs={passive:!0},gt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ie(I){var re,S=I.popper,z=I.popperRect,Oe=I.placement,ut=I.variation,On=I.offsets,Ar=I.position,ri=I.gpuAcceleration,Di=I.adaptive,Pi=I.roundOffsets,cs=!0===Pi?function Tn(I){var S=I.y,Oe=window.devicePixelRatio||1;return{x:dn(dn(I.x*Oe)/Oe)||0,y:dn(dn(S*Oe)/Oe)||0}}(On):"function"==typeof Pi?Pi(On):On,Yo=cs.x,y=void 0===Yo?0:Yo,x=cs.y,Y=void 0===x?0:x,be=On.hasOwnProperty("x"),Ke=On.hasOwnProperty("y"),xt=Oi,_n=wn,In=window;if(Di){var vr=dr(S),Si="clientHeight",Uo="clientWidth";vr===lt(S)&&"static"!==Zn(vr=gr(S)).position&&"absolute"===Ar&&(Si="scrollHeight",Uo="scrollWidth"),(Oe===wn||(Oe===Oi||Oe===hr)&&ut===Ei)&&(_n=jn,Y-=vr[Si]-z.height,Y*=ri?1:-1),(Oe===Oi||(Oe===wn||Oe===jn)&&ut===Ei)&&(xt=hr,y-=vr[Uo]-z.width,y*=ri?1:-1)}var Qi,Ds=Object.assign({position:Ar},Di&&gt);return Object.assign({},Ds,ri?((Qi={})[_n]=Ke?"0":"",Qi[xt]=be?"0":"",Qi.transform=(In.devicePixelRatio||1)<=1?"translate("+y+"px, "+Y+"px)":"translate3d("+y+"px, "+Y+"px, 0)",Qi):((re={})[_n]=Ke?Y+"px":"",re[xt]=be?y+"px":"",re.transform="",re))}var ws=Xo({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function ns(I){var re=I.state,S=I.instance,z=I.options,Oe=z.scroll,ut=void 0===Oe||Oe,On=z.resize,Ar=void 0===On||On,ri=lt(re.elements.popper),Di=[].concat(re.scrollParents.reference,re.scrollParents.popper);return ut&&Di.forEach(function(Pi){Pi.addEventListener("scroll",S.update,Cs)}),Ar&&ri.addEventListener("resize",S.update,Cs),function(){ut&&Di.forEach(function(Pi){Pi.removeEventListener("scroll",S.update,Cs)}),Ar&&ri.removeEventListener("resize",S.update,Cs)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function zr(I){var re=I.state;re.modifiersData[I.name]=Ir({reference:re.rects.reference,element:re.rects.popper,strategy:"absolute",placement:re.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function Ze(I){var re=I.state,S=I.options,z=S.gpuAcceleration,Oe=void 0===z||z,ut=S.adaptive,On=void 0===ut||ut,Ar=S.roundOffsets,ri=void 0===Ar||Ar,Pi={placement:ht(re.placement),variation:Po(re.placement),popper:re.elements.popper,popperRect:re.rects.popper,gpuAcceleration:Oe};null!=re.modifiersData.popperOffsets&&(re.styles.popper=Object.assign({},re.styles.popper,ie(Object.assign({},Pi,{offsets:re.modifiersData.popperOffsets,position:re.options.strategy,adaptive:On,roundOffsets:ri})))),null!=re.modifiersData.arrow&&(re.styles.arrow=Object.assign({},re.styles.arrow,ie(Object.assign({},Pi,{offsets:re.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:ri})))),re.attributes.popper=Object.assign({},re.attributes.popper,{"data-popper-placement":re.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function gn(I){var re=I.state;Object.keys(re.elements).forEach(function(S){var z=re.styles[S]||{},Oe=re.attributes[S]||{},ut=re.elements[S];!Pe(ut)||!Ot(ut)||(Object.assign(ut.style,z),Object.keys(Oe).forEach(function(On){var Ar=Oe[On];!1===Ar?ut.removeAttribute(On):ut.setAttribute(On,!0===Ar?"":Ar)}))})},effect:function vi(I){var re=I.state,S={popper:{position:re.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(re.elements.popper.style,S.popper),re.styles=S,re.elements.arrow&&Object.assign(re.elements.arrow.style,S.arrow),function(){Object.keys(re.elements).forEach(function(z){var Oe=re.elements[z],ut=re.attributes[z]||{},Ar=Object.keys(re.styles.hasOwnProperty(z)?re.styles[z]:S[z]).reduce(function(ri,Di){return ri[Di]="",ri},{});!Pe(Oe)||!Ot(Oe)||(Object.assign(Oe.style,Ar),Object.keys(ut).forEach(function(ri){Oe.removeAttribute(ri)}))})}},requires:["computeStyles"]}]});const Js={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function qs(I){var re=I.state,z=I.name,Oe=I.options.offset,ut=void 0===Oe?[0,0]:Oe,On=$i.reduce(function(Pi,cs){return Pi[cs]=function ds(I,re,S){var z=ht(I),Oe=[Oi,wn].indexOf(z)>=0?-1:1,ut="function"==typeof S?S(Object.assign({},re,{placement:I})):S,On=ut[0],Ar=ut[1];return On=On||0,Ar=(Ar||0)*Oe,[Oi,hr].indexOf(z)>=0?{x:Ar,y:On}:{x:On,y:Ar}}(cs,re.rects,ut),Pi},{}),Ar=On[re.placement],Di=Ar.y;null!=re.modifiersData.popperOffsets&&(re.modifiersData.popperOffsets.x+=Ar.x,re.modifiersData.popperOffsets.y+=Di),re.modifiersData[z]=On}};function yl(I,re){if(1&I){const S=r.EpF();r.TgZ(0,"button",1),r.NdJ("click",function(){r.CHM(S);const Oe=r.oxw();return r.KtG(Oe.close())}),r.qZA()}}const au=["*"],Xl=["ngbDatepickerDayView",""],Ic=["month"],Gs=["year"];function ku(I,re){if(1&I&&(r.TgZ(0,"option",5),r._uU(1),r.qZA()),2&I){const S=re.$implicit,z=r.oxw();r.Q6J("value",S),r.uIk("aria-label",z.i18n.getMonthFullName(S,z.date.year)),r.xp6(1),r.Oqu(z.i18n.getMonthShortName(S,z.date.year))}}function zu(I,re){if(1&I&&(r.TgZ(0,"option",5),r._uU(1),r.qZA()),2&I){const S=re.$implicit,z=r.oxw();r.Q6J("value",S),r.xp6(1),r.Oqu(z.i18n.getYearNumerals(S))}}function ua(I,re){if(1&I){const S=r.EpF();r.TgZ(0,"ngb-datepicker-navigation-select",7),r.NdJ("select",function(Oe){r.CHM(S);const ut=r.oxw();return r.KtG(ut.select.emit(Oe))}),r.qZA()}if(2&I){const S=r.oxw();r.Q6J("date",S.date)("disabled",S.disabled)("months",S.selectBoxes.months)("years",S.selectBoxes.years)}}function El(I,re){1&I&&r._UZ(0,"div",0)}function uu(I,re){1&I&&r._UZ(0,"div",0)}function Eu(I,re){if(1&I&&(r.YNc(0,El,1,0,"div",9),r.TgZ(1,"div",10),r._uU(2),r.qZA(),r.YNc(3,uu,1,0,"div",9)),2&I){const S=re.$implicit,z=re.index,Oe=r.oxw(2);r.Q6J("ngIf",z>0),r.xp6(2),r.hij(" ",Oe.i18n.getMonthLabel(S.firstDate)," "),r.xp6(1),r.Q6J("ngIf",z!==Oe.months.length-1)}}function $u(I,re){if(1&I&&r.YNc(0,Eu,4,3,"ng-template",8),2&I){const S=r.oxw();r.Q6J("ngForOf",S.months)}}function Ba(I,re){if(1&I&&(r.TgZ(0,"div",5),r._uU(1),r.qZA()),2&I){const S=r.oxw(2);r.xp6(1),r.Oqu(S.i18n.getWeekLabel())}}function Tl(I,re){if(1&I&&(r.TgZ(0,"div",6),r._uU(1),r.qZA()),2&I){const S=re.$implicit;r.xp6(1),r.Oqu(S)}}function tl(I,re){if(1&I&&(r.TgZ(0,"div",2),r.YNc(1,Ba,2,1,"div",3),r.YNc(2,Tl,2,1,"div",4),r.qZA()),2&I){const S=r.oxw();r.xp6(1),r.Q6J("ngIf",S.datepicker.showWeekNumbers),r.xp6(1),r.Q6J("ngForOf",S.viewModel.weekdays)}}function Ga(I,re){if(1&I&&(r.TgZ(0,"div",11),r._uU(1),r.qZA()),2&I){const S=r.oxw(2).$implicit,z=r.oxw();r.xp6(1),r.Oqu(z.i18n.getWeekNumerals(S.number))}}function dc(I,re){}function cu(I,re){if(1&I&&r.YNc(0,dc,0,0,"ng-template",14),2&I){const S=r.oxw().$implicit,z=r.oxw(3);r.Q6J("ngTemplateOutlet",z.datepicker.dayTemplate)("ngTemplateOutletContext",S.context)}}function Sa(I,re){if(1&I){const S=r.EpF();r.TgZ(0,"div",12),r.NdJ("click",function(Oe){const On=r.CHM(S).$implicit;return r.oxw(3).doSelect(On),r.KtG(Oe.preventDefault())}),r.YNc(1,cu,1,2,"ng-template",13),r.qZA()}if(2&I){const S=re.$implicit;r.ekj("disabled",S.context.disabled)("hidden",S.hidden)("ngb-dp-today",S.context.today),r.Q6J("tabindex",S.tabindex),r.uIk("aria-label",S.ariaLabel),r.xp6(1),r.Q6J("ngIf",!S.hidden)}}function Ru(I,re){if(1&I&&(r.TgZ(0,"div",8),r.YNc(1,Ga,2,1,"div",9),r.YNc(2,Sa,2,9,"div",10),r.qZA()),2&I){const S=r.oxw().$implicit,z=r.oxw();r.xp6(1),r.Q6J("ngIf",z.datepicker.showWeekNumbers),r.xp6(1),r.Q6J("ngForOf",S.days)}}function xu(I,re){1&I&&r.YNc(0,Ru,3,2,"div",7),2&I&&r.Q6J("ngIf",!re.$implicit.collapsed)}const ba=["defaultDayTemplate"],nl=["content"];function Su(I,re){if(1&I&&r._UZ(0,"div",8),2&I){const z=re.currentMonth,Oe=re.selected,ut=re.disabled,On=re.focused;r.Q6J("date",re.date)("currentMonth",z)("selected",Oe)("disabled",ut)("focused",On)}}function gc(I,re){if(1&I&&(r.TgZ(0,"div",13),r._uU(1),r.qZA()),2&I){const S=r.oxw().$implicit,z=r.oxw(2);r.xp6(1),r.hij(" ",z.i18n.getMonthLabel(S.firstDate)," ")}}function ql(I,re){if(1&I&&(r.TgZ(0,"div",10),r.YNc(1,gc,2,1,"div",11),r._UZ(2,"ngb-datepicker-month",12),r.qZA()),2&I){const S=re.$implicit,z=r.oxw(2);r.xp6(1),r.Q6J("ngIf","none"===z.navigation||z.displayMonths>1&&"select"===z.navigation),r.xp6(1),r.Q6J("month",S.firstDate)}}function Al(I,re){if(1&I&&r.YNc(0,ql,3,2,"div",9),2&I){const S=r.oxw();r.Q6J("ngForOf",S.model.months)}}function Dc(I,re){if(1&I){const S=r.EpF();r.TgZ(0,"ngb-datepicker-navigation",14),r.NdJ("navigate",function(Oe){r.CHM(S);const ut=r.oxw();return r.KtG(ut.onNavigateEvent(Oe))})("select",function(Oe){r.CHM(S);const ut=r.oxw();return r.KtG(ut.onNavigateDateSelect(Oe))}),r.qZA()}if(2&I){const S=r.oxw();r.Q6J("date",S.model.firstDate)("months",S.model.months)("disabled",S.model.disabled)("showSelect","select"===S.model.navigation)("prevDisabled",S.model.prevDisabled)("nextDisabled",S.model.nextDisabled)("selectBoxes",S.model.selectBoxes)}}function zs(I,re){}function Vc(I,re){}const bt=function(I){return{$implicit:I}},pt=["dialog"],Je=["ngbNavOutlet",""];function en(I,re){}function fi(I,re){if(1&I&&(r.TgZ(0,"div",2),r.YNc(1,en,0,0,"ng-template",3),r.qZA()),2&I){const S=r.oxw().$implicit,z=r.oxw();r.Q6J("item",S)("nav",z.nav)("role",z.paneRole),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==S.contentTpl?null:S.contentTpl.templateRef)||null)("ngTemplateOutletContext",r.VKq(5,bt,S.active||z.isPanelTransitioning(S)))}}function To(I,re){if(1&I&&r.YNc(0,fi,2,7,"div",1),2&I){const S=re.$implicit,z=r.oxw();r.Q6J("ngIf",S.isPanelInDom()||z.isPanelTransitioning(S))}}function yr(I,re){if(1&I&&r._uU(0),2&I){const S=r.oxw(2);r.Oqu(S.title)}}function Rr(I,re){}function Go(I,re){if(1&I&&(r.TgZ(0,"h3",3),r.YNc(1,yr,1,1,"ng-template",null,4,r.W1O),r.YNc(3,Rr,0,0,"ng-template",5),r.qZA()),2&I){const S=r.MAs(2),z=r.oxw();r.xp6(3),r.Q6J("ngTemplateOutlet",z.isTitleTemplate()?z.title:S)("ngTemplateOutletContext",z.context)}}function Io(I,re){if(1&I&&(r.TgZ(0,"span"),r.SDv(1,1),r.ALo(2,"percent"),r.qZA()),2&I){const S=r.oxw();r.xp6(2),r.pQV(r.lcZ(2,1,S.getValue()/S.max)),r.QtT(1)}}function Ui(I,re){if(1&I){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Oe=r.oxw();return r.KtG(Oe.changeHour(Oe.hourStep))}),r._UZ(1,"span",12),r.TgZ(2,"span",13),r.SDv(3,14),r.qZA()()}if(2&I){const S=r.oxw();r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function Do(I,re){if(1&I){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Oe=r.oxw();return r.KtG(Oe.changeHour(-Oe.hourStep))}),r._UZ(1,"span",15),r.TgZ(2,"span",13),r.SDv(3,16),r.qZA()()}if(2&I){const S=r.oxw();r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function Fa(I,re){if(1&I){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Oe=r.oxw();return r.KtG(Oe.changeMinute(Oe.minuteStep))}),r._UZ(1,"span",12),r.TgZ(2,"span",13),r.SDv(3,17),r.qZA()()}if(2&I){const S=r.oxw();r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function ca(I,re){if(1&I){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Oe=r.oxw();return r.KtG(Oe.changeMinute(-Oe.minuteStep))}),r._UZ(1,"span",15),r.TgZ(2,"span",13),r.SDv(3,18),r.qZA()()}if(2&I){const S=r.oxw();r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function zo(I,re){1&I&&(r.TgZ(0,"div",5),r._uU(1,":"),r.qZA())}function $l(I,re){if(1&I){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Oe=r.oxw(2);return r.KtG(Oe.changeSecond(Oe.secondStep))}),r._UZ(1,"span",12),r.TgZ(2,"span",13),r.SDv(3,21),r.qZA()()}if(2&I){const S=r.oxw(2);r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function xl(I,re){if(1&I){const S=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(S);const Oe=r.oxw(2);return r.KtG(Oe.changeSecond(-Oe.secondStep))}),r._UZ(1,"span",15),r.TgZ(2,"span",13),r.SDv(3,22),r.qZA()()}if(2&I){const S=r.oxw(2);r.ekj("btn-sm",S.isSmallSize)("btn-lg",S.isLargeSize)("disabled",S.disabled),r.Q6J("disabled",S.disabled)}}function Uu(I,re){if(1&I){const S=r.EpF();r.TgZ(0,"div",19),r.YNc(1,$l,4,7,"button",3),r.TgZ(2,"input",20),r.NdJ("change",function(Oe){r.CHM(S);const ut=r.oxw();return r.KtG(ut.updateSecond(Oe.target.value))})("blur",function(){r.CHM(S);const Oe=r.oxw();return r.KtG(Oe.handleBlur())})("input",function(Oe){r.CHM(S);const ut=r.oxw();return r.KtG(ut.formatInput(Oe.target))})("keydown.ArrowUp",function(Oe){r.CHM(S);const ut=r.oxw();return ut.changeSecond(ut.secondStep),r.KtG(Oe.preventDefault())})("keydown.ArrowDown",function(Oe){r.CHM(S);const ut=r.oxw();return ut.changeSecond(-ut.secondStep),r.KtG(Oe.preventDefault())}),r.qZA(),r.YNc(3,xl,4,7,"button",3),r.qZA()}if(2&I){const S=r.oxw();r.xp6(1),r.Q6J("ngIf",S.spinners),r.xp6(1),r.ekj("form-control-sm",S.isSmallSize)("form-control-lg",S.isLargeSize),r.Q6J("value",S.formatMinSec(null==S.model?null:S.model.second))("readOnly",S.readonlyInputs)("disabled",S.disabled),r.xp6(1),r.Q6J("ngIf",S.spinners)}}function Xc(I,re){1&I&&r._UZ(0,"div",5)}function ad(I,re){if(1&I&&(r.ynx(0),r.SDv(1,27),r.BQk()),2&I){const S=r.oxw(2);r.xp6(1),r.pQV(S.i18n.getAfternoonPeriod()),r.QtT(1)}}function kc(I,re){if(1&I&&r.SDv(0,28),2&I){const S=r.oxw(2);r.pQV(S.i18n.getMorningPeriod()),r.QtT(0)}}function yi(I,re){if(1&I){const S=r.EpF();r.TgZ(0,"div",23)(1,"button",24),r.NdJ("click",function(){r.CHM(S);const Oe=r.oxw();return r.KtG(Oe.toggleMeridian())}),r.YNc(2,ad,2,1,"ng-container",25),r.YNc(3,kc,1,1,"ng-template",null,26,r.W1O),r.qZA()()}if(2&I){const S=r.MAs(4),z=r.oxw();r.xp6(1),r.ekj("btn-sm",z.isSmallSize)("btn-lg",z.isLargeSize)("disabled",z.disabled),r.Q6J("disabled",z.disabled),r.xp6(1),r.Q6J("ngIf",z.model&&z.model.hour>=12)("ngIfElse",S)}}function bu(I,re){if(1&I&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&I){const S=r.oxw().$implicit,z=r.oxw();r.Tol(z.highlightClass),r.xp6(1),r.Oqu(S)}}function je(I,re){if(1&I&&r._uU(0),2&I){const S=r.oxw().$implicit;r.Oqu(S)}}function Nt(I,re){if(1&I&&(r.YNc(0,bu,2,3,"span",1),r.YNc(1,je,1,1,"ng-template",null,2,r.W1O)),2&I){const S=re.odd,z=r.MAs(2);r.Q6J("ngIf",S)("ngIfElse",z)}}function tt(I,re){if(1&I&&r._UZ(0,"ngb-highlight",2),2&I){const z=re.term;r.Q6J("result",(0,re.formatter)(re.result))("term",z)}}function tn(I,re){}const Xn=function(I,re,S){return{result:I,term:re,formatter:S}};function bi(I,re){if(1&I){const S=r.EpF();r.TgZ(0,"button",3),r.NdJ("mouseenter",function(){const ut=r.CHM(S).index,On=r.oxw();return r.KtG(On.markActive(ut))})("click",function(){const ut=r.CHM(S).$implicit,On=r.oxw();return r.KtG(On.select(ut))}),r.YNc(1,tn,0,0,"ng-template",4),r.qZA()}if(2&I){const S=re.$implicit,z=re.index,Oe=r.oxw(),ut=r.MAs(1);r.ekj("active",z===Oe.activeIdx),r.Q6J("id",Oe.id+"-"+z),r.xp6(1),r.Q6J("ngTemplateOutlet",Oe.resultTemplate||ut)("ngTemplateOutletContext",r.kEZ(5,Xn,S,Oe.term,Oe.formatter))}}function Ri(I){return parseInt(`${I}`,10)}function fs(I){return null!=I?`${I}`:""}function Ra(I){return"string"==typeof I}function Vs(I){return!isNaN(Ri(I))}function Ms(I){return"number"==typeof I&&isFinite(I)&&Math.floor(I)===I}function wl(I){return null!=I}function Qa(I){return Vs(I)?`0${I}`.slice(-2):""}function Jl(I,re){return I&&I.className&&I.className.split&&I.className.split(/\s+/).indexOf(re)>=0}function ae(I){return(I||document.body).getBoundingClientRect()}function Ve(I){return I.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const zt={animation:!0,transitionTimerDelayMs:5},Qt=()=>{},{transitionTimerDelayMs:Gn}=zt,Er=new Map,Nr=(I,re,S,z)=>{let Oe=z.context||{};const ut=Er.get(re);if(ut)switch(z.runningTransition){case"continue":return c.E;case"stop":I.run(()=>ut.transition$.complete()),Oe=Object.assign(ut.context,Oe),Er.delete(re)}const On=S(re,z.animation,Oe)||Qt;if(!z.animation||"none"===window.getComputedStyle(re).transitionProperty)return I.run(()=>On()),(0,u.of)(void 0).pipe(function De(I){return re=>new a.y(S=>re.subscribe({next:On=>I.run(()=>S.next(On)),error:On=>I.run(()=>S.error(On)),complete:()=>I.run(()=>S.complete())}))}(I));const Ar=new e.xQ,ri=new e.xQ,Di=Ar.pipe(function qe(...I){return re=>(0,ct.z)(re,(0,u.of)(...I))}(!0));Er.set(re,{transition$:Ar,complete:()=>{ri.next(),ri.complete()},context:Oe});const Pi=function st(I){const{transitionDelay:re,transitionDuration:S}=window.getComputedStyle(I);return 1e3*(parseFloat(re)+parseFloat(S))}(re);return I.runOutsideAngular(()=>{const cs=(0,f.R)(re,"transitionend").pipe((0,He.R)(Di),(0,We.h)(({target:y})=>y===re));U((0,m.H)(Pi+Gn).pipe((0,He.R)(Di)),cs,ri).pipe((0,He.R)(Di)).subscribe(()=>{Er.delete(re),I.run(()=>{On(),Ar.next(),Ar.complete()})})}),Ar.asObservable()},Jo=(I,re,S)=>{let{direction:z,maxSize:Oe,dimension:ut}=S;const{classList:On}=I;function Ar(){On.add("collapse"),"show"===z?On.add("show"):On.remove("show")}if(re)return Oe||(Oe=function ao(I,re){if(typeof navigator>"u")return"0px";const{classList:S}=I,z=S.contains("show");z||S.add("show"),I.style[re]="";const Oe=I.getBoundingClientRect()[re]+"px";return z||S.remove("show"),Oe}(I,ut),S.maxSize=Oe,I.style[ut]="show"!==z?Oe:"0px",On.remove("collapse"),On.remove("collapsing"),On.remove("show"),ae(I),On.add("collapsing")),I.style[ut]="show"===z?Oe:"0px",()=>{Ar(),On.remove("collapsing"),I.style[ut]=""};Ar()};let rs=(()=>{class I{constructor(){this.animation=zt.animation}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),$c=(()=>{class I{constructor(S){this._ngbConfig=S,this.horizontal=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(rs))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),pu=(()=>{class I{constructor(S,z,Oe){this._element=S,this._zone=Oe,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new r.vpe,this.shown=new r.vpe,this.hidden=new r.vpe,this.animation=z.animation,this.horizontal=z.horizontal}set collapsed(S){this._isCollapsed!==S&&(this._isCollapsed=S,this._afterInit&&this._runTransitionWithEvents(S,this.animation))}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(S=this._isCollapsed){this.collapsed=!S,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(S,z){return Nr(this._zone,this._element.nativeElement,Jo,{animation:z,runningTransition:"stop",context:{direction:S?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(S,z){this._runTransition(S,z).subscribe(()=>{S?this.hidden.emit():this.shown.emit()})}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.SBq),r.Y36($c),r.Y36(r.R0b))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(S,z){2&S&&r.ekj("collapse-horizontal",z.horizontal)},inputs:{animation:"animation",collapsed:["ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],standalone:!0}),I})();const Os=({classList:I})=>{I.remove("show")};let Cu=(()=>{class I{constructor(S){this._ngbConfig=S,this.dismissible=!0,this.type="warning"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(rs))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ld=(()=>{class I{constructor(S,z,Oe,ut){this._renderer=z,this._element=Oe,this._zone=ut,this.closed=new r.vpe,this.dismissible=S.dismissible,this.type=S.type,this.animation=S.animation}close(){const S=Nr(this._zone,this._element.nativeElement,Os,{animation:this.animation,runningTransition:"continue"});return S.subscribe(()=>this.closed.emit()),S}ngOnChanges(S){const z=S.type;z&&!z.firstChange&&(this._renderer.removeClass(this._element.nativeElement,`alert-${z.previousValue}`),this._renderer.addClass(this._element.nativeElement,`alert-${z.currentValue}`))}ngOnInit(){this._renderer.addClass(this._element.nativeElement,`alert-${this.type}`)}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(Cu),r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(r.R0b))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-alert"]],hostAttrs:["role","alert",1,"alert","show"],hostVars:4,hostBindings:function(S,z){2&S&&r.ekj("fade",z.animation)("alert-dismissible",z.dismissible)},inputs:{animation:"animation",dismissible:"dismissible",type:"type"},outputs:{closed:"closed"},exportAs:["ngbAlert"],standalone:!0,features:[r.TTD,r.jDz],ngContentSelectors:au,decls:2,vars:1,consts:function(){let re;return re="Close",[["type","button","class","btn-close","aria-label",re,3,"click",4,"ngIf"],["type","button","aria-label",re,1,"btn-close",3,"click"]]},template:function(S,z){1&S&&(r.F$t(),r.Hsn(0),r.YNc(1,yl,1,0,"button",0)),2&S&&(r.xp6(1),r.Q6J("ngIf",z.dismissible))},dependencies:[ir.O5],styles:["ngb-alert{display:block}\n"],encapsulation:2,changeDetection:0}),I})(),Hc=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[ld]}),I})(),gd=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({}),I})();class Nu{constructor(re,S,z){this.year=Ms(re)?re:null,this.month=Ms(S)?S:null,this.day=Ms(z)?z:null}static from(re){return re instanceof Nu?re:re?new Nu(re.year,re.month,re.day):null}equals(re){return null!=re&&this.year===re.year&&this.month===re.month&&this.day===re.day}before(re){return!!re&&(this.year===re.year?this.month===re.month?this.day!==re.day&&this.day<re.day:this.month<re.month:this.year<re.year)}after(re){return!!re&&(this.year===re.year?this.month===re.month?this.day!==re.day&&this.day>re.day:this.month>re.month:this.year>re.year)}}function ed(I,re){return!function _u(I,re){return!I&&!re||!!I&&!!re&&I.equals(re)}(I,re)}function xf(I,re){return!(!I&&!re||I&&re&&I.year===re.year&&I.month===re.month)}function Bc(I,re,S){return I&&re&&I.before(re)?re:I&&S&&I.after(S)?S:I||null}function Lo(I,re){const{minDate:S,maxDate:z,disabled:Oe,markDisabled:ut}=re;return!(null==I||Oe||ut&&ut(I,{year:I.year,month:I.month})||S&&I.before(S)||z&&I.after(z))}function ni(I){return new Nu(I.getFullYear(),I.getMonth()+1,I.getDate())}function zi(I){const re=new Date(I.year,I.month-1,I.day,12);return isNaN(re.getTime())||re.setFullYear(I.year),re}let Qo=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:function(){return function Wo(){return new ya}()},providedIn:"root"}),I})(),ya=(()=>{class I extends Qo{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(S,z="d",Oe=1){let ut=zi(S),On=!0,Ar=ut.getMonth();switch(z){case"y":ut.setFullYear(ut.getFullYear()+Oe);break;case"m":Ar+=Oe,ut.setMonth(Ar),Ar%=12,Ar<0&&(Ar+=12);break;case"d":ut.setDate(ut.getDate()+Oe),On=!1;break;default:return S}return On&&ut.getMonth()!==Ar&&ut.setDate(0),ni(ut)}getPrev(S,z="d",Oe=1){return this.getNext(S,z,-Oe)}getWeekday(S){let Oe=zi(S).getDay();return 0===Oe?7:Oe}getWeekNumber(S,z){7===z&&(z=0);const On=zi(S[(11-z)%7]);On.setDate(On.getDate()+4-(On.getDay()||7));const Ar=On.getTime();return On.setMonth(0),On.setDate(1),Math.floor(Math.round((Ar-On.getTime())/864e5)/7)+1}getToday(){return ni(new Date)}isValid(S){if(!(S&&Ms(S.year)&&Ms(S.month)&&Ms(S.day)&&0!==S.year))return!1;const z=zi(S);return!isNaN(z.getTime())&&z.getFullYear()===S.year&&z.getMonth()+1===S.month&&z.getDate()===S.day}}return I.\u0275fac=function(){let re;return function(z){return(re||(re=r.n5z(I)))(z||I)}}(),I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})(),Wu=(()=>{class I{getMonthLabel(S){return`${this.getMonthFullName(S.month,S.year)} ${this.getYearNumerals(S.year)}`}getDayNumerals(S){return`${S.day}`}getWeekNumerals(S){return`${S}`}getYearNumerals(S){return`${S}`}getWeekLabel(){return""}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:function(S){let z=null;return z=S?new S:function Bl(I){return new pc(I)}(r.LFG(r.soG)),z},providedIn:"root"}),I})(),pc=(()=>{class I extends Wu{constructor(S){super(),this._locale=S,this._monthsShort=(0,ir.UT)(S,ir.x.Standalone,ir.Tn.Abbreviated),this._monthsFull=(0,ir.UT)(S,ir.x.Standalone,ir.Tn.Wide)}getWeekdayLabel(S,z){const Oe=(0,ir.Mn)(this._locale,ir.x.Standalone,void 0===z?ir.Tn.Short:z);return Oe.map((On,Ar)=>Oe[(Ar+1)%7])[S-1]||""}getMonthShortName(S){return this._monthsShort[S-1]||""}getMonthFullName(S){return this._monthsFull[S-1]||""}getDayAriaLabel(S){const z=new Date(S.year,S.month-1,S.day);return(0,ir.p6)(z,"fullDate",this._locale)}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(r.soG))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})(),cd=(()=>{class I{constructor(S,z){this._calendar=S,this._i18n=z,this._VALIDATORS={dayTemplateData:Oe=>{if(this._state.dayTemplateData!==Oe)return{dayTemplateData:Oe}},displayMonths:Oe=>{if(Ms(Oe=Ri(Oe))&&Oe>0&&this._state.displayMonths!==Oe)return{displayMonths:Oe}},disabled:Oe=>{if(this._state.disabled!==Oe)return{disabled:Oe}},firstDayOfWeek:Oe=>{if(Ms(Oe=Ri(Oe))&&Oe>=0&&this._state.firstDayOfWeek!==Oe)return{firstDayOfWeek:Oe}},focusVisible:Oe=>{if(this._state.focusVisible!==Oe&&!this._state.disabled)return{focusVisible:Oe}},markDisabled:Oe=>{if(this._state.markDisabled!==Oe)return{markDisabled:Oe}},maxDate:Oe=>{const ut=this.toValidDate(Oe,null);if(ed(this._state.maxDate,ut))return{maxDate:ut}},minDate:Oe=>{const ut=this.toValidDate(Oe,null);if(ed(this._state.minDate,ut))return{minDate:ut}},navigation:Oe=>{if(this._state.navigation!==Oe)return{navigation:Oe}},outsideDays:Oe=>{if(this._state.outsideDays!==Oe)return{outsideDays:Oe}},weekdays:Oe=>{const ut=!0===Oe||!1===Oe?ir.Tn.Short:Oe,On=!0!==Oe&&!1!==Oe||Oe;if(this._state.weekdayWidth!==ut||this._state.weekdaysVisible!==On)return{weekdayWidth:ut,weekdaysVisible:On}}},this._model$=new e.xQ,this._dateSelect$=new e.xQ,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:ir.Tn.Short,weekdaysVisible:!0}}get model$(){return this._model$.pipe((0,We.h)(S=>S.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe((0,We.h)(S=>null!==S))}set(S){let z=Object.keys(S).map(Oe=>this._VALIDATORS[Oe](S[Oe])).reduce((Oe,ut)=>({...Oe,...ut}),{});Object.keys(z).length>0&&this._nextState(z)}focus(S){const z=this.toValidDate(S,null);null!=z&&!this._state.disabled&&ed(this._state.focusDate,z)&&this._nextState({focusDate:S})}focusSelect(){Lo(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(S){const z=this.toValidDate(S,this._calendar.getToday());null!=z&&!this._state.disabled&&(!this._state.firstDate||xf(this._state.firstDate,z))&&this._nextState({firstDate:z})}select(S,z={}){const Oe=this.toValidDate(S,null);null!=Oe&&!this._state.disabled&&(ed(this._state.selectedDate,Oe)&&this._nextState({selectedDate:Oe}),z.emitEvent&&Lo(Oe,this._state)&&this._dateSelect$.next(Oe))}toValidDate(S,z){const Oe=Nu.from(S);return void 0===z&&(z=this._calendar.getToday()),this._calendar.isValid(Oe)?Oe:z}getMonth(S){for(let z of this._state.months)if(S.month===z.number&&S.year===z.year)return z;throw new Error(`month ${S.month} of year ${S.year} not found`)}_nextState(S){const z=this._updateState(S);this._patchContexts(z),this._state=z,this._model$.next(this._state)}_patchContexts(S){const{months:z,displayMonths:Oe,selectedDate:ut,focusDate:On,focusVisible:Ar,disabled:ri,outsideDays:Di}=S;S.months.forEach(Pi=>{Pi.weeks.forEach(cs=>{cs.days.forEach(Yo=>{On&&(Yo.context.focused=On.equals(Yo.date)&&Ar),Yo.tabindex=!ri&&On&&Yo.date.equals(On)&&On.month===Pi.number?0:-1,!0===ri&&(Yo.context.disabled=!0),void 0!==ut&&(Yo.context.selected=null!==ut&&ut.equals(Yo.date)),Pi.number!==Yo.date.month&&(Yo.hidden="hidden"===Di||"collapsed"===Di||Oe>1&&Yo.date.after(z[0].firstDate)&&Yo.date.before(z[Oe-1].lastDate))})})})}_updateState(S){const z=Object.assign({},this._state,S);let Oe=z.firstDate;if(("minDate"in S||"maxDate"in S)&&(function Ud(I,re){if(re&&I&&re.before(I))throw new Error(`'maxDate' ${re} should be greater than 'minDate' ${I}`)}(z.minDate,z.maxDate),z.focusDate=Bc(z.focusDate,z.minDate,z.maxDate),z.firstDate=Bc(z.firstDate,z.minDate,z.maxDate),Oe=z.focusDate),"disabled"in S&&(z.focusVisible=!1),"selectedDate"in S&&0===this._state.months.length&&(Oe=z.selectedDate),"focusVisible"in S||"focusDate"in S&&(z.focusDate=Bc(z.focusDate,z.minDate,z.maxDate),Oe=z.focusDate,0!==z.months.length&&z.focusDate&&!z.focusDate.before(z.firstDate)&&!z.focusDate.after(z.lastDate)))return z;if("firstDate"in S&&(z.firstDate=Bc(z.firstDate,z.minDate,z.maxDate),Oe=z.firstDate),Oe){const On=function Mt(I,re,S,z,Oe){const{displayMonths:ut,months:On}=S,Ar=On.splice(0,On.length);return Array.from({length:ut},(Di,Pi)=>{const cs=Object.assign(I.getNext(re,"m",Pi),{day:1});if(On[Pi]=null,!Oe){const Yo=Ar.findIndex(y=>y.firstDate.equals(cs));-1!==Yo&&(On[Pi]=Ar.splice(Yo,1)[0])}return cs}).forEach((Di,Pi)=>{null===On[Pi]&&(On[Pi]=function un(I,re,S,z,Oe={}){const{dayTemplateData:ut,minDate:On,maxDate:Ar,firstDayOfWeek:ri,markDisabled:Di,outsideDays:Pi,weekdayWidth:cs,weekdaysVisible:Yo}=S,y=I.getToday();Oe.firstDate=null,Oe.lastDate=null,Oe.number=re.month,Oe.year=re.year,Oe.weeks=Oe.weeks||[],Oe.weekdays=Oe.weekdays||[],re=function Mn(I,re,S){const z=I.getDaysPerWeek(),Oe=new Nu(re.year,re.month,1),ut=I.getWeekday(Oe)%z;return I.getPrev(Oe,"d",(z+ut-S)%z)}(I,re,ri),Yo||(Oe.weekdays.length=0);for(let x=0;x<I.getWeeksPerMonth();x++){let Y=Oe.weeks[x];Y||(Y=Oe.weeks[x]={number:0,days:[],collapsed:!0});const be=Y.days;for(let Ke=0;Ke<I.getDaysPerWeek();Ke++){0===x&&Yo&&(Oe.weekdays[Ke]=z.getWeekdayLabel(I.getWeekday(re),cs));const xt=new Nu(re.year,re.month,re.day),_n=I.getNext(xt),In=z.getDayAriaLabel(xt);let vr=!!(On&&xt.before(On)||Ar&&xt.after(Ar));!vr&&Di&&(vr=Di(xt,{month:Oe.number,year:Oe.year}));let Si=xt.equals(y),Uo=ut?ut(xt,{month:Oe.number,year:Oe.year}):void 0;null===Oe.firstDate&&xt.month===Oe.number&&(Oe.firstDate=xt),xt.month===Oe.number&&_n.month!==Oe.number&&(Oe.lastDate=xt);let Ds=be[Ke];Ds||(Ds=be[Ke]={}),Ds.date=xt,Ds.context=Object.assign(Ds.context||{},{$implicit:xt,date:xt,data:Uo,currentMonth:Oe.number,currentYear:Oe.year,disabled:vr,focused:!1,selected:!1,today:Si}),Ds.tabindex=-1,Ds.ariaLabel=In,Ds.hidden=!1,re=_n}Y.number=I.getWeekNumber(be.map(Ke=>Ke.date),ri),Y.collapsed="collapsed"===Pi&&be[0].date.month!==Oe.number&&be[be.length-1].date.month!==Oe.number}return Oe}(I,Di,S,z,Ar.shift()||{}))}),On}(this._calendar,Oe,z,this._i18n,"dayTemplateData"in S||"firstDayOfWeek"in S||"markDisabled"in S||"minDate"in S||"maxDate"in S||"disabled"in S||"outsideDays"in S||"weekdaysVisible"in S);z.months=On,z.firstDate=On[0].firstDate,z.lastDate=On[On.length-1].lastDate,"selectedDate"in S&&!Lo(z.selectedDate,z)&&(z.selectedDate=null),"firstDate"in S&&(!z.focusDate||z.focusDate.before(z.firstDate)||z.focusDate.after(z.lastDate))&&(z.focusDate=Oe);const Ar=!this._state.firstDate||this._state.firstDate.year!==z.firstDate.year,ri=!this._state.firstDate||this._state.firstDate.month!==z.firstDate.month;"select"===z.navigation?(("minDate"in S||"maxDate"in S||0===z.selectBoxes.years.length||Ar)&&(z.selectBoxes.years=function Ne(I,re,S){if(!I)return[];const z=re?Math.max(re.year,I.year-500):I.year-10,ut=(S?Math.min(S.year,I.year+500):I.year+10)-z+1,On=Array(ut);for(let Ar=0;Ar<ut;Ar++)On[Ar]=z+Ar;return On}(z.firstDate,z.minDate,z.maxDate)),("minDate"in S||"maxDate"in S||0===z.selectBoxes.months.length||Ar)&&(z.selectBoxes.months=function Se(I,re,S,z){if(!re)return[];let Oe=I.getMonths(re.year);if(S&&re.year===S.year){const ut=Oe.findIndex(On=>On===S.month);Oe=Oe.slice(ut)}if(z&&re.year===z.year){const ut=Oe.findIndex(On=>On===z.month);Oe=Oe.slice(0,ut+1)}return Oe}(this._calendar,z.firstDate,z.minDate,z.maxDate))):z.selectBoxes={years:[],months:[]},("arrows"===z.navigation||"select"===z.navigation)&&(ri||Ar||"minDate"in S||"maxDate"in S||"disabled"in S)&&(z.prevDisabled=z.disabled||function Ye(I,re,S){const z=Object.assign(I.getPrev(re,"m"),{day:1});return null!=S&&(z.year===S.year&&z.month<S.month||z.year<S.year&&1===S.month)}(this._calendar,z.firstDate,z.minDate),z.nextDisabled=z.disabled||function _e(I,re,S){const z=Object.assign(I.getNext(re,"m"),{day:1});return null!=S&&z.after(S)}(this._calendar,z.lastDate,z.maxDate))}return z}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(Qo),r.LFG(Wu))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})();var Ju=(()=>{return(I=Ju||(Ju={}))[I.PREV=0]="PREV",I[I.NEXT=1]="NEXT",Ju;var I})();let tc=(()=>{class I{constructor(S){this.i18n=S}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(Wu))},I.\u0275cmp=r.Xpm({type:I,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(S,z){2&S&&r.ekj("bg-primary",z.selected)("text-white",z.selected)("text-muted",z.isMuted())("outside",z.isMuted())("active",z.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},standalone:!0,features:[r.jDz],attrs:Xl,decls:1,vars:1,template:function(S,z){1&S&&r._uU(0),2&S&&r.Oqu(z.i18n.getDayNumerals(z.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView]:hover:not(.bg-primary),[ngbDatepickerDayView].active:not(.bg-primary){background-color:var(--bs-btn-bg);outline:1px solid var(--bs-border-color)}[ngbDatepickerDayView].outside{opacity:.5}\n"],encapsulation:2,changeDetection:0}),I})(),od=(()=>{class I{constructor(S,z){this.i18n=S,this._renderer=z,this.select=new r.vpe,this._month=-1,this._year=-1}changeMonth(S){this.select.emit(new Nu(this.date.year,Ri(S),1))}changeYear(S){this.select.emit(new Nu(Ri(S),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(Wu),r.Y36(r.Qsj))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(S,z){if(1&S&&(r.Gf(Ic,7,r.SBq),r.Gf(Gs,7,r.SBq)),2&S){let Oe;r.iGM(Oe=r.CRH())&&(z.monthSelect=Oe.first),r.iGM(Oe=r.CRH())&&(z.yearSelect=Oe.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},standalone:!0,features:[r.jDz],decls:6,vars:4,consts:function(){let re,S,z,Oe;return re="Select month",S="Select month",z="Select year",Oe="Select year",[["aria-label",re,"title",S,1,"form-select",3,"disabled","change"],["month",""],[3,"value",4,"ngFor","ngForOf"],["aria-label",z,"title",Oe,1,"form-select",3,"disabled","change"],["year",""],[3,"value"]]},template:function(S,z){1&S&&(r.TgZ(0,"select",0,1),r.NdJ("change",function(ut){return z.changeMonth(ut.target.value)}),r.YNc(2,ku,2,3,"option",2),r.qZA(),r.TgZ(3,"select",3,4),r.NdJ("change",function(ut){return z.changeYear(ut.target.value)}),r.YNc(5,zu,2,2,"option",2),r.qZA()),2&S&&(r.Q6J("disabled",z.disabled),r.xp6(2),r.Q6J("ngForOf",z.months),r.xp6(1),r.Q6J("disabled",z.disabled),r.xp6(2),r.Q6J("ngForOf",z.years))},dependencies:[ir.ax],styles:["ngb-datepicker-navigation-select>.form-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.form-select:focus{z-index:1}ngb-datepicker-navigation-select>.form-select::-ms-value{background-color:transparent!important}\n"],encapsulation:2,changeDetection:0}),I})(),Ed=(()=>{class I{constructor(S){this.i18n=S,this.navigation=Ju,this.months=[],this.navigate=new r.vpe,this.select=new r.vpe}onClickPrev(S){S.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(S){S.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(Wu))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},standalone:!0,features:[r.jDz],decls:8,vars:4,consts:function(){let re,S,z,Oe;return re="Previous month",S="Previous month",z="Next month",Oe="Next month",[[1,"ngb-dp-arrow"],["type","button","aria-label",re,"title",S,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-chevron"],["class","ngb-dp-navigation-select",3,"date","disabled","months","years","select",4,"ngIf"],[4,"ngIf"],[1,"ngb-dp-arrow","right"],["type","button","aria-label",z,"title",Oe,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years","select"],["ngFor","",3,"ngForOf"],["class","ngb-dp-arrow",4,"ngIf"],[1,"ngb-dp-month-name"]]},template:function(S,z){1&S&&(r.TgZ(0,"div",0)(1,"button",1),r.NdJ("click",function(ut){return z.onClickPrev(ut)}),r._UZ(2,"span",2),r.qZA()(),r.YNc(3,ua,1,4,"ngb-datepicker-navigation-select",3),r.YNc(4,$u,1,1,null,4),r.TgZ(5,"div",5)(6,"button",6),r.NdJ("click",function(ut){return z.onClickNext(ut)}),r._UZ(7,"span",2),r.qZA()()),2&S&&(r.xp6(1),r.Q6J("disabled",z.prevDisabled),r.xp6(2),r.Q6J("ngIf",z.showSelect),r.xp6(1),r.Q6J("ngIf",!z.showSelect),r.xp6(2),r.Q6J("disabled",z.nextDisabled))},dependencies:[ir.O5,ir.ax,od],styles:["ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow.right{justify-content:flex-end}.ngb-dp-arrow.right .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem}\n"],encapsulation:2,changeDetection:0}),I})();var h=(()=>{return(I=h||(h={}))[I.Tab=9]="Tab",I[I.Enter=13]="Enter",I[I.Escape=27]="Escape",I[I.Space=32]="Space",I[I.PageUp=33]="PageUp",I[I.PageDown=34]="PageDown",I[I.End=35]="End",I[I.Home=36]="Home",I[I.ArrowLeft=37]="ArrowLeft",I[I.ArrowUp=38]="ArrowUp",I[I.ArrowRight=39]="ArrowRight",I[I.ArrowDown=40]="ArrowDown",h;var I})();let b=(()=>{class I{processKey(S,z){const{state:Oe,calendar:ut}=z;switch(S.which){case h.PageUp:z.focusDate(ut.getPrev(Oe.focusedDate,S.shiftKey?"y":"m",1));break;case h.PageDown:z.focusDate(ut.getNext(Oe.focusedDate,S.shiftKey?"y":"m",1));break;case h.End:z.focusDate(S.shiftKey?Oe.maxDate:Oe.lastDate);break;case h.Home:z.focusDate(S.shiftKey?Oe.minDate:Oe.firstDate);break;case h.ArrowLeft:z.focusDate(ut.getPrev(Oe.focusedDate,"d",1));break;case h.ArrowUp:z.focusDate(ut.getPrev(Oe.focusedDate,"d",ut.getDaysPerWeek()));break;case h.ArrowRight:z.focusDate(ut.getNext(Oe.focusedDate,"d",1));break;case h.ArrowDown:z.focusDate(ut.getNext(Oe.focusedDate,"d",ut.getDaysPerWeek()));break;case h.Enter:case h.Space:z.focusSelect();break;default:return}S.preventDefault(),S.stopPropagation()}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),N=(()=>{class I{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays=ir.Tn.Short}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),ne=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:function(){return function k(){return new he}()},providedIn:"root"}),I})(),he=(()=>{class I extends ne{fromModel(S){return S&&Ms(S.year)&&Ms(S.month)&&Ms(S.day)?{year:S.year,month:S.month,day:S.day}:null}toModel(S){return S&&Ms(S.year)&&Ms(S.month)&&Ms(S.day)?{year:S.year,month:S.month,day:S.day}:null}}return I.\u0275fac=function(){let re;return function(z){return(re||(re=r.n5z(I)))(z||I)}}(),I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})(),Me=(()=>{class I{constructor(S){this.templateRef=S}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.Rgc))},I.\u0275dir=r.lG2({type:I,selectors:[["ng-template","ngbDatepickerContent",""]],standalone:!0}),I})(),Qe=(()=>{class I{constructor(S,z,Oe,ut){this.i18n=S,this.datepicker=z,this._keyboardService=Oe,this._service=ut}set month(S){this.viewModel=this._service.getMonth(S)}onKeyDown(S){this._keyboardService.processKey(S,this.datepicker)}doSelect(S){!S.context.disabled&&!S.hidden&&this.datepicker.onDateSelect(S.date)}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(Wu),r.Y36((0,r.Gpc)(()=>Re)),r.Y36(b),r.Y36(cd))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(S,z){1&S&&r.NdJ("keydown",function(ut){return z.onKeyDown(ut)})},inputs:{month:"month"},standalone:!0,features:[r.jDz],decls:2,vars:2,consts:[["class","ngb-dp-week ngb-dp-weekdays","role","row",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],["class","ngb-dp-weekday ngb-dp-showweek small",4,"ngIf"],["class","ngb-dp-weekday small","role","columnheader",4,"ngFor","ngForOf"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["class","ngb-dp-week","role","row",4,"ngIf"],["role","row",1,"ngb-dp-week"],["class","ngb-dp-week-number small text-muted",4,"ngIf"],["class","ngb-dp-day","role","gridcell",3,"disabled","tabindex","hidden","ngb-dp-today","click",4,"ngFor","ngForOf"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"tabindex","click"],[3,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,z){1&S&&(r.YNc(0,tl,3,2,"div",0),r.YNc(1,xu,1,1,"ng-template",1)),2&S&&(r.Q6J("ngIf",z.viewModel.weekdays.length>0),r.xp6(1),r.Q6J("ngForOf",z.viewModel.weeks))},dependencies:[ir.O5,ir.ax,ir.tP],styles:['ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:var(--bs-info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid var(--bs-border-color);border-radius:0;background-color:var(--bs-light)}.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}\n'],encapsulation:2}),I})(),Re=(()=>{class I{constructor(S,z,Oe,ut,On,Ar,ri,Di){this._service=S,this._calendar=z,this._i18n=Oe,this._elementRef=Ar,this._ngbDateAdapter=ri,this._ngZone=Di,this.injector=(0,r.f3M)(r.zs3),this._controlValue=null,this._destroyed$=new e.xQ,this._publicState={},this.navigate=new r.vpe,this.dateSelect=new r.vpe,this.onChange=Pi=>{},this.onTouched=()=>{},["contentTemplate","dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekNumbers","startDate","weekdays"].forEach(Pi=>this[Pi]=ut[Pi]),S.dateSelect$.pipe((0,He.R)(this._destroyed$)).subscribe(Pi=>{this.dateSelect.emit(Pi)}),S.model$.pipe((0,He.R)(this._destroyed$)).subscribe(Pi=>{const cs=Pi.firstDate,Yo=this.model?this.model.firstDate:null;this._publicState={maxDate:Pi.maxDate,minDate:Pi.minDate,firstDate:Pi.firstDate,lastDate:Pi.lastDate,focusedDate:Pi.focusDate,months:Pi.months.map(Ke=>Ke.firstDate)};let y=!1;if(!cs.equals(Yo)&&(this.navigate.emit({current:Yo?{year:Yo.year,month:Yo.month}:null,next:{year:cs.year,month:cs.month},preventDefault:()=>y=!0}),y&&null!==Yo))return void this._service.open(Yo);const x=Pi.selectedDate,Y=Pi.focusDate,be=this.model?this.model.focusDate:null;this.model=Pi,ed(x,this._controlValue)&&(this._controlValue=x,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(x))),ed(Y,be)&&be&&Pi.focusVisible&&this.focus(),On.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}get i18n(){return this._i18n}focusDate(S){this._service.focus(Nu.from(S))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe((0,Le.q)(1)).subscribe(()=>{const S=this._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');S&&S.focus()})}navigateTo(S){this._service.open(Nu.from(S?S.day?S:{...S,day:1}:null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const S=(0,f.R)(this._contentEl.nativeElement,"focusin"),z=(0,f.R)(this._contentEl.nativeElement,"focusout"),{nativeElement:Oe}=this._elementRef;(0,ot.T)(S,z).pipe((0,We.h)(({target:ut,relatedTarget:On})=>!(Jl(ut,"ngb-dp-day")&&Jl(On,"ngb-dp-day")&&Oe.contains(ut)&&Oe.contains(On))),(0,He.R)(this._destroyed$)).subscribe(({type:ut})=>this._ngZone.run(()=>this._service.set({focusVisible:"focusin"===ut})))})}ngOnDestroy(){this._destroyed$.next()}ngOnInit(){if(void 0===this.model){const S={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(z=>S[z]=this[z]),this._service.set(S),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(S){const z={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(Oe=>Oe in S).forEach(Oe=>z[Oe]=this[Oe]),this._service.set(z),"startDate"in S){const{currentValue:Oe,previousValue:ut}=S.startDate;xf(ut,Oe)&&this.navigateTo(this.startDate)}}onDateSelect(S){this._service.focus(S),this._service.select(S,{emitEvent:!0})}onNavigateDateSelect(S){this._service.open(S)}onNavigateEvent(S){switch(S){case Ju.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case Ju.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}registerOnChange(S){this.onChange=S}registerOnTouched(S){this.onTouched=S}setDisabledState(S){this._service.set({disabled:S})}writeValue(S){this._controlValue=Nu.from(this._ngbDateAdapter.fromModel(S)),this._service.select(this._controlValue)}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(cd),r.Y36(Qo),r.Y36(Wu),r.Y36(N),r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(ne),r.Y36(r.R0b))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-datepicker"]],contentQueries:function(S,z,Oe){if(1&S&&r.Suo(Oe,Me,7),2&S){let ut;r.iGM(ut=r.CRH())&&(z.contentTemplateFromContent=ut.first)}},viewQuery:function(S,z){if(1&S&&(r.Gf(ba,7),r.Gf(nl,7)),2&S){let Oe;r.iGM(Oe=r.CRH())&&(z._defaultDayTemplate=Oe.first),r.iGM(Oe=r.CRH())&&(z._contentEl=Oe.first)}},hostVars:2,hostBindings:function(S,z){2&S&&r.ekj("disabled",z.model.disabled)},inputs:{contentTemplate:"contentTemplate",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],standalone:!0,features:[r._Bn([{provide:Qr.JU,useExisting:(0,r.Gpc)(()=>I),multi:!0},cd]),r.TTD,r.jDz],decls:10,vars:9,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select",4,"ngIf"],[1,"ngb-dp-content"],["content",""],[3,"ngTemplateOutlet","ngTemplateOutletContext","ngTemplateOutletInjector"],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],["class","ngb-dp-month",4,"ngFor","ngForOf"],[1,"ngb-dp-month"],["class","ngb-dp-month-name",4,"ngIf"],[3,"month"],[1,"ngb-dp-month-name"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select"]],template:function(S,z){if(1&S&&(r.YNc(0,Su,1,5,"ng-template",null,0,r.W1O),r.YNc(2,Al,1,1,"ng-template",null,1,r.W1O),r.TgZ(4,"div",2),r.YNc(5,Dc,1,7,"ngb-datepicker-navigation",3),r.qZA(),r.TgZ(6,"div",4,5),r.YNc(8,zs,0,0,"ng-template",6),r.qZA(),r.YNc(9,Vc,0,0,"ng-template",7)),2&S){const Oe=r.MAs(3);r.xp6(5),r.Q6J("ngIf","none"!==z.navigation),r.xp6(1),r.ekj("ngb-dp-months",!z.contentTemplate),r.xp6(2),r.Q6J("ngTemplateOutlet",z.contentTemplate||(null==z.contentTemplateFromContent?null:z.contentTemplateFromContent.templateRef)||Oe)("ngTemplateOutletContext",r.VKq(7,bt,z))("ngTemplateOutletInjector",z.injector),r.xp6(1),r.Q6J("ngTemplateOutlet",z.footerTemplate)}},dependencies:[ir.O5,ir.ax,ir.tP,tc,Qe,Ed],styles:["ngb-datepicker{border:1px solid var(--bs-border-color);border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}ngb-datepicker.disabled .ngb-dp-weekday,ngb-datepicker.disabled .ngb-dp-week-number,ngb-datepicker.disabled .ngb-dp-month-name{color:var(--bs-text-muted)}.ngb-dp-body{z-index:1055}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:var(--bs-light)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:var(--bs-light)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}\n"],encapsulation:2,changeDetection:0}),I})();const ft=(I,re)=>!!re&&re.some(S=>S.contains(I)),wt=(I,re)=>!re||null!=function le(I,re){return!re||typeof I.closest>"u"?null:I.closest(re)}(I,re),It=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent)),Cn=I=>It?()=>setTimeout(()=>I(),100):I;function er(I,re,S,z,Oe,ut,On,Ar){S&&I.runOutsideAngular(Cn(()=>{const Di=(0,f.R)(re,"keydown").pipe((0,He.R)(Oe),(0,We.h)(Yo=>Yo.which===h.Escape),(0,pn.b)(Yo=>Yo.preventDefault())),Pi=(0,f.R)(re,"mousedown").pipe((0,Pt.U)(Yo=>{const y=Yo.target;return 2!==Yo.button&&!ft(y,On)&&("inside"===S?ft(y,ut)&&wt(y,Ar):"outside"===S?!ft(y,ut):wt(y,Ar)||!ft(y,ut))}),(0,He.R)(Oe)),cs=(0,f.R)(re,"mouseup").pipe(Rn(Pi),(0,We.h)(([Yo,y])=>y),(0,sn.g)(0),(0,He.R)(Oe));U([Di.pipe((0,Pt.U)(Yo=>0)),cs.pipe((0,Pt.U)(Yo=>1))]).subscribe(Yo=>I.run(()=>z(Yo)))}))}const sr=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function Dr(I){const re=Array.from(I.querySelectorAll(sr)).filter(S=>-1!==S.tabIndex);return[re[0],re[re.length-1]]}const oi=(I,re,S,z=!1)=>{I.runOutsideAngular(()=>{const Oe=(0,f.R)(re,"focusin").pipe((0,He.R)(S),(0,Pt.U)(ut=>ut.target));(0,f.R)(re,"keydown").pipe((0,He.R)(S),(0,We.h)(ut=>ut.which===h.Tab),Rn(Oe)).subscribe(([ut,On])=>{const[Ar,ri]=Dr(re);(On===Ar||On===re)&&ut.shiftKey&&(ri.focus(),ut.preventDefault()),On===ri&&!ut.shiftKey&&(Ar.focus(),ut.preventDefault())}),z&&(0,f.R)(re,"click").pipe((0,He.R)(S),Rn(Oe),(0,Pt.U)(ut=>ut[1])).subscribe(ut=>ut.focus())})};let uo=(()=>{class I{constructor(S){this._element=S.documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(ir.K0))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();const As=/\s+/,as=/ +/gi,ma={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},Pl=/^left/,il=/^right/,dl=/^start/,Nl=/^end/;function ac({placement:I,baseClass:re},S){let z=Array.isArray(I)?I:I.split(As),ut=z.findIndex(Di=>"auto"===Di);ut>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(Di){null==z.find(Pi=>-1!==Pi.search("^"+Di))&&z.splice(ut++,1,Di)});const On=z.map(Di=>function Na(I,re){const[S,z]=ma[I];return re&&z||S}(Di,S.isRTL()));return{placement:On.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!re,phase:"write",fn({state:Di}){const Pi=new RegExp(re+"(-[a-z]+)*","gi"),cs=Di.elements.popper,Yo=Di.placement;let y=cs.className;y=y.replace(Pi,""),y+=` ${function Qu(I,re){let[S,z]=re.split("-");const Oe=S.replace(Pl,"start").replace(il,"end");let ut=[Oe];if(z){let On=z;("left"===S||"right"===S)&&(On=On.replace(dl,"top").replace(Nl,"bottom")),ut.push(`${Oe}-${On}`)}return I&&(ut=ut.map(On=>`${I}-${On}`)),ut.join(" ")}(re,Yo)}`,y=y.trim().replace(as," "),cs.className=y}},es,Is,gl,{enabled:!0,name:"flip",options:{fallbackPlacements:On}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function wa(I){return I}function nc(){const I=(0,r.f3M)(uo);let re=null;return{createPopper(S){if(!re){let Oe=(S.updatePopperOptions||wa)(ac(S,I));re=ws(S.hostElement,S.targetElement,Oe)}},update(){re&&re.update()},setOptions(S){if(re){let Oe=(S.updatePopperOptions||wa)(ac(S,I));re.setOptions(Oe)}},destroy(){re&&(re.destroy(),re=null)}}}let yc=(()=>{class I extends N{constructor(){super(...arguments),this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=S=>S,this.restoreFocus=!0}}return I.\u0275fac=function(){let re;return function(z){return(re||(re=r.n5z(I)))(z||I)}}(),I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();function Gc(I){return re=>(re.modifiers.push(Js,{name:"offset",options:{offset:()=>I}}),re)}let wf=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:function(){return function xc(){return new Ql}()},providedIn:"root"}),I})(),Ql=(()=>{class I extends wf{parse(S){if(null!=S){const z=S.trim().split("-");if(1===z.length&&Vs(z[0]))return{year:Ri(z[0]),month:null,day:null};if(2===z.length&&Vs(z[0])&&Vs(z[1]))return{year:Ri(z[0]),month:Ri(z[1]),day:null};if(3===z.length&&Vs(z[0])&&Vs(z[1])&&Vs(z[2]))return{year:Ri(z[0]),month:Ri(z[1]),day:Ri(z[2])}}return null}format(S){return S?`${S.year}-${Vs(S.month)?Qa(S.month):""}-${Vs(S.day)?Qa(S.day):""}`:""}}return I.\u0275fac=function(){let re;return function(z){return(re||(re=r.n5z(I)))(z||I)}}(),I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})(),ee=(()=>{class I{constructor(S,z,Oe,ut,On,Ar,ri,Di,Pi,cs){this._parserFormatter=S,this._elRef=z,this._vcRef=Oe,this._renderer=ut,this._ngZone=On,this._calendar=Ar,this._dateAdapter=ri,this._document=Di,this._changeDetector=Pi,this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this._destroyCloseHandlers$=new e.xQ,this.dateSelect=new r.vpe,this.navigate=new r.vpe,this.closed=new r.vpe,this._onChange=Yo=>{},this._onTouched=()=>{},this._validatorChange=()=>{},["autoClose","container","positionTarget","placement","popperOptions"].forEach(Yo=>this[Yo]=cs[Yo]),this._positioning=nc()}get disabled(){return this._disabled}set disabled(S){this._disabled=""===S||S&&"false"!==S,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}registerOnChange(S){this._onChange=S}registerOnTouched(S){this._onTouched=S}registerOnValidatorChange(S){this._validatorChange=S}setDisabledState(S){this.disabled=S}validate(S){const{value:z}=S;if(null!=z){const Oe=this._fromDateStruct(this._dateAdapter.fromModel(z));if(!Oe)return{ngbDate:{invalid:z}};if(this.minDate&&Oe.before(Nu.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:z}}};if(this.maxDate&&Oe.after(Nu.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:z}}}}return null}writeValue(S){this._model=this._fromDateStruct(this._dateAdapter.fromModel(S)),this._writeModelValue(this._model)}manualDateChange(S,z=!1){const Oe=S!==this._inputValue;Oe&&(this._inputValue=S,this._model=this._fromDateStruct(this._parserFormatter.parse(S))),(Oe||!z)&&this._onChange(this._model?this._dateAdapter.toModel(this._model):""===S?null:S),z&&this._model&&this._writeModelValue(this._model)}isOpen(){return!!this._cRef}open(){if(!this.isOpen()){let S;if(this._cRef=this._vcRef.createComponent(Re),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(z=>{this.writeValue(z),this._onChange(z),this._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,oi(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),setTimeout(()=>this._cRef?.instance.focus()),S=Ra(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?this.positionTarget:this._elRef.nativeElement,this._ngZone.runOutsideAngular(()=>{this._cRef&&(this._positioning.createPopper({hostElement:S,targetElement:this._cRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:z=>this.popperOptions(Gc([0,2])(z))}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),this.positionTarget&&!S)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");this._setCloseHandlers()}}close(){if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.closed.emit(),this._changeDetector.markForCheck();let S=this._elWithFocus;Ra(this.restoreFocus)?S=this._document.querySelector(this.restoreFocus):void 0!==this.restoreFocus&&(S=this.restoreFocus),S&&S.focus?S.focus():this._document.body.focus()}}toggle(){this.isOpen()?this.close():this.open()}navigateTo(S){this.isOpen()&&this._cRef.instance.navigateTo(S)}onBlur(){this._onTouched()}onFocus(){this._elWithFocus=this._elRef.nativeElement}ngOnChanges(S){if((S.minDate||S.maxDate)&&(this._validatorChange(),this.isOpen()&&(S.minDate&&(this._cRef.instance.minDate=this.minDate),S.maxDate&&(this._cRef.instance.maxDate=this.maxDate),this._cRef.instance.ngOnChanges(S))),S.datepickerClass){const{currentValue:z,previousValue:Oe}=S.datepickerClass;this._applyPopupClass(z,Oe)}S.autoClose&&this.isOpen()&&this._setCloseHandlers()}ngOnDestroy(){this.close()}_applyDatepickerInputs(S){["contentTemplate","dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekNumbers","weekdays"].forEach(z=>{void 0!==this[z]&&S.setInput(z,this[z])}),S.setInput("startDate",this.startDate||this._model)}_applyPopupClass(S,z){const Oe=this._cRef?.location.nativeElement;Oe&&(S&&this._renderer.addClass(Oe,S),z&&this._renderer.removeClass(Oe,z))}_applyPopupStyling(S){this._renderer.addClass(S,"dropdown-menu"),this._renderer.addClass(S,"show"),"body"===this.container&&this._renderer.addClass(S,"ngb-dp-body"),this._applyPopupClass(this.datepickerClass)}_subscribeForDatepickerOutputs(S){S.navigate.subscribe(z=>this.navigate.emit(z)),S.dateSelect.subscribe(z=>{this.dateSelect.emit(z),(!0===this.autoClose||"inside"===this.autoClose)&&this.close()})}_writeModelValue(S){const z=this._parserFormatter.format(S);this._inputValue=z,this._renderer.setProperty(this._elRef.nativeElement,"value",z),this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(S)),this._onTouched())}_fromDateStruct(S){const z=S?new Nu(S.year,S.month,S.day):null;return this._calendar.isValid(z)?z:null}_setCloseHandlers(){this._destroyCloseHandlers$.next(),er(this._ngZone,this._document,this.autoClose,()=>this.close(),this._destroyCloseHandlers$,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(wf),r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(r.Qsj),r.Y36(r.R0b),r.Y36(Qo),r.Y36(ne),r.Y36(ir.K0),r.Y36(r.sBO),r.Y36(yc))},I.\u0275dir=r.lG2({type:I,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(S,z){1&S&&r.NdJ("input",function(ut){return z.manualDateChange(ut.target.value)})("change",function(ut){return z.manualDateChange(ut.target.value,!0)})("focus",function(){return z.onFocus()})("blur",function(){return z.onBlur()}),2&S&&r.Ikx("disabled",z.disabled)},inputs:{autoClose:"autoClose",contentTemplate:"contentTemplate",datepickerClass:"datepickerClass",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",popperOptions:"popperOptions",restoreFocus:"restoreFocus",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget",weekdays:"weekdays",disabled:"disabled"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],standalone:!0,features:[r._Bn([{provide:Qr.JU,useExisting:(0,r.Gpc)(()=>I),multi:!0},{provide:Qr.Cf,useExisting:(0,r.Gpc)(()=>I),multi:!0},{provide:N,useExisting:yc}]),r.TTD]}),I})();new Date(1882,10,12),new Date(2174,10,25);let lp=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[Re,Qe]}),I})(),Mp=(()=>{class I{constructor(){this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=S=>S}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),l_=(()=>{class I{constructor(S,z){this.elementRef=S,this._renderer=z,this._disabled=!1}set disabled(S){this._disabled=""===S||!0===S,this._renderer.setProperty(this.elementRef.nativeElement,"disabled",this._disabled)}get disabled(){return this._disabled}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.SBq),r.Y36(r.Qsj))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbDropdownItem",""]],hostAttrs:[1,"dropdown-item"],hostVars:3,hostBindings:function(S,z){2&S&&(r.Ikx("tabIndex",z.disabled?-1:0),r.ekj("disabled",z.disabled))},inputs:{disabled:"disabled"},standalone:!0}),I})(),u_=(()=>{class I{constructor(S,z){this.dropdown=S,this.placement="bottom",this.isOpen=!1,this.nativeElement=z.nativeElement}}return I.\u0275fac=function(S){return new(S||I)(r.Y36((0,r.Gpc)(()=>jd)),r.Y36(r.SBq))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbDropdownMenu",""]],contentQueries:function(S,z,Oe){if(1&S&&r.Suo(Oe,l_,4),2&S){let ut;r.iGM(ut=r.CRH())&&(z.menuItems=ut)}},hostVars:4,hostBindings:function(S,z){1&S&&r.NdJ("keydown.ArrowUp",function(ut){return z.dropdown.onKeyDown(ut)})("keydown.ArrowDown",function(ut){return z.dropdown.onKeyDown(ut)})("keydown.Home",function(ut){return z.dropdown.onKeyDown(ut)})("keydown.End",function(ut){return z.dropdown.onKeyDown(ut)})("keydown.Enter",function(ut){return z.dropdown.onKeyDown(ut)})("keydown.Space",function(ut){return z.dropdown.onKeyDown(ut)})("keydown.Tab",function(ut){return z.dropdown.onKeyDown(ut)})("keydown.Shift.Tab",function(ut){return z.dropdown.onKeyDown(ut)}),2&S&&r.ekj("dropdown-menu",!0)("show",z.dropdown.isOpen())},standalone:!0}),I})(),mf=(()=>{class I{constructor(S,z){this.dropdown=S,this.nativeElement=z.nativeElement}}return I.\u0275fac=function(S){return new(S||I)(r.Y36((0,r.Gpc)(()=>jd)),r.Y36(r.SBq))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbDropdownAnchor",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(S,z){2&S&&r.uIk("aria-expanded",z.dropdown.isOpen())},standalone:!0}),I})(),jf=(()=>{class I extends mf{constructor(S,z){super(S,z)}}return I.\u0275fac=function(S){return new(S||I)(r.Y36((0,r.Gpc)(()=>jd)),r.Y36(r.SBq))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbDropdownToggle",""]],hostAttrs:[1,"dropdown-toggle"],hostVars:1,hostBindings:function(S,z){1&S&&r.NdJ("click",function(){return z.dropdown.toggle()})("keydown.ArrowUp",function(ut){return z.dropdown.onKeyDown(ut)})("keydown.ArrowDown",function(ut){return z.dropdown.onKeyDown(ut)})("keydown.Home",function(ut){return z.dropdown.onKeyDown(ut)})("keydown.End",function(ut){return z.dropdown.onKeyDown(ut)})("keydown.Tab",function(ut){return z.dropdown.onKeyDown(ut)})("keydown.Shift.Tab",function(ut){return z.dropdown.onKeyDown(ut)}),2&S&&r.uIk("aria-expanded",z.dropdown.isOpen())},standalone:!0,features:[r._Bn([{provide:mf,useExisting:(0,r.Gpc)(()=>I)}]),r.qOj]}),I})(),jd=(()=>{class I{constructor(S,z,Oe,ut,On,Ar){this._changeDetector=S,this._document=Oe,this._ngZone=ut,this._elementRef=On,this._renderer=Ar,this._destroyCloseHandlers$=new e.xQ,this._bodyContainer=null,this._open=!1,this.openChange=new r.vpe,this.placement=z.placement,this.popperOptions=z.popperOptions,this.container=z.container,this.autoClose=z.autoClose,this._positioning=nc(),this.display=this._elementRef.nativeElement.closest(".navbar")?"static":"dynamic"}ngAfterContentInit(){this._ngZone.onStable.pipe((0,Le.q)(1)).subscribe(()=>{this._applyPlacementClasses(),this._open&&this._setCloseHandlers()})}ngOnChanges(S){if(S.container&&this._open&&this._applyContainer(this.container),S.placement&&!S.placement.firstChange&&(this._positioning.setOptions({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container}),this._applyPlacementClasses()),S.dropdownClass){const{currentValue:z,previousValue:Oe}=S.dropdownClass;this._applyCustomDropdownClass(z,Oe)}S.autoClose&&this._open&&(this.autoClose=S.autoClose.currentValue,this._setCloseHandlers())}isOpen(){return this._open}open(){this._open||(this._open=!0,this._applyContainer(this.container),this.openChange.emit(!0),this._setCloseHandlers(),this._anchor&&(this._anchor.nativeElement.focus(),"dynamic"===this.display&&this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._anchor.nativeElement,targetElement:this._bodyContainer||this._menu.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:S=>this.popperOptions(Gc([0,2])(S))}),this._applyPlacementClasses(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positionMenu())})))}_setCloseHandlers(){this._destroyCloseHandlers$.next(),er(this._ngZone,this._document,this.autoClose,S=>{this.close(),0===S&&this._anchor.nativeElement.focus()},this._destroyCloseHandlers$,this._menu?[this._menu.nativeElement]:[],this._anchor?[this._anchor.nativeElement]:[],".dropdown-item,.dropdown-divider")}close(){this._open&&(this._open=!1,this._resetContainer(),this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.openChange.emit(!1),this._changeDetector.markForCheck())}toggle(){this.isOpen()?this.close():this.open()}ngOnDestroy(){this.close()}onKeyDown(S){const z=S.which,Oe=this._getMenuElements();let ut=-1,On=null;const Ar=this._isEventFromToggle(S);if(!Ar&&Oe.length&&Oe.forEach((ri,Di)=>{ri.contains(S.target)&&(On=ri),ri===this._document.activeElement&&(ut=Di)}),z!==h.Space&&z!==h.Enter){if(z!==h.Tab){if(Ar||On){if(this.open(),Oe.length){switch(z){case h.ArrowDown:ut=Math.min(ut+1,Oe.length-1);break;case h.ArrowUp:if(this._isDropup()&&-1===ut){ut=Oe.length-1;break}ut=Math.max(ut-1,0);break;case h.Home:ut=0;break;case h.End:ut=Oe.length-1}Oe[ut].focus()}S.preventDefault()}}else if(S.target&&this.isOpen()&&this.autoClose){if(this._anchor.nativeElement===S.target)return void("body"!==this.container||S.shiftKey?S.shiftKey&&this.close():(this._renderer.setAttribute(this._menu.nativeElement,"tabindex","0"),this._menu.nativeElement.focus(),this._renderer.removeAttribute(this._menu.nativeElement,"tabindex")));if("body"===this.container){const ri=this._menu.nativeElement.querySelectorAll(sr);S.shiftKey&&S.target===ri[0]?(this._anchor.nativeElement.focus(),S.preventDefault()):!S.shiftKey&&S.target===ri[ri.length-1]&&(this._anchor.nativeElement.focus(),this.close())}else(0,f.R)(S.target,"focusout").pipe((0,Le.q)(1)).subscribe(({relatedTarget:ri})=>{this._elementRef.nativeElement.contains(ri)||this.close()})}}else On&&(!0===this.autoClose||"inside"===this.autoClose)&&(0,f.R)(On,"click").pipe((0,Le.q)(1)).subscribe(()=>this.close())}_isDropup(){return this._elementRef.nativeElement.classList.contains("dropup")}_isEventFromToggle(S){return this._anchor.nativeElement.contains(S.target)}_getMenuElements(){const S=this._menu;return null==S?[]:S.menuItems.filter(z=>!z.disabled).map(z=>z.elementRef.nativeElement)}_positionMenu(){const S=this._menu;this.isOpen()&&S&&("dynamic"===this.display?(this._positioning.update(),this._applyPlacementClasses()):this._applyPlacementClasses(this._getFirstPlacement(this.placement)))}_getFirstPlacement(S){return Array.isArray(S)?S[0]:S.split(" ")[0]}_resetContainer(){const S=this._renderer;this._menu&&S.appendChild(this._elementRef.nativeElement,this._menu.nativeElement),this._bodyContainer&&(S.removeChild(this._document.body,this._bodyContainer),this._bodyContainer=null)}_applyContainer(S=null){if(this._resetContainer(),"body"===S){const z=this._renderer,Oe=this._menu.nativeElement,ut=this._bodyContainer=this._bodyContainer||z.createElement("div");z.setStyle(ut,"position","absolute"),z.setStyle(Oe,"position","static"),z.setStyle(ut,"z-index","1055"),z.appendChild(ut,Oe),z.appendChild(this._document.body,ut)}this._applyCustomDropdownClass(this.dropdownClass)}_applyCustomDropdownClass(S,z){const Oe="body"===this.container?this._bodyContainer:this._elementRef.nativeElement;Oe&&(z&&this._renderer.removeClass(Oe,z),S&&this._renderer.addClass(Oe,S))}_applyPlacementClasses(S){const z=this._menu;if(z){S||(S=this._getFirstPlacement(this.placement));const Oe=this._renderer,ut=this._elementRef.nativeElement;Oe.removeClass(ut,"dropup"),Oe.removeClass(ut,"dropdown");const{nativeElement:On}=z;"static"===this.display?(z.placement=null,Oe.setAttribute(On,"data-bs-popper","static")):(z.placement=S,Oe.removeAttribute(On,"data-bs-popper"));const Ar=-1!==S.search("^top")?"dropup":"dropdown";Oe.addClass(ut,Ar);const ri=this._bodyContainer;ri&&(Oe.removeClass(ri,"dropup"),Oe.removeClass(ri,"dropdown"),Oe.addClass(ri,Ar))}}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.sBO),r.Y36(Mp),r.Y36(ir.K0),r.Y36(r.R0b),r.Y36(r.SBq),r.Y36(r.Qsj))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbDropdown",""]],contentQueries:function(S,z,Oe){if(1&S&&(r.Suo(Oe,u_,5),r.Suo(Oe,mf,5)),2&S){let ut;r.iGM(ut=r.CRH())&&(z._menu=ut.first),r.iGM(ut=r.CRH())&&(z._anchor=ut.first)}},hostVars:2,hostBindings:function(S,z){2&S&&r.ekj("show",z.isOpen())},inputs:{autoClose:"autoClose",dropdownClass:"dropdownClass",_open:["open","_open"],placement:"placement",popperOptions:"popperOptions",container:"container",display:"display"},outputs:{openChange:"openChange"},exportAs:["ngbDropdown"],standalone:!0,features:[r.TTD]}),I})(),Qh=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({}),I})();class nf{constructor(re,S,z){this.nodes=re,this.viewRef=S,this.componentRef=z}}class Op{constructor(re,S,z,Oe,ut,On){this._componentType=re,this._injector=S,this._viewContainerRef=z,this._renderer=Oe,this._ngZone=ut,this._applicationRef=On,this._windowRef=null,this._contentRef=null}open(re,S,z=!1){this._windowRef||(this._contentRef=this._getContentRef(re,S),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:Oe}=this._windowRef.location,ut=this._ngZone.onStable.pipe((0,Le.q)(1),(0,fn.zg)(()=>Nr(this._ngZone,Oe,({classList:On})=>On.add("show"),{animation:z,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:ut}}close(re=!1){return this._windowRef?Nr(this._ngZone,this._windowRef.location.nativeElement,({classList:S})=>S.remove("show"),{animation:re,runningTransition:"stop"}).pipe((0,pn.b)(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):(0,u.of)(void 0)}_getContentRef(re,S){if(re){if(re instanceof r.Rgc){const z=re.createEmbeddedView(S);return this._applicationRef.attachView(z),new nf([z.rootNodes],z)}return new nf([[this._renderer.createText(`${re}`)]])}return new nf([])}}let Oh=(()=>{class I{constructor(S,z){this._el=S,this._zone=z}ngOnInit(){this._zone.onStable.asObservable().pipe((0,Le.q)(1)).subscribe(()=>{Nr(this._zone,this._el.nativeElement,(S,z)=>{z&&ae(S),S.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return Nr(this._zone,this._el.nativeElement,({classList:S})=>S.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.SBq),r.Y36(r.R0b))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(S,z){2&S&&(r.Tol("modal-backdrop"+(z.backdropClass?" "+z.backdropClass:"")),r.ekj("show",!z.animation)("fade",z.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[r.jDz],decls:0,vars:0,template:function(S,z){},encapsulation:2}),I})();class Ap{update(re){}close(re){}dismiss(re){}}const A_=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],Dp=["animation","backdropClass"];class Ah{constructor(re,S,z,Oe){this._windowCmptRef=re,this._contentRef=S,this._backdropCmptRef=z,this._beforeDismiss=Oe,this._closed=new e.xQ,this._dismissed=new e.xQ,this._hidden=new e.xQ,re.instance.dismissEvent.subscribe(ut=>{this.dismiss(ut)}),this.result=new Promise((ut,On)=>{this._resolve=ut,this._reject=On}),this.result.then(null,()=>{})}_applyWindowOptions(re,S){A_.forEach(z=>{wl(S[z])&&(re[z]=S[z])})}_applyBackdropOptions(re,S){Dp.forEach(z=>{wl(S[z])&&(re[z]=S[z])})}update(re){this._applyWindowOptions(this._windowCmptRef.instance,re),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,re)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,He.R)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,He.R)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(re){this._windowCmptRef&&(this._closed.next(re),this._resolve(re),this._removeModalElements())}_dismiss(re){this._dismissed.next(re),this._reject(re),this._removeModalElements()}dismiss(re){if(this._windowCmptRef)if(this._beforeDismiss){const S=this._beforeDismiss();!function Ho(I){return I&&I.then}(S)?!1!==S&&this._dismiss(re):S.then(z=>{!1!==z&&this._dismiss(re)},()=>{})}else this._dismiss(re)}_removeModalElements(){const re=this._windowCmptRef.instance.hide(),S=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,u.of)(void 0);re.subscribe(()=>{const{nativeElement:z}=this._windowCmptRef.location;z.parentNode.removeChild(z),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),S.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:z}=this._backdropCmptRef.location;z.parentNode.removeChild(z),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),se(re,S).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var If=(()=>{return(I=If||(If={}))[I.BACKDROP_CLICK=0]="BACKDROP_CLICK",I[I.ESC=1]="ESC",If;var I})();let Yp=(()=>{class I{constructor(S,z,Oe){this._document=S,this._elRef=z,this._zone=Oe,this._closed$=new e.xQ,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new r.vpe,this.shown=new e.xQ,this.hidden=new e.xQ}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":Ra(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(S){this.dismissEvent.emit(S)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,Le.q)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:S}=this._elRef,z={animation:this.animation,runningTransition:"stop"},On=se(Nr(this._zone,S,()=>S.classList.remove("show"),z),Nr(this._zone,this._dialogEl.nativeElement,()=>{},z));return On.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),On}_show(){const S={animation:this.animation,runningTransition:"continue"};se(Nr(this._zone,this._elRef.nativeElement,(ut,On)=>{On&&ae(ut),ut.classList.add("show")},S),Nr(this._zone,this._dialogEl.nativeElement,()=>{},S)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:S}=this._elRef;this._zone.runOutsideAngular(()=>{(0,f.R)(S,"keydown").pipe((0,He.R)(this._closed$),(0,We.h)(Oe=>Oe.which===h.Escape)).subscribe(Oe=>{this.keyboard?requestAnimationFrame(()=>{Oe.defaultPrevented||this._zone.run(()=>this.dismiss(If.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let z=!1;(0,f.R)(this._dialogEl.nativeElement,"mousedown").pipe((0,He.R)(this._closed$),(0,pn.b)(()=>z=!1),(0,cn.w)(()=>(0,f.R)(S,"mouseup").pipe((0,He.R)(this._closed$),(0,Le.q)(1))),(0,We.h)(({target:Oe})=>S===Oe)).subscribe(()=>{z=!0}),(0,f.R)(S,"click").pipe((0,He.R)(this._closed$)).subscribe(({target:Oe})=>{S===Oe&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!z&&this._zone.run(()=>this.dismiss(If.BACKDROP_CLICK))),z=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:S}=this._elRef;if(!S.contains(document.activeElement)){const z=S.querySelector("[ngbAutofocus]"),Oe=Dr(S)[0];(z||Oe||S).focus()}}_restoreFocus(){const S=this._document.body,z=this._elWithFocus;let Oe;Oe=z&&z.focus&&S.contains(z)?z:S,this._zone.runOutsideAngular(()=>{setTimeout(()=>Oe.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&Nr(this._zone,this._elRef.nativeElement,({classList:S})=>(S.add("modal-static"),()=>S.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(ir.K0),r.Y36(r.SBq),r.Y36(r.R0b))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-modal-window"]],viewQuery:function(S,z){if(1&S&&r.Gf(pt,7),2&S){let Oe;r.iGM(Oe=r.CRH())&&(z._dialogEl=Oe.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(S,z){2&S&&(r.uIk("aria-modal",!0)("aria-labelledby",z.ariaLabelledBy)("aria-describedby",z.ariaDescribedBy),r.Tol("modal d-block"+(z.windowClass?" "+z.windowClass:"")),r.ekj("fade",z.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[r.jDz],ngContentSelectors:au,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(S,z){1&S&&(r.F$t(),r.TgZ(0,"div",0,1)(2,"div",2),r.Hsn(3),r.qZA()()),2&S&&r.Tol("modal-dialog"+(z.size?" modal-"+z.size:"")+(z.centered?" modal-dialog-centered":"")+z.fullscreenClass+(z.scrollable?" modal-dialog-scrollable":"")+(z.modalDialogClass?" "+z.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2}),I})(),eh=(()=>{class I{constructor(S){this._document=S}hide(){const S=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),z=this._document.body,Oe=z.style,{overflow:ut,paddingRight:On}=Oe;if(S>0){const Ar=parseFloat(window.getComputedStyle(z).paddingRight);Oe.paddingRight=`${Ar+S}px`}return Oe.overflow="hidden",()=>{S>0&&(Oe.paddingRight=On),Oe.overflow=ut}}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(ir.K0))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),c_=(()=>{class I{constructor(S,z,Oe,ut,On,Ar,ri){this._applicationRef=S,this._injector=z,this._environmentInjector=Oe,this._document=ut,this._scrollBar=On,this._rendererFactory=Ar,this._ngZone=ri,this._activeWindowCmptHasChanged=new e.xQ,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new r.vpe,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const Di=this._windowCmpts[this._windowCmpts.length-1];oi(this._ngZone,Di.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(Di.location.nativeElement)}})}_restoreScrollBar(){const S=this._scrollBarRestoreFn;S&&(this._scrollBarRestoreFn=null,S())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(S,z,Oe){const ut=Oe.container instanceof HTMLElement?Oe.container:wl(Oe.container)?this._document.querySelector(Oe.container):this._document.body,On=this._rendererFactory.createRenderer(null,null);if(!ut)throw new Error(`The specified modal container "${Oe.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const Ar=new Ap,ri=(S=Oe.injector||S).get(r.lqb,null)||this._environmentInjector,Di=this._getContentRef(S,ri,z,Ar,Oe);let Pi=!1!==Oe.backdrop?this._attachBackdrop(ut):void 0,cs=this._attachWindowComponent(ut,Di.nodes),Yo=new Ah(cs,Di,Pi,Oe.beforeDismiss);return this._registerModalRef(Yo),this._registerWindowCmpt(cs),Yo.hidden.pipe((0,Le.q)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(On.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),Ar.close=y=>{Yo.close(y)},Ar.dismiss=y=>{Yo.dismiss(y)},Ar.update=y=>{Yo.update(y)},Yo.update(Oe),1===this._modalRefs.length&&On.addClass(this._document.body,"modal-open"),Pi&&Pi.instance&&Pi.changeDetectorRef.detectChanges(),cs.changeDetectorRef.detectChanges(),Yo}get activeInstances(){return this._activeInstances}dismissAll(S){this._modalRefs.forEach(z=>z.dismiss(S))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(S){let z=(0,r.LMc)(Oh,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(z.hostView),S.appendChild(z.location.nativeElement),z}_attachWindowComponent(S,z){let Oe=(0,r.LMc)(Yp,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:z});return this._applicationRef.attachView(Oe.hostView),S.appendChild(Oe.location.nativeElement),Oe}_getContentRef(S,z,Oe,ut,On){return Oe?Oe instanceof r.Rgc?this._createFromTemplateRef(Oe,ut):Ra(Oe)?this._createFromString(Oe):this._createFromComponent(S,z,Oe,ut,On):new nf([])}_createFromTemplateRef(S,z){const ut=S.createEmbeddedView({$implicit:z,close(On){z.close(On)},dismiss(On){z.dismiss(On)}});return this._applicationRef.attachView(ut),new nf([ut.rootNodes],ut)}_createFromString(S){const z=this._document.createTextNode(`${S}`);return new nf([[z]])}_createFromComponent(S,z,Oe,ut,On){const Ar=r.zs3.create({providers:[{provide:Ap,useValue:ut}],parent:S}),ri=(0,r.LMc)(Oe,{environmentInjector:z,elementInjector:Ar}),Di=ri.location.nativeElement;return On.scrollable&&Di.classList.add("component-host-scrollable"),this._applicationRef.attachView(ri.hostView),new nf([[Di]],ri.hostView,ri)}_setAriaHidden(S){const z=S.parentElement;z&&S!==this._document.body&&(Array.from(z.children).forEach(Oe=>{Oe!==S&&"SCRIPT"!==Oe.nodeName&&(this._ariaHiddenValues.set(Oe,Oe.getAttribute("aria-hidden")),Oe.setAttribute("aria-hidden","true"))}),this._setAriaHidden(z))}_revertAriaHidden(){this._ariaHiddenValues.forEach((S,z)=>{S?z.setAttribute("aria-hidden",S):z.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(S){const z=()=>{const Oe=this._modalRefs.indexOf(S);Oe>-1&&(this._modalRefs.splice(Oe,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(S),this._activeInstances.emit(this._modalRefs),S.result.then(z,z)}_registerWindowCmpt(S){this._windowCmpts.push(S),this._activeWindowCmptHasChanged.next(),S.onDestroy(()=>{const z=this._windowCmpts.indexOf(S);z>-1&&(this._windowCmpts.splice(z,1),this._activeWindowCmptHasChanged.next())})}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(r.z2F),r.LFG(r.zs3),r.LFG(r.lqb),r.LFG(ir.K0),r.LFG(eh),r.LFG(r.FYo),r.LFG(r.R0b))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),th=(()=>{class I{constructor(S){this._ngbConfig=S,this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(rs))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),d_=(()=>{class I{constructor(S,z,Oe){this._injector=S,this._modalStack=z,this._config=Oe}open(S,z={}){const Oe={...this._config,animation:this._config.animation,...z};return this._modalStack.open(this._injector,S,Oe)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(S){this._modalStack.dismissAll(S)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(r.zs3),r.LFG(c_),r.LFG(th))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),nh=(()=>{class I{constructor(S){this._ngbConfig=S,this.destroyOnHide=!0,this.orientation="horizontal",this.roles="tablist",this.keyboard=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(rs))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();const f_=I=>wl(I)&&""!==I;let Kh=0,up=(()=>{class I{constructor(S){this.templateRef=S}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.Rgc))},I.\u0275dir=r.lG2({type:I,selectors:[["ng-template","ngbNavContent",""]],standalone:!0}),I})(),Dh=(()=>{class I{constructor(S,z){this.role=S,this.nav=z}}return I.\u0275fac=function(S){return new(S||I)(r.$8M("role"),r.Y36((0,r.Gpc)(()=>Td)))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbNavItem","",5,"ng-container"]],hostVars:1,hostBindings:function(S,z){2&S&&r.uIk("role",z.role?z.role:z.nav.roles?"presentation":void 0)},standalone:!0}),I})(),jp=(()=>{class I{constructor(S,z){this._nav=S,this.elementRef=z,this.disabled=!1,this.shown=new r.vpe,this.hidden=new r.vpe}ngAfterContentChecked(){this.contentTpl=this.contentTpls.first}ngOnInit(){wl(this.domId)||(this.domId="ngb-nav-"+Kh++)}get active(){return this._nav.activeId===this.id}get id(){return f_(this._id)?this._id:this.domId}get panelDomId(){return`${this.domId}-panel`}isPanelInDom(){return(wl(this.destroyOnHide)?!this.destroyOnHide:!this._nav.destroyOnHide)||this.active}}return I.\u0275fac=function(S){return new(S||I)(r.Y36((0,r.Gpc)(()=>Td)),r.Y36(r.SBq))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbNavItem",""]],contentQueries:function(S,z,Oe){if(1&S&&r.Suo(Oe,up,4),2&S){let ut;r.iGM(ut=r.CRH())&&(z.contentTpls=ut)}},hostVars:2,hostBindings:function(S,z){2&S&&r.ekj("nav-item",!0)},inputs:{destroyOnHide:"destroyOnHide",disabled:"disabled",domId:"domId",_id:["ngbNavItem","_id"]},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbNavItem"],standalone:!0}),I})(),Td=(()=>{class I{constructor(S,z,Oe,ut){this.role=S,this._cd=Oe,this._document=ut,this.activeIdChange=new r.vpe,this.shown=new r.vpe,this.hidden=new r.vpe,this.destroy$=new e.xQ,this.navItemChange$=new e.xQ,this.navChange=new r.vpe,this.animation=z.animation,this.destroyOnHide=z.destroyOnHide,this.orientation=z.orientation,this.roles=z.roles,this.keyboard=z.keyboard}click(S){S.disabled||this._updateActiveId(S.id)}onKeyDown(S){if("tablist"!==this.roles||!this.keyboard)return;const z=S.which,Oe=this.links.filter(Ar=>!Ar.navItem.disabled),{length:ut}=Oe;let On=-1;if(Oe.forEach((Ar,ri)=>{Ar.elRef.nativeElement===this._document.activeElement&&(On=ri)}),ut){switch(z){case h.ArrowLeft:if("vertical"===this.orientation)return;On=(On-1+ut)%ut;break;case h.ArrowRight:if("vertical"===this.orientation)return;On=(On+1)%ut;break;case h.ArrowDown:if("horizontal"===this.orientation)return;On=(On+1)%ut;break;case h.ArrowUp:if("horizontal"===this.orientation)return;On=(On-1+ut)%ut;break;case h.Home:On=0;break;case h.End:On=ut-1}"changeWithArrows"===this.keyboard&&this.select(Oe[On].navItem.id),Oe[On].elRef.nativeElement.focus(),S.preventDefault()}}select(S){this._updateActiveId(S,!1)}ngAfterContentInit(){if(!wl(this.activeId)){const S=this.items.first?this.items.first.id:null;f_(S)&&(this._updateActiveId(S,!1),this._cd.detectChanges())}this.items.changes.pipe((0,He.R)(this.destroy$)).subscribe(()=>this._notifyItemChanged(this.activeId))}ngOnChanges({activeId:S}){S&&!S.firstChange&&this._notifyItemChanged(S.currentValue)}ngOnDestroy(){this.destroy$.next()}_updateActiveId(S,z=!0){if(this.activeId!==S){let Oe=!1;z&&this.navChange.emit({activeId:this.activeId,nextId:S,preventDefault:()=>{Oe=!0}}),Oe||(this.activeId=S,this.activeIdChange.emit(S),this._notifyItemChanged(S))}}_notifyItemChanged(S){this.navItemChange$.next(this._getItemById(S))}_getItemById(S){return this.items&&this.items.find(z=>z.id===S)||null}}return I.\u0275fac=function(S){return new(S||I)(r.$8M("role"),r.Y36(nh),r.Y36(r.sBO),r.Y36(ir.K0))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbNav",""]],contentQueries:function(S,z,Oe){if(1&S&&(r.Suo(Oe,jp,4),r.Suo(Oe,gf,5)),2&S){let ut;r.iGM(ut=r.CRH())&&(z.items=ut),r.iGM(ut=r.CRH())&&(z.links=ut)}},hostVars:6,hostBindings:function(S,z){1&S&&r.NdJ("keydown.arrowLeft",function(ut){return z.onKeyDown(ut)})("keydown.arrowRight",function(ut){return z.onKeyDown(ut)})("keydown.arrowDown",function(ut){return z.onKeyDown(ut)})("keydown.arrowUp",function(ut){return z.onKeyDown(ut)})("keydown.Home",function(ut){return z.onKeyDown(ut)})("keydown.End",function(ut){return z.onKeyDown(ut)}),2&S&&(r.uIk("aria-orientation","vertical"===z.orientation&&"tablist"===z.roles?"vertical":void 0)("role",z.role?z.role:z.roles?"tablist":void 0),r.ekj("nav",!0)("flex-column","vertical"===z.orientation))},inputs:{activeId:"activeId",animation:"animation",destroyOnHide:"destroyOnHide",orientation:"orientation",roles:"roles",keyboard:"keyboard"},outputs:{activeIdChange:"activeIdChange",shown:"shown",hidden:"hidden",navChange:"navChange"},exportAs:["ngbNav"],standalone:!0,features:[r.TTD]}),I})(),gf=(()=>{class I{constructor(S,z,Oe,ut){this.role=S,this.navItem=z,this.nav=Oe,this.elRef=ut}hasNavItemClass(){return this.navItem.elementRef.nativeElement.nodeType===Node.COMMENT_NODE}}return I.\u0275fac=function(S){return new(S||I)(r.$8M("role"),r.Y36(jp),r.Y36(Td),r.Y36(r.SBq))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbNavLink",""]],hostVars:14,hostBindings:function(S,z){2&S&&(r.Ikx("id",z.navItem.domId),r.uIk("role",z.role?z.role:z.nav.roles?"tab":void 0)("tabindex",z.navItem.disabled?-1:void 0)("aria-controls",z.navItem.isPanelInDom()?z.navItem.panelDomId:null)("aria-selected",z.navItem.active)("aria-disabled",z.navItem.disabled),r.ekj("nav-link",!0)("nav-item",z.hasNavItemClass())("active",z.navItem.active)("disabled",z.navItem.disabled))},standalone:!0}),I})(),Ta=(()=>{class I{constructor(S,z){this.navItem=S,this.nav=z}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(jp),r.Y36(Td))},I.\u0275dir=r.lG2({type:I,selectors:[["a","ngbNavLink",""]],hostAttrs:["href",""],hostBindings:function(S,z){1&S&&r.NdJ("click",function(ut){return z.nav.click(z.navItem),ut.preventDefault()})},standalone:!0,features:[r.zW0([gf])]}),I})();const fd=({classList:I})=>(I.remove("show"),()=>I.remove("active")),Tc=(I,re)=>{re&&ae(I),I.classList.add("show")};let Zs=(()=>{class I{constructor(S){this.elRef=S}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.SBq))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(S,z){2&S&&(r.Ikx("id",z.item.panelDomId),r.uIk("role",z.role?z.role:z.nav.roles?"tabpanel":void 0)("aria-labelledby",z.item.domId),r.ekj("fade",z.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"},standalone:!0}),I})(),vf=(()=>{class I{constructor(S,z){this._cd=S,this._ngZone=z,this._activePane=null}isPanelTransitioning(S){return this._activePane?.item===S}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe((0,He.R)(this.nav.destroy$),(0,it.O)(this._activePane?.item||null),(0,Xt.x)(),function xn(I){return re=>re.lift(new Kr(I))}(1)).subscribe(S=>{const z={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?Nr(this._ngZone,this._activePane.elRef.nativeElement,fd,z).subscribe(()=>{const Oe=this._activePane?.item;this._activePane=this._getPaneForItem(S),this._cd.markForCheck(),this._activePane&&(this._activePane.elRef.nativeElement.classList.add("active"),Nr(this._ngZone,this._activePane.elRef.nativeElement,Tc,z).subscribe(()=>{S&&(S.shown.emit(),this.nav.shown.emit(S.id))})),Oe&&(Oe.hidden.emit(),this.nav.hidden.emit(Oe.id))}):this._updateActivePane()})}_updateActivePane(){this._activePane=this._getActivePane(),this._activePane?.elRef.nativeElement.classList.add("show"),this._activePane?.elRef.nativeElement.classList.add("active")}_getPaneForItem(S){return this._panes&&this._panes.find(z=>z.item===S)||null}_getActivePane(){return this._panes&&this._panes.find(S=>S.item.active)||null}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.sBO),r.Y36(r.R0b))},I.\u0275cmp=r.Xpm({type:I,selectors:[["","ngbNavOutlet",""]],viewQuery:function(S,z){if(1&S&&r.Gf(Zs,5),2&S){let Oe;r.iGM(Oe=r.CRH())&&(z._panes=Oe)}},hostVars:2,hostBindings:function(S,z){2&S&&r.ekj("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},standalone:!0,features:[r.jDz],attrs:Je,decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["ngbNavPane","",3,"item","nav","role",4,"ngIf"],["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,z){1&S&&r.YNc(0,To,1,1,"ng-template",0),2&S&&r.Q6J("ngForOf",z.nav.items)},dependencies:[Zs,ir.ax,ir.O5,ir.tP],encapsulation:2,changeDetection:0}),I})(),Cc=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[vf]}),I})();class ih{constructor(re,S){this.open=re,this.close=S,S||(this.close=re)}isManual(){return"manual"===this.open||"manual"===this.close}}const lc={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]},Vd=I=>I>0?(0,sn.g)(I):re=>re;function h_(I,re,S,z,Oe,ut,On=0,Ar=0){const ri=function Ku(I,re=lc){const S=(I||"").trim();if(0===S.length)return[];const z=S.split(/\s+/).map(ut=>ut.split(":")).map(ut=>{let On=re[ut[0]]||ut;return new ih(On[0],On[1])}),Oe=z.filter(ut=>ut.isManual());if(Oe.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===Oe.length&&z.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return z}(S);if(1===ri.length&&ri[0].isManual())return()=>{};const Di=function Zf(I,re,S,z){return new a.y(Oe=>{const ut=[],On=()=>Oe.next(!0),Ar=()=>Oe.next(!1),ri=()=>Oe.next(!z());return S.forEach(Di=>{Di.open===Di.close?ut.push(I.listen(re,Di.open,ri)):ut.push(I.listen(re,Di.open,On),I.listen(re,Di.close,Ar))}),()=>{ut.forEach(Di=>Di())}})}(I,re,ri,z).pipe(function Wf(I,re,S){return z=>{let Oe=null;const ut=z.pipe((0,Pt.U)(ri=>({open:ri})),(0,We.h)(ri=>{const Di=S();return Di===ri.open||Oe&&Oe.open!==Di?(Oe&&Oe.open!==ri.open&&(Oe=null),!1):(Oe=ri,!0)}),(0,Lr.B)()),On=ut.pipe((0,We.h)(ri=>ri.open),Vd(I)),Ar=ut.pipe((0,We.h)(ri=>!ri.open),Vd(re));return(0,ot.T)(On,Ar).pipe((0,We.h)(ri=>ri===Oe&&(Oe=null,ri.open!==S())),(0,Pt.U)(ri=>ri.open))}}(On,Ar,z)).subscribe(Pi=>Pi?Oe():ut());return()=>Di.unsubscribe()}let kf=(()=>{class I{constructor(S){this._ngbConfig=S,this.autoClose=!0,this.placement="auto",this.popperOptions=z=>z,this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(rs))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),rf=0,R_=(()=>{class I{isTitleTemplate(){return this.title instanceof r.Rgc}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip",2,"position","absolute"],hostVars:5,hostBindings:function(S,z){2&S&&(r.Ikx("id",z.id),r.Tol("popover"+(z.popoverClass?" "+z.popoverClass:"")),r.ekj("fade",z.animation))},inputs:{animation:"animation",title:"title",id:"id",popoverClass:"popoverClass",context:"context"},standalone:!0,features:[r.jDz],ngContentSelectors:au,decls:4,vars:1,consts:[["data-popper-arrow","",1,"popover-arrow"],["class","popover-header",4,"ngIf"],[1,"popover-body"],[1,"popover-header"],["simpleTitle",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,z){1&S&&(r.F$t(),r._UZ(0,"div",0),r.YNc(1,Go,4,2,"h3",1),r.TgZ(2,"div",2),r.Hsn(3),r.qZA()),2&S&&(r.xp6(1),r.Q6J("ngIf",z.title))},dependencies:[ir.tP,ir.O5],encapsulation:2,changeDetection:0}),I})(),x_=(()=>{class I{constructor(S,z,Oe,ut,On,Ar,ri,Di,Pi){this._elementRef=S,this._renderer=z,this._ngZone=Ar,this._document=ri,this._changeDetector=Di,this.shown=new r.vpe,this.hidden=new r.vpe,this._ngbPopoverWindowId="ngb-popover-"+rf++,this._windowRef=null,this.animation=On.animation,this.autoClose=On.autoClose,this.placement=On.placement,this.popperOptions=On.popperOptions,this.triggers=On.triggers,this.container=On.container,this.disablePopover=On.disablePopover,this.popoverClass=On.popoverClass,this.openDelay=On.openDelay,this.closeDelay=On.closeDelay,this._positioning=nc(),this._popupService=new Op(R_,Oe,ut,z,this._ngZone,Pi)}_isDisabled(){return!(!this.disablePopover&&(this.ngbPopover||this.popoverTitle))}open(S){if(!this._windowRef&&!this._isDisabled()){const{windowRef:z,transition$:Oe}=this._popupService.open(this.ngbPopover,S,this.animation);this._windowRef=z,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("title",this.popoverTitle),this._windowRef.setInput("context",S),this._windowRef.setInput("popoverClass",this.popoverClass),this._windowRef.setInput("id",this._ngbPopoverWindowId),this._renderer.setAttribute(this._getPositionTargetElement(),"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-popover",updatePopperOptions:ut=>this.popperOptions(Gc([0,8])(ut))}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),er(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),Oe.subscribe(()=>this.shown.emit())}}close(S=this.animation){this._windowRef&&(this._renderer.removeAttribute(this._getPositionTargetElement(),"aria-describedby"),this._popupService.close(S).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=h_(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({ngbPopover:S,popoverTitle:z,disablePopover:Oe,popoverClass:ut}){ut&&this.isOpen()&&(this._windowRef.instance.popoverClass=ut.currentValue),(S||z||Oe)&&this._isDisabled()&&this.close()}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(Ra(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._elementRef.nativeElement}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.zs3),r.Y36(r.s_b),r.Y36(kf),r.Y36(r.R0b),r.Y36(ir.K0),r.Y36(r.sBO),r.Y36(r.z2F))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbPopover",""]],inputs:{animation:"animation",autoClose:"autoClose",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",openDelay:"openDelay",closeDelay:"closeDelay"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],standalone:!0,features:[r.TTD]}),I})(),Jf=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({}),I})(),oh=(()=>{class I{constructor(){this.max=100,this.animated=!1,this.ariaLabel="progress bar",this.striped=!1,this.showValue=!1}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Rp=(()=>{class I{constructor(S){this.value=0,this.max=S.max,this.animated=S.animated,this.ariaLabel=S.ariaLabel,this.striped=S.striped,this.textType=S.textType,this.type=S.type,this.showValue=S.showValue,this.height=S.height}set max(S){this._max=!Vs(S)||S<=0?100:S}get max(){return this._max}getValue(){return function Fs(I,re,S=0){return Math.max(Math.min(I,re),S)}(this.value,this.max)}getPercentValue(){return 100*this.getValue()/this.max}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(oh))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-progressbar"]],hostAttrs:["role","progressbar","aria-valuemin","0",1,"progress"],hostVars:5,hostBindings:function(S,z){2&S&&(r.uIk("aria-valuenow",z.getValue())("aria-valuemax",z.max)("aria-label",z.ariaLabel),r.Udp("height",z.height))},inputs:{max:"max",animated:"animated",ariaLabel:"ariaLabel",striped:"striped",showValue:"showValue",textType:"textType",type:"type",value:"value",height:"height"},standalone:!0,features:[r.jDz],ngContentSelectors:au,decls:3,vars:11,consts:function(){let re;return re="" + "\ufffd0\ufffd" + "",[[4,"ngIf"],re]},template:function(S,z){1&S&&(r.F$t(),r.TgZ(0,"div"),r.YNc(1,Io,3,3,"span",0),r.Hsn(2),r.qZA()),2&S&&(r.MT6("progress-bar",z.type?z.textType?" bg-"+z.type:" text-bg-"+z.type:"","",z.textType?" text-"+z.textType:"",""),r.Udp("width",z.getPercentValue(),"%"),r.ekj("progress-bar-animated",z.animated)("progress-bar-striped",z.striped),r.xp6(1),r.Q6J("ngIf",z.showValue))},dependencies:[ir.O5,ir.Zx],encapsulation:2,changeDetection:0}),I})(),dp=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[Rp]}),I})();class xp{constructor(re,S,z){this.hour=Ri(re),this.minute=Ri(S),this.second=Ri(z)}changeHour(re=1){this.updateHour((isNaN(this.hour)?0:this.hour)+re)}updateHour(re){this.hour=Vs(re)?(re<0?24+re:re)%24:NaN}changeMinute(re=1){this.updateMinute((isNaN(this.minute)?0:this.minute)+re)}updateMinute(re){Vs(re)?(this.minute=re%60<0?60+re%60:re%60,this.changeHour(Math.floor(re/60))):this.minute=NaN}changeSecond(re=1){this.updateSecond((isNaN(this.second)?0:this.second)+re)}updateSecond(re){Vs(re)?(this.second=re<0?60+re%60:re%60,this.changeMinute(Math.floor(re/60))):this.second=NaN}isValid(re=!0){return Vs(this.hour)&&Vs(this.minute)&&(!re||Vs(this.second))}toString(){return`${this.hour||0}:${this.minute||0}:${this.second||0}`}}let wd=(()=>{class I{constructor(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),wp=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:function(){return function w_(){return new Rh}()},providedIn:"root"}),I})(),Rh=(()=>{class I extends wp{fromModel(S){return S&&Ms(S.hour)&&Ms(S.minute)?{hour:S.hour,minute:S.minute,second:Ms(S.second)?S.second:null}:null}toModel(S){return S&&Ms(S.hour)&&Ms(S.minute)?{hour:S.hour,minute:S.minute,second:Ms(S.second)?S.second:null}:null}}return I.\u0275fac=function(){let re;return function(z){return(re||(re=r.n5z(I)))(z||I)}}(),I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})(),pp=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:function(S){let z=null;return z=S?new S:function sh(I){return new Xh(I)}(r.LFG(r.soG)),z},providedIn:"root"}),I})(),Xh=(()=>{class I extends pp{constructor(S){super(),this._periods=(0,ir.ol)(S,ir.x.Standalone,ir.Tn.Narrow)}getMorningPeriod(){return this._periods[0]}getAfternoonPeriod(){return this._periods[1]}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(r.soG))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac}),I})();const Ef=/[^0-9]/g;let Sf=(()=>{class I{constructor(S,z,Oe,ut){this._config=S,this._ngbTimeAdapter=z,this._cd=Oe,this.i18n=ut,this.onChange=On=>{},this.onTouched=()=>{},this.meridian=S.meridian,this.spinners=S.spinners,this.seconds=S.seconds,this.hourStep=S.hourStep,this.minuteStep=S.minuteStep,this.secondStep=S.secondStep,this.disabled=S.disabled,this.readonlyInputs=S.readonlyInputs,this.size=S.size}set hourStep(S){this._hourStep=Ms(S)?S:this._config.hourStep}get hourStep(){return this._hourStep}set minuteStep(S){this._minuteStep=Ms(S)?S:this._config.minuteStep}get minuteStep(){return this._minuteStep}set secondStep(S){this._secondStep=Ms(S)?S:this._config.secondStep}get secondStep(){return this._secondStep}writeValue(S){const z=this._ngbTimeAdapter.fromModel(S);this.model=z?new xp(z.hour,z.minute,z.second):new xp,!this.seconds&&(!z||!Vs(z.second))&&(this.model.second=0),this._cd.markForCheck()}registerOnChange(S){this.onChange=S}registerOnTouched(S){this.onTouched=S}setDisabledState(S){this.disabled=S}changeHour(S){this.model?.changeHour(S),this.propagateModelChange()}changeMinute(S){this.model?.changeMinute(S),this.propagateModelChange()}changeSecond(S){this.model?.changeSecond(S),this.propagateModelChange()}updateHour(S){const z=!!this.model&&this.model.hour>=12,Oe=Ri(S);this.model?.updateHour(this.meridian&&(z&&Oe<12||!z&&12===Oe)?Oe+12:Oe),this.propagateModelChange()}updateMinute(S){this.model?.updateMinute(Ri(S)),this.propagateModelChange()}updateSecond(S){this.model?.updateSecond(Ri(S)),this.propagateModelChange()}toggleMeridian(){this.meridian&&this.changeHour(12)}formatInput(S){S.value=S.value.replace(Ef,"")}formatHour(S){return Vs(S)?Qa(this.meridian?S%12==0?12:S%12:S%24):Qa(NaN)}formatMinSec(S){return Qa(Vs(S)?S:NaN)}handleBlur(){this.onTouched()}get isSmallSize(){return"small"===this.size}get isLargeSize(){return"large"===this.size}ngOnChanges(S){S.seconds&&!this.seconds&&this.model&&!Vs(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))}propagateModelChange(S=!0){S&&this.onTouched(),this.model?.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(wd),r.Y36(wp),r.Y36(r.sBO),r.Y36(pp))},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-timepicker"]],inputs:{meridian:"meridian",spinners:"spinners",seconds:"seconds",hourStep:"hourStep",minuteStep:"minuteStep",secondStep:"secondStep",readonlyInputs:"readonlyInputs",size:"size"},exportAs:["ngbTimepicker"],standalone:!0,features:[r._Bn([{provide:Qr.JU,useExisting:(0,r.Gpc)(()=>I),multi:!0}]),r.TTD,r.jDz],decls:16,vars:25,consts:function(){let re,S,z,Oe,ut,On,Ar,ri,Di,Pi,cs,Yo,y,x;return re="HH",S="Hours",z="MM",Oe="Minutes",ut="Increment hours",On="Decrement hours",Ar="Increment minutes",ri="Decrement minutes",Di="SS",Pi="Seconds",cs="Increment seconds",Yo="Decrement seconds",y="" + "\ufffd0\ufffd" + "",x="" + "\ufffd0\ufffd" + "",[[3,"disabled"],[1,"ngb-tp"],[1,"ngb-tp-input-container","ngb-tp-hour"],["tabindex","-1","type","button","class","btn btn-link",3,"btn-sm","btn-lg","disabled","click",4,"ngIf"],["type","text","maxlength","2","inputmode","numeric","placeholder",re,"aria-label",S,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],[1,"ngb-tp-spacer"],[1,"ngb-tp-input-container","ngb-tp-minute"],["type","text","maxlength","2","inputmode","numeric","placeholder",z,"aria-label",Oe,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],["class","ngb-tp-spacer",4,"ngIf"],["class","ngb-tp-input-container ngb-tp-second",4,"ngIf"],["class","ngb-tp-meridian",4,"ngIf"],["tabindex","-1","type","button",1,"btn","btn-link",3,"disabled","click"],[1,"chevron","ngb-tp-chevron"],[1,"visually-hidden"],ut,[1,"chevron","ngb-tp-chevron","bottom"],On,Ar,ri,[1,"ngb-tp-input-container","ngb-tp-second"],["type","text","maxlength","2","inputmode","numeric","placeholder",Di,"aria-label",Pi,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],cs,Yo,[1,"ngb-tp-meridian"],["type","button",1,"btn","btn-outline-primary",3,"disabled","click"],[4,"ngIf","ngIfElse"],["am",""],y,x]},template:function(S,z){1&S&&(r.TgZ(0,"fieldset",0)(1,"div",1)(2,"div",2),r.YNc(3,Ui,4,7,"button",3),r.TgZ(4,"input",4),r.NdJ("change",function(ut){return z.updateHour(ut.target.value)})("blur",function(){return z.handleBlur()})("input",function(ut){return z.formatInput(ut.target)})("keydown.ArrowUp",function(ut){return z.changeHour(z.hourStep),ut.preventDefault()})("keydown.ArrowDown",function(ut){return z.changeHour(-z.hourStep),ut.preventDefault()}),r.qZA(),r.YNc(5,Do,4,7,"button",3),r.qZA(),r.TgZ(6,"div",5),r._uU(7,":"),r.qZA(),r.TgZ(8,"div",6),r.YNc(9,Fa,4,7,"button",3),r.TgZ(10,"input",7),r.NdJ("change",function(ut){return z.updateMinute(ut.target.value)})("blur",function(){return z.handleBlur()})("input",function(ut){return z.formatInput(ut.target)})("keydown.ArrowUp",function(ut){return z.changeMinute(z.minuteStep),ut.preventDefault()})("keydown.ArrowDown",function(ut){return z.changeMinute(-z.minuteStep),ut.preventDefault()}),r.qZA(),r.YNc(11,ca,4,7,"button",3),r.qZA(),r.YNc(12,zo,2,0,"div",8),r.YNc(13,Uu,4,9,"div",9),r.YNc(14,Xc,1,0,"div",8),r.YNc(15,yi,5,9,"div",10),r.qZA()()),2&S&&(r.ekj("disabled",z.disabled),r.Q6J("disabled",z.disabled),r.xp6(3),r.Q6J("ngIf",z.spinners),r.xp6(1),r.ekj("form-control-sm",z.isSmallSize)("form-control-lg",z.isLargeSize),r.Q6J("value",z.formatHour(null==z.model?null:z.model.hour))("readOnly",z.readonlyInputs)("disabled",z.disabled),r.xp6(1),r.Q6J("ngIf",z.spinners),r.xp6(4),r.Q6J("ngIf",z.spinners),r.xp6(1),r.ekj("form-control-sm",z.isSmallSize)("form-control-lg",z.isLargeSize),r.Q6J("value",z.formatMinSec(null==z.model?null:z.model.minute))("readOnly",z.readonlyInputs)("disabled",z.disabled),r.xp6(1),r.Q6J("ngIf",z.spinners),r.xp6(1),r.Q6J("ngIf",z.seconds),r.xp6(1),r.Q6J("ngIf",z.seconds),r.xp6(1),r.Q6J("ngIf",z.meridian),r.xp6(1),r.Q6J("ngIf",z.meridian))},dependencies:[ir.O5],styles:['ngb-timepicker{font-size:1rem}.ngb-tp{display:flex;align-items:center}.ngb-tp-input-container{width:4em}.ngb-tp-chevron:before{border-style:solid;border-width:.29em .29em 0 0;content:"";display:inline-block;height:.69em;left:.05em;position:relative;top:.15em;transform:rotate(-45deg);vertical-align:middle;width:.69em}.ngb-tp-chevron.bottom:before{top:-.3em;transform:rotate(135deg)}.ngb-tp-input{text-align:center}.ngb-tp-hour,.ngb-tp-minute,.ngb-tp-second,.ngb-tp-meridian{display:flex;flex-direction:column;align-items:center;justify-content:space-around}.ngb-tp-spacer{width:1em;text-align:center}\n'],encapsulation:2}),I})(),Vp=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[Sf]}),I})(),I_=(()=>{class I{constructor(S){this._ngbConfig=S,this.autoClose=!0,this.placement="auto",this.popperOptions=z=>z,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(S){this._animation=S}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(rs))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),Zp=0,Qc=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip",2,"position","absolute"],hostVars:5,hostBindings:function(S,z){2&S&&(r.Ikx("id",z.id),r.Tol("tooltip"+(z.tooltipClass?" "+z.tooltipClass:"")),r.ekj("fade",z.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},standalone:!0,features:[r.jDz],ngContentSelectors:au,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(S,z){1&S&&(r.F$t(),r._UZ(0,"div",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA())},encapsulation:2,changeDetection:0}),I})(),em=(()=>{class I{constructor(S,z,Oe,ut,On,Ar,ri,Di,Pi){this._elementRef=S,this._renderer=z,this._ngZone=Ar,this._document=ri,this._changeDetector=Di,this.shown=new r.vpe,this.hidden=new r.vpe,this._ngbTooltipWindowId="ngb-tooltip-"+Zp++,this._windowRef=null,this.animation=On.animation,this.autoClose=On.autoClose,this.placement=On.placement,this.popperOptions=On.popperOptions,this.triggers=On.triggers,this.container=On.container,this.disableTooltip=On.disableTooltip,this.tooltipClass=On.tooltipClass,this.openDelay=On.openDelay,this.closeDelay=On.closeDelay,this._popupService=new Op(Qc,Oe,ut,z,this._ngZone,Pi),this._positioning=nc()}set ngbTooltip(S){this._ngbTooltip=S,!S&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(S){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:z,transition$:Oe}=this._popupService.open(this._ngbTooltip,S,this.animation);this._windowRef=z,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._renderer.setAttribute(this._getPositionTargetElement(),"aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-tooltip",updatePopperOptions:ut=>this.popperOptions(ut)}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),er(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),Oe.subscribe(()=>this.shown.emit())}}close(S=this.animation){null!=this._windowRef&&(this._renderer.removeAttribute(this._getPositionTargetElement(),"aria-describedby"),this._popupService.close(S).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=h_(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:S}){S&&this.isOpen()&&(this._windowRef.instance.tooltipClass=S.currentValue)}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(Ra(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._elementRef.nativeElement}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.zs3),r.Y36(r.s_b),r.Y36(I_),r.Y36(r.R0b),r.Y36(ir.K0),r.Y36(r.sBO),r.Y36(r.z2F))},I.\u0275dir=r.lG2({type:I,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],standalone:!0,features:[r.TTD]}),I})(),_p=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({}),I})(),lh=(()=>{class I{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(S){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);const z=fs(this.result),Oe=Array.isArray(this.term)?this.term:[this.term],ut=Di=>this.accentSensitive?Di:Ve(Di),On=Oe.map(Di=>function rn(I){return I.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(ut(fs(Di)))).filter(Di=>Di),Ar=this.accentSensitive?z:Ve(z),ri=On.length?Ar.split(new RegExp(`(${On.join("|")})`,"gmi")):[z];if(this.accentSensitive)this.parts=ri;else{let Di=0;this.parts=ri.map(Pi=>z.substring(Di,Di+=Pi.length))}}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},standalone:!0,features:[r.TTD,r.jDz],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(S,z){1&S&&r.YNc(0,Nt,3,2,"ng-template",0),2&S&&r.Q6J("ngForOf",z.parts)},dependencies:[ir.O5,ir.ax],styles:[".ngb-highlight{font-weight:700}\n"],encapsulation:2,changeDetection:0}),I})(),F_=(()=>{class I{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=fs,this.selectEvent=new r.vpe,this.activeChangeEvent=new r.vpe}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(S){this.activeIdx=S,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(S){this.selectEvent.emit(S)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275cmp=r.Xpm({type:I,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(S,z){1&S&&r.NdJ("mousedown",function(ut){return ut.preventDefault()}),2&S&&(r.Ikx("id",z.id),r.Tol("dropdown-menu show"+(z.popupClass?" "+z.popupClass:"")))},inputs:{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate",popupClass:"popupClass"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],standalone:!0,features:[r.jDz],decls:3,vars:1,consts:[["rt",""],["ngFor","",3,"ngForOf"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"id","mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,z){1&S&&(r.YNc(0,tt,1,2,"ng-template",null,0,r.W1O),r.YNc(2,bi,2,9,"ng-template",1)),2&S&&(r.xp6(2),r.Q6J("ngForOf",z.results))},dependencies:[lh,ir.ax,ir.tP],encapsulation:2}),I})(),tm=(()=>{class I{constructor(){this.editable=!0,this.focusFirst=!0,this.selectOnExact=!1,this.showHint=!1,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=S=>S}}return I.\u0275fac=function(S){return new(S||I)},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();const Ph=new r.OlP("live announcer delay",{providedIn:"root",factory:function Pp(){return 100}});function nm(I,re=!1){let S=I.body.querySelector("#ngb-live");return null==S&&re&&(S=I.createElement("div"),S.setAttribute("id","ngb-live"),S.setAttribute("aria-live","polite"),S.setAttribute("aria-atomic","true"),S.classList.add("visually-hidden"),I.body.appendChild(S)),S}let rm=(()=>{class I{constructor(S,z){this._document=S,this._delay=z}ngOnDestroy(){const S=nm(this._document);S&&S.parentElement.removeChild(S)}say(S){const z=nm(this._document,!0),Oe=this._delay;if(null!=z){z.textContent="";const ut=()=>z.textContent=S;null===Oe?ut():setTimeout(ut,Oe)}}}return I.\u0275fac=function(S){return new(S||I)(r.LFG(ir.K0),r.LFG(Ph))},I.\u0275prov=r.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})(),im=0,Im=(()=>{class I{constructor(S,z,Oe,ut,On,Ar,ri,Di,Pi,cs,Yo){this._elementRef=S,this._renderer=Oe,this._live=ri,this._document=Di,this._ngZone=Pi,this._changeDetector=cs,this._subscription=null,this._closed$=new e.xQ,this._inputValueBackup=null,this._inputValueForSelectOnExact=null,this._windowRef=null,this.autocomplete="off",this.placement="bottom-start",this.selectItem=new r.vpe,this.activeDescendant=null,this.popupId="ngb-typeahead-"+im++,this._onTouched=()=>{},this._onChange=y=>{},this.container=On.container,this.editable=On.editable,this.focusFirst=On.focusFirst,this.selectOnExact=On.selectOnExact,this.showHint=On.showHint,this.placement=On.placement,this.popperOptions=On.popperOptions,this._valueChanges=(0,f.R)(S.nativeElement,"input").pipe((0,Pt.U)(y=>y.target.value)),this._resubscribeTypeahead=new J.X(null),this._popupService=new Op(F_,ut,z,Oe,this._ngZone,Yo),this._positioning=nc()}ngOnInit(){this._subscribeToUserInput()}ngOnChanges({ngbTypeahead:S}){S&&!S.firstChange&&(this._unsubscribeFromUserInput(),this._subscribeToUserInput())}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput()}registerOnChange(S){this._onChange=S}registerOnTouched(S){this._onTouched=S}writeValue(S){this._writeInputValue(this._formatItemForInput(S)),this.showHint&&(this._inputValueBackup=S)}setDisabledState(S){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",S)}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return null!=this._windowRef}handleBlur(){this._resubscribeTypeahead.next(null),this._onTouched()}handleKeyDown(S){if(this.isPopupOpen())switch(S.which){case h.ArrowDown:S.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case h.ArrowUp:S.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case h.Enter:case h.Tab:{const z=this._windowRef.instance.getActive();wl(z)&&(S.preventDefault(),S.stopPropagation(),this._selectResult(z)),this._closePopup();break}}}_openPopup(){if(!this.isPopupOpen()){this._inputValueBackup=this._elementRef.nativeElement.value;const{windowRef:S}=this._popupService.open();this._windowRef=S,this._windowRef.setInput("id",this.popupId),this._windowRef.setInput("popupClass",this.popupClass),this._windowRef.instance.selectEvent.subscribe(z=>this._selectResultClosePopup(z)),this._windowRef.instance.activeChangeEvent.subscribe(z=>this.activeDescendant=z),"body"===this.container&&(this._renderer.setStyle(this._windowRef.location.nativeElement,"z-index","1055"),this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement)),this._changeDetector.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._windowRef&&(this._positioning.createPopper({hostElement:this._elementRef.nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:z=>this.popperOptions(Gc([0,2])(z))}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),er(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._elementRef.nativeElement,this._windowRef.location.nativeElement])}}_closePopup(){this._popupService.close().subscribe(()=>{this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._closed$.next(),this._windowRef=null,this.activeDescendant=null})}_selectResult(S){let z=!1;this.selectItem.emit({item:S,preventDefault:()=>{z=!0}}),this._resubscribeTypeahead.next(null),z||(this.writeValue(S),this._onChange(S))}_selectResultClosePopup(S){this._selectResult(S),this._closePopup()}_showHint(){if(this.showHint&&this._windowRef?.instance.hasActive()&&null!=this._inputValueBackup){const S=this._inputValueBackup.toLowerCase(),z=this._formatItemForInput(this._windowRef.instance.getActive());S===z.substring(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+z.substring(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,z.length])):this._writeInputValue(z)}}_formatItemForInput(S){return null!=S&&this.inputFormatter?this.inputFormatter(S):fs(S)}_writeInputValue(S){this._renderer.setProperty(this._elementRef.nativeElement,"value",fs(S))}_subscribeToUserInput(){const S=this._valueChanges.pipe((0,pn.b)(z=>{this._inputValueBackup=this.showHint?z:null,this._inputValueForSelectOnExact=this.selectOnExact?z:null,this._onChange(this.editable?z:void 0)}),this.ngbTypeahead?this.ngbTypeahead:()=>(0,u.of)([]));this._subscription=this._resubscribeTypeahead.pipe((0,cn.w)(()=>S)).subscribe(z=>{z&&0!==z.length?this.selectOnExact&&1===z.length&&this._formatItemForInput(z[0])===this._inputValueForSelectOnExact?(this._selectResult(z[0]),this._closePopup()):(this._openPopup(),this._windowRef.instance.focusFirst=this.focusFirst,this._windowRef.instance.results=z,this._windowRef.instance.term=this._elementRef.nativeElement.value,this.resultFormatter&&(this._windowRef.instance.formatter=this.resultFormatter),this.resultTemplate&&(this._windowRef.instance.resultTemplate=this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint()):this._closePopup();const Oe=z?z.length:0;this._live.say(0===Oe?"No results available":`${Oe} result${1===Oe?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}}return I.\u0275fac=function(S){return new(S||I)(r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(r.Qsj),r.Y36(r.zs3),r.Y36(tm),r.Y36(r.R0b),r.Y36(rm),r.Y36(ir.K0),r.Y36(r.R0b),r.Y36(r.sBO),r.Y36(r.z2F))},I.\u0275dir=r.lG2({type:I,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox"],hostVars:7,hostBindings:function(S,z){1&S&&r.NdJ("blur",function(){return z.handleBlur()})("keydown",function(ut){return z.handleKeyDown(ut)}),2&S&&(r.Ikx("autocomplete",z.autocomplete),r.uIk("aria-autocomplete",z.showHint?"both":"list")("aria-activedescendant",z.activeDescendant)("aria-owns",z.isPopupOpen()?z.popupId:null)("aria-expanded",z.isPopupOpen()),r.ekj("open",z.isPopupOpen()))},inputs:{autocomplete:"autocomplete",container:"container",editable:"editable",focusFirst:"focusFirst",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate",selectOnExact:"selectOnExact",showHint:"showHint",placement:"placement",popperOptions:"popperOptions",popupClass:"popupClass"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],standalone:!0,features:[r._Bn([{provide:Qr.JU,useExisting:(0,r.Gpc)(()=>I),multi:!0}]),r.TTD]}),I})(),vd=(()=>{class I{}return I.\u0275fac=function(S){return new(S||I)},I.\u0275mod=r.oAB({type:I}),I.\u0275inj=r.cJS({imports:[lh]}),I})()},43765:(E,C,s)=>{"use strict";s.d(C,{z:()=>et});var r=s(64537),a=s(88692),c=s(13066),u=s(20092);function e(ze,an){1&ze&&(r.TgZ(0,"span",9),r._uU(1,"*"),r.qZA())}function f(ze,an){if(1&ze&&(r.TgZ(0,"label",7),r._uU(1),r.YNc(2,e,2,0,"span",8),r.qZA()),2&ze){const lt=r.oxw(2);r.uIk("for",lt.id),r.xp6(1),r.hij(" ",lt.props.label," "),r.xp6(1),r.Q6J("ngIf",lt.props.required&&!0!==lt.props.hideRequiredMarker)}}function m(ze,an){if(1&ze&&r.YNc(0,f,3,3,"label",6),2&ze){const lt=r.oxw();r.Q6J("ngIf",lt.props.label&&!0!==lt.props.hideLabel)}}function T(ze,an){if(1&ze&&(r.ynx(0),r.GkF(1,10),r.BQk()),2&ze){r.oxw();const lt=r.MAs(1);r.xp6(1),r.Q6J("ngTemplateOutlet",lt)}}function M(ze,an){}function w(ze,an){if(1&ze&&(r.ynx(0),r.GkF(1,10),r.BQk()),2&ze){r.oxw();const lt=r.MAs(1);r.xp6(1),r.Q6J("ngTemplateOutlet",lt)}}function D(ze,an){if(1&ze&&(r.TgZ(0,"div",11),r._UZ(1,"formly-validation-message",12),r.qZA()),2&ze){const lt=r.oxw();r.Udp("display","block"),r.xp6(1),r.Q6J("field",lt.field)}}function U(ze,an){if(1&ze&&(r.TgZ(0,"small",13),r._uU(1),r.qZA()),2&ze){const lt=r.oxw();r.xp6(1),r.Oqu(lt.props.description)}}const W=["fieldTypeTemplate"];let $=(()=>{class ze extends c.n2{}return ze.\u0275fac=function(){let an;return function(Rt){return(an||(an=r.n5z(ze)))(Rt||ze)}}(),ze.\u0275cmp=r.Xpm({type:ze,selectors:[["formly-wrapper-form-field"]],features:[r.qOj],decls:9,vars:8,consts:[["labelTemplate",""],[1,"mb-3"],[4,"ngIf"],["fieldComponent",""],["class","invalid-feedback",3,"display",4,"ngIf"],["class","form-text text-muted",4,"ngIf"],["class","form-label",4,"ngIf"],[1,"form-label"],["aria-hidden","true",4,"ngIf"],["aria-hidden","true"],[3,"ngTemplateOutlet"],[1,"invalid-feedback"],[3,"field"],[1,"form-text","text-muted"]],template:function(lt,Rt){1&lt&&(r.YNc(0,m,1,1,"ng-template",null,0,r.W1O),r.TgZ(2,"div",1),r.YNc(3,T,2,1,"ng-container",2),r.YNc(4,M,0,0,"ng-template",null,3,r.W1O),r.YNc(6,w,2,1,"ng-container",2),r.YNc(7,D,2,3,"div",4),r.YNc(8,U,2,1,"small",5),r.qZA()),2&lt&&(r.xp6(2),r.ekj("form-floating","floating"===Rt.props.labelPosition)("has-error",Rt.showError),r.xp6(1),r.Q6J("ngIf","floating"!==Rt.props.labelPosition),r.xp6(3),r.Q6J("ngIf","floating"===Rt.props.labelPosition),r.xp6(1),r.Q6J("ngIf",Rt.showError),r.xp6(1),r.Q6J("ngIf",Rt.props.description))},dependencies:[c.M2,a.O5,a.tP],encapsulation:2}),ze})(),J=(()=>{class ze{}return ze.\u0275fac=function(lt){return new(lt||ze)},ze.\u0275mod=r.oAB({type:ze}),ze.\u0275inj=r.cJS({imports:[[a.ez,u.UX,c.X0.forChild({wrappers:[{name:"form-field",component:$}]})]]}),ze})(),F=(()=>{class ze extends c.fS{constructor(lt){super(),this.hostContainerRef=lt}set content(lt){lt&&this.hostContainerRef&&this.hostContainerRef.createEmbeddedView(lt)}}return ze.\u0275fac=function(lt){return new(lt||ze)(r.Y36(r.s_b,8))},ze.\u0275dir=r.lG2({type:ze,viewQuery:function(lt,Rt){if(1&lt&&r.Gf(W,7),2&lt){let Pe;r.iGM(Pe=r.CRH())&&(Rt.content=Pe.first)}},features:[r.qOj]}),ze})();function X(ze,an){if(1&ze&&r._UZ(0,"input",3),2&ze){const lt=r.oxw(2);r.ekj("is-invalid",lt.showError),r.Q6J("type",lt.type)("formControl",lt.formControl)("formlyAttributes",lt.field)}}function de(ze,an){if(1&ze&&r._UZ(0,"input",4),2&ze){const lt=r.oxw(2);r.ekj("is-invalid",lt.showError),r.Q6J("formControl",lt.formControl)("formlyAttributes",lt.field)}}function V(ze,an){if(1&ze&&(r.YNc(0,X,1,5,"input",1),r.YNc(1,de,1,4,"ng-template",null,2,r.W1O)),2&ze){const lt=r.MAs(2),Rt=r.oxw();r.Q6J("ngIf","number"!==Rt.type)("ngIfElse",lt)}}let ce=(()=>{class ze extends F{get type(){return this.props.type||"text"}}return ze.\u0275fac=function(){let an;return function(Rt){return(an||(an=r.n5z(ze)))(Rt||ze)}}(),ze.\u0275cmp=r.Xpm({type:ze,selectors:[["formly-field-input"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],["class","form-control",3,"type","formControl","formlyAttributes","is-invalid",4,"ngIf","ngIfElse"],["numberTmp",""],[1,"form-control",3,"type","formControl","formlyAttributes"],["type","number",1,"form-control",3,"formControl","formlyAttributes"]],template:function(lt,Rt){1&lt&&r.YNc(0,V,3,2,"ng-template",null,0,r.W1O)},dependencies:[a.O5,u.Fj,u.JJ,u.oH,c.JD,u.wV],encapsulation:2,changeDetection:0}),ze})(),se=(()=>{class ze{}return ze.\u0275fac=function(lt){return new(lt||ze)},ze.\u0275mod=r.oAB({type:ze}),ze.\u0275inj=r.cJS({imports:[[a.ez,u.UX,J,c.X0.forChild({types:[{name:"input",component:ce,wrappers:["form-field"]},{name:"string",extends:"input"},{name:"number",extends:"input",defaultOptions:{props:{type:"number"}}},{name:"integer",extends:"input",defaultOptions:{props:{type:"number"}}}]})]]}),ze})();function fe(ze,an){if(1&ze&&(r.TgZ(0,"textarea",1),r._uU(1," "),r.qZA()),2&ze){const lt=r.oxw();r.ekj("is-invalid",lt.showError),r.Q6J("formControl",lt.formControl)("cols",lt.props.cols)("rows",lt.props.rows)("formlyAttributes",lt.field)}}let Te=(()=>{class ze extends F{constructor(){super(...arguments),this.defaultOptions={props:{cols:1,rows:1}}}}return ze.\u0275fac=function(){let an;return function(Rt){return(an||(an=r.n5z(ze)))(Rt||ze)}}(),ze.\u0275cmp=r.Xpm({type:ze,selectors:[["formly-field-textarea"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],[1,"form-control",3,"formControl","cols","rows","formlyAttributes"]],template:function(lt,Rt){1&lt&&r.YNc(0,fe,2,6,"ng-template",null,0,r.W1O)},dependencies:[u.Fj,u.JJ,u.oH,c.JD],encapsulation:2,changeDetection:0}),ze})(),$e=(()=>{class ze{}return ze.\u0275fac=function(lt){return new(lt||ze)},ze.\u0275mod=r.oAB({type:ze}),ze.\u0275inj=r.cJS({imports:[[a.ez,u.UX,J,c.X0.forChild({types:[{name:"textarea",component:Te,wrappers:["form-field"]}]})]]}),ze})();var ge=s(70882),Et=s(26215),ot=s(88002),ct=s(45435),qe=s(68307);let He=(()=>{class ze{transform(lt,Rt){return lt instanceof ge.y?this.dispose():lt=this.observableOf(lt,Rt),lt.pipe((0,ot.U)(Pe=>this.transformOptions(Pe,Rt)))}ngOnDestroy(){this.dispose()}transformOptions(lt,Rt){const Pe=this.transformSelectProps(Rt),qn=[],gr={};return lt?.forEach(Pn=>{const _r=this.transformOption(Pn,Pe);if(_r.group){const Pr=gr[_r.label];void 0===Pr?gr[_r.label]=qn.push(_r)-1:_r.group.forEach(tr=>qn[Pr].group.push(tr))}else qn.push(_r)}),qn}transformOption(lt,Rt){const Pe=Rt.groupProp(lt);return Array.isArray(Pe)?{label:Rt.labelProp(lt),group:Pe.map(qn=>this.transformOption(qn,Rt))}:(lt={label:Rt.labelProp(lt),value:Rt.valueProp(lt),disabled:!!Rt.disabledProp(lt)},Pe?{label:Pe,group:[lt]}:lt)}transformSelectProps(lt){const Rt=lt?.props||lt?.templateOptions||{},Pe=qn=>"function"==typeof qn?qn:gr=>gr[qn];return{groupProp:Pe(Rt.groupProp||"group"),labelProp:Pe(Rt.labelProp||"label"),valueProp:Pe(Rt.valueProp||"value"),disabledProp:Pe(Rt.disabledProp||"disabled")}}dispose(){this._options&&(this._options.complete(),this._options=null),this._subscription&&(this._subscription.unsubscribe(),this._subscription=null)}observableOf(lt,Rt){return this.dispose(),Rt&&Rt.options&&Rt.options.fieldChanges&&(this._subscription=Rt.options.fieldChanges.pipe((0,ct.h)(({property:Pe,type:qn,field:gr})=>"expressionChanges"===qn&&(0===Pe.indexOf("templateOptions.options")||0===Pe.indexOf("props.options"))&&gr===Rt&&Array.isArray(gr.props.options)&&!!this._options),(0,qe.b)(()=>this._options.next(Rt.props.options))).subscribe()),this._options=new Et.X(lt),this._options.asObservable()}}return ze.\u0275fac=function(lt){return new(lt||ze)},ze.\u0275pipe=r.Yjl({name:"formlySelectOptions",type:ze,pure:!0}),ze})(),We=(()=>{class ze{}return ze.\u0275fac=function(lt){return new(lt||ze)},ze.\u0275mod=r.oAB({type:ze}),ze.\u0275inj=r.cJS({}),ze})();function Le(ze,an){if(1&ze&&(r.TgZ(0,"div",2),r._UZ(1,"input",3),r.TgZ(2,"label",4),r._uU(3),r.qZA()()),2&ze){const lt=an.$implicit,Rt=an.index,Pe=r.oxw(2);r.ekj("form-check-inline","inline"===Pe.props.formCheck),r.xp6(1),r.ekj("is-invalid",Pe.showError),r.Q6J("id",Pe.id+"_"+Rt)("name",Pe.field.name||Pe.id)("value",lt.value)("formControl",lt.disabled?Pe.disabledControl:Pe.formControl)("formlyAttributes",Pe.field),r.uIk("value",lt.value),r.xp6(1),r.Q6J("for",Pe.id+"_"+Rt),r.xp6(1),r.hij(" ",lt.label," ")}}function Pt(ze,an){if(1&ze&&(r.YNc(0,Le,4,12,"div",1),r.ALo(1,"async"),r.ALo(2,"formlySelectOptions")),2&ze){const lt=r.oxw();r.Q6J("ngForOf",r.lcZ(1,1,r.xi3(2,3,lt.props.options,lt.field)))}}let it=(()=>{class ze extends F{constructor(){super(...arguments),this.defaultOptions={props:{formCheck:"default"}}}get disabledControl(){return new u.NI({value:this.formControl.value,disabled:!0})}}return ze.\u0275fac=function(){let an;return function(Rt){return(an||(an=r.n5z(ze)))(Rt||ze)}}(),ze.\u0275cmp=r.Xpm({type:ze,selectors:[["formly-field-radio"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],["class","form-check",3,"form-check-inline",4,"ngFor","ngForOf"],[1,"form-check"],["type","radio",1,"form-check-input",3,"id","name","value","formControl","formlyAttributes"],[1,"form-check-label",3,"for"]],template:function(lt,Rt){1&lt&&r.YNc(0,Pt,3,6,"ng-template",null,0,r.W1O)},dependencies:[a.sg,u._,u.Fj,u.JJ,u.oH,c.JD,a.Ov,He],encapsulation:2,changeDetection:0}),ze})(),Xt=(()=>{class ze{}return ze.\u0275fac=function(lt){return new(lt||ze)},ze.\u0275mod=r.oAB({type:ze}),ze.\u0275inj=r.cJS({imports:[[a.ez,u.UX,J,We,c.X0.forChild({types:[{name:"radio",component:it,wrappers:["form-field"]}]})]]}),ze})();function cn(ze,an){1&ze&&(r.TgZ(0,"span",6),r._uU(1,"*"),r.qZA())}function pn(ze,an){if(1&ze&&(r.TgZ(0,"label",4),r._uU(1),r.YNc(2,cn,2,0,"span",5),r.qZA()),2&ze){const lt=r.oxw(2);r.Q6J("for",lt.id),r.xp6(1),r.hij(" ",lt.props.label," "),r.xp6(1),r.Q6J("ngIf",lt.props.required&&!0!==lt.props.hideRequiredMarker)}}const Rn=function(ze,an){return{"form-check-inline":ze,"form-switch":an}};function At(ze,an){if(1&ze&&(r.TgZ(0,"div",1),r._UZ(1,"input",2),r.YNc(2,pn,3,3,"label",3),r.qZA()),2&ze){const lt=r.oxw();r.Q6J("ngClass",r.WLB(9,Rn,"inline"===lt.props.formCheck||"inline-switch"===lt.props.formCheck,"switch"===lt.props.formCheck||"inline-switch"===lt.props.formCheck)),r.xp6(1),r.ekj("is-invalid",lt.showError)("position-static","nolabel"===lt.props.formCheck),r.Q6J("indeterminate",lt.props.indeterminate&&null==lt.formControl.value)("formControl",lt.formControl)("formlyAttributes",lt.field),r.xp6(1),r.Q6J("ngIf","nolabel"!==lt.props.formCheck)}}let qt=(()=>{class ze extends F{constructor(){super(...arguments),this.defaultOptions={props:{indeterminate:!0,hideLabel:!0,formCheck:"default"}}}}return ze.\u0275fac=function(){let an;return function(Rt){return(an||(an=r.n5z(ze)))(Rt||ze)}}(),ze.\u0275cmp=r.Xpm({type:ze,selectors:[["formly-field-checkbox"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],[1,"form-check",3,"ngClass"],["type","checkbox",1,"form-check-input",3,"indeterminate","formControl","formlyAttributes"],["class","form-check-label",3,"for",4,"ngIf"],[1,"form-check-label",3,"for"],["aria-hidden","true",4,"ngIf"],["aria-hidden","true"]],template:function(lt,Rt){1&lt&&r.YNc(0,At,3,12,"ng-template",null,0,r.W1O)},dependencies:[a.mk,u.Wl,u.JJ,u.oH,c.JD,a.O5],encapsulation:2,changeDetection:0}),ze})(),sn=(()=>{class ze{}return ze.\u0275fac=function(lt){return new(lt||ze)},ze.\u0275mod=r.oAB({type:ze}),ze.\u0275inj=r.cJS({imports:[[a.ez,u.UX,J,c.X0.forChild({types:[{name:"checkbox",component:qt,wrappers:["form-field"]},{name:"boolean",extends:"checkbox"}]})]]}),ze})();const fn=function(ze,an){return{"form-check-inline":ze,"form-switch":an}};function xn(ze,an){if(1&ze){const lt=r.EpF();r.TgZ(0,"div",2)(1,"input",3),r.NdJ("change",function(Pe){const gr=r.CHM(lt).$implicit,Pn=r.oxw(2);return r.KtG(Pn.onChange(gr.value,Pe.target.checked))}),r.qZA(),r.TgZ(2,"label",4),r._uU(3),r.qZA()()}if(2&ze){const lt=an.$implicit,Rt=an.index,Pe=r.oxw(2);r.Q6J("ngClass",r.WLB(8,fn,"inline"===Pe.props.formCheck||"inline-switch"===Pe.props.formCheck,"switch"===Pe.props.formCheck||"inline-switch"===Pe.props.formCheck)),r.xp6(1),r.Q6J("id",Pe.id+"_"+Rt)("value",lt.value)("checked",Pe.isChecked(lt))("formlyAttributes",Pe.field)("disabled",Pe.formControl.disabled||lt.disabled),r.xp6(1),r.Q6J("for",Pe.id+"_"+Rt),r.xp6(1),r.hij(" ",lt.label," ")}}function Kr(ze,an){if(1&ze&&(r.YNc(0,xn,4,11,"div",1),r.ALo(1,"async"),r.ALo(2,"formlySelectOptions")),2&ze){const lt=r.oxw();r.Q6J("ngForOf",r.lcZ(1,1,r.xi3(2,3,lt.props.options,lt.field)))}}let Or=(()=>{class ze extends F{constructor(){super(...arguments),this.defaultOptions={props:{formCheck:"default"}}}onChange(lt,Rt){this.formControl.markAsDirty(),this.formControl.patchValue("array"===this.props.type?Rt?[...this.formControl.value||[],lt]:[...this.formControl.value||[]].filter(Pe=>Pe!==lt):{...this.formControl.value,[lt]:Rt}),this.formControl.markAsTouched()}isChecked(lt){const Rt=this.formControl.value;return Rt&&("array"===this.props.type?-1!==Rt.indexOf(lt.value):Rt[lt.value])}}return ze.\u0275fac=function(){let an;return function(Rt){return(an||(an=r.n5z(ze)))(Rt||ze)}}(),ze.\u0275cmp=r.Xpm({type:ze,selectors:[["formly-field-multicheckbox"]],features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],["class","form-check",3,"ngClass",4,"ngFor","ngForOf"],[1,"form-check",3,"ngClass"],["type","checkbox",1,"form-check-input",3,"id","value","checked","formlyAttributes","disabled","change"],[1,"form-check-label",3,"for"]],template:function(lt,Rt){1&lt&&r.YNc(0,Kr,3,6,"ng-template",null,0,r.W1O)},dependencies:[a.sg,a.mk,c.JD,a.Ov,He],encapsulation:2,changeDetection:0}),ze})(),Lr=(()=>{class ze{}return ze.\u0275fac=function(lt){return new(lt||ze)},ze.\u0275mod=r.oAB({type:ze}),ze.\u0275inj=r.cJS({imports:[[a.ez,u.UX,J,We,c.X0.forChild({types:[{name:"multicheckbox",component:Or,wrappers:["form-field"]}]})]]}),ze})();var ir=s(15257);function Qr(ze,an){if(1&ze&&(r.TgZ(0,"option",8),r._uU(1),r.qZA()),2&ze){const lt=r.oxw().$implicit;r.Q6J("ngValue",lt.value)("disabled",lt.disabled),r.xp6(1),r.hij(" ",lt.label," ")}}function jr(ze,an){if(1&ze&&(r.TgZ(0,"option",8),r._uU(1),r.qZA()),2&ze){const lt=an.$implicit;r.Q6J("ngValue",lt.value)("disabled",lt.disabled),r.xp6(1),r.hij(" ",lt.label," ")}}function br(ze,an){if(1&ze&&(r.TgZ(0,"optgroup",9),r.YNc(1,jr,2,3,"option",10),r.qZA()),2&ze){const lt=r.oxw().$implicit;r.Q6J("label",lt.label),r.xp6(1),r.Q6J("ngForOf",lt.group)}}function ht(ze,an){if(1&ze&&(r.ynx(0),r.YNc(1,Qr,2,3,"option",6),r.YNc(2,br,2,2,"ng-template",null,7,r.W1O),r.BQk()),2&ze){const lt=an.$implicit,Rt=r.MAs(3);r.xp6(1),r.Q6J("ngIf",!lt.group)("ngIfElse",Rt)}}function Wt(ze,an){if(1&ze&&(r.ynx(0),r.YNc(1,ht,4,2,"ng-container",5),r.BQk()),2&ze){const lt=an.ngIf;r.xp6(1),r.Q6J("ngForOf",lt)}}function Tt(ze,an){if(1&ze&&(r.TgZ(0,"select",3),r.YNc(1,Wt,2,1,"ng-container",4),r.ALo(2,"async"),r.ALo(3,"formlySelectOptions"),r.qZA()),2&ze){const lt=r.oxw(2);r.ekj("is-invalid",lt.showError),r.Q6J("formControl",lt.formControl)("compareWith",lt.props.compareWith)("formlyAttributes",lt.field),r.xp6(1),r.Q6J("ngIf",r.lcZ(2,6,r.xi3(3,8,lt.props.options,lt.field)))}}function wn(ze,an){if(1&ze&&(r.TgZ(0,"option",13),r._uU(1),r.qZA()),2&ze){const lt=r.oxw(3);r.Q6J("ngValue",void 0),r.xp6(1),r.Oqu(lt.props.placeholder)}}function jn(ze,an){if(1&ze&&(r.TgZ(0,"option",8),r._uU(1),r.qZA()),2&ze){const lt=r.oxw().$implicit;r.Q6J("ngValue",lt.value)("disabled",lt.disabled),r.xp6(1),r.hij(" ",lt.label," ")}}function hr(ze,an){if(1&ze&&(r.TgZ(0,"option",8),r._uU(1),r.qZA()),2&ze){const lt=an.$implicit;r.Q6J("ngValue",lt.value)("disabled",lt.disabled),r.xp6(1),r.hij(" ",lt.label," ")}}function Oi(ze,an){if(1&ze&&(r.TgZ(0,"optgroup",9),r.YNc(1,hr,2,3,"option",10),r.qZA()),2&ze){const lt=r.oxw().$implicit;r.Q6J("label",lt.label),r.xp6(1),r.Q6J("ngForOf",lt.group)}}function Wi(ze,an){if(1&ze&&(r.ynx(0),r.YNc(1,jn,2,3,"option",6),r.YNc(2,Oi,2,2,"ng-template",null,7,r.W1O),r.BQk()),2&ze){const lt=an.$implicit,Rt=r.MAs(3);r.xp6(1),r.Q6J("ngIf",!lt.group)("ngIfElse",Rt)}}function so(ze,an){if(1&ze&&(r.ynx(0),r.YNc(1,Wi,4,2,"ng-container",5),r.BQk()),2&ze){const lt=an.ngIf;r.xp6(1),r.Q6J("ngForOf",lt)}}function kr(ze,an){if(1&ze&&(r.TgZ(0,"select",11),r.YNc(1,wn,2,2,"option",12),r.YNc(2,so,2,1,"ng-container",4),r.ALo(3,"async"),r.ALo(4,"formlySelectOptions"),r.qZA()),2&ze){const lt=r.oxw(2);r.ekj("is-invalid",lt.showError),r.Q6J("formControl",lt.formControl)("compareWith",lt.props.compareWith)("formlyAttributes",lt.field),r.xp6(1),r.Q6J("ngIf",lt.props.placeholder),r.xp6(1),r.Q6J("ngIf",r.lcZ(3,7,r.xi3(4,9,lt.props.options,lt.field)))}}function Ei(ze,an){if(1&ze&&(r.YNc(0,Tt,4,11,"select",1),r.YNc(1,kr,5,12,"ng-template",null,2,r.W1O)),2&ze){const lt=r.MAs(2),Rt=r.oxw();r.Q6J("ngIf",Rt.props.multiple)("ngIfElse",lt)}}let ii=(()=>{class ze extends F{constructor(lt,Rt){super(Rt),this.ngZone=lt,this.defaultOptions={props:{compareWith:(Pe,qn)=>Pe===qn}}}set selectAccessor(lt){if(!lt)return;const Rt=lt.writeValue.bind(lt);null===lt._getOptionId(lt.value)&&Rt(lt.value),lt.writeValue=Pe=>{const qn=lt._idCounter;Rt(Pe),null===Pe&&this.ngZone.onStable.asObservable().pipe((0,ir.q)(1)).subscribe(()=>{qn!==lt._idCounter&&null===lt._getOptionId(Pe)&&-1!==lt._elementRef.nativeElement.selectedIndex&&Rt(Pe)})}}}return ze.\u0275fac=function(lt){return new(lt||ze)(r.Y36(r.R0b),r.Y36(r.s_b))},ze.\u0275cmp=r.Xpm({type:ze,selectors:[["formly-field-select"]],viewQuery:function(lt,Rt){if(1&lt&&r.Gf(u.EJ,5),2&lt){let Pe;r.iGM(Pe=r.CRH())&&(Rt.selectAccessor=Pe.first)}},features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],["class","form-select","multiple","",3,"formControl","compareWith","is-invalid","formlyAttributes",4,"ngIf","ngIfElse"],["singleSelect",""],["multiple","",1,"form-select",3,"formControl","compareWith","formlyAttributes"],[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"ngValue","disabled",4,"ngIf","ngIfElse"],["optgroup",""],[3,"ngValue","disabled"],[3,"label"],[3,"ngValue","disabled",4,"ngFor","ngForOf"],[1,"form-select",3,"formControl","compareWith","formlyAttributes"],[3,"ngValue",4,"ngIf"],[3,"ngValue"]],template:function(lt,Rt){1&lt&&r.YNc(0,Ei,3,2,"ng-template",null,0,r.W1O)},dependencies:[a.O5,u.K7,u.JJ,u.oH,c.JD,a.sg,u.YN,u.Kr,u.EJ,a.Ov,He],encapsulation:2,changeDetection:0}),ze})(),mr=(()=>{class ze{}return ze.\u0275fac=function(lt){return new(lt||ze)},ze.\u0275mod=r.oAB({type:ze}),ze.\u0275inj=r.cJS({imports:[[a.ez,u.UX,J,We,c.X0.forChild({types:[{name:"select",component:ii,wrappers:["form-field"]},{name:"enum",extends:"select"}]})]]}),ze})();const pr=["fieldTypeTemplate"];function Eo(ze,an){if(1&ze&&r._UZ(0,"i",7),2&ze){const lt=r.oxw(3);r.Q6J("ngClass",lt.props.addonLeft.class)}}function po(ze,an){if(1&ze&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&ze){const lt=r.oxw(3);r.xp6(1),r.Oqu(lt.props.addonLeft.text)}}function $i(ze,an){if(1&ze){const lt=r.EpF();r.TgZ(0,"div",4),r.NdJ("click",function(Pe){r.CHM(lt);const qn=r.oxw(2);return r.KtG(qn.addonLeftClick(Pe))}),r.YNc(1,Eo,1,1,"i",5),r.YNc(2,po,2,1,"span",6),r.qZA()}if(2&ze){const lt=r.oxw(2);r.ekj("input-group-btn",lt.props.addonLeft.onClick),r.xp6(1),r.Q6J("ngIf",lt.props.addonLeft.class),r.xp6(1),r.Q6J("ngIf",lt.props.addonLeft.text)}}function qr(ze,an){if(1&ze&&r._UZ(0,"i",7),2&ze){const lt=r.oxw(3);r.Q6J("ngClass",lt.props.addonRight.class)}}function Hi(ze,an){if(1&ze&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&ze){const lt=r.oxw(3);r.xp6(1),r.Oqu(lt.props.addonRight.text)}}function Dn(ze,an){if(1&ze){const lt=r.EpF();r.TgZ(0,"div",4),r.NdJ("click",function(Pe){r.CHM(lt);const qn=r.oxw(2);return r.KtG(qn.addonRightClick(Pe))}),r.YNc(1,qr,1,1,"i",5),r.YNc(2,Hi,2,1,"span",6),r.qZA()}if(2&ze){const lt=r.oxw(2);r.ekj("input-group-btn",lt.props.addonRight.onClick),r.xp6(1),r.Q6J("ngIf",lt.props.addonRight.class),r.xp6(1),r.Q6J("ngIf",lt.props.addonRight.text)}}function Hn(ze,an){if(1&ze&&(r.TgZ(0,"div",1),r.YNc(1,$i,3,4,"div",2),r.GkF(2,null,3),r.YNc(4,Dn,3,4,"div",2),r.qZA()),2&ze){const lt=r.oxw();r.ekj("has-validation",lt.showError),r.xp6(1),r.Q6J("ngIf",lt.props.addonLeft),r.xp6(3),r.Q6J("ngIf",lt.props.addonRight)}}let jt=(()=>{class ze extends c.n2{constructor(lt){super(),this.hostContainerRef=lt}set content(lt){lt&&this.hostContainerRef&&this.hostContainerRef.createEmbeddedView(lt)}addonRightClick(lt){this.props.addonRight.onClick?.(this.field,lt)}addonLeftClick(lt){this.props.addonLeft.onClick?.(this.field,lt)}}return ze.\u0275fac=function(lt){return new(lt||ze)(r.Y36(r.s_b))},ze.\u0275cmp=r.Xpm({type:ze,selectors:[["formly-wrapper-addons"]],viewQuery:function(lt,Rt){if(1&lt&&r.Gf(pr,7),2&lt){let Pe;r.iGM(Pe=r.CRH())&&(Rt.content=Pe.first)}},features:[r.qOj],decls:2,vars:0,consts:[["fieldTypeTemplate",""],[1,"input-group"],["class","input-group-text",3,"input-group-btn","click",4,"ngIf"],["fieldComponent",""],[1,"input-group-text",3,"click"],[3,"ngClass",4,"ngIf"],[4,"ngIf"],[3,"ngClass"]],template:function(lt,Rt){1&lt&&r.YNc(0,Hn,5,4,"ng-template",null,0,r.W1O)},dependencies:[a.O5,a.mk],styles:["formly-wrapper-form-field .input-group-btn{cursor:pointer}\n"],encapsulation:2}),ze})();function Fe(ze){!ze.props||ze.wrappers&&-1!==ze.wrappers.indexOf("addons")||(ze.props.addonLeft||ze.props.addonRight)&&(ze.wrappers=[...ze.wrappers||[],"addons"])}let Ie=(()=>{class ze{}return ze.\u0275fac=function(lt){return new(lt||ze)},ze.\u0275mod=r.oAB({type:ze}),ze.\u0275inj=r.cJS({imports:[[a.ez,u.UX,c.X0.forChild({wrappers:[{name:"addons",component:jt}],extensions:[{name:"addons",extension:{postPopulate:Fe}}]})]]}),ze})(),et=(()=>{class ze{}return ze.\u0275fac=function(lt){return new(lt||ze)},ze.\u0275mod=r.oAB({type:ze}),ze.\u0275inj=r.cJS({imports:[[J,se,$e,Xt,sn,Lr,mr,Ie]]}),ze})()},13066:(E,C,s)=>{"use strict";s.d(C,{hv:()=>Ei,fS:()=>Wi,n2:()=>ii,cw:()=>jn,T7:()=>hr,X0:()=>Hn,JD:()=>Oi,M2:()=>kr,kg:()=>At,Hl:()=>He,_S:()=>ge,Du:()=>We});var r=s(64537),a=s(20092),c=s(70882);function u(jt){return!!jt&&(jt instanceof c.y||"function"==typeof jt.lift&&"function"==typeof jt.subscribe)}var e=s(66682),f=s(25917),m=s(79765),T=s(87519),M=s(39761),w=s(54395),D=s(45435),U=s(43190),W=s(15257),$=s(68307),J=s(88002),F=s(88692),X=s(5998);const de=["container"];function V(jt,Fe){}function ce(jt,Fe){1&jt&&r._UZ(0,"formly-field",1),2&jt&&r.Q6J("field",Fe.$implicit)}const se=["*"],fe=["fieldComponent"];function $e(jt,Fe,Ie){if(Fe.id)return Fe.id;let et=Fe.type;return!et&&Fe.template&&(et="template"),et instanceof r.DyG&&(et=et.prototype.constructor.name),[jt,et,Fe.key,Ie].join("_")}function ge(jt){return!Le(jt.key)&&""!==jt.key}function Et(jt){if(!ge(jt))return[];if(jt._keyPath?.key!==jt.key){let Fe=[];if("string"==typeof jt.key){const Ie=-1===jt.key.indexOf("[")?jt.key:jt.key.replace(/\[(\w+)\]/g,".$1");Fe=-1!==Ie.indexOf(".")?Ie.split("."):[Ie]}else Fe=Array.isArray(jt.key)?jt.key.slice(0):[`${jt.key}`];qt(jt,"_keyPath",{key:jt.key,path:Fe})}return jt._keyPath.path.slice(0)}const ot=["required","pattern","minLength","maxLength","min","max"];function ct(jt,Fe){let Ie=Et(jt);if(0===Ie.length)return;let et=jt;for(;et.parent;)et=et.parent,Ie=[...Et(et),...Ie];if(void 0===Fe&&jt.resetOnHide){const ze=Ie.pop();delete Ie.reduce((lt,Rt)=>lt[Rt]||{},et.model)[ze]}else!function qe(jt,Fe,Ie){for(let et=0;et<Fe.length-1;et++){const ze=Fe[et];(!jt[ze]||!pn(jt[ze]))&&(jt[ze]=/^\d+$/.test(Fe[et+1])?[]:{}),jt=jt[ze]}jt[Fe[Fe.length-1]]=At(Ie)}(et.model,Ie,Fe)}function He(jt){let Fe=jt.parent?jt.parent.model:jt.model;for(const Ie of Et(jt)){if(!Fe)return Fe;Fe=Fe[Ie]}return Fe}function We(jt,...Fe){return Fe.forEach(Ie=>{for(const et in Ie)Le(jt[et])||it(jt[et])?jt[et]=At(Ie[et]):cn(jt[et],Ie[et])&&We(jt[et],Ie[et])}),jt}function Le(jt){return null==jt}function Pt(jt){return void 0===jt}function it(jt){return""===jt}function Xt(jt){return"function"==typeof jt}function cn(jt,Fe){return pn(jt)&&pn(Fe)&&Object.getPrototypeOf(jt)===Object.getPrototypeOf(Fe)&&!(Array.isArray(jt)||Array.isArray(Fe))}function pn(jt){return null!=jt&&"object"==typeof jt}function At(jt){if(!pn(jt)||u(jt)||jt instanceof r.Rgc||jt.changingThisBreaksApplicationSecurity||-1!==["RegExp","FileList","File","Blob"].indexOf(jt.constructor.name))return jt;if(jt instanceof Set)return new Set(jt);if(jt instanceof Map)return new Map(jt);if(jt._isAMomentObject&&Xt(jt.clone))return jt.clone();if(jt instanceof a.TO)return null;if(jt instanceof Date)return new Date(jt.getTime());if(Array.isArray(jt))return jt.slice(0).map(et=>At(et));const Fe=Object.getPrototypeOf(jt);let Ie=Object.create(Fe);return Ie=Object.setPrototypeOf(Ie,Fe),Object.keys(jt).reduce((et,ze)=>{const an=Object.getOwnPropertyDescriptor(jt,ze);return an.get?Object.defineProperty(et,ze,an):et[ze]=At(jt[ze]),et},Ie)}function qt(jt,Fe,Ie){Object.defineProperty(jt,Fe,{enumerable:!1,writable:!0,configurable:!0}),jt[Fe]=Ie}function sn(jt,Fe,Ie){let et=[];const ze=()=>{et.forEach(lt=>lt()),et=[]},an=fn(jt,Fe,({firstChange:lt,currentValue:Rt})=>{!lt&&Ie(),ze(),pn(Rt)&&"Object"===Rt.constructor.name&&Object.keys(Rt).forEach(Pe=>{et.push(sn(jt,[...Fe,Pe],Ie))})});return()=>{an.unsubscribe(),ze()}}function fn(jt,Fe,Ie){jt._observers||qt(jt,"_observers",{});let et=jt;for(let Rt=0;Rt<Fe.length-1;Rt++)(!et[Fe[Rt]]||!pn(et[Fe[Rt]]))&&(et[Fe[Rt]]=/^\d+$/.test(Fe[Rt+1])?[]:{}),et=et[Fe[Rt]];const ze=Fe[Fe.length-1],an=Fe.join(".");jt._observers[an]||(jt._observers[an]={value:et[ze],onChange:[]});const lt=jt._observers[an];if(et[ze]!==lt.value&&(lt.value=et[ze]),-1===lt.onChange.indexOf(Ie)&&(lt.onChange.push(Ie),Ie({currentValue:lt.value,firstChange:!0}),lt.onChange.length>=1)){const{enumerable:Rt}=Object.getOwnPropertyDescriptor(et,ze)||{enumerable:!0};Object.defineProperty(et,ze,{enumerable:Rt,configurable:!0,get:()=>lt.value,set:Pe=>{if(Pe!==lt.value){const qn=lt.value;lt.value=Pe,lt.onChange.forEach(gr=>gr({previousValue:qn,currentValue:Pe,firstChange:!1}))}}})}return{setValue(Rt){lt.value=Rt},unsubscribe(){lt.onChange=lt.onChange.filter(Rt=>Rt!==Ie),0===lt.onChange.length&&delete jt._observers[an]}}}function xn(jt,Fe){if(Fe=Array.isArray(Fe)?Fe.join("."):Fe,jt.fieldGroup)for(let Ie=0,et=jt.fieldGroup.length;Ie<et;Ie++){const ze=jt.fieldGroup[Ie],an=Array.isArray(ze.key)?ze.key.join("."):ze.key;if(an===Fe)return ze;if(ze.fieldGroup&&(Le(an)||0===Fe.indexOf(`${an}.`))){const lt=xn(ze,Le(an)?Fe:Fe.slice(an.length+1));if(lt)return lt}}}function Kr(jt){jt._componentRefs?.forEach(Fe=>{Fe instanceof r.UuU?Fe.injector.get(r.sBO).markForCheck():Fe.markForCheck()})}const Or=new r.OlP("FORMLY_CONFIG");let Lr=(()=>{class jt{constructor(){this.types={},this.validators={},this.wrappers={},this.messages={},this.extras={checkExpressionOn:"modelChange",lazyRender:!0,resetFieldOnHide:!0,renderFormlyFieldElement:!0,showError:Ie=>Ie.formControl?.invalid&&(Ie.formControl?.touched||Ie.options.parentForm?.submitted||!!Ie.field.validation?.show)},this.extensions={},this.presets={},this.extensionsByPriority={}}addConfig(Ie){Ie.types&&Ie.types.forEach(et=>this.setType(et)),Ie.validators&&Ie.validators.forEach(et=>this.setValidator(et)),Ie.wrappers&&Ie.wrappers.forEach(et=>this.setWrapper(et)),Ie.validationMessages&&Ie.validationMessages.forEach(et=>this.addValidatorMessage(et.name,et.message)),Ie.extensions&&this.setSortedExtensions(Ie.extensions),Ie.extras&&(this.extras={...this.extras,...Ie.extras}),Ie.presets&&(this.presets={...this.presets,...Ie.presets.reduce((et,ze)=>({...et,[ze.name]:ze.config}),{})})}setType(Ie){Array.isArray(Ie)?Ie.forEach(et=>this.setType(et)):(this.types[Ie.name]||(this.types[Ie.name]={name:Ie.name}),["component","extends","defaultOptions","wrappers"].forEach(et=>{Ie.hasOwnProperty(et)&&(this.types[Ie.name][et]=Ie[et])}))}getType(Ie,et=!1){if(Ie instanceof r.DyG)return{component:Ie,name:Ie.prototype.constructor.name};if(!this.types[Ie]){if(et)throw new Error(`[Formly Error] The type "${Ie}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return null}return this.mergeExtendedType(Ie),this.types[Ie]}getMergedField(Ie={}){const et=this.getType(Ie.type);if(!et)return;et.defaultOptions&&We(Ie,et.defaultOptions);const ze=et.extends&&this.getType(et.extends).defaultOptions;ze&&We(Ie,ze),Ie?.optionsTypes&&Ie.optionsTypes.forEach(lt=>{const Rt=this.getType(lt).defaultOptions;Rt&&We(Ie,Rt)});const an=this.resolveFieldTypeRef(Ie);an?.instance?.defaultOptions&&We(Ie,an.instance.defaultOptions),!Ie.wrappers&&et.wrappers&&(Ie.wrappers=[...et.wrappers])}resolveFieldTypeRef(Ie={}){const et=this.getType(Ie.type);if(!et)return null;if(!et.component||et._componentRef)return et._componentRef;const{_viewContainerRef:ze,_injector:an}=Ie.options;if(!ze||!an)return null;const lt=ze.createComponent(et.component,{injector:an});qt(et,"_componentRef",lt);try{lt.destroy()}catch(Rt){console.error(`An error occurred while destroying the Formly component type "${Ie.type}"`,Rt)}return et._componentRef}setWrapper(Ie){this.wrappers[Ie.name]=Ie,Ie.types&&Ie.types.forEach(et=>{this.setTypeWrapper(et,Ie.name)})}getWrapper(Ie){if(Ie instanceof r.DyG)return{component:Ie,name:Ie.prototype.constructor.name};if(!this.wrappers[Ie])throw new Error(`[Formly Error] The wrapper "${Ie}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.wrappers[Ie]}setTypeWrapper(Ie,et){this.types[Ie]||(this.types[Ie]={}),this.types[Ie].wrappers||(this.types[Ie].wrappers=[]),-1===this.types[Ie].wrappers.indexOf(et)&&this.types[Ie].wrappers.push(et)}setValidator(Ie){this.validators[Ie.name]=Ie}getValidator(Ie){if(!this.validators[Ie])throw new Error(`[Formly Error] The validator "${Ie}" could not be found. Please make sure that is registered through the FormlyModule declaration.`);return this.validators[Ie]}addValidatorMessage(Ie,et){this.messages[Ie]=et}getValidatorMessage(Ie){return this.messages[Ie]}setSortedExtensions(Ie){Ie.forEach(et=>{const ze=et.priority??1;this.extensionsByPriority[ze]={...this.extensionsByPriority[ze],[et.name]:et.extension}}),this.extensions=Object.keys(this.extensionsByPriority).map(Number).sort((et,ze)=>et-ze).reduce((et,ze)=>({...et,...this.extensionsByPriority[ze]}),{})}mergeExtendedType(Ie){if(!this.types[Ie].extends)return;const et=this.getType(this.types[Ie].extends);this.types[Ie].component||(this.types[Ie].component=et.component),this.types[Ie].wrappers||(this.types[Ie].wrappers=et.wrappers)}}return jt.\u0275fac=function(Ie){return new(Ie||jt)},jt.\u0275prov=r.Yz7({token:jt,factory:jt.\u0275fac,providedIn:"root"}),jt})(),ir=(()=>{class jt{constructor(Ie,et,ze,an){this.config=Ie,this.injector=et,this.viewContainerRef=ze,this.parentForm=an}buildForm(Ie,et=[],ze,an){this.build({fieldGroup:et,model:ze,form:Ie,options:an})}build(Ie){if(!this.config.extensions.core)throw new Error("NgxFormly: missing `forRoot()` call. use `forRoot()` when registering the `FormlyModule`.");Ie.parent?this._build(Ie):(this._setOptions(Ie),function Te(jt,Fe){const Ie=jt._updateTreeValidity.bind(jt);jt._updateTreeValidity=()=>{},Fe(),jt._updateTreeValidity=Ie}(Ie.form,()=>{this._build(Ie);const et=Ie.options;et.checkExpressions?.(Ie,!0),et.detectChanges?.(Ie)}))}_build(Ie){if(!Ie)return;const et=Object.values(this.config.extensions);et.forEach(ze=>ze.prePopulate?.(Ie)),et.forEach(ze=>ze.onPopulate?.(Ie)),Ie.fieldGroup?.forEach(ze=>this._build(ze)),et.forEach(ze=>ze.postPopulate?.(Ie))}_setOptions(Ie){Ie.form=Ie.form||new a.cw({}),Ie.model=Ie.model||{},Ie.options=Ie.options||{};const et=Ie.options;et._viewContainerRef||qt(et,"_viewContainerRef",this.viewContainerRef),et._injector||qt(et,"_injector",this.injector),et.build||(et._buildForm=()=>{console.warn("Formly: 'options._buildForm' is deprecated since v6.0, use 'options.build' instead."),this.build(Ie)},et.build=(ze=Ie)=>(this.build(ze),ze)),!et.parentForm&&this.parentForm&&(qt(et,"parentForm",this.parentForm),fn(et,["parentForm","submitted"],({firstChange:ze})=>{ze||(et.checkExpressions(Ie),et.detectChanges(Ie))}))}}return jt.\u0275fac=function(Ie){return new(Ie||jt)(r.LFG(Lr),r.LFG(r.zs3),r.LFG(r.s_b,8),r.LFG(a.sg,8))},jt.\u0275prov=r.Yz7({token:jt,factory:jt.\u0275fac,providedIn:"root"}),jt})();function Qr(jt,Fe=!1){const Ie=jt.formControl,et=Ie._fields?Ie._fields.indexOf(jt):-1;-1!==et&&Ie._fields.splice(et,1);const ze=Ie.parent;if(!ze)return;const an={emitEvent:Fe};if(ze instanceof a.Oe){const lt=ze.controls.findIndex(Rt=>Rt===Ie);-1!==lt&&ze.removeAt(lt,an)}else if(ze instanceof a.cw){const lt=Et(jt),Rt=lt[lt.length-1];ze.get([Rt])===Ie&&ze.removeControl(Rt,an)}Ie.setParent(null)}function jr(jt){return jt.formControl?jt.formControl:!1===jt.shareFormControl?null:jt.form?.get(Et(jt))}function br(jt,Fe,Ie=!1){if((Fe=Fe||jt.formControl)._fields||qt(Fe,"_fields",[]),-1===Fe._fields.indexOf(jt)&&Fe._fields.push(jt),!jt.formControl&&Fe){qt(jt,"formControl",Fe),Fe.setValidators(null),Fe.setAsyncValidators(null),jt.props.disabled=!!jt.props.disabled;const Rt=fn(jt,["props","disabled"],({firstChange:Pe,currentValue:qn})=>{Pe||(qn?jt.formControl.disable():jt.formControl.enable())});Fe instanceof a.NI&&Fe.registerOnDisabledChange(Rt.setValue)}if(!jt.form||!ge(jt))return;let et=jt.form;const ze=Et(jt),an=He(jt);(!Le(Fe.value)||!Le(an))&&Fe.value!==an&&Fe instanceof a.NI&&Fe.patchValue(an);for(let Rt=0;Rt<ze.length-1;Rt++){const Pe=ze[Rt];et.get([Pe])||et.setControl(Pe,new a.cw({}),{emitEvent:Ie}),et=et.get([Pe])}const lt=ze[ze.length-1];!jt._hide&&et.get([lt])!==Fe&&et.setControl(lt,Fe,{emitEvent:Ie})}function ht(jt,Fe=!1){const Ie=jt.status,et=jt.value;jt.updateValueAndValidity({emitEvent:!1,onlySelf:Fe}),Ie!==jt.status&&jt.statusChanges.emit(jt.status),et!==jt.value&&jt.valueChanges.emit(jt.value)}function Wt(jt){delete jt?._fields,jt.setValidators(null),jt.setAsyncValidators(null),(jt instanceof a.cw||jt instanceof a.Oe)&&Object.values(jt.controls).forEach(Fe=>Wt(Fe))}let Tt=(()=>{class jt{constructor(Ie){this.ref=Ie}ngOnChanges(){this.name=this.name||"formly-group"}}return jt.\u0275fac=function(Ie){return new(Ie||jt)(r.Y36(r.Rgc))},jt.\u0275dir=r.lG2({type:jt,selectors:[["","formlyTemplate",""]],inputs:{name:["formlyTemplate","name"]},features:[r.TTD]}),jt})(),wn=(()=>{class jt{}return jt.\u0275fac=function(Ie){return new(Ie||jt)},jt.\u0275prov=r.Yz7({token:jt,factory:jt.\u0275fac}),jt})(),jn=(()=>{class jt{constructor(Ie,et,ze,an,lt){this.config=Ie,this.renderer=et,this._elementRef=ze,this.hostContainerRef=an,this.form=lt,this.hostObservers=[],this.componentRefs=[],this.hooksObservers=[],this.detectFieldBuild=!1,this.valueChangesUnsubscribe=()=>{}}get containerRef(){return this.config.extras.renderFormlyFieldElement?this.viewContainerRef:this.hostContainerRef}get elementRef(){return this.config.extras.renderFormlyFieldElement?this._elementRef:this.componentRefs?.[0]instanceof r.UuU?this.componentRefs[0].location:null}ngAfterContentInit(){this.triggerHook("afterContentInit")}ngAfterViewInit(){this.triggerHook("afterViewInit")}ngDoCheck(){this.detectFieldBuild&&this.field&&this.field.options&&this.render()}ngOnInit(){this.triggerHook("onInit")}ngOnChanges(Ie){this.triggerHook("onChanges",Ie)}ngOnDestroy(){this.resetRefs(this.field),this.hostObservers.forEach(Ie=>Ie.unsubscribe()),this.hooksObservers.forEach(Ie=>Ie()),this.valueChangesUnsubscribe(),this.triggerHook("onDestroy")}renderField(Ie,et,ze=[]){if(this.containerRef===Ie&&(this.resetRefs(this.field),this.containerRef.clear(),ze=this.field?.wrappers),ze?.length>0){const[an,...lt]=ze,{component:Rt}=this.config.getWrapper(an),Pe=Ie.createComponent(Rt);this.attachComponentRef(Pe,et),fn(Pe.instance,["fieldComponent"],({currentValue:qn,previousValue:gr,firstChange:Pn})=>{if(qn){if(gr&&gr._lContainer===qn._lContainer)return;const _r=gr?gr.detach():null;_r&&!_r.destroyed?qn.insert(_r):this.renderField(qn,et,lt),!Pn&&Pe.changeDetectorRef.detectChanges()}})}else if(et?.type){const an=this.form?.templates?.find(Rt=>Rt.name===et.type);let lt;if(an)lt=Ie.createEmbeddedView(an.ref,{$implicit:et});else{const{component:Rt}=this.config.getType(et.type,!0);lt=Ie.createComponent(Rt)}this.attachComponentRef(lt,et)}}triggerHook(Ie,et){if(("onInit"===Ie||"onChanges"===Ie&&et.field&&!et.field.firstChange)&&(this.valueChangesUnsubscribe=this.fieldChanges(this.field)),this.field?.hooks?.[Ie]&&(!et||et.field)){const ze=this.field.hooks[Ie](this.field);if(u(ze)&&-1!==["onInit","afterContentInit","afterViewInit"].indexOf(Ie)){const an=ze.subscribe();this.hooksObservers.push(()=>an.unsubscribe())}}"onChanges"===Ie&&et.field&&(this.resetRefs(et.field.previousValue),this.render())}attachComponentRef(Ie,et){this.componentRefs.push(Ie),et._componentRefs.push(Ie),Ie instanceof r.UuU&&Object.assign(Ie.instance,{field:et})}render(){if(this.field){if(!this.field.options)return void(this.detectFieldBuild=!0);this.detectFieldBuild=!1,this.hostObservers.forEach(Ie=>Ie.unsubscribe()),this.hostObservers=[fn(this.field,["hide"],({firstChange:Ie,currentValue:et})=>{const ze=this.containerRef;!1===this.config.extras.lazyRender?(Ie&&this.renderField(ze,this.field),(!Ie||Ie&&et)&&this.elementRef&&this.renderer.setStyle(this.elementRef.nativeElement,"display",et?"none":"")):et?(ze.clear(),this.field.className&&this.renderer.removeAttribute(this.elementRef.nativeElement,"class")):(this.renderField(ze,this.field),this.field.className&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",this.field.className)),!Ie&&this.field.options.detectChanges(this.field)}),fn(this.field,["className"],({firstChange:Ie,currentValue:et})=>{(!Ie||Ie&&et)&&(!this.config.extras.lazyRender||!0!==this.field.hide)&&this.elementRef&&this.renderer.setAttribute(this.elementRef.nativeElement,"class",et)}),...["touched","pristine","status"].map(Ie=>fn(this.field,["formControl",Ie],({firstChange:et})=>!et&&Kr(this.field)))]}}resetRefs(Ie){Ie&&(Ie._componentRefs?Ie._componentRefs=Ie._componentRefs.filter(et=>-1===this.componentRefs.indexOf(et)):qt(this.field,"_componentRefs",[])),this.componentRefs=[]}fieldChanges(Ie){if(this.valueChangesUnsubscribe(),!Ie)return()=>{};const et=[sn(Ie,["props"],()=>Ie.options.detectChanges(Ie)),sn(Ie.options,["formState"],()=>Ie.options.detectChanges(Ie))];for(const ze of Object.keys(Ie._expressions)){const an=fn(Ie,["_expressions",ze],({currentValue:lt,previousValue:Rt})=>{Rt?.subscription&&(Rt.subscription.unsubscribe(),Rt.subscription=null),u(lt.value$)&&(lt.subscription=lt.value$.subscribe())});et.push(()=>{Ie._expressions[ze]?.subscription&&Ie._expressions[ze].subscription.unsubscribe(),an.unsubscribe()})}for(const ze of[["template"],["fieldGroupClassName"],["validation","show"]]){const an=fn(Ie,ze,({firstChange:lt})=>!lt&&Ie.options.detectChanges(Ie));et.push(()=>an.unsubscribe())}if(Ie.formControl&&!Ie.fieldGroup){const ze=Ie.formControl;let an=ze.valueChanges.pipe((0,T.x)((qn,gr)=>!(qn!==gr||Array.isArray(qn)||pn(qn))));ze.value!==He(Ie)&&(an=an.pipe((0,M.O)(ze.value)));const{updateOn:lt,debounce:Rt}=Ie.modelOptions;(!lt||"change"===lt)&&Rt?.default>0&&(an=ze.valueChanges.pipe((0,w.b)(Rt.default)));const Pe=an.subscribe(qn=>{ze._fields?.length>1&&ze instanceof a.NI&&ze.patchValue(qn,{emitEvent:!1,onlySelf:!0}),Ie.parsers?.forEach(gr=>qn=gr(qn)),qn===Ie.formControl.value?(ge(Ie)&&ct(Ie,qn),Ie.options.fieldChanges.next({value:qn,field:Ie,type:"valueChanges"})):Ie.formControl.setValue(qn)});et.push(()=>Pe.unsubscribe())}return()=>et.forEach(ze=>ze())}}return jt.\u0275fac=function(Ie){return new(Ie||jt)(r.Y36(Lr),r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(r.s_b),r.Y36(wn,8))},jt.\u0275cmp=r.Xpm({type:jt,selectors:[["formly-field"]],viewQuery:function(Ie,et){if(1&Ie&&r.Gf(de,7,r.s_b),2&Ie){let ze;r.iGM(ze=r.CRH())&&(et.viewContainerRef=ze.first)}},inputs:{field:"field"},features:[r.TTD],decls:2,vars:0,consts:[["container",""]],template:function(Ie,et){1&Ie&&r.YNc(0,V,0,0,"ng-template",null,0,r.W1O)},styles:["[_nghost-%COMP%]:empty{display:none}"]}),jt})(),hr=(()=>{class jt{constructor(Ie,et,ze,an){this.builder=Ie,this.config=et,this.ngZone=ze,this.fieldTemplates=an,this.modelChange=new r.vpe,this.field={type:"formly-group"},this._modelChangeValue={},this.valueChangesUnsubscribe=()=>{}}set form(Ie){this.field.form=Ie}get form(){return this.field.form}set model(Ie){this.setField({model:Ie})}get model(){return this.field.model}set fields(Ie){this.setField({fieldGroup:Ie})}get fields(){return this.field.fieldGroup}set options(Ie){this.setField({options:Ie})}get options(){return this.field.options}set templates(Ie){this.fieldTemplates.templates=Ie}ngDoCheck(){"changeDetectionCheck"===this.config.extras.checkExpressionOn&&this.checkExpressionChange()}ngOnChanges(Ie){Ie.fields&&this.form&&Wt(this.form),(Ie.fields||Ie.form||Ie.model&&this._modelChangeValue!==Ie.model.currentValue)&&(this.valueChangesUnsubscribe(),this.builder.build(this.field),this.valueChangesUnsubscribe=this.valueChanges())}ngOnDestroy(){this.valueChangesUnsubscribe()}checkExpressionChange(){this.field.options.checkExpressions?.(this.field)}valueChanges(){this.valueChangesUnsubscribe();const Ie=this.field.options.fieldChanges.pipe((0,D.h)(({field:et,type:ze})=>ge(et)&&"valueChanges"===ze),(0,U.w)(()=>this.ngZone.onStable.asObservable().pipe((0,W.q)(1)))).subscribe(()=>this.ngZone.runGuarded(()=>{this.checkExpressionChange(),this.modelChange.emit(this._modelChangeValue=At(this.model))}));return()=>Ie.unsubscribe()}setField(Ie){this.config.extras.immutable?this.field={...this.field,...At(Ie)}:Object.keys(Ie).forEach(et=>this.field[et]=Ie[et])}}return jt.\u0275fac=function(Ie){return new(Ie||jt)(r.Y36(ir),r.Y36(Lr),r.Y36(r.R0b),r.Y36(wn))},jt.\u0275cmp=r.Xpm({type:jt,selectors:[["formly-form"]],contentQueries:function(Ie,et,ze){if(1&Ie&&r.Suo(ze,Tt,4),2&Ie){let an;r.iGM(an=r.CRH())&&(et.templates=an)}},inputs:{form:"form",model:"model",fields:"fields",options:"options"},outputs:{modelChange:"modelChange"},features:[r._Bn([ir,wn]),r.TTD],decls:1,vars:1,consts:[[3,"field"]],template:function(Ie,et){1&Ie&&r._UZ(0,"formly-field",0),2&Ie&&r.Q6J("field",et.field)},dependencies:[jn],encapsulation:2,changeDetection:0}),jt})(),Oi=(()=>{class jt{constructor(Ie,et,ze){this.renderer=Ie,this.elementRef=et,this.uiAttributesCache={},this.uiEvents={listeners:[],events:["click","keyup","keydown","keypress","focus","blur","change"],callback:(an,lt)=>{switch(an){case"focus":return this.onFocus(lt);case"blur":return this.onBlur(lt);case"change":return this.onChange(lt);default:return this.props[an](this.field,lt)}}},this.document=ze}get props(){return this.field.props||{}}get fieldAttrElements(){return this.field?._elementRefs||[]}ngOnChanges(Ie){Ie.field&&(this.field.name&&this.setAttribute("name",this.field.name),this.uiEvents.listeners.forEach(et=>et()),this.uiEvents.events.forEach(et=>{(this.props?.[et]||-1!==["focus","blur","change"].indexOf(et))&&this.uiEvents.listeners.push(this.renderer.listen(this.elementRef.nativeElement,et,ze=>this.uiEvents.callback(et,ze)))}),this.props?.attributes&&fn(this.field,["props","attributes"],({currentValue:et,previousValue:ze})=>{ze&&Object.keys(ze).forEach(an=>this.removeAttribute(an)),et&&Object.keys(et).forEach(an=>{null!=et[an]&&this.setAttribute(an,et[an])})}),this.detachElementRef(Ie.field.previousValue),this.attachElementRef(Ie.field.currentValue),1===this.fieldAttrElements.length&&(!this.id&&this.field.id&&this.setAttribute("id",this.field.id),this.focusObserver=fn(this.field,["focus"],({currentValue:et})=>{this.toggleFocus(et)}))),Ie.id&&this.setAttribute("id",this.id)}ngDoCheck(){if(!this.uiAttributes){const Ie=this.elementRef.nativeElement;this.uiAttributes=[...ot,"tabindex","placeholder","readonly","disabled","step"].filter(et=>!Ie.hasAttribute||!Ie.hasAttribute(et))}this.uiAttributes.forEach(Ie=>{const et=this.props[Ie];this.uiAttributesCache[Ie]!==et&&(!this.props.attributes||!this.props.attributes.hasOwnProperty(Ie.toLowerCase()))&&(this.uiAttributesCache[Ie]=et,et||0===et?this.setAttribute(Ie,!0===et?Ie:`${et}`):this.removeAttribute(Ie))})}ngOnDestroy(){this.uiEvents.listeners.forEach(Ie=>Ie()),this.detachElementRef(this.field),this.focusObserver?.unsubscribe()}toggleFocus(Ie){const et=this.fieldAttrElements?this.fieldAttrElements[0]:null;if(!et||!et.nativeElement.focus)return;const ze=!!this.document.activeElement&&this.fieldAttrElements.some(({nativeElement:an})=>this.document.activeElement===an||an.contains(this.document.activeElement));Ie&&!ze?Promise.resolve().then(()=>et.nativeElement.focus()):!Ie&&ze&&Promise.resolve().then(()=>et.nativeElement.blur())}onFocus(Ie){this.focusObserver?.setValue(!0),this.props.focus?.(this.field,Ie)}onBlur(Ie){this.focusObserver?.setValue(!1),this.props.blur?.(this.field,Ie)}onHostChange(Ie){Ie instanceof Event||this.onChange(Ie)}onChange(Ie){this.props.change?.(this.field,Ie),this.field.formControl?.markAsDirty()}attachElementRef(Ie){Ie&&(-1===Ie._elementRefs?.indexOf(this.elementRef)?Ie._elementRefs.push(this.elementRef):qt(Ie,"_elementRefs",[this.elementRef]))}detachElementRef(Ie){const et=Ie?._elementRefs?this.fieldAttrElements.indexOf(this.elementRef):-1;-1!==et&&Ie._elementRefs.splice(et,1)}setAttribute(Ie,et){this.renderer.setAttribute(this.elementRef.nativeElement,Ie,et)}removeAttribute(Ie){this.renderer.removeAttribute(this.elementRef.nativeElement,Ie)}}return jt.\u0275fac=function(Ie){return new(Ie||jt)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(F.K0))},jt.\u0275dir=r.lG2({type:jt,selectors:[["","formlyAttributes",""]],hostBindings:function(Ie,et){1&Ie&&r.NdJ("change",function(an){return et.onHostChange(an)})},inputs:{field:["formlyAttributes","field"],id:"id"},features:[r.TTD]}),jt})(),Wi=(()=>{class jt{get model(){return this.field.model}get form(){return this.field.form}get options(){return this.field.options}get key(){return this.field.key}get formControl(){return this.field.formControl}get props(){return this.field.props||{}}get to(){return this.props}get showError(){return this.options.showError(this)}get id(){return this.field.id}get formState(){return this.options.formState||{}}}return jt.\u0275fac=function(Ie){return new(Ie||jt)},jt.\u0275dir=r.lG2({type:jt,inputs:{field:"field"}}),jt})(),so=(()=>{class jt extends Wi{}return jt.\u0275fac=function(){let Fe;return function(et){return(Fe||(Fe=r.n5z(jt)))(et||jt)}}(),jt.\u0275cmp=r.Xpm({type:jt,selectors:[["formly-group"]],hostVars:2,hostBindings:function(Ie,et){2&Ie&&r.Tol(et.field.fieldGroupClassName||"")},features:[r.qOj],ngContentSelectors:se,decls:2,vars:1,consts:[[3,"field",4,"ngFor","ngForOf"],[3,"field"]],template:function(Ie,et){1&Ie&&(r.F$t(),r.YNc(0,ce,1,1,"formly-field",0),r.Hsn(1)),2&Ie&&r.Q6J("ngForOf",et.field.fieldGroup)},dependencies:[jn,F.sg],encapsulation:2,changeDetection:0}),jt})(),kr=(()=>{class jt{constructor(Ie){this.config=Ie}ngOnChanges(){const Ie=ot.map(et=>`templateOptions.${et}`);this.errorMessage$=(0,e.T)(this.field.formControl.statusChanges,this.field.options?this.field.options.fieldChanges.pipe((0,D.h)(({field:et,type:ze,property:an})=>et===this.field&&"expressionChanges"===ze&&(-1!==an.indexOf("validation")||-1!==Ie.indexOf(an)))):(0,f.of)(null)).pipe((0,M.O)(null),(0,U.w)(()=>u(this.errorMessage)?this.errorMessage:(0,f.of)(this.errorMessage)))}get errorMessage(){const Ie=this.field.formControl;for(const et in Ie.errors)if(Ie.errors.hasOwnProperty(et)){let ze=this.config.getValidatorMessage(et);if(pn(Ie.errors[et])){if(Ie.errors[et].errorPath)return;Ie.errors[et].message&&(ze=Ie.errors[et].message)}return this.field.validation?.messages?.[et]&&(ze=this.field.validation.messages[et]),this.field.validators?.[et]?.message&&(ze=this.field.validators[et].message),this.field.asyncValidators?.[et]?.message&&(ze=this.field.asyncValidators[et].message),"function"==typeof ze?ze(Ie.errors[et],this.field):ze}}}return jt.\u0275fac=function(Ie){return new(Ie||jt)(r.Y36(Lr))},jt.\u0275cmp=r.Xpm({type:jt,selectors:[["formly-validation-message"]],inputs:{field:"field"},features:[r.TTD],decls:2,vars:3,template:function(Ie,et){1&Ie&&(r._uU(0),r.ALo(1,"async")),2&Ie&&r.Oqu(r.lcZ(1,1,et.errorMessage$))},dependencies:[F.Ov],encapsulation:2,changeDetection:0}),jt})(),Ei=(()=>{class jt extends Wi{onPopulate(Ie){!Ie.formControl&&ge(Ie)&&br(Ie,jr(Ie)||new a.Oe([],{updateOn:Ie.modelOptions.updateOn})),Ie.fieldGroup=Ie.fieldGroup||[];const et=Array.isArray(Ie.model)?Ie.model.length:0;if(Ie.fieldGroup.length>et)for(let ze=Ie.fieldGroup.length-1;ze>=et;--ze)Qr(Ie.fieldGroup[ze],!0),Ie.fieldGroup.splice(ze,1);for(let ze=Ie.fieldGroup.length;ze<et;ze++){const an={...At("function"==typeof Ie.fieldArray?Ie.fieldArray(Ie):Ie.fieldArray),key:`${ze}`};Ie.fieldGroup.push(an)}}add(Ie,et,{markAsDirty:ze}={markAsDirty:!0}){Ie=Ie??this.field.fieldGroup.length,this.model||ct(this.field,[]),this.model.splice(Ie,0,et?At(et):void 0),this._build(),ze&&this.formControl.markAsDirty()}remove(Ie,{markAsDirty:et}={markAsDirty:!0}){this.model.splice(Ie,1);const ze=this.field.fieldGroup[Ie];this.field.fieldGroup.splice(Ie,1),this.field.fieldGroup.forEach((an,lt)=>an.key=`${lt}`),Qr(ze,!0),this._build(),et&&this.formControl.markAsDirty()}_build(){(this.field.formControl._fields??[this.field]).forEach(et=>this.options.build(et)),this.options.fieldChanges.next({field:this.field,value:He(this.field),type:"valueChanges"})}}return jt.\u0275fac=function(){let Fe;return function(et){return(Fe||(Fe=r.n5z(jt)))(et||jt)}}(),jt.\u0275dir=r.lG2({type:jt,features:[r.qOj]}),jt})(),ii=(()=>{class jt extends Wi{set _staticContent(Ie){this.fieldComponent=Ie}}return jt.\u0275fac=function(){let Fe;return function(et){return(Fe||(Fe=r.n5z(jt)))(et||jt)}}(),jt.\u0275dir=r.lG2({type:jt,viewQuery:function(Ie,et){if(1&Ie&&(r.Gf(fe,5,r.s_b),r.Gf(fe,7,r.s_b)),2&Ie){let ze;r.iGM(ze=r.CRH())&&(et.fieldComponent=ze.first),r.iGM(ze=r.CRH())&&(et._staticContent=ze.first)}},features:[r.qOj]}),jt})(),mr=(()=>{class jt extends Wi{constructor(Ie){super(),this.sanitizer=Ie,this.innerHtml={}}get template(){return this.field&&this.field.template!==this.innerHtml.template&&(this.innerHtml={template:this.field.template,content:this.props.safeHtml?this.sanitizer.bypassSecurityTrustHtml(this.field.template):this.field.template}),this.innerHtml.content}}return jt.\u0275fac=function(Ie){return new(Ie||jt)(r.Y36(X.H7))},jt.\u0275cmp=r.Xpm({type:jt,selectors:[["formly-template"]],features:[r.qOj],decls:1,vars:1,consts:[[3,"innerHtml"]],template:function(Ie,et){1&Ie&&r._UZ(0,"div",0),2&Ie&&r.Q6J("innerHtml",et.template,r.oJD)},encapsulation:2,changeDetection:0}),jt})();class po{onPopulate(Fe){if(Fe._expressions)return;qt(Fe,"_expressions",{}),fn(Fe,["hide"],({currentValue:et,firstChange:ze})=>{qt(Fe,"_hide",!!et),(!ze||ze&&!0===et)&&(Fe.props.hidden=et,Fe.options._hiddenFieldsForCheck.push(Fe))}),Fe.hideExpression&&fn(Fe,["hideExpression"],({currentValue:et})=>{Fe._expressions.hide=this.parseExpressions(Fe,"hide","boolean"==typeof et?()=>et:et)});const Ie=(et,ze)=>{"string"==typeof ze||Xt(ze)?Fe._expressions[et]=this.parseExpressions(Fe,et,ze):ze instanceof c.y&&(Fe._expressions[et]={value$:ze.pipe((0,$.b)(an=>{this.evalExpr(Fe,et,an),Fe.options.detectChanges(Fe)}))})};Fe.expressions=Fe.expressions||{};for(const et of Object.keys(Fe.expressions))fn(Fe,["expressions",et],({currentValue:ze})=>{Ie(et,Xt(ze)?(...an)=>ze(Fe,an[3]):ze)});Fe.expressionProperties=Fe.expressionProperties||{};for(const et of Object.keys(Fe.expressionProperties))fn(Fe,["expressionProperties",et],({currentValue:ze})=>Ie(et,ze))}postPopulate(Fe){if(!Fe.parent&&!Fe.options.checkExpressions){let Ie=!1;Fe.options.checkExpressions=(et,ze)=>{if(Ie)return;Ie=!0;const an=this.checkExpressions(et,ze),lt=Fe.options;lt._hiddenFieldsForCheck.sort(Rt=>Rt.hide?-1:1).forEach(Rt=>this.changeHideState(Rt,Rt.hide,!ze)),lt._hiddenFieldsForCheck=[],an&&(this.checkExpressions(Fe),Fe.options&&Fe.options.detectChanges&&Fe.options.detectChanges(Fe)),Ie=!1},Fe.options._checkField=(et,ze)=>{console.warn("Formly: 'options._checkField' is deprecated since v6.0, use 'options.checkExpressions' instead."),Fe.options.checkExpressions(et,ze)}}}parseExpressions(Fe,Ie,et){let ze,an;if(Fe.parent&&["hide","props.disabled"].includes(Ie)){const lt=Rt=>"hide"===Ie?Rt.hide:Rt.props.disabled;ze=()=>{let Rt=Fe.parent;for(;Rt.parent&&!lt(Rt);)Rt=Rt.parent;return lt(Rt)}}return"string"==typeof(et=et||(()=>!1))&&(et=function pr(jt,Fe){try{return Function(...Fe,`return ${jt};`)}catch(Ie){console.error(Ie)}}(et,["model","formState","field"])),{callback:lt=>{try{const Rt=function Eo(jt,Fe,Ie){return"function"==typeof jt?jt.apply(Fe,Ie):!!jt}(ze?(...Pe)=>ze(Fe)||et(...Pe):et,{field:Fe},[Fe.model,Fe.options.formState,Fe,lt]);return!(!lt&&(an===Rt||pn(Rt)&&!u(Rt)&&JSON.stringify(Rt)===JSON.stringify(an))||(an=Rt,this.evalExpr(Fe,Ie,Rt),0))}catch(Rt){throw Rt.message=`[Formly Error] [Expression "${Ie}"] ${Rt.message}`,Rt}}}}checkExpressions(Fe,Ie=!1){if(!Fe)return!1;let et=!1;if(Fe._expressions)for(const ze of Object.keys(Fe._expressions))Fe._expressions[ze].callback?.(Ie)&&(et=!0);return Fe.fieldGroup?.forEach(ze=>this.checkExpressions(ze,Ie)&&(et=!0)),et}changeDisabledState(Fe,Ie){Fe.fieldGroup&&Fe.fieldGroup.filter(et=>!et._expressions.hasOwnProperty("props.disabled")).forEach(et=>this.changeDisabledState(et,Ie)),ge(Fe)&&Fe.props.disabled!==Ie&&(Fe.props.disabled=Ie)}changeHideState(Fe,Ie,et){if(Fe.fieldGroup&&Fe.fieldGroup.filter(ze=>!ze._expressions.hide).forEach(ze=>this.changeHideState(ze,Ie,et)),Fe.formControl&&ge(Fe)){qt(Fe,"_hide",!(!Ie&&!Fe.hide));const ze=Fe.formControl;ze._fields?.length>1&&ht(ze),!0!==Ie||ze._fields&&!ze._fields.every(an=>!!an._hide)?!1===Ie&&(Fe.resetOnHide&&!Pt(Fe.defaultValue)&&Pt(He(Fe))&&ct(Fe,Fe.defaultValue),br(Fe,void 0,!0),Fe.resetOnHide&&Fe.fieldArray&&Fe.fieldGroup?.length!==Fe.model?.length&&Fe.options.build(Fe)):(Qr(Fe,!0),et&&Fe.resetOnHide&&(ct(Fe,void 0),Fe.formControl.reset({value:void 0,disabled:Fe.formControl.disabled}),Fe.options.fieldChanges.next({value:void 0,field:Fe,type:"valueChanges"}),Fe.fieldGroup&&Fe.formControl instanceof a.Oe&&(Fe.fieldGroup.length=0)))}Fe.options.fieldChanges&&Fe.options.fieldChanges.next({field:Fe,type:"hidden",value:Ie})}evalExpr(Fe,Ie,et){try{let ze=Fe;const an=this._evalExpressionPath(Fe,Ie),lt=an.length-1;for(let Rt=0;Rt<lt;Rt++)ze=ze[an[Rt]];ze[an[lt]]=et}catch(ze){throw ze.message=`[Formly Error] [Expression "${Ie}"] ${ze.message}`,ze}if(["templateOptions.disabled","props.disabled"].includes(Ie)&&ge(Fe)&&this.changeDisabledState(Fe,et),0===Ie.indexOf("model.")){const ze=Ie.replace(/^model\./,""),an=Fe?.key===ze?Fe.formControl:Fe.form.get(ze);an&&(!Le(an.value)||!Le(et))&&an.value!==et&&an.patchValue(et)}this.emitExpressionChanges(Fe,Ie,et)}emitExpressionChanges(Fe,Ie,et){Fe.options.fieldChanges&&Fe.options.fieldChanges.next({field:Fe,type:"expressionChanges",property:Ie,value:et})}_evalExpressionPath(Fe,Ie){if(Fe._expressions[Ie]&&Fe._expressions[Ie].paths)return Fe._expressions[Ie].paths;let et=[];return-1===Ie.indexOf("[")?et=Ie.split("."):Ie.split(/[[\]]{1,2}/).filter(ze=>ze).forEach(ze=>{const an=ze.match(/['|"](.*?)['|"]/);an?et.push(an[1]):et.push(...ze.split(".").filter(lt=>lt))}),Fe._expressions[Ie]&&(Fe._expressions[Ie].paths=et),et}}class $i{constructor(Fe){this.config=Fe}onPopulate(Fe){this.initFieldValidation(Fe,"validators"),this.initFieldValidation(Fe,"asyncValidators")}initFieldValidation(Fe,Ie){const et=[];if("validators"===Ie&&!(Fe.hasOwnProperty("fieldGroup")&&!ge(Fe))&&et.push(this.getPredefinedFieldValidation(Fe)),Fe[Ie])for(const ze of Object.keys(Fe[Ie]))"validation"===ze?et.push(...Fe[Ie].validation.map(an=>this.wrapNgValidatorFn(Fe,an))):et.push(this.wrapNgValidatorFn(Fe,Fe[Ie][ze],ze));qt(Fe,"_"+Ie,et)}getPredefinedFieldValidation(Fe){let Ie=[];return ot.forEach(et=>fn(Fe,["props",et],({currentValue:ze,firstChange:an})=>{Ie=Ie.filter(lt=>lt!==et),null!=ze&&!1!==ze&&Ie.push(et),!an&&Fe.formControl&&ht(Fe.formControl)})),et=>0===Ie.length?null:a.kI.compose(Ie.map(ze=>()=>{const an=Fe.props[ze];switch(ze){case"required":return a.kI.required(et);case"pattern":return a.kI.pattern(an)(et);case"minLength":const lt=a.kI.minLength(an)(et),Rt=this.config.getValidatorMessage("minlength")||Fe.validation?.messages?.minlength?"minlength":"minLength";return lt?{[Rt]:lt.minlength}:null;case"maxLength":const Pe=a.kI.maxLength(an)(et),qn=this.config.getValidatorMessage("maxlength")||Fe.validation?.messages?.maxlength?"maxlength":"maxLength";return Pe?{[qn]:Pe.maxlength}:null;case"min":return a.kI.min(an)(et);case"max":return a.kI.max(an)(et);default:return null}}))(et)}wrapNgValidatorFn(Fe,Ie,et){let ze;if("string"==typeof Ie&&(ze=At(this.config.getValidator(Ie))),"object"==typeof Ie&&Ie.name&&(ze=At(this.config.getValidator(Ie.name)),Ie.options&&(ze.options=Ie.options)),"object"==typeof Ie&&Ie.expression){const{expression:an,...lt}=Ie;ze={name:et,validation:an,options:Object.keys(lt).length>0?lt:null}}return"function"==typeof Ie&&(ze={name:et,validation:Ie}),an=>{const lt=ze.validation(an,Fe,ze.options);return function Rn(jt){return!!jt&&"function"==typeof jt.then}(lt)?lt.then(Rt=>this.handleAsyncResult(Fe,et?!!Rt:Rt,ze)):u(lt)?lt.pipe((0,J.U)(Rt=>this.handleAsyncResult(Fe,et?!!Rt:Rt,ze))):this.handleResult(Fe,et?!!lt:lt,ze)}}handleAsyncResult(Fe,Ie,et){return Fe.options.detectChanges(Fe),this.handleResult(Fe,Ie,et)}handleResult(Fe,Ie,{name:et,options:ze}){"boolean"==typeof Ie&&(Ie=Ie?null:{[et]:ze||!0});const an=Fe.formControl;return an?._childrenErrors?.[et]?.(),pn(Ie)&&Object.keys(Ie).forEach(lt=>{const Rt=Ie[lt].errorPath?Ie[lt].errorPath:ze?.errorPath,Pe=Rt?Fe.formControl.get(Rt):null;if(Pe){const{errorPath:qn,...gr}=Ie[lt];Pe.setErrors({...Pe.errors||{},[lt]:gr}),!an._childrenErrors&&qt(an,"_childrenErrors",{}),an._childrenErrors[lt]=()=>{const{[lt]:Pn,..._r}=Pe.errors||{};Pe.setErrors(0===Object.keys(_r).length?null:_r)}}}),Ie}}class qr{prePopulate(Fe){this.root||(this.root=Fe),Fe.parent&&Object.defineProperty(Fe,"form",{get:()=>Fe.parent.formControl,configurable:!0})}onPopulate(Fe){Fe.hasOwnProperty("fieldGroup")&&!ge(Fe)?qt(Fe,"formControl",Fe.form):this.addFormControl(Fe)}postPopulate(Fe){if(this.root===Fe&&(this.root=null,this.setValidators(Fe)&&Fe.parent)){let et=Fe.parent;for(;et;)(ge(et)||!et.parent)&&ht(et.formControl,!0),et=et.parent}}addFormControl(Fe){let Ie=jr(Fe);if(!Ie){const et={updateOn:Fe.modelOptions.updateOn};if(Fe.fieldGroup)Ie=new a.cw({},et);else{const ze=ge(Fe)?He(Fe):Fe.defaultValue;Ie=new a.NI({value:ze,disabled:!1},{...et,initialValueIsDefault:!0})}}br(Fe,Ie)}setValidators(Fe,Ie=!1){!1===Ie&&ge(Fe)&&Fe.props?.disabled&&(Ie=!0);let et=!1;if(Fe.fieldGroup?.forEach(ze=>ze&&this.setValidators(ze,Ie)&&(et=!0)),ge(Fe)||!Fe.parent||!ge(Fe)&&!Fe.fieldGroup){const{formControl:ze}=Fe;if(ze&&(ge(Fe)&&ze instanceof a.NI&&(Ie&&ze.enabled&&(ze.disable({emitEvent:!1,onlySelf:!0}),et=!0),!Ie&&ze.disabled&&(ze.enable({emitEvent:!1,onlySelf:!0}),et=!0)),(null===ze.validator||null===ze.asyncValidator)&&(ze.setValidators(()=>{const an=a.kI.compose(this.mergeValidators(Fe,"_validators"));return an?an(ze):null}),ze.setAsyncValidators(()=>{const an=a.kI.composeAsync(this.mergeValidators(Fe,"_asyncValidators"));return an?an(ze):(0,f.of)(null)}),et=!0),et)){ht(ze,!0);let an=ze.parent;for(let lt=1;lt<Et(Fe).length;lt++)an&&(ht(an,!0),an=an.parent)}}return et}mergeValidators(Fe,Ie){const et=[],ze=Fe.formControl;return ze?._fields?.length>1?ze._fields.filter(an=>!an._hide).forEach(an=>et.push(...an[Ie])):Fe[Ie]&&et.push(...Fe[Ie]),Fe.fieldGroup&&Fe.fieldGroup.filter(an=>an?.fieldGroup&&!ge(an)).forEach(an=>et.push(...this.mergeValidators(an,Ie))),et}}class Hi{constructor(Fe){this.config=Fe,this.formId=0}prePopulate(Fe){const Ie=Fe.parent;this.initRootOptions(Fe),this.initFieldProps(Fe),Ie&&(Object.defineProperty(Fe,"options",{get:()=>Ie.options,configurable:!0}),Object.defineProperty(Fe,"model",{get:()=>ge(Fe)&&Fe.fieldGroup?He(Fe):Ie.model,configurable:!0})),Object.defineProperty(Fe,"get",{value:et=>xn(Fe,et),configurable:!0}),this.getFieldComponentInstance(Fe).prePopulate?.(Fe)}onPopulate(Fe){this.initFieldOptions(Fe),this.getFieldComponentInstance(Fe).onPopulate?.(Fe),Fe.fieldGroup&&Fe.fieldGroup.forEach((Ie,et)=>{Ie&&(Object.defineProperty(Ie,"parent",{get:()=>Fe,configurable:!0}),Object.defineProperty(Ie,"index",{get:()=>et,configurable:!0})),this.formId++})}postPopulate(Fe){this.getFieldComponentInstance(Fe).postPopulate?.(Fe)}initFieldProps(Fe){Fe.props??(Fe.props=Fe.templateOptions),Object.defineProperty(Fe,"templateOptions",{get:()=>Fe.props,set:Ie=>Fe.props=Ie,configurable:!0})}initRootOptions(Fe){if(Fe.parent)return;const Ie=Fe.options;Fe.options.formState=Fe.options.formState||{},Ie.showError||(Ie.showError=this.config.extras.showError),Ie.fieldChanges||qt(Ie,"fieldChanges",new m.xQ),Ie._hiddenFieldsForCheck||(Ie._hiddenFieldsForCheck=[]),Ie._markForCheck=et=>{console.warn("Formly: 'options._markForCheck' is deprecated since v6.0, use 'options.detectChanges' instead."),Ie.detectChanges(et)},Ie.detectChanges=et=>{et._componentRefs&&(et.options.checkExpressions(et),Kr(et)),et.fieldGroup?.forEach(ze=>ze&&Ie.detectChanges(ze))},Ie.resetModel=et=>{et=At(et??Ie._initialModel),Fe.model&&(Object.keys(Fe.model).forEach(ze=>delete Fe.model[ze]),Object.assign(Fe.model,et||{})),Ie.build(Fe),Fe.form.reset(Fe.model),Ie.parentForm&&Ie.parentForm.control===Fe.formControl&&(Ie.parentForm.submitted=!1)},Ie.updateInitialValue=et=>Ie._initialModel=At(et??Fe.model),Fe.options.updateInitialValue()}initFieldOptions(Fe){if(We(Fe,{id:$e(`formly_${this.formId}`,Fe,Fe.index),hooks:{},modelOptions:{},validation:{messages:{}},props:Fe.type&&ge(Fe)?{label:"",placeholder:"",disabled:!1}:{}}),this.config.extras.resetFieldOnHide&&!1!==Fe.resetOnHide&&(Fe.resetOnHide=!0),"formly-template"!==Fe.type&&(Fe.template||Fe.expressions?.template||Fe.expressionProperties?.template)&&(Fe.type="formly-template"),!Fe.type&&Fe.fieldGroup&&(Fe.type="formly-group"),Fe.type&&this.config.getMergedField(Fe),ge(Fe)&&!Pt(Fe.defaultValue)&&Pt(He(Fe))){const Ie=ze=>ze.hide||ze.expressions?.hide||ze.hideExpression;let et=!Fe.resetOnHide||!Ie(Fe);if(!Ie(Fe)&&Fe.resetOnHide){let ze=Fe.parent;for(;ze&&!Ie(ze);)ze=ze.parent;et=!ze||!Ie(ze)}et&&ct(Fe,Fe.defaultValue)}Fe.wrappers=Fe.wrappers||[]}getFieldComponentInstance(Fe){const Ie=()=>{let et=this.config.resolveFieldTypeRef(Fe);const ze=Fe._componentRefs?.slice(-1)[0];return ze instanceof r.UuU&&ze?.componentType===et?.componentType&&(et=ze),et?.instance};return Fe._proxyInstance||qt(Fe,"_proxyInstance",new Proxy({},{get:(et,ze)=>Ie()?.[ze],set:(et,ze,an)=>Ie()[ze]=an})),Fe._proxyInstance}}function Dn(jt){return{types:[{name:"formly-group",component:so},{name:"formly-template",component:mr}],extensions:[{name:"core",extension:new Hi(jt),priority:-250},{name:"field-validation",extension:new $i(jt),priority:-200},{name:"field-form",extension:new qr,priority:-150},{name:"field-expression",extension:new po,priority:-100}]}}let Hn=(()=>{class jt{constructor(Ie,et=[]){et&&et.forEach(ze=>Ie.addConfig(ze))}static forRoot(Ie={}){return{ngModule:jt,providers:[{provide:Or,multi:!0,useFactory:Dn,deps:[Lr]},{provide:Or,useValue:Ie,multi:!0},Lr,ir]}}static forChild(Ie={}){return{ngModule:jt,providers:[{provide:Or,multi:!0,useFactory:Dn,deps:[Lr]},{provide:Or,useValue:Ie,multi:!0},ir]}}}return jt.\u0275fac=function(Ie){return new(Ie||jt)(r.LFG(Lr),r.LFG(Or,8))},jt.\u0275mod=r.oAB({type:jt}),jt.\u0275inj=r.cJS({imports:[[F.ez]]}),jt})()},78160:(E,C,s)=>{"use strict";s.d(C,{Z:()=>X});var c=s(66224);const e=function u(de,V){for(var ce=de.length;ce--;)if((0,c.Z)(de[ce][0],V))return ce;return-1};var m=Array.prototype.splice;function F(de){var V=-1,ce=null==de?0:de.length;for(this.clear();++V<ce;){var se=de[V];this.set(se[0],se[1])}}F.prototype.clear=function r(){this.__data__=[],this.size=0},F.prototype.delete=function T(de){var V=this.__data__,ce=e(V,de);return!(ce<0||(ce==V.length-1?V.pop():m.call(V,ce,1),--this.size,0))},F.prototype.get=function w(de){var V=this.__data__,ce=e(V,de);return ce<0?void 0:V[ce][1]},F.prototype.has=function U(de){return e(this.__data__,de)>-1},F.prototype.set=function $(de,V){var ce=this.__data__,se=e(ce,de);return se<0?(++this.size,ce.push([de,V])):ce[se][1]=V,this};const X=F},54673:(E,C,s)=>{"use strict";s.d(C,{Z:()=>u});var r=s(10259),a=s(40309);const u=(0,r.Z)(a.Z,"Map")},94013:(E,C,s)=>{"use strict";s.d(C,{Z:()=>At});const c=(0,s(10259).Z)(Object,"create");var w=Object.prototype.hasOwnProperty;var $=Object.prototype.hasOwnProperty;function ce(qt){var sn=-1,fn=null==qt?0:qt.length;for(this.clear();++sn<fn;){var xn=qt[sn];this.set(xn[0],xn[1])}}ce.prototype.clear=function u(){this.__data__=c?c(null):{},this.size=0},ce.prototype.delete=function f(qt){var sn=this.has(qt)&&delete this.__data__[qt];return this.size-=sn?1:0,sn},ce.prototype.get=function D(qt){var sn=this.__data__;if(c){var fn=sn[qt];return"__lodash_hash_undefined__"===fn?void 0:fn}return w.call(sn,qt)?sn[qt]:void 0},ce.prototype.has=function J(qt){var sn=this.__data__;return c?void 0!==sn[qt]:$.call(sn,qt)},ce.prototype.set=function de(qt,sn){var fn=this.__data__;return this.size+=this.has(qt)?0:1,fn[qt]=c&&void 0===sn?"__lodash_hash_undefined__":sn,this};const se=ce;var fe=s(78160),Te=s(54673);const qe=function ct(qt,sn){var fn=qt.__data__;return function Et(qt){var sn=typeof qt;return"string"==sn||"number"==sn||"symbol"==sn||"boolean"==sn?"__proto__"!==qt:null===qt}(sn)?fn["string"==typeof sn?"string":"hash"]:fn.map};function Rn(qt){var sn=-1,fn=null==qt?0:qt.length;for(this.clear();++sn<fn;){var xn=qt[sn];this.set(xn[0],xn[1])}}Rn.prototype.clear=function $e(){this.size=0,this.__data__={hash:new se,map:new(Te.Z||fe.Z),string:new se}},Rn.prototype.delete=function He(qt){var sn=qe(this,qt).delete(qt);return this.size-=sn?1:0,sn},Rn.prototype.get=function Le(qt){return qe(this,qt).get(qt)},Rn.prototype.has=function it(qt){return qe(this,qt).has(qt)},Rn.prototype.set=function cn(qt,sn){var fn=qe(this,qt),xn=fn.size;return fn.set(qt,sn),this.size+=fn.size==xn?0:1,this};const At=Rn},15131:(E,C,s)=>{"use strict";s.d(C,{Z:()=>F});var r=s(78160);var w=s(54673),D=s(94013);function J(X){var de=this.__data__=new r.Z(X);this.size=de.size}J.prototype.clear=function a(){this.__data__=new r.Z,this.size=0},J.prototype.delete=function u(X){var de=this.__data__,V=de.delete(X);return this.size=de.size,V},J.prototype.get=function f(X){return this.__data__.get(X)},J.prototype.has=function T(X){return this.__data__.has(X)},J.prototype.set=function W(X,de){var V=this.__data__;if(V instanceof r.Z){var ce=V.__data__;if(!w.Z||ce.length<199)return ce.push([X,de]),this.size=++V.size,this;V=this.__data__=new D.Z(ce)}return V.set(X,de),this.size=V.size,this};const F=J},35770:(E,C,s)=>{"use strict";s.d(C,{Z:()=>c});const c=s(40309).Z.Symbol},83345:(E,C,s)=>{"use strict";s.d(C,{Z:()=>c});const c=s(40309).Z.Uint8Array},26438:(E,C,s)=>{"use strict";s.d(C,{Z:()=>D});var c=s(40591),u=s(34654),e=s(25014),f=s(28078),m=s(14803),M=Object.prototype.hasOwnProperty;const D=function w(U,W){var $=(0,u.Z)(U),J=!$&&(0,c.Z)(U),F=!$&&!J&&(0,e.Z)(U),X=!$&&!J&&!F&&(0,m.Z)(U),de=$||J||F||X,V=de?function r(U,W){for(var $=-1,J=Array(U);++$<U;)J[$]=W($);return J}(U.length,String):[],ce=V.length;for(var se in U)(W||M.call(U,se))&&(!de||!("length"==se||F&&("offset"==se||"parent"==se)||X&&("buffer"==se||"byteLength"==se||"byteOffset"==se)||(0,f.Z)(se,ce)))&&V.push(se);return V}},57052:(E,C,s)=>{"use strict";s.d(C,{Z:()=>a});const a=function r(c,u){for(var e=-1,f=u.length,m=c.length;++e<f;)c[m+e]=u[e];return c}},15427:(E,C,s)=>{"use strict";s.d(C,{Z:()=>f});var r=s(2951),a=s(66224),u=Object.prototype.hasOwnProperty;const f=function e(m,T,M){var w=m[T];(!u.call(m,T)||!(0,a.Z)(w,M)||void 0===M&&!(T in m))&&(0,r.Z)(m,T,M)}},2951:(E,C,s)=>{"use strict";s.d(C,{Z:()=>c});var r=s(99567);const c=function a(u,e,f){"__proto__"==e&&r.Z?(0,r.Z)(u,e,{configurable:!0,enumerable:!0,value:f,writable:!0}):u[e]=f}},65252:(E,C,s)=>{"use strict";s.d(C,{Z:()=>ro});var r=s(15131);var u=s(15427),e=s(57640),f=s(44409);var M=s(34673);var U=s(27672),W=s(36889),$=s(75694);var X=s(74202);var ce=s(22018),se=s(23359),fe=s(17507),$e=Object.prototype.hasOwnProperty;var ot=s(80609);var He=/\w*$/;var Pt=s(35770),it=Pt.Z?Pt.Z.prototype:void 0,Xt=it?it.valueOf:void 0;var Rn=s(1044);const so=function Wi(Vt,bn,Bn){var ci=Vt.constructor;switch(bn){case"[object ArrayBuffer]":return(0,ot.Z)(Vt);case"[object Boolean]":case"[object Date]":return new ci(+Vt);case"[object DataView]":return function ct(Vt,bn){var Bn=bn?(0,ot.Z)(Vt.buffer):Vt.buffer;return new Vt.constructor(Bn,Vt.byteOffset,Vt.byteLength)}(Vt,Bn);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,Rn.Z)(Vt,Bn);case"[object Map]":case"[object Set]":return new ci;case"[object Number]":case"[object String]":return new ci(Vt);case"[object RegExp]":return function We(Vt){var bn=new Vt.constructor(Vt.source,He.exec(Vt));return bn.lastIndex=Vt.lastIndex,bn}(Vt);case"[object Symbol]":return function cn(Vt){return Xt?Object(Xt.call(Vt)):{}}(Vt)}};var kr=s(42542),Ei=s(34654),ii=s(25014),mr=s(6539);var $i=s(21162),qr=s(48514),Hi=qr.Z&&qr.Z.isMap;const Hn=Hi?(0,$i.Z)(Hi):function Eo(Vt){return(0,mr.Z)(Vt)&&"[object Map]"==(0,fe.Z)(Vt)};var jt=s(4214);var ze=qr.Z&&qr.Z.isSet;const lt=ze?(0,$i.Z)(ze):function Ie(Vt){return(0,mr.Z)(Vt)&&"[object Set]"==(0,fe.Z)(Vt)};var gr="[object Arguments]",Zn="[object Function]",Ge="[object Object]",ko={};ko[gr]=ko["[object Array]"]=ko["[object ArrayBuffer]"]=ko["[object DataView]"]=ko["[object Boolean]"]=ko["[object Date]"]=ko["[object Float32Array]"]=ko["[object Float64Array]"]=ko["[object Int8Array]"]=ko["[object Int16Array]"]=ko["[object Int32Array]"]=ko["[object Map]"]=ko["[object Number]"]=ko[Ge]=ko["[object RegExp]"]=ko["[object Set]"]=ko["[object String]"]=ko["[object Symbol]"]=ko["[object Uint8Array]"]=ko["[object Uint8ClampedArray]"]=ko["[object Uint16Array]"]=ko["[object Uint32Array]"]=!0,ko["[object Error]"]=ko[Zn]=ko["[object WeakMap]"]=!1;const ro=function Ir(Vt,bn,Bn,ci,_o,go){var es,ts=1&bn,jo=2&bn,ss=4&bn;if(Bn&&(es=_o?Bn(Vt,ci,_o,go):Bn(Vt)),void 0!==es)return es;if(!(0,jt.Z)(Vt))return Vt;var gs=(0,Ei.Z)(Vt);if(gs){if(es=function ge(Vt){var bn=Vt.length,Bn=new Vt.constructor(bn);return bn&&"string"==typeof Vt[0]&&$e.call(Vt,"index")&&(Bn.index=Vt.index,Bn.input=Vt.input),Bn}(Vt),!ts)return(0,W.Z)(Vt,es)}else{var Is=(0,fe.Z)(Vt),la=Is==Zn||"[object GeneratorFunction]"==Is;if((0,ii.Z)(Vt))return(0,U.Z)(Vt,ts);if(Is==Ge||Is==gr||la&&!_o){if(es=jo||la?{}:(0,kr.Z)(Vt),!ts)return jo?function de(Vt,bn){return(0,e.Z)(Vt,(0,X.Z)(Vt),bn)}(Vt,function w(Vt,bn){return Vt&&(0,e.Z)(bn,(0,M.Z)(bn),Vt)}(es,Vt)):function J(Vt,bn){return(0,e.Z)(Vt,(0,$.Z)(Vt),bn)}(Vt,function m(Vt,bn){return Vt&&(0,e.Z)(bn,(0,f.Z)(bn),Vt)}(es,Vt))}else{if(!ko[Is])return _o?Vt:{};es=so(Vt,Is,ts)}}go||(go=new r.Z);var Ro=go.get(Vt);if(Ro)return Ro;go.set(Vt,es),lt(Vt)?Vt.forEach(function(qa){es.add(Ir(qa,bn,Bn,qa,Vt,go))}):Hn(Vt)&&Vt.forEach(function(qa,da){es.set(da,Ir(qa,bn,Bn,da,Vt,go))});var gl=gs?void 0:(ss?jo?se.Z:ce.Z:jo?M.Z:f.Z)(Vt);return function a(Vt,bn){for(var Bn=-1,ci=null==Vt?0:Vt.length;++Bn<ci&&!1!==bn(Vt[Bn],Bn,Vt););}(gl||Vt,function(qa,da){gl&&(qa=Vt[da=qa]),(0,u.Z)(es,da,Ir(qa,bn,Bn,da,Vt,go))}),es}},49137:(E,C,s)=>{"use strict";s.d(C,{Z:()=>u});var r=s(57052),a=s(34654);const u=function c(e,f,m){var T=f(e);return(0,a.Z)(e)?T:(0,r.Z)(T,m(e))}},98286:(E,C,s)=>{"use strict";s.d(C,{Z:()=>F});var r=s(35770),a=Object.prototype,c=a.hasOwnProperty,u=a.toString,e=r.Z?r.Z.toStringTag:void 0;var M=Object.prototype.toString;var $=r.Z?r.Z.toStringTag:void 0;const F=function J(X){return null==X?void 0===X?"[object Undefined]":"[object Null]":$&&$ in Object(X)?function f(X){var de=c.call(X,e),V=X[e];try{X[e]=void 0;var ce=!0}catch{}var se=u.call(X);return ce&&(de?X[e]=V:delete X[e]),se}(X):function w(X){return M.call(X)}(X)}},21162:(E,C,s)=>{"use strict";s.d(C,{Z:()=>a});const a=function r(c){return function(u){return c(u)}}},80609:(E,C,s)=>{"use strict";s.d(C,{Z:()=>c});var r=s(83345);const c=function a(u){var e=new u.constructor(u.byteLength);return new r.Z(e).set(new r.Z(u)),e}},27672:(E,C,s)=>{"use strict";s.d(C,{Z:()=>T});var r=s(40309),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,c=a&&"object"==typeof module&&module&&!module.nodeType&&module,e=c&&c.exports===a?r.Z.Buffer:void 0,f=e?e.allocUnsafe:void 0;const T=function m(M,w){if(w)return M.slice();var D=M.length,U=f?f(D):new M.constructor(D);return M.copy(U),U}},1044:(E,C,s)=>{"use strict";s.d(C,{Z:()=>c});var r=s(80609);const c=function a(u,e){var f=e?(0,r.Z)(u.buffer):u.buffer;return new u.constructor(f,u.byteOffset,u.length)}},36889:(E,C,s)=>{"use strict";s.d(C,{Z:()=>a});const a=function r(c,u){var e=-1,f=c.length;for(u||(u=Array(f));++e<f;)u[e]=c[e];return u}},57640:(E,C,s)=>{"use strict";s.d(C,{Z:()=>u});var r=s(15427),a=s(2951);const u=function c(e,f,m,T){var M=!m;m||(m={});for(var w=-1,D=f.length;++w<D;){var U=f[w],W=T?T(m[U],e[U],U,m,e):void 0;void 0===W&&(W=e[U]),M?(0,a.Z)(m,U,W):(0,r.Z)(m,U,W)}return m}},99567:(E,C,s)=>{"use strict";s.d(C,{Z:()=>c});var r=s(10259);const c=function(){try{var u=(0,r.Z)(Object,"defineProperty");return u({},"",{}),u}catch{}}()},7746:(E,C,s)=>{"use strict";s.d(C,{Z:()=>a});const a="object"==typeof global&&global&&global.Object===Object&&global},22018:(E,C,s)=>{"use strict";s.d(C,{Z:()=>e});var r=s(49137),a=s(75694),c=s(44409);const e=function u(f){return(0,r.Z)(f,c.Z,a.Z)}},23359:(E,C,s)=>{"use strict";s.d(C,{Z:()=>e});var r=s(49137),a=s(74202),c=s(34673);const e=function u(f){return(0,r.Z)(f,c.Z,a.Z)}},10259:(E,C,s)=>{"use strict";s.d(C,{Z:()=>fe});var Te,r=s(58209),c=s(40309).Z["__core-js_shared__"],e=(Te=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||""))?"Symbol(src)_1."+Te:"";var T=s(4214),M=s(22035),D=/^\[object .+?Constructor\]$/,F=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const de=function X(Te){return!(!(0,T.Z)(Te)||function f(Te){return!!e&&e in Te}(Te))&&((0,r.Z)(Te)?F:D).test((0,M.Z)(Te))},fe=function se(Te,$e){var ge=function V(Te,$e){return Te?.[$e]}(Te,$e);return de(ge)?ge:void 0}},11595:(E,C,s)=>{"use strict";s.d(C,{Z:()=>c});const c=(0,s(24184).Z)(Object.getPrototypeOf,Object)},75694:(E,C,s)=>{"use strict";s.d(C,{Z:()=>T});var c=s(38387),e=Object.prototype.propertyIsEnumerable,f=Object.getOwnPropertySymbols;const T=f?function(M){return null==M?[]:(M=Object(M),function r(M,w){for(var D=-1,U=null==M?0:M.length,W=0,$=[];++D<U;){var J=M[D];w(J,D,M)&&($[W++]=J)}return $}(f(M),function(w){return e.call(M,w)}))}:c.Z},74202:(E,C,s)=>{"use strict";s.d(C,{Z:()=>m});var r=s(57052),a=s(11595),c=s(75694),u=s(38387);const m=Object.getOwnPropertySymbols?function(T){for(var M=[];T;)(0,r.Z)(M,(0,c.Z)(T)),T=(0,a.Z)(T);return M}:u.Z},17507:(E,C,s)=>{"use strict";s.d(C,{Z:()=>Et});var r=s(10259),a=s(40309);const u=(0,r.Z)(a.Z,"DataView");var e=s(54673);const m=(0,r.Z)(a.Z,"Promise"),M=(0,r.Z)(a.Z,"Set"),D=(0,r.Z)(a.Z,"WeakMap");var U=s(98286),W=s(22035),$="[object Map]",F="[object Promise]",X="[object Set]",de="[object WeakMap]",V="[object DataView]",ce=(0,W.Z)(u),se=(0,W.Z)(e.Z),fe=(0,W.Z)(m),Te=(0,W.Z)(M),$e=(0,W.Z)(D),ge=U.Z;(u&&ge(new u(new ArrayBuffer(1)))!=V||e.Z&&ge(new e.Z)!=$||m&&ge(m.resolve())!=F||M&&ge(new M)!=X||D&&ge(new D)!=de)&&(ge=function(ot){var ct=(0,U.Z)(ot),qe="[object Object]"==ct?ot.constructor:void 0,He=qe?(0,W.Z)(qe):"";if(He)switch(He){case ce:return V;case se:return $;case fe:return F;case Te:return X;case $e:return de}return ct});const Et=ge},42542:(E,C,s)=>{"use strict";s.d(C,{Z:()=>T});var r=s(4214),a=Object.create;const u=function(){function M(){}return function(w){if(!(0,r.Z)(w))return{};if(a)return a(w);M.prototype=w;var D=new M;return M.prototype=void 0,D}}();var e=s(11595),f=s(31550);const T=function m(M){return"function"!=typeof M.constructor||(0,f.Z)(M)?{}:u((0,e.Z)(M))}},28078:(E,C,s)=>{"use strict";s.d(C,{Z:()=>u});var a=/^(?:0|[1-9]\d*)$/;const u=function c(e,f){var m=typeof e;return!!(f=f??9007199254740991)&&("number"==m||"symbol"!=m&&a.test(e))&&e>-1&&e%1==0&&e<f}},31550:(E,C,s)=>{"use strict";s.d(C,{Z:()=>c});var r=Object.prototype;const c=function a(u){var e=u&&u.constructor;return u===("function"==typeof e&&e.prototype||r)}},48514:(E,C,s)=>{"use strict";s.d(C,{Z:()=>m});var r=s(7746),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,c=a&&"object"==typeof module&&module&&!module.nodeType&&module,e=c&&c.exports===a&&r.Z.process;const m=function(){try{return c&&c.require&&c.require("util").types||e&&e.binding&&e.binding("util")}catch{}}()},24184:(E,C,s)=>{"use strict";s.d(C,{Z:()=>a});const a=function r(c,u){return function(e){return c(u(e))}}},40309:(E,C,s)=>{"use strict";s.d(C,{Z:()=>u});var r=s(7746),a="object"==typeof self&&self&&self.Object===Object&&self;const u=r.Z||a||Function("return this")()},22035:(E,C,s)=>{"use strict";s.d(C,{Z:()=>u});var a=Function.prototype.toString;const u=function c(e){if(null!=e){try{return a.call(e)}catch{}try{return e+""}catch{}}return""}},66224:(E,C,s)=>{"use strict";s.d(C,{Z:()=>a});const a=function r(c,u){return c===u||c!=c&&u!=u}},40591:(E,C,s)=>{"use strict";s.d(C,{Z:()=>w});var r=s(98286),a=s(6539);const e=function u(D){return(0,a.Z)(D)&&"[object Arguments]"==(0,r.Z)(D)};var f=Object.prototype,m=f.hasOwnProperty,T=f.propertyIsEnumerable;const w=e(function(){return arguments}())?e:function(D){return(0,a.Z)(D)&&m.call(D,"callee")&&!T.call(D,"callee")}},34654:(E,C,s)=>{"use strict";s.d(C,{Z:()=>a});const a=Array.isArray},18402:(E,C,s)=>{"use strict";s.d(C,{Z:()=>u});var r=s(58209),a=s(19238);const u=function c(e){return null!=e&&(0,a.Z)(e.length)&&!(0,r.Z)(e)}},25014:(E,C,s)=>{"use strict";s.d(C,{Z:()=>w});var r=s(40309),u="object"==typeof exports&&exports&&!exports.nodeType&&exports,e=u&&"object"==typeof module&&module&&!module.nodeType&&module,m=e&&e.exports===u?r.Z.Buffer:void 0;const w=(m?m.isBuffer:void 0)||function a(){return!1}},58209:(E,C,s)=>{"use strict";s.d(C,{Z:()=>T});var r=s(98286),a=s(4214);const T=function m(M){if(!(0,a.Z)(M))return!1;var w=(0,r.Z)(M);return"[object Function]"==w||"[object GeneratorFunction]"==w||"[object AsyncFunction]"==w||"[object Proxy]"==w}},19238:(E,C,s)=>{"use strict";s.d(C,{Z:()=>c});const c=function a(u){return"number"==typeof u&&u>-1&&u%1==0&&u<=9007199254740991}},4214:(E,C,s)=>{"use strict";s.d(C,{Z:()=>a});const a=function r(c){var u=typeof c;return null!=c&&("object"==u||"function"==u)}},6539:(E,C,s)=>{"use strict";s.d(C,{Z:()=>a});const a=function r(c){return null!=c&&"object"==typeof c}},14803:(E,C,s)=>{"use strict";s.d(C,{Z:()=>Xt});var r=s(98286),a=s(19238),c=s(6539),ct={};ct["[object Float32Array]"]=ct["[object Float64Array]"]=ct["[object Int8Array]"]=ct["[object Int16Array]"]=ct["[object Int32Array]"]=ct["[object Uint8Array]"]=ct["[object Uint8ClampedArray]"]=ct["[object Uint16Array]"]=ct["[object Uint32Array]"]=!0,ct["[object Arguments]"]=ct["[object Array]"]=ct["[object ArrayBuffer]"]=ct["[object Boolean]"]=ct["[object DataView]"]=ct["[object Date]"]=ct["[object Error]"]=ct["[object Function]"]=ct["[object Map]"]=ct["[object Number]"]=ct["[object Object]"]=ct["[object RegExp]"]=ct["[object Set]"]=ct["[object String]"]=ct["[object WeakMap]"]=!1;var We=s(21162),Le=s(48514),Pt=Le.Z&&Le.Z.isTypedArray;const Xt=Pt?(0,We.Z)(Pt):function qe(cn){return(0,c.Z)(cn)&&(0,a.Z)(cn.length)&&!!ct[(0,r.Z)(cn)]}},44409:(E,C,s)=>{"use strict";s.d(C,{Z:()=>U});var r=s(26438),a=s(31550);const e=(0,s(24184).Z)(Object.keys,Object);var m=Object.prototype.hasOwnProperty;var w=s(18402);const U=function D(W){return(0,w.Z)(W)?(0,r.Z)(W):function T(W){if(!(0,a.Z)(W))return e(W);var $=[];for(var J in Object(W))m.call(W,J)&&"constructor"!=J&&$.push(J);return $}(W)}},34673:(E,C,s)=>{"use strict";s.d(C,{Z:()=>U});var r=s(26438),a=s(4214),c=s(31550);var m=Object.prototype.hasOwnProperty;const M=function T(W){if(!(0,a.Z)(W))return function u(W){var $=[];if(null!=W)for(var J in Object(W))$.push(J);return $}(W);var $=(0,c.Z)(W),J=[];for(var F in W)"constructor"==F&&($||!m.call(W,F))||J.push(F);return J};var w=s(18402);const U=function D(W){return(0,w.Z)(W)?(0,r.Z)(W,!0):M(W)}},38387:(E,C,s)=>{"use strict";s.d(C,{Z:()=>a});const a=function r(){return[]}},23122:(E,C,s)=>{"use strict";s.d(C,{Rh:()=>it,_W:()=>He});var r=s(64537),a=s(14091),c=s(88692),u=s(79765),e=s(5998);const f=["toast-component",""];function m(At,qt){if(1&At){const sn=r.EpF();r.TgZ(0,"button",5),r.NdJ("click",function(){r.CHM(sn);const xn=r.oxw();return r.KtG(xn.remove())}),r.TgZ(1,"span",6),r._uU(2,"\xd7"),r.qZA()()}}function T(At,qt){if(1&At&&(r.ynx(0),r._uU(1),r.BQk()),2&At){const sn=r.oxw(2);r.xp6(1),r.hij("[",sn.duplicatesCount+1,"]")}}function M(At,qt){if(1&At&&(r.TgZ(0,"div"),r._uU(1),r.YNc(2,T,2,1,"ng-container",4),r.qZA()),2&At){const sn=r.oxw();r.Tol(sn.options.titleClass),r.uIk("aria-label",sn.title),r.xp6(1),r.hij(" ",sn.title," "),r.xp6(1),r.Q6J("ngIf",sn.duplicatesCount)}}function w(At,qt){if(1&At&&r._UZ(0,"div",7),2&At){const sn=r.oxw();r.Tol(sn.options.messageClass),r.Q6J("innerHTML",sn.message,r.oJD)}}function D(At,qt){if(1&At&&(r.TgZ(0,"div",8),r._uU(1),r.qZA()),2&At){const sn=r.oxw();r.Tol(sn.options.messageClass),r.uIk("aria-label",sn.message),r.xp6(1),r.hij(" ",sn.message," ")}}function U(At,qt){if(1&At&&(r.TgZ(0,"div"),r._UZ(1,"div",9),r.qZA()),2&At){const sn=r.oxw();r.xp6(1),r.Udp("width",sn.width+"%")}}class ce{_attachedHost;component;viewContainerRef;injector;constructor(qt,sn){this.component=qt,this.injector=sn}attach(qt,sn){return this._attachedHost=qt,qt.attach(this,sn)}detach(){const qt=this._attachedHost;if(qt)return this._attachedHost=void 0,qt.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(qt){this._attachedHost=qt}}class se{_attachedPortal;_disposeFn;attach(qt,sn){return this._attachedPortal=qt,this.attachComponentPortal(qt,sn)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(qt){this._disposeFn=qt}}class fe{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new u.xQ;_activate=new u.xQ;_manualClose=new u.xQ;_resetTimeout=new u.xQ;_countDuplicate=new u.xQ;constructor(qt){this._overlayRef=qt}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(qt,sn){qt&&this._resetTimeout.next(),sn&&this._countDuplicate.next(++this.duplicatesCount)}}class Te{toastId;config;message;title;toastType;toastRef;_onTap=new u.xQ;_onAction=new u.xQ;constructor(qt,sn,fn,xn,Kr,Or){this.toastId=qt,this.config=sn,this.message=fn,this.title=xn,this.toastType=Kr,this.toastRef=Or,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(qt){this._onAction.next(qt)}onAction(){return this._onAction.asObservable()}}const ge=new r.OlP("ToastConfig");class Et extends se{_hostDomElement;_componentFactoryResolver;_appRef;constructor(qt,sn,fn){super(),this._hostDomElement=qt,this._componentFactoryResolver=sn,this._appRef=fn}attachComponentPortal(qt,sn){const fn=this._componentFactoryResolver.resolveComponentFactory(qt.component);let xn;return xn=fn.create(qt.injector),this._appRef.attachView(xn.hostView),this.setDisposeFn(()=>{this._appRef.detachView(xn.hostView),xn.destroy()}),sn?this._hostDomElement.insertBefore(this._getComponentRootNode(xn),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(xn)),xn}_getComponentRootNode(qt){return qt.hostView.rootNodes[0]}}let ot=(()=>{class At{_document=(0,r.f3M)(c.K0);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const sn=this._document.createElement("div");sn.classList.add("overlay-container"),sn.setAttribute("aria-live","polite"),this._document.body.appendChild(sn),this._containerElement=sn}static \u0275fac=function(fn){return new(fn||At)};static \u0275prov=r.Yz7({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})();class ct{_portalHost;constructor(qt){this._portalHost=qt}attach(qt,sn=!0){return this._portalHost.attach(qt,sn)}detach(){return this._portalHost.detach()}}let qe=(()=>{class At{_overlayContainer=(0,r.f3M)(ot);_componentFactoryResolver=(0,r.f3M)(r._Vd);_appRef=(0,r.f3M)(r.z2F);_document=(0,r.f3M)(c.K0);_paneElements=new Map;create(sn,fn){return this._createOverlayRef(this.getPaneElement(sn,fn))}getPaneElement(sn="",fn){return this._paneElements.get(fn)||this._paneElements.set(fn,{}),this._paneElements.get(fn)[sn]||(this._paneElements.get(fn)[sn]=this._createPaneElement(sn,fn)),this._paneElements.get(fn)[sn]}_createPaneElement(sn,fn){const xn=this._document.createElement("div");return xn.id="toast-container",xn.classList.add(sn),xn.classList.add("toast-container"),fn?fn.getContainerElement().appendChild(xn):this._overlayContainer.getContainerElement().appendChild(xn),xn}_createPortalHost(sn){return new Et(sn,this._componentFactoryResolver,this._appRef)}_createOverlayRef(sn){return new ct(this._createPortalHost(sn))}static \u0275fac=function(fn){return new(fn||At)};static \u0275prov=r.Yz7({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})(),He=(()=>{class At{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(sn,fn,xn,Kr,Or){this.overlay=fn,this._injector=xn,this.sanitizer=Kr,this.ngZone=Or,this.toastrConfig={...sn.default,...sn.config},sn.config.iconClasses&&(this.toastrConfig.iconClasses={...sn.default.iconClasses,...sn.config.iconClasses})}show(sn,fn,xn={},Kr=""){return this._preBuildNotification(Kr,sn,fn,this.applyConfig(xn))}success(sn,fn,xn={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",sn,fn,this.applyConfig(xn))}error(sn,fn,xn={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",sn,fn,this.applyConfig(xn))}info(sn,fn,xn={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",sn,fn,this.applyConfig(xn))}warning(sn,fn,xn={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",sn,fn,this.applyConfig(xn))}clear(sn){for(const fn of this.toasts)if(void 0!==sn){if(fn.toastId===sn)return void fn.toastRef.manualClose()}else fn.toastRef.manualClose()}remove(sn){const fn=this._findToast(sn);if(!fn||(fn.activeToast.toastRef.close(),this.toasts.splice(fn.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const xn=this.toasts[this.currentlyActive].toastRef;xn.isInactive()||(this.currentlyActive=this.currentlyActive+1,xn.activate())}return!0}findDuplicate(sn="",fn="",xn,Kr){const{includeTitleDuplicates:Or}=this.toastrConfig;for(const Lr of this.toasts)if((!Or||Or&&Lr.title===sn)&&Lr.message===fn)return Lr.toastRef.onDuplicate(xn,Kr),Lr;return null}applyConfig(sn={}){return{...this.toastrConfig,...sn}}_findToast(sn){for(let fn=0;fn<this.toasts.length;fn++)if(this.toasts[fn].toastId===sn)return{index:fn,activeToast:this.toasts[fn]};return null}_preBuildNotification(sn,fn,xn,Kr){return Kr.onActivateTick?this.ngZone.run(()=>this._buildNotification(sn,fn,xn,Kr)):this._buildNotification(sn,fn,xn,Kr)}_buildNotification(sn,fn,xn,Kr){if(!Kr.toastComponent)throw new Error("toastComponent required");const Or=this.findDuplicate(xn,fn,this.toastrConfig.resetTimeoutOnDuplicate&&Kr.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&xn||fn)&&this.toastrConfig.preventDuplicates&&null!==Or)return Or;this.previousToastMessage=fn;let Lr=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Lr=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const ir=this.overlay.create(Kr.positionClass,this.overlayContainer);this.index=this.index+1;let Qr=fn;fn&&Kr.enableHtml&&(Qr=this.sanitizer.sanitize(r.q3G.HTML,fn));const jr=new fe(ir),br=new Te(this.index,Kr,Qr,xn,sn,jr),Wt=r.zs3.create({providers:[{provide:Te,useValue:br}],parent:this._injector}),Tt=new ce(Kr.toastComponent,Wt),wn=ir.attach(Tt,Kr.newestOnTop);jr.componentInstance=wn.instance;const jn={toastId:this.index,title:xn||"",message:fn||"",toastRef:jr,onShown:jr.afterActivate(),onHidden:jr.afterClosed(),onTap:br.onTap(),onAction:br.onAction(),portal:wn};return Lr||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{jn.toastRef.activate()})),this.toasts.push(jn),jn}static \u0275fac=function(fn){return new(fn||At)(r.LFG(ge),r.LFG(qe),r.LFG(r.zs3),r.LFG(e.H7),r.LFG(r.R0b))};static \u0275prov=r.Yz7({token:At,factory:At.\u0275fac,providedIn:"root"})}return At})();const Le={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class At{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if("inactive"===this.state.value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(sn,fn,xn){this.toastrService=sn,this.toastPackage=fn,this.ngZone=xn,this.message=fn.message,this.title=fn.title,this.options=fn.config,this.originalTimeout=fn.config.timeOut,this.toastClasses=`${fn.toastType} ${fn.config.toastClass}`,this.sub=fn.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=fn.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=fn.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=fn.toastRef.countDuplicate().subscribe(Kr=>{this.duplicatesCount=Kr}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const sn=(new Date).getTime();this.width=(this.hideTime-sn)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(sn,fn){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(sn),fn)):this.timeout=setTimeout(()=>sn(),fn)}outsideInterval(sn,fn){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(sn),fn)):this.intervalId=setInterval(()=>sn(),fn)}runInsideAngular(sn){this.ngZone?this.ngZone.run(()=>sn()):sn()}static \u0275fac=function(fn){return new(fn||At)(r.Y36(He),r.Y36(Te),r.Y36(r.R0b))};static \u0275cmp=r.Xpm({type:At,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(fn,xn){1&fn&&r.NdJ("click",function(){return xn.tapToast()})("mouseenter",function(){return xn.stickAround()})("mouseleave",function(){return xn.delayedHideToast()}),2&fn&&(r.d8E("@flyInOut",xn.state),r.Tol(xn.toastClasses),r.Udp("display",xn.displayStyle))},standalone:!0,features:[r.jDz],attrs:f,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(fn,xn){1&fn&&(r.YNc(0,m,3,0,"button",0),r.YNc(1,M,3,5,"div",1),r.YNc(2,w,1,3,"div",2),r.YNc(3,D,2,4,"div",3),r.YNc(4,U,2,2,"div",4)),2&fn&&(r.Q6J("ngIf",xn.options.closeButton),r.xp6(1),r.Q6J("ngIf",xn.title),r.xp6(1),r.Q6J("ngIf",xn.message&&xn.options.enableHtml),r.xp6(1),r.Q6J("ngIf",xn.message&&!xn.options.enableHtml),r.xp6(1),r.Q6J("ngIf",xn.options.progressBar))},dependencies:[c.O5],encapsulation:2,data:{animation:[(0,a.X$)("flyInOut",[(0,a.SB)("inactive",(0,a.oB)({opacity:0})),(0,a.SB)("active",(0,a.oB)({opacity:1})),(0,a.SB)("removed",(0,a.oB)({opacity:0})),(0,a.eR)("inactive => active",(0,a.jt)("{{ easeTime }}ms {{ easing }}")),(0,a.eR)("active => removed",(0,a.jt)("{{ easeTime }}ms {{ easing }}"))])]}})}return At})()},Pt=(At={})=>(0,r.MR2)([{provide:ge,useValue:{default:Le,config:At}}]);let it=(()=>{class At{static forRoot(sn={}){return{ngModule:At,providers:[Pt(sn)]}}static \u0275fac=function(fn){return new(fn||At)};static \u0275mod=r.oAB({type:At});static \u0275inj=r.cJS({})}return At})()},8239:(E,C,s)=>{"use strict";function r(c,u,e,f,m,T,M){try{var w=c[T](M),D=w.value}catch(U){return void e(U)}w.done?u(D):Promise.resolve(D).then(f,m)}function a(c){return function(){var u=this,e=arguments;return new Promise(function(f,m){var T=c.apply(u,e);function M(D){r(T,f,m,M,w,"next",D)}function w(D){r(T,f,m,M,w,"throw",D)}M(void 0)})}}s.d(C,{Z:()=>a})}},E=>{E(E.s=43486)}]); \ No newline at end of file
diff --git a/src/pybind/mgr/dashboard/frontend/dist/en-US/runtime.a53144ca583f6e2c.js b/src/pybind/mgr/dashboard/frontend/dist/en-US/runtime.a53144ca583f6e2c.js
deleted file mode 100644
index 8b7fc8258..000000000
--- a/src/pybind/mgr/dashboard/frontend/dist/en-US/runtime.a53144ca583f6e2c.js
+++ /dev/null
@@ -1 +0,0 @@
-(()=>{"use strict";var e,h={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return h[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=h,e=[],r.O=(n,t,f,i)=>{if(!t){var a=1/0;for(o=0;o<e.length;o++){for(var[t,f,i]=e[o],l=!0,d=0;d<t.length;d++)(!1&i||a>=i)&&Object.keys(r.O).every(b=>r.O[b](t[d]))?t.splice(d--,1):(l=!1,i<a&&(a=i));if(l){e.splice(o--,1);var c=f();void 0!==c&&(n=c)}}return n}i=i||0;for(var o=e.length;o>0&&e[o-1][2]>i;o--)e[o]=e[o-1];e[o]=[t,f,i]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,f){if(1&f&&(t=this(t)),8&f||"object"==typeof t&&t&&(4&f&&t.__esModule||16&f&&"function"==typeof t.then))return t;var i=Object.create(null);r.r(i);var o={};n=n||[null,e({}),e([]),e(e)];for(var a=2&f&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(l=>o[l]=()=>t[l]);return o.default=()=>t,r.d(i,o),i}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{25:"9d84971ea743706b",119:"066087561586659c",803:"08339784f3bb5d16"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="ceph-dashboard:";r.l=(t,f,i,o)=>{if(e[t])e[t].push(f);else{var a,l;if(void 0!==i)for(var d=document.getElementsByTagName("script"),c=0;c<d.length;c++){var s=d[c];if(s.getAttribute("src")==t||s.getAttribute("data-webpack")==n+i){a=s;break}}a||(l=!0,(a=document.createElement("script")).type="module",a.charset="utf-8",a.timeout=120,r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",n+i),a.src=r.tu(t)),e[t]=[f];var u=(_,b)=>{a.onerror=a.onload=null,clearTimeout(p);var g=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),g&&g.forEach(y=>y(b)),_)return _(b)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(f,i)=>{var o=r.o(e,f)?e[f]:void 0;if(0!==o)if(o)i.push(o[2]);else if(666!=f){var a=new Promise((s,u)=>o=e[f]=[s,u]);i.push(o[2]=a);var l=r.p+r.u(f),d=new Error;r.l(l,s=>{if(r.o(e,f)&&(0!==(o=e[f])&&(e[f]=void 0),o)){var u=s&&("load"===s.type?"missing":s.type),p=s&&s.target&&s.target.src;d.message="Loading chunk "+f+" failed.\n("+u+": "+p+")",d.name="ChunkLoadError",d.type=u,d.request=p,o[1](d)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var n=(f,i)=>{var d,c,[o,a,l]=i,s=0;if(o.some(p=>0!==e[p])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(l)var u=l(r)}for(f&&f(i);s<o.length;s++)r.o(e,c=o[s])&&e[c]&&e[c][0](),e[c]=0;return r.O(u)},t=self.webpackChunkceph_dashboard=self.webpackChunkceph_dashboard||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})()})(); \ No newline at end of file
diff --git a/src/pybind/mgr/dashboard/frontend/dist/en-US/runtime.bf967bb834d79a4e.js b/src/pybind/mgr/dashboard/frontend/dist/en-US/runtime.bf967bb834d79a4e.js
new file mode 100644
index 000000000..f702f8842
--- /dev/null
+++ b/src/pybind/mgr/dashboard/frontend/dist/en-US/runtime.bf967bb834d79a4e.js
@@ -0,0 +1 @@
+(()=>{"use strict";var e,h={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return h[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=h,e=[],r.O=(n,t,f,i)=>{if(!t){var a=1/0;for(o=0;o<e.length;o++){for(var[t,f,i]=e[o],l=!0,d=0;d<t.length;d++)(!1&i||a>=i)&&Object.keys(r.O).every(b=>r.O[b](t[d]))?t.splice(d--,1):(l=!1,i<a&&(a=i));if(l){e.splice(o--,1);var c=f();void 0!==c&&(n=c)}}return n}i=i||0;for(var o=e.length;o>0&&e[o-1][2]>i;o--)e[o]=e[o-1];e[o]=[t,f,i]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,f){if(1&f&&(t=this(t)),8&f||"object"==typeof t&&t&&(4&f&&t.__esModule||16&f&&"function"==typeof t.then))return t;var i=Object.create(null);r.r(i);var o={};n=n||[null,e({}),e([]),e(e)];for(var a=2&f&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(l=>o[l]=()=>t[l]);return o.default=()=>t,r.d(i,o),i}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{119:"5ef73bbadc71cad9",121:"9dd4ed4e557d3110",889:"a4d8d718c0568f41"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="ceph-dashboard:";r.l=(t,f,i,o)=>{if(e[t])e[t].push(f);else{var a,l;if(void 0!==i)for(var d=document.getElementsByTagName("script"),c=0;c<d.length;c++){var s=d[c];if(s.getAttribute("src")==t||s.getAttribute("data-webpack")==n+i){a=s;break}}a||(l=!0,(a=document.createElement("script")).type="module",a.charset="utf-8",a.timeout=120,r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",n+i),a.src=r.tu(t)),e[t]=[f];var u=(_,b)=>{a.onerror=a.onload=null,clearTimeout(p);var g=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),g&&g.forEach(y=>y(b)),_)return _(b)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(f,i)=>{var o=r.o(e,f)?e[f]:void 0;if(0!==o)if(o)i.push(o[2]);else if(666!=f){var a=new Promise((s,u)=>o=e[f]=[s,u]);i.push(o[2]=a);var l=r.p+r.u(f),d=new Error;r.l(l,s=>{if(r.o(e,f)&&(0!==(o=e[f])&&(e[f]=void 0),o)){var u=s&&("load"===s.type?"missing":s.type),p=s&&s.target&&s.target.src;d.message="Loading chunk "+f+" failed.\n("+u+": "+p+")",d.name="ChunkLoadError",d.type=u,d.request=p,o[1](d)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var n=(f,i)=>{var d,c,[o,a,l]=i,s=0;if(o.some(p=>0!==e[p])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(l)var u=l(r)}for(f&&f(i);s<o.length;s++)r.o(e,c=o[s])&&e[c]&&e[c][0](),e[c]=0;return r.O(u)},t=self.webpackChunkceph_dashboard=self.webpackChunkceph_dashboard||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})()})(); \ No newline at end of file
diff --git a/src/pybind/mgr/dashboard/frontend/dist/en-US/scripts.177a7ad3f45b4499.js b/src/pybind/mgr/dashboard/frontend/dist/en-US/scripts.177a7ad3f45b4499.js
deleted file mode 100644
index ab26f34c9..000000000
--- a/src/pybind/mgr/dashboard/frontend/dist/en-US/scripts.177a7ad3f45b4499.js
+++ /dev/null
@@ -1 +0,0 @@
-!function(St,Dt){"object"==typeof exports&&typeof module<"u"?module.exports=Dt():"function"==typeof define&&define.amd?define(Dt):(St=St||self).Chart=Dt()}(this,function(){"use strict";function za(e,t){return e(t={exports:{}},t.exports),t.exports}typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"&&self;var Xe={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},K=za(function(e){var t={};for(var r in Xe)Xe.hasOwnProperty(r)&&(t[Xe[r]]=r);var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var n in a)if(a.hasOwnProperty(n)){if(!("channels"in a[n]))throw new Error("missing channels property: "+n);if(!("labels"in a[n]))throw new Error("missing channel labels property: "+n);if(a[n].labels.length!==a[n].channels)throw new Error("channel and label counts mismatch: "+n);var o=a[n].channels,s=a[n].labels;delete a[n].channels,delete a[n].labels,Object.defineProperty(a[n],"channels",{value:o}),Object.defineProperty(a[n],"labels",{value:s})}function d(l,f){return Math.pow(l[0]-f[0],2)+Math.pow(l[1]-f[1],2)+Math.pow(l[2]-f[2],2)}a.rgb.hsl=function(l){var w,M,f=l[0]/255,c=l[1]/255,v=l[2]/255,p=Math.min(f,c,v),y=Math.max(f,c,v),_=y-p;return y===p?w=0:f===y?w=(c-v)/_:c===y?w=2+(v-f)/_:v===y&&(w=4+(f-c)/_),(w=Math.min(60*w,360))<0&&(w+=360),M=(p+y)/2,[w,100*(y===p?0:M<=.5?_/(y+p):_/(2-y-p)),100*M]},a.rgb.hsv=function(l){var f,c,v,p,y,_=l[0]/255,w=l[1]/255,x=l[2]/255,M=Math.max(_,w,x),T=M-Math.min(_,w,x),C=function(I){return(M-I)/6/T+.5};return 0===T?p=y=0:(y=T/M,f=C(_),c=C(w),v=C(x),_===M?p=v-c:w===M?p=1/3+f-v:x===M&&(p=2/3+c-f),p<0?p+=1:p>1&&(p-=1)),[360*p,100*y,100*M]},a.rgb.hwb=function(l){var f=l[0],c=l[1],v=l[2];return[a.rgb.hsl(l)[0],1/255*Math.min(f,Math.min(c,v))*100,100*(v=1-1/255*Math.max(f,Math.max(c,v)))]},a.rgb.cmyk=function(l){var w,f=l[0]/255,c=l[1]/255,v=l[2]/255;return[100*((1-f-(w=Math.min(1-f,1-c,1-v)))/(1-w)||0),100*((1-c-w)/(1-w)||0),100*((1-v-w)/(1-w)||0),100*w]},a.rgb.keyword=function(l){var f=t[l];if(f)return f;var v,c=1/0;for(var p in Xe)if(Xe.hasOwnProperty(p)){var _=d(l,Xe[p]);_<c&&(c=_,v=p)}return v},a.keyword.rgb=function(l){return Xe[l]},a.rgb.xyz=function(l){var f=l[0]/255,c=l[1]/255,v=l[2]/255;return[100*(.4124*(f=f>.04045?Math.pow((f+.055)/1.055,2.4):f/12.92)+.3576*(c=c>.04045?Math.pow((c+.055)/1.055,2.4):c/12.92)+.1805*(v=v>.04045?Math.pow((v+.055)/1.055,2.4):v/12.92)),100*(.2126*f+.7152*c+.0722*v),100*(.0193*f+.1192*c+.9505*v)]},a.rgb.lab=function(l){var f=a.rgb.xyz(l),c=f[0],v=f[1],p=f[2];return v/=100,p/=108.883,c=(c/=95.047)>.008856?Math.pow(c,1/3):7.787*c+16/116,[116*(v=v>.008856?Math.pow(v,1/3):7.787*v+16/116)-16,500*(c-v),200*(v-(p=p>.008856?Math.pow(p,1/3):7.787*p+16/116))]},a.hsl.rgb=function(l){var p,y,_,w,x,f=l[0]/360,c=l[1]/100,v=l[2]/100;if(0===c)return[x=255*v,x,x];p=2*v-(y=v<.5?v*(1+c):v+c-v*c),w=[0,0,0];for(var M=0;M<3;M++)(_=f+1/3*-(M-1))<0&&_++,_>1&&_--,w[M]=255*(x=6*_<1?p+6*(y-p)*_:2*_<1?y:3*_<2?p+(y-p)*(2/3-_)*6:p);return w},a.hsl.hsv=function(l){var f=l[0],c=l[1]/100,v=l[2]/100,p=c,y=Math.max(v,.01);return c*=(v*=2)<=1?v:2-v,p*=y<=1?y:2-y,[f,100*(0===v?2*p/(y+p):2*c/(v+c)),(v+c)/2*100]},a.hsv.rgb=function(l){var f=l[0]/60,c=l[1]/100,v=l[2]/100,p=Math.floor(f)%6,y=f-Math.floor(f),_=255*v*(1-c),w=255*v*(1-c*y),x=255*v*(1-c*(1-y));switch(v*=255,p){case 0:return[v,x,_];case 1:return[w,v,_];case 2:return[_,v,x];case 3:return[_,w,v];case 4:return[x,_,v];case 5:return[v,_,w]}},a.hsv.hsl=function(l){var y,_,w,f=l[0],c=l[1]/100,v=l[2]/100,p=Math.max(v,.01);return w=(2-c)*v,_=c*p,[f,100*(_=(_/=(y=(2-c)*p)<=1?y:2-y)||0),100*(w/=2)]},a.hwb.rgb=function(l){var y,_,w,x,M,T,C,f=l[0]/360,c=l[1]/100,v=l[2]/100,p=c+v;switch(p>1&&(c/=p,v/=p),w=6*f-(y=Math.floor(6*f)),1&y&&(w=1-w),x=c+w*((_=1-v)-c),y){default:case 6:case 0:M=_,T=x,C=c;break;case 1:M=x,T=_,C=c;break;case 2:M=c,T=_,C=x;break;case 3:M=c,T=x,C=_;break;case 4:M=x,T=c,C=_;break;case 5:M=_,T=c,C=x}return[255*M,255*T,255*C]},a.cmyk.rgb=function(l){var c=l[1]/100,v=l[2]/100,p=l[3]/100;return[255*(1-Math.min(1,l[0]/100*(1-p)+p)),255*(1-Math.min(1,c*(1-p)+p)),255*(1-Math.min(1,v*(1-p)+p))]},a.xyz.rgb=function(l){var p,y,_,f=l[0]/100,c=l[1]/100,v=l[2]/100;return y=-.9689*f+1.8758*c+.0415*v,_=.0557*f+-.204*c+1.057*v,p=(p=3.2406*f+-1.5372*c+-.4986*v)>.0031308?1.055*Math.pow(p,1/2.4)-.055:12.92*p,y=y>.0031308?1.055*Math.pow(y,1/2.4)-.055:12.92*y,_=_>.0031308?1.055*Math.pow(_,1/2.4)-.055:12.92*_,[255*(p=Math.min(Math.max(0,p),1)),255*(y=Math.min(Math.max(0,y),1)),255*(_=Math.min(Math.max(0,_),1))]},a.xyz.lab=function(l){var f=l[0],c=l[1],v=l[2];return c/=100,v/=108.883,f=(f/=95.047)>.008856?Math.pow(f,1/3):7.787*f+16/116,[116*(c=c>.008856?Math.pow(c,1/3):7.787*c+16/116)-16,500*(f-c),200*(c-(v=v>.008856?Math.pow(v,1/3):7.787*v+16/116))]},a.lab.xyz=function(l){var p,y,_;p=l[1]/500+(y=(l[0]+16)/116),_=y-l[2]/200;var w=Math.pow(y,3),x=Math.pow(p,3),M=Math.pow(_,3);return y=w>.008856?w:(y-16/116)/7.787,p=x>.008856?x:(p-16/116)/7.787,_=M>.008856?M:(_-16/116)/7.787,[p*=95.047,y*=100,_*=108.883]},a.lab.lch=function(l){var y,f=l[0],c=l[1],v=l[2];return(y=360*Math.atan2(v,c)/2/Math.PI)<0&&(y+=360),[f,Math.sqrt(c*c+v*v),y]},a.lch.lab=function(l){var _,c=l[1];return _=l[2]/360*2*Math.PI,[l[0],c*Math.cos(_),c*Math.sin(_)]},a.rgb.ansi16=function(l){var f=l[0],c=l[1],v=l[2],p=1 in arguments?arguments[1]:a.rgb.hsv(l)[2];if(0===(p=Math.round(p/50)))return 30;var y=30+(Math.round(v/255)<<2|Math.round(c/255)<<1|Math.round(f/255));return 2===p&&(y+=60),y},a.hsv.ansi16=function(l){return a.rgb.ansi16(a.hsv.rgb(l),l[2])},a.rgb.ansi256=function(l){var f=l[0],c=l[1],v=l[2];return f===c&&c===v?f<8?16:f>248?231:Math.round((f-8)/247*24)+232:16+36*Math.round(f/255*5)+6*Math.round(c/255*5)+Math.round(v/255*5)},a.ansi16.rgb=function(l){var f=l%10;if(0===f||7===f)return l>50&&(f+=3.5),[f=f/10.5*255,f,f];var c=.5*(1+~~(l>50));return[(1&f)*c*255,(f>>1&1)*c*255,(f>>2&1)*c*255]},a.ansi256.rgb=function(l){if(l>=232){var f=10*(l-232)+8;return[f,f,f]}var c;return l-=16,[Math.floor(l/36)/5*255,Math.floor((c=l%36)/6)/5*255,c%6/5*255]},a.rgb.hex=function(l){var c=(((255&Math.round(l[0]))<<16)+((255&Math.round(l[1]))<<8)+(255&Math.round(l[2]))).toString(16).toUpperCase();return"000000".substring(c.length)+c},a.hex.rgb=function(l){var f=l.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!f)return[0,0,0];var c=f[0];3===f[0].length&&(c=c.split("").map(function(w){return w+w}).join(""));var v=parseInt(c,16);return[v>>16&255,v>>8&255,255&v]},a.rgb.hcg=function(l){var x,f=l[0]/255,c=l[1]/255,v=l[2]/255,p=Math.max(Math.max(f,c),v),y=Math.min(Math.min(f,c),v),_=p-y;return x=_<=0?0:p===f?(c-v)/_%6:p===c?2+(v-f)/_:4+(f-c)/_+4,x/=6,[360*(x%=1),100*_,100*(_<1?y/(1-_):0)]},a.hsl.hcg=function(l){var v,f=l[1]/100,c=l[2]/100,p=0;return(v=c<.5?2*f*c:2*f*(1-c))<1&&(p=(c-.5*v)/(1-v)),[l[0],100*v,100*p]},a.hsv.hcg=function(l){var c=l[2]/100,v=l[1]/100*c,p=0;return v<1&&(p=(c-v)/(1-v)),[l[0],100*v,100*p]},a.hcg.rgb=function(l){var c=l[1]/100,v=l[2]/100;if(0===c)return[255*v,255*v,255*v];var x,p=[0,0,0],y=l[0]/360%1*6,_=y%1,w=1-_;switch(Math.floor(y)){case 0:p[0]=1,p[1]=_,p[2]=0;break;case 1:p[0]=w,p[1]=1,p[2]=0;break;case 2:p[0]=0,p[1]=1,p[2]=_;break;case 3:p[0]=0,p[1]=w,p[2]=1;break;case 4:p[0]=_,p[1]=0,p[2]=1;break;default:p[0]=1,p[1]=0,p[2]=w}return[255*(c*p[0]+(x=(1-c)*v)),255*(c*p[1]+x),255*(c*p[2]+x)]},a.hcg.hsv=function(l){var f=l[1]/100,v=f+l[2]/100*(1-f),p=0;return v>0&&(p=f/v),[l[0],100*p,100*v]},a.hcg.hsl=function(l){var f=l[1]/100,v=l[2]/100*(1-f)+.5*f,p=0;return v>0&&v<.5?p=f/(2*v):v>=.5&&v<1&&(p=f/(2*(1-v))),[l[0],100*p,100*v]},a.hcg.hwb=function(l){var f=l[1]/100,v=f+l[2]/100*(1-f);return[l[0],100*(v-f),100*(1-v)]},a.hwb.hcg=function(l){var v=1-l[2]/100,p=v-l[1]/100,y=0;return p<1&&(y=(v-p)/(1-p)),[l[0],100*p,100*y]},a.apple.rgb=function(l){return[l[0]/65535*255,l[1]/65535*255,l[2]/65535*255]},a.rgb.apple=function(l){return[l[0]/255*65535,l[1]/255*65535,l[2]/255*65535]},a.gray.rgb=function(l){return[l[0]/100*255,l[0]/100*255,l[0]/100*255]},a.gray.hsl=a.gray.hsv=function(l){return[0,0,l[0]]},a.gray.hwb=function(l){return[0,100,l[0]]},a.gray.cmyk=function(l){return[0,0,0,l[0]]},a.gray.lab=function(l){return[l[0],0,0]},a.gray.hex=function(l){var f=255&Math.round(l[0]/100*255),v=((f<<16)+(f<<8)+f).toString(16).toUpperCase();return"000000".substring(v.length)+v},a.rgb.gray=function(l){return[(l[0]+l[1]+l[2])/3/255*100]}});function Vi(e,t){return function(r){return t(e(r))}}function Ui(e,t){for(var r=[t[e].parent,e],a=K[t[e].parent][e],n=t[e].parent;t[n].parent;)r.unshift(t[n].parent),a=Vi(K[t[n].parent][n],a),n=t[n].parent;return a.conversion=r,a}var ft={};Object.keys(K).forEach(function(e){ft[e]={},Object.defineProperty(ft[e],"channels",{value:K[e].channels}),Object.defineProperty(ft[e],"labels",{value:K[e].labels});var t=function(e){for(var t=function Hi(e){var t=function Bi(){for(var e={},t=Object.keys(K),r=t.length,a=0;a<r;a++)e[t[a]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var a=r.pop(),n=Object.keys(K[a]),o=n.length,s=0;s<o;s++){var d=n[s],l=t[d];-1===l.distance&&(l.distance=t[a].distance+1,l.parent=a,r.unshift(d))}return t}(e),r={},a=Object.keys(t),n=a.length,o=0;o<n;o++){var s=a[o];null!==t[s].parent&&(r[s]=Ui(s,t))}return r}(e);Object.keys(t).forEach(function(a){var n=t[a];ft[e][a]=function qi(e){var t=function(r){if(null==r)return r;arguments.length>1&&(r=Array.prototype.slice.call(arguments));var a=e(r);if("object"==typeof a)for(var n=a.length,o=0;o<n;o++)a[o]=Math.round(a[o]);return a};return"conversion"in e&&(t.conversion=e.conversion),t}(n),ft[e][a].raw=function $i(e){var t=function(r){return null==r?r:(arguments.length>1&&(r=Array.prototype.slice.call(arguments)),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)})});var Zi=ft,Fr={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},_e={getRgba:Ar,getHsla:Ir,getRgb:function Xi(e){var t=Ar(e);return t&&t.slice(0,3)},getHsl:function Ki(e){var t=Ir(e);return t&&t.slice(0,3)},getHwb:Ba,getAlpha:function Ji(e){var t=Ar(e);return t||(t=Ir(e))||(t=Ba(e))?t[3]:void 0},hexString:function Qi(e,r){return r=void 0!==r&&3===e.length?r:e[3],"#"+Xt(e[0])+Xt(e[1])+Xt(e[2])+(r>=0&&r<1?Xt(Math.round(255*r)):"")},rgbString:function eo(e,t){return t<1||e[3]&&e[3]<1?Ha(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:Ha,percentString:function to(e,t){return t<1||e[3]&&e[3]<1?Va(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"},percentaString:Va,hslString:function ro(e,t){return t<1||e[3]&&e[3]<1?Ua(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:Ua,hwbString:function ao(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function no(e){return ja[e.slice(0,3)]}};function Ar(e){if(e){var s=[0,0,0],d=1,l=e.match(/^#([a-fA-F0-9]{3,4})$/i),f="";if(l){f=(l=l[1])[3];for(var c=0;c<s.length;c++)s[c]=parseInt(l[c]+l[c],16);f&&(d=Math.round(parseInt(f+f,16)/255*100)/100)}else if(l=e.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(f=l[2],l=l[1],c=0;c<s.length;c++)s[c]=parseInt(l.slice(2*c,2*c+2),16);f&&(d=Math.round(parseInt(f,16)/255*100)/100)}else if(l=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(c=0;c<s.length;c++)s[c]=parseInt(l[c+1]);d=parseFloat(l[4])}else if(l=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(c=0;c<s.length;c++)s[c]=Math.round(2.55*parseFloat(l[c+1]));d=parseFloat(l[4])}else if(l=e.match(/(\w+)/)){if("transparent"==l[1])return[0,0,0,0];if(!(s=Fr[l[1]]))return}for(c=0;c<s.length;c++)s[c]=Se(s[c],0,255);return d=d||0==d?Se(d,0,1):1,s[3]=d,s}}function Ir(e){if(e){var r=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(r){var a=parseFloat(r[4]);return[Se(parseInt(r[1]),0,360),Se(parseFloat(r[2]),0,100),Se(parseFloat(r[3]),0,100),Se(isNaN(a)?1:a,0,1)]}}}function Ba(e){if(e){var r=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(r){var a=parseFloat(r[4]);return[Se(parseInt(r[1]),0,360),Se(parseFloat(r[2]),0,100),Se(parseFloat(r[3]),0,100),Se(isNaN(a)?1:a,0,1)]}}}function Ha(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function Va(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function Ua(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function Se(e,t,r){return Math.min(Math.max(t,e),r)}function Xt(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var ja={};for(var Ga in Fr)ja[Fr[Ga]]=Ga;var he=function(e){return e instanceof he?e:this instanceof he?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=_e.getRgba(e))?this.setValues("rgb",t):(t=_e.getHsla(e))?this.setValues("hsl",t):(t=_e.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):(void 0!==t.c||void 0!==t.cyan)&&this.setValues("cmyk",t)))):new he(e);var t};he.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return _e.hexString(this.values.rgb)},rgbString:function(){return _e.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return _e.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return _e.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return _e.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return _e.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return _e.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return _e.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],r=0;r<e.length;r++){var a=e[r]/255;t[r]=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,r=(t[0]+e)%360;return t[0]=r<0?360+r:r,this.setValues("hsl",t),this},mix:function(e,t){var r=this,a=e,n=void 0===t?.5:t,o=2*n-1,s=r.alpha()-a.alpha(),d=((o*s==-1?o:(o+s)/(1+o*s))+1)/2,l=1-d;return this.rgb(d*r.red()+l*a.red(),d*r.green()+l*a.green(),d*r.blue()+l*a.blue()).alpha(r.alpha()*n+a.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var a,n,e=new he,t=this.values,r=e.values;for(var o in t)t.hasOwnProperty(o)&&("[object Array]"===(n={}.toString.call(a=t[o]))?r[o]=a.slice(0):"[object Number]"===n?r[o]=a:console.error("unexpected color value:",a));return e}},he.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},he.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},he.prototype.getValues=function(e){for(var t=this.values,r={},a=0;a<e.length;a++)r[e.charAt(a)]=t[e][a];return 1!==t.alpha&&(r.a=t.alpha),r},he.prototype.setValues=function(e,t){var s,l,r=this.values,a=this.spaces,n=this.maxes,o=1;if(this.valid=!0,"alpha"===e)o=t;else if(t.length)r[e]=t.slice(0,e.length),o=t[e.length];else if(void 0!==t[e.charAt(0)]){for(s=0;s<e.length;s++)r[e][s]=t[e.charAt(s)];o=t.a}else if(void 0!==t[a[e][0]]){var d=a[e];for(s=0;s<e.length;s++)r[e][s]=t[d[s]];o=t.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===o?r.alpha:o)),"alpha"===e)return!1;for(s=0;s<e.length;s++)l=Math.max(0,Math.min(n[e][s],r[e][s])),r[e][s]=Math.round(l);for(var f in a)f!==e&&(r[f]=Zi[e][f](r[e]));return!0},he.prototype.setSpace=function(e,t){var r=t[0];return void 0===r?this.getValues(e):("number"==typeof r&&(r=Array.prototype.slice.call(t)),this.setValues(e,r),this)},he.prototype.setChannel=function(e,t,r){var a=this.values[e];return void 0===r?a[t]:(r===a[t]||(a[t]=r,this.setValues(e,a)),this)},typeof window<"u"&&(window.Color=he);var Kt=he;function $a(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}var e,B={noop:function(){},uid:(e=0,function(){return e++}),isNullOrUndef:function(e){return null===e||typeof e>"u"},isArray:function(e){if(Array.isArray&&Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},isFinite:function(e){return("number"==typeof e||e instanceof Number)&&isFinite(e)},valueOrDefault:function(e,t){return typeof e>"u"?t:e},valueAtIndexOrDefault:function(e,t,r){return B.valueOrDefault(B.isArray(e)?e[t]:e,r)},callback:function(e,t,r){if(e&&"function"==typeof e.call)return e.apply(r,t)},each:function(e,t,r,a){var n,o,s;if(B.isArray(e))if(o=e.length,a)for(n=o-1;n>=0;n--)t.call(r,e[n],n);else for(n=0;n<o;n++)t.call(r,e[n],n);else if(B.isObject(e))for(o=(s=Object.keys(e)).length,n=0;n<o;n++)t.call(r,e[s[n]],s[n])},arrayEquals:function(e,t){var r,a,n,o;if(!e||!t||e.length!==t.length)return!1;for(r=0,a=e.length;r<a;++r)if(o=t[r],(n=e[r])instanceof Array&&o instanceof Array){if(!B.arrayEquals(n,o))return!1}else if(n!==o)return!1;return!0},clone:function(e){if(B.isArray(e))return e.map(B.clone);if(B.isObject(e)){for(var t=Object.create(e),r=Object.keys(e),a=r.length,n=0;n<a;++n)t[r[n]]=B.clone(e[r[n]]);return t}return e},_merger:function(e,t,r,a){if($a(e)){var n=t[e],o=r[e];B.isObject(n)&&B.isObject(o)?B.merge(n,o,a):t[e]=B.clone(o)}},_mergerIf:function(e,t,r){if($a(e)){var a=t[e],n=r[e];B.isObject(a)&&B.isObject(n)?B.mergeIf(a,n):t.hasOwnProperty(e)||(t[e]=B.clone(n))}},merge:function(e,t,r){var o,s,d,l,f,a=B.isArray(t)?t:[t],n=a.length;if(!B.isObject(e))return e;for(o=(r=r||{}).merger||B._merger,s=0;s<n;++s)if(B.isObject(t=a[s]))for(f=0,l=(d=Object.keys(t)).length;f<l;++f)o(d[f],e,t,r);return e},mergeIf:function(e,t){return B.merge(e,t,{merger:B._mergerIf})},extend:Object.assign||function(e){return B.merge(e,[].slice.call(arguments,1),{merger:function(t,r,a){r[t]=a[t]}})},inherits:function(e){var t=this,r=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},a=function(){this.constructor=r};return a.prototype=t.prototype,r.prototype=new a,r.extend=B.inherits,e&&B.extend(r.prototype,e),r.__super__=t.prototype,r},_deprecated:function(e,t,r,a){void 0!==t&&console.warn(e+': "'+r+'" is deprecated. Please use "'+a+'" instead')}},ve=B;B.callCallback=B.callback,B.indexOf=function(e,t,r){return Array.prototype.indexOf.call(e,t,r)},B.getValueOrDefault=B.valueOrDefault,B.getValueAtIndexOrDefault=B.valueAtIndexOrDefault;var Tt={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,r=0,a=1;return 0===e?0:1===e?1:(r||(r=.3),a<1?(a=1,t=r/4):t=r/(2*Math.PI)*Math.asin(1/a),-a*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r))},easeOutElastic:function(e){var t=1.70158,r=0,a=1;return 0===e?0:1===e?1:(r||(r=.3),a<1?(a=1,t=r/4):t=r/(2*Math.PI)*Math.asin(1/a),a*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},easeInOutElastic:function(e){var t=1.70158,r=0,a=1;return 0===e?0:2==(e/=.5)?1:(r||(r=.45),a<1?(a=1,t=r/4):t=r/(2*Math.PI)*Math.asin(1/a),e<1?a*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*-.5:a*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-Tt.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*Tt.easeInBounce(2*e):.5*Tt.easeOutBounce(2*e-1)+.5}},io={effects:Tt};ve.easingEffects=Tt;var oe=Math.PI,oo=oe/180,so=2*oe,ge=oe/2,Ct=oe/4,qa=2*oe/3,Jt={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,r,a,n,o){if(o){var s=Math.min(o,n/2,a/2),d=t+s,l=r+s,f=t+a-s,c=r+n-s;e.moveTo(t,l),d<f&&l<c?(e.arc(d,l,s,-oe,-ge),e.arc(f,l,s,-ge,0),e.arc(f,c,s,0,ge),e.arc(d,c,s,ge,oe)):d<f?(e.moveTo(d,r),e.arc(f,l,s,-ge,ge),e.arc(d,l,s,ge,oe+ge)):l<c?(e.arc(d,l,s,-oe,0),e.arc(d,c,s,0,oe)):e.arc(d,l,s,-oe,oe),e.closePath(),e.moveTo(t,r)}else e.rect(t,r,a,n)},drawPoint:function(e,t,r,a,n,o){var s,d,l,f,c,v=(o||0)*oo;if(t&&"object"==typeof t&&("[object HTMLImageElement]"===(s=t.toString())||"[object HTMLCanvasElement]"===s))return e.save(),e.translate(a,n),e.rotate(v),e.drawImage(t,-t.width/2,-t.height/2,t.width,t.height),void e.restore();if(!(isNaN(r)||r<=0)){switch(e.beginPath(),t){default:e.arc(a,n,r,0,so),e.closePath();break;case"triangle":e.moveTo(a+Math.sin(v)*r,n-Math.cos(v)*r),v+=qa,e.lineTo(a+Math.sin(v)*r,n-Math.cos(v)*r),v+=qa,e.lineTo(a+Math.sin(v)*r,n-Math.cos(v)*r),e.closePath();break;case"rectRounded":f=r-(c=.516*r),d=Math.cos(v+Ct)*f,l=Math.sin(v+Ct)*f,e.arc(a-d,n-l,c,v-oe,v-ge),e.arc(a+l,n-d,c,v-ge,v),e.arc(a+d,n+l,c,v,v+ge),e.arc(a-l,n+d,c,v+ge,v+oe),e.closePath();break;case"rect":if(!o){f=Math.SQRT1_2*r,e.rect(a-f,n-f,2*f,2*f);break}v+=Ct;case"rectRot":d=Math.cos(v)*r,l=Math.sin(v)*r,e.moveTo(a-d,n-l),e.lineTo(a+l,n-d),e.lineTo(a+d,n+l),e.lineTo(a-l,n+d),e.closePath();break;case"crossRot":v+=Ct;case"cross":d=Math.cos(v)*r,l=Math.sin(v)*r,e.moveTo(a-d,n-l),e.lineTo(a+d,n+l),e.moveTo(a+l,n-d),e.lineTo(a-l,n+d);break;case"star":d=Math.cos(v)*r,l=Math.sin(v)*r,e.moveTo(a-d,n-l),e.lineTo(a+d,n+l),e.moveTo(a+l,n-d),e.lineTo(a-l,n+d),v+=Ct,d=Math.cos(v)*r,l=Math.sin(v)*r,e.moveTo(a-d,n-l),e.lineTo(a+d,n+l),e.moveTo(a+l,n-d),e.lineTo(a-l,n+d);break;case"line":d=Math.cos(v)*r,l=Math.sin(v)*r,e.moveTo(a-d,n-l),e.lineTo(a+d,n+l);break;case"dash":e.moveTo(a,n),e.lineTo(a+Math.cos(v)*r,n+Math.sin(v)*r)}e.fill(),e.stroke()}},_isPointInArea:function(e,t){var r=1e-6;return e.x>t.left-r&&e.x<t.right+r&&e.y>t.top-r&&e.y<t.bottom+r},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,r,a){var n=r.steppedLine;if(n){if("middle"===n){var o=(t.x+r.x)/2;e.lineTo(o,a?r.y:t.y),e.lineTo(o,a?t.y:r.y)}else"after"===n&&!a||"after"!==n&&a?e.lineTo(t.x,r.y):e.lineTo(r.x,t.y);e.lineTo(r.x,r.y)}else r.tension?e.bezierCurveTo(a?t.controlPointPreviousX:t.controlPointNextX,a?t.controlPointPreviousY:t.controlPointNextY,a?r.controlPointNextX:r.controlPointPreviousX,a?r.controlPointNextY:r.controlPointPreviousY,r.x,r.y):e.lineTo(r.x,r.y)}},lo=Jt;ve.clear=Jt.clear,ve.drawRoundedRectangle=function(e){e.beginPath(),Jt.roundedRect.apply(Jt,arguments)};var Za={_set:function(e,t){return ve.merge(this[e]||(this[e]={}),t)}};Za._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var F=Za,Qt=ve.valueOrDefault,fo={toLineHeight:function(e,t){var r=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!r||"normal"===r[1])return 1.2*t;switch(e=+r[2],r[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,r,a,n;return ve.isObject(e)?(t=+e.top||0,r=+e.right||0,a=+e.bottom||0,n=+e.left||0):t=r=a=n=+e||0,{top:t,right:r,bottom:a,left:n,height:t+a,width:n+r}},_parseFont:function(e){var t=F.global,r=Qt(e.fontSize,t.defaultFontSize),a={family:Qt(e.fontFamily,t.defaultFontFamily),lineHeight:ve.options.toLineHeight(Qt(e.lineHeight,t.defaultLineHeight),r),size:r,style:Qt(e.fontStyle,t.defaultFontStyle),weight:null,string:""};return a.string=function uo(e){return!e||ve.isNullOrUndef(e.size)||ve.isNullOrUndef(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(a),a},resolve:function(e,t,r,a){var o,s,d,n=!0;for(o=0,s=e.length;o<s;++o)if(void 0!==(d=e[o])&&(void 0!==t&&"function"==typeof d&&(d=d(t),n=!1),void 0!==r&&ve.isArray(d)&&(d=d[r],n=!1),void 0!==d))return a&&!n&&(a.cacheable=!1),d}},Xa={_factorize:function(e){var a,t=[],r=Math.sqrt(e);for(a=1;a<r;a++)e%a==0&&(t.push(a),t.push(e/a));return r===(0|r)&&t.push(r),t.sort(function(n,o){return n-o}).pop(),t},log10:Math.log10||function(e){var t=Math.log(e)*Math.LOG10E,r=Math.round(t);return e===Math.pow(10,r)?r:t}},ho=Xa;ve.log10=Xa.log10;var m=ve,_o=lo,xo=fo,wo=ho,ko={getRtlAdapter:function(e,t,r){return e?function(e,t){return{x:function(r){return e+e+t-r},setWidth:function(r){t=r},textAlign:function(r){return"center"===r?r:"right"===r?"left":"right"},xPlus:function(r,a){return r-a},leftForLtr:function(r,a){return r-a}}}(t,r):{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}}},overrideTextDirection:function(e,t){var r,a;("ltr"===t||"rtl"===t)&&(a=[(r=e.canvas.style).getPropertyValue("direction"),r.getPropertyPriority("direction")],r.setProperty("direction",t,"important"),e.prevTextDirection=a)},restoreTextDirection:function(e){var t=e.prevTextDirection;void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}};m.easing=io,m.canvas=_o,m.options=xo,m.math=wo,m.rtl=ko;var Lr=function(e){m.extend(this,e),this.initialize.apply(this,arguments)};m.extend(Lr.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=m.extend({},e._model)),e._start={},e},transition:function(e){var t=this,r=t._model,a=t._start,n=t._view;return r&&1!==e?(n||(n=t._view={}),a||(a=t._start={}),function Mo(e,t,r,a){var o,s,d,l,f,c,v,p,y,n=Object.keys(r);for(o=0,s=n.length;o<s;++o)if(c=r[d=n[o]],t.hasOwnProperty(d)||(t[d]=c),(l=t[d])!==c&&"_"!==d[0]){if(e.hasOwnProperty(d)||(e[d]=l),(v=typeof c)==typeof(f=e[d]))if("string"===v){if((p=Kt(f)).valid&&(y=Kt(c)).valid){t[d]=y.mix(p,a).rgbString();continue}}else if(m.isFinite(f)&&m.isFinite(c)){t[d]=f+(c-f)*a;continue}t[d]=c}}(a,n,r,e),t):(t._view=m.extend({},r),t._start=null,t)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return m.isNumber(this._model.x)&&m.isNumber(this._model.y)}}),Lr.extend=m.inherits;var De=Lr,Rr=De.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),Wr=Rr;Object.defineProperty(Rr.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(Rr.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}}),F._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:m.noop,onComplete:m.noop}});var Nr={animations:[],request:null,addAnimation:function(e,t,r,a){var o,s,n=this.animations;for(t.chart=e,t.startTime=Date.now(),t.duration=r,a||(e.animating=!0),o=0,s=n.length;o<s;++o)if(n[o].chart===e)return void(n[o]=t);n.push(t),1===n.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=m.findIndex(this.animations,function(r){return r.chart===e});-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=m.requestAnimFrame.call(window,function(){e.request=null,e.startDigest()}))},startDigest:function(){var e=this;e.advance(),e.animations.length>0&&e.requestAnimationFrame()},advance:function(){for(var t,r,a,n,e=this.animations,o=0;o<e.length;)r=(t=e[o]).chart,a=t.numSteps,n=Math.floor((Date.now()-t.startTime)/t.duration*a)+1,t.currentStep=Math.min(n,a),m.callback(t.render,[r,t],r),m.callback(t.onAnimationProgress,[t],r),t.currentStep>=a?(m.callback(t.onAnimationComplete,[t],r),r.animating=!1,e.splice(o,1)):++o}},ht=m.options.resolve,Ka=["push","pop","shift","splice","unshift"];function Ja(e,t){var r=e._chartjs;if(r){var a=r.listeners,n=a.indexOf(t);-1!==n&&a.splice(n,1),!(a.length>0)&&(Ka.forEach(function(o){delete e[o]}),delete e._chartjs)}}var Yr=function(e,t){this.initialize(e,t)};m.extend(Yr.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var r=this;r.chart=e,r.index=t,r.linkScales(),r.addElements(),r._type=r.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this,t=e.getMeta(),r=e.chart,a=r.scales,n=e.getDataset(),o=r.options.scales;(null===t.xAxisID||!(t.xAxisID in a)||n.xAxisID)&&(t.xAxisID=n.xAxisID||o.xAxes[0].id),(null===t.yAxisID||!(t.yAxisID in a)||n.yAxisID)&&(t.yAxisID=n.yAxisID||o.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&Ja(this._data,this)},createMetaDataset:function(){var e=this,t=e.datasetElementType;return t&&new t({_chart:e.chart,_datasetIndex:e.index})},createMetaData:function(e){var t=this,r=t.dataElementType;return r&&new r({_chart:t.chart,_datasetIndex:t.index,_index:e})},addElements:function(){var n,o,e=this,t=e.getMeta(),r=e.getDataset().data||[],a=t.data;for(n=0,o=r.length;n<o;++n)a[n]=a[n]||e.createMetaData(n);t.dataset=t.dataset||e.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var e=this,t=e.getDataset(),r=t.data||(t.data=[]);e._data!==r&&(e._data&&Ja(e._data,e),r&&Object.isExtensible(r)&&function So(e,t){e._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),Ka.forEach(function(r){var a="onData"+r.charAt(0).toUpperCase()+r.slice(1),n=e[r];Object.defineProperty(e,r,{configurable:!0,enumerable:!1,value:function(){var o=Array.prototype.slice.call(arguments),s=n.apply(this,o);return m.each(e._chartjs.listeners,function(d){"function"==typeof d[a]&&d[a].apply(d,o)}),s}})}))}(r,e),e._data=r),e.resyncElements()},_configure:function(){var e=this;e._config=m.merge(Object.create(null),[e.chart.options.datasets[e._type],e.getDataset()],{merger:function(t,r,a){"_meta"!==t&&"data"!==t&&m._merger(t,r,a)}})},_update:function(e){var t=this;t._configure(),t._cachedDataOpts=null,t.update(e)},update:m.noop,transition:function(e){for(var t=this.getMeta(),r=t.data||[],a=r.length,n=0;n<a;++n)r[n].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],r=t.length,a=0;for(e.dataset&&e.dataset.draw();a<r;++a)t[a].draw()},getStyle:function(e){var n,t=this,r=t.getMeta(),a=r.dataset;return t._configure(),(!1===(n=a&&void 0===e?t._resolveDatasetElementOptions(a||{}):t._resolveDataElementOptions(r.data[e=e||0]||{},e)).fill||null===n.fill)&&(n.backgroundColor=n.borderColor),n},_resolveDatasetElementOptions:function(e,t){var f,c,v,p,r=this,a=r.chart,n=r._config,o=e.custom||{},s=a.options.elements[r.datasetElementType.prototype._type]||{},d=r._datasetElementOptions,l={},y={chart:a,dataset:r.getDataset(),datasetIndex:r.index,hover:t};for(f=0,c=d.length;f<c;++f)v=d[f],p=t?"hover"+v.charAt(0).toUpperCase()+v.slice(1):v,l[v]=ht([o[p],n[p],s[p]],y);return l},_resolveDataElementOptions:function(e,t){var r=this,a=e&&e.custom,n=r._cachedDataOpts;if(n&&!a)return n;var p,y,_,w,o=r.chart,s=r._config,d=o.options.elements[r.dataElementType.prototype._type]||{},l=r._dataElementOptions,f={},c={chart:o,dataIndex:t,dataset:r.getDataset(),datasetIndex:r.index},v={cacheable:!a};if(a=a||{},m.isArray(l))for(y=0,_=l.length;y<_;++y)f[w=l[y]]=ht([a[w],s[w],d[w]],c,t,v);else for(y=0,_=(p=Object.keys(l)).length;y<_;++y)f[w=p[y]]=ht([a[w],s[l[w]],s[w],d[w]],c,t,v);return v.cacheable&&(r._cachedDataOpts=Object.freeze(f)),f},removeHoverStyle:function(e){m.merge(e._model,e.$previousStyle||{}),delete e.$previousStyle},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],r=e._index,a=e.custom||{},n=e._model,o=m.getHoverColor;e.$previousStyle={backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:n.borderWidth},n.backgroundColor=ht([a.hoverBackgroundColor,t.hoverBackgroundColor,o(n.backgroundColor)],void 0,r),n.borderColor=ht([a.hoverBorderColor,t.hoverBorderColor,o(n.borderColor)],void 0,r),n.borderWidth=ht([a.hoverBorderWidth,t.hoverBorderWidth,n.borderWidth],void 0,r)},_removeDatasetHoverStyle:function(){var e=this.getMeta().dataset;e&&this.removeHoverStyle(e)},_setDatasetHoverStyle:function(){var r,a,n,o,s,d,e=this.getMeta().dataset,t={};if(e){for(d=e._model,s=this._resolveDatasetElementOptions(e,!0),r=0,a=(o=Object.keys(s)).length;r<a;++r)t[n=o[r]]=d[n],d[n]=s[n];e.$previousStyle=t}},resyncElements:function(){var e=this,t=e.getMeta(),r=e.getDataset().data,a=t.data.length,n=r.length;n<a?t.data.splice(n,a-n):n>a&&e.insertElements(a,n-a)},insertElements:function(e,t){for(var r=0;r<t;++r)this.addElementAndReset(e+r)},onDataPush:function(){var e=arguments.length;this.insertElements(this.getDataset().data.length-e,e)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),Yr.extend=m.inherits;var me=Yr,Te=2*Math.PI;function Qa(e,t){var r=t.startAngle,a=t.endAngle,n=t.pixelMargin,o=n/t.outerRadius,s=t.x,d=t.y;e.beginPath(),e.arc(s,d,t.outerRadius,r-o,a+o),t.innerRadius>n?e.arc(s,d,t.innerRadius-n,a+(o=n/t.innerRadius),r-o,!0):e.arc(s,d,n,a+Math.PI/2,r-Math.PI/2),e.closePath(),e.clip()}F._set("global",{elements:{arc:{backgroundColor:F.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var Co=De.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var r=this._view;if(r){for(var a=m.getAngleFromPoint(r,{x:e,y:t}),n=a.angle,o=a.distance,s=r.startAngle,d=r.endAngle;d<s;)d+=Te;for(;n>d;)n-=Te;for(;n<s;)n+=Te;return n>=s&&n<=d&&o>=r.innerRadius&&o<=r.outerRadius}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,r=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*r,y:e.y+Math.sin(t)*r}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,r=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*r,y:e.y+Math.sin(t)*r}},draw:function(){var n,e=this._chart.ctx,t=this._view,r="inner"===t.borderAlign?.33:0,a={x:t.x,y:t.y,innerRadius:t.innerRadius,outerRadius:Math.max(t.outerRadius-r,0),pixelMargin:r,startAngle:t.startAngle,endAngle:t.endAngle,fullCircles:Math.floor(t.circumference/Te)};if(e.save(),e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,a.fullCircles){for(a.endAngle=a.startAngle+Te,e.beginPath(),e.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),e.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),e.closePath(),n=0;n<a.fullCircles;++n)e.fill();a.endAngle=a.startAngle+t.circumference%Te}e.beginPath(),e.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),e.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),e.closePath(),e.fill(),t.borderWidth&&function To(e,t,r){var a="inner"===t.borderAlign;a?(e.lineWidth=2*t.borderWidth,e.lineJoin="round"):(e.lineWidth=t.borderWidth,e.lineJoin="bevel"),r.fullCircles&&function Do(e,t,r,a){var o,n=r.endAngle;for(a&&(r.endAngle=r.startAngle+Te,Qa(e,r),r.endAngle=n,r.endAngle===r.startAngle&&r.fullCircles&&(r.endAngle+=Te,r.fullCircles--)),e.beginPath(),e.arc(r.x,r.y,r.innerRadius,r.startAngle+Te,r.startAngle,!0),o=0;o<r.fullCircles;++o)e.stroke();for(e.beginPath(),e.arc(r.x,r.y,t.outerRadius,r.startAngle,r.startAngle+Te),o=0;o<r.fullCircles;++o)e.stroke()}(e,t,r,a),a&&Qa(e,r),e.beginPath(),e.arc(r.x,r.y,t.outerRadius,r.startAngle,r.endAngle),e.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),e.closePath(),e.stroke()}(e,t,a),e.restore()}}),en=m.valueOrDefault,tn=F.global.defaultColor;F._set("global",{elements:{line:{tension:.4,backgroundColor:tn,borderWidth:3,borderColor:tn,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var Po=De.extend({_type:"line",draw:function(){var f,c,v,e=this,t=e._view,r=e._chart.ctx,a=t.spanGaps,n=e._children.slice(),o=F.global,s=o.elements.line,d=-1,l=e._loop;if(n.length){if(e._loop){for(f=0;f<n.length;++f)if(c=m.previousItem(n,f),!n[f]._view.skip&&c._view.skip){n=n.slice(f).concat(n.slice(0,f)),l=a;break}l&&n.push(n[0])}for(r.save(),r.lineCap=t.borderCapStyle||s.borderCapStyle,r.setLineDash&&r.setLineDash(t.borderDash||s.borderDash),r.lineDashOffset=en(t.borderDashOffset,s.borderDashOffset),r.lineJoin=t.borderJoinStyle||s.borderJoinStyle,r.lineWidth=en(t.borderWidth,s.borderWidth),r.strokeStyle=t.borderColor||o.defaultColor,r.beginPath(),(v=n[0]._view).skip||(r.moveTo(v.x,v.y),d=0),f=1;f<n.length;++f)v=n[f]._view,c=-1===d?m.previousItem(n,f):n[d],v.skip||(d!==f-1&&!a||-1===d?r.moveTo(v.x,v.y):m.canvas.lineTo(r,c._view,v),d=f);l&&r.closePath(),r.stroke(),r.restore()}}}),Oo=m.valueOrDefault,rn=F.global.defaultColor;function an(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}F._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:rn,borderColor:rn,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var Ao=De.extend({_type:"point",inRange:function(e,t){var r=this._view;return!!r&&Math.pow(e-r.x,2)+Math.pow(t-r.y,2)<Math.pow(r.hitRadius+r.radius,2)},inLabelRange:an,inXRange:an,inYRange:function Fo(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,r=this._chart.ctx,a=t.pointStyle,n=t.rotation,o=t.radius,s=t.x,d=t.y,l=F.global,f=l.defaultColor;t.skip||(void 0===e||m.canvas._isPointInArea(t,e))&&(r.strokeStyle=t.borderColor||f,r.lineWidth=Oo(t.borderWidth,l.elements.point.borderWidth),r.fillStyle=t.backgroundColor||f,m.canvas.drawPoint(r,a,o,s,d,n))}}),nn=F.global.defaultColor;function er(e){return e&&void 0!==e.width}function on(e){var t,r,a,n,o;return er(e)?(t=e.x-(o=e.width/2),r=e.x+o,a=Math.min(e.y,e.base),n=Math.max(e.y,e.base)):(o=e.height/2,t=Math.min(e.x,e.base),r=Math.max(e.x,e.base),a=e.y-o,n=e.y+o),{left:t,top:a,right:r,bottom:n}}function sn(e,t,r){return e===t?r:e===r?t:e}function Pt(e,t,r){var a=null===t,n=null===r,o=!(!e||a&&n)&&on(e);return o&&(a||t>=o.left&&t<=o.right)&&(n||r>=o.top&&r<=o.bottom)}F._set("global",{elements:{rectangle:{backgroundColor:nn,borderColor:nn,borderSkipped:"bottom",borderWidth:0}}});var Wo=De.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,r=function Ro(e){var t=on(e),r=t.right-t.left,a=t.bottom-t.top,n=function Lo(e,t,r){var o,s,d,l,a=e.borderWidth,n=function Io(e){var t=e.borderSkipped,r={};return t&&(e.horizontal?e.base>e.x&&(t=sn(t,"left","right")):e.base<e.y&&(t=sn(t,"bottom","top")),r[t]=!0),r}(e);return m.isObject(a)?(o=+a.top||0,s=+a.right||0,d=+a.bottom||0,l=+a.left||0):o=s=d=l=+a||0,{t:n.top||o<0?0:o>r?r:o,r:n.right||s<0?0:s>t?t:s,b:n.bottom||d<0?0:d>r?r:d,l:n.left||l<0?0:l>t?t:l}}(e,r/2,a/2);return{outer:{x:t.left,y:t.top,w:r,h:a},inner:{x:t.left+n.l,y:t.top+n.t,w:r-n.l-n.r,h:a-n.t-n.b}}}(t),a=r.outer,n=r.inner;e.fillStyle=t.backgroundColor,e.fillRect(a.x,a.y,a.w,a.h),(a.w!==n.w||a.h!==n.h)&&(e.save(),e.beginPath(),e.rect(a.x,a.y,a.w,a.h),e.clip(),e.fillStyle=t.borderColor,e.rect(n.x,n.y,n.w,n.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return Pt(this._view,e,t)},inLabelRange:function(e,t){var r=this._view;return er(r)?Pt(r,e,null):Pt(r,null,t)},inXRange:function(e){return Pt(this._view,e,null)},inYRange:function(e){return Pt(this._view,null,e)},getCenterPoint:function(){var t,r,e=this._view;return er(e)?(t=e.x,r=(e.y+e.base)/2):(t=(e.x+e.base)/2,r=e.y),{x:t,y:r}},getArea:function(){var e=this._view;return er(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),se={},Yo=Po,Eo=Ao,zo=Wo;se.Arc=Co,se.Line=Yo,se.Point=Eo,se.Rectangle=zo;var Ot=m._deprecated,ct=m.valueOrDefault;F._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),F._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var ln=me.extend({dataElementType:se.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,r,e=this;me.prototype.initialize.apply(e,arguments),(t=e.getMeta()).stack=e.getDataset().stack,t.bar=!0,r=e._getIndexScale().options,Ot("bar chart",r.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Ot("bar chart",r.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Ot("bar chart",r.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Ot("bar chart",e._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Ot("bar chart",r.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var a,n,t=this,r=t.getMeta().data;for(t._ruler=t.getRuler(),a=0,n=r.length;a<n;++a)t.updateElement(r[a],a,e)},updateElement:function(e,t,r){var a=this,n=a.getMeta(),o=a.getDataset(),s=a._resolveDataElementOptions(e,t);e._xScale=a.getScaleForId(n.xAxisID),e._yScale=a.getScaleForId(n.yAxisID),e._datasetIndex=a.index,e._index=t,e._model={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderSkipped:s.borderSkipped,borderWidth:s.borderWidth,datasetLabel:o.label,label:a.chart.data.labels[t]},m.isArray(o.data[t])&&(e._model.borderSkipped=null),a._updateElementGeometry(e,t,r,s),e.pivot()},_updateElementGeometry:function(e,t,r,a){var n=this,o=e._model,s=n._getValueScale(),d=s.getBasePixel(),l=s.isHorizontal(),f=n._ruler||n.getRuler(),c=n.calculateBarValuePixels(n.index,t,a),v=n.calculateBarIndexPixels(n.index,t,f,a);o.horizontal=l,o.base=r?d:c.base,o.x=l?r?d:c.head:v.center,o.y=l?v.center:r?d:c.head,o.height=l?v.size:void 0,o.width=l?void 0:v.size},_getStacks:function(e){var d,l,r=this._getIndexScale(),a=r._getMatchingVisibleMetas(this._type),n=r.options.stacked,o=a.length,s=[];for(d=0;d<o&&(l=a[d],(!1===n||-1===s.indexOf(l.stack)||void 0===n&&void 0===l.stack)&&s.push(l.stack),l.index!==e);++d);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var r=this._getStacks(e),a=void 0!==t?r.indexOf(t):-1;return-1===a?r.length-1:a},getRuler:function(){var a,n,e=this,t=e._getIndexScale(),r=[];for(a=0,n=e.getMeta().data.length;a<n;++a)r.push(t.getPixelForValue(null,a,e.index));return{pixels:r,start:t._startPixel,end:t._endPixel,stackCount:e.getStackCount(),scale:t}},calculateBarValuePixels:function(e,t,r){var x,M,T,C,I,A,z,a=this,n=a.chart,o=a._getValueScale(),s=o.isHorizontal(),d=n.data.datasets,l=o._getMatchingVisibleMetas(a._type),f=o._parseValue(d[e].data[t]),c=r.minBarLength,v=o.options.stacked,p=a.getMeta().stack,y=void 0===f.start?0:f.max>=0&&f.min>=0?f.min:f.max,_=void 0===f.start?f.end:f.max>=0&&f.min>=0?f.max-f.min:f.min-f.max,w=l.length;if(v||void 0===v&&void 0!==p)for(x=0;x<w&&(M=l[x]).index!==e;++x)M.stack===p&&(T=void 0===(z=o._parseValue(d[M.index].data[t])).start?z.end:z.min>=0&&z.max>=0?z.max:z.min,(f.min<0&&T<0||f.max>=0&&T>0)&&(y+=T));return C=o.getPixelForValue(y),A=(I=o.getPixelForValue(y+_))-C,void 0!==c&&Math.abs(A)<c&&(A=c,I=_>=0&&!s||_<0&&s?C-c:C+c),{size:A,base:C,head:I,center:I+A/2}},calculateBarIndexPixels:function(e,t,r,a){var o="flex"===a.barThickness?function Vo(e,t,r){var l,a=t.pixels,n=a[e],o=e>0?a[e-1]:null,s=e<a.length-1?a[e+1]:null,d=r.categoryPercentage;return null===o&&(o=n-(null===s?t.end-t.start:s-n)),null===s&&(s=n+n-o),l=n-(n-Math.min(o,s))/2*d,{chunk:Math.abs(s-o)/2*d/t.stackCount,ratio:r.barPercentage,start:l}}(t,r,a):function Ho(e,t,r){var d,l,a=r.barThickness,n=t.stackCount,o=t.pixels[e],s=m.isNullOrUndef(a)?function Bo(e,t){var a,n,o,s,r=e._length;for(o=1,s=t.length;o<s;++o)r=Math.min(r,Math.abs(t[o]-t[o-1]));for(o=0,s=e.getTicks().length;o<s;++o)n=e.getPixelForTick(o),r=o>0?Math.min(r,Math.abs(n-a)):r,a=n;return r}(t.scale,t.pixels):-1;return m.isNullOrUndef(a)?(d=s*r.categoryPercentage,l=r.barPercentage):(d=a*n,l=1),{chunk:d/n,ratio:l,start:o-d/2}}(t,r,a),s=this.getStackIndex(e,this.getMeta().stack),d=o.start+o.chunk*s+o.chunk/2,l=Math.min(ct(a.maxBarThickness,1/0),o.chunk*o.ratio);return{base:d-l/2,head:d+l/2,center:d,size:l}},draw:function(){var e=this,t=e.chart,r=e._getValueScale(),a=e.getMeta().data,n=e.getDataset(),o=a.length,s=0;for(m.canvas.clipArea(t.ctx,t.chartArea);s<o;++s){var d=r._parseValue(n.data[s]);!isNaN(d.min)&&!isNaN(d.max)&&a[s].draw()}m.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var e=this,t=m.extend({},me.prototype._resolveDataElementOptions.apply(e,arguments)),r=e._getIndexScale().options,a=e._getValueScale().options;return t.barPercentage=ct(r.barPercentage,t.barPercentage),t.barThickness=ct(r.barThickness,t.barThickness),t.categoryPercentage=ct(r.categoryPercentage,t.categoryPercentage),t.maxBarThickness=ct(r.maxBarThickness,t.maxBarThickness),t.minBarLength=ct(a.minBarLength,t.minBarLength),t}}),Er=m.valueOrDefault,Uo=m.options.resolve;F._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return(t.datasets[e.datasetIndex].label||"")+": ("+e.xLabel+", "+e.yLabel+", "+t.datasets[e.datasetIndex].data[e.index].r+")"}}}});var jo=me.extend({dataElementType:se.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(e){var t=this,r=t.getMeta();m.each(r.data,function(n,o){t.updateElement(n,o,e)})},updateElement:function(e,t,r){var a=this,n=a.getMeta(),o=e.custom||{},s=a.getScaleForId(n.xAxisID),d=a.getScaleForId(n.yAxisID),l=a._resolveDataElementOptions(e,t),f=a.getDataset().data[t],c=a.index,v=r?s.getPixelForDecimal(.5):s.getPixelForValue("object"==typeof f?f:NaN,t,c),p=r?d.getBasePixel():d.getPixelForValue(f,t,c);e._xScale=s,e._yScale=d,e._options=l,e._datasetIndex=c,e._index=t,e._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:r?0:l.radius,skip:o.skip||isNaN(v)||isNaN(p),x:v,y:p},e.pivot()},setHoverStyle:function(e){var t=e._model,r=e._options,a=m.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Er(r.hoverBackgroundColor,a(r.backgroundColor)),t.borderColor=Er(r.hoverBorderColor,a(r.borderColor)),t.borderWidth=Er(r.hoverBorderWidth,r.borderWidth),t.radius=r.radius+r.hoverRadius},_resolveDataElementOptions:function(e,t){var r=this,a=r.chart,n=r.getDataset(),o=e.custom||{},s=n.data[t]||{},d=me.prototype._resolveDataElementOptions.apply(r,arguments),l={chart:a,dataIndex:t,dataset:n,datasetIndex:r.index};return r._cachedDataOpts===d&&(d=m.extend({},d)),d.radius=Uo([o.radius,s.r,r._config.radius,a.options.elements.point.radius],l,t),d}}),tr=m.valueOrDefault,Ke=Math.PI,Fe=2*Ke,Je=Ke/2;F._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var o,s,d,t=document.createElement("ul"),r=e.data,a=r.datasets,n=r.labels;if(t.setAttribute("class",e.id+"-legend"),a.length)for(o=0,s=a[0].data.length;o<s;++o)(d=t.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[o],n[o]&&d.appendChild(document.createTextNode(n[o]));return t.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map(function(r,a){var n=e.getDatasetMeta(0),o=n.controller.getStyle(a);return{text:r,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(t.datasets[0].data[a])||n.data[a].hidden,index:a}}):[]}},onClick:function(e,t){var n,o,s,r=t.index,a=this.chart;for(n=0,o=(a.data.datasets||[]).length;n<o;++n)(s=a.getDatasetMeta(n)).data[r]&&(s.data[r].hidden=!s.data[r].hidden);a.update()}},cutoutPercentage:50,rotation:-Je,circumference:Fe,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var r=t.labels[e.index],a=": "+t.datasets[e.datasetIndex].data[e.index];return m.isArray(r)?(r=r.slice())[0]+=a:r+=a,r}}}});var un=me.extend({dataElementType:se.Arc,linkScales:m.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(e){for(var t=0,r=0;r<e;++r)this.chart.isDatasetVisible(r)&&++t;return t},update:function(e){var x,M,t=this,r=t.chart,a=r.chartArea,n=r.options,o=1,s=1,d=0,l=0,f=t.getMeta(),c=f.data,v=n.cutoutPercentage/100||0,p=n.circumference,y=t._getRingWeight(t.index);if(p<Fe){var T=n.rotation%Fe,C=(T+=T>=Ke?-Fe:T<-Ke?Fe:0)+p,I=Math.cos(T),A=Math.sin(T),z=Math.cos(C),N=Math.sin(C),Y=T<=0&&C>=0||C>=Fe,E=T<=Je&&C>=Je||C>=Fe+Je,J=T<=-Je&&C>=-Je||C>=Ke+Je,X=T===-Ke||C>=Ke?-1:Math.min(I,I*v,z,z*v),U=J?-1:Math.min(A,A*v,N,N*v),We=Y?1:Math.max(I,I*v,z,z*v),Ne=E?1:Math.max(A,A*v,N,N*v);o=(We-X)/2,s=(Ne-U)/2,d=-(We+X)/2,l=-(Ne+U)/2}for(x=0,M=c.length;x<M;++x)c[x]._options=t._resolveDataElementOptions(c[x],x);for(r.borderWidth=t.getMaxBorderWidth(),r.outerRadius=Math.max(Math.min((a.right-a.left-r.borderWidth)/o,(a.bottom-a.top-r.borderWidth)/s)/2,0),r.innerRadius=Math.max(r.outerRadius*v,0),r.radiusLength=(r.outerRadius-r.innerRadius)/(t._getVisibleDatasetWeightTotal()||1),r.offsetX=d*r.outerRadius,r.offsetY=l*r.outerRadius,f.total=t.calculateTotal(),t.outerRadius=r.outerRadius-r.radiusLength*t._getRingWeightOffset(t.index),t.innerRadius=Math.max(t.outerRadius-r.radiusLength*y,0),x=0,M=c.length;x<M;++x)t.updateElement(c[x],x,e)},updateElement:function(e,t,r){var a=this,n=a.chart,o=n.chartArea,s=n.options,d=s.animation,l=(o.left+o.right)/2,f=(o.top+o.bottom)/2,c=s.rotation,v=s.rotation,p=a.getDataset(),y=r&&d.animateRotate||e.hidden?0:a.calculateCircumference(p.data[t])*(s.circumference/Fe),x=e._options||{};m.extend(e,{_datasetIndex:a.index,_index:t,_model:{backgroundColor:x.backgroundColor,borderColor:x.borderColor,borderWidth:x.borderWidth,borderAlign:x.borderAlign,x:l+n.offsetX,y:f+n.offsetY,startAngle:c,endAngle:v,circumference:y,outerRadius:r&&d.animateScale?0:a.outerRadius,innerRadius:r&&d.animateScale?0:a.innerRadius,label:m.valueAtIndexOrDefault(p.label,t,n.data.labels[t])}});var M=e._model;(!r||!d.animateRotate)&&(M.startAngle=0===t?s.rotation:a.getMeta().data[t-1]._model.endAngle,M.endAngle=M.startAngle+M.circumference),e.pivot()},calculateTotal:function(){var a,e=this.getDataset(),t=this.getMeta(),r=0;return m.each(t.data,function(n,o){a=e.data[o],!isNaN(a)&&!n.hidden&&(r+=Math.abs(a))}),r},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?Fe*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var n,o,s,d,l,f,c,v,r=0,a=this.chart;if(!e)for(n=0,o=a.data.datasets.length;n<o;++n)if(a.isDatasetVisible(n)){e=(s=a.getDatasetMeta(n)).data,n!==this.index&&(l=s.controller);break}if(!e)return 0;for(n=0,o=e.length;n<o;++n)d=e[n],l?(l._configure(),f=l._resolveDataElementOptions(d,n)):f=d._options,"inner"!==f.borderAlign&&(r=(v=f.hoverBorderWidth)>(r=(c=f.borderWidth)>r?c:r)?v:r);return r},setHoverStyle:function(e){var t=e._model,r=e._options,a=m.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=tr(r.hoverBackgroundColor,a(r.backgroundColor)),t.borderColor=tr(r.hoverBorderColor,a(r.borderColor)),t.borderWidth=tr(r.hoverBorderWidth,r.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,r=0;r<e;++r)this.chart.isDatasetVisible(r)&&(t+=this._getRingWeight(r));return t},_getRingWeight:function(e){return Math.max(tr(this.chart.data.datasets[e].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});F._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),F._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var Go=ln.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Ae=m.valueOrDefault,$o=m.options.resolve,zr=m.canvas._isPointInArea;function dn(e,t){var r=e&&e.options.ticks||{},a=r.reverse,n=void 0===r.min?t:0,o=void 0===r.max?t:0;return{start:a?o:n,end:a?n:o}}F._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var fn=me.extend({datasetElementType:se.Line,dataElementType:se.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(e){var l,f,t=this,r=t.getMeta(),a=r.dataset,n=r.data||[],s=t._config,d=t._showLine=Ae(s.showLine,t.chart.options.showLines);for(t._xScale=t.getScaleForId(r.xAxisID),t._yScale=t.getScaleForId(r.yAxisID),d&&(void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),a._scale=t._yScale,a._datasetIndex=t.index,a._children=n,a._model=t._resolveDatasetElementOptions(a),a.pivot()),l=0,f=n.length;l<f;++l)t.updateElement(n[l],l,e);for(d&&0!==a._model.tension&&t.updateBezierControlPoints(),l=0,f=n.length;l<f;++l)n[l].pivot()},updateElement:function(e,t,r){var p,y,a=this,n=a.getMeta(),o=e.custom||{},s=a.getDataset(),d=a.index,l=s.data[t],f=a._xScale,c=a._yScale,v=n.dataset._model,_=a._resolveDataElementOptions(e,t);p=f.getPixelForValue("object"==typeof l?l:NaN,t,d),y=r?c.getBasePixel():a.calculatePointY(l,t,d),e._xScale=f,e._yScale=c,e._options=_,e._datasetIndex=d,e._index=t,e._model={x:p,y,skip:o.skip||isNaN(p)||isNaN(y),radius:_.radius,pointStyle:_.pointStyle,rotation:_.rotation,backgroundColor:_.backgroundColor,borderColor:_.borderColor,borderWidth:_.borderWidth,tension:Ae(o.tension,v?v.tension:0),steppedLine:!!v&&v.steppedLine,hitRadius:_.hitRadius}},_resolveDatasetElementOptions:function(e){var t=this,r=t._config,a=e.custom||{},n=t.chart.options,o=n.elements.line,s=me.prototype._resolveDatasetElementOptions.apply(t,arguments);return s.spanGaps=Ae(r.spanGaps,n.spanGaps),s.tension=Ae(r.lineTension,o.tension),s.steppedLine=$o([a.steppedLine,r.steppedLine,o.stepped]),s.clip=function Zo(e){var t,r,a,n;return m.isObject(e)?(t=e.top,r=e.right,a=e.bottom,n=e.left):t=r=a=n=e,{top:t,right:r,bottom:a,left:n}}(Ae(r.clip,function qo(e,t,r){var a=r/2,n=dn(e,a),o=dn(t,a);return{top:o.end,right:n.end,bottom:o.start,left:n.start}}(t._xScale,t._yScale,s.borderWidth))),s},calculatePointY:function(e,t,r){var l,c,v,p,y,_,n=this.chart,o=this._yScale,s=0,d=0;if(o.options.stacked){for(p=+o.getRightValue(e),_=(y=n._getSortedVisibleDatasetMetas()).length,l=0;l<_&&(c=y[l]).index!==r;++l)"line"===c.type&&c.yAxisID===o.id&&((v=+o.getRightValue(n.data.datasets[c.index].data[t]))<0?d+=v||0:s+=v||0);return o.getPixelForValue(p<0?d+p:s+p)}return o.getPixelForValue(e)},updateBezierControlPoints:function(){var s,d,l,f,t=this.chart,r=this.getMeta(),a=r.dataset._model,n=t.chartArea,o=r.data||[];function c(v,p,y){return Math.max(Math.min(v,y),p)}if(a.spanGaps&&(o=o.filter(function(v){return!v._model.skip})),"monotone"===a.cubicInterpolationMode)m.splineCurveMonotone(o);else for(s=0,d=o.length;s<d;++s)l=o[s]._model,f=m.splineCurve(m.previousItem(o,s)._model,l,m.nextItem(o,s)._model,a.tension),l.controlPointPreviousX=f.previous.x,l.controlPointPreviousY=f.previous.y,l.controlPointNextX=f.next.x,l.controlPointNextY=f.next.y;if(t.options.elements.line.capBezierPoints)for(s=0,d=o.length;s<d;++s)zr(l=o[s]._model,n)&&(s>0&&zr(o[s-1]._model,n)&&(l.controlPointPreviousX=c(l.controlPointPreviousX,n.left,n.right),l.controlPointPreviousY=c(l.controlPointPreviousY,n.top,n.bottom)),s<o.length-1&&zr(o[s+1]._model,n)&&(l.controlPointNextX=c(l.controlPointNextX,n.left,n.right),l.controlPointNextY=c(l.controlPointNextY,n.top,n.bottom)))},draw:function(){var l,e=this,t=e.chart,r=e.getMeta(),a=r.data||[],n=t.chartArea,o=t.canvas,s=0,d=a.length;for(e._showLine&&(m.canvas.clipArea(t.ctx,{left:!1===(l=r.dataset._model.clip).left?0:n.left-l.left,right:!1===l.right?o.width:n.right+l.right,top:!1===l.top?0:n.top-l.top,bottom:!1===l.bottom?o.height:n.bottom+l.bottom}),r.dataset.draw(),m.canvas.unclipArea(t.ctx));s<d;++s)a[s].draw(n)},setHoverStyle:function(e){var t=e._model,r=e._options,a=m.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Ae(r.hoverBackgroundColor,a(r.backgroundColor)),t.borderColor=Ae(r.hoverBorderColor,a(r.borderColor)),t.borderWidth=Ae(r.hoverBorderWidth,r.borderWidth),t.radius=Ae(r.hoverRadius,r.radius)}}),Xo=m.options.resolve;F._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(e){var o,s,d,t=document.createElement("ul"),r=e.data,a=r.datasets,n=r.labels;if(t.setAttribute("class",e.id+"-legend"),a.length)for(o=0,s=a[0].data.length;o<s;++o)(d=t.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[o],n[o]&&d.appendChild(document.createTextNode(n[o]));return t.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map(function(r,a){var n=e.getDatasetMeta(0),o=n.controller.getStyle(a);return{text:r,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(t.datasets[0].data[a])||n.data[a].hidden,index:a}}):[]}},onClick:function(e,t){var n,o,s,r=t.index,a=this.chart;for(n=0,o=(a.data.datasets||[]).length;n<o;++n)(s=a.getDatasetMeta(n)).data[r].hidden=!s.data[r].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}});var Ko=me.extend({dataElementType:se.Arc,linkScales:m.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var l,f,c,t=this,r=t.getDataset(),a=t.getMeta(),n=t.chart.options.startAngle||0,o=t._starts=[],s=t._angles=[],d=a.data;for(t._updateRadius(),a.count=t.countVisibleElements(),l=0,f=r.data.length;l<f;l++)o[l]=n,c=t._computeAngle(l),s[l]=c,n+=c;for(l=0,f=d.length;l<f;++l)d[l]._options=t._resolveDataElementOptions(d[l],l),t.updateElement(d[l],l,e)},_updateRadius:function(){var e=this,t=e.chart,r=t.chartArea,a=t.options,n=Math.min(r.right-r.left,r.bottom-r.top);t.outerRadius=Math.max(n/2,0),t.innerRadius=Math.max(a.cutoutPercentage?t.outerRadius/100*a.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),e.outerRadius=t.outerRadius-t.radiusLength*e.index,e.innerRadius=e.outerRadius-t.radiusLength},updateElement:function(e,t,r){var a=this,n=a.chart,o=a.getDataset(),s=n.options,d=s.animation,l=n.scale,f=n.data.labels,c=l.xCenter,v=l.yCenter,p=s.startAngle,y=e.hidden?0:l.getDistanceFromCenterForValue(o.data[t]),_=a._starts[t],w=_+(e.hidden?0:a._angles[t]),x=d.animateScale?0:l.getDistanceFromCenterForValue(o.data[t]),M=e._options||{};m.extend(e,{_datasetIndex:a.index,_index:t,_scale:l,_model:{backgroundColor:M.backgroundColor,borderColor:M.borderColor,borderWidth:M.borderWidth,borderAlign:M.borderAlign,x:c,y:v,innerRadius:0,outerRadius:r?x:y,startAngle:r&&d.animateRotate?p:_,endAngle:r&&d.animateRotate?p:w,label:m.valueAtIndexOrDefault(f,t,f[t])}}),e.pivot()},countVisibleElements:function(){var e=this.getDataset(),t=this.getMeta(),r=0;return m.each(t.data,function(a,n){!isNaN(e.data[n])&&!a.hidden&&r++}),r},setHoverStyle:function(e){var t=e._model,r=e._options,a=m.getHoverColor,n=m.valueOrDefault;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=n(r.hoverBackgroundColor,a(r.backgroundColor)),t.borderColor=n(r.hoverBorderColor,a(r.borderColor)),t.borderWidth=n(r.hoverBorderWidth,r.borderWidth)},_computeAngle:function(e){var t=this,r=this.getMeta().count,a=t.getDataset(),n=t.getMeta();return isNaN(a.data[e])||n.data[e].hidden?0:Xo([t.chart.options.elements.arc.angle,2*Math.PI/r],{chart:t.chart,dataIndex:e,dataset:a,datasetIndex:t.index},e)}});F._set("pie",m.clone(F.doughnut)),F._set("pie",{cutoutPercentage:0});var Jo=un,Qe=m.valueOrDefault;F._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Qo=me.extend({datasetElementType:se.Line,dataElementType:se.Point,linkScales:m.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var d,l,t=this,r=t.getMeta(),a=r.dataset,n=r.data||[],o=t.chart.scale,s=t._config;for(void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),a._scale=o,a._datasetIndex=t.index,a._children=n,a._loop=!0,a._model=t._resolveDatasetElementOptions(a),a.pivot(),d=0,l=n.length;d<l;++d)t.updateElement(n[d],d,e);for(t.updateBezierControlPoints(),d=0,l=n.length;d<l;++d)n[d].pivot()},updateElement:function(e,t,r){var a=this,n=e.custom||{},o=a.getDataset(),s=a.chart.scale,d=s.getPointPositionForValue(t,o.data[t]),l=a._resolveDataElementOptions(e,t),f=a.getMeta().dataset._model,c=r?s.xCenter:d.x,v=r?s.yCenter:d.y;e._scale=s,e._options=l,e._datasetIndex=a.index,e._index=t,e._model={x:c,y:v,skip:n.skip||isNaN(c)||isNaN(v),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:Qe(n.tension,f?f.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var e=this,t=e._config,r=e.chart.options,a=me.prototype._resolveDatasetElementOptions.apply(e,arguments);return a.spanGaps=Qe(t.spanGaps,r.spanGaps),a.tension=Qe(t.lineTension,r.elements.line.tension),a},updateBezierControlPoints:function(){var n,o,s,d,t=this.getMeta(),r=this.chart.chartArea,a=t.data||[];function l(f,c,v){return Math.max(Math.min(f,v),c)}for(t.dataset._model.spanGaps&&(a=a.filter(function(f){return!f._model.skip})),n=0,o=a.length;n<o;++n)s=a[n]._model,d=m.splineCurve(m.previousItem(a,n,!0)._model,s,m.nextItem(a,n,!0)._model,s.tension),s.controlPointPreviousX=l(d.previous.x,r.left,r.right),s.controlPointPreviousY=l(d.previous.y,r.top,r.bottom),s.controlPointNextX=l(d.next.x,r.left,r.right),s.controlPointNextY=l(d.next.y,r.top,r.bottom)},setHoverStyle:function(e){var t=e._model,r=e._options,a=m.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Qe(r.hoverBackgroundColor,a(r.backgroundColor)),t.borderColor=Qe(r.hoverBorderColor,a(r.borderColor)),t.borderWidth=Qe(r.hoverBorderWidth,r.borderWidth),t.radius=Qe(r.hoverRadius,r.radius)}});F._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),F._set("global",{datasets:{scatter:{showLine:!1}}});var hn={bar:ln,bubble:jo,doughnut:un,horizontalBar:Go,line:fn,polarArea:Ko,pie:Jo,radar:Qo,scatter:fn};function et(e,t){return e.native?{x:e.x,y:e.y}:m.getRelativePosition(e,t)}function Ft(e,t){var a,n,o,s,d,l,r=e._getSortedVisibleDatasetMetas();for(n=0,s=r.length;n<s;++n)for(o=0,d=(a=r[n].data).length;o<d;++o)(l=a[o])._view.skip||t(l)}function Br(e,t){var r=[];return Ft(e,function(a){a.inRange(t.x,t.y)&&r.push(a)}),r}function Hr(e,t,r,a){var n=Number.POSITIVE_INFINITY,o=[];return Ft(e,function(s){if(!r||s.inRange(t.x,t.y)){var d=s.getCenterPoint(),l=a(t,d);l<n?(o=[s],n=l):l===n&&o.push(s)}}),o}function Vr(e){var t=-1!==e.indexOf("x"),r=-1!==e.indexOf("y");return function(a,n){var o=t?Math.abs(a.x-n.x):0,s=r?Math.abs(a.y-n.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(s,2))}}function Ur(e,t,r){var a=et(t,e);r.axis=r.axis||"x";var n=Vr(r.axis),o=r.intersect?Br(e,a):Hr(e,a,!1,n),s=[];return o.length?(e._getSortedVisibleDatasetMetas().forEach(function(d){var l=d.data[o[0]._index];l&&!l._view.skip&&s.push(l)}),s):[]}var vt={modes:{single:function(e,t){var r=et(t,e),a=[];return Ft(e,function(n){if(n.inRange(r.x,r.y))return a.push(n),a}),a.slice(0,1)},label:Ur,index:Ur,dataset:function(e,t,r){var a=et(t,e);r.axis=r.axis||"xy";var n=Vr(r.axis),o=r.intersect?Br(e,a):Hr(e,a,!1,n);return o.length>0&&(o=e.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(e,t){return Ur(e,t,{intersect:!1})},point:function(e,t){return Br(e,et(t,e))},nearest:function(e,t,r){var a=et(t,e);r.axis=r.axis||"xy";var n=Vr(r.axis);return Hr(e,a,r.intersect,n)},x:function(e,t,r){var a=et(t,e),n=[],o=!1;return Ft(e,function(s){s.inXRange(a.x)&&n.push(s),s.inRange(a.x,a.y)&&(o=!0)}),r.intersect&&!o&&(n=[]),n},y:function(e,t,r){var a=et(t,e),n=[],o=!1;return Ft(e,function(s){s.inYRange(a.y)&&n.push(s),s.inRange(a.x,a.y)&&(o=!0)}),r.intersect&&!o&&(n=[]),n}}},jr=m.extend;function At(e,t){return m.where(e,function(r){return r.pos===t})}function rr(e,t){return e.sort(function(r,a){var n=t?a:r,o=t?r:a;return n.weight===o.weight?n.index-o.index:n.weight-o.weight})}function cn(e,t,r,a){return Math.max(e[r],t[r])+Math.max(e[a],t[a])}function ns(e,t,r){var o,s,a=r.box,n=e.maxPadding;if(r.size&&(e[r.pos]-=r.size),r.size=r.horizontal?a.height:a.width,e[r.pos]+=r.size,a.getPadding){var d=a.getPadding();n.top=Math.max(n.top,d.top),n.left=Math.max(n.left,d.left),n.bottom=Math.max(n.bottom,d.bottom),n.right=Math.max(n.right,d.right)}if(o=t.outerWidth-cn(n,e,"left","right"),s=t.outerHeight-cn(n,e,"top","bottom"),o!==e.w||s!==e.h){e.w=o,e.h=s;var l=r.horizontal?[o,e.w]:[s,e.h];return!(l[0]===l[1]||isNaN(l[0])&&isNaN(l[1]))}}function os(e,t){var r=t.maxPadding;return function a(n){var o={left:0,top:0,right:0,bottom:0};return n.forEach(function(s){o[s]=Math.max(t[s],r[s])}),o}(e?["left","right"]:["top","bottom"])}function ar(e,t,r){var n,o,s,d,l,f,a=[];for(n=0,o=e.length;n<o;++n)(d=(s=e[n]).box).update(s.width||t.w,s.height||t.h,os(s.horizontal,t)),ns(t,r,s)&&(f=!0,a.length&&(l=!0)),d.fullWidth||a.push(s);return l&&ar(a,t,r)||f}function vn(e,t,r){var s,d,l,f,a=r.padding,n=t.x,o=t.y;for(s=0,d=e.length;s<d;++s)f=(l=e[s]).box,l.horizontal?(f.left=f.fullWidth?a.left:t.left,f.right=f.fullWidth?r.outerWidth-a.right:t.left+t.w,f.top=o,f.bottom=o+f.height,f.width=f.right-f.left,o=f.bottom):(f.left=n,f.right=n+f.width,f.top=t.top,f.bottom=t.top+t.h,f.height=f.bottom-f.top,n=f.right);t.x=n,t.y=o}F._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var pe={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw:function(){t.draw.apply(t,arguments)}}]},e.boxes.push(t)},removeBox:function(e,t){var r=e.boxes?e.boxes.indexOf(t):-1;-1!==r&&e.boxes.splice(r,1)},configure:function(e,t,r){for(var s,a=["fullWidth","position","weight"],n=a.length,o=0;o<n;++o)r.hasOwnProperty(s=a[o])&&(t[s]=r[s])},update:function(e,t,r){if(e){var n=m.options.toPadding((e.options.layout||{}).padding),o=t-n.width,s=r-n.height,d=function as(e){var t=function ts(e){var r,a,n,t=[];for(r=0,a=(e||[]).length;r<a;++r)t.push({index:r,box:n=e[r],pos:n.position,horizontal:n.isHorizontal(),weight:n.weight});return t}(e),r=rr(At(t,"left"),!0),a=rr(At(t,"right")),n=rr(At(t,"top"),!0),o=rr(At(t,"bottom"));return{leftAndTop:r.concat(n),rightAndBottom:a.concat(o),chartArea:At(t,"chartArea"),vertical:r.concat(a),horizontal:n.concat(o)}}(e.boxes),l=d.vertical,f=d.horizontal,c=Object.freeze({outerWidth:t,outerHeight:r,padding:n,availableWidth:o,vBoxMaxWidth:o/2/l.length,hBoxMaxHeight:s/2}),v=jr({maxPadding:jr({},n),w:o,h:s,x:n.left,y:n.top},n);(function rs(e,t){var r,a,n;for(r=0,a=e.length;r<a;++r)(n=e[r]).width=n.horizontal?n.box.fullWidth&&t.availableWidth:t.vBoxMaxWidth,n.height=n.horizontal&&t.hBoxMaxHeight})(l.concat(f),c),ar(l,v,c),ar(f,v,c)&&ar(l,v,c),function is(e){var t=e.maxPadding;function r(a){var n=Math.max(t[a]-e[a],0);return e[a]+=n,n}e.y+=r("top"),e.x+=r("left"),r("right"),r("bottom")}(v),vn(d.leftAndTop,v,c),v.x+=v.w,v.y+=v.h,vn(d.rightAndBottom,v,c),e.chartArea={left:v.left,top:v.top,right:v.left+v.w,bottom:v.top+v.h},m.each(d.chartArea,function(p){var y=p.box;jr(y,e.chartArea),y.update(v.w,v.h)})}}},ds=function zi(e){return e&&e.default||e}(Object.freeze({__proto__:null,default:"/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"})),ie="$chartjs",Gr="chartjs-",$r=Gr+"size-monitor",gn=Gr+"render-monitor",fs=Gr+"render-animation",mn=["animationstart","webkitAnimationStart"],hs={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function pn(e,t){var r=m.getStyle(e,t),a=r&&r.match(/^(\d+)(\.\d+)?px$/);return a?Number(a[1]):void 0}var vs=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch{}return e}(),bn=!!vs&&{passive:!0};function It(e,t,r){e.addEventListener(t,r,bn)}function qr(e,t,r){e.removeEventListener(t,r,bn)}function Zr(e,t,r,a,n){return{type:e,chart:t,native:n||null,x:void 0!==r?r:null,y:void 0!==a?a:null}}function Lt(e){var t=document.createElement("div");return t.className=e||"",t}var yn={disableCSSInjection:!1,_enabled:typeof window<"u"&&typeof document<"u",_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;!function ws(e,t){var r=e[ie]||(e[ie]={});if(!r.containsStyles){r.containsStyles=!0,t="/* Chart.js */\n"+t;var a=document.createElement("style");a.setAttribute("type","text/css"),a.appendChild(document.createTextNode(t)),e.appendChild(a)}}(t.host?t:document.head,ds)}},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var r=e&&e.getContext&&e.getContext("2d");return r&&r.canvas===e?(this._ensureLoaded(e),function cs(e,t){var r=e.style,a=e.getAttribute("height"),n=e.getAttribute("width");if(e[ie]={initial:{height:a,width:n,style:{display:r.display,height:r.height,width:r.width}}},r.display=r.display||"block",null===n||""===n){var o=pn(e,"width");void 0!==o&&(e.width=o)}if(null===a||""===a)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var s=pn(e,"height");void 0!==o&&(e.height=s)}}(e,t),r):null},releaseContext:function(e){var t=e.canvas;if(t[ie]){var r=t[ie].initial;["height","width"].forEach(function(a){var n=r[a];m.isNullOrUndef(n)?t.removeAttribute(a):t.setAttribute(a,n)}),m.each(r.style||{},function(a,n){t.style[n]=a}),t.width=t.width,delete t[ie]}},addEventListener:function(e,t,r){var a=e.canvas;if("resize"!==t){var n=r[ie]||(r[ie]={}),s=(n.proxies||(n.proxies={}))[e.id+"_"+t]=function(d){r(function gs(e,t){var r=hs[e.type]||e.type,a=m.getRelativePosition(e,t);return Zr(r,t,a.x,a.y,e)}(d,e))};It(a,t,s)}else!function _s(e,t,r){var a=e[ie]||(e[ie]={}),n=a.resizer=function ps(e){var t=1e6,r=Lt($r),a=Lt($r+"-expand"),n=Lt($r+"-shrink");a.appendChild(Lt()),n.appendChild(Lt()),r.appendChild(a),r.appendChild(n),r._reset=function(){a.scrollLeft=t,a.scrollTop=t,n.scrollLeft=t,n.scrollTop=t};var o=function(){r._reset(),e()};return It(a,"scroll",o.bind(a,"expand")),It(n,"scroll",o.bind(n,"shrink")),r}(function ms(e,t){var r=!1,a=[];return function(){a=Array.prototype.slice.call(arguments),t=t||this,r||(r=!0,m.requestAnimFrame.call(window,function(){r=!1,e.apply(t,a)}))}}(function(){if(a.resizer){var o=r.options.maintainAspectRatio&&e.parentNode,s=o?o.clientWidth:0;t(Zr("resize",r)),o&&o.clientWidth<s&&r.canvas&&t(Zr("resize",r))}}));!function bs(e,t){var r=e[ie]||(e[ie]={}),a=r.renderProxy=function(n){n.animationName===fs&&t()};m.each(mn,function(n){It(e,n,a)}),r.reflow=!!e.offsetParent,e.classList.add(gn)}(e,function(){if(a.resizer){var o=e.parentNode;o&&o!==n.parentNode&&o.insertBefore(n,o.firstChild),n._reset()}})}(a,r,e)},removeEventListener:function(e,t,r){var a=e.canvas;if("resize"!==t){var s=((r[ie]||{}).proxies||{})[e.id+"_"+t];s&&qr(a,t,s)}else!function xs(e){var t=e[ie]||{},r=t.resizer;delete t.resizer,function ys(e){var t=e[ie]||{},r=t.renderProxy;r&&(m.each(mn,function(a){qr(e,a,r)}),delete t.renderProxy),e.classList.remove(gn)}(e),r&&r.parentNode&&r.parentNode.removeChild(r)}(a)}};m.addEvent=It,m.removeEvent=qr;var ks=yn._enabled?yn:{acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}},gt=m.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},ks);F._set("global",{plugins:{}});var j={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach(function(r){-1===t.indexOf(r)&&t.push(r)}),this._cacheId++},unregister:function(e){var t=this._plugins;[].concat(e).forEach(function(r){var a=t.indexOf(r);-1!==a&&t.splice(a,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,r){var o,s,d,l,f,a=this.descriptors(e),n=a.length;for(o=0;o<n;++o)if("function"==typeof(f=(d=(s=a[o]).plugin)[t])&&((l=[e].concat(r||[])).push(s.options),!1===f.apply(d,l)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var r=[],a=[],n=e&&e.config||{},o=n.options&&n.options.plugins||{};return this._plugins.concat(n.plugins||[]).forEach(function(s){if(-1===r.indexOf(s)){var l=s.id,f=o[l];!1!==f&&(!0===f&&(f=m.clone(F.global.plugins[l])),r.push(s),a.push({plugin:s,options:f||{}}))}}),t.descriptors=a,t.id=this._cacheId,a},_invalidate:function(e){delete e.$plugins}},Rt={constructors:{},defaults:{},registerScaleType:function(e,t,r){this.constructors[e]=t,this.defaults[e]=m.clone(r)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?m.merge(Object.create(null),[F.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){var r=this;r.defaults.hasOwnProperty(e)&&(r.defaults[e]=m.extend(r.defaults[e],t))},addScalesToLayout:function(e){m.each(e.scales,function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,pe.addBox(e,t)})}},Ie=m.valueOrDefault,Xr=m.rtl.getRtlAdapter;F._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:m.noop,title:function(e,t){var r="",a=t.labels,n=a?a.length:0;if(e.length>0){var o=e[0];o.label?r=o.label:o.xLabel?r=o.xLabel:n>0&&o.index<n&&(r=a[o.index])}return r},afterTitle:m.noop,beforeBody:m.noop,beforeLabel:m.noop,label:function(e,t){var r=t.datasets[e.datasetIndex].label||"";return r&&(r+=": "),m.isNullOrUndef(e.value)?r+=e.yLabel:r+=e.value,r},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:m.noop,afterBody:m.noop,beforeFooter:m.noop,footer:m.noop,afterFooter:m.noop}}});var _n={average:function(e){if(!e.length)return!1;var t,r,a=0,n=0,o=0;for(t=0,r=e.length;t<r;++t){var s=e[t];if(s&&s.hasValue()){var d=s.tooltipPosition();a+=d.x,n+=d.y,++o}}return{x:a/o,y:n/o}},nearest:function(e,t){var o,s,d,r=t.x,a=t.y,n=Number.POSITIVE_INFINITY;for(o=0,s=e.length;o<s;++o){var l=e[o];if(l&&l.hasValue()){var f=l.getCenterPoint(),c=m.distanceBetweenPoints(t,f);c<n&&(n=c,d=l)}}if(d){var v=d.tooltipPosition();r=v.x,a=v.y}return{x:r,y:a}}};function Ce(e,t){return t&&(m.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Le(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function Ms(e){var t=e._xScale,r=e._yScale||e._scale,a=e._index,n=e._datasetIndex,o=e._chart.getDatasetMeta(n).controller,s=o._getIndexScale(),d=o._getValueScale();return{xLabel:t?t.getLabelForIndex(a,n):"",yLabel:r?r.getLabelForIndex(a,n):"",label:s?""+s.getLabelForIndex(a,n):"",value:d?""+d.getLabelForIndex(a,n):"",index:a,datasetIndex:n,x:e._model.x,y:e._model.y}}function xn(e){var t=F.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:Ie(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:Ie(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:Ie(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:Ie(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:Ie(e.titleFontStyle,t.defaultFontStyle),titleFontSize:Ie(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:Ie(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:Ie(e.footerFontStyle,t.defaultFontStyle),footerFontSize:Ie(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function nr(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function wn(e){return Ce([],Le(e))}var Cs=De.extend({initialize:function(){this._model=xn(this._options),this._lastActive=[]},getTitle:function(){var e=this,r=e._options.callbacks,a=r.beforeTitle.apply(e,arguments),n=r.title.apply(e,arguments),o=r.afterTitle.apply(e,arguments),s=[];return s=Ce(s,Le(a)),s=Ce(s,Le(n)),Ce(s,Le(o))},getBeforeBody:function(){return wn(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var r=this,a=r._options.callbacks,n=[];return m.each(e,function(o){var s={before:[],lines:[],after:[]};Ce(s.before,Le(a.beforeLabel.call(r,o,t))),Ce(s.lines,a.label.call(r,o,t)),Ce(s.after,Le(a.afterLabel.call(r,o,t))),n.push(s)}),n},getAfterBody:function(){return wn(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,r=t.beforeFooter.apply(e,arguments),a=t.footer.apply(e,arguments),n=t.afterFooter.apply(e,arguments),o=[];return o=Ce(o,Le(r)),o=Ce(o,Le(a)),Ce(o,Le(n))},update:function(e){var v,p,t=this,r=t._options,a=t._model,n=t._model=xn(r),o=t._active,s=t._data,d={xAlign:a.xAlign,yAlign:a.yAlign},l={x:a.x,y:a.y},f={width:a.width,height:a.height},c={x:a.caretX,y:a.caretY};if(o.length){n.opacity=1;var y=[],_=[];c=_n[r.position].call(t,o,t._eventPosition);var w=[];for(v=0,p=o.length;v<p;++v)w.push(Ms(o[v]));r.filter&&(w=w.filter(function(x){return r.filter(x,s)})),r.itemSort&&(w=w.sort(function(x,M){return r.itemSort(x,M,s)})),m.each(w,function(x){y.push(r.callbacks.labelColor.call(t,x,t._chart)),_.push(r.callbacks.labelTextColor.call(t,x,t._chart))}),n.title=t.getTitle(w,s),n.beforeBody=t.getBeforeBody(w,s),n.body=t.getBody(w,s),n.afterBody=t.getAfterBody(w,s),n.footer=t.getFooter(w,s),n.x=c.x,n.y=c.y,n.caretPadding=r.caretPadding,n.labelColors=y,n.labelTextColors=_,n.dataPoints=w,f=function Ss(e,t){var r=e._chart.ctx,a=2*t.yPadding,n=0,o=t.body,s=o.reduce(function(_,w){return _+w.before.length+w.lines.length+w.after.length},0),d=t.title.length,l=t.footer.length,f=t.titleFontSize,c=t.bodyFontSize,v=t.footerFontSize;a+=d*f,a+=d?(d-1)*t.titleSpacing:0,a+=d?t.titleMarginBottom:0,a+=(s+=t.beforeBody.length+t.afterBody.length)*c,a+=s?(s-1)*t.bodySpacing:0,a+=l?t.footerMarginTop:0,a+=l*v,a+=l?(l-1)*t.footerSpacing:0;var p=0,y=function(_){n=Math.max(n,r.measureText(_).width+p)};return r.font=m.fontString(f,t._titleFontStyle,t._titleFontFamily),m.each(t.title,y),r.font=m.fontString(c,t._bodyFontStyle,t._bodyFontFamily),m.each(t.beforeBody.concat(t.afterBody),y),p=t.displayColors?c+2:0,m.each(o,function(_){m.each(_.before,y),m.each(_.lines,y),m.each(_.after,y)}),p=0,r.font=m.fontString(v,t._footerFontStyle,t._footerFontFamily),m.each(t.footer,y),{width:n+=2*t.xPadding,height:a}}(this,n),d=function Ds(e,t){var r=e._model,a=e._chart,n=e._chart.chartArea,o="center",s="center";r.y<t.height?s="top":r.y>a.height-t.height&&(s="bottom");var d,l,f,c,v,p=(n.left+n.right)/2,y=(n.top+n.bottom)/2;"center"===s?(d=function(w){return w<=p},l=function(w){return w>p}):(d=function(w){return w<=t.width/2},l=function(w){return w>=a.width-t.width/2}),f=function(w){return w+t.width+r.caretSize+r.caretPadding>a.width},c=function(w){return w-t.width-r.caretSize-r.caretPadding<0},v=function(w){return w<=y?"top":"bottom"},d(r.x)?(o="left",f(r.x)&&(o="center",s=v(r.y))):l(r.x)&&(o="right",c(r.x)&&(o="center",s=v(r.y)));var _=e._options;return{xAlign:_.xAlign?_.xAlign:o,yAlign:_.yAlign?_.yAlign:s}}(this,f),l=function Ts(e,t,r,a){var n=e.x,o=e.y,d=e.caretPadding,f=r.xAlign,c=r.yAlign,v=e.caretSize+d,p=e.cornerRadius+d;return"right"===f?n-=t.width:"center"===f&&((n-=t.width/2)+t.width>a.width&&(n=a.width-t.width),n<0&&(n=0)),"top"===c?o+=v:o-="bottom"===c?t.height+v:t.height/2,"center"===c?"left"===f?n+=v:"right"===f&&(n-=v):"left"===f?n-=p:"right"===f&&(n+=p),{x:n,y:o}}(n,f,d,t._chart)}else n.opacity=0;return n.xAlign=d.xAlign,n.yAlign=d.yAlign,n.x=l.x,n.y=l.y,n.width=f.width,n.height=f.height,n.caretX=c.x,n.caretY=c.y,t._model=n,e&&r.custom&&r.custom.call(t,n),t},drawCaret:function(e,t){var r=this._chart.ctx,n=this.getCaretPosition(e,t,this._view);r.lineTo(n.x1,n.y1),r.lineTo(n.x2,n.y2),r.lineTo(n.x3,n.y3)},getCaretPosition:function(e,t,r){var a,n,o,s,d,l,f=r.caretSize,c=r.cornerRadius,v=r.xAlign,p=r.yAlign,y=e.x,_=e.y,w=t.width,x=t.height;if("center"===p)d=_+x/2,"left"===v?(n=(a=y)-f,o=a,s=d+f,l=d-f):(n=(a=y+w)+f,o=a,s=d-f,l=d+f);else if("left"===v?(a=(n=y+c+f)-f,o=n+f):"right"===v?(a=(n=y+w-c-f)-f,o=n+f):(a=(n=r.caretX)-f,o=n+f),"top"===p)d=(s=_)-f,l=s;else{d=(s=_+x)+f,l=s;var M=o;o=a,a=M}return{x1:a,x2:n,x3:o,y1:s,y2:d,y3:l}},drawTitle:function(e,t,r){var o,s,d,a=t.title,n=a.length;if(n){var l=Xr(t.rtl,t.x,t.width);for(e.x=nr(t,t._titleAlign),r.textAlign=l.textAlign(t._titleAlign),r.textBaseline="middle",o=t.titleFontSize,s=t.titleSpacing,r.fillStyle=t.titleFontColor,r.font=m.fontString(o,t._titleFontStyle,t._titleFontFamily),d=0;d<n;++d)r.fillText(a[d],l.x(e.x),e.y+o/2),e.y+=o+s,d+1===n&&(e.y+=t.titleMarginBottom-s)}},drawBody:function(e,t,r){var p,y,_,w,x,M,T,C,a=t.bodyFontSize,n=t.bodySpacing,o=t._bodyAlign,s=t.body,d=t.displayColors,l=0,f=d?nr(t,"left"):0,c=Xr(t.rtl,t.x,t.width),v=function(z){r.fillText(z,c.x(e.x+l),e.y+a/2),e.y+=a+n},I=c.textAlign(o);for(r.textAlign=o,r.textBaseline="middle",r.font=m.fontString(a,t._bodyFontStyle,t._bodyFontFamily),e.x=nr(t,I),r.fillStyle=t.bodyFontColor,m.each(t.beforeBody,v),l=d&&"right"!==I?"center"===o?a/2+1:a+2:0,x=0,T=s.length;x<T;++x){for(p=s[x],_=t.labelColors[x],r.fillStyle=y=t.labelTextColors[x],m.each(p.before,v),M=0,C=(w=p.lines).length;M<C;++M){if(d){var A=c.x(f);r.fillStyle=t.legendColorBackground,r.fillRect(c.leftForLtr(A,a),e.y,a,a),r.lineWidth=1,r.strokeStyle=_.borderColor,r.strokeRect(c.leftForLtr(A,a),e.y,a,a),r.fillStyle=_.backgroundColor,r.fillRect(c.leftForLtr(c.xPlus(A,1),a-2),e.y+1,a-2,a-2),r.fillStyle=y}v(w[M])}m.each(p.after,v)}l=0,m.each(t.afterBody,v),e.y-=n},drawFooter:function(e,t,r){var o,s,a=t.footer,n=a.length;if(n){var d=Xr(t.rtl,t.x,t.width);for(e.x=nr(t,t._footerAlign),e.y+=t.footerMarginTop,r.textAlign=d.textAlign(t._footerAlign),r.textBaseline="middle",o=t.footerFontSize,r.fillStyle=t.footerFontColor,r.font=m.fontString(o,t._footerFontStyle,t._footerFontFamily),s=0;s<n;++s)r.fillText(a[s],d.x(e.x),e.y+o/2),e.y+=o+t.footerSpacing}},drawBackground:function(e,t,r,a){r.fillStyle=t.backgroundColor,r.strokeStyle=t.borderColor,r.lineWidth=t.borderWidth;var n=t.xAlign,o=t.yAlign,s=e.x,d=e.y,l=a.width,f=a.height,c=t.cornerRadius;r.beginPath(),r.moveTo(s+c,d),"top"===o&&this.drawCaret(e,a),r.lineTo(s+l-c,d),r.quadraticCurveTo(s+l,d,s+l,d+c),"center"===o&&"right"===n&&this.drawCaret(e,a),r.lineTo(s+l,d+f-c),r.quadraticCurveTo(s+l,d+f,s+l-c,d+f),"bottom"===o&&this.drawCaret(e,a),r.lineTo(s+c,d+f),r.quadraticCurveTo(s,d+f,s,d+f-c),"center"===o&&"left"===n&&this.drawCaret(e,a),r.lineTo(s,d+c),r.quadraticCurveTo(s,d,s+c,d),r.closePath(),r.fill(),t.borderWidth>0&&r.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var r={width:t.width,height:t.height},a={x:t.x,y:t.y},n=Math.abs(t.opacity<.001)?0:t.opacity;this._options.enabled&&(t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length)&&(e.save(),e.globalAlpha=n,this.drawBackground(a,t,e,r),a.y+=t.yPadding,m.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(a,t,e),this.drawBody(a,t,e),this.drawFooter(a,t,e),m.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var a,t=this,r=t._options;return t._lastActive=t._lastActive||[],"mouseout"===e.type?t._active=[]:(t._active=t._chart.getElementsAtEventForMode(e,r.mode,r),r.reverse&&t._active.reverse()),(a=!m.arrayEquals(t._active,t._lastActive))&&(t._lastActive=t._active,(r.enabled||r.custom)&&(t._eventPosition={x:e.x,y:e.y},t.update(!0),t.pivot())),a}}),Kr=Cs;Kr.positioners=_n;var Jr=m.valueOrDefault;function kn(){return m.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,r,a){if("xAxes"===e||"yAxes"===e){var o,s,d,n=r[e].length;for(t[e]||(t[e]=[]),o=0;o<n;++o)s=Jr((d=r[e][o]).type,"xAxes"===e?"category":"linear"),o>=t[e].length&&t[e].push({}),m.merge(t[e][o],!t[e][o].type||d.type&&d.type!==t[e][o].type?[Rt.getScaleDefaults(s),d]:d)}else m._merger(e,t,r,a)}})}function Qr(){return m.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,r,a){var n=t[e]||Object.create(null),o=r[e];"scales"===e?t[e]=kn(n,o):"scale"===e?t[e]=m.merge(n,[Rt.getScaleDefaults(o.type),o]):m._merger(e,t,r,a)}})}function Mn(e,t,r){var a,n=function(o){return o.id===a};do{a=t+r++}while(m.findIndex(e,n)>=0);return a}function Sn(e){return"top"===e||"bottom"===e}function Dn(e,t){return function(r,a){return r[e]===a[e]?r[t]-a[t]:r[e]-a[e]}}F._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Ve=function(e,t){return this.construct(e,t),this};m.extend(Ve.prototype,{construct:function(e,t){var r=this;t=function Os(e){var t=(e=e||Object.create(null)).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Qr(F.global,F[e.type],e.options||{}),e}(t);var a=gt.acquireContext(e,t),n=a&&a.canvas,o=n&&n.height,s=n&&n.width;r.id=m.uid(),r.ctx=a,r.canvas=n,r.config=t,r.width=s,r.height=o,r.aspectRatio=o?s/o:null,r.options=t.options,r._bufferedRender=!1,r._layers=[],r.chart=r,r.controller=r,Ve.instances[r.id]=r,Object.defineProperty(r,"data",{get:function(){return r.config.data},set:function(d){r.config.data=d}}),a&&n?(r.initialize(),r.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return j.notify(e,"beforeInit"),m.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),j.notify(e,"afterInit"),e},clear:function(){return m.canvas.clear(this),this},stop:function(){return Nr.cancelAnimation(this),this},resize:function(e){var t=this,r=t.options,a=t.canvas,n=r.maintainAspectRatio&&t.aspectRatio||null,o=Math.max(0,Math.floor(m.getMaximumWidth(a))),s=Math.max(0,Math.floor(n?o/n:m.getMaximumHeight(a)));if((t.width!==o||t.height!==s)&&(a.width=t.width=o,a.height=t.height=s,a.style.width=o+"px",a.style.height=s+"px",m.retinaScale(t,r.devicePixelRatio),!e)){var d={width:o,height:s};j.notify(t,"resize",[d]),r.onResize&&r.onResize(t,d),t.stop(),t.update({duration:r.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},r=e.scale;m.each(t.xAxes,function(a,n){a.id||(a.id=Mn(t.xAxes,"x-axis-",n))}),m.each(t.yAxes,function(a,n){a.id||(a.id=Mn(t.yAxes,"y-axis-",n))}),r&&(r.id=r.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,r=e.scales||{},a=[],n=Object.keys(r).reduce(function(o,s){return o[s]=!1,o},{});t.scales&&(a=a.concat((t.scales.xAxes||[]).map(function(o){return{options:o,dtype:"category",dposition:"bottom"}}),(t.scales.yAxes||[]).map(function(o){return{options:o,dtype:"linear",dposition:"left"}}))),t.scale&&a.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),m.each(a,function(o){var s=o.options,d=s.id,l=Jr(s.type,o.dtype);Sn(s.position)!==Sn(o.dposition)&&(s.position=o.dposition),n[d]=!0;var f=null;if(d in r&&r[d].type===l)(f=r[d]).options=s,f.ctx=e.ctx,f.chart=e;else{var c=Rt.getScaleConstructor(l);if(!c)return;f=new c({id:d,type:l,options:s,ctx:e.ctx,chart:e}),r[f.id]=f}f.mergeTicksOptions(),o.isDefault&&(e.scale=f)}),m.each(n,function(o,s){o||delete r[s]}),e.scales=r,Rt.addScalesToLayout(this)},buildOrUpdateControllers:function(){var a,n,e=this,t=[],r=e.data.datasets;for(a=0,n=r.length;a<n;a++){var o=r[a],s=e.getDatasetMeta(a),d=o.type||e.config.type;if(s.type&&s.type!==d&&(e.destroyDatasetMeta(a),s=e.getDatasetMeta(a)),s.type=d,s.order=o.order||0,s.index=a,s.controller)s.controller.updateIndex(a),s.controller.linkScales();else{var l=hn[s.type];if(void 0===l)throw new Error('"'+s.type+'" is not a chart type.');s.controller=new l(e,a),t.push(s.controller)}}return t},resetElements:function(){var e=this;m.each(e.data.datasets,function(t,r){e.getDatasetMeta(r).controller.reset()},e)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var r,a,t=this;if((!e||"object"!=typeof e)&&(e={duration:e,lazy:arguments[1]}),function Fs(e){var t=e.options;m.each(e.scales,function(r){pe.removeBox(e,r)}),t=Qr(F.global,F[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}(t),j._invalidate(t),!1!==j.notify(t,"beforeUpdate")){t.tooltip._data=t.data;var n=t.buildOrUpdateControllers();for(r=0,a=t.data.datasets.length;r<a;r++)t.getDatasetMeta(r).controller.buildOrUpdateElements();t.updateLayout(),t.options.animation&&t.options.animation.duration&&m.each(n,function(o){o.reset()}),t.updateDatasets(),t.tooltip.initialize(),t.lastActive=[],j.notify(t,"afterUpdate"),t._layers.sort(Dn("z","_idx")),t._bufferedRender?t._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:t.render(e)}},updateLayout:function(){var e=this;!1!==j.notify(e,"beforeLayout")&&(pe.update(this,this.width,this.height),e._layers=[],m.each(e.boxes,function(t){t._configure&&t._configure(),e._layers.push.apply(e._layers,t._layers())},e),e._layers.forEach(function(t,r){t._idx=r}),j.notify(e,"afterScaleUpdate"),j.notify(e,"afterLayout"))},updateDatasets:function(){var e=this;if(!1!==j.notify(e,"beforeDatasetsUpdate")){for(var t=0,r=e.data.datasets.length;t<r;++t)e.updateDataset(t);j.notify(e,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this,r=t.getDatasetMeta(e),a={meta:r,index:e};!1!==j.notify(t,"beforeDatasetUpdate",[a])&&(r.controller._update(),j.notify(t,"afterDatasetUpdate",[a]))},render:function(e){var t=this;(!e||"object"!=typeof e)&&(e={duration:e,lazy:arguments[1]});var r=t.options.animation,a=Jr(e.duration,r&&r.duration),n=e.lazy;if(!1!==j.notify(t,"beforeRender")){var o=function(d){j.notify(t,"afterRender"),m.callback(r&&r.onComplete,[d],t)};if(r&&a){var s=new Wr({numSteps:a/16.66,easing:e.easing||r.easing,render:function(d,l){var c=l.currentStep,v=c/l.numSteps;d.draw((0,m.easing.effects[l.easing])(v),v,c)},onAnimationProgress:r.onProgress,onAnimationComplete:o});Nr.addAnimation(t,s,a,n)}else t.draw(),o(new Wr({numSteps:0,chart:t}));return t}},draw:function(e){var r,a,t=this;if(t.clear(),m.isNullOrUndef(e)&&(e=1),t.transition(e),!(t.width<=0||t.height<=0)&&!1!==j.notify(t,"beforeDraw",[e])){for(a=t._layers,r=0;r<a.length&&a[r].z<=0;++r)a[r].draw(t.chartArea);for(t.drawDatasets(e);r<a.length;++r)a[r].draw(t.chartArea);t._drawTooltip(e),j.notify(t,"afterDraw",[e])}},transition:function(e){for(var t=this,r=0,a=(t.data.datasets||[]).length;r<a;++r)t.isDatasetVisible(r)&&t.getDatasetMeta(r).controller.transition(e);t.tooltip.transition(e)},_getSortedDatasetMetas:function(e){var n,o,t=this,a=[];for(n=0,o=(t.data.datasets||[]).length;n<o;++n)(!e||t.isDatasetVisible(n))&&a.push(t.getDatasetMeta(n));return a.sort(Dn("order","index")),a},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(e){var r,a,t=this;if(!1!==j.notify(t,"beforeDatasetsDraw",[e])){for(a=(r=t._getSortedVisibleDatasetMetas()).length-1;a>=0;--a)t.drawDataset(r[a],e);j.notify(t,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var a={meta:e,index:e.index,easingValue:t};!1!==j.notify(this,"beforeDatasetDraw",[a])&&(e.controller.draw(t),j.notify(this,"afterDatasetDraw",[a]))},_drawTooltip:function(e){var t=this,r=t.tooltip,a={tooltip:r,easingValue:e};!1!==j.notify(t,"beforeTooltipDraw",[a])&&(r.draw(),j.notify(t,"afterTooltipDraw",[a]))},getElementAtEvent:function(e){return vt.modes.single(this,e)},getElementsAtEvent:function(e){return vt.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return vt.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,r){var a=vt.modes[t];return"function"==typeof a?a(this,e,r):[]},getDatasetAtEvent:function(e){return vt.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this,r=t.data.datasets[e];r._meta||(r._meta={});var a=r._meta[t.id];return a||(a=r._meta[t.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:r.order||0,index:e}),a},getVisibleDatasetCount:function(){for(var e=0,t=0,r=this.data.datasets.length;t<r;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,r=this.data.datasets[e],a=r._meta&&r._meta[t];a&&(a.controller.destroy(),delete r._meta[t])},destroy:function(){var r,a,e=this,t=e.canvas;for(e.stop(),r=0,a=e.data.datasets.length;r<a;++r)e.destroyDatasetMeta(r);t&&(e.unbindEvents(),m.canvas.clear(e),gt.releaseContext(e.ctx),e.canvas=null,e.ctx=null),j.notify(e,"destroy"),delete Ve.instances[e.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new Kr({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var e=this,t=e._listeners={},r=function(){e.eventHandler.apply(e,arguments)};m.each(e.options.events,function(a){gt.addEventListener(e,a,r),t[a]=r}),e.options.responsive&&(r=function(){e.resize()},gt.addEventListener(e,"resize",r),t.resize=r)},unbindEvents:function(){var e=this,t=e._listeners;t&&(delete e._listeners,m.each(t,function(r,a){gt.removeEventListener(e,a,r)}))},updateHoverStyle:function(e,t,r){var n,o,s,a=r?"set":"remove";for(o=0,s=e.length;o<s;++o)(n=e[o])&&this.getDatasetMeta(n._datasetIndex).controller[a+"HoverStyle"](n);"dataset"===t&&this.getDatasetMeta(e[0]._datasetIndex).controller["_"+a+"DatasetHoverStyle"]()},eventHandler:function(e){var t=this,r=t.tooltip;if(!1!==j.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var a=t.handleEvent(e);r&&(a=r._start?r.handleEvent(e):a|r.handleEvent(e)),j.notify(t,"afterEvent",[e]);var n=t._bufferedRequest;return n?t.render(n):a&&!t.animating&&(t.stop(),t.render({duration:t.options.hover.animationDuration,lazy:!0})),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var n,t=this,r=t.options||{},a=r.hover;return t.lastActive=t.lastActive||[],t.active="mouseout"===e.type?[]:t.getElementsAtEventForMode(e,a.mode,a),m.callback(r.onHover||r.hover.onHover,[e.native,t.active],t),("mouseup"===e.type||"click"===e.type)&&r.onClick&&r.onClick.call(t,e.native,t.active),t.lastActive.length&&t.updateHoverStyle(t.lastActive,a.mode,!1),t.active.length&&a.mode&&t.updateHoverStyle(t.active,a.mode,!0),n=!m.arrayEquals(t.active,t.lastActive),t.lastActive=t.active,n}}),Ve.instances={};var W=Ve;function tt(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function ir(e){this.options=e||{}}Ve.Controller=Ve,Ve.types={},m.configMerge=Qr,m.scaleMerge=kn,m.extend(ir.prototype,{formats:tt,parse:tt,format:tt,add:tt,diff:tt,startOf:tt,endOf:tt,_create:function(e){return e}}),ir.override=function(e){m.extend(ir.prototype,e)};var ea={_date:ir},Wt={formatters:{values:function(e){return m.isArray(e)?e:""+e},linear:function(e,t,r){var a=r.length>3?r[2]-r[1]:r[1]-r[0];Math.abs(a)>1&&e!==Math.floor(e)&&(a=e-Math.floor(e));var n=m.log10(Math.abs(a)),o="";if(0!==e)if(Math.max(Math.abs(r[0]),Math.abs(r[r.length-1]))<1e-4){var d=m.log10(Math.abs(e)),l=Math.floor(d)-Math.floor(n);l=Math.max(Math.min(l,20),0),o=e.toExponential(l)}else{var f=-1*Math.floor(n);f=Math.max(Math.min(f,20),0),o=e.toFixed(f)}else o="0";return o},logarithmic:function(e,t,r){var a=e/Math.pow(10,Math.floor(m.log10(e)));return 0===e?"0":1===a||2===a||5===a||0===t||t===r.length-1?e.toExponential():""}}},rt=m.isArray,Nt=m.isNullOrUndef,at=m.valueOrDefault,mt=m.valueAtIndexOrDefault;function Rs(e,t,r){var f,a=e.getTicks().length,n=Math.min(t,a-1),o=e.getPixelForTick(n),s=e._startPixel,d=e._endPixel,l=1e-6;if(!(r&&(f=1===a?Math.max(o-s,d-o):0===t?(e.getPixelForTick(1)-o)/2:(o-e.getPixelForTick(n-1))/2,o+=n<t?f:-f,o<s-l||o>d+l)))return o}function Yt(e){return e.drawTicks?e.tickMarkLength:0}function ta(e){var t,r;return e.display?(t=m.options._parseFont(e),r=m.options.toPadding(e.padding),t.lineHeight+r.height):0}function Tn(e,t){return m.extend(m.options._parseFont({fontFamily:at(t.fontFamily,e.fontFamily),fontSize:at(t.fontSize,e.fontSize),fontStyle:at(t.fontStyle,e.fontStyle),lineHeight:at(t.lineHeight,e.lineHeight)}),{color:m.options.resolve([t.fontColor,e.fontColor,F.global.defaultFontColor])})}function ra(e){var t=Tn(e,e.minor);return{minor:t,major:e.major.enabled?Tn(e,e.major):t}}function aa(e){var r,a,n,t=[];for(a=0,n=e.length;a<n;++a)typeof(r=e[a])._index<"u"&&t.push(r);return t}function or(e,t,r,a){var d,l,f,c,n=at(r,0),o=Math.min(at(a,e.length),e.length),s=0;for(t=Math.ceil(t),a&&(t=(d=a-r)/Math.floor(d/t)),c=n;c<0;)s++,c=Math.round(n+s*t);for(l=Math.max(n,0);l<o;l++)f=e[l],l===c?(f._index=l,s++,c=Math.round(n+s*t)):delete f.label}F._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:Wt.formatters.values,minor:{},major:{}}});var na=De.extend({zeroLineIndex:0,getPadding:function(){var e=this;return{left:e.paddingLeft||0,top:e.paddingTop||0,right:e.paddingRight||0,bottom:e.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){m.callback(this.options.beforeUpdate,[this])},update:function(e,t,r){var s,d,l,f,c,a=this,n=a.options.ticks,o=n.sampleSize;if(a.beforeUpdate(),a.maxWidth=e,a.maxHeight=t,a.margins=m.extend({left:0,right:0,top:0,bottom:0},r),a._ticks=null,a.ticks=null,a._labelSizes=null,a._maxLabelLines=0,a.longestLabelWidth=0,a.longestTextCache=a.longestTextCache||{},a._gridLineItems=null,a._labelItems=null,a.beforeSetDimensions(),a.setDimensions(),a.afterSetDimensions(),a.beforeDataLimits(),a.determineDataLimits(),a.afterDataLimits(),a.beforeBuildTicks(),f=a.buildTicks()||[],(!(f=a.afterBuildTicks(f)||f)||!f.length)&&a.ticks)for(f=[],s=0,d=a.ticks.length;s<d;++s)f.push({value:a.ticks[s],major:!1});return a._ticks=f,l=a._convertTicksToLabels((c=o<f.length)?function Ls(e,t){for(var r=[],a=e.length/t,n=0,o=e.length;n<o;n+=a)r.push(e[Math.floor(n)]);return r}(f,o):f),a._configure(),a.beforeCalculateTickRotation(),a.calculateTickRotation(),a.afterCalculateTickRotation(),a.beforeFit(),a.fit(),a.afterFit(),a._ticksToDraw=n.display&&(n.autoSkip||"auto"===n.source)?a._autoSkip(f):f,c&&(l=a._convertTicksToLabels(a._ticksToDraw)),a.ticks=l,a.afterUpdate(),a.minSize},_configure:function(){var r,a,e=this,t=e.options.ticks.reverse;e.isHorizontal()?(r=e.left,a=e.right):(r=e.top,a=e.bottom,t=!t),e._startPixel=r,e._endPixel=a,e._reversePixels=t,e._length=a-r},afterUpdate:function(){m.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){m.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){m.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){m.callback(this.options.beforeDataLimits,[this])},determineDataLimits:m.noop,afterDataLimits:function(){m.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){m.callback(this.options.beforeBuildTicks,[this])},buildTicks:m.noop,afterBuildTicks:function(e){var t=this;return rt(e)&&e.length?m.callback(t.options.afterBuildTicks,[t,e]):(t.ticks=m.callback(t.options.afterBuildTicks,[t,t.ticks])||t.ticks,e)},beforeTickToLabelConversion:function(){m.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this,t=e.options.ticks;e.ticks=e.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){m.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){m.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var d,l,f,c,v,p,y,e=this,t=e.options,r=t.ticks,a=e.getTicks().length,n=r.minRotation||0,o=r.maxRotation,s=n;!e._isVisible()||!r.display||n>=o||a<=1||!e.isHorizontal()?e.labelRotation=n:(l=(d=e._getLabelSizes()).widest.width,f=d.highest.height-d.highest.offset,c=Math.min(e.maxWidth,e.chart.width-l),l+6>(v=t.offset?e.maxWidth/a:c/(a-1))&&(v=c/(a-(t.offset?.5:1)),p=e.maxHeight-Yt(t.gridLines)-r.padding-ta(t.scaleLabel),y=Math.sqrt(l*l+f*f),s=m.toDegrees(Math.min(Math.asin(Math.min((d.highest.height+6)/v,1)),Math.asin(Math.min(p/y,1))-Math.asin(f/y))),s=Math.max(n,Math.min(o,s))),e.labelRotation=s)},afterCalculateTickRotation:function(){m.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){m.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},r=e.chart,a=e.options,n=a.ticks,o=a.scaleLabel,s=a.gridLines,d=e._isVisible(),l="bottom"===a.position,f=e.isHorizontal();if(f?t.width=e.maxWidth:d&&(t.width=Yt(s)+ta(o)),f?d&&(t.height=Yt(s)+ta(o)):t.height=e.maxHeight,n.display&&d){var c=ra(n),v=e._getLabelSizes(),p=v.first,y=v.last,_=v.widest,w=v.highest,x=.4*c.minor.lineHeight,M=n.padding;if(f){var T=0!==e.labelRotation,C=m.toRadians(e.labelRotation),I=Math.cos(C),A=Math.sin(C);t.height=Math.min(e.maxHeight,t.height+(A*_.width+I*(w.height-(T?w.offset:0))+(T?0:x))+M);var E,O,N=e.getPixelForTick(0)-e.left,Y=e.right-e.getPixelForTick(e.getTicks().length-1);T?(E=l?I*p.width+A*p.offset:A*(p.height-p.offset),O=l?A*(y.height-y.offset):I*y.width+A*y.offset):(E=p.width/2,O=y.width/2),e.paddingLeft=Math.max((E-N)*e.width/(e.width-N),0)+3,e.paddingRight=Math.max((O-Y)*e.width/(e.width-Y),0)+3}else t.width=Math.min(e.maxWidth,t.width+(n.mirror?0:_.width+M+x)),e.paddingTop=p.height/2,e.paddingBottom=y.height/2}e.handleMargins(),f?(e.width=e._length=r.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=r.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){m.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(Nt(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var r,a,n,t=this;for(t.ticks=e.map(function(o){return o.value}),t.beforeTickToLabelConversion(),r=t.convertTicksToLabels(e)||t.ticks,t.afterTickToLabelConversion(),a=0,n=e.length;a<n;++a)e[a].label=r[a];return r},_getLabelSizes:function(){var e=this,t=e._labelSizes;return t||(e._labelSizes=t=function Ns(e,t,r,a){var c,v,p,y,_,w,x,M,T,C,I,A,z,n=r.length,o=[],s=[],d=[],l=0,f=0;for(c=0;c<n;++c){if(y=r[c].label,e.font=w=(_=r[c].major?t.major:t.minor).string,x=a[w]=a[w]||{data:{},gc:[]},M=_.lineHeight,T=C=0,Nt(y)||rt(y)){if(rt(y))for(v=0,p=y.length;v<p;++v)!Nt(I=y[v])&&!rt(I)&&(T=m.measureText(e,x.data,x.gc,T,I),C+=M)}else T=m.measureText(e,x.data,x.gc,T,y),C=M;o.push(T),s.push(C),d.push(M/2),l=Math.max(T,l),f=Math.max(C,f)}function N(Y){return{width:o[Y]||0,height:s[Y]||0,offset:d[Y]||0}}return function Ws(e,t){m.each(e,function(r){var o,a=r.gc,n=a.length/2;if(n>t){for(o=0;o<n;++o)delete r.data[a[o]];a.splice(0,n)}})}(a,n),A=o.indexOf(l),z=s.indexOf(f),{first:N(0),last:N(n-1),widest:N(A),highest:N(z)}}(e.ctx,ra(e.options.ticks),e.getTicks(),e.longestTextCache),e.longestLabelWidth=t.widest.width),t},_parseValue:function(e){var t,r,a,n;return rt(e)?(t=+this.getRightValue(e[0]),r=+this.getRightValue(e[1]),a=Math.min(t,r),n=Math.max(t,r)):(t=void 0,r=e=+this.getRightValue(e),a=e,n=e),{min:a,max:n,start:t,end:r}},_getScaleLabel:function(e){var t=this._parseValue(e);return void 0!==t.start?"["+t.start+", "+t.end+"]":+this.getRightValue(e)},getLabelForIndex:m.noop,getPixelForValue:m.noop,getValueForPixel:m.noop,getPixelForTick:function(e){var t=this,r=t.options.offset,a=t._ticks.length,n=1/Math.max(a-(r?0:1),1);return e<0||e>a-1?null:t.getPixelForDecimal(e*n+(r?n/2:0))},getPixelForDecimal:function(e){var t=this;return t._reversePixels&&(e=1-e),t._startPixel+e*t._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this,t=e.min,r=e.max;return e.beginAtZero?0:t<0&&r<0?r:t>0&&r>0?t:0},_autoSkip:function(e){var f,c,v,p,t=this,r=t.options.ticks,n=r.maxTicksLimit||t._length/t._tickSize()+1,o=r.major.enabled?function zs(e){var r,a,t=[];for(r=0,a=e.length;r<a;r++)e[r].major&&t.push(r);return t}(e):[],s=o.length,d=o[0],l=o[s-1];if(s>n)return function Bs(e,t,r){var o,s,a=0,n=t[0];for(r=Math.ceil(r),o=0;o<e.length;o++)s=e[o],o===n?(s._index=o,n=t[++a*r]):delete s.label}(e,o,s/n),aa(e);if(v=function Es(e,t,r,a){var s,d,l,f,n=function Ys(e){var r,a,t=e.length;if(t<2)return!1;for(a=e[0],r=1;r<t;++r)if(e[r]-e[r-1]!==a)return!1;return a}(e),o=(t.length-1)/a;if(!n)return Math.max(o,1);for(l=0,f=(s=m.math._factorize(n)).length-1;l<f;l++)if((d=s[l])>o)return d;return Math.max(o,1)}(o,e,0,n),s>0){for(f=0,c=s-1;f<c;f++)or(e,v,o[f],o[f+1]);return or(e,v,m.isNullOrUndef(p=s>1?(l-d)/(s-1):null)?0:d-p,d),or(e,v,l,m.isNullOrUndef(p)?e.length:l+p),aa(e)}return or(e,v),aa(e)},_tickSize:function(){var e=this,t=e.options.ticks,r=m.toRadians(e.labelRotation),a=Math.abs(Math.cos(r)),n=Math.abs(Math.sin(r)),o=e._getLabelSizes(),s=t.autoSkipPadding||0,d=o?o.widest.width+s:0,l=o?o.highest.height+s:0;return e.isHorizontal()?l*a>d*n?d/a:l/n:l*n<d*a?l/a:d/n},_isVisible:function(){var a,n,o,e=this,t=e.chart,r=e.options.display;if("auto"!==r)return!!r;for(a=0,n=t.data.datasets.length;a<n;++a)if(t.isDatasetVisible(a)&&((o=t.getDatasetMeta(a)).xAxisID===e.id||o.yAxisID===e.id))return!0;return!1},_computeGridLineItems:function(e){var x,M,T,C,I,A,z,N,Y,E,O,J,X,U,We,Ne,fe,t=this,r=t.chart,a=t.options,n=a.gridLines,o=a.position,s=n.offsetGridLines,d=t.isHorizontal(),l=t._ticksToDraw,f=l.length+(s?1:0),c=Yt(n),v=[],p=n.drawBorder?mt(n.lineWidth,0,0):0,y=p/2,_=m._alignPixel,w=function(ca){return _(r,ca,p)};for("top"===o?(x=w(t.bottom),z=t.bottom-c,Y=x-y,O=w(e.top)+y,X=e.bottom):"bottom"===o?(x=w(t.top),O=e.top,X=w(e.bottom)-y,z=x+y,Y=t.top+c):"left"===o?(x=w(t.right),A=t.right-c,N=x-y,E=w(e.left)+y,J=e.right):(x=w(t.left),E=e.left,J=w(e.right)-y,A=x+y,N=t.left+c),M=0;M<f;++M)!(Nt((T=l[M]||{}).label)&&M<l.length)&&(M===t.zeroLineIndex&&a.offset===s?(U=n.zeroLineWidth,We=n.zeroLineColor,Ne=n.zeroLineBorderDash||[],fe=n.zeroLineBorderDashOffset||0):(U=mt(n.lineWidth,M,1),We=mt(n.color,M,"rgba(0,0,0,0.1)"),Ne=n.borderDash||[],fe=n.borderDashOffset||0),void 0!==(C=Rs(t,T._index||M,s))&&(I=_(r,C,U),d?A=N=E=J=I:z=Y=O=X=I,v.push({tx1:A,ty1:z,tx2:N,ty2:Y,x1:E,y1:O,x2:J,y2:X,width:U,color:We,borderDash:Ne,borderDashOffset:fe})));return v.ticksLength=f,v.borderValue=x,v},_computeLabelItems:function(){var p,y,_,w,x,M,T,C,I,A,z,N,e=this,t=e.options,r=t.ticks,a=t.position,n=r.mirror,o=e.isHorizontal(),s=e._ticksToDraw,d=ra(r),l=r.padding,f=Yt(t.gridLines),c=-m.toRadians(e.labelRotation),v=[];for("top"===a?(M=e.bottom-f-l,T=c?"left":"center"):"bottom"===a?(M=e.top+f+l,T=c?"right":"center"):"left"===a?(x=e.right-(n?0:f)-l,T=n?"left":"right"):(x=e.left+(n?0:f)+l,T=n?"right":"left"),p=0,y=s.length;p<y;++p)!Nt(w=(_=s[p]).label)&&(C=e.getPixelForTick(_._index||p)+r.labelOffset,A=(I=_.major?d.major:d.minor).lineHeight,z=rt(w)?w.length:1,o?(x=C,N="top"===a?((c?1:.5)-z)*A:(c?0:.5)*A):(M=C,N=(1-z)*A/2),v.push({x,y:M,rotation:c,label:w,font:I,textOffset:N,textAlign:T}));return v},_drawGrid:function(e){var t=this,r=t.options.gridLines;if(r.display){var l,f,c,v,p,a=t.ctx,n=t.chart,o=m._alignPixel,s=r.drawBorder?mt(r.lineWidth,0,0):0,d=t._gridLineItems||(t._gridLineItems=t._computeGridLineItems(e));for(c=0,v=d.length;c<v;++c)f=(p=d[c]).color,(l=p.width)&&f&&(a.save(),a.lineWidth=l,a.strokeStyle=f,a.setLineDash&&(a.setLineDash(p.borderDash),a.lineDashOffset=p.borderDashOffset),a.beginPath(),r.drawTicks&&(a.moveTo(p.tx1,p.ty1),a.lineTo(p.tx2,p.ty2)),r.drawOnChartArea&&(a.moveTo(p.x1,p.y1),a.lineTo(p.x2,p.y2)),a.stroke(),a.restore());if(s){var x,M,T,C,y=s,_=mt(r.lineWidth,d.ticksLength-1,1),w=d.borderValue;t.isHorizontal()?(x=o(n,t.left,y)-y/2,M=o(n,t.right,_)+_/2,T=C=w):(T=o(n,t.top,y)-y/2,C=o(n,t.bottom,_)+_/2,x=M=w),a.lineWidth=s,a.strokeStyle=mt(r.color,0),a.beginPath(),a.moveTo(x,T),a.lineTo(M,C),a.stroke()}}},_drawLabels:function(){var e=this;if(e.options.ticks.display){var n,o,s,d,l,f,c,v,r=e.ctx,a=e._labelItems||(e._labelItems=e._computeLabelItems());for(n=0,s=a.length;n<s;++n){if(f=(l=a[n]).font,r.save(),r.translate(l.x,l.y),r.rotate(l.rotation),r.font=f.string,r.fillStyle=f.color,r.textBaseline="middle",r.textAlign=l.textAlign,v=l.textOffset,rt(c=l.label))for(o=0,d=c.length;o<d;++o)r.fillText(""+c[o],0,v),v+=f.lineHeight;else r.fillText(c,0,v);r.restore()}}},_drawTitle:function(){var e=this,t=e.ctx,r=e.options,a=r.scaleLabel;if(a.display){var c,v,n=at(a.fontColor,F.global.defaultFontColor),o=m.options._parseFont(a),s=m.options.toPadding(a.padding),d=o.lineHeight/2,l=r.position,f=0;if(e.isHorizontal())c=e.left+e.width/2,v="bottom"===l?e.bottom-d-s.bottom:e.top+d+s.top;else{var p="left"===l;c=p?e.left+d+s.top:e.right-d-s.top,v=e.top+e.height/2,f=p?-.5*Math.PI:.5*Math.PI}t.save(),t.translate(c,v),t.rotate(f),t.textAlign="center",t.textBaseline="middle",t.fillStyle=n,t.font=o.string,t.fillText(a.labelString,0,0),t.restore()}},draw:function(e){var t=this;t._isVisible()&&(t._drawGrid(e),t._drawTitle(),t._drawLabels())},_layers:function(){var e=this,t=e.options,r=t.ticks&&t.ticks.z||0,a=t.gridLines&&t.gridLines.z||0;return e._isVisible()&&r!==a&&e.draw===e._draw?[{z:a,draw:function(){e._drawGrid.apply(e,arguments),e._drawTitle.apply(e,arguments)}},{z:r,draw:function(){e._drawLabels.apply(e,arguments)}}]:[{z:r,draw:function(){e.draw.apply(e,arguments)}}]},_getMatchingVisibleMetas:function(e){var t=this,r=t.isHorizontal();return t.chart._getSortedVisibleDatasetMetas().filter(function(a){return(!e||a.type===e)&&(r?a.xAxisID===t.id:a.yAxisID===t.id)})}});na.prototype._draw=na.prototype.draw;var le=na,ia=m.isNullOrUndef,Cn=le.extend({determineDataLimits:function(){var d,e=this,t=e._getLabels(),r=e.options.ticks,a=r.min,n=r.max,o=0,s=t.length-1;void 0!==a&&(d=t.indexOf(a))>=0&&(o=d),void 0!==n&&(d=t.indexOf(n))>=0&&(s=d),e.minIndex=o,e.maxIndex=s,e.min=t[o],e.max=t[s]},buildTicks:function(){var e=this,t=e._getLabels(),r=e.minIndex,a=e.maxIndex;e.ticks=0===r&&a===t.length-1?t:t.slice(r,a+1)},getLabelForIndex:function(e,t){var r=this,a=r.chart;return a.getDatasetMeta(t).controller._getValueScaleId()===r.id?r.getRightValue(a.data.datasets[t].data[e]):r._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,r=e.ticks;le.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),r&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(r.length-(t?0:1),1))},getPixelForValue:function(e,t,r){var n,o,s,a=this;return!ia(t)&&!ia(r)&&(e=a.chart.data.datasets[r].data[t]),ia(e)||(n=a.isHorizontal()?e.x:e.y),(void 0!==n||void 0!==e&&isNaN(t))&&(o=a._getLabels(),e=m.valueOrDefault(n,e),t=-1!==(s=o.indexOf(e))?s:t,isNaN(t)&&(t=e)),a.getPixelForDecimal((t-a._startValue)/a._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=this,r=Math.round(t._startValue+t.getDecimalForPixel(e)*t._valueRange);return Math.min(Math.max(r,0),t.ticks.length-1)},getBasePixel:function(){return this.bottom}});Cn._defaults={position:"bottom"};var nt=m.isNullOrUndef,sr=le.extend({getRightValue:function(e){return"string"==typeof e?+e:le.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,r=e.options.ticks;if(r.beginAtZero){var a=m.sign(e.min),n=m.sign(e.max);a<0&&n<0?e.max=0:a>0&&n>0&&(e.min=0)}var o=void 0!==r.min||void 0!==r.suggestedMin,s=void 0!==r.max||void 0!==r.suggestedMax;void 0!==r.min?e.min=r.min:void 0!==r.suggestedMin&&(e.min=null===e.min?r.suggestedMin:Math.min(e.min,r.suggestedMin)),void 0!==r.max?e.max=r.max:void 0!==r.suggestedMax&&(e.max=null===e.max?r.suggestedMax:Math.max(e.max,r.suggestedMax)),o!==s&&e.min>=e.max&&(o?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,r.beginAtZero||e.min--)},getTickLimit:function(){var n,e=this,t=e.options.ticks,r=t.stepSize,a=t.maxTicksLimit;return r?n=Math.ceil(e.max/r)-Math.floor(e.min/r)+1:(n=e._computeTickLimit(),a=a||11),a&&(n=Math.min(a,n)),n},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:m.noop,buildTicks:function(){var e=this,r=e.options.ticks,a=e.getTickLimit(),n={maxTicks:a=Math.max(2,a),min:r.min,max:r.max,precision:r.precision,stepSize:m.valueOrDefault(r.fixedStepSize,r.stepSize)},o=e.ticks=function js(e,t){var y,_,w,x,r=[],n=e.stepSize,o=n||1,s=e.maxTicks-1,d=e.min,l=e.max,f=e.precision,c=t.min,v=t.max,p=m.niceNum((v-c)/s/o)*o;if(p<1e-14&&nt(d)&&nt(l))return[c,v];(x=Math.ceil(v/p)-Math.floor(c/p))>s&&(p=m.niceNum(x*p/s/o)*o),n||nt(f)?y=Math.pow(10,m._decimalPlaces(p)):(y=Math.pow(10,f),p=Math.ceil(p*y)/y),_=Math.floor(c/p)*p,w=Math.ceil(v/p)*p,n&&(!nt(d)&&m.almostWhole(d/p,p/1e3)&&(_=d),!nt(l)&&m.almostWhole(l/p,p/1e3)&&(w=l)),x=m.almostEquals(x=(w-_)/p,Math.round(x),p/1e3)?Math.round(x):Math.ceil(x),_=Math.round(_*y)/y,w=Math.round(w*y)/y,r.push(nt(d)?_:d);for(var M=1;M<x;++M)r.push(Math.round((_+M*p)*y)/y);return r.push(nt(l)?w:l),r}(n,e);e.handleDirectionalChanges(),e.max=m.max(o),e.min=m.min(o),r.reverse?(o.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),le.prototype.convertTicksToLabels.call(e)},_configure:function(){var n,e=this,t=e.getTicks(),r=e.min,a=e.max;le.prototype._configure.call(e),e.options.offset&&t.length&&(r-=n=(a-r)/Math.max(t.length-1,1)/2,a+=n),e._startValue=r,e._endValue=a,e._valueRange=a-r}}),Gs={position:"left",ticks:{callback:Wt.formatters.linear}};function Xs(e,t,r,a){var c,v,n=e.options,s=function Zs(e,t,r){var a=[r.type,void 0===t&&void 0===r.stack?r.index:"",r.stack].join(".");return void 0===e[a]&&(e[a]={pos:[],neg:[]}),e[a]}(t,n.stacked,r),d=s.pos,l=s.neg,f=a.length;for(c=0;c<f;++c)v=e._parseValue(a[c]),!(isNaN(v.min)||isNaN(v.max)||r.data[c].hidden)&&(d[c]=d[c]||0,l[c]=l[c]||0,n.relativePoints?d[c]=100:v.min<0||v.max<0?l[c]+=v.min:d[c]+=v.max)}function Ks(e,t,r){var n,o,a=r.length;for(n=0;n<a;++n)o=e._parseValue(r[n]),!(isNaN(o.min)||isNaN(o.max)||t.data[n].hidden)&&(e.min=Math.min(e.min,o.min),e.max=Math.max(e.max,o.max))}var Pn=sr.extend({determineDataLimits:function(){var l,f,c,v,e=this,t=e.options,a=e.chart.data.datasets,n=e._getMatchingVisibleMetas(),o=t.stacked,s={},d=n.length;if(e.min=Number.POSITIVE_INFINITY,e.max=Number.NEGATIVE_INFINITY,void 0===o)for(l=0;!o&&l<d;++l)o=void 0!==(f=n[l]).stack;for(l=0;l<d;++l)c=a[(f=n[l]).index].data,o?Xs(e,s,f,c):Ks(e,f,c);m.each(s,function(p){v=p.pos.concat(p.neg),e.min=Math.min(e.min,m.min(v)),e.max=Math.max(e.max,m.max(v))}),e.min=m.isFinite(e.min)&&!isNaN(e.min)?e.min:0,e.max=m.isFinite(e.max)&&!isNaN(e.max)?e.max:1,e.handleTickRangeOptions()},_computeTickLimit:function(){var t,e=this;return e.isHorizontal()?Math.ceil(e.width/40):(t=m.options._parseFont(e.options.ticks),Math.ceil(e.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){var t=this;return t.getPixelForDecimal((+t.getRightValue(e)-t._startValue)/t._valueRange)},getValueForPixel:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange},getPixelForTick:function(e){var t=this.ticksAsNumbers;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])}});Pn._defaults=Gs;var oa=m.valueOrDefault,ue=m.math.log10,el={position:"left",ticks:{callback:Wt.formatters.logarithmic}};function lr(e,t){return m.isFinite(e)&&e>=0?e:t}var On=le.extend({determineDataLimits:function(){var s,d,l,f,c,v,e=this,t=e.options,r=e.chart,a=r.data.datasets,n=e.isHorizontal();function o(x){return n?x.xAxisID===e.id:x.yAxisID===e.id}e.min=Number.POSITIVE_INFINITY,e.max=Number.NEGATIVE_INFINITY,e.minNotZero=Number.POSITIVE_INFINITY;var p=t.stacked;if(void 0===p)for(s=0;s<a.length;s++)if(d=r.getDatasetMeta(s),r.isDatasetVisible(s)&&o(d)&&void 0!==d.stack){p=!0;break}if(t.stacked||p){var y={};for(s=0;s<a.length;s++){var _=[(d=r.getDatasetMeta(s)).type,void 0===t.stacked&&void 0===d.stack?s:"",d.stack].join(".");if(r.isDatasetVisible(s)&&o(d))for(void 0===y[_]&&(y[_]=[]),c=0,v=(f=a[s].data).length;c<v;c++){var w=y[_];l=e._parseValue(f[c]),!(isNaN(l.min)||isNaN(l.max)||d.data[c].hidden||l.min<0||l.max<0)&&(w[c]=w[c]||0,w[c]+=l.max)}}m.each(y,function(x){if(x.length>0){var M=m.min(x),T=m.max(x);e.min=Math.min(e.min,M),e.max=Math.max(e.max,T)}})}else for(s=0;s<a.length;s++)if(d=r.getDatasetMeta(s),r.isDatasetVisible(s)&&o(d))for(c=0,v=(f=a[s].data).length;c<v;c++)l=e._parseValue(f[c]),!(isNaN(l.min)||isNaN(l.max)||d.data[c].hidden||l.min<0||l.max<0)&&(e.min=Math.min(l.min,e.min),e.max=Math.max(l.max,e.max),0!==l.min&&(e.minNotZero=Math.min(l.min,e.minNotZero)));e.min=m.isFinite(e.min)?e.min:null,e.max=m.isFinite(e.max)?e.max:null,e.minNotZero=m.isFinite(e.minNotZero)?e.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;e.min=lr(t.min,e.min),e.max=lr(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(ue(e.min))-1),e.max=Math.pow(10,Math.floor(ue(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(ue(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(ue(e.min))+1):10),null===e.minNotZero&&(e.minNotZero=e.min>0?e.min:e.max<1?Math.pow(10,Math.floor(ue(e.max))):1)},buildTicks:function(){var e=this,t=e.options.ticks,r=!e.isHorizontal(),a={min:lr(t.min),max:lr(t.max)},n=e.ticks=function Qs(e,t){var s,d,r=[],a=oa(e.min,Math.pow(10,Math.floor(ue(t.min)))),n=Math.floor(ue(t.max)),o=Math.ceil(t.max/Math.pow(10,n));0===a?(s=Math.floor(ue(t.minNotZero)),d=Math.floor(t.minNotZero/Math.pow(10,s)),r.push(a),a=d*Math.pow(10,s)):(s=Math.floor(ue(a)),d=Math.floor(a/Math.pow(10,s)));var l=s<0?Math.pow(10,Math.abs(s)):1;do{r.push(a),10==++d&&(d=1,l=++s>=0?1:l),a=Math.round(d*Math.pow(10,s)*l)/l}while(s<n||s===n&&d<o);var f=oa(e.max,a);return r.push(f),r}(a,e);e.max=m.max(n),e.min=m.min(n),t.reverse?(r=!r,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),r&&n.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),le.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(ue(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,r=0;le.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),r=oa(e.options.ticks.fontSize,F.global.defaultFontSize)/e._length),e._startValue=ue(t),e._valueOffset=r,e._valueRange=(ue(e.max)-ue(t))/(1-r)},getPixelForValue:function(e){var t=this,r=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(r=(ue(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(r)},getValueForPixel:function(e){var t=this,r=t.getDecimalForPixel(e);return 0===r&&0===t.min?0:Math.pow(10,t._startValue+(r-t._valueOffset)*t._valueRange)}});On._defaults=el;var ur=m.valueOrDefault,sa=m.valueAtIndexOrDefault,Fn=m.options.resolve,rl={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Wt.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function la(e){var t=e.ticks;return t.display&&e.display?ur(t.fontSize,F.global.defaultFontSize)+2*t.backdropPaddingY:0}function al(e,t,r){return m.isArray(r)?{w:m.longestText(e,e.font,r),h:r.length*t}:{w:e.measureText(r).width,h:t}}function An(e,t,r,a,n){return e===a||e===n?{start:t-r/2,end:t+r/2}:e<a||e>n?{start:t-r,end:t}:{start:t,end:t+r}}function il(e){return 0===e||180===e?"center":e<180?"left":"right"}function ol(e,t,r,a){var o,s,n=r.y+a/2;if(m.isArray(t))for(o=0,s=t.length;o<s;++o)e.fillText(t[o],r.x,n),n+=a;else e.fillText(t,r.x,n)}function sl(e,t,r){90===e||270===e?r.y-=t.h/2:(e>270||e<90)&&(r.y-=t.h)}function dr(e){return m.isNumber(e)?e:0}var In=sr.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=la(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var e=this,t=e.chart,r=Number.POSITIVE_INFINITY,a=Number.NEGATIVE_INFINITY;m.each(t.data.datasets,function(n,o){if(t.isDatasetVisible(o)){var s=t.getDatasetMeta(o);m.each(n.data,function(d,l){var f=+e.getRightValue(d);isNaN(f)||s.data[l].hidden||(r=Math.min(f,r),a=Math.max(f,a))})}}),e.min=r===Number.POSITIVE_INFINITY?0:r,e.max=a===Number.NEGATIVE_INFINITY?0:a,e.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/la(this.options))},convertTicksToLabels:function(){var e=this;sr.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(function(){var t=m.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""})},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this,t=e.options;t.display&&t.pointLabels.display?function nl(e){var n,o,s,t=m.options._parseFont(e.options.pointLabels),r={l:0,r:e.width,t:0,b:e.height-e.paddingTop},a={};e.ctx.font=t.string,e._pointLabelSizes=[];var d=e.chart.data.labels.length;for(n=0;n<d;n++){s=e.getPointPosition(n,e.drawingArea+5),o=al(e.ctx,t.lineHeight,e.pointLabels[n]),e._pointLabelSizes[n]=o;var l=e.getIndexAngle(n),f=m.toDegrees(l)%360,c=An(f,s.x,o.w,0,180),v=An(f,s.y,o.h,90,270);c.start<r.l&&(r.l=c.start,a.l=l),c.end>r.r&&(r.r=c.end,a.r=l),v.start<r.t&&(r.t=v.start,a.t=l),v.end>r.b&&(r.b=v.end,a.b=l)}e.setReductions(e.drawingArea,r,a)}(e):e.setCenterPoint(0,0,0,0)},setReductions:function(e,t,r){var a=this,n=t.l/Math.sin(r.l),o=Math.max(t.r-a.width,0)/Math.sin(r.r),s=-t.t/Math.cos(r.t),d=-Math.max(t.b-(a.height-a.paddingTop),0)/Math.cos(r.b);n=dr(n),o=dr(o),s=dr(s),d=dr(d),a.drawingArea=Math.min(Math.floor(e-(n+o)/2),Math.floor(e-(s+d)/2)),a.setCenterPoint(n,o,s,d)},setCenterPoint:function(e,t,r,a){var n=this,d=r+n.drawingArea,l=n.height-n.paddingTop-a-n.drawingArea;n.xCenter=Math.floor((e+n.drawingArea+(n.width-t-n.drawingArea))/2+n.left),n.yCenter=Math.floor((d+l)/2+n.top+n.paddingTop)},getIndexAngle:function(e){var t=this.chart,o=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(o<0?o+360:o)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(m.isNullOrUndef(e))return NaN;var r=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*r:(e-t.min)*r},getPointPosition:function(e,t){var r=this,a=r.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(a)*t+r.xCenter,y:Math.sin(a)*t+r.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this,r=t.min,a=t.max;return t.getPointPositionForValue(e||0,t.beginAtZero?0:r<0&&a<0?a:r>0&&a>0?r:0)},_drawGrid:function(){var d,l,f,e=this,t=e.ctx,r=e.options,a=r.gridLines,n=r.angleLines,o=ur(n.lineWidth,a.lineWidth),s=ur(n.color,a.color);if(r.pointLabels.display&&function ll(e){var t=e.ctx,r=e.options,a=r.pointLabels,n=la(r),o=e.getDistanceFromCenterForValue(r.ticks.reverse?e.min:e.max),s=m.options._parseFont(a);t.save(),t.font=s.string,t.textBaseline="middle";for(var d=e.chart.data.labels.length-1;d>=0;d--){var f=e.getPointPosition(d,o+(0===d?n/2:0)+5),c=sa(a.fontColor,d,F.global.defaultFontColor);t.fillStyle=c;var v=e.getIndexAngle(d),p=m.toDegrees(v);t.textAlign=il(p),sl(p,e._pointLabelSizes[d],f),ol(t,e.pointLabels[d],f,s.lineHeight)}t.restore()}(e),a.display&&m.each(e.ticks,function(c,v){0!==v&&(l=e.getDistanceFromCenterForValue(e.ticksAsNumbers[v]),function ul(e,t,r,a){var f,n=e.ctx,o=t.circular,s=e.chart.data.labels.length,d=sa(t.color,a-1),l=sa(t.lineWidth,a-1);if((o||s)&&d&&l){if(n.save(),n.strokeStyle=d,n.lineWidth=l,n.setLineDash&&(n.setLineDash(t.borderDash||[]),n.lineDashOffset=t.borderDashOffset||0),n.beginPath(),o)n.arc(e.xCenter,e.yCenter,r,0,2*Math.PI);else{f=e.getPointPosition(0,r),n.moveTo(f.x,f.y);for(var c=1;c<s;c++)f=e.getPointPosition(c,r),n.lineTo(f.x,f.y)}n.closePath(),n.stroke(),n.restore()}}(e,a,l,v))}),n.display&&o&&s){for(t.save(),t.lineWidth=o,t.strokeStyle=s,t.setLineDash&&(t.setLineDash(Fn([n.borderDash,a.borderDash,[]])),t.lineDashOffset=Fn([n.borderDashOffset,a.borderDashOffset,0])),d=e.chart.data.labels.length-1;d>=0;d--)l=e.getDistanceFromCenterForValue(r.ticks.reverse?e.min:e.max),f=e.getPointPosition(d,l),t.beginPath(),t.moveTo(e.xCenter,e.yCenter),t.lineTo(f.x,f.y),t.stroke();t.restore()}},_drawLabels:function(){var e=this,t=e.ctx,a=e.options.ticks;if(a.display){var d,l,n=e.getIndexAngle(0),o=m.options._parseFont(a),s=ur(a.fontColor,F.global.defaultFontColor);t.save(),t.font=o.string,t.translate(e.xCenter,e.yCenter),t.rotate(n),t.textAlign="center",t.textBaseline="middle",m.each(e.ticks,function(f,c){0===c&&!a.reverse||(d=e.getDistanceFromCenterForValue(e.ticksAsNumbers[c]),a.showLabelBackdrop&&(l=t.measureText(f).width,t.fillStyle=a.backdropColor,t.fillRect(-l/2-a.backdropPaddingX,-d-o.size/2-a.backdropPaddingY,l+2*a.backdropPaddingX,o.size+2*a.backdropPaddingY)),t.fillStyle=s,t.fillText(f,0,-d))}),t.restore()}},_drawTitle:m.noop});In._defaults=rl;var ua=m._deprecated,Ln=m.options.resolve,fl=m.valueOrDefault,Rn=Number.MIN_SAFE_INTEGER||-9007199254740991,da=Number.MAX_SAFE_INTEGER||9007199254740991,fr={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},de=Object.keys(fr);function Wn(e,t){return e-t}function Nn(e){return m.valueOrDefault(e.time.min,e.ticks.min)}function Yn(e){return m.valueOrDefault(e.time.max,e.ticks.max)}function pt(e,t,r,a){var n=function vl(e,t,r){for(var o,s,d,a=0,n=e.length-1;a>=0&&a<=n;){if(d=e[o=a+n>>1],!(s=e[o-1]||null))return{lo:null,hi:d};if(d[t]<r)a=o+1;else{if(!(s[t]>r))return{lo:s,hi:d};n=o-1}}return{lo:d,hi:null}}(e,t,r),o=n.lo?n.hi?n.lo:e[e.length-2]:e[0],s=n.lo?n.hi?n.hi:e[e.length-1]:e[1],d=s[t]-o[t];return o[a]+(s[a]-o[a])*(d?(r-o[t])/d:0)}function fa(e,t){var r=e._adapter,a=e.options.time,n=a.parser,o=n||a.format,s=t;return"function"==typeof n&&(s=n(s)),m.isFinite(s)||(s="string"==typeof o?r.parse(s,o):r.parse(s)),null!==s?+s:(!n&&"function"==typeof o&&(s=o(t),m.isFinite(s)||(s=r.parse(s))),s)}function it(e,t){if(m.isNullOrUndef(t))return null;var r=e.options.time,a=fa(e,e.getRightValue(t));return null===a||r.round&&(a=+e._adapter.startOf(a,r.round)),a}function En(e,t,r,a){var o,s,n=de.length;for(o=de.indexOf(e);o<n-1;++o)if((s=fr[de[o]]).common&&Math.ceil((r-t)/((s.steps?s.steps:da)*s.size))<=a)return de[o];return de[n-1]}function zn(e,t,r){var s,d,a=[],n={},o=t.length;for(s=0;s<o;++s)n[d=t[s]]=s,a.push({value:d,major:!1});return 0!==o&&r?function yl(e,t,r,a){var d,l,n=e._adapter,o=+n.startOf(t[0].value,a),s=t[t.length-1].value;for(d=o;d<=s;d=+n.add(d,1,a))(l=r[d])>=0&&(t[l].major=!0);return t}(e,a,n,r):a}var Bn=le.extend({initialize:function(){this.mergeTicksOptions(),le.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,r=t.time||(t.time={}),a=e._adapter=new ea._date(t.adapters.date);return ua("time scale",r.format,"time.format","time.parser"),ua("time scale",r.min,"time.min","ticks.min"),ua("time scale",r.max,"time.max","ticks.max"),m.mergeIf(r.displayFormats,a.formats()),le.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),le.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var c,v,p,y,_,w,x,e=this,t=e.chart,r=e._adapter,a=e.options,n=a.time.unit||"day",o=da,s=Rn,d=[],l=[],f=[],M=e._getLabels();for(c=0,p=M.length;c<p;++c)f.push(it(e,M[c]));for(c=0,p=(t.data.datasets||[]).length;c<p;++c)if(t.isDatasetVisible(c))if(m.isObject((_=t.data.datasets[c].data)[0]))for(l[c]=[],v=0,y=_.length;v<y;++v)w=it(e,_[v]),d.push(w),l[c][v]=w;else l[c]=f.slice(0),x||(d=d.concat(f),x=!0);else l[c]=[];f.length&&(o=Math.min(o,f[0]),s=Math.max(s,f[f.length-1])),d.length&&(d=p>1?function hl(e){var a,n,o,t={},r=[];for(a=0,n=e.length;a<n;++a)t[o=e[a]]||(t[o]=!0,r.push(o));return r}(d).sort(Wn):d.sort(Wn),o=Math.min(o,d[0]),s=Math.max(s,d[d.length-1])),o=it(e,Nn(a))||o,s=it(e,Yn(a))||s,o=o===da?+r.startOf(Date.now(),n):o,s=s===Rn?+r.endOf(Date.now(),n)+1:s,e.min=Math.min(o,s),e.max=Math.max(o+1,s),e._table=[],e._timestamps={data:d,datasets:l,labels:f}},buildTicks:function(){var v,p,y,e=this,t=e.min,r=e.max,a=e.options,n=a.ticks,o=a.time,s=e._timestamps,d=[],l=e.getLabelCapacity(t),f=n.source,c=a.distribution;for(s="data"===f||"auto"===f&&"series"===c?s.data:"labels"===f?s.labels:function pl(e,t,r,a){var p,n=e._adapter,o=e.options,s=o.time,d=s.unit||En(s.minUnit,t,r,a),l=Ln([s.stepSize,s.unitStepSize,1]),f="week"===d&&s.isoWeekday,c=t,v=[];if(f&&(c=+n.startOf(c,"isoWeek",f)),c=+n.startOf(c,f?"day":d),n.diff(r,t,d)>1e5*l)throw t+" and "+r+" are too far apart with stepSize of "+l+" "+d;for(p=c;p<r;p=+n.add(p,l,d))v.push(p);return(p===r||"ticks"===o.bounds)&&v.push(p),v}(e,t,r,l),"ticks"===a.bounds&&s.length&&(t=s[0],r=s[s.length-1]),t=it(e,Nn(a))||t,r=it(e,Yn(a))||r,v=0,p=s.length;v<p;++v)(y=s[v])>=t&&y<=r&&d.push(y);return e.min=t,e.max=r,e._unit=o.unit||(n.autoSkip?En(o.minUnit,e.min,e.max,l):function gl(e,t,r,a,n){var o,s;for(o=de.length-1;o>=de.indexOf(r);o--)if(fr[s=de[o]].common&&e._adapter.diff(n,a,s)>=t-1)return s;return de[r?de.indexOf(r):0]}(e,d.length,o.minUnit,e.min,e.max)),e._majorUnit=n.major.enabled&&"year"!==e._unit?function ml(e){for(var t=de.indexOf(e)+1,r=de.length;t<r;++t)if(fr[de[t]].common)return de[t]}(e._unit):void 0,e._table=function cl(e,t,r,a){if("linear"===a||!e.length)return[{time:t,pos:0},{time:r,pos:1}];var s,d,l,f,c,n=[],o=[t];for(s=0,d=e.length;s<d;++s)(f=e[s])>t&&f<r&&o.push(f);for(o.push(r),s=0,d=o.length;s<d;++s)c=o[s+1],f=o[s],(void 0===(l=o[s-1])||void 0===c||Math.round((c+l)/2)!==f)&&n.push({time:f,pos:s/(d-1)});return n}(e._timestamps.data,t,r,c),e._offsets=function bl(e,t,r,a,n){var d,l,o=0,s=0;return n.offset&&t.length&&(d=pt(e,"time",t[0],"pos"),o=1===t.length?1-d:(pt(e,"time",t[1],"pos")-d)/2,l=pt(e,"time",t[t.length-1],"pos"),s=1===t.length?l:(l-pt(e,"time",t[t.length-2],"pos"))/2),{start:o,end:s,factor:1/(o+1+s)}}(e._table,d,0,0,a),n.reverse&&d.reverse(),zn(e,d,e._majorUnit)},getLabelForIndex:function(e,t){var r=this,a=r._adapter,n=r.chart.data,o=r.options.time,s=n.labels&&e<n.labels.length?n.labels[e]:"",d=n.datasets[t].data[e];return m.isObject(d)&&(s=r.getRightValue(d)),o.tooltipFormat?a.format(fa(r,s),o.tooltipFormat):"string"==typeof s?s:a.format(fa(r,s),o.displayFormats.datetime)},tickFormatFunction:function(e,t,r,a){var n=this,s=n.options,d=s.time.displayFormats,f=n._majorUnit,c=d[f],v=r[t],p=s.ticks,y=f&&c&&v&&v.major,_=n._adapter.format(e,a||(y?c:d[n._unit])),w=y?p.major:p.minor,x=Ln([w.callback,w.userCallback,p.callback,p.userCallback]);return x?x(_,t,r):_},convertTicksToLabels:function(e){var r,a,t=[];for(r=0,a=e.length;r<a;++r)t.push(this.tickFormatFunction(e[r].value,r,e));return t},getPixelForOffset:function(e){var t=this,r=t._offsets,a=pt(t._table,"time",e,"pos");return t.getPixelForDecimal((r.start+a)*r.factor)},getPixelForValue:function(e,t,r){var a=this,n=null;if(void 0!==t&&void 0!==r&&(n=a._timestamps.datasets[r][t]),null===n&&(n=it(a,e)),null!==n)return a.getPixelForOffset(n)},getPixelForTick:function(e){var t=this.getTicks();return e>=0&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this,r=t._offsets,a=t.getDecimalForPixel(e)/r.factor-r.end,n=pt(t._table,"pos",a,"time");return t._adapter._create(n)},_getLabelSize:function(e){var t=this,r=t.options.ticks,a=t.ctx.measureText(e).width,n=m.toRadians(t.isHorizontal()?r.maxRotation:r.minRotation),o=Math.cos(n),s=Math.sin(n),d=fl(r.fontSize,F.global.defaultFontSize);return{w:a*o+d*s,h:a*s+d*o}},getLabelWidth:function(e){return this._getLabelSize(e).w},getLabelCapacity:function(e){var t=this,r=t.options.time,a=r.displayFormats,n=a[r.unit]||a.millisecond,o=t.tickFormatFunction(e,0,zn(t,[e],t._majorUnit),n),s=t._getLabelSize(o),d=Math.floor(t.isHorizontal()?t.width/s.w:t.height/s.h);return t.options.offset&&d--,d>0?d:1}});Bn._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var wl={category:Cn,linear:Pn,logarithmic:On,radialLinear:In,time:Bn},xe=za(function(e,t){e.exports=function(){var r,M;function a(){return r.apply(null,arguments)}function o(i){return i instanceof Array||"[object Array]"===Object.prototype.toString.call(i)}function s(i){return null!=i&&"[object Object]"===Object.prototype.toString.call(i)}function l(i){return void 0===i}function f(i){return"number"==typeof i||"[object Number]"===Object.prototype.toString.call(i)}function c(i){return i instanceof Date||"[object Date]"===Object.prototype.toString.call(i)}function v(i,u){var g,h=[];for(g=0;g<i.length;++g)h.push(u(i[g],g));return h}function p(i,u){return Object.prototype.hasOwnProperty.call(i,u)}function y(i,u){for(var h in u)p(u,h)&&(i[h]=u[h]);return p(u,"toString")&&(i.toString=u.toString),p(u,"valueOf")&&(i.valueOf=u.valueOf),i}function _(i,u,h,g){return yi(i,u,h,g,!0).utc()}function x(i){return null==i._pf&&(i._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),i._pf}function T(i){if(null==i._isValid){var u=x(i),h=M.call(u.parsedDateParts,function(b){return null!=b}),g=!isNaN(i._d.getTime())&&u.overflow<0&&!u.empty&&!u.invalidMonth&&!u.invalidWeekday&&!u.weekdayMismatch&&!u.nullInput&&!u.invalidFormat&&!u.userInvalidated&&(!u.meridiem||u.meridiem&&h);if(i._strict&&(g=g&&0===u.charsLeftOver&&0===u.unusedTokens.length&&void 0===u.bigHour),null!=Object.isFrozen&&Object.isFrozen(i))return g;i._isValid=g}return i._isValid}function C(i){var u=_(NaN);return null!=i?y(x(u),i):x(u).userInvalidated=!0,u}M=Array.prototype.some?Array.prototype.some:function(i){for(var u=Object(this),h=u.length>>>0,g=0;g<h;g++)if(g in u&&i.call(this,u[g],g,u))return!0;return!1};var I=a.momentProperties=[];function A(i,u){var h,g,b;if(l(u._isAMomentObject)||(i._isAMomentObject=u._isAMomentObject),l(u._i)||(i._i=u._i),l(u._f)||(i._f=u._f),l(u._l)||(i._l=u._l),l(u._strict)||(i._strict=u._strict),l(u._tzm)||(i._tzm=u._tzm),l(u._isUTC)||(i._isUTC=u._isUTC),l(u._offset)||(i._offset=u._offset),l(u._pf)||(i._pf=x(u)),l(u._locale)||(i._locale=u._locale),I.length>0)for(h=0;h<I.length;h++)l(b=u[g=I[h]])||(i[g]=b);return i}var z=!1;function N(i){A(this,i),this._d=new Date(null!=i._d?i._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,a.updateOffset(this),z=!1)}function Y(i){return i instanceof N||null!=i&&null!=i._isAMomentObject}function E(i){return i<0?Math.ceil(i)||0:Math.floor(i)}function O(i){var u=+i,h=0;return 0!==u&&isFinite(u)&&(h=E(u)),h}function J(i,u,h){var S,g=Math.min(i.length,u.length),b=Math.abs(i.length-u.length),k=0;for(S=0;S<g;S++)(h&&i[S]!==u[S]||!h&&O(i[S])!==O(u[S]))&&k++;return k+b}function X(i){!1===a.suppressDeprecationWarnings&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+i)}function U(i,u){var h=!0;return y(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,i),h){for(var b,g=[],k=0;k<arguments.length;k++){if(b="","object"==typeof arguments[k]){for(var S in b+="\n["+k+"] ",arguments[0])b+=S+": "+arguments[0][S]+", ";b=b.slice(0,-2)}else b=arguments[k];g.push(b)}X(i+"\nArguments: "+Array.prototype.slice.call(g).join("")+"\n"+(new Error).stack),h=!1}return u.apply(this,arguments)},u)}var ga,We={};function Ne(i,u){null!=a.deprecationHandler&&a.deprecationHandler(i,u),We[i]||(X(u),We[i]=!0)}function fe(i){return i instanceof Function||"[object Function]"===Object.prototype.toString.call(i)}function Zn(i,u){var g,h=y({},i);for(g in u)p(u,g)&&(s(i[g])&&s(u[g])?(h[g]={},y(h[g],i[g]),y(h[g],u[g])):null!=u[g]?h[g]=u[g]:delete h[g]);for(g in i)p(i,g)&&!p(u,g)&&s(i[g])&&(h[g]=y({},h[g]));return h}function va(i){null!=i&&this.set(i)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,ga=Object.keys?Object.keys:function(i){var u,h=[];for(u in i)p(i,u)&&h.push(u);return h};var Et={};function ae(i,u){var h=i.toLowerCase();Et[h]=Et[h+"s"]=Et[u]=i}function be(i){return"string"==typeof i?Et[i]||Et[i.toLowerCase()]:void 0}function ma(i){var h,g,u={};for(g in i)p(i,g)&&(h=be(g))&&(u[h]=i[g]);return u}var Xn={};function ne(i,u){Xn[i]=u}function Ye(i,u,h){var g=""+Math.abs(i);return(i>=0?h?"+":"":"-")+Math.pow(10,Math.max(0,u-g.length)).toString().substr(1)+g}var Kn=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,hr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,pa={},bt={};function L(i,u,h,g){var b=g;"string"==typeof g&&(b=function(){return this[g]()}),i&&(bt[i]=b),u&&(bt[u[0]]=function(){return Ye(b.apply(this,arguments),u[1],u[2])}),h&&(bt[h]=function(){return this.localeData().ordinal(b.apply(this,arguments),i)})}function Ql(i){return i.match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"")}function cr(i,u){return i.isValid()?(u=Jn(u,i.localeData()),pa[u]=pa[u]||function eu(i){var h,g,u=i.match(Kn);for(h=0,g=u.length;h<g;h++)u[h]=bt[u[h]]?bt[u[h]]:Ql(u[h]);return function(b){var S,k="";for(S=0;S<g;S++)k+=fe(u[S])?u[S].call(b,i):u[S];return k}}(u),pa[u](i)):i.localeData().invalidDate()}function Jn(i,u){var h=5;function g(b){return u.longDateFormat(b)||b}for(hr.lastIndex=0;h>=0&&hr.test(i);)i=i.replace(hr,g),hr.lastIndex=0,h-=1;return i}var Qn=/\d/,ce=/\d\d/,ei=/\d{3}/,ba=/\d{4}/,vr=/[+-]?\d{6}/,$=/\d\d?/,ti=/\d\d\d\d?/,ri=/\d\d\d\d\d\d?/,gr=/\d{1,3}/,ya=/\d{1,4}/,mr=/[+-]?\d{1,6}/,tu=/\d+/,pr=/[+-]?\d+/,ru=/Z|[+-]\d\d:?\d\d/gi,br=/Z|[+-]\d\d(?::?\d\d)?/gi,zt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,_a={};function P(i,u,h){_a[i]=fe(u)?u:function(g,b){return g&&h?h:u}}function nu(i,u){return p(_a,i)?_a[i](u._strict,u._locale):new RegExp(function iu(i){return ot(i.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(u,h,g,b,k){return h||g||b||k}))}(i))}function ot(i){return i.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var xa={};function q(i,u){var h,g=u;for("string"==typeof i&&(i=[i]),f(u)&&(g=function(b,k){k[u]=O(b)}),h=0;h<i.length;h++)xa[i[h]]=g}function Bt(i,u){q(i,function(h,g,b,k){b._w=b._w||{},u(h,b._w,b,k)})}function ou(i,u,h){null!=u&&p(xa,i)&&xa[i](u,h._a,h,i)}var we=0,Ee=1,Pe=2,te=3,ke=4,ze=5,st=6,su=7,lu=8;function Ht(i){return yr(i)?366:365}function yr(i){return i%4==0&&i%100!=0||i%400==0}L("Y",0,0,function(){var i=this.year();return i<=9999?""+i:"+"+i}),L(0,["YY",2],0,function(){return this.year()%100}),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),ae("year","y"),ne("year",1),P("Y",pr),P("YY",$,ce),P("YYYY",ya,ba),P("YYYYY",mr,vr),P("YYYYYY",mr,vr),q(["YYYYY","YYYYYY"],we),q("YYYY",function(i,u){u[we]=2===i.length?a.parseTwoDigitYear(i):O(i)}),q("YY",function(i,u){u[we]=a.parseTwoDigitYear(i)}),q("Y",function(i,u){u[we]=parseInt(i,10)}),a.parseTwoDigitYear=function(i){return O(i)+(O(i)>68?1900:2e3)};var Q,ai=yt("FullYear",!0);function yt(i,u){return function(h){return null!=h?(ni(this,i,h),a.updateOffset(this,u),this):_r(this,i)}}function _r(i,u){return i.isValid()?i._d["get"+(i._isUTC?"UTC":"")+u]():NaN}function ni(i,u,h){i.isValid()&&!isNaN(h)&&("FullYear"===u&&yr(i.year())&&1===i.month()&&29===i.date()?i._d["set"+(i._isUTC?"UTC":"")+u](h,i.month(),xr(h,i.month())):i._d["set"+(i._isUTC?"UTC":"")+u](h))}function xr(i,u){if(isNaN(i)||isNaN(u))return NaN;var h=function hu(i,u){return(i%u+u)%u}(u,12);return i+=(u-h)/12,1===h?yr(i)?29:28:31-h%7%2}Q=Array.prototype.indexOf?Array.prototype.indexOf:function(i){var u;for(u=0;u<this.length;++u)if(this[u]===i)return u;return-1},L("M",["MM",2],"Mo",function(){return this.month()+1}),L("MMM",0,0,function(i){return this.localeData().monthsShort(this,i)}),L("MMMM",0,0,function(i){return this.localeData().months(this,i)}),ae("month","M"),ne("month",8),P("M",$),P("MM",$,ce),P("MMM",function(i,u){return u.monthsShortRegex(i)}),P("MMMM",function(i,u){return u.monthsRegex(i)}),q(["M","MM"],function(i,u){u[Ee]=O(i)-1}),q(["MMM","MMMM"],function(i,u,h,g){var b=h._locale.monthsParse(i,g,h._strict);null!=b?u[Ee]=b:x(h).invalidMonth=i});var ii=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,cu="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var oi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function mu(i,u,h){var g,b,k,S=i.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],g=0;g<12;++g)k=_([2e3,g]),this._shortMonthsParse[g]=this.monthsShort(k,"").toLocaleLowerCase(),this._longMonthsParse[g]=this.months(k,"").toLocaleLowerCase();return h?"MMM"===u?-1!==(b=Q.call(this._shortMonthsParse,S))?b:null:-1!==(b=Q.call(this._longMonthsParse,S))?b:null:"MMM"===u?-1!==(b=Q.call(this._shortMonthsParse,S))||-1!==(b=Q.call(this._longMonthsParse,S))?b:null:-1!==(b=Q.call(this._longMonthsParse,S))||-1!==(b=Q.call(this._shortMonthsParse,S))?b:null}function si(i,u){var h;if(!i.isValid())return i;if("string"==typeof u)if(/^\d+$/.test(u))u=O(u);else if(!f(u=i.localeData().monthsParse(u)))return i;return h=Math.min(i.date(),xr(i.year(),u)),i._d["set"+(i._isUTC?"UTC":"")+"Month"](u,h),i}function li(i){return null!=i?(si(this,i),a.updateOffset(this,!0),this):_r(this,"Month")}var yu=zt;var xu=zt;function ui(){function i(S,R){return R.length-S.length}var b,k,u=[],h=[],g=[];for(b=0;b<12;b++)k=_([2e3,b]),u.push(this.monthsShort(k,"")),h.push(this.months(k,"")),g.push(this.months(k,"")),g.push(this.monthsShort(k,""));for(u.sort(i),h.sort(i),g.sort(i),b=0;b<12;b++)u[b]=ot(u[b]),h[b]=ot(h[b]);for(b=0;b<24;b++)g[b]=ot(g[b]);this._monthsRegex=new RegExp("^("+g.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+u.join("|")+")","i")}function ku(i,u,h,g,b,k,S){var R;return i<100&&i>=0?(R=new Date(i+400,u,h,g,b,k,S),isFinite(R.getFullYear())&&R.setFullYear(i)):R=new Date(i,u,h,g,b,k,S),R}function Vt(i){var u;if(i<100&&i>=0){var h=Array.prototype.slice.call(arguments);h[0]=i+400,u=new Date(Date.UTC.apply(null,h)),isFinite(u.getUTCFullYear())&&u.setUTCFullYear(i)}else u=new Date(Date.UTC.apply(null,arguments));return u}function wr(i,u,h){var g=7+u-h;return-(7+Vt(i,0,g).getUTCDay()-u)%7+g-1}function di(i,u,h,g,b){var V,ee,R=1+7*(u-1)+(7+h-g)%7+wr(i,g,b);return R<=0?ee=Ht(V=i-1)+R:R>Ht(i)?(V=i+1,ee=R-Ht(i)):(V=i,ee=R),{year:V,dayOfYear:ee}}function Ut(i,u,h){var k,S,g=wr(i.year(),u,h),b=Math.floor((i.dayOfYear()-g-1)/7)+1;return b<1?k=b+lt(S=i.year()-1,u,h):b>lt(i.year(),u,h)?(k=b-lt(i.year(),u,h),S=i.year()+1):(S=i.year(),k=b),{week:k,year:S}}function lt(i,u,h){var g=wr(i,u,h),b=wr(i+1,u,h);return(Ht(i)-g+b)/7}L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),ae("week","w"),ae("isoWeek","W"),ne("week",5),ne("isoWeek",5),P("w",$),P("ww",$,ce),P("W",$),P("WW",$,ce),Bt(["w","ww","W","WW"],function(i,u,h,g){u[g.substr(0,1)]=O(i)});function wa(i,u){return i.slice(u,7).concat(i.slice(0,u))}L("d",0,"do","day"),L("dd",0,0,function(i){return this.localeData().weekdaysMin(this,i)}),L("ddd",0,0,function(i){return this.localeData().weekdaysShort(this,i)}),L("dddd",0,0,function(i){return this.localeData().weekdays(this,i)}),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),ae("day","d"),ae("weekday","e"),ae("isoWeekday","E"),ne("day",11),ne("weekday",11),ne("isoWeekday",11),P("d",$),P("e",$),P("E",$),P("dd",function(i,u){return u.weekdaysMinRegex(i)}),P("ddd",function(i,u){return u.weekdaysShortRegex(i)}),P("dddd",function(i,u){return u.weekdaysRegex(i)}),Bt(["dd","ddd","dddd"],function(i,u,h,g){var b=h._locale.weekdaysParse(i,g,h._strict);null!=b?u.d=b:x(h).invalidWeekday=i}),Bt(["d","e","E"],function(i,u,h,g){u[g]=O(i)});var Au="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var fi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Ru="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Nu(i,u,h){var g,b,k,S=i.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],g=0;g<7;++g)k=_([2e3,1]).day(g),this._minWeekdaysParse[g]=this.weekdaysMin(k,"").toLocaleLowerCase(),this._shortWeekdaysParse[g]=this.weekdaysShort(k,"").toLocaleLowerCase(),this._weekdaysParse[g]=this.weekdays(k,"").toLocaleLowerCase();return h?"dddd"===u?-1!==(b=Q.call(this._weekdaysParse,S))?b:null:"ddd"===u?-1!==(b=Q.call(this._shortWeekdaysParse,S))?b:null:-1!==(b=Q.call(this._minWeekdaysParse,S))?b:null:"dddd"===u?-1!==(b=Q.call(this._weekdaysParse,S))||-1!==(b=Q.call(this._shortWeekdaysParse,S))||-1!==(b=Q.call(this._minWeekdaysParse,S))?b:null:"ddd"===u?-1!==(b=Q.call(this._shortWeekdaysParse,S))||-1!==(b=Q.call(this._weekdaysParse,S))||-1!==(b=Q.call(this._minWeekdaysParse,S))?b:null:-1!==(b=Q.call(this._minWeekdaysParse,S))||-1!==(b=Q.call(this._weekdaysParse,S))||-1!==(b=Q.call(this._shortWeekdaysParse,S))?b:null}var Hu=zt;var Uu=zt;var Gu=zt;function ka(){function i(ye,qt){return qt.length-ye.length}var k,S,R,V,ee,u=[],h=[],g=[],b=[];for(k=0;k<7;k++)S=_([2e3,1]).day(k),R=this.weekdaysMin(S,""),V=this.weekdaysShort(S,""),ee=this.weekdays(S,""),u.push(R),h.push(V),g.push(ee),b.push(R),b.push(V),b.push(ee);for(u.sort(i),h.sort(i),g.sort(i),b.sort(i),k=0;k<7;k++)h[k]=ot(h[k]),g[k]=ot(g[k]),b[k]=ot(b[k]);this._weekdaysRegex=new RegExp("^("+b.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+g.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+u.join("|")+")","i")}function Ma(){return this.hours()%12||12}function hi(i,u){L(i,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),u)})}function ci(i,u){return u._meridiemParse}L("H",["HH",2],0,"hour"),L("h",["hh",2],0,Ma),L("k",["kk",2],0,function qu(){return this.hours()||24}),L("hmm",0,0,function(){return""+Ma.apply(this)+Ye(this.minutes(),2)}),L("hmmss",0,0,function(){return""+Ma.apply(this)+Ye(this.minutes(),2)+Ye(this.seconds(),2)}),L("Hmm",0,0,function(){return""+this.hours()+Ye(this.minutes(),2)}),L("Hmmss",0,0,function(){return""+this.hours()+Ye(this.minutes(),2)+Ye(this.seconds(),2)}),hi("a",!0),hi("A",!1),ae("hour","h"),ne("hour",13),P("a",ci),P("A",ci),P("H",$),P("h",$),P("k",$),P("HH",$,ce),P("hh",$,ce),P("kk",$,ce),P("hmm",ti),P("hmmss",ri),P("Hmm",ti),P("Hmmss",ri),q(["H","HH"],te),q(["k","kk"],function(i,u,h){var g=O(i);u[te]=24===g?0:g}),q(["a","A"],function(i,u,h){h._isPm=h._locale.isPM(i),h._meridiem=i}),q(["h","hh"],function(i,u,h){u[te]=O(i),x(h).bigHour=!0}),q("hmm",function(i,u,h){var g=i.length-2;u[te]=O(i.substr(0,g)),u[ke]=O(i.substr(g)),x(h).bigHour=!0}),q("hmmss",function(i,u,h){var g=i.length-4,b=i.length-2;u[te]=O(i.substr(0,g)),u[ke]=O(i.substr(g,2)),u[ze]=O(i.substr(b)),x(h).bigHour=!0}),q("Hmm",function(i,u,h){var g=i.length-2;u[te]=O(i.substr(0,g)),u[ke]=O(i.substr(g))}),q("Hmmss",function(i,u,h){var g=i.length-4,b=i.length-2;u[te]=O(i.substr(0,g)),u[ke]=O(i.substr(g,2)),u[ze]=O(i.substr(b))});var Gt,Ju=yt("Hours",!0),vi={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:cu,monthsShort:oi,week:{dow:0,doy:6},weekdays:Au,weekdaysMin:Ru,weekdaysShort:fi,meridiemParse:/[ap]\.?m?\.?/i},re={},jt={};function gi(i){return i&&i.toLowerCase().replace("_","-")}function kr(i){var u=null;if(!re[i]&&e&&e.exports)try{u=Gt._abbr,function Dt(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}(),_t(u)}catch{}return re[i]}function _t(i,u){var h;return i&&((h=l(u)?$e(i):Sa(i,u))?Gt=h:typeof console<"u"&&console.warn&&console.warn("Locale "+i+" not found. Did you forget to load it?")),Gt._abbr}function Sa(i,u){if(null!==u){var h,g=vi;if(u.abbr=i,null!=re[i])Ne("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),g=re[i]._config;else if(null!=u.parentLocale)if(null!=re[u.parentLocale])g=re[u.parentLocale]._config;else{if(null==(h=kr(u.parentLocale)))return jt[u.parentLocale]||(jt[u.parentLocale]=[]),jt[u.parentLocale].push({name:i,config:u}),null;g=h._config}return re[i]=new va(Zn(g,u)),jt[i]&&jt[i].forEach(function(b){Sa(b.name,b.config)}),_t(i),re[i]}return delete re[i],null}function $e(i){var u;if(i&&i._locale&&i._locale._abbr&&(i=i._locale._abbr),!i)return Gt;if(!o(i)){if(u=kr(i))return u;i=[i]}return function Qu(i){for(var h,g,b,k,u=0;u<i.length;){for(h=(k=gi(i[u]).split("-")).length,g=(g=gi(i[u+1]))?g.split("-"):null;h>0;){if(b=kr(k.slice(0,h).join("-")))return b;if(g&&g.length>=h&&J(k,g,!0)>=h-1)break;h--}u++}return Gt}(i)}function Da(i){var u,h=i._a;return h&&-2===x(i).overflow&&(u=h[Ee]<0||h[Ee]>11?Ee:h[Pe]<1||h[Pe]>xr(h[we],h[Ee])?Pe:h[te]<0||h[te]>24||24===h[te]&&(0!==h[ke]||0!==h[ze]||0!==h[st])?te:h[ke]<0||h[ke]>59?ke:h[ze]<0||h[ze]>59?ze:h[st]<0||h[st]>999?st:-1,x(i)._overflowDayOfYear&&(u<we||u>Pe)&&(u=Pe),x(i)._overflowWeeks&&-1===u&&(u=su),x(i)._overflowWeekday&&-1===u&&(u=lu),x(i).overflow=u),i}function xt(i,u,h){return i??u??h}function Ta(i){var u,h,b,k,S,g=[];if(!i._d){for(b=function rd(i){var u=new Date(a.now());return i._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()]}(i),i._w&&null==i._a[Pe]&&null==i._a[Ee]&&function ad(i){var u,h,g,b,k,S,R,V;if(null!=(u=i._w).GG||null!=u.W||null!=u.E)k=1,S=4,h=xt(u.GG,i._a[we],Ut(Z(),1,4).year),g=xt(u.W,1),((b=xt(u.E,1))<1||b>7)&&(V=!0);else{k=i._locale._week.dow,S=i._locale._week.doy;var ee=Ut(Z(),k,S);h=xt(u.gg,i._a[we],ee.year),g=xt(u.w,ee.week),null!=u.d?((b=u.d)<0||b>6)&&(V=!0):null!=u.e?(b=u.e+k,(u.e<0||u.e>6)&&(V=!0)):b=k}g<1||g>lt(h,k,S)?x(i)._overflowWeeks=!0:null!=V?x(i)._overflowWeekday=!0:(R=di(h,g,b,k,S),i._a[we]=R.year,i._dayOfYear=R.dayOfYear)}(i),null!=i._dayOfYear&&(S=xt(i._a[we],b[we]),(i._dayOfYear>Ht(S)||0===i._dayOfYear)&&(x(i)._overflowDayOfYear=!0),h=Vt(S,0,i._dayOfYear),i._a[Ee]=h.getUTCMonth(),i._a[Pe]=h.getUTCDate()),u=0;u<3&&null==i._a[u];++u)i._a[u]=g[u]=b[u];for(;u<7;u++)i._a[u]=g[u]=null==i._a[u]?2===u?1:0:i._a[u];24===i._a[te]&&0===i._a[ke]&&0===i._a[ze]&&0===i._a[st]&&(i._nextDay=!0,i._a[te]=0),i._d=(i._useUTC?Vt:ku).apply(null,g),k=i._useUTC?i._d.getUTCDay():i._d.getDay(),null!=i._tzm&&i._d.setUTCMinutes(i._d.getUTCMinutes()-i._tzm),i._nextDay&&(i._a[te]=24),i._w&&typeof i._w.d<"u"&&i._w.d!==k&&(x(i).weekdayMismatch=!0)}}var nd=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,id=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,od=/Z|[+-]\d\d(?::?\d\d)?/,Mr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ca=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],sd=/^\/?Date\((\-?\d+)/i;function mi(i){var u,h,k,S,R,V,g=i._i,b=nd.exec(g)||id.exec(g);if(b){for(x(i).iso=!0,u=0,h=Mr.length;u<h;u++)if(Mr[u][1].exec(b[1])){S=Mr[u][0],k=!1!==Mr[u][2];break}if(null==S)return void(i._isValid=!1);if(b[3]){for(u=0,h=Ca.length;u<h;u++)if(Ca[u][1].exec(b[3])){R=(b[2]||" ")+Ca[u][0];break}if(null==R)return void(i._isValid=!1)}if(!k&&null!=R)return void(i._isValid=!1);if(b[4]){if(!od.exec(b[4]))return void(i._isValid=!1);V="Z"}i._f=S+(R||"")+(V||""),Pa(i)}else i._isValid=!1}var ld=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function dd(i){var u=parseInt(i,10);return u<=49?2e3+u:u<=999?1900+u:u}var cd={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function pi(i){var u=ld.exec(function fd(i){return i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(i._i));if(u){var h=function ud(i,u,h,g,b,k){var S=[dd(i),oi.indexOf(u),parseInt(h,10),parseInt(g,10),parseInt(b,10)];return k&&S.push(parseInt(k,10)),S}(u[4],u[3],u[2],u[5],u[6],u[7]);if(!function hd(i,u,h){return!i||fi.indexOf(i)===new Date(u[0],u[1],u[2]).getDay()||(x(h).weekdayMismatch=!0,h._isValid=!1,!1)}(u[1],h,i))return;i._a=h,i._tzm=function vd(i,u,h){if(i)return cd[i];if(u)return 0;var g=parseInt(h,10),b=g%100;return(g-b)/100*60+b}(u[8],u[9],u[10]),i._d=Vt.apply(null,i._a),i._d.setUTCMinutes(i._d.getUTCMinutes()-i._tzm),x(i).rfc2822=!0}else i._isValid=!1}function Pa(i){if(i._f!==a.ISO_8601)if(i._f!==a.RFC_2822){i._a=[],x(i).empty=!0;var h,g,b,k,S,u=""+i._i,R=u.length,V=0;for(b=Jn(i._f,i._locale).match(Kn)||[],h=0;h<b.length;h++)(g=(u.match(nu(k=b[h],i))||[])[0])&&((S=u.substr(0,u.indexOf(g))).length>0&&x(i).unusedInput.push(S),u=u.slice(u.indexOf(g)+g.length),V+=g.length),bt[k]?(g?x(i).empty=!1:x(i).unusedTokens.push(k),ou(k,g,i)):i._strict&&!g&&x(i).unusedTokens.push(k);x(i).charsLeftOver=R-V,u.length>0&&x(i).unusedInput.push(u),i._a[te]<=12&&!0===x(i).bigHour&&i._a[te]>0&&(x(i).bigHour=void 0),x(i).parsedDateParts=i._a.slice(0),x(i).meridiem=i._meridiem,i._a[te]=function md(i,u,h){var g;return null==h?u:null!=i.meridiemHour?i.meridiemHour(u,h):(null!=i.isPM&&((g=i.isPM(h))&&u<12&&(u+=12),!g&&12===u&&(u=0)),u)}(i._locale,i._a[te],i._meridiem),Ta(i),Da(i)}else pi(i);else mi(i)}function bi(i){var u=i._i,h=i._f;return i._locale=i._locale||$e(i._l),null===u||void 0===h&&""===u?C({nullInput:!0}):("string"==typeof u&&(i._i=u=i._locale.preparse(u)),Y(u)?new N(Da(u)):(c(u)?i._d=u:o(h)?function pd(i){var u,h,g,b,k;if(0===i._f.length)return x(i).invalidFormat=!0,void(i._d=new Date(NaN));for(b=0;b<i._f.length;b++)k=0,u=A({},i),null!=i._useUTC&&(u._useUTC=i._useUTC),u._f=i._f[b],Pa(u),T(u)&&(k+=x(u).charsLeftOver,k+=10*x(u).unusedTokens.length,x(u).score=k,(null==g||k<g)&&(g=k,h=u));y(i,h||u)}(i):h?Pa(i):function _d(i){var u=i._i;l(u)?i._d=new Date(a.now()):c(u)?i._d=new Date(u.valueOf()):"string"==typeof u?function gd(i){var u=sd.exec(i._i);null===u?(mi(i),!1===i._isValid&&(delete i._isValid,pi(i),!1===i._isValid&&(delete i._isValid,a.createFromInputFallback(i)))):i._d=new Date(+u[1])}(i):o(u)?(i._a=v(u.slice(0),function(h){return parseInt(h,10)}),Ta(i)):s(u)?function bd(i){if(!i._d){var u=ma(i._i);i._a=v([u.year,u.month,u.day||u.date,u.hour,u.minute,u.second,u.millisecond],function(h){return h&&parseInt(h,10)}),Ta(i)}}(i):f(u)?i._d=new Date(u):a.createFromInputFallback(i)}(i),T(i)||(i._d=null),i))}function yi(i,u,h,g,b){var k={};return(!0===h||!1===h)&&(g=h,h=void 0),(s(i)&&function d(i){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(i).length;var u;for(u in i)if(i.hasOwnProperty(u))return!1;return!0}(i)||o(i)&&0===i.length)&&(i=void 0),k._isAMomentObject=!0,k._useUTC=k._isUTC=b,k._l=h,k._i=i,k._f=u,k._strict=g,function yd(i){var u=new N(Da(bi(i)));return u._nextDay&&(u.add(1,"d"),u._nextDay=void 0),u}(k)}function Z(i,u,h,g){return yi(i,u,h,g,!1)}a.createFromInputFallback=U("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(i){i._d=new Date(i._i+(i._useUTC?" UTC":""))}),a.ISO_8601=function(){},a.RFC_2822=function(){};var xd=U("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var i=Z.apply(null,arguments);return this.isValid()&&i.isValid()?i<this?this:i:C()}),wd=U("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var i=Z.apply(null,arguments);return this.isValid()&&i.isValid()?i>this?this:i:C()});function _i(i,u){var h,g;if(1===u.length&&o(u[0])&&(u=u[0]),!u.length)return Z();for(h=u[0],g=1;g<u.length;++g)(!u[g].isValid()||u[g][i](h))&&(h=u[g]);return h}var $t=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Sr(i){var u=ma(i),h=u.year||0,g=u.quarter||0,b=u.month||0,k=u.week||u.isoWeek||0,S=u.day||0,R=u.hour||0,V=u.minute||0,ee=u.second||0,ye=u.millisecond||0;this._isValid=function Dd(i){for(var u in i)if(-1===Q.call($t,u)||null!=i[u]&&isNaN(i[u]))return!1;for(var h=!1,g=0;g<$t.length;++g)if(i[$t[g]]){if(h)return!1;parseFloat(i[$t[g]])!==O(i[$t[g]])&&(h=!0)}return!0}(u),this._milliseconds=+ye+1e3*ee+6e4*V+1e3*R*60*60,this._days=+S+7*k,this._months=+b+3*g+12*h,this._data={},this._locale=$e(),this._bubble()}function Oa(i){return i instanceof Sr}function Fa(i){return i<0?-1*Math.round(-1*i):Math.round(i)}function xi(i,u){L(i,0,0,function(){var h=this.utcOffset(),g="+";return h<0&&(h=-h,g="-"),g+Ye(~~(h/60),2)+u+Ye(~~h%60,2)})}xi("Z",":"),xi("ZZ",""),P("Z",br),P("ZZ",br),q(["Z","ZZ"],function(i,u,h){h._useUTC=!0,h._tzm=Aa(br,i)});var Pd=/([\+\-]|\d\d)/gi;function Aa(i,u){var h=(u||"").match(i);if(null===h)return null;var b=((h[h.length-1]||[])+"").match(Pd)||["-",0,0],k=60*b[1]+O(b[2]);return 0===k?0:"+"===b[0]?k:-k}function Ia(i,u){var h,g;return u._isUTC?(h=u.clone(),g=(Y(i)||c(i)?i.valueOf():Z(i).valueOf())-h.valueOf(),h._d.setTime(h._d.valueOf()+g),a.updateOffset(h,!1),h):Z(i).local()}function La(i){return 15*-Math.round(i._d.getTimezoneOffset()/15)}function wi(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var zd=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Bd=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Me(i,u){var b,k,S,h=i,g=null;return Oa(i)?h={ms:i._milliseconds,d:i._days,M:i._months}:f(i)?(h={},u?h[u]=i:h.milliseconds=i):(g=zd.exec(i))?(b="-"===g[1]?-1:1,h={y:0,d:O(g[Pe])*b,h:O(g[te])*b,m:O(g[ke])*b,s:O(g[ze])*b,ms:O(Fa(1e3*g[st]))*b}):(g=Bd.exec(i))?h={y:ut(g[2],b="-"===g[1]?-1:1),M:ut(g[3],b),w:ut(g[4],b),d:ut(g[5],b),h:ut(g[6],b),m:ut(g[7],b),s:ut(g[8],b)}:null==h?h={}:"object"==typeof h&&("from"in h||"to"in h)&&(S=function Hd(i,u){var h;return i.isValid()&&u.isValid()?(u=Ia(u,i),i.isBefore(u)?h=ki(i,u):((h=ki(u,i)).milliseconds=-h.milliseconds,h.months=-h.months),h):{milliseconds:0,months:0}}(Z(h.from),Z(h.to)),(h={}).ms=S.milliseconds,h.M=S.months),k=new Sr(h),Oa(i)&&p(i,"_locale")&&(k._locale=i._locale),k}function ut(i,u){var h=i&&parseFloat(i.replace(",","."));return(isNaN(h)?0:h)*u}function ki(i,u){var h={};return h.months=u.month()-i.month()+12*(u.year()-i.year()),i.clone().add(h.months,"M").isAfter(u)&&--h.months,h.milliseconds=+u-+i.clone().add(h.months,"M"),h}function Mi(i,u){return function(h,g){var k;return null!==g&&!isNaN(+g)&&(Ne(u,"moment()."+u+"(period, number) is deprecated. Please use moment()."+u+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),k=h,h=g,g=k),Si(this,Me(h="string"==typeof h?+h:h,g),i),this}}function Si(i,u,h,g){var b=u._milliseconds,k=Fa(u._days),S=Fa(u._months);i.isValid()&&(g=g??!0,S&&si(i,_r(i,"Month")+S*h),k&&ni(i,"Date",_r(i,"Date")+k*h),b&&i._d.setTime(i._d.valueOf()+b*h),g&&a.updateOffset(i,k||S))}Me.fn=Sr.prototype,Me.invalid=function Cd(){return Me(NaN)};var Vd=Mi(1,"add"),Ud=Mi(-1,"subtract");function Ra(i,u){var h=12*(u.year()-i.year())+(u.month()-i.month()),g=i.clone().add(h,"months");return-(h+(u-g<0?(u-g)/(g-i.clone().add(h-1,"months")):(u-g)/(i.clone().add(h+1,"months")-g)))||0}function Di(i){var u;return void 0===i?this._locale._abbr:(null!=(u=$e(i))&&(this._locale=u),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ti=U("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(i){return void 0===i?this.localeData():this.locale(i)});function Ci(){return this._locale}var Dr=1e3,wt=60*Dr,Tr=60*wt,Pi=3506328*Tr;function kt(i,u){return(i%u+u)%u}function Oi(i,u,h){return i<100&&i>=0?new Date(i+400,u,h)-Pi:new Date(i,u,h).valueOf()}function Fi(i,u,h){return i<100&&i>=0?Date.UTC(i+400,u,h)-Pi:Date.UTC(i,u,h)}function Cr(i,u){L(0,[i,i.length],0,u)}function Ai(i,u,h,g,b){var k;return null==i?Ut(this,g,b).year:(u>(k=lt(i,g,b))&&(u=k),Df.call(this,i,u,h,g,b))}function Df(i,u,h,g,b){var k=di(i,u,h,g,b),S=Vt(k.year,0,k.dayOfYear);return this.year(S.getUTCFullYear()),this.month(S.getUTCMonth()),this.date(S.getUTCDate()),this}L(0,["gg",2],0,function(){return this.weekYear()%100}),L(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Cr("gggg","weekYear"),Cr("ggggg","weekYear"),Cr("GGGG","isoWeekYear"),Cr("GGGGG","isoWeekYear"),ae("weekYear","gg"),ae("isoWeekYear","GG"),ne("weekYear",1),ne("isoWeekYear",1),P("G",pr),P("g",pr),P("GG",$,ce),P("gg",$,ce),P("GGGG",ya,ba),P("gggg",ya,ba),P("GGGGG",mr,vr),P("ggggg",mr,vr),Bt(["gggg","ggggg","GGGG","GGGGG"],function(i,u,h,g){u[g.substr(0,2)]=O(i)}),Bt(["gg","GG"],function(i,u,h,g){u[g]=a.parseTwoDigitYear(i)}),L("Q",0,"Qo","quarter"),ae("quarter","Q"),ne("quarter",7),P("Q",Qn),q("Q",function(i,u){u[Ee]=3*(O(i)-1)}),L("D",["DD",2],"Do","date"),ae("date","D"),ne("date",9),P("D",$),P("DD",$,ce),P("Do",function(i,u){return i?u._dayOfMonthOrdinalParse||u._ordinalParse:u._dayOfMonthOrdinalParseLenient}),q(["D","DD"],Pe),q("Do",function(i,u){u[Pe]=O(i.match($)[0])});var Ii=yt("Date",!0);L("DDD",["DDDD",3],"DDDo","dayOfYear"),ae("dayOfYear","DDD"),ne("dayOfYear",4),P("DDD",gr),P("DDDD",ei),q(["DDD","DDDD"],function(i,u,h){h._dayOfYear=O(i)}),L("m",["mm",2],0,"minute"),ae("minute","m"),ne("minute",14),P("m",$),P("mm",$,ce),q(["m","mm"],ke);var Pf=yt("Minutes",!1);L("s",["ss",2],0,"second"),ae("second","s"),ne("second",15),P("s",$),P("ss",$,ce),q(["s","ss"],ze);var qe,Of=yt("Seconds",!1);for(L("S",0,0,function(){return~~(this.millisecond()/100)}),L(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,function(){return 10*this.millisecond()}),L(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),L(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),L(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),L(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),L(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),ae("millisecond","ms"),ne("millisecond",16),P("S",gr,Qn),P("SS",gr,ce),P("SSS",gr,ei),qe="SSSS";qe.length<=9;qe+="S")P(qe,tu);function Ff(i,u){u[st]=O(1e3*("0."+i))}for(qe="S";qe.length<=9;qe+="S")q(qe,Ff);var Af=yt("Milliseconds",!1);L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");var D=N.prototype;function Li(i){return i}D.add=Vd,D.calendar=function Gd(i,u){var h=i||Z(),g=Ia(h,this).startOf("day"),b=a.calendarFormat(this,g)||"sameElse",k=u&&(fe(u[b])?u[b].call(this,h):u[b]);return this.format(k||this.localeData().calendar(b,this,Z(h)))},D.clone=function $d(){return new N(this)},D.diff=function ef(i,u,h){var g,b,k;if(!this.isValid())return NaN;if(!(g=Ia(i,this)).isValid())return NaN;switch(b=6e4*(g.utcOffset()-this.utcOffset()),u=be(u)){case"year":k=Ra(this,g)/12;break;case"month":k=Ra(this,g);break;case"quarter":k=Ra(this,g)/3;break;case"second":k=(this-g)/1e3;break;case"minute":k=(this-g)/6e4;break;case"hour":k=(this-g)/36e5;break;case"day":k=(this-g-b)/864e5;break;case"week":k=(this-g-b)/6048e5;break;default:k=this-g}return h?k:E(k)},D.endOf=function ff(i){var u;if(void 0===(i=be(i))||"millisecond"===i||!this.isValid())return this;var h=this._isUTC?Fi:Oi;switch(i){case"year":u=h(this.year()+1,0,1)-1;break;case"quarter":u=h(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":u=h(this.year(),this.month()+1,1)-1;break;case"week":u=h(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":u=h(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":u=h(this.year(),this.month(),this.date()+1)-1;break;case"hour":u=this._d.valueOf(),u+=Tr-kt(u+(this._isUTC?0:this.utcOffset()*wt),Tr)-1;break;case"minute":u=this._d.valueOf(),u+=wt-kt(u,wt)-1;break;case"second":u=this._d.valueOf(),u+=Dr-kt(u,Dr)-1}return this._d.setTime(u),a.updateOffset(this,!0),this},D.format=function nf(i){i||(i=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var u=cr(this,i);return this.localeData().postformat(u)},D.from=function of(i,u){return this.isValid()&&(Y(i)&&i.isValid()||Z(i).isValid())?Me({to:this,from:i}).locale(this.locale()).humanize(!u):this.localeData().invalidDate()},D.fromNow=function sf(i){return this.from(Z(),i)},D.to=function lf(i,u){return this.isValid()&&(Y(i)&&i.isValid()||Z(i).isValid())?Me({from:this,to:i}).locale(this.locale()).humanize(!u):this.localeData().invalidDate()},D.toNow=function uf(i){return this.to(Z(),i)},D.get=function du(i){return fe(this[i=be(i)])?this[i]():this},D.invalidAt=function _f(){return x(this).overflow},D.isAfter=function qd(i,u){var h=Y(i)?i:Z(i);return!(!this.isValid()||!h.isValid())&&("millisecond"===(u=be(u)||"millisecond")?this.valueOf()>h.valueOf():h.valueOf()<this.clone().startOf(u).valueOf())},D.isBefore=function Zd(i,u){var h=Y(i)?i:Z(i);return!(!this.isValid()||!h.isValid())&&("millisecond"===(u=be(u)||"millisecond")?this.valueOf()<h.valueOf():this.clone().endOf(u).valueOf()<h.valueOf())},D.isBetween=function Xd(i,u,h,g){var b=Y(i)?i:Z(i),k=Y(u)?u:Z(u);return!!(this.isValid()&&b.isValid()&&k.isValid())&&("("===(g=g||"()")[0]?this.isAfter(b,h):!this.isBefore(b,h))&&(")"===g[1]?this.isBefore(k,h):!this.isAfter(k,h))},D.isSame=function Kd(i,u){var g,h=Y(i)?i:Z(i);return!(!this.isValid()||!h.isValid())&&("millisecond"===(u=be(u)||"millisecond")?this.valueOf()===h.valueOf():(g=h.valueOf(),this.clone().startOf(u).valueOf()<=g&&g<=this.clone().endOf(u).valueOf()))},D.isSameOrAfter=function Jd(i,u){return this.isSame(i,u)||this.isAfter(i,u)},D.isSameOrBefore=function Qd(i,u){return this.isSame(i,u)||this.isBefore(i,u)},D.isValid=function bf(){return T(this)},D.lang=Ti,D.locale=Di,D.localeData=Ci,D.max=wd,D.min=xd,D.parsingFlags=function yf(){return y({},x(this))},D.set=function fu(i,u){if("object"==typeof i)for(var h=function Jl(i){var u=[];for(var h in i)u.push({unit:h,priority:Xn[h]});return u.sort(function(g,b){return g.priority-b.priority}),u}(i=ma(i)),g=0;g<h.length;g++)this[h[g].unit](i[h[g].unit]);else if(fe(this[i=be(i)]))return this[i](u);return this},D.startOf=function df(i){var u;if(void 0===(i=be(i))||"millisecond"===i||!this.isValid())return this;var h=this._isUTC?Fi:Oi;switch(i){case"year":u=h(this.year(),0,1);break;case"quarter":u=h(this.year(),this.month()-this.month()%3,1);break;case"month":u=h(this.year(),this.month(),1);break;case"week":u=h(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":u=h(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":u=h(this.year(),this.month(),this.date());break;case"hour":u=this._d.valueOf(),u-=kt(u+(this._isUTC?0:this.utcOffset()*wt),Tr);break;case"minute":u=this._d.valueOf(),u-=kt(u,wt);break;case"second":u=this._d.valueOf(),u-=kt(u,Dr)}return this._d.setTime(u),a.updateOffset(this,!0),this},D.subtract=Ud,D.toArray=function gf(){var i=this;return[i.year(),i.month(),i.date(),i.hour(),i.minute(),i.second(),i.millisecond()]},D.toObject=function mf(){var i=this;return{years:i.year(),months:i.month(),date:i.date(),hours:i.hours(),minutes:i.minutes(),seconds:i.seconds(),milliseconds:i.milliseconds()}},D.toDate=function vf(){return new Date(this.valueOf())},D.toISOString=function rf(i){if(!this.isValid())return null;var u=!0!==i,h=u?this.clone().utc():this;return h.year()<0||h.year()>9999?cr(h,u?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):fe(Date.prototype.toISOString)?u?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",cr(h,"Z")):cr(h,u?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},D.inspect=function af(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var i="moment",u="";this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",u="Z");var h="["+i+'("]',g=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(h+g+"-MM-DD[T]HH:mm:ss.SSS"+u+'[")]')},D.toJSON=function pf(){return this.isValid()?this.toISOString():null},D.toString=function tf(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},D.unix=function cf(){return Math.floor(this.valueOf()/1e3)},D.valueOf=function hf(){return this._d.valueOf()-6e4*(this._offset||0)},D.creationData=function xf(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},D.year=ai,D.isLeapYear=function uu(){return yr(this.year())},D.weekYear=function wf(i){return Ai.call(this,i,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},D.isoWeekYear=function kf(i){return Ai.call(this,i,this.isoWeek(),this.isoWeekday(),1,4)},D.quarter=D.quarters=function Tf(i){return null==i?Math.ceil((this.month()+1)/3):this.month(3*(i-1)+this.month()%3)},D.month=li,D.daysInMonth=function bu(){return xr(this.year(),this.month())},D.week=D.weeks=function Cu(i){var u=this.localeData().week(this);return null==i?u:this.add(7*(i-u),"d")},D.isoWeek=D.isoWeeks=function Pu(i){var u=Ut(this,1,4).week;return null==i?u:this.add(7*(i-u),"d")},D.weeksInYear=function Sf(){var i=this.localeData()._week;return lt(this.year(),i.dow,i.doy)},D.isoWeeksInYear=function Mf(){return lt(this.year(),1,4)},D.date=Ii,D.day=D.days=function Eu(i){if(!this.isValid())return null!=i?this:NaN;var u=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=i?(i=function Ou(i,u){return"string"!=typeof i?i:isNaN(i)?"number"==typeof(i=u.weekdaysParse(i))?i:null:parseInt(i,10)}(i,this.localeData()),this.add(i-u,"d")):u},D.weekday=function zu(i){if(!this.isValid())return null!=i?this:NaN;var u=(this.day()+7-this.localeData()._week.dow)%7;return null==i?u:this.add(i-u,"d")},D.isoWeekday=function Bu(i){if(!this.isValid())return null!=i?this:NaN;if(null!=i){var u=function Fu(i,u){return"string"==typeof i?u.weekdaysParse(i)%7||7:isNaN(i)?null:i}(i,this.localeData());return this.day(this.day()%7?u:u-7)}return this.day()||7},D.dayOfYear=function Cf(i){var u=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==i?u:this.add(i-u,"d")},D.hour=D.hours=Ju,D.minute=D.minutes=Pf,D.second=D.seconds=Of,D.millisecond=D.milliseconds=Af,D.utcOffset=function Od(i,u,h){var b,g=this._offset||0;if(!this.isValid())return null!=i?this:NaN;if(null!=i){if("string"==typeof i){if(null===(i=Aa(br,i)))return this}else Math.abs(i)<16&&!h&&(i*=60);return!this._isUTC&&u&&(b=La(this)),this._offset=i,this._isUTC=!0,null!=b&&this.add(b,"m"),g!==i&&(!u||this._changeInProgress?Si(this,Me(i-g,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?g:La(this)},D.utc=function Ad(i){return this.utcOffset(0,i)},D.local=function Id(i){return this._isUTC&&(this.utcOffset(0,i),this._isUTC=!1,i&&this.subtract(La(this),"m")),this},D.parseZone=function Ld(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var i=Aa(ru,this._i);null!=i?this.utcOffset(i):this.utcOffset(0,!0)}return this},D.hasAlignedHourOffset=function Rd(i){return!!this.isValid()&&(i=i?Z(i).utcOffset():0,(this.utcOffset()-i)%60==0)},D.isDST=function Wd(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},D.isLocal=function Yd(){return!!this.isValid()&&!this._isUTC},D.isUtcOffset=function Ed(){return!!this.isValid()&&this._isUTC},D.isUtc=wi,D.isUTC=wi,D.zoneAbbr=function If(){return this._isUTC?"UTC":""},D.zoneName=function Lf(){return this._isUTC?"Coordinated Universal Time":""},D.dates=U("dates accessor is deprecated. Use date instead.",Ii),D.months=U("months accessor is deprecated. Use month instead",li),D.years=U("years accessor is deprecated. Use year instead",ai),D.zone=U("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Fd(i,u){return null!=i?("string"!=typeof i&&(i=-i),this.utcOffset(i,u),this):-this.utcOffset()}),D.isDSTShifted=U("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Nd(){if(!l(this._isDSTShifted))return this._isDSTShifted;var i={};if(A(i,this),(i=bi(i))._a){var u=i._isUTC?_(i._a):Z(i._a);this._isDSTShifted=this.isValid()&&J(i._a,u.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var G=va.prototype;function Pr(i,u,h,g){var b=$e(),k=_().set(g,u);return b[h](k,i)}function Ri(i,u,h){if(f(i)&&(u=i,i=void 0),i=i||"",null!=u)return Pr(i,u,h,"month");var g,b=[];for(g=0;g<12;g++)b[g]=Pr(i,g,h,"month");return b}function Wa(i,u,h,g){"boolean"==typeof i?(f(u)&&(h=u,u=void 0),u=u||""):(h=u=i,i=!1,f(u)&&(h=u,u=void 0),u=u||"");var b=$e(),k=i?b._week.dow:0;if(null!=h)return Pr(u,(h+k)%7,g,"day");var S,R=[];for(S=0;S<7;S++)R[S]=Pr(u,(S+k)%7,g,"day");return R}G.calendar=function Bl(i,u,h){var g=this._calendar[i]||this._calendar.sameElse;return fe(g)?g.call(u,h):g},G.longDateFormat=function Vl(i){var u=this._longDateFormat[i],h=this._longDateFormat[i.toUpperCase()];return u||!h?u:(this._longDateFormat[i]=h.replace(/MMMM|MM|DD|dddd/g,function(g){return g.slice(1)}),this._longDateFormat[i])},G.invalidDate=function jl(){return this._invalidDate},G.ordinal=function ql(i){return this._ordinal.replace("%d",i)},G.preparse=Li,G.postformat=Li,G.relativeTime=function Xl(i,u,h,g){var b=this._relativeTime[h];return fe(b)?b(i,u,h,g):b.replace(/%d/i,i)},G.pastFuture=function Kl(i,u){var h=this._relativeTime[i>0?"future":"past"];return fe(h)?h(u):h.replace(/%s/i,u)},G.set=function ca(i){var u,h;for(h in i)fe(u=i[h])?this[h]=u:this["_"+h]=u;this._config=i,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},G.months=function vu(i,u){return i?o(this._months)?this._months[i.month()]:this._months[(this._months.isFormat||ii).test(u)?"format":"standalone"][i.month()]:o(this._months)?this._months:this._months.standalone},G.monthsShort=function gu(i,u){return i?o(this._monthsShort)?this._monthsShort[i.month()]:this._monthsShort[ii.test(u)?"format":"standalone"][i.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},G.monthsParse=function pu(i,u,h){var g,b,k;if(this._monthsParseExact)return mu.call(this,i,u,h);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),g=0;g<12;g++){if(b=_([2e3,g]),h&&!this._longMonthsParse[g]&&(this._longMonthsParse[g]=new RegExp("^"+this.months(b,"").replace(".","")+"$","i"),this._shortMonthsParse[g]=new RegExp("^"+this.monthsShort(b,"").replace(".","")+"$","i")),!h&&!this._monthsParse[g]&&(k="^"+this.months(b,"")+"|^"+this.monthsShort(b,""),this._monthsParse[g]=new RegExp(k.replace(".",""),"i")),h&&"MMMM"===u&&this._longMonthsParse[g].test(i))return g;if(h&&"MMM"===u&&this._shortMonthsParse[g].test(i))return g;if(!h&&this._monthsParse[g].test(i))return g}},G.monthsRegex=function wu(i){return this._monthsParseExact?(p(this,"_monthsRegex")||ui.call(this),i?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=xu),this._monthsStrictRegex&&i?this._monthsStrictRegex:this._monthsRegex)},G.monthsShortRegex=function _u(i){return this._monthsParseExact?(p(this,"_monthsRegex")||ui.call(this),i?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=yu),this._monthsShortStrictRegex&&i?this._monthsShortStrictRegex:this._monthsShortRegex)},G.week=function Mu(i){return Ut(i,this._week.dow,this._week.doy).week},G.firstDayOfYear=function Tu(){return this._week.doy},G.firstDayOfWeek=function Du(){return this._week.dow},G.weekdays=function Iu(i,u){var h=o(this._weekdays)?this._weekdays:this._weekdays[i&&!0!==i&&this._weekdays.isFormat.test(u)?"format":"standalone"];return!0===i?wa(h,this._week.dow):i?h[i.day()]:h},G.weekdaysMin=function Wu(i){return!0===i?wa(this._weekdaysMin,this._week.dow):i?this._weekdaysMin[i.day()]:this._weekdaysMin},G.weekdaysShort=function Lu(i){return!0===i?wa(this._weekdaysShort,this._week.dow):i?this._weekdaysShort[i.day()]:this._weekdaysShort},G.weekdaysParse=function Yu(i,u,h){var g,b,k;if(this._weekdaysParseExact)return Nu.call(this,i,u,h);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),g=0;g<7;g++){if(b=_([2e3,1]).day(g),h&&!this._fullWeekdaysParse[g]&&(this._fullWeekdaysParse[g]=new RegExp("^"+this.weekdays(b,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[g]=new RegExp("^"+this.weekdaysShort(b,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[g]=new RegExp("^"+this.weekdaysMin(b,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[g]||(k="^"+this.weekdays(b,"")+"|^"+this.weekdaysShort(b,"")+"|^"+this.weekdaysMin(b,""),this._weekdaysParse[g]=new RegExp(k.replace(".",""),"i")),h&&"dddd"===u&&this._fullWeekdaysParse[g].test(i))return g;if(h&&"ddd"===u&&this._shortWeekdaysParse[g].test(i))return g;if(h&&"dd"===u&&this._minWeekdaysParse[g].test(i))return g;if(!h&&this._weekdaysParse[g].test(i))return g}},G.weekdaysRegex=function Vu(i){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||ka.call(this),i?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Hu),this._weekdaysStrictRegex&&i?this._weekdaysStrictRegex:this._weekdaysRegex)},G.weekdaysShortRegex=function ju(i){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||ka.call(this),i?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Uu),this._weekdaysShortStrictRegex&&i?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},G.weekdaysMinRegex=function $u(i){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||ka.call(this),i?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Gu),this._weekdaysMinStrictRegex&&i?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},G.isPM=function Zu(i){return"p"===(i+"").toLowerCase().charAt(0)},G.meridiem=function Ku(i,u,h){return i>11?h?"pm":"PM":h?"am":"AM"},_t("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(i){var u=i%10;return i+(1===O(i%100/10)?"th":1===u?"st":2===u?"nd":3===u?"rd":"th")}}),a.lang=U("moment.lang is deprecated. Use moment.locale instead.",_t),a.langData=U("moment.langData is deprecated. Use moment.localeData instead.",$e);var Be=Math.abs;function Wi(i,u,h,g){var b=Me(u,h);return i._milliseconds+=g*b._milliseconds,i._days+=g*b._days,i._months+=g*b._months,i._bubble()}function Ni(i){return i<0?Math.floor(i):Math.ceil(i)}function Yi(i){return 4800*i/146097}function Na(i){return 146097*i/4800}function He(i){return function(){return this.as(i)}}var qf=He("ms"),Zf=He("s"),Xf=He("m"),Kf=He("h"),Jf=He("d"),Qf=He("w"),eh=He("M"),th=He("Q"),rh=He("y");function dt(i){return function(){return this.isValid()?this._data[i]:NaN}}var ih=dt("milliseconds"),oh=dt("seconds"),sh=dt("minutes"),lh=dt("hours"),uh=dt("days"),dh=dt("months"),fh=dt("years");var Ze=Math.round,Oe={ss:44,s:45,m:45,h:22,d:26,M:11};function ch(i,u,h,g,b){return b.relativeTime(u||1,!!h,i,g)}var Ya=Math.abs;function Mt(i){return(i>0)-(i<0)||+i}function Or(){if(!this.isValid())return this.localeData().invalidDate();var g,b,i=Ya(this._milliseconds)/1e3,u=Ya(this._days),h=Ya(this._months);g=E(i/60),b=E(g/60),i%=60,g%=60;var S=E(h/12),R=h%=12,V=u,ee=b,ye=g,qt=i?i.toFixed(3).replace(/\.?0+$/,""):"",Zt=this.asSeconds();if(!Zt)return"P0D";var bh=Zt<0?"-":"",Ei=Mt(this._months)!==Mt(Zt)?"-":"",yh=Mt(this._days)!==Mt(Zt)?"-":"",Ea=Mt(this._milliseconds)!==Mt(Zt)?"-":"";return bh+"P"+(S?Ei+S+"Y":"")+(R?Ei+R+"M":"")+(V?yh+V+"D":"")+(ee||ye||qt?"T":"")+(ee?Ea+ee+"H":"")+(ye?Ea+ye+"M":"")+(qt?Ea+qt+"S":"")}var H=Sr.prototype;return H.isValid=function Td(){return this._isValid},H.abs=function Hf(){var i=this._data;return this._milliseconds=Be(this._milliseconds),this._days=Be(this._days),this._months=Be(this._months),i.milliseconds=Be(i.milliseconds),i.seconds=Be(i.seconds),i.minutes=Be(i.minutes),i.hours=Be(i.hours),i.months=Be(i.months),i.years=Be(i.years),this},H.add=function Vf(i,u){return Wi(this,i,u,1)},H.subtract=function Uf(i,u){return Wi(this,i,u,-1)},H.as=function Gf(i){if(!this.isValid())return NaN;var u,h,g=this._milliseconds;if("month"===(i=be(i))||"quarter"===i||"year"===i)switch(u=this._days+g/864e5,h=this._months+Yi(u),i){case"month":return h;case"quarter":return h/3;case"year":return h/12}else switch(u=this._days+Math.round(Na(this._months)),i){case"week":return u/7+g/6048e5;case"day":return u+g/864e5;case"hour":return 24*u+g/36e5;case"minute":return 1440*u+g/6e4;case"second":return 86400*u+g/1e3;case"millisecond":return Math.floor(864e5*u)+g;default:throw new Error("Unknown unit "+i)}},H.asMilliseconds=qf,H.asSeconds=Zf,H.asMinutes=Xf,H.asHours=Kf,H.asDays=Jf,H.asWeeks=Qf,H.asMonths=eh,H.asQuarters=th,H.asYears=rh,H.valueOf=function $f(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*O(this._months/12):NaN},H._bubble=function jf(){var b,k,S,R,V,i=this._milliseconds,u=this._days,h=this._months,g=this._data;return i>=0&&u>=0&&h>=0||i<=0&&u<=0&&h<=0||(i+=864e5*Ni(Na(h)+u),u=0,h=0),g.milliseconds=i%1e3,b=E(i/1e3),g.seconds=b%60,k=E(b/60),g.minutes=k%60,S=E(k/60),g.hours=S%24,u+=E(S/24),h+=V=E(Yi(u)),u-=Ni(Na(V)),R=E(h/12),h%=12,g.days=u,g.months=h,g.years=R,this},H.clone=function ah(){return Me(this)},H.get=function nh(i){return i=be(i),this.isValid()?this[i+"s"]():NaN},H.milliseconds=ih,H.seconds=oh,H.minutes=sh,H.hours=lh,H.days=uh,H.weeks=function hh(){return E(this.days()/7)},H.months=dh,H.years=fh,H.humanize=function ph(i){if(!this.isValid())return this.localeData().invalidDate();var u=this.localeData(),h=function vh(i,u,h){var g=Me(i).abs(),b=Ze(g.as("s")),k=Ze(g.as("m")),S=Ze(g.as("h")),R=Ze(g.as("d")),V=Ze(g.as("M")),ee=Ze(g.as("y")),ye=b<=Oe.ss&&["s",b]||b<Oe.s&&["ss",b]||k<=1&&["m"]||k<Oe.m&&["mm",k]||S<=1&&["h"]||S<Oe.h&&["hh",S]||R<=1&&["d"]||R<Oe.d&&["dd",R]||V<=1&&["M"]||V<Oe.M&&["MM",V]||ee<=1&&["y"]||["yy",ee];return ye[2]=u,ye[3]=+i>0,ye[4]=h,ch.apply(null,ye)}(this,!i,u);return i&&(h=u.pastFuture(+this,h)),u.postformat(h)},H.toISOString=Or,H.toString=Or,H.toJSON=Or,H.locale=Di,H.localeData=Ci,H.toIsoString=U("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Or),H.lang=Ti,L("X",0,0,"unix"),L("x",0,0,"valueOf"),P("x",pr),P("X",/[+-]?\d+(\.\d{1,3})?/),q("X",function(i,u,h){h._d=new Date(1e3*parseFloat(i,10))}),q("x",function(i,u,h){h._d=new Date(O(i))}),a.version="2.24.0",function n(i){r=i}(Z),a.fn=D,a.min=function kd(){return _i("isBefore",[].slice.call(arguments,0))},a.max=function Md(){return _i("isAfter",[].slice.call(arguments,0))},a.now=function(){return Date.now?Date.now():+new Date},a.utc=_,a.unix=function Rf(i){return Z(1e3*i)},a.months=function Nf(i,u){return Ri(i,u,"months")},a.isDate=c,a.locale=_t,a.invalid=C,a.duration=Me,a.isMoment=Y,a.weekdays=function Ef(i,u,h){return Wa(i,u,h,"weekdays")},a.parseZone=function Wf(){return Z.apply(null,arguments).parseZone()},a.localeData=$e,a.isDuration=Oa,a.monthsShort=function Yf(i,u){return Ri(i,u,"monthsShort")},a.weekdaysMin=function Bf(i,u,h){return Wa(i,u,h,"weekdaysMin")},a.defineLocale=Sa,a.updateLocale=function ed(i,u){if(null!=u){var h,g,b=vi;null!=(g=kr(i))&&(b=g._config),(h=new va(u=Zn(b,u))).parentLocale=re[i],re[i]=h,_t(i)}else null!=re[i]&&(null!=re[i].parentLocale?re[i]=re[i].parentLocale:null!=re[i]&&delete re[i]);return re[i]},a.locales=function td(){return ga(re)},a.weekdaysShort=function zf(i,u,h){return Wa(i,u,h,"weekdaysShort")},a.normalizeUnits=be,a.relativeTimeRounding=function gh(i){return void 0===i?Ze:"function"==typeof i&&(Ze=i,!0)},a.relativeTimeThreshold=function mh(i,u){return void 0!==Oe[i]&&(void 0===u?Oe[i]:(Oe[i]=u,"s"===i&&(Oe.ss=u-1),!0))},a.calendarFormat=function jd(i,u){var h=i.diff(u,"days",!0);return h<-6?"sameElse":h<-1?"lastWeek":h<0?"lastDay":h<1?"sameDay":h<2?"nextDay":h<7?"nextWeek":"sameElse"},a.prototype=D,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()}),kl={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};ea._date.override("function"==typeof xe?{_id:"moment",formats:function(){return kl},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=xe(e,t):e instanceof xe||(e=xe(e)),e.isValid()?e.valueOf():null},format:function(e,t){return xe(e).format(t)},add:function(e,t,r){return xe(e).add(t,r).valueOf()},diff:function(e,t,r){return xe(e).diff(xe(t),r)},startOf:function(e,t,r){return e=xe(e),"isoWeek"===t?e.isoWeekday(r).valueOf():e.startOf(t).valueOf()},endOf:function(e,t){return xe(e).endOf(t).valueOf()},_create:function(e){return xe(e)}}:{}),F._set("global",{plugins:{filler:{propagate:!0}}});var Ml={dataset:function(e){var t=e.fill,r=e.chart,a=r.getDatasetMeta(t),o=a&&r.isDatasetVisible(t)&&a.dataset._children||[],s=o.length||0;return s?function(d,l){return l<s&&o[l]._view||null}:null},boundary:function(e){var t=e.boundary,r=t?t.x:null,a=t?t.y:null;return m.isArray(t)?function(n,o){return t[o]}:function(n){return{x:null===r?n.x:r,y:null===a?n.y:a}}}};function Sl(e,t,r){var o,a=e._model||{},n=a.fill;if(void 0===n&&(n=!!a.backgroundColor),!1===n||null===n)return!1;if(!0===n)return"origin";if(o=parseFloat(n,10),isFinite(o)&&Math.floor(o)===o)return("-"===n[0]||"+"===n[0])&&(o=t+o),!(o===t||o<0||o>=r)&&o;switch(n){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return n;default:return!1}}function Cl(e){return(e.el._scale||{}).getPointPositionForValue?function Tl(e){var s,d,l,f,c,t=e.el._scale,r=t.options,a=t.chart.data.labels.length,n=e.fill,o=[];if(!a)return null;for(d=r.ticks.reverse?t.min:t.max,l=t.getPointPositionForValue(0,s=r.ticks.reverse?t.max:t.min),f=0;f<a;++f)c="start"===n||"end"===n?t.getPointPositionForValue(f,"start"===n?s:d):t.getBasePosition(f),r.gridLines.circular&&(c.cx=l.x,c.cy=l.y,c.angle=t.getIndexAngle(f)-Math.PI/2),o.push(c);return o}(e):function Dl(e){var o,t=e.el._model||{},r=e.el._scale||{},a=e.fill,n=null;if(isFinite(a))return null;if("start"===a?n=void 0===t.scaleBottom?r.bottom:t.scaleBottom:"end"===a?n=void 0===t.scaleTop?r.top:t.scaleTop:void 0!==t.scaleZero?n=t.scaleZero:r.getBasePixel&&(n=r.getBasePixel()),null!=n){if(void 0!==n.x&&void 0!==n.y)return n;if(m.isFinite(n))return{x:(o=r.isHorizontal())?n:null,y:o?null:n}}return null}(e)}function Pl(e,t,r){var s,n=e[t].fill,o=[t];if(!r)return n;for(;!1!==n&&-1===o.indexOf(n);){if(!isFinite(n))return n;if(!(s=e[n]))return!1;if(s.visible)return n;o.push(n),n=s.fill}return!1}function Ol(e){var t=e.fill,r="dataset";return!1===t?null:(isFinite(t)||(r="boundary"),Ml[r](e))}function Hn(e){return e&&!e.skip}function Vn(e,t,r,a,n){var o,s,d,l;if(a&&n){for(e.moveTo(t[0].x,t[0].y),o=1;o<a;++o)m.canvas.lineTo(e,t[o-1],t[o]);if(void 0!==r[0].angle){for(s=r[0].cx,d=r[0].cy,l=Math.sqrt(Math.pow(r[0].x-s,2)+Math.pow(r[0].y-d,2)),o=n-1;o>0;--o)e.arc(s,d,l,r[o].angle,r[o-1].angle,!0);return}for(e.lineTo(r[n-1].x,r[n-1].y),o=n-1;o>0;--o)m.canvas.lineTo(e,r[o],r[o-1],!0)}}function Fl(e,t,r,a,n,o){var p,y,_,w,x,M,T,C,s=t.length,d=a.spanGaps,l=[],f=[],c=0,v=0;for(e.beginPath(),p=0,y=s;p<y;++p)x=r(w=t[_=p%s]._view,_,a),M=Hn(w),T=Hn(x),o&&void 0===C&&M&&(y=s+(C=p+1)),M&&T?(c=l.push(w),v=f.push(x)):c&&v&&(d?(M&&l.push(w),T&&f.push(x)):(Vn(e,l,f,c,v),c=v=0,l=[],f=[]));Vn(e,l,f,c,v),e.closePath(),e.fillStyle=n,e.fill()}var Al={id:"filler",afterDatasetsUpdate:function(e,t){var o,s,d,l,r=(e.data.datasets||[]).length,a=t.propagate,n=[];for(s=0;s<r;++s)l=null,(d=(o=e.getDatasetMeta(s)).dataset)&&d._model&&d instanceof se.Line&&(l={visible:e.isDatasetVisible(s),fill:Sl(d,s,r),chart:e,el:d}),o.$filler=l,n.push(l);for(s=0;s<r;++s)(l=n[s])&&(l.fill=Pl(n,s,a),l.boundary=Cl(l),l.mapper=Ol(l))},beforeDatasetsDraw:function(e){var a,n,o,s,d,l,f,t=e._getSortedVisibleDatasetMetas(),r=e.ctx;for(n=t.length-1;n>=0;--n)(a=t[n].$filler)&&a.visible&&(d=(o=a.el)._children||[],f=(s=o._view).backgroundColor||F.global.defaultColor,(l=a.mapper)&&f&&d.length&&(m.canvas.clipArea(r,e.chartArea),Fl(r,d,l,s,f,o._loop),m.canvas.unclipArea(r)))}},Il=m.rtl.getRtlAdapter,Ue=m.noop,je=m.valueOrDefault;function ha(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}F._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var r=t.datasetIndex,a=this.chart,n=a.getDatasetMeta(r);n.hidden=null===n.hidden?!a.data.datasets[r].hidden:null,a.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,r=e.options.legend||{},a=r.labels&&r.labels.usePointStyle;return e._getSortedDatasetMetas().map(function(n){var o=n.controller.getStyle(a?0:void 0);return{text:t[n.index].label,fillStyle:o.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:o.borderCapStyle,lineDash:o.borderDash,lineDashOffset:o.borderDashOffset,lineJoin:o.borderJoinStyle,lineWidth:o.borderWidth,strokeStyle:o.borderColor,pointStyle:o.pointStyle,rotation:o.rotation,datasetIndex:n.index}},this)}}},legendCallback:function(e){var a,n,o,t=document.createElement("ul"),r=e.data.datasets;for(t.setAttribute("class",e.id+"-legend"),a=0,n=r.length;a<n;a++)(o=t.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=r[a].backgroundColor,r[a].label&&o.appendChild(document.createTextNode(r[a].label));return t.outerHTML}});var Un=De.extend({initialize:function(e){var t=this;m.extend(t,e),t.legendHitBoxes=[],t._hoveredItem=null,t.doughnutMode=!1},beforeUpdate:Ue,update:function(e,t,r){var a=this;return a.beforeUpdate(),a.maxWidth=e,a.maxHeight=t,a.margins=r,a.beforeSetDimensions(),a.setDimensions(),a.afterSetDimensions(),a.beforeBuildLabels(),a.buildLabels(),a.afterBuildLabels(),a.beforeFit(),a.fit(),a.afterFit(),a.afterUpdate(),a.minSize},afterUpdate:Ue,beforeSetDimensions:Ue,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:Ue,beforeBuildLabels:Ue,buildLabels:function(){var e=this,t=e.options.labels||{},r=m.callback(t.generateLabels,[e.chart],e)||[];t.filter&&(r=r.filter(function(a){return t.filter(a,e.chart.data)})),e.options.reverse&&r.reverse(),e.legendItems=r},afterBuildLabels:Ue,beforeFit:Ue,fit:function(){var e=this,t=e.options,r=t.labels,a=t.display,n=e.ctx,o=m.options._parseFont(r),s=o.size,d=e.legendHitBoxes=[],l=e.minSize,f=e.isHorizontal();if(f?(l.width=e.maxWidth,l.height=a?10:0):(l.width=a?10:0,l.height=e.maxHeight),a){if(n.font=o.string,f){var c=e.lineWidths=[0],v=0;n.textAlign="left",n.textBaseline="middle",m.each(e.legendItems,function(T,C){var A=ha(r,s)+s/2+n.measureText(T.text).width;(0===C||c[c.length-1]+A+2*r.padding>l.width)&&(v+=s+r.padding,c[c.length-(C>0?0:1)]=0),d[C]={left:0,top:0,width:A,height:s},c[c.length-1]+=A+r.padding}),l.height+=v}else{var p=r.padding,y=e.columnWidths=[],_=e.columnHeights=[],w=r.padding,x=0,M=0;m.each(e.legendItems,function(T,C){var A=ha(r,s)+s/2+n.measureText(T.text).width;C>0&&M+s+2*p>l.height&&(w+=x+r.padding,y.push(x),_.push(M),x=0,M=0),x=Math.max(x,A),M+=s+p,d[C]={left:0,top:0,width:A,height:s}}),w+=x,y.push(x),_.push(M),l.width+=w}e.width=l.width,e.height=l.height}else e.width=l.width=e.height=l.height=0},afterFit:Ue,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,r=t.labels,a=F.global,n=a.defaultColor,o=a.elements.line,s=e.height,d=e.columnHeights,l=e.width,f=e.lineWidths;if(t.display){var w,c=Il(t.rtl,e.left,e.minSize.width),v=e.ctx,p=je(r.fontColor,a.defaultFontColor),y=m.options._parseFont(r),_=y.size;v.textAlign=c.textAlign("left"),v.textBaseline="middle",v.lineWidth=.5,v.strokeStyle=p,v.fillStyle=p,v.font=y.string;var x=ha(r,_),M=e.legendHitBoxes,I=function(N,Y){switch(t.align){case"start":return r.padding;case"end":return N-Y;default:return(N-Y+r.padding)/2}},A=e.isHorizontal();w=A?{x:e.left+I(l,f[0]),y:e.top+r.padding,line:0}:{x:e.left+r.padding,y:e.top+I(s,d[0]),line:0},m.rtl.overrideTextDirection(e.ctx,t.textDirection);var z=_+r.padding;m.each(e.legendItems,function(N,Y){var E=v.measureText(N.text).width,O=x+_/2+E,J=w.x,X=w.y;c.setWidth(e.minSize.width),A?Y>0&&J+O+r.padding>e.left+e.minSize.width&&(X=w.y+=z,w.line++,J=w.x=e.left+I(l,f[w.line])):Y>0&&X+z>e.top+e.minSize.height&&(J=w.x=J+e.columnWidths[w.line]+r.padding,w.line++,X=w.y=e.top+I(s,d[w.line]));var U=c.x(J);(function(N,Y,E){if(!(isNaN(x)||x<=0)){v.save();var O=je(E.lineWidth,o.borderWidth);if(v.fillStyle=je(E.fillStyle,n),v.lineCap=je(E.lineCap,o.borderCapStyle),v.lineDashOffset=je(E.lineDashOffset,o.borderDashOffset),v.lineJoin=je(E.lineJoin,o.borderJoinStyle),v.lineWidth=O,v.strokeStyle=je(E.strokeStyle,n),v.setLineDash&&v.setLineDash(je(E.lineDash,o.borderDash)),r&&r.usePointStyle){var J=x*Math.SQRT2/2,X=c.xPlus(N,x/2);m.canvas.drawPoint(v,E.pointStyle,J,X,Y+_/2,E.rotation)}else v.fillRect(c.leftForLtr(N,x),Y,x,_),0!==O&&v.strokeRect(c.leftForLtr(N,x),Y,x,_);v.restore()}})(U,X,N),M[Y].left=c.leftForLtr(U,M[Y].width),M[Y].top=X,function(N,Y,E,O){var J=_/2,X=c.xPlus(N,x+J),U=Y+J;v.fillText(E.text,X,U),E.hidden&&(v.beginPath(),v.lineWidth=2,v.moveTo(X,U),v.lineTo(c.xPlus(X,O),U),v.stroke())}(U,X,N,E),A?w.x+=O+r.padding:w.y+=z}),m.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var a,n,o,r=this;if(e>=r.left&&e<=r.right&&t>=r.top&&t<=r.bottom)for(o=r.legendHitBoxes,a=0;a<o.length;++a)if(e>=(n=o[a]).left&&e<=n.left+n.width&&t>=n.top&&t<=n.top+n.height)return r.legendItems[a];return null},handleEvent:function(e){var n,t=this,r=t.options,a="mouseup"===e.type?"click":e.type;if("mousemove"===a){if(!r.onHover&&!r.onLeave)return}else{if("click"!==a)return;if(!r.onClick)return}n=t._getLegendItemAt(e.x,e.y),"click"===a?n&&r.onClick&&r.onClick.call(t,e.native,n):(r.onLeave&&n!==t._hoveredItem&&(t._hoveredItem&&r.onLeave.call(t,e.native,t._hoveredItem),t._hoveredItem=n),r.onHover&&n&&r.onHover.call(t,e.native,n))}});function jn(e,t){var r=new Un({ctx:e.ctx,options:t,chart:e});pe.configure(e,r,t),pe.addBox(e,r),e.legend=r}var Ll={id:"legend",_element:Un,beforeInit:function(e){var t=e.options.legend;t&&jn(e,t)},beforeUpdate:function(e){var t=e.options.legend,r=e.legend;t?(m.mergeIf(t,F.global.legend),r?(pe.configure(e,r,t),r.options=t):jn(e,t)):r&&(pe.removeBox(e,r),delete e.legend)},afterEvent:function(e,t){var r=e.legend;r&&r.handleEvent(t)}},Re=m.noop;F._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Gn=De.extend({initialize:function(e){m.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:Re,update:function(e,t,r){var a=this;return a.beforeUpdate(),a.maxWidth=e,a.maxHeight=t,a.margins=r,a.beforeSetDimensions(),a.setDimensions(),a.afterSetDimensions(),a.beforeBuildLabels(),a.buildLabels(),a.afterBuildLabels(),a.beforeFit(),a.fit(),a.afterFit(),a.afterUpdate(),a.minSize},afterUpdate:Re,beforeSetDimensions:Re,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:Re,beforeBuildLabels:Re,buildLabels:Re,afterBuildLabels:Re,beforeFit:Re,fit:function(){var o,e=this,t=e.options,r=e.minSize={},a=e.isHorizontal();t.display?(o=(m.isArray(t.text)?t.text.length:1)*m.options._parseFont(t).lineHeight+2*t.padding,e.width=r.width=a?e.maxWidth:o,e.height=r.height=a?o:e.maxHeight):e.width=r.width=e.height=r.height=0},afterFit:Re,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,r=e.options;if(r.display){var v,p,y,a=m.options._parseFont(r),n=a.lineHeight,o=n/2+r.padding,s=0,d=e.top,l=e.left,f=e.bottom,c=e.right;t.fillStyle=m.valueOrDefault(r.fontColor,F.global.defaultFontColor),t.font=a.string,e.isHorizontal()?(p=l+(c-l)/2,y=d+o,v=c-l):(p="left"===r.position?l+o:c-o,y=d+(f-d)/2,v=f-d,s=Math.PI*("left"===r.position?-.5:.5)),t.save(),t.translate(p,y),t.rotate(s),t.textAlign="center",t.textBaseline="middle";var _=r.text;if(m.isArray(_))for(var w=0,x=0;x<_.length;++x)t.fillText(_[x],0,w,v),w+=n;else t.fillText(_,0,0,v);t.restore()}}});function $n(e,t){var r=new Gn({ctx:e.ctx,options:t,chart:e});pe.configure(e,r,t),pe.addBox(e,r),e.titleBlock=r}var Rl={id:"title",_element:Gn,beforeInit:function(e){var t=e.options.title;t&&$n(e,t)},beforeUpdate:function(e){var t=e.options.title,r=e.titleBlock;t?(m.mergeIf(t,F.global.title),r?(pe.configure(e,r,t),r.options=t):$n(e,t)):r&&(pe.removeBox(e,r),delete e.titleBlock)}},Ge={},Wl=Al,Nl=Ll,Yl=Rl;for(var qn in Ge.filler=Wl,Ge.legend=Nl,Ge.title=Yl,W.helpers=m,function(){function e(a,n,o){var s;return"string"==typeof a?(s=parseInt(a,10),-1!==a.indexOf("%")&&(s=s/100*n.parentNode[o])):s=a,s}function t(a){return null!=a&&"none"!==a}function r(a,n,o){var s=document.defaultView,d=m._getParentNode(a),l=s.getComputedStyle(a)[n],f=s.getComputedStyle(d)[n],c=t(l),v=t(f),p=Number.POSITIVE_INFINITY;return c||v?Math.min(c?e(l,a,o):p,v?e(f,d,o):p):"none"}m.where=function(a,n){if(m.isArray(a)&&Array.prototype.filter)return a.filter(n);var o=[];return m.each(a,function(s){n(s)&&o.push(s)}),o},m.findIndex=Array.prototype.findIndex?function(a,n,o){return a.findIndex(n,o)}:function(a,n,o){o=void 0===o?a:o;for(var s=0,d=a.length;s<d;++s)if(n.call(o,a[s],s,a))return s;return-1},m.findNextWhere=function(a,n,o){m.isNullOrUndef(o)&&(o=-1);for(var s=o+1;s<a.length;s++){var d=a[s];if(n(d))return d}},m.findPreviousWhere=function(a,n,o){m.isNullOrUndef(o)&&(o=a.length);for(var s=o-1;s>=0;s--){var d=a[s];if(n(d))return d}},m.isNumber=function(a){return!isNaN(parseFloat(a))&&isFinite(a)},m.almostEquals=function(a,n,o){return Math.abs(a-n)<o},m.almostWhole=function(a,n){var o=Math.round(a);return o-n<=a&&o+n>=a},m.max=function(a){return a.reduce(function(n,o){return isNaN(o)?n:Math.max(n,o)},Number.NEGATIVE_INFINITY)},m.min=function(a){return a.reduce(function(n,o){return isNaN(o)?n:Math.min(n,o)},Number.POSITIVE_INFINITY)},m.sign=Math.sign?function(a){return Math.sign(a)}:function(a){return 0==(a=+a)||isNaN(a)?a:a>0?1:-1},m.toRadians=function(a){return a*(Math.PI/180)},m.toDegrees=function(a){return a*(180/Math.PI)},m._decimalPlaces=function(a){if(m.isFinite(a)){for(var n=1,o=0;Math.round(a*n)/n!==a;)n*=10,o++;return o}},m.getAngleFromPoint=function(a,n){var o=n.x-a.x,s=n.y-a.y,d=Math.sqrt(o*o+s*s),l=Math.atan2(s,o);return l<-.5*Math.PI&&(l+=2*Math.PI),{angle:l,distance:d}},m.distanceBetweenPoints=function(a,n){return Math.sqrt(Math.pow(n.x-a.x,2)+Math.pow(n.y-a.y,2))},m.aliasPixel=function(a){return a%2==0?0:.5},m._alignPixel=function(a,n,o){var s=a.currentDevicePixelRatio,d=o/2;return Math.round((n-d)*s)/s+d},m.splineCurve=function(a,n,o,s){var d=a.skip?n:a,l=n,f=o.skip?n:o,c=Math.sqrt(Math.pow(l.x-d.x,2)+Math.pow(l.y-d.y,2)),v=Math.sqrt(Math.pow(f.x-l.x,2)+Math.pow(f.y-l.y,2)),p=c/(c+v),y=v/(c+v),_=s*(p=isNaN(p)?0:p),w=s*(y=isNaN(y)?0:y);return{previous:{x:l.x-_*(f.x-d.x),y:l.y-_*(f.y-d.y)},next:{x:l.x+w*(f.x-d.x),y:l.y+w*(f.y-d.y)}}},m.EPSILON=Number.EPSILON||1e-14,m.splineCurveMonotone=function(a){var s,d,l,f,v,p,y,_,w,n=(a||[]).map(function(x){return{model:x._model,deltaK:0,mK:0}}),o=n.length;for(s=0;s<o;++s)if(!(l=n[s]).model.skip){if(d=s>0?n[s-1]:null,(f=s<o-1?n[s+1]:null)&&!f.model.skip){var c=f.model.x-l.model.x;l.deltaK=0!==c?(f.model.y-l.model.y)/c:0}l.mK=!d||d.model.skip?l.deltaK:!f||f.model.skip?d.deltaK:this.sign(d.deltaK)!==this.sign(l.deltaK)?0:(d.deltaK+l.deltaK)/2}for(s=0;s<o-1;++s)if(f=n[s+1],!(l=n[s]).model.skip&&!f.model.skip){if(m.almostEquals(l.deltaK,0,this.EPSILON)){l.mK=f.mK=0;continue}v=l.mK/l.deltaK,p=f.mK/l.deltaK,!((_=Math.pow(v,2)+Math.pow(p,2))<=9)&&(y=3/Math.sqrt(_),l.mK=v*y*l.deltaK,f.mK=p*y*l.deltaK)}for(s=0;s<o;++s)!(l=n[s]).model.skip&&(f=s<o-1?n[s+1]:null,(d=s>0?n[s-1]:null)&&!d.model.skip&&(l.model.controlPointPreviousX=l.model.x-(w=(l.model.x-d.model.x)/3),l.model.controlPointPreviousY=l.model.y-w*l.mK),f&&!f.model.skip&&(l.model.controlPointNextX=l.model.x+(w=(f.model.x-l.model.x)/3),l.model.controlPointNextY=l.model.y+w*l.mK))},m.nextItem=function(a,n,o){return o?n>=a.length-1?a[0]:a[n+1]:n>=a.length-1?a[a.length-1]:a[n+1]},m.previousItem=function(a,n,o){return o?n<=0?a[a.length-1]:a[n-1]:n<=0?a[0]:a[n-1]},m.niceNum=function(a,n){var o=Math.floor(m.log10(a)),s=a/Math.pow(10,o);return(n?s<1.5?1:s<3?2:s<7?5:10:s<=1?1:s<=2?2:s<=5?5:10)*Math.pow(10,o)},m.requestAnimFrame=typeof window>"u"?function(a){a()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){return window.setTimeout(a,1e3/60)},m.getRelativePosition=function(a,n){var o,s,d=a.originalEvent||a,l=a.target||a.srcElement,f=l.getBoundingClientRect(),c=d.touches;c&&c.length>0?(o=c[0].clientX,s=c[0].clientY):(o=d.clientX,s=d.clientY);var v=parseFloat(m.getStyle(l,"padding-left")),p=parseFloat(m.getStyle(l,"padding-top")),y=parseFloat(m.getStyle(l,"padding-right")),_=parseFloat(m.getStyle(l,"padding-bottom")),x=f.bottom-f.top-p-_;return{x:o=Math.round((o-f.left-v)/(f.right-f.left-v-y)*l.width/n.currentDevicePixelRatio),y:s=Math.round((s-f.top-p)/x*l.height/n.currentDevicePixelRatio)}},m.getConstraintWidth=function(a){return r(a,"max-width","clientWidth")},m.getConstraintHeight=function(a){return r(a,"max-height","clientHeight")},m._calculatePadding=function(a,n,o){return(n=m.getStyle(a,n)).indexOf("%")>-1?o*parseInt(n,10)/100:parseInt(n,10)},m._getParentNode=function(a){var n=a.parentNode;return n&&"[object ShadowRoot]"===n.toString()&&(n=n.host),n},m.getMaximumWidth=function(a){var n=m._getParentNode(a);if(!n)return a.clientWidth;var o=n.clientWidth,l=o-m._calculatePadding(n,"padding-left",o)-m._calculatePadding(n,"padding-right",o),f=m.getConstraintWidth(a);return isNaN(f)?l:Math.min(l,f)},m.getMaximumHeight=function(a){var n=m._getParentNode(a);if(!n)return a.clientHeight;var o=n.clientHeight,l=o-m._calculatePadding(n,"padding-top",o)-m._calculatePadding(n,"padding-bottom",o),f=m.getConstraintHeight(a);return isNaN(f)?l:Math.min(l,f)},m.getStyle=function(a,n){return a.currentStyle?a.currentStyle[n]:document.defaultView.getComputedStyle(a,null).getPropertyValue(n)},m.retinaScale=function(a,n){var o=a.currentDevicePixelRatio=n||typeof window<"u"&&window.devicePixelRatio||1;if(1!==o){var s=a.canvas,d=a.height,l=a.width;s.height=d*o,s.width=l*o,a.ctx.scale(o,o),!s.style.height&&!s.style.width&&(s.style.height=d+"px",s.style.width=l+"px")}},m.fontString=function(a,n,o){return n+" "+a+"px "+o},m.longestText=function(a,n,o,s){var d=(s=s||{}).data=s.data||{},l=s.garbageCollect=s.garbageCollect||[];s.font!==n&&(d=s.data={},l=s.garbageCollect=[],s.font=n),a.font=n;var v,p,y,_,w,f=0,c=o.length;for(v=0;v<c;v++)if(null!=(_=o[v])&&!0!==m.isArray(_))f=m.measureText(a,d,l,f,_);else if(m.isArray(_))for(p=0,y=_.length;p<y;p++)null!=(w=_[p])&&!m.isArray(w)&&(f=m.measureText(a,d,l,f,w));var x=l.length/2;if(x>o.length){for(v=0;v<x;v++)delete d[l[v]];l.splice(0,x)}return f},m.measureText=function(a,n,o,s,d){var l=n[d];return l||(l=n[d]=a.measureText(d).width,o.push(d)),l>s&&(s=l),s},m.numberOfLabelLines=function(a){var n=1;return m.each(a,function(o){m.isArray(o)&&o.length>n&&(n=o.length)}),n},m.color=Kt?function(a){return a instanceof CanvasGradient&&(a=F.global.defaultColor),Kt(a)}:function(a){return console.error("Color.js not found!"),a},m.getHoverColor=function(a){return a instanceof CanvasPattern||a instanceof CanvasGradient?a:m.color(a).saturate(.5).darken(.1).rgbString()}}(),W._adapters=ea,W.Animation=Wr,W.animationService=Nr,W.controllers=hn,W.DatasetController=me,W.defaults=F,W.Element=De,W.elements=se,W.Interaction=vt,W.layouts=pe,W.platform=gt,W.plugins=j,W.Scale=le,W.scaleService=Rt,W.Ticks=Wt,W.Tooltip=Kr,W.helpers.each(wl,function(e,t){W.scaleService.registerScaleType(t,e,e._defaults)}),Ge)Ge.hasOwnProperty(qn)&&W.plugins.register(Ge[qn]);W.platform.initialize();var El=W;return typeof window<"u"&&(window.Chart=W),W.Chart=W,W.Legend=Ge.legend._element,W.Title=Ge.title._element,W.pluginService=W.plugins,W.PluginBase=W.Element.extend({}),W.canvasHelpers=W.helpers.canvas,W.layoutService=W.layouts,W.LinearScaleBase=sr,W.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(e){W[e]=function(t,r){return new W(t,W.helpers.merge(r||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}}),El}); \ No newline at end of file
diff --git a/src/pybind/mgr/dashboard/frontend/dist/en-US/styles.5f6140b407c420b8.css b/src/pybind/mgr/dashboard/frontend/dist/en-US/styles.09190db38b7a2ca4.css
index 2b94372c7..7e9ddf78b 100644
--- a/src/pybind/mgr/dashboard/frontend/dist/en-US/styles.5f6140b407c420b8.css
+++ b/src/pybind/mgr/dashboard/frontend/dist/en-US/styles.09190db38b7a2ca4.css
@@ -1,9 +1,9 @@
-.swagger-ui{color:#3b4151;font-family:sans-serif}.swagger-ui html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.15}.swagger-ui body{margin:0}.swagger-ui article,.swagger-ui aside,.swagger-ui footer,.swagger-ui header,.swagger-ui nav,.swagger-ui section{display:block}.swagger-ui h1{font-size:2em;margin:.67em 0}.swagger-ui figcaption,.swagger-ui figure,.swagger-ui main{display:block}.swagger-ui figure{margin:1em 40px}.swagger-ui hr{box-sizing:content-box;height:0;overflow:visible}.swagger-ui pre{font-family:monospace,monospace;font-size:1em}.swagger-ui a{-webkit-text-decoration-skip:objects;background-color:transparent}.swagger-ui abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}.swagger-ui b,.swagger-ui strong{font-weight:inherit;font-weight:bolder}.swagger-ui code,.swagger-ui kbd,.swagger-ui samp{font-family:monospace,monospace;font-size:1em}.swagger-ui dfn{font-style:italic}.swagger-ui mark{background-color:#ff0;color:#000}.swagger-ui small{font-size:80%}.swagger-ui sub,.swagger-ui sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.swagger-ui sub{bottom:-.25em}.swagger-ui sup{top:-.5em}.swagger-ui audio,.swagger-ui video{display:inline-block}.swagger-ui audio:not([controls]){display:none;height:0}.swagger-ui img{border-style:none}.swagger-ui svg:not(:root){overflow:hidden}.swagger-ui button,.swagger-ui input,.swagger-ui optgroup,.swagger-ui select,.swagger-ui textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}.swagger-ui button,.swagger-ui input{overflow:visible}.swagger-ui button,.swagger-ui select{text-transform:none}.swagger-ui [type=reset],.swagger-ui [type=submit],.swagger-ui button,.swagger-ui html [type=button]{-webkit-appearance:button}.swagger-ui [type=button]::-moz-focus-inner,.swagger-ui [type=reset]::-moz-focus-inner,.swagger-ui [type=submit]::-moz-focus-inner,.swagger-ui button::-moz-focus-inner{border-style:none;padding:0}.swagger-ui [type=button]:-moz-focusring,.swagger-ui [type=reset]:-moz-focusring,.swagger-ui [type=submit]:-moz-focusring,.swagger-ui button:-moz-focusring{outline:1px dotted ButtonText}.swagger-ui fieldset{padding:.35em .75em .625em}.swagger-ui legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}.swagger-ui progress{display:inline-block;vertical-align:baseline}.swagger-ui textarea{overflow:auto}.swagger-ui [type=checkbox],.swagger-ui [type=radio]{box-sizing:border-box;padding:0}.swagger-ui [type=number]::-webkit-inner-spin-button,.swagger-ui [type=number]::-webkit-outer-spin-button{height:auto}.swagger-ui [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.swagger-ui [type=search]::-webkit-search-cancel-button,.swagger-ui [type=search]::-webkit-search-decoration{-webkit-appearance:none}.swagger-ui ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.swagger-ui details,.swagger-ui menu{display:block}.swagger-ui summary{display:list-item}.swagger-ui canvas{display:inline-block}.swagger-ui [hidden],.swagger-ui template{display:none}.swagger-ui .debug *{outline:1px solid gold}.swagger-ui .debug-white *{outline:1px solid #fff}.swagger-ui .debug-black *{outline:1px solid #000}.swagger-ui .debug-grid{background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTRDOTY4N0U2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTRDOTY4N0Q2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3NjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3NzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsBS+GMAAAAjSURBVHjaYvz//z8DLsD4gcGXiYEAGBIKGBne//fFpwAgwAB98AaF2pjlUQAAAABJRU5ErkJggg==) repeat 0 0}.swagger-ui .debug-grid-16{background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODYyRjhERDU2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODYyRjhERDQ2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QTY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3QjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvCS01IAAABMSURBVHjaYmR4/5+BFPBfAMFm/MBgx8RAGWCn1AAmSg34Q6kBDKMGMDCwICeMIemF/5QawEipAWwUhwEjMDvbAWlWkvVBwu8vQIABAEwBCph8U6c0AAAAAElFTkSuQmCC) repeat 0 0}.swagger-ui .debug-grid-8-solid{background:#fff url(data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAAAAD/4QMxaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzExMSA3OS4xNTgzMjUsIDIwMTUvMDkvMTAtMDE6MTA6MjAgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkIxMjI0OTczNjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkIxMjI0OTc0NjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QjEyMjQ5NzE2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QjEyMjQ5NzI2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAbGhopHSlBJiZBQi8vL0JHPz4+P0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHAR0pKTQmND8oKD9HPzU/R0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0f/wAARCAAIAAgDASIAAhEBAxEB/8QAWQABAQAAAAAAAAAAAAAAAAAAAAYBAQEAAAAAAAAAAAAAAAAAAAIEEAEBAAMBAAAAAAAAAAAAAAABADECA0ERAAEDBQAAAAAAAAAAAAAAAAARITFBUWESIv/aAAwDAQACEQMRAD8AoOnTV1QTD7JJshP3vSM3P//Z) repeat 0 0}.swagger-ui .debug-grid-16-solid{background:#fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzY3MkJEN0U2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzY3MkJEN0Y2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3RDY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pve6J3kAAAAzSURBVHjaYvz//z8D0UDsMwMjSRoYP5Gq4SPNbRjVMEQ1fCRDg+in/6+J1AJUxsgAEGAA31BAJMS0GYEAAAAASUVORK5CYII=) repeat 0 0}.swagger-ui .border-box,.swagger-ui a,.swagger-ui article,.swagger-ui body,.swagger-ui code,.swagger-ui dd,.swagger-ui div,.swagger-ui dl,.swagger-ui dt,.swagger-ui fieldset,.swagger-ui footer,.swagger-ui form,.swagger-ui h1,.swagger-ui h2,.swagger-ui h3,.swagger-ui h4,.swagger-ui h5,.swagger-ui h6,.swagger-ui header,.swagger-ui html,.swagger-ui input[type=email],.swagger-ui input[type=number],.swagger-ui input[type=password],.swagger-ui input[type=tel],.swagger-ui input[type=text],.swagger-ui input[type=url],.swagger-ui legend,.swagger-ui li,.swagger-ui main,.swagger-ui ol,.swagger-ui p,.swagger-ui pre,.swagger-ui section,.swagger-ui table,.swagger-ui td,.swagger-ui textarea,.swagger-ui th,.swagger-ui tr,.swagger-ui ul{box-sizing:border-box}.swagger-ui .aspect-ratio{height:0;position:relative}.swagger-ui .aspect-ratio--16x9{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1{padding-bottom:100%}.swagger-ui .aspect-ratio--object{height:100%;inset:0;position:absolute;width:100%;z-index:100}@media screen and (min-width:30em){.swagger-ui .aspect-ratio-ns{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-ns{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-ns{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-ns{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-ns{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-ns{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-ns{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-ns{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-ns{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-ns{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-ns{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-ns{padding-bottom:100%}.swagger-ui .aspect-ratio--object-ns{height:100%;inset:0;position:absolute;width:100%;z-index:100}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .aspect-ratio-m{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-m{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-m{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-m{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-m{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-m{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-m{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-m{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-m{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-m{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-m{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-m{padding-bottom:100%}.swagger-ui .aspect-ratio--object-m{height:100%;inset:0;position:absolute;width:100%;z-index:100}}@media screen and (min-width:60em){.swagger-ui .aspect-ratio-l{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-l{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-l{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-l{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-l{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-l{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-l{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-l{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-l{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-l{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-l{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-l{padding-bottom:100%}.swagger-ui .aspect-ratio--object-l{height:100%;inset:0;position:absolute;width:100%;z-index:100}}.swagger-ui img{max-width:100%}.swagger-ui .cover{background-size:cover!important}.swagger-ui .contain{background-size:contain!important}@media screen and (min-width:30em){.swagger-ui .cover-ns{background-size:cover!important}.swagger-ui .contain-ns{background-size:contain!important}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .cover-m{background-size:cover!important}.swagger-ui .contain-m{background-size:contain!important}}@media screen and (min-width:60em){.swagger-ui .cover-l{background-size:cover!important}.swagger-ui .contain-l{background-size:contain!important}}.swagger-ui .bg-center{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left{background-position:0;background-repeat:no-repeat}@media screen and (min-width:30em){.swagger-ui .bg-center-ns{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-ns{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-ns{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-ns{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-ns{background-position:0;background-repeat:no-repeat}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .bg-center-m{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-m{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-m{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-m{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-m{background-position:0;background-repeat:no-repeat}}@media screen and (min-width:60em){.swagger-ui .bg-center-l{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-l{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-l{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-l{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-l{background-position:0;background-repeat:no-repeat}}.swagger-ui .outline{outline:1px solid}.swagger-ui .outline-transparent{outline:1px solid transparent}.swagger-ui .outline-0{outline:0}@media screen and (min-width:30em){.swagger-ui .outline-ns{outline:1px solid}.swagger-ui .outline-transparent-ns{outline:1px solid transparent}.swagger-ui .outline-0-ns{outline:0}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .outline-m{outline:1px solid}.swagger-ui .outline-transparent-m{outline:1px solid transparent}.swagger-ui .outline-0-m{outline:0}}@media screen and (min-width:60em){.swagger-ui .outline-l{outline:1px solid}.swagger-ui .outline-transparent-l{outline:1px solid transparent}.swagger-ui .outline-0-l{outline:0}}.swagger-ui .ba{border-style:solid;border-width:1px}.swagger-ui .bt{border-top-style:solid;border-top-width:1px}.swagger-ui .br{border-right-style:solid;border-right-width:1px}.swagger-ui .bb{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl{border-left-style:solid;border-left-width:1px}.swagger-ui .bn{border-style:none;border-width:0}@media screen and (min-width:30em){.swagger-ui .ba-ns{border-style:solid;border-width:1px}.swagger-ui .bt-ns{border-top-style:solid;border-top-width:1px}.swagger-ui .br-ns{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-ns{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-ns{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-ns{border-style:none;border-width:0}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .ba-m{border-style:solid;border-width:1px}.swagger-ui .bt-m{border-top-style:solid;border-top-width:1px}.swagger-ui .br-m{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-m{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-m{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-m{border-style:none;border-width:0}}@media screen and (min-width:60em){.swagger-ui .ba-l{border-style:solid;border-width:1px}.swagger-ui .bt-l{border-top-style:solid;border-top-width:1px}.swagger-ui .br-l{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-l{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-l{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-l{border-style:none;border-width:0}}.swagger-ui .b--black{border-color:#000}.swagger-ui .b--near-black{border-color:#111}.swagger-ui .b--dark-gray{border-color:#333}.swagger-ui .b--mid-gray{border-color:#555}.swagger-ui .b--gray{border-color:#777}.swagger-ui .b--silver{border-color:#999}.swagger-ui .b--light-silver{border-color:#aaa}.swagger-ui .b--moon-gray{border-color:#ccc}.swagger-ui .b--light-gray{border-color:#eee}.swagger-ui .b--near-white{border-color:#f4f4f4}.swagger-ui .b--white{border-color:#fff}.swagger-ui .b--white-90{border-color:#ffffffe6}.swagger-ui .b--white-80{border-color:#fffc}.swagger-ui .b--white-70{border-color:#ffffffb3}.swagger-ui .b--white-60{border-color:#fff9}.swagger-ui .b--white-50{border-color:#ffffff80}.swagger-ui .b--white-40{border-color:#fff6}.swagger-ui .b--white-30{border-color:#ffffff4d}.swagger-ui .b--white-20{border-color:#fff3}.swagger-ui .b--white-10{border-color:#ffffff1a}.swagger-ui .b--white-05{border-color:#ffffff0d}.swagger-ui .b--white-025{border-color:#ffffff06}.swagger-ui .b--white-0125{border-color:#ffffff03}.swagger-ui .b--black-90{border-color:#000000e6}.swagger-ui .b--black-80{border-color:#000c}.swagger-ui .b--black-70{border-color:#000000b3}.swagger-ui .b--black-60{border-color:#0009}.swagger-ui .b--black-50{border-color:#00000080}.swagger-ui .b--black-40{border-color:#0006}.swagger-ui .b--black-30{border-color:#0000004d}.swagger-ui .b--black-20{border-color:#0003}.swagger-ui .b--black-10{border-color:#0000001a}.swagger-ui .b--black-05{border-color:#0000000d}.swagger-ui .b--black-025{border-color:#00000006}.swagger-ui .b--black-0125{border-color:#00000003}.swagger-ui .b--dark-red{border-color:#e7040f}.swagger-ui .b--red{border-color:#ff4136}.swagger-ui .b--light-red{border-color:#ff725c}.swagger-ui .b--orange{border-color:#ff6300}.swagger-ui .b--gold{border-color:#ffb700}.swagger-ui .b--yellow{border-color:gold}.swagger-ui .b--light-yellow{border-color:#fbf1a9}.swagger-ui .b--purple{border-color:#5e2ca5}.swagger-ui .b--light-purple{border-color:#a463f2}.swagger-ui .b--dark-pink{border-color:#d5008f}.swagger-ui .b--hot-pink{border-color:#ff41b4}.swagger-ui .b--pink{border-color:#ff80cc}.swagger-ui .b--light-pink{border-color:#ffa3d7}.swagger-ui .b--dark-green{border-color:#137752}.swagger-ui .b--green{border-color:#19a974}.swagger-ui .b--light-green{border-color:#9eebcf}.swagger-ui .b--navy{border-color:#001b44}.swagger-ui .b--dark-blue{border-color:#00449e}.swagger-ui .b--blue{border-color:#357edd}.swagger-ui .b--light-blue{border-color:#96ccff}.swagger-ui .b--lightest-blue{border-color:#cdecff}.swagger-ui .b--washed-blue{border-color:#f6fffe}.swagger-ui .b--washed-green{border-color:#e8fdf5}.swagger-ui .b--washed-yellow{border-color:#fffceb}.swagger-ui .b--washed-red{border-color:#ffdfdf}.swagger-ui .b--transparent{border-color:transparent}.swagger-ui .b--inherit{border-color:inherit}.swagger-ui .br0{border-radius:0}.swagger-ui .br1{border-radius:.125rem}.swagger-ui .br2{border-radius:.25rem}.swagger-ui .br3{border-radius:.5rem}.swagger-ui .br4{border-radius:1rem}.swagger-ui .br-100{border-radius:100%}.swagger-ui .br-pill{border-radius:9999px}.swagger-ui .br--bottom{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left{border-bottom-right-radius:0;border-top-right-radius:0}@media screen and (min-width:30em){.swagger-ui .br0-ns{border-radius:0}.swagger-ui .br1-ns{border-radius:.125rem}.swagger-ui .br2-ns{border-radius:.25rem}.swagger-ui .br3-ns{border-radius:.5rem}.swagger-ui .br4-ns{border-radius:1rem}.swagger-ui .br-100-ns{border-radius:100%}.swagger-ui .br-pill-ns{border-radius:9999px}.swagger-ui .br--bottom-ns{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-ns{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-ns{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-ns{border-bottom-right-radius:0;border-top-right-radius:0}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .br0-m{border-radius:0}.swagger-ui .br1-m{border-radius:.125rem}.swagger-ui .br2-m{border-radius:.25rem}.swagger-ui .br3-m{border-radius:.5rem}.swagger-ui .br4-m{border-radius:1rem}.swagger-ui .br-100-m{border-radius:100%}.swagger-ui .br-pill-m{border-radius:9999px}.swagger-ui .br--bottom-m{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-m{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-m{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-m{border-bottom-right-radius:0;border-top-right-radius:0}}@media screen and (min-width:60em){.swagger-ui .br0-l{border-radius:0}.swagger-ui .br1-l{border-radius:.125rem}.swagger-ui .br2-l{border-radius:.25rem}.swagger-ui .br3-l{border-radius:.5rem}.swagger-ui .br4-l{border-radius:1rem}.swagger-ui .br-100-l{border-radius:100%}.swagger-ui .br-pill-l{border-radius:9999px}.swagger-ui .br--bottom-l{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-l{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-l{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-l{border-bottom-right-radius:0;border-top-right-radius:0}}.swagger-ui .b--dotted{border-style:dotted}.swagger-ui .b--dashed{border-style:dashed}.swagger-ui .b--solid{border-style:solid}.swagger-ui .b--none{border-style:none}@media screen and (min-width:30em){.swagger-ui .b--dotted-ns{border-style:dotted}.swagger-ui .b--dashed-ns{border-style:dashed}.swagger-ui .b--solid-ns{border-style:solid}.swagger-ui .b--none-ns{border-style:none}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .b--dotted-m{border-style:dotted}.swagger-ui .b--dashed-m{border-style:dashed}.swagger-ui .b--solid-m{border-style:solid}.swagger-ui .b--none-m{border-style:none}}@media screen and (min-width:60em){.swagger-ui .b--dotted-l{border-style:dotted}.swagger-ui .b--dashed-l{border-style:dashed}.swagger-ui .b--solid-l{border-style:solid}.swagger-ui .b--none-l{border-style:none}}.swagger-ui .bw0{border-width:0}.swagger-ui .bw1{border-width:.125rem}.swagger-ui .bw2{border-width:.25rem}.swagger-ui .bw3{border-width:.5rem}.swagger-ui .bw4{border-width:1rem}.swagger-ui .bw5{border-width:2rem}.swagger-ui .bt-0{border-top-width:0}.swagger-ui .br-0{border-right-width:0}.swagger-ui .bb-0{border-bottom-width:0}.swagger-ui .bl-0{border-left-width:0}@media screen and (min-width:30em){.swagger-ui .bw0-ns{border-width:0}.swagger-ui .bw1-ns{border-width:.125rem}.swagger-ui .bw2-ns{border-width:.25rem}.swagger-ui .bw3-ns{border-width:.5rem}.swagger-ui .bw4-ns{border-width:1rem}.swagger-ui .bw5-ns{border-width:2rem}.swagger-ui .bt-0-ns{border-top-width:0}.swagger-ui .br-0-ns{border-right-width:0}.swagger-ui .bb-0-ns{border-bottom-width:0}.swagger-ui .bl-0-ns{border-left-width:0}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .bw0-m{border-width:0}.swagger-ui .bw1-m{border-width:.125rem}.swagger-ui .bw2-m{border-width:.25rem}.swagger-ui .bw3-m{border-width:.5rem}.swagger-ui .bw4-m{border-width:1rem}.swagger-ui .bw5-m{border-width:2rem}.swagger-ui .bt-0-m{border-top-width:0}.swagger-ui .br-0-m{border-right-width:0}.swagger-ui .bb-0-m{border-bottom-width:0}.swagger-ui .bl-0-m{border-left-width:0}}@media screen and (min-width:60em){.swagger-ui .bw0-l{border-width:0}.swagger-ui .bw1-l{border-width:.125rem}.swagger-ui .bw2-l{border-width:.25rem}.swagger-ui .bw3-l{border-width:.5rem}.swagger-ui .bw4-l{border-width:1rem}.swagger-ui .bw5-l{border-width:2rem}.swagger-ui .bt-0-l{border-top-width:0}.swagger-ui .br-0-l{border-right-width:0}.swagger-ui .bb-0-l{border-bottom-width:0}.swagger-ui .bl-0-l{border-left-width:0}}.swagger-ui .shadow-1{box-shadow:0 0 4px 2px #0003}.swagger-ui .shadow-2{box-shadow:0 0 8px 2px #0003}.swagger-ui .shadow-3{box-shadow:2px 2px 4px 2px #0003}.swagger-ui .shadow-4{box-shadow:2px 2px 8px #0003}.swagger-ui .shadow-5{box-shadow:4px 4px 8px #0003}@media screen and (min-width:30em){.swagger-ui .shadow-1-ns{box-shadow:0 0 4px 2px #0003}.swagger-ui .shadow-2-ns{box-shadow:0 0 8px 2px #0003}.swagger-ui .shadow-3-ns{box-shadow:2px 2px 4px 2px #0003}.swagger-ui .shadow-4-ns{box-shadow:2px 2px 8px #0003}.swagger-ui .shadow-5-ns{box-shadow:4px 4px 8px #0003}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .shadow-1-m{box-shadow:0 0 4px 2px #0003}.swagger-ui .shadow-2-m{box-shadow:0 0 8px 2px #0003}.swagger-ui .shadow-3-m{box-shadow:2px 2px 4px 2px #0003}.swagger-ui .shadow-4-m{box-shadow:2px 2px 8px #0003}.swagger-ui .shadow-5-m{box-shadow:4px 4px 8px #0003}}@media screen and (min-width:60em){.swagger-ui .shadow-1-l{box-shadow:0 0 4px 2px #0003}.swagger-ui .shadow-2-l{box-shadow:0 0 8px 2px #0003}.swagger-ui .shadow-3-l{box-shadow:2px 2px 4px 2px #0003}.swagger-ui .shadow-4-l{box-shadow:2px 2px 8px #0003}.swagger-ui .shadow-5-l{box-shadow:4px 4px 8px #0003}}.swagger-ui .pre{overflow-x:auto;overflow-y:hidden;overflow:scroll}.swagger-ui .top-0{top:0}.swagger-ui .right-0{right:0}.swagger-ui .bottom-0{bottom:0}.swagger-ui .left-0{left:0}.swagger-ui .top-1{top:1rem}.swagger-ui .right-1{right:1rem}.swagger-ui .bottom-1{bottom:1rem}.swagger-ui .left-1{left:1rem}.swagger-ui .top-2{top:2rem}.swagger-ui .right-2{right:2rem}.swagger-ui .bottom-2{bottom:2rem}.swagger-ui .left-2{left:2rem}.swagger-ui .top--1{top:-1rem}.swagger-ui .right--1{right:-1rem}.swagger-ui .bottom--1{bottom:-1rem}.swagger-ui .left--1{left:-1rem}.swagger-ui .top--2{top:-2rem}.swagger-ui .right--2{right:-2rem}.swagger-ui .bottom--2{bottom:-2rem}.swagger-ui .left--2{left:-2rem}.swagger-ui .absolute--fill{inset:0}@media screen and (min-width:30em){.swagger-ui .top-0-ns{top:0}.swagger-ui .left-0-ns{left:0}.swagger-ui .right-0-ns{right:0}.swagger-ui .bottom-0-ns{bottom:0}.swagger-ui .top-1-ns{top:1rem}.swagger-ui .left-1-ns{left:1rem}.swagger-ui .right-1-ns{right:1rem}.swagger-ui .bottom-1-ns{bottom:1rem}.swagger-ui .top-2-ns{top:2rem}.swagger-ui .left-2-ns{left:2rem}.swagger-ui .right-2-ns{right:2rem}.swagger-ui .bottom-2-ns{bottom:2rem}.swagger-ui .top--1-ns{top:-1rem}.swagger-ui .right--1-ns{right:-1rem}.swagger-ui .bottom--1-ns{bottom:-1rem}.swagger-ui .left--1-ns{left:-1rem}.swagger-ui .top--2-ns{top:-2rem}.swagger-ui .right--2-ns{right:-2rem}.swagger-ui .bottom--2-ns{bottom:-2rem}.swagger-ui .left--2-ns{left:-2rem}.swagger-ui .absolute--fill-ns{inset:0}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .top-0-m{top:0}.swagger-ui .left-0-m{left:0}.swagger-ui .right-0-m{right:0}.swagger-ui .bottom-0-m{bottom:0}.swagger-ui .top-1-m{top:1rem}.swagger-ui .left-1-m{left:1rem}.swagger-ui .right-1-m{right:1rem}.swagger-ui .bottom-1-m{bottom:1rem}.swagger-ui .top-2-m{top:2rem}.swagger-ui .left-2-m{left:2rem}.swagger-ui .right-2-m{right:2rem}.swagger-ui .bottom-2-m{bottom:2rem}.swagger-ui .top--1-m{top:-1rem}.swagger-ui .right--1-m{right:-1rem}.swagger-ui .bottom--1-m{bottom:-1rem}.swagger-ui .left--1-m{left:-1rem}.swagger-ui .top--2-m{top:-2rem}.swagger-ui .right--2-m{right:-2rem}.swagger-ui .bottom--2-m{bottom:-2rem}.swagger-ui .left--2-m{left:-2rem}.swagger-ui .absolute--fill-m{inset:0}}@media screen and (min-width:60em){.swagger-ui .top-0-l{top:0}.swagger-ui .left-0-l{left:0}.swagger-ui .right-0-l{right:0}.swagger-ui .bottom-0-l{bottom:0}.swagger-ui .top-1-l{top:1rem}.swagger-ui .left-1-l{left:1rem}.swagger-ui .right-1-l{right:1rem}.swagger-ui .bottom-1-l{bottom:1rem}.swagger-ui .top-2-l{top:2rem}.swagger-ui .left-2-l{left:2rem}.swagger-ui .right-2-l{right:2rem}.swagger-ui .bottom-2-l{bottom:2rem}.swagger-ui .top--1-l{top:-1rem}.swagger-ui .right--1-l{right:-1rem}.swagger-ui .bottom--1-l{bottom:-1rem}.swagger-ui .left--1-l{left:-1rem}.swagger-ui .top--2-l{top:-2rem}.swagger-ui .right--2-l{right:-2rem}.swagger-ui .bottom--2-l{bottom:-2rem}.swagger-ui .left--2-l{left:-2rem}.swagger-ui .absolute--fill-l{inset:0}}.swagger-ui .cf:after,.swagger-ui .cf:before{content:" ";display:table}.swagger-ui .cf:after{clear:both}.swagger-ui .cf{*zoom:1}.swagger-ui .cl{clear:left}.swagger-ui .cr{clear:right}.swagger-ui .cb{clear:both}.swagger-ui .cn{clear:none}@media screen and (min-width:30em){.swagger-ui .cl-ns{clear:left}.swagger-ui .cr-ns{clear:right}.swagger-ui .cb-ns{clear:both}.swagger-ui .cn-ns{clear:none}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .cl-m{clear:left}.swagger-ui .cr-m{clear:right}.swagger-ui .cb-m{clear:both}.swagger-ui .cn-m{clear:none}}@media screen and (min-width:60em){.swagger-ui .cl-l{clear:left}.swagger-ui .cr-l{clear:right}.swagger-ui .cb-l{clear:both}.swagger-ui .cn-l{clear:none}}.swagger-ui .flex{display:flex}.swagger-ui .inline-flex{display:inline-flex}.swagger-ui .flex-auto{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none{flex:none}.swagger-ui .flex-column{flex-direction:column}.swagger-ui .flex-row{flex-direction:row}.swagger-ui .flex-wrap{flex-wrap:wrap}.swagger-ui .flex-nowrap{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse{flex-direction:column-reverse}.swagger-ui .flex-row-reverse{flex-direction:row-reverse}.swagger-ui .items-start{align-items:flex-start}.swagger-ui .items-end{align-items:flex-end}.swagger-ui .items-center{align-items:center}.swagger-ui .items-baseline{align-items:baseline}.swagger-ui .items-stretch{align-items:stretch}.swagger-ui .self-start{align-self:flex-start}.swagger-ui .self-end{align-self:flex-end}.swagger-ui .self-center{align-self:center}.swagger-ui .self-baseline{align-self:baseline}.swagger-ui .self-stretch{align-self:stretch}.swagger-ui .justify-start{justify-content:flex-start}.swagger-ui .justify-end{justify-content:flex-end}.swagger-ui .justify-center{justify-content:center}.swagger-ui .justify-between{justify-content:space-between}.swagger-ui .justify-around{justify-content:space-around}.swagger-ui .content-start{align-content:flex-start}.swagger-ui .content-end{align-content:flex-end}.swagger-ui .content-center{align-content:center}.swagger-ui .content-between{align-content:space-between}.swagger-ui .content-around{align-content:space-around}.swagger-ui .content-stretch{align-content:stretch}.swagger-ui .order-0{order:0}.swagger-ui .order-1{order:1}.swagger-ui .order-2{order:2}.swagger-ui .order-3{order:3}.swagger-ui .order-4{order:4}.swagger-ui .order-5{order:5}.swagger-ui .order-6{order:6}.swagger-ui .order-7{order:7}.swagger-ui .order-8{order:8}.swagger-ui .order-last{order:99999}.swagger-ui .flex-grow-0{flex-grow:0}.swagger-ui .flex-grow-1{flex-grow:1}.swagger-ui .flex-shrink-0{flex-shrink:0}.swagger-ui .flex-shrink-1{flex-shrink:1}@media screen and (min-width:30em){.swagger-ui .flex-ns{display:flex}.swagger-ui .inline-flex-ns{display:inline-flex}.swagger-ui .flex-auto-ns{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-ns{flex:none}.swagger-ui .flex-column-ns{flex-direction:column}.swagger-ui .flex-row-ns{flex-direction:row}.swagger-ui .flex-wrap-ns{flex-wrap:wrap}.swagger-ui .flex-nowrap-ns{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-ns{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-ns{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-ns{flex-direction:row-reverse}.swagger-ui .items-start-ns{align-items:flex-start}.swagger-ui .items-end-ns{align-items:flex-end}.swagger-ui .items-center-ns{align-items:center}.swagger-ui .items-baseline-ns{align-items:baseline}.swagger-ui .items-stretch-ns{align-items:stretch}.swagger-ui .self-start-ns{align-self:flex-start}.swagger-ui .self-end-ns{align-self:flex-end}.swagger-ui .self-center-ns{align-self:center}.swagger-ui .self-baseline-ns{align-self:baseline}.swagger-ui .self-stretch-ns{align-self:stretch}.swagger-ui .justify-start-ns{justify-content:flex-start}.swagger-ui .justify-end-ns{justify-content:flex-end}.swagger-ui .justify-center-ns{justify-content:center}.swagger-ui .justify-between-ns{justify-content:space-between}.swagger-ui .justify-around-ns{justify-content:space-around}.swagger-ui .content-start-ns{align-content:flex-start}.swagger-ui .content-end-ns{align-content:flex-end}.swagger-ui .content-center-ns{align-content:center}.swagger-ui .content-between-ns{align-content:space-between}.swagger-ui .content-around-ns{align-content:space-around}.swagger-ui .content-stretch-ns{align-content:stretch}.swagger-ui .order-0-ns{order:0}.swagger-ui .order-1-ns{order:1}.swagger-ui .order-2-ns{order:2}.swagger-ui .order-3-ns{order:3}.swagger-ui .order-4-ns{order:4}.swagger-ui .order-5-ns{order:5}.swagger-ui .order-6-ns{order:6}.swagger-ui .order-7-ns{order:7}.swagger-ui .order-8-ns{order:8}.swagger-ui .order-last-ns{order:99999}.swagger-ui .flex-grow-0-ns{flex-grow:0}.swagger-ui .flex-grow-1-ns{flex-grow:1}.swagger-ui .flex-shrink-0-ns{flex-shrink:0}.swagger-ui .flex-shrink-1-ns{flex-shrink:1}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .flex-m{display:flex}.swagger-ui .inline-flex-m{display:inline-flex}.swagger-ui .flex-auto-m{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-m{flex:none}.swagger-ui .flex-column-m{flex-direction:column}.swagger-ui .flex-row-m{flex-direction:row}.swagger-ui .flex-wrap-m{flex-wrap:wrap}.swagger-ui .flex-nowrap-m{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-m{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-m{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-m{flex-direction:row-reverse}.swagger-ui .items-start-m{align-items:flex-start}.swagger-ui .items-end-m{align-items:flex-end}.swagger-ui .items-center-m{align-items:center}.swagger-ui .items-baseline-m{align-items:baseline}.swagger-ui .items-stretch-m{align-items:stretch}.swagger-ui .self-start-m{align-self:flex-start}.swagger-ui .self-end-m{align-self:flex-end}.swagger-ui .self-center-m{align-self:center}.swagger-ui .self-baseline-m{align-self:baseline}.swagger-ui .self-stretch-m{align-self:stretch}.swagger-ui .justify-start-m{justify-content:flex-start}.swagger-ui .justify-end-m{justify-content:flex-end}.swagger-ui .justify-center-m{justify-content:center}.swagger-ui .justify-between-m{justify-content:space-between}.swagger-ui .justify-around-m{justify-content:space-around}.swagger-ui .content-start-m{align-content:flex-start}.swagger-ui .content-end-m{align-content:flex-end}.swagger-ui .content-center-m{align-content:center}.swagger-ui .content-between-m{align-content:space-between}.swagger-ui .content-around-m{align-content:space-around}.swagger-ui .content-stretch-m{align-content:stretch}.swagger-ui .order-0-m{order:0}.swagger-ui .order-1-m{order:1}.swagger-ui .order-2-m{order:2}.swagger-ui .order-3-m{order:3}.swagger-ui .order-4-m{order:4}.swagger-ui .order-5-m{order:5}.swagger-ui .order-6-m{order:6}.swagger-ui .order-7-m{order:7}.swagger-ui .order-8-m{order:8}.swagger-ui .order-last-m{order:99999}.swagger-ui .flex-grow-0-m{flex-grow:0}.swagger-ui .flex-grow-1-m{flex-grow:1}.swagger-ui .flex-shrink-0-m{flex-shrink:0}.swagger-ui .flex-shrink-1-m{flex-shrink:1}}@media screen and (min-width:60em){.swagger-ui .flex-l{display:flex}.swagger-ui .inline-flex-l{display:inline-flex}.swagger-ui .flex-auto-l{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-l{flex:none}.swagger-ui .flex-column-l{flex-direction:column}.swagger-ui .flex-row-l{flex-direction:row}.swagger-ui .flex-wrap-l{flex-wrap:wrap}.swagger-ui .flex-nowrap-l{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-l{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-l{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-l{flex-direction:row-reverse}.swagger-ui .items-start-l{align-items:flex-start}.swagger-ui .items-end-l{align-items:flex-end}.swagger-ui .items-center-l{align-items:center}.swagger-ui .items-baseline-l{align-items:baseline}.swagger-ui .items-stretch-l{align-items:stretch}.swagger-ui .self-start-l{align-self:flex-start}.swagger-ui .self-end-l{align-self:flex-end}.swagger-ui .self-center-l{align-self:center}.swagger-ui .self-baseline-l{align-self:baseline}.swagger-ui .self-stretch-l{align-self:stretch}.swagger-ui .justify-start-l{justify-content:flex-start}.swagger-ui .justify-end-l{justify-content:flex-end}.swagger-ui .justify-center-l{justify-content:center}.swagger-ui .justify-between-l{justify-content:space-between}.swagger-ui .justify-around-l{justify-content:space-around}.swagger-ui .content-start-l{align-content:flex-start}.swagger-ui .content-end-l{align-content:flex-end}.swagger-ui .content-center-l{align-content:center}.swagger-ui .content-between-l{align-content:space-between}.swagger-ui .content-around-l{align-content:space-around}.swagger-ui .content-stretch-l{align-content:stretch}.swagger-ui .order-0-l{order:0}.swagger-ui .order-1-l{order:1}.swagger-ui .order-2-l{order:2}.swagger-ui .order-3-l{order:3}.swagger-ui .order-4-l{order:4}.swagger-ui .order-5-l{order:5}.swagger-ui .order-6-l{order:6}.swagger-ui .order-7-l{order:7}.swagger-ui .order-8-l{order:8}.swagger-ui .order-last-l{order:99999}.swagger-ui .flex-grow-0-l{flex-grow:0}.swagger-ui .flex-grow-1-l{flex-grow:1}.swagger-ui .flex-shrink-0-l{flex-shrink:0}.swagger-ui .flex-shrink-1-l{flex-shrink:1}}.swagger-ui .dn{display:none}.swagger-ui .di{display:inline}.swagger-ui .db{display:block}.swagger-ui .dib{display:inline-block}.swagger-ui .dit{display:inline-table}.swagger-ui .dt{display:table}.swagger-ui .dtc{display:table-cell}.swagger-ui .dt-row{display:table-row}.swagger-ui .dt-row-group{display:table-row-group}.swagger-ui .dt-column{display:table-column}.swagger-ui .dt-column-group{display:table-column-group}.swagger-ui .dt--fixed{table-layout:fixed;width:100%}@media screen and (min-width:30em){.swagger-ui .dn-ns{display:none}.swagger-ui .di-ns{display:inline}.swagger-ui .db-ns{display:block}.swagger-ui .dib-ns{display:inline-block}.swagger-ui .dit-ns{display:inline-table}.swagger-ui .dt-ns{display:table}.swagger-ui .dtc-ns{display:table-cell}.swagger-ui .dt-row-ns{display:table-row}.swagger-ui .dt-row-group-ns{display:table-row-group}.swagger-ui .dt-column-ns{display:table-column}.swagger-ui .dt-column-group-ns{display:table-column-group}.swagger-ui .dt--fixed-ns{table-layout:fixed;width:100%}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .dn-m{display:none}.swagger-ui .di-m{display:inline}.swagger-ui .db-m{display:block}.swagger-ui .dib-m{display:inline-block}.swagger-ui .dit-m{display:inline-table}.swagger-ui .dt-m{display:table}.swagger-ui .dtc-m{display:table-cell}.swagger-ui .dt-row-m{display:table-row}.swagger-ui .dt-row-group-m{display:table-row-group}.swagger-ui .dt-column-m{display:table-column}.swagger-ui .dt-column-group-m{display:table-column-group}.swagger-ui .dt--fixed-m{table-layout:fixed;width:100%}}@media screen and (min-width:60em){.swagger-ui .dn-l{display:none}.swagger-ui .di-l{display:inline}.swagger-ui .db-l{display:block}.swagger-ui .dib-l{display:inline-block}.swagger-ui .dit-l{display:inline-table}.swagger-ui .dt-l{display:table}.swagger-ui .dtc-l{display:table-cell}.swagger-ui .dt-row-l{display:table-row}.swagger-ui .dt-row-group-l{display:table-row-group}.swagger-ui .dt-column-l{display:table-column}.swagger-ui .dt-column-group-l{display:table-column-group}.swagger-ui .dt--fixed-l{table-layout:fixed;width:100%}}.swagger-ui .fl{_display:inline;float:left}.swagger-ui .fr{_display:inline;float:right}.swagger-ui .fn{float:none}@media screen and (min-width:30em){.swagger-ui .fl-ns{_display:inline;float:left}.swagger-ui .fr-ns{_display:inline;float:right}.swagger-ui .fn-ns{float:none}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .fl-m{_display:inline;float:left}.swagger-ui .fr-m{_display:inline;float:right}.swagger-ui .fn-m{float:none}}@media screen and (min-width:60em){.swagger-ui .fl-l{_display:inline;float:left}.swagger-ui .fr-l{_display:inline;float:right}.swagger-ui .fn-l{float:none}}.swagger-ui .sans-serif{font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica,helvetica neue,ubuntu,roboto,noto,segoe ui,arial,sans-serif}.swagger-ui .serif{font-family:georgia,serif}.swagger-ui .system-sans-serif{font-family:sans-serif}.swagger-ui .system-serif{font-family:serif}.swagger-ui .code,.swagger-ui code{font-family:Consolas,monaco,monospace}.swagger-ui .courier{font-family:Courier Next,courier,monospace}.swagger-ui .helvetica{font-family:helvetica neue,helvetica,sans-serif}.swagger-ui .avenir{font-family:avenir next,avenir,sans-serif}.swagger-ui .athelas{font-family:athelas,georgia,serif}.swagger-ui .georgia{font-family:georgia,serif}.swagger-ui .times{font-family:times,serif}.swagger-ui .bodoni{font-family:Bodoni MT,serif}.swagger-ui .calisto{font-family:Calisto MT,serif}.swagger-ui .garamond{font-family:garamond,serif}.swagger-ui .baskerville{font-family:baskerville,serif}.swagger-ui .i{font-style:italic}.swagger-ui .fs-normal{font-style:normal}@media screen and (min-width:30em){.swagger-ui .i-ns{font-style:italic}.swagger-ui .fs-normal-ns{font-style:normal}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .i-m{font-style:italic}.swagger-ui .fs-normal-m{font-style:normal}}@media screen and (min-width:60em){.swagger-ui .i-l{font-style:italic}.swagger-ui .fs-normal-l{font-style:normal}}.swagger-ui .normal{font-weight:400}.swagger-ui .b{font-weight:700}.swagger-ui .fw1{font-weight:100}.swagger-ui .fw2{font-weight:200}.swagger-ui .fw3{font-weight:300}.swagger-ui .fw4{font-weight:400}.swagger-ui .fw5{font-weight:500}.swagger-ui .fw6{font-weight:600}.swagger-ui .fw7{font-weight:700}.swagger-ui .fw8{font-weight:800}.swagger-ui .fw9{font-weight:900}@media screen and (min-width:30em){.swagger-ui .normal-ns{font-weight:400}.swagger-ui .b-ns{font-weight:700}.swagger-ui .fw1-ns{font-weight:100}.swagger-ui .fw2-ns{font-weight:200}.swagger-ui .fw3-ns{font-weight:300}.swagger-ui .fw4-ns{font-weight:400}.swagger-ui .fw5-ns{font-weight:500}.swagger-ui .fw6-ns{font-weight:600}.swagger-ui .fw7-ns{font-weight:700}.swagger-ui .fw8-ns{font-weight:800}.swagger-ui .fw9-ns{font-weight:900}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .normal-m{font-weight:400}.swagger-ui .b-m{font-weight:700}.swagger-ui .fw1-m{font-weight:100}.swagger-ui .fw2-m{font-weight:200}.swagger-ui .fw3-m{font-weight:300}.swagger-ui .fw4-m{font-weight:400}.swagger-ui .fw5-m{font-weight:500}.swagger-ui .fw6-m{font-weight:600}.swagger-ui .fw7-m{font-weight:700}.swagger-ui .fw8-m{font-weight:800}.swagger-ui .fw9-m{font-weight:900}}@media screen and (min-width:60em){.swagger-ui .normal-l{font-weight:400}.swagger-ui .b-l{font-weight:700}.swagger-ui .fw1-l{font-weight:100}.swagger-ui .fw2-l{font-weight:200}.swagger-ui .fw3-l{font-weight:300}.swagger-ui .fw4-l{font-weight:400}.swagger-ui .fw5-l{font-weight:500}.swagger-ui .fw6-l{font-weight:600}.swagger-ui .fw7-l{font-weight:700}.swagger-ui .fw8-l{font-weight:800}.swagger-ui .fw9-l{font-weight:900}}.swagger-ui .input-reset{-webkit-appearance:none;-moz-appearance:none}.swagger-ui .button-reset::-moz-focus-inner,.swagger-ui .input-reset::-moz-focus-inner{border:0;padding:0}.swagger-ui .h1{height:1rem}.swagger-ui .h2{height:2rem}.swagger-ui .h3{height:4rem}.swagger-ui .h4{height:8rem}.swagger-ui .h5{height:16rem}.swagger-ui .h-25{height:25%}.swagger-ui .h-50{height:50%}.swagger-ui .h-75{height:75%}.swagger-ui .h-100{height:100%}.swagger-ui .min-h-100{min-height:100%}.swagger-ui .vh-25{height:25vh}.swagger-ui .vh-50{height:50vh}.swagger-ui .vh-75{height:75vh}.swagger-ui .vh-100{height:100vh}.swagger-ui .min-vh-100{min-height:100vh}.swagger-ui .h-auto{height:auto}.swagger-ui .h-inherit{height:inherit}@media screen and (min-width:30em){.swagger-ui .h1-ns{height:1rem}.swagger-ui .h2-ns{height:2rem}.swagger-ui .h3-ns{height:4rem}.swagger-ui .h4-ns{height:8rem}.swagger-ui .h5-ns{height:16rem}.swagger-ui .h-25-ns{height:25%}.swagger-ui .h-50-ns{height:50%}.swagger-ui .h-75-ns{height:75%}.swagger-ui .h-100-ns{height:100%}.swagger-ui .min-h-100-ns{min-height:100%}.swagger-ui .vh-25-ns{height:25vh}.swagger-ui .vh-50-ns{height:50vh}.swagger-ui .vh-75-ns{height:75vh}.swagger-ui .vh-100-ns{height:100vh}.swagger-ui .min-vh-100-ns{min-height:100vh}.swagger-ui .h-auto-ns{height:auto}.swagger-ui .h-inherit-ns{height:inherit}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .h1-m{height:1rem}.swagger-ui .h2-m{height:2rem}.swagger-ui .h3-m{height:4rem}.swagger-ui .h4-m{height:8rem}.swagger-ui .h5-m{height:16rem}.swagger-ui .h-25-m{height:25%}.swagger-ui .h-50-m{height:50%}.swagger-ui .h-75-m{height:75%}.swagger-ui .h-100-m{height:100%}.swagger-ui .min-h-100-m{min-height:100%}.swagger-ui .vh-25-m{height:25vh}.swagger-ui .vh-50-m{height:50vh}.swagger-ui .vh-75-m{height:75vh}.swagger-ui .vh-100-m{height:100vh}.swagger-ui .min-vh-100-m{min-height:100vh}.swagger-ui .h-auto-m{height:auto}.swagger-ui .h-inherit-m{height:inherit}}@media screen and (min-width:60em){.swagger-ui .h1-l{height:1rem}.swagger-ui .h2-l{height:2rem}.swagger-ui .h3-l{height:4rem}.swagger-ui .h4-l{height:8rem}.swagger-ui .h5-l{height:16rem}.swagger-ui .h-25-l{height:25%}.swagger-ui .h-50-l{height:50%}.swagger-ui .h-75-l{height:75%}.swagger-ui .h-100-l{height:100%}.swagger-ui .min-h-100-l{min-height:100%}.swagger-ui .vh-25-l{height:25vh}.swagger-ui .vh-50-l{height:50vh}.swagger-ui .vh-75-l{height:75vh}.swagger-ui .vh-100-l{height:100vh}.swagger-ui .min-vh-100-l{min-height:100vh}.swagger-ui .h-auto-l{height:auto}.swagger-ui .h-inherit-l{height:inherit}}.swagger-ui .tracked{letter-spacing:.1em}.swagger-ui .tracked-tight{letter-spacing:-.05em}.swagger-ui .tracked-mega{letter-spacing:.25em}@media screen and (min-width:30em){.swagger-ui .tracked-ns{letter-spacing:.1em}.swagger-ui .tracked-tight-ns{letter-spacing:-.05em}.swagger-ui .tracked-mega-ns{letter-spacing:.25em}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .tracked-m{letter-spacing:.1em}.swagger-ui .tracked-tight-m{letter-spacing:-.05em}.swagger-ui .tracked-mega-m{letter-spacing:.25em}}@media screen and (min-width:60em){.swagger-ui .tracked-l{letter-spacing:.1em}.swagger-ui .tracked-tight-l{letter-spacing:-.05em}.swagger-ui .tracked-mega-l{letter-spacing:.25em}}.swagger-ui .lh-solid{line-height:1}.swagger-ui .lh-title{line-height:1.25}.swagger-ui .lh-copy{line-height:1.5}@media screen and (min-width:30em){.swagger-ui .lh-solid-ns{line-height:1}.swagger-ui .lh-title-ns{line-height:1.25}.swagger-ui .lh-copy-ns{line-height:1.5}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .lh-solid-m{line-height:1}.swagger-ui .lh-title-m{line-height:1.25}.swagger-ui .lh-copy-m{line-height:1.5}}@media screen and (min-width:60em){.swagger-ui .lh-solid-l{line-height:1}.swagger-ui .lh-title-l{line-height:1.25}.swagger-ui .lh-copy-l{line-height:1.5}}.swagger-ui .link{text-decoration:none}.swagger-ui .link,.swagger-ui .link:active,.swagger-ui .link:focus,.swagger-ui .link:hover,.swagger-ui .link:link,.swagger-ui .link:visited{transition:color .15s ease-in}.swagger-ui .link:focus{outline:1px dotted currentColor}.swagger-ui .list{list-style-type:none}.swagger-ui .mw-100{max-width:100%}.swagger-ui .mw1{max-width:1rem}.swagger-ui .mw2{max-width:2rem}.swagger-ui .mw3{max-width:4rem}.swagger-ui .mw4{max-width:8rem}.swagger-ui .mw5{max-width:16rem}.swagger-ui .mw6{max-width:32rem}.swagger-ui .mw7{max-width:48rem}.swagger-ui .mw8{max-width:64rem}.swagger-ui .mw9{max-width:96rem}.swagger-ui .mw-none{max-width:none}@media screen and (min-width:30em){.swagger-ui .mw-100-ns{max-width:100%}.swagger-ui .mw1-ns{max-width:1rem}.swagger-ui .mw2-ns{max-width:2rem}.swagger-ui .mw3-ns{max-width:4rem}.swagger-ui .mw4-ns{max-width:8rem}.swagger-ui .mw5-ns{max-width:16rem}.swagger-ui .mw6-ns{max-width:32rem}.swagger-ui .mw7-ns{max-width:48rem}.swagger-ui .mw8-ns{max-width:64rem}.swagger-ui .mw9-ns{max-width:96rem}.swagger-ui .mw-none-ns{max-width:none}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .mw-100-m{max-width:100%}.swagger-ui .mw1-m{max-width:1rem}.swagger-ui .mw2-m{max-width:2rem}.swagger-ui .mw3-m{max-width:4rem}.swagger-ui .mw4-m{max-width:8rem}.swagger-ui .mw5-m{max-width:16rem}.swagger-ui .mw6-m{max-width:32rem}.swagger-ui .mw7-m{max-width:48rem}.swagger-ui .mw8-m{max-width:64rem}.swagger-ui .mw9-m{max-width:96rem}.swagger-ui .mw-none-m{max-width:none}}@media screen and (min-width:60em){.swagger-ui .mw-100-l{max-width:100%}.swagger-ui .mw1-l{max-width:1rem}.swagger-ui .mw2-l{max-width:2rem}.swagger-ui .mw3-l{max-width:4rem}.swagger-ui .mw4-l{max-width:8rem}.swagger-ui .mw5-l{max-width:16rem}.swagger-ui .mw6-l{max-width:32rem}.swagger-ui .mw7-l{max-width:48rem}.swagger-ui .mw8-l{max-width:64rem}.swagger-ui .mw9-l{max-width:96rem}.swagger-ui .mw-none-l{max-width:none}}.swagger-ui .w1{width:1rem}.swagger-ui .w2{width:2rem}.swagger-ui .w3{width:4rem}.swagger-ui .w4{width:8rem}.swagger-ui .w5{width:16rem}.swagger-ui .w-10{width:10%}.swagger-ui .w-20{width:20%}.swagger-ui .w-25{width:25%}.swagger-ui .w-30{width:30%}.swagger-ui .w-33{width:33%}.swagger-ui .w-34{width:34%}.swagger-ui .w-40{width:40%}.swagger-ui .w-50{width:50%}.swagger-ui .w-60{width:60%}.swagger-ui .w-70{width:70%}.swagger-ui .w-75{width:75%}.swagger-ui .w-80{width:80%}.swagger-ui .w-90{width:90%}.swagger-ui .w-100{width:100%}.swagger-ui .w-third{width:33.3333333333%}.swagger-ui .w-two-thirds{width:66.6666666667%}.swagger-ui .w-auto{width:auto}@media screen and (min-width:30em){.swagger-ui .w1-ns{width:1rem}.swagger-ui .w2-ns{width:2rem}.swagger-ui .w3-ns{width:4rem}.swagger-ui .w4-ns{width:8rem}.swagger-ui .w5-ns{width:16rem}.swagger-ui .w-10-ns{width:10%}.swagger-ui .w-20-ns{width:20%}.swagger-ui .w-25-ns{width:25%}.swagger-ui .w-30-ns{width:30%}.swagger-ui .w-33-ns{width:33%}.swagger-ui .w-34-ns{width:34%}.swagger-ui .w-40-ns{width:40%}.swagger-ui .w-50-ns{width:50%}.swagger-ui .w-60-ns{width:60%}.swagger-ui .w-70-ns{width:70%}.swagger-ui .w-75-ns{width:75%}.swagger-ui .w-80-ns{width:80%}.swagger-ui .w-90-ns{width:90%}.swagger-ui .w-100-ns{width:100%}.swagger-ui .w-third-ns{width:33.3333333333%}.swagger-ui .w-two-thirds-ns{width:66.6666666667%}.swagger-ui .w-auto-ns{width:auto}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .w1-m{width:1rem}.swagger-ui .w2-m{width:2rem}.swagger-ui .w3-m{width:4rem}.swagger-ui .w4-m{width:8rem}.swagger-ui .w5-m{width:16rem}.swagger-ui .w-10-m{width:10%}.swagger-ui .w-20-m{width:20%}.swagger-ui .w-25-m{width:25%}.swagger-ui .w-30-m{width:30%}.swagger-ui .w-33-m{width:33%}.swagger-ui .w-34-m{width:34%}.swagger-ui .w-40-m{width:40%}.swagger-ui .w-50-m{width:50%}.swagger-ui .w-60-m{width:60%}.swagger-ui .w-70-m{width:70%}.swagger-ui .w-75-m{width:75%}.swagger-ui .w-80-m{width:80%}.swagger-ui .w-90-m{width:90%}.swagger-ui .w-100-m{width:100%}.swagger-ui .w-third-m{width:33.3333333333%}.swagger-ui .w-two-thirds-m{width:66.6666666667%}.swagger-ui .w-auto-m{width:auto}}@media screen and (min-width:60em){.swagger-ui .w1-l{width:1rem}.swagger-ui .w2-l{width:2rem}.swagger-ui .w3-l{width:4rem}.swagger-ui .w4-l{width:8rem}.swagger-ui .w5-l{width:16rem}.swagger-ui .w-10-l{width:10%}.swagger-ui .w-20-l{width:20%}.swagger-ui .w-25-l{width:25%}.swagger-ui .w-30-l{width:30%}.swagger-ui .w-33-l{width:33%}.swagger-ui .w-34-l{width:34%}.swagger-ui .w-40-l{width:40%}.swagger-ui .w-50-l{width:50%}.swagger-ui .w-60-l{width:60%}.swagger-ui .w-70-l{width:70%}.swagger-ui .w-75-l{width:75%}.swagger-ui .w-80-l{width:80%}.swagger-ui .w-90-l{width:90%}.swagger-ui .w-100-l{width:100%}.swagger-ui .w-third-l{width:33.3333333333%}.swagger-ui .w-two-thirds-l{width:66.6666666667%}.swagger-ui .w-auto-l{width:auto}}.swagger-ui .overflow-visible{overflow:visible}.swagger-ui .overflow-hidden{overflow:hidden}.swagger-ui .overflow-scroll{overflow:scroll}.swagger-ui .overflow-auto{overflow:auto}.swagger-ui .overflow-x-visible{overflow-x:visible}.swagger-ui .overflow-x-hidden{overflow-x:hidden}.swagger-ui .overflow-x-scroll{overflow-x:scroll}.swagger-ui .overflow-x-auto{overflow-x:auto}.swagger-ui .overflow-y-visible{overflow-y:visible}.swagger-ui .overflow-y-hidden{overflow-y:hidden}.swagger-ui .overflow-y-scroll{overflow-y:scroll}.swagger-ui .overflow-y-auto{overflow-y:auto}@media screen and (min-width:30em){.swagger-ui .overflow-visible-ns{overflow:visible}.swagger-ui .overflow-hidden-ns{overflow:hidden}.swagger-ui .overflow-scroll-ns{overflow:scroll}.swagger-ui .overflow-auto-ns{overflow:auto}.swagger-ui .overflow-x-visible-ns{overflow-x:visible}.swagger-ui .overflow-x-hidden-ns{overflow-x:hidden}.swagger-ui .overflow-x-scroll-ns{overflow-x:scroll}.swagger-ui .overflow-x-auto-ns{overflow-x:auto}.swagger-ui .overflow-y-visible-ns{overflow-y:visible}.swagger-ui .overflow-y-hidden-ns{overflow-y:hidden}.swagger-ui .overflow-y-scroll-ns{overflow-y:scroll}.swagger-ui .overflow-y-auto-ns{overflow-y:auto}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .overflow-visible-m{overflow:visible}.swagger-ui .overflow-hidden-m{overflow:hidden}.swagger-ui .overflow-scroll-m{overflow:scroll}.swagger-ui .overflow-auto-m{overflow:auto}.swagger-ui .overflow-x-visible-m{overflow-x:visible}.swagger-ui .overflow-x-hidden-m{overflow-x:hidden}.swagger-ui .overflow-x-scroll-m{overflow-x:scroll}.swagger-ui .overflow-x-auto-m{overflow-x:auto}.swagger-ui .overflow-y-visible-m{overflow-y:visible}.swagger-ui .overflow-y-hidden-m{overflow-y:hidden}.swagger-ui .overflow-y-scroll-m{overflow-y:scroll}.swagger-ui .overflow-y-auto-m{overflow-y:auto}}@media screen and (min-width:60em){.swagger-ui .overflow-visible-l{overflow:visible}.swagger-ui .overflow-hidden-l{overflow:hidden}.swagger-ui .overflow-scroll-l{overflow:scroll}.swagger-ui .overflow-auto-l{overflow:auto}.swagger-ui .overflow-x-visible-l{overflow-x:visible}.swagger-ui .overflow-x-hidden-l{overflow-x:hidden}.swagger-ui .overflow-x-scroll-l{overflow-x:scroll}.swagger-ui .overflow-x-auto-l{overflow-x:auto}.swagger-ui .overflow-y-visible-l{overflow-y:visible}.swagger-ui .overflow-y-hidden-l{overflow-y:hidden}.swagger-ui .overflow-y-scroll-l{overflow-y:scroll}.swagger-ui .overflow-y-auto-l{overflow-y:auto}}.swagger-ui .static{position:static}.swagger-ui .relative{position:relative}.swagger-ui .absolute{position:absolute}.swagger-ui .fixed{position:fixed}@media screen and (min-width:30em){.swagger-ui .static-ns{position:static}.swagger-ui .relative-ns{position:relative}.swagger-ui .absolute-ns{position:absolute}.swagger-ui .fixed-ns{position:fixed}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .static-m{position:static}.swagger-ui .relative-m{position:relative}.swagger-ui .absolute-m{position:absolute}.swagger-ui .fixed-m{position:fixed}}@media screen and (min-width:60em){.swagger-ui .static-l{position:static}.swagger-ui .relative-l{position:relative}.swagger-ui .absolute-l{position:absolute}.swagger-ui .fixed-l{position:fixed}}.swagger-ui .o-100{opacity:1}.swagger-ui .o-90{opacity:.9}.swagger-ui .o-80{opacity:.8}.swagger-ui .o-70{opacity:.7}.swagger-ui .o-60{opacity:.6}.swagger-ui .o-50{opacity:.5}.swagger-ui .o-40{opacity:.4}.swagger-ui .o-30{opacity:.3}.swagger-ui .o-20{opacity:.2}.swagger-ui .o-10{opacity:.1}.swagger-ui .o-05{opacity:.05}.swagger-ui .o-025{opacity:.025}.swagger-ui .o-0{opacity:0}.swagger-ui .rotate-45{transform:rotate(45deg)}.swagger-ui .rotate-90{transform:rotate(90deg)}.swagger-ui .rotate-135{transform:rotate(135deg)}.swagger-ui .rotate-180{transform:rotate(180deg)}.swagger-ui .rotate-225{transform:rotate(225deg)}.swagger-ui .rotate-270{transform:rotate(270deg)}.swagger-ui .rotate-315{transform:rotate(315deg)}@media screen and (min-width:30em){.swagger-ui .rotate-45-ns{transform:rotate(45deg)}.swagger-ui .rotate-90-ns{transform:rotate(90deg)}.swagger-ui .rotate-135-ns{transform:rotate(135deg)}.swagger-ui .rotate-180-ns{transform:rotate(180deg)}.swagger-ui .rotate-225-ns{transform:rotate(225deg)}.swagger-ui .rotate-270-ns{transform:rotate(270deg)}.swagger-ui .rotate-315-ns{transform:rotate(315deg)}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .rotate-45-m{transform:rotate(45deg)}.swagger-ui .rotate-90-m{transform:rotate(90deg)}.swagger-ui .rotate-135-m{transform:rotate(135deg)}.swagger-ui .rotate-180-m{transform:rotate(180deg)}.swagger-ui .rotate-225-m{transform:rotate(225deg)}.swagger-ui .rotate-270-m{transform:rotate(270deg)}.swagger-ui .rotate-315-m{transform:rotate(315deg)}}@media screen and (min-width:60em){.swagger-ui .rotate-45-l{transform:rotate(45deg)}.swagger-ui .rotate-90-l{transform:rotate(90deg)}.swagger-ui .rotate-135-l{transform:rotate(135deg)}.swagger-ui .rotate-180-l{transform:rotate(180deg)}.swagger-ui .rotate-225-l{transform:rotate(225deg)}.swagger-ui .rotate-270-l{transform:rotate(270deg)}.swagger-ui .rotate-315-l{transform:rotate(315deg)}}.swagger-ui .black-90{color:#000000e6}.swagger-ui .black-80{color:#000c}.swagger-ui .black-70{color:#000000b3}.swagger-ui .black-60{color:#0009}.swagger-ui .black-50{color:#00000080}.swagger-ui .black-40{color:#0006}.swagger-ui .black-30{color:#0000004d}.swagger-ui .black-20{color:#0003}.swagger-ui .black-10{color:#0000001a}.swagger-ui .black-05{color:#0000000d}.swagger-ui .white-90{color:#ffffffe6}.swagger-ui .white-80{color:#fffc}.swagger-ui .white-70{color:#ffffffb3}.swagger-ui .white-60{color:#fff9}.swagger-ui .white-50{color:#ffffff80}.swagger-ui .white-40{color:#fff6}.swagger-ui .white-30{color:#ffffff4d}.swagger-ui .white-20{color:#fff3}.swagger-ui .white-10{color:#ffffff1a}.swagger-ui .black{color:#000}.swagger-ui .near-black{color:#111}.swagger-ui .dark-gray{color:#333}.swagger-ui .mid-gray{color:#555}.swagger-ui .gray{color:#777}.swagger-ui .silver{color:#999}.swagger-ui .light-silver{color:#aaa}.swagger-ui .moon-gray{color:#ccc}.swagger-ui .light-gray{color:#eee}.swagger-ui .near-white{color:#f4f4f4}.swagger-ui .white{color:#fff}.swagger-ui .dark-red{color:#e7040f}.swagger-ui .red{color:#ff4136}.swagger-ui .light-red{color:#ff725c}.swagger-ui .orange{color:#ff6300}.swagger-ui .gold{color:#ffb700}.swagger-ui .yellow{color:gold}.swagger-ui .light-yellow{color:#fbf1a9}.swagger-ui .purple{color:#5e2ca5}.swagger-ui .light-purple{color:#a463f2}.swagger-ui .dark-pink{color:#d5008f}.swagger-ui .hot-pink{color:#ff41b4}.swagger-ui .pink{color:#ff80cc}.swagger-ui .light-pink{color:#ffa3d7}.swagger-ui .dark-green{color:#137752}.swagger-ui .green{color:#19a974}.swagger-ui .light-green{color:#9eebcf}.swagger-ui .navy{color:#001b44}.swagger-ui .dark-blue{color:#00449e}.swagger-ui .blue{color:#357edd}.swagger-ui .light-blue{color:#96ccff}.swagger-ui .lightest-blue{color:#cdecff}.swagger-ui .washed-blue{color:#f6fffe}.swagger-ui .washed-green{color:#e8fdf5}.swagger-ui .washed-yellow{color:#fffceb}.swagger-ui .washed-red{color:#ffdfdf}.swagger-ui .color-inherit{color:inherit}.swagger-ui .bg-black-90{background-color:#000000e6}.swagger-ui .bg-black-80{background-color:#000c}.swagger-ui .bg-black-70{background-color:#000000b3}.swagger-ui .bg-black-60{background-color:#0009}.swagger-ui .bg-black-50{background-color:#00000080}.swagger-ui .bg-black-40{background-color:#0006}.swagger-ui .bg-black-30{background-color:#0000004d}.swagger-ui .bg-black-20{background-color:#0003}.swagger-ui .bg-black-10{background-color:#0000001a}.swagger-ui .bg-black-05{background-color:#0000000d}.swagger-ui .bg-white-90{background-color:#ffffffe6}.swagger-ui .bg-white-80{background-color:#fffc}.swagger-ui .bg-white-70{background-color:#ffffffb3}.swagger-ui .bg-white-60{background-color:#fff9}.swagger-ui .bg-white-50{background-color:#ffffff80}.swagger-ui .bg-white-40{background-color:#fff6}.swagger-ui .bg-white-30{background-color:#ffffff4d}.swagger-ui .bg-white-20{background-color:#fff3}.swagger-ui .bg-white-10{background-color:#ffffff1a}.swagger-ui .bg-black{background-color:#000}.swagger-ui .bg-near-black{background-color:#111}.swagger-ui .bg-dark-gray{background-color:#333}.swagger-ui .bg-mid-gray{background-color:#555}.swagger-ui .bg-gray{background-color:#777}.swagger-ui .bg-silver{background-color:#999}.swagger-ui .bg-light-silver{background-color:#aaa}.swagger-ui .bg-moon-gray{background-color:#ccc}.swagger-ui .bg-light-gray{background-color:#eee}.swagger-ui .bg-near-white{background-color:#f4f4f4}.swagger-ui .bg-white{background-color:#fff}.swagger-ui .bg-transparent{background-color:transparent}.swagger-ui .bg-dark-red{background-color:#e7040f}.swagger-ui .bg-red{background-color:#ff4136}.swagger-ui .bg-light-red{background-color:#ff725c}.swagger-ui .bg-orange{background-color:#ff6300}.swagger-ui .bg-gold{background-color:#ffb700}.swagger-ui .bg-yellow{background-color:gold}.swagger-ui .bg-light-yellow{background-color:#fbf1a9}.swagger-ui .bg-purple{background-color:#5e2ca5}.swagger-ui .bg-light-purple{background-color:#a463f2}.swagger-ui .bg-dark-pink{background-color:#d5008f}.swagger-ui .bg-hot-pink{background-color:#ff41b4}.swagger-ui .bg-pink{background-color:#ff80cc}.swagger-ui .bg-light-pink{background-color:#ffa3d7}.swagger-ui .bg-dark-green{background-color:#137752}.swagger-ui .bg-green{background-color:#19a974}.swagger-ui .bg-light-green{background-color:#9eebcf}.swagger-ui .bg-navy{background-color:#001b44}.swagger-ui .bg-dark-blue{background-color:#00449e}.swagger-ui .bg-blue{background-color:#357edd}.swagger-ui .bg-light-blue{background-color:#96ccff}.swagger-ui .bg-lightest-blue{background-color:#cdecff}.swagger-ui .bg-washed-blue{background-color:#f6fffe}.swagger-ui .bg-washed-green{background-color:#e8fdf5}.swagger-ui .bg-washed-yellow{background-color:#fffceb}.swagger-ui .bg-washed-red{background-color:#ffdfdf}.swagger-ui .bg-inherit{background-color:inherit}.swagger-ui .hover-black:focus,.swagger-ui .hover-black:hover{color:#000}.swagger-ui .hover-near-black:focus,.swagger-ui .hover-near-black:hover{color:#111}.swagger-ui .hover-dark-gray:focus,.swagger-ui .hover-dark-gray:hover{color:#333}.swagger-ui .hover-mid-gray:focus,.swagger-ui .hover-mid-gray:hover{color:#555}.swagger-ui .hover-gray:focus,.swagger-ui .hover-gray:hover{color:#777}.swagger-ui .hover-silver:focus,.swagger-ui .hover-silver:hover{color:#999}.swagger-ui .hover-light-silver:focus,.swagger-ui .hover-light-silver:hover{color:#aaa}.swagger-ui .hover-moon-gray:focus,.swagger-ui .hover-moon-gray:hover{color:#ccc}.swagger-ui .hover-light-gray:focus,.swagger-ui .hover-light-gray:hover{color:#eee}.swagger-ui .hover-near-white:focus,.swagger-ui .hover-near-white:hover{color:#f4f4f4}.swagger-ui .hover-white:focus,.swagger-ui .hover-white:hover{color:#fff}.swagger-ui .hover-black-90:focus,.swagger-ui .hover-black-90:hover{color:#000000e6}.swagger-ui .hover-black-80:focus,.swagger-ui .hover-black-80:hover{color:#000c}.swagger-ui .hover-black-70:focus,.swagger-ui .hover-black-70:hover{color:#000000b3}.swagger-ui .hover-black-60:focus,.swagger-ui .hover-black-60:hover{color:#0009}.swagger-ui .hover-black-50:focus,.swagger-ui .hover-black-50:hover{color:#00000080}.swagger-ui .hover-black-40:focus,.swagger-ui .hover-black-40:hover{color:#0006}.swagger-ui .hover-black-30:focus,.swagger-ui .hover-black-30:hover{color:#0000004d}.swagger-ui .hover-black-20:focus,.swagger-ui .hover-black-20:hover{color:#0003}.swagger-ui .hover-black-10:focus,.swagger-ui .hover-black-10:hover{color:#0000001a}.swagger-ui .hover-white-90:focus,.swagger-ui .hover-white-90:hover{color:#ffffffe6}.swagger-ui .hover-white-80:focus,.swagger-ui .hover-white-80:hover{color:#fffc}.swagger-ui .hover-white-70:focus,.swagger-ui .hover-white-70:hover{color:#ffffffb3}.swagger-ui .hover-white-60:focus,.swagger-ui .hover-white-60:hover{color:#fff9}.swagger-ui .hover-white-50:focus,.swagger-ui .hover-white-50:hover{color:#ffffff80}.swagger-ui .hover-white-40:focus,.swagger-ui .hover-white-40:hover{color:#fff6}.swagger-ui .hover-white-30:focus,.swagger-ui .hover-white-30:hover{color:#ffffff4d}.swagger-ui .hover-white-20:focus,.swagger-ui .hover-white-20:hover{color:#fff3}.swagger-ui .hover-white-10:focus,.swagger-ui .hover-white-10:hover{color:#ffffff1a}.swagger-ui .hover-inherit:focus,.swagger-ui .hover-inherit:hover{color:inherit}.swagger-ui .hover-bg-black:focus,.swagger-ui .hover-bg-black:hover{background-color:#000}.swagger-ui .hover-bg-near-black:focus,.swagger-ui .hover-bg-near-black:hover{background-color:#111}.swagger-ui .hover-bg-dark-gray:focus,.swagger-ui .hover-bg-dark-gray:hover{background-color:#333}.swagger-ui .hover-bg-mid-gray:focus,.swagger-ui .hover-bg-mid-gray:hover{background-color:#555}.swagger-ui .hover-bg-gray:focus,.swagger-ui .hover-bg-gray:hover{background-color:#777}.swagger-ui .hover-bg-silver:focus,.swagger-ui .hover-bg-silver:hover{background-color:#999}.swagger-ui .hover-bg-light-silver:focus,.swagger-ui .hover-bg-light-silver:hover{background-color:#aaa}.swagger-ui .hover-bg-moon-gray:focus,.swagger-ui .hover-bg-moon-gray:hover{background-color:#ccc}.swagger-ui .hover-bg-light-gray:focus,.swagger-ui .hover-bg-light-gray:hover{background-color:#eee}.swagger-ui .hover-bg-near-white:focus,.swagger-ui .hover-bg-near-white:hover{background-color:#f4f4f4}.swagger-ui .hover-bg-white:focus,.swagger-ui .hover-bg-white:hover{background-color:#fff}.swagger-ui .hover-bg-transparent:focus,.swagger-ui .hover-bg-transparent:hover{background-color:transparent}.swagger-ui .hover-bg-black-90:focus,.swagger-ui .hover-bg-black-90:hover{background-color:#000000e6}.swagger-ui .hover-bg-black-80:focus,.swagger-ui .hover-bg-black-80:hover{background-color:#000c}.swagger-ui .hover-bg-black-70:focus,.swagger-ui .hover-bg-black-70:hover{background-color:#000000b3}.swagger-ui .hover-bg-black-60:focus,.swagger-ui .hover-bg-black-60:hover{background-color:#0009}.swagger-ui .hover-bg-black-50:focus,.swagger-ui .hover-bg-black-50:hover{background-color:#00000080}.swagger-ui .hover-bg-black-40:focus,.swagger-ui .hover-bg-black-40:hover{background-color:#0006}.swagger-ui .hover-bg-black-30:focus,.swagger-ui .hover-bg-black-30:hover{background-color:#0000004d}.swagger-ui .hover-bg-black-20:focus,.swagger-ui .hover-bg-black-20:hover{background-color:#0003}.swagger-ui .hover-bg-black-10:focus,.swagger-ui .hover-bg-black-10:hover{background-color:#0000001a}.swagger-ui .hover-bg-white-90:focus,.swagger-ui .hover-bg-white-90:hover{background-color:#ffffffe6}.swagger-ui .hover-bg-white-80:focus,.swagger-ui .hover-bg-white-80:hover{background-color:#fffc}.swagger-ui .hover-bg-white-70:focus,.swagger-ui .hover-bg-white-70:hover{background-color:#ffffffb3}.swagger-ui .hover-bg-white-60:focus,.swagger-ui .hover-bg-white-60:hover{background-color:#fff9}.swagger-ui .hover-bg-white-50:focus,.swagger-ui .hover-bg-white-50:hover{background-color:#ffffff80}.swagger-ui .hover-bg-white-40:focus,.swagger-ui .hover-bg-white-40:hover{background-color:#fff6}.swagger-ui .hover-bg-white-30:focus,.swagger-ui .hover-bg-white-30:hover{background-color:#ffffff4d}.swagger-ui .hover-bg-white-20:focus,.swagger-ui .hover-bg-white-20:hover{background-color:#fff3}.swagger-ui .hover-bg-white-10:focus,.swagger-ui .hover-bg-white-10:hover{background-color:#ffffff1a}.swagger-ui .hover-dark-red:focus,.swagger-ui .hover-dark-red:hover{color:#e7040f}.swagger-ui .hover-red:focus,.swagger-ui .hover-red:hover{color:#ff4136}.swagger-ui .hover-light-red:focus,.swagger-ui .hover-light-red:hover{color:#ff725c}.swagger-ui .hover-orange:focus,.swagger-ui .hover-orange:hover{color:#ff6300}.swagger-ui .hover-gold:focus,.swagger-ui .hover-gold:hover{color:#ffb700}.swagger-ui .hover-yellow:focus,.swagger-ui .hover-yellow:hover{color:gold}.swagger-ui .hover-light-yellow:focus,.swagger-ui .hover-light-yellow:hover{color:#fbf1a9}.swagger-ui .hover-purple:focus,.swagger-ui .hover-purple:hover{color:#5e2ca5}.swagger-ui .hover-light-purple:focus,.swagger-ui .hover-light-purple:hover{color:#a463f2}.swagger-ui .hover-dark-pink:focus,.swagger-ui .hover-dark-pink:hover{color:#d5008f}.swagger-ui .hover-hot-pink:focus,.swagger-ui .hover-hot-pink:hover{color:#ff41b4}.swagger-ui .hover-pink:focus,.swagger-ui .hover-pink:hover{color:#ff80cc}.swagger-ui .hover-light-pink:focus,.swagger-ui .hover-light-pink:hover{color:#ffa3d7}.swagger-ui .hover-dark-green:focus,.swagger-ui .hover-dark-green:hover{color:#137752}.swagger-ui .hover-green:focus,.swagger-ui .hover-green:hover{color:#19a974}.swagger-ui .hover-light-green:focus,.swagger-ui .hover-light-green:hover{color:#9eebcf}.swagger-ui .hover-navy:focus,.swagger-ui .hover-navy:hover{color:#001b44}.swagger-ui .hover-dark-blue:focus,.swagger-ui .hover-dark-blue:hover{color:#00449e}.swagger-ui .hover-blue:focus,.swagger-ui .hover-blue:hover{color:#357edd}.swagger-ui .hover-light-blue:focus,.swagger-ui .hover-light-blue:hover{color:#96ccff}.swagger-ui .hover-lightest-blue:focus,.swagger-ui .hover-lightest-blue:hover{color:#cdecff}.swagger-ui .hover-washed-blue:focus,.swagger-ui .hover-washed-blue:hover{color:#f6fffe}.swagger-ui .hover-washed-green:focus,.swagger-ui .hover-washed-green:hover{color:#e8fdf5}.swagger-ui .hover-washed-yellow:focus,.swagger-ui .hover-washed-yellow:hover{color:#fffceb}.swagger-ui .hover-washed-red:focus,.swagger-ui .hover-washed-red:hover{color:#ffdfdf}.swagger-ui .hover-bg-dark-red:focus,.swagger-ui .hover-bg-dark-red:hover{background-color:#e7040f}.swagger-ui .hover-bg-red:focus,.swagger-ui .hover-bg-red:hover{background-color:#ff4136}.swagger-ui .hover-bg-light-red:focus,.swagger-ui .hover-bg-light-red:hover{background-color:#ff725c}.swagger-ui .hover-bg-orange:focus,.swagger-ui .hover-bg-orange:hover{background-color:#ff6300}.swagger-ui .hover-bg-gold:focus,.swagger-ui .hover-bg-gold:hover{background-color:#ffb700}.swagger-ui .hover-bg-yellow:focus,.swagger-ui .hover-bg-yellow:hover{background-color:gold}.swagger-ui .hover-bg-light-yellow:focus,.swagger-ui .hover-bg-light-yellow:hover{background-color:#fbf1a9}.swagger-ui .hover-bg-purple:focus,.swagger-ui .hover-bg-purple:hover{background-color:#5e2ca5}.swagger-ui .hover-bg-light-purple:focus,.swagger-ui .hover-bg-light-purple:hover{background-color:#a463f2}.swagger-ui .hover-bg-dark-pink:focus,.swagger-ui .hover-bg-dark-pink:hover{background-color:#d5008f}.swagger-ui .hover-bg-hot-pink:focus,.swagger-ui .hover-bg-hot-pink:hover{background-color:#ff41b4}.swagger-ui .hover-bg-pink:focus,.swagger-ui .hover-bg-pink:hover{background-color:#ff80cc}.swagger-ui .hover-bg-light-pink:focus,.swagger-ui .hover-bg-light-pink:hover{background-color:#ffa3d7}.swagger-ui .hover-bg-dark-green:focus,.swagger-ui .hover-bg-dark-green:hover{background-color:#137752}.swagger-ui .hover-bg-green:focus,.swagger-ui .hover-bg-green:hover{background-color:#19a974}.swagger-ui .hover-bg-light-green:focus,.swagger-ui .hover-bg-light-green:hover{background-color:#9eebcf}.swagger-ui .hover-bg-navy:focus,.swagger-ui .hover-bg-navy:hover{background-color:#001b44}.swagger-ui .hover-bg-dark-blue:focus,.swagger-ui .hover-bg-dark-blue:hover{background-color:#00449e}.swagger-ui .hover-bg-blue:focus,.swagger-ui .hover-bg-blue:hover{background-color:#357edd}.swagger-ui .hover-bg-light-blue:focus,.swagger-ui .hover-bg-light-blue:hover{background-color:#96ccff}.swagger-ui .hover-bg-lightest-blue:focus,.swagger-ui .hover-bg-lightest-blue:hover{background-color:#cdecff}.swagger-ui .hover-bg-washed-blue:focus,.swagger-ui .hover-bg-washed-blue:hover{background-color:#f6fffe}.swagger-ui .hover-bg-washed-green:focus,.swagger-ui .hover-bg-washed-green:hover{background-color:#e8fdf5}.swagger-ui .hover-bg-washed-yellow:focus,.swagger-ui .hover-bg-washed-yellow:hover{background-color:#fffceb}.swagger-ui .hover-bg-washed-red:focus,.swagger-ui .hover-bg-washed-red:hover{background-color:#ffdfdf}.swagger-ui .hover-bg-inherit:focus,.swagger-ui .hover-bg-inherit:hover{background-color:inherit}.swagger-ui .pa0{padding:0}.swagger-ui .pa1{padding:.25rem}.swagger-ui .pa2{padding:.5rem}.swagger-ui .pa3{padding:1rem}.swagger-ui .pa4{padding:2rem}.swagger-ui .pa5{padding:4rem}.swagger-ui .pa6{padding:8rem}.swagger-ui .pa7{padding:16rem}.swagger-ui .pl0{padding-left:0}.swagger-ui .pl1{padding-left:.25rem}.swagger-ui .pl2{padding-left:.5rem}.swagger-ui .pl3{padding-left:1rem}.swagger-ui .pl4{padding-left:2rem}.swagger-ui .pl5{padding-left:4rem}.swagger-ui .pl6{padding-left:8rem}.swagger-ui .pl7{padding-left:16rem}.swagger-ui .pr0{padding-right:0}.swagger-ui .pr1{padding-right:.25rem}.swagger-ui .pr2{padding-right:.5rem}.swagger-ui .pr3{padding-right:1rem}.swagger-ui .pr4{padding-right:2rem}.swagger-ui .pr5{padding-right:4rem}.swagger-ui .pr6{padding-right:8rem}.swagger-ui .pr7{padding-right:16rem}.swagger-ui .pb0{padding-bottom:0}.swagger-ui .pb1{padding-bottom:.25rem}.swagger-ui .pb2{padding-bottom:.5rem}.swagger-ui .pb3{padding-bottom:1rem}.swagger-ui .pb4{padding-bottom:2rem}.swagger-ui .pb5{padding-bottom:4rem}.swagger-ui .pb6{padding-bottom:8rem}.swagger-ui .pb7{padding-bottom:16rem}.swagger-ui .pt0{padding-top:0}.swagger-ui .pt1{padding-top:.25rem}.swagger-ui .pt2{padding-top:.5rem}.swagger-ui .pt3{padding-top:1rem}.swagger-ui .pt4{padding-top:2rem}.swagger-ui .pt5{padding-top:4rem}.swagger-ui .pt6{padding-top:8rem}.swagger-ui .pt7{padding-top:16rem}.swagger-ui .pv0{padding-bottom:0;padding-top:0}.swagger-ui .pv1{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0{padding-left:0;padding-right:0}.swagger-ui .ph1{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0{margin:0}.swagger-ui .ma1{margin:.25rem}.swagger-ui .ma2{margin:.5rem}.swagger-ui .ma3{margin:1rem}.swagger-ui .ma4{margin:2rem}.swagger-ui .ma5{margin:4rem}.swagger-ui .ma6{margin:8rem}.swagger-ui .ma7{margin:16rem}.swagger-ui .ml0{margin-left:0}.swagger-ui .ml1{margin-left:.25rem}.swagger-ui .ml2{margin-left:.5rem}.swagger-ui .ml3{margin-left:1rem}.swagger-ui .ml4{margin-left:2rem}.swagger-ui .ml5{margin-left:4rem}.swagger-ui .ml6{margin-left:8rem}.swagger-ui .ml7{margin-left:16rem}.swagger-ui .mr0{margin-right:0}.swagger-ui .mr1{margin-right:.25rem}.swagger-ui .mr2{margin-right:.5rem}.swagger-ui .mr3{margin-right:1rem}.swagger-ui .mr4{margin-right:2rem}.swagger-ui .mr5{margin-right:4rem}.swagger-ui .mr6{margin-right:8rem}.swagger-ui .mr7{margin-right:16rem}.swagger-ui .mb0{margin-bottom:0}.swagger-ui .mb1{margin-bottom:.25rem}.swagger-ui .mb2{margin-bottom:.5rem}.swagger-ui .mb3{margin-bottom:1rem}.swagger-ui .mb4{margin-bottom:2rem}.swagger-ui .mb5{margin-bottom:4rem}.swagger-ui .mb6{margin-bottom:8rem}.swagger-ui .mb7{margin-bottom:16rem}.swagger-ui .mt0{margin-top:0}.swagger-ui .mt1{margin-top:.25rem}.swagger-ui .mt2{margin-top:.5rem}.swagger-ui .mt3{margin-top:1rem}.swagger-ui .mt4{margin-top:2rem}.swagger-ui .mt5{margin-top:4rem}.swagger-ui .mt6{margin-top:8rem}.swagger-ui .mt7{margin-top:16rem}.swagger-ui .mv0{margin-bottom:0;margin-top:0}.swagger-ui .mv1{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0{margin-left:0;margin-right:0}.swagger-ui .mh1{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7{margin-left:16rem;margin-right:16rem}@media screen and (min-width:30em){.swagger-ui .pa0-ns{padding:0}.swagger-ui .pa1-ns{padding:.25rem}.swagger-ui .pa2-ns{padding:.5rem}.swagger-ui .pa3-ns{padding:1rem}.swagger-ui .pa4-ns{padding:2rem}.swagger-ui .pa5-ns{padding:4rem}.swagger-ui .pa6-ns{padding:8rem}.swagger-ui .pa7-ns{padding:16rem}.swagger-ui .pl0-ns{padding-left:0}.swagger-ui .pl1-ns{padding-left:.25rem}.swagger-ui .pl2-ns{padding-left:.5rem}.swagger-ui .pl3-ns{padding-left:1rem}.swagger-ui .pl4-ns{padding-left:2rem}.swagger-ui .pl5-ns{padding-left:4rem}.swagger-ui .pl6-ns{padding-left:8rem}.swagger-ui .pl7-ns{padding-left:16rem}.swagger-ui .pr0-ns{padding-right:0}.swagger-ui .pr1-ns{padding-right:.25rem}.swagger-ui .pr2-ns{padding-right:.5rem}.swagger-ui .pr3-ns{padding-right:1rem}.swagger-ui .pr4-ns{padding-right:2rem}.swagger-ui .pr5-ns{padding-right:4rem}.swagger-ui .pr6-ns{padding-right:8rem}.swagger-ui .pr7-ns{padding-right:16rem}.swagger-ui .pb0-ns{padding-bottom:0}.swagger-ui .pb1-ns{padding-bottom:.25rem}.swagger-ui .pb2-ns{padding-bottom:.5rem}.swagger-ui .pb3-ns{padding-bottom:1rem}.swagger-ui .pb4-ns{padding-bottom:2rem}.swagger-ui .pb5-ns{padding-bottom:4rem}.swagger-ui .pb6-ns{padding-bottom:8rem}.swagger-ui .pb7-ns{padding-bottom:16rem}.swagger-ui .pt0-ns{padding-top:0}.swagger-ui .pt1-ns{padding-top:.25rem}.swagger-ui .pt2-ns{padding-top:.5rem}.swagger-ui .pt3-ns{padding-top:1rem}.swagger-ui .pt4-ns{padding-top:2rem}.swagger-ui .pt5-ns{padding-top:4rem}.swagger-ui .pt6-ns{padding-top:8rem}.swagger-ui .pt7-ns{padding-top:16rem}.swagger-ui .pv0-ns{padding-bottom:0;padding-top:0}.swagger-ui .pv1-ns{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-ns{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-ns{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-ns{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-ns{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-ns{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-ns{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-ns{padding-left:0;padding-right:0}.swagger-ui .ph1-ns{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-ns{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-ns{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-ns{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-ns{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-ns{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-ns{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-ns{margin:0}.swagger-ui .ma1-ns{margin:.25rem}.swagger-ui .ma2-ns{margin:.5rem}.swagger-ui .ma3-ns{margin:1rem}.swagger-ui .ma4-ns{margin:2rem}.swagger-ui .ma5-ns{margin:4rem}.swagger-ui .ma6-ns{margin:8rem}.swagger-ui .ma7-ns{margin:16rem}.swagger-ui .ml0-ns{margin-left:0}.swagger-ui .ml1-ns{margin-left:.25rem}.swagger-ui .ml2-ns{margin-left:.5rem}.swagger-ui .ml3-ns{margin-left:1rem}.swagger-ui .ml4-ns{margin-left:2rem}.swagger-ui .ml5-ns{margin-left:4rem}.swagger-ui .ml6-ns{margin-left:8rem}.swagger-ui .ml7-ns{margin-left:16rem}.swagger-ui .mr0-ns{margin-right:0}.swagger-ui .mr1-ns{margin-right:.25rem}.swagger-ui .mr2-ns{margin-right:.5rem}.swagger-ui .mr3-ns{margin-right:1rem}.swagger-ui .mr4-ns{margin-right:2rem}.swagger-ui .mr5-ns{margin-right:4rem}.swagger-ui .mr6-ns{margin-right:8rem}.swagger-ui .mr7-ns{margin-right:16rem}.swagger-ui .mb0-ns{margin-bottom:0}.swagger-ui .mb1-ns{margin-bottom:.25rem}.swagger-ui .mb2-ns{margin-bottom:.5rem}.swagger-ui .mb3-ns{margin-bottom:1rem}.swagger-ui .mb4-ns{margin-bottom:2rem}.swagger-ui .mb5-ns{margin-bottom:4rem}.swagger-ui .mb6-ns{margin-bottom:8rem}.swagger-ui .mb7-ns{margin-bottom:16rem}.swagger-ui .mt0-ns{margin-top:0}.swagger-ui .mt1-ns{margin-top:.25rem}.swagger-ui .mt2-ns{margin-top:.5rem}.swagger-ui .mt3-ns{margin-top:1rem}.swagger-ui .mt4-ns{margin-top:2rem}.swagger-ui .mt5-ns{margin-top:4rem}.swagger-ui .mt6-ns{margin-top:8rem}.swagger-ui .mt7-ns{margin-top:16rem}.swagger-ui .mv0-ns{margin-bottom:0;margin-top:0}.swagger-ui .mv1-ns{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-ns{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-ns{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-ns{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-ns{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-ns{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-ns{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-ns{margin-left:0;margin-right:0}.swagger-ui .mh1-ns{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-ns{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-ns{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-ns{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-ns{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-ns{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-ns{margin-left:16rem;margin-right:16rem}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .pa0-m{padding:0}.swagger-ui .pa1-m{padding:.25rem}.swagger-ui .pa2-m{padding:.5rem}.swagger-ui .pa3-m{padding:1rem}.swagger-ui .pa4-m{padding:2rem}.swagger-ui .pa5-m{padding:4rem}.swagger-ui .pa6-m{padding:8rem}.swagger-ui .pa7-m{padding:16rem}.swagger-ui .pl0-m{padding-left:0}.swagger-ui .pl1-m{padding-left:.25rem}.swagger-ui .pl2-m{padding-left:.5rem}.swagger-ui .pl3-m{padding-left:1rem}.swagger-ui .pl4-m{padding-left:2rem}.swagger-ui .pl5-m{padding-left:4rem}.swagger-ui .pl6-m{padding-left:8rem}.swagger-ui .pl7-m{padding-left:16rem}.swagger-ui .pr0-m{padding-right:0}.swagger-ui .pr1-m{padding-right:.25rem}.swagger-ui .pr2-m{padding-right:.5rem}.swagger-ui .pr3-m{padding-right:1rem}.swagger-ui .pr4-m{padding-right:2rem}.swagger-ui .pr5-m{padding-right:4rem}.swagger-ui .pr6-m{padding-right:8rem}.swagger-ui .pr7-m{padding-right:16rem}.swagger-ui .pb0-m{padding-bottom:0}.swagger-ui .pb1-m{padding-bottom:.25rem}.swagger-ui .pb2-m{padding-bottom:.5rem}.swagger-ui .pb3-m{padding-bottom:1rem}.swagger-ui .pb4-m{padding-bottom:2rem}.swagger-ui .pb5-m{padding-bottom:4rem}.swagger-ui .pb6-m{padding-bottom:8rem}.swagger-ui .pb7-m{padding-bottom:16rem}.swagger-ui .pt0-m{padding-top:0}.swagger-ui .pt1-m{padding-top:.25rem}.swagger-ui .pt2-m{padding-top:.5rem}.swagger-ui .pt3-m{padding-top:1rem}.swagger-ui .pt4-m{padding-top:2rem}.swagger-ui .pt5-m{padding-top:4rem}.swagger-ui .pt6-m{padding-top:8rem}.swagger-ui .pt7-m{padding-top:16rem}.swagger-ui .pv0-m{padding-bottom:0;padding-top:0}.swagger-ui .pv1-m{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-m{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-m{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-m{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-m{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-m{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-m{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-m{padding-left:0;padding-right:0}.swagger-ui .ph1-m{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-m{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-m{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-m{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-m{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-m{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-m{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-m{margin:0}.swagger-ui .ma1-m{margin:.25rem}.swagger-ui .ma2-m{margin:.5rem}.swagger-ui .ma3-m{margin:1rem}.swagger-ui .ma4-m{margin:2rem}.swagger-ui .ma5-m{margin:4rem}.swagger-ui .ma6-m{margin:8rem}.swagger-ui .ma7-m{margin:16rem}.swagger-ui .ml0-m{margin-left:0}.swagger-ui .ml1-m{margin-left:.25rem}.swagger-ui .ml2-m{margin-left:.5rem}.swagger-ui .ml3-m{margin-left:1rem}.swagger-ui .ml4-m{margin-left:2rem}.swagger-ui .ml5-m{margin-left:4rem}.swagger-ui .ml6-m{margin-left:8rem}.swagger-ui .ml7-m{margin-left:16rem}.swagger-ui .mr0-m{margin-right:0}.swagger-ui .mr1-m{margin-right:.25rem}.swagger-ui .mr2-m{margin-right:.5rem}.swagger-ui .mr3-m{margin-right:1rem}.swagger-ui .mr4-m{margin-right:2rem}.swagger-ui .mr5-m{margin-right:4rem}.swagger-ui .mr6-m{margin-right:8rem}.swagger-ui .mr7-m{margin-right:16rem}.swagger-ui .mb0-m{margin-bottom:0}.swagger-ui .mb1-m{margin-bottom:.25rem}.swagger-ui .mb2-m{margin-bottom:.5rem}.swagger-ui .mb3-m{margin-bottom:1rem}.swagger-ui .mb4-m{margin-bottom:2rem}.swagger-ui .mb5-m{margin-bottom:4rem}.swagger-ui .mb6-m{margin-bottom:8rem}.swagger-ui .mb7-m{margin-bottom:16rem}.swagger-ui .mt0-m{margin-top:0}.swagger-ui .mt1-m{margin-top:.25rem}.swagger-ui .mt2-m{margin-top:.5rem}.swagger-ui .mt3-m{margin-top:1rem}.swagger-ui .mt4-m{margin-top:2rem}.swagger-ui .mt5-m{margin-top:4rem}.swagger-ui .mt6-m{margin-top:8rem}.swagger-ui .mt7-m{margin-top:16rem}.swagger-ui .mv0-m{margin-bottom:0;margin-top:0}.swagger-ui .mv1-m{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-m{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-m{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-m{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-m{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-m{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-m{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-m{margin-left:0;margin-right:0}.swagger-ui .mh1-m{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-m{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-m{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-m{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-m{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-m{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-m{margin-left:16rem;margin-right:16rem}}@media screen and (min-width:60em){.swagger-ui .pa0-l{padding:0}.swagger-ui .pa1-l{padding:.25rem}.swagger-ui .pa2-l{padding:.5rem}.swagger-ui .pa3-l{padding:1rem}.swagger-ui .pa4-l{padding:2rem}.swagger-ui .pa5-l{padding:4rem}.swagger-ui .pa6-l{padding:8rem}.swagger-ui .pa7-l{padding:16rem}.swagger-ui .pl0-l{padding-left:0}.swagger-ui .pl1-l{padding-left:.25rem}.swagger-ui .pl2-l{padding-left:.5rem}.swagger-ui .pl3-l{padding-left:1rem}.swagger-ui .pl4-l{padding-left:2rem}.swagger-ui .pl5-l{padding-left:4rem}.swagger-ui .pl6-l{padding-left:8rem}.swagger-ui .pl7-l{padding-left:16rem}.swagger-ui .pr0-l{padding-right:0}.swagger-ui .pr1-l{padding-right:.25rem}.swagger-ui .pr2-l{padding-right:.5rem}.swagger-ui .pr3-l{padding-right:1rem}.swagger-ui .pr4-l{padding-right:2rem}.swagger-ui .pr5-l{padding-right:4rem}.swagger-ui .pr6-l{padding-right:8rem}.swagger-ui .pr7-l{padding-right:16rem}.swagger-ui .pb0-l{padding-bottom:0}.swagger-ui .pb1-l{padding-bottom:.25rem}.swagger-ui .pb2-l{padding-bottom:.5rem}.swagger-ui .pb3-l{padding-bottom:1rem}.swagger-ui .pb4-l{padding-bottom:2rem}.swagger-ui .pb5-l{padding-bottom:4rem}.swagger-ui .pb6-l{padding-bottom:8rem}.swagger-ui .pb7-l{padding-bottom:16rem}.swagger-ui .pt0-l{padding-top:0}.swagger-ui .pt1-l{padding-top:.25rem}.swagger-ui .pt2-l{padding-top:.5rem}.swagger-ui .pt3-l{padding-top:1rem}.swagger-ui .pt4-l{padding-top:2rem}.swagger-ui .pt5-l{padding-top:4rem}.swagger-ui .pt6-l{padding-top:8rem}.swagger-ui .pt7-l{padding-top:16rem}.swagger-ui .pv0-l{padding-bottom:0;padding-top:0}.swagger-ui .pv1-l{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-l{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-l{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-l{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-l{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-l{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-l{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-l{padding-left:0;padding-right:0}.swagger-ui .ph1-l{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-l{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-l{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-l{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-l{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-l{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-l{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-l{margin:0}.swagger-ui .ma1-l{margin:.25rem}.swagger-ui .ma2-l{margin:.5rem}.swagger-ui .ma3-l{margin:1rem}.swagger-ui .ma4-l{margin:2rem}.swagger-ui .ma5-l{margin:4rem}.swagger-ui .ma6-l{margin:8rem}.swagger-ui .ma7-l{margin:16rem}.swagger-ui .ml0-l{margin-left:0}.swagger-ui .ml1-l{margin-left:.25rem}.swagger-ui .ml2-l{margin-left:.5rem}.swagger-ui .ml3-l{margin-left:1rem}.swagger-ui .ml4-l{margin-left:2rem}.swagger-ui .ml5-l{margin-left:4rem}.swagger-ui .ml6-l{margin-left:8rem}.swagger-ui .ml7-l{margin-left:16rem}.swagger-ui .mr0-l{margin-right:0}.swagger-ui .mr1-l{margin-right:.25rem}.swagger-ui .mr2-l{margin-right:.5rem}.swagger-ui .mr3-l{margin-right:1rem}.swagger-ui .mr4-l{margin-right:2rem}.swagger-ui .mr5-l{margin-right:4rem}.swagger-ui .mr6-l{margin-right:8rem}.swagger-ui .mr7-l{margin-right:16rem}.swagger-ui .mb0-l{margin-bottom:0}.swagger-ui .mb1-l{margin-bottom:.25rem}.swagger-ui .mb2-l{margin-bottom:.5rem}.swagger-ui .mb3-l{margin-bottom:1rem}.swagger-ui .mb4-l{margin-bottom:2rem}.swagger-ui .mb5-l{margin-bottom:4rem}.swagger-ui .mb6-l{margin-bottom:8rem}.swagger-ui .mb7-l{margin-bottom:16rem}.swagger-ui .mt0-l{margin-top:0}.swagger-ui .mt1-l{margin-top:.25rem}.swagger-ui .mt2-l{margin-top:.5rem}.swagger-ui .mt3-l{margin-top:1rem}.swagger-ui .mt4-l{margin-top:2rem}.swagger-ui .mt5-l{margin-top:4rem}.swagger-ui .mt6-l{margin-top:8rem}.swagger-ui .mt7-l{margin-top:16rem}.swagger-ui .mv0-l{margin-bottom:0;margin-top:0}.swagger-ui .mv1-l{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-l{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-l{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-l{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-l{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-l{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-l{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-l{margin-left:0;margin-right:0}.swagger-ui .mh1-l{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-l{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-l{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-l{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-l{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-l{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-l{margin-left:16rem;margin-right:16rem}}.swagger-ui .na1{margin:-.25rem}.swagger-ui .na2{margin:-.5rem}.swagger-ui .na3{margin:-1rem}.swagger-ui .na4{margin:-2rem}.swagger-ui .na5{margin:-4rem}.swagger-ui .na6{margin:-8rem}.swagger-ui .na7{margin:-16rem}.swagger-ui .nl1{margin-left:-.25rem}.swagger-ui .nl2{margin-left:-.5rem}.swagger-ui .nl3{margin-left:-1rem}.swagger-ui .nl4{margin-left:-2rem}.swagger-ui .nl5{margin-left:-4rem}.swagger-ui .nl6{margin-left:-8rem}.swagger-ui .nl7{margin-left:-16rem}.swagger-ui .nr1{margin-right:-.25rem}.swagger-ui .nr2{margin-right:-.5rem}.swagger-ui .nr3{margin-right:-1rem}.swagger-ui .nr4{margin-right:-2rem}.swagger-ui .nr5{margin-right:-4rem}.swagger-ui .nr6{margin-right:-8rem}.swagger-ui .nr7{margin-right:-16rem}.swagger-ui .nb1{margin-bottom:-.25rem}.swagger-ui .nb2{margin-bottom:-.5rem}.swagger-ui .nb3{margin-bottom:-1rem}.swagger-ui .nb4{margin-bottom:-2rem}.swagger-ui .nb5{margin-bottom:-4rem}.swagger-ui .nb6{margin-bottom:-8rem}.swagger-ui .nb7{margin-bottom:-16rem}.swagger-ui .nt1{margin-top:-.25rem}.swagger-ui .nt2{margin-top:-.5rem}.swagger-ui .nt3{margin-top:-1rem}.swagger-ui .nt4{margin-top:-2rem}.swagger-ui .nt5{margin-top:-4rem}.swagger-ui .nt6{margin-top:-8rem}.swagger-ui .nt7{margin-top:-16rem}@media screen and (min-width:30em){.swagger-ui .na1-ns{margin:-.25rem}.swagger-ui .na2-ns{margin:-.5rem}.swagger-ui .na3-ns{margin:-1rem}.swagger-ui .na4-ns{margin:-2rem}.swagger-ui .na5-ns{margin:-4rem}.swagger-ui .na6-ns{margin:-8rem}.swagger-ui .na7-ns{margin:-16rem}.swagger-ui .nl1-ns{margin-left:-.25rem}.swagger-ui .nl2-ns{margin-left:-.5rem}.swagger-ui .nl3-ns{margin-left:-1rem}.swagger-ui .nl4-ns{margin-left:-2rem}.swagger-ui .nl5-ns{margin-left:-4rem}.swagger-ui .nl6-ns{margin-left:-8rem}.swagger-ui .nl7-ns{margin-left:-16rem}.swagger-ui .nr1-ns{margin-right:-.25rem}.swagger-ui .nr2-ns{margin-right:-.5rem}.swagger-ui .nr3-ns{margin-right:-1rem}.swagger-ui .nr4-ns{margin-right:-2rem}.swagger-ui .nr5-ns{margin-right:-4rem}.swagger-ui .nr6-ns{margin-right:-8rem}.swagger-ui .nr7-ns{margin-right:-16rem}.swagger-ui .nb1-ns{margin-bottom:-.25rem}.swagger-ui .nb2-ns{margin-bottom:-.5rem}.swagger-ui .nb3-ns{margin-bottom:-1rem}.swagger-ui .nb4-ns{margin-bottom:-2rem}.swagger-ui .nb5-ns{margin-bottom:-4rem}.swagger-ui .nb6-ns{margin-bottom:-8rem}.swagger-ui .nb7-ns{margin-bottom:-16rem}.swagger-ui .nt1-ns{margin-top:-.25rem}.swagger-ui .nt2-ns{margin-top:-.5rem}.swagger-ui .nt3-ns{margin-top:-1rem}.swagger-ui .nt4-ns{margin-top:-2rem}.swagger-ui .nt5-ns{margin-top:-4rem}.swagger-ui .nt6-ns{margin-top:-8rem}.swagger-ui .nt7-ns{margin-top:-16rem}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .na1-m{margin:-.25rem}.swagger-ui .na2-m{margin:-.5rem}.swagger-ui .na3-m{margin:-1rem}.swagger-ui .na4-m{margin:-2rem}.swagger-ui .na5-m{margin:-4rem}.swagger-ui .na6-m{margin:-8rem}.swagger-ui .na7-m{margin:-16rem}.swagger-ui .nl1-m{margin-left:-.25rem}.swagger-ui .nl2-m{margin-left:-.5rem}.swagger-ui .nl3-m{margin-left:-1rem}.swagger-ui .nl4-m{margin-left:-2rem}.swagger-ui .nl5-m{margin-left:-4rem}.swagger-ui .nl6-m{margin-left:-8rem}.swagger-ui .nl7-m{margin-left:-16rem}.swagger-ui .nr1-m{margin-right:-.25rem}.swagger-ui .nr2-m{margin-right:-.5rem}.swagger-ui .nr3-m{margin-right:-1rem}.swagger-ui .nr4-m{margin-right:-2rem}.swagger-ui .nr5-m{margin-right:-4rem}.swagger-ui .nr6-m{margin-right:-8rem}.swagger-ui .nr7-m{margin-right:-16rem}.swagger-ui .nb1-m{margin-bottom:-.25rem}.swagger-ui .nb2-m{margin-bottom:-.5rem}.swagger-ui .nb3-m{margin-bottom:-1rem}.swagger-ui .nb4-m{margin-bottom:-2rem}.swagger-ui .nb5-m{margin-bottom:-4rem}.swagger-ui .nb6-m{margin-bottom:-8rem}.swagger-ui .nb7-m{margin-bottom:-16rem}.swagger-ui .nt1-m{margin-top:-.25rem}.swagger-ui .nt2-m{margin-top:-.5rem}.swagger-ui .nt3-m{margin-top:-1rem}.swagger-ui .nt4-m{margin-top:-2rem}.swagger-ui .nt5-m{margin-top:-4rem}.swagger-ui .nt6-m{margin-top:-8rem}.swagger-ui .nt7-m{margin-top:-16rem}}@media screen and (min-width:60em){.swagger-ui .na1-l{margin:-.25rem}.swagger-ui .na2-l{margin:-.5rem}.swagger-ui .na3-l{margin:-1rem}.swagger-ui .na4-l{margin:-2rem}.swagger-ui .na5-l{margin:-4rem}.swagger-ui .na6-l{margin:-8rem}.swagger-ui .na7-l{margin:-16rem}.swagger-ui .nl1-l{margin-left:-.25rem}.swagger-ui .nl2-l{margin-left:-.5rem}.swagger-ui .nl3-l{margin-left:-1rem}.swagger-ui .nl4-l{margin-left:-2rem}.swagger-ui .nl5-l{margin-left:-4rem}.swagger-ui .nl6-l{margin-left:-8rem}.swagger-ui .nl7-l{margin-left:-16rem}.swagger-ui .nr1-l{margin-right:-.25rem}.swagger-ui .nr2-l{margin-right:-.5rem}.swagger-ui .nr3-l{margin-right:-1rem}.swagger-ui .nr4-l{margin-right:-2rem}.swagger-ui .nr5-l{margin-right:-4rem}.swagger-ui .nr6-l{margin-right:-8rem}.swagger-ui .nr7-l{margin-right:-16rem}.swagger-ui .nb1-l{margin-bottom:-.25rem}.swagger-ui .nb2-l{margin-bottom:-.5rem}.swagger-ui .nb3-l{margin-bottom:-1rem}.swagger-ui .nb4-l{margin-bottom:-2rem}.swagger-ui .nb5-l{margin-bottom:-4rem}.swagger-ui .nb6-l{margin-bottom:-8rem}.swagger-ui .nb7-l{margin-bottom:-16rem}.swagger-ui .nt1-l{margin-top:-.25rem}.swagger-ui .nt2-l{margin-top:-.5rem}.swagger-ui .nt3-l{margin-top:-1rem}.swagger-ui .nt4-l{margin-top:-2rem}.swagger-ui .nt5-l{margin-top:-4rem}.swagger-ui .nt6-l{margin-top:-8rem}.swagger-ui .nt7-l{margin-top:-16rem}}.swagger-ui .collapse{border-collapse:collapse;border-spacing:0}.swagger-ui .striped--light-silver:nth-child(odd){background-color:#aaa}.swagger-ui .striped--moon-gray:nth-child(odd){background-color:#ccc}.swagger-ui .striped--light-gray:nth-child(odd){background-color:#eee}.swagger-ui .striped--near-white:nth-child(odd){background-color:#f4f4f4}.swagger-ui .stripe-light:nth-child(odd){background-color:#ffffff1a}.swagger-ui .stripe-dark:nth-child(odd){background-color:#0000001a}.swagger-ui .strike{text-decoration:line-through}.swagger-ui .underline{text-decoration:underline}.swagger-ui .no-underline{text-decoration:none}@media screen and (min-width:30em){.swagger-ui .strike-ns{text-decoration:line-through}.swagger-ui .underline-ns{text-decoration:underline}.swagger-ui .no-underline-ns{text-decoration:none}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .strike-m{text-decoration:line-through}.swagger-ui .underline-m{text-decoration:underline}.swagger-ui .no-underline-m{text-decoration:none}}@media screen and (min-width:60em){.swagger-ui .strike-l{text-decoration:line-through}.swagger-ui .underline-l{text-decoration:underline}.swagger-ui .no-underline-l{text-decoration:none}}.swagger-ui .tl{text-align:left}.swagger-ui .tr{text-align:right}.swagger-ui .tc{text-align:center}.swagger-ui .tj{text-align:justify}@media screen and (min-width:30em){.swagger-ui .tl-ns{text-align:left}.swagger-ui .tr-ns{text-align:right}.swagger-ui .tc-ns{text-align:center}.swagger-ui .tj-ns{text-align:justify}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .tl-m{text-align:left}.swagger-ui .tr-m{text-align:right}.swagger-ui .tc-m{text-align:center}.swagger-ui .tj-m{text-align:justify}}@media screen and (min-width:60em){.swagger-ui .tl-l{text-align:left}.swagger-ui .tr-l{text-align:right}.swagger-ui .tc-l{text-align:center}.swagger-ui .tj-l{text-align:justify}}.swagger-ui .ttc{text-transform:capitalize}.swagger-ui .ttl{text-transform:lowercase}.swagger-ui .ttu{text-transform:uppercase}.swagger-ui .ttn{text-transform:none}@media screen and (min-width:30em){.swagger-ui .ttc-ns{text-transform:capitalize}.swagger-ui .ttl-ns{text-transform:lowercase}.swagger-ui .ttu-ns{text-transform:uppercase}.swagger-ui .ttn-ns{text-transform:none}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .ttc-m{text-transform:capitalize}.swagger-ui .ttl-m{text-transform:lowercase}.swagger-ui .ttu-m{text-transform:uppercase}.swagger-ui .ttn-m{text-transform:none}}@media screen and (min-width:60em){.swagger-ui .ttc-l{text-transform:capitalize}.swagger-ui .ttl-l{text-transform:lowercase}.swagger-ui .ttu-l{text-transform:uppercase}.swagger-ui .ttn-l{text-transform:none}}.swagger-ui .f-6,.swagger-ui .f-headline{font-size:6rem}.swagger-ui .f-5,.swagger-ui .f-subheadline{font-size:5rem}.swagger-ui .f1{font-size:3rem}.swagger-ui .f2{font-size:2.25rem}.swagger-ui .f3{font-size:1.5rem}.swagger-ui .f4{font-size:1.25rem}.swagger-ui .f5{font-size:1rem}.swagger-ui .f6{font-size:.875rem}.swagger-ui .f7{font-size:.75rem}@media screen and (min-width:30em){.swagger-ui .f-6-ns,.swagger-ui .f-headline-ns{font-size:6rem}.swagger-ui .f-5-ns,.swagger-ui .f-subheadline-ns{font-size:5rem}.swagger-ui .f1-ns{font-size:3rem}.swagger-ui .f2-ns{font-size:2.25rem}.swagger-ui .f3-ns{font-size:1.5rem}.swagger-ui .f4-ns{font-size:1.25rem}.swagger-ui .f5-ns{font-size:1rem}.swagger-ui .f6-ns{font-size:.875rem}.swagger-ui .f7-ns{font-size:.75rem}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .f-6-m,.swagger-ui .f-headline-m{font-size:6rem}.swagger-ui .f-5-m,.swagger-ui .f-subheadline-m{font-size:5rem}.swagger-ui .f1-m{font-size:3rem}.swagger-ui .f2-m{font-size:2.25rem}.swagger-ui .f3-m{font-size:1.5rem}.swagger-ui .f4-m{font-size:1.25rem}.swagger-ui .f5-m{font-size:1rem}.swagger-ui .f6-m{font-size:.875rem}.swagger-ui .f7-m{font-size:.75rem}}@media screen and (min-width:60em){.swagger-ui .f-6-l,.swagger-ui .f-headline-l{font-size:6rem}.swagger-ui .f-5-l,.swagger-ui .f-subheadline-l{font-size:5rem}.swagger-ui .f1-l{font-size:3rem}.swagger-ui .f2-l{font-size:2.25rem}.swagger-ui .f3-l{font-size:1.5rem}.swagger-ui .f4-l{font-size:1.25rem}.swagger-ui .f5-l{font-size:1rem}.swagger-ui .f6-l{font-size:.875rem}.swagger-ui .f7-l{font-size:.75rem}}.swagger-ui .measure{max-width:30em}.swagger-ui .measure-wide{max-width:34em}.swagger-ui .measure-narrow{max-width:20em}.swagger-ui .indent{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (min-width:30em){.swagger-ui .measure-ns{max-width:30em}.swagger-ui .measure-wide-ns{max-width:34em}.swagger-ui .measure-narrow-ns{max-width:20em}.swagger-ui .indent-ns{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-ns{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-ns{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .measure-m{max-width:30em}.swagger-ui .measure-wide-m{max-width:34em}.swagger-ui .measure-narrow-m{max-width:20em}.swagger-ui .indent-m{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-m{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-m{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media screen and (min-width:60em){.swagger-ui .measure-l{max-width:30em}.swagger-ui .measure-wide-l{max-width:34em}.swagger-ui .measure-narrow-l{max-width:20em}.swagger-ui .indent-l{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-l{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-l{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.swagger-ui .overflow-container{overflow-y:scroll}.swagger-ui .center{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto{margin-right:auto}.swagger-ui .ml-auto{margin-left:auto}@media screen and (min-width:30em){.swagger-ui .center-ns{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-ns{margin-right:auto}.swagger-ui .ml-auto-ns{margin-left:auto}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .center-m{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-m{margin-right:auto}.swagger-ui .ml-auto-m{margin-left:auto}}@media screen and (min-width:60em){.swagger-ui .center-l{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-l{margin-right:auto}.swagger-ui .ml-auto-l{margin-left:auto}}.swagger-ui .clip{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:fixed!important;_position:absolute!important}@media screen and (min-width:30em){.swagger-ui .clip-ns{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:fixed!important;_position:absolute!important}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .clip-m{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:fixed!important;_position:absolute!important}}@media screen and (min-width:60em){.swagger-ui .clip-l{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:fixed!important;_position:absolute!important}}.swagger-ui .ws-normal{white-space:normal}.swagger-ui .nowrap{white-space:nowrap}.swagger-ui .pre{white-space:pre}@media screen and (min-width:30em){.swagger-ui .ws-normal-ns{white-space:normal}.swagger-ui .nowrap-ns{white-space:nowrap}.swagger-ui .pre-ns{white-space:pre}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .ws-normal-m{white-space:normal}.swagger-ui .nowrap-m{white-space:nowrap}.swagger-ui .pre-m{white-space:pre}}@media screen and (min-width:60em){.swagger-ui .ws-normal-l{white-space:normal}.swagger-ui .nowrap-l{white-space:nowrap}.swagger-ui .pre-l{white-space:pre}}.swagger-ui .v-base{vertical-align:baseline}.swagger-ui .v-mid{vertical-align:middle}.swagger-ui .v-top{vertical-align:top}.swagger-ui .v-btm{vertical-align:bottom}@media screen and (min-width:30em){.swagger-ui .v-base-ns{vertical-align:baseline}.swagger-ui .v-mid-ns{vertical-align:middle}.swagger-ui .v-top-ns{vertical-align:top}.swagger-ui .v-btm-ns{vertical-align:bottom}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .v-base-m{vertical-align:baseline}.swagger-ui .v-mid-m{vertical-align:middle}.swagger-ui .v-top-m{vertical-align:top}.swagger-ui .v-btm-m{vertical-align:bottom}}@media screen and (min-width:60em){.swagger-ui .v-base-l{vertical-align:baseline}.swagger-ui .v-mid-l{vertical-align:middle}.swagger-ui .v-top-l{vertical-align:top}.swagger-ui .v-btm-l{vertical-align:bottom}}.swagger-ui .dim{opacity:1;transition:opacity .15s ease-in}.swagger-ui .dim:focus,.swagger-ui .dim:hover{opacity:.5;transition:opacity .15s ease-in}.swagger-ui .dim:active{opacity:.8;transition:opacity .15s ease-out}.swagger-ui .glow{transition:opacity .15s ease-in}.swagger-ui .glow:focus,.swagger-ui .glow:hover{opacity:1;transition:opacity .15s ease-in}.swagger-ui .hide-child .child{opacity:0;transition:opacity .15s ease-in}.swagger-ui .hide-child:active .child,.swagger-ui .hide-child:focus .child,.swagger-ui .hide-child:hover .child{opacity:1;transition:opacity .15s ease-in}.swagger-ui .underline-hover:focus,.swagger-ui .underline-hover:hover{text-decoration:underline}.swagger-ui .grow{-moz-osx-font-smoothing:grayscale;backface-visibility:hidden;transform:translateZ(0);transition:transform .25s ease-out}.swagger-ui .grow:focus,.swagger-ui .grow:hover{transform:scale(1.05)}.swagger-ui .grow:active{transform:scale(.9)}.swagger-ui .grow-large{-moz-osx-font-smoothing:grayscale;backface-visibility:hidden;transform:translateZ(0);transition:transform .25s ease-in-out}.swagger-ui .grow-large:focus,.swagger-ui .grow-large:hover{transform:scale(1.2)}.swagger-ui .grow-large:active{transform:scale(.95)}.swagger-ui .pointer:hover{cursor:pointer}.swagger-ui .shadow-hover{cursor:pointer;position:relative;transition:all .5s cubic-bezier(.165,.84,.44,1)}.swagger-ui .shadow-hover:after{border-radius:inherit;box-shadow:0 0 16px 2px #0003;content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .5s cubic-bezier(.165,.84,.44,1);width:100%;z-index:-1}.swagger-ui .shadow-hover:focus:after,.swagger-ui .shadow-hover:hover:after{opacity:1}.swagger-ui .bg-animate,.swagger-ui .bg-animate:focus,.swagger-ui .bg-animate:hover{transition:background-color .15s ease-in-out}.swagger-ui .z-0{z-index:0}.swagger-ui .z-1{z-index:1}.swagger-ui .z-2{z-index:2}.swagger-ui .z-3{z-index:3}.swagger-ui .z-4{z-index:4}.swagger-ui .z-5{z-index:5}.swagger-ui .z-999{z-index:999}.swagger-ui .z-9999{z-index:9999}.swagger-ui .z-max{z-index:2147483647}.swagger-ui .z-inherit{z-index:inherit}.swagger-ui .z-initial{z-index:auto}.swagger-ui .z-unset{z-index:unset}.swagger-ui .nested-copy-line-height ol,.swagger-ui .nested-copy-line-height p,.swagger-ui .nested-copy-line-height ul{line-height:1.5}.swagger-ui .nested-headline-line-height h1,.swagger-ui .nested-headline-line-height h2,.swagger-ui .nested-headline-line-height h3,.swagger-ui .nested-headline-line-height h4,.swagger-ui .nested-headline-line-height h5,.swagger-ui .nested-headline-line-height h6{line-height:1.25}.swagger-ui .nested-list-reset ol,.swagger-ui .nested-list-reset ul{list-style-type:none;margin-left:0;padding-left:0}.swagger-ui .nested-copy-indent p+p{margin-bottom:0;margin-top:0;text-indent:.1em}.swagger-ui .nested-copy-seperator p+p{margin-top:1.5em}.swagger-ui .nested-img img{display:block;max-width:100%;width:100%}.swagger-ui .nested-links a{color:#357edd;transition:color .15s ease-in}.swagger-ui .nested-links a:focus,.swagger-ui .nested-links a:hover{color:#96ccff;transition:color .15s ease-in}.swagger-ui .wrapper{box-sizing:border-box;margin:0 auto;max-width:1460px;padding:0 20px;width:100%}.swagger-ui .opblock-tag-section{display:flex;flex-direction:column}.swagger-ui .try-out.btn-group{display:flex;flex:.1 2 auto;padding:0}.swagger-ui .try-out__btn{margin-left:1.25rem}.swagger-ui .opblock-tag{align-items:center;border-bottom:1px solid rgba(59,65,81,.3);cursor:pointer;display:flex;padding:10px 20px 10px 10px;transition:all .2s}.swagger-ui .opblock-tag:hover{background:rgba(0,0,0,.02)}.swagger-ui .opblock-tag{color:#3b4151;font-family:sans-serif;font-size:24px;margin:0 0 5px}.swagger-ui .opblock-tag.no-desc span{flex:1}.swagger-ui .opblock-tag svg{transition:all .4s}.swagger-ui .opblock-tag small{color:#3b4151;flex:2;font-family:sans-serif;font-size:14px;font-weight:400;padding:0 10px}.swagger-ui .opblock-tag>div{flex:1 1 150px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.swagger-ui .parameter__type{color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;padding:5px 0}.swagger-ui .parameter-controls{margin-top:.75em}.swagger-ui .examples__title{display:block;font-size:1.1em;font-weight:700;margin-bottom:.75em}.swagger-ui .examples__section{margin-top:1.5em}.swagger-ui .examples__section-header{font-size:.9rem;font-weight:700;margin-bottom:.5rem}.swagger-ui .examples-select{display:inline-block;margin-bottom:.75em}.swagger-ui .examples-select .examples-select-element{width:100%}.swagger-ui .examples-select__section-label{font-size:.9rem;font-weight:700;margin-right:.5rem}.swagger-ui .example__section{margin-top:1.5em}.swagger-ui .example__section-header{font-size:.9rem;font-weight:700;margin-bottom:.5rem}.swagger-ui .view-line-link{cursor:pointer;margin:0 5px;position:relative;top:3px;transition:all .5s;width:20px}.swagger-ui .opblock{border:1px solid #000;border-radius:4px;box-shadow:0 0 3px #00000030;margin:0 0 15px}.swagger-ui .opblock .tab-header{display:flex;flex:1}.swagger-ui .opblock .tab-header .tab-item{cursor:pointer;padding:0 40px}.swagger-ui .opblock .tab-header .tab-item:first-of-type{padding:0 40px 0 0}.swagger-ui .opblock .tab-header .tab-item.active h4 span{position:relative}.swagger-ui .opblock .tab-header .tab-item.active h4 span:after{background:gray;bottom:-15px;content:"";height:4px;left:50%;position:absolute;transform:translate(-50%);width:120%}.swagger-ui .opblock.is-open .opblock-summary{border-bottom:1px solid #000}.swagger-ui .opblock .opblock-section-header{align-items:center;background:hsla(0,0%,100%,.8);box-shadow:0 1px 2px #0000001a;display:flex;min-height:50px;padding:8px 20px}.swagger-ui .opblock .opblock-section-header>label{align-items:center;color:#3b4151;display:flex;font-family:sans-serif;font-size:12px;font-weight:700;margin:0 0 0 auto}.swagger-ui .opblock .opblock-section-header>label>span{padding:0 10px 0 0}.swagger-ui .opblock .opblock-section-header h4{color:#3b4151;flex:1;font-family:sans-serif;font-size:14px;margin:0}.swagger-ui .opblock .opblock-summary-method{background:#000;border-radius:3px;color:#fff;font-family:sans-serif;font-size:14px;font-weight:700;min-width:80px;padding:6px 0;text-align:center;text-shadow:0 1px 0 rgba(0,0,0,.1)}.swagger-ui .opblock .opblock-summary-operation-id,.swagger-ui .opblock .opblock-summary-path,.swagger-ui .opblock .opblock-summary-path__deprecated{align-items:center;color:#3b4151;display:flex;font-family:monospace;font-size:16px;font-weight:600;padding:0 10px;word-break:break-word}@media (max-width:768px){.swagger-ui .opblock .opblock-summary-operation-id,.swagger-ui .opblock .opblock-summary-path,.swagger-ui .opblock .opblock-summary-path__deprecated{font-size:12px}}.swagger-ui .opblock .opblock-summary-path{flex-shrink:0;max-width:calc(100% - 110px - 15rem)}.swagger-ui .opblock .opblock-summary-path__deprecated{text-decoration:line-through}.swagger-ui .opblock .opblock-summary-operation-id{font-size:14px}.swagger-ui .opblock .opblock-summary-description{color:#3b4151;flex:1 1 auto;font-family:sans-serif;font-size:13px;word-break:break-word}.swagger-ui .opblock .opblock-summary{align-items:center;cursor:pointer;display:flex;padding:5px}.swagger-ui .opblock .opblock-summary .view-line-link{cursor:pointer;margin:0;position:relative;top:2px;transition:all .5s;width:0}.swagger-ui .opblock .opblock-summary:hover .view-line-link{margin:0 5px;width:18px}.swagger-ui .opblock.opblock-post{background:rgba(73,204,144,.1);border-color:#49cc90}.swagger-ui .opblock.opblock-post .opblock-summary-method{background:#49cc90}.swagger-ui .opblock.opblock-post .opblock-summary{border-color:#49cc90}.swagger-ui .opblock.opblock-post .tab-header .tab-item.active h4 span:after{background:#49cc90}.swagger-ui .opblock.opblock-put{background:rgba(252,161,48,.1);border-color:#fca130}.swagger-ui .opblock.opblock-put .opblock-summary-method{background:#fca130}.swagger-ui .opblock.opblock-put .opblock-summary{border-color:#fca130}.swagger-ui .opblock.opblock-put .tab-header .tab-item.active h4 span:after{background:#fca130}.swagger-ui .opblock.opblock-delete{background:rgba(249,62,62,.1);border-color:#f93e3e}.swagger-ui .opblock.opblock-delete .opblock-summary-method{background:#f93e3e}.swagger-ui .opblock.opblock-delete .opblock-summary{border-color:#f93e3e}.swagger-ui .opblock.opblock-delete .tab-header .tab-item.active h4 span:after{background:#f93e3e}.swagger-ui .opblock.opblock-get{background:rgba(97,175,254,.1);border-color:#61affe}.swagger-ui .opblock.opblock-get .opblock-summary-method{background:#61affe}.swagger-ui .opblock.opblock-get .opblock-summary{border-color:#61affe}.swagger-ui .opblock.opblock-get .tab-header .tab-item.active h4 span:after{background:#61affe}.swagger-ui .opblock.opblock-patch{background:rgba(80,227,194,.1);border-color:#50e3c2}.swagger-ui .opblock.opblock-patch .opblock-summary-method{background:#50e3c2}.swagger-ui .opblock.opblock-patch .opblock-summary{border-color:#50e3c2}.swagger-ui .opblock.opblock-patch .tab-header .tab-item.active h4 span:after{background:#50e3c2}.swagger-ui .opblock.opblock-head{background:rgba(144,18,254,.1);border-color:#9012fe}.swagger-ui .opblock.opblock-head .opblock-summary-method{background:#9012fe}.swagger-ui .opblock.opblock-head .opblock-summary{border-color:#9012fe}.swagger-ui .opblock.opblock-head .tab-header .tab-item.active h4 span:after{background:#9012fe}.swagger-ui .opblock.opblock-options{background:rgba(13,90,167,.1);border-color:#0d5aa7}.swagger-ui .opblock.opblock-options .opblock-summary-method{background:#0d5aa7}.swagger-ui .opblock.opblock-options .opblock-summary{border-color:#0d5aa7}.swagger-ui .opblock.opblock-options .tab-header .tab-item.active h4 span:after{background:#0d5aa7}.swagger-ui .opblock.opblock-deprecated{background:hsla(0,0%,92%,.1);border-color:#ebebeb;opacity:.6}.swagger-ui .opblock.opblock-deprecated .opblock-summary-method{background:#ebebeb}.swagger-ui .opblock.opblock-deprecated .opblock-summary{border-color:#ebebeb}.swagger-ui .opblock.opblock-deprecated .tab-header .tab-item.active h4 span:after{background:#ebebeb}.swagger-ui .opblock .opblock-schemes{padding:8px 20px}.swagger-ui .opblock .opblock-schemes .schemes-title{padding:0 10px 0 0}.swagger-ui .filter .operation-filter-input{border:2px solid #d8dde7;margin:20px 0;padding:10px;width:100%}.swagger-ui .download-url-wrapper .failed,.swagger-ui .filter .failed{color:red}.swagger-ui .download-url-wrapper .loading,.swagger-ui .filter .loading{color:#aaa}.swagger-ui .model-example{margin-top:1em}.swagger-ui .tab{display:flex;list-style:none;padding:0}.swagger-ui .tab li{color:#3b4151;cursor:pointer;font-family:sans-serif;font-size:12px;min-width:60px;padding:0}.swagger-ui .tab li:first-of-type{padding-left:0;padding-right:12px;position:relative}.swagger-ui .tab li:first-of-type:after{background:rgba(0,0,0,.2);content:"";height:100%;position:absolute;right:6px;top:0;width:1px}.swagger-ui .tab li.active{font-weight:700}.swagger-ui .tab li button.tablinks{background:none;border:0;color:inherit;font-family:inherit;font-weight:inherit;padding:0}.swagger-ui .opblock-description-wrapper,.swagger-ui .opblock-external-docs-wrapper,.swagger-ui .opblock-title_normal{color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px;padding:15px 20px}.swagger-ui .opblock-description-wrapper h4,.swagger-ui .opblock-external-docs-wrapper h4,.swagger-ui .opblock-title_normal h4{color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px}.swagger-ui .opblock-description-wrapper p,.swagger-ui .opblock-external-docs-wrapper p,.swagger-ui .opblock-title_normal p{color:#3b4151;font-family:sans-serif;font-size:14px;margin:0}.swagger-ui .opblock-external-docs-wrapper h4{padding-left:0}.swagger-ui .execute-wrapper{padding:20px;text-align:right}.swagger-ui .execute-wrapper .btn{padding:8px 40px;width:100%}.swagger-ui .body-param-options{display:flex;flex-direction:column}.swagger-ui .body-param-options .body-param-edit{padding:10px 0}.swagger-ui .body-param-options label{padding:8px 0}.swagger-ui .body-param-options label select{margin:3px 0 0}.swagger-ui .responses-inner{padding:20px}.swagger-ui .responses-inner h4,.swagger-ui .responses-inner h5{color:#3b4151;font-family:sans-serif;font-size:12px;margin:10px 0 5px}.swagger-ui .responses-inner .curl{white-space:normal}.swagger-ui .response-col_status{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .response-col_status .response-undocumented{color:#909090;font-family:monospace;font-size:11px;font-weight:600}.swagger-ui .response-col_links{color:#3b4151;font-family:sans-serif;font-size:14px;max-width:40em;padding-left:2em}.swagger-ui .response-col_links .response-undocumented{color:#909090;font-family:monospace;font-size:11px;font-weight:600}.swagger-ui .response-col_links .operation-link{margin-bottom:1.5em}.swagger-ui .response-col_links .operation-link .description{margin-bottom:.5em}.swagger-ui .opblock-body .opblock-loading-animation{display:block;margin:3em auto}.swagger-ui .opblock-body pre.microlight{word-wrap:break-word;background:#333;border-radius:4px;color:#fff;font-family:monospace;font-size:12px;font-weight:600;hyphens:auto;margin:0;padding:10px;white-space:pre-wrap;word-break:break-all;word-break:break-word}.swagger-ui .opblock-body pre.microlight .headerline{display:block}.swagger-ui .highlight-code{position:relative}.swagger-ui .highlight-code>.microlight{max-height:400px;min-height:6em;overflow-y:auto}.swagger-ui .highlight-code>.microlight code{white-space:pre-wrap!important;word-break:break-all}.swagger-ui .curl-command{position:relative}.swagger-ui .download-contents{align-items:center;background:#7d8293;border-radius:4px;bottom:10px;color:#fff;cursor:pointer;display:flex;font-family:sans-serif;font-size:14px;font-weight:600;height:30px;justify-content:center;padding:5px;position:absolute;right:10px;text-align:center}.swagger-ui .scheme-container{background:#fff;box-shadow:0 1px 2px #00000026;margin:0 0 20px;padding:30px 0}.swagger-ui .scheme-container .schemes{align-items:flex-end;display:flex}.swagger-ui .scheme-container .schemes>label{color:#3b4151;display:flex;flex-direction:column;font-family:sans-serif;font-size:12px;font-weight:700;margin:-20px 15px 0 0}.swagger-ui .scheme-container .schemes>label select{min-width:130px;text-transform:uppercase}.swagger-ui .loading-container{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-top:1em;min-height:1px;padding:40px 0 60px}.swagger-ui .loading-container .loading{position:relative}.swagger-ui .loading-container .loading:after{color:#3b4151;content:"loading";font-family:sans-serif;font-size:10px;font-weight:700;left:50%;position:absolute;text-transform:uppercase;top:50%;transform:translate(-50%,-50%)}.swagger-ui .loading-container .loading:before{animation:rotation 1s linear infinite,opacity .5s;backface-visibility:hidden;border:2px solid rgba(85,85,85,.1);border-radius:100%;border-top-color:#0009;content:"";display:block;height:60px;left:50%;margin:-30px;opacity:1;position:absolute;top:50%;width:60px}@keyframes rotation{to{transform:rotate(1turn)}}.swagger-ui .response-controls{display:flex;padding-top:1em}.swagger-ui .response-control-media-type{margin-right:1em}.swagger-ui .response-control-media-type--accept-controller select{border-color:green}.swagger-ui .response-control-media-type__accept-message{color:green;font-size:.7em}.swagger-ui .response-control-examples__title,.swagger-ui .response-control-media-type__title{display:block;font-size:.7em;margin-bottom:.2em}@keyframes blinker{50%{opacity:0}}.swagger-ui .hidden{display:none}.swagger-ui .no-margin{border:none;height:auto;margin:0;padding:0}.swagger-ui .float-right{float:right}.swagger-ui .svg-assets{height:0;position:absolute;width:0}.swagger-ui section h3{color:#3b4151;font-family:sans-serif}.swagger-ui a.nostyle{display:inline}.swagger-ui a.nostyle,.swagger-ui a.nostyle:visited{color:inherit;cursor:pointer;text-decoration:inherit}.swagger-ui .fallback{color:#aaa;padding:1em}.swagger-ui .version-pragma{height:100%;padding:5em 0}.swagger-ui .version-pragma__message{display:flex;font-size:1.2em;height:100%;justify-content:center;line-height:1.5em;padding:0 .6em;text-align:center}.swagger-ui .version-pragma__message>div{flex:1;max-width:55ch}.swagger-ui .version-pragma__message code{background-color:#dedede;padding:4px 4px 2px;white-space:pre}.swagger-ui .opblock-link{font-weight:400}.swagger-ui .opblock-link.shown{font-weight:700}.swagger-ui span.token-string{color:#555}.swagger-ui span.token-not-formatted{color:#555;font-weight:700}.swagger-ui .btn{background:transparent;border:2px solid gray;border-radius:4px;box-shadow:0 1px 2px #0000001a;color:#3b4151;font-family:sans-serif;font-size:14px;font-weight:700;padding:5px 23px;transition:all .3s}.swagger-ui .btn.btn-sm{font-size:12px;padding:4px 23px}.swagger-ui .btn[disabled]{cursor:not-allowed;opacity:.3}.swagger-ui .btn:hover{box-shadow:0 0 5px #0000004d}.swagger-ui .btn.cancel{background-color:transparent;border-color:#ff6060;color:#ff6060;font-family:sans-serif}.swagger-ui .btn.authorize{background-color:transparent;border-color:#49cc90;color:#49cc90;display:inline;line-height:1}.swagger-ui .btn.authorize span{float:left;padding:4px 20px 0 0}.swagger-ui .btn.authorize svg{fill:#49cc90}.swagger-ui .btn.execute{background-color:#4990e2;border-color:#4990e2;color:#fff}.swagger-ui .btn-group{display:flex;padding:30px}.swagger-ui .btn-group .btn{flex:1}.swagger-ui .btn-group .btn:first-child{border-radius:4px 0 0 4px}.swagger-ui .btn-group .btn:last-child{border-radius:0 4px 4px 0}.swagger-ui .authorization__btn{background:none;border:none;padding:0 0 0 10px}.swagger-ui .authorization__btn.locked{opacity:1}.swagger-ui .authorization__btn.unlocked{opacity:.4}.swagger-ui .model-box-control,.swagger-ui .models-control,.swagger-ui .opblock-summary-control{all:inherit;border-bottom:0;cursor:pointer;flex:1;padding:0}.swagger-ui .model-box-control:focus,.swagger-ui .models-control:focus,.swagger-ui .opblock-summary-control:focus{outline:auto}.swagger-ui .expand-methods,.swagger-ui .expand-operation{background:none;border:none}.swagger-ui .expand-methods svg,.swagger-ui .expand-operation svg{height:20px;width:20px}.swagger-ui .expand-methods{padding:0 10px}.swagger-ui .expand-methods:hover svg{fill:#404040}.swagger-ui .expand-methods svg{fill:#707070;transition:all .3s}.swagger-ui button{cursor:pointer}.swagger-ui button.invalid{animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui .copy-to-clipboard{align-items:center;background:#7d8293;border:none;border-radius:4px;bottom:10px;display:flex;height:30px;justify-content:center;position:absolute;right:100px;width:30px}.swagger-ui .copy-to-clipboard button{background:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" aria-hidden="true"><path fill="%23fff" fill-rule="evenodd" d="M4 12h4v1H4v-1zm5-6H4v1h5V6zm2 3V7l-3 3 3 3v-2h5V9h-5zM6.5 8H4v1h2.5V8zM4 11h2.5v-1H4v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V5H3v9h10v-2zM4 4h8c0-.55-.45-1-1-1h-1c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H5c-.55 0-1 .45-1 1z"/></svg>') 50% no-repeat;border:none;flex-grow:1;flex-shrink:1;height:25px}.swagger-ui .curl-command .copy-to-clipboard{bottom:5px;height:20px;right:10px;width:20px}.swagger-ui .curl-command .copy-to-clipboard button{height:18px}.swagger-ui select{appearance:none;background:#f7f7f7 url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M13.418 7.859a.695.695 0 0 1 .978 0 .68.68 0 0 1 0 .969l-3.908 3.83a.697.697 0 0 1-.979 0l-3.908-3.83a.68.68 0 0 1 0-.969.695.695 0 0 1 .978 0L10 11l3.418-3.141z"/></svg>') right 10px center no-repeat;background-size:20px;border:2px solid #41444e;border-radius:4px;box-shadow:0 1px 2px #00000040;color:#3b4151;font-family:sans-serif;font-size:14px;font-weight:700;padding:5px 40px 5px 10px}.swagger-ui select[multiple]{background:#f7f7f7;margin:5px 0;padding:5px}.swagger-ui select.invalid{animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui .opblock-body select{min-width:230px}@media (max-width:768px){.swagger-ui .opblock-body select{min-width:180px}}.swagger-ui label{color:#3b4151;font-family:sans-serif;font-size:12px;font-weight:700;margin:0 0 5px}@media (max-width:768px){.swagger-ui input[type=email],.swagger-ui input[type=file],.swagger-ui input[type=password],.swagger-ui input[type=search],.swagger-ui input[type=text]{max-width:175px}}.swagger-ui input[type=email],.swagger-ui input[type=file],.swagger-ui input[type=password],.swagger-ui input[type=search],.swagger-ui input[type=text],.swagger-ui textarea{background:#fff;border:1px solid #d9d9d9;border-radius:4px;margin:5px 0;min-width:100px;padding:8px 10px}.swagger-ui input[type=email].invalid,.swagger-ui input[type=file].invalid,.swagger-ui input[type=password].invalid,.swagger-ui input[type=search].invalid,.swagger-ui input[type=text].invalid,.swagger-ui textarea.invalid{animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui input[disabled],.swagger-ui select[disabled],.swagger-ui textarea[disabled]{background-color:#fafafa;color:#888;cursor:not-allowed}.swagger-ui select[disabled]{border-color:#888}.swagger-ui textarea[disabled]{background-color:#41444e;color:#fff}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}.swagger-ui textarea{background:hsla(0,0%,100%,.8);border:none;border-radius:4px;color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;min-height:280px;outline:none;padding:10px;width:100%}.swagger-ui textarea:focus{border:2px solid #61affe}.swagger-ui textarea.curl{background:#41444e;border-radius:4px;color:#fff;font-family:monospace;font-size:12px;font-weight:600;margin:0;min-height:100px;padding:10px;resize:none}.swagger-ui .checkbox{color:#303030;padding:5px 0 10px;transition:opacity .5s}.swagger-ui .checkbox label{display:flex}.swagger-ui .checkbox p{color:#3b4151;font-family:monospace;font-style:italic;font-weight:400!important;font-weight:600;margin:0!important}.swagger-ui .checkbox input[type=checkbox]{display:none}.swagger-ui .checkbox input[type=checkbox]+label>.item{background:#e8e8e8;border-radius:1px;box-shadow:0 0 0 2px #e8e8e8;cursor:pointer;display:inline-block;flex:none;height:16px;margin:0 8px 0 0;padding:5px;position:relative;top:3px;width:16px}.swagger-ui .checkbox input[type=checkbox]+label>.item:active{transform:scale(.9)}.swagger-ui .checkbox input[type=checkbox]:checked+label>.item{background:#e8e8e8 url('data:image/svg+xml;charset=utf-8,<svg width="10" height="8" viewBox="3 7 10 8" xmlns="http://www.w3.org/2000/svg"><path fill="%2341474E" fill-rule="evenodd" d="M6.333 15 3 11.667l1.333-1.334 2 2L11.667 7 13 8.333z"/></svg>') 50% no-repeat}.swagger-ui .dialog-ux{inset:0;position:fixed;z-index:9999}.swagger-ui .dialog-ux .backdrop-ux{background:rgba(0,0,0,.8);inset:0;position:fixed}.swagger-ui .dialog-ux .modal-ux{background:#fff;border:1px solid #ebebeb;border-radius:4px;box-shadow:0 10px 30px #0003;left:50%;max-width:650px;min-width:300px;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:9999}.swagger-ui .dialog-ux .modal-ux-content{max-height:540px;overflow-y:auto;padding:20px}.swagger-ui .dialog-ux .modal-ux-content p{color:#41444e;color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px}.swagger-ui .dialog-ux .modal-ux-content h4{color:#3b4151;font-family:sans-serif;font-size:18px;font-weight:600;margin:15px 0 0}.swagger-ui .dialog-ux .modal-ux-header{align-items:center;border-bottom:1px solid #ebebeb;display:flex;padding:12px 0}.swagger-ui .dialog-ux .modal-ux-header .close-modal{appearance:none;background:none;border:none;padding:0 10px}.swagger-ui .dialog-ux .modal-ux-header h3{color:#3b4151;flex:1;font-family:sans-serif;font-size:20px;font-weight:600;margin:0;padding:0 20px}.swagger-ui .model{color:#3b4151;font-family:monospace;font-size:12px;font-weight:300;font-weight:600}.swagger-ui .model .deprecated span,.swagger-ui .model .deprecated td{color:#a0a0a0!important}.swagger-ui .model .deprecated>td:first-of-type{text-decoration:line-through}.swagger-ui .model-toggle{cursor:pointer;display:inline-block;font-size:10px;margin:auto .3em;position:relative;top:6px;transform:rotate(90deg);transform-origin:50% 50%;transition:transform .15s ease-in}.swagger-ui .model-toggle.collapsed{transform:rotate(0)}.swagger-ui .model-toggle:after{background:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>') 50% no-repeat;background-size:100%;content:"";display:block;height:20px;width:20px}.swagger-ui .model-jump-to-path{cursor:pointer;position:relative}.swagger-ui .model-jump-to-path .view-line-link{cursor:pointer;position:absolute;top:-.4em}.swagger-ui .model-title{position:relative}.swagger-ui .model-title:hover .model-hint{visibility:visible}.swagger-ui .model-hint{background:rgba(0,0,0,.7);border-radius:4px;color:#ebebeb;padding:.1em .5em;position:absolute;top:-1.8em;visibility:hidden;white-space:nowrap}.swagger-ui .model p{margin:0 0 1em}.swagger-ui .model .property{color:#999;font-style:italic}.swagger-ui .model .property.primitive{color:#6b6b6b}.swagger-ui table.model tr.description{color:#666;font-weight:400}.swagger-ui table.model tr.description td:first-child,.swagger-ui table.model tr.property-row.required td:first-child{font-weight:700}.swagger-ui table.model tr.property-row td{vertical-align:top}.swagger-ui table.model tr.property-row td:first-child{padding-right:.2em}.swagger-ui table.model tr.property-row .star{color:red}.swagger-ui table.model tr.extension{color:#777}.swagger-ui table.model tr.extension td:last-child{vertical-align:top}.swagger-ui section.models{border:1px solid rgba(59,65,81,.3);border-radius:4px;margin:30px 0}.swagger-ui section.models .pointer{cursor:pointer}.swagger-ui section.models.is-open{padding:0 0 20px}.swagger-ui section.models.is-open h4{border-bottom:1px solid rgba(59,65,81,.3);margin:0 0 5px}.swagger-ui section.models h4{align-items:center;color:#606060;cursor:pointer;display:flex;font-family:sans-serif;font-size:16px;margin:0;padding:10px 20px 10px 10px;transition:all .2s}.swagger-ui section.models h4 svg{transition:all .4s}.swagger-ui section.models h4 span{flex:1}.swagger-ui section.models h4:hover{background:rgba(0,0,0,.02)}.swagger-ui section.models h5{color:#707070;font-family:sans-serif;font-size:16px;margin:0 0 10px}.swagger-ui section.models .model-jump-to-path{position:relative;top:5px}.swagger-ui section.models .model-container{background:rgba(0,0,0,.05);border-radius:4px;margin:0 20px 15px;position:relative;transition:all .5s}.swagger-ui section.models .model-container:hover{background:rgba(0,0,0,.07)}.swagger-ui section.models .model-container:first-of-type{margin:20px}.swagger-ui section.models .model-container:last-of-type{margin:0 20px}.swagger-ui section.models .model-container .models-jump-to-path{opacity:.65;position:absolute;right:5px;top:8px}.swagger-ui section.models .model-box{background:none}.swagger-ui .model-box{background:rgba(0,0,0,.1);border-radius:4px;display:inline-block;padding:10px}.swagger-ui .model-box .model-jump-to-path{position:relative;top:4px}.swagger-ui .model-box.deprecated{opacity:.5}.swagger-ui .model-title{color:#505050;font-family:sans-serif;font-size:16px}.swagger-ui .model-title img{bottom:0;margin-left:1em;position:relative}.swagger-ui .model-deprecated-warning{color:#f93e3e;font-family:sans-serif;font-size:16px;font-weight:600;margin-right:1em}.swagger-ui span>span.model .brace-close{padding:0 0 0 10px}.swagger-ui .prop-name{display:inline-block;margin-right:1em}.swagger-ui .prop-type{color:#55a}.swagger-ui .prop-enum{display:block}.swagger-ui .prop-format{color:#606060}.swagger-ui .servers>label{color:#3b4151;font-family:sans-serif;font-size:12px;margin:-20px 15px 0 0}.swagger-ui .servers>label select{max-width:100%;min-width:130px}.swagger-ui .servers h4.message{padding-bottom:2em}.swagger-ui .servers table tr{width:30em}.swagger-ui .servers table td{display:inline-block;max-width:15em;padding-bottom:10px;padding-top:10px;vertical-align:middle}.swagger-ui .servers table td:first-of-type{padding-right:1em}.swagger-ui .servers table td input{height:100%;width:100%}.swagger-ui .servers .computed-url{margin:2em 0}.swagger-ui .servers .computed-url code{display:inline-block;font-size:16px;margin:0 1em;padding:4px}.swagger-ui .servers-title{font-size:12px;font-weight:700}.swagger-ui .operation-servers h4.message{margin-bottom:2em}.swagger-ui table{border-collapse:collapse;padding:0 10px;width:100%}.swagger-ui table.model tbody tr td{padding:0;vertical-align:top}.swagger-ui table.model tbody tr td:first-of-type{padding:0 0 0 2em;width:174px}.swagger-ui table.headers td{color:#3b4151;font-family:monospace;font-size:12px;font-weight:300;font-weight:600;vertical-align:middle}.swagger-ui table.headers .header-example{color:#999;font-style:italic}.swagger-ui table tbody tr td{padding:10px 0 0;vertical-align:top}.swagger-ui table tbody tr td:first-of-type{min-width:6em;padding:10px 0}.swagger-ui table thead tr td,.swagger-ui table thead tr th{border-bottom:1px solid rgba(59,65,81,.2);color:#3b4151;font-family:sans-serif;font-size:12px;font-weight:700;padding:12px 0;text-align:left}.swagger-ui .parameters-col_description{margin-bottom:2em;width:99%}.swagger-ui .parameters-col_description input[type=text]{max-width:340px;width:100%}.swagger-ui .parameters-col_description select{border-width:1px}.swagger-ui .parameter__name{color:#3b4151;font-family:sans-serif;font-size:16px;font-weight:400;margin-right:.75em}.swagger-ui .parameter__name.required{font-weight:700}.swagger-ui .parameter__name.required span{color:red}.swagger-ui .parameter__name.required:after{color:#f009;content:"required";font-size:10px;padding:5px;position:relative;top:-6px}.swagger-ui .parameter__extension,.swagger-ui .parameter__in{color:gray;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .parameter__deprecated{color:red;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .parameter__empty_value_toggle{display:block;font-size:13px;padding-bottom:12px;padding-top:5px}.swagger-ui .parameter__empty_value_toggle input{margin-right:7px}.swagger-ui .parameter__empty_value_toggle.disabled{opacity:.7}.swagger-ui .table-container{padding:20px}.swagger-ui .response-col_description{width:99%}.swagger-ui .response-col_links{min-width:6em}.swagger-ui .response__extension{color:gray;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .topbar{background-color:#1b1b1b;padding:10px 0}.swagger-ui .topbar .topbar-wrapper,.swagger-ui .topbar a{align-items:center;display:flex}.swagger-ui .topbar a{color:#fff;flex:1;font-family:sans-serif;font-size:1.5em;font-weight:700;max-width:300px;text-decoration:none}.swagger-ui .topbar a span{margin:0;padding:0 10px}.swagger-ui .topbar .download-url-wrapper{display:flex;flex:3;justify-content:flex-end}.swagger-ui .topbar .download-url-wrapper input[type=text]{border:2px solid #62a03f;border-radius:4px 0 0 4px;margin:0;outline:none;width:100%}.swagger-ui .topbar .download-url-wrapper .select-label{align-items:center;color:#f0f0f0;display:flex;margin:0;max-width:600px;width:100%}.swagger-ui .topbar .download-url-wrapper .select-label span{flex:1;font-size:16px;padding:0 10px 0 0;text-align:right}.swagger-ui .topbar .download-url-wrapper .select-label select{border:2px solid #62a03f;box-shadow:none;flex:2;outline:none;width:100%}.swagger-ui .topbar .download-url-wrapper .download-url-button{background:#62a03f;border:none;border-radius:0 4px 4px 0;color:#fff;font-family:sans-serif;font-size:16px;font-weight:700;padding:4px 30px}.swagger-ui .info{margin:50px 0}.swagger-ui .info.failed-config{margin-left:auto;margin-right:auto;max-width:880px;text-align:center}.swagger-ui .info hgroup.main{margin:0 0 20px}.swagger-ui .info hgroup.main a{font-size:12px}.swagger-ui .info pre{font-size:14px}.swagger-ui .info li,.swagger-ui .info p,.swagger-ui .info table{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .info h1,.swagger-ui .info h2,.swagger-ui .info h3,.swagger-ui .info h4,.swagger-ui .info h5{color:#3b4151;font-family:sans-serif}.swagger-ui .info a{color:#4990e2;font-family:sans-serif;font-size:14px;transition:all .4s}.swagger-ui .info a:hover{color:#1f69c0}.swagger-ui .info>div{margin:0 0 5px}.swagger-ui .info .base-url{color:#3b4151;font-family:monospace;font-size:12px;font-weight:300!important;font-weight:600;margin:0}.swagger-ui .info .title{color:#3b4151;font-family:sans-serif;font-size:36px;margin:0}.swagger-ui .info .title small{background:#7d8492;border-radius:57px;display:inline-block;font-size:10px;margin:0 0 0 5px;padding:2px 4px;position:relative;top:-5px;vertical-align:super}.swagger-ui .info .title small.version-stamp{background-color:#89bf04}.swagger-ui .info .title small pre{color:#fff;font-family:sans-serif;margin:0;padding:0}.swagger-ui .auth-btn-wrapper{display:flex;justify-content:center;padding:10px 0}.swagger-ui .auth-btn-wrapper .btn-done{margin-right:1em}.swagger-ui .auth-wrapper{display:flex;flex:1;justify-content:flex-end}.swagger-ui .auth-wrapper .authorize{margin-right:10px;padding-right:20px}.swagger-ui .auth-container{border-bottom:1px solid #ebebeb;margin:0 0 10px;padding:10px 20px}.swagger-ui .auth-container:last-of-type{border:0;margin:0;padding:10px 20px}.swagger-ui .auth-container h4{margin:5px 0 15px!important}.swagger-ui .auth-container .wrapper{margin:0;padding:0}.swagger-ui .auth-container input[type=password],.swagger-ui .auth-container input[type=text]{min-width:230px}.swagger-ui .auth-container .errors{background-color:#fee;border-radius:4px;color:red;color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;margin:1em;padding:10px}.swagger-ui .auth-container .errors b{margin-right:1em;text-transform:capitalize}.swagger-ui .scopes h2{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .scopes h2 a{color:#4990e2;cursor:pointer;font-size:12px;padding-left:10px;text-decoration:underline}.swagger-ui .scope-def{padding:0 0 20px}.swagger-ui .errors-wrapper{animation:scaleUp .5s;background:rgba(249,62,62,.1);border:2px solid #f93e3e;border-radius:4px;margin:20px;padding:10px 20px}.swagger-ui .errors-wrapper .error-wrapper{margin:0 0 10px}.swagger-ui .errors-wrapper .errors h4{color:#3b4151;font-family:monospace;font-size:14px;font-weight:600;margin:0}.swagger-ui .errors-wrapper .errors small{color:#606060}.swagger-ui .errors-wrapper .errors .message{white-space:pre-line}.swagger-ui .errors-wrapper .errors .message.thrown{max-width:100%}.swagger-ui .errors-wrapper .errors .error-line{cursor:pointer;text-decoration:underline}.swagger-ui .errors-wrapper hgroup{align-items:center;display:flex}.swagger-ui .errors-wrapper hgroup h4{color:#3b4151;flex:1;font-family:sans-serif;font-size:20px;margin:0}@keyframes scaleUp{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.swagger-ui .Resizer.vertical.disabled{display:none}.swagger-ui .markdown p,.swagger-ui .markdown pre,.swagger-ui .renderedMarkdown p,.swagger-ui .renderedMarkdown pre{margin:1em auto;word-break:break-all;word-break:break-word}.swagger-ui .markdown pre,.swagger-ui .renderedMarkdown pre{background:none;color:#000;font-weight:400;padding:0;white-space:pre-wrap}.swagger-ui .markdown code,.swagger-ui .renderedMarkdown code{background:rgba(0,0,0,.05);border-radius:4px;color:#9012fe;font-family:monospace;font-size:14px;font-weight:600;padding:5px 7px}.swagger-ui .markdown pre>code,.swagger-ui .renderedMarkdown pre>code{display:block}.toast-center-center{top:50%;left:50%;transform:translate(-50%,-50%)}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}.toast-title{font-weight:700}.toast-message{word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #ffffff}.toast-close-button:hover,.toast-close-button:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button{padding:0;cursor:pointer;background:transparent;border:0}.toast-container{pointer-events:none;position:fixed;z-index:999999}.toast-container *{box-sizing:border-box}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container .ngx-toastr:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+)}.toast-error{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+)}.toast-success{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==)}.toast-warning{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==)}.toast-container.toast-top-center .ngx-toastr,.toast-container.toast-bottom-center .ngx-toastr{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-top-full-width .ngx-toastr,.toast-container.toast-bottom-full-width .ngx-toastr{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr{background-color:#030303;pointer-events:auto}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width: 240px){.toast-container .ngx-toastr.div{padding:8px 8px 8px 50px;width:11em}.toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width: 241px) and (max-width: 480px){.toast-container .ngx-toastr.div{padding:8px 8px 8px 50px;width:18em}.toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width: 481px) and (max-width: 768px){.toast-container .ngx-toastr.div{padding:15px 15px 15px 50px;width:25em}}.tree-children.tree-children-no-padding{padding-left:0}.tree-children{padding-left:20px;overflow:hidden}.node-drop-slot{display:block;height:2px}.node-drop-slot.is-dragging-over{background:#ddffee;height:20px;border:2px dotted #888}.toggle-children-wrapper-expanded .toggle-children{transform:rotate(90deg)}.toggle-children-wrapper-collapsed .toggle-children{transform:rotate(0)}.toggle-children-wrapper{padding:2px 3px 5px 1px}.toggle-children{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABAhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ1dWlkOjY1RTYzOTA2ODZDRjExREJBNkUyRDg4N0NFQUNCNDA3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkYzRkRFQjcxODUzNTExRTU4RTQwRkQwODFEOUZEMEE3IiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkYzRkRFQjcwODUzNTExRTU4RTQwRkQwODFEOUZEMEE3IiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MTk5NzA1OGEtZDI3OC00NDZkLWE4ODgtNGM4MGQ4YWI1NzNmIiBzdFJlZjpkb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6YzRkZmQxMGMtY2NlNS0xMTc4LWE5OGQtY2NkZmM5ODk5YWYwIi8+IDxkYzp0aXRsZT4gPHJkZjpBbHQ+IDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+Z2x5cGhpY29uczwvcmRmOmxpPiA8L3JkZjpBbHQ+IDwvZGM6dGl0bGU+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+5iogFwAAAGhJREFUeNpiYGBgKABigf///zOQg0EARH4A4gZyDIIZ8B/JoAJKDIDhB0CcQIkBRBtEyABkgxwoMQCGD6AbRKoBGAYxQgXIBRuZGKgAKPIC3QLxArnRSHZCIjspk52ZKMrOFBUoAAEGAKnq593MQAZtAAAAAElFTkSuQmCC);height:8px;width:9px;background-size:contain;display:inline-block;position:relative;top:1px;background-repeat:no-repeat;background-position:center}.toggle-children-placeholder{display:inline-block;height:10px;width:10px;position:relative;top:1px;padding-right:3px}.node-content-wrapper{display:inline-block;padding:2px 5px;border-radius:2px;transition:background-color .15s,box-shadow .15s}.node-wrapper{display:flex;align-items:flex-start}.node-content-wrapper-active,.node-content-wrapper.node-content-wrapper-active:hover,.node-content-wrapper-active.node-content-wrapper-focused{background:#beebff}.node-content-wrapper-focused{background:#e7f4f9}.node-content-wrapper:hover{background:#f7fbff}.node-content-wrapper-active,.node-content-wrapper-focused,.node-content-wrapper:hover{box-shadow:inset 0 0 1px #999}.node-content-wrapper.is-dragging-over{background:#ddffee;box-shadow:inset 0 0 1px #999}.node-content-wrapper.is-dragging-over-disabled{opacity:.5}tree-viewport{-webkit-tap-highlight-color:transparent;height:100%;overflow:auto;display:block}.tree-children{padding-left:20px}.empty-tree-drop-slot .node-drop-slot{height:20px;min-width:100px}.angular-tree-component{width:100%;position:relative;display:inline-block;cursor:pointer;-webkit-touch-callout:none;user-select:none}tree-root .angular-tree-component-rtl{direction:rtl}tree-root .angular-tree-component-rtl .toggle-children-wrapper-collapsed .toggle-children{transform:rotate(180deg)!important}tree-root .angular-tree-component-rtl .tree-children{padding-right:20px;padding-left:0}tree-node-checkbox{padding:1px}@charset "UTF-8";:root{--white: #fff;--gray-100: #f8f9fa;--gray-200: #e9ecef;--gray-300: #dee2e6;--gray-400: #ced4da;--gray-500: #adb5bd;--gray-600: #6c757d;--gray-700: #495057;--gray-800: #343a40;--gray-900: #212529;--black: #000;--blue: #007bff;--indigo: #6610f2;--purple: #6f42c1;--pink: #a94442;--red: #dc3545;--orange: #fd7e14;--yellow: #d48200;--green: #008a00;--teal: #20c997;--cyan: #17a2b8;--barley-white: #fcecba;--primary: #25828e;--primary-500: #2b99a8;--secondary: #374249;--success: #008a00;--info: #25828e;--warning: #d48200;--danger: #dc3545;--light: #f8f9fa;--dark: #343a40;--green-300: #6ec664;--cyan-300: #009596;--purple-300: #a18fff;--light-blue-300: #35caed;--gold-300: #f4c145;--light-green-300: #ace12e;--accent: #25828e;--warning-dark: #fd7e14;--fg-color-over-dark-bg: #fff;--fg-hover-color-over-dark-bg: #adb5bd;--body-color-bright: #f8f9fa;--body-bg: #fff;--body-color: #212529;--body-bg-alt: #e9ecef;--health-color-error: #dc3545;--health-color-healthy: #008a00;--health-color-warning: #d48200;--health-color-warning-800: #9d6d10;--chart-color-red: #dc3545;--chart-color-blue: #06c;--chart-color-orange: #ef9234;--chart-color-yellow: #f6d173;--chart-color-green: #008a00;--chart-color-gray: #ededed;--chart-color-cyan: #2b99a8;--chart-color-light-gray: #f0f0f0;--chart-color-slight-dark-gray: #d7d7d7;--chart-color-dark-gray: #afafaf;--chart-color-purple: #3c3d99;--chart-color-white: #fff;--chart-color-center-text: #151515;--chart-color-center-text-description: #72767b;--chart-color-tooltip-background: #000;--chart-danger: #c9190b;--chart-color-strong-blue: #0078c8;--chart-color-translucent-blue: rgba(0, 150, 220, .5019607843);--chart-color-border: rgba(0, 0, 0, .1254901961);--chart-color-translucent-yellow: rgba(239, 146, 52, .4470588235);--font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--card-cap-bg: #f8f9fa;--grid-gutter-width: 30px;--datatable-divider-color: rgba(0, 0, 0, .09);--nav-tabs-margin-bottom: 1rem;--tooltip-color: #fff;--tooltip-bg: #212529;--tooltip-opacity: 1;--screen-sm-min: 576px;--screen-md-min: 768px;--screen-lg-min: 992px;--screen-xl-min: 1200px;--tree-container-height: 200px;--screen-xs-max:575px;--screen-sm-max:767px;--screen-md-max:991px;--screen-lg-max:1199px;--navbar-height: 43px}/*!
+.swagger-ui{color:#3b4151;font-family:sans-serif}.swagger-ui html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.15}.swagger-ui body{margin:0}.swagger-ui article,.swagger-ui aside,.swagger-ui footer,.swagger-ui header,.swagger-ui nav,.swagger-ui section{display:block}.swagger-ui h1{font-size:2em;margin:.67em 0}.swagger-ui figcaption,.swagger-ui figure,.swagger-ui main{display:block}.swagger-ui figure{margin:1em 40px}.swagger-ui hr{box-sizing:content-box;height:0;overflow:visible}.swagger-ui pre{font-family:monospace,monospace;font-size:1em}.swagger-ui a{-webkit-text-decoration-skip:objects;background-color:transparent}.swagger-ui abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}.swagger-ui b,.swagger-ui strong{font-weight:inherit;font-weight:bolder}.swagger-ui code,.swagger-ui kbd,.swagger-ui samp{font-family:monospace,monospace;font-size:1em}.swagger-ui dfn{font-style:italic}.swagger-ui mark{background-color:#ff0;color:#000}.swagger-ui small{font-size:80%}.swagger-ui sub,.swagger-ui sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.swagger-ui sub{bottom:-.25em}.swagger-ui sup{top:-.5em}.swagger-ui audio,.swagger-ui video{display:inline-block}.swagger-ui audio:not([controls]){display:none;height:0}.swagger-ui img{border-style:none}.swagger-ui svg:not(:root){overflow:hidden}.swagger-ui button,.swagger-ui input,.swagger-ui optgroup,.swagger-ui select,.swagger-ui textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}.swagger-ui button,.swagger-ui input{overflow:visible}.swagger-ui button,.swagger-ui select{text-transform:none}.swagger-ui [type=reset],.swagger-ui [type=submit],.swagger-ui button,.swagger-ui html [type=button]{-webkit-appearance:button}.swagger-ui [type=button]::-moz-focus-inner,.swagger-ui [type=reset]::-moz-focus-inner,.swagger-ui [type=submit]::-moz-focus-inner,.swagger-ui button::-moz-focus-inner{border-style:none;padding:0}.swagger-ui [type=button]:-moz-focusring,.swagger-ui [type=reset]:-moz-focusring,.swagger-ui [type=submit]:-moz-focusring,.swagger-ui button:-moz-focusring{outline:1px dotted ButtonText}.swagger-ui fieldset{padding:.35em .75em .625em}.swagger-ui legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}.swagger-ui progress{display:inline-block;vertical-align:baseline}.swagger-ui textarea{overflow:auto}.swagger-ui [type=checkbox],.swagger-ui [type=radio]{box-sizing:border-box;padding:0}.swagger-ui [type=number]::-webkit-inner-spin-button,.swagger-ui [type=number]::-webkit-outer-spin-button{height:auto}.swagger-ui [type=search]{-webkit-appearance:textfield;outline-offset:-2px}.swagger-ui [type=search]::-webkit-search-cancel-button,.swagger-ui [type=search]::-webkit-search-decoration{-webkit-appearance:none}.swagger-ui ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.swagger-ui details,.swagger-ui menu{display:block}.swagger-ui summary{display:list-item}.swagger-ui canvas{display:inline-block}.swagger-ui [hidden],.swagger-ui template{display:none}.swagger-ui .debug *{outline:1px solid gold}.swagger-ui .debug-white *{outline:1px solid #fff}.swagger-ui .debug-black *{outline:1px solid #000}.swagger-ui .debug-grid{background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTRDOTY4N0U2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTRDOTY4N0Q2N0VFMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3NjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3NzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PsBS+GMAAAAjSURBVHjaYvz//z8DLsD4gcGXiYEAGBIKGBne//fFpwAgwAB98AaF2pjlUQAAAABJRU5ErkJggg==) repeat 0 0}.swagger-ui .debug-grid-16{background:transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODYyRjhERDU2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODYyRjhERDQ2N0YyMTFFNjg2MzZDQjkwNkQ4MjgwMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QTY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3QjY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvCS01IAAABMSURBVHjaYmR4/5+BFPBfAMFm/MBgx8RAGWCn1AAmSg34Q6kBDKMGMDCwICeMIemF/5QawEipAWwUhwEjMDvbAWlWkvVBwu8vQIABAEwBCph8U6c0AAAAAElFTkSuQmCC) repeat 0 0}.swagger-ui .debug-grid-8-solid{background:#fff url(data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAAAAAD/4QMxaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzExMSA3OS4xNTgzMjUsIDIwMTUvMDkvMTAtMDE6MTA6MjAgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkIxMjI0OTczNjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkIxMjI0OTc0NjdCMzExRTZCMkJDRTI0MDgxMDAyMTcxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QjEyMjQ5NzE2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QjEyMjQ5NzI2N0IzMTFFNkIyQkNFMjQwODEwMDIxNzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAbGhopHSlBJiZBQi8vL0JHPz4+P0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHAR0pKTQmND8oKD9HPzU/R0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0f/wAARCAAIAAgDASIAAhEBAxEB/8QAWQABAQAAAAAAAAAAAAAAAAAAAAYBAQEAAAAAAAAAAAAAAAAAAAIEEAEBAAMBAAAAAAAAAAAAAAABADECA0ERAAEDBQAAAAAAAAAAAAAAAAARITFBUWESIv/aAAwDAQACEQMRAD8AoOnTV1QTD7JJshP3vSM3P//Z) repeat 0 0}.swagger-ui .debug-grid-16-solid{background:#fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzY3MkJEN0U2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzY3MkJEN0Y2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3NjcyQkQ3QzY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo3NjcyQkQ3RDY3QzUxMUU2QjJCQ0UyNDA4MTAwMjE3MSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pve6J3kAAAAzSURBVHjaYvz//z8D0UDsMwMjSRoYP5Gq4SPNbRjVMEQ1fCRDg+in/6+J1AJUxsgAEGAA31BAJMS0GYEAAAAASUVORK5CYII=) repeat 0 0}.swagger-ui .border-box,.swagger-ui a,.swagger-ui article,.swagger-ui body,.swagger-ui code,.swagger-ui dd,.swagger-ui div,.swagger-ui dl,.swagger-ui dt,.swagger-ui fieldset,.swagger-ui footer,.swagger-ui form,.swagger-ui h1,.swagger-ui h2,.swagger-ui h3,.swagger-ui h4,.swagger-ui h5,.swagger-ui h6,.swagger-ui header,.swagger-ui html,.swagger-ui input[type=email],.swagger-ui input[type=number],.swagger-ui input[type=password],.swagger-ui input[type=tel],.swagger-ui input[type=text],.swagger-ui input[type=url],.swagger-ui legend,.swagger-ui li,.swagger-ui main,.swagger-ui ol,.swagger-ui p,.swagger-ui pre,.swagger-ui section,.swagger-ui table,.swagger-ui td,.swagger-ui textarea,.swagger-ui th,.swagger-ui tr,.swagger-ui ul{box-sizing:border-box}.swagger-ui .aspect-ratio{height:0;position:relative}.swagger-ui .aspect-ratio--16x9{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1{padding-bottom:100%}.swagger-ui .aspect-ratio--object{height:100%;inset:0;position:absolute;width:100%;z-index:100}@media screen and (min-width:30em){.swagger-ui .aspect-ratio-ns{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-ns{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-ns{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-ns{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-ns{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-ns{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-ns{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-ns{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-ns{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-ns{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-ns{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-ns{padding-bottom:100%}.swagger-ui .aspect-ratio--object-ns{height:100%;inset:0;position:absolute;width:100%;z-index:100}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .aspect-ratio-m{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-m{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-m{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-m{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-m{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-m{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-m{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-m{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-m{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-m{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-m{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-m{padding-bottom:100%}.swagger-ui .aspect-ratio--object-m{height:100%;inset:0;position:absolute;width:100%;z-index:100}}@media screen and (min-width:60em){.swagger-ui .aspect-ratio-l{height:0;position:relative}.swagger-ui .aspect-ratio--16x9-l{padding-bottom:56.25%}.swagger-ui .aspect-ratio--9x16-l{padding-bottom:177.77%}.swagger-ui .aspect-ratio--4x3-l{padding-bottom:75%}.swagger-ui .aspect-ratio--3x4-l{padding-bottom:133.33%}.swagger-ui .aspect-ratio--6x4-l{padding-bottom:66.6%}.swagger-ui .aspect-ratio--4x6-l{padding-bottom:150%}.swagger-ui .aspect-ratio--8x5-l{padding-bottom:62.5%}.swagger-ui .aspect-ratio--5x8-l{padding-bottom:160%}.swagger-ui .aspect-ratio--7x5-l{padding-bottom:71.42%}.swagger-ui .aspect-ratio--5x7-l{padding-bottom:140%}.swagger-ui .aspect-ratio--1x1-l{padding-bottom:100%}.swagger-ui .aspect-ratio--object-l{height:100%;inset:0;position:absolute;width:100%;z-index:100}}.swagger-ui img{max-width:100%}.swagger-ui .cover{background-size:cover!important}.swagger-ui .contain{background-size:contain!important}@media screen and (min-width:30em){.swagger-ui .cover-ns{background-size:cover!important}.swagger-ui .contain-ns{background-size:contain!important}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .cover-m{background-size:cover!important}.swagger-ui .contain-m{background-size:contain!important}}@media screen and (min-width:60em){.swagger-ui .cover-l{background-size:cover!important}.swagger-ui .contain-l{background-size:contain!important}}.swagger-ui .bg-center{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left{background-position:0;background-repeat:no-repeat}@media screen and (min-width:30em){.swagger-ui .bg-center-ns{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-ns{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-ns{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-ns{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-ns{background-position:0;background-repeat:no-repeat}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .bg-center-m{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-m{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-m{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-m{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-m{background-position:0;background-repeat:no-repeat}}@media screen and (min-width:60em){.swagger-ui .bg-center-l{background-position:50%;background-repeat:no-repeat}.swagger-ui .bg-top-l{background-position:top;background-repeat:no-repeat}.swagger-ui .bg-right-l{background-position:100%;background-repeat:no-repeat}.swagger-ui .bg-bottom-l{background-position:bottom;background-repeat:no-repeat}.swagger-ui .bg-left-l{background-position:0;background-repeat:no-repeat}}.swagger-ui .outline{outline:1px solid}.swagger-ui .outline-transparent{outline:1px solid transparent}.swagger-ui .outline-0{outline:0}@media screen and (min-width:30em){.swagger-ui .outline-ns{outline:1px solid}.swagger-ui .outline-transparent-ns{outline:1px solid transparent}.swagger-ui .outline-0-ns{outline:0}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .outline-m{outline:1px solid}.swagger-ui .outline-transparent-m{outline:1px solid transparent}.swagger-ui .outline-0-m{outline:0}}@media screen and (min-width:60em){.swagger-ui .outline-l{outline:1px solid}.swagger-ui .outline-transparent-l{outline:1px solid transparent}.swagger-ui .outline-0-l{outline:0}}.swagger-ui .ba{border-style:solid;border-width:1px}.swagger-ui .bt{border-top-style:solid;border-top-width:1px}.swagger-ui .br{border-right-style:solid;border-right-width:1px}.swagger-ui .bb{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl{border-left-style:solid;border-left-width:1px}.swagger-ui .bn{border-style:none;border-width:0}@media screen and (min-width:30em){.swagger-ui .ba-ns{border-style:solid;border-width:1px}.swagger-ui .bt-ns{border-top-style:solid;border-top-width:1px}.swagger-ui .br-ns{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-ns{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-ns{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-ns{border-style:none;border-width:0}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .ba-m{border-style:solid;border-width:1px}.swagger-ui .bt-m{border-top-style:solid;border-top-width:1px}.swagger-ui .br-m{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-m{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-m{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-m{border-style:none;border-width:0}}@media screen and (min-width:60em){.swagger-ui .ba-l{border-style:solid;border-width:1px}.swagger-ui .bt-l{border-top-style:solid;border-top-width:1px}.swagger-ui .br-l{border-right-style:solid;border-right-width:1px}.swagger-ui .bb-l{border-bottom-style:solid;border-bottom-width:1px}.swagger-ui .bl-l{border-left-style:solid;border-left-width:1px}.swagger-ui .bn-l{border-style:none;border-width:0}}.swagger-ui .b--black{border-color:#000}.swagger-ui .b--near-black{border-color:#111}.swagger-ui .b--dark-gray{border-color:#333}.swagger-ui .b--mid-gray{border-color:#555}.swagger-ui .b--gray{border-color:#777}.swagger-ui .b--silver{border-color:#999}.swagger-ui .b--light-silver{border-color:#aaa}.swagger-ui .b--moon-gray{border-color:#ccc}.swagger-ui .b--light-gray{border-color:#eee}.swagger-ui .b--near-white{border-color:#f4f4f4}.swagger-ui .b--white{border-color:#fff}.swagger-ui .b--white-90{border-color:#ffffffe6}.swagger-ui .b--white-80{border-color:#fffc}.swagger-ui .b--white-70{border-color:#ffffffb3}.swagger-ui .b--white-60{border-color:#fff9}.swagger-ui .b--white-50{border-color:#ffffff80}.swagger-ui .b--white-40{border-color:#fff6}.swagger-ui .b--white-30{border-color:#ffffff4d}.swagger-ui .b--white-20{border-color:#fff3}.swagger-ui .b--white-10{border-color:#ffffff1a}.swagger-ui .b--white-05{border-color:#ffffff0d}.swagger-ui .b--white-025{border-color:#ffffff06}.swagger-ui .b--white-0125{border-color:#ffffff03}.swagger-ui .b--black-90{border-color:#000000e6}.swagger-ui .b--black-80{border-color:#000c}.swagger-ui .b--black-70{border-color:#000000b3}.swagger-ui .b--black-60{border-color:#0009}.swagger-ui .b--black-50{border-color:#00000080}.swagger-ui .b--black-40{border-color:#0006}.swagger-ui .b--black-30{border-color:#0000004d}.swagger-ui .b--black-20{border-color:#0003}.swagger-ui .b--black-10{border-color:#0000001a}.swagger-ui .b--black-05{border-color:#0000000d}.swagger-ui .b--black-025{border-color:#00000006}.swagger-ui .b--black-0125{border-color:#00000003}.swagger-ui .b--dark-red{border-color:#e7040f}.swagger-ui .b--red{border-color:#ff4136}.swagger-ui .b--light-red{border-color:#ff725c}.swagger-ui .b--orange{border-color:#ff6300}.swagger-ui .b--gold{border-color:#ffb700}.swagger-ui .b--yellow{border-color:gold}.swagger-ui .b--light-yellow{border-color:#fbf1a9}.swagger-ui .b--purple{border-color:#5e2ca5}.swagger-ui .b--light-purple{border-color:#a463f2}.swagger-ui .b--dark-pink{border-color:#d5008f}.swagger-ui .b--hot-pink{border-color:#ff41b4}.swagger-ui .b--pink{border-color:#ff80cc}.swagger-ui .b--light-pink{border-color:#ffa3d7}.swagger-ui .b--dark-green{border-color:#137752}.swagger-ui .b--green{border-color:#19a974}.swagger-ui .b--light-green{border-color:#9eebcf}.swagger-ui .b--navy{border-color:#001b44}.swagger-ui .b--dark-blue{border-color:#00449e}.swagger-ui .b--blue{border-color:#357edd}.swagger-ui .b--light-blue{border-color:#96ccff}.swagger-ui .b--lightest-blue{border-color:#cdecff}.swagger-ui .b--washed-blue{border-color:#f6fffe}.swagger-ui .b--washed-green{border-color:#e8fdf5}.swagger-ui .b--washed-yellow{border-color:#fffceb}.swagger-ui .b--washed-red{border-color:#ffdfdf}.swagger-ui .b--transparent{border-color:transparent}.swagger-ui .b--inherit{border-color:inherit}.swagger-ui .br0{border-radius:0}.swagger-ui .br1{border-radius:.125rem}.swagger-ui .br2{border-radius:.25rem}.swagger-ui .br3{border-radius:.5rem}.swagger-ui .br4{border-radius:1rem}.swagger-ui .br-100{border-radius:100%}.swagger-ui .br-pill{border-radius:9999px}.swagger-ui .br--bottom{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left{border-bottom-right-radius:0;border-top-right-radius:0}@media screen and (min-width:30em){.swagger-ui .br0-ns{border-radius:0}.swagger-ui .br1-ns{border-radius:.125rem}.swagger-ui .br2-ns{border-radius:.25rem}.swagger-ui .br3-ns{border-radius:.5rem}.swagger-ui .br4-ns{border-radius:1rem}.swagger-ui .br-100-ns{border-radius:100%}.swagger-ui .br-pill-ns{border-radius:9999px}.swagger-ui .br--bottom-ns{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-ns{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-ns{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-ns{border-bottom-right-radius:0;border-top-right-radius:0}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .br0-m{border-radius:0}.swagger-ui .br1-m{border-radius:.125rem}.swagger-ui .br2-m{border-radius:.25rem}.swagger-ui .br3-m{border-radius:.5rem}.swagger-ui .br4-m{border-radius:1rem}.swagger-ui .br-100-m{border-radius:100%}.swagger-ui .br-pill-m{border-radius:9999px}.swagger-ui .br--bottom-m{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-m{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-m{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-m{border-bottom-right-radius:0;border-top-right-radius:0}}@media screen and (min-width:60em){.swagger-ui .br0-l{border-radius:0}.swagger-ui .br1-l{border-radius:.125rem}.swagger-ui .br2-l{border-radius:.25rem}.swagger-ui .br3-l{border-radius:.5rem}.swagger-ui .br4-l{border-radius:1rem}.swagger-ui .br-100-l{border-radius:100%}.swagger-ui .br-pill-l{border-radius:9999px}.swagger-ui .br--bottom-l{border-top-left-radius:0;border-top-right-radius:0}.swagger-ui .br--top-l{border-bottom-left-radius:0;border-bottom-right-radius:0}.swagger-ui .br--right-l{border-bottom-left-radius:0;border-top-left-radius:0}.swagger-ui .br--left-l{border-bottom-right-radius:0;border-top-right-radius:0}}.swagger-ui .b--dotted{border-style:dotted}.swagger-ui .b--dashed{border-style:dashed}.swagger-ui .b--solid{border-style:solid}.swagger-ui .b--none{border-style:none}@media screen and (min-width:30em){.swagger-ui .b--dotted-ns{border-style:dotted}.swagger-ui .b--dashed-ns{border-style:dashed}.swagger-ui .b--solid-ns{border-style:solid}.swagger-ui .b--none-ns{border-style:none}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .b--dotted-m{border-style:dotted}.swagger-ui .b--dashed-m{border-style:dashed}.swagger-ui .b--solid-m{border-style:solid}.swagger-ui .b--none-m{border-style:none}}@media screen and (min-width:60em){.swagger-ui .b--dotted-l{border-style:dotted}.swagger-ui .b--dashed-l{border-style:dashed}.swagger-ui .b--solid-l{border-style:solid}.swagger-ui .b--none-l{border-style:none}}.swagger-ui .bw0{border-width:0}.swagger-ui .bw1{border-width:.125rem}.swagger-ui .bw2{border-width:.25rem}.swagger-ui .bw3{border-width:.5rem}.swagger-ui .bw4{border-width:1rem}.swagger-ui .bw5{border-width:2rem}.swagger-ui .bt-0{border-top-width:0}.swagger-ui .br-0{border-right-width:0}.swagger-ui .bb-0{border-bottom-width:0}.swagger-ui .bl-0{border-left-width:0}@media screen and (min-width:30em){.swagger-ui .bw0-ns{border-width:0}.swagger-ui .bw1-ns{border-width:.125rem}.swagger-ui .bw2-ns{border-width:.25rem}.swagger-ui .bw3-ns{border-width:.5rem}.swagger-ui .bw4-ns{border-width:1rem}.swagger-ui .bw5-ns{border-width:2rem}.swagger-ui .bt-0-ns{border-top-width:0}.swagger-ui .br-0-ns{border-right-width:0}.swagger-ui .bb-0-ns{border-bottom-width:0}.swagger-ui .bl-0-ns{border-left-width:0}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .bw0-m{border-width:0}.swagger-ui .bw1-m{border-width:.125rem}.swagger-ui .bw2-m{border-width:.25rem}.swagger-ui .bw3-m{border-width:.5rem}.swagger-ui .bw4-m{border-width:1rem}.swagger-ui .bw5-m{border-width:2rem}.swagger-ui .bt-0-m{border-top-width:0}.swagger-ui .br-0-m{border-right-width:0}.swagger-ui .bb-0-m{border-bottom-width:0}.swagger-ui .bl-0-m{border-left-width:0}}@media screen and (min-width:60em){.swagger-ui .bw0-l{border-width:0}.swagger-ui .bw1-l{border-width:.125rem}.swagger-ui .bw2-l{border-width:.25rem}.swagger-ui .bw3-l{border-width:.5rem}.swagger-ui .bw4-l{border-width:1rem}.swagger-ui .bw5-l{border-width:2rem}.swagger-ui .bt-0-l{border-top-width:0}.swagger-ui .br-0-l{border-right-width:0}.swagger-ui .bb-0-l{border-bottom-width:0}.swagger-ui .bl-0-l{border-left-width:0}}.swagger-ui .shadow-1{box-shadow:0 0 4px 2px #0003}.swagger-ui .shadow-2{box-shadow:0 0 8px 2px #0003}.swagger-ui .shadow-3{box-shadow:2px 2px 4px 2px #0003}.swagger-ui .shadow-4{box-shadow:2px 2px 8px #0003}.swagger-ui .shadow-5{box-shadow:4px 4px 8px #0003}@media screen and (min-width:30em){.swagger-ui .shadow-1-ns{box-shadow:0 0 4px 2px #0003}.swagger-ui .shadow-2-ns{box-shadow:0 0 8px 2px #0003}.swagger-ui .shadow-3-ns{box-shadow:2px 2px 4px 2px #0003}.swagger-ui .shadow-4-ns{box-shadow:2px 2px 8px #0003}.swagger-ui .shadow-5-ns{box-shadow:4px 4px 8px #0003}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .shadow-1-m{box-shadow:0 0 4px 2px #0003}.swagger-ui .shadow-2-m{box-shadow:0 0 8px 2px #0003}.swagger-ui .shadow-3-m{box-shadow:2px 2px 4px 2px #0003}.swagger-ui .shadow-4-m{box-shadow:2px 2px 8px #0003}.swagger-ui .shadow-5-m{box-shadow:4px 4px 8px #0003}}@media screen and (min-width:60em){.swagger-ui .shadow-1-l{box-shadow:0 0 4px 2px #0003}.swagger-ui .shadow-2-l{box-shadow:0 0 8px 2px #0003}.swagger-ui .shadow-3-l{box-shadow:2px 2px 4px 2px #0003}.swagger-ui .shadow-4-l{box-shadow:2px 2px 8px #0003}.swagger-ui .shadow-5-l{box-shadow:4px 4px 8px #0003}}.swagger-ui .pre{overflow-x:auto;overflow-y:hidden;overflow:scroll}.swagger-ui .top-0{top:0}.swagger-ui .right-0{right:0}.swagger-ui .bottom-0{bottom:0}.swagger-ui .left-0{left:0}.swagger-ui .top-1{top:1rem}.swagger-ui .right-1{right:1rem}.swagger-ui .bottom-1{bottom:1rem}.swagger-ui .left-1{left:1rem}.swagger-ui .top-2{top:2rem}.swagger-ui .right-2{right:2rem}.swagger-ui .bottom-2{bottom:2rem}.swagger-ui .left-2{left:2rem}.swagger-ui .top--1{top:-1rem}.swagger-ui .right--1{right:-1rem}.swagger-ui .bottom--1{bottom:-1rem}.swagger-ui .left--1{left:-1rem}.swagger-ui .top--2{top:-2rem}.swagger-ui .right--2{right:-2rem}.swagger-ui .bottom--2{bottom:-2rem}.swagger-ui .left--2{left:-2rem}.swagger-ui .absolute--fill{inset:0}@media screen and (min-width:30em){.swagger-ui .top-0-ns{top:0}.swagger-ui .left-0-ns{left:0}.swagger-ui .right-0-ns{right:0}.swagger-ui .bottom-0-ns{bottom:0}.swagger-ui .top-1-ns{top:1rem}.swagger-ui .left-1-ns{left:1rem}.swagger-ui .right-1-ns{right:1rem}.swagger-ui .bottom-1-ns{bottom:1rem}.swagger-ui .top-2-ns{top:2rem}.swagger-ui .left-2-ns{left:2rem}.swagger-ui .right-2-ns{right:2rem}.swagger-ui .bottom-2-ns{bottom:2rem}.swagger-ui .top--1-ns{top:-1rem}.swagger-ui .right--1-ns{right:-1rem}.swagger-ui .bottom--1-ns{bottom:-1rem}.swagger-ui .left--1-ns{left:-1rem}.swagger-ui .top--2-ns{top:-2rem}.swagger-ui .right--2-ns{right:-2rem}.swagger-ui .bottom--2-ns{bottom:-2rem}.swagger-ui .left--2-ns{left:-2rem}.swagger-ui .absolute--fill-ns{inset:0}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .top-0-m{top:0}.swagger-ui .left-0-m{left:0}.swagger-ui .right-0-m{right:0}.swagger-ui .bottom-0-m{bottom:0}.swagger-ui .top-1-m{top:1rem}.swagger-ui .left-1-m{left:1rem}.swagger-ui .right-1-m{right:1rem}.swagger-ui .bottom-1-m{bottom:1rem}.swagger-ui .top-2-m{top:2rem}.swagger-ui .left-2-m{left:2rem}.swagger-ui .right-2-m{right:2rem}.swagger-ui .bottom-2-m{bottom:2rem}.swagger-ui .top--1-m{top:-1rem}.swagger-ui .right--1-m{right:-1rem}.swagger-ui .bottom--1-m{bottom:-1rem}.swagger-ui .left--1-m{left:-1rem}.swagger-ui .top--2-m{top:-2rem}.swagger-ui .right--2-m{right:-2rem}.swagger-ui .bottom--2-m{bottom:-2rem}.swagger-ui .left--2-m{left:-2rem}.swagger-ui .absolute--fill-m{inset:0}}@media screen and (min-width:60em){.swagger-ui .top-0-l{top:0}.swagger-ui .left-0-l{left:0}.swagger-ui .right-0-l{right:0}.swagger-ui .bottom-0-l{bottom:0}.swagger-ui .top-1-l{top:1rem}.swagger-ui .left-1-l{left:1rem}.swagger-ui .right-1-l{right:1rem}.swagger-ui .bottom-1-l{bottom:1rem}.swagger-ui .top-2-l{top:2rem}.swagger-ui .left-2-l{left:2rem}.swagger-ui .right-2-l{right:2rem}.swagger-ui .bottom-2-l{bottom:2rem}.swagger-ui .top--1-l{top:-1rem}.swagger-ui .right--1-l{right:-1rem}.swagger-ui .bottom--1-l{bottom:-1rem}.swagger-ui .left--1-l{left:-1rem}.swagger-ui .top--2-l{top:-2rem}.swagger-ui .right--2-l{right:-2rem}.swagger-ui .bottom--2-l{bottom:-2rem}.swagger-ui .left--2-l{left:-2rem}.swagger-ui .absolute--fill-l{inset:0}}.swagger-ui .cf:after,.swagger-ui .cf:before{content:" ";display:table}.swagger-ui .cf:after{clear:both}.swagger-ui .cf{*zoom:1}.swagger-ui .cl{clear:left}.swagger-ui .cr{clear:right}.swagger-ui .cb{clear:both}.swagger-ui .cn{clear:none}@media screen and (min-width:30em){.swagger-ui .cl-ns{clear:left}.swagger-ui .cr-ns{clear:right}.swagger-ui .cb-ns{clear:both}.swagger-ui .cn-ns{clear:none}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .cl-m{clear:left}.swagger-ui .cr-m{clear:right}.swagger-ui .cb-m{clear:both}.swagger-ui .cn-m{clear:none}}@media screen and (min-width:60em){.swagger-ui .cl-l{clear:left}.swagger-ui .cr-l{clear:right}.swagger-ui .cb-l{clear:both}.swagger-ui .cn-l{clear:none}}.swagger-ui .flex{display:flex}.swagger-ui .inline-flex{display:inline-flex}.swagger-ui .flex-auto{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none{flex:none}.swagger-ui .flex-column{flex-direction:column}.swagger-ui .flex-row{flex-direction:row}.swagger-ui .flex-wrap{flex-wrap:wrap}.swagger-ui .flex-nowrap{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse{flex-direction:column-reverse}.swagger-ui .flex-row-reverse{flex-direction:row-reverse}.swagger-ui .items-start{align-items:flex-start}.swagger-ui .items-end{align-items:flex-end}.swagger-ui .items-center{align-items:center}.swagger-ui .items-baseline{align-items:baseline}.swagger-ui .items-stretch{align-items:stretch}.swagger-ui .self-start{align-self:flex-start}.swagger-ui .self-end{align-self:flex-end}.swagger-ui .self-center{align-self:center}.swagger-ui .self-baseline{align-self:baseline}.swagger-ui .self-stretch{align-self:stretch}.swagger-ui .justify-start{justify-content:flex-start}.swagger-ui .justify-end{justify-content:flex-end}.swagger-ui .justify-center{justify-content:center}.swagger-ui .justify-between{justify-content:space-between}.swagger-ui .justify-around{justify-content:space-around}.swagger-ui .content-start{align-content:flex-start}.swagger-ui .content-end{align-content:flex-end}.swagger-ui .content-center{align-content:center}.swagger-ui .content-between{align-content:space-between}.swagger-ui .content-around{align-content:space-around}.swagger-ui .content-stretch{align-content:stretch}.swagger-ui .order-0{order:0}.swagger-ui .order-1{order:1}.swagger-ui .order-2{order:2}.swagger-ui .order-3{order:3}.swagger-ui .order-4{order:4}.swagger-ui .order-5{order:5}.swagger-ui .order-6{order:6}.swagger-ui .order-7{order:7}.swagger-ui .order-8{order:8}.swagger-ui .order-last{order:99999}.swagger-ui .flex-grow-0{flex-grow:0}.swagger-ui .flex-grow-1{flex-grow:1}.swagger-ui .flex-shrink-0{flex-shrink:0}.swagger-ui .flex-shrink-1{flex-shrink:1}@media screen and (min-width:30em){.swagger-ui .flex-ns{display:flex}.swagger-ui .inline-flex-ns{display:inline-flex}.swagger-ui .flex-auto-ns{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-ns{flex:none}.swagger-ui .flex-column-ns{flex-direction:column}.swagger-ui .flex-row-ns{flex-direction:row}.swagger-ui .flex-wrap-ns{flex-wrap:wrap}.swagger-ui .flex-nowrap-ns{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-ns{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-ns{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-ns{flex-direction:row-reverse}.swagger-ui .items-start-ns{align-items:flex-start}.swagger-ui .items-end-ns{align-items:flex-end}.swagger-ui .items-center-ns{align-items:center}.swagger-ui .items-baseline-ns{align-items:baseline}.swagger-ui .items-stretch-ns{align-items:stretch}.swagger-ui .self-start-ns{align-self:flex-start}.swagger-ui .self-end-ns{align-self:flex-end}.swagger-ui .self-center-ns{align-self:center}.swagger-ui .self-baseline-ns{align-self:baseline}.swagger-ui .self-stretch-ns{align-self:stretch}.swagger-ui .justify-start-ns{justify-content:flex-start}.swagger-ui .justify-end-ns{justify-content:flex-end}.swagger-ui .justify-center-ns{justify-content:center}.swagger-ui .justify-between-ns{justify-content:space-between}.swagger-ui .justify-around-ns{justify-content:space-around}.swagger-ui .content-start-ns{align-content:flex-start}.swagger-ui .content-end-ns{align-content:flex-end}.swagger-ui .content-center-ns{align-content:center}.swagger-ui .content-between-ns{align-content:space-between}.swagger-ui .content-around-ns{align-content:space-around}.swagger-ui .content-stretch-ns{align-content:stretch}.swagger-ui .order-0-ns{order:0}.swagger-ui .order-1-ns{order:1}.swagger-ui .order-2-ns{order:2}.swagger-ui .order-3-ns{order:3}.swagger-ui .order-4-ns{order:4}.swagger-ui .order-5-ns{order:5}.swagger-ui .order-6-ns{order:6}.swagger-ui .order-7-ns{order:7}.swagger-ui .order-8-ns{order:8}.swagger-ui .order-last-ns{order:99999}.swagger-ui .flex-grow-0-ns{flex-grow:0}.swagger-ui .flex-grow-1-ns{flex-grow:1}.swagger-ui .flex-shrink-0-ns{flex-shrink:0}.swagger-ui .flex-shrink-1-ns{flex-shrink:1}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .flex-m{display:flex}.swagger-ui .inline-flex-m{display:inline-flex}.swagger-ui .flex-auto-m{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-m{flex:none}.swagger-ui .flex-column-m{flex-direction:column}.swagger-ui .flex-row-m{flex-direction:row}.swagger-ui .flex-wrap-m{flex-wrap:wrap}.swagger-ui .flex-nowrap-m{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-m{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-m{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-m{flex-direction:row-reverse}.swagger-ui .items-start-m{align-items:flex-start}.swagger-ui .items-end-m{align-items:flex-end}.swagger-ui .items-center-m{align-items:center}.swagger-ui .items-baseline-m{align-items:baseline}.swagger-ui .items-stretch-m{align-items:stretch}.swagger-ui .self-start-m{align-self:flex-start}.swagger-ui .self-end-m{align-self:flex-end}.swagger-ui .self-center-m{align-self:center}.swagger-ui .self-baseline-m{align-self:baseline}.swagger-ui .self-stretch-m{align-self:stretch}.swagger-ui .justify-start-m{justify-content:flex-start}.swagger-ui .justify-end-m{justify-content:flex-end}.swagger-ui .justify-center-m{justify-content:center}.swagger-ui .justify-between-m{justify-content:space-between}.swagger-ui .justify-around-m{justify-content:space-around}.swagger-ui .content-start-m{align-content:flex-start}.swagger-ui .content-end-m{align-content:flex-end}.swagger-ui .content-center-m{align-content:center}.swagger-ui .content-between-m{align-content:space-between}.swagger-ui .content-around-m{align-content:space-around}.swagger-ui .content-stretch-m{align-content:stretch}.swagger-ui .order-0-m{order:0}.swagger-ui .order-1-m{order:1}.swagger-ui .order-2-m{order:2}.swagger-ui .order-3-m{order:3}.swagger-ui .order-4-m{order:4}.swagger-ui .order-5-m{order:5}.swagger-ui .order-6-m{order:6}.swagger-ui .order-7-m{order:7}.swagger-ui .order-8-m{order:8}.swagger-ui .order-last-m{order:99999}.swagger-ui .flex-grow-0-m{flex-grow:0}.swagger-ui .flex-grow-1-m{flex-grow:1}.swagger-ui .flex-shrink-0-m{flex-shrink:0}.swagger-ui .flex-shrink-1-m{flex-shrink:1}}@media screen and (min-width:60em){.swagger-ui .flex-l{display:flex}.swagger-ui .inline-flex-l{display:inline-flex}.swagger-ui .flex-auto-l{flex:1 1 auto;min-height:0;min-width:0}.swagger-ui .flex-none-l{flex:none}.swagger-ui .flex-column-l{flex-direction:column}.swagger-ui .flex-row-l{flex-direction:row}.swagger-ui .flex-wrap-l{flex-wrap:wrap}.swagger-ui .flex-nowrap-l{flex-wrap:nowrap}.swagger-ui .flex-wrap-reverse-l{flex-wrap:wrap-reverse}.swagger-ui .flex-column-reverse-l{flex-direction:column-reverse}.swagger-ui .flex-row-reverse-l{flex-direction:row-reverse}.swagger-ui .items-start-l{align-items:flex-start}.swagger-ui .items-end-l{align-items:flex-end}.swagger-ui .items-center-l{align-items:center}.swagger-ui .items-baseline-l{align-items:baseline}.swagger-ui .items-stretch-l{align-items:stretch}.swagger-ui .self-start-l{align-self:flex-start}.swagger-ui .self-end-l{align-self:flex-end}.swagger-ui .self-center-l{align-self:center}.swagger-ui .self-baseline-l{align-self:baseline}.swagger-ui .self-stretch-l{align-self:stretch}.swagger-ui .justify-start-l{justify-content:flex-start}.swagger-ui .justify-end-l{justify-content:flex-end}.swagger-ui .justify-center-l{justify-content:center}.swagger-ui .justify-between-l{justify-content:space-between}.swagger-ui .justify-around-l{justify-content:space-around}.swagger-ui .content-start-l{align-content:flex-start}.swagger-ui .content-end-l{align-content:flex-end}.swagger-ui .content-center-l{align-content:center}.swagger-ui .content-between-l{align-content:space-between}.swagger-ui .content-around-l{align-content:space-around}.swagger-ui .content-stretch-l{align-content:stretch}.swagger-ui .order-0-l{order:0}.swagger-ui .order-1-l{order:1}.swagger-ui .order-2-l{order:2}.swagger-ui .order-3-l{order:3}.swagger-ui .order-4-l{order:4}.swagger-ui .order-5-l{order:5}.swagger-ui .order-6-l{order:6}.swagger-ui .order-7-l{order:7}.swagger-ui .order-8-l{order:8}.swagger-ui .order-last-l{order:99999}.swagger-ui .flex-grow-0-l{flex-grow:0}.swagger-ui .flex-grow-1-l{flex-grow:1}.swagger-ui .flex-shrink-0-l{flex-shrink:0}.swagger-ui .flex-shrink-1-l{flex-shrink:1}}.swagger-ui .dn{display:none}.swagger-ui .di{display:inline}.swagger-ui .db{display:block}.swagger-ui .dib{display:inline-block}.swagger-ui .dit{display:inline-table}.swagger-ui .dt{display:table}.swagger-ui .dtc{display:table-cell}.swagger-ui .dt-row{display:table-row}.swagger-ui .dt-row-group{display:table-row-group}.swagger-ui .dt-column{display:table-column}.swagger-ui .dt-column-group{display:table-column-group}.swagger-ui .dt--fixed{table-layout:fixed;width:100%}@media screen and (min-width:30em){.swagger-ui .dn-ns{display:none}.swagger-ui .di-ns{display:inline}.swagger-ui .db-ns{display:block}.swagger-ui .dib-ns{display:inline-block}.swagger-ui .dit-ns{display:inline-table}.swagger-ui .dt-ns{display:table}.swagger-ui .dtc-ns{display:table-cell}.swagger-ui .dt-row-ns{display:table-row}.swagger-ui .dt-row-group-ns{display:table-row-group}.swagger-ui .dt-column-ns{display:table-column}.swagger-ui .dt-column-group-ns{display:table-column-group}.swagger-ui .dt--fixed-ns{table-layout:fixed;width:100%}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .dn-m{display:none}.swagger-ui .di-m{display:inline}.swagger-ui .db-m{display:block}.swagger-ui .dib-m{display:inline-block}.swagger-ui .dit-m{display:inline-table}.swagger-ui .dt-m{display:table}.swagger-ui .dtc-m{display:table-cell}.swagger-ui .dt-row-m{display:table-row}.swagger-ui .dt-row-group-m{display:table-row-group}.swagger-ui .dt-column-m{display:table-column}.swagger-ui .dt-column-group-m{display:table-column-group}.swagger-ui .dt--fixed-m{table-layout:fixed;width:100%}}@media screen and (min-width:60em){.swagger-ui .dn-l{display:none}.swagger-ui .di-l{display:inline}.swagger-ui .db-l{display:block}.swagger-ui .dib-l{display:inline-block}.swagger-ui .dit-l{display:inline-table}.swagger-ui .dt-l{display:table}.swagger-ui .dtc-l{display:table-cell}.swagger-ui .dt-row-l{display:table-row}.swagger-ui .dt-row-group-l{display:table-row-group}.swagger-ui .dt-column-l{display:table-column}.swagger-ui .dt-column-group-l{display:table-column-group}.swagger-ui .dt--fixed-l{table-layout:fixed;width:100%}}.swagger-ui .fl{_display:inline;float:left}.swagger-ui .fr{_display:inline;float:right}.swagger-ui .fn{float:none}@media screen and (min-width:30em){.swagger-ui .fl-ns{_display:inline;float:left}.swagger-ui .fr-ns{_display:inline;float:right}.swagger-ui .fn-ns{float:none}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .fl-m{_display:inline;float:left}.swagger-ui .fr-m{_display:inline;float:right}.swagger-ui .fn-m{float:none}}@media screen and (min-width:60em){.swagger-ui .fl-l{_display:inline;float:left}.swagger-ui .fr-l{_display:inline;float:right}.swagger-ui .fn-l{float:none}}.swagger-ui .sans-serif{font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica,helvetica neue,ubuntu,roboto,noto,segoe ui,arial,sans-serif}.swagger-ui .serif{font-family:georgia,serif}.swagger-ui .system-sans-serif{font-family:sans-serif}.swagger-ui .system-serif{font-family:serif}.swagger-ui .code,.swagger-ui code{font-family:Consolas,monaco,monospace}.swagger-ui .courier{font-family:Courier Next,courier,monospace}.swagger-ui .helvetica{font-family:helvetica neue,helvetica,sans-serif}.swagger-ui .avenir{font-family:avenir next,avenir,sans-serif}.swagger-ui .athelas{font-family:athelas,georgia,serif}.swagger-ui .georgia{font-family:georgia,serif}.swagger-ui .times{font-family:times,serif}.swagger-ui .bodoni{font-family:Bodoni MT,serif}.swagger-ui .calisto{font-family:Calisto MT,serif}.swagger-ui .garamond{font-family:garamond,serif}.swagger-ui .baskerville{font-family:baskerville,serif}.swagger-ui .i{font-style:italic}.swagger-ui .fs-normal{font-style:normal}@media screen and (min-width:30em){.swagger-ui .i-ns{font-style:italic}.swagger-ui .fs-normal-ns{font-style:normal}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .i-m{font-style:italic}.swagger-ui .fs-normal-m{font-style:normal}}@media screen and (min-width:60em){.swagger-ui .i-l{font-style:italic}.swagger-ui .fs-normal-l{font-style:normal}}.swagger-ui .normal{font-weight:400}.swagger-ui .b{font-weight:700}.swagger-ui .fw1{font-weight:100}.swagger-ui .fw2{font-weight:200}.swagger-ui .fw3{font-weight:300}.swagger-ui .fw4{font-weight:400}.swagger-ui .fw5{font-weight:500}.swagger-ui .fw6{font-weight:600}.swagger-ui .fw7{font-weight:700}.swagger-ui .fw8{font-weight:800}.swagger-ui .fw9{font-weight:900}@media screen and (min-width:30em){.swagger-ui .normal-ns{font-weight:400}.swagger-ui .b-ns{font-weight:700}.swagger-ui .fw1-ns{font-weight:100}.swagger-ui .fw2-ns{font-weight:200}.swagger-ui .fw3-ns{font-weight:300}.swagger-ui .fw4-ns{font-weight:400}.swagger-ui .fw5-ns{font-weight:500}.swagger-ui .fw6-ns{font-weight:600}.swagger-ui .fw7-ns{font-weight:700}.swagger-ui .fw8-ns{font-weight:800}.swagger-ui .fw9-ns{font-weight:900}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .normal-m{font-weight:400}.swagger-ui .b-m{font-weight:700}.swagger-ui .fw1-m{font-weight:100}.swagger-ui .fw2-m{font-weight:200}.swagger-ui .fw3-m{font-weight:300}.swagger-ui .fw4-m{font-weight:400}.swagger-ui .fw5-m{font-weight:500}.swagger-ui .fw6-m{font-weight:600}.swagger-ui .fw7-m{font-weight:700}.swagger-ui .fw8-m{font-weight:800}.swagger-ui .fw9-m{font-weight:900}}@media screen and (min-width:60em){.swagger-ui .normal-l{font-weight:400}.swagger-ui .b-l{font-weight:700}.swagger-ui .fw1-l{font-weight:100}.swagger-ui .fw2-l{font-weight:200}.swagger-ui .fw3-l{font-weight:300}.swagger-ui .fw4-l{font-weight:400}.swagger-ui .fw5-l{font-weight:500}.swagger-ui .fw6-l{font-weight:600}.swagger-ui .fw7-l{font-weight:700}.swagger-ui .fw8-l{font-weight:800}.swagger-ui .fw9-l{font-weight:900}}.swagger-ui .input-reset{-webkit-appearance:none;-moz-appearance:none}.swagger-ui .button-reset::-moz-focus-inner,.swagger-ui .input-reset::-moz-focus-inner{border:0;padding:0}.swagger-ui .h1{height:1rem}.swagger-ui .h2{height:2rem}.swagger-ui .h3{height:4rem}.swagger-ui .h4{height:8rem}.swagger-ui .h5{height:16rem}.swagger-ui .h-25{height:25%}.swagger-ui .h-50{height:50%}.swagger-ui .h-75{height:75%}.swagger-ui .h-100{height:100%}.swagger-ui .min-h-100{min-height:100%}.swagger-ui .vh-25{height:25vh}.swagger-ui .vh-50{height:50vh}.swagger-ui .vh-75{height:75vh}.swagger-ui .vh-100{height:100vh}.swagger-ui .min-vh-100{min-height:100vh}.swagger-ui .h-auto{height:auto}.swagger-ui .h-inherit{height:inherit}@media screen and (min-width:30em){.swagger-ui .h1-ns{height:1rem}.swagger-ui .h2-ns{height:2rem}.swagger-ui .h3-ns{height:4rem}.swagger-ui .h4-ns{height:8rem}.swagger-ui .h5-ns{height:16rem}.swagger-ui .h-25-ns{height:25%}.swagger-ui .h-50-ns{height:50%}.swagger-ui .h-75-ns{height:75%}.swagger-ui .h-100-ns{height:100%}.swagger-ui .min-h-100-ns{min-height:100%}.swagger-ui .vh-25-ns{height:25vh}.swagger-ui .vh-50-ns{height:50vh}.swagger-ui .vh-75-ns{height:75vh}.swagger-ui .vh-100-ns{height:100vh}.swagger-ui .min-vh-100-ns{min-height:100vh}.swagger-ui .h-auto-ns{height:auto}.swagger-ui .h-inherit-ns{height:inherit}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .h1-m{height:1rem}.swagger-ui .h2-m{height:2rem}.swagger-ui .h3-m{height:4rem}.swagger-ui .h4-m{height:8rem}.swagger-ui .h5-m{height:16rem}.swagger-ui .h-25-m{height:25%}.swagger-ui .h-50-m{height:50%}.swagger-ui .h-75-m{height:75%}.swagger-ui .h-100-m{height:100%}.swagger-ui .min-h-100-m{min-height:100%}.swagger-ui .vh-25-m{height:25vh}.swagger-ui .vh-50-m{height:50vh}.swagger-ui .vh-75-m{height:75vh}.swagger-ui .vh-100-m{height:100vh}.swagger-ui .min-vh-100-m{min-height:100vh}.swagger-ui .h-auto-m{height:auto}.swagger-ui .h-inherit-m{height:inherit}}@media screen and (min-width:60em){.swagger-ui .h1-l{height:1rem}.swagger-ui .h2-l{height:2rem}.swagger-ui .h3-l{height:4rem}.swagger-ui .h4-l{height:8rem}.swagger-ui .h5-l{height:16rem}.swagger-ui .h-25-l{height:25%}.swagger-ui .h-50-l{height:50%}.swagger-ui .h-75-l{height:75%}.swagger-ui .h-100-l{height:100%}.swagger-ui .min-h-100-l{min-height:100%}.swagger-ui .vh-25-l{height:25vh}.swagger-ui .vh-50-l{height:50vh}.swagger-ui .vh-75-l{height:75vh}.swagger-ui .vh-100-l{height:100vh}.swagger-ui .min-vh-100-l{min-height:100vh}.swagger-ui .h-auto-l{height:auto}.swagger-ui .h-inherit-l{height:inherit}}.swagger-ui .tracked{letter-spacing:.1em}.swagger-ui .tracked-tight{letter-spacing:-.05em}.swagger-ui .tracked-mega{letter-spacing:.25em}@media screen and (min-width:30em){.swagger-ui .tracked-ns{letter-spacing:.1em}.swagger-ui .tracked-tight-ns{letter-spacing:-.05em}.swagger-ui .tracked-mega-ns{letter-spacing:.25em}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .tracked-m{letter-spacing:.1em}.swagger-ui .tracked-tight-m{letter-spacing:-.05em}.swagger-ui .tracked-mega-m{letter-spacing:.25em}}@media screen and (min-width:60em){.swagger-ui .tracked-l{letter-spacing:.1em}.swagger-ui .tracked-tight-l{letter-spacing:-.05em}.swagger-ui .tracked-mega-l{letter-spacing:.25em}}.swagger-ui .lh-solid{line-height:1}.swagger-ui .lh-title{line-height:1.25}.swagger-ui .lh-copy{line-height:1.5}@media screen and (min-width:30em){.swagger-ui .lh-solid-ns{line-height:1}.swagger-ui .lh-title-ns{line-height:1.25}.swagger-ui .lh-copy-ns{line-height:1.5}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .lh-solid-m{line-height:1}.swagger-ui .lh-title-m{line-height:1.25}.swagger-ui .lh-copy-m{line-height:1.5}}@media screen and (min-width:60em){.swagger-ui .lh-solid-l{line-height:1}.swagger-ui .lh-title-l{line-height:1.25}.swagger-ui .lh-copy-l{line-height:1.5}}.swagger-ui .link{text-decoration:none}.swagger-ui .link,.swagger-ui .link:active,.swagger-ui .link:focus,.swagger-ui .link:hover,.swagger-ui .link:link,.swagger-ui .link:visited{transition:color .15s ease-in}.swagger-ui .link:focus{outline:1px dotted currentColor}.swagger-ui .list{list-style-type:none}.swagger-ui .mw-100{max-width:100%}.swagger-ui .mw1{max-width:1rem}.swagger-ui .mw2{max-width:2rem}.swagger-ui .mw3{max-width:4rem}.swagger-ui .mw4{max-width:8rem}.swagger-ui .mw5{max-width:16rem}.swagger-ui .mw6{max-width:32rem}.swagger-ui .mw7{max-width:48rem}.swagger-ui .mw8{max-width:64rem}.swagger-ui .mw9{max-width:96rem}.swagger-ui .mw-none{max-width:none}@media screen and (min-width:30em){.swagger-ui .mw-100-ns{max-width:100%}.swagger-ui .mw1-ns{max-width:1rem}.swagger-ui .mw2-ns{max-width:2rem}.swagger-ui .mw3-ns{max-width:4rem}.swagger-ui .mw4-ns{max-width:8rem}.swagger-ui .mw5-ns{max-width:16rem}.swagger-ui .mw6-ns{max-width:32rem}.swagger-ui .mw7-ns{max-width:48rem}.swagger-ui .mw8-ns{max-width:64rem}.swagger-ui .mw9-ns{max-width:96rem}.swagger-ui .mw-none-ns{max-width:none}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .mw-100-m{max-width:100%}.swagger-ui .mw1-m{max-width:1rem}.swagger-ui .mw2-m{max-width:2rem}.swagger-ui .mw3-m{max-width:4rem}.swagger-ui .mw4-m{max-width:8rem}.swagger-ui .mw5-m{max-width:16rem}.swagger-ui .mw6-m{max-width:32rem}.swagger-ui .mw7-m{max-width:48rem}.swagger-ui .mw8-m{max-width:64rem}.swagger-ui .mw9-m{max-width:96rem}.swagger-ui .mw-none-m{max-width:none}}@media screen and (min-width:60em){.swagger-ui .mw-100-l{max-width:100%}.swagger-ui .mw1-l{max-width:1rem}.swagger-ui .mw2-l{max-width:2rem}.swagger-ui .mw3-l{max-width:4rem}.swagger-ui .mw4-l{max-width:8rem}.swagger-ui .mw5-l{max-width:16rem}.swagger-ui .mw6-l{max-width:32rem}.swagger-ui .mw7-l{max-width:48rem}.swagger-ui .mw8-l{max-width:64rem}.swagger-ui .mw9-l{max-width:96rem}.swagger-ui .mw-none-l{max-width:none}}.swagger-ui .w1{width:1rem}.swagger-ui .w2{width:2rem}.swagger-ui .w3{width:4rem}.swagger-ui .w4{width:8rem}.swagger-ui .w5{width:16rem}.swagger-ui .w-10{width:10%}.swagger-ui .w-20{width:20%}.swagger-ui .w-25{width:25%}.swagger-ui .w-30{width:30%}.swagger-ui .w-33{width:33%}.swagger-ui .w-34{width:34%}.swagger-ui .w-40{width:40%}.swagger-ui .w-50{width:50%}.swagger-ui .w-60{width:60%}.swagger-ui .w-70{width:70%}.swagger-ui .w-75{width:75%}.swagger-ui .w-80{width:80%}.swagger-ui .w-90{width:90%}.swagger-ui .w-100{width:100%}.swagger-ui .w-third{width:33.3333333333%}.swagger-ui .w-two-thirds{width:66.6666666667%}.swagger-ui .w-auto{width:auto}@media screen and (min-width:30em){.swagger-ui .w1-ns{width:1rem}.swagger-ui .w2-ns{width:2rem}.swagger-ui .w3-ns{width:4rem}.swagger-ui .w4-ns{width:8rem}.swagger-ui .w5-ns{width:16rem}.swagger-ui .w-10-ns{width:10%}.swagger-ui .w-20-ns{width:20%}.swagger-ui .w-25-ns{width:25%}.swagger-ui .w-30-ns{width:30%}.swagger-ui .w-33-ns{width:33%}.swagger-ui .w-34-ns{width:34%}.swagger-ui .w-40-ns{width:40%}.swagger-ui .w-50-ns{width:50%}.swagger-ui .w-60-ns{width:60%}.swagger-ui .w-70-ns{width:70%}.swagger-ui .w-75-ns{width:75%}.swagger-ui .w-80-ns{width:80%}.swagger-ui .w-90-ns{width:90%}.swagger-ui .w-100-ns{width:100%}.swagger-ui .w-third-ns{width:33.3333333333%}.swagger-ui .w-two-thirds-ns{width:66.6666666667%}.swagger-ui .w-auto-ns{width:auto}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .w1-m{width:1rem}.swagger-ui .w2-m{width:2rem}.swagger-ui .w3-m{width:4rem}.swagger-ui .w4-m{width:8rem}.swagger-ui .w5-m{width:16rem}.swagger-ui .w-10-m{width:10%}.swagger-ui .w-20-m{width:20%}.swagger-ui .w-25-m{width:25%}.swagger-ui .w-30-m{width:30%}.swagger-ui .w-33-m{width:33%}.swagger-ui .w-34-m{width:34%}.swagger-ui .w-40-m{width:40%}.swagger-ui .w-50-m{width:50%}.swagger-ui .w-60-m{width:60%}.swagger-ui .w-70-m{width:70%}.swagger-ui .w-75-m{width:75%}.swagger-ui .w-80-m{width:80%}.swagger-ui .w-90-m{width:90%}.swagger-ui .w-100-m{width:100%}.swagger-ui .w-third-m{width:33.3333333333%}.swagger-ui .w-two-thirds-m{width:66.6666666667%}.swagger-ui .w-auto-m{width:auto}}@media screen and (min-width:60em){.swagger-ui .w1-l{width:1rem}.swagger-ui .w2-l{width:2rem}.swagger-ui .w3-l{width:4rem}.swagger-ui .w4-l{width:8rem}.swagger-ui .w5-l{width:16rem}.swagger-ui .w-10-l{width:10%}.swagger-ui .w-20-l{width:20%}.swagger-ui .w-25-l{width:25%}.swagger-ui .w-30-l{width:30%}.swagger-ui .w-33-l{width:33%}.swagger-ui .w-34-l{width:34%}.swagger-ui .w-40-l{width:40%}.swagger-ui .w-50-l{width:50%}.swagger-ui .w-60-l{width:60%}.swagger-ui .w-70-l{width:70%}.swagger-ui .w-75-l{width:75%}.swagger-ui .w-80-l{width:80%}.swagger-ui .w-90-l{width:90%}.swagger-ui .w-100-l{width:100%}.swagger-ui .w-third-l{width:33.3333333333%}.swagger-ui .w-two-thirds-l{width:66.6666666667%}.swagger-ui .w-auto-l{width:auto}}.swagger-ui .overflow-visible{overflow:visible}.swagger-ui .overflow-hidden{overflow:hidden}.swagger-ui .overflow-scroll{overflow:scroll}.swagger-ui .overflow-auto{overflow:auto}.swagger-ui .overflow-x-visible{overflow-x:visible}.swagger-ui .overflow-x-hidden{overflow-x:hidden}.swagger-ui .overflow-x-scroll{overflow-x:scroll}.swagger-ui .overflow-x-auto{overflow-x:auto}.swagger-ui .overflow-y-visible{overflow-y:visible}.swagger-ui .overflow-y-hidden{overflow-y:hidden}.swagger-ui .overflow-y-scroll{overflow-y:scroll}.swagger-ui .overflow-y-auto{overflow-y:auto}@media screen and (min-width:30em){.swagger-ui .overflow-visible-ns{overflow:visible}.swagger-ui .overflow-hidden-ns{overflow:hidden}.swagger-ui .overflow-scroll-ns{overflow:scroll}.swagger-ui .overflow-auto-ns{overflow:auto}.swagger-ui .overflow-x-visible-ns{overflow-x:visible}.swagger-ui .overflow-x-hidden-ns{overflow-x:hidden}.swagger-ui .overflow-x-scroll-ns{overflow-x:scroll}.swagger-ui .overflow-x-auto-ns{overflow-x:auto}.swagger-ui .overflow-y-visible-ns{overflow-y:visible}.swagger-ui .overflow-y-hidden-ns{overflow-y:hidden}.swagger-ui .overflow-y-scroll-ns{overflow-y:scroll}.swagger-ui .overflow-y-auto-ns{overflow-y:auto}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .overflow-visible-m{overflow:visible}.swagger-ui .overflow-hidden-m{overflow:hidden}.swagger-ui .overflow-scroll-m{overflow:scroll}.swagger-ui .overflow-auto-m{overflow:auto}.swagger-ui .overflow-x-visible-m{overflow-x:visible}.swagger-ui .overflow-x-hidden-m{overflow-x:hidden}.swagger-ui .overflow-x-scroll-m{overflow-x:scroll}.swagger-ui .overflow-x-auto-m{overflow-x:auto}.swagger-ui .overflow-y-visible-m{overflow-y:visible}.swagger-ui .overflow-y-hidden-m{overflow-y:hidden}.swagger-ui .overflow-y-scroll-m{overflow-y:scroll}.swagger-ui .overflow-y-auto-m{overflow-y:auto}}@media screen and (min-width:60em){.swagger-ui .overflow-visible-l{overflow:visible}.swagger-ui .overflow-hidden-l{overflow:hidden}.swagger-ui .overflow-scroll-l{overflow:scroll}.swagger-ui .overflow-auto-l{overflow:auto}.swagger-ui .overflow-x-visible-l{overflow-x:visible}.swagger-ui .overflow-x-hidden-l{overflow-x:hidden}.swagger-ui .overflow-x-scroll-l{overflow-x:scroll}.swagger-ui .overflow-x-auto-l{overflow-x:auto}.swagger-ui .overflow-y-visible-l{overflow-y:visible}.swagger-ui .overflow-y-hidden-l{overflow-y:hidden}.swagger-ui .overflow-y-scroll-l{overflow-y:scroll}.swagger-ui .overflow-y-auto-l{overflow-y:auto}}.swagger-ui .static{position:static}.swagger-ui .relative{position:relative}.swagger-ui .absolute{position:absolute}.swagger-ui .fixed{position:fixed}@media screen and (min-width:30em){.swagger-ui .static-ns{position:static}.swagger-ui .relative-ns{position:relative}.swagger-ui .absolute-ns{position:absolute}.swagger-ui .fixed-ns{position:fixed}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .static-m{position:static}.swagger-ui .relative-m{position:relative}.swagger-ui .absolute-m{position:absolute}.swagger-ui .fixed-m{position:fixed}}@media screen and (min-width:60em){.swagger-ui .static-l{position:static}.swagger-ui .relative-l{position:relative}.swagger-ui .absolute-l{position:absolute}.swagger-ui .fixed-l{position:fixed}}.swagger-ui .o-100{opacity:1}.swagger-ui .o-90{opacity:.9}.swagger-ui .o-80{opacity:.8}.swagger-ui .o-70{opacity:.7}.swagger-ui .o-60{opacity:.6}.swagger-ui .o-50{opacity:.5}.swagger-ui .o-40{opacity:.4}.swagger-ui .o-30{opacity:.3}.swagger-ui .o-20{opacity:.2}.swagger-ui .o-10{opacity:.1}.swagger-ui .o-05{opacity:.05}.swagger-ui .o-025{opacity:.025}.swagger-ui .o-0{opacity:0}.swagger-ui .rotate-45{transform:rotate(45deg)}.swagger-ui .rotate-90{transform:rotate(90deg)}.swagger-ui .rotate-135{transform:rotate(135deg)}.swagger-ui .rotate-180{transform:rotate(180deg)}.swagger-ui .rotate-225{transform:rotate(225deg)}.swagger-ui .rotate-270{transform:rotate(270deg)}.swagger-ui .rotate-315{transform:rotate(315deg)}@media screen and (min-width:30em){.swagger-ui .rotate-45-ns{transform:rotate(45deg)}.swagger-ui .rotate-90-ns{transform:rotate(90deg)}.swagger-ui .rotate-135-ns{transform:rotate(135deg)}.swagger-ui .rotate-180-ns{transform:rotate(180deg)}.swagger-ui .rotate-225-ns{transform:rotate(225deg)}.swagger-ui .rotate-270-ns{transform:rotate(270deg)}.swagger-ui .rotate-315-ns{transform:rotate(315deg)}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .rotate-45-m{transform:rotate(45deg)}.swagger-ui .rotate-90-m{transform:rotate(90deg)}.swagger-ui .rotate-135-m{transform:rotate(135deg)}.swagger-ui .rotate-180-m{transform:rotate(180deg)}.swagger-ui .rotate-225-m{transform:rotate(225deg)}.swagger-ui .rotate-270-m{transform:rotate(270deg)}.swagger-ui .rotate-315-m{transform:rotate(315deg)}}@media screen and (min-width:60em){.swagger-ui .rotate-45-l{transform:rotate(45deg)}.swagger-ui .rotate-90-l{transform:rotate(90deg)}.swagger-ui .rotate-135-l{transform:rotate(135deg)}.swagger-ui .rotate-180-l{transform:rotate(180deg)}.swagger-ui .rotate-225-l{transform:rotate(225deg)}.swagger-ui .rotate-270-l{transform:rotate(270deg)}.swagger-ui .rotate-315-l{transform:rotate(315deg)}}.swagger-ui .black-90{color:#000000e6}.swagger-ui .black-80{color:#000c}.swagger-ui .black-70{color:#000000b3}.swagger-ui .black-60{color:#0009}.swagger-ui .black-50{color:#00000080}.swagger-ui .black-40{color:#0006}.swagger-ui .black-30{color:#0000004d}.swagger-ui .black-20{color:#0003}.swagger-ui .black-10{color:#0000001a}.swagger-ui .black-05{color:#0000000d}.swagger-ui .white-90{color:#ffffffe6}.swagger-ui .white-80{color:#fffc}.swagger-ui .white-70{color:#ffffffb3}.swagger-ui .white-60{color:#fff9}.swagger-ui .white-50{color:#ffffff80}.swagger-ui .white-40{color:#fff6}.swagger-ui .white-30{color:#ffffff4d}.swagger-ui .white-20{color:#fff3}.swagger-ui .white-10{color:#ffffff1a}.swagger-ui .black{color:#000}.swagger-ui .near-black{color:#111}.swagger-ui .dark-gray{color:#333}.swagger-ui .mid-gray{color:#555}.swagger-ui .gray{color:#777}.swagger-ui .silver{color:#999}.swagger-ui .light-silver{color:#aaa}.swagger-ui .moon-gray{color:#ccc}.swagger-ui .light-gray{color:#eee}.swagger-ui .near-white{color:#f4f4f4}.swagger-ui .white{color:#fff}.swagger-ui .dark-red{color:#e7040f}.swagger-ui .red{color:#ff4136}.swagger-ui .light-red{color:#ff725c}.swagger-ui .orange{color:#ff6300}.swagger-ui .gold{color:#ffb700}.swagger-ui .yellow{color:gold}.swagger-ui .light-yellow{color:#fbf1a9}.swagger-ui .purple{color:#5e2ca5}.swagger-ui .light-purple{color:#a463f2}.swagger-ui .dark-pink{color:#d5008f}.swagger-ui .hot-pink{color:#ff41b4}.swagger-ui .pink{color:#ff80cc}.swagger-ui .light-pink{color:#ffa3d7}.swagger-ui .dark-green{color:#137752}.swagger-ui .green{color:#19a974}.swagger-ui .light-green{color:#9eebcf}.swagger-ui .navy{color:#001b44}.swagger-ui .dark-blue{color:#00449e}.swagger-ui .blue{color:#357edd}.swagger-ui .light-blue{color:#96ccff}.swagger-ui .lightest-blue{color:#cdecff}.swagger-ui .washed-blue{color:#f6fffe}.swagger-ui .washed-green{color:#e8fdf5}.swagger-ui .washed-yellow{color:#fffceb}.swagger-ui .washed-red{color:#ffdfdf}.swagger-ui .color-inherit{color:inherit}.swagger-ui .bg-black-90{background-color:#000000e6}.swagger-ui .bg-black-80{background-color:#000c}.swagger-ui .bg-black-70{background-color:#000000b3}.swagger-ui .bg-black-60{background-color:#0009}.swagger-ui .bg-black-50{background-color:#00000080}.swagger-ui .bg-black-40{background-color:#0006}.swagger-ui .bg-black-30{background-color:#0000004d}.swagger-ui .bg-black-20{background-color:#0003}.swagger-ui .bg-black-10{background-color:#0000001a}.swagger-ui .bg-black-05{background-color:#0000000d}.swagger-ui .bg-white-90{background-color:#ffffffe6}.swagger-ui .bg-white-80{background-color:#fffc}.swagger-ui .bg-white-70{background-color:#ffffffb3}.swagger-ui .bg-white-60{background-color:#fff9}.swagger-ui .bg-white-50{background-color:#ffffff80}.swagger-ui .bg-white-40{background-color:#fff6}.swagger-ui .bg-white-30{background-color:#ffffff4d}.swagger-ui .bg-white-20{background-color:#fff3}.swagger-ui .bg-white-10{background-color:#ffffff1a}.swagger-ui .bg-black{background-color:#000}.swagger-ui .bg-near-black{background-color:#111}.swagger-ui .bg-dark-gray{background-color:#333}.swagger-ui .bg-mid-gray{background-color:#555}.swagger-ui .bg-gray{background-color:#777}.swagger-ui .bg-silver{background-color:#999}.swagger-ui .bg-light-silver{background-color:#aaa}.swagger-ui .bg-moon-gray{background-color:#ccc}.swagger-ui .bg-light-gray{background-color:#eee}.swagger-ui .bg-near-white{background-color:#f4f4f4}.swagger-ui .bg-white{background-color:#fff}.swagger-ui .bg-transparent{background-color:transparent}.swagger-ui .bg-dark-red{background-color:#e7040f}.swagger-ui .bg-red{background-color:#ff4136}.swagger-ui .bg-light-red{background-color:#ff725c}.swagger-ui .bg-orange{background-color:#ff6300}.swagger-ui .bg-gold{background-color:#ffb700}.swagger-ui .bg-yellow{background-color:gold}.swagger-ui .bg-light-yellow{background-color:#fbf1a9}.swagger-ui .bg-purple{background-color:#5e2ca5}.swagger-ui .bg-light-purple{background-color:#a463f2}.swagger-ui .bg-dark-pink{background-color:#d5008f}.swagger-ui .bg-hot-pink{background-color:#ff41b4}.swagger-ui .bg-pink{background-color:#ff80cc}.swagger-ui .bg-light-pink{background-color:#ffa3d7}.swagger-ui .bg-dark-green{background-color:#137752}.swagger-ui .bg-green{background-color:#19a974}.swagger-ui .bg-light-green{background-color:#9eebcf}.swagger-ui .bg-navy{background-color:#001b44}.swagger-ui .bg-dark-blue{background-color:#00449e}.swagger-ui .bg-blue{background-color:#357edd}.swagger-ui .bg-light-blue{background-color:#96ccff}.swagger-ui .bg-lightest-blue{background-color:#cdecff}.swagger-ui .bg-washed-blue{background-color:#f6fffe}.swagger-ui .bg-washed-green{background-color:#e8fdf5}.swagger-ui .bg-washed-yellow{background-color:#fffceb}.swagger-ui .bg-washed-red{background-color:#ffdfdf}.swagger-ui .bg-inherit{background-color:inherit}.swagger-ui .hover-black:focus,.swagger-ui .hover-black:hover{color:#000}.swagger-ui .hover-near-black:focus,.swagger-ui .hover-near-black:hover{color:#111}.swagger-ui .hover-dark-gray:focus,.swagger-ui .hover-dark-gray:hover{color:#333}.swagger-ui .hover-mid-gray:focus,.swagger-ui .hover-mid-gray:hover{color:#555}.swagger-ui .hover-gray:focus,.swagger-ui .hover-gray:hover{color:#777}.swagger-ui .hover-silver:focus,.swagger-ui .hover-silver:hover{color:#999}.swagger-ui .hover-light-silver:focus,.swagger-ui .hover-light-silver:hover{color:#aaa}.swagger-ui .hover-moon-gray:focus,.swagger-ui .hover-moon-gray:hover{color:#ccc}.swagger-ui .hover-light-gray:focus,.swagger-ui .hover-light-gray:hover{color:#eee}.swagger-ui .hover-near-white:focus,.swagger-ui .hover-near-white:hover{color:#f4f4f4}.swagger-ui .hover-white:focus,.swagger-ui .hover-white:hover{color:#fff}.swagger-ui .hover-black-90:focus,.swagger-ui .hover-black-90:hover{color:#000000e6}.swagger-ui .hover-black-80:focus,.swagger-ui .hover-black-80:hover{color:#000c}.swagger-ui .hover-black-70:focus,.swagger-ui .hover-black-70:hover{color:#000000b3}.swagger-ui .hover-black-60:focus,.swagger-ui .hover-black-60:hover{color:#0009}.swagger-ui .hover-black-50:focus,.swagger-ui .hover-black-50:hover{color:#00000080}.swagger-ui .hover-black-40:focus,.swagger-ui .hover-black-40:hover{color:#0006}.swagger-ui .hover-black-30:focus,.swagger-ui .hover-black-30:hover{color:#0000004d}.swagger-ui .hover-black-20:focus,.swagger-ui .hover-black-20:hover{color:#0003}.swagger-ui .hover-black-10:focus,.swagger-ui .hover-black-10:hover{color:#0000001a}.swagger-ui .hover-white-90:focus,.swagger-ui .hover-white-90:hover{color:#ffffffe6}.swagger-ui .hover-white-80:focus,.swagger-ui .hover-white-80:hover{color:#fffc}.swagger-ui .hover-white-70:focus,.swagger-ui .hover-white-70:hover{color:#ffffffb3}.swagger-ui .hover-white-60:focus,.swagger-ui .hover-white-60:hover{color:#fff9}.swagger-ui .hover-white-50:focus,.swagger-ui .hover-white-50:hover{color:#ffffff80}.swagger-ui .hover-white-40:focus,.swagger-ui .hover-white-40:hover{color:#fff6}.swagger-ui .hover-white-30:focus,.swagger-ui .hover-white-30:hover{color:#ffffff4d}.swagger-ui .hover-white-20:focus,.swagger-ui .hover-white-20:hover{color:#fff3}.swagger-ui .hover-white-10:focus,.swagger-ui .hover-white-10:hover{color:#ffffff1a}.swagger-ui .hover-inherit:focus,.swagger-ui .hover-inherit:hover{color:inherit}.swagger-ui .hover-bg-black:focus,.swagger-ui .hover-bg-black:hover{background-color:#000}.swagger-ui .hover-bg-near-black:focus,.swagger-ui .hover-bg-near-black:hover{background-color:#111}.swagger-ui .hover-bg-dark-gray:focus,.swagger-ui .hover-bg-dark-gray:hover{background-color:#333}.swagger-ui .hover-bg-mid-gray:focus,.swagger-ui .hover-bg-mid-gray:hover{background-color:#555}.swagger-ui .hover-bg-gray:focus,.swagger-ui .hover-bg-gray:hover{background-color:#777}.swagger-ui .hover-bg-silver:focus,.swagger-ui .hover-bg-silver:hover{background-color:#999}.swagger-ui .hover-bg-light-silver:focus,.swagger-ui .hover-bg-light-silver:hover{background-color:#aaa}.swagger-ui .hover-bg-moon-gray:focus,.swagger-ui .hover-bg-moon-gray:hover{background-color:#ccc}.swagger-ui .hover-bg-light-gray:focus,.swagger-ui .hover-bg-light-gray:hover{background-color:#eee}.swagger-ui .hover-bg-near-white:focus,.swagger-ui .hover-bg-near-white:hover{background-color:#f4f4f4}.swagger-ui .hover-bg-white:focus,.swagger-ui .hover-bg-white:hover{background-color:#fff}.swagger-ui .hover-bg-transparent:focus,.swagger-ui .hover-bg-transparent:hover{background-color:transparent}.swagger-ui .hover-bg-black-90:focus,.swagger-ui .hover-bg-black-90:hover{background-color:#000000e6}.swagger-ui .hover-bg-black-80:focus,.swagger-ui .hover-bg-black-80:hover{background-color:#000c}.swagger-ui .hover-bg-black-70:focus,.swagger-ui .hover-bg-black-70:hover{background-color:#000000b3}.swagger-ui .hover-bg-black-60:focus,.swagger-ui .hover-bg-black-60:hover{background-color:#0009}.swagger-ui .hover-bg-black-50:focus,.swagger-ui .hover-bg-black-50:hover{background-color:#00000080}.swagger-ui .hover-bg-black-40:focus,.swagger-ui .hover-bg-black-40:hover{background-color:#0006}.swagger-ui .hover-bg-black-30:focus,.swagger-ui .hover-bg-black-30:hover{background-color:#0000004d}.swagger-ui .hover-bg-black-20:focus,.swagger-ui .hover-bg-black-20:hover{background-color:#0003}.swagger-ui .hover-bg-black-10:focus,.swagger-ui .hover-bg-black-10:hover{background-color:#0000001a}.swagger-ui .hover-bg-white-90:focus,.swagger-ui .hover-bg-white-90:hover{background-color:#ffffffe6}.swagger-ui .hover-bg-white-80:focus,.swagger-ui .hover-bg-white-80:hover{background-color:#fffc}.swagger-ui .hover-bg-white-70:focus,.swagger-ui .hover-bg-white-70:hover{background-color:#ffffffb3}.swagger-ui .hover-bg-white-60:focus,.swagger-ui .hover-bg-white-60:hover{background-color:#fff9}.swagger-ui .hover-bg-white-50:focus,.swagger-ui .hover-bg-white-50:hover{background-color:#ffffff80}.swagger-ui .hover-bg-white-40:focus,.swagger-ui .hover-bg-white-40:hover{background-color:#fff6}.swagger-ui .hover-bg-white-30:focus,.swagger-ui .hover-bg-white-30:hover{background-color:#ffffff4d}.swagger-ui .hover-bg-white-20:focus,.swagger-ui .hover-bg-white-20:hover{background-color:#fff3}.swagger-ui .hover-bg-white-10:focus,.swagger-ui .hover-bg-white-10:hover{background-color:#ffffff1a}.swagger-ui .hover-dark-red:focus,.swagger-ui .hover-dark-red:hover{color:#e7040f}.swagger-ui .hover-red:focus,.swagger-ui .hover-red:hover{color:#ff4136}.swagger-ui .hover-light-red:focus,.swagger-ui .hover-light-red:hover{color:#ff725c}.swagger-ui .hover-orange:focus,.swagger-ui .hover-orange:hover{color:#ff6300}.swagger-ui .hover-gold:focus,.swagger-ui .hover-gold:hover{color:#ffb700}.swagger-ui .hover-yellow:focus,.swagger-ui .hover-yellow:hover{color:gold}.swagger-ui .hover-light-yellow:focus,.swagger-ui .hover-light-yellow:hover{color:#fbf1a9}.swagger-ui .hover-purple:focus,.swagger-ui .hover-purple:hover{color:#5e2ca5}.swagger-ui .hover-light-purple:focus,.swagger-ui .hover-light-purple:hover{color:#a463f2}.swagger-ui .hover-dark-pink:focus,.swagger-ui .hover-dark-pink:hover{color:#d5008f}.swagger-ui .hover-hot-pink:focus,.swagger-ui .hover-hot-pink:hover{color:#ff41b4}.swagger-ui .hover-pink:focus,.swagger-ui .hover-pink:hover{color:#ff80cc}.swagger-ui .hover-light-pink:focus,.swagger-ui .hover-light-pink:hover{color:#ffa3d7}.swagger-ui .hover-dark-green:focus,.swagger-ui .hover-dark-green:hover{color:#137752}.swagger-ui .hover-green:focus,.swagger-ui .hover-green:hover{color:#19a974}.swagger-ui .hover-light-green:focus,.swagger-ui .hover-light-green:hover{color:#9eebcf}.swagger-ui .hover-navy:focus,.swagger-ui .hover-navy:hover{color:#001b44}.swagger-ui .hover-dark-blue:focus,.swagger-ui .hover-dark-blue:hover{color:#00449e}.swagger-ui .hover-blue:focus,.swagger-ui .hover-blue:hover{color:#357edd}.swagger-ui .hover-light-blue:focus,.swagger-ui .hover-light-blue:hover{color:#96ccff}.swagger-ui .hover-lightest-blue:focus,.swagger-ui .hover-lightest-blue:hover{color:#cdecff}.swagger-ui .hover-washed-blue:focus,.swagger-ui .hover-washed-blue:hover{color:#f6fffe}.swagger-ui .hover-washed-green:focus,.swagger-ui .hover-washed-green:hover{color:#e8fdf5}.swagger-ui .hover-washed-yellow:focus,.swagger-ui .hover-washed-yellow:hover{color:#fffceb}.swagger-ui .hover-washed-red:focus,.swagger-ui .hover-washed-red:hover{color:#ffdfdf}.swagger-ui .hover-bg-dark-red:focus,.swagger-ui .hover-bg-dark-red:hover{background-color:#e7040f}.swagger-ui .hover-bg-red:focus,.swagger-ui .hover-bg-red:hover{background-color:#ff4136}.swagger-ui .hover-bg-light-red:focus,.swagger-ui .hover-bg-light-red:hover{background-color:#ff725c}.swagger-ui .hover-bg-orange:focus,.swagger-ui .hover-bg-orange:hover{background-color:#ff6300}.swagger-ui .hover-bg-gold:focus,.swagger-ui .hover-bg-gold:hover{background-color:#ffb700}.swagger-ui .hover-bg-yellow:focus,.swagger-ui .hover-bg-yellow:hover{background-color:gold}.swagger-ui .hover-bg-light-yellow:focus,.swagger-ui .hover-bg-light-yellow:hover{background-color:#fbf1a9}.swagger-ui .hover-bg-purple:focus,.swagger-ui .hover-bg-purple:hover{background-color:#5e2ca5}.swagger-ui .hover-bg-light-purple:focus,.swagger-ui .hover-bg-light-purple:hover{background-color:#a463f2}.swagger-ui .hover-bg-dark-pink:focus,.swagger-ui .hover-bg-dark-pink:hover{background-color:#d5008f}.swagger-ui .hover-bg-hot-pink:focus,.swagger-ui .hover-bg-hot-pink:hover{background-color:#ff41b4}.swagger-ui .hover-bg-pink:focus,.swagger-ui .hover-bg-pink:hover{background-color:#ff80cc}.swagger-ui .hover-bg-light-pink:focus,.swagger-ui .hover-bg-light-pink:hover{background-color:#ffa3d7}.swagger-ui .hover-bg-dark-green:focus,.swagger-ui .hover-bg-dark-green:hover{background-color:#137752}.swagger-ui .hover-bg-green:focus,.swagger-ui .hover-bg-green:hover{background-color:#19a974}.swagger-ui .hover-bg-light-green:focus,.swagger-ui .hover-bg-light-green:hover{background-color:#9eebcf}.swagger-ui .hover-bg-navy:focus,.swagger-ui .hover-bg-navy:hover{background-color:#001b44}.swagger-ui .hover-bg-dark-blue:focus,.swagger-ui .hover-bg-dark-blue:hover{background-color:#00449e}.swagger-ui .hover-bg-blue:focus,.swagger-ui .hover-bg-blue:hover{background-color:#357edd}.swagger-ui .hover-bg-light-blue:focus,.swagger-ui .hover-bg-light-blue:hover{background-color:#96ccff}.swagger-ui .hover-bg-lightest-blue:focus,.swagger-ui .hover-bg-lightest-blue:hover{background-color:#cdecff}.swagger-ui .hover-bg-washed-blue:focus,.swagger-ui .hover-bg-washed-blue:hover{background-color:#f6fffe}.swagger-ui .hover-bg-washed-green:focus,.swagger-ui .hover-bg-washed-green:hover{background-color:#e8fdf5}.swagger-ui .hover-bg-washed-yellow:focus,.swagger-ui .hover-bg-washed-yellow:hover{background-color:#fffceb}.swagger-ui .hover-bg-washed-red:focus,.swagger-ui .hover-bg-washed-red:hover{background-color:#ffdfdf}.swagger-ui .hover-bg-inherit:focus,.swagger-ui .hover-bg-inherit:hover{background-color:inherit}.swagger-ui .pa0{padding:0}.swagger-ui .pa1{padding:.25rem}.swagger-ui .pa2{padding:.5rem}.swagger-ui .pa3{padding:1rem}.swagger-ui .pa4{padding:2rem}.swagger-ui .pa5{padding:4rem}.swagger-ui .pa6{padding:8rem}.swagger-ui .pa7{padding:16rem}.swagger-ui .pl0{padding-left:0}.swagger-ui .pl1{padding-left:.25rem}.swagger-ui .pl2{padding-left:.5rem}.swagger-ui .pl3{padding-left:1rem}.swagger-ui .pl4{padding-left:2rem}.swagger-ui .pl5{padding-left:4rem}.swagger-ui .pl6{padding-left:8rem}.swagger-ui .pl7{padding-left:16rem}.swagger-ui .pr0{padding-right:0}.swagger-ui .pr1{padding-right:.25rem}.swagger-ui .pr2{padding-right:.5rem}.swagger-ui .pr3{padding-right:1rem}.swagger-ui .pr4{padding-right:2rem}.swagger-ui .pr5{padding-right:4rem}.swagger-ui .pr6{padding-right:8rem}.swagger-ui .pr7{padding-right:16rem}.swagger-ui .pb0{padding-bottom:0}.swagger-ui .pb1{padding-bottom:.25rem}.swagger-ui .pb2{padding-bottom:.5rem}.swagger-ui .pb3{padding-bottom:1rem}.swagger-ui .pb4{padding-bottom:2rem}.swagger-ui .pb5{padding-bottom:4rem}.swagger-ui .pb6{padding-bottom:8rem}.swagger-ui .pb7{padding-bottom:16rem}.swagger-ui .pt0{padding-top:0}.swagger-ui .pt1{padding-top:.25rem}.swagger-ui .pt2{padding-top:.5rem}.swagger-ui .pt3{padding-top:1rem}.swagger-ui .pt4{padding-top:2rem}.swagger-ui .pt5{padding-top:4rem}.swagger-ui .pt6{padding-top:8rem}.swagger-ui .pt7{padding-top:16rem}.swagger-ui .pv0{padding-bottom:0;padding-top:0}.swagger-ui .pv1{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0{padding-left:0;padding-right:0}.swagger-ui .ph1{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0{margin:0}.swagger-ui .ma1{margin:.25rem}.swagger-ui .ma2{margin:.5rem}.swagger-ui .ma3{margin:1rem}.swagger-ui .ma4{margin:2rem}.swagger-ui .ma5{margin:4rem}.swagger-ui .ma6{margin:8rem}.swagger-ui .ma7{margin:16rem}.swagger-ui .ml0{margin-left:0}.swagger-ui .ml1{margin-left:.25rem}.swagger-ui .ml2{margin-left:.5rem}.swagger-ui .ml3{margin-left:1rem}.swagger-ui .ml4{margin-left:2rem}.swagger-ui .ml5{margin-left:4rem}.swagger-ui .ml6{margin-left:8rem}.swagger-ui .ml7{margin-left:16rem}.swagger-ui .mr0{margin-right:0}.swagger-ui .mr1{margin-right:.25rem}.swagger-ui .mr2{margin-right:.5rem}.swagger-ui .mr3{margin-right:1rem}.swagger-ui .mr4{margin-right:2rem}.swagger-ui .mr5{margin-right:4rem}.swagger-ui .mr6{margin-right:8rem}.swagger-ui .mr7{margin-right:16rem}.swagger-ui .mb0{margin-bottom:0}.swagger-ui .mb1{margin-bottom:.25rem}.swagger-ui .mb2{margin-bottom:.5rem}.swagger-ui .mb3{margin-bottom:1rem}.swagger-ui .mb4{margin-bottom:2rem}.swagger-ui .mb5{margin-bottom:4rem}.swagger-ui .mb6{margin-bottom:8rem}.swagger-ui .mb7{margin-bottom:16rem}.swagger-ui .mt0{margin-top:0}.swagger-ui .mt1{margin-top:.25rem}.swagger-ui .mt2{margin-top:.5rem}.swagger-ui .mt3{margin-top:1rem}.swagger-ui .mt4{margin-top:2rem}.swagger-ui .mt5{margin-top:4rem}.swagger-ui .mt6{margin-top:8rem}.swagger-ui .mt7{margin-top:16rem}.swagger-ui .mv0{margin-bottom:0;margin-top:0}.swagger-ui .mv1{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0{margin-left:0;margin-right:0}.swagger-ui .mh1{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7{margin-left:16rem;margin-right:16rem}@media screen and (min-width:30em){.swagger-ui .pa0-ns{padding:0}.swagger-ui .pa1-ns{padding:.25rem}.swagger-ui .pa2-ns{padding:.5rem}.swagger-ui .pa3-ns{padding:1rem}.swagger-ui .pa4-ns{padding:2rem}.swagger-ui .pa5-ns{padding:4rem}.swagger-ui .pa6-ns{padding:8rem}.swagger-ui .pa7-ns{padding:16rem}.swagger-ui .pl0-ns{padding-left:0}.swagger-ui .pl1-ns{padding-left:.25rem}.swagger-ui .pl2-ns{padding-left:.5rem}.swagger-ui .pl3-ns{padding-left:1rem}.swagger-ui .pl4-ns{padding-left:2rem}.swagger-ui .pl5-ns{padding-left:4rem}.swagger-ui .pl6-ns{padding-left:8rem}.swagger-ui .pl7-ns{padding-left:16rem}.swagger-ui .pr0-ns{padding-right:0}.swagger-ui .pr1-ns{padding-right:.25rem}.swagger-ui .pr2-ns{padding-right:.5rem}.swagger-ui .pr3-ns{padding-right:1rem}.swagger-ui .pr4-ns{padding-right:2rem}.swagger-ui .pr5-ns{padding-right:4rem}.swagger-ui .pr6-ns{padding-right:8rem}.swagger-ui .pr7-ns{padding-right:16rem}.swagger-ui .pb0-ns{padding-bottom:0}.swagger-ui .pb1-ns{padding-bottom:.25rem}.swagger-ui .pb2-ns{padding-bottom:.5rem}.swagger-ui .pb3-ns{padding-bottom:1rem}.swagger-ui .pb4-ns{padding-bottom:2rem}.swagger-ui .pb5-ns{padding-bottom:4rem}.swagger-ui .pb6-ns{padding-bottom:8rem}.swagger-ui .pb7-ns{padding-bottom:16rem}.swagger-ui .pt0-ns{padding-top:0}.swagger-ui .pt1-ns{padding-top:.25rem}.swagger-ui .pt2-ns{padding-top:.5rem}.swagger-ui .pt3-ns{padding-top:1rem}.swagger-ui .pt4-ns{padding-top:2rem}.swagger-ui .pt5-ns{padding-top:4rem}.swagger-ui .pt6-ns{padding-top:8rem}.swagger-ui .pt7-ns{padding-top:16rem}.swagger-ui .pv0-ns{padding-bottom:0;padding-top:0}.swagger-ui .pv1-ns{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-ns{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-ns{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-ns{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-ns{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-ns{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-ns{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-ns{padding-left:0;padding-right:0}.swagger-ui .ph1-ns{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-ns{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-ns{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-ns{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-ns{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-ns{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-ns{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-ns{margin:0}.swagger-ui .ma1-ns{margin:.25rem}.swagger-ui .ma2-ns{margin:.5rem}.swagger-ui .ma3-ns{margin:1rem}.swagger-ui .ma4-ns{margin:2rem}.swagger-ui .ma5-ns{margin:4rem}.swagger-ui .ma6-ns{margin:8rem}.swagger-ui .ma7-ns{margin:16rem}.swagger-ui .ml0-ns{margin-left:0}.swagger-ui .ml1-ns{margin-left:.25rem}.swagger-ui .ml2-ns{margin-left:.5rem}.swagger-ui .ml3-ns{margin-left:1rem}.swagger-ui .ml4-ns{margin-left:2rem}.swagger-ui .ml5-ns{margin-left:4rem}.swagger-ui .ml6-ns{margin-left:8rem}.swagger-ui .ml7-ns{margin-left:16rem}.swagger-ui .mr0-ns{margin-right:0}.swagger-ui .mr1-ns{margin-right:.25rem}.swagger-ui .mr2-ns{margin-right:.5rem}.swagger-ui .mr3-ns{margin-right:1rem}.swagger-ui .mr4-ns{margin-right:2rem}.swagger-ui .mr5-ns{margin-right:4rem}.swagger-ui .mr6-ns{margin-right:8rem}.swagger-ui .mr7-ns{margin-right:16rem}.swagger-ui .mb0-ns{margin-bottom:0}.swagger-ui .mb1-ns{margin-bottom:.25rem}.swagger-ui .mb2-ns{margin-bottom:.5rem}.swagger-ui .mb3-ns{margin-bottom:1rem}.swagger-ui .mb4-ns{margin-bottom:2rem}.swagger-ui .mb5-ns{margin-bottom:4rem}.swagger-ui .mb6-ns{margin-bottom:8rem}.swagger-ui .mb7-ns{margin-bottom:16rem}.swagger-ui .mt0-ns{margin-top:0}.swagger-ui .mt1-ns{margin-top:.25rem}.swagger-ui .mt2-ns{margin-top:.5rem}.swagger-ui .mt3-ns{margin-top:1rem}.swagger-ui .mt4-ns{margin-top:2rem}.swagger-ui .mt5-ns{margin-top:4rem}.swagger-ui .mt6-ns{margin-top:8rem}.swagger-ui .mt7-ns{margin-top:16rem}.swagger-ui .mv0-ns{margin-bottom:0;margin-top:0}.swagger-ui .mv1-ns{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-ns{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-ns{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-ns{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-ns{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-ns{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-ns{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-ns{margin-left:0;margin-right:0}.swagger-ui .mh1-ns{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-ns{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-ns{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-ns{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-ns{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-ns{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-ns{margin-left:16rem;margin-right:16rem}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .pa0-m{padding:0}.swagger-ui .pa1-m{padding:.25rem}.swagger-ui .pa2-m{padding:.5rem}.swagger-ui .pa3-m{padding:1rem}.swagger-ui .pa4-m{padding:2rem}.swagger-ui .pa5-m{padding:4rem}.swagger-ui .pa6-m{padding:8rem}.swagger-ui .pa7-m{padding:16rem}.swagger-ui .pl0-m{padding-left:0}.swagger-ui .pl1-m{padding-left:.25rem}.swagger-ui .pl2-m{padding-left:.5rem}.swagger-ui .pl3-m{padding-left:1rem}.swagger-ui .pl4-m{padding-left:2rem}.swagger-ui .pl5-m{padding-left:4rem}.swagger-ui .pl6-m{padding-left:8rem}.swagger-ui .pl7-m{padding-left:16rem}.swagger-ui .pr0-m{padding-right:0}.swagger-ui .pr1-m{padding-right:.25rem}.swagger-ui .pr2-m{padding-right:.5rem}.swagger-ui .pr3-m{padding-right:1rem}.swagger-ui .pr4-m{padding-right:2rem}.swagger-ui .pr5-m{padding-right:4rem}.swagger-ui .pr6-m{padding-right:8rem}.swagger-ui .pr7-m{padding-right:16rem}.swagger-ui .pb0-m{padding-bottom:0}.swagger-ui .pb1-m{padding-bottom:.25rem}.swagger-ui .pb2-m{padding-bottom:.5rem}.swagger-ui .pb3-m{padding-bottom:1rem}.swagger-ui .pb4-m{padding-bottom:2rem}.swagger-ui .pb5-m{padding-bottom:4rem}.swagger-ui .pb6-m{padding-bottom:8rem}.swagger-ui .pb7-m{padding-bottom:16rem}.swagger-ui .pt0-m{padding-top:0}.swagger-ui .pt1-m{padding-top:.25rem}.swagger-ui .pt2-m{padding-top:.5rem}.swagger-ui .pt3-m{padding-top:1rem}.swagger-ui .pt4-m{padding-top:2rem}.swagger-ui .pt5-m{padding-top:4rem}.swagger-ui .pt6-m{padding-top:8rem}.swagger-ui .pt7-m{padding-top:16rem}.swagger-ui .pv0-m{padding-bottom:0;padding-top:0}.swagger-ui .pv1-m{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-m{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-m{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-m{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-m{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-m{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-m{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-m{padding-left:0;padding-right:0}.swagger-ui .ph1-m{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-m{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-m{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-m{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-m{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-m{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-m{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-m{margin:0}.swagger-ui .ma1-m{margin:.25rem}.swagger-ui .ma2-m{margin:.5rem}.swagger-ui .ma3-m{margin:1rem}.swagger-ui .ma4-m{margin:2rem}.swagger-ui .ma5-m{margin:4rem}.swagger-ui .ma6-m{margin:8rem}.swagger-ui .ma7-m{margin:16rem}.swagger-ui .ml0-m{margin-left:0}.swagger-ui .ml1-m{margin-left:.25rem}.swagger-ui .ml2-m{margin-left:.5rem}.swagger-ui .ml3-m{margin-left:1rem}.swagger-ui .ml4-m{margin-left:2rem}.swagger-ui .ml5-m{margin-left:4rem}.swagger-ui .ml6-m{margin-left:8rem}.swagger-ui .ml7-m{margin-left:16rem}.swagger-ui .mr0-m{margin-right:0}.swagger-ui .mr1-m{margin-right:.25rem}.swagger-ui .mr2-m{margin-right:.5rem}.swagger-ui .mr3-m{margin-right:1rem}.swagger-ui .mr4-m{margin-right:2rem}.swagger-ui .mr5-m{margin-right:4rem}.swagger-ui .mr6-m{margin-right:8rem}.swagger-ui .mr7-m{margin-right:16rem}.swagger-ui .mb0-m{margin-bottom:0}.swagger-ui .mb1-m{margin-bottom:.25rem}.swagger-ui .mb2-m{margin-bottom:.5rem}.swagger-ui .mb3-m{margin-bottom:1rem}.swagger-ui .mb4-m{margin-bottom:2rem}.swagger-ui .mb5-m{margin-bottom:4rem}.swagger-ui .mb6-m{margin-bottom:8rem}.swagger-ui .mb7-m{margin-bottom:16rem}.swagger-ui .mt0-m{margin-top:0}.swagger-ui .mt1-m{margin-top:.25rem}.swagger-ui .mt2-m{margin-top:.5rem}.swagger-ui .mt3-m{margin-top:1rem}.swagger-ui .mt4-m{margin-top:2rem}.swagger-ui .mt5-m{margin-top:4rem}.swagger-ui .mt6-m{margin-top:8rem}.swagger-ui .mt7-m{margin-top:16rem}.swagger-ui .mv0-m{margin-bottom:0;margin-top:0}.swagger-ui .mv1-m{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-m{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-m{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-m{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-m{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-m{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-m{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-m{margin-left:0;margin-right:0}.swagger-ui .mh1-m{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-m{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-m{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-m{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-m{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-m{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-m{margin-left:16rem;margin-right:16rem}}@media screen and (min-width:60em){.swagger-ui .pa0-l{padding:0}.swagger-ui .pa1-l{padding:.25rem}.swagger-ui .pa2-l{padding:.5rem}.swagger-ui .pa3-l{padding:1rem}.swagger-ui .pa4-l{padding:2rem}.swagger-ui .pa5-l{padding:4rem}.swagger-ui .pa6-l{padding:8rem}.swagger-ui .pa7-l{padding:16rem}.swagger-ui .pl0-l{padding-left:0}.swagger-ui .pl1-l{padding-left:.25rem}.swagger-ui .pl2-l{padding-left:.5rem}.swagger-ui .pl3-l{padding-left:1rem}.swagger-ui .pl4-l{padding-left:2rem}.swagger-ui .pl5-l{padding-left:4rem}.swagger-ui .pl6-l{padding-left:8rem}.swagger-ui .pl7-l{padding-left:16rem}.swagger-ui .pr0-l{padding-right:0}.swagger-ui .pr1-l{padding-right:.25rem}.swagger-ui .pr2-l{padding-right:.5rem}.swagger-ui .pr3-l{padding-right:1rem}.swagger-ui .pr4-l{padding-right:2rem}.swagger-ui .pr5-l{padding-right:4rem}.swagger-ui .pr6-l{padding-right:8rem}.swagger-ui .pr7-l{padding-right:16rem}.swagger-ui .pb0-l{padding-bottom:0}.swagger-ui .pb1-l{padding-bottom:.25rem}.swagger-ui .pb2-l{padding-bottom:.5rem}.swagger-ui .pb3-l{padding-bottom:1rem}.swagger-ui .pb4-l{padding-bottom:2rem}.swagger-ui .pb5-l{padding-bottom:4rem}.swagger-ui .pb6-l{padding-bottom:8rem}.swagger-ui .pb7-l{padding-bottom:16rem}.swagger-ui .pt0-l{padding-top:0}.swagger-ui .pt1-l{padding-top:.25rem}.swagger-ui .pt2-l{padding-top:.5rem}.swagger-ui .pt3-l{padding-top:1rem}.swagger-ui .pt4-l{padding-top:2rem}.swagger-ui .pt5-l{padding-top:4rem}.swagger-ui .pt6-l{padding-top:8rem}.swagger-ui .pt7-l{padding-top:16rem}.swagger-ui .pv0-l{padding-bottom:0;padding-top:0}.swagger-ui .pv1-l{padding-bottom:.25rem;padding-top:.25rem}.swagger-ui .pv2-l{padding-bottom:.5rem;padding-top:.5rem}.swagger-ui .pv3-l{padding-bottom:1rem;padding-top:1rem}.swagger-ui .pv4-l{padding-bottom:2rem;padding-top:2rem}.swagger-ui .pv5-l{padding-bottom:4rem;padding-top:4rem}.swagger-ui .pv6-l{padding-bottom:8rem;padding-top:8rem}.swagger-ui .pv7-l{padding-bottom:16rem;padding-top:16rem}.swagger-ui .ph0-l{padding-left:0;padding-right:0}.swagger-ui .ph1-l{padding-left:.25rem;padding-right:.25rem}.swagger-ui .ph2-l{padding-left:.5rem;padding-right:.5rem}.swagger-ui .ph3-l{padding-left:1rem;padding-right:1rem}.swagger-ui .ph4-l{padding-left:2rem;padding-right:2rem}.swagger-ui .ph5-l{padding-left:4rem;padding-right:4rem}.swagger-ui .ph6-l{padding-left:8rem;padding-right:8rem}.swagger-ui .ph7-l{padding-left:16rem;padding-right:16rem}.swagger-ui .ma0-l{margin:0}.swagger-ui .ma1-l{margin:.25rem}.swagger-ui .ma2-l{margin:.5rem}.swagger-ui .ma3-l{margin:1rem}.swagger-ui .ma4-l{margin:2rem}.swagger-ui .ma5-l{margin:4rem}.swagger-ui .ma6-l{margin:8rem}.swagger-ui .ma7-l{margin:16rem}.swagger-ui .ml0-l{margin-left:0}.swagger-ui .ml1-l{margin-left:.25rem}.swagger-ui .ml2-l{margin-left:.5rem}.swagger-ui .ml3-l{margin-left:1rem}.swagger-ui .ml4-l{margin-left:2rem}.swagger-ui .ml5-l{margin-left:4rem}.swagger-ui .ml6-l{margin-left:8rem}.swagger-ui .ml7-l{margin-left:16rem}.swagger-ui .mr0-l{margin-right:0}.swagger-ui .mr1-l{margin-right:.25rem}.swagger-ui .mr2-l{margin-right:.5rem}.swagger-ui .mr3-l{margin-right:1rem}.swagger-ui .mr4-l{margin-right:2rem}.swagger-ui .mr5-l{margin-right:4rem}.swagger-ui .mr6-l{margin-right:8rem}.swagger-ui .mr7-l{margin-right:16rem}.swagger-ui .mb0-l{margin-bottom:0}.swagger-ui .mb1-l{margin-bottom:.25rem}.swagger-ui .mb2-l{margin-bottom:.5rem}.swagger-ui .mb3-l{margin-bottom:1rem}.swagger-ui .mb4-l{margin-bottom:2rem}.swagger-ui .mb5-l{margin-bottom:4rem}.swagger-ui .mb6-l{margin-bottom:8rem}.swagger-ui .mb7-l{margin-bottom:16rem}.swagger-ui .mt0-l{margin-top:0}.swagger-ui .mt1-l{margin-top:.25rem}.swagger-ui .mt2-l{margin-top:.5rem}.swagger-ui .mt3-l{margin-top:1rem}.swagger-ui .mt4-l{margin-top:2rem}.swagger-ui .mt5-l{margin-top:4rem}.swagger-ui .mt6-l{margin-top:8rem}.swagger-ui .mt7-l{margin-top:16rem}.swagger-ui .mv0-l{margin-bottom:0;margin-top:0}.swagger-ui .mv1-l{margin-bottom:.25rem;margin-top:.25rem}.swagger-ui .mv2-l{margin-bottom:.5rem;margin-top:.5rem}.swagger-ui .mv3-l{margin-bottom:1rem;margin-top:1rem}.swagger-ui .mv4-l{margin-bottom:2rem;margin-top:2rem}.swagger-ui .mv5-l{margin-bottom:4rem;margin-top:4rem}.swagger-ui .mv6-l{margin-bottom:8rem;margin-top:8rem}.swagger-ui .mv7-l{margin-bottom:16rem;margin-top:16rem}.swagger-ui .mh0-l{margin-left:0;margin-right:0}.swagger-ui .mh1-l{margin-left:.25rem;margin-right:.25rem}.swagger-ui .mh2-l{margin-left:.5rem;margin-right:.5rem}.swagger-ui .mh3-l{margin-left:1rem;margin-right:1rem}.swagger-ui .mh4-l{margin-left:2rem;margin-right:2rem}.swagger-ui .mh5-l{margin-left:4rem;margin-right:4rem}.swagger-ui .mh6-l{margin-left:8rem;margin-right:8rem}.swagger-ui .mh7-l{margin-left:16rem;margin-right:16rem}}.swagger-ui .na1{margin:-.25rem}.swagger-ui .na2{margin:-.5rem}.swagger-ui .na3{margin:-1rem}.swagger-ui .na4{margin:-2rem}.swagger-ui .na5{margin:-4rem}.swagger-ui .na6{margin:-8rem}.swagger-ui .na7{margin:-16rem}.swagger-ui .nl1{margin-left:-.25rem}.swagger-ui .nl2{margin-left:-.5rem}.swagger-ui .nl3{margin-left:-1rem}.swagger-ui .nl4{margin-left:-2rem}.swagger-ui .nl5{margin-left:-4rem}.swagger-ui .nl6{margin-left:-8rem}.swagger-ui .nl7{margin-left:-16rem}.swagger-ui .nr1{margin-right:-.25rem}.swagger-ui .nr2{margin-right:-.5rem}.swagger-ui .nr3{margin-right:-1rem}.swagger-ui .nr4{margin-right:-2rem}.swagger-ui .nr5{margin-right:-4rem}.swagger-ui .nr6{margin-right:-8rem}.swagger-ui .nr7{margin-right:-16rem}.swagger-ui .nb1{margin-bottom:-.25rem}.swagger-ui .nb2{margin-bottom:-.5rem}.swagger-ui .nb3{margin-bottom:-1rem}.swagger-ui .nb4{margin-bottom:-2rem}.swagger-ui .nb5{margin-bottom:-4rem}.swagger-ui .nb6{margin-bottom:-8rem}.swagger-ui .nb7{margin-bottom:-16rem}.swagger-ui .nt1{margin-top:-.25rem}.swagger-ui .nt2{margin-top:-.5rem}.swagger-ui .nt3{margin-top:-1rem}.swagger-ui .nt4{margin-top:-2rem}.swagger-ui .nt5{margin-top:-4rem}.swagger-ui .nt6{margin-top:-8rem}.swagger-ui .nt7{margin-top:-16rem}@media screen and (min-width:30em){.swagger-ui .na1-ns{margin:-.25rem}.swagger-ui .na2-ns{margin:-.5rem}.swagger-ui .na3-ns{margin:-1rem}.swagger-ui .na4-ns{margin:-2rem}.swagger-ui .na5-ns{margin:-4rem}.swagger-ui .na6-ns{margin:-8rem}.swagger-ui .na7-ns{margin:-16rem}.swagger-ui .nl1-ns{margin-left:-.25rem}.swagger-ui .nl2-ns{margin-left:-.5rem}.swagger-ui .nl3-ns{margin-left:-1rem}.swagger-ui .nl4-ns{margin-left:-2rem}.swagger-ui .nl5-ns{margin-left:-4rem}.swagger-ui .nl6-ns{margin-left:-8rem}.swagger-ui .nl7-ns{margin-left:-16rem}.swagger-ui .nr1-ns{margin-right:-.25rem}.swagger-ui .nr2-ns{margin-right:-.5rem}.swagger-ui .nr3-ns{margin-right:-1rem}.swagger-ui .nr4-ns{margin-right:-2rem}.swagger-ui .nr5-ns{margin-right:-4rem}.swagger-ui .nr6-ns{margin-right:-8rem}.swagger-ui .nr7-ns{margin-right:-16rem}.swagger-ui .nb1-ns{margin-bottom:-.25rem}.swagger-ui .nb2-ns{margin-bottom:-.5rem}.swagger-ui .nb3-ns{margin-bottom:-1rem}.swagger-ui .nb4-ns{margin-bottom:-2rem}.swagger-ui .nb5-ns{margin-bottom:-4rem}.swagger-ui .nb6-ns{margin-bottom:-8rem}.swagger-ui .nb7-ns{margin-bottom:-16rem}.swagger-ui .nt1-ns{margin-top:-.25rem}.swagger-ui .nt2-ns{margin-top:-.5rem}.swagger-ui .nt3-ns{margin-top:-1rem}.swagger-ui .nt4-ns{margin-top:-2rem}.swagger-ui .nt5-ns{margin-top:-4rem}.swagger-ui .nt6-ns{margin-top:-8rem}.swagger-ui .nt7-ns{margin-top:-16rem}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .na1-m{margin:-.25rem}.swagger-ui .na2-m{margin:-.5rem}.swagger-ui .na3-m{margin:-1rem}.swagger-ui .na4-m{margin:-2rem}.swagger-ui .na5-m{margin:-4rem}.swagger-ui .na6-m{margin:-8rem}.swagger-ui .na7-m{margin:-16rem}.swagger-ui .nl1-m{margin-left:-.25rem}.swagger-ui .nl2-m{margin-left:-.5rem}.swagger-ui .nl3-m{margin-left:-1rem}.swagger-ui .nl4-m{margin-left:-2rem}.swagger-ui .nl5-m{margin-left:-4rem}.swagger-ui .nl6-m{margin-left:-8rem}.swagger-ui .nl7-m{margin-left:-16rem}.swagger-ui .nr1-m{margin-right:-.25rem}.swagger-ui .nr2-m{margin-right:-.5rem}.swagger-ui .nr3-m{margin-right:-1rem}.swagger-ui .nr4-m{margin-right:-2rem}.swagger-ui .nr5-m{margin-right:-4rem}.swagger-ui .nr6-m{margin-right:-8rem}.swagger-ui .nr7-m{margin-right:-16rem}.swagger-ui .nb1-m{margin-bottom:-.25rem}.swagger-ui .nb2-m{margin-bottom:-.5rem}.swagger-ui .nb3-m{margin-bottom:-1rem}.swagger-ui .nb4-m{margin-bottom:-2rem}.swagger-ui .nb5-m{margin-bottom:-4rem}.swagger-ui .nb6-m{margin-bottom:-8rem}.swagger-ui .nb7-m{margin-bottom:-16rem}.swagger-ui .nt1-m{margin-top:-.25rem}.swagger-ui .nt2-m{margin-top:-.5rem}.swagger-ui .nt3-m{margin-top:-1rem}.swagger-ui .nt4-m{margin-top:-2rem}.swagger-ui .nt5-m{margin-top:-4rem}.swagger-ui .nt6-m{margin-top:-8rem}.swagger-ui .nt7-m{margin-top:-16rem}}@media screen and (min-width:60em){.swagger-ui .na1-l{margin:-.25rem}.swagger-ui .na2-l{margin:-.5rem}.swagger-ui .na3-l{margin:-1rem}.swagger-ui .na4-l{margin:-2rem}.swagger-ui .na5-l{margin:-4rem}.swagger-ui .na6-l{margin:-8rem}.swagger-ui .na7-l{margin:-16rem}.swagger-ui .nl1-l{margin-left:-.25rem}.swagger-ui .nl2-l{margin-left:-.5rem}.swagger-ui .nl3-l{margin-left:-1rem}.swagger-ui .nl4-l{margin-left:-2rem}.swagger-ui .nl5-l{margin-left:-4rem}.swagger-ui .nl6-l{margin-left:-8rem}.swagger-ui .nl7-l{margin-left:-16rem}.swagger-ui .nr1-l{margin-right:-.25rem}.swagger-ui .nr2-l{margin-right:-.5rem}.swagger-ui .nr3-l{margin-right:-1rem}.swagger-ui .nr4-l{margin-right:-2rem}.swagger-ui .nr5-l{margin-right:-4rem}.swagger-ui .nr6-l{margin-right:-8rem}.swagger-ui .nr7-l{margin-right:-16rem}.swagger-ui .nb1-l{margin-bottom:-.25rem}.swagger-ui .nb2-l{margin-bottom:-.5rem}.swagger-ui .nb3-l{margin-bottom:-1rem}.swagger-ui .nb4-l{margin-bottom:-2rem}.swagger-ui .nb5-l{margin-bottom:-4rem}.swagger-ui .nb6-l{margin-bottom:-8rem}.swagger-ui .nb7-l{margin-bottom:-16rem}.swagger-ui .nt1-l{margin-top:-.25rem}.swagger-ui .nt2-l{margin-top:-.5rem}.swagger-ui .nt3-l{margin-top:-1rem}.swagger-ui .nt4-l{margin-top:-2rem}.swagger-ui .nt5-l{margin-top:-4rem}.swagger-ui .nt6-l{margin-top:-8rem}.swagger-ui .nt7-l{margin-top:-16rem}}.swagger-ui .collapse{border-collapse:collapse;border-spacing:0}.swagger-ui .striped--light-silver:nth-child(odd){background-color:#aaa}.swagger-ui .striped--moon-gray:nth-child(odd){background-color:#ccc}.swagger-ui .striped--light-gray:nth-child(odd){background-color:#eee}.swagger-ui .striped--near-white:nth-child(odd){background-color:#f4f4f4}.swagger-ui .stripe-light:nth-child(odd){background-color:#ffffff1a}.swagger-ui .stripe-dark:nth-child(odd){background-color:#0000001a}.swagger-ui .strike{text-decoration:line-through}.swagger-ui .underline{text-decoration:underline}.swagger-ui .no-underline{text-decoration:none}@media screen and (min-width:30em){.swagger-ui .strike-ns{text-decoration:line-through}.swagger-ui .underline-ns{text-decoration:underline}.swagger-ui .no-underline-ns{text-decoration:none}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .strike-m{text-decoration:line-through}.swagger-ui .underline-m{text-decoration:underline}.swagger-ui .no-underline-m{text-decoration:none}}@media screen and (min-width:60em){.swagger-ui .strike-l{text-decoration:line-through}.swagger-ui .underline-l{text-decoration:underline}.swagger-ui .no-underline-l{text-decoration:none}}.swagger-ui .tl{text-align:left}.swagger-ui .tr{text-align:right}.swagger-ui .tc{text-align:center}.swagger-ui .tj{text-align:justify}@media screen and (min-width:30em){.swagger-ui .tl-ns{text-align:left}.swagger-ui .tr-ns{text-align:right}.swagger-ui .tc-ns{text-align:center}.swagger-ui .tj-ns{text-align:justify}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .tl-m{text-align:left}.swagger-ui .tr-m{text-align:right}.swagger-ui .tc-m{text-align:center}.swagger-ui .tj-m{text-align:justify}}@media screen and (min-width:60em){.swagger-ui .tl-l{text-align:left}.swagger-ui .tr-l{text-align:right}.swagger-ui .tc-l{text-align:center}.swagger-ui .tj-l{text-align:justify}}.swagger-ui .ttc{text-transform:capitalize}.swagger-ui .ttl{text-transform:lowercase}.swagger-ui .ttu{text-transform:uppercase}.swagger-ui .ttn{text-transform:none}@media screen and (min-width:30em){.swagger-ui .ttc-ns{text-transform:capitalize}.swagger-ui .ttl-ns{text-transform:lowercase}.swagger-ui .ttu-ns{text-transform:uppercase}.swagger-ui .ttn-ns{text-transform:none}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .ttc-m{text-transform:capitalize}.swagger-ui .ttl-m{text-transform:lowercase}.swagger-ui .ttu-m{text-transform:uppercase}.swagger-ui .ttn-m{text-transform:none}}@media screen and (min-width:60em){.swagger-ui .ttc-l{text-transform:capitalize}.swagger-ui .ttl-l{text-transform:lowercase}.swagger-ui .ttu-l{text-transform:uppercase}.swagger-ui .ttn-l{text-transform:none}}.swagger-ui .f-6,.swagger-ui .f-headline{font-size:6rem}.swagger-ui .f-5,.swagger-ui .f-subheadline{font-size:5rem}.swagger-ui .f1{font-size:3rem}.swagger-ui .f2{font-size:2.25rem}.swagger-ui .f3{font-size:1.5rem}.swagger-ui .f4{font-size:1.25rem}.swagger-ui .f5{font-size:1rem}.swagger-ui .f6{font-size:.875rem}.swagger-ui .f7{font-size:.75rem}@media screen and (min-width:30em){.swagger-ui .f-6-ns,.swagger-ui .f-headline-ns{font-size:6rem}.swagger-ui .f-5-ns,.swagger-ui .f-subheadline-ns{font-size:5rem}.swagger-ui .f1-ns{font-size:3rem}.swagger-ui .f2-ns{font-size:2.25rem}.swagger-ui .f3-ns{font-size:1.5rem}.swagger-ui .f4-ns{font-size:1.25rem}.swagger-ui .f5-ns{font-size:1rem}.swagger-ui .f6-ns{font-size:.875rem}.swagger-ui .f7-ns{font-size:.75rem}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .f-6-m,.swagger-ui .f-headline-m{font-size:6rem}.swagger-ui .f-5-m,.swagger-ui .f-subheadline-m{font-size:5rem}.swagger-ui .f1-m{font-size:3rem}.swagger-ui .f2-m{font-size:2.25rem}.swagger-ui .f3-m{font-size:1.5rem}.swagger-ui .f4-m{font-size:1.25rem}.swagger-ui .f5-m{font-size:1rem}.swagger-ui .f6-m{font-size:.875rem}.swagger-ui .f7-m{font-size:.75rem}}@media screen and (min-width:60em){.swagger-ui .f-6-l,.swagger-ui .f-headline-l{font-size:6rem}.swagger-ui .f-5-l,.swagger-ui .f-subheadline-l{font-size:5rem}.swagger-ui .f1-l{font-size:3rem}.swagger-ui .f2-l{font-size:2.25rem}.swagger-ui .f3-l{font-size:1.5rem}.swagger-ui .f4-l{font-size:1.25rem}.swagger-ui .f5-l{font-size:1rem}.swagger-ui .f6-l{font-size:.875rem}.swagger-ui .f7-l{font-size:.75rem}}.swagger-ui .measure{max-width:30em}.swagger-ui .measure-wide{max-width:34em}.swagger-ui .measure-narrow{max-width:20em}.swagger-ui .indent{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (min-width:30em){.swagger-ui .measure-ns{max-width:30em}.swagger-ui .measure-wide-ns{max-width:34em}.swagger-ui .measure-narrow-ns{max-width:20em}.swagger-ui .indent-ns{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-ns{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-ns{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .measure-m{max-width:30em}.swagger-ui .measure-wide-m{max-width:34em}.swagger-ui .measure-narrow-m{max-width:20em}.swagger-ui .indent-m{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-m{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-m{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media screen and (min-width:60em){.swagger-ui .measure-l{max-width:30em}.swagger-ui .measure-wide-l{max-width:34em}.swagger-ui .measure-narrow-l{max-width:20em}.swagger-ui .indent-l{margin-bottom:0;margin-top:0;text-indent:1em}.swagger-ui .small-caps-l{font-feature-settings:"smcp";font-variant:small-caps}.swagger-ui .truncate-l{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.swagger-ui .overflow-container{overflow-y:scroll}.swagger-ui .center{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto{margin-right:auto}.swagger-ui .ml-auto{margin-left:auto}@media screen and (min-width:30em){.swagger-ui .center-ns{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-ns{margin-right:auto}.swagger-ui .ml-auto-ns{margin-left:auto}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .center-m{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-m{margin-right:auto}.swagger-ui .ml-auto-m{margin-left:auto}}@media screen and (min-width:60em){.swagger-ui .center-l{margin-left:auto;margin-right:auto}.swagger-ui .mr-auto-l{margin-right:auto}.swagger-ui .ml-auto-l{margin-left:auto}}.swagger-ui .clip{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:fixed!important;_position:absolute!important}@media screen and (min-width:30em){.swagger-ui .clip-ns{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:fixed!important;_position:absolute!important}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .clip-m{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:fixed!important;_position:absolute!important}}@media screen and (min-width:60em){.swagger-ui .clip-l{clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);position:fixed!important;_position:absolute!important}}.swagger-ui .ws-normal{white-space:normal}.swagger-ui .nowrap{white-space:nowrap}.swagger-ui .pre{white-space:pre}@media screen and (min-width:30em){.swagger-ui .ws-normal-ns{white-space:normal}.swagger-ui .nowrap-ns{white-space:nowrap}.swagger-ui .pre-ns{white-space:pre}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .ws-normal-m{white-space:normal}.swagger-ui .nowrap-m{white-space:nowrap}.swagger-ui .pre-m{white-space:pre}}@media screen and (min-width:60em){.swagger-ui .ws-normal-l{white-space:normal}.swagger-ui .nowrap-l{white-space:nowrap}.swagger-ui .pre-l{white-space:pre}}.swagger-ui .v-base{vertical-align:baseline}.swagger-ui .v-mid{vertical-align:middle}.swagger-ui .v-top{vertical-align:top}.swagger-ui .v-btm{vertical-align:bottom}@media screen and (min-width:30em){.swagger-ui .v-base-ns{vertical-align:baseline}.swagger-ui .v-mid-ns{vertical-align:middle}.swagger-ui .v-top-ns{vertical-align:top}.swagger-ui .v-btm-ns{vertical-align:bottom}}@media screen and (min-width:30em) and (max-width:60em){.swagger-ui .v-base-m{vertical-align:baseline}.swagger-ui .v-mid-m{vertical-align:middle}.swagger-ui .v-top-m{vertical-align:top}.swagger-ui .v-btm-m{vertical-align:bottom}}@media screen and (min-width:60em){.swagger-ui .v-base-l{vertical-align:baseline}.swagger-ui .v-mid-l{vertical-align:middle}.swagger-ui .v-top-l{vertical-align:top}.swagger-ui .v-btm-l{vertical-align:bottom}}.swagger-ui .dim{opacity:1;transition:opacity .15s ease-in}.swagger-ui .dim:focus,.swagger-ui .dim:hover{opacity:.5;transition:opacity .15s ease-in}.swagger-ui .dim:active{opacity:.8;transition:opacity .15s ease-out}.swagger-ui .glow{transition:opacity .15s ease-in}.swagger-ui .glow:focus,.swagger-ui .glow:hover{opacity:1;transition:opacity .15s ease-in}.swagger-ui .hide-child .child{opacity:0;transition:opacity .15s ease-in}.swagger-ui .hide-child:active .child,.swagger-ui .hide-child:focus .child,.swagger-ui .hide-child:hover .child{opacity:1;transition:opacity .15s ease-in}.swagger-ui .underline-hover:focus,.swagger-ui .underline-hover:hover{text-decoration:underline}.swagger-ui .grow{-moz-osx-font-smoothing:grayscale;backface-visibility:hidden;transform:translateZ(0);transition:transform .25s ease-out}.swagger-ui .grow:focus,.swagger-ui .grow:hover{transform:scale(1.05)}.swagger-ui .grow:active{transform:scale(.9)}.swagger-ui .grow-large{-moz-osx-font-smoothing:grayscale;backface-visibility:hidden;transform:translateZ(0);transition:transform .25s ease-in-out}.swagger-ui .grow-large:focus,.swagger-ui .grow-large:hover{transform:scale(1.2)}.swagger-ui .grow-large:active{transform:scale(.95)}.swagger-ui .pointer:hover{cursor:pointer}.swagger-ui .shadow-hover{cursor:pointer;position:relative;transition:all .5s cubic-bezier(.165,.84,.44,1)}.swagger-ui .shadow-hover:after{border-radius:inherit;box-shadow:0 0 16px 2px #0003;content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .5s cubic-bezier(.165,.84,.44,1);width:100%;z-index:-1}.swagger-ui .shadow-hover:focus:after,.swagger-ui .shadow-hover:hover:after{opacity:1}.swagger-ui .bg-animate,.swagger-ui .bg-animate:focus,.swagger-ui .bg-animate:hover{transition:background-color .15s ease-in-out}.swagger-ui .z-0{z-index:0}.swagger-ui .z-1{z-index:1}.swagger-ui .z-2{z-index:2}.swagger-ui .z-3{z-index:3}.swagger-ui .z-4{z-index:4}.swagger-ui .z-5{z-index:5}.swagger-ui .z-999{z-index:999}.swagger-ui .z-9999{z-index:9999}.swagger-ui .z-max{z-index:2147483647}.swagger-ui .z-inherit{z-index:inherit}.swagger-ui .z-initial{z-index:auto}.swagger-ui .z-unset{z-index:unset}.swagger-ui .nested-copy-line-height ol,.swagger-ui .nested-copy-line-height p,.swagger-ui .nested-copy-line-height ul{line-height:1.5}.swagger-ui .nested-headline-line-height h1,.swagger-ui .nested-headline-line-height h2,.swagger-ui .nested-headline-line-height h3,.swagger-ui .nested-headline-line-height h4,.swagger-ui .nested-headline-line-height h5,.swagger-ui .nested-headline-line-height h6{line-height:1.25}.swagger-ui .nested-list-reset ol,.swagger-ui .nested-list-reset ul{list-style-type:none;margin-left:0;padding-left:0}.swagger-ui .nested-copy-indent p+p{margin-bottom:0;margin-top:0;text-indent:.1em}.swagger-ui .nested-copy-seperator p+p{margin-top:1.5em}.swagger-ui .nested-img img{display:block;max-width:100%;width:100%}.swagger-ui .nested-links a{color:#357edd;transition:color .15s ease-in}.swagger-ui .nested-links a:focus,.swagger-ui .nested-links a:hover{color:#96ccff;transition:color .15s ease-in}.swagger-ui .wrapper{box-sizing:border-box;margin:0 auto;max-width:1460px;padding:0 20px;width:100%}.swagger-ui .opblock-tag-section{display:flex;flex-direction:column}.swagger-ui .try-out.btn-group{display:flex;flex:.1 2 auto;padding:0}.swagger-ui .try-out__btn{margin-left:1.25rem}.swagger-ui .opblock-tag{align-items:center;border-bottom:1px solid rgba(59,65,81,.3);cursor:pointer;display:flex;padding:10px 20px 10px 10px;transition:all .2s}.swagger-ui .opblock-tag:hover{background:rgba(0,0,0,.02)}.swagger-ui .opblock-tag{color:#3b4151;font-family:sans-serif;font-size:24px;margin:0 0 5px}.swagger-ui .opblock-tag.no-desc span{flex:1}.swagger-ui .opblock-tag svg{transition:all .4s}.swagger-ui .opblock-tag small{color:#3b4151;flex:2;font-family:sans-serif;font-size:14px;font-weight:400;padding:0 10px}.swagger-ui .opblock-tag>div{flex:1 1 150px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.swagger-ui .parameter__type{color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;padding:5px 0}.swagger-ui .parameter-controls{margin-top:.75em}.swagger-ui .examples__title{display:block;font-size:1.1em;font-weight:700;margin-bottom:.75em}.swagger-ui .examples__section{margin-top:1.5em}.swagger-ui .examples__section-header{font-size:.9rem;font-weight:700;margin-bottom:.5rem}.swagger-ui .examples-select{display:inline-block;margin-bottom:.75em}.swagger-ui .examples-select .examples-select-element{width:100%}.swagger-ui .examples-select__section-label{font-size:.9rem;font-weight:700;margin-right:.5rem}.swagger-ui .example__section{margin-top:1.5em}.swagger-ui .example__section-header{font-size:.9rem;font-weight:700;margin-bottom:.5rem}.swagger-ui .view-line-link{cursor:pointer;margin:0 5px;position:relative;top:3px;transition:all .5s;width:20px}.swagger-ui .opblock{border:1px solid #000;border-radius:4px;box-shadow:0 0 3px #00000030;margin:0 0 15px}.swagger-ui .opblock .tab-header{display:flex;flex:1}.swagger-ui .opblock .tab-header .tab-item{cursor:pointer;padding:0 40px}.swagger-ui .opblock .tab-header .tab-item:first-of-type{padding:0 40px 0 0}.swagger-ui .opblock .tab-header .tab-item.active h4 span{position:relative}.swagger-ui .opblock .tab-header .tab-item.active h4 span:after{background:gray;bottom:-15px;content:"";height:4px;left:50%;position:absolute;transform:translate(-50%);width:120%}.swagger-ui .opblock.is-open .opblock-summary{border-bottom:1px solid #000}.swagger-ui .opblock .opblock-section-header{align-items:center;background:hsla(0,0%,100%,.8);box-shadow:0 1px 2px #0000001a;display:flex;min-height:50px;padding:8px 20px}.swagger-ui .opblock .opblock-section-header>label{align-items:center;color:#3b4151;display:flex;font-family:sans-serif;font-size:12px;font-weight:700;margin:0 0 0 auto}.swagger-ui .opblock .opblock-section-header>label>span{padding:0 10px 0 0}.swagger-ui .opblock .opblock-section-header h4{color:#3b4151;flex:1;font-family:sans-serif;font-size:14px;margin:0}.swagger-ui .opblock .opblock-summary-method{background:#000;border-radius:3px;color:#fff;font-family:sans-serif;font-size:14px;font-weight:700;min-width:80px;padding:6px 0;text-align:center;text-shadow:0 1px 0 rgba(0,0,0,.1)}.swagger-ui .opblock .opblock-summary-operation-id,.swagger-ui .opblock .opblock-summary-path,.swagger-ui .opblock .opblock-summary-path__deprecated{align-items:center;color:#3b4151;display:flex;font-family:monospace;font-size:16px;font-weight:600;padding:0 10px;word-break:break-word}@media (max-width:768px){.swagger-ui .opblock .opblock-summary-operation-id,.swagger-ui .opblock .opblock-summary-path,.swagger-ui .opblock .opblock-summary-path__deprecated{font-size:12px}}.swagger-ui .opblock .opblock-summary-path{flex-shrink:0;max-width:calc(100% - 110px - 15rem)}.swagger-ui .opblock .opblock-summary-path__deprecated{text-decoration:line-through}.swagger-ui .opblock .opblock-summary-operation-id{font-size:14px}.swagger-ui .opblock .opblock-summary-description{color:#3b4151;flex:1 1 auto;font-family:sans-serif;font-size:13px;word-break:break-word}.swagger-ui .opblock .opblock-summary{align-items:center;cursor:pointer;display:flex;padding:5px}.swagger-ui .opblock .opblock-summary .view-line-link{cursor:pointer;margin:0;position:relative;top:2px;transition:all .5s;width:0}.swagger-ui .opblock .opblock-summary:hover .view-line-link{margin:0 5px;width:18px}.swagger-ui .opblock.opblock-post{background:rgba(73,204,144,.1);border-color:#49cc90}.swagger-ui .opblock.opblock-post .opblock-summary-method{background:#49cc90}.swagger-ui .opblock.opblock-post .opblock-summary{border-color:#49cc90}.swagger-ui .opblock.opblock-post .tab-header .tab-item.active h4 span:after{background:#49cc90}.swagger-ui .opblock.opblock-put{background:rgba(252,161,48,.1);border-color:#fca130}.swagger-ui .opblock.opblock-put .opblock-summary-method{background:#fca130}.swagger-ui .opblock.opblock-put .opblock-summary{border-color:#fca130}.swagger-ui .opblock.opblock-put .tab-header .tab-item.active h4 span:after{background:#fca130}.swagger-ui .opblock.opblock-delete{background:rgba(249,62,62,.1);border-color:#f93e3e}.swagger-ui .opblock.opblock-delete .opblock-summary-method{background:#f93e3e}.swagger-ui .opblock.opblock-delete .opblock-summary{border-color:#f93e3e}.swagger-ui .opblock.opblock-delete .tab-header .tab-item.active h4 span:after{background:#f93e3e}.swagger-ui .opblock.opblock-get{background:rgba(97,175,254,.1);border-color:#61affe}.swagger-ui .opblock.opblock-get .opblock-summary-method{background:#61affe}.swagger-ui .opblock.opblock-get .opblock-summary{border-color:#61affe}.swagger-ui .opblock.opblock-get .tab-header .tab-item.active h4 span:after{background:#61affe}.swagger-ui .opblock.opblock-patch{background:rgba(80,227,194,.1);border-color:#50e3c2}.swagger-ui .opblock.opblock-patch .opblock-summary-method{background:#50e3c2}.swagger-ui .opblock.opblock-patch .opblock-summary{border-color:#50e3c2}.swagger-ui .opblock.opblock-patch .tab-header .tab-item.active h4 span:after{background:#50e3c2}.swagger-ui .opblock.opblock-head{background:rgba(144,18,254,.1);border-color:#9012fe}.swagger-ui .opblock.opblock-head .opblock-summary-method{background:#9012fe}.swagger-ui .opblock.opblock-head .opblock-summary{border-color:#9012fe}.swagger-ui .opblock.opblock-head .tab-header .tab-item.active h4 span:after{background:#9012fe}.swagger-ui .opblock.opblock-options{background:rgba(13,90,167,.1);border-color:#0d5aa7}.swagger-ui .opblock.opblock-options .opblock-summary-method{background:#0d5aa7}.swagger-ui .opblock.opblock-options .opblock-summary{border-color:#0d5aa7}.swagger-ui .opblock.opblock-options .tab-header .tab-item.active h4 span:after{background:#0d5aa7}.swagger-ui .opblock.opblock-deprecated{background:hsla(0,0%,92%,.1);border-color:#ebebeb;opacity:.6}.swagger-ui .opblock.opblock-deprecated .opblock-summary-method{background:#ebebeb}.swagger-ui .opblock.opblock-deprecated .opblock-summary{border-color:#ebebeb}.swagger-ui .opblock.opblock-deprecated .tab-header .tab-item.active h4 span:after{background:#ebebeb}.swagger-ui .opblock .opblock-schemes{padding:8px 20px}.swagger-ui .opblock .opblock-schemes .schemes-title{padding:0 10px 0 0}.swagger-ui .filter .operation-filter-input{border:2px solid #d8dde7;margin:20px 0;padding:10px;width:100%}.swagger-ui .download-url-wrapper .failed,.swagger-ui .filter .failed{color:red}.swagger-ui .download-url-wrapper .loading,.swagger-ui .filter .loading{color:#aaa}.swagger-ui .model-example{margin-top:1em}.swagger-ui .tab{display:flex;list-style:none;padding:0}.swagger-ui .tab li{color:#3b4151;cursor:pointer;font-family:sans-serif;font-size:12px;min-width:60px;padding:0}.swagger-ui .tab li:first-of-type{padding-left:0;padding-right:12px;position:relative}.swagger-ui .tab li:first-of-type:after{background:rgba(0,0,0,.2);content:"";height:100%;position:absolute;right:6px;top:0;width:1px}.swagger-ui .tab li.active{font-weight:700}.swagger-ui .tab li button.tablinks{background:none;border:0;color:inherit;font-family:inherit;font-weight:inherit;padding:0}.swagger-ui .opblock-description-wrapper,.swagger-ui .opblock-external-docs-wrapper,.swagger-ui .opblock-title_normal{color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px;padding:15px 20px}.swagger-ui .opblock-description-wrapper h4,.swagger-ui .opblock-external-docs-wrapper h4,.swagger-ui .opblock-title_normal h4{color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px}.swagger-ui .opblock-description-wrapper p,.swagger-ui .opblock-external-docs-wrapper p,.swagger-ui .opblock-title_normal p{color:#3b4151;font-family:sans-serif;font-size:14px;margin:0}.swagger-ui .opblock-external-docs-wrapper h4{padding-left:0}.swagger-ui .execute-wrapper{padding:20px;text-align:right}.swagger-ui .execute-wrapper .btn{padding:8px 40px;width:100%}.swagger-ui .body-param-options{display:flex;flex-direction:column}.swagger-ui .body-param-options .body-param-edit{padding:10px 0}.swagger-ui .body-param-options label{padding:8px 0}.swagger-ui .body-param-options label select{margin:3px 0 0}.swagger-ui .responses-inner{padding:20px}.swagger-ui .responses-inner h4,.swagger-ui .responses-inner h5{color:#3b4151;font-family:sans-serif;font-size:12px;margin:10px 0 5px}.swagger-ui .responses-inner .curl{white-space:normal}.swagger-ui .response-col_status{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .response-col_status .response-undocumented{color:#909090;font-family:monospace;font-size:11px;font-weight:600}.swagger-ui .response-col_links{color:#3b4151;font-family:sans-serif;font-size:14px;max-width:40em;padding-left:2em}.swagger-ui .response-col_links .response-undocumented{color:#909090;font-family:monospace;font-size:11px;font-weight:600}.swagger-ui .response-col_links .operation-link{margin-bottom:1.5em}.swagger-ui .response-col_links .operation-link .description{margin-bottom:.5em}.swagger-ui .opblock-body .opblock-loading-animation{display:block;margin:3em auto}.swagger-ui .opblock-body pre.microlight{word-wrap:break-word;background:#333;border-radius:4px;color:#fff;font-family:monospace;font-size:12px;font-weight:600;hyphens:auto;margin:0;padding:10px;white-space:pre-wrap;word-break:break-all;word-break:break-word}.swagger-ui .opblock-body pre.microlight .headerline{display:block}.swagger-ui .highlight-code{position:relative}.swagger-ui .highlight-code>.microlight{max-height:400px;min-height:6em;overflow-y:auto}.swagger-ui .highlight-code>.microlight code{white-space:pre-wrap!important;word-break:break-all}.swagger-ui .curl-command{position:relative}.swagger-ui .download-contents{align-items:center;background:#7d8293;border-radius:4px;bottom:10px;color:#fff;cursor:pointer;display:flex;font-family:sans-serif;font-size:14px;font-weight:600;height:30px;justify-content:center;padding:5px;position:absolute;right:10px;text-align:center}.swagger-ui .scheme-container{background:#fff;box-shadow:0 1px 2px #00000026;margin:0 0 20px;padding:30px 0}.swagger-ui .scheme-container .schemes{align-items:flex-end;display:flex}.swagger-ui .scheme-container .schemes>label{color:#3b4151;display:flex;flex-direction:column;font-family:sans-serif;font-size:12px;font-weight:700;margin:-20px 15px 0 0}.swagger-ui .scheme-container .schemes>label select{min-width:130px;text-transform:uppercase}.swagger-ui .loading-container{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-top:1em;min-height:1px;padding:40px 0 60px}.swagger-ui .loading-container .loading{position:relative}.swagger-ui .loading-container .loading:after{color:#3b4151;content:"loading";font-family:sans-serif;font-size:10px;font-weight:700;left:50%;position:absolute;text-transform:uppercase;top:50%;transform:translate(-50%,-50%)}.swagger-ui .loading-container .loading:before{animation:rotation 1s linear infinite,opacity .5s;backface-visibility:hidden;border:2px solid rgba(85,85,85,.1);border-radius:100%;border-top-color:#0009;content:"";display:block;height:60px;left:50%;margin:-30px;opacity:1;position:absolute;top:50%;width:60px}@keyframes rotation{to{transform:rotate(1turn)}}.swagger-ui .response-controls{display:flex;padding-top:1em}.swagger-ui .response-control-media-type{margin-right:1em}.swagger-ui .response-control-media-type--accept-controller select{border-color:green}.swagger-ui .response-control-media-type__accept-message{color:green;font-size:.7em}.swagger-ui .response-control-examples__title,.swagger-ui .response-control-media-type__title{display:block;font-size:.7em;margin-bottom:.2em}@keyframes blinker{50%{opacity:0}}.swagger-ui .hidden{display:none}.swagger-ui .no-margin{border:none;height:auto;margin:0;padding:0}.swagger-ui .float-right{float:right}.swagger-ui .svg-assets{height:0;position:absolute;width:0}.swagger-ui section h3{color:#3b4151;font-family:sans-serif}.swagger-ui a.nostyle{display:inline}.swagger-ui a.nostyle,.swagger-ui a.nostyle:visited{color:inherit;cursor:pointer;text-decoration:inherit}.swagger-ui .fallback{color:#aaa;padding:1em}.swagger-ui .version-pragma{height:100%;padding:5em 0}.swagger-ui .version-pragma__message{display:flex;font-size:1.2em;height:100%;justify-content:center;line-height:1.5em;padding:0 .6em;text-align:center}.swagger-ui .version-pragma__message>div{flex:1;max-width:55ch}.swagger-ui .version-pragma__message code{background-color:#dedede;padding:4px 4px 2px;white-space:pre}.swagger-ui .opblock-link{font-weight:400}.swagger-ui .opblock-link.shown{font-weight:700}.swagger-ui span.token-string{color:#555}.swagger-ui span.token-not-formatted{color:#555;font-weight:700}.swagger-ui .btn{background:transparent;border:2px solid gray;border-radius:4px;box-shadow:0 1px 2px #0000001a;color:#3b4151;font-family:sans-serif;font-size:14px;font-weight:700;padding:5px 23px;transition:all .3s}.swagger-ui .btn.btn-sm{font-size:12px;padding:4px 23px}.swagger-ui .btn[disabled]{cursor:not-allowed;opacity:.3}.swagger-ui .btn:hover{box-shadow:0 0 5px #0000004d}.swagger-ui .btn.cancel{background-color:transparent;border-color:#ff6060;color:#ff6060;font-family:sans-serif}.swagger-ui .btn.authorize{background-color:transparent;border-color:#49cc90;color:#49cc90;display:inline;line-height:1}.swagger-ui .btn.authorize span{float:left;padding:4px 20px 0 0}.swagger-ui .btn.authorize svg{fill:#49cc90}.swagger-ui .btn.execute{background-color:#4990e2;border-color:#4990e2;color:#fff}.swagger-ui .btn-group{display:flex;padding:30px}.swagger-ui .btn-group .btn{flex:1}.swagger-ui .btn-group .btn:first-child{border-radius:4px 0 0 4px}.swagger-ui .btn-group .btn:last-child{border-radius:0 4px 4px 0}.swagger-ui .authorization__btn{background:none;border:none;padding:0 0 0 10px}.swagger-ui .authorization__btn.locked{opacity:1}.swagger-ui .authorization__btn.unlocked{opacity:.4}.swagger-ui .model-box-control,.swagger-ui .models-control,.swagger-ui .opblock-summary-control{all:inherit;border-bottom:0;cursor:pointer;flex:1;padding:0}.swagger-ui .model-box-control:focus,.swagger-ui .models-control:focus,.swagger-ui .opblock-summary-control:focus{outline:auto}.swagger-ui .expand-methods,.swagger-ui .expand-operation{background:none;border:none}.swagger-ui .expand-methods svg,.swagger-ui .expand-operation svg{height:20px;width:20px}.swagger-ui .expand-methods{padding:0 10px}.swagger-ui .expand-methods:hover svg{fill:#404040}.swagger-ui .expand-methods svg{fill:#707070;transition:all .3s}.swagger-ui button{cursor:pointer}.swagger-ui button.invalid{animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui .copy-to-clipboard{align-items:center;background:#7d8293;border:none;border-radius:4px;bottom:10px;display:flex;height:30px;justify-content:center;position:absolute;right:100px;width:30px}.swagger-ui .copy-to-clipboard button{background:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" aria-hidden="true"><path fill="%23fff" fill-rule="evenodd" d="M4 12h4v1H4v-1zm5-6H4v1h5V6zm2 3V7l-3 3 3 3v-2h5V9h-5zM6.5 8H4v1h2.5V8zM4 11h2.5v-1H4v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V5H3v9h10v-2zM4 4h8c0-.55-.45-1-1-1h-1c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H5c-.55 0-1 .45-1 1z"/></svg>') 50% no-repeat;border:none;flex-grow:1;flex-shrink:1;height:25px}.swagger-ui .curl-command .copy-to-clipboard{bottom:5px;height:20px;right:10px;width:20px}.swagger-ui .curl-command .copy-to-clipboard button{height:18px}.swagger-ui select{appearance:none;background:#f7f7f7 url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M13.418 7.859a.695.695 0 0 1 .978 0 .68.68 0 0 1 0 .969l-3.908 3.83a.697.697 0 0 1-.979 0l-3.908-3.83a.68.68 0 0 1 0-.969.695.695 0 0 1 .978 0L10 11l3.418-3.141z"/></svg>') right 10px center no-repeat;background-size:20px;border:2px solid #41444e;border-radius:4px;box-shadow:0 1px 2px #00000040;color:#3b4151;font-family:sans-serif;font-size:14px;font-weight:700;padding:5px 40px 5px 10px}.swagger-ui select[multiple]{background:#f7f7f7;margin:5px 0;padding:5px}.swagger-ui select.invalid{animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui .opblock-body select{min-width:230px}@media (max-width:768px){.swagger-ui .opblock-body select{min-width:180px}}.swagger-ui label{color:#3b4151;font-family:sans-serif;font-size:12px;font-weight:700;margin:0 0 5px}@media (max-width:768px){.swagger-ui input[type=email],.swagger-ui input[type=file],.swagger-ui input[type=password],.swagger-ui input[type=search],.swagger-ui input[type=text]{max-width:175px}}.swagger-ui input[type=email],.swagger-ui input[type=file],.swagger-ui input[type=password],.swagger-ui input[type=search],.swagger-ui input[type=text],.swagger-ui textarea{background:#fff;border:1px solid #d9d9d9;border-radius:4px;margin:5px 0;min-width:100px;padding:8px 10px}.swagger-ui input[type=email].invalid,.swagger-ui input[type=file].invalid,.swagger-ui input[type=password].invalid,.swagger-ui input[type=search].invalid,.swagger-ui input[type=text].invalid,.swagger-ui textarea.invalid{animation:shake .4s 1;background:#feebeb;border-color:#f93e3e}.swagger-ui input[disabled],.swagger-ui select[disabled],.swagger-ui textarea[disabled]{background-color:#fafafa;color:#888;cursor:not-allowed}.swagger-ui select[disabled]{border-color:#888}.swagger-ui textarea[disabled]{background-color:#41444e;color:#fff}@keyframes shake{10%,90%{transform:translate3d(-1px,0,0)}20%,80%{transform:translate3d(2px,0,0)}30%,50%,70%{transform:translate3d(-4px,0,0)}40%,60%{transform:translate3d(4px,0,0)}}.swagger-ui textarea{background:hsla(0,0%,100%,.8);border:none;border-radius:4px;color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;min-height:280px;outline:none;padding:10px;width:100%}.swagger-ui textarea:focus{border:2px solid #61affe}.swagger-ui textarea.curl{background:#41444e;border-radius:4px;color:#fff;font-family:monospace;font-size:12px;font-weight:600;margin:0;min-height:100px;padding:10px;resize:none}.swagger-ui .checkbox{color:#303030;padding:5px 0 10px;transition:opacity .5s}.swagger-ui .checkbox label{display:flex}.swagger-ui .checkbox p{color:#3b4151;font-family:monospace;font-style:italic;font-weight:400!important;font-weight:600;margin:0!important}.swagger-ui .checkbox input[type=checkbox]{display:none}.swagger-ui .checkbox input[type=checkbox]+label>.item{background:#e8e8e8;border-radius:1px;box-shadow:0 0 0 2px #e8e8e8;cursor:pointer;display:inline-block;flex:none;height:16px;margin:0 8px 0 0;padding:5px;position:relative;top:3px;width:16px}.swagger-ui .checkbox input[type=checkbox]+label>.item:active{transform:scale(.9)}.swagger-ui .checkbox input[type=checkbox]:checked+label>.item{background:#e8e8e8 url('data:image/svg+xml;charset=utf-8,<svg width="10" height="8" viewBox="3 7 10 8" xmlns="http://www.w3.org/2000/svg"><path fill="%2341474E" fill-rule="evenodd" d="M6.333 15 3 11.667l1.333-1.334 2 2L11.667 7 13 8.333z"/></svg>') 50% no-repeat}.swagger-ui .dialog-ux{inset:0;position:fixed;z-index:9999}.swagger-ui .dialog-ux .backdrop-ux{background:rgba(0,0,0,.8);inset:0;position:fixed}.swagger-ui .dialog-ux .modal-ux{background:#fff;border:1px solid #ebebeb;border-radius:4px;box-shadow:0 10px 30px #0003;left:50%;max-width:650px;min-width:300px;position:absolute;top:50%;transform:translate(-50%,-50%);width:100%;z-index:9999}.swagger-ui .dialog-ux .modal-ux-content{max-height:540px;overflow-y:auto;padding:20px}.swagger-ui .dialog-ux .modal-ux-content p{color:#41444e;color:#3b4151;font-family:sans-serif;font-size:12px;margin:0 0 5px}.swagger-ui .dialog-ux .modal-ux-content h4{color:#3b4151;font-family:sans-serif;font-size:18px;font-weight:600;margin:15px 0 0}.swagger-ui .dialog-ux .modal-ux-header{align-items:center;border-bottom:1px solid #ebebeb;display:flex;padding:12px 0}.swagger-ui .dialog-ux .modal-ux-header .close-modal{appearance:none;background:none;border:none;padding:0 10px}.swagger-ui .dialog-ux .modal-ux-header h3{color:#3b4151;flex:1;font-family:sans-serif;font-size:20px;font-weight:600;margin:0;padding:0 20px}.swagger-ui .model{color:#3b4151;font-family:monospace;font-size:12px;font-weight:300;font-weight:600}.swagger-ui .model .deprecated span,.swagger-ui .model .deprecated td{color:#a0a0a0!important}.swagger-ui .model .deprecated>td:first-of-type{text-decoration:line-through}.swagger-ui .model-toggle{cursor:pointer;display:inline-block;font-size:10px;margin:auto .3em;position:relative;top:6px;transform:rotate(90deg);transform-origin:50% 50%;transition:transform .15s ease-in}.swagger-ui .model-toggle.collapsed{transform:rotate(0)}.swagger-ui .model-toggle:after{background:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>') 50% no-repeat;background-size:100%;content:"";display:block;height:20px;width:20px}.swagger-ui .model-jump-to-path{cursor:pointer;position:relative}.swagger-ui .model-jump-to-path .view-line-link{cursor:pointer;position:absolute;top:-.4em}.swagger-ui .model-title{position:relative}.swagger-ui .model-title:hover .model-hint{visibility:visible}.swagger-ui .model-hint{background:rgba(0,0,0,.7);border-radius:4px;color:#ebebeb;padding:.1em .5em;position:absolute;top:-1.8em;visibility:hidden;white-space:nowrap}.swagger-ui .model p{margin:0 0 1em}.swagger-ui .model .property{color:#999;font-style:italic}.swagger-ui .model .property.primitive{color:#6b6b6b}.swagger-ui table.model tr.description{color:#666;font-weight:400}.swagger-ui table.model tr.description td:first-child,.swagger-ui table.model tr.property-row.required td:first-child{font-weight:700}.swagger-ui table.model tr.property-row td{vertical-align:top}.swagger-ui table.model tr.property-row td:first-child{padding-right:.2em}.swagger-ui table.model tr.property-row .star{color:red}.swagger-ui table.model tr.extension{color:#777}.swagger-ui table.model tr.extension td:last-child{vertical-align:top}.swagger-ui section.models{border:1px solid rgba(59,65,81,.3);border-radius:4px;margin:30px 0}.swagger-ui section.models .pointer{cursor:pointer}.swagger-ui section.models.is-open{padding:0 0 20px}.swagger-ui section.models.is-open h4{border-bottom:1px solid rgba(59,65,81,.3);margin:0 0 5px}.swagger-ui section.models h4{align-items:center;color:#606060;cursor:pointer;display:flex;font-family:sans-serif;font-size:16px;margin:0;padding:10px 20px 10px 10px;transition:all .2s}.swagger-ui section.models h4 svg{transition:all .4s}.swagger-ui section.models h4 span{flex:1}.swagger-ui section.models h4:hover{background:rgba(0,0,0,.02)}.swagger-ui section.models h5{color:#707070;font-family:sans-serif;font-size:16px;margin:0 0 10px}.swagger-ui section.models .model-jump-to-path{position:relative;top:5px}.swagger-ui section.models .model-container{background:rgba(0,0,0,.05);border-radius:4px;margin:0 20px 15px;position:relative;transition:all .5s}.swagger-ui section.models .model-container:hover{background:rgba(0,0,0,.07)}.swagger-ui section.models .model-container:first-of-type{margin:20px}.swagger-ui section.models .model-container:last-of-type{margin:0 20px}.swagger-ui section.models .model-container .models-jump-to-path{opacity:.65;position:absolute;right:5px;top:8px}.swagger-ui section.models .model-box{background:none}.swagger-ui .model-box{background:rgba(0,0,0,.1);border-radius:4px;display:inline-block;padding:10px}.swagger-ui .model-box .model-jump-to-path{position:relative;top:4px}.swagger-ui .model-box.deprecated{opacity:.5}.swagger-ui .model-title{color:#505050;font-family:sans-serif;font-size:16px}.swagger-ui .model-title img{bottom:0;margin-left:1em;position:relative}.swagger-ui .model-deprecated-warning{color:#f93e3e;font-family:sans-serif;font-size:16px;font-weight:600;margin-right:1em}.swagger-ui span>span.model .brace-close{padding:0 0 0 10px}.swagger-ui .prop-name{display:inline-block;margin-right:1em}.swagger-ui .prop-type{color:#55a}.swagger-ui .prop-enum{display:block}.swagger-ui .prop-format{color:#606060}.swagger-ui .servers>label{color:#3b4151;font-family:sans-serif;font-size:12px;margin:-20px 15px 0 0}.swagger-ui .servers>label select{max-width:100%;min-width:130px}.swagger-ui .servers h4.message{padding-bottom:2em}.swagger-ui .servers table tr{width:30em}.swagger-ui .servers table td{display:inline-block;max-width:15em;padding-bottom:10px;padding-top:10px;vertical-align:middle}.swagger-ui .servers table td:first-of-type{padding-right:1em}.swagger-ui .servers table td input{height:100%;width:100%}.swagger-ui .servers .computed-url{margin:2em 0}.swagger-ui .servers .computed-url code{display:inline-block;font-size:16px;margin:0 1em;padding:4px}.swagger-ui .servers-title{font-size:12px;font-weight:700}.swagger-ui .operation-servers h4.message{margin-bottom:2em}.swagger-ui table{border-collapse:collapse;padding:0 10px;width:100%}.swagger-ui table.model tbody tr td{padding:0;vertical-align:top}.swagger-ui table.model tbody tr td:first-of-type{padding:0 0 0 2em;width:174px}.swagger-ui table.headers td{color:#3b4151;font-family:monospace;font-size:12px;font-weight:300;font-weight:600;vertical-align:middle}.swagger-ui table.headers .header-example{color:#999;font-style:italic}.swagger-ui table tbody tr td{padding:10px 0 0;vertical-align:top}.swagger-ui table tbody tr td:first-of-type{min-width:6em;padding:10px 0}.swagger-ui table thead tr td,.swagger-ui table thead tr th{border-bottom:1px solid rgba(59,65,81,.2);color:#3b4151;font-family:sans-serif;font-size:12px;font-weight:700;padding:12px 0;text-align:left}.swagger-ui .parameters-col_description{margin-bottom:2em;width:99%}.swagger-ui .parameters-col_description input[type=text]{max-width:340px;width:100%}.swagger-ui .parameters-col_description select{border-width:1px}.swagger-ui .parameter__name{color:#3b4151;font-family:sans-serif;font-size:16px;font-weight:400;margin-right:.75em}.swagger-ui .parameter__name.required{font-weight:700}.swagger-ui .parameter__name.required span{color:red}.swagger-ui .parameter__name.required:after{color:#f009;content:"required";font-size:10px;padding:5px;position:relative;top:-6px}.swagger-ui .parameter__extension,.swagger-ui .parameter__in{color:gray;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .parameter__deprecated{color:red;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .parameter__empty_value_toggle{display:block;font-size:13px;padding-bottom:12px;padding-top:5px}.swagger-ui .parameter__empty_value_toggle input{margin-right:7px}.swagger-ui .parameter__empty_value_toggle.disabled{opacity:.7}.swagger-ui .table-container{padding:20px}.swagger-ui .response-col_description{width:99%}.swagger-ui .response-col_links{min-width:6em}.swagger-ui .response__extension{color:gray;font-family:monospace;font-size:12px;font-style:italic;font-weight:600}.swagger-ui .topbar{background-color:#1b1b1b;padding:10px 0}.swagger-ui .topbar .topbar-wrapper,.swagger-ui .topbar a{align-items:center;display:flex}.swagger-ui .topbar a{color:#fff;flex:1;font-family:sans-serif;font-size:1.5em;font-weight:700;max-width:300px;text-decoration:none}.swagger-ui .topbar a span{margin:0;padding:0 10px}.swagger-ui .topbar .download-url-wrapper{display:flex;flex:3;justify-content:flex-end}.swagger-ui .topbar .download-url-wrapper input[type=text]{border:2px solid #62a03f;border-radius:4px 0 0 4px;margin:0;outline:none;width:100%}.swagger-ui .topbar .download-url-wrapper .select-label{align-items:center;color:#f0f0f0;display:flex;margin:0;max-width:600px;width:100%}.swagger-ui .topbar .download-url-wrapper .select-label span{flex:1;font-size:16px;padding:0 10px 0 0;text-align:right}.swagger-ui .topbar .download-url-wrapper .select-label select{border:2px solid #62a03f;box-shadow:none;flex:2;outline:none;width:100%}.swagger-ui .topbar .download-url-wrapper .download-url-button{background:#62a03f;border:none;border-radius:0 4px 4px 0;color:#fff;font-family:sans-serif;font-size:16px;font-weight:700;padding:4px 30px}.swagger-ui .info{margin:50px 0}.swagger-ui .info.failed-config{margin-left:auto;margin-right:auto;max-width:880px;text-align:center}.swagger-ui .info hgroup.main{margin:0 0 20px}.swagger-ui .info hgroup.main a{font-size:12px}.swagger-ui .info pre{font-size:14px}.swagger-ui .info li,.swagger-ui .info p,.swagger-ui .info table{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .info h1,.swagger-ui .info h2,.swagger-ui .info h3,.swagger-ui .info h4,.swagger-ui .info h5{color:#3b4151;font-family:sans-serif}.swagger-ui .info a{color:#4990e2;font-family:sans-serif;font-size:14px;transition:all .4s}.swagger-ui .info a:hover{color:#1f69c0}.swagger-ui .info>div{margin:0 0 5px}.swagger-ui .info .base-url{color:#3b4151;font-family:monospace;font-size:12px;font-weight:300!important;font-weight:600;margin:0}.swagger-ui .info .title{color:#3b4151;font-family:sans-serif;font-size:36px;margin:0}.swagger-ui .info .title small{background:#7d8492;border-radius:57px;display:inline-block;font-size:10px;margin:0 0 0 5px;padding:2px 4px;position:relative;top:-5px;vertical-align:super}.swagger-ui .info .title small.version-stamp{background-color:#89bf04}.swagger-ui .info .title small pre{color:#fff;font-family:sans-serif;margin:0;padding:0}.swagger-ui .auth-btn-wrapper{display:flex;justify-content:center;padding:10px 0}.swagger-ui .auth-btn-wrapper .btn-done{margin-right:1em}.swagger-ui .auth-wrapper{display:flex;flex:1;justify-content:flex-end}.swagger-ui .auth-wrapper .authorize{margin-right:10px;padding-right:20px}.swagger-ui .auth-container{border-bottom:1px solid #ebebeb;margin:0 0 10px;padding:10px 20px}.swagger-ui .auth-container:last-of-type{border:0;margin:0;padding:10px 20px}.swagger-ui .auth-container h4{margin:5px 0 15px!important}.swagger-ui .auth-container .wrapper{margin:0;padding:0}.swagger-ui .auth-container input[type=password],.swagger-ui .auth-container input[type=text]{min-width:230px}.swagger-ui .auth-container .errors{background-color:#fee;border-radius:4px;color:red;color:#3b4151;font-family:monospace;font-size:12px;font-weight:600;margin:1em;padding:10px}.swagger-ui .auth-container .errors b{margin-right:1em;text-transform:capitalize}.swagger-ui .scopes h2{color:#3b4151;font-family:sans-serif;font-size:14px}.swagger-ui .scopes h2 a{color:#4990e2;cursor:pointer;font-size:12px;padding-left:10px;text-decoration:underline}.swagger-ui .scope-def{padding:0 0 20px}.swagger-ui .errors-wrapper{animation:scaleUp .5s;background:rgba(249,62,62,.1);border:2px solid #f93e3e;border-radius:4px;margin:20px;padding:10px 20px}.swagger-ui .errors-wrapper .error-wrapper{margin:0 0 10px}.swagger-ui .errors-wrapper .errors h4{color:#3b4151;font-family:monospace;font-size:14px;font-weight:600;margin:0}.swagger-ui .errors-wrapper .errors small{color:#606060}.swagger-ui .errors-wrapper .errors .message{white-space:pre-line}.swagger-ui .errors-wrapper .errors .message.thrown{max-width:100%}.swagger-ui .errors-wrapper .errors .error-line{cursor:pointer;text-decoration:underline}.swagger-ui .errors-wrapper hgroup{align-items:center;display:flex}.swagger-ui .errors-wrapper hgroup h4{color:#3b4151;flex:1;font-family:sans-serif;font-size:20px;margin:0}@keyframes scaleUp{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.swagger-ui .Resizer.vertical.disabled{display:none}.swagger-ui .markdown p,.swagger-ui .markdown pre,.swagger-ui .renderedMarkdown p,.swagger-ui .renderedMarkdown pre{margin:1em auto;word-break:break-all;word-break:break-word}.swagger-ui .markdown pre,.swagger-ui .renderedMarkdown pre{background:none;color:#000;font-weight:400;padding:0;white-space:pre-wrap}.swagger-ui .markdown code,.swagger-ui .renderedMarkdown code{background:rgba(0,0,0,.05);border-radius:4px;color:#9012fe;font-family:monospace;font-size:14px;font-weight:600;padding:5px 7px}.swagger-ui .markdown pre>code,.swagger-ui .renderedMarkdown pre>code{display:block}.toast-center-center{top:50%;left:50%;transform:translate(-50%,-50%)}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}.toast-title{font-weight:700}.toast-message{word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;text-shadow:0 1px 0 #ffffff}.toast-close-button:hover,.toast-close-button:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button{padding:0;cursor:pointer;background:transparent;border:0}.toast-container{pointer-events:none;position:fixed;z-index:999999}.toast-container *{box-sizing:border-box}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 12px #999;color:#fff}.toast-container .ngx-toastr:hover{box-shadow:0 0 12px #000;opacity:1;cursor:pointer}.toast-info{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOS4wNDMgOCA4IDExOS4wODMgOCAyNTZjMCAxMzYuOTk3IDExMS4wNDMgMjQ4IDI0OCAyNDhzMjQ4LTExMS4wMDMgMjQ4LTI0OEM1MDQgMTE5LjA4MyAzOTIuOTU3IDggMjU2IDh6bTAgMTEwYzIzLjE5NiAwIDQyIDE4LjgwNCA0MiA0MnMtMTguODA0IDQyLTQyIDQyLTQyLTE4LjgwNC00Mi00MiAxOC44MDQtNDIgNDItNDJ6bTU2IDI1NGMwIDYuNjI3LTUuMzczIDEyLTEyIDEyaC04OGMtNi42MjcgMC0xMi01LjM3My0xMi0xMnYtMjRjMC02LjYyNyA1LjM3My0xMiAxMi0xMmgxMnYtNjRoLTEyYy02LjYyNyAwLTEyLTUuMzczLTEyLTEydi0yNGMwLTYuNjI3IDUuMzczLTEyIDEyLTEyaDY0YzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MTAwaDEyYzYuNjI3IDAgMTIgNS4zNzMgMTIgMTJ2MjR6Jy8+PC9zdmc+)}.toast-error{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTI1NiA4QzExOSA4IDggMTE5IDggMjU2czExMSAyNDggMjQ4IDI0OCAyNDgtMTExIDI0OC0yNDhTMzkzIDggMjU2IDh6bTEyMS42IDMxMy4xYzQuNyA0LjcgNC43IDEyLjMgMCAxN0wzMzggMzc3LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwyNTYgMzEybC02NS4xIDY1LjZjLTQuNyA0LjctMTIuMyA0LjctMTcgMEwxMzQuNCAzMzhjLTQuNy00LjctNC43LTEyLjMgMC0xN2w2NS42LTY1LTY1LjYtNjUuMWMtNC43LTQuNy00LjctMTIuMyAwLTE3bDM5LjYtMzkuNmM0LjctNC43IDEyLjMtNC43IDE3IDBsNjUgNjUuNyA2NS4xLTY1LjZjNC43LTQuNyAxMi4zLTQuNyAxNyAwbDM5LjYgMzkuNmM0LjcgNC43IDQuNyAxMi4zIDAgMTdMMzEyIDI1Nmw2NS42IDY1LjF6Jy8+PC9zdmc+)}.toast-success{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1MTIgNTEyJyB3aWR0aD0nNTEyJyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTE3My44OTggNDM5LjQwNGwtMTY2LjQtMTY2LjRjLTkuOTk3LTkuOTk3LTkuOTk3LTI2LjIwNiAwLTM2LjIwNGwzNi4yMDMtMzYuMjA0YzkuOTk3LTkuOTk4IDI2LjIwNy05Ljk5OCAzNi4yMDQgMEwxOTIgMzEyLjY5IDQzMi4wOTUgNzIuNTk2YzkuOTk3LTkuOTk3IDI2LjIwNy05Ljk5NyAzNi4yMDQgMGwzNi4yMDMgMzYuMjA0YzkuOTk3IDkuOTk3IDkuOTk3IDI2LjIwNiAwIDM2LjIwNGwtMjk0LjQgMjk0LjQwMWMtOS45OTggOS45OTctMjYuMjA3IDkuOTk3LTM2LjIwNC0uMDAxeicvPjwvc3ZnPg==)}.toast-warning{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA1NzYgNTEyJyB3aWR0aD0nNTc2JyBoZWlnaHQ9JzUxMic+PHBhdGggZmlsbD0ncmdiKDI1NSwyNTUsMjU1KScgZD0nTTU2OS41MTcgNDQwLjAxM0M1ODcuOTc1IDQ3Mi4wMDcgNTY0LjgwNiA1MTIgNTI3Ljk0IDUxMkg0OC4wNTRjLTM2LjkzNyAwLTU5Ljk5OS00MC4wNTUtNDEuNTc3LTcxLjk4N0wyNDYuNDIzIDIzLjk4NWMxOC40NjctMzIuMDA5IDY0LjcyLTMxLjk1MSA4My4xNTQgMGwyMzkuOTQgNDE2LjAyOHpNMjg4IDM1NGMtMjUuNDA1IDAtNDYgMjAuNTk1LTQ2IDQ2czIwLjU5NSA0NiA0NiA0NiA0Ni0yMC41OTUgNDYtNDYtMjAuNTk1LTQ2LTQ2LTQ2em0tNDMuNjczLTE2NS4zNDZsNy40MTggMTM2Yy4zNDcgNi4zNjQgNS42MDkgMTEuMzQ2IDExLjk4MiAxMS4zNDZoNDguNTQ2YzYuMzczIDAgMTEuNjM1LTQuOTgyIDExLjk4Mi0xMS4zNDZsNy40MTgtMTM2Yy4zNzUtNi44NzQtNS4wOTgtMTIuNjU0LTExLjk4Mi0xMi42NTRoLTYzLjM4M2MtNi44ODQgMC0xMi4zNTYgNS43OC0xMS45ODEgMTIuNjU0eicvPjwvc3ZnPg==)}.toast-container.toast-top-center .ngx-toastr,.toast-container.toast-bottom-center .ngx-toastr{width:300px;margin-left:auto;margin-right:auto}.toast-container.toast-top-full-width .ngx-toastr,.toast-container.toast-bottom-full-width .ngx-toastr{width:96%;margin-left:auto;margin-right:auto}.ngx-toastr{background-color:#030303;pointer-events:auto}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width: 240px){.toast-container .ngx-toastr.div{padding:8px 8px 8px 50px;width:11em}.toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width: 241px) and (max-width: 480px){.toast-container .ngx-toastr.div{padding:8px 8px 8px 50px;width:18em}.toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width: 481px) and (max-width: 768px){.toast-container .ngx-toastr.div{padding:15px 15px 15px 50px;width:25em}}.tree-children.tree-children-no-padding{padding-left:0}.tree-children{padding-left:20px;overflow:hidden}.node-drop-slot{display:block;height:2px}.node-drop-slot.is-dragging-over{background:#ddffee;height:20px;border:2px dotted #888}.toggle-children-wrapper-expanded .toggle-children{transform:rotate(90deg)}.toggle-children-wrapper-collapsed .toggle-children{transform:rotate(0)}.toggle-children-wrapper{padding:2px 3px 5px 1px}.toggle-children{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABAhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ1dWlkOjY1RTYzOTA2ODZDRjExREJBNkUyRDg4N0NFQUNCNDA3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkYzRkRFQjcxODUzNTExRTU4RTQwRkQwODFEOUZEMEE3IiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOkYzRkRFQjcwODUzNTExRTU4RTQwRkQwODFEOUZEMEE3IiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MTk5NzA1OGEtZDI3OC00NDZkLWE4ODgtNGM4MGQ4YWI1NzNmIiBzdFJlZjpkb2N1bWVudElEPSJhZG9iZTpkb2NpZDpwaG90b3Nob3A6YzRkZmQxMGMtY2NlNS0xMTc4LWE5OGQtY2NkZmM5ODk5YWYwIi8+IDxkYzp0aXRsZT4gPHJkZjpBbHQ+IDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+Z2x5cGhpY29uczwvcmRmOmxpPiA8L3JkZjpBbHQ+IDwvZGM6dGl0bGU+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+5iogFwAAAGhJREFUeNpiYGBgKABigf///zOQg0EARH4A4gZyDIIZ8B/JoAJKDIDhB0CcQIkBRBtEyABkgxwoMQCGD6AbRKoBGAYxQgXIBRuZGKgAKPIC3QLxArnRSHZCIjspk52ZKMrOFBUoAAEGAKnq593MQAZtAAAAAElFTkSuQmCC);height:8px;width:9px;background-size:contain;display:inline-block;position:relative;top:1px;background-repeat:no-repeat;background-position:center}.toggle-children-placeholder{display:inline-block;height:10px;width:10px;position:relative;top:1px;padding-right:3px}.node-content-wrapper{display:inline-block;padding:2px 5px;border-radius:2px;transition:background-color .15s,box-shadow .15s}.node-wrapper{display:flex;align-items:flex-start}.node-content-wrapper-active,.node-content-wrapper.node-content-wrapper-active:hover,.node-content-wrapper-active.node-content-wrapper-focused{background:#beebff}.node-content-wrapper-focused{background:#e7f4f9}.node-content-wrapper:hover{background:#f7fbff}.node-content-wrapper-active,.node-content-wrapper-focused,.node-content-wrapper:hover{box-shadow:inset 0 0 1px #999}.node-content-wrapper.is-dragging-over{background:#ddffee;box-shadow:inset 0 0 1px #999}.node-content-wrapper.is-dragging-over-disabled{opacity:.5}tree-viewport{-webkit-tap-highlight-color:transparent;height:100%;overflow:auto;display:block}.tree-children{padding-left:20px}.empty-tree-drop-slot .node-drop-slot{height:20px;min-width:100px}.angular-tree-component{width:100%;position:relative;display:inline-block;cursor:pointer;-webkit-touch-callout:none;user-select:none}tree-root .angular-tree-component-rtl{direction:rtl}tree-root .angular-tree-component-rtl .toggle-children-wrapper-collapsed .toggle-children{transform:rotate(180deg)!important}tree-root .angular-tree-component-rtl .tree-children{padding-right:20px;padding-left:0}tree-node-checkbox{padding:1px}@charset "UTF-8";:root{--white: #fff;--gray-100: #f8f9fa;--gray-200: #e9ecef;--gray-300: #dee2e6;--gray-400: #ced4da;--gray-500: #adb5bd;--gray-600: #6c757d;--gray-700: #495057;--gray-800: #343a40;--gray-900: #212529;--black: #000;--blue: #007bff;--indigo: #6610f2;--purple: #6f42c1;--purple-dim: rgba(111, 66, 193, .5019607843);--pink: #a94442;--red: #dc3545;--red-dim: rgba(220, 53, 69, .5019607843);--orange: #fd7e14;--orange-dim: rgba(253, 126, 20, .5019607843);--yellow: #d48200;--green: #008a00;--green-dim: rgba(0, 138, 0, .5019607843);--teal: #20c997;--cyan: #17a2b8;--cyan-dim: rgba(23, 162, 184, .5019607843);--barley-white: #fcecba;--primary: #25828e;--primary-500: #2b99a8;--secondary: #374249;--success: #008a00;--info: #25828e;--warning: #d48200;--danger: #dc3545;--light: #f8f9fa;--dark: #343a40;--green-300: #6ec664;--cyan-300: #009596;--purple-300: #a18fff;--light-blue-300: #35caed;--gold-300: #f4c145;--light-green-300: #ace12e;--accent: #25828e;--warning-dark: #fd7e14;--fg-color-over-dark-bg: #fff;--fg-hover-color-over-dark-bg: #adb5bd;--body-color-bright: #f8f9fa;--body-bg: #fff;--body-color: #212529;--body-bg-alt: #e9ecef;--health-color-error: #dc3545;--health-color-healthy: #008a00;--health-color-warning: #d48200;--health-color-warning-800: #9d6d10;--chart-color-red: #dc3545;--chart-color-yellow: #f6d173;--chart-color-translucent-red: rgba(220, 53, 69, .5019607843);--chart-color-blue: #007bff;--chart-color-orange: #fd7e14;--chart-color-translucent-orange: rgba(253, 126, 20, .5019607843);--chart-color-translucent-green: rgba(0, 138, 0, .5019607843);--chart-color-translucent-cyan: rgba(23, 162, 184, .5019607843);--chart-color-green: #008a00;--chart-color-gray: #ededed;--chart-color-cyan: #2b99a8;--chart-color-light-gray: #f0f0f0;--chart-color-slight-dark-gray: #d7d7d7;--chart-color-dark-gray: #afafaf;--chart-color-purple: #6f42c1;--chart-color-translucent-purple: rgba(111, 66, 193, .5019607843);--chart-color-white: #fff;--chart-color-center-text: #151515;--chart-color-center-text-description: #72767b;--chart-color-tooltip-background: #000;--chart-danger: #c9190b;--chart-color-strong-blue: #0078c8;--chart-color-translucent-blue: rgba(0, 150, 220, .5019607843);--chart-color-border: rgba(0, 0, 0, .1254901961);--chart-color-translucent-yellow: rgba(239, 146, 52, .4470588235);--font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--card-cap-bg: #f8f9fa;--grid-gutter-width: 30px;--datatable-divider-color: rgba(0, 0, 0, .09);--nav-tabs-margin-bottom: 1rem;--tooltip-color: #fff;--tooltip-bg: #212529;--tooltip-opacity: 1;--screen-sm-min: 576px;--screen-md-min: 768px;--screen-lg-min: 992px;--screen-xl-min: 1200px;--tree-container-height: 200px;--screen-xs-max:575px;--screen-sm-max:767px;--screen-md-max:991px;--screen-lg-max:1199px;--navbar-height: 43px}/*!
* Bootstrap v5.2.3 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2022 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
- */:root{--bs-blue: #007bff;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #a94442;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #d48200;--bs-green: #008a00;--bs-teal: #20c997;--bs-cyan: #17a2b8;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-accent: #25828e;--bs-warning-dark: #fd7e14;--bs-primary: #25828e;--bs-secondary: #374249;--bs-success: #008a00;--bs-info: #25828e;--bs-warning: #d48200;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #343a40;--bs-accent-rgb: 37, 130, 142;--bs-warning-dark-rgb: 253, 126, 20;--bs-primary-rgb: 37, 130, 142;--bs-secondary-rgb: 55, 66, 73;--bs-success-rgb: 0, 138, 0;--bs-info-rgb: 37, 130, 142;--bs-warning-rgb: 212, 130, 0;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 52, 58, 64;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg-rgb: 255, 255, 255;--bs-font-sans-serif: "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-bg: #fff;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-2xl: 2rem;--bs-border-radius-pill: 50rem;--bs-link-color: #25828e;--bs-link-hover-color: #1e6872;--bs-code-color: #a94442;--bs-highlight-bg: #f6e6cc}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:1px solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media (min-width: 1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media (min-width: 1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media (min-width: 1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{text-decoration:underline dotted;cursor:help;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:var(--bs-link-color);text-decoration:underline}a:hover{color:var(--bs-link-hover-color)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width: 1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"\2014\a0"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid var(--bs-border-color);border-radius:.375rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 30px;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width: 576px){.container-sm,.container{max-width:540px}}@media (min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}@media (min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media (min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}.container-2xl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}.row,cd-about dl{--bs-gutter-x: 30px;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*,cd-about dl>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4,cd-about dt{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8,cd-about dd{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12,.cd-col-form,cd-health cd-info-card{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media (min-width: 576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4,.cd-col-form-label,formly-form .form-label,formly-form .custom-control-label{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8,.cd-col-form-input,.cd-col-form-offset{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12,cd-health cd-info-card{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4,.cd-col-form-offset{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media (min-width: 768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4,.cd-col-form-label,formly-form .form-label,formly-form .custom-control-label{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6,cd-health cd-info-card{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8,.cd-col-form-input,.cd-col-form-offset{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12,cd-health cd-info-card.cd-chart-card{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media (min-width: 992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3,.cd-col-form-label,formly-form .form-label,formly-form .custom-control-label,cd-health cd-info-card.cd-capacity-card{flex:0 0 auto;width:25%}.col-lg-4,cd-modal .cd-col-form-label,cd-modal formly-form .form-label,formly-form cd-modal .form-label,cd-modal formly-form .custom-control-label,formly-form cd-modal .custom-control-label,cd-health cd-info-card{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6,cd-health cd-info-card.cd-chart-card,cd-health cd-info-card.cd-performance-card{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8,cd-modal .cd-col-form-input,cd-modal .cd-col-form-offset,.cd-col-form{flex:0 0 auto;width:66.66666667%}.col-lg-9,.cd-col-form-input,.cd-col-form-offset{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3,.cd-col-form-offset{margin-left:25%}.offset-lg-4,cd-modal .cd-col-form-offset{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media (min-width: 1200px){.col-xl,cd-health cd-info-card.cd-performance-card,cd-health cd-info-card.cd-capacity-card{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3,cd-health cd-info-card.cd-status-card{flex:0 0 auto;width:25%}.col-xl-4,cd-health cd-info-card.cd-chart-card{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6,.cd-col-form{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media (min-width: 1450px){.col-2xl{flex:1 0 0%}.row-cols-2xl-auto>*{flex:0 0 auto;width:auto}.row-cols-2xl-1>*{flex:0 0 auto;width:100%}.row-cols-2xl-2>*{flex:0 0 auto;width:50%}.row-cols-2xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-2xl-4>*{flex:0 0 auto;width:25%}.row-cols-2xl-5>*{flex:0 0 auto;width:20%}.row-cols-2xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-2xl-auto{flex:0 0 auto;width:auto}.col-2xl-1{flex:0 0 auto;width:8.33333333%}.col-2xl-2{flex:0 0 auto;width:16.66666667%}.col-2xl-3,cd-health cd-info-card.cd-chart-card{flex:0 0 auto;width:25%}.col-2xl-4{flex:0 0 auto;width:33.33333333%}.col-2xl-5{flex:0 0 auto;width:41.66666667%}.col-2xl-6{flex:0 0 auto;width:50%}.col-2xl-7{flex:0 0 auto;width:58.33333333%}.col-2xl-8{flex:0 0 auto;width:66.66666667%}.col-2xl-9{flex:0 0 auto;width:75%}.col-2xl-10{flex:0 0 auto;width:83.33333333%}.col-2xl-11{flex:0 0 auto;width:91.66666667%}.col-2xl-12{flex:0 0 auto;width:100%}.offset-2xl-0{margin-left:0}.offset-2xl-1{margin-left:8.33333333%}.offset-2xl-2{margin-left:16.66666667%}.offset-2xl-3{margin-left:25%}.offset-2xl-4{margin-left:33.33333333%}.offset-2xl-5{margin-left:41.66666667%}.offset-2xl-6{margin-left:50%}.offset-2xl-7{margin-left:58.33333333%}.offset-2xl-8{margin-left:66.66666667%}.offset-2xl-9{margin-left:75%}.offset-2xl-10{margin-left:83.33333333%}.offset-2xl-11{margin-left:91.66666667%}.g-2xl-0,.gx-2xl-0{--bs-gutter-x: 0}.g-2xl-0,.gy-2xl-0{--bs-gutter-y: 0}.g-2xl-1,.gx-2xl-1{--bs-gutter-x: .25rem}.g-2xl-1,.gy-2xl-1{--bs-gutter-y: .25rem}.g-2xl-2,.gx-2xl-2{--bs-gutter-x: .5rem}.g-2xl-2,.gy-2xl-2{--bs-gutter-y: .5rem}.g-2xl-3,.gx-2xl-3{--bs-gutter-x: 1rem}.g-2xl-3,.gy-2xl-3{--bs-gutter-y: 1rem}.g-2xl-4,.gx-2xl-4{--bs-gutter-x: 1.5rem}.g-2xl-4,.gy-2xl-4{--bs-gutter-y: 1.5rem}.g-2xl-5,.gx-2xl-5{--bs-gutter-x: 3rem}.g-2xl-5,.gy-2xl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color: var(--bs-body-color);--bs-table-bg: transparent;--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-body-color);--bs-table-striped-bg: rgba(0, 0, 0, .05);--bs-table-active-color: var(--bs-body-color);--bs-table-active-bg: rgba(0, 0, 0, .1);--bs-table-hover-color: var(--bs-body-color);--bs-table-hover-bg: rgba(0, 0, 0, .075);width:100%;margin-bottom:1rem;color:var(--bs-table-color);vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:2px solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg: var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-striped-columns>:not(caption)>tr>:nth-child(even){--bs-table-accent-bg: var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg: var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg: var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-color: #000;--bs-table-bg: #d3e6e8;--bs-table-border-color: #becfd1;--bs-table-striped-bg: #c8dbdc;--bs-table-striped-color: #000;--bs-table-active-bg: #becfd1;--bs-table-active-color: #000;--bs-table-hover-bg: #c3d5d7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #d7d9db;--bs-table-border-color: #c2c3c5;--bs-table-striped-bg: #ccced0;--bs-table-striped-color: #000;--bs-table-active-bg: #c2c3c5;--bs-table-active-color: #000;--bs-table-hover-bg: #c7c9cb;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #cce8cc;--bs-table-border-color: #b8d1b8;--bs-table-striped-bg: #c2dcc2;--bs-table-striped-color: #000;--bs-table-active-bg: #b8d1b8;--bs-table-active-color: #000;--bs-table-hover-bg: #bdd7bd;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #d3e6e8;--bs-table-border-color: #becfd1;--bs-table-striped-bg: #c8dbdc;--bs-table-striped-color: #000;--bs-table-active-bg: #becfd1;--bs-table-active-color: #000;--bs-table-hover-bg: #c3d5d7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #f6e6cc;--bs-table-border-color: #ddcfb8;--bs-table-striped-bg: #eadbc2;--bs-table-striped-color: #000;--bs-table-active-bg: #ddcfb8;--bs-table-active-color: #000;--bs-table-hover-bg: #e4d5bd;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #dfc2c4;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #dfe0e1;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #343a40;--bs-table-border-color: #484e53;--bs-table-striped-bg: #3e444a;--bs-table-striped-color: #fff;--bs-table-active-bg: #484e53;--bs-table-active-color: #fff;--bs-table-hover-bg: #43494e;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1449.98px){.table-responsive-2xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label,.custom-control-label{margin-bottom:.5rem}.col-form-label,.cd-col-form-label,formly-form .form-label,formly-form .custom-control-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control,.cd-form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;appearance:none;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control,.cd-form-control{transition:none}}.form-control[type=file],[type=file].cd-form-control{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]),[type=file].cd-form-control:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus,.cd-form-control:focus{color:#212529;background-color:#fff;border-color:#92c1c7;outline:0;box-shadow:0 0 0 .25rem #25828e40}.form-control::-webkit-date-and-time-value,.cd-form-control::-webkit-date-and-time-value{height:1.5em}.form-control::placeholder,.cd-form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.cd-form-control:disabled{background-color:#e9ecef;opacity:1}.form-control::file-selector-button,.cd-form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control::file-selector-button,.cd-form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::file-selector-button,.cd-form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;margin-inline-end:1rem}textarea.form-control,textarea.cd-form-control{min-height:calc(1.5em + .75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + .5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{width:3rem;height:calc(1.5em + .75rem + 2px);padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:.375rem}.form-control-color::-webkit-color-swatch{border-radius:.375rem}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + 2px)}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + 2px)}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){.form-select{transition:none}}.form-select:focus{border-color:#92c1c7;outline:0;box-shadow:0 0 0 .25rem #25828e40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:.25rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:.5rem}.form-check,.custom-radio,.custom-checkbox{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input,.custom-radio .form-check-input,.custom-checkbox .form-check-input,.custom-checkbox .custom-control-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input,.form-check-reverse .custom-checkbox .custom-control-input,.custom-checkbox .form-check-reverse .custom-control-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input,.custom-checkbox .custom-control-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);appearance:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox],.custom-checkbox [type=checkbox].custom-control-input{border-radius:.25em}.form-check-input[type=radio],.custom-checkbox [type=radio].custom-control-input{border-radius:50%}.form-check-input:active,.custom-checkbox .custom-control-input:active{filter:brightness(90%)}.form-check-input:focus,.custom-checkbox .custom-control-input:focus{border-color:#92c1c7;outline:0;box-shadow:0 0 0 .25rem #25828e40}.form-check-input:checked,.custom-checkbox .custom-control-input:checked{background-color:#25828e;border-color:#25828e}.form-check-input:checked[type=checkbox],.custom-checkbox .custom-control-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio],.custom-checkbox .custom-control-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate,.custom-checkbox [type=checkbox].custom-control-input:indeterminate{background-color:#25828e;border-color:#25828e;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled,.custom-checkbox .custom-control-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.custom-checkbox .form-check-input[disabled]~.custom-control-label,.custom-checkbox [disabled].custom-control-input~.form-check-label,.custom-checkbox [disabled].custom-control-input~.custom-control-label,.form-check-input:disabled~.form-check-label,.custom-checkbox .form-check-input:disabled~.custom-control-label,.custom-checkbox .custom-control-input:disabled~.form-check-label,.custom-checkbox .custom-control-input:disabled~.custom-control-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input,.form-switch .custom-checkbox .custom-control-input,.custom-checkbox .form-switch .custom-control-input{width:2em;margin-left:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-switch .form-check-input,.form-switch .custom-checkbox .custom-control-input,.custom-checkbox .form-switch .custom-control-input{transition:none}}.form-switch .form-check-input:focus,.form-switch .custom-checkbox .custom-control-input:focus,.custom-checkbox .form-switch .custom-control-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2392c1c7'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked,.form-switch .custom-checkbox .custom-control-input:checked,.custom-checkbox .form-switch .custom-control-input:checked{background-position:right center;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input,.form-switch.form-check-reverse .custom-checkbox .custom-control-input,.custom-checkbox .form-switch.form-check-reverse .custom-control-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #25828e40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #25828e40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#25828e;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#bedadd}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#25828e;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#bedadd}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.cd-form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;width:100%;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion: reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.cd-form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::placeholder,.form-floating>.cd-form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:focus,.form-floating>.cd-form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.cd-form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.cd-form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus~label,.form-floating>.cd-form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.cd-form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:-webkit-autofill~label,.form-floating>.cd-form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:1px 0}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.cd-form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.cd-form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.375rem}.input-group-lg>.form-control,.input-group-lg>.cd-form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.input-group-sm>.form-control,.input-group-sm>.cd-form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.cd-form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.cd-form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.cd-form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:100%;color:#008a00}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#008a00;border-radius:.375rem}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,formly-form .ng-touched.ng-valid~.valid-feedback,.is-valid~.valid-tooltip,formly-form .ng-touched.ng-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.was-validated .cd-form-control:valid,.form-control.is-valid,formly-form .form-control.ng-touched.ng-valid,.is-valid.cd-form-control,formly-form .cd-form-control.ng-touched.ng-valid{border-color:#008a00;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23008a00' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.was-validated .cd-form-control:valid:focus,.form-control.is-valid:focus,formly-form .form-control.ng-touched.ng-valid:focus,.is-valid.cd-form-control:focus,formly-form .cd-form-control.ng-touched.ng-valid:focus{border-color:#008a00;box-shadow:0 0 0 .25rem #008a0040}.was-validated textarea.form-control:valid,.was-validated textarea.cd-form-control:valid,textarea.form-control.is-valid,formly-form textarea.form-control.ng-touched.ng-valid,textarea.is-valid.cd-form-control,formly-form textarea.cd-form-control.ng-touched.ng-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid,formly-form .form-select.ng-touched.ng-valid{border-color:#008a00}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),formly-form .form-select.ng-touched.ng-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],formly-form .form-select.ng-touched.ng-valid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23008a00' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus,formly-form .form-select.ng-touched.ng-valid:focus{border-color:#008a00;box-shadow:0 0 0 .25rem #008a0040}.was-validated .form-control-color:valid,.form-control-color.is-valid,formly-form .form-control-color.ng-touched.ng-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.was-validated .custom-checkbox .custom-control-input:valid,.custom-checkbox .was-validated .custom-control-input:valid,.form-check-input.is-valid,formly-form .form-check-input.ng-touched.ng-valid,.custom-checkbox .is-valid.custom-control-input,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-valid,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-valid{border-color:#008a00}.was-validated .form-check-input:valid:checked,.was-validated .custom-checkbox .custom-control-input:valid:checked,.custom-checkbox .was-validated .custom-control-input:valid:checked,.form-check-input.is-valid:checked,formly-form .form-check-input.ng-touched.ng-valid:checked,.custom-checkbox .is-valid.custom-control-input:checked,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-valid:checked,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-valid:checked{background-color:#008a00}.was-validated .form-check-input:valid:focus,.was-validated .custom-checkbox .custom-control-input:valid:focus,.custom-checkbox .was-validated .custom-control-input:valid:focus,.form-check-input.is-valid:focus,formly-form .form-check-input.ng-touched.ng-valid:focus,.custom-checkbox .is-valid.custom-control-input:focus,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-valid:focus,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-valid:focus{box-shadow:0 0 0 .25rem #008a0040}.was-validated .form-check-input:valid~.form-check-label,.was-validated .custom-checkbox .form-check-input:valid~.custom-control-label,.custom-checkbox .was-validated .form-check-input:valid~.custom-control-label,.was-validated .custom-checkbox .custom-control-input:valid~.form-check-label,.was-validated .custom-checkbox .custom-control-input:valid~.custom-control-label,.custom-checkbox .was-validated .custom-control-input:valid~.form-check-label,.custom-checkbox .was-validated .custom-control-input:valid~.custom-control-label,.form-check-input.is-valid~.form-check-label,formly-form .form-check-input.ng-touched.ng-valid~.form-check-label,.custom-checkbox .form-check-input.is-valid~.custom-control-label,.custom-checkbox formly-form .form-check-input.ng-touched.ng-valid~.custom-control-label,formly-form .custom-checkbox .form-check-input.ng-touched.ng-valid~.custom-control-label,.custom-checkbox .is-valid.custom-control-input~.form-check-label,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-valid~.form-check-label,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-valid~.form-check-label,.custom-checkbox .is-valid.custom-control-input~.custom-control-label,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-valid~.custom-control-label,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-valid~.custom-control-label{color:#008a00}.form-check-inline .form-check-input~.valid-feedback,.form-check-inline .custom-checkbox .custom-control-input~.valid-feedback,.custom-checkbox .form-check-inline .custom-control-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.cd-form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,formly-form .input-group>.form-control.ng-touched.ng-valid:not(:focus),.input-group>.cd-form-control:not(:focus).is-valid,formly-form .input-group>.cd-form-control.ng-touched.ng-valid:not(:focus),.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,formly-form .input-group>.form-select.ng-touched.ng-valid:not(:focus),.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid,formly-form .input-group>.form-floating.ng-touched.ng-valid:not(:focus-within){z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:100%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#dc3545;border-radius:.375rem}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,formly-form .ng-touched.ng-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,formly-form .ng-touched.ng-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.was-validated .cd-form-control:invalid,.form-control.is-invalid,formly-form .form-control.ng-touched.ng-invalid,.is-invalid.cd-form-control,formly-form .cd-form-control.ng-touched.ng-invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.was-validated .cd-form-control:invalid:focus,.form-control.is-invalid:focus,formly-form .form-control.ng-touched.ng-invalid:focus,.is-invalid.cd-form-control:focus,formly-form .cd-form-control.ng-touched.ng-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated textarea.form-control:invalid,.was-validated textarea.cd-form-control:invalid,textarea.form-control.is-invalid,formly-form textarea.form-control.ng-touched.ng-invalid,textarea.is-invalid.cd-form-control,formly-form textarea.cd-form-control.ng-touched.ng-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid,formly-form .form-select.ng-touched.ng-invalid{border-color:#dc3545}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),formly-form .form-select.ng-touched.ng-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],formly-form .form-select.ng-touched.ng-invalid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus,formly-form .form-select.ng-touched.ng-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated .form-control-color:invalid,.form-control-color.is-invalid,formly-form .form-control-color.ng-touched.ng-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.was-validated .custom-checkbox .custom-control-input:invalid,.custom-checkbox .was-validated .custom-control-input:invalid,.form-check-input.is-invalid,formly-form .form-check-input.ng-touched.ng-invalid,.custom-checkbox .is-invalid.custom-control-input,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-invalid,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-invalid{border-color:#dc3545}.was-validated .form-check-input:invalid:checked,.was-validated .custom-checkbox .custom-control-input:invalid:checked,.custom-checkbox .was-validated .custom-control-input:invalid:checked,.form-check-input.is-invalid:checked,formly-form .form-check-input.ng-touched.ng-invalid:checked,.custom-checkbox .is-invalid.custom-control-input:checked,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-invalid:checked,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-invalid:checked{background-color:#dc3545}.was-validated .form-check-input:invalid:focus,.was-validated .custom-checkbox .custom-control-input:invalid:focus,.custom-checkbox .was-validated .custom-control-input:invalid:focus,.form-check-input.is-invalid:focus,formly-form .form-check-input.ng-touched.ng-invalid:focus,.custom-checkbox .is-invalid.custom-control-input:focus,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-invalid:focus,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-invalid:focus{box-shadow:0 0 0 .25rem #dc354540}.was-validated .form-check-input:invalid~.form-check-label,.was-validated .custom-checkbox .form-check-input:invalid~.custom-control-label,.custom-checkbox .was-validated .form-check-input:invalid~.custom-control-label,.was-validated .custom-checkbox .custom-control-input:invalid~.form-check-label,.was-validated .custom-checkbox .custom-control-input:invalid~.custom-control-label,.custom-checkbox .was-validated .custom-control-input:invalid~.form-check-label,.custom-checkbox .was-validated .custom-control-input:invalid~.custom-control-label,.form-check-input.is-invalid~.form-check-label,formly-form .form-check-input.ng-touched.ng-invalid~.form-check-label,.custom-checkbox .form-check-input.is-invalid~.custom-control-label,.custom-checkbox formly-form .form-check-input.ng-touched.ng-invalid~.custom-control-label,formly-form .custom-checkbox .form-check-input.ng-touched.ng-invalid~.custom-control-label,.custom-checkbox .is-invalid.custom-control-input~.form-check-label,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-invalid~.form-check-label,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-invalid~.form-check-label,.custom-checkbox .is-invalid.custom-control-input~.custom-control-label,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-invalid~.custom-control-label,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-invalid~.custom-control-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback,.form-check-inline .custom-checkbox .custom-control-input~.invalid-feedback,.custom-checkbox .form-check-inline .custom-control-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.cd-form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,formly-form .input-group>.form-control.ng-touched.ng-invalid:not(:focus),.input-group>.cd-form-control:not(:focus).is-invalid,formly-form .input-group>.cd-form-control.ng-touched.ng-invalid:not(:focus),.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,formly-form .input-group>.form-select.ng-touched.ng-invalid:not(:focus),.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid,formly-form .input-group>.form-floating.ng-touched.ng-invalid:not(:focus-within){z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: #212529;--bs-btn-bg: transparent;--bs-btn-border-width: 1px;--bs-btn-border-color: transparent;--bs-btn-border-radius: .375rem;--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-accent,.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #25828e;--bs-btn-border-color: #25828e;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #1f6f79;--bs-btn-hover-border-color: #1e6872;--bs-btn-focus-shadow-rgb: 70, 149, 159;--bs-btn-active-color: #fff;--bs-btn-active-bg: #1e6872;--bs-btn-active-border-color: #1c626b;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #25828e;--bs-btn-disabled-border-color: #25828e}.btn-warning-dark{--bs-btn-color: #000;--bs-btn-bg: #fd7e14;--bs-btn-border-color: #fd7e14;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #fd9137;--bs-btn-hover-border-color: #fd8b2c;--bs-btn-focus-shadow-rgb: 215, 107, 17;--bs-btn-active-color: #000;--bs-btn-active-bg: #fd9843;--bs-btn-active-border-color: #fd8b2c;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #fd7e14;--bs-btn-disabled-border-color: #fd7e14}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #25828e;--bs-btn-border-color: #25828e;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #1f6f79;--bs-btn-hover-border-color: #1e6872;--bs-btn-focus-shadow-rgb: 70, 149, 159;--bs-btn-active-color: #fff;--bs-btn-active-bg: #1e6872;--bs-btn-active-border-color: #1c626b;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #25828e;--bs-btn-disabled-border-color: #25828e}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #374249;--bs-btn-border-color: #374249;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #2f383e;--bs-btn-hover-border-color: #2c353a;--bs-btn-focus-shadow-rgb: 85, 94, 100;--bs-btn-active-color: #fff;--bs-btn-active-bg: #2c353a;--bs-btn-active-border-color: #293237;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #374249;--bs-btn-disabled-border-color: #374249}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #008a00;--bs-btn-border-color: #008a00;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #007500;--bs-btn-hover-border-color: #006e00;--bs-btn-focus-shadow-rgb: 38, 156, 38;--bs-btn-active-color: #fff;--bs-btn-active-bg: #006e00;--bs-btn-active-border-color: #006800;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #008a00;--bs-btn-disabled-border-color: #008a00}.btn-info{--bs-btn-color: #fff;--bs-btn-bg: #25828e;--bs-btn-border-color: #25828e;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #1f6f79;--bs-btn-hover-border-color: #1e6872;--bs-btn-focus-shadow-rgb: 70, 149, 159;--bs-btn-active-color: #fff;--bs-btn-active-bg: #1e6872;--bs-btn-active-border-color: #1c626b;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #25828e;--bs-btn-disabled-border-color: #25828e}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #d48200;--bs-btn-border-color: #d48200;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #da9526;--bs-btn-hover-border-color: #d88f1a;--bs-btn-focus-shadow-rgb: 180, 111, 0;--bs-btn-active-color: #000;--bs-btn-active-bg: #dd9b33;--bs-btn-active-border-color: #d88f1a;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #d48200;--bs-btn-disabled-border-color: #d48200}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light,.btn-default{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #343a40;--bs-btn-border-color: #343a40;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #52585d;--bs-btn-hover-border-color: #484e53;--bs-btn-focus-shadow-rgb: 82, 88, 93;--bs-btn-active-color: #fff;--bs-btn-active-bg: #5d6166;--bs-btn-active-border-color: #484e53;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #343a40;--bs-btn-disabled-border-color: #343a40}.btn-outline-accent{--bs-btn-color: #25828e;--bs-btn-border-color: #25828e;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #25828e;--bs-btn-hover-border-color: #25828e;--bs-btn-focus-shadow-rgb: 37, 130, 142;--bs-btn-active-color: #fff;--bs-btn-active-bg: #25828e;--bs-btn-active-border-color: #25828e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #25828e;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #25828e;--bs-gradient: none}.btn-outline-warning-dark{--bs-btn-color: #fd7e14;--bs-btn-border-color: #fd7e14;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #fd7e14;--bs-btn-hover-border-color: #fd7e14;--bs-btn-focus-shadow-rgb: 253, 126, 20;--bs-btn-active-color: #000;--bs-btn-active-bg: #fd7e14;--bs-btn-active-border-color: #fd7e14;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fd7e14;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #fd7e14;--bs-gradient: none}.btn-outline-primary{--bs-btn-color: #25828e;--bs-btn-border-color: #25828e;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #25828e;--bs-btn-hover-border-color: #25828e;--bs-btn-focus-shadow-rgb: 37, 130, 142;--bs-btn-active-color: #fff;--bs-btn-active-bg: #25828e;--bs-btn-active-border-color: #25828e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #25828e;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #25828e;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #374249;--bs-btn-border-color: #374249;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #374249;--bs-btn-hover-border-color: #374249;--bs-btn-focus-shadow-rgb: 55, 66, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #374249;--bs-btn-active-border-color: #374249;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #374249;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #374249;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #008a00;--bs-btn-border-color: #008a00;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #008a00;--bs-btn-hover-border-color: #008a00;--bs-btn-focus-shadow-rgb: 0, 138, 0;--bs-btn-active-color: #fff;--bs-btn-active-bg: #008a00;--bs-btn-active-border-color: #008a00;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #008a00;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #008a00;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #25828e;--bs-btn-border-color: #25828e;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #25828e;--bs-btn-hover-border-color: #25828e;--bs-btn-focus-shadow-rgb: 37, 130, 142;--bs-btn-active-color: #fff;--bs-btn-active-bg: #25828e;--bs-btn-active-border-color: #25828e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #25828e;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #25828e;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #d48200;--bs-btn-border-color: #d48200;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d48200;--bs-btn-hover-border-color: #d48200;--bs-btn-focus-shadow-rgb: 212, 130, 0;--bs-btn-active-color: #000;--bs-btn-active-bg: #d48200;--bs-btn-active-border-color: #d48200;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #d48200;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #d48200;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #343a40;--bs-btn-border-color: #343a40;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #343a40;--bs-btn-hover-border-color: #343a40;--bs-btn-focus-shadow-rgb: 52, 58, 64;--bs-btn-active-color: #fff;--bs-btn-active-bg: #343a40;--bs-btn-active-border-color: #343a40;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #343a40;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #343a40;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: none;--bs-btn-focus-shadow-rgb: 70, 149, 159;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: .5rem}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: .25rem}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: #212529;--bs-dropdown-bg: #fff;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: .375rem;--bs-dropdown-border-width: 1px;--bs-dropdown-inner-border-radius:calc(.375rem - 1px);--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-dropdown-link-color: #212529;--bs-dropdown-link-hover-color: #1e2125;--bs-dropdown-link-hover-bg: #e9ecef;--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #25828e;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1450px){.dropdown-menu-2xl-start{--bs-position: start}.dropdown-menu-2xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-2xl-end{--bs-position: end}.dropdown-menu-2xl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #25828e;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:.375rem}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:-1px}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: #6c757d;display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion: reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link.disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: 1px;--bs-nav-tabs-border-color: #dee2e6;--bs-nav-tabs-border-radius: .375rem;--bs-nav-tabs-link-hover-border-color: #e9ecef #e9ecef #dee2e6;--bs-nav-tabs-link-active-color: #495057;--bs-nav-tabs-link-active-bg: #fff;--bs-nav-tabs-link-active-border-color: #dee2e6 #dee2e6 #fff;border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));background:none;border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.disabled,.nav-tabs .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: .375rem;--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #25828e}.nav-pills .nav-link{background:none;border:0;border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(0, 0, 0, .55);--bs-navbar-hover-color: rgba(0, 0, 0, .7);--bs-navbar-disabled-color: rgba(0, 0, 0, .3);--bs-navbar-active-color: rgba(0, 0, 0, .9);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(0, 0, 0, .9);--bs-navbar-brand-hover-color: rgba(0, 0, 0, .9);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(0, 0, 0, .1);--bs-navbar-toggler-border-radius: .375rem;--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .show>.nav-link,.navbar-nav .nav-link.active{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media (min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1450px){.navbar-expand-2xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-2xl .navbar-nav{flex-direction:row}.navbar-expand-2xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-2xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-2xl .navbar-nav-scroll{overflow:visible}.navbar-expand-2xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-2xl .navbar-toggler{display:none}.navbar-expand-2xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-2xl .offcanvas .offcanvas-header{display:none}.navbar-expand-2xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-border-width: 1px;--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: .375rem;--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(.375rem - 1px);--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: #f8f9fa;--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: #fff;--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: 15px;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;inset:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: #212529;--bs-accordion-bg: #fff;--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: 1px;--bs-accordion-border-radius: .375rem;--bs-accordion-inner-border-radius:calc(.375rem - 1px);--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: #212529;--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23217580'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color: #92c1c7;--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(37, 130, 142, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: #217580;--bs-accordion-active-bg: #e9f3f4}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion: reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion: reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: #6c757d;--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: #6c757d;display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination,cd-table .cd-datatable .datatable-footer .datatable-pager ul{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: #fff;--bs-pagination-border-width: 1px;--bs-pagination-border-color: #dee2e6;--bs-pagination-border-radius: .375rem;--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: #e9ecef;--bs-pagination-hover-border-color: #dee2e6;--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: #e9ecef;--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(37, 130, 142, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #25828e;--bs-pagination-active-border-color: #25828e;--bs-pagination-disabled-color: #6c757d;--bs-pagination-disabled-bg: #fff;--bs-pagination-disabled-border-color: #dee2e6;display:flex;padding-left:0;list-style:none}.page-link,cd-table .cd-datatable .datatable-footer .datatable-pager ul li a{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.page-link,cd-table .cd-datatable .datatable-footer .datatable-pager ul li a{transition:none}}.page-link:hover,cd-table .cd-datatable .datatable-footer .datatable-pager ul li a:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus,cd-table .cd-datatable .datatable-footer .datatable-pager ul li a:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,cd-table .cd-datatable .datatable-footer .datatable-pager ul li a.active,.active>.page-link,cd-table .cd-datatable .datatable-footer .datatable-pager ul li .active>a{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,cd-table .cd-datatable .datatable-footer .datatable-pager ul li a.disabled,.disabled>.page-link,cd-table .cd-datatable .datatable-footer .datatable-pager ul li .disabled>a{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link,.page-item:not(:first-child) cd-table .cd-datatable .datatable-footer .datatable-pager ul li a,cd-table .cd-datatable .datatable-footer .datatable-pager ul li .page-item:not(:first-child) a,cd-table .cd-datatable .datatable-footer .datatable-pager ul li:not(:first-child) .page-link,cd-table .cd-datatable .datatable-footer .datatable-pager ul li:not(:first-child) a{margin-left:-1px}.page-item:first-child .page-link,.page-item:first-child cd-table .cd-datatable .datatable-footer .datatable-pager ul li a,cd-table .cd-datatable .datatable-footer .datatable-pager ul li .page-item:first-child a,cd-table .cd-datatable .datatable-footer .datatable-pager ul li:first-child .page-link,cd-table .cd-datatable .datatable-footer .datatable-pager ul li:first-child a{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link,.page-item:last-child cd-table .cd-datatable .datatable-footer .datatable-pager ul li a,cd-table .cd-datatable .datatable-footer .datatable-pager ul li .page-item:last-child a,cd-table .cd-datatable .datatable-footer .datatable-pager ul li:last-child .page-link,cd-table .cd-datatable .datatable-footer .datatable-pager ul li:last-child a{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: .5rem}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: .25rem}.badge,.badge-dark,.badge-light,.badge-warning,.badge-info,.badge-danger,.badge-success,.badge-secondary,.badge-primary{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: 1rem;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: .375rem;display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty,.badge-dark:empty,.badge-light:empty,.badge-warning:empty,.badge-info:empty,.badge-danger:empty,.badge-success:empty,.badge-secondary:empty,.badge-primary:empty{display:none}.btn .badge,.btn .badge-dark,.btn .badge-light,.btn .badge-warning,.btn .badge-info,.btn .badge-danger,.btn .badge-success,.btn .badge-secondary,.btn .badge-primary{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: 1px solid var(--bs-alert-border-color);--bs-alert-border-radius: .375rem;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-accent{--bs-alert-color: #164e55;--bs-alert-bg: #d3e6e8;--bs-alert-border-color: #bedadd}.alert-accent .alert-link{color:#123e44}.alert-warning-dark{--bs-alert-color: #984c0c;--bs-alert-bg: #ffe5d0;--bs-alert-border-color: #fed8b9}.alert-warning-dark .alert-link{color:#7a3d0a}.alert-primary{--bs-alert-color: #164e55;--bs-alert-bg: #d3e6e8;--bs-alert-border-color: #bedadd}.alert-primary .alert-link{color:#123e44}.alert-secondary{--bs-alert-color: #21282c;--bs-alert-bg: #d7d9db;--bs-alert-border-color: #c3c6c8}.alert-secondary .alert-link{color:#1a2023}.alert-success{--bs-alert-color: #005300;--bs-alert-bg: #cce8cc;--bs-alert-border-color: #b3dcb3}.alert-success .alert-link{color:#004200}.alert-info{--bs-alert-color: #164e55;--bs-alert-bg: #d3e6e8;--bs-alert-border-color: #bedadd}.alert-info .alert-link{color:#123e44}.alert-warning{--bs-alert-color: #7f4e00;--bs-alert-bg: #f6e6cc;--bs-alert-border-color: #f2dab3}.alert-warning .alert-link{color:#663e00}.alert-danger{--bs-alert-color: #842029;--bs-alert-bg: #f8d7da;--bs-alert-border-color: #f5c2c7}.alert-danger .alert-link{color:#6a1a21}.alert-light{--bs-alert-color: #636464;--bs-alert-bg: #fefefe;--bs-alert-border-color: #fdfdfe}.alert-light .alert-link{color:#4f5050}.alert-dark{--bs-alert-color: #1f2326;--bs-alert-bg: #d6d8d9;--bs-alert-border-color: #c2c4c6}.alert-dark .alert-link{color:#191c1e}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: #e9ecef;--bs-progress-border-radius: .375rem;--bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #25828e;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: #212529;--bs-list-group-bg: #fff;--bs-list-group-border-color: rgba(0, 0, 0, .125);--bs-list-group-border-width: 1px;--bs-list-group-border-radius: .375rem;--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: #495057;--bs-list-group-action-hover-color: #495057;--bs-list-group-action-hover-bg: #f8f9fa;--bs-list-group-action-active-color: #212529;--bs-list-group-action-active-bg: #e9ecef;--bs-list-group-disabled-color: #6c757d;--bs-list-group-disabled-bg: #fff;--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #25828e;--bs-list-group-active-border-color: #25828e;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1450px){.list-group-horizontal-2xl{flex-direction:row}.list-group-horizontal-2xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-2xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-2xl>.list-group-item.active{margin-top:0}.list-group-horizontal-2xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-2xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-accent{color:#164e55;background-color:#d3e6e8}.list-group-item-accent.list-group-item-action:hover,.list-group-item-accent.list-group-item-action:focus{color:#164e55;background-color:#becfd1}.list-group-item-accent.list-group-item-action.active{color:#fff;background-color:#164e55;border-color:#164e55}.list-group-item-warning-dark{color:#984c0c;background-color:#ffe5d0}.list-group-item-warning-dark.list-group-item-action:hover,.list-group-item-warning-dark.list-group-item-action:focus{color:#984c0c;background-color:#e6cebb}.list-group-item-warning-dark.list-group-item-action.active{color:#fff;background-color:#984c0c;border-color:#984c0c}.list-group-item-primary{color:#164e55;background-color:#d3e6e8}.list-group-item-primary.list-group-item-action:hover,.list-group-item-primary.list-group-item-action:focus{color:#164e55;background-color:#becfd1}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#164e55;border-color:#164e55}.list-group-item-secondary{color:#21282c;background-color:#d7d9db}.list-group-item-secondary.list-group-item-action:hover,.list-group-item-secondary.list-group-item-action:focus{color:#21282c;background-color:#c2c3c5}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#21282c;border-color:#21282c}.list-group-item-success{color:#005300;background-color:#cce8cc}.list-group-item-success.list-group-item-action:hover,.list-group-item-success.list-group-item-action:focus{color:#005300;background-color:#b8d1b8}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#005300;border-color:#005300}.list-group-item-info{color:#164e55;background-color:#d3e6e8}.list-group-item-info.list-group-item-action:hover,.list-group-item-info.list-group-item-action:focus{color:#164e55;background-color:#becfd1}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#164e55;border-color:#164e55}.list-group-item-warning{color:#7f4e00;background-color:#f6e6cc}.list-group-item-warning.list-group-item-action:hover,.list-group-item-warning.list-group-item-action:focus{color:#7f4e00;background-color:#ddcfb8}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#7f4e00;border-color:#7f4e00}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:hover,.list-group-item-danger.list-group-item-action:focus{color:#842029;background-color:#dfc2c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:hover,.list-group-item-light.list-group-item-action:focus{color:#636464;background-color:#e5e5e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#1f2326;background-color:#d6d8d9}.list-group-item-dark.list-group-item-action:hover,.list-group-item-dark.list-group-item-action:focus{color:#1f2326;background-color:#c1c2c3}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#1f2326;border-color:#1f2326}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem #25828e40;opacity:1}.btn-close:disabled,.btn-close.disabled{pointer-events:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 30px;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(255, 255, 255, .85);--bs-toast-border-width: 1px;--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: .375rem;--bs-toast-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-toast-header-color: #6c757d;--bs-toast-header-bg: rgba(255, 255, 255, .85);--bs-toast-header-border-color: rgba(0, 0, 0, .05);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: #fff;--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: 1px;--bs-modal-border-radius: .5rem;--bs-modal-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-modal-inner-border-radius:calc(.5rem - 1px);--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: 1px;--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: 1px;position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media (min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media (min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width: 1449.98px){.modal-fullscreen-2xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-2xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-2xl-down .modal-header,.modal-fullscreen-2xl-down .modal-footer{border-radius:0}.modal-fullscreen-2xl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: #fff;--bs-tooltip-bg: #212529;--bs-tooltip-border-radius: .375rem;--bs-tooltip-opacity: 1;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;padding:var(--bs-tooltip-arrow-height);margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:0}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:0}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 350px;--bs-popover-font-size: 1rem;--bs-popover-bg: #fff;--bs-popover-border-width: 1px;--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: .5rem;--bs-popover-inner-border-radius:calc(.5rem - 1px);--bs-popover-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: ;--bs-popover-header-bg: #f0f0f0;--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: #212529;--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion: reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-2xl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: ;--bs-offcanvas-bg: #fff;--bs-offcanvas-border-width: 1px;--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075)}@media (max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 575.98px) and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 575.98px){.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}}@media (max-width: 575.98px){.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media (min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 767.98px) and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 767.98px){.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}}@media (max-width: 767.98px){.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media (min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 991.98px) and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 991.98px){.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}}@media (max-width: 991.98px){.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media (min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 1199.98px){.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}}@media (max-width: 1199.98px){.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media (min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1449.98px){.offcanvas-2xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 1449.98px) and (prefers-reduced-motion: reduce){.offcanvas-2xl{transition:none}}@media (max-width: 1449.98px){.offcanvas-2xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 1449.98px){.offcanvas-2xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 1449.98px){.offcanvas-2xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 1449.98px){.offcanvas-2xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 1449.98px){.offcanvas-2xl.showing,.offcanvas-2xl.show:not(.hiding){transform:none}}@media (max-width: 1449.98px){.offcanvas-2xl.showing,.offcanvas-2xl.hiding,.offcanvas-2xl.show{visibility:visible}}@media (min-width: 1450px){.offcanvas-2xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-2xl .offcanvas-header{display:none}.offcanvas-2xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion: reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{-webkit-mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0%;mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-accent{color:#fff!important;background-color:RGBA(37,130,142,var(--bs-bg-opacity, 1))!important}.text-bg-warning-dark{color:#000!important;background-color:RGBA(253,126,20,var(--bs-bg-opacity, 1))!important}.text-bg-primary{color:#fff!important;background-color:RGBA(37,130,142,var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(55,66,73,var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(0,138,0,var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#fff!important;background-color:RGBA(37,130,142,var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(212,130,0,var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(220,53,69,var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(248,249,250,var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(52,58,64,var(--bs-bg-opacity, 1))!important}.link-accent{color:#25828e!important}.link-accent:hover,.link-accent:focus{color:#1e6872!important}.link-warning-dark{color:#fd7e14!important}.link-warning-dark:hover,.link-warning-dark:focus{color:#fd9843!important}.link-primary{color:#25828e!important}.link-primary:hover,.link-primary:focus{color:#1e6872!important}.link-secondary{color:#374249!important}.link-secondary:hover,.link-secondary:focus{color:#2c353a!important}.link-success{color:#008a00!important}.link-success:hover,.link-success:focus{color:#006e00!important}.link-info{color:#25828e!important}.link-info:hover,.link-info:focus{color:#1e6872!important}.link-warning{color:#d48200!important}.link-warning:hover,.link-warning:focus{color:#dd9b33!important}.link-danger{color:#dc3545!important}.link-danger:hover,.link-danger:focus{color:#b02a37!important}.link-light{color:#f8f9fa!important}.link-light:hover,.link-light:focus{color:#f9fafb!important}.link-dark{color:#343a40!important}.link-dark:hover,.link-dark:focus{color:#2a2e33!important}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1450px){.sticky-2xl-top{position:sticky;top:0;z-index:1020}.sticky-2xl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link:after{position:absolute;inset:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex,cd-health cd-info-card{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem #00000026!important}.shadow-sm{box-shadow:0 .125rem .25rem #00000013!important}.shadow-lg{box-shadow:0 1rem 3rem #0000002d!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom,.cd-header,legend{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-accent{--bs-border-opacity: 1;border-color:rgba(var(--bs-accent-rgb),var(--bs-border-opacity))!important}.border-warning-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-dark-rgb),var(--bs-border-opacity))!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-1{--bs-border-width: 1px}.border-2{--bs-border-width: 2px}.border-3{--bs-border-width: 3px}.border-4{--bs-border-width: 4px}.border-5{--bs-border-width: 5px}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column,cd-health cd-info-card{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4,.cd-header,legend{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2,cd-logs label,.btn-toolbar cd-table-actions.btn-group{margin-right:.5rem!important}.me-3,cd-logs .form-inline>.form-group{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1,.badge,.badge-dark,.badge-light,.badge-warning,.badge-info,.badge-danger,.badge-success,.badge-secondary,.badge-primary{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3,.form-group,cd-logs .form-inline>.form-group{margin-bottom:1rem!important}.mb-4,.cd-header,legend,cd-health cd-info-card{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2,cd-table .cd-datatable .datatable-footer{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2,cd-info-card .card .card-body .card-text{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1,.cd-header,legend{padding-bottom:.25rem!important}.pb-2,cd-info-card .card{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2,cd-info-card .card .card-body .card-title{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold,cd-about dt{font-weight:700!important}.fw-semibold{font-weight:600!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-accent{--bs-text-opacity: 1;color:rgba(var(--bs-accent-rgb),var(--bs-text-opacity))!important}.text-warning-dark{--bs-text-opacity: 1;color:rgba(var(--bs-warning-dark-rgb),var(--bs-text-opacity))!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark,.badge-light,.badge-warning{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:#6c757d!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.bg-accent{--bs-bg-opacity: 1;background-color:rgba(var(--bs-accent-rgb),var(--bs-bg-opacity))!important}.bg-warning-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-dark-rgb),var(--bs-bg-opacity))!important}.bg-primary,.badge-info,.badge-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary,.badge-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success,.badge-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning,.badge-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger,.badge-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light,.badge-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark,.badge-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{user-select:all!important}.user-select-auto{user-select:auto!important}.user-select-none{user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-2xl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media (min-width: 576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width: 768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width: 992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width: 1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width: 1450px){.float-2xl-start{float:left!important}.float-2xl-end{float:right!important}.float-2xl-none{float:none!important}.d-2xl-inline{display:inline!important}.d-2xl-inline-block{display:inline-block!important}.d-2xl-block{display:block!important}.d-2xl-grid{display:grid!important}.d-2xl-table{display:table!important}.d-2xl-table-row{display:table-row!important}.d-2xl-table-cell{display:table-cell!important}.d-2xl-flex{display:flex!important}.d-2xl-inline-flex{display:inline-flex!important}.d-2xl-none{display:none!important}.flex-2xl-fill{flex:1 1 auto!important}.flex-2xl-row{flex-direction:row!important}.flex-2xl-column{flex-direction:column!important}.flex-2xl-row-reverse{flex-direction:row-reverse!important}.flex-2xl-column-reverse{flex-direction:column-reverse!important}.flex-2xl-grow-0{flex-grow:0!important}.flex-2xl-grow-1{flex-grow:1!important}.flex-2xl-shrink-0{flex-shrink:0!important}.flex-2xl-shrink-1{flex-shrink:1!important}.flex-2xl-wrap{flex-wrap:wrap!important}.flex-2xl-nowrap{flex-wrap:nowrap!important}.flex-2xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-2xl-start{justify-content:flex-start!important}.justify-content-2xl-end{justify-content:flex-end!important}.justify-content-2xl-center{justify-content:center!important}.justify-content-2xl-between{justify-content:space-between!important}.justify-content-2xl-around{justify-content:space-around!important}.justify-content-2xl-evenly{justify-content:space-evenly!important}.align-items-2xl-start{align-items:flex-start!important}.align-items-2xl-end{align-items:flex-end!important}.align-items-2xl-center{align-items:center!important}.align-items-2xl-baseline{align-items:baseline!important}.align-items-2xl-stretch{align-items:stretch!important}.align-content-2xl-start{align-content:flex-start!important}.align-content-2xl-end{align-content:flex-end!important}.align-content-2xl-center{align-content:center!important}.align-content-2xl-between{align-content:space-between!important}.align-content-2xl-around{align-content:space-around!important}.align-content-2xl-stretch{align-content:stretch!important}.align-self-2xl-auto{align-self:auto!important}.align-self-2xl-start{align-self:flex-start!important}.align-self-2xl-end{align-self:flex-end!important}.align-self-2xl-center{align-self:center!important}.align-self-2xl-baseline{align-self:baseline!important}.align-self-2xl-stretch{align-self:stretch!important}.order-2xl-first{order:-1!important}.order-2xl-0{order:0!important}.order-2xl-1{order:1!important}.order-2xl-2{order:2!important}.order-2xl-3{order:3!important}.order-2xl-4{order:4!important}.order-2xl-5{order:5!important}.order-2xl-last{order:6!important}.m-2xl-0{margin:0!important}.m-2xl-1{margin:.25rem!important}.m-2xl-2{margin:.5rem!important}.m-2xl-3{margin:1rem!important}.m-2xl-4{margin:1.5rem!important}.m-2xl-5{margin:3rem!important}.m-2xl-auto{margin:auto!important}.mx-2xl-0{margin-right:0!important;margin-left:0!important}.mx-2xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-2xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-2xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-2xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-2xl-auto{margin-right:auto!important;margin-left:auto!important}.my-2xl-0{margin-top:0!important;margin-bottom:0!important}.my-2xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-2xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-2xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-2xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-2xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-2xl-0{margin-top:0!important}.mt-2xl-1{margin-top:.25rem!important}.mt-2xl-2{margin-top:.5rem!important}.mt-2xl-3{margin-top:1rem!important}.mt-2xl-4{margin-top:1.5rem!important}.mt-2xl-5{margin-top:3rem!important}.mt-2xl-auto{margin-top:auto!important}.me-2xl-0{margin-right:0!important}.me-2xl-1{margin-right:.25rem!important}.me-2xl-2{margin-right:.5rem!important}.me-2xl-3{margin-right:1rem!important}.me-2xl-4{margin-right:1.5rem!important}.me-2xl-5{margin-right:3rem!important}.me-2xl-auto{margin-right:auto!important}.mb-2xl-0{margin-bottom:0!important}.mb-2xl-1{margin-bottom:.25rem!important}.mb-2xl-2{margin-bottom:.5rem!important}.mb-2xl-3{margin-bottom:1rem!important}.mb-2xl-4{margin-bottom:1.5rem!important}.mb-2xl-5{margin-bottom:3rem!important}.mb-2xl-auto{margin-bottom:auto!important}.ms-2xl-0{margin-left:0!important}.ms-2xl-1{margin-left:.25rem!important}.ms-2xl-2{margin-left:.5rem!important}.ms-2xl-3{margin-left:1rem!important}.ms-2xl-4{margin-left:1.5rem!important}.ms-2xl-5{margin-left:3rem!important}.ms-2xl-auto{margin-left:auto!important}.p-2xl-0{padding:0!important}.p-2xl-1{padding:.25rem!important}.p-2xl-2{padding:.5rem!important}.p-2xl-3{padding:1rem!important}.p-2xl-4{padding:1.5rem!important}.p-2xl-5{padding:3rem!important}.px-2xl-0{padding-right:0!important;padding-left:0!important}.px-2xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-2xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-2xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-2xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-2xl-0{padding-top:0!important;padding-bottom:0!important}.py-2xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-2xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-2xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-2xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-2xl-0{padding-top:0!important}.pt-2xl-1{padding-top:.25rem!important}.pt-2xl-2{padding-top:.5rem!important}.pt-2xl-3{padding-top:1rem!important}.pt-2xl-4{padding-top:1.5rem!important}.pt-2xl-5{padding-top:3rem!important}.pe-2xl-0{padding-right:0!important}.pe-2xl-1{padding-right:.25rem!important}.pe-2xl-2{padding-right:.5rem!important}.pe-2xl-3{padding-right:1rem!important}.pe-2xl-4{padding-right:1.5rem!important}.pe-2xl-5{padding-right:3rem!important}.pb-2xl-0{padding-bottom:0!important}.pb-2xl-1{padding-bottom:.25rem!important}.pb-2xl-2{padding-bottom:.5rem!important}.pb-2xl-3{padding-bottom:1rem!important}.pb-2xl-4{padding-bottom:1.5rem!important}.pb-2xl-5{padding-bottom:3rem!important}.ps-2xl-0{padding-left:0!important}.ps-2xl-1{padding-left:.25rem!important}.ps-2xl-2{padding-left:.5rem!important}.ps-2xl-3{padding-left:1rem!important}.ps-2xl-4{padding-left:1.5rem!important}.ps-2xl-5{padding-left:3rem!important}.gap-2xl-0{gap:0!important}.gap-2xl-1{gap:.25rem!important}.gap-2xl-2{gap:.5rem!important}.gap-2xl-3{gap:1rem!important}.gap-2xl-4{gap:1.5rem!important}.gap-2xl-5{gap:3rem!important}.text-2xl-start{text-align:left!important}.text-2xl-end{text-align:right!important}.text-2xl-center{text-align:center!important}}@media (min-width: 1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}/*!
+ */:root{--bs-blue: #007bff;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #a94442;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #d48200;--bs-green: #008a00;--bs-teal: #20c997;--bs-cyan: #17a2b8;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-accent: #25828e;--bs-warning-dark: #fd7e14;--bs-primary: #25828e;--bs-secondary: #374249;--bs-success: #008a00;--bs-info: #25828e;--bs-warning: #d48200;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #343a40;--bs-accent-rgb: 37, 130, 142;--bs-warning-dark-rgb: 253, 126, 20;--bs-primary-rgb: 37, 130, 142;--bs-secondary-rgb: 55, 66, 73;--bs-success-rgb: 0, 138, 0;--bs-info-rgb: 37, 130, 142;--bs-warning-rgb: 212, 130, 0;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 52, 58, 64;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg-rgb: 255, 255, 255;--bs-font-sans-serif: "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-bg: #fff;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-2xl: 2rem;--bs-border-radius-pill: 50rem;--bs-link-color: #25828e;--bs-link-hover-color: #1e6872;--bs-code-color: #a94442;--bs-highlight-bg: #f6e6cc}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:1px solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media (min-width: 1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media (min-width: 1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media (min-width: 1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{text-decoration:underline dotted;cursor:help;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:var(--bs-link-color);text-decoration:underline}a:hover{color:var(--bs-link-hover-color)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width: 1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"\2014\a0"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid var(--bs-border-color);border-radius:.375rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 30px;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width: 576px){.container-sm,.container{max-width:540px}}@media (min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}@media (min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media (min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}.container-2xl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}.row,cd-about dl{--bs-gutter-x: 30px;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*,cd-about dl>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4,cd-about dt{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8,cd-about dd{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12,.cd-col-form,cd-health cd-info-card{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media (min-width: 576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4,.cd-col-form-label,formly-form .form-label,formly-form .custom-control-label{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8,.cd-col-form-input,.cd-col-form-offset{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12,cd-health cd-info-card{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4,.cd-col-form-offset{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media (min-width: 768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4,.cd-col-form-label,formly-form .form-label,formly-form .custom-control-label{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6,cd-health cd-info-card{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8,.cd-col-form-input,.cd-col-form-offset{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12,cd-health cd-info-card.cd-chart-card{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media (min-width: 992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3,.cd-col-form-label,formly-form .form-label,formly-form .custom-control-label,cd-health cd-info-card.cd-capacity-card{flex:0 0 auto;width:25%}.col-lg-4,cd-modal .cd-col-form-label,cd-modal formly-form .form-label,formly-form cd-modal .form-label,cd-modal formly-form .custom-control-label,formly-form cd-modal .custom-control-label,cd-health cd-info-card{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6,cd-health cd-info-card.cd-chart-card,cd-health cd-info-card.cd-performance-card{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8,cd-modal .cd-col-form-input,cd-modal .cd-col-form-offset,.cd-col-form{flex:0 0 auto;width:66.66666667%}.col-lg-9,.cd-col-form-input,.cd-col-form-offset{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3,.cd-col-form-offset{margin-left:25%}.offset-lg-4,cd-modal .cd-col-form-offset{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media (min-width: 1200px){.col-xl,cd-health cd-info-card.cd-performance-card,cd-health cd-info-card.cd-capacity-card{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3,cd-health cd-info-card.cd-status-card{flex:0 0 auto;width:25%}.col-xl-4,cd-health cd-info-card.cd-chart-card{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6,.cd-col-form{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media (min-width: 1450px){.col-2xl{flex:1 0 0%}.row-cols-2xl-auto>*{flex:0 0 auto;width:auto}.row-cols-2xl-1>*{flex:0 0 auto;width:100%}.row-cols-2xl-2>*{flex:0 0 auto;width:50%}.row-cols-2xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-2xl-4>*{flex:0 0 auto;width:25%}.row-cols-2xl-5>*{flex:0 0 auto;width:20%}.row-cols-2xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-2xl-auto{flex:0 0 auto;width:auto}.col-2xl-1{flex:0 0 auto;width:8.33333333%}.col-2xl-2{flex:0 0 auto;width:16.66666667%}.col-2xl-3,cd-health cd-info-card.cd-chart-card{flex:0 0 auto;width:25%}.col-2xl-4{flex:0 0 auto;width:33.33333333%}.col-2xl-5{flex:0 0 auto;width:41.66666667%}.col-2xl-6{flex:0 0 auto;width:50%}.col-2xl-7{flex:0 0 auto;width:58.33333333%}.col-2xl-8{flex:0 0 auto;width:66.66666667%}.col-2xl-9{flex:0 0 auto;width:75%}.col-2xl-10{flex:0 0 auto;width:83.33333333%}.col-2xl-11{flex:0 0 auto;width:91.66666667%}.col-2xl-12{flex:0 0 auto;width:100%}.offset-2xl-0{margin-left:0}.offset-2xl-1{margin-left:8.33333333%}.offset-2xl-2{margin-left:16.66666667%}.offset-2xl-3{margin-left:25%}.offset-2xl-4{margin-left:33.33333333%}.offset-2xl-5{margin-left:41.66666667%}.offset-2xl-6{margin-left:50%}.offset-2xl-7{margin-left:58.33333333%}.offset-2xl-8{margin-left:66.66666667%}.offset-2xl-9{margin-left:75%}.offset-2xl-10{margin-left:83.33333333%}.offset-2xl-11{margin-left:91.66666667%}.g-2xl-0,.gx-2xl-0{--bs-gutter-x: 0}.g-2xl-0,.gy-2xl-0{--bs-gutter-y: 0}.g-2xl-1,.gx-2xl-1{--bs-gutter-x: .25rem}.g-2xl-1,.gy-2xl-1{--bs-gutter-y: .25rem}.g-2xl-2,.gx-2xl-2{--bs-gutter-x: .5rem}.g-2xl-2,.gy-2xl-2{--bs-gutter-y: .5rem}.g-2xl-3,.gx-2xl-3{--bs-gutter-x: 1rem}.g-2xl-3,.gy-2xl-3{--bs-gutter-y: 1rem}.g-2xl-4,.gx-2xl-4{--bs-gutter-x: 1.5rem}.g-2xl-4,.gy-2xl-4{--bs-gutter-y: 1.5rem}.g-2xl-5,.gx-2xl-5{--bs-gutter-x: 3rem}.g-2xl-5,.gy-2xl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color: var(--bs-body-color);--bs-table-bg: transparent;--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-body-color);--bs-table-striped-bg: rgba(0, 0, 0, .05);--bs-table-active-color: var(--bs-body-color);--bs-table-active-bg: rgba(0, 0, 0, .1);--bs-table-hover-color: var(--bs-body-color);--bs-table-hover-bg: rgba(0, 0, 0, .075);width:100%;margin-bottom:1rem;color:var(--bs-table-color);vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:2px solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg: var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-striped-columns>:not(caption)>tr>:nth-child(even){--bs-table-accent-bg: var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg: var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg: var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-color: #000;--bs-table-bg: #d3e6e8;--bs-table-border-color: #becfd1;--bs-table-striped-bg: #c8dbdc;--bs-table-striped-color: #000;--bs-table-active-bg: #becfd1;--bs-table-active-color: #000;--bs-table-hover-bg: #c3d5d7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #d7d9db;--bs-table-border-color: #c2c3c5;--bs-table-striped-bg: #ccced0;--bs-table-striped-color: #000;--bs-table-active-bg: #c2c3c5;--bs-table-active-color: #000;--bs-table-hover-bg: #c7c9cb;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #cce8cc;--bs-table-border-color: #b8d1b8;--bs-table-striped-bg: #c2dcc2;--bs-table-striped-color: #000;--bs-table-active-bg: #b8d1b8;--bs-table-active-color: #000;--bs-table-hover-bg: #bdd7bd;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #d3e6e8;--bs-table-border-color: #becfd1;--bs-table-striped-bg: #c8dbdc;--bs-table-striped-color: #000;--bs-table-active-bg: #becfd1;--bs-table-active-color: #000;--bs-table-hover-bg: #c3d5d7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #f6e6cc;--bs-table-border-color: #ddcfb8;--bs-table-striped-bg: #eadbc2;--bs-table-striped-color: #000;--bs-table-active-bg: #ddcfb8;--bs-table-active-color: #000;--bs-table-hover-bg: #e4d5bd;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #dfc2c4;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #dfe0e1;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #343a40;--bs-table-border-color: #484e53;--bs-table-striped-bg: #3e444a;--bs-table-striped-color: #fff;--bs-table-active-bg: #484e53;--bs-table-active-color: #fff;--bs-table-hover-bg: #43494e;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1449.98px){.table-responsive-2xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label,.custom-control-label{margin-bottom:.5rem}.col-form-label,.cd-col-form-label,formly-form .form-label,formly-form .custom-control-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control,.cd-form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;appearance:none;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control,.cd-form-control{transition:none}}.form-control[type=file],[type=file].cd-form-control{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]),[type=file].cd-form-control:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus,.cd-form-control:focus{color:#212529;background-color:#fff;border-color:#92c1c7;outline:0;box-shadow:0 0 0 .25rem #25828e40}.form-control::-webkit-date-and-time-value,.cd-form-control::-webkit-date-and-time-value{height:1.5em}.form-control::placeholder,.cd-form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled,.cd-form-control:disabled{background-color:#e9ecef;opacity:1}.form-control::file-selector-button,.cd-form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control::file-selector-button,.cd-form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::file-selector-button,.cd-form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;margin-inline-end:1rem}textarea.form-control,textarea.cd-form-control{min-height:calc(1.5em + .75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + .5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{width:3rem;height:calc(1.5em + .75rem + 2px);padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:.375rem}.form-control-color::-webkit-color-swatch{border-radius:.375rem}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + 2px)}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + 2px)}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){.form-select{transition:none}}.form-select:focus{border-color:#92c1c7;outline:0;box-shadow:0 0 0 .25rem #25828e40}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:.25rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:.5rem}.form-check,.custom-radio,.custom-checkbox{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input,.custom-radio .form-check-input,.custom-checkbox .form-check-input,.custom-checkbox .custom-control-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input,.form-check-reverse .custom-checkbox .custom-control-input,.custom-checkbox .form-check-reverse .custom-control-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input,.custom-checkbox .custom-control-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);appearance:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}.form-check-input[type=checkbox],.custom-checkbox [type=checkbox].custom-control-input{border-radius:.25em}.form-check-input[type=radio],.custom-checkbox [type=radio].custom-control-input{border-radius:50%}.form-check-input:active,.custom-checkbox .custom-control-input:active{filter:brightness(90%)}.form-check-input:focus,.custom-checkbox .custom-control-input:focus{border-color:#92c1c7;outline:0;box-shadow:0 0 0 .25rem #25828e40}.form-check-input:checked,.custom-checkbox .custom-control-input:checked{background-color:#25828e;border-color:#25828e}.form-check-input:checked[type=checkbox],.custom-checkbox .custom-control-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio],.custom-checkbox .custom-control-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate,.custom-checkbox [type=checkbox].custom-control-input:indeterminate{background-color:#25828e;border-color:#25828e;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled,.custom-checkbox .custom-control-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.custom-checkbox .form-check-input[disabled]~.custom-control-label,.custom-checkbox [disabled].custom-control-input~.form-check-label,.custom-checkbox [disabled].custom-control-input~.custom-control-label,.form-check-input:disabled~.form-check-label,.custom-checkbox .form-check-input:disabled~.custom-control-label,.custom-checkbox .custom-control-input:disabled~.form-check-label,.custom-checkbox .custom-control-input:disabled~.custom-control-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input,.form-switch .custom-checkbox .custom-control-input,.custom-checkbox .form-switch .custom-control-input{width:2em;margin-left:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-switch .form-check-input,.form-switch .custom-checkbox .custom-control-input,.custom-checkbox .form-switch .custom-control-input{transition:none}}.form-switch .form-check-input:focus,.form-switch .custom-checkbox .custom-control-input:focus,.custom-checkbox .form-switch .custom-control-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2392c1c7'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked,.form-switch .custom-checkbox .custom-control-input:checked,.custom-checkbox .form-switch .custom-control-input:checked{background-position:right center;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input,.form-switch.form-check-reverse .custom-checkbox .custom-control-input,.custom-checkbox .form-switch.form-check-reverse .custom-control-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #25828e40}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #25828e40}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#25828e;border:0;border-radius:1rem;-webkit-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{-webkit-transition:none;transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#bedadd}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#25828e;border:0;border-radius:1rem;-moz-transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{-moz-transition:none;transition:none}}.form-range::-moz-range-thumb:active{background-color:#bedadd}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.cd-form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;width:100%;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion: reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.cd-form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::placeholder,.form-floating>.cd-form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:focus,.form-floating>.cd-form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.cd-form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.cd-form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus~label,.form-floating>.cd-form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.cd-form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:-webkit-autofill~label,.form-floating>.cd-form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:1px 0}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.cd-form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.cd-form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.375rem}.input-group-lg>.form-control,.input-group-lg>.cd-form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.input-group-sm>.form-control,.input-group-sm>.cd-form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.cd-form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.cd-form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.cd-form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:100%;color:#008a00}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#008a00;border-radius:.375rem}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,formly-form .ng-touched.ng-valid~.valid-feedback,.is-valid~.valid-tooltip,formly-form .ng-touched.ng-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.was-validated .cd-form-control:valid,.form-control.is-valid,formly-form .form-control.ng-touched.ng-valid,.is-valid.cd-form-control,formly-form .cd-form-control.ng-touched.ng-valid{border-color:#008a00;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23008a00' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.was-validated .cd-form-control:valid:focus,.form-control.is-valid:focus,formly-form .form-control.ng-touched.ng-valid:focus,.is-valid.cd-form-control:focus,formly-form .cd-form-control.ng-touched.ng-valid:focus{border-color:#008a00;box-shadow:0 0 0 .25rem #008a0040}.was-validated textarea.form-control:valid,.was-validated textarea.cd-form-control:valid,textarea.form-control.is-valid,formly-form textarea.form-control.ng-touched.ng-valid,textarea.is-valid.cd-form-control,formly-form textarea.cd-form-control.ng-touched.ng-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid,formly-form .form-select.ng-touched.ng-valid{border-color:#008a00}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),formly-form .form-select.ng-touched.ng-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],formly-form .form-select.ng-touched.ng-valid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23008a00' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus,formly-form .form-select.ng-touched.ng-valid:focus{border-color:#008a00;box-shadow:0 0 0 .25rem #008a0040}.was-validated .form-control-color:valid,.form-control-color.is-valid,formly-form .form-control-color.ng-touched.ng-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.was-validated .custom-checkbox .custom-control-input:valid,.custom-checkbox .was-validated .custom-control-input:valid,.form-check-input.is-valid,formly-form .form-check-input.ng-touched.ng-valid,.custom-checkbox .is-valid.custom-control-input,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-valid,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-valid{border-color:#008a00}.was-validated .form-check-input:valid:checked,.was-validated .custom-checkbox .custom-control-input:valid:checked,.custom-checkbox .was-validated .custom-control-input:valid:checked,.form-check-input.is-valid:checked,formly-form .form-check-input.ng-touched.ng-valid:checked,.custom-checkbox .is-valid.custom-control-input:checked,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-valid:checked,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-valid:checked{background-color:#008a00}.was-validated .form-check-input:valid:focus,.was-validated .custom-checkbox .custom-control-input:valid:focus,.custom-checkbox .was-validated .custom-control-input:valid:focus,.form-check-input.is-valid:focus,formly-form .form-check-input.ng-touched.ng-valid:focus,.custom-checkbox .is-valid.custom-control-input:focus,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-valid:focus,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-valid:focus{box-shadow:0 0 0 .25rem #008a0040}.was-validated .form-check-input:valid~.form-check-label,.was-validated .custom-checkbox .form-check-input:valid~.custom-control-label,.custom-checkbox .was-validated .form-check-input:valid~.custom-control-label,.was-validated .custom-checkbox .custom-control-input:valid~.form-check-label,.was-validated .custom-checkbox .custom-control-input:valid~.custom-control-label,.custom-checkbox .was-validated .custom-control-input:valid~.form-check-label,.custom-checkbox .was-validated .custom-control-input:valid~.custom-control-label,.form-check-input.is-valid~.form-check-label,formly-form .form-check-input.ng-touched.ng-valid~.form-check-label,.custom-checkbox .form-check-input.is-valid~.custom-control-label,.custom-checkbox formly-form .form-check-input.ng-touched.ng-valid~.custom-control-label,formly-form .custom-checkbox .form-check-input.ng-touched.ng-valid~.custom-control-label,.custom-checkbox .is-valid.custom-control-input~.form-check-label,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-valid~.form-check-label,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-valid~.form-check-label,.custom-checkbox .is-valid.custom-control-input~.custom-control-label,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-valid~.custom-control-label,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-valid~.custom-control-label{color:#008a00}.form-check-inline .form-check-input~.valid-feedback,.form-check-inline .custom-checkbox .custom-control-input~.valid-feedback,.custom-checkbox .form-check-inline .custom-control-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.was-validated .input-group>.cd-form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,formly-form .input-group>.form-control.ng-touched.ng-valid:not(:focus),.input-group>.cd-form-control:not(:focus).is-valid,formly-form .input-group>.cd-form-control.ng-touched.ng-valid:not(:focus),.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,formly-form .input-group>.form-select.ng-touched.ng-valid:not(:focus),.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid,formly-form .input-group>.form-floating.ng-touched.ng-valid:not(:focus-within){z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:100%;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#dc3545;border-radius:.375rem}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,formly-form .ng-touched.ng-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip,formly-form .ng-touched.ng-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.was-validated .cd-form-control:invalid,.form-control.is-invalid,formly-form .form-control.ng-touched.ng-invalid,.is-invalid.cd-form-control,formly-form .cd-form-control.ng-touched.ng-invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.was-validated .cd-form-control:invalid:focus,.form-control.is-invalid:focus,formly-form .form-control.ng-touched.ng-invalid:focus,.is-invalid.cd-form-control:focus,formly-form .cd-form-control.ng-touched.ng-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated textarea.form-control:invalid,.was-validated textarea.cd-form-control:invalid,textarea.form-control.is-invalid,formly-form textarea.form-control.ng-touched.ng-invalid,textarea.is-invalid.cd-form-control,formly-form textarea.cd-form-control.ng-touched.ng-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid,formly-form .form-select.ng-touched.ng-invalid{border-color:#dc3545}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),formly-form .form-select.ng-touched.ng-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"],formly-form .form-select.ng-touched.ng-invalid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus,formly-form .form-select.ng-touched.ng-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated .form-control-color:invalid,.form-control-color.is-invalid,formly-form .form-control-color.ng-touched.ng-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.was-validated .custom-checkbox .custom-control-input:invalid,.custom-checkbox .was-validated .custom-control-input:invalid,.form-check-input.is-invalid,formly-form .form-check-input.ng-touched.ng-invalid,.custom-checkbox .is-invalid.custom-control-input,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-invalid,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-invalid{border-color:#dc3545}.was-validated .form-check-input:invalid:checked,.was-validated .custom-checkbox .custom-control-input:invalid:checked,.custom-checkbox .was-validated .custom-control-input:invalid:checked,.form-check-input.is-invalid:checked,formly-form .form-check-input.ng-touched.ng-invalid:checked,.custom-checkbox .is-invalid.custom-control-input:checked,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-invalid:checked,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-invalid:checked{background-color:#dc3545}.was-validated .form-check-input:invalid:focus,.was-validated .custom-checkbox .custom-control-input:invalid:focus,.custom-checkbox .was-validated .custom-control-input:invalid:focus,.form-check-input.is-invalid:focus,formly-form .form-check-input.ng-touched.ng-invalid:focus,.custom-checkbox .is-invalid.custom-control-input:focus,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-invalid:focus,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-invalid:focus{box-shadow:0 0 0 .25rem #dc354540}.was-validated .form-check-input:invalid~.form-check-label,.was-validated .custom-checkbox .form-check-input:invalid~.custom-control-label,.custom-checkbox .was-validated .form-check-input:invalid~.custom-control-label,.was-validated .custom-checkbox .custom-control-input:invalid~.form-check-label,.was-validated .custom-checkbox .custom-control-input:invalid~.custom-control-label,.custom-checkbox .was-validated .custom-control-input:invalid~.form-check-label,.custom-checkbox .was-validated .custom-control-input:invalid~.custom-control-label,.form-check-input.is-invalid~.form-check-label,formly-form .form-check-input.ng-touched.ng-invalid~.form-check-label,.custom-checkbox .form-check-input.is-invalid~.custom-control-label,.custom-checkbox formly-form .form-check-input.ng-touched.ng-invalid~.custom-control-label,formly-form .custom-checkbox .form-check-input.ng-touched.ng-invalid~.custom-control-label,.custom-checkbox .is-invalid.custom-control-input~.form-check-label,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-invalid~.form-check-label,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-invalid~.form-check-label,.custom-checkbox .is-invalid.custom-control-input~.custom-control-label,.custom-checkbox formly-form .custom-control-input.ng-touched.ng-invalid~.custom-control-label,formly-form .custom-checkbox .custom-control-input.ng-touched.ng-invalid~.custom-control-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback,.form-check-inline .custom-checkbox .custom-control-input~.invalid-feedback,.custom-checkbox .form-check-inline .custom-control-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.was-validated .input-group>.cd-form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,formly-form .input-group>.form-control.ng-touched.ng-invalid:not(:focus),.input-group>.cd-form-control:not(:focus).is-invalid,formly-form .input-group>.cd-form-control.ng-touched.ng-invalid:not(:focus),.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,formly-form .input-group>.form-select.ng-touched.ng-invalid:not(:focus),.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid,formly-form .input-group>.form-floating.ng-touched.ng-invalid:not(:focus-within){z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: #212529;--bs-btn-bg: transparent;--bs-btn-border-width: 1px;--bs-btn-border-color: transparent;--bs-btn-border-radius: .375rem;--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-accent,.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #25828e;--bs-btn-border-color: #25828e;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #1f6f79;--bs-btn-hover-border-color: #1e6872;--bs-btn-focus-shadow-rgb: 70, 149, 159;--bs-btn-active-color: #fff;--bs-btn-active-bg: #1e6872;--bs-btn-active-border-color: #1c626b;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #25828e;--bs-btn-disabled-border-color: #25828e}.btn-warning-dark{--bs-btn-color: #000;--bs-btn-bg: #fd7e14;--bs-btn-border-color: #fd7e14;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #fd9137;--bs-btn-hover-border-color: #fd8b2c;--bs-btn-focus-shadow-rgb: 215, 107, 17;--bs-btn-active-color: #000;--bs-btn-active-bg: #fd9843;--bs-btn-active-border-color: #fd8b2c;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #fd7e14;--bs-btn-disabled-border-color: #fd7e14}.btn-primary{--bs-btn-color: #fff;--bs-btn-bg: #25828e;--bs-btn-border-color: #25828e;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #1f6f79;--bs-btn-hover-border-color: #1e6872;--bs-btn-focus-shadow-rgb: 70, 149, 159;--bs-btn-active-color: #fff;--bs-btn-active-bg: #1e6872;--bs-btn-active-border-color: #1c626b;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #25828e;--bs-btn-disabled-border-color: #25828e}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #374249;--bs-btn-border-color: #374249;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #2f383e;--bs-btn-hover-border-color: #2c353a;--bs-btn-focus-shadow-rgb: 85, 94, 100;--bs-btn-active-color: #fff;--bs-btn-active-bg: #2c353a;--bs-btn-active-border-color: #293237;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #374249;--bs-btn-disabled-border-color: #374249}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #008a00;--bs-btn-border-color: #008a00;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #007500;--bs-btn-hover-border-color: #006e00;--bs-btn-focus-shadow-rgb: 38, 156, 38;--bs-btn-active-color: #fff;--bs-btn-active-bg: #006e00;--bs-btn-active-border-color: #006800;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #008a00;--bs-btn-disabled-border-color: #008a00}.btn-info{--bs-btn-color: #fff;--bs-btn-bg: #25828e;--bs-btn-border-color: #25828e;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #1f6f79;--bs-btn-hover-border-color: #1e6872;--bs-btn-focus-shadow-rgb: 70, 149, 159;--bs-btn-active-color: #fff;--bs-btn-active-bg: #1e6872;--bs-btn-active-border-color: #1c626b;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #25828e;--bs-btn-disabled-border-color: #25828e}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #d48200;--bs-btn-border-color: #d48200;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #da9526;--bs-btn-hover-border-color: #d88f1a;--bs-btn-focus-shadow-rgb: 180, 111, 0;--bs-btn-active-color: #000;--bs-btn-active-bg: #dd9b33;--bs-btn-active-border-color: #d88f1a;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #d48200;--bs-btn-disabled-border-color: #d48200}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light,.btn-default{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #343a40;--bs-btn-border-color: #343a40;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #52585d;--bs-btn-hover-border-color: #484e53;--bs-btn-focus-shadow-rgb: 82, 88, 93;--bs-btn-active-color: #fff;--bs-btn-active-bg: #5d6166;--bs-btn-active-border-color: #484e53;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #343a40;--bs-btn-disabled-border-color: #343a40}.btn-outline-accent{--bs-btn-color: #25828e;--bs-btn-border-color: #25828e;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #25828e;--bs-btn-hover-border-color: #25828e;--bs-btn-focus-shadow-rgb: 37, 130, 142;--bs-btn-active-color: #fff;--bs-btn-active-bg: #25828e;--bs-btn-active-border-color: #25828e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #25828e;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #25828e;--bs-gradient: none}.btn-outline-warning-dark{--bs-btn-color: #fd7e14;--bs-btn-border-color: #fd7e14;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #fd7e14;--bs-btn-hover-border-color: #fd7e14;--bs-btn-focus-shadow-rgb: 253, 126, 20;--bs-btn-active-color: #000;--bs-btn-active-bg: #fd7e14;--bs-btn-active-border-color: #fd7e14;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fd7e14;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #fd7e14;--bs-gradient: none}.btn-outline-primary{--bs-btn-color: #25828e;--bs-btn-border-color: #25828e;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #25828e;--bs-btn-hover-border-color: #25828e;--bs-btn-focus-shadow-rgb: 37, 130, 142;--bs-btn-active-color: #fff;--bs-btn-active-bg: #25828e;--bs-btn-active-border-color: #25828e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #25828e;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #25828e;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #374249;--bs-btn-border-color: #374249;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #374249;--bs-btn-hover-border-color: #374249;--bs-btn-focus-shadow-rgb: 55, 66, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #374249;--bs-btn-active-border-color: #374249;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #374249;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #374249;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #008a00;--bs-btn-border-color: #008a00;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #008a00;--bs-btn-hover-border-color: #008a00;--bs-btn-focus-shadow-rgb: 0, 138, 0;--bs-btn-active-color: #fff;--bs-btn-active-bg: #008a00;--bs-btn-active-border-color: #008a00;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #008a00;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #008a00;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #25828e;--bs-btn-border-color: #25828e;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #25828e;--bs-btn-hover-border-color: #25828e;--bs-btn-focus-shadow-rgb: 37, 130, 142;--bs-btn-active-color: #fff;--bs-btn-active-bg: #25828e;--bs-btn-active-border-color: #25828e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #25828e;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #25828e;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #d48200;--bs-btn-border-color: #d48200;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d48200;--bs-btn-hover-border-color: #d48200;--bs-btn-focus-shadow-rgb: 212, 130, 0;--bs-btn-active-color: #000;--bs-btn-active-bg: #d48200;--bs-btn-active-border-color: #d48200;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #d48200;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #d48200;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #343a40;--bs-btn-border-color: #343a40;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #343a40;--bs-btn-hover-border-color: #343a40;--bs-btn-focus-shadow-rgb: 52, 58, 64;--bs-btn-active-color: #fff;--bs-btn-active-bg: #343a40;--bs-btn-active-border-color: #343a40;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #343a40;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #343a40;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: none;--bs-btn-focus-shadow-rgb: 70, 149, 159;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: .5rem}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: .25rem}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: #212529;--bs-dropdown-bg: #fff;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: .375rem;--bs-dropdown-border-width: 1px;--bs-dropdown-inner-border-radius:calc(.375rem - 1px);--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-dropdown-link-color: #212529;--bs-dropdown-link-hover-color: #1e2125;--bs-dropdown-link-hover-bg: #e9ecef;--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #25828e;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1450px){.dropdown-menu-2xl-start{--bs-position: start}.dropdown-menu-2xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-2xl-end{--bs-position: end}.dropdown-menu-2xl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #25828e;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:.375rem}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:-1px}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: #6c757d;display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion: reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link.disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: 1px;--bs-nav-tabs-border-color: #dee2e6;--bs-nav-tabs-border-radius: .375rem;--bs-nav-tabs-link-hover-border-color: #e9ecef #e9ecef #dee2e6;--bs-nav-tabs-link-active-color: #495057;--bs-nav-tabs-link-active-bg: #fff;--bs-nav-tabs-link-active-border-color: #dee2e6 #dee2e6 #fff;border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));background:none;border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.disabled,.nav-tabs .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: .375rem;--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #25828e}.nav-pills .nav-link{background:none;border:0;border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(0, 0, 0, .55);--bs-navbar-hover-color: rgba(0, 0, 0, .7);--bs-navbar-disabled-color: rgba(0, 0, 0, .3);--bs-navbar-active-color: rgba(0, 0, 0, .9);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(0, 0, 0, .9);--bs-navbar-brand-hover-color: rgba(0, 0, 0, .9);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(0, 0, 0, .1);--bs-navbar-toggler-border-radius: .375rem;--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .show>.nav-link,.navbar-nav .nav-link.active{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media (min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1450px){.navbar-expand-2xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-2xl .navbar-nav{flex-direction:row}.navbar-expand-2xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-2xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-2xl .navbar-nav-scroll{overflow:visible}.navbar-expand-2xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-2xl .navbar-toggler{display:none}.navbar-expand-2xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-2xl .offcanvas .offcanvas-header{display:none}.navbar-expand-2xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-border-width: 1px;--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: .375rem;--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(.375rem - 1px);--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: #f8f9fa;--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: #fff;--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: 15px;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;inset:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: #212529;--bs-accordion-bg: #fff;--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: 1px;--bs-accordion-border-radius: .375rem;--bs-accordion-inner-border-radius:calc(.375rem - 1px);--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: #212529;--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23217580'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color: #92c1c7;--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(37, 130, 142, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: #217580;--bs-accordion-active-bg: #e9f3f4}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion: reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion: reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: #6c757d;--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: #6c757d;display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination,cd-table .cd-datatable .datatable-footer .datatable-pager ul{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: #fff;--bs-pagination-border-width: 1px;--bs-pagination-border-color: #dee2e6;--bs-pagination-border-radius: .375rem;--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: #e9ecef;--bs-pagination-hover-border-color: #dee2e6;--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: #e9ecef;--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(37, 130, 142, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #25828e;--bs-pagination-active-border-color: #25828e;--bs-pagination-disabled-color: #6c757d;--bs-pagination-disabled-bg: #fff;--bs-pagination-disabled-border-color: #dee2e6;display:flex;padding-left:0;list-style:none}.page-link,cd-table .cd-datatable .datatable-footer .datatable-pager ul li a{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.page-link,cd-table .cd-datatable .datatable-footer .datatable-pager ul li a{transition:none}}.page-link:hover,cd-table .cd-datatable .datatable-footer .datatable-pager ul li a:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus,cd-table .cd-datatable .datatable-footer .datatable-pager ul li a:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,cd-table .cd-datatable .datatable-footer .datatable-pager ul li a.active,.active>.page-link,cd-table .cd-datatable .datatable-footer .datatable-pager ul li .active>a{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,cd-table .cd-datatable .datatable-footer .datatable-pager ul li a.disabled,.disabled>.page-link,cd-table .cd-datatable .datatable-footer .datatable-pager ul li .disabled>a{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link,.page-item:not(:first-child) cd-table .cd-datatable .datatable-footer .datatable-pager ul li a,cd-table .cd-datatable .datatable-footer .datatable-pager ul li .page-item:not(:first-child) a,cd-table .cd-datatable .datatable-footer .datatable-pager ul li:not(:first-child) .page-link,cd-table .cd-datatable .datatable-footer .datatable-pager ul li:not(:first-child) a{margin-left:-1px}.page-item:first-child .page-link,.page-item:first-child cd-table .cd-datatable .datatable-footer .datatable-pager ul li a,cd-table .cd-datatable .datatable-footer .datatable-pager ul li .page-item:first-child a,cd-table .cd-datatable .datatable-footer .datatable-pager ul li:first-child .page-link,cd-table .cd-datatable .datatable-footer .datatable-pager ul li:first-child a{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link,.page-item:last-child cd-table .cd-datatable .datatable-footer .datatable-pager ul li a,cd-table .cd-datatable .datatable-footer .datatable-pager ul li .page-item:last-child a,cd-table .cd-datatable .datatable-footer .datatable-pager ul li:last-child .page-link,cd-table .cd-datatable .datatable-footer .datatable-pager ul li:last-child a{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: .5rem}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: .25rem}.badge,.badge-dark,.badge-light,.badge-warning,.badge-info,.badge-danger,.badge-success,.badge-secondary,.badge-primary{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: 1rem;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: .375rem;display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty,.badge-dark:empty,.badge-light:empty,.badge-warning:empty,.badge-info:empty,.badge-danger:empty,.badge-success:empty,.badge-secondary:empty,.badge-primary:empty{display:none}.btn .badge,.btn .badge-dark,.btn .badge-light,.btn .badge-warning,.btn .badge-info,.btn .badge-danger,.btn .badge-success,.btn .badge-secondary,.btn .badge-primary{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: 1px solid var(--bs-alert-border-color);--bs-alert-border-radius: .375rem;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-accent{--bs-alert-color: #164e55;--bs-alert-bg: #d3e6e8;--bs-alert-border-color: #bedadd}.alert-accent .alert-link{color:#123e44}.alert-warning-dark{--bs-alert-color: #984c0c;--bs-alert-bg: #ffe5d0;--bs-alert-border-color: #fed8b9}.alert-warning-dark .alert-link{color:#7a3d0a}.alert-primary{--bs-alert-color: #164e55;--bs-alert-bg: #d3e6e8;--bs-alert-border-color: #bedadd}.alert-primary .alert-link{color:#123e44}.alert-secondary{--bs-alert-color: #21282c;--bs-alert-bg: #d7d9db;--bs-alert-border-color: #c3c6c8}.alert-secondary .alert-link{color:#1a2023}.alert-success{--bs-alert-color: #005300;--bs-alert-bg: #cce8cc;--bs-alert-border-color: #b3dcb3}.alert-success .alert-link{color:#004200}.alert-info{--bs-alert-color: #164e55;--bs-alert-bg: #d3e6e8;--bs-alert-border-color: #bedadd}.alert-info .alert-link{color:#123e44}.alert-warning{--bs-alert-color: #7f4e00;--bs-alert-bg: #f6e6cc;--bs-alert-border-color: #f2dab3}.alert-warning .alert-link{color:#663e00}.alert-danger{--bs-alert-color: #842029;--bs-alert-bg: #f8d7da;--bs-alert-border-color: #f5c2c7}.alert-danger .alert-link{color:#6a1a21}.alert-light{--bs-alert-color: #636464;--bs-alert-bg: #fefefe;--bs-alert-border-color: #fdfdfe}.alert-light .alert-link{color:#4f5050}.alert-dark{--bs-alert-color: #1f2326;--bs-alert-bg: #d6d8d9;--bs-alert-border-color: #c2c4c6}.alert-dark .alert-link{color:#191c1e}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: #e9ecef;--bs-progress-border-radius: .375rem;--bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #25828e;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: #212529;--bs-list-group-bg: #fff;--bs-list-group-border-color: rgba(0, 0, 0, .125);--bs-list-group-border-width: 1px;--bs-list-group-border-radius: .375rem;--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: #495057;--bs-list-group-action-hover-color: #495057;--bs-list-group-action-hover-bg: #f8f9fa;--bs-list-group-action-active-color: #212529;--bs-list-group-action-active-bg: #e9ecef;--bs-list-group-disabled-color: #6c757d;--bs-list-group-disabled-bg: #fff;--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #25828e;--bs-list-group-active-border-color: #25828e;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1450px){.list-group-horizontal-2xl{flex-direction:row}.list-group-horizontal-2xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-2xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-2xl>.list-group-item.active{margin-top:0}.list-group-horizontal-2xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-2xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-accent{color:#164e55;background-color:#d3e6e8}.list-group-item-accent.list-group-item-action:hover,.list-group-item-accent.list-group-item-action:focus{color:#164e55;background-color:#becfd1}.list-group-item-accent.list-group-item-action.active{color:#fff;background-color:#164e55;border-color:#164e55}.list-group-item-warning-dark{color:#984c0c;background-color:#ffe5d0}.list-group-item-warning-dark.list-group-item-action:hover,.list-group-item-warning-dark.list-group-item-action:focus{color:#984c0c;background-color:#e6cebb}.list-group-item-warning-dark.list-group-item-action.active{color:#fff;background-color:#984c0c;border-color:#984c0c}.list-group-item-primary{color:#164e55;background-color:#d3e6e8}.list-group-item-primary.list-group-item-action:hover,.list-group-item-primary.list-group-item-action:focus{color:#164e55;background-color:#becfd1}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#164e55;border-color:#164e55}.list-group-item-secondary{color:#21282c;background-color:#d7d9db}.list-group-item-secondary.list-group-item-action:hover,.list-group-item-secondary.list-group-item-action:focus{color:#21282c;background-color:#c2c3c5}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#21282c;border-color:#21282c}.list-group-item-success{color:#005300;background-color:#cce8cc}.list-group-item-success.list-group-item-action:hover,.list-group-item-success.list-group-item-action:focus{color:#005300;background-color:#b8d1b8}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#005300;border-color:#005300}.list-group-item-info{color:#164e55;background-color:#d3e6e8}.list-group-item-info.list-group-item-action:hover,.list-group-item-info.list-group-item-action:focus{color:#164e55;background-color:#becfd1}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#164e55;border-color:#164e55}.list-group-item-warning{color:#7f4e00;background-color:#f6e6cc}.list-group-item-warning.list-group-item-action:hover,.list-group-item-warning.list-group-item-action:focus{color:#7f4e00;background-color:#ddcfb8}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#7f4e00;border-color:#7f4e00}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:hover,.list-group-item-danger.list-group-item-action:focus{color:#842029;background-color:#dfc2c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:hover,.list-group-item-light.list-group-item-action:focus{color:#636464;background-color:#e5e5e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#1f2326;background-color:#d6d8d9}.list-group-item-dark.list-group-item-action:hover,.list-group-item-dark.list-group-item-action:focus{color:#1f2326;background-color:#c1c2c3}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#1f2326;border-color:#1f2326}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem #25828e40;opacity:1}.btn-close:disabled,.btn-close.disabled{pointer-events:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 30px;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(255, 255, 255, .85);--bs-toast-border-width: 1px;--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: .375rem;--bs-toast-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-toast-header-color: #6c757d;--bs-toast-header-bg: rgba(255, 255, 255, .85);--bs-toast-header-border-color: rgba(0, 0, 0, .05);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: #fff;--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: 1px;--bs-modal-border-radius: .5rem;--bs-modal-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-modal-inner-border-radius:calc(.5rem - 1px);--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: 1px;--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: 1px;position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media (min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media (min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width: 1449.98px){.modal-fullscreen-2xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-2xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-2xl-down .modal-header,.modal-fullscreen-2xl-down .modal-footer{border-radius:0}.modal-fullscreen-2xl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: #fff;--bs-tooltip-bg: #212529;--bs-tooltip-border-radius: .375rem;--bs-tooltip-opacity: 1;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;padding:var(--bs-tooltip-arrow-height);margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:0}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:0}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 350px;--bs-popover-font-size: 1rem;--bs-popover-bg: #fff;--bs-popover-border-width: 1px;--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: .5rem;--bs-popover-inner-border-radius:calc(.5rem - 1px);--bs-popover-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: ;--bs-popover-header-bg: #f0f0f0;--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: #212529;--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion: reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-2xl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: ;--bs-offcanvas-bg: #fff;--bs-offcanvas-border-width: 1px;--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075)}@media (max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 575.98px) and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 575.98px){.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}}@media (max-width: 575.98px){.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media (min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 767.98px) and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 767.98px){.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}}@media (max-width: 767.98px){.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media (min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 991.98px) and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 991.98px){.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}}@media (max-width: 991.98px){.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media (min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 1199.98px){.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}}@media (max-width: 1199.98px){.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media (min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1449.98px){.offcanvas-2xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 1449.98px) and (prefers-reduced-motion: reduce){.offcanvas-2xl{transition:none}}@media (max-width: 1449.98px){.offcanvas-2xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 1449.98px){.offcanvas-2xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 1449.98px){.offcanvas-2xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 1449.98px){.offcanvas-2xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 1449.98px){.offcanvas-2xl.showing,.offcanvas-2xl.show:not(.hiding){transform:none}}@media (max-width: 1449.98px){.offcanvas-2xl.showing,.offcanvas-2xl.hiding,.offcanvas-2xl.show{visibility:visible}}@media (min-width: 1450px){.offcanvas-2xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-2xl .offcanvas-header{display:none}.offcanvas-2xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion: reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-accent{color:#fff!important;background-color:RGBA(37,130,142,var(--bs-bg-opacity, 1))!important}.text-bg-warning-dark{color:#000!important;background-color:RGBA(253,126,20,var(--bs-bg-opacity, 1))!important}.text-bg-primary{color:#fff!important;background-color:RGBA(37,130,142,var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(55,66,73,var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(0,138,0,var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#fff!important;background-color:RGBA(37,130,142,var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(212,130,0,var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(220,53,69,var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(248,249,250,var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(52,58,64,var(--bs-bg-opacity, 1))!important}.link-accent{color:#25828e!important}.link-accent:hover,.link-accent:focus{color:#1e6872!important}.link-warning-dark{color:#fd7e14!important}.link-warning-dark:hover,.link-warning-dark:focus{color:#fd9843!important}.link-primary{color:#25828e!important}.link-primary:hover,.link-primary:focus{color:#1e6872!important}.link-secondary{color:#374249!important}.link-secondary:hover,.link-secondary:focus{color:#2c353a!important}.link-success{color:#008a00!important}.link-success:hover,.link-success:focus{color:#006e00!important}.link-info{color:#25828e!important}.link-info:hover,.link-info:focus{color:#1e6872!important}.link-warning{color:#d48200!important}.link-warning:hover,.link-warning:focus{color:#dd9b33!important}.link-danger{color:#dc3545!important}.link-danger:hover,.link-danger:focus{color:#b02a37!important}.link-light{color:#f8f9fa!important}.link-light:hover,.link-light:focus{color:#f9fafb!important}.link-dark{color:#343a40!important}.link-dark:hover,.link-dark:focus{color:#2a2e33!important}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1450px){.sticky-2xl-top{position:sticky;top:0;z-index:1020}.sticky-2xl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link:after{position:absolute;inset:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex,cd-health cd-info-card{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem #00000026!important}.shadow-sm{box-shadow:0 .125rem .25rem #00000013!important}.shadow-lg{box-shadow:0 1rem 3rem #0000002d!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom,.cd-header,legend{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-accent{--bs-border-opacity: 1;border-color:rgba(var(--bs-accent-rgb),var(--bs-border-opacity))!important}.border-warning-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-dark-rgb),var(--bs-border-opacity))!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-1{--bs-border-width: 1px}.border-2{--bs-border-width: 2px}.border-3{--bs-border-width: 3px}.border-4{--bs-border-width: 4px}.border-5{--bs-border-width: 5px}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column,cd-health cd-info-card{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4,.cd-header,legend{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2,cd-logs label,.btn-toolbar cd-table-actions.btn-group{margin-right:.5rem!important}.me-3,cd-logs .form-inline>.form-group{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1,.badge,.badge-dark,.badge-light,.badge-warning,.badge-info,.badge-danger,.badge-success,.badge-secondary,.badge-primary{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3,.form-group,cd-logs .form-inline>.form-group{margin-bottom:1rem!important}.mb-4,.cd-header,legend,cd-health cd-info-card{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2,cd-table .cd-datatable .datatable-footer{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2,cd-info-card .card .card-body .card-text{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1,.cd-header,legend{padding-bottom:.25rem!important}.pb-2,cd-info-card .card{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2,cd-info-card .card .card-body .card-title{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold,cd-about dt{font-weight:700!important}.fw-semibold{font-weight:600!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-accent{--bs-text-opacity: 1;color:rgba(var(--bs-accent-rgb),var(--bs-text-opacity))!important}.text-warning-dark{--bs-text-opacity: 1;color:rgba(var(--bs-warning-dark-rgb),var(--bs-text-opacity))!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark,.badge-light,.badge-warning{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:#6c757d!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.bg-accent{--bs-bg-opacity: 1;background-color:rgba(var(--bs-accent-rgb),var(--bs-bg-opacity))!important}.bg-warning-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-dark-rgb),var(--bs-bg-opacity))!important}.bg-primary,.badge-info,.badge-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary,.badge-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success,.badge-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning,.badge-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger,.badge-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light,.badge-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark,.badge-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{user-select:all!important}.user-select-auto{user-select:auto!important}.user-select-none{user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-2xl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media (min-width: 576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width: 768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width: 992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width: 1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width: 1450px){.float-2xl-start{float:left!important}.float-2xl-end{float:right!important}.float-2xl-none{float:none!important}.d-2xl-inline{display:inline!important}.d-2xl-inline-block{display:inline-block!important}.d-2xl-block{display:block!important}.d-2xl-grid{display:grid!important}.d-2xl-table{display:table!important}.d-2xl-table-row{display:table-row!important}.d-2xl-table-cell{display:table-cell!important}.d-2xl-flex{display:flex!important}.d-2xl-inline-flex{display:inline-flex!important}.d-2xl-none{display:none!important}.flex-2xl-fill{flex:1 1 auto!important}.flex-2xl-row{flex-direction:row!important}.flex-2xl-column{flex-direction:column!important}.flex-2xl-row-reverse{flex-direction:row-reverse!important}.flex-2xl-column-reverse{flex-direction:column-reverse!important}.flex-2xl-grow-0{flex-grow:0!important}.flex-2xl-grow-1{flex-grow:1!important}.flex-2xl-shrink-0{flex-shrink:0!important}.flex-2xl-shrink-1{flex-shrink:1!important}.flex-2xl-wrap{flex-wrap:wrap!important}.flex-2xl-nowrap{flex-wrap:nowrap!important}.flex-2xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-2xl-start{justify-content:flex-start!important}.justify-content-2xl-end{justify-content:flex-end!important}.justify-content-2xl-center{justify-content:center!important}.justify-content-2xl-between{justify-content:space-between!important}.justify-content-2xl-around{justify-content:space-around!important}.justify-content-2xl-evenly{justify-content:space-evenly!important}.align-items-2xl-start{align-items:flex-start!important}.align-items-2xl-end{align-items:flex-end!important}.align-items-2xl-center{align-items:center!important}.align-items-2xl-baseline{align-items:baseline!important}.align-items-2xl-stretch{align-items:stretch!important}.align-content-2xl-start{align-content:flex-start!important}.align-content-2xl-end{align-content:flex-end!important}.align-content-2xl-center{align-content:center!important}.align-content-2xl-between{align-content:space-between!important}.align-content-2xl-around{align-content:space-around!important}.align-content-2xl-stretch{align-content:stretch!important}.align-self-2xl-auto{align-self:auto!important}.align-self-2xl-start{align-self:flex-start!important}.align-self-2xl-end{align-self:flex-end!important}.align-self-2xl-center{align-self:center!important}.align-self-2xl-baseline{align-self:baseline!important}.align-self-2xl-stretch{align-self:stretch!important}.order-2xl-first{order:-1!important}.order-2xl-0{order:0!important}.order-2xl-1{order:1!important}.order-2xl-2{order:2!important}.order-2xl-3{order:3!important}.order-2xl-4{order:4!important}.order-2xl-5{order:5!important}.order-2xl-last{order:6!important}.m-2xl-0{margin:0!important}.m-2xl-1{margin:.25rem!important}.m-2xl-2{margin:.5rem!important}.m-2xl-3{margin:1rem!important}.m-2xl-4{margin:1.5rem!important}.m-2xl-5{margin:3rem!important}.m-2xl-auto{margin:auto!important}.mx-2xl-0{margin-right:0!important;margin-left:0!important}.mx-2xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-2xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-2xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-2xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-2xl-auto{margin-right:auto!important;margin-left:auto!important}.my-2xl-0{margin-top:0!important;margin-bottom:0!important}.my-2xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-2xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-2xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-2xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-2xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-2xl-0{margin-top:0!important}.mt-2xl-1{margin-top:.25rem!important}.mt-2xl-2{margin-top:.5rem!important}.mt-2xl-3{margin-top:1rem!important}.mt-2xl-4{margin-top:1.5rem!important}.mt-2xl-5{margin-top:3rem!important}.mt-2xl-auto{margin-top:auto!important}.me-2xl-0{margin-right:0!important}.me-2xl-1{margin-right:.25rem!important}.me-2xl-2{margin-right:.5rem!important}.me-2xl-3{margin-right:1rem!important}.me-2xl-4{margin-right:1.5rem!important}.me-2xl-5{margin-right:3rem!important}.me-2xl-auto{margin-right:auto!important}.mb-2xl-0{margin-bottom:0!important}.mb-2xl-1{margin-bottom:.25rem!important}.mb-2xl-2{margin-bottom:.5rem!important}.mb-2xl-3{margin-bottom:1rem!important}.mb-2xl-4{margin-bottom:1.5rem!important}.mb-2xl-5{margin-bottom:3rem!important}.mb-2xl-auto{margin-bottom:auto!important}.ms-2xl-0{margin-left:0!important}.ms-2xl-1{margin-left:.25rem!important}.ms-2xl-2{margin-left:.5rem!important}.ms-2xl-3{margin-left:1rem!important}.ms-2xl-4{margin-left:1.5rem!important}.ms-2xl-5{margin-left:3rem!important}.ms-2xl-auto{margin-left:auto!important}.p-2xl-0{padding:0!important}.p-2xl-1{padding:.25rem!important}.p-2xl-2{padding:.5rem!important}.p-2xl-3{padding:1rem!important}.p-2xl-4{padding:1.5rem!important}.p-2xl-5{padding:3rem!important}.px-2xl-0{padding-right:0!important;padding-left:0!important}.px-2xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-2xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-2xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-2xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-2xl-0{padding-top:0!important;padding-bottom:0!important}.py-2xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-2xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-2xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-2xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-2xl-0{padding-top:0!important}.pt-2xl-1{padding-top:.25rem!important}.pt-2xl-2{padding-top:.5rem!important}.pt-2xl-3{padding-top:1rem!important}.pt-2xl-4{padding-top:1.5rem!important}.pt-2xl-5{padding-top:3rem!important}.pe-2xl-0{padding-right:0!important}.pe-2xl-1{padding-right:.25rem!important}.pe-2xl-2{padding-right:.5rem!important}.pe-2xl-3{padding-right:1rem!important}.pe-2xl-4{padding-right:1.5rem!important}.pe-2xl-5{padding-right:3rem!important}.pb-2xl-0{padding-bottom:0!important}.pb-2xl-1{padding-bottom:.25rem!important}.pb-2xl-2{padding-bottom:.5rem!important}.pb-2xl-3{padding-bottom:1rem!important}.pb-2xl-4{padding-bottom:1.5rem!important}.pb-2xl-5{padding-bottom:3rem!important}.ps-2xl-0{padding-left:0!important}.ps-2xl-1{padding-left:.25rem!important}.ps-2xl-2{padding-left:.5rem!important}.ps-2xl-3{padding-left:1rem!important}.ps-2xl-4{padding-left:1.5rem!important}.ps-2xl-5{padding-left:3rem!important}.gap-2xl-0{gap:0!important}.gap-2xl-1{gap:.25rem!important}.gap-2xl-2{gap:.5rem!important}.gap-2xl-3{gap:1rem!important}.gap-2xl-4{gap:1.5rem!important}.gap-2xl-5{gap:3rem!important}.text-2xl-start{text-align:left!important}.text-2xl-end{text-align:right!important}.text-2xl-center{text-align:center!important}}@media (min-width: 1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}/*!
Fork Awesome 1.1.7
License - https://forkaweso.me/Fork-Awesome/license